From 8ebdf1fb19424a42c2962038e2d26dcf0586eec6 Mon Sep 17 00:00:00 2001 From: Lucas Woodward <31957045+SketchingDev@users.noreply.github.com> Date: Tue, 11 Aug 2026 22:00:49 +0100 Subject: [PATCH 1/3] Update versions --- bin/deploy-runner.js | 25536 ++++++++++++++++------- biome.json | 4 +- package.json | 25 +- pnpm-lock.yaml | 538 +- pnpm-workspace.yaml | 10 + servers/genesys-cloud-architect-mcp.js | 183 +- tsconfig.json | 1 + 7 files changed, 17908 insertions(+), 8389 deletions(-) diff --git a/bin/deploy-runner.js b/bin/deploy-runner.js index d70d2c2..b793f55 100644 --- a/bin/deploy-runner.js +++ b/bin/deploy-runner.js @@ -10,11 +10,20 @@ var __glob = (map) => (path2) => { if (fn) return fn(); throw new Error("Module not found in bundle: " + path2); }; -var __esm = (fn, res) => function __init() { - return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; +var __esm = (fn, res, err) => function __init() { + if (err) throw err[0]; + try { + return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; + } catch (e) { + throw err = [e], e; + } }; var __commonJS = (cb, mod) => function __require() { - return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; + try { + return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; + } catch (e) { + throw mod = 0, e; + } }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { @@ -33,19 +42,19 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge mod )); -// require("./**/*") in node_modules/.pnpm/purecloud-flow-scripting-api-sdk-javascript@0.66.6/node_modules/purecloud-flow-scripting-api-sdk-javascript/build-scripting/release/scripting.bundle.js +// require("./**/*") in node_modules/.pnpm/purecloud-flow-scripting-api-sdk-javascript@0.68.3/node_modules/purecloud-flow-scripting-api-sdk-javascript/build-scripting/release/scripting.bundle.js var globRequire; var init_ = __esm({ - 'require("./**/*") in node_modules/.pnpm/purecloud-flow-scripting-api-sdk-javascript@0.66.6/node_modules/purecloud-flow-scripting-api-sdk-javascript/build-scripting/release/scripting.bundle.js'() { + 'require("./**/*") in node_modules/.pnpm/purecloud-flow-scripting-api-sdk-javascript@0.68.3/node_modules/purecloud-flow-scripting-api-sdk-javascript/build-scripting/release/scripting.bundle.js'() { globRequire = __glob({ "./scripting.bundle.js": () => require_scripting_bundle() }); } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/constants.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/constants.js var require_constants = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/constants.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/constants.js"(exports2, module2) { "use strict"; var BINARY_TYPES = ["nodebuffer", "arraybuffer", "fragments"]; var hasBlob = typeof Blob !== "undefined"; @@ -56,19 +65,19 @@ var require_constants = __commonJS({ EMPTY_BUFFER: Buffer.alloc(0), GUID: "258EAFA5-E914-47DA-95CA-C5AB0DC85B11", hasBlob, - kForOnEventAttribute: Symbol("kIsForOnEventAttribute"), - kListener: Symbol("kListener"), - kStatusCode: Symbol("status-code"), - kWebSocket: Symbol("websocket"), + kForOnEventAttribute: /* @__PURE__ */ Symbol("kIsForOnEventAttribute"), + kListener: /* @__PURE__ */ Symbol("kListener"), + kStatusCode: /* @__PURE__ */ Symbol("status-code"), + kWebSocket: /* @__PURE__ */ Symbol("websocket"), NOOP: () => { } }; } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/buffer-util.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/buffer-util.js var require_buffer_util = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/buffer-util.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/buffer-util.js"(exports2, module2) { "use strict"; var { EMPTY_BUFFER } = require_constants(); var FastBuffer = Buffer[Symbol.species]; @@ -141,12 +150,12 @@ var require_buffer_util = __commonJS({ } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/limiter.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/limiter.js var require_limiter = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/limiter.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/limiter.js"(exports2, module2) { "use strict"; - var kDone = Symbol("kDone"); - var kRun = Symbol("kRun"); + var kDone = /* @__PURE__ */ Symbol("kDone"); + var kRun = /* @__PURE__ */ Symbol("kRun"); var Limiter = class { /** * Creates a new `Limiter`. @@ -191,9 +200,9 @@ var require_limiter = __commonJS({ } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/permessage-deflate.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/permessage-deflate.js var require_permessage_deflate = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/permessage-deflate.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/permessage-deflate.js"(exports2, module2) { "use strict"; var zlib = require("zlib"); var bufferUtil = require_buffer_util(); @@ -201,11 +210,11 @@ var require_permessage_deflate = __commonJS({ var { kStatusCode } = require_constants(); var FastBuffer = Buffer[Symbol.species]; var TRAILER = Buffer.from([0, 0, 255, 255]); - var kPerMessageDeflate = Symbol("permessage-deflate"); - var kTotalLength = Symbol("total-length"); - var kCallback = Symbol("callback"); - var kBuffers = Symbol("buffers"); - var kError = Symbol("error"); + var kPerMessageDeflate = /* @__PURE__ */ Symbol("permessage-deflate"); + var kTotalLength = /* @__PURE__ */ Symbol("total-length"); + var kCallback = /* @__PURE__ */ Symbol("callback"); + var kBuffers = /* @__PURE__ */ Symbol("buffers"); + var kError = /* @__PURE__ */ Symbol("error"); var zlibLimiter; var PerMessageDeflate = class { /** @@ -574,9 +583,9 @@ var require_permessage_deflate = __commonJS({ } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/validation.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/validation.js var require_validation = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/validation.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/validation.js"(exports2, module2) { "use strict"; var { isUtf8 } = require("buffer"); var { hasBlob } = require_constants(); @@ -775,9 +784,9 @@ var require_validation = __commonJS({ } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/receiver.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/receiver.js var require_receiver = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/receiver.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/receiver.js"(exports2, module2) { "use strict"; var { Writable } = require("stream"); var PerMessageDeflate = require_permessage_deflate(); @@ -810,6 +819,10 @@ var require_receiver = __commonJS({ * extensions * @param {Boolean} [options.isServer=false] Specifies whether to operate in * client or server mode + * @param {Number} [options.maxBufferedChunks=0] The maximum number of + * buffered data chunks + * @param {Number} [options.maxFragments=0] The maximum number of message + * fragments * @param {Number} [options.maxPayload=0] The maximum allowed message length * @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or * not to skip UTF-8 validation for text and close messages @@ -820,6 +833,8 @@ var require_receiver = __commonJS({ this._binaryType = options.binaryType || BINARY_TYPES[0]; this._extensions = options.extensions || {}; this._isServer = !!options.isServer; + this._maxBufferedChunks = options.maxBufferedChunks | 0; + this._maxFragments = options.maxFragments | 0; this._maxPayload = options.maxPayload | 0; this._skipUTF8Validation = !!options.skipUTF8Validation; this[kWebSocket] = void 0; @@ -834,6 +849,7 @@ var require_receiver = __commonJS({ this._opcode = 0; this._totalPayloadLength = 0; this._messageLength = 0; + this._numFragments = 0; this._fragments = []; this._errored = false; this._loop = false; @@ -849,6 +865,18 @@ var require_receiver = __commonJS({ */ _write(chunk, encoding, cb) { if (this._opcode === 8 && this._state == GET_INFO) return cb(); + if (this._maxBufferedChunks > 0 && this._buffers.length >= this._maxBufferedChunks) { + cb( + this.createError( + RangeError, + "Too many buffered chunks", + false, + 1008, + "WS_ERR_TOO_MANY_BUFFERED_PARTS" + ) + ); + return; + } this._bufferedBytes += chunk.length; this._buffers.push(chunk); this.startLoop(cb); @@ -1172,6 +1200,17 @@ var require_receiver = __commonJS({ this.controlMessage(data, cb); return; } + if (this._maxFragments > 0 && ++this._numFragments > this._maxFragments) { + const error = this.createError( + RangeError, + "Too many message fragments", + false, + 1008, + "WS_ERR_TOO_MANY_BUFFERED_PARTS" + ); + cb(error); + return; + } if (this._compressed) { this._state = INFLATING; this.decompress(data, cb); @@ -1229,6 +1268,7 @@ var require_receiver = __commonJS({ this._totalPayloadLength = 0; this._messageLength = 0; this._fragmented = 0; + this._numFragments = 0; this._fragments = []; if (this._opcode === 2) { let data; @@ -1367,9 +1407,9 @@ var require_receiver = __commonJS({ } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/sender.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/sender.js var require_sender = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/sender.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/sender.js"(exports2, module2) { "use strict"; var { Duplex } = require("stream"); var { randomFillSync } = require("crypto"); @@ -1380,7 +1420,7 @@ var require_sender = __commonJS({ var { EMPTY_BUFFER, kWebSocket, NOOP } = require_constants(); var { isBlob, isValidStatusCode } = require_validation(); var { mask: applyMask, toBuffer } = require_buffer_util(); - var kByteLength = Symbol("kByteLength"); + var kByteLength = /* @__PURE__ */ Symbol("kByteLength"); var maskBuffer = Buffer.alloc(4); var RANDOM_POOL_SIZE = 8 * 1024; var randomPool; @@ -1860,19 +1900,19 @@ var require_sender = __commonJS({ } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/event-target.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/event-target.js var require_event_target = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/event-target.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/event-target.js"(exports2, module2) { "use strict"; var { kForOnEventAttribute, kListener } = require_constants(); - var kCode = Symbol("kCode"); - var kData = Symbol("kData"); - var kError = Symbol("kError"); - var kMessage = Symbol("kMessage"); - var kReason = Symbol("kReason"); - var kTarget = Symbol("kTarget"); - var kType = Symbol("kType"); - var kWasClean = Symbol("kWasClean"); + var kCode = /* @__PURE__ */ Symbol("kCode"); + var kData = /* @__PURE__ */ Symbol("kData"); + var kError = /* @__PURE__ */ Symbol("kError"); + var kMessage = /* @__PURE__ */ Symbol("kMessage"); + var kReason = /* @__PURE__ */ Symbol("kReason"); + var kTarget = /* @__PURE__ */ Symbol("kTarget"); + var kType = /* @__PURE__ */ Symbol("kType"); + var kWasClean = /* @__PURE__ */ Symbol("kWasClean"); var Event = class { /** * Create a new `Event`. @@ -2089,9 +2129,9 @@ var require_event_target = __commonJS({ } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/extension.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/extension.js var require_extension = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/extension.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/extension.js"(exports2, module2) { "use strict"; var { tokenChars } = require_validation(); function push(dest, name, elem) { @@ -2242,9 +2282,9 @@ var require_extension = __commonJS({ } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/websocket.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/websocket.js var require_websocket = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/websocket.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/websocket.js"(exports2, module2) { "use strict"; var EventEmitter = require("events"); var https2 = require("https"); @@ -2274,7 +2314,7 @@ var require_websocket = __commonJS({ } = require_event_target(); var { format, parse } = require_extension(); var { toBuffer } = require_buffer_util(); - var kAborted = Symbol("kAborted"); + var kAborted = /* @__PURE__ */ Symbol("kAborted"); var protocolVersions = [8, 13]; var readyStates = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"]; var subprotocolRegex = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/; @@ -2413,6 +2453,10 @@ var require_websocket = __commonJS({ * multiple times in the same tick * @param {Function} [options.generateMask] The function used to generate the * masking key + * @param {Number} [options.maxBufferedChunks=0] The maximum number of + * buffered data chunks + * @param {Number} [options.maxFragments=0] The maximum number of message + * fragments * @param {Number} [options.maxPayload=0] The maximum allowed message size * @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or * not to skip UTF-8 validation for text and close messages @@ -2424,6 +2468,8 @@ var require_websocket = __commonJS({ binaryType: this.binaryType, extensions: this._extensions, isServer: this._isServer, + maxBufferedChunks: options.maxBufferedChunks, + maxFragments: options.maxFragments, maxPayload: options.maxPayload, skipUTF8Validation: options.skipUTF8Validation }); @@ -2723,6 +2769,8 @@ var require_websocket = __commonJS({ autoPong: true, closeTimeout: CLOSE_TIMEOUT, protocolVersion: protocolVersions[1], + maxBufferedChunks: 256 * 1024, + maxFragments: 16 * 1024, maxPayload: 100 * 1024 * 1024, skipUTF8Validation: false, perMessageDeflate: true, @@ -2965,6 +3013,8 @@ var require_websocket = __commonJS({ websocket.setSocket(socket, head, { allowSynchronousEvents: opts.allowSynchronousEvents, generateMask: opts.generateMask, + maxBufferedChunks: opts.maxBufferedChunks, + maxFragments: opts.maxFragments, maxPayload: opts.maxPayload, skipUTF8Validation: opts.skipUTF8Validation }); @@ -3128,9 +3178,9 @@ var require_websocket = __commonJS({ } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/stream.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/stream.js var require_stream = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/stream.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/stream.js"(exports2, module2) { "use strict"; var WebSocket = require_websocket(); var { Duplex } = require("stream"); @@ -3226,9 +3276,9 @@ var require_stream = __commonJS({ } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/subprotocol.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/subprotocol.js var require_subprotocol = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/subprotocol.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/subprotocol.js"(exports2, module2) { "use strict"; var { tokenChars } = require_validation(); function parse(header) { @@ -3271,9 +3321,9 @@ var require_subprotocol = __commonJS({ } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/websocket-server.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/websocket-server.js var require_websocket_server = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/websocket-server.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/websocket-server.js"(exports2, module2) { "use strict"; var EventEmitter = require("events"); var http = require("http"); @@ -3307,6 +3357,10 @@ var require_websocket_server = __commonJS({ * called * @param {Function} [options.handleProtocols] A hook to handle protocols * @param {String} [options.host] The hostname where to bind the server + * @param {Number} [options.maxBufferedChunks=262144] The maximum number of + * buffered data chunks + * @param {Number} [options.maxFragments=16384] The maximum number of message + * fragments * @param {Number} [options.maxPayload=104857600] The maximum allowed message * size * @param {Boolean} [options.noServer=false] Enable no server mode @@ -3328,6 +3382,8 @@ var require_websocket_server = __commonJS({ options = { allowSynchronousEvents: true, autoPong: true, + maxBufferedChunks: 256 * 1024, + maxFragments: 16 * 1024, maxPayload: 100 * 1024 * 1024, skipUTF8Validation: false, perMessageDeflate: false, @@ -3607,6 +3663,8 @@ var require_websocket_server = __commonJS({ socket.removeListener("error", socketOnError); ws.setSocket(socket, head, { allowSynchronousEvents: this.options.allowSynchronousEvents, + maxBufferedChunks: this.options.maxBufferedChunks, + maxFragments: this.options.maxFragments, maxPayload: this.options.maxPayload, skipUTF8Validation: this.options.skipUTF8Validation }); @@ -3664,9 +3722,9 @@ var require_websocket_server = __commonJS({ } }); -// node_modules/.pnpm/ws@8.20.1/node_modules/ws/index.js +// node_modules/.pnpm/ws@8.21.1/node_modules/ws/index.js var require_ws = __commonJS({ - "node_modules/.pnpm/ws@8.20.1/node_modules/ws/index.js"(exports2, module2) { + "node_modules/.pnpm/ws@8.21.1/node_modules/ws/index.js"(exports2, module2) { "use strict"; var createWebSocketStream = require_stream(); var extension = require_extension(); @@ -3689,9 +3747,9 @@ var require_ws = __commonJS({ } }); -// node_modules/.pnpm/purecloud-flow-scripting-api-sdk-javascript@0.66.6/node_modules/purecloud-flow-scripting-api-sdk-javascript/build-scripting/release/scripting.bundle.js +// node_modules/.pnpm/purecloud-flow-scripting-api-sdk-javascript@0.68.3/node_modules/purecloud-flow-scripting-api-sdk-javascript/build-scripting/release/scripting.bundle.js var require_scripting_bundle = __commonJS({ - "node_modules/.pnpm/purecloud-flow-scripting-api-sdk-javascript@0.66.6/node_modules/purecloud-flow-scripting-api-sdk-javascript/build-scripting/release/scripting.bundle.js"(exports2, module2) { + "node_modules/.pnpm/purecloud-flow-scripting-api-sdk-javascript@0.68.3/node_modules/purecloud-flow-scripting-api-sdk-javascript/build-scripting/release/scripting.bundle.js"(exports2, module2) { init_(); !(function(e, t2) { if ("object" == typeof exports2 && "object" == typeof module2) module2.exports = t2(); @@ -3731,7 +3789,7 @@ var require_scripting_bundle = __commonJS({ } t2.default = l, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], l.prototype, "destinationFlowTypes", null); }, 78: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(74359), o = i2(45741), a = (i2(12847), i2(35515)), s = i2(73198).default, l = i2(59509), u = i2(36019).default, d = i2(87200), c = 3 * s.msPerMinute, p = 7e3, _ = 15 * s.msPerSecond; + const n2 = i2(92140), r2 = i2(74359), o = i2(45741), a = (i2(12847), i2(35515)), s = i2(73198).default, l = i2(59509), u = i2(36019).default, c = i2(87200), d = 3 * s.msPerMinute, p = 7e3, _ = 15 * s.msPerSecond; let h = []; const m = { error: "ERROR", info: "INFO", warning: "WARNING" }, g = function(e3, t3) { }, f = function() { @@ -3763,7 +3821,7 @@ var require_scripting_bundle = __commonJS({ if (!e3.length) return console.error("sendTraces: Have no traces to send, this should not happen!"), Promise.resolve(); e3.length; const t3 = { app: { appId: "architect", appVersion: a.buildNumber }, traces: e3 }; - return a.values.local ? Promise.resolve() : u.build(d.trace).content(t3).call().catch(function(e4) { + return a.values.local ? Promise.resolve() : u.build(c.trace).content(t3).call().catch(function(e4) { 401 === e4.status || 403 === e4.status ? e4.message : (n2.each(t3.traces.reverse(), function(e5) { h.unshift(e5); }), t3.traces.length); @@ -3798,7 +3856,7 @@ var require_scripting_bundle = __commonJS({ function N() { } r2.getAuthenticatedPromise().then(function() { - h.length, setInterval(y, c); + h.length, setInterval(y, d); }), o(N, { unitTest_clearBuffer: function() { h = []; }, unitTest_getBuffer: function() { @@ -3820,8 +3878,8 @@ var require_scripting_bundle = __commonJS({ }, 84: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DecimalType = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(61870), s = n2.__importDefault(i2(73198)), l = i2(38809), u = i2(98552), d = i2(80428), c = i2(94765), p = (0, i2(24032).getTopic)("DecimalType"), _ = i2(47957); - class h extends c.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(69453), s = i2(24032), l = i2(61870), u = n2.__importDefault(i2(73198)), c = i2(38809), d = i2(98552), p = i2(80428), _ = i2(94765), h = (0, s.getTopic)("DecimalType"), m = i2(47957); + class g extends _.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -3829,7 +3887,7 @@ var require_scripting_bundle = __commonJS({ return "DecimalType"; } createExpressionOptionClass() { - return new a.ExpressionTypeDecimalOptions(this.isCollection); + return new l.ExpressionTypeDecimalOptions(this.isCollection); } convertLitToExpression(e3, t3) { if (!t3) return ""; @@ -3847,19 +3905,28 @@ var require_scripting_bundle = __commonJS({ getYamlObjectForLiteralSingleton(e3) { super.getYamlObjectForLiteralSingleton(e3); const t3 = Number(e3.text); - return o.default.isActualNumber(t3) || p.errorWithStack(null, "Invalid number parsed in DecimalType.getYamlObjectForLiteralSingleton"), t3; + return o.default.isActualNumber(t3) || h.errorWithStack(null, "Invalid number parsed in DecimalType.getYamlObjectForLiteralSingleton"), t3; + } + applyLiteralFromModel(e3, t3, i3, n3) { + var o2; + if (null == t3) return; + let s2; + if ("number" == typeof t3 ? Number.isFinite(t3) && (s2 = String(t3)) : "string" == typeof t3 && (s2 = t3), void 0 === s2) return void (n3 && n3.warn((0, r2.sprintf)(a.configureFromModel.unrecognizedLiteralValue, "decimal", JSON.stringify(t3)))); + if (/[eE]/.test(s2)) return void (n3 && n3.warn((0, r2.sprintf)(a.configureFromModel.decimalScientificNotationUnsupported, JSON.stringify(s2)))); + const l2 = null === (o2 = e3.parentFlow) || void 0 === o2 ? void 0 : o2.type, c2 = this.convertLitToExpression(l2, s2) || s2, d2 = c2.startsWith("-") ? c2.slice(1) : c2, p2 = d2.indexOf("."), _2 = (-1 === p2 ? d2 : d2.slice(0, p2)).replace(/^0+/, "") || "0", h2 = "0" === _2 ? 0 : _2.length; + this.enforceValueLimit(h2 <= 40, (0, r2.sprintf)(a.configureFromModel.decimalLiteralMagnitudeExceeded, c2, u.default.maxDecimalAsStr), n3) && e3.setAsLiteral(c2); } validateLiteral(e3, t3) { var i3, n3; if (t3.outOfService) return true; const o2 = Number(t3.text); - return isNaN(o2) ? (t3.setParseError((0, r2.sprintf)(_.errors.invalidValue, t3.label)), e3.addError(t3, (0, r2.sprintf)(_.errors.invalidValue, t3.label), false, true), false) : 0 === o2 || u.expressionItems.checkDecimalStr(t3.text, true) ? (0, l.validateDecimalPlaces)(o2, null === (n3 = null === (i3 = t3.options) || void 0 === i3 ? void 0 : i3.facets) || void 0 === n3 ? void 0 : n3.decimalPlaces, t3, e3) : (t3.setParseError((0, r2.sprintf)(_.expression.decimalValueTooMuchPrecision, t3.text, 1, s.default.maxPrecision)), e3.addError(t3, (0, r2.sprintf)(_.errors.invalidValue, t3.label), false, true), false); + return isNaN(o2) ? (t3.setParseError((0, r2.sprintf)(m.errors.invalidValue, t3.label)), e3.addError(t3, (0, r2.sprintf)(m.errors.invalidValue, t3.label), false, true), false) : 0 === o2 || d.expressionItems.checkDecimalStr(t3.text, true) ? (0, c.validateDecimalPlaces)(o2, null === (n3 = null === (i3 = t3.options) || void 0 === i3 ? void 0 : i3.facets) || void 0 === n3 ? void 0 : n3.decimalPlaces, t3, e3) : (t3.setParseError((0, r2.sprintf)(m.expression.decimalValueTooMuchPrecision, t3.text, 1, u.default.maxPrecision)), e3.addError(t3, (0, r2.sprintf)(m.errors.invalidValue, t3.label), false, true), false); } convertLitToCustomJsonStr(e3, t3, i3, n3) { return this.convertLitToExpression(e3, i3 || t3); } } - t2.DecimalType = h, h.typeIdentifier = d.expressionTypeNames.decimal; + t2.DecimalType = g, g.typeIdentifier = p.expressionTypeNames.decimal; }, 88: (e2, t2, i2) => { const n2 = i2(24893), r2 = i2(7401); function o() { @@ -3872,19 +3939,19 @@ var require_scripting_bundle = __commonJS({ } } }), e2.exports = o; }, 120: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(79364), a = (i2(92794), n2.__importDefault(i2(92140))), s = i2(71012), l = i2(28562), u = n2.__importDefault(i2(73198)), d = i2(80428), c = (n2.__importStar(i2(28614)), i2(28614)), p = i2(35315), _ = i2(67607), h = i2(39964), m = i2(82319), g = i2(20083), f = i2(49892), T = i2(81516), y = n2.__importDefault(i2(27203)), S = n2.__importStar(i2(59288)), A = n2.__importStar(i2(36781)), N = n2.__importStar(i2(10798)), O = i2(58380), I = n2.__importStar(i2(1115)), v = n2.__importDefault(i2(4648)), C = i2(12179), b = i2(14187), E = n2.__importDefault(i2(97891)), R = n2.__importDefault(i2(81823)), w = (i2(21733), i2(47957)), D = "2.0"; - class P extends R.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(79364), a = (i2(92794), n2.__importDefault(i2(92140))), s = i2(71012), l = i2(28562), u = n2.__importDefault(i2(73198)), c = i2(80428), d = (n2.__importStar(i2(28614)), i2(28614)), p = i2(35315), _ = i2(67607), h = i2(39964), m = i2(82319), g = i2(20083), f = i2(49892), T = i2(81516), y = n2.__importDefault(i2(27203)), S = n2.__importStar(i2(59288)), A = n2.__importStar(i2(36781)), N = n2.__importStar(i2(10798)), v = i2(58380), O = n2.__importStar(i2(1115)), I = n2.__importDefault(i2(4648)), C = i2(12179), b = i2(14187), E = n2.__importDefault(i2(97891)), w = n2.__importDefault(i2(81823)), R = (i2(21733), i2(47957)), D = "2.0"; + class P extends w.default { constructor(e3, t3) { super(e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), this.question.options.setBuilderLanguagesSequenceConfig(s.askForIntentSequences.questionSequence), this.addAutoCleanedUpEventSinkWatch(A.lastPathActionRemoved, this, this.removeUnusedOutput.bind(this)), this.sortBranches(); } static get branchInfo() { - return N.isFeatureAvailable(v.default.botFlowsEnhancedRecognitionFailureHandling) ? [y.default.maxNoInputsOptional, y.default.maxNoMatchesOptional] : [y.default.maxNoInputsOptional]; + return N.isFeatureAvailable(I.default.botFlowsEnhancedRecognitionFailureHandling) ? [y.default.maxNoInputsOptional, y.default.maxNoMatchesOptional] : [y.default.maxNoInputsOptional]; } get supportsCustomOutputPaths() { return true; } static get managedProperties() { - return [{ property: "chooser", label: w.cardsAndCars.digitalMenuChooserLabel, type: d.expressionTypeNames.chooser, options: h.ExpressionTypeChooserOptions.create((e3) => e3.setUiPropertyOrder(7).setDescriptionInfo(w.cardsAndCars.digitalMenuChooserLabel, w.cardsAndCars.digitalMenuChooserDescription).setAndApplyCustomizations(p.expressionTypeCustomizedModes, p.expressionTypeCustomizedModes.literalChooser)), yamlOptions: P.createYamlOptions("chooser", (e3) => e3.setSerializeOutOfService(true)) }, { property: "choices", choiceList: true, options: f.ExpressionTypelessOptions.create() }, { property: "selection", label: w.cardsAndCars.selectionResultLabel, type: d.expressionTypeNames.string, options: T.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setIsOptional(true).setDescriptionInfo(w.cardsAndCars.selectionResultLabel, w.cardsAndCars.selectionResultDescription).setDisableSpellcheck(true).setUiPropertyOrder(8)), yamlOptions: P.createYamlOptions("selection", (e3) => e3.setExportOrder(50)) }, { property: "knowledgeSearchResult", label: w.cardsAndCars.knowledgeSearchResultLabel, type: d.expressionTypeNames.knowledgeBaseDocument, options: g.ExpressionTypeKnowledgeBaseDocumentOptions.create((e3) => e3.setAsOutput().setDefaultVariableScope(b.scopes.flow).setIsOptional(true).setIsCollection(true).setIninTestingField("knowledgeSearchResult").setDescriptionInfo(w.cardsAndCars.knowledgeSearchResultLabel, N.isFeatureAvailable(v.default.botFlowsAnswerGenerationMultipleArticles) ? w.cardsAndCars.knowledgeSearchResultDescriptionMultipleArticles : w.cardsAndCars.knowledgeSearchResultDescription).setFeatureConfigName(v.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature).setUiPropertyOrder(9)), yamlOptions: P.createYamlOptions("knowledgeSearchResult", (e3) => e3.setExportOrder(51)) }, { label: w.askCommon.noMatch, options: m.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setUiPropertyOrder(10).setIninTestingField("noMatch").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDescriptionInfo(w.askCommon.noMatch, w.askCommon.noMatchDescription).setDefaultToBuilderId(l.builderIds.parts.markdownCommunication).setScriptingPropertyName("noMatch").setBuilderLanguagesSequenceConfig(s.askForIntentSequences.noMatchSequence)), yamlOptions: P.createYamlOptions("noMatch", (e3) => e3.setPropertyName("noMatch").setExportOrder(40)), property: "noMatch", type: d.expressionTypeNames.communication }, { label: w.askCommon.noMatchReprompts, options: P.createNoMatchRepromptsOptions().setDefaultToBuilderId(l.builderIds.parts.genericCommunication), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: P.createNoMatchRepromptsOptions().setDefaultToBuilderId(l.builderIds.parts.markdownCommunication).setUiPropertyOrder(11) }], yamlOptions: P.createYamlOptions("noMatchReprompts", (e3) => e3.setPropertyName("noMatchReprompts").setWrappedObjectName("customizeNoMatch")), property: "noMatchReprompts", type: d.expressionTypeNames.communication }, { options: _.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText("false").setIninTestingField("customizeNoMatchButton").setFeatureConfigName(v.default.botFlowsDigitalBotFlowsReprompts).setBoolText(w.askCommon.defaultNoMatch, w.askCommon.customizeNoMatch).setUiPropertyOrder(12)), yamlOptions: P.createYamlOptions("customizeNoMatch", (e3) => e3.setSkipProperty(true)), property: "customizeNoMatch", type: d.expressionTypeNames.boolean }]; + return [{ property: "chooser", label: R.cardsAndCars.digitalMenuChooserLabel, type: c.expressionTypeNames.chooser, options: h.ExpressionTypeChooserOptions.create((e3) => e3.setUiPropertyOrder(7).setDescriptionInfo(R.cardsAndCars.digitalMenuChooserLabel, R.cardsAndCars.digitalMenuChooserDescription).setAndApplyCustomizations(p.expressionTypeCustomizedModes, p.expressionTypeCustomizedModes.literalChooser)), yamlOptions: P.createYamlOptions("chooser", (e3) => e3.setSerializeOutOfService(true)) }, { property: "choices", choiceList: true, options: f.ExpressionTypelessOptions.create() }, { property: "selection", label: R.cardsAndCars.selectionResultLabel, type: c.expressionTypeNames.string, options: T.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setIsOptional(true).setDescriptionInfo(R.cardsAndCars.selectionResultLabel, R.cardsAndCars.selectionResultDescription).setDisableSpellcheck(true).setUiPropertyOrder(8)), yamlOptions: P.createYamlOptions("selection", (e3) => e3.setExportOrder(50)) }, { property: "knowledgeSearchResult", label: R.cardsAndCars.knowledgeSearchResultLabel, type: c.expressionTypeNames.knowledgeBaseDocument, options: g.ExpressionTypeKnowledgeBaseDocumentOptions.create((e3) => e3.setAsOutput().setDefaultVariableScope(b.scopes.flow).setIsOptional(true).setIsCollection(true).setIninTestingField("knowledgeSearchResult").setDescriptionInfo(R.cardsAndCars.knowledgeSearchResultLabel, N.isFeatureAvailable(I.default.botFlowsAnswerGenerationMultipleArticles) ? R.cardsAndCars.knowledgeSearchResultDescriptionMultipleArticles : R.cardsAndCars.knowledgeSearchResultDescription).setFeatureConfigName(I.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature).setUiPropertyOrder(9)), yamlOptions: P.createYamlOptions("knowledgeSearchResult", (e3) => e3.setExportOrder(51)) }, { label: R.askCommon.noMatch, options: m.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setUiPropertyOrder(10).setIninTestingField("noMatch").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDescriptionInfo(R.askCommon.noMatch, R.askCommon.noMatchDescription).setDefaultToBuilderId(l.builderIds.parts.markdownCommunication).setScriptingPropertyName("noMatch").setBuilderLanguagesSequenceConfig(s.askForIntentSequences.noMatchSequence)), yamlOptions: P.createYamlOptions("noMatch", (e3) => e3.setPropertyName("noMatch").setExportOrder(40)), property: "noMatch", type: c.expressionTypeNames.communication }, { label: R.askCommon.noMatchReprompts, options: P.createNoMatchRepromptsOptions().setDefaultToBuilderId(l.builderIds.parts.genericCommunication), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: P.createNoMatchRepromptsOptions().setDefaultToBuilderId(l.builderIds.parts.markdownCommunication).setUiPropertyOrder(11) }], yamlOptions: P.createYamlOptions("noMatchReprompts", (e3) => e3.setPropertyName("noMatchReprompts").setWrappedObjectName("customizeNoMatch")), property: "noMatchReprompts", type: c.expressionTypeNames.communication }, { options: _.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText("false").setIninTestingField("customizeNoMatchButton").setFeatureConfigName(I.default.botFlowsDigitalBotFlowsReprompts).setBoolText(R.askCommon.defaultNoMatch, R.askCommon.customizeNoMatch).setUiPropertyOrder(12)), yamlOptions: P.createYamlOptions("customizeNoMatch", (e3) => e3.setSkipProperty(true)), property: "customizeNoMatch", type: c.expressionTypeNames.boolean }]; } _updateChooser() { this.chooser.type.setValueSourceTypeToCustom(this.chooser); @@ -3892,7 +3959,7 @@ var require_scripting_bundle = __commonJS({ _updateOutOfService() { } onChoicesUpdated() { - this.updateChoicePaths(), this.initializeDesignTimeCalled && I.validateAction(this, false, true); + this.updateChoicePaths(), this.initializeDesignTimeCalled && O.validateAction(this, false, true); } removeUnusedOutput(e3, t3) { this.getOptionalBranchInfo(t3.id) && (this.chooser.type.getPossibleChoices(this.chooser, true).find((e4) => e4.type.getReferenceId(e4) === t3.id) || this.removeOptionalBranchInfoById(t3.id, false)); @@ -3915,7 +3982,7 @@ var require_scripting_bundle = __commonJS({ } }, i3 = this.chooser.type.getPossibleChoices(this.chooser, true) || [], n3 = this.chooser.type.couldHaveUnknownPostbackValue(this.chooser, false), r3 = i3.map((i4) => { if (i4.type.isPostbackChoice(i4)) { - const n4 = i4.type.getValueStr(i4).trim() || w.cardsAndCars.choiceLabelNoName; + const n4 = i4.type.getValueStr(i4).trim() || R.cardsAndCars.choiceLabelNoName; if (n4) { const r4 = { choice: i4, choiceValueStr: n4, branch: null }; if (!t3(i4.type.getReferenceId(i4), r4)) { @@ -3934,8 +4001,8 @@ var require_scripting_bundle = __commonJS({ }); let u2; for (const e4 of r3) e4 && (u2 = this.getBranch(e4.branch.outputId), u2 ? (u2.label = e4.choiceValueStr, u2.enableFull()) : u2 = this.addOptionalBranchInfo(e4.branch), u2.outOfService = !e4.choice.type.getIsEnabled(e4.choice)); - const d2 = a.default.difference(s2, l2); - for (const e4 of d2) { + const c2 = a.default.difference(s2, l2); + for (const e4 of c2) { switch (u2 = this.getBranch(e4), e4) { case y.default.maxNoInputsOptional.outputId: case y.default.maxNoMatchesOptional.outputId: @@ -3950,22 +4017,22 @@ var require_scripting_bundle = __commonJS({ super.validate(e3), e3.isDeep && !this.isReadOnly && this.updateChoicePaths(); } static createNoMatchRepromptsOptions() { - return m.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatchReprompts").setFeatureConfigName(v.default.botFlowsDigitalBotFlowsReprompts).setDescriptionInfo(w.askCommon.noMatchReprompts, w.askCommon.noMatchRepromptsDescription).setIsOptional(true).setScriptingPropertyName("noMatchReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(11), true); + return m.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatchReprompts").setFeatureConfigName(I.default.botFlowsDigitalBotFlowsReprompts).setDescriptionInfo(R.askCommon.noMatchReprompts, R.askCommon.noMatchRepromptsDescription).setIsOptional(true).setScriptingPropertyName("noMatchReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(11), true); } initializeDesignTime() { super.initializeDesignTime(), this._updateOutOfService(), this.choices && (this.uiMetaData.version !== D && this.chooser.type.setLiteralQuickRepliesFromChoiceListViewModel(this.chooser, this.choices), this.choices.outOfService = true, this.uiMetaData.version = D, this.onChoicesUpdated()), this._updateChooser(), this.addAutoCleanedUpEventListener(A.nluUpdatedByWorkbench, () => this._updateChooser()); - const e3 = (0, o.merge)((0, O.createObservableForEvent$)(A.expressionValueChanged, this.chooser), (0, O.createObservableForEvent$)(A.collectionItemValueChanged, this.chooser), (0, O.createObservableForEvent$)(A.listOrderChanged, this.chooser)); - this.addAutoCleanedUpSubscription(e3.subscribe(() => this.onChoicesUpdated())), N.isFeatureAvailable(v.default.botFlowsDigitalBotFlowsReprompts) && (this.noMatchReprompts.outOfService = this.customizeNoMatch.model.text !== u.default.true, this.noMatch.outOfService = this.customizeNoMatch.model.text === u.default.true); + const e3 = (0, o.merge)((0, v.createObservableForEvent$)(A.expressionValueChanged, this.chooser), (0, v.createObservableForEvent$)(A.collectionItemValueChanged, this.chooser), (0, v.createObservableForEvent$)(A.listOrderChanged, this.chooser)); + this.addAutoCleanedUpSubscription(e3.subscribe(() => this.onChoicesUpdated())), N.isFeatureAvailable(I.default.botFlowsDigitalBotFlowsReprompts) && (this.noMatchReprompts.outOfService = this.customizeNoMatch.model.text !== u.default.true, this.noMatch.outOfService = this.customizeNoMatch.model.text === u.default.true); } propertyChanged(e3) { - super.propertyChanged(e3), N.isFeatureAvailable(v.default.botFlowsDigitalBotFlowsReprompts) && "customizeNoMatch" === e3.propertyName && (this.noMatch.outOfService = this.customizeNoMatch.model.text === u.default.true, this.noMatchReprompts.outOfService = this.customizeNoMatch.model.text !== u.default.true); + super.propertyChanged(e3), N.isFeatureAvailable(I.default.botFlowsDigitalBotFlowsReprompts) && "customizeNoMatch" === e3.propertyName && (this.noMatch.outOfService = this.customizeNoMatch.model.text === u.default.true, this.noMatchReprompts.outOfService = this.customizeNoMatch.model.text !== u.default.true); } postProcessYamlConfig(e3, t3, i3) { var n3, r3; - null === (r3 = null === (n3 = e3.chooser) || void 0 === n3 ? void 0 : n3.lit) || void 0 === r3 || delete r3[c.PROP_LISTPICKER]; + null === (r3 = null === (n3 = e3.chooser) || void 0 === n3 ? void 0 : n3.lit) || void 0 === r3 || delete r3[d.PROP_LISTPICKER]; } } - P.info = E.default.createActionInfo({ actionClass: P, canBeInTask: true, canBeTreeNode: false, helpTopic: C.helpTopics.actions.digitalMenu, modelClass: i2(20450), name: w.actions.digitalMenu, scriptingName: "ArchActionDigitalMenu", supportsUtteranceHistoricalData: true }), t2.A = P; + P.info = E.default.createActionInfo({ actionClass: P, canBeInTask: true, canBeTreeNode: false, helpTopic: C.helpTopics.actions.digitalMenu, modelClass: i2(20450), modelFormatSupport: { flowYaml: { inProgress: true, feature: I.default.changeSetsFeaturePhase2 } }, name: R.actions.digitalMenu, scriptingName: "ArchActionDigitalMenu", supportsUtteranceHistoricalData: true }), t2.A = P; }, 151: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -4022,8 +4089,8 @@ var require_scripting_bundle = __commonJS({ } } }), e2.exports = a; }, 184: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(21647), a = i2(80428), s = i2(55026), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(21647), a = i2(80428), s = i2(55026), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -4031,12 +4098,12 @@ var require_scripting_bundle = __commonJS({ return r2.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.getJourneyOutcomeScoresBySession.idLabel, searchResultLabel: d.findActions.getJourneyOutcomeScoresBySession.resultsLabel, searchResultExpressionOptions: o.ExpressionTypeComplexOptions.create((e3) => e3.setIsCollection(true)), searchResultItemType: a.expressionTypeNames.journeyOutcomeScore }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.getJourneyOutcomeScoresBySession, modelClass: s.GetJourneyOutcomeScoresBySessionActionModel, name: d.actions.getJourneyOutcomeScoresBySession, scriptingName: "ArchActionGetJourneyOutcomeScoresBySession" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.getJourneyOutcomeScoresBySession, modelClass: s.GetJourneyOutcomeScoresBySessionActionModel, modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } }, name: d.actions.getJourneyOutcomeScoresBySession, scriptingName: "ArchActionGetJourneyOutcomeScoresBySession" }), t2.A = p; }, 193: (e2, t2, i2) => { "use strict"; var n2; - const r2 = i2(31635), o = r2.__importDefault(i2(92140)), a = r2.__importStar(i2(36781)), s = r2.__importStar(i2(10798)), l = i2(58380), u = r2.__importDefault(i2(97400)), d = r2.__importStar(i2(1115)); - class c extends u.default { + const r2 = i2(31635), o = r2.__importDefault(i2(92140)), a = r2.__importStar(i2(36781)), s = r2.__importStar(i2(10798)), l = i2(58380), u = r2.__importDefault(i2(97400)), c = r2.__importStar(i2(1115)); + class d extends u.default { constructor(e3, t3, i3) { super(e3, t3), n2.set(this, void 0), Object.defineProperties(this, { _hideLabel: { value: false, writable: true } }), this._loadModel(i3); } @@ -4146,7 +4213,7 @@ var require_scripting_bundle = __commonJS({ return !!this.model.outOfService; } set outOfService(e3) { - !!this.outOfService != !!e3 && (!e3 && this.isUnavailable && (this.topic.error("attempting to set action path to in service when its unavailable by feature config "), e3 = true), this._setModelOutOfService(e3, true), this.parent && this.parent.initializeDesignTimeCalled && d.validateNode(this.parent, true), a.emitter.emit(a.branchesChanged)); + !!this.outOfService != !!e3 && (!e3 && this.isUnavailable && (this.topic.error("attempting to set action path to in service when its unavailable by feature config "), e3 = true), this._setModelOutOfService(e3, true), this.parent && this.parent.initializeDesignTimeCalled && c.validateNode(this.parent, true), a.emitter.emit(a.branchesChanged)); } getYamlOutputId(e3) { return super.getYamlOutputId(e3) || this.label; @@ -4157,8 +4224,14 @@ var require_scripting_bundle = __commonJS({ get isEnabledDynamicBranch() { return this.isDynamicBranch && !this.isDisabled; } + get categoryId() { + return this.model.categoryId; + } + get isCategory() { + return !!this.model.isCategory; + } } - n2 = /* @__PURE__ */ new WeakMap(), t2.A = c; + n2 = /* @__PURE__ */ new WeakMap(), t2.A = d; }, 238: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -4190,11 +4263,14 @@ var require_scripting_bundle = __commonJS({ const u = s.match(/\{([^}]+)}/g) || []; return r2.default.each(u, (e4) => { const t4 = e4.slice(1, -1); - (function(e5, t5) { + if ((function(e5, t5) { if (!e5 || !t5) return false; const i4 = Object.getOwnPropertyDescriptor(e5, t5); return !(!i4 || !r2.default.isFunction(i4.set) && !i4.writable); - })(a, t4) && (s = s.replace(e4, a[t4])); + })(a, t4)) { + if (null === a[t4] || void 0 === a[t4]) throw new Error(`generateRequestUrl: template param '${t4}' is ${a[t4]}`); + s = s.replace(e4, a[t4]); + } }), r2.default.each(n3, (e4, t4) => { if (r2.default.isArray(e4)) for (let i4 = 0; i4 < e4.length; i4++) s += (l ? "&" : "?") + encodeURIComponent(t4) + "=" + encodeURIComponent(e4[i4]), l = true; else s += (l ? "&" : "?") + encodeURIComponent(t4) + "=" + encodeURIComponent(e4), l = true; @@ -4289,8 +4365,8 @@ var require_scripting_bundle = __commonJS({ t2.default = u; }, 340: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importStar(i2(99434)), o = i2(12457), a = n2.__importDefault(i2(5478)), s = n2.__importDefault(i2(27203)), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(17604), c = n2.__importDefault(i2(41510)), p = i2(3219), _ = i2(76869), h = i2(47957); - class m extends a.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(99434)), o = i2(12457), a = n2.__importDefault(i2(5478)), s = n2.__importDefault(i2(27203)), l = i2(12179), u = n2.__importDefault(i2(97891)), c = i2(17604), d = n2.__importDefault(i2(41510)), p = i2(3219), _ = i2(76869), h = n2.__importDefault(i2(4648)), m = i2(47957); + class g extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -4301,15 +4377,15 @@ var require_scripting_bundle = __commonJS({ return this.variables.items.forEach((e4, t4) => { if (!e4.variable || !e4.expression) return; const o2 = r2.getDisplayText(e4.expression); - i3.push((t4 + 1).toString()), n3.push((0, d.sprintf)(c.default.updateVariables.labelValue, e4.variable.text, o2)); + i3.push((t4 + 1).toString()), n3.push((0, c.sprintf)(d.default.updateVariables.labelValue, e4.variable.text, o2)); }), new o.ActionDetails(i3, n3); } static get managedProperties() { - return [{ property: "variables", variables: true, options: _.VariableOptions.create((e3) => e3.setVariableOptionsOverrideCallback((e4) => e4.setAsOutputExpressionOnly().setExprTextRootVariableNameMustBe("Workitem.Workitem"))), yamlOptions: m.createYamlOptions("variables", (e3) => e3.setPropertyName("statements")) }]; + return [{ property: "variables", label: m.updateVariables.updateStatements, variables: true, options: _.VariableOptions.create((e3) => e3.setVariableOptionsOverrideCallback((e4) => e4.setAsOutputExpressionOnly().setExprTextRootVariableNameMustBe("Workitem.Workitem"))), yamlOptions: g.createYamlOptions("variables", (e3) => e3.setPropertyName("statements")) }]; } validate(e3) { var t3, i3; - (null === (i3 = null === (t3 = this.variables) || void 0 === t3 ? void 0 : t3.items) || void 0 === i3 ? void 0 : i3.length) || e3.addWarning(this, h.updateVariables.noStatementError), super.validate(e3); + (null === (i3 = null === (t3 = this.variables) || void 0 === t3 ? void 0 : t3.items) || void 0 === i3 ? void 0 : i3.length) || e3.addWarning(this, m.updateVariables.noStatementError), super.validate(e3); } static get branchInfo() { return s.default.successFailure; @@ -4321,7 +4397,7 @@ var require_scripting_bundle = __commonJS({ return p.updateWorkitemFailureReasons; } } - m.info = u.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: l.helpTopics.actions.updateWorkitem, modelClass: i2(23540), name: h.actions.updateWorkitem, scriptingName: "ArchActionUpdateWorkitem" }), t2.A = m; + g.info = u.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: l.helpTopics.actions.updateWorkitem, modelClass: i2(23540), name: m.actions.updateWorkitem, scriptingName: "ArchActionUpdateWorkitem", modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = g; }, 371: (e2, t2, i2) => { const n2 = i2(13240), r2 = i2(7401), { setPriorityActionType: o } = i2(30801); function a() { @@ -4338,12 +4414,12 @@ var require_scripting_bundle = __commonJS({ } } }), e2.exports = a; }, 384: (e2, t2, i2) => { "use strict"; - var n2, r2, o, a, s, l, u, d, c; + var n2, r2, o, a, s, l, u, c, d; Object.defineProperty(t2, "__esModule", { value: true }); const p = i2(31635), _ = p.__importDefault(i2(78432)), h = i2(30801), m = p.__importDefault(i2(21345)); class g extends m.default { constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), l.set(this, void 0), u.set(this, void 0), d.set(this, void 0), c.set(this, void 0), p.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.notificationType), "f"), p.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.subject), "f"), p.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.body), "f"), p.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.sendToUsers), "f"), p.__classPrivateFieldSet(this, s, this.coreFactory.createArchWrapper(e3.emailNotificationStyle), "f"), p.__classPrivateFieldSet(this, l, this.coreFactory.createArchWrapper(e3.emailFrom), "f"), p.__classPrivateFieldSet(this, d, this.coreFactory.createArchWrapper(e3.sendToGroup), "f"), p.__classPrivateFieldSet(this, c, this.coreFactory.createArchWrapper(e3.chatMessage), "f"), e3.errorBindings && p.__classPrivateFieldSet(this, u, this.coreFactory.createArchWrapper(e3.errorBindings), "f"); + super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), l.set(this, void 0), u.set(this, void 0), c.set(this, void 0), d.set(this, void 0), p.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.notificationType), "f"), p.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.subject), "f"), p.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.body), "f"), p.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.sendToUsers), "f"), p.__classPrivateFieldSet(this, s, this.coreFactory.createArchWrapper(e3.emailNotificationStyle), "f"), p.__classPrivateFieldSet(this, l, this.coreFactory.createArchWrapper(e3.emailFrom), "f"), p.__classPrivateFieldSet(this, c, this.coreFactory.createArchWrapper(e3.sendToGroup), "f"), p.__classPrivateFieldSet(this, d, this.coreFactory.createArchWrapper(e3.chatMessage), "f"), e3.errorBindings && p.__classPrivateFieldSet(this, u, this.coreFactory.createArchWrapper(e3.errorBindings), "f"); } get _actionTypeId() { return h.sendNotificationActionType; @@ -4384,13 +4460,13 @@ var require_scripting_bundle = __commonJS({ return p.__classPrivateFieldGet(this, u, "f"); } get sendToGroup() { - return p.__classPrivateFieldGet(this, d, "f"); + return p.__classPrivateFieldGet(this, c, "f"); } get chatMessage() { - return p.__classPrivateFieldGet(this, c, "f"); + return p.__classPrivateFieldGet(this, d, "f"); } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap(), t2.default = g; + n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), t2.default = g; }, 438: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -4553,16 +4629,16 @@ var require_scripting_bundle = __commonJS({ t2.default = o; }, 876: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(5730)), a = i2(12179), s = i2(30801), l = i2(30801), u = n2.__importDefault(i2(97891)), d = i2(24383), c = i2(47957); - class p extends o.default { + const n2 = i2(31635), r2 = i2(30801), o = i2(30801), a = n2.__importDefault(i2(5730)), s = i2(12179), l = i2(30801), u = i2(30801), c = n2.__importDefault(i2(97891)), d = i2(24383), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } validate(e3) { - super.validate(e3), this.getParentingFlowElementByIdOrNodeInfoId([s.loopActionType, l.loopUntilActionType, r2.askForNLUNextIntentActionActionType]) || e3.addError(this, c.loop.notInLoop); + super.validate(e3), this.getParentingFlowElementByIdOrNodeInfoId([l.loopActionType, u.loopUntilActionType, o.askForNLUNextIntentActionActionType, r2.agenticAnythingElseActionType]) || e3.addError(this, _.loop.notInLoop); } } - p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: a.helpTopics.actions.exitLoop, modelClass: i2(99407), name: c.actions.exitLoop, scriptingName: "ArchActionLoopExit", termination: d.terminatesExitLoop }), t2.A = p; + h.info = c.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: s.helpTopics.actions.exitLoop, modelClass: i2(99407), name: _.actions.exitLoop, scriptingName: "ArchActionLoopExit", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } }, termination: d.terminatesExitLoop }), t2.A = h; }, 903: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -4707,8 +4783,8 @@ var require_scripting_bundle = __commonJS({ }, 1107: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ScheduleGroupType = void 0; - const n2 = i2(31635), r2 = i2(71056), o = i2(32282), a = i2(27491), s = n2.__importDefault(i2(22226)), l = i2(80428), u = i2(14394), d = i2(94765); - class c extends d.ExpressionType { + const n2 = i2(31635), r2 = i2(71056), o = i2(32282), a = i2(27491), s = n2.__importDefault(i2(22226)), l = i2(80428), u = i2(14394), c = i2(94765); + class d extends c.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -4728,15 +4804,15 @@ var require_scripting_bundle = __commonJS({ return t3 && this.canConvertLitToExpression(e3) ? `FindScheduleGroup(${s.default.getQuotedExpressionStringLiteral(t3)})` : ""; } } - t2.ScheduleGroupType = c, c.typeIdentifier = l.expressionTypeNames.scheduleGroup; + t2.ScheduleGroupType = d, d.typeIdentifier = l.expressionTypeNames.scheduleGroup; }, 1115: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.TTS_NOT_SUPPORTED_ERROR = void 0, t2.validateFlowFailed = k, t2.validateFlow = function(e3, t3) { - if (!I(e3)) return; + if (!O(e3)) return; let i3; if (e3.isValidating) e3.topic.errorWithErrorObjectInfo("Request made to validate flow while already in progress.", e3, true, true); else try { - if (e3.isValidating = true, T.length = 0, i3 = new c.default(e3, true), e3.validationResults = i3, e3.info && e3.info.currentUserHasLock) try { + if (e3.isValidating = true, T.length = 0, i3 = new d.default(e3, true), e3.validationResults = i3, e3.info && e3.info.currentUserHasLock) try { i3.validIdMap = u.getValidIds(e3), (function(e4, t4) { e4.traverse(new a.default({ actionCallback: L, data: t4, menuCallback: F, taskCallback: F })); })(e3, i3); @@ -4745,7 +4821,7 @@ var require_scripting_bundle = __commonJS({ } return e3.hasCommonModules && e3.getEmbeddedCommonModules().forEach((e4) => { if (null == e4 ? void 0 : e4.deleted) return; - const t4 = new c.default(e4, true); + const t4 = new d.default(e4, true); e4.validationResults = t4, x(e4, t4); }), x(e3, i3), e3.hasCommonModules && e3.getEmbeddedCommonModules().forEach((t4) => { if (null == t4 ? void 0 : t4.deleted) return; @@ -4763,7 +4839,7 @@ var require_scripting_bundle = __commonJS({ } }), o.default.each(e3.tasks, (e4) => { i3.countTaskErrors(e4); - }), (0, d.isCommonWorkflowViewModel)(e3) && o.default.each(e3.states, (e4) => { + }), (0, c.isCommonWorkflowViewModel)(e3) && o.default.each(e3.states, (e4) => { i3.countTaskErrors(e4); }), i3.isDeep = false, t3 || e3.invokeValidationComplete(), i3; } catch (t4) { @@ -4773,11 +4849,11 @@ var require_scripting_bundle = __commonJS({ } }, t2.validateAction = V, t2.validateNode = function e3(t3, i3) { const n3 = t3.parentFlow; - if (!I(n3)) return; - if (i3) return O({ validationItem: t3, function: e3, args: [t3], funcName: "validateNode" }); + if (!O(n3)) return; + if (i3) return v({ validationItem: t3, function: e3, args: [t3], funcName: "validateNode" }); t3.initializeDesignTimeCalled; const r3 = n3.validationResults; - return r3 && !r3.shouldValidate() || (r3.removeIssues(t3), t3.isDestroyedOrDestroying) ? void 0 : (t3.isMenu ? (A(t3, r3), w(t3.parentFlow.menus, r3)) : t3.isTaskLike ? (o.default.each(t3.actions, r3.removeIssues.bind(r3)), C(t3, r3), R(t3.parentFlow.tasks, r3), r3.countTaskErrors(t3)) : t3.validate && (A(t3, r3), t3.topParent && t3.topParent.isTaskLike && r3.countTaskErrors(t3.topParent)), n3 && n3.startUpObject === t3 && n3.initialPrompts && A(n3.initialPrompts, r3), r3.isDeep || D(0, t3), r3); + return r3 && !r3.shouldValidate() || (r3.removeIssues(t3), t3.isDestroyedOrDestroying) ? void 0 : (t3.isMenu ? (A(t3, r3), R(t3.parentFlow.menus, r3)) : t3.isTaskLike ? (o.default.each(t3.actions, r3.removeIssues.bind(r3)), C(t3, r3), w(t3.parentFlow.tasks, r3), r3.countTaskErrors(t3)) : t3.validate && (A(t3, r3), t3.topParent && t3.topParent.isTaskLike && r3.countTaskErrors(t3.topParent)), n3 && n3.startUpObject === t3 && n3.initialPrompts && A(n3.initialPrompts, r3), r3.isDeep || D(0, t3), r3); }, t2.validateItem = U, t2.clearIssues = function(e3) { var t3; if (!(null === (t3 = e3.parentFlow) || void 0 === t3 ? void 0 : t3.validationResults)) return; @@ -4795,7 +4871,7 @@ var require_scripting_bundle = __commonJS({ }, t2.getIssues = function(e3, t3) { return t3 ? t3.getIssues(e3) : null; }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(92859)), s = n2.__importStar(i2(24032)), l = n2.__importStar(i2(58380)), u = n2.__importStar(i2(48565)), d = i2(50474), c = n2.__importDefault(i2(59805)), p = n2.__importStar(i2(12847)), _ = i2(17498), h = n2.__importStar(i2(36781)), m = n2.__importStar(i2(66381)), g = i2(47957), f = s.getTopic("validation"); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(92859)), s = n2.__importStar(i2(24032)), l = n2.__importStar(i2(58380)), u = n2.__importStar(i2(48565)), c = i2(50474), d = n2.__importDefault(i2(59805)), p = n2.__importStar(i2(12847)), _ = i2(17498), h = n2.__importStar(i2(36781)), m = n2.__importStar(i2(66381)), g = i2(47957), f = s.getTopic("validation"); t2.TTS_NOT_SUPPORTED_ERROR = "__TTS_NOT_SUPPORTED__"; const T = []; let y = 0; @@ -4824,13 +4900,13 @@ var require_scripting_bundle = __commonJS({ N(); }, 90) : y = 0; } - function O(e3) { + function v(e3) { return !(!e3.validationItem || e3.validationItem.parentFlow && (!e3.validationItem.parentFlow.loaded || e3.validationItem.parentFlow.validationResults.isDeep) || o.default.find(T, (t3) => t3.validationItem === e3.validationItem && t3.function === e3.function) || (T.push(e3), N(), 0)); } - function I(e3) { + function O(e3) { return e3 && e3.canBeValidated(); } - function v(e3, t3) { + function I(e3, t3) { if (e3) { if (e3.isAction || (e3.topic || f).errorWithErrorObjectInfo("Should not be using _validateAction on this item", e3, true, true), (!t3 || t3.shouldValidate()) && !e3.isDestroyed && (!e3.parentFlow || e3.parentFlow.loaded)) { if (e3.isDisabled) { @@ -4843,7 +4919,7 @@ var require_scripting_bundle = __commonJS({ } function C(e3, t3) { t3 && !t3.shouldValidate() || e3.isDestroyed || (e3.isTaskLike || (e3.topic || f).errorWithErrorObjectInfo("Should not be using validateTask on this item", e3, true, true), A(e3, t3), o.default.each(e3.actions, (e4) => { - v(e4, t3); + I(e4, t3); })); } function b(e3, t3) { @@ -4851,7 +4927,7 @@ var require_scripting_bundle = __commonJS({ if (t4 && !t4.shouldValidate()) return; const i3 = []; o.default.each(e4.choices, (n3) => { - n3.isDestroyed || (A(n3, t4), n3.action ? v(n3.action, t4) : t4.addError(n3, g.action.notSet), n3.dtmf && (o.default.contains(i3, n3.dtmf) ? t4.addError(e4, (0, r2.sprintf)(g.menuChoice.duplicateDtmf, n3.dtmf)) : i3.push(n3.dtmf))); + n3.isDestroyed || (A(n3, t4), n3.action ? I(n3.action, t4) : t4.addError(n3, g.action.notSet), n3.dtmf && (o.default.contains(i3, n3.dtmf) ? t4.addError(e4, (0, r2.sprintf)(g.menuChoice.duplicateDtmf, n3.dtmf)) : i3.push(n3.dtmf))); }); })(e3, t3)); } @@ -4866,10 +4942,10 @@ var require_scripting_bundle = __commonJS({ } }); } - function R(e3, t3) { + function w(e3, t3) { P(e3, t3); } - function w(e3, t3) { + function R(e3, t3) { P(e3, t3); } function D(e3, t3) { @@ -4915,7 +4991,7 @@ var require_scripting_bundle = __commonJS({ const i3 = p.time(`validating ${e3.toString()}`, 5e3); t3 && !t3.shouldValidate() || (e3.validate(t3), e3.initialPrompts && A(e3.initialPrompts, t3), e3.isFlowViewModel || (e3.topic || f).errorWithErrorObjectInfo("Should not be using doValidation on this item", e3, true, true), o.default.each(e3.tasks, (e4) => { C(e4, t3); - }), R(e3.tasks, t3), (0, d.isCommonWorkflowViewModel)(e3) && o.default.each(e3.states, (e4) => { + }), w(e3.tasks, t3), (0, c.isCommonWorkflowViewModel)(e3) && o.default.each(e3.states, (e4) => { C(e4, t3); }), e3.menus && (o.default.each(e3.menus, (e4) => { o.default.each(e4.choices, (e5) => { @@ -4923,7 +4999,7 @@ var require_scripting_bundle = __commonJS({ }); }), o.default.each(e3.menus, (e4) => { b(e4, t3); - })), w(e3.menus, t3), e3._autoManagedSettings.forEach((e4) => A(e4, t3)), (function(e4, t4) { + })), R(e3.menus, t3), e3._autoManagedSettings.forEach((e4) => A(e4, t3)), (function(e4, t4) { t4 && !t4.shouldValidate() || (o.default.each(e4.variableGroup.flowVariables, (e5) => { A(e5, t4); }), o.default.each(e4.variableGroup.taskVariables, (e5) => { @@ -4934,24 +5010,71 @@ var require_scripting_bundle = __commonJS({ })(e3, t3), i3()); } function k(e3, t3, i3) { - return i3 || (i3 = new c.default(e3, true), e3.validationResults = i3), i3.isDeep = false, i3.addError(e3, t3, true), e3.invokeValidationComplete(), i3; + return i3 || (i3 = new d.default(e3, true), e3.validationResults = i3), i3.isDeep = false, i3.addError(e3, t3, true), e3.invokeValidationComplete(), i3; } function V(e3, t3, i3) { - if (!I(e3.parentFlow)) return; - if (i3) return void O({ validationItem: e3, function: V, args: [e3, t3], funcName: "validateAction" }); + if (!O(e3.parentFlow)) return; + if (i3) return void v({ validationItem: e3, function: V, args: [e3, t3], funcName: "validateAction" }); e3.initializeDesignTimeCalled; const n3 = e3.parentFlow.validationResults; - return !n3 || n3.shouldValidate() ? (t3 && (n3.forceTextReprocess = true), n3.removeIssues(e3), v(e3, n3), t3 && (n3.forceTextReprocess = false), e3.menu && e3.menu.isMenu && (n3.removeIssues(e3.menu), b(e3.menu, n3), D(0, e3.menu)), D(0, e3), n3) : void 0; + return !n3 || n3.shouldValidate() ? (t3 && (n3.forceTextReprocess = true), n3.removeIssues(e3), I(e3, n3), t3 && (n3.forceTextReprocess = false), e3.menu && e3.menu.isMenu && (n3.removeIssues(e3.menu), b(e3.menu, n3), D(0, e3.menu)), D(0, e3), n3) : void 0; } function U(e3, t3, i3) { if (!e3.validate) return; - if (!I(e3.isFlowViewModel ? e3 : e3.parentFlow)) return; + if (!O(e3.isFlowViewModel ? e3 : e3.parentFlow)) return; const n3 = e3.isFlowViewModel ? e3.validationResults : e3.parentFlow.validationResults; if (!n3 || n3.shouldValidate()) { - if (t3) return O({ validationItem: e3, function: U, args: [e3, false, i3], funcName: "validateItem" }); + if (t3) return v({ validationItem: e3, function: U, args: [e3, false, i3], funcName: "validateItem" }); if (e3.initializeDesignTimeCalled, n3.removeIssues(e3, i3), !e3.isDestroyed) return A(e3, n3), n3.isDeep || D(0, e3), n3; } } + }, 1158: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.applyNetworkListLiteralFromModel = function(e3, t3, i3, n3, r3) { + const l = s(t3); + if (!l) return false; + if (null == n3 ? void 0 : n3.entityResolver) return (0, o.registerDeferredNetworkLiteralResolution)(n3, { entityType: r3, lookupValue: l.lookupValue, lookupValueType: l.lookupValueType, targetExpression: e3 }), true; + if (l.lookupValueType === a.entityLookupValueType.identifier) { + const i4 = t3, n4 = "string" == typeof i4.name ? i4.name.trim() : "", r4 = n4.length > 0 ? n4 : l.lookupValue; + e3.update(r4, l.lookupValue); + } else e3.setAsLiteral(l.lookupValue); + return true; + }, t2.resolveNetworkLiteralFromModel = function(e3, t3, i3, n3, r3) { + const a2 = s(e3); + return !!a2 && ((null == t3 ? void 0 : t3.entityResolver) ? ((0, o.registerDeferredNetworkLiteralResolution)(t3, { entityType: i3, lookupValue: a2.lookupValue, lookupValueType: a2.lookupValueType, onResolved: n3 }), true) : (r3 && r3(a2.lookupValue, a2.lookupValueType), true)); + }, t2.parseNetworkLiteralValue = s, t2.resolveNamedConfigListEntity = function(e3, t3, i3, r3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const n3 = i3.trim(); + if (!n3) return; + if (e3.entityResolver) try { + return yield e3.entityResolver.resolve(t3, n3, { lookupValueType: a.entityLookupValueType.name }); + } catch (e4) { + } + try { + const e4 = yield r3.findOrFetchItemByName(n3); + if (null == e4 ? void 0 : e4.id) return { id: e4.id, name: "string" == typeof e4.name && e4.name.length > 0 ? e4.name : n3 }; + } catch (e4) { + } + const o2 = r3.findItemByName(n3); + return (null == o2 ? void 0 : o2.id) ? { id: o2.id, name: "string" == typeof o2.name && o2.name.length > 0 ? o2.name : n3 } : void 0; + }); + }, t2.findDependentConfigListItemByName = function(e3, t3, i3) { + if (t3) { + const i4 = e3.getItem(t3); + if (i4) return i4; + } + const n3 = e3.items || {}; + for (const e4 of Object.values(n3)) if ((null == e4 ? void 0 : e4.name) === i3) return e4; + }; + const n2 = i2(31635), r2 = i2(50474), o = i2(64359), a = i2(58642); + function s(e3) { + if ((0, r2.isNonArrayObject)(e3)) { + const t3 = e3, i3 = "string" == typeof t3.id ? t3.id.trim() : "", n3 = "string" == typeof t3.name ? t3.name.trim() : ""; + if (i3.length > 0) return { lookupValue: i3, lookupValueType: a.entityLookupValueType.identifier }; + if (n3.length > 0) return { lookupValue: n3, lookupValueType: a.entityLookupValueType.name }; + } + return "string" == typeof e3 && e3.trim().length > 0 ? { lookupValue: e3.trim(), lookupValueType: a.entityLookupValueType.name } : null; + } }, 1183: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.allModes = t2.executeTask = t2.exitFlow = void 0; @@ -5111,10 +5234,10 @@ var require_scripting_bundle = __commonJS({ t2.default = u; }, 1438: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(49892), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = i2(14086), u = n2.__importDefault(i2(5730)), d = i2(47957); - class c extends u.default { + const n2 = i2(31635), r2 = i2(49892), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = i2(14086), u = n2.__importDefault(i2(5730)), c = i2(1910), d = i2(69453), p = n2.__importDefault(i2(4648)), _ = i2(17604), h = i2(47957); + class m extends u.default { static get managedProperties() { - return [{ createDetails: l.CommonModuleFlowReferenceProperty.createCreateDetails(), property: "commonModule" }, { dataList: true, label: d.inputOutputList.inputs, property: "inputs", options: r2.ExpressionTypelessOptions.create((e3) => e3.setIsOptional(true)), yamlOptions: c.createYamlOptions("inputs", (e3) => e3.setSkipProperty(true)) }, { dataList: true, isOutput: true, label: d.inputOutputList.outputs, property: "outputs", yamlOptions: c.createYamlOptions("outputs", (e3) => e3.setSkipProperty(true)) }]; + return [{ createDetails: l.CommonModuleFlowReferenceProperty.createCreateDetails(), property: "commonModule" }, { dataList: true, label: h.inputOutputList.inputs, property: "inputs", options: r2.ExpressionTypelessOptions.create((e3) => e3.setIsOptional(true)), yamlOptions: m.createYamlOptions("inputs", (e3) => e3.setSkipProperty(true)) }, { dataList: true, isOutput: true, label: h.inputOutputList.outputs, property: "outputs", yamlOptions: m.createYamlOptions("outputs", (e3) => e3.setSkipProperty(true)) }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -5122,6 +5245,43 @@ var require_scripting_bundle = __commonJS({ static get branchInfo() { return [o.default.fakeNoLabel]; } + _configureFromModel(e3, t3, i3) { + if ((0, c.isConfigureFromModelRecord)(e3.commonModule) && !e3.commonModule.none) { + const r3 = e3.commonModule, o2 = Object.keys(r3)[0]; + if (o2) { + const e4 = t3, a2 = (0, c.isConfigureFromModelRecord)(r3[o2]) ? r3[o2] : void 0; + i3.registerDeferredOp({ type: "resolveCommonModuleFlow", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + var t4, n3; + try { + const r4 = this.commonModule.flowListManager; + let s2 = r4.findItemByName(o2); + if (!s2) { + for (const e5 of Object.values(r4.items || {})) if (e5.displayName === o2) { + s2 = e5; + break; + } + } + if (!s2 && r4.fullManager) { + for (const e5 of Object.values(r4.fullManager.items || {})) if (e5.displayName === o2) { + s2 = e5; + break; + } + } + if (s2) { + if (yield this.commonModule.setReferenceWithFlowInfo(s2), a2) { + const r5 = Object.keys(a2)[0], o3 = r5 && (0, c.isConfigureFromModelRecord)(a2[r5]) ? a2[r5] : void 0; + o3 && (i3.currentPropertyName = "inputs", null === (t4 = this.inputs) || void 0 === t4 || t4.configureFromModel(o3.inputs, e4, i3), i3.currentPropertyName = "outputs", null === (n3 = this.outputs) || void 0 === n3 || n3.configureFromModel(o3.outputs, e4, i3), i3.currentPropertyName = void 0); + } + } else i3.warn((0, _.sprintf)(d.configureFromModel.failedToResolve, "common module flow", o2)); + } catch (e5) { + const t5 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, _.sprintf)(d.configureFromModel.entityResolutionFailed, "common module", o2, t5)); + } + }) }); + } + } + super._configureFromModel(e3, t3, i3); + } get flowInputs() { return this.inputs; } @@ -5137,7 +5297,7 @@ var require_scripting_bundle = __commonJS({ return null === (e3 = this.commonModule) || void 0 === e3 ? void 0 : e3.flowId; } } - c.info = s.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: a.helpTopics.actions.callCommonModule, modelClass: i2(71706), name: d.actions.callCommonModule, scriptingName: "ArchActionCallCommonModule" }), t2.A = c; + m.info = s.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: a.helpTopics.actions.callCommonModule, modelClass: i2(71706), name: h.actions.callCommonModule, scriptingName: "ArchActionCallCommonModule", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = m; }, 1454: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -5163,7 +5323,7 @@ var require_scripting_bundle = __commonJS({ }, 1492: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ChoiceType = t2.MANAGED_SLOT_TYPE_VALUE = t2.UI_META_DATA_KEY_REFERENCE_ID = t2.CHOICE_VALUE_TYPE_URL = t2.CHOICE_VALUE_TYPE_POSTBACK = t2.PROP_TYPE = t2.PROP_VALUE = t2.PROP_LABEL = t2.PROP_COMMAND = t2.ChoiceTypeCommands = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(7401)), s = i2(76978), l = i2(12847), u = i2(73062), d = n2.__importStar(i2(9345)), c = n2.__importStar(i2(63352)), p = i2(80428), _ = i2(14394), h = i2(59263), m = i2(39168), g = i2(28614), f = i2(28614), T = i2(94765), y = n2.__importStar(i2(10798)), S = n2.__importDefault(i2(4648)), A = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(7401)), s = i2(76978), l = i2(12847), u = i2(73062), c = n2.__importStar(i2(9345)), d = n2.__importStar(i2(63352)), p = i2(80428), _ = i2(14394), h = i2(59263), m = i2(39168), g = i2(28614), f = i2(28614), T = i2(94765), y = n2.__importStar(i2(10798)), S = n2.__importDefault(i2(4648)), A = i2(47957); t2.ChoiceTypeCommands = { SKIP: "skip" }, t2.PROP_COMMAND = "command", t2.PROP_LABEL = "label", t2.PROP_VALUE = "value", t2.PROP_TYPE = "type", t2.CHOICE_VALUE_TYPE_POSTBACK = "postback", t2.CHOICE_VALUE_TYPE_URL = "url", t2.UI_META_DATA_KEY_REFERENCE_ID = "referenceId", t2.MANAGED_SLOT_TYPE_VALUE = "managedSlotTypeValue"; class N extends T.ExpressionType { constructor(e3, t3, i3) { @@ -5263,15 +5423,15 @@ var require_scripting_bundle = __commonJS({ } hasQuickRepliesParent(e3) { var t3, i3; - if (null === (i3 = null === (t3 = e3.parentList) || void 0 === t3 ? void 0 : t3.propertyParent) || void 0 === i3 ? void 0 : i3.type.isMatch(_.globalTypes.quickReplies, d.settings.exact)) return true; + if (null === (i3 = null === (t3 = e3.parentList) || void 0 === t3 ? void 0 : t3.propertyParent) || void 0 === i3 ? void 0 : i3.type.isMatch(_.globalTypes.quickReplies, c.settings.exact)) return true; } hasCarouselParent(e3) { var t3, i3, n3; - if ((null === (i3 = null === (t3 = e3.parentList) || void 0 === t3 ? void 0 : t3.propertyParent) || void 0 === i3 ? void 0 : i3.type.isMatch(_.globalTypes.card, d.settings.exact)) && (null === (n3 = e3.parentList.propertyParent.parentList) || void 0 === n3 ? void 0 : n3.propertyParent.type.isMatch(_.globalTypes.carousel, d.settings.exact))) return true; + if ((null === (i3 = null === (t3 = e3.parentList) || void 0 === t3 ? void 0 : t3.propertyParent) || void 0 === i3 ? void 0 : i3.type.isMatch(_.globalTypes.card, c.settings.exact)) && (null === (n3 = e3.parentList.propertyParent.parentList) || void 0 === n3 ? void 0 : n3.propertyParent.type.isMatch(_.globalTypes.carousel, c.settings.exact))) return true; } getContainer(e3) { var t3, i3, n3, r3; - return (null === (i3 = null === (t3 = e3.parentList) || void 0 === t3 ? void 0 : t3.propertyParent) || void 0 === i3 ? void 0 : i3.type.isMatch(_.globalTypes.quickReplies, d.settings.exact)) || (null === (r3 = null === (n3 = e3.parentList) || void 0 === n3 ? void 0 : n3.propertyParent) || void 0 === r3 ? void 0 : r3.type.isMatch(_.globalTypes.card, d.settings.exact)) ? e3.parentList.propertyParent : void 0; + return (null === (i3 = null === (t3 = e3.parentList) || void 0 === t3 ? void 0 : t3.propertyParent) || void 0 === i3 ? void 0 : i3.type.isMatch(_.globalTypes.quickReplies, c.settings.exact)) || (null === (r3 = null === (n3 = e3.parentList) || void 0 === n3 ? void 0 : n3.propertyParent) || void 0 === r3 ? void 0 : r3.type.isMatch(_.globalTypes.card, c.settings.exact)) ? e3.parentList.propertyParent : void 0; } _getChooser(e3) { var t3; @@ -5294,7 +5454,7 @@ var require_scripting_bundle = __commonJS({ e3 && e3.setUiMetaData(t2.UI_META_DATA_KEY_REFERENCE_ID, i3); } getRuntimeLabelStr(e3, i3) { - var n3, r3, o2, a2, s2, l2, u2, d2; + var n3, r3, o2, a2, s2, l2, u2, c2; if (!e3) return; const p2 = this.getPropValue(e3); let _2, h2, m2; @@ -5319,15 +5479,15 @@ var require_scripting_bundle = __commonJS({ } else m2 = e3.type.isUrlChoice(e3); if (m2 && !_2) { const i4 = e3.getProperty(t2.PROP_LABEL); - if (i4) if (i4.mode === c.noValue) _2 = (null == p2 ? void 0 : p2.mode) === c.noValue ? (null === (u2 = p2.options) || void 0 === u2 ? void 0 : u2.getModeNoValueRuntimeEvaluationStr(p2)) || p2.text : (null == p2 ? void 0 : p2.isExpressionMode) || null == p2 ? void 0 : p2.text; - else if (i4.mode === c.builder) { + if (i4) if (i4.mode === d.noValue) _2 = (null == p2 ? void 0 : p2.mode) === d.noValue ? (null === (u2 = p2.options) || void 0 === u2 ? void 0 : u2.getModeNoValueRuntimeEvaluationStr(p2)) || p2.text : (null == p2 ? void 0 : p2.isExpressionMode) || null == p2 ? void 0 : p2.text; + else if (i4.mode === d.builder) { const e4 = i4.parentFlow.getFlowFilterPreviewOptionsExpressionDisplayOptions(i4); if (i4.builder.isDestroyed) return; _2 = i4.builder.getExpressionDetails(e4 || { richSummary: false }) || i4.text || (null == p2 ? void 0 : p2.text); } else _2 = i4.text || (null == p2 ? void 0 : p2.text); else _2 = null == p2 ? void 0 : p2.text; } else _2 = null == p2 ? void 0 : p2.text; - return i3 && !(null == _2 ? void 0 : _2.trim()) && (_2 = null === (d2 = null == p2 ? void 0 : p2.options) || void 0 === d2 ? void 0 : d2.getModeNoValueRuntimeEvaluationStr(p2)), _2; + return i3 && !(null == _2 ? void 0 : _2.trim()) && (_2 = null === (c2 = null == p2 ? void 0 : p2.options) || void 0 === c2 ? void 0 : c2.getModeNoValueRuntimeEvaluationStr(p2)), _2; } getPossibleStringFacetValue(e3, i3) { if (e3.type.getTypeStr(e3) === t2.CHOICE_VALUE_TYPE_POSTBACK) { @@ -5407,7 +5567,7 @@ var require_scripting_bundle = __commonJS({ const n3 = e3.getProperty(t2.PROP_LABEL); if (n3) { const t3 = this.isSkipChoice(e3); - if (e3.type.getIsSlotOrSlotTypeChoice(e3) && !t3) return n3.setModeWithTransition(c.noValue), n3.options.setModeNoValueSelectionLabel(A.cardsAndCars.choiceFromSlotTypeValue).setModeNoValueRuntimeEvaluationStr(A.cardsAndCars.choiceUsingSlotTypeValue).setUiDisableOnOutOfService(true), void (n3.outOfService = true); + if (e3.type.getIsSlotOrSlotTypeChoice(e3) && !t3) return n3.setModeWithTransition(d.noValue), n3.options.setModeNoValueSelectionLabel(A.cardsAndCars.choiceFromSlotTypeValue).setModeNoValueRuntimeEvaluationStr(A.cardsAndCars.choiceUsingSlotTypeValue).setUiDisableOnOutOfService(true), void (n3.outOfService = true); n3.options.setModeNoValueSelectionLabel(A.cardsAndCars.choiceLabelIsSameAsValue).setUiDisableOnOutOfService(true), n3.outOfService = false; } } @@ -5438,8 +5598,8 @@ var require_scripting_bundle = __commonJS({ } createChoiceFromChoiceViewModel(e3, i3, n3) { var r3, s2, l2, u2; - const d2 = N.createExpressionOptionClass(), c2 = new a.default(), p2 = new h.ExpressionParameters(e3, i3, c2); - p2.type = _.globalTypes.choice, p2.options = d2; + const c2 = N.createExpressionOptionClass(), d2 = new a.default(), p2 = new h.ExpressionParameters(e3, i3, d2); + p2.type = _.globalTypes.choice, p2.options = c2; const g2 = new m.NormalExpression(p2); if (null === (r3 = g2.getProperty(t2.PROP_TYPE)) || void 0 === r3 || r3.setAsLiteral(t2.CHOICE_VALUE_TYPE_POSTBACK), o.default.isUndefined(null === (s2 = n3.model) || void 0 === s2 ? void 0 : s2.name) || null === (l2 = g2.type.getPropValue(g2)) || void 0 === l2 || l2.setAsLiteral(null === (u2 = n3.model) || void 0 === u2 ? void 0 : u2.name), n3.label) { const e4 = g2.getProperty(t2.PROP_LABEL); @@ -5502,7 +5662,7 @@ var require_scripting_bundle = __commonJS({ Object.defineProperty(t2, "__esModule", { value: true }), t2.getPreviewerForFlow = function(e3) { var t3; if (!e3) return; - let i3 = c[e3.id]; + let i3 = d[e3.id]; if (r2.default.isUndefined(i3)) { if (!(null === (t3 = s.default.getDefinitionForFlowType(e3.type)) || void 0 === t3 ? void 0 : t3.supportsTestPreview)) return; switch (e3.type) { @@ -5518,18 +5678,18 @@ var require_scripting_bundle = __commonJS({ i3 = new u.default(); break; case l.flowTypes.flowTypeWorkitem: - i3 = new d.default(); + i3 = new c.default(); break; default: i3 = null; } - c[e3.id] = i3; + d[e3.id] = i3; } return i3 || void 0; }, t2.clearPreviewerForFlow = function(e3) { - e3 && delete c[e3.id]; + e3 && delete d[e3.id]; }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(47470)), a = n2.__importDefault(i2(76189)), s = n2.__importDefault(i2(98114)), l = i2(96618), u = n2.__importDefault(i2(89069)), d = n2.__importDefault(i2(88280)), c = {}; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(47470)), a = n2.__importDefault(i2(76189)), s = n2.__importDefault(i2(98114)), l = i2(96618), u = n2.__importDefault(i2(89069)), c = n2.__importDefault(i2(88280)), d = {}; }, 1667: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -5670,24 +5830,26 @@ var require_scripting_bundle = __commonJS({ } } }), e2.exports = o; }, 1782: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.MenuViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(43773)), s = n2.__importStar(i2(58380)), l = n2.__importStar(i2(48565)), u = n2.__importStar(i2(1115)), d = i2(24235), c = i2(79364), p = n2.__importDefault(i2(33139)), _ = n2.__importDefault(i2(41197)), h = i2(12179), m = n2.__importDefault(i2(61864)), g = i2(30801), f = i2(30801), T = i2(63883), y = n2.__importDefault(i2(29102)), S = n2.__importDefault(i2(97891)), A = n2.__importDefault(i2(99025)), N = i2(30801), O = n2.__importDefault(i2(22917)), I = i2(96353), v = i2(47957), C = i2(2210), b = i2(52088); + Object.defineProperty(t2, "__esModule", { value: true }), t2.MenuViewModel = void 0, t2.isMenu = function(e3) { + return null == e3 ? void 0 : e3.isMenu; + }; + const n2 = i2(31635), r2 = i2(79364), o = i2(92140), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(69453)), u = i2(90205), c = i2(17914), d = i2(24235), p = n2.__importDefault(i2(22917)), _ = n2.__importDefault(i2(33139)), h = n2.__importStar(i2(43773)), m = n2.__importDefault(i2(61864)), g = n2.__importStar(i2(58380)), f = n2.__importStar(i2(48565)), T = n2.__importStar(i2(1115)), y = i2(30801), S = i2(30801), A = i2(30801), N = n2.__importDefault(i2(4648)), v = i2(12179), O = i2(1910), I = i2(1910), C = i2(1910), b = i2(1910), E = i2(1910), w = i2(96353), R = n2.__importDefault(i2(29102)), D = n2.__importDefault(i2(99025)), P = n2.__importDefault(i2(41197)), M = i2(63883), F = n2.__importDefault(i2(97891)), L = i2(17604), x = i2(47957), k = i2(2210), V = i2(52088); i2(85160); - const E = { prompts: O.default.create(null, (e3) => e3.setPropertyName("audio")), menuSettings: O.default.create(null, (e3) => e3.setPropertyName("settingsMenu")), speechRecSettings: O.default.create(null, (e3) => e3.setPropertyName("settingsSpeechRec")) }; - class R extends _.default { + const U = { prompts: p.default.create(null, (e3) => e3.setPropertyName("audio")), menuSettings: p.default.create(null, (e3) => e3.setPropertyName("settingsMenu")), speechRecSettings: p.default.create(null, (e3) => e3.setPropertyName("settingsSpeechRec")) }; + class B extends P.default { constructor(e3, t3) { - super(e3, e3), this.choices = [], this.isHidden = false, t3.prompts = t3.prompts || new C(), t3.uiMetaData || (t3.uiMetaData = {}), t3.uiMetaData.collapsed || (t3.uiMetaData.collapsed = false), this.prompts = new I.AudioViewModel(e3, this, t3.prompts, d.AudioViewModelOptions.create().setLabel(v.menu.initialAudioLabel).setIninTestingField("menuPrompt")), this.speechRecSettings = new A.default(e3, this), this.menuSettings = new y.default(e3, this), this._loadModel(t3), this.nameEventSink = b.createNameChangedEventSinkObject(this), s.registerEventSinkForEventEmitter(this.id, this.nameEventSink); + super(e3, e3), this.choices = [], this.isHidden = false, t3.prompts = t3.prompts || new k(), t3.uiMetaData || (t3.uiMetaData = {}), t3.uiMetaData.collapsed || (t3.uiMetaData.collapsed = false), this.prompts = new w.AudioViewModel(e3, this, t3.prompts, d.AudioViewModelOptions.create().setLabel(x.menu.initialAudioLabel).setIninTestingField("menuPrompt")), this.speechRecSettings = new D.default(e3, this), this.menuSettings = new R.default(e3, this), this._loadModel(t3), this.nameEventSink = V.createNameChangedEventSinkObject(this), g.registerEventSinkForEventEmitter(this.id, this.nameEventSink); } get className() { return "MenuViewModel"; } _loadModel(e3) { if (e3) { - if (super._loadModel(e3), l.registerNode(this), this.model.menuChoiceList || (this.model.menuChoiceList = []), this.choices.length = 0, this.model.menuChoiceList) for (let e4 = 0; e4 < this.model.menuChoiceList.length; e4++) { - const t3 = this.model.menuChoiceList[e4], i3 = T.MenuChoiceViewModel.loadMenuChoice(this, t3); + if (super._loadModel(e3), f.registerNode(this), this.model.menuChoiceList || (this.model.menuChoiceList = []), this.choices.length = 0, this.model.menuChoiceList) for (let e4 = 0; e4 < this.model.menuChoiceList.length; e4++) { + const t3 = this.model.menuChoiceList[e4], i3 = M.MenuChoiceViewModel.loadMenuChoice(this, t3); this.choices.push(i3); } - this.speechRecSettings.loadConfiguration(this.model), this.menuSettings.loadConfiguration(this.model), this.defaultMenuChoice$ = new c.BehaviorSubject(void 0); + this.speechRecSettings.loadConfiguration(this.model), this.menuSettings.loadConfiguration(this.model), this.defaultMenuChoice$ = new r2.BehaviorSubject(void 0); } } get amObjectEventEmitter() { @@ -5697,18 +5859,18 @@ var require_scripting_bundle = __commonJS({ return true; } addChild(e3) { - const t3 = T.MenuChoiceViewModel.createMenuChoice(this, e3); - if (this.choices.push(t3), e3 === g.menuActionActionType) { + const t3 = M.MenuChoiceViewModel.createMenuChoice(this, e3); + if (this.choices.push(t3), e3 === y.menuActionActionType) { const e4 = this.parentFlow.createMenu(); - t3.linkMenu(e4), t3.name = t3.getSubMenuMenuViewModel().name, t3.isNameUnique() || (t3.name = this.parentFlow._getUniqueName(this.parentFlow.menus, v.menu.newDefaultName)); - } else if (e3 === N.taskActionActionType) { + t3.linkMenu(e4), t3.name = t3.getSubMenuMenuViewModel().name, t3.isNameUnique() || (t3.name = this.parentFlow._getUniqueName(this.parentFlow.menus, x.menu.newDefaultName)); + } else if (e3 === A.taskActionActionType) { const e4 = this.parentFlow.createTask(); - t3.linkTask(e4), t3.name = t3.getInlineTaskViewModel().name, t3.isNameUnique() || (t3.name = this.parentFlow._getUniqueName(this.parentFlow.tasks, v.task.newDefaultName)); + t3.linkTask(e4), t3.name = t3.getInlineTaskViewModel().name, t3.isNameUnique() || (t3.name = this.parentFlow._getUniqueName(this.parentFlow.tasks, x.task.newDefaultName)); } - return t3.action && u.validateAction(t3.action, true), u.validateNode(this, true), this.choices.sort((e4, t4) => e4.sortValue.localeCompare(t4.sortValue)), this.invokeMenuChoicesChanged(), this.parentFlow.calcFlowSizeAsync(), t3; + return t3.action && T.validateAction(t3.action, true), T.validateNode(this, true), this.choices.sort((e4, t4) => e4.sortValue.localeCompare(t4.sortValue)), this.invokeMenuChoicesChanged(), this.parentFlow.calcFlowSizeAsync(), t3; } invokeMenuChoicesChanged() { - s.fireEvent(this, o.menuChoicesChanged); + g.fireEvent(this, s.menuChoicesChanged); } addClipboardDependencies(e3) { super.addClipboardDependencies(e3), e3.copyCutProcessMenuViewModel(this), this.prompts.addClipboardDependencies(e3), this.menuSettings.addClipboardDependencies(e3), this.action && this.action.addClipboardDependencies(e3); @@ -5717,7 +5879,7 @@ var require_scripting_bundle = __commonJS({ return this.children.length > 0; } checkVersion(e3) { - this.prompts.checkVersion(e3), r2.default.each(this.choices, function(t3) { + this.prompts.checkVersion(e3), a.default.each(this.choices, function(t3) { t3.checkVersion(e3); }); } @@ -5731,7 +5893,7 @@ var require_scripting_bundle = __commonJS({ this.model.defaultMenuChoice = e3, this.defaultMenuChoice$.next(e3); } defaultChoiceInChoices() { - return !this.defaultMenuChoice || r2.default.find(this.choices, (e3) => e3.id === this.defaultMenuChoice); + return !this.defaultMenuChoice || a.default.find(this.choices, (e3) => e3.id === this.defaultMenuChoice); } deleteChild(e3) { if (!this.choices) return; @@ -5739,7 +5901,7 @@ var require_scripting_bundle = __commonJS({ t3 < 0 || (e3.isDefaultMenuChoice && (this.defaultMenuChoice = null), e3.deleting && e3.deleting(), this.choices.splice(t3, 1), this.invokeMenuChoicesChanged(), this.parentFlow.calcFlowSizeAsync()); } destroyChildren() { - this.prompts.destroy(), r2.default.each(r2.default.clone(this.children), function(e3) { + this.prompts.destroy(), a.default.each(a.default.clone(this.children), function(e3) { e3.destroy(); }), this.menuSettings.destroy(), this.speechRecSettings.destroy(); } @@ -5747,7 +5909,7 @@ var require_scripting_bundle = __commonJS({ super._postDestroy(), this.parentMenu = null; } _preDestroy() { - super._preDestroy(), s.fireEvent(this, o.actionContainerDeleted), s.unregisterAndRemoveObject(this.nameEventSink); + super._preDestroy(), g.fireEvent(this, s.actionContainerDeleted), g.unregisterAndRemoveObject(this.nameEventSink); } getChild(e3) { for (let t3 = 0; t3 < this.choices.length; t3++) { @@ -5760,23 +5922,23 @@ var require_scripting_bundle = __commonJS({ getConfiguration(e3, t3) { var i3; const n3 = this.model.getConfiguration(e3, t3); - if (!this.choices.length && (null == t3 ? void 0 : t3.isForFlowYaml) || (n3[(null == t3 ? void 0 : t3.isForFlowYaml) ? p.default.choices : p.default.menuChoiceList] = r2.default.map(this.choices, (i4) => i4.getConfiguration(e3, t3))), null == t3 ? void 0 : t3.isForComparison) return a.removePropertiesForComparison(n3); + if (!this.choices.length && (null == t3 ? void 0 : t3.isForFlowYaml) || (n3[(null == t3 ? void 0 : t3.isForFlowYaml) ? _.default.choices : _.default.menuChoiceList] = a.default.map(this.choices, (i4) => i4.getConfiguration(e3, t3))), null == t3 ? void 0 : t3.isForComparison) return h.removePropertiesForComparison(n3); if (null == t3 ? void 0 : t3.isForFlowYaml) { if (this.defaultMenuChoice) { const e4 = this.defaultChoiceInChoices(); e4 && (n3.defaultChildMenuRef = `./choices/${e4.action.wrappedYamlName}[${e4.getRefId()}]`); } (null === (i3 = null == t3 ? void 0 : t3.yamlOptions) || void 0 === i3 ? void 0 : i3.includeTrackingIds) && this.trackingId && (n3.trackingId = this.trackingId); - const o2 = this._getConfigurationForYaml(e3, t3); - return r2.default.extend(o2[this.wrappedYamlName], n3), o2[this.wrappedYamlName] = O.default.sortObjectByPropertyMap(o2[this.wrappedYamlName], this.yamlPropertyOrderMap), o2; + const r3 = this._getConfigurationForYaml(e3, t3); + return a.default.extend(r3[this.wrappedYamlName], n3), r3[this.wrappedYamlName] = p.default.sortObjectByPropertyMap(r3[this.wrappedYamlName], this.yamlPropertyOrderMap), r3; } return n3; } getOrderedChoices() { - return r2.default.sortBy(this.choices, "uiSortStr"); + return a.default.sortBy(this.choices, "uiSortStr"); } getYamlOptionsMap() { - return E; + return U; } get id() { return this.model && this.model.id ? this.model.id : null; @@ -5785,7 +5947,7 @@ var require_scripting_bundle = __commonJS({ for (let e3 = 0; e3 < this.choices.length; e3++) this.choices[e3].initialize(); } _initializeDesignTime() { - super._initializeDesignTime(), r2.default.each(this.choices, (e3) => e3.initializeDesignTime()), this.speechRecSettings.initializeDesignTime(), this.menuSettings.initializeDesignTime(), this.prompts.initializeDesignTime(); + super._initializeDesignTime(), a.default.each(this.choices, (e3) => e3.initializeDesignTime()), this.speechRecSettings.initializeDesignTime(), this.menuSettings.initializeDesignTime(), this.prompts.initializeDesignTime(); } get isAllowedAsStartupNode() { return true; @@ -5810,34 +5972,34 @@ var require_scripting_bundle = __commonJS({ } set name(e3) { const t3 = this.name; - super.name = e3, this.parentFlow.getUiMetadataInfoById("menu", this.id) && this.parentFlow.setUiMetadataInfo("menu", { id: this.id, name: this.name }), t3 !== e3 && u.validateNode(this, true); + super.name = e3, this.parentFlow.getUiMetadataInfoById("menu", this.id) && this.parentFlow.setUiMetadataInfo("menu", { id: this.id, name: this.name }), t3 !== e3 && T.validateNode(this, true); } get nodeGuxIcon() { - return m.default.menu.gux; + return m.default.menu; } get resources() { - return { deleteTitle: v.deleteMenu, multipleNameError: v.menu.multipleNames, setAsStartup: v.setMenuAsStartup, startUpDisplayName: v.startUpMenuDisplayName }; + return { deleteTitle: x.deleteMenu, multipleNameError: x.menu.multipleNames, setAsStartup: x.setMenuAsStartup, startUpDisplayName: x.startUpMenuDisplayName }; } search(e3) { - if (e3.checkId(this, this.id, this.name), e3.checkTrackingId(this, this.trackingId, this.name), e3.checkName(this, this.name, v.menu.label), this.defaultMenuChoice) { - const t3 = r2.default.find(this.choices, function(e4) { + if (e3.checkId(this, this.id, this.name), e3.checkTrackingId(this, this.trackingId, this.name), e3.checkName(this, this.name, x.menu.label), this.defaultMenuChoice) { + const t3 = a.default.find(this.choices, function(e4) { return e4.id === this.defaultMenuChoice; }.bind(this)); - t3 && e3.checkText(this, t3.name, v.menu.defaultMenuChoice); + t3 && e3.checkText(this, t3.name, x.menu.defaultMenuChoice); } - e3.addToQueue(this.prompts), r2.default.each(this.choices, e3.addToQueue.bind(e3)), e3.addToQueue(this.speechRecSettings), e3.addToQueue(this.menuSettings); + e3.addToQueue(this.prompts), a.default.each(this.choices, e3.addToQueue.bind(e3)), e3.addToQueue(this.speechRecSettings), e3.addToQueue(this.menuSettings); } get trackingId() { return this.model.trackingId; } set trackingId(e3) { - this.model.trackingId = e3; + f.setNodeTrackingId(this, e3); } getUsesSpeechRec() { - return !r2.default.isUndefined(r2.default.find(this.choices, (e3) => e3.getUsesSpeechRec())); + return !a.default.isUndefined(a.default.find(this.choices, (e3) => e3.getUsesSpeechRec())); } updateDependencies() { - r2.default.each(this.choices, function(e3) { + a.default.each(this.choices, function(e3) { e3.action.updateDependencies(); }), this.prompts.updateDependencies(); } @@ -5856,7 +6018,7 @@ var require_scripting_bundle = __commonJS({ return this.uiMetaData.collapsed; } set collapsed(e3) { - this.uiMetaData.collapsed = e3, o.emitter.emit(o.collapseExpand, this); + this.uiMetaData.collapsed = e3, s.emitter.emit(s.collapseExpand, this); } get uiMetaData() { return this.model.uiMetaData; @@ -5865,7 +6027,7 @@ var require_scripting_bundle = __commonJS({ this.model.uiMetaData = e3; } validate(e3) { - super.validate(e3), 0 === this.choices.length && e3.addError(this, v.menu.noMenuChoices), this.prompts.validate(e3), this.defaultChoiceInChoices() || e3.addError(this, v.menu.defaultChoiceNotValid), this.speechRecSettings.validate(e3), this.menuSettings.validate(e3); + super.validate(e3), 0 === this.choices.length && e3.addError(this, x.menu.noMenuChoices), this.prompts.validate(e3), this.defaultChoiceInChoices() || e3.addError(this, x.menu.defaultChoiceNotValid), this.speechRecSettings.validate(e3), this.menuSettings.validate(e3); } get wrappedYamlName() { return "menu"; @@ -5873,8 +6035,63 @@ var require_scripting_bundle = __commonJS({ toString() { return `Menu: ${super.toString()}`; } + configureFromModel(e3, t3, i3, n3) { + super.configureFromModel(e3, t3, i3), (0, b.withModelContext)(i3, `menu[${e3.refId || e3.name || "unknown"}]`, () => { + const r3 = (0, C.getStringValue)(e3, "name", i3); + void 0 !== r3 && (this.name = r3), void 0 !== e3.audio && (0, E.hasConfigureFromModel)(this.prompts) && this.prompts.configureFromModel(e3.audio, t3, i3); + const a2 = e3.choices; + Array.isArray(a2) && (0, b.withModelContext)(i3, "choices", () => { + for (let e4 = 0; e4 < a2.length; e4++) { + const t4 = a2[e4]; + if (!(0, O.isConfigureFromModelRecord)(t4)) continue; + const r4 = this.addChoiceFromModel(t4, i3); + if (r4 && void 0 !== n3) { + const a3 = (0, o.isString)(t4.refId) ? t4.refId : void 0; + i3.changeSetResults.addResult({ path: `/changes[${n3}]/add/choices[${e4}]`, refId: a3, added: { menuChoice: new u.ChangeSetResultObject(r4.id, r4.name, r4.trackingId) } }); + } + } + }); + const s2 = e3.defaultMenuChoice; + if (null != s2) { + if (t3 === I.ModelFormat.ChangeSet) { + const t4 = s2, n4 = (0, c.resolveFromList)(this.choices, t4); + n4 ? this.defaultMenuChoice = n4.id : (i3.warn((0, L.sprintf)(l.configureFromModel.defaultMenuChoiceUnresolved, JSON.stringify(s2))), delete e3.defaultMenuChoice); + } else if ("string" == typeof s2) { + const e4 = s2; + i3.registerDeferredOp({ type: "resolveDefaultMenuChoice", execute: () => { + const t4 = i3.refIdMap.get(e4); + t4 && "string" == typeof t4.id && (this.defaultMenuChoice = t4.id); + } }); + } + } else null === s2 && t3 === I.ModelFormat.ChangeSet && (this.defaultMenuChoice = null); + }); + } + addChoiceFromModel(e3, t3) { + const i3 = Object.keys(e3); + if (0 === i3.length) return; + const n3 = i3[0], r3 = e3[n3]; + if (!(0, O.isConfigureFromModelRecord)(r3)) return; + const a2 = (0, o.isString)(r3.refId) ? r3.refId : n3; + return (0, b.withModelContext)(t3, `${n3}[${a2}]`, () => { + try { + let e4 = n3; + if (n3.startsWith("menu") && "menu" !== n3) { + const t4 = n3.slice(4); + e4 = t4.charAt(0).toLowerCase() + t4.slice(1); + } + const i4 = t3.actionTypeRegistry.getNodeInfo(e4); + if (!i4) return void t3.warn((0, L.sprintf)(l.configureFromModel.unrecognizedMenuChoiceType, n3, e4, this.name)); + if (!i4.canBeTreeNode) return void t3.warn((0, L.sprintf)(l.configureFromModel.menuChoiceActionNotValid, n3, e4, this.name)); + const a3 = this.addChild(i4.id); + return a3 && ((0, o.isString)(r3.refId) && t3.refIdMap.set(r3.refId, a3), a3.configureFromModel(r3, I.ModelFormat.FlowYaml, t3)), a3; + } catch (e4) { + const i4 = e4 instanceof Error ? e4.message : String(e4); + return void t3.warn((0, L.sprintf)(l.configureFromModel.menuChoiceCreationFailed, n3, this.name, i4)); + } + }); + } } - t2.MenuViewModel = R, R.info = S.default.createReusableNodeInfo({ actionType: f.menuActionType, actionClass: R, helpTopic: h.helpTopics.actions.subMenu, name: v.actions.menu, needsServerInfo: true, categoryId: "category.menu" }); + t2.MenuViewModel = B, B.info = F.default.createReusableNodeInfo({ actionType: S.menuActionType, actionClass: B, helpTopic: v.helpTopics.actions.subMenu, name: x.actions.menu, needsServerInfo: true, categoryId: "category.menu", modelFormatSupport: { flowYaml: { inProgress: true, feature: N.default.changeSetsFeaturePhase2 } } }); }, 1849: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getCustomerSegment = t2.getCustomerSegments = void 0; @@ -5903,6 +6120,277 @@ var require_scripting_bundle = __commonJS({ n3(); }); }; + }, 1910: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getBooleanValue = t2.getArrayValue = t2.formatOutOfServiceNotWritableMessage = t2.enforceValueLimit = t2.canConfigureFlowFromModel = t2.hasConfigureFromModel = t2.resolveOrCreateVariableFromModel = t2.ChangeSet = t2.getConfigureFromModelRecords = t2.isConfigureFromModelRecordArray = t2.isConfigureFromModelRecord = t2.ModelFormat = t2.ConfigureFromModelContext = t2.FlowTypeResolver = t2.ActionTypeRegistry = t2.ProcessingMetadata = t2.ProcessingWarning = t2.ProcessingError = t2.ProcessingResult = t2.ProcessorOptions = t2.processingState = t2.createConfigListEntityResolver = t2.progressStatus = t2.progressPhase = t2.lookupStatus = t2.LookupReason = t2.ProgressEvent = t2.ProgressCallback = t2.entityLookupValueType = t2.EntityResolution = t2.EntityResolver = t2.YamlInputProvider = t2.LogEntry = t2.LogLevel = t2.resolveNamedConfigListEntity = t2.findDependentConfigListItemByName = t2.parseNetworkLiteralValue = t2.resolveNetworkLiteralFromModel = t2.applyNetworkListLiteralFromModel = t2.registerDeferredNetworkLiteralResolution = t2.applyEntityResolutionToNetworkLiteral = t2.LookupCache = t2.ProcessingContext = t2.OrchestrationResult = t2.OrchestrationEngine = t2.PreProcessResult = t2.PreProcessor = t2.ParseResult = t2.Parser = t2.YamlProcessor = void 0, t2.MappingError = t2.YamlReferenceError = t2.YamlParseError = t2.createFlowFromFlowYamlFileContent = t2.createFlowFromModel = t2.FlowModelValidator = t2.ModelSchemaRegistry = t2.FlowModelSchemaService = t2.withSourceContext = t2.withModelContextAsync = t2.withModelContext = t2.shouldProceedWithOosAssignment = t2.reportAdditionalProperty = t2.readOnlyFlowConfigureFromModelMessage = t2.getStringValue = t2.getObjectValue = t2.getNumberValue = void 0; + var n2 = i2(10543); + Object.defineProperty(t2, "YamlProcessor", { enumerable: true, get: function() { + return n2.YamlProcessor; + } }); + var r2 = i2(22303); + Object.defineProperty(t2, "Parser", { enumerable: true, get: function() { + return r2.Parser; + } }); + var o = i2(22303); + Object.defineProperty(t2, "ParseResult", { enumerable: true, get: function() { + return o.ParseResult; + } }); + var a = i2(51335); + Object.defineProperty(t2, "PreProcessor", { enumerable: true, get: function() { + return a.PreProcessor; + } }); + var s = i2(51335); + Object.defineProperty(t2, "PreProcessResult", { enumerable: true, get: function() { + return s.PreProcessResult; + } }); + var l = i2(91613); + Object.defineProperty(t2, "OrchestrationEngine", { enumerable: true, get: function() { + return l.OrchestrationEngine; + } }); + var u = i2(91613); + Object.defineProperty(t2, "OrchestrationResult", { enumerable: true, get: function() { + return u.OrchestrationResult; + } }); + var c = i2(45311); + Object.defineProperty(t2, "ProcessingContext", { enumerable: true, get: function() { + return c.ProcessingContext; + } }); + var d = i2(51162); + Object.defineProperty(t2, "LookupCache", { enumerable: true, get: function() { + return d.LookupCache; + } }); + var p = i2(64359); + Object.defineProperty(t2, "applyEntityResolutionToNetworkLiteral", { enumerable: true, get: function() { + return p.applyEntityResolutionToNetworkLiteral; + } }); + var _ = i2(64359); + Object.defineProperty(t2, "registerDeferredNetworkLiteralResolution", { enumerable: true, get: function() { + return _.registerDeferredNetworkLiteralResolution; + } }); + var h = i2(1158); + Object.defineProperty(t2, "applyNetworkListLiteralFromModel", { enumerable: true, get: function() { + return h.applyNetworkListLiteralFromModel; + } }); + var m = i2(1158); + Object.defineProperty(t2, "resolveNetworkLiteralFromModel", { enumerable: true, get: function() { + return m.resolveNetworkLiteralFromModel; + } }); + var g = i2(1158); + Object.defineProperty(t2, "parseNetworkLiteralValue", { enumerable: true, get: function() { + return g.parseNetworkLiteralValue; + } }); + var f = i2(1158); + Object.defineProperty(t2, "findDependentConfigListItemByName", { enumerable: true, get: function() { + return f.findDependentConfigListItemByName; + } }); + var T = i2(1158); + Object.defineProperty(t2, "resolveNamedConfigListEntity", { enumerable: true, get: function() { + return T.resolveNamedConfigListEntity; + } }); + var y = i2(85006); + Object.defineProperty(t2, "LogLevel", { enumerable: true, get: function() { + return y.LogLevel; + } }); + var S = i2(85006); + Object.defineProperty(t2, "LogEntry", { enumerable: true, get: function() { + return S.LogEntry; + } }); + var A = i2(62795); + Object.defineProperty(t2, "YamlInputProvider", { enumerable: true, get: function() { + return A.YamlInputProvider; + } }); + var N = i2(58642); + Object.defineProperty(t2, "EntityResolver", { enumerable: true, get: function() { + return N.EntityResolver; + } }); + var v = i2(58642); + Object.defineProperty(t2, "EntityResolution", { enumerable: true, get: function() { + return v.EntityResolution; + } }); + var O = i2(58642); + Object.defineProperty(t2, "entityLookupValueType", { enumerable: true, get: function() { + return O.entityLookupValueType; + } }); + var I = i2(36283); + Object.defineProperty(t2, "ProgressCallback", { enumerable: true, get: function() { + return I.ProgressCallback; + } }); + var C = i2(36283); + Object.defineProperty(t2, "ProgressEvent", { enumerable: true, get: function() { + return C.ProgressEvent; + } }); + var b = i2(36283); + Object.defineProperty(t2, "LookupReason", { enumerable: true, get: function() { + return b.LookupReason; + } }); + var E = i2(36283); + Object.defineProperty(t2, "lookupStatus", { enumerable: true, get: function() { + return E.lookupStatus; + } }); + var w = i2(36283); + Object.defineProperty(t2, "progressPhase", { enumerable: true, get: function() { + return w.progressPhase; + } }); + var R = i2(36283); + Object.defineProperty(t2, "progressStatus", { enumerable: true, get: function() { + return R.progressStatus; + } }); + var D = i2(51319); + Object.defineProperty(t2, "createConfigListEntityResolver", { enumerable: true, get: function() { + return D.createConfigListEntityResolver; + } }); + var P = i2(6726); + Object.defineProperty(t2, "processingState", { enumerable: true, get: function() { + return P.processingState; + } }); + var M = i2(32686); + Object.defineProperty(t2, "ProcessorOptions", { enumerable: true, get: function() { + return M.ProcessorOptions; + } }); + var F = i2(32686); + Object.defineProperty(t2, "ProcessingResult", { enumerable: true, get: function() { + return F.ProcessingResult; + } }); + var L = i2(32686); + Object.defineProperty(t2, "ProcessingError", { enumerable: true, get: function() { + return L.ProcessingError; + } }); + var x = i2(32686); + Object.defineProperty(t2, "ProcessingWarning", { enumerable: true, get: function() { + return x.ProcessingWarning; + } }); + var k = i2(32686); + Object.defineProperty(t2, "ProcessingMetadata", { enumerable: true, get: function() { + return k.ProcessingMetadata; + } }); + var V = i2(19109); + Object.defineProperty(t2, "ActionTypeRegistry", { enumerable: true, get: function() { + return V.ActionTypeRegistry; + } }); + var U = i2(60526); + Object.defineProperty(t2, "FlowTypeResolver", { enumerable: true, get: function() { + return U.FlowTypeResolver; + } }); + var B = i2(43330); + Object.defineProperty(t2, "ConfigureFromModelContext", { enumerable: true, get: function() { + return B.ConfigureFromModelContext; + } }); + var G = i2(43330); + Object.defineProperty(t2, "ModelFormat", { enumerable: true, get: function() { + return G.ModelFormat; + } }); + var j = i2(43330); + Object.defineProperty(t2, "isConfigureFromModelRecord", { enumerable: true, get: function() { + return j.isConfigureFromModelRecord; + } }); + var W = i2(43330); + Object.defineProperty(t2, "isConfigureFromModelRecordArray", { enumerable: true, get: function() { + return W.isConfigureFromModelRecordArray; + } }); + var q = i2(43330); + Object.defineProperty(t2, "getConfigureFromModelRecords", { enumerable: true, get: function() { + return q.getConfigureFromModelRecords; + } }); + var Y = i2(10751); + Object.defineProperty(t2, "ChangeSet", { enumerable: true, get: function() { + return Y.ChangeSet; + } }); + var H = i2(73950); + Object.defineProperty(t2, "resolveOrCreateVariableFromModel", { enumerable: true, get: function() { + return H.resolveOrCreateVariableFromModel; + } }); + var J = i2(58254); + Object.defineProperty(t2, "hasConfigureFromModel", { enumerable: true, get: function() { + return J.hasConfigureFromModel; + } }); + var $ = i2(14553); + Object.defineProperty(t2, "canConfigureFlowFromModel", { enumerable: true, get: function() { + return $.canConfigureFlowFromModel; + } }); + var z = i2(14553); + Object.defineProperty(t2, "enforceValueLimit", { enumerable: true, get: function() { + return z.enforceValueLimit; + } }); + var K = i2(14553); + Object.defineProperty(t2, "formatOutOfServiceNotWritableMessage", { enumerable: true, get: function() { + return K.formatOutOfServiceNotWritableMessage; + } }); + var Q = i2(14553); + Object.defineProperty(t2, "getArrayValue", { enumerable: true, get: function() { + return Q.getArrayValue; + } }); + var X = i2(14553); + Object.defineProperty(t2, "getBooleanValue", { enumerable: true, get: function() { + return X.getBooleanValue; + } }); + var Z = i2(14553); + Object.defineProperty(t2, "getNumberValue", { enumerable: true, get: function() { + return Z.getNumberValue; + } }); + var ee = i2(14553); + Object.defineProperty(t2, "getObjectValue", { enumerable: true, get: function() { + return ee.getObjectValue; + } }); + var te = i2(14553); + Object.defineProperty(t2, "getStringValue", { enumerable: true, get: function() { + return te.getStringValue; + } }); + var ie = i2(14553); + Object.defineProperty(t2, "readOnlyFlowConfigureFromModelMessage", { enumerable: true, get: function() { + return ie.readOnlyFlowConfigureFromModelMessage; + } }); + var ne = i2(14553); + Object.defineProperty(t2, "reportAdditionalProperty", { enumerable: true, get: function() { + return ne.reportAdditionalProperty; + } }); + var re = i2(14553); + Object.defineProperty(t2, "shouldProceedWithOosAssignment", { enumerable: true, get: function() { + return re.shouldProceedWithOosAssignment; + } }); + var oe = i2(14553); + Object.defineProperty(t2, "withModelContext", { enumerable: true, get: function() { + return oe.withModelContext; + } }); + var ae = i2(14553); + Object.defineProperty(t2, "withModelContextAsync", { enumerable: true, get: function() { + return ae.withModelContextAsync; + } }); + var se = i2(14553); + Object.defineProperty(t2, "withSourceContext", { enumerable: true, get: function() { + return se.withSourceContext; + } }); + var le = i2(95465); + Object.defineProperty(t2, "FlowModelSchemaService", { enumerable: true, get: function() { + return le.FlowModelSchemaService; + } }); + var ue = i2(77235); + Object.defineProperty(t2, "ModelSchemaRegistry", { enumerable: true, get: function() { + return ue.ModelSchemaRegistry; + } }); + var ce = i2(33573); + Object.defineProperty(t2, "FlowModelValidator", { enumerable: true, get: function() { + return ce.FlowModelValidator; + } }); + var de = i2(6236); + Object.defineProperty(t2, "createFlowFromModel", { enumerable: true, get: function() { + return de.createFlowFromModel; + } }); + var pe = i2(6236); + Object.defineProperty(t2, "createFlowFromFlowYamlFileContent", { enumerable: true, get: function() { + return pe.createFlowFromFlowYamlFileContent; + } }); + var _e = i2(19942); + Object.defineProperty(t2, "YamlParseError", { enumerable: true, get: function() { + return _e.YamlParseError; + } }); + var he = i2(32051); + Object.defineProperty(t2, "YamlReferenceError", { enumerable: true, get: function() { + return he.YamlReferenceError; + } }); + var me = i2(41506); + Object.defineProperty(t2, "MappingError", { enumerable: true, get: function() { + return me.MappingError; + } }); }, 2036: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -6093,30 +6581,30 @@ var require_scripting_bundle = __commonJS({ }, 2318: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(4648)), s = i2(16321), l = i2(19284), u = (n2.__importStar(i2(35515)), n2.__importStar(i2(10798))), d = i2(18638), c = n2.__importStar(i2(98442)), p = n2.__importStar(i2(71634)), _ = o.getTopic("addInService"), h = new class { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(4648)), s = i2(16321), l = i2(19284), u = (n2.__importStar(i2(35515)), n2.__importStar(i2(10798))), c = i2(18638), d = n2.__importStar(i2(98442)), p = n2.__importStar(i2(71634)), _ = o.getTopic("addInService"), h = new class { constructor() { this._addInEventSinks = {}; } get currentUserCanUseBotSessionViewer() { - return u.isFeatureAvailable(a.default.botFlowsUiSessionViewer) && d.permissionServiceHelper.canViewBotSessions(); + return u.isFeatureAvailable(a.default.botFlowsUiSessionViewer) && c.permissionServiceHelper.canViewBotSessions(); } get currentUserCanUseIntentMiner() { - return d.permissionServiceHelper.canViewIntentMiner(); + return c.permissionServiceHelper.canViewIntentMiner(); } get currentUserCanUsePreviewWidget() { - return u.isFeatureAvailable(a.default.previewDigitalBotFlowTestWidgetFeature) && d.permissionServiceHelper.canUsePreviewWidget(); + return u.isFeatureAvailable(a.default.previewDigitalBotFlowTestWidgetFeature) && c.permissionServiceHelper.canUsePreviewWidget(); } get currentUserCanUseBotPerformanceReport() { - return d.permissionServiceHelper.canViewBotPerformanceReport(); + return c.permissionServiceHelper.canViewBotPerformanceReport(); } get currentUserCanUseOptimizationOverview() { - return u.isFeatureAvailable(a.default.botFlowsAnalyticsDashboardFeature) && d.permissionServiceHelper.canViewOptimizationOverview(); + return u.isFeatureAvailable(a.default.botFlowsAnalyticsDashboardFeature) && c.permissionServiceHelper.canViewOptimizationOverview(); } get currentUserCanUseInteractionReport() { - return d.permissionServiceHelper.canViewInteractionReport(); + return c.permissionServiceHelper.canViewInteractionReport(); } get currentUserCanUseSurveyPerformanceReport() { - return d.permissionServiceHelper.canViewSurveyPerformanceReport(); + return c.permissionServiceHelper.canViewSurveyPerformanceReport(); } get currentUserCanUseContentSearchEnabledKnowledge() { return u.isFeatureAvailable(a.default.botFlowsKnowledgeContentSearch); @@ -6128,19 +6616,19 @@ var require_scripting_bundle = __commonJS({ return u.isFeatureAvailable(a.default.botFlowsVirtualAgentKnowledgeV3); } get currentUserCanUsePathDiscovery() { - return u.isFeatureAvailable(a.default.pathDiscoveryFeature) && d.permissionServiceHelper.canViewPathDiscovery(); + return u.isFeatureAvailable(a.default.pathDiscoveryFeature) && c.permissionServiceHelper.canViewPathDiscovery(); } get currentUserCanUsePathDiscoveryCallFlows() { - return u.isFeatureAvailable(a.default.pathDiscoveryCallFlowsFeature) && d.permissionServiceHelper.canViewPathDiscovery(); + return u.isFeatureAvailable(a.default.pathDiscoveryCallFlowsFeature) && c.permissionServiceHelper.canViewPathDiscovery(); } get currentUserCanUsePathDiscoveryV3Flows() { - return u.isFeatureAvailable(a.default.pathDiscoveryV3Feature) && d.permissionServiceHelper.canViewPathDiscovery(); + return u.isFeatureAvailable(a.default.pathDiscoveryV3Feature) && c.permissionServiceHelper.canViewPathDiscovery(); } get currentUserCanUseVirtualAgentItems() { return u.isFeatureAvailable(a.default.botFlowsVirtualAgentSummarization) || u.isFeatureAvailable(a.default.botFlowsDigitalBotFlowsBotSummarization); } get currentUserCanUseVirtualAgentPerformanceReport() { - return u.isFeatureAvailable(a.default.botFlowsVirtualAgentKPI) && d.permissionServiceHelper.canViewVirtualAgentPerformanceReport(); + return u.isFeatureAvailable(a.default.botFlowsVirtualAgentKPI) && c.permissionServiceHelper.canViewVirtualAgentPerformanceReport(); } createFlowSupportedLanguagesSnapshot(e3) { var t3, i3; @@ -6160,8 +6648,8 @@ var require_scripting_bundle = __commonJS({ if (e3) return { name: e3.name }; } createCommonCustomData(e3, t3, i3, n3) { - var o2, a2, s2, d2, _2, h2; - const m = { actions: {}, sttEngines: [], enabledFeatures: u.getEnabledFeatureConfigNames(), isReadOnly: !!(null == e3 ? void 0 : e3.isReadOnly), startup: r2.default.isObject(n3) ? n3 : { action: null }, viewSettings: { languageSettings: r2.default.clone(c.getLanguageObjectForCurrentLocale()), mode: t3 === p.embedded ? p.embedded : p.modal, theming: i3 } }; + var o2, a2, s2, c2, _2, h2; + const m = { actions: {}, sttEngines: [], enabledFeatures: u.getEnabledFeatureConfigNames(), isReadOnly: !!(null == e3 ? void 0 : e3.isReadOnly), startup: r2.default.isObject(n3) ? n3 : { action: null }, viewSettings: { languageSettings: r2.default.clone(d.getLanguageObjectForCurrentLocale()), mode: t3 === p.embedded ? p.embedded : p.modal, theming: i3 } }; if ((null === l.speechToTextEngineManager || void 0 === l.speechToTextEngineManager ? void 0 : l.speechToTextEngineManager.items) && r2.default.each(null === l.speechToTextEngineManager || void 0 === l.speechToTextEngineManager ? void 0 : l.speechToTextEngineManager.items, (e4) => { const t4 = { id: e4.id, name: e4.name, grammarBased: !!e4.grammarBased }; m.sttEngines.push(t4); @@ -6175,7 +6663,7 @@ var require_scripting_bundle = __commonJS({ } if (e3.flowViewFilterOptions) { const t4 = {}; - (null === (o2 = e3.flowViewFilterOptions) || void 0 === o2 ? void 0 : o2.language) && (t4.language = null === (a2 = e3.flowViewFilterOptions) || void 0 === a2 ? void 0 : a2.language), (null === (s2 = e3.flowViewFilterOptions) || void 0 === s2 ? void 0 : s2.outputMode) && (t4.outputMode = null === (d2 = e3.flowViewFilterOptions) || void 0 === d2 ? void 0 : d2.outputMode), r2.default.isEmpty(t4) || (m.viewSettings.flowViewFilter = t4); + (null === (o2 = e3.flowViewFilterOptions) || void 0 === o2 ? void 0 : o2.language) && (t4.language = null === (a2 = e3.flowViewFilterOptions) || void 0 === a2 ? void 0 : a2.language), (null === (s2 = e3.flowViewFilterOptions) || void 0 === s2 ? void 0 : s2.outputMode) && (t4.outputMode = null === (c2 = e3.flowViewFilterOptions) || void 0 === c2 ? void 0 : c2.outputMode), r2.default.isEmpty(t4) || (m.viewSettings.flowViewFilter = t4); } if (e3) { const t4 = e3.definition; @@ -6200,48 +6688,48 @@ var require_scripting_bundle = __commonJS({ return this.createCommonCustomData(e3, t3, i3, n3); } createNluCustomData(e3, t3, i3, n3) { - var o2, a2, l2, u2, d2, c2, p2, h2, m, g, f, T, y, S; - const A = this.createCommonCustomData(e3, t3, i3, n3); - if ((null === (o2 = e3.nluMetaData) || void 0 === o2 ? void 0 : o2.dynamicSlotTypesMap) && !(null === (a2 = e3.nluMetaData) || void 0 === a2 ? void 0 : a2.dynamicSlotTypesMap.outOfService)) { + var o2, l2, c2, d2, p2, h2, m, g, f, T, y, S, A, N, v; + const O = this.createCommonCustomData(e3, t3, i3, n3); + if ((null === (o2 = e3.nluMetaData) || void 0 === o2 ? void 0 : o2.dynamicSlotTypesMap) && !(null === (l2 = e3.nluMetaData) || void 0 === l2 ? void 0 : l2.dynamicSlotTypesMap.outOfService)) { const t4 = []; - r2.default.each(null === (l2 = e3.nluMetaData) || void 0 === l2 ? void 0 : l2.dynamicSlotTypesMap.items, (e4) => { + r2.default.each(null === (c2 = e3.nluMetaData) || void 0 === c2 ? void 0 : c2.dynamicSlotTypesMap.items, (e4) => { var i4, n4, r3; if (!e4) return; - const o3 = { name: e4.name }, a3 = null === (i4 = e4.values) || void 0 === i4 ? void 0 : i4.displayValue; - a3 && (o3.values = { displayValue: a3 }); + const o3 = { name: e4.name }, a2 = null === (i4 = e4.values) || void 0 === i4 ? void 0 : i4.displayValue; + a2 && (o3.values = { displayValue: a2 }); const s2 = null === (n4 = e4.synonyms) || void 0 === n4 ? void 0 : n4.displayValue; if (s2 && (o3.synonyms = { displayValue: s2 }), !e4.labels.outOfService) { const t5 = null === (r3 = e4.labels) || void 0 === r3 ? void 0 : r3.displayValue; o3.labels = { displayValue: t5 }; } t4.push(o3); - }), t4.length && (A.dynamicSlotTypes = t4); + }), t4.length && (O.dynamicSlotTypes = t4); } - const N = null === (u2 = e3.nluMetaData) || void 0 === u2 ? void 0 : u2.dynamicTimeslotTypeList; - if (N && !N.outOfService) { - const e4 = (N.items || []).map((e5) => !(null == e5 ? void 0 : e5.timeslots) || e5.timeslots.outOfService ? null : { name: e5.name, timeslots: { displayValue: e5.timeslots.displayValue } }).filter((e5) => !!e5); - e4.length && (A.dynamicTimeslots = e4); + const I = null === (d2 = e3.nluMetaData) || void 0 === d2 ? void 0 : d2.dynamicTimeslotTypeList; + if (I && !I.outOfService) { + const e4 = (I.items || []).map((e5) => !(null == e5 ? void 0 : e5.timeslots) || e5.timeslots.outOfService ? null : { name: e5.name, timeslots: { displayValue: e5.timeslots.displayValue } }).filter((e5) => !!e5); + e4.length && (O.dynamicTimeslots = e4); } - if ((null == e3 ? void 0 : e3.isNluFlow) && (A.versionId = null === (d2 = e3.botFlowSettings) || void 0 === d2 ? void 0 : d2.nluDomainVersionId, A.rawNlu = e3.nluMetaData.rawNlu, A.archNlu = e3.nluMetaData.archNlu, A.nluEngineVersion = null === (c2 = e3.botFlowSettings) || void 0 === c2 ? void 0 : c2.engineVersion, A.allowsMoreThanOneSupportedLanguage = null === (p2 = e3.botFlowSettings) || void 0 === p2 ? void 0 : p2.allowsMoreThanOneSupportedLanguage, A.trainingStatus = e3.nluMetaData.trainingStatus, A.intentHealthInfo = null === (h2 = e3.nluMetaData) || void 0 === h2 ? void 0 : h2.intentHealthInfo, A.nluGeneratedInputInfo = null === (m = e3.nluMetaData) || void 0 === m ? void 0 : m.nluGeneratedInputInfo, A.virtualAgentEnabled = null === (g = e3.botFlowSettings) || void 0 === g ? void 0 : g.virtualAgentEnabled, A.naturalLanguageUnderstanding = null === (f = s.bootstrapService.featureSupport) || void 0 === f ? void 0 : f.naturalLanguageUnderstanding, r2.default.isObject(null === (T = A.naturalLanguageUnderstanding) || void 0 === T ? void 0 : T.flowTypesToEngines) && r2.default.isObject(A.naturalLanguageUnderstanding.nluEngines))) { - A.naturalLanguageUnderstanding = r2.default.deepClone(A.naturalLanguageUnderstanding); - const t4 = null === (y = e3.defaultLanguage) || void 0 === y ? void 0 : y.toLowerCase(), i4 = r2.default.find(A.naturalLanguageUnderstanding.flowTypesToEngines[e3.type], (e4, i5) => i5 === t4); + if ((null == e3 ? void 0 : e3.isNluFlow) && (O.versionId = null === (p2 = e3.botFlowSettings) || void 0 === p2 ? void 0 : p2.nluDomainVersionId, O.rawNlu = e3.nluMetaData.rawNlu, O.archNlu = e3.nluMetaData.archNlu, O.nluEngineVersion = null === (h2 = e3.botFlowSettings) || void 0 === h2 ? void 0 : h2.engineVersion, O.allowsMoreThanOneSupportedLanguage = null === (m = e3.botFlowSettings) || void 0 === m ? void 0 : m.allowsMoreThanOneSupportedLanguage, O.trainingStatus = e3.nluMetaData.trainingStatus, O.intentHealthInfo = null === (g = e3.nluMetaData) || void 0 === g ? void 0 : g.intentHealthInfo, O.nluGeneratedInputInfo = null === (f = e3.nluMetaData) || void 0 === f ? void 0 : f.nluGeneratedInputInfo, O.virtualAgentEnabled = null === (T = e3.botFlowSettings) || void 0 === T ? void 0 : T.virtualAgentEnabled, u.isFeatureAvailable(a.default.botFlowsLLMPoweredFrontDoor) && (O.intentClassifierData = null === (y = e3.intentClassifierData) || void 0 === y ? void 0 : y.intentClassifier), O.naturalLanguageUnderstanding = null === (S = s.bootstrapService.featureSupport) || void 0 === S ? void 0 : S.naturalLanguageUnderstanding, r2.default.isObject(null === (A = O.naturalLanguageUnderstanding) || void 0 === A ? void 0 : A.flowTypesToEngines) && r2.default.isObject(O.naturalLanguageUnderstanding.nluEngines))) { + O.naturalLanguageUnderstanding = r2.default.deepClone(O.naturalLanguageUnderstanding); + const t4 = null === (N = e3.defaultLanguage) || void 0 === N ? void 0 : N.toLowerCase(), i4 = r2.default.find(O.naturalLanguageUnderstanding.flowTypesToEngines[e3.type], (e4, i5) => i5 === t4); if (i4) { - const t5 = A.naturalLanguageUnderstanding.nluEngines[i4]; - r2.default.isObject(t5) ? (A.naturalLanguageUnderstanding.limits = t5.limits, A.naturalLanguageUnderstanding.supportedLanguages = t5.supportedLanguages) : _.error(`no NLU engine information to set on custom data naturalLanguageUnderstanding for version '${i4}' retrieved from flow type '${null == e3 ? void 0 : e3.type}'.`); + const t5 = O.naturalLanguageUnderstanding.nluEngines[i4]; + r2.default.isObject(t5) ? (O.naturalLanguageUnderstanding.limits = t5.limits, O.naturalLanguageUnderstanding.supportedLanguages = t5.supportedLanguages) : _.error(`no NLU engine information to set on custom data naturalLanguageUnderstanding for version '${i4}' retrieved from flow type '${null == e3 ? void 0 : e3.type}'.`); } else _.error(`unable to find NLU engine version to use for flow type '${null == e3 ? void 0 : e3.type}'.`); } - (null == e3 ? void 0 : e3.isDigitalBotFlow) && (A.intentTaskMappings = Object.entries(e3.nluMetaData.intentsToReusableTasksMapping).map(([e4, t4]) => ({ intentName: e4, taskId: t4.id }))), e3.supportsGrammars && (A.slotGrammarMappings = r2.default.clone(e3.nluMetaData.slotsToGrammarsMapping)), (null == e3 ? void 0 : e3.isDigitalBotFlow) && (A.listPickerMappings = r2.default.clone(e3.nluMetaData.listPickerMappings)); - const O = [], I = []; - return r2.default.each(null === (S = e3.variableGroup) || void 0 === S ? void 0 : S.flowVariables, (t4) => { + (null == e3 ? void 0 : e3.isDigitalBotFlow) && (O.intentTaskMappings = Object.entries(e3.nluMetaData.intentsToReusableTasksMapping).map(([e4, t4]) => ({ intentName: e4, taskId: t4.id }))), e3.supportsGrammars && (O.slotGrammarMappings = r2.default.clone(e3.nluMetaData.slotsToGrammarsMapping)), (null == e3 ? void 0 : e3.isDigitalBotFlow) && (O.listPickerMappings = r2.default.clone(e3.nluMetaData.listPickerMappings)); + const C = [], b = []; + return r2.default.each(null === (v = e3.variableGroup) || void 0 === v ? void 0 : v.flowVariables, (t4) => { var i4, n4; const r3 = { id: t4.id, name: t4.name, dataType: t4.type.dataType }; if ((null === (i4 = t4.type) || void 0 === i4 ? void 0 : i4.isCollection) && (r3.isCollection = true), t4.isInput && (r3.isInput = true), t4.isOutput && (r3.isOutput = true), t4.isSecure && (r3.isSecure = true), t4.isSlotVariable) { r3.isSlotVariable = true, r3.slotHandling = t4.slotHandling; const i5 = null === (n4 = e3.nluMetaData) || void 0 === n4 ? void 0 : n4.getSlotNameForVariableId(t4.id); - i5 && (r3.slotName = i5, I.push({ entityName: i5, slotHandling: r3.slotHandling })); + i5 && (r3.slotName = i5, b.push({ entityName: i5, slotHandling: r3.slotHandling })); } - O.push(r3); - }), I.length && (A.nluEntityHandling = I), O.length && (A.variables = { flow: O }), A; + C.push(r3); + }), b.length && (O.nluEntityHandling = b), C.length && (O.variables = { flow: C }), O; } createNluCortexCustomData(e3, t3, i3, n3) { const r3 = this.createCommonCustomData(e3, i3, n3); @@ -6257,24 +6745,24 @@ var require_scripting_bundle = __commonJS({ t2.default = h; }, 2337: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(12179), a = i2(12457), s = n2.__importDefault(i2(5730)), l = i2(80428), u = i2(81516), d = n2.__importDefault(i2(97891)), c = i2(24383), p = i2(47957), _ = i2(4059); - class h extends s.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(12179), a = i2(12457), s = n2.__importDefault(i2(5730)), l = i2(80428), u = i2(81516), c = n2.__importDefault(i2(97891)), d = i2(24383), p = n2.__importDefault(i2(4648)), _ = i2(47957), h = i2(4059); + class m extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } getDetails() { let e3 = this.disposition.text; if (this.disposition.isLiteralMode) { - const t3 = r2.default.find(_, { id: this.disposition.text }); - e3 = t3 ? t3.displayString : p.abortSurvey.noDisposition; + const t3 = r2.default.find(h, { id: this.disposition.text }); + e3 = t3 ? t3.displayString : _.abortSurvey.noDisposition; } - return new a.ActionDetails([p.abortSurvey.dispositionLabel], [e3]); + return new a.ActionDetails([_.abortSurvey.dispositionLabel], [e3]); } static get managedProperties() { - return [{ label: p.abortSurvey.dispositionLabel, options: u.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("abortSurveyDispositionExpression").facets.setTrim(true).setAllowableValues(_).setAllowableValuePlaceholder(p.abortSurvey.dispositionWatermark)), property: "disposition", type: l.expressionTypeNames.string }]; + return [{ label: _.abortSurvey.dispositionLabel, options: u.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("abortSurveyDispositionExpression").facets.setTrim(true).setAllowableValues(h).setAllowableValuePlaceholder(_.abortSurvey.dispositionWatermark)), property: "disposition", type: l.expressionTypeNames.string }]; } } - h.info = d.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: o.helpTopics.actions.abortSurvey, modelClass: i2(54987), name: p.actions.abortSurvey, scriptingName: "ArchActionAbortSurveyInvite", termination: c.terminatesFlow }), t2.A = h; + m.info = c.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: o.helpTopics.actions.abortSurvey, modelClass: i2(54987), name: _.actions.abortSurvey, scriptingName: "ArchActionAbortSurveyInvite", termination: d.terminatesFlow, modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = m; }, 2384: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -6286,8 +6774,8 @@ var require_scripting_bundle = __commonJS({ cloneTo(e3, t3) { let i3, n3; return r2.default.each(this.map, (o2, l2) => { - var u2, d; - if (i3 = o2.single, n3 = o2.collection, null === (d = null === (u2 = o2.single) || void 0 === u2 ? void 0 : u2.model) || void 0 === d ? void 0 : d.isCustomizablePerFlow) { + var u2, c; + if (i3 = o2.single, n3 = o2.collection, null === (c = null === (u2 = o2.single) || void 0 === u2 ? void 0 : u2.model) || void 0 === c ? void 0 : c.isCustomizablePerFlow) { const t4 = o2.single.constructor; i3 = new t4(e3, r2.default.deepClone(o2.single.model), o2.single.isCollection); } @@ -6402,10 +6890,10 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2, r2, o, a, s, l, u; Object.defineProperty(t2, "__esModule", { value: true }); - const d = i2(31635), c = d.__importDefault(i2(78432)), p = i2(30801), _ = i2(26847), h = d.__importDefault(i2(57382)); + const c = i2(31635), d = c.__importDefault(i2(78432)), p = i2(30801), _ = i2(26847), h = c.__importDefault(i2(57382)); class m extends h.default { constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), l.set(this, void 0), u.set(this, void 0), d.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.chooser), "f"), d.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.customizeNoMatch), "f"), d.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.knowledgeSearchResult), "f"), d.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.noMatch), "f"), d.__classPrivateFieldSet(this, s, this.coreFactory.createArchWrapper(e3.noMatchReprompts), "f"), d.__classPrivateFieldSet(this, l, this.coreFactory.createArchWrapper(e3.question), "f"), d.__classPrivateFieldSet(this, u, this.coreFactory.createArchWrapper(e3.selection), "f"); + super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), l.set(this, void 0), u.set(this, void 0), c.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.chooser), "f"), c.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.customizeNoMatch), "f"), c.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.knowledgeSearchResult), "f"), c.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.noMatch), "f"), c.__classPrivateFieldSet(this, s, this.coreFactory.createArchWrapper(e3.noMatchReprompts), "f"), c.__classPrivateFieldSet(this, l, this.coreFactory.createArchWrapper(e3.question), "f"), c.__classPrivateFieldSet(this, u, this.coreFactory.createArchWrapper(e3.selection), "f"); } get _actionTypeId() { return p.digitalMenuActionType; @@ -6417,22 +6905,22 @@ var require_scripting_bundle = __commonJS({ return true; } get chooser() { - return d.__classPrivateFieldGet(this, n2, "f"); + return c.__classPrivateFieldGet(this, n2, "f"); } get knowledgeSearchResult() { - return d.__classPrivateFieldGet(this, o, "f"); + return c.__classPrivateFieldGet(this, o, "f"); } get noMatch() { - return d.__classPrivateFieldGet(this, a, "f"); + return c.__classPrivateFieldGet(this, a, "f"); } get question() { - return d.__classPrivateFieldGet(this, l, "f"); + return c.__classPrivateFieldGet(this, l, "f"); } get customizeNoMatch() { - return d.__classPrivateFieldGet(this, r2, "f"); + return c.__classPrivateFieldGet(this, r2, "f"); } get noMatchReprompts() { - return d.__classPrivateFieldGet(this, s, "f"); + return c.__classPrivateFieldGet(this, s, "f"); } get choices() { var e3; @@ -6451,13 +6939,13 @@ var require_scripting_bundle = __commonJS({ return this._getOutputById(_.outputIds.skipResponseCapture, true); } get selection() { - return d.__classPrivateFieldGet(this, u, "f"); + return c.__classPrivateFieldGet(this, u, "f"); } addChoice(e3) { const t3 = this._infoPropSet("name", "addChoice"); this._checkItemIsValidLiteralString(t3, e3, false), e3.trim() !== e3 && (this.logWarning(`the supplied choice name '${e3}' has leading or trailing whitespace which is not allowed. The name is being trimmed to '${e3.trim()}'.`), e3 = e3.trim()), this._checkItem(t3, !e3.length, "unable to add a choice because the supplied choice name cannot be blank."), this.logNote("getting chooser for digital menu action."); const i3 = this.chooser, n3 = i3.presentation; - n3.isLiteral && n3.valueText === c.default.CHOOSER_PRESENTATION_MODES.quickReplies || (this.logNote(`setting chooser presentation mode to literal presentation mode '${c.default.CHOOSER_PRESENTATION_MODES.quickReplies}'.`), i3.setPresentationMode(c.default.CHOOSER_PRESENTATION_MODES.quickReplies)), this.logNoteVerbose("getting buttons collection from quick replies."); + n3.isLiteral && n3.valueText === d.default.CHOOSER_PRESENTATION_MODES.quickReplies || (this.logNote(`setting chooser presentation mode to literal presentation mode '${d.default.CHOOSER_PRESENTATION_MODES.quickReplies}'.`), i3.setPresentationMode(d.default.CHOOSER_PRESENTATION_MODES.quickReplies)), this.logNoteVerbose("getting buttons collection from quick replies."); const r3 = i3.quickReplies.buttons; this.logNote("adding new button choice to collection."); const o2 = r3.addItemToCollection(); @@ -6479,7 +6967,7 @@ var require_scripting_bundle = __commonJS({ }, 2414: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(4381)), o = n2.__importDefault(i2(18251)), a = n2.__importDefault(i2(60645)), s = n2.__importDefault(i2(89059)), l = n2.__importDefault(i2(27069)), u = n2.__importDefault(i2(42115)), d = n2.__importDefault(i2(80817)), c = n2.__importDefault(i2(38590)), p = n2.__importDefault(i2(28044)), _ = { archFactoryActions: r2.default, archFactoryDataTypes: o.default, archFactoryFilters: a.default, archFactoryFlows: s.default, archFactoryMenus: l.default, archFactoryPromise: u.default, archFactoryPrompts: d.default, archFactoryStates: c.default, archFactoryTasks: p.default }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(4381)), o = n2.__importDefault(i2(18251)), a = n2.__importDefault(i2(60645)), s = n2.__importDefault(i2(89059)), l = n2.__importDefault(i2(27069)), u = n2.__importDefault(i2(42115)), c = n2.__importDefault(i2(80817)), d = n2.__importDefault(i2(38590)), p = n2.__importDefault(i2(28044)), _ = { archFactoryActions: r2.default, archFactoryDataTypes: o.default, archFactoryFilters: a.default, archFactoryFlows: s.default, archFactoryMenus: l.default, archFactoryPromise: u.default, archFactoryPrompts: c.default, archFactoryStates: d.default, archFactoryTasks: p.default }; t2.default = _; }, 2444: (e2, t2, i2) => { const n2 = i2(91625), r2 = i2(7401), o = i2(93476); @@ -6559,33 +7047,33 @@ var require_scripting_bundle = __commonJS({ t2.default = o; }, 2499: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(73198)), a = i2(67607), s = i2(60186), l = i2(98835), u = i2(9290), d = i2(9290), c = i2(12179), p = i2(12457), _ = n2.__importDefault(i2(97891)), h = i2(42098), m = n2.__importDefault(i2(78791)), g = i2(80428), f = i2(47957); - class T extends m.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(73198)), a = i2(67607), s = i2(60186), l = i2(98835), u = i2(9290), c = i2(9290), d = i2(12179), p = i2(12457), _ = n2.__importDefault(i2(97891)), h = i2(42098), m = n2.__importDefault(i2(78791)), g = i2(80428), f = n2.__importDefault(i2(4648)), T = i2(47957); + class y extends m.default { constructor(e3, t3) { super(e3), this.group = null, this._loadModel(t3); } _getPossibleErrors() { - return this.parentFlow.isNluFlow ? d.groupTransferFailureReasonsForBotFlowType : u.groupTransferFailureReasons; + return this.parentFlow.isNluFlow ? c.groupTransferFailureReasonsForBotFlowType : u.groupTransferFailureReasons; } _overrideProperties() { super._overrideProperties.apply(this, arguments), this.group.attachValidator(function(e3, t3) { if (t3.isLiteralMode && t3.val) { const i3 = l.groupManager.getItem(t3.val); if (i3 && !i3.hasExtension) { - const i4 = f.group.noExtError; + const i4 = T.group.noExtError; t3.setParseWarning(i4), e3.nodeHasWarning(this.id, i4) || e3.addWarning(this, i4); } } }.bind(this)); } getDetails() { - return this.group ? new p.ActionDetails([f.group.label], [this.group.text]) : null; + return this.group ? new p.ActionDetails([T.group.label], [this.group.text]) : null; } static get managedProperties() { - return [(0, h.createTransferConnectTimeoutProperty)(f.expression.noValue.selectionRuntimeEvaluation.connectTimeout.groupTransferTimeout), { label: f.group.label, options: s.ExpressionTypeGroupOptions.create((e3) => e3.setUiPropertyOrder(10).setIninTestingField("groupTransferExpression")), yamlOptions: T.createYamlOptions("group", (e3) => e3.setPropertyName("targetGroup").setExportOrder(10)), property: "group", type: g.expressionTypeNames.group }, { label: f.transfer.allowVoicemail, options: a.ExpressionTypeBooleanOptions.create((e3) => e3.setUiPropertyOrder(20).setIninTestingField("allowVoicemail").setDefaultText(o.default.true)), yamlOptions: T.createYamlOptions("allowVoicemail", (e3) => e3.setPropertyName("allowVoicemailRollover").setExportOrder(30)), property: "allowVoicemail", type: g.expressionTypeNames.boolean, supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgen }]; + return [(0, h.createTransferConnectTimeoutProperty)(T.expression.noValue.selectionRuntimeEvaluation.connectTimeout.groupTransferTimeout), { label: T.group.label, options: s.ExpressionTypeGroupOptions.create((e3) => e3.setUiPropertyOrder(10).setIninTestingField("groupTransferExpression")), yamlOptions: y.createYamlOptions("group", (e3) => e3.setPropertyName("targetGroup").setExportOrder(10)), property: "group", type: g.expressionTypeNames.group }, { label: T.transfer.allowVoicemail, options: a.ExpressionTypeBooleanOptions.create((e3) => e3.setUiPropertyOrder(20).setIninTestingField("allowVoicemail").setDefaultText(o.default.true)), yamlOptions: y.createYamlOptions("allowVoicemail", (e3) => e3.setPropertyName("allowVoicemailRollover").setExportOrder(30)), property: "allowVoicemail", type: g.expressionTypeNames.boolean, supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgen }]; } } - T.info = _.default.createActionInfo({ actionClass: T, canBeInTask: true, canBeTreeNode: true, helpTopic: c.helpTopics.actions.transferGroup, modelClass: i2(39137), name: f.actions.transfers.group, scriptingName: "ArchActionTransferToGroup" }), t2.A = T; + y.info = _.default.createActionInfo({ actionClass: y, canBeInTask: true, canBeTreeNode: true, helpTopic: d.helpTopics.actions.transferGroup, modelClass: i2(39137), modelFormatSupport: { flowYaml: { inProgress: true, feature: f.default.changeSetsFeaturePhase2 } }, name: T.actions.transfers.group, scriptingName: "ArchActionTransferToGroup" }), t2.A = y; }, 2512: (e2, t2, i2) => { const n2 = i2(28730), { createCallbackActionType: r2 } = i2(30801), o = i2(90807), a = i2(7401); function s() { @@ -6639,27 +7127,27 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeInternals = void 0; var n2 = i2(19724), r2 = i2(28619), o = i2(17214); - t2.mergeInternals = function(e3, t3, i3, a, s, l, u, d) { - var c = [], p = 0, _ = 0, h = false, m = function() { - !h || c.length || p || t3.complete(); + t2.mergeInternals = function(e3, t3, i3, a, s, l, u, c) { + var d = [], p = 0, _ = 0, h = false, m = function() { + !h || d.length || p || t3.complete(); }, g = function(e4) { - return p < a ? f(e4) : c.push(e4); + return p < a ? f(e4) : d.push(e4); }, f = function(e4) { l && t3.next(e4), p++; - var d2 = false; + var c2 = false; n2.innerFrom(i3(e4, _++)).subscribe(o.createOperatorSubscriber(t3, function(e5) { null == s || s(e5), l ? g(e5) : t3.next(e5); }, function() { - d2 = true; + c2 = true; }, void 0, function() { - if (d2) try { + if (c2) try { p--; for (var e5 = function() { - var e6 = c.shift(); + var e6 = d.shift(); u ? r2.executeSchedule(t3, u, function() { return f(e6); }) : f(e6); - }; c.length && p < a; ) e5(); + }; d.length && p < a; ) e5(); m(); } catch (e6) { t3.error(e6); @@ -6669,7 +7157,7 @@ var require_scripting_bundle = __commonJS({ return e3.subscribe(o.createOperatorSubscriber(t3, g, function() { h = true, m(); })), function() { - null == d || d(); + null == c || c(); }; }; }, 2583: (e2, t2, i2) => { @@ -6731,26 +7219,78 @@ var require_scripting_bundle = __commonJS({ t2.ExpressionTypeListPickerSectionOptions = r2; }, 2600: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + function n2(e3) { + if (void 0 !== e3 && "" !== e3 && "" !== e3) try { + return JSON.parse(e3); + } catch (t3) { + return e3; } - get _globalTypeName() { - return "stringCollection"; + } + let r2; + Object.defineProperty(t2, "__esModule", { value: true }), t2.NETWORK_DIAGNOSTICS_BODY_MAX_CHARS = t2.NETWORK_DIAGNOSTICS_RING_SIZE = void 0, t2.truncateNetworkDiagnosticBody = function(e3, i3 = t2.NETWORK_DIAGNOSTICS_BODY_MAX_CHARS) { + return null == e3 || "" === e3 ? "" : e3.length <= i3 ? e3 : `${e3.substring(0, i3)}...`; + }, t2.parseNetworkDiagnosticBodyForLog = n2, t2.formatNetworkDiagnosticsForLog = function(e3) { + if (!(null == e3 ? void 0 : e3.length)) return ""; + const t3 = e3.map((e4) => { + const t4 = {}; + e4.networkRequestId && (t4.networkRequestId = e4.networkRequestId), e4.method && (t4.method = e4.method), e4.url && (t4.url = e4.url); + const i3 = n2(e4.requestBody); + void 0 !== i3 && (t4.body = i3), e4.timestamp && (t4.timestamp = e4.timestamp); + const r3 = {}; + void 0 !== e4.statusCode && (r3.statusCode = e4.statusCode), e4.statusMessage && (r3.statusMessage = e4.statusMessage), e4.correlationId && (r3.correlationId = e4.correlationId); + const o2 = n2(e4.responseBody); + return void 0 !== o2 && (r3.body = o2), e4.errorCode && (r3.errorCode = e4.errorCode), e4.errorMessage && (r3.errorMessage = e4.errorMessage), { request: t4, response: r3 }; + }); + return JSON.stringify(1 === t3.length ? t3[0] : t3, null, 2); + }, t2.NETWORK_DIAGNOSTICS_RING_SIZE = 50, t2.NETWORK_DIAGNOSTICS_BODY_MAX_CHARS = 4096; + try { + const { AsyncLocalStorage: e3 } = i2(90290); + r2 = new e3(); + } catch (e3) { + r2 = void 0; + } + const o = new class { + constructor() { + this._captureEnabled = false, this._logEnabled = false, this._buffer = []; } - get displayTypeName() { - return "ArchVariableStringCollection"; + get captureEnabled() { + return this._captureEnabled; } - get initialValue() { - return this._initialValue; + set captureEnabled(e3) { + this._captureEnabled = !!e3, this._captureEnabled || (this.clear(), this._logEnabled = false); } - get isArchVariableStringCollection() { - return true; + get logEnabled() { + return this._logEnabled; } - } - t2.default = r2; + set logEnabled(e3) { + this._logEnabled = !!e3 && this._captureEnabled; + } + _activeCollection() { + var e3; + return null !== (e3 = null == r2 ? void 0 : r2.getStore()) && void 0 !== e3 ? e3 : this._buffer; + } + runInScope(e3) { + return this._captureEnabled && r2 ? (r2.getStore() || (this._buffer = []), r2.run([], e3)) : (this._captureEnabled && (this._buffer = []), e3()); + } + captureScope() { + if (this._captureEnabled) return null == r2 ? void 0 : r2.getStore(); + } + record(e3, i3) { + if (!this._captureEnabled || !e3) return; + const n3 = null != i3 ? i3 : this._activeCollection(); + for (n3.push(e3); n3.length > t2.NETWORK_DIAGNOSTICS_RING_SIZE; ) n3.shift(); + } + consume(e3) { + const t3 = null == r2 ? void 0 : r2.getStore(); + let i3; + return t3 ? i3 = t3.splice(0, t3.length) : (i3 = this._buffer, this._buffer = []), i3.length ? "number" == typeof e3 && e3 > 0 && e3 < i3.length ? i3.slice(i3.length - e3) : i3 : []; + } + clear() { + const e3 = null == r2 ? void 0 : r2.getStore(); + e3 ? e3.length = 0 : this._buffer = []; + } + }(); + t2.default = o; }, 2625: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -6789,7 +7329,7 @@ var require_scripting_bundle = __commonJS({ n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); }); Object.defineProperty(t2, "__esModule", { value: true }), t2.EMPTY_OBSERVER = t2.SafeSubscriber = t2.Subscriber = void 0; - var o = i2(10281), a = i2(69879), s = i2(93728), l = i2(32980), u = i2(5717), d = i2(42767), c = i2(94808), p = i2(12688), _ = (function(e3) { + var o = i2(10281), a = i2(69879), s = i2(93728), l = i2(32980), u = i2(5717), c = i2(42767), d = i2(94808), p = i2(12688), _ = (function(e3) { function i3(i4) { var n3 = e3.call(this) || this; return n3.isStopped = false, i4 ? (n3.destination = i4, a.isSubscription(i4) && i4.add(n3)) : n3.destination = t2.EMPTY_OBSERVER, n3; @@ -6797,11 +7337,11 @@ var require_scripting_bundle = __commonJS({ return r2(i3, e3), i3.create = function(e4, t3, i4) { return new f(e4, t3, i4); }, i3.prototype.next = function(e4) { - this.isStopped ? y(d.nextNotification(e4), this) : this._next(e4); + this.isStopped ? y(c.nextNotification(e4), this) : this._next(e4); }, i3.prototype.error = function(e4) { - this.isStopped ? y(d.errorNotification(e4), this) : (this.isStopped = true, this._error(e4)); + this.isStopped ? y(c.errorNotification(e4), this) : (this.isStopped = true, this._error(e4)); }, i3.prototype.complete = function() { - this.isStopped ? y(d.COMPLETE_NOTIFICATION, this) : (this.isStopped = true, this._complete()); + this.isStopped ? y(c.COMPLETE_NOTIFICATION, this) : (this.isStopped = true, this._complete()); }, i3.prototype.unsubscribe = function() { this.closed || (this.isStopped = true, e3.prototype.unsubscribe.call(this), this.destination = null); }, i3.prototype._next = function(e4) { @@ -6866,7 +7406,7 @@ var require_scripting_bundle = __commonJS({ } function y(e3, t3) { var i3 = s.config.onStoppedNotification; - i3 && c.timeoutProvider.setTimeout(function() { + i3 && d.timeoutProvider.setTimeout(function() { return i3(e3, t3); }); } @@ -6895,7 +7435,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ObjectValueMismatch = void 0; const n2 = i2(31635), r2 = i2(17604), o = i2(55299), a = i2(27716), s = n2.__importStar(i2(78249)), l = i2(47957), u = i2(24032).getTopic("ObjectValueMismatch"); - class d extends o.BaseClass { + class c extends o.BaseClass { constructor(e3, t3, i3) { super(), s.typeMap[e3] || u.errorCtorParmInternal("mismatchType", e3, "It is is not a valid mismatchType. :("), this._compareToValue = new a.ObjectValueDisplay(i3), this._compareValue = new a.ObjectValueDisplay(t3), this._mismatchType = e3; } @@ -6928,7 +7468,7 @@ var require_scripting_bundle = __commonJS({ return this._mismatchType; } } - t2.ObjectValueMismatch = d; + t2.ObjectValueMismatch = c; }, 2812: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -7187,8 +7727,8 @@ var require_scripting_bundle = __commonJS({ t2.default = a; }, 3287: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = (n2.__importStar(i2(63352)), i2(67607)), o = i2(78513), a = n2.__importStar(i2(59288)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(1115)), u = i2(12179), d = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(5730)), p = n2.__importDefault(i2(27203)), _ = i2(80428), h = i2(90807), m = i2(7401), g = i2(47957); - class f extends c.default { + const n2 = i2(31635), r2 = (n2.__importStar(i2(63352)), i2(67607)), o = i2(78513), a = n2.__importStar(i2(59288)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(1115)), u = i2(12179), c = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(5730)), p = n2.__importDefault(i2(27203)), _ = i2(80428), h = n2.__importDefault(i2(4648)), m = i2(90807), g = i2(7401), f = i2(47957); + class T extends d.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), this.untilCases.addIndexSuffixToSingleItemLists = true, this.addAutoCleanedUpEventSinkWatch(s.lastPathActionRemoved, this, this.cleanUpBranches.bind(this)); } @@ -7208,13 +7748,13 @@ var require_scripting_bundle = __commonJS({ return this.getBranch(e3); } static get managedProperties() { - return [{ label: g.loop.indexDataName, options: o.ExpressionTypeIntegerOptions.create((e3) => e3.setAsOutput().setIsOptional(true).setModeNoValueRuntimeEvaluationStr(g.loopUntil.noLoopIndexVariableSpecified)), property: "currentIndex", type: _.expressionTypeNames.integer }, { label: g.loopUntil.maxLoopCount, options: o.ExpressionTypeIntegerOptions.create((e3) => e3.setIsOptional(true).setDefaultToNoValue(true).setModeNoValueRuntimeEvaluationStr(g.loopUntil.exitWhenUntilCriteriaMet).setIninTestingField("loopExpression").facets.setMinInt(1, true).setMaxInt(999, true)), property: "maxLoopCount", type: _.expressionTypeNames.integer }, { label: g.loopUntil.untilCaseConditionLabel, list: true, listHasReferenceId: true, options: r2.ExpressionTypeBooleanOptions.create((e3) => e3), yamlOptions: f.createYamlOptions("untilCases", (e3) => e3.setWrapValueAndActionsInPropertyName("untilCase").setWrapListItemValueInPropertyName("condition")), property: "untilCases", type: _.expressionTypeNames.boolean }]; + return [{ label: f.loop.indexDataName, options: o.ExpressionTypeIntegerOptions.create((e3) => e3.setAsOutput().setIsOptional(true).setModeNoValueRuntimeEvaluationStr(f.loopUntil.noLoopIndexVariableSpecified)), property: "currentIndex", type: _.expressionTypeNames.integer }, { label: f.loopUntil.maxLoopCount, options: o.ExpressionTypeIntegerOptions.create((e3) => e3.setIsOptional(true).setDefaultToNoValue(true).setModeNoValueRuntimeEvaluationStr(f.loopUntil.exitWhenUntilCriteriaMet).setIninTestingField("loopExpression").facets.setMinInt(1, true).setMaxInt(999, true)), property: "maxLoopCount", type: _.expressionTypeNames.integer }, { label: f.loopUntil.untilCaseConditionLabel, list: true, listHasReferenceId: true, options: r2.ExpressionTypeBooleanOptions.create((e3) => e3), yamlOptions: T.createYamlOptions("untilCases", (e3) => e3.setWrapValueAndActionsInPropertyName("untilCase").setWrapListItemValueInPropertyName("condition")), property: "untilCases", type: _.expressionTypeNames.boolean }]; } validate(e3) { - super.validate(e3), this.maxLoopCount.validate(e3) && this.maxLoopCount.isLiteralMode ? parseInt(this.maxLoopCount.config.lit.text, 10) < 1 && e3.addWarning(this, g.loop.lessThanOne) : this.maxLoopCount.isNoValueMode && this.untilCases && this.untilCases.items && this.untilCases.items.length; + super.validate(e3), this.maxLoopCount.validate(e3) && this.maxLoopCount.isLiteralMode ? parseInt(this.maxLoopCount.config.lit.text, 10) < 1 && e3.addWarning(this, f.loop.lessThanOne) : this.maxLoopCount.isNoValueMode && this.untilCases && this.untilCases.items && this.untilCases.items.length; } addUntilCase(e3, t3) { - const i3 = this.untilCases.createItem(new h({ value: new m() })); + const i3 = this.untilCases.createItem(new m({ value: new g() })); this.untilCases.addItem(i3), this.untilCases.expandNewItem(i3), i3.value.setAsExpression(), t3 && (i3.value.text = t3); const n3 = a.createBranchItem(this.id, e3 || i3.label, null, true); return i3.referenceId = n3.outputId, i3.initializeDesignTime(), this.addOptionalBranchInfo(n3), l.validateAction(this, false, true), i3; @@ -7236,7 +7776,7 @@ var require_scripting_bundle = __commonJS({ this.branches.find((t3, i3) => e3[t3.id] !== i3) && (this.branches.sort((t3, i3) => e3[t3.id] < e3[i3.id] ? -1 : 1), s.emitter.emit(s.branchesChanged)); } } - f.info = d.default.createActionInfo({ actionClass: f, canBeInTask: true, canBeTreeNode: false, helpTopic: u.helpTopics.actions.loopUntil, modelClass: i2(69849), name: g.actions.loopUntil, scriptingName: "ArchActionLoopUntil" }), t2.A = f; + T.info = c.default.createActionInfo({ actionClass: T, canBeInTask: true, canBeTreeNode: false, helpTopic: u.helpTopics.actions.loopUntil, modelClass: i2(69849), name: f.actions.loopUntil, scriptingName: "ArchActionLoopUntil", modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = T; }, 3352: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.retry = void 0; @@ -7244,35 +7784,35 @@ var require_scripting_bundle = __commonJS({ t2.retry = function(e3) { var t3; void 0 === e3 && (e3 = 1 / 0); - var i3 = (t3 = e3 && "object" == typeof e3 ? e3 : { count: e3 }).count, l = void 0 === i3 ? 1 / 0 : i3, u = t3.delay, d = t3.resetOnSuccess, c = void 0 !== d && d; + var i3 = (t3 = e3 && "object" == typeof e3 ? e3 : { count: e3 }).count, l = void 0 === i3 ? 1 / 0 : i3, u = t3.delay, c = t3.resetOnSuccess, d = void 0 !== c && c; return l <= 0 ? o.identity : n2.operate(function(e4, t4) { var i4, n3 = 0, o2 = function() { - var d2 = false; + var c2 = false; i4 = e4.subscribe(r2.createOperatorSubscriber(t4, function(e5) { - c && (n3 = 0), t4.next(e5); + d && (n3 = 0), t4.next(e5); }, void 0, function(e5) { if (n3++ < l) { - var c2 = function() { - i4 ? (i4.unsubscribe(), i4 = null, o2()) : d2 = true; + var d2 = function() { + i4 ? (i4.unsubscribe(), i4 = null, o2()) : c2 = true; }; if (null != u) { var p = "number" == typeof u ? a.timer(u) : s.innerFrom(u(e5, n3)), _ = r2.createOperatorSubscriber(t4, function() { - _.unsubscribe(), c2(); + _.unsubscribe(), d2(); }, function() { t4.complete(); }); p.subscribe(_); - } else c2(); + } else d2(); } else t4.error(e5); - })), d2 && (i4.unsubscribe(), i4 = null, o2()); + })), c2 && (i4.unsubscribe(), i4 = null, o2()); }; o2(); }); }; }, 3416: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = i2(87870), u = n2.__importDefault(i2(73753)), d = i2(47957); - class c extends u.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = i2(87870), u = n2.__importDefault(i2(73753)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends u.default { constructor(e3, t3) { super(e3), this._loadModel(t3); } @@ -7283,21 +7823,21 @@ var require_scripting_bundle = __commonJS({ return true; } static get managedProperties() { - return [{ createDetails: l.NoteActionProperty.createCreateDetails((0, r2.sprintf)(d.securedActions.securedActionsInformationalMessage, d.generic.branches.matchExact), "info", "setSecureDataNote"), property: "actionInformationalMessage", yamlOptions: c.createYamlOptions("actionInformationalMessage", (e3) => e3.setSkipProperty(true)) }]; + return [{ createDetails: l.NoteActionProperty.createCreateDetails((0, r2.sprintf)(d.securedActions.securedActionsInformationalMessage, d.generic.branches.matchExact), "info", "setSecureDataNote"), property: "actionInformationalMessage", yamlOptions: p.createYamlOptions("actionInformationalMessage", (e3) => e3.setSkipProperty(true)) }]; } } - c.info = s.default.createActionInfo({ actionClass: c, canBeInTask: true, canBeTreeNode: false, helpTopic: a.helpTopics.actions.setSecuredData, modelClass: i2(49508), name: d.actions.setSecuredData, scriptingName: "ArchActionSetSecuredData" }), t2.A = c; + p.info = s.default.createActionInfo({ actionClass: p, canBeInTask: true, canBeTreeNode: false, helpTopic: a.helpTopics.actions.setSecuredData, modelClass: i2(49508), name: d.actions.setSecuredData, scriptingName: "ArchActionSetSecuredData", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 3465: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowTypeCategory = void 0; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(73198)), l = i2(14394), u = i2(82632), d = i2(82632), c = n2.__importStar(i2(14187)), p = n2.__importStar(i2(85020)), _ = i2(55824), h = i2(55909), m = i2(33951), g = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(73198)), l = i2(14394), u = i2(82632), c = i2(82632), d = n2.__importStar(i2(14187)), p = n2.__importStar(i2(85020)), _ = i2(55824), h = i2(55909), m = i2(33951), g = i2(47957); var f; !(function(e3) { e3.initial = "initial", e3.supporting = "supporting", e3.postInteraction = "postInteraction"; })(f || (t2.FlowTypeCategory = f = {})); class T { constructor(e3) { - this._additionalInfo = {}, this._canSaveAs = true, this._canSuppressCallRecordings = false, this._channelTypes = [], this._channelTypeVariableName = "", this._availableLanguageTags = [], this._errorHandlingTypes = [], this._fileExtension = "", this._flowInvokingEvents = [], this._flowInvokingEventsMap = {}, this._hasDestinationFlowTypes = false, this._isAvailable = false, this._isCreatable = false, this._isDeprecated = false, this._isEmbeddable = false, this._isInitialized = false, this._isReferenceableFromOtherFlows = false, this._languageChangesAreImmediate = true, this._languagesRequireTts = false, this._languagesSupportSttSetting = false, this._languagesSupportTtsAndAsrSettings = false, this._languagesSupportTtsAndAsrRuntime = false, this._languagesSupportDefaultLanguage = false, this._languagesSupportDefaultLanguageSkill = false, this._limits = u.flowLimits, this._maxFlowSize = d.flowSizeLimits.maxFlowSize, this._maxFlowSizeToStopPublish = Math.round(d.flowSizeLimits.maxFlowSize * d.flowSizeLimits.maxFlowSizeToStopPublish), this._outputModes = [], this._outputModeVariableName = "", this._outputValuesSupportVariableExpressions = false, this._previewAcceptsJsonPayload = false, this._previewPlacesCall = false, this._previewPerformsLaunch = false, this._previewsAreReplayable = false, this._supportsAddVariablesInDataView = false, this._supportsAgentEscalation = false, this._supportsAutoDeletingVariablesWithNoUsages = false, this._supportsCompanyDirectory = false, this._supportsComplexTypes = false, this._supportsContactDataType = false, this._supportsCustomJsonTypes = false, this._supportsCustomJsonTypeUserCreatedVariables = false, this._supportsConversationSummary = false, this._supportsDataViewFiltering = false, this._supportsDebugPublish = false, this._supportsDefaultSpeechSettings = false, this._supportsDisableASR = false, this._supportsDynamicTimeslots = false, this._supportsErrorAudio = false, this._supportsFlowCreationData = false, this._supportsFlowLevelQuickReplyButtonSetting = false, this._supportsFlowOptimizationData = false, this._supportsErrorHandlingQueueRouting = false, this._supportsFlowInputVariables = false, this._supportsFlowOutputVariables = false, this._supportsGrammars = false, this._supportsLanguageAddRemove = false, this._supportsDefaultLanguageChange = false, this._supportsIntentDescriptions = false, this._supportsLanguages = false, this._supportsKnowledge = false, this._supportsKnowledgePaths = false, this._supportsEndToEndKnowledgeHandling = false, this._supportsAdvancedKnowledgeHandling = false, this._supportsMultilingualKnowledge = false, this._supportsKnowledgeConfirmation = false, this._supportsKnowledgeWelcomeArticle = false, this._supportsMoreThanOneLanguage = false, this._supportsPathDiscovery = false, this._supportsReusableMenus = false, this._supportsReusableTasks = false, this._supportsSecureVariables = false, this._supportsTestPreview = false, this._supportsAudio = false, this._supportsEnableIntentClassificationHinting = false, this._supportsLogLevelConfiguration = false, this._supportsNlu = false, this._supportsNluIntents = false, this._supportsNluCortex = false, this._supportsNluCortexIntents = false, this._supportsPeriodicState = false, this._supportsSpeechRec = false, this._supportsStates = false, this._supportsMultipleStates = false, this._supportsStateInputVariables = false, this._supportsStateOutputVariables = false, this._supportsTaskInputVariables = false, this._supportsTaskOutputVariables = false, this._supportsTasksWithOutputPaths = false, this._supportsVirtualAgent = false, this._supportsVoiceProcessingPrompt = false, this._supportsAnswerGeneration = false, this._suppressCallRecordingsDefaultValue = true, this._startUpObjectCanBeMenu = false, this._startUpObjectCanBeRepeatingTask = false, this._startUpObjectCanBeTask = false, this._startUpObjectCanBeState = false, this._startUpStateMustTerminate = false, this._systemVariableModels = [], this._typeDisplayName = "", this._variableScope = c.scopes.flow, m.ParameterValidator.expectFlowType(e3, () => h.ParameterInfo.createConstructorParameter(this.className, "flowType")), this._type = e3; + this._additionalInfo = {}, this._canSaveAs = true, this._canSuppressCallRecordings = false, this._channelTypes = [], this._channelTypeVariableName = "", this._availableLanguageTags = [], this._errorHandlingTypes = [], this._fileExtension = "", this._flowInvokingEvents = [], this._flowInvokingEventsMap = {}, this._hasDestinationFlowTypes = false, this._isAvailable = false, this._isCreatable = false, this._isDeprecated = false, this._isEmbeddable = false, this._isInitialized = false, this._isReferenceableFromOtherFlows = false, this._languageChangesAreImmediate = true, this._languagesRequireTts = false, this._languagesSupportSttSetting = false, this._languagesSupportTtsAndAsrSettings = false, this._languagesSupportTtsAndAsrRuntime = false, this._languagesSupportDefaultLanguage = false, this._languagesSupportDefaultLanguageSkill = false, this._limits = u.flowLimits, this._maxFlowSize = c.flowSizeLimits.maxFlowSize, this._maxFlowSizeToStopPublish = Math.round(c.flowSizeLimits.maxFlowSize * c.flowSizeLimits.maxFlowSizeToStopPublish), this._outputModes = [], this._outputModeVariableName = "", this._outputValuesSupportVariableExpressions = false, this._previewAcceptsJsonPayload = false, this._previewPlacesCall = false, this._previewPerformsLaunch = false, this._previewsAreReplayable = false, this._supportsAddVariablesInDataView = false, this._supportsAgentEscalation = false, this._supportsAutoDeletingVariablesWithNoUsages = false, this._supportsCompanyDirectory = false, this._supportsComplexTypes = false, this._supportsContactDataType = false, this._supportsCustomJsonTypes = false, this._supportsCustomJsonTypeUserCreatedVariables = false, this._supportsConversationSummary = false, this._supportsDataViewFiltering = false, this._supportsDebugPublish = false, this._supportsDefaultSpeechSettings = false, this._supportsDisableASR = false, this._supportsDynamicTimeslots = false, this._supportsErrorAudio = false, this._supportsFlowCreationData = false, this._supportsFlowLevelQuickReplyButtonSetting = false, this._supportsFlowOptimizationData = false, this._supportsErrorHandlingQueueRouting = false, this._supportsFlowInputVariables = false, this._supportsFlowOutputVariables = false, this._supportsGrammars = false, this._supportsLanguageAddRemove = false, this._supportsDefaultLanguageChange = false, this._supportsIntentDescriptions = false, this._supportsLanguages = false, this._supportsKnowledge = false, this._supportsKnowledgePaths = false, this._supportsEndToEndKnowledgeHandling = false, this._supportsAdvancedKnowledgeHandling = false, this._supportsMultilingualKnowledge = false, this._supportsKnowledgeConfirmation = false, this._supportsKnowledgeWelcomeArticle = false, this._supportsMoreThanOneLanguage = false, this._supportsPathDiscovery = false, this._supportsReusableMenus = false, this._supportsReusableTasks = false, this._supportsSecureVariables = false, this._supportsTestPreview = false, this._supportsAudio = false, this._supportsEnableIntentClassificationHinting = false, this._supportsLogLevelConfiguration = false, this._supportsNlu = false, this._supportsNluIntents = false, this._supportsNluCortex = false, this._supportsNluCortexIntents = false, this._supportsPeriodicState = false, this._supportsSpeechRec = false, this._supportsStates = false, this._supportsMultipleStates = false, this._supportsStateInputVariables = false, this._supportsStateOutputVariables = false, this._supportsTaskInputVariables = false, this._supportsTaskOutputVariables = false, this._supportsTasksWithOutputPaths = false, this._supportsVirtualAgent = false, this._supportsVoiceProcessingPrompt = false, this._supportsAnswerGeneration = false, this._suppressCallRecordingsDefaultValue = true, this._startUpObjectCanBeMenu = false, this._startUpObjectCanBeRepeatingTask = false, this._startUpObjectCanBeTask = false, this._startUpObjectCanBeState = false, this._startUpStateMustTerminate = false, this._systemVariableModels = [], this._typeDisplayName = "", this._variableScope = d.scopes.flow, m.ParameterValidator.expectFlowType(e3, () => h.ParameterInfo.createConstructorParameter(this.className, "flowType")), this._type = e3; } get className() { return "FlowDefinition"; @@ -8294,8 +8834,8 @@ var require_scripting_bundle = __commonJS({ t2.default = a, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "id", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "name", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "latestProductionReadyVersion", null); }, 3554: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(17466), a = i2(80428), s = i2(62478), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(17466), a = i2(80428), s = i2(62478), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -8303,7 +8843,7 @@ var require_scripting_bundle = __commonJS({ return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findLanguageSkill.nameLabel, searchResultLabel: d.findActions.findLanguageSkill.resultLabel, searchResultExpressionOptions: o.ExpressionTypeLanguageSkillOptions.create(), searchResultItemType: a.expressionTypeNames.languageSkill }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findLanguageSkill, modelClass: s.FindLanguageSkillActionModel, name: d.actions.findLanguageSkill, scriptingName: "ArchActionFindLanguageSkill" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findLanguageSkill, modelClass: s.FindLanguageSkillActionModel, name: d.actions.findLanguageSkill, scriptingName: "ArchActionFindLanguageSkill", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 3596: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -8315,14 +8855,14 @@ var require_scripting_bundle = __commonJS({ t3 || (t3 = e3); const n3 = (0, r2.default)(e3, t3, o.flowTypes.flowTypeInQueueCall); n3.variables = [], n3.inQueueCallFlowSettings = new l(), n3.inQueueCallFlowSettings.holdMusic = new a.default({ config: { lit: { pos: 1, text: "on_hold_music", type: "pmt", val: "__on_hold_music__" } }, text: "on_hold_music", type: "pmt", uiMetaData: { mode: 1 } }); - const c = new u(); - if (c.name = d.loopTask, c.variables = [], !i3) { + const d = new u(); + if (d.name = c.loopTask, d.variables = [], !i3) { const e4 = new s(); - e4.name = d.actions.holdMusic, e4.playForDuration = false, e4.duration = new a.default({ config: { lit: { pos: 1, text: "P0D0H1M0S0F", type: "dur" } }, text: "P0D0H1M0S0F", type: "dur", uiMetaData: { mode: 1 } }), e4.prompt = new a.default({ config: { sysref: { pos: 1, text: "Flow.HoldPrompt", type: "pmt", val: "__FLOW_HOLD_PROMPT__" } }, text: "Flow.HoldPrompt", type: "pmt", uiMetaData: { mode: 0 } }), c.actionList = [e4], c.startAction = e4.id; + e4.name = c.actions.holdMusic, e4.playForDuration = false, e4.duration = new a.default({ config: { lit: { pos: 1, text: "P0D0H1M0S0F", type: "dur" } }, text: "P0D0H1M0S0F", type: "dur", uiMetaData: { mode: 1 } }), e4.prompt = new a.default({ config: { sysref: { pos: 1, text: "Flow.HoldPrompt", type: "pmt", val: "__FLOW_HOLD_PROMPT__" } }, text: "Flow.HoldPrompt", type: "pmt", uiMetaData: { mode: 0 } }), d.actionList = [e4], d.startAction = e4.id; } - return n3.flowSequenceItemList = [c], n3.initialSequence = c.id, n3; + return n3.flowSequenceItemList = [d], n3.initialSequence = d.id, n3; }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(64499)), o = i2(96618), a = n2.__importDefault(i2(7401)), s = i2(44103), l = i2(20236), u = i2(85148), d = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(64499)), o = i2(96618), a = n2.__importDefault(i2(7401)), s = i2(44103), l = i2(20236), u = i2(85148), c = i2(47957); }, 3709: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.CustomerSegmentList = void 0; @@ -8465,8 +9005,23 @@ var require_scripting_bundle = __commonJS({ }, 3986: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.VariableValuePairs = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(81116)), s = n2.__importStar(i2(63352)), l = n2.__importStar(i2(8462)), u = i2(44703), d = n2.__importDefault(i2(39776)), c = n2.__importDefault(i2(65302)), p = i2(7401), _ = i2(47957), h = i2(42217); - class m extends u.ExpressionContainer { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(69453), s = i2(8712), l = i2(8712), u = i2(79519), c = i2(50474), d = i2(1910), p = n2.__importStar(i2(81116)), _ = n2.__importDefault(i2(65302)), h = n2.__importStar(i2(63352)), m = n2.__importStar(i2(8462)), g = i2(80428), f = i2(44703), T = n2.__importDefault(i2(39776)), y = i2(7401), S = i2(47957), A = i2(42217); + function N(e3, t3, i3, n3) { + var o2; + const { base: s2, isCollection: l2 } = (function(e4) { + return e4.endsWith("Collection") ? { base: e4.slice(0, -10), isCollection: true } : { base: e4, isCollection: false }; + })(t3); + if ("customJson" === s2) { + const t4 = i3.type, s3 = (0, c.isNonArrayObject)(t4) ? null === (o2 = t4.architect) || void 0 === o2 ? void 0 : o2.name : void 0; + if ("string" != typeof s3 || !s3.length) return null == n3 || n3.warn(a.configureFromModel.updateDataCustomJsonRequiresArchitectName), null; + const d3 = e3.definitions.getCustomDataTypeDefinitionByName(u.CustomJsonNamespace.architect, s3); + return d3 ? _.default.getType(e3, d3.dataTypeId, l2) : (null == n3 || n3.warn((0, r2.sprintf)(a.configureFromModel.updateDataUnknownCustomJsonType, s3)), null); + } + if (!(s2 in g.expressionTypeNames)) return null == n3 || n3.warn((0, r2.sprintf)(a.configureFromModel.updateDataUnsupportedStatementWrapper, t3)), null; + const d2 = g.expressionTypeNames[s2]; + return _.default.getType(e3, d2, l2); + } + class v extends f.ExpressionContainer { constructor(e3, t3, i3, n3) { super(e3.parentFlow, e3, t3, i3, n3), this._initialize(); } @@ -8479,29 +9034,29 @@ var require_scripting_bundle = __commonJS({ }); } createItem(e3, t3, i3) { - var n3, r3, o2, u2; - (e3 = e3 || new h()).variable = e3.variable || new p(), e3.expression = e3.expression || new p(); - const _2 = i3 && i3.expression ? i3.expression.options : void 0, m2 = t3 || e3.expression.type, g = l.buildOptions(m2, void 0, this.parentFlow); - (null === (n3 = this.options) || void 0 === n3 ? void 0 : n3.variableOptionsOverrideCallback) ? g.invokeOptionsCallback(this.options.variableOptionsOverrideCallback) : g.setAsOutput(); - const f = a.expression(this.parentFlow, this.parent, e3.variable, this.getVariableLabel(this.items.length), m2, null, g), T = a.expression(this.parentFlow, this.parent, e3.expression, this.getValueLabel(this.items.length), m2, null, l.buildOptions(m2, _2, this.parentFlow)), y = new d.default(e3, f, T); - this.parentFlow.definition.outputValuesSupportVariableExpressions ? y.variable.mode !== s.variable && y.variable.mode !== s.expression && (y.variable.mode = s.variable) : y.variable.mode = s.variable; - const S = c.default.resolveType(this.parentFlow, e3.variable.type ? e3.variable.type : t3); - if (S.isCustomType && (null === (r3 = this.parentFlow.definitions.getCustomDataTypeDefinition(S.dataType)) || void 0 === r3 || r3.addReader(y)), !S || S.supportsLiteralEditor || y.expression.isBuilderMode || (y.expression.options.setAllowModeLiteral(false), y.expression.mode = s.expression), S && S.isCustomType && S.hasPropertiesAndAllAreReadOnly && false === y.expression.options.isOutput && (y.expression.options.setAllowModeLiteral(false), y.expression.mode = s.expression), !(null === (o2 = this.options) || void 0 === o2 ? void 0 : o2.variableOptionsOverrideCallback)) { - const e4 = null === (u2 = null == i3 ? void 0 : i3.variable) || void 0 === u2 ? void 0 : u2.disallowSecure; - y.variable.setAsOutput(e4); - } - return y; + var n3, r3, o2, a2; + (e3 = e3 || new A()).variable = e3.variable || new y(), e3.expression = e3.expression || new y(); + const s2 = i3 && i3.expression ? i3.expression.options : void 0, l2 = t3 || e3.expression.type, u2 = m.buildOptions(l2, void 0, this.parentFlow); + (null === (n3 = this.options) || void 0 === n3 ? void 0 : n3.variableOptionsOverrideCallback) ? u2.invokeOptionsCallback(this.options.variableOptionsOverrideCallback) : u2.setAsOutput(); + const c2 = p.expression(this.parentFlow, this.parent, e3.variable, this.getVariableLabel(this.items.length), l2, null, u2), d2 = p.expression(this.parentFlow, this.parent, e3.expression, this.getValueLabel(this.items.length), l2, null, m.buildOptions(l2, s2, this.parentFlow)), g2 = new T.default(e3, c2, d2); + this.parentFlow.definition.outputValuesSupportVariableExpressions ? g2.variable.mode !== h.variable && g2.variable.mode !== h.expression && (g2.variable.mode = h.variable) : g2.variable.mode = h.variable; + const f2 = _.default.resolveType(this.parentFlow, e3.variable.type ? e3.variable.type : t3); + if (f2.isCustomType && (null === (r3 = this.parentFlow.definitions.getCustomDataTypeDefinition(f2.dataType)) || void 0 === r3 || r3.addReader(g2)), !f2 || f2.supportsLiteralEditor || g2.expression.isBuilderMode || (g2.expression.options.setAllowModeLiteral(false), g2.expression.mode = h.expression), !(null === (o2 = this.options) || void 0 === o2 ? void 0 : o2.variableOptionsOverrideCallback)) { + const e4 = null === (a2 = null == i3 ? void 0 : i3.variable) || void 0 === a2 ? void 0 : a2.disallowSecure; + g2.variable.setAsOutput(e4); + } + return g2; } destroyChild(e3) { var t3; const i3 = this.getVariableReferencesForItem(e3); - super.destroyChild(e3), e3.expression.type.isCustomType && (null === (t3 = this.parentFlow.definitions.getCustomDataTypeDefinition(e3.expression.type.dataType)) || void 0 === t3 || t3.removeUsage(e3)), o.default.each(i3, (e4) => e4.deleteItem(true)); + super.destroyChild(e3), e3.expression.type.isCustomType && (null === (t3 = this.parentFlow.definitions.getCustomDataTypeDefinition(e3.expression.type.dataType)) || void 0 === t3 || t3.removeUsage(e3)), o.default.each(i3, (t4) => t4.deleteItem(e3.parentFlow, true)); } getValueLabel(e3) { - return (0, r2.sprintf)(_.updateVariables.variableValue, e3 + 1); + return (0, r2.sprintf)(S.updateVariables.variableValue, e3 + 1); } getVariableLabel(e3) { - return (0, r2.sprintf)(_.updateVariables.variableName, e3 + 1); + return (0, r2.sprintf)(S.updateVariables.variableName, e3 + 1); } getVariableReferencesForItem(e3) { return o.default.defaults({}, e3.variable.variables, e3.expression.variables); @@ -8520,8 +9075,50 @@ var require_scripting_bundle = __commonJS({ get className() { return "VariableValuePairs"; } + configureFromModel(e3, t3, i3) { + if (Array.isArray(e3)) { + for (; this.items.length > 0; ) this.removeChild(this.items[0], true); + for (let n3 = 0; n3 < e3.length; n3++) { + const o2 = e3[n3]; + if (!(0, c.isNonArrayObject)(o2)) { + i3.warn((0, r2.sprintf)(a.configureFromModel.updateDataStatementMustBeObject, n3)); + continue; + } + const u2 = Object.keys(o2); + if (1 !== u2.length) { + i3.warn((0, r2.sprintf)(a.configureFromModel.updateDataStatementOneTypeWrapper, n3, u2.length, u2.join(", "))); + continue; + } + const p2 = u2[0], _2 = o2[p2]; + if (!(0, c.isNonArrayObject)(_2)) { + i3.warn((0, r2.sprintf)(a.configureFromModel.updateDataStatementInnerMustBeObject, n3, p2)); + continue; + } + const h2 = _2, m2 = N(this.parentFlow, p2, h2, i3); + if (m2) try { + (0, d.withModelContext)(i3, `statements[${n3}]`, () => { + var e4, r3, o3, a2; + const u3 = new A(); + this.add(u3, m2); + const c2 = this.items[this.items.length - 1], d2 = null === (e4 = i3.currentActionContext) || void 0 === e4 ? void 0 : e4.objectId, p3 = (null === (r3 = i3.currentActionContext) || void 0 === r3 ? void 0 : r3.objectType) || "action", _3 = (null === (o3 = i3.currentActionContext) || void 0 === o3 ? void 0 : o3.objectName) || "", g2 = null === (a2 = i3.currentActionContext) || void 0 === a2 ? void 0 : a2.viewModel, f2 = (e5, t4, n4, r4) => { + var o4; + const a3 = { objectType: p3, objectName: _3, objectId: d2, viewModel: g2, changeIndex: null !== (o4 = i3.currentChangeIndex) && void 0 !== o4 ? o4 : 0, property: e5, propertyDisplayName: t4, linkPropertyName: "variables", propertyViewModel: r4 }; + i3.consumeDeferSyncPropertySetActivity() ? i3.reportActivity((0, s.buildPropertyConfiguringActivityEvent)(a3)) : i3.reportActivity((0, l.buildPropertySetActivityEvent)(Object.assign(Object.assign({}, a3), { propertyValue: n4 }))); + }, T2 = `variables[${n3}].variable`; + var y2; + i3.setDeferSyncPropertySetActivity(false), i3.currentPropertyName = T2, c2.variable.configureFromModel("string" == typeof (y2 = h2.variable) ? { var: y2 } : y2, t3, i3), f2(T2, c2.variable.label, c2.variable.text, c2.variable); + const S2 = `variables[${n3}].expression`; + i3.setDeferSyncPropertySetActivity(false), i3.currentPropertyName = S2, c2.expression.configureFromModel(h2.value, t3, i3), f2(S2, c2.expression.label, c2.expression.text, c2.expression), i3.currentPropertyName = void 0; + }); + } catch (e4) { + const t4 = e4 instanceof Error ? e4.message : String(e4); + i3.warn((0, r2.sprintf)(a.configureFromModel.updateDataStatementFailed, n3, p2, t4)); + } + } + } else i3.warn(a.configureFromModel.updateDataStatementsMustBeArray); + } } - t2.VariableValuePairs = m; + t2.VariableValuePairs = v; }, 4009: (e2, t2, i2) => { const n2 = i2(13240), r2 = i2(7401), { sendInteractiveApplicationActionActionType: o } = i2(30801); function a() { @@ -8627,8 +9224,8 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }), t2.Response = void 0; - const o = i2(31635), a = i2(80295), s = i2(80295), l = i2(84050), u = i2(23436), d = i2(72448); - class c extends l.NameIdDescriptionModel { + const o = i2(31635), a = i2(80295), s = i2(80295), l = i2(84050), u = i2(23436), c = i2(72448); + class d extends l.NameIdDescriptionModel { constructor(e3) { super(e3), (0, s.makeUnenumerable)(this, "_responseType"), (0, s.makeUnenumerable)(this, "_form"), (0, s.makeUnenumerable)(this, "_messagingTemplate"), (0, s.makeUnenumerable)(this, "_substitutionsSchema"), (0, s.makeUnenumerable)(this, "_libraries"); } @@ -8674,7 +9271,7 @@ var require_scripting_bundle = __commonJS({ e3 && e3.input && (this.substitutionsSchema = e3.input); } } - t2.Response = c, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], c.prototype, "responseType", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "form", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== d.MessagingTemplate && d.MessagingTemplate) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== d.MessagingTemplate && d.MessagingTemplate) ? r2 : Object])], c.prototype, "messagingTemplate", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Array), o.__metadata("design:paramtypes", [Array])], c.prototype, "substitutionsSchema", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Array), o.__metadata("design:paramtypes", [Array])], c.prototype, "libraries", null); + t2.Response = d, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], d.prototype, "responseType", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "form", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.MessagingTemplate && c.MessagingTemplate) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== c.MessagingTemplate && c.MessagingTemplate) ? r2 : Object])], d.prototype, "messagingTemplate", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Array), o.__metadata("design:paramtypes", [Array])], d.prototype, "substitutionsSchema", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Array), o.__metadata("design:paramtypes", [Array])], d.prototype, "libraries", null); }, 4266: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -8745,8 +9342,8 @@ var require_scripting_bundle = __commonJS({ }, 4285: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeFileOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { + const n2 = i2(31635), r2 = i2(65615), o = n2.__importDefault(i2(4648)), a = i2(10798); + class s extends r2.BaseExpressionTypeCollectionOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -8759,17 +9356,20 @@ var require_scripting_bundle = __commonJS({ get isExpressionTypeFileOptions() { return true; } + get supportsLiteralMode() { + return (0, a.isFeatureAvailable)(o.default.cannedResponseAttachmentsPostGaFeature); + } } - t2.ExpressionTypeFileOptions = r2; + t2.ExpressionTypeFileOptions = s; }, 4294: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importStar(i2(1115)), o = i2(81063), a = n2.__importDefault(i2(5478)), s = i2(81063), l = i2(21305), u = i2(80428), d = i2(81516), c = i2(12179), p = n2.__importDefault(i2(97891)), _ = i2(17604), h = i2(47957); - class m extends a.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(1115)), o = i2(81063), a = n2.__importDefault(i2(5478)), s = i2(81063), l = i2(21305), u = i2(80428), c = i2(81516), d = i2(12179), p = n2.__importDefault(i2(97891)), _ = i2(17604), h = n2.__importDefault(i2(4648)), m = i2(47957); + class g extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } static get managedProperties() { - return [{ label: h.decryptData.dataToDecryptLabel, options: d.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("dataToDecrypt").setAllowNotSet(true).setDefaultToExpression(true).setAllowSecure(true).setDescriptionInfo(h.decryptData.dataToDecryptLabel, (0, _.sprintf)(h.decryptData.dataToDecryptDescription, h.actions.encryptData, h.generic.branches.failure, o.allEncryptDecryptFailureReasons.noDataSupplied))), property: "dataToDecrypt", type: u.expressionTypeNames.string }, { label: h.decryptData.decryptedDataOutputLabel, options: l.ExpressionTypeJsonOptions.create((e3) => e3.setAsOutput().setIninTestingField("DecryptedDataOutput").setDefaultToVariable(true).setDescriptionInfo(h.decryptData.decryptedDataOutputLabel, h.decryptData.decryptedDataOutputDescription)), property: "decryptedDataOutput", yamlOptions: m.createYamlOptions("decryptedDataOutput", (e3) => e3.setPropertyName("decryptedData")), type: u.expressionTypeNames.json }]; + return [{ label: m.decryptData.dataToDecryptLabel, options: c.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("dataToDecrypt").setAllowNotSet(true).setDefaultToExpression(true).setAllowSecure(true).setDescriptionInfo(m.decryptData.dataToDecryptLabel, (0, _.sprintf)(m.decryptData.dataToDecryptDescription, m.actions.encryptData, m.generic.branches.failure, o.allEncryptDecryptFailureReasons.noDataSupplied))), property: "dataToDecrypt", type: u.expressionTypeNames.string }, { label: m.decryptData.decryptedDataOutputLabel, options: l.ExpressionTypeJsonOptions.create((e3) => e3.setAsOutput().setIninTestingField("DecryptedDataOutput").setDefaultToVariable(true).setDescriptionInfo(m.decryptData.decryptedDataOutputLabel, m.decryptData.decryptedDataOutputDescription)), property: "decryptedDataOutput", yamlOptions: g.createYamlOptions("decryptedDataOutput", (e3) => e3.setPropertyName("decryptedData")), type: u.expressionTypeNames.json }]; } _getPossibleErrors() { return s.decryptDataFailureReasons; @@ -8779,11 +9379,11 @@ var require_scripting_bundle = __commonJS({ } _initializeDesignTime() { super._initializeDesignTime(), this.decryptedDataOutput.attachValidator((e3) => { - this.dataToDecrypt.consumesSecureData && !this.decryptedDataOutput.consumesSecureData && (e3.addError(this.decryptedDataOutput, (0, _.sprintf)(h.securedActions.variableMustBeMadeSecure, h.decryptData.decryptedDataOutputLabel)), this.decryptedDataOutput.setParseError((0, _.sprintf)(h.securedActions.outputMustBeSecureIfInputIsSecure, h.decryptData.decryptedDataOutputLabel, h.decryptData.dataToDecryptLabel))); + this.dataToDecrypt.consumesSecureData && !this.decryptedDataOutput.consumesSecureData && (e3.addError(this.decryptedDataOutput, (0, _.sprintf)(m.securedActions.variableMustBeMadeSecure, m.decryptData.decryptedDataOutputLabel)), this.decryptedDataOutput.setParseError((0, _.sprintf)(m.securedActions.outputMustBeSecureIfInputIsSecure, m.decryptData.decryptedDataOutputLabel, m.decryptData.dataToDecryptLabel))); }); } } - m.info = p.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: c.helpTopics.actions.decryptData, modelClass: i2(56264), name: h.actions.decryptData, scriptingName: "ArchActionDecryptData" }), t2.A = m; + g.info = p.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: d.helpTopics.actions.decryptData, modelClass: i2(56264), name: m.actions.decryptData, scriptingName: "ArchActionDecryptData", modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = g; }, 4308: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.categorizeFunctions = function() { @@ -8803,11 +9403,11 @@ var require_scripting_bundle = __commonJS({ }, 4333: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ContainerActionProperty = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(36781)), l = i2(10798), u = i2(10798), d = i2(19384), c = n2.__importStar(i2(58380)), p = i2(88473), _ = i2(55867), h = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(36781)), l = i2(10798), u = i2(10798), c = i2(19384), d = n2.__importStar(i2(58380)), p = i2(88473), _ = i2(55867), h = i2(47957); class m extends _.BaseActionProperty { - constructor(e3, t3, i3, n3, r3, o2, s2, d2, c2, _2, h2, m2, g) { + constructor(e3, t3, i3, n3, r3, o2, s2, c2, d2, _2, h2, m2, g) { var f, T, y, S; - super(e3, t3), this.id = (0, a.uuid)(), this.referencesMenus = false, this.referencesTasks = false, this.referencesStates = false, this.isForFollowUpKnowledgeTask = false, this.isForCustomKnowledgeHandlingTask = false, this._featureConfigUnavailable = false, this._hasError = false, this.eventSinks = [], this._outOfServiceProvider = (0, p.addOutOfServiceProperties)(this), (null === (T = null === (f = this.metaData) || void 0 === f ? void 0 : f.options) || void 0 === T ? void 0 : T.featureConfigName) && (this._outOfServiceProvider.featureConfigName = this.metaData.options.featureConfigName, this._featureConfigUnavailable = (0, u.isFeatureUnavailable)(this.metaData.options.featureConfigName)), (null === (S = null === (y = this.metaData) || void 0 === y ? void 0 : y.options) || void 0 === S ? void 0 : S.antiFeatureConfigName) && (this._outOfServiceProvider.antiFeatureConfigName = this.metaData.options.antiFeatureConfigName, this._featureConfigUnavailable = (0, l.isFeatureAvailable)(this.metaData.options.antiFeatureConfigName)), this._noReferenceString = s2, this._modelIdPropName = i3, this._modelNamePropName = n3, this._itemDoesNotExistBaseString = r3, this._invalidStringText = o2, this._validReferenceCallback = g, this.referencesMenus = !!d2, this.referencesTasks = !!c2, this.referencesStates = !!_2, this.isForFollowUpKnowledgeTask = !!h2, this.isForCustomKnowledgeHandlingTask = !!m2, this.attachActionProperty(this._modelIdPropName, () => e3.model[this._modelIdPropName], (t4) => { + super(e3, t3), this.id = (0, a.uuid)(), this.referencesMenus = false, this.referencesTasks = false, this.referencesStates = false, this.isForFollowUpKnowledgeTask = false, this.isForCustomKnowledgeHandlingTask = false, this._featureConfigUnavailable = false, this._hasError = false, this.eventSinks = [], this._outOfServiceProvider = (0, p.addOutOfServiceProperties)(this), (null === (T = null === (f = this.metaData) || void 0 === f ? void 0 : f.options) || void 0 === T ? void 0 : T.featureConfigName) && (this._outOfServiceProvider.featureConfigName = this.metaData.options.featureConfigName, this._featureConfigUnavailable = (0, u.isFeatureUnavailable)(this.metaData.options.featureConfigName)), (null === (S = null === (y = this.metaData) || void 0 === y ? void 0 : y.options) || void 0 === S ? void 0 : S.antiFeatureConfigName) && (this._outOfServiceProvider.antiFeatureConfigName = this.metaData.options.antiFeatureConfigName, this._featureConfigUnavailable = (0, l.isFeatureAvailable)(this.metaData.options.antiFeatureConfigName)), this._noReferenceString = s2, this._modelIdPropName = i3, this._modelNamePropName = n3, this._itemDoesNotExistBaseString = r3, this._invalidStringText = o2, this._validReferenceCallback = g, this.referencesMenus = !!c2, this.referencesTasks = !!d2, this.referencesStates = !!_2, this.isForFollowUpKnowledgeTask = !!h2, this.isForCustomKnowledgeHandlingTask = !!m2, this.attachActionProperty(this._modelIdPropName, () => e3.model[this._modelIdPropName], (t4) => { e3.model[this._modelIdPropName] !== t4 && (e3.model[this._modelIdPropName] = t4, this.validateAction()), this.setupEventSinks(); }), this.attachActionProperty(this._modelNamePropName, () => e3.model[this._modelNamePropName], (t4) => e3.model[this._modelNamePropName] = t4), this.setupEventSinks(); } @@ -8889,17 +9489,17 @@ var require_scripting_bundle = __commonJS({ } cleanUpEventSinks() { this.eventSinks.forEach((e3) => { - c.unregisterEventSink(e3); + d.unregisterEventSink(e3); }), this.eventSinks.length = 0; } getReferenceViewModel() { - return this.action[this._modelIdPropName] ? d.flowElementRegistrationService.getItemById(this.parentFlow, this.action[this._modelIdPropName]) : null; + return this.action[this._modelIdPropName] ? c.flowElementRegistrationService.getItemById(this.parentFlow, this.action[this._modelIdPropName]) : null; } setupEventSinks() { - this.cleanUpEventSinks(), this.referenceId && (this.eventSinks.push(c.createEventSinkObject(s.actionContainerDeleted, this.action, () => { + this.cleanUpEventSinks(), this.referenceId && (this.eventSinks.push(d.createEventSinkObject(s.actionContainerDeleted, this.action, () => { this.validateAction(); - })), this.eventSinks.push(c.createEventSinkObject(s.nameChanged, this.action, (e3) => this.action[this._modelNamePropName] = e3.name)), this.eventSinks.forEach((e3) => { - c.registerEventSinkForEventEmitter(this.referenceId, e3); + })), this.eventSinks.push(d.createEventSinkObject(s.nameChanged, this.action, (e3) => this.action[this._modelNamePropName] = e3.name)), this.eventSinks.forEach((e3) => { + d.registerEventSinkForEventEmitter(this.referenceId, e3); })); } static createCreateDetails(e3) { @@ -8925,11 +9525,11 @@ var require_scripting_bundle = __commonJS({ const l2 = this._infoParm("archBaseMultiActionContainer", a2); this._checkItem(l2, !e3 || !e3.isArchBaseMultiActionContainer, "unable to add an action to the action container because the action container is not valid. valid action containers are tasks or outputs on an action when the action is not part of a menu choice"), this._checkItem(l2, e3.isMenuChoiceContainer, "unable to add an action to the action container " + e3.logStr + " because it is in a menu choice"); const u2 = e3._coreActionContainerViewModel; - let d; - if (s.default.validateActionDefId(i3, u2.parentFlow), this._checkItem(this._infoParm("newActionDefId", a2), !u2.canAddNode(i3), "action is not valid for this flow type or action container"), t3) this._checkItem(this._infoParm("previousArchAction", a2), !t3 || !t3.isArchBaseAction, "you need to specify a valid Architect Scripting action instance when adding an action"), d = t3._getCoreViewModel(); - else for (d = u2.topAction; d && d.nextAction; ) d = d.nextAction; - const c = u2.addAction(i3, d); - return r2.default.isString(n3) && n3.length && (c.name = n3), c.info.id === o.transferVoicemailActionType && c.setOpenedBefore(), c; + let c; + if (s.default.validateActionDefId(i3, u2.parentFlow), this._checkItem(this._infoParm("newActionDefId", a2), !u2.canAddNode(i3), "action is not valid for this flow type or action container"), t3) this._checkItem(this._infoParm("previousArchAction", a2), !t3 || !t3.isArchBaseAction, "you need to specify a valid Architect Scripting action instance when adding an action"), c = t3._getCoreViewModel(); + else for (c = u2.topAction; c && c.nextAction; ) c = c.nextAction; + const d = u2.addAction(i3, c); + return r2.default.isString(n3) && n3.length && (d.name = n3), d.info.id === o.transferVoicemailActionType && d.setOpenedBefore(), d; } logAdd(e3, t3) { return this.logNote(`added ${t3.logStr} to action container ${e3.logStr}`), t3; @@ -9024,8 +9624,8 @@ var require_scripting_bundle = __commonJS({ } addActionDialByExtension(e3, t3, i3, n3, a2, l2, u2) { this._checkItemIsValidLiteralString(this._infoParm("repromptTTS", "addActionDialByExtension"), n3, true), this._checkItemIsValidLiteralInt(this._infoParm("repromptCount", "addActionDialByExtension"), a2, true), this._checkItemIsValidLiteralInt(this._infoParm("interDigitTimeoutMS", "addActionDialByExtension"), l2, true); - const d = s.default.createArchWrapper(this.addActionToActionContainer(e3, u2, o.dialExtensionActionType, t3, "addActionDialByExtension")); - return i3 && d.extensionVariable.setVariable(i3), r2.default.isString(n3) && d.repromptAudio.setDefaultCaseLiteralTTS(n3), void 0 !== a2 && (this._checkItemIsValidLiteralInt(this._infoParm("repromptCount", "addActionDialByExtension"), a2), d.repromptCount.setLiteralInt(a2)), r2.default.isActualNumber(l2) && d.interDigitTimeout.setLiteralMs(l2), this.logAdd(e3, d); + const c = s.default.createArchWrapper(this.addActionToActionContainer(e3, u2, o.dialExtensionActionType, t3, "addActionDialByExtension")); + return i3 && c.extensionVariable.setVariable(i3), r2.default.isString(n3) && c.repromptAudio.setDefaultCaseLiteralTTS(n3), void 0 !== a2 && (this._checkItemIsValidLiteralInt(this._infoParm("repromptCount", "addActionDialByExtension"), a2), c.repromptCount.setLiteralInt(a2)), r2.default.isActualNumber(l2) && c.interDigitTimeout.setLiteralMs(l2), this.logAdd(e3, c); } addActionDisconnect(e3, t3, i3) { return this.addActionAndLog(e3, i3, o.disconnectActionType, t3, "addActionDisconnect"); @@ -9148,6 +9748,9 @@ var require_scripting_bundle = __commonJS({ addActionGetAssignedCustomerIntents(e3, t3, i3) { return this.addActionAndLog(e3, i3, o.getAssignedCustomerIntentsActionType, t3, "addActionGetAssignedCustomerIntents"); } + addActionGetAssignedCustomerSegments(e3, t3, i3) { + return this.addActionAndLog(e3, i3, o.getAssignedCustomerSegmentsActionType, t3, "addActionGetAssignedCustomerSegments"); + } addActionGetConversationAttribute(e3, t3, i3) { return this.addActionAndLog(e3, i3, o.getConversationAttributeActionType, t3, "addActionGetConversationAttribute"); } @@ -9268,8 +9871,8 @@ var require_scripting_bundle = __commonJS({ } addActionSendAutoReply(e3, t3, i3, n3, a2, s2, l2, u2) { this._checkItemIsValidLiteralString(this._infoParm("name", "addActionSendAutoReply"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("from", "addActionSendAutoReply"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("replyTo", "addActionSendAutoReply"), n3, true), this._checkItemIsValidLiteralString(this._infoParm("cc", "addActionSendAutoReply"), a2, true), this._checkItemIsValidLiteralString(this._infoParm("bcc", "addActionSendAutoReply"), s2, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("messageBody", "addActionSendAutoReply"), l2, true); - const d = this.addActionAndLog(e3, u2, o.sendAutoReplyActionType, t3, "addActionSendAutoReply"); - return r2.default.isString(i3) && d.from.setExpression(i3), r2.default.isString(n3) && d.replyTo.setExpression(n3), r2.default.isString(a2) && d.cc.setExpression(a2), r2.default.isString(s2) && d.bcc.setExpression(s2), l2 && d.setMessageBodyVariable(l2), d; + const c = this.addActionAndLog(e3, u2, o.sendAutoReplyActionType, t3, "addActionSendAutoReply"); + return r2.default.isString(i3) && c.from.setExpression(i3), r2.default.isString(n3) && c.replyTo.setExpression(n3), r2.default.isString(a2) && c.cc.setExpression(a2), r2.default.isString(s2) && c.bcc.setExpression(s2), l2 && c.setMessageBodyVariable(l2), c; } addActionSendDigitalContent(e3, t3, i3) { return this.logAdd(e3, s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, o.sendDigitalContentActionType, t3, "addActionSendDigitalContent"))); @@ -9420,6 +10023,15 @@ var require_scripting_bundle = __commonJS({ addActionAskSurveyQuestion(e3, t3, i3) { return this.addActionAndLog(e3, i3, o.askSurveyQuestionActionType, t3, "addActionAskSurveyQuestion"); } + addActionAgenticAnythingElse(e3, t3, i3) { + return this.addActionAndLog(e3, i3, o.agenticAnythingElseActionType, t3, "addActionAgenticAnythingElse"); + } + addActionAgenticAskForIntent(e3, t3, i3) { + return this.addActionAndLog(e3, i3, o.agenticAskForIntentActionType, t3, "addActionAgenticAskForIntent"); + } + addActionAssignCustomerSegment(e3, t3, i3) { + return this.addActionAndLog(e3, i3, o.assignCustomerSegmentActionType, t3, "addActionAssignCustomerSegment"); + } addActionCallAgenticVirtualAgent(e3, t3, i3) { return this.addActionAndLog(e3, i3, o.callAgenticVirtualAgentActionType, t3, "addActionCallAgenticVirtualAgent"); } @@ -9556,9 +10168,9 @@ var require_scripting_bundle = __commonJS({ } i2(74817).extend(n2, "ClipboardManifestItemTaskModel", true), e2.exports = n2; }, 4495: (e2, t2, i2) => { - const { builderCategoryIds: n2 } = i2(73062), r2 = i2(5532).default, { builderPartIds: o } = i2(69149), a = i2(42290).default, s = i2(16958), l = i2(76486).default, u = i2(22599).default, d = i2(4648).default, { globalTypes: c } = i2(14394); + const { builderCategoryIds: n2 } = i2(73062), r2 = i2(5532).default, { builderPartIds: o } = i2(69149), a = i2(42290).default, s = i2(16958), l = i2(76486).default, u = i2(22599).default, c = i2(4648).default, { globalTypes: d } = i2(14394); e2.exports = { create: () => { - r2.addBuilderPartDef(new a({ categoryIdentifierOrIdentifiers: n2.agentScorePair, description: s.builderParts.agentScorePair.makeAgentScorePair.description, expressionDefs: [new l({ expressionType: c.userQueue, label: s.builderParts.agentScorePair.makeAgentScorePair.expressions.user, configureOptionsCallback: (e3) => e3.setIninTestingField("user"), descriptionInfo: { description: s.builderParts.agentScorePair.makeAgentScorePair.expressions.userDescription } }), new l({ expressionType: c.integer, label: s.builderParts.agentScorePair.makeAgentScorePair.expressions.score, configureOptionsCallback: (e3) => e3.setDefaultText("50").setIninTestingField("score").facets.setMinInt(0, true).setMaxInt(100, true) })], generators: { expressionGenerator: u.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("MakeAgentScorePair").addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addTokenNotSet().addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s), MakeAgentScorePair(%1$s, %2$s), NOT_SET)") }, id: o.agentScorePair.makeAgentScorePair, name: s.builderParts.agentScorePair.makeAgentScorePair.name, resultExpressionType: c.agentScorePair, version: 1, requiredFeatureConfig: d.knownAgentRouting })); + r2.addBuilderPartDef(new a({ categoryIdentifierOrIdentifiers: n2.agentScorePair, description: s.builderParts.agentScorePair.makeAgentScorePair.description, expressionDefs: [new l({ expressionType: d.userQueue, label: s.builderParts.agentScorePair.makeAgentScorePair.expressions.user, configureOptionsCallback: (e3) => e3.setIninTestingField("user"), descriptionInfo: { description: s.builderParts.agentScorePair.makeAgentScorePair.expressions.userDescription } }), new l({ expressionType: d.integer, label: s.builderParts.agentScorePair.makeAgentScorePair.expressions.score, configureOptionsCallback: (e3) => e3.setDefaultText("50").setIninTestingField("score").facets.setMinInt(0, true).setMaxInt(100, true) })], generators: { expressionGenerator: u.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("MakeAgentScorePair").addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addTokenNotSet().addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s), MakeAgentScorePair(%1$s, %2$s), NOT_SET)") }, id: o.agentScorePair.makeAgentScorePair, name: s.builderParts.agentScorePair.makeAgentScorePair.name, resultExpressionType: d.agentScorePair, version: 1, requiredFeatureConfig: c.knownAgentRouting })); } }; }, 4612: (e2, t2, i2) => { "use strict"; @@ -9595,18 +10207,25 @@ var require_scripting_bundle = __commonJS({ Object.defineProperty(t2, "__esModule", { value: true }), t2.isValidFeatureConfigName = function(e3) { return !!i2[e3]; }, (function(e3) { - e3.amazonLexV2 = "amazonLexV2", e3.appleInvitationFeature = "appleInvitationFeature", e3.audioHookConnectorFeature = "audioHookConnectorFeature", e3.authorizedWebMessaging = "authorizedWebMessaging", e3.autoStartConversations = "autoStartConversations", e3.botFlows = "botFlows", e3.botFlowsAdvancedKnowledgeHandling = "botFlowsAdvancedKnowledgeHandling", e3.botFlowsAgentEscalationEnhancementsPhase1Feature = "botFlowsAgentEscalationEnhancementsPhase1Feature", e3.botFlowsAgenticVirtualAgent = "botFlowsAgenticVirtualAgent", e3.botFlowsAgenticVirtualAgentContextWindowPruning = "botFlowsAgenticVirtualAgentContextWindowPruning", e3.botFlowsVirtualAgentGuideBillingDowngrade = "botFlowsVirtualAgentGuideBillingDowngrade", e3.botFlowsAgenticVirtualAgentDebugging = "botFlowsAgenticVirtualAgentDebugging", e3.botFlowsAgenticVirtualAgentSage = "botFlowsAgenticVirtualAgentSage", e3.botFlowsAgenticVirtualAgentEndOfSpeechTimeout = "botFlowsAgenticVirtualAgentEndOfSpeechTimeout", e3.botFlowsAgenticVirtualAgentOutputValues = "botFlowsAgenticVirtualAgentOutputValues", e3.botFlowsAIPoweredSlotsEnhancements = "botFlowsAIPoweredSlotsEnhancements", e3.botFlowsAlignTransferActions = "botFlowsAlignTransferActions", e3.botFlowsAnalyticsDashboardFeature = "botFlowsAnalyticsDashboardFeature", e3.botFlowsAnswerGeneration = "botFlowsAnswerGeneration", e3.botFlowsAnswerGenerationMultipleArticles = "botFlowsAnswerGenerationMultipleArticles", e3.botFlowsAnswerHighlight = "botFlowsAnswerHighlight", e3.botFlowsAppleListPicker = "botFlowsAppleListPicker", e3.botFlowsApplePay = "botFlowsApplePay", e3.botFlowsAppleForms = "botFlowsAppleForms", e3.botFlowsAppleFormsPhase2 = "botFlowsAppleFormsPhase2", e3.botFlowsAttachmentsFeature = "botFlowsAttachmentsFeature", e3.botFlowsAuthentication = "botFlowsAuthentication", e3.botFlowsAutomaticQuickRepliesFeature = "botFlowsAutomaticQuickRepliesFeature", e3.botFlowsBargeInActionLevel = "botFlowsBargeInActionLevel", e3.botFlowsBotsCallingBots = "botFlowsBotsCallingBots", e3.botFlowsCustomerSegmentsFeature = "botFlowsCustomerSegmentsFeature", e3.botFlowsDatePicker = "botFlowsDatePicker", e3.botFlowsDigitalBotFlows = "botFlowsDigitalBotFlows", e3.botFlowsDigitalBotFlowsBotSummarization = "botFlowsDigitalBotFlowsBotSummarization", e3.botFlowsDigitalBotFlowsKnowledgePathFeature = "botFlowsDigitalBotFlowsKnowledgePathFeature", e3.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature = "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature", e3.botFlowsDigitalBotFlowsJSONFeature = "botFlowsDigitalBotFlowsJSONFeature", e3.botFlowsDigitalBotFlowsMultiLingualFeature = "botFlowsDigitalBotFlowsMultiLingualFeature", e3.botFlowsDigitalBotFlowsNoInputsTimeoutFeature = "botFlowsDigitalBotFlowsNoInputsTimeoutFeature", e3.botFlowsDigitalBotFlowsPhase2 = "botFlowsDigitalBotFlowsPhase2", e3.botFlowsDigitalBotFlowsReprompts = "botFlowsDigitalBotFlowsReprompts", e3.botFlowsDxBotSupportFeature = "botFlowsDxBotSupportFeature", e3.botFlowsDynamicSlotTypeFeature = "botFlowsDynamicSlotTypeFeature", e3.botFlowsDynamicSlotTypePhase2Feature = "botFlowsDynamicSlotTypePhase2Feature", e3.botFlowsEnhancedRecognitionFailureHandling = "botFlowsEnhancedRecognitionFailureHandling", e3.botFlowsExternalEntitySupportFeature = "botFlowsExternalEntitySupportFeature", e3.botFlowEscalationRecognitionHandlingV2 = "botFlowEscalationRecognitionHandlingV2", e3.botFlowsFindKnowledgeBaseDocumentById = "botFlowsFindKnowledgeBaseDocumentById", e3.botFlowsGetResponseActionFeature = "botFlowsGetResponseActionFeature", e3.botFlowsGlobalBargeFeature = "botFlowsGlobalBargeFeature", e3.botFlowsGroupSupportFeature = "botFlowsGroupSupportFeature", e3.botFlowsGenesysR2D2 = "botFlowsGenesysR2D2", e3.botFlowsIntentClassificationHintingAsr = "botFlowsIntentClassificationHintingAsr", e3.botFlowsIntentDescriptions = "botFlowsIntentDescriptions", e3.botFlowsIntentHealthMutedFeature = "botFlowsIntentHealthMutedFeature", e3.botFlowsIntentHealthUIFeature = "botFlowsIntentHealthUIFeature", e3.botFlowsInterDigitTimeout = "botFlowsInterDigitTimeout", e3.botFlowsKnowledge = "botFlowsKnowledge", e3.botFlowsKnowledgeContentSearch = "botFlowsKnowledgeContentSearch", e3.botFlowsKnowledgeFeedback = "botFlowsKnowledgeFeedback", e3.botFlowsLanguageContextPhase1Feature = "botFlowsLanguageContextPhase1Feature", e3.botFlowsLastNLUCollectionConfidence = "botFlowsLastNLUCollectionConfidence", e3.botFlowsLLMPoweredSlot = "botFlowsLLMPoweredSlot", e3.botFlowsMessagingDatePicker = "botFlowsMessagingDatePicker", e3.botFlowsMsIntegration = "botFlowsMsIntegration", e3.botFlowsNluGlobalSlots = "botFlowsNluGlobalSlots", e3.botFlowsPciPhase1Feature = "botFlowsPciPhase1Feature", e3.botFlowsPhase2 = "botFlowsPhase2", e3.botFlowsProgrammaticTerminatingCharacters = "botFlowsProgrammaticTerminatingCharacters", e3.botFlowsPromptFeature = "botFlowsPromptFeature", e3.botFlowsQueueSupportFeature = "botFlowsQueueSupportFeature", e3.botFlowsRegexTestFeature = "botFlowsRegexTestFeature", e3.botFlowsScheduleSupportFeature = "botFlowsScheduleSupportFeature", e3.botFlowsSupportDontKnowAnswers = "botFlowsSupportDontKnowAnswers", e3.botFlowsThirdPartySttFeature = "botFlowsThirdPartySttFeature", e3.botFlowsTranscribeCustomDictionary = "botFlowsTranscribeCustomDictionary", e3.botFlowsUiSessionViewer = "botFlowsUiSessionViewer", e3.botFlowsVirtualAgentCustomSummaries = "botFlowsVirtualAgentCustomSummaries", e3.botFlowsVirtualAgentGuide = "botFlowsVirtualAgentGuide", e3.botFlowsVirtualAgentKnowledgeV3 = "botFlowsVirtualAgentKnowledgeV3", e3.botFlowsVirtualAgentKPI = "botFlowsVirtualAgentKPI", e3.botFlowsVirtualAgentOffering = "botFlowsVirtualAgentOffering", e3.botFlowsVirtualAgentSummarization = "botFlowsVirtualAgentSummarization", e3.botFlowsVirtualAgentVoicePrompt = "botFlowsVirtualAgentVoicePrompt", e3.botFlowsVoiceProcessingPrompt = "botFlowsVoiceProcessingPrompt", e3.botFlowsVoiceSnippets = "botFlowsVoiceSnippets", e3.botFlowsWebMessagingForm = "botFlowsWebMessagingForm", e3.botInstanceExecutionData = "botInstanceExecutionData", e3.byoBotConnectorDigitalV2 = "byoBotConnectorDigitalV2", e3.callDataActionFailureResponsesFeature = "callDataActionFailureResponsesFeature", e3.callFlowJourneySupportPhase1 = "callFlowJourneySupportPhase1", e3.cannedResponseAttachmentsFeature = "cannedResponseAttachmentsFeature", e3.cannedResponseAttachmentsPostGaFeature = "cannedResponseAttachmentsPostGaFeature", e3.chatDeprecationAnnouncement = "chatDeprecationAnnouncement", e3.codeMirror5DeprecationPhase1 = "codeMirror5DeprecationPhase1", e3.collectInput40Digits = "collectInput40Digits", e3.conversationUtilizationLabels = "conversationUtilizationLabels", e3.createFlowMilestones = "createFlowMilestones", e3.createFlowOutcomes = "createFlowOutcomes", e3.copilotLauncher = "copilotLauncher", e3.customConversationAttributes = "customConversationAttributes", e3.customJSONV2 = "customJSONV2", e3.customJSONUserDefinedTypes = "customJSONUserDefinedTypes", e3.customerIntentsPhase1Cicero = "customerIntentsPhase1Cicero", e3.customerIntentsPhase2AutomateAndVXML = "customerIntentsPhase2AutomateAndVXML", e3.dataActionInstanceExecutionData = "dataActionInstanceExecutionData", e3.dialogEngineKnowledge = "dialogEngineKnowledge", e3.digitalBotFlowsAppleMessaging = "digitalBotFlowsAppleMessaging", e3.divisionedDataTables = "divisionedDataTables", e3.divisionedExternalContacts = "divisionedExternalContacts", e3.divisionedFlowOutcomes = "divisionedFlowOutcomes", e3.divisionedRoutingObjects = "divisionedRoutingObjects", e3.divisionedScriptsV2 = "divisionedScriptsV2", e3.divisionedSurveyForms = "divisionedSurveyForms", e3.divisionedWrapupCodes = "divisionedWrapupCodes", e3.dynamicQueueById = "dynamicQueueById", e3.dynamicSchedulesScheduleGroupsEmergencyGroups = "dynamicSchedulesScheduleGroupsEmergencyGroups", e3.emailBotsFeature = "emailBotsFeature", e3.emailHeadersFeature = "emailHeadersFeature", e3.emailRouteFeature = "emailRouteFeature", e3.emailSendFlows = "emailSendFlows", e3.encryptDecryptDataFeature = "encryptDecryptDataFeature", e3.externalContactIdentityResolutionPhase1 = "externalContactIdentityResolutionPhase1", e3.externalContactUpdatesPhase1 = "externalContactUpdatesPhase1", e3.externalContactUpdateAction = "externalContactUpdateAction", e3.flexibleTtsSelection = "flexibleTtsSelection", e3.flowInstanceExecutionDataAdvancedQuery = "flowInstanceExecutionDataAdvancedQuery", e3.flowInstanceExecutionPlaybackPhase2 = "flowInstanceExecutionPlaybackPhase2", e3.flowCreationExamples = "flowCreationExamples", e3.flowExecutionDataPhase1 = "flowExecutionDataPhase1", e3.flowInstanceExecutionData = "flowInstanceExecutionData", e3.flowInstanceExecutionDataBotFlows = "flowInstanceExecutionDataBotFlows", e3.flowInstanceLogLevelConfiguration = "flowInstanceLogLevelConfiguration", e3.flowInstanceLogLevels = "flowInstanceLogLevels", e3.flowExportYaml = "flowExportYaml", e3.flowInstanceExecutionPlayback = "flowInstanceExecutionPlayback", e3.flowOptimizationFrequencyFeature = "flowOptimizationFrequencyFeature", e3.flowOptimizationFrequencyAllFlowTypesFeature = "flowOptimizationFrequencyAllFlowTypesFeature", e3.flowStubbing = "flowStubbing", e3.flowV2_Transport = "flowV2_Transport", e3.genesysOemTts = "genesysOemTts", e3.googleDialogflow = "googleDialogflow", e3.googleDialogflowCXResellV2Feature = "googleDialogflowCXResellV2Feature", e3.googleDialogflowEnvironments = "googleDialogflowEnvironments", e3.googleDialogflowEsResellV2Feature = "googleDialogflowEsResellV2Feature", e3.googleDialogflowInputsOutputs = "googleDialogflowInputsOutputs", e3.inboundCallFlows = "inboundCallFlows", e3.inboundCallHeadersByoc = "inboundCallHeadersByoc", e3.inboundChatFlows = "inboundChatFlows", e3.inboundEmailFlows = "inboundEmailFlows", e3.inboundShortMessageFlows = "inboundShortMessageFlows", e3.inboundShortMessageFlows_Journey = "inboundShortMessageFlows_Journey", e3.inqueueCallFlows = "inqueueCallFlows", e3.journeyMobileAppData = "journeyMobileAppData", e3.journeyOutcomeById = "journeyOutcomeById", e3.journeyOutcomeScoresBySessionId = "journeyOutcomeScoresBySessionId", e3.journeySessionDivisionIds = "journeySessionDivisionIds", e3.journeySegmentById = "journeySegmentById", e3.journeySessionsByCustomerId = "journeySessionsByCustomerId", e3.journeySessionsByExternalContactId = "journeySessionsByExternalContactId", e3.knownAgentRouting = "knownAgentRouting", e3.lastCollectionModeVariable = "lastCollectionModeVariable", e3.messageAddressInfoEmail = "messageAddressInfoEmail", e3.orgAvailabilityCustomerSecuredConversationData = "orgAvailabilityCustomerSecuredConversationData", e3.orgAvailabilityGrammars = "orgAvailabilityGrammars", e3.orgAvailabilityGroups = "orgAvailabilityGroups", e3.orgAvailabilityJourneyOutcomeScores = "orgAvailabilityJourneyOutcomeScores", e3.orgAvailabilityJourneyOutcomes = "orgAvailabilityJourneyOutcomes", e3.orgAvailabilityJourneySegments = "orgAvailabilityJourneySegments", e3.orgAvailabilityJourneySessions = "orgAvailabilityJourneySessions", e3.orgAvailabilityKnowledgeV2 = "orgAvailabilityKnowledgeV2", e3.orgAvailabilityMediaAudio = "orgAvailabilityMediaAudio", e3.orgAvailabilityOutboundContactLists = "orgAvailabilityOutboundContactLists", e3.orgAvailabilityPredictiveEngagement = "orgAvailabilityPredictiveEngagement", e3.orgAvailabilityQueues = "orgAvailabilityQueues", e3.orgAvailabilityResponseAssets = "orgAvailabilityResponseAssets", e3.orgAvailabilityRoutingEmergencyGroups = "orgAvailabilityRoutingEmergencyGroups", e3.orgAvailabilityRoutingScheduleGroups = "orgAvailabilityRoutingScheduleGroups", e3.orgAvailabilityRoutingSchedules = "orgAvailabilityRoutingSchedules", e3.orgAvailabilityRoutingSkills = "orgAvailabilityRoutingSkills", e3.orgAvailabilityRoutingWrapupCodes = "orgAvailabilityRoutingWrapupCodes", e3.orgAvailabilitySttEnginesGrammarBased = "orgAvailabilitySttEnginesGrammarBased", e3.orgAvailabilityUsers = "orgAvailabilityUsers", e3.outboundCallFlows = "outboundCallFlows", e3.outboundEmailCampaigns = "outboundEmailCampaigns", e3.nluLanguageStatus = "nluLanguageStatus", e3.pathDiscoveryCallFlowsFeature = "pathDiscoveryCallFlowsFeature", e3.pathDiscoveryFeature = "pathDiscoveryFeature", e3.pathDiscoveryV3Feature = "pathDiscoveryV3Feature", e3.postCallActionFeature = "postCallActionFeature", e3.postFlowDigitalFeature = "postFlowDigitalFeature", e3.previewDigitalBotFlowTestWidgetFeature = "previewDigitalBotFlowTestWidgetFeature", e3.previewInboundCallFlowFeature = "previewInboundCallFlowFeature", e3.previewVoicemailFlowFeature = "previewVoicemailFlowFeature", e3.previewVoiceSurveyFlowFeature = "previewVoiceSurveyFlowFeature", e3.previewWorkflowFlowFeature = "previewWorkflowFlowFeature", e3.previewWorkitemFlowFeature = "previewWorkitemFlowFeature", e3.promptUploadV2 = "promptUploadV2", e3.publicInboundMessageFlagFeature = "publicInboundMessageFlagFeature", e3.pureCloud1PlusFeature = "pureCloud1PlusFeature", e3.pureCloud2PlusFeature = "pureCloud2PlusFeature", e3.queueEstimatedWaitTime = "queueEstimatedWaitTime", e3.replayPreviewFeature = "replayPreviewFeature", e3.routingSkillExpressionsFeature = "routingSkillExpressionsFeature", e3.ruleBasedDecisionsFeature = "ruleBasedDecisionsFeature", e3.ruleBasedDecisionsDigitalFeature = "ruleBasedDecisionsDigitalFeature", e3.secureCallFlows = "secureCallFlows", e3.sendNotificationAction = "sendNotificationAction", e3.sendNotificationChatGroupFeature = "sendNotificationChatGroupFeature", e3.setPrioritySkillsFeature = "setPrioritySkillsFeature", e3.spark4FlareFeature = "spark4FlareFeature", e3.spark4FlareLegacyToggle = "spark4FlareLegacyToggle", e3.suppressCallRecordingsFeature = "suppressCallRecordingsFeature", e3.suppressCallRecordingsSecureCallFeature = "suppressCallRecordingsSecureCallFeature", e3.surveyInviteFlows = "surveyInviteFlows", e3.transferToQueueErrorHandlingAutomate = "transferToQueueErrorHandlingAutomate", e3.vipExperience = "vipExperience", e3.voiceFlows = "voiceFlows", e3.voiceFlowsPhase2 = "voiceFlowsPhase2", e3.voicemailFlows = "voicemailFlows", e3.voiceSurveyFlows = "voiceSurveyFlows", e3.voiceSurveyFlowsPhase2 = "voiceSurveyFlowsPhase2", e3.voicemailRecordingMaxTime = "voicemailRecordingMaxTime", e3.voiceSnippets = "voiceSnippets", e3.whatsAppCarouselFeature = "whatsAppCarouselFeature", e3.whatsAppListPickerFeature = "whatsAppListPickerFeature", e3.workflowFlows = "workflowFlows", e3.workflowWaitActionUpdatesPhase1 = "workflowWaitActionUpdatesPhase1", e3.workItemFlows = "workItemFlows", e3.workitemDateAutomationFeature = "workitemDateAutomationFeature", e3.uiInternationalizationOfDatesAndTimes = "uiInternationalizationOfDatesAndTimes", e3.uiPagedPropertyLists = "uiPagedPropertyLists", e3.yamlTrackingIdFeature = "yamlTrackingIdFeature"; + e3.amazonLexV2 = "amazonLexV2", e3.appleInvitationFeature = "appleInvitationFeature", e3.audioHookConnectorFeature = "audioHookConnectorFeature", e3.audioSsmlSupportFeature = "audioSsmlSupportFeature", e3.authorizedWebMessaging = "authorizedWebMessaging", e3.autoStartConversations = "autoStartConversations", e3.botFlows = "botFlows", e3.botFlowsAdvancedKnowledgeHandling = "botFlowsAdvancedKnowledgeHandling", e3.botFlowsAgentEscalationEnhancementsPhase1Feature = "botFlowsAgentEscalationEnhancementsPhase1Feature", e3.botFlowsAgenticVirtualAgent = "botFlowsAgenticVirtualAgent", e3.botFlowsAgenticVirtualAgentContextWindowPruning = "botFlowsAgenticVirtualAgentContextWindowPruning", e3.botFlowsVirtualAgentGuideBillingDowngrade = "botFlowsVirtualAgentGuideBillingDowngrade", e3.botFlowsAgenticVirtualAgentDebugging = "botFlowsAgenticVirtualAgentDebugging", e3.botFlowsAgenticVirtualAgentEndOfSpeechTimeout = "botFlowsAgenticVirtualAgentEndOfSpeechTimeout", e3.botFlowsAgenticVirtualAgentLinkOpaqueIDFromOptionalInput = "botFlowsAgenticVirtualAgentLinkOpaqueIDFromOptionalInput", e3.botFlowsAgenticVirtualAgentOutputValues = "botFlowsAgenticVirtualAgentOutputValues", e3.botFlowsAgenticVirtualAgentPublicAPI = "botFlowsAgenticVirtualAgentPublicAPI", e3.botFlowsAgenticVirtualAgentSage = "botFlowsAgenticVirtualAgentSage", e3.botFlowsAIPoweredSlotsEnhancements = "botFlowsAIPoweredSlotsEnhancements", e3.botFlowsAlignTransferActions = "botFlowsAlignTransferActions", e3.botFlowsAnalyticsDashboardFeature = "botFlowsAnalyticsDashboardFeature", e3.botFlowsAnswerGeneration = "botFlowsAnswerGeneration", e3.botFlowsAnswerGenerationMultipleArticles = "botFlowsAnswerGenerationMultipleArticles", e3.botFlowsAnswerHighlight = "botFlowsAnswerHighlight", e3.botFlowsAppleListPicker = "botFlowsAppleListPicker", e3.botFlowsApplePay = "botFlowsApplePay", e3.botFlowsAppleForms = "botFlowsAppleForms", e3.botFlowsAppleFormsPhase2 = "botFlowsAppleFormsPhase2", e3.botFlowsAttachmentsFeature = "botFlowsAttachmentsFeature", e3.botFlowsAuthentication = "botFlowsAuthentication", e3.botFlowsAutomaticQuickRepliesFeature = "botFlowsAutomaticQuickRepliesFeature", e3.botFlowsBargeInActionLevel = "botFlowsBargeInActionLevel", e3.botFlowsBotsCallingBots = "botFlowsBotsCallingBots", e3.botFlowsCustomConversationAttributes = "botFlowsCustomConversationAttributes", e3.botFlowsCustomerSegmentsFeature = "botFlowsCustomerSegmentsFeature", e3.botFlowsDatePicker = "botFlowsDatePicker", e3.botFlowsDigitalBotFlows = "botFlowsDigitalBotFlows", e3.botFlowsDigitalBotFlowsBotSummarization = "botFlowsDigitalBotFlowsBotSummarization", e3.botFlowsDigitalBotFlowsKnowledgePathFeature = "botFlowsDigitalBotFlowsKnowledgePathFeature", e3.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature = "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature", e3.botFlowsDigitalBotFlowsJSONFeature = "botFlowsDigitalBotFlowsJSONFeature", e3.botFlowsDigitalBotFlowsMultiLingualFeature = "botFlowsDigitalBotFlowsMultiLingualFeature", e3.botFlowsDigitalBotFlowsNoInputsTimeoutFeature = "botFlowsDigitalBotFlowsNoInputsTimeoutFeature", e3.botFlowsDigitalBotFlowsPhase2 = "botFlowsDigitalBotFlowsPhase2", e3.botFlowsDigitalBotFlowsReprompts = "botFlowsDigitalBotFlowsReprompts", e3.botFlowsDxBotSupportFeature = "botFlowsDxBotSupportFeature", e3.botFlowsDynamicSlotTypeFeature = "botFlowsDynamicSlotTypeFeature", e3.botFlowsDynamicSlotTypePhase2Feature = "botFlowsDynamicSlotTypePhase2Feature", e3.botFlowsEnhancedRecognitionFailureHandling = "botFlowsEnhancedRecognitionFailureHandling", e3.botFlowsExternalEntitySupportFeature = "botFlowsExternalEntitySupportFeature", e3.botFlowEscalationRecognitionHandlingV2 = "botFlowEscalationRecognitionHandlingV2", e3.botFlowsFindKnowledgeBaseDocumentById = "botFlowsFindKnowledgeBaseDocumentById", e3.botFlowsGetResponseActionFeature = "botFlowsGetResponseActionFeature", e3.botFlowsGlobalBargeFeature = "botFlowsGlobalBargeFeature", e3.botFlowsGroupSupportFeature = "botFlowsGroupSupportFeature", e3.botFlowsGenesysR2D2 = "botFlowsGenesysR2D2", e3.botFlowsIntentClassificationHintingAsr = "botFlowsIntentClassificationHintingAsr", e3.botFlowsIntentDescriptions = "botFlowsIntentDescriptions", e3.botFlowsIntentHealthMutedFeature = "botFlowsIntentHealthMutedFeature", e3.botFlowsIntentHealthUIFeature = "botFlowsIntentHealthUIFeature", e3.botFlowsInterDigitTimeout = "botFlowsInterDigitTimeout", e3.botFlowsKnowledge = "botFlowsKnowledge", e3.botFlowsKnowledgeContentSearch = "botFlowsKnowledgeContentSearch", e3.botFlowsKnowledgeFeedback = "botFlowsKnowledgeFeedback", e3.botFlowsLanguageContextPhase1Feature = "botFlowsLanguageContextPhase1Feature", e3.botFlowsLastNLUCollectionConfidence = "botFlowsLastNLUCollectionConfidence", e3.botFlowsLLMPoweredFrontDoor = "botFlowsLLMPoweredFrontDoor", e3.botFlowsLLMPoweredSlot = "botFlowsLLMPoweredSlot", e3.botFlowsMessagingDatePicker = "botFlowsMessagingDatePicker", e3.botFlowsMsIntegration = "botFlowsMsIntegration", e3.botFlowsNluGlobalSlots = "botFlowsNluGlobalSlots", e3.botFlowsPciPhase1Feature = "botFlowsPciPhase1Feature", e3.botFlowsPhase2 = "botFlowsPhase2", e3.botFlowsProgrammaticTerminatingCharacters = "botFlowsProgrammaticTerminatingCharacters", e3.botFlowsPromptFeature = "botFlowsPromptFeature", e3.botFlowsQueueSupportFeature = "botFlowsQueueSupportFeature", e3.botFlowsRegexTestFeature = "botFlowsRegexTestFeature", e3.botFlowsScheduleSupportFeature = "botFlowsScheduleSupportFeature", e3.botFlowsSTTTuning = "botFlowsSTTTuning", e3.botFlowsSupportDontKnowAnswers = "botFlowsSupportDontKnowAnswers", e3.botFlowsThirdPartySttFeature = "botFlowsThirdPartySttFeature", e3.botFlowsTranscribeCustomDictionary = "botFlowsTranscribeCustomDictionary", e3.botFlowsUiSessionViewer = "botFlowsUiSessionViewer", e3.botFlowsVirtualAgentCustomSummaries = "botFlowsVirtualAgentCustomSummaries", e3.botFlowsVirtualAgentGuide = "botFlowsVirtualAgentGuide", e3.botFlowsVirtualAgentKnowledgeV3 = "botFlowsVirtualAgentKnowledgeV3", e3.botFlowsVirtualAgentKPI = "botFlowsVirtualAgentKPI", e3.botFlowsVirtualAgentOffering = "botFlowsVirtualAgentOffering", e3.botFlowsVirtualAgentSummarization = "botFlowsVirtualAgentSummarization", e3.botFlowsVirtualAgentVoicePrompt = "botFlowsVirtualAgentVoicePrompt", e3.botFlowsVoiceProcessingPrompt = "botFlowsVoiceProcessingPrompt", e3.botFlowsVoiceSnippets = "botFlowsVoiceSnippets", e3.botFlowsWebMessagingForm = "botFlowsWebMessagingForm", e3.botInstanceExecutionData = "botInstanceExecutionData", e3.byoBotConnectorDigitalV2 = "byoBotConnectorDigitalV2", e3.callDataActionFailureResponsesFeature = "callDataActionFailureResponsesFeature", e3.callFlowJourneySupportPhase1 = "callFlowJourneySupportPhase1", e3.cannedResponseAttachmentsFeature = "cannedResponseAttachmentsFeature", e3.cannedResponseAttachmentsPostGaFeature = "cannedResponseAttachmentsPostGaFeature", e3.changeSetsFeaturePhase1 = "changeSetsFeaturePhase1", e3.changeSetsFeaturePhase2 = "changeSetsFeaturePhase2", e3.chatDeprecationAnnouncement = "chatDeprecationAnnouncement", e3.codeMirror5DeprecationPhase1 = "codeMirror5DeprecationPhase1", e3.collectInput40Digits = "collectInput40Digits", e3.conversationUtilizationLabels = "conversationUtilizationLabels", e3.createFlowMilestones = "createFlowMilestones", e3.createFlowOutcomes = "createFlowOutcomes", e3.copilotLauncher = "copilotLauncher", e3.customConversationAttributes = "customConversationAttributes", e3.customJSONV2 = "customJSONV2", e3.customJSONUserDefinedTypes = "customJSONUserDefinedTypes", e3.customerIntentsPhase1Cicero = "customerIntentsPhase1Cicero", e3.customerIntentsPhase2AutomateAndVXML = "customerIntentsPhase2AutomateAndVXML", e3.dataActionInstanceExecutionData = "dataActionInstanceExecutionData", e3.dialogEngineKnowledge = "dialogEngineKnowledge", e3.digitalBotFlowsAppleMessaging = "digitalBotFlowsAppleMessaging", e3.divisionedCannedResponses = "divisionedCannedResponses", e3.divisionedDataTables = "divisionedDataTables", e3.divisionedExternalContacts = "divisionedExternalContacts", e3.divisionedFlowOutcomes = "divisionedFlowOutcomes", e3.divisionedRoutingObjects = "divisionedRoutingObjects", e3.divisionedScriptsV2 = "divisionedScriptsV2", e3.divisionedSurveyForms = "divisionedSurveyForms", e3.divisionedWrapupCodes = "divisionedWrapupCodes", e3.dynamicQueueById = "dynamicQueueById", e3.dynamicSchedulesScheduleGroupsEmergencyGroups = "dynamicSchedulesScheduleGroupsEmergencyGroups", e3.emailBotsFeature = "emailBotsFeature", e3.emailHeadersFeature = "emailHeadersFeature", e3.emailRouteFeature = "emailRouteFeature", e3.emailSendFlows = "emailSendFlows", e3.encryptDecryptDataFeature = "encryptDecryptDataFeature", e3.externalContactIdentityResolutionPhase1 = "externalContactIdentityResolutionPhase1", e3.externalContactUpdatesPhase1 = "externalContactUpdatesPhase1", e3.externalContactUpdateAction = "externalContactUpdateAction", e3.flexibleTtsSelection = "flexibleTtsSelection", e3.flowInstanceExecutionDataAdvancedQuery = "flowInstanceExecutionDataAdvancedQuery", e3.flowInstanceExecutionPlaybackPhase2 = "flowInstanceExecutionPlaybackPhase2", e3.flowCreationExamples = "flowCreationExamples", e3.flowExecutionDataPhase1 = "flowExecutionDataPhase1", e3.flowInstanceExecutionData = "flowInstanceExecutionData", e3.flowInstanceExecutionDataBotFlows = "flowInstanceExecutionDataBotFlows", e3.flowInstanceLogLevelConfiguration = "flowInstanceLogLevelConfiguration", e3.flowInstanceLogLevels = "flowInstanceLogLevels", e3.flowExportYaml = "flowExportYaml", e3.flowInstanceExecutionPlayback = "flowInstanceExecutionPlayback", e3.flowOptimizationFrequencyFeature = "flowOptimizationFrequencyFeature", e3.flowOptimizationFrequencyAllFlowTypesFeature = "flowOptimizationFrequencyAllFlowTypesFeature", e3.flowOutcomesAndMilestonesAISuggestions = "flowOutcomesAndMilestonesAISuggestions", e3.flowStubbing = "flowStubbing", e3.flowV2_Transport = "flowV2_Transport", e3.genesysOemTts = "genesysOemTts", e3.googleDialogflow = "googleDialogflow", e3.googleDialogflowCXResellV2Feature = "googleDialogflowCXResellV2Feature", e3.googleDialogflowEnvironments = "googleDialogflowEnvironments", e3.googleDialogflowEsResellV2Feature = "googleDialogflowEsResellV2Feature", e3.googleDialogflowInputsOutputs = "googleDialogflowInputsOutputs", e3.highFidelityPromptFeature = "highFidelityPromptFeature", e3.inboundCallFlows = "inboundCallFlows", e3.inboundCallHeadersByoc = "inboundCallHeadersByoc", e3.inboundChatFlows = "inboundChatFlows", e3.inboundEmailFlows = "inboundEmailFlows", e3.inboundShortMessageFlows = "inboundShortMessageFlows", e3.inboundShortMessageFlows_Journey = "inboundShortMessageFlows_Journey", e3.inqueueCallFlows = "inqueueCallFlows", e3.journeyMobileAppData = "journeyMobileAppData", e3.journeyOutcomeById = "journeyOutcomeById", e3.journeyOutcomeScoresBySessionId = "journeyOutcomeScoresBySessionId", e3.journeySessionDivisionIds = "journeySessionDivisionIds", e3.journeySegmentById = "journeySegmentById", e3.journeySessionsByCustomerId = "journeySessionsByCustomerId", e3.journeySessionsByExternalContactId = "journeySessionsByExternalContactId", e3.knownAgentRouting = "knownAgentRouting", e3.lastCollectionModeVariable = "lastCollectionModeVariable", e3.messageAddressInfoEmail = "messageAddressInfoEmail", e3.orgAvailabilityCustomerSecuredConversationData = "orgAvailabilityCustomerSecuredConversationData", e3.orgAvailabilityGrammars = "orgAvailabilityGrammars", e3.orgAvailabilityGroups = "orgAvailabilityGroups", e3.orgAvailabilityJourneyOutcomeScores = "orgAvailabilityJourneyOutcomeScores", e3.orgAvailabilityJourneyOutcomes = "orgAvailabilityJourneyOutcomes", e3.orgAvailabilityJourneySegments = "orgAvailabilityJourneySegments", e3.orgAvailabilityJourneySessions = "orgAvailabilityJourneySessions", e3.orgAvailabilityKnowledgeV2 = "orgAvailabilityKnowledgeV2", e3.orgAvailabilityMediaAudio = "orgAvailabilityMediaAudio", e3.orgAvailabilityOutboundContactLists = "orgAvailabilityOutboundContactLists", e3.orgAvailabilityPredictiveEngagement = "orgAvailabilityPredictiveEngagement", e3.orgAvailabilityQueues = "orgAvailabilityQueues", e3.orgAvailabilityResponseAssets = "orgAvailabilityResponseAssets", e3.orgAvailabilityRoutingEmergencyGroups = "orgAvailabilityRoutingEmergencyGroups", e3.orgAvailabilityRoutingScheduleGroups = "orgAvailabilityRoutingScheduleGroups", e3.orgAvailabilityRoutingSchedules = "orgAvailabilityRoutingSchedules", e3.orgAvailabilityRoutingSkills = "orgAvailabilityRoutingSkills", e3.orgAvailabilityRoutingWrapupCodes = "orgAvailabilityRoutingWrapupCodes", e3.orgAvailabilitySttEnginesGrammarBased = "orgAvailabilitySttEnginesGrammarBased", e3.orgAvailabilityUsers = "orgAvailabilityUsers", e3.outboundCallFlows = "outboundCallFlows", e3.outboundEmailCampaigns = "outboundEmailCampaigns", e3.nluLanguageStatus = "nluLanguageStatus", e3.pathDiscoveryCallFlowsFeature = "pathDiscoveryCallFlowsFeature", e3.pathDiscoveryFeature = "pathDiscoveryFeature", e3.pathDiscoveryV3Feature = "pathDiscoveryV3Feature", e3.postCallActionFeature = "postCallActionFeature", e3.postFlowDigitalFeature = "postFlowDigitalFeature", e3.previewDigitalBotFlowTestWidgetFeature = "previewDigitalBotFlowTestWidgetFeature", e3.previewInboundCallFlowFeature = "previewInboundCallFlowFeature", e3.previewVoicemailFlowFeature = "previewVoicemailFlowFeature", e3.previewVoiceSurveyFlowFeature = "previewVoiceSurveyFlowFeature", e3.previewWorkflowFlowFeature = "previewWorkflowFlowFeature", e3.previewWorkitemFlowFeature = "previewWorkitemFlowFeature", e3.promptUploadV2 = "promptUploadV2", e3.publicInboundMessageFlagFeature = "publicInboundMessageFlagFeature", e3.pureCloud1PlusFeature = "pureCloud1PlusFeature", e3.pureCloud2PlusFeature = "pureCloud2PlusFeature", e3.queueEstimatedWaitTime = "queueEstimatedWaitTime", e3.replayPreviewFeature = "replayPreviewFeature", e3.routingSkillExpressionsFeature = "routingSkillExpressionsFeature", e3.ruleBasedDecisionsFeature = "ruleBasedDecisionsFeature", e3.ruleBasedDecisionsDigitalFeature = "ruleBasedDecisionsDigitalFeature", e3.secureCallFlows = "secureCallFlows", e3.sendNotificationAction = "sendNotificationAction", e3.setPrioritySkillsFeature = "setPrioritySkillsFeature", e3.spark4FlareFeature = "spark4FlareFeature", e3.spark4FlareLegacyToggle = "spark4FlareLegacyToggle", e3.suppressCallRecordingsFeature = "suppressCallRecordingsFeature", e3.suppressCallRecordingsSecureCallFeature = "suppressCallRecordingsSecureCallFeature", e3.surveyInviteFlows = "surveyInviteFlows", e3.transferToQueueErrorHandlingAutomate = "transferToQueueErrorHandlingAutomate", e3.vipExperience = "vipExperience", e3.voiceFlows = "voiceFlows", e3.voiceFlowsPhase2 = "voiceFlowsPhase2", e3.voicemailFlows = "voicemailFlows", e3.voiceSurveyFlows = "voiceSurveyFlows", e3.voiceSurveyFlowsPhase2 = "voiceSurveyFlowsPhase2", e3.voicemailRecordingMaxTime = "voicemailRecordingMaxTime", e3.voiceSnippets = "voiceSnippets", e3.whatsAppCarouselFeature = "whatsAppCarouselFeature", e3.whatsAppCustomTemplateFeature = "whatsAppCustomTemplateFeature", e3.whatsAppListPickerFeature = "whatsAppListPickerFeature", e3.workflowFlows = "workflowFlows", e3.workflowWaitActionUpdatesPhase1 = "workflowWaitActionUpdatesPhase1", e3.workItemFlows = "workItemFlows", e3.workitemDateAutomationFeature = "workitemDateAutomationFeature", e3.uiInternationalizationOfDatesAndTimes = "uiInternationalizationOfDatesAndTimes", e3.uiPagedPropertyLists = "uiPagedPropertyLists", e3.yamlTrackingIdFeature = "yamlTrackingIdFeature"; })(i2 || (i2 = {})), t2.default = i2; + }, 4652: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.validateChangeSetDocument = void 0; + var n2 = i2(83701); + Object.defineProperty(t2, "validateChangeSetDocument", { enumerable: true, get: function() { + return n2.validateChangeSetDocument; + } }); }, 4656: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(96348), o = i2(45421), a = i2(32556), s = i2(13126), l = i2(60094), { ParameterInfo: u } = i2(55909), { ParameterValidator: d } = i2(33951), c = i2(47957), p = i2(69674), _ = "ClipboardContentStateViewModel"; + const n2 = i2(92140), r2 = i2(96348), o = i2(45421), a = i2(32556), s = i2(13126), l = i2(60094), { ParameterInfo: u } = i2(55909), { ParameterValidator: c } = i2(33951), d = i2(47957), p = i2(69674), _ = "ClipboardContentStateViewModel"; class h extends r2 { constructor(e3, t3) { super(e3, t3); } static create(e3, t3, i3, n3) { - d.expectString(n3, () => u.createFunctionParameter(_, "create", "newContentName"), true); + c.expectString(n3, () => u.createFunctionParameter(_, "create", "newContentName"), true); const r3 = o.getFlowViewModel(e3); - if (!r3) return d.expectFlowViewModel(r3, () => u.createFunctionParameter(_, "create", "stateViewModel.parentFlow")), null; + if (!r3) return c.expectFlowViewModel(r3, () => u.createFunctionParameter(_, "create", "stateViewModel.parentFlow")), null; let s2; try { const o2 = new a(); @@ -9624,7 +10243,7 @@ var require_scripting_bundle = __commonJS({ } checkCanPasteClipboardContextWithDetails(e3) { const t3 = super.checkCanPasteClipboardContextWithDetails(e3); - return t3.isFailure ? t3 : e3.destViewModel && e3.destViewModel.isFlowViewModel && n2.isArray(e3.destViewModel.states) ? e3.destAllowableClipboardContentTypes && !n2.contains(e3.destAllowableClipboardContentTypes, l.states) ? this.createClipboardResultFailureCanPasteGeneric() : t3 : this.createClipboardResultFailure(this._formatResourceStrForDestFlowType(e3, e3.destFlowViewModel.supportsMultipleStates ? c.clipboard.content.pastableLocations.state : c.clipboard.content.notSupportedByFlowType.states)); + return t3.isFailure ? t3 : e3.destViewModel && e3.destViewModel.isFlowViewModel && n2.isArray(e3.destViewModel.states) ? e3.destAllowableClipboardContentTypes && !n2.contains(e3.destAllowableClipboardContentTypes, l.states) ? this.createClipboardResultFailureCanPasteGeneric() : t3 : this.createClipboardResultFailure(this._formatResourceStrForDestFlowType(e3, e3.destFlowViewModel.supportsMultipleStates ? d.clipboard.content.pastableLocations.state : d.clipboard.content.notSupportedByFlowType.states)); } get className() { return _; @@ -9731,13 +10350,18 @@ var require_scripting_bundle = __commonJS({ } } t2.default = r2; + }, 4816: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.legacyDefaultSchema = void 0; + const n2 = i2(5223), r2 = i2(55890), o = i2(25074); + t2.legacyDefaultSchema = o.FAILSAFE_SCHEMA.withTags(o.nullCoreTag, o.boolCoreTag, n2.legacyIntType, o.floatCoreTag, o.timestampTag, o.mergeTag, o.binaryTag, o.legacyMapTag, o.omapTag, o.pairsTag, r2.legacySetType); }, 4861: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleManager = t2.ScheduleManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(50461)), o = n2.__importDefault(i2(47532)), a = i2(30801), s = i2(81801), l = n2.__importDefault(i2(4648)), u = i2(24032), d = i2(10798), c = i2(61684), p = i2(47957), _ = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(50461)), o = n2.__importDefault(i2(47532)), a = i2(30801), s = i2(81801), l = n2.__importDefault(i2(4648)), u = i2(24032), c = i2(10798), d = i2(61684), p = i2(47957), _ = i2(27862); class h extends o.default { get requiredAuth() { - return (0, d.isFeatureAvailable)(l.default.divisionedRoutingObjects) ? s.externalAuthorizations.authStrings.schedulesSearch : s.externalAuthorizations.authStrings.schedulesView; + return (0, c.isFeatureAvailable)(l.default.divisionedRoutingObjects) ? s.externalAuthorizations.authStrings.schedulesSearch : s.externalAuthorizations.authStrings.schedulesView; } get dependencyType() { return _.Schedule; @@ -9746,7 +10370,7 @@ var require_scripting_bundle = __commonJS({ super(), this.topic = (0, u.getTopic)("scheduleManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [a.evaluateScheduleActionType], this.actionPropertyForUsageSearch = "scheduleId", this.apiCallList = r2.getSchedules, this.apiCallSingle = r2.getSchedule, this.suppressSearch = false, this.uiMetadataSectionName = "schedules", this.dependencyContext = p.evaluateSchedules.schedule, this.className = "ScheduleManager", this._initialize(); } _createItemViewModel(e3) { - return new c.ScheduleViewModel(e3); + return new d.ScheduleViewModel(e3); } } t2.ScheduleManager = h, t2.scheduleManager = new h(); @@ -9802,12 +10426,23 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { minTrackingId: 10, maxTrackingId: 999999 }; }, 5080: (e2, t2, i2) => { - function n2() { - this.schema = void 0, this.arrayProperties = void 0, n2.baseConstructor.apply(this, arguments); + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseAssetList = void 0; + const n2 = i2(31635), r2 = i2(80295), o = i2(15116), a = i2(23343); + class s extends o.PagedList { + constructor(e3) { + super(e3); + } + get entities() { + return this._entities; + } + set entities(e3) { + this._entities = this.reviveArray(e3, a.ResponseAsset); + } } - i2(45214).extend(n2, "HedwigActionSchema"), e2.exports = n2; + t2.ResponseAssetList = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); }, 5093: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(74359), o = i2(45421), a = i2(39041).default, s = i2(46669), l = i2(8483), u = i2(40782), d = i2(4656), c = i2(17496), p = i2(80693), _ = i2(7473), h = i2(22668), m = i2(27059), g = i2(46920), { ParameterInfo: f } = i2(55909), { ParameterValidator: T } = i2(33951), { permissionService: y } = i2(67210), { permissionStrings: S } = i2(44724), A = i2(47957), N = i2(48565), O = i2(71004), { uuid: I } = i2(9456), v = "ClipboardObjectViewModel"; + const n2 = i2(92140), r2 = i2(74359), o = i2(45421), a = i2(39041).default, s = i2(46669), l = i2(8483), u = i2(40782), c = i2(4656), d = i2(17496), p = i2(80693), _ = i2(7473), h = i2(22668), m = i2(27059), g = i2(46920), { ParameterInfo: f } = i2(55909), { ParameterValidator: T } = i2(33951), { permissionService: y } = i2(67210), { permissionStrings: S } = i2(44724), A = i2(47957), N = i2(48565), v = i2(71004), { uuid: O } = i2(9456), I = "ClipboardObjectViewModel"; class C extends o { constructor(e3, t3) { super(new p(t3)), Object.defineProperties(this, { _model: { writable: true, enumerable: true }, _clipboardContents: { value: [], writable: true, enumerable: true }, _pasteContext: { value: new h(this.clipboardLogging), writable: true, enumerable: false } }), this.log("Clipboard object created with ID: '" + this.id + "'."), this._loadModel(e3); @@ -9826,10 +10461,10 @@ var require_scripting_bundle = __commonJS({ t3 = new l(e4, this.clipboardLogging); break; case "ClipboardContentStateModel": - t3 = new d(e4, this.clipboardLogging); + t3 = new c(e4, this.clipboardLogging); break; case "ClipboardContentTaskModel": - t3 = new c(e4, this.clipboardLogging); + t3 = new d(e4, this.clipboardLogging); break; default: throw "content class not supported :("; @@ -9873,7 +10508,7 @@ var require_scripting_bundle = __commonJS({ this._pasteContext.reset(); } _checkCanCopyOrCut(e3, t3) { - if (T.expectObject(e3, () => f.createFunctionParameter(v, "_checkCanCopyOrCut", "coreViewModelToCutOrCopy")), !e3 || !n2.isObject(e3)) return t3 ? this.createClipboardResultFailure(A.clipboard.cut.cutObjectNotSpecified) : this.createClipboardResultFailure(A.clipboard.copy.copyObjectNotSpecified); + if (T.expectObject(e3, () => f.createFunctionParameter(I, "_checkCanCopyOrCut", "coreViewModelToCutOrCopy")), !e3 || !n2.isObject(e3)) return t3 ? this.createClipboardResultFailure(A.clipboard.cut.cutObjectNotSpecified) : this.createClipboardResultFailure(A.clipboard.copy.copyObjectNotSpecified); if (!e3.isBaseAction && !e3.isMenu && !e3.isMenuChoice && !e3.isState && (!e3.isTask || e3.isLoopTaskViewModel)) return t3 ? this.createClipboardResultFailure(A.clipboard.cut.onlyCutActionOrMenuOrStateOrTask) : this.createClipboardResultFailure(A.clipboard.copy.onlyCopyActionOrMenuOrStateOrTask); const i3 = e3.parentFlow; if (!i3) return t3 ? this.createClipboardResultFailure(A.clipboard.cut.cutObjectDoesNotBelongToAFlow) : this.createClipboardResultFailure(A.clipboard.copy.copyObjectDoesNotBelongToAFlow); @@ -9889,7 +10524,7 @@ var require_scripting_bundle = __commonJS({ return r3; } checkCopyCutPermissions(e3) { - T.expectBool(e3, () => f.createFunctionParameter(v, "checkCopyCutPermissions", "performCutCheck")); + T.expectBool(e3, () => f.createFunctionParameter(I, "checkCopyCutPermissions", "performCutCheck")); const t3 = y.checkHasPermissionInAtLeastOneDivision(r2.getConnectedUser(), y.staticPermissions[S.architect.flow.edit]); if (!t3 || t3.lacksPermission) { const t4 = e3 ? A.clipboard.cut.permissions.cannotCutPermissionsGranularAcl : A.clipboard.copy.permissions.cannotCopyPermissionsGranularAcl; @@ -9933,7 +10568,7 @@ var require_scripting_bundle = __commonJS({ 1 === t3.version && this._loadModel(t3.clipboardObjectModel); } get className() { - return v; + return I; } get contents() { return this._clipboardContents; @@ -9971,7 +10606,7 @@ var require_scripting_bundle = __commonJS({ _addContent(e3, t3, i3) { if (!n2.isObject(e3)) return null; let r3; - return i3 = !!i3, e3.isBaseAction ? r3 = s.create(e3, i3, this.clipboardLogging, t3) : e3.isMenu ? r3 = u.create(e3, i3, this.clipboardLogging, t3) : e3.isMenuChoice ? r3 = l.create(e3, i3, this.clipboardLogging, t3) : e3.isState ? r3 = d.create(e3, i3, this.clipboardLogging, t3) : e3.isTask && (r3 = c.create(e3, i3, this.clipboardLogging, t3)), r3 ? (this._model.contents.push(r3.contentModel), this._clipboardContents.push(r3), r3) : null; + return i3 = !!i3, e3.isBaseAction ? r3 = s.create(e3, i3, this.clipboardLogging, t3) : e3.isMenu ? r3 = u.create(e3, i3, this.clipboardLogging, t3) : e3.isMenuChoice ? r3 = l.create(e3, i3, this.clipboardLogging, t3) : e3.isState ? r3 = c.create(e3, i3, this.clipboardLogging, t3) : e3.isTask && (r3 = d.create(e3, i3, this.clipboardLogging, t3)), r3 ? (this._model.contents.push(r3.contentModel), this._clipboardContents.push(r3), r3) : null; } copy(e3, t3) { let i3; @@ -10021,7 +10656,7 @@ var require_scripting_bundle = __commonJS({ if (this.log("Paste operation begin."), t3 && t3.additionalInfoResults && t3.additionalInfoResults.reset(), e3 && (a2 = e3.isFlowViewModel ? e3 : e3.parentFlow), i3 = this.checkCanPaste(e3, t3), n2.isArray(this._clipboardContents) && 0 !== this._clipboardContents.length) if (i3.isFailure) this.logError("The paste operation failed because the clipboard contents cannot be pasted to the specified location."); else if (a2) { this._resetPasteOperationInfo(), this._pasteContext.setPasteContext(this, a2, e3, t3), n2.chain(this.contents).pluck("originalObjectFlowType").unique().each((e4) => { - O.getNameMappingBetweenFlowTypes(e4, a2.type).forEach((e5) => this._pasteContext.setOldVariableNameToNewVariableNameMapping(e5.oldName, e5.newName)); + v.getNameMappingBetweenFlowTypes(e4, a2.type).forEach((e5) => this._pasteContext.setOldVariableNameToNewVariableNameMapping(e5.oldName, e5.newName)); }); try { this._pasteContext.destFlowViewModel.validationResults && this._pasteContext.destFlowViewModel.validationResults.addSuppressPassiveValidation(this), this.log("Saving configuration for flow " + this._getNameAndIdStr(a2) + " in the event the paste operation encounters an error so it can be restored."), r3 = this.cloneToRawJsonObject(g.getConfiguration(this._pasteContext.destFlowViewModel)), o2 = true, this.log("Pasting " + this._clipboardContents.length + " content object(s)."); @@ -10066,7 +10701,7 @@ var require_scripting_bundle = __commonJS({ } pasteGenerateNewGuid(e3) { this._checkPasteOperationInProgress("pasteGenerateNewGuid"), T.expectString(e3, () => f.createFunctionParameter(this.className, "pasteGenerateNewGuid", "oldGuidId")); - const t3 = I(); + const t3 = O(); return this.pasteAddOldIdToNewIdMapping(e3, t3), t3; } pasteGetNewTrackingId(e3) { @@ -10178,19 +10813,19 @@ var require_scripting_bundle = __commonJS({ var n2 = i2(48051), r2 = i2(19724), o = i2(76808), a = i2(65212), s = i2(17214); t2.groupBy = function(e3, t3, i3, l) { return a.operate(function(a2, u) { - var d; - t3 && "function" != typeof t3 ? (i3 = t3.duration, d = t3.element, l = t3.connector) : d = t3; - var c = /* @__PURE__ */ new Map(), p = function(e4) { - c.forEach(e4), e4(u); + var c; + t3 && "function" != typeof t3 ? (i3 = t3.duration, c = t3.element, l = t3.connector) : c = t3; + var d = /* @__PURE__ */ new Map(), p = function(e4) { + d.forEach(e4), e4(u); }, _ = function(e4) { return p(function(t4) { return t4.error(e4); }); }, h = 0, m = false, g = new s.OperatorSubscriber(u, function(t4) { try { - var a3 = e3(t4), p2 = c.get(a3); + var a3 = e3(t4), p2 = d.get(a3); if (!p2) { - c.set(a3, p2 = l ? l() : new o.Subject()); + d.set(a3, p2 = l ? l() : new o.Subject()); var f = (y = a3, S = p2, (A = new n2.Observable(function(e4) { h++; var t5 = S.subscribe(e4); @@ -10202,12 +10837,12 @@ var require_scripting_bundle = __commonJS({ var T = s.createOperatorSubscriber(p2, function() { p2.complete(), null == T || T.unsubscribe(); }, void 0, void 0, function() { - return c.delete(a3); + return d.delete(a3); }); g.add(r2.innerFrom(i3(f)).subscribe(T)); } } - p2.next(d ? d(t4) : t4); + p2.next(c ? c(t4) : t4); } catch (e4) { _(e4); } @@ -10217,7 +10852,7 @@ var require_scripting_bundle = __commonJS({ return e4.complete(); }); }, _, function() { - return c.clear(); + return d.clear(); }, function() { return m = true, 0 === h; }); @@ -10426,6 +11061,70 @@ var require_scripting_bundle = __commonJS({ this.reset(); } }; + }, 5223: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.legacyIntType = void 0; + const n2 = i2(25074); + function r2(e3) { + return e3 >= 48 && e3 <= 57 || e3 >= 65 && e3 <= 70 || e3 >= 97 && e3 <= 102; + } + function o(e3) { + return e3 >= 48 && e3 <= 55; + } + function a(e3) { + return e3 >= 48 && e3 <= 57; + } + function s(e3) { + let t3 = e3, i3 = 1, n3 = t3[0]; + if ("-" !== n3 && "+" !== n3 || ("-" === n3 && (i3 = -1), t3 = t3.slice(1), n3 = t3[0]), "0" === t3) return 0; + if ("0" === n3) { + if ("b" === t3[1]) return i3 * parseInt(t3.slice(2), 2); + if ("x" === t3[1]) return i3 * parseInt(t3.slice(2), 16); + if ("o" === t3[1]) return i3 * parseInt(t3.slice(2), 8); + } + return i3 * parseInt(t3, 10); + } + t2.legacyIntType = (0, n2.defineScalarTag)("tag:yaml.org,2002:int", { implicit: true, implicitFirstChars: ["-", "+", ..."0123456789"], resolve: (e3) => (function(e4) { + const t3 = e4.length; + let i3 = 0, n3 = false; + if (!t3) return false; + let l = e4[i3]; + if ("-" !== l && "+" !== l || (l = e4[++i3]), "0" === l) { + if (i3 + 1 === t3) return true; + if (l = e4[++i3], "b" === l) { + for (i3++; i3 < t3; i3++) { + if (l = e4[i3], "0" !== l && "1" !== l) return false; + n3 = true; + } + return n3 && isFinite(s(e4)); + } + if ("x" === l) { + for (i3++; i3 < t3; i3++) { + if (!r2(e4.charCodeAt(i3))) return false; + n3 = true; + } + return n3 && isFinite(s(e4)); + } + if ("o" === l) { + for (i3++; i3 < t3; i3++) { + if (!o(e4.charCodeAt(i3))) return false; + n3 = true; + } + return n3 && isFinite(s(e4)); + } + } + for (; i3 < t3; i3++) { + if (!a(e4.charCodeAt(i3))) return false; + n3 = true; + } + return !!n3 && isFinite(s(e4)); + })(e3) ? s(e3) : n2.NOT_RESOLVED, identify: function(e3) { + return "[object Number]" === Object.prototype.toString.call(e3) && e3 % 1 == 0 && !(0 === (t3 = e3) && Number.NEGATIVE_INFINITY === 1 / t3); + var t3; + }, represent: (e3) => { + const t3 = e3.toString(10); + return t3.includes("e") ? BigInt(e3).toString() : t3; + } }); }, 5233: (e2, t2, i2) => { function n2() { this.id = void 0, this.integration = void 0, this.name = void 0, this.environments = void 0, this.languages = void 0, this.project = void 0, n2.baseConstructor.apply(this, arguments); @@ -10497,7 +11196,7 @@ var require_scripting_bundle = __commonJS({ }, 5430: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.initializeExpressions = function() { - _ || (c(), d(), l(), Promise.all([r2.getAuthenticatedPromise(), r2.bootstrapLanguageDataLoaded, r2.featureTogglesLoaded]).then(() => { + _ || (d(), c(), l(), Promise.all([r2.getAuthenticatedPromise(), r2.bootstrapLanguageDataLoaded, r2.featureTogglesLoaded]).then(() => { u(); const e3 = o.default.getGlobalTypeGroup(); if (e3) try { @@ -10507,7 +11206,7 @@ var require_scripting_bundle = __commonJS({ } }), _ = true); }; - const n2 = i2(31635), r2 = n2.__importStar(i2(74359)), o = n2.__importDefault(i2(65302)), a = i2(24032), { bootstrapService: s } = i2(16321), { categorizeFunctions: l } = i2(4308), { createBuilders: u } = i2(64832), { createFunctions: d } = i2(33527), { createGlobalTypes: c } = i2(19102), p = (0, a.getTopic)("expressionCoordinator"); + const n2 = i2(31635), r2 = n2.__importStar(i2(74359)), o = n2.__importDefault(i2(65302)), a = i2(24032), { bootstrapService: s } = i2(16321), { categorizeFunctions: l } = i2(4308), { createBuilders: u } = i2(64832), { createFunctions: c } = i2(33527), { createGlobalTypes: d } = i2(19102), p = (0, a.getTopic)("expressionCoordinator"); let _ = false; }, 5455: (e2, t2, i2) => { "use strict"; @@ -10579,8 +11278,8 @@ var require_scripting_bundle = __commonJS({ t2.default = l; }, 5486: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(26954), s = i2(84424), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(26954), s = i2(84424), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -10588,11 +11287,11 @@ var require_scripting_bundle = __commonJS({ return r2.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.findUser.idLabel, searchResultLabel: d.findActions.findUser.resultLabel, searchResultExpressionOptions: a.ExpressionTypeUserOptions.create(), searchResultItemType: o.expressionTypeNames.userQueue }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findUserById, modelClass: s.FindUserByIdActionModel, name: d.actions.findUserById, scriptingName: "ArchActionFindUserById" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findUserById, modelClass: s.FindUserByIdActionModel, name: d.actions.findUserById, scriptingName: "ArchActionFindUserById", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 5532: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = i2(55909), s = i2(33951), l = i2(27491), u = n2.__importStar(i2(9345)), d = new class { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = i2(55909), s = i2(33951), l = i2(27491), u = n2.__importStar(i2(9345)), c = new class { constructor() { this._builderPartDefinitions = {}, this._builderPartContainerDefinitions = {}; } @@ -10646,11 +11345,11 @@ var require_scripting_bundle = __commonJS({ console.groupCollapsed("Builder parts"), console.table(this.getBuilderPartInfo()), console.groupEnd(); } }(); - t2.default = d; + t2.default = c; }, 5578: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(21647), o = i2(81516), a = n2.__importDefault(i2(27203)), s = i2(12179), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5478)), d = i2(80428), c = i2(62416), p = i2(47957); - class _ extends u.default { + const n2 = i2(31635), r2 = i2(21647), o = i2(81516), a = n2.__importDefault(i2(27203)), s = i2(12179), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5478)), c = i2(80428), d = i2(62416), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends u.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.externalId = null, this.externalResult = null, this._loadModel(t3); } @@ -10658,13 +11357,13 @@ var require_scripting_bundle = __commonJS({ return a.default.successFailure; } _getPossibleErrors() { - return c.promoteExternalContactFailureReasons; + return d.promoteExternalContactFailureReasons; } static get managedProperties() { - return [{ label: p.commonExternalContact.nameLabel, options: o.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalIdExpression").setDisableSpellcheck(true).setDefaultToExpression(true).facets.setMinLength(1)), property: "externalId", type: d.expressionTypeNames.string }, { label: p.commonExternalContact.externalContactResult, options: r2.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(d.expressionTypeNames.externalContact).setIninTestingField("ExternalContactExpression").setAsOutput().setAllowSecure(true)), property: "externalResult", type: d.expressionTypeNames.externalContact }]; + return [{ label: _.commonExternalContact.nameLabel, options: o.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalIdExpression").setDisableSpellcheck(true).setDefaultToExpression(true).facets.setMinLength(1)), property: "externalId", type: c.expressionTypeNames.string }, { label: _.commonExternalContact.externalContactResult, options: r2.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(c.expressionTypeNames.externalContact).setIninTestingField("ExternalContactExpression").setAsOutput().setAllowSecure(true)), property: "externalResult", type: c.expressionTypeNames.externalContact }]; } } - _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: s.helpTopics.actions.promoteExternalContact, modelClass: i2(43346), name: p.actions.promoteExternalContact, scriptingName: "ArchActionPromoteExternalContact" }), t2.A = _; + h.info = l.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: s.helpTopics.actions.promoteExternalContact, modelClass: i2(43346), name: _.actions.promoteExternalContact, scriptingName: "ArchActionPromoteExternalContact", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 5587: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.dateTimeToDisplay = function(e3, t3 = "LL LTS", i3) { @@ -10716,13 +11415,13 @@ var require_scripting_bundle = __commonJS({ Object.defineProperty(t2, "__esModule", { value: true }), t2.isAction = function(e3) { return null == e3 ? void 0 : e3.isAction; }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(12847)), a = n2.__importStar(i2(17498)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(99434)), u = n2.__importStar(i2(27099)), d = n2.__importStar(i2(71314)), c = n2.__importStar(i2(58380)), p = n2.__importStar(i2(66381)), _ = n2.__importStar(i2(98442)), h = n2.__importStar(i2(24032)), m = n2.__importStar(i2(48565)), g = i2(12457), f = i2(84464), T = n2.__importDefault(i2(33667)), y = n2.__importDefault(i2(41197)), S = i2(96618), A = i2(50474), N = i2(26847), O = i2(17604), I = n2.__importDefault(i2(41510)), v = i2(30801), C = n2.__importDefault(i2(59805)), b = n2.__importDefault(i2(22917)), E = i2(60137), R = i2(57141), w = i2(11276), D = i2(47957); - class P extends y.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(24032)), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(71314)), c = n2.__importDefault(i2(41510)), d = i2(69453), p = i2(8712), _ = i2(8712), h = i2(8712), m = n2.__importDefault(i2(22917)), g = i2(84464), f = n2.__importStar(i2(59288)), T = n2.__importStar(i2(12847)), y = n2.__importStar(i2(17498)), S = n2.__importStar(i2(99434)), A = n2.__importStar(i2(10798)), N = n2.__importStar(i2(27099)), v = n2.__importStar(i2(58380)), O = i2(26847), I = n2.__importStar(i2(66381)), C = n2.__importStar(i2(98442)), b = n2.__importStar(i2(48565)), E = i2(30801), w = i2(48641), R = i2(48641), D = i2(50474), P = i2(50474), M = i2(50474), F = i2(50474), L = i2(50474), x = n2.__importDefault(i2(59805)), k = i2(12457), V = n2.__importDefault(i2(41197)), U = i2(1910), B = i2(1910), G = i2(1910), j = i2(1910), W = i2(1910), q = i2(1910), Y = i2(1910), H = n2.__importDefault(i2(33667)), J = i2(60137), $ = i2(57141), z = i2(11276), K = i2(47957); + class Q extends V.default { constructor(e3, t3) { - super(e3, t3), this._isDisabled = false, this._generatedAudioExpressions = [], this.branches = [], this.managedPropertyViewModels = {}, this.optionalBranchInfo = [], this.previousAction = void 0, this.allBranchesTerminate = false, this.terminatesTaskOrFlow = false, this._terminatingLabel = void 0, this.hasBranchTerminatingWithEndTask = false, this.terminatesLoop = false, this.editor_testing_tag = null, (null == e3 ? void 0 : e3.isFlowViewModel) || o.error(`invalid parentFlowViewModel - id: ${null == e3 ? void 0 : e3.id} - className: ${null == e3 ? void 0 : e3.className}`), (null == t3 ? void 0 : t3.isMenuChoice) || (null == t3 ? void 0 : t3.isActionContainerViewModel) || o.error(`invalid parent - id: ${null == t3 ? void 0 : t3.id} - className: ${null == t3 ? void 0 : t3.className}`), this._setTopParent(); + super(e3, t3), this._isDisabled = false, this._generatedAudioExpressions = [], this.branches = [], this.managedPropertyViewModels = {}, this.optionalBranchInfo = [], this.previousAction = void 0, this.allBranchesTerminate = false, this.terminatesTaskOrFlow = false, this._terminatingLabel = void 0, this.hasBranchTerminatingWithEndTask = false, this.terminatesLoop = false, this.editor_testing_tag = null, (null == e3 ? void 0 : e3.isFlowViewModel) || T.error(`invalid parentFlowViewModel - id: ${null == e3 ? void 0 : e3.id} - className: ${null == e3 ? void 0 : e3.className}`), (null == t3 ? void 0 : t3.isMenuChoice) || (null == t3 ? void 0 : t3.isActionContainerViewModel) || T.error(`invalid parent - id: ${null == t3 ? void 0 : t3.id} - className: ${null == t3 ? void 0 : t3.className}`), this._setTopParent(); } _loadModel(e3) { - e3 ? (super._loadModel(e3), this.uiMetaData ? r2.default.isBoolean(this.collapsed) || (this.collapsed = false) : this.uiMetaData = { collapsed: false }, m.registerNode(this), this._overrideProperties(), w.loadBranches(this), this.updateDependencies(), this.info && this.info.actionIsAlwaysSecure && this.setAlwaysSecure(), f.actionRegistrationService.registerItem(this), this.updateTraceTopic()) : this.uiMetaData = { collapsed: false }; + e3 ? (super._loadModel(e3), this.uiMetaData ? a.default.isBoolean(this.collapsed) || (this.collapsed = false) : this.uiMetaData = { collapsed: false }, b.registerNode(this), this._overrideProperties(), z.loadBranches(this), this.updateDependencies(), this.info && this.info.actionIsAlwaysSecure && this.setAlwaysSecure(), g.actionRegistrationService.registerItem(this), this.updateTraceTopic()) : this.uiMetaData = { collapsed: false }; } get amObjectEventSink() { return false; @@ -10737,7 +11436,7 @@ var require_scripting_bundle = __commonJS({ return this.constructor.branchInfo; } get branchInfoList() { - return r2.default.union(this.branchInfos, this.optionalBranchInfo); + return a.default.union(this.branchInfos, this.optionalBranchInfo); } get isBaseAction() { return true; @@ -10752,7 +11451,7 @@ var require_scripting_bundle = __commonJS({ return this.uiMetaData || (this.uiMetaData = { collapsed: false }), this.uiMetaData.collapsed; } set collapsed(e3) { - this.uiMetaData ? this.uiMetaData.collapsed = e3 : this.uiMetaData = { collapsed: e3 }, s.emitter.emit(s.collapseExpand, this); + this.uiMetaData ? this.uiMetaData.collapsed = e3 : this.uiMetaData = { collapsed: e3 }, l.emitter.emit(l.collapseExpand, this); } collapse(e3) { return this.expandOrCollapse(true, e3); @@ -10760,7 +11459,7 @@ var require_scripting_bundle = __commonJS({ static createYamlOptions(e3, t3) { var i3; let n3 = (null === (i3 = this.info) || void 0 === i3 ? void 0 : i3.typeId) || this.className; - return n3 || (console.error(`No unique static class name found for action constructor with name '${this.name}'`), n3 = this.name), b.default.create(n3 + e3, t3); + return n3 || (console.error(`No unique static class name found for action constructor with name '${this.name}'`), n3 = this.name), m.default.create(n3 + e3, t3); } expand(e3) { return this.expandOrCollapse(false, e3); @@ -10769,29 +11468,29 @@ var require_scripting_bundle = __commonJS({ let i3 = false; if (this.uiMetaData ? this.collapsed !== e3 && (this.collapsed = e3, i3 = true) : (this.uiMetaData = { collapsed: e3 }, i3 = true), t3) { const t4 = this.parent; - t4 && r2.default.isFunction(t4.expandOrCollapse) && t4.expandOrCollapse(e3, true) && (i3 = true); + t4 && a.default.isFunction(t4.expandOrCollapse) && t4.expandOrCollapse(e3, true) && (i3 = true); } return i3; } _getDetailsForManagedProperty(e3, t3) { var i3; - if (r2.default.isFunction(e3.getDetailDescription)) { + if (a.default.isFunction(e3.getDetailDescription)) { const t4 = e3.getDetailDescription(); if (t4) return t4; } else if (e3.isAudioViewModel) { const t4 = e3.getDescription(); if (t4) return { label: e3.label, value: t4 }; } else if (e3.isExpression) { - const t4 = e3.isNoValueMode && e3.defaultExpression ? e3.defaultExpression : e3, i4 = l.getDisplayText(t4); + const t4 = e3.isNoValueMode && e3.defaultExpression ? e3.defaultExpression : e3, i4 = S.getDisplayText(t4); if (i4) return { label: t4.label, value: i4 }; } else if (e3.isDataPairList) ; else if (e3.isNameValuePairViewModel) { let n3, r3; - if (r3 = this.wrapWithBrackets(l.getDisplayText(e3.expression), e3.expression.isBuilderMode), n3 = this.wrapWithBrackets(l.getDisplayText(e3.name), e3.name.isBuilderMode), e3.expression.isOutput || (null === (i3 = e3.expression.options) || void 0 === i3 ? void 0 : i3.allowModeVariable)) { + if (r3 = this.wrapWithBrackets(S.getDisplayText(e3.expression), e3.expression.isBuilderMode), n3 = this.wrapWithBrackets(S.getDisplayText(e3.name), e3.name.isBuilderMode), e3.expression.isOutput || (null === (i3 = e3.expression.options) || void 0 === i3 ? void 0 : i3.allowModeVariable)) { const e4 = n3; n3 = r3, r3 = e4; } - return { label: `${t3 + 1}`, value: (0, O.sprintf)(I.default.updateVariables.labelValue, n3, r3) }; + return { label: `${t3 + 1}`, value: (0, o.sprintf)(c.default.updateVariables.labelValue, n3, r3) }; } } wrapWithBrackets(e3, t3) { @@ -10801,7 +11500,7 @@ var require_scripting_bundle = __commonJS({ return this.getDetailsForProperties(Object.values(this.managedPropertyViewModels)); } getDetailsForProperties(e3) { - const t3 = r2.default.chain(e3).sortBy("label").sortBy((e4) => e4.options && e4.options.uiPropertyOrder ? e4.options.uiPropertyOrder : e4.metaData && e4.metaData.uiPropertyOrder ? e4.metaData.uiPropertyOrder : void 0).reduce((e4, t4) => { + const t3 = a.default.chain(e3).sortBy("label").sortBy((e4) => e4.options && e4.options.uiPropertyOrder ? e4.options.uiPropertyOrder : e4.metaData && e4.metaData.uiPropertyOrder ? e4.metaData.uiPropertyOrder : void 0).reduce((e4, t4) => { if (3 === e4.labels.length) return e4; if (t4.outOfService) return e4; if (t4.isNoValueMode && !t4.defaultExpression) return e4; @@ -10812,7 +11511,7 @@ var require_scripting_bundle = __commonJS({ n3 && (e4.labels.push(n3.label), e4.values.push(n3.value)); }), e4; }, { labels: [], values: [] }).value(); - return new g.ActionDetails(t3.labels, t3.values); + return new k.ActionDetails(t3.labels, t3.values); } getNodeToNavigateToOnDelete() { return this.previousAction && !this.previousAction.isDestroyed ? this.previousAction : this.nextAction && !this.nextAction.isDestroyed ? this.nextAction : this.parent.isTaskLike ? null : this.parent.parent && !this.parent.parent.isDestroyed ? this.parent.parent : null; @@ -10828,7 +11527,7 @@ var require_scripting_bundle = __commonJS({ return this._isDisabled; } set isDisabled(e3) { - e3 !== this._isDisabled && (this._isDisabled = !!e3, r2.default.each(this.branches, function(e4) { + e3 !== this._isDisabled && (this._isDisabled = !!e3, a.default.each(this.branches, function(e4) { e4.isDisabled = this._isDisabled; }.bind(this))); } @@ -10848,15 +11547,15 @@ var require_scripting_bundle = __commonJS({ e3 ? (this.model.nextAction = e3.id, this._nextAction = e3) : (this.model.nextAction = void 0, this._nextAction = null); } _overrideProperties() { - r2.default.each(P.getManagedProperties(this), function(e3) { - const t3 = (0, T.default)(this, e3); - t3 && (this.managedPropertyViewModels[e3.property] = t3, a.registerExpression(t3), e3.generatedPromptsDetails && (t3.__isGeneratedPrompt = true, this._generatedAudioExpressions.push(r2.default.extend({ expression: t3, audioSequencer: new E(this, t3, e3.generatedPromptsDetails.sequenceDefinition) }, e3.generatedPromptsDetails)))); + a.default.each(Q.getManagedProperties(this), function(e3) { + const t3 = (0, H.default)(this, e3); + t3 && (this.managedPropertyViewModels[e3.property] = t3, y.registerExpression(t3), e3.generatedPromptsDetails && (t3.__isGeneratedPrompt = true, this._generatedAudioExpressions.push(a.default.extend({ expression: t3, audioSequencer: new J(this, t3, e3.generatedPromptsDetails.sequenceDefinition) }, e3.generatedPromptsDetails)))); }.bind(this)); } addClipboardDependencies(e3) { - e3.copyCutProcessActionViewModel(this), r2.default.each(this.managedPropertyViewModels, function(t3) { + e3.copyCutProcessActionViewModel(this), a.default.each(this.managedPropertyViewModels, function(t3) { t3.addClipboardDependencies(e3); - }.bind(this)), r2.default.each(this.branches, function(t3) { + }.bind(this)), a.default.each(this.branches, function(t3) { t3.addClipboardDependencies(e3); }.bind(this)); } @@ -10868,10 +11567,10 @@ var require_scripting_bundle = __commonJS({ this.branchInfos.forEach((t3) => { const i3 = this.branches.findIndex((e4) => e4.id === t3.outputId); i3 >= 0 && i3 !== this.branches.length && (this.branches.push(this.branches.splice(i3, 1)[0]), this.model.paths.push(this.model.paths.splice(i3, 1)[0]), e3 = true); - }), e3 && s.emitter.emit(s.branchesChanged); + }), e3 && l.emitter.emit(l.branchesChanged); } removeOptionalBranchInfoById(e3, t3) { - const i3 = r2.default.findIndex(this.optionalBranchInfo, { outputId: e3 }); + const i3 = a.default.findIndex(this.optionalBranchInfo, { outputId: e3 }); if (i3 < 0) return; const n3 = this.optionalBranchInfo[i3]; this.optionalBranchInfo.splice(i3, 1), t3 || this._removeBranch(n3); @@ -10886,46 +11585,160 @@ var require_scripting_bundle = __commonJS({ return "BaseActionViewModel"; } getYamlOptionsMap() { - const e3 = { name: b.default.create() }; - return r2.default.each(P.getManagedProperties(this), (t3) => { - r2.default.isArray(t3.supportedFlowTypes) && !r2.default.some(this.parentFlow.destinationFlowTypes, (e4) => t3.supportedFlowTypes.includes(e4)) || (e3[t3.property] = t3.yamlOptions || b.default.create(), t3.deprecatedYamlOptions && (e3[this.deprecatedViewModelMarker + t3.property] = t3.deprecatedYamlOptions)); + const e3 = { name: m.default.create() }; + return a.default.each(Q.getManagedProperties(this), (t3) => { + a.default.isArray(t3.supportedFlowTypes) && !a.default.some(this.parentFlow.destinationFlowTypes, (e4) => t3.supportedFlowTypes.includes(e4)) || (e3[t3.property] = t3.yamlOptions || m.default.create(), t3.deprecatedYamlOptions && (e3[this.deprecatedViewModelMarker + t3.property] = t3.deprecatedYamlOptions)); }), e3; } + configureFromModel(e3, t3, i3) { + const r3 = Object.create(null, { configureFromModel: { get: () => super.configureFromModel } }); + return n2.__awaiter(this, void 0, void 0, function* () { + var a2, s2; + r3.configureFromModel.call(this, e3, t3, i3); + const l2 = null === (s2 = null === (a2 = this.info) || void 0 === a2 ? void 0 : a2.modelFormatSupport) || void 0 === s2 ? void 0 : s2.flowYaml, u2 = (0, w.deriveFlowYamlSupportState)(l2); + return u2 === R.flowYamlSupportState.notAvailable ? (i3.error((0, o.sprintf)(d.configureFromModel.actionFormatNotSupported, this.className, t3)), void (i3.continueProcessing = false)) : u2 === R.flowYamlSupportState.deprecated ? (i3.error((0, o.sprintf)(d.configureFromModel.actionDeprecatedForFormat, this.className, t3)), void (i3.continueProcessing = false)) : u2 === R.flowYamlSupportState.conditional && (null == l2 ? void 0 : l2.feature) && A.isFeatureUnavailable(l2.feature) ? (i3.error((0, o.sprintf)(d.configureFromModel.actionRequiresFeature, this.className, l2.feature, t3)), void (i3.continueProcessing = false)) : void (yield (0, Y.withModelContextAsync)(i3, `${this.className}[${e3.refId || e3.name || "unknown"}]`, () => n2.__awaiter(this, void 0, void 0, function* () { + this._preProcessYamlConfig(e3, t3, i3), this._configureFromModel(e3, t3, i3), yield this._configureNestedActionsFromModel(e3, t3, i3); + }))); + }); + } + _preProcessYamlConfig(e3, t3, i3) { + } + _configureFromModel(e3, t3, i3) { + var n3, r3, a2, s2, l2, u2; + const c2 = (0, W.getStringValue)(e3, "name", i3); + if (void 0 !== c2) { + this.name = c2; + const e4 = null === (n3 = this.model) || void 0 === n3 ? void 0 : n3.id, t4 = null === (r3 = this.model) || void 0 === r3 ? void 0 : r3.trackingId; + i3.reportActivity((0, _.buildPropertySetActivityEvent)({ objectType: "action", objectName: this.name || this.className, objectId: e4, trackingId: t4, viewModel: this, changeIndex: null !== (a2 = i3.currentChangeIndex) && void 0 !== a2 ? a2 : 0, property: "name", propertyDisplayName: (0, h.getActionPropertyDisplayName)(this, "name"), propertyValue: c2 })); + } + const m2 = Q.getManagedProperties(this), g2 = /* @__PURE__ */ new Map(); + for (const e4 of m2) { + const t4 = e4.yamlOptions && e4.yamlOptions.propertyName ? e4.yamlOptions.propertyName : e4.property; + t4 && g2.set(t4, e4); + } + for (const [n4, r4] of Object.entries(e3)) { + if (Q.WELL_KNOWN_YAML_KEYS.has(n4)) continue; + const e4 = g2.get(n4); + if (!e4) { + i3.warn((0, o.sprintf)(d.configureFromModel.unrecognizedYamlProperty, n4, this.name || this.className)); + continue; + } + if (e4.yamlOptions && e4.yamlOptions.skipProperty) { + i3.debug(`Skipping property '${n4}' (yamlOptions.skipProperty) on '${this.name || this.className}'.`); + continue; + } + if (e4.supportedFlowTypes && e4.supportedFlowTypes.length > 0 && !e4.supportedFlowTypes.includes(i3.flowType)) { + i3.debug(`Skipping property '${n4}' (flow type '${i3.flowType}' not in supportedFlowTypes) on '${this.name || this.className}'.`); + continue; + } + const a3 = e4.yamlOptions && e4.yamlOptions.propertyName ? "yamlOptions.propertyName override" : "property name"; + i3.debug(`Mapping YAML key '${n4}' \u2192 core property '${e4.property}' (${a3}) on '${this.name || this.className}'.`); + let c3 = false; + try { + i3.setDeferSyncPropertySetActivity(false), i3.currentPropertyName = e4.property, (0, q.withModelContext)(i3, n4, () => { + const o2 = this[e4.property]; + (0, j.hasConfigureFromModel)(o2) && (e4.audio ? i3.debug(`Configuring AudioViewModel from YAML key '${n4}'.`) : i3.debug(`Configuring expression from YAML key '${n4}': ${JSON.stringify(r4)}.`), o2.configureFromModel(r4, t3, i3)); + }), i3.currentPropertyName = void 0, c3 = true; + } catch (e5) { + i3.currentPropertyName = void 0; + const t4 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, o.sprintf)(d.configureFromModel.propertyConfigureFailed, n4, this.className, t4)); + } + if (c3) { + const t4 = null === (s2 = this.model) || void 0 === s2 ? void 0 : s2.id, n5 = null === (l2 = this.model) || void 0 === l2 ? void 0 : l2.trackingId, o2 = { objectType: "action", objectName: this.name || this.className, objectId: t4, trackingId: n5, viewModel: this, changeIndex: null !== (u2 = i3.currentChangeIndex) && void 0 !== u2 ? u2 : 0, property: e4.property, propertyDisplayName: (0, h.getActionPropertyDisplayName)(this, e4.property) }; + i3.consumeDeferSyncPropertySetActivity() ? i3.reportActivity((0, p.buildPropertyConfiguringActivityEvent)(o2)) : i3.reportActivity((0, _.buildPropertySetActivityEvent)(Object.assign(Object.assign({}, o2), { propertyValue: this._getPropertyDisplayValue(r4) }))); + } + } + } + _getPropertyDisplayValue(e3) { + let t3; + if ((0, M.isNullOrUndefined)(e3)) t3 = ""; + else if ((0, L.isString)(e3)) t3 = e3; + else if (a.default.isNumber(e3) || a.default.isBoolean(e3)) t3 = String(e3); + else if ((0, D.isArray)(e3)) t3 = `[${e3.length} items]`; + else if ((0, F.isObject)(e3)) { + const i3 = e3; + t3 = (0, L.isString)(i3.name) ? i3.name : (0, L.isString)(i3.id) ? i3.id : (0, L.isString)(i3.var) ? i3.var : (0, L.isString)(i3.lit) ? i3.lit : (0, L.isString)(i3.exp) ? i3.exp : JSON.stringify(e3); + } else t3 = String(e3); + return t3.length > 64 && (t3 = t3.substring(0, 64) + "\u2026"), t3; + } + _configureNestedActionsFromModel(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (t3 !== G.ModelFormat.FlowYaml && t3 !== G.ModelFormat.ChangeSet) return; + const n3 = e3.outputs; + if (!(0, B.isConfigureFromModelRecord)(n3)) return; + const r3 = n3; + for (const [e4, t4] of Object.entries(r3)) { + if (i3.isCancelled || !i3.continueProcessing) break; + "intents" !== e4 ? "paths" !== e4 && (0, B.isConfigureFromModelRecord)(t4) && (yield this._processOutputBranch(e4, t4, i3, `outputs[${e4}]`)) : this._claimsNestedOutputKey("intents") || i3.warn((0, o.sprintf)(d.configureFromModel.intentsUnderOutputsUnsupported, this.name || this.className)); + } + }); + } + _claimsNestedOutputKey(e3) { + return false; + } + _processOutputBranch(e3, t3, i3, r3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const n3 = this._resolveOrCreateOutputBranch(e3); + if (!(null == n3 ? void 0 : n3.isActionContainerViewModel)) return void i3.warn((0, o.sprintf)(d.configureFromModel.outputCouldNotResolve, e3, this.name || this.className)); + this._applyOutputEnabledFromModel(n3, e3, t3, i3); + const a2 = (0, U.getConfigureFromModelRecords)(t3.actions, i3, `${r3}.actions`); + a2 && (yield n3.appendActionsFromModel(void 0, a2, i3, r3)); + }); + } + _applyOutputEnabledFromModel(e3, t3, i3, n3) { + const r3 = i3.enabled; + if ("boolean" != typeof r3) return; + if (this.parentFlow.isReadOnly) return void n3.warn((0, o.sprintf)(d.configureFromModel.outputToggleReadOnly, t3, this.name || this.className, r3)); + const a2 = !r3; + e3.outOfService !== a2 && (r3 && e3.isUnavailable ? n3.warn((0, o.sprintf)(d.configureFromModel.outputUnavailableCannotEnable, t3, this.name || this.className)) : e3.outOfService = a2); + } + _resolveOrCreateOutputBranch(e3) { + const t3 = O.outputIds[e3]; + if (t3) { + const e4 = this.getBranch(t3); + if (e4) return e4; + } + const i3 = this.getBranchByLabel(e3, true); + if (i3) return i3; + const n3 = f.createBranchItemDynamic(this.id, e3, null, false); + return this.addOptionalBranchInfo(n3); + } getBranch(e3) { - return r2.default.findWhere(this.branches, { id: e3 }); + return a.default.findWhere(this.branches, { id: e3 }); } setBranchOutOfService(e3, t3) { const i3 = this.getBranch(e3); - return !!i3 && (i3.outOfService = !!r2.default.isUndefined(t3) || t3, true); + return !!i3 && (i3.outOfService = !!a.default.isUndefined(t3) || t3, true); } getBranchByLabel(e3, t3) { - return t3 ? r2.default.find(this.branches, function(t4) { + return t3 ? a.default.find(this.branches, function(t4) { return t4.label === e3 && "__" !== t4.id.substring(0, 2); - }) : r2.default.findWhere(this.branches, { label: e3 }); + }) : a.default.findWhere(this.branches, { label: e3 }); } getOptionalBranchInfoIndexByLabel(e3) { - return r2.default.findIndex(this.optionalBranchInfo, { label: e3 }); + return a.default.findIndex(this.optionalBranchInfo, { label: e3 }); } getOptionalBranchInfo(e3) { - if (e3) return r2.default.find(this.optionalBranchInfo, function(t3) { + if (e3) return a.default.find(this.optionalBranchInfo, function(t3) { return t3.outputId === e3; }); } getBranchInfo(e3) { - if (e3) return r2.default.find(this.branchInfos, function(t3) { + if (e3) return a.default.find(this.branchInfos, function(t3) { return t3.outputId === e3; - }) || r2.default.find(this.optionalBranchInfo, function(t3) { + }) || a.default.find(this.optionalBranchInfo, function(t3) { return t3.outputId === e3; }); } _initializeDesignTime() { - r2.default.each(this.managedPropertyViewModels, function(e3) { - r2.default.isFunction(e3.initializeDesignTime) && e3.initializeDesignTime(); - }), r2.default.each(this.branches, (e3) => e3.initializeDesignTime()), this.generateAudioExpression(), super._initializeDesignTime(); + a.default.each(this.managedPropertyViewModels, function(e3) { + a.default.isFunction(e3.initializeDesignTime) && e3.initializeDesignTime(); + }), a.default.each(this.branches, (e3) => e3.initializeDesignTime()), this.generateAudioExpression(), super._initializeDesignTime(); } propertyChanged(e3) { - r2.default.each(this._generatedAudioExpressions, function(t3) { - this.parentFlow.loaded && r2.default.find(t3.dependentProperties, function(t4) { + a.default.each(this._generatedAudioExpressions, function(t3) { + this.parentFlow.loaded && a.default.find(t3.dependentProperties, function(t4) { return e3.isExpression && e3.propertyName ? e3.propertyName === t4 : this[t4] === e3; }.bind(this)) && this.generateAudioExpression(t3); }.bind(this)); @@ -10933,7 +11746,7 @@ var require_scripting_bundle = __commonJS({ search(e3) { e3.checkId(this, this.id, this.name), e3.checkTrackingId(this, this.trackingId, this.name); const t3 = this.info.name; - e3.checkName(this, t3, D.action.action) || e3.checkName(this, this.name, D.action.action), r2.default.each(this.managedPropertyViewModels, function(t4) { + e3.checkName(this, t3, K.action.action) || e3.checkName(this, this.name, K.action.action), a.default.each(this.managedPropertyViewModels, function(t4) { e3.addToQueue(t4); }.bind(this)); } @@ -10949,7 +11762,7 @@ var require_scripting_bundle = __commonJS({ _getTopParent() { var e3, t3, i3, n3; let r3 = null !== (t3 = null === (e3 = this.parent) || void 0 === e3 ? void 0 : e3.topParent) && void 0 !== t3 ? t3 : this.parent; - for (; r3 && !r3.isTaskLike && !r3.isMenuChoice; ) o.error("topParent check fired unexpectedly"), r3 = null !== (n3 = null === (i3 = r3.parent) || void 0 === i3 ? void 0 : i3.topParent) && void 0 !== n3 ? n3 : r3.parent; + for (; r3 && !r3.isTaskLike && !r3.isMenuChoice; ) T.error("topParent check fired unexpectedly"), r3 = null !== (n3 = null === (i3 = r3.parent) || void 0 === i3 ? void 0 : i3.topParent) && void 0 !== n3 ? n3 : r3.parent; return r3; } _setTopParent() { @@ -10962,7 +11775,7 @@ var require_scripting_bundle = __commonJS({ return this.model.trackingId; } set trackingId(e3) { - this.model.trackingId = e3, this.updateTraceTopic(); + b.setNodeTrackingId(this, e3); } get uiMetaData() { return this.model.uiMetaData; @@ -10975,63 +11788,63 @@ var require_scripting_bundle = __commonJS({ for (let e3 = this.branches.length - 1; e3 >= 0; e3--) { const t3 = this.branches[e3]; try { - t3 && r2.default.isFunction(t3.destroy) && !t3.isDestroyedOrDestroying && t3.destroy(); + t3 && a.default.isFunction(t3.destroy) && !t3.isDestroyedOrDestroying && t3.destroy(); } catch (e4) { this.topic.exception(e4, "Failed to destroy branch. Continuing to destroy other branches."); } } - this.branches.length = 0, this.previousAction = null, this._nextAction = null, r2.default.each(this.managedPropertyViewModels, (e3) => { + this.branches.length = 0, this.previousAction = null, this._nextAction = null, a.default.each(this.managedPropertyViewModels, (e3) => { e3.destroy(); - }), r2.default.each(P.getManagedProperties(this), (e3) => { + }), a.default.each(Q.getManagedProperties(this), (e3) => { this[e3.property] && delete this[e3.property]; }); } _preDestroy() { - super._preDestroy(), this.amObjectEventSink && c.unregisterEventSink(this), this.amObjectEventEmitter && c.removeEventEmitter(this), a.unRegisterConsumerEntirely(this), f.actionRegistrationService.unregisterItem(this); + super._preDestroy(), this.amObjectEventSink && v.unregisterEventSink(this), this.amObjectEventEmitter && v.removeEventEmitter(this), y.unRegisterConsumerEntirely(this), g.actionRegistrationService.unregisterItem(this); } _postDestroy() { var e3; - super._postDestroy(), (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.isDestroyedOrDestroying) || s.emitter.emit(s.actionDestroyed); + super._postDestroy(), (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.isDestroyedOrDestroying) || l.emitter.emit(l.actionDestroyed); } updateDependencies() { - r2.default.each(this.managedPropertyViewModels, function(e3) { - e3.isExpression ? a.registerExpression(e3, true) : e3.updateDependencies(); + a.default.each(this.managedPropertyViewModels, function(e3) { + e3.isExpression ? y.registerExpression(e3, true) : e3.updateDependencies(); }.bind(this)); } validate(e3) { var t3, i3; - super.validate(e3), this._validateAvailability(e3) && (r2.default.each(this.managedPropertyViewModels, function(t4) { - !t4.__isGeneratedPrompt && r2.default.isFunction(t4.validate) && (t4.validate(e3), (0, A.isBaseExpression)(t4) && t4.doConfigCheck(e3)); - }), !this.info.canBeInTask && this.topParent.isTaskLike && e3.addError(this, D.errors.actionCannotBeInTask), r2.default.each(this._generatedAudioExpressions, function(t4) { - if (!r2.default.find(t4.dependentProperties, function(e4) { + super.validate(e3), this._validateAvailability(e3) && (a.default.each(this.managedPropertyViewModels, function(t4) { + !t4.__isGeneratedPrompt && a.default.isFunction(t4.validate) && (t4.validate(e3), (0, P.isBaseExpression)(t4) && t4.doConfigCheck(e3)); + }), !this.info.canBeInTask && this.topParent.isTaskLike && e3.addError(this, K.errors.actionCannotBeInTask), a.default.each(this._generatedAudioExpressions, function(t4) { + if (!a.default.find(t4.dependentProperties, function(e4) { return !this[e4] || this[e4].hasError; }.bind(this)) && (!this.isReadOnly || t4.expression.defaultAudio.customExpressionMode) && t4.audioSequencer.canBuildExpression(t4.getPlaybackMode.call(this), e3)) { - const i4 = new C.default(this.parentFlow, e3.isDeep); - t4.expression.validate(i4), t4.expression.hasError && e3.addError(this, D.expression.internalErrorExpression); + const i4 = new x.default(this.parentFlow, e3.isDeep); + t4.expression.validate(i4), t4.expression.hasError && e3.addError(this, K.expression.internalErrorExpression); } - }.bind(this)), this.parentFlow.isCommonModuleFlow && S.flowTypes.hasVxmlgenFlowType(this.parentFlow.destinationFlowTypes) && S.flowTypes.hasAutomateFlowType(this.parentFlow.destinationFlowTypes) && ((null === (i3 = null === (t3 = this.previousAction) || void 0 === t3 ? void 0 : t3.info) || void 0 === i3 ? void 0 : i3.typeId) === v.transferPureMatchActionType ? e3.addWarning(this, D.commonModule.subsequentActionsExecutableOnlyIfEmbeddingFlowIsCallFlow) : this.getParentingFlowElementByIdOrNodeInfoId([v.transferPureMatchActionType], true) && e3.addWarning(this, D.commonModule.actionExecutableOnlyIfEmbeddingFlowIsCallFlow))); + }.bind(this)), this.parentFlow.isCommonModuleFlow && r2.flowTypes.hasVxmlgenFlowType(this.parentFlow.destinationFlowTypes) && r2.flowTypes.hasAutomateFlowType(this.parentFlow.destinationFlowTypes) && ((null === (i3 = null === (t3 = this.previousAction) || void 0 === t3 ? void 0 : t3.info) || void 0 === i3 ? void 0 : i3.typeId) === E.transferPureMatchActionType ? e3.addWarning(this, K.commonModule.subsequentActionsExecutableOnlyIfEmbeddingFlowIsCallFlow) : this.getParentingFlowElementByIdOrNodeInfoId([E.transferPureMatchActionType], true) && e3.addWarning(this, K.commonModule.actionExecutableOnlyIfEmbeddingFlowIsCallFlow))); } _reloadAllBranches() { - w.loadBranches(this); + z.loadBranches(this); for (let e3 = 0; e3 < this.branches.length; e3++) this.branches[e3].initialize(); } _addBranch(e3) { - const t3 = w.addBranch(this, e3); - return t3 && t3.initialize(), this.updateTermination(), s.emitter.emit(s.branchesChanged), t3; + const t3 = z.addBranch(this, e3); + return t3 && t3.initialize(), this.updateTermination(), l.emitter.emit(l.branchesChanged), t3; } _removeBranch(e3) { - w.removeBranch(this, e3), this.updateTermination(), s.emitter.emit(s.branchesChanged); + z.removeBranch(this, e3), this.updateTermination(), l.emitter.emit(l.branchesChanged); } _validateAvailability(e3) { let t3 = false; const i3 = this.parentFlow.destinationFlowTypes.filter((e4) => !this.info.isAvailableForFlowType(e4, true)); - return (null == i3 ? void 0 : i3.length) && (e3.addError(this, (0, O.sprintf)(D.commonModule.actionNotSupportedForFlowTypes, this.info.name, p.getFlowTypesDisplayString(i3))), t3 = true), t3 || (t3 = this.parentFlow.destinationFlowTypes.some((e4) => !this.info.passesAvailabilityCallback(e4, this.topParent, this.topParent.isTaskLike)), t3 && e3.addError(this, (0, O.sprintf)(D.errors.actionNotValidHere))), this.parentFlow.destinationFlowTypes.forEach((i4) => { - this.info.isDeprecatedForFlowType(i4) && (e3.addWarning(this, (0, O.sprintf)(D.action.actionIsDeprecated, this.info.name)), t3 = true); - }), t3 || r2.default.each(this.info.requirements.featuresToggles, (i4) => { - if (u.isDisabled(i4)) { - let i5 = D.features.missingFeatureError; + return (null == i3 ? void 0 : i3.length) && (e3.addError(this, (0, o.sprintf)(K.commonModule.actionNotSupportedForFlowTypes, this.info.name, I.getFlowTypesDisplayString(i3))), t3 = true), t3 || (t3 = this.parentFlow.destinationFlowTypes.some((e4) => !this.info.passesAvailabilityCallback(e4, this.topParent, this.topParent.isTaskLike)), t3 && e3.addError(this, (0, o.sprintf)(K.errors.actionNotValidHere))), this.parentFlow.destinationFlowTypes.forEach((i4) => { + this.info.isDeprecatedForFlowType(i4) && (e3.addWarning(this, (0, o.sprintf)(K.action.actionIsDeprecated, this.info.name)), t3 = true); + }), t3 || a.default.each(this.info.requirements.featuresToggles, (i4) => { + if (N.isDisabled(i4)) { + let i5 = K.features.missingFeatureError; const n3 = this.parentFlow.info.flowTypeName; - i5 = (0, O.sprintf)(i5, this.info.name, n3), e3.addError(this, i5), t3 = true; + i5 = (0, o.sprintf)(i5, this.info.name, n3), e3.addError(this, i5), t3 = true; } }), !t3; } @@ -11045,29 +11858,29 @@ var require_scripting_bundle = __commonJS({ this._resetParent(e3); } checkVersion(e3) { - e3.checkVersion(this.version), e3.checkFeatures(this.info.requirements), r2.default.each(this.managedPropertyViewModels, function(t3) { + e3.checkVersion(this.version), e3.checkFeatures(this.info.requirements), a.default.each(this.managedPropertyViewModels, function(t3) { t3.checkVersion(e3); }.bind(this)); } get containedActionCount() { if (!this.branches || 0 === this.branches.length) return 0; let e3 = 0; - return r2.default.each(this.branches, function(t3) { + return a.default.each(this.branches, function(t3) { e3 += t3.containedActionCount; }), e3; } containsAudioForLang(e3) { const t3 = this.getAudioNodes(); - return 0 !== t3.length && !!r2.default.find(t3, function(t4) { + return 0 !== t3.length && !!a.default.find(t3, function(t4) { const i3 = t4.getCaseForLang(e3); if (i3 && i3.hasAudioSet || t4.defaultAudio.hasAudioSet) return true; }); } generateAudioExpression() { - r2.default.each(this._generatedAudioExpressions, function(e3) { - if (r2.default.find(e3.dependentProperties, function(e4) { + a.default.each(this._generatedAudioExpressions, function(e3) { + if (a.default.find(e3.dependentProperties, function(e4) { return !this[e4] || this[e4].hasError; - }.bind(this))) e3.expression && (e3.expression.defaultAudio.customExpressionMode = true, e3.expression.defaultAudio.setText("", true), r2.default.each(e3.expression.cases, function(e4) { + }.bind(this))) e3.expression && (e3.expression.defaultAudio.customExpressionMode = true, e3.expression.defaultAudio.setText("", true), a.default.each(e3.expression.cases, function(e4) { e4.audioExpression.customExpressionMode = true, e4.audioExpression.setText("", true); })); else if (e3.audioSequencer.canBuildExpression(e3.getPlaybackMode.call(this))) { @@ -11077,7 +11890,7 @@ var require_scripting_bundle = __commonJS({ }.bind(this)); } getAudioNodes() { - return this.parent.isSubMenu ? [this.menu.prompts] : r2.default.where(this.managedPropertyViewModels, { isAudioViewModel: true }); + return this.parent.isSubMenu ? [this.menu.prompts] : a.default.where(this.managedPropertyViewModels, { isAudioViewModel: true }); } getNextTaskRuntimeAction() { if (this.topParent.isTaskLike) { @@ -11090,14 +11903,14 @@ var require_scripting_bundle = __commonJS({ getPromptsUsed(e3) { let t3 = []; const i3 = this.getAudioNodes(); - if (i3.length > 0) for (let n3 = 0; n3 < i3.length; n3++) t3 = r2.default.union(t3, i3[n3].getPromptsUsedForLang(e3)); + if (i3.length > 0) for (let n3 = 0; n3 < i3.length; n3++) t3 = a.default.union(t3, i3[n3].getPromptsUsedForLang(e3)); return t3; } get hasBranchWithError() { - return !!r2.default.findWhere(this.branches, { hasValidationError: true }); + return !!a.default.findWhere(this.branches, { hasValidationError: true }); } get hasBranchWithWarning() { - return !!r2.default.findWhere(this.branches, { hasValidationWarning: true }); + return !!a.default.findWhere(this.branches, { hasValidationWarning: true }); } initialize() { super.initialize(); @@ -11105,8 +11918,8 @@ var require_scripting_bundle = __commonJS({ this.updateTermination(true); } setNewInstanceDefaults(e3) { - r2.default.each(this.managedPropertyViewModels, function(e4) { - r2.default.isFunction(e4.setNewInstanceDefaults) && e4.setNewInstanceDefaults(); + a.default.each(this.managedPropertyViewModels, function(e4) { + a.default.isFunction(e4.setNewInstanceDefaults) && e4.setNewInstanceDefaults(); }); } get isAction() { @@ -11116,7 +11929,7 @@ var require_scripting_bundle = __commonJS({ console.log(this.name, this.previousAction ? this.previousAction.name : void 0, this.nextAction ? this.nextAction.name : void 0), this.nextAction && this.nextAction.log(); } resetTermination() { - r2.default.each(this.branches, function(e3) { + a.default.each(this.branches, function(e3) { e3.resetTermination(); }); } @@ -11134,71 +11947,71 @@ var require_scripting_bundle = __commonJS({ return `Action: ${super.toString()}`; } traverse(e3) { - e3.traverseActionProperties && (r2.default.find(this.managedPropertyViewModels, function(t3) { + e3.traverseActionProperties && (a.default.find(this.managedPropertyViewModels, function(t3) { if (t3 && t3.traverse) return t3.traverse(e3), e3.isCanceled; - }.bind(this)), e3.isCanceled || r2.default.find(this.branches, function(t3) { + }.bind(this)), e3.isCanceled || a.default.find(this.branches, function(t3) { if (t3 && t3.traverse) return t3.traverse(e3), e3.isCanceled; }.bind(this))); } updateTermination(e3) { const t3 = this.terminatesTaskOrFlow, i3 = this.terminatesLoop, n3 = this.hasBranchTerminatingWithEndTask; - let o2 = []; - const a2 = 1 === this.branches.length && this.branches[0].id === N.outputIds.fake; - if (this.branches.length > 1 || 1 === this.branches.length && !a2) { + let r3 = []; + const o2 = 1 === this.branches.length && this.branches[0].id === O.outputIds.fake; + if (this.branches.length > 1 || 1 === this.branches.length && !o2) { let e4 = 0, t4 = false; const i4 = {}; - if (r2.default.each(this.branches, (n4) => { + if (a.default.each(this.branches, (n4) => { if (!n4.outOfService && n4.branchInfo.isActionInternal && n4.branchInfo.canTerminate) { e4++; - const r3 = n4.terminatesTaskOrFlow; - i4[n4.id] = r3, r3 && (t4 = true); + const r4 = n4.terminatesTaskOrFlow; + i4[n4.id] = r4, r4 && (t4 = true); } }), t4) this.allBranchesTerminate = true; else if (e4 && e4 === this.branches.length) this.allBranchesTerminate = false; else { - const e5 = r2.default.filter(this.branches, (e6) => !e6.outOfService); - e5.length ? this.allBranchesTerminate = r2.default.every(e5, (e6) => !!e6.branchInfo.isActionInternal || !!e6.terminatesTaskOrFlow && (e6.terminatingLabel ? o2.push(e6.terminatingLabel) : e6.terminatingAction.isLoopAcion && this.topic.error("Have a terminating branch with no label. branch-id:{} - {}", e6.id, e6.parent.toString()), true)) : this.allBranchesTerminate = false; + const e5 = a.default.filter(this.branches, (e6) => !e6.outOfService); + e5.length ? this.allBranchesTerminate = a.default.every(e5, (e6) => !!e6.branchInfo.isActionInternal || !!e6.terminatesTaskOrFlow && (e6.terminatingLabel ? r3.push(e6.terminatingLabel) : e6.terminatingAction.isLoopAcion && this.topic.error("Have a terminating branch with no label. branch-id:{} - {}", e6.id, e6.parent.toString()), true)) : this.allBranchesTerminate = false; } } else this.allBranchesTerminate = false; - this.allBranchesTerminate ? (o2 = r2.default.uniq(o2), this._terminatingLabel = 1 === o2.length ? o2[0] : o2.length > 1 ? this.topParent.isState ? D.state.endStateOrFlow : D.task.endTaskOrFlow : void 0) : this._terminatingLabel = void 0, this.terminatesTaskOrFlow = this.terminationInfo.isNonLoopTerminating || this.allBranchesTerminate, this.terminatesLoop = this.terminationInfo.terminatesLoop || this.branches.length > 0 && !a2 && r2.default.every(this.branches, function(e4) { - return e4.id !== N.outputIds.loop && e4.id !== N.outputIds.fake && e4.terminatesLoop; + this.allBranchesTerminate ? (r3 = a.default.uniq(r3), this._terminatingLabel = 1 === r3.length ? r3[0] : r3.length > 1 ? this.topParent.isState ? K.state.endStateOrFlow : K.task.endTaskOrFlow : void 0) : this._terminatingLabel = void 0, this.terminatesTaskOrFlow = this.terminationInfo.isNonLoopTerminating || this.allBranchesTerminate, this.terminatesLoop = this.terminationInfo.terminatesLoop || this.branches.length > 0 && !o2 && a.default.every(this.branches, function(e4) { + return e4.id !== O.outputIds.loop && e4.id !== O.outputIds.fake && e4.terminatesLoop; }), this.hasBranchTerminatingWithEndTask = !!this.branches.find((e4) => e4.hasBranchTerminatingWithEndTask), e3 || this.terminatesLoop === i3 && this.terminatesTaskOrFlow === t3 && this.hasBranchTerminatingWithEndTask === n3 || this.parent.updateTermination(); } get version() { - return R.one.zero; + return $.one.zero; } static getManagedProperties(e3) { - return d.getManagedProperties(e3); + return u.getManagedProperties(e3); } updateTraceTopic() { var e3; - const t3 = h.getTopic(this.info.typeId); + const t3 = s.getTopic(this.info.typeId); this.topic = this.model ? t3.withMultipleContext(Object.assign({ actionId: this.id, trackingId: this.trackingId, infoName: null === (e3 = this.info) || void 0 === e3 ? void 0 : e3.name }, this.parentFlow.topic.context)) : t3; } _ensureUiMetaData() { this.model.uiMetaData || (this.model.uiMetaData = {}); } _validateTargetFlowInfoLanguages(e3, t3, i3) { - var n3, o2, a2; + var n3, r3, s2; if (!this.parentFlow.definition.supportsLanguages || !t3) return; if (!(null === (n3 = t3.definition) || void 0 === n3 ? void 0 : n3.supportsLanguages)) return; - const s2 = null === (a2 = null === (o2 = this.parentFlow) || void 0 === o2 ? void 0 : o2.languages) || void 0 === a2 ? void 0 : a2.supportedLanguagesViewModels, l2 = null == t3 ? void 0 : t3.supportedLanguages, u2 = []; - if (r2.default.isArray(l2) && r2.default.each(l2, (e4) => { - r2.default.isUndefined(r2.default.find(s2, (t4) => e4.language === t4.idExpressionText)) && u2.push(e4.language); - }), i3 && u2.length) { - const i4 = _.getLanguageNameAndCodeDisplay(u2); - return void e3.addError(this, (0, O.sprintf)(1 === u2.length ? D.languages.targetFlowSupportedLanguageNotSupportedInCallingFlow : D.languages.targetFlowSupportedLanguageNotSupportedInCallingFlowMoreThanOne, i4, t3.displayName)); - } - if (!r2.default.isArray(l2)) return; - const d2 = []; - if (r2.default.each(s2, (e4) => { - r2.default.isUndefined(r2.default.find(l2, (t4) => (null == t4 ? void 0 : t4.language) === e4.idExpressionText)) && d2.push(e4.idExpressionText); - }), !d2.length) return; - const c2 = r2.default.find(l2, (e4) => e4.isDefault); - let p2; - r2.default.isObject(c2) && r2.default.isString(c2.language) && (p2 = (0, O.sprintf)(D.languages.flowRunsInDefaultLanguageIfInvokedWithUnsupportedLanguage, t3.displayName, _.getLanguageNameAndCodeDisplay(c2.language))); - const h2 = _.getLanguageNameAndCodeDisplay(d2), m2 = (0, O.sprintf)(1 === d2.length ? D.languages.flowSupportedLanguageNotSupportedInTargetFlow : D.languages.flowSupportedLanguageNotSupportedInTargetFlowMoreThanOne, h2, t3.displayName); - e3.addWarning(this, p2 ? (0, O.sprintf)(I.default.generic.twoStringsSpaceSeparator, m2, p2) : m2); + const l2 = null === (s2 = null === (r3 = this.parentFlow) || void 0 === r3 ? void 0 : r3.languages) || void 0 === s2 ? void 0 : s2.supportedLanguagesViewModels, u2 = null == t3 ? void 0 : t3.supportedLanguages, d2 = []; + if (a.default.isArray(u2) && a.default.each(u2, (e4) => { + a.default.isUndefined(a.default.find(l2, (t4) => e4.language === t4.idExpressionText)) && d2.push(e4.language); + }), i3 && d2.length) { + const i4 = C.getLanguageNameAndCodeDisplay(d2); + return void e3.addError(this, (0, o.sprintf)(1 === d2.length ? K.languages.targetFlowSupportedLanguageNotSupportedInCallingFlow : K.languages.targetFlowSupportedLanguageNotSupportedInCallingFlowMoreThanOne, i4, t3.displayName)); + } + if (!a.default.isArray(u2)) return; + const p2 = []; + if (a.default.each(l2, (e4) => { + a.default.isUndefined(a.default.find(u2, (t4) => (null == t4 ? void 0 : t4.language) === e4.idExpressionText)) && p2.push(e4.idExpressionText); + }), !p2.length) return; + const _2 = a.default.find(u2, (e4) => e4.isDefault); + let h2; + a.default.isObject(_2) && a.default.isString(_2.language) && (h2 = (0, o.sprintf)(K.languages.flowRunsInDefaultLanguageIfInvokedWithUnsupportedLanguage, t3.displayName, C.getLanguageNameAndCodeDisplay(_2.language))); + const m2 = C.getLanguageNameAndCodeDisplay(p2), g2 = (0, o.sprintf)(1 === p2.length ? K.languages.flowSupportedLanguageNotSupportedInTargetFlow : K.languages.flowSupportedLanguageNotSupportedInTargetFlowMoreThanOne, m2, t3.displayName); + e3.addWarning(this, h2 ? (0, o.sprintf)(c.default.generic.twoStringsSpaceSeparator, g2, h2) : g2); } get wrappedYamlName() { return this.info.getWrappedYamlName(this.parent.isMenuChoice, this.isSubMenuActionViewModel); @@ -11209,7 +12022,7 @@ var require_scripting_bundle = __commonJS({ return this.info.id; } } - t2.default = P; + Q.WELL_KNOWN_YAML_KEYS = /* @__PURE__ */ new Set(["refId", "name", "outputs", "trackingId"]), t2.default = Q; }, 5797: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.delay = void 0; @@ -11239,8 +12052,8 @@ var require_scripting_bundle = __commonJS({ }; }, 5828: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(43700), a = i2(80428), s = i2(41136), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(43700), a = i2(80428), s = i2(41136), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -11248,7 +12061,7 @@ var require_scripting_bundle = __commonJS({ return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findGrammar.findGrammarNameLabel, searchResultLabel: d.findActions.findGrammar.findGrammarResultLabel, searchResultExpressionOptions: o.ExpressionTypeGrammarOptions.create(), searchResultItemType: a.expressionTypeNames.grammar }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findGrammar, modelClass: s.FindGrammarActionModel, name: d.actions.findGrammar, scriptingName: "ArchActionFindGrammar" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findGrammar, modelClass: s.FindGrammarActionModel, name: d.actions.findGrammar, scriptingName: "ArchActionFindGrammar", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 5868: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -11319,10 +12132,10 @@ var require_scripting_bundle = __commonJS({ }, 6035: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(14187)), a = i2(84464), s = i2(96353), l = i2(24235), u = n2.__importDefault(i2(95955)), d = n2.__importDefault(i2(39521)), c = n2.__importDefault(i2(73198)), p = n2.__importDefault(i2(81948)), _ = i2(30801), h = n2.__importDefault(i2(99025)), m = i2(47957), g = i2(59684); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(14187)), a = i2(84464), s = i2(96353), l = i2(24235), u = n2.__importDefault(i2(95955)), c = n2.__importDefault(i2(39521)), d = n2.__importDefault(i2(73198)), p = n2.__importDefault(i2(81948)), _ = i2(30801), h = n2.__importDefault(i2(99025)), m = i2(47957), g = i2(59684); class f extends p.default { constructor(e3) { - super(e3), this.callPrompts = new u.default(this), this.errorHandling = new d.default(this), this.speechRecognition = new h.default(this), this._addToAutoManageSettings(this.callPrompts), this._addToAutoManageSettings(this.errorHandling), this._addToAutoManageSettings(this.speechRecognition); + super(e3), this.callPrompts = new u.default(this), this.errorHandling = new c.default(this), this.speechRecognition = new h.default(this), this._addToAutoManageSettings(this.callPrompts), this._addToAutoManageSettings(this.errorHandling), this._addToAutoManageSettings(this.speechRecognition); } buildConfiguration(e3, t3, i3) { return e3 = super.buildConfiguration(e3, t3, i3), (null == i3 ? void 0 : i3.isForFlowYaml) || (this.initialPrompts && this.initialPrompts.model && (e3.initialPrompts = this.initialPrompts.getConfiguration(e3, i3)), e3.isSecure = this.consumesSecureData), e3; @@ -11346,7 +12159,7 @@ var require_scripting_bundle = __commonJS({ this.initialPrompts.updateDependencies(), super.updateDependencies(); } speechRecEnabled() { - return this.speechRecognition && this.speechRecognition.disableAsr && this.speechRecognition.disableAsr.text === c.default.false; + return this.speechRecognition && this.speechRecognition.disableAsr && this.speechRecognition.disableAsr.text === d.default.false; } validate(e3) { const t3 = super.validate(e3); @@ -11471,7 +12284,7 @@ var require_scripting_bundle = __commonJS({ }, 6099: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowSizeViewModel = void 0; - const n2 = i2(31635), r2 = i2(79364), o = i2(17604), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(46920)), u = i2(51818), d = i2(51818), c = n2.__importStar(i2(58380)), p = n2.__importStar(i2(66381)), _ = n2.__importStar(i2(1115)), h = i2(12179), m = n2.__importDefault(i2(17102)), g = i2(47957); + const n2 = i2(31635), r2 = i2(79364), o = i2(17604), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(46920)), u = i2(51818), c = i2(51818), d = n2.__importStar(i2(58380)), p = n2.__importStar(i2(66381)), _ = n2.__importStar(i2(1115)), h = i2(12179), m = n2.__importDefault(i2(17102)), g = i2(47957); class f extends m.default { constructor(e3) { super(e3), this.flowSizeDetails$ = new r2.BehaviorSubject(void 0), this._lastUpdatedFlowSize = 0, this.isFlowSizeNode = true; @@ -11498,7 +12311,7 @@ var require_scripting_bundle = __commonJS({ return this._lastUpdatedFlowSize; } set lastUpdatedFlowSize(e3) { - this._lastUpdatedFlowSize = e3, c.fireEvent(this.parentFlow, s.lastUpdatedFlowSizeChanged); + this._lastUpdatedFlowSize = e3, d.fireEvent(this.parentFlow, s.lastUpdatedFlowSizeChanged); } checkUnderSaveSize() { if (this.parentFlow.isEmbeddedFlow) return void a.error("should not be calling this on an embedded flow"); @@ -11506,7 +12319,7 @@ var require_scripting_bundle = __commonJS({ return e3.results = !this.lastUpdatedFlowSize || this.lastUpdatedFlowSize < this.parentFlow.definition.maxFlowSize, e3.results || (e3.displayString = g.flow.tooLarge, e3.displayName = g.flow.sizeRestriction), e3; } processFlowSizeEvent(e3) { - const t3 = (0, u.calculateFlowSizePercentage)(e3.data.size, this.parentFlow), i3 = (0, d.getFlowSizeThreshold)(t3), n3 = t3 < 1 ? 1 : t3, r3 = { type: i3.type, label: (0, o.sprintf)(g.flow.flowSizeWarningWithPercentage, i3.label, n3), description: i3.label, percent: n3, size: e3.data.size }; + const t3 = (0, u.calculateFlowSizePercentage)(e3.data.size, this.parentFlow), i3 = (0, c.getFlowSizeThreshold)(t3), n3 = t3 < 1 ? 1 : t3, r3 = { type: i3.type, label: (0, o.sprintf)(g.flow.flowSizeWarningWithPercentage, i3.label, n3), description: i3.label, percent: n3, size: e3.data.size }; this.flowSizeDetails$.next(r3), this.lastUpdatedFlowSize = e3.data.size, this.parentFlow.isValidating || _.validateItem(this.parentFlow, false, true); } validateSize(e3) { @@ -11521,12 +12334,12 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowListManager = void 0; const n2 = i2(31635), r2 = i2(69706), o = n2.__importDefault(i2(98114)), a = n2.__importDefault(i2(90396)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(37345); - class d extends s.default { + class c extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.flowView; } constructor() { - super(), this.apiCallList = u.getFlows, this.apiCallSingle = u.getFlow, this.isFlowListManager = true, this.hideDeletedItems = true; + super(), this.apiCallList = u.getFlows, this.apiCallSingle = u.getFlow, this.isFlowListManager = true, this.hideDeletedItems = true, this.searchWordSplitWildcard = true; } get dependencyContext() { return this._dependencyContext || (this._dependencyContext = o.default.getFlowTypeDisplayName(this.flowType)), this._dependencyContext; @@ -11541,18 +12354,18 @@ var require_scripting_bundle = __commonJS({ return new a.default(e3); } } - t2.FlowListManager = d; + t2.FlowListManager = c; }, 6142: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "That is not valid.", noInputReceived: "I did not receive any input." }, askForBoolean: { noInput: `Say "yes" if you want to proceed or "no" if you don't.`, noMatch: 'Please say "yes" or "no". Do you want to proceed?', question: "Do you want to proceed?", noInputDigitalBot: `Input "Yes" if you want to proceed or "No" if you don't.`, noMatchDigitalBot: 'Please input "Yes" or "No". Do you want to proceed?' }, askForIntent: { noInput: 'Just speak a short sentence that describes your query. For example, "Check my account balance"', noMatch: "Tell me again what you would like to do.", question: "What would you like to do?", noInputDigitalBot: 'Please enter a short sentence that describes your query. For example, "Check my account balance"' }, askForSlot: { askFor: "Ask for %1$s", noInput: "Please say or enter the (please put your slot name here).", noInputWithSlot: "Please say or enter the %1$s.", noMatch: "Please give me the (please put your slot name here) again.", noMatchWithSlot: "Please give me the %1$s again.", question: "What is the (please put your slot name here)?", questionWithSlot: "What is the %1$s?", pleaseEnterSlotNameHere: "(please put your slot name here)", noInputDigitalBot: "Please enter the (please put your slot name here).", noInputWithSlotDigitalBot: "Please enter the %1$s.", continuationPromptWithSlot: "I got {{Slot.%1$s}} so far, please continue." }, askForNextSlot: { noInput: 'Say "yes" if you have another query, or "no" to end the call.', noMatch: 'Say "yes" if you have another query, or "no" to end the session.', question: "Is there anything else I can help you with?", noInputDigitalBot: 'Input "Yes" if you have another query, or "No" to end the session.', noMatchDigitalBot: 'Input "Yes" if you have another query, or "No" to end the session.' }, askForPayment: { noInputDigitalBot: "Please provide your payment information to continue.", noMatchDigitalBot: "I didn't understand your response. Please try again." }, askForAuthentication: { noInputDigitalBot: "Please provide your authentication information to continue.", noMatchDigitalBot: "I didn't understand your response. Please try again." }, askSurveyQuestion: { notApplicable: "Not Applicable", surveyAnswerOptionSequence: "Press %1$s for '%2$s'.", surveyAnswerNotApplicableSequence: "Press star for Not Applicable.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Press star for Not Applicable.", voiceSurveyNoInputText: "Please answer the question.", voiceSurveyNoMatchText: "I didn't understand you." }, commonModule: { exitCommonModule: "Exit Common Module" }, form: { noInputDigitalBot: "Please complete the form to continue.", noMatchDigitalBot: "Please complete the form to continue." }, messagingTemplate: { noInputDigitalBot: "Please select one of the available options.", noMatchDigitalBot: "Please select one of the available options." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Continue", knowledgeAnswerHighlightFullArticleDefault: "View Full Article", knowledgeInitialResponseMulti: "To help me clarify your goal, please choose a number from the following list:", knowledgeInitialResponseMultiRetry: "Please choose a number, for example '1'.\nHere's the list of options again:", knowledgeNoMatch: "None of these", knowledgeConfirmation: "Did this answer your question?", knowledgeFollowup: "I hope I answered your question. You can ask anything else you might want to know." }, noOverlay: { intent: { intentConfirmationStr1: "I think you want to", intentConfirmationStr2: "Is that correct?" }, youSaid: { youSaidConfirmationStr1: "You said", youSaidConfirmationStr2: "Is that correct?", youSaidConfirmationStr1DigitalBot: "You entered" }, noInput: { noInputStr1: "Please say or enter the", noInputStr1DigitalBot: "Please enter the" }, noMatch: { noMatchStr1: "Please give me the" }, whatIs: { whatIsQuestionStr1: "What is the", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "I got", iGotContinuationStr2: "so far, please continue." } }, defaultCallFlowOne: "Default Call Flow", errorHandlingAgentEscalationConfirmation: "You want to speak to an advisor. Is that correct?", errorHandlingAgentEscalationHandover: "One moment, please, and I will put you through to someone.", errorHandlingErrorEventHandover: "Sorry, an error occurred. One moment, please, while I put you through to someone who can help.", errorHandlingErrorEventHandoverVoiceSurvey: "Sorry, an error occurred. Goodbye.", errorHandlingRecognitionEventHandover: "Sorry, I'm having trouble understanding you. One moment, please, while I put you through to someone who can help.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Sorry, I'm having trouble understanding you. Goodbye.", errorHandlingTTS: "Sorry, an error occurred. Please try your call again.", initialGreetingTTS: "Hello, this is the initial greeting.", initialState: "Initial State", initialBotState: "Default Bot", initialDigitalBotState: "Initial Greeting", initialSurveyBotState: "Survey Bot", intentConfirmation: "I think you want to %1$s, is that correct?", mainMenu: "Main Menu", mainMenuTTS: "You are at the Main Menu, press 9 to disconnect", mainTask: "Task", settingsConfirmationNoInputApology: "Sorry, I didn't hear you. Please say yes or no.", settingsConfirmationNoInputApologyDigitalBot: `Sorry, I didn't receive any input from you. Please input "Yes" or "No".`, settingsConfirmationNoMatchApology: "Sorry, please say yes or no.", settingsConfirmationNoMatchApologyDigitalBot: 'Sorry, please input "Yes" or "No".', settingsNoInputApology: "Sorry, I didn't hear you.", settingsNoInputApologyDigitalBot: "Sorry, I didn't receive any input from you.", settingsEndOfSessionMessageDigitalBot: "I have not heard from you in a while, so I am closing this chat, please come back if you need my help again. Thank you.", settingsNoMatchApology: "Sorry.", settingsNoToConfirmationApology: "My mistake.", periodicStateName: "Recurring State" }; }, 6174: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(30785)), s = i2(47957); - class l extends a.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(30785)), s = n2.__importDefault(i2(4648)), l = i2(47957); + class u extends a.default { constructor(e3, t3) { super(e3), this._loadModel(t3); } } - l.info = o.default.createActionInfo({ actionClass: l, canBeInTask: true, helpTopic: r2.helpTopics.actions.setAttributes, modelClass: i2(89844), name: s.actions.setAttributes, scriptingName: "ArchActionSetParticipantData" }), t2.A = l; + u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: r2.helpTopics.actions.setAttributes, modelClass: i2(89844), name: l.actions.setAttributes, scriptingName: "ArchActionSetParticipantData", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; }, 6209: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -11588,6 +12401,54 @@ var require_scripting_bundle = __commonJS({ } } t2.MessagingTemplateViewModel = r2; + }, 6236: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createFlowFromFlowYamlFileContent = function(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const n3 = new d.Parser().parse(e3); + if (n3.errors.length > 0) { + const e4 = n3.errors.map((e5) => e5.message).join("; "); + return t3.error((0, r2.sprintf)(p.createFromModel.yamlParseFailure, e4)), { success: false }; + } + return _(n3.json, a.ModelFormat.FlowYaml, t3, i3); + }); + }, t2.createFlowFromModel = _; + const n2 = i2(31635), r2 = i2(17604), o = i2(43330), a = i2(43330), s = i2(95465), l = i2(33573), u = i2(60526), c = i2(14553), d = i2(22303), p = i2(69453); + function _(e3, t3, i3, a2) { + return n2.__awaiter(this, void 0, void 0, function* () { + const t4 = u.FlowTypeResolver.detectFromJson(e3); + if (!t4) return i3.error(p.createFromModel.noFlowTypeDetected), { success: false }; + const n3 = u.FlowTypeResolver.resolve(t4); + if (!n3) return i3.error((0, r2.sprintf)(p.createFromModel.unrecognizedFlowType, t4)), { success: false }; + const d2 = e3[t4]; + if (!(0, o.isConfigureFromModelRecord)(d2)) return i3.error((0, r2.sprintf)(p.createFromModel.invalidFlowBody, t4)), { success: false }; + const _2 = d2, h = s.FlowModelSchemaService.getSchema(n3), m = l.FlowModelValidator.validate(_2, h); + if (!m.valid) { + for (const e4 of m.errors) (0, c.withModelContext)(i3, e4.fieldPath, () => { + i3.error(e4.message); + }); + return { success: false }; + } + if (!a2.isFlowTypeAvailable(n3)) return i3.error((0, r2.sprintf)(p.createFromModel.flowTypeUnavailable, t4, n3)), { success: false }; + const g = _2.division; + let f; + if ("string" == typeof g && g.length > 0) { + const e4 = yield a2.resolveDivision(g); + if (!e4) return (0, c.withModelContext)(i3, "division", () => { + i3.error((0, r2.sprintf)(p.createFromModel.divisionNotFound, g)); + }), { success: false }; + f = e4.id; + } else a2.defaultDivision && (f = a2.defaultDivision.id); + const T = _2.name, y = _2.description || ""; + let S; + try { + S = yield a2.createFlow({ canonicalFlowType: n3, name: T, description: y, divisionId: f }); + } catch (e4) { + return i3.error(p.createFromModel.unableToCreateFlow), { success: false }; + } + return yield a2.configureFlowFromModel(S, _2, i3), { success: true, flow: S }; + }); + } }, 6256: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getGenesysCloudToArchitectLocale = function(e3) { @@ -11687,10 +12548,10 @@ var require_scripting_bundle = __commonJS({ }, 6413: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(10798)), a = i2(26847), s = i2(43212), l = n2.__importDefault(i2(4648)), u = n2.__importDefault(i2(56133)), d = n2.__importDefault(i2(27579)), c = i2(47957), p = { builtInPathId: a.outputIds.knowledge, id: "__KNOWLEDGE__", localizedLabel: c.generic.branches.knowledgeDialogEngine, name: "Knowledge", slots: { Question: { name: "Question", type: "string" }, Answer: { name: "Answer", type: "string" } } }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(10798)), a = i2(26847), s = i2(43212), l = n2.__importDefault(i2(4648)), u = n2.__importDefault(i2(56133)), c = n2.__importDefault(i2(27579)), d = i2(47957), p = { builtInPathId: a.outputIds.knowledge, id: "__KNOWLEDGE__", localizedLabel: d.generic.branches.knowledgeDialogEngine, name: "Knowledge", slots: { Question: { name: "Question", type: "string" }, Answer: { name: "Answer", type: "string" } } }; class _ extends s.BaseConfigurationListViewModel { constructor(e3) { - super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, d.default)(); + super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, c.default)(); } get className() { return "DialogEngineVersionViewModel"; @@ -11827,10 +12688,10 @@ var require_scripting_bundle = __commonJS({ t2.default = a; }, 6666: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importStar(i2(59288)), a = n2.__importStar(i2(27341)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(1115)), u = n2.__importDefault(i2(92140)), d = i2(12179), c = n2.__importDefault(i2(5730)), p = n2.__importDefault(i2(27203)), _ = n2.__importDefault(i2(97891)), h = i2(81516), m = i2(80428), g = i2(87870), f = i2(16321), T = i2(98442), y = i2(47957); - class S extends c.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importStar(i2(59288)), a = n2.__importStar(i2(27341)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(1115)), u = n2.__importDefault(i2(92140)), c = i2(12179), d = n2.__importDefault(i2(5730)), p = n2.__importDefault(i2(27203)), _ = n2.__importDefault(i2(97891)), h = i2(81516), m = i2(80428), g = i2(87870), f = i2(16321), T = i2(98442), y = n2.__importDefault(i2(4648)), S = i2(47957); + class A extends d.default { static get managedProperties() { - return [{ label: y.detectIntent.detectedIntent, options: h.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setAllowModeExpression(false).setIninTestingField("detectedIntent")), property: "detectedIntent", type: m.expressionTypeNames.string }, { createDetails: g.NoteActionProperty.createCreateDetails("", "warning", "setLanguageWarning"), property: "languageWarning", yamlOptions: S.createYamlOptions("languageWarning", (e3) => e3.setSkipProperty(true)) }]; + return [{ label: S.detectIntent.detectedIntent, options: h.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setAllowModeExpression(false).setIninTestingField("detectedIntent")), property: "detectedIntent", type: m.expressionTypeNames.string }, { createDetails: g.NoteActionProperty.createCreateDetails("", "warning", "setLanguageWarning"), property: "languageWarning", yamlOptions: A.createYamlOptions("languageWarning", (e3) => e3.setSkipProperty(true)) }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), this.addAutoCleanedUpEventListener(s.nluCortexIntentClassificationMetadataUpdated, () => { @@ -11895,19 +12756,19 @@ var require_scripting_bundle = __commonJS({ }).filter((e4) => null !== e4), i3 = this.parentFlow.languages.supportedLanguages.map((e4) => e4.toLowerCase()).find((e4) => !t3.includes(e4)); if (i3) { const t4 = null === (e3 = T.allLangs[i3]) || void 0 === e3 ? void 0 : e3.text; - this.languageWarning.note = (0, r2.sprintf)(y.naturalLanguageUnderstanding.languageStatusPreviewIntentDetection, null != t4 ? t4 : i3); + this.languageWarning.note = (0, r2.sprintf)(S.naturalLanguageUnderstanding.languageStatusPreviewIntentDetection, null != t4 ? t4 : i3); } else this.languageWarning.note = null; } validate(e3) { super.validate(e3), this.validateSupportedLanguages(); const t3 = this.parentFlow.nluCortexMetaData; - e3.isDeep && !this.isReadOnly && t3 && this.updateIntentPaths(), this.isDisabled || this.getIntents().length && u.default.find(this.branches, (e4) => e4.isDynamicBranch && !e4.isDisabled) || e3.addError(this, y.naturalLanguageUnderstanding.nluMustHaveOneIntentForIntentDetection); + e3.isDeep && !this.isReadOnly && t3 && this.updateIntentPaths(), this.isDisabled || this.getIntents().length && u.default.find(this.branches, (e4) => e4.isDynamicBranch && !e4.isDisabled) || e3.addError(this, S.naturalLanguageUnderstanding.nluMustHaveOneIntentForIntentDetection); } _initializeDesignTime() { super._initializeDesignTime(), this.optionalBranchInfo.length || this.createBranchesForAllIntents(); } } - S.info = _.default.createActionInfo({ actionClass: S, canBeInTask: true, canBeTreeNode: false, helpTopic: d.helpTopics.actions.detectIntent, modelClass: i2(96646), name: y.detectIntent.detectIntent, scriptingName: "ArchActionDetectIntent" }), t2.A = S; + A.info = _.default.createActionInfo({ actionClass: A, canBeInTask: true, canBeTreeNode: false, helpTopic: c.helpTopics.actions.detectIntent, modelClass: i2(96646), name: S.detectIntent.detectIntent, scriptingName: "ArchActionDetectIntent", modelFormatSupport: { flowYaml: { inProgress: true, feature: y.default.changeSetsFeaturePhase2 } } }), t2.A = A; }, 6677: function(e2, t2, i2) { "use strict"; var n2 = this && this.__read || function(e3, t3) { @@ -11940,6 +12801,9 @@ var require_scripting_bundle = __commonJS({ }; }, 6697: (e2) => { e2.exports = "undefined" == typeof window; + }, 6726: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.processingState = void 0, t2.processingState = { notStarted: "notStarted", processing: "processing", complete: "complete", cancelled: "cancelled" }; }, 6757: function(e2, t2, i2) { "use strict"; var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { @@ -12020,25 +12884,25 @@ var require_scripting_bundle = __commonJS({ }, 6953: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(24032), a = n2.__importDefault(i2(55678)), s = n2.__importStar(i2(75773)), l = i2(50486), u = i2(27862), d = i2(55295), c = (0, o.getTopic)("ttsEngineService"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(24032), a = n2.__importDefault(i2(55678)), s = n2.__importStar(i2(75773)), l = i2(50486), u = i2(27862), c = i2(55295), d = (0, o.getTopic)("ttsEngineService"); class p extends l.EngineService { constructor() { - super(u.TtsEngine, d); + super(u.TtsEngine, c); } _processBootstrapDataLoaded(e3) { var t3; super._processBootstrapDataLoaded(e3), s.getOrgSupportsAudio() && (e3 ? ((null === (t3 = e3.featureSupport) || void 0 === t3 ? void 0 : t3.textToSpeech) ? r2.default.each(e3.featureSupport.textToSpeech.engines, (e4, t4) => { this.items[t4] = new a.default(e4, t4); - }) : c.error("No featureSupport or textToSpeech section found in bootstrap data."), r2.default.each(e3.languages, (e4) => { + }) : d.error("No featureSupport or textToSpeech section found in bootstrap data."), r2.default.each(e3.languages, (e4) => { var t4, i3, n3, o2; if (null === (i3 = null === (t4 = e4.features) || void 0 === t4 ? void 0 : t4.textToSpeech) || void 0 === i3 ? void 0 : i3.engines) { const t5 = null === (o2 = null === (n3 = e4.features) || void 0 === n3 ? void 0 : n3.textToSpeech) || void 0 === o2 ? void 0 : o2.engines; r2.default.each(t5, (t6) => { const i4 = this.items[t6.id]; - i4 ? (i4.addLanguage(e4.id, t6.isDefault, t6.voices), i4.flowTypes = Object.entries(t6.flowTypes).reduce((e5, [t7, i5]) => (i5.isAvailable && e5.push(t7), e5), [])) : c.error(`No engine view model found for id '${t6.id}'`); + i4 ? (i4.addLanguage(e4.id, t6.isDefault, t6.voices), i4.flowTypes = Object.entries(t6.flowTypes).reduce((e5, [t7, i5]) => (i5.isAvailable && e5.push(t7), e5), [])) : d.error(`No engine view model found for id '${t6.id}'`); }); } - })) : c.errorWithStack(null, "ttsEngineService._processBootstrapDataLoaded was passed null bootstrapService.")); + })) : d.errorWithStack(null, "ttsEngineService._processBootstrapDataLoaded was passed null bootstrapService.")); } get className() { return "ttsEngineService"; @@ -12073,7 +12937,7 @@ var require_scripting_bundle = __commonJS({ return p.defaultId; } loadNewBootstrapData(e3) { - e3 ? (this.resetState(), this._processBootstrapDataLoaded(e3)) : c.errorWithStack(null, "ttsEngineService.loadNewBootstrapData was passed null bootstrapService."); + e3 ? (this.resetState(), this._processBootstrapDataLoaded(e3)) : d.errorWithStack(null, "ttsEngineService.loadNewBootstrapData was passed null bootstrapService."); } } t2.default = new p(); @@ -12102,12 +12966,12 @@ var require_scripting_bundle = __commonJS({ }), e2.exports = n2; }, 7221: (e2, t2, i2) => { "use strict"; - var n2, r2, o, a, s, l, u, d, c, p, _, h, m; + var n2, r2, o, a, s, l, u, c, d, p, _, h, m; Object.defineProperty(t2, "__esModule", { value: true }); - const g = i2(31635), f = i2(30801), T = g.__importDefault(i2(38142)), y = g.__importDefault(i2(78432)), S = g.__importDefault(i2(56549)), A = g.__importDefault(i2(94225)), N = i2(26847), O = i2(19284); - class I extends T.default { + const g = i2(31635), f = i2(30801), T = g.__importDefault(i2(38142)), y = g.__importDefault(i2(78432)), S = g.__importDefault(i2(56549)), A = g.__importDefault(i2(94225)), N = i2(26847), v = i2(19284); + class O extends T.default { constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), l.set(this, void 0), u.set(this, void 0), d.set(this, void 0), c.set(this, void 0), p.set(this, void 0), _.set(this, void 0), h.set(this, void 0), m.set(this, void 0), g.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.askResult)._setNotWritableOverride(true), "f"), g.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.chooser), "f"), g.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.confirmationMode), "f"), g.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.confirmationQuestion), "f"), g.__classPrivateFieldSet(this, s, this.coreFactory.createArchWrapper(e3.customValidation), "f"), g.__classPrivateFieldSet(this, l, this.coreFactory.createArchWrapper(e3.enableBargeIn), "f"), g.__classPrivateFieldSet(this, u, this.coreFactory.createArchWrapper(e3.grammar), "f"), g.__classPrivateFieldSet(this, d, this.coreFactory.createArchWrapper(e3.speechToTextEngineCompleteTimeout), "f"), g.__classPrivateFieldSet(this, c, this.coreFactory.createArchWrapper(e3.speechToTextEngineConfidenceLevel), "f"), g.__classPrivateFieldSet(this, p, this.coreFactory.createArchWrapper(e3.repromptHandling), "f"), g.__classPrivateFieldSet(this, _, this.coreFactory.createArchWrapper(e3.continuationPrompt), "f"), g.__classPrivateFieldSet(this, h, this.coreFactory.createArchWrapper(e3.continuationReprompts), "f"), g.__classPrivateFieldSet(this, m, this.coreFactory.createArchWrapper(e3.customizeContinuation), "f"); + super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), l.set(this, void 0), u.set(this, void 0), c.set(this, void 0), d.set(this, void 0), p.set(this, void 0), _.set(this, void 0), h.set(this, void 0), m.set(this, void 0), g.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.askResult)._setNotWritableOverride(true), "f"), g.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.chooser), "f"), g.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.confirmationMode), "f"), g.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.confirmationQuestion), "f"), g.__classPrivateFieldSet(this, s, this.coreFactory.createArchWrapper(e3.customValidation), "f"), g.__classPrivateFieldSet(this, l, this.coreFactory.createArchWrapper(e3.enableBargeIn), "f"), g.__classPrivateFieldSet(this, u, this.coreFactory.createArchWrapper(e3.grammar), "f"), g.__classPrivateFieldSet(this, c, this.coreFactory.createArchWrapper(e3.speechToTextEngineCompleteTimeout), "f"), g.__classPrivateFieldSet(this, d, this.coreFactory.createArchWrapper(e3.speechToTextEngineConfidenceLevel), "f"), g.__classPrivateFieldSet(this, p, this.coreFactory.createArchWrapper(e3.repromptHandling), "f"), g.__classPrivateFieldSet(this, _, this.coreFactory.createArchWrapper(e3.continuationPrompt), "f"), g.__classPrivateFieldSet(this, h, this.coreFactory.createArchWrapper(e3.continuationReprompts), "f"), g.__classPrivateFieldSet(this, m, this.coreFactory.createArchWrapper(e3.customizeContinuation), "f"); } get _actionTypeId() { return f.askForSlotActionType; @@ -12158,22 +13022,22 @@ var require_scripting_bundle = __commonJS({ setSpeechToTextEngineByNameAsync(e3, t3) { return g.__awaiter(this, void 0, void 0, function* () { this._checkItemIsValidLiteralString(this._infoParm("engineName", "setSpeechToTextEngineByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setSpeechToTextEngineByNameAsync"), t3, true), this._getCoreViewModel().parent.parentFlow.languagesSupportSpeechToTextSettings || this.logErrorAndThrow("flow does not support speech to text settings, can not set speech to text engine by name"); - const i3 = yield S.default.findItemByValueAsync(O.speechToTextEngineManager, e3, "speech to text engine", "name", "name"); + const i3 = yield S.default.findItemByValueAsync(v.speechToTextEngineManager, e3, "speech to text engine", "name", "name"); if (i3) return (null == i3 ? void 0 : i3.isBotTranscriptionConnectorTypeOrGrammarBased) || this.logErrorAndThrow("Unable to set a non grammar-based speech to text engine in the ask for slot action."), this._getCoreViewModel().speechToTextEngine.setValue(i3), A.default.executeCallback(this, "setSpeechToTextEngineByNameAsync", t3, this); }); } setSpeechToTextEngineByIdAsync(e3, t3) { return g.__awaiter(this, void 0, void 0, function* () { this._checkItemIsValidLiteralString(this._infoParm("engineId", "setSpeechToTextEngineByIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setSpeechToTextEngineByIdAsync"), t3, true), this._getCoreViewModel().parent.parentFlow.languagesSupportSpeechToTextSettings || this.logErrorAndThrow("flow does not support speech to text settings, can not set speech to text engine by id"); - const i3 = yield S.default.findItemByIdAsync(O.speechToTextEngineManager, e3, "speech to text engine"); + const i3 = yield S.default.findItemByIdAsync(v.speechToTextEngineManager, e3, "speech to text engine"); if (i3) return (null == i3 ? void 0 : i3.isBotTranscriptionConnectorTypeOrGrammarBased) || this.logErrorAndThrow("Unable to set a non grammar-based speech to text engine in the ask for slot action."), this._getCoreViewModel().speechToTextEngine.setValue(i3), A.default.executeCallback(this, "setSpeechToTextEngineByIdAsync", t3, this); }); } get speechToTextEngineCompleteTimeout() { - return g.__classPrivateFieldGet(this, d, "f"); + return g.__classPrivateFieldGet(this, c, "f"); } get speechToTextEngineConfidenceLevel() { - return g.__classPrivateFieldGet(this, c, "f"); + return g.__classPrivateFieldGet(this, d, "f"); } get outputMaxNoInputs() { return this._getOutputById(N.outputIds.maxNoInputs, true); @@ -12197,7 +13061,7 @@ var require_scripting_bundle = __commonJS({ return g.__classPrivateFieldGet(this, m, "f"); } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap(), p = /* @__PURE__ */ new WeakMap(), _ = /* @__PURE__ */ new WeakMap(), h = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakMap(), t2.default = I; + n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), p = /* @__PURE__ */ new WeakMap(), _ = /* @__PURE__ */ new WeakMap(), h = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakMap(), t2.default = O; }, 7245: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.throttleTime = void 0; @@ -12213,7 +13077,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importStar(i2(85705)), o = n2.__importStar(i2(55656)), a = n2.__importDefault(i2(94225)), s = i2(27844), l = n2.__importDefault(i2(45894)), u = n2.__importDefault(i2(66978)); - class d extends l.default { + class c extends l.default { constructor(e3) { super(e3, s.smsPhoneNumberManager); } @@ -12265,7 +13129,7 @@ var require_scripting_bundle = __commonJS({ return this._checkItemIsValidLiteralString(this._infoParm("smsPhoneNumberId", "setLiteralBySmsPhoneNumberIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralBySmsPhoneNumberIdAsync"), t3, true), u.default.addPromise(this._setLiteralByIdAsync(e3), "setLiteralBySmsPhoneNumberIdAsync").then(() => a.default.executeCallback(this, "setLiteralBySmsPhoneNumberIdAsync", t3, this)); } } - t2.default = d; + t2.default = c; }, 7320: (e2, t2, i2) => { function n2() { n2.baseConstructor.apply(this, arguments); @@ -12311,15 +13175,32 @@ var require_scripting_bundle = __commonJS({ Object.defineProperty(t2, "__esModule", { value: true }), t2.allStringBodyHandlingTypes = t2.allStringBodyHandlingTypesForAutomate = t2.allStringBodyHandlingTypesForBots = t2.removeAllFormatting = t2.none = t2.convertFormattingToHtml = t2.convertFormattingToMarkdown = void 0; const n2 = i2(47957); t2.convertFormattingToMarkdown = { displayString: n2.stringBodyHandlingTypes.stringBodyHandlingTypeConvertToMarkdownLabel, description: n2.stringBodyHandlingTypes.stringBodyHandlingTypeConvertToMarkdownDescription, id: "convertToMarkdown" }, t2.convertFormattingToHtml = { displayString: n2.stringBodyHandlingTypes.stringBodyHandlingTypeConvertToHtmlLabel, description: n2.stringBodyHandlingTypes.stringBodyHandlingTypeConvertToHtmlDescription, id: "convertToHtml" }, t2.none = { displayString: n2.speechToText.noneLabel, description: n2.stringBodyHandlingTypes.stringBodyHandlingTypeNoneDescription, id: "none" }, t2.removeAllFormatting = { displayString: n2.stringBodyHandlingTypes.stringBodyHandlingTypeRemoveAllFormattingLabel, description: n2.stringBodyHandlingTypes.stringBodyHandlingTypeRemoveAllFormattingDescription, id: "removeAllFormatting" }, t2.allStringBodyHandlingTypesForBots = [t2.convertFormattingToMarkdown, t2.removeAllFormatting], t2.allStringBodyHandlingTypesForAutomate = [t2.convertFormattingToHtml, t2.convertFormattingToMarkdown, t2.none, t2.removeAllFormatting], t2.allStringBodyHandlingTypes = [t2.convertFormattingToMarkdown, t2.none, t2.removeAllFormatting]; + }, 7399: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.resolveFlowYamlFilePath = function(e3) { + const t3 = e3.trim(); + if (t3.includes("\0")) throw new Error("filePath must not contain null bytes."); + const i3 = (function(e4) { + return e4.startsWith("~/") ? r2.homedir() + o.sep + e4.slice(2) : "~" === e4 ? r2.homedir() : e4.startsWith("~") ? r2.homedir() + e4.slice(1) : e4; + })(t3); + if (i3 === r2.homedir() && "~" === t3) return i3; + const n3 = o.normalize(i3.split("\0").join("")), a = o.resolve(process.cwd()), s = o.resolve(a, n3); + if (!o.isAbsolute(n3)) { + const e4 = o.relative(a, s); + if ("" !== e4 && e4.startsWith("..")) throw new Error("filePath must stay within the current working directory, or use an absolute path."); + } + return s; + }; + const n2 = i2(31635), r2 = n2.__importStar(i2(70857)), o = n2.__importStar(i2(16928)); }, 7401: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(42989), o = i2(45214), a = i2(63352), { expressionTypeNames: s } = i2(80428), { globalTypes: l } = i2(14394), { uuid: u } = i2(9456), d = i2(24032).getTopic("ExpressionModel"); - function c() { - Object.defineProperties(this, { _properties: { writable: true } }), this.config = void 0, this.text = "", this.type = void 0, this.uiMetaData = void 0, this.metaData = void 0, this.version = void 0, this.dependencies = void 0, c.baseConstructor.apply(this, arguments); + const n2 = i2(92140), r2 = i2(42989), o = i2(45214), a = i2(63352), { expressionTypeNames: s } = i2(80428), { globalTypes: l } = i2(14394), { uuid: u } = i2(9456), c = i2(24032).getTopic("ExpressionModel"); + function d() { + Object.defineProperties(this, { _properties: { writable: true } }), this.config = void 0, this.text = "", this.type = void 0, this.uiMetaData = void 0, this.metaData = void 0, this.version = void 0, this.dependencies = void 0, d.baseConstructor.apply(this, arguments); } - o.extend(c, "Expression"), Object.defineProperties(c.prototype, { properties: { enumerable: true, get: function() { + o.extend(d, "Expression"), Object.defineProperties(d.prototype, { properties: { enumerable: true, get: function() { return this._properties; }, set: function(e3) { - this._properties = this.reviveMap(e3, c, false); + this._properties = this.reviveMap(e3, d, false); } }, setProperty: { value: function(e3, t3) { this._properties || (this._properties = {}), this._properties[e3] = t3; } }, getProperty: { value: function(e3) { @@ -12413,7 +13294,7 @@ var require_scripting_bundle = __commonJS({ case r2.tts: break; default: - d.error(`Attempting to paste an audio sequence item type '${t4.type}' that we don't handle`); + c.error(`Attempting to paste an audio sequence item type '${t4.type}' that we don't handle`); } }), this.uiMetaData.customExpressionMode && this._pasteReplaceOldVarNamesWithNewNamesForExpression(e3); else switch (this.uiMetaData.mode) { @@ -12436,7 +13317,7 @@ var require_scripting_bundle = __commonJS({ this.setStringLiteral(""); } }, setStringLiteral: { value: function(e3) { this.config = { lit: { pos: 1, text: e3, type: s.string } }, this.text = e3, this.metaData = {}, this.uiMetaData = { mode: a.literal }; - } } }), e2.exports = c; + } } }), e2.exports = d; }, 7452: (e2, t2, i2) => { const n2 = i2(55892); function r2() { @@ -12545,7 +13426,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = r2.__importDefault(i2(92140)), a = i2(12179), s = r2.__importDefault(i2(68460)), l = i2(59946), u = i2(58265), d = i2(47957), c = [l.Disconnect, l.Continue]; + const r2 = i2(31635), o = r2.__importDefault(i2(92140)), a = i2(12179), s = r2.__importDefault(i2(68460)), l = i2(59946), u = i2(58265), c = i2(47957), d = [l.Disconnect, l.Continue]; class p extends s.default { constructor(e3) { super(e3), n2.set(this, void 0), this.modelPropertyName = "inboundEmailSettings"; @@ -12568,7 +13449,7 @@ var require_scripting_bundle = __commonJS({ getConfiguration(e3, t3) { var i3; if (null == t3 ? void 0 : t3.isForFlowYaml) { - const e4 = o.default.findWhere(c, { name: null === (i3 = this.autoGeneratedEmailHandlingType) || void 0 === i3 ? void 0 : i3.name }); + const e4 = o.default.findWhere(d, { name: null === (i3 = this.autoGeneratedEmailHandlingType) || void 0 === i3 ? void 0 : i3.name }); if (!e4) return null; const t4 = { emailHandling: {} }; return t4.emailHandling[e4.scriptingName] = { none: true }, t4; @@ -12576,7 +13457,7 @@ var require_scripting_bundle = __commonJS({ e3.inboundEmailSettings || (e3.inboundEmailSettings = new u()), e3.inboundEmailSettings.autoGeneratedEmailHandlingType = this.autoGeneratedEmailHandlingType; } getDisplayName() { - return d.inboundEmailSettings.treeLabel; + return c.inboundEmailSettings.treeLabel; } loadConfiguration(e3) { e3.inboundEmailSettings || (e3.inboundEmailSettings = new u()), void 0 === e3.inboundEmailSettings.autoGeneratedEmailHandlingType && (e3.inboundEmailSettings.autoGeneratedEmailHandlingType = l.Disconnect), r2.__classPrivateFieldSet(this, n2, e3, "f"); @@ -12588,7 +13469,7 @@ var require_scripting_bundle = __commonJS({ r2.__classPrivateFieldGet(this, n2, "f") && r2.__classPrivateFieldGet(this, n2, "f").inboundEmailSettings && (r2.__classPrivateFieldGet(this, n2, "f").inboundEmailSettings.autoGeneratedEmailHandlingType = e3); } get autoGeneratedEmailHandlingTypes() { - return c; + return d; } get wrappedYamlName() { return "settingsInboundEmailHandling"; @@ -12671,31 +13552,43 @@ var require_scripting_bundle = __commonJS({ }, 7878: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseAssetType = void 0; - const n2 = i2(31635), r2 = i2(27491), o = n2.__importDefault(i2(22226)), a = i2(94765), s = i2(80428), l = i2(98364), u = i2(14394), d = i2(63345); - class c extends a.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = i2(98364), a = i2(63345), s = i2(62390), l = i2(62390), u = i2(27491), c = n2.__importDefault(i2(22226)), d = i2(80428), p = i2(14394), _ = i2(81391), h = i2(47957); + class m extends _.ExpressionTypeBaseResponseAsset { constructor(e3, t3, i3) { super(e3, t3, i3); } get className() { return "ResponseAssetType"; } + getPlutusMimeTypes() { + return s.ALL_MIME_TYPES_SET; + } + getPlutusSupportedFileExtensions() { + return l.ALL_SUPPORTED_EXTENSIONS; + } + getPlutusMediaPlaceholderText() { + return h.responseAsset.responseAssetPlaceholder; + } + getPlutusSupportedFileTypesText() { + return (0, r2.sprintf)(h.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()); + } canConvertLitToExpression(e3) { - return r2.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [u.globalTypes.string]); + return u.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [p.globalTypes.string]); } convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindResponseAsset(${o.default.getQuotedExpressionStringLiteral(t3)})` : ""; + return t3 && this.canConvertLitToExpression(e3) ? `FindResponseAsset(${c.default.getQuotedExpressionStringLiteral(t3)})` : ""; } _getLiteralValueOfExpression() { return ""; } get listManager() { - return d.responseAssetManager; + return a.responseAssetManager; } createExpressionOptionClass() { - return new l.ExpressionTypeResponseAssetOptions(); + return new o.ExpressionTypeResponseAssetOptions(); } } - t2.ResponseAssetType = c, c.typeIdentifier = s.expressionTypeNames.responseAsset; + t2.ResponseAssetType = m, m.typeIdentifier = d.expressionTypeNames.responseAsset; }, 7946: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -12731,8 +13624,8 @@ var require_scripting_bundle = __commonJS({ this._checkItem(l, !e3 || !e3.isArchDataType, "you must pass in a valid Architect data type for the statement to create"), this._checkItem(l, !e3.isScriptCreatableForFlow(this.parentFlow), "the Architect data type " + e3.label + " is not creatable from scripting for the flow type '" + this._coreExpressionContainerViewModel.parentFlow.type + "'.The data type's isScriptCreatableForFlowType must return true to be valid for use when creating an update data statement"); const u = this._coreExpressionContainerViewModel.add(null, e3._getCoreViewModel(), o2); u.expression.options ? u.expression.options.allowSecure = true === n3 : u.expression.options = (0, a.buildOptions)(u.expression.type, void 0, this.parentFlow).setAllowSecure(true === n3); - const d = this.coreFactory.createArchBaseVariableValuePair(u); - return t3 && (s2 ? "string" == typeof t3 ? d.valueVariableToAssignTo.setExpression(t3) : d.valueVariableToAssignTo.setExpressionFromVariable(t3) : d.setVariableToAssignTo(t3), r2.default.isString(i3) && d.valueToAssign.setExpression(i3)), d; + const c = this.coreFactory.createArchBaseVariableValuePair(u); + return t3 && (s2 ? "string" == typeof t3 ? c.valueVariableToAssignTo.setExpression(t3) : c.valueVariableToAssignTo.setExpressionFromVariable(t3) : c.setVariableToAssignTo(t3), r2.default.isString(i3) && c.valueToAssign.setExpression(i3)), c; } _createVariableValuePairArray() { const e3 = [], t3 = this._getCoreViewModel(); @@ -12770,8 +13663,8 @@ var require_scripting_bundle = __commonJS({ }, 8066: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = (i2(69706), i2(17604)), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(10798)), l = i2(62974), u = i2(4333), d = i2(13110), c = i2(28562), p = n2.__importDefault(i2(73198)), _ = (n2.__importStar(i2(63352)), i2(80428)), h = n2.__importStar(i2(24032)), m = n2.__importDefault(i2(15244)), g = i2(67607), f = i2(82319), T = i2(81516), y = i2(99469), S = n2.__importDefault(i2(22917)), A = n2.__importStar(i2(1183)), N = n2.__importStar(i2(1115)), O = n2.__importDefault(i2(4648)), I = i2(12179), v = i2(10016), C = i2(15008), b = (i2(21733), i2(47957)), E = h.getTopic("BotFlowEventHandlingViewModel"); - class R extends v.BaseEventHandlingViewModel { + const n2 = i2(31635), r2 = i2(96618), o = (i2(69706), i2(17604)), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(10798)), l = i2(62974), u = i2(4333), c = i2(13110), d = i2(28562), p = n2.__importDefault(i2(73198)), _ = (n2.__importStar(i2(63352)), i2(80428)), h = n2.__importStar(i2(24032)), m = n2.__importDefault(i2(15244)), g = i2(67607), f = i2(82319), T = i2(81516), y = i2(99469), S = n2.__importDefault(i2(22917)), A = n2.__importStar(i2(1183)), N = n2.__importStar(i2(1115)), v = n2.__importDefault(i2(4648)), O = i2(12179), I = i2(10016), C = i2(15008), b = (i2(21733), i2(47957)), E = h.getTopic("BotFlowEventHandlingViewModel"); + class w extends I.BaseEventHandlingViewModel { constructor(e3) { super(e3, C), this._recognitionHandlingType = m.default.Exit, this._handlingTypes = this.parentFlow.definition.errorHandlingTypes, 1 === this._handlingTypes.length ? (this.handlingType = this._handlingTypes[0], this.recognitionHandlingType = this._handlingTypes[0]) : this._handlingTypes.length > 1 && (this.handlingType = m.default.Exit, this.recognitionHandlingType = m.default.Exit, this.handlingTypeDescription = (0, o.sprintf)(b.customNodes.eventHandling.eventHandlingErrorEventHandlingDescription, this._handlingTypes[1].label, this._handlingTypes[0].label), this.botFlowEscalationRecognitionHandlingV2 && (this.parentFlow.isDigitalBotFlow || this.parentFlow.isBotFlow) ? this.recognitionHandlingTypeDescription = (0, o.sprintf)(b.customNodes.eventHandling.eventHandlingRecognitionFailureHandlingWithJumpToTaskDescription, b.actions.askForActionGeneric, b.actions.askForNLUNextIntentAction, this.recognitionHandlingTypes[1].label, this.recognitionHandlingTypes[0].label, this.recognitionHandlingTypes[2].label) : this.recognitionHandlingTypeDescription = (0, o.sprintf)(b.customNodes.eventHandling.eventHandlingRecognitionFailureHandlingDescription, b.actions.askForActionGeneric, b.actions.askForNLUNextIntentAction, this.recognitionHandlingTypes[1].label, this.recognitionHandlingTypes[0].label)); } @@ -12794,13 +13687,13 @@ var require_scripting_bundle = __commonJS({ this.recognitionEventTask && (this.recognitionEventTask.outOfService = this._recognitionHandlingType !== m.default.Task, this.recognitionEventHandover.outOfService = this._recognitionHandlingType === m.default.Task, this.subsequentRecognitionFailures.outOfService = this._recognitionHandlingType !== m.default.Task); } get helpTopic() { - return I.helpTopics.treeNodes.eventHandling; + return O.helpTopics.treeNodes.eventHandling; } get isBotFlowEventHandlingViewModel() { return true; } get botFlowEscalationRecognitionHandlingV2() { - return s.isFeatureAvailable(O.default.botFlowEscalationRecognitionHandlingV2); + return s.isFeatureAvailable(v.default.botFlowEscalationRecognitionHandlingV2); } getConfiguration(e3, t3) { if (null == t3 ? void 0 : t3.isForFlowYaml) { @@ -12832,7 +13725,7 @@ var require_scripting_bundle = __commonJS({ super.loadConfiguration(e3), e3.errorHandling.recognitionHandlingType && (this.recognitionHandlingType = e3.errorHandling.recognitionHandlingType), e3.errorHandling.subsequentRecognitionFailuresHandlingType && (this.subsequentRecognitionFailures.text = e3.errorHandling.subsequentRecognitionFailuresHandlingType); } static get managedProperties() { - return [{ label: b.customNodes.eventHandling.enableAgentEscalationLabel, type: _.expressionTypeNames.boolean, property: "enableAgentEscalation", options: g.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(b.customNodes.eventHandling.enableAgentEscalationLabel, b.customNodes.eventHandling.enableAgentEscalationDescription).setIninTestingField("enableAgentEscalation").setDefaultText(p.default.true).setIsOptional(false).setFeatureConfigName(O.default.botFlowsAgentEscalationEnhancementsPhase1Feature).setBoolText(b.generic.genericOn, b.generic.genericOff).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnAgentEscalation())) }, { label: b.customNodes.eventHandling.handover, type: _.expressionTypeNames.communication, property: "errorEventHandover", options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("errorEventHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, b.customNodes.eventHandling.eventHandlingErrorEventHandoverDescription).setIsOptional(true).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingErrorEventHandoverSequence)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("errorEventHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, b.customNodes.eventHandling.eventHandlingErrorEventHandoverDescription).setIsOptional(true).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingErrorEventHandoverSequence)) }] }, { label: b.customNodes.eventHandling.handover, type: _.expressionTypeNames.communication, property: "recognitionEventHandover", options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("recognitionEventHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, (0, o.sprintf)(b.customNodes.eventHandling.eventHandlingRecognitionFailureHandoverDescription, b.actions.askForActionGeneric, b.actions.askForNLUNextIntentAction)).setIsOptional(true).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingRecognitionEventHandoverSequence)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("recognitionEventHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, (0, o.sprintf)(b.customNodes.eventHandling.eventHandlingRecognitionFailureHandoverDigitalDescription, b.actions.askForActionGeneric, b.actions.askForNLUNextIntentAction)).setIsOptional(true).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingRecognitionEventHandoverSequence)) }] }, { createDetails: u.ContainerActionProperty.createCreateDetails({ modelIdPropName: "recognitionEventTaskId", modelNamePropName: "recognitionEventTaskName", itemDoesNotExistBaseString: b.task.label, noReferenceString: b.task.noReference, referencesTasks: true, validReferenceCallback: (e3) => e3 && !e3.isTransferable && e3.hasBranchTerminatingWithEndTask ? { error: b.task.invalidReferenceTaskTransfer } : e3 && e3.isTask && e3.isTransferable ? void 0 : { error: b.task.invalidReference } }), options: y.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("recognitionEventTask").setUiDisableOnOutOfService(true).setFeatureConfigName(O.default.botFlowEscalationRecognitionHandlingV2)), property: "recognitionEventTask", yamlOptions: S.default.create("recognitionEventTask", (e3) => e3.setSkipProperty(true)), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot] }, { label: b.customNodes.eventHandling.subsequentRecognitionFailuresLabel, type: _.expressionTypeNames.string, supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot], property: "subsequentRecognitionFailures", options: T.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(b.customNodes.eventHandling.subsequentRecognitionFailuresLabel, b.customNodes.eventHandling.subsequentRecognitionFailuresDescription).setIninTestingField("subsequentRecognitionFailures").setAllowModeLiteralOnly().setDefaultText(A.exitFlow.id).setIsOptional(false).setFeatureConfigName(O.default.botFlowsEnhancedRecognitionFailureHandling).facets.setAllowableValueUseOriginalDisplayString(true).setAllowableValues(A.allModes).setPreferRadioButtonsCount(2)) }, { label: b.customNodes.eventHandling.agentEscalationConfirmation, type: _.expressionTypeNames.communication, property: "agentEscalationConfirmation", options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("agentEscalationConfirmation").setDescriptionInfo(b.customNodes.eventHandling.agentEscalationConfirmation, b.customNodes.eventHandling.eventHandlingAgentEscalationConfirmationDescription).setIsOptional(true).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingAgentEscalationConfirmationSequence)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("agentEscalationConfirmation").setDescriptionInfo(b.customNodes.eventHandling.agentEscalationConfirmation, b.customNodes.eventHandling.eventHandlingAgentEscalationConfirmationDescription).setIsOptional(true).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingAgentEscalationConfirmationSequence)) }] }, { label: b.customNodes.eventHandling.handover, type: _.expressionTypeNames.communication, property: "agentEscalationHandover", options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("agentEscalationHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, b.customNodes.eventHandling.eventHandlingAgentEscalationHandoverDescription).setIsOptional(true).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingAgentEscalationHandoverSequence)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("agentEscalationHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, b.customNodes.eventHandling.eventHandlingAgentEscalationHandoverDescription).setIsOptional(true).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingAgentEscalationHandoverSequence)) }] }, { createDetails: d.EventHandlingTypeProperty.createCreateDetails([m.default.Exit, m.default.Task], "agentEscalationHandlingType", m.default.Exit, false), label: b.customNodes.errorHandling.handling, supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot], property: "agentEscalationHandling", options: y.ManagedPropertyOptions.create((e3) => e3.setFeatureConfigName(O.default.botFlowEscalationRecognitionHandlingV2).setDescriptionInfo(b.customNodes.errorHandling.handling, b.customNodes.eventHandling.eventHandlingAgentEscalationHandlingDescription)), yamlOptions: S.default.create("agentEscalationHandling", (e3) => e3.setSkipProperty(true)) }, { createDetails: u.ContainerActionProperty.createCreateDetails({ modelIdPropName: "agentEscalationTaskId", modelNamePropName: "agentEscalationTaskName", itemDoesNotExistBaseString: b.task.label, noReferenceString: b.task.noReference, referencesTasks: true, validReferenceCallback: (e3) => e3 && !e3.isTransferable && e3.hasBranchTerminatingWithEndTask ? { error: b.task.invalidReferenceTaskTransfer } : e3 && e3.isTask && e3.isTransferable ? void 0 : { error: b.task.invalidReference } }), options: y.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("agentEscalationTask").setFeatureConfigName(O.default.botFlowEscalationRecognitionHandlingV2)), property: "agentEscalationTask", yamlOptions: S.default.create("agentEscalationTask", (e3) => e3.setSkipProperty(true)), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot] }]; + return [{ label: b.customNodes.eventHandling.enableAgentEscalationLabel, type: _.expressionTypeNames.boolean, property: "enableAgentEscalation", options: g.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(b.customNodes.eventHandling.enableAgentEscalationLabel, b.customNodes.eventHandling.enableAgentEscalationDescription).setIninTestingField("enableAgentEscalation").setDefaultText(p.default.true).setIsOptional(false).setFeatureConfigName(v.default.botFlowsAgentEscalationEnhancementsPhase1Feature).setBoolText(b.generic.genericOn, b.generic.genericOff).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnAgentEscalation())) }, { label: b.customNodes.eventHandling.handover, type: _.expressionTypeNames.communication, property: "errorEventHandover", options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("errorEventHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, b.customNodes.eventHandling.eventHandlingErrorEventHandoverDescription).setIsOptional(true).setDefaultToBuilderId(d.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingErrorEventHandoverSequence)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("errorEventHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, b.customNodes.eventHandling.eventHandlingErrorEventHandoverDescription).setIsOptional(true).setDefaultToBuilderId(d.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingErrorEventHandoverSequence)) }] }, { label: b.customNodes.eventHandling.handover, type: _.expressionTypeNames.communication, property: "recognitionEventHandover", options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("recognitionEventHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, (0, o.sprintf)(b.customNodes.eventHandling.eventHandlingRecognitionFailureHandoverDescription, b.actions.askForActionGeneric, b.actions.askForNLUNextIntentAction)).setIsOptional(true).setDefaultToBuilderId(d.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingRecognitionEventHandoverSequence)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("recognitionEventHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, (0, o.sprintf)(b.customNodes.eventHandling.eventHandlingRecognitionFailureHandoverDigitalDescription, b.actions.askForActionGeneric, b.actions.askForNLUNextIntentAction)).setIsOptional(true).setDefaultToBuilderId(d.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingRecognitionEventHandoverSequence)) }] }, { createDetails: u.ContainerActionProperty.createCreateDetails({ modelIdPropName: "recognitionEventTaskId", modelNamePropName: "recognitionEventTaskName", itemDoesNotExistBaseString: b.task.label, noReferenceString: b.task.noReference, referencesTasks: true, validReferenceCallback: (e3) => e3 && !e3.isTransferable && e3.hasBranchTerminatingWithEndTask ? { error: b.task.invalidReferenceTaskTransfer } : e3 && e3.isTask && e3.isTransferable ? void 0 : { error: b.task.invalidReference } }), options: y.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("recognitionEventTask").setUiDisableOnOutOfService(true).setFeatureConfigName(v.default.botFlowEscalationRecognitionHandlingV2)), property: "recognitionEventTask", yamlOptions: S.default.create("recognitionEventTask", (e3) => e3.setSkipProperty(true)), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot] }, { label: b.customNodes.eventHandling.subsequentRecognitionFailuresLabel, type: _.expressionTypeNames.string, supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot], property: "subsequentRecognitionFailures", options: T.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(b.customNodes.eventHandling.subsequentRecognitionFailuresLabel, b.customNodes.eventHandling.subsequentRecognitionFailuresDescription).setIninTestingField("subsequentRecognitionFailures").setAllowModeLiteralOnly().setDefaultText(A.exitFlow.id).setIsOptional(false).setFeatureConfigName(v.default.botFlowsEnhancedRecognitionFailureHandling).facets.setAllowableValueUseOriginalDisplayString(true).setAllowableValues(A.allModes).setPreferRadioButtonsCount(2)) }, { label: b.customNodes.eventHandling.agentEscalationConfirmation, type: _.expressionTypeNames.communication, property: "agentEscalationConfirmation", options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("agentEscalationConfirmation").setDescriptionInfo(b.customNodes.eventHandling.agentEscalationConfirmation, b.customNodes.eventHandling.eventHandlingAgentEscalationConfirmationDescription).setIsOptional(true).setDefaultToBuilderId(d.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingAgentEscalationConfirmationSequence)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("agentEscalationConfirmation").setDescriptionInfo(b.customNodes.eventHandling.agentEscalationConfirmation, b.customNodes.eventHandling.eventHandlingAgentEscalationConfirmationDescription).setIsOptional(true).setDefaultToBuilderId(d.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingAgentEscalationConfirmationSequence)) }] }, { label: b.customNodes.eventHandling.handover, type: _.expressionTypeNames.communication, property: "agentEscalationHandover", options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("agentEscalationHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, b.customNodes.eventHandling.eventHandlingAgentEscalationHandoverDescription).setIsOptional(true).setDefaultToBuilderId(d.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingAgentEscalationHandoverSequence)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("agentEscalationHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, b.customNodes.eventHandling.eventHandlingAgentEscalationHandoverDescription).setIsOptional(true).setDefaultToBuilderId(d.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingAgentEscalationHandoverSequence)) }] }, { createDetails: c.EventHandlingTypeProperty.createCreateDetails([m.default.Exit, m.default.Task], "agentEscalationHandlingType", m.default.Exit, false), label: b.customNodes.errorHandling.handling, supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot], property: "agentEscalationHandling", options: y.ManagedPropertyOptions.create((e3) => e3.setFeatureConfigName(v.default.botFlowEscalationRecognitionHandlingV2).setDescriptionInfo(b.customNodes.errorHandling.handling, b.customNodes.eventHandling.eventHandlingAgentEscalationHandlingDescription)), yamlOptions: S.default.create("agentEscalationHandling", (e3) => e3.setSkipProperty(true)) }, { createDetails: u.ContainerActionProperty.createCreateDetails({ modelIdPropName: "agentEscalationTaskId", modelNamePropName: "agentEscalationTaskName", itemDoesNotExistBaseString: b.task.label, noReferenceString: b.task.noReference, referencesTasks: true, validReferenceCallback: (e3) => e3 && !e3.isTransferable && e3.hasBranchTerminatingWithEndTask ? { error: b.task.invalidReferenceTaskTransfer } : e3 && e3.isTask && e3.isTransferable ? void 0 : { error: b.task.invalidReference } }), options: y.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("agentEscalationTask").setFeatureConfigName(v.default.botFlowEscalationRecognitionHandlingV2)), property: "agentEscalationTask", yamlOptions: S.default.create("agentEscalationTask", (e3) => e3.setSkipProperty(true)), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot] }]; } showTaskPropertyBasedOnHandlingType(e3, t3) { const i3 = t3 !== m.default.Task; @@ -12856,7 +13749,7 @@ var require_scripting_bundle = __commonJS({ })), super._initializeDesignTime(); } } - t2.default = R; + t2.default = w; }, 8078: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -12883,7 +13776,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(37603)), l = i2(32282), u = i2(26847); - class d extends s.default { + class c extends s.default { constructor(e3) { super(e3), this._inServiceSchedules = this.coreFactory.createArchWrapper(e3.inServiceSchedules), this._scheduleGroup = this.coreFactory.createArchWrapper(e3.scheduleGroup); } @@ -12925,7 +13818,7 @@ var require_scripting_bundle = __commonJS({ return this._getOutputById(u.outputIds.emergency, true); } } - t2.default = d; + t2.default = c; }, 8081: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -13202,7 +14095,7 @@ var require_scripting_bundle = __commonJS({ }, 8471: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(10798)), a = n2.__importStar(i2(27099)), s = n2.__importDefault(i2(41510)), l = n2.__importDefault(i2(5024)), u = n2.__importDefault(i2(4648)), d = n2.__importDefault(i2(98717)), c = i2(31178); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(10798)), a = n2.__importStar(i2(27099)), s = n2.__importDefault(i2(41510)), l = n2.__importDefault(i2(5024)), u = n2.__importDefault(i2(4648)), c = n2.__importDefault(i2(98717)), d = i2(31178); class p { constructor() { this._amLoggingErrorOrWarning = false; @@ -13367,7 +14260,7 @@ var require_scripting_bundle = __commonJS({ this._appendLogStrPart(e3, "Version", t3, false); } _checkItem(e3, t3, i3, n3) { - t3 && d.default.itemInvalid(e3, i3, this.logStr, this.displayTypeName, n3); + t3 && c.default.itemInvalid(e3, i3, this.logStr, this.displayTypeName, n3); } _checkItemSameParentFlow(e3, t3, i3) { let n3 = t3, o2 = i3; @@ -13407,16 +14300,16 @@ var require_scripting_bundle = __commonJS({ if (r2.default.isUndefined(t3) || null === t3) { if (n3) return; } else if (r2.default.isObject(t3) && t3[`is${i3}`]) return; - d.default.itemInvalid(e3, `the value is not a valid ${i3} instance.`, void 0, i3); + c.default.itemInvalid(e3, `the value is not a valid ${i3} instance.`, void 0, i3); } _checkItemIsArchTraverseSettings(e3, t3, i3) { this._checkItemIsArchType(e3, t3, "ArchTraverseSettings", i3); } _checkItemIsUndefinedOrNull(e3, t3) { - this.isUndefinedOrNull(t3) || d.default.itemInvalid(e3, `the value '${t3}' is not valid. It must be either null or undefined.`, void 0, void 0); + this.isUndefinedOrNull(t3) || c.default.itemInvalid(e3, `the value '${t3}' is not valid. It must be either null or undefined.`, void 0, void 0); } _checkItemIsType(e3, t3, i3, n3, r3, o2) { - i3(t3, n3) || d.default.itemInvalid(e3, "the value '" + t3 + "' (JavaScript type: '" + typeof t3 + "') is not a supported " + r3 + "." + (o2 ? " " + o2 : ""), this.logStr, this.displayTypeName); + i3(t3, n3) || c.default.itemInvalid(e3, "the value '" + t3 + "' (JavaScript type: '" + typeof t3 + "') is not a supported " + r3 + "." + (o2 ? " " + o2 : ""), this.logStr, this.displayTypeName); } _checkItemIsValidFunction(e3, t3, i3) { if (!i3 || null != t3) return this._checkItem(e3, !r2.default.isFunction(t3), "the value is not a valid JavaScript function."); @@ -13467,9 +14360,9 @@ var require_scripting_bundle = __commonJS({ }); const l2 = a2.pop(), u2 = a2.join(s.default.itemListing.itemSeparator).concat(" or ") + l2; if (this._checkItemIsType(e3, t3, this.isValidString, n3, "string", `string values must not be undefined, null and must be a JavaScript string. Allowable values: ${u2}`), !t3 && n3) return; - const d2 = t3, c2 = o2 ? d2.toLowerCase() : d2; + const c2 = t3, d2 = o2 ? c2.toLowerCase() : c2; r2.default.find(i3, function(e4) { - return o2 ? c2 === e4.toLowerCase() : c2 === e4; + return o2 ? d2 === e4.toLowerCase() : d2 === e4; }) || this._itemIsInvalid(e3, "the string value '" + t3 + "' is not one of the following values: " + u2); } _checkItemIsValidLiteralStringOrArchVariableString(e3, t3, i3) { @@ -13497,29 +14390,29 @@ var require_scripting_bundle = __commonJS({ } _getDtmfForCoreDigit(e3, t3, i3) { switch (t3) { - case c.Zero: + case d.Zero: return "0"; - case c.One: + case d.One: return "1"; - case c.Two: + case d.Two: return "2"; - case c.Three: + case d.Three: return "3"; - case c.Four: + case d.Four: return "4"; - case c.Five: + case d.Five: return "5"; - case c.Six: + case d.Six: return "6"; - case c.Seven: + case d.Seven: return "7"; - case c.Eight: + case d.Eight: return "8"; - case c.Nine: + case d.Nine: return "9"; - case c.Pound: + case d.Pound: return "#"; - case c.Star: + case d.Star: return "*"; default: if (i3) return; @@ -13530,38 +14423,38 @@ var require_scripting_bundle = __commonJS({ switch (t3) { case 0: case "0": - return c.Zero; + return d.Zero; case 1: case "1": - return c.One; + return d.One; case 2: case "2": - return c.Two; + return d.Two; case 3: case "3": - return c.Three; + return d.Three; case 4: case "4": - return c.Four; + return d.Four; case 5: case "5": - return c.Five; + return d.Five; case 6: case "6": - return c.Six; + return d.Six; case 7: case "7": - return c.Seven; + return d.Seven; case 8: case "8": - return c.Eight; + return d.Eight; case 9: case "9": - return c.Nine; + return d.Nine; case "*": - return c.Star; + return d.Star; case "#": - return c.Pound; + return d.Pound; default: if (i3) return; this._itemIsInvalid(e3, "Invalid dtmf value of '" + t3 + "'. It should be '0' through '9', '*', '#' or 0 through 9."); @@ -13645,7 +14538,7 @@ var require_scripting_bundle = __commonJS({ return this._appendLogStrName(t3, e3.name), this._appendLogStrId(t3, e3.id), this._createLogStrFromParts(t3); } get logStr() { - return d.default.logError("the object " + this.displayTypeName + " does not implement logStr and a log string is being requested. Returning default string."), "< '" + this.displayTypeName + "' needs to implement the logStr getter.>"; + return c.default.logError("the object " + this.displayTypeName + " does not implement logStr and a log string is being requested. Returning default string."), "< '" + this.displayTypeName + "' needs to implement the logStr getter.>"; } get logStrTypeOnly() { const e3 = []; @@ -13656,7 +14549,7 @@ var require_scripting_bundle = __commonJS({ } logError(e3) { if (!this._amLoggingErrorOrWarning) try { - this._amLoggingErrorOrWarning = true, d.default.itemError(this._infoObject(this), e3, this.logStr, this.displayTypeName); + this._amLoggingErrorOrWarning = true, c.default.itemError(this._infoObject(this), e3, this.logStr, this.displayTypeName); } finally { this._amLoggingErrorOrWarning = false; } @@ -13664,35 +14557,35 @@ var require_scripting_bundle = __commonJS({ logPromiseError(e3, t3, i3) { if (!this._amLoggingErrorOrWarning) try { let n3; - this._amLoggingErrorOrWarning = true, n3 = r2.default.isObject(t3) && t3.message ? r2.default.isString(i3) && i3.length ? `${i3} - ${t3}` : `${t3}` : r2.default.isString(i3) && i3.length ? i3 : "no additional information.", d.default.itemError(e3, n3, this.logStr, this.displayTypeName); + this._amLoggingErrorOrWarning = true, n3 = r2.default.isObject(t3) && t3.message ? r2.default.isString(i3) && i3.length ? `${i3} - ${t3}` : `${t3}` : r2.default.isString(i3) && i3.length ? i3 : "no additional information.", c.default.itemError(e3, n3, this.logStr, this.displayTypeName); } finally { this._amLoggingErrorOrWarning = false; } } logErrorAndThrow(e3) { - throw this._amLoggingErrorOrWarning || (this._amLoggingErrorOrWarning = true, d.default.itemError(this._infoObject(this), e3, this.logStr, this.displayTypeName), this._amLoggingErrorOrWarning = false, d.default.itemThrow(this._infoObject(this), e3, this.logStr, this.displayTypeName)), new Error(e3); + throw this._amLoggingErrorOrWarning || (this._amLoggingErrorOrWarning = true, c.default.itemError(this._infoObject(this), e3, this.logStr, this.displayTypeName), this._amLoggingErrorOrWarning = false, c.default.itemThrow(this._infoObject(this), e3, this.logStr, this.displayTypeName)), new Error(e3); } logItemErrorAndThrow(e3, t3) { - this._amLoggingErrorOrWarning || (this._amLoggingErrorOrWarning = true, d.default.itemError(e3, t3, this.logStr, this.displayTypeName), this._amLoggingErrorOrWarning = false, d.default.itemThrow(e3, t3, this.logStr, this.displayTypeName)); + this._amLoggingErrorOrWarning || (this._amLoggingErrorOrWarning = true, c.default.itemError(e3, t3, this.logStr, this.displayTypeName), this._amLoggingErrorOrWarning = false, c.default.itemThrow(e3, t3, this.logStr, this.displayTypeName)); } logItemNote(e3, t3) { - d.default.itemNote(e3, t3, this.logStr, this.displayTypeName); + c.default.itemNote(e3, t3, this.logStr, this.displayTypeName); } logItemVerboseNote(e3, t3) { - d.default.itemNoteVerbose(e3, t3, this.logStr, this.displayTypeName); + c.default.itemNoteVerbose(e3, t3, this.logStr, this.displayTypeName); } logItemWarning(e3, t3) { - d.default.itemWarning(e3, t3, this.logStr, this.displayTypeName); + c.default.itemWarning(e3, t3, this.logStr, this.displayTypeName); } logNote(e3) { - d.default.itemNote(this._infoObject(this), e3, this.logStr, this.displayTypeName); + c.default.itemNote(this._infoObject(this), e3, this.logStr, this.displayTypeName); } logNoteVerbose(e3) { - d.default.itemNoteVerbose(this._infoObject(this), e3, this.logStr, this.displayTypeName); + c.default.itemNoteVerbose(this._infoObject(this), e3, this.logStr, this.displayTypeName); } logWarning(e3) { if (!this._amLoggingErrorOrWarning) try { - this._amLoggingErrorOrWarning = true, d.default.itemWarning(this._infoObject(this), e3, this.logStr, this.displayTypeName); + this._amLoggingErrorOrWarning = true, c.default.itemWarning(this._infoObject(this), e3, this.logStr, this.displayTypeName); } finally { this._amLoggingErrorOrWarning = false; } @@ -13707,17 +14600,17 @@ var require_scripting_bundle = __commonJS({ } p._checkMethodCallFeatureIsAvailable_shouldLog = true, t2.default = p; }, 8483: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(76395), o = i2(45421), a = i2(49005), s = i2(13126), l = i2(60094), { menuActionActionType: u } = i2(30801), { ParameterInfo: d } = i2(55909), { ParameterValidator: c } = i2(33951), p = i2(47957), { taskActionActionType: _ } = i2(30801), h = "ClipboardContentMenuChoiceViewModel"; + const n2 = i2(92140), r2 = i2(76395), o = i2(45421), a = i2(49005), s = i2(13126), l = i2(60094), { menuActionActionType: u } = i2(30801), { ParameterInfo: c } = i2(55909), { ParameterValidator: d } = i2(33951), p = i2(47957), { taskActionActionType: _ } = i2(30801), h = "ClipboardContentMenuChoiceViewModel"; class m extends r2 { constructor(e3, t3) { super(e3, t3); } static create(e3, t3, i3, n3) { - c.expectBool(t3, () => d.createFunctionParameter(h, "create", "deleteMenuChoiceForCut"), true), c.expectObject(i3, () => d.createFunctionParameter(h, "create", "clipboardLogging")), c.expectString(n3, () => d.createFunctionParameter(h, "create", "newContentName"), true); + d.expectBool(t3, () => c.createFunctionParameter(h, "create", "deleteMenuChoiceForCut"), true), d.expectObject(i3, () => c.createFunctionParameter(h, "create", "clipboardLogging")), d.expectString(n3, () => c.createFunctionParameter(h, "create", "newContentName"), true); const s2 = o.getFlowViewModel(e3); - if (!s2) return c.expectFlowViewModel(s2, () => d.createFunctionParameter(h, "create", "menuChoiceViewModel.parentFlow")), null; + if (!s2) return d.expectFlowViewModel(s2, () => c.createFunctionParameter(h, "create", "menuChoiceViewModel.parentFlow")), null; let l2; - c.expectObject(e3.info, () => d.createFunctionParameter(h, "create", "menuChoiceViewModel")); + d.expectObject(e3.info, () => c.createFunctionParameter(h, "create", "menuChoiceViewModel")); try { const o2 = []; r2._addMenuChoiceToCoreContent(e3, o2); @@ -13855,32 +14748,101 @@ var require_scripting_bundle = __commonJS({ }, 8625: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.dialogflowAgentManager = t2.DialogflowAgentManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importDefault(i2(47532)), a = i2(30801), s = i2(17832), l = i2(81801), u = i2(24032), d = i2(47957), c = i2(27862), p = i2(51294); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importDefault(i2(47532)), a = i2(30801), s = i2(17832), l = i2(81801), u = i2(24032), c = i2(47957), d = i2(27862), p = i2(51294); class _ extends o.default { get requiredAuth() { return l.externalAuthorizations.authStrings.integrationView; } get dependencyType() { - return c.DialogflowAgent; + return d.DialogflowAgent; } constructor() { - super(), this.topic = (0, u.getTopic)("DialogflowAgentManager"), this.apiCallList = p.getAgents, this.apiCallSingle = p.getAgent, this._rawServerCache = {}, this.actionsForUsageSearch = [a.dialogflowActionType], this.actionPropertyForUsageSearch = "bot", this.defaultMatchingStyle = r2.exactMatch, this.dependencyContext = d.dialogflow.dialogflowAgent, this.searchField = "name", this.uiMetadataSectionName = "dialogflowAgents", this.className = "DialogflowAgentManager", this._initialize(); + super(), this.topic = (0, u.getTopic)("DialogflowAgentManager"), this.apiCallList = p.getAgents, this.apiCallSingle = p.getAgent, this._rawServerCache = {}, this.actionsForUsageSearch = [a.dialogflowActionType], this.actionPropertyForUsageSearch = "bot", this.defaultMatchingStyle = r2.exactMatch, this.dependencyContext = c.dialogflow.dialogflowAgent, this.searchField = "name", this.uiMetadataSectionName = "dialogflowAgents", this.className = "DialogflowAgentManager", this._initialize(); } _createItemViewModel(e3) { return new s.DialogflowAgentViewModel(e3); } } t2.DialogflowAgentManager = _, t2.dialogflowAgentManager = new _(); + }, 8712: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getActionPropertyDisplayName = s, t2.getUpdateDataStatementValueDisplayName = function() { + return a.updateVariables.updateStatement; + }, t2.getFlowObjectPropertyDisplayName = l, t2.resolvePropertyDisplayName = function(e3, t3, i3) { + if ("action" === t3 && i3 && "object" == typeof i3) { + const t4 = i3; + if ("string" == typeof t4.className) return s(t4, e3); + } + return l(t3, e3); + }, t2.buildPropertySetActivityEvent = function(e3) { + const { objectType: t3, objectName: i3, objectId: n3, trackingId: r3, viewModel: a2, changeIndex: s2, property: l2, propertyDisplayName: c, propertyValue: d } = e3; + return { type: "propertySet", objectType: t3, objectName: i3, objectId: n3, trackingId: r3, viewModel: a2, changeIndex: s2, property: l2, propertyDisplayName: c, propertyValue: d, message: { template: d ? o.changeSet.activity.propertySet : o.changeSet.activity.propertySetNoValue, params: [{ value: c, link: u(e3) }, ...d ? [{ value: d }] : []] } }; + }, t2.buildPropertyConfiguringActivityEvent = function(e3) { + const { objectType: t3, objectName: i3, objectId: n3, trackingId: r3, viewModel: a2, changeIndex: s2, property: l2, propertyDisplayName: c } = e3; + return { type: "propertyConfiguring", objectType: t3, objectName: i3, objectId: n3, trackingId: r3, viewModel: a2, changeIndex: s2, property: l2, propertyDisplayName: c, message: { template: o.changeSet.activity.propertyConfiguring, params: [{ value: c, link: u(e3) }] } }; + }; + const n2 = i2(31635), r2 = i2(71314), o = n2.__importStar(i2(69453)), a = i2(47957); + function s(e3, t3) { + var i3, n3; + if ("name" === t3) return a.generic.name; + for (const i4 of (0, r2.getManagedProperties)(e3)) if (i4.property === t3 && i4.label) return i4.label; + if ("statements" === t3) return a.updateVariables.updateStatements; + const o2 = t3.match(/^variables\[(\d+)]\.(\w+)$/); + if (o2) { + const t4 = parseInt(o2[1], 10), r3 = o2[2], a2 = e3.variables; + if (a2 && "object" == typeof a2 && "items" in a2) { + const e4 = a2.items, o3 = null == e4 ? void 0 : e4[t4]; + if (o3 && "variable" === r3 && (null === (i3 = o3.variable) || void 0 === i3 ? void 0 : i3.label)) return o3.variable.label; + if (o3 && "expression" === r3 && (null === (n3 = o3.expression) || void 0 === n3 ? void 0 : n3.label)) return o3.expression.label; + } + } + return t3; + } + function l(e3, t3) { + switch (e3) { + case "flow": + if ("initialGreeting" === t3) return a.initialGreetingLabel; + break; + case "menu": + switch (t3) { + case "name": + return a.menu.createNameLabel; + case "audio": + return a.menu.initialAudioLabel; + case "defaultMenuChoice": + return a.menu.defaultMenuChoice; + } + break; + case "menuChoice": + switch (t3) { + case "name": + return a.generic.name; + case "dtmf": + return a.menuChoice.dtmfSelector; + } + break; + case "task": + if ("name" === t3) return a.task.createNameLabel; + break; + case "state": + if ("name" === t3) return a.state.createNameLabel; + } + return t3; + } + function u(e3) { + const { objectId: t3, objectType: i3, trackingId: n3, viewModel: r3, property: o2, linkPropertyName: a2, propertyViewModel: s2 } = e3; + if (t3) return { objectId: t3, objectType: i3, trackingId: n3, viewModel: r3, propertyName: null != a2 ? a2 : o2, propertyViewModel: s2 }; + } }, 8758: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.guideManager = t2.GuideManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(11914)), o = i2(30801), a = n2.__importDefault(i2(47532)), s = i2(81801), l = i2(24032), u = n2.__importDefault(i2(62100)), d = i2(79015), c = i2(47957), p = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(11914)), o = i2(30801), a = n2.__importDefault(i2(47532)), s = i2(81801), l = i2(24032), u = n2.__importDefault(i2(62100)), c = i2(79015), d = i2(47957), p = i2(27862); class _ extends a.default { get dependencyType() { return p.Guide; } constructor() { - super(), this.topic = (0, l.getTopic)("guideManager"), this._rawServerCache = {}, this.apiCallList = r2.getGuides, this.apiCallSingle = r2.getGuide, this.actionsForUsageSearch = [o.callGuideActionType], this.actionPropertyForUsageSearch = "guideSetting", this.defaultInputsWithNoValue = true, this.className = "GuideManager", this.defaultPageSize = 100, this.dependencyContext = c.guide.guide, this.searchField = "nameContains", this.searchWildcardSupport = false, this.sortOrder = "asc", this.suppressSearch = false, this.uiMetadataSectionName = "guides", this._initialize(); + super(), this.topic = (0, l.getTopic)("guideManager"), this._rawServerCache = {}, this.apiCallList = r2.getGuides, this.apiCallSingle = r2.getGuide, this.actionsForUsageSearch = [o.callGuideActionType], this.actionPropertyForUsageSearch = "guideSetting", this.defaultInputsWithNoValue = true, this.className = "GuideManager", this.defaultPageSize = 100, this.dependencyContext = d.guide.guide, this.searchField = "nameContains", this.searchWildcardSupport = false, this.sortOrder = "asc", this.suppressSearch = false, this.uiMetadataSectionName = "guides", this._initialize(); } get requiredAuth() { return s.externalAuthorizations.authStrings.guideView; @@ -13889,7 +14851,7 @@ var require_scripting_bundle = __commonJS({ return u.default; } _createItemViewModel(e3) { - return new d.GuideViewModel(e3); + return new c.GuideViewModel(e3); } } t2.GuideManager = _, t2.guideManager = new _(); @@ -13923,7 +14885,7 @@ var require_scripting_bundle = __commonJS({ }, 8833: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(94225)), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(43011)), l = i2(27854), u = i2(27854), d = i2(27854), c = i2(27854), p = i2(27854), _ = n2.__importDefault(i2(56549)), h = n2.__importDefault(i2(81574)); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(94225)), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(43011)), l = i2(27854), u = i2(27854), c = i2(27854), d = i2(27854), p = i2(27854), _ = n2.__importDefault(i2(56549)), h = n2.__importDefault(i2(81574)); class m extends h.default { constructor(e3) { super(e3); @@ -13950,8 +14912,8 @@ var require_scripting_bundle = __commonJS({ return n2.__awaiter(this, void 0, void 0, function* () { const i3 = this._infoParm("promptPrefixedName", "setLiteralByPromptNameAsync"); this._checkItemUndefinedOrNull(i3, e3), this._checkItem(i3, !this.isValidString(e3), "you must pass in either an Architect prompt string like 'Prompt.MyPrompt' that identifies the prompt to set."), this._checkItem(i3, !this.settings.canBeLiteral, `you cannot assign a prompt literal because this value ${this.settings.logStr} cannot be a literal.`), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByPromptNameAsync"), t3, true); - const n3 = (0, u.hasSystemPromptPrefix)(e3), r3 = !n3 && (0, d.hasUserPromptPrefix)(e3); - n3 || r3 || this._itemIsInvalid(i3, `the prompt name '${e3}' does not not start with '${c.prefixes.user}' or '${c.prefixes.system}'`); + const n3 = (0, u.hasSystemPromptPrefix)(e3), r3 = !n3 && (0, c.hasUserPromptPrefix)(e3); + n3 || r3 || this._itemIsInvalid(i3, `the prompt name '${e3}' does not not start with '${d.prefixes.user}' or '${d.prefixes.system}'`); const a2 = n3 ? s.systemPromptListManager : s.userPromptListManager; e3 = (0, p.removePrefix)(e3); const h2 = yield _.default.findItemByValueAsync(a2, e3, "prompt", void 0, void 0, void 0, { includeMediaUris: true, includeResources: true }); @@ -13977,15 +14939,32 @@ var require_scripting_bundle = __commonJS({ }, 8851: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(965)), o = n2.__importDefault(i2(27752)), a = n2.__importDefault(i2(75810)), s = n2.__importDefault(i2(68301)), l = n2.__importDefault(i2(46421)), u = n2.__importDefault(i2(36967)), d = n2.__importDefault(i2(68783)), c = n2.__importDefault(i2(7221)), p = n2.__importDefault(i2(73506)), _ = n2.__importDefault(i2(73177)), h = n2.__importDefault(i2(35284)), m = n2.__importDefault(i2(78616)), g = n2.__importDefault(i2(17021)), f = n2.__importDefault(i2(8416)), T = n2.__importDefault(i2(40568)), y = n2.__importDefault(i2(87828)), S = n2.__importDefault(i2(37661)), A = n2.__importDefault(i2(47652)), N = n2.__importDefault(i2(1383)), O = n2.__importDefault(i2(81526)), I = n2.__importDefault(i2(47e3)), v = n2.__importDefault(i2(22309)), C = n2.__importDefault(i2(56677)), b = n2.__importDefault(i2(32504)), E = n2.__importDefault(i2(99621)), R = n2.__importDefault(i2(28447)), w = n2.__importDefault(i2(12707)), D = n2.__importDefault(i2(15904)), P = n2.__importDefault(i2(81832)), M = n2.__importDefault(i2(12163)), F = n2.__importDefault(i2(43520)), L = n2.__importDefault(i2(16912)), x = n2.__importDefault(i2(29390)), k = n2.__importDefault(i2(47818)), V = n2.__importDefault(i2(48932)), U = n2.__importDefault(i2(10202)), B = n2.__importDefault(i2(53862)), G = n2.__importDefault(i2(46131)), j = n2.__importDefault(i2(45252)), W = n2.__importDefault(i2(62240)), q = n2.__importDefault(i2(2036)), Y = n2.__importDefault(i2(37333)), H = n2.__importDefault(i2(65218)), J = n2.__importDefault(i2(44820)), z = n2.__importDefault(i2(8303)), K = n2.__importDefault(i2(39907)), $ = n2.__importDefault(i2(24156)), Q = n2.__importDefault(i2(95934)), X = n2.__importDefault(i2(26448)), Z = n2.__importDefault(i2(9819)), ee = n2.__importDefault(i2(441)), te = n2.__importDefault(i2(2410)), ie = n2.__importDefault(i2(25255)), ne = n2.__importDefault(i2(91685)), re = n2.__importDefault(i2(21224)), oe = n2.__importDefault(i2(52052)), ae = n2.__importDefault(i2(92595)), se = n2.__importDefault(i2(33513)), le = n2.__importDefault(i2(70109)), ue = n2.__importDefault(i2(86015)), de = n2.__importDefault(i2(8080)), ce = n2.__importDefault(i2(73080)), pe = n2.__importDefault(i2(77680)), _e = n2.__importDefault(i2(19791)), he = n2.__importDefault(i2(86473)), me = n2.__importDefault(i2(32345)), ge = n2.__importDefault(i2(98088)), fe = n2.__importDefault(i2(4130)), Te = n2.__importDefault(i2(29433)), ye = n2.__importDefault(i2(92257)), Se = n2.__importDefault(i2(99847)), Ae = n2.__importDefault(i2(59524)), Ne = n2.__importDefault(i2(10923)), Oe = n2.__importDefault(i2(89965)), Ie = n2.__importDefault(i2(20403)), ve = n2.__importDefault(i2(73903)), Ce = n2.__importDefault(i2(57088)), be = n2.__importDefault(i2(73677)), Ee = n2.__importDefault(i2(92109)), Re = n2.__importDefault(i2(50853)), we = n2.__importDefault(i2(91173)), De = n2.__importDefault(i2(99528)), Pe = n2.__importDefault(i2(68608)), Me = n2.__importDefault(i2(6568)), Fe = n2.__importDefault(i2(15589)), Le = n2.__importDefault(i2(19563)), xe = n2.__importDefault(i2(17302)), ke = n2.__importDefault(i2(56356)), Ve = n2.__importDefault(i2(48611)), Ue = n2.__importDefault(i2(66134)), Be = n2.__importDefault(i2(48787)), Ge = n2.__importDefault(i2(66632)), je = n2.__importDefault(i2(18953)), We = n2.__importDefault(i2(44409)), qe = n2.__importDefault(i2(2467)), Ye = n2.__importDefault(i2(94684)), He = n2.__importDefault(i2(51913)), Je = n2.__importDefault(i2(80344)), ze = n2.__importDefault(i2(6276)), Ke = n2.__importDefault(i2(90733)), $e = n2.__importDefault(i2(82118)), Qe = n2.__importDefault(i2(26166)), Xe = n2.__importDefault(i2(1227)), Ze = n2.__importDefault(i2(13169)), et = n2.__importDefault(i2(92395)), tt = n2.__importDefault(i2(151)), it = n2.__importDefault(i2(43497)), nt = n2.__importDefault(i2(90067)), rt = n2.__importDefault(i2(50720)), ot = n2.__importDefault(i2(40091)), at = n2.__importDefault(i2(83054)), st = n2.__importDefault(i2(80219)), lt = n2.__importDefault(i2(32050)), ut = n2.__importDefault(i2(95433)), dt = n2.__importDefault(i2(95201)), ct = n2.__importDefault(i2(38557)), pt = n2.__importDefault(i2(61828)), _t = n2.__importDefault(i2(87115)), ht = n2.__importDefault(i2(67987)), mt = n2.__importDefault(i2(94455)), gt = n2.__importDefault(i2(85763)), ft = n2.__importDefault(i2(92512)), Tt = n2.__importDefault(i2(77373)), yt = n2.__importDefault(i2(29829)), St = n2.__importDefault(i2(48167)), At = n2.__importDefault(i2(46638)), Nt = n2.__importDefault(i2(51978)), Ot = n2.__importDefault(i2(59497)), It = n2.__importDefault(i2(12252)), vt = n2.__importDefault(i2(384)), Ct = n2.__importDefault(i2(68436)), bt = n2.__importDefault(i2(66777)), Et = n2.__importDefault(i2(858)), Rt = n2.__importDefault(i2(19296)), wt = n2.__importDefault(i2(18993)), Dt = n2.__importDefault(i2(28323)), Pt = n2.__importDefault(i2(77775)), Mt = n2.__importDefault(i2(62320)), Ft = n2.__importDefault(i2(9019)), Lt = n2.__importDefault(i2(61397)), xt = n2.__importDefault(i2(14038)), kt = n2.__importDefault(i2(63338)), Vt = n2.__importDefault(i2(18431)), Ut = n2.__importDefault(i2(73583)), Bt = n2.__importDefault(i2(88911)), Gt = n2.__importDefault(i2(16608)), jt = n2.__importDefault(i2(35481)), Wt = n2.__importDefault(i2(31349)), qt = n2.__importDefault(i2(24714)), Yt = n2.__importDefault(i2(41935)), Ht = n2.__importDefault(i2(47038)), Jt = n2.__importDefault(i2(94705)), zt = n2.__importDefault(i2(15144)), Kt = n2.__importDefault(i2(22028)), $t = n2.__importDefault(i2(6209)), Qt = n2.__importDefault(i2(77031)), Xt = n2.__importDefault(i2(95847)), Zt = n2.__importDefault(i2(63370)), ei = n2.__importDefault(i2(95212)), ti = n2.__importDefault(i2(438)), ii = n2.__importDefault(i2(32732)), ni = n2.__importDefault(i2(15458)), ri = n2.__importDefault(i2(76827)), oi = n2.__importDefault(i2(48604)), ai = n2.__importDefault(i2(72683)), si = n2.__importDefault(i2(74422)), li = n2.__importDefault(i2(38764)), ui = n2.__importDefault(i2(35589)), di = { ArchActionAbortSurveyInvite: o.default, ArchActionAddFlowMilestone: a.default, ArchActionAskForAuthentication: s.default, ArchActionAskForBoolean: l.default, ArchActionAskForIntent: u.default, ArchActionAskForSlot: c.default, ArchActionAskForPayment: d.default, ArchActionAskSurveyQuestion: p.default, ArchActionAudioMonitoring: _.default, ArchActionCallAgenticVirtualAgent: h.default, ArchActionCallAudioConnector: m.default, ArchActionCallBotFlow: f.default, ArchActionCallBridge: T.default, ArchActionCallCommonModule: y.default, ArchActionCallData: S.default, ArchActionCallDataSecure: A.default, ArchActionCallDialogEngineBot: O.default, ArchActionCallDialogflowBot: I.default, ArchActionCallDialogflowCxBot: v.default, ArchActionCallDigitalBotConnector: C.default, ArchActionCallDigitalBotFlow: b.default, ArchActionCallGuide: E.default, ArchActionCallLexBot: R.default, ArchActionCallLexV2Bot: w.default, ArchActionCallBotConnector: g.default, ArchActionCallNuanceMixBot: D.default, ArchActionCallTask: P.default, ArchActionChangeState: F.default, ArchActionCallVoiceFlow: M.default, ArchActionClearActiveIntent: L.default, ArchActionClearPostFlow: x.default, ArchActionClearSlot: V.default, ArchActionClearUtilizationLabel: U.default, ArchActionClearVoicemailSnippet: B.default, ArchActionClearSkillExpressionFilters: k.default, ArchActionCollectInput: G.default, ArchActionProcessVoicemailInput: gt.default, ArchActionCollectVoiceSnippet: j.default, ArchActionCommunicate: W.default, ArchActionAbortSend: r2.default, ArchActionCompleteSend: q.default, ArchActionCompleteSurveyInvite: Y.default, ArchActionCreateCallback: H.default, ArchActionCreateConversationAttribute: J.default, ArchActionDataTableLookup: z.default, ArchActionDecision: K.default, ArchActionCallDecisionTable: N.default, ArchActionDecryptData: $.default, ArchActionDeflect: Q.default, ArchActionDetectIntent: X.default, ArchActionDetectSilence: Z.default, ArchActionDialByExtension: ee.default, ArchActionDigitalMenu: te.default, ArchActionDisconnect: ie.default, ArchActionDisconnectWorkitem: ne.default, ArchActionEnableParticipantRecord: re.default, ArchActionEncryptData: oe.default, ArchActionEndState: ae.default, ArchActionEndTask: se.default, ArchActionEndWorkflow: le.default, ArchActionEvaluateSchedule: ue.default, ArchActionEvaluateScheduleGroup: de.default, ArchActionEvaluateSkillExpressionFilters: ce.default, ArchActionExitBotFlow: pe.default, ArchActionExitWorkitemFlow: _e.default, ArchActionExtractSecureData: he.default, ArchActionFindDivision: me.default, ArchActionFindDivisions: ge.default, ArchActionFindEmergencyGroup: fe.default, ArchActionFindGrammar: Te.default, ArchActionFindGrammarById: ye.default, ArchActionFindGroup: Se.default, ArchActionFindKnowledgeBaseDocumentById: Ae.default, ArchActionFindLanguageSkill: Ne.default, ArchActionFindQueue: Oe.default, ArchActionFindQueueById: Ie.default, ArchActionFindSchedule: ve.default, ArchActionFindScheduleGroup: Ce.default, ArchActionFindSkill: be.default, ArchActionFindSystemPrompt: Ee.default, ArchActionFindUser: Re.default, ArchActionFindUserById: we.default, ArchActionFindUserPrompt: De.default, ArchActionFindUsersById: Pe.default, ArchActionFindUtilizationLabel: Me.default, ArchActionFlushAudio: Fe.default, ArchActionForm: Le.default, ArchActionGetConversationAttribute: ke.default, ArchActionGetConversationAttributes: Ve.default, ArchActionGetAssignedCustomerIntents: xe.default, ArchActionGetConversationData: Ue.default, ArchActionGetExternalContact: Ge.default, ArchActionGetExternalOrganization: je.default, ArchActionGetJourneyOutcome: We.default, ArchActionGetJourneyOutcomeScoresBySession: qe.default, ArchActionGetJourneySegment: Ye.default, ArchActionGetJourneySession: He.default, ArchActionGetJourneySessionsByExternalContact: Je.default, ArchActionGetParticipantData: ze.default, ArchActionGetRawSIPHeaders: Ke.default, ArchActionGetResponse: $e.default, ArchActionGetSecuredData: Qe.default, ArchActionGetEmailHeaders: Be.default, ArchActionGetSIPHeaders: Xe.default, ArchActionHoldMusic: Ze.default, ArchActionInitializeFlowOutcome: et.default, ArchActionJumpToMenu: tt.default, ArchActionJumpToTask: it.default, ArchActionLoop: nt.default, ArchActionLoopAnythingElse: rt.default, ArchActionLoopUntil: st.default, ArchActionLoopExit: ot.default, ArchActionLoopNext: at.default, ArchActionMenu: lt.default, ArchActionPlayAudio: ut.default, ArchActionPlayAudioOnSilence: dt.default, ArchActionPlayEstimatedWaitTime: ct.default, ArchActionPlayPositionInQueue: pt.default, ArchActionPlayUserGreeting: _t.default, ArchActionPlayUserName: ht.default, ArchActionPreviousMenu: mt.default, ArchActionPromoteExternalContact: ft.default, ArchActionRepeatMenu: Tt.default, ArchActionReturnToAgent: yt.default, ArchActionSearchExternalContacts: St.default, ArchActionSendAutoReply: At.default, ArchActionSendDigitalContent: Nt.default, ArchActionSendInteractiveApplication: Ot.default, ArchActionSendKnowledgeFeedback: It.default, ArchActionSendNotification: vt.default, ArchActionSendResponse: Ct.default, ArchActionSendRichLink: bt.default, ArchActionSetConversationData: Et.default, ArchActionSetExternalTag: Rt.default, ArchActionSetIntent: Dt.default, ArchActionSetFlowOutcome: wt.default, ArchActionSetLanguage: Pt.default, ArchActionSetParticipantData: Mt.default, ArchActionSetPostFlow: Ft.default, ArchActionSetPriority: Lt.default, ArchActionSetSecuredData: kt.default, ArchActionSetSkillExpressionFilters: Vt.default, ArchActionSetSkills: Ut.default, ArchActionSetScreenPop: xt.default, ArchActionSetUtilizationLabel: Bt.default, ArchActionSetUUIData: Gt.default, ArchActionSetWhisperAudio: jt.default, ArchActionShowKnowledgeArticle: qt.default, ArchActionSetWrapupCode: Wt.default, ArchActionSubmitVoicemailSnippet: Yt.default, ArchActionSubmitVoiceSnippet: Ht.default, ArchActionSwitch: Jt.default, ArchActionTask: zt.default, ArchActionTerminateWorkitem: Kt.default, ArchActionTranscription: $t.default, ArchActionTransferToAcd: Qt.default, ArchActionTransferToFlow: Xt.default, ArchActionTransferToFlowSecure: Zt.default, ArchActionTransferToGroup: ei.default, ArchActionTransferToNumber: ti.default, ArchActionTransferToUser: ii.default, ArchActionTransferToVoicemail: ni.default, ArchActionUpdateConversationAttribute: ri.default, ArchActionUpdateData: oi.default, ArchActionUpdateExternalContact: ai.default, ArchActionUpdateWorkitem: si.default, ArchActionWait: li.default, ArchActionWaitForInput: ui.default }; - t2.default = di; + const n2 = i2(31635), r2 = n2.__importDefault(i2(965)), o = n2.__importDefault(i2(27752)), a = n2.__importDefault(i2(75810)), s = n2.__importDefault(i2(43927)), l = n2.__importDefault(i2(96366)), u = n2.__importDefault(i2(68301)), c = n2.__importDefault(i2(46421)), d = n2.__importDefault(i2(36967)), p = n2.__importDefault(i2(68783)), _ = n2.__importDefault(i2(7221)), h = n2.__importDefault(i2(73506)), m = n2.__importDefault(i2(92299)), g = n2.__importDefault(i2(73177)), f = n2.__importDefault(i2(35284)), T = n2.__importDefault(i2(78616)), y = n2.__importDefault(i2(17021)), S = n2.__importDefault(i2(8416)), A = n2.__importDefault(i2(40568)), N = n2.__importDefault(i2(87828)), v = n2.__importDefault(i2(37661)), O = n2.__importDefault(i2(47652)), I = n2.__importDefault(i2(1383)), C = n2.__importDefault(i2(81526)), b = n2.__importDefault(i2(47e3)), E = n2.__importDefault(i2(22309)), w = n2.__importDefault(i2(56677)), R = n2.__importDefault(i2(32504)), D = n2.__importDefault(i2(99621)), P = n2.__importDefault(i2(28447)), M = n2.__importDefault(i2(12707)), F = n2.__importDefault(i2(15904)), L = n2.__importDefault(i2(81832)), x = n2.__importDefault(i2(12163)), k = n2.__importDefault(i2(43520)), V = n2.__importDefault(i2(16912)), U = n2.__importDefault(i2(29390)), B = n2.__importDefault(i2(47818)), G = n2.__importDefault(i2(48932)), j = n2.__importDefault(i2(10202)), W = n2.__importDefault(i2(53862)), q = n2.__importDefault(i2(46131)), Y = n2.__importDefault(i2(45252)), H = n2.__importDefault(i2(62240)), J = n2.__importDefault(i2(2036)), $ = n2.__importDefault(i2(37333)), z = n2.__importDefault(i2(65218)), K = n2.__importDefault(i2(44820)), Q = n2.__importDefault(i2(8303)), X = n2.__importDefault(i2(39907)), Z = n2.__importDefault(i2(24156)), ee = n2.__importDefault(i2(95934)), te = n2.__importDefault(i2(26448)), ie = n2.__importDefault(i2(9819)), ne = n2.__importDefault(i2(441)), re = n2.__importDefault(i2(2410)), oe = n2.__importDefault(i2(25255)), ae = n2.__importDefault(i2(91685)), se = n2.__importDefault(i2(21224)), le = n2.__importDefault(i2(52052)), ue = n2.__importDefault(i2(92595)), ce = n2.__importDefault(i2(33513)), de = n2.__importDefault(i2(70109)), pe = n2.__importDefault(i2(86015)), _e = n2.__importDefault(i2(8080)), he = n2.__importDefault(i2(73080)), me = n2.__importDefault(i2(77680)), ge = n2.__importDefault(i2(19791)), fe = n2.__importDefault(i2(86473)), Te = n2.__importDefault(i2(32345)), ye = n2.__importDefault(i2(98088)), Se = n2.__importDefault(i2(4130)), Ae = n2.__importDefault(i2(29433)), Ne = n2.__importDefault(i2(92257)), ve = n2.__importDefault(i2(99847)), Oe = n2.__importDefault(i2(59524)), Ie = n2.__importDefault(i2(10923)), Ce = n2.__importDefault(i2(89965)), be = n2.__importDefault(i2(20403)), Ee = n2.__importDefault(i2(73903)), we = n2.__importDefault(i2(57088)), Re = n2.__importDefault(i2(73677)), De = n2.__importDefault(i2(92109)), Pe = n2.__importDefault(i2(50853)), Me = n2.__importDefault(i2(91173)), Fe = n2.__importDefault(i2(99528)), Le = n2.__importDefault(i2(68608)), xe = n2.__importDefault(i2(6568)), ke = n2.__importDefault(i2(15589)), Ve = n2.__importDefault(i2(19563)), Ue = n2.__importDefault(i2(17302)), Be = n2.__importDefault(i2(36911)), Ge = n2.__importDefault(i2(56356)), je = n2.__importDefault(i2(48611)), We = n2.__importDefault(i2(66134)), qe = n2.__importDefault(i2(48787)), Ye = n2.__importDefault(i2(66632)), He = n2.__importDefault(i2(18953)), Je = n2.__importDefault(i2(44409)), $e = n2.__importDefault(i2(2467)), ze = n2.__importDefault(i2(94684)), Ke = n2.__importDefault(i2(51913)), Qe = n2.__importDefault(i2(80344)), Xe = n2.__importDefault(i2(6276)), Ze = n2.__importDefault(i2(90733)), et = n2.__importDefault(i2(82118)), tt = n2.__importDefault(i2(26166)), it = n2.__importDefault(i2(1227)), nt = n2.__importDefault(i2(13169)), rt = n2.__importDefault(i2(92395)), ot = n2.__importDefault(i2(151)), at = n2.__importDefault(i2(43497)), st = n2.__importDefault(i2(90067)), lt = n2.__importDefault(i2(50720)), ut = n2.__importDefault(i2(40091)), ct = n2.__importDefault(i2(83054)), dt = n2.__importDefault(i2(80219)), pt = n2.__importDefault(i2(32050)), _t = n2.__importDefault(i2(95433)), ht = n2.__importDefault(i2(95201)), mt = n2.__importDefault(i2(38557)), gt = n2.__importDefault(i2(61828)), ft = n2.__importDefault(i2(87115)), Tt = n2.__importDefault(i2(67987)), yt = n2.__importDefault(i2(94455)), St = n2.__importDefault(i2(85763)), At = n2.__importDefault(i2(92512)), Nt = n2.__importDefault(i2(77373)), vt = n2.__importDefault(i2(29829)), Ot = n2.__importDefault(i2(48167)), It = n2.__importDefault(i2(46638)), Ct = n2.__importDefault(i2(51978)), bt = n2.__importDefault(i2(59497)), Et = n2.__importDefault(i2(12252)), wt = n2.__importDefault(i2(384)), Rt = n2.__importDefault(i2(68436)), Dt = n2.__importDefault(i2(66777)), Pt = n2.__importDefault(i2(858)), Mt = n2.__importDefault(i2(19296)), Ft = n2.__importDefault(i2(18993)), Lt = n2.__importDefault(i2(28323)), xt = n2.__importDefault(i2(77775)), kt = n2.__importDefault(i2(62320)), Vt = n2.__importDefault(i2(9019)), Ut = n2.__importDefault(i2(61397)), Bt = n2.__importDefault(i2(14038)), Gt = n2.__importDefault(i2(63338)), jt = n2.__importDefault(i2(18431)), Wt = n2.__importDefault(i2(73583)), qt = n2.__importDefault(i2(88911)), Yt = n2.__importDefault(i2(16608)), Ht = n2.__importDefault(i2(35481)), Jt = n2.__importDefault(i2(31349)), $t = n2.__importDefault(i2(24714)), zt = n2.__importDefault(i2(41935)), Kt = n2.__importDefault(i2(47038)), Qt = n2.__importDefault(i2(94705)), Xt = n2.__importDefault(i2(15144)), Zt = n2.__importDefault(i2(22028)), ei = n2.__importDefault(i2(6209)), ti = n2.__importDefault(i2(77031)), ii = n2.__importDefault(i2(95847)), ni = n2.__importDefault(i2(63370)), ri = n2.__importDefault(i2(95212)), oi = n2.__importDefault(i2(438)), ai = n2.__importDefault(i2(32732)), si = n2.__importDefault(i2(15458)), li = n2.__importDefault(i2(76827)), ui = n2.__importDefault(i2(48604)), ci = n2.__importDefault(i2(72683)), di = n2.__importDefault(i2(74422)), pi = n2.__importDefault(i2(38764)), _i = n2.__importDefault(i2(35589)), hi = { ArchActionAbortSurveyInvite: o.default, ArchActionAddFlowMilestone: a.default, ArchActionAskForAuthentication: u.default, ArchActionAskForBoolean: c.default, ArchActionAgenticAnythingElse: s.default, ArchActionAgenticAskForIntent: l.default, ArchActionAskForIntent: d.default, ArchActionAskForSlot: _.default, ArchActionAskForPayment: p.default, ArchActionAskSurveyQuestion: h.default, ArchActionAssignCustomerSegment: m.default, ArchActionAudioMonitoring: g.default, ArchActionCallAgenticVirtualAgent: f.default, ArchActionCallAudioConnector: T.default, ArchActionCallBotFlow: S.default, ArchActionCallBridge: A.default, ArchActionCallCommonModule: N.default, ArchActionCallData: v.default, ArchActionCallDataSecure: O.default, ArchActionCallDialogEngineBot: C.default, ArchActionCallDialogflowBot: b.default, ArchActionCallDialogflowCxBot: E.default, ArchActionCallDigitalBotConnector: w.default, ArchActionCallDigitalBotFlow: R.default, ArchActionCallGuide: D.default, ArchActionCallLexBot: P.default, ArchActionCallLexV2Bot: M.default, ArchActionCallBotConnector: y.default, ArchActionCallNuanceMixBot: F.default, ArchActionCallTask: L.default, ArchActionChangeState: k.default, ArchActionCallVoiceFlow: x.default, ArchActionClearActiveIntent: V.default, ArchActionClearPostFlow: U.default, ArchActionClearSlot: G.default, ArchActionClearUtilizationLabel: j.default, ArchActionClearVoicemailSnippet: W.default, ArchActionClearSkillExpressionFilters: B.default, ArchActionCollectInput: q.default, ArchActionProcessVoicemailInput: St.default, ArchActionCollectVoiceSnippet: Y.default, ArchActionCommunicate: H.default, ArchActionAbortSend: r2.default, ArchActionCompleteSend: J.default, ArchActionCompleteSurveyInvite: $.default, ArchActionCreateCallback: z.default, ArchActionCreateConversationAttribute: K.default, ArchActionDataTableLookup: Q.default, ArchActionDecision: X.default, ArchActionCallDecisionTable: I.default, ArchActionDecryptData: Z.default, ArchActionDeflect: ee.default, ArchActionDetectIntent: te.default, ArchActionDetectSilence: ie.default, ArchActionDialByExtension: ne.default, ArchActionDigitalMenu: re.default, ArchActionDisconnect: oe.default, ArchActionDisconnectWorkitem: ae.default, ArchActionEnableParticipantRecord: se.default, ArchActionEncryptData: le.default, ArchActionEndState: ue.default, ArchActionEndTask: ce.default, ArchActionEndWorkflow: de.default, ArchActionEvaluateSchedule: pe.default, ArchActionEvaluateScheduleGroup: _e.default, ArchActionEvaluateSkillExpressionFilters: he.default, ArchActionExitBotFlow: me.default, ArchActionExitWorkitemFlow: ge.default, ArchActionExtractSecureData: fe.default, ArchActionFindDivision: Te.default, ArchActionFindDivisions: ye.default, ArchActionFindEmergencyGroup: Se.default, ArchActionFindGrammar: Ae.default, ArchActionFindGrammarById: Ne.default, ArchActionFindGroup: ve.default, ArchActionFindKnowledgeBaseDocumentById: Oe.default, ArchActionFindLanguageSkill: Ie.default, ArchActionFindQueue: Ce.default, ArchActionFindQueueById: be.default, ArchActionFindSchedule: Ee.default, ArchActionFindScheduleGroup: we.default, ArchActionFindSkill: Re.default, ArchActionFindSystemPrompt: De.default, ArchActionFindUser: Pe.default, ArchActionFindUserById: Me.default, ArchActionFindUserPrompt: Fe.default, ArchActionFindUsersById: Le.default, ArchActionFindUtilizationLabel: xe.default, ArchActionFlushAudio: ke.default, ArchActionForm: Ve.default, ArchActionGetConversationAttribute: Ge.default, ArchActionGetConversationAttributes: je.default, ArchActionGetAssignedCustomerIntents: Ue.default, ArchActionGetAssignedCustomerSegments: Be.default, ArchActionGetConversationData: We.default, ArchActionGetExternalContact: Ye.default, ArchActionGetExternalOrganization: He.default, ArchActionGetJourneyOutcome: Je.default, ArchActionGetJourneyOutcomeScoresBySession: $e.default, ArchActionGetJourneySegment: ze.default, ArchActionGetJourneySession: Ke.default, ArchActionGetJourneySessionsByExternalContact: Qe.default, ArchActionGetParticipantData: Xe.default, ArchActionGetRawSIPHeaders: Ze.default, ArchActionGetResponse: et.default, ArchActionGetSecuredData: tt.default, ArchActionGetEmailHeaders: qe.default, ArchActionGetSIPHeaders: it.default, ArchActionHoldMusic: nt.default, ArchActionInitializeFlowOutcome: rt.default, ArchActionJumpToMenu: ot.default, ArchActionJumpToTask: at.default, ArchActionLoop: st.default, ArchActionLoopAnythingElse: lt.default, ArchActionLoopUntil: dt.default, ArchActionLoopExit: ut.default, ArchActionLoopNext: ct.default, ArchActionMenu: pt.default, ArchActionPlayAudio: _t.default, ArchActionPlayAudioOnSilence: ht.default, ArchActionPlayEstimatedWaitTime: mt.default, ArchActionPlayPositionInQueue: gt.default, ArchActionPlayUserGreeting: ft.default, ArchActionPlayUserName: Tt.default, ArchActionPreviousMenu: yt.default, ArchActionPromoteExternalContact: At.default, ArchActionRepeatMenu: Nt.default, ArchActionReturnToAgent: vt.default, ArchActionSearchExternalContacts: Ot.default, ArchActionSendAutoReply: It.default, ArchActionSendDigitalContent: Ct.default, ArchActionSendInteractiveApplication: bt.default, ArchActionSendKnowledgeFeedback: Et.default, ArchActionSendNotification: wt.default, ArchActionSendResponse: Rt.default, ArchActionSendRichLink: Dt.default, ArchActionSetConversationData: Pt.default, ArchActionSetExternalTag: Mt.default, ArchActionSetIntent: Lt.default, ArchActionSetFlowOutcome: Ft.default, ArchActionSetLanguage: xt.default, ArchActionSetParticipantData: kt.default, ArchActionSetPostFlow: Vt.default, ArchActionSetPriority: Ut.default, ArchActionSetSecuredData: Gt.default, ArchActionSetSkillExpressionFilters: jt.default, ArchActionSetSkills: Wt.default, ArchActionSetScreenPop: Bt.default, ArchActionSetUtilizationLabel: qt.default, ArchActionSetUUIData: Yt.default, ArchActionSetWhisperAudio: Ht.default, ArchActionShowKnowledgeArticle: $t.default, ArchActionSetWrapupCode: Jt.default, ArchActionSubmitVoicemailSnippet: zt.default, ArchActionSubmitVoiceSnippet: Kt.default, ArchActionSwitch: Qt.default, ArchActionTask: Xt.default, ArchActionTerminateWorkitem: Zt.default, ArchActionTranscription: ei.default, ArchActionTransferToAcd: ti.default, ArchActionTransferToFlow: ii.default, ArchActionTransferToFlowSecure: ni.default, ArchActionTransferToGroup: ri.default, ArchActionTransferToNumber: oi.default, ArchActionTransferToUser: ai.default, ArchActionTransferToVoicemail: si.default, ArchActionUpdateConversationAttribute: li.default, ArchActionUpdateData: ui.default, ArchActionUpdateExternalContact: ci.default, ArchActionUpdateWorkitem: di.default, ArchActionWait: pi.default, ArchActionWaitForInput: _i.default }; + t2.default = hi; + }, 8855: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), r2 = i2(19596), o = i2(80295), a = i2(80295); + class s extends r2.DataContract { + constructor(e3) { + super(e3), (0, a.makeUnenumerable)(this, "_integerValue"), (0, a.makeUnenumerable)(this, "_stringValue"); + } + get integerValue() { + return this._integerValue; + } + set integerValue(e3) { + this._integerValue = e3; + } + get stringValue() { + return this._stringValue; + } + set stringValue(e3) { + this._stringValue = e3; + } + } + t2.default = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], s.prototype, "integerValue", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "stringValue", null); }, 8895: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "No \xE9s v\xE0lid.", noInputReceived: "No he rebut cap entrada." }, askForBoolean: { noInput: 'Digueu "s\xED" si voleu continuar, o "no" en cas contrari.', noMatch: 'Digueu "s\xED" o "no". Voleu continuar?', question: "Voleu continuar?", noInputDigitalBot: 'Introdu\xEFu "S\xED" si voleu continuar, o "No" en cas contrari.', noMatchDigitalBot: 'Introdu\xEFu "S\xED" o "No". Voleu continuar?' }, askForIntent: { noInput: 'Escriviu una frase curta que descrigui la vostra consulta. Per exemple, "Comprovar el saldo del meu compte"', noMatch: "Torneu-me a dir qu\xE8 us agradaria fer.", question: "Qu\xE8 us agradaria fer?", noInputDigitalBot: 'Escriviu una frase curta que descrigui la vostra consulta. Per exemple, "Comprovar el saldo del meu compte"' }, askForSlot: { askFor: "Demaneu per %1$s", noInput: "Digueu o escriviu el (escriviu aqu\xED el nom de la vostra ranura).", noInputWithSlot: "Digueu o escriviu el %1$s.", noMatch: "Torneu-me a donar el (escriviu aqu\xED el nom de la vostra ranura).", noMatchWithSlot: "Torneu-me a donar el %1$s.", question: "Quin \xE9s el (escriviu aqu\xED el nom de la vostra ranura)?", questionWithSlot: "Quin \xE9s el %1$s?", pleaseEnterSlotNameHere: "(introdu\xEFu aqu\xED el nom de la vostra ranura)", noInputDigitalBot: "Introdu\xEFu el (escriviu aqu\xED el nom de la vostra ranura).", noInputWithSlotDigitalBot: "Introdu\xEFu el %1$s.", continuationPromptWithSlot: "De moment tinc {{Slot.%1$s}}, continueu." }, askForNextSlot: { noInput: 'Digueu "s\xED" si teniu una altra consulta, o "no" per finalitzar la trucada.', noMatch: 'Digueu "s\xED" si teniu una altra consulta, o "no" per finalitzar la sessi\xF3.', question: "Us puc ajudar amb res m\xE9s?", noInputDigitalBot: 'Introdu\xEFu "S\xED" si teniu una altra pregunta, o "No" per finalitzar la sessi\xF3.', noMatchDigitalBot: 'Introdu\xEFu "S\xED" si teniu una altra pregunta, o "No" per finalitzar la sessi\xF3.' }, askForPayment: { noInputDigitalBot: "Proporcioneu la informaci\xF3 de pagament per continuar.", noMatchDigitalBot: "No he ent\xE8s la resposta. Torneu-ho a provar." }, askForAuthentication: { noInputDigitalBot: "Proporcioneu la informaci\xF3 d'autenticaci\xF3 per continuar.", noMatchDigitalBot: "No he ent\xE8s la resposta. Torneu-ho a provar." }, askSurveyQuestion: { notApplicable: "No aplicable", surveyAnswerOptionSequence: "Premeu %1$s per a '%2$s'.", surveyAnswerNotApplicableSequence: "Premeu l'estrella per a No aplicable.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Premeu l'estrella per a No aplicable.", voiceSurveyNoInputText: "Contesteu a la pregunta.", voiceSurveyNoMatchText: "No us he ent\xE8s." }, commonModule: { exitCommonModule: "Sortir del M\xF2dul Com\xFA" }, form: { noInputDigitalBot: "Completeu el formulari per continuar.", noMatchDigitalBot: "Completeu el formulari per continuar." }, messagingTemplate: { noInputDigitalBot: "Seleccioneu una de les opcions disponibles.", noMatchDigitalBot: "Seleccioneu una de les opcions disponibles." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Continuar", knowledgeAnswerHighlightFullArticleDefault: "Veure article complet", knowledgeInitialResponseMulti: "Per ajudar-me a entendre b\xE9 el vostre objectiu, trieu un n\xFAmero de la llista seg\xFCent:", knowledgeInitialResponseMultiRetry: "Trieu un n\xFAmero, per exemple '1'.\nUs tornem a mostrar la llista d'opcions:", knowledgeNoMatch: "Cap d'aquestes", knowledgeConfirmation: "Hem contestat a la vostra pregunta?", knowledgeFollowup: "Espero haver contestat la vostra pregunta. Podeu preguntar qualsevol altra cosa que vulgueu saber." }, noOverlay: { intent: { intentConfirmationStr1: "Em sembla que voleu", intentConfirmationStr2: "\xC9s correcte?" }, youSaid: { youSaidConfirmationStr1: "Heu dit", youSaidConfirmationStr2: "\xC9s correcte?", youSaidConfirmationStr1DigitalBot: "Heu introdu\xEFt" }, noInput: { noInputStr1: "Digueu o escriviu el", noInputStr1DigitalBot: "Introdu\xEFu el" }, noMatch: { noMatchStr1: "Doneu-me el" }, whatIs: { whatIsQuestionStr1: "Quin \xE9s el", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "De moment tinc", iGotContinuationStr2: ", continueu." } }, defaultCallFlowOne: "Flux de trucades predeterminades", errorHandlingAgentEscalationConfirmation: "Voleu parlar amb un assessor. \xC9s correcte?", errorHandlingAgentEscalationHandover: "Un moment, si us plau, i us posar\xE9 en contacte amb alg\xFA altre.", errorHandlingErrorEventHandover: "S'ha produ\xEFt un error. Espereu un moment mentre us poso en contacte amb alg\xFA que us pugui ajudar.", errorHandlingErrorEventHandoverVoiceSurvey: "S'ha produ\xEFt un error. A reveure.", errorHandlingRecognitionEventHandover: "Disculpeu-me, em costa entendre-us. Espereu un moment mentre us poso en contacte amb alg\xFA que us pugui ajudar.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Tinc problemes per entendre-us. A reveure.", errorHandlingTTS: "S'ha produ\xEFt un error. Proveu de tornar a trucar.", initialGreetingTTS: "Hola, aquesta \xE9s la salutaci\xF3 inicial.", initialState: "Estat inicial", initialBotState: "Assistent de veu predeterminat", initialDigitalBotState: "Salutaci\xF3 inicial", initialSurveyBotState: "Bot d'enquestes", intentConfirmation: "Em sembla que voleu %1$s, \xE9s aix\xED?", mainMenu: "Men\xFA principal", mainMenuTTS: "Sou al Men\xFA principal, premeu 9 per a la desconnexi\xF3", mainTask: "Tasca", settingsConfirmationNoInputApology: "Disculpeu, no us he escoltat b\xE9. Digueu s\xED o no.", settingsConfirmationNoInputApologyDigitalBot: 'No he rebut cap entrada vostra. Introdu\xEFu "S\xED" o "No".', settingsConfirmationNoMatchApology: "Digueu s\xED o no.", settingsConfirmationNoMatchApologyDigitalBot: 'Introdu\xEFu "S\xED" o "No".', settingsNoInputApology: "Disculpeu, no us he escoltat b\xE9.", settingsNoInputApologyDigitalBot: "No he rebut cap entrada vostra.", settingsEndOfSessionMessageDigitalBot: "Fa temps que no tinc not\xEDcies vostres, aix\xED que tanco aquest xat. Torneu si necessiteu la meva ajuda de nou. Gr\xE0cies.", settingsNoMatchApology: "Us demanem disculpes.", settingsNoToConfirmationApology: "\xC9s error meu.", periodicStateName: "Estat recurrent" }; - }, 8929: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getAssistantsCopilotFeatureSupport = void 0; - const n2 = i2(31635).__importDefault(i2(36019)); - t2.getAssistantsCopilotFeatureSupport = n2.default.request("GET", "{public-api.apps}/api/v2/assistants/copilot/featuresupport", null, { ignoreBadResponse: true }); }, 9019: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -14030,36 +15009,40 @@ var require_scripting_bundle = __commonJS({ }, 9183: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(98442)), l = n2.__importStar(i2(1115)), u = n2.__importDefault(i2(5730)), d = n2.__importDefault(i2(27203)), c = n2.__importDefault(i2(73198)), p = i2(80428), _ = n2.__importDefault(i2(98114)), h = n2.__importDefault(i2(6953)), m = i2(49892), g = i2(81516), f = i2(96618), T = i2(87870), y = n2.__importStar(i2(10798)), S = i2(55909), A = i2(33951), N = n2.__importDefault(i2(4648)), O = i2(47957); - class I extends u.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = i2(69453), l = n2.__importDefault(i2(73198)), u = i2(80428), c = i2(49892), d = i2(81516), p = n2.__importDefault(i2(6953)), _ = n2.__importDefault(i2(27203)), h = n2.__importStar(i2(36781)), m = n2.__importStar(i2(10798)), g = n2.__importDefault(i2(98114)), f = i2(55909), T = i2(33951), y = n2.__importStar(i2(98442)), S = n2.__importStar(i2(1115)), A = n2.__importDefault(i2(4648)), N = i2(1910), v = i2(87870), O = n2.__importDefault(i2(5730)), I = i2(47957); + class C extends O.default { constructor(e3, t3) { - super(e3.parentFlow, e3), this.addAutoCleanedUpEventListener(a.ttsEngineChanged, (e4) => this.processTtsEngineChanged(e4)), this._loadModel(t3); + super(e3.parentFlow, e3), this.addAutoCleanedUpEventListener(h.ttsEngineChanged, (e4) => this.processTtsEngineChanged(e4)), this._loadModel(t3); + } + repointSelfReferencingFlow(e3, t3) { + var i3; + null === (i3 = this.botFlow) || void 0 === i3 || i3.repointSelfReference(e3, t3); } static get managedProperties() { var e3; - const t3 = null === (e3 = _.default.getDefinitionForFlowType(f.flowTypes.flowTypeBot).getAdditionalInfoSection("exitReasons")) || void 0 === e3 ? void 0 : e3.value, i3 = []; - return r2.default.each(t3, (e4) => { + const t3 = null === (e3 = g.default.getDefinitionForFlowType(r2.flowTypes.flowTypeBot).getAdditionalInfoSection("exitReasons")) || void 0 === e3 ? void 0 : e3.value, i3 = []; + return a.default.each(t3, (e4) => { i3.push(`"${e4}"`); - }), [{ label: O.dialogEngine.inputTextLabel, options: g.ExpressionTypeStringOptions.create((e4) => e4.setDescriptionInfo(O.callBotFlowAction.inputTextLabel, O.callBotFlowAction.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [f.flowTypes.flowTypeInboundShortMessage, f.flowTypes.flowTypeInQueueShortMessage], options: g.ExpressionTypeStringOptions.create((e4) => e4.setDefaultToExpression(true).setDoNotTransitionToNoValue(true).setDefaultText(c.default.messageBodyVariable).setIsOptional(true).setDescriptionInfo(O.callBotFlowAction.inputTextLabel, O.callBotFlowAction.inputTextDescription).setIninTestingField("inputTextExpression")) }], property: "inputText", type: p.expressionTypeNames.string, yamlOptions: I.createYamlOptions("inputText", (e4) => e4.setExportOrder(1)) }, ...y.isFeatureAvailable(N.default.botFlowsBotsCallingBots) ? [{ createDetails: T.NoteActionProperty.createCreateDetails("", "info", "CallBotFlow-infoWithHelpLink"), options: m.ExpressionTypelessOptions.create((e4) => e4.setUiPropertyOrder(2)), property: "callBotFlowInfoWithHelpLink", yamlOptions: I.createYamlOptions("callBotFlowInfoWithHelpLink", (e4) => e4.setSkipProperty(true)) }] : [{ createDetails: T.NoteActionProperty.createCreateDetails("", "info", "CallBotFlow-applyWarning"), options: m.ExpressionTypelessOptions.create((e4) => e4.setUiPropertyOrder(2)), property: "languageChangeWarning", yamlOptions: I.createYamlOptions("languageChangeWarning", (e4) => e4.setSkipProperty(true)) }], { dataList: true, label: O.inputOutputList.inputs, options: m.ExpressionTypelessOptions.create((e4) => e4.setIsOptional(true).setUiPropertyOrder(3)), property: "inputs", yamlOptions: I.createYamlOptions("inputs", (e4) => e4.setSkipProperty(true).setExportOrder(2)) }, { dataList: true, isOutput: true, label: O.inputOutputList.outputs, options: m.ExpressionTypelessOptions.create((e4) => e4.setUiPropertyOrder(4)), property: "outputs", yamlOptions: I.createYamlOptions("outputs", (e4) => e4.setSkipProperty(true).setExportOrder(3)) }, { label: O.callBotFlowAction.exitReason, options: g.ExpressionTypeStringOptions.create((e4) => e4.setIninTestingField("exitReason").setUiPropertyGroup(O.callBotFlowAction.executionResults).setDescriptionInfo(O.callBotFlowAction.exitReason, O.callBotFlowAction.exitReasonDescription).setDescriptionAdditionalInfoSection({ title: O.callBotFlowAction.exitReasonExamplesTitle, entries: i3 }).setAsOutput().setIsOptional(true)), property: "exitReason", type: p.expressionTypeNames.string, yamlOptions: I.createYamlOptions("exitReason", (e4) => { + }), [{ label: I.dialogEngine.inputTextLabel, options: d.ExpressionTypeStringOptions.create((e4) => e4.setDescriptionInfo(I.callBotFlowAction.inputTextLabel, I.callBotFlowAction.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage], options: d.ExpressionTypeStringOptions.create((e4) => e4.setDefaultToExpression(true).setDoNotTransitionToNoValue(true).setDefaultText(l.default.messageBodyVariable).setIsOptional(true).setDescriptionInfo(I.callBotFlowAction.inputTextLabel, I.callBotFlowAction.inputTextDescription).setIninTestingField("inputTextExpression")) }], property: "inputText", type: u.expressionTypeNames.string, yamlOptions: C.createYamlOptions("inputText", (e4) => e4.setExportOrder(1)) }, ...m.isFeatureAvailable(A.default.botFlowsBotsCallingBots) ? [{ createDetails: v.NoteActionProperty.createCreateDetails("", "info", "CallBotFlow-infoWithHelpLink"), options: c.ExpressionTypelessOptions.create((e4) => e4.setUiPropertyOrder(2)), property: "callBotFlowInfoWithHelpLink", yamlOptions: C.createYamlOptions("callBotFlowInfoWithHelpLink", (e4) => e4.setSkipProperty(true)) }] : [{ createDetails: v.NoteActionProperty.createCreateDetails("", "info", "CallBotFlow-applyWarning"), options: c.ExpressionTypelessOptions.create((e4) => e4.setUiPropertyOrder(2)), property: "languageChangeWarning", yamlOptions: C.createYamlOptions("languageChangeWarning", (e4) => e4.setSkipProperty(true)) }], { dataList: true, label: I.inputOutputList.inputs, options: c.ExpressionTypelessOptions.create((e4) => e4.setIsOptional(true).setUiPropertyOrder(3)), property: "inputs", yamlOptions: C.createYamlOptions("inputs", (e4) => e4.setSkipProperty(true).setExportOrder(2)) }, { dataList: true, isOutput: true, label: I.inputOutputList.outputs, options: c.ExpressionTypelessOptions.create((e4) => e4.setUiPropertyOrder(4)), property: "outputs", yamlOptions: C.createYamlOptions("outputs", (e4) => e4.setSkipProperty(true).setExportOrder(3)) }, { label: I.callBotFlowAction.exitReason, options: d.ExpressionTypeStringOptions.create((e4) => e4.setIninTestingField("exitReason").setUiPropertyGroup(I.callBotFlowAction.executionResults).setDescriptionInfo(I.callBotFlowAction.exitReason, I.callBotFlowAction.exitReasonDescription).setDescriptionAdditionalInfoSection({ title: I.callBotFlowAction.exitReasonExamplesTitle, entries: i3 }).setAsOutput().setIsOptional(true)), property: "exitReason", type: u.expressionTypeNames.string, yamlOptions: C.createYamlOptions("exitReason", (e4) => { e4.setExportOrder(4); - }) }, { label: O.callBotFlowAction.intent, options: g.ExpressionTypeStringOptions.create((e4) => e4.setIninTestingField("intent").setUiPropertyGroup(O.callBotFlowAction.executionResults).setDescriptionInfo(O.callBotFlowAction.intent, O.callBotFlowAction.intentDescription).setAsOutput().setIsOptional(true)), property: "intent", type: p.expressionTypeNames.string, yamlOptions: I.createYamlOptions("intent", (e4) => { + }) }, { label: I.callBotFlowAction.intent, options: d.ExpressionTypeStringOptions.create((e4) => e4.setIninTestingField("intent").setUiPropertyGroup(I.callBotFlowAction.executionResults).setDescriptionInfo(I.callBotFlowAction.intent, I.callBotFlowAction.intentDescription).setAsOutput().setIsOptional(true)), property: "intent", type: u.expressionTypeNames.string, yamlOptions: C.createYamlOptions("intent", (e4) => { e4.setExportOrder(5); }) }]; } processTtsEngineChanged(e3) { - (!e3 || e3.isTtsDataViewModel && e3.parentFlow === this.parentFlow) && l.validateAction(this, false, true); + (!e3 || e3.isTtsDataViewModel && e3.parentFlow === this.parentFlow) && S.validateAction(this, false, true); } _initializeDesignTime() { var e3; super._initializeDesignTime(); - const t3 = null === (e3 = this.targetFlowType) || void 0 === e3 ? void 0 : e3.flowType, i3 = _.default.getDefinitionForFlowType(t3); - if (y.isFeatureAvailable(N.default.botFlowsBotsCallingBots)) { + const t3 = null === (e3 = this.targetFlowType) || void 0 === e3 ? void 0 : e3.flowType, i3 = g.default.getDefinitionForFlowType(t3); + if (m.isFeatureAvailable(A.default.botFlowsBotsCallingBots)) { let e4; - t3 === f.flowTypes.flowTypeBot ? e4 = O.callBotFlowAction.callBotFlowInfo : t3 === f.flowTypes.flowTypeDigitalBot && (e4 = O.callBotFlowAction.callDigitalBotFlowInfo), e4 && this.callBotFlowInfoWithHelpLink && (this.callBotFlowInfoWithHelpLink.note = `${e4} ${O.generic.seeResourceCenter.flowsCallingFlows}`); + t3 === r2.flowTypes.flowTypeBot ? e4 = I.callBotFlowAction.callBotFlowInfo : t3 === r2.flowTypes.flowTypeDigitalBot && (e4 = I.callBotFlowAction.callDigitalBotFlowInfo), e4 && this.callBotFlowInfoWithHelpLink && (this.callBotFlowInfoWithHelpLink.note = `${e4} ${I.generic.seeResourceCenter.flowsCallingFlows}`); } else if ((null == i3 ? void 0 : i3.supportsMoreThanOneLanguage) && this.parentFlow.supportsLanguages) { - const e4 = _.default.getDefinitionForFlowType(t3).typeDisplayName || t3; + const e4 = g.default.getDefinitionForFlowType(t3).typeDisplayName || t3; let i4; - i4 = this.parentFlow.isCommonModuleFlow ? (0, o.sprintf)(O.callBotFlowAction.languageChangeWarningCommonModule, e4) : this.parentFlow.languageChangesAreImmediate ? (0, o.sprintf)(O.callBotFlowAction.languageChangeWarningImmediate, e4) : (0, o.sprintf)(O.callBotFlowAction.languageChangeWarningTaskEnd, e4), this.languageChangeWarning.note = i4; + i4 = this.parentFlow.isCommonModuleFlow ? (0, o.sprintf)(I.callBotFlowAction.languageChangeWarningCommonModule, e4) : this.parentFlow.languageChangesAreImmediate ? (0, o.sprintf)(I.callBotFlowAction.languageChangeWarningImmediate, e4) : (0, o.sprintf)(I.callBotFlowAction.languageChangeWarningTaskEnd, e4), this.languageChangeWarning.note = i4; } this.targetFlowType.setSchemaRefreshedCallback(() => this.updateIntentPropDescriptionStr()), this.updateIntentPropDescriptionStr(); } @@ -14069,16 +15052,16 @@ var require_scripting_bundle = __commonJS({ const i3 = this.targetFlowType.getFlowInfo(); if (!i3) return void this.intent.options.clearDescriptionAdditionalInfoSection(); const n3 = []; - let o2; - (null === (e3 = this.targetFlowType) || void 0 === e3 ? void 0 : e3.flowVersion) || (o2 = (null === (t3 = i3.publishedVersion) || void 0 === t3 ? void 0 : t3.nluInfo) || i3.nluInfo, o2 || this.topic.traceOnce(`missing nluInfo ${i3.id}`, (e4) => e4.warning(`Did not find nluInfo for ${i3.toString()} - publishedVersion`))), o2 && r2.default.isArray(o2.intents) && r2.default.each(o2.intents, (e4) => { + let r3; + (null === (e3 = this.targetFlowType) || void 0 === e3 ? void 0 : e3.flowVersion) || (r3 = (null === (t3 = i3.publishedVersion) || void 0 === t3 ? void 0 : t3.nluInfo) || i3.nluInfo, r3 || this.topic.traceOnce(`missing nluInfo ${i3.id}`, (e4) => e4.warning(`Did not find nluInfo for ${i3.toString()} - publishedVersion`))), r3 && a.default.isArray(r3.intents) && a.default.each(r3.intents, (e4) => { if (e4.name) { - const t4 = r2.default.escape(e4.name); + const t4 = a.default.escape(e4.name); t4.length && n3.push(`"${t4}"`); } else this.topic.error(`intent does not have a name. Intent ID: ${e4.id}`); - }), this.intent.options.setDescriptionAdditionalInfoSection({ title: O.callBotFlowAction.configuredIntentValues, entries: n3.length ? n3 : [O.callBotFlowAction.intentsNone] }); + }), this.intent.options.setDescriptionAdditionalInfoSection({ title: I.callBotFlowAction.configuredIntentValues, entries: n3.length ? n3 : [I.callBotFlowAction.intentsNone] }); } static get branchInfo() { - return [d.default.fakeDisconnect]; + return [_.default.fakeDisconnect]; } get flowInputs() { return this.inputs; @@ -14088,17 +15071,55 @@ var require_scripting_bundle = __commonJS({ } setBotFlowReferenceToCallByFlowId(e3) { return n2.__awaiter(this, void 0, void 0, function* () { - A.ParameterValidator.expectString(e3, () => S.ParameterInfo.createFunctionParameter(this.className, "setBotFlowToCallByFlowIdAndName", "botFlowId"), true); + T.ParameterValidator.expectString(e3, () => f.ParameterInfo.createFunctionParameter(this.className, "setBotFlowToCallByFlowIdAndName", "botFlowId"), true); const t3 = this.targetFlowType.getFlowInfoReference(e3); yield this.targetFlowType.setReferenceWithFlowInfo(t3); }); } + _configureFromModel(e3, t3, i3) { + const r3 = e3.botFlow ? "botFlow" : e3.digitalBotFlow ? "digitalBotFlow" : void 0, a2 = r3 ? e3[r3] : void 0; + if (r3 && (0, N.isConfigureFromModelRecord)(a2) && !a2.none) { + const e4 = a2, r4 = Object.keys(e4)[0]; + if (r4) { + const a3 = t3, l2 = (0, N.isConfigureFromModelRecord)(e4[r4]) ? e4[r4] : void 0; + i3.registerDeferredOp({ type: "resolveBotFlowReference", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + var e5, t4; + try { + const n3 = this.targetFlowType.flowListManager; + let u2 = n3.findItemByName(r4); + if (!u2) { + for (const e6 of Object.values(n3.items || {})) if (e6.displayName === r4) { + u2 = e6; + break; + } + } + if (!u2 && n3.fullManager) { + for (const e6 of Object.values(n3.fullManager.items || {})) if (e6.displayName === r4) { + u2 = e6; + break; + } + } + if (u2) { + if (yield this.targetFlowType.setReferenceWithFlowInfo(u2), l2) { + const n4 = Object.keys(l2)[0], r5 = n4 && (0, N.isConfigureFromModelRecord)(l2[n4]) ? l2[n4] : void 0; + r5 && (i3.currentPropertyName = "inputs", null === (e5 = this.inputs) || void 0 === e5 || e5.configureFromModel(r5.inputs, a3, i3), i3.currentPropertyName = "outputs", null === (t4 = this.outputs) || void 0 === t4 || t4.configureFromModel(r5.outputs, a3, i3), i3.currentPropertyName = void 0); + } + } else i3.warn((0, o.sprintf)(s.configureFromModel.failedToResolve, "bot flow", r4)); + } catch (e6) { + const t5 = e6 instanceof Error ? e6.message : String(e6); + i3.warn((0, o.sprintf)(s.configureFromModel.entityResolutionFailed, "botFlow", r4, t5)); + } + }) }); + } + } + super._configureFromModel(e3, t3, i3); + } validate(e3) { super.validate(e3), this._validateTargetFlowInfoLanguages(e3, this.targetFlowType.getFlowInfo(), this.parentFlow.isCallFlowType); - const t3 = this.parentFlow.getSupportedLanguagesForTtsEngine(h.default.engineIdGenesys); - (null == t3 ? void 0 : t3.length) && this.addTtsEngineValidationError(t3, e3, h.default.engineNameGenesys); + const t3 = this.parentFlow.getSupportedLanguagesForTtsEngine(p.default.engineIdGenesys); + (null == t3 ? void 0 : t3.length) && this.addTtsEngineValidationError(t3, e3, p.default.engineNameGenesys); const i3 = this.parentFlow.getSupportedLanguagesWithNoEngineSelected(); - (null == i3 ? void 0 : i3.length) && this.addTtsEngineValidationError(i3, e3, O.textToSpeech.noneLabel); + (null == i3 ? void 0 : i3.length) && this.addTtsEngineValidationError(i3, e3, I.textToSpeech.noneLabel); } getDetails() { return this.getDetailsForProperties([this.targetFlowType, this.inputText, this.intent]); @@ -14108,11 +15129,11 @@ var require_scripting_bundle = __commonJS({ } addTtsEngineValidationError(e3, t3, i3) { var n3; - const r3 = s.getLanguageNameAndCodeDisplay(e3); - t3.addError(this, (0, o.sprintf)(1 === e3.length ? O.textToSpeech.ttsEngineNotUsableByAction : O.textToSpeech.ttsEngineNotUsableByActionMoreThanOne, this.info.name, i3, r3), void 0, void 0, void 0, null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.languages); + const r3 = y.getLanguageNameAndCodeDisplay(e3); + t3.addError(this, (0, o.sprintf)(1 === e3.length ? I.textToSpeech.ttsEngineNotUsableByAction : I.textToSpeech.ttsEngineNotUsableByActionMoreThanOne, this.info.name, i3, r3), void 0, void 0, void 0, null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.languages); } } - I.className = "BaseCallBotFlowAction", t2.default = I; + C.className = "BaseCallBotFlowAction", t2.default = C; }, 9275: (e2, t2, i2) => { const n2 = i2(13240), r2 = i2(7401), { searchExternalContactsActionType: o } = i2(30801); function a() { @@ -14182,7 +15203,7 @@ var require_scripting_bundle = __commonJS({ return void 0 === t3 && (t3 = null), t3 = null != t3 ? t3 : e3, r2.operate(function(i3, r3) { var s = [], l = 0; i3.subscribe(o.createOperatorSubscriber(r3, function(i4) { - var o2, u, d, c, p = null; + var o2, u, c, d, p = null; l++ % t3 === 0 && s.push([]); try { for (var _ = n2(s), h = _.next(); !h.done; h = _.next()) (f = h.value).push(i4), e3 <= f.length && (p = null != p ? p : []).push(f); @@ -14201,12 +15222,12 @@ var require_scripting_bundle = __commonJS({ a.arrRemove(s, f), r3.next(f); } } catch (e4) { - d = { error: e4 }; + c = { error: e4 }; } finally { try { - g && !g.done && (c = m.return) && c.call(m); + g && !g.done && (d = m.return) && d.call(m); } finally { - if (d) throw d.error; + if (c) throw c.error; } } }, function() { @@ -14294,34 +15315,16 @@ var require_scripting_bundle = __commonJS({ var o = i2(65212), a = i2(7652), s = i2(68087), l = i2(26404), u = i2(47058); t2.merge = function() { for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = l.popScheduler(e3), d = l.popNumber(e3, 1 / 0); + var i3 = l.popScheduler(e3), c = l.popNumber(e3, 1 / 0); return e3 = a.argsOrArgArray(e3), o.operate(function(t4, o2) { - s.mergeAll(d)(u.from(r2([t4], n2(e3)), i3)).subscribe(o2); + s.mergeAll(c)(u.from(r2([t4], n2(e3)), i3)).subscribe(o2); }); }; }, 9345: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.settings = t2.MatchSettings = void 0, t2.isBidirectionalMatch = function(e3, t3, i3) { - return this.isMatch(e3, t3, i3) || this.isMatch(t3, e3, i3); - }, t2.isMatch = function(e3, t3, i3, l2) { - let u; - if (a.ParameterValidator.expectMatchSettings(i3, () => o.ParameterInfo.createFunctionParameter(s, "isMatch", "matchSettings")), t3) if (i3.allowNotSet && e3.inheritedType === n2.globalTypes.notSet) u = true; - else if (e3.isAny) u = true; - else if (e3.isAnyComplex) u = t3.isComplex; - else if (i3.shouldMatchType) if (t3.inheritedType === n2.globalTypes.any && e3.isSupportedByAny) u = i3.allowTypeAny; - else if (i3.allowTypeOf) { - const i4 = t3.inheritedType, o2 = e3.inheritedType; - u = i4 === n2.globalTypes.anyAudio.inheritedType ? o2 === n2.globalTypes.audio.inheritedType || o2 === n2.globalTypes.prompt.inheritedType : e3.isCustomType || t3.isCustomType ? e3.isCustomType && l2 ? o2 === i4 : (function(e4, t4) { - return !(!(0, r2.isCustomJsonExpressionType)(e4) || !(0, r2.isCustomJsonExpressionType)(t4)) && e4.dataType === t4.dataType; - })(e3, t3) : o2 === i4; - } else { - const i4 = t3.singletonType, r3 = e3.singletonType; - u = i4 === n2.globalTypes.anyAudio ? r3 === n2.globalTypes.audio || r3 === n2.globalTypes.prompt : r3 === i4; - } - else u = i3.shouldMatchAny ? t3.inheritedType === n2.globalTypes.any : !i3.shouldMatchAnyComplex || e3.isComplex; - else u = false; - return !!u && (!i3.shouldMatchIsCol || e3.isCollection === t3.isCollection); - }; + return u(e3, t3, i3) || u(t3, e3, i3); + }, t2.isMatch = u; const n2 = i2(14394), r2 = i2(53476), o = i2(55909), a = i2(33951), s = "ExpressionMatchingService"; class l { constructor(e3, t3, i3, n3, r3, o2, a2) { @@ -14331,6 +15334,25 @@ var require_scripting_bundle = __commonJS({ return true; } } + function u(e3, t3, i3, l2) { + let u2; + if (a.ParameterValidator.expectMatchSettings(i3, () => o.ParameterInfo.createFunctionParameter(s, "isMatch", "matchSettings")), t3) if (i3.allowNotSet && e3.inheritedType === n2.globalTypes.notSet) u2 = true; + else if (e3.isAny) u2 = true; + else if (e3.isAnyComplex) u2 = t3.isComplex; + else if (i3.shouldMatchType) if (t3.inheritedType === n2.globalTypes.any && e3.isSupportedByAny) u2 = i3.allowTypeAny; + else if (i3.allowTypeOf) { + const i4 = t3.inheritedType, o2 = e3.inheritedType; + u2 = i4 === n2.globalTypes.anyAudio.inheritedType ? o2 === n2.globalTypes.audio.inheritedType || o2 === n2.globalTypes.prompt.inheritedType : e3.isCustomType || t3.isCustomType ? e3.isCustomType && l2 ? o2 === i4 : (function(e4, t4) { + return !(!(0, r2.isCustomJsonExpressionType)(e4) || !(0, r2.isCustomJsonExpressionType)(t4)) && e4.dataType === t4.dataType; + })(e3, t3) : o2 === i4; + } else { + const i4 = t3.singletonType, r3 = e3.singletonType; + u2 = i4 === n2.globalTypes.anyAudio ? r3 === n2.globalTypes.audio || r3 === n2.globalTypes.prompt : r3 === i4; + } + else u2 = i3.shouldMatchAny ? t3.inheritedType === n2.globalTypes.any : !i3.shouldMatchAnyComplex || e3.isComplex; + else u2 = false; + return !(!u2 || i3.shouldMatchIsCol && e3.isCollection !== t3.isCollection); + } t2.MatchSettings = l, t2.settings = { any: new l(false, false, false, true, true, false, false), anyComplex: new l(false, false, false, false, true, false, true), exact: new l(true, false, false, false, true, false, false), typeOf: new l(true, true, false, false, true, false, false), typeOfOrAny: new l(true, true, true, false, true, false, false), typeOfOrAnyOrNotSet: new l(true, true, true, false, true, true, false) }; }, 9372: (e2, t2, i2) => { "use strict"; @@ -14351,17 +15373,17 @@ var require_scripting_bundle = __commonJS({ }, 9386: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = i2(9456), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(58380)), u = i2(55299), d = i2(44706), c = i2(95812), p = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = i2(9456), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(58380)), u = i2(55299), c = i2(44706), d = i2(95812), p = i2(47957); class _ extends u.BaseClass { constructor(e3, t3, i3) { - super(), this.options = i3, this.choiceErrorStrings = [], this.parent = e3, this.parentFlow = e3.parentFlow, this.id = (0, a.uuid)(), t3 && (this.items = t3.map((e4) => new d.ChoiceViewModel(e4, this)), this._model = t3); + super(), this.options = i3, this.choiceErrorStrings = [], this.parent = e3, this.parentFlow = e3.parentFlow, this.id = (0, a.uuid)(), t3 && (this.items = t3.map((e4) => new c.ChoiceViewModel(e4, this)), this._model = t3); } get className() { return "ChoiceListViewModel"; } addChoice(e3) { var t3; - const i3 = new d.ChoiceViewModel(new c(), this); + const i3 = new c.ChoiceViewModel(new d(), this); i3.name = e3, i3.isEnabled = true, null === (t3 = i3.label) || void 0 === t3 || t3.initializeDesignTime(), this.items.push(i3), this.model.push(i3.model), this.onChoicesUpdated(); } get amObjectEventEmitter() { @@ -14377,13 +15399,13 @@ var require_scripting_bundle = __commonJS({ if (null == t3 ? void 0 : t3.isForFlowYaml) { const n3 = []; return this.items.forEach((o2) => { - var a2, s2, l2, u2, d2; - const c2 = {}; - if (c2.name = o2.name, c2.enabled = o2.isEnabled, c2.label = o2.label.getConfiguration(e3, t3, i3), (null === (a2 = o2.parent) || void 0 === a2 ? void 0 : a2.isChoiceList) && (null === (l2 = null === (s2 = o2.parent) || void 0 === s2 ? void 0 : s2.parent) || void 0 === l2 ? void 0 : l2.branches)) { - const i4 = r2.default.findWhere(null === (d2 = null === (u2 = o2.parent) || void 0 === u2 ? void 0 : u2.parent) || void 0 === d2 ? void 0 : d2.branches, { id: o2.referenceId }); - r2.default.extend(c2, null == i4 ? void 0 : i4.getConfiguration(e3, t3)); + var a2, s2, l2, u2, c2; + const d2 = {}; + if (d2.name = o2.name, d2.enabled = o2.isEnabled, d2.label = o2.label.getConfiguration(e3, t3, i3), (null === (a2 = o2.parent) || void 0 === a2 ? void 0 : a2.isChoiceList) && (null === (l2 = null === (s2 = o2.parent) || void 0 === s2 ? void 0 : s2.parent) || void 0 === l2 ? void 0 : l2.branches)) { + const i4 = r2.default.findWhere(null === (c2 = null === (u2 = o2.parent) || void 0 === u2 ? void 0 : u2.parent) || void 0 === c2 ? void 0 : c2.branches, { id: o2.referenceId }); + r2.default.extend(d2, null == i4 ? void 0 : i4.getConfiguration(e3, t3)); } - n3.push(r2.default.tryWrapObject(c2, null == i3 ? void 0 : i3.wrapValueAndActionsInPropertyName)); + n3.push(r2.default.tryWrapObject(d2, null == i3 ? void 0 : i3.wrapValueAndActionsInPropertyName)); }), n3.length ? n3 : null; } return this.model; @@ -14631,16 +15653,16 @@ var require_scripting_bundle = __commonJS({ }, 9485: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.lexV2BotNameManager = t2.LexV2BotNameManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(47532)), s = i2(81801), l = i2(11865), u = i2(30801), d = i2(27862), c = i2(44931), p = i2(26063), _ = i2(47957); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(47532)), s = i2(81801), l = i2(11865), u = i2(30801), c = i2(27862), d = i2(44931), p = i2(26063), _ = i2(47957); class h extends a.default { get requiredAuth() { return s.externalAuthorizations.authStrings.integrationView; } get dependencyType() { - return d.LexV2Bot; + return c.LexV2Bot; } constructor() { - super(), this.topic = o.getTopic("LexV2BotNameManager"), this._rawServerCache = {}, this.apiCallSingle = void 0, this.apiCallList = c.getV2Bots, this.className = "LexV2BotNameManager", this.defaultMatchingStyle = r2.exactMatch, this.dependencyContext = _.lex.lexV2Bot, this.noApiCallSingle = true, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "lexV2BotName", this.actionsForUsageSearch = [u.lexV2ActionType], this.actionPropertyForUsageSearch = "bot", this._initialize(); + super(), this.topic = o.getTopic("LexV2BotNameManager"), this._rawServerCache = {}, this.apiCallSingle = void 0, this.apiCallList = d.getV2Bots, this.className = "LexV2BotNameManager", this.defaultMatchingStyle = r2.exactMatch, this.dependencyContext = _.lex.lexV2Bot, this.noApiCallSingle = true, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "lexV2BotName", this.actionsForUsageSearch = [u.lexV2ActionType], this.actionPropertyForUsageSearch = "bot", this._initialize(); } get _networkModel() { return this.apiCallList.api ? this.apiCallList.api.DataContract : p; @@ -14660,19 +15682,19 @@ var require_scripting_bundle = __commonJS({ }; }, 9687: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importStar(i2(30879)), o = i2(63358), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(80428), u = i2(56198), d = i2(97930), c = i2(79467), p = i2(64720), _ = i2(49892), h = i2(70812), m = i2(23657), g = i2(81516), f = n2.__importDefault(i2(27203)), T = n2.__importStar(i2(85705)), y = n2.__importStar(i2(36781)), S = i2(58380), A = i2(1115), N = n2.__importStar(i2(24237)), O = i2(82632), I = n2.__importStar(i2(30065)), v = i2(12179), C = n2.__importDefault(i2(97891)), b = i2(87870), E = n2.__importDefault(i2(97883)), R = i2(17604), w = i2(47957), D = i2(21733); - class P extends E.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(30879)), o = i2(63358), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(80428), u = i2(56198), c = i2(97930), d = i2(79467), p = i2(64720), _ = i2(49892), h = i2(70812), m = i2(23657), g = i2(81516), f = n2.__importDefault(i2(27203)), T = n2.__importStar(i2(85705)), y = n2.__importStar(i2(36781)), S = i2(58380), A = i2(1115), N = n2.__importStar(i2(24237)), v = i2(82632), O = n2.__importStar(i2(30065)), I = i2(12179), C = n2.__importDefault(i2(97891)), b = i2(87870), E = n2.__importDefault(i2(97883)), w = i2(17604), R = n2.__importDefault(i2(4648)), D = i2(47957), P = i2(21733); + class M extends E.default { constructor(e3, t3) { super(e3), this._loadModel(t3), this.noInput.options.setBuilderLanguagesSequenceConfig(o.askForPaymentSequences.noInputDigitalBotSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(o.askForPaymentSequences.noMatchDigitalBotSequence); } static get managedProperties() { - return [{ createDetails: b.NoteActionProperty.createCreateDetails(w.askForPayment.askForPaymentChannelNote, "info", "askForPaymentChannelNote"), property: "channelAlert", options: _.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(1)), yamlOptions: P.createYamlOptions("channelAlert", (e3) => e3.setSkipProperty(true)) }, { label: w.askForPayment.askForPayCurrency, description: (0, R.sprintf)(w.askForPayment.askForPaymentCurrencyDesc, w.askForPayment.askForPaymentListingPrice, w.askForPayment.askForPaymentShippingOptions, w.askForPayment.askForPaymentTotalPrice), options: g.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(w.askForPayment.askForPayCurrency, (0, R.sprintf)(w.askForPayment.askForPaymentCurrencyDesc, w.askForPayment.askForPaymentListingPrice, w.askForPayment.askForPaymentShippingOptions, w.askForPayment.askForPaymentTotalPrice)).setAsInput().setIninTestingField("currency").setUiPropertyOrder(2).facets.setAllowableValues(r2.getCurrencyCodeAllowableValues())), property: "currency", type: l.expressionTypeNames.string }, { label: w.askForPayment.askForPayCountryCode, description: w.askForPayment.askForPaymentCountryCodeDesc, options: g.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(w.askForPayment.askForPayCountryCode, w.askForPayment.askForPaymentCountryCodeDesc).setAsInput().setIninTestingField("countryCode").setUiPropertyOrder(3).facets.setAllowableValues(T.getCountryCodeAllowableValues())), property: "countryCode", type: l.expressionTypeNames.string }, { label: w.askForPayment.askForPaymentPaymentPlatform, options: g.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("paymentPlatform").setDefaultText(I.applePay.id).setUiPropertyOrder(4).setAllowModeLiteralOnly().facets.setAllowableValueShowOriginalDisplayStringInPopover(true).setAllowableValues(I.all)), property: "paymentPlatform", type: l.expressionTypeNames.string }, { label: w.askForPayment.askForPaymentLineItems, property: "lineItems", options: h.ExpressionTypeLineItemOptions.create((e3) => e3.setIsOptional(true).setUiPropertyOrder(5).setIsCollection(true).setCustomLiteralValidator((e4) => { + return [{ createDetails: b.NoteActionProperty.createCreateDetails(D.askForPayment.askForPaymentChannelNote, "info", "askForPaymentChannelNote"), property: "channelAlert", options: _.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(1)), yamlOptions: M.createYamlOptions("channelAlert", (e3) => e3.setSkipProperty(true)) }, { label: D.askForPayment.askForPayCurrency, description: (0, w.sprintf)(D.askForPayment.askForPaymentCurrencyDesc, D.askForPayment.askForPaymentListingPrice, D.askForPayment.askForPaymentShippingOptions, D.askForPayment.askForPaymentTotalPrice), options: g.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(D.askForPayment.askForPayCurrency, (0, w.sprintf)(D.askForPayment.askForPaymentCurrencyDesc, D.askForPayment.askForPaymentListingPrice, D.askForPayment.askForPaymentShippingOptions, D.askForPayment.askForPaymentTotalPrice)).setAsInput().setIninTestingField("currency").setUiPropertyOrder(2).facets.setAllowableValues(r2.getCurrencyCodeAllowableValues())), property: "currency", type: l.expressionTypeNames.string }, { label: D.askForPayment.askForPayCountryCode, description: D.askForPayment.askForPaymentCountryCodeDesc, options: g.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(D.askForPayment.askForPayCountryCode, D.askForPayment.askForPaymentCountryCodeDesc).setAsInput().setIninTestingField("countryCode").setUiPropertyOrder(3).facets.setAllowableValues(T.getCountryCodeAllowableValues())), property: "countryCode", type: l.expressionTypeNames.string }, { label: D.askForPayment.askForPaymentPaymentPlatform, options: g.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("paymentPlatform").setDefaultText(O.applePay.id).setUiPropertyOrder(4).setAllowModeLiteralOnly().facets.setAllowableValueShowOriginalDisplayStringInPopover(true).setAllowableValues(O.all)), property: "paymentPlatform", type: l.expressionTypeNames.string }, { label: D.askForPayment.askForPaymentLineItems, property: "lineItems", options: h.ExpressionTypeLineItemOptions.create((e3) => e3.setIsOptional(true).setUiPropertyOrder(5).setIsCollection(true).setCustomLiteralValidator((e4) => { const t3 = e4.parent, i3 = e4.type.getPropListingPrice(e4); return t3._validateCurrencyConsistency(i3); - }).setMaxItems(O.askForPaymentLimits.lineItems.maxItems)), yamlOptions: P.createYamlOptions("lineItems", (e3) => e3.setPropertyName("lineItems")), type: l.expressionTypeNames.lineItem }, { label: w.askForPayment.askForPaymentShippingOptions, property: "shippingOptions", options: m.ExpressionTypeShippingOptions.create((e3) => e3.setIsOptional(true).setUiPropertyOrder(6).setIsCollection(true).setCustomLiteralValidator((e4) => { + }).setMaxItems(v.askForPaymentLimits.lineItems.maxItems)), yamlOptions: M.createYamlOptions("lineItems", (e3) => e3.setPropertyName("lineItems")), type: l.expressionTypeNames.lineItem }, { label: D.askForPayment.askForPaymentShippingOptions, property: "shippingOptions", options: m.ExpressionTypeShippingOptions.create((e3) => e3.setIsOptional(true).setUiPropertyOrder(6).setIsCollection(true).setCustomLiteralValidator((e4) => { const t3 = e4.parent, i3 = e4.type.getPropPrice(e4); return t3._validateCurrencyConsistency(i3) || t3._validateShippingOptionIdentifierConsistency(e4); - }).setMaxItems(O.askForPaymentLimits.shippingOptions.maxItems)), yamlOptions: P.createYamlOptions("shippingOptions", (e3) => e3.setPropertyName("shippingOptions")), type: l.expressionTypeNames.shippingOption }, { label: w.askForPayment.askForPaymentTotalPrice, description: w.askForPayment.askForPaymentTotalPriceDesc, property: "totalPrice", options: d.ExpressionTypeCurrencyOptions.create((e3) => e3.setDescriptionInfo(w.askForPayment.askForPaymentTotalPrice, w.askForPayment.askForPaymentTotalPriceDesc).setIninTestingField("totalPrice").setCurrencyAmountOnly(true).setCustomLiteralValidator((e4) => e4.parent._validateCurrencyConsistency(e4)).setUiPropertyOrder(7).facets.setMinValInclusive(true).setMinDec(O.askForPaymentLimits.totalPrice.minValue).setMaxValInclusive(true).setMaxDec(O.askForPaymentLimits.totalPrice.maxValue).setDecimalPlaces(O.askForPaymentLimits.totalPrice.decimalPlaces)), type: l.expressionTypeNames.currency }, { label: w.askForPayment.askForPaymentContactInformation, description: w.askForPayment.askForPaymentContactInformationDesc, property: "requiredContactInformation", options: g.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(w.askForPayment.askForPaymentContactInformation, w.askForPayment.askForPaymentContactInformationDesc).setIninTestingField("requiredContactInformation").setUiPropertyOrder(8).setIsCollection(true).setMaxItems(O.askForPaymentLimits.contactInformation.maxItems).setCustomLiteralValidator((e4) => e4.parent._validateContactInformationConsistency(e4)).facets.setAllowableValuePlaceholder(w.askForPayment.askForPaymentContactInformationPlaceholder).setAllowableValues(N.all)), type: l.expressionTypeNames.string }, { label: w.image.image, options: p.ExpressionTypeImageOptions.create((e3) => e3.setIsOptional(true).setAllowModeLiteralOnly().setUiPropertyOrder(11).setUiPropertyCardGroup(w.sendInteractiveApplication.receivedMessage, "image").setIninTestingField("receivedMessageImage")), property: "receivedMessageImage", type: l.expressionTypeNames.image }, { label: w.cardsAndCars.buttonTitlePlaceholder, options: g.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("receivedMessageTitle").setUiPropertyCardGroup(w.sendInteractiveApplication.receivedMessage, "title").setDefaultToNoValue(true).setUiPropertyOrder(9).facets.setAllowableValuePlaceholder(w.sendInteractiveApplication.titlePlaceholder).setMaxLength(O.askForPaymentLimits.title.maxLength).setAllowNull(false).setMinLength(O.askForPaymentLimits.title.minLength)), property: "receivedMessageTitle", type: l.expressionTypeNames.string }, { label: w.cardsAndCars.buttonTitlePlaceholder, options: g.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setIninTestingField("replyMessageTitle").setUiPropertyCardGroup(w.askForPayment.askForPaymentReplyMessage, "title").setDefaultToNoValue(true).setUiSingleItemSectionPropertyGroup(true).setUiPropertyOrder(12).facets.setAllowableValuePlaceholder(w.sendInteractiveApplication.titlePlaceholder).setMaxLength(O.askForPaymentLimits.title.maxLength)), property: "replyMessageTitle", type: l.expressionTypeNames.string }, { label: w.askForPayment.askForPaymentCompletionTimeout, options: c.ExpressionTypeDurationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("paymentCompletionTimeout").setDescriptionInfo(w.askForPayment.askForPaymentCompletionTimeout, w.askForPayment.askForPaymentCompletionTimeoutDesc).setDefaultText(a.default.litDurationThreeMinutes).setDurationStyle(s.durationStyles.fullDuration).setUiPropertyOrder(13).facets.setMinDur(30 * a.default.msPerSecond, true).setMaxDur(2 * a.default.msPerHour, true)), property: "paymentCompletionTimeout", type: l.expressionTypeNames.duration }]; + }).setMaxItems(v.askForPaymentLimits.shippingOptions.maxItems)), yamlOptions: M.createYamlOptions("shippingOptions", (e3) => e3.setPropertyName("shippingOptions")), type: l.expressionTypeNames.shippingOption }, { label: D.askForPayment.askForPaymentTotalPrice, description: D.askForPayment.askForPaymentTotalPriceDesc, property: "totalPrice", options: c.ExpressionTypeCurrencyOptions.create((e3) => e3.setDescriptionInfo(D.askForPayment.askForPaymentTotalPrice, D.askForPayment.askForPaymentTotalPriceDesc).setIninTestingField("totalPrice").setCurrencyAmountOnly(true).setCustomLiteralValidator((e4) => e4.parent._validateCurrencyConsistency(e4)).setUiPropertyOrder(7).facets.setMinValInclusive(true).setMinDec(v.askForPaymentLimits.totalPrice.minValue).setMaxValInclusive(true).setMaxDec(v.askForPaymentLimits.totalPrice.maxValue).setDecimalPlaces(v.askForPaymentLimits.totalPrice.decimalPlaces)), type: l.expressionTypeNames.currency }, { label: D.askForPayment.askForPaymentContactInformation, description: D.askForPayment.askForPaymentContactInformationDesc, property: "requiredContactInformation", options: g.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(D.askForPayment.askForPaymentContactInformation, D.askForPayment.askForPaymentContactInformationDesc).setIninTestingField("requiredContactInformation").setUiPropertyOrder(8).setIsCollection(true).setMaxItems(v.askForPaymentLimits.contactInformation.maxItems).setCustomLiteralValidator((e4) => e4.parent._validateContactInformationConsistency(e4)).facets.setAllowableValuePlaceholder(D.askForPayment.askForPaymentContactInformationPlaceholder).setAllowableValues(N.all)), type: l.expressionTypeNames.string }, { label: D.image.image, options: p.ExpressionTypeImageOptions.create((e3) => e3.setIsOptional(true).setAllowModeLiteralOnly().setUiPropertyOrder(11).setUiPropertyCardGroup(D.sendInteractiveApplication.receivedMessage, "image").setIninTestingField("receivedMessageImage")), property: "receivedMessageImage", type: l.expressionTypeNames.image }, { label: D.cardsAndCars.buttonTitlePlaceholder, options: g.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("receivedMessageTitle").setUiPropertyCardGroup(D.sendInteractiveApplication.receivedMessage, "title").setDefaultToNoValue(true).setUiPropertyOrder(9).facets.setAllowableValuePlaceholder(D.sendInteractiveApplication.titlePlaceholder).setMaxLength(v.askForPaymentLimits.title.maxLength).setAllowNull(false).setMinLength(v.askForPaymentLimits.title.minLength)), property: "receivedMessageTitle", type: l.expressionTypeNames.string }, { label: D.cardsAndCars.buttonTitlePlaceholder, options: g.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setIninTestingField("replyMessageTitle").setUiPropertyCardGroup(D.askForPayment.askForPaymentReplyMessage, "title").setDefaultToNoValue(true).setUiSingleItemSectionPropertyGroup(true).setUiPropertyOrder(12).facets.setAllowableValuePlaceholder(D.sendInteractiveApplication.titlePlaceholder).setMaxLength(v.askForPaymentLimits.title.maxLength)), property: "replyMessageTitle", type: l.expressionTypeNames.string }, { label: D.askForPayment.askForPaymentCompletionTimeout, options: d.ExpressionTypeDurationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("paymentCompletionTimeout").setDescriptionInfo(D.askForPayment.askForPaymentCompletionTimeout, D.askForPayment.askForPaymentCompletionTimeoutDesc).setDefaultText(a.default.litDurationThreeMinutes).setDurationStyle(s.durationStyles.fullDuration).setUiPropertyOrder(13).facets.setMinDur(30 * a.default.msPerSecond, true).setMaxDur(2 * a.default.msPerHour, true)), property: "paymentCompletionTimeout", type: l.expressionTypeNames.duration }]; } initializeDesignTime() { super.initializeDesignTime(), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.expressionValueChanged, this.currency).subscribe(() => this._updateCurrency())), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.expressionModeChanged, this.totalPrice).subscribe(() => { @@ -14689,9 +15711,9 @@ var require_scripting_bundle = __commonJS({ } setNewInstanceDefaults(e3) { super.setNewInstanceDefaults(e3); - const t3 = D(this.parentFlow.defaultLanguage).askForPayment.noInputDigitalBot; + const t3 = P(this.parentFlow.defaultLanguage).askForPayment.noInputDigitalBot; this.setNewInstanceNoInputText(t3); - const i3 = D(this.parentFlow.defaultLanguage).askForPayment.noMatchDigitalBot; + const i3 = P(this.parentFlow.defaultLanguage).askForPayment.noMatchDigitalBot; this.setNewInstanceNoMatchText(i3), this.setBranchOutOfService(f.default.maxNoInputsOptional.outputId), this.setBranchOutOfService(f.default.maxNoMatchesOptional.outputId); } static get branchInfo() { @@ -14719,7 +15741,7 @@ var require_scripting_bundle = __commonJS({ var t3; if (e3.isLiteralMode && e3.text && (null === (t3 = this.currency) || void 0 === t3 ? void 0 : t3.text)) { const t4 = this.currency.text, i3 = this._getCurrencyCodeFromExpression(e3); - if (i3 && i3 !== t4) return w.askForPayment.askForPaymentCurrencyMismatch; + if (i3 && i3 !== t4) return D.askForPayment.askForPaymentCurrencyMismatch; } } _getCurrencyCodeFromExpression(e3) { @@ -14733,7 +15755,7 @@ var require_scripting_bundle = __commonJS({ if (null == n3 ? void 0 : n3.length) { let t4 = 0; const i4 = e3.getEmbeddableExpressionText(); - for (const e4 of n3) if (e4.getEmbeddableExpressionText() === i4 && (t4++, t4 > 1)) return w.askForPayment.askForPaymentDuplicateContactInformationTypes; + for (const e4 of n3) if (e4.getEmbeddableExpressionText() === i4 && (t4++, t4 > 1)) return D.askForPayment.askForPaymentDuplicateContactInformationTypes; } } _validateShippingOptionIdentifierConsistency(e3) { @@ -14742,12 +15764,12 @@ var require_scripting_bundle = __commonJS({ const n3 = e3.type.getPropIdentifier(e3).text, r3 = null === (i3 = null === (t3 = this.shippingOptions) || void 0 === t3 ? void 0 : t3.collectionItems) || void 0 === i3 ? void 0 : i3.items; if (r3 && n3) { let e4 = 0; - for (const t4 of r3) if (t4.isLiteralMode && t4.type.getPropIdentifier(t4).text === n3 && (e4++, e4 > 1)) return w.askForPayment.askForPaymentDuplicateIdentifiers; + for (const t4 of r3) if (t4.isLiteralMode && t4.type.getPropIdentifier(t4).text === n3 && (e4++, e4 > 1)) return D.askForPayment.askForPaymentDuplicateIdentifiers; } } } } - P.info = C.default.createActionInfo({ actionClass: P, canBeInTask: true, helpTopic: v.helpTopics.actions.askForPayment, modelClass: u.AskForPaymentActionModel, name: w.actions.askForPayment, scriptingName: "ArchActionAskForPayment", supportsUtteranceHistoricalData: true }), t2.A = P; + M.info = C.default.createActionInfo({ actionClass: M, canBeInTask: true, helpTopic: I.helpTopics.actions.askForPayment, modelClass: u.AskForPaymentActionModel, name: D.actions.askForPayment, scriptingName: "ArchActionAskForPayment", supportsUtteranceHistoricalData: true, modelFormatSupport: { flowYaml: { inProgress: true, feature: R.default.changeSetsFeaturePhase2 } } }), t2.A = M; }, 9805: (e2, t2) => { "use strict"; var i2 = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Int32Array; @@ -14828,8 +15850,8 @@ var require_scripting_bundle = __commonJS({ }, 10016: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseEventHandlingViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(15244)), s = n2.__importStar(i2(17498)), l = n2.__importDefault(i2(20084)), u = i2(47957), d = o.getTopic("BaseEventHandlingViewModel"); - class c extends l.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(15244)), s = n2.__importStar(i2(17498)), l = n2.__importDefault(i2(20084)), u = i2(47957), c = o.getTopic("BaseEventHandlingViewModel"); + class d extends l.default { constructor(e3, t3) { super(e3, "errorHandling", t3); } @@ -14850,7 +15872,7 @@ var require_scripting_bundle = __commonJS({ getConfiguration(e3, t3) { if (null == t3 ? void 0 : t3.isForFlowYaml) { let i3 = {}; - if (r2.default.isNullOrUndefined(this.handlingType)) d.error(`Matching handlingTypeEnum not found for handlingType value '${this.handlingType}'`); + if (r2.default.isNullOrUndefined(this.handlingType)) c.error(`Matching handlingTypeEnum not found for handlingType value '${this.handlingType}'`); else { const n3 = this.getConfigurationForHandlingProperty(e3, t3, this.handlingType); i3 = r2.default.tryWrapObject(n3, "errorHandling"); @@ -14873,7 +15895,7 @@ var require_scripting_bundle = __commonJS({ r2.default.isNullOrUndefined(l3) || (u2.targetMenuRef = l3.yamlPath); break; case a.default.Task: - const c2 = null != n3 ? n3 : this.taskProperty, p = null == c2 ? void 0 : c2.getReferenceViewModel(); + const d2 = null != n3 ? n3 : this.taskProperty, p = null == d2 ? void 0 : d2.getReferenceViewModel(); r2.default.isNullOrUndefined(p) || (u2.targetTaskRef = p.yamlPath); break; case a.default.State: @@ -14889,7 +15911,7 @@ var require_scripting_bundle = __commonJS({ break; default: const h = `Matching handlingProperty not found for handling type value '${i3}'`; - throw d.exceptionWithErrorObjectInfo(null, h, i3), h; + throw c.exceptionWithErrorObjectInfo(null, h, i3), h; } return r2.default.ensureYamlNoneTrue(u2), l2; } @@ -14909,7 +15931,7 @@ var require_scripting_bundle = __commonJS({ return "fa/ticket-regular"; } } - t2.BaseEventHandlingViewModel = c; + t2.BaseEventHandlingViewModel = d; }, 10125: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.outboundFlowListManager = t2.OutboundFlowListManager = void 0; @@ -15020,7 +16042,7 @@ var require_scripting_bundle = __commonJS({ function s(e3, t3) { return (0, r2.sprintf)(o.default.externalContacts.conditionLabelFormat, e3, t3); } - t2.externalContactPatchConditions = [{ id: "Update", label: s(a.generic.update, "Update"), requiresValue: true, requiresSingleItem: false }, { id: "UpdateIfExists", label: s(a.updateExternalContact.conditionUpdateIfExists, "UpdateIfExists"), requiresValue: true, requiresSingleItem: false }, { id: "UpdateIfEmpty", label: s(a.updateExternalContact.conditionUpdateIfEmpty, "UpdateIfEmpty"), requiresValue: true, requiresSingleItem: false }, { id: "Remove", label: s(a.generic.remove, "Remove"), requiresValue: false, requiresSingleItem: false }, { id: "AppendToCollection", label: s(a.updateExternalContact.conditionAppendToCollection, "AppendToCollection"), requiresValue: true, requiresSingleItem: true }, { id: "RemoveFromCollection", label: s(a.updateExternalContact.conditionRemoveFromCollection, "RemoveFromCollection"), requiresValue: true, requiresSingleItem: true }], t2.defaultExternalContactPatchCondition = t2.externalContactPatchConditions[0]; + t2.externalContactPatchConditions = [{ id: "Update", label: s(a.generic.update, "Update"), infoMessage: a.updateExternalContact.conditionUpdateDescription, requiresValue: true, requiresSingleItem: false }, { id: "UpdateIfExists", label: s(a.updateExternalContact.conditionUpdateIfExists, "UpdateIfExists"), infoMessage: a.updateExternalContact.conditionUpdateIfExistsDescription, requiresValue: true, requiresSingleItem: false }, { id: "UpdateIfEmpty", label: s(a.updateExternalContact.conditionUpdateIfEmpty, "UpdateIfEmpty"), infoMessage: a.updateExternalContact.conditionUpdateIfEmptyDescription, requiresValue: true, requiresSingleItem: false }, { id: "Remove", label: s(a.generic.remove, "Remove"), infoMessage: a.updateExternalContact.conditionRemoveDescription, requiresValue: false, requiresSingleItem: false }, { id: "AppendToCollection", label: s(a.updateExternalContact.conditionAppendToCollection, "AppendToCollection"), infoMessage: a.updateExternalContact.conditionAppendToCollectionDescription, requiresValue: true, requiresSingleItem: true }, { id: "RemoveFromCollection", label: s(a.updateExternalContact.conditionRemoveFromCollection, "RemoveFromCollection"), infoMessage: a.updateExternalContact.conditionRemoveFromCollectionDescription, requiresValue: true, requiresSingleItem: true }], t2.defaultExternalContactPatchCondition = t2.externalContactPatchConditions[0]; }, 10236: (e2, t2, i2) => { const n2 = i2(5532).default, { builderPartIds: r2 } = i2(69149), o = i2(94053).A, { globalTypes: a } = i2(14394); e2.exports = { create: () => { @@ -15113,16 +16135,16 @@ var require_scripting_bundle = __commonJS({ }, 10535: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.responseManager = t2.ResponseManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(33231)), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(90891)), l = n2.__importDefault(i2(47532)), u = i2(81801), d = i2(30801), c = i2(24032), p = i2(71528), _ = i2(31278), h = i2(47957), m = i2(27862); - class g extends l.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(33231)), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(90891)), l = n2.__importDefault(i2(47532)), u = i2(81801), c = i2(30801), d = i2(24032), p = i2(71528), _ = i2(31278), h = i2(10798), m = n2.__importDefault(i2(4648)), g = i2(47957), f = i2(27862); + class T extends l.default { get requiredAuth() { - return u.externalAuthorizations.authStrings.responseView; + return (0, h.isFeatureAvailable)(m.default.divisionedCannedResponses) ? u.externalAuthorizations.authStrings.responseSearch : u.externalAuthorizations.authStrings.responseView; } get dependencyType() { - return m.Response; + return f.Response; } constructor() { - super(), this.topic = (0, c.getTopic)("ResponseManager"), this.apiCallList = s.getResponses, this.apiCallSingle = s.getResponse, this._rawServerCache = {}, this.actionsForUsageSearch = [d.getResponseActionType], this.actionPropertyForUsageSearch = "responseId", this.defaultMatchingStyle = a.exactMatch, this.dependencyContext = h.getResponse.selectedResponse, this.searchField = "queryPhrase", this.uiMetadataSectionName = "responses", this.className = "ResponseManager", this.defaultPageSize = 100, this.isResponseManager = true, this._initialize(); + super(), this.topic = (0, d.getTopic)("ResponseManager"), this.apiCallList = s.getResponses, this.apiCallSingle = s.getResponse, this._rawServerCache = {}, this.actionsForUsageSearch = [c.getResponseActionType], this.actionPropertyForUsageSearch = "responseId", this.defaultMatchingStyle = a.exactMatch, this.dependencyContext = g.getResponse.selectedResponse, this.searchField = "queryPhrase", this.uiMetadataSectionName = "responses", this.className = "ResponseManager", this.defaultPageSize = 100, this.isResponseManager = true, this._initialize(); } _createItemViewModel(e3) { return new _.ResponseViewModel(e3); @@ -15143,13 +16165,81 @@ var require_scripting_bundle = __commonJS({ }); } } - t2.ResponseManager = g, t2.responseManager = new g(); + t2.ResponseManager = T, t2.responseManager = new T(); + }, 10543: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.YamlProcessor = void 0; + const n2 = i2(31635), r2 = i2(79364), o = i2(19109), a = i2(60526), s = i2(85006), l = i2(36283), u = i2(36283), c = i2(51162), d = i2(14553), p = i2(91613), _ = i2(22303), h = i2(51335), m = i2(45311); + t2.YamlProcessor = class { + constructor(e3) { + this._logger$ = new r2.ReplaySubject(), this.logger$ = this._logger$.asObservable(), this._options = e3, this._actionTypeRegistry = null; + } + process(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const t3 = Date.now(), i3 = new m.ProcessingContext(), n3 = new c.LookupCache(this._options.prePopulatedCache), r3 = [], g = []; + let f = "unknown", T = 0; + this._log(s.LogLevel.Info, "Processing started."), this._emitProgress({ phase: l.progressPhase.parsing, status: u.progressStatus.started }, i3); + const y = new _.Parser().parse(e3); + if (y.errors.length > 0) { + const e4 = y.errors.some((e5) => e5.fatal); + if (r3.push(...y.errors), e4) return this._log(s.LogLevel.Error, "Fatal parse error encountered. Halting processing."), this._emitProgress({ phase: l.progressPhase.parsing, status: u.progressStatus.completed }, i3), this._buildResult(false, void 0, r3, g, { flowType: f, actionsProcessed: T, durationMs: Date.now() - t3 }); + } + f = this._detectFlowType(y.json), this._log(s.LogLevel.Info, `Parsing completed. Detected flow type: '${f}'.`), this._emitProgress({ phase: l.progressPhase.parsing, status: u.progressStatus.completed }, i3), this._emitProgress({ phase: l.progressPhase.preProcessing, status: u.progressStatus.started }, i3); + const S = new h.PreProcessor(this._options.inputProvider, i3); + S.logger$.subscribe((e4) => this._logger$.next(e4)); + const A = yield S.preProcess(y.json, this._options.substitutions); + if (A.errors.length > 0) { + const e4 = A.errors.some((e5) => e5.fatal); + if (r3.push(...A.errors), e4) return this._log(s.LogLevel.Error, "Fatal pre-processing error encountered. Halting processing."), g.push(...i3.warnings), this._emitProgress({ phase: l.progressPhase.preProcessing, status: u.progressStatus.completed }, i3), this._buildResult(false, void 0, r3, g, { flowType: f, actionsProcessed: T, durationMs: Date.now() - t3 }); + } + this._log(s.LogLevel.Info, "Pre-processing completed."), this._emitProgress({ phase: l.progressPhase.preProcessing, status: u.progressStatus.completed }, i3); + const N = a.FlowTypeResolver.detectFromJson(A.json), v = N ? a.FlowTypeResolver.resolve(N) : void 0; + if (!v) return r3.push({ message: `Unrecognized flow type: '${N || "none"}'.`, contextPath: "/", fatal: true }), g.push(...i3.warnings), this._buildResult(false, void 0, r3, g, { flowType: f, actionsProcessed: T, durationMs: Date.now() - t3 }); + const O = A.json[N], I = (null == O ? void 0 : O.name) || "Untitled Flow"; + let C; + if (this._options.existingFlowViewModel) { + if (C = this._options.existingFlowViewModel, C.isReadOnly) return r3.push({ message: (0, d.readOnlyFlowConfigureFromModelMessage)(), contextPath: "/", fatal: true }), g.push(...i3.warnings), this._buildResult(false, C, r3, g, { flowType: f, actionsProcessed: T, durationMs: Date.now() - t3 }); + } else if (this._options.flowHelper) { + const e4 = { type: v, id: `yaml-import-${Date.now()}`, name: I }; + C = this._options.flowHelper.getFullFlow(e4); + } + this._emitProgress({ phase: l.progressPhase.orchestration, status: u.progressStatus.started }, i3), this._actionTypeRegistry || (this._actionTypeRegistry = new o.ActionTypeRegistry(), this._options.nodeManager && "function" == typeof this._options.nodeManager._getActionTypeMap && this._actionTypeRegistry.initialize(this._options.nodeManager._getActionTypeMap())); + const b = new p.OrchestrationEngine(this._options.entityResolver, n3, i3, this._actionTypeRegistry); + b.logger$.subscribe((e4) => this._logger$.next(e4)); + const E = yield b.orchestrate(A.json, C); + if (T = E.actionsProcessed, g.push(...E.warnings), E.halted) return r3.push({ message: "Orchestration halted before completion.", contextPath: "/", fatal: true }), this._log(s.LogLevel.Error, "Orchestration halted. Halting processing."), this._emitProgress({ phase: l.progressPhase.orchestration, status: u.progressStatus.completed }, i3), g.push(...i3.warnings), this._buildResult(false, C, r3, g, { flowType: f, actionsProcessed: T, durationMs: Date.now() - t3 }); + this._log(s.LogLevel.Info, `Orchestration completed. Actions processed: ${T}.`), this._emitProgress({ phase: l.progressPhase.orchestration, status: u.progressStatus.completed }, i3); + const w = i3.warnings.filter((e4) => !g.some((t4) => t4.message === e4.message && t4.contextPath === e4.contextPath)); + g.push(...w); + const R = i3.errors.filter((e4) => !r3.some((t4) => t4.message === e4.message && t4.contextPath === e4.contextPath)); + r3.push(...R); + const D = Date.now() - t3; + this._log(s.LogLevel.Info, `Processing completed in ${D}ms.`); + const P = !r3.some((e4) => e4.fatal); + return this._buildResult(P, C, r3, g, { flowType: f, actionsProcessed: T, durationMs: D }); + }); + } + _detectFlowType(e3) { + var t3; + return null !== (t3 = a.FlowTypeResolver.detectFromJson(e3)) && void 0 !== t3 ? t3 : "unknown"; + } + _buildResult(e3, t3, i3, n3, r3) { + return { success: e3, flow: t3, errors: i3, warnings: n3, metadata: r3 }; + } + _emitProgress(e3, t3) { + const i3 = this._options.progressCallback; + i3 && i3(e3, t3); + } + _log(e3, t3) { + this._logger$.next({ level: e3, message: `YamlProcessor: ${t3}` }); + } + }; }, 10555: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(63352), a = i2(80428), s = i2(47875), l = i2(8136), u = i2(81516), d = n2.__importDefault(i2(27203)), c = i2(4861), p = i2(53e3), _ = i2(12179), h = n2.__importDefault(i2(97891)), m = n2.__importDefault(i2(36825)), g = i2(47957); - class f extends m.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(63352), a = i2(80428), s = i2(47875), l = i2(8136), u = i2(81516), c = n2.__importDefault(i2(27203)), d = i2(4861), p = i2(53e3), _ = i2(12179), h = n2.__importDefault(i2(97891)), m = n2.__importDefault(i2(36825)), g = n2.__importDefault(i2(4648)), f = i2(47957); + class T extends m.default { constructor(e3, t3) { - super(e3), this.scheduleManager = c.scheduleManager, this._loadModel(t3), this.evaluateEmergencyGroup = this.model.evaluateEmergencyGroup; + super(e3), this.scheduleManager = d.scheduleManager, this._loadModel(t3), this.evaluateEmergencyGroup = this.model.evaluateEmergencyGroup; } _loadModel(e3) { super._loadModel(e3), !this.schedule.text && this.model.scheduleName && this.model.scheduleId && this.schedule.update(this.model.scheduleName, this.model.scheduleId), this.schedule.text && this.model.scheduleName && delete this.model.scheduleName, this.schedule.text && this.model.scheduleId && delete this.model.scheduleId; @@ -15173,10 +16263,10 @@ var require_scripting_bundle = __commonJS({ super.setOutOfService(), this.evaluationDateTime.outOfService = this.evaluationDateTime.outOfService || this.evaluateEmergencyGroup, this.timeZone.outOfService = this.evaluateEmergencyGroup; } static get branchInfo() { - return d.default.activeInactive; + return c.default.activeInactive; } static get managedProperties() { - return [{ property: "timeZone", label: g.evaluateSchedules.timeZone, description: g.evaluateSchedules.timeZoneDescription, type: a.expressionTypeNames.string, options: u.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(g.evaluateSchedules.timeZone, g.evaluateSchedules.timeZoneDescription).setIninTestingField("evaluateScheduleTimeZoneExpression").setLiteralValidatorName(s.literalValidatorNames.timeZones).facets.setTrim(true).setAllowableValues(p.timeZoneService.timeZones).setLastAllowableValueSelectedStorageKey("lastTimeZone")), yamlOptions: f.createYamlOptions("timeZone", (e3) => e3.setPropertyName("scheduleTimeZone")) }, { property: "schedule", label: g.evaluateSchedules.schedule, type: a.expressionTypeNames.schedule, options: l.ExpressionTypeScheduleOptions.create((e3) => e3.setIninTestingField("schedules")) }, { property: "evaluationType", isJustForFlowYaml: true, yamlOptions: f.createYamlOptions("evaluationType", (e3) => e3.setExportOrder(20)) }]; + return [{ property: "timeZone", label: f.evaluateSchedules.timeZone, description: f.evaluateSchedules.timeZoneDescription, type: a.expressionTypeNames.string, options: u.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(f.evaluateSchedules.timeZone, f.evaluateSchedules.timeZoneDescription).setIninTestingField("evaluateScheduleTimeZoneExpression").setLiteralValidatorName(s.literalValidatorNames.timeZones).facets.setTrim(true).setAllowableValues(p.timeZoneService.timeZones).setLastAllowableValueSelectedStorageKey("lastTimeZone")), yamlOptions: T.createYamlOptions("timeZone", (e3) => e3.setPropertyName("scheduleTimeZone")) }, { property: "schedule", label: f.evaluateSchedules.schedule, type: a.expressionTypeNames.schedule, options: l.ExpressionTypeScheduleOptions.create((e3) => e3.setIninTestingField("schedules")) }, { property: "evaluationType", isJustForFlowYaml: true, yamlOptions: T.createYamlOptions("evaluationType", (e3) => e3.setExportOrder(20)) }]; } postProcessYamlConfig(e3, t3, i3) { var n3, o2, a2, s2, l2; @@ -15189,7 +16279,7 @@ var require_scripting_bundle = __commonJS({ return this.schedule.isLiteralMode || this.schedule.isNoValueMode ? this.schedule.val ? this.scheduleManager.getItem(this.schedule.val) : void 0 : void this.topic.error("selectedSchedule should not be getting called when this.schedule is not in literal mode"); } } - f.info = h.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: _.helpTopics.actions.evaluateSchedule, modelClass: i2(47719), name: g.actions.evaluateSchedule, scriptingName: "ArchActionEvaluateSchedule" }), t2.A = f; + T.info = h.default.createActionInfo({ actionClass: T, canBeInTask: true, helpTopic: _.helpTopics.actions.evaluateSchedule, modelClass: i2(47719), name: f.actions.evaluateSchedule, scriptingName: "ArchActionEvaluateSchedule", modelFormatSupport: { flowYaml: { inProgress: true, feature: g.default.changeSetsFeaturePhase2 } } }), t2.A = T; }, 10673: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -15255,56 +16345,195 @@ var require_scripting_bundle = __commonJS({ })(n3); }); }), e2.exports = o; + }, 10751: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ChangeSet = void 0; + const n2 = i2(50474), r2 = i2(50474), o = i2(19206), a = i2(19206), s = i2(19206), l = i2(19206), u = i2(19206), c = i2(19206), d = i2(19206); + class p { + constructor() { + this.version = "1.0", this._changes = [], this._undoDeleteGroupDepth = 0; + } + static getNextNumber() { + return p._nextNumber++; + } + get changes() { + return this._changes; + } + toChangeSet() { + return this._changes.slice(); + } + toDocument() { + const e3 = { version: "1.0", changes: this._changes.slice() }; + return this.name && (e3.name = this.name), this.description && (e3.description = this.description), this.type && (e3.type = this.type), this.source && (e3.source = this.source), e3; + } + static fromModel(e3) { + const t3 = new p(); + for (const i3 of e3.changes) t3._changes.push(i3); + return t3; + } + static fromDocument(e3) { + const t3 = new p(); + t3.name = e3.name, t3.description = e3.description, t3.type = e3.type, t3.source = e3.source; + for (const i3 of e3.changes) t3._changes.push(i3); + return t3; + } + _addChange(e3) { + this._changes.push(e3); + } + addTask(e3, t3) { + const i3 = { taskToAdd: e3 }; + t3 && (i3.where = t3), this._addChange({ add: { task: i3 } }); + } + addState(e3, t3) { + const i3 = { stateToAdd: e3 }; + t3 && (i3.where = t3), this._addChange({ add: { state: i3 } }); + } + addMenu(e3, t3) { + const i3 = { menuToAdd: e3 }; + t3 && (i3.where = t3), this._addChange({ add: { menu: i3 } }); + } + addMenuChoice(e3, t3) { + this._addChange({ add: { menuChoice: { menuChoiceToAdd: e3, where: t3 } } }); + } + addActions(e3, t3) { + this._addChange({ add: { actions: { where: e3, actionsToAdd: t3 } } }); + } + addDelete(e3) { + this._addChange({ delete: { items: e3 } }); + } + addUpdate(e3) { + this._addChange({ update: e3 }); + } + isUndoDeleteGroupActive() { + return this._undoDeleteGroupDepth > 0; + } + beginUndoDeleteGroup() { + this._undoDeleteGroupDepth++; + } + endUndoDeleteGroup() { + this._undoDeleteGroupDepth > 0 && this._undoDeleteGroupDepth--; + } + recordUndoDeleteByTrackingId(e3, t3) { + this.recordUndoDeleteItem(e3, { trackingId: t3 }); + } + recordUndoDeleteByObjectId(e3, t3) { + this.recordUndoDeleteItem(e3, { id: t3 }); + } + recordUndoDeleteItem(e3, t3) { + const i3 = { [e3]: t3 }; + if (0 === this._undoDeleteGroupDepth) return void this._addChange({ delete: { items: [i3] } }); + const n3 = this._changes[this._changes.length - 1]; + (0, s.isDeleteChange)(n3) ? n3.delete.items.unshift(i3) : this._addChange({ delete: { items: [i3] } }); + } + getActionTypesToAdd() { + const e3 = /* @__PURE__ */ new Set(); + for (const t3 of this._changes) if ((0, a.isAddChange)(t3)) { + if ((0, o.isActionsAddOperation)(t3.add)) { + const i3 = t3.add.actions.actionsToAdd; + (0, n2.isArray)(i3) && this._extractActionTypes(i3, e3); + continue; + } + if ((0, d.isTaskAddOperation)(t3.add)) { + const i3 = t3.add.task.taskToAdd; + i3 && "actions" in i3 && (0, n2.isArray)(i3.actions) && this._extractActionTypes(i3.actions, e3); + continue; + } + if ((0, c.isStateAddOperation)(t3.add)) { + const i3 = t3.add.state.stateToAdd; + i3 && "actions" in i3 && (0, n2.isArray)(i3.actions) && this._extractActionTypes(i3.actions, e3); + continue; + } + if ((0, l.isMenuAddOperation)(t3.add)) { + const i3 = t3.add.menu.menuToAdd; + i3 && this._extractActionTypesFromMenuYaml(i3, e3); + continue; + } + (0, u.isMenuChoiceAddOperation)(t3.add) && this._extractActionTypesFromMenuChoiceWrapper(t3.add.menuChoice.menuChoiceToAdd, e3); + } + return e3; + } + _extractActionTypes(e3, t3) { + for (const i3 of e3) { + if (!i3 || "object" != typeof i3) continue; + const e4 = Object.keys(i3); + e4.length > 0 && t3.add(e4[0]); + } + } + _extractActionTypesFromMenuYaml(e3, t3) { + if ("actions" in e3 && (0, n2.isArray)(e3.actions) && this._extractActionTypes(e3.actions, t3), "choices" in e3 && (0, n2.isArray)(e3.choices)) for (const i3 of e3.choices) this._extractActionTypesFromMenuChoiceWrapper(i3, t3); + } + _extractActionTypesFromMenuChoiceWrapper(e3, t3) { + if (!(0, r2.isNonArrayObject)(e3)) return; + const i3 = e3, n3 = Object.keys(i3); + if (0 === n3.length) return; + const o2 = i3[n3[0]]; + this._extractActionTypesFromMenuChoiceBody(o2, t3); + } + _extractActionTypesFromMenuChoiceBody(e3, t3) { + if (!(0, r2.isNonArrayObject)(e3)) return; + const i3 = e3; + "actions" in i3 && (0, n2.isArray)(i3.actions) && this._extractActionTypes(i3.actions, t3), "task" in i3 && this._extractActionTypesFromTaskYaml(i3.task, t3), "menu" in i3 && (0, r2.isNonArrayObject)(i3.menu) && this._extractActionTypesFromMenuYaml(i3.menu, t3); + } + _extractActionTypesFromTaskYaml(e3, t3) { + if (!(0, r2.isNonArrayObject)(e3)) return; + const i3 = e3; + "actions" in i3 && (0, n2.isArray)(i3.actions) && this._extractActionTypes(i3.actions, t3); + } + } + t2.ChangeSet = p, p._nextNumber = 1; }, 10798: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getFeatureConfig = _, t2.getEnabledFeatureConfigNames = function() { + Object.defineProperty(t2, "__esModule", { value: true }), t2.getFeatureConfig = h, t2.getEnabledFeatureConfigNames = function() { const e3 = []; - return r2.default.each(p, (t3) => { - m(t3.featureConfigName) && e3.push(t3.featureConfigName); + return r2.default.each(_, (t3) => { + g(t3.featureConfigName) && e3.push(t3.featureConfigName); }), e3; - }, t2.isFeaturePresent = h, t2.isFeatureAvailable = m, t2.isFeatureUnavailable = function(e3) { - return !m(e3); + }, t2.isFeaturePresent = m, t2.isFeatureAvailable = g, t2.isFeatureUnavailable = function(e3) { + return !g(e3); }, t2.setBootstrapData = function(e3) { - r2.default.each(e3.featureConfigs, (e4, t3) => { - p[t3] = new s.default(t3, e4); - }), d = true; + (null == e3 ? void 0 : e3.featureConfigs) ? Object.keys(e3.featureConfigs).length ? (r2.default.each(e3.featureConfigs, (e4, t3) => { + _[t3] = new s.default(t3, e4); + }), d = true) : c.error("setBootstrapData called with an empty featureConfigs section - leaving feature configs unloaded.") : c.error("setBootstrapData called without a featureConfigs section - leaving feature configs unloaded."); }, t2.hasTestConfig = function() { throw new Error("this should only be called during unit tests"); }, t2._makeFeatureAvailableForTest = function(e3, t3) { throw new Error("this should only be called during unit tests"); - }, t2.checkSingletonForFeatureSupport = g, t2.checkArrayForFeatureSupport = function(e3) { + }, t2.checkSingletonForFeatureSupport = f, t2.checkArrayForFeatureSupport = function(e3) { let t3 = true; return e3.forEach((e4) => { - g(e4) || (t3 = false); + f(e4) || (t3 = false); }), t3; }, t2._resetTestFeatureAvailability = function() { throw new Error("this should only be called during unit tests"); }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(14166)), s = (n2.__importDefault(i2(4648)), n2.__importDefault(i2(97063))), l = i2(16321), u = n2.__importStar(i2(12847)); - o.getTopic("featureConfig"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(14166)), s = (n2.__importDefault(i2(4648)), n2.__importDefault(i2(97063))), l = i2(16321), u = n2.__importStar(i2(12847)), c = o.getTopic("featureConfig"); let d = false; - function c(e3) { - d || u.error(`feature '${e3}' being queried before feature configs have been loaded`); + function p(e3) { + if (!d) { + const t3 = `feature '${e3}' being queried before feature configs have been loaded`; + c.traceOnce(e3, () => c.error(t3)), u.error(t3); + } } - const p = /* @__PURE__ */ new Map(); - function _(e3) { - let t3 = p[e3]; + const _ = /* @__PURE__ */ new Map(); + function h(e3) { + let t3 = _[e3]; if (!t3) { + d && c.traceOnce(`featureAbsentFromBootstrapData-${e3}`, () => c.warning(`feature '${e3}' was not present in the bootstrap feature configs, so it is being treated as unavailable.`)); const i3 = a.default.createNotAvailable(e3); - t3 = p[e3] = new s.default(e3, i3); + t3 = _[e3] = new s.default(e3, i3); } return t3; } - function h(e3) { - return c(e3), !!l.bootstrapService.featureConfigs[e3]; - } function m(e3) { - c(e3); - const t3 = _(e3); - return !!t3 && !!t3.isAvailable; + return p(e3), l.bootstrapService.featureConfigs ? !!l.bootstrapService.featureConfigs[e3] : (c.traceOnce(`isFeaturePresent-${e3}`, () => c.error(`feature '${e3}' presence was queried with no featureConfigs section loaded - reporting the feature as not present.`)), false); } function g(e3) { - return h(e3.name) ? m(e3.name) : e3.treatAsAvailableIfNotPresent; + p(e3); + const t3 = h(e3); + return !!t3 && !!t3.isAvailable; + } + function f(e3) { + return m(e3.name) ? g(e3.name) : e3.treatAsAvailableIfNotPresent; } }, 10914: (e2, t2) => { "use strict"; @@ -15336,15 +16565,15 @@ var require_scripting_bundle = __commonJS({ } t2.default = o; }, 10954: (e2, t2, i2) => { - const { DarthUploadResponse: n2 } = i2(94829), r2 = i2(73198).default, { PromptContainerList: o } = i2(95258), { PromptContainer: a } = i2(53314), { PromptResourceList: s } = i2(48001), { PromptResource: l } = i2(94729), u = i2(69773), d = i2(36019).default; - function c() { + const { DarthUploadResponse: n2 } = i2(94829), r2 = i2(73198).default, { PromptContainerList: o } = i2(95258), { PromptContainer: a } = i2(53314), { PromptResourceList: s } = i2(48001), { PromptResource: l } = i2(94729), u = i2(69773), c = i2(36019).default; + function d() { } - const p = new c(); - c.prototype.audioUpload = d.request("POST"), c.prototype.audioUpload.manualRequestTimeoutMs = 2 * r2.msPerMinute, c.prototype.createPromptContainer = d.request("POST", "{public-api.apps}/api/v2/architect/prompts", a), c.prototype.deletePromptContainer = d.request("DELETE", "{public-api.apps}/api/v2/architect/prompts/{id}"), c.prototype.createPromptResource = d.request("POST", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources", l), c.prototype.createSystemPromptResource = d.request("POST", "{public-api.apps}/api/v2/architect/systemprompts/{promptId}/resources", l), c.prototype.deletePromptResource = d.request("DELETE", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources/{language}"), c.prototype.revertSystemPromptResourceAudio = d.request("DELETE", "{public-api.apps}/api/v2/architect/systemprompts/{promptId}/resources/{language}"), c.prototype.clearUserPromptAudio = d.request("DELETE", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources/{language}/audio"), c.prototype.getPromptContainer = d.request("GET", "{public-api.apps}/api/v2/architect/prompts/{id}", a), c.prototype.getSystemPromptContainer = d.request("GET", "{public-api.apps}/api/v2/architect/systemprompts/{id}", a), c.prototype.getPromptContainers = d.request("GET", "{public-api.apps}/api/v2/architect/prompts", o), c.prototype.getSystemPromptContainers = d.request("GET", "{public-api.apps}/api/v2/architect/systemprompts", o), c.prototype.getPromptResource = d.request("GET", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources/{language}", l), c.prototype.getSystemPromptResource = d.request("GET", "{public-api.apps}/api/v2/architect/systemprompts/{promptId}/resources/{language}", l), c.prototype.getPromptResources = d.request("GET", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources", s), c.prototype.getSystemPromptResources = d.request("GET", "{public-api.apps}/api/v2/architect/systemprompts/{promptId}/resources", s), c.prototype.updatePromptContainer = d.request("PUT", "{public-api.apps}/api/v2/architect/prompts/{id}", a), c.prototype.updatePromptResource = d.request("PUT", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources/{language}", l), c.prototype.getUserPromptUploadPresignedUrl = d.request("POST", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources/{language}/uploads", n2), c.prototype.getSystemPromptUploadPresignedUrl = d.request("POST", "{public-api.apps}/api/v2/architect/systemprompts/{promptId}/resources/{language}/uploads", n2), c.prototype.audioUploadViaPresignedUrl = d.request("PUT"), p.createPromptContainer.ignore(u.ARCHITECT_PROMPT_ALREADY_EXISTS.code), p.deletePromptContainer.ignore(u.ARCHITECT_DEPENDENCY_OBJECT_IN_USE.code), p.deletePromptContainer.ignore(u.ARCHITECT_PROMPT_CANNOT_DELETE_USED_IN_QUEUES.code), p.deletePromptResource.ignore(u.ARCHITECT_DEPENDENCY_OBJECT_IN_USE.code), p.getPromptContainer.ignore(u.ARCHITECT_PROMPT_NOT_FOUND.code), p.getSystemPromptContainer.ignore(u.ARCHITECT_PROMPT_NOT_FOUND.code), p.getUserPromptUploadPresignedUrl.addOptions({ ignoreBadResponse: true }), p.getSystemPromptUploadPresignedUrl.addOptions({ ignoreBadResponse: true }), p.getPromptContainers.addOptions({ allowRequestChunking: true, chunkingParamName: "name", ignoreBadResponse: true }), e2.exports = p; + const p = new d(); + d.prototype.audioUpload = c.request("POST"), d.prototype.audioUpload.manualRequestTimeoutMs = 2 * r2.msPerMinute, d.prototype.createPromptContainer = c.request("POST", "{public-api.apps}/api/v2/architect/prompts", a), d.prototype.deletePromptContainer = c.request("DELETE", "{public-api.apps}/api/v2/architect/prompts/{id}"), d.prototype.createPromptResource = c.request("POST", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources", l), d.prototype.createSystemPromptResource = c.request("POST", "{public-api.apps}/api/v2/architect/systemprompts/{promptId}/resources", l), d.prototype.deletePromptResource = c.request("DELETE", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources/{language}"), d.prototype.revertSystemPromptResourceAudio = c.request("DELETE", "{public-api.apps}/api/v2/architect/systemprompts/{promptId}/resources/{language}"), d.prototype.clearUserPromptAudio = c.request("DELETE", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources/{language}/audio"), d.prototype.getPromptContainer = c.request("GET", "{public-api.apps}/api/v2/architect/prompts/{id}", a), d.prototype.getSystemPromptContainer = c.request("GET", "{public-api.apps}/api/v2/architect/systemprompts/{id}", a), d.prototype.getPromptContainers = c.request("GET", "{public-api.apps}/api/v2/architect/prompts", o), d.prototype.getSystemPromptContainers = c.request("GET", "{public-api.apps}/api/v2/architect/systemprompts", o), d.prototype.getPromptResource = c.request("GET", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources/{language}", l), d.prototype.getSystemPromptResource = c.request("GET", "{public-api.apps}/api/v2/architect/systemprompts/{promptId}/resources/{language}", l), d.prototype.getPromptResources = c.request("GET", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources", s), d.prototype.getSystemPromptResources = c.request("GET", "{public-api.apps}/api/v2/architect/systemprompts/{promptId}/resources", s), d.prototype.updatePromptContainer = c.request("PUT", "{public-api.apps}/api/v2/architect/prompts/{id}", a), d.prototype.updatePromptResource = c.request("PUT", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources/{language}", l), d.prototype.getUserPromptUploadPresignedUrl = c.request("POST", "{public-api.apps}/api/v2/architect/prompts/{promptId}/resources/{language}/uploads", n2), d.prototype.getSystemPromptUploadPresignedUrl = c.request("POST", "{public-api.apps}/api/v2/architect/systemprompts/{promptId}/resources/{language}/uploads", n2), d.prototype.audioUploadViaPresignedUrl = c.request("PUT"), p.createPromptContainer.ignore(u.ARCHITECT_PROMPT_ALREADY_EXISTS.code), p.deletePromptContainer.ignore(u.ARCHITECT_DEPENDENCY_OBJECT_IN_USE.code), p.deletePromptContainer.ignore(u.ARCHITECT_PROMPT_CANNOT_DELETE_USED_IN_QUEUES.code), p.deletePromptResource.ignore(u.ARCHITECT_DEPENDENCY_OBJECT_IN_USE.code), p.getPromptContainer.ignore(u.ARCHITECT_PROMPT_NOT_FOUND.code), p.getSystemPromptContainer.ignore(u.ARCHITECT_PROMPT_NOT_FOUND.code), p.getUserPromptUploadPresignedUrl.addOptions({ ignoreBadResponse: true }), p.getSystemPromptUploadPresignedUrl.addOptions({ ignoreBadResponse: true }), p.getPromptContainers.addOptions({ allowRequestChunking: true, chunkingParamName: "name", ignoreBadResponse: true }), e2.exports = p; }, 10955: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importStar(i2(1115)), o = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(22917)), u = i2(92794), d = i2(20083), c = i2(87870), p = i2(80428), _ = n2.__importStar(i2(36781)), h = i2(38551), m = i2(47957); - class g extends a.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(1115)), o = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(22917)), u = i2(92794), c = i2(20083), d = i2(87870), p = i2(80428), _ = n2.__importStar(i2(36781)), h = i2(38551), m = n2.__importDefault(i2(4648)), g = i2(47957); + class f extends a.default { constructor(e3, t3) { var i3; super(e3.parentFlow, e3), this._loadModel(t3), null === (i3 = this.parent.parentFlow.knowledgeSettings) || void 0 === i3 || i3.knowledgeBaseModel$.pipe((0, u.delay)(100)).subscribe(() => r2.validateAction(this, true, true)); @@ -15358,16 +16587,16 @@ var require_scripting_bundle = __commonJS({ })); } static get managedProperties() { - return [{ label: m.knowledgeSettings.knowledgeArticle, options: d.ExpressionTypeKnowledgeBaseDocumentOptions.create((e3) => e3.setIninTestingField("knowledgeArticle").setUiDisableOnOutOfService(true)), property: "knowledgeArticle", type: p.expressionTypeNames.knowledgeBaseDocument, yamlOptions: l.default.create("knowledgeArticle", (e3) => e3.setPropertyName("knowledgeArticle")) }, { createDetails: c.NoteActionProperty.createCreateDetails(m.showKnowledgeBaseArticle.showKnowledgeBaseArticleNote, "info", "showKnowledgeNote"), property: "articleInfo", yamlOptions: g.createYamlOptions("articleInfo", (e3) => e3.setSkipProperty(true)) }, { createDetails: c.NoteActionProperty.createCreateDetails(m.showKnowledgeBaseArticle.showKnowledgeSettingArticleNote, "info", "showKnowledgeV3Note"), property: "articleKnowledgeV3Info", yamlOptions: g.createYamlOptions("articleKnowledgeV3Info", (e3) => e3.setSkipProperty(true)) }]; + return [{ label: g.knowledgeSettings.knowledgeArticle, options: c.ExpressionTypeKnowledgeBaseDocumentOptions.create((e3) => e3.setIninTestingField("knowledgeArticle").setUiDisableOnOutOfService(true)), property: "knowledgeArticle", type: p.expressionTypeNames.knowledgeBaseDocument, yamlOptions: l.default.create("knowledgeArticle", (e3) => e3.setPropertyName("knowledgeArticle")) }, { createDetails: d.NoteActionProperty.createCreateDetails(g.showKnowledgeBaseArticle.showKnowledgeBaseArticleNote, "info", "showKnowledgeNote"), property: "articleInfo", yamlOptions: f.createYamlOptions("articleInfo", (e3) => e3.setSkipProperty(true)) }, { createDetails: d.NoteActionProperty.createCreateDetails(g.showKnowledgeBaseArticle.showKnowledgeSettingArticleNote, "info", "showKnowledgeV3Note"), property: "articleKnowledgeV3Info", yamlOptions: f.createYamlOptions("articleKnowledgeV3Info", (e3) => e3.setSkipProperty(true)) }]; } _setKnowledgeVersionSettings(e3) { e3 === h.KnowledgeVersionValues.v3 ? (this.knowledgeArticle.setAsNoValue(), this.knowledgeArticle.outOfService = true, this.knowledgeArticle.isOptional = true, this.articleInfo.outOfService = true, this.articleKnowledgeV3Info.outOfService = false) : (this.knowledgeArticle.outOfService = false, this.knowledgeArticle.isOptional = false, this.articleInfo.outOfService = false, this.articleKnowledgeV3Info.outOfService = true); } } - g.info = s.default.createActionInfo({ actionClass: g, canBeInTask: true, canBeTreeNode: true, helpTopic: o.helpTopics.actions.showKnowledgeArticle, modelClass: i2(22780), name: m.actions.showKnowledgeArticle, scriptingName: "ArchActionShowKnowledgeArticle" }), t2.A = g; + f.info = s.default.createActionInfo({ actionClass: f, canBeInTask: true, canBeTreeNode: true, helpTopic: o.helpTopics.actions.showKnowledgeArticle, modelClass: i2(22780), name: g.actions.showKnowledgeArticle, scriptingName: "ArchActionShowKnowledgeArticle", modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } } }), t2.A = f; }, 11013: (e2, t2, i2) => { "use strict"; - var n2, r2, o, a, s, l, u, d, c, p; + var n2, r2, o, a, s, l, u, c, d, p; Object.defineProperty(t2, "__esModule", { value: true }), t2.SendDigitalContentActionModel = void 0; const _ = i2(31635), h = i2(39194), m = _.__importDefault(i2(7401)), g = _.__importDefault(i2(90807)), f = i2(72448), T = i2(23436), y = i2(30801), S = i2(80295), A = i2(80295); class N extends h.BaseActionNoInputNoMatchModel { @@ -15431,7 +16660,7 @@ var require_scripting_bundle = __commonJS({ this._messagingTemplateType = this.reviveItem(e3, m.default); } } - t2.SendDigitalContentActionModel = N, N.__type = y.sendDigitalContentActionType, _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", "function" == typeof (n2 = void 0 !== f.MessagingTemplate && f.MessagingTemplate) ? n2 : Object), _.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== f.MessagingTemplate && f.MessagingTemplate) ? r2 : Object])], N.prototype, "messagingTemplate", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", String), _.__metadata("design:paramtypes", [String])], N.prototype, "messagingTemplateId", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", String), _.__metadata("design:paramtypes", [String])], N.prototype, "messagingTemplateName", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", "function" == typeof (o = void 0 !== m.default && m.default) ? o : Object), _.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== m.default && m.default) ? a : Object])], N.prototype, "selectionResult", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", "function" == typeof (s = void 0 !== T.ResponseLibrary && T.ResponseLibrary) ? s : Object), _.__metadata("design:paramtypes", ["function" == typeof (l = void 0 !== T.ResponseLibrary && T.ResponseLibrary) ? l : Object])], N.prototype, "responseLibrary", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", Array), _.__metadata("design:paramtypes", [Array])], N.prototype, "substitutions", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", "function" == typeof (u = void 0 !== m.default && m.default) ? u : Object), _.__metadata("design:paramtypes", ["function" == typeof (d = void 0 !== m.default && m.default) ? d : Object])], N.prototype, "question", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", "function" == typeof (c = void 0 !== m.default && m.default) ? c : Object), _.__metadata("design:paramtypes", ["function" == typeof (p = void 0 !== m.default && m.default) ? p : Object])], N.prototype, "messagingTemplateType", null), N.registerType(); + t2.SendDigitalContentActionModel = N, N.__type = y.sendDigitalContentActionType, _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", "function" == typeof (n2 = void 0 !== f.MessagingTemplate && f.MessagingTemplate) ? n2 : Object), _.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== f.MessagingTemplate && f.MessagingTemplate) ? r2 : Object])], N.prototype, "messagingTemplate", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", String), _.__metadata("design:paramtypes", [String])], N.prototype, "messagingTemplateId", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", String), _.__metadata("design:paramtypes", [String])], N.prototype, "messagingTemplateName", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", "function" == typeof (o = void 0 !== m.default && m.default) ? o : Object), _.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== m.default && m.default) ? a : Object])], N.prototype, "selectionResult", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", "function" == typeof (s = void 0 !== T.ResponseLibrary && T.ResponseLibrary) ? s : Object), _.__metadata("design:paramtypes", ["function" == typeof (l = void 0 !== T.ResponseLibrary && T.ResponseLibrary) ? l : Object])], N.prototype, "responseLibrary", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", Array), _.__metadata("design:paramtypes", [Array])], N.prototype, "substitutions", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", "function" == typeof (u = void 0 !== m.default && m.default) ? u : Object), _.__metadata("design:paramtypes", ["function" == typeof (c = void 0 !== m.default && m.default) ? c : Object])], N.prototype, "question", null), _.__decorate([(0, S.enumerable)(true), _.__metadata("design:type", "function" == typeof (d = void 0 !== m.default && m.default) ? d : Object), _.__metadata("design:paramtypes", ["function" == typeof (p = void 0 !== m.default && m.default) ? p : Object])], N.prototype, "messagingTemplateType", null), N.registerType(); }, 11015: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.PermissionShiroValue = void 0; @@ -15506,16 +16735,16 @@ var require_scripting_bundle = __commonJS({ }, 11181: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.dataTablesManager = t2.DataTablesManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(55654)), o = n2.__importDefault(i2(47532)), a = i2(30801), s = n2.__importDefault(i2(72211)), l = i2(81801), u = n2.__importDefault(i2(4648)), d = i2(24032), c = i2(10798), p = i2(47957), _ = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(55654)), o = n2.__importDefault(i2(47532)), a = i2(30801), s = n2.__importDefault(i2(72211)), l = i2(81801), u = n2.__importDefault(i2(4648)), c = i2(24032), d = i2(10798), p = i2(47957), _ = i2(27862); class h extends o.default { get requiredAuth() { - return (0, c.isFeatureAvailable)(u.default.divisionedDataTables) ? l.externalAuthorizations.authStrings.dataTablesSearch : l.externalAuthorizations.authStrings.dataTablesView; + return (0, d.isFeatureAvailable)(u.default.divisionedDataTables) ? l.externalAuthorizations.authStrings.dataTablesSearch : l.externalAuthorizations.authStrings.dataTablesView; } get dependencyType() { return _.DataTable; } constructor() { - super(), this.topic = (0, d.getTopic)("DataTablesManager"), this.apiCallList = r2.getDataTables, this.apiCallSingle = r2.getDataTable, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "actionId", this.actionsForUsageSearch = [a.dataTableLookupActionType], this.className = "DataTablesManager", this.dependencyContext = p.dataTable.dataTable, this.suppressSearch = true, this.uiMetadataSectionName = "dataTableTables", this._initialize(); + super(), this.topic = (0, c.getTopic)("DataTablesManager"), this.apiCallList = r2.getDataTables, this.apiCallSingle = r2.getDataTable, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "actionId", this.actionsForUsageSearch = [a.dataTableLookupActionType], this.className = "DataTablesManager", this.dependencyContext = p.dataTable.dataTable, this.suppressSearch = true, this.uiMetadataSectionName = "dataTableTables", this._initialize(); } _createItemViewModel(e3) { return new s.default(e3); @@ -15697,8 +16926,8 @@ var require_scripting_bundle = __commonJS({ }, 11304: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.GroupType = void 0; - const n2 = i2(31635), r2 = i2(14394), o = i2(71056), a = i2(98835), s = i2(27491), l = n2.__importDefault(i2(22226)), u = i2(80428), d = i2(94765); - class c extends d.ExpressionType { + const n2 = i2(31635).__importDefault(i2(22226)), r2 = i2(71056), o = i2(98835), a = i2(1910), s = i2(27491), l = i2(80428), u = i2(14394), c = i2(94765); + class d extends c.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -15706,33 +16935,42 @@ var require_scripting_bundle = __commonJS({ return "GroupType"; } createExpressionOptionClass() { - return new o.ExpressionTypeNetworkObjectOptions(); + return new r2.ExpressionTypeNetworkObjectOptions(); } canConvertLitToExpression(e3) { - return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindGroup", e3, [r2.globalTypes.string]); + return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindGroup", e3, [u.globalTypes.string]); } convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindGroup(${l.default.getQuotedExpressionStringLiteral(t3)})` : ""; + return t3 && this.canConvertLitToExpression(e3) ? `FindGroup(${n2.default.getQuotedExpressionStringLiteral(t3)})` : ""; + } + applyLiteralFromModel(e3, t3, i3, n3) { + (0, a.applyNetworkListLiteralFromModel)(e3, t3, i3, n3, d.entityResolverEntityType) || super.applyLiteralFromModel(e3, t3, i3, n3); } _getLiteralValueOfExpression() { return ""; } get listManager() { - return a.groupManager; + return o.groupManager; } } - t2.GroupType = c, c.typeIdentifier = u.expressionTypeNames.group; + t2.GroupType = d, d.typeIdentifier = l.expressionTypeNames.group, d.entityResolverEntityType = "group"; }, 11332: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(71012), s = n2.__importDefault(i2(2318)), l = n2.__importDefault(i2(27203)), u = n2.__importStar(i2(59288)), d = n2.__importStar(i2(36781)), c = n2.__importStar(i2(10798)), p = n2.__importStar(i2(33230)), _ = i2(26847), h = n2.__importStar(i2(1115)), m = i2(12179), g = n2.__importDefault(i2(97891)), f = n2.__importDefault(i2(80570)), T = i2(95443), y = i2(20083), S = n2.__importDefault(i2(4648)), A = i2(80428), N = i2(14187), O = i2(38551), I = i2(21733), v = i2(47957); - class C extends f.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(71012), s = n2.__importDefault(i2(2318)), l = n2.__importDefault(i2(27203)), u = n2.__importStar(i2(59288)), c = n2.__importStar(i2(36781)), d = n2.__importStar(i2(10798)), p = n2.__importStar(i2(33230)), _ = i2(26847), h = n2.__importStar(i2(1115)), m = i2(12179), g = n2.__importDefault(i2(97891)), f = i2(1910), T = i2(1910), y = i2(1910), S = n2.__importDefault(i2(80570)), A = i2(95443), N = i2(20083), v = n2.__importDefault(i2(4648)), O = i2(80428), I = i2(14187), C = i2(38551), b = i2(69453), E = i2(50474), w = i2(50474), R = i2(50474), D = i2(21733), P = i2(47957); + function M(e3) { + return (0, w.isNonArrayObject)(e3); + } + function F(e3) { + return (0, w.isNonArrayObject)(e3); + } + class L extends S.default { constructor(e3, t3) { - super(e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), c.isFeatureAvailable(S.default.botFlowsAdvancedKnowledgeHandling) && this.setKnowledgeSearchResultOutOfService(), this.question.options.setBuilderLanguagesSequenceConfig(a.askForIntentSequences.questionSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(a.askForIntentSequences.noMatchSequence), this.parentFlow.isDigitalBotFlow ? this.noInput.options.setBuilderLanguagesSequenceConfig(a.askForIntentSequences.noInputDigitalBotSequence) : this.noInput.options.setBuilderLanguagesSequenceConfig(a.askForIntentSequences.noInputSequence), this.addAutoCleanedUpEventListener(d.nluUpdatedByWorkbench, this.updateIntentPaths.bind(this)), this.addAutoCleanedUpEventSinkWatch(d.lastPathActionRemoved, this, this.removeUnusedOutput.bind(this)), c.isFeatureAvailable(S.default.botFlowsAdvancedKnowledgeHandling) && this.addAutoCleanedUpEventListener(d.branchesChanged, () => { + super(e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), d.isFeatureAvailable(v.default.botFlowsAdvancedKnowledgeHandling) && this.setKnowledgeSearchResultOutOfService(), this.question.options.setBuilderLanguagesSequenceConfig(a.askForIntentSequences.questionSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(a.askForIntentSequences.noMatchSequence), this.parentFlow.isDigitalBotFlow ? this.noInput.options.setBuilderLanguagesSequenceConfig(a.askForIntentSequences.noInputDigitalBotSequence) : this.noInput.options.setBuilderLanguagesSequenceConfig(a.askForIntentSequences.noInputSequence), this.addAutoCleanedUpEventListener(c.nluUpdatedByWorkbench, this.updateIntentPaths.bind(this)), this.addAutoCleanedUpEventSinkWatch(c.lastPathActionRemoved, this, this.removeUnusedOutput.bind(this)), d.isFeatureAvailable(v.default.botFlowsAdvancedKnowledgeHandling) && this.addAutoCleanedUpEventListener(c.branchesChanged, () => { this.setKnowledgeSearchResultOutOfService(); }), this.sortBranches(); } static get managedProperties() { - return [{ property: "knowledgeSearchResult", label: v.cardsAndCars.knowledgeSearchResultLabel, type: A.expressionTypeNames.knowledgeBaseDocument, options: y.ExpressionTypeKnowledgeBaseDocumentOptions.create((e3) => e3.setAsOutput().setDefaultVariableScope(N.scopes.flow).setIsOptional(true).setDefaultToVariable(true).setIsCollection(true).setIninTestingField("knowledgeSearchResult").setDescriptionInfo(v.cardsAndCars.knowledgeSearchResultLabel, c.isFeatureAvailable(S.default.botFlowsAnswerGenerationMultipleArticles) ? v.cardsAndCars.knowledgeSearchResultDescriptionMultipleArticles : v.cardsAndCars.knowledgeSearchResultDescription).setFeatureConfigName(S.default.botFlowsAdvancedKnowledgeHandling).setUiPropertyOrder(15)), yamlOptions: C.createYamlOptions("knowledgeSearchResult", (e3) => e3.setExportOrder(51)) }, (0, T.createBargeInManagedProperty)(8, v.speechToText.recognitionParams.speechRecognitionParameters)]; + return [{ property: "knowledgeSearchResult", label: P.cardsAndCars.knowledgeSearchResultLabel, type: O.expressionTypeNames.knowledgeBaseDocument, options: N.ExpressionTypeKnowledgeBaseDocumentOptions.create((e3) => e3.setAsOutput().setDefaultVariableScope(I.scopes.flow).setIsOptional(true).setDefaultToVariable(true).setIsCollection(true).setIninTestingField("knowledgeSearchResult").setDescriptionInfo(P.cardsAndCars.knowledgeSearchResultLabel, d.isFeatureAvailable(v.default.botFlowsAnswerGenerationMultipleArticles) ? P.cardsAndCars.knowledgeSearchResultDescriptionMultipleArticles : P.cardsAndCars.knowledgeSearchResultDescription).setFeatureConfigName(v.default.botFlowsAdvancedKnowledgeHandling).setUiPropertyOrder(15)), yamlOptions: L.createYamlOptions("knowledgeSearchResult", (e3) => e3.setExportOrder(51)) }, (0, A.createBargeInManagedProperty)(8, P.speechToText.recognitionParams.speechRecognitionParameters)]; } static get branchInfo() { return [l.default.noIntentOptional, l.default.knowledgeOptional, l.default.maxNoInputsOptional]; @@ -15745,7 +16983,7 @@ var require_scripting_bundle = __commonJS({ return true; } setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3), this.setNewInstanceQuestionText(I(this.parentFlow.defaultLanguage).askForIntent.question), this.setNewInstanceNoMatchText(I(this.parentFlow.defaultLanguage).askForIntent.noMatch), this.parentFlow.isDigitalBotFlow ? this.setNewInstanceNoInputText(I(this.parentFlow.defaultLanguage).askForIntent.noInputDigitalBot) : this.setNewInstanceNoInputText(I(this.parentFlow.defaultLanguage).askForIntent.noInput), this.setBranchOutOfService(l.default.noIntentOptional.outputId), this.setBranchOutOfService(l.default.knowledgeOptional.outputId), this.setBranchOutOfService(l.default.maxNoInputsOptional.outputId); + super.setNewInstanceDefaults(e3), this.setNewInstanceQuestionText(D(this.parentFlow.defaultLanguage).askForIntent.question), this.setNewInstanceNoMatchText(D(this.parentFlow.defaultLanguage).askForIntent.noMatch), this.parentFlow.isDigitalBotFlow ? this.setNewInstanceNoInputText(D(this.parentFlow.defaultLanguage).askForIntent.noInputDigitalBot) : this.setNewInstanceNoInputText(D(this.parentFlow.defaultLanguage).askForIntent.noInput), this.setBranchOutOfService(l.default.noIntentOptional.outputId), this.setBranchOutOfService(l.default.knowledgeOptional.outputId), this.setBranchOutOfService(l.default.maxNoInputsOptional.outputId); } addBranchForIntent(e3) { let t3 = this.branches.find((t4) => t4.label === e3); @@ -15793,9 +17031,53 @@ var require_scripting_bundle = __commonJS({ super.validate(e3); const n3 = this.parentFlow.botFlowSettings.nluDomain; if (e3.isDeep && !this.isReadOnly && n3 && this.updateIntentPaths(), this.isDisabled) return; - s.default.currentUserCanUseKnowledge ? o.default.find(this.branches, (e4) => (e4.isDynamicBranch || e4.id === _.outputIds.knowledge) && !e4.isDisabled) || e3.addError(this, (0, r2.sprintf)(v.askForIntent.mustEnableOneNluIntentOrKnowledge, v.generic.branches.knowledgeDialogEngine)) : this.getIntents().length ? o.default.find(this.branches, (e4) => e4.isDynamicBranch && !e4.isDisabled) || e3.addError(this, v.askForIntent.mustEnableOneNluIntent) : e3.addError(this, v.askForIntent.nluMustHaveOneIntent); + s.default.currentUserCanUseKnowledge ? o.default.find(this.branches, (e4) => (e4.isDynamicBranch || e4.id === _.outputIds.knowledge) && !e4.isDisabled) || e3.addError(this, (0, r2.sprintf)(P.askForIntent.mustEnableOneNluIntentOrKnowledge, P.generic.branches.knowledgeDialogEngine)) : this.getIntents().length ? o.default.find(this.branches, (e4) => e4.isDynamicBranch && !e4.isDisabled) || e3.addError(this, P.askForIntent.mustEnableOneNluIntent) : e3.addError(this, P.askForIntent.nluMustHaveOneIntent); const a2 = this.getBranch(_.outputIds.knowledge); - a2 && !a2.outOfService && ((null === (t3 = this.parentFlow.knowledgeSettings) || void 0 === t3 ? void 0 : t3.hasKnowledgeBaseConfigured) || this.parentFlow.knowledgeSettings.knowledgeVersion && this.parentFlow.knowledgeSettings.knowledgeVersion.text !== O.KnowledgeVersionValues.v2 ? (null === (i3 = this.parentFlow.knowledgeSettings) || void 0 === i3 ? void 0 : i3.hasKnowledgeSettingConfigured) || this.parentFlow.knowledgeSettings.knowledgeVersion.text !== O.KnowledgeVersionValues.v3 || e3.addError(this, (0, r2.sprintf)(v.askForIntent.knowledgeSettingMustBeSelectedWhenKnowledgePathEnabled, v.knowledgeSettings.knowledgeSetting)) : e3.addError(this, (0, r2.sprintf)(v.askForIntent.knowledgeBaseMustBeSelectedWhenKnowledgePathEnabled, v.knowledgeSettings.knowledgeBase))); + a2 && !a2.outOfService && ((null === (t3 = this.parentFlow.knowledgeSettings) || void 0 === t3 ? void 0 : t3.hasKnowledgeBaseConfigured) || this.parentFlow.knowledgeSettings.knowledgeVersion && this.parentFlow.knowledgeSettings.knowledgeVersion.text !== C.KnowledgeVersionValues.v2 ? (null === (i3 = this.parentFlow.knowledgeSettings) || void 0 === i3 ? void 0 : i3.hasKnowledgeSettingConfigured) || this.parentFlow.knowledgeSettings.knowledgeVersion.text !== C.KnowledgeVersionValues.v3 || e3.addError(this, (0, r2.sprintf)(P.askForIntent.knowledgeSettingMustBeSelectedWhenKnowledgePathEnabled, P.knowledgeSettings.knowledgeSetting)) : e3.addError(this, (0, r2.sprintf)(P.askForIntent.knowledgeBaseMustBeSelectedWhenKnowledgePathEnabled, P.knowledgeSettings.knowledgeBase))); + } + _configureNestedActionsFromModel(e3, t3, i3) { + const a2 = Object.create(null, { _configureNestedActionsFromModel: { get: () => super._configureNestedActionsFromModel } }); + return n2.__awaiter(this, void 0, void 0, function* () { + if (yield a2._configureNestedActionsFromModel.call(this, e3, t3, i3), t3 !== y.ModelFormat.FlowYaml && t3 !== y.ModelFormat.ChangeSet) return; + const n3 = e3.outputs; + if (!(0, f.isConfigureFromModelRecord)(n3)) return; + const s2 = n3.intents; + if (!(0, E.isArray)(s2)) return; + const l2 = []; + for (let e4 = 0; e4 < s2.length; e4++) { + const t4 = s2[e4]; + if (!M(t4)) continue; + if (!F(t4.intent)) continue; + const n4 = t4.intent; + if (!(0, R.isString)(n4.name) || !n4.name) { + i3.warn((0, r2.sprintf)(b.configureFromModel.intentMissingName, e4, this.name || this.className)); + continue; + } + const a3 = n4.name, u2 = o.default.isBoolean(n4.enabled) ? n4.enabled : void 0, c2 = (0, E.isArray)(n4.actions); + if (false === u2 && !this._intentExistsOnNluDomain(a3)) { + i3.warn((0, r2.sprintf)(b.configureFromModel.intentNotDefinedOnNluDomain, a3)); + continue; + } + l2.push(a3.toLowerCase()); + const d2 = {}, p2 = null != u2 ? u2 : !!c2 || void 0; + if (o.default.isBoolean(p2) && (d2.enabled = p2), c2) { + const t5 = (0, T.getConfigureFromModelRecords)(n4.actions, i3, `outputs[intents][${e4}][intent][${a3}].actions`); + t5 && (d2.actions = t5); + } + yield this._processOutputBranch(a3, d2, i3, `outputs[intents][${e4}][intent][${a3}]`); + } + for (const e4 of this.branches) { + if (!e4.isDynamicBranch || e4.isUnavailable) continue; + const t4 = (e4.label || "").toLowerCase(); + t4 && !l2.includes(t4) && (e4.outOfService || (e4.outOfService = true)); + } + }); + } + _claimsNestedOutputKey(e3) { + return "intents" === e3 || super._claimsNestedOutputKey(e3); + } + _intentExistsOnNluDomain(e3) { + return this.getIntents().some((t3) => t3.name === e3); } processKnowledgeBaseChanged() { this.updateKnowledgePath(), h.validateAction(this, true, true); @@ -15812,10 +17094,10 @@ var require_scripting_bundle = __commonJS({ } _initializeDesignTime() { var e3, t3; - super._initializeDesignTime(), this.optionalBranchInfo.length || this.createBranchesForAllNLUIntents(), s.default.currentUserCanUseKnowledge && this.addAutoCleanedUpEventSinkWatch(d.valueChanged, null === (e3 = this.parentFlow.knowledgeSettings) || void 0 === e3 ? void 0 : e3.knowledge, () => this.processKnowledgeBaseChanged()), s.default.currentUserCanUseKnowledgeV3 && this.addAutoCleanedUpEventSinkWatch(d.valueChanged, null === (t3 = this.parentFlow.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledge_v3, () => this.processKnowledgeBaseChanged()), this.updateKnowledgePath(); + super._initializeDesignTime(), this.optionalBranchInfo.length || this.createBranchesForAllNLUIntents(), s.default.currentUserCanUseKnowledge && this.addAutoCleanedUpEventSinkWatch(c.valueChanged, null === (e3 = this.parentFlow.knowledgeSettings) || void 0 === e3 ? void 0 : e3.knowledge, () => this.processKnowledgeBaseChanged()), s.default.currentUserCanUseKnowledgeV3 && this.addAutoCleanedUpEventSinkWatch(c.valueChanged, null === (t3 = this.parentFlow.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledge_v3, () => this.processKnowledgeBaseChanged()), this.updateKnowledgePath(); } } - C.info = g.default.createActionInfo({ actionClass: C, canBeInTask: true, canBeTreeNode: false, helpTopic: m.helpTopics.actions.askForNLUIntent, modelClass: i2(51350), name: v.actions.askForIntent, scriptingName: "ArchActionAskForIntent", supportsUtteranceHistoricalData: true }), t2.A = C; + L.info = g.default.createActionInfo({ actionClass: L, canBeInTask: true, canBeTreeNode: false, helpTopic: m.helpTopics.actions.askForNLUIntent, modelClass: i2(51350), name: P.actions.askForIntent, scriptingName: "ArchActionAskForIntent", supportsUtteranceHistoricalData: true, modelFormatSupport: { flowYaml: { inProgress: true, feature: v.default.changeSetsFeaturePhase2 } } }), t2.A = L; }, 11343: (e2, t2, i2) => { const n2 = i2(28730), { participantRecordActionType: r2 } = i2(30801); function o() { @@ -15832,14 +17114,14 @@ var require_scripting_bundle = __commonJS({ }.bind(this)), r2.ParameterValidator.expectBool(i3, function() { return n2.ParameterInfo.createFunctionParameter("expressionCharacterParser", "getFunctionsForCharPosition", "wantFunctionCallStack"); }.bind(this), true); - const d = e3.text || ""; - if (t3 < 0 || t3 > d.length || 0 === d.length) return []; - let c, p, _, h, m; - t3 === d.length && (t3 = d.trim().length - 1) < 0 && (t3 = 0), i3 = true === i3; + const c = e3.text || ""; + if (t3 < 0 || t3 > c.length || 0 === c.length) return []; + let d, p, _, h, m; + t3 === c.length && (t3 = c.trim().length - 1) < 0 && (t3 = 0), i3 = true === i3; let g, f = true, T = 0, y = [], S = -1; const A = []; try { - for (c = new a.runtime.ANTLRStringStream(d), p = new s(c), p.displayRecognitionError = function(e4, t4) { + for (d = new a.runtime.ANTLRStringStream(c), p = new s(d), p.displayRecognitionError = function(e4, t4) { }, _ = new a.runtime.CommonTokenStream(p), h = _.getTokens(), m = h ? h.length : 0; T < m; ) { switch (g = u(h, m, T), g.tokenType) { case l.COMMA: @@ -15901,7 +17183,7 @@ var require_scripting_bundle = __commonJS({ } catch (e4) { console.error(e4); } finally { - c = void 0, p.displayRecognitionError = void 0, p = void 0, _ = void 0; + d = void 0, p.displayRecognitionError = void 0, p = void 0, _ = void 0; } return y; }; @@ -15911,6 +17193,56 @@ var require_scripting_bundle = __commonJS({ const n3 = e3[i3]; return { token: n3, tokenType: n3.getType(), tokenPos: n3.start }; } + }, 11374: (e2, t2, i2) => { + "use strict"; + var n2, r2; + Object.defineProperty(t2, "__esModule", { value: true }); + const o = i2(31635), a = o.__importDefault(i2(8855)), s = o.__importStar(i2(74731)), l = i2(19596), u = i2(80295), c = i2(80295); + class d extends l.DataContract { + constructor(e3) { + super(e3), (0, c.makeUnenumerable)(this, "_isAvailable"), (0, c.makeUnenumerable)(this, "_value"), (0, c.makeUnenumerable)(this, "_flowTypes"); + } + get isAvailable() { + return this._isAvailable; + } + set isAvailable(e3) { + this._isAvailable = e3; + } + get value() { + return this._value; + } + set value(e3) { + this._value = this.reviveItem(e3, a.default); + } + get flowTypes() { + return this._flowTypes; + } + set flowTypes(e3) { + s.expandLimitFlowTypeMapAsync(null != e3 ? e3 : {}, (e4) => { + const t3 = {}; + Object.entries(e4).forEach(([e5, i3]) => { + t3[e5] = this.reviveItem(i3, d); + }), this._flowTypes = t3; + }); + } + getIntValue(e3, t3) { + var i3; + if (!this.isAvailable) return e3; + const n3 = null === (i3 = this._resolveCondition(t3).value) || void 0 === i3 ? void 0 : i3.integerValue; + return "number" == typeof n3 && Number.isFinite(n3) ? n3 : e3; + } + getStrValue(e3, t3) { + var i3; + if (!this.isAvailable) return e3; + const n3 = null === (i3 = this._resolveCondition(t3).value) || void 0 === i3 ? void 0 : i3.stringValue; + return "string" == typeof n3 ? n3 : e3; + } + _resolveCondition(e3) { + var t3, i3; + return e3 && (null === (i3 = null === (t3 = this._flowTypes) || void 0 === t3 ? void 0 : t3[e3]) || void 0 === i3 ? void 0 : i3.isAvailable) ? this._flowTypes[e3] : this; + } + } + t2.default = d, o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Boolean])], d.prototype, "isAvailable", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== a.default && a.default) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== a.default && a.default) ? r2 : Object])], d.prototype, "value", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "flowTypes", null); }, 11384: (e2, t2, i2) => { function n2() { n2.baseConstructor.apply(this, arguments); @@ -15939,21 +17271,21 @@ var require_scripting_bundle = __commonJS({ return e3; }; Object.defineProperty(t2, "__esModule", { value: true }), t2.zip = void 0; - var o = i2(48051), a = i2(19724), s = i2(7652), l = i2(44885), u = i2(17214), d = i2(26404); + var o = i2(48051), a = i2(19724), s = i2(7652), l = i2(44885), u = i2(17214), c = i2(26404); t2.zip = function() { for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = d.popResultSelector(e3), c = s.argsOrArgArray(e3); - return c.length ? new o.Observable(function(e4) { - var t4 = c.map(function() { + var i3 = c.popResultSelector(e3), d = s.argsOrArgArray(e3); + return d.length ? new o.Observable(function(e4) { + var t4 = d.map(function() { return []; - }), o2 = c.map(function() { + }), o2 = d.map(function() { return false; }); e4.add(function() { t4 = o2 = null; }); for (var s2 = function(s3) { - a.innerFrom(c[s3]).subscribe(u.createOperatorSubscriber(e4, function(a2) { + a.innerFrom(d[s3]).subscribe(u.createOperatorSubscriber(e4, function(a2) { if (t4[s3].push(a2), t4.every(function(e5) { return e5.length; })) { @@ -15967,7 +17299,7 @@ var require_scripting_bundle = __commonJS({ }, function() { o2[s3] = true, !t4[s3].length && e4.complete(); })); - }, l2 = 0; !e4.closed && l2 < c.length; l2++) s2(l2); + }, l2 = 0; !e4.closed && l2 < d.length; l2++) s2(l2); return function() { t4 = o2 = null; }; @@ -16192,29 +17524,38 @@ var require_scripting_bundle = __commonJS({ }, 11929: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExternalContactPatchChangeList = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = i2(85047), a = i2(85047), s = i2(85047), l = i2(10231), u = i2(10231), d = n2.__importStar(i2(81116)), c = n2.__importStar(i2(8462)), p = i2(82632), _ = i2(44703), h = n2.__importDefault(i2(3785)), m = i2(47233), g = n2.__importDefault(i2(7401)), f = r2.getTopic("ExternalContactPatchChangeList"); - class T extends _.ExpressionContainer { + const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = i2(85047), a = i2(85047), s = i2(85047), l = i2(85047), u = i2(10231), c = i2(10231), d = n2.__importStar(i2(81116)), p = n2.__importStar(i2(8462)), _ = i2(82632), h = i2(44703), m = n2.__importDefault(i2(3785)), g = i2(47233), f = n2.__importDefault(i2(7401)), T = r2.getTopic("ExternalContactPatchChangeList"); + class y extends h.ExpressionContainer { constructor(e3, t3, i3, n3) { - super(e3.parentFlow, e3, t3, i3, n3), this.availableFields = [], this._initialize(); + super(e3.parentFlow, e3, t3, i3, n3), this.availableFieldGroups = [], this._initialize(); } get className() { return "ExternalContactPatchChangeList"; } + get isExternalContactPatchChangeList() { + return true; + } get hasMax() { - return this.items.length >= p.updateExternalContact.patchChanges.maxItems; + return this.items.length >= _.updateExternalContact.patchChanges.maxItems; + } + get availableFields() { + return this.availableFieldGroups.flatMap((e3) => { + const t3 = e3.childIds.filter((e4) => e4.childAddable).map((e4) => e4.id); + return e3.parentAddable ? [e3.id, ...t3] : t3; + }); } add(e3) { - return this.hasMax ? (f.warning("Attempted to add field but max items reached"), null) : super.add(e3); + return this.hasMax ? (T.warning("Attempted to add field but max items reached"), null) : super.add(e3); } orderChanged() { super.orderChanged(), this._updateAvailableFields(); } _updateAvailableFields() { - this.availableFields = (0, o.getAllExternalContactPatchFields)().filter((e3) => this._isUnusedField(e3)); + this.availableFieldGroups = Object.values((0, o.getAllExternalContactPatchFieldGroups)()).map((e3) => ({ id: e3.id, parentAddable: this._isUnusedField(e3.id), childIds: e3.childIds.map((e4) => ({ id: e4, childAddable: this._isUnusedField(e4) })) })); } addField(e3) { if (!this._isUnusedField(e3)) return null; - const t3 = new m.ExternalContactPatchChange(); + const t3 = new g.ExternalContactPatchChange(); return t3.field = e3, this.add(t3); } _isUnusedField(e3) { @@ -16238,20 +17579,22 @@ var require_scripting_bundle = __commonJS({ } createItem(e3) { var t3; - const i3 = (0, s.resolveExternalContactFieldType)(e3.field, this.parentFlow); + const i3 = (0, l.resolveExternalContactFieldType)(e3.field, this.parentFlow); if (!i3) return null; - e3.value || (e3.value = new g.default()); - const n3 = null !== (t3 = u.externalContactPatchConditions.find((t4) => t4.id === e3.condition)) && void 0 !== t3 ? t3 : l.defaultExternalContactPatchCondition; + e3.value || (e3.value = new f.default()); + const n3 = null !== (t3 = c.externalContactPatchConditions.find((t4) => t4.id === e3.condition)) && void 0 !== t3 ? t3 : u.defaultExternalContactPatchCondition; e3.condition = n3.id; const r3 = i3.isCollection && n3.requiresSingleItem ? i3.valueType.singletonType : i3.valueType, o2 = this._buildValueExpression(e3, i3.id, r3); - return new h.default(e3, o2, i3, n3, (t4) => this._buildValueExpression(e3, i3.id, t4)); + return new m.default(e3, o2, i3, n3, (t4) => this._buildValueExpression(e3, i3.id, t4)); } _buildValueExpression(e3, t3, i3) { - const n3 = c.buildOptions(i3, void 0, this.parentFlow); - return n3.setAsInput(), d.expression(this.parentFlow, this.parent, e3.value, t3, i3, void 0, n3); + const n3 = p.buildOptions(i3, void 0, this.parentFlow); + n3.setAsInput(); + const r3 = (0, s.getExternalContactPatchCollectionConstraints)(t3); + return r3 && i3.isCollection && (n3.setMinItems(r3.minItems), n3.setMaxItems(r3.maxItems)), d.expression(this.parentFlow, this.parent, e3.value, t3, i3, void 0, n3); } } - t2.ExternalContactPatchChangeList = T; + t2.ExternalContactPatchChangeList = y; }, 11934: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.never = t2.NEVER = void 0; @@ -16262,7 +17605,7 @@ var require_scripting_bundle = __commonJS({ }, 12033: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(41264)), o = n2.__importDefault(i2(75700)), a = n2.__importDefault(i2(67355)), s = n2.__importDefault(i2(6475)), l = n2.__importDefault(i2(80644)), u = n2.__importDefault(i2(38944)), d = n2.__importDefault(i2(88067)), c = n2.__importDefault(i2(20275)), p = n2.__importDefault(i2(98348)), _ = n2.__importDefault(i2(70728)), h = n2.__importDefault(i2(8081)), m = n2.__importDefault(i2(26461)), g = n2.__importDefault(i2(1667)), f = n2.__importDefault(i2(48659)), T = n2.__importDefault(i2(72183)), y = n2.__importDefault(i2(76217)), S = n2.__importDefault(i2(42150)), A = n2.__importDefault(i2(87644)), N = n2.__importDefault(i2(81912)), O = n2.__importDefault(i2(63417)), I = n2.__importDefault(i2(50565)), v = n2.__importDefault(i2(238)), C = n2.__importDefault(i2(1454)), b = n2.__importDefault(i2(33073)), E = n2.__importDefault(i2(57597)), R = n2.__importDefault(i2(10144)), w = n2.__importDefault(i2(3812)), D = n2.__importDefault(i2(72938)), P = n2.__importDefault(i2(37298)), M = n2.__importDefault(i2(17343)), F = n2.__importDefault(i2(60295)), L = n2.__importDefault(i2(96390)), x = n2.__importDefault(i2(54342)), k = n2.__importDefault(i2(97773)), V = n2.__importDefault(i2(77761)), U = n2.__importDefault(i2(11053)), B = n2.__importDefault(i2(57505)), G = n2.__importDefault(i2(8078)), j = n2.__importDefault(i2(86637)), W = n2.__importDefault(i2(81500)), q = n2.__importDefault(i2(79608)), Y = n2.__importDefault(i2(8229)), H = n2.__importDefault(i2(47577)), J = n2.__importDefault(i2(18187)), z = n2.__importDefault(i2(3931)), K = n2.__importDefault(i2(81167)), $ = n2.__importDefault(i2(32100)), Q = n2.__importDefault(i2(66816)), X = n2.__importDefault(i2(15390)), Z = n2.__importDefault(i2(75678)), ee = n2.__importDefault(i2(6440)), te = n2.__importDefault(i2(5868)), ie = n2.__importDefault(i2(93991)), ne = n2.__importDefault(i2(96815)), re = n2.__importDefault(i2(33965)), oe = n2.__importDefault(i2(2625)), ae = n2.__importDefault(i2(19071)), se = n2.__importDefault(i2(32967)), le = n2.__importDefault(i2(98368)), ue = n2.__importDefault(i2(57060)), de = n2.__importDefault(i2(75845)), ce = n2.__importDefault(i2(75705)), pe = n2.__importDefault(i2(22047)), _e = n2.__importDefault(i2(49895)), he = n2.__importDefault(i2(74085)), me = n2.__importDefault(i2(12345)), ge = n2.__importDefault(i2(33022)), fe = n2.__importDefault(i2(20254)), Te = n2.__importDefault(i2(26940)), ye = n2.__importDefault(i2(85080)), Se = n2.__importDefault(i2(56191)), Ae = n2.__importDefault(i2(15612)), Ne = n2.__importDefault(i2(50744)), Oe = n2.__importDefault(i2(70144)), Ie = n2.__importDefault(i2(19044)), ve = n2.__importDefault(i2(43368)), Ce = n2.__importDefault(i2(24844)), be = n2.__importDefault(i2(93899)), Ee = n2.__importDefault(i2(56795)), Re = n2.__importDefault(i2(32018)), we = n2.__importDefault(i2(93818)), De = n2.__importDefault(i2(6872)), Pe = n2.__importDefault(i2(4732)), Me = n2.__importDefault(i2(75992)), Fe = n2.__importDefault(i2(49872)), Le = n2.__importDefault(i2(90196)), xe = n2.__importDefault(i2(28689)), ke = n2.__importDefault(i2(89501)), Ve = n2.__importDefault(i2(72336)), Ue = n2.__importDefault(i2(95090)), Be = n2.__importDefault(i2(77114)), Ge = n2.__importDefault(i2(32624)), je = n2.__importDefault(i2(60628)), We = n2.__importDefault(i2(25420)), qe = n2.__importDefault(i2(2600)), Ye = n2.__importDefault(i2(14724)), He = n2.__importDefault(i2(33344)), Je = n2.__importDefault(i2(67477)), ze = n2.__importDefault(i2(12723)), Ke = n2.__importDefault(i2(54339)), $e = n2.__importDefault(i2(74260)), Qe = n2.__importDefault(i2(8016)), Xe = n2.__importDefault(i2(60140)), Ze = n2.__importDefault(i2(7848)), et = n2.__importDefault(i2(6854)), tt = n2.__importDefault(i2(93832)), it = n2.__importDefault(i2(87532)), nt = n2.__importDefault(i2(77697)), rt = n2.__importDefault(i2(71726)), ot = n2.__importDefault(i2(86167)), at = n2.__importDefault(i2(86591)), st = n2.__importDefault(i2(18710)), lt = n2.__importDefault(i2(87734)), ut = n2.__importDefault(i2(33534)), dt = n2.__importDefault(i2(39568)), ct = n2.__importDefault(i2(24027)), pt = n2.__importDefault(i2(85867)), _t = n2.__importDefault(i2(48179)), ht = n2.__importDefault(i2(675)), mt = n2.__importDefault(i2(51635)), gt = n2.__importDefault(i2(79183)), ft = n2.__importDefault(i2(31006)), Tt = n2.__importDefault(i2(21954)), yt = n2.__importDefault(i2(16714)), St = n2.__importDefault(i2(22685)), At = n2.__importDefault(i2(51441)), Nt = { ArchVariableAgentScorePair: r2.default, ArchVariableAgentScorePairCollection: o.default, ArchVariableCustomerIntent: a.default, ArchVariableCustomerIntentCollection: s.default, ArchVariableCustomerSegment: l.default, ArchVariableCustomerSegmentCollection: u.default, ArchVariableAssignedCustomerIntent: d.default, ArchVariableAssignedCustomerIntentCollection: c.default, ArchVariableAssignedCustomerSegment: p.default, ArchVariableAssignedCustomerSegmentCollection: _.default, ArchVariableBoolean: h.default, ArchVariableBooleanCollection: m.default, ArchVariableCard: g.default, ArchVariableCardCollection: f.default, ArchVariableCarousel: T.default, ArchVariableChoice: y.default, ArchVariableChoiceCollection: S.default, ArchVariableChooser: A.default, ArchVariableChooserCollection: N.default, ArchVariableCommunication: O.default, ArchVariableCommunicationCollection: I.default, ArchVariableCurrency: v.default, ArchVariableCurrencyCollection: C.default, ArchVariableDate: b.default, ArchVariableDateCollection: E.default, ArchVariableDateTime: R.default, ArchVariableDateTimeCollection: w.default, ArchVariableDecimal: D.default, ArchVariableDecimalCollection: P.default, ArchVariableDigitalAudio: M.default, ArchVariableDigitalAudioCollection: F.default, ArchVariableDivision: L.default, ArchVariableDivisionCollection: x.default, ArchVariableDuration: k.default, ArchVariableDurationCollection: V.default, ArchVariableEmailAddress: U.default, ArchVariableEmailAddressCollection: B.default, ArchVariableEmergencyGroup: G.default, ArchVariableEmergencyGroupCollection: j.default, ArchVariableExternalContact: W.default, ArchVariableExternalContactCollection: q.default, ArchVariableExternalOrganization: Y.default, ArchVariableExternalOrganizationCollection: H.default, ArchVariableFile: J.default, ArchVariableFileCollection: z.default, ArchVariableFormInput: K.default, ArchVariableGrammar: $.default, ArchVariableGrammarCollection: Q.default, ArchVariableGroup: X.default, ArchVariableGroupCollection: Z.default, ArchVariableImage: ee.default, ArchVariableImageCollection: te.default, ArchVariableInteger: ie.default, ArchVariableIntegerCollection: ne.default, ArchVariableJourneyOutcome: re.default, ArchVariableJourneyOutcomeCollection: oe.default, ArchVariableJourneyOutcomeScore: ae.default, ArchVariableJourneyOutcomeScoreCollection: se.default, ArchVariableJourneySegment: le.default, ArchVariableJourneySegmentCollection: ue.default, ArchVariableJourneySession: de.default, ArchVariableJourneySessionCollection: ce.default, ArchVariableJson: pe.default, ArchVariableJsonCollection: _e.default, ArchVariableKnowledgeBaseDocument: he.default, ArchVariableKnowledgeBaseDocumentCollection: me.default, ArchVariableLanguageSkill: ge.default, ArchVariableLanguageSkillCollection: fe.default, ArchVariableLineItem: Te.default, ArchVariableLineItemCollection: ye.default, ArchVariableListPicker: Se.default, ArchVariableListPickerItem: Ae.default, ArchVariableListPickerItemCollection: Ne.default, ArchVariableListPickerSection: Oe.default, ArchVariableListPickerSectionCollection: Ie.default, ArchVariablePhoneNumber: ve.default, ArchVariablePhoneNumberCollection: Ce.default, ArchVariablePrompt: be.default, ArchVariablePromptCollection: Ee.default, ArchVariableQueue: Re.default, ArchVariableQueueCollection: we.default, ArchVariableQuickReplies: De.default, ArchVariableResponseAsset: Pe.default, ArchVariableResponseAssetCollection: Me.default, ArchVariableSchedule: Fe.default, ArchVariableScheduleCollection: Le.default, ArchVariableScheduleGroup: xe.default, ArchVariableScheduleGroupCollection: ke.default, ArchVariableShippingOption: Ue.default, ArchVariableShippingOptionCollection: Be.default, ArchVariableSettings: Ve.default, ArchVariableSkill: Ge.default, ArchVariableSkillCollection: je.default, ArchVariableString: We.default, ArchVariableStringCollection: qe.default, ArchVariableSurveyAnswerOption: Ye.default, ArchVariableSurveyAnswerOptionCollection: He.default, ArchVariableSurveyForm: Je.default, ArchVariableSurveyQuestion: ze.default, ArchVariableSurveyQuestionCollection: Ke.default, ArchVariableSurveyQuestionGroup: $e.default, ArchVariableSurveyQuestionGroupCollection: Qe.default, ArchVariableTime: Xe.default, ArchVariableTimeCollection: Ze.default, ArchVariableTimePicker: et.default, ArchVariableTimeslot: tt.default, ArchVariableTimeslotCollection: it.default, ArchVariableUser: nt.default, ArchVariableUserCollection: rt.default, ArchVariableUtilizationLabel: ot.default, ArchVariableUtilizationLabelCollection: at.default, ArchVariableVideo: st.default, ArchVariableVideoCollection: lt.default, ArchVariableVoiceSnippet: ut.default, ArchVariableWheelPicker: dt.default, ArchVariableWheelPickerItem: ct.default, ArchVariableWheelPickerItemCollection: pt.default, ArchVariableWorkbin: _t.default, ArchVariableWorkbinCollection: ht.default, ArchVariableWorkitem: mt.default, ArchVariableWorkitemEventData: gt.default, ArchVariableWorkitemEventRule: ft.default, ArchVariableWorktypeStatus: Tt.default, ArchVariableWorktypeStatusCollection: yt.default, ArchVariableWrapupCode: St.default, ArchVariableWrapupCodeCollection: At.default }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(41264)), o = n2.__importDefault(i2(75700)), a = n2.__importDefault(i2(67355)), s = n2.__importDefault(i2(6475)), l = n2.__importDefault(i2(80644)), u = n2.__importDefault(i2(38944)), c = n2.__importDefault(i2(88067)), d = n2.__importDefault(i2(20275)), p = n2.__importDefault(i2(98348)), _ = n2.__importDefault(i2(70728)), h = n2.__importDefault(i2(8081)), m = n2.__importDefault(i2(26461)), g = n2.__importDefault(i2(1667)), f = n2.__importDefault(i2(48659)), T = n2.__importDefault(i2(72183)), y = n2.__importDefault(i2(76217)), S = n2.__importDefault(i2(42150)), A = n2.__importDefault(i2(87644)), N = n2.__importDefault(i2(81912)), v = n2.__importDefault(i2(63417)), O = n2.__importDefault(i2(50565)), I = n2.__importDefault(i2(238)), C = n2.__importDefault(i2(1454)), b = n2.__importDefault(i2(33073)), E = n2.__importDefault(i2(57597)), w = n2.__importDefault(i2(10144)), R = n2.__importDefault(i2(3812)), D = n2.__importDefault(i2(72938)), P = n2.__importDefault(i2(37298)), M = n2.__importDefault(i2(17343)), F = n2.__importDefault(i2(60295)), L = n2.__importDefault(i2(96390)), x = n2.__importDefault(i2(54342)), k = n2.__importDefault(i2(97773)), V = n2.__importDefault(i2(77761)), U = n2.__importDefault(i2(11053)), B = n2.__importDefault(i2(57505)), G = n2.__importDefault(i2(8078)), j = n2.__importDefault(i2(86637)), W = n2.__importDefault(i2(81500)), q = n2.__importDefault(i2(57227)), Y = n2.__importDefault(i2(8229)), H = n2.__importDefault(i2(47577)), J = n2.__importDefault(i2(18187)), $ = n2.__importDefault(i2(3931)), z = n2.__importDefault(i2(81167)), K = n2.__importDefault(i2(32100)), Q = n2.__importDefault(i2(66816)), X = n2.__importDefault(i2(15390)), Z = n2.__importDefault(i2(75678)), ee = n2.__importDefault(i2(6440)), te = n2.__importDefault(i2(5868)), ie = n2.__importDefault(i2(93991)), ne = n2.__importDefault(i2(96815)), re = n2.__importDefault(i2(33965)), oe = n2.__importDefault(i2(2625)), ae = n2.__importDefault(i2(19071)), se = n2.__importDefault(i2(32967)), le = n2.__importDefault(i2(98368)), ue = n2.__importDefault(i2(57060)), ce = n2.__importDefault(i2(75845)), de = n2.__importDefault(i2(75705)), pe = n2.__importDefault(i2(22047)), _e = n2.__importDefault(i2(49895)), he = n2.__importDefault(i2(74085)), me = n2.__importDefault(i2(12345)), ge = n2.__importDefault(i2(33022)), fe = n2.__importDefault(i2(20254)), Te = n2.__importDefault(i2(26940)), ye = n2.__importDefault(i2(85080)), Se = n2.__importDefault(i2(56191)), Ae = n2.__importDefault(i2(15612)), Ne = n2.__importDefault(i2(50744)), ve = n2.__importDefault(i2(70144)), Oe = n2.__importDefault(i2(19044)), Ie = n2.__importDefault(i2(43368)), Ce = n2.__importDefault(i2(24844)), be = n2.__importDefault(i2(93899)), Ee = n2.__importDefault(i2(56795)), we = n2.__importDefault(i2(32018)), Re = n2.__importDefault(i2(93818)), De = n2.__importDefault(i2(6872)), Pe = n2.__importDefault(i2(4732)), Me = n2.__importDefault(i2(75992)), Fe = n2.__importDefault(i2(49872)), Le = n2.__importDefault(i2(90196)), xe = n2.__importDefault(i2(28689)), ke = n2.__importDefault(i2(89501)), Ve = n2.__importDefault(i2(72336)), Ue = n2.__importDefault(i2(95090)), Be = n2.__importDefault(i2(77114)), Ge = n2.__importDefault(i2(32624)), je = n2.__importDefault(i2(60628)), We = n2.__importDefault(i2(25420)), qe = n2.__importDefault(i2(57838)), Ye = n2.__importDefault(i2(14724)), He = n2.__importDefault(i2(33344)), Je = n2.__importDefault(i2(67477)), $e = n2.__importDefault(i2(12723)), ze = n2.__importDefault(i2(54339)), Ke = n2.__importDefault(i2(74260)), Qe = n2.__importDefault(i2(8016)), Xe = n2.__importDefault(i2(60140)), Ze = n2.__importDefault(i2(7848)), et = n2.__importDefault(i2(6854)), tt = n2.__importDefault(i2(93832)), it = n2.__importDefault(i2(87532)), nt = n2.__importDefault(i2(77697)), rt = n2.__importDefault(i2(71726)), ot = n2.__importDefault(i2(86167)), at = n2.__importDefault(i2(86591)), st = n2.__importDefault(i2(18710)), lt = n2.__importDefault(i2(87734)), ut = n2.__importDefault(i2(33534)), ct = n2.__importDefault(i2(39568)), dt = n2.__importDefault(i2(24027)), pt = n2.__importDefault(i2(85867)), _t = n2.__importDefault(i2(48179)), ht = n2.__importDefault(i2(675)), mt = n2.__importDefault(i2(51635)), gt = n2.__importDefault(i2(79183)), ft = n2.__importDefault(i2(31006)), Tt = n2.__importDefault(i2(21954)), yt = n2.__importDefault(i2(16714)), St = n2.__importDefault(i2(22685)), At = n2.__importDefault(i2(51441)), Nt = { ArchVariableAgentScorePair: r2.default, ArchVariableAgentScorePairCollection: o.default, ArchVariableCustomerIntent: a.default, ArchVariableCustomerIntentCollection: s.default, ArchVariableCustomerSegment: l.default, ArchVariableCustomerSegmentCollection: u.default, ArchVariableAssignedCustomerIntent: c.default, ArchVariableAssignedCustomerIntentCollection: d.default, ArchVariableAssignedCustomerSegment: p.default, ArchVariableAssignedCustomerSegmentCollection: _.default, ArchVariableBoolean: h.default, ArchVariableBooleanCollection: m.default, ArchVariableCard: g.default, ArchVariableCardCollection: f.default, ArchVariableCarousel: T.default, ArchVariableChoice: y.default, ArchVariableChoiceCollection: S.default, ArchVariableChooser: A.default, ArchVariableChooserCollection: N.default, ArchVariableCommunication: v.default, ArchVariableCommunicationCollection: O.default, ArchVariableCurrency: I.default, ArchVariableCurrencyCollection: C.default, ArchVariableDate: b.default, ArchVariableDateCollection: E.default, ArchVariableDateTime: w.default, ArchVariableDateTimeCollection: R.default, ArchVariableDecimal: D.default, ArchVariableDecimalCollection: P.default, ArchVariableDigitalAudio: M.default, ArchVariableDigitalAudioCollection: F.default, ArchVariableDivision: L.default, ArchVariableDivisionCollection: x.default, ArchVariableDuration: k.default, ArchVariableDurationCollection: V.default, ArchVariableEmailAddress: U.default, ArchVariableEmailAddressCollection: B.default, ArchVariableEmergencyGroup: G.default, ArchVariableEmergencyGroupCollection: j.default, ArchVariableExternalContact: W.default, ArchVariableExternalContactCollection: q.default, ArchVariableExternalOrganization: Y.default, ArchVariableExternalOrganizationCollection: H.default, ArchVariableFile: J.default, ArchVariableFileCollection: $.default, ArchVariableFormInput: z.default, ArchVariableGrammar: K.default, ArchVariableGrammarCollection: Q.default, ArchVariableGroup: X.default, ArchVariableGroupCollection: Z.default, ArchVariableImage: ee.default, ArchVariableImageCollection: te.default, ArchVariableInteger: ie.default, ArchVariableIntegerCollection: ne.default, ArchVariableJourneyOutcome: re.default, ArchVariableJourneyOutcomeCollection: oe.default, ArchVariableJourneyOutcomeScore: ae.default, ArchVariableJourneyOutcomeScoreCollection: se.default, ArchVariableJourneySegment: le.default, ArchVariableJourneySegmentCollection: ue.default, ArchVariableJourneySession: ce.default, ArchVariableJourneySessionCollection: de.default, ArchVariableJson: pe.default, ArchVariableJsonCollection: _e.default, ArchVariableKnowledgeBaseDocument: he.default, ArchVariableKnowledgeBaseDocumentCollection: me.default, ArchVariableLanguageSkill: ge.default, ArchVariableLanguageSkillCollection: fe.default, ArchVariableLineItem: Te.default, ArchVariableLineItemCollection: ye.default, ArchVariableListPicker: Se.default, ArchVariableListPickerItem: Ae.default, ArchVariableListPickerItemCollection: Ne.default, ArchVariableListPickerSection: ve.default, ArchVariableListPickerSectionCollection: Oe.default, ArchVariablePhoneNumber: Ie.default, ArchVariablePhoneNumberCollection: Ce.default, ArchVariablePrompt: be.default, ArchVariablePromptCollection: Ee.default, ArchVariableQueue: we.default, ArchVariableQueueCollection: Re.default, ArchVariableQuickReplies: De.default, ArchVariableResponseAsset: Pe.default, ArchVariableResponseAssetCollection: Me.default, ArchVariableSchedule: Fe.default, ArchVariableScheduleCollection: Le.default, ArchVariableScheduleGroup: xe.default, ArchVariableScheduleGroupCollection: ke.default, ArchVariableShippingOption: Ue.default, ArchVariableShippingOptionCollection: Be.default, ArchVariableSettings: Ve.default, ArchVariableSkill: Ge.default, ArchVariableSkillCollection: je.default, ArchVariableString: We.default, ArchVariableStringCollection: qe.default, ArchVariableSurveyAnswerOption: Ye.default, ArchVariableSurveyAnswerOptionCollection: He.default, ArchVariableSurveyForm: Je.default, ArchVariableSurveyQuestion: $e.default, ArchVariableSurveyQuestionCollection: ze.default, ArchVariableSurveyQuestionGroup: Ke.default, ArchVariableSurveyQuestionGroupCollection: Qe.default, ArchVariableTime: Xe.default, ArchVariableTimeCollection: Ze.default, ArchVariableTimePicker: et.default, ArchVariableTimeslot: tt.default, ArchVariableTimeslotCollection: it.default, ArchVariableUser: nt.default, ArchVariableUserCollection: rt.default, ArchVariableUtilizationLabel: ot.default, ArchVariableUtilizationLabelCollection: at.default, ArchVariableVideo: st.default, ArchVariableVideoCollection: lt.default, ArchVariableVoiceSnippet: ut.default, ArchVariableWheelPicker: ct.default, ArchVariableWheelPickerItem: dt.default, ArchVariableWheelPickerItemCollection: pt.default, ArchVariableWorkbin: _t.default, ArchVariableWorkbinCollection: ht.default, ArchVariableWorkitem: mt.default, ArchVariableWorkitemEventData: gt.default, ArchVariableWorkitemEventRule: ft.default, ArchVariableWorktypeStatus: Tt.default, ArchVariableWorktypeStatusCollection: yt.default, ArchVariableWrapupCode: St.default, ArchVariableWrapupCodeCollection: At.default }; t2.default = Nt; }, 12044: (e2, t2, i2) => { const n2 = i2(59865), r2 = i2(7401), { lexV2ActionType: o } = i2(30801), a = i2(42217); @@ -16292,10 +17635,10 @@ var require_scripting_bundle = __commonJS({ }, 12138: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(73198)), o = i2(52023), a = i2(9456), s = i2(55909), l = i2(33951), u = n2.__importDefault(i2(92140)), d = "AsyncOperationInfo"; + const n2 = i2(31635), r2 = n2.__importDefault(i2(73198)), o = i2(52023), a = i2(9456), s = i2(55909), l = i2(33951), u = n2.__importDefault(i2(92140)), c = "AsyncOperationInfo"; t2.default = class { - constructor(e3, t3, i3, n3, c) { - l.ParameterValidator.expectString(e3, () => s.ParameterInfo.createConstructorParameter(d, "subscriberId")), l.ParameterValidator.expectArrayOrString(t3, () => s.ParameterInfo.createConstructorParameter(d, "subscriptionTopics")), l.ParameterValidator.expectObject(i3, () => s.ParameterInfo.createConstructorParameter(d, "logTopic")), n3 && (l.ParameterValidator.expectFunction(n3, () => s.ParameterInfo.createConstructorParameter(d, "stateChangedCallBack")), l.ParameterValidator.expectObject(c, () => s.ParameterInfo.createConstructorParameter(d, "operationManager"))), this._subscriberId = e3 + "_" + (0, a.uuid)(), this._subscriptionTopics = t3, this._logTopic = i3, u.default.isFunction(n3) && (this._stateChangedCallBack = n3.bind(c, this)), this._deferredOperation = new o.PromiseDefer(), this._abandonProcessingTimeoutMS = 180 * r2.default.msPerSecond, this._emergencyPollingTimeoutMS = 30 * r2.default.msPerSecond, this._emergencyPollingRetryTimeoutMS = 10 * r2.default.msPerSecond, this._staleNotificationTimeMS = 10 * r2.default.msPerSecond, this._emergencyRequestPending = false, this._retryEmergencyPollOn404 = false, this._operationStillInProgress = true; + constructor(e3, t3, i3, n3, d) { + l.ParameterValidator.expectString(e3, () => s.ParameterInfo.createConstructorParameter(c, "subscriberId")), l.ParameterValidator.expectArrayOrString(t3, () => s.ParameterInfo.createConstructorParameter(c, "subscriptionTopics")), l.ParameterValidator.expectObject(i3, () => s.ParameterInfo.createConstructorParameter(c, "logTopic")), n3 && (l.ParameterValidator.expectFunction(n3, () => s.ParameterInfo.createConstructorParameter(c, "stateChangedCallBack")), l.ParameterValidator.expectObject(d, () => s.ParameterInfo.createConstructorParameter(c, "operationManager"))), this._subscriberId = e3 + "_" + (0, a.uuid)(), this._subscriptionTopics = t3, this._logTopic = i3, u.default.isFunction(n3) && (this._stateChangedCallBack = n3.bind(d, this)), this._deferredOperation = new o.PromiseDefer(), this._abandonProcessingTimeoutMS = 180 * r2.default.msPerSecond, this._emergencyPollingTimeoutMS = 30 * r2.default.msPerSecond, this._emergencyPollingRetryTimeoutMS = 10 * r2.default.msPerSecond, this._staleNotificationTimeMS = 10 * r2.default.msPerSecond, this._emergencyRequestPending = false, this._retryEmergencyPollOn404 = false, this._operationStillInProgress = true; } get firstOperationId() { return this._firstOperationId; @@ -16411,18 +17754,29 @@ var require_scripting_bundle = __commonJS({ } } t2.default = s; - }, 12179: (e2, t2) => { + }, 12179: (e2, t2, i2) => { "use strict"; - function i2(e3) { - return `https://help.genesys.cloud/redirect/${encodeURIComponent(e3 || "en-us")}`; - } - Object.defineProperty(t2, "__esModule", { value: true }), t2.helpTopics = t2.statusUrl = t2.orchestratorsUrl = t2.educationUrl = t2.communityUrl = void 0, t2.getHelpUrlRoot = i2, t2.getArchitectHelpPrefix = function(e3) { - return `${i2(e3)}/architect`; - }, t2.getSystemArticlePrefix = function(e3) { - return `${i2(e3)}/articles`; + Object.defineProperty(t2, "__esModule", { value: true }), t2.helpTopics = t2.statusUrl = t2.orchestratorsUrl = t2.educationUrl = t2.communityUrl = void 0, t2.getHelpLanguage = r2, t2.getHelpUrlRoot = o, t2.getArchitectHelpPrefix = a, t2.getSystemArticlePrefix = s, t2.getExternalHelpUrl = function(e3) { + return e3 || (e3 = "main"), e3 === t2.helpTopics.articles.resourceCenter ? o(r2()) : `${a(r2())}/${e3}`; + }, t2.getHelpSystemArticleUrl = function(e3) { + return e3 ? `${s(r2())}/${e3}` : o(r2()); }, t2.hasHelpTopic = function(e3) { return null == e3 ? void 0 : e3.helpTopic; - }, t2.communityUrl = "https://community.genesys.com/home", t2.educationUrl = "https://education.genesys.com/explore/home", t2.orchestratorsUrl = "https://orchestrators.genesys.com", t2.statusUrl = "https://status.mypurecloud.com", t2.helpTopics = { deletePrompt: "prompt/deletePrompt", deprecatedVariableUsages: "flow/deprecatedVariableUsages", flowInsights: "flow/insights", main: "main", overviewDependencies: "main/advancedFlowSearch", aboutArchitect: "about", overviewGrammar: "main/grammar", overviewPrompts: "prompt/prompts", promptPreview: "prompts/preview", builders: { audio: "builder/audio", boolean: "builder/boolean", builder: "modal/builder", communication: "builder/communication", image: "builder/image", string: "builder/string" }, modals: { addGrammarForBotFlow: "modal/addGrammarForBotFlow", audioUpload: "modal/audioUpload", bulkAudio: "modal/prompt/bulkUpload", bulkAudioAdd: "modal/prompt/bulkUploadAdd", bulkFlowOperation: "modal/flow/bulkOperations", codeEditor: "modal/codeEditor", createFlow: "modal/flow/new", deleteFlow: "modal/flow/delete", deleteGrammar: "modal/deletegrammar", flowVersions: "modal/flow/versions", importFlow: "modal/flow/import", importPrompts: "modal/prompt/import", largeExpressionEditor: "modal/flow/expressionEditor", listPickerSections: "modal/listPickerSections", literalJsonEditor: "modal/flow/jsonEditor", outputPaths: "modal/outputPaths", setAudioSequence: "modal/setAudioSequence", usages: "modal/usages" }, treeNodes: { botFlowSettings: "settings/botFlow", commonModuleSettings: "settings/commonModule", dataView: "settings/data", defaultActionSettings: "settings/actionDefaults", dependencies: "settings/dependencies", emailSendSettings: "settings/emailSend", eventHandling: "setting/eventHandling", flowSize: "settings/flowSize", inboundEmailSettings: "settings/inboundEmail", inQueueCallFlowSettings: "settings/inqueueCall", knowledge: "settings/knowledge", menuSettings: "settings/menu", outboundCallSettings: "settings/outboundCall", promptsView: "settings/prompts", speechRecConfig: "settings/speechRec", speechRecConfigVoiceSurvey: "settings/voiceSurvey/speechRec", supportedLanguages: "settings/languages", userInputSettings: "settings/userInput", userInputSettingsVoiceSurvey: "settings/voiceSurvey/userInput", virtualAgentSettings: "settings/virtualAgent", voiceSurveyFlowSettings: "settings/voiceSurvey", workitemFlowSettings: "settings/workitem", startingMenu: "settings/startingMenu", startingTask: "settings/startingTask", intentsSettings: "settings/intents", slotTypeSettings: "settings/slotTypes", learningSettings: "settings/learning", utteranceHistory: "settings/utteranceHistory", utterances: "settings/utterances", optimizationDashboard: "analytics/optimizationDashboard", intentMiner: "analytics/intentMiner", journeyFlows: "analytics/journeyFlows" }, actions: { abortSend: "action/abortSend", abortSurvey: "action/abortSurvey", addFlowMilestone: "action/addFlowMilestone", askForAuthentication: "action/askForAuthentication", askForBoolean: "action/askForBoolean", askForNextIntentLoop: "action/askForNextIntent", askForNLUIntent: "action/askForNLUIntent", askForPayment: "action/askForPayment", askForSlot: "action/askForSlot", askSurveyQuestion: "action/askSurveyQuestion", audioMonitoring: "action/audioMonitoring", botConnector: "action/botConnector", bridgeServer: "about", callAgenticVirtualAgent: "action/callAgenticVirtualAgent", callAudioConnector: "action/data/callAudioConnector", callBotFlow: "action/callBotFlow", callCommonModule: "action/callCommonModule", callDecisionTable: "action/data/callDecisionTable", callDigitalBotConnector: "action/callDigitalBotConnector", callDigitalBotFlow: "action/callDigitalBotFlow", callGuide: "action/callGuide", callTask: "action/callTask", callVoiceFlow: "action/callVoiceFlow", changeState: "action/changeState", clearActiveIntent: "action/clearActiveIntent", clearPostFlow: "action/clearPostFlow", clearSlot: "action/clearSlot", clearUtilizationLabel: "action/clearUtilizationLabel", clearVoicemailSnippet: "action/clearVoicemailSnippet", collectInput: "action/data/collectInput", collectVoiceSnippet: "action/collectVoiceSnippet", communicate: "action/communicate", completeSend: "action/completeSend", completeSurvey: "action/completeSurvey", createCallback: "action/data/createCallback", createConversationAttribute: "action/createConversationAttribute", data: "action/data/callData", dataTableLookup: "action/data/dataTableLookup", decision: "action/decision", decryptData: "action/decrypt", deflect: "action/deflect", detectIntent: "action/data/detectIntent", detectSilence: "action/detectSilence", dialExtension: "action/dialExtension", dialName: "about", dialogEngine: "action/dialogEngine", dialogflow: "action/dialogflow", dialogflowCx: "action/data/dialogflowCx", digitalMenu: "action/digitalMenu", disconnect: "action/disconnect", disconnectWorkitem: "action/disconnectWorkitem", encryptData: "action/encrypt", endState: "action/endStateAction", endTask: "action/endTask", endWorkflow: "action/endWorkflowAction", evaluateSchedule: "action/data/evaluateSchedule", evaluateScheduleGroup: "action/data/evaluateScheduleGroup", evaluateSkillExpressionFilters: "action/evaluateSkillExpressionFilters", exitBotFlow: "action/exitBotFlow", exitLoop: "action/exitLoop", exitWorkitemFlow: "action/exitWorkitemFlow", extractSecureData: "action/extractSecureData", findDivision: "action/findDivision", findDivisions: "action/findDivisions", findEmergencyGroup: "action/findEmergencyGroup", findGrammar: "action/findGrammar", findGrammarById: "action/findGrammarById", findGroup: "action/findGroup", findKnowledgeBaseDocumentById: "action/findKnowledgeBaseDocumentById", findLanguageSkill: "action/findLanguageSkill", findQueue: "action/findQueue", findQueueById: "action/findQueueById", findSchedule: "action/findSchedule", findScheduleGroup: "action/findScheduleGroup", findSkill: "action/findSkill", findSystemPrompt: "action/findSystemPrompt", findUser: "action/findUser", findUserById: "action/findUserById", findUserPrompt: "action/findUserPrompt", findUsersById: "action/findUsersById", findUtilizationLabel: "action/findUtilizationLabel", form: "action/form", flushAudio: "action/flushAudio", getAssignedCustomerIntents: "action/data/getAssignedCustomerIntents", getAttributes: "action/data/getParticipant", getConversationAttribute: "action/getConversationAttribute", getConversationAttributes: "action/getConversationAttributes", getConversationData: "action/data/getConversation", getExternalContact: "action/data/getExternalContact", getExternalOrganization: "action/data/getExternalOrganization", getJourneyOutcome: "action/getJourneyOutcome", getJourneyOutcomeScoresBySession: "about", getJourneySegment: "action/getJourneySegment", getJourneySession: "action/getJourneySession", getJourneySessionsByCustomer: "about", getJourneySessionsByExternalContact: "about", getEmailHeaders: "action/getEmailHeaders", getRawSIPHeaders: "action/getRawSipHeaders", getResponse: "action/data/getResponse", getSecuredData: "action/getSecuredData", getSIPHeaders: "action/getSipHeaders", holdMusic: "action/holdMusic", initializeFlowOutcome: "action/flowOutcome/initialize", jumpToTask: "action/jumpToTask", lex: "action/data/lex", lexV2: "action/data/lexV2", loop: "action/loop", loopUntil: "action/loopUntil", menuJump: "action/menu/menuJump", nextLoop: "action/nextLoop", nuanceMix: "action/nuanceMix", participantRecord: "action/enableParticipantRecording", playAudio: "action/playAudio", playAudioOnSilence: "action/playAudioOnSilence", playEstimatedWaitTime: "action/playEstimatedWaitTime", playPositionInQueue: "action/playPositionInQueue", playUserGreeting: "action/playUserGreeting", playUserName: "action/playUserName", previousMenu: "action/menu/previousMenu", processVoicemailInput: "action/processVoicemailInput", promoteExternalContact: "action/data/promoteExternalContact", repeatMenu: "action/menu/repeatMenu", returnToAgent: "action/returnToAgent", screenPop: "action/data/screenPop", searchExternalContacts: "action/data/searchExternalContacts", secure: "action/data/secureUpdateData", sendAutoReply: "action/data/sendAutoReply", sendDigitalContent: "action/data/sendDigitalContent", sendInteractiveApplication: "action/sendInteractiveApplication", sendKnowledgeFeedback: "action/sendKnowledgeFeedback", sendNotification: "action/sendNotification", sendResponse: "action/data/sendResponse", sendRichLink: "action/sendRichLink", setActiveIntent: "action/setActiveIntent", setAttributes: "action/data/setParticipant", setConversationData: "action/data/setConversation", setExternalTag: "action/setExternalTag", setFlowOutcome: "action/flowOutcome/set", setLocale: "action/setLocale", setPostFlow: "action/SetPostFlowAction", setPriority: "action/setPriorityAction", setSecuredData: "action/setSecuredData", setSkillExpressionFilters: "action/setSkillExpressionFilters", setSkills: "action/setSkillsAction", clearSkillExpressionFilters: "action/clearSkillExpressionFilters", setUtilizationLabel: "action/setUtilizationLabelAction", setUUIData: "action/setUUIData", setWhisperAudio: "action/setWhisperAudio", setWrapupCode: "action/setWrapupCode", showKnowledgeArticle: "action/showKnowledgeArticle", subMenu: "action/menu/menu", submitVoicemailSnippet: "action/submitVoicemailSnippetAction", submitVoiceSnippet: "action/submitVoiceSnippetAction", switch: "action/switch", terminateWorkitem: "action/terminateWorkitem", transcription: "action/transcriptionAction", transferExternal: "action/transfer/external", transferFlow: "action/transfer/flow", transferFlowSecure: "action/transfer/secureFlow", transferGroup: "action/group", transferPureMatch: "action/transfer/acd", transferUser: "action/transfer/user", transferVoicemail: "action/transfer/voicemail", updateConversationAttribute: "action/updateConversationAttribute", updateExternalContact: "action/data/updateExternalContact", updateVariables: "action/data/update", updateWorkitem: "action/updateWorkitemAction", voiceBiometrics: "about", wait: "action/wait", waitForInput: "action/waitForInput" }, tasks: { botState: "flow/botTask", state: "flow/state", task: "flow/task" }, articles: { resourceCenter: "resourceCenter", accessibility: "articles/about-accessibility", aboutGenesysVirtualAgent: "article/aboutGenesysVirtualAgent", addFlowMilestone: "article/add-a-flow-milestone", addFlowOutcome: "article/add-a-flow-outcome", downloadArchitectFlowExamples: "article/downloadArchitectFlowExamples", genesysCloudTokensBasedPricingModel: "article/genesys-cloud-tokens-based-pricing-model", historicalExecutionDataOverview: "article/historicalExecutionDataOverview", setLogLevelFlowDefault: "article/manageHistoricalExecutionData", setLogLevelFlowSpecific: "article/manageExecutionDataAtTheFlowLevel", getStartedArchitectTutorial: "article/getStartedArchitectTutorial", regularExpressionQuickReference: "article/regular-expression-language-quick-reference", releaseNotes: "article/releaseNotes", ttsOverview: "article/ttsOverview", flowExecutionHistory: "article/flowExecutionHistory", customKnowledge: "control-knowledge-behavior-in-your-voice-or-digital-bot-flow", chatDeprecation: "announcements/deprecation-removal-of-acd-web-chat-version-2", decisionTableUsageFees: "article/rule-based-decision-pricing", flowsCallingFlows: "article/flows-calling-flows", sttEngineOverview: "article/sttEngineOverview" }, systemArticles: { privacyPolicy: "privacyPolicy" } }; + }; + const n2 = i2(74359); + function r2() { + return (0, n2.getCurrentLanguage)() || "en-us"; + } + function o(e3) { + return `https://help.genesys.cloud/redirect/${encodeURIComponent(e3 || "en-us")}`; + } + function a(e3) { + return `${o(e3)}/architect`; + } + function s(e3) { + return `${o(e3)}/articles`; + } + t2.communityUrl = "https://community.genesys.com/home", t2.educationUrl = "https://education.genesys.com/explore/home", t2.orchestratorsUrl = "https://orchestrators.genesys.com", t2.statusUrl = "https://status.mypurecloud.com", t2.helpTopics = { deletePrompt: "prompt/deletePrompt", deprecatedVariableUsages: "flow/deprecatedVariableUsages", flowInsights: "flow/insights", main: "main", overviewDependencies: "main/advancedFlowSearch", aboutArchitect: "about", overviewGrammar: "main/grammar", overviewPrompts: "prompt/prompts", promptPreview: "prompts/preview", builders: { audio: "builder/audio", boolean: "builder/boolean", builder: "modal/builder", communication: "builder/communication", image: "builder/image", string: "builder/string" }, modals: { addGrammarForBotFlow: "modal/addGrammarForBotFlow", audioUpload: "modal/audioUpload", bulkAudio: "modal/prompt/bulkUpload", bulkAudioAdd: "modal/prompt/bulkUploadAdd", bulkFlowOperation: "modal/flow/bulkOperations", codeEditor: "modal/codeEditor", createFlow: "modal/flow/new", deleteFlow: "modal/flow/delete", deleteGrammar: "modal/deletegrammar", flowVersions: "modal/flow/versions", importFlow: "modal/flow/import", importPrompts: "modal/prompt/import", largeExpressionEditor: "modal/flow/expressionEditor", listPickerSections: "modal/listPickerSections", literalJsonEditor: "modal/flow/jsonEditor", outputPaths: "modal/outputPaths", setAudioSequence: "modal/setAudioSequence", usages: "modal/usages" }, treeNodes: { botFlowSettings: "settings/botFlow", commonModuleSettings: "settings/commonModule", dataView: "settings/data", defaultActionSettings: "settings/actionDefaults", dependencies: "settings/dependencies", emailSendSettings: "settings/emailSend", eventHandling: "setting/eventHandling", flowSize: "settings/flowSize", inboundEmailSettings: "settings/inboundEmail", inQueueCallFlowSettings: "settings/inqueueCall", knowledge: "settings/knowledge", menuSettings: "settings/menu", outboundCallSettings: "settings/outboundCall", promptsView: "settings/prompts", speechRecConfig: "settings/speechRec", speechRecConfigVoiceSurvey: "settings/voiceSurvey/speechRec", supportedLanguages: "settings/languages", userInputSettings: "settings/userInput", userInputSettingsVoiceSurvey: "settings/voiceSurvey/userInput", virtualAgentSettings: "settings/virtualAgent", voiceSurveyFlowSettings: "settings/voiceSurvey", workitemFlowSettings: "settings/workitem", startingMenu: "settings/startingMenu", startingTask: "settings/startingTask", intentsSettings: "settings/intents", slotTypeSettings: "settings/slotTypes", learningSettings: "settings/learning", utteranceHistory: "settings/utteranceHistory", utterances: "settings/utterances", optimizationDashboard: "analytics/optimizationDashboard", intentMiner: "analytics/intentMiner", journeyFlows: "analytics/journeyFlows" }, actions: { abortSend: "action/abortSend", abortSurvey: "action/abortSurvey", addFlowMilestone: "action/addFlowMilestone", agenticAnythingElse: "action/agenticAnythingElse", agenticAskForIntent: "action/agenticAskForIntent", askForAuthentication: "action/askForAuthentication", askForBoolean: "action/askForBoolean", askForNextIntentLoop: "action/askForNextIntent", askForNLUIntent: "action/askForNLUIntent", askForPayment: "action/askForPayment", askForSlot: "action/askForSlot", askSurveyQuestion: "action/askSurveyQuestion", assignCustomerSegment: "action/data/assignCustomerSegment", audioMonitoring: "action/audioMonitoring", botConnector: "action/botConnector", bridgeServer: "about", callAgenticVirtualAgent: "action/callAgenticVirtualAgent", callAudioConnector: "action/data/callAudioConnector", callBotFlow: "action/callBotFlow", callCommonModule: "action/callCommonModule", callDecisionTable: "action/data/callDecisionTable", callDigitalBotConnector: "action/callDigitalBotConnector", callDigitalBotFlow: "action/callDigitalBotFlow", callGuide: "action/callGuide", callTask: "action/callTask", callVoiceFlow: "action/callVoiceFlow", changeState: "action/changeState", clearActiveIntent: "action/clearActiveIntent", clearPostFlow: "action/clearPostFlow", clearSlot: "action/clearSlot", clearUtilizationLabel: "action/clearUtilizationLabel", clearVoicemailSnippet: "action/clearVoicemailSnippet", collectInput: "action/data/collectInput", collectVoiceSnippet: "action/collectVoiceSnippet", communicate: "action/communicate", completeSend: "action/completeSend", completeSurvey: "action/completeSurvey", createCallback: "action/data/createCallback", createConversationAttribute: "action/createConversationAttribute", data: "action/data/callData", dataTableLookup: "action/data/dataTableLookup", decision: "action/decision", decryptData: "action/decrypt", deflect: "action/deflect", detectIntent: "action/data/detectIntent", detectSilence: "action/detectSilence", dialExtension: "action/dialExtension", dialName: "about", dialogEngine: "action/dialogEngine", dialogflow: "action/dialogflow", dialogflowCx: "action/data/dialogflowCx", digitalMenu: "action/digitalMenu", disconnect: "action/disconnect", disconnectWorkitem: "action/disconnectWorkitem", encryptData: "action/encrypt", endState: "action/endStateAction", endTask: "action/endTask", endWorkflow: "action/endWorkflowAction", evaluateSchedule: "action/data/evaluateSchedule", evaluateScheduleGroup: "action/data/evaluateScheduleGroup", evaluateSkillExpressionFilters: "action/evaluateSkillExpressionFilters", exitBotFlow: "action/exitBotFlow", exitLoop: "action/exitLoop", exitWorkitemFlow: "action/exitWorkitemFlow", extractSecureData: "action/extractSecureData", findDivision: "action/findDivision", findDivisions: "action/findDivisions", findEmergencyGroup: "action/findEmergencyGroup", findGrammar: "action/findGrammar", findGrammarById: "action/findGrammarById", findGroup: "action/findGroup", findKnowledgeBaseDocumentById: "action/findKnowledgeBaseDocumentById", findLanguageSkill: "action/findLanguageSkill", findQueue: "action/findQueue", findQueueById: "action/findQueueById", findSchedule: "action/findSchedule", findScheduleGroup: "action/findScheduleGroup", findSkill: "action/findSkill", findSystemPrompt: "action/findSystemPrompt", findUser: "action/findUser", findUserById: "action/findUserById", findUserPrompt: "action/findUserPrompt", findUsersById: "action/findUsersById", findUtilizationLabel: "action/findUtilizationLabel", form: "action/form", flushAudio: "action/flushAudio", getAssignedCustomerIntents: "action/data/getAssignedCustomerIntents", getAssignedCustomerSegments: "action/data/getAssignedCustomerSegments", getAttributes: "action/data/getParticipant", getConversationAttribute: "action/getConversationAttribute", getConversationAttributes: "action/getConversationAttributes", getConversationData: "action/data/getConversation", getExternalContact: "action/data/getExternalContact", getExternalOrganization: "action/data/getExternalOrganization", getJourneyOutcome: "action/getJourneyOutcome", getJourneyOutcomeScoresBySession: "about", getJourneySegment: "action/getJourneySegment", getJourneySession: "action/getJourneySession", getJourneySessionsByCustomer: "about", getJourneySessionsByExternalContact: "about", getEmailHeaders: "action/getEmailHeaders", getRawSIPHeaders: "action/getRawSipHeaders", getResponse: "action/data/getResponse", getSecuredData: "action/getSecuredData", getSIPHeaders: "action/getSipHeaders", holdMusic: "action/holdMusic", initializeFlowOutcome: "action/flowOutcome/initialize", jumpToTask: "action/jumpToTask", lex: "action/data/lex", lexV2: "action/data/lexV2", loop: "action/loop", loopUntil: "action/loopUntil", menuJump: "action/menu/menuJump", nextLoop: "action/nextLoop", nuanceMix: "action/nuanceMix", participantRecord: "action/enableParticipantRecording", playAudio: "action/playAudio", playAudioOnSilence: "action/playAudioOnSilence", playEstimatedWaitTime: "action/playEstimatedWaitTime", playPositionInQueue: "action/playPositionInQueue", playUserGreeting: "action/playUserGreeting", playUserName: "action/playUserName", previousMenu: "action/menu/previousMenu", processVoicemailInput: "action/processVoicemailInput", promoteExternalContact: "action/data/promoteExternalContact", repeatMenu: "action/menu/repeatMenu", returnToAgent: "action/returnToAgent", screenPop: "action/data/screenPop", searchExternalContacts: "action/data/searchExternalContacts", secure: "action/data/secureUpdateData", sendAutoReply: "action/data/sendAutoReply", sendDigitalContent: "action/data/sendDigitalContent", sendInteractiveApplication: "action/sendInteractiveApplication", sendKnowledgeFeedback: "action/sendKnowledgeFeedback", sendNotification: "action/sendNotification", sendResponse: "action/data/sendResponse", sendRichLink: "action/sendRichLink", setActiveIntent: "action/setActiveIntent", setAttributes: "action/data/setParticipant", setConversationData: "action/data/setConversation", setExternalTag: "action/setExternalTag", setFlowOutcome: "action/flowOutcome/set", setLocale: "action/setLocale", setPostFlow: "action/SetPostFlowAction", setPriority: "action/setPriorityAction", setSecuredData: "action/setSecuredData", setSkillExpressionFilters: "action/setSkillExpressionFilters", setSkills: "action/setSkillsAction", clearSkillExpressionFilters: "action/clearSkillExpressionFilters", setUtilizationLabel: "action/setUtilizationLabelAction", setUUIData: "action/setUUIData", setWhisperAudio: "action/setWhisperAudio", setWrapupCode: "action/setWrapupCode", showKnowledgeArticle: "action/showKnowledgeArticle", subMenu: "action/menu/menu", submitVoicemailSnippet: "action/submitVoicemailSnippetAction", submitVoiceSnippet: "action/submitVoiceSnippetAction", switch: "action/switch", terminateWorkitem: "action/terminateWorkitem", transcription: "action/transcriptionAction", transferExternal: "action/transfer/external", transferFlow: "action/transfer/flow", transferFlowSecure: "action/transfer/secureFlow", transferGroup: "action/group", transferPureMatch: "action/transfer/acd", transferUser: "action/transfer/user", transferVoicemail: "action/transfer/voicemail", updateConversationAttribute: "action/updateConversationAttribute", updateExternalContact: "action/data/updateExternalContact", updateVariables: "action/data/update", updateWorkitem: "action/updateWorkitemAction", voiceBiometrics: "about", wait: "action/wait", waitForInput: "action/waitForInput" }, tasks: { botState: "flow/botTask", state: "flow/state", task: "flow/task" }, articles: { resourceCenter: "resourceCenter", accessibility: "articles/about-accessibility", aboutGenesysVirtualAgent: "article/aboutGenesysVirtualAgent", addFlowMilestone: "article/add-a-flow-milestone", addFlowOutcome: "article/add-a-flow-outcome", downloadArchitectFlowExamples: "article/downloadArchitectFlowExamples", genesysCloudTokensBasedPricingModel: "article/genesys-cloud-tokens-based-pricing-model", historicalExecutionDataOverview: "article/historicalExecutionDataOverview", setLogLevelFlowDefault: "article/manageHistoricalExecutionData", setLogLevelFlowSpecific: "article/manageExecutionDataAtTheFlowLevel", getStartedArchitectTutorial: "article/getStartedArchitectTutorial", regularExpressionQuickReference: "article/regular-expression-language-quick-reference", releaseNotes: "article/releaseNotes", ttsOverview: "article/ttsOverview", flowExecutionHistory: "article/flowExecutionHistory", customKnowledge: "control-knowledge-behavior-in-your-voice-or-digital-bot-flow", chatDeprecation: "announcements/deprecation-removal-of-acd-web-chat-version-2", decisionTableUsageFees: "article/rule-based-decision-pricing", flowsCallingFlows: "article/flows-calling-flows", sttEngineOverview: "article/sttEngineOverview" }, systemArticles: { privacyPolicy: "privacyPolicy" } }; }, 12187: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.isIterable = void 0; @@ -16678,13 +18032,13 @@ var require_scripting_bundle = __commonJS({ }, 12361: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.agenticVirtualAgentManager = t2.AgenticVirtualAgentManager = void 0; - const n2 = i2(31635), r2 = i2(24032), o = n2.__importDefault(i2(3542)), a = i2(30801), s = i2(81801), l = n2.__importDefault(i2(47532)), u = n2.__importStar(i2(33577)), d = i2(32592), c = i2(47957), p = i2(27862); + const n2 = i2(31635), r2 = i2(24032), o = n2.__importDefault(i2(3542)), a = i2(30801), s = i2(81801), l = n2.__importDefault(i2(47532)), u = n2.__importStar(i2(33577)), c = i2(32592), d = i2(47957), p = i2(27862); class _ extends l.default { get dependencyType() { return p.AgenticVirtualAgent; } constructor() { - super(), this.topic = (0, r2.getTopic)("agenticVirtualAgentManager"), this._rawServerCache = {}, this.apiCallList = u.getAgenticVirtualAgents, this.apiCallSingle = u.getAgenticVirtualAgent, this.actionsForUsageSearch = [a.callAgenticVirtualAgentActionType], this.actionPropertyForUsageSearch = "agenticVirtualAgentSetting", this.defaultInputsWithNoValue = true, this.className = "AgenticVirtualAgentManager", this.defaultPageSize = 100, this.dependencyContext = c.agenticVirtualAgent.agenticVirtualAgent, this.searchField = "nameContains", this.searchWildcardSupport = false, this.sortOrder = "asc", this.suppressSearch = false, this.uiMetadataSectionName = "agenticVirtualAgents", this._initialize(); + super(), this.topic = (0, r2.getTopic)("agenticVirtualAgentManager"), this._rawServerCache = {}, this.apiCallList = u.getAgenticVirtualAgents, this.apiCallSingle = u.getAgenticVirtualAgent, this.actionsForUsageSearch = [a.callAgenticVirtualAgentActionType], this.actionPropertyForUsageSearch = "agenticVirtualAgentSetting", this.defaultInputsWithNoValue = true, this.className = "AgenticVirtualAgentManager", this.defaultPageSize = 100, this.dependencyContext = d.agenticVirtualAgent.agenticVirtualAgent, this.searchField = "nameContains", this.searchWildcardSupport = false, this.sortOrder = "asc", this.suppressSearch = false, this.uiMetadataSectionName = "agenticVirtualAgents", this._initialize(); } get requiredAuth() { return s.externalAuthorizations.authStrings.agenticVirtualAgentView; @@ -16693,7 +18047,7 @@ var require_scripting_bundle = __commonJS({ return o.default; } _createItemViewModel(e3) { - return new d.AgenticVirtualAgentViewModel(e3); + return new c.AgenticVirtualAgentViewModel(e3); } } t2.AgenticVirtualAgentManager = _, t2.agenticVirtualAgentManager = new _(); @@ -16747,7 +18101,7 @@ var require_scripting_bundle = __commonJS({ } i2(52722).extend(n2, "DialogEngineBot"), Object.defineProperties(n2.prototype, {}), e2.exports = n2; }, 12664: (e2) => { - e2.exports = { about: { additionalLicenseInfo: "Additional License Information", buildNumber: "( Build: # %1$s )", copyrightFormat: "Copyright \xA9 %1$s-%2$s %3$s", copyrightRightsReserved: "All rights reserved.", copyrightWarning: "Warning: this computer program is protected by copyright law and international treaties. Unauthorized reproduction or distribution of this program, or any portion of it, may result in severe civil and criminal penalties, and will be prosecuted to the maximum extent possible under the law.", licenseAntlr: "Uses ANTLR software ( http://antlr.org ) for expression text parsing support. ANTLR 3 License / BSD License", logoAlternateText: "Genesys logo", orgInfoLabel: "Organization Information", orgInfoCurrentLabel: "Current Organization", orgInfoHomeLabel: "Home Organization", orgInfoId: "Organization ID", orgInfoName: "Company Name", orgInfoShortName: "Short Name", permissionHeader: "Permission Information", title: "About Architect" }, action: { action: "Action", actionIsDeprecated: "The '%1$s' action is deprecated.", notSet: "There is no action specified", actionOutputPathsHeader: "Paths", actionType: "%1$s Action" }, actions: { actionWaitForInput: "Wait for Input", ask: "Ask", abortSend: "Abort Send", abortSendActionMessageSettingDescription: "A localized message to display to the sender explaining why the send is being aborted.", abortSendActionMessageSettingLabel: "Message", abortSendErrorEventMessageSettingLabel: "Abort Message", abortSendMessageSettingDefaultLabel: "Default Abort Message", abortSurvey: "Abort Survey", addFlowMilestone: "Add Flow Milestone", askAnythingElse: "Anything Else?", askForActionGeneric: "Ask For ...", askForAuthentication: "Ask to Authenticate", askForBoolean: "Ask for Yes / No", askForIntent: "Ask for Intent", askForNLUNextIntentAction: '"Anything Else?" Loop', askForPayment: "Ask for Payment", askForSlot: "Ask for Slot", askSurveyQuestion: "Ask Survey Question", audioMonitoring: "Audio Monitoring", botConnector: "Call Bot Connector", botState: "Bot", callAgenticVirtualAgent: "Call Agentic Virtual Agent", callAudioConnector: "Call Audio Connector", callBotFlow: "Call Bot Flow", callDecisionTable: "Call Decision Table", callDigitalBotFlow: "Call Digital Bot Flow", callGuide: "Call Guide", callBridgeAction: "Call Bridge Action", callCommonModule: "Call Common Module", callNuanceMixBot: "Call Nuance Mix Bot", callTask: "Call Task", callVoiceFlow: "Call Voice Flow", categoryEnd: "End", clearActiveIntent: "Clear Active Intent", clearPostFlow: "Clear Post-Flow", clearUtilizationLabel: "Clear Utilization Label", clearVoicemailSnippetActionLabel: "Clear Voicemail Snippet", common: "Common", communicate: "Communicate", completeSend: "Complete Send", conversation: "Conversation", createCallback: "Create Callback", createConversationAttribute: "Create Conversation Attribute", changeState: "Change State", completeSurvey: "Complete Survey", data: "Data", dataTableLookup: "Data Table Lookup", decision: "Decision", decryptData: "Decrypt Data", defaultActionSettings: "Default Action Settings", detectSilence: "Detect Silence", dial: "Dial", dialogEngine: "Call Dialog Engine Bot", dialogflow: "Call Dialogflow Bot", dialogflowCx: "Call Dialogflow CX Bot", digitalBotConnector: "Call Digital Bot Connector", digitalMenu: "Digital Menu", disconnect: "Disconnect", disconnectWorkitem: "Disconnect Workitem", email: "Email", enableParticipantRecording: "Enable Participant Recording", encryptData: "Encrypt Data", endState: "End State", endTask: "End Task", endWorkflow: "End Workflow", evaluateSchedule: "Evaluate Schedule", evaluateScheduleGroup: "Evaluate Schedule Group", evaluateSkillExpressionFilters: "Evaluate Skill Expression Filters", exitBotFlow: "Exit Bot Flow", exitLoop: "Exit Loop", exitWorkitemFlow: "Exit Workitem Flow", extractSecureData: "Extract Secure Data", external: "External Contacts", findDivision: "Find Division", findDivisions: "Find Divisions", findEmergencyGroupActionLabel: "Find Emergency Group", findGrammar: "Find Grammar", findGrammarById: "Find Grammar by ID", findGroup: "Find Group", findKnowledgeBaseDocumentById: "Find KnowledgeBaseDocument by ID", findLanguageSkill: "Find Language Skill", findQueue: "Find Queue", findQueueById: "Find Queue by ID", findSkill: "Find Skill", findUserPrompt: "Find User Prompt", findUtilizationLabel: "Find Utilization Label", findScheduleActionLabel: "Find Schedule", findScheduleGroupActionLabel: "Find Schedule Group", findSystemPrompt: "Find System Prompt", findUser: "Find User", findUserById: "Find User by ID", findUsersById: "Find Users by ID", flushAudio: "Flush Audio", form: "Form", getAssignedCustomerIntents: "Get Assigned Customer Intents", getAttributes: "Get Participant Data", getConversationAttribute: "Get Conversation Attribute", getConversationAttributes: "Get Conversation Attributes", getConversationData: "Get Conversation Data", getEmailHeaders: "Get Email Headers", getExternalContact: "Get External Contact", getExternalOrganization: "Get External Organization", getJourneyOutcome: "Get Journey Outcome", getJourneyOutcomeScoresBySession: "Get Journey Outcome Scores by Session", getJourneySegment: "Get Journey Segment", getJourneySession: "Get Journey Session", getJourneySessionsByCustomer: "Get Journey Sessions by Customer", getJourneySessionsByExternalContact: "Get Journey Sessions by External Contact", getJourneyOutcomeById: "Get Journey Outcome by ID", getRawSIPHeaders: "Get Raw SIP Headers", getResponse: "Get Response", getSecuredData: "Get Secured Data", getSIPHeaders: "Get SIP Headers", holdMusic: "Hold Music", initializeFlowOutcome: "Initialize Flow Outcome", collectInput: "Collect Input", processVoicemailInput: "Process Voicemail Input", collectVoiceSnippet: "Collect Voice Snippet", language: "Language", lex: "Call Lex Bot", lexV2: "Call Lex V2 Bot", logical: "Logical", loop: "Loop", loopUntil: "Loop Until", media: "Media", menu: "Menu", menuJump: "Jump to Menu", nextLoop: "Next Loop", playAudio: "Play Audio", playPositionInQueue: "Play Position In Queue", playAudioOnSilence: "Play Audio on Silence", playEstimatedWaitTime: "Play Estimated Wait Time", playUserGreeting: "Play User Greeting", playUserName: "Play User Name", previousMenu: "Previous Menu", promoteExternalContact: "Promote External Contact", repeatMenu: "Repeat Menu", returnToAgent: "Return To Agent", screenPop: "Set Screen Pop", searchExternalContacts: "Search External Contacts", send: "Send", sendAutoReply: "Send Auto Reply", sendDigitalContent: "Send Digital Content", sendInteractiveApplication: "Send Application", sendKnowledgeFeedback: "Send Knowledge Feedback", sendNotification: "Send Notification", sendResponse: "Send Response", sendRichLink: "Send Rich Link", setAttributes: "Set Participant Data", setConversationData: "Set Conversation Data", setExternalTag: "Set External Tag", setFlowOutcome: "Set Flow Outcome", setIntent: "Set Intent", setLocale: "Set Language", setPriority: "Set Priority", setPostFlow: "Set Post-Flow", setSecuredData: "Set Secured Data", setSkillExpressionFilters: "Set Skill Expression Filters", setSkills: "Set Skills", clearSkillExpressionFilters: "Clear Skill Expression Filters", setUtilizationLabel: "Set Utilization Label", setUUIData: "Set UUI Data", setWhisperAudio: "Set Whisper Audio", setWrapupCode: "Set Wrapup Code", showKnowledgeArticle: "Show Knowledge Article", state: "State", submitVoicemailSnippet: "Submit Voicemail Snippet", submitVoiceSnippet: "Submit Voice Snippet", surveyInvite: "Survey Invites", switch: "Switch", task: "Task", taskTransfer: "Jump to Reusable Task", terminateWorkitem: "Terminate Workitem", transcription: "Transcription", transfer: "Transfer", transfers: { acd: "Transfer to ACD", external: "Transfer to Number", flow: "Transfer to Flow", group: "Transfer to Group", secureFlow: "Transfer to Secure Flow", user: "Transfer to User", voicemail: "Transfer to Voicemail" }, updateConversationAttribute: "Update Conversation Attribute", updateExternalContact: "Update External Contact", updateVariables: "Update Data", updateWorkitem: "Update Workitem", secureAction: "Call Secure Data Action", dataAction: "Call Data Action", unknown: "Unknown", userInput: "User Input", voiceBiometrics: "Voice Biometrics", voiceProcessing: "Voice Processing", wait: "Wait", workitem: "Workitem" }, actionMenu: { actionMenuAriaLabel: "Action Menu", actionTypeMenuChoice: "Menu Action Type", actionTypeTask: "Task Action Type", childActions: "Child Actions", clearClipboard: "Clear Clipboard", collapse: "Collapse", copy: "Copy", cut: "Cut", expand: "Expand", source: "Source %1$s", noPastableObjects: "No objects on clipboard", pasteHeader: "Paste object", remove: "Remove from clipboard", type: "Type" }, admin: { adminOrganizationSettingsLabel: "Admin Organization Settings" }, agenticVirtualAgent: { agenticVirtualAgent: "Agentic Virtual Agent", agenticVirtualAgentBillingInfoNote: "For token-based pricing details on interactions with Agentic Virtual Agents, see the {{link.__GENESYS_CLOUD_TOKENS_BASED_PRICING_MODEL__, Resource Center}} documentation.", agenticVirtualAgentVersion: "Agentic Virtual Agent Version", agenticVirtualAgentExtraConfigInfoNote: "Extra configuration options are available within the Agentic Virtual Agent.", agenticVirtualAgentViewPermission: "You do not have permission to view Agentic Virtual Agents.", agenticVirtualAgentVersionViewPermission: "You do not have permission to view Agentic Virtual Agent version.", mustSelectAgenticVirtualAgent: "An Agentic Virtual Agent must be selected.", agenticVirtualAgentNotFound: "The selected Agentic Virtual Agent could not be found.", mustSelectAgenticVirtualAgentVersion: "An Agentic Virtual Agent Version must be selected.", agenticVirtualAgentVersionNotFound: "The selected Agentic Virtual Agent Version could not be found.", openAgenticVirtualAgentsInNewTab: "Open Agentic Virtual Agents in new tab", exitReasonDescription: "Indicates what caused the Agentic Virtual Agent to exit. See the Call Agentic Virtual Agent action help for more details on exit reason string values." }, alertService: { architectBusy: "Please wait, Architect is busy.", architectNewVersion: "A newer version of Architect is available. Please refresh the page to load the updated version." }, askCommon: { continuationReprompts: "Continuation Reprompts", continuationRepromptsDescription: "Additional wordings to use for continuation prompting during slot capture.", customizeContinuationPrompt: "Customize Continuation Prompt", customizeNoInput: "Customize No Input", customizeNoMatch: "Customize No Match", customValidation: { label: "Custom Validation", description: "If specified, this boolean expression lets you configure additional validation logic that when evaluated at runtime will be used to determine if the received value meets these additional requirements. If it evaluates to false or a NOT_SET boolean, the value is considered invalid.", noValue: "No custom input validation specified." }, defaultContinuationPrompt: "Default Continuation Prompt", defaultNoInput: "Default No Input", defaultNoMatch: "Default No Match", initialPlaybackDelay: "Initial Playback Delay", invalidResponse: "Invalid Response", minimumPlaybackTime: "Minimum Playback Time", noInput: "No Input", noInputDescription: "Wording the bot will use when no input is received. Remember that no input handling will use the wording configured in the No Input Apology setting in the No Inputs Detected section on the User Input Settings in this flow prior to playing this Communication.", noInputReprompts: "No Input Reprompts", noInputRepromptsDescription: "Additional wordings to use when no input is received. The length of the reprompt collection will override the max number of No Input retries defined at Settings > User Input > No Input Detected > Maximum Number of No Input Retries for that particular action. An empty collection will turn off No Input retries.", noMatch: "No Match", noMatchDescription: "Wording the bot will use when input is received but it is not a valid match. Remember that no match handling will use the wording configured in the No Match Apology setting in the No Matches Detected section on the User Input Settings in this flow prior to playing this Communication.", noMatchReprompts: "No Match Reprompts", noMatchRepromptsDescription: "Additional wordings to use when input is received but it is not a valid match. The length of the reprompt collection will override the max number of No Match retries defined at Settings > User Input > No Match Detected > Maximum Number of No Match Retries for that particular action. An empty collection will turn off No Match retries.", question: "Question", questionDescriptionWaitForInputAction: "Wording the bot will use prior to waiting for input from the external participant.", questionDescriptionAskActions: "Wording the bot will use when asking the question for the first time.", voiceProcessingPrompt: "Voice Processing Prompt", voiceProcessingPromptDescription: "This setting overrides the Voice Processing Prompt in Call Guides. If both are configured, this setting will be applied.", voiceEndOfInputTimeout: "Voice End of Input Timeout", voiceBargeInSettingLabel: "Voice Barge-in", voiceBargeInSettingTooltip: "When enabled, the external participant can interrupt audio while it is playing.", voiceEndOfInputTimeoutDescriptionAskActions: "Specifies the maximum length of time to pause after the user appears to have finished speaking. Too low of a value may cause user input to be truncated mid-sentence and too high of a value may cause some users to repeat themselves leading to recognition problems. If the Duration value is less than the minimum value, the minimum value will be used. If the value is greater than the maximum value, the maximum value will be used and if the value is a NOT_SET Duration, the default value will be used at runtime." }, askForAuthentication: { askForAuthSignInMessage: "Sign In Message", askForAuthSuccessMessage: "Success Message", askForAuthSignInMessageDefault: "Let's Sign In", askForAuthSuccessMessageDefault: "Sign In Completed", askForAuthChannelNote: "Ask to Authenticate is only available for Apple Messages for Business. Using it on other channels will take the failure path.", askForAuthCompletionTimeout: "Authentication Completion Timeout", askForAuthCompletionTimeoutDesc: "Once the authentication request has been sent, this is the maximum length of time to wait for the participant to complete the authentication. If the authentication is not completed within this time then a No Input event will be triggered." }, askForIntent: { knowledgeBaseMustBeSelectedWhenKnowledgePathEnabled: "The '%1$s' path cannot be used when there is no Knowledge Base configured for the bot's Knowledge settings.", knowledgeSettingMustBeSelectedWhenKnowledgePathEnabled: "The '%1$s' path cannot be used when there is no Knowledge Setting configured for the bot's Knowledge settings.", nluMustHaveOneIntent: "There must be at least one intent defined in the bot's Natural Language Understanding configuration if you want to ask for an intent.", mustEnableOneNluIntent: "When asking for an intent, you must enable at least one intent in this action's Paths setting. Bot intents are configured in the Natural Language Understanding configuration.", mustEnableOneNluIntentOrKnowledge: "You must enable at least one intent or the '%1$s' path in this action's Paths setting. Bot intents are configured in the Natural Language Understanding configuration." }, showKnowledgeBaseArticle: { knowledgeBaseArticleLabel: "Knowledge Base Article", showKnowledgeBaseArticleNote: "The available articles that can be shown come from the Knowledge Base configured in the '{{settings.__KNOWLEDGE__}}' settings for this flow.", showKnowledgeSettingArticleNote: "This action is unavailable for this knowledge type. Use session-level variables or answer controls instead." }, askForNLUNextIntentAction: { actionNameBegin: "Begin: %1$s", actionNameEnd: "End: %1$s", loopOutputPathReentryLabel: "Re-Entry" }, askForPayment: { askForPayCurrency: "Currency", askForPaymentCurrencyDesc: "Use the 3-letter currency code defined by the ISO 4217 standard (e.g., USD for US Dollar, EUR for Euro). In literal mode, this value changes the currency code of %1$s, %2$s and %3$s.", askForPayCountryCode: "Country Code", askForPaymentCountryCodeDesc: "Use the 2-letter country code defined by the ISO 3166 standard (e.g., US for United States, DE for Germany).", askForPaymentChannelNote: "Ask for Payment is currently only available for Apple Messages for Business.", askForPaymentReplyMessage: "Reply Message", askForPaymentPaymentPlatform: "Payment Platform", askForPaymentTotalPrice: "Total Price", askForPaymentTotalPriceDesc: "Enter the total amount for all items, including shipping. Must be a positive number greater than zero (e.g., 129.99).", addLineItemsButton: "Add items to set", noLineItemsDefined: "No items defined", askForPaymentLineItems: "Line Items", askForPaymentListingName: "Listing Name", askForPaymentListingNameDesc: "Enter the name or title of this item (e.g., Premium Support Package, Express Shipping).", askForPaymentListingPrice: "Listing Price", askForPaymentListingPriceDesc: "Enter the monetary amount for this item. Can be positive, negative, or zero (e.g., 49.99, -10.00, 0).", askForPaymentShippingOptions: "Shipping Options", askForPaymentShippingOptionLabel: "Label", askForPaymentShippingOptionLabelDesc: "Enter the user-facing name for this shipping method (e.g., In Store Pickup, USPS Priority Mail).", askForPaymentShippingOptionIdentifier: "Identifier", askForPaymentShippingOptionIdentifierDesc: "Enter a technical identifier for this shipping method (e.g., storePickup, uspsPriority).", askForPaymentShippingOptionDetails: "Shipping Details", askForPaymentShippingOptionDetailsDesc: "Provide additional details about this shipping method, such as estimated delivery time or special conditions (e.g., \u201CDelivered within 2-3 business days\u201D).", askForPaymentCompletionTimeout: "Payment Completion Timeout", askForPaymentCompletionTimeoutDesc: "Once the payment has been sent, this is the maximum length of time to wait for the participant to complete the payment. If the payment is not completed within this time then a No Input event will be triggered.", askForPaymentDuplicateIdentifiers: "Identifiers have to be unique", askForPaymentDuplicateContactInformationTypes: "Contact information types must be unique", askForPaymentCurrencyMismatch: "Currency codes must match the Currency Code settings. All price settings must use the same currency code.", askForPaymentContactInformation: "Contact Information", askForPaymentContactInformationDesc: "If specified, the customer contact fields required to complete the transaction.", askForPaymentContactInformationPlaceholder: "Select required contact information", askForPaymentContactInformationPhone: "Phone", applePay: "Apple Pay" }, askForSlot: { askForSlotInvalid: "Architect cannot look up the associated variable for the selected slot. Please reselect the slot.", confirmationMode: "Confirmation Mode", confirmationModeDescription: `This controls if the bot will confirm the slot value supplied by the participant is correct. If this setting evaluates to "%1$s" at runtime and the participant supplied value is valid, as per settings in the '%2$s' section, the bot will use the '%3$s' communication to confirm it with the participant.`, confirmationModes: { confirmationModeAlways: "Always", confirmationModeNever: "Never" }, confirmationModeUnavailableNote: "Slot confirmation is unavailable with multi-select slots", confirmationQuestion: "Confirmation Question", confirmationQuestionDescription: "Wording the bot will use to confirm the value supplied by the participant is correct. To access the value supplied by the participant in an expression, use the Slot. variable associated with the slot configured on this action.", confirmationQuestionDoesNotReferenceSlotVariable: "The slot confirmation question does not reference the slot variable '%1$s' which will hold the value the bot received. Typically, a bot will want to use the received slot value when confirming it with the participant.", confirmationModeNeverWithRangeValuesWarning: "'%1$s' has predefined values, and confirmation mode is set to 'Never'. Set to 'Always' to allow user correction on invalid inputs.", noSlotsAvailable: "No Slots Available", selectedSlotError: "There is no slot with the name '%1$s' in the Natural Language Understanding configuration.", selectSlot: "Select a Slot", slotName: "Slot", slotResult: "Slot Result", slotResultDescription: "The variable that holds the selected slot value. If already set, the bot will not ask for a value and execution will go to the next action.", noSlotSelected: "There is no slot selected.", verifyGroupingLabel: "Verification", continuationPromptGroupingLabel: "Continuation Prompt", repromptHandling: "Re-Prompt Handling", repromptHandlingOptions: { repromptHandlingOptionAIManaged: "AI managed", repromptHandlingOptionManuallyManaged: "Manual" }, continuationPrompt: "Prompt", continuationPromptDoesNotReferenceSlotVariable: "The continuation prompt does not reference the slot variable '%1$s' which will hold the value the bot received. Typically, a bot will want to use the received slot value on the continuation prompt.", tooManySkipChoicesError: "Cannot have more than one choice with command 'skip'. Found %1$s skip choices.", timePicker: "Time Picker" }, avaDebugger: { avaDebuggerToolSingular: "%1$s Tool", avaDebuggerToolPlural: "%1$s Tools", avaDebuggerErrorSingular: "%1$s Error", avaDebuggerErrorPlural: "%1$s Errors", avaDebuggerToolId: "Tool ID", avaDebuggerKnowledgeNoResponse: "No response was returned from the knowledge service.", avaDebuggerGuardrailTriggered: "Guardrail Triggered", avaDebuggerViolationLimit: "Violation limit" }, audio: { actionNotValidError: "Action (or action with current settings) not available for '%1$s' because that language does not support runtime data playback, which is required for '%2$s'", add: "Add", addAudio: "Add Audio", addBlank: "Add Blank Audio", addText: "Add Text", addTTS: "Add TTS", addData: "Add Data", addExpression: "Add Expression", addOther: "Add Other", addPrompt: "Add Prompt", addPromptToBegin: "Add a prompt to begin", addTitle: "Add new prompt", advancedAudioInUseSingle: "1 audio sequence is set", advancedAudioInError: "1 or more audio sequences are in error", advancedAudioInUse: "%1$s audio sequences are set", alternateSequences: "Alternate sequences", addAlternateSequence: "Add Alternate Sequence", enableAlternateSequence: "Enable alternate sequence for '%1$s'", disableAlternateSequence: "Disable alternate sequence", audioLabel: "Audio", audioSequenceTitle: "Audio Sequence", audioSequenceDropDownLabel: "Audio Sequence Editor", bargeInExpressionLabel: "Enable Barge-in", bargeInExpressionTooltip: "The Barge-in checkbox does not affect an audio sequence in custom expression mode. Use the AudioPlaybackOptions function in custom expression text to control barge behavior if needed.", blankAudioExpression: "Audio may not be blank", blankMainSeqError: "All alternate sequences must be enabled or main sequence must have items added", blankMainSeqWarning: "The main sequence has no sequence items defined", blankMainSeqWarningContext: "The main sequence for '%1$s' has no audio set", blankTTSWarning: "No text to speech value", browserPermission: "Please accept the request at the top of the browser to use the microphone.", browserPermissionDenied: "You must grant this site permissions to be able to record audio.", browserRecordingNotSupported: "Audio recording is not supported in this environment.", bulkImportInputLabel: "Audio wav files and CSV mapping file", bulkImportInputLabelNoAudio: "CSV file", bulkImportAudioInputLabel: "Audio wav files", bulkImportErrorTitle: "Import Error", bulkImportFail: "Failed to process the files for importing", bulkImportCsvMissingFieldOne: "The import CSV file is missing the required field '%1$s'", bulkImportParseError: "Failed with the following error:
%1$s", bulkImportParseError2: "Failed with the following errors:
%1$s", bulkImportTitle: "Import audio", bulkImportAudioTitle: "Add additional audio wav files", bulkImportWatermark: "Select files", cantPreview: "Audio file cannot be previewed", customAudioExpressionInUse: "Custom audio expression is set", customExpressionSwitch: "Switch to custom expression", defaultAudio: "Main Sequence", deleteButton: "Delete", deleteConfirmMultiple: "Are you sure you want to delete the %1$s selected prompts and their resources?", deleteConfirmSingle: 'Are you sure you want to delete the selected prompt named "%1$s" and its resources?', deleteTitle: "Delete selected prompts", downloadRecording: "Download recording", durationFormatLong: "%1$s seconds", editTitle: "Edit selected prompt", ensureAudioInPrompts: "Ensure all prompts have recorded audio", ensureAudioOrTTSInPrompts: "Ensure all prompts have recorded audio or text to speech", doNotValidateAudioMedia: "Do not validate prompt media", validatePromptLanguageMediaLabel: "Media Validation", enterTtsOrPrompt: "Enter text to speech or prompt", errorNoBlankAudioLength: "No blank audio duration selected", errorNoPrompt: "No prompt selected", errorNoVariable: "No variable selected", errorPromptCouldNotBeFound: "%1$s could not be found", errorInvalidVariable: "Invalid variable selected", errorMaxTtsLength: "The string length is %1$s characters, which exceeds the maximum allowed of %2$s for the text to speech engine '%3$s'.", errorMaxTtsLengthForPrompt: "The string length in the text to speech string on prompt '%1$s' (%2$s) is %3$s, which exceeds the maximum allowed of %4$s for the text to speech engine '%5$s'.", errorNoAudioPlaybackSupport: "Audio data playback is not supported for language %1$s", errorNoLanguageGenderSupport: "Language %1$s does not support gender playback options", errorNoLanguageCaseSupport: "Language %1$s does not support case playback options", errorNoTTSSupport: "Text to speech is not supported for language %1$s", errorNotValidTTS: "Language %1$s does not have a valid text to speech engine selected.", errorCommonModuleTTS: "Common Module '%1$s' uses text to speech in one or more languages that are disabled in this flow. Please assign text to speech engines to these languages in Supported Languages.", errorNoDataOptions: "No data playback options selected", failedToCreatePrompt: "Failed to create the prompt", failedToSavePrompt: "Failed to save the prompt", flushAudio: "Flush Audio", importTitle: "Import CSV data", languageButton: "Languages", languageColumns: "Visible Language Columns", languageColumnsWatermark: "Enter languages to display in grid", loadFailed: "Failed to load prompts", loadingPrompts: "Loading Prompts...", mainSequenceNote: "This sequence will never run because alternate sequences for each language are defined.", maxLanguagesSelected: "Maximum number of languages selected", multipleFileUploadContext: "Uploading %1$s files", nameError: "Prompt names can only contain letters, numbers, and underscores. They must start with a letter.", noPromptRecordedSystem: "There is no audio recorded for the system prompt '%1$s' in %2$s", noPromptRecordedUser: "There is no audio recorded for the user prompt '%1$s' in %2$s", previewHelpTooltip: "Click here if you are having trouble previewing audio", processingAudio: "Processing audio...", prompts: "Prompts", promptBeingUploadedSystem: "The system prompt '%1$s' is busy processing an upload for %2$s", promptBeingUploadedUser: "The user prompt '%1$s' is busy processing an upload for %2$s", promptTypeTooltip: "Prompt Type", promptMissingRequiredAudioError: "'%1$s' does not have audio for a language that does not support text to speech", promptNoAudioPopupError: "Missing supported language audio", promptMissingAudioError: "'%1$s' does not have audio for at least one supported language", promptNoAudioTtsError: "'%1$s' does not have audio or text to speech for at least one supported language", promptNoAudioTtsComplexError: "One or more prompts do not have audio or text to speech for at least one supported language", promptNoTtsOrTextError: "'%1$s' does not have text to speech or text specified for at least one supported language", promptSystem: "System Prompt", promptUser: "User Prompt", recordAudio: "Record Audio", recordStationLabel: "For station recording, receive call at:", recordTimer: "%1$s seconds", refreshNoPrompts: "There are no prompts", refreshNoResults: "There are no matching prompts", resetForLanguage: "Erase and reset sequence for this language", search: "Search prompts", selectMultipleFiles: "Select the CSV file and all audio files referenced in the CSV. Use the Control key when clicking (or the Command key in macOS) to select multiple files.

Audio files located in different folders can be added on the next screen if needed.", sequenceError: "Error in sequence item %1$s for %2$s", sequenceWarn: "Warning in sequence item %1$s for %2$s", sequenceMode: "Switch to sequence builder", sequenceOptions: "Sequence Options", sequenceTypeBlankLabel: "Blank", sequenceTypeBlankWatermark: "Select blank duration", sequenceTypeDataLabel: "Data", sequenceTypeDataWatermark: "Select variable", sequenceTypeDataOptionsWatermark: "Select Options", sequenceTypeExpressionLabel: "Expression", sequenceTypePromptLabel: "Prompt", sequenceTypePromptWatermark: "Select a prompt", sequenceTypeVoiceSnippetLabel: "Voice Snippet", sequenceTypeTtsLabel: "Text To Speech", sequenceTypeTtsWatermark: "Enter text to speech", sequenceWillNotPlay: "Will not play", startRecord: "Start Recording", stopRecord: "Stop Recording", switchToBuilderTitle: "Sequence Builder", switchToBuilderLosesChanges: "Switching to the sequence builder will discard any changes made in the custom expression.", tts: "TTS", ttsText: "TTS/Text", ttsConvertPopupText: "Create prompt from text to speech", transcodeFailed: "Server failed to process the upload for %1$s. Please try a different audio file and note that MP3 formatted files are not supported for audio upload.", typeNotRecognizedError: "Sequence item type not supported.", unavailableAudioOption: "Audio data option is unavailable because it requires a feature that is not available.", unavailableAudioOptionContext: "The option '%1$s' is unavailable because it requires a feature that is not available.", uploadLabel: "Audio file to import", uploadTitle: "Upload Audio", uploadWatermark: "Select audio file to import", warningAddNewSequenceItem: "Use the toolbar to add a new sequence item. Language sequences with no items will revert to the main sequence." }, audioFormats: { boolTrueFalse: "True / False", dateAndTime: "Date and time", durationExact: "Exact", durationExactDesc: "Exact value of the duration, no rounding", durationRoundUp: "Round Up", durationRoundUpDesc: "Round up to next 30 seconds, 1 minute, 2 minutes, 5 minutes or subsequent 5 minute intervals", durationRoundUp1: "Round Up (1 minute)", durationRoundUp1Desc: "Round up to the next 1 minute interval", durationRoundUp5: "Round Up (5 minutes)", durationRoundUp5Desc: "Round up to the next 5 minute interval", durationRoundUp10: "Round Up (10 minutes)", durationRoundUp10Desc: "Round up to the next 10 minute interval", durationRoundUp30: "Round Up (30 minutes)", durationRoundUp30Desc: "Round up to the next 30 minute interval", durationRoundUp60: "Round Up (1 hour)", durationRoundUp60Desc: "Round up to the next 1 hour interval", ordinal: "As ordinal", phoneNumberLocal: "Play as local", phoneNumberGlobal: "Play as global", phoneNumberAuto: "Play local for dialing code", phoneNumberLocalDesc: "Plays phone number in its local format", phoneNumberGlobalDesc: "Plays phone number in its global format", phoneNumberAutoDesc: "Plays phone number in local format if it matches the dialing code, otherwise global", percentage: "As percentage", percentage1: "As percentage, 1 decimal place", percentage2: "As percentage, 2 decimal places", playJsonData: "Play JSON data", precision0: "To 0 decimal places", precision1: "To 1 decimal place", precision2: "To 2 decimal places", precision3: "To 3 decimal places", precision4: "To 4 decimal places", precision5: "To 5 decimal places", precision6: "To 6 decimal places", precision7: "To 7 decimal places", precision8: "To 8 decimal places", stringPhoneNumber: "As phone number", stringTTS: "Text to speech", time: "Time", timeDesc: "Audio expressing time appropriate for the active language and region", wholeValue: "Entire value" }, audioMonitoringAction: { enableMonitoring: "Enable Monitoring", enableMonitoringDescription: "If true, audio monitoring will be enabled. If false or a NOT_SET Boolean, audio monitoring will be disabled." }, boolean: { disabled: "Disabled", enabled: "Enabled", true: "True", false: "False" }, bot: { followupResponseTimeoutLabel: "Follow-up Response Timeout", followupResponseTimeoutDescription: "If the bot needs to ask for follow-up information, this is how long to wait for the end user to send a reply. A NOT_SET, negative or 0 second Duration will be treated as immediate.", informationCouldNotBeLoaded: "There was an error loading bot information.", internalErrReferenceId: "There was an error retrieving the latest information about the selected %1$s. Please try validating again in a few minutes.", languageWarning: "The flow has supported languages that are unsupported by the selected %1$s, which supports %2$s. The Failure output will be taken if the flow is executing in a language not supported by the %1$s.", naturalLanguageUnderstanding: "Natural Language Understanding", insightsOptimizations: "Insights and Optimizations", nluConfigurationUnavailable: "Unable to obtain the Natural Language Understanding configuration data for the bot.", nluTrainingFailed: "Training failed for updates made to the Natural Language Understanding configuration. Please verify the Natural Language Understanding configuration is correct and retry the flow operation again.", noSupportedLanguages: "There are no Architect-supported languages configured on the selected %1$s.", sameNamedSlotsWithDifferentSlotTypes: "There are slots with matching names but different slot types in this bot flow's Natural Language Understanding configuration. Please change these slots to have unique names, as they will cause issues with auto-generated slot variables. Affected slot name is %1$s.", sameNamedSlotsWithDifferentSlotTypesMultiple: "There are slots with matching names but different slot types in this bot flow's Natural Language Understanding configuration. Please change these slots to have unique names, as they will cause issues with auto-generated slot variables. Affected slot names are %1$s.", unsupportedAISlotTypeError: "AI slot types are only available in Virtual Agent enabled flows.", whitespacePresentInSlotTypeValue: "The slot type list value of '%1$s' in '%2$s' contains leading or trailing whitespace. This may result in voice recognition failures during runtime." }, cannedResponses: { cannedResponseTypeFormDescription: "A form is a canned response whose response type is form.", cannedResponseTypeMessageTemplateDescription: "A message template is a canned response whose response type is message template." }, digitalBot: { intentNotMappedToTask: "One or more intent in this flow's '{{settings.__NATURAL_LANGUAGE_UNDERSTANDING__}}' configuration are not mapped to a reusable task.", intentMappedToInvalidTask: "One or more intent in this flow's '{{settings.__NATURAL_LANGUAGE_UNDERSTANDING__}}' configuration are mapped to a reusable task that does not exist." }, digitalBotConnector: { followupResponseTimeoutDescription: "If the bot needs to ask for follow up information, this will set the duration for how long to wait for the end user to send a reply. Examples of errors for timeout include submitting a NOT_SET, zero or negative duration." }, choice: { choiceButtonDuplicateNameError: "A button with name '%1$s' already exists", choiceButtonNoNameError: "Button %1$s does not have a name", choiceMenuLabelDescription: "If specified, the label supplies the text to use for the menu choice at flow runtime. For flows that support more than one language, the label setting should be used to supply localized text for the choice. If not specified or the calculated String value for the label setting is a NOT_SET or blank string, the button text will be used.", choiceMenuLabelLabel: "Label" }, integration: { name: "Integration" }, botConnector: { addSessionVariable: "Add Session Variable", botVersionNotFound: "The selected bot version could not be found.", digitalBotVersionNotFound: "The selected digital bot version could not be found.", botIntegration: "Bot Integration", digitalBotIntegration: "Digital Bot Integration", botVersion: "Bot Version", digitalBotVersion: "Digital Bot Version", botName: "Bot Name", digitalBotName: "Digital Bot Name", intents: "Intents", botConnectorIntegration: "Bot Connector Integration", botConnectorVersion: "Bot Connector Version", botConnector: "Bot Connector", digitalBotConnector: "Digital Bot Connector", digitalBotConnectorIntegration: "Digital Bot Connector Integration", digitalBotConnectorVersion: "Digital Bot Connector Version", botResponseTimeoutLabel: "Bot Response Timeout", botResponseTimeoutDescription: "The time allowed for a third-party bot to respond to webhook calls. Examples of errors for timeout include submitting a NOT_SET, zero or negative duration.", sessionTimeoutLabel: "Session Timeout", sessionTimeoutDescription: "Once the conversation is started, this is how long a conversation can remain open. Examples of errors for timeout include submitting a NOT_SET, zero or negative duration.", timeoutSettingsLabel: "Timeout settings", mustSelectBotIntegration: "A bot integration must be selected.", mustSelectDigitalBotIntegration: "A digital bot integration must be selected.", mustSelectBotName: "A bot name must be selected.", mustSelectDigitalBotName: "A digital bot name must be selected.", mustSelectBotVersion: "A bot version must be selected.", mustSelectDigitalBotVersion: "A digital bot version must be selected.", noSlots: "There are no slots defined for this intent.", savedVersionOfBotVersion: "Flow is referencing a cached version of this bot version. The bot version may be out of date or deleted.", secondaryHeaderForVersion: "(Version %1$s)", selectBotIntegration: "Select Bot Integration", selectDigitalBotIntegration: "Select Digital Bot Integration", selectBotName: "Select Bot Name", selectDigitalBotName: "Select Digital Bot Name", selectBotVersion: "Select Bot Version", selectDigitalBotVersion: "Select Digital Bot Version", sessionVariable: "Session Variable", sessionVariables: "Session Variables", unableToRetrieveBotIntegration: "Was unable to retrieve bot integration for selected bot.", unableToRetrieveBot: "Was unable to retrieve bot for selected version.", botIntegrationNotFound: "Selected bot integration could not be found", digitalBotIntegrationNotFound: "Selected digital bot integration could not be found", botNameNotFound: "Selected bot name could not be found", digitalBotNameNotFound: "Selected digital bot name could not be found", inputTextLabel: "Bot Input Text", inputTextDescription: "The text to send to the bot.", inputTextDescriptionForChat: "The text to send to the bot. This is usually only set when chaining bot actions." }, botGeneric: { botAddSessionVariableLabel: "Add Session Variable", botIntegrationLabel: "Bot Integration", botIntentsLabel: "Intents", botNameLabel: "Bot Name", selectedBotNameNotFound: "The selected bot name could not be found.", botVariablesLabel: "Bot Variables", botVariablesDescription: "Variables able to be used in the bot.", botVersionLabel: "Bot Version", botVersionNotFoundGeneric: "The selected bot version could not be found.", flowReferencingSavedVersionOfBot: "Flow is referencing a cached version of this bot. The bot may be out of date or deleted.", inputTextLabelGeneric: "Bot Input Text", inputTextDescriptionGeneric: "The text to send to the bot.", inputTextDescriptionForChat: "The text to send to the bot. This is usually only set when chaining bot actions.", mustSelectBotNameGeneric: "A bot name must be selected.", mustSelectBotVersion: "A bot version must be selected.", noSlotsForIntent: "There are no slots defined for this intent.", noBotVariables: "There are no bot variables defined for this bot.", selectedBotIntegrationNotFound: "The selected bot integration could not be found.", selectBotNameLabel: "Select Bot Name", selectBotVersionLabel: "Select Bot Version", sessionVariableLabel: "Session Variable", sessionVariablesLabel: "Session Variables", unableToRetrieveSelectedBotIntegration: "Unable to retrieve the bot integration for the selected bot.", unableToRetrieveSelectedBot: "Unable to retrieve the selected bot." }, nuanceMix: { channel: "Channel", channelDescription: "The channel type to pass to the Nuance bot, which can specialize parts of the bot's behavior", channelNotFound: "The selected channel could not be found.", noChannelsAvailable: "None of channels on the selected bot are available for this flow.", selectedChannelNotValid: "The '%1$s' channel exists on the selected bot, but is unavailable for this flow.", nuanceMixBot: "Nuance Mix Bot", nuanceMixIntegration: "Nuance Mix Integration", mustSelectNuanceMixBotIntegration: "A Nuance Mix integration must be selected.", externalDataTypeLabel: "Name: %1$s", externalComplexDataTypeLabel: "Object", externalDataTypeTitle: "Nuance Data Type", selectNuanceMixBotIntegration: "Select Nuance Mix Integration" }, blankAudio: { msContext: "%1$s ms", oneSecond: "1 second", secondsContext: "%1$s seconds", blankAudioLabel: "blank: %1$s" }, bridgeServer: { action: "Action", actionNotFound: "The selected Bridge action could not be found.", actionSchemasError: "Action success, failure, or output information could not be loaded.", category: "Category", bridgeAction: "Bridge Action", mustSelectAction: "A Bridge action must be selected.", noActionsAvailable: "There are no Architect compatible Bridge actions available to this user.", noHelpLink: "There is no help link defined for this Bridge action.", processingPrompt: "Processing Prompt", savedVersionOfAction: "Flow is referencing a cached version of this Bridge action. The action may be out of date or deleted.", selectAction: "Select an action", selectCategory: "Select a category", timeout: "Timeout", timeoutOfZero: "Timeout must be greater than zero", useSuggestedTimeout: "Use action's suggested timeout" }, callAudioConnector: { audioConnectorIntegrationDescription: "The audio connector integration to be used for this action.", connectorId: "Connector ID", mustSelectAudioConnectorIntegration: "An Audio Connector integration must be selected.", selectAudioConnectorIntegration: "Select Audio Connector Integration", audioConnectorType: "Audio Connector" }, callBotFlowAction: { configuredIntentValues: "Configured Intent Values", executionResults: "Execution Results", exitReason: "Exit Reason", exitReasonDescription: "Indicates what caused the Bot Flow to exit. See the Call Bot Flow action help for more details on exit reason string values.", exitReasonExamplesTitle: "Example Exit Reason Values", intent: "Intent", intentDescription: "The intent returned from the Bot flow invocation at runtime. If no intent is detected, the variable bound in the Intent setting will be set to a NOT_SET String at runtime.", intentsNone: "None", inputTextLabel: "Bot Input Text", inputTextDescription: "Supplies an initial utterance to the bot that will be processed by the first Ask action executed in the bot flow.", languageChangeWarningImmediate: "Runtime language changes made by the %1$s to a supported language of this flow will be reflected immediately.", languageChangeWarningCommonModule: "Runtime language changes made by the %1$s to a supported language of this common module will be reflected immediately or at the end of the common module task if called by a call flow.", languageChangeWarningTaskEnd: "Runtime language changes made by the %1$s to a supported language of this flow will be reflected when the task ends.", callBotFlowInfo: "All subsequent Bot Flows called will inherit settings from the initial Bot Flow.", callDigitalBotFlowInfo: "All subsequent Digital Bot Flows called will inherit settings from the initial Digital Bot Flow." }, cardsAndCars: { askForSlotChooserLabel: "Slot Value Presentation", askForSlotChooserDescription: "Specify how to present slot value choices to the participant here.", addButtonLabel: "Button", alternativeLabelAdd: "Add alternative label", alternativeLabelRemove: "Remove alternative label", buttonTitlePlaceholder: "Title", cardLabel: "Card", carouselLabel: "Carousel", choiceLabelNoName: "", choicePostbackLabel: "Postback", choiceTypeLabel: "Button Action", choiceUrlLabel: "Open URL", choiceUrlValue: "URL Value", chooserNluDiffsUpdate: "Update", chooserNluDiffsWarning: "One or more slot type values for the selected slot are not reflected below.", chooserConfirmDisplayMode: "With three or fewer buttons, two display options are available.", chooserConfirmDisplayMode2: "Choose an option", chooserSingleCard: "Assign all buttons to one card", chooserMultipleCards: "Assign one button per card", choiceNoUrlValue: "", choiceNoSlotTypeValue: "", choiceNoPostbackValue: "", choiceFromSlotTypeValue: "From slot type value", choiceUsingSlotTypeValue: "Using the slot type value label.", choiceLabelIsSameAsValue: "Label is the same as the value", choiceRemainingSingular: "1 button remaining", choicesRemainingPlural: "%1$s buttons remaining", collectionEmptyCarouselLabel: "Add cards to your carousel", collectionEmptyCarouselDesc: "Cards can include images, titles and descriptions to offer a richer visual experience.", collectionCreateFirstMessage: "Create your first '%1$s'", collectionEmptyMessage: "No items in collection", digitalMenuChooserLabel: "Choices", digitalMenuChooserDescription: "Specify menu choices to offer the participant and how to present them here.", dynamicSlotTypeQuickReplies: "For a dynamic list slot type, there is nothing additional to configure when presenting the list choices as quick replies.", duplicatePostbackValue: "The postback value '%1$s' is a duplicate.", knowledgeSearchResultLabel: "Knowledge Search Results", knowledgeSearchResultDescription: "The variable that holds the collection of KnowledgeBaseDocument objects matched in the search that occurs at this action. If '{{knowledgeSettingsMode.__STANDARD__}}' knowledge handling is selected then the search results collection will only ever contain the article shown to the user. If '{{knowledgeSettingsMode.__CUSTOM__}}' knowledge handling is selected then the results collection may contain multiple articles that strongly match the search.", knowledgeSearchResultDescriptionMultipleArticles: "The variable that holds the collection of KnowledgeBaseDocument objects matched in the search that occurs at this action. If the '{{knowledgeSettingsMode.__STANDARD__}}' knowledge handling is selected then the search results collection will only ever contain the variable that holds the collection of KnowledgeBaseDocument objects matched in the search that occurs at this action. If '{{knowledgeSettingsMode.__CUSTOM__}}' knowledge handling is selected then the results collection may contain multiple articles that strongly match the search.", noRichMedia: "No rich media", noRichMediaNoSlotSelected: "Rich media presentation options are not available because no slot is selected.", noRichMediaSlotTypeNotList: "Rich media presentation options are not available because the selected slot is not a list or dynamic list.", noRichMediaTooManyChoices: "Rich media presentation options are not available because the selected slot has more than %1$s slot type values.", quickRepliesLabel: "Quick Replies", quickReplyLabel: "Quick Reply", selectionResultLabel: "Selection Result", selectionResultDescription: "The variable that holds the value of the menu choice chosen by the participant. If no choice is selected by the participant, the variable value will be left alone.", skipResponseCarouselDisabled: "Skip Response is disabled because the Carousel limit has been reached", skipResponseDisabled: "Skip Response is disabled because the Quick Reply limit has been reached", switchPresentation: "Switch Presentation", expression: { chooserInvalidChoiceCountForSlotType: "The number of choices is not enough to match the number of values configured in the slot type '%1$s'.", chooserInvalidListItemCountForSlotType: "The number of list items is not enough to match the number of values configured in the slot type '%1$s'.", chooserNoChoicesConfiguredForSlotTypeValues: "There are no choices configured for the '%1$s' slot type value(s) %2$s.", chooserNoListItemsConfiguredForSlotTypeValues: "There are no list items configured for the '%1$s' slot type value(s) %2$s.", chooserInvalidChoiceValueForSlotType: "The choice with value '%1$s' is not a valid value for the slot type '%2$s'.", chooserInvalidListItemValueForSlotType: "The list item with value '%1$s' is not a valid value for the slot type '%2$s'.", chooserInvalidChoiceValueForSlotTypeExpressionMode: "The choice using expression mode with the literal value '%1$s' is not a valid value for the slot type '%2$s'.", chooserInvalidListItemValueForSlotTypeExpressionMode: "The list item using expression mode with the literal value '%1$s' is not a valid value for the slot type '%2$s'.", chooserMultipleChoicesForSlotTypeValue: "There is more than one choice for the slot type value '%1$s'.", chooserSlotTypeNotListOrDynamicListType: "The slot type '%1$s' is not a list or dynamic list type.", chooserSlotTypeNameIsNotValid: "The slot type '%1$s' is not valid.", chooserNoSlotTypeConfiguredForSlot: "There is no slot type configured for the slot '%1$s'.", chooserInvalidSlotName: "The slot '%1$s' is not valid.", chooserPresentationModeNotAllowedWithMismatchSlotType: "The presentation mode '%1$s' is not permitted for the selected slot type." }, cardType: { label: "Card", noDescription: "No Description", noDescriptionRuntimeEvaluationStr: "No Card Description", noImage: "No Image", noImageRuntimeEvaluationStr: "No Card Image", noTitle: "No Title", noTitleRuntimeEvaluationStr: "No Card Title" }, carouselType: { defaultCardTitle: "Title %1$s" }, choiceType: { choiceInQuickReplyMustBePostback: "The choice type '%1$s' is not valid when used in a QuickReplies value." }, timePickerType: { noImage: "No Image", noImageRuntimeEvaluationStr: "No Time Picker Image", noTitleRuntimeEvaluationStr: "No Time Picker Title", subtitlePlaceHolder: "Subtitle", addressPlaceHolder: "Address", longitudePlaceHolder: "Longitude", latitudePlaceHolder: "Latitude", noSubtitle: "No Subtitle", noSubtitleRuntimeEvaluationStr: "No Time Picker Subtitle", enableLongLatLabel: "Use Latitude and Longitude", missingPermission: "You are missing the required permissions for autocomplete" }, listPickerType: { addNewSectionTooltip: "Add a new section", emptyListPickerSectionLine1: "This section is empty.", emptyListPickerSectionLine2: "To add items, move them from another section.", listPicker: "List Picker", missingValuesSectionLabel: "Missing Values", moveItemsFromAnotherSectionButtonTooltip: "Move items from another section", receivedMessageLabel: "Received Message", receivedMessageButtonTextLabel: "Button Text", replyMessageLabel: "Reply Message", replyMessageTitle: "List selections are displayed here", replyMessageDescription: "Reply Message for the list picker.", searchSlotValues: "Search slot values", disabledMultiselectToggleTooltip: "Not available because selected slot capture is set to single value", invalidMultipleSectionsWarning: "At runtime, multiple sections for slots that are set to single value capture will be ignored.", invalidMultipleSectionsWarningMessage: "At runtime, multiple sections for slots that are set to single value capture will be ignored in %1$s conversations. %2$s conversations support multiple sections for single-value slots.", invalidNluValue: "This item is no longer a valid slot type value." } }, categories: { customerSecuredData: "Customer Secured Data", find: "Find", flow: "Flow", journey: "Journey" }, clearSlot: { addSlot: "Add Slot", clearSlotTitle: "Clear Slot", specifiedMoreThanOnce: "The slot '%1$s' is specified more than once.", mustSpecifySlot: "You must specify a slot.", noSlotsToClearWarning: "There are no slots specified to clear.", slotToClear: "Slot to Clear", slotsLabel: "Slots", noSlotsDefined: "No Slots defined" }, communicate: { communication: "Communication" }, clipboard: { content: { canPaste: { downConvert: { menuChoice: { toAction: "If pasted to this location, the action from the action menu will be pasted.", toReusableMenu: "If pasted to this location, the menu from the sub-menu will be pasted as a reusable menu.", toReusableTask: "If pasted to this location, the task from the task menu will be pasted as a reusable task." } }, upConvert: { action: { toMenuChoice: "If pasted to this location, an action menu will be created for this action.", toReusableTask: "If pasted to this location, a reusable task will be created that contains this action.", toState: "If pasted to this location, a state will be created that contains this action." }, menu: { toMenuChoice: "If pasted to this location, the menu will be pasted as a sub-menu." }, task: { toMenuChoice: "If pasted to this location, a task menu will be created that contains this task." } } }, notSupportedByFlowType: { action: "This contains an action of type '%1$s' which cannot be pasted to flows of type '%2$s'.", dataTypeKnown: "This uses a data type of '%1$s' which cannot be used in flows of type '%2$s'.", dataTypeUnknown: "This contains a data type which cannot be used in flows of type '%1$s'.", menuChoiceAction: "This contains an action menu of type '%1$s' which cannot be used in flows of type '%2$s'.", menusOrMenuChoices: "This contains a menu which cannot be pasted to flows of type '%1$s'.", states: "This contains a state which cannot be pasted to flows of type '%1$s'.", tasks: "This contains a task which cannot be pasted to flows of type '%1$s'.", builder: "This contains a '%1$s' which cannot be pasted to flows of type '%2$s'. The builder will be removed and converted to an expression." }, pastableLocations: { cannotPasteActionAsMenuChoiceMoreThanOne: "Unable to paste as an action menu because there is more than one action on the clipboard and menus can only have one action.", cannotPasteGeneric: "Unable to paste to this location.", contentCannotBeActionMenu: "Unable to paste as an action menu because the action is not valid for use as a menu.", destinationHasNoChoices: "This cannot be pasted here because the paste location is not a top level menu, a reusable menu or a sub-menu.", menuChoiceSubMenu: "A sub-menu can only be pasted directly under a top level menu, sub-menu or as a reusable menu.", menuChoiceInlineTask: "A task menu can only be pasted directly under a top level menu, under a sub-menu or as a reusable task.", state: "A state can only be pasted within the States container.", task: "A task can only be pasted directly under a top level menu, under a sub-menu or as a reusable task." }, removalError: "Unable to remove the content from the clipboard object." }, copy: { clickToCopyLabel: "Click to Copy", copiedToClipboardLabel: "Copied To Clipboard", copyFailed: "The copy operation failed.", copyFailureTitle: "Copy Failed", copyObjectDoesNotBelongToAFlow: "Object cannot be copied because it does not belong to a flow.", copyObjectNotSpecified: "No object specified to copy. Please select something to copy.", onlyCopyActionOrMenuOrStateOrTask: "You can only copy actions, menus, states or tasks.", permissions: { cannotCopyPermissionsGranularAcl: "Unable to copy because you do not have the architect:flow:edit permission in at least one division." } }, cut: { cannotCutFlowNotEditable: "Unable to cut because the flow is not editable.", cannotCutStartUpObject: "Unable to cut the startup object of a flow.", cannotCutPeriodicState: "Unable to cut the periodic state of a flow.", cutObjectDoesNotBelongToAFlow: "Object cannot be cut because it does not belong to a flow.", cutObjectNotSpecified: "No object specified to cut.", cutFailed: "The cut operation failed.", cutFailureTitle: "Cut Failed", onlyCutActionOrMenuOrStateOrTask: "You can only cut actions, menus, states or tasks.", permissions: { cannotCutPermissionsGranularAcl: "Unable to cut because you do not have the architect:flow:edit permission in at least one division." } }, paste: { additionalInfo: { alertMessage: "Additional paste result information available. Click here to open.", clipboardVariableReferenceNotAdded: "Clipboard-Referenced Variable Not Added", clipboardVariableReferenceNotAddedMoreThanOne: "Clipboard-Referenced Variables Not Added", clipboardVariableReference: "Clipboard Reference", createdVariable: "Created Variable", createdVariableMoreThanOne: "Created Variables", infoDependentCreatedVariables: "This shows dependent variables that were created during the paste operation. These are variables that are referenced by but are not part of objects on the clipboard. Since they did not exist where the clipboard was pasted, those variables were automatically created.", infoDependentNotCreatedVariables: "This shows variables that were referenced by objects on the clipboard that did not get created during the paste operation because the variables are no longer referenced by the pasted content.", infoVariableReferenceUpdates: "This shows variable references as they existed in objects on the clipboard and what they changed to when pasted.", modalTitle: "Additional Paste Information", pastedVariableReference: "Pasted Reference", updateVariableReference: "Updated Variable Reference", updateVariableReferenceMoreThanOne: "Updated Variable References" }, flowNotEditableByCurrentUser: "This cannot be pasted because you cannot edit the flow.", flowTypeCouldNotBeDetermined: "This cannot be pasted because the flow type for the paste destination location could not be determined.", noContent: "There is nothing to paste.", noDestFlow: "Unable to paste because the destination flow was either not specified or could not be determined.", pasteFailed: "The paste operation failed.", pasteFailureTitle: "Paste Failure" } }, createCallback: { noInputs: "The selected callback script has no inputs.", calleeName: "Callee Name", callbackNumber: "Callback Number", callbackScriptNotFound: "The selected callback script could not be found.", noQueueNote: "Callback will be placed on the current queue", script: "Script", selectScript: "Select a callback script", selectedScript: "Callback Script", savedVersionOfCallbackScript: "Flow is referencing a cached version of this callback script. The callback script may be out of date or deleted." }, collectionEditor: { titleContext: "Edit '%1$s' collection", itemLabel: "Item", itemsInCollection: "%1$s items in %2$s", itemsInCollectionOne: "1 item in %1$s", addItem: "Add Item" }, collectInput: { allowDigitRange: "Range of digits", dtmfVariable: "Input Data Name", individualDigits: "Individual Digits", inputAudio: "Input Audio", monetary: "Monetary", noVerification: "No Verification", numeric: "Numeric", numberDigitsLabelExact: "Number of Digits", numberDigitsLabelRange: "Range of Digits", numberDigitsChangeExact: "change to exact", numberDigitsChangeRange: "change to range", numberDigitsExact: "Exactly %1$s digits", numberDigitsExactSingular: "Exactly 1 digit", numberDigitsRange: "Any number of digits between %1$s and %2$s, inclusive", terminatingCharacter: "Terminating DTMF", verification: "Verification", noEntryTimeout: "No Entry Timeout", interDigitTimeout: "Inter-Digit Timeout", includeTerminatingDtmfInResultData: "When pressed, include terminating DTMF in input data result", acceptJustStar: "Accept just '*'", acceptJustPound: "Accept just '#'", digitInput: "Numeric Input", otherInput: "Non-Numeric Input" }, commonModule: { actionExecutableOnlyIfEmbeddingFlowIsCallFlow: "This action can only be executed if the common module is called by a call flow.", subsequentActionsExecutableOnlyIfEmbeddingFlowIsCallFlow: "This and all subsequent actions can only be executed if the common module is called by a call flow.", actionNotSupportedForFlowTypes: "The action '%1$s' is not available in flow types: '%2$s'", actionOutputExecutableOnlyIfEmbeddingFlowIsCallFlow: "Flow runtime execution can only take the '%1$s' action output if the common module is called by a call flow.", clickToAddFlowTypes: "Click to add flow types", embeddedFlowNeedsUpdated: "A newer version of common module '%1$s' is available. Validate again to update from v%2$s to v%3$s.", flowTypeNotSupportedValidationError: "Referenced common module not compatible with flow types: %1$s", flowTypeNotSupported: "Not compatible with flow type: %1$s", hardcodedTaskName: "Common Module Task", commonModuleMissingDependencies: "The common module '%1$s' has the following references that have been deleted: [%2$s]. Please open the common module directly, fix, and then republish the common module.", commonModuleInternalError: "The common module '%1$s' has errors that need to be addressed. Please open the common module directly, fix, and then republish the common module.", internalError: "Internal error encountered in common module", languageNotSupportedValidationError: "Referenced common module does not support languages: %1$s", languageNotSupported: "Does not support languages: %1$s", notAvailableInFlowTypes: "This will be ignored in these flow types: %1$s", settingsNodeName: "Common Module Settings", supportedFlowTypes: "Compatible Flow Types", publishedVersionNotAvailable: "A published version of the referenced flow is not available", debugPublishVersionNotAvailable: "A debug version of the referenced flow is not available", commonModuleNotUsableMissingPermission: "The selected common module cannot be used because you do not have the 'architect:flow:view' permission in its division.", mustSelectFlowType: "At least one compatible flow type must be selected", compatibleFlowTypesWarning: "The actions, data types, and other settings available in a common module flow are limited to those available in all of the selected compatible flow types." }, configurations: { queue: "Queue", skill: "ACD Skill", skillsPlural: "ACD Skills" }, contact: { phonePropertyDescription: "'%1$s' phone property from flow contact list", propertyDescription: "'%1$s' property from flow contact list" }, conversationAttribute: { conversationAttributeLabel: "Conversation Attribute", conversationAttributeSchemaLabel: "Conversation Attribute Schema", divisionsForConversationAttributeRecord: "The divisions this conversation attribute belongs to. If the collection is empty, the record is visible to all divisions.", disabledSchemaSelected: "Schema is disabled. Select an active schema to continue.", flowReferencesADisabledSchema: "This flow references a disabled schema. Update all Conversation Attributes actions (GET, CREATE, UPDATE) to use an active schema.", schemaLabel: "Schema", mustSelectSchema: "A schema must be selected.", schemaNotFound: "The selected schema could not be found.", selectSchema: "Select a schema", unableToLoadSchema: "Unable to load the configuration information for the selected schema.", recordId: "Record ID", recordIds: "Record IDs", recordIdDescription: "A unique ID within a conversation consisting of English letters, numbers, hyphens, and underscores. Spaces are not allowed.", recordIdsDescription: "A collection of unique IDs within a conversation consisting of English letters, numbers, hyphens, and underscores. Spaces are not allowed.", invalidRecordId: "Invalid Record ID", recordVersion: "Record Version", recordVersionDescription: "The version of the conversation attribute record.", schemaVersionIdDescription: "The version of the schema associated with the conversation attribute record.", customAttributesDescription: "Holds the custom attribute values as defined by the schema.", resultLabel: "Result" }, currency: { filter: "Search currencies", modalTitle: "Select Currency", useCurrency: "Use Currency" }, customNodes: { actions: "Actions", data: "Data", debugging: "Debugging", dependencies: { label: "Dependencies", none: "There are no dependencies." }, errorHandling: { audio: "Pre-handling audio", errorHandlingDisconnectDescription: "This ends execution of the current flow and disconnects the current interaction.", errorHandlingEndFlow: "End Flow", errorHandlingEndFlowDescription: "This ends execution of the current flow.", errorHandlingContinue: "Keep Chat Open", errorHandlingEndWorkflowDescription: "This ends execution of the current '%1$s' flow.", errorHandlingExitFlowDescription: "This ends execution of the current flow and returns execution to a calling flow if there is one.", errorHandlingEndInQueueStateDescription: "This ends execution of the current state in an In-Queue flow. The flow keeps running so subsequent invocations of the '%1$s' will still happen.", errorHandlingMenuDescription: "Flow execution goes to a specified menu.", errorHandlingQueueDescription: "This ends execution of the current flow and transfers the current interaction to a specified queue.", errorHandlingStateDescription: "Flow execution changes state to a specified state.", errorHandlingTaskDescription: "Flow execution jumps to a specified reusable task.", errorHandlingTypeNotAvailableForFlowType: "The error handling type '%1$s' cannot be used in a flow of type '%2$s'.", handling: "Handling", label: "Error Event", queueTransfer: "Transfer to Queue", queueTransferDigitalAutomateDescription: "If the queue to transfer to is invalid, the flow does not perform the transfer and will fall back to End State handling.", changeStateToFlowStartup: "Since the starting state is selected for error event handling, remember that the startup state will be re-executed if a flow error event occurs.", exit: "Exit the Flow" }, eventHandling: { label: "Event Handling", agentEscalation: "Agent Escalation", agentEscalationConfirmation: "Confirmation", enableAgentEscalationLabel: "Enable Agent Escalation", enableAgentEscalationDescription: "This setting enables or disables the bot flow from listening to requests to speak to a human.", subsequentRecognitionFailuresLabel: "Subsequent Recognition Failures", subsequentRecognitionFailuresDescription: "By default, when the recognition failure event occurs and is triggered a second time, the bot will exit the flow. By selecting execute task, the bot will continue to execute the recognition failure task for all subsequent recognition failure events.", subsequentRecognitionFailuresExecuteTask: "Execute Task", eventHandlingAgentEscalationHandoverDescription: "Wording the bot will use when the participant has requested to speak to a human and has said yes to the Agent Escalation Confirmation prompt. Once this wording has been communicated, the Bot will Exit back to the calling flow which invoked this Bot flow.", eventHandlingAgentEscalationConfirmationDescription: "Wording the bot will use when it thinks that the participant has requested to speak to a human. The participant is expected to reply with a yes or no answer.", eventHandlingAgentEscalationHandlingDescription: "Setting 'Exit the Flow' will end the participant's Genesys Cloud conversation and setting 'Jump to Reusable Task' will transfer the flow to a previously configured reusable task.", eventHandlingErrorEventHandlingDescription: "Specifies the bot's behavior when there is an error encountered during the execution of the flow. Examples of such an error include a divide-by-zero error or submitting a NOT_SET value to a function that does not allow it. Setting '%1$s' will end the participant's Genesys Cloud conversation and setting '%2$s' will return control to the flow which invoked this Bot Flow.", eventHandlingErrorEventHandoverDescription: "Wording the bot will use when there is an error encountered during the execution of the flow. Examples of such an error include a divide-by-zero error or submitting a NOT_SET value to a function that does not allow it.", eventHandlingRecognitionFailureHandoverDescription: "Wording the bot will use when the bot asks a question and the participant takes too many attempts to provide a valid answer. This could include too many of any of the following: No Matches, No Inputs, or Confirmation Rejections. Recognition Failures can occur in any '%1$s' or '%2$s' action.", eventHandlingRecognitionFailureHandoverDigitalDescription: "Wording the bot will use when the bot asks a question and the participant takes too many attempts to provide a valid answer. This could include too many of any of the following: No Matches or Confirmation Rejections. Recognition Failures can occur in any '%1$s' or '%2$s' action.", eventHandlingRecognitionFailureHandlingDescription: "Specifies the bot's behavior when it asks a question and the participant takes too many attempts to provide a valid answer. This could include too many of any of the following: No Matches, No Inputs, or Confirmation Rejections. Recognition Failures can occur in any '%1$s' action or in an '%2$s' action. Setting '%3$s' will end the participant's Genesys Cloud conversation, setting '%4$s' will return control to the flow which invoked this Bot Flow.", eventHandlingRecognitionFailureHandlingWithJumpToTaskDescription: "Specifies the bot's behavior when it asks a question and the participant takes too many attempts to provide a valid answer. This could include too many of any of the following: No Matches, No Inputs, or Confirmation Rejections. Recognition Failures can occur in any '%1$s' action or in an '%2$s' action. Setting '%3$s' will end the participant's Genesys Cloud conversation, setting '%4$s' will return control to the flow which invoked this Bot Flow and setting '%5$s' will transfer the flow to a previously configured reusable task.", handover: "Handover", recognitionFailureEvent: "Recognition Failure Event" }, menus: "Menus", resources: "Resources", settings: "Settings", userInputSettings: { title: "User Input" }, botFlowUserInputSettings: { generalUserInputSettings: "General", noMatchesMax: "Maximum Number of No Match Retries", noMatches: "No Match Detected", noMatchApology: "No Match Apology", noInputsMax: "Maximum Number of No Input Retries", noInputsMaxExceeded: "No Input Maximum Retries Exceeded Handling", noInputsMaxExceededDescription: "Specifies the bot's behavior when there has been no input from the external participant after the maximum number of no input retries has been exceeded.", endOfSessionMessage: "End of Bot Chat Message", endOfSessionMessageDescription: "The goodbye message from the bot which is triggered when there has been no input from the external participant after the maximum number of no input retries has been exceeded or the session maximum time has been met.", noInputsTimeout: "Voice No Input Timeout", noInputsDigitalTimeout: "No Input Timeout", noInputs: "No Input Detected", noInputsApology: "No Input Apology", confirmationRejectionsMax: "Maximum Number of Confirmation Rejections", confirmationErrors: "Confirmation Errors", noToConfirmationApology: "Confirmation Rejection Apology", confirmationNoMatchApology: "No Match Confirmation Apology", confirmationNoInputApology: "No Input Confirmation Apology", collectionLowConfidenceThreshold: "Normal Low", collectionHighConfidenceThreshold: "Normal High", confirmationLowConfidenceThreshold: "Confirmation", confidenceThresholds: "Confidence Thresholds", collectionConfidenceThresholdsError: "Collection Low confidence must be lower than or equal to the Collection High confidence.", quickRepliesLabel: "Automatic Quick-Reply Buttons", quickRepliesDescription: "If the setting is true and the bot is interacting with a participant via text, this enables automatic quick reply buttons in Intent and Slot confirmations, Knowledge confirmations, '%1$s', '%2$s' and '%3$s' ( for list slot types ) actions. Otherwise if false or a NOT_SET Boolean, quick reply buttons are not enabled.", userInputSettingNoMatchesMaxDescription: "For the current '%1$s' action, this is the maximum number of times that the bot will allow a retry given an input that is not a valid match. If the number exceeds this maximum then the rules in the flow's Event Handling '%1$s' section will be followed, or if the action has a '%2$s' path then that path will be taken at runtime instead. No Match in both the 'Normal' and 'Confirmation' phases of the '%1$s' action will count towards this maximum.", userInputSettingNoMatchApologyDescription: "Wording the bot will output prior to the current '%1$s' action's '%2$s' Communication whenever the bot receives input from the participant that is not a valid match.", userInputSettingsNoInputsMaxDescription: "For the current '%1$s' action, this is the maximum number of times that the bot will allow a retry given no input (i.e. silence) from the participant. If the number exceeds this maximum then the rules in the flow's Event Handling '%2$s' section will be followed, or if the action has a '%3$s' path then that path will be taken at runtime instead. No Input in both the 'Normal' and 'Confirmation' phases of the '%1$s' action will count towards this maximum.", userInputSettingsNoInputsDigitalMaxDescription: "For the current '%1$s' action, this is the maximum number of times that the bot will re-prompt the participant for input if none is received. If the number exceeds this maximum then the bot will stop prompting and wait for input. No Input in both the 'Normal' and 'Confirmation' phases of the '%1$s' action will count towards this maximum.", userInputSettingsNoInputTimeoutDescription: "Once the current Communication has finished playing, this is the maximum length of time to wait for the participant to start speaking. If no speech is detected within this time then a No Input will be triggered.", userInputSettingsNoInputDigitalTimeoutDescription: "Once the current Communication is sent, this is the maximum length of time to wait for the participant to respond. If no input is received within this time then a No Input will be triggered.", userInputSettingsNoInputsApologyDescription: "This Communication is output prior to the current '%1$s' action's '%2$s' Communication whenever the bot does not receive any input from the participant.", userInputSettingsConfirmationRejectionsMaxDescription: "For the current '%1$s' action, this is the maximum number of times that the bot will allow the participant to say no while the bot is confirming an input. If the number exceeds this maximum then the rules in the flow's Event Handling '%2$s' section will be followed, or if the action has a '%3$s' path then that path will be taken at runtime instead.", userInputSettingsNoToConfirmationApologyDescription: "Wording the bot will output prior to the current '%1$s' action's '%2$s' Communication whenever the participant says no while the bot is confirming the participant's last input.", userSettingsConfirmationNoMatchApologyDescription: "Wording the bot will output prior to the bot repeating the current confirmation question whenever the bot receives input that is neither a yes nor a no during a confirmation.", userSettingsConfirmationNoInputApology: "This Communication is output prior to the bot repeating the current confirmation question whenever the bot does not receive any input during a confirmation.", userSettingsCollectionLowConfidenceThresholdDescription: "The minimum confidence level percentage (score) that an input phrase must receive to avoid a No Match. If the confidence level of an input phrase is above this threshold then the bot will either accept it or confirm it with the participant, depending on the value of the '%1$s' threshold.", userSettingsCollectionHighConfidenceThresholdDescription: "The minimum confidence level percentage (score) that an input phrase must receive to be accepted without triggering a confirmation question.", userSettingsConfirmationLowConfidenceThresholdDescription: "The minimum confidence level percentage (score) that an input phrase must receive to avoid a No Match when the bot is asking a yes or no question. This applies during a confirmation and also in the '%1$s' and '%2$s' actions.", userSettingsSttMaxSpeechTimeout: "Maximum duration of an utterance collected from the user. A duration value less than or equal to 0 ms means no timeout. If a NOT_SET value is supplied, the default value will be used.", userSettingsSttSpeechDetectionSensitivity: "A balance between detecting speech and noise (breathing, etc.). 0 means ignore all noise, 1.0 means interpret all noise as speech. If a NOT_SET value is supplied, the default value will be used.", userSettingsSttSpeechDetectionSensitivityNuanceSupport: "Note: This setting is only supported by Nuance Recognizer as a Service.", voiceBargeInSettingLabel: "Voice Barge-in", voiceBargeInSettingDescription: "Whether or not the external participant should be able to interrupt audio while it is still playing.", automaticSpeechRecognition: "Automatic Speech Recognition", intentClassificationHintingLabel: "Intent Classification Hinting", intentClassificationHintingDescription: "This setting enables or disables whether hints are sent to the speech recognition engine for intent classification. Hints are a set of phrases sent to the engine to provide context and assist with speech recognition." }, botPerformanceReport: { botPerformanceReportTitle: "Bot Performance Report" }, interactionReport: { interactionReportTitle: "Interaction Report" }, surveyPerformanceReport: { surveyPerformanceReportTitle: "Survey Performance Report" }, virtualAgentPerformanceReport: { virtualAgentPerformanceReportTitle: "Virtual Agent Performance Report" }, virtualAgentSettings: { virtualAgentSettingsTitle: "After Contact", virtualAgentSettingsTabs: { virtualAgentSettingsConversationSummary: "Conversation Summary", virtualAgentSettingsWrapUpCodes: "Wrap-up Codes" }, virtualAgentSettingsSummarizeConversationTitle: "Summarize Conversation", virtualAgentSettingsSummarizeConversationDescription: "The Virtual Agent will use AI to summarize the conversation.", assignWrapupCodesTitle: "Automatically assign wrap-up codes", assignWrapupCodesDescription: "AI will assign a wrap-up code when one has not been manually set in the conversation flow.", enabledWrapupCodes: "Enabled wrap-up codes", searchWrapupCodes: "Search name...", wrapupCodeColumns: { name: "Name", description: "Description", division: "Division", error: "Error Message", status: "Status" }, wrapupCodeDivisionAll: "All", wrapupCodeFilterHeader: "Filter", wrapupCodeFilterLabelNone: "None", wrapupCodeFilterLabelEnabled: "Enabled", wrapupCodeFilterLabelErrors: "Errors", wrapupCodeFilterTooltip: "Filter wrap-up codes table", wrapupCodeFilterAppliedTooltip: "Filter applied:", wrapupCodeAssign: "Assign wrap-up code", wrapupCodeUnassign: "Unassign wrap-up code", wrapupCodeErrorRemove: "Clear wrap-up code", wrapupCodeDisabledToggleTooltip: "Wrap-up code has no description", wrapupCodeDisabledToggleTooltipDivision: "Cannot determine if wrap-up code description is set for this division", wrapupCodeNoDescriptionError: "Assigned WrapupCode '%1$s' has no description.", wrapupCodeGridEmptyTitle: "No wrap-up codes available", wrapupCodeGridEmptySubTitle: "Try using different filters", wrapupCodeGridLoadFail: "Failed to load wrap-up codes", wrapupCodeGridMissingPermission: "You do not have permission to view and search wrap-up codes", conversationSummarySettingsTitle: "Custom Summary Configuration", conversationSummarySettingsDescription: "Virtual Agent will use this configuration to generate a custom summary based on its instructions.", conversationSummarySettingsToolTip: "If no custom configuration is selected, the default summary configuration will be used.", conversationSummarySettingsDropdownPlaceholder: "Select a configuration", conversationSummarySettingsButtonToolTip: "Open conversation summary configuration in a new tab", conversationSummarySettingsWorkbenchBanner: "Custom Summary Configurations are managed through {{link.__SUMMARY_WORKBENCH__, AI Studio > Summary workbench}}.", conversationSummarySettingsSupportedLanguagesTableHeader: "Summary Configuration", conversationSummarySettingsDefaultLangPlaceholder: "Manage summary configuration: ", conversationSummarySettingsLangUnavailable: "Custom Summary Configuration is unavailable for this language.", conversationSummarySettingsSummaryNotFound: "The Custom Summary '%1$s' does not exist", conversationSummarySettingsWorkbenchLinkTitle: "AI Studio > Summary workbench" } }, detectIntent: { detectIntent: "Detect Intent", detectedIntent: "Detected Intent" }, detectSilence: { silenceDuration: "Silence Duration", silenceDurationDescription: "Amount of continuous silence to wait for.", timeoutDescription: "Total amount of time to wait for continuous silence before failing and taking the 'Timeout' output." }, dataTable: { dataTable: "Data Table", mustSelectTable: "A data table must be selected.", savedVersionOfAction: "Flow is referencing a cached version of this Data Table. The Data Table may be out of date or deleted.", selectDataTable: "Select a data table", tableNotFound: "The selected Data Table could not be found." }, dataView: { actionsColumn: "Usage", filterVariables: "Search data", nameColumn: "Name", containerNameColumn: "Container", usagesMultiple: "Used in %1$s places", usageReaderTitle: "Consumes the variable", usageWriterTitle: "Sets the variable" }, dateTimeInput: { clearButtonText: "Clear", closeButtonText: "Close", todayButtonText: "Today" }, decisionTable: { decisionTableLabel: "Decision Table", decisionTablePlural: "Decision Tables", mustSelectDecisionTable: "A decision table must be selected.", decisionTableNotFound: "The selected decision table could not be found.", decisionTableDescription: "The decision table that we are querying against.", selectDecisionTable: "Select a decision table", unableToLoadDecisionTableInputOutputSchema: "Unable to load the input / output configuration information for the selected decision table.", decisionTableUsageFeesNote: "Usage fees apply. Learn more about calling Decision Tables in the {{link.__DECISION_TABLE_USAGE_FEES__}} documentation." }, decryptData: { dataToDecryptDescription: "The encrypted String value to decrypt back to a JSON value. Encrypted String values are generated from the '%1$s' action. If a NOT_SET String value or blank String value is supplied to the action at runtime, execution will take the '%2$s' output with an error type reason string value of '%3$s'.", dataToDecryptLabel: "Data To Decrypt", decryptedDataOutputDescription: "The decrypted JSON value from the supplied encrypted String value.", decryptedDataOutputLabel: "Decrypted Data" }, deflect: { smsPhoneNumber: "SMS Phone Number" }, deflectionURL: { serviceTitle: "Service", accountTitle: "Account", accountDisplay: "Enter the associated account name" }, deletePrompt: { title: "Delete Prompt", cancelDelete: "Delete Canceled", cancelDeleteContext: "Canceled after %1$s deletions", cannotDeletePrompt: "Cannot delete a non-user prompt", deleteInProgressMultiple: "Deleting %1$s prompts and their resources", deleteInProgressSingle: "Deleting %1$s prompt and its resources", failedToDeletePrompts: "Failed to delete prompts.", failedToDeletePromptResource: "Failed to delete prompt resource.", failureContextContainer: "Failed when trying to delete %1$s" }, dependencies: { deletedItem: "(Deleted) - %1$s", criteriaLabel: "Search:", statusLabel: "Dependency Database Status", userLabel: "Initiated by %1$s", startDateLabel: "Time Started: %1$s", byMissingResourceShort: "Missing Dependencies", byMissingResourceLong: "Search for missing dependencies", byMissingResourcePlaceholder: "Flows with missing dependencies", byNameShort: "Name", byNameLong: "Search by dependency name", byNamePlaceholder: "Enter name of dependency", findConsumingFlows: "Find consuming flows", flowVersionAll: "All", flowVersionCheckedIn: "Checked In", flowVersionPublished: "Published", flowVersionSelect: "Select flow versions to check", forceRebuild: "Force rebuild", invalidSearchCriteria: "Unable to perform a dependency search with the current values, please change the search criteria.", matchEarliest: "Earliest match is in %1$s", matchLatest: "Latest match is in %1$s", matchPublished: "%1$s is the published version", match: "match", operational: "Operational", querying: "Querying", inProgress: "Rebuilding", needsRebuild: "Needs Rebuild", unknown: "Unknown", partialResults: "Partial results may be shown.", partialResultReason: "The dependency database is rebuilding.", partialResultsNeedsRebuildNonAdmin: "An administrator needs to rebuild the dependency database.", partialResultsNeedsRebuildAdmin: "Rebuild dependency database now.", buildQueued: "Rebuild Queued", rebuildError: "There was an error rebuilding the dependency database. Please try again later.", startSearch: "Enter search criteria above to find flows", selectAgenticVirtualAgent: "Select an agentic virtual agent", selectDataAction: "Select a data action", selectGuide: "Select a guide", selectType: "Select a dependency type", selectScript: "Select a script", selectSecureAction: "Select a secure action", statusError: "There was an error retrieving dependency table info.", unknownItem: "Unknown item", versionsLatestAndPublishedSame: "%1$s (Latest, Published)", versionsDeleted: "%1$s (Deleted)", versionsLatest: "%1$s (Latest)", versionsPublished: "%1$s (Published)", versionsLatestAndPublished: "%1$s (Latest), %2$s (Published)" }, dialExtension: { audioToPlay: "Audio to play to re-prompt the caller", extensionVariable: "Extension Data Name", numReprompts: "Number of times to re-prompt the caller", title: "Dial By Extension" }, dialName: { title: "Dial By Name", matchBy: "Match By", firstName: "First Name", lastName: "Last Name", matchingStyle: "Matching Style", waitForUniqueMatch: "Wait for unique match", useSpecificNumChars: "Use a specific number of characters", numberOfCharacters: "Number of characters" }, duration: { days: "days", hours: "hours", minutes: "minutes", seconds: "seconds", milliseconds: "milliseconds" }, guide: { actionSchemasError: "Version and variables information could not be loaded.", guide: "Guide", guideBillingInfoNote: "For tokens-based pricing details on interactions with Agentic Virtual Agents, see the {{link.__GENESYS_CLOUD_TOKENS_BASED_PRICING_MODEL__, Resource Center}} documentation.", guideVersion: "Guide Version", guideViewPermission: "You do not have permission to view guides.", guideVersionViewPermission: "You do not have permission to view guide version.", mustSelectGuide: "A guide must be selected.", guideNotFound: "The selected guide could not be found.", mustSelectGuideVersion: "A guide version must be selected.", guideVersionNotFound: "The selected guide version could not be found.", openGuideInNewTab: "Open Guide Builder in new tab" }, editPrompt: { audioClearConfirm: "Are you sure you want to delete this audio?", audioRevertConfirm: "Are you sure you want to delete this audio and revert to the system default? Audio for language [%1$s] will be deleted.", automaticForOutputMode: "Automatic", clearRecording: "Clear", create: "Create Prompt", descWatermark: "Enter description for prompt", download: "Download", edit: "Edit Prompt", hideLanguagesButton: "Hide language resources not used by this flow", markedForDelete: "Resource for language [%1$s] marked for delete", markForDelete: "Mark for deletion", noResourceError: "Missing audio or text to speech", noAudioError: "Missing required audio", noOptions: "No audio to preview", noTextLabel: "No text", preview: "Preview", previewAlertError: "Your browser cannot play this audio sample. Would you like to download it?", showLanguagesButton: "Show language resources not used by this flow", resources: "Language Resources", recordStation: "Record from station...", recordBrowser: "Record from browser...", revertAudio: "Revert to default", removeTextPrompt: "Remove text prompt", addTextPrompt: "Add text prompt", textDescription: "The Text value for the prompt.", textLabel: "Text", textWatermark: "Enter text", ttsDescription: "The Text to Speech value for the prompt.", ttsLabel: "Text To Speech", ttsNotSupportedError: "Text to speech playback is not supported in this language", ttsTextCombine: "Combine fields", ttsTextDescription: "The Text To Speech and Text values for the prompt.", ttsTextExpand: "Split fields", ttsTextLabel: "Text To Speech / Text", ttsTextWatermark: "Enter text to speech / text", ttsWatermark: "Enter text to speech", upload: "Upload...", usingDefaultAudio: "Using default audio", view: "View Prompt", watermark: "Enter name for prompt" }, encryptData: { dataToEncryptDescription: "The JSON value to encrypt to a String. If a NOT_SET JSON value is supplied to the action at runtime, execution will take the '%1$s' output with an error type reason string value of '%2$s'. If the encrypted data is over 32000 characters in length, execution will take the '%1$s' output with an error type reason string value of '%3$s'.", dataToEncryptLabel: "Data to Encrypt", encryptedDataOutputDescription: "The encrypted String value from the supplied JSON value.", encryptedDataOutputLabel: "Encrypted Data" }, errorPage: { backupMessage: "A backup version of the flow was saved to local browser storage %1$s. Logging back in will allow you to retrieve it.", errorOccurred: "An error occurred.", generic: "An error occurred while logging in to Genesys Cloud. Please try again.", tryAgain: "Try Again", unauthorizedGranular: "In order to use Architect, your user must have the architect:ui:view permission." }, errors: { actionNotValidHere: "This action cannot be used here.", actionCannotBeInTask: "This action cannot be used in a task.", cachedCouldNotBeFound: "Item could not be found. Flow is referencing a cached version of the item.", cachedItemIsDifferent: "Item is different from the latest version. Flow is referencing a cached version of the item.", cantUploadMp3: "MP3 formatted files are not supported.", collectionError: "One or more items in the collection are in error", descriptionLengthExceeded: "The description entered exceeds the limit of %1$s characters.", duplicateVariableId: "There is an internal error with the variable named '%1$s'. Please delete or recreate it.", duplicateVariableName: "There is more than one variable with the name '%1$s'.", errorNavigatingFlow: "There was an error navigating to the flow.", errorOccurred: "An error occurred", emptyCollectionInvokesErrorHandling: "An empty collection will invoke error handling.", fileTooBig: "File too large, please pick a file under 25MB.", fileTooBigMultiple: "One of the files is too large, please pick files under 25MB.", haltPublish: "The flow cannot be published because of validation errors.", invalidValue: "Invalid value for %1$s", invalidValueWithContext: "Invalid value for '%1$s' in '%2$s'", itemNotFound: "This item could not be found", maxNameLength200: "Maximum length of name is 200 characters", multipleErrors: "The value contains one or more errors", nameContainsInvalidCharacter: "Name cannot contain the character '%1$s'.", nameInUse: "This name is in use elsewhere", noName: "Name can not be empty", noVariableSpecified: "There is no variable specified.", notAvailableError: "This action is not available to be used in %1$s", notFound: "Not found", noUri: "URI can not be empty", ohNoSomethingWentWrong: "Oh no! Something went wrong!", serverError: "An error occurred trying to contact Genesys Cloud.", unableToRetrieveCategory: "Was unable to retrieve category for selected action.", showingPartialErrors: "Only showing the first 20 warnings and errors", transferToUnpublishedFlow: "Transfer will not occur until flow '%1$s' is published.", uniqueName: "Name is in use", unPublishedFlow: "Flow '%1$s' is not published.", unreachableAction: "This action is unreachable", unreachableActionOutOfService: "Unreachable because path is disabled", unusedVariable: "The variable '%1$s' is not used.", validateToRefresh: "Press validate again to refresh list", validateFailed: "Unable to get data necessary to validate the flow.", validateFailedTitle: "Validation failed", errorCount: "Error Count: %1$s", infoCount: "Notes Count: %1$s", warningCount: "Warning Count: %1$s", invalidFlowTypeCombinationError: "The '%1$s' action cannot be used when the compatible flow types configured in the common module include %2$s.", grammarOnSlotError: "Must have a grammar associated with the slot '%1$s' in order to associate a speech to text engine." }, errorSchema: { errorTypeDescription: "A non-empty String that contains the type or category of the error.", errorMessageDescription: "A non-localized error message. The String may be empty or NOT_SET." }, expression: { builderUnavailableFeatureRequirements: "Usage of the '%1$s' builder requires a feature that is not available.", builderUnavailableForFlowType: "The '%1$s' builder is not valid for use in flows of type '%2$s'.", builderPartOrContainerUnavailableFeatureRequirements: "Usage of the '%1$s' part requires a feature that is not available.", builderPartOrContainerUnavailableForFlowType: "The '%1$s' part is not valid for use in flows of type '%2$s'.", builderOrContainerErrorRuntimeOutputBlank: " You need to supply at least one non blank value because blank output at flow runtime for this is not allowed.", cannotConvertInputType: "Cannot convert expression from type %1$s to required type of %2$s.", cannotConvertInputTypeWithFunction: "Cannot convert expression from type %1$s to required type of %2$s with a %3$s function call because the resulting expression would still be in error.", cursorPosition: "Current cursor position", builderModeNotAllowed: "Builder mode is not allowed for this value.", builderInError: "1 or more builder sequences are in error", expressionModeNotAllowed: "Expression mode is not allowed for this value.", literalModeNotAllowed: "Literal mode is not allowed for this value.", noValueModeNotAllowed: "No Value mode is not allowed for this value.", variableModeNotAllowed: "Variable mode is not allowed for this value.", collectionConversionMessage: "The generated %1$s expression will be saved but you will not be able to return to literal mode without resetting the expression.", collectionConversionTitle: "Convert Literal Collection to Expression", collectionItemsMax: "The maximum number of items allowed in a collection is %1$s.", collectionItemsMaxExceeded: "The collection has %1$s items which exceeds the maximum allowed of %2$s.", collectionItemsMaxRecommendedExceeded: "The collection has %1$s items which exceeds the maximum recommended limit of %2$s. Flow runtime behavior may not honor items in excess of this limit.", collectionItemsMinNotExceeded: "The collection has %1$s items which is less than the minimum required of %2$s.", collectionItemsEmpty: "The collection must have at least 1 item", collectionMinLength: "Minimum items: %1$s", collectionMaxLength: "Maximum items: %1$s", contactList: "Contact List", collection: "%1$s Collection", collections: "Collections", currencies: "Currencies", collectionSingular: "Collection", deprecatedVariableName: "The variable name '%1$s' is deprecated. Please use '%2$s' instead.", dataPlaybackNotSupportedForLanguage: "%1$s data playback is not supported for the language %2$s.", decimalValueTooMuchPrecision: "The value %1$s at position %2$s has too much precision. It needs to have %3$s digits or less of precision.", disabledEditorText: "Open large expression editor to edit multiline text.", errorAtPosition: "Error at position %1$s.", editExpressionWithProperty: "Edit '%1$s' expression", editExpression: "Edit expression", editExpressionType: "Type: %1$s", editExpressionFuncOpDescription: "Description: %1$s", expressionIsNotSetType: "The result of this expression text cannot be resolved to a data type. You can try wrapping the expression text with a casting function call to convert it to a data type.", expressionModes: "Expression modes", functionImplementations: "Function Implementations", functionsTooltip: "Functions", openLargeExpressionEditor: "Open large expression editor", literalDropDownValueDoesNotExist: "The %1$s '%2$s' does not exist.", literalDropDownValueIsDeleted: "The %1$s '%2$s' has been deleted.", longitudeSetToNullIsland: "The address has an invalid longitude", latitudeSetToNullIsland: "The address has an invalid latitude", noValue: { selection: { default: "Default", noValue: "No value", useDefault: "Use default", useFlowDefault: "Use flow default" }, selectionRuntimeEvaluation: { connectTimeout: { edgeTrunkTimeout: "Use Edge trunk connect timeout", groupTransferTimeout: "Use target group alert timeout", userTransferTimeout: "Use target user voicemail timeout" }, none: "None", noOverride: "No override", noValueSpecified: "No value specified", noDefaultValueSpecified: "No flow default value specified", noVariableSpecified: "No output value specified", useFlowDefault: "Use flow default", variableInitialValue: { emptyCollection: "Empty collection" } } }, facets: { allowableValue: "Allowable Value", allowableValues: "Allowable Values", example: "Example", examples: "Examples", negativeDuration: "negative %1$s" }, functions: { argumentNumMustBeOfType: "%1$s Expected parameter %2$u to be of type %3$s", argumentMustBeCollection: "The argument at position %1$s supplied to %2$s at position %3$s must be a collection.", funcOpPosPrefix: "'%1$s' at position %2$s :", functionMustBeCalledWithParens: "%1$s Missing parentheses after function name.", genericFunctionErrorTemplate: "%1$s %2$s", implicitCastAdded: "Using '%1$s' to convert expression from %2$s to %3$s.", internalErrCannotResolveToNotSet: "%1$s Internal error: Cannot resolve data type of parameter %2$s at position %3$s from %4$s to NOT_SET.", internalErrMustBeTwoArgsOnAccessor: "Internal error: there must be two args on a '.' function", internalErrSecondArgCannotBeNotSet: "Internal error: second argument to a '.' function cannot be NOT_SET.", maxOperandsExceeded: "%1$s The maximum number of parameters allowed is %2$s.", mustBeSameType: "%1$s Must be passed arguments of the same type. The argument at position %2$s is of type %3$s and the argument at position %4$s is of type %5$s.", mustHaveAtLeastOneNotSetOperand: "%1$s Needs to have at least one parameter that is not the value NOT_SET.", mustBeLastOperation: "%1$s Must be the last operation performed in an expression.", noOverloadNoParm: "%1$s There is no implementation that takes zero parameters.", noOverloadOneParm: "%1$s There is no implementation that accepts a parameter of type %2$s.", noOverloadMoreThanOneParm: "%1$s There is no implementation that accepts parameters of %2$s.", notAvailableInFlowTypeMoreThanOneParm: "%1$s The implementation that takes parameters of %2$s is not valid for use in a flow of type %3$s.", notAvailableInFlowTypeNoParm: "%1$s The implementation that takes no parameters is not valid for use in a flow of type %2$s.", notAvailableInExpression: "The function '%1$s' is not valid at position %2$s for use in this expression.", notAvailableInFlowTypeOneParm: "%1$s The implementation that takes a parameter of type %2$s is not valid for use in a flow of type %3$s.", parameterTextLengthLessThanMin: "%1$s The '%2$s' parameter at position %3$s must be at least 1 character.", parameterTextLengthLessThanMinMoreThanOne: "%1$s The '%2$s' parameter at position %3$s must be at least %4$s characters.", parameterValueGreaterThanMax: "%1$s The value of %2$s supplied to the %3$s parameter at position %4$s is greater than the maximum allowed of %5$s.", parameterValueLessThanMin: "%1$s The value of %2$s supplied to the %3$s parameter at position %4$s is less than the minimum allowed of %5$s.", parameterValueMustBeLiteral: "%1$s The %2$s parameter at position %3$s must be a literal value of type %4$s.", parameterValueMustBeVariable: "%1$s The '%2$s' parameter at position %3$s must be a variable reference.", parameterValueMustBeVariableScope: "%1$s The '%2$s' parameter at position %3$s must be a must be a '%4$s' variable reference.", parameterCannotBeZero: "%1$s The %2$s parameter value of %3$s at position %4$s is not allowed because it is zero.", parameterEnumNotGroupUnique: "%1$s It is not valid to pass %2$s and %3$s as parameter values to the same function call.", parameterLiteralValueNotInProvider: "%1$s The literal %2$s supplied to the %3$s parameter at position %4$s is not a supported %5$s.", parameterLiteralValueNotValid: "%1$s The literal %2$s supplied to the %3$s parameter at position %4$s is not valid. %5$s", parameterTypeDialingCode: "dialing code", parameterTypeTTSEngineLang: "IETF language tag for text to speech playback", parameterTypeCurrencyCode: "ISO 4217 currency code", parameterTypeDigitalChannel: "digital channel", parameterTypeUnknown: "Internal error: unknown", propertyEnumUsageNotSupportedInLanguage: "'%1$s' at position %2$s is not valid for the language %3$s.", propertyEnumUsageNotSupportedInLanguages: "'%1$s' at position %2$s is not valid for the languages in which this expression could be run. They are %3$s.", returnDataTypeAsCollectionNotAvailable: "%1$s The return data type '%2$s' does not support collections.", returnDataTypeCouldNotBeDetermined: "%1$s The return data type cannot be determined.", secondAndThirdArgumentsCannotBeNotSet: "%1$s The second and third arguments cannot both be NOT_SET.", secondAndThirdArgumentsMustBeSameType: "%1$s The second and third arguments must be the same type. The second argument at position %2$s is type %3$s and the third argument at position %4$s is type %5$s.", typeForNotSetOperandCouldNotBeDetermined: "%1$s A type could not be determined for the NOT_SET value passed to the '%2$s' parameter at position %3$s.", unavailableFunctionDueToImplementationToggles: "%1$s Unavailable because all implementations require a feature that is not available.", unavailableOverloadNeedsFeatureToggle: "%1$s Unavailable because this implementation requires a feature that is not available." }, highlightFunction: "Selects the function at the current cursor position", invalidEscape: "Invalid string escape at position %1$s.", invalidInputAtPosition: "Invalid input at character position %1$s.", invalidLiteralContext: "Invalid input for %1$s", internalErrorExpression: "Internal expression error", intValueGreaterThanMax: "The integer value %1$s at position %2$s is greater than the maximum allowed of %3$s", intValueLessThanMin: "The integer value %1$s at position %2$s is less than the minimum allowed of %3$s", label: "Expression", languages: "Languages", literal: "Literal", literalLowerCase: "literal", literals: "Literals", toLiteralModeTooltip: "Editor is in expression mode, click to switch to literal mode.", toVariableModeTooltip: "Editor is in expression mode, click to switch to variable mode.", missingCloseBracketAtPosition: "Missing ] for [ at position %1$s.", missingCloseParenAtPosition: "Missing ) for ( at position %1$s.", missingEndQuoteAtPosition: 'Missing end quote for the " at position %1$s.', missingOpenBracketAtPosition: "Missing [ for ] at position %1$s.", missingOpenParenAtPosition: "Missing ( for ) at position %1$s.", mustBeVariableReference: "The expression must be a variable reference or reference properties of a variable.", mustReferenceVariable: "The expression must reference the '%1$s' variable.", noEditorAvailable: "No editor available", noPropertySpecified: "No property specified to access after . at position %1$s.", noPropertyWithName: "There is no property named '%1$s' for the data type %2$s at position %3$s.", notFuncOrRef: "'%1$s' at position %2$s is not a valid function or variable reference.", notSet: "There is no expression defined", notValidTimeZone: "Not a valid timezone ID.", expressionLengthToLong: "The text length is %1$s characters which exceeds the maximum allowed of %2$s characters.", tooManyNestedCalls: "%1$s The expression call stack is %2$s calls deep which exceeds the maximum allowed of %3$s.", notSetWithContext: "No value set for %1$s", noVariableSet: "There is no variable specified", overloadNotSupportedForLanguage: "%1$s this implementation is not supported for the language %2$s.", overrideModeTrueTooltip: "Click to reset
and use default value from
%1$s", overrideModeFalseTooltip: "Default value comes from
%1$s,
click to override", propAccessBracketNeedsStringLit: "A string literal must be used to access a property with brackets at position %1$s.", audioBlankExpressionTooLong: "The blank audio length is longer than %1$s, the recommended maximum length", promptDurationTooLong: "The audio for '%1$s (%2$s)' is longer than %3$s, the recommended maximum length", resultNote: "Note:", secureCannotBeRead: "Secure variables cannot be used here. You can use the '%1$s' action to unsecure the value from '%2$s' to a non-secure variable.", secureVariableUsageNotAllowed: "The variable '%1$s' is secure and cannot be used here.", expressionToLiteralConversionInvalidMessage: "Switching from expression to literal mode will reset the value. Do you wish to continue?", expressionExamples: "Expression Examples", ttsNotSupportedForFlowType: "%1$s text to speech is not supported in flows of type '%2$s'.", ttsNotSupportedForFlowTypes: "%1$s text to speech is not supported in flows types: %2$s.", ttsEngineNotValidForLanguage: "%1$s a valid text to speech engine is not selected for the language %2$s.", ttsNotSupportedForLanguage: "%1$s text to speech is not supported for the language %2$s.", unavailableDataTypeForFlowTypes: "The data type '%1$s' is not available in flow types: %2$s", unavailableDataType: "The data type '%1$s' requires a feature that is not available.", suggestMakeListForCollectionCreation: "Cannot convert expression from type %1$s to required type of %2$s. You can wrap the expression text in a MakeList call to create a collection of the required type.", unavailableDataTypeWithContext: "The data type '%1$s' requires a feature that is not available for '%2$s'", unavailablePropertyInExprText: "%1$s Unavailable because the property '%2$s' requires a feature that is not available.", unavailableVariableInExprText: "%1$s Unavailable because it requires a feature that is not available.", unavailableVariable: "%1$s is unavailable because it requires a feature that is not available.", variableIsReadOnly: "%1$s is read only.", variableReferenceNotValid: "The variable reference '%1$s' at position %2$s is not valid.", variableReferenceNotValidInvalidType: "%1$s The data type '%2$s' is not available in flow types: %3$s", variableTypeError: "'%1$s' cannot be used here because it is not a variable of type %2$s.", watermarkNoContextAny: "Enter expression", variables: "Variables", variableLowerCase: "variable" }, estimatedWaitTime: { about: "Approximate", aboutExample: "e.g. Your estimated wait time is about five minutes.", exact: "Precise", exactExample: "e.g. Your estimated wait time is four minutes and thirty one seconds.", lessThan: "Less Than", lessThanExample: "e.g. Your estimated wait time is less than five minutes.", range: "Padded", rangeExample: "e.g. Your estimated wait time is four to six minutes.", addSpecificInterval: "Add Specific Round Up Interval", addSpecificIntervalFirst: "Add Specific Round Up Interval", roundingIntervalPadded: "Padding", roundingInterval: "Round Up Interval", specificRoundingIntervals: "Specific Round Up Intervals", specificRoundingIntervalsDesc: "If specified, Architect will round up the estimated wait time to the smallest interval below that is greater than the estimated wait time. Otherwise, Architect will use the Round Up Interval above.", playbackMode: "Playback Mode", estimatedWaitTime: "Estimated Wait Time" }, evaluateSchedules: { evaluationDateTime: "Schedule Evaluation DateTime (UTC)", shortEvaluationDateTimeLabel: "DateTime (UTC)", evaluationType: "Evaluation Type", evaluateNow: "Current", evaluateAtDateTime: "Specific", savedVersionOfEmergencyGroup: "Flow is referencing a cached version of this emergency group. The emergency group may be out of date or deleted.", savedVersionOfSchedule: "Flow is referencing a cached version of this schedule. The schedule may be out of date or deleted.", savedVersionOfScheduleGroup: "Flow is referencing a cached version of this schedule group. The schedule group may be out of date or deleted.", schedule: "Schedule", scheduleEvaluationSettings: "Schedule Evaluation Settings", selectSchedule: "Select a schedule", scheduleNotFound: "The selected schedule '%1$s' could not be found.", mustSelectSchedule: "A schedule must be selected.", emergencyGroup: "Emergency Group", emergencyGroupDescription: "The emergency group to check before evaluating the selected schedule group. If the emergency group is enabled, the action will take the 'Emergency' output path.", selectEmergencyGroup: "Select an emergency group", emergencyGroupNotFound: "The selected emergency group '%1$s' could not be found.", mustSelectEmergencyGroup: "An emergency group must be selected.", scheduleGroup: "Schedule Group", selectScheduleGroup: "Select a schedule group", scheduleGroupNotFound: "The selected schedule group '%1$s' could not be found.", mustSelectScheduleGroup: "A schedule group must be selected.", inServiceSchedules: "Output Active Schedules", inServiceSchedulesDescription: "A list of active schedules.", timeZone: "Time Zone", selectTimeZone: "Please select a time zone", evaluationDateTimeDescription: "The base UTC DateTime used for the schedule evaluation.", timeZoneDescription: "A timezone that supplies an offset to apply to the base UTC DateTime at the time of evaluation" }, expressionsHelp: { additionalInformationTitle: "Additional Information", availability: { title: "Availability", validInAllFlows: "Valid for use in all flow types.", validInOneFlowType: "Valid for use in the %1$s type.", validInMultipleFlowTypes: "Valid for use in %1$s types." }, backToFunctions: "Back to functions", blankAudioForSipPhoneNumber: 'Note: If the supplied PhoneNumber is a "sip:" or "sips:" scheme, blank Audio will be returned.', collectionItemsTitle: "Collection Items", title: "Expression Help", columns: { nameOrSymbol: "Name / Symbol", category: "Category" }, exampleTitle: "Example", examples: { output: "Output" }, examplesTitle: "Examples", expandForLanguages: "Expand for list of supported languages", expandForSpecificRuntimeTypes: "Expand for specific runtime type handling details", function: "Function", implementationTitle: "Implementation", implementationsTitle: "Implementations", newLineInfo: "where \\n is newline", outputExampleFlowLanguageCode: "Note: This assumes the flow's current language is [%1$s]", outputExampleFlowLanguageCodeAndDisplayStr: "Note: This assumes the flow's current language is %1$s [%2$s]", noSearchMatch: "No functions or operators found for search text.", operator: "Operator", overload: { maxOperands: "The maximum total number of parameters that can be passed to this function is %1$s." }, passThroughSingletonInfo: "'%1$s' will be called at runtime for these types:", passThroughCollectionInfo: "'%1$s' will be called at runtime on each collection item for these types:", returnValue: "Return Value", parameterTitle: "Parameter", parametersTitle: "Parameters", parameters: { length: "String length", maxValue: "Maximum value", maxLength: "Maximum length", maxItems: "Maximum items", minValue: "Minimum value", minLength: "Minimum length", minItems: "Minimum items", notAllowedNotSet: "NOT_SET is not allowed", notAllowedNotSetCurrency: "NOT_SET is not allowed for either the Currency itself or the currency's Amount property", notAllowedZero: "0 is not allowed", repeatable: "This parameter can occur more than once", restrictionsRunTimeError: "Parameter values outside any stated restrictions will result in a runtime error event.", valueMustBeLiteral: "Must be a literal value.", valueMustBeLiteralDialingCode: "Must be a supported ITU-T E.164 dialing code. Valid dialing codes are available from the System.Regions variable by accessing the dialingCode property from a country.", valueMustBeLiteralISO4217: "Must be a supported ISO 4217 currency code.", valueMustBeLiteralSupportedTTSLangTag: "Must be an IETF language code where text to speech playback is supported." }, requiresClosingSymbol: "Note: This operator requires a closing '%1$s' to be valid. See examples.", search: "Search", searchFunctions: "Search functions", specificRuntimeTypes: "Types that have special handling", supportedReturnValues: { possibleGeneric: "Possible return values" }, usageRestrictions: { mustBeLastOperation: "When used in an expression, this must be the last operation specified in the expression text to be valid.", title: "Usage Restrictions" }, validLanguages: "Valid for use in these languages" }, builders: { funcOpBuilderButtonTitle: "Open builder for function at current caret", builderConfigInvalid: "Invalid builder configuration.", builderConfigInvalidWithLabel: "Invalid builder configuration for %1$s.", builderConfigWarning: "The builder configuration has one or more warnings.", builderConfigWarningWithLabel: "The builder configuration has one or more warnings for %1$s.", builderMainSequenceWillNotBeRun: "The Main Sequence will not execute at runtime.", builderPartErrorGeneric: "The builder part is in error.", builderPartInfoGeneric: "The builder part has additional information.", builderPartWarningGeneric: "The builder part has a warning.", builderPartSupportsOnePart: "Only a single part is allowed for this type of builder", builderPartSupportsMultipleParts: "Only %1$s parts are allowed for this type of builder", builderSupportedLanguageMissing: "The builder is not configured to handle the flow supported language '%1$s'.", builderSupportedLanguageMissingMoreThanOne: "The builder is not configured to handle the flow supported languages of %1$s.", containerParts: { language: { languageNotInFlowSupportedLanguages: "The language '%1$s' is not a supported language in the flow.", languageTagNotString: "The language tag is not a valid string.", languageTagNotValid: "The language tag '%1$s' is not supported by Architect.", noFlowSupportedLanguages: "There are no supported languages configured on this flow." } }, convertToExpressionMode: "Convert to Custom Expression", convertToExpressionWarning: "The generated expression will be saved but you will not be able to return to builder mode without resetting the expression.", enableMainSequence: "Enable default sequence 'Main Sequence'", enableAlternativeSequence: "Click the toggle to enable the expression builder sequence.", errorValidatingBuilder: "Internal error encountered validating builder.", errorValidatingBuilderPart: "Internal error encountered validating builder part.", generation: { noParts: "When no items are added, the following value will be used: %1$s", noPartsInSequence: "When no items are added to this sequence, the following value will be used: %1$s" }, minPartsOne: "The expression builder sequence must have at least one item added.", minPartsWarning: "The expression builder sequence should have at least one item added.", minPartsMoreThanOne: "The expression builder sequence must have at least %1$s items added.", maxPartsOne: "The expression builder sequence cannot have more than one item.", maxPartsMoreThanOne: "The expression builder sequence cannot have more than %1$s items.", noBuilderSpecified: "No expression builder specified", title: "%1$s Expression Builder - %2$s", funcOpTitleFunction: "%1$s Function Builder", funcOpTitleOperator: "%1$s Operator Builder", mainSequenceDisabled: "Main Sequence is disabled because all alternate sequences are enabled", selectLanguage: "Select Language", sequence: "Sequence", validationMessage: { withContainer: "%1$s - %2$s", withContainerAndIndex: "%1$s - Index %2$s, %3$s", withIndex: "Index %1$s, %2$s" } }, dialogEngine: { bot: "Dialog Engine Bot", botNotFound: "The selected Dialog Engine bot could not be found.", terminationStateDescription: '"%1$s" (valid for the branch "%2$s")', terminationStateDescriptionIntentOutput: '"%1$s" (can appear in intent-based branches)', dialogEngineBot: "Dialog Engine Bot", dialogEngineBotVersion: "Dialog Engine Bot Version", inputTextLabel: "Bot Input Text", inputTextDescription: "The text to send to the Dialog Engine bot.", inputTextDescriptionForChat: "The text to send to the Dialog Engine bot. This is usually only set when chaining bot actions together.", mustSelectBot: "A Dialog Engine bot must be selected.", openDialogEngineUI: "Open Dialog Engine in a new tab", savedVersionOfBot: "Flow is referencing a cached version of this Dialog Engine bot. The bot may be out of date or deleted.", selectBot: "Select Dialog Engine bot", terminationState: "Termination State" }, dialogflow: { agent: "Dialogflow Agent", agentNotFound: "The selected Dialogflow agent could not be found.", agentHasNoIntents: "The selected Dialogflow Agent has no conversation-ending intents configured.", dialogflowAgent: "Dialogflow Agent", environment: "Environment", environmentNotFound: "The selected Environment could not be found.", initialEventNameLabel: "Initial Event Name", initialEventNameDescription: "The name of the Dialogflow agent event to trigger when the session is started.", inputTextLabel: "Agent Input Text", inputTextDescription: "The text to send to the Dialogflow Agent.", inputTextDescriptionForChat: "The text to send to the Dialogflow Agent. This is usually only set when chaining bot actions together.", integrationNameLabel: "Integration Name: %1$s", intentProbabilityLabel: "Intent Probability", intentProbabilityDescription: "The confidence of the detected Dialogflow end of conversation intent. If detected, the value will range from 0.0 to 1.0. If no intent was detected, the value of the variable bound to this setting will remain untouched.", mustSelectAgent: "A Dialogflow agent must be selected.", noParameters: "There are no parameters defined for this intent.", sessionLabel: "Session Variables", sessionInputsLabel: "Inputs", sessionInputsWarning: "Input Session Variables are only used by a Dialogflow Agent when a non-blank Initial Event Name is supplied.", sessionInputLabel: "Input", noSessionInputsDefinedLabel: "No Input defined", sessionAddInputLabel: "Add Input", sessionOutputsLabel: "Outputs", sessionOutputLabel: "Output", noSessionOutputsDefinedLabel: "No Outputs defined", sessionAddOutputLabel: "Add Output", sessionKeyLabel: "Key Name %1$s", projectIdLabel: "Project ID: %1$s", savedVersionOfAgent: "Flow is referencing a cached version of this Dialogflow agent. The agent may be out of date or deleted.", selectAgent: "Select Dialogflow agent" }, dialogflowCx: { cxAgentNotFound: "The selected Dialogflow CX agent could not be found.", dialogflowCxAgent: "Dialogflow CX Agent", liveAgentHandoffMetadata: "Live Agent Handoff Metadata", mustSelectCxAgent: "A Dialogflow CX agent must be selected.", sessionParametersLabel: "Session Parameters", selectDialogflowCxAgent: "Select Dialogflow CX agent" }, endWorkflow: { exitReasonLabel: "Exit Reason" }, externalTransfer: { number: "Number", releaseLinkTransfer: "Perform release link transfer" }, externalAuths: { missingPermissionContext: "The '%1$s' permission.", overviewContext: "You do not have the necessary authorizations to access %1$s. You need:%2$s", validationContext: "You do not have the necessary authorizations to use %1$s.", thirdPersonValidationContext: "Selected user does not have the necessary authorizations to use %1$s.", agenticVirtualAgentView: { displayTitle: "Agentic Virtual Agents" }, agenticVirtualAgentVersionView: { displayTitle: "Agentic Virtual Agent Versions" }, auditView: { displayTitle: "Version History Details" }, botConnectorView: { displayTitle: "Bot Connectors" }, bridgeActionView: { displayTitle: "Bridge Action" }, contactListsView: { displayTitle: "Contact Lists" }, conversationConferenceAdd: { displayTitle: "Conversations" }, conversationCustomAttributesSchemaView: { conversationCustomAttributesSchemaViewDisplayTitle: "Conversation Custom Attributes Schemas" }, customerIntentsView: { customerIntentsViewDisplayTitle: "Customer Intents" }, customerSegmentsView: { customerSegmentsViewDisplayTitle: "Customer Segments" }, dataTablesView: { displayTitle: "Data Tables" }, decisionTablesSearch: { decisionTablesSearchDisplayTitle: "Decision Tables" }, divisionsView: { divisionsViewDisplayTitle: "Divisions" }, emergencyGroupView: { displayTitle: "Emergency Groups" }, flowLaunch: { displayTitle: "Flow Launch" }, flowView: { displayTitle: "Flows" }, flowMilestonesView: { displayTitle: "Flow Milestones" }, flowOutcomesView: { displayTitle: "Flow Outcomes" }, grammarView: { displayTitle: "Grammars" }, guideView: { displayTitle: "Guides" }, guideVersionView: { displayTitle: "Guide Versions" }, integrationsActionView: { displayTitle: "Data Actions" }, integrationView: { displayTitle: "Integrations" }, knowledgeBaseView: { knowledgeBaseViewDisplayTitle: "Knowledge Base" }, knowledgeBaseDocumentView: { knowledgeBaseDocumentViewDisplayTitle: "Knowledge Base Document" }, languageSkillsView: { displayTitle: "Language Skills" }, messagingIntegrationView: { messagingIntegrationViewDisplayTitle: "Messaging Integration" }, nluView: { displayTitle: "NLU" }, oAuthClientView: { oAuthClientViewDisplayTitle: "OAuth Client" }, responseAssetAdd: { displayTitle: "Response Assets Add" }, responseAssetView: { displayTitle: "Response Assets" }, responseLibraryView: { displayTitle: "Response Library" }, responseView: { displayTitle: "Responses" }, schedulesView: { displayTitle: "Schedules" }, smsPhoneNumberView: { smsPhoneNumberViewDisplayTitle: "SMS Phone Numbers" }, surveyFormView: { displayTitle: "Survey Form" }, scheduleGroupView: { displayTitle: "Schedule Groups" }, scriptsView: { displayTitle: "Scripts" }, queuesView: { displayTitle: "Queues" }, utilizationLabelView: { utilizationLabelViewDisplayTitle: "Utilization Labels" }, voicemailReceive: { displayTitle: "Voicemail" }, wrapupCodesView: { displayTitle: "Wrapup Codes" }, promptsUserView: { displayTitle: "User Prompts" }, promptsSystemView: { displayTitle: "System Prompts" }, processAutomationTriggerView: { displayTitle: "Triggers" }, worktypesView: { displayTitle: "Worktypes" } }, facets: { incorrectType: "The value has a type of %1$s when it should be of type %2$s", nothingToValidate: "Unable to determine a value to validate.", valueIsBlank: "The value is blank.", valueNotInAllowableListOne: "The value must be %1$s", valueNotInAllowableListMoreThanOne: "The value must be either %1$s", valueNotInAllowableListGeneral: "The value is not in the allowable values list", valueCannotBeNotSet: "The value cannot be NOT_SET", valueMustBeGreaterThan: "The value %1$s must be greater than %2$s.", valueMustBeGreaterThanOrEqualTo: "The value %1$s must be greater than or equal to %2$s.", valueStringMaxLength: "The value cannot contain more than %1$s characters.", valueStringMinLengthOne: "You must specify a value.", valueStringMinLengthOneNonFriendly: "The value must contain at least 1 character.", valueShouldBeNoValue: "You must specify a value or change mode to no value.", valueShouldBeUseFlowDefault: "You must specify a value or change mode to use flow default.", valueStringMinLengthTwoOrMore: "The value must contain at least %1$s characters.", valueMustBeLessThan: "The value %1$s must be less than %2$s.", valueMustBeLessThanOrEqualTo: "The value %1$s must be less than or equal to %2$s.", valueMustBeExactly: "The value must be %1$s characters.", valueUsesInvalidCharacterWarning: "Usage of the '%1$s' character is not recommended." }, features: { missingFeatureError: "The '%1$s' action is not available in a '%2$s'", missingFeatureErrorExpression: "The setting '%1$s' requires a feature that is not available." }, findActions: { bulkFind: { bulkFindMaxItemProcessingNote: "Note: Only items up the maximum item count of %1$s will be processed. The rest will be returned as NOT_SET in the returned collection." }, findDivision: { findDivisionNameLabel: "Division Name", findDivisionsNameLabel: "Division Names", findDivisionResultLabel: "Division Result", findDivisionsResultLabel: "Division Results" }, findEmergencyGroup: { findEmergencyGroupNameLabel: "Emergency Group Name", findEmergencyGroupResultLabel: "Emergency Group Result" }, findGrammar: { findGrammarIdLabel: "Grammar ID", findGrammarNameLabel: "Grammar Name", findGrammarResultLabel: "Grammar Result" }, findGroup: { nameLabel: "Group Name", resultLabel: "Group Result" }, getJourneySegment: { idLabel: "Journey Segment ID", resultLabel: "Journey Segment Result" }, getJourneySession: { idLabel: "Journey Session ID", resultLabel: "Journey Session Result" }, getJourneySessionsByCustomer: { idLabel: "Customer ID", idTypeLabel: "Customer ID Type", resultsLabel: "Journey Sessions Result" }, getJourneySessionsByExternalContact: { idLabel: "External Contact ID", resultsLabel: "Journey Sessions Result" }, getJourneyOutcome: { idLabel: "Journey Outcome ID", resultLabel: "Journey Outcome Result" }, getJourneyOutcomeScoresBySession: { idLabel: "Journey Session ID", resultsLabel: "Journey Outcome Score Results" }, findKnowledgeBaseDocument: { findKnowledgeBaseDocumentIdLabel: "KnowledgeBaseDocument ID", findKnowledgeBaseDocumentNameLabel: "KnowledgeBaseDocument Name", findKnowledgeBaseDocumentResultLabel: "KnowledgeBaseDocument Result" }, findLanguageSkill: { nameLabel: "Language Skill Name", resultLabel: "Language Skill Result" }, findQueue: { nameLabel: "Queue Name", idLabel: "Queue ID", resultLabel: "Queue Result" }, findSchedule: { findScheduleNameLabel: "Schedule Name", findScheduleResultLabel: "Schedule Result" }, findScheduleGroup: { findScheduleGroupNameLabel: "Schedule Group Name", findScheduleGroupResultLabel: "Schedule Group Result" }, findSkill: { nameLabel: "Skill Name", resultLabel: "Skill Result" }, findSystemPrompt: { nameLabel: "System Prompt Name", resultLabel: "System Prompt Result" }, findUserPrompt: { nameLabel: "User Prompt Name", resultLabel: "User Prompt Result" }, findUser: { nameLabel: "User Email", idLabel: "User ID", idsLabel: "User IDs", idsDescription: "Note: only items up the maximum item count will be processed. The rest will be returned as not found.", resultLabel: "User Result", resultsLabel: "User Results" }, findUtilizationLabel: { nameLabel: "Utilization Label Name", resultLabel: "Utilization Label Result" } }, flow: { createFailed: "Failed to create the flow.", editFailed: "Failed to update flow.", loadFailed: "Failed to load the flow.", flowOptions: "Flow options", idOptions: "ID Options", publishOptions: "Publish options", flow: "Flow", commands: { add: { text: "Add", tooltip: "Add new flow" }, checkIn: { text: "Check in Version %1$s", tooltip: "Saves and checks in Version %1$s" }, create: { tooltip: "Create New Flow" }, discardChanges: { text: "Discard Unsaved Changes", confirmationText: "Are you sure you want to discard unsaved changes?", tooltip: "Discards changes made to this flow since the last save" }, edit: { editButtonTooltipLabel: "Edit the flow" }, export: { text: "Export", textExportAs: "Export as %1$s", tooltip: "Export flow configuration to a file", warningExportFailed: "Failed to export flow" }, exportYaml: { text: "Export as .yaml", tooltip: "Export flow configuration in YAML format" }, flowFilterPreview: "Flow View Filter", goto: { text: "Go To...", tooltip: "Jump to an action, menu or task" }, import: { text: "Import", tooltip: "Import flow configuration from a flow export file" }, modifyIntents: { text: "Modify Intents", tooltip: "Modify bot intents, slots and utterances it will recognize" }, moreActions: { tooltip: "More Actions" }, open: { text: "Open", tooltip: "Open the selected flow" }, print: { text: "Print", tooltip: "Generate a printout of the flow" }, publish: { text: "Publish Version %1$s", title: "Publish", tooltip: "Publish the flow" }, publishDebug: { text: "Debug", tooltip: "Enable debug for the current flow", flowDebugDisabledOne: "Debugging is disabled because it is not supported for the flow supported language of %1$s.", flowDebugDisabledMoreThanOne: "Debugging is disabled because it is not supported for the flow supported languages of %1$s." }, remove: { deleteOverlayMultiple: "Deleting flows", deleteOverlaySingular: "Deleting flow", deleteSuccessOverlay: "Delete successful", text: "Delete", title: "Delete Flow", titleCannotDeleteInQueueFlows: "Cannot Delete In-Queue Call Flows", titleRevertInQueue: "Revert In-Queue Call Flow", titleRevertDefaultVoicemailFlow: "Revert Voicemail Flow", titleMultiple: "Delete Flows", tooltip: "Delete the selected flow(s)", warning: 'Are you sure you want to delete the selected flow named "%1$s"?', warningDeleteInQueueFlowsDependency: "The following in-queue call flows are currently being referenced by one or more queues and cannot be deleted.", warningRevertInQueue: "Do you want to delete all customizations to the default In-Queue Flow and go back to version 1?", warningRevertDefaultVoicemailFlow: "Do you want to delete all customizations to the default Voicemail Flow and go back to version 1?", warningMultiple: "Are you sure you want to delete the %1$s selected flows?" }, refresh: { text: "Refresh", tooltip: "Refresh the list of flows" }, revert: { text: "Revert to Version %1$s", tooltip: "Delete the latest saved version of the flow" }, renumber: { renumberFailed: "Unable to renumber the action, menu and task IDs.", renumberFlow: "Renumber Flow", text: "Renumber", tooltip: "Renumber the IDs set on actions, menus and tasks", warning: "Renumbering action, menu and task IDs will no longer guarantee ID consistency with previous versions of this flow.

Do you wish to continue?" }, save: { text: "Save", tooltip: "Save the flow" }, showHideIdentifiers: { tooltip: "Show or hide action, menu, task and state IDs" }, saveAs: { text: "Save As...", tooltip: "Save the current changes as a new flow" }, unlock: { progressSingle: "Unlocking one flow", progressMultiple: "Unlocking %1$s flows", text: "Unlock", title: "Unlock Flow", titleMultiple: "Unlock Flows", tooltip: "Unlock the currently selected flows", confirmSingle: "Are you sure you want to unlock the selected flow? %1$s", confirmMultiple: "Are you sure you want to unlock the selected flows? %1$s", performsCheckInInfo: "When unlocking a flow, the currently saved configuration will be checked in as a new version.", unlockFailed: "Unlock failed" }, unpublish: { text: "Unpublish", tooltip: "Deactivates the currently published version of the flow" }, validate: { text: "Validate", tooltip: "Check the flow for any errors" }, versions: { text: "Versions", tooltip: "View the version history of the flow" } }, exportFlowModal: { exportFlowModalUserActionTooltip: "Opens the export flow modal to choose file format and export options", exportFlowAsAFileForDownload: "Export the selected flow\u2019s configuration as a file for download.", exportFlowFileGeneratedOnConfirmation: "When you confirm, Architect generates the file so you can store, share, or reuse the flow outside of Architect", includeTrackingIdsLabel: "Include tracking ID details", includeTrackingIdsTooltip: "When enabled, tracking IDs are included in the exported YAML file." }, filter: { all: "All", clearFilter: "Clear Filter", divisionPlaceHolder: "Select a Division", editable: "Open for Edit", flowFilterOptionsDivisionTooltip: "Flow division filter options", flowFilterOptionsLockedTooltip: "Flow locked filter options", flowFilterOptionsPublishedTooltip: "Flow published filter options", locked: "Locked", published: "Published", unpublished: "Unpublished", lockedByCurrentUser: "Locked by Current User" }, goto: { noItemSelected: "No item selected. Please select an item to go to.", title: "Go To", selectAnItem: "Select an item to go to", goToResource: "Go to %1$s" }, gridColumns: { division: "Division", name: "Name", locked: "Locked", checkedIn: "Checked In", published: "Published", consumers: "Consumers" }, noChangesTitle: "No changes", noChangesMessage: "There are no unsaved changes in the current flow.", noDefaultLanguage: "There is no default language configured in the current flow.", noStartUpObject: "There is no startup object configured in the current flow.", notLocked: { exportMessage: "It is strongly recommended to export your flow to avoid the possibility of losing unsaved changes. The flow will remain open and editable until you navigate away from the flow.", lockMessage: "This flow is no longer locked by you. You cannot save or publish until you obtain the lock again.", lockMessageForSystem: "You cannot delete version 1.0 of a system flow.", lockDeleteMessageSingle: "You cannot delete a flow that is locked by another user.", lockDeleteMessageMultiple: "You cannot delete flows that are locked by another user.", unlockedMessageSingle: "You cannot unlock a flow that is not locked.", unlockedMessageMultiple: "You cannot unlock flows that are not locked.", title: "Lost flow lock" }, operations: { enableFlowDebugFailure: "Enable debug failed", enableFlowDebugMessage: "Enabling debug...", enableFlowDebugSuccess: "Debug enabled", enableFlowDebugSuccessMessage: "You may now debug the flow by calling this address in Genesys Cloud:

%1$s@localhost

when logged in to the current organization.", enableFlowDebugSuccessMessageWithOrgName: "You may now debug the flow by calling this address in Genesys Cloud:

%1$s@localhost

when logged in to the '%2$s' organization.", enableFlowDebugSuccessTitle: "Debug Enabled", discardChangesMessage: "Discarding changes...", exportMessage: "Exporting...", importMessage: "Importing...", publishFailure: "Publish failed", publishMessage: "Publishing...", publishSuccess: "Published", revertFailure: "Revert failed", revertMessage: "Reverting...", revertSuccess: "Reverted", refreshFailure: "Failed to load the flows", refreshSuccessNoFlows: "There are no flows", refreshSuccessNoFlowsFilter: "There are no flows to show with the current column filters", refreshSuccessNoResults: "There were no flows found", refreshMessage: "Loading Flows...", saveFailure: "Save failed", saveMessage: "Saving...", saveSuccess: "Saved", unpublishFailure: "Unpublish failed", unpublishMessage: "Unpublishing...", unpublishSuccess: "Unpublished", validateMessage: "Validating...", validatedMessage: "Validated", load: { deleteOrRecreate: "You can delete the flow or re-create it as a new flow.", failure: "Failed to load the flow", latestConfigNotFoundButton: "Unlock and Check Out flow", latestConfigNotFoundCannotUnlock: "The latest saved flow configuration was not found. Performing an Unlock and a Check Out operation on the flow can resolve the issue, but you do not have necessary permissions to unlock the flow. Please try again once your user has the \u2018architect:flow:unlock' permission in the flow\u2019s division.", latestConfigNotFoundError: "There was an error performing an Unlock and a Check Out operation on the flow.", latestConfigNotFoundTitle: "Saved configuration not found", latestConfigNotFoundText: "The latest saved flow configuration was not found. Click below to perform an Unlock and a Check Out operation on the flow, which will load the last checked-in version.", noConfig: "'%1$s' has no flow configuration.", cannotOpenNoFlowConfig: "'%1$s' cannot be opened because there is no flow configuration to load.", cannotOpenFlowDeleted: "'%1$s' cannot be opened because it was deleted before being checked in.", noConfigTitle: "No flow configuration", reloadDefaultButton: "Recreate", requestFailed: "The request for the flow's configuration has failed", serverFailureMessage: "The flow is not the correct type for this system.", typeFailureMessage: "The selected flow to be imported is not the correct type of %1$s.", versionFailureMessage: "Can not load a flow created by a newer version of the designer.", flowSchemaMisMatchErrorPrefix: "The variable definition in the flow is incompatible with the variable definition in the import. %1$s", importFailed: "Flow Import Failed", importSupportedLanguageMismatch: "The import operation succeeded. Because flows of type '%1$s' cannot change supported languages, the currently configured language of '%2$s' was not changed to the import file's supported language of '%3$s'.", importFailedWorktypeMismatch: "The import operation failed because the Worktype '%1$s' referenced in the import file does not match the Worktype '%2$s' that the flow was created with.", importFailedWorktypeMismatchNoName: "The import operation failed because the Worktype referenced in the import file does not match the Worktype that the flow was created with." }, publishFlowDebugFailure: "Publishing debug version failed", publishFlowDebugMessage: "Publishing debug version...", publishFlowDebugSuccess: "Debug version published" }, outputMode: { label: "Output Mode", labelAndValue: "Output Mode: %1$s", selectOne: "Select an output mode" }, template: { label: "Template" }, types: { bot: "Bot Flow", commonModule: "Common Module Flow", digitalBotFlow: "Digital Bot Flow", guide: "Guide", inboundEmail: "Inbound Email Flow", inboundCall: "Inbound Call Flow", inboundChat: "Inbound Chat Flow", inboundShortMessage: "Inbound Message Flow", outboundCall: "Outbound Call Flow", inQueueCall: "In-Queue Call Flow", inQueueEmail: "In-Queue Email Flow", inQueueShortMessage: "In-Queue Message Flow", secureCall: "Secure Call Flow", surveyInvite: "Survey Invite Flow", surveyInviteWebPrefix: "Web Survey Invite Flow", voiceFlow: "Voice Flow", voicemailFlow: "Voicemail Flow", voiceSurveyFlow: "Voice Survey Flow", workflow: "Workflow", workItem: "Workitem Flow" }, tooLargeToPublish: "The flow is too large and cannot be published.", tooLarge: "The flow is too large and cannot be saved.", sizeRestriction: "Size Restriction", flowSizeNodeTitle: "Flow Size", flowSizeNodeSearchWatermark: "Search name", flowSize: "Flow Size:", flowSizePercentOfMaxFlow: "% of Max Flow Size", flowSizeWarningWithPercentage: "%1$s - %2$s%%", flowSizeWarningLow: "Low", flowSizeWarningMedium: "Medium", flowSizeWarningHigh: "High", flowSizeWarningVeryHigh: "Full", unknownUser: "Unknown User", unknownClient: "Unknown Client", unknownClientNumber: "Unknown Client %1$s", unknownDivision: "Unknown Division", unknownUserNumber: "Unknown User %1$s", nluEngineDoesNotSupportMultilingual: "This flow does not support adding additional supported languages. To add an additional supported language, use the 'Save As' menu to create a new flow and add additional languages to the new newly created flow. Once published, remember to update callers of the current flow to call the new flow." }, languages: { targetFlowSupportedLanguageNotSupportedInCallingFlow: "The flow '%2$s' supports the language %1$s which is not a supported language of this flow. To be usable, this language needs to be added as supported language to this flow.", targetFlowSupportedLanguageNotSupportedInCallingFlowMoreThanOne: "The flow '%2$s' supports the languages %1$s which are not supported languages of this flow. To be usable, these languages need to be added as supported languages to this flow.", flowRunsInDefaultLanguageIfInvokedWithUnsupportedLanguage: "If this flow is running in a language not supported in the '%1$s' flow when invoking it, the flow will start up in its default supported language of %2$s.", flowSupportedLanguageNotSupportedInTargetFlow: "This flow supports the language %1$s which is not a supported language on the flow '%2$s'.", flowSupportedLanguageNotSupportedInTargetFlowMoreThanOne: "This flow supports the languages %1$s which are not supported languages on the flow '%2$s'." }, flowOutcomes: { createFlowMilestoneTitle: "Create Flow Milestone", createFlowOutcomeTitle: "Create Flow Outcome", failure: "Failure", flowOutcome: "Flow Outcome", flowMilestone: "Flow Milestone", flowMilestoneNotFound: "The selected flow milestone could not be found.", flowOutcomeNotFound: "The selected flow outcome could not be found.", mustSelectFlowMilestone: "A flow milestone must be selected.", mustSelectFlowOutcome: "A flow outcome must be selected.", selectFlowMilestone: "Select Flow Milestone", selectFlowOutcome: "Select Flow Outcome", success: "Success" }, form: { formActionDatePicker: "Date Picker", formActionInput: "Input", formActionLibrary: "Library", formActionLibraryDescription: "The selected response library is only validated when a form is selected.", formResponseLibraryDoesNotContainForm: "The selected response library does not contain the selected form.", formNoResponseLibrariesContainForm: "There are no response libraries that contain the selected form.", formActionListPickerMultiSelect: "List Picker - Multiselect", formActionListPickerSingle: "List Picker - Single", formActionMustSelectForm: "A form must be selected.", formActionMustSelectLibrary: "A library must be selected.", formActionSelectLibrary: "Select a library", formChannelNote: "Form is only available for Apple Messages for Business. Using it on other channels will take the failure path.", formChannelNoteWithWebMessaging: "Form is only available for Apple Messages for Business and Genesys Business Messaging. Using it on other channels will take the failure path.", formCompletionTimeout: "Form Completion Timeout", formCompletionTimeoutDescription: "Once the form has been sent, this is the maximum length of time to wait for the participant to complete the form. If the form is not completed within this time then a No Input event will be triggered.", formLabel: "Form", formNotFound: "The selected form could not be found.", formPages: "Form Pages", selectForm: "Select a form" }, messagingTemplate: { messagingTemplateTypeLabel: "Message Template Type", messagingTemplateTypeDescription: "In Canned Response details, Standard corresponds to a Message Template and Carousel corresponds to a Media Carousel.", messagingTemplateActionLibraryDescription: "The selected response library is only validated when a message template is selected.", messagingTemplateActionMustSelectMessagingTemplate: "A message template must be selected.", messagingTemplateChannelNote: "Send Digital Content is only available for WhatsApp.", messagingTemplateLabel: "Message Template", messagingTemplateNoResponseLibrariesContainMessagingTemplate: "There are no response libraries that contain the selected message template.", messagingTemplateNotFound: "The selected message template could not be found.", messagingTemplateResponseLibraryDoesNotContainMessagingTemplate: "The selected response library does not contain the selected message template.", messagingTemplateSelectionResultDescription: "The variable that holds the value of the button chosen by the participant. If no choice is selected by the participant, the variable value will be left alone.", openMessagingTemplateInNewTab: "View Message Template", selectMessagingTemplate: "Select a message template" }, generic: { accessibility: "Accessibility", actionNeeded: "Action needed", aiPowered: "AI Powered", answerLabelCapitalized: "ANSWER", apply: "Apply", branches: { active: "Active", canceled: "Canceled", closed: "Closed", emergency: "Emergency", event: "Event", error: "Error", failure: "Failure", found: "Found", holiday: "Holiday", inactive: "Inactive", knowledgeDialogEngine: "Knowledge", matchExact: "Exact Match", matchMultiple: "Multiple", maxNoInputsBranch: "Max No Inputs", maxNoMatchesBranch: "Max No Matches", noEvent: "No Event", noIntent: "No Intent", noInputBranch: "No Input", notFound: "Not Found", open: "Open", partiallyFound: "Partially Found", processed: "Processed", skipResponse: "Skip Response", skipResponseCapture: "Skip Response Capture", success: "Success", timeout: "Timeout", valid: "Valid", invalid: "Invalid", loopsMax: "Max Loops", loopNext: "Next Loop", faxProcessed: "Fax Processed", voicemail: "Voicemail" }, browse: "Browse", backToOriginalTopic: "Back to Original Topic", cancel: "Cancel", changes: "Changes", confirm: "Confirm", condition: "Condition", confirmDeleteMessage: "Are you sure you want to delete this item?", containsErrors: "Contains errors", containsWarnings: "Contains warnings", continue: "Continue", clear: "Clear", clearAll: "Clear All", clickForHelp: "Click to view help.", clickToEditName: "Click to edit name", close: "Close", contactSupportIfKeepsHappening: "If this keeps happening, contact Support.", create: "Create", currentUser: "Current User", currentVersion: "Currently Referenced Version", dataType: "Data Type", dataTypes: "Data Types", default: "Default", delete: "Delete", deleteThisItem: "Delete this item", disabledDiscourageForNewUse: "Disabled \u2014 discouraged for new use.", divisions: "Divisions", done: "Done", description: "Description", digitalAudio: "Digital Audio", earlyPreview: "Early Preview", languageStatusPreviewTooltip: "This language is a preview release, the language model will improve over time with changes and further support.", edit: "Edit", editor: "Editor", enterText: "< put text here >", errorLabelCapitalized: "ERROR", exportFlow: "Export Flow", emptyPage: "This page is now empty. Navigate to a previous page.", enableDarkMode: "Enable Dark Mode", enableLightMode: "Enable Light Mode", errors: { errorCodeDescription: "A code that identifies the failure reason.", errorCodeExamplesTitle: "Example Error Code Values", errorFileRead: "There was an error reading the file." }, expandCardCardTooltip: "Hold shift to expand multiple cards", expressions: "Expressions", facebook: "Facebook", fileSizeWithValue: "File Size: %1$s", finished: "Finished", flowSetting: "Flow Setting", format: "Format", generating: "Generating...", genericOff: "Off", genericOn: "On", identifier: "Identifier", inferredPrompts: "Prompts used by this action", inputLabelCapitalized: "INPUT", isCollection: "Is Collection", itemLabel: "Item %1$s", items: "Items", joinTwoSentences: "%1$s %2$s", joinThreeSentences: "%1$s %2$s %3$s", keyHyphenValue: "%1$s - %2$s", keyBracketValue: "%1$s [%2$s]", launch: "Launch", loadMore: "Load more...", loading: "Loading...", loaded: "Loaded", maxFileSize: "Maximum file size is %1$s.", message: "Message", move: "Move", moveDown: "Move down", moveToBottom: "Move to bottom", moveToNewSection: "Move to new section", moveTo: "Move to", moveToTop: "Move to top", moveUp: "Move up", name: "Name", namespace: "Namespace", nameAndValue: "Name: %1$s", nameWatermark: "Enter a name", no: "No", noFieldsFound: "No fields found", notNatively: "Not Natively", note: "Note:", notifications: { clickForInfo: "Click this notification for more information." }, numberWithPercent: "%1$s%%", okDontUseThis: "OK", openDropdown: "Open Dropdown", openItem: "Open Item", optional: "Optional", options: "options", other: "Other", overview: "Overview", outputLabelCapitalized: "OUTPUT", performingOperation: "Performing Operation", permissions: { allDivisions: "All Divisions", divisionHeader: "Division", divisionHeaderMoreThanOne: "Divisions", missingPermission: "You do not have the permission '%1$s'.", missingPermissionWithDivision: "You do not have permission '%1$s' in division '%2$s' to perform this action.", permissionRestriction: "Permission Restriction", error: "An error has occurred while processing permissions", hiddenFlowCount: "Hidden flow count: %s", missing: { dependencyTracking: { rebuild: "You do not have permission to initiate a dependency rebuild.", view: "You do not have permission to view dependency tracking." }, conversation: { conference: { add: "You do not have permission to make calls." } }, copilot: { session: "You do not have permission to view this session.", message: { view: "You do not have permission to view messages.", send: "You do not have permission to send messages." } }, flow: { allPermissions: { add: "You do not have permission to add flows.", delete: "You do not have permission to delete flows.", edit: "You do not have permission to edit flows.", launch: "You do not have permission to launch flows.", publish: "You do not have permission to publish flows.", search: "You do not have permission to search flows.", unlock: "You do not have permission to unlock flows.", view: "You do not have permission to view flows." }, flowMilestones: { noPermissionToAddFlowMilestone: "You do not have permission to add flow milestones.", add: "You do not have permission to add flow milestones. You need the architect:flowMilestone:add permission in at least one division in the organization to add a flow milestone.", search: "You need the architect:flowMilestone:search permission in at least one division in the organization to add a flow milestone." }, noSpecificDivision: { view: "You do not have permission to view this flow." }, flowOutcomes: { noPermissionToAddFlowOutcome: "You do not have permission to add flow outcomes.", add: "You do not have permission to add flow outcomes. You need the architect:flowOutcome:add permission in at least one division in the organization to add a flow outcome.", search: "You need the architect:flowOutcome:search permission in at least one division in the organization to add a flow outcome." }, specificDivision: { deleteSingle: "You do not have the flow delete permission in the division of the following flow:", deleteMultiple: "You do not have the flow delete permission in the divisions of the following flows:", unlockSingle: "You do not have the flow unlock permission in the division of the following flow:", unlockMultiple: "You do not have the flow unlock permission in the divisions of the following flows:" } }, journey: { actionmap: { journeyActionmapView: "You do not have permission to view action maps." }, flowpaths: { journeyFlowsView: "You do not have permission to view Journey Flows." } }, prompts: { systemPrompts: { edit: "You do not have permission to edit system prompts.", view: "You do not have permission to view system prompts." }, userPrompts: { add: "You do not have permission to add user prompts.", delete: "You do not have permission to delete user prompts.", edit: "You do not have permission to edit user prompts.", import: "You do not have permission to view, add, and edit user prompts and view and edit system prompts.", view: "You do not have permission to view user prompts." } }, recording: { retentionPolicy: { recordingRetentionPolicyView: "You do not have permission to view Quality Policies" } }, responseAssets: { asset: { responseAssetMissingPermissionAdd: "You do not have permission to add response assets. You need the '%1$s' permission in at least one division in your organization to do so.", responseAssetMissingPermissionView: "You do not have permission to view response assets. You need the '%1$s' permission in at least one division in your organization to do so." } }, grammars: { grammarsMissingPermissionAdd: "You do not have permission to add grammars.", grammarsMissingPermissionDelete: "You do not have permission to delete grammars.", grammarsMissingPermissionEdit: "You do not have permission to edit grammars.", grammarsMissingPermissionView: "You do not have permission to view grammars." }, taskManagementWorkitems: { workItemsMissingPermissionView: "You do not have permission to view Workitems." } } }, pickOneToSend: "Pick one to send.", pleaseNote: "Please Note", pleaseWait: "Please wait...", preferences: "Preferences", preview: "Preview", product: { couldNotLoadProductError: "'%1$s' could not load.", loadingProduct: "Loading '%1$s'...", weCouldNotLoadProductError: "We could not load '%1$s'." }, queryLabelCapitalized: "QUERY", rawValue: "Raw Value", readonly: "This is read only.", recording: "Recording", refresh: "Refresh", remove: "Remove", reorder: "Reorder", reset: "Reset", restricted: "Restricted", ruleLabel: "Rule", save: "Save", searchDataTypes: "Search data types...", searchTerm: "Search Term", section: "Section", sections: "Sections", seeResourceCenter: { flowsCallingFlows: "Learn more about flows calling flows in our {{link.__FLOWS_CALLING_FLOWS__, Resource Center}}.", generic: "For more information, see the {{link.__RESOURCE_URL__, Resource Center}}.", pricingAndSupportedLanguages: "For more information about pricing and supported languages, see the {{link.__RESOURCE_URL__, Resource Center}} documentation." }, selectAll: "Select All", selectFile: "Select file", selectMulti: "Multi-select", selectSingle: "Single select", sentenceWithPeriod: "%1$s.", setDescription: "Set description...", showAllErrors: "Show all errors", showAllWarnings: "Show all warnings", showAllFields: "Show all fields", showInformation: "Show Information", sizeBytes: "%1$sb", sizeMegabytes: "%1$sMB", start: "Start", stop: "Stop", stopping: "Stopping...", switch: "Switch", sessionSourcesNote: "This property is only supported in %1$s conversations. This is true when the Session.Source variable value equals %2$s at flow runtime.", sessionSourcesNoteForLabel: "%1$s is only supported in %2$s conversations.", sessionSourcesConditionNote: "This is true when the Session.Source variable value equals %1$s at flow runtime.", yes: "Yes", tasks: "Tasks", textWithSingleQuotes: "'%1$s'", thisActionCantBeUndone: "This action can't be undone.", time: "Time", truncatedText: "%1$s...", tryAgainWithPeriod: "Try again.", type: "Type", types: "Types", selectAtLeastOne: "select at least one", unknown: "Unknown", update: "Update", upload: "Upload", urlFormat: "The URL string must conform to a valid URL format, for example, https://www.example.com.", usages: "Usages", usingOnOtherChannelsFailurePath: "Using it on other channels will take the failure path.", validation: "Validation", value: "Value", version: "Version", versionNumber: "Version %1$s", view: "View", video: "Video", whatsApp: "WhatsApp", zoomToFit: "Zoom to Fit", zoomToFitWidth: "Zoom to Fit Width", zoomToFitHeight: "Zoom to Fit Height" }, getAttributes: { addAttributeLabel: "Add attribute to retrieve", noAttributesError: "There are no attributes defined", variableLabel: "Variable to Assign %1$s" }, getConversationData: { conversationDescription: "The conversation ID to get participant data from.", conversationLabel: "Conversation ID", participantDescription: "If supplied, the participant data of the specified participant is used. In most cases, this can remain unspecified or NOT_SET and the customer/external participant will be used.", participantLabel: "Participant ID" }, commonExternalContact: { nameLabel: "External Contact ID", externalContactResult: "External Contact Result" }, updateExternalContact: { conditionUpdateIfExists: "Update If Exists", conditionUpdateIfEmpty: "Update If Empty", conditionAppendToCollection: "Append To Collection", conditionRemoveFromCollection: "Remove From Collection", externalContactFields: "External Contact Fields" }, assignedCustomerIntents: { assignedCustomerIntentsLabel: "External Contact ID", assignedCustomerIntentsResult: "Customer Intents Result" }, customerIntent: { customerIntentLabel: "Customer Intent" }, customerSegment: { customerSegmentLabel: "Customer Segment", customerSegmentPlaceholder: "Select a customer segment" }, getEmailHeaders: { emailHeaderNamesDescription: "The optional String Collection of Email Header Names. If NOT_SET or empty then all headers will be returned.", emailHeaderNamesLabel: "Email Header Names", emailHeaderNamesNoValueLabel: "All Email Headers", emailHeadersResultDescription: "The Email Headers value that is processed at flow runtime.", emailHeadersResultLabel: "Email Headers Result", noEmailHeaderNames: "No Email Header Names" }, getExternalOrganization: { nameLabel: "External Organization ID", externalOrganizationResult: "External Organization Result" }, getResponse: { library: "Library", noResponsesFound: "There are no responses in the selected library.", mustSelectLibrary: "A library must be selected.", mustSelectResponse: "A response must be selected.", noResponseLibrariesContainResponse: "There are no response libraries that contain the selected response.", performSubstitutions: "Perform Substitutions", response: "Response", responseBody: "Output Response Body", responseBodyDescription: "The html text of the response.", responseBodyHandlingDescription: "Determines how formatting contained in the '%1$s' canned response output String variable is processed at flow runtime. If this setting value at flow runtime evaluates to a value other than one of the allowable values, 'convertToMarkdown' will be used.", responseBodyHandlingLabel: "Response Body Handling", responseLibraryDoesNotContainResponse: "The selected response library does not contain the selected response.", responseLibraryIsInvalid: "The response library '%1$s' is invalid.", responseLibraryNotFound: "The selected response library could not be found.", responseNotFound: "The selected response could not be found.", savedVersionOfResponse: "Flow is referencing a cached version of this response. The response may be out of date or deleted.", selectLibrary: "Select a library", selectedResponse: "Selected Response", selectResponse: "Select a response", suggestedLibraryOne: "Library suggestion", suggestedLibraryMoreThanOne: "Library suggestions", substitutions: "Substitutions", noSubstitutions: "No substitutions available" }, getSIPHeaders: { rawSIPHeadersResultLabel: "Raw SIP Headers Result", rawSIPHeadersResultDescription: "The Raw SIP Headers value that is processed at flow runtime.", sipHeadersResultLabel: "SIP Headers Result", sipHeadersResultDescription: "The SIP Headers value that is processed at flow runtime.", sipHeaderNamesLabel: "SIP Header Names", sipHeaderNamesDescription: "The optional String Collection of SIP Header Names. If NOT_SET or empty then all headers will be returned.", sipHeaderNamesNoValueLabel: "All SIP Headers", noSipHeaderNames: "No SIP Header Names" }, group: { label: "Group", groupLabelPlural: "Groups", placeholder: "Select a group", noExtError: "No phone number found for the selected group. Transfers will fail at runtime." }, help: { about: "About", architectHelp: "Architect Help", backToResults: "Back to results", currentHelpTopic: "Current Topic", expressionHelp: "Expression Help", privacyPolicy: "Privacy Policy", reportIssue: "Report Issue", resourceCenter: "Resource Center", show: "Show help", helpAndResources: "Help and resources", help: "Help", helpResourceCommunity: "Community", helpResourceOrchestrators: "Genesys Orchestrators", helpResourceReleaseNotes: "Release Notes", helpResourceEducation: "Education", helpResourceStatus: "Genesys Cloud Status", noSearchResults: "No results for your search", searchHelpContent: "Search help content", searchHelpContentDescription: "Use double quotation marks to search for a specific term or phrase. For example, \u201COrganization settings\u201D.", viewSource: "Open in Resource Center" }, holdMusic: { durationLabel: "Duration", playForDuration: "Play for duration", playLengthLabel: "Play Style", playPrompt: "Play prompt", promptLabel: "Hold Music" }, inputOutputList: { arrayWithMixedTypes: "The '%1$s' schema for '%2$s' includes one or more arrays containing multiple data types. These will be ignored by Architect, since arrays with mixed types are unsupported.", arrayWithNoType: "The schema for '%1$s' contains an array with no 'items' property specifying what kind of items are contained in the array. Architect will treat these as string arrays, which could cause error handling to be invoked at runtime if non-string values are encountered.", failureOutputs: "Failure Outputs", inputs: "Inputs", noInputs: "There are no inputs.", noInputsOutputs: "There are no inputs or outputs.", unableToRetrieveSchema: "Unable to retrieve inputs or outputs for this action.", outputs: "Outputs", successOutputs: "Success Outputs", foundOutputs: "Found Outputs", schemaError: "The selected data action reported an invalid '%1$s' schema. Please check the data action\u2019s configuration and validate the flow again." }, importFlow: { fileLabel1: "Flow file to import (%1$s)", filePlaceHolder: "Select a configuration file to import", title: "Import a flow" }, importPrompts: { addAudio: "Add additional audio...", addAudioButton: "Add to import", audioNew: "New Audio", audioUpdate: "Replacing Audio", cancelImportTitle: "Cancel Import", cancelImportMessage: "An import is currently in progress. Are you sure you wish to dismiss the modal and cancel the import?", importDescriptionNewAndUpdated: "New prompts after import: %1$s, Updated prompts after import: %2$s", importDescriptionNew: "New prompts after import: %1$s", importDescriptionUpdated: "Updated prompts after import: %1$s", importFinishedResults: "Import results: New Prompts: %1$s, Updated Prompts: %2$s, Audio Uploads: %3$s, New TTS Values: %4$s", importFinishedResultsWithText: "Import results: New Prompts: %1$s, Updated Prompts: %2$s, Audio Uploads: %3$s, New TTS Values: %4$s, New Text Values: %5$s", importFinishedResultsFailures: "There were %1$s failures", importFinishedResultsFailure: "There was 1 failure", importFinishedResultsCanceled: "Canceled: Prompt Updates: %1$s, Audio Uploads: %2$s, TTS Values: %3$s", importFinishedResultsCanceledWithText: "Canceled: Prompt Updates: %1$s, Audio Uploads: %2$s, TTS Values: %3$s, Text Values: %4$s", importFinishedResultsWarning: "Found leading or trailing whitespace with file name '%1$s'. When the prompt import process is running, file name will be formatted to match the name in the CSV configuration.", importingActive: "Updating Prompts: %1$s, Importing Audio Files: %2$s, Setting TTS Values: %3$s", importingActiveWithText: "Updating Prompts: %1$s, Importing Audio Files: %2$s, Setting TTS Values: %3$s, Text Values: %4$s", noPromptError: "There are no prompts to import.", noMatchingSystemPrompt: "No matching system prompt found", resultCreated: "Created prompt %1$s", resultCreateCanceled: "Canceled creating prompt %1$s", resultCreateFailed: "Failed to create prompt %1$s", resultSkippedAudio: "User skipped uploading (%1$s) for prompt %2$s (%3$s)", resultSkippedTts: "User skipped setting TTS for prompt %1$s (%2$s)", resultSkippedText: "User skipped setting Text for prompt %1$s (%2$s)", resultIgnoredWav: "Wav (%1$s) skipped because no matching prompt found", resultSetTTS: "Set TTS for prompt %1$s (%2$s)", resultSetTTSCanceled: "Canceled setting TTS for prompt %1$s (%2$s)", resultSetText: "Set Text for prompt %1$s (%2$s)", resultSetTextCanceled: "Canceled setting Text for prompt %1$s (%2$s)", resultsFileName: "Import Results %1$s", resultUpdated: "Updated prompt %1$s", resultUpdateCanceled: "Canceled updating prompt %1$s", resultUpdatedFailed: "Failed to update prompt %1$s", resultUploaded: "Uploaded audio (%1$s) for prompt %2$s (%3$s)", resultUploadCanceled: "Canceled uploading audio (%1$s) for prompt %2$s (%3$s)", resultUploadedFailed: "Failed to upload audio (%1$s) for prompt %2$s (%3$s)", resultUploadErrorNoFile: "No file (%1$s) available to upload for prompt %2$s (%3$s)", previewImport: "Preview Import", saveResults: "Save Results", start: "Start Import", selectionDisabledNoChanges: "There is nothing to import, add audio", selectionDisabledNoChangesNoAudio: "There is nothing to import", selectionAddTooltip: "Adding new prompt", selectionUpdatedTooltip: "Updating existing prompt", title: "Import Prompts", textNew: "New text:", ttsNew: "New text to speech:", typeSystem: "System Prompt", unusedFiles: "There are %1$s audio files that do not have prompt matches", unusedFile: "There is 1 audio file that does not have a prompt match", parseErrors: { fieldMismatched: "Number of fields mismatched on line %1$s", other: "Unknown error parsing file" } }, intents: { label: "Intents", settings: { intentSettingConfirmationDescription: "Wording the bot will use when confirming this is the desired intent of the participant. The participant is expected to reply with a yes or no answer.", confirmation: "Confirmation", noIntentsDefined: "There are no intents defined in the bot's Natural Language Understanding configuration. You can create intents in the 'Intents' node.", goToIntents: "Go to Intents" }, secureSlotVariableUsedInIntentUtterance: "The slot variable '%1$s' cannot be marked as secure because its corresponding slot '%2$s' is referenced in the intent %3$s. To correct this error you may either turn off the secure setting on the variable or remove the slot from the intent.", secureSlotVariableUsedInIntentUtteranceMoreThanOne: "The slot variable '%1$s' cannot be marked as secure because its corresponding slot '%2$s' is referenced in the intents %3$s. To correct this error you may either turn off the secure setting on the variable or remove the slot from the intent." }, dynamicSlotTypes: { dynamicSlotTypesLabel: "Dynamic Slot Types", settings: { dynamicSlotTypeSettingValuesLabel: "Values", dynamicSlotTypeSettingValuesDescription: "A collection whose items supply possible String values for the slot type.", dynamicSlotTypeSettingSynonymsLabel: "Synonyms", dynamicSlotTypeSettingSynonymsNoValueSelectionLabel: "No Synonyms Specified", dynamicSlotTypeSettingSynonymsDescription: "A collection whose String items supply one or more synonyms for values in the '%1$s' collection. To specify a synonym for a value, add the synonym String value to the same index in this collection that the value has in the '%1$s' collection. To specify more than one synonym for an individual slot type value, assign a String value at the appropriate index in this collection but separate the individual synonyms with a ',' character.", dynamicSlotTypeSettingLabelsLabel: "Labels", dynamicSlotTypeSettingLabelsNoValueSelectionLabel: "No Labels Specified", dynamicSlotTypeSettingLabelsDescription: "A collection whose Communication items supply wording for values in the '%1$s' collection. To specify wording for an individual value, add the Communication value to the same index in this collection that the value has in the '%1$s' collection." } }, dynamicTimeslots: { dynamicTimeslotsLabel: "Dynamic Timeslots", dynamicTimeslotsDateTimeLabel: "Date and Time", dynamicTimeslotsDurationLabel: "Duration", settings: { dynamicTimeslotSettingTimeslotsLabel: "Timeslots", dynamicTimeslotSettingTimeslotsDescription: "A collection whose items supply possible Timeslot values for the slot type." } }, digitalAudio: { digitalAudioPlaceholder: "Select a Digital Audio response asset", browseForDigitalAudioLabel: "Browse for Digital Audio...", searchDigitalAudios: "Search Digital Audio...", useDigitalAudio: "Use Digital Audio", errors: { errorDownloadingDigitalAudio: "There was an error downloading the digital audio.", errorUploadingDigitalAudio: "There was an error uploading the digital audio", errorInvalidDigitalAudioName: "This Digital Audio name is not valid.", errorInvalidDigitalAudioFileType: "The selected file is not a valid digital audio file." }, uploadingDigitalAudio: "Uploading digital audio..." }, file: { file: "File", filePlaceholder: "Select a File response asset", browseForFileLabel: "Browse for File...", searchFiles: "Search Files...", supportedFileTypes: "Supported file types are: %1$s", useFile: "Use File", errors: { errorDownloadingFile: "There was an error downloading the file.", errorUploadingFile: "There was an error uploading the file.", errorInvalidFileName: "This file name is not valid.", errorInvalidFileType: "The selected file is not a valid file." }, uploadingFile: "Uploading file..." }, image: { conversion: { imageConvertBuilderToLiteralTitle: "Convert Image Builder To Literal", imageConvertBuilderToLiteralMessage: "Switching from builder to literal mode will reset the value. Do you wish to continue?", imageConvertExpressionToLiteralMessage: "Switching from expression to literal mode will reset the value. Do you wish to continue?", imageConvertExpressionToLiteralTitle: "Convert Image Expression To Literal", imageConvertLiteralToExpressionMessage: "The generated Image expression will be saved but you will not be able to return to literal mode without resetting the expression.", imageConvertLiteralToExpressionTitle: "Convert Image Literal To Expression", imageConvertModesMessage: "Switching from %1$s mode to %2$s mode will reset the value. Do you wish to continue?", imageConvertModesTitle: "Convert Image %1$s to %2$s" }, browseForImageLabel: "Browse for Image...", errors: { errorDownloadingImage: "There was an error downloading the image.", errorUploadingImage: "There was an error uploading the image", errorInvalidImageName: "This Image name is not valid.", errorInvalidImageFileType: "The selected file is not a valid image file." }, image: "Image", imagePlaceholder: "Select an Image", searchImages: "Search Images...", supportedFileTypes: "Supported file types are JPG, JPEG, PNG and GIF", useImage: "Use Image", uploadImageModalHeader: "Upload New Asset", uploadingImage: "Uploading image..." }, video: { videoPlaceholder: "Select a Video response asset", browseForVideoLabel: "Browse for Video...", searchVideos: "Search Videos...", useVideo: "Use Video", errors: { errorDownloadingVideo: "There was an error downloading the video.", errorUploadingVideo: "There was an error uploading the video", errorInvalidVideoName: "This Video name is not valid.", errorInvalidVideoFileType: "The selected file is not a valid video file." }, uploadingVideo: "Uploading video..." }, responseAsset: { responseAsset: "Response Asset", responseAssetPlaceholder: "Select a Response Asset", responseAssetAttachmentsDescription: "A collection of response assets attached to the response.", searchResponseAssets: "Search Response Assets...", useResponseAsset: "Use Response Asset", errors: { errorDownloadingResponseAsset: "There was an error downloading the asset.", errorUploadingResponseAsset: "There was an error uploading the asset", errorInvalidResponseAssetName: "This name is not valid.", errorInvalidResponseAssetFileType: "The selected file is not a valid file." }, responseAssetAttachmentsLabel: "Attachments", uploadingResponseAsset: "Uploading asset..." }, itemListing: { lastItemAndSeparator: " and ", lastItemOrSeparator: " or " }, codeEditor: { architectExpressionsUnavailable: "Architect expressions cannot be used here.", architectExpressionsUnavailableForVariableInitialValue: "Architect expressions cannot be used for a variable initial value.", autoCompleteEntries: { codeEditorNullDescription: "Enters the value null", codeEditorNullValue: "null", codeEditorTimeBlankDescription: "Enters a blank String where you can supply a Time", codeEditorTimeDescription: "Enters a Time value for 12:00:00 AM", dateTimeBlankDescription: "Enters a blank String where you can supply a Datetime", dateTimeTodayDescription: "Enters a Datetime value for today", dateTimeTodayDisplayText: "Today's Datetime", dateTodayDisplayText: "Today's Date", dateTodayDescription: "Enters a Date value for today", dateBlankDescription: "Enters a blank String where you can supply a Date", decimalOneDescription: "Enters a Decimal value of 1.0", decimalOrIntegerOneLabel: "One", decimalOrIntegerZeroLabel: "Zero", decimalZeroDescription: "Enters a Decimal value of 0.0", durationBlankDescription: "Enters a blank String where you can supply a Duration", durationFiveMinutesDescription: "Enters a Duration value for five minutes", durationFiveMinutesLabel: "5 Minutes", durationOneDayDescription: "Enters a Duration value for one day", durationOneDayLabel: "1 Day", durationOneHourDescription: "Enters a Duration value for one hour", durationOneHourLabel: "1 Hour", durationOneMinuteDescription: "Enters a Duration value for one minute", durationOneMinuteLabel: "1 Minute", durationThirtySecondsDescription: "Enters a Duration value for 30 seconds", durationThirtySecondsLabel: "30 Seconds", emptyArrayDescription: "Enters an empty array", emptyJsonObjectDescription: "Enters an empty JSON object", enterLiteralDescription: "Enter a literal '%1$s' selector", inlineExpressionDescription: "Enter an expression to supply the value", integerOneLabel: "Enters an Integer value of 1", integerZeroLabel: "Enters an Integer value of 0", literalValuesSection: "Literal Values" }, codeEditorTitle: "Code Editor", convertCategoryLabel: "Convert", cursorNumberHeader: "Cursor:", cursorNumberAriaLabel: "Cursor, Line Number: %1$s, Column: %2$s", fixCategoryLabel: "Fix", lineNumberHeader: "Line %1$s:", noValidationErrorsMessage: "No Errors", toggleSuggestionsPanel: "Toggle Suggestions Panel", validationCompleteMessage: "Validated", parseErrors: { facets: { allowableValuesFacetLabel: "allowable values", maxFacetLabel: "max", maxItemsFacetLabel: "max items", maxLengthFacetLabel: "max length", minFacetLabel: "min", minItemsFacetLabel: "min items", minLengthFacetLabel: "min length" }, tokens: { tooManyDecimalPlaces: "The Decimal value has %1$s decimal places. %2$s allowed.", tokenDuplicate: "Duplicate token '%1$s'.", tokenInvalid: "Invalid token '%1$s'.", tokenMissing: "Missing token '%1$s'.", tokenUnexpected: "Unexpected token '%1$s'.", invalidTokenOrderMustFollow: "'%1$s' must follow '%2$s'.", invalidTokenOrderMustPrecede: "'%1$s' must precede '%2$s'." }, arrayLengthTooBig: "Array item count %1$s is too large.", arrayLengthTooSmall: "Array item count %1$s is too small.", separatorIsUnnecessary: "Unnecessary separator '%1$s'.", extraValueErrorMessage: "Extra value.", invalidNumber: "Invalid number.", invalidNumericCharacter: "Invalid numeric character", invalidSyntax: "Invalid syntax.", formatPropertyWithMessage: "Property '%1$s' - %2$s", stringLengthTooBig: "The string length %1$s is too big.", stringLengthTooSmall: "The string length %1$s is too small.", tokenAfterEndOfValue: "Unexpected token '%1$s' past end of value.", valueIncomplete: "Value is incomplete." }, properties: { missingRequiredPropertiesPlural: "Missing required properties: '%1$s' for the type '%2$s'.", missingRequiredPropertySingular: "Missing required property '%1$s' for the type '%2$s'.", propertyCannotBeAddedToNonObject: "You cannot add a property to something that is not an object.", propertyIsDuplicated: "Duplicate property '%1$s'.", propertyIsReadOnly: "The property '%1$s' is read only.", propertyNamesCannotBeBlank: "Property names can't be blank.", propertyNameNotValidForType: "The property name '%1$s' is not valid for the type '%2$s'." }, search: { closeSearchPanel: "Close find and replace panel", codeEditorPanelFind: "Find:", codeEditorPanelFindAndReplace: "Find and replace", codeEditorPanelNextMatchButton: "Next Match", codeEditorPanelPreviousMatchButton: "Previous Match", codeEditorPanelReplace: "Replace", codeEditorPanelReplaceAll: "Replace all", codeEditorPanelReplaceWith: "Replace with:" }, shortcuts: { shortcutFindLabel: "Find", shortcutNextMatchLabel: "Next match", shortcutPreviousMatchLabel: "Previous match", shortcutShowTypeaheadLabel: "Show typeahead" }, suggestions: { addFunctionCall: "Add a '%1$s' function call", addMissingSeparator: "Add the missing separator '%1$s'", closeSuggestionsPanel: "Close suggestions panel", lintSuggestionsLabel: "Suggestions", maxValueClosestTo: "This is the maximum value that is closest to '%1$s'.", minValueClosestTo: "This is the minimum value that is closest to '%1$s'.", removeUnnecessarySeparator: "Remove the unnecessary separator '%1$s'", replaceWith: "Replace with '%1$s'.", separators: { addSeparatorSuggestion: "Add separator '%1$s'.", replaceSeparatorSuggestion: "Replace separator with '%1$s'." } }, types: { codeEditorValueTooLarge: "The value '%1$s' is too large.", codeEditorValueTooLargeNoValue: "The value is too large.", codeEditorValueTooPrecise: "The value is too precise.", codeEditorValueTooSmall: "The value '%1$s' is too small.", codeEditorValueTooSmallNoValue: "The value is too small.", dateSupplyCurrent: "Supply today's date.", dateTimeInvalid: "You must use a 'T' between the date and time components of a DateTime value.", decimalCannotBeUsedHere: "Decimal values cannot be used here.", decimalValueSignificantDigits: "Decimal values are limited to %1$s significant digits.", incompatibleType: "Incompatible type.", incompatibleTypeAssignment: "Incompatible type assignment.", invalidTypeValue: "Invalid '%1$s' value.", returnValueTypeMismatch: "'%1$s' does not match the expected type of '%2$s'. To fix this, wrap in a '%3$s' function call.", timeUnitNeedsDigitValue: "'%1$s' needs a %2$s digit value.", timeUnitNeedsDigitValueForDataType: "'%1$s' values need a %2$s digit value for '%3$s'.", typeIncompatibilityAssignmentError: "Cannot assign the '%1$s' value '%2$s' to type '%3$s'.", typeIncompatibilityError: "'%1$s' values cannot be used to supply '%2$s' values.", timeOutOfBounds: "'%1$s' is out of bounds.", dateTimeSupplyCurrent: "Supply current date and time as a Datetime value.", timeSupplyMonthFromToday: "Supply the current month.", timeSupplyDayFromMonth: " Supply today's day of month.", durationXsdFormat: "Duration values must use the XSD format of (-)PnDTnHnMn.nnnS.", durationOnlySecondsCanBeDecimal: "Only the seconds portion of a Duration is allowed to use a Decimal value to specify up to millisecond granularity.", durationMustSpecifyDHMS: "Must specify either 'D', 'H', 'M' or 'S'.", durationMustSpecifyMinimum: "You must specify at least '0S' on a Duration value.", integerCannotBeUsedHere: "Integer values cannot be used here.", stringLengthTooLarge: "String length %1$s is too large.", durationMaxValue: "The maximum value allowed for a Duration is 999999999999999 milliseconds (11574074 days, 1 hour, 46 minutes and 39.999 seconds).", durationMinValue: "The minimum value allowed for a Duration is -999999999999999 milliseconds (-11574074 days, -1 hour, -46 minutes and -39.999 seconds).", requiredPropertiesMissing: "Required properties missing.", stringLengthTooSmall: "String length %1$s is too small.", timeInvalidSeparatorHourMinute: "You must use a ':' to separate the hour and minute.", timeInvalidSeparatorMinuteSecond: "You must use a ':' to separate the minute and second.", timeInvalidSeparatorYearMonth: "You must use a '-' to separate the year and month.", timeInvalidSeparatorMonthDay: "You must use a '-' to separate the month and day.", typeDoesNotSupportLiteralDropdownAddendum: "To have an array that includes arrays in a JSON value, be sure in the literal text to put a space between array starting brackets like this '[ [' instead of using '[['.", typeDoesNotSupportLiteralDropdownError: "'%1$s' values do not support [[]] references.", valueMustBeInGivenFormat: "%1$s values need to be in the format '%2$s'.", typeNotFoundError: "The '%1$s' named '%2$s' could not be found.", valueNotAllowed: "'%1$s' is not allowed.", valueNotValidForTypeGeneric: "'%1$s' is not a valid '%2$s' value.", timeUseStringDoubleZero: "Use the string '00' for '%1$s'.", truncateStringSuggestion: "Truncate string to length: %1$s", typeCanBeConverted: "Convert the '%1$s' value to a '%2$s' value using the '%3$s' expression function." }, units: { dayUnitLabel: "Day", hourUnitLabel: "Hour", minuteUnitLabel: "Minute", monthUnitLabel: "Month", secondUnitLabel: "Second", yearUnitLabel: "Year" } }, json: { general: { customJSONLabel: "Custom JSON", jsonLabel: "JSON", jsonEditorTitle: "JSON Editor", jsonEditorSubtitle: "Enter JSON, string, number or boolean below.", openJsonLiteralEditor: "Click to add JSON literal value" }, genericError: { invalidJson: "Invalid JSON", jsonLengthExceedsCharacterLimit: "Input JSON must not exceed 32000 characters.", jsonMustNotBeUndefinedOrBlank: "JSON must not be undefined or blank.", jsonUnexpectedToken: "Unexpected token: %1$s", unexpectedEndOfJson: "Unexpected end of JSON input." }, positionError: { jsonError: "JSON error", jsonErrorWithPosition: "%1$s at position: %2$s", jsonErrorPosition: "%1$s:%2$s", jsonExpectedColonAfterPropName: "Expected ':' after property name in JSON", jsonExpectedCommaOrClosingCurlyAfterPropValue: "Expected ',' or '}' after property value in JSON", jsonExpectedNonWhitespaceCharacter: "Unexpected non-whitespace character after JSON", jsonExpectedPropNameOrClosingCurly: "Expected property name or '}' in JSON", jsonUnterminatedString: "Unterminated string in JSON" }, conversion: { jsonConvertExpressionToLiteralMessage: "Switching from expression to literal mode will reset the value. Do you wish to continue?", jsonConvertExpressionToLiteralTitle: "Convert JSON Expression To Literal", jsonConvertLiteralToExpressionMessage: "The generated JSON expression will be saved but you will not be able to return to literal mode without resetting the expression.", jsonConvertLiteralToExpressionTitle: "Convert JSON Literal To Expression", jsonConvertModesMessage: "Switching from %1$s mode to %2$s mode will reset the value. Do you wish to continue?", jsonConvertModesTitle: "Convert JSON %1$s to %2$s", toggleJsonStandardMode: "Toggle between JSON and standard mode" }, customJson: { switchModeModalTitle: "Switch to %1$s", switchModeMessage: "Switching from %1$s to %2$s mode will reset the value. Resetting the value will result in anything you have configured in %1$s mode being cleared. Would you like to proceed?", expressionToLiteralConversionMessage: "Switching from literal to expression mode will reset all input values. Resetting the values will result in anything you have configured in literal mode being cleared. Would you like to proceed?", literalToExpressionConversionMessage: "Switching from expression to literal mode will reset the input value. Resetting the value will result in anything you have configured in expression mode being cleared. Would you like to proceed?", switchModeWithErrorsModalTitle: "Switching from %1$s to %2$s with errors", switchJsonToStandardWithErrorsMessage: "There are issues in the current JSON configuration. If you switch back to Standard without resolving them, all fields will reset to their last valid values. Would you like to proceed?", switchStandardToJsonWithErrorsMessage: "There are issues with the current settings in Standard. These issues will persist in JSON. If you switch back to Standard without fixing them, all fields will reset to their last valid values. Would you like to proceed?", inputJson: "Input JSON", standardModeUnavailable: "Standard does not support editing properties with complex JSON structures (arrays, nested objects, etc.). Switch to JSON to edit.", outputJson: "Output JSON" }, input: { outputsLabel: "Outputs", standardLabel: "Standard", expressionLabel: "Expression", literalLabel: "Literal", inputsLabel: "Inputs" } }, lex: { addSessionVariable: "Add Session Variable", aliasNotFound: "The selected alias could not be found.", botAlias: "Bot Alias", botName: "Bot Name", initialIntentLabel: "Initial Intent Name", intents: "Intents", lexV2AliasDescription: "Language: '%1$s', Region: '%2$s'", lexV2BotDescription: "Region: '%1$s'", lexBotAlias: "Lex Bot Alias", lexV2BotAlias: "Lex V2 Bot Alias", lexV2Bot: "Lex V2 Bot", lexBot: "Lex Bot", mustSelectAlias: "An alias must be selected.", mustSelectBotName: "A bot name must be selected.", noSlots: "There are no slots defined for this intent.", lexAliasNotReady: "The selected alias has a status of '%1$s' in AWS. It must have a status of '%2$s' to be valid.", savedVersionOfAlias: "Flow is referencing a cached version of this alias. The alias may be out of date or deleted.", secondaryHeaderForVersion: "(Version %1$s)", selectAlias: "Select Bot Alias", selectBotName: "Select Bot Name", sessionVariable: "Session Variable", sessionVariables: "Session Variables", noSessionVariablesDefined: "No Session Variables defined", speechRecMustBeEnabled: "Speech recognition must be enabled in flow settings.", speechRecMustBeEnabledBecauseCommonModuleNeedsIt: "Speech recognition must be enabled because the Common Module '%1$s' uses speech recognition functionality.", startingAudio: "Starting Audio", unableToRetrieveBot: "Was unable to retrieve bot for selected alias.", botNameNotFound: "Selected bot name could not be found", inputTextLabel: "Bot Input Text", inputTextDescription: "The text to send to the Lex bot.", inputTextDescriptionForChat: "The text to send to the Lex bot. This is usually only set when chaining Lex bot actions." }, lostConnection: { backupFlowFoundMessage: "A backup flow with unsaved changes created %1$s was found.", badRequestMessage: "Architect could not perform the selected operation. Please report this error to your organization administrator.", buttonRetry: "Retry", buttonWait: "Keep Waiting", buttonRecoverBackup: "Recover these changes", connectionLost: "The connection to the cloud was lost. Press OK to login again.", connectionTimeoutNoRetry: "The cloud is not responding to requests. You can keep waiting if you are on a slow connection or refresh the page to start over.", connectionFailedNoRetry: "Requests to the cloud are failing. You can keep waiting if you are on a slow connection or refresh the page to start over.", connectionFailedServer: "Requests to the cloud are failing. You can retry the requests or refresh the page to start over.", connectionLostBackup: "Architect attempts to save the flow locally in browser storage when there are connection issues. After reconnecting and loading this flow, you will have an opportunity to recover the backup if it's available.", connectionLostBackupAlternative: "As an alternative, select Export Flow to download it to a local folder.", genericError: "Requests to the cloud are failing. Please try again.", lostCredentials: "You have been logged out of Genesys Cloud. Please log back in to continue.", recoveringBackup: "Recovering Backup", title: "Server Connection", titleDeleteBackup: "Discard backup changes" }, oauthClient: { label: "OAuth Client" }, botFlowSettings: { generalBotFlowSettings: "General Bot Flow Settings", titleWithSettings: "Bot Flow Settings", valueConfiguredInBotFlowSettingsWillBeUsed: "The value for '%1$s' configured in {{link.__BOT_FLOW_SETTINGS_NODE__, Bot Flow Settings}} will be used at flow runtime." }, workitemFlowSettings: { titleWithSettings: "Workitem Flow Settings" }, botFlowNluTemplates: { bankBotNluTemplateName: "Bank Bot", bankBotNluTemplateDescription: "An example bot that provides banking functionality.", blankBotNluTemplateName: "Blank Bot Flow", blankBotNluTemplateDescription: "An empty bot flow with no intents." }, outboundCallSettings: { contactListPlaceholder: "Select a contact list", defaultWrapupCodeLabel: "Default Wrapup Code", label: "Outbound Settings", propertiesLabel: "Contact List Properties", treeLabel: "Outbound", usingCachedContact: "Using last known properties" }, emailSendFlow: { emailSendFlowTypeDisplayName: "Email Send Flow", emailSendFlowsSectionLabel: "Email Send Flows", emailSendSettingsTreeNodeLabel: "Email Send" }, inboundEmailSettings: { autoGenHandling: "Inbound auto-generated email handling", creation: { errorEventHandlingInfo: "If no error event transfer queue is selected above, the flow will be configured with disconnect error event handling.", errorEventHandlingQueue: "Error event transfer Queue" }, label: "Inbound Email Settings", normalProcessing: "Process as normal", treeLabel: "Inbound Email" }, inQueueCallFlowSettings: { label: "In-Queue" }, inQueueFlowVariables: { flowHoldPrompt: "Hold prompt for the flow" }, inboundOutboundAndInQueueCallFlowVariables: { uuiData: "Contains the call control User to User Information (UUI) data set on the call." }, learning: { label: "Learning" }, securedActions: { securedActionsInformationalMessage: "Execution will take the '{{branch.__FAILURE__}}' path at flow runtime if no encryption key is configured for this organization.", outputMustBeSecureIfInputIsSecure: "'%1$s 'must be made secure if '%2$s' is secure.", variableMustBeMadeSecure: "Secure variable must be used for %s." }, slotTypes: { label: "Slot Types" }, knowledgeSettings: { errorNoKnowledgeBaseSelected: "Knowledge Base must be selected for this action", knowledgeBase: "Knowledge Base", knowledgeSetting: "Knowledge Configuration", knowledgeSettingShort: "Configuration", defaultKnowledgeBase: "Default Knowledge Base", knowledgeAnswerContentTypeStandardLabel: "Standard", knowledgeAnswerContentTypeHighlightLabel: "Highlight", knowledgeAnswerContentTypeGenerativeLabel: "Generative", knowledgeAnswerContentTypeSwitcherLabel: "Content Type", knowledgeAnswerContentTypeSwitcherDescription: "Choose how the bot will format the content when a successful Knowledge answer is matched.", knowledgeAnswerContentTypeGenerativeCardHeader: "Answer Generation", knowledgeAnswerContentTypeStandardCardText: "Standard will surface the entire matched Knowledge answer.", knowledgeAnswerContentTypeHighlightCardText: "Answer Highlight will highlight the answer within a matched Knowledge answer.", knowledgeAnswerContentTypeGenerativeCardText: "Answer Generation will create an AI-generated response to the question from a matched Knowledge answer.", knowledgeAnswerHighlightLabel: "Answer Highlight", knowledgeAnswerHighlightDescription: "Enable or disable Answer Highlight on matched Knowledge answers.", knowledgeAnswerHighlightDisabled: "Answer Highlight disabled.", knowledgeAnswerHighlightEnabled: "Answer Highlight enabled.", knowledgeAnswerHighlightFlowProgressionLabel: "Flow Progression Label", knowledgeAnswerHighlightFlowProgressionDescription: "Label used for the quick reply to progress the flow.", knowledgeAnswerHighlightFullArticleLabel: "Full Article Label", knowledgeAnswerHighlightFullArticleDescription: "Label used for the quick reply to view full knowledge answer.", knowledgeArticle: "Knowledge Article", knowledgeArticlePlaceholder: "Select Knowledge Article", knowledgeArticleNotFound: "Knowledge Article not found", knowledgeArticleMismatch: "Selected Knowledge Article does not belong to Knowledge Base configured on the flow", knowledgeNotConfigured: "There are no articles available because no Knowledge Base is configured. In the flow '{{settings.__KNOWLEDGE__}}' settings, please select a Knowledge Base and try again.", knowledgeBaseDescription: "Once you select a Knowledge Base, you can enable Knowledge on one or more Ask for Intent actions. Only published Knowledge Bases whose language is compatible with the flow's supported language are available for selection.", knowledgeBaseV3Description: "Select a Knowledge Base to continue. You can enable Knowledge for one or more Ask for Intent actions. Only published items matching the flow's supported languages are available.", knowledgeSettingDescription: "Select a Knowledge Configuration to continue. You can enable Knowledge for one or more Ask for Intent actions. Only published items matching the flow's supported languages are available.", knowledgeBaseDocument: "Knowledge Base Document", knowledgeBaseDocumentPlaceholder: "Select an optional Knowledge Base Document", knowledgeBaseDocumentNotFound: "Knowledge Base Document not found", knowledgeBaseItemCreatedDescription: "Created %1$s", knowledgeBaseItemDescription: "Modified %1$s", knowledgeConfirmationDisambiguationLabel: "Confirmation and Disambiguation", knowledgeDisambiguationLabel: "Disambiguation", knowledgeBasePlaceholder: "Select an optional Knowledge Base", knowledgeSettingPlaceHolder: "Select an optional Knowledge Configuration", knowledgeWorkBench: "Knowledge Work Bench", knowledgeBaseNotFound: "Knowledge Base not found", knowledgeSettingNotFound: "Knowledge Configuration not found", languageDoesNotSupportKnowledge: "Knowledge is unavailable for this language.", knowledgeBaseNotFoundForLanguage: "Knowledge Base not found for %1$s.", knowledgeSettingNotFoundForLanguage: "Knowledge Configuration not found for %1$s.", knowledgeBaseNotSelectedForLanguage: "Knowledge Base not selected for %1$s.", knowledgeSettingNotSelectedForLanguage: "Knowledge Configuration not selected for %1$s.", knowledgeBaseNoDefaultSelected: "A default language knowledge base must be selected in order to use additional language knowledge bases.", knowledgeSettingNoDefaultSelected: "A default language knowledge configuration must be selected in order to use additional language knowledge configurations.", knowledgeConfigurationNotEnabled: "Knowledge Configurations are not available in this organization.", knowledgeBaseManageDefault: "Manage the default knowledge base: ", knowledgeSettingManageDefault: "Manage the default knowledge configuration: ", knowledgeBaseManageAlternativesPreposition: "Note:", knowledgeBaseManageAlternatives: "Alternative Knowledge Bases can be managed in: ", knowledgeSettingManageAlternatives: "Alternative Knowledge Configurations can be managed in: ", knowledgeSettingManageOptions: "Many knowledge configuration options are now managed through ", knowledgeBaseNotSupportedForLanguage: "Knowledge base functionality is not available for the language '%1$s'.", knowledgeInitialResponseFollowupLabel: "Answer Follow-up", knowledgeFollowUpSwitcherLabel: "Knowledge Follow-up", knowledgeFollowUpSwitcherDescription: "Choose between a statement or a reusable task as a follow-up to a knowledge answer.", knowledgeFollowUpStatement: "Follow-up Statement", knowledgeFollowUpTaskLabel: "Follow-up Task", knowledgeFollowUpTaskDescription: "Select or create a reusable task to follow up a knowledge answer.", knowledgeFollowUpTaskErrorMessage: "No follow-up task assigned.", knowledgeInitialResponseFollowupDescription: "Wording the bot will use as a follow-up to a Knowledge answer.", knowledgeInitialResponseMultiLabel: "Multiple Answers Introduction", knowledgeInitialResponseMultiDescription: "Wording the bot will use to introduce a numbered list of matching Knowledge answers, in the case where multiple good matches are found in the Knowledge Base.", knowledgeInitialResponseMultiRetryLabel: "Multiple Answers Retry", knowledgeInitialResponseMultiRetryDescription: "Wording the bot will use to re-introduce a numbered list of matching Knowledge answers, in the case where the user's first attempt to choose a number was unsuccessful.", knowledgeInitialResponseSingleLabel: "Single Answer Introduction", knowledgeInitialResponseSingleDescription: "Wording the bot will use prior to speaking or printing a single Knowledge answer. For example, 'I found the following information:'", knowledgeConfirmationToggleLabel: "Knowledge Confirmation", knowledgeConfirmationToggleDescription: "Enables or disables the '%1$s' confirmation once the answer has been presented.", knowledgeConfirmationLabel: "Knowledge Confirmation Response", knowledgeConfirmationDescription: "Wording the bot will use after speaking or printing a single Knowledge answer. For example, 'Did this answer your question?'", knowledgeContextSearchLabel: "Search with context", knowledgeContextSearchDescription: "Enable to keep context throughout different queries.", knowledgeContextSearchEnabled: "Search with context enabled", knowledgeContextSearchDisabled: "Search with context disabled", knowledgeContextSearchDescriptionNote: "This value overrides the setting from the Knowledge Workbench.", knowledgeLabel: "Knowledge", knowledgeMaxNumAnswersReturned: "Maximum Number of Answers Returned", knowledgeMaxNumAnswersReturnedDescription: "The maximum number of answers suggested to the participant if there are multiple good matches for their question.", knowledgeMultiArticleLabel: "Multiple Article Generation", knowledgeMultiArticleDescription: "Generate a single answer from multiple knowledge articles.", knowledgeMultiArticleEnabled: "Multiple Sources enabled", knowledgeMultiArticleDisabled: "Multiple Sources disabled", knowledgeMultiArticleDisabledBotFlowTooltip: "Single article answer generation is not supported in Bot Flows", knowledgeNoMatchLabel: "Reject All Answers", knowledgeNoMatchDescription: "Wording for the final option when displaying multiple answers. For example, 'None of these'. Choosing this option will reject all of the proposed answers.", knowledgePathLabel: "Knowledge Path", knowledgePathStatementLabel: "Statement", knowledgeResponseBias: "Response Bias", knowledgeSendFeedbackEnabled: "Knowledge Confirmation enabled.", knowledgeSendFeedbackDisabled: "Knowledge Confirmation disabled.", knowledgeSettingSourcesLabel: "Sources", responseBiasDescription: "Controls which type of interpretation (Knowledge answer or Intent) is more likely to be suggested by the bot in response to a participant's input.", responseBiasModes: { responseBiasModeKnowledge: "Knowledge", responseBiasModeIntents: "Intents", responseBiasModeNeutral: "Neutral", responseBiasKnowledgeDescription: "Bot will favor Knowledge path if an overlap occurs", responseBiasIntentDescription: "Bot will favor Intent path if an overlap occurs", responseBiasNeutralDescription: "Equal weight given to Intent and Knowledge paths" }, knowledgeSettingsModeLabel: "Knowledge Settings Mode", knowledgeSettingsModeDescription: "Controls how knowledge matches are handled at runtime. By selecting 'custom' you will be able to choose a reusable task that will be executed when a knowledge match occurs.", knowledgeSettingsDisambiguationDisabled: "Disambiguation from multiple sources is disabled.", knowledgeSettingsFeedbackDisabled: "Feedback is disabled for multiple sources.", knowledgeSettingsModes: { standard: "Standard", custom: "Custom", standardDescription: "Standard knowledge settings mode", customDescription: "Custom knowledge settings mode" }, knowledgeSettingsModeModal: { switchToStandardTitle: "Switch to Standard", switchToCustomTitle: "Switch to Custom", switchToStandardMessage: "Returning to standard will disconnect the single reusable task. The bot will now favor the standard global knowledge settings.", switchToCustomMessage: "Switching to custom allows you to configure global knowledge settings such as answer introduction, disambiguation, feedback and follow-up to be done in a single reusable task.", switchToStandardMessageBot: "Returning to standard will result in any custom knowledge handling being disconnected. The bot will now favor the standard global knowledge settings.", switchToCustomMessageBot: "Switching to custom allows you to configure global knowledge settings such as answer introduction, disambiguation, and feedback under the knowledge path of an Ask for Intent action.", switchToCustomInlineAlert: "Note: Intended for advanced users to configure global knowledge settings in a single reusable task.", switchToCustomInlineAlertBot: "Intended for advanced users to configure global knowledge settings." }, knowledgeVersionModal: { switchToKnowledgeBaseTitle: "Switch to Knowledge Base", switchToKnowledgeBaseMessage: "Switching to Knowledge Base may remove some of your current Knowledge Configuration settings.", switchToKnowledgeSettingTitle: "Switch to Knowledge Configuration", switchToKnowledgeSettingMessage: "Switching to Knowledge Configuration may remove some of your current Knowledge Base settings." }, knowledgeCustomHandlerTaskLabel: "Knowledge Task", knowledgeCustomHandlerTaskDescription: "Select or create a reusable task to configure custom knowledge settings which includes, but is not limited to: answer introduction, disambiguation, feedback, and follow-up. More information and best practices can be found in the Resource Center.", knowledgeCustomHandlerTaskErrorMessage: "No custom knowledge task assigned.", openKnowledgeInNewTab: "Open Knowledge Workbench in a new tab", knowledgeName: "Name", knowledgeDescription: "Description", knowledgeNoDescription: "No description", knowledgeFaqCount: "FAQ Count", knowledgeArticleCount: "Article Count", knowledgeDateCreated: "Date Created", knowledgeDateLastModified: "Last Modified", welcomeArticle: "Welcome Article", welcomeArticleDescription: "Choose a document from a Knowledge Base and that document's wording will be used by the bot when session starts.", knowledgeArticlesCount: "%1$s Article(s)", knowledgeFaqsCount: "%1$s FAQ(s)", tabs: { general: "General", generalTitle: "Bias", generalSubtitle: "Configure what response type is favored by the bot.", answer: "Answer", answerTitle: "Answer", answerSubtitle: "Configure how a Knowledge answer will be presented.", disambiguation: "Disambiguation", disambiguationTitle: "Disambiguation", disambiguationSubtitle: "Configure how to resolve ambiguity on surfaced answers.", feedback: "Feedback", feedbackTitle: "Feedback", feedbackSubtitle: "Configure feedback for full Knowledge answers & answer highlights.", followUp: "Follow-up", followUpTitle: "Follow-up", followUpSubtitle: "Configure next steps post serving of a Knowledge answer.", customTitle: "Custom", customSubtitle: "Configure custom knowledge settings.", customTitleBot: "Custom Handling", customTextBot: "Enable a Knowledge path on any Ask for Intent action to manage how knowledge is presented including answer introduction, disambiguation and feedback. More information and best practices can be found in the {{link.__RESOURCE_CENTER_URL_CUSTOM_KNOWLEDGE__, Resource Center}}.", customDescription: "Configure custom global knowledge handling here." } }, botSessionViewer: { utteranceHistoryLabel: "Utterance History", optimizationDashboardLabel: "Optimization Dashboard" }, intentMiner: { intentMinerLabel: "Intent Miner" }, pathDiscovery: { pathDiscoveryLabel: "Journey Flows" }, previewWidget: { previewWidgetLabel: "Test", previewWidgetResetChatLabel: "Reset Chat", previewWidgetStartChatLabel: "Start Chat", previewWidgetCloseChatLabel: "Close Chat", previewWidgetEnabledTooltip: "Test your published bot", previewWidgetNotPublishedTooltip: "You must publish your bot first in order to use this feature", previewWidgetOldVersionTooltip: "Your work in progress is out of date, please publish again in order to test your bot", previewWidgetVersionMessage: "You are currently testing flow version %1$s", previewWidgetSessionDisconnected: "The session has ended." }, surveyInviteFlowVariables: { survey: "Information about the survey associated with the flow.", customerContact: "The External Contact for the customer associated with this survey invite. If there is no customer contact, the value will be NOT_SET.", customerOrganization: "The External Organization for the customer associated with this survey invite. If there is no customer organization, the value will be NOT_SET.", surveyDispositions: "The available survey disposition values.", conversationId: "The ID of the completed conversation associated with this survey invite.", url: "The URL that will link to the survey.", conversationType: "The conversation type associated with this survey invite. Valid values are 'call', 'callback', 'chat', 'cobrowse', 'email', 'screenShare', 'socialExpression', 'videoComm' or 'unknown' if not one of the previous types.", customerAddress: "The address for the customer associated with this survey invite.", conversationStartDateTime: "The starting DateTime for the conversation associated with this survey invite.", conversationEndDateTime: "The ending DateTime for the conversation associated with this survey invite.", conversation: "Information about the conversation associated with the flow.", conversationTypes: "The available conversation type values." }, surveyInvite: { createFlowInfo: "Survey Invite flows are launched after a conversation is complete.", createFlowInfoWebPrefix: "Web Survey Invite flows are launched after a conversation is complete." }, objectValueMismatch: { dataType: "The data type '%1$s' does not match the data type of '%2$s'", default: "'%1$s' does not match '%2$s'.", incompatible: "The data is incompatible.", input: "The variable input settings do not match.", name: "The name of '%1$s' does not match the name of '%2$s'.", output: "The variable output settings do not match." }, placeholders: { select: "Select a %1$s", selectAn: "Select an %1$s", selectThe: "Select the %1$s" }, playAudioOnSilence: { allowedRepeatCount: "Allowed Retry Count", allowedRepeatCountDescription: "Number of attempts to replay audio if audio is interrupted.", actualRepeatCount: "Actual Retry Count" }, positionInQueue: { ahead: "Ahead", aheadExample: "e.g. There are four callers ahead of you in the queue.", number: "Position", numberExample: "e.g. Your position in the queue is five.", ordinal: "Ordinal Position", ordinalExample: "e.g. You are the fifth caller in the queue.", playbackMode: "Playback Mode", positionInQueue: "Position in Queue" }, printFlow: { generate: "Generate Document", idCallout: "Next action: ID %1$s", error: "There was an error while generating the flow printout.", flowVariables: "Flow Variables", noActions: "This %1$s has no actions.", noConfigurationOptions: "There are no print configuration options available.", noItems: "No items", noTts: "", pageNum: "Page %1$s", popupBlocked: "The new tab was blocked by your browser. Please allow popups by clicking the prompt at the top of your browser.", printFlow: "Print Flow", printFormatNotice: "Architect flow print documents are formatted for US Letter page size.", printView: "%1$s - Print View", selectLanguage: "Select language to use for audio and speech recognition content", stateVariables: "State Variables - %1$s", botStateVariables: "Bot Variables - %1$s", systemVariables: "System Variables", taskVariables: "Task Variables - %1$s", letter: "Letter", a4: "A4", paperSize: "Paper Size:" }, reportError: { alertMessage: "Be sure to check out our Resource Center at {{link.__RESOURCE_CENTER_URL_NEW_WINDOW__}} for quick and detailed information on your questions or issues.", title: "Report Error", issueTypeLabel: "What best describes the issue:", issueTypes: { question: "Question", problem: "Problem", technicalIssue: "Technical Issue", nonTechnicalIssue: "Non-Technical Issue" }, priorityLabel: "Please determine the priorty of this issue:", priority: { low: "Low", medium: "Medium", high: "High" }, shortDescriptionLabel: "What best describes the functionality area:", longDescriptionLabel: "Please provide as much detail as possible:" }, searchExternalContacts: { actionInformationalMessage: "If there is one search result, execution will take the '%1$s' output with the matching External Contact as the first element in the specified External Contact Results collection.", externalContactResults: "External Contact Results", searchTermDescription: "A string representation of the phone number, email address or Twitter handle of the contact." }, secureData: { extractWarning: "I acknowledge by use of this action that sensitive information may be logged. I intend to extract this data and use it in a non-secured manner.", extractWarningAcknowledgement: "'%1$s' acknowledged the security risk with using this action on %2$s.", extractWarningAcknowledgementInvalidUser: "'%1$s' acknowledged this security risk on %2$s but that user is no longer valid. A new acknowledgment is required.", extractWarningValidationError: "Secure data risk acknowledgement has not been checked.", flowIndicatorTooltip: "This flow uses secure data. Click to search for all usages...", notUsingSecureDataWarning: "There is no secure data being read. This action is meant to work with secure data.", notUsingSecureData: "Action is not referencing any secure data", resetAcknowledgementTitle: "Reset Acknowledgement", resetAcknowledgementMessage: "Are you sure you want to reset the secure data acknowledgement?", secureDataIndicatorTooltip: "This action uses secure data", secureDataIndicatorFlowTooltip: "This flow uses secure data", secureVariable: "This variable is secure", variableInputCannotBeSecure: "Input variables cannot be set to secure", variableOutputWarning: "Output variables cannot be set to secure", secureItemSearch: "Secure Item Search", secureData: "Secure Data" }, sendAutoReply: { sendAutoReplyOptions: "Additional Options", sendBcc: "Bcc Addresses", sendBccDescription: "Bcc EmailAddresses to include on the email.", sendBody: "Message Body", sendBodyDescription: "HTML message body for the email.", sendCc: "Additional Cc Addresses", sendCcDescription: "Additional Cc EmailAddresses to include on the email.", senderOnly: "Reply to Sender", senderOnlyDescription: "Only the original sender is included in the To list. No initial Cc list is included.", sendFrom: "Override From", sendFromDescription: "An EmailAddress override for the default 'from' address for the route. If specified, it should match the configured route's domain.", sendReplyTo: "Override Reply To", sendReplyToDescription: "An EmailAddress override for the default 'reply-to' address for the route.", sendReplyToOptions: "Reply Configuration", sendToAll: "Reply to All", sendToAllDescription: "The initial To and Cc lists includes all recipients from the original email." }, sendInteractiveApplication: { applicationName: "Application Name", applicationNamePlaceholder: "Enter an Application Name", applicationUrl: "Application URL", applicationUrlPlaceholder: "Enter an Application URL", receivedMessage: "Received Message", sendApplicationSupportNoteApple: "Send Application is only available for Apple Messages for Business. Using it on other channels will take the failure path.", titlePlaceholder: "Enter a Title" }, sendKnowledgeFeedback: { knowledgeArticleLabel: "Knowledge Article", knowledgeArticleDescription: "The Knowledge Base Document to send feedback on.", knowledgeSearchIdLabel: "Knowledge Search ID", knowledgeFeedbackLabel: "Knowledge Feedback", knowledgeFeedbackDescription: "Provide feedback for associated Knowledge Articles.", negative: "Negative", negativeDescription: "Send negative feedback.", positive: "Positive", positiveDescription: "Send positive feedback.", knowledgeSettingAlert: "This action is unavailable for this knowledge type. Use session-level variables or answer controls instead. This action will automatically use the Failure action path." }, sendNotification: { chatMessageDescription: "The chat message to send to the group.", chatMessageLabel: "Chat Message", defaultEmailStyle: "Default Email Style", defaultEmailFromAddress: "Default Email From", useDefaultEmailFromAddress: "Use 'no-reply@[region].com'", emailNotificationStyleLabel: "Email Notification Style", emailNotificationStyleDescription: "This specifies the email format to use when sending the email. If this setting value at flow runtime evaluates to a value other than one of the allowable values, 'plain' will be used.", emailFromLabel: "Email From", emailFromDescription: "The email address to use as the sender of the email for an email notification. If the value evaluates to NOT_SET, a default of email address of 'no-reply@[region].com' will be used. If the provided email address is SET, and the domain is not a Genesys Cloud verified domain, the action will take the failure path.", emailStyleHtmlLabel: "HTML", emailStylePlainLabel: "Plain", errorTypeLabel: "Error Type", errorMessageLabel: "Error Message", noNotificationBody: "No Body", noNotificationSubject: "No Subject", notificationBodyLabel: "Notification Body", notificationBodyDescription: "This is the contents to use for the notification. For example, if the notification type is 'email' this will be the body of the email that is sent. If a NOT_SET String is provided for this property, an empty/blank String will be used.", notificationSubjectLabel: "Notification Subject", notificationSubjectDescription: "The notification subject. For example, if the notification type is 'email' this will be the subject of the email that is sent. If a NOT_SET String is provided for this property, an empty/blank String will be used.", notificationTypeChatLabel: "Chat", notificationTypeDescription: "This specifies the type of notification that should be sent.", notificationTypeEmailLabel: "Email", notificationTypeLabel: "Notification Type", sendToGroupDescription: "The group to send a chat message to.", sendToGroupLabel: "Send to Group", sendToUsersLabel: "Send to Users", sendToUsersDescription: "This collection specifies Genesys Cloud user recipients of the notification. If the collection is NOT_SET, the flow will invoke error handling. If the collection contains an amount of Users outside the minimum and maximum items range, the action will take the failure path. If the User collection contains a NOT_SET User, that User will be ignored. If the User collection contains only NOT_SET Users, the action will take the failure path." }, sendResponse: { messageBodyStyleDescription: "An optional setting that the chat client can use to visually differentiate messages.", messageBodyStyleLabel: "Message Style", messageBodyStyleWatermark: "Select the style of message to send", noMessageBodyStyle: "No message style selected", messageBodyStyleNotice: "Notice", messageBodyStyleStandard: "Standard", messageBodyStyles: "The available message styles.", sendBody: "Message Body", sendBodyDescription: "The plain text message body for the response." }, sendRichLink: { body: "Body", bodyDescription: "The body text of the rich link message.", footer: "Footer", footerDescription: "The footer text of the rich link message.", footerNoValueRuntimeEvalStr: "Do not send a footer", footerNoValueSelectionLabel: "No Footer", headerImage: "Header Image", headerImageDescription: "The header image of the rich link message.", headerText: "Header Text", headerTextDescription: "The header text of the rich link message.", headerType: "Header Type", headerTypeDescription: "The header type of the rich link message.", headerTypeImageChoice: "Image", headerTypeNoValueRuntimeEvalStr: "Do not send a header", headerTypeNoValueSelectionLabel: "No Header", headerTypePlaceholder: "Select a header type value", headerTypeTextChoice: "Text", showNote: "Send Rich Link is currently only available for WhatsApp.", uiPanelDescription: "Configure rich link message", uiPanelName: "Rich Link Message", urlInvalidWarning: "A message containing an invalid URL will take the failure path if one is configured.", urlLabel: "URL Label", urlLabelDescription: "The URL label of the rich link message.", urlValue: "URL Value", urlValueDescription: "The URL for the rich link message." }, states: { editState: "Edit State", multipleNames: "Another state has the same name", noTerminatingAction: "The state does not contain a terminating action", states: "States" }, botStates: { goToBotState: "Go to Bot", noTerminatingAction: "The bot does not contain a terminating action" }, switch: { addCase: "Add Case", caseNum: "Case %1$s", casesHeader: "Cases (%1$s)", default: "Default", defaultCase: "Default Case", defaultCaseDescription: "This path will be taken if no other cases apply.", evaluationStyle: "Evaluation Style", expressionTypeInvalid: "Expression type of %1$s cannot be used for Switch statement", firstTrueCase: "Take path of first case that returns True", literalValuesWillReset: "Any literal values will be reset.", matchExpression: "Take path of first case that matches an expression", mustChangeType: "You must change the cases' types to match the Switch Expression's type.", switchCases: "Change cases to %1$s" }, flowInvokingEvents: { unknownFlowInvokingEvent: "The event '%1$s' has no description.", workitemCreatedDescription: "This is the event type for a workitem when it is created.", workitemDateBasedEventDescription: "This is the event type for a workitem when a date-based event occurs.", workitemStatusChangedDescription: "This is the event type for a workitem when its status changes." }, submitVoiceSnippet: { destinationVoiceSnippetIdDescription: "For destinations that return an output ID upon successful Voice Snippet submission, this output setting can be used to bind to that returned ID at flow runtime. If the submission is not successful, any value specified on this setting is left alone. This setting is only enabled when the currently selected destination supports returning an ID.", destinationVoiceSnippetIdLabel: "Destination ID", voiceSnippetDestinationLabel: "Destination", voiceSnippetDestinationDescription: "The destination where the Voice Snippet should be submitted.", voiceSnippetServiceLabel: "Voice Snippet Service", voiceSnippetToSubmitDescription: "The Voice Snippet to submit at runtime. If the value is a NOT_SET Voice Snippet, execution will take the '%1$s' output at runtime.", voiceSnippetToSubmitLabel: "Voice Snippet", voicemailServiceLabel: "Voicemail Service" }, systemVariables: { callAni: "The caller\u2019s origination phone number for the active call. ( Automatic Number Identification )", callContactId: "The ID of contact to whom this flow is connected.", callConversationId: "The conversation ID for the active call", callCalledAddress: "The called address that caused this flow to be entered. For a new inbound call, this value is the same as Call.CalledAddressOriginal, but changes for a flow entered by a transfer, for example.", callCalledAddressOriginal: "The called address received when the call first entered the system; typically the phone number dialed by the caller to reach the system. For a given call, this value should never change.", callCurrentQueue: "Reflects the current queue for the call.", callEstimatedWaitTime: "The current queue estimated wait time for the call.", callExternalTag: "The external tag for the active call.", callPositionInQueue: "The current position in queue for the call.", callRemoteName: "Remote name for the active call", chatConversationId: "The conversation ID for the active chat.", chatGuest: "The guest associated with this chat.", chatJourneyContext: "The journey context associated with this chat.", conversationPriorityVariableDescription: "This variable holds the current priority of the conversation. The priority value will be greater than or equal to -25,000,000 and less than or equal to 25,000,000. If the priority cannot be determined or is not applicable for the running flow instance this returns a NOT_SET Integer.", conversationACDSkillsVariableDescription: "This variable holds the ACD skills for the conversation.", conversationLanguageSkillVariableDescription: "This variable holds the language skill for the conversation.", emailConversationId: "The conversation ID for the active email.", emailCurrentQueueVariableDescription: "Reflects the current queue for the email.", emailDraftConversationId: "The conversation ID for the draft email.", emailDraftCurrentQueueVariableDescription: "Reflects the current queue for the draft email.", emailDraftVariableDescription: "The draft email as it existed when the flow began.", emailEstimatedWaitTimeVariableDescription: "The current queue estimated wait time for the email.", emailPositionInQueueVariableDescription: "The current position in queue for the email.", emailExternalTag: "The external tag for the active email.", emailMessage: "The email associated with this flow.", emailLanguageSkill: "The language skill associated with the active email.", externalContactId: "The External Contact identifier of the external participant on the conversation. If not available, this will be a NOT_SET String.", flowCampaign: "The Campaign for this flow.", flowContact: "The contact to whom this flow is connected.", flowContactList: "Contact list for this flow", flowInvocationData: "The invocation data supplied when launching the flow.", flowIsTest: "Indicates whether or not the flow is running in debug mode.", flowStartTime: "The UTC datetime when the flow started execution", flowVersion: "The version of the active flow", flowWrapupCode: "The flow Wrapup Code", infoCurrencies: "List of currencies", infoDateTimes: "List of datetimes", infoLanguages: "List of languages", infoRegions: "List of regions", interactionId: "The ID of the active interaction", interactionLanguage: "The lower case IETF language tag for the language in which the flow is currently running. If there is no current flow language, this returns a NOT_SET String.", invocationData: "The invocation data supplied by the 'Set Post-Flow' action for the launched flow. If no invocation data is available, this returns a NOT_SET JSON value.", lastCollectionModeDescription: "The collection mode for the participant's most recent input. This value is overwritten each time the participant provides new input. If there has been no input, this will be a NOT_SET String. Valid values are %1$s.", maxDate: 'The maximum value allowed for a Date, which is December 31st, 2200 ("2200-12-31")', maxDateTime: 'The maximum value allowed for a Date Time, which is December 31st, 2200 at 11:59:59.999PM ("2200-12-31T23:59:59.999Z")', maxDuration: "The maximum value allowed for a Duration, which is 999999999999999 milliseconds (11574074 days, 1 hour, 46 minutes and 39.999 seconds)", maxInt: "The maximum value allowed for an Integer, which is %1$s", maxTime: 'The maximum value allowed for a Time, which is 11:59:59.999PM ("23:59:59.999")', menuLastCollectionNoMatch: "Returns whether or not customer/external participant input did not match a menu choice. At runtime this returns a NOT_SET Boolean if flow execution has not solicited any menu choice input yet.", menuLastCollectionNoInput: "Returns whether or not there was no customer/external participant input detected for a menu choice when handling the last menu or sub-menu configured on the flow. At runtime this returns a NOT_SET Boolean if flow execution has not solicited any menu choice input yet.", messageCurrentQueueVariableDescription: "Reflects the current queue for the message.", messageEstimatedWaitTimeVariableDescription: "The current queue estimated wait time for the message.", messagePositionInQueueVariableDescription: "The current position in queue for the message.", messagingConversationId: "The conversation ID for the active message.", messageExternalTag: "The external tag for the active message.", messagingIsAuthenticated: "Indicates whether or not the message is in an authenticated conversation.", messagingIsNewConversation: "Indicates whether or not the message is in a new conversation.", messageJourneyContextVariableDescription: "The journey context associated with this message. If no journey context is available, this returns a NOT_SET Journey Context.", messageMessage: "The message associated with this flow.", minInt: "The minimum value allowed for an Integer, which is %1$s", minDate: 'The minimum value allowed for a Date, which is January 1st, 1800 ("1800-01-01")', minDateTime: 'The minimum value allowed for a Date Time, which is January 1st, 1800 at 12:00:00AM ("1800-01-01T00:00:00.000Z")', minDuration: "The minimum value allowed for a Duration, which is -999999999999999 milliseconds (-11574074 days, -1 hour, -46 minutes and -39.999 seconds)", minTime: 'The minimum value allowed for a Time, which is 12:00:00AM ("00:00:00.000")', sessionActiveIntent: "The currently active intent for the session. If there is no current intent, this will be a NOT_SET String.", activeOutputMode: "The active mode for media output. Valid values are 'voice' and 'text'", sessionChannelType: "The channel type of the conversation associated with this bot flow instance. Valid values are 'call', 'chat' or 'messaging'.", sessionChannelTypeVoiceSurvey: "The channel type of the conversation associated with this voice survey flow instance. It has one valid value: 'call'.", sessionConversationId: "The ID of the conversation associated with this bot flow instance.", sessionConversationIdVoiceSurvey: "The ID of the conversation associated with this voice survey flow instance.", sessionLastCollectionConfidence: "The confidence level from the speech to text engine for the participant's most recent utterance in an '%1$s' action, excluding those for built-in confirmation or disambiguation questions. If there has been no such utterance, this will be a NOT_SET Decimal. Otherwise the value will be in the inclusive range of 0.0 to 1.0.", sessionLastCollectionConfidenceVoiceSurvey: "The participant\u2019s most recent utterance confidence in an '%1$s' action or an Ask Survey Question action, excluding those for built-in confirmation or disambiguation questions. If there has been no such utterance, this will be a NOT_SET Decimal. Otherwise the value will be in the inclusive range of 0.0 to 1.0.", sessionLastCollectionUtterance: "The participant\u2019s most recent utterance in an '%1$s' action, excluding those for built-in confirmation or disambiguation questions. If there has been no such utterance, this will be a NOT_SET String.", sessionLastCollectionUtteranceVoiceSurvey: "The participant\u2019s most recent utterance in an '%1$s' action or an Ask Survey Question action, excluding those for built-in confirmation or disambiguation questions. If there has been no such utterance, this will be a NOT_SET String.", sessionLastCompletedIntent: "The name of the intent that was active in the most recently completed '%1$s' action. If no '%1$s' actions have completed yet, this will be a NOT_SET String.", sessionLastKnowledgeAnswer: "The answer wording of the last Knowledge question whose answer was surfaced to the participant.", sessionLastKnowledgeGenerated: "The answer wording of the last Knowledge question whose answer was generated for the participant.", sessionLastKnowledgeQuestion: "The question wording of the last Knowledge question whose answer was surfaced to the participant.", sessionLastKnowledgeSearchId: "This ID uniquely identifies the Knowledge search request that was made during the most recently completed 'Digital Menu' or 'Wait for Input' action execution during its processing to get Knowledge Base Documents.", sessionLastNLUCollectionConfidence: "The confidence level from the NLU engine for the participant's most recent utterance in an '%1$s' action, excluding those for built-in confirmation or disambiguation questions. If there has been no such utterance, this will be a NOT_SET Decimal. Otherwise the value will be in the inclusive range of 0.0 to 1.0", sessionSource: "The type of application or mechanism that the end user is employing to communicate with the bot. Valid values are 'apple', 'applebusinesschat', 'discord', 'facebookmessenger', 'genesyschatwidget', 'line', 'phone', 'signal', 'slack', 'telegram', 'webchat', 'whatsapp' or 'unknown' if not one of the previous values.", sessionSourceVoiceSurvey: "The type of application or mechanism that the end user is employing to communicate with the voice survey. It has one valid value: 'phone'.", surveyForm: "The Survey Form associated with this flow.", workitem: "The workitem associated with this flow.", workitemEventType: "The workitem event type that started this flow. Valid values for event types can be found in Workitem Flow settings. If an event was not responsible for the flow instance, this will return a NOT_SET String.", workitemOriginal: "The workitem as it existed prior to the event that caused this flow instance to run.", voicemailDebugEntityTypeDescription: "If debug is enabled for the flow, this variable indicates which voicemail entity should be used when testing. A value of '%1$s' tells the flow runtime to use the Group value specified in the Voicemail.DebugGroup variable for the voicemail entity. A value of '%2$s' tells the flow runtime to use the Queue value specified in the Voicemail.DebugQueue variable for the voicemail entity. A value of '%3$s' tells the flow runtime to use the User value specified in the Voicemail.DebugUser variable for the voicemail entity. If the value is NOT_SET, this tells the flow runtime to use no voicemail entity when testing. This is typically used to ensure that changes to flow logic will handle the case of no voicemail entity being available at voicemail flow runtime.", voicemailDebugEntityTypeNoValueLabel: "No Voicemail Entity", voicemailDebugGroupDescription: "If debug is enabled for the flow and the Voicemail.DebugEntityType variable value is '%1$s', this specifies the Group that should be used at flow runtime when testing.", voicemailDebugQueueDescription: "If debug is enabled for the flow and the Voicemail.DebugEntityType variable value is '%1$s', this specifies the Queue that should be used at flow runtime when testing.", voicemailDebugUserDescription: "If debug is enabled for the flow and the Voicemail.DebugEntityType variable value is '%1$s', this specifies the User that should be used at flow runtime when testing.", voicemailEntityGreetingAudioDescription: "Returns an Audio value for the voicemail greeting of the entity for which the voicemail flow is running. If no entity is available or no voicemail greeting audio is available for the entity, a NOT_SET Audio value is returned.", voicemailEntityNameAudioDescription: "Returns an Audio value for the name of the entity for which the voicemail flow is running. If no entity is available or no entity name audio is available for the entity, a NOT_SET Audio is returned.", voicemailEnabledDescription: "Returns whether or not voicemail is enabled for the entity for which the voicemail flow is running. If no entity is available, this returns false.", voicemailEntityNameDescription: "The name of the entity for which the voicemail flow is running. For example, if the voicemail flow is running for a queue, this will return the name of the queue.", voicemailEntityTypeDescription: "The type of entity for which the voicemail flow is running. Valid values are 'group', 'queue' or 'user'.", voicemailGroupDescription: "If the voicemail flow is running on behalf of a group, this variable will provide information about the group. Otherwise it will be a NOT_SET Group.", voicemailQueueDescription: "If the voicemail flow is running on behalf of a queue, this variable will provide information about the queue. Otherwise it will be a NOT_SET Queue.", voicemailUserDescription: "If the voicemail flow is running on behalf of a user, this variable will provide information about the user. Otherwise it will be a NOT_SET User.", voicemailVoicemailSnippet: "The voicemail snippet for the voicemail flow." }, channelTypes: { call: "Calls", chat: "Chats" }, outputModes: { text: "Text", voice: "Voice" }, language: { infoSupportsDataPlayback: "Supports runtime data playback: %1$s", infoSupportsSpeechRec: "Supports speech recognition: %1$s", infoSupportsTextToSpeech: "Supports text to speech: %1$s", selectOne: "Select a language", label: "Language", labelAndTagDisplayStr: "Language: %1$s", infoSupportsDataPlaybackSupported: "Supports runtime data playback", infoSupportsSpeechRecSupported: "Supports speech recognition", infoSupportsTextToSpeechSupported: "Supports text to speech", infoSupportsDataPlaybackNotSupported: "Does not support runtime data playback", infoSupportsSpeechRecNotSupported: "Does not support speech recognition", infoSupportsTextToSpeechNotSupported: "Does not support text to speech", infoSupportsTextToSpeechNotSupportedFlexibleTTS: "Does not natively support text to speech" }, processVoicemailInput: { processVoicemailInputInfoMessage: "If a voicemail is collected, execution takes the '{{branch.__VOICEMAIL__}}' output and the Voicemail Snippet is saved to the '{{variable.__VOICEMAIL_VOICEMAIL_SNIPPET__}}' variable. The maximum time allowed for a Voicemail Snippet is 3 minutes.", processVoicemailInputInfoMessageWithMaxRecordingTime: "If a voicemail is collected, execution takes the '{{branch.__VOICEMAIL__}}' output and the Voicemail Snippet is saved to the '{{variable.__VOICEMAIL_VOICEMAIL_SNIPPET__}}' variable. The maximum time allowed for a Voicemail Snippet is determined by the {{link.__ORGANIZATION_SETTINGS__}}." }, collectVoiceSnippet: { voiceSnippetLabel: "Voice Snippet", voiceSnippetDescription: "The Voice Snippet itself if the action is successful. If not successful, the bound output variable value will be left untouched.", voiceSnippetDurationLabel: "Voice Snippet Duration", voiceSnippetDurationDescription: "The audio Duration of the Voice Snippet if the action is successful. If not successful, the bound output variable value will be left untouched.", maxVoiceSnippetTimeLabel: "Maximum Voice Snippet Time", maxVoiceSnippetTimeDescription: "The maximum time allowed for Voice Snippet. If the setting value resolves to a NOT_SET Duration at flow runtime, the default of 3 minutes will be used." }, languageSkill: { placeholder: "Select a language skill" }, literal: { dialingCode: "Dialing Code", dialingScheme: "Scheme", empty: "", enterNumber: "Enter a number", phoneNumber: { noExpressionLabel: { errorNoSchemeType: "There is no phone number scheme (tel:, sip: or sips:) set.", errorNoDialingCode: "There is no phone number dialing code.", errorNoNumber: "There is no number specified in the phone number.", errorInvalidSipUri: "The phone number has an invalid SIP URI.", errorInvalidNumber: "The phone number has an invalid E.164 format." }, withExpressionLabel: { errorNoSchemeType: "There is no phone number scheme (tel:, sip: or sips:) set for %1$s", errorNoDialingCode: "There is no phone number dialing code set for %1$s", errorNoNumber: "There is no number specified in the phone number for %1$s", errorInvalidSipUri: "The phone number has an invalid SIP URI for %1$s", errorInvalidNumber: "The phone number has an invalid E.164 format for %1$s" } }, increaseNumericTooltip: "Press to increase by %1$s, hold shift to increase by %2$s", decreaseNumericTooltip: "Press to decrease by %1$s, hold shift to decrease by %2$s", toExpressionModeTooltip: "Editor is in literal mode, click to enter an expression.", watermarkNoContext: "Enter value", watermarkPhoneNumber: "Enter phone number", watermarkSipUri: "Enter SIP URI" }, legacyRouting: { actionCallTask: 'Call "Find Legacy Queue" task', actionDecisionFoundFieldName: "Legacy routing custom field found?", actionDecisionFoundQueueName: "Legacy queue found?", actionDecisionFoundQueueStringIdOrName: "Queue ID/name found?", actionDecisionFoundQueueStringName: "Queue name found?", actionUpdateDataQueueStringIdOrName: "Save queue ID/name to variable", actionUpdateDataQueueStringName: "Save queue name to variable", actionFindQueueId: "Find queue based on ID", actionFindQueueName: "Find queue based on name", actionTransferToACDName: "Transfer to found queue", actionLoopName: "Loop through Chat.Guest.customFields", legacyRoutingOffAlert: "Architect no longer includes legacy queue routing functionality for newly-created Inbound Chat Flows.", legacyRoutingOnAlert: "When you create a new Inbound Chat Flow, Architect adds a task and actions with default logic to honor legacy queue routing for chats.

You may safely remove the task and actions if legacy queue routing is not needed in the flow, or edit the default logic as needed.", taskName: "Find Legacy Queue" }, loop: { count: "Loop Count", index: "Index", indexDataName: "Current Index Data Name", lessThanOne: "A Loop Count less than one will skip the loop action", loops: "Loops", notInLoop: "This action must be within a loop path.", terminating: "The loop path cannot be terminating" }, loopUntil: { taskEditorCheckUntilBox: "Check Until", exitWhenUntilCriteriaMet: "Exit when Until Case criteria is met", maxLoopCount: "Maximum Loop Count", noLoopIndexVariableSpecified: "No loop index variable specified", untilCaseLabel: "Until Case", untilCasesLabel: "Until Cases", noUntilCasesDefined: "No Until Cases defined", addUntilCase: "Add Until Case", untilCaseNameLabel: "Until Case Name %1$s", untilCaseConditionLabel: "Until Case Condition" }, menu: { createNameLabel: "Menu Name", createMenu: "Create New Menu", defaultMenuSettings: "Default Menu Settings", defaultChoiceNotValid: "Default menu choice is not valid", defaultMenuChoice: "Default Menu Choice", defaultMenuPlaceholder: "None ( disconnect the interaction )", editMenu: "Go to Menu", extDialDelayTooBigError: "The maximum delay for extension dialing should be less than the time to wait before repeating", extensionDialingMaxDelay: "Maximum delay for extension dialing", initialAudioLabel: "Menu Prompt", invalidReference: "There is an invalid menu reference set", label: "Menu", menuOptionsLabel: "Menu Options", menuSelectionTimeout: "Menu selection timeout", menuSelectorWatermark: "Select a menu", multipleNames: "Another menu has the same name", newDefaultName: "New Menu %1$s", noMenuChoices: "There are no menu choices", noReference: "There is no menu set", promptRepeatCount: "Number of times to repeat menu", promptRepeatDelayTooSmallError: "The time to wait before repeating should be greater than the maximum delay for extension dialing", transferTo: "Menu", useExtensionDialing: "Listen for extension dialing", menuAccess: "Menu Access" }, menuChoice: { duplicateDtmf: "DTMF (%1$s) is used in two or more menu choices at this menu level", duplicateDtmfGlobal: "DTMF (%1$s) is used in two or more menu choices in this flow", dtmfInUseGlobal: "Digit is used in another menu", dtmfInUseWithSwap: "Digit is in use in this menu ( 'shift + click' to swap)", dtmfInUse: "Digit is in use in this menu", dtmfSelector: "DTMF", duplicateSpeechTerms: "Duplicate speech recognition terms: [%1$s]", globalDtmf: "DTMF goes to this menu choice from any menu", globalSpeechAndActionError: "Global speech recognition terms are not allowed when the flow contains an action of type '%1$s'", globalSpeechRec: "Speech recognition terms go to this menu choice from any menu", noDtmfOrSpeechRec: "Each menu choice must have DTMF or speech recognition terms for each supported language", noDtmfWithDisabledSpeechRec: "Each menu choice must have DTMF when speech recognition is disabled" }, editFlow: { addFlowToBegin: "Add a flow to begin", create: "Create Flow", createFlowTyped: "Create '%1$s'", editFlowTitle: "Edit Flow Information", descWatermark: "Description for flow", defaultLanguage: "Default Language", divisionDescriptionAddFlow: "To add a flow in a division, the following permissions are required in that division.", divisionDescriptionEditFlow: "To change the division of a flow, the following permissions are required in the destination division.", flowNameInvalidCharacter: "Flow name cannot contain the '/' character.", flowNameIsInvalidMessageNoAlphaNumericError: "Flow name must contain at least one alphanumeric character.", flowNameWatermark: "Name for flow", flowNameCannotBeBlank: "Flow name cannot be blank.", nameDescChangeWarning: "Changes to name and description apply to all versions of the flow.", noDebugPostfix: "Flow name cannot end in '-debug'", saveAndProceed: "Save and Proceed", saveAs: "Save Flow As", saveChanges: "Save Changes", saveFlow: "Save Flow", secureCallFlowAgentInitiatedLabel: "Is this an agent-initiated Secure Call Flow?", secureCallFlowAgentInitiatedTrue: "Yes, it will only be initiated by agents.", secureCallFlowAgentInitiatedFalse: "No, other call flows will initiate this secure flow using the 'Transfer to Secure Flow' action.", viewExampleFlowsInfo: "Quick start example flows to boost your productivity", viewExampleFlowsLabel: "View Example Flows" }, properties: { common: { featureToggleUnavailble: "This requires a feature that is not available.", flowReadOnly: "The flow is read only." }, variable: { common: { set: { cannotSetIsSchemaInput: "Cannot change because this variable is marked as an input in a published version of the flow.", cannotSetIsSchemaInputOutput: "Cannot change because this variable is marked as an input / output in a published version of the flow.", cannotSetIsSchemaOutput: "Cannot change because this variable is marked as an output in a published version of this flow." }, support: { notSupportedInputVariableScope: "'%1$s' scoped variables cannot used as inputs in flows of type '%2$s'.", notSupportedOutputVariableScope: "'%1$s' scoped variables cannot used as outputs in flows of type '%2$s'." }, variableIsReadOnly: "The variable is read only." }, isInput: { support: { notSupportedTypeNotValidAsFlowInput: "The variable type '%1$s' cannot be used as an input to flows of type '%2$s'." } }, isOutput: { support: { notSupportedTypeNotValidAsFlowOutput: "The variable type '%1$s' cannot be used as an output to flows of type '%2$s'." } }, secure: { support: { notSupportedNoSecureVariables: "Secure variables are not supported in flows of type '%1$s'." } } } }, stringBodyHandlingTypes: { stringBodyHandlingTypeConvertToHtmlLabel: "Convert to HTML", stringBodyHandlingTypeConvertToHtmlDescription: "Convert formatting in the String to HTML.", stringBodyHandlingTypeConvertToMarkdownLabel: "Convert to Markdown", stringBodyHandlingTypeConvertToMarkdownDescription: "Convert formatting in the String to Markdown.", stringBodyHandlingTypeNoneDescription: "Default String handling for flow type.", stringBodyHandlingTypeRemoveAllFormattingLabel: "Remove All Formatting", stringBodyHandlingTypeRemoveAllFormattingDescription: "Remove all formatting from the String." }, missingRequiredProducts: { flowType: { unavailable: "The flow type of '%1$s' is not available." } }, previousMenu: { noMenus: "There are no menus in this flow for Previous Menu to return to.", inStartupError: "This action is invalid when used in the Starting Task because there is no menu to return to." }, abortSurvey: { dispositionLabel: "Disposition", dispositionWatermark: "Select the disposition status", dispositionError: "Error", dispositionOptOut: "Opt Out", noDisposition: "No disposition selected" }, completeSurvey: { inviteBodyDescription: "The contents of the initial invite sent to the survey invitee. This is typically provided through a variable which contains the output from a Get Response action.", inviteBodyLabel: "Invite Body", inviteSubjectDescription: "The subject line of the initial invite sent to the survey invitee.", inviteSubjectLabel: "Invite Subject", reminderBody: { description: "The contents of the reminder email sent to the survey invitee.", label: "Reminder Body", noValue: { runtimeStr: "No reminder body specified", selectionLabel: "No body" } }, reminderSubject: { description: "The subject line of the reminder email sent to the survey invitee.", label: "Reminder Subject", noValue: { runtimeStr: "No reminder subject specified", selectionLabel: "No subject" } }, targetAddressDescription: "The address used to contact the survey invitee; usually it will be an email address", targetAddressLabel: "Target Email Address", targetAddressTypeLabel: "Target Address Type", validation: { reminderMustHaveSubjectAndBody: "Both the reminder subject and body must have a value specified or no value specified to be valid." } }, returnToAgent: { helpText: "This action should only be used in secure call flows initiated by an agent and not a Transfer to Secure Flow action. See Help for more details.", reasonCodeLabel: "Reason Code", reasonCodeWatermark: "Enter an exit reason code or short description" }, screenPop: { chatScript: "inbound chat script", emailScript: "email script", screenPopScript: "screen pop script", shortMessageScript: "inbound message script", noInputs: "The selected %1$s has no inputs.", selectedScreenPop: "Screen Pop Script", selectedChatScript: "Chat Script", selectedEmailScript: "Email Script", selectedShortMessageScript: "Message Script", selectScript: "Select a %1$s", scriptNotFound: "The selected %1$s could not be found.", scriptMissingFeature: "The selected '%1$s' is missing the '%2$s' script property feature.", mustSelectScript: "A %1$s must be selected.", savedVersionOfScript: "Flow is referencing a cached version of this %1$s. The %1$s may be out of date or deleted.", scriptProperties: { scriptPropertyCallback: "Callback", scriptPropertyChat: "Chat", scriptPropertyEmail: "Email", scriptPropertyMessage: "Message", scriptPropertyScreenPop: "Inbound" } }, scripts: { noInputs: "The selected script has no inputs.", selectWatermark: "Select a script", scriptNotFound: "The selected script could not be found.", scriptMissingFeature: "The selected script is missing the required script property feature.", savedVersionOfScript: "Flow is referencing a cached version of this script. The script may be out of date or deleted." }, setAttributes: { attribute: "Attribute", addAttributeButton: "Add attribute to set", noAttributesDefined: "No attributes defined", applyWarning: "Changes to participant data will not be available in the cloud until the flow ends.", nameLabel: "Attribute Name %1$s" }, setConversationData: { conversationDescription: "The conversation ID to set participant data on.", conversationLabel: "Conversation ID", participantDescription: "If supplied, the participant data of the specified participant is used. In most cases, this can remain unspecified or NOT_SET and the customer/external participant is used.", participantLabel: "Participant ID" }, setExternalTag: { externalTagSettingLabel: "External Tag" }, search: { contains: "Contains", clearSearchResults: "Clear search results", exact: "Exact", filteredOutItemOne: "One item filtered out due to incompatible data.", filteredOutItemsMoreThanOne: "%1$s items filtered out due to incompatible data.", flowDescription: "The description of the flow", id: "The ID for %1$s", langCodeDescription: "A supported language code", languageDescription: "A supported language", name: "The name of the %1$s", noResults: "No results found", atMax: "More items are available. Please use the search box to search for more results.", promptDescription: "The description of the prompt", searchTypes: "Search types dropdown", startsWith: "Starts With", lastSearchTime: "Last Search: %1$s", variableDescription: "The description of the variable", searchWatermark: "Search flow" }, setIntent: { nluMustHaveOneIntentToSetIntent: "There must be at least one intent defined in the bot's Natural Language Understanding configuration if you want to set an intent." }, setLocale: { defaultLanguageLocked: "The default language cannot be changed in this flow type", addLanguage: "Add Language", addLanguageWithIcon: "Language", defaultLanguageError: "Language is not in supported languages", filterLanguages: "Search languages", genericLanguageError: "Language %1$s cannot be used because it does not have a region sub-tag.", headerDefault: "Default", headerDefaultTitle: "Default Flow Language", headerLanguage: "Language", headerLanguageTitle: "Languages the flow can run in", headerSkill: "Default Language Skill", headerSkillTitle: "Default language skill used for Transfer to ACD", invalidLocale: "Invalid value for language", locale: "Language", localeWatermark: "Select language", moreLanguages: "More languages...", multilingualSupportUnavailable: "This flow type only allows for 1 supported language to be configured", noSupportedLanguages: "Select at least one language to support", noDefaultLanguage: "There is no default language set", removeLanguage: "Remove language", resetTitle: "Reset fallback language to its default", runtimeLangDisplayError: "Indicates the language does not support runtime data playback, speech recognition or text to speech.", runtimeLangDisplayErrorFlexibleTTS: "Indicates the language does not support runtime data playback, speech recognition or native text to speech.", search: "Search languages", selectLanguage: "Select Language", skillMappingName: "Language Skill for %1$s", supportedLanguages: "Supported Languages", useLanguage: "Use Language", warning: "This language change will take effect after the task ends.", warningAutomate: "The language change is immediate and only applies to this flow instance.", warningImmediate: "The language change is immediate." }, setPriority: { setPriorityLabel: "Priority", setPriorityDescription: "If the priority value is outside the allowable range or NOT_SET Integer, execution takes the '{{branch.__FAILURE__}}' path at runtime. Otherwise, if successful, execution will update the '{{variable.__CONVERSATION_PRIORITY__}}' variable.", setPriorityDescriptionWorkitemFlow: "If the priority value is outside the allowable range or a NOT_SET Integer, execution takes the '{{branch.__FAILURE__}}' path at runtime. Otherwise if successful, execution takes the '{{branch.__SUCCESS__}}' output path and the 'Priority' property of '{{variable.__WORKITEM_WORKITEM__}}' variable will reflect the priority value." }, setPostFlow: { actionType: "Action Type", actionDescription: "Pick the type of follow-up action you want to trigger after the interaction ends.", anyDisplayString: "Any", calleeDisplayString: "Agent", callerDisplayString: "Caller", postFlowActionClearedOnSecureTransfer: "When a conversation is transferred to a Secure Flow - either in this flow or a later one - any Post-Flow actions that were set will be cleared.", target: "Target", targetPlaceholder: "Select a Post-Flow target", targetTypeDescription: "Select who this post-flow will apply to.", agentDisplayString: "Agent", senderDisplayString: "Sender", postFlowDescription: "Pick the type of follow-up action you want to trigger after the interaction ends.", invocationDataDescription: "JSON data to pass to the flow that is triggered after the interaction ends." }, setSkills: { setACDSkillsLabel: "ACD Skills", setACDSkillsDescription: "The ACD Skills to set on the conversation. If the value is an empty collection, any existing ACD Skills will be removed from the conversation. Execution takes the '{{branch.__FAILURE__}}' path at runtime if the value cannot be set on the conversation. Otherwise if successful, execution takes the '{{branch.__SUCCESS__}}' output path at runtime and the '{{variable.__CONVERSATION_ACD_SKILLS__}}' variable will be updated to reflect the new ACD Skills.", setACDSkillsDescriptionWorkitemFlow: "The ACD Skills to set on the workitem. If the value is an empty collection, any existing ACD Skills will be removed from the workitem. Execution takes the '{{branch.__FAILURE__}}' path at runtime if the value cannot be set on the workitem. Otherwise if successful, execution takes the '{{branch.__SUCCESS__}}' output path at runtime and the 'Skills' property of the '{{variable.__WORKITEM_WORKITEM__}}' variable will be updated to reflect the new ACD Skills.", noValueACDSkills: "Keep current ACD skills", setLanguageSkillLabel: "Language Skill", setLanguageSkillDescription: "The Language Skill to set on the conversation. If the value is a NOT_SET Language Skill, any existing Language Skill will be removed from the conversation. Execution takes the '{{branch.__FAILURE__}}' path at runtime if the value cannot be set on the conversation. Otherwise if successful, execution takes the '{{branch.__SUCCESS__}}' output path at runtime and the '{{variable.__CONVERSATION_LANGUAGE_SKILL__}}' variable will be updated to reflect the new Language Skill.", setLanguageSkillDescriptionWorkitemFlow: "The Language Skill to set on the workitem. If the value is a NOT_SET Language Skill, any existing Language Skill will be removed from the workitem. Execution takes the '{{branch.__FAILURE__}}' path at runtime if the value cannot be set on the workitem. Otherwise if successful, execution takes the '{{branch.__SUCCESS__}}' output path at runtime and the 'LanguageSkill' property of the '{{variable.__WORKITEM_WORKITEM__}}' variable will be updated to reflect the new Language Skill.", noValueLanagugeSkill: "Keep current language skill" }, setUUIData: { disconnectDropDownText: "For Disconnects", transferDropDownText: "For Transfers", mode: "Outgoing UUI Data", noUUIData: "No UUI data will be sent." }, setWhisperAudio: { label: "Whisper Audio", noValueRuntimeEvaluationString: "Use queue configured whisper audio", noValueSelectionLabel: "Use Queue Default", infoMessage: "Whisper audio is set using the current language of the flow when this action executes. Changing the flow language after this action instance will not change previously set whisper audio to the new language." }, setWrapupCode: { wrapupCode: "Wrapup Code", applyWarning: "Changes to the wrapup code will not be available in the cloud until the flow ends." }, skills: { multipleSkillsError: "There are two or more skills with the same value", placeholderSkill: "Select an ACD skill", proficiency: "ACD Skill Proficiency %1$s" }, skillExpressionFilters: { skillExpressionFiltersLabel: "Skill Expression Filters", skillExpressionFiltersResult: "Skill Expression Filters Result", evaluateSkillExpressionFiltersTooltipInfo: "Accepts skill expression strings for validation and normalization. If an expression string is empty, too long, syntactically invalid or references invalid ACD skills or language skills, the result will include error details in the errors property of the returned skill expression filter result and execution will take the Invalid output path. If the action cannot complete, such as when runtime execution limits are exceeded, execution takes the \u2018{{branch.__FAILURE__}}\u2019 output path at flow runtime.", evaluateSkillExpressionFiltersResultTooltipInfo: "Returns the skill expression filters result from the supplied skill expression strings. Individual skill expression filters in the returned collection will contain the original and normalized expressions, referenced ACD and language skills and any error information for the supplied skill expression filter. If errors are present, the normalized expression will fail during routing.", exampleErrorResultsTitle: "Example Error Result Values", setSkillExpressionFiltersTooltipInfo: "Accepts skill expression filters to use for routing. If any of the skill expression filter values are in error or NOT_SET, execution will take the '{{branch.__FAILURE__}}' output path at flow runtime.", transferToAcdSkillExpressionFiltersTooltipInfoPrefix: "Provides filters that determine which agents are eligible for assignment when the conversation is transferred to the queue. The filters are optional and are applied only when the target queue supports skill expression evaluation.", transferToAcdSkillExpressionFiltersTooltipInfoNonAutomateSuffix: "If a collection value with more than the maximum allowed item is supplied or contains one or more Skill Expression Filters that are invalid, execution takes the '{{branch.__FAILURE__}}' output path.", transferToAcdSkillExpressionFiltersTooltipInfoAutomateSuffix: "If a collection value with more than the maximum allowed item is supplied or contains one or more Skill Expression Filters that are invalid, execution invokes error handling." }, speechRec: { addInvalidPrompt: "Add prompt for invalid or ambiguous input", addInvalidPromptOverride: "Override default invalid or ambiguous input prompts", addAnotherInvalidPrompt: "Add another prompt", companyDirectoryLabel: "Company Directory", companyDirectoryNotSupportedPlural: "Company Directory is not supported for the languages %1$s", companyDirectoryNotSupportedSingle: "Company Directory is not supported for the language %1$s", defaultEngine: "System default speech engine", defaultSpeechSettings: "Default Flow-Level Speech Settings", description: "%1$s speech recognition term", directoryChoices: { allEnabled: "Enable for entire flow", allDisabled: "Disable for entire flow", startEnabled: "Enable for starting task or menu only" }, enableCompanyDirectory: "Enable company directory speech recognition for all menus", engineLabel: "Speech Engine", errorSpeechRecDisabledWithSpeechRec: "Speech recognition is disabled. Speech recognition terms will not be used until it is re-enabled.", errorSpeechRecEnabledDisabled: "Speech recognition is disabled. Enabled settings will not be available.", enableAllSpeechRec: "Enable speech recognition for the entire flow", disableAllCompanyDirectory: "Disable company directory for the entire flow", duplicateTermErrorLocal: "Term is already defined", duplicateTermErrorMenu: "Term is defined elsewhere: ", generalSettings: "General Speech Settings", hideAllLangs: "hide languages", invalidPrompts: "Invalid or ambiguous input prompts", invalidPromptsSingular: "Invalid or ambiguous input prompt", label: "Speech Recognition", suppressCallRecordingLabel: "Recording and Speech Recognition", suppressCallRecordingsSpeechRec: "Suppress recording for the entire flow", missingSpeechRec: "Not all languages have speech recognition terms", minConfidenceLevel: "Minimum confidence level", minConfidenceLevelRange: "(0-100%)", notSupportedLanguage: "Speech recognition is not supported in %1$s", notSupported: "Speech recognition not supported", optionsLabel: "Speech Recognition Options", ambiguousPromptShortLabel: "Prompt %1$s", resetToDefault: "Reset back to default prompts", showAllLangs: "show all languages", termsPlaceholder: "Enter speech recognition terms", timeoutComplete: "Complete match timeout", timeoutIncomplete: "Incomplete match timeout", timeoutMaxSpeech: "Maximum speech length" }, supportedBrowsers: { title: "Unsupported Browser", unsupportedBrowser: "You are running an unsupported, outdated browser. Architect supports the following browsers:", chrome: "Latest version of Google Chrome", firefox: "Mozilla Firefox (latest ESR version)", safari: "Latest version of Safari", pleaseUpgrade: "Please upgrade to one of these supported browsers." }, state: { createNameLabel: "State Name", createState: "Create New State", endState: "End of State", endStateOrFlow: "Ends State or Flow", goToState: "Go to State", invalidReference: "There is an invalid state reference set", label: "State", multipleNames: "Another state has the same name", noReference: "There is no state reference set", stateSelectorWatermark: "Select a state", transferTo: "State" }, task: { addPath: "Add Path", containsNoActions: "In-queue task contains no actions", createNameLabel: "Task Name", createBranch: "Create New Output Path", createBranchLabel: "Path Name", createTask: "Create New Task", defaultPathLabel: "Default", dragHere: "Drag action here", addActionHere: "Add action here", dynamicBranchTooltip: "This branch was created by a server-based object.", editorZoomLabel: "Zoom", endFlow: "End of Flow", endLoop: "Exit Loop", endTask: "End of Task", endTaskOrFlow: "Ends Task or Flow", nextLoop: "Start Next Loop", goToTask: "Go to Task", invalidReference: "There is an invalid task reference set", invalidReferenceTaskTransfer: "Cannot jump to a task that has output paths", invalidReferenceStartUpTask: "Starting Task not allowed as a Call Task target", invalidBranchReference: "There is an invalid path reference set", label: "Task", labelMoreValues: "And %1$s more...", multipleNames: "Another task has the same name", multipleNamesPath: "Another path has the same name", newDefaultName: "New Task %1$s", noPathReference: "There is no path reference set", newDefaultStateName: "New State %1$s", noReference: "There is no task reference set", noTerminatingAction: "The task does not contain a terminating action", outputPathForTask: "Set as an output path for %1$s task", outputPathModalCreate: "Create new output path", path: "Output Path", pathName: "Path Name", paths: "Output Paths", pathsMenu: "Output Paths...", pathSelectorWatermark: "Select an output path", pathType: "Exit Path", switchToMenu: "Switch to Menu", switchToTask: "Switch to Task", switchToState: "Switch to State", switchToCommonModule: "Switch to Common Module", switchToBot: "Switch to Bot", switchToMenuChoice: "Switch to Task Menu Choice", taskSelectorWatermark: "Select a task", taskActionErrorsOne: "There is one action in error within this task", taskActionErrorsMoreThanOne: "There are %1$s actions with errors within this task", taskActionWarningsOne: "There is one action with a warning within this task", taskActionWarningsMoreThanOne: "There are %1$s actions with warnings within this task", transferTo: "Task", wantToDeleteAction: "Are you sure you want to delete this Action? If deleted, all of the actions in its output paths will also be deleted.", wantToDeleteCase: "Are you sure you want to delete this Case? If deleted, all of the actions in its output paths will also be deleted." }, toolbox: { collapse: "Collapse toolbox", expand: "Expand toolbox", title: "Toolbox", searchToolbox: "Search Toolbox", noActionsFoundInSearch: "No actions found" }, transcription: { enableTranscription: "Flow Transcription", enableTranscriptionDescription: "If true, flow transcription is enabled. If false or a NOT_SET Boolean, flow transcription is disabled.", notValidForLanguages: "Transcription is not available in: %1$s" }, transfer: { allowVoicemail: "Allow rollover to voicemail", connectTimeout: "Connect Timeout", invocationData: "Invocation Data", preTransferAudio: "Pre-Transfer Audio", failureTransferAudio: "Failed Transfer Audio", preTransferCommunication: "Pre-Transfer Communication", preTransferCommunicationDescription: "Wording the flow will convey to the external participant prior to performing the transfer.", failureTransferCommunication: "Failed Transfer Communication", failureTransferCommunicationDescription: "Wording the flow will convey to the external participant if the transfer fails.", uuiData: "UUI Data to Set", alertOnTransfer: "Alert on Transfer", alertOnTransferDescription: "If true, this indicates that the workitem should alert on successful transfer. If false or a NOT_SET Boolean, the workitem should not alert on transfer." }, transferPureMatch: { addSkill: "Add ACD Skill", invalidProficiency: "Proficiency for skill %1$s must be between 1 and 10", appendSkills: "Append conversation ACD Skills", appendSkillsHeader: "Append ACD Skills", appendSkillsDescription: "If true, this will append the ACD skills configured on this action to the existing skills already set on the conversation. If false or a NOT_SET Boolean, the ACD skills configured on this action will replace the skills set on the conversation.", languageSkill: "Language Skill", languageSkillDefault: "Using supported language's default language skill", languageSkillDescription: "The preferred language skill for the transfer. If no language skill is provided, the default language skill of the flow's current language will be used.", multipleQueuesError: "There are two or more queues with the same value", preferredAgents: "Preferred Agents", preferredAgentsDescription: "Supplies a list of agents and scores to use for the Preferred Agent Routing settings on the target queue. Use the MakeList and MakeAgentScorePair functions or the MakeListAgentScorePair function to create an AgentScorePair collection that provides the agents and score values. See Transfer to ACD action article in the Resource Center for additional details.", directAgent: "Direct Agent", directAgentDescription: "Provides a target agent for the interaction on the target queue for Direct Routing. If specified, the agent takes precedences over the target queue's routing method and any agents specified in the `Preferred Agents` setting on this action.", overrideDefaultInQueueFlow: "Override default in-queue handling", queue: "Queue", resetInQueueFlow: "Reset to Organization default", transferACDInCommonModuleWarning: "Within a common module flow, in order to override default in-queue handling, all compatible flow types specified on the common module flow must expect the same in-queue flow type.", skill: "ACD Skill %1$s", priority: "Priority", routing: "Routing", workitemPriorityDescription: "Sets the priority of the Workitem. If the setting value resolves to a NOT_SET Integer at flow runtime, the Workitem priority will remain unchanged." }, transferVoicemail: { noQueueNote: "Call will be transferred to the voicemail of the current queue for which the flow is running.", noQueueTooltip: "Call will be transferred to the voicemail of the current queue for which the flow is running for these flow types: %1$s", transferTarget: "Transfer Target", voicemailCallbackSettings: "Voicemail Callback Settings", voicemailGreeting: "Voicemail Greeting", voicemailTypeNonVocalByLang: "%1$s voicemail has an initial beep and no additional prompting for the language %2$s.", voicemailTypeNonVocalByLangs: "%1$s voicemail has an initial beep and no additional prompting for the languages %2$s.", voicemailScript: "Voicemail Script", voicemailScriptSettings: "Voicemail Script Settings" }, trustedOrg: { orgShortName: "Organization Name: %1$s", trustedUser: "Trusted External User" }, updateVariables: { addStatement: "Add update statement", createCollection: "Create Collection", noStatementError: "There are no update statements", updateStatement: "Update Statement", variableName: "Variable Name %1$s", variableValue: "Value To Assign %1$s", updateStatements: "Update Statements", noUpdateStatements: "No Update Statements defined" }, usages: { openCommonModule: "(open flow in new tab)", openCommonModuleTooltip: "Open common module in new tab to see usage details for this resource" }, user: { aDeletedUser: "a deleted user", label: "User", userLabelPlural: "Users", placeholder: "Select a user", system: "System" }, utilizationLabel: { utilizationLabelLabel: "Utilization Label", placeholderUtilizationLabel: "Select a utilization label", setUtilizationLabelDescription: "The Utilization Label to set on the conversation." }, division: { selectDivisionPlaceholder: "Select a Division" }, variableDetailsModal: { cantEnableInputOnSecureVariable: "Cannot enable input because this is marked as a secure variable.", cantEnableOutputOnSecureVariable: "Cannot enable output because this is marked as a secure variable.", cantEnableSecureOnInputVariable: "Cannot enable secure because this is marked as an input variable.", cantEnableSecureOnOutputVariable: "Cannot enable secure because this is marked as an output variable.", cannotRescopeToTask: "Change accessibility by opening variable details where it is needed.", cannotChangeScopeBecauseOfOutput: "Cannot change accessibility because this is marked as an output variable.", cannotChangeScopeBecauseOfInput: "Cannot change accessibility because this is marked as an input variable.", caseChangeMessage: "All usages must be changed since the variable's name is changing by case only.", clearVariable: "Clear variable...", context: "Context", editVariableTitle: "Edit Variable", newUsages: "New usages", readOnly: "read only", readWrite: "read-write", saveChangesMessage: "Do you want to save the changes to this variable?", sections: { nameAndDescription: "Name and Description", variableOptions: "Variable Options" }, systemScope: "This variable has %1$s access across the entire flow", systemScopeWithInitialValue: "This variable has read only access across the entire flow but does allow assignment of an initial value", updateUsages: "Existing usages to change", usageError: "Usage is a different task and can not be changed", usageLocation: "Location", viewVariableTitle: "View System Variable", variableType: "Type: %1$s", variableContentIsSecure: "Content is secure", variableFlowInputLabel: "Input to flow", variableTaskInputLabel: "Input to task", variableFlowOutputLabel: "Output from flow", variableTaskOutputLabel: "Output from task" }, variable: { descriptionWatermark: "Enter variable description", flowScope: "Entire flow", flowScopeCommon: "Entire Common Module", initialValueLabel: "Initial Value", initialValueError: "Initial value has a validation error.", addVariable: "Add Variable", addVariableButton: "Create", cannotDeleteVariableReasonSlot: "Slot variables are automatically managed by Architect based on slots defined within the Natural Language Understanding configuration.", cannotDeleteVariableReasonInput: "It is marked as a flow input in a published flow signature and cannot be removed.", cannotDeleteVariableReasonInputOutput: "It is marked as a flow input and output in a published flow signature and cannot be removed.", cannotDeleteVariableReasonOutput: "It is marked as a flow output in a published flow signature and cannot be removed.", cannotDeleteVariableReasonIsSystem: "It is a built-in variable and cannot be removed.", cannotDeleteVariableReasonUsages: "It is used in one or more places within the flow and cannot be deleted until it is no longer in use.", direction: "Direction", duplicatedOutputVariableReference: "The variable '%1$s' is already referenced in another output.", filterVariablesByScopeAll: "All", filterVariablesByScope: "Filter data by accessibility", initialValueNotSupported: "You cannot specify an initial value on a system variable.", input: "Input", output: "Output", outputDeleteTooltip: "Deletes the output path from the task.", scopeLabel: "Variable Accessibility", secure: "Secure", selectorWaterMark: "Enter variable name", scopeConsumer: "%1$s: %2$s", slotVariableNotUsedButInPublishedSignature: "Slot variable not used by bot flow but used in published bot flow schema", toExpressionModeTooltip: "Editor is in variable mode, click to enter an expression.", variableDeleteTooltip: "Deletes the variable from the flow. Variables in use or output variables that have been published cannot be deleted.", label: "Variable", noVariablesFound: "No variables found", maxVariableLimitSearch: "Showing top %1$s results", variableCannotBeDeleted: "This variable cannot be deleted. %1$s" }, wait: { durationLabel: "Duration", noDurationSet: "There is no duration set.", trimDurationLabel: "Trim Lengthy Duration", trimDurationDescription: "Trim the specified Duration value to be less than the maximum execution time allowed for the flow. This allows the flow to continue processing rather than taking the error path in those scenarios." }, promptUsages: { title: "Usages for %1$s", system: "System", user: "User" }, workgroup: { placeholderQueue: "Select a queue" }, wrapupCode: { placeholder: "Select a wrapup code" }, secureAction: { secureAction: "Secure Data Action", mustSelectAction: "A secure data action must be selected.", actionNotFound: "The selected secure data action could not be found.", savedVersionOfAction: "Flow is referencing a cached version of this secure data action. The action may be out of date or deleted.", noActionsAvailable: "There are no Architect compatible secure data actions available." }, dataAction: { dataAction: "Data Action", mustSelectAction: "A data action must be selected.", actionNotFound: "The selected data action could not be found.", savedVersionOfAction: "Flow is referencing a cached version of this data action. The action may be out of date or deleted.", noActionsAvailable: "There are no Architect compatible data actions available." }, grammars: { deleteGrammarTitle: "Delete Grammar", grammarLabel: "Grammar", noGrammarBasedSttEngineFound: "You must have at least one grammar-based speech to text engine configured in your organization in order to work with grammars in Architect.", noGrammarsFound: "There were no grammars found", addGrammarToBegin: "Add a grammar to begin", searchGrammars: "Search grammars", selectGrammarPlaceholder: "Select a grammar", grammarSingleConfirmDelete: "Are you sure you want to delete the selected grammar?", grammarPluralConfirmDelete: "Are you sure you want to delete the selected grammars?", tooltips: { addGrammar: "Add new grammar", deleteSelectedGrammars: "Delete selected grammar(s)", refreshGrammars: "Refresh the list of grammars" }, gridColumns: { descriptionColumn: "Description", languagesColumn: "Languages", nameColumn: "Name" }, modal: { addFileLabel: "Add File", addGramFileTitle: "Add A Grammar File", addGrammarLanguage: "Add Language", areYouSureDeleteGrammar: "Are you sure you want to delete the selected grammar named '%1$s' and its resources?", areYouSureDeleteGrammars: "Are you sure you want to delete the %1$s selected grammars and their resources?", areYouSureDeleteGrammarLanguage: "Are you sure you want to delete the following language: '%1$s'?", changeGrammarFileType: "Change Grammar File Type", changeType: "Change Type", closeEditorLabel: "Close Editor", dateUploadedLabel: "Date Uploaded: %1$s", describeYourGrammarPlaceholder: "Describe what your grammar does", dtmfLabel: "DTMF", dtmfWithError: "DTMF: %1$s", fileExceedsLimitsModalTitle: "Grammar Cannot Be Saved", fileExceedsLimitsModalDescription: "The grammar cannot be saved, as the following file exceeds file size limits: '%1$s'.", filesPluralExceedLimitsModalDescription: "The grammar cannot be saved, as the files listed below exceed file size limits.", fileExceedsLimitsModalDescriptionAdditional: "The file limits are %1$s for a .gram file and %2$s for a .grxml file. Please ensure the files do not exceed these limits before attempting to save again.", fileExceedsLimitDtmf: "%1$s: DTMF", fileExceedsLimitDtmfAndVoice: "%1$s: Voice & Dtmf", fileExceedsLimitVoice: "%1$s: Voice", fileNameLabel: "File Name: '%1$s'", gramFileWatermark: "e.g. example_grammar.gram", grammarDescription: "Grammar Description", grammarEditorTitle: "Grammar Editor", grammarEditorLabel: "XML editor for ASR grammars", grammarName: "Grammar Name", grammarNamePlaceholder: "e.g. StartDate", grxmlFilePercentageTooltip: "The percentage of this file's size of the maximum allowed size. The maximum file size for a .grxml file is %1$s.", overrideSpeechRecognitionErrorMessage: "When specifying a value for '%1$s', you must also specify a value for '%2$s'.", overrideSpeechRecognitionErrorMessageAlternative: "No value configured for '%1$s'.", partialSuccessMessage: "There is a server issue and files in this grammar might be incomplete or missing.", partialSuccessMessageAdditional: "To prevent content from being overwritten in error, the grammar will be displayed in read-only mode and temporarily won\u2019t be editable. Please confirm you want to proceed with read-only or close the editor and try again later.", removeGrammarLanguage: "Remove Language", removeGrammarLanguageWarning: "Deleting a language is irreversible and will result in the loss of any ASR Grammar files associated with that language within this Grammar. If you have flows with a supported language that relies on this Grammar, this could result in the flow going into error.", startingLanguage: "Starting Language", newGrammarTitle: "Create New Grammar", errors: { failedToDeleteGrammars: "Failed to delete grammars.", failedToDeleteGrammarWithName: "Failed to delete grammar '%1$s'", errorTemplate: "%1$s (line: %2$s, ch: %3$s)", grammarIdDoesNotExistOnSlot: "A grammar with the ID '%1$s' does not exist. Unable to associate it with the slot '%2$s'.", grammarNameDoesNotExistOnSlot: "A grammar with the name '%1$s' does not exist. Unable to associate it with the slot '%2$s'.", xmlErrorAttributeHasInvalidName: "Invalid name for attribute '%1$s'", xmlErrorAttributeIsRepeated: "Attribute '%1$s' is repeated", xmlErrorAttributeMissingEndQuote: "'%1$s' has an attribute whose value is missing an end quote", xmlErrorAttributeWithoutValue: "Attribute '%1$s' is without a value", xmlErrorClosingTagsCannotContainAttributes: "Closing tags cannot contain attributes", xmlErrorDocumentEmpty: "Document is empty", xmlErrorExtraContentAtEnd: "Extra content at the end of the document", xmlErrorGeneric: "Invalid XML", xmlErrorInvalidTagName: "'%1$s' is an invalid tag name", xmlErrorInvalidSpaceAfterTag: "Invalid space after '%1$s'", xmlErrorTagIsNotClosed: "Tag '%1$s' is not properly closed", xmlErrorTagMismatch: "Opening and ending tag mismatch", xmlErrorTextAreYouSureSave: "Are you sure you want to save?", xmlErrorTextContentSingle: "The following language contains XML errors: '%1$s'.", xmlErrorTextContentPlural: "%1$s languages in this grammar contain XML errors.", xmlErrorTitle: "XML Error", xmlErrorUnexpectedCharacter: "Unexpected character: '%1$s'", xmlNoError: "No XML errors detected" }, noMetadataAvailableForGramFileMessage: "A .gram file is configured for the '%1$s' mode of the '%2$s' grammar but no information is available.", removeFileLabel: "Remove File", selectFileLabel: "Select File", selectedGrammarFileCouldNotBeAttachedExtensionDescription: "The file '%1$s' could not be attached because it does not have the '%2$s' extension", selectedGrammarFileCouldNotBeAttachedSizeDescription: "The file '%1$s' could not be attached because it exceeds the size limit of %2$s for the selected file type.", selectedGrammarFileCouldNotBeAttachedLabel: "Selected Grammar file could not be added", selectGramFileLabel: "Select .gram file", switchFileTypesWarning: "Switching from the '%1$s' file type to the '%2$s' file type will result in your '%1$s' file being removed from the '%3$s' mode of the currently selected language '%4$s'. Do you wish to continue?", unsavedGrammarChangesTitle: "Unsaved Changes", unsavedGrammarChangesText: "Closing the Grammar editor will discard your unsaved changes. Do you wish to continue?", voiceLabel: "Voice", voiceWithError: "Voice: %1$s" }, grammarSlots: { grammarSlotDescriptionInfo: "This setting tells the bot which Grammar to use for the collection of the selected slot value at flow runtime. You can supply a Grammar value or let the bot use the Grammar that is configured on the slot. If you supply a Grammar value and at runtime it resolves to a NOT_SET Grammar, the bot will use the Grammar configured on the slot if one exists.", useSlotConfigDescription: "Use slot's configuration", useSlotConfigLabel: "Use Slot Configuration" } }, analyticsHeatMapOverlay: { analyticsHeatMapToggleLabel: "Flow Insights", apiErrorMessage: "There was an issue loading the data. Please refresh the page.", flowNoAnalyticsData: "There is not enough data yet for this flow version.", flowNotPublished: "Frequency overlay is only available for published versions.", flowAgeLessThanOneDay: "Frequency overlay is based on the last 24 hours of data for version %1$s.", flowAgeMoreThanOneDay: "Frequency overlay is based on the last %1$s days of data for version %2$s.", oldVersionFlowAgeLessThanOneDay: "Frequency overlay is based on the last 24 hours of data for version %1$s.", oldVersionFlowAgeMoreThanOneDay: "Frequency overlay is based on the last %1$s days of data for version %2$s.", veryHighFrequencyTooltipPlural: "Very High Frequency (%1$s Sessions)", veryHighFrequencyTooltipSingular: "Very High Frequency (%1$s Session)", highFrequencyTooltipPlural: "High Frequency (%1$s Sessions)", highFrequencyTooltipSingular: "High Frequency (%1$s Session)", mediumFrequencyTooltipPlural: "Medium Frequency (%1$s Sessions)", mediumFrequencyTooltipSingular: "Medium Frequency (%1$s Session)", lowFrequencyTooltipPlural: "Low Frequency (%1$s Sessions)", lowFrequencyTooltipSingular: "Low Frequency (%1$s Session)", veryLowFrequencyTooltipPlural: "Very Low Frequency (%1$s Sessions)", veryLowFrequencyTooltipSingular: "Very Low Frequency (%1$s Session)", zeroFrequencyTooltip: "Zero Frequency" }, speechToText: { defaultSpeechToTextEngineDiffersFromNotSpecified: "The flow was saved with no speech to text engine configured. If the flow is edited, the engine for this language will be updated to the current default speech to text engine.", defaultSpeechToTextEngineUpdated: "The default speech to text engine for language '%1$s' in this flow has been updated to '%2$s'.", engines: "Engines", errorEngineNotFound: "Speech to text engine '%1$s' could not be found.", headerTitle: "Speech To Text options for a language", noneLabel: "None", selectAnEngine: "Select an engine", speechToText: "Speech To Text", speechToTextNoChoicesAvailable: "There are no speech to text engines available for the language '%1$s'.", speechToTextEngineForSlotDescriptionInfo: "This setting tells the bot which speech to text engine to use for the collection of the selected slot value from the external participant at flow runtime. You can supply a speech to text engine value or let the bot use the speech to text engine that is configured on the slot if one exists.", speechToTextEngineNotFound: "The selected speech to text engine could not be found", speechToTextEngineNotConfigured: "This language does not have a speech to text engine configured from an integration.", speechToTextEngineRequiredMessage: "When one or more supported languages in a flow has a speech to text engine configured from an integration, every supported language of that flow must have a speech to text engine configured from an integration as well.", speechToTextEngineLabel: "Speech To Text Engine", speechToTextEngineLabelWithLanguageId: "Speech To Text Engine ('%1$s')", speechToTextGenesysEnhancedSupportLabel: "Genesys Enhanced %1$s supports custom dictionaries, more information on the {{link.__STT_ENGINE_OVERVIEW__, Resource Center}} documentation.", recognitionParams: { speechRecognitionParameters: "Speech Recognition Parameters", speechToTextCompleteTimeoutDescription: "The duration of silence after a valid recognition has occurred that determines the external participant has finished speaking, based on the associated Grammar. If a Grammar has not been specified on the Slot itself or the Ask for Slot action, this property will be ignored. A value of 0 disables the timer. If a NOT_SET value is supplied, the default value will be used.", speechToTextCompleteTimeoutLabel: "Complete Timeout", speechToTextConfidenceLevelDescription: "When the recognition results from the external participant input where the n-best entry with the highest confidence is less than the confidence level, the recognition will return a no-match. A value of 0 means all utterances are accepted. If a NOT_SET value is supplied, the default value will be used.", speechToTextConfidenceLevelLabel: "Confidence Level", speechToTextMaxSpeechTimeout: "Max Speech Timeout", speechToTextSpeechDetectionSensitivity: "Speech Detection Sensitivity" } }, textToSpeech: { defaultEngineLabel: "Default Engine: %1$s", defaultEngineDiffers: "This flow was saved with engine %1$s as the default engine. If the flow is edited, the engine for this language will be updated to the current default engine.", defaultEngineNotSupported: "The default engine set for language '%1$s' in organization-level settings is not supported by this flow type so a new engine must be selected.", defaultEngineRemoved: "There is no longer a default engine set for language '%1$s' in organization-level settings, so a new engine must be selected.", defaultEngineUpdated: "The default text to speech engine for language '%1$s' in this flow has been updated to %2$s to match organization-level settings.", defaultEngineUpdatedMoreThanOne: "The default text to speech engine for languages %1$s in this flow has been updated to %2$s to match organization-level settings.", defaultVoiceLabel: "Default Voice: %1$s", defaultVoiceDiffers: "This flow was saved with %1$s as the default voice for the selected engine. If the flow is edited, the voice for this language will be updated to the current default voice.", defaultVoiceRemoved: "There is no longer a default voice set for engine %1$s and language '%2$s' in organization-level settings, so a new voice must be selected.", defaultVoiceUpdated: "The default voice for language '%1$s' in this flow has been updated to %2$s to match organization-level settings.", engines: "Engines", errorEngineNotFound: "Text to speech engine '%1$s' could not be found.", errorEngineNotSecure: "Text to speech engine '%1$s' does not support secure call flows.", errorEngineFlowTypeNotSupported: "Text to speech engine '%1$s' does not support flow type %2$s.", errorLanguageNotSupportedByEngine: "The selected text to speech engine does not support language '%1$s'.", errorLanguageNotSupportedByVoice: "The selected voice does not support language '%1$s'.", errorNoEngineSelected: "No text to speech engine selected for language '%1$s'.", errorNoVoiceSelected: "No voice selected for language '%1$s'.", errorVoiceNotFound: "Voice '%1$s' could not be found", genders: { female: "Female", male: "Male", neuter: "Neuter", neutral: "Neutral", unspecified: "Unspecified gender" }, headerTitle: "Text To Speech options for a language", maxCharLengthTitle: "Maximum text to speech string length: %1$s characters", maxCharLengthBody: "A text to speech string in excess of this length will result in the Genesys text to speech engine playing the string or blank audio if the Genesys text to speech engine doesn't support the flow's current language.", noEnginesSupportLanguage: "No available text to speech engines support this language.", noEngineSelected: "Disabled because there is no engine selected", noneLabel: "None", selectAnEngine: "Select an engine", selectAVoice: "Select a voice", textToSpeech: "Text To Speech", ttsEngine: "Engine", ttsEngineDependencyString: "Text To Speech Engine", ttsEngineNotUsableByAction: "The '%1$s' action cannot be used when a flow supported language is configured to use the '%2$s' text to speech engine. Please change the text to speech engine configured on the following language: %3$s", ttsEngineNotUsableByActionMoreThanOne: "The '%1$s' action cannot be used when flow supported languages are configured to use the '%2$s' text to speech engine. Please change the text to speech engine configured on the following languages: %3$s", ttsEngineRequiredByFlowTypeOnLanguages: "For this flow type you must configure a text to speech engine on supported languages.", ttsVoice: "Voice", voiceDescription: "Language: %1$s, Gender: %2$s", voiceLanguageMismatch: "The voice selected does not directly match the language for '%1$s'", voiceLanguageMismatchHelp: "The voice selected does not directly match the language. This may result in issues with the Text to Speech experience. Find out more information in our {{link.__VOICE_MISMATCH_LINK__, Resource Center}}." }, versions: { actionLabelCheckedInBy: "Checked in by %1$s", actionLabelCreatedBy: "Created by %1$s", actionLabelDeletedBy: "Deleted by %1$s", actionLabelPublishedBy: "Published by %1$s", auditInfoUnavailable: "Version details unavailable", currentlyPublished: "current published version", currentDebugVersion: "current debug version", currentlyPublishedStatus: "Current Published Version:", currentlyPublishedNone: "none", loadingAudit: "Retrieving version details...", openFlowVersion: "Open flow version", revertedToOne: "(Flow reverted to 1.0)", scrollToTooltip: "Show the published version in the grid", title: "Available Versions", workingVersion: "working copy", selectVersion: "Select version", latestPublishedVersion: "Latest Published", publishedVersion: "Published", latestDebugPublishedVersion: "Latest Debug", debugPublishedVersion: "Debug", latestVersionGroupHeader: "Latest", specificVersionGroupHeader: "Specific Version", usingFlowVersion: "Using version %1$s", usingFlowVersionReadonly: "Using version %1$s. Edit flow to update.", flowVersionPrefix: "version: %1$s" }, virtualAgent: { agenticVirtualAgent: "Agentic Virtual Agent", agenticVirtualAgentDowngradeTooltip: "Republish this flow to downgrade billing from Agentic Virtual Agent to Virtual Agent.", virtualAgent: "Virtual Agent", virtualAgentDowngradeTitle: "Revert Virtual Agent", virtualAgentDowngradeDescription: "If you downgrade your flow, you reduce its AI capabilities and lose access to anything you might have configured as part of Virtual Agent. Republish your flow after you revert.", virtualAgentDowngradeButton: "Revert", virtualAgentFlow: "Virtual Agent", virtualAgentNote: "Upgrade is required to be done per flow.", virtualAgentRevert: "Revert Virtual Agent", virtualAgentRevertInfo: "If you revert your flow, Architect removes the Virtual Agent functionality from your flow and you will lose access to previously configured Virtual Agent settings.", virtualAgentTooltip: "You do not have permission to enable Virtual Agent. Contact your organization's administrator to update permissions.", virtualAgentUpgrade: "Upgrade to Virtual Agent", virtualAgentUpgradeTitle: "Upgrade to Virtual Agent", virtualAgentUpgradeNote: "Upgrade to Virtual Agent to enhance your flow with new conversational and generative AI capabilities. After the upgrade, publish the flow to enable the AI features. The upgrade impacts the cost for the flow at runtime. For more information about pricing and supported languages, see the {{link.__VIRTUAL_AGENT_HELP__, Resource Center}} documentation.", virtualAgentUpgradeNoteHowToRevert: "To ensure flexibility, Genesys recommends checking in your flow before upgrading. If you need to revert the flow from Virtual Agent in the future, you can import the previously checked in version.", virtualAgentUpgradeButton: "Upgrade", virtualAgentCreateModalDescription: "Enable Virtual Agent", virtualAgentCreateModalNote: "Virtual Agent enhances your flow with new conversational and generative AI capabilities. Virtual Agent impacts the cost for the flow at runtime. For more information about pricing and supported languages, see the {{link.__VIRTUAL_AGENT_HELP__, Resource Center}} documentation.", virtualAgentCreateModalNoteAgentic: "Virtual Agent enhances your flow with new conversational and generative AI capabilities. Virtual Agent and Agentic Virtual Agents impact the cost for the flow at runtime.", virtualAgentResourceCenterPricingInfo: "For more information about pricing and supported languages, see the {{link.__VIRTUAL_AGENT_HELP__, Resource Center}} documentation." }, voiceBiometrics: { confidence: "Confidence" }, voiceSurvey: { freeTextQuestionLabel: "Free Text", multipleChoiceQuestionLabel: "Multiple Choice", npsQuestionLabel: "NPS Question", readOnlyQuestionLabel: "Read-Only Question", surveyFormLabel: "Survey Form", divisionMismatchWarning: "The selected survey form is in a different division than the flow. You can proceed, but consider aligning divisions. Find more information in our {{link.__RESOURCE_CENTER__}}.", surveyFormNoDivisionWarning: "The flow will be created in the selected division, but the survey form is not assigned to a division. Find more information in our {{link.__RESOURCE_CENTER__}}.", surveyFromIncompatible: "The chosen survey form cannot be used for a voice survey flow.", surveyFormDisabled: "The chosen survey form is disabled. In order to create a voice survey flow from this form, please publish a new version of this form. Manage in {{link.__SURVEY_FORMS__, Survey Forms}}.", surveyFormInvalid: "The survey form is invalid.", surveyFormInsufficientPermissions: "You do not have sufficient permissions to view the survey form. You need the '%1$s' permission.", surveyFormQuestionAnswerExceedsLimitErrorMoreThanOne: "The following questions in the survey form have an answer that exceeds the %1$s character limit: %2$s.", surveyFormQuestionAnswerExceedsLimitError: "The following question in the survey form has an answer that exceeds the %1$s character limit: %2$s.", surveyFormUpdateNeeded: "Please update the survey form before attempting to create the flow.", voiceSurveyAnswerDescription: "Wording the bot will use when listing out the answer options to the caller.", voiceSurveyAnswerLabel: "Answer", voiceSurveyAnswerOptionsDescription: "A collection of answers to the given survey question. Answer values reflect answers set in the survey form and can not be edited. Please note that answer configuration is tied to the survey question itself and is not specific to an individual action so if you have multiple Ask Survey Question actions that reference the same survey question the DTMF settings will be common between all actions. Allowable values include: 0-99, * and #.", voiceSurveyAnswerOptionDtmfLabel: "DTMF", voiceSurveyAnswerOptionsLabel: "Answer Options", voiceSurveyAnswerOptionValueLabel: "Answer Value", voiceSurveyBotLabel: "Survey Bot", voiceSurveyErrorLink: "Manage in {{link.__SURVEY_FORM__}}", voiceSurveyConditionsNotMetLabel: "Conditions Not Met", voiceSurveyDoesNotExistError: "The selected survey form does not exist in this organization.", voiceSurveyDtmfSettingsLabel: "DTMF Settings", voiceSurveyDuplicateDtmfError: "Duplicate DTMF value for '%1$s'", voiceSurveyEndQuestionGroupTaskActionLabel: "Done - %1$s", voiceSurveyFlowCreationTooltip: "Select a survey form for the voice survey flow. Architect will generate a Voice Survey flow based on the survey form that can be executed immediately after an Agent hang-up or transfer, or Outbound connection, etc. Only the most recent version of published survey forms may be selected. Survey forms that have been disabled are excluded.", voiceSurveyFollowUpQuestionDescription: "Wording the bot will use when asking the additional question after the NPS question has been answered.", voiceSurveyFollowUpQuestionLabel: "Follow Up Question", voiceSurveyFooterLabel: "Survey Footer", voiceSurveyFormDoesNotExistShort: "The associated survey form does not exist.", voiceSurveyFormDoesNotExistLong: "The associated survey form does not exist in this organization. To address this, please {{link.__VOICE_SURVEY_FLOWS__, create a new voice survey flow}}.", voiceSurveyFormExceedsMultipleChoiceLimit: "The chosen survey form would create more than %1$s list slot types which exceeds the flow limit. A list slot type is created for each multiple choice, yes/no and range question at flow creation.", voiceSurveyFormIsDisabledLong: "The associated survey form is disabled. To address this, please publish a new version of this form and create a new flow using that version. Manage in {{link.__SURVEY_FORMS__, Survey Forms}}.", voiceSurveyFormIsDisabledShort: "The associated survey form is disabled.", voiceSurveyFormLabel: "Form", voiceSurveyFormLastModified: "Last Modified", voiceSurveyFormsNotAvailable: "No survey forms available for this organization.", voiceSurveyFormNotLatestVersionShort: "The associated survey form is not the latest version.", voiceSurveyFormNotLatestVersionLong: "The associated survey form is no longer the latest version. To address this, please {{link.__VOICE_SURVEY_FLOWS__, create a new voice survey flow}} using the most recent version of the survey form.", voiceSurveyFormVersionLabel: "Survey Form Version", voiceSurveyHeaderLabel: "Survey Header", voiceSurveyIncompatibleLanguageWarning: "The default language selected does not match the survey form language. This may result in issues regarding speech recognition and integrations. Find more information in our {{link.__RESOURCE_CENTER__}}", voiceSurveyNoQuestionsAvailableLabel: "No Questions Available.", voiceSurveyNotApplicableDescription: "The DTMF character to configure for Not Applicable. This may not be the same as the flow setting for the DTMF terminating character or any of the answer options associated with this survey question.", voiceSurveyNotApplicableLabel: "Not Applicable", voiceSurveyNotApplicableSetAsTerminatingCharacter: "Value set as terminating character", voiceSurveyQuestionConditionDescription: "These are the conditions under which the question is available as configured by the survey form. This is not something that can be changed and is intended for informational purposes. If this value is NOT_SET, the question will always be presented to the caller.", voiceSurveyQuestionConditionLabel: "Question Condition", voiceSurveyQuestionDescription: "Wording the bot will use when asking the question for the first time.", voiceSurveyQuestionLabel: "Survey Question", voiceSurveyQuestionNotInUseError: "'%1$s' is not being asked.", voiceSurveyQuestionNotInUseMessage: "There are no actions currently associated with this question.", voiceSurveyQuestionWithGroupAndQuestionIndex: "Group %1$s Question %2$s", voiceSurveyQuestionUsagesMessage: "This question is used by %1$s.", voiceSurveyQuestionUsagesMessageSingularReplacement: "1 action", voiceSurveyQuestionUsagesMessagePluralReplacement: "%1$s actions", voiceSurveyQuestionWithIndex: "Question %1$s", voiceSurveyResourceCentreLinkText: "Resource Center", voiceSurveySelectQuestionLabel: "Select a Question", voiceSurveySlotNotAllowedErrorMessage: "The slot '%1$s' can not be used, as it is not compatible with this action.", voiceSurveyFormsLinkText: "Survey Forms", voiceSurveyQuestionGroupNotApplicable: "Question Group %1$s Not Applicable", voiceSurveyQuestionGroupTaskName: "Ask Question Group %1$s", voiceSurveyQuestionGroupVisibilityActionName: "Is Question Group %1$s Applicable?", voiceSurveyQuestionResultDescription: "The variable associated with the question.", voiceSurveyQuestionResultLabel: "Question Result", voiceSurveyQuestionTypeDescription: "The type of survey question that is being asked.", voiceSurveyQuestionTypeLabel: "Survey Question Type", voiceSurveyTerminatingCharacterDescription: "Defines the character used to indicate that data entry has been finished.", voiceSurveyTerminatingCharacterLabel: "Terminating Character", voiceSurveyTitleWithSettings: "Voice Survey Flow Settings" }, workitem: { generateFlowLogic: "Generate Flow Logic", generateFlowLogicTooltip: "If Generate Flow Logic is enabled, when the Workitem flow is created Architect will auto-generate default flow logic for Workitem event handling and statuses configured on the selected Worktype.", schemaLabel: "Schema", selectWorktypeLabel: "Select Worktype", workitemEventTypesHeader: "Workitem Event Types", workitemFlowCreationTooltip: "Select a Worktype for the Workitem flow. There can only be a 1-1 association between a Worktype and a Workitem flow.", workitemFlowSettingsHeader: "Worktype Dependencies", workitemEventQuestionCreated: "Workitem Created?", workitemDateBasedRulePresent: "Workitem Date Rule Present?", workitemEventQuestionStatusChanged: "Workitem Status Changed?", worktypeCallTaskLabel: "Call %1$s Task", worktypeDateBasedRulesHeader: "Worktype Date Rules", worktypeDateBasedRulesUpdated: "Worktype date rules have been updated.", worktypeEndStatusTask: "End Task: %1$s", worktypeErrorDoesNotExist: "The selected Worktype does not exist.", worktypeErrorInsufficientPermissions: "You do not have sufficient permissions to view the Worktype. You need the 'workitems:worktype:view' permission.", worktypeErrorInUse: "The selected Worktype is already associated with a Workitem Flow. Please choose another Worktype or delete the flow that this Worktype is associated with.", worktypeErrorSomethingGoneWrong: "An error occurred while creating the Workitem Flow. Please try again later.", workitemEventData: "This variable holds additional event data for the event that started this Workitem flow instance.", worktypeAssociatedWithFlow: "This Worktype is associated with an existing Workitem flow.", worktypeInvalid: "The Worktype referenced by this flow is invalid.", worktypeIsEventTypeName: "Does EventType Equal '%1$s'?", worktypeLabel: "Worktype", worktypeMatchDateBasedEvent: "Check Date-Based Event", worktypeMatchStatus: "Check Workitem Status", worktypeNameWithEventTypePrefix: "EventType - %1$s", worktypeNameWithStatusPrefix: "Status - %1$s", worktypeSchemaChanged: "The schema for the Worktype referenced by this flow has been updated.", worktypeSchemaChangeMoreRestrictiveShort: "The Worktype schema is more restrictive than the Workitem custom fields in this flow.", worktypeSchemaChangeMoreRestrictiveLong: "The Worktype schema is more restrictive than the Workitem custom fields in this flow. To address this, please {{link.__CUSTOM_ATTRIBUTES__, update the schema}} to be less restrictive by adding anything that was previously removed. Alternatively, you may delete this flow and {{link.__WORKITEM_FLOWS__, create a new Workitem flow}} that references the same Worktype to use the latest version of the Worktype.", worktypeSchemaChangeApplied: "Workitem custom fields were successfully updated.", worktypeSchemaChangeNotApplied: "Workitem custom fields will remain unchanged.", worktypeSchemaGoneShort: "The Worktype referenced by this flow had a schema when the flow was created. Architect no longer sees a schema associated with the Worktype.", worktypeSchemaGoneLong: "Removing a schema from a Worktype is not allowed since consumers of the Worktype and its configuration, like an Architect flow, could have an out of date view of what the Worktype looks like. Please check the associated {{link.__WORKTYPES__, Worktype}} to ensure that it does have a schema and if it does, contact support.", worktypeSchemaNotUsableShort: "The Worktype schema cannot be used by Architect.", worktypeStatusChangeApplied: "Worktype statuses have been updated.", worktypeStatusClosed: "Closed", worktypeStatusInProgress: "In Progress", worktypeStatusOpen: "Open", worktypeStatusWaiting: "On Hold", worktypeStatusesHeader: "Worktype Statuses", worktypeStatusConvertExpressionToLiteralTitle: "Convert Worktype Status Expression To Literal" }, customJson: { schemaNotUsable: "The schema '%1$s' cannot be used by Architect.", schemaChanged: "The schema '%1$s' referenced by this flow has changed.", schemaChangeApplied: "The schema '%1$s' referenced by this flow was successfully updated.", schemaChangeNotApplied: "Changes to the schema '%1$s' have not been applied.", schemaChangeMoreRestrictive: "The schema '%1$s' has been changed to be more restrictive.", schemaGone: "The schema '%1$s' referenced by this flow is missing." }, selectAValue: "Select a value", walkthrough: { label: "Take Tour", stepCounter: " %1$s of %2$s", buttons: { next: "Next", previous: "Previous", complete: "Start using Architect", start: "Start" }, welcome: { text1: "Architect is the flow development tool within the Genesys Cloud platform.", text2: "This tour will cover some highlights of the application to help you develop your own flows. The information presented in this tour may change, depending on which view has focus.", title: "Welcome to Architect!" }, fini: { text1: "Now it\u2019s time to build flows of your own. For practice, see %1$s", text2: "Get started with the Architect tutorial.", title: "This concludes the tour!" }, audioSequenceEditor: { text: "Use the prompt sequence editor to add multiple prompts to a location within your flow and to change the order in which they are presented.", title: "Prompts" }, configurationArea: { text1: "Build starting and reusable menus and tasks.", text2: "Specify default settings for actions, error handling, and menus.", text3: "Select supported languages.", text4: "Configure speech recognition settings.", text5: "View and locate data and prompt resources.", title: "Configuration Area" }, designArea: { textTitle: "On various actions you can:", text1: "Easily type Text-to-speech phrases.", text2: "Expand the prompt sequence editor to add, order, and stylize audio prompts, data playback, and text-to-speech.", text3: "Function and Operator help is available to provide assistance writing expressions.", text4: "Design the action's behavior when selected in the flow.", title: "Design Area" }, flowToolbar: { text1: "Save periodically to preserve your work.", text2: "Check-in, which saves the flow and releases your user lock.", text3: "Publish, which saves, validates, and checks-in your flow and then makes it available for the next new call.", textTitle: "When you are working on a flow, you can:", title: "Complete the Flow and Flow Maintenance" }, homePage: { text: "Use the tabs on the left to navigate between areas you want to create and configure.", title: "Home Page" }, help: { text1: "Go to the Genesys Cloud Resource Center for help.", text2: "Send feedback to the Genesys Cloud team.", title: "Help" }, taskEditor: { text1: "Provides a pallet of action categories and options for complex IVR design.", text2: "Includes a design area in which to drag and drop actions to build task sequences.", text3: "Toolbox similar to the flow design page.", title: "Task Editor" }, toolbarControls: { text1: "Related to creating, opening, managing, and deleting flows, prompts, or operations.", text2: "Controls change depending on your permissions and the selected tab.", title: "Toolbar Controls" }, toolbox: { textTitle: "When editing a flow:", text1: "Use actions from the toolbox and drag them to the desired location in the configuration area, in either your menu or task", text2: "Hide or expand the toolbox to adjust the design area", title: "Toolbox" }, promptToolbar: { text: "When working with audio prompts, you can add or record individual prompts while creating a flow, or you can upload audio in bulk using a CSV file to manage the configuration.", title: "Prompts" }, searchAndFilterMain: { text1: "Quickly search for a flow or audio prompt based on the selected tab.", text2: "If you don't see the flow or audio prompt you are looking for in the list, use the search box to narrow the results.", title: "Search and Filter" } }, navigationDropDown: { bot: "Bot Flow", commonModule: "Common Module", inboundCall: "Inbound Call", inboundChat: "Inbound Chat", inqueueCall: "In-Queue Call", inqueueEmail: "In-Queue Email", inqueueShortMessage: "In-Queue Message", outboundCall: "Outbound Call", inboundEmail: "Inbound Email", inboundSMS: "Inbound Message", secureCall: "Secure Call", sectionLabels: { initialFlows: "Initial Flows", postInteraction: "Post Interaction", supportingFlows: "Supporting Flows" }, surveyInvite: "Survey Invite", surveyInviteWebPrefix: "Web Survey Invite", voicemail: "Voicemail", workflow: "Workflow", workitem: "Workitem Flow", voiceSurvey: "Voice Survey" }, digitalMenuAction: { errorCreateAtLeastOneChoice: "At least one choice must be created", errorEnableAtLeastOneChoice: "At least one choice must be enabled" }, carouselType: { carouselErrorAddAtLeastOnePostbackButton: "At least one postback choice must be created in the carousel" }, nodeHeader: { expandActionDetails: "Expand Action Details", collapseActionDetails: "Collapse Action Details" }, theme: { newArchitectToggleLabel: "New Architect", newArchitectToggleTooltip: "Try the new Spark UI in Architect, switching back is available for a limited time." }, dragReusableMenuHere: "Add reusable menu here", dragReusableTaskHere: "Add reusable task here", dragStateTaskHere: "Add state here", collapseAll: "Collapse All", collapsedOne: "1 hidden action", collapsedMultiple: "%1$s hidden actions", confirmRemoveChildrenDelete: "Delete Them", confirmRemoveChildrenKeep: "Save Them", confirmRemoveMenu: "This menu contains menu choices, do you want to save them as a menu?", confirmRemoveTask: "This task contains actions, do you want to save them as a task?", confirmDeleteTopContainerActions: "'%1$s' contains one or more actions which will also be deleted.
", confirmDeleteTopContainerIsReferenced: "There are one or more actions which reference '%1$s' that will be in error if '%1$s' is deleted.
", confirmDeleteTopContainer: "%1$s
Are you sure that you want to delete '%2$s'?", confirmSaveChanges: "What do you want to do with your changes before navigating away?", confirmSaveChangesStatement: "You have unsaved changes.", created: "Created", deleteMenu: "Delete this menu", deleteTask: "Delete this task", deleteState: "Delete this state", deletionFailed: "Deletion failed", deletionFailedFor: "Deletion failed for %s", defaultForDescription: "Default: %1$s", discardChanges: "Discard Changes", editTask: "Edit Task", expandAll: "Expand All", expand: "expand", homeTitle: "Architect Home", genesysCloudDirectory: "Genesys Cloud - Activity Overview", initialGreetingLabel: "Initial Greeting", inlineLabelSeparator: ":", labelAndName: "%1$s: %2$s", logout: "Log Out", loopTask: "In-Queue Task", missingReference: "No '%1$s' Reference", namePlaceholder: "Enter name...", nameAndVersion: "%1$s (%2$s)", navigateTo: "Navigate to %1$s", noVariablesDefined: "There are no variables used in this flow. To create a variable, add an action that assigns a value to a variable.", noVariablesDefinedInContainer: "There are no '%1$s.' variables defined in '%2$s'. To create a variable, add an action that assigns a value to a variable.", noVariablesFound: "There is no data matching the search", noPromptsUsed: "There are no prompts being used in this flow", noPromptsFound: "There are no prompts matching the search", noLanguagesDefined: "There are no languages defined", preferencesAndSettings: "Preferences and settings", readOnlyFlowDeleted: "This flow is deleted.", readOnlyFlowLocked: "This flow is not open for edit and is currently locked by %1$s.", readOnlyFlowUnlocked: "This flow is not currently open for edit.", readOnlyFlowCantEdit: "You do not have permission to edit flows", readOnlyOldFlow: "You are currently viewing an older version of this flow.", reusableMenus: "Reusable Menus", reusableTasks: "Reusable Tasks", saveChanges: "Save Changes", searchFlows: "Search flows", sectionCommonModuleFlows: "Common Modules", sectionDigitalBotFlows: "Digital Bot Flows", sectionError: "Error", sectionFlows: "Flows", sectionPrompts: "Prompts", sectionBotFlows: "Bot Flows", sectionInboundEmailFlows: "Inbound Email Flows", sectionSurveyInviteFlows: "Survey Invite Flows", sectionSurveyInviteFlowsWebPrefix: "Web Survey Invite Flows", sectionInboundCallFlows: "Inbound Call Flows", sectionInboundChatFlows: "Inbound Chat Flows", sectionInboundShortMessageFlows: "Inbound Message Flows", sectionOutboundCallFlows: "Outbound Call Flows", sectionSecureCallFlows: "Secure Call Flows", sectionInQueueCallFlows: "In-Queue Call Flows", sectionInQueueEmailFlows: "In-Queue Email Flows", sectionInQueueShortMessageFlows: "In-Queue Message Flows", sectionVoiceFlows: "Voice Flows", sectionVoicemailFlows: "Voicemail Flows", sectionVoiceSurveyFlows: "Voice Survey Flows", sectionWorkflowFlows: "Workflows", sectionWorkItemFlows: "Workitem Flows", sectionUserPrompts: "User Prompts", sectionAdvancedFlowSearch: "Dependency Search", sectionSystemPrompts: "System Prompts", sectionUnsupportedBrowser: "Unsupported Browser", sectionFlowExecutionHistory: "Flow Execution History", sectionGrammars: "Grammars", serverRequests: "1 active network request", serverRequestsPlural: "%1$s active network requests", setMenuAsStartup: "Set this as the starting menu", setTaskAsStartup: "Set this as the starting task", setStateAsStartup: "Set this as the starting state", startUpMenuDisplayName: "Starting Menu", startUpTaskDisplayName: "Starting Task", startUpStateDisplayName: "Starting State", startUpBotStateDisplayName: "Starting Bot", periodicStateDisplayName: "Periodic State", setStateAsPeriodic: "Set this as the periodic state", unsavedChanges: "There are unsaved changes", webChatDeprecationText: "Genesys Cloud Web Chat and Web Chat Widgets have reached End of Life and are no longer supported. To avoid interruptions to service, migrate to Web Messaging as soon as possible. For more information see {{link.__CHAT_DEPRECATION__}} or reach out to your Genesys representative.", webChatDeprecationLinkText: "Deprecation: Removal of ACD Web Chat (version 2)", webChatDeprecationYear: "2025", shortcuts: { shortcutsDescriptions: { openShortcuts: "Open the shortcuts modal", expressionHelp: "Toggle Expression Help", goToStart: "Play backwards to Start", stepBackOver: "Step Back Over", stepBackOut: "Step Back Out", stepBackIn: "Step Back In", playPause: "Play / Pause the replay", stepIn: "Step In", stepOut: "Step Out", stepOver: "Step Over", goToEnd: "Play to End" }, shortcutGroupings: { all: "All", codeEditor: "Code Editor", flow: "Flow", global: "Global", replay: "Replay" }, shortcutsLabels: { clearKeystrokes: "Clear Keystrokes", command: "Command", exportShortcuts: "Export Shortcuts", filterBy: "Filter By", importShortcuts: "Import Shortcuts", keyboardShortcuts: "Keyboard Shortcuts", primaryKeystroke: "Primary Keystroke", resetToDefault: "Reset To Defaults", resetToDefaultQ: "Reset to default?", resolveConflict: "Resolve Conflict", revert: "Revert", secondaryKeystroke: "Secondary Keystroke" }, shortcutsMessages: { cannotOverwriteOpenShortcuts: "The shortcut '%1$s' is reserved for opening the shortcuts modal, please choose a different keystroke combination for this shortcut.", confirmResetToDefault: "Are you sure you want to reset all shortcuts to default values?", duplicateKeyCombosAssigned: "'%1$s' is already in use and will be removed from %2$s if accepted.", noMatchingShortcutCommands: "There are no matching shortcut commands.", numberOfSuccessfulShortcutsImported: "%1$s of %2$s shortcuts imported successfully.", primaryKeystrokeRequired: "The primary keystroke for '%1$s' is empty. \n\nA primary keystroke is required when a secondary keystroke is in use.", shortcutsImportedSuccessfully: "All shortcuts imported successfully.", shortcutsImportFailureFileRead: "No shortcuts were imported due to a file read error.", shortcutsImportFailureFormatting: "No shortcuts were imported due to errors with the shortcut formatting." } }, accessibility: { escapeToTab: "Press ESC before TAB to move to next element", skipLinkTexts: { skipToMenu: "Skip to Menu", skipToMenuEnd: "Skip to end of Menu" } }, importExport: { fileToImport: "File to import", import: "Import", importFailed: "Import Failed", importPartiallySuccessful: "Import Partially Successful", importSuccessful: "Import Successful", selectFileToUpload: "Select file to upload" }, markdownEditor: { boldButtonTitle: "Adds bold to the currently selected text or inserts a bold text placeholder where you can enter text", browseForFile: "Browse for File", clickToAddValue: "Click to add text", enterExpressionTextHere: "enter expression text here", enterFullVariableNameHere: "enter full variable name here", enterBoldTextHere: "enter bold text here", enterDigitalAudioUrlHere: "enter digital audio URL here", enterFileUrlHere: "enter file URL here", enterImageUrlHere: "enter image URL here", enterVideoUrlHere: "enter video URL here", enterItalicsTextHere: "enter italics text here", enterLinkTextHere: "enter link text here", enterLinkUrlHere: "enter link URL here", enterStrikethroughTextHere: "enter strikethrough text here", expressionButtonTitle: "Evaluates an expression and inserts the result in to the rich text", fileButtonTitle: "Insert a file from a file variable or URL in to the rich text", imageButtonTitle: "Insert an image from an image variable or URL in to the rich text", insertFromUrl: "Insert from URL", insertFileFromUrl: "Insert File from URL", insertImageFromUrl: "Insert image from URL", insertVariable: "Insert variable", italicsButtonTitle: 'Adds italics to the currently selected text or inserts an italics text placeholder where you can enter text"', linkButtonTitle: "Inserts a link with customizable text and URL in to the rich text", mediaButtonTitle: "Insert a media object from an image, video or digital audio variable or URL in to the rich text", missingClosingCurlyBraces: "Missing closing braces: '}}'", nestedCurlyBraces: "Nested curly braces are invalid and will be shown as plain text", strikethroughButtonTitle: "Adds strikethrough to the currently selected text or inserts an strikethrough text placeholder where you can enter text", variableButtonTitle: "Inserts a variable value in to the rich text" }, replayer: { actionExecutionId: "Action Execution ID", actionId: "Action ID", actionName: "Action Name", actionType: "Action Type", blankCommunicationItemMessage: "This communication was blank.", clearBreakpoint: "Clear Breakpoint", communications: "Communications", communicationFramesTooltip: "When the communications panel is being displayed, specifies which communications are being displayed.", communicationsNotSupportedForFlowType: "Communications are not supported for this flow type.", noCommunicationsForFlowInstance: "No communications were reported for this flow instance.", noCommunicationsForCurrentFrame: "No communications were reported for the current frame. To view frames that did have communications reported, update the Communications panel to show all communications in the {{link.__REPLAY_MODE_SETTINGS__}}.", confidence: "Confidence", confidenceAlternates: "Alternates", currentFrameCommunicationTooltip: "Current Frame", defaultLanguageSkillId: "Default Language Skill ID", defaultLanguageSkillName: "Default Language Skill Name", details: "Frame Details", eventNameError: "Error Event", eventNameWarning: "Warning Event", eventErrorSettingName: "Setting Name", eventErrorSettingItemName: "Setting Item Name", eventErrorSettingItemIndex: "Setting Item Index", eventErrorLimitOrg: "Organization", eventErrorLimitOrgLimits: "Limits", eventErrorFunctionName: "Function Name", eventErrorParameterName: "Parameter Name", eventErrorReason: "Reason", eventErrorDetails: "Error Details", eventErrorLimitName: "Limit Name", eventErrorLimitValue: "Limit Value", eventNameAgentEscalation: "Agent Escalation Event", eventNameAudioFlushed: "Audio Flushed Event", eventNameGlobalDtmf: "Global DTMF Event", eventLanguageChanged: "Language Changed Event", eventNameNoInput: "No Input Event", eventNameNoMatch: "No Match Event", eventNameRecognitionFailure: "Recognition Failure Event", eventNameSessionDisconnected: "Session Disconnected Event", eventNameVariablesUpdated: "Variables Updated Event", executionHistory: "Execution History\u2026", executionHistoryTitle: "Query execution history for this flow", executionId: "Execution ID", exitReplay: "Close Replay", exitReplayMode: "Exit Replay", exportExecutionData: "Export execution data", failedToLoadExecutionData: "Failed to load execution data", failedToLoadExecutionDataMessage: "There was an error loading the execution data for the flow instance with an ID of %1$s.", flow: "Flow", flowEnded: "Flow Ended", flowEndTime: "Flow End Time", flowExecutionId: "Flow Execution ID", flowExitReason: "Flow Exit Reason", flowExitTransferType: "Flow Exit Transfer Type", flowStarted: "Flow Started", flowStartingLanguage: "Flow Starting Language", flowStartTime: "Flow Start Time", flowInstanceIsSecure: "Flow Instance Is Secure", flowInstanceIsTruncated: "Flow Instance Is Truncated", flushedCommunications: "Flushed Queued Communications", filterData: "Filter variables...", filterDataEmpty: "There are no variables matching the filter", goToLatest: "Go to Latest", invokingContext: "Invoking Context", isInReplayMode: "Replay mode is read only. You can not make changes to this file.", isTruncated: "Truncated", isTruncatedTooltip: "Indicates execution data for this flow instance is truncated and not all items that ran during this flow's execution were captured.", loadingExecutionData: "Loading execution data...", numberOfMs: "...%1$sms", openFlow: "Open Target Flow", openFlowTitle: "Open replay of target flow (action must be for currently selected execution frame)", openInvokingFlow: "Open Invoking Flow", openInvokingFlowTitle: "This flow was invoked by another Architect flow.", openInvokingPolicy: "Open invoking Quality Policy", openInvokingPolicyTitle: "Open the invoking Quality Policy", openInvokingTrigger: "Invoked by Process Automation", openInvokingTriggerTitle: "This flow was invoked by a Process Automation Trigger.", openInvokingJourney: "Open Invoking Journey Action Map", openInvokingJourneyTitle: "This flow was invoked by a Journey Action Map.", openInvokingWorkitem: "Open Invoking Workitem", openInvokingWorkitemTitle: "This flow was invoked by a Workitem.", outputPath: "Output Path", pause: "Pause", participantTo: "To Participant", participantFrom: "From Participant", play: "Play", playbackSpeed: "Playback Speed", predictiveEngagementJourneyMapId: "Action Map ID", predictiveEngagementJourneyMapName: "Action Map Name", purposeNoInput: "No Input", purposeNoMatch: "No Match", qualityPolicyId: "Policy ID", qualityPolicyName: "Policy Name", replay: "Replay", panelLocationBottom: "Show panel on bottom", panelLocationOff: "Do not show panel", panelLocationSide: "Show panel on side", replayModeLabel: "Replay Mode", replayModeSettingsTitle: "Replay Mode Settings", sequenceTypeTextLabel: "Text", setBreakpoint: "Set Breakpoint", showStackGraph: "Show Stack Graph", skipHere: "Skip here", skipBackHere: "Skip back here", speedFast: "Fast", speedSlow: "Slow", stack: "Stack", stackExecutionId: "Stack Execution ID", stackType: "Type", sttEngineID: "STT Engine ID", processAutomationTriggerId: "Trigger ID", processAutomationTriggerName: "Trigger Name", processAutomationTriggerType: "Trigger Type", ttsEngineID: "TTS Engine ID", ttsVoiceID: "TTS Voice ID", variables: "Data", valueIsDeferred: "Deferred", valueRedacted: "Value Redacted", invalidValue: "Value Invalid", valueTooLarge: "Value Too Large", valueIsDeferredMessage: "This value is only computed when the property is accessed at runtime.", valueIsRedactedMessage: "This indicates a computation occurred but the value cannot be reported as it is secure.", valueIsInvalidMessage: "This indicates an invalid value at flow runtime.", valueIsTooLargeMessage: "This value was too large to be reported by the flow runtime engine.", workitemEventType: "Workitem Event Type", workitemId: "Workitem ID", workitemName: "Workitem Name", zoomFull: "Zoom Full", zoomMedium: "Zoom Medium", zoomOff: "Zoom Off", zoomPercent: "Zoom %1$s%%", zoomSmall: "Zoom Small", zoomLevel: "Timeline Zoom Level", replayToolbar: { showCommunicationsForAllFrames: "Show communications for all frames", showCommunicationsForCurrentFrame: "Show communications for current frame", showValuesInLocal: "Show Values in Local" }, executionDataProviders: { flow: { flowCommunicationsCharacteristicDisabled: "Communication data was not logged for this flow instance.", flowVariablesCharacteristicDisabled: "Variable value data was not logged for this flow instance." } }, disposition: "Disposition: %1$s", dispositions: { executionSkippedMaxInstancesExceeded: "Execution of this action was skipped because execution would exceed the maximum number of instances allowed per flow instance.", skippingInboundEmailAutoGenerated: "No auto reply was sent from this action. Automatic replies are not sent to auto-generated emails.", skippingInputMessageBodyBlank: "No message was sent from this action. The message body was blank.", skippingPreviousReplyWithParticipant: "No auto reply was sent from this action. An auto reply was already sent for this conversation.", skippingThirdPartyEmailConversation: "No auto reply was sent from this action. Auto replies are not sent to third party email conversations." }, nextChange: "Go to next change", previousChange: "Go to previous change", externalExecutionData: { unavailable: { botDataUnavailableInsufficientPermissionsCommunications: "Communications for the external bot are unavailable due to insufficient permissions. You must have the bot instance view permission to see external bot communications.", botDataUnavailableUnableToRetrieveCommunications: "Communications for the external bot are unavailable due to an error retrieving the bot instance data." } }, pausingPlayback: "Pausing playback", resumingPlayback: "Resuming playback" }, executionHistory: { flowExecutionViewPermission: "You do not have permission to view flow executions.", flowInstanceQueryPermission: "You do not have permission to query flow instance history.", flowInstanceViewPermission: "You do not have permission to view flow instance history.", flowInstanceMissingViewPermission: "You do not have permission to view this flow instance. The permission 'architect:flowInstance:view' is required to view flow instance history.", endDateTime: "End Date Time", startDateTime: "Start Date Time", queryBuilderOnboarding: "Add Criteria Here", queryBuilderOnboardingInfo: "Create a query to find all available flow instances that can be replayed.

You can click on, or drag, criteria from the toolbar on the right to create a filter that will help narrow down the flows whose execution meet different criteria.", queryBuilderUrlCriteriaUnavailable: "Unable to query the requested execution data specified in the URL as the query requires criteria that is not available to this organization.", queryBuilderLinkNotValid: "The linked execution history query was not executed due to an error in the criteria value provided.", viewQuery: "View Query", flowInstances: "Results", queryBuilder: "Query Builder", confirmDeleteTitle: "Confirm Delete", confirmDeleteMessage: "Are you sure you want to delete this Clause? If deleted, all of the criteria it contains will also be deleted.", actionRuntimeIdLabel: "%1$s - Action", menuRuntimeIdLabel: "%1$s - Menu", criteriaValuePlaceholder: "Enter a value", criteriaSelectedValueRequired: "You must select a value.", criteriaAllowableValuePlaceholder: "Select a value", enterCriteriaValueScreenreaderText: "Enter a value for the '%1$s' criteria.", selectCriteriaValueScreenreaderText: "Select a value for the '%1$s' criteria.", selectCriteriaOperatorScreenreaderText: "Select an operator for the '%1$s' criteria.", selectActionContainerValueScreenreaderText: "Select an Action value for this criteria.", errorAddingCriteria: "Error Adding Criteria", tooManyNestedCriteria: "Unable to add a new nested criteria clause", unableToLoadQuery: "Unable to load saved query", errorRunningQuery: "An error occurred when running the query", runQuery: "Show Results", loadQuery: "Load Query", clearQuery: "Clear Query", saveQuery: "Save Query", queryNotExecuted: "Run a query with the Query Builder above to find flow instances", queryNoResults: "Query did not find any flow instances", invalidQueryNeedsOneCriteria: "Invalid query: At least one criteria is required", invalidQueryNeedsFlowIdCriteria: "Invalid query: Queries for an Action Id must include the Flow Id", invalidQueryNeedsActionIdCriteria: "Invalid query: Queries for Output Paths and Flow Id must include the Action Id", viewingFlowInstance: "%1$s (viewing)", changeQueryMode: "Change Query Mode", changeQueryModeWarningMessage: "Are you sure you want to change query mode? Your current query will be lost.", enhancedQueryMode: "Enhanced Query", categoryLabels: { clause: "Clause", flow: "Flow Criteria", action: "Action Criteria", conversation: "Conversation Criteria", workitem: "Workitem Criteria" }, criteriaDefinitionLabels: { actionId: "Action Id", actionType: "Action Type", and: "and", conversationId: "Conversation Id", definedExitPath: "Known Output Path", dynamicExitPath: "Dynamic Output Path", exitPathName: "Output Path Name", flowEndDate: "Flow End DateTime", flowErrorReason: "Flow Error Code", flowId: "Flow Id", flowInvokedError: "Flow Invoked Error", flowName: "Flow Name", flowStartDate: "Flow Start DateTime", flowType: "Flow Type", flowVersion: "Flow Version", flowWarningReason: "Flow Warning Code", not: "not", objectExecutionId: "Invoking Flow Object Execution Id", or: "or", workitemId: "Invoking Workitem Id" }, criteriaDefinitionDescriptions: { and: "Query for flow instances where all sub-criteria must be true", or: "Query for flow instances where at least one sub-criteria must be true", actionId: "Query for by action ID", actionType: "Query by action type", conversationId: "Query by conversation ID", flowType: "Query by flow type", flowName: "Query by flow name", flowId: "Query by flow ID", flowVersion: "Query by flow version", flowInvokedError: "Query for flow instances that invoked any error", flowErrorReason: "Query by error reason", flowStartDate: "Query by flow start datetime", flowEndDate: "Query by flow end datetime", objectExecutionId: "Query for flows via the object execution id (the invoking caller)", exitPathName: "Query by action output path name", definedExitPath: "Query by action output path known ID", dynamicExitPath: "Query by action output path ID" }, operatorLabels: { eq: "equals", gt: "greater than", gte: "greater than or equal to", lt: "less than", lte: "less than or equal to", begins: "starts with" } }, executionDataConfiguration: { directoryOrganizationAdminPermission: "You do not have permission to view organization settings in Collaborate.", executionDataLogLevelLabelAll: "All", executionDataLogLevelLabelBase: "Base", executionDataLogLevelLabelCustom: "Custom", executionDataLogLevelLabelDisabled: "None (Disabled)", executionDataLogLevelLabelNone: "None", executionDataLogLevelLabelNotes: "Notes", executionDataLogLevelLabelVerboseNotes: "Verbose Notes", flowInstanceExecutionDataViewPermission: "You do not have permission to view flow execution data storage settings.", flowLogLevelViewPermission: "You do not have permission to view flow log level settings.", flowLogLevelViewPermissionMissing: "You do not have the view flow log level settings permission in the division of the following flow:", flowLogLevelDefaultViewPermission: "You do not have permission to view default flow log level settings.", organizationExecutionDataViewPermission: "You do not have permission to view the execution data settings in this organization.", organizationExecutionDataViewRestriction: "You do not have permission to view the execution data settings in this organization. Find further information and instructions in the {{link.__RESOURCE_CENTER_EXECUTION_DATA__}}.", flowLogLevelButtonLabel: "Execution Data", flowLogLevelButtonTooltip: "Override execution data level for flow", flowLogLevelModalTitle: "Override Execution Data Flow Level", flowLogLevelModalSubtitle: "Flow: %1$s", manageExecutionDataMenuLabel: "Execution Data Settings", flowDefaultLogLevelMenuLabel: "Execution Data Flows Level", flowDefaultLogLevelModalTitle: "Set Execution Data Level for Flows", flowDefaultLogLevelFlowName: "Default", flowInstanceLogLevelTooltip: "The execution data log level used for the flow instance.", flowInstanceSecureLogLevelTooltip: "The execution data log level used for the flow instance. The lock icon indicates that this flow instance was secure.", recordedFlowInstanceExecutionLevel: "Execution Data Level: %1$s" }, naturalLanguageUnderstanding: { intentDefinitions: "Intent Definitions", languageStatusPreviewIntentDetection: "The language '%1$s' is a preview release and may impact intent detection.", nluMustHaveOneIntentForIntentDetection: "There must be at least one intent defined in the flow's Natural Language Understanding configuration if you want to detect an intent." } }; + e2.exports = { about: { additionalLicenseInfo: "Additional License Information", buildNumber: "( Build: # %1$s )", copyrightFormat: "Copyright \xA9 %1$s-%2$s %3$s", copyrightRightsReserved: "All rights reserved.", copyrightWarning: "Warning: this computer program is protected by copyright law and international treaties. Unauthorized reproduction or distribution of this program, or any portion of it, may result in severe civil and criminal penalties, and will be prosecuted to the maximum extent possible under the law.", licenseAntlr: "Uses ANTLR software ( http://antlr.org ) for expression text parsing support. ANTLR 3 License / BSD License", logoAlternateText: "Genesys logo", orgInfoLabel: "Organization Information", orgInfoCurrentLabel: "Current Organization", orgInfoHomeLabel: "Home Organization", orgInfoId: "Organization ID", orgInfoName: "Company Name", orgInfoShortName: "Short Name", permissionHeader: "Permission Information", title: "About Architect" }, action: { action: "Action", actionIsDeprecated: "The '%1$s' action is deprecated.", notSet: "There is no action specified", actionOutputPathsHeader: "Paths", actionType: "%1$s Action" }, actions: { actionWaitForInput: "Wait for Input", ask: "Ask", abortSend: "Abort Send", abortSendActionMessageSettingDescription: "A localized message to display to the sender explaining why the send is being aborted.", abortSendActionMessageSettingLabel: "Message", abortSendErrorEventMessageSettingLabel: "Abort Message", abortSendMessageSettingDefaultLabel: "Default Abort Message", abortSurvey: "Abort Survey", addFlowMilestone: "Add Flow Milestone", agenticAnythingElse: 'Agentic "Anything Else?" Loop', agenticAskForIntent: "Agentic Ask for Intent", askAnythingElse: "Anything Else?", askForActionGeneric: "Ask For ...", askForAuthentication: "Ask to Authenticate", askForBoolean: "Ask for Yes / No", askForIntent: "Ask for Intent", askForNLUNextIntentAction: '"Anything Else?" Loop', askForPayment: "Ask for Payment", askForSlot: "Ask for Slot", askSurveyQuestion: "Ask Survey Question", assignCustomerSegment: "Assign Customer Segment", audioMonitoring: "Audio Monitoring", botConnector: "Call Bot Connector", botState: "Bot", callAgenticVirtualAgent: "Call Agentic Virtual Agent", callAudioConnector: "Call Audio Connector", callBotFlow: "Call Bot Flow", callDecisionTable: "Call Decision Table", callDigitalBotFlow: "Call Digital Bot Flow", callGuide: "Call Guide", callBridgeAction: "Call Bridge Action", callCommonModule: "Call Common Module", callNuanceMixBot: "Call Nuance Mix Bot", callTask: "Call Task", callVoiceFlow: "Call Voice Flow", categoryEnd: "End", clearActiveIntent: "Clear Active Intent", clearPostFlow: "Clear Post-Flow", clearUtilizationLabel: "Clear Utilization Label", clearVoicemailSnippetActionLabel: "Clear Voicemail Snippet", common: "Common", communicate: "Communicate", completeSend: "Complete Send", conversation: "Conversation", createCallback: "Create Callback", createConversationAttribute: "Create Conversation Attribute", changeState: "Change State", completeSurvey: "Complete Survey", data: "Data", dataTableLookup: "Data Table Lookup", decision: "Decision", decryptData: "Decrypt Data", defaultActionSettings: "Default Action Settings", detectSilence: "Detect Silence", dial: "Dial", dialogEngine: "Call Dialog Engine Bot", dialogflow: "Call Dialogflow Bot", dialogflowCx: "Call Dialogflow CX Bot", digitalBotConnector: "Call Digital Bot Connector", digitalMenu: "Digital Menu", disconnect: "Disconnect", disconnectWorkitem: "Disconnect Workitem", email: "Email", enableParticipantRecording: "Enable Participant Recording", encryptData: "Encrypt Data", endState: "End State", endTask: "End Task", endWorkflow: "End Workflow", evaluateSchedule: "Evaluate Schedule", evaluateScheduleGroup: "Evaluate Schedule Group", evaluateSkillExpressionFilters: "Evaluate Skill Expression Filters", exitBotFlow: "Exit Bot Flow", exitLoop: "Exit Loop", exitWorkitemFlow: "Exit Workitem Flow", extractSecureData: "Extract Secure Data", external: "External Contacts", findDivision: "Find Division", findDivisions: "Find Divisions", findEmergencyGroupActionLabel: "Find Emergency Group", findGrammar: "Find Grammar", findGrammarById: "Find Grammar by ID", findGroup: "Find Group", findKnowledgeBaseDocumentById: "Find KnowledgeBaseDocument by ID", findLanguageSkill: "Find Language Skill", findQueue: "Find Queue", findQueueById: "Find Queue by ID", findSkill: "Find Skill", findUserPrompt: "Find User Prompt", findUtilizationLabel: "Find Utilization Label", findScheduleActionLabel: "Find Schedule", findScheduleGroupActionLabel: "Find Schedule Group", findSystemPrompt: "Find System Prompt", findUser: "Find User", findUserById: "Find User by ID", findUsersById: "Find Users by ID", flushAudio: "Flush Audio", form: "Form", getAssignedCustomerIntents: "Get Assigned Customer Intents", getAssignedCustomerSegments: "Get Assigned Customer Segments", getAttributes: "Get Participant Data", getConversationAttribute: "Get Conversation Attribute", getConversationAttributes: "Get Conversation Attributes", getConversationData: "Get Conversation Data", getEmailHeaders: "Get Email Headers", getExternalContact: "Get External Contact", getExternalOrganization: "Get External Organization", getJourneyOutcome: "Get Journey Outcome", getJourneyOutcomeScoresBySession: "Get Journey Outcome Scores by Session", getJourneySegment: "Get Journey Segment", getJourneySession: "Get Journey Session", getJourneySessionsByCustomer: "Get Journey Sessions by Customer", getJourneySessionsByExternalContact: "Get Journey Sessions by External Contact", getJourneyOutcomeById: "Get Journey Outcome by ID", getRawSIPHeaders: "Get Raw SIP Headers", getResponse: "Get Response", getSecuredData: "Get Secured Data", getSIPHeaders: "Get SIP Headers", holdMusic: "Hold Music", initializeFlowOutcome: "Initialize Flow Outcome", collectInput: "Collect Input", processVoicemailInput: "Process Voicemail Input", collectVoiceSnippet: "Collect Voice Snippet", language: "Language", lex: "Call Lex Bot", lexV2: "Call Lex V2 Bot", logical: "Logical", loop: "Loop", loopUntil: "Loop Until", media: "Media", menu: "Menu", menuJump: "Jump to Menu", nextLoop: "Next Loop", playAudio: "Play Audio", playPositionInQueue: "Play Position In Queue", playAudioOnSilence: "Play Audio on Silence", playEstimatedWaitTime: "Play Estimated Wait Time", playUserGreeting: "Play User Greeting", playUserName: "Play User Name", previousMenu: "Previous Menu", promoteExternalContact: "Promote External Contact", repeatMenu: "Repeat Menu", returnToAgent: "Return To Agent", screenPop: "Set Screen Pop", searchExternalContacts: "Search External Contacts", send: "Send", sendAutoReply: "Send Auto Reply", sendDigitalContent: "Send Digital Content", sendInteractiveApplication: "Send Application", sendKnowledgeFeedback: "Send Knowledge Feedback", sendNotification: "Send Notification", sendResponse: "Send Response", sendRichLink: "Send Rich Link", setAttributes: "Set Participant Data", setConversationData: "Set Conversation Data", setExternalTag: "Set External Tag", setFlowOutcome: "Set Flow Outcome", setIntent: "Set Intent", setLocale: "Set Language", setPriority: "Set Priority", setPostFlow: "Set Post-Flow", setSecuredData: "Set Secured Data", setSkillExpressionFilters: "Set Skill Expression Filters", setSkills: "Set Skills", clearSkillExpressionFilters: "Clear Skill Expression Filters", setUtilizationLabel: "Set Utilization Label", setUUIData: "Set UUI Data", setWhisperAudio: "Set Whisper Audio", setWrapupCode: "Set Wrapup Code", showKnowledgeArticle: "Show Knowledge Article", state: "State", submitVoicemailSnippet: "Submit Voicemail Snippet", submitVoiceSnippet: "Submit Voice Snippet", surveyInvite: "Survey Invites", switch: "Switch", task: "Task", taskTransfer: "Jump to Reusable Task", terminateWorkitem: "Terminate Workitem", transcription: "Transcription", transfer: "Transfer", transfers: { acd: "Transfer to ACD", external: "Transfer to Number", flow: "Transfer to Flow", group: "Transfer to Group", secureFlow: "Transfer to Secure Flow", user: "Transfer to User", voicemail: "Transfer to Voicemail" }, updateConversationAttribute: "Update Conversation Attribute", updateExternalContact: "Update External Contact", updateVariables: "Update Data", updateWorkitem: "Update Workitem", secureAction: "Call Secure Data Action", dataAction: "Call Data Action", unknown: "Unknown", userInput: "User Input", voiceBiometrics: "Voice Biometrics", voiceProcessing: "Voice Processing", wait: "Wait", workitem: "Workitem" }, actionMenu: { actionMenuAriaLabel: "Action Menu", actionTypeMenuChoice: "Menu Action Type", actionTypeTask: "Task Action Type", childActions: "Child Actions", clearClipboard: "Clear Clipboard", collapse: "Collapse", copy: "Copy", cut: "Cut", expand: "Expand", source: "Source %1$s", noPastableObjects: "No objects on clipboard", pasteHeader: "Paste object", remove: "Remove from clipboard", type: "Type" }, admin: { adminOrganizationSettingsLabel: "Admin Organization Settings" }, agenticAnythingElse: { onlyOneAllowedPerFlow: "Only one Agentic Anything Else action is allowed per flow." }, agenticAskForIntent: { mustHaveOneCategory: "At least one category must be defined in the Intent Classifier.", mustEnableOneCategoryOrIntent: "At least one category or intent path must be enabled.", onlyOneAllowedPerFlow: "Only one Agentic Ask for Intent action is allowed per flow." }, agenticVirtualAgent: { agenticVirtualAgent: "Agentic Virtual Agent", agenticVirtualAgentBillingInfoNote: "For token-based pricing details on interactions with Agentic Virtual Agents, see the {{link.__GENESYS_CLOUD_TOKENS_BASED_PRICING_MODEL__, Resource Center}} documentation.", agenticVirtualAgentVersion: "Agentic Virtual Agent Version", agenticVirtualAgentExtraConfigInfoNote: "Extra configuration options are available within the Agentic Virtual Agent.", agenticVirtualAgentViewPermission: "You do not have permission to view Agentic Virtual Agents.", agenticVirtualAgentVersionViewPermission: "You do not have permission to view Agentic Virtual Agent version.", mustSelectAgenticVirtualAgent: "An Agentic Virtual Agent must be selected.", agenticVirtualAgentNotFound: "The selected Agentic Virtual Agent could not be found.", mustSelectAgenticVirtualAgentVersion: "An Agentic Virtual Agent Version must be selected.", agenticVirtualAgentVersionNotFound: "The selected Agentic Virtual Agent Version could not be found.", openAgenticVirtualAgentsInNewTab: "Open Agentic Virtual Agents in new tab", exitReasonDescription: "Indicates what caused the Agentic Virtual Agent to exit. See the Call Agentic Virtual Agent action help for more details on exit reason string values." }, alertService: { architectBusy: "Please wait, Architect is busy.", architectNewVersion: "A newer version of Architect is available. Please refresh the page to load the updated version." }, askCommon: { continuationReprompts: "Continuation Reprompts", continuationRepromptsDescription: "Additional wordings to use for continuation prompting during slot capture.", customizeContinuationPrompt: "Customize Continuation Prompt", customizeNoInput: "Customize No Input", customizeNoMatch: "Customize No Match", customValidation: { label: "Custom Validation", description: "If specified, this boolean expression lets you configure additional validation logic that when evaluated at runtime will be used to determine if the received value meets these additional requirements. If it evaluates to false or a NOT_SET boolean, the value is considered invalid.", noValue: "No custom input validation specified." }, defaultContinuationPrompt: "Default Continuation Prompt", defaultNoInput: "Default No Input", defaultNoMatch: "Default No Match", initialPlaybackDelay: "Initial Playback Delay", invalidResponse: "Invalid Response", minimumPlaybackTime: "Minimum Playback Time", noInput: "No Input", noInputDescription: "Wording the bot will use when no input is received. Remember that no input handling will use the wording configured in the No Input Apology setting in the No Inputs Detected section on the User Input Settings in this flow prior to playing this Communication.", noInputReprompts: "No Input Reprompts", noInputRepromptsDescription: "Additional wordings to use when no input is received. The length of the reprompt collection will override the max number of No Input retries defined at Settings > User Input > No Input Detected > Maximum Number of No Input Retries for that particular action. An empty collection will turn off No Input retries.", noMatch: "No Match", noMatchDescription: "Wording the bot will use when input is received but it is not a valid match. Remember that no match handling will use the wording configured in the No Match Apology setting in the No Matches Detected section on the User Input Settings in this flow prior to playing this Communication.", noMatchReprompts: "No Match Reprompts", noMatchRepromptsDescription: "Additional wordings to use when input is received but it is not a valid match. The length of the reprompt collection will override the max number of No Match retries defined at Settings > User Input > No Match Detected > Maximum Number of No Match Retries for that particular action. An empty collection will turn off No Match retries.", question: "Question", questionDescriptionWaitForInputAction: "Wording the bot will use prior to waiting for input from the external participant.", questionDescriptionAskActions: "Wording the bot will use when asking the question for the first time.", voiceProcessingPrompt: "Voice Processing Prompt", voiceProcessingPromptDescription: "This setting overrides the Voice Processing Prompt in Call Guides. If both are configured, this setting will be applied.", voiceEndOfInputTimeout: "Voice End of Input Timeout", voiceBargeInSettingLabel: "Voice Barge-in", voiceBargeInSettingTooltip: "When enabled, the external participant can interrupt audio while it is playing.", voiceEndOfInputTimeoutDescriptionAskActions: "Specifies the maximum length of time to pause after the user appears to have finished speaking. Too low of a value may cause user input to be truncated mid-sentence and too high of a value may cause some users to repeat themselves leading to recognition problems. If the Duration value is less than the minimum value, the minimum value will be used. If the value is greater than the maximum value, the maximum value will be used and if the value is a NOT_SET Duration, the default value will be used at runtime." }, askForAuthentication: { askForAuthSignInMessage: "Sign In Message", askForAuthSuccessMessage: "Success Message", askForAuthSignInMessageDefault: "Let's Sign In", askForAuthSuccessMessageDefault: "Sign In Completed", askForAuthChannelNote: "Ask to Authenticate is only available for Apple Messages for Business. Using it on other channels will take the failure path.", askForAuthCompletionTimeout: "Authentication Completion Timeout", askForAuthCompletionTimeoutDesc: "Once the authentication request has been sent, this is the maximum length of time to wait for the participant to complete the authentication. If the authentication is not completed within this time then a No Input event will be triggered." }, askForIntent: { knowledgeBaseMustBeSelectedWhenKnowledgePathEnabled: "The '%1$s' path cannot be used when there is no Knowledge Base configured for the bot's Knowledge settings.", knowledgeSettingMustBeSelectedWhenKnowledgePathEnabled: "The '%1$s' path cannot be used when there is no Knowledge Setting configured for the bot's Knowledge settings.", nluMustHaveOneIntent: "There must be at least one intent defined in the bot's Natural Language Understanding configuration if you want to ask for an intent.", mustEnableOneNluIntent: "When asking for an intent, you must enable at least one intent in this action's Paths setting. Bot intents are configured in the Natural Language Understanding configuration.", mustEnableOneNluIntentOrKnowledge: "You must enable at least one intent or the '%1$s' path in this action's Paths setting. Bot intents are configured in the Natural Language Understanding configuration." }, showKnowledgeBaseArticle: { knowledgeBaseArticleLabel: "Knowledge Base Article", showKnowledgeBaseArticleNote: "The available articles that can be shown come from the Knowledge Base configured in the '{{settings.__KNOWLEDGE__}}' settings for this flow.", showKnowledgeSettingArticleNote: "This action is unavailable for this knowledge type. Use session-level variables or answer controls instead." }, askForNLUNextIntentAction: { actionNameBegin: "Begin: %1$s", actionNameEnd: "End: %1$s", loopOutputPathReentryLabel: "Re-Entry" }, askForPayment: { askForPayCurrency: "Currency", askForPaymentCurrencyDesc: "Use the 3-letter currency code defined by the ISO 4217 standard (e.g., USD for US Dollar, EUR for Euro). In literal mode, this value changes the currency code of %1$s, %2$s and %3$s.", askForPayCountryCode: "Country Code", askForPaymentCountryCodeDesc: "Use the 2-letter country code defined by the ISO 3166 standard (e.g., US for United States, DE for Germany).", askForPaymentChannelNote: "Ask for Payment is currently only available for Apple Messages for Business.", askForPaymentReplyMessage: "Reply Message", askForPaymentPaymentPlatform: "Payment Platform", askForPaymentTotalPrice: "Total Price", askForPaymentTotalPriceDesc: "Enter the total amount for all items, including shipping. Must be a positive number greater than zero (e.g., 129.99).", addLineItemsButton: "Add items to set", noLineItemsDefined: "No items defined", askForPaymentLineItems: "Line Items", askForPaymentListingName: "Listing Name", askForPaymentListingNameDesc: "Enter the name or title of this item (e.g., Premium Support Package, Express Shipping).", askForPaymentListingPrice: "Listing Price", askForPaymentListingPriceDesc: "Enter the monetary amount for this item. Can be positive, negative, or zero (e.g., 49.99, -10.00, 0).", askForPaymentShippingOptions: "Shipping Options", askForPaymentShippingOptionLabel: "Label", askForPaymentShippingOptionLabelDesc: "Enter the user-facing name for this shipping method (e.g., In Store Pickup, USPS Priority Mail).", askForPaymentShippingOptionIdentifier: "Identifier", askForPaymentShippingOptionIdentifierDesc: "Enter a technical identifier for this shipping method (e.g., storePickup, uspsPriority).", askForPaymentShippingOptionDetails: "Shipping Details", askForPaymentShippingOptionDetailsDesc: "Provide additional details about this shipping method, such as estimated delivery time or special conditions (e.g., \u201CDelivered within 2-3 business days\u201D).", askForPaymentCompletionTimeout: "Payment Completion Timeout", askForPaymentCompletionTimeoutDesc: "Once the payment has been sent, this is the maximum length of time to wait for the participant to complete the payment. If the payment is not completed within this time then a No Input event will be triggered.", askForPaymentDuplicateIdentifiers: "Identifiers have to be unique", askForPaymentDuplicateContactInformationTypes: "Contact information types must be unique", askForPaymentCurrencyMismatch: "Currency codes must match the Currency Code settings. All price settings must use the same currency code.", askForPaymentContactInformation: "Contact Information", askForPaymentContactInformationDesc: "If specified, the customer contact fields required to complete the transaction.", askForPaymentContactInformationPlaceholder: "Select required contact information", askForPaymentContactInformationPhone: "Phone", applePay: "Apple Pay" }, askForSlot: { askForSlotInvalid: "Architect cannot look up the associated variable for the selected slot. Please reselect the slot.", confirmationMode: "Confirmation Mode", confirmationModeDescription: `This controls if the bot will confirm the slot value supplied by the participant is correct. If this setting evaluates to "%1$s" at runtime and the participant supplied value is valid, as per settings in the '%2$s' section, the bot will use the '%3$s' communication to confirm it with the participant.`, confirmationModes: { confirmationModeAlways: "Always", confirmationModeNever: "Never" }, confirmationModeUnavailableNote: "Slot confirmation is unavailable with multi-select slots", confirmationQuestion: "Confirmation Question", confirmationQuestionDescription: "Wording the bot will use to confirm the value supplied by the participant is correct. To access the value supplied by the participant in an expression, use the Slot. variable associated with the slot configured on this action.", confirmationQuestionDoesNotReferenceSlotVariable: "The slot confirmation question does not reference the slot variable '%1$s' which will hold the value the bot received. Typically, a bot will want to use the received slot value when confirming it with the participant.", confirmationModeNeverWithRangeValuesWarning: "'%1$s' has predefined values, and confirmation mode is set to 'Never'. Set to 'Always' to allow user correction on invalid inputs.", noSlotsAvailable: "No Slots Available", selectedSlotError: "There is no slot with the name '%1$s' in the Natural Language Understanding configuration.", selectSlot: "Select a Slot", slotName: "Slot", slotResult: "Slot Result", slotResultDescription: "The variable that holds the selected slot value. If already set, the bot will not ask for a value and execution will go to the next action.", noSlotSelected: "There is no slot selected.", verifyGroupingLabel: "Verification", continuationPromptGroupingLabel: "Continuation Prompt", repromptHandling: "Re-Prompt Handling", repromptHandlingOptions: { repromptHandlingOptionAIManaged: "AI managed", repromptHandlingOptionManuallyManaged: "Manual" }, continuationPrompt: "Prompt", continuationPromptDoesNotReferenceSlotVariable: "The continuation prompt does not reference the slot variable '%1$s' which will hold the value the bot received. Typically, a bot will want to use the received slot value on the continuation prompt.", tooManySkipChoicesError: "Cannot have more than one choice with command 'skip'. Found %1$s skip choices.", timePicker: "Time Picker" }, avaDebugger: { avaDebuggerToolSingular: "%1$s Tool", avaDebuggerToolPlural: "%1$s Tools", avaDebuggerErrorSingular: "%1$s Error", avaDebuggerErrorPlural: "%1$s Errors", avaDebuggerToolId: "Tool ID", avaDebuggerKnowledgeNoResponse: "No response was returned from the knowledge service.", avaDebuggerGuardrailTriggered: "Guardrail Triggered", avaDebuggerViolationLimit: "Violation limit" }, audio: { actionNotValidError: "Action (or action with current settings) not available for '%1$s' because that language does not support runtime data playback, which is required for '%2$s'", add: "Add", addAudio: "Add Audio", addBlank: "Add Blank Audio", addText: "Add Text", addTTS: "Add TTS", addData: "Add Data", addExpression: "Add Expression", addOther: "Add Other", addPrompt: "Add Prompt", addPromptToBegin: "Add a prompt to begin", addTitle: "Add new prompt", advancedAudioInUseSingle: "1 audio sequence is set", advancedAudioInError: "1 or more audio sequences are in error", advancedAudioInUse: "%1$s audio sequences are set", alternateSequences: "Alternate sequences", addAlternateSequence: "Add Alternate Sequence", enableAlternateSequence: "Enable alternate sequence for '%1$s'", disableAlternateSequence: "Disable alternate sequence", audioLabel: "Audio", audioSequenceTitle: "Audio Sequence", audioSequenceDropDownLabel: "Audio Sequence Editor", bargeInExpressionLabel: "Enable Barge-in", bargeInExpressionTooltip: "The Barge-in checkbox does not affect an audio sequence in custom expression mode. Use the AudioPlaybackOptions function in custom expression text to control barge behavior if needed.", blankAudioExpression: "Audio may not be blank", blankMainSeqError: "All alternate sequences must be enabled or main sequence must have items added", blankMainSeqWarning: "The main sequence has no sequence items defined", blankMainSeqWarningContext: "The main sequence for '%1$s' has no audio set", blankTTSWarning: "No text to speech value", browserPermission: "Please accept the request at the top of the browser to use the microphone.", browserPermissionDenied: "You must grant this site permissions to be able to record audio.", browserRecordingNotSupported: "Audio recording is not supported in this environment.", bulkImportInputLabel: "Audio wav files and CSV mapping file", bulkImportInputLabelNoAudio: "CSV file", bulkImportAudioInputLabel: "Audio wav files", bulkImportErrorTitle: "Import Error", bulkImportFail: "Failed to process the files for importing", bulkImportCsvMissingFieldOne: "The import CSV file is missing the required field '%1$s'", bulkImportParseError: "Failed with the following error:
%1$s", bulkImportParseError2: "Failed with the following errors:
%1$s", bulkImportTitle: "Import audio", bulkImportAudioTitle: "Add additional audio wav files", bulkImportWatermark: "Select files", cantPreview: "Audio file cannot be previewed", customAudioExpressionInUse: "Custom audio expression is set", customExpressionSwitch: "Switch to custom expression", defaultAudio: "Main Sequence", deleteButton: "Delete", deleteConfirmMultiple: "Are you sure you want to delete the %1$s selected prompts and their resources?", deleteConfirmSingle: 'Are you sure you want to delete the selected prompt named "%1$s" and its resources?', deleteTitle: "Delete selected prompts", downloadRecording: "Download recording", durationFormatLong: "%1$s seconds", editTitle: "Edit selected prompt", ensureAudioInPrompts: "Ensure all prompts have recorded audio", ensureAudioOrTTSInPrompts: "Ensure all prompts have recorded audio or text to speech", doNotValidateAudioMedia: "Do not validate prompt media", validatePromptLanguageMediaLabel: "Media Validation", enterTtsOrPrompt: "Enter text to speech or prompt", errorNoBlankAudioLength: "No blank audio duration selected", errorNoPrompt: "No prompt selected", errorNoVariable: "No variable selected", errorPromptCouldNotBeFound: "%1$s could not be found", errorInvalidVariable: "Invalid variable selected", errorMaxTtsLength: "The string length is %1$s characters, which exceeds the maximum allowed of %2$s for the text to speech engine '%3$s'.", errorMaxTtsLengthForPrompt: "The string length in the text to speech string on prompt '%1$s' (%2$s) is %3$s, which exceeds the maximum allowed of %4$s for the text to speech engine '%5$s'.", errorNoAudioPlaybackSupport: "Audio data playback is not supported for language %1$s", errorNoLanguageGenderSupport: "Language %1$s does not support gender playback options", errorNoLanguageCaseSupport: "Language %1$s does not support case playback options", errorNoTTSSupport: "Text to speech is not supported for language %1$s", errorNotValidTTS: "Language %1$s does not have a valid text to speech engine selected.", errorCommonModuleTTS: "Common Module '%1$s' uses text to speech in one or more languages that are disabled in this flow. Please assign text to speech engines to these languages in Supported Languages.", errorNoDataOptions: "No data playback options selected", failedToCreatePrompt: "Failed to create the prompt", failedToSavePrompt: "Failed to save the prompt", flushAudio: "Flush Audio", importTitle: "Import CSV data", languageButton: "Languages", languageColumns: "Visible Language Columns", languageColumnsWatermark: "Enter languages to display in grid", loadFailed: "Failed to load prompts", loadingPrompts: "Loading Prompts...", mainSequenceNote: "This sequence will never run because alternate sequences for each language are defined.", maxLanguagesSelected: "Maximum number of languages selected", multipleFileUploadContext: "Uploading %1$s files", nameError: "Prompt names can only contain letters, numbers, and underscores. They must start with a letter.", noPromptRecordedSystem: "There is no audio recorded for the system prompt '%1$s' in %2$s", noPromptRecordedUser: "There is no audio recorded for the user prompt '%1$s' in %2$s", previewHelpTooltip: "Click here if you are having trouble previewing audio", processingAudio: "Processing audio...", prompts: "Prompts", promptBeingUploadedSystem: "The system prompt '%1$s' is busy processing an upload for %2$s", promptBeingUploadedUser: "The user prompt '%1$s' is busy processing an upload for %2$s", promptTypeTooltip: "Prompt Type", promptMissingRequiredAudioError: "'%1$s' does not have audio for a language that does not support text to speech", promptNoAudioPopupError: "Missing supported language audio", promptMissingAudioError: "'%1$s' does not have audio for at least one supported language", promptNoAudioTtsError: "'%1$s' does not have audio or text to speech for at least one supported language", promptNoAudioTtsComplexError: "One or more prompts do not have audio or text to speech for at least one supported language", promptNoTtsOrTextError: "'%1$s' does not have text to speech or text specified for at least one supported language", promptSystem: "System Prompt", promptUser: "User Prompt", recordAudio: "Record Audio", recordStationLabel: "For station recording, receive call at:", recordTimer: "%1$s seconds", refreshNoPrompts: "There are no prompts", refreshNoResults: "There are no matching prompts", resetForLanguage: "Erase and reset sequence for this language", sampleRate8kHzBadgeTooltip: "Recommend uploading or re-recording audio for higher-quality 16 kHz playback.", search: "Search prompts", selectMultipleFiles: "Select the CSV file and all audio files referenced in the CSV. Use the Control key when clicking (or the Command key in macOS) to select multiple files.

Audio files located in different folders can be added on the next screen if needed.", sequenceError: "Error in sequence item %1$s for %2$s", sequenceWarn: "Warning in sequence item %1$s for %2$s", sequenceMode: "Switch to sequence builder", sequenceOptions: "Sequence Options", sequenceTypeBlankLabel: "Blank", sequenceTypeBlankWatermark: "Select blank duration", sequenceTypeDataLabel: "Data", sequenceTypeDataWatermark: "Select variable", sequenceTypeDataOptionsWatermark: "Select Options", sequenceTypeExpressionLabel: "Expression", sequenceTypePromptLabel: "Prompt", sequenceTypePromptWatermark: "Select a prompt", sequenceTypeVoiceSnippetLabel: "Voice Snippet", sequenceTypeTtsLabel: "Text To Speech", sequenceTypeTtsWatermark: "Enter text to speech", sequenceWillNotPlay: "Will not play", startRecord: "Start Recording", stopRecord: "Stop Recording", switchToBuilderTitle: "Sequence Builder", switchToBuilderLosesChanges: "Switching to the sequence builder will discard any changes made in the custom expression.", tts: "TTS", ttsText: "TTS/Text", ttsConvertPopupText: "Create prompt from text to speech", transcodeFailed: "Server failed to process the upload for %1$s. Please try a different audio file and note that MP3 formatted files are not supported for audio upload.", typeNotRecognizedError: "Sequence item type not supported.", unavailableAudioOption: "Audio data option is unavailable because it requires a feature that is not available.", unavailableAudioOptionContext: "The option '%1$s' is unavailable because it requires a feature that is not available.", uploadLabel: "Audio file to import", uploadTitle: "Upload Audio", uploadWatermark: "Select audio file to import", warningAddNewSequenceItem: "Use the toolbar to add a new sequence item. Language sequences with no items will revert to the main sequence." }, audioFormats: { boolTrueFalse: "True / False", dateAndTime: "Date and time", durationExact: "Exact", durationExactDesc: "Exact value of the duration, no rounding", durationRoundUp: "Round Up", durationRoundUpDesc: "Round up to next 30 seconds, 1 minute, 2 minutes, 5 minutes or subsequent 5 minute intervals", durationRoundUp1: "Round Up (1 minute)", durationRoundUp1Desc: "Round up to the next 1 minute interval", durationRoundUp5: "Round Up (5 minutes)", durationRoundUp5Desc: "Round up to the next 5 minute interval", durationRoundUp10: "Round Up (10 minutes)", durationRoundUp10Desc: "Round up to the next 10 minute interval", durationRoundUp30: "Round Up (30 minutes)", durationRoundUp30Desc: "Round up to the next 30 minute interval", durationRoundUp60: "Round Up (1 hour)", durationRoundUp60Desc: "Round up to the next 1 hour interval", ordinal: "As ordinal", phoneNumberLocal: "Play as local", phoneNumberGlobal: "Play as global", phoneNumberAuto: "Play local for dialing code", phoneNumberLocalDesc: "Plays phone number in its local format", phoneNumberGlobalDesc: "Plays phone number in its global format", phoneNumberAutoDesc: "Plays phone number in local format if it matches the dialing code, otherwise global", percentage: "As percentage", percentage1: "As percentage, 1 decimal place", percentage2: "As percentage, 2 decimal places", playJsonData: "Play JSON data", precision0: "To 0 decimal places", precision1: "To 1 decimal place", precision2: "To 2 decimal places", precision3: "To 3 decimal places", precision4: "To 4 decimal places", precision5: "To 5 decimal places", precision6: "To 6 decimal places", precision7: "To 7 decimal places", precision8: "To 8 decimal places", stringPhoneNumber: "As phone number", stringTTS: "Text to speech", time: "Time", timeDesc: "Audio expressing time appropriate for the active language and region", wholeValue: "Entire value" }, audioMonitoringAction: { enableMonitoring: "Enable Monitoring", enableMonitoringDescription: "If true, audio monitoring will be enabled. If false or a NOT_SET Boolean, audio monitoring will be disabled." }, boolean: { disabled: "Disabled", enabled: "Enabled", true: "True", false: "False" }, bot: { followupResponseTimeoutLabel: "Follow-up Response Timeout", followupResponseTimeoutDescription: "If the bot needs to ask for follow-up information, this is how long to wait for the end user to send a reply. A NOT_SET, negative or 0 second Duration will be treated as immediate.", informationCouldNotBeLoaded: "There was an error loading bot information.", internalErrReferenceId: "There was an error retrieving the latest information about the selected %1$s. Please try validating again in a few minutes.", languageWarning: "The flow has supported languages that are unsupported by the selected %1$s, which supports %2$s. The Failure output will be taken if the flow is executing in a language not supported by the %1$s.", naturalLanguageUnderstanding: "Natural Language Understanding", insightsOptimizations: "Insights and Optimizations", nluConfigurationUnavailable: "Unable to obtain the Natural Language Understanding configuration data for the bot.", nluTrainingFailed: "Training failed for updates made to the Natural Language Understanding configuration. Please verify the Natural Language Understanding configuration is correct and retry the flow operation again.", noSupportedLanguages: "There are no Architect-supported languages configured on the selected %1$s.", sameNamedSlotsWithDifferentSlotTypes: "There are slots with matching names but different slot types in this bot flow's Natural Language Understanding configuration. Please change these slots to have unique names, as they will cause issues with auto-generated slot variables. Affected slot name is %1$s.", sameNamedSlotsWithDifferentSlotTypesMultiple: "There are slots with matching names but different slot types in this bot flow's Natural Language Understanding configuration. Please change these slots to have unique names, as they will cause issues with auto-generated slot variables. Affected slot names are %1$s.", unsupportedAISlotTypeError: "AI slot types are only available in Virtual Agent enabled flows.", whitespacePresentInSlotTypeValue: "The slot type list value of '%1$s' in '%2$s' contains leading or trailing whitespace. This may result in voice recognition failures during runtime." }, cannedResponses: { cannedResponseTypeFormDescription: "A form is a canned response whose response type is form.", cannedResponseTypeMessageTemplateDescription: "A message template is a canned response whose response type is message template." }, digitalBot: { intentNotMappedToTask: "One or more intent in this flow's '{{settings.__NATURAL_LANGUAGE_UNDERSTANDING__}}' configuration are not mapped to a reusable task.", intentMappedToInvalidTask: "One or more intent in this flow's '{{settings.__NATURAL_LANGUAGE_UNDERSTANDING__}}' configuration are mapped to a reusable task that does not exist." }, digitalBotConnector: { followupResponseTimeoutDescription: "If the bot needs to ask for follow up information, this will set the duration for how long to wait for the end user to send a reply. Examples of errors for timeout include submitting a NOT_SET, zero or negative duration." }, choice: { choiceButtonDuplicateNameError: "A button with name '%1$s' already exists", choiceButtonNoNameError: "Button %1$s does not have a name", choiceMenuLabelDescription: "If specified, the label supplies the text to use for the menu choice at flow runtime. For flows that support more than one language, the label setting should be used to supply localized text for the choice. If not specified or the calculated String value for the label setting is a NOT_SET or blank string, the button text will be used.", choiceMenuLabelLabel: "Label" }, integration: { name: "Integration" }, botConnector: { addSessionVariable: "Add Session Variable", botVersionNotFound: "The selected bot version could not be found.", digitalBotVersionNotFound: "The selected digital bot version could not be found.", botIntegration: "Bot Integration", digitalBotIntegration: "Digital Bot Integration", botVersion: "Bot Version", digitalBotVersion: "Digital Bot Version", botName: "Bot Name", digitalBotName: "Digital Bot Name", intents: "Intents", botConnectorIntegration: "Bot Connector Integration", botConnectorVersion: "Bot Connector Version", botConnector: "Bot Connector", digitalBotConnector: "Digital Bot Connector", digitalBotConnectorIntegration: "Digital Bot Connector Integration", digitalBotConnectorVersion: "Digital Bot Connector Version", botResponseTimeoutLabel: "Bot Response Timeout", botResponseTimeoutDescription: "The time allowed for a third-party bot to respond to webhook calls. Examples of errors for timeout include submitting a NOT_SET, zero or negative duration.", sessionTimeoutLabel: "Session Timeout", sessionTimeoutDescription: "Once the conversation is started, this is how long a conversation can remain open. Examples of errors for timeout include submitting a NOT_SET, zero or negative duration.", timeoutSettingsLabel: "Timeout settings", mustSelectBotIntegration: "A bot integration must be selected.", mustSelectDigitalBotIntegration: "A digital bot integration must be selected.", mustSelectBotName: "A bot name must be selected.", mustSelectDigitalBotName: "A digital bot name must be selected.", mustSelectBotVersion: "A bot version must be selected.", mustSelectDigitalBotVersion: "A digital bot version must be selected.", noSlots: "There are no slots defined for this intent.", savedVersionOfBotVersion: "Flow is referencing a cached version of this bot version. The bot version may be out of date or deleted.", secondaryHeaderForVersion: "(Version %1$s)", selectBotIntegration: "Select Bot Integration", selectDigitalBotIntegration: "Select Digital Bot Integration", selectBotName: "Select Bot Name", selectDigitalBotName: "Select Digital Bot Name", selectBotVersion: "Select Bot Version", selectDigitalBotVersion: "Select Digital Bot Version", sessionVariable: "Session Variable", sessionVariables: "Session Variables", unableToRetrieveBotIntegration: "Was unable to retrieve bot integration for selected bot.", unableToRetrieveBot: "Was unable to retrieve bot for selected version.", botIntegrationNotFound: "Selected bot integration could not be found", digitalBotIntegrationNotFound: "Selected digital bot integration could not be found", botNameNotFound: "Selected bot name could not be found", digitalBotNameNotFound: "Selected digital bot name could not be found", inputTextLabel: "Bot Input Text", inputTextDescription: "The text to send to the bot.", inputTextDescriptionForChat: "The text to send to the bot. This is usually only set when chaining bot actions." }, botGeneric: { botAddSessionVariableLabel: "Add Session Variable", botIntegrationLabel: "Bot Integration", botIntentsLabel: "Intents", botNameLabel: "Bot Name", selectedBotNameNotFound: "The selected bot name could not be found.", botVariablesLabel: "Bot Variables", botVariablesDescription: "Variables able to be used in the bot.", botVersionLabel: "Bot Version", botVersionNotFoundGeneric: "The selected bot version could not be found.", flowReferencingSavedVersionOfBot: "Flow is referencing a cached version of this bot. The bot may be out of date or deleted.", inputTextLabelGeneric: "Bot Input Text", inputTextDescriptionGeneric: "The text to send to the bot.", inputTextDescriptionForChat: "The text to send to the bot. This is usually only set when chaining bot actions.", mustSelectBotNameGeneric: "A bot name must be selected.", mustSelectBotVersion: "A bot version must be selected.", noSlotsForIntent: "There are no slots defined for this intent.", noBotVariables: "There are no bot variables defined for this bot.", selectedBotIntegrationNotFound: "The selected bot integration could not be found.", selectBotNameLabel: "Select Bot Name", selectBotVersionLabel: "Select Bot Version", sessionVariableLabel: "Session Variable", sessionVariablesLabel: "Session Variables", unableToRetrieveSelectedBotIntegration: "Unable to retrieve the bot integration for the selected bot.", unableToRetrieveSelectedBot: "Unable to retrieve the selected bot." }, nuanceMix: { channel: "Channel", channelDescription: "The channel type to pass to the Nuance bot, which can specialize parts of the bot's behavior", channelNotFound: "The selected channel could not be found.", noChannelsAvailable: "None of channels on the selected bot are available for this flow.", selectedChannelNotValid: "The '%1$s' channel exists on the selected bot, but is unavailable for this flow.", nuanceMixBot: "Nuance Mix Bot", nuanceMixIntegration: "Nuance Mix Integration", mustSelectNuanceMixBotIntegration: "A Nuance Mix integration must be selected.", externalDataTypeLabel: "Name: %1$s", externalComplexDataTypeLabel: "Object", externalDataTypeTitle: "Nuance Data Type", selectNuanceMixBotIntegration: "Select Nuance Mix Integration" }, blankAudio: { msContext: "%1$s ms", oneSecond: "1 second", secondsContext: "%1$s seconds", blankAudioLabel: "blank: %1$s" }, bridgeServer: { action: "Action", actionNotFound: "The selected Bridge action could not be found.", actionSchemasError: "Action success, failure, or output information could not be loaded.", category: "Category", bridgeAction: "Bridge Action", mustSelectAction: "A Bridge action must be selected.", noActionsAvailable: "There are no Architect compatible Bridge actions available to this user.", noHelpLink: "There is no help link defined for this Bridge action.", processingPrompt: "Processing Prompt", savedVersionOfAction: "Flow is referencing a cached version of this Bridge action. The action may be out of date or deleted.", selectAction: "Select an action", selectCategory: "Select a category", timeout: "Timeout", timeoutOfZero: "Timeout must be greater than zero", useSuggestedTimeout: "Use action's suggested timeout" }, callAudioConnector: { audioConnectorIntegrationDescription: "The audio connector integration to be used for this action.", connectorId: "Connector ID", mustSelectAudioConnectorIntegration: "An Audio Connector integration must be selected.", selectAudioConnectorIntegration: "Select Audio Connector Integration", audioConnectorType: "Audio Connector" }, callBotFlowAction: { configuredIntentValues: "Configured Intent Values", executionResults: "Execution Results", exitReason: "Exit Reason", exitReasonDescription: "Indicates what caused the Bot Flow to exit. See the Call Bot Flow action help for more details on exit reason string values.", exitReasonExamplesTitle: "Example Exit Reason Values", intent: "Intent", intentDescription: "The intent returned from the Bot flow invocation at runtime. If no intent is detected, the variable bound in the Intent setting will be set to a NOT_SET String at runtime.", intentsNone: "None", inputTextLabel: "Bot Input Text", inputTextDescription: "Supplies an initial utterance to the bot that will be processed by the first Ask action executed in the bot flow.", languageChangeWarningImmediate: "Runtime language changes made by the %1$s to a supported language of this flow will be reflected immediately.", languageChangeWarningCommonModule: "Runtime language changes made by the %1$s to a supported language of this common module will be reflected immediately or at the end of the common module task if called by a call flow.", languageChangeWarningTaskEnd: "Runtime language changes made by the %1$s to a supported language of this flow will be reflected when the task ends.", callBotFlowInfo: "All subsequent Bot Flows called will inherit settings from the initial Bot Flow.", callDigitalBotFlowInfo: "All subsequent Digital Bot Flows called will inherit settings from the initial Digital Bot Flow." }, cardsAndCars: { askForSlotChooserLabel: "Slot Value Presentation", askForSlotChooserDescription: "Specify how to present slot value choices to the participant here.", addButtonLabel: "Button", alternativeLabelAdd: "Add alternative label", alternativeLabelRemove: "Remove alternative label", buttonTitlePlaceholder: "Title", cardLabel: "Card", carouselLabel: "Carousel", choiceLabelNoName: "", choicePostbackLabel: "Postback", choiceTypeLabel: "Button Action", choiceUrlLabel: "Open URL", choiceUrlValue: "URL Value", chooserNluDiffsUpdate: "Update", chooserNluDiffsWarning: "One or more slot type values for the selected slot are not reflected below.", chooserConfirmDisplayMode: "With three or fewer buttons, two display options are available.", chooserConfirmDisplayMode2: "Choose an option", chooserSingleCard: "Assign all buttons to one card", chooserMultipleCards: "Assign one button per card", choiceNoUrlValue: "", choiceNoSlotTypeValue: "", choiceNoPostbackValue: "", choiceFromSlotTypeValue: "From slot type value", choiceUsingSlotTypeValue: "Using the slot type value label.", choiceLabelIsSameAsValue: "Label is the same as the value", choiceRemainingSingular: "1 button remaining", choicesRemainingPlural: "%1$s buttons remaining", collectionEmptyCarouselLabel: "Add cards to your carousel", collectionEmptyCarouselDesc: "Cards can include images, titles and descriptions to offer a richer visual experience.", collectionCreateFirstMessage: "Create your first '%1$s'", collectionEmptyMessage: "No items in collection", digitalMenuChooserLabel: "Choices", digitalMenuChooserDescription: "Specify menu choices to offer the participant and how to present them here.", dynamicSlotTypeQuickReplies: "For a dynamic list slot type, there is nothing additional to configure when presenting the list choices as quick replies.", duplicatePostbackValue: "The postback value '%1$s' is a duplicate.", knowledgeSearchResultLabel: "Knowledge Search Results", knowledgeSearchResultDescription: "The variable that holds the collection of KnowledgeBaseDocument objects matched in the search that occurs at this action. If '{{knowledgeSettingsMode.__STANDARD__}}' knowledge handling is selected then the search results collection will only ever contain the article shown to the user. If '{{knowledgeSettingsMode.__CUSTOM__}}' knowledge handling is selected then the results collection may contain multiple articles that strongly match the search.", knowledgeSearchResultDescriptionMultipleArticles: "The variable that holds the collection of KnowledgeBaseDocument objects matched in the search that occurs at this action. If the '{{knowledgeSettingsMode.__STANDARD__}}' knowledge handling is selected then the search results collection will only ever contain the variable that holds the collection of KnowledgeBaseDocument objects matched in the search that occurs at this action. If '{{knowledgeSettingsMode.__CUSTOM__}}' knowledge handling is selected then the results collection may contain multiple articles that strongly match the search.", mediaCarouselLabel: "Media Carousel", noRichMedia: "No rich media", noRichMediaNoSlotSelected: "Rich media presentation options are not available because no slot is selected.", noRichMediaSlotTypeNotList: "Rich media presentation options are not available because the selected slot is not a list or dynamic list.", noRichMediaTooManyChoices: "Rich media presentation options are not available because the selected slot has more than %1$s slot type values.", quickRepliesLabel: "Quick Replies", quickReplyLabel: "Quick Reply", selectionResultLabel: "Selection Result", selectionResultDescription: "The variable that holds the value of the menu choice chosen by the participant. If no choice is selected by the participant, the variable value will be left alone.", skipResponseCarouselDisabled: "Skip Response is disabled because the Carousel limit has been reached", skipResponseDisabled: "Skip Response is disabled because the Quick Reply limit has been reached", standardLabel: "Custom Template", switchPresentation: "Switch Presentation", expression: { chooserInvalidChoiceCountForSlotType: "The number of choices is not enough to match the number of values configured in the slot type '%1$s'.", chooserInvalidListItemCountForSlotType: "The number of list items is not enough to match the number of values configured in the slot type '%1$s'.", chooserNoChoicesConfiguredForSlotTypeValues: "There are no choices configured for the '%1$s' slot type value(s) %2$s.", chooserNoListItemsConfiguredForSlotTypeValues: "There are no list items configured for the '%1$s' slot type value(s) %2$s.", chooserInvalidChoiceValueForSlotType: "The choice with value '%1$s' is not a valid value for the slot type '%2$s'.", chooserInvalidListItemValueForSlotType: "The list item with value '%1$s' is not a valid value for the slot type '%2$s'.", chooserInvalidChoiceValueForSlotTypeExpressionMode: "The choice using expression mode with the literal value '%1$s' is not a valid value for the slot type '%2$s'.", chooserInvalidListItemValueForSlotTypeExpressionMode: "The list item using expression mode with the literal value '%1$s' is not a valid value for the slot type '%2$s'.", chooserMultipleChoicesForSlotTypeValue: "There is more than one choice for the slot type value '%1$s'.", chooserSlotTypeNotListOrDynamicListType: "The slot type '%1$s' is not a list or dynamic list type.", chooserSlotTypeNameIsNotValid: "The slot type '%1$s' is not valid.", chooserNoSlotTypeConfiguredForSlot: "There is no slot type configured for the slot '%1$s'.", chooserInvalidSlotName: "The slot '%1$s' is not valid.", chooserPresentationModeNotAllowedWithMismatchSlotType: "The presentation mode '%1$s' is not permitted for the selected slot type." }, cardType: { label: "Card", noDescription: "No Description", noDescriptionRuntimeEvaluationStr: "No Card Description", noImage: "No Image", noImageRuntimeEvaluationStr: "No Card Image", noTitle: "No Title", noTitleRuntimeEvaluationStr: "No Card Title" }, carouselType: { defaultCardTitle: "Title %1$s" }, choiceType: { choiceInQuickReplyMustBePostback: "The choice type '%1$s' is not valid when used in a QuickReplies value." }, timePickerType: { noImage: "No Image", noImageRuntimeEvaluationStr: "No Time Picker Image", noTitleRuntimeEvaluationStr: "No Time Picker Title", subtitlePlaceHolder: "Subtitle", addressPlaceHolder: "Address", longitudePlaceHolder: "Longitude", latitudePlaceHolder: "Latitude", noSubtitle: "No Subtitle", noSubtitleRuntimeEvaluationStr: "No Time Picker Subtitle", enableLongLatLabel: "Use Latitude and Longitude", missingPermission: "You are missing the required permissions for autocomplete" }, listPickerType: { addNewSectionTooltip: "Add a new section", emptyListPickerSectionLine1: "This section is empty.", emptyListPickerSectionLine2: "To add items, move them from another section.", listPicker: "List Picker", missingValuesSectionLabel: "Missing Values", moveItemsFromAnotherSectionButtonTooltip: "Move items from another section", receivedMessageLabel: "Received Message", receivedMessageButtonTextLabel: "Button Text", replyMessageLabel: "Reply Message", replyMessageTitle: "List selections are displayed here", replyMessageDescription: "Reply Message for the list picker.", searchSlotValues: "Search slot values", disabledMultiselectToggleTooltip: "Not available because selected slot capture is set to single value", invalidMultipleSectionsWarning: "At runtime, multiple sections for slots that are set to single value capture will be ignored.", invalidMultipleSectionsWarningMessage: "At runtime, multiple sections for slots that are set to single value capture will be ignored in %1$s conversations. %2$s conversations support multiple sections for single-value slots.", invalidNluValue: "This item is no longer a valid slot type value." } }, categories: { customerSecuredData: "Customer Secured Data", find: "Find", flow: "Flow", journey: "Journey" }, clearSlot: { addSlot: "Add Slot", clearSlotTitle: "Clear Slot", specifiedMoreThanOnce: "The slot '%1$s' is specified more than once.", mustSpecifySlot: "You must specify a slot.", noSlotsToClearWarning: "There are no slots specified to clear.", slotToClear: "Slot to Clear", slotsLabel: "Slots", noSlotsDefined: "No Slots defined" }, communicate: { communication: "Communication" }, clipboard: { content: { canPaste: { downConvert: { menuChoice: { toAction: "If pasted to this location, the action from the action menu will be pasted.", toReusableMenu: "If pasted to this location, the menu from the sub-menu will be pasted as a reusable menu.", toReusableTask: "If pasted to this location, the task from the task menu will be pasted as a reusable task." } }, upConvert: { action: { toMenuChoice: "If pasted to this location, an action menu will be created for this action.", toReusableTask: "If pasted to this location, a reusable task will be created that contains this action.", toState: "If pasted to this location, a state will be created that contains this action." }, menu: { toMenuChoice: "If pasted to this location, the menu will be pasted as a sub-menu." }, task: { toMenuChoice: "If pasted to this location, a task menu will be created that contains this task." } } }, notSupportedByFlowType: { action: "This contains an action of type '%1$s' which cannot be pasted to flows of type '%2$s'.", dataTypeKnown: "This uses a data type of '%1$s' which cannot be used in flows of type '%2$s'.", dataTypeUnknown: "This contains a data type which cannot be used in flows of type '%1$s'.", menuChoiceAction: "This contains an action menu of type '%1$s' which cannot be used in flows of type '%2$s'.", menusOrMenuChoices: "This contains a menu which cannot be pasted to flows of type '%1$s'.", states: "This contains a state which cannot be pasted to flows of type '%1$s'.", tasks: "This contains a task which cannot be pasted to flows of type '%1$s'.", builder: "This contains a '%1$s' which cannot be pasted to flows of type '%2$s'. The builder will be removed and converted to an expression." }, pastableLocations: { cannotPasteActionAsMenuChoiceMoreThanOne: "Unable to paste as an action menu because there is more than one action on the clipboard and menus can only have one action.", cannotPasteGeneric: "Unable to paste to this location.", contentCannotBeActionMenu: "Unable to paste as an action menu because the action is not valid for use as a menu.", destinationHasNoChoices: "This cannot be pasted here because the paste location is not a top level menu, a reusable menu or a sub-menu.", menuChoiceSubMenu: "A sub-menu can only be pasted directly under a top level menu, sub-menu or as a reusable menu.", menuChoiceInlineTask: "A task menu can only be pasted directly under a top level menu, under a sub-menu or as a reusable task.", state: "A state can only be pasted within the States container.", task: "A task can only be pasted directly under a top level menu, under a sub-menu or as a reusable task." }, removalError: "Unable to remove the content from the clipboard object." }, copy: { clickToCopyLabel: "Click to Copy", copiedToClipboardLabel: "Copied To Clipboard", copyFailed: "The copy operation failed.", copyFailureTitle: "Copy Failed", copyObjectDoesNotBelongToAFlow: "Object cannot be copied because it does not belong to a flow.", copyObjectNotSpecified: "No object specified to copy. Please select something to copy.", onlyCopyActionOrMenuOrStateOrTask: "You can only copy actions, menus, states or tasks.", permissions: { cannotCopyPermissionsGranularAcl: "Unable to copy because you do not have the architect:flow:edit permission in at least one division." } }, cut: { cannotCutFlowNotEditable: "Unable to cut because the flow is not editable.", cannotCutStartUpObject: "Unable to cut the startup object of a flow.", cannotCutPeriodicState: "Unable to cut the periodic state of a flow.", cutObjectDoesNotBelongToAFlow: "Object cannot be cut because it does not belong to a flow.", cutObjectNotSpecified: "No object specified to cut.", cutFailed: "The cut operation failed.", cutFailureTitle: "Cut Failed", onlyCutActionOrMenuOrStateOrTask: "You can only cut actions, menus, states or tasks.", permissions: { cannotCutPermissionsGranularAcl: "Unable to cut because you do not have the architect:flow:edit permission in at least one division." } }, paste: { additionalInfo: { alertMessage: "Additional paste result information available. Click here to open.", clipboardVariableReferenceNotAdded: "Clipboard-Referenced Variable Not Added", clipboardVariableReferenceNotAddedMoreThanOne: "Clipboard-Referenced Variables Not Added", clipboardVariableReference: "Clipboard Reference", createdVariable: "Created Variable", createdVariableMoreThanOne: "Created Variables", infoDependentCreatedVariables: "This shows dependent variables that were created during the paste operation. These are variables that are referenced by but are not part of objects on the clipboard. Since they did not exist where the clipboard was pasted, those variables were automatically created.", infoDependentNotCreatedVariables: "This shows variables that were referenced by objects on the clipboard that did not get created during the paste operation because the variables are no longer referenced by the pasted content.", infoVariableReferenceUpdates: "This shows variable references as they existed in objects on the clipboard and what they changed to when pasted.", modalTitle: "Additional Paste Information", pastedVariableReference: "Pasted Reference", updateVariableReference: "Updated Variable Reference", updateVariableReferenceMoreThanOne: "Updated Variable References" }, flowNotEditableByCurrentUser: "This cannot be pasted because you cannot edit the flow.", flowTypeCouldNotBeDetermined: "This cannot be pasted because the flow type for the paste destination location could not be determined.", noContent: "There is nothing to paste.", noDestFlow: "Unable to paste because the destination flow was either not specified or could not be determined.", pasteFailed: "The paste operation failed.", pasteFailureTitle: "Paste Failure" } }, createCallback: { noInputs: "The selected callback script has no inputs.", calleeName: "Callee Name", callbackNumber: "Callback Number", callbackScriptNotFound: "The selected callback script could not be found.", noQueueNote: "Callback will be placed on the current queue", script: "Script", selectScript: "Select a callback script", selectedScript: "Callback Script", savedVersionOfCallbackScript: "Flow is referencing a cached version of this callback script. The callback script may be out of date or deleted." }, collectionEditor: { titleContext: "Edit '%1$s' collection", itemLabel: "Item", itemsInCollection: "%1$s items in %2$s", itemsInCollectionOne: "1 item in %1$s", addItem: "Add Item" }, collectInput: { allowDigitRange: "Range of digits", dtmfVariable: "Input Data Name", individualDigits: "Individual Digits", inputAudio: "Input Audio", monetary: "Monetary", noVerification: "No Verification", numeric: "Numeric", numberDigitsLabelExact: "Number of Digits", numberDigitsLabelRange: "Range of Digits", numberDigitsChangeExact: "change to exact", numberDigitsChangeRange: "change to range", numberDigitsExact: "Exactly %1$s digits", numberDigitsExactSingular: "Exactly 1 digit", numberDigitsRange: "Any number of digits between %1$s and %2$s, inclusive", terminatingCharacter: "Terminating DTMF", verification: "Verification", noEntryTimeout: "No Entry Timeout", interDigitTimeout: "Inter-Digit Timeout", includeTerminatingDtmfInResultData: "When pressed, include terminating DTMF in input data result", acceptJustStar: "Accept just '*'", acceptJustPound: "Accept just '#'", digitInput: "Numeric Input", otherInput: "Non-Numeric Input" }, commonModule: { actionExecutableOnlyIfEmbeddingFlowIsCallFlow: "This action can only be executed if the common module is called by a call flow.", subsequentActionsExecutableOnlyIfEmbeddingFlowIsCallFlow: "This and all subsequent actions can only be executed if the common module is called by a call flow.", actionNotSupportedForFlowTypes: "The action '%1$s' is not available in flow types: '%2$s'", actionOutputExecutableOnlyIfEmbeddingFlowIsCallFlow: "Flow runtime execution can only take the '%1$s' action output if the common module is called by a call flow.", clickToAddFlowTypes: "Click to add flow types", embeddedFlowNeedsUpdated: "A newer version of common module '%1$s' is available. Validate again to update from v%2$s to v%3$s.", flowTypeNotSupportedValidationError: "Referenced common module not compatible with flow types: %1$s", flowTypeNotSupported: "Not compatible with flow type: %1$s", hardcodedTaskName: "Common Module Task", commonModuleMissingDependencies: "The common module '%1$s' has the following references that have been deleted: [%2$s]. Please open the common module directly, fix, and then republish the common module.", commonModuleInternalError: "The common module '%1$s' has errors that need to be addressed. Please open the common module directly, fix, and then republish the common module.", internalError: "Internal error encountered in common module", languageNotSupportedValidationError: "Referenced common module does not support languages: %1$s", languageNotSupported: "Does not support languages: %1$s", notAvailableInFlowTypes: "This will be ignored in these flow types: %1$s", settingsNodeName: "Common Module Settings", supportedFlowTypes: "Compatible Flow Types", publishedVersionNotAvailable: "A published version of the referenced flow is not available", debugPublishVersionNotAvailable: "A debug version of the referenced flow is not available", commonModuleNotUsableMissingPermission: "The selected common module cannot be used because you do not have the 'architect:flow:view' permission in its division.", mustSelectFlowType: "At least one compatible flow type must be selected", compatibleFlowTypesWarning: "The actions, data types, and other settings available in a common module flow are limited to those available in all of the selected compatible flow types." }, configurations: { queue: "Queue", skill: "ACD Skill", skillsPlural: "ACD Skills" }, contact: { phonePropertyDescription: "'%1$s' phone property from flow contact list", propertyDescription: "'%1$s' property from flow contact list" }, conversationAttribute: { conversationAttributeLabel: "Conversation Attribute", conversationAttributeSchemaLabel: "Conversation Attribute Schema", divisionsForConversationAttributeRecord: "The divisions this conversation attribute belongs to. If the collection is empty, the record is visible to all divisions.", disabledSchemaSelected: "Schema is disabled. Select an active schema to continue.", flowReferencesADisabledSchema: "This flow references a disabled schema. Update all Conversation Attributes actions (GET, CREATE, UPDATE) to use an active schema.", schemaLabel: "Schema", mustSelectSchema: "A schema must be selected.", schemaNotFound: "The selected schema could not be found.", selectSchema: "Select a schema", unableToLoadSchema: "Unable to load the configuration information for the selected schema.", recordId: "Record ID", recordIds: "Record IDs", recordIdDescription: "A unique ID within a conversation consisting of English letters, numbers, hyphens, and underscores. Spaces are not allowed.", recordIdsDescription: "A collection of unique IDs within a conversation consisting of English letters, numbers, hyphens, and underscores. Spaces are not allowed.", invalidRecordId: "Invalid Record ID", recordVersion: "Record Version", recordVersionDescription: "The version of the conversation attribute record.", schemaVersionIdDescription: "The version of the schema associated with the conversation attribute record.", customAttributesDescription: "Holds the custom attribute values as defined by the schema.", supplyRecordDataWithPropertyOmittedToRemove: "To remove this field's value, use the '{{actions.createConversationAttribute}}' and supply the record data with this field omitted.", resultLabel: "Result" }, currency: { filter: "Search currencies", modalTitle: "Select Currency", useCurrency: "Use Currency" }, customNodes: { actions: "Actions", data: "Data", debugging: "Debugging", dependencies: { label: "Dependencies", none: "There are no dependencies." }, errorHandling: { audio: "Pre-handling audio", errorHandlingDisconnectDescription: "This ends execution of the current flow and disconnects the current interaction.", errorHandlingEndFlow: "End Flow", errorHandlingEndFlowDescription: "This ends execution of the current flow.", errorHandlingContinue: "Keep Chat Open", errorHandlingEndWorkflowDescription: "This ends execution of the current '%1$s' flow.", errorHandlingExitFlowDescription: "This ends execution of the current flow and returns execution to a calling flow if there is one.", errorHandlingEndInQueueStateDescription: "This ends execution of the current state in an In-Queue flow. The flow keeps running so subsequent invocations of the '%1$s' will still happen.", errorHandlingMenuDescription: "Flow execution goes to a specified menu.", errorHandlingQueueDescription: "This ends execution of the current flow and transfers the current interaction to a specified queue.", errorHandlingStateDescription: "Flow execution changes state to a specified state.", errorHandlingTaskDescription: "Flow execution jumps to a specified reusable task.", errorHandlingTypeNotAvailableForFlowType: "The error handling type '%1$s' cannot be used in a flow of type '%2$s'.", handling: "Handling", label: "Error Event", queueTransfer: "Transfer to Queue", queueTransferDigitalAutomateDescription: "If the queue to transfer to is invalid, the flow does not perform the transfer and will fall back to End State handling.", changeStateToFlowStartup: "Since the starting state is selected for error event handling, remember that the startup state will be re-executed if a flow error event occurs.", exit: "Exit the Flow" }, eventHandling: { label: "Event Handling", agentEscalation: "Agent Escalation", agentEscalationConfirmation: "Confirmation", enableAgentEscalationLabel: "Enable Agent Escalation", enableAgentEscalationDescription: "This setting enables or disables the bot flow from listening to requests to speak to a human.", subsequentRecognitionFailuresLabel: "Subsequent Recognition Failures", subsequentRecognitionFailuresDescription: "By default, when the recognition failure event occurs and is triggered a second time, the bot will exit the flow. By selecting execute task, the bot will continue to execute the recognition failure task for all subsequent recognition failure events.", subsequentRecognitionFailuresExecuteTask: "Execute Task", eventHandlingAgentEscalationHandoverDescription: "Wording the bot will use when the participant has requested to speak to a human and has said yes to the Agent Escalation Confirmation prompt. Once this wording has been communicated, the Bot will Exit back to the calling flow which invoked this Bot flow.", eventHandlingAgentEscalationConfirmationDescription: "Wording the bot will use when it thinks that the participant has requested to speak to a human. The participant is expected to reply with a yes or no answer.", eventHandlingAgentEscalationHandlingDescription: "Setting 'Exit the Flow' will end the participant's Genesys Cloud conversation and setting 'Jump to Reusable Task' will transfer the flow to a previously configured reusable task.", eventHandlingErrorEventHandlingDescription: "Specifies the bot's behavior when there is an error encountered during the execution of the flow. Examples of such an error include a divide-by-zero error or submitting a NOT_SET value to a function that does not allow it. Setting '%1$s' will end the participant's Genesys Cloud conversation and setting '%2$s' will return control to the flow which invoked this Bot Flow.", eventHandlingErrorEventHandoverDescription: "Wording the bot will use when there is an error encountered during the execution of the flow. Examples of such an error include a divide-by-zero error or submitting a NOT_SET value to a function that does not allow it.", eventHandlingRecognitionFailureHandoverDescription: "Wording the bot will use when the bot asks a question and the participant takes too many attempts to provide a valid answer. This could include too many of any of the following: No Matches, No Inputs, or Confirmation Rejections. Recognition Failures can occur in any '%1$s' or '%2$s' action.", eventHandlingRecognitionFailureHandoverDigitalDescription: "Wording the bot will use when the bot asks a question and the participant takes too many attempts to provide a valid answer. This could include too many of any of the following: No Matches or Confirmation Rejections. Recognition Failures can occur in any '%1$s' or '%2$s' action.", eventHandlingRecognitionFailureHandlingDescription: "Specifies the bot's behavior when it asks a question and the participant takes too many attempts to provide a valid answer. This could include too many of any of the following: No Matches, No Inputs, or Confirmation Rejections. Recognition Failures can occur in any '%1$s' action or in an '%2$s' action. Setting '%3$s' will end the participant's Genesys Cloud conversation, setting '%4$s' will return control to the flow which invoked this Bot Flow.", eventHandlingRecognitionFailureHandlingWithJumpToTaskDescription: "Specifies the bot's behavior when it asks a question and the participant takes too many attempts to provide a valid answer. This could include too many of any of the following: No Matches, No Inputs, or Confirmation Rejections. Recognition Failures can occur in any '%1$s' action or in an '%2$s' action. Setting '%3$s' will end the participant's Genesys Cloud conversation, setting '%4$s' will return control to the flow which invoked this Bot Flow and setting '%5$s' will transfer the flow to a previously configured reusable task.", handover: "Handover", recognitionFailureEvent: "Recognition Failure Event" }, menus: "Menus", resources: "Resources", settings: "Settings", userInputSettings: { title: "User Input" }, botFlowUserInputSettings: { generalUserInputSettings: "General", noMatchesMax: "Maximum Number of No Match Retries", noMatches: "No Match Detected", noMatchApology: "No Match Apology", noInputsMax: "Maximum Number of No Input Retries", noInputsMaxExceeded: "No Input Maximum Retries Exceeded Handling", noInputsMaxExceededDescription: "Specifies the bot's behavior when there has been no input from the external participant after the maximum number of no input retries has been exceeded.", endOfSessionMessage: "End of Bot Chat Message", endOfSessionMessageDescription: "The goodbye message from the bot which is triggered when there has been no input from the external participant after the maximum number of no input retries has been exceeded or the session maximum time has been met.", noInputsTimeout: "Voice No Input Timeout", noInputsDigitalTimeout: "No Input Timeout", noInputs: "No Input Detected", noInputsApology: "No Input Apology", confirmationRejectionsMax: "Maximum Number of Confirmation Rejections", confirmationErrors: "Confirmation Errors", noToConfirmationApology: "Confirmation Rejection Apology", confirmationNoMatchApology: "No Match Confirmation Apology", confirmationNoInputApology: "No Input Confirmation Apology", collectionLowConfidenceThreshold: "Normal Low", collectionHighConfidenceThreshold: "Normal High", confirmationLowConfidenceThreshold: "Confirmation", confidenceThresholds: "Confidence Thresholds", collectionConfidenceThresholdsError: "Collection Low confidence must be lower than or equal to the Collection High confidence.", quickRepliesLabel: "Automatic Quick-Reply Buttons", quickRepliesDescription: "If the setting is true and the bot is interacting with a participant via text, this enables automatic quick reply buttons in Intent and Slot confirmations, Knowledge confirmations, '%1$s', '%2$s' and '%3$s' ( for list slot types ) actions. Otherwise if false or a NOT_SET Boolean, quick reply buttons are not enabled.", userInputSettingNoMatchesMaxDescription: "For the current '%1$s' action, this is the maximum number of times that the bot will allow a retry given an input that is not a valid match. If the number exceeds this maximum then the rules in the flow's Event Handling '%1$s' section will be followed, or if the action has a '%2$s' path then that path will be taken at runtime instead. No Match in both the 'Normal' and 'Confirmation' phases of the '%1$s' action will count towards this maximum.", userInputSettingNoMatchApologyDescription: "Wording the bot will output prior to the current '%1$s' action's '%2$s' Communication whenever the bot receives input from the participant that is not a valid match.", userInputSettingsNoInputsMaxDescription: "For the current '%1$s' action, this is the maximum number of times that the bot will allow a retry given no input (i.e. silence) from the participant. If the number exceeds this maximum then the rules in the flow's Event Handling '%2$s' section will be followed, or if the action has a '%3$s' path then that path will be taken at runtime instead. No Input in both the 'Normal' and 'Confirmation' phases of the '%1$s' action will count towards this maximum.", userInputSettingsNoInputsDigitalMaxDescription: "For the current '%1$s' action, this is the maximum number of times that the bot will re-prompt the participant for input if none is received. If the number exceeds this maximum then the bot will stop prompting and wait for input. No Input in both the 'Normal' and 'Confirmation' phases of the '%1$s' action will count towards this maximum.", userInputSettingsNoInputTimeoutDescription: "Once the current Communication has finished playing, this is the maximum length of time to wait for the participant to start speaking. If no speech is detected within this time then a No Input will be triggered.", userInputSettingsNoInputDigitalTimeoutDescription: "Once the current Communication is sent, this is the maximum length of time to wait for the participant to respond. If no input is received within this time then a No Input will be triggered.", userInputSettingsNoInputsApologyDescription: "This Communication is output prior to the current '%1$s' action's '%2$s' Communication whenever the bot does not receive any input from the participant.", userInputSettingsConfirmationRejectionsMaxDescription: "For the current '%1$s' action, this is the maximum number of times that the bot will allow the participant to say no while the bot is confirming an input. If the number exceeds this maximum then the rules in the flow's Event Handling '%2$s' section will be followed, or if the action has a '%3$s' path then that path will be taken at runtime instead.", userInputSettingsNoToConfirmationApologyDescription: "Wording the bot will output prior to the current '%1$s' action's '%2$s' Communication whenever the participant says no while the bot is confirming the participant's last input.", userSettingsConfirmationNoMatchApologyDescription: "Wording the bot will output prior to the bot repeating the current confirmation question whenever the bot receives input that is neither a yes nor a no during a confirmation.", userSettingsConfirmationNoInputApology: "This Communication is output prior to the bot repeating the current confirmation question whenever the bot does not receive any input during a confirmation.", userSettingsCollectionLowConfidenceThresholdDescription: "The minimum confidence level percentage (score) that an input phrase must receive to avoid a No Match. If the confidence level of an input phrase is above this threshold then the bot will either accept it or confirm it with the participant, depending on the value of the '%1$s' threshold.", userSettingsCollectionHighConfidenceThresholdDescription: "The minimum confidence level percentage (score) that an input phrase must receive to be accepted without triggering a confirmation question.", userSettingsConfirmationLowConfidenceThresholdDescription: "The minimum confidence level percentage (score) that an input phrase must receive to avoid a No Match when the bot is asking a yes or no question. This applies during a confirmation and also in the '%1$s' and '%2$s' actions.", userSettingsSttMaxSpeechTimeout: "Maximum duration of an utterance collected from the user. A duration value less than or equal to 0 ms means no timeout. If a NOT_SET value is supplied, the default value will be used.", userSettingsSttSpeechDetectionSensitivity: "A balance between detecting speech and noise (breathing, etc.). 0 means ignore all noise, 1.0 means interpret all noise as speech. If a NOT_SET value is supplied, the default value will be used.", userSettingsSttSpeechDetectionSensitivityNuanceSupport: "Note: This setting is only supported by Nuance Recognizer as a Service.", voiceBargeInSettingLabel: "Voice Barge-in", voiceBargeInSettingDescription: "Whether or not the external participant should be able to interrupt audio while it is still playing.", automaticSpeechRecognition: "Automatic Speech Recognition", intentClassificationHintingLabel: "Intent Classification Hinting", intentClassificationHintingDescription: "This setting enables or disables whether hints are sent to the speech recognition engine for intent classification. Hints are a set of phrases sent to the engine to provide context and assist with speech recognition.", speechToTextAdvancedConfiguration: "Advanced Configuration", speechToTextAdvancedConfigurationDescription: "Provides engine-specific JSON to fine-tune ASR behavior. If omitted, default settings for the selected ASR engine are used." }, botPerformanceReport: { botPerformanceReportTitle: "Bot Performance Report" }, interactionReport: { interactionReportTitle: "Interaction Report" }, surveyPerformanceReport: { surveyPerformanceReportTitle: "Survey Performance Report" }, virtualAgentPerformanceReport: { virtualAgentPerformanceReportTitle: "Virtual Agent Performance Report" }, virtualAgentSettings: { virtualAgentSettingsTitle: "After Contact", virtualAgentSettingsTabs: { virtualAgentSettingsConversationSummary: "Conversation Summary", virtualAgentSettingsWrapUpCodes: "Wrap-up Codes" }, virtualAgentSettingsSummarizeConversationTitle: "Summarize Conversation", virtualAgentSettingsSummarizeConversationDescription: "The Virtual Agent will use AI to summarize the conversation.", assignWrapupCodesTitle: "Automatically assign wrap-up codes", assignWrapupCodesDescription: "AI will assign a wrap-up code when one has not been manually set in the conversation flow.", enabledWrapupCodes: "Enabled wrap-up codes", searchWrapupCodes: "Search name...", wrapupCodeColumns: { name: "Name", description: "Description", division: "Division", error: "Error Message", status: "Status" }, wrapupCodeDivisionAll: "All", wrapupCodeFilterHeader: "Filter", wrapupCodeFilterLabelNone: "None", wrapupCodeFilterLabelEnabled: "Enabled", wrapupCodeFilterLabelErrors: "Errors", wrapupCodeFilterTooltip: "Filter wrap-up codes table", wrapupCodeFilterAppliedTooltip: "Filter applied:", wrapupCodeAssign: "Assign wrap-up code", wrapupCodeUnassign: "Unassign wrap-up code", wrapupCodeErrorRemove: "Clear wrap-up code", wrapupCodeDisabledToggleTooltip: "Wrap-up code has no description", wrapupCodeDisabledToggleTooltipDivision: "Cannot determine if wrap-up code description is set for this division", wrapupCodeNoDescriptionError: "Assigned WrapupCode '%1$s' has no description.", wrapupCodeGridEmptyTitle: "No wrap-up codes available", wrapupCodeGridEmptySubTitle: "Try using different filters", wrapupCodeGridLoadFail: "Failed to load wrap-up codes", wrapupCodeGridMissingPermission: "You do not have permission to view and search wrap-up codes", conversationSummarySettingsTitle: "Custom Summary Configuration", conversationSummarySettingsDescription: "Virtual Agent will use this configuration to generate a custom summary based on its instructions.", conversationSummarySettingsToolTip: "If no custom configuration is selected, the default summary configuration will be used.", conversationSummarySettingsDropdownPlaceholder: "Select a configuration", conversationSummarySettingsButtonToolTip: "Open conversation summary configuration in a new tab", conversationSummarySettingsWorkbenchBanner: "Custom Summary Configurations are managed through {{link.__SUMMARY_WORKBENCH__, AI Studio > Summary workbench}}.", conversationSummarySettingsSupportedLanguagesTableHeader: "Summary Configuration", conversationSummarySettingsDefaultLangPlaceholder: "Manage summary configuration: ", conversationSummarySettingsLangUnavailable: "Custom Summary Configuration is unavailable for this language.", conversationSummarySettingsSummaryNotFound: "The Custom Summary '%1$s' does not exist", conversationSummarySettingsWorkbenchLinkTitle: "AI Studio > Summary workbench" } }, detectIntent: { detectIntent: "Detect Intent", detectedIntent: "Detected Intent" }, detectSilence: { silenceDuration: "Silence Duration", silenceDurationDescription: "Amount of continuous silence to wait for.", timeoutDescription: "Total amount of time to wait for continuous silence before failing and taking the 'Timeout' output." }, dataTable: { dataTable: "Data Table", mustSelectTable: "A data table must be selected.", savedVersionOfAction: "Flow is referencing a cached version of this Data Table. The Data Table may be out of date or deleted.", selectDataTable: "Select a data table", tableNotFound: "The selected Data Table could not be found." }, dataView: { actionsColumn: "Usage", filterVariables: "Search data", nameColumn: "Name", containerNameColumn: "Container", usagesMultiple: "Used in %1$s places", usageReaderTitle: "Consumes the variable", usageWriterTitle: "Sets the variable" }, dateTimeInput: { clearButtonText: "Clear", closeButtonText: "Close", todayButtonText: "Today" }, decisionTable: { decisionTableLabel: "Decision Table", decisionTablePlural: "Decision Tables", mustSelectDecisionTable: "A decision table must be selected.", decisionTableNotFound: "The selected decision table could not be found.", decisionTableDescription: "The decision table that we are querying against.", selectDecisionTable: "Select a decision table", unableToLoadDecisionTableInputOutputSchema: "Unable to load the input / output configuration information for the selected decision table.", decisionTableUsageFeesNote: "Usage fees apply. Learn more about calling Decision Tables in the {{link.__DECISION_TABLE_USAGE_FEES__}} documentation." }, decryptData: { dataToDecryptDescription: "The encrypted String value to decrypt back to a JSON value. Encrypted String values are generated from the '%1$s' action. If a NOT_SET String value or blank String value is supplied to the action at runtime, execution will take the '%2$s' output with an error type reason string value of '%3$s'.", dataToDecryptLabel: "Data To Decrypt", decryptedDataOutputDescription: "The decrypted JSON value from the supplied encrypted String value.", decryptedDataOutputLabel: "Decrypted Data" }, deflect: { smsPhoneNumber: "SMS Phone Number" }, deflectionURL: { serviceTitle: "Service", accountTitle: "Account", accountDisplay: "Enter the associated account name" }, deletePrompt: { title: "Delete Prompt", cancelDelete: "Delete Canceled", cancelDeleteContext: "Canceled after %1$s deletions", cannotDeletePrompt: "Cannot delete a non-user prompt", deleteInProgressMultiple: "Deleting %1$s prompts and their resources", deleteInProgressSingle: "Deleting %1$s prompt and its resources", failedToDeletePrompts: "Failed to delete prompts.", failedToDeletePromptResource: "Failed to delete prompt resource.", failureContextContainer: "Failed when trying to delete %1$s" }, dependencies: { deletedItem: "(Deleted) - %1$s", criteriaLabel: "Search:", statusLabel: "Dependency Database Status", userLabel: "Initiated by %1$s", startDateLabel: "Time Started: %1$s", byMissingResourceShort: "Missing Dependencies", byMissingResourceLong: "Search for missing dependencies", byMissingResourcePlaceholder: "Flows with missing dependencies", byNameShort: "Name", byNameLong: "Search by dependency name", byNamePlaceholder: "Enter name of dependency", findConsumingFlows: "Find consuming flows", flowVersionAll: "All", flowVersionCheckedIn: "Checked In", flowVersionPublished: "Published", flowVersionSelect: "Select flow versions to check", forceRebuild: "Force rebuild", invalidSearchCriteria: "Unable to perform a dependency search with the current values, please change the search criteria.", matchEarliest: "Earliest match is in %1$s", matchLatest: "Latest match is in %1$s", matchPublished: "%1$s is the published version", match: "match", operational: "Operational", querying: "Querying", inProgress: "Rebuilding", needsRebuild: "Needs Rebuild", unknown: "Unknown", partialResults: "Partial results may be shown.", partialResultReason: "The dependency database is rebuilding.", partialResultsNeedsRebuildNonAdmin: "An administrator needs to rebuild the dependency database.", partialResultsNeedsRebuildAdmin: "Rebuild dependency database now.", buildQueued: "Rebuild Queued", rebuildError: "There was an error rebuilding the dependency database. Please try again later.", startSearch: "Enter search criteria above to find flows", selectAgenticVirtualAgent: "Select an agentic virtual agent", selectDataAction: "Select a data action", selectGuide: "Select a guide", selectType: "Select a dependency type", selectScript: "Select a script", selectSecureAction: "Select a secure action", statusError: "There was an error retrieving dependency table info.", unknownItem: "Unknown item", versionsLatestAndPublishedSame: "%1$s (Latest, Published)", versionsDeleted: "%1$s (Deleted)", versionsLatest: "%1$s (Latest)", versionsPublished: "%1$s (Published)", versionsLatestAndPublished: "%1$s (Latest), %2$s (Published)" }, dialExtension: { audioToPlay: "Audio to play to re-prompt the caller", extensionVariable: "Extension Data Name", numReprompts: "Number of times to re-prompt the caller", title: "Dial By Extension" }, dialName: { title: "Dial By Name", matchBy: "Match By", firstName: "First Name", lastName: "Last Name", matchingStyle: "Matching Style", waitForUniqueMatch: "Wait for unique match", useSpecificNumChars: "Use a specific number of characters", numberOfCharacters: "Number of characters" }, duration: { days: "days", hours: "hours", minutes: "minutes", seconds: "seconds", milliseconds: "milliseconds" }, guide: { actionSchemasError: "Version and variables information could not be loaded.", guide: "Guide", guideBillingInfoNote: "For tokens-based pricing details on interactions with Agentic Virtual Agents, see the {{link.__GENESYS_CLOUD_TOKENS_BASED_PRICING_MODEL__, Resource Center}} documentation.", guideVersion: "Guide Version", guideViewPermission: "You do not have permission to view guides.", guideVersionViewPermission: "You do not have permission to view guide version.", mustSelectGuide: "A guide must be selected.", guideNotFound: "The selected guide could not be found.", mustSelectGuideVersion: "A guide version must be selected.", guideVersionNotFound: "The selected guide version could not be found.", openGuideInNewTab: "Open Guide Builder in new tab" }, editPrompt: { audioClearConfirm: "Are you sure you want to delete this audio?", audioRevertConfirm: "Are you sure you want to delete this audio and revert to the system default? Audio for language [%1$s] will be deleted.", automaticForOutputMode: "Automatic", clearRecording: "Clear", create: "Create Prompt", descWatermark: "Enter description for prompt", download: "Download", edit: "Edit Prompt", hideLanguagesButton: "Hide language resources not used by this flow", markedForDelete: "Resource for language [%1$s] marked for delete", markForDelete: "Mark for deletion", noResourceError: "Missing audio or text to speech", noAudioError: "Missing required audio", noOptions: "No audio to preview", noTextLabel: "No text", preview: "Preview", previewAlertError: "Your browser cannot play this audio sample. Would you like to download it?", showLanguagesButton: "Show language resources not used by this flow", resources: "Language Resources", recordStation: "Record from station...", recordBrowser: "Record from browser...", revertAudio: "Revert to default", removeTextPrompt: "Remove text prompt", addTextPrompt: "Add text prompt", textDescription: "The Text value for the prompt.", textLabel: "Text", textWatermark: "Enter text", ttsDescription: "The Text to Speech value for the prompt.", ttsLabel: "Text To Speech", ttsNotSupportedError: "Text to speech playback is not supported in this language", ttsTextCombine: "Combine fields", ttsTextDescription: "The Text To Speech and Text values for the prompt.", ttsTextExpand: "Split fields", ttsTextLabel: "Text To Speech / Text", ttsTextWatermark: "Enter text to speech / text", ttsWatermark: "Enter text to speech", upload: "Upload...", usingDefaultAudio: "Using default audio", view: "View Prompt", watermark: "Enter name for prompt" }, encryptData: { dataToEncryptDescription: "The JSON value to encrypt to a String. If a NOT_SET JSON value is supplied to the action at runtime, execution will take the '%1$s' output with an error type reason string value of '%2$s'. If the encrypted data is over 32000 characters in length, execution will take the '%1$s' output with an error type reason string value of '%3$s'.", dataToEncryptLabel: "Data to Encrypt", encryptedDataOutputDescription: "The encrypted String value from the supplied JSON value.", encryptedDataOutputLabel: "Encrypted Data" }, errorPage: { backupMessage: "A backup version of the flow was saved to local browser storage %1$s. Logging back in will allow you to retrieve it.", errorOccurred: "An error occurred.", generic: "An error occurred while logging in to Genesys Cloud. Please try again.", tryAgain: "Try Again", unauthorizedGranular: "In order to use Architect, your user must have the architect:ui:view permission." }, errors: { actionNotValidHere: "This action cannot be used here.", actionCannotBeInTask: "This action cannot be used in a task.", cachedCouldNotBeFound: "Item could not be found. Flow is referencing a cached version of the item.", cachedItemIsDifferent: "Item is different from the latest version. Flow is referencing a cached version of the item.", cantUploadMp3: "MP3 formatted files are not supported.", collectionError: "One or more items in the collection are in error", descriptionLengthExceeded: "The description entered exceeds the limit of %1$s characters.", duplicateVariableId: "There is an internal error with the variable named '%1$s'. Please delete or recreate it.", duplicateVariableName: "There is more than one variable with the name '%1$s'.", errorNavigatingFlow: "There was an error navigating to the flow.", errorOccurred: "An error occurred", emptyCollectionInvokesErrorHandling: "An empty collection will invoke error handling.", fileTooBig: "File too large, please pick a file under 25MB.", fileTooBigMultiple: "One of the files is too large, please pick files under 25MB.", fileTooBigWithLimit: "File too large, please pick a file under %1$s.", haltPublish: "The flow cannot be published because of validation errors.", invalidValue: "Invalid value for %1$s", invalidValueWithContext: "Invalid value for '%1$s' in '%2$s'", itemNotFound: "This item could not be found", maxNameLength200: "Maximum length of name is 200 characters", multipleErrors: "The value contains one or more errors", multipleWarnings: "The value contains one or more warnings", nameContainsInvalidCharacter: "Name cannot contain the character '%1$s'.", nameInUse: "This name is in use elsewhere", noName: "Name can not be empty", noVariableSpecified: "There is no variable specified.", notAvailableError: "This action is not available to be used in %1$s", notFound: "Not found", noUri: "URI can not be empty", ohNoSomethingWentWrong: "Oh no! Something went wrong!", serverError: "An error occurred trying to contact Genesys Cloud.", unableToRetrieveCategory: "Was unable to retrieve category for selected action.", showingPartialErrors: "Only showing the first 20 warnings and errors", transferToUnpublishedFlow: "Transfer will not occur until flow '%1$s' is published.", uniqueName: "Name is in use", unPublishedFlow: "Flow '%1$s' is not published.", unreachableAction: "This action is unreachable", unreachableActionOutOfService: "Unreachable because path is disabled", unusedVariable: "The variable '%1$s' is not used.", validateToRefresh: "Press validate again to refresh list", validateFailed: "Unable to get data necessary to validate the flow.", validateFailedTitle: "Validation failed", errorCount: "Error Count: %1$s", infoCount: "Notes Count: %1$s", warningCount: "Warning Count: %1$s", invalidFlowTypeCombinationError: "The '%1$s' action cannot be used when the compatible flow types configured in the common module include %2$s.", grammarOnSlotError: "Must have a grammar associated with the slot '%1$s' in order to associate a speech to text engine." }, errorSchema: { errorTypeDescription: "A non-empty String that contains the type or category of the error.", errorMessageDescription: "A non-localized error message. The String may be empty or NOT_SET." }, expression: { builderUnavailableFeatureRequirements: "Usage of the '%1$s' builder requires a feature that is not available.", builderUnavailableForFlowType: "The '%1$s' builder is not valid for use in flows of type '%2$s'.", builderPartOrContainerUnavailableFeatureRequirements: "Usage of the '%1$s' part requires a feature that is not available.", builderPartOrContainerUnavailableForFlowType: "The '%1$s' part is not valid for use in flows of type '%2$s'.", builderOrContainerErrorRuntimeOutputBlank: " You need to supply at least one non blank value because blank output at flow runtime for this is not allowed.", cannotConvertInputType: "Cannot convert expression from type %1$s to required type of %2$s.", cannotConvertInputTypeWithFunction: "Cannot convert expression from type %1$s to required type of %2$s with a %3$s function call because the resulting expression would still be in error.", cursorPosition: "Current cursor position", builderModeNotAllowed: "Builder mode is not allowed for this value.", builderInError: "1 or more builder sequences are in error", expressionModeNotAllowed: "Expression mode is not allowed for this value.", literalModeNotAllowed: "Literal mode is not allowed for this value.", noValueModeNotAllowed: "No Value mode is not allowed for this value.", variableModeNotAllowed: "Variable mode is not allowed for this value.", collectionConversionMessage: "The generated %1$s expression will be saved but you will not be able to return to literal mode without resetting the expression.", collectionConversionTitle: "Convert Literal Collection to Expression", collectionItemsMax: "The maximum number of items allowed in a collection is %1$s.", collectionItemsMaxExceeded: "The collection has %1$s items which exceeds the maximum allowed of %2$s.", collectionItemsMaxRecommendedExceeded: "The collection has %1$s items which exceeds the maximum recommended limit of %2$s. Flow runtime behavior may not honor items in excess of this limit.", collectionItemsMinNotExceeded: "The collection has %1$s items which is less than the minimum required of %2$s.", collectionItemsEmpty: "The collection must have at least 1 item", collectionMinLength: "Minimum items: %1$s", collectionMaxLength: "Maximum items: %1$s", contactList: "Contact List", collection: "%1$s Collection", collections: "Collections", currencies: "Currencies", collectionSingular: "Collection", deprecatedVariableName: "The variable name '%1$s' is deprecated. Please use '%2$s' instead.", dataPlaybackNotSupportedForLanguage: "%1$s data playback is not supported for the language %2$s.", decimalValueTooMuchPrecision: "The value %1$s at position %2$s has too much precision. It needs to have %3$s digits or less of precision.", disabledEditorText: "Open large expression editor to edit multiline text.", errorAtPosition: "Error at position %1$s.", editExpressionWithProperty: "Edit '%1$s' expression", editExpression: "Edit expression", editExpressionType: "Type: %1$s", editExpressionFuncOpDescription: "Description: %1$s", expressionIsNotSetType: "The result of this expression text cannot be resolved to a data type. You can try wrapping the expression text with a casting function call to convert it to a data type.", expressionModes: "Expression modes", functionImplementations: "Function Implementations", functionsTooltip: "Functions", openLargeExpressionEditor: "Open large expression editor", literalDropDownValueDoesNotExist: "The %1$s '%2$s' does not exist.", literalDropDownValueIsDeleted: "The %1$s '%2$s' has been deleted.", longitudeSetToNullIsland: "The address has an invalid longitude", latitudeSetToNullIsland: "The address has an invalid latitude", noValue: { selection: { default: "Default", noValue: "No value", useDefault: "Use default", useFlowDefault: "Use flow default" }, selectionRuntimeEvaluation: { connectTimeout: { edgeTrunkTimeout: "Use Edge trunk connect timeout", groupTransferTimeout: "Use target group alert timeout", userTransferTimeout: "Use target user voicemail timeout" }, none: "None", noOverride: "No override", noValueSpecified: "No value specified", noDefaultValueSpecified: "No flow default value specified", noVariableSpecified: "No output value specified", useFlowDefault: "Use flow default", variableInitialValue: { emptyCollection: "Empty collection" } } }, facets: { allowableValue: "Allowable Value", allowableValues: "Allowable Values", example: "Example", examples: "Examples", negativeDuration: "negative %1$s" }, functions: { argumentNumMustBeOfType: "%1$s Expected parameter %2$u to be of type %3$s", argumentMustBeCollection: "The argument at position %1$s supplied to %2$s at position %3$s must be a collection.", funcOpPosPrefix: "'%1$s' at position %2$s :", functionMustBeCalledWithParens: "%1$s Missing parentheses after function name.", genericFunctionErrorTemplate: "%1$s %2$s", implicitCastAdded: "Using '%1$s' to convert expression from %2$s to %3$s.", internalErrCannotResolveToNotSet: "%1$s Internal error: Cannot resolve data type of parameter %2$s at position %3$s from %4$s to NOT_SET.", internalErrMustBeTwoArgsOnAccessor: "Internal error: there must be two args on a '.' function", internalErrSecondArgCannotBeNotSet: "Internal error: second argument to a '.' function cannot be NOT_SET.", maxOperandsExceeded: "%1$s The maximum number of parameters allowed is %2$s.", mustBeSameType: "%1$s Must be passed arguments of the same type. The argument at position %2$s is of type %3$s and the argument at position %4$s is of type %5$s.", mustHaveAtLeastOneNotSetOperand: "%1$s Needs to have at least one parameter that is not the value NOT_SET.", mustBeLastOperation: "%1$s Must be the last operation performed in an expression.", noOverloadNoParm: "%1$s There is no implementation that takes zero parameters.", noOverloadOneParm: "%1$s There is no implementation that accepts a parameter of type %2$s.", noOverloadMoreThanOneParm: "%1$s There is no implementation that accepts parameters of %2$s.", notAvailableInFlowTypeMoreThanOneParm: "%1$s The implementation that takes parameters of %2$s is not valid for use in a flow of type %3$s.", notAvailableInFlowTypeNoParm: "%1$s The implementation that takes no parameters is not valid for use in a flow of type %2$s.", notAvailableInExpression: "The function '%1$s' is not valid at position %2$s for use in this expression.", notAvailableInFlowTypeOneParm: "%1$s The implementation that takes a parameter of type %2$s is not valid for use in a flow of type %3$s.", parameterTextLengthLessThanMin: "%1$s The '%2$s' parameter at position %3$s must be at least 1 character.", parameterTextLengthLessThanMinMoreThanOne: "%1$s The '%2$s' parameter at position %3$s must be at least %4$s characters.", parameterValueGreaterThanMax: "%1$s The value of %2$s supplied to the %3$s parameter at position %4$s is greater than the maximum allowed of %5$s.", parameterValueLessThanMin: "%1$s The value of %2$s supplied to the %3$s parameter at position %4$s is less than the minimum allowed of %5$s.", parameterValueMustBeLiteral: "%1$s The %2$s parameter at position %3$s must be a literal value of type %4$s.", parameterValueMustBeVariable: "%1$s The '%2$s' parameter at position %3$s must be a variable reference.", parameterValueMustBeVariableScope: "%1$s The '%2$s' parameter at position %3$s must be a must be a '%4$s' variable reference.", parameterCannotBeZero: "%1$s The %2$s parameter value of %3$s at position %4$s is not allowed because it is zero.", parameterEnumNotGroupUnique: "%1$s It is not valid to pass %2$s and %3$s as parameter values to the same function call.", parameterLiteralValueNotInProvider: "%1$s The literal %2$s supplied to the %3$s parameter at position %4$s is not a supported %5$s.", parameterLiteralValueNotValid: "%1$s The literal %2$s supplied to the %3$s parameter at position %4$s is not valid. %5$s", parameterTypeDialingCode: "dialing code", parameterTypeTTSEngineLang: "IETF language tag for text to speech playback", parameterTypeCurrencyCode: "ISO 4217 currency code", parameterTypeDigitalChannel: "digital channel", parameterTypeUnknown: "Internal error: unknown", propertyEnumUsageNotSupportedInLanguage: "'%1$s' at position %2$s is not valid for the language %3$s.", propertyEnumUsageNotSupportedInLanguages: "'%1$s' at position %2$s is not valid for the languages in which this expression could be run. They are %3$s.", returnDataTypeAsCollectionNotAvailable: "%1$s The return data type '%2$s' does not support collections.", returnDataTypeCouldNotBeDetermined: "%1$s The return data type cannot be determined.", secondAndThirdArgumentsCannotBeNotSet: "%1$s The second and third arguments cannot both be NOT_SET.", secondAndThirdArgumentsMustBeSameType: "%1$s The second and third arguments must be the same type. The second argument at position %2$s is type %3$s and the third argument at position %4$s is type %5$s.", typeForNotSetOperandCouldNotBeDetermined: "%1$s A type could not be determined for the NOT_SET value passed to the '%2$s' parameter at position %3$s.", unavailableFunctionDueToImplementationToggles: "%1$s Unavailable because all implementations require a feature that is not available.", unavailableOverloadNeedsFeatureToggle: "%1$s Unavailable because this implementation requires a feature that is not available." }, highlightFunction: "Selects the function at the current cursor position", invalidEscape: "Invalid string escape at position %1$s.", invalidInputAtPosition: "Invalid input at character position %1$s.", invalidLiteralContext: "Invalid input for %1$s", internalErrorExpression: "Internal expression error", intValueGreaterThanMax: "The integer value %1$s at position %2$s is greater than the maximum allowed of %3$s", intValueLessThanMin: "The integer value %1$s at position %2$s is less than the minimum allowed of %3$s", label: "Expression", languages: "Languages", literal: "Literal", literalLowerCase: "literal", literals: "Literals", toLiteralModeTooltip: "Editor is in expression mode, click to switch to literal mode.", toVariableModeTooltip: "Editor is in expression mode, click to switch to variable mode.", missingCloseBracketAtPosition: "Missing ] for [ at position %1$s.", missingCloseParenAtPosition: "Missing ) for ( at position %1$s.", missingEndQuoteAtPosition: 'Missing end quote for the " at position %1$s.', missingOpenBracketAtPosition: "Missing [ for ] at position %1$s.", missingOpenParenAtPosition: "Missing ( for ) at position %1$s.", mustBeVariableReference: "The expression must be a variable reference or reference properties of a variable.", mustReferenceVariable: "The expression must reference the '%1$s' variable.", noEditorAvailable: "No editor available", noPropertySpecified: "No property specified to access after . at position %1$s.", noPropertyWithName: "There is no property named '%1$s' for the data type %2$s at position %3$s.", notFuncOrRef: "'%1$s' at position %2$s is not a valid function or variable reference.", notSet: "There is no expression defined", notValidTimeZone: "Not a valid timezone ID.", expressionLengthToLong: "The text length is %1$s characters which exceeds the maximum allowed of %2$s characters.", tooManyNestedCalls: "%1$s The expression call stack is %2$s calls deep which exceeds the maximum allowed of %3$s.", notSetWithContext: "No value set for %1$s", noVariableSet: "There is no variable specified", overloadNotSupportedForLanguage: "%1$s this implementation is not supported for the language %2$s.", overrideModeTrueTooltip: "Click to reset
and use default value from
%1$s", overrideModeFalseTooltip: "Default value comes from
%1$s,
click to override", propAccessBracketNeedsStringLit: "A string literal must be used to access a property with brackets at position %1$s.", audioBlankExpressionTooLong: "The blank audio length is longer than %1$s, the recommended maximum length", promptDurationTooLong: "The audio for '%1$s (%2$s)' is longer than %3$s, the recommended maximum length", resultNote: "Note:", secureCannotBeRead: "Secure variables cannot be used here. You can use the '%1$s' action to unsecure the value from '%2$s' to a non-secure variable.", secureVariableUsageNotAllowed: "The variable '%1$s' is secure and cannot be used here.", expressionToLiteralConversionInvalidMessage: "Switching from expression to literal mode will reset the value. Do you wish to continue?", expressionExamples: "Expression Examples", ttsNotSupportedForFlowType: "%1$s text to speech is not supported in flows of type '%2$s'.", ttsNotSupportedForFlowTypes: "%1$s text to speech is not supported in flows types: %2$s.", ttsEngineNotValidForLanguage: "%1$s a valid text to speech engine is not selected for the language %2$s.", ttsNotSupportedForLanguage: "%1$s text to speech is not supported for the language %2$s.", unavailableDataTypeForFlowTypes: "The data type '%1$s' is not available in flow types: %2$s", unavailableDataType: "The data type '%1$s' requires a feature that is not available.", suggestMakeListForCollectionCreation: "Cannot convert expression from type %1$s to required type of %2$s. You can wrap the expression text in a MakeList call to create a collection of the required type.", unavailableDataTypeWithContext: "The data type '%1$s' requires a feature that is not available for '%2$s'", unavailablePropertyInExprText: "%1$s Unavailable because the property '%2$s' requires a feature that is not available.", unavailableVariableInExprText: "%1$s Unavailable because it requires a feature that is not available.", unavailableVariable: "%1$s is unavailable because it requires a feature that is not available.", variableIsReadOnly: "%1$s is read only.", variableReferenceNotValid: "The variable reference '%1$s' at position %2$s is not valid.", variableReferenceNotValidInvalidType: "%1$s The data type '%2$s' is not available in flow types: %3$s", variableTypeError: "'%1$s' cannot be used here because it is not a variable of type %2$s.", watermarkNoContextAny: "Enter expression", variables: "Variables", variableLowerCase: "variable" }, estimatedWaitTime: { about: "Approximate", aboutExample: "e.g. Your estimated wait time is about five minutes.", exact: "Precise", exactExample: "e.g. Your estimated wait time is four minutes and thirty one seconds.", lessThan: "Less Than", lessThanExample: "e.g. Your estimated wait time is less than five minutes.", range: "Padded", rangeExample: "e.g. Your estimated wait time is four to six minutes.", addSpecificInterval: "Add Specific Round Up Interval", addSpecificIntervalFirst: "Add Specific Round Up Interval", roundingIntervalPadded: "Padding", roundingInterval: "Round Up Interval", specificRoundingIntervals: "Specific Round Up Intervals", specificRoundingIntervalsDesc: "If specified, Architect will round up the estimated wait time to the smallest interval below that is greater than the estimated wait time. Otherwise, Architect will use the Round Up Interval above.", playbackMode: "Playback Mode", estimatedWaitTime: "Estimated Wait Time" }, evaluateSchedules: { evaluationDateTime: "Schedule Evaluation DateTime (UTC)", shortEvaluationDateTimeLabel: "DateTime (UTC)", evaluationType: "Evaluation Type", evaluateNow: "Current", evaluateAtDateTime: "Specific", savedVersionOfEmergencyGroup: "Flow is referencing a cached version of this emergency group. The emergency group may be out of date or deleted.", savedVersionOfSchedule: "Flow is referencing a cached version of this schedule. The schedule may be out of date or deleted.", savedVersionOfScheduleGroup: "Flow is referencing a cached version of this schedule group. The schedule group may be out of date or deleted.", schedule: "Schedule", scheduleEvaluationSettings: "Schedule Evaluation Settings", selectSchedule: "Select a schedule", scheduleNotFound: "The selected schedule '%1$s' could not be found.", mustSelectSchedule: "A schedule must be selected.", emergencyGroup: "Emergency Group", emergencyGroupDescription: "The emergency group to check before evaluating the selected schedule group. If the emergency group is enabled, the action will take the 'Emergency' output path.", selectEmergencyGroup: "Select an emergency group", emergencyGroupNotFound: "The selected emergency group '%1$s' could not be found.", mustSelectEmergencyGroup: "An emergency group must be selected.", scheduleGroup: "Schedule Group", selectScheduleGroup: "Select a schedule group", scheduleGroupNotFound: "The selected schedule group '%1$s' could not be found.", mustSelectScheduleGroup: "A schedule group must be selected.", inServiceSchedules: "Output Active Schedules", inServiceSchedulesDescription: "A list of active schedules.", timeZone: "Time Zone", selectTimeZone: "Please select a time zone", evaluationDateTimeDescription: "The base UTC DateTime used for the schedule evaluation.", timeZoneDescription: "A timezone that supplies an offset to apply to the base UTC DateTime at the time of evaluation" }, expressionsHelp: { additionalInformationTitle: "Additional Information", availability: { title: "Availability", validInAllFlows: "Valid for use in all flow types.", validInOneFlowType: "Valid for use in the %1$s type.", validInMultipleFlowTypes: "Valid for use in %1$s types." }, backToFunctions: "Back to functions", blankAudioForSipPhoneNumber: 'Note: If the supplied PhoneNumber is a "sip:" or "sips:" scheme, blank Audio will be returned.', collectionItemsTitle: "Collection Items", title: "Expression Help", columns: { nameOrSymbol: "Name / Symbol", category: "Category" }, exampleTitle: "Example", examples: { output: "Output" }, examplesTitle: "Examples", expandForLanguages: "Expand for list of supported languages", expandForSpecificRuntimeTypes: "Expand for specific runtime type handling details", function: "Function", implementationTitle: "Implementation", implementationsTitle: "Implementations", newLineInfo: "where \\n is newline", outputExampleFlowLanguageCode: "Note: This assumes the flow's current language is [%1$s]", outputExampleFlowLanguageCodeAndDisplayStr: "Note: This assumes the flow's current language is %1$s [%2$s]", noSearchMatch: "No functions or operators found for search text.", operator: "Operator", overload: { maxOperands: "The maximum total number of parameters that can be passed to this function is %1$s." }, passThroughSingletonInfo: "'%1$s' will be called at runtime for these types:", passThroughCollectionInfo: "'%1$s' will be called at runtime on each collection item for these types:", returnValue: "Return Value", parameterTitle: "Parameter", parametersTitle: "Parameters", parameters: { length: "String length", maxValue: "Maximum value", maxLength: "Maximum length", maxItems: "Maximum items", minValue: "Minimum value", minLength: "Minimum length", minItems: "Minimum items", notAllowedNotSet: "NOT_SET is not allowed", notAllowedNotSetCurrency: "NOT_SET is not allowed for either the Currency itself or the currency's Amount property", notAllowedZero: "0 is not allowed", repeatable: "This parameter can occur more than once", restrictionsRunTimeError: "Parameter values outside any stated restrictions will result in a runtime error event.", valueMustBeLiteral: "Must be a literal value.", valueMustBeLiteralDialingCode: "Must be a supported ITU-T E.164 dialing code. Valid dialing codes are available from the System.Regions variable by accessing the dialingCode property from a country.", valueMustBeLiteralISO4217: "Must be a supported ISO 4217 currency code.", valueMustBeLiteralSupportedTTSLangTag: "Must be an IETF language code where text to speech playback is supported." }, requiresClosingSymbol: "Note: This operator requires a closing '%1$s' to be valid. See examples.", search: "Search", searchFunctions: "Search functions", specificRuntimeTypes: "Types that have special handling", supportedReturnValues: { possibleGeneric: "Possible return values" }, usageRestrictions: { mustBeLastOperation: "When used in an expression, this must be the last operation specified in the expression text to be valid.", title: "Usage Restrictions" }, validLanguages: "Valid for use in these languages" }, builders: { funcOpBuilderButtonTitle: "Open builder for function at current caret", builderConfigInvalid: "Invalid builder configuration.", builderConfigInvalidWithLabel: "Invalid builder configuration for %1$s.", builderConfigWarning: "The builder configuration has one or more warnings.", builderConfigWarningWithLabel: "The builder configuration has one or more warnings for %1$s.", builderMainSequenceWillNotBeRun: "The Main Sequence will not execute at runtime.", builderPartErrorGeneric: "The builder part is in error.", builderPartInfoGeneric: "The builder part has additional information.", builderPartWarningGeneric: "The builder part has a warning.", builderPartSupportsOnePart: "Only a single part is allowed for this type of builder", builderPartSupportsMultipleParts: "Only %1$s parts are allowed for this type of builder", builderSupportedLanguageMissing: "The builder is not configured to handle the flow supported language '%1$s'.", builderSupportedLanguageMissingMoreThanOne: "The builder is not configured to handle the flow supported languages of %1$s.", containerParts: { language: { languageNotInFlowSupportedLanguages: "The language '%1$s' is not a supported language in the flow.", languageTagNotString: "The language tag is not a valid string.", languageTagNotValid: "The language tag '%1$s' is not supported by Architect.", noFlowSupportedLanguages: "There are no supported languages configured on this flow." } }, convertToExpressionMode: "Convert to Custom Expression", convertToExpressionWarning: "The generated expression will be saved but you will not be able to return to builder mode without resetting the expression.", enableMainSequence: "Enable default sequence 'Main Sequence'", enableAlternativeSequence: "Click the toggle to enable the expression builder sequence.", errorValidatingBuilder: "Internal error encountered validating builder.", errorValidatingBuilderPart: "Internal error encountered validating builder part.", generation: { noParts: "When no items are added, the following value will be used: %1$s", noPartsInSequence: "When no items are added to this sequence, the following value will be used: %1$s" }, minPartsOne: "The expression builder sequence must have at least one item added.", minPartsWarning: "The expression builder sequence should have at least one item added.", minPartsMoreThanOne: "The expression builder sequence must have at least %1$s items added.", maxPartsOne: "The expression builder sequence cannot have more than one item.", maxPartsMoreThanOne: "The expression builder sequence cannot have more than %1$s items.", noBuilderSpecified: "No expression builder specified", title: "%1$s Expression Builder - %2$s", funcOpTitleFunction: "%1$s Function Builder", funcOpTitleOperator: "%1$s Operator Builder", mainSequenceDisabled: "Main Sequence is disabled because all alternate sequences are enabled", selectLanguage: "Select Language", sequence: "Sequence", validationMessage: { withContainer: "%1$s - %2$s", withContainerAndIndex: "%1$s - Index %2$s, %3$s", withIndex: "Index %1$s, %2$s" } }, dialogEngine: { bot: "Dialog Engine Bot", botNotFound: "The selected Dialog Engine bot could not be found.", terminationStateDescription: '"%1$s" (valid for the branch "%2$s")', terminationStateDescriptionIntentOutput: '"%1$s" (can appear in intent-based branches)', dialogEngineBot: "Dialog Engine Bot", dialogEngineBotVersion: "Dialog Engine Bot Version", inputTextLabel: "Bot Input Text", inputTextDescription: "The text to send to the Dialog Engine bot.", inputTextDescriptionForChat: "The text to send to the Dialog Engine bot. This is usually only set when chaining bot actions together.", mustSelectBot: "A Dialog Engine bot must be selected.", openDialogEngineUI: "Open Dialog Engine in a new tab", savedVersionOfBot: "Flow is referencing a cached version of this Dialog Engine bot. The bot may be out of date or deleted.", selectBot: "Select Dialog Engine bot", terminationState: "Termination State" }, dialogflow: { agent: "Dialogflow Agent", agentNotFound: "The selected Dialogflow agent could not be found.", agentHasNoIntents: "The selected Dialogflow Agent has no conversation-ending intents configured.", dialogflowAgent: "Dialogflow Agent", environment: "Environment", environmentNotFound: "The selected Environment could not be found.", initialEventNameLabel: "Initial Event Name", initialEventNameDescription: "The name of the Dialogflow agent event to trigger when the session is started.", inputTextLabel: "Agent Input Text", inputTextDescription: "The text to send to the Dialogflow Agent.", inputTextDescriptionForChat: "The text to send to the Dialogflow Agent. This is usually only set when chaining bot actions together.", integrationNameLabel: "Integration Name: %1$s", intentProbabilityLabel: "Intent Probability", intentProbabilityDescription: "The confidence of the detected Dialogflow end of conversation intent. If detected, the value will range from 0.0 to 1.0. If no intent was detected, the value of the variable bound to this setting will remain untouched.", mustSelectAgent: "A Dialogflow agent must be selected.", noParameters: "There are no parameters defined for this intent.", sessionLabel: "Session Variables", sessionInputsLabel: "Inputs", sessionInputsWarning: "Input Session Variables are only used by a Dialogflow Agent when a non-blank Initial Event Name is supplied.", sessionInputLabel: "Input", noSessionInputsDefinedLabel: "No Input defined", sessionAddInputLabel: "Add Input", sessionOutputsLabel: "Outputs", sessionOutputLabel: "Output", noSessionOutputsDefinedLabel: "No Outputs defined", sessionAddOutputLabel: "Add Output", sessionKeyLabel: "Key Name %1$s", projectIdLabel: "Project ID: %1$s", savedVersionOfAgent: "Flow is referencing a cached version of this Dialogflow agent. The agent may be out of date or deleted.", selectAgent: "Select Dialogflow agent" }, dialogflowCx: { cxAgentNotFound: "The selected Dialogflow CX agent could not be found.", dialogflowCxAgent: "Dialogflow CX Agent", liveAgentHandoffMetadata: "Live Agent Handoff Metadata", mustSelectCxAgent: "A Dialogflow CX agent must be selected.", sessionParametersLabel: "Session Parameters", selectDialogflowCxAgent: "Select Dialogflow CX agent" }, endWorkflow: { exitReasonLabel: "Exit Reason" }, externalTransfer: { number: "Number", releaseLinkTransfer: "Perform release link transfer" }, externalAuths: { missingPermissionContext: "The '%1$s' permission.", overviewContext: "You do not have the necessary authorizations to access %1$s. You need:%2$s", validationContext: "You do not have the necessary authorizations to use %1$s.", thirdPersonValidationContext: "Selected user does not have the necessary authorizations to use %1$s.", agenticVirtualAgentView: { displayTitle: "Agentic Virtual Agents" }, agenticVirtualAgentVersionView: { displayTitle: "Agentic Virtual Agent Versions" }, auditView: { displayTitle: "Version History Details" }, botConnectorView: { displayTitle: "Bot Connectors" }, bridgeActionView: { displayTitle: "Bridge Action" }, contactListsView: { displayTitle: "Contact Lists" }, conversationConferenceAdd: { displayTitle: "Conversations" }, conversationCustomAttributesSchemaView: { conversationCustomAttributesSchemaViewDisplayTitle: "Conversation Custom Attributes Schemas" }, customerIntentsView: { customerIntentsViewDisplayTitle: "Customer Intents" }, customerSegmentsView: { customerSegmentsViewDisplayTitle: "Customer Segments" }, dataTablesView: { displayTitle: "Data Tables" }, decisionTablesSearch: { decisionTablesSearchDisplayTitle: "Decision Tables" }, divisionsView: { divisionsViewDisplayTitle: "Divisions" }, emergencyGroupView: { displayTitle: "Emergency Groups" }, flowLaunch: { displayTitle: "Flow Launch" }, flowView: { displayTitle: "Flows" }, flowMilestonesView: { displayTitle: "Flow Milestones" }, flowOutcomesView: { displayTitle: "Flow Outcomes" }, grammarView: { displayTitle: "Grammars" }, guideView: { displayTitle: "Guides" }, guideVersionView: { displayTitle: "Guide Versions" }, integrationsActionView: { displayTitle: "Data Actions" }, integrationView: { displayTitle: "Integrations" }, knowledgeBaseView: { knowledgeBaseViewDisplayTitle: "Knowledge Base" }, knowledgeBaseDocumentView: { knowledgeBaseDocumentViewDisplayTitle: "Knowledge Base Document" }, languageSkillsView: { displayTitle: "Language Skills" }, messagingIntegrationView: { messagingIntegrationViewDisplayTitle: "Messaging Integration" }, nluView: { displayTitle: "NLU" }, oAuthClientView: { oAuthClientViewDisplayTitle: "OAuth Client" }, responseAssetAdd: { displayTitle: "Response Assets Add" }, responseAssetView: { displayTitle: "Response Assets" }, responseLibraryView: { displayTitle: "Response Library" }, responseView: { displayTitle: "Responses" }, schedulesView: { displayTitle: "Schedules" }, smsPhoneNumberView: { smsPhoneNumberViewDisplayTitle: "SMS Phone Numbers" }, surveyFormView: { displayTitle: "Survey Form" }, scheduleGroupView: { displayTitle: "Schedule Groups" }, scriptsView: { displayTitle: "Scripts" }, queuesView: { displayTitle: "Queues" }, utilizationLabelView: { utilizationLabelViewDisplayTitle: "Utilization Labels" }, voicemailReceive: { displayTitle: "Voicemail" }, wrapupCodesView: { displayTitle: "Wrapup Codes" }, promptsUserView: { displayTitle: "User Prompts" }, promptsSystemView: { displayTitle: "System Prompts" }, processAutomationTriggerView: { displayTitle: "Triggers" }, worktypesView: { displayTitle: "Worktypes" } }, facets: { incorrectType: "The value has a type of %1$s when it should be of type %2$s", nothingToValidate: "Unable to determine a value to validate.", valueIsBlank: "The value is blank.", valueNotInAllowableListOne: "The value must be %1$s", valueNotInAllowableListMoreThanOne: "The value must be either %1$s", valueNotInAllowableListGeneral: "The value is not in the allowable values list", valueCannotBeNotSet: "The value cannot be NOT_SET", valueCannotBeNull: "The value cannot be null", valueMustBeGreaterThan: "The value %1$s must be greater than %2$s.", valueMustBeGreaterThanOrEqualTo: "The value %1$s must be greater than or equal to %2$s.", valueStringMaxLength: "The value cannot contain more than %1$s characters.", valueStringMinLengthOne: "You must specify a value.", valueStringMinLengthOneNonFriendly: "The value must contain at least 1 character.", valueShouldBeNoValue: "You must specify a value or change mode to no value.", valueShouldBeUseFlowDefault: "You must specify a value or change mode to use flow default.", valueStringMinLengthTwoOrMore: "The value must contain at least %1$s characters.", valueMustBeLessThan: "The value %1$s must be less than %2$s.", valueMustBeLessThanOrEqualTo: "The value %1$s must be less than or equal to %2$s.", valueMustBeExactly: "The value must be %1$s characters.", valueUsesInvalidCharacterWarning: "Usage of the '%1$s' character is not recommended." }, features: { missingFeatureError: "The '%1$s' action is not available in a '%2$s'", missingFeatureErrorExpression: "The setting '%1$s' requires a feature that is not available." }, findActions: { bulkFind: { bulkFindMaxItemProcessingNote: "Note: Only items up the maximum item count of %1$s will be processed. The rest will be returned as NOT_SET in the returned collection." }, findDivision: { findDivisionNameLabel: "Division Name", findDivisionsNameLabel: "Division Names", findDivisionResultLabel: "Division Result", findDivisionsResultLabel: "Division Results" }, findEmergencyGroup: { findEmergencyGroupNameLabel: "Emergency Group Name", findEmergencyGroupResultLabel: "Emergency Group Result" }, findGrammar: { findGrammarIdLabel: "Grammar ID", findGrammarNameLabel: "Grammar Name", findGrammarResultLabel: "Grammar Result" }, findGroup: { nameLabel: "Group Name", resultLabel: "Group Result" }, getJourneySegment: { idLabel: "Journey Segment ID", resultLabel: "Journey Segment Result" }, getJourneySession: { idLabel: "Journey Session ID", resultLabel: "Journey Session Result" }, getJourneySessionsByCustomer: { idLabel: "Customer ID", idTypeLabel: "Customer ID Type", resultsLabel: "Journey Sessions Result" }, getJourneySessionsByExternalContact: { idLabel: "External Contact ID", resultsLabel: "Journey Sessions Result" }, getJourneyOutcome: { idLabel: "Journey Outcome ID", resultLabel: "Journey Outcome Result" }, getJourneyOutcomeScoresBySession: { idLabel: "Journey Session ID", resultsLabel: "Journey Outcome Score Results" }, findKnowledgeBaseDocument: { findKnowledgeBaseDocumentIdLabel: "KnowledgeBaseDocument ID", findKnowledgeBaseDocumentNameLabel: "KnowledgeBaseDocument Name", findKnowledgeBaseDocumentResultLabel: "KnowledgeBaseDocument Result" }, findLanguageSkill: { nameLabel: "Language Skill Name", resultLabel: "Language Skill Result" }, findQueue: { nameLabel: "Queue Name", idLabel: "Queue ID", resultLabel: "Queue Result" }, findSchedule: { findScheduleNameLabel: "Schedule Name", findScheduleResultLabel: "Schedule Result" }, findScheduleGroup: { findScheduleGroupNameLabel: "Schedule Group Name", findScheduleGroupResultLabel: "Schedule Group Result" }, findSkill: { nameLabel: "Skill Name", resultLabel: "Skill Result" }, findSystemPrompt: { nameLabel: "System Prompt Name", resultLabel: "System Prompt Result" }, findUserPrompt: { nameLabel: "User Prompt Name", resultLabel: "User Prompt Result" }, findUser: { nameLabel: "User Email", idLabel: "User ID", idsLabel: "User IDs", idsDescription: "Note: only items up the maximum item count will be processed. The rest will be returned as not found.", resultLabel: "User Result", resultsLabel: "User Results" }, findUtilizationLabel: { nameLabel: "Utilization Label Name", resultLabel: "Utilization Label Result" } }, flow: { createFailed: "Failed to create the flow.", editFailed: "Failed to update flow.", loadFailed: "Failed to load the flow.", flowOptions: "Flow options", idOptions: "ID Options", publishOptions: "Publish options", flow: "Flow", commands: { add: { text: "Add", tooltip: "Add new flow" }, checkIn: { text: "Check in Version %1$s", tooltip: "Saves and checks in Version %1$s" }, create: { tooltip: "Create New Flow" }, discardChanges: { text: "Discard Unsaved Changes", confirmationText: "Are you sure you want to discard unsaved changes?", tooltip: "Discards changes made to this flow since the last save" }, edit: { editButtonTooltipLabel: "Edit the flow" }, export: { text: "Export", textExportAs: "Export as %1$s", tooltip: "Export flow configuration to a file", warningExportFailed: "Failed to export flow" }, exportYaml: { text: "Export as .yaml", tooltip: "Export flow configuration in YAML format" }, flowFilterPreview: "Flow View Filter", goto: { text: "Go To...", tooltip: "Jump to an action, menu or task" }, import: { text: "Import", tooltip: "Import flow configuration from a flow export file" }, modifyIntents: { text: "Modify Intents", tooltip: "Modify bot intents, slots and utterances it will recognize" }, moreActions: { tooltip: "More Actions" }, open: { text: "Open", tooltip: "Open the selected flow" }, print: { text: "Print", tooltip: "Generate a printout of the flow" }, publish: { text: "Publish Version %1$s", title: "Publish", tooltip: "Publish the flow" }, publishDebug: { text: "Debug", tooltip: "Enable debug for the current flow", flowDebugDisabledOne: "Debugging is disabled because it is not supported for the flow supported language of %1$s.", flowDebugDisabledMoreThanOne: "Debugging is disabled because it is not supported for the flow supported languages of %1$s." }, remove: { deleteOverlayMultiple: "Deleting flows", deleteOverlaySingular: "Deleting flow", deleteSuccessOverlay: "Delete successful", text: "Delete", title: "Delete Flow", titleCannotDeleteInQueueFlows: "Cannot Delete In-Queue Call Flows", titleRevertInQueue: "Revert In-Queue Call Flow", titleRevertDefaultVoicemailFlow: "Revert Voicemail Flow", titleMultiple: "Delete Flows", tooltip: "Delete the selected flow(s)", warning: 'Are you sure you want to delete the selected flow named "%1$s"?', warningDeleteInQueueFlowsDependency: "The following in-queue call flows are currently being referenced by one or more queues and cannot be deleted.", warningRevertInQueue: "Do you want to delete all customizations to the default In-Queue Flow and go back to version 1?", warningRevertDefaultVoicemailFlow: "Do you want to delete all customizations to the default Voicemail Flow and go back to version 1?", warningMultiple: "Are you sure you want to delete the %1$s selected flows?" }, refresh: { text: "Refresh", tooltip: "Refresh the list of flows" }, revert: { text: "Revert to Version %1$s", tooltip: "Delete the latest saved version of the flow" }, renumber: { renumberFailed: "Unable to renumber the action, menu and task IDs.", renumberFlow: "Renumber Flow", text: "Renumber", tooltip: "Renumber the IDs set on actions, menus and tasks", warning: "Renumbering action, menu and task IDs will no longer guarantee ID consistency with previous versions of this flow.

Do you wish to continue?" }, save: { text: "Save", tooltip: "Save the flow" }, showHideIdentifiers: { tooltip: "Show or hide action, menu, task and state IDs" }, saveAs: { text: "Save As...", tooltip: "Save the current changes as a new flow" }, unlock: { progressSingle: "Unlocking one flow", progressMultiple: "Unlocking %1$s flows", text: "Unlock", title: "Unlock Flow", titleMultiple: "Unlock Flows", tooltip: "Unlock the currently selected flows", confirmSingle: "Are you sure you want to unlock the selected flow? %1$s", confirmMultiple: "Are you sure you want to unlock the selected flows? %1$s", performsCheckInInfo: "When unlocking a flow, the currently saved configuration will be checked in as a new version.", unlockFailed: "Unlock failed" }, unpublish: { text: "Unpublish", tooltip: "Deactivates the currently published version of the flow" }, validate: { text: "Validate", tooltip: "Check the flow for any errors" }, versions: { text: "Versions", tooltip: "View the version history of the flow" } }, exportFlowModal: { exportFlowModalUserActionTooltip: "Opens the export flow modal to choose file format and export options", exportFlowAsAFileForDownload: "Export the selected flow\u2019s configuration as a file for download.", exportFlowFileGeneratedOnConfirmation: "When you confirm, Architect generates the file so you can store, share, or reuse the flow outside of Architect", includeTrackingIdsLabel: "Include tracking ID details", includeTrackingIdsTooltip: "When enabled, tracking IDs are included in the exported YAML file." }, filter: { all: "All", clearFilter: "Clear Filter", divisionPlaceHolder: "Select a Division", editable: "Open for Edit", flowFilterOptionsDivisionTooltip: "Flow division filter options", flowFilterOptionsLockedTooltip: "Flow locked filter options", flowFilterOptionsPublishedTooltip: "Flow published filter options", locked: "Locked", published: "Published", unpublished: "Unpublished", lockedByCurrentUser: "Locked by Current User" }, goto: { noItemSelected: "No item selected. Please select an item to go to.", title: "Go To", selectAnItem: "Select an item to go to", goToResource: "Go to %1$s" }, gridColumns: { division: "Division", name: "Name", locked: "Locked", checkedIn: "Checked In", published: "Published", consumers: "Consumers" }, noChangesTitle: "No changes", noChangesMessage: "There are no unsaved changes in the current flow.", noDefaultLanguage: "There is no default language configured in the current flow.", noStartUpObject: "There is no startup object configured in the current flow.", notLocked: { exportMessage: "It is strongly recommended to export your flow to avoid the possibility of losing unsaved changes. The flow will remain open and editable until you navigate away from the flow.", lockMessage: "This flow is no longer locked by you. You cannot save or publish until you obtain the lock again.", lockMessageForSystem: "You cannot delete version 1.0 of a system flow.", lockDeleteMessageSingle: "You cannot delete a flow that is locked by another user.", lockDeleteMessageMultiple: "You cannot delete flows that are locked by another user.", unlockedMessageSingle: "You cannot unlock a flow that is not locked.", unlockedMessageMultiple: "You cannot unlock flows that are not locked.", title: "Lost flow lock" }, operations: { enableFlowDebugFailure: "Enable debug failed", enableFlowDebugMessage: "Enabling debug...", enableFlowDebugSuccess: "Debug enabled", enableFlowDebugSuccessMessage: "You may now debug the flow by calling this address in Genesys Cloud:

%1$s@localhost

when logged in to the current organization.", enableFlowDebugSuccessMessageWithOrgName: "You may now debug the flow by calling this address in Genesys Cloud:

%1$s@localhost

when logged in to the '%2$s' organization.", enableFlowDebugSuccessTitle: "Debug Enabled", discardChangesMessage: "Discarding changes...", exportMessage: "Exporting...", importMessage: "Importing...", publishFailure: "Publish failed", publishMessage: "Publishing...", publishSuccess: "Published", revertFailure: "Revert failed", revertMessage: "Reverting...", revertSuccess: "Reverted", refreshFailure: "Failed to load the flows", refreshSuccessNoFlows: "There are no flows", refreshSuccessNoFlowsFilter: "There are no flows to show with the current column filters", refreshSuccessNoResults: "There were no flows found", refreshMessage: "Loading Flows...", saveFailure: "Save failed", saveMessage: "Saving...", saveSuccess: "Saved", unpublishFailure: "Unpublish failed", unpublishMessage: "Unpublishing...", unpublishSuccess: "Unpublished", validateMessage: "Validating...", validatedMessage: "Validated", load: { deleteOrRecreate: "You can delete the flow or re-create it as a new flow.", failure: "Failed to load the flow", latestConfigNotFoundButton: "Unlock and Check Out flow", latestConfigNotFoundCannotUnlock: "The latest saved flow configuration was not found. Performing an Unlock and a Check Out operation on the flow can resolve the issue, but you do not have necessary permissions to unlock the flow. Please try again once your user has the \u2018architect:flow:unlock' permission in the flow\u2019s division.", latestConfigNotFoundError: "There was an error performing an Unlock and a Check Out operation on the flow.", latestConfigNotFoundTitle: "Saved configuration not found", latestConfigNotFoundText: "The latest saved flow configuration was not found. Click below to perform an Unlock and a Check Out operation on the flow, which will load the last checked-in version.", noConfig: "'%1$s' has no flow configuration.", cannotOpenNoFlowConfig: "'%1$s' cannot be opened because there is no flow configuration to load.", cannotOpenFlowDeleted: "'%1$s' cannot be opened because it was deleted before being checked in.", noConfigTitle: "No flow configuration", reloadDefaultButton: "Recreate", requestFailed: "The request for the flow's configuration has failed", serverFailureMessage: "The flow is not the correct type for this system.", typeFailureMessage: "The selected flow to be imported is not the correct type of %1$s.", versionFailureMessage: "Can not load a flow created by a newer version of the designer.", flowSchemaMisMatchErrorPrefix: "The variable definition in the flow is incompatible with the variable definition in the import. %1$s", importFailed: "Flow Import Failed", importSupportedLanguageMismatch: "The import operation succeeded. Because flows of type '%1$s' cannot change supported languages, the currently configured language of '%2$s' was not changed to the import file's supported language of '%3$s'.", importFailedWorktypeMismatch: "The import operation failed because the Worktype '%1$s' referenced in the import file does not match the Worktype '%2$s' that the flow was created with.", importFailedWorktypeMismatchNoName: "The import operation failed because the Worktype referenced in the import file does not match the Worktype that the flow was created with." }, publishFlowDebugFailure: "Publishing debug version failed", publishFlowDebugMessage: "Publishing debug version...", publishFlowDebugSuccess: "Debug version published" }, outputMode: { label: "Output Mode", labelAndValue: "Output Mode: %1$s", selectOne: "Select an output mode" }, template: { label: "Template" }, types: { bot: "Bot Flow", commonModule: "Common Module Flow", digitalBotFlow: "Digital Bot Flow", guide: "Guide", inboundEmail: "Inbound Email Flow", inboundCall: "Inbound Call Flow", inboundChat: "Inbound Chat Flow", inboundShortMessage: "Inbound Message Flow", outboundCall: "Outbound Call Flow", inQueueCall: "In-Queue Call Flow", inQueueEmail: "In-Queue Email Flow", inQueueShortMessage: "In-Queue Message Flow", secureCall: "Secure Call Flow", surveyInvite: "Survey Invite Flow", surveyInviteWebPrefix: "Web Survey Invite Flow", voiceFlow: "Voice Flow", voicemailFlow: "Voicemail Flow", voiceSurveyFlow: "Voice Survey Flow", workflow: "Workflow", workItem: "Workitem Flow" }, tooLargeToPublish: "The flow is too large and cannot be published.", tooLarge: "The flow is too large and cannot be saved.", sizeRestriction: "Size Restriction", flowSizeNodeTitle: "Flow Size", flowSizeNodeSearchWatermark: "Search name", flowSize: "Flow Size:", flowSizePercentOfMaxFlow: "% of Max Flow Size", flowSizeWarningWithPercentage: "%1$s - %2$s%%", flowSizeWarningLow: "Low", flowSizeWarningMedium: "Medium", flowSizeWarningHigh: "High", flowSizeWarningVeryHigh: "Full", unknownUser: "Unknown User", unknownClient: "Unknown Client", unknownClientNumber: "Unknown Client %1$s", unknownDivision: "Unknown Division", unknownUserNumber: "Unknown User %1$s", nluEngineDoesNotSupportMultilingual: "This flow does not support adding additional supported languages. To add an additional supported language, use the 'Save As' menu to create a new flow and add additional languages to the new newly created flow. Once published, remember to update callers of the current flow to call the new flow." }, languages: { targetFlowSupportedLanguageNotSupportedInCallingFlow: "The flow '%2$s' supports the language %1$s which is not a supported language of this flow. To be usable, this language needs to be added as supported language to this flow.", targetFlowSupportedLanguageNotSupportedInCallingFlowMoreThanOne: "The flow '%2$s' supports the languages %1$s which are not supported languages of this flow. To be usable, these languages need to be added as supported languages to this flow.", flowRunsInDefaultLanguageIfInvokedWithUnsupportedLanguage: "If this flow is running in a language not supported in the '%1$s' flow when invoking it, the flow will start up in its default supported language of %2$s.", flowSupportedLanguageNotSupportedInTargetFlow: "This flow supports the language %1$s which is not a supported language on the flow '%2$s'.", flowSupportedLanguageNotSupportedInTargetFlowMoreThanOne: "This flow supports the languages %1$s which are not supported languages on the flow '%2$s'." }, flowOutcomes: { createFlowMilestoneTitle: "Create Flow Milestone", createFlowOutcomeTitle: "Create Flow Outcome", failure: "Failure", flowOutcome: "Flow Outcome", flowMilestone: "Flow Milestone", flowMilestoneNotFound: "The selected flow milestone could not be found.", flowOutcomeNotFound: "The selected flow outcome could not be found.", mustSelectFlowMilestone: "A flow milestone must be selected.", mustSelectFlowOutcome: "A flow outcome must be selected.", selectFlowMilestone: "Select Flow Milestone", selectFlowOutcome: "Select Flow Outcome", success: "Success" }, form: { formActionDatePicker: "Date Picker", formActionInput: "Input", formActionLibrary: "Library", formActionLibraryDescription: "The selected response library is only validated when a form is selected.", formResponseLibraryDoesNotContainForm: "The selected response library does not contain the selected form.", formNoResponseLibrariesContainForm: "There are no response libraries that contain the selected form.", formActionListPickerMultiSelect: "List Picker - Multiselect", formActionListPickerSingle: "List Picker - Single", formActionMustSelectForm: "A form must be selected.", formActionMustSelectLibrary: "A library must be selected.", formActionSelectLibrary: "Select a library", formChannelNote: "Form is only available for Apple Messages for Business. Using it on other channels will take the failure path.", formChannelNoteWithWebMessaging: "Form is only available for Apple Messages for Business and Genesys Web Messaging. Using it on other channels will take the failure path.", formCompletionTimeout: "Form Completion Timeout", formCompletionTimeoutDescription: "Once the form has been sent, this is the maximum length of time to wait for the participant to complete the form. If the form is not completed within this time then a No Input event will be triggered.", formLabel: "Form", formNotFound: "The selected form could not be found.", formPages: "Form Pages", selectForm: "Select a form" }, messagingTemplate: { messagingTemplateTypeLabel: "Message Template Type", messagingTemplateTypeDescription: "In Canned Response details, Standard corresponds to a Message Template and Carousel corresponds to a Media Carousel.", messagingTemplateActionLibraryDescription: "The selected response library is only validated when a message template is selected.", messagingTemplateActionMustSelectMessagingTemplate: "A message template must be selected.", messagingTemplateChannelNote: "Send Digital Content is only available for WhatsApp.", messagingTemplateLabel: "Message Template", messagingTemplateNoResponseLibrariesContainMessagingTemplate: "There are no response libraries that contain the selected message template.", messagingTemplateNotFound: "The selected message template could not be found.", messagingTemplateResponseLibraryDoesNotContainMessagingTemplate: "The selected response library does not contain the selected message template.", messagingTemplateSelectionResultDescription: "The variable that holds the value of the button chosen by the participant. If no choice is selected by the participant, the variable value will be left alone.", openMessagingTemplateInNewTab: "View Message Template", selectMessagingTemplate: "Select a message template" }, generic: { accessibility: "Accessibility", actionNeeded: "Action needed", aiPowered: "AI Powered", answerLabelCapitalized: "ANSWER", apply: "Apply", branches: { active: "Active", canceled: "Canceled", closed: "Closed", emergency: "Emergency", event: "Event", error: "Error", failure: "Failure", found: "Found", holiday: "Holiday", inactive: "Inactive", knowledgeDialogEngine: "Knowledge", matchExact: "Exact Match", matchMultiple: "Multiple", maxNoInputsBranch: "Max No Inputs", maxNoMatchesBranch: "Max No Matches", noEvent: "No Event", noIntent: "No Intent", noInputBranch: "No Input", notFound: "Not Found", open: "Open", partiallyFound: "Partially Found", processed: "Processed", skipResponse: "Skip Response", skipResponseCapture: "Skip Response Capture", success: "Success", timeout: "Timeout", valid: "Valid", invalid: "Invalid", loopsMax: "Max Loops", loopNext: "Next Loop", faxProcessed: "Fax Processed", voicemail: "Voicemail" }, browse: "Browse", backToOriginalTopic: "Back to Original Topic", cancel: "Cancel", changes: "Changes", confirm: "Confirm", condition: "Condition", confirmDeleteMessage: "Are you sure you want to delete this item?", containsErrors: "Contains errors", containsWarnings: "Contains warnings", continue: "Continue", clear: "Clear", clearAll: "Clear All", clickForHelp: "Click to view help.", clickToEditName: "Click to edit name", close: "Close", contactSupportIfKeepsHappening: "If this keeps happening, contact Support.", create: "Create", currentUser: "Current User", currentVersion: "Currently Referenced Version", dataType: "Data Type", dataTypes: "Data Types", default: "Default", delete: "Delete", deleteThisItem: "Delete this item", disabledDiscourageForNewUse: "Disabled \u2014 discouraged for new use.", divisions: "Divisions", done: "Done", description: "Description", digitalAudio: "Digital Audio", earlyPreview: "Early Preview", languageStatusPreviewTooltip: "This language is a preview release, the language model will improve over time with changes and further support.", edit: "Edit", editor: "Editor", enterText: "< put text here >", errorLabelCapitalized: "ERROR", exportFlow: "Export Flow", emptyPage: "This page is now empty. Navigate to a previous page.", enableDarkMode: "Enable Dark Mode", enableLightMode: "Enable Light Mode", errors: { errorCodeDescription: "A code that identifies the failure reason.", errorCodeExamplesTitle: "Example Error Code Values", errorFileRead: "There was an error reading the file." }, expandCardCardTooltip: "Hold shift to expand multiple cards", expressions: "Expressions", facebook: "Facebook", fileSizeWithValue: "File Size: %1$s", finished: "Finished", flowSetting: "Flow Setting", format: "Format", generating: "Generating...", genericOff: "Off", genericOn: "On", identifier: "Identifier", inferredPrompts: "Prompts used by this action", inputLabelCapitalized: "INPUT", isCollection: "Is Collection", itemLabel: "Item %1$s", items: "Items", joinTwoSentences: "%1$s %2$s", joinThreeSentences: "%1$s %2$s %3$s", keyHyphenValue: "%1$s - %2$s", keyBracketValue: "%1$s [%2$s]", launch: "Launch", loadMore: "Load more...", loading: "Loading...", loaded: "Loaded", maxFileSize: "Maximum file size is %1$s.", message: "Message", move: "Move", moveDown: "Move down", moveToBottom: "Move to bottom", moveToNewSection: "Move to new section", moveTo: "Move to", moveToTop: "Move to top", moveUp: "Move up", name: "Name", namespace: "Namespace", nameAndValue: "Name: %1$s", nameWatermark: "Enter a name", no: "No", noFieldsFound: "No fields found", notNatively: "Not Natively", note: "Note:", notifications: { clickForInfo: "Click this notification for more information." }, numberWithPercent: "%1$s%%", okDontUseThis: "OK", openDropdown: "Open Dropdown", openItem: "Open Item", optional: "Optional", options: "options", other: "Other", overview: "Overview", outputLabelCapitalized: "OUTPUT", patch: "Patch", performingOperation: "Performing Operation", permissions: { allDivisions: "All Divisions", divisionHeader: "Division", divisionHeaderMoreThanOne: "Divisions", missingPermission: "You do not have the permission '%1$s'.", missingPermissionWithDivision: "You do not have permission '%1$s' in division '%2$s' to perform this action.", permissionRestriction: "Permission Restriction", error: "An error has occurred while processing permissions", hiddenFlowCount: "Hidden flow count: %s", missing: { dependencyTracking: { rebuild: "You do not have permission to initiate a dependency rebuild.", view: "You do not have permission to view dependency tracking." }, conversation: { conference: { add: "You do not have permission to make calls." } }, copilot: { session: "You do not have permission to view this session.", message: { view: "You do not have permission to view messages.", send: "You do not have permission to send messages." } }, flow: { allPermissions: { add: "You do not have permission to add flows.", delete: "You do not have permission to delete flows.", edit: "You do not have permission to edit flows.", launch: "You do not have permission to launch flows.", publish: "You do not have permission to publish flows.", search: "You do not have permission to search flows.", unlock: "You do not have permission to unlock flows.", view: "You do not have permission to view flows." }, flowMilestones: { noPermissionToAddFlowMilestone: "You do not have permission to add flow milestones.", add: "You do not have permission to add flow milestones. You need the architect:flowMilestone:add permission in at least one division in the organization to add a flow milestone.", search: "You need the architect:flowMilestone:search permission in at least one division in the organization to add a flow milestone." }, noSpecificDivision: { view: "You do not have permission to view this flow." }, flowOutcomes: { noPermissionToAddFlowOutcome: "You do not have permission to add flow outcomes.", add: "You do not have permission to add flow outcomes. You need the architect:flowOutcome:add permission in at least one division in the organization to add a flow outcome.", search: "You need the architect:flowOutcome:search permission in at least one division in the organization to add a flow outcome." }, specificDivision: { deleteSingle: "You do not have the flow delete permission in the division of the following flow:", deleteMultiple: "You do not have the flow delete permission in the divisions of the following flows:", unlockSingle: "You do not have the flow unlock permission in the division of the following flow:", unlockMultiple: "You do not have the flow unlock permission in the divisions of the following flows:" } }, journey: { actionmap: { journeyActionmapView: "You do not have permission to view action maps." }, flowpaths: { journeyFlowsView: "You do not have permission to view Journey Flows." } }, prompts: { systemPrompts: { edit: "You do not have permission to edit system prompts.", view: "You do not have permission to view system prompts." }, userPrompts: { add: "You do not have permission to add user prompts.", delete: "You do not have permission to delete user prompts.", edit: "You do not have permission to edit user prompts.", import: "You do not have permission to view, add, and edit user prompts and view and edit system prompts.", view: "You do not have permission to view user prompts." } }, recording: { retentionPolicy: { recordingRetentionPolicyView: "You do not have permission to view Quality Policies" } }, responseAssets: { asset: { responseAssetMissingPermissionAdd: "You do not have permission to add response assets. You need the '%1$s' permission in at least one division in your organization to do so.", responseAssetMissingPermissionView: "You do not have permission to view response assets. You need the '%1$s' permission in at least one division in your organization to do so." } }, grammars: { grammarsMissingPermissionAdd: "You do not have permission to add grammars.", grammarsMissingPermissionDelete: "You do not have permission to delete grammars.", grammarsMissingPermissionEdit: "You do not have permission to edit grammars.", grammarsMissingPermissionView: "You do not have permission to view grammars." }, taskManagementWorkitems: { workItemsMissingPermissionView: "You do not have permission to view Workitems." } } }, pickOneToSend: "Pick one to send.", pleaseNote: "Please Note", pleaseWait: "Please wait...", preferences: "Preferences", preview: "Preview", product: { couldNotLoadProductError: "'%1$s' could not load.", loadingProduct: "Loading '%1$s'...", weCouldNotLoadProductError: "We could not load '%1$s'." }, queryLabelCapitalized: "QUERY", rawValue: "Raw Value", readonly: "This is read only.", recording: "Recording", refresh: "Refresh", remove: "Remove", reorder: "Reorder", reset: "Reset", restricted: "Restricted", ruleLabel: "Rule", save: "Save", searchDataTypes: "Search data types...", searchTerm: "Search Term", section: "Section", sections: "Sections", seeResourceCenter: { flowsCallingFlows: "Learn more about flows calling flows in our {{link.__FLOWS_CALLING_FLOWS__, Resource Center}}.", generic: "For more information, see the {{link.__RESOURCE_URL__, Resource Center}}.", pricingAndSupportedLanguages: "For more information about pricing and supported languages, see the {{link.__RESOURCE_URL__, Resource Center}} documentation." }, selectAll: "Select All", selectFile: "Select file", selectMulti: "Multi-select", selectSingle: "Single select", sentenceWithPeriod: "%1$s.", setDescription: "Set description...", showAllErrors: "Show all errors", showAllWarnings: "Show all warnings", showAllFields: "Show all fields", showInformation: "Show Information", sizeBytes: "%1$sb", sizeMegabytes: "%1$sMB", start: "Start", stop: "Stop", stopping: "Stopping...", switch: "Switch", sessionSourcesNote: "This property is only supported in %1$s conversations. This is true when the Session.Source variable value equals %2$s at flow runtime.", sessionSourcesNoteForLabel: "%1$s is only supported in %2$s conversations.", sessionSourcesConditionNote: "This is true when the Session.Source variable value equals %1$s at flow runtime.", yes: "Yes", tasks: "Tasks", textWithSingleQuotes: "'%1$s'", thisActionCantBeUndone: "This action can't be undone.", time: "Time", truncatedText: "%1$s...", tryAgainWithPeriod: "Try again.", type: "Type", types: "Types", selectAtLeastOne: "select at least one", unknown: "Unknown", update: "Update", upload: "Upload", urlFormat: "The URL string must conform to a valid URL format, for example, https://www.example.com.", usages: "Usages", usingOnOtherChannelsFailurePath: "Using it on other channels will take the failure path.", validation: "Validation", value: "Value", version: "Version", versionNumber: "Version %1$s", view: "View", video: "Video", whatsApp: "WhatsApp", zoomToFit: "Zoom to Fit", zoomToFitWidth: "Zoom to Fit Width", zoomToFitHeight: "Zoom to Fit Height" }, getAttributes: { addAttributeLabel: "Add attribute to retrieve", noAttributesError: "There are no attributes defined", variableLabel: "Variable to Assign %1$s" }, getConversationData: { conversationDescription: "The conversation ID to get participant data from.", conversationLabel: "Conversation ID", participantDescription: "If supplied, the participant data of the specified participant is used. In most cases, this can remain unspecified or NOT_SET and the customer/external participant will be used.", participantLabel: "Participant ID" }, commonExternalContact: { nameLabel: "External Contact ID", externalContactResult: "External Contact Result" }, updateExternalContact: { conditionUpdateIfExists: "Update If Exists", conditionUpdateIfEmpty: "Update If Empty", conditionAppendToCollection: "Append To Collection", conditionRemoveFromCollection: "Remove From Collection", conditionUpdateDescription: "Always update the field.", conditionUpdateIfExistsDescription: "Update if and only if the existing value is not empty.", conditionUpdateIfEmptyDescription: "Update if and only if the current value is empty.", conditionRemoveDescription: "Always remove the current value.", conditionAppendToCollectionDescription: "Add new items to a collection, preserving existing data.", conditionRemoveFromCollectionDescription: "Remove the specified value from a collection.", externalContactFields: "External Contact Fields", externalContactMaxChangesExceeded: "This action has %1$s changes which exceeds the maximum allowed of %2$s." }, assignedCustomerIntents: { assignedCustomerIntentsLabel: "External Contact ID", assignedCustomerIntentsResult: "Customer Intents Result" }, assignedCustomerSegments: { externalContactIdLabel: "External Contact ID", externalContactIdDescription: "Enter the External Contact ID to retrieve their assigned Customer Segments.", segmentsToCheckLabel: "Customer Segments Returned", segmentsToCheckDescription: "The optional filter for assigned Customer Segments. If NOT_SET, the latest assigned Customer Segments are returned (up to 25). To filter results to include specific assigned Customer Segments, select up to 5 Customer Segments.", segmentsToCheckNoValueLabel: "Latest assigned segments (up to 25)", noSegmentsSelected: "No Segments Selected", segmentDuplicateError: "Segments must be unique", segmentDeletedError: "Segment '%s' could not be found. It may have been deleted.", assignedCustomerSegmentsResultLabel: "Customer Segments Result", assignedCustomerSegmentsResultDescription: "Variable that stores the returned Customer Segments." }, assignCustomerSegment: { externalContactIdDescription: "The ID of the External Contact to assign the Customer Segment to.", customerSegmentDescription: "Customer Segment to assign." }, customerIntent: { customerIntentLabel: "Customer Intent" }, customerSegment: { customerSegmentLabel: "Customer Segment", customerSegmentPlaceholder: "Select a customer segment", customerSegmentItemDescription: "Filter results to include the selected Customer Segment.", conversion: { customerSegmentConvertExpressionToLiteralTitle: "Convert to Literal", customerSegmentConvertLiteralToExpressionTitle: "Convert to Expression", customerSegmentConvertLiteralToExpressionMessage: "Switching from literal to expression mode will clear the configured Customer Segment data. Do you wish to continue?" } }, getEmailHeaders: { emailHeaderNamesDescription: "The optional String Collection of Email Header Names. If NOT_SET or empty then all headers will be returned.", emailHeaderNamesLabel: "Email Header Names", emailHeaderNamesNoValueLabel: "All Email Headers", emailHeadersResultDescription: "The Email Headers value that is processed at flow runtime.", emailHeadersResultLabel: "Email Headers Result", noEmailHeaderNames: "No Email Header Names" }, getExternalOrganization: { nameLabel: "External Organization ID", externalOrganizationResult: "External Organization Result" }, getResponse: { library: "Library", noResponsesFound: "There are no responses in the selected library.", mustSelectLibrary: "A library must be selected.", mustSelectResponse: "A response must be selected.", noResponseLibrariesContainResponse: "There are no response libraries that contain the selected response.", performSubstitutions: "Perform Substitutions", response: "Response", responseBody: "Output Response Body", responseBodyDescription: "The html text of the response.", responseBodyHandlingDescription: "Determines how formatting contained in the '%1$s' canned response output String variable is processed at flow runtime. If this setting value at flow runtime evaluates to a value other than one of the allowable values, 'convertToMarkdown' will be used.", responseBodyHandlingLabel: "Response Body Handling", responseLibraryDoesNotContainResponse: "The selected response library does not contain the selected response.", responseLibraryIsInvalid: "The response library '%1$s' is invalid.", responseLibraryNotFound: "The selected response library could not be found.", responseNotFound: "The selected response could not be found.", savedVersionOfResponse: "Flow is referencing a cached version of this response. The response may be out of date or deleted.", selectLibrary: "Select a library", selectedResponse: "Selected Response", selectResponse: "Select a response", suggestedLibraryOne: "Library suggestion", suggestedLibraryMoreThanOne: "Library suggestions", substitutions: "Substitutions", noSubstitutions: "No substitutions available" }, getSIPHeaders: { rawSIPHeadersResultLabel: "Raw SIP Headers Result", rawSIPHeadersResultDescription: "The Raw SIP Headers value that is processed at flow runtime.", sipHeadersResultLabel: "SIP Headers Result", sipHeadersResultDescription: "The SIP Headers value that is processed at flow runtime.", sipHeaderNamesLabel: "SIP Header Names", sipHeaderNamesDescription: "The optional String Collection of SIP Header Names. If NOT_SET or empty then all headers will be returned.", sipHeaderNamesNoValueLabel: "All SIP Headers", noSipHeaderNames: "No SIP Header Names" }, group: { label: "Group", groupLabelPlural: "Groups", placeholder: "Select a group", noExtError: "No phone number found for the selected group. Transfers will fail at runtime." }, help: { about: "About", architectHelp: "Architect Help", backToResults: "Back to results", currentHelpTopic: "Current Topic", expressionHelp: "Expression Help", privacyPolicy: "Privacy Policy", reportIssue: "Report Issue", resourceCenter: "Resource Center", show: "Show help", helpAndResources: "Help and resources", help: "Help", helpResourceCommunity: "Community", helpResourceOrchestrators: "Genesys Orchestrators", helpResourceReleaseNotes: "Release Notes", helpResourceEducation: "Education", helpResourceStatus: "Genesys Cloud Status", noSearchResults: "No results for your search", searchHelpContent: "Search help content", searchHelpContentDescription: "Use double quotation marks to search for a specific term or phrase. For example, \u201COrganization settings\u201D.", viewSource: "Open in Resource Center" }, holdMusic: { durationLabel: "Duration", playForDuration: "Play for duration", playLengthLabel: "Play Style", playPrompt: "Play prompt", promptLabel: "Hold Music" }, inputOutputList: { arrayWithMixedTypes: "The '%1$s' schema for '%2$s' includes one or more arrays containing multiple data types. These will be ignored by Architect, since arrays with mixed types are unsupported.", arrayWithNoType: "The schema for '%1$s' contains an array with no 'items' property specifying what kind of items are contained in the array. Architect will treat these as string arrays, which could cause error handling to be invoked at runtime if non-string values are encountered.", failureOutputs: "Failure Outputs", inputs: "Inputs", noInputs: "There are no inputs.", noInputsOutputs: "There are no inputs or outputs.", unableToRetrieveSchema: "Unable to retrieve inputs or outputs for this action.", outputs: "Outputs", successOutputs: "Success Outputs", foundOutputs: "Found Outputs", schemaError: "The selected data action reported an invalid '%1$s' schema. Please check the data action\u2019s configuration and validate the flow again." }, importFlow: { fileLabel1: "Flow file to import (%1$s)", filePlaceHolder: "Select a configuration file to import", title: "Import a flow" }, importPrompts: { addAudio: "Add additional audio...", addAudioButton: "Add to import", audioNew: "New Audio", audioUpdate: "Replacing Audio", cancelImportTitle: "Cancel Import", cancelImportMessage: "An import is currently in progress. Are you sure you wish to dismiss the modal and cancel the import?", importDescriptionNewAndUpdated: "New prompts after import: %1$s, Updated prompts after import: %2$s", importDescriptionNew: "New prompts after import: %1$s", importDescriptionUpdated: "Updated prompts after import: %1$s", importFinishedResults: "Import results: New Prompts: %1$s, Updated Prompts: %2$s, Audio Uploads: %3$s, New TTS Values: %4$s", importFinishedResultsWithText: "Import results: New Prompts: %1$s, Updated Prompts: %2$s, Audio Uploads: %3$s, New TTS Values: %4$s, New Text Values: %5$s", importFinishedResultsFailures: "There were %1$s failures", importFinishedResultsFailure: "There was 1 failure", importFinishedResultsCanceled: "Canceled: Prompt Updates: %1$s, Audio Uploads: %2$s, TTS Values: %3$s", importFinishedResultsCanceledWithText: "Canceled: Prompt Updates: %1$s, Audio Uploads: %2$s, TTS Values: %3$s, Text Values: %4$s", importFinishedResultsWarning: "Found leading or trailing whitespace with file name '%1$s'. When the prompt import process is running, file name will be formatted to match the name in the CSV configuration.", importingActive: "Updating Prompts: %1$s, Importing Audio Files: %2$s, Setting TTS Values: %3$s", importingActiveWithText: "Updating Prompts: %1$s, Importing Audio Files: %2$s, Setting TTS Values: %3$s, Text Values: %4$s", noPromptError: "There are no prompts to import.", noMatchingSystemPrompt: "No matching system prompt found", resultCreated: "Created prompt %1$s", resultCreateCanceled: "Canceled creating prompt %1$s", resultCreateFailed: "Failed to create prompt %1$s", resultSkippedAudio: "User skipped uploading (%1$s) for prompt %2$s (%3$s)", resultSkippedTts: "User skipped setting TTS for prompt %1$s (%2$s)", resultSkippedText: "User skipped setting Text for prompt %1$s (%2$s)", resultIgnoredWav: "Wav (%1$s) skipped because no matching prompt found", resultSetTTS: "Set TTS for prompt %1$s (%2$s)", resultSetTTSCanceled: "Canceled setting TTS for prompt %1$s (%2$s)", resultSetText: "Set Text for prompt %1$s (%2$s)", resultSetTextCanceled: "Canceled setting Text for prompt %1$s (%2$s)", resultsFileName: "Import Results %1$s", resultUpdated: "Updated prompt %1$s", resultUpdateCanceled: "Canceled updating prompt %1$s", resultUpdatedFailed: "Failed to update prompt %1$s", resultUploaded: "Uploaded audio (%1$s) for prompt %2$s (%3$s)", resultUploadCanceled: "Canceled uploading audio (%1$s) for prompt %2$s (%3$s)", resultUploadedFailed: "Failed to upload audio (%1$s) for prompt %2$s (%3$s)", resultUploadErrorNoFile: "No file (%1$s) available to upload for prompt %2$s (%3$s)", previewImport: "Preview Import", saveResults: "Save Results", start: "Start Import", selectionDisabledNoChanges: "There is nothing to import, add audio", selectionDisabledNoChangesNoAudio: "There is nothing to import", selectionAddTooltip: "Adding new prompt", selectionUpdatedTooltip: "Updating existing prompt", title: "Import Prompts", textNew: "New text:", ttsNew: "New text to speech:", typeSystem: "System Prompt", unusedFiles: "There are %1$s audio files that do not have prompt matches", unusedFile: "There is 1 audio file that does not have a prompt match", parseErrors: { fieldMismatched: "Number of fields mismatched on line %1$s", other: "Unknown error parsing file" } }, intents: { label: "Intents", settings: { intentSettingConfirmationDescription: "Wording the bot will use when confirming this is the desired intent of the participant. The participant is expected to reply with a yes or no answer.", confirmation: "Confirmation", noIntentsDefined: "There are no intents defined in the bot's Natural Language Understanding configuration. You can create intents in the 'Intents' node.", goToIntents: "Go to Intents" }, secureSlotVariableUsedInIntentUtterance: "The slot variable '%1$s' cannot be marked as secure because its corresponding slot '%2$s' is referenced in the intent %3$s. To correct this error you may either turn off the secure setting on the variable or remove the slot from the intent.", secureSlotVariableUsedInIntentUtteranceMoreThanOne: "The slot variable '%1$s' cannot be marked as secure because its corresponding slot '%2$s' is referenced in the intents %3$s. To correct this error you may either turn off the secure setting on the variable or remove the slot from the intent." }, dynamicSlotTypes: { dynamicSlotTypesLabel: "Dynamic Slot Types", settings: { dynamicSlotTypeSettingValuesLabel: "Values", dynamicSlotTypeSettingValuesDescription: "A collection whose items supply possible String values for the slot type.", dynamicSlotTypeSettingSynonymsLabel: "Synonyms", dynamicSlotTypeSettingSynonymsNoValueSelectionLabel: "No Synonyms Specified", dynamicSlotTypeSettingSynonymsDescription: "A collection whose String items supply one or more synonyms for values in the '%1$s' collection. To specify a synonym for a value, add the synonym String value to the same index in this collection that the value has in the '%1$s' collection. To specify more than one synonym for an individual slot type value, assign a String value at the appropriate index in this collection but separate the individual synonyms with a ',' character.", dynamicSlotTypeSettingLabelsLabel: "Labels", dynamicSlotTypeSettingLabelsNoValueSelectionLabel: "No Labels Specified", dynamicSlotTypeSettingLabelsDescription: "A collection whose Communication items supply wording for values in the '%1$s' collection. To specify wording for an individual value, add the Communication value to the same index in this collection that the value has in the '%1$s' collection." } }, dynamicTimeslots: { dynamicTimeslotsLabel: "Dynamic Timeslots", dynamicTimeslotsDateTimeLabel: "Date and Time", dynamicTimeslotsDurationLabel: "Duration", settings: { dynamicTimeslotSettingTimeslotsLabel: "Timeslots", dynamicTimeslotSettingTimeslotsDescription: "A collection whose items supply possible Timeslot values for the slot type." } }, digitalAudio: { digitalAudioPlaceholder: "Select a Digital Audio response asset", browseForDigitalAudioLabel: "Browse for Digital Audio...", searchDigitalAudios: "Search Digital Audio...", useDigitalAudio: "Use Digital Audio", errors: { errorDownloadingDigitalAudio: "There was an error downloading the digital audio.", errorUploadingDigitalAudio: "There was an error uploading the digital audio", errorInvalidDigitalAudioName: "This Digital Audio name is not valid.", errorInvalidDigitalAudioFileType: "The selected file is not a valid digital audio file." }, uploadingDigitalAudio: "Uploading digital audio..." }, file: { file: "File", filePlaceholder: "Select a File response asset", browseForFileLabel: "Browse for File...", searchFiles: "Search Files...", supportedFileTypes: "Supported file types are: %1$s", useFile: "Use File", errors: { errorDownloadingFile: "There was an error downloading the file.", errorUploadingFile: "There was an error uploading the file.", errorInvalidFileName: "This file name is not valid.", errorInvalidFileType: "The selected file is not a valid file." }, uploadingFile: "Uploading file..." }, image: { conversion: { imageConvertBuilderToLiteralTitle: "Convert Image Builder To Literal", imageConvertBuilderToLiteralMessage: "Switching from builder to literal mode will reset the value. Do you wish to continue?", imageConvertExpressionToLiteralMessage: "Switching from expression to literal mode will reset the value. Do you wish to continue?", imageConvertExpressionToLiteralTitle: "Convert Image Expression To Literal", imageConvertLiteralToExpressionMessage: "The generated Image expression will be saved but you will not be able to return to literal mode without resetting the expression.", imageConvertLiteralToExpressionTitle: "Convert Image Literal To Expression", imageConvertModesMessage: "Switching from %1$s mode to %2$s mode will reset the value. Do you wish to continue?", imageConvertModesTitle: "Convert Image %1$s to %2$s" }, browseForImageLabel: "Browse for Image...", errors: { errorDownloadingImage: "There was an error downloading the image.", errorUploadingImage: "There was an error uploading the image", errorInvalidImageName: "This Image name is not valid.", errorInvalidImageFileType: "The selected file is not a valid image file." }, image: "Image", imagePlaceholder: "Select an Image", searchImages: "Search Images...", supportedFileTypes: "Supported file types are JPG, JPEG, PNG and GIF", useImage: "Use Image", uploadImageModalHeader: "Upload New Asset", uploadingImage: "Uploading image..." }, video: { videoPlaceholder: "Select a Video response asset", browseForVideoLabel: "Browse for Video...", searchVideos: "Search Videos...", useVideo: "Use Video", errors: { errorDownloadingVideo: "There was an error downloading the video.", errorUploadingVideo: "There was an error uploading the video", errorInvalidVideoName: "This Video name is not valid.", errorInvalidVideoFileType: "The selected file is not a valid video file." }, uploadingVideo: "Uploading video..." }, responseAsset: { responseAsset: "Response Asset", responseAssetPlaceholder: "Select a Response Asset", responseAssetAttachmentsDescription: "A collection of response assets attached to the response.", searchResponseAssets: "Search Response Assets...", useResponseAsset: "Use Response Asset", errors: { errorDownloadingResponseAsset: "There was an error downloading the asset.", errorUploadingResponseAsset: "There was an error uploading the asset", errorInvalidResponseAssetName: "This name is not valid.", errorInvalidResponseAssetFileType: "The selected file is not a valid file." }, responseAssetAttachmentsLabel: "Attachments", uploadingResponseAsset: "Uploading asset..." }, itemListing: { lastItemAndSeparator: " and ", lastItemOrSeparator: " or " }, codeEditor: { architectExpressionsUnavailable: "Architect expressions cannot be used here.", architectExpressionsUnavailableForVariableInitialValue: "Architect expressions cannot be used for a variable initial value.", autoCompleteEntries: { codeEditorNullDescription: "Enters the value null", codeEditorNullValue: "null", codeEditorTimeBlankDescription: "Enters a blank String where you can supply a Time", codeEditorTimeDescription: "Enters a Time value for 12:00:00 AM", currencyFiveEurDescription: "Enters a Currency value of 5.00 euros", currencyTwoTwentyFiveUsdDescription: "Enters a Currency value of 2.25 United States dollars", dateTimeBlankDescription: "Enters a blank String where you can supply a Datetime", dateTimeTodayDescription: "Enters a Datetime value for today", dateTimeTodayDisplayText: "Today's Datetime", dateTodayDisplayText: "Today's Date", dateTodayDescription: "Enters a Date value for today", dateBlankDescription: "Enters a blank String where you can supply a Date", decimalOneDescription: "Enters a Decimal value of 1.0", decimalOrIntegerOneLabel: "One", decimalOrIntegerZeroLabel: "Zero", decimalZeroDescription: "Enters a Decimal value of 0.0", durationBlankDescription: "Enters a blank String where you can supply a Duration", durationFiveMinutesDescription: "Enters a Duration value for five minutes", durationFiveMinutesLabel: "5 Minutes", durationOneDayDescription: "Enters a Duration value for one day", durationOneDayLabel: "1 Day", durationOneHourDescription: "Enters a Duration value for one hour", durationOneHourLabel: "1 Hour", durationOneMinuteDescription: "Enters a Duration value for one minute", durationOneMinuteLabel: "1 Minute", durationThirtySecondsDescription: "Enters a Duration value for 30 seconds", durationThirtySecondsLabel: "30 Seconds", emptyArrayDescription: "Enters an empty array", emptyJsonObjectDescription: "Enters an empty JSON object", enterLiteralDescription: "Enter a literal '%1$s' selector", inlineExpressionDescription: "Enter an expression to supply the value", integerOneLabel: "Enters an Integer value of 1", integerZeroLabel: "Enters an Integer value of 0", literalValuesSection: "Literal Values" }, codeEditorTitle: "Code Editor", convertCategoryLabel: "Convert", cursorNumberHeader: "Cursor:", cursorNumberAriaLabel: "Cursor, Line Number: %1$s, Column: %2$s", fixCategoryLabel: "Fix", lineNumberHeader: "Line %1$s:", noValidationErrorsMessage: "No Errors", toggleSuggestionsPanel: "Toggle Suggestions Panel", validationCompleteMessage: "Validated", parseErrors: { facets: { allowableValuesFacetLabel: "allowable values", maxFacetLabel: "max", maxItemsFacetLabel: "max items", maxLengthFacetLabel: "max length", minFacetLabel: "min", minItemsFacetLabel: "min items", minLengthFacetLabel: "min length" }, tokens: { tooManyDecimalPlaces: "The Decimal value has %1$s decimal places. %2$s allowed.", tokenDuplicate: "Duplicate token '%1$s'.", tokenInvalid: "Invalid token '%1$s'.", tokenMissing: "Missing token '%1$s'.", tokenUnexpected: "Unexpected token '%1$s'.", invalidTokenOrderMustFollow: "'%1$s' must follow '%2$s'.", invalidTokenOrderMustPrecede: "'%1$s' must precede '%2$s'." }, arrayLengthTooBig: "Array item count %1$s is too large.", arrayLengthTooSmall: "Array item count %1$s is too small.", separatorIsUnnecessary: "Unnecessary separator '%1$s'.", extraValueErrorMessage: "Extra value.", invalidNumber: "Invalid number.", invalidNumericCharacter: "Invalid numeric character", invalidSyntax: "Invalid syntax.", formatPropertyWithMessage: "Property '%1$s' - %2$s", stringLengthTooBig: "The string length %1$s is too big.", stringLengthTooSmall: "The string length %1$s is too small.", tokenAfterEndOfValue: "Unexpected token '%1$s' past end of value.", valueIncomplete: "Value is incomplete." }, properties: { missingRequiredPropertiesPlural: "Missing required properties: '%1$s' for the type '%2$s'.", missingRequiredPropertySingular: "Missing required property '%1$s' for the type '%2$s'.", propertyCannotBeAddedToNonObject: "You cannot add a property to something that is not an object.", propertyIsDuplicated: "Duplicate property '%1$s'.", propertyIsReadOnly: "The property '%1$s' is read only.", propertyNamesCannotBeBlank: "Property names can't be blank.", propertyNameNotValidForType: "The property name '%1$s' is not valid for the type '%2$s'.", objectLiteralNotAllowedWhenAllPropertiesReadOnly: "Specifying a JSON object using '{' notation is not allowed when all properties in the data type are read only.", useExpressionNotationForType: "You can use '{{ }}' notation and specify an expression to supply the '%1$s' value." }, search: { closeSearchPanel: "Close find and replace panel", codeEditorPanelFind: "Find:", codeEditorPanelFindAndReplace: "Find and replace", codeEditorPanelNextMatchButton: "Next Match", codeEditorPanelPreviousMatchButton: "Previous Match", codeEditorPanelReplace: "Replace", codeEditorPanelReplaceAll: "Replace all", codeEditorPanelReplaceWith: "Replace with:" }, shortcuts: { shortcutFindLabel: "Find", shortcutNextMatchLabel: "Next match", shortcutPreviousMatchLabel: "Previous match", shortcutShowTypeaheadLabel: "Show typeahead" }, suggestions: { addFunctionCall: "Add a '%1$s' function call", addMissingSeparator: "Add the missing separator '%1$s'", closeSuggestionsPanel: "Close suggestions panel", lintSuggestionsLabel: "Suggestions", maxValueClosestTo: "This is the maximum value that is closest to '%1$s'.", minValueClosestTo: "This is the minimum value that is closest to '%1$s'.", removeUnnecessarySeparator: "Remove the unnecessary separator '%1$s'", replaceWith: "Replace with '%1$s'.", separators: { addSeparatorSuggestion: "Add separator '%1$s'.", replaceSeparatorSuggestion: "Replace separator with '%1$s'." } }, types: { codeEditorValueTooLarge: "The value '%1$s' is too large.", codeEditorValueTooLargeNoValue: "The value is too large.", codeEditorValueTooPrecise: "The value is too precise.", codeEditorValueTooSmall: "The value '%1$s' is too small.", codeEditorValueTooSmallNoValue: "The value is too small.", dateSupplyCurrent: "Supply today's date.", dateTimeInvalid: "You must use a 'T' between the date and time components of a DateTime value.", decimalCannotBeUsedHere: "Decimal values cannot be used here.", decimalValueSignificantDigits: "Decimal values are limited to %1$s significant digits.", incompatibleType: "Incompatible type.", incompatibleTypeAssignment: "Incompatible type assignment.", invalidTypeValue: "Invalid '%1$s' value.", returnValueTypeMismatch: "'%1$s' does not match the expected type of '%2$s'. To fix this, wrap in a '%3$s' function call.", timeUnitNeedsDigitValue: "'%1$s' needs a %2$s digit value.", timeUnitNeedsDigitValueForDataType: "'%1$s' values need a %2$s digit value for '%3$s'.", typeIncompatibilityAssignmentError: "Cannot assign the '%1$s' value '%2$s' to type '%3$s'.", typeIncompatibilityError: "'%1$s' values cannot be used to supply '%2$s' values.", timeOutOfBounds: "'%1$s' is out of bounds.", dateTimeSupplyCurrent: "Supply current date and time as a Datetime value.", timeSupplyMonthFromToday: "Supply the current month.", timeSupplyDayFromMonth: " Supply today's day of month.", durationXsdFormat: "Duration values must use the XSD format of (-)PnDTnHnMn.nnnS.", durationOnlySecondsCanBeDecimal: "Only the seconds portion of a Duration is allowed to use a Decimal value to specify up to millisecond granularity.", durationMustSpecifyDHMS: "Must specify either 'D', 'H', 'M' or 'S'.", durationMustSpecifyMinimum: "You must specify at least '0S' on a Duration value.", integerCannotBeUsedHere: "Integer values cannot be used here.", stringLengthTooLarge: "String length %1$s is too large.", durationMaxValue: "The maximum value allowed for a Duration is 999999999999999 milliseconds (11574074 days, 1 hour, 46 minutes and 39.999 seconds).", durationMinValue: "The minimum value allowed for a Duration is -999999999999999 milliseconds (-11574074 days, -1 hour, -46 minutes and -39.999 seconds).", requiredPropertiesMissing: "Required properties missing.", stringLengthTooSmall: "String length %1$s is too small.", timeInvalidSeparatorHourMinute: "You must use a ':' to separate the hour and minute.", timeInvalidSeparatorMinuteSecond: "You must use a ':' to separate the minute and second.", timeInvalidSeparatorYearMonth: "You must use a '-' to separate the year and month.", timeInvalidSeparatorMonthDay: "You must use a '-' to separate the month and day.", typeDoesNotSupportLiteralDropdownAddendum: "To have an array that includes arrays in a JSON value, be sure in the literal text to put a space between array starting brackets like this '[ [' instead of using '[['.", typeDoesNotSupportLiteralDropdownError: "'%1$s' values do not support [[]] references.", valueMustBeInGivenFormat: "%1$s values need to be in the format '%2$s'.", typeNotFoundError: "The '%1$s' named '%2$s' could not be found.", valueNotAllowed: "'%1$s' is not allowed.", valueNotValidForTypeGeneric: "'%1$s' is not a valid '%2$s' value.", timeUseStringDoubleZero: "Use the string '00' for '%1$s'.", truncateStringSuggestion: "Truncate string to length: %1$s", typeCanBeConverted: "Convert the '%1$s' value to a '%2$s' value using the '%3$s' expression function." }, units: { dayUnitLabel: "Day", hourUnitLabel: "Hour", minuteUnitLabel: "Minute", monthUnitLabel: "Month", secondUnitLabel: "Second", yearUnitLabel: "Year" } }, json: { general: { customJSONLabel: "Custom JSON", jsonLabel: "JSON", jsonEditorTitle: "JSON Editor", jsonEditorSubtitle: "Enter JSON, string, number or boolean below.", openJsonLiteralEditor: "Click to add JSON literal value" }, genericError: { invalidJson: "Invalid JSON", jsonLengthExceedsCharacterLimit: "Input JSON must not exceed 32000 characters.", jsonMustNotBeUndefinedOrBlank: "JSON must not be undefined or blank.", jsonMustBeObject: "The value must be a JSON object.", jsonUnexpectedToken: "Unexpected token: %1$s", unexpectedEndOfJson: "Unexpected end of JSON input." }, positionError: { jsonError: "JSON error", jsonErrorWithPosition: "%1$s at position: %2$s", jsonErrorPosition: "%1$s:%2$s", jsonExpectedColonAfterPropName: "Expected ':' after property name in JSON", jsonExpectedCommaOrClosingCurlyAfterPropValue: "Expected ',' or '}' after property value in JSON", jsonExpectedNonWhitespaceCharacter: "Unexpected non-whitespace character after JSON", jsonExpectedPropNameOrClosingCurly: "Expected property name or '}' in JSON", jsonUnterminatedString: "Unterminated string in JSON" }, conversion: { jsonConvertExpressionToLiteralMessage: "Switching from expression to literal mode will reset the value. Do you wish to continue?", jsonConvertExpressionToLiteralTitle: "Convert JSON Expression To Literal", jsonConvertLiteralToExpressionMessage: "The generated JSON expression will be saved but you will not be able to return to literal mode without resetting the expression.", jsonConvertLiteralToExpressionTitle: "Convert JSON Literal To Expression", jsonConvertModesMessage: "Switching from %1$s mode to %2$s mode will reset the value. Do you wish to continue?", jsonConvertModesTitle: "Convert JSON %1$s to %2$s", toggleJsonStandardMode: "Toggle between JSON and standard mode" }, customJson: { switchModeModalTitle: "Switch to %1$s", switchModeMessage: "Switching from %1$s to %2$s mode will reset the value. Resetting the value will result in anything you have configured in %1$s mode being cleared. Would you like to proceed?", expressionToLiteralConversionMessage: "Switching from literal to expression mode will reset all input values. Resetting the values will result in anything you have configured in literal mode being cleared. Would you like to proceed?", literalToExpressionConversionMessage: "Switching from expression to literal mode will reset the input value. Resetting the value will result in anything you have configured in expression mode being cleared. Would you like to proceed?", switchModeWithErrorsModalTitle: "Switching from %1$s to %2$s with errors", switchJsonToStandardWithErrorsMessage: "There are issues in the current JSON configuration. If you switch back to Standard without resolving them, all fields will reset to their last valid values. Would you like to proceed?", switchStandardToJsonWithErrorsMessage: "There are issues with the current settings in Standard. These issues will persist in JSON. If you switch back to Standard without fixing them, all fields will reset to their last valid values. Would you like to proceed?", inputJson: "Input JSON", standardModeUnavailable: "Standard does not support editing properties with complex JSON structures (arrays, nested objects, etc.). Switch to JSON to edit.", standardModeUnavailableForExpression: "Standard mode is not available when the entity is supplied using '{{ }}' notation.", outputJson: "Output JSON", propertyValueIgnoredAtRuntime: "A value of %1$s is ignored at runtime.", atLeastOnePropertyMustBeSet: "At least one property must have a value other than %1$s, %2$s, or no value specified." }, input: { outputsLabel: "Outputs", standardLabel: "Standard", expressionLabel: "Expression", literalLabel: "Literal", inputsLabel: "Inputs" } }, lex: { addSessionVariable: "Add Session Variable", aliasNotFound: "The selected alias could not be found.", botAlias: "Bot Alias", botName: "Bot Name", initialIntentLabel: "Initial Intent Name", intents: "Intents", lexV2AliasDescription: "Language: '%1$s', Region: '%2$s'", lexV2BotDescription: "Region: '%1$s'", lexBotAlias: "Lex Bot Alias", lexV2BotAlias: "Lex V2 Bot Alias", lexV2Bot: "Lex V2 Bot", lexBot: "Lex Bot", mustSelectAlias: "An alias must be selected.", mustSelectBotName: "A bot name must be selected.", noSlots: "There are no slots defined for this intent.", lexAliasNotReady: "The selected alias has a status of '%1$s' in AWS. It must have a status of '%2$s' to be valid.", savedVersionOfAlias: "Flow is referencing a cached version of this alias. The alias may be out of date or deleted.", secondaryHeaderForVersion: "(Version %1$s)", selectAlias: "Select Bot Alias", selectBotName: "Select Bot Name", sessionVariable: "Session Variable", sessionVariables: "Session Variables", noSessionVariablesDefined: "No Session Variables defined", speechRecMustBeEnabled: "Speech recognition must be enabled in flow settings.", speechRecMustBeEnabledBecauseCommonModuleNeedsIt: "Speech recognition must be enabled because the Common Module '%1$s' uses speech recognition functionality.", startingAudio: "Starting Audio", unableToRetrieveBot: "Was unable to retrieve bot for selected alias.", botNameNotFound: "Selected bot name could not be found", inputTextLabel: "Bot Input Text", inputTextDescription: "The text to send to the Lex bot.", inputTextDescriptionForChat: "The text to send to the Lex bot. This is usually only set when chaining Lex bot actions." }, lostConnection: { backupFlowFoundMessage: "A backup flow with unsaved changes created %1$s was found.", badRequestMessage: "Architect could not perform the selected operation. Please report this error to your organization administrator.", buttonRetry: "Retry", buttonWait: "Keep Waiting", buttonRecoverBackup: "Recover these changes", connectionLost: "The connection to the cloud was lost. Press OK to login again.", connectionTimeoutNoRetry: "The cloud is not responding to requests. You can keep waiting if you are on a slow connection or refresh the page to start over.", connectionFailedNoRetry: "Requests to the cloud are failing. You can keep waiting if you are on a slow connection or refresh the page to start over.", connectionFailedServer: "Requests to the cloud are failing. You can retry the requests or refresh the page to start over.", connectionLostBackup: "Architect attempts to save the flow locally in browser storage when there are connection issues. After reconnecting and loading this flow, you will have an opportunity to recover the backup if it's available.", connectionLostBackupAlternative: "As an alternative, select Export Flow to download it to a local folder.", genericError: "Requests to the cloud are failing. Please try again.", lostCredentials: "You have been logged out of Genesys Cloud. Please log back in to continue.", recoveringBackup: "Recovering Backup", title: "Server Connection", titleDeleteBackup: "Discard backup changes" }, oauthClient: { label: "OAuth Client" }, botFlowSettings: { generalBotFlowSettings: "General Bot Flow Settings", shortTermMemoryLabel: "Short Term Memory", titleWithSettings: "Bot Flow Settings", valueConfiguredInBotFlowSettingsWillBeUsed: "The value for '%1$s' configured in {{link.__BOT_FLOW_SETTINGS_NODE__, Bot Flow Settings}} will be used at flow runtime." }, workitemFlowSettings: { titleWithSettings: "Workitem Flow Settings" }, botFlowNluTemplates: { bankBotNluTemplateName: "Bank Bot", bankBotNluTemplateDescription: "An example bot that provides banking functionality.", blankBotNluTemplateName: "Blank Bot Flow", blankBotNluTemplateDescription: "An empty bot flow with no intents." }, outboundCallSettings: { contactListPlaceholder: "Select a contact list", defaultWrapupCodeLabel: "Default Wrapup Code", label: "Outbound Settings", propertiesLabel: "Contact List Properties", treeLabel: "Outbound", usingCachedContact: "Using last known properties" }, emailSendFlow: { emailSendFlowTypeDisplayName: "Email Send Flow", emailSendFlowsSectionLabel: "Email Send Flows", emailSendSettingsTreeNodeLabel: "Email Send" }, inboundEmailSettings: { autoGenHandling: "Inbound auto-generated email handling", creation: { errorEventHandlingInfo: "If no error event transfer queue is selected above, the flow will be configured with disconnect error event handling.", errorEventHandlingQueue: "Error event transfer Queue" }, label: "Inbound Email Settings", normalProcessing: "Process as normal", treeLabel: "Inbound Email" }, inQueueCallFlowSettings: { label: "In-Queue" }, inQueueFlowVariables: { flowHoldPrompt: "Hold prompt for the flow" }, inboundOutboundAndInQueueCallFlowVariables: { uuiData: "Contains the call control User to User Information (UUI) data set on the call." }, learning: { label: "Learning" }, securedActions: { securedActionsInformationalMessage: "Execution will take the '{{branch.__FAILURE__}}' path at flow runtime if no encryption key is configured for this organization.", outputMustBeSecureIfInputIsSecure: "'%1$s 'must be made secure if '%2$s' is secure.", variableMustBeMadeSecure: "Secure variable must be used for %s." }, slotTypes: { label: "Slot Types" }, knowledgeSettings: { errorNoKnowledgeBaseSelected: "Knowledge Base must be selected for this action", knowledgeBase: "Knowledge Base", knowledgeSetting: "Knowledge Configuration", knowledgeSettingShort: "Configuration", defaultKnowledgeBase: "Default Knowledge Base", knowledgeAnswerContentTypeStandardLabel: "Standard", knowledgeAnswerContentTypeHighlightLabel: "Highlight", knowledgeAnswerContentTypeGenerativeLabel: "Generative", knowledgeAnswerContentTypeSwitcherLabel: "Content Type", knowledgeAnswerContentTypeSwitcherDescription: "Choose how the bot will format the content when a successful Knowledge answer is matched.", knowledgeAnswerContentTypeGenerativeCardHeader: "Answer Generation", knowledgeAnswerContentTypeStandardCardText: "Standard will surface the entire matched Knowledge answer.", knowledgeAnswerContentTypeHighlightCardText: "Answer Highlight will highlight the answer within a matched Knowledge answer.", knowledgeAnswerContentTypeGenerativeCardText: "Answer Generation will create an AI-generated response to the question from a matched Knowledge answer.", knowledgeAnswerHighlightLabel: "Answer Highlight", knowledgeAnswerHighlightDescription: "Enable or disable Answer Highlight on matched Knowledge answers.", knowledgeAnswerHighlightDisabled: "Answer Highlight disabled.", knowledgeAnswerHighlightEnabled: "Answer Highlight enabled.", knowledgeAnswerHighlightFlowProgressionLabel: "Flow Progression Label", knowledgeAnswerHighlightFlowProgressionDescription: "Label used for the quick reply to progress the flow.", knowledgeAnswerHighlightFullArticleLabel: "Full Article Label", knowledgeAnswerHighlightFullArticleDescription: "Label used for the quick reply to view full knowledge answer.", knowledgeArticle: "Knowledge Article", knowledgeArticlePlaceholder: "Select Knowledge Article", knowledgeArticleNotFound: "Knowledge Article not found", knowledgeArticleMismatch: "Selected Knowledge Article does not belong to Knowledge Base configured on the flow", knowledgeNotConfigured: "There are no articles available because no Knowledge Base is configured. In the flow '{{settings.__KNOWLEDGE__}}' settings, please select a Knowledge Base and try again.", knowledgeBaseDescription: "Once you select a Knowledge Base, you can enable Knowledge on one or more Ask for Intent actions. Only published Knowledge Bases whose language is compatible with the flow's supported language are available for selection.", knowledgeBaseV3Description: "Select a Knowledge Base to continue. You can enable Knowledge for one or more Ask for Intent actions. Only published items matching the flow's supported languages are available.", knowledgeSettingDescription: "Select a Knowledge Configuration to continue. You can enable Knowledge for one or more Ask for Intent actions. Only published items matching the flow's supported languages are available.", knowledgeBaseDocument: "Knowledge Base Document", knowledgeBaseDocumentPlaceholder: "Select an optional Knowledge Base Document", knowledgeBaseDocumentNotFound: "Knowledge Base Document not found", knowledgeBaseItemCreatedDescription: "Created %1$s", knowledgeBaseItemDescription: "Modified %1$s", knowledgeConfirmationDisambiguationLabel: "Confirmation and Disambiguation", knowledgeDisambiguationLabel: "Disambiguation", knowledgeBasePlaceholder: "Select an optional Knowledge Base", knowledgeSettingPlaceHolder: "Select an optional Knowledge Configuration", knowledgeWorkBench: "Knowledge Work Bench", knowledgeBaseNotFound: "Knowledge Base not found", knowledgeSettingNotFound: "Knowledge Configuration not found", languageDoesNotSupportKnowledge: "Knowledge is unavailable for this language.", knowledgeBaseNotFoundForLanguage: "Knowledge Base not found for %1$s.", knowledgeSettingNotFoundForLanguage: "Knowledge Configuration not found for %1$s.", knowledgeBaseNotSelectedForLanguage: "Knowledge Base not selected for %1$s.", knowledgeSettingNotSelectedForLanguage: "Knowledge Configuration not selected for %1$s.", knowledgeBaseNoDefaultSelected: "A default language knowledge base must be selected in order to use additional language knowledge bases.", knowledgeSettingNoDefaultSelected: "A default language knowledge configuration must be selected in order to use additional language knowledge configurations.", knowledgeConfigurationNotEnabled: "Knowledge Configurations are not available in this organization.", knowledgeBaseManageDefault: "Manage the default knowledge base: ", knowledgeSettingManageDefault: "Manage the default knowledge configuration: ", knowledgeBaseManageAlternativesPreposition: "Note:", knowledgeBaseManageAlternatives: "Alternative Knowledge Bases can be managed in: ", knowledgeSettingManageAlternatives: "Alternative Knowledge Configurations can be managed in: ", knowledgeSettingManageOptions: "Many knowledge configuration options are now managed through ", knowledgeBaseLanguageMismatch: "The selected knowledge base's language '%1$s' does not match the flow's default language '%2$s'.", knowledgeBaseNotSupportedForLanguage: "Knowledge base functionality is not available for the language '%1$s'.", knowledgeInitialResponseFollowupLabel: "Answer Follow-up", knowledgeFollowUpSwitcherLabel: "Knowledge Follow-up", knowledgeFollowUpSwitcherDescription: "Choose between a statement or a reusable task as a follow-up to a knowledge answer.", knowledgeFollowUpStatement: "Follow-up Statement", knowledgeFollowUpTaskLabel: "Follow-up Task", knowledgeFollowUpTaskDescription: "Select or create a reusable task to follow up a knowledge answer.", knowledgeFollowUpTaskErrorMessage: "No follow-up task assigned.", knowledgeInitialResponseFollowupDescription: "Wording the bot will use as a follow-up to a Knowledge answer.", knowledgeInitialResponseMultiLabel: "Multiple Answers Introduction", knowledgeInitialResponseMultiDescription: "Wording the bot will use to introduce a numbered list of matching Knowledge answers, in the case where multiple good matches are found in the Knowledge Base.", knowledgeInitialResponseMultiRetryLabel: "Multiple Answers Retry", knowledgeInitialResponseMultiRetryDescription: "Wording the bot will use to re-introduce a numbered list of matching Knowledge answers, in the case where the user's first attempt to choose a number was unsuccessful.", knowledgeInitialResponseSingleLabel: "Single Answer Introduction", knowledgeInitialResponseSingleDescription: "Wording the bot will use prior to speaking or printing a single Knowledge answer. For example, 'I found the following information:'", knowledgeConfirmationToggleLabel: "Knowledge Confirmation", knowledgeConfirmationToggleDescription: "Enables or disables the '%1$s' confirmation once the answer has been presented.", knowledgeConfirmationLabel: "Knowledge Confirmation Response", knowledgeConfirmationDescription: "Wording the bot will use after speaking or printing a single Knowledge answer. For example, 'Did this answer your question?'", knowledgeContextSearchLabel: "Search with context", knowledgeContextSearchDescription: "Enable to keep context throughout different queries.", knowledgeContextSearchEnabled: "Search with context enabled", knowledgeContextSearchDisabled: "Search with context disabled", knowledgeContextSearchDescriptionNote: "This value overrides the setting from the Knowledge Workbench.", knowledgeLabel: "Knowledge", knowledgeMaxNumAnswersReturned: "Maximum Number of Answers Returned", knowledgeMaxNumAnswersReturnedDescription: "The maximum number of answers suggested to the participant if there are multiple good matches for their question.", knowledgeMultiArticleLabel: "Multiple Article Generation", knowledgeMultiArticleDescription: "Generate a single answer from multiple knowledge articles.", knowledgeMultiArticleEnabled: "Multiple Sources enabled", knowledgeMultiArticleDisabled: "Multiple Sources disabled", knowledgeMultiArticleDisabledBotFlowTooltip: "Single article answer generation is not supported in Bot Flows", knowledgeNoMatchLabel: "Reject All Answers", knowledgeNoMatchDescription: "Wording for the final option when displaying multiple answers. For example, 'None of these'. Choosing this option will reject all of the proposed answers.", knowledgePathLabel: "Knowledge Path", knowledgePathStatementLabel: "Statement", knowledgeResponseBias: "Response Bias", knowledgeSendFeedbackEnabled: "Knowledge Confirmation enabled.", knowledgeSendFeedbackDisabled: "Knowledge Confirmation disabled.", knowledgeSettingSourcesLabel: "Sources", responseBiasDescription: "Controls which type of interpretation (Knowledge answer or Intent) is more likely to be suggested by the bot in response to a participant's input.", responseBiasModes: { responseBiasModeKnowledge: "Knowledge", responseBiasModeIntents: "Intents", responseBiasModeNeutral: "Neutral", responseBiasKnowledgeDescription: "Bot will favor Knowledge path if an overlap occurs", responseBiasIntentDescription: "Bot will favor Intent path if an overlap occurs", responseBiasNeutralDescription: "Equal weight given to Intent and Knowledge paths" }, knowledgeSettingsModeLabel: "Knowledge Settings Mode", knowledgeSettingsModeDescription: "Controls how knowledge matches are handled at runtime. By selecting 'custom' you will be able to choose a reusable task that will be executed when a knowledge match occurs.", knowledgeSettingsDisambiguationDisabled: "Disambiguation from multiple sources is disabled.", knowledgeSettingsFeedbackDisabled: "Feedback is disabled for multiple sources.", knowledgeSettingsModes: { standard: "Standard", custom: "Custom", standardDescription: "Standard knowledge settings mode", customDescription: "Custom knowledge settings mode" }, knowledgeSettingsModeModal: { switchToStandardTitle: "Switch to Standard", switchToCustomTitle: "Switch to Custom", switchToStandardMessage: "Returning to standard will disconnect the single reusable task. The bot will now favor the standard global knowledge settings.", switchToCustomMessage: "Switching to custom allows you to configure global knowledge settings such as answer introduction, disambiguation, feedback and follow-up to be done in a single reusable task.", switchToStandardMessageBot: "Returning to standard will result in any custom knowledge handling being disconnected. The bot will now favor the standard global knowledge settings.", switchToCustomMessageBot: "Switching to custom allows you to configure global knowledge settings such as answer introduction, disambiguation, and feedback under the knowledge path of an Ask for Intent action.", switchToCustomInlineAlert: "Note: Intended for advanced users to configure global knowledge settings in a single reusable task.", switchToCustomInlineAlertBot: "Intended for advanced users to configure global knowledge settings." }, knowledgeVersionModal: { switchToKnowledgeBaseTitle: "Switch to Knowledge Base", switchToKnowledgeBaseMessage: "Switching to Knowledge Base may remove some of your current Knowledge Configuration settings.", switchToKnowledgeSettingTitle: "Switch to Knowledge Configuration", switchToKnowledgeSettingMessage: "Switching to Knowledge Configuration may remove some of your current Knowledge Base settings." }, knowledgeCustomHandlerTaskLabel: "Knowledge Task", knowledgeCustomHandlerTaskDescription: "Select or create a reusable task to configure custom knowledge settings which includes, but is not limited to: answer introduction, disambiguation, feedback, and follow-up. More information and best practices can be found in the Resource Center.", knowledgeCustomHandlerTaskErrorMessage: "No custom knowledge task assigned.", openKnowledgeInNewTab: "Open Knowledge Workbench in a new tab", knowledgeName: "Name", knowledgeDescription: "Description", knowledgeNoDescription: "No description", knowledgeFaqCount: "FAQ Count", knowledgeArticleCount: "Article Count", knowledgeDateCreated: "Date Created", knowledgeDateLastModified: "Last Modified", welcomeArticle: "Welcome Article", welcomeArticleDescription: "Choose a document from a Knowledge Base and that document's wording will be used by the bot when session starts.", knowledgeArticlesCount: "%1$s Article(s)", knowledgeFaqsCount: "%1$s FAQ(s)", tabs: { general: "General", generalTitle: "Bias", generalSubtitle: "Configure what response type is favored by the bot.", answer: "Answer", answerTitle: "Answer", answerSubtitle: "Configure how a Knowledge answer will be presented.", disambiguation: "Disambiguation", disambiguationTitle: "Disambiguation", disambiguationSubtitle: "Configure how to resolve ambiguity on surfaced answers.", feedback: "Feedback", feedbackTitle: "Feedback", feedbackSubtitle: "Configure feedback for full Knowledge answers & answer highlights.", followUp: "Follow-up", followUpTitle: "Follow-up", followUpSubtitle: "Configure next steps post serving of a Knowledge answer.", customTitle: "Custom", customSubtitle: "Configure custom knowledge settings.", customTitleBot: "Custom Handling", customTextBot: "Enable a Knowledge path on any Ask for Intent action to manage how knowledge is presented including answer introduction, disambiguation and feedback. More information and best practices can be found in the {{link.__RESOURCE_CENTER_URL_CUSTOM_KNOWLEDGE__, Resource Center}}.", customDescription: "Configure custom global knowledge handling here." } }, botSessionViewer: { utteranceHistoryLabel: "Utterance History", optimizationDashboardLabel: "Optimization Dashboard" }, intentMiner: { intentMinerLabel: "Intent Miner" }, pathDiscovery: { pathDiscoveryLabel: "Journey Flows" }, previewWidget: { previewWidgetLabel: "Test", previewWidgetResetChatLabel: "Reset Chat", previewWidgetStartChatLabel: "Start Chat", previewWidgetCloseChatLabel: "Close Chat", previewWidgetEnabledTooltip: "Test your published bot", previewWidgetNotPublishedTooltip: "You must publish your bot first in order to use this feature", previewWidgetOldVersionTooltip: "Your work in progress is out of date, please publish again in order to test your bot", previewWidgetVersionMessage: "You are currently testing flow version %1$s", previewWidgetSessionDisconnected: "The session has ended." }, surveyInviteFlowVariables: { survey: "Information about the survey associated with the flow.", customerContact: "The External Contact for the customer associated with this survey invite. If there is no customer contact, the value will be NOT_SET.", customerOrganization: "The External Organization for the customer associated with this survey invite. If there is no customer organization, the value will be NOT_SET.", surveyDispositions: "The available survey disposition values.", conversationId: "The ID of the completed conversation associated with this survey invite.", url: "The URL that will link to the survey.", conversationType: "The conversation type associated with this survey invite. Valid values are 'call', 'callback', 'chat', 'cobrowse', 'email', 'screenShare', 'socialExpression', 'videoComm' or 'unknown' if not one of the previous types.", customerAddress: "The address for the customer associated with this survey invite.", conversationStartDateTime: "The starting DateTime for the conversation associated with this survey invite.", conversationEndDateTime: "The ending DateTime for the conversation associated with this survey invite.", conversation: "Information about the conversation associated with the flow.", conversationTypes: "The available conversation type values." }, surveyInvite: { createFlowInfo: "Survey Invite flows are launched after a conversation is complete.", createFlowInfoWebPrefix: "Web Survey Invite flows are launched after a conversation is complete." }, objectValueMismatch: { dataType: "The data type '%1$s' does not match the data type of '%2$s'", default: "'%1$s' does not match '%2$s'.", incompatible: "The data is incompatible.", input: "The variable input settings do not match.", name: "The name of '%1$s' does not match the name of '%2$s'.", output: "The variable output settings do not match." }, placeholders: { select: "Select a %1$s", selectAn: "Select an %1$s", selectThe: "Select the %1$s" }, playAudioOnSilence: { allowedRepeatCount: "Allowed Retry Count", allowedRepeatCountDescription: "Number of attempts to replay audio if audio is interrupted.", actualRepeatCount: "Actual Retry Count" }, positionInQueue: { ahead: "Ahead", aheadExample: "e.g. There are four callers ahead of you in the queue.", number: "Position", numberExample: "e.g. Your position in the queue is five.", ordinal: "Ordinal Position", ordinalExample: "e.g. You are the fifth caller in the queue.", playbackMode: "Playback Mode", positionInQueue: "Position in Queue" }, printFlow: { generate: "Generate Document", idCallout: "Next action: ID %1$s", error: "There was an error while generating the flow printout.", flowVariables: "Flow Variables", noActions: "This %1$s has no actions.", noConfigurationOptions: "There are no print configuration options available.", noItems: "No items", noTts: "", pageNum: "Page %1$s", popupBlocked: "The new tab was blocked by your browser. Please allow popups by clicking the prompt at the top of your browser.", printFlow: "Print Flow", printFormatNotice: "Architect flow print documents are formatted for US Letter page size.", printView: "%1$s - Print View", selectLanguage: "Select language to use for audio and speech recognition content", stateVariables: "State Variables - %1$s", botStateVariables: "Bot Variables - %1$s", systemVariables: "System Variables", taskVariables: "Task Variables - %1$s", letter: "Letter", a4: "A4", paperSize: "Paper Size:" }, reportError: { alertMessage: "Be sure to check out our Resource Center at {{link.__RESOURCE_CENTER__}} for quick and detailed information on your questions or issues.", title: "Report Error", issueTypeLabel: "What best describes the issue:", issueTypes: { question: "Question", problem: "Problem", technicalIssue: "Technical Issue", nonTechnicalIssue: "Non-Technical Issue" }, priorityLabel: "Please determine the priorty of this issue:", priority: { low: "Low", medium: "Medium", high: "High" }, shortDescriptionLabel: "What best describes the functionality area:", longDescriptionLabel: "Please provide as much detail as possible:" }, searchExternalContacts: { actionInformationalMessage: "If there is one search result, execution will take the '%1$s' output with the matching External Contact as the first element in the specified External Contact Results collection.", externalContactResults: "External Contact Results", searchTermDescription: "A string representation of the phone number, email address or Twitter handle of the contact." }, secureData: { extractWarning: "I acknowledge by use of this action that sensitive information may be logged. I intend to extract this data and use it in a non-secured manner.", extractWarningAcknowledgement: "'%1$s' acknowledged the security risk with using this action on %2$s.", extractWarningAcknowledgementInvalidUser: "'%1$s' acknowledged this security risk on %2$s but that user is no longer valid. A new acknowledgment is required.", extractWarningValidationError: "Secure data risk acknowledgement has not been checked.", flowIndicatorTooltip: "This flow uses secure data. Click to search for all usages...", notUsingSecureDataWarning: "There is no secure data being read. This action is meant to work with secure data.", notUsingSecureData: "Action is not referencing any secure data", resetAcknowledgementTitle: "Reset Acknowledgement", resetAcknowledgementMessage: "Are you sure you want to reset the secure data acknowledgement?", secureDataIndicatorTooltip: "This action uses secure data", secureDataIndicatorFlowTooltip: "This flow uses secure data", secureVariable: "This variable is secure", variableInputCannotBeSecure: "Input variables cannot be set to secure", variableOutputWarning: "Output variables cannot be set to secure", secureItemSearch: "Secure Item Search", secureData: "Secure Data" }, sendAutoReply: { sendAutoReplyOptions: "Additional Options", sendBcc: "Bcc Addresses", sendBccDescription: "Bcc EmailAddresses to include on the email.", sendBody: "Message Body", sendBodyDescription: "HTML message body for the email.", sendCc: "Additional Cc Addresses", sendCcDescription: "Additional Cc EmailAddresses to include on the email.", senderOnly: "Reply to Sender", senderOnlyDescription: "Only the original sender is included in the To list. No initial Cc list is included.", sendFrom: "Override From", sendFromDescription: "An EmailAddress override for the default 'from' address for the route. If specified, it should match the configured route's domain.", sendReplyTo: "Override Reply To", sendReplyToDescription: "An EmailAddress override for the default 'reply-to' address for the route.", sendReplyToOptions: "Reply Configuration", sendToAll: "Reply to All", sendToAllDescription: "The initial To and Cc lists includes all recipients from the original email." }, sendInteractiveApplication: { applicationName: "Application Name", applicationNamePlaceholder: "Enter an Application Name", applicationUrl: "Application URL", applicationUrlPlaceholder: "Enter an Application URL", receivedMessage: "Received Message", sendApplicationSupportNoteApple: "Send Application is only available for Apple Messages for Business. Using it on other channels will take the failure path.", titlePlaceholder: "Enter a Title" }, sendKnowledgeFeedback: { knowledgeArticleLabel: "Knowledge Article", knowledgeArticleDescription: "The Knowledge Base Document to send feedback on.", knowledgeSearchIdLabel: "Knowledge Search ID", knowledgeFeedbackLabel: "Knowledge Feedback", knowledgeFeedbackDescription: "Provide feedback for associated Knowledge Articles.", negative: "Negative", negativeDescription: "Send negative feedback.", positive: "Positive", positiveDescription: "Send positive feedback.", knowledgeSettingAlert: "This action is unavailable for this knowledge type. Use session-level variables or answer controls instead. This action will automatically use the Failure action path." }, sendNotification: { chatMessageDescription: "The chat message to send to the group.", chatMessageLabel: "Chat Message", defaultEmailStyle: "Default Email Style", defaultEmailFromAddress: "Default Email From", useDefaultEmailFromAddress: "Use 'no-reply@[region].com'", emailNotificationStyleLabel: "Email Notification Style", emailNotificationStyleDescription: "This specifies the email format to use when sending the email. If this setting value at flow runtime evaluates to a value other than one of the allowable values, 'plain' will be used.", emailFromLabel: "Email From", emailFromDescription: "The email address to use as the sender of the email for an email notification. If the value evaluates to NOT_SET, a default of email address of 'no-reply@[region].com' will be used. If the provided email address is SET, and the domain is not a Genesys Cloud verified domain, the action will take the failure path.", emailStyleHtmlLabel: "HTML", emailStylePlainLabel: "Plain", errorTypeLabel: "Error Type", errorMessageLabel: "Error Message", noNotificationBody: "No Body", noNotificationSubject: "No Subject", notificationBodyLabel: "Notification Body", notificationBodyDescription: "This is the contents to use for the notification. For example, if the notification type is 'email' this will be the body of the email that is sent. If a NOT_SET String is provided for this property, an empty/blank String will be used.", notificationSubjectLabel: "Notification Subject", notificationSubjectDescription: "The notification subject. For example, if the notification type is 'email' this will be the subject of the email that is sent. If a NOT_SET String is provided for this property, an empty/blank String will be used.", notificationTypeChatLabel: "Chat", notificationTypeDescription: "This specifies the type of notification that should be sent.", notificationTypeEmailLabel: "Email", notificationTypeLabel: "Notification Type", sendToGroupDescription: "The group to send a chat message to.", sendToGroupLabel: "Send to Group", sendToUsersLabel: "Send to Users", sendToUsersDescription: "This collection specifies Genesys Cloud user recipients of the notification. If the collection is NOT_SET, the flow will invoke error handling. If the collection contains an amount of Users outside the minimum and maximum items range, the action will take the failure path. If the User collection contains a NOT_SET User, that User will be ignored. If the User collection contains only NOT_SET Users, the action will take the failure path." }, sendResponse: { messageBodyStyleDescription: "An optional setting that the chat client can use to visually differentiate messages.", messageBodyStyleLabel: "Message Style", messageBodyStyleWatermark: "Select the style of message to send", noMessageBodyStyle: "No message style selected", messageBodyStyleNotice: "Notice", messageBodyStyleStandard: "Standard", messageBodyStyles: "The available message styles.", sendBody: "Message Body", sendBodyDescription: "The plain text message body for the response." }, sendRichLink: { body: "Body", bodyDescription: "The body text of the rich link message.", footer: "Footer", footerDescription: "The footer text of the rich link message.", footerNoValueRuntimeEvalStr: "Do not send a footer", footerNoValueSelectionLabel: "No Footer", headerImage: "Header Image", headerImageDescription: "The header image of the rich link message.", headerText: "Header Text", headerTextDescription: "The header text of the rich link message.", headerType: "Header Type", headerTypeDescription: "The header type of the rich link message.", headerTypeImageChoice: "Image", headerTypeNoValueRuntimeEvalStr: "Do not send a header", headerTypeNoValueSelectionLabel: "No Header", headerTypePlaceholder: "Select a header type value", headerTypeTextChoice: "Text", showNote: "Send Rich Link is currently only available for WhatsApp.", uiPanelDescription: "Configure rich link message", uiPanelName: "Rich Link Message", urlInvalidWarning: "A message containing an invalid URL will take the failure path if one is configured.", urlLabel: "URL Label", urlLabelDescription: "The URL label of the rich link message.", urlValue: "URL Value", urlValueDescription: "The URL for the rich link message." }, states: { editState: "Edit State", multipleNames: "Another state has the same name", noTerminatingAction: "The state does not contain a terminating action", states: "States" }, botStates: { goToBotState: "Go to Bot", noTerminatingAction: "The bot does not contain a terminating action" }, switch: { addCase: "Add Case", caseNum: "Case %1$s", casesHeader: "Cases (%1$s)", default: "Default", defaultCase: "Default Case", defaultCaseDescription: "This path will be taken if no other cases apply.", evaluationStyle: "Evaluation Style", expressionTypeInvalid: "Expression type of %1$s cannot be used for Switch statement", firstTrueCase: "Take path of first case that returns True", literalValuesWillReset: "Any literal values will be reset.", matchExpression: "Take path of first case that matches an expression", mustChangeType: "You must change the cases' types to match the Switch Expression's type.", switchCases: "Change cases to %1$s" }, flowInvokingEvents: { unknownFlowInvokingEvent: "The event '%1$s' has no description.", workitemCreatedDescription: "This is the event type for a workitem when it is created.", workitemDateBasedEventDescription: "This is the event type for a workitem when a date-based event occurs.", workitemStatusChangedDescription: "This is the event type for a workitem when its status changes." }, submitVoiceSnippet: { destinationVoiceSnippetIdDescription: "For destinations that return an output ID upon successful Voice Snippet submission, this output setting can be used to bind to that returned ID at flow runtime. If the submission is not successful, any value specified on this setting is left alone. This setting is only enabled when the currently selected destination supports returning an ID.", destinationVoiceSnippetIdLabel: "Destination ID", voiceSnippetDestinationLabel: "Destination", voiceSnippetDestinationDescription: "The destination where the Voice Snippet should be submitted.", voiceSnippetServiceLabel: "Voice Snippet Service", voiceSnippetToSubmitDescription: "The Voice Snippet to submit at runtime. If the value is a NOT_SET Voice Snippet, execution will take the '%1$s' output at runtime.", voiceSnippetToSubmitLabel: "Voice Snippet", voicemailServiceLabel: "Voicemail Service" }, systemVariables: { callAni: "The caller\u2019s origination phone number for the active call. ( Automatic Number Identification )", callContactId: "The ID of contact to whom this flow is connected.", callConversationId: "The conversation ID for the active call", callCalledAddress: "The called address that caused this flow to be entered. For a new inbound call, this value is the same as Call.CalledAddressOriginal, but changes for a flow entered by a transfer, for example.", callCalledAddressOriginal: "The called address received when the call first entered the system; typically the phone number dialed by the caller to reach the system. For a given call, this value should never change.", callCurrentQueue: "Reflects the current queue for the call.", callEstimatedWaitTime: "The current queue estimated wait time for the call.", callExternalTag: "The external tag for the active call.", callPositionInQueue: "The current position in queue for the call.", callRemoteName: "Remote name for the active call", chatConversationId: "The conversation ID for the active chat.", chatGuest: "The guest associated with this chat.", chatJourneyContext: "The journey context associated with this chat.", conversationPriorityVariableDescription: "This variable holds the current priority of the conversation. The priority value will be greater than or equal to -25,000,000 and less than or equal to 25,000,000. If the priority cannot be determined or is not applicable for the running flow instance this returns a NOT_SET Integer.", conversationACDSkillsVariableDescription: "This variable holds the ACD skills for the conversation.", conversationLanguageSkillVariableDescription: "This variable holds the language skill for the conversation.", emailConversationId: "The conversation ID for the active email.", emailCurrentQueueVariableDescription: "Reflects the current queue for the email.", emailDraftConversationId: "The conversation ID for the draft email.", emailDraftCurrentQueueVariableDescription: "Reflects the current queue for the draft email.", emailDraftVariableDescription: "The draft email as it existed when the flow began.", emailEstimatedWaitTimeVariableDescription: "The current queue estimated wait time for the email.", emailPositionInQueueVariableDescription: "The current position in queue for the email.", emailExternalTag: "The external tag for the active email.", emailMessage: "The email associated with this flow.", emailLanguageSkill: "The language skill associated with the active email.", externalContactId: "The External Contact identifier of the external participant on the conversation. If not available, this will be a NOT_SET String.", flowCampaign: "The Campaign for this flow.", flowContact: "The contact to whom this flow is connected.", flowContactList: "Contact list for this flow", flowInvocationData: "The invocation data supplied when launching the flow.", flowIsTest: "Indicates whether or not the flow is running in debug mode.", flowStartTime: "The UTC datetime when the flow started execution", flowVersion: "The version of the active flow", flowWrapupCode: "The flow Wrapup Code", infoCurrencies: "List of currencies", infoDateTimes: "List of datetimes", infoLanguages: "List of languages", infoRegions: "List of regions", interactionId: "The ID of the active interaction", interactionLanguage: "The lower case IETF language tag for the language in which the flow is currently running. If there is no current flow language, this returns a NOT_SET String.", invocationData: "The invocation data supplied by the 'Set Post-Flow' action for the launched flow. If no invocation data is available, this returns a NOT_SET JSON value.", lastCollectionModeDescription: "The collection mode for the participant's most recent input. This value is overwritten each time the participant provides new input. If there has been no input, this will be a NOT_SET String. Valid values are %1$s.", maxDate: 'The maximum value allowed for a Date, which is December 31st, 2200 ("2200-12-31")', maxDateTime: 'The maximum value allowed for a Date Time, which is December 31st, 2200 at 11:59:59.999PM ("2200-12-31T23:59:59.999Z")', maxDuration: "The maximum value allowed for a Duration, which is 999999999999999 milliseconds (11574074 days, 1 hour, 46 minutes and 39.999 seconds)", maxInt: "The maximum value allowed for an Integer, which is %1$s", maxTime: 'The maximum value allowed for a Time, which is 11:59:59.999PM ("23:59:59.999")', menuLastCollectionNoMatch: "Returns whether or not customer/external participant input did not match a menu choice. At runtime this returns a NOT_SET Boolean if flow execution has not solicited any menu choice input yet.", menuLastCollectionNoInput: "Returns whether or not there was no customer/external participant input detected for a menu choice when handling the last menu or sub-menu configured on the flow. At runtime this returns a NOT_SET Boolean if flow execution has not solicited any menu choice input yet.", messageCurrentQueueVariableDescription: "Reflects the current queue for the message.", messageEstimatedWaitTimeVariableDescription: "The current queue estimated wait time for the message.", messagePositionInQueueVariableDescription: "The current position in queue for the message.", messagingConversationId: "The conversation ID for the active message.", messageExternalTag: "The external tag for the active message.", messagingIsAuthenticated: "Indicates whether or not the message is in an authenticated conversation.", messagingIsNewConversation: "Indicates whether or not the message is in a new conversation.", messageJourneyContextVariableDescription: "The journey context associated with this message. If no journey context is available, this returns a NOT_SET Journey Context.", messageMessage: "The message associated with this flow.", minInt: "The minimum value allowed for an Integer, which is %1$s", minDate: 'The minimum value allowed for a Date, which is January 1st, 1800 ("1800-01-01")', minDateTime: 'The minimum value allowed for a Date Time, which is January 1st, 1800 at 12:00:00AM ("1800-01-01T00:00:00.000Z")', minDuration: "The minimum value allowed for a Duration, which is -999999999999999 milliseconds (-11574074 days, -1 hour, -46 minutes and -39.999 seconds)", minTime: 'The minimum value allowed for a Time, which is 12:00:00AM ("00:00:00.000")', sessionActiveIntent: "The currently active intent for the session. If there is no current intent, this will be a NOT_SET String.", activeOutputMode: "The active mode for media output. Valid values are 'voice' and 'text'", sessionChannelType: "The channel type of the conversation associated with this bot flow instance. Valid values are 'call', 'chat' or 'messaging'.", sessionChannelTypeVoiceSurvey: "The channel type of the conversation associated with this voice survey flow instance. It has one valid value: 'call'.", sessionConversationId: "The ID of the conversation associated with this bot flow instance.", sessionConversationIdVoiceSurvey: "The ID of the conversation associated with this voice survey flow instance.", sessionLastCollectionConfidence: "The confidence level from the speech to text engine for the participant's most recent utterance in an '%1$s' action, excluding those for built-in confirmation or disambiguation questions. If there has been no such utterance, this will be a NOT_SET Decimal. Otherwise the value will be in the inclusive range of 0.0 to 1.0.", sessionLastCollectionConfidenceVoiceSurvey: "The participant\u2019s most recent utterance confidence in an '%1$s' action or an Ask Survey Question action, excluding those for built-in confirmation or disambiguation questions. If there has been no such utterance, this will be a NOT_SET Decimal. Otherwise the value will be in the inclusive range of 0.0 to 1.0.", sessionLastCollectionUtterance: "The participant\u2019s most recent utterance in an '%1$s' action, excluding those for built-in confirmation or disambiguation questions. If there has been no such utterance, this will be a NOT_SET String.", sessionLastCollectionUtteranceVoiceSurvey: "The participant\u2019s most recent utterance in an '%1$s' action or an Ask Survey Question action, excluding those for built-in confirmation or disambiguation questions. If there has been no such utterance, this will be a NOT_SET String.", sessionLastCompletedIntent: "The name of the intent that was active in the most recently completed '%1$s' action. If no '%1$s' actions have completed yet, this will be a NOT_SET String.", sessionLastKnowledgeAnswer: "The answer wording of the last Knowledge question whose answer was surfaced to the participant.", sessionLastKnowledgeGenerated: "The answer wording of the last Knowledge question whose answer was generated for the participant.", sessionLastKnowledgeQuestion: "The question wording of the last Knowledge question whose answer was surfaced to the participant.", sessionLastKnowledgeSearchId: "This ID uniquely identifies the Knowledge search request that was made during the most recently completed 'Digital Menu' or 'Wait for Input' action execution during its processing to get Knowledge Base Documents.", sessionLastNLUCollectionConfidence: "The confidence level from the NLU engine for the participant's most recent utterance in an '%1$s' action, excluding those for built-in confirmation or disambiguation questions. If there has been no such utterance, this will be a NOT_SET Decimal. Otherwise the value will be in the inclusive range of 0.0 to 1.0", sessionSource: "The type of application or mechanism that the end user is employing to communicate with the bot. Valid values are 'apple', 'applebusinesschat', 'discord', 'facebookmessenger', 'genesyschatwidget', 'line', 'phone', 'signal', 'slack', 'telegram', 'webchat', 'whatsapp' or 'unknown' if not one of the previous values.", sessionSourceVoiceSurvey: "The type of application or mechanism that the end user is employing to communicate with the voice survey. It has one valid value: 'phone'.", surveyForm: "The Survey Form associated with this flow.", workitem: "The workitem associated with this flow.", workitemEventType: "The workitem event type that started this flow. Valid values for event types can be found in Workitem Flow settings. If an event was not responsible for the flow instance, this will return a NOT_SET String.", workitemOriginal: "The workitem as it existed prior to the event that caused this flow instance to run.", voicemailDebugEntityTypeDescription: "If debug is enabled for the flow, this variable indicates which voicemail entity should be used when testing. A value of '%1$s' tells the flow runtime to use the Group value specified in the Voicemail.DebugGroup variable for the voicemail entity. A value of '%2$s' tells the flow runtime to use the Queue value specified in the Voicemail.DebugQueue variable for the voicemail entity. A value of '%3$s' tells the flow runtime to use the User value specified in the Voicemail.DebugUser variable for the voicemail entity. If the value is NOT_SET, this tells the flow runtime to use no voicemail entity when testing. This is typically used to ensure that changes to flow logic will handle the case of no voicemail entity being available at voicemail flow runtime.", voicemailDebugEntityTypeNoValueLabel: "No Voicemail Entity", voicemailDebugGroupDescription: "If debug is enabled for the flow and the Voicemail.DebugEntityType variable value is '%1$s', this specifies the Group that should be used at flow runtime when testing.", voicemailDebugQueueDescription: "If debug is enabled for the flow and the Voicemail.DebugEntityType variable value is '%1$s', this specifies the Queue that should be used at flow runtime when testing.", voicemailDebugUserDescription: "If debug is enabled for the flow and the Voicemail.DebugEntityType variable value is '%1$s', this specifies the User that should be used at flow runtime when testing.", voicemailEntityGreetingAudioDescription: "Returns an Audio value for the voicemail greeting of the entity for which the voicemail flow is running. If no entity is available or no voicemail greeting audio is available for the entity, a NOT_SET Audio value is returned.", voicemailEntityNameAudioDescription: "Returns an Audio value for the name of the entity for which the voicemail flow is running. If no entity is available or no entity name audio is available for the entity, a NOT_SET Audio is returned.", voicemailEnabledDescription: "Returns whether or not voicemail is enabled for the entity for which the voicemail flow is running. If no entity is available, this returns false.", voicemailEntityNameDescription: "The name of the entity for which the voicemail flow is running. For example, if the voicemail flow is running for a queue, this will return the name of the queue.", voicemailEntityTypeDescription: "The type of entity for which the voicemail flow is running. Valid values are 'group', 'queue' or 'user'.", voicemailGroupDescription: "If the voicemail flow is running on behalf of a group, this variable will provide information about the group. Otherwise it will be a NOT_SET Group.", voicemailQueueDescription: "If the voicemail flow is running on behalf of a queue, this variable will provide information about the queue. Otherwise it will be a NOT_SET Queue.", voicemailUserDescription: "If the voicemail flow is running on behalf of a user, this variable will provide information about the user. Otherwise it will be a NOT_SET User.", voicemailVoicemailSnippet: "The voicemail snippet for the voicemail flow." }, channelTypes: { call: "Calls", chat: "Chats" }, outputModes: { text: "Text", voice: "Voice" }, language: { infoSupportsDataPlayback: "Supports runtime data playback: %1$s", infoSupportsSpeechRec: "Supports speech recognition: %1$s", infoSupportsTextToSpeech: "Supports text to speech: %1$s", selectOne: "Select a language", label: "Language", labelAndTagDisplayStr: "Language: %1$s", infoSupportsDataPlaybackSupported: "Supports runtime data playback", infoSupportsSpeechRecSupported: "Supports speech recognition", infoSupportsTextToSpeechSupported: "Supports text to speech", infoSupportsDataPlaybackNotSupported: "Does not support runtime data playback", infoSupportsSpeechRecNotSupported: "Does not support speech recognition", infoSupportsTextToSpeechNotSupported: "Does not support text to speech", infoSupportsTextToSpeechNotSupportedFlexibleTTS: "Does not natively support text to speech" }, processVoicemailInput: { processVoicemailInputInfoMessage: "If a voicemail is collected, execution takes the '{{branch.__VOICEMAIL__}}' output and the Voicemail Snippet is saved to the '{{variable.__VOICEMAIL_VOICEMAIL_SNIPPET__}}' variable. The maximum time allowed for a Voicemail Snippet is 3 minutes.", processVoicemailInputInfoMessageWithMaxRecordingTime: "If a voicemail is collected, execution takes the '{{branch.__VOICEMAIL__}}' output and the Voicemail Snippet is saved to the '{{variable.__VOICEMAIL_VOICEMAIL_SNIPPET__}}' variable. The maximum time allowed for a Voicemail Snippet is determined by the {{link.__ORGANIZATION_SETTINGS__}}." }, collectVoiceSnippet: { voiceSnippetLabel: "Voice Snippet", voiceSnippetDescription: "The Voice Snippet itself if the action is successful. If not successful, the bound output variable value will be left untouched.", voiceSnippetDurationLabel: "Voice Snippet Duration", voiceSnippetDurationDescription: "The audio Duration of the Voice Snippet if the action is successful. If not successful, the bound output variable value will be left untouched.", maxVoiceSnippetTimeLabel: "Maximum Voice Snippet Time", maxVoiceSnippetTimeDescription: "The maximum time allowed for Voice Snippet. If the setting value resolves to a NOT_SET Duration at flow runtime, the default of 3 minutes will be used." }, languageSkill: { placeholder: "Select a language skill" }, literal: { dialingCode: "Dialing Code", dialingScheme: "Scheme", empty: "", enterNumber: "Enter a number", phoneNumber: { noExpressionLabel: { errorNoSchemeType: "There is no phone number scheme (tel:, sip: or sips:) set.", errorNoDialingCode: "There is no phone number dialing code.", errorNoNumber: "There is no number specified in the phone number.", errorInvalidSipUri: "The phone number has an invalid SIP URI.", errorInvalidNumber: "The phone number has an invalid E.164 format." }, withExpressionLabel: { errorNoSchemeType: "There is no phone number scheme (tel:, sip: or sips:) set for %1$s", errorNoDialingCode: "There is no phone number dialing code set for %1$s", errorNoNumber: "There is no number specified in the phone number for %1$s", errorInvalidSipUri: "The phone number has an invalid SIP URI for %1$s", errorInvalidNumber: "The phone number has an invalid E.164 format for %1$s" } }, increaseNumericTooltip: "Press to increase by %1$s, hold shift to increase by %2$s", decreaseNumericTooltip: "Press to decrease by %1$s, hold shift to decrease by %2$s", toExpressionModeTooltip: "Editor is in literal mode, click to enter an expression.", watermarkNoContext: "Enter value", watermarkPhoneNumber: "Enter phone number", watermarkSipUri: "Enter SIP URI" }, legacyRouting: { actionCallTask: 'Call "Find Legacy Queue" task', actionDecisionFoundFieldName: "Legacy routing custom field found?", actionDecisionFoundQueueName: "Legacy queue found?", actionDecisionFoundQueueStringIdOrName: "Queue ID/name found?", actionDecisionFoundQueueStringName: "Queue name found?", actionUpdateDataQueueStringIdOrName: "Save queue ID/name to variable", actionUpdateDataQueueStringName: "Save queue name to variable", actionFindQueueId: "Find queue based on ID", actionFindQueueName: "Find queue based on name", actionTransferToACDName: "Transfer to found queue", actionLoopName: "Loop through Chat.Guest.customFields", legacyRoutingOffAlert: "Architect no longer includes legacy queue routing functionality for newly-created Inbound Chat Flows.", legacyRoutingOnAlert: "When you create a new Inbound Chat Flow, Architect adds a task and actions with default logic to honor legacy queue routing for chats.

You may safely remove the task and actions if legacy queue routing is not needed in the flow, or edit the default logic as needed.", taskName: "Find Legacy Queue" }, loop: { count: "Loop Count", index: "Index", indexDataName: "Current Index Data Name", lessThanOne: "A Loop Count less than one will skip the loop action", loops: "Loops", notInLoop: "This action must be within a loop path.", terminating: "The loop path cannot be terminating" }, loopUntil: { taskEditorCheckUntilBox: "Check Until", exitWhenUntilCriteriaMet: "Exit when Until Case criteria is met", maxLoopCount: "Maximum Loop Count", noLoopIndexVariableSpecified: "No loop index variable specified", untilCaseLabel: "Until Case", untilCasesLabel: "Until Cases", noUntilCasesDefined: "No Until Cases defined", addUntilCase: "Add Until Case", untilCaseNameLabel: "Until Case Name %1$s", untilCaseConditionLabel: "Until Case Condition" }, menu: { createNameLabel: "Menu Name", createMenu: "Create New Menu", defaultMenuSettings: "Default Menu Settings", defaultChoiceNotValid: "Default menu choice is not valid", defaultMenuChoice: "Default Menu Choice", defaultMenuPlaceholder: "None ( disconnect the interaction )", editMenu: "Go to Menu", extDialDelayTooBigError: "The maximum delay for extension dialing should be less than the time to wait before repeating", extensionDialingMaxDelay: "Maximum delay for extension dialing", initialAudioLabel: "Menu Prompt", invalidReference: "There is an invalid menu reference set", label: "Menu", menuOptionsLabel: "Menu Options", menuSelectionTimeout: "Menu selection timeout", menuSelectorWatermark: "Select a menu", multipleNames: "Another menu has the same name", newDefaultName: "New Menu %1$s", noMenuChoices: "There are no menu choices", noReference: "There is no menu set", promptRepeatCount: "Number of times to repeat menu", promptRepeatDelayTooSmallError: "The time to wait before repeating should be greater than the maximum delay for extension dialing", transferTo: "Menu", useExtensionDialing: "Listen for extension dialing", menuAccess: "Menu Access" }, menuChoice: { duplicateDtmf: "DTMF (%1$s) is used in two or more menu choices at this menu level", duplicateDtmfGlobal: "DTMF (%1$s) is used in two or more menu choices in this flow", dtmfInUseGlobal: "Digit is used in another menu", dtmfInUseWithSwap: "Digit is in use in this menu ( 'shift + click' to swap)", dtmfInUse: "Digit is in use in this menu", dtmfSelector: "DTMF", duplicateSpeechTerms: "Duplicate speech recognition terms: [%1$s]", globalDtmf: "DTMF goes to this menu choice from any menu", globalSpeechAndActionError: "Global speech recognition terms are not allowed when the flow contains an action of type '%1$s'", globalSpeechRec: "Speech recognition terms go to this menu choice from any menu", noDtmfOrSpeechRec: "Each menu choice must have DTMF or speech recognition terms for each supported language", noDtmfWithDisabledSpeechRec: "Each menu choice must have DTMF when speech recognition is disabled" }, editFlow: { addFlowToBegin: "Add a flow to begin", create: "Create Flow", createFlowTyped: "Create '%1$s'", editFlowTitle: "Edit Flow Information", descWatermark: "Description for flow", defaultLanguage: "Default Language", divisionDescriptionAddFlow: "To add a flow in a division, the following permissions are required in that division.", divisionDescriptionEditFlow: "To change the division of a flow, the following permissions are required in the destination division.", flowNameInvalidCharacter: "Flow name cannot contain the '/' character.", flowNameIsInvalidMessageNoAlphaNumericError: "Flow name must contain at least one alphanumeric character.", flowNameWatermark: "Name for flow", flowNameCannotBeBlank: "Flow name cannot be blank.", nameDescChangeWarning: "Changes to name and description apply to all versions of the flow.", noDebugPostfix: "Flow name cannot end in '-debug'", saveAndProceed: "Save and Proceed", saveAs: "Save Flow As", saveChanges: "Save Changes", saveFlow: "Save Flow", secureCallFlowAgentInitiatedLabel: "Is this an agent-initiated Secure Call Flow?", secureCallFlowAgentInitiatedTrue: "Yes, it will only be initiated by agents.", secureCallFlowAgentInitiatedFalse: "No, other call flows will initiate this secure flow using the 'Transfer to Secure Flow' action.", viewExampleFlowsInfo: "Quick start example flows to boost your productivity", viewExampleFlowsLabel: "View Example Flows" }, properties: { common: { featureToggleUnavailble: "This requires a feature that is not available.", flowReadOnly: "The flow is read only." }, variable: { common: { set: { cannotSetIsSchemaInput: "Cannot change because this variable is marked as an input in a published version of the flow.", cannotSetIsSchemaInputOutput: "Cannot change because this variable is marked as an input / output in a published version of the flow.", cannotSetIsSchemaOutput: "Cannot change because this variable is marked as an output in a published version of this flow." }, support: { notSupportedInputVariableScope: "'%1$s' scoped variables cannot used as inputs in flows of type '%2$s'.", notSupportedOutputVariableScope: "'%1$s' scoped variables cannot used as outputs in flows of type '%2$s'." }, variableIsReadOnly: "The variable is read only." }, isInput: { support: { notSupportedTypeNotValidAsFlowInput: "The variable type '%1$s' cannot be used as an input to flows of type '%2$s'." } }, isOutput: { support: { notSupportedTypeNotValidAsFlowOutput: "The variable type '%1$s' cannot be used as an output to flows of type '%2$s'." } }, secure: { support: { notSupportedNoSecureVariables: "Secure variables are not supported in flows of type '%1$s'." } } } }, stringBodyHandlingTypes: { stringBodyHandlingTypeConvertToHtmlLabel: "Convert to HTML", stringBodyHandlingTypeConvertToHtmlDescription: "Convert formatting in the String to HTML.", stringBodyHandlingTypeConvertToMarkdownLabel: "Convert to Markdown", stringBodyHandlingTypeConvertToMarkdownDescription: "Convert formatting in the String to Markdown.", stringBodyHandlingTypeNoneDescription: "Default String handling for flow type.", stringBodyHandlingTypeRemoveAllFormattingLabel: "Remove All Formatting", stringBodyHandlingTypeRemoveAllFormattingDescription: "Remove all formatting from the String." }, missingRequiredProducts: { flowType: { unavailable: "The flow type of '%1$s' is not available." } }, previousMenu: { noMenus: "There are no menus in this flow for Previous Menu to return to.", inStartupError: "This action is invalid when used in the Starting Task because there is no menu to return to." }, abortSurvey: { dispositionLabel: "Disposition", dispositionWatermark: "Select the disposition status", dispositionError: "Error", dispositionOptOut: "Opt Out", noDisposition: "No disposition selected" }, completeSurvey: { inviteBodyDescription: "The contents of the initial invite sent to the survey invitee. This is typically provided through a variable which contains the output from a Get Response action.", inviteBodyLabel: "Invite Body", inviteSubjectDescription: "The subject line of the initial invite sent to the survey invitee.", inviteSubjectLabel: "Invite Subject", reminderBody: { description: "The contents of the reminder email sent to the survey invitee.", label: "Reminder Body", noValue: { runtimeStr: "No reminder body specified", selectionLabel: "No body" } }, reminderSubject: { description: "The subject line of the reminder email sent to the survey invitee.", label: "Reminder Subject", noValue: { runtimeStr: "No reminder subject specified", selectionLabel: "No subject" } }, targetAddressDescription: "The address used to contact the survey invitee; usually it will be an email address", targetAddressLabel: "Target Email Address", targetAddressTypeLabel: "Target Address Type", validation: { reminderMustHaveSubjectAndBody: "Both the reminder subject and body must have a value specified or no value specified to be valid." } }, returnToAgent: { helpText: "This action should only be used in secure call flows initiated by an agent and not a Transfer to Secure Flow action. See Help for more details.", reasonCodeLabel: "Reason Code", reasonCodeWatermark: "Enter an exit reason code or short description" }, screenPop: { chatScript: "inbound chat script", emailScript: "email script", screenPopScript: "screen pop script", shortMessageScript: "inbound message script", noInputs: "The selected %1$s has no inputs.", selectedScreenPop: "Screen Pop Script", selectedChatScript: "Chat Script", selectedEmailScript: "Email Script", selectedShortMessageScript: "Message Script", selectScript: "Select a %1$s", scriptNotFound: "The selected %1$s could not be found.", scriptMissingFeature: "The selected '%1$s' is missing the '%2$s' script property feature.", mustSelectScript: "A %1$s must be selected.", savedVersionOfScript: "Flow is referencing a cached version of this %1$s. The %1$s may be out of date or deleted.", scriptProperties: { scriptPropertyCallback: "Callback", scriptPropertyChat: "Chat", scriptPropertyEmail: "Email", scriptPropertyMessage: "Message", scriptPropertyScreenPop: "Inbound" } }, scripts: { noInputs: "The selected script has no inputs.", selectWatermark: "Select a script", scriptNotFound: "The selected script could not be found.", scriptMissingFeature: "The selected script is missing the required script property feature.", savedVersionOfScript: "Flow is referencing a cached version of this script. The script may be out of date or deleted." }, setAttributes: { attribute: "Attribute", addAttributeButton: "Add attribute to set", noAttributesDefined: "No attributes defined", applyWarning: "Changes to participant data will not be available in the cloud until the flow ends.", nameLabel: "Attribute Name %1$s" }, setConversationData: { conversationDescription: "The conversation ID to set participant data on.", conversationLabel: "Conversation ID", participantDescription: "If supplied, the participant data of the specified participant is used. In most cases, this can remain unspecified or NOT_SET and the customer/external participant is used.", participantLabel: "Participant ID" }, setExternalTag: { externalTagSettingLabel: "External Tag" }, search: { contains: "Contains", clearSearchResults: "Clear search results", exact: "Exact", filteredOutItemOne: "One item filtered out due to incompatible data.", filteredOutItemsMoreThanOne: "%1$s items filtered out due to incompatible data.", flowDescription: "The description of the flow", id: "The ID for %1$s", langCodeDescription: "A supported language code", languageDescription: "A supported language", name: "The name of the %1$s", noResults: "No results found", atMax: "More items are available. Please use the search box to search for more results.", promptDescription: "The description of the prompt", searchTypes: "Search types dropdown", startsWith: "Starts With", lastSearchTime: "Last Search: %1$s", variableDescription: "The description of the variable", searchWatermark: "Search flow" }, setIntent: { nluMustHaveOneIntentToSetIntent: "There must be at least one intent defined in the bot's Natural Language Understanding configuration if you want to set an intent." }, setLocale: { defaultLanguageLocked: "The default language cannot be changed in this flow type", addLanguage: "Add Language", addLanguageWithIcon: "Language", defaultLanguageError: "Language is not in supported languages", filterLanguages: "Search languages", genericLanguageError: "Language %1$s cannot be used because it does not have a region sub-tag.", headerDefault: "Default", headerDefaultTitle: "Default Flow Language", headerLanguage: "Language", headerLanguageTitle: "Languages the flow can run in", headerSkill: "Default Language Skill", headerSkillTitle: "Default language skill used for Transfer to ACD", invalidLocale: "Invalid value for language", locale: "Language", localeWatermark: "Select language", moreLanguages: "More languages...", multilingualSupportUnavailable: "This flow type only allows for 1 supported language to be configured", noSupportedLanguages: "Select at least one language to support", noDefaultLanguage: "There is no default language set", removeLanguage: "Remove language", resetTitle: "Reset fallback language to its default", runtimeLangDisplayError: "Indicates the language does not support runtime data playback, speech recognition or text to speech.", runtimeLangDisplayErrorFlexibleTTS: "Indicates the language does not support runtime data playback, speech recognition or native text to speech.", search: "Search languages", selectLanguage: "Select Language", skillMappingName: "Language Skill for %1$s", supportedLanguages: "Supported Languages", useLanguage: "Use Language", warning: "This language change will take effect after the task ends.", warningAutomate: "The language change is immediate and only applies to this flow instance.", warningImmediate: "The language change is immediate." }, setPriority: { setPriorityLabel: "Priority", setPriorityDescription: "If the priority value is outside the allowable range or NOT_SET Integer, execution takes the '{{branch.__FAILURE__}}' path at runtime. Otherwise, if successful, execution will update the '{{variable.__CONVERSATION_PRIORITY__}}' variable.", setPriorityDescriptionWorkitemFlow: "If the priority value is outside the allowable range or a NOT_SET Integer, execution takes the '{{branch.__FAILURE__}}' path at runtime. Otherwise if successful, execution takes the '{{branch.__SUCCESS__}}' output path and the 'Priority' property of '{{variable.__WORKITEM_WORKITEM__}}' variable will reflect the priority value." }, setPostFlow: { actionType: "Action Type", actionDescription: "Pick the type of follow-up action you want to trigger after the interaction ends.", anyDisplayString: "Any", calleeDisplayString: "Agent", callerDisplayString: "Caller", postFlowActionClearedOnSecureTransfer: "When a conversation is transferred to a Secure Flow - either in this flow or a later one - any Post-Flow actions that were set will be cleared.", target: "Target", targetPlaceholder: "Select a Post-Flow target", targetTypeDescription: "Select who this post-flow will apply to.", agentDisplayString: "Agent", senderDisplayString: "Sender", postFlowDescription: "Pick the type of follow-up action you want to trigger after the interaction ends.", invocationDataDescription: "JSON data to pass to the flow that is triggered after the interaction ends." }, setSkills: { setACDSkillsLabel: "ACD Skills", setACDSkillsDescription: "The ACD Skills to set on the conversation. If the value is an empty collection, any existing ACD Skills will be removed from the conversation. Execution takes the '{{branch.__FAILURE__}}' path at runtime if the value cannot be set on the conversation. Otherwise if successful, execution takes the '{{branch.__SUCCESS__}}' output path at runtime and the '{{variable.__CONVERSATION_ACD_SKILLS__}}' variable will be updated to reflect the new ACD Skills.", setACDSkillsDescriptionWorkitemFlow: "The ACD Skills to set on the workitem. If the value is an empty collection, any existing ACD Skills will be removed from the workitem. Execution takes the '{{branch.__FAILURE__}}' path at runtime if the value cannot be set on the workitem. Otherwise if successful, execution takes the '{{branch.__SUCCESS__}}' output path at runtime and the 'Skills' property of the '{{variable.__WORKITEM_WORKITEM__}}' variable will be updated to reflect the new ACD Skills.", noValueACDSkills: "Keep current ACD skills", setLanguageSkillLabel: "Language Skill", setLanguageSkillDescription: "The Language Skill to set on the conversation. If the value is a NOT_SET Language Skill, any existing Language Skill will be removed from the conversation. Execution takes the '{{branch.__FAILURE__}}' path at runtime if the value cannot be set on the conversation. Otherwise if successful, execution takes the '{{branch.__SUCCESS__}}' output path at runtime and the '{{variable.__CONVERSATION_LANGUAGE_SKILL__}}' variable will be updated to reflect the new Language Skill.", setLanguageSkillDescriptionWorkitemFlow: "The Language Skill to set on the workitem. If the value is a NOT_SET Language Skill, any existing Language Skill will be removed from the workitem. Execution takes the '{{branch.__FAILURE__}}' path at runtime if the value cannot be set on the workitem. Otherwise if successful, execution takes the '{{branch.__SUCCESS__}}' output path at runtime and the 'LanguageSkill' property of the '{{variable.__WORKITEM_WORKITEM__}}' variable will be updated to reflect the new Language Skill.", noValueLanagugeSkill: "Keep current language skill" }, setUUIData: { disconnectDropDownText: "For Disconnects", transferDropDownText: "For Transfers", mode: "Outgoing UUI Data", noUUIData: "No UUI data will be sent." }, setWhisperAudio: { label: "Whisper Audio", noValueRuntimeEvaluationString: "Use queue configured whisper audio", noValueSelectionLabel: "Use Queue Default", infoMessage: "Whisper audio is set using the current language of the flow when this action executes. Changing the flow language after this action instance will not change previously set whisper audio to the new language." }, setWrapupCode: { wrapupCode: "Wrapup Code", applyWarning: "Changes to the wrapup code will not be available in the cloud until the flow ends." }, skills: { multipleSkillsError: "There are two or more skills with the same value", placeholderSkill: "Select an ACD skill", proficiency: "ACD Skill Proficiency %1$s" }, skillExpressionFilters: { skillExpressionFiltersLabel: "Skill Expression Filters", skillExpressionFiltersResult: "Skill Expression Filters Result", evaluateSkillExpressionFiltersTooltipInfo: "Accepts skill expression strings for validation and normalization. If an expression string is empty, too long, syntactically invalid or references invalid ACD skills or language skills, the result will include error details in the errors property of the returned skill expression filter result and execution will take the Invalid output path. If the action cannot complete, such as when runtime execution limits are exceeded, execution takes the \u2018{{branch.__FAILURE__}}\u2019 output path at flow runtime.", evaluateSkillExpressionFiltersResultTooltipInfo: "Returns the skill expression filters result from the supplied skill expression strings. Individual skill expression filters in the returned collection will contain the original and normalized expressions, referenced ACD and language skills and any error information for the supplied skill expression filter. If errors are present, the normalized expression will fail during routing.", exampleErrorResultsTitle: "Example Error Result Values", setSkillExpressionFiltersTooltipInfo: "Accepts skill expression filters to use for routing. If any of the skill expression filter values are in error or NOT_SET, execution will take the '{{branch.__FAILURE__}}' output path at flow runtime.", transferToAcdSkillExpressionFiltersTooltipInfoPrefix: "Provides filters that determine which agents are eligible for assignment when the conversation is transferred to the queue. The filters are optional and are applied only when the target queue supports skill expression evaluation.", transferToAcdSkillExpressionFiltersTooltipInfoNonAutomateSuffix: "If a collection value with more than the maximum allowed item is supplied or contains one or more Skill Expression Filters that are invalid, execution takes the '{{branch.__FAILURE__}}' output path.", transferToAcdSkillExpressionFiltersTooltipInfoAutomateSuffix: "If a collection value with more than the maximum allowed item is supplied or contains one or more Skill Expression Filters that are invalid, execution invokes error handling." }, speechRec: { addInvalidPrompt: "Add prompt for invalid or ambiguous input", addInvalidPromptOverride: "Override default invalid or ambiguous input prompts", addAnotherInvalidPrompt: "Add another prompt", companyDirectoryLabel: "Company Directory", companyDirectoryNotSupportedPlural: "Company Directory is not supported for the languages %1$s", companyDirectoryNotSupportedSingle: "Company Directory is not supported for the language %1$s", defaultEngine: "System default speech engine", defaultSpeechSettings: "Default Flow-Level Speech Settings", description: "%1$s speech recognition term", directoryChoices: { allEnabled: "Enable for entire flow", allDisabled: "Disable for entire flow", startEnabled: "Enable for starting task or menu only" }, enableCompanyDirectory: "Enable company directory speech recognition for all menus", engineLabel: "Speech Engine", errorSpeechRecDisabledWithSpeechRec: "Speech recognition is disabled. Speech recognition terms will not be used until it is re-enabled.", errorSpeechRecEnabledDisabled: "Speech recognition is disabled. Enabled settings will not be available.", enableAllSpeechRec: "Enable speech recognition for the entire flow", disableAllCompanyDirectory: "Disable company directory for the entire flow", duplicateTermErrorLocal: "Term is already defined", duplicateTermErrorMenu: "Term is defined elsewhere: ", generalSettings: "General Speech Settings", hideAllLangs: "hide languages", invalidPrompts: "Invalid or ambiguous input prompts", invalidPromptsSingular: "Invalid or ambiguous input prompt", label: "Speech Recognition", suppressCallRecordingLabel: "Recording and Speech Recognition", suppressCallRecordingsSpeechRec: "Suppress recording for the entire flow", missingSpeechRec: "Not all languages have speech recognition terms", minConfidenceLevel: "Minimum confidence level", minConfidenceLevelRange: "(0-100%)", notSupportedLanguage: "Speech recognition is not supported in %1$s", notSupported: "Speech recognition not supported", optionsLabel: "Speech Recognition Options", ambiguousPromptShortLabel: "Prompt %1$s", resetToDefault: "Reset back to default prompts", showAllLangs: "show all languages", termsPlaceholder: "Enter speech recognition terms", timeoutComplete: "Complete match timeout", timeoutIncomplete: "Incomplete match timeout", timeoutMaxSpeech: "Maximum speech length" }, supportedBrowsers: { title: "Unsupported Browser", unsupportedBrowser: "You are running an unsupported, outdated browser. Architect supports the following browsers:", chrome: "Latest version of Google Chrome", firefox: "Mozilla Firefox (latest ESR version)", safari: "Latest version of Safari", pleaseUpgrade: "Please upgrade to one of these supported browsers." }, state: { createNameLabel: "State Name", createState: "Create New State", endState: "End of State", endStateOrFlow: "Ends State or Flow", goToState: "Go to State", invalidReference: "There is an invalid state reference set", label: "State", multipleNames: "Another state has the same name", noReference: "There is no state reference set", stateSelectorWatermark: "Select a state", transferTo: "State" }, task: { addPath: "Add Path", containsNoActions: "In-queue task contains no actions", createNameLabel: "Task Name", createBranch: "Create New Output Path", createBranchLabel: "Path Name", createTask: "Create New Task", defaultPathLabel: "Default", dragHere: "Drag action here", addActionHere: "Add action here", dynamicBranchTooltip: "This branch was created by a server-based object.", editorZoomLabel: "Zoom", endFlow: "End of Flow", endLoop: "Exit Loop", endTask: "End of Task", endTaskOrFlow: "Ends Task or Flow", nextLoop: "Start Next Loop", goToTask: "Go to Task", invalidReference: "There is an invalid task reference set", invalidReferenceTaskTransfer: "Cannot jump to a task that has output paths", invalidReferenceStartUpTask: "Starting Task not allowed as a Call Task target", invalidBranchReference: "There is an invalid path reference set", label: "Task", labelMoreValues: "And %1$s more...", multipleNames: "Another task has the same name", multipleNamesPath: "Another path has the same name", newDefaultName: "New Task %1$s", noPathReference: "There is no path reference set", newDefaultStateName: "New State %1$s", noReference: "There is no task reference set", noTerminatingAction: "The task does not contain a terminating action", outputPathForTask: "Set as an output path for %1$s task", outputPathModalCreate: "Create new output path", path: "Output Path", pathName: "Path Name", paths: "Output Paths", pathsMenu: "Output Paths...", pathSelectorWatermark: "Select an output path", pathType: "Exit Path", switchToMenu: "Switch to Menu", switchToTask: "Switch to Task", switchToState: "Switch to State", switchToCommonModule: "Switch to Common Module", switchToBot: "Switch to Bot", switchToMenuChoice: "Switch to Task Menu Choice", taskSelectorWatermark: "Select a task", taskActionErrorsOne: "There is one action in error within this task", taskActionErrorsMoreThanOne: "There are %1$s actions with errors within this task", taskActionWarningsOne: "There is one action with a warning within this task", taskActionWarningsMoreThanOne: "There are %1$s actions with warnings within this task", transferTo: "Task", wantToDeleteAction: "Are you sure you want to delete this Action? If deleted, all of the actions in its output paths will also be deleted.", wantToDeleteCase: "Are you sure you want to delete this Case? If deleted, all of the actions in its output paths will also be deleted." }, toolbox: { collapse: "Collapse toolbox", expand: "Expand toolbox", title: "Toolbox", searchToolbox: "Search Toolbox", noActionsFoundInSearch: "No actions found" }, transcription: { enableTranscription: "Flow Transcription", enableTranscriptionDescription: "If true, flow transcription is enabled. If false or a NOT_SET Boolean, flow transcription is disabled.", notValidForLanguages: "Transcription is not available in: %1$s" }, transfer: { allowVoicemail: "Allow rollover to voicemail", connectTimeout: "Connect Timeout", invocationData: "Invocation Data", preTransferAudio: "Pre-Transfer Audio", failureTransferAudio: "Failed Transfer Audio", preTransferCommunication: "Pre-Transfer Communication", preTransferCommunicationDescription: "Wording the flow will convey to the external participant prior to performing the transfer.", failureTransferCommunication: "Failed Transfer Communication", failureTransferCommunicationDescription: "Wording the flow will convey to the external participant if the transfer fails.", uuiData: "UUI Data to Set", alertOnTransfer: "Alert on Transfer", alertOnTransferDescription: "If true, this indicates that the workitem should alert on successful transfer. If false or a NOT_SET Boolean, the workitem should not alert on transfer." }, transferPureMatch: { addSkill: "Add ACD Skill", invalidProficiency: "Proficiency for skill %1$s must be between 1 and 10", appendSkills: "Append conversation ACD Skills", appendSkillsHeader: "Append ACD Skills", appendSkillsDescription: "If true, this will append the ACD skills configured on this action to the existing skills already set on the conversation. If false or a NOT_SET Boolean, the ACD skills configured on this action will replace the skills set on the conversation.", languageSkill: "Language Skill", languageSkillDefault: "Using supported language's default language skill", languageSkillDescription: "The preferred language skill for the transfer. If no language skill is provided, the default language skill of the flow's current language will be used.", multipleQueuesError: "There are two or more queues with the same value", preferredAgents: "Preferred Agents", preferredAgentsDescription: "Supplies a list of agents and scores to use for the Preferred Agent Routing settings on the target queue. Use the MakeList and MakeAgentScorePair functions or the MakeListAgentScorePair function to create an AgentScorePair collection that provides the agents and score values. See Transfer to ACD action article in the Resource Center for additional details.", directAgent: "Direct Agent", directAgentDescription: "Provides a target agent for the interaction on the target queue for Direct Routing. If specified, the agent takes precedences over the target queue's routing method and any agents specified in the `Preferred Agents` setting on this action.", overrideDefaultInQueueFlow: "Override default in-queue handling", queue: "Queue", resetInQueueFlow: "Reset to Organization default", transferACDInCommonModuleWarning: "Within a common module flow, in order to override default in-queue handling, all compatible flow types specified on the common module flow must expect the same in-queue flow type.", skill: "ACD Skill %1$s", priority: "Priority", routing: "Routing", workitemPriorityDescription: "Sets the priority of the Workitem. If the setting value resolves to a NOT_SET Integer at flow runtime, the Workitem priority will remain unchanged." }, transferVoicemail: { noQueueNote: "Call will be transferred to the voicemail of the current queue for which the flow is running.", noQueueTooltip: "Call will be transferred to the voicemail of the current queue for which the flow is running for these flow types: %1$s", transferTarget: "Transfer Target", voicemailCallbackSettings: "Voicemail Callback Settings", voicemailGreeting: "Voicemail Greeting", voicemailTypeNonVocalByLang: "%1$s voicemail has an initial beep and no additional prompting for the language %2$s.", voicemailTypeNonVocalByLangs: "%1$s voicemail has an initial beep and no additional prompting for the languages %2$s.", voicemailScript: "Voicemail Script", voicemailScriptSettings: "Voicemail Script Settings" }, trustedOrg: { orgShortName: "Organization Name: %1$s", trustedUser: "Trusted External User" }, updateVariables: { addStatement: "Add update statement", createCollection: "Create Collection", noStatementError: "There are no update statements", updateStatement: "Update Statement", variableName: "Variable Name %1$s", variableValue: "Value To Assign %1$s", updateStatements: "Update Statements", noUpdateStatements: "No Update Statements defined", maxUpdateStatements: "You have reached the maximum statements allowed" }, usages: { openCommonModule: "(open flow in new tab)", openCommonModuleTooltip: "Open common module in new tab to see usage details for this resource" }, user: { aDeletedUser: "a deleted user", label: "User", userLabelPlural: "Users", placeholder: "Select a user", system: "System" }, utilizationLabel: { utilizationLabelLabel: "Utilization Label", placeholderUtilizationLabel: "Select a utilization label", setUtilizationLabelDescription: "The Utilization Label to set on the conversation." }, division: { selectDivisionPlaceholder: "Select a Division" }, variableDetailsModal: { cantEnableInputOnSecureVariable: "Cannot enable input because this is marked as a secure variable.", cantEnableOutputOnSecureVariable: "Cannot enable output because this is marked as a secure variable.", cantEnableSecureOnInputVariable: "Cannot enable secure because this is marked as an input variable.", cantEnableSecureOnOutputVariable: "Cannot enable secure because this is marked as an output variable.", cannotRescopeToTask: "Change accessibility by opening variable details where it is needed.", cannotChangeScopeBecauseOfOutput: "Cannot change accessibility because this is marked as an output variable.", cannotChangeScopeBecauseOfInput: "Cannot change accessibility because this is marked as an input variable.", caseChangeMessage: "All usages must be changed since the variable's name is changing by case only.", clearVariable: "Clear variable...", context: "Context", editVariableTitle: "Edit Variable", newUsages: "New usages", readOnly: "read only", readWrite: "read-write", saveChangesMessage: "Do you want to save the changes to this variable?", sections: { nameAndDescription: "Name and Description", variableOptions: "Variable Options" }, systemScope: "This variable has %1$s access across the entire flow", systemScopeWithInitialValue: "This variable has read only access across the entire flow but does allow assignment of an initial value", updateUsages: "Existing usages to change", usageError: "Usage is a different task and can not be changed", usageLocation: "Location", viewVariableTitle: "View System Variable", variableType: "Type: %1$s", variableContentIsSecure: "Content is secure", variableFlowInputLabel: "Input to flow", variableTaskInputLabel: "Input to task", variableFlowOutputLabel: "Output from flow", variableTaskOutputLabel: "Output from task" }, variable: { descriptionWatermark: "Enter variable description", flowScope: "Entire flow", flowScopeCommon: "Entire Common Module", initialValueLabel: "Initial Value", initialValueError: "Initial value has a validation error.", addVariable: "Add Variable", addVariableButton: "Create", cannotDeleteVariableReasonSlot: "Slot variables are automatically managed by Architect based on slots defined within the Natural Language Understanding configuration.", cannotDeleteVariableReasonInput: "It is marked as a flow input in a published flow signature and cannot be removed.", cannotDeleteVariableReasonInputOutput: "It is marked as a flow input and output in a published flow signature and cannot be removed.", cannotDeleteVariableReasonOutput: "It is marked as a flow output in a published flow signature and cannot be removed.", cannotDeleteVariableReasonIsSystem: "It is a built-in variable and cannot be removed.", cannotDeleteVariableReasonUsages: "It is used in one or more places within the flow and cannot be deleted until it is no longer in use.", direction: "Direction", duplicatedOutputVariableReference: "The variable '%1$s' is already referenced in another output.", filterVariablesByScopeAll: "All", filterVariablesByScope: "Filter data by accessibility", initialValueNotSupported: "You cannot specify an initial value on a system variable.", input: "Input", output: "Output", outputDeleteTooltip: "Deletes the output path from the task.", scopeLabel: "Variable Accessibility", secure: "Secure", selectorWaterMark: "Enter variable name", scopeConsumer: "%1$s: %2$s", slotVariableNotUsedButInPublishedSignature: "Slot variable not used by bot flow but used in published bot flow schema", toExpressionModeTooltip: "Editor is in variable mode, click to enter an expression.", variableDeleteTooltip: "Deletes the variable from the flow. Variables in use or output variables that have been published cannot be deleted.", label: "Variable", noVariablesFound: "No variables found", maxVariableLimitSearch: "Showing top %1$s results", variableCannotBeDeleted: "This variable cannot be deleted. %1$s" }, wait: { durationLabel: "Duration", noDurationSet: "There is no duration set.", trimDurationLabel: "Trim Lengthy Duration", trimDurationDescription: "Trim the specified Duration value to be less than the maximum execution time allowed for the flow. This allows the flow to continue processing rather than taking the error path in those scenarios." }, promptUsages: { title: "Usages for %1$s", system: "System", user: "User" }, workgroup: { placeholderQueue: "Select a queue" }, wrapupCode: { placeholder: "Select a wrapup code" }, secureAction: { secureAction: "Secure Data Action", mustSelectAction: "A secure data action must be selected.", actionNotFound: "The selected secure data action could not be found.", savedVersionOfAction: "Flow is referencing a cached version of this secure data action. The action may be out of date or deleted.", noActionsAvailable: "There are no Architect compatible secure data actions available." }, dataAction: { dataAction: "Data Action", mustSelectAction: "A data action must be selected.", actionNotFound: "The selected data action could not be found.", savedVersionOfAction: "Flow is referencing a cached version of this data action. The action may be out of date or deleted.", noActionsAvailable: "There are no Architect compatible data actions available." }, grammars: { deleteGrammarTitle: "Delete Grammar", grammarLabel: "Grammar", noGrammarBasedSttEngineFound: "You must have at least one grammar-based speech to text engine configured in your organization in order to work with grammars in Architect.", noGrammarsFound: "There were no grammars found", addGrammarToBegin: "Add a grammar to begin", searchGrammars: "Search grammars", selectGrammarPlaceholder: "Select a grammar", grammarSingleConfirmDelete: "Are you sure you want to delete the selected grammar?", grammarPluralConfirmDelete: "Are you sure you want to delete the selected grammars?", tooltips: { addGrammar: "Add new grammar", deleteSelectedGrammars: "Delete selected grammar(s)", refreshGrammars: "Refresh the list of grammars" }, gridColumns: { descriptionColumn: "Description", languagesColumn: "Languages", nameColumn: "Name" }, modal: { addFileLabel: "Add File", addGramFileTitle: "Add A Grammar File", addGrammarLanguage: "Add Language", areYouSureDeleteGrammar: "Are you sure you want to delete the selected grammar named '%1$s' and its resources?", areYouSureDeleteGrammars: "Are you sure you want to delete the %1$s selected grammars and their resources?", areYouSureDeleteGrammarLanguage: "Are you sure you want to delete the following language: '%1$s'?", changeGrammarFileType: "Change Grammar File Type", changeType: "Change Type", closeEditorLabel: "Close Editor", dateUploadedLabel: "Date Uploaded: %1$s", describeYourGrammarPlaceholder: "Describe what your grammar does", dtmfLabel: "DTMF", dtmfWithError: "DTMF: %1$s", fileExceedsLimitsModalTitle: "Grammar Cannot Be Saved", fileExceedsLimitsModalDescription: "The grammar cannot be saved, as the following file exceeds file size limits: '%1$s'.", filesPluralExceedLimitsModalDescription: "The grammar cannot be saved, as the files listed below exceed file size limits.", fileExceedsLimitsModalDescriptionAdditional: "The file limits are %1$s for a .gram file and %2$s for a .grxml file. Please ensure the files do not exceed these limits before attempting to save again.", fileExceedsLimitDtmf: "%1$s: DTMF", fileExceedsLimitDtmfAndVoice: "%1$s: Voice & Dtmf", fileExceedsLimitVoice: "%1$s: Voice", fileNameLabel: "File Name: '%1$s'", gramFileWatermark: "e.g. example_grammar.gram", grammarDescription: "Grammar Description", grammarEditorTitle: "Grammar Editor", grammarEditorLabel: "XML editor for ASR grammars", grammarName: "Grammar Name", grammarNamePlaceholder: "e.g. StartDate", grxmlFilePercentageTooltip: "The percentage of this file's size of the maximum allowed size. The maximum file size for a .grxml file is %1$s.", overrideSpeechRecognitionErrorMessage: "When specifying a value for '%1$s', you must also specify a value for '%2$s'.", overrideSpeechRecognitionErrorMessageAlternative: "No value configured for '%1$s'.", partialSuccessMessage: "There is a server issue and files in this grammar might be incomplete or missing.", partialSuccessMessageAdditional: "To prevent content from being overwritten in error, the grammar will be displayed in read-only mode and temporarily won\u2019t be editable. Please confirm you want to proceed with read-only or close the editor and try again later.", removeGrammarLanguage: "Remove Language", removeGrammarLanguageWarning: "Deleting a language is irreversible and will result in the loss of any ASR Grammar files associated with that language within this Grammar. If you have flows with a supported language that relies on this Grammar, this could result in the flow going into error.", startingLanguage: "Starting Language", newGrammarTitle: "Create New Grammar", errors: { failedToDeleteGrammars: "Failed to delete grammars.", failedToDeleteGrammarWithName: "Failed to delete grammar '%1$s'", errorTemplate: "%1$s (line: %2$s, ch: %3$s)", grammarIdDoesNotExistOnSlot: "A grammar with the ID '%1$s' does not exist. Unable to associate it with the slot '%2$s'.", grammarNameDoesNotExistOnSlot: "A grammar with the name '%1$s' does not exist. Unable to associate it with the slot '%2$s'.", xmlErrorAttributeHasInvalidName: "Invalid name for attribute '%1$s'", xmlErrorAttributeIsRepeated: "Attribute '%1$s' is repeated", xmlErrorAttributeMissingEndQuote: "'%1$s' has an attribute whose value is missing an end quote", xmlErrorAttributeWithoutValue: "Attribute '%1$s' is without a value", xmlErrorClosingTagsCannotContainAttributes: "Closing tags cannot contain attributes", xmlErrorDocumentEmpty: "Document is empty", xmlErrorExtraContentAtEnd: "Extra content at the end of the document", xmlErrorGeneric: "Invalid XML", xmlErrorInvalidTagName: "'%1$s' is an invalid tag name", xmlErrorInvalidSpaceAfterTag: "Invalid space after '%1$s'", xmlErrorTagIsNotClosed: "Tag '%1$s' is not properly closed", xmlErrorTagMismatch: "Opening and ending tag mismatch", xmlErrorTextAreYouSureSave: "Are you sure you want to save?", xmlErrorTextContentSingle: "The following language contains XML errors: '%1$s'.", xmlErrorTextContentPlural: "%1$s languages in this grammar contain XML errors.", xmlErrorTitle: "XML Error", xmlErrorUnexpectedCharacter: "Unexpected character: '%1$s'", xmlNoError: "No XML errors detected" }, noMetadataAvailableForGramFileMessage: "A .gram file is configured for the '%1$s' mode of the '%2$s' grammar but no information is available.", removeFileLabel: "Remove File", selectFileLabel: "Select File", selectedGrammarFileCouldNotBeAttachedExtensionDescription: "The file '%1$s' could not be attached because it does not have the '%2$s' extension", selectedGrammarFileCouldNotBeAttachedSizeDescription: "The file '%1$s' could not be attached because it exceeds the size limit of %2$s for the selected file type.", selectedGrammarFileCouldNotBeAttachedLabel: "Selected Grammar file could not be added", selectGramFileLabel: "Select .gram file", switchFileTypesWarning: "Switching from the '%1$s' file type to the '%2$s' file type will result in your '%1$s' file being removed from the '%3$s' mode of the currently selected language '%4$s'. Do you wish to continue?", unsavedGrammarChangesTitle: "Unsaved Changes", unsavedGrammarChangesText: "Closing the Grammar editor will discard your unsaved changes. Do you wish to continue?", voiceLabel: "Voice", voiceWithError: "Voice: %1$s" }, grammarSlots: { grammarSlotDescriptionInfo: "This setting tells the bot which Grammar to use for the collection of the selected slot value at flow runtime. You can supply a Grammar value or let the bot use the Grammar that is configured on the slot. If you supply a Grammar value and at runtime it resolves to a NOT_SET Grammar, the bot will use the Grammar configured on the slot if one exists.", useSlotConfigDescription: "Use slot's configuration", useSlotConfigLabel: "Use Slot Configuration" } }, analyticsHeatMapOverlay: { analyticsHeatMapToggleLabel: "Flow Insights", apiErrorMessage: "There was an issue loading the data. Please refresh the page.", flowNoAnalyticsData: "There is not enough data yet for this flow version.", flowNotPublished: "Frequency overlay is only available for published versions.", flowAgeLessThanOneDay: "Frequency overlay is based on the last 24 hours of data for version %1$s.", flowAgeMoreThanOneDay: "Frequency overlay is based on the last %1$s days of data for version %2$s.", oldVersionFlowAgeLessThanOneDay: "Frequency overlay is based on the last 24 hours of data for version %1$s.", oldVersionFlowAgeMoreThanOneDay: "Frequency overlay is based on the last %1$s days of data for version %2$s.", veryHighFrequencyTooltipPlural: "Very High Frequency (%1$s Sessions)", veryHighFrequencyTooltipSingular: "Very High Frequency (%1$s Session)", highFrequencyTooltipPlural: "High Frequency (%1$s Sessions)", highFrequencyTooltipSingular: "High Frequency (%1$s Session)", mediumFrequencyTooltipPlural: "Medium Frequency (%1$s Sessions)", mediumFrequencyTooltipSingular: "Medium Frequency (%1$s Session)", lowFrequencyTooltipPlural: "Low Frequency (%1$s Sessions)", lowFrequencyTooltipSingular: "Low Frequency (%1$s Session)", veryLowFrequencyTooltipPlural: "Very Low Frequency (%1$s Sessions)", veryLowFrequencyTooltipSingular: "Very Low Frequency (%1$s Session)", zeroFrequencyTooltip: "Zero Frequency" }, speechToText: { defaultSpeechToTextEngineDiffersFromNotSpecified: "The flow was saved with no speech to text engine configured. If the flow is edited, the engine for this language will be updated to the current default speech to text engine.", defaultSpeechToTextEngineUpdated: "The default speech to text engine for language '%1$s' in this flow has been updated to '%2$s'.", engines: "Engines", errorEngineNotFound: "Speech to text engine '%1$s' could not be found.", headerTitle: "Speech To Text options for a language", noneLabel: "None", selectAnEngine: "Select an engine", speechToText: "Speech To Text", speechToTextNoChoicesAvailable: "There are no speech to text engines available for the language '%1$s'.", speechToTextEngineForSlotDescriptionInfo: "This setting tells the bot which speech to text engine to use for the collection of the selected slot value from the external participant at flow runtime. You can supply a speech to text engine value or let the bot use the speech to text engine that is configured on the slot if one exists.", speechToTextEngineNotFound: "The selected speech to text engine could not be found", speechToTextEngineNotConfigured: "This language does not have a speech to text engine configured from an integration.", speechToTextEngineRequiredMessage: "When one or more supported languages in a flow has a speech to text engine configured from an integration, every supported language of that flow must have a speech to text engine configured from an integration as well.", speechToTextEngineLabel: "Speech To Text Engine", speechToTextEngineLabelWithLanguageId: "Speech To Text Engine ('%1$s')", speechToTextGenesysEnhancedSupportLabel: "Genesys Enhanced %1$s supports custom dictionaries, more information on the {{link.__STT_ENGINE_OVERVIEW__, Resource Center}} documentation.", recognitionParams: { speechRecognitionParameters: "Speech Recognition Parameters", speechToTextCompleteTimeoutDescription: "The duration of silence after a valid recognition has occurred that determines the external participant has finished speaking, based on the associated Grammar. If a Grammar has not been specified on the Slot itself or the Ask for Slot action, this property will be ignored. A value of 0 disables the timer. If a NOT_SET value is supplied, the default value will be used.", speechToTextCompleteTimeoutLabel: "Complete Timeout", speechToTextConfidenceLevelDescription: "When the recognition results from the external participant input where the n-best entry with the highest confidence is less than the confidence level, the recognition will return a no-match. A value of 0 means all utterances are accepted. If a NOT_SET value is supplied, the default value will be used.", speechToTextConfidenceLevelLabel: "Confidence Level", speechToTextMaxSpeechTimeout: "Max Speech Timeout", speechToTextSpeechDetectionSensitivity: "Speech Detection Sensitivity" } }, textToSpeech: { defaultEngineLabel: "Default Engine: %1$s", defaultEngineDiffers: "This flow was saved with engine %1$s as the default engine. If the flow is edited, the engine for this language will be updated to the current default engine.", defaultEngineNotSupported: "The default engine set for language '%1$s' in organization-level settings is not supported by this flow type so a new engine must be selected.", defaultEngineRemoved: "There is no longer a default engine set for language '%1$s' in organization-level settings, so a new engine must be selected.", defaultEngineUpdated: "The default text to speech engine for language '%1$s' in this flow has been updated to %2$s to match organization-level settings.", defaultEngineUpdatedMoreThanOne: "The default text to speech engine for languages %1$s in this flow has been updated to %2$s to match organization-level settings.", defaultVoiceLabel: "Default Voice: %1$s", defaultVoiceDiffers: "This flow was saved with %1$s as the default voice for the selected engine. If the flow is edited, the voice for this language will be updated to the current default voice.", defaultVoiceRemoved: "There is no longer a default voice set for engine %1$s and language '%2$s' in organization-level settings, so a new voice must be selected.", defaultVoiceUpdated: "The default voice for language '%1$s' in this flow has been updated to %2$s to match organization-level settings.", engines: "Engines", errorEngineNotFound: "Text to speech engine '%1$s' could not be found.", errorEngineNotSecure: "Text to speech engine '%1$s' does not support secure call flows.", errorEngineFlowTypeNotSupported: "Text to speech engine '%1$s' does not support flow type %2$s.", errorLanguageNotSupportedByEngine: "The selected text to speech engine does not support language '%1$s'.", errorLanguageNotSupportedByVoice: "The selected voice does not support language '%1$s'.", errorNoEngineSelected: "No text to speech engine selected for language '%1$s'.", errorNoVoiceSelected: "No voice selected for language '%1$s'.", errorVoiceNotFound: "Voice '%1$s' could not be found", genders: { female: "Female", male: "Male", neuter: "Neuter", neutral: "Neutral", unspecified: "Unspecified gender" }, headerTitle: "Text To Speech options for a language", maxCharLengthTitle: "Maximum text to speech string length: %1$s characters", maxCharLengthBody: "A text to speech string in excess of this length will result in the Genesys text to speech engine playing the string or blank audio if the Genesys text to speech engine doesn't support the flow's current language.", noEnginesSupportLanguage: "No available text to speech engines support this language.", noEngineSelected: "Disabled because there is no engine selected", noneLabel: "None", selectAnEngine: "Select an engine", selectAVoice: "Select a voice", textToSpeech: "Text To Speech", ttsEngine: "Engine", ttsEngineDependencyString: "Text To Speech Engine", ttsEngineNotUsableByAction: "The '%1$s' action cannot be used when a flow supported language is configured to use the '%2$s' text to speech engine. Please change the text to speech engine configured on the following language: %3$s", ttsEngineNotUsableByActionMoreThanOne: "The '%1$s' action cannot be used when flow supported languages are configured to use the '%2$s' text to speech engine. Please change the text to speech engine configured on the following languages: %3$s", ttsEngineRequiredByFlowTypeOnLanguages: "For this flow type you must configure a text to speech engine on supported languages.", ttsVoice: "Voice", voiceDescription: "Language: %1$s, Gender: %2$s", voiceLanguageMismatch: "The voice selected does not directly match the language for '%1$s'", voiceLanguageMismatchHelp: "The voice selected does not directly match the language. This may result in issues with the Text to Speech experience. Find out more information in our {{link.__VOICE_MISMATCH_LINK__, Resource Center}}." }, versions: { actionLabelCheckedInBy: "Checked in by %1$s", actionLabelCreatedBy: "Created by %1$s", actionLabelDeletedBy: "Deleted by %1$s", actionLabelPublishedBy: "Published by %1$s", auditInfoUnavailable: "Version details unavailable", currentlyPublished: "current published version", currentDebugVersion: "current debug version", currentlyPublishedStatus: "Current Published Version:", currentlyPublishedNone: "none", loadingAudit: "Retrieving version details...", openFlowVersion: "Open flow version", revertedToOne: "(Flow reverted to 1.0)", scrollToTooltip: "Show the published version in the grid", title: "Available Versions", workingVersion: "working copy", selectVersion: "Select version", latestPublishedVersion: "Latest Published", publishedVersion: "Published", latestDebugPublishedVersion: "Latest Debug", debugPublishedVersion: "Debug", latestVersionGroupHeader: "Latest", specificVersionGroupHeader: "Specific Version", usingFlowVersion: "Using version %1$s", usingFlowVersionReadonly: "Using version %1$s. Edit flow to update.", flowVersionPrefix: "version: %1$s" }, virtualAgent: { agenticVirtualAgent: "Agentic Virtual Agent", agenticVirtualAgentDowngradeTooltip: "Republish this flow to downgrade billing from Agentic Virtual Agent to Virtual Agent.", virtualAgent: "Virtual Agent", virtualAgentDowngradeTitle: "Revert Virtual Agent", virtualAgentDowngradeDescription: "If you downgrade your flow, you reduce its AI capabilities and lose access to anything you might have configured as part of Virtual Agent. Republish your flow after you revert.", virtualAgentDowngradeButton: "Revert", virtualAgentFlow: "Virtual Agent", virtualAgentNote: "Upgrade is required to be done per flow.", virtualAgentRevert: "Revert Virtual Agent", virtualAgentRevertInfo: "If you revert your flow, Architect removes the Virtual Agent functionality from your flow and you will lose access to previously configured Virtual Agent settings.", virtualAgentTooltip: "You do not have permission to enable Virtual Agent. Contact your organization's administrator to update permissions.", virtualAgentUpgrade: "Upgrade to Virtual Agent", virtualAgentUpgradeTitle: "Upgrade to Virtual Agent", virtualAgentUpgradeNote: "Upgrade to Virtual Agent to enhance your flow with new conversational and generative AI capabilities. After the upgrade, publish the flow to enable the AI features. The upgrade impacts the cost for the flow at runtime. For more information about pricing and supported languages, see the {{link.__VIRTUAL_AGENT_HELP__, Resource Center}} documentation.", virtualAgentUpgradeNoteHowToRevert: "To ensure flexibility, Genesys recommends checking in your flow before upgrading. If you need to revert the flow from Virtual Agent in the future, you can import the previously checked in version.", virtualAgentUpgradeButton: "Upgrade", virtualAgentCreateModalDescription: "Enable Virtual Agent", virtualAgentCreateModalNote: "Virtual Agent enhances your flow with new conversational and generative AI capabilities. Virtual Agent impacts the cost for the flow at runtime. For more information about pricing and supported languages, see the {{link.__VIRTUAL_AGENT_HELP__, Resource Center}} documentation.", virtualAgentCreateModalNoteAgentic: "Virtual Agent enhances your flow with new conversational and generative AI capabilities. Virtual Agent and Agentic Virtual Agents impact the cost for the flow at runtime.", virtualAgentResourceCenterPricingInfo: "For more information about pricing and supported languages, see the {{link.__VIRTUAL_AGENT_HELP__, Resource Center}} documentation." }, voiceBiometrics: { confidence: "Confidence" }, voiceSurvey: { freeTextQuestionLabel: "Free Text", multipleChoiceQuestionLabel: "Multiple Choice", npsQuestionLabel: "NPS Question", readOnlyQuestionLabel: "Read-Only Question", surveyFormLabel: "Survey Form", divisionMismatchWarning: "The selected survey form is in a different division than the flow. You can proceed, but consider aligning divisions. Find more information in our {{link.__RESOURCE_CENTER__}}.", surveyFormNoDivisionWarning: "The flow will be created in the selected division, but the survey form is not assigned to a division. Find more information in our {{link.__RESOURCE_CENTER__}}.", surveyFromIncompatible: "The chosen survey form cannot be used for a voice survey flow.", surveyFormDisabled: "The chosen survey form is disabled. In order to create a voice survey flow from this form, please publish a new version of this form. Manage in {{link.__SURVEY_FORMS__, Survey Forms}}.", surveyFormInvalid: "The survey form is invalid.", surveyFormInsufficientPermissions: "You do not have sufficient permissions to view the survey form. You need the '%1$s' permission.", surveyFormQuestionAnswerExceedsLimitErrorMoreThanOne: "The following questions in the survey form have an answer that exceeds the %1$s character limit: %2$s.", surveyFormQuestionAnswerExceedsLimitError: "The following question in the survey form has an answer that exceeds the %1$s character limit: %2$s.", surveyFormUpdateNeeded: "Please update the survey form before attempting to create the flow.", voiceSurveyAnswerDescription: "Wording the bot will use when listing out the answer options to the caller.", voiceSurveyAnswerLabel: "Answer", voiceSurveyAnswerOptionsDescription: "A collection of answers to the given survey question. Answer values reflect answers set in the survey form and can not be edited. Please note that answer configuration is tied to the survey question itself and is not specific to an individual action so if you have multiple Ask Survey Question actions that reference the same survey question the DTMF settings will be common between all actions. Allowable values include: 0-99, * and #.", voiceSurveyAnswerOptionDtmfLabel: "DTMF", voiceSurveyAnswerOptionsLabel: "Answer Options", voiceSurveyAnswerOptionValueLabel: "Answer Value", voiceSurveyBotLabel: "Survey Bot", voiceSurveyErrorLink: "Manage in {{link.__SURVEY_FORM__}}", voiceSurveyConditionsNotMetLabel: "Conditions Not Met", voiceSurveyDoesNotExistError: "The selected survey form does not exist in this organization.", voiceSurveyDtmfSettingsLabel: "DTMF Settings", voiceSurveyDuplicateDtmfError: "Duplicate DTMF value for '%1$s'", voiceSurveyEndQuestionGroupTaskActionLabel: "Done - %1$s", voiceSurveyFlowCreationTooltip: "Select a survey form for the voice survey flow. Architect will generate a Voice Survey flow based on the survey form that can be executed immediately after an Agent hang-up or transfer, or Outbound connection, etc. Only the most recent version of published survey forms may be selected. Survey forms that have been disabled are excluded.", voiceSurveyFollowUpQuestionDescription: "Wording the bot will use when asking the additional question after the NPS question has been answered.", voiceSurveyFollowUpQuestionLabel: "Follow Up Question", voiceSurveyFooterLabel: "Survey Footer", voiceSurveyFormDoesNotExistShort: "The associated survey form does not exist.", voiceSurveyFormDoesNotExistLong: "The associated survey form does not exist in this organization. To address this, please {{link.__VOICE_SURVEY_FLOWS__, create a new voice survey flow}}.", voiceSurveyFormExceedsMultipleChoiceLimit: "The chosen survey form would create more than %1$s list slot types which exceeds the flow limit. A list slot type is created for each multiple choice, yes/no and range question at flow creation.", voiceSurveyFormIsDisabledLong: "The associated survey form is disabled. To address this, please publish a new version of this form and create a new flow using that version. Manage in {{link.__SURVEY_FORMS__, Survey Forms}}.", voiceSurveyFormIsDisabledShort: "The associated survey form is disabled.", voiceSurveyFormLabel: "Form", voiceSurveyFormLastModified: "Last Modified", voiceSurveyFormsNotAvailable: "No survey forms available for this organization.", voiceSurveyFormNotLatestVersionShort: "The associated survey form is not the latest version.", voiceSurveyFormNotLatestVersionLong: "The associated survey form is no longer the latest version. To address this, please {{link.__VOICE_SURVEY_FLOWS__, create a new voice survey flow}} using the most recent version of the survey form.", voiceSurveyFormVersionLabel: "Survey Form Version", voiceSurveyHeaderLabel: "Survey Header", voiceSurveyIncompatibleLanguageWarning: "The default language selected does not match the survey form language. This may result in issues regarding speech recognition and integrations. Find more information in our {{link.__RESOURCE_CENTER__}}", voiceSurveyNoQuestionsAvailableLabel: "No Questions Available.", voiceSurveyNotApplicableDescription: "The DTMF character to configure for Not Applicable. This may not be the same as the flow setting for the DTMF terminating character or any of the answer options associated with this survey question.", voiceSurveyNotApplicableLabel: "Not Applicable", voiceSurveyNotApplicableSetAsTerminatingCharacter: "Value set as terminating character", voiceSurveyQuestionConditionDescription: "These are the conditions under which the question is available as configured by the survey form. This is not something that can be changed and is intended for informational purposes. If this value is NOT_SET, the question will always be presented to the caller.", voiceSurveyQuestionConditionLabel: "Question Condition", voiceSurveyQuestionDescription: "Wording the bot will use when asking the question for the first time.", voiceSurveyQuestionLabel: "Survey Question", voiceSurveyQuestionNotInUseError: "'%1$s' is not being asked.", voiceSurveyQuestionNotInUseMessage: "There are no actions currently associated with this question.", voiceSurveyQuestionWithGroupAndQuestionIndex: "Group %1$s Question %2$s", voiceSurveyQuestionUsagesMessage: "This question is used by %1$s.", voiceSurveyQuestionUsagesMessageSingularReplacement: "1 action", voiceSurveyQuestionUsagesMessagePluralReplacement: "%1$s actions", voiceSurveyQuestionWithIndex: "Question %1$s", voiceSurveyResourceCentreLinkText: "Resource Center", voiceSurveySelectQuestionLabel: "Select a Question", voiceSurveySlotNotAllowedErrorMessage: "The slot '%1$s' can not be used, as it is not compatible with this action.", voiceSurveyFormsLinkText: "Survey Forms", voiceSurveyQuestionGroupNotApplicable: "Question Group %1$s Not Applicable", voiceSurveyQuestionGroupTaskName: "Ask Question Group %1$s", voiceSurveyQuestionGroupVisibilityActionName: "Is Question Group %1$s Applicable?", voiceSurveyQuestionResultDescription: "The variable associated with the question.", voiceSurveyQuestionResultLabel: "Question Result", voiceSurveyQuestionTypeDescription: "The type of survey question that is being asked.", voiceSurveyQuestionTypeLabel: "Survey Question Type", voiceSurveyTerminatingCharacterDescription: "Defines the character used to indicate that data entry has been finished.", voiceSurveyTerminatingCharacterLabel: "Terminating Character", voiceSurveyTitleWithSettings: "Voice Survey Flow Settings" }, workitem: { generateFlowLogic: "Generate Flow Logic", generateFlowLogicTooltip: "If Generate Flow Logic is enabled, when the Workitem flow is created Architect will auto-generate default flow logic for Workitem event handling and statuses configured on the selected Worktype.", schemaLabel: "Schema", selectWorktypeLabel: "Select Worktype", workitemEventTypesHeader: "Workitem Event Types", workitemFlowCreationTooltip: "Select a Worktype for the Workitem flow. There can only be a 1-1 association between a Worktype and a Workitem flow.", workitemFlowSettingsHeader: "Worktype Dependencies", workitemEventQuestionCreated: "Workitem Created?", workitemDateBasedRulePresent: "Workitem Date Rule Present?", workitemEventQuestionStatusChanged: "Workitem Status Changed?", worktypeCallTaskLabel: "Call %1$s Task", worktypeDateBasedRulesHeader: "Worktype Date Rules", worktypeDateBasedRulesUpdated: "Worktype date rules have been updated.", worktypeEndStatusTask: "End Task: %1$s", worktypeErrorDoesNotExist: "The selected Worktype does not exist.", worktypeErrorInsufficientPermissions: "You do not have sufficient permissions to view the Worktype. You need the 'workitems:worktype:view' permission.", worktypeErrorInUse: "The selected Worktype is already associated with a Workitem Flow. Please choose another Worktype or delete the flow that this Worktype is associated with.", worktypeErrorSomethingGoneWrong: "An error occurred while creating the Workitem Flow. Please try again later.", workitemEventData: "This variable holds additional event data for the event that started this Workitem flow instance.", worktypeAssociatedWithFlow: "This Worktype is associated with an existing Workitem flow.", worktypeInvalid: "The Worktype referenced by this flow is invalid.", worktypeIsEventTypeName: "Does EventType Equal '%1$s'?", worktypeLabel: "Worktype", worktypeMatchDateBasedEvent: "Check Date-Based Event", worktypeMatchStatus: "Check Workitem Status", worktypeNameWithEventTypePrefix: "EventType - %1$s", worktypeNameWithStatusPrefix: "Status - %1$s", worktypeSchemaChanged: "The schema for the Worktype referenced by this flow has been updated.", worktypeSchemaChangeMoreRestrictiveShort: "The Worktype schema is more restrictive than the Workitem custom fields in this flow.", worktypeSchemaChangeMoreRestrictiveLong: "The Worktype schema is more restrictive than the Workitem custom fields in this flow. To address this, please {{link.__CUSTOM_ATTRIBUTES__, update the schema}} to be less restrictive by adding anything that was previously removed. Alternatively, you may delete this flow and {{link.__WORKITEM_FLOWS__, create a new Workitem flow}} that references the same Worktype to use the latest version of the Worktype.", worktypeSchemaChangeApplied: "Workitem custom fields were successfully updated.", worktypeSchemaChangeNotApplied: "Workitem custom fields will remain unchanged.", worktypeSchemaGoneShort: "The Worktype referenced by this flow had a schema when the flow was created. Architect no longer sees a schema associated with the Worktype.", worktypeSchemaGoneLong: "Removing a schema from a Worktype is not allowed since consumers of the Worktype and its configuration, like an Architect flow, could have an out of date view of what the Worktype looks like. Please check the associated {{link.__WORKTYPES__, Worktype}} to ensure that it does have a schema and if it does, contact support.", worktypeSchemaNotUsableShort: "The Worktype schema cannot be used by Architect.", worktypeStatusChangeApplied: "Worktype statuses have been updated.", worktypeStatusClosed: "Closed", worktypeStatusInProgress: "In Progress", worktypeStatusOpen: "Open", worktypeStatusWaiting: "On Hold", worktypeStatusesHeader: "Worktype Statuses", worktypeStatusConvertExpressionToLiteralTitle: "Convert Worktype Status Expression To Literal" }, customJson: { schemaNotUsable: "The schema '%1$s' cannot be used by Architect.", schemaChanged: "The schema '%1$s' referenced by this flow has changed.", schemaChangeApplied: "The schema '%1$s' referenced by this flow was successfully updated.", schemaChangeNotApplied: "Changes to the schema '%1$s' have not been applied.", schemaChangeMoreRestrictive: "The schema '%1$s' has been changed to be more restrictive.", schemaGone: "The schema '%1$s' referenced by this flow is missing." }, selectAValue: "Select a value", walkthrough: { label: "Take Tour", stepCounter: " %1$s of %2$s", buttons: { next: "Next", previous: "Previous", complete: "Start using Architect", start: "Start" }, welcome: { text1: "Architect is the flow development tool within the Genesys Cloud platform.", text2: "This tour will cover some highlights of the application to help you develop your own flows. The information presented in this tour may change, depending on which view has focus.", title: "Welcome to Architect!" }, fini: { text1: "Now it\u2019s time to build flows of your own. For practice, see %1$s", text2: "Get started with the Architect tutorial.", title: "This concludes the tour!" }, audioSequenceEditor: { text: "Use the prompt sequence editor to add multiple prompts to a location within your flow and to change the order in which they are presented.", title: "Prompts" }, configurationArea: { text1: "Build starting and reusable menus and tasks.", text2: "Specify default settings for actions, error handling, and menus.", text3: "Select supported languages.", text4: "Configure speech recognition settings.", text5: "View and locate data and prompt resources.", title: "Configuration Area" }, designArea: { textTitle: "On various actions you can:", text1: "Easily type Text-to-speech phrases.", text2: "Expand the prompt sequence editor to add, order, and stylize audio prompts, data playback, and text-to-speech.", text3: "Function and Operator help is available to provide assistance writing expressions.", text4: "Design the action's behavior when selected in the flow.", title: "Design Area" }, flowToolbar: { text1: "Save periodically to preserve your work.", text2: "Check-in, which saves the flow and releases your user lock.", text3: "Publish, which saves, validates, and checks-in your flow and then makes it available for the next new call.", textTitle: "When you are working on a flow, you can:", title: "Complete the Flow and Flow Maintenance" }, homePage: { text: "Use the tabs on the left to navigate between areas you want to create and configure.", title: "Home Page" }, help: { text1: "Go to the Genesys Cloud Resource Center for help.", text2: "Send feedback to the Genesys Cloud team.", title: "Help" }, taskEditor: { text1: "Provides a pallet of action categories and options for complex IVR design.", text2: "Includes a design area in which to drag and drop actions to build task sequences.", text3: "Toolbox similar to the flow design page.", title: "Task Editor" }, toolbarControls: { text1: "Related to creating, opening, managing, and deleting flows, prompts, or operations.", text2: "Controls change depending on your permissions and the selected tab.", title: "Toolbar Controls" }, toolbox: { textTitle: "When editing a flow:", text1: "Use actions from the toolbox and drag them to the desired location in the configuration area, in either your menu or task", text2: "Hide or expand the toolbox to adjust the design area", title: "Toolbox" }, promptToolbar: { text: "When working with audio prompts, you can add or record individual prompts while creating a flow, or you can upload audio in bulk using a CSV file to manage the configuration.", title: "Prompts" }, searchAndFilterMain: { text1: "Quickly search for a flow or audio prompt based on the selected tab.", text2: "If you don't see the flow or audio prompt you are looking for in the list, use the search box to narrow the results.", title: "Search and Filter" } }, navigationDropDown: { bot: "Bot Flow", commonModule: "Common Module", inboundCall: "Inbound Call", inboundChat: "Inbound Chat", inqueueCall: "In-Queue Call", inqueueEmail: "In-Queue Email", inqueueShortMessage: "In-Queue Message", outboundCall: "Outbound Call", inboundEmail: "Inbound Email", inboundSMS: "Inbound Message", secureCall: "Secure Call", sectionLabels: { initialFlows: "Initial Flows", postInteraction: "Post Interaction", supportingFlows: "Supporting Flows" }, surveyInvite: "Survey Invite", surveyInviteWebPrefix: "Web Survey Invite", voicemail: "Voicemail", workflow: "Workflow", workitem: "Workitem Flow", voiceSurvey: "Voice Survey" }, digitalMenuAction: { errorCreateAtLeastOneChoice: "At least one choice must be created", errorEnableAtLeastOneChoice: "At least one choice must be enabled" }, carouselType: { carouselErrorAddAtLeastOnePostbackButton: "At least one postback choice must be created in the carousel" }, nodeHeader: { expandActionDetails: "Expand Action Details", collapseActionDetails: "Collapse Action Details" }, theme: { newArchitectToggleLabel: "New Architect", newArchitectToggleTooltip: "Try the new Spark UI in Architect, switching back is available for a limited time." }, dragReusableMenuHere: "Add reusable menu here", dragReusableTaskHere: "Add reusable task here", dragStateTaskHere: "Add state here", collapseAll: "Collapse All", collapsedOne: "1 hidden action", collapsedMultiple: "%1$s hidden actions", collapsedCategoryOne: "1 hidden intent", collapsedCategoryMultiple: "%1$s hidden intents", confirmRemoveChildrenDelete: "Delete Them", confirmRemoveChildrenKeep: "Save Them", confirmRemoveMenu: "This menu contains menu choices, do you want to save them as a menu?", confirmRemoveTask: "This task contains actions, do you want to save them as a task?", confirmDeleteTopContainerActions: "'%1$s' contains one or more actions which will also be deleted.
", confirmDeleteTopContainerIsReferenced: "There are one or more actions which reference '%1$s' that will be in error if '%1$s' is deleted.
", confirmDeleteTopContainer: "%1$s
Are you sure that you want to delete '%2$s'?", confirmSaveChanges: "What do you want to do with your changes before navigating away?", confirmSaveChangesStatement: "You have unsaved changes.", created: "Created", deleteMenu: "Delete this menu", deleteTask: "Delete this task", deleteState: "Delete this state", deletionFailed: "Deletion failed", deletionFailedFor: "Deletion failed for %s", defaultForDescription: "Default: %1$s", discardChanges: "Discard Changes", editTask: "Edit Task", expandAll: "Expand All", expand: "expand", homeTitle: "Architect Home", genesysCloudDirectory: "Genesys Cloud - Activity Overview", initialGreetingLabel: "Initial Greeting", inlineLabelSeparator: ":", labelAndName: "%1$s: %2$s", logout: "Log Out", loopTask: "In-Queue Task", missingReference: "No '%1$s' Reference", namePlaceholder: "Enter name...", nameAndVersion: "%1$s (%2$s)", navigateTo: "Navigate to %1$s", noVariablesDefined: "There are no variables used in this flow. To create a variable, add an action that assigns a value to a variable.", noVariablesDefinedInContainer: "There are no '%1$s.' variables defined in '%2$s'. To create a variable, add an action that assigns a value to a variable.", noVariablesFound: "There is no data matching the search", noPromptsUsed: "There are no prompts being used in this flow", noPromptsFound: "There are no prompts matching the search", noLanguagesDefined: "There are no languages defined", preferencesAndSettings: "Preferences and settings", readOnlyFlowDeleted: "This flow is deleted.", readOnlyFlowLocked: "This flow is not open for edit and is currently locked by %1$s.", readOnlyFlowUnlocked: "This flow is not currently open for edit.", readOnlyFlowCantEdit: "You do not have permission to edit flows", readOnlyOldFlow: "You are currently viewing an older version of this flow.", reusableMenus: "Reusable Menus", reusableTasks: "Reusable Tasks", saveChanges: "Save Changes", searchFlows: "Search flows", sectionCommonModuleFlows: "Common Modules", sectionDigitalBotFlows: "Digital Bot Flows", sectionError: "Error", sectionFlows: "Flows", sectionPrompts: "Prompts", sectionBotFlows: "Bot Flows", sectionInboundEmailFlows: "Inbound Email Flows", sectionSurveyInviteFlows: "Survey Invite Flows", sectionSurveyInviteFlowsWebPrefix: "Web Survey Invite Flows", sectionInboundCallFlows: "Inbound Call Flows", sectionInboundChatFlows: "Inbound Chat Flows", sectionInboundShortMessageFlows: "Inbound Message Flows", sectionOutboundCallFlows: "Outbound Call Flows", sectionSecureCallFlows: "Secure Call Flows", sectionInQueueCallFlows: "In-Queue Call Flows", sectionInQueueEmailFlows: "In-Queue Email Flows", sectionInQueueShortMessageFlows: "In-Queue Message Flows", sectionVoiceFlows: "Voice Flows", sectionVoicemailFlows: "Voicemail Flows", sectionVoiceSurveyFlows: "Voice Survey Flows", sectionWorkflowFlows: "Workflows", sectionWorkItemFlows: "Workitem Flows", sectionUserPrompts: "User Prompts", sectionAdvancedFlowSearch: "Dependency Search", sectionSystemPrompts: "System Prompts", sectionUnsupportedBrowser: "Unsupported Browser", sectionFlowExecutionHistory: "Flow Execution History", sectionGrammars: "Grammars", serverRequests: "1 active network request", serverRequestsPlural: "%1$s active network requests", setMenuAsStartup: "Set this as the starting menu", setTaskAsStartup: "Set this as the starting task", setStateAsStartup: "Set this as the starting state", startUpMenuDisplayName: "Starting Menu", startUpTaskDisplayName: "Starting Task", startUpStateDisplayName: "Starting State", startUpBotStateDisplayName: "Starting Bot", periodicStateDisplayName: "Periodic State", setStateAsPeriodic: "Set this as the periodic state", unsavedChanges: "There are unsaved changes", webChatDeprecationText: "Genesys Cloud Web Chat and Web Chat Widgets have reached End of Life and are no longer supported. To avoid interruptions to service, migrate to Web Messaging as soon as possible. For more information see {{link.__CHAT_DEPRECATION__}} or reach out to your Genesys representative.", webChatDeprecationLinkText: "Deprecation: Removal of ACD Web Chat (version 2)", webChatDeprecationYear: "2025", shortcuts: { shortcutsDescriptions: { openShortcuts: "Open the shortcuts modal", expressionHelp: "Toggle Expression Help", goToStart: "Play backwards to Start", stepBackOver: "Step Back Over", stepBackOut: "Step Back Out", stepBackIn: "Step Back In", playPause: "Play / Pause the replay", stepIn: "Step In", stepOut: "Step Out", stepOver: "Step Over", goToEnd: "Play to End" }, shortcutGroupings: { all: "All", codeEditor: "Code Editor", flow: "Flow", global: "Global", replay: "Replay" }, shortcutsLabels: { clearKeystrokes: "Clear Keystrokes", command: "Command", exportShortcuts: "Export Shortcuts", filterBy: "Filter By", importShortcuts: "Import Shortcuts", keyboardShortcuts: "Keyboard Shortcuts", primaryKeystroke: "Primary Keystroke", resetToDefault: "Reset To Defaults", resetToDefaultQ: "Reset to default?", resolveConflict: "Resolve Conflict", revert: "Revert", secondaryKeystroke: "Secondary Keystroke" }, shortcutsMessages: { cannotOverwriteOpenShortcuts: "The shortcut '%1$s' is reserved for opening the shortcuts modal, please choose a different keystroke combination for this shortcut.", confirmResetToDefault: "Are you sure you want to reset all shortcuts to default values?", duplicateKeyCombosAssigned: "'%1$s' is already in use and will be removed from %2$s if accepted.", noMatchingShortcutCommands: "There are no matching shortcut commands.", numberOfSuccessfulShortcutsImported: "%1$s of %2$s shortcuts imported successfully.", primaryKeystrokeRequired: "The primary keystroke for '%1$s' is empty. \n\nA primary keystroke is required when a secondary keystroke is in use.", shortcutsImportedSuccessfully: "All shortcuts imported successfully.", shortcutsImportFailureFileRead: "No shortcuts were imported due to a file read error.", shortcutsImportFailureFormatting: "No shortcuts were imported due to errors with the shortcut formatting." } }, accessibility: { escapeToTab: "Press ESC before TAB to move to next element", skipLinkTexts: { skipToMenu: "Skip to Menu", skipToMenuEnd: "Skip to end of Menu" } }, importExport: { fileToImport: "File to import", import: "Import", importFailed: "Import Failed", importPartiallySuccessful: "Import Partially Successful", importSuccessful: "Import Successful", selectFileToUpload: "Select file to upload" }, markdownEditor: { boldButtonTitle: "Adds bold to the currently selected text or inserts a bold text placeholder where you can enter text", browseForFile: "Browse for File", clickToAddValue: "Click to add text", enterExpressionTextHere: "enter expression text here", enterFullVariableNameHere: "enter full variable name here", enterBoldTextHere: "enter bold text here", enterDigitalAudioUrlHere: "enter digital audio URL here", enterFileUrlHere: "enter file URL here", enterImageUrlHere: "enter image URL here", enterVideoUrlHere: "enter video URL here", enterItalicsTextHere: "enter italics text here", enterLinkTextHere: "enter link text here", enterLinkUrlHere: "enter link URL here", enterStrikethroughTextHere: "enter strikethrough text here", expressionButtonTitle: "Evaluates an expression and inserts the result in to the rich text", fileButtonTitle: "Insert a file from a file variable or URL in to the rich text", imageButtonTitle: "Insert an image from an image variable or URL in to the rich text", insertFromUrl: "Insert from URL", insertFileFromUrl: "Insert File from URL", insertImageFromUrl: "Insert image from URL", insertVariable: "Insert variable", italicsButtonTitle: 'Adds italics to the currently selected text or inserts an italics text placeholder where you can enter text"', linkButtonTitle: "Inserts a link with customizable text and URL in to the rich text", mediaButtonTitle: "Insert a media object from an image, video or digital audio variable or URL in to the rich text", missingClosingCurlyBraces: "Missing closing braces: '}}'", nestedCurlyBraces: "Nested curly braces are invalid and will be shown as plain text", strikethroughButtonTitle: "Adds strikethrough to the currently selected text or inserts an strikethrough text placeholder where you can enter text", variableButtonTitle: "Inserts a variable value in to the rich text" }, replayer: { actionExecutionId: "Action Execution ID", actionId: "Action ID", actionName: "Action Name", actionType: "Action Type", blankCommunicationItemMessage: "This communication was blank.", clearBreakpoint: "Clear Breakpoint", communications: "Communications", communicationFramesTooltip: "When the communications panel is being displayed, specifies which communications are being displayed.", communicationsNotSupportedForFlowType: "Communications are not supported for this flow type.", noCommunicationsForFlowInstance: "No communications were reported for this flow instance.", noCommunicationsForCurrentFrame: "No communications were reported for the current frame. To view frames that did have communications reported, update the Communications panel to show all communications in the {{link.__REPLAY_MODE_SETTINGS__}}.", confidence: "Confidence", confidenceAlternates: "Alternates", currentFrameCommunicationTooltip: "Current Frame", defaultLanguageSkillId: "Default Language Skill ID", defaultLanguageSkillName: "Default Language Skill Name", details: "Frame Details", eventNameError: "Error Event", eventNameWarning: "Warning Event", eventErrorSettingName: "Setting Name", eventErrorSettingItemName: "Setting Item Name", eventErrorSettingItemIndex: "Setting Item Index", eventErrorLimitOrg: "Organization", eventErrorLimitOrgLimits: "Limits", eventErrorFunctionName: "Function Name", eventErrorParameterName: "Parameter Name", eventErrorReason: "Reason", eventErrorDetails: "Error Details", eventErrorLimitName: "Limit Name", eventErrorLimitValue: "Limit Value", eventNameAgentEscalation: "Agent Escalation Event", eventNameAudioFlushed: "Audio Flushed Event", eventNameGlobalDtmf: "Global DTMF Event", eventLanguageChanged: "Language Changed Event", eventNameNoInput: "No Input Event", eventNameNoMatch: "No Match Event", eventNameRecognitionFailure: "Recognition Failure Event", eventNameSessionDisconnected: "Session Disconnected Event", eventNameVariablesUpdated: "Variables Updated Event", executionHistory: "Execution History\u2026", executionHistoryTitle: "Query execution history for this flow", executionId: "Execution ID", exitReplay: "Close Replay", exitReplayMode: "Exit Replay", exportExecutionData: "Export execution data", failedToLoadExecutionData: "Failed to load execution data", failedToLoadExecutionDataMessage: "There was an error loading the execution data for the flow instance with an ID of %1$s.", flow: "Flow", flowEnded: "Flow Ended", flowEndTime: "Flow End Time", flowExecutionId: "Flow Execution ID", flowExitReason: "Flow Exit Reason", flowExitTransferType: "Flow Exit Transfer Type", flowStarted: "Flow Started", flowStartingLanguage: "Flow Starting Language", flowStartTime: "Flow Start Time", flowInstanceIsSecure: "Flow Instance Is Secure", flowInstanceIsTruncated: "Flow Instance Is Truncated", flushedCommunications: "Flushed Queued Communications", filterData: "Filter variables...", filterDataEmpty: "There are no variables matching the filter", goToLatest: "Go to Latest", invokingContext: "Invoking Context", isInReplayMode: "Replay mode is read only. You can not make changes to this file.", isTruncated: "Truncated", isTruncatedTooltip: "Indicates execution data for this flow instance is truncated and not all items that ran during this flow's execution were captured.", loadingExecutionData: "Loading execution data...", numberOfMs: "...%1$sms", openFlow: "Open Target Flow", openFlowTitle: "Open replay of target flow (action must be for currently selected execution frame)", openInvokingFlow: "Open Invoking Flow", openInvokingFlowTitle: "This flow was invoked by another Architect flow.", openInvokingPolicy: "Open invoking Quality Policy", openInvokingPolicyTitle: "Open the invoking Quality Policy", openInvokingTrigger: "Invoked by Process Automation", openInvokingTriggerTitle: "This flow was invoked by a Process Automation Trigger.", openInvokingJourney: "Open Invoking Journey Action Map", openInvokingJourneyTitle: "This flow was invoked by a Journey Action Map.", openInvokingWorkitem: "Open Invoking Workitem", openInvokingWorkitemTitle: "This flow was invoked by a Workitem.", outputPath: "Output Path", pause: "Pause", participantTo: "To Participant", participantFrom: "From Participant", play: "Play", playbackSpeed: "Playback Speed", predictiveEngagementJourneyMapId: "Action Map ID", predictiveEngagementJourneyMapName: "Action Map Name", purposeNoInput: "No Input", purposeNoMatch: "No Match", qualityPolicyId: "Policy ID", qualityPolicyName: "Policy Name", replay: "Replay", panelLocationBottom: "Show panel on bottom", panelLocationOff: "Do not show panel", panelLocationSide: "Show panel on side", replayModeLabel: "Replay Mode", replayModeSettingsTitle: "Replay Mode Settings", sequenceTypeTextLabel: "Text", setBreakpoint: "Set Breakpoint", showStackGraph: "Show Stack Graph", skipHere: "Skip here", skipBackHere: "Skip back here", speedFast: "Fast", speedSlow: "Slow", stack: "Stack", stackExecutionId: "Stack Execution ID", stackType: "Type", sttEngineID: "STT Engine ID", processAutomationTriggerId: "Trigger ID", processAutomationTriggerName: "Trigger Name", processAutomationTriggerType: "Trigger Type", ttsEngineID: "TTS Engine ID", ttsVoiceID: "TTS Voice ID", variables: "Data", valueIsDeferred: "Deferred", valueRedacted: "Value Redacted", invalidValue: "Value Invalid", valueTooLarge: "Value Too Large", valueIsDeferredMessage: "This value is only computed when the property is accessed at runtime.", valueIsRedactedMessage: "This indicates a computation occurred but the value cannot be reported as it is secure.", valueIsInvalidMessage: "This indicates an invalid value at flow runtime.", valueIsTooLargeMessage: "This value was too large to be reported by the flow runtime engine.", workitemEventType: "Workitem Event Type", workitemId: "Workitem ID", workitemName: "Workitem Name", zoomFull: "Zoom Full", zoomMedium: "Zoom Medium", zoomOff: "Zoom Off", zoomPercent: "Zoom %1$s%%", zoomSmall: "Zoom Small", zoomLevel: "Timeline Zoom Level", replayToolbar: { showCommunicationsForAllFrames: "Show communications for all frames", showCommunicationsForCurrentFrame: "Show communications for current frame", showValuesInLocal: "Show Values in Local" }, executionDataProviders: { flow: { flowCommunicationsCharacteristicDisabled: "Communication data was not logged for this flow instance.", flowVariablesCharacteristicDisabled: "Variable value data was not logged for this flow instance." } }, disposition: "Disposition: %1$s", dispositions: { executionSkippedMaxInstancesExceeded: "Execution of this action was skipped because execution would exceed the maximum number of instances allowed per flow instance.", skippingInboundEmailAutoGenerated: "No auto reply was sent from this action. Automatic replies are not sent to auto-generated emails.", skippingInputMessageBodyBlank: "No message was sent from this action. The message body was blank.", skippingPreviousReplyWithParticipant: "No auto reply was sent from this action. An auto reply was already sent for this conversation.", skippingThirdPartyEmailConversation: "No auto reply was sent from this action. Auto replies are not sent to third party email conversations." }, nextChange: "Go to next change", previousChange: "Go to previous change", externalExecutionData: { unavailable: { botDataUnavailableInsufficientPermissionsCommunications: "Communications for the external bot are unavailable due to insufficient permissions. You must have the bot instance view permission to see external bot communications.", botDataUnavailableUnableToRetrieveCommunications: "Communications for the external bot are unavailable due to an error retrieving the bot instance data." } }, pausingPlayback: "Pausing playback", resumingPlayback: "Resuming playback" }, executionHistory: { flowExecutionViewPermission: "You do not have permission to view flow executions.", flowInstanceQueryPermission: "You do not have permission to query flow instance history.", flowInstanceViewPermission: "You do not have permission to view flow instance history.", flowInstanceMissingViewPermission: "You do not have permission to view this flow instance. The permission 'architect:flowInstance:view' is required to view flow instance history.", endDateTime: "End Date Time", startDateTime: "Start Date Time", queryBuilderOnboarding: "Add Criteria Here", queryBuilderOnboardingInfo: "Create a query to find all available flow instances that can be replayed.

You can click on, or drag, criteria from the toolbar on the right to create a filter that will help narrow down the flows whose execution meet different criteria.", queryBuilderUrlCriteriaUnavailable: "Unable to query the requested execution data specified in the URL as the query requires criteria that is not available to this organization.", queryBuilderLinkNotValid: "The linked execution history query was not executed due to an error in the criteria value provided.", viewQuery: "View Query", flowInstances: "Results", queryBuilder: "Query Builder", confirmDeleteTitle: "Confirm Delete", confirmDeleteMessage: "Are you sure you want to delete this Clause? If deleted, all of the criteria it contains will also be deleted.", actionRuntimeIdLabel: "%1$s - Action", menuRuntimeIdLabel: "%1$s - Menu", criteriaValuePlaceholder: "Enter a value", criteriaSelectedValueRequired: "You must select a value.", criteriaAllowableValuePlaceholder: "Select a value", enterCriteriaValueScreenreaderText: "Enter a value for the '%1$s' criteria.", selectCriteriaValueScreenreaderText: "Select a value for the '%1$s' criteria.", selectCriteriaOperatorScreenreaderText: "Select an operator for the '%1$s' criteria.", selectActionContainerValueScreenreaderText: "Select an Action value for this criteria.", errorAddingCriteria: "Error Adding Criteria", tooManyNestedCriteria: "Unable to add a new nested criteria clause", unableToLoadQuery: "Unable to load saved query", errorRunningQuery: "An error occurred when running the query", runQuery: "Show Results", loadQuery: "Load Query", clearQuery: "Clear Query", saveQuery: "Save Query", queryNotExecuted: "Run a query with the Query Builder above to find flow instances", queryNoResults: "Query did not find any flow instances", invalidQueryNeedsOneCriteria: "Invalid query: At least one criteria is required", invalidQueryNeedsFlowIdCriteria: "Invalid query: Queries for an Action Id must include the Flow Id", invalidQueryNeedsActionIdCriteria: "Invalid query: Queries for Output Paths and Flow Id must include the Action Id", viewingFlowInstance: "%1$s (viewing)", changeQueryMode: "Change Query Mode", changeQueryModeWarningMessage: "Are you sure you want to change query mode? Your current query will be lost.", enhancedQueryMode: "Enhanced Query", categoryLabels: { clause: "Clause", flow: "Flow Criteria", action: "Action Criteria", conversation: "Conversation Criteria", workitem: "Workitem Criteria" }, criteriaDefinitionLabels: { actionId: "Action Id", actionType: "Action Type", and: "and", conversationId: "Conversation Id", definedExitPath: "Known Output Path", dynamicExitPath: "Dynamic Output Path", exitPathName: "Output Path Name", flowEndDate: "Flow End DateTime", flowErrorReason: "Flow Error Code", flowId: "Flow Id", flowInvokedError: "Flow Invoked Error", flowName: "Flow Name", flowStartDate: "Flow Start DateTime", flowType: "Flow Type", flowVersion: "Flow Version", flowWarningReason: "Flow Warning Code", not: "not", objectExecutionId: "Invoking Flow Object Execution Id", or: "or", workitemId: "Invoking Workitem Id" }, criteriaDefinitionDescriptions: { and: "Query for flow instances where all sub-criteria must be true", or: "Query for flow instances where at least one sub-criteria must be true", actionId: "Query for by action ID", actionType: "Query by action type", conversationId: "Query by conversation ID", flowType: "Query by flow type", flowName: "Query by flow name", flowId: "Query by flow ID", flowVersion: "Query by flow version", flowInvokedError: "Query for flow instances that invoked any error", flowErrorReason: "Query by error reason", flowStartDate: "Query by flow start datetime", flowEndDate: "Query by flow end datetime", objectExecutionId: "Query for flows via the object execution id (the invoking caller)", exitPathName: "Query by action output path name", definedExitPath: "Query by action output path known ID", dynamicExitPath: "Query by action output path ID" }, operatorLabels: { eq: "equals", gt: "greater than", gte: "greater than or equal to", lt: "less than", lte: "less than or equal to", begins: "starts with" } }, executionDataConfiguration: { directoryOrganizationAdminPermission: "You do not have permission to view organization settings in Collaborate.", executionDataLogLevelLabelAll: "All", executionDataLogLevelLabelBase: "Base", executionDataLogLevelLabelCustom: "Custom", executionDataLogLevelLabelDisabled: "None (Disabled)", executionDataLogLevelLabelNone: "None", executionDataLogLevelLabelNotes: "Notes", executionDataLogLevelLabelVerboseNotes: "Verbose Notes", flowInstanceExecutionDataViewPermission: "You do not have permission to view flow execution data storage settings.", flowLogLevelViewPermission: "You do not have permission to view flow log level settings.", flowLogLevelViewPermissionMissing: "You do not have the view flow log level settings permission in the division of the following flow:", flowLogLevelDefaultViewPermission: "You do not have permission to view default flow log level settings.", organizationExecutionDataViewPermission: "You do not have permission to view the execution data settings in this organization.", organizationExecutionDataViewRestriction: "You do not have permission to view the execution data settings in this organization. Find further information and instructions in the {{link.__RESOURCE_CENTER_EXECUTION_DATA__}}.", flowLogLevelButtonLabel: "Execution Data", flowLogLevelButtonTooltip: "Override execution data level for flow", flowLogLevelModalTitle: "Override Execution Data Flow Level", flowLogLevelModalSubtitle: "Flow: %1$s", manageExecutionDataMenuLabel: "Execution Data Settings", flowDefaultLogLevelMenuLabel: "Execution Data Flows Level", flowDefaultLogLevelModalTitle: "Set Execution Data Level for Flows", flowDefaultLogLevelFlowName: "Default", flowInstanceLogLevelTooltip: "The execution data log level used for the flow instance.", flowInstanceSecureLogLevelTooltip: "The execution data log level used for the flow instance. The lock icon indicates that this flow instance was secure.", recordedFlowInstanceExecutionLevel: "Execution Data Level: %1$s" }, naturalLanguageUnderstanding: { intentDefinitions: "Intent Definitions", languageStatusPreviewIntentDetection: "The language '%1$s' is a preview release and may impact intent detection.", nluMustHaveOneIntentForIntentDetection: "There must be at least one intent defined in the flow's Natural Language Understanding configuration if you want to detect an intent." } }; }, 12688: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.captureError = t2.errorContext = void 0; @@ -16767,8 +18121,8 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = r2.__importDefault(i2(2257)), a = r2.__importDefault(i2(56549)), s = i2(30801), l = i2(71439), u = i2(9485), d = r2.__importDefault(i2(66978)); - class c extends o.default { + const r2 = i2(31635), o = r2.__importDefault(i2(2257)), a = r2.__importDefault(i2(56549)), s = i2(30801), l = i2(71439), u = i2(9485), c = r2.__importDefault(i2(66978)); + class d extends o.default { constructor(e3) { super(e3), n2.set(this, void 0), this._aliasManager = l.lexV2AliasManager, this._botNameManager = u.lexV2BotNameManager, r2.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.initialIntent), "f"); } @@ -16805,14 +18159,14 @@ var require_scripting_bundle = __commonJS({ const l2 = { localeString: n3.toLowerCase(), botId: o3.id }; this.logNote(`Using locale '${n3.toLowerCase()}' and bot id '${o3.id}' for filtering alias lookup.`); const u2 = yield a.default.findItemByValueAsync(this._aliasManager, e3, `lex alias for bot '${o3.name}'`, void 0, void 0, l2, { botId: o3.id }); - return this.logNote(`Found partial info for the Lex Bot Alias named '${u2.name}' for the passed alias name of '${e3}' on bot '${o3.name}'. Getting full alias details.`), d.default.addPromise(this._setLexBotAliasByIdAsync("setLexBotAliasByNameAsync", u2.id, s2), "setLexBotAliasByNameAsync"); + return this.logNote(`Found partial info for the Lex Bot Alias named '${u2.name}' for the passed alias name of '${e3}' on bot '${o3.name}'. Getting full alias details.`), c.default.addPromise(this._setLexBotAliasByIdAsync("setLexBotAliasByNameAsync", u2.id, s2), "setLexBotAliasByNameAsync"); } const r3 = yield a.default.findItemByValueAsync(this._aliasManager, e3, "lex alias", void 0, void 0, void 0, { botId: t3 }); - return this.logNote(`Found partial info for the Lex Bot Alias named '${r3.name}' for the passed alias name of '${e3}'. Getting full alias details.`), d.default.addPromise(this._setLexBotAliasByIdAsync("setLexBotAliasByNameAsync", r3.id, s2), "setLexBotAliasByNameAsync"); + return this.logNote(`Found partial info for the Lex Bot Alias named '${r3.name}' for the passed alias name of '${e3}'. Getting full alias details.`), c.default.addPromise(this._setLexBotAliasByIdAsync("setLexBotAliasByNameAsync", r3.id, s2), "setLexBotAliasByNameAsync"); }); } } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = c; + n2 = /* @__PURE__ */ new WeakMap(), t2.default = d; }, 12715: (e2, t2, i2) => { const n2 = i2(2210), r2 = i2(28730), { playAudioActionType: o } = i2(30801); function a() { @@ -16829,8 +18183,8 @@ var require_scripting_bundle = __commonJS({ } } }), e2.exports = a; }, 12722: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(26954), s = i2(96684), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(26954), s = i2(96684), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -16838,7 +18192,7 @@ var require_scripting_bundle = __commonJS({ return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findUser.nameLabel, searchResultLabel: d.findActions.findUser.resultLabel, searchResultExpressionOptions: a.ExpressionTypeUserOptions.create(), searchResultItemType: o.expressionTypeNames.userQueue }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findUser, modelClass: s.FindUserActionModel, name: d.actions.findUser, scriptingName: "ArchActionFindUser" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findUser, modelClass: s.FindUserActionModel, name: d.actions.findUser, scriptingName: "ArchActionFindUser", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 12723: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -16977,10 +18331,10 @@ var require_scripting_bundle = __commonJS({ }, 12889: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(58380)), a = n2.__importStar(i2(59288)), s = n2.__importStar(i2(36781)), l = n2.__importDefault(i2(61610)), u = n2.__importDefault(i2(33139)), d = i2(12179), c = n2.__importDefault(i2(97891)), p = i2(26847), _ = i2(55909), h = i2(33951), m = i2(17604), g = n2.__importDefault(i2(41510)), f = i2(30801), T = i2(1115), y = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(59288)), l = n2.__importDefault(i2(33139)), u = n2.__importStar(i2(36781)), c = n2.__importStar(i2(58380)), d = i2(26847), p = i2(55909), _ = i2(33951), h = n2.__importDefault(i2(41510)), m = i2(1115), g = i2(30801), f = n2.__importDefault(i2(4648)), T = i2(12179), y = i2(1910), S = n2.__importDefault(i2(97891)), A = n2.__importDefault(i2(61610)), N = i2(47957); i2(92330); - const S = (e3) => e3 === p.outputIds.default; - class A extends l.default { + const v = (e3) => e3 === d.outputIds.default; + class O extends A.default { constructor(e3, t3) { super(e3), this._branchItems = [], this._loadModel(t3); } @@ -16988,12 +18342,12 @@ var require_scripting_bundle = __commonJS({ return true; } get resources() { - return { deleteTitle: y.deleteTask, edit: y.editTask, multipleNameError: y.task.multipleNames, noTerminatingAction: y.task.noTerminatingAction, setAsStartup: y.setTaskAsStartup, startUpDisplayName: y.startUpTaskDisplayName }; + return { deleteTitle: N.deleteTask, edit: N.editTask, multipleNameError: N.task.multipleNames, noTerminatingAction: N.task.noTerminatingAction, setAsStartup: N.setTaskAsStartup, startUpDisplayName: N.startUpTaskDisplayName }; } _loadModel(e3) { if (e3) { if (this._branchItems.length = 0, e3.paths) for (let t3 = 0; t3 < e3.paths.length; t3++) { - const i3 = a.createBranchItem(e3.id, e3.paths[t3], (e4) => this.removeBranch(e4), S(e3.paths[t3].outputId)); + const i3 = s.createBranchItem(e3.id, e3.paths[t3], (e4) => this.removeBranch(e4), v(e3.paths[t3].outputId)); this._branchItems.push(i3); } super._loadModel(e3); @@ -17004,44 +18358,58 @@ var require_scripting_bundle = __commonJS({ } getBranchByName(e3) { if (!this.parentFlow.supportsTasksWithOutputPaths) return null; - if (!h.ParameterValidator.expectString(e3, () => _.ParameterInfo.createFunctionParameter(this.className, "getBranchByName", "branchName"))) return null; - const t3 = e3.toLowerCase(), i3 = r2.default.find(this._branchItems, (e4) => e4.label.toLowerCase() === t3); - return r2.default.isUndefined(i3) ? null : i3; + if (!_.ParameterValidator.expectString(e3, () => p.ParameterInfo.createFunctionParameter(this.className, "getBranchByName", "branchName"))) return null; + const t3 = e3.toLowerCase(), i3 = a.default.find(this._branchItems, (e4) => e4.label.toLowerCase() === t3); + return a.default.isUndefined(i3) ? null : i3; } getBranchByOutputId(e3) { const t3 = this._branchItems.find((t4) => t4.outputId === e3); - return r2.default.isUndefined(t3) ? null : t3; + return a.default.isUndefined(t3) ? null : t3; } createBranch(e3) { if (!this.supportsCustomOutputPaths) return null; - const t3 = a.createBranchItem(this.id, e3, (e4) => this.removeBranch(e4)); - return this._branchItems.push(t3), o.fireEvent(this, s.outputBranchAdded, t3), t3; + const t3 = s.createBranchItem(this.id, e3, (e4) => this.removeBranch(e4)); + return this._branchItems.push(t3), c.fireEvent(this, u.outputBranchAdded, t3), t3; } _destroy() { super._destroy(), this._branchItems.length = 0; } getInputVariables() { - return r2.default.filter(this.variables, (e3) => e3.isInput); + return a.default.filter(this.variables, (e3) => e3.isInput); } get isReusableTask() { return !this.isInlineTask && this.id !== this.parentFlow.initialSequence; } getOutputVariables() { - return r2.default.filter(this.variables, (e3) => e3.isOutput); + return a.default.filter(this.variables, (e3) => e3.isOutput); + } + configureFromModel(e3, t3, i3, r3) { + const o2 = Object.create(null, { configureFromModel: { get: () => super.configureFromModel } }); + return n2.__awaiter(this, void 0, void 0, function* () { + if (Array.isArray(e3.outputPaths) && this.supportsCustomOutputPaths) for (const t4 of e3.outputPaths) { + if (!(0, y.isConfigureFromModelRecord)(t4)) continue; + const e4 = t4.outputPath; + if ((0, y.isConfigureFromModelRecord)(e4)) { + const t5 = "string" == typeof e4.name ? e4.name : void 0; + t5 && (this.getBranchByName(t5) || this.createBranch(t5)); + } + } + yield o2.configureFromModel.call(this, e3, t3, i3, r3); + }); } getConfiguration(e3, t3) { let i3 = super.getConfiguration(e3, t3); if (null == t3 ? void 0 : t3.isForFlowYaml) { if (!this.supportsCustomOutputPaths || 1 === this._branchItems.length) return i3; - i3 = r2.default.getFirstPropertyValueInObj(i3); + i3 = a.default.getFirstPropertyValueInObj(i3); } - const n3 = (null == t3 ? void 0 : t3.isForFlowYaml) ? u.default.outputPaths : u.default.paths; - return r2.default.isArray(i3[n3]) || (i3[n3] = []), i3[n3].length = 0, this._branchItems.forEach((r3) => { - (null == t3 ? void 0 : t3.isForFlowYaml) && r3.outputId === p.outputIds.default || i3[n3].push(r3.getConfiguration(e3, t3)); - }), (null == t3 ? void 0 : t3.isForFlowYaml) ? r2.default.tryWrapObject(i3, this.wrappedYamlName) : i3; + const n3 = (null == t3 ? void 0 : t3.isForFlowYaml) ? l.default.outputPaths : l.default.paths; + return a.default.isArray(i3[n3]) || (i3[n3] = []), i3[n3].length = 0, this._branchItems.forEach((r3) => { + (null == t3 ? void 0 : t3.isForFlowYaml) && r3.outputId === d.outputIds.default || i3[n3].push(r3.getConfiguration(e3, t3)); + }), (null == t3 ? void 0 : t3.isForFlowYaml) ? a.default.tryWrapObject(i3, this.wrappedYamlName) : i3; } get isAllowedAsStartupNode() { - return this.parentFlow.definition.startUpObjectCanBeTask && !this.isInlineTask; + return this.parentFlow.definition.startUpObjectCanBeTask && !this.isInlineTask && this.parentFlow.type !== r2.flowTypes.flowTypeVoiceSurvey; } get isCallable() { return !this.isInlineTask && !this.isStartUpObject; @@ -17057,7 +18425,7 @@ var require_scripting_bundle = __commonJS({ } set name(e3) { const t3 = this.name; - super.name = e3, t3 !== e3 && (o.fireEvent(this.parentFlow, s.taskNameChanged, this), (0, T.validateNode)(this, true)); + super.name = e3, t3 !== e3 && (c.fireEvent(this.parentFlow, u.taskNameChanged, this), (0, m.validateNode)(this, true)); } get supportsInputVariables() { return !this.isInlineTask && this.parentFlow.supportsTaskInputVariables; @@ -17072,24 +18440,24 @@ var require_scripting_bundle = __commonJS({ return this.parentFlow.supportsTaskInputAndOutputVariables; } removeBranch(e3) { - if (e3 === p.outputIds.default) return; - const t3 = r2.default.findIndex(this._branchItems, { outputId: e3 }); - t3 > -1 && a.removeBranch(this.id, e3) && (this._branchItems.splice(t3, 1), o.fireEvent(this, s.outputBranchRemoved, e3)); + if (e3 === d.outputIds.default) return; + const t3 = a.default.findIndex(this._branchItems, { outputId: e3 }); + t3 > -1 && s.removeBranch(this.id, e3) && (this._branchItems.splice(t3, 1), c.fireEvent(this, u.outputBranchRemoved, e3)); } addClipboardDependencies(e3) { super.addClipboardDependencies(e3), e3.copyCutProcessTaskViewModel(this); } targetTaskPathDisplayStr(e3) { - return this.isInlineTask ? (0, m.sprintf)(g.default.task.targetPathDisplayStr, this.linkedMenuChoice.parent.name, this.name) : this.name; + return this.isInlineTask ? (0, o.sprintf)(h.default.task.targetPathDisplayStr, this.linkedMenuChoice.parent.name, this.name) : this.name; } } - A.info = c.default.createReusableNodeInfo({ actionType: f.taskActionType, actionClass: A, helpTopic: d.helpTopics.tasks.task, name: y.actions.task, needsServerInfo: true, categoryId: "category.task" }), t2.default = A; + O.info = S.default.createReusableNodeInfo({ actionType: g.taskActionType, actionClass: O, helpTopic: T.helpTopics.tasks.task, name: N.actions.task, needsServerInfo: true, categoryId: "category.task", modelFormatSupport: { flowYaml: { inProgress: true, feature: f.default.changeSetsFeaturePhase2 } } }), t2.default = O; }, 12992: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = i2(80428), a = i2(15364), s = i2(48112), l = i2(37830), u = i2(81516), d = i2(79963), c = i2(12179), p = i2(12457), _ = n2.__importDefault(i2(97891)), h = i2(77415), m = n2.__importDefault(i2(5730)), g = i2(47957); - class f extends m.default { + const n2 = i2(31635), r2 = i2(17604), o = i2(80428), a = i2(15364), s = i2(48112), l = i2(37830), u = i2(81516), c = i2(79963), d = i2(12179), p = i2(12457), _ = n2.__importDefault(i2(97891)), h = i2(77415), m = n2.__importDefault(i2(5730)), g = n2.__importDefault(i2(4648)), f = i2(47957); + class T extends m.default { constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3), this.resources = { mustSelectScript: (0, r2.sprintf)(g.screenPop.mustSelectScript, g.createCallback.selectedScript), scriptNotFound: g.createCallback.callbackScriptNotFound }; + super(e3.parentFlow, e3), this._loadModel(t3), this.resources = { mustSelectScript: (0, r2.sprintf)(f.screenPop.mustSelectScript, f.createCallback.selectedScript), scriptNotFound: f.createCallback.callbackScriptNotFound }; } get useQueue() { return this.model.useQueue; @@ -17103,7 +18471,7 @@ var require_scripting_bundle = __commonJS({ getDetails() { if (!this.callbackNumbers || !this.queue) return null; const e3 = [], t3 = []; - return this.scriptName && (e3.push(g.createCallback.selectedScript), t3.push(this.scriptName)), this.calleeName.text && (e3.push(g.createCallback.calleeName), t3.push(this.calleeName.text)), this.callbackNumbers.items && this.callbackNumbers.items.length > 0 && (e3.push(g.createCallback.callbackNumber), t3.push(this.callbackNumbers.items[0].text)), this.queue.outOfService || (e3.push(g.transferPureMatch.queue), t3.push(this.queue.text)), new p.ActionDetails(e3, t3); + return this.scriptName && (e3.push(f.createCallback.selectedScript), t3.push(this.scriptName)), this.calleeName.text && (e3.push(f.createCallback.calleeName), t3.push(this.calleeName.text)), this.callbackNumbers.items && this.callbackNumbers.items.length > 0 && (e3.push(f.createCallback.callbackNumber), t3.push(this.callbackNumbers.items[0].text)), this.queue.outOfService || (e3.push(f.transferPureMatch.queue), t3.push(this.queue.text)), new p.ActionDetails(e3, t3); } setNewInstanceDefaults() { super.setNewInstanceDefaults(...arguments), this.callbackNumbers.add(), this.callbackNumbers.items[0].setAsExpression("ToPhoneNumber(Call.Ani)"), this.setOutOfService(); @@ -17112,10 +18480,10 @@ var require_scripting_bundle = __commonJS({ super._loadModel(e3), this.setOutOfService(); } static get managedProperties() { - return [{ label: g.configurations.queue, options: l.ExpressionTypeQueueOptions.create((e3) => e3.setIninTestingField("queueExpression").setAllowEmptyConfig(true)), property: "queue", type: o.expressionTypeNames.queue }, { label: g.createCallback.callbackNumber, list: true, property: "callbackNumbers", type: o.expressionTypeNames.phoneNumber, options: s.ExpressionTypePhoneNumberOptions.create((e3) => e3.setIninTestingField("callbackNumberExpression")), yamlOptions: f.createYamlOptions("callbackNumber", (e3) => e3.setPropertyName("callbackNumber").setConvertToSingleItem(true)) }, { label: g.createCallback.calleeName, options: u.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setIninTestingField("calleeNameExpression")), property: "calleeName", type: o.expressionTypeNames.string }, { createDetails: h.ScriptProperties.createCreateDetails(void 0, void 0, true), property: "scriptSettings", yamlOptions: f.createYamlOptions("scriptSettings", (e3) => e3.setPropertyName("callbackScript").setUseNoneTrueForExpressionContainerClass(a.DataPairList.className)) }]; + return [{ label: f.configurations.queue, options: l.ExpressionTypeQueueOptions.create((e3) => e3.setIninTestingField("queueExpression").setAllowEmptyConfig(true)), property: "queue", type: o.expressionTypeNames.queue }, { label: f.createCallback.callbackNumber, list: true, property: "callbackNumbers", type: o.expressionTypeNames.phoneNumber, options: s.ExpressionTypePhoneNumberOptions.create((e3) => e3.setIninTestingField("callbackNumberExpression")), yamlOptions: T.createYamlOptions("callbackNumber", (e3) => e3.setPropertyName("callbackNumber").setConvertToSingleItem(true)) }, { label: f.createCallback.calleeName, options: u.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setIninTestingField("calleeNameExpression")), property: "calleeName", type: o.expressionTypeNames.string }, { createDetails: h.ScriptProperties.createCreateDetails(void 0, void 0, true), property: "scriptSettings", yamlOptions: T.createYamlOptions("scriptSettings", (e3) => e3.setPropertyName("callbackScript").setUseNoneTrueForExpressionContainerClass(a.DataPairList.className)) }]; } get scriptManager() { - return d.callbackManager; + return c.callbackManager; } getCachedServerPropertyById(e3, t3) { return this.scriptManager.getCachedServerPropertyById(e3, this.scriptId, t3, this); @@ -17124,7 +18492,7 @@ var require_scripting_bundle = __commonJS({ this.useQueue = !this.parentFlow.isInQueueCallFlow, this.queue.outOfService = !this.useQueue; } } - f.info = _.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: c.helpTopics.actions.createCallback, modelClass: i2(2512), name: g.actions.createCallback, scriptingName: "ArchActionCreateCallback" }), t2.A = f; + T.info = _.default.createActionInfo({ actionClass: T, canBeInTask: true, helpTopic: d.helpTopics.actions.createCallback, modelClass: i2(2512), name: f.actions.createCallback, scriptingName: "ArchActionCreateCallback", modelFormatSupport: { flowYaml: { inProgress: true, feature: g.default.changeSetsFeaturePhase2 } } }), t2.A = T; }, 13002: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -17163,7 +18531,7 @@ var require_scripting_bundle = __commonJS({ }, 13110: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.EventHandlingTypeProperty = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(88473), a = i2(55867), s = i2(24032), l = i2(79364), u = n2.__importDefault(i2(15244)), d = i2(47957), c = (0, s.getTopic)("EventHandlingTypeProperty"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(88473), a = i2(55867), s = i2(24032), l = i2(79364), u = n2.__importDefault(i2(15244)), c = i2(47957), d = (0, s.getTopic)("EventHandlingTypeProperty"); class p extends a.BaseActionProperty { constructor(e3, t3, i3, n3, r3, a2) { var s2, u2; @@ -17202,7 +18570,7 @@ var require_scripting_bundle = __commonJS({ break; default: const a2 = `Matching handlingProperty not found for handling type value '${e3}'`; - throw c.exceptionWithErrorObjectInfo(null, a2, e3), a2; + throw d.exceptionWithErrorObjectInfo(null, a2, e3), a2; } return r2.default.ensureYamlNoneTrue(n3), i3; } @@ -17223,16 +18591,16 @@ var require_scripting_bundle = __commonJS({ case u.default.Menu: case u.default.State: const e4 = `'${this.handlingType.name}' is not supported yet`; - throw c.error(e4), e4; + throw d.error(e4), e4; default: const t4 = `Matching handlingProperty not found for handling type value '${this.handlingType.name}'`; - throw c.exceptionWithErrorObjectInfo(null, t4, this.handlingType), t4; + throw d.exceptionWithErrorObjectInfo(null, t4, this.handlingType), t4; } return r2.default.ensureYamlNoneTrue(t3), e3; } getErrors() { const e3 = []; - return this.handlingType || e3.push(d.facets.valueStringMinLengthOne), e3; + return this.handlingType || e3.push(c.facets.valueStringMinLengthOne), e3; } validate(e3) { super.validate(e3), this.getErrors().forEach((t3) => e3.addError(this.action, t3)); @@ -17325,8 +18693,8 @@ var require_scripting_bundle = __commonJS({ t2.getSurveyForms = a.default.request("GET", "{public-api.apps}/api/v2/quality/publishedforms/surveys", s, l), t2.getSurveyForm = a.default.request("GET", "{public-api.apps}/api/v2/quality/publishedforms/surveys/{id}", r2.default, l), t2.getSurveyFormVersions = a.default.request("GET", "{public-api.apps}/api/v2/quality/forms/surveys/{id}/versions", s, l), t2.getLatestPublishedSurveyForm = a.default.request("GET", "{public-api.apps}/api/v2/quality/forms/surveys/bulk/contexts?contextId={contextId}&published=true", o.default, l); }, 13221: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(80428), o = i2(81516), a = n2.__importDefault(i2(27203)), s = i2(70283), l = i2(12179), u = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(5478)), c = i2(47957); - class p extends d.default { + const n2 = i2(31635), r2 = i2(80428), o = i2(81516), a = n2.__importDefault(i2(27203)), s = i2(70283), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(5478)), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends c.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -17334,13 +18702,13 @@ var require_scripting_bundle = __commonJS({ return a.default.successFailure; } static get managedProperties() { - return [{ label: c.getSIPHeaders.rawSIPHeadersResultLabel, type: r2.expressionTypeNames.string, options: o.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setDescriptionInfo(c.getSIPHeaders.rawSIPHeadersResultLabel, c.getSIPHeaders.rawSIPHeadersResultDescription).setIninTestingField("rawSIPHeaderValueExpression")), yamlOptions: p.createYamlOptions("rawSIPHeadersResult", (e3) => e3.setExportOrder(2)), property: "rawSIPHeadersResult" }]; + return [{ label: p.getSIPHeaders.rawSIPHeadersResultLabel, type: r2.expressionTypeNames.string, options: o.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setDescriptionInfo(p.getSIPHeaders.rawSIPHeadersResultLabel, p.getSIPHeaders.rawSIPHeadersResultDescription).setIninTestingField("rawSIPHeaderValueExpression")), yamlOptions: _.createYamlOptions("rawSIPHeadersResult", (e3) => e3.setExportOrder(2)), property: "rawSIPHeadersResult" }]; } _getPossibleErrors() { return s.getRawSipHeadersFailureReasons; } } - p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.getRawSIPHeaders, modelClass: i2(62061), name: c.actions.getRawSIPHeaders, scriptingName: "ArchActionGetRawSIPHeaders" }), t2.A = p; + _.info = u.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: l.helpTopics.actions.getRawSIPHeaders, modelClass: i2(62061), name: p.actions.getRawSIPHeaders, scriptingName: "ArchActionGetRawSIPHeaders", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; }, 13240: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(93476); function o() { @@ -17366,16 +18734,16 @@ var require_scripting_bundle = __commonJS({ i2(45214).extend(n2, "DebugSettings"), Object.defineProperties(n2.prototype, {}), e2.exports = n2; }, 13293: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(80428), a = i2(90708), s = i2(81516), l = i2(12179), u = i2(82632), d = n2.__importDefault(i2(97891)), c = i2(24383), p = n2.__importDefault(i2(5730)), _ = i2(47957); - class h extends p.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(80428), a = i2(90708), s = i2(81516), l = i2(12179), u = i2(82632), c = n2.__importDefault(i2(97891)), d = i2(24383), p = n2.__importDefault(i2(5730)), _ = n2.__importDefault(i2(4648)), h = i2(47957); + class m extends p.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } static get managedProperties() { - return [{ label: _.actions.abortSendActionMessageSettingLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(_.actions.abortSendActionMessageSettingLabel, _.actions.abortSendActionMessageSettingDescription).setIninTestingField("abortSendMessage").setDefaultToNoValue(false).setIsOptional(false).setUiPropertyOrder(1).facets.setMinLength(u.abortSend.message.minLength).setMaxLength(u.abortSend.message.maxLength).setTruncatesToMaxLength(true)), property: "message", supportedFlowTypes: [r2.flowTypes.flowTypeEmailSend], type: o.expressionTypeNames.string, yamlOptions: h.createYamlOptions("message", (e3) => e3.setExportOrder(1)) }]; + return [{ label: h.actions.abortSendActionMessageSettingLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(h.actions.abortSendActionMessageSettingLabel, h.actions.abortSendActionMessageSettingDescription).setIninTestingField("abortSendMessage").setDefaultToNoValue(false).setIsOptional(false).setUiPropertyOrder(1).facets.setMinLength(u.abortSend.message.minLength).setMaxLength(u.abortSend.message.maxLength).setTruncatesToMaxLength(true)), property: "message", supportedFlowTypes: [r2.flowTypes.flowTypeEmailSend], type: o.expressionTypeNames.string, yamlOptions: m.createYamlOptions("message", (e3) => e3.setExportOrder(1)) }]; } } - h.info = d.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: l.helpTopics.actions.abortSend, modelClass: a.AbortSendActionModel, name: _.actions.abortSend, scriptingName: "ArchActionAbortSend", termination: c.terminatesFlow }), t2.A = h; + m.info = c.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: l.helpTopics.actions.abortSend, modelClass: a.AbortSendActionModel, name: h.actions.abortSend, scriptingName: "ArchActionAbortSend", termination: d.terminatesFlow, modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } } }), t2.A = m; }, 13297: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -17479,7 +18847,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(94241)), a = i2(80428), s = n2.__importDefault(i2(65302)), l = n2.__importDefault(i2(8471)), u = r2.default.invert(a.expressionTypeNames); - class d extends l.default { + class c extends l.default { _coreTypesToArchTypes(e3, t3) { this._checkItemUndefinedOrNull(this._infoParm("coreExpressionTypesObject", "_coreTypesToArchTypes"), e3); const i3 = t3 || {}; @@ -17511,7 +18879,7 @@ var require_scripting_bundle = __commonJS({ return r2.default.values(this._coreTypesToArchTypes(t3)); } } - t2.default = new d(); + t2.default = new c(); }, 13720: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -17569,6 +18937,41 @@ var require_scripting_bundle = __commonJS({ }, set: function(e3) { this._currentIndex = this.reviveItem(e3, r2); } } }), e2.exports = o; + }, 13821: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.validateTopLevelFlowYamlMode = t2.FLOW_BODY_STRING_SCALAR_KEYS = void 0, t2.validateTopLevelFlowYamlSync = a, t2.validateTopLevelFlowYaml = function(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const t3 = [...a(e3).errors]; + if (t3.some((e4) => false !== e4.fatal)) return { errors: t3 }; + const i3 = e3.flowBody.division; + if ("create" === e3.mode && ("string" == typeof i3 ? e3.resolveDivision ? (yield e3.resolveDivision(i3)) || t3.push(o(`Flow YAML create: division '${i3}' was not found for this organization.`, "divisionNotFound")) : t3.push(o("Flow YAML create: `division` is present in YAML but no `resolveDivision` hook was supplied.", "divisionResolverMissing")) : void 0 === i3 && (e3.defaultFlowCreationDivision || t3.push(o("Flow YAML create: no `division` in YAML and no `defaultFlowCreationDivision` was supplied.", "divisionMissing")))), "import" === e3.mode && "string" == typeof i3) if (e3.existingDivision) if (e3.resolveDivision) { + const n4 = yield e3.resolveDivision(i3); + n4 ? n4.id !== e3.existingDivision.id && t3.push(o(`Flow YAML import: division in YAML ('${i3}' \u2192 id ${n4.id}) does not match the open flow's division (id ${e3.existingDivision.id}).`, "divisionMismatch")) : t3.push(o(`Flow YAML import: division '${i3}' was not found for this organization.`, "divisionNotFound")); + } else t3.push(o("Flow YAML import: `division` is present in YAML but no `resolveDivision` hook was supplied.", "divisionResolverMissing")); + else t3.push(o("Flow YAML import: YAML includes `division` but `existingDivision` was not supplied.", "existingDivisionMissing")); + if (t3.some((e4) => false !== e4.fatal)) return { errors: t3 }; + const n3 = e3.flowBody.defaultLanguage; + return "string" == typeof n3 && e3.resolveArchitectLanguageTag && (e3.resolveArchitectLanguageTag(n3) || t3.push(o(`Flow YAML: 'defaultLanguage' value '${n3}' is not a supported Architect locale tag.`, "defaultLanguageUnsupported"))), { errors: t3 }; + }); + }; + const n2 = i2(31635); + function r2(e3) { + return null === e3 ? "null" : Array.isArray(e3) ? "array" : typeof e3; + } + function o(e3, t3, i3 = true) { + return { code: t3, fatal: i3, message: e3 }; + } + function a(e3) { + const i3 = []; + "import" === e3.mode && void 0 !== e3.existingFlowType && e3.existingFlowType !== e3.canonicalFlowType && i3.push(o(`Flow YAML import: type mismatch \u2014 YAML flow type '${e3.yamlFlowTypeKey}' (${e3.canonicalFlowType}) does not match the open flow type '${e3.existingFlowType}'.`, "flowTypeMismatch")); + for (const n3 of t2.FLOW_BODY_STRING_SCALAR_KEYS) { + if (!Object.prototype.hasOwnProperty.call(e3.flowBody, n3)) continue; + const t3 = e3.flowBody[n3]; + "string" != typeof t3 && i3.push(o(`Flow YAML: '${n3}' must be a string when present; got ${r2(t3)}.`, `${n3}TypeMismatch`)); + } + return { errors: i3 }; + } + t2.FLOW_BODY_STRING_SCALAR_KEYS = ["division", "name", "description", "defaultLanguage"], t2.validateTopLevelFlowYamlMode = { create: "create", import: "import" }; }, 13916: function(e2, t2, i2) { "use strict"; var n2 = this && this.__read || function(e3, t3) { @@ -17679,8 +19082,8 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }), t2.CommonModuleFlowReferenceProperty = void 0; - const r2 = i2(31635), o = i2(96618), a = i2(17604), s = r2.__importStar(i2(98442)), l = r2.__importDefault(i2(73198)), u = r2.__importDefault(i2(60571)), d = i2(33381), c = i2(44307), p = i2(47957); - class _ extends d.FlowReferenceProperty { + const r2 = i2(31635), o = i2(96618), a = i2(17604), s = r2.__importStar(i2(98442)), l = r2.__importDefault(i2(73198)), u = r2.__importDefault(i2(60571)), c = i2(33381), d = i2(44307), p = i2(47957); + class _ extends c.FlowReferenceProperty { constructor(e3, t3) { super(e3, t3, o.flowTypes.flowTypeCommonModule, false), n2.set(this, false), this._commonModuleFlowDoesNotExist = false; } @@ -17843,7 +19246,7 @@ var require_scripting_bundle = __commonJS({ if (null === (n3 = null === (i3 = e3.referencedObjects) || void 0 === i3 ? void 0 : i3.flows) || void 0 === n3 ? void 0 : n3.length) { const t4 = null === (o2 = null === (r3 = this.getCommonModuleReference()) || void 0 === r3 ? void 0 : r3.viewModel) || void 0 === o2 ? void 0 : o2.commonModuleDestinationFlowTypes; if (t4) { - const i4 = (0, c.getFlowConfigFromSnapshot)(e3, this.flowName, this.flowType); + const i4 = (0, d.getFlowConfigFromSnapshot)(e3, this.flowName, this.flowType); i4 && (i4.flow.compatibleFlowTypes = t4); } } @@ -17937,10 +19340,10 @@ var require_scripting_bundle = __commonJS({ function u() { u.baseConstructor.apply(this, arguments); } - function d() { - d.baseConstructor.apply(this, arguments); + function c() { + c.baseConstructor.apply(this, arguments); } - i2(8497), n2.extend(r2, "ConversationTypesEnumContainerVariable", true), n2.extend(o, "CurrenciesEnumContainerVariable", true), n2.extend(a, "LanguagesEnumContainerVariable", true), n2.extend(s, "RegionsEnumContainerVariable", true), n2.extend(l, "MessageBodyStylesEnumContainerVariable", true), n2.extend(u, "SurveyDispositionsEnumContainerVariable", true), n2.extend(d, "DateTimeEnumContainerVariable", true), e2.exports = { ConversationTypesEnumContainerVariable: r2, CurrenciesEnumContainerVariable: o, DateTimeEnumContainerVariable: d, LanguagesEnumContainerVariable: a, MessageBodyStylesEnumContainerVariable: l, RegionsEnumContainerVariable: s, SurveyDispositionsEnumContainerVariable: u }; + i2(8497), n2.extend(r2, "ConversationTypesEnumContainerVariable", true), n2.extend(o, "CurrenciesEnumContainerVariable", true), n2.extend(a, "LanguagesEnumContainerVariable", true), n2.extend(s, "RegionsEnumContainerVariable", true), n2.extend(l, "MessageBodyStylesEnumContainerVariable", true), n2.extend(u, "SurveyDispositionsEnumContainerVariable", true), n2.extend(c, "DateTimeEnumContainerVariable", true), e2.exports = { ConversationTypesEnumContainerVariable: r2, CurrenciesEnumContainerVariable: o, DateTimeEnumContainerVariable: c, LanguagesEnumContainerVariable: a, MessageBodyStylesEnumContainerVariable: l, RegionsEnumContainerVariable: s, SurveyDispositionsEnumContainerVariable: u }; }, 14166: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -18028,10 +19431,10 @@ var require_scripting_bundle = __commonJS({ })(i2 || (t2.KnowledgeMode = i2 = {})); }, 14273: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(54708), o = n2.__importDefault(i2(27203)), a = n2.__importStar(i2(10798)), s = n2.__importDefault(i2(4648)), l = i2(12179), u = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(80570)), c = i2(95443), p = i2(21733), _ = i2(47957); - class h extends d.default { + const n2 = i2(31635), r2 = i2(54708), o = n2.__importDefault(i2(27203)), a = n2.__importStar(i2(10798)), s = n2.__importDefault(i2(4648)), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(80570)), d = i2(95443), p = i2(21733), _ = i2(47957); + class h extends c.default { static get managedProperties() { - return [(0, c.createBargeInManagedProperty)(8, _.speechToText.recognitionParams.speechRecognitionParameters)]; + return [(0, d.createBargeInManagedProperty)(8, _.speechToText.recognitionParams.speechRecognitionParameters)]; } constructor(e3, t3) { super(e3), this._loadModel(t3), this.question.options.setBuilderLanguagesSequenceConfig(r2.askForBooleanSequences.questionSequence), this.parentFlow.isDigitalBotFlow ? (this.noInput.options.setBuilderLanguagesSequenceConfig(r2.askForBooleanSequences.noInputDigitalBotSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(r2.askForBooleanSequences.noMatchDigitalBotSequence)) : (this.noInput.options.setBuilderLanguagesSequenceConfig(r2.askForBooleanSequences.noInputSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(r2.askForBooleanSequences.noMatchSequence)); @@ -18046,7 +19449,7 @@ var require_scripting_bundle = __commonJS({ return a.isFeatureAvailable(s.default.botFlowsEnhancedRecognitionFailureHandling) ? [...o.default.yesNo, o.default.maxNoInputsOptional, o.default.maxNoMatchesOptional] : [...o.default.yesNo, o.default.maxNoInputsOptional]; } } - h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: l.helpTopics.actions.askForBoolean, modelClass: i2(3095), name: _.actions.askForBoolean, scriptingName: "ArchActionAskForBoolean", supportsUtteranceHistoricalData: true }), t2.A = h; + h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: l.helpTopics.actions.askForBoolean, modelClass: i2(3095), name: _.actions.askForBoolean, scriptingName: "ArchActionAskForBoolean", supportsUtteranceHistoricalData: true, modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 14298: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -18084,7 +19487,7 @@ var require_scripting_bundle = __commonJS({ n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); }); Object.defineProperty(t2, "__esModule", { value: true }), t2.ConnectableObservable = void 0; - var o = i2(48051), a = i2(69879), s = i2(79224), l = i2(17214), u = i2(65212), d = (function(e3) { + var o = i2(48051), a = i2(69879), s = i2(79224), l = i2(17214), u = i2(65212), c = (function(e3) { function t3(t4, i3) { var n3 = e3.call(this) || this; return n3.source = t4, n3.subjectFactory = i3, n3._subject = null, n3._refCount = 0, n3._connection = null, u.hasLift(t4) && (n3.lift = t4.lift), n3; @@ -18116,14 +19519,14 @@ var require_scripting_bundle = __commonJS({ return s.refCount()(this); }, t3; })(o.Observable); - t2.ConnectableObservable = d; + t2.ConnectableObservable = c; }, 14372: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "\u6B64\u5167\u5BB9\u7121\u6548\u3002", noInputReceived: "\u6211\u6C92\u6709\u6536\u5230\u4EFB\u4F55\u8F38\u5165\u3002" }, askForBoolean: { noInput: '\u5982\u8981\u7E7C\u7E8C\uFF0C\u8ACB\u8AAA\u51FA"\u662F"\uFF1B\u5982\u4E0D\u60F3\u7E7C\u7E8C\uFF0C\u5247\u8AAA\u51FA"\u5426"\u3002', noMatch: '\u8ACB\u8AAA\u51FA"\u662F"\u6216"\u5426"\u3002\u60A8\u662F\u5426\u5E0C\u671B\u7E7C\u7E8C\uFF1F', question: "\u60A8\u662F\u5426\u5E0C\u671B\u7E7C\u7E8C\uFF1F", noInputDigitalBot: '\u5982\u8981\u7E7C\u7E8C\uFF0C\u8ACB\u8F38\u5165 "Yes"\uFF1B\u5982\u4E0D\u60F3\u7E7C\u7E8C\uFF0C\u5247\u8F38\u5165 "No"\u3002', noMatchDigitalBot: '\u8ACB\u8F38\u5165 "Yes" \u6216 "No"\u3002\u60A8\u662F\u5426\u5E0C\u671B\u7E7C\u7E8C\uFF1F' }, askForIntent: { noInput: '\u8ACB\u4EE5\u4E00\u53E5\u7C21\u55AE\u53E5\u5B50\u4F86\u63CF\u8FF0\u60A8\u7684\u67E5\u8A62\u3002\u4F8B\u5982\uFF1A"\u67E5\u770B\u6211\u7684\u5E33\u6236\u7D50\u9918"', noMatch: "\u8ACB\u518D\u6B21\u544A\u8A34\u6211\uFF0C\u60A8\u5E0C\u671B\u505A\u751A\u9EBC\u3002", question: "\u60A8\u5E0C\u671B\u505A\u751A\u9EBC\uFF1F", noInputDigitalBot: '\u8ACB\u8F38\u5165\u4E00\u53E5\u7C21\u77ED\u53E5\u5B50\u4F86\u63CF\u8FF0\u60A8\u7684\u67E5\u8A62\u3002\u4F8B\u5982\uFF1A"Check my account balance"' }, askForSlot: { askFor: "\u67E5\u8A62 %1$s", noInput: "\u8ACB\u8AAA\u51FA\u6216\u8F38\u5165\uFF08\u8ACB\u5728\u6B64\u8F38\u5165\u60A8\u7684\u63D2\u69FD\u540D\u7A31\uFF09\u3002", noInputWithSlot: "\u8ACB\u8AAA\u51FA\u6216\u8F38\u5165 %1$s\u3002", noMatch: "\u8ACB\u518D\u6B21\u5411\u6211\u63D0\u4F9B\uFF08\u8ACB\u5728\u6B64\u8F38\u5165\u60A8\u7684\u63D2\u69FD\u540D\u7A31\uFF09\u3002", noMatchWithSlot: "\u8ACB\u518D\u6B21\u5411\u6211\u63D0\u4F9B %1$s\u3002", question: "\u8ACB\u554F\uFF08\u8ACB\u5728\u6B64\u8F38\u5165\u60A8\u7684\u63D2\u69FD\u540D\u7A31\uFF09\u662F\uFF1F", questionWithSlot: "\u8ACB\u554F %1$s \u662F\uFF1F", pleaseEnterSlotNameHere: "\uFF08\u8ACB\u5728\u6B64\u8F38\u5165\u60A8\u7684\u63D2\u69FD\u540D\u7A31\uFF09", noInputDigitalBot: "\u8ACB\u8F38\u5165\uFF08\u8ACB\u5728\u6B64\u8F38\u5165\u60A8\u7684\u63D2\u69FD\u540D\u7A31\uFF09\u3002", noInputWithSlotDigitalBot: "\u8ACB\u8F38\u5165 %1$s\u3002", continuationPromptWithSlot: "\u76EE\u524D\u70BA\u6B62\u6211\u6536\u5230 {{Slot.%1$s}}\uFF0C\u8ACB\u7E7C\u7E8C\u3002" }, askForNextSlot: { noInput: '\u5982\u6709\u5176\u4ED6\u67E5\u8A62\uFF0C\u8ACB\u8AAA\u51FA"\u662F"\uFF1B\u5982\u8981\u7D50\u675F\u901A\u8A71\uFF0C\u5247\u8AAA\u51FA"\u5426"\u3002', noMatch: '\u5982\u6709\u5176\u4ED6\u67E5\u8A62\uFF0C\u8ACB\u8AAA\u51FA"\u662F"\uFF1B\u5982\u8981\u7D50\u675F\u6703\u8A71\uFF0C\u5247\u8AAA\u51FA"\u5426"\u3002', question: "\u6211\u9084\u6709\u751A\u9EBC\u80FD\u70BA\u60A8\u6548\u52DE\u7684\u55CE\uFF1F", noInputDigitalBot: '\u5982\u6709\u5176\u4ED6\u67E5\u8A62\uFF0C\u8ACB\u8F38\u5165 "Yes"\uFF1B\u5982\u8981\u7D50\u675F\u6703\u8A71\uFF0C\u5247\u8F38\u5165 "No"\u3002', noMatchDigitalBot: '\u5982\u6709\u5176\u4ED6\u67E5\u8A62\uFF0C\u8ACB\u8F38\u5165 "Yes"\uFF1B\u5982\u8981\u7D50\u675F\u6703\u8A71\uFF0C\u5247\u8F38\u5165 "No"\u3002' }, askForPayment: { noInputDigitalBot: "\u8ACB\u63D0\u4F9B\u4ED8\u6B3E\u8CC7\u6599\u4EE5\u7E7C\u7E8C\u3002", noMatchDigitalBot: "\u6211\u4E0D\u660E\u767D\u4F60\u7684\u56DE\u8986\u3002\u8ACB\u518D\u8A66\u4E00\u6B21\u3002" }, askForAuthentication: { noInputDigitalBot: "\u8ACB\u63D0\u4F9B\u9A57\u8B49\u8CC7\u6599\u4EE5\u7E7C\u7E8C\u3002", noMatchDigitalBot: "\u6211\u4E0D\u660E\u767D\u4F60\u7684\u56DE\u8986\u3002\u8ACB\u518D\u8A66\u4E00\u6B21\u3002" }, askSurveyQuestion: { notApplicable: "\u4E0D\u9069\u7528", surveyAnswerOptionSequence: "\u70BA\u300C%2$s\u300D\u6309\u4E0B %1$s\u3002", surveyAnswerNotApplicableSequence: "\u70BA\u300C\u4E0D\u9069\u7528\u300D\u6309\u4E0B\u661F\u865F\u3002", surveyAnswerNotApplicableWithQuestionSequence: "%1$s\u3002\u70BA\u300C\u4E0D\u9069\u7528\u300D\u6309\u4E0B\u661F\u865F\u3002", voiceSurveyNoInputText: "\u8ACB\u56DE\u7B54\u554F\u984C\u3002", voiceSurveyNoMatchText: "\u6211\u4E0D\u660E\u767D\u60A8\u7684\u610F\u601D\u3002" }, commonModule: { exitCommonModule: "\u9000\u51FA\u5171\u540C\u55AE\u5143" }, form: { noInputDigitalBot: "\u8ACB\u586B\u59A5\u8868\u683C\u4EE5\u7E7C\u7E8C\u3002", noMatchDigitalBot: "\u8ACB\u586B\u59A5\u8868\u683C\u4EE5\u7E7C\u7E8C\u3002." }, messagingTemplate: { noInputDigitalBot: "\u8ACB \u9078 \u64C7 \u5176 \u4E2D \u4E00 \u500B \u53EF \u7528 \u9078 \u9805 \u3002", noMatchDigitalBot: "\u8ACB \u9078 \u64C7 \u5176 \u4E2D \u4E00 \u500B \u53EF \u7528 \u9078 \u9805 \u3002." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u7E7C\u7E8C", knowledgeAnswerHighlightFullArticleDefault: "\u67E5\u770B\u5168\u6587", knowledgeInitialResponseMulti: "\u70BA\u5354\u52A9\u6211\u91D0\u6E05\u60A8\u7684\u76EE\u6A19\uFF0C\u8ACB\u5F9E\u4EE5\u4E0B\u6E05\u55AE\u4E2D\u9078\u64C7\u4E00\u500B\u6578\u5B57\uFF1A", knowledgeInitialResponseMultiRetry: "\u8ACB\u9078\u64C7\u4E00\u500B\u6578\u5B57\uFF0C\u4F8B\u5982\u300C1\u300D\u3002\n\u6B64\u8655\u518D\u6B21\u986F\u793A\u9078\u9805\u6E05\u55AE\uFF1A", knowledgeNoMatch: "\u5168\u90E8\u7686\u975E", knowledgeConfirmation: "\u9019\u662F\u5426\u89E3\u7B54\u5230\u60A8\u7684\u554F\u984C\uFF1F", knowledgeFollowup: "\u5E0C\u671B\u6211\u5DF2\u89E3\u7B54\u5230\u60A8\u7684\u554F\u984C\u3002\u60A8\u53EF\u4EE5\u63D0\u51FA\u4EFB\u4F55\u5176\u4ED6\u63D0\u554F\u3002" }, noOverlay: { intent: { intentConfirmationStr1: "\u6211\u8A8D\u70BA\u60A8\u60F3\u8981", intentConfirmationStr2: "\u8ACB\u554F\u662F\u5426\u6B63\u78BA\uFF1F" }, youSaid: { youSaidConfirmationStr1: "\u60A8\u8AAA", youSaidConfirmationStr2: "\u8ACB\u554F\u662F\u5426\u6B63\u78BA\uFF1F", youSaidConfirmationStr1DigitalBot: "\u60A8\u8F38\u5165\u4E86" }, noInput: { noInputStr1: "\u8ACB\u8AAA\u51FA\u6216\u8F38\u5165", noInputStr1DigitalBot: "\u8ACB\u8F38\u5165" }, noMatch: { noMatchStr1: "\u8ACB\u5411\u6211\u63D0\u4F9B" }, whatIs: { whatIsQuestionStr1: "\u8ACB\u554F", whatIsQuestionStr2: "\u662F\uFF1F" }, iGotContinuation: { iGotContinuationStr1: "\u76EE\u524D\u70BA\u6B62\u6211\u6536\u5230", iGotContinuationStr2: "\uFF0C\u8ACB\u7E7C\u7E8C\u3002" } }, defaultCallFlowOne: "\u9810\u8A2D\u901A\u8A71\u6D41\u7A0B", errorHandlingAgentEscalationConfirmation: "\u60A8\u60F3\u8981\u8DDF\u4EBA\u5DE5\u9867\u554F\u5C0D\u8A71\u3002\u8ACB\u554F\u662F\u5426\u6B63\u78BA\uFF1F", errorHandlingAgentEscalationHandover: "\u8ACB\u7A0D\u7B49\uFF0C\u6211\u6703\u5C07\u60A8\u8F49\u99C1\u7D66\u4EBA\u5DE5\u9867\u554F\u3002", errorHandlingErrorEventHandover: "\u5F88\u62B1\u6B49\u767C\u751F\u932F\u8AA4\u3002\u8ACB\u7A0D\u7B49\uFF0C\u6211\u99AC\u4E0A\u8ACB\u4EBA\u4F86\u70BA\u60A8\u63D0\u4F9B\u5354\u52A9\u3002", errorHandlingErrorEventHandoverVoiceSurvey: "\u5F88\u62B1\u6B49\u767C\u751F\u932F\u8AA4\u3002\u518D\u898B\u3002", errorHandlingRecognitionEventHandover: "\u5F88\u62B1\u6B49\uFF0C\u6211\u7121\u6CD5\u7406\u89E3\u60A8\u7684\u610F\u601D\u3002\u8ACB\u7A0D\u7B49\uFF0C\u6211\u99AC\u4E0A\u8ACB\u4EBA\u4F86\u70BA\u60A8\u63D0\u4F9B\u5354\u52A9\u3002", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u5F88\u62B1\u6B49\uFF0C\u6211\u7121\u6CD5\u7406\u89E3\u60A8\u7684\u610F\u601D\u3002\u518D\u898B\u3002", errorHandlingTTS: "\u5F88\u62B1\u6B49\u767C\u751F\u932F\u8AA4\u3002\u8ACB\u91CD\u65B0\u81F4\u96FB\u3002", initialGreetingTTS: "\u60A8\u597D\uFF0C\u9019\u662F\u521D\u59CB\u554F\u5019\u3002", initialState: "\u521D\u59CB\u72C0\u614B\u3002", initialBotState: "\u9810\u8A2D\u6A5F\u68B0\u4EBA", initialDigitalBotState: "\u521D\u59CB\u554F\u5019", initialSurveyBotState: "\u554F\u5377\u8ABF\u67E5\u6A5F\u68B0\u4EBA", intentConfirmation: "\u6211\u8A8D\u70BA\u60A8\u60F3\u8981 %1$s\u3002\u8ACB\u554F\u662F\u5426\u6B63\u78BA\uFF1F", mainMenu: "\u4E3B\u529F\u80FD\u8868", mainMenuTTS: "\u60A8\u5DF2\u4F4D\u65BC\u4E3B\u529F\u80FD\u8868\uFF0C\u8ACB\u6309 9 \u5B57\u4EE5\u53D6\u6D88\u9023\u63A5", mainTask: "\u4EFB\u52D9", settingsConfirmationNoInputApology: "\u5F88\u62B1\u6B49\uFF0C\u6211\u6C92\u6709\u807D\u6E05\u695A\u3002\u8ACB\u8AAA\u51FA\u662F\u6216\u5426\u3002", settingsConfirmationNoInputApologyDigitalBot: '\u5F88\u62B1\u6B49\uFF0C\u6211\u6C92\u6709\u6536\u5230\u60A8\u7684\u8F38\u5165\u3002\u8ACB\u8F38\u5165 "Yes" \u6216 "No"\u3002', settingsConfirmationNoMatchApology: "\u5F88\u62B1\u6B49\uFF0C\u8ACB\u8AAA\u51FA\u662F\u6216\u5426\u3002", settingsConfirmationNoMatchApologyDigitalBot: '\u5F88\u62B1\u6B49\uFF0C\u8ACB\u8F38\u5165 "Yes" \u6216 "No"\u3002', settingsNoInputApology: "\u5F88\u62B1\u6B49\uFF0C\u6211\u6C92\u6709\u807D\u6E05\u695A\u3002", settingsNoInputApologyDigitalBot: "\u5F88\u62B1\u6B49\uFF0C\u6211\u6C92\u6709\u6536\u5230\u60A8\u7684\u8F38\u5165\u3002", settingsEndOfSessionMessageDigitalBot: "\u6211\u6709\u4E00\u6BB5\u6642\u9593\u6C92\u6709\u6536\u5230\u60A8\u7684\u6D88\u606F\uFF0C\u56E0\u6B64\u5373\u5C07\u7D50\u675F\u6B64\u5C0D\u8A71\u3002\u5982\u9700\u6211\u7684\u5354\u52A9\uFF0C\u8ACB\u8FD4\u56DE\u6B64\u8655\uFF0C\u591A\u8B1D\u3002", settingsNoMatchApology: "\u5F88\u62B1\u6B49\u3002", settingsNoToConfirmationApology: "\u662F\u6211\u7684\u932F\u3002", periodicStateName: "\u91CD\u8907\u72C0\u614B" }; }, 14375: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.BooleanType = void 0; - const n2 = i2(31635), r2 = i2(67607), o = n2.__importDefault(i2(73198)), a = i2(80428), s = i2(94765); - class l extends s.ExpressionType { + const n2 = i2(31635), r2 = i2(69453), o = i2(67607), a = n2.__importDefault(i2(73198)), s = i2(80428), l = i2(94765), u = i2(17604); + class c extends l.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -18133,29 +19536,53 @@ var require_scripting_bundle = __commonJS({ _getLiteralValueOfExpression(e3) { var t3; switch (null === (t3 = e3.text) || void 0 === t3 ? void 0 : t3.toLowerCase()) { - case o.default.true: + case a.default.true: case "1": case "t": - return o.default.true; - case o.default.false: + return a.default.true; + case a.default.false: case "0": case "f": - return o.default.false; + return a.default.false; default: return ""; } } createExpressionOptionClass() { - return new r2.ExpressionTypeBooleanOptions(this.isCollection); + return new o.ExpressionTypeBooleanOptions(this.isCollection); } getYamlObjectForLiteralSingleton(e3) { - return super.getYamlObjectForLiteralSingleton.apply(this, arguments), (null == e3 ? void 0 : e3.text) === o.default.true; + return super.getYamlObjectForLiteralSingleton.apply(this, arguments), (null == e3 ? void 0 : e3.text) === a.default.true; + } + applyLiteralFromModel(e3, t3, i3, n3) { + if (null != t3) { + switch (typeof t3) { + case "boolean": + return void e3.setAsLiteral(t3 ? a.default.true : a.default.false); + case "number": + if (1 === t3) return void e3.setAsLiteral(a.default.true); + if (0 === t3) return void e3.setAsLiteral(a.default.false); + break; + case "string": + switch (t3.toLowerCase()) { + case a.default.true: + case "1": + case "t": + return void e3.setAsLiteral(a.default.true); + case a.default.false: + case "0": + case "f": + return void e3.setAsLiteral(a.default.false); + } + } + n3 && n3.warn((0, u.sprintf)(r2.configureFromModel.unrecognizedLiteralValue, "boolean", JSON.stringify(t3))); + } } convertLitToCustomJsonStr(e3, t3, i3, n3) { return i3 || t3; } } - t2.BooleanType = l, l.typeIdentifier = a.expressionTypeNames.boolean; + t2.BooleanType = c, c.typeIdentifier = s.expressionTypeNames.boolean; }, 14394: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.globalTypes = void 0; @@ -18842,7 +20269,7 @@ var require_scripting_bundle = __commonJS({ } t2.default = a; }, 14547: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(45421), o = i2(58858), a = i2(57391), { ParameterInfo: s } = i2(55909), { ParameterValidator: l } = i2(33951), u = i2(46521), d = "ClipboardDependenciesViewModel"; + const n2 = i2(92140), r2 = i2(45421), o = i2(58858), a = i2(57391), { ParameterInfo: s } = i2(55909), { ParameterValidator: l } = i2(33951), u = i2(46521), c = "ClipboardDependenciesViewModel"; e2.exports = class extends r2 { constructor(e3, t3) { super(t3), Object.defineProperties(this, { _dependenciesModel: { writable: true }, _dependencyFlowUiMetaDataSectionMap: { writable: true }, _dependencyVariableViewModelMap: { writable: true }, _dependencyCustomDataTypeDefViewModelMap: { writable: true } }), e3 ? this.loadModel(e3) : this._resetMaps(); @@ -18864,19 +20291,19 @@ var require_scripting_bundle = __commonJS({ }.bind(this)); } addClipboardDependencyVariableViewModel(e3) { - if (l.expectObject(e3, () => s.createFunctionParameter(d, "addClipboardDependencyVariableViewModel", "clipboardDependencyVariableViewModel")), n2.isUndefined(e3) || null === e3 || !e3.isClipboardDependencyVariableViewModel) throw "clipboardDependencyVariableViewModel is not a ClipboardDependencyVariableViewModel instance."; - if (l.expectString(e3.id, () => s.createFunctionParameter(d, "addClipboardDependencyVariableViewModel", "clipboardDependencyVariableViewModel.id")), l.expectObject(e3.dependencyModel, () => s.createFunctionParameter(d, "addClipboardDependencyVariableViewModel", "clipboardDependencyVariableViewModel.dependencyModel")), !n2.isString(e3.id) || !e3.id.length || !n2.isObject(e3.dependencyModel)) throw "clipboardDependencyVariableViewModel is invalid"; + if (l.expectObject(e3, () => s.createFunctionParameter(c, "addClipboardDependencyVariableViewModel", "clipboardDependencyVariableViewModel")), n2.isUndefined(e3) || null === e3 || !e3.isClipboardDependencyVariableViewModel) throw "clipboardDependencyVariableViewModel is not a ClipboardDependencyVariableViewModel instance."; + if (l.expectString(e3.id, () => s.createFunctionParameter(c, "addClipboardDependencyVariableViewModel", "clipboardDependencyVariableViewModel.id")), l.expectObject(e3.dependencyModel, () => s.createFunctionParameter(c, "addClipboardDependencyVariableViewModel", "clipboardDependencyVariableViewModel.dependencyModel")), !n2.isString(e3.id) || !e3.id.length || !n2.isObject(e3.dependencyModel)) throw "clipboardDependencyVariableViewModel is invalid"; return !this._dependencyVariableViewModelMap[e3.id] && (this._dependencyVariableViewModelMap[e3.id] = e3, this._dependenciesModel.dependencyVariableModels.push(e3.dependencyModel), true); } addClipboardDependencyFlowUiMetaDataViewModel(e3) { - if (l.expectObject(e3, () => s.createFunctionParameter(d, "addClipboardDependencyFlowUiMetaDataViewModel", "clipboardDependencyFlowUiMetaDataViewModel")), n2.isUndefined(e3) || null === e3 || !e3.isClipboardDependencyFlowUiMetaDataViewModel) throw "clipboardDependencyFlowUiMetaDataViewModel is not a ClipboardDependencyFlowUiMetaDataViewModel instance."; - if (l.expectString(e3.metaDataSectionName, () => s.createFunctionParameter(d, "addDependencyFlowUiMetaData", "dependencyFlowUiMetaDataViewModel.metaDataSectionName")), l.expectString(e3.metaDataId, () => s.createFunctionParameter(d, "addDependencyFlowUiMetaData", "dependencyFlowUiMetaDataViewModel.metaDataId")), l.expectObject(e3.dependencyModel, () => s.createFunctionParameter(d, "addDependencyFlowUiMetaData", "dependencyFlowUiMetaDataViewModel.dependencyModel")), !(n2.isString(e3.metaDataSectionName) && e3.metaDataSectionName.length && n2.isString(e3.metaDataId) && e3.metaDataId.length && n2.isObject(e3.dependencyModel))) throw "clipboardDependencyFlowUiMetaDataViewModel is invalid"; + if (l.expectObject(e3, () => s.createFunctionParameter(c, "addClipboardDependencyFlowUiMetaDataViewModel", "clipboardDependencyFlowUiMetaDataViewModel")), n2.isUndefined(e3) || null === e3 || !e3.isClipboardDependencyFlowUiMetaDataViewModel) throw "clipboardDependencyFlowUiMetaDataViewModel is not a ClipboardDependencyFlowUiMetaDataViewModel instance."; + if (l.expectString(e3.metaDataSectionName, () => s.createFunctionParameter(c, "addDependencyFlowUiMetaData", "dependencyFlowUiMetaDataViewModel.metaDataSectionName")), l.expectString(e3.metaDataId, () => s.createFunctionParameter(c, "addDependencyFlowUiMetaData", "dependencyFlowUiMetaDataViewModel.metaDataId")), l.expectObject(e3.dependencyModel, () => s.createFunctionParameter(c, "addDependencyFlowUiMetaData", "dependencyFlowUiMetaDataViewModel.dependencyModel")), !(n2.isString(e3.metaDataSectionName) && e3.metaDataSectionName.length && n2.isString(e3.metaDataId) && e3.metaDataId.length && n2.isObject(e3.dependencyModel))) throw "clipboardDependencyFlowUiMetaDataViewModel is invalid"; let t3 = this._dependencyFlowUiMetaDataSectionMap[e3.metaDataSectionName]; return t3 || (t3 = {}, this._dependencyFlowUiMetaDataSectionMap[e3.metaDataSectionName] = t3), !t3[e3.metaDataId] && (t3[e3.metaDataId] = e3, this._dependenciesModel.dependencyFlowUiMetaDataModels.push(e3.dependencyModel), true); } addClipboardDependencyCustomDataTypeDefViewModel(e3) { - if (l.expectObject(e3, () => s.createFunctionParameter(d, "addClipboardDependencyCustomDataTypeDefViewModel", "clipboardDependencyCustomDataTypeDefViewModel")), !e3.isClipboardDependencyCustomDataTypeDefViewModel) throw "clipboardDependencyCustomDataTypeDefViewModel is not a ClipboardDependencyCustomDataTypeDefViewModel instance."; - return l.expectString(e3.dataTypeId, () => s.createFunctionParameter(d, "addClipboardDependencyCustomDataTypeDefViewModel", "clipboardDependencyCustomDataTypeDefViewModel.dataTypeDefId")), l.expectObject(e3.dependencyModel, () => s.createFunctionParameter(d, "addClipboardDependencyCustomDataTypeDefViewModel", "clipboardDependencyCustomDataTypeDefViewModel.dependencyModel")), !this._dependencyCustomDataTypeDefViewModelMap[e3.dataTypeId] && (this._dependencyCustomDataTypeDefViewModelMap[e3.dataTypeId] = e3, this._dependenciesModel.dependencyCustomDataTypes.push(e3.dependencyModel), true); + if (l.expectObject(e3, () => s.createFunctionParameter(c, "addClipboardDependencyCustomDataTypeDefViewModel", "clipboardDependencyCustomDataTypeDefViewModel")), !e3.isClipboardDependencyCustomDataTypeDefViewModel) throw "clipboardDependencyCustomDataTypeDefViewModel is not a ClipboardDependencyCustomDataTypeDefViewModel instance."; + return l.expectString(e3.dataTypeId, () => s.createFunctionParameter(c, "addClipboardDependencyCustomDataTypeDefViewModel", "clipboardDependencyCustomDataTypeDefViewModel.dataTypeDefId")), l.expectObject(e3.dependencyModel, () => s.createFunctionParameter(c, "addClipboardDependencyCustomDataTypeDefViewModel", "clipboardDependencyCustomDataTypeDefViewModel.dependencyModel")), !this._dependencyCustomDataTypeDefViewModelMap[e3.dataTypeId] && (this._dependencyCustomDataTypeDefViewModelMap[e3.dataTypeId] = e3, this._dependenciesModel.dependencyCustomDataTypes.push(e3.dependencyModel), true); } get isClipboardDependenciesViewModel() { return true; @@ -18959,30 +20386,129 @@ var require_scripting_bundle = __commonJS({ return this._dependencyCustomDataTypeDefViewModelMap; } }; + }, 14553: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getStringValue = function(e3, t3, i3) { + const n3 = e3[t3]; + if (null != n3) { + if ("string" == typeof n3) return n3; + i3.warn((0, s.sprintf)(a.configureFromModel.expectedString, t3, typeof n3)); + } + }, t2.getBooleanValue = function(e3, t3, i3) { + const n3 = e3[t3]; + if (null != n3) { + if ("boolean" == typeof n3) return n3; + i3.warn((0, s.sprintf)(a.configureFromModel.expectedBoolean, t3, typeof n3)); + } + }, t2.getNumberValue = function(e3, t3, i3) { + const n3 = e3[t3]; + if (null != n3) { + if ("number" == typeof n3) return n3; + i3.warn((0, s.sprintf)(a.configureFromModel.expectedNumber, t3, typeof n3)); + } + }, t2.getObjectValue = function(e3, t3, i3) { + const n3 = e3[t3]; + if ((0, r2.isConfigureFromModelRecord)(n3)) return n3; + (0, o.isNullOrUndefined)(n3) || i3.warn((0, s.sprintf)(a.configureFromModel.expectedObject, t3, Array.isArray(n3) ? "array" : typeof n3)); + }, t2.getArrayValue = function(e3, t3, i3) { + const n3 = e3[t3]; + if (null != n3) { + if (Array.isArray(n3)) return n3; + i3.warn((0, s.sprintf)(a.configureFromModel.expectedArray, t3, typeof n3)); + } + }, t2.withModelContext = function(e3, t3, i3) { + e3.pushPath(t3); + try { + return i3(); + } finally { + e3.popPath(); + } + }, t2.withModelContextAsync = function(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + e3.pushPath(t3); + try { + return yield i3(); + } finally { + e3.popPath(); + } + }); + }, t2.withSourceContext = function(e3, t3, i3) { + e3.pushSourcePath(t3); + try { + i3(); + } finally { + e3.popSourcePath(); + } + }, t2.enforceValueLimit = function(e3, t3, i3) { + var n3; + return !!e3 || (!i3 || (false === (null === (n3 = i3.settings) || void 0 === n3 ? void 0 : n3.allowOutOfRangeValues) ? (i3.error(t3), i3.continueProcessing = false, false) : (i3.warn(t3), true))); + }, t2.reportAdditionalProperty = function(e3, t3, i3) { + var n3; + if (!i3) return; + const r3 = false !== (null === (n3 = i3.settings) || void 0 === n3 ? void 0 : n3.allowAdditionalProperties), o2 = (0, s.sprintf)(a.configureFromModel.unknownProperty, e3, t3); + if (!r3) return i3.error(o2), void (i3.continueProcessing = false); + i3.warn(o2); + }, t2.formatOutOfServiceNotWritableMessage = l, t2.shouldProceedWithOosAssignment = function(e3, t3) { + var i3, n3; + if (!t3 || !e3 || !e3.outOfService) return true; + const r3 = false !== (null === (i3 = t3.settings) || void 0 === i3 ? void 0 : i3.allowOutOfServiceAssignment), o2 = l(e3.label, null === (n3 = e3.type) || void 0 === n3 ? void 0 : n3.dataType); + return r3 ? (t3.warn(o2), true) : (t3.error(o2), false); + }, t2.readOnlyFlowConfigureFromModelMessage = u, t2.canConfigureFlowFromModel = function(e3, t3) { + return !e3.isReadOnly || (t3.addErrorMessage(u()), t3.continueProcessing = false, false); + }; + const n2 = i2(31635), r2 = i2(43330), o = i2(50474), a = n2.__importStar(i2(69453)), s = i2(17604); + function l(e3, t3) { + return (0, s.sprintf)(a.configureFromModel.outOfServiceNotWritable, null != e3 ? e3 : "", t3 ? ` for ${t3}` : ""); + } + function u() { + return a.configureFromModel.readOnlyFlow; + } }, 14592: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.canCreateCustomExpressionTypesFromDataTypeDefs = function(e3, t3) { + Object.defineProperty(t2, "__esModule", { value: true }), t2.mapSchemaDataTypeIdToPatch = function(e3) { + return e3.replace(/_schemaData(?!Patch)/g, `_${a.CustomJsonContext.schemaDataPatch}`); + }, t2.canCreateCustomExpressionTypesFromDataTypeDefs = function(e3, t3) { return s.default.validateDataTypeDefsForCreation(e3, t3); - }, t2.createCustomExpressionTypesFromDataTypeDefs = function(e3, t3, i3) { + }, t2.createCustomExpressionTypesFromDataTypeDefs = T, t2.createOrGetPatchableMirrorType = function(e3, t3, i3) { + if (!e3 || !(null == t3 ? void 0 : t3.expressionType) || !(null == i3 ? void 0 : i3.mapTypeId)) return; + const n3 = t3.singletonType || t3, r3 = n3.dataType || n3.expressionType, o2 = i3.mapTypeId(r3); + if (!o2 || o2 === r3) return; + const a2 = (function(e4, t4) { + if (t4.rootDisplayName) return t4.rootDisplayName; + if (!t4.rootDisplayNameSuffix) return ""; + const i4 = t4.entityName || e4.customTypeNameWithoutContext || e4.schemaName; + return i4 ? `${i4} - ${t4.rootDisplayNameSuffix}` : ""; + })(n3, i3); + if (!a2) return; + const u2 = s.default.createEmptyDataTypeDef(); + u2.id = o2, u2.dataTypeId = o2, u2.name = a2, u2.additionalProperties = false !== n3.additionalProperties; + for (const e4 of Object.values(n3.properties)) { + if (!e4.type) continue; + const t4 = s.default.createFromPropertyDefinition(e4); + t4.patchable = true, u2.addProperty(t4); + } + return T(e3, [u2], true), l.default.getType(e3, o2, false); + }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = i2(79519), s = n2.__importDefault(i2(87675)), l = n2.__importDefault(i2(65302)), u = i2(80428), c = i2(14394), d = i2(81993), p = i2(21305), _ = i2(17604), h = n2.__importDefault(i2(73198)), m = i2(47957), g = o.getTopic("customDataTypeService"); + function f(e3, t3, i3) { + if (!(null == t3 ? void 0 : t3.id) || !e3) return; + const n3 = l.default.getTypeGroup(e3), r3 = y(e3, t3.dataTypeId, false, t3.additionalProperties), o2 = y(e3, t3.dataTypeId, true, t3.additionalProperties); + return t3.name && (r3 && (r3.schemaName = t3.name), o2 && (o2.schemaName = (0, _.sprintf)(m.expression.collection, t3.name))), (null == r3 ? void 0 : r3.isConversationAttributeSchemaDataType) && (r3.nullPropertyValueNoOpWarningText = p.NULL_PROPERTY_VALUE_NO_OP_WARNING_ENABLED, r3.atLeastOnePropertyMustBeSetErrorText = (0, _.sprintf)(m.json.customJson.atLeastOnePropertyMustBeSet, h.default.notSet, h.default.null)), i3 && r3.hydratePropertiesFromDataTypeDefViewModel(t3), n3.addCustomType(t3, r3, o2, e3), r3; + } + function T(e3, t3, i3) { const n3 = [], r3 = null == t3 ? void 0 : t3.length; if (!r3) return n3; - for (const i4 of t3) n3.push(h(e3, i4, false)); + for (const i4 of t3) n3.push(f(e3, i4, false)); if (i3) for (let e4 = 0; e4 < n3.length; e4++) { const i4 = n3[e4], r4 = t3[e4]; i4.hydratePropertiesFromDataTypeDefViewModel(r4); } - return _.info(`${r3} custom expression type definition(s) created.`), n3; - }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(87675)), l = i2(81993), u = i2(80428), d = n2.__importDefault(i2(65302)), c = i2(14394), p = i2(47957), _ = a.getTopic("customDataTypeService"); - function h(e3, t3, i3) { - if (!(null == t3 ? void 0 : t3.id) || !e3) return; - const n3 = d.default.getTypeGroup(e3), o2 = m(e3, t3.dataTypeId, false, t3.additionalProperties), a2 = m(e3, t3.dataTypeId, true, t3.additionalProperties); - return t3.name && (o2 && (o2.schemaName = t3.name), a2 && (a2.schemaName = (0, r2.sprintf)(p.expression.collection, t3.name))), i3 && o2.hydratePropertiesFromDataTypeDefViewModel(t3), n3.addCustomType(t3, o2, a2, e3), o2; + return g.info(`${r3} custom expression type definition(s) created.`), n3; } - function m(e3, t3, i3, n3, r3) { - const a2 = d.default.getTypeGroup(e3).getType(u.expressionTypeNames.json, false), s2 = o.default.deepClone(null == a2 ? void 0 : a2.model.support); + function y(e3, t3, i3, n3, o2) { + const a2 = l.default.getTypeGroup(e3).getType(u.expressionTypeNames.json, false), s2 = r2.default.deepClone(null == a2 ? void 0 : a2.model.support); s2.expressionDataType = t3, s2.expressionBaseDataType = u.expressionTypeNames.json, s2.isCustomizablePerFlow = true; - const p2 = new l.JsonType(e3, { name: r3 || (i3 ? c.globalTypes.json.collectionType.typeCode : c.globalTypes.json.typeCode), isCollection: !!i3, support: s2 }, !!i3, !!n3); + const p2 = new d.JsonType(e3, { name: o2 || (i3 ? c.globalTypes.json.collectionType.typeCode : c.globalTypes.json.typeCode), isCollection: !!i3, support: s2 }, !!i3, !!n3); return p2.additionalProperties = n3, p2; } }, 14724: (e2, t2, i2) => { @@ -19011,70 +20537,34 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.StringPlaybackOptions = t2.CurrencyPlaybackOptions = t2.VoiceSnippetPlaybackOptions = t2.PromptPlaybackOptions = t2.PhoneNumberPlaybackOptions = t2.BoolPlaybackOptions = t2.JsonPlaybackOptions = t2.IntegerPlaybackOptions = t2.DecimalPlaybackOptions = t2.DurationPlaybackOptions = t2.DateTimeOptions = void 0, t2.updateDataSequenceItemExpressionFormat = function(e3, t3) { e3.find((e4) => !(!e4.oldValues || !e4.oldValues.includes(t3.expressionFormat) || (t3.expressionFormat = e4.value, 0))); - }, t2.getDateTimePlaybackOptions = function(e3) { - const t3 = []; - return this.DateTimeOptions.forEach((e4) => t3.push(e4)), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.shortYear", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.shortMonthAndDay", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.monthOnly", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.dayOnly", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.dayOfWeekOnly", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.shortYearOnly", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.longYearOnly", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(t3, "ToAudioTime(%s, $var1)", "Format.Time.twelveHours", e3, [o.default.audio_ToAudioTime_DateTime_FormatEnum]), u(t3, "ToAudioTime(%s, $var1)", "Format.Time.twentyFourHours", e3, [o.default.audio_ToAudioTime_DateTime_FormatEnum]), t3; - }, t2.getDatePlaybackOptions = function(e3) { - const t3 = []; - return u(t3, "ToAudioDate(%s, $var1)", "Format.Date.shortYear", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.shortMonthAndDay", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.monthOnly", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.dayOnly", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.dayOfWeekOnly", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.shortYearOnly", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.longYearOnly", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), t3; - }, t2.getPlaybackOptions = function(e3, t3) { + }, t2.getDateTimePlaybackOptions = c, t2.getDatePlaybackOptions = d, t2.getPlaybackOptions = function(e3, t3) { switch (e3) { case a.globalTypes.boolean: - return this.getBoolPlaybackOptions(t3); + return g(t3); case a.globalTypes.currency: - return this.getCurrencyPlaybackOptions(t3); + return S(t3); case a.globalTypes.date: - return this.getDatePlaybackOptions(t3); + return d(t3); case a.globalTypes.dateTime: - return this.getDateTimePlaybackOptions(t3); + return c(t3); case a.globalTypes.decimal: - return this.getDecimalPlaybackOptions(t3); + return _(t3); case a.globalTypes.duration: - return this.getDurationPlaybackOptions(t3); + return p(); case a.globalTypes.integer: - return this.getIntegerPlaybackOptions(t3); + return h(t3); case a.globalTypes.json: - return this.getJsonPlaybackOptions(t3); + return m(); case a.globalTypes.phoneNumber: - return this.getPhoneNumberPlaybackOptions(t3); + return f(); case a.globalTypes.prompt: - return this.getPromptPlaybackOptions(t3); + return T(); case a.globalTypes.string: - return this.getStringPlaybackOptions(t3); + return A(t3); case a.globalTypes.voiceSnippet: - return this.getVoiceSnippetPlaybackOptions(t3); + return y(); } - }, t2.getDurationPlaybackOptions = function(e3) { - const t3 = []; - return this.DurationPlaybackOptions.forEach((e4) => t3.push(e4)), t3; - }, t2.getDecimalPlaybackOptions = function(e3) { - const t3 = []; - return this.DecimalPlaybackOptions.forEach((e4) => t3.push(e4)), u(t3, "ToAudioNumber(%s, $var1%s)", "Format.Number.playDigits", e3, [o.default.audio_ToAudioNumber_Decimal_FormatEnum], [o.default.audio_ToAudioNumber_Decimal_FormatEnum_LangEnumStar]), t3; - }, t2.getIntegerPlaybackOptions = function(e3) { - const t3 = []; - return this.IntegerPlaybackOptions.forEach((e4) => t3.push(e4)), u(t3, "ToAudioNumber(%s, $var1%s)", "Format.Number.playDigits", e3, [o.default.audio_ToAudioNumber_Int_FormatEnum], [o.default.audio_ToAudioNumber_Int_FormatEnum_LangEnumStar]), t3; - }, t2.getJsonPlaybackOptions = function(e3) { - const t3 = []; - return this.JsonPlaybackOptions.forEach((e4) => t3.push(e4)), t3; - }, t2.getBoolPlaybackOptions = function(e3) { - const t3 = []; - return this.BoolPlaybackOptions.forEach((e4) => t3.push(e4)), u(t3, "ToAudioBool(%s, $var1)", "Format.Bool.playYesNo", e3, [o.default.audio_ToAudioBool_Bool_FormatEnum]), t3; - }, t2.getPhoneNumberPlaybackOptions = function(e3) { - const t3 = []; - return this.PhoneNumberPlaybackOptions.forEach((e4) => t3.push(e4)), t3; - }, t2.getPromptPlaybackOptions = function(e3) { - const t3 = []; - return this.PromptPlaybackOptions.forEach((e4) => t3.push(e4)), t3; - }, t2.getVoiceSnippetPlaybackOptions = function(e3) { - const t3 = []; - return this.VoiceSnippetPlaybackOptions.forEach((e4) => t3.push(e4)), t3; - }, t2.getCurrencyPlaybackOptions = function(e3) { - const t3 = []; - return this.CurrencyPlaybackOptions.forEach((e4) => t3.push(e4)), u(t3, "ToAudioCurrency(%s, $var1)", "Format.Currency.asMinorUnits", e3, [o.default.audio_ToAudioCurrency_Currency_FormatEnum]), u(t3, "ToAudioCurrency(%s, $var1)", "Format.Currency.majorUnitsOnly", e3, [o.default.audio_ToAudioCurrency_Currency_FormatEnum]), u(t3, "ToAudioCurrency(%s, $var1)", "Format.Currency.minorUnitsOnly", e3, [o.default.audio_ToAudioCurrency_Currency_FormatEnum]), u(t3, "ToAudioCurrency(%s, $var1)", "Format.Currency.playDigits", e3, [o.default.audio_ToAudioCurrency_Currency_FormatEnum]), t3; - }, t2.getStringPlaybackOptions = function(e3) { - const t3 = []; - return this.StringPlaybackOptions.forEach((e4) => t3.push(e4)), u(t3, "ToAudioTTS(%s, $var1)", "Format.String.playChars", e3, [o.default.audio_ToAudioTTS_String_FormatEnum]), t3; - }; + }, t2.getDurationPlaybackOptions = p, t2.getDecimalPlaybackOptions = _, t2.getIntegerPlaybackOptions = h, t2.getJsonPlaybackOptions = m, t2.getBoolPlaybackOptions = g, t2.getPhoneNumberPlaybackOptions = f, t2.getPromptPlaybackOptions = T, t2.getVoiceSnippetPlaybackOptions = y, t2.getCurrencyPlaybackOptions = S, t2.getStringPlaybackOptions = A; const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = n2.__importDefault(i2(80145)), a = i2(14394), s = i2(47957), l = r2.getTopic("dataEditor"), u = (e3, t3, i3, n3, r3, o2) => { const a2 = n3.variableGroup.getVariableByName(i3); if (!a2) { @@ -19084,6 +20574,54 @@ var require_scripting_bundle = __commonJS({ const s2 = { description: a2.description, display: a2.displayValue, functionOverloadIds: r3, functionOverloadIdsLanguage: o2, value: t3.replace("$var1", i3) }; e3.push(s2); }; + function c(e3) { + const i3 = []; + return t2.DateTimeOptions.forEach((e4) => i3.push(e4)), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.shortYear", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.shortMonthAndDay", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.monthOnly", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.dayOnly", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.dayOfWeekOnly", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.shortYearOnly", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.longYearOnly", e3, [o.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioTime(%s, $var1)", "Format.Time.twelveHours", e3, [o.default.audio_ToAudioTime_DateTime_FormatEnum]), u(i3, "ToAudioTime(%s, $var1)", "Format.Time.twentyFourHours", e3, [o.default.audio_ToAudioTime_DateTime_FormatEnum]), i3; + } + function d(e3) { + const t3 = []; + return u(t3, "ToAudioDate(%s, $var1)", "Format.Date.shortYear", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.shortMonthAndDay", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.monthOnly", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.dayOnly", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.dayOfWeekOnly", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.shortYearOnly", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.longYearOnly", e3, [o.default.audio_ToAudioDate_Date_FormatEnum]), t3; + } + function p(e3) { + const i3 = []; + return t2.DurationPlaybackOptions.forEach((e4) => i3.push(e4)), i3; + } + function _(e3) { + const i3 = []; + return t2.DecimalPlaybackOptions.forEach((e4) => i3.push(e4)), u(i3, "ToAudioNumber(%s, $var1%s)", "Format.Number.playDigits", e3, [o.default.audio_ToAudioNumber_Decimal_FormatEnum], [o.default.audio_ToAudioNumber_Decimal_FormatEnum_LangEnumStar]), i3; + } + function h(e3) { + const i3 = []; + return t2.IntegerPlaybackOptions.forEach((e4) => i3.push(e4)), u(i3, "ToAudioNumber(%s, $var1%s)", "Format.Number.playDigits", e3, [o.default.audio_ToAudioNumber_Int_FormatEnum], [o.default.audio_ToAudioNumber_Int_FormatEnum_LangEnumStar]), i3; + } + function m(e3) { + const i3 = []; + return t2.JsonPlaybackOptions.forEach((e4) => i3.push(e4)), i3; + } + function g(e3) { + const i3 = []; + return t2.BoolPlaybackOptions.forEach((e4) => i3.push(e4)), u(i3, "ToAudioBool(%s, $var1)", "Format.Bool.playYesNo", e3, [o.default.audio_ToAudioBool_Bool_FormatEnum]), i3; + } + function f(e3) { + const i3 = []; + return t2.PhoneNumberPlaybackOptions.forEach((e4) => i3.push(e4)), i3; + } + function T(e3) { + const i3 = []; + return t2.PromptPlaybackOptions.forEach((e4) => i3.push(e4)), i3; + } + function y(e3) { + const i3 = []; + return t2.VoiceSnippetPlaybackOptions.forEach((e4) => i3.push(e4)), i3; + } + function S(e3) { + const i3 = []; + return t2.CurrencyPlaybackOptions.forEach((e4) => i3.push(e4)), u(i3, "ToAudioCurrency(%s, $var1)", "Format.Currency.asMinorUnits", e3, [o.default.audio_ToAudioCurrency_Currency_FormatEnum]), u(i3, "ToAudioCurrency(%s, $var1)", "Format.Currency.majorUnitsOnly", e3, [o.default.audio_ToAudioCurrency_Currency_FormatEnum]), u(i3, "ToAudioCurrency(%s, $var1)", "Format.Currency.minorUnitsOnly", e3, [o.default.audio_ToAudioCurrency_Currency_FormatEnum]), u(i3, "ToAudioCurrency(%s, $var1)", "Format.Currency.playDigits", e3, [o.default.audio_ToAudioCurrency_Currency_FormatEnum]), i3; + } + function A(e3) { + const i3 = []; + return t2.StringPlaybackOptions.forEach((e4) => i3.push(e4)), u(i3, "ToAudioTTS(%s, $var1)", "Format.String.playChars", e3, [o.default.audio_ToAudioTTS_String_FormatEnum]), i3; + } t2.DateTimeOptions = [{ display: s.audioFormats.dateAndTime, functionOverloadIds: [o.default.audio_ToAudioDateTime_DateTime], value: "ToAudioDateTime(%s)" }, { description: s.audioFormats.timeDesc, display: s.audioFormats.time, functionOverloadIds: [o.default.audio_ToAudioTime_DateTime], value: "ToAudioTime(%s)" }], t2.DurationPlaybackOptions = [{ description: s.audioFormats.durationExactDesc, display: s.audioFormats.durationExact, functionOverloadIds: [o.default.audio_ToAudioDuration_Duration], sortValue: "a", oldValues: ["If(IsSet(%1$s), ToAudioDuration(%1$s), ToAudioBlank(0))"], value: "ToAudioDuration(%s)" }, { description: s.audioFormats.durationRoundUpDesc, display: s.audioFormats.durationRoundUp, functionOverloadIds: [o.default.audio_ToAudioDuration_Duration, o.default.duration_RoundUp_Duration], sortValue: "b", oldValues: ["ToAudioDuration(RoundUp(%s))"], value: "If(IsSet(%1$s), ToAudioDuration(RoundUp(%1$s)), ToAudioBlank(0))" }, { description: s.audioFormats.durationRoundUp1Desc, display: s.audioFormats.durationRoundUp1, functionOverloadIds: [o.default.audio_ToAudioDuration_Duration, o.default.duration_RoundUp_Duration, o.default.duration_MakeDuration_Int_Int_Int_Int], sortValue: "c", oldValues: ["ToAudioDuration(RoundUp(%s, MakeDuration(0, 0, 1, 0)))"], value: "If(IsSet(%1$s), ToAudioDuration(RoundUp(%1$s, MakeDuration(0, 0, 1, 0))), ToAudioBlank(0))" }, { description: s.audioFormats.durationRoundUp5Desc, display: s.audioFormats.durationRoundUp5, functionOverloadIds: [o.default.audio_ToAudioDuration_Duration, o.default.duration_RoundUp_Duration, o.default.duration_MakeDuration_Int_Int_Int_Int], sortValue: "d", oldValues: ["ToAudioDuration(RoundUp(%s, MakeDuration(0, 0, 5, 0)))"], value: "If(IsSet(%1$s), ToAudioDuration(RoundUp(%1$s, MakeDuration(0, 0, 5, 0))), ToAudioBlank(0))" }, { description: s.audioFormats.durationRoundUp10Desc, display: s.audioFormats.durationRoundUp10, functionOverloadIds: [o.default.audio_ToAudioDuration_Duration, o.default.duration_RoundUp_Duration, o.default.duration_MakeDuration_Int_Int_Int_Int], sortValue: "e", oldValues: ["ToAudioDuration(RoundUp(%s, MakeDuration(0, 0, 10, 0)))"], value: "If(IsSet(%1$s), ToAudioDuration(RoundUp(%1$s, MakeDuration(0, 0, 10, 0))), ToAudioBlank(0))" }, { description: s.audioFormats.durationRoundUp30Desc, display: s.audioFormats.durationRoundUp30, functionOverloadIds: [o.default.audio_ToAudioDuration_Duration, o.default.duration_RoundUp_Duration, o.default.duration_MakeDuration_Int_Int_Int_Int], sortValue: "f", oldValues: ["ToAudioDuration(RoundUp(%s, MakeDuration(0, 0, 30, 0)))"], value: "If(IsSet(%1$s), ToAudioDuration(RoundUp(%1$s, MakeDuration(0, 0, 30, 0))), ToAudioBlank(0))" }, { description: s.audioFormats.durationRoundUp60Desc, display: s.audioFormats.durationRoundUp60, functionOverloadIds: [o.default.audio_ToAudioDuration_Duration, o.default.duration_RoundUp_Duration, o.default.duration_MakeDuration_Int_Int_Int_Int], sortValue: "g", oldValues: ["ToAudioDuration(RoundUp(%s, MakeDuration(0, 1, 0, 0)))"], value: "If(IsSet(%1$s), ToAudioDuration(RoundUp(%1$s, MakeDuration(0, 1, 0, 0))), ToAudioBlank(0))" }], t2.DecimalPlaybackOptions = [{ display: s.audioFormats.wholeValue, functionOverloadIds: [o.default.audio_ToAudioNumber_Decimal], functionOverloadIdsLanguage: [o.default.audio_ToAudioNumber_Decimal_LangEnumStar], value: "ToAudioNumber(%s%s)" }, { display: s.audioFormats.precision0, functionOverloadIds: [o.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [o.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 0%s)" }, { display: s.audioFormats.precision1, functionOverloadIds: [o.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [o.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 1%s)" }, { display: s.audioFormats.precision2, functionOverloadIds: [o.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [o.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 2%s)" }, { display: s.audioFormats.precision3, functionOverloadIds: [o.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [o.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 3%s)" }, { display: s.audioFormats.precision4, functionOverloadIds: [o.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [o.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 4%s)" }, { display: s.audioFormats.precision5, functionOverloadIds: [o.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [o.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 5%s)" }, { display: s.audioFormats.precision6, functionOverloadIds: [o.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [o.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 6%s)" }, { display: s.audioFormats.precision7, functionOverloadIds: [o.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [o.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 7%s)" }, { display: s.audioFormats.precision8, functionOverloadIds: [o.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [o.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 8%s)" }, { display: s.audioFormats.percentage, functionOverloadIds: [o.default.audio_ToAudioPercent_Decimal], value: "ToAudioPercent(%s)" }, { display: s.audioFormats.percentage1, functionOverloadIds: [o.default.audio_ToAudioPercent_Decimal], value: "ToAudioPercent(%s, 1)" }, { display: s.audioFormats.percentage2, functionOverloadIds: [o.default.audio_ToAudioPercent_Decimal], value: "ToAudioPercent(%s, 2)" }], t2.IntegerPlaybackOptions = [{ display: s.audioFormats.wholeValue, functionOverloadIds: [o.default.audio_ToAudioNumber_Int], functionOverloadIdsLanguage: [o.default.audio_ToAudioNumber_Int_FormatEnum_LangEnumStar], value: "ToAudioNumber(%s%s)" }, { display: s.audioFormats.percentage, functionOverloadIds: [o.default.audio_ToAudioPercent_Int], value: "ToAudioPercent(%s)" }, { display: s.audioFormats.ordinal, functionOverloadIds: [o.default.audio_ToAudioNumberOrdinal_Int], functionOverloadIdsLanguage: [o.default.audio_ToAudioNumberOrdinal_Int_LangEnumStar], value: "ToAudioNumberOrdinal(%s%s)" }], t2.JsonPlaybackOptions = [{ display: s.audioFormats.playJsonData, functionOverloadIds: [o.default.audio_ToAudioTTS_String, o.default.audio_ToAudio_Prompt, o.default.audio_ToAudioNumber_Decimal, o.default.audio_ToAudioBool_Bool], value: "If(IsJsonNull(%1$s), ToAudio(NOT_SET), If(IsJsonNumber(%1$s), ToAudioNumber(ToDecimal(%1$s)), If(IsJsonBool(%1$s), ToAudioBool(IsJsonTruthy(%1$s)), ToAudioTTS(ToString(%1$s)))))" }], t2.BoolPlaybackOptions = [{ display: s.audioFormats.boolTrueFalse, functionOverloadIds: [o.default.audio_ToAudioBool_Bool], value: "ToAudioBool(%s)" }], t2.PhoneNumberPlaybackOptions = [{ description: s.audioFormats.phoneNumberLocalDesc, display: s.audioFormats.phoneNumberLocal, functionOverloadIds: [o.default.audio_ToAudioPhoneNumber_PhoneNumber_FormatEnum], value: "ToAudioPhoneNumber(%s, Format.PhoneNumber.local)" }, { description: s.audioFormats.phoneNumberGlobalDesc, display: s.audioFormats.phoneNumberGlobal, functionOverloadIds: [o.default.audio_ToAudioPhoneNumber_PhoneNumber], value: "ToAudioPhoneNumber(%s)" }, { description: s.audioFormats.phoneNumberAutoDesc, display: s.audioFormats.phoneNumberAuto, functionOverloadIds: [o.default.audio_ToAudioPhoneNumber_PhoneNumber_String], specifyCountryCode: true, value: 'ToAudioPhoneNumber(%s, "%s")' }], t2.PromptPlaybackOptions = [{ display: s.audio.sequenceTypePromptLabel, functionOverloadIds: [o.default.audio_ToAudio_Prompt], value: "ToAudio(%s)" }], t2.VoiceSnippetPlaybackOptions = [{ display: s.audio.sequenceTypeVoiceSnippetLabel, functionOverloadIds: [o.default.audio_ToAudio_VoiceSnippet], value: "ToAudio(%s)" }], t2.CurrencyPlaybackOptions = [{ display: s.audioFormats.wholeValue, functionOverloadIds: [o.default.audio_ToAudioCurrency_Currency], value: "ToAudioCurrency(%s)" }, { display: s.audioFormats.precision1, functionOverloadIds: [o.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 1)" }, { display: s.audioFormats.precision2, functionOverloadIds: [o.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 2)" }, { display: s.audioFormats.precision3, functionOverloadIds: [o.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 3)" }, { display: s.audioFormats.precision4, functionOverloadIds: [o.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 4)" }, { display: s.audioFormats.precision5, functionOverloadIds: [o.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 5)" }, { display: s.audioFormats.precision6, functionOverloadIds: [o.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 6)" }, { display: s.audioFormats.precision7, functionOverloadIds: [o.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 7)" }, { display: s.audioFormats.precision8, functionOverloadIds: [o.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 8)" }], t2.StringPlaybackOptions = [{ display: s.audioFormats.stringTTS, functionOverloadIds: [o.default.audio_ToAudioTTS_String], value: "ToAudioTTS(%s)" }, { display: s.audioFormats.stringPhoneNumber, functionOverloadIds: [o.default.audio_ToAudioPhoneNumber_String], value: "ToAudioPhoneNumber(%s)" }]; }, 14820: (e2, t2, i2) => { "use strict"; @@ -19126,8 +20664,8 @@ var require_scripting_bundle = __commonJS({ }; }, 14897: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(5730)), a = n2.__importDefault(i2(73198)), s = n2.__importDefault(i2(97891)), l = i2(67607), u = i2(80428), d = i2(47957); - class c extends o.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(5730)), a = n2.__importDefault(i2(73198)), s = n2.__importDefault(i2(97891)), l = i2(67607), u = i2(80428), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends o.default { static get managedProperties() { return [{ label: d.audioMonitoringAction.enableMonitoring, options: l.ExpressionTypeBooleanOptions.create((e3) => e3.setDefaultText(a.default.true).setDescriptionInfo(d.audioMonitoringAction.enableMonitoring, d.audioMonitoringAction.enableMonitoringDescription).setIninTestingField("enableMonitoring").setBoolText(d.boolean.enabled, d.boolean.disabled)), property: "enableMonitoring", type: u.expressionTypeNames.boolean }]; } @@ -19135,7 +20673,7 @@ var require_scripting_bundle = __commonJS({ super(e3.parentFlow, e3), this._loadModel(t3); } } - c.info = s.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: r2.helpTopics.actions.audioMonitoring, modelClass: i2(89127), name: d.actions.audioMonitoring, scriptingName: "ArchActionAudioMonitoring" }), t2.A = c; + p.info = s.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: r2.helpTopics.actions.audioMonitoring, modelClass: i2(89127), name: d.actions.audioMonitoring, scriptingName: "ArchActionAudioMonitoring", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 14944: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.briefVoiceFlowListManager = void 0; @@ -19201,7 +20739,7 @@ var require_scripting_bundle = __commonJS({ } t2.default = o; }, 15008: (e2, t2, i2) => { - const n2 = i2(60856), r2 = i2(15244), o = i2(7401), a = i2(96237); + const n2 = i2(60856), r2 = i2(15244), o = i2(7401), a = i2(18618); function s() { Object.defineProperties(this, { _recognitionHandlingType: { writable: true }, _agentEscalationConfirmationCommunication: { writable: true }, _agentEscalationHandoverCommunication: { writable: true }, _enableAgentEscalation: { writable: true }, _errorEventHandoverCommunication: { writable: true }, _recognitionEventHandoverCommunication: { writable: true }, _agentEscalationHandlingType: { writable: true }, _subsequentRecognitionFailuresHandlingType: { writable: true } }), this.agentEscalationTaskId = void 0, this.agentEscalationTaskName = void 0, this.recognitionEventTaskId = void 0, this.recognitionEventTaskName = void 0, s.baseConstructor.apply(this, arguments); } @@ -19272,8 +20810,8 @@ var require_scripting_bundle = __commonJS({ e2.exports = require_ws(); }, 15091: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = i2(80428), a = i2(29586), s = i2(19131), l = n2.__importDefault(i2(27203)), u = i2(82632), d = i2(12179), c = n2.__importDefault(i2(97891)), p = n2.__importDefault(i2(942)), _ = i2(47957); - class h extends p.default { + const n2 = i2(31635), r2 = i2(17604), o = i2(80428), a = i2(29586), s = i2(19131), l = n2.__importDefault(i2(27203)), u = i2(82632), c = i2(12179), d = n2.__importDefault(i2(97891)), p = n2.__importDefault(i2(942)), _ = n2.__importDefault(i2(4648)), h = i2(47957); + class m extends p.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -19281,10 +20819,10 @@ var require_scripting_bundle = __commonJS({ return l.default.foundPartiallyFoundNotFound; } static get managedProperties() { - return p.default.createManagedProperties({ searchFieldPropertyName: "findNames", searchFieldOptionsCallback: (e3) => e3.setIsCollection(true).setMaxItems(u.findLimits.maxBulkFindByName).setDescriptionInfo(_.findActions.findDivision.findDivisionsNameLabel, (0, r2.sprintf)(_.findActions.bulkFind.bulkFindMaxItemProcessingNote, u.findLimits.maxBulkFindByName)), searchFieldLabel: _.findActions.findDivision.findDivisionsNameLabel, searchResultLabel: _.findActions.findDivision.findDivisionsResultLabel, searchResultExpressionOptions: a.ExpressionTypeDivisionOptions.create((e3) => e3.setIsCollection(true)), searchResultItemType: o.expressionTypeNames.division }); + return p.default.createManagedProperties({ searchFieldPropertyName: "findNames", searchFieldOptionsCallback: (e3) => e3.setIsCollection(true).setMaxItems(u.findLimits.maxBulkFindByName).setDescriptionInfo(h.findActions.findDivision.findDivisionsNameLabel, (0, r2.sprintf)(h.findActions.bulkFind.bulkFindMaxItemProcessingNote, u.findLimits.maxBulkFindByName)), searchFieldLabel: h.findActions.findDivision.findDivisionsNameLabel, searchResultLabel: h.findActions.findDivision.findDivisionsResultLabel, searchResultExpressionOptions: a.ExpressionTypeDivisionOptions.create((e3) => e3.setIsCollection(true)), searchResultItemType: o.expressionTypeNames.division }); } } - h.info = c.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: d.helpTopics.actions.findDivisions, modelClass: s.FindDivisionsActionModel, name: _.actions.findDivisions, scriptingName: "ArchActionFindDivisions" }), t2.A = h; + m.info = d.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: c.helpTopics.actions.findDivisions, modelClass: s.FindDivisionsActionModel, name: h.actions.findDivisions, scriptingName: "ArchActionFindDivisions", modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } } }), t2.A = m; }, 15116: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.PagedList = void 0; @@ -19614,8 +21152,8 @@ var require_scripting_bundle = __commonJS({ }, 15364: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DataPairList = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(24032)), s = n2.__importStar(i2(81116)), l = n2.__importStar(i2(63352)), u = n2.__importStar(i2(8462)), d = i2(44703), c = n2.__importDefault(i2(34015)), p = i2(55909), _ = i2(33951), h = n2.__importDefault(i2(65302)), m = n2.__importDefault(i2(86833)), g = i2(90807), f = i2(7401), T = i2(47957).variable.duplicatedOutputVariableReference, y = a.getTopic("DataPairList"); - class S extends d.ExpressionContainer { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(69453), s = n2.__importDefault(i2(65302)), l = n2.__importStar(i2(24032)), u = i2(55909), c = i2(33951), d = i2(1910), p = i2(1910), _ = i2(1910), h = n2.__importStar(i2(81116)), m = n2.__importStar(i2(63352)), g = n2.__importStar(i2(8462)), f = n2.__importDefault(i2(86833)), T = i2(44703), y = n2.__importDefault(i2(34015)), S = i2(90807), A = i2(7401), N = i2(47957).variable.duplicatedOutputVariableReference, v = l.getTopic("DataPairList"); + class O extends T.ExpressionContainer { constructor(e3, t3, i3, n3, r3, o2) { var a2, s2; super(e3.parentFlow, e3, t3, r3, o2), this.allowSecure = !!n3, this.isInputList = i3, !(null === (s2 = null === (a2 = this.parentFlow) || void 0 === a2 ? void 0 : a2.definition) || void 0 === s2 ? void 0 : s2.supportsSecureVariables) || i3 || this.allowSecure || (this.allowSecure = true), this._initialize(); @@ -19634,7 +21172,7 @@ var require_scripting_bundle = __commonJS({ }); } get className() { - return S.className; + return O.className; } static get className() { return "DataPairList"; @@ -19649,31 +21187,31 @@ var require_scripting_bundle = __commonJS({ !i3 && this.isInputList && (i3 = e3.initValue); const n3 = e3.type.createExpressionOptionClass(); e3.facets && (n3.facets = e3.facets); - const r3 = new g({ name: e3.name, referenceId: e3.id }), o2 = this.createItem(r3, e3.type, i3, n3); + const r3 = new S({ name: e3.name, referenceId: e3.id }), o2 = this.createItem(r3, e3.type, i3, n3); return this.isInputList || o2.value.setAsOutput(!!t3 && !t3.options.allowSecure), o2; } createItem(e3, t3, i3, n3, r3) { - _.ParameterValidator.expectString(r3, function() { - return p.ParameterInfo.createConstructorParameter(this.className, "itemValueSuffix"); - }.bind(this), true), (e3 = e3 && e3.isDataPair ? e3 : new g(e3)).value = e3.value || new f(); + c.ParameterValidator.expectString(r3, function() { + return u.ParameterInfo.createConstructorParameter(this.className, "itemValueSuffix"); + }.bind(this), true), (e3 = e3 && e3.isDataPair ? e3 : new S(e3)).value = e3.value || new A(); const a2 = t3 || (e3 && e3.value ? e3.value.type : void 0); - if (n3 && n3.className || (n3 = this.options ? this.options.isBaseOptions && !this.options.isExpressionTypelessOptions ? this.options : u.buildOptions(a2, this.options, this.parentFlow) : u.buildOptions(a2, n3, this.parentFlow)), t3 || (t3 = h.default.resolveType(this.parentFlow, a2)), this.isInputList) { + if (n3 && n3.className || (n3 = this.options ? this.options.isBaseOptions && !this.options.isExpressionTypelessOptions ? this.options : g.buildOptions(a2, this.options, this.parentFlow) : g.buildOptions(a2, n3, this.parentFlow)), t3 || (t3 = s.default.resolveType(this.parentFlow, a2)), this.isInputList) { let t4; e3.referenceId && this.parent.getCachedServerPropertyById ? t4 = this.parent.getCachedServerPropertyById(e3.referenceId, false) : e3.name && this.parent.getCachedServerPropertyByName && (t4 = this.parent.getCachedServerPropertyByName(e3.name, false)), t4 && n3.setIsOptional(!t4.required); } else n3.setIsOptional(true); this.allowSecure && n3.setAllowSecure(true), n3.outOfService = this.outOfService; - const d2 = s.expression(this.parentFlow, this.parent, e3.value, this.getLabel(o.default.isUndefined(r3) ? (this.items.length + 1).toString() : r3, e3.name), t3, null, n3), m2 = new c.default(e3, t3, d2); - if (this.isInputList || m2.value.setAsOutput(!n3.allowSecure), i3 || o.default.isString(i3)) { + const l2 = h.expression(this.parentFlow, this.parent, e3.value, this.getLabel(o.default.isUndefined(r3) ? (this.items.length + 1).toString() : r3, e3.name), t3, null, n3), d2 = new y.default(e3, t3, l2); + if (this.isInputList || d2.value.setAsOutput(!n3.allowSecure), i3 || o.default.isString(i3)) { if (o.default.isArray(i3)) { - t3.isCollection || (y.warning("Initial value of array was used for non-collection type " + t3.expressionType), t3 = t3.collectionType); - const n4 = s.expression(this.parentFlow, this.parent, new f(), e3.name, t3, "", null); - n4.mode = l.literal, o.default.each(i3, (e4, t4) => { - n4.collectionItems.addItem(n4.collectionItems.createItem(new f(), null, null)), n4.collectionItems.items[t4].options.setCollectionItemFromCollectionOptions(n4.options), n4.collectionItems.items[t4].setText(e4); + t3.isCollection || (v.warning("Initial value of array was used for non-collection type " + t3.expressionType), t3 = t3.collectionType); + const n4 = h.expression(this.parentFlow, this.parent, new A(), e3.name, t3, "", null); + n4.mode = m.literal, o.default.each(i3, (e4, t4) => { + n4.collectionItems.addItem(n4.collectionItems.createItem(new A(), null, null)), n4.collectionItems.items[t4].options.applyDefaultCollectionItemOptions(n4.options), n4.collectionItems.items[t4].setText(e4); }), i3 = n4; } - i3.isLiteralMode && !m2.value.isCollectionExpression ? m2.value.setAsLiteral(i3.text) : i3.isExpressionMode || i3.isVariableMode ? m2.value.setAsExpression(i3.text) : i3.isNoValueMode || m2.value.options.allowModeLiteral && m2.value.setAsLiteral(i3), m2.value.mode = void 0 !== i3.mode ? i3.mode : m2.value.mode; + i3.isLiteralMode && !d2.value.isCollectionExpression ? d2.value.setAsLiteral(i3.text) : i3.isExpressionMode || i3.isVariableMode ? d2.value.setAsExpression(i3.text) : i3.isNoValueMode || d2.value.options.allowModeLiteral && d2.value.setAsLiteral(i3), d2.value.mode = void 0 !== i3.mode ? i3.mode : d2.value.mode; } - return m2.value.isNoValueMode && !m2.value.options.allowModeNoValue && m2.value.resetToDefaultValue(true), m2; + return d2.value.isNoValueMode && !d2.value.options.allowModeNoValue && d2.value.resetToDefaultValue(true), d2; } getLabel(e3, t3) { return this.options && this.options.localizedLabelPrefix ? (0, r2.sprintf)(this.options.localizedLabelPrefix, e3) : t3; @@ -19681,6 +21219,23 @@ var require_scripting_bundle = __commonJS({ getItem(e3) { return o.default.findWhere(this.items, { name: e3 }); } + configureFromModel(e3, t3, i3) { + if (super.configureFromModel(e3, t3, i3), !(0, d.isConfigureFromModelRecord)(e3)) return void i3.warn(a.configureFromModel.dataPairListMustBeObject); + const n3 = e3, o2 = i3.currentPropertyName; + for (const [e4, s2] of Object.entries(n3)) (0, _.withModelContext)(i3, e4, () => { + const n4 = this.getItem(e4); + if ((0, p.hasConfigureFromModel)(null == n4 ? void 0 : n4.value)) try { + n4.value.configureFromModel(s2, t3, i3); + } catch (t4) { + const n5 = t4 instanceof Error ? t4.message : String(t4), s3 = o2 ? `${o2}.` : ""; + i3.warn((0, r2.sprintf)(a.configureFromModel.dataPairListConfigureFailed, `${s3}${e4}`, n5)); + } + else { + const t4 = o2 ? `${o2} ` : ""; + i3.debug(`No matching item '${e4}' in ${t4}DataPairList.`); + } + }); + } validate(e3) { super.validate(e3); const t3 = this.items.filter((e4) => { @@ -19691,11 +21246,11 @@ var require_scripting_bundle = __commonJS({ const i3 = t3.find((t4) => t4.variableReference.val === e4); t3.splice(t3.indexOf(i3), 1); }), t3 && t3.forEach((t4) => { - t4.parentFlow.isAutomateFlowType ? m.default.addError(e3, t4, (0, r2.sprintf)(T, t4.variableReference.text)) : m.default.addWarning(e3, t4, (0, r2.sprintf)(T, t4.variableReference.text)); + t4.parentFlow.isAutomateFlowType ? f.default.addError(e3, t4, (0, r2.sprintf)(N, t4.variableReference.text)) : f.default.addWarning(e3, t4, (0, r2.sprintf)(N, t4.variableReference.text)); }); } } - t2.DataPairList = S; + t2.DataPairList = O; }, 15390: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -19740,7 +21295,7 @@ var require_scripting_bundle = __commonJS({ }, 15458: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(67193)), a = n2.__importStar(i2(98442)), s = i2(30801), l = n2.__importDefault(i2(78432)), u = n2.__importDefault(i2(56549)), d = n2.__importDefault(i2(94225)), c = n2.__importDefault(i2(66978)), p = i2(80748); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(67193)), a = n2.__importStar(i2(98442)), s = i2(30801), l = n2.__importDefault(i2(78432)), u = n2.__importDefault(i2(56549)), c = n2.__importDefault(i2(94225)), d = n2.__importDefault(i2(66978)), p = i2(80748); class _ extends o.default { constructor(e3) { super(e3), this._calleeName = this.coreFactory.createArchWrapper(e3.calleeName), this._callbackNumbers = this.coreFactory.createArchWrapper(e3.callbackNumbers), this._targetQueue = this.coreFactory.createArchWrapper(e3.transferTargetQueue), this._targetGroup = this.coreFactory.createArchWrapper(e3.transferTargetGroup), this._targetUser = this.coreFactory.createArchWrapper(e3.transferTarget), this._voicemailGreeting = this.coreFactory.createArchWrapper(e3.voicemailGreeting); @@ -19778,42 +21333,42 @@ var require_scripting_bundle = __commonJS({ } setScriptByNameAsync(e3, t3) { return this._checkItemIsValidLiteralString(this._infoParm("scriptName", "setScriptByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScriptByNameAsync"), t3, true), u.default.findItemByValueAsync(this._getCoreViewModel().scriptManager, e3, "voicemail script").then(function(e4) { - return c.default.addPromise(this._getCoreViewModel().setScriptAsync(e4), "setScriptByNameAsync"); + return d.default.addPromise(this._getCoreViewModel().setScriptAsync(e4), "setScriptByNameAsync"); }.bind(this)).then(function() { - return this._clearInputs(), d.default.executeCallback(this, "setScriptByNameAsync", t3, this); + return this._clearInputs(), c.default.executeCallback(this, "setScriptByNameAsync", t3, this); }.bind(this)); } setScriptByIdAsync(e3, t3) { return this._checkItemIsValidLiteralString(this._infoParm("scriptId", "setScriptByIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScriptByIdAsync"), t3, true), u.default.findItemByIdAsync(this._getCoreViewModel().scriptManager, e3, "voicemail script").then(function(e4) { - return c.default.addPromise(this._getCoreViewModel().setScriptAsync(e4), "setScriptByIdAsync"); + return d.default.addPromise(this._getCoreViewModel().setScriptAsync(e4), "setScriptByIdAsync"); }.bind(this)).then(function() { - return this._clearInputs(), d.default.executeCallback(this, "setScriptByIdAsync", t3, this); + return this._clearInputs(), c.default.executeCallback(this, "setScriptByIdAsync", t3, this); }.bind(this)); } setTargetQueueLiteralByQueueIdAsync(e3, t3) { return this._checkItemIsValidLiteralString(this._infoParm("queueId", "setTargetQueueLiteralByQueueIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setTargetQueueLiteralByQueueIdAsync"), t3, true), this._checkItem(this._infoMethod("setTargetQueueLiteralByQueueIdAsync"), this._getCoreViewModel().parentFlow.isInQueueCallFlow, "Unable to set the target queue when action is in an in-queue call flow."), this.transferTargetType = l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.queue, this._targetQueue.setLiteralByQueueIdAsync(e3).then(function() { - return d.default.executeCallback(this, "setTargetQueueLiteralByQueueIdAsync", t3, this); + return c.default.executeCallback(this, "setTargetQueueLiteralByQueueIdAsync", t3, this); }.bind(this)); } setTargetQueueLiteralByQueueNameAsync(e3, t3) { return this._checkItemIsValidLiteralString(this._infoParm("queueName", "setTargetQueueLiteralByQueueNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setTargetQueueLiteralByQueueNameAsync"), t3, true), this._checkItem(this._infoMethod("setTargetQueueLiteralByQueueNameAsync"), this._getCoreViewModel().parentFlow.isInQueueCallFlow, "Unable to set the target queue when action is in an in-queue call flow."), this.transferTargetType = l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.queue, this._targetQueue.setLiteralByQueueNameAsync(e3).then(function() { - return d.default.executeCallback(this, "setTargetQueueLiteralByQueueNameAsync", t3, this); + return c.default.executeCallback(this, "setTargetQueueLiteralByQueueNameAsync", t3, this); }.bind(this)); } setTargetGroupLiteralByGroupIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("groupId", "setTargetGroupLiteralByGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setTargetGroupLiteralByGroupIdAsync"), t3, true), this.transferTargetType = l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.group, this._targetGroup.setLiteralByGroupIdAsync(e3).then(() => d.default.executeCallback(this, "setTargetGroupLiteralByGroupIdAsync", t3, this)); + return this._checkItemIsValidLiteralString(this._infoParm("groupId", "setTargetGroupLiteralByGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setTargetGroupLiteralByGroupIdAsync"), t3, true), this.transferTargetType = l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.group, this._targetGroup.setLiteralByGroupIdAsync(e3).then(() => c.default.executeCallback(this, "setTargetGroupLiteralByGroupIdAsync", t3, this)); } setTargetGroupLiteralByGroupNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("groupName", "setTargetGroupLiteralByGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setTargetGroupLiteralByGroupNameAsync"), t3, true), this.transferTargetType = l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.group, this._targetGroup.setLiteralByGroupNameAsync(e3).then(() => d.default.executeCallback(this, "setTargetGroupLiteralByGroupNameAsync", t3, this)); + return this._checkItemIsValidLiteralString(this._infoParm("groupName", "setTargetGroupLiteralByGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setTargetGroupLiteralByGroupNameAsync"), t3, true), this.transferTargetType = l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.group, this._targetGroup.setLiteralByGroupNameAsync(e3).then(() => c.default.executeCallback(this, "setTargetGroupLiteralByGroupNameAsync", t3, this)); } setTargetUserLiteralByUserIdAsync(e3, t3) { return this._checkItemIsValidLiteralString(this._infoParm("userId", "setUserTargetLiteralByUserIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setTargetUserLiteralByUserIdAsync"), t3, true), this.transferTargetType = l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.user, this._targetUser.setLiteralByUserIdAsync(e3).then(function() { - return d.default.executeCallback(this, "setTargetUserLiteralByUserNameAsync", t3, this); + return c.default.executeCallback(this, "setTargetUserLiteralByUserNameAsync", t3, this); }.bind(this)); } setTargetUserLiteralByUserNameAsync(e3, t3) { return this._checkItemIsValidLiteralString(this._infoParm("userName", "setUserTargetLiteralByUserNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setTargetUserLiteralByUserNameAsync"), t3, true), this.transferTargetType = l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.user, this._targetUser.setLiteralByUserNameAsync(e3).then(function() { - return d.default.executeCallback(this, "setTargetUserLiteralByUserNameAsync", t3, this); + return c.default.executeCallback(this, "setTargetUserLiteralByUserNameAsync", t3, this); }.bind(this)); } get targetUser() { @@ -19928,7 +21483,7 @@ var require_scripting_bundle = __commonJS({ }, 15508: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = n2.__importDefault(i2(74986)), s = i2(80295), l = i2(55909), u = i2(33951), d = i2(80428), c = n2.__importDefault(i2(65302)), p = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = n2.__importDefault(i2(74986)), s = i2(80295), l = i2(55909), u = i2(33951), c = i2(80428), d = n2.__importDefault(i2(65302)), p = i2(47957); class _ extends a.default { constructor() { super(), this._disallowZero = false, (0, s.makeUnenumerable)(this, "_disallowZero"); @@ -19979,7 +21534,7 @@ var require_scripting_bundle = __commonJS({ return e3.getLitAsInt(); } _facetGetExpressionType() { - return c.default.getGlobalTypeGroup().getType(d.expressionTypeNames.integer, this.isCollection); + return d.default.getGlobalTypeGroup().getType(c.expressionTypeNames.integer, this.isCollection); } } t2.default = _, n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], _.prototype, "disallowZero", null); @@ -20065,17 +21620,17 @@ var require_scripting_bundle = __commonJS({ var l = a[s].channels, u = a[s].labels; delete a[s].channels, delete a[s].labels, Object.defineProperty(a[s], "channels", { value: l }), Object.defineProperty(a[s], "labels", { value: u }); } - function d(e3, t3) { + function c(e3, t3) { return Math.pow(e3[0] - t3[0], 2) + Math.pow(e3[1] - t3[1], 2) + Math.pow(e3[2] - t3[2], 2); } a.rgb.hsl = function(e3) { var t3, i3, n3 = e3[0] / 255, r3 = e3[1] / 255, o2 = e3[2] / 255, a2 = Math.min(n3, r3, o2), s2 = Math.max(n3, r3, o2), l2 = s2 - a2; return s2 === a2 ? t3 = 0 : n3 === s2 ? t3 = (r3 - o2) / l2 : r3 === s2 ? t3 = 2 + (o2 - n3) / l2 : o2 === s2 && (t3 = 4 + (n3 - r3) / l2), (t3 = Math.min(60 * t3, 360)) < 0 && (t3 += 360), i3 = (a2 + s2) / 2, [t3, 100 * (s2 === a2 ? 0 : i3 <= 0.5 ? l2 / (s2 + a2) : l2 / (2 - s2 - a2)), 100 * i3]; }, a.rgb.hsv = function(e3) { - var t3, i3, n3, r3, o2, a2 = e3[0] / 255, s2 = e3[1] / 255, l2 = e3[2] / 255, u2 = Math.max(a2, s2, l2), d2 = u2 - Math.min(a2, s2, l2), c = function(e4) { - return (u2 - e4) / 6 / d2 + 0.5; + var t3, i3, n3, r3, o2, a2 = e3[0] / 255, s2 = e3[1] / 255, l2 = e3[2] / 255, u2 = Math.max(a2, s2, l2), c2 = u2 - Math.min(a2, s2, l2), d = function(e4) { + return (u2 - e4) / 6 / c2 + 0.5; }; - return 0 === d2 ? r3 = o2 = 0 : (o2 = d2 / u2, t3 = c(a2), i3 = c(s2), n3 = c(l2), a2 === u2 ? r3 = n3 - i3 : s2 === u2 ? r3 = 1 / 3 + t3 - n3 : l2 === u2 && (r3 = 2 / 3 + i3 - t3), r3 < 0 ? r3 += 1 : r3 > 1 && (r3 -= 1)), [360 * r3, 100 * o2, 100 * u2]; + return 0 === c2 ? r3 = o2 = 0 : (o2 = c2 / u2, t3 = d(a2), i3 = d(s2), n3 = d(l2), a2 === u2 ? r3 = n3 - i3 : s2 === u2 ? r3 = 1 / 3 + t3 - n3 : l2 === u2 && (r3 = 2 / 3 + i3 - t3), r3 < 0 ? r3 += 1 : r3 > 1 && (r3 -= 1)), [360 * r3, 100 * o2, 100 * u2]; }, a.rgb.hwb = function(e3) { var t3 = e3[0], i3 = e3[1], n3 = e3[2]; return [a.rgb.hsl(e3)[0], 1 / 255 * Math.min(t3, Math.min(i3, n3)) * 100, 100 * (n3 = 1 - 1 / 255 * Math.max(t3, Math.max(i3, n3)))]; @@ -20087,7 +21642,7 @@ var require_scripting_bundle = __commonJS({ if (t3) return t3; var i3, o2 = 1 / 0; for (var a2 in n2) if (n2.hasOwnProperty(a2)) { - var s2 = d(e3, n2[a2]); + var s2 = c(e3, n2[a2]); s2 < o2 && (o2 = s2, i3 = a2); } return i3; @@ -20128,8 +21683,8 @@ var require_scripting_bundle = __commonJS({ var t3, i3, n3, r3 = e3[0], o2 = e3[1] / 100, a2 = e3[2] / 100, s2 = Math.max(a2, 0.01); return n3 = (2 - o2) * a2, i3 = o2 * s2, [r3, 100 * (i3 = (i3 /= (t3 = (2 - o2) * s2) <= 1 ? t3 : 2 - t3) || 0), 100 * (n3 /= 2)]; }, a.hwb.rgb = function(e3) { - var t3, i3, n3, r3, o2, a2, s2, l2 = e3[0] / 360, u2 = e3[1] / 100, d2 = e3[2] / 100, c = u2 + d2; - switch (c > 1 && (u2 /= c, d2 /= c), n3 = 6 * l2 - (t3 = Math.floor(6 * l2)), 1 & t3 && (n3 = 1 - n3), r3 = u2 + n3 * ((i3 = 1 - d2) - u2), t3) { + var t3, i3, n3, r3, o2, a2, s2, l2 = e3[0] / 360, u2 = e3[1] / 100, c2 = e3[2] / 100, d = u2 + c2; + switch (d > 1 && (u2 /= d, c2 /= d), n3 = 6 * l2 - (t3 = Math.floor(6 * l2)), 1 & t3 && (n3 = 1 - n3), r3 = u2 + n3 * ((i3 = 1 - c2) - u2), t3) { default: case 6: case 0: @@ -20362,7 +21917,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = i2(17604), a = r2.__importDefault(i2(92140)), s = i2(24032), l = i2(55299), u = i2(80295), d = i2(62297), c = i2(47957), p = (0, s.getTopic)("VoiceViewModel"); + const r2 = i2(31635), o = i2(17604), a = r2.__importDefault(i2(92140)), s = i2(24032), l = i2(55299), u = i2(80295), c = i2(62297), d = i2(47957), p = (0, s.getTopic)("VoiceViewModel"); class _ extends l.BaseClass { constructor(e3, t3, i3) { super(), this._noLanguageErrorTraced = false, this._model = e3, this._engine = i3; @@ -20389,7 +21944,7 @@ var require_scripting_bundle = __commonJS({ return "VoiceViewModel"; } get description() { - return (0, o.sprintf)(c.textToSpeech.voiceDescription, this.language, this.genderForDisplay); + return (0, o.sprintf)(d.textToSpeech.voiceDescription, this.language, this.genderForDisplay); } get isDefault() { return this._model.isDefault; @@ -20425,7 +21980,7 @@ var require_scripting_bundle = __commonJS({ this._model.gender = e3; } get genderForDisplay() { - return this._genderForDisplay || (this.gender ? this._genderForDisplay = c.textToSpeech.genders[this.gender] || this.gender : this._genderForDisplay = c.textToSpeech.genders.unspecified), this._genderForDisplay; + return this._genderForDisplay || (this.gender ? this._genderForDisplay = d.textToSpeech.genders[this.gender] || this.gender : this._genderForDisplay = d.textToSpeech.genders.unspecified), this._genderForDisplay; } get flexibleTTSLabel() { return this._flexibleTTSLabel || (this._flexibleTTSLabel = this.name, this._lowerName.includes(this.lowerLanguage) || this._lowerName.match(/^\S{2,3}-\S{2,3}-/) || (this._flexibleTTSLabel = `${this.lowerLanguage}, ${this.name}`)), this._flexibleTTSLabel; @@ -20446,7 +22001,7 @@ var require_scripting_bundle = __commonJS({ e3 && (this.gender = e3.gender, this.isDefault = e3.isDefault, this.language = e3.language, this.name = e3.name); } } - r2.__decorate([(0, u.enumerable)(false), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== d.EngineViewModel && d.EngineViewModel) ? n2 : Object), r2.__metadata("design:paramtypes", [])], _.prototype, "engine", null), t2.default = _; + r2.__decorate([(0, u.enumerable)(false), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.EngineViewModel && c.EngineViewModel) ? n2 : Object), r2.__metadata("design:paramtypes", [])], _.prototype, "engine", null), t2.default = _; }, 15786: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.OptionSettingWithFlowTypes = void 0; @@ -20536,8 +22091,8 @@ var require_scripting_bundle = __commonJS({ i2(11475).extend(n2, "ImageVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; }, 15896: (e2, t2, i2) => { "use strict"; - const n2 = i2(52834), r2 = i2(94083), o = i2(27687).stdout, a = i2(16791), s = "win32" === process.platform && !(process.env.TERM || "").toLowerCase().startsWith("xterm"), l = ["ansi", "ansi", "ansi256", "ansi16m"], u = /* @__PURE__ */ new Set(["gray"]), d = /* @__PURE__ */ Object.create(null); - function c(e3, t3) { + const n2 = i2(52834), r2 = i2(94083), o = i2(27687).stdout, a = i2(16791), s = "win32" === process.platform && !(process.env.TERM || "").toLowerCase().startsWith("xterm"), l = ["ansi", "ansi", "ansi256", "ansi16m"], u = /* @__PURE__ */ new Set(["gray"]), c = /* @__PURE__ */ Object.create(null); + function d(e3, t3) { t3 = t3 || {}; const i3 = o ? o.level : 0; e3.level = void 0 === t3.level ? i3 : t3.level, e3.enabled = "enabled" in t3 ? t3.enabled : e3.level > 0; @@ -20545,22 +22100,22 @@ var require_scripting_bundle = __commonJS({ function p(e3) { if (!this || !(this instanceof p) || this.template) { const t3 = {}; - return c(t3, e3), t3.template = function() { + return d(t3, e3), t3.template = function() { const e4 = [].slice.call(arguments); return g.apply(null, [t3.template].concat(e4)); }, Object.setPrototypeOf(t3, p.prototype), Object.setPrototypeOf(t3.template, t3), t3.template.constructor = p, t3.template; } - c(this, e3); + d(this, e3); } s && (r2.blue.open = "\x1B[94m"); - for (const e3 of Object.keys(r2)) r2[e3].closeRe = new RegExp(n2(r2[e3].close), "g"), d[e3] = { get() { + for (const e3 of Object.keys(r2)) r2[e3].closeRe = new RegExp(n2(r2[e3].close), "g"), c[e3] = { get() { const t3 = r2[e3]; return h.call(this, this._styles ? this._styles.concat(t3) : [t3], this._empty, e3); } }; - d.visible = { get() { + c.visible = { get() { return h.call(this, this._styles || [], true, "visible"); } }, r2.color.closeRe = new RegExp(n2(r2.color.close), "g"); - for (const e3 of Object.keys(r2.color.ansi)) u.has(e3) || (d[e3] = { get() { + for (const e3 of Object.keys(r2.color.ansi)) u.has(e3) || (c[e3] = { get() { const t3 = this.level; return function() { const i3 = { open: r2.color[l[t3]][e3].apply(null, arguments), close: r2.color.close, closeRe: r2.color.closeRe }; @@ -20568,7 +22123,7 @@ var require_scripting_bundle = __commonJS({ }; } }); r2.bgColor.closeRe = new RegExp(n2(r2.bgColor.close), "g"); - for (const e3 of Object.keys(r2.bgColor.ansi)) u.has(e3) || (d["bg" + e3[0].toUpperCase() + e3.slice(1)] = { get() { + for (const e3 of Object.keys(r2.bgColor.ansi)) u.has(e3) || (c["bg" + e3[0].toUpperCase() + e3.slice(1)] = { get() { const t3 = this.level; return function() { const i3 = { open: r2.bgColor[l[t3]][e3].apply(null, arguments), close: r2.bgColor.close, closeRe: r2.bgColor.closeRe }; @@ -20576,7 +22131,7 @@ var require_scripting_bundle = __commonJS({ }; } }); const _ = Object.defineProperties(() => { - }, d); + }, c); function h(e3, t3, i3) { const n3 = function() { return m.apply(n3, arguments); @@ -20606,14 +22161,14 @@ var require_scripting_bundle = __commonJS({ for (let e4 = 1; e4 < t3.length; e4++) n3.push(String(i3[e4 - 1]).replace(/[{}\\]/g, "\\$&")), n3.push(String(t3.raw[e4])); return a(e3, n3.join("")); } - Object.defineProperties(p.prototype, d), e2.exports = p(), e2.exports.supportsColor = o, e2.exports.default = e2.exports; + Object.defineProperties(p.prototype, c), e2.exports = p(), e2.exports.supportsColor = o, e2.exports.default = e2.exports; }, 15897: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "Itu tidak sah.", noInputReceived: "Saya tidak menerima sebarang input." }, askForBoolean: { noInput: 'Sebut "ya" jika anda ingin teruskan, atau "tidak" jika anda tidak ingin teruskan.', noMatch: 'Sila sebut "ya" atau "tidak". Adakah anda ingin teruskan?', question: "Adakah anda ingin teruskan?", noInputDigitalBot: 'Masukkan "Ya" jika anda ingin teruskan, atau "Tidak" jika anda tidak ingin teruskan.', noMatchDigitalBot: 'Sila masukkan "Ya" atau "Tidak". Adakah anda ingin teruskan?' }, askForIntent: { noInput: 'Sebutkan satu ayat pendek yang menerangkan pertanyaan anda. Contohnya, "Semak baki akaun saya"', noMatch: "Beritahu saya semula perkara yang ingin anda lakukan.", question: "Apakah yang ingin anda lakukan?", noInputDigitalBot: 'Sila masukkan satu ayat pendek yang menerangkan pertanyaan anda. Contohnya, "Semak baki akaun saya"' }, askForSlot: { askFor: "Minta %1$s", noInput: "Sila sebutkan atau masukkan (sila letakkan nama slot anda di sini).", noInputWithSlot: "Sila sebutkan atau masukkan %1$s.", noMatch: "Sila berikan semula (sila letakkan nama slot anda di sini) kepada saya.", noMatchWithSlot: "Sila berikan semula %1$s kepada saya.", question: "Apakah (sila letakkan nama slot anda di sini) itu?", questionWithSlot: "Apakah %1$s itu?", pleaseEnterSlotNameHere: "(sila letakkan nama slot anda di sini)", noInputDigitalBot: "Sila masukkan (sila letakkan nama slot anda di sini).", noInputWithSlotDigitalBot: "Sila masukkan %1$s itu.", continuationPromptWithSlot: "Saya faham {{Slot.%1$s}} setakat ini, sila teruskan." }, askForNextSlot: { noInput: 'Sebut "ya" jika anda mempunyai pertanyaan lain, atau "tidak" untuk menamatkan panggilan.', noMatch: 'Sebut "ya" jika anda mempunyai pertanyaan lain, atau "tidak" untuk menamatkan sesi.', question: "Ada apa-apa lagi yang boleh saya bantu?", noInputDigitalBot: 'Masukkan "Ya" jika anda mempunyai pertanyaan lain, atau "Tidak" untuk menamatkan sesi.', noMatchDigitalBot: 'Masukkan "Ya" jika anda mempunyai pertanyaan lain, atau "Tidak" untuk menamatkan sesi.' }, askForPayment: { noInputDigitalBot: "Sila berikan maklumat bayaran anda untuk meneruskan.", noMatchDigitalBot: "Saya tidak faham respons anda. Sila cuba semula." }, askForAuthentication: { noInputDigitalBot: "Sila berikan maklumat pengesahan anda untuk meneruskan.", noMatchDigitalBot: "Saya tidak faham respons anda. Sila cuba semula." }, askSurveyQuestion: { notApplicable: "Tidak Berkenaan", surveyAnswerOptionSequence: "Tekan %1$s untuk '%2$s'.", surveyAnswerNotApplicableSequence: "Tekan bintang untuk Tidak Berkenaan.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Tekan bintang untuk Tidak Berkenaan.", voiceSurveyNoInputText: "Sila jawab soalan.", voiceSurveyNoMatchText: "Saya tidak memahami anda." }, commonModule: { exitCommonModule: "Keluar Daripada Modul Umum" }, form: { noInputDigitalBot: "Sila lengkapkan borang untuk meneruskan.", noMatchDigitalBot: "Sila lengkapkan borang untuk meneruskan." }, messagingTemplate: { noInputDigitalBot: "Sila pilih salah satu daripada pilihan yang tersedia.", noMatchDigitalBot: "Sila pilih salah satu daripada pilihan yang tersedia." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Teruskan", knowledgeAnswerHighlightFullArticleDefault: "Lihat Artikel Penuh", knowledgeInitialResponseMulti: "Untuk membantu saya menjelaskan matlamat anda, sila pilih satu nombor daripada senarai di bawah:", knowledgeInitialResponseMultiRetry: "Sila pilih satu nombor, contohnya '1'.\nBerikut ialah senarai pilihan semula:", knowledgeNoMatch: "Tiada yang berkenaan", knowledgeConfirmation: "Adakah ini menjawab pertanyaan anda?", knowledgeFollowup: "Saya berharap ini menjawab pertanyaan anda. Anda boleh bertanya apa-apa lagi yang ingin anda ketahui." }, noOverlay: { intent: { intentConfirmationStr1: "Saya rasa anda ingin", intentConfirmationStr2: "Adakah ini betul?" }, youSaid: { youSaidConfirmationStr1: "Anda menyebut", youSaidConfirmationStr2: "Adakah ini betul?", youSaidConfirmationStr1DigitalBot: "Anda memasukkan" }, noInput: { noInputStr1: "Sila sebutkan atau masukkan", noInputStr1DigitalBot: "Sila masukkan" }, noMatch: { noMatchStr1: "Sila berikan saya" }, whatIs: { whatIsQuestionStr1: "Apakah", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Saya telah sampai", iGotContinuationStr2: "setakat ini, sila teruskan." } }, defaultCallFlowOne: "Aliran Panggilan Lalai", errorHandlingAgentEscalationConfirmation: "Anda ingin bercakap dengan perunding. Adakah ini betul?", errorHandlingAgentEscalationHandover: "Sebentar, saya akan sambungkan anda dengan seseorang.", errorHandlingErrorEventHandover: "Maaf, ralat telah berlaku. Sebentar, sementara saya sambungkan anda dengan seseorang yang dapat membantu.", errorHandlingErrorEventHandoverVoiceSurvey: "Maaf, ralat telah berlaku. Selamat tinggal.", errorHandlingRecognitionEventHandover: "Maaf, saya tidak memahami anda. Sebentar, sementara saya sambungkan anda dengan seseorang yang dapat membantu.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Maaf, saya tidak memahami anda. Selamat tinggal.", errorHandlingTTS: "Maaf, ralat telah berlaku. Sila cuba panggilan anda semula.", initialGreetingTTS: "Salam sejahtera, ini ucapan pengenalan.", initialState: "Keadaan Awal", initialBotState: "Bot Lalai", initialDigitalBotState: "Ucapan Pengenalan", initialSurveyBotState: "Bot Tinjauan", intentConfirmation: "Saya rasa anda ingin %1$s, adakah ini betul?", mainMenu: "Menu Utama", mainMenuTTS: "Anda berada di Menu Utama, tekan 9 untuk memutuskan sambungan", mainTask: "Tugasan", settingsConfirmationNoInputApology: "Maaf, saya tidak dapat mendengar anda. Sila sebut ya atau tidak.", settingsConfirmationNoInputApologyDigitalBot: 'Maaf, saya tidak menerima sebarang input daripada anda. Sila masukkan "Ya" atau "Tidak".', settingsConfirmationNoMatchApology: "Maaf, sila sebut ya atau tidak.", settingsConfirmationNoMatchApologyDigitalBot: 'Maaf, sila masukkan "Ya" atau "Tidak".', settingsNoInputApology: "Maaf, saya tidak dapat mendengar anda.", settingsNoInputApologyDigitalBot: "Maaf, saya tidak menerima sebarang input daripada anda.", settingsEndOfSessionMessageDigitalBot: "Tiada komunikasi dengan anda buat seketika, jadi saya akan menutup sembang ini. Sila kembali jika anda memerlukan bantuan saya lagi. Terima kasih.", settingsNoMatchApology: "Maaf.", settingsNoToConfirmationApology: "Silap saya.", periodicStateName: "Keadaan Berulang" }; }, 15904: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(96481)), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(30801), l = i2(17485), u = i2(47976); - class d extends r2.default { + class c extends r2.default { constructor(e3) { super(e3), this._channelId = this.coreFactory.createArchWrapper(e3.channelId); } @@ -20658,14 +22213,14 @@ var require_scripting_bundle = __commonJS({ return n2.__awaiter(this, void 0, void 0, function* () { this._checkItemIsValidLiteralString(this._infoParm("nuanceMixIntegrationName", "setBotByNameAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("nuanceMixBotName", "setBotByNameAsync"), t3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBotByNameAsync"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("applicationName", "setBotByNameAsync"), t3, true); const n3 = "call nuanceMix bot action", s2 = yield o.default.findItemByValueAsync(u.nuanceMixIntegrationManager, e3, n3, null, null); - let d2; - this.logNote(`Found info for the integration named '${s2.name}' for the passed integration name of '${e3}'. Getting bot integration details.`), this._coreActionViewModel.setBotCategoryByViewModel(s2), r3 && (d2 = { applicationName: r3 }); - const c = yield o.default.findItemByValueAsync(l.nuanceMixBotManager, t3, n3, null, null, d2, { integrationId: s2.id }); - return this.logNote(`Found info for the bot named '${c.name}' for the passed bot name of '${t3}'. Getting bot details.`), yield this._setBotByIdAsync("setBotByNameAsync", s2.id, c.id), a.default.executeCallback(this, "setBotByNameAsync", i3, this); + let c2; + this.logNote(`Found info for the integration named '${s2.name}' for the passed integration name of '${e3}'. Getting bot integration details.`), this._coreActionViewModel.setBotCategoryByViewModel(s2), r3 && (c2 = { applicationName: r3 }); + const d = yield o.default.findItemByValueAsync(l.nuanceMixBotManager, t3, n3, null, null, c2, { integrationId: s2.id }); + return this.logNote(`Found info for the bot named '${d.name}' for the passed bot name of '${t3}'. Getting bot details.`), yield this._setBotByIdAsync("setBotByNameAsync", s2.id, d.id), a.default.executeCallback(this, "setBotByNameAsync", i3, this); }); } } - t2.default = d; + t2.default = c; }, 15928: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { replyToAll: "replyToAll", replyToSender: "replyToSender" }; @@ -20794,10 +22349,10 @@ var require_scripting_bundle = __commonJS({ function u() { u.baseConstructor.apply(this, arguments); } - function d() { - d.baseConstructor.apply(this, arguments); + function c() { + c.baseConstructor.apply(this, arguments); } - n2.extend(r2, "CurrencyFormatEnumVariable", true), n2.extend(o, "DateFormatEnumVariable", true), n2.extend(a, "DateTimeFormatEnumVariable", true), n2.extend(s, "NumberFormatEnumVariable", true), n2.extend(l, "StringFormatEnumVariable", true), n2.extend(u, "TimeFormatEnumVariable", true), n2.extend(d, "TimePartEnumVariable", true), e2.exports = { CurrencyFormatEnumVariable: r2, DateFormatEnumVariable: o, DateTimeFormatEnumVariable: a, NumberFormatEnumVariable: s, StringFormatEnumVariable: l, TimeFormatEnumVariable: u, TimePartEnumVariable: d }; + n2.extend(r2, "CurrencyFormatEnumVariable", true), n2.extend(o, "DateFormatEnumVariable", true), n2.extend(a, "DateTimeFormatEnumVariable", true), n2.extend(s, "NumberFormatEnumVariable", true), n2.extend(l, "StringFormatEnumVariable", true), n2.extend(u, "TimeFormatEnumVariable", true), n2.extend(c, "TimePartEnumVariable", true), e2.exports = { CurrencyFormatEnumVariable: r2, DateFormatEnumVariable: o, DateTimeFormatEnumVariable: a, NumberFormatEnumVariable: s, StringFormatEnumVariable: l, TimeFormatEnumVariable: u, TimePartEnumVariable: c }; }, 16201: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.switchAll = void 0; @@ -20809,7 +22364,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = i2(12179), s = i2(99772), l = i2(69149), u = n2.__importDefault(i2(5532)); - class d extends s.BaseBuilderWithBuilderPartsViewModel { + class c extends s.BaseBuilderWithBuilderPartsViewModel { constructor({ owningExpression: e3, model: t3, reId: i3 }) { super(e3, t3, void 0, i3, false); } @@ -20841,28 +22396,42 @@ var require_scripting_bundle = __commonJS({ s2 && s2.setAsLiteral(e3), o.default.isFunction(a2.setMarkdownText) && a2.setMarkdownText(e3); } } - t2.default = d; + t2.default = c; }, 16321: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.bootstrapService = t2.BootstrapService = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(10798)), a = i2(71956), s = n2.__importStar(i2(24032)), l = (n2.__importDefault(i2(55015)), n2.__importStar(i2(74359))), u = s.getTopic("bootstrapService"); - class d { + Object.defineProperty(t2, "__esModule", { value: true }), t2.bootstrapService = t2.BootstrapService = t2.MissingRequiredBootstrapSectionError = void 0; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(10798)), a = i2(85534), s = i2(71956), l = n2.__importStar(i2(24032)), u = (n2.__importDefault(i2(55015)), n2.__importStar(i2(74359))), c = l.getTopic("bootstrapService"); + class d extends Error { + constructor(e3) { + super(e3), this.isMissingRequiredBootstrapSectionError = true, this.name = "MissingRequiredBootstrapSectionError"; + } + } + t2.MissingRequiredBootstrapSectionError = d; + class p { constructor() { this.sections = { actions: { name: "actions" }, dataTypes: { name: "dataTypes" }, dependencyTypes: { name: "dependencyTypes" }, featureConfigs: { name: "featureConfigs", expandFlag: "features" }, featureSupport: { name: "featureSupport" }, flowTypes: { name: "flowTypes" }, functions: { name: "functions" }, languages: { name: "languages" } }; } loadBootstrapData(e3) { return n2.__awaiter(this, void 0, void 0, function* () { let t3; - e3 && e3.length && (t3 = Object.values(this.sections).filter((t4) => e3.includes(t4.name)), t3.length || u.error(`${e3.join(",")} does not contain valid bootstrap section names`)), t3 && t3.length || (t3 = Object.values(this.sections)), t3.forEach((e4) => this.setSectionData(e4.name, void 0)); + e3 && e3.length && (t3 = Object.values(this.sections).filter((t4) => e3.includes(t4.name)), t3.length || c.error(`${e3.join(",")} does not contain valid bootstrap section names`)), t3 && t3.length || (t3 = Object.values(this.sections)), t3.forEach((e4) => this.setSectionData(e4.name, void 0)); const i3 = t3.map((e4) => e4.expandFlag || e4.name); try { - const e4 = yield (0, a.getBootstrappingDataV2)(i3); - return t3.forEach((t4) => { + const e4 = yield (0, s.getBootstrappingDataV2)(i3), n3 = []; + if (t3.forEach((t4) => { let i4; - r2.default.isObject(e4[t4.name]) ? (i4 = e4[t4.name], this.setSectionData(t4.name, i4)) : u.error(`Missing bootstrap information from server for '${t4.name}'`); - }), u.info("Startup bootstrap information loaded."), t3.includes(this.sections.featureConfigs) && o.setBootstrapData(this), this; + r2.default.isObject(e4[t4.name]) ? (i4 = e4[t4.name], this.setSectionData(t4.name, i4)) : (c.error(`Missing bootstrap information from server for '${t4.name}'`), n3.push(t4.name)); + }), c.info("Startup bootstrap information loaded."), t3.includes(this.sections.featureConfigs)) { + const e5 = n3.includes(this.sections.featureConfigs.name), t4 = !e5 && !Object.keys(this.featureConfigs).length; + if (e5 || t4) { + const t5 = `Bootstrap data ${e5 ? "is missing the" : "returned an empty"} 'featureConfigs' section, so feature availability cannot be determined.`; + throw c.error(t5), new d(t5); + } + o.setBootstrapData(this); + } + return t3.includes(this.sections.actions) && (0, a.processBootstrapActionLimits)(this.actions), this; } catch (e4) { - return void u.exception(e4, "Unable to get startup bootstrap information from server."); + throw c.exception(e4, "Unable to get startup bootstrap information from server."), e4; } }); } @@ -20870,9 +22439,11 @@ var require_scripting_bundle = __commonJS({ this[e3] = t3; } } - t2.BootstrapService = d, t2.bootstrapService = new d(), Promise.all([l.getAuthorizedPromise(), l.featureTogglesLoaded]).then(() => { - l.autoResolveBootstrapDataLoadedPromise(() => t2.bootstrapService.loadBootstrapData()); - }).catch((e3) => u.errorPromise(e3, "Unable to load bootstrap data.")); + t2.BootstrapService = p, t2.bootstrapService = new p(), Promise.all([u.getAuthorizedPromise(), u.featureTogglesLoaded]).then(() => { + u.autoResolveBootstrapDataLoadedPromise(() => t2.bootstrapService.loadBootstrapData()); + }).catch((e3) => { + c.errorPromise(e3, "Unable to load bootstrap data."), u.autoResolveBootstrapDataLoadedPromise(() => t2.bootstrapService); + }); }, 16369: (e2, t2, i2) => { const n2 = i2(82149), { botConnectorActionType: r2 } = i2(30801), o = i2(42217); function a() { @@ -21139,12 +22710,12 @@ var require_scripting_bundle = __commonJS({ e2.exports = (e3, i3) => { const n3 = [], r3 = []; let o2 = []; - if (i3.replace(t2, (t3, i4, s2, d, c, p) => { + if (i3.replace(t2, (t3, i4, s2, c, d, p) => { if (i4) o2.push(a(i4)); - else if (d) { + else if (c) { const t4 = o2.join(""); - o2 = [], r3.push(0 === n3.length ? t4 : u(e3, n3)(t4)), n3.push({ inverse: s2, styles: l(d) }); - } else if (c) { + o2 = [], r3.push(0 === n3.length ? t4 : u(e3, n3)(t4)), n3.push({ inverse: s2, styles: l(c) }); + } else if (d) { if (0 === n3.length) throw new Error("Found extraneous } in Chalk template literal"); r3.push(u(e3, n3)(o2.join(""))), o2 = [], n3.pop(); } else o2.push(p); @@ -21219,7 +22790,7 @@ var require_scripting_bundle = __commonJS({ }, 16864: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(9456), a = n2.__importStar(i2(9345)), s = n2.__importStar(i2(99434)), l = i2(10798), u = i2(55909), d = i2(33951), c = n2.__importDefault(i2(41510)), p = n2.__importDefault(i2(4648)), _ = n2.__importStar(i2(81116)), h = i2(14394), m = n2.__importDefault(i2(54882)), g = n2.__importDefault(i2(5532)), f = i2(7401), T = i2(58380), y = i2(47957), S = i2(24032).getTopic("BuilderPartWithExpressionsViewModel"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(9456), a = n2.__importStar(i2(9345)), s = n2.__importStar(i2(99434)), l = i2(10798), u = i2(55909), c = i2(33951), d = n2.__importDefault(i2(41510)), p = n2.__importDefault(i2(4648)), _ = n2.__importStar(i2(81116)), h = i2(14394), m = n2.__importDefault(i2(54882)), g = n2.__importDefault(i2(5532)), f = i2(7401), T = i2(58380), y = i2(47957), S = i2(24032).getTopic("BuilderPartWithExpressionsViewModel"); class A extends m.default { constructor({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, overrideBuilderPartDef: n3, reId: r3 }) { super(e3, t3, i3, n3, r3), Object.defineProperties(this, { _builderPartExpressions: { writable: true, enumerable: true } }), this._loadModel(t3, i3); @@ -21269,7 +22840,7 @@ var require_scripting_bundle = __commonJS({ return this._builderPartExpressions; } set builderPartExpressions(e3) { - d.ParameterValidator.expectExpression(e3, () => u.ParameterInfo.createPropertySet(this.className, "builderPartExpressions", "value"), true), this._builderPartExpressions && r2.default.each(this._builderPartExpressions, (e4) => { + c.ParameterValidator.expectExpression(e3, () => u.ParameterInfo.createPropertySet(this.className, "builderPartExpressions", "value"), true), this._builderPartExpressions && r2.default.each(this._builderPartExpressions, (e4) => { T.unregisterEventSinkForEventEmitter(e4.id, this), e4.destroy(); }), this._builderPartExpressions = e3, this._builderPartExpressions && r2.default.each(this._builderPartExpressions, (e4) => { e4.options.setAllowModeBuilder(false), T.registerEventSinkForEventEmitter(e4.id, this); @@ -21281,23 +22852,23 @@ var require_scripting_bundle = __commonJS({ setMarkdownText(e3) { } getExpressionDetails(e3) { - if (!this.isDestroyed) return this.getExpressionDetailParts(e3).map((e4) => e4.displayString).join(c.default.itemListing.itemSeparator); + if (!this.isDestroyed) return this.getExpressionDetailParts(e3).map((e4) => e4.displayString).join(d.default.itemListing.itemSeparator); console.error("Unable to return expression details on destroyed builder part."); } getExpressionDetailParts(e3) { return ((null == e3 ? void 0 : e3.richSummary) && this._builderPartExpressions && this._builderPartExpressions[0] ? [this._builderPartExpressions[0]] : this._builderPartExpressions || []).map((t3) => { var i3; const n3 = (null === (i3 = null == e3 ? void 0 : e3.criteria) || void 0 === i3 ? void 0 : i3.languageTag) && (0, l.isFeatureAvailable)(p.default.botFlowsDigitalBotFlowsMultiLingualFeature); - let u2 = t3.isExpressionMode || t3.isVariableMode || a.isMatch(t3.type, h.globalTypes.prompt, a.settings.exact) && !n3, d2 = s.getDisplayText(t3, e3); + let u2 = t3.isExpressionMode || t3.isVariableMode || a.isMatch(t3.type, h.globalTypes.prompt, a.settings.exact) && !n3, c2 = s.getDisplayText(t3, e3); if (r2.default.isFunction(this.builderPartDef.displayStringOverride)) { - const e4 = this.builderPartDef.displayStringOverride(this, d2); - d2 = null == e4 ? void 0 : e4.displayString, u2 = null == e4 ? void 0 : e4.shouldTokenizeDisplayString; + const e4 = this.builderPartDef.displayStringOverride(this, c2); + c2 = null == e4 ? void 0 : e4.displayString, u2 = null == e4 ? void 0 : e4.shouldTokenizeDisplayString; } - d2 || (d2 = y.literal.empty, u2 = true); - let c2, _2 = false; - d2.length > 300 ? (c2 = d2.substr(0, 300) + "\u2026", _2 = true) : c2 = d2; + c2 || (c2 = y.literal.empty, u2 = true); + let d2, _2 = false; + c2.length > 300 ? (d2 = c2.substr(0, 300) + "\u2026", _2 = true) : d2 = c2; const m2 = this.getFullDescription(); - return m2.info = _2 ? d2 : void 0, m2.generationId = (0, o.uuid)(), u2 && (c2 = `{${c2}}`), { displayString: c2, displayStringTrimmed: _2, expression: t3, token: u2, builderPart: this, popoverInfo: m2 }; + return m2.info = _2 ? c2 : void 0, m2.generationId = (0, o.uuid)(), u2 && (d2 = `{${d2}}`), { displayString: d2, displayStringTrimmed: _2, expression: t3, token: u2, builderPart: this, popoverInfo: m2 }; }); } _loadModel(e3, t3) { @@ -21369,10 +22940,10 @@ var require_scripting_bundle = __commonJS({ }, 16945: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(10798)), a = n2.__importStar(i2(27099)), s = n2.__importDefault(i2(98114)), l = i2(55909), u = i2(33951), d = n2.__importDefault(i2(41898)); - class c extends d.default { - constructor(e3, t3, i3, n3, o2, a2, s2, d2, c2, p, _, h, m) { - if (super(e3, t3, i3, d2), Object.defineProperties(this, { _categories: { value: [], writable: true }, _descriptionInfo: { value: {}, writable: true }, _helpTopic: { value: c2, writable: true }, _requiredChannelTypes: { value: void 0, writable: true }, _requiredFeatureToggle: { value: p }, _requiredFeatureConfig: { value: _ }, _resultExpressionType: { value: o2, writable: true }, _restrictToFlowTypes: { value: void 0, writable: true }, _version: { value: n3, writable: true } }), this.sortValue = m, u.ParameterValidator.expectArrayOrString(a2, () => l.ParameterInfo.createConstructorParameter(this.className, "restrictToFlowTypeOrTypes"), true), r2.default.isArray(a2)) { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(10798)), a = n2.__importStar(i2(27099)), s = n2.__importDefault(i2(98114)), l = i2(55909), u = i2(33951), c = n2.__importDefault(i2(41898)); + class d extends c.default { + constructor(e3, t3, i3, n3, o2, a2, s2, c2, d2, p, _, h, m) { + if (super(e3, t3, i3, c2), Object.defineProperties(this, { _categories: { value: [], writable: true }, _descriptionInfo: { value: {}, writable: true }, _helpTopic: { value: d2, writable: true }, _requiredChannelTypes: { value: void 0, writable: true }, _requiredFeatureToggle: { value: p }, _requiredFeatureConfig: { value: _ }, _resultExpressionType: { value: o2, writable: true }, _restrictToFlowTypes: { value: void 0, writable: true }, _version: { value: n3, writable: true } }), this.sortValue = m, u.ParameterValidator.expectArrayOrString(a2, () => l.ParameterInfo.createConstructorParameter(this.className, "restrictToFlowTypeOrTypes"), true), r2.default.isArray(a2)) { this._restrictToFlowTypes = []; for (const e4 of a2) this._restrictToFlowTypes.push(u.ParameterValidator.expectFlowType(e4, () => l.ParameterInfo.createConstructorParameter(this.className, "restrictToFlowTypeOrTypes"))); } else r2.default.isString(a2) && (this._restrictToFlowTypes = [u.ParameterValidator.expectFlowType(a2, () => l.ParameterInfo.createConstructorParameter(this.className, "restrictToFlowTypeOrTypes"))]); @@ -21438,7 +23009,7 @@ var require_scripting_bundle = __commonJS({ return this._version; } } - t2.default = c; + t2.default = d; }, 16958: (e2, t2, i2) => { let n2 = null; try { @@ -21456,8 +23027,8 @@ var require_scripting_bundle = __commonJS({ }, 17021: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(96481)), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(30801), l = i2(99835), u = i2(96950), d = i2(25130); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(96481)), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(30801), l = i2(99835), u = i2(96950), c = i2(25130); + class d extends r2.default { constructor(e3) { super(e3); } @@ -21490,8 +23061,8 @@ var require_scripting_bundle = __commonJS({ this.logNote("Found the bot integration named '" + n3.name + "' for the integration ID of '" + e3 + "'"), this._getCoreViewModel().setBotIntegrationByViewModel(n3); const s2 = yield o.default.findItemByIdAsync(u.botConnectorManager, t3, "bot connector bot", { integrationId: e3 }); this.logNote("Found the bot connector named '" + s2.name + "' for the bot ID of '" + t3 + "'"), this._getCoreViewModel().setBotCategoryByViewModel(s2); - const c2 = yield o.default.findItemByIdAsync(d.botConnectorVersionManager, i3, "bot connector bot version", { integrationId: e3, botId: t3 }); - return this.logNote("Found the Bot Connector version named '" + c2.name + "' for the version ID of '" + i3 + "'"), this._getCoreViewModel().setBotRunnableByViewModel(c2), a.default.executeCallback(this, "setBotByIdAsync", r3, this); + const d2 = yield o.default.findItemByIdAsync(c.botConnectorVersionManager, i3, "bot connector bot version", { integrationId: e3, botId: t3 }); + return this.logNote("Found the Bot Connector version named '" + d2.name + "' for the version ID of '" + i3 + "'"), this._getCoreViewModel().setBotRunnableByViewModel(d2), a.default.executeCallback(this, "setBotByIdAsync", r3, this); }); } setBotByNameAsync(e3, t3, i3, r3) { @@ -21499,23 +23070,41 @@ var require_scripting_bundle = __commonJS({ this._checkItemIsValidLiteralString(this._infoParm("botConnectorIntegrationName", "setBotByNameAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("botConnectorBotName", "setBotByNameAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("botConnectorBotVersionName", "setBotByNameAsync"), i3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBotByIdAsync"), r3, true); const n3 = "call bot connector action", s2 = yield o.default.findItemByValueAsync(l.botConnectorIntegrationManager, e3, n3, null, null); this.logNote(`Found info for the integration named '${s2.name}' for the passed integration name of '${e3}'. Getting bot details.`), this._getCoreViewModel().setBotIntegrationByViewModel(s2); - const c2 = yield o.default.findItemByValueAsync(u.botConnectorManager, t3, n3, null, null, null, { integrationId: s2.id }); - this.logNote(`Found info for the bot named '${c2.name}' for the passed bot name of '${t3}'. Getting bot version details.`), this._getCoreViewModel().setBotCategoryByViewModel(c2); - const p = yield o.default.findItemByIdAsync(d.botConnectorVersionManager, i3, "bot connector bot version", { integrationId: s2.id, botId: c2.id }); + const d2 = yield o.default.findItemByValueAsync(u.botConnectorManager, t3, n3, null, null, null, { integrationId: s2.id }); + this.logNote(`Found info for the bot named '${d2.name}' for the passed bot name of '${t3}'. Getting bot version details.`), this._getCoreViewModel().setBotCategoryByViewModel(d2); + const p = yield o.default.findItemByIdAsync(c.botConnectorVersionManager, i3, "bot connector bot version", { integrationId: s2.id, botId: d2.id }); return this._getCoreViewModel().setBotRunnableByViewModel(p), a.default.executeCallback(this, "setBotByNameAsync", r3, this); }); } } - t2.default = c; + t2.default = d; }, 17102: (e2, t2, i2) => { "use strict"; var n2, r2, o, a, s, l; Object.defineProperty(t2, "__esModule", { value: true }); - const u = i2(31635), d = (u.__importStar(i2(12847)), u.__importStar(i2(24032))), c = u.__importStar(i2(36781)), p = u.__importStar(i2(58380)), _ = i2(55299), h = d.getTopic("BaseFlowElement"); - class m extends _.BaseClass { + const u = i2(31635), c = (u.__importStar(i2(12847)), i2(19206)), d = u.__importStar(i2(24032)), p = u.__importStar(i2(36781)), _ = u.__importStar(i2(58380)), h = i2(55299), m = d.getTopic("BaseFlowElement"); + class g extends h.BaseClass { constructor(e3, t3) { super(), n2.set(this, []), r2.set(this, []), o.set(this, void 0), a.set(this, void 0), s.set(this, false), l.set(this, false), this.supportsInitializeDesignTime = true, u.__classPrivateFieldSet(this, o, e3, "f"), u.__classPrivateFieldSet(this, a, t3 || e3, "f"); } + get lastActor() { + return this._lastActor; + } + get lastActorWasUser() { + return !this._lastActor; + } + get lastActorWasChangeSet() { + var e3; + return !!(null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet); + } + get lastActorWasAiChangeSet() { + var e3, t3; + return (null === (t3 = null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet) || void 0 === t3 ? void 0 : t3.type) === c.changeSetEntityType.copilot; + } + configureFromModel(e3, t3, i3) { + const n3 = i3.changeSetResults; + (null == n3 ? void 0 : n3.sourceEntityType) && (this._lastActor = { changeSet: { type: n3.sourceEntityType, id: n3.sourceEntityId } }); + } get isBaseFlowElement() { return true; } @@ -21526,19 +23115,19 @@ var require_scripting_bundle = __commonJS({ try { this._preDestroy(); } catch (e3) { - h.exceptionWithErrorObjectInfo(e3, "Error in _preDestroy processing.", this, true); + m.exceptionWithErrorObjectInfo(e3, "Error in _preDestroy processing.", this, true); } try { this._destroy(); } catch (e3) { - h.exceptionWithErrorObjectInfo(e3, "Error in _destroy processing.", this, true); + m.exceptionWithErrorObjectInfo(e3, "Error in _destroy processing.", this, true); } finally { this.isDestroyed = true, this.isDestroying = false; } try { this._postDestroy(); } catch (e3) { - h.exceptionWithErrorObjectInfo(e3, "Error in _postDestroy processing.", this, true); + m.exceptionWithErrorObjectInfo(e3, "Error in _postDestroy processing.", this, true); } return true; } @@ -21562,16 +23151,16 @@ var require_scripting_bundle = __commonJS({ _destroy() { } _postDestroy() { - p.cleanUpAutoCleanupWatchList(u.__classPrivateFieldGet(this, n2, "f")), u.__classPrivateFieldGet(this, n2, "f").length = 0, u.__classPrivateFieldGet(this, r2, "f").forEach((e3) => e3()), u.__classPrivateFieldGet(this, r2, "f").length = 0; + _.cleanUpAutoCleanupWatchList(u.__classPrivateFieldGet(this, n2, "f")), u.__classPrivateFieldGet(this, n2, "f").length = 0, u.__classPrivateFieldGet(this, r2, "f").forEach((e3) => e3()), u.__classPrivateFieldGet(this, r2, "f").length = 0; } addAutoCleanedUpEventListener(e3, t3) { - c.emitter.on(e3, t3), u.__classPrivateFieldGet(this, r2, "f").push(() => c.emitter.removeListener(e3, t3)); + p.emitter.on(e3, t3), u.__classPrivateFieldGet(this, r2, "f").push(() => p.emitter.removeListener(e3, t3)); } addAutoCleanedUpSubscription(e3) { u.__classPrivateFieldGet(this, r2, "f").push(() => e3.unsubscribe()); } addAutoCleanedUpEventSinkWatch(e3, t3, i3) { - p.addToAutoCleanupWatchList(u.__classPrivateFieldGet(this, n2, "f"), e3, t3, i3); + _.addToAutoCleanupWatchList(u.__classPrivateFieldGet(this, n2, "f"), e3, t3, i3); } get id() { return this.className; @@ -21625,7 +23214,7 @@ var require_scripting_bundle = __commonJS({ return `class: '${this.className || ""}', id: '${this.id}'`; } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), t2.default = m; + n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), t2.default = g; }, 17186: (e2) => { e2.exports = { AED: { displayName: "United Arab Emirates Dirham" }, AFN: { displayName: "Afghan Afghani" }, ALL: { displayName: "Albanian Lek" }, AMD: { displayName: "Armenian Dram" }, ANG: { displayName: "Netherlands Antillean Guilder" }, AOA: { displayName: "Angolan Kwanza" }, ARS: { displayName: "Argentine Peso" }, AUD: { displayName: "Australian Dollar" }, AWG: { displayName: "Aruban Florin" }, AZN: { displayName: "Azerbaijani Manat" }, BAM: { displayName: "Bosnia-Herzegovina Convertible Mark" }, BBD: { displayName: "Barbadian Dollar" }, BDT: { displayName: "Bangladeshi Taka" }, BGN: { displayName: "Bulgarian Lev" }, BHD: { displayName: "Bahraini Dinar" }, BIF: { displayName: "Burundian Franc" }, BMD: { displayName: "Bermudan Dollar" }, BND: { displayName: "Brunei Dollar" }, BOB: { displayName: "Bolivian Boliviano" }, BRL: { displayName: "Brazilian Real" }, BSD: { displayName: "Bahamian Dollar" }, BTN: { displayName: "Bhutanese Ngultrum" }, BWP: { displayName: "Botswanan Pula" }, BYR: { displayName: "Belarusian Ruble" }, BZD: { displayName: "Belize Dollar" }, CAD: { displayName: "Canadian Dollar" }, CDF: { displayName: "Congolese Franc" }, CHF: { displayName: "Swiss Franc" }, CLP: { displayName: "Chilean Peso" }, CNY: { displayName: "Chinese Yuan" }, COP: { displayName: "Colombian Peso" }, CRC: { displayName: "Costa Rican Col\xF3n" }, CUC: { displayName: "Cuban Convertible Peso" }, CUP: { displayName: "Cuban Peso" }, CVE: { displayName: "Cape Verdean Escudo" }, CZK: { displayName: "Czech Republic Koruna" }, DJF: { displayName: "Djiboutian Franc" }, DKK: { displayName: "Danish Krone" }, DOP: { displayName: "Dominican Peso" }, DZD: { displayName: "Algerian Dinar" }, EGP: { displayName: "Egyptian Pound" }, ERN: { displayName: "Eritrean Nakfa" }, ETB: { displayName: "Ethiopian Birr" }, EUR: { displayName: "Euro" }, FJD: { displayName: "Fijian Dollar" }, FKP: { displayName: "Falkland Islands Pound" }, GBP: { displayName: "British Pound Sterling" }, GEL: { displayName: "Georgian Lari" }, GHS: { displayName: "Ghanaian Cedi" }, GIP: { displayName: "Gibraltar Pound" }, GMD: { displayName: "Gambian Dalasi" }, GNF: { displayName: "Guinean Franc" }, GTQ: { displayName: "Guatemalan Quetzal" }, GWP: { displayName: "Guinea-Bissau Peso" }, GYD: { displayName: "Guyanaese Dollar" }, HKD: { displayName: "Hong Kong Dollar" }, HNL: { displayName: "Honduran Lempira" }, HRK: { displayName: "Croatian Kuna" }, HTG: { displayName: "Haitian Gourde" }, HUF: { displayName: "Hungarian Forint" }, IDR: { displayName: "Indonesian Rupiah" }, ILS: { displayName: "Israeli New Sheqel" }, INR: { displayName: "Indian Rupee" }, IQD: { displayName: "Iraqi Dinar" }, IRR: { displayName: "Iranian Rial" }, ISK: { displayName: "Icelandic Kr\xF3na" }, JMD: { displayName: "Jamaican Dollar" }, JOD: { displayName: "Jordanian Dinar" }, JPY: { displayName: "Japanese Yen" }, KES: { displayName: "Kenyan Shilling" }, KGS: { displayName: "Kyrgystani Som" }, KHR: { displayName: "Cambodian Riel" }, KMF: { displayName: "Comorian Franc" }, KPW: { displayName: "North Korean Won" }, KRW: { displayName: "South Korean Won" }, KWD: { displayName: "Kuwaiti Dinar" }, KYD: { displayName: "Cayman Islands Dollar" }, KZT: { displayName: "Kazakhstani Tenge" }, LAK: { displayName: "Laotian Kip" }, LBP: { displayName: "Lebanese Pound" }, LKR: { displayName: "Sri Lankan Rupee" }, LRD: { displayName: "Liberian Dollar" }, LSL: { displayName: "Lesotho Loti" }, LTL: { displayName: "Lithuanian Litas" }, LVL: { displayName: "Latvian Lats" }, LYD: { displayName: "Libyan Dinar" }, MAD: { displayName: "Moroccan Dirham" }, MDL: { displayName: "Moldovan Leu" }, MGA: { displayName: "Malagasy Ariary" }, MKD: { displayName: "Macedonian Denar" }, MMK: { displayName: "Myanmar Kyat" }, MNT: { displayName: "Mongolian Tugrik" }, MOP: { displayName: "Macanese Pataca" }, MRO: { displayName: "Mauritanian Ouguiya" }, MUR: { displayName: "Mauritian Rupee" }, MVR: { displayName: "Maldivian Rufiyaa" }, MWK: { displayName: "Malawian Kwacha" }, MXN: { displayName: "Mexican Peso" }, MYR: { displayName: "Malaysian Ringgit" }, MZE: { displayName: "Mozambican Escudo" }, MZN: { displayName: "Mozambican Metical" }, NAD: { displayName: "Namibian Dollar" }, NGN: { displayName: "Nigerian Naira" }, NIO: { displayName: "Nicaraguan C\xF3rdoba" }, NOK: { displayName: "Norwegian Krone" }, NPR: { displayName: "Nepalese Rupee" }, NZD: { displayName: "New Zealand Dollar" }, OMR: { displayName: "Omani Rial" }, PAB: { displayName: "Panamanian Balboa" }, PEN: { displayName: "Peruvian Nuevo Sol" }, PGK: { displayName: "Papua New Guinean Kina" }, PHP: { displayName: "Philippine Peso" }, PKR: { displayName: "Pakistani Rupee" }, PLN: { displayName: "Polish Zloty" }, PYG: { displayName: "Paraguayan Guarani" }, QAR: { displayName: "Qatari Rial" }, RON: { displayName: "Romanian Leu" }, RSD: { displayName: "Serbian Dinar" }, RUB: { displayName: "Russian Ruble" }, RWF: { displayName: "Rwandan Franc" }, SAR: { displayName: "Saudi Riyal" }, SBD: { displayName: "Solomon Islands Dollar" }, SCR: { displayName: "Seychellois Rupee" }, SDG: { displayName: "Sudanese Pound" }, SEK: { displayName: "Swedish Krona" }, SGD: { displayName: "Singapore Dollar" }, SHP: { displayName: "Saint Helena Pound" }, SKK: { displayName: "Slovak Koruna" }, SLL: { displayName: "Sierra Leonean Leone" }, SOS: { displayName: "Somali Shilling" }, SRD: { displayName: "Surinamese Dollar" }, SSP: { displayName: "South Sudanese Pound" }, STD: { displayName: "S\xE3o Tom\xE9 and Pr\xEDncipe Dobra" }, SVC: { displayName: "Salvadoran Col\xF3n" }, SYP: { displayName: "Syrian Pound" }, SZL: { displayName: "Swazi Lilangeni" }, THB: { displayName: "Thai Baht" }, TJS: { displayName: "Tajikistani Somoni" }, TMT: { displayName: "Turkmenistani Manat" }, TND: { displayName: "Tunisian Dinar" }, TOP: { displayName: "Tongan Pa\u02BBanga" }, TRY: { displayName: "Turkish Lira" }, TTD: { displayName: "Trinidad and Tobago Dollar" }, TWD: { displayName: "New Taiwan Dollar" }, TZS: { displayName: "Tanzanian Shilling" }, UAH: { displayName: "Ukrainian Hryvnia" }, UGX: { displayName: "Ugandan Shilling" }, USD: { displayName: "US Dollar" }, UYU: { displayName: "Uruguayan Peso" }, UZS: { displayName: "Uzbekistan Som" }, VEF: { displayName: "Venezuelan Bol\xEDvar" }, VND: { displayName: "Vietnamese Dong" }, VUV: { displayName: "Vanuatu Vatu" }, WST: { displayName: "Samoan Tala" }, XAF: { displayName: "CFA Franc BEAC" }, XCD: { displayName: "East Caribbean Dollar" }, XOF: { displayName: "CFA Franc BCEAO" }, XPF: { displayName: "CFP Franc" }, YER: { displayName: "Yemeni Rial" }, ZAR: { displayName: "South African Rand" }, ZMW: { displayName: "Zambian Kwacha" } }; }, 17214: function(e2, t2, i2) { @@ -21716,7 +23305,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.PhoneNumberType = void 0; const n2 = i2(31635), r2 = n2.__importStar(i2(55656)), o = i2(48112), a = i2(27844), s = i2(80428), l = i2(94765), u = n2.__importDefault(i2(22226)); - class d extends l.ExpressionType { + class c extends l.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -21742,7 +23331,7 @@ var require_scripting_bundle = __commonJS({ return (null === (t3 = e3.options) || void 0 === t3 ? void 0 : t3.literalUsesSmsPhoneNumberDropdown) ? a.smsPhoneNumberManager : super.getListManagerForExpression(e3); } } - t2.PhoneNumberType = d, d.typeIdentifier = s.expressionTypeNames.phoneNumber; + t2.PhoneNumberType = c, c.typeIdentifier = s.expressionTypeNames.phoneNumber; }, 17322: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.bulkObjectOperationFailure = function(e3, t3, i2, n2, r2) { @@ -21772,24 +23361,24 @@ var require_scripting_bundle = __commonJS({ t2.default = r2; }, 17357: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(73198)), a = i2(80428), s = i2(67607), l = i2(26954), u = i2(9290), d = i2(9290), c = i2(9290), p = i2(12179), _ = i2(12457), h = n2.__importDefault(i2(97891)), m = i2(42098), g = n2.__importDefault(i2(78791)), f = i2(47957); - class T extends g.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(73198)), a = i2(80428), s = i2(67607), l = i2(26954), u = i2(9290), c = i2(9290), d = i2(9290), p = i2(12179), _ = i2(12457), h = n2.__importDefault(i2(97891)), m = i2(42098), g = n2.__importDefault(i2(78791)), f = n2.__importDefault(i2(4648)), T = i2(47957); + class y extends g.default { constructor(e3, t3) { super(e3), this.editor_testing_tag = "TransferUserAction", this.user = null, this._loadModel(t3); } getDetails() { var e3; const t3 = [], i3 = []; - return this.user && this.user.text && (t3.push(f.user.label), i3.push(this.user.text)), (null === (e3 = this.alertOnTransfer) || void 0 === e3 ? void 0 : e3.text) && !this.alertOnTransfer.outOfService && (t3.push(f.transfer.alertOnTransfer), i3.push(this.alertOnTransfer.text)), new _.ActionDetails(t3, i3); + return this.user && this.user.text && (t3.push(T.user.label), i3.push(this.user.text)), (null === (e3 = this.alertOnTransfer) || void 0 === e3 ? void 0 : e3.text) && !this.alertOnTransfer.outOfService && (t3.push(T.transfer.alertOnTransfer), i3.push(this.alertOnTransfer.text)), new _.ActionDetails(t3, i3); } static get managedProperties() { - return [(0, m.createTransferConnectTimeoutProperty)(f.expression.noValue.selectionRuntimeEvaluation.connectTimeout.userTransferTimeout), { label: f.user.label, options: l.ExpressionTypeUserOptions.create((e3) => e3.setUiPropertyOrder(10).setIninTestingField("userTransferExpression")), yamlOptions: T.createYamlOptions("user", (e3) => e3.setPropertyName("targetUser").setExportOrder(20)), property: "user", type: a.expressionTypeNames.userQueue }, { label: f.transfer.allowVoicemail, options: s.ExpressionTypeBooleanOptions.create((e3) => e3.setUiPropertyOrder(20).setIninTestingField("allowVoicemail").setDefaultText(o.default.true)), yamlOptions: T.createYamlOptions("allowVoicemail", (e3) => e3.setPropertyName("allowVoicemailRollover").setExportOrder(30)), property: "allowVoicemail", type: a.expressionTypeNames.boolean, supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgen }, { label: f.transfer.alertOnTransfer, property: "alertOnTransfer", description: f.transfer.alertOnTransferDescription, options: s.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(f.transfer.alertOnTransfer, f.transfer.alertOnTransferDescription).setUiPropertyOrder(30).setIninTestingField("alertOnTransfer").setDefaultText(o.default.true)), yamlOptions: T.createYamlOptions("alertOnTransfer", (e3) => e3.setPropertyName("alertOnTransfer").setExportOrder(40)), type: a.expressionTypeNames.boolean, supportedFlowTypes: [r2.flowTypes.flowTypeWorkitem] }]; + return [(0, m.createTransferConnectTimeoutProperty)(T.expression.noValue.selectionRuntimeEvaluation.connectTimeout.userTransferTimeout), { label: T.user.label, options: l.ExpressionTypeUserOptions.create((e3) => e3.setUiPropertyOrder(10).setIninTestingField("userTransferExpression")), yamlOptions: y.createYamlOptions("user", (e3) => e3.setPropertyName("targetUser").setExportOrder(20)), property: "user", type: a.expressionTypeNames.userQueue }, { label: T.transfer.allowVoicemail, options: s.ExpressionTypeBooleanOptions.create((e3) => e3.setUiPropertyOrder(20).setIninTestingField("allowVoicemail").setDefaultText(o.default.true)), yamlOptions: y.createYamlOptions("allowVoicemail", (e3) => e3.setPropertyName("allowVoicemailRollover").setExportOrder(30)), property: "allowVoicemail", type: a.expressionTypeNames.boolean, supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgen }, { label: T.transfer.alertOnTransfer, property: "alertOnTransfer", description: T.transfer.alertOnTransferDescription, options: s.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(T.transfer.alertOnTransfer, T.transfer.alertOnTransferDescription).setUiPropertyOrder(30).setIninTestingField("alertOnTransfer").setDefaultText(o.default.true)), yamlOptions: y.createYamlOptions("alertOnTransfer", (e3) => e3.setPropertyName("alertOnTransfer").setExportOrder(40)), type: a.expressionTypeNames.boolean, supportedFlowTypes: [r2.flowTypes.flowTypeWorkitem] }]; } _getPossibleErrors() { - return this.parentFlow.isNluFlow ? u.userTransferFailureReasonsForBotFlowType : this.parentFlow.isWorkitemFlow ? c.userTransferFailureReasonsForWorkitemFlowType : d.userTransferFailureReasons; + return this.parentFlow.isNluFlow ? u.userTransferFailureReasonsForBotFlowType : this.parentFlow.isWorkitemFlow ? d.userTransferFailureReasonsForWorkitemFlowType : c.userTransferFailureReasons; } } - T.info = h.default.createActionInfo({ actionClass: T, canBeInTask: true, canBeTreeNode: true, helpTopic: p.helpTopics.actions.transferUser, modelClass: i2(68657), name: f.actions.transfers.user, scriptingName: "ArchActionTransferToUser" }), t2.A = T; + y.info = h.default.createActionInfo({ actionClass: y, canBeInTask: true, canBeTreeNode: true, helpTopic: p.helpTopics.actions.transferUser, modelClass: i2(68657), modelFormatSupport: { flowYaml: { inProgress: true, feature: f.default.changeSetsFeaturePhase2 } }, name: T.actions.transfers.user, scriptingName: "ArchActionTransferToUser" }), t2.A = y; }, 17405: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -21827,14 +23416,14 @@ var require_scripting_bundle = __commonJS({ t2.ExpressionTypeLanguageSkillOptions = r2; }, 17471: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(27203)), o = i2(53755), a = i2(21305), s = i2(60818), l = i2(12786), u = i2(12179), d = n2.__importDefault(i2(97891)), c = i2(47957); - class p extends o.BaseConversationAttributeActionViewModel { + const n2 = i2(31635), r2 = n2.__importDefault(i2(27203)), o = i2(53755), a = i2(21305), s = i2(60818), l = i2(12786), u = i2(12179), c = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends o.BaseConversationAttributeActionViewModel { constructor(e3, t3) { super(e3, t3), this._loadModel(t3); } static createCustomJsonProperties() { return this.createManagedPropertiesFromConfig({ includeInput: false, includeOutput: true, outputOptionsFactory: () => a.ExpressionTypeJsonOptions.create((e3) => { - e3.setAsOutput().setIsCustomJsonType(true).setIsCollection(true).setLabelOverride(c.conversationAttribute.resultLabel).setIninTestingField("customJsonOutput"); + e3.setAsOutput().setIsCustomJsonType(true).setIsCollection(true).setLabelOverride(p.conversationAttribute.resultLabel).setIninTestingField("customJsonOutput"); }) }); } static get managedProperties() { @@ -21847,7 +23436,7 @@ var require_scripting_bundle = __commonJS({ return l.getConversationAttributesFailureReasons; } } - p.info = d.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: u.helpTopics.actions.getConversationAttributes, modelClass: s.GetConversationAttributesActionModel, name: c.actions.getConversationAttributes, scriptingName: "ArchActionGetConversationAttributes" }), t2.A = p; + _.info = c.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: u.helpTopics.actions.getConversationAttributes, modelClass: s.GetConversationAttributesActionModel, modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } }, name: p.actions.getConversationAttributes, scriptingName: "ArchActionGetConversationAttributes" }), t2.A = _; }, 17474: function(e2, t2, i2) { "use strict"; var n2 = this && this.__read || function(e3, t3) { @@ -21871,34 +23460,34 @@ var require_scripting_bundle = __commonJS({ return e3; }; Object.defineProperty(t2, "__esModule", { value: true }), t2.bindCallbackInternals = void 0; - var o = i2(68596), a = i2(48051), s = i2(5455), l = i2(13916), u = i2(32071), d = i2(5130); - t2.bindCallbackInternals = function e3(t3, i3, c, p) { - if (c) { - if (!o.isScheduler(c)) return function() { + var o = i2(68596), a = i2(48051), s = i2(5455), l = i2(13916), u = i2(32071), c = i2(5130); + t2.bindCallbackInternals = function e3(t3, i3, d, p) { + if (d) { + if (!o.isScheduler(d)) return function() { for (var n3 = [], r3 = 0; r3 < arguments.length; r3++) n3[r3] = arguments[r3]; - return e3(t3, i3, p).apply(this, n3).pipe(l.mapOneOrManyArgs(c)); + return e3(t3, i3, p).apply(this, n3).pipe(l.mapOneOrManyArgs(d)); }; - p = c; + p = d; } return p ? function() { for (var n3 = [], r3 = 0; r3 < arguments.length; r3++) n3[r3] = arguments[r3]; return e3(t3, i3).apply(this, n3).pipe(s.subscribeOn(p), u.observeOn(p)); } : function() { for (var e4 = this, o2 = [], s2 = 0; s2 < arguments.length; s2++) o2[s2] = arguments[s2]; - var l2 = new d.AsyncSubject(), u2 = true; + var l2 = new c.AsyncSubject(), u2 = true; return new a.Observable(function(a2) { var s3 = l2.subscribe(a2); if (u2) { u2 = false; - var d2 = false, c2 = false; + var c2 = false, d2 = false; i3.apply(e4, r2(r2([], n2(o2)), [function() { for (var e5 = [], i4 = 0; i4 < arguments.length; i4++) e5[i4] = arguments[i4]; if (t3) { var n3 = e5.shift(); if (null != n3) return void l2.error(n3); } - l2.next(1 < e5.length ? e5 : e5[0]), c2 = true, d2 && l2.complete(); - }])), c2 && l2.complete(), d2 = true; + l2.next(1 < e5.length ? e5 : e5[0]), d2 = true, c2 && l2.complete(); + }])), d2 && l2.complete(), c2 = true; } return s3; }); @@ -21920,7 +23509,7 @@ var require_scripting_bundle = __commonJS({ }, 17485: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.nuanceMixBotManager = t2.NuanceMixBotManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(96347)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(47532)), u = i2(81801), d = i2(30801), c = n2.__importDefault(i2(90436)), p = i2(47976), _ = i2(47957), h = i2(27862), m = i2(84584); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(96347)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(47532)), u = i2(81801), c = i2(30801), d = n2.__importDefault(i2(90436)), p = i2(47976), _ = i2(47957), h = i2(27862), m = i2(84584); class g extends l.default { get requiredAuth() { return u.externalAuthorizations.authStrings.integrationView; @@ -21929,10 +23518,10 @@ var require_scripting_bundle = __commonJS({ return h.NuanceMixBot; } constructor() { - super(), this.topic = s.getTopic("NuanceMixBotManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "bot", this.actionsForUsageSearch = [d.nuanceMixActionType], this.apiCallList = o.getBotList, this.apiCallSingle = o.getSingleBot, this.className = "NuanceMixBotManager", this.defaultMatchingStyle = a.exactMatch, this.dependencyContext = _.nuanceMix.nuanceMixBot, this.isDependentOnCategory = true, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "nuanceMixBots", this._initialize(); + super(), this.topic = s.getTopic("NuanceMixBotManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "bot", this.actionsForUsageSearch = [c.nuanceMixActionType], this.apiCallList = o.getBotList, this.apiCallSingle = o.getSingleBot, this.className = "NuanceMixBotManager", this.defaultMatchingStyle = a.exactMatch, this.dependencyContext = _.nuanceMix.nuanceMixBot, this.isDependentOnCategory = true, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "nuanceMixBots", this._initialize(); } _createItemViewModel(e3) { - return new c.default(e3); + return new d.default(e3); } getBotCategoryForBotRunnable(e3) { if (!r2.default.isString(e3)) return this.topic.error("Object passed to getBotCategoryForBotRunnable was not a string: " + e3), null; @@ -21945,15 +23534,15 @@ var require_scripting_bundle = __commonJS({ } t2.NuanceMixBotManager = g, t2.nuanceMixBotManager = new g(); }, 17496: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(96348), o = i2(45421), a = i2(36742), s = i2(13126), l = i2(60094), { MenuChoiceViewModel: u } = i2(63883), { ParameterInfo: d } = i2(55909), { ParameterValidator: c } = i2(33951), p = i2(47957), _ = i2(92330), { taskActionActionType: h } = i2(30801), m = "ClipboardContentTaskViewModel"; + const n2 = i2(92140), r2 = i2(96348), o = i2(45421), a = i2(36742), s = i2(13126), l = i2(60094), { MenuChoiceViewModel: u } = i2(63883), { ParameterInfo: c } = i2(55909), { ParameterValidator: d } = i2(33951), p = i2(47957), _ = i2(92330), { taskActionActionType: h } = i2(30801), m = "ClipboardContentTaskViewModel"; class g extends r2 { constructor(e3, t3) { super(e3, t3), Object.defineProperties(this, { _destUpconvertMenuChoiceViewModel: { writable: true } }); } static create(e3, t3, i3, n3) { - c.expectString(n3, () => d.createFunctionParameter(m, "create", "newContentName"), true); + d.expectString(n3, () => c.createFunctionParameter(m, "create", "newContentName"), true); const r3 = o.getFlowViewModel(e3); - if (!r3) return c.expectFlowViewModel(r3, () => d.createFunctionParameter(m, "create", "taskViewModel.parentFlow")), null; + if (!r3) return d.expectFlowViewModel(r3, () => c.createFunctionParameter(m, "create", "taskViewModel.parentFlow")), null; let s2; try { const o2 = new a(); @@ -22008,7 +23597,7 @@ var require_scripting_bundle = __commonJS({ y(e3, t3, i4.dependencyName, i4.dependencyId, i4.dependencyVersion, i4.dependencyType, void 0, void 0, true); }); }, t2.registerConsumer = y, t2.registerPrompt = function(e3, t3, i3, n3) { - if (t3 !== d.SystemPrompt && t3 !== d.UserPrompt) return void console.error(`Invalid dependency type for a prompt: ${t3}`); + if (t3 !== c.SystemPrompt && t3 !== c.UserPrompt) return void console.error(`Invalid dependency type for a prompt: ${t3}`); if (!i3) return void console.error("no flow found for dependency consumer: '" + e3 + "' which has dependency type of: " + t3); if (!e3 && !n3) return; const r3 = (function(e4) { @@ -22035,9 +23624,7 @@ var require_scripting_bundle = __commonJS({ }); }, t2.unRegisterConsumer = A, t2.unRegisterConsumerEntirely = function(e3, t3) { t3 || (t3 = f(e3)), t3 && (p[t3.instanceId] = o.default.reject(T(t3), (t4) => t4.consumer && t4.consumer.id === e3.id)); - }, t2.unRegisterExpression = N, t2.deleteDependencies = function(e3) { - e3 && (delete p[e3.instanceId], delete _[e3.instanceId]); - }, t2.getDependenciesForFlow = O, t2.getDependencyGraphForFlow = function(e3) { + }, t2.unRegisterExpression = N, t2.deleteDependencies = v, t2.getDependenciesForFlow = O, t2.getDependencyGraphForFlow = function(e3) { const t3 = {}; return o.default.each(O(e3), (e4) => { if (e4.type.hideFromGrid) return; @@ -22045,9 +23632,9 @@ var require_scripting_bundle = __commonJS({ if (t3[n3]) t3[n3].visibleUsages.push({ consumer: e4.consumer, context: e4.context }); else { let o2 = e4.name; - if (i3 && e4.type === d.CommonModuleFlow) { + if (i3 && e4.type === c.CommonModuleFlow) { const t4 = e4.consumer.commonModule.getCommonModuleReference(); - t4 && (o2 = (0, r2.sprintf)(c.nameAndVersion, t4.name, t4.version)); + t4 && (o2 = (0, r2.sprintf)(d.nameAndVersion, t4.name, t4.version)); } t3[n3] = { id: n3, type: e4.type, name: o2, visibleUsages: [{ consumer: e4.consumer, context: e4.context }] }; } @@ -22071,51 +23658,51 @@ var require_scripting_bundle = __commonJS({ }); }), t3; }, t2.updateDependencies = function(e3, t3) { - t3 && this.deleteDependencies(e3), e3 && e3.updateDependencies(); + t3 && v(e3), e3 && e3.updateDependencies(); }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(12847)), s = i2(14394), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(1115)), d = i2(27862), c = i2(47957), p = {}, _ = {}, h = {}; + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(12847)), s = i2(14394), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(1115)), c = i2(27862), d = i2(47957), p = {}, _ = {}, h = {}; function m(e3) { if (e3 && e3.type) switch (e3.type.singletonType) { case s.globalTypes.contactList: - return d.ContactList; + return c.ContactList; case s.globalTypes.customerSegment: - return d.CustomerSegment; + return c.CustomerSegment; case s.globalTypes.digitalAudio: - return d.DigitalAudio; + return c.DigitalAudio; case s.globalTypes.division: - return d.Division; + return c.Division; case s.globalTypes.emergencyGroup: - return d.EmergencyGroup; + return c.EmergencyGroup; case s.globalTypes.file: - return d.File; + return c.File; case s.globalTypes.grammar: - return d.Grammar; + return c.Grammar; case s.globalTypes.group: - return d.Group; + return c.Group; case s.globalTypes.image: - return d.Image; + return c.Image; case s.globalTypes.languageSkill: - return d.LanguageSkill; + return c.LanguageSkill; case s.globalTypes.knowledgeBaseDocument: - return d.KnowledgeBaseDocument; + return c.KnowledgeBaseDocument; case s.globalTypes.queue: - return d.Queue; + return c.Queue; case s.globalTypes.responseAsset: - return d.ResponseAsset; + return c.ResponseAsset; case s.globalTypes.schedule: - return d.Schedule; + return c.Schedule; case s.globalTypes.scheduleGroup: - return d.ScheduleGroup; + return c.ScheduleGroup; case s.globalTypes.skill: - return d.Skill; + return c.Skill; case s.globalTypes.userQueue: - return d.User; + return c.User; case s.globalTypes.utilizationLabel: - return d.UtilizationLabel; + return c.UtilizationLabel; case s.globalTypes.video: - return d.Video; + return c.Video; case s.globalTypes.wrapupCode: - return d.WrapupCode; + return c.WrapupCode; } } function g(e3) { @@ -22138,8 +23725,8 @@ var require_scripting_bundle = __commonJS({ if (!o2 || !o2.isDependencyType) return void a.error(`registerConsumer missing or invalid dependencyType parameter: ${o2}`); if (s2 || (s2 = f(e3)), !s2) return void console.error("no flow found for dependency consumer:" + e3.id); u2 || A(e3, t3, s2); - const d2 = { consumer: e3, context: t3, name: i3, id: n3, type: o2, extraPropertiesObject: l2 }; - r3 && (d2.version = r3), T(s2).push(d2); + const c2 = { consumer: e3, context: t3, name: i3, id: n3, type: o2, extraPropertiesObject: l2 }; + r3 && (c2.version = r3), T(s2).push(c2); } function S(e3, t3, i3, n3, r3, o2) { if (o2 || (o2 = f(e3)), !o2) return void console.error("no flow found for dependency consumer:" + e3.id); @@ -22163,6 +23750,9 @@ var require_scripting_bundle = __commonJS({ } }); } + function v(e3) { + e3 && (delete p[e3.instanceId], delete _[e3.instanceId]); + } function O(e3) { if (!e3) return a.error("no flow passed in to getDependenciesForFlow"), []; if (!p[e3.instanceId]) return []; @@ -22207,7 +23797,7 @@ var require_scripting_bundle = __commonJS({ var r2 = { not_string: /[^s]/, not_bool: /[^t]/, not_type: /[^T]/, not_primitive: /[^v]/, number: /[diefg]/, numeric_arg: /[bcdiefguxX]/, json: /[j]/, not_json: /[^j]/, text: /^[^\x25]+/, modulo: /^\x25{2}/, placeholder: /^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/, key: /^([a-z_][a-z_\d]*)/i, key_access: /^\.([a-z_][a-z_\d]*)/i, index_access: /^\[(\d+)\]/, sign: /^[\+\-]/ }; function o(e3) { return (function(e4, t3) { - var i3, n3, a2, s2, l, u, d, c, p, _ = 1, h = e4.length, m = ""; + var i3, n3, a2, s2, l, u, c, d, p, _ = 1, h = e4.length, m = ""; for (n3 = 0; n3 < h; n3++) if ("string" == typeof e4[n3]) m += e4[n3]; else if (Array.isArray(e4[n3])) { if ((s2 = e4[n3])[2]) for (i3 = t3[_], a2 = 0; a2 < s2[2].length; a2++) { @@ -22216,7 +23806,7 @@ var require_scripting_bundle = __commonJS({ } else i3 = s2[1] ? t3[s2[1]] : t3[_++]; if (r2.not_type.test(s2[8]) && r2.not_primitive.test(s2[8]) && i3 instanceof Function && (i3 = i3()), r2.numeric_arg.test(s2[8]) && "number" != typeof i3 && isNaN(i3)) throw new TypeError(o("[sprintf] expecting number but found %T", i3)); - switch (r2.number.test(s2[8]) && (c = i3 >= 0), s2[8]) { + switch (r2.number.test(s2[8]) && (d = i3 >= 0), s2[8]) { case "b": i3 = parseInt(i3, 10).toString(2); break; @@ -22263,7 +23853,7 @@ var require_scripting_bundle = __commonJS({ case "X": i3 = (parseInt(i3, 10) >>> 0).toString(16).toUpperCase(); } - r2.json.test(s2[8]) ? m += i3 : (!r2.number.test(s2[8]) || c && !s2[3] ? p = "" : (p = c ? "+" : "-", i3 = i3.toString().replace(r2.sign, "")), u = s2[4] ? "0" === s2[4] ? "0" : s2[4].charAt(1) : " ", d = s2[6] - (p + i3).length, l = s2[6] && d > 0 ? u.repeat(d) : "", m += s2[5] ? p + i3 + l : "0" === u ? p + l + i3 : l + p + i3); + r2.json.test(s2[8]) ? m += i3 : (!r2.number.test(s2[8]) || d && !s2[3] ? p = "" : (p = d ? "+" : "-", i3 = i3.toString().replace(r2.sign, "")), u = s2[4] ? "0" === s2[4] ? "0" : s2[4].charAt(1) : " ", c = s2[6] - (p + i3).length, l = s2[6] && c > 0 ? u.repeat(c) : "", m += s2[5] ? p + i3 + l : "0" === u ? p + l + i3 : l + p + i3); } return m; })((function(e4) { @@ -22302,10 +23892,10 @@ var require_scripting_bundle = __commonJS({ })(); }, 17637: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(81516), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(1115)), l = i2(12179), u = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(5730)), c = i2(80428), p = i2(47957); - class _ extends d.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(81516), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(1115)), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(5730)), d = i2(80428), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends c.default { static get managedProperties() { - return [{ label: p.callBotFlowAction.intent, options: o.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("intent").setUiPropertyOrder(0).facets.setAllowNull(false)), property: "intent", type: c.expressionTypeNames.string }]; + return [{ label: _.callBotFlowAction.intent, options: o.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("intent").setUiPropertyOrder(0).facets.setAllowNull(false)), property: "intent", type: d.expressionTypeNames.string }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this.onNluIntentConfigurationUpdated = (e4) => { @@ -22319,18 +23909,18 @@ var require_scripting_bundle = __commonJS({ _initializeDesignTime() { super._initializeDesignTime(), this.addAutoCleanedUpEventListener(a.nluIntentConfigurationUpdated, this.onNluIntentConfigurationUpdated), this._configureIntentAllowableValues(), this.intent.attachValidator((e3, t3) => { const i3 = this.parentFlow.nluMetaData.allowableIntentValues; - (!r2.default.isArray(i3) || i3.length < 1) && t3.setParseError(p.setIntent.nluMustHaveOneIntentToSetIntent); + (!r2.default.isArray(i3) || i3.length < 1) && t3.setParseError(_.setIntent.nluMustHaveOneIntentToSetIntent); }); } } - _.info = u.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: l.helpTopics.actions.setActiveIntent, modelClass: i2(94639), name: p.actions.setIntent, scriptingName: "ArchActionSetIntent" }), t2.A = _; + h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: l.helpTopics.actions.setActiveIntent, modelClass: i2(94639), name: _.actions.setIntent, scriptingName: "ArchActionSetIntent", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 17666: (e2, t2) => { "use strict"; var i2, n2, r2, o, a, s; Object.defineProperty(t2, "__esModule", { value: true }), t2.CodeArchitectYamlParserToken = t2.CodeArchitectJsonParserToken = t2.CodeSuggestionWhatToDo = t2.CodeSuggestionType = t2.CodeParseItemMessageType = t2.CodeLanguage = void 0, (function(e3) { e3.architectJson = "jsn__architect", e3.architectYaml = "yaml__architect", e3.architectExpression = "expression", e3.jsn = "jsn", e3.yaml = "yaml"; })(i2 || (t2.CodeLanguage = i2 = {})), (function(e3) { - e3.architectExpression = "architectExpression", e3.architectExpressionUnavailable = "architectExpressionUnavailable", e3.architectLiteral = "architectLiteral", e3.arrayLengthTooSmall = "arrayLengthTooSmall", e3.arrayLengthTooBig = "arrayLengthTooBig", e3.duplicateProperty = "duplicateProperty", e3.invalidIndent = "invalidIndent", e3.invalidTypeValue = "invalidTypeValue", e3.invalidSyntax = "invalidSyntax", e3.propertyNotValidForType = "propertyNotValidForType", e3.requiredPropertiesMissing = "requiredPropertiesMissing", e3.stringLengthTooBig = "stringLengthTooBig", e3.stringLengthTooSmall = "stringLengthTooSmall", e3.tokenAfterEndOfValue = "tokenAfterEndOfValue", e3.tokenDuplicate = "tokenDuplicate", e3.tokenInvalid = "tokenInvalid", e3.tokenInvalidType = "tokenInvalidType", e3.tokenMissing = "tokenMissing", e3.tokenUnexpected = "tokenUnexpected", e3.totalTextLengthTooBig = "totalTextLengthTooBig", e3.typeIncompatible = "typeIncompatible", e3.typeIncompatibleAssignment = "typeIncompatibleAssignment", e3.unnecessarySeparator = "unnecessarySeparator", e3.valueExtra = "valueExtra", e3.valueIncomplete = "valueIncomplete", e3.valueMissing = "valueMissing", e3.valueNotInAllowableValues = "valueNotInAllowableValues", e3.valueTooBig = "valueTooBig", e3.valueTooSmall = "valueTooSmall"; + e3.architectExpression = "architectExpression", e3.architectExpressionUnavailable = "architectExpressionUnavailable", e3.architectLiteral = "architectLiteral", e3.arrayLengthTooBig = "arrayLengthTooBig", e3.arrayLengthTooSmall = "arrayLengthTooSmall", e3.atLeastOnePropertyMustBeSet = "atLeastOnePropertyMustBeSet", e3.duplicateProperty = "duplicateProperty", e3.invalidIndent = "invalidIndent", e3.invalidSyntax = "invalidSyntax", e3.invalidTypeValue = "invalidTypeValue", e3.nullPropertyValueNoOpWarning = "nullPropertyValueNoOpWarning", e3.objectLiteralNotAllowedWhenAllPropertiesReadOnly = "objectLiteralNotAllowedWhenAllPropertiesReadOnly", e3.propertyNotValidForType = "propertyNotValidForType", e3.requiredPropertiesMissing = "requiredPropertiesMissing", e3.stringLengthTooBig = "stringLengthTooBig", e3.stringLengthTooSmall = "stringLengthTooSmall", e3.tokenAfterEndOfValue = "tokenAfterEndOfValue", e3.tokenDuplicate = "tokenDuplicate", e3.tokenInvalid = "tokenInvalid", e3.tokenInvalidType = "tokenInvalidType", e3.tokenMissing = "tokenMissing", e3.tokenUnexpected = "tokenUnexpected", e3.totalTextLengthTooBig = "totalTextLengthTooBig", e3.typeIncompatible = "typeIncompatible", e3.typeIncompatibleAssignment = "typeIncompatibleAssignment", e3.unnecessarySeparator = "unnecessarySeparator", e3.valueExtra = "valueExtra", e3.valueIncomplete = "valueIncomplete", e3.valueMissing = "valueMissing", e3.valueNotInAllowableValues = "valueNotInAllowableValues", e3.valueTooBig = "valueTooBig", e3.valueTooSmall = "valueTooSmall"; })(n2 || (t2.CodeParseItemMessageType = n2 = {})), (function(e3) { e3.fix = "fix", e3.convert = "convert"; })(r2 || (t2.CodeSuggestionType = r2 = {})), (function(e3) { @@ -22428,7 +24018,7 @@ var require_scripting_bundle = __commonJS({ }, 17832: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DialogflowAgentViewModel = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(10798)), s = n2.__importDefault(i2(41510)), l = n2.__importDefault(i2(4648)), u = i2(43212), d = n2.__importDefault(i2(56133)), c = n2.__importDefault(i2(43277)), p = n2.__importDefault(i2(27579)), _ = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(10798)), s = n2.__importDefault(i2(41510)), l = n2.__importDefault(i2(4648)), u = i2(43212), c = n2.__importDefault(i2(56133)), d = n2.__importDefault(i2(43277)), p = n2.__importDefault(i2(27579)), _ = i2(47957); class h extends u.BaseConfigurationListViewModel { constructor(e3) { super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, p.default)(); @@ -22462,9 +24052,9 @@ var require_scripting_bundle = __commonJS({ } set model(e3) { this._model = e3, this.intents = [], this._model.intents && o.default.each(this._model.intents, (e4) => { - this.intents.push(new d.default(o.default.clone(e4))); - }), this.environments = [new c.default(s.default.dialogflow.draftEnvironmentId, s.default.dialogflow.draftEnvironmentName)], o.default.each(this.model.environments, (e4) => { - this.environments.push(new c.default(e4, e4, null)); + this.intents.push(new c.default(o.default.clone(e4))); + }), this.environments = [new d.default(s.default.dialogflow.draftEnvironmentId, s.default.dialogflow.draftEnvironmentName)], o.default.each(this.model.environments, (e4) => { + this.environments.push(new d.default(e4, e4, null)); }); } get name() { @@ -22486,16 +24076,16 @@ var require_scripting_bundle = __commonJS({ t2.DialogflowAgentViewModel = h; }, 17848: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(85386), o = i2(35635), a = i2(89982), s = i2(98962), l = i2(30068).default, u = i2(83462); - function d() { - Object.defineProperties(this, { _checkedInVersion: { writable: true }, _currentOperation: { writable: true }, _debugVersion: { writable: true }, _lockedClient: { writable: true }, _lockedUser: { writable: true }, _publishedVersion: { writable: true }, _savedVersion: { writable: true }, _supportedLanguages: { writable: true }, _alternateFlowInfos: { writable: true }, _state: { writable: true } }), this.active = void 0, this.deleted = void 0, this.nluInfo = void 0, this.system = void 0, this.type = void 0, this.generationId = void 0, this.datePublished = void 0, this.datePublishedEnd = void 0, this.inputSchema = void 0, this.outputSchema = void 0, this.agenticVirtualAgentEnabled = void 0, this.virtualAgentEnabled = void 0, this.version = void 0, this.surveyForm = void 0, d.baseConstructor.apply(this, arguments); + function c() { + Object.defineProperties(this, { _checkedInVersion: { writable: true }, _currentOperation: { writable: true }, _debugVersion: { writable: true }, _lockedClient: { writable: true }, _lockedUser: { writable: true }, _publishedVersion: { writable: true }, _savedVersion: { writable: true }, _supportedLanguages: { writable: true }, _alternateFlowInfos: { writable: true }, _state: { writable: true } }), this.active = void 0, this.deleted = void 0, this.nluInfo = void 0, this.system = void 0, this.type = void 0, this.generationId = void 0, this.datePublished = void 0, this.datePublishedEnd = void 0, this.inputSchema = void 0, this.outputSchema = void 0, this.agenticVirtualAgentEnabled = void 0, this.virtualAgentEnabled = void 0, this.version = void 0, this.surveyForm = void 0, c.baseConstructor.apply(this, arguments); } - d.duplicateKeyListProperty = "alternateFlowInfos", d.getMasterItemIndexFromDuplicateKeyList = (e3) => { + c.duplicateKeyListProperty = "alternateFlowInfos", c.getMasterItemIndexFromDuplicateKeyList = (e3) => { const t3 = e3.findIndex((e4) => !e4.version); return t3 >= 0 ? t3 : 0; - }, r2.extend(d, "FlowInfo"), Object.defineProperties(d.prototype, { alternateFlowInfos: { enumerable: true, get: function() { + }, r2.extend(c, "FlowInfo"), Object.defineProperties(c.prototype, { alternateFlowInfos: { enumerable: true, get: function() { return this._alternateFlowInfos; }, set: function(e3) { - this._alternateFlowInfos = this.reviveArray(e3, d); + this._alternateFlowInfos = this.reviveArray(e3, c); } }, checkedInVersion: { enumerable: true, get: function() { return this._checkedInVersion; }, set: function(e3) { @@ -22534,7 +24124,7 @@ var require_scripting_bundle = __commonJS({ return this._supportedLanguages; }, set: function(e3) { this._supportedLanguages = this.reviveArray(e3, a); - } } }), e2.exports = d; + } } }), e2.exports = c; }, 17873: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleAsyncIterable = void 0; @@ -22558,9 +24148,9 @@ var require_scripting_bundle = __commonJS({ return n2.__awaiter(this, void 0, void 0, function* () { var n3; const s2 = { id: void 0 }; - let c2; + let d2; try { - c2 = yield d.surveyFormManager.apiCallSingle(e3); + d2 = yield c.surveyFormManager.apiCallSingle(e3); } catch (e4) { switch (null == e4 ? void 0 : e4.status) { case 403: @@ -22574,7 +24164,7 @@ var require_scripting_bundle = __commonJS({ } return { error: s2 }; } - const _2 = N(c2, t3); + const _2 = N(d2, t3); (null === (n3 = _2.flowVariables) || void 0 === n3 ? void 0 : n3.length) && i3.variables.push(..._2.flowVariables); const h2 = new u.default(r3), m2 = l.getFullFlow(h2); m2.voiceSurveyFlowSettings.surveyFormInfo = _2.surveyInfo, yield T.loadTemplate(m2, i3); @@ -22595,18 +24185,18 @@ var require_scripting_bundle = __commonJS({ return u2 ? (null === (n3 = null == u2 ? void 0 : u2.mechanism) || void 0 === n3 ? void 0 : n3.type) !== (null === (r3 = null == t4 ? void 0 : t4.mechanism) || void 0 === r3 ? void 0 : r3.type) ? (i3.name = t4.name, i3.mechanismsMatch = (null === (o2 = t4.mechanism) || void 0 === o2 ? void 0 : o2.type) === (null === (a2 = u2.mechanism) || void 0 === a2 ? void 0 : a2.type) && (null === (s2 = t4.mechanism) || void 0 === s2 ? void 0 : s2.items.sort()) === (null === (l2 = u2.mechanism) || void 0 === l2 ? void 0 : l2.items.sort()), i3) : void 0 : (i3.name = t4.name, i3); }), i3; }; - const n2 = i2(31635), r2 = i2(68694), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(24032)), l = n2.__importStar(i2(89884)), u = n2.__importDefault(i2(90396)), d = i2(99918), c = i2(12847), p = i2(44724), _ = i2(56969), h = i2(56969), m = i2(56969), g = i2(56969), f = i2(56969), T = n2.__importStar(i2(46920)), y = i2(47957), S = i2(35825), A = s.getTopic("voiceSurveyFlow"); + const n2 = i2(31635), r2 = i2(68694), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(24032)), l = n2.__importStar(i2(89884)), u = n2.__importDefault(i2(90396)), c = i2(99918), d = i2(12847), p = i2(44724), _ = i2(56969), h = i2(56969), m = i2(56969), g = i2(56969), f = i2(56969), T = n2.__importStar(i2(46920)), y = i2(47957), S = i2(35825), A = s.getTopic("voiceSurveyFlow"); function N(e3, t3) { var i3; - const n3 = { language: (null === (i3 = t3.id) || void 0 === i3 ? void 0 : i3.toLowerCase()) || "en-us", intents: [] }, o2 = [], s2 = [], l2 = { archSurveyForm: { header: null == e3 ? void 0 : e3.header, footer: null == e3 ? void 0 : e3.footer, name: e3.name, id: e3.id, contextId: e3.contextId, language: e3.language, modifiedDate: e3.modifiedDate, questionGroups: [] }, formMappingInfo: { surveyFormId: e3.id, formVariableId: "__SURVEY_FORM__" }, questionGroupMappingInfo: o2, questionMappingInfo: s2, formToSlotVariableMappings: {} }, u2 = { nluDomainVersion: n3, surveyInfo: l2, flowVariables: [] }, d2 = l2.archSurveyForm; + const n3 = { language: (null === (i3 = t3.id) || void 0 === i3 ? void 0 : i3.toLowerCase()) || "en-us", intents: [] }, o2 = [], s2 = [], l2 = { archSurveyForm: { header: null == e3 ? void 0 : e3.header, footer: null == e3 ? void 0 : e3.footer, name: e3.name, id: e3.id, contextId: e3.contextId, language: e3.language, modifiedDate: e3.modifiedDate, questionGroups: [] }, formMappingInfo: { surveyFormId: e3.id, formVariableId: "__SURVEY_FORM__" }, questionGroupMappingInfo: o2, questionMappingInfo: s2, formToSlotVariableMappings: {} }, u2 = { nluDomainVersion: n3, surveyInfo: l2, flowVariables: [] }, c2 = l2.archSurveyForm; e3.questionGroups.forEach((e4, t4) => { - const i4 = t4 + 1, c3 = `Form.QuestionGroup${i4}`, p2 = `__SURVEY_QUESTION_GROUP_${i4}__`, T2 = { variableId: p2, variableName: c3, visibilityCondition: e4.visibilityCondition ? e4.visibilityCondition : void 0, id: e4.id, name: e4.name, questions: [], groupIndex: i4 }; - d2.questionGroups.push(T2); + const i4 = t4 + 1, d3 = `Form.QuestionGroup${i4}`, p2 = `__SURVEY_QUESTION_GROUP_${i4}__`, T2 = { variableId: p2, variableName: d3, visibilityCondition: e4.visibilityCondition ? e4.visibilityCondition : void 0, id: e4.id, name: e4.name, questions: [], groupIndex: i4 }; + c2.questionGroups.push(T2); let y2 = 1; e4.questions.forEach((t5) => { - const o3 = `Form.${(0, h.getSurveyQuestionSlotName)(i4, y2)}`, l3 = (0, _.getSurveyQuestionFormVariableId)(i4, y2), d3 = { variableId: l3, variableName: o3, visibilityCondition: t5.visibilityCondition ? t5.visibilityCondition : void 0, id: t5.id, questionType: O(t5.type), questionText: t5.text, naEnabled: t5.naEnabled, answerOptions: [], followUpQuestionText: null == t5 ? void 0 : t5.explanationPrompt, maxResponseCharacters: null == t5 ? void 0 : t5.maxResponseCharacters, questionIndex: y2, groupIndex: i4 }; - a.default.isEmpty(t5.helpText) || (d3.questionHelpText = t5.helpText), T2.questions.push(d3); - const c4 = []; + const o3 = `Form.${(0, h.getSurveyQuestionSlotName)(i4, y2)}`, l3 = (0, _.getSurveyQuestionFormVariableId)(i4, y2), c3 = { variableId: l3, variableName: o3, visibilityCondition: t5.visibilityCondition ? t5.visibilityCondition : void 0, id: t5.id, questionType: v(t5.type), questionText: t5.text, naEnabled: t5.naEnabled, answerOptions: [], followUpQuestionText: null == t5 ? void 0 : t5.explanationPrompt, maxResponseCharacters: null == t5 ? void 0 : t5.maxResponseCharacters, questionIndex: y2, groupIndex: i4 }; + a.default.isEmpty(t5.helpText) || (c3.questionHelpText = t5.helpText), T2.questions.push(c3); + const d4 = []; let p3; const A3 = []; switch (t5.type) { @@ -22617,9 +24207,9 @@ var require_scripting_bundle = __commonJS({ case f.SurveyQuestionTypesEnum.npsQuestion: for (let e6 = 0; e6 <= 10; e6++) { const t6 = e6.toString(), i5 = { value: t6, synonyms: [t6] }; - c4.push(i5); + d4.push(i5); } - p3 = { name: (0, m.getSurveyQuestionSlotTypeName)(i4, y2), description: void 0, mechanism: { type: "List", items: c4, restricted: true } }; + p3 = { name: (0, m.getSurveyQuestionSlotTypeName)(i4, y2), description: void 0, mechanism: { type: "List", items: d4, restricted: true } }; const n4 = { name: (0, h.getSurveyQuestionSlotName)(i4, y2), type: p3.name }; A3.push(n4); break; @@ -22627,14 +24217,14 @@ var require_scripting_bundle = __commonJS({ let o4 = 1; t5.answerOptions.forEach((e6) => { const t6 = { id: e6.id, text: e6.text, dtmf: o4.toString() }; - if (!d3.answerOptions.find((e7) => e7.text === t6.text)) { + if (!c3.answerOptions.find((e7) => e7.text === t6.text)) { if (void 0 !== t6.text) { const t7 = { value: e6.text }; - c4.push(t7), t7.synonyms || (t7.synonyms = []), t7.synonyms.push(o4.toString()); + d4.push(t7), t7.synonyms || (t7.synonyms = []), t7.synonyms.push(o4.toString()); } - d3.answerOptions.push(t6), o4++; + c3.answerOptions.push(t6), o4++; } - }), p3 = { name: (0, m.getSurveyQuestionSlotTypeName)(i4, y2), description: void 0, mechanism: { type: "List", items: c4, restricted: true } }; + }), p3 = { name: (0, m.getSurveyQuestionSlotTypeName)(i4, y2), description: void 0, mechanism: { type: "List", items: d4, restricted: true } }; const a2 = { name: (0, h.getSurveyQuestionSlotName)(i4, y2), type: p3.name }; A3.push(a2); } @@ -22644,21 +24234,111 @@ var require_scripting_bundle = __commonJS({ } const N3 = new S.SurveyQuestionVariable({ name: o3, id: l3, version: "1.0" }); u2.flowVariables.push(N3), p3 && (n3.entityTypes || (n3.entityTypes = []), n3.entityTypes.push(p3)), A3.length > 0 && (n3.entities || (n3.entities = []), n3.entities.push(...A3)); - const I = { surveyQuestionId: t5.id, parentSurveyQuestionGroupId: e4.id, surveyQuestionIndex: y2, questionVariableId: N3.id }; - s2.push(I), y2++; + const O = { surveyQuestionId: t5.id, parentSurveyQuestionGroupId: e4.id, surveyQuestionIndex: y2, questionVariableId: N3.id }; + s2.push(O), y2++; }); - const A2 = new S.SurveyQuestionGroupVariable({ name: c3, id: p2, version: "1.0" }); + const A2 = new S.SurveyQuestionGroupVariable({ name: d3, id: p2, version: "1.0" }); u2.flowVariables.push(A2); const N2 = { surveyQuestionGroupId: e4.id, parentSurveyFormId: l2.formMappingInfo.surveyFormId, questionGroupVariableId: A2.id, surveyQuestionGroupIndex: i4 }; o2.push(N2); }); - const c2 = new S.SurveyFormVariable({ name: "Form.FullSurvey", id: "__SURVEY_FORM__", version: "1.0", description: y.systemVariables.surveyForm }); - return u2.flowVariables.push(c2), u2; + const d2 = new S.SurveyFormVariable({ name: "Form.FullSurvey", id: "__SURVEY_FORM__", version: "1.0", description: y.systemVariables.surveyForm }); + return u2.flowVariables.push(d2), u2; } - function O(e3) { + function v(e3) { if ("readOnlyTextBlockQuestion" === e3) return f.SurveyQuestionTypesEnum.readOnlyQuestion; - return f.SurveyQuestionTypesEnum[e3] || ((0, c.error)(`Unknown survey question type ${e3}`), e3); + return f.SurveyQuestionTypesEnum[e3] || ((0, d.error)(`Unknown survey question type ${e3}`), e3); + } + }, 17914: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.extractRefIdFromPath = void 0, t2.describeSelector = function(e3) { + return e3.refId ? `refId="${e3.refId}"` : void 0 !== e3.trackingId ? `trackingId=${e3.trackingId}` : e3.id ? `id=${e3.id}` : `name=${e3.name || "?"}`; + }, t2.resolveFromRefIdMap = function(e3, t3) { + return e3.refIdMap.get(t3); + }, t2.resolveFromList = function(e3, t3, i3) { + if (t3.refId && i3) { + const n3 = i3.refIdMap.get(t3.refId); + return n3 && e3.includes(n3) ? n3 : void 0; + } + return t3.id ? e3.find((e4) => e4.id === t3.id) : void 0 !== t3.trackingId ? e3.find((e4) => e4.trackingId === t3.trackingId) : t3.name ? e3.find((e4) => e4.name === t3.name) : void 0; + }, t2.findTaskBySelector = function(e3, t3, i3) { + if (t3.refId && i3) { + const e4 = i3.refIdMap.get(t3.refId); + return (function(e5) { + return (function(e6) { + return null !== e6 && "object" == typeof e6 && "topAction" in e6; + })(e5) && !(0, a.isStartupStateLike)(e5) && !(0, r2.isMenu)(e5); + })(e4) ? e4 : void 0; + } + if (t3.id) return e3.getTaskById(t3.id); + if (void 0 === t3.trackingId) return t3.name ? e3.tasks.find((e4) => u(e4, t3.name)) : void 0; + for (const i4 of e3.tasks) if (i4.trackingId === t3.trackingId) return i4; + }, t2.findStateBySelector = function(e3, t3, i3) { + if (t3.refId && i3) { + const e4 = i3.refIdMap.get(t3.refId); + return (function(e5) { + return (0, a.isStartupStateLike)(e5); + })(e4) ? e4 : void 0; + } + if (t3.id && (0, n2.isCommonWorkflowViewModel)(e3)) return e3.getStateById(t3.id); + if (void 0 === t3.trackingId) { + if (t3.name) { + for (const i4 of c(e3)) if (u(i4, t3.name)) return i4; + } + } else for (const i4 of c(e3)) if (i4.trackingId === t3.trackingId) return i4; + }, t2.findMenuBySelector = function(e3, t3, i3) { + if (t3.refId && i3) { + const e4 = i3.refIdMap.get(t3.refId); + return (0, r2.isMenu)(e4) ? e4 : void 0; + } + if (t3.id) return e3.getMenuById(t3.id); + if (void 0 !== t3.trackingId) { + const i4 = d(e3, t3.trackingId); + return (0, r2.isMenu)(i4) ? i4 : void 0; + } + return t3.name ? (e3.menus || []).find((e4) => e4.name === t3.name) : void 0; + }, t2.findFlowElementBySelector = function(e3, t3, i3) { + if (t3.refId && i3) return i3.refIdMap.get(t3.refId); + if (t3.id) return o.flowElementRegistrationService.getItemById(e3, t3.id); + if (void 0 !== t3.trackingId) return d(e3, t3.trackingId); + if (t3.name) { + for (const i4 of e3.tasks || []) if (u(i4, t3.name)) return i4; + for (const i4 of c(e3)) if (u(i4, t3.name)) return i4; + for (const i4 of e3.menus || []) { + if (u(i4, t3.name)) return i4; + let e4; + if (l(i4.choices, (i5) => { + !e4 && u(i5, t3.name) && (e4 = i5); + }), e4) return e4; + } + } + }; + const n2 = i2(50474), r2 = i2(1782), o = i2(19384), a = i2(18573), s = i2(40478); + function l(e3, t3) { + var i3; + for (const n3 of e3) t3(n3), (null === (i3 = n3.choices) || void 0 === i3 ? void 0 : i3.length) && l(n3.choices, t3); + } + function u(e3, t3) { + var i3; + return e3.name === t3 || (null === (i3 = e3.getDisplayName) || void 0 === i3 ? void 0 : i3.call(e3)) === t3; } + function c(e3) { + return (0, n2.isCommonWorkflowViewModel)(e3) ? e3.states : []; + } + function d(e3, t3) { + for (const i3 of e3.tasks) if (i3.trackingId === t3) return i3; + for (const i3 of c(e3)) if (i3.trackingId === t3) return i3; + for (const i3 of e3.menus || []) { + if (i3.trackingId === t3) return i3; + let e4; + if (l(i3.choices, (i4) => { + e4 || i4.trackingId !== t3 || (e4 = i4); + }), e4) return e4; + } + } + Object.defineProperty(t2, "extractRefIdFromPath", { enumerable: true, get: function() { + return s.extractRefIdFromPath; + } }); }, 17954: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -22688,6 +24368,36 @@ var require_scripting_bundle = __commonJS({ t2.exhaustAll = function() { return n2.exhaustMap(r2.identity); }; + }, 17990: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.AssignCustomerSegmentActionModel = void 0; + const n2 = i2(31635), r2 = i2(30801), o = i2(5894), a = i2(80295), s = i2(80295), l = n2.__importDefault(i2(7401)); + class u extends o.BaseFailureOutputsActionModel { + constructor(e3) { + super(e3), this.__type = u.__type, (0, s.makeUnenumerable)(this, "_externalContactId"), (0, s.makeUnenumerable)(this, "_customerSegment"); + } + get externalContactId() { + return this._externalContactId; + } + set externalContactId(e3) { + this._externalContactId = this.reviveItem(e3, l.default); + } + get customerSegment() { + return this._customerSegment; + } + set customerSegment(e3) { + this._customerSegment = this.reviveItem(e3, l.default); + } + pasteReIdOrRename(e3) { + var t3, i3; + super.pasteReIdOrRename(e3), null === (t3 = this._externalContactId) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this._customerSegment) || void 0 === i3 || i3.pasteReIdOrRename(e3); + } + pasteResolveOldToNewValues(e3) { + var t3, i3; + super.pasteResolveOldToNewValues(e3), null === (t3 = this._externalContactId) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this._customerSegment) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3); + } + } + t2.AssignCustomerSegmentActionModel = u, u.__type = r2.assignCustomerSegmentActionType, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "externalContactId", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "customerSegment", null), u.registerType(); }, 18048: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -22776,8 +24486,8 @@ var require_scripting_bundle = __commonJS({ }, 18251: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchFactoryDataTypes = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(78432)), a = i2(66314), s = n2.__importDefault(i2(71538)), l = n2.__importDefault(i2(87675)), u = n2.__importDefault(i2(99006)), d = i2(79519), c = i2(33264), p = n2.__importDefault(i2(85499)), _ = n2.__importDefault(i2(56549)), h = i2(85415), m = n2.__importDefault(i2(84783)); - class g extends m.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(84783)), o = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(56549)), s = i2(53755), l = i2(85415), u = i2(66314), c = n2.__importStar(i2(14592)), d = n2.__importDefault(i2(85499)), p = i2(79519), _ = n2.__importDefault(i2(71538)), h = n2.__importDefault(i2(87675)), m = i2(33264), g = n2.__importDefault(i2(99006)); + class f extends r2.default { constructor() { super(); } @@ -22787,91 +24497,85 @@ var require_scripting_bundle = __commonJS({ get logStr() { return this._createLogStrFromParts(["ArchFactoryDataTypes"]); } - getOrCreateCustomJsonDataTypeAsync(e3, t3, i3, a2) { + getOrCreateCustomJsonDataTypeAsync(e3, t3, i3, r3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItem(this._infoParm("archBaseFlow", "getOrCreateCustomJsonDataTypeAsync"), !e3 || !e3.isArchBaseFlow, "you must pass in a valid ArchBaseFlow instance."), this._checkItemIsValidLiteralStringEnum(this._infoParm("customJsonNamespace", "getOrCreateCustomJsonDataTypeAsync"), t3, o.default.CUSTOM_JSON_TYPE_NAMESPACES_ALL), this._checkItemIsValidLiteralString(this._infoParm("entityName", "getOrCreateCustomJsonDataTypeAsync"), i3), this._checkItemIsValidLiteralStringEnum(this._infoParm("customJsonDataTypeSchemaType", "getOrCreateCustomJsonDataTypeAsync"), a2, o.default.CUSTOM_JSON_SCHEMA_TYPES_ALL); - const n3 = r2.default.find(e3.dataTypes, (e4) => { - if (e4.isCustomJsonType && e4._getCoreViewModel().customTypeNamespace === t3) { - if (e4._getCoreViewModel().customTypeNamespace === d.CustomJsonNamespace.decisionTable && e4._getCoreViewModel().decisionTableName !== i3) return false; - switch (a2) { - case o.default.CUSTOM_JSON_SCHEMA_TYPES.input: - if (e4._getCoreViewModel().isCustomTypeContextInput) return true; - break; - case o.default.CUSTOM_JSON_SCHEMA_TYPES.output: - if (e4._getCoreViewModel().isCustomTypeContextOutput) return true; - } - } - }); - if (n3) return n3; + this._checkItem(this._infoParm("archBaseFlow", "getOrCreateCustomJsonDataTypeAsync"), !e3 || !e3.isArchBaseFlow, "you must pass in a valid ArchBaseFlow instance."), this._checkItemIsValidLiteralStringEnum(this._infoParm("customJsonNamespace", "getOrCreateCustomJsonDataTypeAsync"), t3, o.default.CUSTOM_JSON_TYPE_NAMESPACES_ALL), this._checkItemIsValidLiteralString(this._infoParm("entityName", "getOrCreateCustomJsonDataTypeAsync"), i3); + const n3 = o.default.getCustomJsonSchemaTypesForNamespace(t3); + this._checkItemIsValidLiteralStringEnum(this._infoParm("customJsonDataTypeSchemaType", "getOrCreateCustomJsonDataTypeAsync"), r3, n3); + const u2 = e3.findCustomJsonDataType(t3, i3, r3); + if (u2) return u2; switch (t3) { - case d.CustomJsonNamespace.architect: - const n4 = e3._getCoreViewModel().definitions.getCustomDataTypeDefinitionByName(d.CustomJsonNamespace.architect, i3); - return n4 || this.logErrorAndThrow(`was unable to find custom data type '${i3}' by name using namespace '${d.CustomJsonNamespace.architect}'`), this.coreFactory.createArchWrapper(n4); - case d.CustomJsonNamespace.decisionTable: - let r3, s2, l2; + case p.CustomJsonNamespace.architect: + const t4 = e3._getCoreViewModel().definitions.getCustomDataTypeDefinitionByName(p.CustomJsonNamespace.architect, i3); + return t4 || this.logErrorAndThrow(`was unable to find custom data type '${i3}' by name using namespace '${p.CustomJsonNamespace.architect}'`), this.coreFactory.createArchWrapper(t4); + case p.CustomJsonNamespace.decisionTable: + let n4, u3, _2; try { - r3 = yield _.default.findItemByValueAsync(c.decisionTableManager, i3, "decision table", "name", "name"); + n4 = yield a.default.findItemByValueAsync(m.decisionTableManager, i3, "decision table", "name", "name"); } catch (e4) { } - r3 || this.logErrorAndThrow(`was unable to find decision table '${i3}' by name`); + n4 || this.logErrorAndThrow(`was unable to find decision table '${i3}' by name`); try { - s2 = yield _.default.findItemByIdAsync(c.decisionTableManager, r3.id, "decision table"); + u3 = yield a.default.findItemByIdAsync(m.decisionTableManager, n4.id, "decision table"); } catch (e4) { } - switch (s2 || this.logErrorAndThrow(`was unable to find decision table '${i3}' by id '${r3.id}'`), a2) { + switch (u3 || this.logErrorAndThrow(`was unable to find decision table '${i3}' by id '${n4.id}'`), r3) { case o.default.CUSTOM_JSON_SCHEMA_TYPES.input: - l2 = p.default.getOrCreateDecisionTableCustomJsonManager(e3._getCoreViewModel(), s2.name, s2.id, true, "Inputs", "Outputs"), l2.tryUpdateParentExpressionPropTypeFromSchema(s2.model.publishedContract.executionInputSchema, true, e3.isReadOnly); + _2 = d.default.getOrCreateDecisionTableCustomJsonManager(e3._getCoreViewModel(), u3.name, u3.id, true, "Inputs", "Outputs"), _2.tryUpdateParentExpressionPropTypeFromSchema(u3.model.publishedContract.executionInputSchema, true, e3.isReadOnly); break; case o.default.CUSTOM_JSON_SCHEMA_TYPES.output: - l2 = p.default.getOrCreateDecisionTableCustomJsonManager(e3._getCoreViewModel(), s2.name, s2.id, false, "Inputs", "Outputs"), l2.tryUpdateParentExpressionPropTypeFromSchema(s2.model.publishedContract.executionOutputSchema, true, e3.isReadOnly); - break; - case o.default.CUSTOM_JSON_SCHEMA_TYPES.error: - this.logErrorAndThrow(`Only input and output is allowed for ${t3}`); + _2 = d.default.getOrCreateDecisionTableCustomJsonManager(e3._getCoreViewModel(), u3.name, u3.id, false, "Inputs", "Outputs"), _2.tryUpdateParentExpressionPropTypeFromSchema(u3.model.publishedContract.executionOutputSchema, true, e3.isReadOnly); } - if (!l2) return; - return this.coreFactory.createArchWrapper(l2.customDataType); - case d.CustomJsonNamespace.conversationAttribute: - let u2, m2, g2; + if (!_2) return; + return this.coreFactory.createArchWrapper(_2.customDataType); + case p.CustomJsonNamespace.conversationAttribute: + let h2, g2; try { - u2 = yield _.default.findItemByValueAsync(h.conversationCustomAttributeSchemaManager, i3, "conversation custom attribute schema", "name", "name"); + h2 = yield a.default.findItemByValueAsync(l.conversationCustomAttributeSchemaManager, i3, "conversation custom attribute schema", "name", "name"); } catch (e4) { } - u2 || this.logErrorAndThrow(`was unable to find conversation custom attribute schema '${i3}' by name`); + h2 || this.logErrorAndThrow(`was unable to find conversation custom attribute schema '${i3}' by name`); try { - m2 = yield _.default.findItemByIdAsync(h.conversationCustomAttributeSchemaManager, u2.id, "conversation custom attribute schema"); + g2 = yield a.default.findItemByIdAsync(l.conversationCustomAttributeSchemaManager, h2.id, "conversation custom attribute schema"); } catch (e4) { } - switch (m2 || this.logErrorAndThrow(`was unable to find conversation custom attribute schema '${i3}' by id '${u2.id}'`), a2) { - case o.default.CUSTOM_JSON_SCHEMA_TYPES.input: - case o.default.CUSTOM_JSON_SCHEMA_TYPES.output: - g2 = p.default.getOrCreateConversationCustomAttributeSchemaCustomJsonManager(e3._getCoreViewModel(), m2.name, m2.id), g2.tryUpdateParentExpressionPropTypeFromSchema(m2.model.jsonSchema, true, e3.isReadOnly); + g2 || this.logErrorAndThrow(`was unable to find conversation custom attribute schema '${i3}' by id '${h2.id}'`); + const f2 = e3._getCoreViewModel(), T = g2.name, y = g2.id, S = d.default.getOrCreateConversationCustomAttributeSchemaCustomJsonManager(f2, T, y); + S.tryUpdateParentExpressionPropTypeFromSchema(g2.model.jsonSchema, true, e3.isReadOnly); + const A = S.customDataType; + let N; + switch (r3) { + case o.default.CUSTOM_JSON_SCHEMA_TYPES.schemaData: + N = A; + break; + case o.default.CUSTOM_JSON_SCHEMA_TYPES.schemaDataPatch: + N = c.createOrGetPatchableMirrorType(f2, A, { mapTypeId: c.mapSchemaDataTypeIdToPatch, entityName: T, rootDisplayNameSuffix: "Schema Data Patch" }); break; - case o.default.CUSTOM_JSON_SCHEMA_TYPES.error: - this.logErrorAndThrow(`Only input and output is allowed for ${t3}`); + case o.default.CUSTOM_JSON_SCHEMA_TYPES.record: + N = s.BaseConversationAttributeActionViewModel.createOrGetRecordType(f2, A, T, y); } - if (!g2) return; - return this.coreFactory.createArchWrapper(g2.customDataType); + return N || this.logErrorAndThrow(`was unable to create conversation custom attribute data type '${i3}' with context '${r3}'`), this.coreFactory.createArchWrapper(N); } }); } createCustomJsonTypeSchema(e3, t3) { const i3 = this._infoParm("name", "createCustomJsonTypeSchema"); this._checkItemIsValidLiteralString(i3, e3), this._checkItem(i3, e3 !== e3.trim(), "custom JSON schema name cannot have leading or trailing whitespace"), this._checkItem(i3, "" === e3.trim(), "custom JSON schema name cannot be blank"), t3 && this._checkItemIsValidLiteralString(this._infoParm("description", "createCustomJsonTypeSchema"), t3); - const n3 = new s.default(); - n3.id = (0, a.createCustomJsonExpressionDataTypeStr)(d.CustomJsonNamespace.userDefined), n3.dataTypeId = n3.id, n3.name = e3, n3.description = t3; - const r3 = new l.default(n3); + const n3 = new _.default(); + n3.id = (0, u.createCustomJsonExpressionDataTypeStr)(p.CustomJsonNamespace.userDefined), n3.dataTypeId = n3.id, n3.name = e3, n3.description = t3; + const r3 = new h.default(n3); return this.coreFactory.createArchWrapper(r3); } createCustomJsonTypeSchemaFromJsonSchema(e3) { const t3 = this._infoParm("jsonSchema", "createCustomJsonTypeSchemaFromJsonSchema"); this._checkItemIsValidJsonObject(t3, e3, false); - const i3 = new u.default(void 0, e3, d.CustomJsonNamespace.userDefined).createDataTypeDefViewModelsForJsonSchema(); + const i3 = new g.default(void 0, e3, p.CustomJsonNamespace.userDefined).createDataTypeDefViewModelsForJsonSchema(); return i3.failure, this.coreFactory.createArchWrapper(i3.customDataTypeDefs[i3.rootDataTypeDefId]); } } - t2.ArchFactoryDataTypes = g, t2.default = new g(); + t2.ArchFactoryDataTypes = f, t2.default = new f(); }, 18266: (e2, t2, i2) => { - e2.exports = { AbortSendActionViewModel: i2(13293).A, AbortSurveyActionViewModel: i2(2337).A, AddFlowMilestoneActionViewModel: i2(84896).A, AskForAuthenticationActionViewModel: i2(78105).A, AskForBooleanActionViewModel: i2(14273).A, AskForNLUIntentActionViewModel: i2(11332).A, AskForNextIntentLoopActionViewModel: i2(45626).A, AskForPaymentActionViewModel: i2(9687).A, AskForSlotActionViewModel: i2(60873).default, AskSurveyQuestionActionViewModel: i2(71020).A, AudioMonitoringActionViewModel: i2(14897).A, BotConnectorActionViewModel: i2(20549).A, BridgeServerActionViewModel: i2(28690).A, CallAgenticVirtualAgentActionViewModel: i2(57310).A, CallAudioConnectorActionViewModel: i2(78306).A, CallBotFlowActionViewModel: i2(73578).A, CallCommonModuleActionViewModel: i2(1438).A, CallDecisionTableActionViewModel: i2(34611).A, CallDigitalBotFlowActionViewModel: i2(31682).A, CallGuideActionViewModel: i2(56157).A, CallTaskActionViewModel: i2(72194).A, CallVoiceFlowActionViewModel: i2(84415).A, ChangeStateActionViewModel: i2(89690).A, ClearActiveIntentActionViewModel: i2(72378).A, ClearPostFlowActionViewModel: i2(25308).A, ClearSkillExpressionFiltersActionViewModel: i2(60440).A, ClearSlotActionViewModel: i2(47598).A, ClearUtilizationLabelActionViewModel: i2(95320).A, ClearVoicemailSnippetActionViewModel: i2(92244).A, CollectInputActionViewModel: i2(18543).A, CollectVoiceSnippetActionViewModel: i2(97505).A, CommunicateActionViewModel: i2(71530).A, CompleteSendActionViewModel: i2(66590).A, CompleteSurveyActionViewModel: i2(76218).A, CreateCallbackActionViewModel: i2(12992).A, CreateConversationAttributeActionViewModel: i2(42062).A, DataActionViewModel: i2(18468).A, DataTableLookupActionViewModel: i2(23308).A, DecisionActionViewModel: i2(35951).A, DecryptDataActionViewModel: i2(4294).A, DeflectActionViewModel: i2(86332).A, DetectIntentActionViewModel: i2(6666).A, DetectSilenceActionViewModel: i2(98151).A, DialExtensionActionViewModel: i2(74884).A, DialNameActionViewModel: i2(55510).A, DialogEngineActionViewModel: i2(93619).A, DialogflowActionViewModel: i2(29317).A, DialogflowCxActionViewModel: i2(20100).A, DigitalBotConnectorActionViewModel: i2(43629).A, DigitalMenuActionViewModel: i2(120).A, DisconnectActionViewModel: i2(81907).A, DisconnectWorkitemActionViewModel: i2(33853).A, EncryptDataActionViewModel: i2(75374).A, EndStateActionViewModel: i2(87759).A, EndTaskActionViewModel: i2(27313).A, EndWorkflowActionViewModel: i2(21045).A, EvaluateScheduleActionViewModel: i2(10555).A, EvaluateScheduleGroupActionViewModel: i2(70826).A, EvaluateSkillExpressionFiltersActionViewModel: i2(85714).A, ExitBotFlowActionViewModel: i2(24954).A, ExitLoopActionViewModel: i2(876).A, ExitWorkitemFlowActionViewModel: i2(24891).A, ExtractSecureDataActionViewModel: i2(51905).A, FindDivisionActionViewModel: i2(25162).A, FindDivisionsActionViewModel: i2(15091).A, FindEmergencyGroupActionViewModel: i2(23123).A, FindGrammarActionViewModel: i2(5828).A, FindGrammarByIdActionViewModel: i2(68108).A, FindGroupActionViewModel: i2(56146).A, FindKnowledgeBaseDocumentByIdActionViewModel: i2(78091).A, FindLanguageSkillActionViewModel: i2(3554).A, FindQueueActionViewModel: i2(49149).A, FindQueueByIdActionViewModel: i2(86758).A, FindScheduleActionViewModel: i2(77152).A, FindScheduleGroupActionViewModel: i2(59463).A, FindSkillActionViewModel: i2(80700).A, FindSystemPromptActionViewModel: i2(78534).A, FindUserActionViewModel: i2(12722).A, FindUserByIdActionViewModel: i2(5486).A, FindUserPromptActionViewModel: i2(67444).A, FindUsersByIdActionViewModel: i2(37687).A, FindUtilizationLabelActionViewModel: i2(78785).A, FlushAudioActionViewModel: i2(41053).A, FormActionViewModel: i2(71075).A, GetAssignedCustomerIntentsActionViewModel: i2(33924).A, GetAttributesActionViewModel: i2(72426).A, GetConversationAttributeActionViewModel: i2(28206).A, GetConversationAttributesActionViewModel: i2(17471).A, GetConversationDataActionViewModel: i2(79348).A, GetEmailHeadersActionViewModel: i2(60079).A, GetExternalContactActionViewModel: i2(36834).A, GetExternalOrganizationActionViewModel: i2(66033).A, GetJourneyOutcomeActionViewModel: i2(55048).A, GetJourneyOutcomeScoresBySessionActionViewModel: i2(184).A, GetJourneySegmentActionViewModel: i2(80251).A, GetJourneySessionActionViewModel: i2(84684).A, GetJourneySessionsByCustomerActionViewModel: i2(91606).A, GetJourneySessionsByExternalContactActionViewModel: i2(66347).A, GetRawSIPHeadersActionViewModel: i2(13221).A, GetResponseActionViewModel: i2(41108).A, GetSIPHeadersActionViewModel: i2(77479).A, GetSecuredDataActionViewModel: i2(22036).A, HoldMusicActionViewModel: i2(61289).A, InitializeFlowOutcomeActionViewModel: i2(62279).A, InlineTaskActionViewModel: i2(45817).A, JumpToTaskActionViewModel: i2(72577).A, LexActionViewModel: i2(78830).A, LexV2ActionViewModel: i2(82490).A, LoopActionViewModel: i2(47567).A, LoopUntilActionViewModel: i2(3287).A, MenuJumpActionViewModel: i2(80684).A, NextLoopActionViewModel: i2(80632).A, NuanceMixActionViewModel: i2(59421).A, ParticipantRecordActionViewModel: i2(95689).A, PlayAudioActionViewModel: i2(38750).A, PlayAudioOnSilenceActionViewModel: i2(42473).A, PlayEstimatedWaitTimeActionViewModel: i2(50293).A, PlayPositionInQueueActionViewModel: i2(69038).A, PlayUserGreetingActionViewModel: i2(20407).A, PlayUserNameActionViewModel: i2(86527).A, PreviousMenuActionViewModel: i2(39843).A, ProcessVoicemailInputActionViewModel: i2(93087).A, PromoteExternalContactActionViewModel: i2(5578).A, RepeatMenuActionViewModel: i2(61781).A, ReturnToAgentActionViewModel: i2(24669).A, ScreenPopActionViewModel: i2(77372).A, SearchExternalContactsActionViewModel: i2(72627).A, SecureActionViewModel: i2(69091).A, SendAutoReplyActionViewModel: i2(71516).A, SendDigitalContentActionViewModel: i2(43080).A, SendInteractiveApplicationActionViewModel: i2(76657).A, SendKnowledgeFeedbackActionViewModel: i2(71222).A, SendNotificationActionViewModel: i2(49450).A, SendResponseActionViewModel: i2(63150).A, SendRichLinkActionViewModel: i2(77953).A, SetActiveIntentActionViewModel: i2(17637).A, SetAttributesActionViewModel: i2(6174).A, SetConversationDataActionViewModel: i2(72040).A, SetExternalTagActionViewModel: i2(84378).A, SetFlowOutcomeActionViewModel: i2(21401).A, SetLocaleActionViewModel: i2(37595).A, SetPostFlowActionViewModel: i2(52423).A, SetPriorityActionViewModel: i2(93213).A, SetSecuredDataActionViewModel: i2(3416).A, SetSkillExpressionFiltersActionViewModel: i2(63003).A, SetSkillsActionViewModel: i2(97643).A, SetUUIDataActionViewModel: i2(71002).A, SetUtilizationLabelActionViewModel: i2(64315).A, SetWhisperAudioActionViewModel: i2(48289).A, SetWrapupCodeActionViewModel: i2(72749).A, ShowKnowledgeArticleActionViewModel: i2(10955).A, StateToolboxPlaceholderActionViewModel: i2(58778).A, SubMenuActionViewModel: i2(30346).A, SubmitVoiceSnippetActionViewModel: i2(83516).A, SubmitVoicemailSnippetActionViewModel: i2(37323).A, SwitchActionViewModel: i2(23753).A, TerminateWorkitemActionViewModel: i2(65878).A, TranscriptionActionViewModel: i2(87321).A, TransferExternalActionViewModel: i2(49717).A, TransferFlowActionViewModel: i2(84568).default, TransferFlowSecureActionViewModel: i2(64647).A, TransferGroupActionViewModel: i2(2499).A, TransferPureMatchActionViewModel: i2(99831).A, TransferUserActionViewModel: i2(17357).A, TransferVoicemailActionViewModel: i2(81453).A, UpdateConversationAttributeActionViewModel: i2(60599).A, UpdateExternalContactActionViewModel: i2(20164).A, UpdateVariablesActionViewModel: i2(86855).default, UpdateWorkitemActionViewModel: i2(340).A, VoiceBiometricsActionViewModel: i2(72830).A, WaitActionViewModel: i2(96422).A, WaitForInputActionViewModel: i2(49661).A }; + e2.exports = { AbortSendActionViewModel: i2(13293).A, AbortSurveyActionViewModel: i2(2337).A, AddFlowMilestoneActionViewModel: i2(84896).A, AgenticAnythingElseActionViewModel: i2(96275).A, AgenticAskForIntentActionViewModel: i2(74188).A, AskForAuthenticationActionViewModel: i2(78105).A, AskForBooleanActionViewModel: i2(14273).A, AskForNLUIntentActionViewModel: i2(11332).A, AskForNextIntentLoopActionViewModel: i2(45626).A, AskForPaymentActionViewModel: i2(9687).A, AskForSlotActionViewModel: i2(60873).default, AskSurveyQuestionActionViewModel: i2(71020).A, AssignCustomerSegmentActionViewModel: i2(25575).A, AudioMonitoringActionViewModel: i2(14897).A, BotConnectorActionViewModel: i2(20549).A, BridgeServerActionViewModel: i2(28690).A, CallAgenticVirtualAgentActionViewModel: i2(57310).A, CallAudioConnectorActionViewModel: i2(78306).A, CallBotFlowActionViewModel: i2(73578).A, CallCommonModuleActionViewModel: i2(1438).A, CallDecisionTableActionViewModel: i2(34611).A, CallDigitalBotFlowActionViewModel: i2(31682).A, CallGuideActionViewModel: i2(56157).A, CallTaskActionViewModel: i2(72194).A, CallVoiceFlowActionViewModel: i2(84415).A, ChangeStateActionViewModel: i2(89690).A, ClearActiveIntentActionViewModel: i2(72378).A, ClearPostFlowActionViewModel: i2(25308).A, ClearSkillExpressionFiltersActionViewModel: i2(60440).A, ClearSlotActionViewModel: i2(47598).A, ClearUtilizationLabelActionViewModel: i2(95320).A, ClearVoicemailSnippetActionViewModel: i2(92244).A, CollectInputActionViewModel: i2(18543).A, CollectVoiceSnippetActionViewModel: i2(97505).A, CommunicateActionViewModel: i2(71530).A, CompleteSendActionViewModel: i2(66590).A, CompleteSurveyActionViewModel: i2(76218).A, CreateCallbackActionViewModel: i2(12992).A, CreateConversationAttributeActionViewModel: i2(42062).A, DataActionViewModel: i2(18468).A, DataTableLookupActionViewModel: i2(23308).A, DecisionActionViewModel: i2(35951).A, DecryptDataActionViewModel: i2(4294).A, DeflectActionViewModel: i2(86332).A, DetectIntentActionViewModel: i2(6666).A, DetectSilenceActionViewModel: i2(98151).A, DialExtensionActionViewModel: i2(74884).A, DialNameActionViewModel: i2(55510).A, DialogEngineActionViewModel: i2(93619).A, DialogflowActionViewModel: i2(29317).A, DialogflowCxActionViewModel: i2(20100).A, DigitalBotConnectorActionViewModel: i2(43629).A, DigitalMenuActionViewModel: i2(120).A, DisconnectActionViewModel: i2(81907).A, DisconnectWorkitemActionViewModel: i2(33853).A, EncryptDataActionViewModel: i2(75374).A, EndStateActionViewModel: i2(87759).A, EndTaskActionViewModel: i2(27313).A, EndWorkflowActionViewModel: i2(21045).A, EvaluateScheduleActionViewModel: i2(10555).A, EvaluateScheduleGroupActionViewModel: i2(70826).A, EvaluateSkillExpressionFiltersActionViewModel: i2(85714).A, ExitBotFlowActionViewModel: i2(24954).A, ExitLoopActionViewModel: i2(876).A, ExitWorkitemFlowActionViewModel: i2(24891).A, ExtractSecureDataActionViewModel: i2(51905).A, FindDivisionActionViewModel: i2(25162).A, FindDivisionsActionViewModel: i2(15091).A, FindEmergencyGroupActionViewModel: i2(23123).A, FindGrammarActionViewModel: i2(5828).A, FindGrammarByIdActionViewModel: i2(68108).A, FindGroupActionViewModel: i2(56146).A, FindKnowledgeBaseDocumentByIdActionViewModel: i2(78091).A, FindLanguageSkillActionViewModel: i2(3554).A, FindQueueActionViewModel: i2(49149).A, FindQueueByIdActionViewModel: i2(86758).A, FindScheduleActionViewModel: i2(77152).A, FindScheduleGroupActionViewModel: i2(59463).A, FindSkillActionViewModel: i2(80700).A, FindSystemPromptActionViewModel: i2(78534).A, FindUserActionViewModel: i2(12722).A, FindUserByIdActionViewModel: i2(5486).A, FindUserPromptActionViewModel: i2(67444).A, FindUsersByIdActionViewModel: i2(37687).A, FindUtilizationLabelActionViewModel: i2(78785).A, FlushAudioActionViewModel: i2(41053).A, FormActionViewModel: i2(71075).A, GetAssignedCustomerIntentsActionViewModel: i2(33924).A, GetAssignedCustomerSegmentsActionViewModel: i2(45195).A, GetAttributesActionViewModel: i2(72426).A, GetConversationAttributeActionViewModel: i2(28206).A, GetConversationAttributesActionViewModel: i2(17471).A, GetConversationDataActionViewModel: i2(79348).A, GetEmailHeadersActionViewModel: i2(60079).A, GetExternalContactActionViewModel: i2(36834).A, GetExternalOrganizationActionViewModel: i2(66033).A, GetJourneyOutcomeActionViewModel: i2(55048).A, GetJourneyOutcomeScoresBySessionActionViewModel: i2(184).A, GetJourneySegmentActionViewModel: i2(80251).A, GetJourneySessionActionViewModel: i2(84684).A, GetJourneySessionsByCustomerActionViewModel: i2(91606).A, GetJourneySessionsByExternalContactActionViewModel: i2(66347).A, GetRawSIPHeadersActionViewModel: i2(13221).A, GetResponseActionViewModel: i2(41108).A, GetSIPHeadersActionViewModel: i2(77479).A, GetSecuredDataActionViewModel: i2(22036).A, HoldMusicActionViewModel: i2(61289).A, InitializeFlowOutcomeActionViewModel: i2(62279).A, InlineTaskActionViewModel: i2(45817).A, JumpToTaskActionViewModel: i2(72577).A, LexActionViewModel: i2(78830).A, LexV2ActionViewModel: i2(82490).A, LoopActionViewModel: i2(47567).A, LoopUntilActionViewModel: i2(3287).A, MenuJumpActionViewModel: i2(80684).A, NextLoopActionViewModel: i2(80632).A, NuanceMixActionViewModel: i2(59421).A, ParticipantRecordActionViewModel: i2(95689).A, PlayAudioActionViewModel: i2(38750).A, PlayAudioOnSilenceActionViewModel: i2(42473).A, PlayEstimatedWaitTimeActionViewModel: i2(50293).A, PlayPositionInQueueActionViewModel: i2(69038).A, PlayUserGreetingActionViewModel: i2(20407).A, PlayUserNameActionViewModel: i2(86527).A, PreviousMenuActionViewModel: i2(39843).A, ProcessVoicemailInputActionViewModel: i2(93087).A, PromoteExternalContactActionViewModel: i2(5578).A, RepeatMenuActionViewModel: i2(61781).A, ReturnToAgentActionViewModel: i2(24669).A, ScreenPopActionViewModel: i2(77372).A, SearchExternalContactsActionViewModel: i2(72627).A, SecureActionViewModel: i2(69091).A, SendAutoReplyActionViewModel: i2(71516).A, SendDigitalContentActionViewModel: i2(43080).A, SendInteractiveApplicationActionViewModel: i2(76657).A, SendKnowledgeFeedbackActionViewModel: i2(71222).A, SendNotificationActionViewModel: i2(49450).A, SendResponseActionViewModel: i2(63150).A, SendRichLinkActionViewModel: i2(77953).A, SetActiveIntentActionViewModel: i2(17637).A, SetAttributesActionViewModel: i2(6174).A, SetConversationDataActionViewModel: i2(72040).A, SetExternalTagActionViewModel: i2(84378).A, SetFlowOutcomeActionViewModel: i2(21401).A, SetLocaleActionViewModel: i2(37595).A, SetPostFlowActionViewModel: i2(52423).A, SetPriorityActionViewModel: i2(93213).A, SetSecuredDataActionViewModel: i2(3416).A, SetSkillExpressionFiltersActionViewModel: i2(63003).A, SetSkillsActionViewModel: i2(97643).A, SetUUIDataActionViewModel: i2(71002).A, SetUtilizationLabelActionViewModel: i2(64315).A, SetWhisperAudioActionViewModel: i2(48289).A, SetWrapupCodeActionViewModel: i2(72749).A, ShowKnowledgeArticleActionViewModel: i2(10955).A, StateToolboxPlaceholderActionViewModel: i2(58778).A, SubMenuActionViewModel: i2(30346).A, SubmitVoiceSnippetActionViewModel: i2(83516).A, SubmitVoicemailSnippetActionViewModel: i2(37323).A, SwitchActionViewModel: i2(23753).A, TerminateWorkitemActionViewModel: i2(65878).A, TranscriptionActionViewModel: i2(87321).A, TransferExternalActionViewModel: i2(49717).A, TransferFlowActionViewModel: i2(84568).default, TransferFlowSecureActionViewModel: i2(64647).A, TransferGroupActionViewModel: i2(2499).A, TransferPureMatchActionViewModel: i2(99831).A, TransferUserActionViewModel: i2(17357).A, TransferVoicemailActionViewModel: i2(81453).A, UpdateConversationAttributeActionViewModel: i2(60599).A, UpdateExternalContactActionViewModel: i2(20164).A, UpdateVariablesActionViewModel: i2(86855).default, UpdateWorkitemActionViewModel: i2(340).A, VoiceBiometricsActionViewModel: i2(72830).A, WaitActionViewModel: i2(96422).A, WaitForInputActionViewModel: i2(49661).A }; }, 18272: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "Det \xE4r inte giltigt.", noInputReceived: "Jag fick ingen inmatning." }, askForBoolean: { noInput: 'S\xE4g "ja" om du vill forts\xE4tta eller "nej" om du inte vill.', noMatch: 'S\xE4g "Ja" eller "Nej". Vill du forts\xE4tta?', question: "Vill du forts\xE4tta?", noInputDigitalBot: 'Ange "Ja" om du vill forts\xE4tta eller "Nej" om du inte vill g\xF6ra det.', noMatchDigitalBot: 'Ange "Ja" eller "Nej". Vill du forts\xE4tta?' }, askForIntent: { noInput: 'S\xE4g en kort mening som beskriver din fr\xE5ga. Till exempel "Kontrollera mitt saldo"', noMatch: "Tala om f\xF6r mig igen vad du vill g\xF6ra.", question: "Vad vill du g\xF6ra?", noInputDigitalBot: 'Skriv en kort mening som beskriver din fr\xE5ga. Till exempel "Kontrollera mitt saldo"' }, askForSlot: { askFor: "Fr\xE5ga efterr %1$s", noInput: "S\xE4g eller ange (ange ditt platsnamn h\xE4r).", noInputWithSlot: "S\xE4g eller ange %1$s.", noMatch: "Ge mig (ange ditt platsnamn h\xE4r) igen.", noMatchWithSlot: "Ge mig %1$s igen.", question: "Vad \xE4r (ange ditt platsnamn h\xE4r)?", questionWithSlot: "Vad \xE4r %1$s?", pleaseEnterSlotNameHere: "(ange platsnamn h\xE4r)", noInputDigitalBot: "Ange (ange ditt platsnamn h\xE4r).", noInputWithSlotDigitalBot: "Ange %1$s.", continuationPromptWithSlot: "Jag har {{Slot.%1$s}} hittills. Forts\xE4tt." }, askForNextSlot: { noInput: 'S\xE4g "ja" om du har en ytterligare fr\xE5ga, eller "nej" f\xF6r att avsluta samtalet.', noMatch: 'S\xE4g "Ja" om du har en ytterligare fr\xE5ga, eller "Nej" f\xF6r att avsluta sessionen.', question: "\xC4r det n\xE5got annat jag kan hj\xE4lpa dig med?", noInputDigitalBot: 'Ange "Ja" om du har fler fr\xE5gor, eller "Nej" f\xF6r att avsluta sessionen.', noMatchDigitalBot: 'Ange "Ja" om du har fler fr\xE5gor, eller "Nej" f\xF6r att avsluta sessionen.' }, askForPayment: { noInputDigitalBot: "Ange din betalningsinformation f\xF6r att forts\xE4tta.", noMatchDigitalBot: "Jag f\xF6rstod inte ditt svar. F\xF6rs\xF6k igen." }, askForAuthentication: { noInputDigitalBot: "Ange din autentiseringsinformation f\xF6r att forts\xE4tta.", noMatchDigitalBot: "Jag f\xF6rstod inte ditt svar. F\xF6rs\xF6k igen." }, askSurveyQuestion: { notApplicable: "Ej till\xE4mpligt", surveyAnswerOptionSequence: "Tryck p\xE5 %1$s f\xF6r %2$s.", surveyAnswerNotApplicableSequence: "Tryck p\xE5 stj\xE4rna f\xF6r Ej till\xE4mpligt.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Tryck p\xE5 stj\xE4rna f\xF6r Ej till\xE4mpligt.", voiceSurveyNoInputText: "Var god besvara fr\xE5gan.", voiceSurveyNoMatchText: "Jag kunde inte f\xF6rst\xE5 dig." }, commonModule: { exitCommonModule: "L\xE4mna den gemensamma modulen" }, form: { noInputDigitalBot: "Fyll i formul\xE4ret f\xF6r att forts\xE4tta.", noMatchDigitalBot: "Fyll i formul\xE4ret f\xF6r att forts\xE4tta." }, messagingTemplate: { noInputDigitalBot: "V\xE4lj ett av de tillg\xE4ngliga alternativen.", noMatchDigitalBot: "V\xE4lj ett av de tillg\xE4ngliga alternativen." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Forts\xE4tt", knowledgeAnswerHighlightFullArticleDefault: "Visa fullst\xE4ndig artikel", knowledgeInitialResponseMulti: "Hj\xE4lp mig att f\xF6rst\xE5 ditt m\xE5l genom att v\xE4lja ett v\xE4rde i f\xF6ljande lista:", knowledgeInitialResponseMultiRetry: "V\xE4lj en siffra, till exempel 1.\nH\xE4r \xE4r listan med val igen:", knowledgeNoMatch: "Inget av dessa", knowledgeConfirmation: "Fick du svar p\xE5 din fr\xE5ga?", knowledgeFollowup: "Jag hoppas att jag svarade p\xE5 din fr\xE5ga. Du kan fr\xE5ga om n\xE5got annat du vill veta." }, noOverlay: { intent: { intentConfirmationStr1: "Jag tror att du vill", intentConfirmationStr2: "St\xE4mmer det?" }, youSaid: { youSaidConfirmationStr1: "Du sa", youSaidConfirmationStr2: "St\xE4mmer det?", youSaidConfirmationStr1DigitalBot: "Du har angivit" }, noInput: { noInputStr1: "S\xE4g eller ange", noInputStr1DigitalBot: "Ange" }, noMatch: { noMatchStr1: "Ge mig" }, whatIs: { whatIsQuestionStr1: "Vad \xE4r", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Jag har", iGotContinuationStr2: "hittills. Forts\xE4tt." } }, defaultCallFlowOne: "Standard samtalsfl\xF6de", errorHandlingAgentEscalationConfirmation: "Du vill prata med en r\xE5dgivare, st\xE4mmer det?", errorHandlingAgentEscalationHandover: "Ett \xF6gonblick, jag kopplar dig.", errorHandlingErrorEventHandover: "Tyv\xE4rr uppstod det ett fel. Ett \xF6gonblick, jag kopplar dig till n\xE5gon som kan hj\xE4lpa dig.", errorHandlingErrorEventHandoverVoiceSurvey: "Tyv\xE4rr har ett fel intr\xE4ffat. Hej d\xE5.", errorHandlingRecognitionEventHandover: "Tyv\xE4rr har jag sv\xE5rt att f\xF6rst\xE5 dig. Ett \xF6gonblick, jag kopplar dig till n\xE5gon som kan hj\xE4lpa dig.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Jag har tyv\xE4rr sv\xE5rt att f\xF6rst\xE5 dig. Hej d\xE5.", errorHandlingTTS: "Tyv\xE4rr uppstod det ett fel. F\xF6rs\xF6k igen.", initialGreetingTTS: "Hej, detta \xE4r din f\xF6rsta h\xE4lsning.", initialState: "Inledande tillst\xE5nd", initialBotState: "Standardrobot", initialDigitalBotState: "Inledande h\xE4lsning", initialSurveyBotState: "Unders\xF6kningsbot", intentConfirmation: "Jag tror att du vill %1$s, \xE4r det korrekt?", mainMenu: "Huvudmeny", mainMenuTTS: "Du \xE4r i huvudmenyn, tryck 9 f\xF6r att koppla bort", mainTask: "Uppgift", settingsConfirmationNoInputApology: "Urs\xE4kta, jag h\xF6rde inte. S\xE4g ja eller nej.", settingsConfirmationNoInputApologyDigitalBot: 'Jag har tyv\xE4rr inte f\xE5tt n\xE5gon information fr\xE5n dig. Ange "Ja" eller "Nej".', settingsConfirmationNoMatchApology: "Urs\xE4kta, s\xE4g ja eller nej.", settingsConfirmationNoMatchApologyDigitalBot: 'Var god ange "Ja" eller "Nej".', settingsNoInputApology: "Urs\xE4kta, jag h\xF6rde inte.", settingsNoInputApologyDigitalBot: "Jag har tyv\xE4rr inte f\xE5tt n\xE5gon information fr\xE5n dig.", settingsEndOfSessionMessageDigitalBot: "Jag har inte h\xF6rt fr\xE5n dig p\xE5 ett tag, s\xE5 jag st\xE4nger den h\xE4r chatten, kom tillbaka om du beh\xF6ver min hj\xE4lp igen. Tack.", settingsNoMatchApology: "Urs\xE4kta.", settingsNoToConfirmationApology: "Jag ber om urs\xE4kt.", periodicStateName: "\xC5terkommande tillst\xE5nd" }; }, 18322: (e2, t2, i2) => { @@ -22954,7 +24658,7 @@ var require_scripting_bundle = __commonJS({ }; }, 18468: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = i2(68128), s = i2(28264), l = n2.__importStar(i2(10798)), u = n2.__importDefault(i2(4648)), d = i2(12179), c = n2.__importDefault(i2(97891)), p = i2(28803), _ = i2(5426), h = n2.__importDefault(i2(52910)), m = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = i2(68128), s = i2(28264), l = n2.__importStar(i2(10798)), u = n2.__importDefault(i2(4648)), c = i2(12179), d = n2.__importDefault(i2(97891)), p = i2(28803), _ = i2(5426), h = n2.__importDefault(i2(52910)), m = i2(47957); class g extends h.default { constructor(e3, t3) { super(e3, t3, s.dataActionManager), this.allowSecure = false, this.allowErrorSchema = l.isFeatureAvailable(u.default.callDataActionFailureResponsesFeature) || !o.default.contains(r2.flowTypes.flowTypesAllVxmlgen, this.parentFlow.type), this.resources = { actionLabel: m.dataAction.dataAction, actionNotFound: m.dataAction.actionNotFound, noActionsAvailable: m.dataAction.noActionsAvailable, savedVersionOfAction: m.dataAction.savedVersionOfAction, selectAction: m.dependencies.selectDataAction }; @@ -22969,7 +24673,7 @@ var require_scripting_bundle = __commonJS({ this.commonServerActionPostProcessYamlConfig(e3, t3, i3); } } - g.info = c.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: d.helpTopics.actions.data, modelClass: i2(67825), name: m.actions.dataAction, scriptingName: "ArchActionCallData" }), t2.A = g; + g.info = d.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: c.helpTopics.actions.data, modelClass: i2(67825), name: m.actions.dataAction, scriptingName: "ArchActionCallData", modelFormatSupport: { flowYaml: { inProgress: true, feature: u.default.changeSetsFeaturePhase2 } } }), t2.A = g; }, 18516: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getDigitalBotConnectorBotVersions = t2.getDigitalBotConnectorBot = t2.getDigitalBotConnectorBots = void 0; @@ -22982,15 +24686,15 @@ var require_scripting_bundle = __commonJS({ i2(11475).extend(n2, "GrammarVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; }, 18543: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(92794), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(80428), u = i2(67607), d = i2(79467), c = i2(78513), p = i2(81516), _ = i2(24235), h = n2.__importDefault(i2(27203)), m = n2.__importStar(i2(36781)), g = i2(10798), f = n2.__importStar(i2(58380)), T = i2(1115), y = n2.__importDefault(i2(4648)), S = i2(82632), A = i2(12179), N = i2(12457), O = n2.__importDefault(i2(97891)), I = n2.__importDefault(i2(5730)), v = i2(47957), C = i2(53486); - class b extends I.default { + const n2 = i2(31635), r2 = i2(92794), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(80428), u = i2(67607), c = i2(79467), d = i2(78513), p = i2(81516), _ = i2(24235), h = n2.__importDefault(i2(27203)), m = n2.__importStar(i2(36781)), g = i2(10798), f = n2.__importStar(i2(58380)), T = i2(1115), y = n2.__importDefault(i2(4648)), S = i2(82632), A = i2(12179), N = i2(12457), v = n2.__importDefault(i2(97891)), O = n2.__importDefault(i2(5730)), I = i2(47957), C = i2(53486); + class b extends O.default { static get managedProperties() { - return [{ label: v.collectInput.interDigitTimeout, options: d.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationThreeSeconds).setAllowFlowLevelDefault(true).setScriptingPropertyName("interDigitTimeout").setDurationStyle(s.durationStyles.secondsAndTenthsDuration).setAsInput(true).facets.setMinDur(1e3, true).setMaxDur(99e3, true)), property: "interDigitTimeout", type: l.expressionTypeNames.duration }, { property: "digits", isJustForFlowYaml: true, yamlOptions: b.createYamlOptions("digits", (e3) => e3.setExportOrder(30)) }, { label: v.collectInput.noEntryTimeout, options: d.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationFiveSeconds).setAllowFlowLevelDefault(true).setScriptingPropertyName("noEntryTimeout").setDurationStyle(s.durationStyles.secondsAndTenthsDuration).setAsInput(true).facets.setMinDur(1e3, true).setMaxDur(99e3, true)), property: "noEntryTimeout", type: l.expressionTypeNames.duration }, { label: v.collectInput.numberDigitsLabelExact, options: c.ExpressionTypeIntegerOptions.create((e3) => e3.setDefaultText("20").facets.setMinInt(1, true).setMaxInt(S.collectInput.maxDigits_32, true)), yamlOptions: b.createYamlOptions("numberOfDigitsMax", (e3) => e3.setPropertyName("max").setShouldBePlainJsType(true)), property: "numberOfDigitsMax", type: l.expressionTypeNames.integer }, { label: v.collectInput.numberDigitsLabelExact, options: c.ExpressionTypeIntegerOptions.create((e3) => e3.setDefaultText("1").facets.setMinInt(1, true).setMaxInt(S.collectInput.maxDigits_32, true)), yamlOptions: b.createYamlOptions("numberOfDigitsMin", (e3) => e3.setPropertyName("min").setShouldBePlainJsType(true)), property: "numberOfDigitsMin", type: l.expressionTypeNames.integer }, { audio: true, options: _.AudioViewModelOptions.create((e3) => e3.setIninTestingField("inputAudio").setLabel(v.collectInput.inputAudio)), property: "prompts", yamlOptions: b.createYamlOptions("inputAudio", (e3) => e3.setPropertyName("inputAudio")) }, { label: v.collectInput.dtmfVariable, options: p.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput()), property: "resultData", type: l.expressionTypeNames.string, yamlOptions: b.createYamlOptions("resultData", (e3) => e3.setPropertyName("inputData").setExportOrder(20)) }, { audio: true, generatedPromptsDetails: { dependentProperties: ["verificationType"], sequenceDefinition: C, getPlaybackMode() { + return [{ label: I.collectInput.interDigitTimeout, options: c.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationThreeSeconds).setAllowFlowLevelDefault(true).setScriptingPropertyName("interDigitTimeout").setDurationStyle(s.durationStyles.secondsAndTenthsDuration).setAsInput(true).facets.setMinDur(1e3, true).setMaxDur(99e3, true)), property: "interDigitTimeout", type: l.expressionTypeNames.duration }, { property: "digits", isJustForFlowYaml: true, yamlOptions: b.createYamlOptions("digits", (e3) => e3.setExportOrder(30)) }, { label: I.collectInput.noEntryTimeout, options: c.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationFiveSeconds).setAllowFlowLevelDefault(true).setScriptingPropertyName("noEntryTimeout").setDurationStyle(s.durationStyles.secondsAndTenthsDuration).setAsInput(true).facets.setMinDur(1e3, true).setMaxDur(99e3, true)), property: "noEntryTimeout", type: l.expressionTypeNames.duration }, { label: I.collectInput.numberDigitsLabelExact, options: d.ExpressionTypeIntegerOptions.create((e3) => e3.setDefaultText("20").facets.setMinInt(1, true).setMaxInt(S.collectInput.maxDigits_32, true)), yamlOptions: b.createYamlOptions("numberOfDigitsMax", (e3) => e3.setPropertyName("max").setShouldBePlainJsType(true)), property: "numberOfDigitsMax", type: l.expressionTypeNames.integer }, { label: I.collectInput.numberDigitsLabelExact, options: d.ExpressionTypeIntegerOptions.create((e3) => e3.setDefaultText("1").facets.setMinInt(1, true).setMaxInt(S.collectInput.maxDigits_32, true)), yamlOptions: b.createYamlOptions("numberOfDigitsMin", (e3) => e3.setPropertyName("min").setShouldBePlainJsType(true)), property: "numberOfDigitsMin", type: l.expressionTypeNames.integer }, { audio: true, options: _.AudioViewModelOptions.create((e3) => e3.setIninTestingField("inputAudio").setLabel(I.collectInput.inputAudio)), property: "prompts", yamlOptions: b.createYamlOptions("inputAudio", (e3) => e3.setPropertyName("inputAudio")) }, { label: I.collectInput.dtmfVariable, options: p.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput()), property: "resultData", type: l.expressionTypeNames.string, yamlOptions: b.createYamlOptions("resultData", (e3) => e3.setPropertyName("inputData").setExportOrder(20)) }, { audio: true, generatedPromptsDetails: { dependentProperties: ["verificationType"], sequenceDefinition: C, getPlaybackMode() { return this.verificationType.name.toLocaleLowerCase(); }, getReplacementValues() { const e3 = {}; return e3[C.parts.replacementLastInput] = "Flow.$lastInput", e3; - } }, options: _.AudioViewModelOptions.create((e3) => e3.setIsInternal(true).setIninTestingField("verificationAudio").setLabel(v.collectInput.verification)), yamlOptions: b.createYamlOptions("verificationPrompts", (e3) => e3.setSkipProperty(true)), property: "verificationPrompts" }, { label: v.collectInput.includeTerminatingDtmfInResultData, options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setDefaultText("false").setUseCheckbox(true).setAllowModeLiteralOnly().setIninTestingField("includeTerminatingDtmfInResultData")), yamlOptions: b.createYamlOptions("includeTerminatingDtmfInResultData", (e3) => e3.setShouldBePlainJsType(true)), property: "includeTerminatingDtmfInResultData", type: l.expressionTypeNames.boolean }, { label: v.collectInput.acceptJustStar, options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setDefaultText("false").setUseCheckbox(true).setAllowModeLiteralOnly().setIninTestingField("acceptJustStar")), property: "acceptJustStar", type: l.expressionTypeNames.boolean }, { label: v.collectInput.acceptJustPound, options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setDefaultText("false").setUseCheckbox(true).setAllowModeLiteralOnly().setIninTestingField("acceptJustPound")), property: "acceptJustPound", type: l.expressionTypeNames.boolean }]; + } }, options: _.AudioViewModelOptions.create((e3) => e3.setIsInternal(true).setIninTestingField("verificationAudio").setLabel(I.collectInput.verification)), yamlOptions: b.createYamlOptions("verificationPrompts", (e3) => e3.setSkipProperty(true)), property: "verificationPrompts" }, { label: I.collectInput.includeTerminatingDtmfInResultData, options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setDefaultText("false").setUseCheckbox(true).setAllowModeLiteralOnly().setIninTestingField("includeTerminatingDtmfInResultData")), yamlOptions: b.createYamlOptions("includeTerminatingDtmfInResultData", (e3) => e3.setShouldBePlainJsType(true)), property: "includeTerminatingDtmfInResultData", type: l.expressionTypeNames.boolean }, { label: I.collectInput.acceptJustStar, options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setDefaultText("false").setUseCheckbox(true).setAllowModeLiteralOnly().setIninTestingField("acceptJustStar")), property: "acceptJustStar", type: l.expressionTypeNames.boolean }, { label: I.collectInput.acceptJustPound, options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setDefaultText("false").setUseCheckbox(true).setAllowModeLiteralOnly().setIninTestingField("acceptJustPound")), property: "acceptJustPound", type: l.expressionTypeNames.boolean }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this.prompts = null, this.verificationPrompts = null, this._loadModel(t3); @@ -23002,7 +24706,7 @@ var require_scripting_bundle = __commonJS({ return h.default.successFailure; } getDetails() { - return this.resultData && this.resultData.text ? new N.ActionDetails([v.collectInput.dtmfVariable], [this.resultData.text]) : null; + return this.resultData && this.resultData.text ? new N.ActionDetails([I.collectInput.dtmfVariable], [this.resultData.text]) : null; } initialize() { super.initialize(), f.registerEventSinkForEventEmitter(this.parentFlow.languages.id, this); @@ -23053,7 +24757,63 @@ var require_scripting_bundle = __commonJS({ this.includeTerminatingDtmfInResultData.outOfService = !this.terminatingCharacter; } } - b.info = O.default.createActionInfo({ actionClass: b, canBeInTask: true, helpTopic: A.helpTopics.actions.collectInput, modelClass: i2(70339), name: v.actions.collectInput, scriptingName: "ArchActionCollectInput" }), t2.A = b; + b.info = v.default.createActionInfo({ actionClass: b, canBeInTask: true, helpTopic: A.helpTopics.actions.collectInput, modelClass: i2(70339), name: I.actions.collectInput, scriptingName: "ArchActionCollectInput", modelFormatSupport: { flowYaml: { inProgress: true, feature: y.default.changeSetsFeaturePhase2 } } }), t2.A = b; + }, 18573: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isStartupStateLike = c, t2.evaluateChangeSetWhenForFlow = function(e3, t3, i3) { + return t3 ? d(e3, t3, i3) : { satisfied: true }; + }, t2.evaluateChangeSetWhen = d, t2.existsFlowElement = p, t2.describeChangeSetWhen = _; + const n2 = i2(31635), r2 = i2(17604), o = n2.__importStar(i2(69453)), a = i2(61610), s = i2(17914), l = i2(17914), u = i2(17914); + function c(e3) { + if (!(0, a.isTaskLike)(e3)) return false; + const t3 = e3; + return !(!t3.isState && !t3.isBotState); + } + function d(e3, t3, i3) { + var n3; + if ("exists" in t3) return p(e3, t3.exists, i3) ? { satisfied: true } : { satisfied: false, reason: (0, r2.sprintf)(o.changeSet.apply.whenExistsNotMet, h(t3.exists)) }; + if ("not" in t3) { + const a2 = d(e3, t3.not, i3); + return a2.satisfied ? { satisfied: false, reason: (0, r2.sprintf)(o.changeSet.apply.whenNotClauseFailed, null !== (n3 = a2.reason) && void 0 !== n3 ? n3 : _(t3.not)) } : { satisfied: true }; + } + if ("and" in t3) { + for (const n4 of t3.and) { + const t4 = d(e3, n4, i3); + if (!t4.satisfied) return t4; + } + return { satisfied: true }; + } + if ("or" in t3) { + const n4 = []; + for (const r3 of t3.or) { + const t4 = d(e3, r3, i3); + if (t4.satisfied) return { satisfied: true }; + t4.reason && n4.push(t4.reason); + } + return { satisfied: false, reason: n4.length > 0 ? n4.join("; ") : o.changeSet.apply.whenOrClauseNotMet }; + } + return { satisfied: false, reason: o.changeSet.apply.whenUnrecognizedShape }; + } + function p(e3, t3, i3) { + return "task" in t3 ? void 0 !== (0, u.findTaskBySelector)(e3, t3.task, i3) : "state" in t3 ? void 0 !== (0, l.findStateBySelector)(e3, t3.state, i3) : "menu" in t3 ? void 0 !== (0, s.findMenuBySelector)(e3, t3.menu, i3) : "startupTask" in t3 ? (function(e4) { + const t4 = e4.startUpObject; + return !(!t4 || t4.isMenu || c(t4)) && (0, a.isTaskLike)(t4); + })(e3) : "startupState" in t3 ? (function(e4) { + return c(e4.startUpObject); + })(e3) : "periodicState" in t3 && (function(e4) { + const t4 = e4.periodicState; + return null != t4 && (0, a.isTaskLike)(t4); + })(e3); + } + function _(e3) { + return "exists" in e3 ? `exists ${h(e3.exists)}` : "not" in e3 ? `not (${_(e3.not)})` : "and" in e3 ? e3.and.map(_).join(" and ") : "or" in e3 ? e3.or.map(_).join(" or ") : ""; + } + function h(e3) { + return "task" in e3 ? `task ${m(e3.task)}` : "state" in e3 ? `state ${m(e3.state)}` : "menu" in e3 ? `menu ${m(e3.menu)}` : "startupTask" in e3 ? "startupTask" : "startupState" in e3 ? "startupState" : "periodicState" in e3 ? "periodicState" : ""; + } + function m(e3) { + return e3.refId ? `refId "${e3.refId}"` : e3.name ? `name "${e3.name}"` : e3.id ? `id "${e3.id}"` : void 0 !== e3.trackingId ? `trackingId ${e3.trackingId}` : "(unspecified)"; + } }, 18594: (e2) => { e2.exports = function(e3, t2, i2, n2) { const r2 = { enumerable: true, configurable: true, get: function() { @@ -23067,27 +24827,35 @@ var require_scripting_bundle = __commonJS({ } catch (e4) { } }; + }, 18618: (e2, t2, i2) => { + const n2 = i2(57731), r2 = {}; + function o(e3, t3) { + r2[e3] = this, r2[t3] = this, o.baseConstructor.apply(this, arguments); + } + n2.extend(o, "SubsequentRecognitionFailuresEnum"), o.getInstance = function(e3) { + return r2[e3 || 0]; + }, o.Exit = new o(0, "Exit"), o.ExecuteTask = new o(1, "ExecuteTask"), e2.exports = o; }, 18637: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.AudioExpression = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(7401)), u = i2(62017), d = n2.__importStar(i2(36781)), c = n2.__importStar(i2(43773)), p = n2.__importStar(i2(58380)), _ = n2.__importStar(i2(77147)), h = n2.__importStar(i2(43011)), m = n2.__importStar(i2(1115)), g = n2.__importDefault(i2(73198)), f = n2.__importStar(i2(14744)), T = n2.__importStar(i2(42989)), y = n2.__importStar(i2(33653)), S = i2(27491), A = n2.__importDefault(i2(22226)), N = n2.__importStar(i2(9345)), O = n2.__importDefault(i2(86833)), I = i2(14394), v = n2.__importDefault(i2(80145)), C = i2(46782), b = i2(59263), E = i2(39168), R = i2(47957), w = s.getTopic("audioExpression"); - function D(e3, t3, i3, n3) { - t3 = t3 || new l.default(); - const r3 = new b.ExpressionParameters(e3.parentFlow, e3.parent, t3, e3.label); - r3.type = I.globalTypes.audio, r3.options = o.default.isUndefined(n3) ? u.ExpressionTypeAudioOptions.create(function(e4) { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(7401)), l = i2(62017), u = n2.__importStar(i2(36781)), c = n2.__importStar(i2(43773)), d = n2.__importStar(i2(58380)), p = n2.__importStar(i2(77147)), _ = n2.__importStar(i2(43011)), h = n2.__importStar(i2(1115)), m = n2.__importDefault(i2(80145)), g = i2(9456), f = i2(1910), T = i2(1910), y = i2(1910), S = i2(1910), A = i2(1910), N = n2.__importDefault(i2(73198)), v = n2.__importStar(i2(14744)), O = n2.__importStar(i2(42989)), I = n2.__importStar(i2(33653)), C = i2(27491), b = n2.__importDefault(i2(22226)), E = n2.__importStar(i2(9345)), w = n2.__importDefault(i2(86833)), R = i2(14394), D = i2(46782), P = i2(59263), M = i2(39168), F = i2(47957), L = a.getTopic("audioExpression"); + function x(e3, t3, i3, n3) { + t3 = t3 || new s.default(); + const r3 = new P.ExpressionParameters(e3.parentFlow, e3.parent, t3, e3.label); + r3.type = R.globalTypes.audio, r3.options = o.default.isUndefined(n3) ? l.ExpressionTypeAudioOptions.create(function(e4) { e4.setAllowSecure(true); }) : n3, e3.parentAudioViewModel && r3.options.setFromOptions(e3.parentAudioViewModel.options), r3.options.setSuppressParserValidationMessages(true).setAllowModeExpression(true, false).setIsOptional(false).setAllowModeLiteral(false).setDoNotTrackUsages(true).setDisallowedFunctionMap(e3.options.disallowedFunctionMap), i3 && (r3.options.renameVariablesCallback = (e4) => { i3.parameter = e4.text, i3.model = e4.model; }), r3.parentAudio = e3; - const a2 = new E.NormalExpression(r3); + const a2 = new M.NormalExpression(r3); return e3.initializeDesignTimeCalled && a2.initializeDesignTime(), a2; } - function P(e3) { + function k(e3) { o.default.each(e3.sequenceItems, function(t3) { e3.validateSequenceItem(t3); }); } - function M(e3) { + function V(e3) { if (e3.isNoValueMode) return ""; const t3 = []; o.default.each(e3.sequenceItems, (i4) => { @@ -23095,15 +24863,15 @@ var require_scripting_bundle = __commonJS({ if (!e4.parameter) return ""; let i5, n4; switch (e4.type) { - case T.tts: - return e4.parameter && e4.parameter.trim() ? (0, r2.sprintf)('ToAudioTTS("%s")', A.default.rawEscapeStringForExpressionMode(e4.parameter)) : null; - case T.prompt: - return i5 = h.getItem(e4.parameter), n4 = "", !i5 && e4.name ? n4 = e4.name : i5 && (n4 = i5.expressionName), (0, r2.sprintf)("ToAudio(%s)", n4); - case T.expression: + case O.tts: + return e4.parameter && e4.parameter.trim() ? (0, r2.sprintf)('ToAudioTTS("%s")', b.default.rawEscapeStringForExpressionMode(e4.parameter)) : null; + case O.prompt: + return i5 = _.getItem(e4.parameter), n4 = "", !i5 && e4.name ? n4 = e4.name : i5 && (n4 = i5.expressionName), (0, r2.sprintf)("ToAudio(%s)", n4); + case O.expression: return e4.expression && (e4.expression.processText(true), e4.expression.config && e4.expression.config.root) ? e4.expression.config.text : e4.parameter; - case T.blank: + case O.blank: return e4.parameter ? (0, r2.sprintf)("ToAudioBlank(%s)", e4.parameter) : null; - case T.data: + case O.data: try { const i6 = t4.parentFlow.variableGroup.getExpandedVariable(e4.variableId); if (i6) return (0, r2.sprintf)(e4.expressionFormat, i6.getExpressionTextWithNameFallback(), e4.parameter2 || ""); @@ -23112,45 +24880,45 @@ var require_scripting_bundle = __commonJS({ } return (0, r2.sprintf)(e4.expressionFormat, e4.parameter, e4.parameter2 || ""); default: - return w.error("Unknown sequence item type of " + e4.type), null; + return L.error("Unknown sequence item type of " + e4.type), null; } })(i4, e3); n3 && t3.push(n3); }); let i3 = ""; - return 1 === t3.length ? i3 = t3[0] : t3.length > 1 && (i3 = (0, r2.sprintf)("Append(%s)", t3.join(", "))), S.expressionDataService.expressionFuncOpsByOverloadId[v.default.audio_AudioPlaybackOptions_Barge] && !S.expressionDataService.expressionFuncOpsByOverloadId[v.default.audio_AudioPlaybackOptions_Barge].isUnavailable && "" !== i3 && e3.parentAudioViewModel.options.supportsBargeInExpression && e3.parentAudioViewModel.bargeInExpression && (i3 = (0, r2.sprintf)("AudioPlaybackOptions(%s, %s)", i3, e3.parentAudioViewModel.bargeInExpression.getEmbeddableExpressionText())), i3; + return 1 === t3.length ? i3 = t3[0] : t3.length > 1 && (i3 = (0, r2.sprintf)("Append(%s)", t3.join(", "))), C.expressionDataService.expressionFuncOpsByOverloadId[m.default.audio_AudioPlaybackOptions_Barge] && !C.expressionDataService.expressionFuncOpsByOverloadId[m.default.audio_AudioPlaybackOptions_Barge].isUnavailable && "" !== i3 && e3.parentAudioViewModel.options.supportsBargeInExpression && e3.parentAudioViewModel.bargeInExpression && (i3 = (0, r2.sprintf)("AudioPlaybackOptions(%s, %s)", i3, e3.parentAudioViewModel.bargeInExpression.getEmbeddableExpressionText())), i3; } - function F(e3) { + function U(e3) { if (e3.parentFlow && !e3.parentFlow.loaded) return; if (e3.customExpressionMode) return; - const t3 = M(e3); - e3.setText(t3, true, false), P(e3); + const t3 = V(e3); + e3.setText(t3, true, false), k(e3); } - function L(e3, t3) { - return e3.sequenceItems.push(t3), e3.validateSequenceItem(t3), p.fireEvent(e3, d.sequenceItemsChanged, false), t3; + function B(e3, t3) { + return e3.sequenceItems.push(t3), e3.validateSequenceItem(t3), d.fireEvent(e3, u.sequenceItemsChanged, false), t3; } - let x = 500; - class k extends C.BaseExpression { + let G = 500; + class j extends D.BaseExpression { get className() { return "AudioExpression"; } constructor(e3) { - e3.type = I.globalTypes.audio, e3.options = e3.options || u.ExpressionTypeAudioOptions.create(function(e4) { + e3.type = R.globalTypes.audio, e3.options = e3.options || l.ExpressionTypeAudioOptions.create(function(e4) { e4.setAllowSecure(true); }), super(e3); const t3 = this.model.uiMetaData ? this.model.uiMetaData.sequenceItems : []; o.default.each(t3, function(e4) { - e4.$testId = (0, a.uuid)(); - }), this.sequenceItems = t3 || [], this.updateSequenceExpressionDebounced = o.default.debounce(F.bind(null, this), this.updateTime), this.buildExpressionText = M.bind(this), this._sequenceErrors = {}, this._initialize(); + e4.$testId = (0, g.uuid)(); + }), this.sequenceItems = t3 || [], this.updateSequenceExpressionDebounced = o.default.debounce(U.bind(null, this), this.updateTime), this.buildExpressionText = V.bind(this), this._sequenceErrors = {}, this._initialize(); } get $testId() { return this.model.uiMetaData.$testId; } get blankAudioDefault() { - return x; + return G; } set blankAudioDefault(e3) { - x = e3; + G = e3; } get customExpressionMode() { return !!this.model.uiMetaData && !!this.model.uiMetaData.customExpressionMode; @@ -23190,15 +24958,15 @@ var require_scripting_bundle = __commonJS({ this._parentAudio = e3, this.updateSequenceExpression(true); } get isTTSOnly() { - return !this.customExpressionMode && this.sequenceItems && 1 === this.sequenceItems.length && this.sequenceItems[0].type === T.tts; + return !this.customExpressionMode && this.sequenceItems && 1 === this.sequenceItems.length && this.sequenceItems[0].type === O.tts; } get isPromptOnly() { - return !this.customExpressionMode && this.sequenceItems && 1 === this.sequenceItems.length && this.sequenceItems[0].type === T.prompt; + return !this.customExpressionMode && this.sequenceItems && 1 === this.sequenceItems.length && this.sequenceItems[0].type === O.prompt; } get isPromptVariableOnly() { - if (!this.customExpressionMode && this.sequenceItems && 1 === this.sequenceItems.length && this.sequenceItems[0].type === T.data) { + if (!this.customExpressionMode && this.sequenceItems && 1 === this.sequenceItems.length && this.sequenceItems[0].type === O.data) { const e3 = this.parentFlow.getVariable(this.sequenceItems[0].variableId); - return e3 && e3.type.isMatch(I.globalTypes.prompt, N.settings.exact); + return e3 && e3.type.isMatch(R.globalTypes.prompt, E.settings.exact); } return false; } @@ -23224,43 +24992,43 @@ var require_scripting_bundle = __commonJS({ return !!this.sequenceInError || super._getHasError(); } updateSequenceExpression(e3) { - e3 ? F(this) : this.updateSequenceExpressionDebounced(); + e3 ? U(this) : this.updateSequenceExpressionDebounced(); } _initialize() { o.default.each(this.sequenceItems, (e3) => { - if (e3.type === T.expression) { - const t3 = e3.model ? new l.default(e3.model) : new l.default(), i3 = D(this, t3, e3, this.options.clone()); + if (e3.type === O.expression) { + const t3 = e3.model ? new s.default(e3.model) : new s.default(), i3 = x(this, t3, e3, this.options.clone()); Object.defineProperty(e3, "expression", { enumerable: false, writable: true, value: i3 }), e3.expression.text = e3.parameter, e3.model = t3; } - }), h.userPromptListManager.registerAudioExpression(this), super._initialize(); + }), _.userPromptListManager.registerAudioExpression(this), super._initialize(); } _initializeDesignTime() { super._initializeDesignTime(), this.parentFlow.isReadOnly || this.sequenceItems.forEach((e3) => { - if (e3.type === T.data && e3.expressionFormat) { + if (e3.type === O.data && e3.expressionFormat) { const t3 = this.parentFlow.variableGroup.getExpandedVariable(e3.variableId); if (t3) { - const i3 = f.getPlaybackOptions(t3.type, this.parentFlow); - i3 ? f.updateDataSequenceItemExpressionFormat(i3, e3) : w.error(`did not find playbackOptions for ${t3.toString()}`); + const i3 = v.getPlaybackOptions(t3.type, this.parentFlow); + i3 ? v.updateDataSequenceItemExpressionFormat(i3, e3) : L.error(`did not find playbackOptions for ${t3.toString()}`); } } }), this.sequenceItems.forEach((e3) => { - e3.type === T.expression && e3.expression && e3.expression.initializeDesignTime(); + e3.type === O.expression && e3.expression && e3.expression.initializeDesignTime(); }); } _ensureUiMetaData() { - super._ensureUiMetaData(), this.model.uiMetaData.sequenceItems = this.sequenceItems, this.model.uiMetaData.$testId = this.model.uiMetaData.$testId || (0, a.uuid)(); + super._ensureUiMetaData(), this.model.uiMetaData.sequenceItems = this.sequenceItems, this.model.uiMetaData.$testId = this.model.uiMetaData.$testId || (0, g.uuid)(); } addBlankSequence() { - return L(this, { $testId: (0, a.uuid)(), parameter: this.blankAudioDefault, type: T.blank }); + return B(this, { $testId: (0, g.uuid)(), parameter: this.blankAudioDefault, type: O.blank }); } addClipboardDependencies(e3, t3) { super.addClipboardDependencies(e3), o.default.each(this.sequenceItems, (i3) => { let n3; switch (i3.type) { - case T.data: + case O.data: n3 = this.parentFlow.getVariable(i3.variableId), e3.copyCutAddDependencyVariable(n3, t3); break; - case T.expression: + case O.expression: i3.expression && i3.expression.addClipboardDependencies(e3); } }), o.default.each(this.variables, function(i3) { @@ -23268,18 +25036,18 @@ var require_scripting_bundle = __commonJS({ }); } addTtsSequence() { - return L(this, { $testId: (0, a.uuid)(), type: T.tts }); + return B(this, { $testId: (0, g.uuid)(), type: O.tts }); } addPromptSequence() { - return L(this, { $testId: (0, a.uuid)(), type: T.prompt }); + return B(this, { $testId: (0, g.uuid)(), type: O.prompt }); } addDataSequence(e3) { - const t3 = { type: T.data, $testId: (0, a.uuid)() }; - return e3 && (t3.parameter = e3.name, t3.variableId = e3.id), L(this, t3); + const t3 = { type: O.data, $testId: (0, g.uuid)() }; + return e3 && (t3.parameter = e3.name, t3.variableId = e3.id), B(this, t3); } addExpressionSequence(e3, t3) { - const i3 = { $testId: (0, a.uuid)(), type: T.expression }; - return Object.defineProperty(i3, "expression", { enumerable: false, writable: true, value: D(this, e3, void 0, t3) }), i3.model = i3.expression.model, L(this, i3); + const i3 = { $testId: (0, g.uuid)(), type: O.expression }; + return Object.defineProperty(i3, "expression", { enumerable: false, writable: true, value: x(this, e3, void 0, t3) }), i3.model = i3.expression.model, B(this, i3); } allPromptsHaveAudio() { return o.default.every(this.getOrderedPrompts(), (e3) => this.promptHasAudio(e3.id)); @@ -23287,18 +25055,18 @@ var require_scripting_bundle = __commonJS({ cloneSequenceItems(e3) { this.sequenceItems.length = 0, o.default.each(e3.sequenceItems, (e4) => { let t3; - e4.type === T.expression ? (t3 = this.addExpressionSequence(new l.default(o.default.clone(e4.model)), e4.expression.options), t3.parameter = e4.parameter) : (t3 = o.default.clone(e4), t3.type === T.expression && (t3.expression = D(this, new l.default(t3.model), t3)), this.sequenceItems.push(t3)); + e4.type === O.expression ? (t3 = this.addExpressionSequence(new s.default(o.default.clone(e4.model)), e4.expression.options), t3.parameter = e4.parameter) : (t3 = o.default.clone(e4), t3.type === O.expression && (t3.expression = x(this, new s.default(t3.model), t3)), this.sequenceItems.push(t3)); }); } copyExpressionValue(e3) { this.customExpressionMode = e3.customExpressionMode, this.customExpressionMode && (this.text = e3.text), this.cloneSequenceItems(e3), this.updateSequenceExpression(true); } clear(e3) { - this._reset(e3), this.setConfigAndMetaData(O.default.getEmp(this)); + this._reset(e3), this.setConfigAndMetaData(w.default.getEmp(this)); } _destroy() { - h.userPromptListManager.unregisterAudioExpression(this), o.default.each(this.sequenceItems, (e3) => { - e3 && e3.type === T.expression && e3.expression && e3.expression.destroy(); + _.userPromptListManager.unregisterAudioExpression(this), o.default.each(this.sequenceItems, (e3) => { + e3 && e3.type === O.expression && e3.expression && e3.expression.destroy(); }), super._destroy(); } getOrderedPrompts() { @@ -23309,7 +25077,7 @@ var require_scripting_bundle = __commonJS({ (null === (e3 = this.indirectlyUsedPrompts) || void 0 === e3 ? void 0 : e3.length) && this.indirectlyUsedPrompts.forEach((e4) => { i3.push(e4); }), o.default.each(i3, function(e4) { - const i4 = h.getItem(e4.id); + const i4 = _.getItem(e4.id); i4 && t3.push(i4); }); } else o.default.each(this.sequenceItems, (e4) => { @@ -23321,31 +25089,31 @@ var require_scripting_bundle = __commonJS({ const t3 = []; let i3, n3; switch (e3.type) { - case T.prompt: - i3 = h.getItem(e3.parameter), i3 && t3.push(i3); + case O.prompt: + i3 = _.getItem(e3.parameter), i3 && t3.push(i3); break; - case T.expression: + case O.expression: n3 = e3.expression.getPromptReferences(), o.default.each(n3, function(e4) { - const i4 = h.getItem(e4.id); + const i4 = _.getItem(e4.id); i4 && t3.push(i4); }); break; - case T.data: - case T.tts: - case T.blank: + case O.data: + case O.tts: + case O.blank: break; default: - w.error("Unknown sequence item type of " + e3.type); + L.error("Unknown sequence item type of " + e3.type); } return t3; } promptSequenceHasAudio(e3) { - return e3.type !== T.prompt || !e3.parameter || this.promptHasAudio(e3.parameter); + return e3.type !== O.prompt || !e3.parameter || this.promptHasAudio(e3.parameter); } promptHasAudio(e3) { if (e3) { - const t3 = h.getItem(e3); - return !!t3 && _.promptHasRequiredMedia(this.parentFlow, t3, this.languages); + const t3 = _.getItem(e3); + return !!t3 && p.promptHasRequiredMedia(this.parentFlow, t3, this.languages); } return false; } @@ -23354,19 +25122,19 @@ var require_scripting_bundle = __commonJS({ else { let n3 = false; o.default.each(this.sequenceItems, (r3) => { - r3.type === T.data && r3.parameter === e3 ? (r3.parameter = t3, r3.type === T.data && i3 && i3.id && (r3.variableId = i3.id), n3 = true) : r3.type === T.expression && r3.parameter && r3.parameter.toLowerCase().indexOf(e3.toLowerCase()) > -1 && (r3.expression.replaceUsages(e3, t3, i3), r3.parameter = r3.expression.text, n3 = true); + r3.type === O.data && r3.parameter === e3 ? (r3.parameter = t3, r3.type === O.data && i3 && i3.id && (r3.variableId = i3.id), n3 = true) : r3.type === O.expression && r3.parameter && r3.parameter.toLowerCase().indexOf(e3.toLowerCase()) > -1 && (r3.expression.replaceUsages(e3, t3, i3), r3.parameter = r3.expression.text, n3 = true); }), n3 && this.updateSequenceExpression(true); } } renamePromptVariables(e3) { this.customExpressionMode ? super.renamePromptVariables(e3) : o.default.each(this.sequenceItems, (t3, i3) => { - if (t3.type === T.expression) t3.expression.renamePromptVariables(); - else if (t3.type === T.prompt && !t3.isSystem) { - let n3 = h.userPromptListManager.getItem(t3.parameter); + if (t3.type === O.expression) t3.expression.renamePromptVariables(); + else if (t3.type === O.prompt && !t3.isSystem) { + let n3 = _.userPromptListManager.getItem(t3.parameter); if (n3 && n3.expressionName !== t3.name) { const r3 = t3.name; - w.info(`renaming prompt with id '${n3.id}' in expression with id '${this.id}' at sequence: ${i3}`), t3.name = n3.expressionName, e3 || d.emitter.emit(d.promptChanged, n3, r3); - } else !n3 && t3.name && (n3 = h.userPromptListManager.getItemByName(t3.name), n3 && (w.info(`updating prompt id in expression with id '${this.id}' sequence:${i3} from: '${t3.parameter}' to: '${n3.id}'`), t3.parameter = n3.id)); + L.info(`renaming prompt with id '${n3.id}' in expression with id '${this.id}' at sequence: ${i3}`), t3.name = n3.expressionName, e3 || u.emitter.emit(u.promptChanged, n3, r3); + } else !n3 && t3.name && (n3 = _.userPromptListManager.getItemByName(t3.name), n3 && (L.info(`updating prompt id in expression with id '${this.id}' sequence:${i3} from: '${t3.parameter}' to: '${n3.id}'`), t3.parameter = n3.id)); } }), this.updateSequenceExpression(true); } @@ -23374,43 +25142,43 @@ var require_scripting_bundle = __commonJS({ o.default.find(this.sequenceItems, function(t3) { let i3 = t3.parameter === e3.id; return i3 || (i3 = !!(t3.expression && t3.expression.variables && t3.expression.variables[e3.id])), i3; - }) && (this.renamePromptVariables(true), P(this)); + }) && (this.renamePromptVariables(true), k(this)); } search(e3) { this.customExpressionMode ? e3.checkText(this, this.text, this.label) : o.default.each(this.sequenceItems, (t3) => { - t3.type !== T.prompt && e3.checkText(this, t3.parameter, this.label); + t3.type !== O.prompt && e3.checkText(this, t3.parameter, this.label); }); } setExpressionOnly(e3) { this.customExpressionMode = false, this.sequenceItems.length = 0, this.addExpressionSequence(); const t3 = this.sequenceItems[0]; (null == t3 ? void 0 : t3.expression) && delete this._sequenceErrors[t3.expression.id]; - const i3 = new b.ExpressionParameters(this.parentFlow, this.parent, new l.default(), this.label); - i3.type = I.globalTypes.audio, i3.options = u.ExpressionTypeAudioOptions.create(function(e4) { + const i3 = new P.ExpressionParameters(this.parentFlow, this.parent, new s.default(), this.label); + i3.type = R.globalTypes.audio, i3.options = l.ExpressionTypeAudioOptions.create(function(e4) { e4.setAllowModeExpression(true).setAllowModeLiteral(false); }); const n3 = this.sequenceItems[0]; - n3.expression = new E.NormalExpression(i3), n3.expression.parentAudio = this.parentAudio, n3.expression.text = e3, n3.parameter = e3, this.updateSequenceExpression(); + n3.expression = new M.NormalExpression(i3), n3.expression.parentAudio = this.parentAudio, n3.expression.text = e3, n3.parameter = e3, this.updateSequenceExpression(); } moveSequenceItemUp(e3) { const t3 = this.sequenceItems.indexOf(e3); if (!(t3 - 1 >= 0)) return -1; const i3 = this.sequenceItems[t3]; - return this.sequenceItems[t3] = this.sequenceItems[t3 - 1], this.sequenceItems[t3 - 1] = i3, this.updateSequenceExpression(), p.fireEvent(this, d.sequenceItemsChanged), t3 - 1; + return this.sequenceItems[t3] = this.sequenceItems[t3 - 1], this.sequenceItems[t3 - 1] = i3, this.updateSequenceExpression(), d.fireEvent(this, u.sequenceItemsChanged), t3 - 1; } moveSequenceItemDown(e3) { const t3 = this.sequenceItems.indexOf(e3); if (!(t3 + 1 < this.sequenceItems.length)) return -1; const i3 = this.sequenceItems[t3]; - return this.sequenceItems[t3] = this.sequenceItems[t3 + 1], this.sequenceItems[t3 + 1] = i3, this.updateSequenceExpression(), p.fireEvent(this, d.sequenceItemsChanged), t3 + 1; + return this.sequenceItems[t3] = this.sequenceItems[t3 + 1], this.sequenceItems[t3 + 1] = i3, this.updateSequenceExpression(), d.fireEvent(this, u.sequenceItemsChanged), t3 + 1; } moveSequenceItemToIndex(e3, t3) { const i3 = this.sequenceItems.indexOf(e3); - i3 >= this.sequenceItems.length || -1 === i3 || (this.sequenceItems.splice(i3, 1), this.sequenceItems.splice(t3, 0, e3), this.updateSequenceExpression(), p.fireEvent(this, d.sequenceItemsChanged)); + i3 >= this.sequenceItems.length || -1 === i3 || (this.sequenceItems.splice(i3, 1), this.sequenceItems.splice(t3, 0, e3), this.updateSequenceExpression(), d.fireEvent(this, u.sequenceItemsChanged)); } deleteSequenceItem(e3) { const t3 = this.sequenceItems.indexOf(e3); - (t3 || 0 === t3) && (this.sequenceItems.splice(t3, 1), e3 && e3.expression && e3.expression.destroy(), this.updateSequenceExpression(true), m.validateItem(this, void 0, true), p.fireEvent(this, d.sequenceItemsChanged)); + (t3 || 0 === t3) && (this.sequenceItems.splice(t3, 1), e3 && e3.expression && e3.expression.destroy(), this.updateSequenceExpression(true), h.validateItem(this, void 0, true), d.fireEvent(this, u.sequenceItemsChanged)); } setPromptOnly(e3) { this.customExpressionMode = false, this.isPromptOnly || (this.sequenceItems.length = 0, this.addPromptSequence()); @@ -23429,90 +25197,90 @@ var require_scripting_bundle = __commonJS({ else { if (this.isNoValueMode ? this.processText(true) : o.default.each(this.sequenceItems, (t3, i3) => { if (this.validateSequenceItem(t3)) { - const t4 = (0, r2.sprintf)(R.audio.sequenceError, i3 + 1, this.label); + const t4 = (0, r2.sprintf)(F.audio.sequenceError, i3 + 1, this.label); e3.addError(this.parentAudioViewModel, t4, void 0, true); } - this.getSequenceItemWarning(t3) && !this.isSequenceItemsEmptyOrTtsWithNoAudioSet && e3.addWarning(this.parentAudioViewModel, (0, r2.sprintf)(R.audio.sequenceWarn, i3 + 1, this.label), void 0, true); + this.getSequenceItemWarning(t3) && !this.isSequenceItemsEmptyOrTtsWithNoAudioSet && e3.addWarning(this.parentAudioViewModel, (0, r2.sprintf)(F.audio.sequenceWarn, i3 + 1, this.label), void 0, true); }), this.sequenceInError) return void this.clearParseResult(); this.processText(true); } if (!this.isBlank || this.isOptional && (this.options.allowBlankAudio || this.isNoValueMode)) return super.validate(e3); - e3.addError(this.parentAudioViewModel, (0, r2.sprintf)(R.expression.notSetWithContext, this.label), void 0, true); + e3.addError(this.parentAudioViewModel, (0, r2.sprintf)(F.expression.notSetWithContext, this.label), void 0, true); } } validateSequenceItem(e3) { let t3, i3; switch (e3.type) { - case T.prompt: + case O.prompt: t3 = (function(e4, t4) { if (t4.parameter) { - const i4 = h.getItem(t4.parameter); - return !i4 && t4.name ? (0, r2.sprintf)(R.audio.errorPromptCouldNotBeFound, t4.name) : i4 ? (t4.warningText = y.checkPromptAudioDuration(e4, t4.parameter), e4.addVariableOrPromptReference(i4.expressionName), i4.getTtsExceedsMaxLengthError(e4) || (e4.promptSequenceHasAudio(t4) ? "" : e4.getPromptMissingResourcesErrorString(i4))) : R.audio.errorNoPrompt; + const i4 = _.getItem(t4.parameter); + return !i4 && t4.name ? (0, r2.sprintf)(F.audio.errorPromptCouldNotBeFound, t4.name) : i4 ? (t4.warningText = I.checkPromptAudioDuration(e4, t4.parameter), e4.addVariableOrPromptReference(i4.expressionName), i4.getTtsExceedsMaxLengthError(e4) || (e4.promptSequenceHasAudio(t4) ? "" : e4.getPromptMissingResourcesErrorString(i4))) : F.audio.errorNoPrompt; } - return R.audio.errorNoPrompt; + return F.audio.errorNoPrompt; })(this, e3) || "", i3 = e3.$testId; break; - case T.data: + case O.data: t3 = (function(e4, t4) { let i4, n3, o2; if (t4.functionOverloadIds) for (let e5 = 0; e5 < t4.functionOverloadIds.length; e5++) { - const r3 = S.expressionDataService.expressionFuncOpsByOverloadId[t4.functionOverloadIds[e5]]; + const r3 = C.expressionDataService.expressionFuncOpsByOverloadId[t4.functionOverloadIds[e5]]; r3 && !r3.isUnavailable || (i4 = true), r3 && (r3.runtimeSequencesSystemPrompts && (n3 = true), r3.runtimeRequiresTTSSupport && (o2 = true)); } for (let i5 = 0; i5 < e4.languages.length; i5++) { const a2 = e4.languages[i5]; - if (n3 && !e4.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((e5) => a2.getSupportsAudioDataPlaybackForFlowType(e5))) return (0, r2.sprintf)(R.audio.errorNoAudioPlaybackSupport, a2.text); - if (o2 && !e4.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((t5) => a2.getSupportsTTSPlaybackForFlowType(t5, e4.parentFlow))) return (0, r2.sprintf)(R.audio.errorNoTTSSupport, a2.text); - if (o2 && !a2.getSupportsTTSPlaybackForFlow(e4.parentFlow.topParentFlow)) return e4.parentFlow.validationResults.missingTTSEngine[a2.text] = true, (0, r2.sprintf)(R.audio.errorNotValidTTS, a2.text); - if (t4.languageGender && (!a2.supportedLanguageContexts || !a2.supportedLanguageContexts[t4.languageGender.id])) return (0, r2.sprintf)(R.audio.errorNoLanguageGenderSupport, a2.id); - if (t4.languageCase && (!a2.supportedLanguageContexts || !a2.supportedLanguageContexts[t4.languageCase.id])) return (0, r2.sprintf)(R.audio.errorNoLanguageCaseSupport, a2.id); + if (n3 && !e4.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((e5) => a2.getSupportsAudioDataPlaybackForFlowType(e5))) return (0, r2.sprintf)(F.audio.errorNoAudioPlaybackSupport, a2.text); + if (o2 && !e4.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((t5) => a2.getSupportsTTSPlaybackForFlowType(t5, e4.parentFlow))) return (0, r2.sprintf)(F.audio.errorNoTTSSupport, a2.text); + if (o2 && !a2.getSupportsTTSPlaybackForFlow(e4.parentFlow.topParentFlow)) return e4.parentFlow.validationResults.missingTTSEngine[a2.text] = true, (0, r2.sprintf)(F.audio.errorNotValidTTS, a2.text); + if (t4.languageGender && (!a2.supportedLanguageContexts || !a2.supportedLanguageContexts[t4.languageGender.id])) return (0, r2.sprintf)(F.audio.errorNoLanguageGenderSupport, a2.id); + if (t4.languageCase && (!a2.supportedLanguageContexts || !a2.supportedLanguageContexts[t4.languageCase.id])) return (0, r2.sprintf)(F.audio.errorNoLanguageCaseSupport, a2.id); } - if (i4) return R.audio.unavailableAudioOption; + if (i4) return F.audio.unavailableAudioOption; if (t4.parameter || t4.variableId) { const i5 = e4.parentFlow.variableGroup; let n4; - return t4.variableId && (n4 = i5.getExpandedVariable(t4.variableId)), !n4 && t4.parameter && (n4 = i5.getVariableByName(t4.parameter, e4.getParentTask())), n4 ? !e4.options.allowSecure && n4.isSecure ? (0, r2.sprintf)(R.expression.secureVariableUsageNotAllowed, n4.name) : t4.expressionFormat ? "" : R.audio.errorNoDataOptions : R.audio.errorInvalidVariable; + return t4.variableId && (n4 = i5.getExpandedVariable(t4.variableId)), !n4 && t4.parameter && (n4 = i5.getVariableByName(t4.parameter, e4.getParentTask())), n4 ? !e4.options.allowSecure && n4.isSecure ? (0, r2.sprintf)(F.expression.secureVariableUsageNotAllowed, n4.name) : t4.expressionFormat ? "" : F.audio.errorNoDataOptions : F.audio.errorInvalidVariable; } - return R.audio.errorNoVariable; + return F.audio.errorNoVariable; })(this, e3) || "", i3 = e3.$testId; break; - case T.expression: + case O.expression: t3 = (function(e4, t4) { if (t4.expression.parentFlow.validationResults.isDeep && t4.expression.processText(true), t4.expression && t4.expression.hasError) return t4.expression.resultMessage; - t4.expression && (t4.warningText = y.checkExpressionPromptReferences(e4)); + t4.expression && (t4.warningText = I.checkExpressionPromptReferences(e4)); })(this, e3) || "", i3 = e3.expression.id; break; - case T.tts: + case O.tts: t3 = (function(e4, t4) { if (t4.parameter && t4.parameter.trim()) for (let i4 = 0; i4 < e4.languages.length; i4++) { const n3 = e4.languages[i4]; - if (!e4.parentFlow.topParentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((t5) => n3.getSupportsTTSPlaybackForFlowType(t5, e4.parentFlow))) return (0, r2.sprintf)(R.audio.errorNoTTSSupport, n3.text); - if (!n3.getSupportsTTSPlaybackForFlow(e4.parentFlow.topParentFlow)) return e4.parentFlow.validationResults.missingTTSEngine[n3.text] = true, (0, r2.sprintf)(R.audio.errorNotValidTTS, n3.text); + if (!e4.parentFlow.topParentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((t5) => n3.getSupportsTTSPlaybackForFlowType(t5, e4.parentFlow))) return (0, r2.sprintf)(F.audio.errorNoTTSSupport, n3.text); + if (!n3.getSupportsTTSPlaybackForFlow(e4.parentFlow.topParentFlow)) return e4.parentFlow.validationResults.missingTTSEngine[n3.text] = true, (0, r2.sprintf)(F.audio.errorNotValidTTS, n3.text); const o2 = n3.getStringExceedsMaxRequestLengthError(e4.parentFlow.topParentFlow, t4.parameter); if (o2) return o2; } })(this, e3) || "", i3 = e3.$testId; break; - case T.blank: + case O.blank: t3 = (function(e4, t4) { - if (!t4.parameter) return R.audio.errorNoBlankAudioLength; - t4.warningText = y.checkBlankAudioLength(e4, t4.parameter); + if (!t4.parameter) return F.audio.errorNoBlankAudioLength; + t4.warningText = I.checkBlankAudioLength(e4, t4.parameter); })(this, e3) || "", i3 = e3.$testId; break; default: - t3 = R.audio.typeNotRecognizedError; + t3 = F.audio.typeNotRecognizedError; } return "" !== t3 ? this._sequenceErrors[i3] = t3 : this._sequenceErrors[i3] && delete this._sequenceErrors[i3], e3.error = t3, t3; } getSequenceItemWarning(e3) { switch (e3.type) { - case T.tts: - if (!e3.parameter) return R.audio.blankTTSWarning; + case O.tts: + if (!e3.parameter) return F.audio.blankTTSWarning; break; - case T.expression: + case O.expression: return e3.expression && e3.expression.hasWarning ? e3.expression._parseResult.resultMessage : e3.warningText; - case T.prompt: - case T.blank: + case O.prompt: + case O.blank: return e3.warningText; } } @@ -23520,19 +25288,29 @@ var require_scripting_bundle = __commonJS({ var e3, t3; return (null === (t3 = null === (e3 = this.parentAudio) || void 0 === e3 ? void 0 : e3.supportedFlowTypes) || void 0 === t3 ? void 0 : t3.length) ? o.default.intersection(this.parentFlow.destinationFlowTypes, this.parentAudio.supportedFlowTypes) : this.parentFlow.destinationFlowTypes; } + configureFromModel(e3, t3, i3) { + super.configureFromModel(e3, t3, i3), i3 ? (0, A.withModelContext)(i3, `audioExpression[${this.label || "unknown"}]`, () => { + (0, S.shouldProceedWithOosAssignment)(this, i3) && this._configureFromModel(e3, t3, i3); + }) : this._configureFromModel(e3, t3, i3); + } + _configureFromModel(e3, t3, i3) { + if (!(0, f.isConfigureFromModelRecord)(e3)) return; + const n3 = e3, r3 = /* @__PURE__ */ new Set(["tts", "exp", "prompt"]), o2 = i3 ? (0, T.getStringValue)(n3, "exp", i3) : "string" == typeof n3.exp ? n3.exp : void 0, a2 = i3 ? (0, T.getStringValue)(n3, "tts", i3) : "string" == typeof n3.tts ? n3.tts : void 0, s2 = i3 ? (0, T.getStringValue)(n3, "prompt", i3) : "string" == typeof n3.prompt ? n3.prompt : void 0; + if (void 0 !== o2 ? this.setExpressionOnly(o2) : void 0 !== a2 ? this.setTTSOnly(a2) : void 0 !== s2 && this.setExpressionOnly(s2), i3) for (const e4 of Object.keys(n3)) r3.has(e4) || (0, y.reportAdditionalProperty)(e4, "AudioExpression", i3); + } get isBargeInEnabled() { var e3; - return this.parentAudioViewModel.options.supportsBargeInExpression && (null === (e3 = this.parentAudioViewModel.bargeInExpression) || void 0 === e3 ? void 0 : e3.text) === g.default.true; + return this.parentAudioViewModel.options.supportsBargeInExpression && (null === (e3 = this.parentAudioViewModel.bargeInExpression) || void 0 === e3 ? void 0 : e3.text) === N.default.true; } allowExpandedVariableReference(e3) { return !(null == e3 ? void 0 : e3.hierarchicalParent); } } - t2.AudioExpression = k; + t2.AudioExpression = j; }, 18638: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.permissionServiceHelper = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(74359)), s = i2(67210), l = i2(44724), u = i2(8310), d = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(74359)), s = i2(67210), l = i2(44724), u = i2(8310), c = i2(47957); t2.permissionServiceHelper = new class { constructor() { this.permissionMap = void 0; @@ -23706,7 +25484,7 @@ var require_scripting_bundle = __commonJS({ generateArchitectPermissionMap() { return this.permissionMap || (this.permissionMap = {}, o.default.each(a.getConnectedUser().divisions, function(e3) { o.default.each(e3.permissions, function(t3) { - "architect" === t3.domain.value && (this.permissionMap[t3.object.value] || (this.permissionMap[t3.object.value] = {}), this.permissionMap[t3.object.value][t3.action.value] || (this.permissionMap[t3.object.value][t3.action.value] = []), o.default.contains(this.permissionMap[t3.object.value][t3.action.value], e3.name) || o.default.contains(this.permissionMap[t3.object.value][t3.action.value], d.generic.permissions.allDivisions) || (e3.isStarDivision ? this.permissionMap[t3.object.value][t3.action.value].push(d.generic.permissions.allDivisions) : this.permissionMap[t3.object.value][t3.action.value].push(e3.name))); + "architect" === t3.domain.value && (this.permissionMap[t3.object.value] || (this.permissionMap[t3.object.value] = {}), this.permissionMap[t3.object.value][t3.action.value] || (this.permissionMap[t3.object.value][t3.action.value] = []), o.default.contains(this.permissionMap[t3.object.value][t3.action.value], e3.name) || o.default.contains(this.permissionMap[t3.object.value][t3.action.value], c.generic.permissions.allDivisions) || (e3.isStarDivision ? this.permissionMap[t3.object.value][t3.action.value].push(c.generic.permissions.allDivisions) : this.permissionMap[t3.object.value][t3.action.value].push(e3.name))); }.bind(this)); }.bind(this)), o.default.each(this.permissionMap, function(e3, t3) { o.default.each(e3, function(i3, n3) { @@ -23831,6 +25609,14 @@ var require_scripting_bundle = __commonJS({ } } t2.default = r2; + }, 18732: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.buildChangeSetValidationOptionsFromFeatureConfig = function() { + const e3 = [], t3 = []; + for (const i3 of [o.default.changeSetsFeaturePhase1, o.default.changeSetsFeaturePhase2]) r2.isFeatureAvailable(i3) && (e3.push(i3), t3.push(i3)); + return { enabledAdsFeatures: t3, enabledFeatureToggles: e3 }; + }; + const n2 = i2(31635), r2 = n2.__importStar(i2(10798)), o = n2.__importDefault(i2(4648)); }, 18759: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -23886,13 +25672,13 @@ var require_scripting_bundle = __commonJS({ }, 18894: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.knowledgeSettingManager = t2.KnowledgeSettingManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(82298)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(47532)), u = n2.__importDefault(i2(83231)), d = i2(47957), c = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(82298)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(47532)), u = n2.__importDefault(i2(83231)), c = i2(47957), d = i2(27862); class p extends l.default { get dependencyType() { - return c.KnowledgeSetting; + return d.KnowledgeSetting; } constructor() { - super(), this.topic = s.getTopic("KnowledgeSettingManager"), this._rawServerCache = {}, this.apiCallList = o.getKnowledgeSettings, this.apiCallSingle = o.getKnowledgeSetting, this.className = "KnowledgeSettingManager", this.defaultMatchingStyle = a.exactMatch, this.defaultPageSize = 200, this.dependencyContext = d.knowledgeSettings.knowledgeSetting, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "KnowledgeSettings", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(), r2.serviceListen(r2.cleanUpFlow, () => this.resetState()); + super(), this.topic = s.getTopic("KnowledgeSettingManager"), this._rawServerCache = {}, this.apiCallList = o.getKnowledgeSettings, this.apiCallSingle = o.getKnowledgeSetting, this.className = "KnowledgeSettingManager", this.defaultMatchingStyle = a.exactMatch, this.defaultPageSize = 200, this.dependencyContext = c.knowledgeSettings.knowledgeSetting, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "KnowledgeSettings", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(), r2.serviceListen(r2.cleanUpFlow, () => this.resetState()); } _createItemViewModel(e3) { return new u.default(e3); @@ -23953,8 +25739,8 @@ var require_scripting_bundle = __commonJS({ }, 19039: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ContactType = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(71056), s = i2(43610), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(1115)), d = i2(94765), c = i2(80428), p = i2(47957); - class _ extends d.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(71056), s = i2(43610), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(1115)), c = i2(94765), d = i2(80428), p = i2(47957); + class _ extends c.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3), this._listenerUnsubscribe = l.listen(l.contactListChanged, (e4) => { return void ((t4 = e4) && (this.changeProperties(t4), u.validateNode(t4.parent))); @@ -23991,7 +25777,7 @@ var require_scripting_bundle = __commonJS({ return s.contactListManager; } } - t2.ContactType = _, _.typeIdentifier = c.expressionTypeNames.contact; + t2.ContactType = _, _.typeIdentifier = d.expressionTypeNames.contact; }, 19044: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -24080,10 +25866,10 @@ var require_scripting_bundle = __commonJS({ let n3; (null === (t3 = e3.model) || void 0 === t3 ? void 0 : t3.additionalProperties) && (n3 = true === (null === (i3 = e3.model) || void 0 === i3 ? void 0 : i3.additionalProperties)); const r3 = new e3.ctor(null, e3.model, e3.isCollection, n3), o2 = r3.model.support.expressionDataType; - (0, R.isCollectionType)(r3) ? (Se.collections.push(r3), Se.map[o2].collection = r3) : (Se.singletons.push(r3), Se.map[o2].single = r3); + (0, w.isCollectionType)(r3) ? (Se.collections.push(r3), Se.map[o2].collection = r3) : (Se.singletons.push(r3), Se.map[o2].single = r3); }), ye.length = 0, Se; }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = n2.__importDefault(i2(65302)), s = i2(83645), l = i2(42974), u = i2(73545), d = i2(14375), c = i2(82133), p = i2(47101), _ = i2(85889), h = i2(1492), m = i2(28614), g = i2(76319), f = i2(64287), T = i2(29115), y = i2(67644), S = i2(38661), A = i2(30758), N = i2(27314), O = i2(65307), I = i2(84), v = i2(93105), C = i2(43440), b = i2(33235), E = i2(91919), R = i2(94765), w = i2(94765), D = i2(39145), P = i2(59005), M = i2(54822), F = i2(11304), L = i2(40522), x = i2(53561), k = i2(81993), V = i2(70131), U = i2(54872), B = i2(27362), G = i2(25118), j = i2(98598), W = i2(92457), q = i2(17314), Y = i2(53397), H = i2(28080), J = i2(95682), z = i2(7878), K = i2(1107), $ = i2(81778), Q = i2(54876), X = i2(87022), Z = i2(60454), ee = i2(28462), te = i2(76159), ie = i2(77054), ne = i2(64229), re = i2(58436), oe = i2(78354), ae = i2(78350), se = i2(60776), le = i2(92217), ue = i2(21044), de = i2(30268), ce = i2(15129), pe = i2(53774), _e = i2(71111), he = n2.__importStar(i2(69850)), me = i2(34005), ge = [s.AssignedCustomerIntentType, l.AssignedCustomerSegmentType, u.AudioType, d.BooleanType, w.ExpressionType, c.CampaignType, p.CardType, _.CarouselType, h.ChoiceType, m.ChooserType, g.CommunicationType, T.ContactListType, y.CurrencyType, S.CustomerIntentType, A.CustomerSegmentType, O.DateType, N.DateTimeType, I.DecimalType, v.DigitalAudioType, C.DivisionType, b.DurationType, E.EmergencyGroupType, D.FileType, P.FormInputType, M.GrammarType, F.GroupType, L.ImageType, x.IntegerType, k.JsonType, V.KnowledgeBaseDocumentType, U.LanguageSkillType, B.LineItemType, G.ListPickerItemType, j.ListPickerSectionType, W.ListPickerType, q.PhoneNumberType, Y.PromptType, H.QueueType, J.QuickRepliesType, z.ResponseAssetType, $.ScheduleType, K.ScheduleGroupType, X.SkillType, Z.StringType, Q.ShippingOptionType, ee.SurveyAnswerOptionType, te.SurveyFormType, ie.SurveyQuestionGroupType, ne.SurveyQuestionType, ae.TimeType, re.TimePickerType, oe.TimeslotType, se.UserType, le.UtilizationLabelType, ue.VideoType, de.VoiceSnippetType, pe.WheelPickerType, ce.WheelPickerItemType, _e.WrapupCodeType], fe = {}; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = n2.__importDefault(i2(65302)), s = i2(83645), l = i2(42974), u = i2(73545), c = i2(14375), d = i2(82133), p = i2(47101), _ = i2(85889), h = i2(1492), m = i2(28614), g = i2(76319), f = i2(64287), T = i2(29115), y = i2(67644), S = i2(38661), A = i2(30758), N = i2(27314), v = i2(65307), O = i2(84), I = i2(93105), C = i2(43440), b = i2(33235), E = i2(91919), w = i2(94765), R = i2(94765), D = i2(39145), P = i2(59005), M = i2(54822), F = i2(11304), L = i2(40522), x = i2(53561), k = i2(81993), V = i2(70131), U = i2(54872), B = i2(27362), G = i2(25118), j = i2(98598), W = i2(92457), q = i2(17314), Y = i2(53397), H = i2(28080), J = i2(95682), $ = i2(7878), z = i2(1107), K = i2(81778), Q = i2(54876), X = i2(87022), Z = i2(60454), ee = i2(28462), te = i2(76159), ie = i2(77054), ne = i2(64229), re = i2(58436), oe = i2(78354), ae = i2(78350), se = i2(60776), le = i2(92217), ue = i2(21044), ce = i2(30268), de = i2(15129), pe = i2(53774), _e = i2(71111), he = n2.__importStar(i2(69850)), me = i2(34005), ge = [s.AssignedCustomerIntentType, l.AssignedCustomerSegmentType, u.AudioType, c.BooleanType, R.ExpressionType, d.CampaignType, p.CardType, _.CarouselType, h.ChoiceType, m.ChooserType, g.CommunicationType, T.ContactListType, y.CurrencyType, S.CustomerIntentType, A.CustomerSegmentType, v.DateType, N.DateTimeType, O.DecimalType, I.DigitalAudioType, C.DivisionType, b.DurationType, E.EmergencyGroupType, D.FileType, P.FormInputType, M.GrammarType, F.GroupType, L.ImageType, x.IntegerType, k.JsonType, V.KnowledgeBaseDocumentType, U.LanguageSkillType, B.LineItemType, G.ListPickerItemType, j.ListPickerSectionType, W.ListPickerType, q.PhoneNumberType, Y.PromptType, H.QueueType, J.QuickRepliesType, $.ResponseAssetType, K.ScheduleType, z.ScheduleGroupType, X.SkillType, Z.StringType, Q.ShippingOptionType, ee.SurveyAnswerOptionType, te.SurveyFormType, ie.SurveyQuestionGroupType, ne.SurveyQuestionType, ae.TimeType, re.TimePickerType, oe.TimeslotType, se.UserType, le.UtilizationLabelType, ue.VideoType, ce.VoiceSnippetType, pe.WheelPickerType, de.WheelPickerItemType, _e.WrapupCodeType], fe = {}; r2.default.each(ge, function(e3) { e3 && (fe[e3.typeIdentifier] = e3); }); @@ -24094,13 +25880,42 @@ var require_scripting_bundle = __commonJS({ } const ye = [], Se = a.default.getGlobalTypeGroup(); function Ae(e3, t3) { - let i3, n3 = w.ExpressionType; - if (e3.support.expressionDataType && e3.support.expressionDataType.substring(0, 3) === o.default.exprDataTypePrefixComplex ? n3 = i3 = f.ComplexType : e3.support.expressionDataType && e3.support.expressionDataType.substring(0, 3) === o.default.exprDataTypePrefixJson ? n3 = i3 = k.JsonType : (t3 || (n3 = fe[e3.support.expressionDataType] || w.ExpressionType), i3 = n3), e3.dynamicPropertyProvider) { + let i3, n3 = R.ExpressionType; + if (e3.support.expressionDataType && e3.support.expressionDataType.substring(0, 3) === o.default.exprDataTypePrefixComplex ? n3 = i3 = f.ComplexType : e3.support.expressionDataType && e3.support.expressionDataType.substring(0, 3) === o.default.exprDataTypePrefixJson ? n3 = i3 = k.JsonType : (t3 || (n3 = fe[e3.support.expressionDataType] || R.ExpressionType), i3 = n3), e3.dynamicPropertyProvider) { const t4 = he[e3.dynamicPropertyProvider]; t4 ? e3.nativeProperties = e3.nativeProperties.concat(t4) : console.error("INTERNAL ERROR: The '" + e3.dataType + "' is set up to have dynamic properties added at startup but unable to find the '" + e3.dynamicPropertyProvider + "' dynamic property provider to create them. :("); } return ye.push(new Te(i3, n3, e3, t3)), i3; } + }, 19109: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ActionTypeRegistry = void 0; + const i2 = "ArchAction"; + class n2 { + constructor() { + this._yamlNameToNodeInfo = /* @__PURE__ */ new Map(); + } + initialize(e3) { + this._yamlNameToNodeInfo.clear(); + for (const t3 of Object.values(e3)) { + if (!t3.scriptingName) continue; + const e4 = n2.toYamlTypeName(t3.scriptingName); + e4 && this._yamlNameToNodeInfo.set(e4, t3); + } + } + getNodeInfo(e3) { + return this._yamlNameToNodeInfo.get(e3); + } + static toScriptingName(e3) { + return e3 ? i2 + e3.charAt(0).toUpperCase() + e3.slice(1) : i2; + } + static toYamlTypeName(e3) { + if (!e3 || !e3.startsWith(i2)) return ""; + const t3 = e3.slice(10); + return t3 ? t3.charAt(0).toLowerCase() + t3.slice(1) : ""; + } + } + t2.ActionTypeRegistry = n2; }, 19131: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FindDivisionsActionModel = void 0; @@ -24113,16 +25928,55 @@ var require_scripting_bundle = __commonJS({ t2.FindDivisionsActionModel = o, o.__type = r2.findDivisionsActionType, o.registerType(); }, 19202: (e2, t2, i2) => { const n2 = i2(87290), r2 = i2(30702), o = i2(46387), a = i2(10438), s = i2(20730), l = i2(83959), u = i2(36019).default; - class d { + class c { } - const c = new d(); - d.prototype.getBots = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lex/bots", o), d.prototype.getAliases = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lex/bot/{botId}/aliases", r2), d.prototype.getAlias = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lex/bot/alias/{aliasId}", n2), d.prototype.getV2Bots = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lexv2/bots", l), d.prototype.getV2Aliases = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lexv2/bot/{botId}/aliases", s), d.prototype.getV2Alias = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lexv2/bot/alias/{aliasId}", a); + const d = new c(); + c.prototype.getBots = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lex/bots", o), c.prototype.getAliases = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lex/bot/{botId}/aliases", r2), c.prototype.getAlias = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lex/bot/alias/{aliasId}", n2), c.prototype.getV2Bots = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lexv2/bots", l), c.prototype.getV2Aliases = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lexv2/bot/{botId}/aliases", s), c.prototype.getV2Alias = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lexv2/bot/alias/{aliasId}", a); const p = { ignoreBadResponse: true }; - c.getBots.addOptions(p), c.getAliases.addOptions(p), c.getAlias.addOptions(p), c.getV2Bots.addOptions(p), c.getV2Aliases.addOptions(p), c.getV2Alias.addOptions(p), e2.exports = c; + d.getBots.addOptions(p), d.getAliases.addOptions(p), d.getAlias.addOptions(p), d.getV2Bots.addOptions(p), d.getV2Aliases.addOptions(p), d.getV2Alias.addOptions(p), e2.exports = d; + }, 19206: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createRefStartupTargetType = t2.createRefSelectorTargetType = t2.deleteItemType = t2.changeSetEntityType = t2.ChangeSetType = void 0, t2.isActionsAddOperation = function(e3) { + return e3 && "actions" in e3; + }, t2.isTaskAddOperation = function(e3) { + return e3 && "task" in e3; + }, t2.isStateAddOperation = function(e3) { + return e3 && "state" in e3; + }, t2.isMenuAddOperation = function(e3) { + return e3 && "menu" in e3; + }, t2.isMenuChoiceAddOperation = function(e3) { + return e3 && "menuChoice" in e3; + }, t2.isVariablesAddOperation = function(e3) { + return e3 && "variables" in e3; + }, t2.isActionUpdatePayload = function(e3) { + return e3 && "action" in e3; + }, t2.isTaskUpdatePayload = function(e3) { + return e3 && "task" in e3; + }, t2.isStateUpdatePayload = function(e3) { + return e3 && "state" in e3; + }, t2.isMenuUpdatePayload = function(e3) { + return e3 && "menu" in e3; + }, t2.isMenuChoiceUpdatePayload = function(e3) { + return e3 && "menuChoice" in e3; + }, t2.isFlowUpdatePayload = function(e3) { + return e3 && "flow" in e3; + }, t2.isAddChange = function(e3) { + return e3 && "add" in e3; + }, t2.isDeleteChange = function(e3) { + return e3 && "delete" in e3; + }, t2.isUpdateChange = function(e3) { + return e3 && "update" in e3; + }, t2.isSetStartupObjectChange = function(e3) { + return e3 && "setStartupObject" in e3; + }; + var n2 = i2(25277); + Object.defineProperty(t2, "ChangeSetType", { enumerable: true, get: function() { + return n2.ChangeSetType; + } }), t2.changeSetEntityType = { architect: "architect", copilot: "copilot", pinkfish: "pinkfish", user: "user" }, t2.deleteItemType = { task: "task", state: "state", menu: "menu", menuChoice: "menuChoice", action: "action", variable: "variable" }, t2.createRefSelectorTargetType = { action: "action", task: "task", state: "state", menu: "menu", menuChoice: "menuChoice" }, t2.createRefStartupTargetType = { startupTask: "startupTask", startupState: "startupState", periodicState: "periodicState", startupMenu: "startupMenu" }; }, 19284: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.speechToTextEngineManager = t2.SpeechToTextEngineManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(40728)), a = n2.__importStar(i2(24032)), s = i2(30801), l = n2.__importDefault(i2(47532)), u = i2(81801), d = n2.__importDefault(i2(40773)), c = i2(47957), p = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(40728)), a = n2.__importStar(i2(24032)), s = i2(30801), l = n2.__importDefault(i2(47532)), u = i2(81801), c = n2.__importDefault(i2(40773)), d = i2(47957), p = i2(27862); class _ extends l.default { get requiredAuth() { return u.externalAuthorizations.authStrings.integrationView; @@ -24131,10 +25985,10 @@ var require_scripting_bundle = __commonJS({ return p.SpeechToTextEngine; } constructor() { - super(), this.topic = a.getTopic("SpeechToTextEngineManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [s.askForSlotActionType], this.actionPropertyForUsageSearch = "", this.apiCallList = o.getSpeechToTextEngines, this.apiCallSingle = o.getSpeechToTextEngine, this.className = "SpeechToTextEngineManager", this.defaultMatchingStyle = r2.containsAssumed, this.defaultPageSize = 100, this.dependencyContext = c.speechToText.speechToTextEngineLabel, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "speechToTextEngines", this._initialize(); + super(), this.topic = a.getTopic("SpeechToTextEngineManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [s.askForSlotActionType], this.actionPropertyForUsageSearch = "", this.apiCallList = o.getSpeechToTextEngines, this.apiCallSingle = o.getSpeechToTextEngine, this.className = "SpeechToTextEngineManager", this.defaultMatchingStyle = r2.containsAssumed, this.defaultPageSize = 100, this.dependencyContext = d.speechToText.speechToTextEngineLabel, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "speechToTextEngines", this._initialize(); } _createItemViewModel(e3) { - return new d.default(e3); + return new c.default(e3); } } t2.SpeechToTextEngineManager = _, t2.speechToTextEngineManager = new _(); @@ -24287,7 +26141,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.queueManager = t2.QueueManager = void 0; const n2 = i2(31635), r2 = i2(24032), o = i2(23503), a = n2.__importDefault(i2(47532)), s = i2(81801), l = i2(27862), u = i2(55190); - class d extends a.default { + class c extends a.default { get requiredAuth() { return s.externalAuthorizations.authStrings.queuesView; } @@ -24298,7 +26152,7 @@ var require_scripting_bundle = __commonJS({ super(), this.topic = (0, r2.getTopic)("queueManager"), this.apiCallList = u.getQueues, this.apiCallSingle = u.getQueue, this.briefManager = o.briefQueueManager, this.className = "QueueManager", this.dependencyContext = null, this._initialize(); } } - t2.QueueManager = d, t2.queueManager = new d(); + t2.QueueManager = c, t2.queueManager = new c(); }, 19496: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -24327,10 +26181,10 @@ var require_scripting_bundle = __commonJS({ Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseExpressionTypeOptions = void 0, t2.isExpressionTypeOptions = function(e3) { return !!(null == e3 ? void 0 : e3.isExpressionOptions); }; - const u = i2(31635), d = i2(79364), c = i2(17604), p = u.__importDefault(i2(92140)), _ = i2(63352), h = i2(47875), m = u.__importStar(i2(35315)), g = i2(35315), f = i2(99472), T = u.__importDefault(i2(96629)), y = i2(55909), S = i2(33951), A = u.__importDefault(i2(41510)), N = u.__importDefault(i2(49416)), O = u.__importStar(i2(66381)), I = i2(74761), v = i2(9456), C = i2(80295), b = i2(80295), E = i2(14187), R = i2(63029), w = i2(15786), D = i2(47957); - class P extends R.BaseOptionsWithOptional { + const u = i2(31635), c = i2(79364), d = i2(17604), p = u.__importDefault(i2(92140)), _ = i2(63352), h = i2(47875), m = u.__importStar(i2(35315)), g = i2(35315), f = i2(99472), T = u.__importDefault(i2(96629)), y = i2(55909), S = i2(33951), A = u.__importDefault(i2(41510)), N = u.__importDefault(i2(49416)), v = u.__importStar(i2(66381)), O = i2(74761), I = i2(9456), C = i2(80295), b = i2(80295), E = i2(14187), w = i2(63029), R = i2(15786), D = i2(47957); + class P extends w.BaseOptionsWithOptional { constructor() { - super(), this._allowEmptyConfig = false, this._allowFlowLevelDefault = false, this._allowEmbeddedExpressionsInLiteralMode = true, this._allowModeBuilder = true, this._allowModeExpression = false, this._allowModeLiteral = false, this._allowModeVariable = false, this._allowNotSet = true, this._allowNoValueModeWithNoFallback = false, this._allowSecure = false, this._assignablePropertiesNoExpression = false, this._authToCheck = [], this._collectionItemsWantCollectionDescriptionInfo = false, this._defaultToExpression = false, this._defaultToNoValue = false, this._defaultToVariable = false, this._descriptionInfo = {}, this._descriptionInfoFull = {}, this._doNotTrackUsages = false, this._doNotTransitionToNoValue = false, this._doNotWantBlankRuntimeOutput = false, this._emitNonConfigItemForEmptyAndNoDefault = false, this._exprTextMustBeVarOrVarPropRef = false, this._flowLevelDefaultHasDefault = false, this._flowLevelDefaultSameModes = false, this._hideDefaultTextDescription = false, this._isExpressionPart = false, this._isOverridableFlowLevelDefaultExpression = false, this._isInternal = false, this._modeNoValueRuntimeEvaluationSetting = new w.OptionSettingWithFlowTypes(), this._modeNoValueSelectionLabel = D.expression.noValue.selection.noValue, this._useDefaultValueNodeIcons = false, this._noOriginalType = false, this._outputExprTextAllowsReadOnlyVarType = false, this._readOnly = false, this._requiresFlowQuickRepliesSetting = false, this._restrictToFlowGlobalVariables = false, this._suppressBuilderModePromptResourceChecks = true, this._usedAsReplacementValueInOtherExpressions = false, this._suppressParserValidationMessages = false, this._isUpdateWorkitemActionVariable = false, this._labelBadge = null, this._useLabelBadge = false, this._disallowExpressionFunctions = false, this._hideLabel = false, this._useSeparator = false, this._canIgnoreRequired = false, this._additionalBuilderPartDefs = [], (0, b.makeUnenumerable)(this, "_descriptionAdditionalInfoSection"), (0, b.makeUnenumerable)(this, "_additionalRequiredDataType"), (0, b.makeUnenumerable)(this, "_allowEmptyConfig"), (0, b.makeUnenumerable)(this, "_allowFlowLevelDefault"), (0, b.makeUnenumerable)(this, "_allowLiteralEmbeddedExpressions"), (0, b.makeUnenumerable)(this, "_allowedBuilderCategoryIdFilter"), (0, b.makeUnenumerable)(this, "_allowedBuilderIds"), (0, b.makeUnenumerable)(this, "_allowModeBuilder"), (0, b.makeUnenumerable)(this, "_allowModeExpression"), (0, b.makeUnenumerable)(this, "_allowModeLiteral"), (0, b.makeUnenumerable)(this, "_allowModeVariable"), (0, b.makeUnenumerable)(this, "_allowNotSet"), (0, b.makeUnenumerable)(this, "_allowNoValueModeWithNoFallback"), (0, b.makeUnenumerable)(this, "_allowSecure"), (0, b.makeUnenumerable)(this, "_assignablePropertiesNoExpression"), (0, b.makeUnenumerable)(this, "_builderLanguagesSequenceConfig"), (0, b.makeUnenumerable)(this, "_authToCheck"), (0, b.makeUnenumerable)(this, "_collectionItemsWantCollectionDescriptionInfo"), (0, b.makeUnenumerable)(this, "_customLiteralValidator"), (0, b.makeUnenumerable)(this, "_defaultText"), (0, b.makeUnenumerable)(this, "_defaultToBuilderId"), (0, b.makeUnenumerable)(this, "_defaultToExpression"), (0, b.makeUnenumerable)(this, "_defaultToNoValue"), (0, b.makeUnenumerable)(this, "_defaultToVariable"), (0, b.makeUnenumerable)(this, "_descriptionInfo"), (0, b.makeUnenumerable)(this, "_descriptionInfoFull"), (0, b.makeUnenumerable)(this, "_doNotTrackUsages"), (0, b.makeUnenumerable)(this, "_doNotTransitionToNoValue"), (0, b.makeUnenumerable)(this, "_doNotWantBlankRuntimeOutput"), (0, b.makeUnenumerable)(this, "_emitNonConfigItemForEmptyAndNoDefault"), (0, b.makeUnenumerable)(this, "_exprTextMustBeVarOrVarPropRef"), (0, b.makeUnenumerable)(this, "_exprTextRootVariableNameMustBe"), (0, b.makeUnenumerable)(this, "_examples"), (0, b.makeUnenumerable)(this, "_flowLevelDefaultHasDefault"), (0, b.makeUnenumerable)(this, "_flowLevelDefaultSameModes"), (0, b.makeUnenumerable)(this, "_hideDefaultTextDescription"), (0, b.makeUnenumerable)(this, "_initializedForDesignTimeCallback"), (0, b.makeUnenumerable)(this, "_isExpressionPart"), (0, b.makeUnenumerable)(this, "_isOverridableFlowLevelDefaultExpression"), (0, b.makeUnenumerable)(this, "_isInternal"), (0, b.makeUnenumerable)(this, "_labelOverride"), (0, b.makeUnenumerable)(this, "_labelBadge"), (0, b.makeUnenumerable)(this, "_useLabelBadge"), (0, b.makeUnenumerable)(this, "_descriptionNote"), (0, b.makeUnenumerable)(this, "_localizedLabelPrefix"), (0, b.makeUnenumerable)(this, "_literalValidatorName"), (0, b.makeUnenumerable)(this, "_modeNoValueRuntimeEvaluationSetting"), (0, b.makeUnenumerable)(this, "_modeNoValueSelectionLabel"), (0, b.makeUnenumerable)(this, "_outputExprTextAllowsReadOnlyVarType"), (0, b.makeUnenumerable)(this, "_useDefaultValueNodeIcons"), (0, b.makeUnenumerable)(this, "_noOriginalType"), (0, b.makeUnenumerable)(this, "_readOnly"), (0, b.makeUnenumerable)(this, "_restrictToFlowGlobalVariables"), (0, b.makeUnenumerable)(this, "_suppressBuilderModePromptResourceChecks"), (0, b.makeUnenumerable)(this, "_usedAsReplacementValueInOtherExpressions"), (0, b.makeUnenumerable)(this, "_valueChangedCallback"), (0, b.makeUnenumerable)(this, "_newInstanceDefaultExpressionCallback"), (0, b.makeUnenumerable)(this, "_extraRealtimeValidationEventSinkName"), (0, b.makeUnenumerable)(this, "_suppressParserValidationMessages"), (0, b.makeUnenumerable)(this, "_scriptingPropertyName"), (0, b.makeUnenumerable)(this, "_subLabel"), (0, b.makeUnenumerable)(this, "_isInput"), (0, b.makeUnenumerable)(this, "_isOutput"), (0, b.makeUnenumerable)(this, "_isUpdateWorkitemActionVariable"), (0, b.makeUnenumerable)(this, "_validVariableReferenceCallback"), (0, b.makeUnenumerable)(this, "_disallowFunctions"), (0, b.makeUnenumerable)(this, "_hideLabel"), (0, b.makeUnenumerable)(this, "_useSeparator"), (0, b.makeUnenumerable)(this, "_canIgnoreRequired"), (0, b.makeUnenumerable)(this, "_additionalBuilderPartDefs"), this.setAsInput(), this.descriptionInfoGenerationId$ = new d.BehaviorSubject(void 0); + super(), this._allowEmptyConfig = false, this._allowFlowLevelDefault = false, this._allowEmbeddedExpressionsInLiteralMode = true, this._allowModeBuilder = true, this._allowModeExpression = false, this._allowModeLiteral = false, this._allowModeVariable = false, this._allowNotSet = true, this._allowNoValueModeWithNoFallback = false, this._allowSecure = false, this._assignablePropertiesNoExpression = false, this._authToCheck = [], this._collectionItemsWantCollectionDescriptionInfo = false, this._defaultToExpression = false, this._defaultToNoValue = false, this._defaultToVariable = false, this._descriptionInfo = {}, this._descriptionInfoFull = {}, this._doNotTrackUsages = false, this._doNotTransitionToNoValue = false, this._doNotWantBlankRuntimeOutput = false, this._emitNonConfigItemForEmptyAndNoDefault = false, this._exprTextMustBeVarOrVarPropRef = false, this._flowLevelDefaultHasDefault = false, this._flowLevelDefaultSameModes = false, this._hideDefaultTextDescription = false, this._isExpressionPart = false, this._isOverridableFlowLevelDefaultExpression = false, this._isInternal = false, this._modeNoValueRuntimeEvaluationSetting = new R.OptionSettingWithFlowTypes(), this._modeNoValueSelectionLabel = D.expression.noValue.selection.noValue, this._useDefaultValueNodeIcons = false, this._noOriginalType = false, this._outputExprTextAllowsReadOnlyVarType = false, this._readOnly = false, this._requiresFlowQuickRepliesSetting = false, this._restrictToFlowGlobalVariables = false, this._runtimeValueInheritsFromCallingFlow = false, this._suppressBuilderModePromptResourceChecks = true, this._usedAsReplacementValueInOtherExpressions = false, this._suppressParserValidationMessages = false, this._isUpdateWorkitemActionVariable = false, this._labelBadge = null, this._useLabelBadge = false, this._disallowExpressionFunctions = false, this._hideLabel = false, this._useSeparator = false, this._additionalBuilderPartDefs = [], (0, b.makeUnenumerable)(this, "_descriptionAdditionalInfoSection"), (0, b.makeUnenumerable)(this, "_additionalRequiredDataType"), (0, b.makeUnenumerable)(this, "_allowEmptyConfig"), (0, b.makeUnenumerable)(this, "_allowFlowLevelDefault"), (0, b.makeUnenumerable)(this, "_allowLiteralEmbeddedExpressions"), (0, b.makeUnenumerable)(this, "_allowedBuilderCategoryIdFilter"), (0, b.makeUnenumerable)(this, "_allowedBuilderIds"), (0, b.makeUnenumerable)(this, "_allowModeBuilder"), (0, b.makeUnenumerable)(this, "_allowModeExpression"), (0, b.makeUnenumerable)(this, "_allowModeLiteral"), (0, b.makeUnenumerable)(this, "_allowModeVariable"), (0, b.makeUnenumerable)(this, "_allowNotSet"), (0, b.makeUnenumerable)(this, "_allowNoValueModeWithNoFallback"), (0, b.makeUnenumerable)(this, "_allowSecure"), (0, b.makeUnenumerable)(this, "_assignablePropertiesNoExpression"), (0, b.makeUnenumerable)(this, "_builderLanguagesSequenceConfig"), (0, b.makeUnenumerable)(this, "_authToCheck"), (0, b.makeUnenumerable)(this, "_collectionItemsWantCollectionDescriptionInfo"), (0, b.makeUnenumerable)(this, "_collectionItemOptionsCallback"), (0, b.makeUnenumerable)(this, "_customLiteralValidator"), (0, b.makeUnenumerable)(this, "_defaultText"), (0, b.makeUnenumerable)(this, "_defaultToBuilderId"), (0, b.makeUnenumerable)(this, "_defaultToExpression"), (0, b.makeUnenumerable)(this, "_defaultToNoValue"), (0, b.makeUnenumerable)(this, "_defaultToVariable"), (0, b.makeUnenumerable)(this, "_descriptionInfo"), (0, b.makeUnenumerable)(this, "_descriptionInfoFull"), (0, b.makeUnenumerable)(this, "_doNotTrackUsages"), (0, b.makeUnenumerable)(this, "_doNotTransitionToNoValue"), (0, b.makeUnenumerable)(this, "_doNotWantBlankRuntimeOutput"), (0, b.makeUnenumerable)(this, "_emitNonConfigItemForEmptyAndNoDefault"), (0, b.makeUnenumerable)(this, "_exprTextMustBeVarOrVarPropRef"), (0, b.makeUnenumerable)(this, "_exprTextRootVariableNameMustBe"), (0, b.makeUnenumerable)(this, "_examples"), (0, b.makeUnenumerable)(this, "_flowLevelDefaultHasDefault"), (0, b.makeUnenumerable)(this, "_flowLevelDefaultSameModes"), (0, b.makeUnenumerable)(this, "_hideDefaultTextDescription"), (0, b.makeUnenumerable)(this, "_initializedForDesignTimeCallback"), (0, b.makeUnenumerable)(this, "_isExpressionPart"), (0, b.makeUnenumerable)(this, "_isOverridableFlowLevelDefaultExpression"), (0, b.makeUnenumerable)(this, "_isInternal"), (0, b.makeUnenumerable)(this, "_labelOverride"), (0, b.makeUnenumerable)(this, "_labelBadge"), (0, b.makeUnenumerable)(this, "_useLabelBadge"), (0, b.makeUnenumerable)(this, "_descriptionNote"), (0, b.makeUnenumerable)(this, "_localizedLabelPrefix"), (0, b.makeUnenumerable)(this, "_literalValidatorName"), (0, b.makeUnenumerable)(this, "_modeNoValueRuntimeEvaluationSetting"), (0, b.makeUnenumerable)(this, "_modeNoValueSelectionLabel"), (0, b.makeUnenumerable)(this, "_outputExprTextAllowsReadOnlyVarType"), (0, b.makeUnenumerable)(this, "_useDefaultValueNodeIcons"), (0, b.makeUnenumerable)(this, "_noOriginalType"), (0, b.makeUnenumerable)(this, "_readOnly"), (0, b.makeUnenumerable)(this, "_restrictToFlowGlobalVariables"), (0, b.makeUnenumerable)(this, "_runtimeValueInheritsFromCallingFlow"), (0, b.makeUnenumerable)(this, "_suppressBuilderModePromptResourceChecks"), (0, b.makeUnenumerable)(this, "_usedAsReplacementValueInOtherExpressions"), (0, b.makeUnenumerable)(this, "_valueChangedCallback"), (0, b.makeUnenumerable)(this, "_newInstanceDefaultExpressionCallback"), (0, b.makeUnenumerable)(this, "_extraRealtimeValidationEventSinkName"), (0, b.makeUnenumerable)(this, "_suppressParserValidationMessages"), (0, b.makeUnenumerable)(this, "_scriptingPropertyName"), (0, b.makeUnenumerable)(this, "_subLabel"), (0, b.makeUnenumerable)(this, "_isInput"), (0, b.makeUnenumerable)(this, "_isOutput"), (0, b.makeUnenumerable)(this, "_isUpdateWorkitemActionVariable"), (0, b.makeUnenumerable)(this, "_validVariableReferenceCallback"), (0, b.makeUnenumerable)(this, "_disallowFunctions"), (0, b.makeUnenumerable)(this, "_hideLabel"), (0, b.makeUnenumerable)(this, "_useSeparator"), (0, b.makeUnenumerable)(this, "_additionalBuilderPartDefs"), this.setAsInput(), this.descriptionInfoGenerationId$ = new c.BehaviorSubject(void 0); } resolveDefaultText(e3) { p.default.isString(this.defaultText) && this.setDefaultText(N.default.resolveString(this.defaultText, null == e3 ? void 0 : e3.parentFlow)); @@ -24351,13 +26205,13 @@ var require_scripting_bundle = __commonJS({ e4.length && console.error(`unexpected actionMetaData values ${e4}`), this.setAsInput(false); } } - e3._modeNoValueRuntimeEvaluationSetting && e3._modeNoValueRuntimeEvaluationSetting.copyValuesTo(this._modeNoValueRuntimeEvaluationSetting), this._setOptionIfSet(this.setAllowedBuilderCategoryIdFilter, e3.allowedBuilderCategoryIdFilter), this._setOptionIfSet(this.setAllowedBuilderIds, e3.allowedBuilderIds), this._setOptionIfSet(this.setAllowEmptyConfig, e3.allowEmptyConfig), this._setOptionIfSet(this.setAllowFlowLevelDefault, e3.allowFlowLevelDefault), this._setOptionIfSet(this.setAllowEmbeddedExpressionsInLiteralMode, e3.allowEmbeddedExpressionsInLiteralMode), this._setOptionIfSet(this.setAllowNotSet, e3.allowNotSet), this._setOptionIfSet(this.setAllowNoValueModeWithNoFallback, e3._allowNoValueModeWithNoFallback), this._setOptionIfSet(this.setAllowSecure, e3.allowSecure), this._setOptionIfSet(this.setAssignablePropertiesNoExpression, e3.assignablePropertiesNoExpression), this._setOptionIfSet(this.setBuilderLanguagesSequenceConfig, e3.builderLanguagesSequenceConfig), this._setOptionIfSet(this.setCollectionItemFromCollectionOptions, e3.collectionItemsWantCollectionDescriptionInfo), this._setOptionIfSet(this.setDefaultToBuilderId, e3.defaultToBuilderId), this._setOptionIfSet(this.setDefaultToExpression, e3.defaultToExpression), this._setOptionIfSet(this.setDefaultToNoValue, e3.defaultToNoValue), this._setOptionIfSet(this.setDefaultToVariable, e3.defaultToVariable), this._setOptionIfSet(this.setDescriptionAdditionalInfoSection, e3.descriptionAdditionalInfoSection), e3.descriptionInfo && this.setDescriptionInfo(e3.descriptionInfo.name, e3.descriptionInfo.description), this._setOptionIfSet(this.setDoNotTrackUsages, e3.doNotTrackUsages), this._setOptionIfSet(this.setDoNotWantBlankRuntimeOutput, e3.doNotWantBlankRuntimeOutput), this._setOptionIfSet(this.setRestrictToFlowGlobalVariables, e3.restrictToFlowGlobalVariables), this._setOptionIfSet(this.setDoNotTransitionToNoValue, e3.doNotTransitionToNoValue), this._setOptionIfSet(this.setExprTextMustBeVarOrVarPropRef, e3.exprTextMustBeVarOrVarPropRef), this._setOptionIfSet(this.setExprTextRootVariableNameMustBe, e3.exprTextRootVariableNameMustBe), this._setOptionIfSet(this.setOutputExprTextAllowsReadOnlyVarType, e3.outputExprTextAllowsReadOnlyVarType), this._setOptionIfSet(this.setEmitNonConfigItemForEmptyAndNoDefault, e3.emitNonConfigItemForEmptyAndNoDefault), this._setOptionIfSet(this.setFlowLevelDefaultHasDefault, e3.flowLevelDefaultHasDefault), this._setOptionIfSet(this.setFlowLevelDefaultSameModes, e3.flowLevelDefaultSameModes), this._setOptionIfSet(this.setHideDefaultTextDescription, e3.hideDefaultTextDescription), this._setOptionIfSet(this.setIsExpressionPart, e3.isExpressionPart), this._setOptionIfSet(this.setIsFlowLevelDefaultExpression, e3.isOverridableFlowLevelDefaultExpression), this._setOptionIfSet(this.setIsInternal, e3.isInternal), this._setOptionIfSet(this.setModeNoValueSelectionLabel, e3.modeNoValueSelectionLabel), this._setOptionIfSet(this.setNoOriginalType, e3.noOriginalType), this._setOptionIfSet(this.setSuppressBuilderModePromptResourceChecks, e3.suppressBuilderModePromptResourceChecks), this._setOptionIfSet(this.setSuppressParserValidationMessages, e3.suppressParserValidationMessages), this._setOptionIfSet(this.setReadOnly, e3.readOnly), this._setOptionIfSet(this.setRequiredFlowChannelType, e3.requiredFlowChannelType), this._setOptionIfSet(this.setUsedAsReplacementValueInOtherExpressions, e3.usedAsReplacementValueInOtherExpressions), this._setOptionIfSet(this.setUseDefaultValueNodeIcons, e3.useDefaultValueNodeIcons), this._setOptionIfSet(this.setRequiresFlowQuickRepliesSetting, e3.requiresFlowQuickRepliesSetting), this._setOptionIfSet(this.setCustomLiteralValidator, e3.customLiteralValidator, "_customLiteralValidator"), this._setOptionIfSet(this.setDefaultText, e3.defaultText, "_defaultText"), this._setOptionIfSet(this.setExtraRealtimeValidationEventSinkName, e3.extraRealtimeValidationEventSinkName, "_extraRealtimeValidationEventSinkName"), this._setOptionIfSet(this.setExamples, e3.examples, "_examples"), this._setOptionIfSet(this.setInitializedForDesignTimeCallback, e3.initializedForDesignTimeCallback, "_initializedForDesignTimeCallback"), this._setOptionIfSet(this.setLabelBadge, e3.labelBadge, "_labelBadge"), this._setOptionIfSet(this.setUseLabelBadge, e3.useLabelBadge, "_useLabelBadge"), this._setOptionIfSet(this.setDescriptionNote, e3.descriptionNote, "_descriptionNote"), this._setOptionIfSet(this.setLabelOverride, e3.labelOverride, "_labelOverride"), this._setOptionIfSet(this.setLiteralValidatorName, e3.literalValidatorName, "_literalValidatorName"), this._setOptionIfSet(this.setLocalizedLabelPrefix, e3.localizedLabelPrefix, "_localizedLabelPrefix"), this._setOptionIfSet(this.setValueChangedCallback, e3.valueChangedCallback, "_valueChangedCallback"), this._setOptionIfSet(this.setNewInstanceDefaultExpressionCallback, e3.newInstanceDefaultExpressionCallback, "_newInstanceDefaultExpressionCallback"), this._setOptionIfSet(this.setScriptingPropertyName, e3.scriptingPropertyName, "_scriptingPropertyName"), this._setOptionIfSet(this.setSubLabel, e3.subLabel, "_subLabel"), this._setOptionIfSet(this.setValidVariableReferenceCallback, e3._validVariableReferenceCallback, "_validVariableReferenceCallback"), this._setOptionIfSet(this.setDisallowExpressionFunctions, e3._disallowExpressionFunctions, "_disallowExpressionFunctions"), this._setOptionIfSet(this.setHideLabel, e3.hideLabel, "_hideLabel"), this._setOptionIfSet(this.setUseSeparator, e3.useSeparator, "_useSeparator"), this._setOptionIfSet(this.setCanIgnoreRequired, e3.canIgnoreRequired, "_canIgnoreRequired"), this._setOptionIfSet(this.setAdditionalBuilderPartDefs, e3.additionalBuilderPartDefs, "_additionalBuilderPartDefs"), e3.customizationsRoot && e3.customizations && this.setAndApplyCustomizations(e3.customizationsRoot, e3.customizations); + e3._modeNoValueRuntimeEvaluationSetting && e3._modeNoValueRuntimeEvaluationSetting.copyValuesTo(this._modeNoValueRuntimeEvaluationSetting), this._setOptionIfSet(this.setAllowedBuilderCategoryIdFilter, e3.allowedBuilderCategoryIdFilter), this._setOptionIfSet(this.setAllowedBuilderIds, e3.allowedBuilderIds), this._setOptionIfSet(this.setAllowEmptyConfig, e3.allowEmptyConfig), this._setOptionIfSet(this.setAllowFlowLevelDefault, e3.allowFlowLevelDefault), this._setOptionIfSet(this.setAllowEmbeddedExpressionsInLiteralMode, e3.allowEmbeddedExpressionsInLiteralMode), this._setOptionIfSet(this.setAllowNotSet, e3.allowNotSet), this._setOptionIfSet(this.setAllowNoValueModeWithNoFallback, e3._allowNoValueModeWithNoFallback), this._setOptionIfSet(this.setAllowSecure, e3.allowSecure), this._setOptionIfSet(this.setAssignablePropertiesNoExpression, e3.assignablePropertiesNoExpression), this._setOptionIfSet(this.setBuilderLanguagesSequenceConfig, e3.builderLanguagesSequenceConfig), this._setOptionIfSet(this.applyDefaultCollectionItemOptions, e3.collectionItemsWantCollectionDescriptionInfo), this._setOptionIfSet(this.setCollectionItemOptions, e3.collectionItemOptionsCallback, "_collectionItemOptionsCallback"), this._setOptionIfSet(this.setDefaultToBuilderId, e3.defaultToBuilderId), this._setOptionIfSet(this.setDefaultToExpression, e3.defaultToExpression), this._setOptionIfSet(this.setDefaultToNoValue, e3.defaultToNoValue), this._setOptionIfSet(this.setDefaultToVariable, e3.defaultToVariable), this._setOptionIfSet(this.setDescriptionAdditionalInfoSection, e3.descriptionAdditionalInfoSection), e3.descriptionInfo && this.setDescriptionInfo(e3.descriptionInfo.name, e3.descriptionInfo.description), this._setOptionIfSet(this.setDoNotTrackUsages, e3.doNotTrackUsages), this._setOptionIfSet(this.setDoNotWantBlankRuntimeOutput, e3.doNotWantBlankRuntimeOutput), this._setOptionIfSet(this.setRestrictToFlowGlobalVariables, e3.restrictToFlowGlobalVariables), this._setOptionIfSet(this.setRuntimeValueInheritsFromCallingFlow, e3.runtimeValueInheritsFromCallingFlow), this._setOptionIfSet(this.setDoNotTransitionToNoValue, e3.doNotTransitionToNoValue), this._setOptionIfSet(this.setExprTextMustBeVarOrVarPropRef, e3.exprTextMustBeVarOrVarPropRef), this._setOptionIfSet(this.setExprTextRootVariableNameMustBe, e3.exprTextRootVariableNameMustBe), this._setOptionIfSet(this.setOutputExprTextAllowsReadOnlyVarType, e3.outputExprTextAllowsReadOnlyVarType), this._setOptionIfSet(this.setEmitNonConfigItemForEmptyAndNoDefault, e3.emitNonConfigItemForEmptyAndNoDefault), this._setOptionIfSet(this.setFlowLevelDefaultHasDefault, e3.flowLevelDefaultHasDefault), this._setOptionIfSet(this.setFlowLevelDefaultSameModes, e3.flowLevelDefaultSameModes), this._setOptionIfSet(this.setHideDefaultTextDescription, e3.hideDefaultTextDescription), this._setOptionIfSet(this.setIsExpressionPart, e3.isExpressionPart), this._setOptionIfSet(this.setIsFlowLevelDefaultExpression, e3.isOverridableFlowLevelDefaultExpression), this._setOptionIfSet(this.setIsInternal, e3.isInternal), this._setOptionIfSet(this.setModeNoValueSelectionLabel, e3.modeNoValueSelectionLabel), this._setOptionIfSet(this.setNoOriginalType, e3.noOriginalType), this._setOptionIfSet(this.setSuppressBuilderModePromptResourceChecks, e3.suppressBuilderModePromptResourceChecks), this._setOptionIfSet(this.setSuppressParserValidationMessages, e3.suppressParserValidationMessages), this._setOptionIfSet(this.setReadOnly, e3.readOnly), this._setOptionIfSet(this.setRequiredFlowChannelType, e3.requiredFlowChannelType), this._setOptionIfSet(this.setUsedAsReplacementValueInOtherExpressions, e3.usedAsReplacementValueInOtherExpressions), this._setOptionIfSet(this.setUseDefaultValueNodeIcons, e3.useDefaultValueNodeIcons), this._setOptionIfSet(this.setRequiresFlowQuickRepliesSetting, e3.requiresFlowQuickRepliesSetting), this._setOptionIfSet(this.setCustomLiteralValidator, e3.customLiteralValidator, "_customLiteralValidator"), this._setOptionIfSet(this.setDefaultText, e3.defaultText, "_defaultText"), this._setOptionIfSet(this.setExtraRealtimeValidationEventSinkName, e3.extraRealtimeValidationEventSinkName, "_extraRealtimeValidationEventSinkName"), this._setOptionIfSet(this.setExamples, e3.examples, "_examples"), this._setOptionIfSet(this.setInitializedForDesignTimeCallback, e3.initializedForDesignTimeCallback, "_initializedForDesignTimeCallback"), this._setOptionIfSet(this.setLabelBadge, e3.labelBadge, "_labelBadge"), this._setOptionIfSet(this.setUseLabelBadge, e3.useLabelBadge, "_useLabelBadge"), this._setOptionIfSet(this.setDescriptionNote, e3.descriptionNote, "_descriptionNote"), this._setOptionIfSet(this.setLabelOverride, e3.labelOverride, "_labelOverride"), this._setOptionIfSet(this.setLiteralValidatorName, e3.literalValidatorName, "_literalValidatorName"), this._setOptionIfSet(this.setLocalizedLabelPrefix, e3.localizedLabelPrefix, "_localizedLabelPrefix"), this._setOptionIfSet(this.setValueChangedCallback, e3.valueChangedCallback, "_valueChangedCallback"), this._setOptionIfSet(this.setNewInstanceDefaultExpressionCallback, e3.newInstanceDefaultExpressionCallback, "_newInstanceDefaultExpressionCallback"), this._setOptionIfSet(this.setScriptingPropertyName, e3.scriptingPropertyName, "_scriptingPropertyName"), this._setOptionIfSet(this.setSubLabel, e3.subLabel, "_subLabel"), this._setOptionIfSet(this.setValidVariableReferenceCallback, e3._validVariableReferenceCallback, "_validVariableReferenceCallback"), this._setOptionIfSet(this.setDisallowExpressionFunctions, e3._disallowExpressionFunctions, "_disallowExpressionFunctions"), this._setOptionIfSet(this.setHideLabel, e3.hideLabel, "_hideLabel"), this._setOptionIfSet(this.setUseSeparator, e3.useSeparator, "_useSeparator"), this._setOptionIfSet(this.setAdditionalBuilderPartDefs, e3.additionalBuilderPartDefs, "_additionalBuilderPartDefs"), e3.customizationsRoot && e3.customizations && this.setAndApplyCustomizations(e3.customizationsRoot, e3.customizations); } _configureInputOutputState(e3, t3, i3, n3, r3) { return this._isInput = e3, this._isOutput = !e3, this.setAllowModeLiteral(!!t3).setAllowModeVariable(!!i3).setAllowModeExpression(!!n3, r3); } _incrementDescriptionInfoGenId() { - this._descriptionInfoFull.generationId = (0, v.uuid)(), this.descriptionInfoGenerationId$.next(this._descriptionInfoFull.generationId); + this._descriptionInfoFull.generationId = (0, I.uuid)(), this.descriptionInfoGenerationId$.next(this._descriptionInfoFull.generationId); } getAllowableModeCount(e3) { let t3 = 0; @@ -24582,6 +26436,12 @@ var require_scripting_bundle = __commonJS({ set doNotTransitionToNoValue(e3) { this._doNotTransitionToNoValue = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "doNotTransitionToNoValue", "value")); } + get runtimeValueInheritsFromCallingFlow() { + return this._runtimeValueInheritsFromCallingFlow; + } + set runtimeValueInheritsFromCallingFlow(e3) { + this._runtimeValueInheritsFromCallingFlow = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "runtimeValueInheritsFromCallingFlow", "value")); + } get doNotTrackUsages() { return this._doNotTrackUsages; } @@ -24747,11 +26607,11 @@ var require_scripting_bundle = __commonJS({ getFullDescription(e3) { var t3, i3, n3, r3, o2, a2; let s2, l2; - if (this._descriptionInfoFull.name = this._descriptionInfo.name || (e3 ? e3.label : ""), this._descriptionInfoFull.description = this._descriptionInfo.description, (null === (t3 = this._descriptionInfo.description) || void 0 === t3 ? void 0 : t3.length) && (this._descriptionInfo.description = N.default.resolveString(this._descriptionInfo.description, e3.parentFlow)), e3 && (this._descriptionInfoFull.subHeader = (0, c.sprintf)(D.expression.editExpressionType, e3.type.displayString)), this._descriptionInfoFull.additionalInfo = [], this._descriptionInfoFull.additionalInfoSections = [], this.isCollection) { + if (this._descriptionInfoFull.name = this._descriptionInfo.name || (e3 ? e3.label : ""), this._descriptionInfoFull.description = this._descriptionInfo.description, (null === (t3 = this._descriptionInfo.description) || void 0 === t3 ? void 0 : t3.length) && (this._descriptionInfo.description = N.default.resolveString(this._descriptionInfo.description, e3.parentFlow)), e3 && (this._descriptionInfoFull.subHeader = (0, d.sprintf)(D.expression.editExpressionType, e3.type.displayString)), this._descriptionInfoFull.additionalInfo = [], this._descriptionInfoFull.additionalInfoSections = [], this.isCollection) { const e4 = []; - p.default.isActualNumber(this.minItems) && e4.push((0, c.sprintf)(D.expression.collectionMinLength, this.minItems)), p.default.isActualNumber(this.maxItems) && e4.push((0, c.sprintf)(D.expression.collectionMaxLength, this.maxItems)), e4.length && this._descriptionInfoFull.additionalInfoSections.push({ title: D.expression.collectionSingular, entries: e4 }), s2 = [], l2 = { title: D.expressionsHelp.collectionItemsTitle, entries: s2 }, this._descriptionInfoFull.additionalInfoSections.push(l2); + p.default.isActualNumber(this.minItems) && e4.push((0, d.sprintf)(D.expression.collectionMinLength, this.minItems)), p.default.isActualNumber(this.maxItems) && e4.push((0, d.sprintf)(D.expression.collectionMaxLength, this.maxItems)), e4.length && this._descriptionInfoFull.additionalInfoSections.push({ title: D.expression.collectionSingular, entries: e4 }), s2 = [], l2 = { title: D.expressionsHelp.collectionItemsTitle, entries: s2 }, this._descriptionInfoFull.additionalInfoSections.push(l2); } else s2 = this._descriptionInfoFull.additionalInfo; - switch (this._getDefaultTextForDisplay() && !this.hideDefaultTextDescription && s2.push((0, c.sprintf)(D.defaultForDescription, this._getDefaultTextForDisplay())), this.isCollection || this.allowNotSet || s2.push(this.isExpressionTypeCurrencyOptions ? D.expressionsHelp.parameters.notAllowedNotSetCurrency : D.expressionsHelp.parameters.notAllowedNotSet), p.default.isObject(this.descriptionAdditionalInfoSection) && this._descriptionInfoFull.additionalInfoSections.push(this.descriptionAdditionalInfoSection), this.readOnly && s2.push(D.generic.readonly), this.facets && this.facets.addDescriptionInfo(this._descriptionInfoFull, s2), this.literalValidatorName) { + switch (this._getDefaultTextForDisplay() && !this.hideDefaultTextDescription && s2.push((0, d.sprintf)(D.defaultForDescription, this._getDefaultTextForDisplay())), this.isCollection || this.allowNotSet || s2.push(this.isExpressionTypeCurrencyOptions ? D.expressionsHelp.parameters.notAllowedNotSetCurrency : D.expressionsHelp.parameters.notAllowedNotSet), p.default.isObject(this.descriptionAdditionalInfoSection) && this._descriptionInfoFull.additionalInfoSections.push(this.descriptionAdditionalInfoSection), this.readOnly && s2.push(D.generic.readonly), this.facets && this.facets.addDescriptionInfo(this._descriptionInfoFull, s2), this.literalValidatorName) { case h.literalValidatorNames.dialingCodes: s2.push(D.expressionsHelp.parameters.valueMustBeLiteralDialingCode); break; @@ -24764,7 +26624,7 @@ var require_scripting_bundle = __commonJS({ if (e3 && this._descriptionInfo.name) { const t4 = null === (a2 = null === (o2 = null === (r3 = null === (n3 = null === (i3 = e3.propertyParent) || void 0 === i3 ? void 0 : i3.originalType) || void 0 === n3 ? void 0 : n3._model) || void 0 === r3 ? void 0 : r3.nativeProperties) || void 0 === o2 ? void 0 : o2.find((e4) => e4.id === this._descriptionInfo.name)) || void 0 === a2 ? void 0 : a2.supportedSessionSources; if (null == t4 ? void 0 : t4.length) { - const e4 = t4.map((e5) => "unknown" === e5 ? D.generic.unknown : A.default.sessionSources[e5]), i4 = { title: D.generic.note, entries: [(0, c.sprintf)(D.generic.sessionSourcesNote, O.getListDisplayString(e4), O.getListDisplayString(t4, false, true, true))] }; + const e4 = t4.map((e5) => "unknown" === e5 ? D.generic.unknown : A.default.sessionSources[e5]), i4 = { title: D.generic.note, entries: [(0, d.sprintf)(D.generic.sessionSourcesNote, v.getListDisplayString(e4), v.getListDisplayString(t4, false, true, true))] }; this._descriptionInfoFull.additionalInfoSections.push(i4); } } @@ -24779,7 +26639,7 @@ var require_scripting_bundle = __commonJS({ this._descriptionInfoFull.additionalInfoSections.splice(e4, 1); } const u2 = e3.parentFlow.getUnsupportedFlowTypes(e3.supportedFlowTypes); - return u2.length ? this._descriptionInfoFull.info = (0, c.sprintf)(D.commonModule.notAvailableInFlowTypes, O.getFlowTypesDisplayString(u2)) : delete this._descriptionInfoFull.info, this._descriptionInfoFull; + return u2.length ? this._descriptionInfoFull.info = (0, d.sprintf)(D.commonModule.notAvailableInFlowTypes, v.getFlowTypesDisplayString(u2)) : delete this._descriptionInfoFull.info, this._descriptionInfoFull; } _getDefaultTextForDisplay() { return this.defaultText; @@ -24940,6 +26800,15 @@ var require_scripting_bundle = __commonJS({ setCollectionItemsWantCollectionDescriptionInfo(e3) { return this.collectionItemsWantCollectionDescriptionInfo = e3, this; } + get collectionItemOptionsCallback() { + return this._collectionItemOptionsCallback; + } + set collectionItemOptionsCallback(e3) { + this._collectionItemOptionsCallback = e3; + } + setCollectionItemOptions(e3) { + return this.collectionItemOptionsCallback = e3, this; + } setCustomLiteralValidator(e3) { return this.customLiteralValidator = e3, this; } @@ -24964,6 +26833,9 @@ var require_scripting_bundle = __commonJS({ setDefaultText(e3) { return this.defaultText = e3, this; } + setRuntimeValueInheritsFromCallingFlow(e3) { + return this.runtimeValueInheritsFromCallingFlow = e3, this; + } setDoNotTrackUsages(e3) { return this.doNotTrackUsages = e3, this; } @@ -25027,9 +26899,9 @@ var require_scripting_bundle = __commonJS({ setNewInstanceDefaultExpressionCallback(e3) { return this.newInstanceDefaultExpressionCallback = e3, this; } - setCollectionItemFromCollectionOptions(e3) { + applyDefaultCollectionItemOptions(e3) { var t3, i3, n3, r3; - if (e3) return this._setFacetsFromOptions(e3), this._setOptionIfSet(this.setIninTestingField, e3.ininTestingField, "_ininTestingField"), this._setOptionIfSet(this.setUiPropertyGroup, e3.uiPropertyGroup, "_uiPropertyGroup"), this._setOptionIfSet(this.setFeatureConfigName, e3.featureConfigName, "_featureConfigName"), this._setOptionIfSet(this.setAllowSecure, e3.allowSecure, "_allowSecure"), this._setOptionIfSet(this.setBuilderLanguagesSequenceConfig, e3.builderLanguagesSequenceConfig, "_builderLanguagesSequenceConfig"), this._setOptionIfSet(this.setCustomLiteralValidator, e3.customLiteralValidator, "_customLiteralValidator"), e3.collectionItemsWantCollectionDescriptionInfo && this.setDescriptionInfo(null === (t3 = e3.descriptionInfo) || void 0 === t3 ? void 0 : t3.name, null === (i3 = e3.descriptionInfo) || void 0 === i3 ? void 0 : i3.description), true === e3._assignablePropertiesNoExpression && this.setAssignablePropertiesNoExpression(true), (false === e3._allowModeExpression || e3._assignablePropertiesNoExpression) && this.setAllowModeExpression(false), e3.isExpressionTypeJsonOptions && e3.isCustomJsonType && this.setAllowEmbeddedExpressionsInLiteralMode(e3.allowEmbeddedExpressionsInLiteralMode), this.setIsCollection(false), (null === (n3 = e3.customizations) || void 0 === n3 ? void 0 : n3.items) && this.setAndApplyCustomizations(e3.customizationsRoot, null === (r3 = e3.customizations) || void 0 === r3 ? void 0 : r3.items), this; + if (e3) return this._setFacetsFromOptions(e3), this._setOptionIfSet(this.setIninTestingField, e3.ininTestingField, "_ininTestingField"), this._setOptionIfSet(this.setUiPropertyGroup, e3.uiPropertyGroup, "_uiPropertyGroup"), this._setOptionIfSet(this.setFeatureConfigName, e3.featureConfigName, "_featureConfigName"), this._setOptionIfSet(this.setAllowSecure, e3.allowSecure, "_allowSecure"), this._setOptionIfSet(this.setBuilderLanguagesSequenceConfig, e3.builderLanguagesSequenceConfig, "_builderLanguagesSequenceConfig"), this._setOptionIfSet(this.setCustomLiteralValidator, e3.customLiteralValidator, "_customLiteralValidator"), e3.collectionItemsWantCollectionDescriptionInfo && this.setDescriptionInfo(null === (t3 = e3.descriptionInfo) || void 0 === t3 ? void 0 : t3.name, null === (i3 = e3.descriptionInfo) || void 0 === i3 ? void 0 : i3.description), true === e3._assignablePropertiesNoExpression && this.setAssignablePropertiesNoExpression(true), (false === e3._allowModeExpression || e3._assignablePropertiesNoExpression) && this.setAllowModeExpression(false), this.setIsCollection(false), (null === (n3 = e3.customizations) || void 0 === n3 ? void 0 : n3.items) && this.setAndApplyCustomizations(e3.customizationsRoot, null === (r3 = e3.customizations) || void 0 === r3 ? void 0 : r3.items), e3._collectionItemOptionsCallback && e3._collectionItemOptionsCallback(this), this; } get examples() { return this._examples; @@ -25133,12 +27005,6 @@ var require_scripting_bundle = __commonJS({ setUseSeparator(e3) { return this._useSeparator = e3, this; } - get canIgnoreRequired() { - return this._canIgnoreRequired; - } - setCanIgnoreRequired(e3) { - return this._canIgnoreRequired = e3, this; - } get additionalBuilderPartDefs() { return this._additionalBuilderPartDefs; } @@ -25149,7 +27015,7 @@ var require_scripting_bundle = __commonJS({ return this._additionalBuilderPartDefs = e3, this; } } - t2.BaseExpressionTypeOptions = P, u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowEmptyConfig", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowFlowLevelDefault", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", "function" == typeof (n2 = void 0 !== I.IAdditionalInfoSection && I.IAdditionalInfoSection) ? n2 : Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "descriptionAdditionalInfoSection", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", "function" == typeof (r2 = void 0 !== g.IExpressionOptionsCustomization && g.IExpressionOptionsCustomization) ? r2 : Object), u.__metadata("design:paramtypes", [])], P.prototype, "customizations", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "doNotWantBlankRuntimeOutput", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "suppressBuilderModePromptResourceChecks", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowedBuilderCategoryIdFilter", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Array), u.__metadata("design:paramtypes", [Array])], P.prototype, "allowedBuilderIds", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowSecure", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "assignablePropertiesNoExpression", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Array), u.__metadata("design:paramtypes", [])], P.prototype, "authToCheck", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowNoValueModeWithNoFallback", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "collectionItemsWantCollectionDescriptionInfo", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "builderLanguagesSequenceConfig", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Function), u.__metadata("design:paramtypes", [Object])], P.prototype, "customLiteralValidator", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultText", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultToBuilderId", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultToExpression", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultToNoValue", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", "function" == typeof (o = void 0 !== E.Scope && E.Scope) ? o : Object), u.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== E.Scope && E.Scope) ? a : Object])], P.prototype, "defaultVariableScope", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultToVariable", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "doNotTransitionToNoValue", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "doNotTrackUsages", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "emitNonConfigItemForEmptyAndNoDefault", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "exprTextMustBeVarOrVarPropRef", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], P.prototype, "exprTextRootVariableNameMustBe", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Function), u.__metadata("design:paramtypes", [Object])], P.prototype, "initializedForDesignTimeCallback", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "literalValidatorName", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "flowLevelDefaultHasDefault", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "flowLevelDefaultSameModes", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "hideDefaultTextDescription", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Boolean])], P.prototype, "allowEmbeddedExpressionsInLiteralMode", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "isInternal", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "isOptional", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "isExpressionPart", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "isOverridableFlowLevelDefaultExpression", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [])], P.prototype, "isFlowLevelInheritingExpression", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [])], P.prototype, "inheritsFromFlowLevelDefaultExpression", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "noOriginalType", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "readOnly", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", "function" == typeof (s = void 0 !== T.default && T.default) ? s : Object), u.__metadata("design:paramtypes", ["function" == typeof (l = void 0 !== T.default && T.default) ? l : Object])], P.prototype, "requiredFlowChannelType", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Boolean])], P.prototype, "requiresFlowQuickRepliesSetting", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [])], P.prototype, "descriptionInfo", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "modeNoValueSelectionLabel", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [])], P.prototype, "modeNoValueSelectionLabelForContext", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "useDefaultValueNodeIcons", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "usedAsReplacementValueInOtherExpressions", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "extraRealtimeValidationEventSinkName", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "scriptingPropertyName", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "examples", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], P.prototype, "labelOverride", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], P.prototype, "localizedLabelPrefix", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Boolean])], P.prototype, "suppressParserValidationMessages", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Boolean])], P.prototype, "restrictToFlowGlobalVariables", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "subLabel", null); + t2.BaseExpressionTypeOptions = P, u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowEmptyConfig", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowFlowLevelDefault", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", "function" == typeof (n2 = void 0 !== O.IAdditionalInfoSection && O.IAdditionalInfoSection) ? n2 : Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "descriptionAdditionalInfoSection", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", "function" == typeof (r2 = void 0 !== g.IExpressionOptionsCustomization && g.IExpressionOptionsCustomization) ? r2 : Object), u.__metadata("design:paramtypes", [])], P.prototype, "customizations", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "doNotWantBlankRuntimeOutput", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "suppressBuilderModePromptResourceChecks", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowedBuilderCategoryIdFilter", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Array), u.__metadata("design:paramtypes", [Array])], P.prototype, "allowedBuilderIds", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowSecure", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "assignablePropertiesNoExpression", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Array), u.__metadata("design:paramtypes", [])], P.prototype, "authToCheck", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowNoValueModeWithNoFallback", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "collectionItemsWantCollectionDescriptionInfo", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "builderLanguagesSequenceConfig", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Function), u.__metadata("design:paramtypes", [Object])], P.prototype, "customLiteralValidator", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultText", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultToBuilderId", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultToExpression", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultToNoValue", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", "function" == typeof (o = void 0 !== E.Scope && E.Scope) ? o : Object), u.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== E.Scope && E.Scope) ? a : Object])], P.prototype, "defaultVariableScope", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultToVariable", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "doNotTransitionToNoValue", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "runtimeValueInheritsFromCallingFlow", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "doNotTrackUsages", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "emitNonConfigItemForEmptyAndNoDefault", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "exprTextMustBeVarOrVarPropRef", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], P.prototype, "exprTextRootVariableNameMustBe", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Function), u.__metadata("design:paramtypes", [Object])], P.prototype, "initializedForDesignTimeCallback", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "literalValidatorName", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "flowLevelDefaultHasDefault", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "flowLevelDefaultSameModes", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "hideDefaultTextDescription", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Boolean])], P.prototype, "allowEmbeddedExpressionsInLiteralMode", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "isInternal", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "isOptional", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "isExpressionPart", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "isOverridableFlowLevelDefaultExpression", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [])], P.prototype, "isFlowLevelInheritingExpression", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [])], P.prototype, "inheritsFromFlowLevelDefaultExpression", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "noOriginalType", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "readOnly", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", "function" == typeof (s = void 0 !== T.default && T.default) ? s : Object), u.__metadata("design:paramtypes", ["function" == typeof (l = void 0 !== T.default && T.default) ? l : Object])], P.prototype, "requiredFlowChannelType", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Boolean])], P.prototype, "requiresFlowQuickRepliesSetting", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [])], P.prototype, "descriptionInfo", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "modeNoValueSelectionLabel", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [])], P.prototype, "modeNoValueSelectionLabelForContext", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "useDefaultValueNodeIcons", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "usedAsReplacementValueInOtherExpressions", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "extraRealtimeValidationEventSinkName", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "scriptingPropertyName", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "examples", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], P.prototype, "labelOverride", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], P.prototype, "localizedLabelPrefix", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Boolean])], P.prototype, "suppressParserValidationMessages", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Boolean])], P.prototype, "restrictToFlowGlobalVariables", null), u.__decorate([(0, C.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "subLabel", null); }, 19533: function(e2, t2, i2) { "use strict"; var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { @@ -25193,7 +27059,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(56549)), o = n2.__importDefault(i2(94225)), a = i2(30801), s = n2.__importDefault(i2(65485)), l = i2(87889), u = i2(71528); - class d extends s.default { + class c extends s.default { constructor(e3) { super(e3); } @@ -25249,7 +27115,7 @@ var require_scripting_bundle = __commonJS({ }); } } - t2.default = d; + t2.default = c; }, 19596: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DataContract = void 0; @@ -25367,8 +27233,8 @@ var require_scripting_bundle = __commonJS({ }, 19613: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importDefault(i2(5478)), a = n2.__importDefault(i2(85499)), s = i2(21305), l = i2(80428), u = i2(47957); - class d extends o.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(1115)), a = n2.__importDefault(i2(5478)), s = n2.__importDefault(i2(85499)), l = n2.__importDefault(i2(65302)), u = i2(21305), c = i2(80428), d = i2(47957); + class p extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3); } @@ -25382,15 +27248,15 @@ var require_scripting_bundle = __commonJS({ const t3 = []; if (e3.includeInput) { let i3; - i3 = e3.inputOptionsFactory ? e3.inputOptionsFactory() : s.ExpressionTypeJsonOptions.create((e4) => { - e4.setAsInput().setUiPropertyGroup(u.variable.input).setIsCustomJsonType(true).setUiSingleItemSectionPropertyGroup(true).setHideLabel(true).setIninTestingField("customJsonInput"); - }), t3.push({ label: u.variable.input, property: a.default.CUSTOM_JSON_INPUT, yamlOptions: d.createYamlOptions(a.default.CUSTOM_JSON_INPUT, (e4) => e4.setPropertyName(a.default.CUSTOM_JSON_INPUT).setExportOrder(10)), options: i3, type: l.expressionTypeNames.json, typeOfJsonShouldBeCustom: true }); + i3 = e3.inputOptionsFactory ? e3.inputOptionsFactory() : u.ExpressionTypeJsonOptions.create((e4) => { + e4.setAsInput().setUiPropertyGroup(d.variable.input).setIsCustomJsonType(true).setUiSingleItemSectionPropertyGroup(true).setHideLabel(true).setIninTestingField("customJsonInput"); + }), t3.push({ label: d.variable.input, property: s.default.CUSTOM_JSON_INPUT, yamlOptions: p.createYamlOptions(s.default.CUSTOM_JSON_INPUT, (e4) => e4.setPropertyName(s.default.CUSTOM_JSON_INPUT).setExportOrder(10)), options: i3, type: c.expressionTypeNames.json, typeOfJsonShouldBeCustom: true }); } if (e3.includeOutput) { let i3; - i3 = e3.outputOptionsFactory ? e3.outputOptionsFactory() : s.ExpressionTypeJsonOptions.create((e4) => { - e4.setAsOutput().setUiPropertyGroup(u.variable.output).setIsCustomJsonType(true).setUiSingleItemSectionPropertyGroup(true).setLabelOverride(u.json.customJson.outputJson).setIninTestingField("customJsonOutput"); - }), t3.push({ label: u.variable.output, property: a.default.CUSTOM_JSON_TABLE_OUTPUT, isOutput: true, yamlOptions: d.createYamlOptions(a.default.CUSTOM_JSON_TABLE_OUTPUT, (e4) => e4.setPropertyName(a.default.CUSTOM_JSON_TABLE_OUTPUT).setExportOrder(20)), options: i3, type: l.expressionTypeNames.json, typeOfJsonShouldBeCustom: true }); + i3 = e3.outputOptionsFactory ? e3.outputOptionsFactory() : u.ExpressionTypeJsonOptions.create((e4) => { + e4.setAsOutput().setUiPropertyGroup(d.variable.output).setIsCustomJsonType(true).setUiSingleItemSectionPropertyGroup(true).setLabelOverride(d.json.customJson.outputJson).setIninTestingField("customJsonOutput"); + }), t3.push({ label: d.variable.output, property: s.default.CUSTOM_JSON_TABLE_OUTPUT, isOutput: true, yamlOptions: p.createYamlOptions(s.default.CUSTOM_JSON_TABLE_OUTPUT, (e4) => e4.setPropertyName(s.default.CUSTOM_JSON_TABLE_OUTPUT).setExportOrder(20)), options: i3, type: c.expressionTypeNames.json, typeOfJsonShouldBeCustom: true }); } return t3; } @@ -25401,7 +27267,7 @@ var require_scripting_bundle = __commonJS({ } _initializeDesignTime() { super._initializeDesignTime(), this.setCachedCustomJsonTypesForInputOutput(), this._updateForItemSelection(), this.addAutoCleanedUpEventSinkWatch(r2.valueChanged, this.selectedItemNetworkProperty, () => n2.__awaiter(this, void 0, void 0, function* () { - this._clearInputsAndOutputs(), this.selectedItemNetworkProperty.getItem() && (this.isReadOnly ? this.setCachedCustomJsonTypesForInputOutput() : yield this.createOrUpdateCustomJsonTypes()), this._updateForItemSelection(); + this._clearInputsAndOutputs(), this.selectedItemNetworkProperty.getItem() && (this.isReadOnly ? this.setCachedCustomJsonTypesForInputOutput() : yield this.createOrUpdateCustomJsonTypes()), this._updateForItemSelection(), o.validateAction(this, void 0, true); })); } _updateForItemSelection() { @@ -25410,14 +27276,16 @@ var require_scripting_bundle = __commonJS({ } _clearInputsAndOutputs() { var e3, t3; - this.inputCustomJsonTypeManager = null, this.outputCustomJsonTypeManager = null, this.input && (null === (e3 = this.input.type.getCustomDataTypeDefinition()) || void 0 === e3 || e3.removeUsage(this.input), this.input.clear(true)), this.output && (null === (t3 = this.output.type.getCustomDataTypeDefinition()) || void 0 === t3 || t3.removeUsage(this.output), this.output.clear(true)), this._updateForItemSelection(); + this.inputCustomJsonTypeManager = null, this.outputCustomJsonTypeManager = null; + const i3 = l.default.getType(this.parent, "jsn", false); + this.input && (null === (e3 = this.input.type.getCustomDataTypeDefinition()) || void 0 === e3 || e3.removeUsage(this.input), this.input.clear(true, i3)), this.output && (null === (t3 = this.output.type.getCustomDataTypeDefinition()) || void 0 === t3 || t3.removeUsage(this.output), this.output.clear(true, i3)), this._updateForItemSelection(); } _preDestroy() { var e3, t3; super._preDestroy(), this.input && (null === (e3 = this.input.type.getCustomDataTypeDefinition()) || void 0 === e3 || e3.removeUsage(this.input)), this.output && (null === (t3 = this.output.type.getCustomDataTypeDefinition()) || void 0 === t3 || t3.removeUsage(this.output)); } } - t2.default = d; + t2.default = p; }, 19681: (e2) => { "use strict"; e2.exports = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 }; @@ -25531,7 +27399,7 @@ var require_scripting_bundle = __commonJS({ throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); }; Object.defineProperty(t2, "__esModule", { value: true }), t2.fromReadableStreamLike = t2.fromAsyncIterable = t2.fromIterable = t2.fromPromise = t2.fromArrayLike = t2.fromInteropObservable = t2.innerFrom = void 0; - var s = i2(94975), l = i2(67552), u = i2(48051), d = i2(80629), c = i2(78263), p = i2(86297), _ = i2(12187), h = i2(95462), m = i2(10281), g = i2(32980), f = i2(2884); + var s = i2(94975), l = i2(67552), u = i2(48051), c = i2(80629), d = i2(78263), p = i2(86297), _ = i2(12187), h = i2(95462), m = i2(10281), g = i2(32980), f = i2(2884); function T(e3) { return new u.Observable(function(t3) { var i3 = e3[f.observable](); @@ -25617,21 +27485,21 @@ var require_scripting_bundle = __commonJS({ }); }); } - function O(e3) { + function v(e3) { return N(h.readableStreamLikeToAsyncGenerator(e3)); } t2.innerFrom = function(e3) { if (e3 instanceof u.Observable) return e3; if (null != e3) { - if (d.isInteropObservable(e3)) return T(e3); + if (c.isInteropObservable(e3)) return T(e3); if (s.isArrayLike(e3)) return y(e3); if (l.isPromise(e3)) return S(e3); - if (c.isAsyncIterable(e3)) return N(e3); + if (d.isAsyncIterable(e3)) return N(e3); if (_.isIterable(e3)) return A(e3); - if (h.isReadableStreamLike(e3)) return O(e3); + if (h.isReadableStreamLike(e3)) return v(e3); } throw p.createInvalidObservableTypeError(e3); - }, t2.fromInteropObservable = T, t2.fromArrayLike = y, t2.fromPromise = S, t2.fromIterable = A, t2.fromAsyncIterable = N, t2.fromReadableStreamLike = O; + }, t2.fromInteropObservable = T, t2.fromArrayLike = y, t2.fromPromise = S, t2.fromIterable = A, t2.fromAsyncIterable = N, t2.fromReadableStreamLike = v; }, 19760: (e2, t2, i2) => { function n2() { n2.baseConstructor.apply(this, arguments); @@ -25701,6 +27569,8 @@ var require_scripting_bundle = __commonJS({ return !!e3 && (e3.id !== t3.id && (![n2.flowTypes.flowTypeCommonModule, n2.flowTypes.flowTypeDigitalBot, n2.flowTypes.flowTypeBot].includes(e3.type) && (!e3.hasBriefModel && !(e3.versions && e3.versions.publishedVersion || t3.displayName === e3.displayName)))); }, t2.getUnpublishedWarning = function(e3, t3) { if (!(e3.versions && e3.versions.publishedVersion || t3.displayName === e3.displayName)) return e3.isInQueueCallFlow ? (0, r2.sprintf)(o.errors.unPublishedFlow, e3.displayName) : (0, r2.sprintf)(o.errors.transferToUnpublishedFlow, e3.displayName); + }, t2.repointSelfReferenceIfMatch = function(e3, t3, i3, n3, r3) { + i3 && n3 && e3 !== i3 && (t3 || "").toLowerCase() === n3.toLowerCase() && r3(i3, n3); }; const n2 = i2(96618), r2 = i2(17604), o = i2(47957); }, 19886: (e2, t2, i2) => { @@ -25734,6 +27604,15 @@ var require_scripting_bundle = __commonJS({ return e3; }); }; + }, 19942: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.YamlParseError = void 0; + class i2 extends Error { + constructor(e3, t3, n2, r2) { + super(e3), this.name = "YamlParseError", this.reason = t3, this.line = n2, this.column = r2, Object.setPrototypeOf(this, i2.prototype); + } + } + t2.YamlParseError = i2; }, 19975: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowVersionManager = void 0; @@ -25844,10 +27723,10 @@ var require_scripting_bundle = __commonJS({ }, 20030: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(10798)), a = n2.__importStar(i2(24032)), s = i2(19384), l = n2.__importStar(i2(58380)), u = n2.__importStar(i2(1115)), d = i2(12457), c = i2(4333), p = n2.__importDefault(i2(5730)), _ = i2(47957), h = "id"; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(10798)), a = n2.__importStar(i2(24032)), s = i2(19384), l = n2.__importStar(i2(58380)), u = n2.__importStar(i2(1115)), c = i2(12457), d = i2(4333), p = n2.__importDefault(i2(5730)), _ = i2(47957), h = "id"; class m extends p.default { static createManagedProperties(e3) { - const t3 = [{ createDetails: c.ContainerActionProperty.createCreateDetails({ itemDoesNotExistBaseString: _.task.label, modelIdPropName: "taskReference", modelNamePropName: "taskName", noReferenceString: _.task.noReference, referencesTasks: true, validReferenceCallback: e3.validReferenceCallback }), yamlOptions: m.createYamlOptions("containerActionProperty", (e4) => e4.setPropertyName("targetTaskRef")), property: "containerActionProperty" }]; + const t3 = [{ createDetails: d.ContainerActionProperty.createCreateDetails({ itemDoesNotExistBaseString: _.task.label, modelIdPropName: "taskReference", modelNamePropName: "taskName", noReferenceString: _.task.noReference, referencesTasks: true, validReferenceCallback: e3.validReferenceCallback }), yamlOptions: m.createYamlOptions("containerActionProperty", (e4) => e4.setPropertyName("targetTaskRef")), property: "containerActionProperty" }]; return e3.inputsFeatureConfigName && !o.isFeatureAvailable(e3.inputsFeatureConfigName) || t3.push({ dataList: true, label: _.inputOutputList.inputs, property: "inputs", yamlOptions: m.createYamlOptions("inputs", (e4) => e4.setPropertyName("taskInputs").setWrapDataPairNameAndValueInTypeString(true)) }), e3.suppressOutputs || t3.push({ dataList: true, isOutput: true, label: _.inputOutputList.outputs, property: "outputs", yamlOptions: m.createYamlOptions("outputs", (e4) => e4.setPropertyName("taskOutputs").setWrapDataPairNameAndValueInString("taskOutput")) }), t3; } constructor(e3) { @@ -25857,7 +27736,7 @@ var require_scripting_bundle = __commonJS({ super.updateTraceTopic(), this._topicIOList = a.getTopic("taskRefIO").withMultipleContext(this.topic.context); } getDetails() { - return this.referencedTaskViewModel ? new d.ActionDetails([_.task.label], [this.taskName]) : null; + return this.referencedTaskViewModel ? new c.ActionDetails([_.task.label], [this.taskName]) : null; } linkTask(e3) { this.parentFlow.tryRemoveUiMetadataInfo(this, "task", this.taskReference, [this.model.__type], "taskReference", false), e3 && this.parentFlow.setUiMetadataInfo("task", { id: e3.id, name: e3.name }), this.setTask(e3 && e3.id); @@ -26001,8 +27880,8 @@ var require_scripting_bundle = __commonJS({ }, 20084: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(33667)), a = n2.__importStar(i2(24032)), s = n2.__importStar(i2(12847)), l = n2.__importStar(i2(17498)), u = i2(71314), d = n2.__importDefault(i2(68460)); - class c extends d.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(33667)), a = n2.__importStar(i2(24032)), s = n2.__importStar(i2(12847)), l = n2.__importStar(i2(17498)), u = i2(71314), c = n2.__importDefault(i2(68460)); + class d extends c.default { constructor(e3, t3, i3) { super(e3), this._managedPropertyViewModels = [], this._modelPropertyName = t3, this._modelSettingsClass = i3, this.createTraceTopic(); } @@ -26096,13 +27975,13 @@ var require_scripting_bundle = __commonJS({ return this.id; } } - t2.default = c; + t2.default = d; }, 20100: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importStar(i2(63352)), o = i2(14394), a = i2(36128), s = n2.__importDefault(i2(27203)), l = i2(32678), u = n2.__importStar(i2(1115)), d = i2(12179), c = n2.__importDefault(i2(97891)), p = i2(28803), _ = n2.__importDefault(i2(92566)), h = i2(51294), m = i2(47957); - class g extends _.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(63352)), o = i2(14394), a = i2(36128), s = n2.__importDefault(i2(27203)), l = i2(32678), u = n2.__importStar(i2(1115)), c = i2(12179), d = n2.__importDefault(i2(97891)), p = i2(28803), _ = n2.__importDefault(i2(92566)), h = n2.__importDefault(i2(4648)), m = i2(51294), g = i2(47957); + class f extends _.default { get botRunnableNetworkGetCall() { - return h.getCxAgent; + return m.getCxAgent; } addLiveAgentHandoffMetadataOutput() { const e3 = this.liveAgentHandoffMetadata.add(null, o.globalTypes.string); @@ -26124,7 +28003,7 @@ var require_scripting_bundle = __commonJS({ return true; } static get managedProperties() { - return [{ property: "liveAgentHandoffMetadata", namedItems: true, isOutput: true, options: a.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(m.dialogflow.sessionKeyLabel).setValueLabel(m.getAttributes.variableLabel)), yamlOptions: _.default.createYamlOptions("liveAgentHandoffMetadata", (e3) => e3.setWrappedCollectionItemName("liveAgentHandoffMetadataOutput").setNameValuePairShouldUseVariableProperty(true).setExportOrder(7)) }, { property: "bot", createDetails: p.NetworkBasedActionProperty.createCreateDetails("botId", "botName", l.dialogflowCxAgentManager, m.dialogflowCx.mustSelectCxAgent, m.dialogflowCx.cxAgentNotFound, null), skipNetworkPropertyDependencyUpdate: true, yamlOptions: g.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "outputSessionVariables", namedItems: true, isOutput: true, options: a.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(m.dialogflow.sessionKeyLabel).setValueLabel(m.getAttributes.variableLabel)), yamlOptions: g.createYamlOptions("outputSessionVariables", (e3) => e3.setPropertyName("outputSessionParameters").setWrappedCollectionItemName("outputSessionParameter").setNameValuePairShouldUseVariableProperty(true).setExportOrder(6)) }, { label: m.dialogflow.sessionLabel, property: "sessionVariables", namedItems: true, isOutput: false, options: a.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(m.dialogflow.sessionKeyLabel).setValueLabel(m.updateVariables.variableValue)), yamlOptions: g.createYamlOptions("sessionVariables", (e3) => e3.setPropertyName("sessionParameters").setWrappedCollectionItemName("sessionParameter").setExportOrder(5)) }]; + return [{ property: "liveAgentHandoffMetadata", namedItems: true, isOutput: true, options: a.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(g.dialogflow.sessionKeyLabel).setValueLabel(g.getAttributes.variableLabel)), yamlOptions: _.default.createYamlOptions("liveAgentHandoffMetadata", (e3) => e3.setWrappedCollectionItemName("liveAgentHandoffMetadataOutput").setNameValuePairShouldUseVariableProperty(true).setExportOrder(7)) }, { property: "bot", createDetails: p.NetworkBasedActionProperty.createCreateDetails("botId", "botName", l.dialogflowCxAgentManager, g.dialogflowCx.mustSelectCxAgent, g.dialogflowCx.cxAgentNotFound, null), skipNetworkPropertyDependencyUpdate: true, yamlOptions: f.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "outputSessionVariables", namedItems: true, isOutput: true, options: a.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(g.dialogflow.sessionKeyLabel).setValueLabel(g.getAttributes.variableLabel)), yamlOptions: f.createYamlOptions("outputSessionVariables", (e3) => e3.setPropertyName("outputSessionParameters").setWrappedCollectionItemName("outputSessionParameter").setNameValuePairShouldUseVariableProperty(true).setExportOrder(6)) }, { label: g.dialogflow.sessionLabel, property: "sessionVariables", namedItems: true, isOutput: false, options: a.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(g.dialogflow.sessionKeyLabel).setValueLabel(g.updateVariables.variableValue)), yamlOptions: f.createYamlOptions("sessionVariables", (e3) => e3.setPropertyName("sessionParameters").setWrappedCollectionItemName("sessionParameter").setExportOrder(5)) }]; } setEnvironment(e3) { super.setEnvironment(e3), this.environmentName = null == e3 ? void 0 : e3.name; @@ -26133,7 +28012,7 @@ var require_scripting_bundle = __commonJS({ (this.botRunnableProperty.nameValue || this.botRunnableProperty.idValue) && this.botRunnableManager.registerConsumer(this, this.botRunnableProperty.nameValue, this.getDependencyTrackingId(), { environments: this.environmentId }); } } - g.info = c.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: d.helpTopics.actions.dialogflowCx, modelClass: i2(56716), name: m.actions.dialogflowCx, scriptingName: "ArchActionCallDialogflowCxBot" }), t2.A = g; + f.info = d.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: c.helpTopics.actions.dialogflowCx, modelClass: i2(56716), name: g.actions.dialogflowCx, scriptingName: "ArchActionCallDialogflowCxBot", modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = f; }, 20125: (e2, t2, i2) => { function n2() { this.id = void 0, this.state = void 0, n2.baseConstructor.apply(this, arguments); @@ -26141,8 +28020,8 @@ var require_scripting_bundle = __commonJS({ i2(45214).extend(n2, "NuanceMixBotJob"), e2.exports = n2; }, 20164: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(21647), o = i2(81516), a = n2.__importDefault(i2(27203)), s = i2(12179), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5478)), d = i2(80428), c = i2(46089), p = i2(47957); - class _ extends u.default { + const n2 = i2(31635), r2 = i2(21647), o = i2(81516), a = n2.__importDefault(i2(27203)), s = i2(12179), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5478)), c = i2(80428), d = i2(46089), p = i2(82632), _ = i2(17604), h = n2.__importDefault(i2(4648)), m = i2(47957); + class g extends u.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -26150,18 +28029,18 @@ var require_scripting_bundle = __commonJS({ return a.default.successFailure; } _getPossibleErrors() { - return c.updateExternalContactFailureReasons; + return d.updateExternalContactFailureReasons; } validate(e3) { var t3; const i3 = null === (t3 = this.patchChanges) || void 0 === t3 ? void 0 : t3.items; - i3 && 0 !== i3.length || e3.addWarning(this, p.updateVariables.noUpdateStatements), super.validate(e3); + i3 && 0 !== i3.length ? i3.length > p.updateExternalContact.patchChanges.maxItems && e3.addError(this, (0, _.sprintf)(m.updateExternalContact.externalContactMaxChangesExceeded, i3.length, p.updateExternalContact.patchChanges.maxItems)) : e3.addWarning(this, m.updateVariables.noUpdateStatements), super.validate(e3); } static get managedProperties() { - return [{ label: p.commonExternalContact.nameLabel, options: o.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalContactIdExpression").setDisableSpellcheck(true).setDefaultToExpression(true).facets.setMinLength(1)), property: "externalContactId", type: d.expressionTypeNames.string }, { label: p.commonExternalContact.externalContactResult, options: r2.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(d.expressionTypeNames.externalContact).setIninTestingField("ExternalContactExpression").setAsOutput().setAllowSecure(true)), property: "externalContact", type: d.expressionTypeNames.externalContact }, { label: p.generic.changes, externalContactPatchChanges: true, yamlOptions: _.createYamlOptions("patchChanges", (e3) => e3.setPropertyName("changes")), property: "patchChanges" }]; + return [{ label: m.commonExternalContact.nameLabel, options: o.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalContactIdExpression").setDisableSpellcheck(true).setDefaultToExpression(true).facets.setMinLength(1)), property: "externalContactId", type: c.expressionTypeNames.string }, { label: m.commonExternalContact.externalContactResult, options: r2.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(c.expressionTypeNames.externalContact).setIninTestingField("ExternalContactExpression").setAsOutput().setAllowSecure(true)), property: "externalContact", type: c.expressionTypeNames.externalContact }, { label: m.generic.changes, externalContactPatchChanges: true, yamlOptions: g.createYamlOptions("patchChanges", (e3) => e3.setPropertyName("changes")), property: "patchChanges" }]; } } - _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: s.helpTopics.actions.updateExternalContact, modelClass: i2(29954).A, name: p.actions.updateExternalContact, scriptingName: "ArchActionUpdateExternalContact" }), t2.A = _; + g.info = l.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: s.helpTopics.actions.updateExternalContact, modelClass: i2(29954).A, name: m.actions.updateExternalContact, scriptingName: "ArchActionUpdateExternalContact", modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = g; }, 20236: (e2, t2, i2) => { const n2 = i2(45214), r2 = i2(7401); function o() { @@ -26276,8 +28155,8 @@ var require_scripting_bundle = __commonJS({ t2.default = o; }, 20407: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = n2.__importDefault(i2(5730)), s = i2(26954), l = n2.__importDefault(i2(97891)), u = i2(80428), d = i2(47957); - class c extends a.default { + const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = n2.__importDefault(i2(5730)), s = i2(26954), l = n2.__importDefault(i2(97891)), u = i2(80428), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.user = null, this._loadModel(t3); } @@ -26286,10 +28165,13 @@ var require_scripting_bundle = __commonJS({ return (null === (e3 = this.user) || void 0 === e3 ? void 0 : e3.isLiteralMode) && this.user.text ? new o.ActionDetails([d.user.label], [this.user.text]) : super.getDetails(); } static get managedProperties() { - return [{ label: d.user.label, options: s.ExpressionTypeUserOptions.create((e3) => e3.setUiPropertyOrder(10).setIninTestingField("userTransferExpression")), yamlOptions: c.createYamlOptions("user", (e3) => e3.setPropertyName("targetUser").setExportOrder(20)), property: "user", type: u.expressionTypeNames.userQueue }]; + return [{ label: d.user.label, options: s.ExpressionTypeUserOptions.create((e3) => e3.setUiPropertyOrder(10).setIninTestingField("userTransferExpression")), yamlOptions: p.createYamlOptions("user", (e3) => e3.setPropertyName("targetUser").setExportOrder(20)), property: "user", type: u.expressionTypeNames.userQueue }]; } } - c.info = l.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: r2.helpTopics.actions.playUserGreeting, modelClass: i2(71507), name: d.actions.playUserGreeting, scriptingName: "ArchActionPlayUserGreeting" }), t2.A = c; + p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: r2.helpTopics.actions.playUserGreeting, modelClass: i2(71507), name: d.actions.playUserGreeting, scriptingName: "ArchActionPlayUserGreeting", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; + }, 20422: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.CHANGE_SET_PROPERTY_AVAILABILITY = void 0, t2.CHANGE_SET_PROPERTY_AVAILABILITY = { "change.add": { featureToggle: "changeSetsFeaturePhase1" }, "change.createRef": { featureToggle: "changeSetsFeaturePhase2" }, "change.delete": { featureToggle: "changeSetsFeaturePhase1" }, "change.setStartupObject": { featureToggle: "changeSetsFeaturePhase2" }, "change.update": { featureToggle: "changeSetsFeaturePhase1" }, "addOperation.actions": { featureToggle: "changeSetsFeaturePhase1" }, "addOperation.menu": { featureToggle: "changeSetsFeaturePhase2" }, "addOperation.menuChoice": { featureToggle: "changeSetsFeaturePhase2" }, "addOperation.state": { featureToggle: "changeSetsFeaturePhase2" }, "addOperation.task": { featureToggle: "changeSetsFeaturePhase2" }, "addOperation.variables": { featureToggle: "changeSetsFeaturePhase2" }, "typedDeleteItem.action": { featureToggle: "changeSetsFeaturePhase1" }, "typedDeleteItem.menu": { featureToggle: "changeSetsFeaturePhase2" }, "typedDeleteItem.menuChoice": { featureToggle: "changeSetsFeaturePhase2" }, "typedDeleteItem.state": { featureToggle: "changeSetsFeaturePhase2" }, "typedDeleteItem.task": { featureToggle: "changeSetsFeaturePhase2" }, "typedDeleteItem.variable": { featureToggle: "changeSetsFeaturePhase2" }, "edgePlacement.actionOutput": { featureToggle: "changeSetsFeaturePhase1" }, "edgePlacement.periodicState": { featureToggle: "changeSetsFeaturePhase1" }, "edgePlacement.startupState": { featureToggle: "changeSetsFeaturePhase1" }, "edgePlacement.startupTask": { featureToggle: "changeSetsFeaturePhase1" }, "edgePlacement.state": { featureToggle: "changeSetsFeaturePhase1" }, "edgePlacement.task": { featureToggle: "changeSetsFeaturePhase1" }, "identifierSelector.refId": { featureToggle: "changeSetsFeaturePhase2" }, "identifierSelector.trackingId": { featureToggle: "changeSetsFeaturePhase1" }, "addActionsWhere.afterAction": { featureToggle: "changeSetsFeaturePhase1" }, "addActionsWhere.beforeAction": { featureToggle: "changeSetsFeaturePhase1" }, "addActionsWhere.toTheBeginningOf": { featureToggle: "changeSetsFeaturePhase1" }, "addActionsWhere.toTheEndOf": { featureToggle: "changeSetsFeaturePhase1" }, "createRefPayload.action": { featureToggle: "changeSetsFeaturePhase2" }, "createRefPayload.menu": { featureToggle: "changeSetsFeaturePhase2" }, "createRefPayload.menuChoice": { featureToggle: "changeSetsFeaturePhase2" }, "createRefPayload.periodicState": { featureToggle: "changeSetsFeaturePhase1" }, "createRefPayload.startupMenu": { featureToggle: "changeSetsFeaturePhase2" }, "createRefPayload.startupState": { featureToggle: "changeSetsFeaturePhase1" }, "createRefPayload.startupTask": { featureToggle: "changeSetsFeaturePhase1" }, "createRefPayload.state": { featureToggle: "changeSetsFeaturePhase2" }, "createRefPayload.task": { featureToggle: "changeSetsFeaturePhase2" }, "flowYamlTask.trackingId": { featureToggle: "changeSetsFeaturePhase1" }, "flowYamlTask.name": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlTask.refId": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlTask.actions": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlState.trackingId": { featureToggle: "changeSetsFeaturePhase1" }, "flowYamlState.name": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlState.refId": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlState.actions": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlMenu.trackingId": { featureToggle: "changeSetsFeaturePhase1" }, "flowYamlMenu.name": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlMenu.refId": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlMenuChoice.trackingId": { featureToggle: "changeSetsFeaturePhase1" }, "flowYamlMenuChoice.name": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlMenuChoice.refId": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.abortSend": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.abortSurveyInvite": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.addFlowMilestone": { adsFeature: "changeSetsFeaturePhase1" }, "flowYamlSingleActionItem.audioMonitoring": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callBotConnector": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callAgenticVirtualAgent": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callAudioConnector": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callBotFlow": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callCommonModule": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callDecisionTable": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callDigitalBotFlow": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callGuide": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callTask": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callVoiceFlow": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.changeState": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.clearActiveIntent": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.clearPostFlow": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.clearSkillExpressionFilters": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.clearSlot": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.clearUtilizationLabel": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.clearVoicemailSnippet": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.collectInput": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.collectVoiceSnippet": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.communicate": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.completeSend": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.completeSurveyInvite": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.createCallback": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.createConversationAttribute": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.decision": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.decryptData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.deflect": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.detectIntent": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.detectSilence": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.dialByExtension": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.dialByName": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callDialogEngineBot": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callDialogflowBot": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callDialogflowCxBot": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callDigitalBotConnector": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.digitalMenu": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.disconnect": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.disconnectWorkitem": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.encryptData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.endState": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.endTask": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.endWorkflow": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.evaluateSchedule": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.evaluateScheduleGroup": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.evaluateSkillExpressionFilters": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.exitBotFlow": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.loopExit": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.exitWorkitemFlow": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.extractSecureData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.flushAudio": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getAssignedCustomerIntents": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getParticipantData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getConversationAttribute": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getConversationAttributes": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getConversationData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getEmailHeaders": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getExternalContact": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getExternalOrganization": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getRawSIPHeaders": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getResponse": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getSIPHeaders": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getSecuredData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.holdMusic": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.initializeFlowOutcome": { adsFeature: "changeSetsFeaturePhase1" }, "flowYamlSingleActionItem.jumpToTask": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callLexBot": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callLexV2Bot": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.loop": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.loopUntil": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.jumpToMenu": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.loopNext": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callNuanceMixBot": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.enableParticipantRecord": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.playAudio": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.playAudioOnSilence": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.playEstimatedWaitTime": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.playPositionInQueue": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.playUserGreeting": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.playUserName": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.previousMenu": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.processVoicemailInput": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.promoteExternalContact": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.repeatMenu": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.returnToAgent": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setScreenPop": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.searchExternalContacts": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.sendAutoReply": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.sendDigitalContent": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.sendInteractiveApplication": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.sendKnowledgeFeedback": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.sendNotification": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.sendResponse": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.sendRichLink": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setIntent": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setParticipantData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setConversationData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setExternalTag": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setFlowOutcome": { adsFeature: "changeSetsFeaturePhase1" }, "flowYamlSingleActionItem.setLanguage": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setPostFlow": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setPriority": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setSecuredData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setSkillExpressionFilters": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setSkills": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setUUIData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setUtilizationLabel": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setWhisperAudio": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.setWrapupCode": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.showKnowledgeArticle": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.menu": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.submitVoiceSnippet": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.submitVoicemailSnippet": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.switch": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.terminateWorkitem": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.transcription": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.transferToNumber": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.transferToFlow": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.transferToFlowSecure": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.transferToGroup": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.transferToAcd": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.transferToUser": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.transferToVoicemail": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.updateConversationAttribute": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.updateExternalContact": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.updateData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.updateWorkitem": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.voiceBiometrics": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.wait": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.waitForInput": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.askForAuthentication": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.askForBoolean": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.askForIntent": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.loopAnythingElse": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.askForPayment": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.askForSlot": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.askSurveyQuestion": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.form": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findDivision": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findDivisions": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findEmergencyGroup": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findGrammar": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findGrammarById": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findGroup": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findKnowledgeBaseDocumentById": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findLanguageSkill": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findQueue": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findQueueById": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findSchedule": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findScheduleGroup": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findSkill": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findSystemPrompt": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findUser": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findUserById": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findUserPrompt": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findUsersById": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.findUtilizationLabel": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getJourneyOutcome": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getJourneyOutcomeScoresBySession": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getJourneySegment": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getJourneySession": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getJourneySessionsByCustomer": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.getJourneySessionsByExternalContact": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callBridge": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.dataTableLookup": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.callDataSecure": { adsFeature: "changeSetsFeaturePhase2" }, "update.action": { featureToggle: "changeSetsFeaturePhase1" }, "update.flow": { featureToggle: "changeSetsFeaturePhase2" }, "update.menu": { featureToggle: "changeSetsFeaturePhase2" }, "update.menuChoice": { featureToggle: "changeSetsFeaturePhase2" }, "update.state": { featureToggle: "changeSetsFeaturePhase2" }, "update.task": { featureToggle: "changeSetsFeaturePhase2" } }; }, 20450: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(93476), o = i2(91625), a = i2(95812), { digitalMenuActionType: s } = i2(30801), l = i2(7401); function u() { @@ -26369,8 +28251,8 @@ var require_scripting_bundle = __commonJS({ t2.default = r2; }, 20549: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = n2.__importStar(i2(80911)), u = n2.__importDefault(i2(51499)), d = i2(79467), c = i2(81516), p = i2(99469), _ = i2(36128), h = n2.__importDefault(i2(27203)), m = i2(99835), g = i2(96950), f = i2(25130), T = n2.__importStar(i2(17498)), y = n2.__importStar(i2(10798)), S = n2.__importDefault(i2(4648)), A = i2(12179), N = n2.__importDefault(i2(97891)), O = i2(28803), I = n2.__importDefault(i2(88391)), v = i2(80428), C = i2(27862), b = i2(47957); - class E extends I.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = i2(69453), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(63824)), u = i2(80428), c = n2.__importStar(i2(80911)), d = n2.__importDefault(i2(51499)), p = i2(79467), _ = i2(81516), h = i2(99469), m = i2(36128), g = n2.__importDefault(i2(27203)), f = i2(99835), T = i2(96950), y = i2(25130), S = n2.__importStar(i2(17498)), A = n2.__importStar(i2(10798)), N = n2.__importDefault(i2(4648)), v = i2(12179), O = n2.__importDefault(i2(97891)), I = i2(1910), C = i2(1910), b = i2(1910), E = i2(28803), w = n2.__importDefault(i2(88391)), R = i2(17604), D = i2(27862), P = i2(47957); + class M extends w.default { constructor(e3, t3) { super(e3, t3); } @@ -26384,16 +28266,16 @@ var require_scripting_bundle = __commonJS({ return this.botIntegration; } static get branchInfo() { - return [h.default.failure]; + return [g.default.failure]; } get botRunnableNetworkGetCall() { - return l.getBotConnectorBotVersion; + return c.getBotConnectorBotVersion; } get isBotConnectorAction() { return true; } static get managedProperties() { - return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: E.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { property: "botVersion", skipNetworkPropertyDependencyUpdate: true, createDetails: O.NetworkBasedActionProperty.createCreateDetails("versionId", "versionName", f.botConnectorVersionManager, b.botConnector.mustSelectBotVersion, b.botConnector.botVersionNotFound, "bot"), yamlOptions: E.createYamlOptions("botVersion", (e3) => e3.setSkipProperty(true)) }, { property: "bot", skipNetworkPropertyDependencyUpdate: true, createDetails: O.NetworkBasedActionProperty.createCreateDetails("botId", "botName", g.botConnectorManager, b.botConnector.mustSelectBotName, b.botConnector.botNameNotFound, "botIntegration"), yamlOptions: E.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "botIntegration", skipNetworkPropertyDependencyUpdate: true, createDetails: O.NetworkBasedActionProperty.createCreateDetails("botIntegrationId", "botIntegrationName", m.botConnectorIntegrationManager, b.botConnector.mustSelectBotIntegration, b.botConnector.botIntegrationNotFound, null), yamlOptions: E.createYamlOptions("botIntegration", (e3) => e3.setSkipProperty(true)) }, { property: "outputs", dataPairListCollection: true, isOutput: true, options: p.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), yamlOptions: E.createYamlOptions("outputs", (e3) => e3.setPropertyName("intents")) }, { label: b.bot.followupResponseTimeoutLabel, type: v.expressionTypeNames.duration, options: d.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationTwelveHours).setDescriptionInfo(b.bot.followupResponseTimeoutLabel, b.bot.followupResponseTimeoutDescription).setDurationStyle(s.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true)), yamlOptions: E.createYamlOptions("followupResponseTimeout", (e3) => e3.setExportOrder(2)), property: "followupResponseTimeout" }, { property: "sessionVariables", namedItems: true, isOutput: false, options: _.NameValuePairsOptions.create((e3) => e3.setNameLabel(b.updateVariables.variableName).setValueLabel(b.updateVariables.variableValue).setAllowLiteralModeOnlyOnName(true)), yamlOptions: E.createYamlOptions("sessionVariables", (e3) => e3.setWrappedCollectionItemName("sessionVariable").setExportOrder(3)) }, { property: "outputSessionVariables", namedItems: true, isOutput: true, options: _.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(b.updateVariables.variableName).setValueLabel(b.getAttributes.variableLabel)), yamlOptions: E.createYamlOptions("outputSessionVariables", (e3) => e3.setWrappedCollectionItemName("outputSessionVariable").setNameValuePairShouldUseVariableProperty(true).setExportOrder(4)) }, { label: b.botConnector.inputTextLabel, type: v.expressionTypeNames.string, options: c.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(b.botConnector.inputTextLabel, b.botConnector.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage], options: c.ExpressionTypeStringOptions.create((e3) => e3.setDefaultText(a.default.messageBodyVariable).setDefaultToExpression(true).setIninTestingField("inputTextExpression").setIsOptional(y.isFeatureAvailable(S.default.autoStartConversations)).setDoNotTransitionToNoValue(true)) }], yamlOptions: E.createYamlOptions("inputText", (e3) => e3.setExportOrder(1)), property: "inputText" }]; + return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: M.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { property: "botVersion", skipNetworkPropertyDependencyUpdate: true, createDetails: E.NetworkBasedActionProperty.createCreateDetails("versionId", "versionName", y.botConnectorVersionManager, P.botConnector.mustSelectBotVersion, P.botConnector.botVersionNotFound, "bot"), yamlOptions: M.createYamlOptions("botVersion", (e3) => e3.setSkipProperty(true)) }, { property: "bot", skipNetworkPropertyDependencyUpdate: true, createDetails: E.NetworkBasedActionProperty.createCreateDetails("botId", "botName", T.botConnectorManager, P.botConnector.mustSelectBotName, P.botConnector.botNameNotFound, "botIntegration"), yamlOptions: M.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "botIntegration", skipNetworkPropertyDependencyUpdate: true, createDetails: E.NetworkBasedActionProperty.createCreateDetails("botIntegrationId", "botIntegrationName", f.botConnectorIntegrationManager, P.botConnector.mustSelectBotIntegration, P.botConnector.botIntegrationNotFound, null), yamlOptions: M.createYamlOptions("botIntegration", (e3) => e3.setSkipProperty(true)) }, { property: "outputs", dataPairListCollection: true, isOutput: true, options: h.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), yamlOptions: M.createYamlOptions("outputs", (e3) => e3.setPropertyName("intents")) }, { label: P.bot.followupResponseTimeoutLabel, type: u.expressionTypeNames.duration, options: p.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(s.default.litDurationTwelveHours).setDescriptionInfo(P.bot.followupResponseTimeoutLabel, P.bot.followupResponseTimeoutDescription).setDurationStyle(l.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true)), yamlOptions: M.createYamlOptions("followupResponseTimeout", (e3) => e3.setExportOrder(2)), property: "followupResponseTimeout" }, { property: "sessionVariables", namedItems: true, isOutput: false, options: m.NameValuePairsOptions.create((e3) => e3.setNameLabel(P.updateVariables.variableName).setValueLabel(P.updateVariables.variableValue).setAllowLiteralModeOnlyOnName(true)), yamlOptions: M.createYamlOptions("sessionVariables", (e3) => e3.setWrappedCollectionItemName("sessionVariable").setExportOrder(3)) }, { property: "outputSessionVariables", namedItems: true, isOutput: true, options: m.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(P.updateVariables.variableName).setValueLabel(P.getAttributes.variableLabel)), yamlOptions: M.createYamlOptions("outputSessionVariables", (e3) => e3.setWrappedCollectionItemName("outputSessionVariable").setNameValuePairShouldUseVariableProperty(true).setExportOrder(4)) }, { label: P.botConnector.inputTextLabel, type: u.expressionTypeNames.string, options: _.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(P.botConnector.inputTextLabel, P.botConnector.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage], options: _.ExpressionTypeStringOptions.create((e3) => e3.setDefaultText(s.default.messageBodyVariable).setDefaultToExpression(true).setIninTestingField("inputTextExpression").setIsOptional(A.isFeatureAvailable(N.default.autoStartConversations)).setDoNotTransitionToNoValue(true)) }], yamlOptions: M.createYamlOptions("inputText", (e3) => e3.setExportOrder(1)), property: "inputText" }]; } getDependencyTrackingId() { return this.botCompositeTag; @@ -26415,7 +28297,7 @@ var require_scripting_bundle = __commonJS({ updateBotRunnablePropertyDependency() { var e3; const t3 = this.botRunnableProperty.nameValue || this.botRunnableProperty.idValue; - (null === (e3 = this.botCategoryProperty) || void 0 === e3 ? void 0 : e3.nameValue) && this.botCategoryProperty.idValue && t3 && T.registerConsumer(this, b.botConnector.botName, this.botCategoryProperty.nameValue, this.getDependencyTrackingId(), t3, C.BotConnectorBot); + (null === (e3 = this.botCategoryProperty) || void 0 === e3 ? void 0 : e3.nameValue) && this.botCategoryProperty.idValue && t3 && S.registerConsumer(this, P.botConnector.botName, this.botCategoryProperty.nameValue, this.getDependencyTrackingId(), t3, D.BotConnectorBot); } postProcessYamlConfig(e3, t3, i3) { if (this.botRunnableProperty.idValue || this.removeYamlExportPropsThatRequireRunnable(e3), !this.botIntegration.nameValue) return; @@ -26428,7 +28310,7 @@ var require_scripting_bundle = __commonJS({ this.commonBotPostProcessYamlConfig(e3, a2); } getAdditionalParams() { - return new u.default(this.botRunnableManager, { additionalParams: { integrationId: this.botIntegrationProperty.idValue, botId: this.botCategoryProperty.idValue } }); + return new d.default(this.botRunnableManager, { additionalParams: { integrationId: this.botIntegrationProperty.idValue, botId: this.botCategoryProperty.idValue } }); } get supportsInputsOutputs() { return true; @@ -26442,13 +28324,39 @@ var require_scripting_bundle = __commonJS({ setBotCategoryByViewModel(e3) { super.setBotCategoryByViewModel(e3); const t3 = this.botIntegrationProperty.configListManager, i3 = this.botCategoryProperty.configListManager; - this.botIntegrationProperty && this.botIntegrationProperty.idValue && T.unRegisterConsumer(this, t3.dependencyContext), this.botCompositeTag = e3 ? e3.botCompositeTag : "", this._setBotIntegrationProperties(e3), this.botCategoryProperty.idValue && i3.addItemToFlowMetadata(this, null, this.botCategoryProperty.idValue); + this.botIntegrationProperty && this.botIntegrationProperty.idValue && S.unRegisterConsumer(this, t3.dependencyContext), this.botCompositeTag = e3 ? e3.botCompositeTag : "", this._setBotIntegrationProperties(e3), this.botCategoryProperty.idValue && i3.addItemToFlowMetadata(this, null, this.botCategoryProperty.idValue); } get yamlNoBotRunnablePropName() { return "noBotIntegration"; } + _configureFromModel(e3, t3, i3) { + if ((0, I.isConfigureFromModelRecord)(e3.botIntegration)) { + const r3 = e3.botIntegration, o2 = Object.keys(r3)[0]; + if (o2) { + const e4 = (0, I.isConfigureFromModelRecord)(r3[o2]) ? r3[o2] : void 0, s2 = e4 ? Object.keys(e4)[0] : void 0, l2 = s2 && e4 && (0, I.isConfigureFromModelRecord)(e4[s2]) ? e4[s2] : void 0, u2 = l2 ? Object.keys(l2)[0] : void 0, c2 = u2 && l2 && (0, I.isConfigureFromModelRecord)(l2[u2]) ? l2[u2] : void 0; + if (o2 && s2 && u2) { + const e5 = t3; + i3.registerDeferredOp({ type: "resolveBotConnector", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + try { + const t4 = yield (0, b.resolveNamedConfigListEntity)(i3, f.botConnectorIntegrationManager.dependencyType.value, o2, f.botConnectorIntegrationManager); + if (!t4) return void i3.warn((0, R.sprintf)(a.configureFromModel.failedToResolve, "bot connector integration", o2)); + this.botIntegration.setValue({ id: t4.id, name: o2 }); + const n3 = yield (0, b.resolveNamedConfigListEntity)(i3, T.botConnectorManager.dependencyType.value, s2, T.botConnectorManager); + n3 && this.bot.setValue({ id: n3.id, name: s2 }); + const r4 = `${this.botIntegration.idValue}:${this.bot.idValue}:${u2}`, l3 = (0, C.findDependentConfigListItemByName)(y.botConnectorVersionManager, r4, u2); + l3 ? (this.botVersion.setValue({ id: u2, name: u2 }), this.setBotRunnableByViewModel(l3), (null == c2 ? void 0 : c2.failureOutputs) && this.errorBindings && (i3.currentPropertyName = "failureOutputs", this.errorBindings.configureFromModel(c2.failureOutputs, e5, i3), i3.currentPropertyName = void 0), (null == c2 ? void 0 : c2.intents) && this.outputs && (i3.currentPropertyName = "intents", this.outputs.configureFromModel(c2.intents, e5, i3), i3.currentPropertyName = void 0)) : i3.warn((0, R.sprintf)(a.configureFromModel.failedToResolveFor, "bot connector version", u2, "bot", s2)); + } catch (e6) { + const t4 = e6 instanceof Error ? e6.message : String(e6); + i3.warn((0, R.sprintf)(a.configureFromModel.entityResolutionFailed, "bot connector", `${o2}/${s2}/${u2}`, t4)); + } + }) }); + } + } + } + super._configureFromModel(e3, t3, i3); + } } - E.info = N.default.createActionInfo({ actionClass: E, canBeInTask: true, canBeTreeNode: false, helpTopic: A.helpTopics.actions.botConnector, modelClass: i2(16369), name: b.actions.botConnector, scriptingName: "ArchActionCallBotConnector" }), t2.A = E; + M.info = O.default.createActionInfo({ actionClass: M, canBeInTask: true, canBeTreeNode: false, helpTopic: v.helpTopics.actions.botConnector, modelClass: i2(16369), name: P.actions.botConnector, scriptingName: "ArchActionCallBotConnector", modelFormatSupport: { flowYaml: { inProgress: true, feature: N.default.changeSetsFeaturePhase2 } } }), t2.A = M; }, 20557: (e2, t2, i2) => { function n2() { n2.baseConstructor.apply(this, arguments); @@ -26551,10 +28459,10 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }), t2.EvaluateSkillExpressionFiltersActionModel = void 0; - const o = i2(31635), a = i2(5894), s = i2(30801), l = i2(80295), u = i2(80295), d = o.__importDefault(i2(7401)); - class c extends a.BaseFailureOutputsActionModel { + const o = i2(31635), a = i2(5894), s = i2(30801), l = i2(80295), u = i2(80295), c = o.__importDefault(i2(7401)); + class d extends a.BaseFailureOutputsActionModel { constructor(e3) { - super(e3), this.__type = c.__type, (0, u.makeUnenumerable)(this, "_skillExpressionFilters"), (0, u.makeUnenumerable)(this, "_skillExpressionFiltersResult"); + super(e3), this.__type = d.__type, (0, u.makeUnenumerable)(this, "_skillExpressionFilters"), (0, u.makeUnenumerable)(this, "_skillExpressionFiltersResult"); } pasteReIdOrRename(e3) { var t3, i3; @@ -26568,16 +28476,16 @@ var require_scripting_bundle = __commonJS({ return this._skillExpressionFilters; } set skillExpressionFilters(e3) { - this._skillExpressionFilters = this.reviveItem(e3, d.default); + this._skillExpressionFilters = this.reviveItem(e3, c.default); } get skillExpressionFiltersResult() { return this._skillExpressionFiltersResult; } set skillExpressionFiltersResult(e3) { - this._skillExpressionFiltersResult = this.reviveItem(e3, d.default); + this._skillExpressionFiltersResult = this.reviveItem(e3, c.default); } } - t2.EvaluateSkillExpressionFiltersActionModel = c, c.__type = s.evaluateSkillExpressionFiltersActionType, o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== d.default && d.default) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== d.default && d.default) ? r2 : Object])], c.prototype, "skillExpressionFilters", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "skillExpressionFiltersResult", null), c.registerType(); + t2.EvaluateSkillExpressionFiltersActionModel = d, d.__type = s.evaluateSkillExpressionFiltersActionType, o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.default && c.default) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== c.default && c.default) ? r2 : Object])], d.prototype, "skillExpressionFilters", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "skillExpressionFiltersResult", null), d.registerType(); }, 20846: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -26610,8 +28518,8 @@ var require_scripting_bundle = __commonJS({ }, 20850: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.archFlowStubbing = t2.ArchFlowStubbing = void 0; - const n2 = i2(31635), r2 = i2(96618), o = i2(68694), a = i2(10798), s = n2.__importDefault(i2(98114)), l = i2(30801), u = i2(30801), d = i2(30801), c = i2(30801), p = i2(30801), _ = i2(30801), h = i2(30801), m = i2(30801), g = i2(30801), f = i2(94453), T = n2.__importDefault(i2(4648)), y = i2(50474), S = i2(14187), A = i2(14187), N = n2.__importDefault(i2(78432)), O = n2.__importDefault(i2(94225)), I = n2.__importDefault(i2(3220)), v = i2(47957); - class C { + const n2 = i2(31635), r2 = i2(96618), o = i2(68694), a = i2(10798), s = n2.__importDefault(i2(98114)), l = i2(30801), u = i2(30801), c = i2(30801), d = i2(30801), p = i2(30801), _ = i2(30801), h = i2(30801), m = i2(30801), g = i2(30801), f = i2(30801), T = i2(94453), y = n2.__importDefault(i2(4648)), S = i2(50474), A = i2(14187), N = i2(14187), v = i2(14187), O = n2.__importDefault(i2(78432)), I = n2.__importDefault(i2(94225)), C = n2.__importDefault(i2(3220)), b = i2(47957); + class E { get _archFactoryFlows() { return this._archFactoryFlowsInstance || (this._archFactoryFlowsInstance = i2(89059).default), this._archFactoryFlowsInstance; } @@ -26624,7 +28532,7 @@ var require_scripting_bundle = __commonJS({ switch (t3) { case r2.flowTypes.flowTypeBot: case r2.flowTypes.flowTypeDigitalBot: - return (0, a.isFeatureAvailable)(T.default.botFlowsBotsCallingBots) || (0, a.isFeatureAvailable)(T.default.flowStubbing); + return (0, a.isFeatureAvailable)(y.default.botFlowsBotsCallingBots) || (0, a.isFeatureAvailable)(y.default.flowStubbing); case r2.flowTypes.flowTypeInboundCall: case r2.flowTypes.flowTypeSecureCall: return true; @@ -26633,29 +28541,29 @@ var require_scripting_bundle = __commonJS({ case r2.flowTypes.flowTypeInboundChat: return false; default: - return (0, a.isFeatureAvailable)(T.default.flowStubbing); + return (0, a.isFeatureAvailable)(y.default.flowStubbing); } } createStubFlowAsync(e3, t3, i3, o2, a2) { return n2.__awaiter(this, void 0, void 0, function* () { - var n3; - this._archFactoryFlows._checkItemIsValidLiteralStringEnum(this._archFactoryFlows._infoParm("stubFlowType", "createStubFlowAsync"), e3, N.default.FLOW_TYPES_ALL); - const s2 = this._archFactoryFlows._infoPropSet("stubFlowAdditionalInfo", "createStubFlowAsync"); - if (this._archFactoryFlows._checkItemIsValidJsonObject(s2, a2, true), a2) { - if (this._archFactoryFlows._checkItemIsValidLiteralString(s2, a2.division, true), this._archFactoryFlows._checkItemIsValidLiteralString(s2, a2.defaultLanguage, true), r2.flowTypes.flowTypeOutboundCall === e3 && (this._archFactoryFlows._checkItemIsValidLiteralString(s2, a2.contactList, true), this._archFactoryFlows._checkItemIsValidLiteralString(s2, a2.wrapupCode, true)), r2.flowTypes.flowTypeVoiceSurvey === e3 && this._archFactoryFlows._checkItemIsValidLiteralString(s2, a2.surveyForm, true), r2.flowTypes.flowTypeCommonModule === e3 && this._archFactoryFlows._checkItem(s2, void 0 !== a2.compatibleFlowTypes && null !== a2.compatibleFlowTypes && !Array.isArray(a2.compatibleFlowTypes), "expected compatibleFlowTypes to be a string array, but got " + typeof a2.compatibleFlowTypes), r2.flowTypes.flowTypeWorkitem === e3 && this._archFactoryFlows._checkItemIsValidLiteralString(s2, a2.worktype, true), !(0, y.isUndefined)(a2.supportedLanguages)) { - this._archFactoryFlows._checkItem(s2, !Array.isArray(a2.supportedLanguages), "expected supportedLanguages to be a string array, but got " + typeof a2.supportedLanguages); - for (const e4 of a2.supportedLanguages) this._archFactoryFlows._checkItemIsValidLiteralString(s2, e4); + var n3, s2; + this._archFactoryFlows._checkItemIsValidLiteralStringEnum(this._archFactoryFlows._infoParm("stubFlowType", "createStubFlowAsync"), e3, O.default.FLOW_TYPES_ALL); + const l2 = this._archFactoryFlows._infoPropSet("stubFlowAdditionalInfo", "createStubFlowAsync"); + if (this._archFactoryFlows._checkItemIsValidJsonObject(l2, a2, true), a2) { + if (this._archFactoryFlows._checkItemIsValidLiteralString(l2, a2.division, true), this._archFactoryFlows._checkItemIsValidLiteralString(l2, a2.defaultLanguage, true), this._archFactoryFlows._checkItemIsValidLiteralString(l2, a2.description, true), r2.flowTypes.flowTypeOutboundCall === e3 && (this._archFactoryFlows._checkItemIsValidLiteralString(l2, a2.contactList, true), this._archFactoryFlows._checkItemIsValidLiteralString(l2, a2.wrapupCode, true)), r2.flowTypes.flowTypeVoiceSurvey === e3 && this._archFactoryFlows._checkItemIsValidLiteralString(l2, a2.surveyForm, true), r2.flowTypes.flowTypeCommonModule === e3 && this._archFactoryFlows._checkItem(l2, void 0 !== a2.compatibleFlowTypes && null !== a2.compatibleFlowTypes && !Array.isArray(a2.compatibleFlowTypes), "expected compatibleFlowTypes to be a string array, but got " + typeof a2.compatibleFlowTypes), r2.flowTypes.flowTypeWorkitem === e3 && this._archFactoryFlows._checkItemIsValidLiteralString(l2, a2.worktype, true), !(0, S.isUndefined)(a2.supportedLanguages)) { + this._archFactoryFlows._checkItem(l2, !Array.isArray(a2.supportedLanguages), "expected supportedLanguages to be a string array, but got " + typeof a2.supportedLanguages); + for (const e4 of a2.supportedLanguages) this._archFactoryFlows._checkItemIsValidLiteralString(l2, e4); } - if (!(0, y.isUndefined)(a2.variables)) { - this._archFactoryFlows._checkItem(s2, !Array.isArray(a2.variables), "expected variables to be an array, but got " + typeof a2.variables); - for (const e4 of a2.variables) this._archFactoryFlows._checkItemIsValidJsonObject(s2, e4), this._archFactoryFlows._checkItemIsValidLiteralString(s2, e4.name), this._archFactoryFlows._checkItem(s2, !(null === (n3 = e4.type) || void 0 === n3 ? void 0 : n3.isArchDataType), `expected variable type to be an ArchDataType, but got ${typeof e4.type} for variable ${e4.type}`), this._archFactoryFlows._checkItemIsValidLiteralBool(s2, e4.isInput, true), this._archFactoryFlows._checkItemIsValidLiteralBool(s2, e4.isOutput, true); + if (!(0, S.isUndefined)(a2.variables)) { + this._archFactoryFlows._checkItem(l2, !Array.isArray(a2.variables), "expected variables to be an array, but got " + typeof a2.variables); + for (const e4 of a2.variables) this._archFactoryFlows._checkItemIsValidJsonObject(l2, e4), this._archFactoryFlows._checkItemIsValidLiteralString(l2, e4.name), this._archFactoryFlows._checkItem(l2, !(null === (n3 = e4.type) || void 0 === n3 ? void 0 : n3.isArchDataType), `expected variable type to be an ArchDataType, but got ${typeof e4.type} for variable ${e4.type}`), this._archFactoryFlows._checkItemIsValidLiteralBool(l2, e4.isInput, true), this._archFactoryFlows._checkItemIsValidLiteralBool(l2, e4.isOutput, true); } } this._archFactoryFlows.logNote(`Creating stub flow with type [${e3}], name [${t3}], division [${i3}], defaultLanguage [${o2}]`); - const l2 = e3.toLowerCase(); - this.canStubFlowType(l2) || this._archFactoryFlows.logErrorAndThrow(`the ability to stub flows of type '${e3}' is not available in this organization.`), this._validateStubFlowRequirements(l2, a2); - const { archDefaultLanguage: u2, archDivision: d2 } = this._getDefaultLanguageAndDivision(o2, i3), c2 = this._buildCreationData(l2, u2, a2), p2 = this._getFlowDefinitionForFlowType(l2), _2 = yield this._archFactoryFlows.createFlowFromDefinitionAsync(p2, t3, "", u2, void 0, d2, c2, null == a2 ? void 0 : a2.compatibleFlowTypes, l2 === r2.flowTypes.flowTypeVoiceSurvey); - this._processVariables(_2, null == a2 ? void 0 : a2.variables), yield this._performFlowTypeSpecificSetup(l2, _2, a2), this._addTerminatingActionsToFlow(l2, _2), this._setupInitialAudio(_2), yield _2.publishAsync(true), this._archFactoryFlows.logNote(`Stub flow [${t3}] published.`); + const u2 = e3.toLowerCase(); + this.canStubFlowType(u2) || this._archFactoryFlows.logErrorAndThrow(`the ability to stub flows of type '${e3}' is not available in this organization.`), this._validateStubFlowRequirements(u2, a2); + const { archDefaultLanguage: c2, archDivision: d2 } = this._getDefaultLanguageAndDivision(o2, i3), p2 = this._buildCreationData(u2, c2, a2), _2 = this._getFlowDefinitionForFlowType(u2), h2 = yield this._archFactoryFlows.createFlowFromDefinitionAsync(_2, t3, null !== (s2 = null == a2 ? void 0 : a2.description) && void 0 !== s2 ? s2 : "", c2, void 0, d2, p2, null == a2 ? void 0 : a2.compatibleFlowTypes, u2 === r2.flowTypes.flowTypeVoiceSurvey); + this._processVariables(h2, null == a2 ? void 0 : a2.variables), yield this._performFlowTypeSpecificSetup(u2, h2, a2), this._addTerminatingActionsToFlow(u2, h2), this._setupInitialAudio(h2), yield h2.publishAsync(true), this._archFactoryFlows.invalidateFlowLookupCache(u2), this._archFactoryFlows.logNote(`Stub flow [${t3}] published.`); }); } _validateStubFlowRequirements(e3, t3) { @@ -26667,10 +28575,10 @@ var require_scripting_bundle = __commonJS({ case r2.flowTypes.flowTypeCommonModule: (null === (i3 = null == t3 ? void 0 : t3.compatibleFlowTypes) || void 0 === i3 ? void 0 : i3.length) || this._archFactoryFlows.logErrorAndThrow("at least one compatible flow type must be specified when creating a common module stub flow"); for (const e4 of t3.compatibleFlowTypes) { - s.default.getIsValidFlowType(e4) || this._archFactoryFlows.logErrorAndThrow(`the compatible flow type '${e4}' is not a valid flow type. Valid flow types are: ${N.default.FLOW_TYPES_ALL.join(", ")}`); + s.default.getIsValidFlowType(e4) || this._archFactoryFlows.logErrorAndThrow(`the compatible flow type '${e4}' is not a valid flow type. Valid flow types are: ${O.default.FLOW_TYPES_ALL.join(", ")}`); const t4 = s.default.getDefinitionForFlowType(e4); if (!t4 || !t4.isEmbeddable || !t4.isAvailable) { - const t5 = N.default.FLOW_TYPES_ALL.filter((e5) => { + const t5 = O.default.FLOW_TYPES_ALL.filter((e5) => { const t6 = s.default.getDefinitionForFlowType(e5); return t6 && t6.isAvailable && t6.isEmbeddable; }); @@ -26722,7 +28630,7 @@ var require_scripting_bundle = __commonJS({ const n3 = (null === (i3 = null == t3 ? void 0 : t3.variables) || void 0 === i3 ? void 0 : i3.filter((e4) => e4.name.startsWith("Slot."))) || []; for (const t4 of n3) if (t4.type.isCollection) { const i4 = null == e3 ? void 0 : e3.botFlowSettings.getSlotSettingsBySlotName(this._getSlotNameFromSlotVariableName(t4.name)); - i4 && (i4.captureValue = N.default.CAPTURE_TYPES.multiple); + i4 && (i4.captureValue = O.default.CAPTURE_TYPES.multiple); } } _addSupportedLanguages(e3, t3) { @@ -26732,7 +28640,7 @@ var require_scripting_bundle = __commonJS({ const r3 = null === (i3 = e3._getCoreViewModel().defaultLanguage) || void 0 === i3 ? void 0 : i3.toLowerCase(); for (const t4 of n3) { if (t4.toLowerCase() === r3) continue; - const i4 = I.default.getByLanguageTag(t4); + const i4 = C.default.getByLanguageTag(t4); i4 && e3.addFlowSupportedLanguage(i4); } } @@ -26758,14 +28666,27 @@ var require_scripting_bundle = __commonJS({ var n3, r3, a2, s2; let l2; const u2 = this._getSlotNameFromSlotVariableName(e4); - (null == t4 ? void 0 : t4.isCollection) ? (l2 = `${u2}Type`, (null !== (n3 = (a2 = i3.nluDomainVersion).entityTypes) && void 0 !== n3 ? n3 : a2.entityTypes = []).push({ name: l2, description: `The description of the Entity Type "${u2}"`, mechanism: { type: "List", restricted: true, items: [{ value: "dummy value", synonyms: [] }] } })) : l2 = (0, f.getNluTypeForArchitectType)(null == t4 ? void 0 : t4._getCoreViewModel()).nluDataType || o.BuiltInEntityType.BuiltInAny, (null !== (r3 = (s2 = i3.nluDomainVersion).entities) && void 0 !== r3 ? r3 : s2.entities = []).push({ name: u2, type: l2 }); + (null == t4 ? void 0 : t4.isCollection) ? (l2 = `${u2}Type`, (null !== (n3 = (a2 = i3.nluDomainVersion).entityTypes) && void 0 !== n3 ? n3 : a2.entityTypes = []).push({ name: l2, description: `The description of the Entity Type "${u2}"`, mechanism: { type: "List", restricted: true, items: [{ value: "dummy value", synonyms: [] }] } })) : l2 = (0, T.getNluTypeForArchitectType)(null == t4 ? void 0 : t4._getCoreViewModel()).nluDataType || o.BuiltInEntityType.BuiltInAny, (null !== (r3 = (s2 = i3.nluDomainVersion).entities) && void 0 !== r3 ? r3 : s2.entities = []).push({ name: u2, type: l2 }); }), i3; } _createStubFlowVariable(e3, t3, i3, n3) { var r3; - const o2 = (0, A.setScope)(n3 || S.scopes.flow, t3), a2 = i3.dataType || e3.dataTypes.string; + let o2; + if (n3 === N.scopes.slot) { + const e4 = (0, A.hasScope)(N.scopes.slot, t3) ? t3 : (0, v.setScope)(N.scopes.slot, t3), i4 = this._getSlotNameFromSlotVariableName(e4); + o2 = (0, v.setScope)(N.scopes.slot, i4); + } else o2 = (0, v.setScope)(n3 || N.scopes.flow, t3); + const a2 = i3.dataType || e3.dataTypes.string; let s2 = null === (r3 = e3.variables) || void 0 === r3 ? void 0 : r3.find((e4) => (null == e4 ? void 0 : e4.name) === o2); - return s2 || (s2 = e3.addVariable(o2, a2)), s2 && (s2.isInput = i3.isInput || false, s2.isOutput = i3.isOutput || false), s2; + if (!s2) { + const t4 = n3 === N.scopes.slot; + s2 = e3.addVariable(o2, a2, void 0, t4); + } + if (s2) { + const t4 = e3.flowType; + s2.isInput = !(!i3.isInput || !(null == a2 ? void 0 : a2.isAvailableAsInputForFlowType(t4))), s2.isOutput = !(!i3.isOutput || !(null == a2 ? void 0 : a2.isAvailableAsOutputForFlowType(t4))); + } + return s2; } _configureStubFlowVariables(e3, t3, i3) { if ((null == t3 ? void 0 : t3.length) && e3) for (const n3 of t3) { @@ -26774,26 +28695,26 @@ var require_scripting_bundle = __commonJS({ } } _getDefaultLanguageAndDivision(e3, t3) { - let i3, n3 = I.default.englishUnitedStates; - return e3 && (n3 = I.default.getByLanguageTag(e3) || I.default.englishUnitedStates), i3 = t3 && O.default.orgInfo.getDivisionByName(t3) || this._archFactoryFlows.getDefaultDivisionWhereUserCanAdd(), { archDefaultLanguage: n3, archDivision: i3 }; + let i3, n3 = C.default.englishUnitedStates; + return e3 && (n3 = C.default.getByLanguageTag(e3) || C.default.englishUnitedStates), i3 = t3 && I.default.orgInfo.getDivisionByName(t3) || this._archFactoryFlows.getDefaultDivisionWhereUserCanAdd(), { archDefaultLanguage: n3, archDivision: i3 }; } _addTerminatingAction(e3, t3) { switch (e3) { case r2.flowTypes.flowTypeCommonModule: - t3.addAction(_.endTaskActionType, t3.topAction).name = "Exit Common Module"; + t3.addAction(h.endTaskActionType, t3.topAction).name = "Exit Common Module"; break; case r2.flowTypes.flowTypeBot: case r2.flowTypes.flowTypeDigitalBot: case r2.flowTypes.flowTypeVoice: - t3.addAction(h.exitBotFlowActionType, t3.topAction).name = v.actions.exitBotFlow; + t3.addAction(m.exitBotFlowActionType, t3.topAction).name = b.actions.exitBotFlow; break; case r2.flowTypes.flowTypeInQueueEmail: case r2.flowTypes.flowTypeInQueueShortMessage: - t3.addAction(p.endStateActionType, t3.topAction).name = "End State"; + t3.addAction(_.endStateActionType, t3.topAction).name = b.actions.endState; break; case r2.flowTypes.flowTypeInQueueCall: { - const e4 = t3.addAction(g.playAudioActionType, t3.topAction); - e4.name = "Play Audio", e4.prompts.defaultAudio.setExpressionOnly("ToAudioBlank(10000)"), t3.addAction(m.flushAudioActionType, e4).name = "Flush Audio"; + const e4 = t3.addAction(f.playAudioActionType, t3.topAction); + e4.name = b.actions.playAudio, e4.prompts.defaultAudio.setExpressionOnly("ToAudioBlank(10000)"), t3.addAction(g.flushAudioActionType, e4).name = b.actions.flushAudio; break; } case r2.flowTypes.flowTypeInboundCall: @@ -26802,33 +28723,41 @@ var require_scripting_bundle = __commonJS({ case r2.flowTypes.flowTypeOutboundCall: case r2.flowTypes.flowTypeSecureCall: case r2.flowTypes.flowTypeVoiceSurvey: - t3.addAction(u.disconnectActionType, t3.topAction).name = "Disconnect"; + t3.addAction(c.disconnectActionType, t3.topAction).name = b.actions.disconnect; break; case r2.flowTypes.flowTypeSurveyInvite: { - const e4 = t3.addAction(l.abortSurveyActionType, t3.topAction); - e4.disposition.setAsLiteral("optOut"), e4.name = "Abort Survey"; + const e4 = t3.addAction(u.abortSurveyActionType, t3.topAction); + e4.disposition.setAsLiteral("optOut"), e4.name = b.actions.abortSurvey; + break; + } + case r2.flowTypes.flowTypeEmailSend: { + const e4 = t3.addAction(l.abortSendActionType, t3.topAction); + e4.message.setAsLiteral("?"), e4.name = b.actions.abortSend, e4.parentFlow.emailSendSettings.defaultAbortMessage.setAsLiteral("?"); break; } case r2.flowTypes.flowTypeWorkflow: - t3.addAction(d.endWorkflowActionType, t3.topAction).name = "End Workflow"; + t3.addAction(d.endWorkflowActionType, t3.topAction).name = b.actions.endWorkflow; break; case r2.flowTypes.flowTypeWorkitem: - t3.addAction(c.exitWorkitemFlowActionType, t3.topAction).name = "Exit Workitem Flow"; + t3.addAction(p.exitWorkitemFlowActionType, t3.topAction).name = b.actions.exitWorkitemFlow; break; default: this._archFactoryFlows.logErrorAndThrow(`archFlowStubbing._addTerminatingAction: Unable to add a terminating action to a flow of type '${e3}'`); } } + applyStubVariablesToFlow(e3, t3) { + (null == t3 ? void 0 : t3.length) && e3 && (this._processVariables(e3, t3), this._processBotSlotSettings(e3, { division: "", defaultLanguage: "", variables: t3 })); + } _processVariables(e3, t3) { if (!(null == t3 ? void 0 : t3.length) || !e3) return; const i3 = (null == t3 ? void 0 : t3.filter((e4) => e4.name.startsWith("Flow."))) || [], n3 = (null == t3 ? void 0 : t3.filter((e4) => e4.name.startsWith("Common."))) || [], r3 = (null == t3 ? void 0 : t3.filter((e4) => e4.name.startsWith("Slot."))) || []; - i3.length && this._configureStubFlowVariables(e3, i3), n3.length && this._configureStubFlowVariables(e3, n3, S.scopes.common), r3.length && this._configureStubFlowVariables(e3, r3, S.scopes.slot); + i3.length && this._configureStubFlowVariables(e3, i3), n3.length && this._configureStubFlowVariables(e3, n3, N.scopes.common), r3.length && this._configureStubFlowVariables(e3, r3, N.scopes.slot); } _getFlowDefinitionForFlowType(e3) { return this._archFactoryFlows.coreFactory.createArchWrapper(s.default.getDefinitionForFlowType(e3)); } } - t2.ArchFlowStubbing = C, t2.archFlowStubbing = new C(); + t2.ArchFlowStubbing = E, t2.archFlowStubbing = new E(); }, 21030: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FindUserPromptActionModel = void 0; @@ -26880,16 +28809,28 @@ var require_scripting_bundle = __commonJS({ }, 21044: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.VideoType = void 0; - const n2 = i2(31635), r2 = i2(27491), o = i2(94765), a = i2(80428), s = i2(28290), l = n2.__importDefault(i2(4648)), u = i2(14394), d = i2(10798), c = i2(39139), p = n2.__importDefault(i2(22226)); - class _ extends o.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = i2(28290), a = i2(10798), s = i2(39139), l = n2.__importDefault(i2(4648)), u = i2(62390), c = i2(62390), d = i2(27491), p = n2.__importDefault(i2(22226)), _ = i2(80428), h = i2(14394), m = i2(81391), g = i2(47957); + class f extends m.ExpressionTypeBaseResponseAsset { constructor(e3, t3, i3) { super(e3, t3, i3); } get className() { return "VideoType"; } + getPlutusMimeTypes() { + return u.VIDEO_MIME_TYPES_SET; + } + getPlutusSupportedFileExtensions() { + return c.VIDEO_SUPPORTED_EXTENSIONS; + } + getPlutusMediaPlaceholderText() { + return g.video.videoPlaceholder; + } + getPlutusSupportedFileTypesText() { + return (0, r2.sprintf)(g.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()); + } canConvertLitToExpression(e3) { - return r2.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("ToVideo", e3, [u.globalTypes.responseAsset, u.globalTypes.video]) && r2.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [u.globalTypes.string]); + return d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("ToVideo", e3, [h.globalTypes.responseAsset, h.globalTypes.video]) && d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [h.globalTypes.string]); } convertLitToExpression(e3, t3) { return t3 && this.canConvertLitToExpression(e3) ? `ToVideo(FindResponseAsset(${p.default.getQuotedExpressionStringLiteral(t3)}), NOT_SET)` : ""; @@ -26898,20 +28839,20 @@ var require_scripting_bundle = __commonJS({ return ""; } get supportsLiteralEditor() { - return (0, d.isFeatureAvailable)(l.default.cannedResponseAttachmentsPostGaFeature); + return (0, a.isFeatureAvailable)(l.default.cannedResponseAttachmentsPostGaFeature); } get listManager() { - return c.videoManager; + return s.videoManager; } createExpressionOptionClass() { - return new s.ExpressionTypeVideoOptions(); + return new o.ExpressionTypeVideoOptions(); } } - t2.VideoType = _, _.typeIdentifier = a.expressionTypeNames.video; + t2.VideoType = f, f.typeIdentifier = _.expressionTypeNames.video; }, 21045: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(81516), o = i2(12179), a = n2.__importDefault(i2(97891)), s = i2(24383), l = n2.__importDefault(i2(5730)), u = i2(80428), d = i2(47957); - class c extends l.default { + const n2 = i2(31635), r2 = i2(81516), o = i2(12179), a = n2.__importDefault(i2(97891)), s = i2(24383), l = n2.__importDefault(i2(5730)), u = i2(80428), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends l.default { static get managedProperties() { return [{ label: d.endWorkflow.exitReasonLabel, options: r2.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExitReason").setDisableSpellcheck(true).setIsOptional(true)), property: "exitReason", type: u.expressionTypeNames.string }]; } @@ -26919,7 +28860,7 @@ var require_scripting_bundle = __commonJS({ super(e3.parentFlow, e3), this._loadModel(t3); } } - c.info = a.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: o.helpTopics.actions.endWorkflow, modelClass: i2(77315), name: d.actions.endWorkflow, scriptingName: "ArchActionEndWorkflow", termination: s.terminatesFlow }), t2.A = c; + p.info = a.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: o.helpTopics.actions.endWorkflow, modelClass: i2(77315), name: d.actions.endWorkflow, scriptingName: "ArchActionEndWorkflow", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } }, termination: s.terminatesFlow }), t2.A = p; }, 21046: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -27166,17 +29107,18 @@ var require_scripting_bundle = __commonJS({ t2.default = a; }, 21305: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeJsonOptions = void 0; - const n2 = i2(31635), r2 = i2(65615), o = i2(80295), a = i2(80428), s = i2(80295), l = i2(55909), u = i2(33951), d = n2.__importDefault(i2(65302)), c = i2(34005); + Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeJsonOptions = t2.NULL_PROPERTY_VALUE_NO_OP_WARNING_ENABLED = void 0; + const n2 = i2(31635), r2 = i2(65615), o = i2(80295), a = i2(80428), s = i2(80295), l = i2(55909), u = i2(33951), c = n2.__importDefault(i2(65302)), d = i2(34005); + t2.NULL_PROPERTY_VALUE_NO_OP_WARNING_ENABLED = "__NULL_PROPERTY_VALUE_NO_OP_WARNING_ENABLED__"; class p extends r2.BaseExpressionTypeCollectionOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } constructor(e3) { - super(e3), this._isCustomJsonType = false, (0, s.makeUnenumerable)(this, "_typeIdentifier"), (0, s.makeUnenumerable)(this, "_isCustomJsonType"); + super(e3), this._isCustomJsonType = false, this._requireObjectLiteral = false, (0, s.makeUnenumerable)(this, "_typeIdentifier"), (0, s.makeUnenumerable)(this, "_isCustomJsonType"), (0, s.makeUnenumerable)(this, "_requireObjectLiteral"), (0, s.makeUnenumerable)(this, "_nullPropertyValueNoOpWarningText"), (0, s.makeUnenumerable)(this, "_atLeastOnePropertyMustBeSetErrorText"); } _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setIsCustomJsonType, e3.isCustomJsonType, "_isCustomJsonType"), this._setOptionIfSet(this.setTypeIdentifier, e3.typeIdentifier, "_typeIdentifier"); + super._setFromOptions(e3), this._setOptionIfSet(this.setIsCustomJsonType, e3.isCustomJsonType, "_isCustomJsonType"), this._setOptionIfSet(this.setTypeIdentifier, e3.typeIdentifier, "_typeIdentifier"), this._setOptionIfSet(this.setRequireObjectLiteral, e3.requireObjectLiteral, "_requireObjectLiteral"), this._setOptionIfSet(this.setNullPropertyValueNoOpWarningText, e3.nullPropertyValueNoOpWarningText, "_nullPropertyValueNoOpWarningText"), this._setOptionIfSet(this.setAtLeastOnePropertyMustBeSetErrorText, e3.atLeastOnePropertyMustBeSetErrorText, "_atLeastOnePropertyMustBeSetErrorText"); } get isExpressionTypeJsonOptions() { return true; @@ -27202,10 +29144,37 @@ var require_scripting_bundle = __commonJS({ setIsCustomJsonType(e3) { return this._isCustomJsonType = e3, this; } + get requireObjectLiteral() { + return this._requireObjectLiteral; + } + set requireObjectLiteral(e3) { + this._requireObjectLiteral = u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "requireObjectLiteral", "value")); + } + setRequireObjectLiteral(e3) { + return this.requireObjectLiteral = e3, this; + } + get nullPropertyValueNoOpWarningText() { + return this._nullPropertyValueNoOpWarningText; + } + set nullPropertyValueNoOpWarningText(e3) { + this._nullPropertyValueNoOpWarningText = u.ParameterValidator.expectString(e3, () => l.ParameterInfo.createPropertySet(this.className, "nullPropertyValueNoOpWarningText", "value")); + } + setNullPropertyValueNoOpWarningText(e3) { + return this.nullPropertyValueNoOpWarningText = e3, this; + } + get atLeastOnePropertyMustBeSetErrorText() { + return this._atLeastOnePropertyMustBeSetErrorText; + } + set atLeastOnePropertyMustBeSetErrorText(e3) { + this._atLeastOnePropertyMustBeSetErrorText = u.ParameterValidator.expectString(e3, () => l.ParameterInfo.createPropertySet(this.className, "atLeastOnePropertyMustBeSetErrorText", "value")); + } + setAtLeastOnePropertyMustBeSetErrorText(e3) { + return this.atLeastOnePropertyMustBeSetErrorText = e3, this; + } get issueInfoTypes() { var e3, t3, i3, n3; if (this.typeIdentifier === a.expressionTypeNames.skillExpressionFilter) { - const r3 = null === (i3 = null === (t3 = null === (e3 = c.type) || void 0 === e3 ? void 0 : e3.SkillExpressionFilter) || void 0 === t3 ? void 0 : t3.nativeProperties) || void 0 === i3 ? void 0 : i3.find((e4) => "errors" === e4.id); + const r3 = null === (i3 = null === (t3 = null === (e3 = d.type) || void 0 === e3 ? void 0 : e3.SkillExpressionFilter) || void 0 === t3 ? void 0 : t3.nativeProperties) || void 0 === i3 ? void 0 : i3.find((e4) => "errors" === e4.id); return null !== (n3 = null == r3 ? void 0 : r3.issueInfoTypes) && void 0 !== n3 ? n3 : []; } return []; @@ -27213,15 +29182,18 @@ var require_scripting_bundle = __commonJS({ get supportsLiteralMode() { if (this.isCustomJsonType) { if (void 0 === this._customJsonTypeSupportsLiteralMode) { - const e3 = d.default.getGlobalTypeGroup().getType(this.typeIdentifier, false); + const e3 = c.default.getGlobalTypeGroup().getType(this.typeIdentifier, false); this._customJsonTypeSupportsLiteralMode = !e3 || !e3.hasPropertiesAndAllAreReadOnly; } return this._customJsonTypeSupportsLiteralMode; } return super.supportsLiteralMode; } + applyDefaultCollectionItemOptions(e3) { + return super.applyDefaultCollectionItemOptions(e3), e3.isCustomJsonType && this.setAllowEmbeddedExpressionsInLiteralMode(e3.allowEmbeddedExpressionsInLiteralMode), this._setOptionIfSet(this.setRequireObjectLiteral, e3.requireObjectLiteral, "_requireObjectLiteral"), this; + } } - t2.ExpressionTypeJsonOptions = p, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [])], p.prototype, "isJson", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], p.prototype, "typeIdentifier", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [])], p.prototype, "issueInfoTypes", null); + t2.ExpressionTypeJsonOptions = p, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [])], p.prototype, "isJson", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], p.prototype, "typeIdentifier", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], p.prototype, "requireObjectLiteral", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [])], p.prototype, "issueInfoTypes", null); }, 21345: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -27257,19 +29229,19 @@ var require_scripting_bundle = __commonJS({ }; }, 21401: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(81516), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(33644)), u = i2(80428), d = i2(65011), c = i2(47957); - class p extends l.default { + const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(81516), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(33644)), u = i2(80428), c = n2.__importDefault(i2(4648)), d = i2(65011), p = i2(47957); + class _ extends l.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } getDetails() { - return this.outcomeId ? new o.ActionDetails([c.flowOutcomes.flowOutcome, c.generic.value], [this.outcomeName, this.outcomeValue.text]) : null; + return this.outcomeId ? new o.ActionDetails([p.flowOutcomes.flowOutcome, p.generic.value], [this.outcomeName, this.outcomeValue.text]) : null; } static get managedProperties() { - return [{ property: "outcomeValue", label: c.generic.value, options: a.ExpressionTypeStringOptions.create((e3) => e3.setAllowModeLiteralOnly().setIninTestingField("outcome-value-expression").setUiPropertyOrder(1).facets.setTrim(true).setAllowableValues(d)), yamlOptions: p.createYamlOptions("outcomeValue", (e3) => e3.setPropertyName("flowOutcomeValue").setShouldBePlainJsType(true)), type: u.expressionTypeNames.string }]; + return [{ property: "outcomeValue", label: p.generic.value, options: a.ExpressionTypeStringOptions.create((e3) => e3.setAllowModeLiteralOnly().setIninTestingField("outcome-value-expression").setUiPropertyOrder(1).facets.setTrim(true).setAllowableValues(d)), yamlOptions: _.createYamlOptions("outcomeValue", (e3) => e3.setPropertyName("flowOutcomeValue").setShouldBePlainJsType(true)), type: u.expressionTypeNames.string }]; } } - p.info = s.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: r2.helpTopics.actions.setFlowOutcome, modelClass: i2(67277), name: c.actions.setFlowOutcome, scriptingName: "ArchActionSetFlowOutcome" }), t2.A = p; + _.info = s.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: r2.helpTopics.actions.setFlowOutcome, modelClass: i2(67277), name: p.actions.setFlowOutcome, scriptingName: "ArchActionSetFlowOutcome", modelFormatSupport: { flowYaml: { feature: c.default.changeSetsFeaturePhase1 } } }), t2.A = _; }, 21413: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -27367,12 +29339,12 @@ var require_scripting_bundle = __commonJS({ }, 21556: (e2, t2, i2) => { const n2 = i2(24005), r2 = i2(7401), o = i2(15244); function a() { - Object.defineProperties(this, { _enableBargeIn: { writable: true }, _enableAutomaticQuickReplies: { writable: true }, _noMatchesMax: { writable: true }, _noInputsMax: { writable: true }, _noInputsMaxExceededHandlingType: { writable: true }, _endOfSessionMessage: { writable: true }, _noInputsTimeout: { writable: true }, _speechToTextSpeechDetectionSensitivity: { writable: true }, _speechToTextMaxSpeechTimeout: { writable: true }, _enableIntentClassificationHinting: { writable: true }, _interDigitTimeout: { writable: true }, _dtmfTerminatingCharacter: { writable: true }, _confirmationRejectionsMax: { writable: true }, _collectionLowConfidenceThreshold: { writable: true }, _collectionHighConfidenceThreshold: { writable: true }, _confirmationLowConfidenceThreshold: { writable: true }, _noMatchApologies: { writable: true }, _noInputsApologies: { writable: true }, _noToConfirmationApologies: { writable: true }, _confirmationNoMatchApologies: { writable: true }, _confirmationNoInputApologies: { writable: true } }), this.noInputsMaxExceededTaskId = void 0, this.noInputsMaxExceededTaskName = void 0, a.baseConstructor.apply(this, arguments); + Object.defineProperties(this, { _enableBargeIn: { writable: true }, _enableAutomaticQuickReplies: { writable: true }, _noMatchesMax: { writable: true }, _noInputsMax: { writable: true }, _noInputsMaxExceededHandlingType: { writable: true }, _endOfSessionMessage: { writable: true }, _noInputsTimeout: { writable: true }, _speechToTextSpeechDetectionSensitivity: { writable: true }, _speechToTextMaxSpeechTimeout: { writable: true }, _speechToTextAdvancedConfiguration: { writable: true }, _enableIntentClassificationHinting: { writable: true }, _interDigitTimeout: { writable: true }, _dtmfTerminatingCharacter: { writable: true }, _confirmationRejectionsMax: { writable: true }, _collectionLowConfidenceThreshold: { writable: true }, _collectionHighConfidenceThreshold: { writable: true }, _confirmationLowConfidenceThreshold: { writable: true }, _noMatchApologies: { writable: true }, _noInputsApologies: { writable: true }, _noToConfirmationApologies: { writable: true }, _confirmationNoMatchApologies: { writable: true }, _confirmationNoInputApologies: { writable: true } }), this.noInputsMaxExceededTaskId = void 0, this.noInputsMaxExceededTaskName = void 0, a.baseConstructor.apply(this, arguments); } n2.extend(a, "BotFlowUserInputSettings"), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this._enableBargeIn.pasteReIdOrRename(e3), this._enableAutomaticQuickReplies.pasteReIdOrRename(e3), this._noMatchesMax.pasteReIdOrRename(e3), this._noInputsMax.pasteReIdOrRename(e3), this._noInputsTimeout.pasteReIdOrRename(e3), this._speechToTextSpeechDetectionSensitivity.pasteReIdOrRename(e3), this._speechToTextMaxSpeechTimeout.pasteReIdOrRename(e3), this._enableIntentClassificationHinting.pasteResolveOldToNewValues(e3), this._interDigitTimeout.pasteReIdOrRename(e3), this._dtmfTerminatingCharacter.pasteReIdOrRename(e3), this._endOfSessionMessage.pasteReIdOrRename(e3), this._confirmationRejectionsMax.pasteReIdOrRename(e3), this._collectionLowConfidenceThreshold.pasteReIdOrRename(e3), this._collectionHighConfidenceThreshold.pasteReIdOrRename(e3), this._confirmationLowConfidenceThreshold.pasteReIdOrRename(e3), this._noMatchApologies.forEach((t3) => t3.pasteReIdOrRename(e3)), this._noInputsApologies.forEach((t3) => t3.pasteReIdOrRename(e3)), this._noToConfirmationApologies.forEach((t3) => t3.pasteReIdOrRename(e3)), this._confirmationNoMatchApologies.forEach((t3) => t3.pasteReIdOrRename(e3)), this._confirmationNoInputApologies.forEach((t3) => t3.pasteReIdOrRename(e3)); + a._super.pasteReIdOrRename.apply(this, arguments), this._enableBargeIn.pasteReIdOrRename(e3), this._enableAutomaticQuickReplies.pasteReIdOrRename(e3), this._noMatchesMax.pasteReIdOrRename(e3), this._noInputsMax.pasteReIdOrRename(e3), this._noInputsTimeout.pasteReIdOrRename(e3), this._speechToTextSpeechDetectionSensitivity.pasteReIdOrRename(e3), this._speechToTextMaxSpeechTimeout.pasteReIdOrRename(e3), this._speechToTextAdvancedConfiguration.pasteReIdOrRename(e3), this._enableIntentClassificationHinting.pasteResolveOldToNewValues(e3), this._interDigitTimeout.pasteReIdOrRename(e3), this._dtmfTerminatingCharacter.pasteReIdOrRename(e3), this._endOfSessionMessage.pasteReIdOrRename(e3), this._confirmationRejectionsMax.pasteReIdOrRename(e3), this._collectionLowConfidenceThreshold.pasteReIdOrRename(e3), this._collectionHighConfidenceThreshold.pasteReIdOrRename(e3), this._confirmationLowConfidenceThreshold.pasteReIdOrRename(e3), this._noMatchApologies.forEach((t3) => t3.pasteReIdOrRename(e3)), this._noInputsApologies.forEach((t3) => t3.pasteReIdOrRename(e3)), this._noToConfirmationApologies.forEach((t3) => t3.pasteReIdOrRename(e3)), this._confirmationNoMatchApologies.forEach((t3) => t3.pasteReIdOrRename(e3)), this._confirmationNoInputApologies.forEach((t3) => t3.pasteReIdOrRename(e3)); } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this._enableBargeIn.pasteResolveOldToNewValues(e3), this._enableAutomaticQuickReplies.pasteResolveOldToNewValues(e3), this._noMatchesMax.pasteResolveOldToNewValues(e3), this._noInputsMax.pasteResolveOldToNewValues(e3), this._endOfSessionMessage.pasteResolveOldToNewValues(e3), this._noInputsTimeout.pasteResolveOldToNewValues(e3), this._speechToTextSpeechDetectionSensitivity.pasteResolveOldToNewValues(e3), this._speechToTextMaxSpeechTimeout.pasteResolveOldToNewValues(e3), this._enableIntentClassificationHinting.pasteResolveOldToNewValues(e3), this._interDigitTimeout.pasteResolveOldToNewValues(e3), this._dtmfTerminatingCharacter.pasteResolveOldToNewValues(e3), this._confirmationRejectionsMax.pasteResolveOldToNewValues(e3), this._collectionLowConfidenceThreshold.pasteResolveOldToNewValues(e3), this._collectionHighConfidenceThreshold.pasteResolveOldToNewValues(e3), this._confirmationLowConfidenceThreshold.pasteResolveOldToNewValues(e3), this._noMatchApologies.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this._noInputsApologies.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this._noToConfirmationApologies.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this._confirmationNoMatchApologies.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this._confirmationNoInputApologies.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); + a._super.pasteResolveOldToNewValues.apply(this, arguments), this._enableBargeIn.pasteResolveOldToNewValues(e3), this._enableAutomaticQuickReplies.pasteResolveOldToNewValues(e3), this._noMatchesMax.pasteResolveOldToNewValues(e3), this._noInputsMax.pasteResolveOldToNewValues(e3), this._endOfSessionMessage.pasteResolveOldToNewValues(e3), this._noInputsTimeout.pasteResolveOldToNewValues(e3), this._speechToTextSpeechDetectionSensitivity.pasteResolveOldToNewValues(e3), this._speechToTextMaxSpeechTimeout.pasteResolveOldToNewValues(e3), this._speechToTextAdvancedConfiguration.pasteResolveOldToNewValues(e3), this._enableIntentClassificationHinting.pasteResolveOldToNewValues(e3), this._interDigitTimeout.pasteResolveOldToNewValues(e3), this._dtmfTerminatingCharacter.pasteResolveOldToNewValues(e3), this._confirmationRejectionsMax.pasteResolveOldToNewValues(e3), this._collectionLowConfidenceThreshold.pasteResolveOldToNewValues(e3), this._collectionHighConfidenceThreshold.pasteResolveOldToNewValues(e3), this._confirmationLowConfidenceThreshold.pasteResolveOldToNewValues(e3), this._noMatchApologies.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this._noInputsApologies.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this._noToConfirmationApologies.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this._confirmationNoMatchApologies.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this._confirmationNoInputApologies.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); } }, enableBargeIn: { enumerable: true, get: function() { return this._enableBargeIn; }, set: function(e3) { @@ -27409,6 +29381,10 @@ var require_scripting_bundle = __commonJS({ return this._speechToTextMaxSpeechTimeout; }, set: function(e3) { this._speechToTextMaxSpeechTimeout = this.reviveItem(e3, r2); + } }, speechToTextAdvancedConfiguration: { enumerable: true, get: function() { + return this._speechToTextAdvancedConfiguration; + }, set: function(e3) { + this._speechToTextAdvancedConfiguration = this.reviveItem(e3, r2); } }, enableIntentClassificationHinting: { enumerable: true, get: function() { return this._enableIntentClassificationHinting; }, set: function(e3) { @@ -27461,19 +29437,19 @@ var require_scripting_bundle = __commonJS({ }, 21569: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.customerSegmentManager = t2.CustomerSegmentManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(99914)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(47532)), s = i2(61144), l = i2(81801), u = i2(27862); - class d extends a.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(99914)), o = n2.__importStar(i2(24032)), a = i2(37001), s = n2.__importDefault(i2(47532)), l = i2(61144), u = i2(81801), c = i2(27862); + class d extends s.default { get requiredAuth() { - return l.externalAuthorizations.authStrings.customerSegmentsView; + return u.externalAuthorizations.authStrings.customerSegmentsView; } get dependencyType() { - return u.CustomerSegment; + return c.CustomerSegment; } _createItemViewModel(e3) { - return new s.CustomerSegmentViewModel(e3); + return new l.CustomerSegmentViewModel(e3); } constructor() { - super(), this.topic = o.getTopic("CustomerSegmentManager"), this.apiCallList = r2.getCustomerSegments, this.apiCallSingle = r2.getCustomerSegment, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [], this.className = "CustomerSegmentManager", this.dependencyContext = null, this.securityError = true, this.sortNotSupported = true, this.uiMetadataSectionName = "customerSegment", this._initialize(); + super(), this.topic = o.getTopic("CustomerSegmentManager"), this.apiCallList = r2.getCustomerSegments, this.apiCallSingle = r2.getCustomerSegment, this.briefManager = a.briefCustomerSegmentManager, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [], this.className = "CustomerSegmentManager", this.dependencyContext = null, this.securityError = true, this.sortNotSupported = true, this.uiMetadataSectionName = "customerSegment", this._initialize(); } } t2.CustomerSegmentManager = d, t2.customerSegmentManager = new d(); @@ -27525,7 +29501,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeComplexOptions = void 0; const n2 = i2(31635), r2 = i2(80295), o = i2(80295), a = i2(65615), s = i2(55909), l = i2(33951), u = n2.__importDefault(i2(65302)); - class d extends a.BaseExpressionTypeCollectionOptions { + class c extends a.BaseExpressionTypeCollectionOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -27573,7 +29549,7 @@ var require_scripting_bundle = __commonJS({ return this.typeIdentifier = e3, this; } } - t2.ExpressionTypeComplexOptions = d, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], d.prototype, "typeIdentifier", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], d.prototype, "isCollection", null); + t2.ExpressionTypeComplexOptions = c, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], c.prototype, "typeIdentifier", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], c.prototype, "isCollection", null); }, 21706: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.briefVoiceSurveyFlowListManager = void 0; @@ -27716,35 +29692,35 @@ var require_scripting_bundle = __commonJS({ }, 21998: (e2, t2, i2) => { "use strict"; var n2 = i2(9805), r2 = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], o = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], a = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], s = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64]; - e2.exports = function(e3, t3, i3, l, u, d, c, p) { - var _, h, m, g, f, T, y, S, A, N = p.bits, O = 0, I = 0, v = 0, C = 0, b = 0, E = 0, R = 0, w = 0, D = 0, P = 0, M = null, F = 0, L = new n2.Buf16(16), x = new n2.Buf16(16), k = null, V = 0; - for (O = 0; O <= 15; O++) L[O] = 0; - for (I = 0; I < l; I++) L[t3[i3 + I]]++; + e2.exports = function(e3, t3, i3, l, u, c, d, p) { + var _, h, m, g, f, T, y, S, A, N = p.bits, v = 0, O = 0, I = 0, C = 0, b = 0, E = 0, w = 0, R = 0, D = 0, P = 0, M = null, F = 0, L = new n2.Buf16(16), x = new n2.Buf16(16), k = null, V = 0; + for (v = 0; v <= 15; v++) L[v] = 0; + for (O = 0; O < l; O++) L[t3[i3 + O]]++; for (b = N, C = 15; C >= 1 && 0 === L[C]; C--) ; - if (b > C && (b = C), 0 === C) return u[d++] = 20971520, u[d++] = 20971520, p.bits = 1, 0; - for (v = 1; v < C && 0 === L[v]; v++) ; - for (b < v && (b = v), w = 1, O = 1; O <= 15; O++) if (w <<= 1, (w -= L[O]) < 0) return -1; - if (w > 0 && (0 === e3 || 1 !== C)) return -1; - for (x[1] = 0, O = 1; O < 15; O++) x[O + 1] = x[O] + L[O]; - for (I = 0; I < l; I++) 0 !== t3[i3 + I] && (c[x[t3[i3 + I]]++] = I); - if (0 === e3 ? (M = k = c, T = 19) : 1 === e3 ? (M = r2, F -= 257, k = o, V -= 257, T = 256) : (M = a, k = s, T = -1), P = 0, I = 0, O = v, f = d, E = b, R = 0, m = -1, g = (D = 1 << b) - 1, 1 === e3 && D > 852 || 2 === e3 && D > 592) return 1; + if (b > C && (b = C), 0 === C) return u[c++] = 20971520, u[c++] = 20971520, p.bits = 1, 0; + for (I = 1; I < C && 0 === L[I]; I++) ; + for (b < I && (b = I), R = 1, v = 1; v <= 15; v++) if (R <<= 1, (R -= L[v]) < 0) return -1; + if (R > 0 && (0 === e3 || 1 !== C)) return -1; + for (x[1] = 0, v = 1; v < 15; v++) x[v + 1] = x[v] + L[v]; + for (O = 0; O < l; O++) 0 !== t3[i3 + O] && (d[x[t3[i3 + O]]++] = O); + if (0 === e3 ? (M = k = d, T = 19) : 1 === e3 ? (M = r2, F -= 257, k = o, V -= 257, T = 256) : (M = a, k = s, T = -1), P = 0, O = 0, v = I, f = c, E = b, w = 0, m = -1, g = (D = 1 << b) - 1, 1 === e3 && D > 852 || 2 === e3 && D > 592) return 1; for (; ; ) { - y = O - R, c[I] < T ? (S = 0, A = c[I]) : c[I] > T ? (S = k[V + c[I]], A = M[F + c[I]]) : (S = 96, A = 0), _ = 1 << O - R, v = h = 1 << E; + y = v - w, d[O] < T ? (S = 0, A = d[O]) : d[O] > T ? (S = k[V + d[O]], A = M[F + d[O]]) : (S = 96, A = 0), _ = 1 << v - w, I = h = 1 << E; do { - u[f + (P >> R) + (h -= _)] = y << 24 | S << 16 | A; + u[f + (P >> w) + (h -= _)] = y << 24 | S << 16 | A; } while (0 !== h); - for (_ = 1 << O - 1; P & _; ) _ >>= 1; - if (0 !== _ ? (P &= _ - 1, P += _) : P = 0, I++, 0 === --L[O]) { - if (O === C) break; - O = t3[i3 + c[I]]; + for (_ = 1 << v - 1; P & _; ) _ >>= 1; + if (0 !== _ ? (P &= _ - 1, P += _) : P = 0, O++, 0 === --L[v]) { + if (v === C) break; + v = t3[i3 + d[O]]; } - if (O > b && (P & g) !== m) { - for (0 === R && (R = b), f += v, w = 1 << (E = O - R); E + R < C && !((w -= L[E + R]) <= 0); ) E++, w <<= 1; + if (v > b && (P & g) !== m) { + for (0 === w && (w = b), f += I, R = 1 << (E = v - w); E + w < C && !((R -= L[E + w]) <= 0); ) E++, R <<= 1; if (D += 1 << E, 1 === e3 && D > 852 || 2 === e3 && D > 592) return 1; - u[m = P & g] = b << 24 | E << 16 | f - d; + u[m = P & g] = b << 24 | E << 16 | f - c; } } - return 0 !== P && (u[f + P] = O - R << 24 | 64 << 16), p.bits = b, 0; + return 0 !== P && (u[f + P] = v - w << 24 | 64 << 16), p.bits = b, 0; }; }, 22028: (e2, t2, i2) => { "use strict"; @@ -27770,8 +29746,8 @@ var require_scripting_bundle = __commonJS({ t2.default = a; }, 22036: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = i2(87870), u = n2.__importDefault(i2(55581)), d = i2(47957); - class c extends u.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = i2(87870), u = n2.__importDefault(i2(55581)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends u.default { constructor(e3, t3) { super(e3), this._loadModel(t3); } @@ -27782,10 +29758,10 @@ var require_scripting_bundle = __commonJS({ return true; } static get managedProperties() { - return [{ createDetails: l.NoteActionProperty.createCreateDetails((0, r2.sprintf)(d.securedActions.securedActionsInformationalMessage, d.generic.branches.matchExact), "info", "getSecureDataNote"), property: "actionInformationalMessage", yamlOptions: c.createYamlOptions("actionInformationalMessage", (e3) => e3.setSkipProperty(true)) }]; + return [{ createDetails: l.NoteActionProperty.createCreateDetails((0, r2.sprintf)(d.securedActions.securedActionsInformationalMessage, d.generic.branches.matchExact), "info", "getSecureDataNote"), property: "actionInformationalMessage", yamlOptions: p.createYamlOptions("actionInformationalMessage", (e3) => e3.setSkipProperty(true)) }]; } } - c.info = s.default.createActionInfo({ actionClass: c, canBeInTask: true, canBeTreeNode: false, helpTopic: a.helpTopics.actions.getSecuredData, modelClass: i2(29680), name: d.actions.getSecuredData, scriptingName: "ArchActionGetSecuredData" }), t2.A = c; + p.info = s.default.createActionInfo({ actionClass: p, canBeInTask: true, canBeTreeNode: false, helpTopic: a.helpTopics.actions.getSecuredData, modelClass: i2(29680), name: d.actions.getSecuredData, scriptingName: "ArchActionGetSecuredData", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 22044: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.distinctUntilChanged = void 0; @@ -27848,7 +29824,7 @@ var require_scripting_bundle = __commonJS({ } } }), e2.exports = r2; }, 22226: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.textIsExpressionStringLiteral = a, t2.rawEscapeStringForExpressionMode = s, t2.rawUnescapeExpressionModeString = l, t2.getQuotedExpressionStringLiteral = u, t2.getUnquotedExpressionStringLiteralContents = d; + Object.defineProperty(t2, "__esModule", { value: true }), t2.textIsExpressionStringLiteral = a, t2.rawEscapeStringForExpressionMode = s, t2.rawUnescapeExpressionModeString = l, t2.getQuotedExpressionStringLiteral = u, t2.getUnquotedExpressionStringLiteralContents = c; const n2 = i2(31635).__importDefault(i2(92140)); function r2(e3) { return e3 ? e3.replace(/\\"/g, '"').replace(/\\\\/g, "\\").replace(/\r/g, "\r").replace(/\n/g, "\n").replace(/\t/g, " ") : ""; @@ -27868,15 +29844,43 @@ var require_scripting_bundle = __commonJS({ function u(e3) { return e3 ? `"${o(e3)}"` : '""'; } - function d(e3) { + function c(e3) { return e3 && 1 !== e3.length ? '"' !== e3[0] || '"' !== e3[e3.length - 1] ? e3 : r2(e3.substring(1, e3.length - 1)) : e3; } - t2.default = { textIsExpressionStringLiteral: a, rawEscapeStringForExpressionMode: s, rawUnescapeExpressionModeString: l, getQuotedExpressionStringLiteral: u, getUnquotedExpressionStringLiteralContents: d }; + t2.default = { textIsExpressionStringLiteral: a, rawEscapeStringForExpressionMode: s, rawUnescapeExpressionModeString: l, getQuotedExpressionStringLiteral: u, getUnquotedExpressionStringLiteralContents: c }; }, 22274: function(e2, t2, i2) { !(function(e3) { "use strict"; e3.defineLocale("nb", { months: "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"), monthsShort: "jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"), monthsParseExact: true, weekdays: "s\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xF8rdag".split("_"), weekdaysShort: "s\xF8._ma._ti._on._to._fr._l\xF8.".split("_"), weekdaysMin: "s\xF8_ma_ti_on_to_fr_l\xF8".split("_"), weekdaysParseExact: true, longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD.MM.YYYY", LL: "D. MMMM YYYY", LLL: "D. MMMM YYYY [kl.] HH:mm", LLLL: "dddd D. MMMM YYYY [kl.] HH:mm" }, calendar: { sameDay: "[i dag kl.] LT", nextDay: "[i morgen kl.] LT", nextWeek: "dddd [kl.] LT", lastDay: "[i g\xE5r kl.] LT", lastWeek: "[forrige] dddd [kl.] LT", sameElse: "L" }, relativeTime: { future: "om %s", past: "%s siden", s: "noen sekunder", ss: "%d sekunder", m: "ett minutt", mm: "%d minutter", h: "en time", hh: "%d timer", d: "en dag", dd: "%d dager", w: "en uke", ww: "%d uker", M: "en m\xE5ned", MM: "%d m\xE5neder", y: "ett \xE5r", yy: "%d \xE5r" }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: "%d.", week: { dow: 1, doy: 4 } }); })(i2(95093)); + }, 22303: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.Parser = void 0; + const n2 = i2(79608), r2 = i2(25591), o = i2(60526), a = i2(96237); + t2.Parser = class { + parse(e3) { + return "string" == typeof e3 ? this._parseYamlString(e3) : this._validateJsonObject(e3); + } + _parseYamlString(e3) { + try { + const t3 = (0, a.loadSingleYamlDocument)(e3, r2.customSchema, n2.architectYamlMaxDepth); + return null == t3 ? { json: {}, errors: [{ message: "YAML input is empty or contains only comments.", reason: "empty_input", fatal: true }] } : "object" != typeof t3 || Array.isArray(t3) ? { json: {}, errors: [{ message: "YAML input must parse to an object. Scalars and arrays are not valid flow definitions.", reason: "invalid_structure", fatal: true }] } : { json: t3, errors: [] }; + } catch (e4) { + return this._buildYamlParseError(e4); + } + } + _validateJsonObject(e3) { + return Object.keys(e3).some((e4) => o.FlowTypeResolver.isRecognized(e4)) ? { json: e3, errors: [] } : { json: e3, errors: [{ message: `JSON object does not contain a recognized flow type key at the top level. Expected one of: ${o.FlowTypeResolver.YAML_FLOW_TYPE_KEYS.join(", ")}.`, reason: "missing_flow_type", fatal: true }] }; + } + _buildYamlParseError(e3) { + const t3 = { message: "Failed to parse YAML input.", reason: "yaml_syntax_error", fatal: true }; + if (e3 && "object" == typeof e3) { + const i3 = e3; + i3.message && (t3.message = i3.message), i3.mark && ("number" == typeof i3.mark.line && (t3.line = i3.mark.line + 1), "number" == typeof i3.mark.column && (t3.column = i3.mark.column + 1)); + } + return { json: {}, errors: [t3] }; + } + }; }, 22309: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -27954,7 +29958,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(41510)), a = n2.__importStar(i2(98442)), s = n2.__importDefault(i2(83630)), l = i2(15717), u = i2(47957); - class d extends s.default { + class c extends s.default { constructor({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: n3 }) { super({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: n3 }); } @@ -27978,7 +29982,7 @@ var require_scripting_bundle = __commonJS({ return super._validateContainerOnly(e3, t3); } } - t2.default = d; + t2.default = c; }, 22465: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -28047,7 +30051,7 @@ var require_scripting_bundle = __commonJS({ }, 22599: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(55909), s = i2(33951), l = n2.__importDefault(i2(73198)), u = n2.__importDefault(i2(2315)), d = n2.__importDefault(i2(35882)), c = i2(16958), p = i2(24032).getTopic("ExpressionGenerator"); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(55909), s = i2(33951), l = n2.__importDefault(i2(73198)), u = n2.__importDefault(i2(2315)), c = n2.__importDefault(i2(35882)), d = i2(16958), p = i2(24032).getTopic("ExpressionGenerator"); class _ { constructor() { Object.defineProperties(this, { _aboutToAddGenerationCallback: { writable: true }, _defaultGenerationBucketName: { writable: true }, _generationDescription: { writable: true }, _generationBlueprintOrigMetaData: { value: [], writable: true }, _generationBlueprintBuiltResults: { value: [], writable: true }, _generationBlueprintBuiltMetaData: { value: [], writable: true }, _initialized: { value: false, writable: true }, _sprintfString: { writable: true } }); @@ -28106,7 +30110,7 @@ var require_scripting_bundle = __commonJS({ return this._addGenerationBucket(e3, t3, " Or ", 12); } createGeneration() { - return d.default.createForGenerator(this); + return c.default.createForGenerator(this); } get defaultGenerationBucketName() { return this._defaultGenerationBucketName; @@ -28196,7 +30200,7 @@ var require_scripting_bundle = __commonJS({ if (o.default.isUndefined(this._sprintfString)) { let e3, t3; try { - e3 = d.default.createSprintfGeneration(this), t3 = u.default.createSprintfBuildTextHelper(), this._sprintfString = e3.generate(t3); + e3 = c.default.createSprintfGeneration(this), t3 = u.default.createSprintfBuildTextHelper(), this._sprintfString = e3.generate(t3); } catch (e4) { console.error(`Exception caught in sprintfString prop get of '${e4.message}'`); } finally { @@ -28266,7 +30270,7 @@ var require_scripting_bundle = __commonJS({ return this.generationDescription = e3, this; } setGenerationDescriptionFromType(e3) { - if (s.ParameterValidator.expectExpressionType(e3, () => a.ParameterInfo.createPropertySet(this.className, "setGenerationDescriptionFromType", "value")), e3) return this.setGenerationDescription(e3.isCollection ? (0, r2.sprintf)(c.generators.common.emptyCollectionTypeGenerationDescription, e3.displayString) : (0, r2.sprintf)(c.generators.common.notSetSingletonTypeGenerationDescription, e3.displayString)); + if (s.ParameterValidator.expectExpressionType(e3, () => a.ParameterInfo.createPropertySet(this.className, "setGenerationDescriptionFromType", "value")), e3) return this.setGenerationDescription(e3.isCollection ? (0, r2.sprintf)(d.generators.common.emptyCollectionTypeGenerationDescription, e3.displayString) : (0, r2.sprintf)(d.generators.common.notSetSingletonTypeGenerationDescription, e3.displayString)); } setAboutToAddGenerationCallback(e3) { return this.aboutToAddGenerationCallback = s.ParameterValidator.expectFunction(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "aboutToAddGenerationCallbackFunction")), this; @@ -28498,23 +30502,23 @@ var require_scripting_bundle = __commonJS({ }, 22754: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.storage = void 0; - const n2 = i2(31635), r2 = i2(79364), o = i2(92794), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(92140)), u = n2.__importDefault(i2(73198)), d = { actionEditorCollapsed: "actionEditorCollapsed", bottomPanelSplitter: "bottomPanelSplitter", callPromptsGrid: "overviewCallPromptsSettings", chatLegacyRoutingMessageShown: "chatLegacyRoutingMessageShown", clipboard: "clipboard", commonModuleTasksExpanded: "commonModuleTasksExpanded", configurationExpanded: "flowTreeConfigurationExpanded", debugLocaleOverride: "debugLocaleOverride", defaultDivisionId: "defaultDivisionId", defaultDestinationFlowTypes: "defaultDestinationFlowTypes", flowDefaultLanguage: "flowDefaultLanguage", flowGridFilters: "flowGridFilters", flowTreeExpanded: "flowTreeExpanded", flowVisualizationReplay: "flowVisualizationReplay", flowVisualizationSize: "flowVisualizationSize", hostName: "hostName", generateFlowLogic: "generateFlowLogic", iframeTimeMachineSegments: "iframeTimeMachineSegments", insightsOptimizationExpanded: "flowTreeInsightsOptimizationExpanded", lastExecutionEnhancedQuery: "lastExecutionEnhancedQuery", lastExecutionQuery: "lastExecutionQuery", lastTimeZone: "lastTimeZone", multipleStatesExpanded: "multipleStatesExpanded", nluExpanded: "flowTreeNluExpanded", nluCortexExpanded: "flowTreeNluCortexExpanded", overviewDefaultFlowState: "overviewDefaultFlowType", overviewDefaultPromptState: "overviewDefaultPromptType", pcAuthToken: "pc_auth", pcLocale: "pcAuth-userPrefLangTag", pcLocaleOld: "pcAuth-userPrefLocale", periodicStateExpanded: "periodicStateExpanded", previewReplayAllFlowTypes: "previewReplayAllFlowTypes", printPageSize: "printPageSize", queryBuilderPartsPositions: "queryBuilderPartsPositions", resourcesExpanded: "flowTreeResourcesExpanded", reusableMenusExpanded: "reusableMenusExpanded", reusableTasksExpanded: "reusableTasksExpanded", savedExecutionEnhancedQuery: "savedExecutionEnhancedQuery", savedExecutionQuery: "savedExecutionQuery", sawInfoPreviewCallableFlow: "sawInfoPreviewCallableFlow", sawInfoPreviewDigitalBotFlow: "sawInfoPreviewDigitalBotFlow", sawInfoPreviewLaunchableWorkflowFlow: "sawInfoPreviewLaunchableFlow", sawInfoPreviewLaunchableWorkitemFlow: "sawInfoPreviewLaunchableWorkitemFlow", showGeneratedExpression: "showGeneratedExpression", showIdentifiers: "showIdentifiers", showInternalErrors: "showInternalErrors", storedHash: "architect-hash-", shortcuts: "shortcuts", showArchitectBuiltInCustomTypes: "showArchitectBuiltInCustomTypes", sidePanelSplitter: "sidePanelSplitter", toolboxExpanded: "toolboxExpanded", taskZoomValues: "taskZoomSettings", userName: "userName", customThemeData: "customThemeData" }; - class c { + const n2 = i2(31635), r2 = i2(79364), o = i2(92794), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(92140)), u = n2.__importDefault(i2(73198)), c = { actionEditorCollapsed: "actionEditorCollapsed", bottomPanelSplitter: "bottomPanelSplitter", callPromptsGrid: "overviewCallPromptsSettings", chatLegacyRoutingMessageShown: "chatLegacyRoutingMessageShown", clipboard: "clipboard", commonModuleTasksExpanded: "commonModuleTasksExpanded", configurationExpanded: "flowTreeConfigurationExpanded", debugLocaleOverride: "debugLocaleOverride", defaultDivisionId: "defaultDivisionId", defaultDestinationFlowTypes: "defaultDestinationFlowTypes", flowDefaultLanguage: "flowDefaultLanguage", flowGridFilters: "flowGridFilters", flowTreeExpanded: "flowTreeExpanded", flowVisualizationReplay: "flowVisualizationReplay", flowVisualizationSize: "flowVisualizationSize", hostName: "hostName", generateFlowLogic: "generateFlowLogic", iframeTimeMachineSegments: "iframeTimeMachineSegments", insightsOptimizationExpanded: "flowTreeInsightsOptimizationExpanded", lastExecutionEnhancedQuery: "lastExecutionEnhancedQuery", lastExecutionQuery: "lastExecutionQuery", lastTimeZone: "lastTimeZone", multipleStatesExpanded: "multipleStatesExpanded", nluExpanded: "flowTreeNluExpanded", nluCortexExpanded: "flowTreeNluCortexExpanded", overviewDefaultFlowState: "overviewDefaultFlowType", overviewDefaultPromptState: "overviewDefaultPromptType", pcAuthToken: "pc_auth", pcLocale: "pcAuth-userPrefLangTag", pcLocaleOld: "pcAuth-userPrefLocale", periodicStateExpanded: "periodicStateExpanded", previewReplayAllFlowTypes: "previewReplayAllFlowTypes", printPageSize: "printPageSize", queryBuilderPartsPositions: "queryBuilderPartsPositions", resourcesExpanded: "flowTreeResourcesExpanded", reusableMenusExpanded: "reusableMenusExpanded", reusableTasksExpanded: "reusableTasksExpanded", savedExecutionEnhancedQuery: "savedExecutionEnhancedQuery", savedExecutionQuery: "savedExecutionQuery", sawInfoPreviewCallableFlow: "sawInfoPreviewCallableFlow", sawInfoPreviewDigitalBotFlow: "sawInfoPreviewDigitalBotFlow", sawInfoPreviewLaunchableWorkflowFlow: "sawInfoPreviewLaunchableFlow", sawInfoPreviewLaunchableWorkitemFlow: "sawInfoPreviewLaunchableWorkitemFlow", showGeneratedExpression: "showGeneratedExpression", showIdentifiers: "showIdentifiers", showInternalErrors: "showInternalErrors", storedHash: "architect-hash-", shortcuts: "shortcuts", showArchitectBuiltInCustomTypes: "showArchitectBuiltInCustomTypes", sidePanelSplitter: "sidePanelSplitter", toolboxExpanded: "toolboxExpanded", taskZoomValues: "taskZoomSettings", userName: "userName", customThemeData: "customThemeData" }; + class d { constructor(e3) { this.nativeStorage = e3, this.retryCount = 0, this.maxRetryCount = 5, this.processingCleanup = false, this.topic = s.getTopic("storage"); } get(e3) { - return e3 && l.default.isString(e3) ? this.nativeStorage.getItem(c._getKey(e3)) : (console.error("Tried to get data with a non-string or empty key: {}", e3), null); + return e3 && l.default.isString(e3) ? this.nativeStorage.getItem(d._getKey(e3)) : (console.error("Tried to get data with a non-string or empty key: {}", e3), null); } isTrue(e3) { return "true" === this.get(e3); } createKeyObservable$(e3) { - const t3 = c._getKey(e3); + const t3 = d._getKey(e3); return (0, r2.fromEvent)(window, "storage").pipe((0, o.filter)((e4) => e4.key === t3)); } static _getKey(e3) { - const t3 = [d.pcAuthToken]; + const t3 = [c.pcAuthToken]; return l.default.contains(t3, e3) || e3 && e3.contains("architect.") ? e3 : "architect." + e3; } parse(e3, t3) { @@ -28527,13 +30531,13 @@ var require_scripting_bundle = __commonJS({ return null != i3 ? i3 : t3; } remove(e3) { - return this.nativeStorage.removeItem(c._getKey(e3)); + return this.nativeStorage.removeItem(d._getKey(e3)); } set(e3, t3) { if (!this.processingCleanup) { if (!e3 || !l.default.isString(e3)) return console.error("Tried to save data with a non-string or empty key: {}", e3), null; try { - this.nativeStorage.setItem(c._getKey(e3), t3), this.retryCount = 0; + this.nativeStorage.setItem(d._getKey(e3), t3), this.retryCount = 0; } catch (i3) { if (!i3 || i3.code !== i3.QUOTA_EXCEEDED_ERR && "NS_ERROR_DOM_QUOTA_REACHED" !== i3.name) i3 && "NS_ERROR_FILE_CORRUPTED" === i3.name ? this.topic.info("Failed to set local storage key '{}'. Error: {}", e3, i3) : this.topic.error("Error setting local storage key '{}'. Error: {}", e3, i3); else if (this.retryCount < this.maxRetryCount) { @@ -28553,7 +30557,7 @@ var require_scripting_bundle = __commonJS({ } } const p = "undefined" != typeof window && window; - t2.storage = { local: new c(p.localStorage), session: new c(p.sessionStorage), cookies: new class { + t2.storage = { local: new d(p.localStorage), session: new d(p.sessionStorage), cookies: new class { get(e3) { if (!e3 || !l.default.isString(e3)) return console.error("Tried to get cookie with a non-string or empty key: {}", e3), null; let t3; @@ -28574,7 +30578,7 @@ var require_scripting_bundle = __commonJS({ let o2 = encodeURIComponent(e3) + "=" + encodeURIComponent(t3); o2 += "; expires=" + r3.toGMTString() + ";path=/", "https:" === location.protocol && (o2 += "; secure"), n3 && (o2 += `;domain=${n3}`), document.cookie = o2; } - }(), keys: d, constructPcAuthObject: function(e3, t3) { + }(), keys: c, constructPcAuthObject: function(e3, t3) { if (!e3) return void console.error("Tried to write PC auth token without a token string."); const i3 = { authenticator: "authenticator:architect", access_token: e3, token_type: "bearer", expires_in: t3 || 1440 }; return JSON.stringify({ authenticated: i3, secure: i3 }); @@ -28808,7 +30812,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }); - const o = i2(31635), a = o.__importStar(i2(24032)), s = o.__importStar(i2(12847)), l = o.__importStar(i2(36781)), u = i2(80295), d = o.__importStar(i2(9345)), c = i2(71004), p = o.__importStar(i2(29133)), _ = i2(29133), h = o.__importDefault(i2(92140)), m = a.getTopic("variableGroup"); + const o = i2(31635), a = o.__importStar(i2(24032)), s = o.__importStar(i2(12847)), l = o.__importStar(i2(36781)), u = i2(80295), c = o.__importStar(i2(9345)), d = i2(71004), p = o.__importStar(i2(29133)), _ = i2(29133), h = o.__importDefault(i2(92140)), m = a.getTopic("variableGroup"); class g { static getExpandedKey(e3, t3, i3) { return i3 && i3.isTaskLike ? e3.toLocaleLowerCase() + " " + t3 + " " + i3.id : e3.toLocaleLowerCase(); @@ -28876,9 +30880,9 @@ var require_scripting_bundle = __commonJS({ this.isDestroyedCheck(), e3 = e3.toLocaleLowerCase(); const r3 = (t3 = this.fixParent(t3)).isFlowViewModel ? t3 : t3.parentFlow; let o2, a2, s2, l2; - const u2 = this._expansionsNameToId[this.getMapIdForContainer(t3)], d2 = this._expansionsDeprecatedNameToId[this.getMapIdForContainer(t3)]; - let c2; - return r3 && (s2 = this._expansionsNameToId[this.getMapIdForContainer(r3)], l2 = this._expansionsDeprecatedNameToId[this.getMapIdForContainer(r3)]), u2 && (o2 = u2[e3]), !o2 && s2 && (o2 = s2[e3]), !n3 && d2 && (c2 = d2[e3]), !n3 && l2 && (c2 = l2[e3]), c2 ? a2 = this._expansions[c2] : o2 && (a2 = this._expansions[o2]), a2 && !a2.transferring ? a2 : void 0; + const u2 = this._expansionsNameToId[this.getMapIdForContainer(t3)], c2 = this._expansionsDeprecatedNameToId[this.getMapIdForContainer(t3)]; + let d2; + return r3 && (s2 = this._expansionsNameToId[this.getMapIdForContainer(r3)], l2 = this._expansionsDeprecatedNameToId[this.getMapIdForContainer(r3)]), u2 && (o2 = u2[e3]), !o2 && s2 && (o2 = s2[e3]), !n3 && c2 && (d2 = c2[e3]), !n3 && l2 && (d2 = l2[e3]), d2 ? a2 = this._expansions[d2] : o2 && (a2 = this._expansions[o2]), a2 && !a2.transferring ? a2 : void 0; } hasPrefixVariable(e3) { return e3 = e3.toLocaleLowerCase(), h.default.find(this._expansions, (t3) => 0 === t3.lowerName.indexOf(e3) || 0 === t3.lowerUnscopedName.indexOf(e3)); @@ -28906,7 +30910,7 @@ var require_scripting_bundle = __commonJS({ return h.default.filter(t3, (t4) => !(t4.isInternal || t4.isTaskVariable && (!e3 || !e3.isTaskLike || t4.parent !== e3))); } filterVariable(e3) { - return h.default.filter(this.filterByTask(e3.task), (t3) => (0, c.isVariableAllowedForExpression)(t3, e3)); + return h.default.filter(this.filterByTask(e3.task), (t3) => (0, d.isVariableAllowedForExpression)(t3, e3)); } removeVariable(e3) { if (e3.isSystemVariable || e3.isInternal) return false; @@ -28920,13 +30924,13 @@ var require_scripting_bundle = __commonJS({ reexpandVariablesForType(e3) { h.default.each(this.taskVariables, (t3) => { var i3; - (null === (i3 = null == t3 ? void 0 : t3.type) || void 0 === i3 ? void 0 : i3.isMatch(e3, d.settings.exactMatch)) && this.reexpandVariable(t3); + (null === (i3 = null == t3 ? void 0 : t3.type) || void 0 === i3 ? void 0 : i3.isMatch(e3, c.settings.exactMatch)) && this.reexpandVariable(t3); }), h.default.each(this.flowVariables, (t3) => { var i3; - (null === (i3 = null == t3 ? void 0 : t3.type) || void 0 === i3 ? void 0 : i3.isMatch(e3, d.settings.exactMatch)) && this.reexpandVariable(t3); + (null === (i3 = null == t3 ? void 0 : t3.type) || void 0 === i3 ? void 0 : i3.isMatch(e3, c.settings.exactMatch)) && this.reexpandVariable(t3); }), h.default.each(this.systemVariables, (t3) => { var i3; - (null === (i3 = null == t3 ? void 0 : t3.type) || void 0 === i3 ? void 0 : i3.isMatch(e3, d.settings.exactMatch)) && this.reexpandVariable(t3); + (null === (i3 = null == t3 ? void 0 : t3.type) || void 0 === i3 ? void 0 : i3.isMatch(e3, c.settings.exactMatch)) && this.reexpandVariable(t3); }); } getVariablesWithDeprecatedNames(e3) { @@ -28965,7 +30969,7 @@ var require_scripting_bundle = __commonJS({ this.isDestroyedCheck(); const t3 = []; return h.default.each(e3, (e4) => { - (!e4.isInternal && e4.hasVisibleUsages || e4.allowInitialValueForReadOnly) && t3.push(e4); + (!e4.isInternal && e4.hasVisibleUsages(e4.parentFlow) || e4.allowInitialValueForReadOnly) && t3.push(e4); }), t3; } getVariableFromExpression(e3) { @@ -28993,8 +30997,8 @@ var require_scripting_bundle = __commonJS({ }, 22999: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(15244)), a = n2.__importStar(i2(14187)), s = n2.__importDefault(i2(95955)), l = n2.__importDefault(i2(26519)), u = n2.__importDefault(i2(71824)), d = i2(66273); - class c extends u.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(15244)), a = n2.__importStar(i2(14187)), s = n2.__importDefault(i2(95955)), l = n2.__importDefault(i2(26519)), u = n2.__importDefault(i2(71824)), c = i2(66273); + class d extends u.default { constructor(e3) { super(e3), this.callPrompts = new s.default(this), this.errorHandling = new l.default(this), this._addToAutoManageSettings(this.callPrompts), this._addToAutoManageSettings(this.errorHandling); } @@ -29019,14 +31023,14 @@ var require_scripting_bundle = __commonJS({ } _createInitialActions() { return n2.__awaiter(this, void 0, void 0, function* () { - return d(this), this; + return c(this), this; }); } search(e3) { super.search(e3); } } - t2.default = c; + t2.default = d; }, 23041: (e2, t2, i2) => { var n2 = { "./cs-cz/expressionsPc.js": [10938, 8557], "./de-de/expressionsPc.js": [77739, 120], "./en-us/expressionsPc.js": [44911], "./es-us/expressionsPc.js": [9338, 9338], "./fr-ca/expressionsPc.js": [96550, 6550], "./it-it/expressionsPc.js": [25224, 5224], "./ja-jp/expressionsPc.js": [80583, 583], "./ko-kr/expressionsPc.js": [7361, 7361], "./nb-no/expressionsPc.js": [2125, 2125], "./nl-nl/expressionsPc.js": [78678, 8678], "./pl-pl/expressionsPc.js": [170, 170], "./pt-br/expressionsPc.js": [84714, 4714], "./ru-ru/expressionsPc.js": [23948, 3948], "./sv-se/expressionsPc.js": [7449, 7449], "./tr-tr/expressionsPc.js": [906, 906], "./zh-cn/expressionsPc.js": [75157, 5157], "./zh-tw/expressionsPc.js": [42141, 2141] }; function r2(e3) { @@ -29050,10 +31054,10 @@ var require_scripting_bundle = __commonJS({ }, 23106: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(12847)), a = n2.__importStar(i2(24032)), s = n2.__importStar(i2(62829)), l = i2(55299), u = n2.__importDefault(i2(93555)), d = a.getTopic("ValidationIssues"); - class c extends l.BaseClass { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(12847)), a = n2.__importStar(i2(24032)), s = n2.__importStar(i2(62829)), l = i2(55299), u = n2.__importDefault(i2(93555)), c = a.getTopic("ValidationIssues"); + class d extends l.BaseClass { constructor(e3, t3) { - super(), e3 || d.errorWithStack(null, `Null item passed to ValidationIssues with id: '${t3}'`), this.id = t3, this.errors = [], this.warnings = [], this.rollupErrors = [], this.rollupWarnings = [], this.item = e3, e3 && (this.model = e3.model, this.displayName = e3.getDisplayName ? e3.getDisplayName() : e3.name), this.guxIcon = s.getGuxIcon(e3); + super(), e3 || c.errorWithStack(null, `Null item passed to ValidationIssues with id: '${t3}'`), this.id = t3, this.errors = [], this.warnings = [], this.rollupErrors = [], this.rollupWarnings = [], this.item = e3, e3 && (this.model = e3.model, this.displayName = e3.getDisplayName ? e3.getDisplayName() : e3.name), this.guxIcon = s.getGuxIcon(e3); } get className() { return "ValidationIssues"; @@ -29095,11 +31099,11 @@ var require_scripting_bundle = __commonJS({ return !!r2.default.findWhere(e3, { text: t3, flowElementId: i3 }) && (o.error("Validation error already exists: " + t3), true); } } - t2.default = c; + t2.default = d; }, 23123: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(68039), a = i2(80428), s = i2(44565), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(68039), a = i2(80428), s = i2(44565), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -29107,7 +31111,7 @@ var require_scripting_bundle = __commonJS({ return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findEmergencyGroup.findEmergencyGroupNameLabel, searchResultLabel: d.findActions.findEmergencyGroup.findEmergencyGroupResultLabel, searchResultExpressionOptions: o.ExpressionTypeEmergencyGroupOptions.create(), searchResultItemType: a.expressionTypeNames.emergencyGroup }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findEmergencyGroup, modelClass: s.FindEmergencyGroupActionModel, name: d.actions.findEmergencyGroupActionLabel, scriptingName: "ArchActionFindEmergencyGroup" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findEmergencyGroup, modelClass: s.FindEmergencyGroupActionModel, name: d.actions.findEmergencyGroupActionLabel, scriptingName: "ArchActionFindEmergencyGroup", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 23206: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -29134,8 +31138,8 @@ var require_scripting_bundle = __commonJS({ }, 23208: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(48)), s = n2.__importStar(i2(36781)), l = n2.__importDefault(i2(98114)), u = n2.__importStar(i2(58380)), d = i2(12179), c = n2.__importDefault(i2(68460)), p = i2(47957); - class _ extends c.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(48)), s = n2.__importStar(i2(36781)), l = n2.__importDefault(i2(98114)), u = n2.__importStar(i2(58380)), c = i2(12179), d = n2.__importDefault(i2(68460)), p = i2(47957); + class _ extends d.default { constructor(e3) { super(e3), this.modelPropertyName = "commonModuleFlowSettings"; } @@ -29183,7 +31187,7 @@ var require_scripting_bundle = __commonJS({ return "fa/gears-regular"; } get helpTopic() { - return d.helpTopics.treeNodes.commonModuleSettings; + return c.helpTopics.treeNodes.commonModuleSettings; } get wrappedYamlName() { return "settingsCommonModule"; @@ -29202,8 +31206,8 @@ var require_scripting_bundle = __commonJS({ }, 23215: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(9456), a = i2(79056), s = n2.__importStar(i2(58380)), l = n2.__importDefault(i2(4648)), u = i2(14394), d = n2.__importStar(i2(81116)), c = n2.__importDefault(i2(51695)), p = i2(47957); - class _ extends c.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(9456), a = i2(79056), s = n2.__importStar(i2(58380)), l = n2.__importDefault(i2(4648)), u = i2(14394), c = n2.__importStar(i2(81116)), d = n2.__importDefault(i2(51695)), p = i2(47957); + class _ extends d.default { constructor(e3, t3) { super(), this.model = e3, this._parentFlow = t3, this.id = (0, o.uuid)(), this.timeslots = this._createNewTimeslotsExpression(this.model.timeslots); } @@ -29255,7 +31259,7 @@ var require_scripting_bundle = __commonJS({ const t3 = e3 || null, i3 = a.ExpressionTypeTimeslotOptions.create((e4) => { e4.setDescriptionInfo(p.dynamicTimeslots.settings.dynamicTimeslotSettingTimeslotsLabel, p.dynamicTimeslots.settings.dynamicTimeslotSettingTimeslotsDescription).setFeatureConfigName(l.default.botFlowsMessagingDatePicker).setIninTestingField("timeslot-type-timeslots"); }); - return d.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, p.dynamicTimeslots.settings.dynamicTimeslotSettingTimeslotsLabel, u.globalTypes.timeslotCollection, null, i3); + return c.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, p.dynamicTimeslots.settings.dynamicTimeslotSettingTimeslotsLabel, u.globalTypes.timeslotCollection, null, i3); } } t2.default = _; @@ -29281,7 +31285,7 @@ var require_scripting_bundle = __commonJS({ }, 23293: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.userPromptListManager = t2.UserPromptListManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(97920)), s = i2(50474), l = n2.__importStar(i2(27854)), u = n2.__importDefault(i2(47532)), d = i2(24032), c = n2.__importDefault(i2(85660)), p = i2(81801), _ = i2(47957), h = i2(27862), m = { name: _.sectionUserPrompts, singularName: _.audio.promptUser }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(97920)), s = i2(50474), l = n2.__importStar(i2(27854)), u = n2.__importDefault(i2(47532)), c = i2(24032), d = n2.__importDefault(i2(85660)), p = i2(81801), _ = i2(47957), h = i2(27862), m = { name: _.sectionUserPrompts, singularName: _.audio.promptUser }; class g extends u.default { get requiredAuth() { return p.externalAuthorizations.authStrings.promptsUserView; @@ -29290,7 +31294,7 @@ var require_scripting_bundle = __commonJS({ return h.UserPrompt; } constructor() { - super(), this.topic = (0, d.getTopic)("userPromptListManager"), this.apiCallList = a.getUserPromptContainers_ignoreBadResponse, this.apiCallSingle = a.getUserPromptContainer_ignoreBadResponse, this.className = "UserPromptListManager", this.dependencyContext = null, this.knownEmptySearches = [], this.isPromptManager = true, this.registeredAudioExpressions = {}, o.serviceListen(o.promptChanged, (e3, t3) => { + super(), this.topic = (0, c.getTopic)("userPromptListManager"), this.apiCallList = a.getUserPromptContainers_ignoreBadResponse, this.apiCallSingle = a.getUserPromptContainer_ignoreBadResponse, this.className = "UserPromptListManager", this.dependencyContext = null, this.knownEmptySearches = [], this.isPromptManager = true, this.registeredAudioExpressions = {}, o.serviceListen(o.promptChanged, (e3, t3) => { this.updatePromptNameAndUsages(e3, t3), this.updateRegisteredAudioExpressions(e3); }), o.serviceListen(o.promptResourceDeleted, (e3) => { e3.isUser && this.addItem(e3._model, true); @@ -29316,7 +31320,7 @@ var require_scripting_bundle = __commonJS({ }); } _createItemViewModel(e3) { - return new c.default(e3, false); + return new d.default(e3, false); } createPrompt(e3, t3) { return a.createPromptContainer(e3, t3).then((e4) => (this.topic.info("Successfully created call prompt with ID: {}", e4.id), this.addItem(this._createItemViewModel(e4)))); @@ -29332,7 +31336,7 @@ var require_scripting_bundle = __commonJS({ refreshSinglePrompt(e3) { return a.getPromptContainer(e3, false, { includeMediaUris: true }).then((e4) => { const t3 = this._createItemViewModel(e4); - return this.items[e4.id] && (t3.usages = this.items[e4.id].usages), this.items[e4.id] = t3, t3; + return this.items[e4.id] && t3.transferUsagesFrom(this.items[e4.id]), this.items[e4.id] = t3, t3; }); } registerAudioExpression(e3) { @@ -29344,14 +31348,12 @@ var require_scripting_bundle = __commonJS({ updatePromptNameAndUsages(e3, t3) { const i3 = this.items[e3.id]; if (i3) { - const n3 = r2.default.clone(i3.usages); - if (t3 !== e3.expressionName) { - const i4 = r2.default.keys(n3); + const n3 = i3.cloneUsages(); + return t3 !== e3.expressionName && (r2.default.each(n3, (i4) => { r2.default.each(i4, (i5) => { - (0, s.isBaseExpression)(n3[i5].expression) && n3[i5].expression.replaceUsages(t3, e3.expressionName), e3.usages[i5] = n3[i5]; + (0, s.isBaseExpression)(i5.expression) && i5.expression.replaceUsages(t3, e3.expressionName); }); - } - return this.items[e3.id] = e3, true; + }), e3.transferUsagesFrom(i3)), this.items[e3.id] = e3, true; } return false; } @@ -29364,10 +31366,10 @@ var require_scripting_bundle = __commonJS({ t2.UserPromptListManager = g, t2.userPromptListManager = new g(); }, 23308: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(15364), a = n2.__importDefault(i2(34015)), s = n2.__importDefault(i2(22465)), l = i2(81516), u = n2.__importDefault(i2(27203)), d = i2(11181), c = i2(12179), p = i2(12457), _ = n2.__importDefault(i2(97891)), h = i2(28803), m = n2.__importDefault(i2(61086)), g = i2(80428), f = i2(47957), T = i2(3916); - class y extends m.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(15364), a = n2.__importDefault(i2(34015)), s = n2.__importDefault(i2(22465)), l = i2(81516), u = n2.__importDefault(i2(27203)), c = i2(11181), d = i2(12179), p = i2(12457), _ = n2.__importDefault(i2(97891)), h = i2(28803), m = n2.__importDefault(i2(61086)), g = i2(80428), f = i2(1910), T = i2(69453), y = n2.__importDefault(i2(4648)), S = i2(17604), A = i2(47957), N = i2(3916); + class v extends m.default { constructor(e3, t3) { - super(e3, t3, d.dataTablesManager), this.allowErrorSchema = true, this.resources = { actionLabel: f.dataTable.dataTable, actionNotFound: f.dataTable.tableNotFound, outputsHeader: f.inputOutputList.foundOutputs, savedVersionOfAction: f.dataTable.savedVersionOfAction, selectAction: f.dataTable.selectDataTable }; + super(e3, t3, c.dataTablesManager), this.allowErrorSchema = true, this.resources = { actionLabel: A.dataTable.dataTable, actionNotFound: A.dataTable.tableNotFound, outputsHeader: A.inputOutputList.foundOutputs, savedVersionOfAction: A.dataTable.savedVersionOfAction, selectAction: A.dataTable.selectDataTable }; } get actionName() { return this.datatableName; @@ -29382,7 +31384,7 @@ var require_scripting_bundle = __commonJS({ this.datatableId = e3; } getDetails() { - return this.actionName ? new p.ActionDetails([f.dataTable.dataTable], [this.actionName]) : null; + return this.actionName ? new p.ActionDetails([A.dataTable.dataTable], [this.actionName]) : null; } setNewInstanceDefaults() { super.setNewInstanceDefaults(), this.lookupKeyValue.outOfService = true; @@ -29400,12 +31402,37 @@ var require_scripting_bundle = __commonJS({ r2.default.isFunction(null === (e3 = this.outputs) || void 0 === e3 ? void 0 : e3.destroyChildren) && this.outputs.destroyChildren(), this.lookupKeyValue && this.lookupKeyValue.clear(true), r2.default.isFunction(null === (t3 = this.errorBindings) || void 0 === t3 ? void 0 : t3.destroyChildren) && this.errorBindings.destroyChildren(); } static get managedProperties() { - return [{ property: "dataTable", isJustForFlowYaml: true, yamlOptions: m.default.createYamlOptions("dataTable", (e3) => e3.setSkipProperty(true).setExportOrder(60)) }, { property: "actionSetting", createDetails: h.NetworkBasedActionProperty.createCreateDetails("datatableId", "datatableName", d.dataTablesManager, f.dataTable.mustSelectTable, f.dataTable.tableNotFound, void 0), yamlOptions: y.createYamlOptions("actionSetting", (e3) => e3.setSkipProperty(true)) }, { options: l.ExpressionTypeStringOptions.create((e3) => e3.setDefaultToExpression(true).setIninTestingField("lookupKeyValue").setAllowNotSet(false).facets = s.default.create().setAllowNull(false)), yamlOptions: y.createYamlOptions("lookupKeyValue", (e3) => e3.setPropertyName("lookupValue").setExportOrder(50)), type: g.expressionTypeNames.string, property: "lookupKeyValue" }, { dataList: true, isOutput: true, property: "outputs", yamlOptions: y.createYamlOptions("outputs", (e3) => e3.setPropertyName("foundOutputs")) }, { dataList: true, isOutput: true, property: "errorBindings", yamlOptions: y.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }]; + return [{ property: "dataTable", isJustForFlowYaml: true, yamlOptions: m.default.createYamlOptions("dataTable", (e3) => e3.setSkipProperty(true).setExportOrder(60)) }, { property: "actionSetting", createDetails: h.NetworkBasedActionProperty.createCreateDetails("datatableId", "datatableName", c.dataTablesManager, A.dataTable.mustSelectTable, A.dataTable.tableNotFound, void 0), yamlOptions: v.createYamlOptions("actionSetting", (e3) => e3.setSkipProperty(true)) }, { options: l.ExpressionTypeStringOptions.create((e3) => e3.setDefaultToExpression(true).setIninTestingField("lookupKeyValue").setAllowNotSet(false).facets = s.default.create().setAllowNull(false)), yamlOptions: v.createYamlOptions("lookupKeyValue", (e3) => e3.setPropertyName("lookupValue").setExportOrder(50)), type: g.expressionTypeNames.string, property: "lookupKeyValue" }, { dataList: true, isOutput: true, property: "outputs", yamlOptions: v.createYamlOptions("outputs", (e3) => e3.setPropertyName("foundOutputs")) }, { dataList: true, isOutput: true, property: "errorBindings", yamlOptions: v.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }]; } mergeSchemaProperties(e3) { e3 && (e3.errorSchema && this.serverManager.mergeSchemaProperties(e3.errorSchema.properties, this.errorBindings), e3.successSchema && this.serverManager.mergeSchemaProperties(e3.successSchema.properties, this.outputs), e3.name !== this.actionName && (this.topic.info(`updating actionName for action '${this.actionId}'`), this.actionName = e3.name)); const t3 = e3 && e3.inputSchema && e3.inputSchema.properties ? e3.inputSchema.properties[0] : void 0; - t3 && T.setExpressionWithSchemaProperty(this.lookupKeyValue, t3), this.lookupKeyValue.outOfService = r2.default.isUndefined(t3); + t3 && N.setExpressionWithSchemaProperty(this.lookupKeyValue, t3), this.lookupKeyValue.outOfService = r2.default.isUndefined(t3); + } + _configureFromModel(e3, t3, i3) { + if ((0, f.isConfigureFromModelRecord)(e3.dataTable)) { + const r3 = e3.dataTable, o2 = Object.keys(r3)[0]; + if (o2) { + const e4 = t3, a2 = (0, f.isConfigureFromModelRecord)(r3[o2]) ? r3[o2] : void 0; + i3.registerDeferredOp({ type: "resolveDataTable", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + var t4, n3; + try { + let r4 = c.dataTablesManager.findItemByName(o2); + if (!r4) { + for (const e5 of Object.values(c.dataTablesManager.items || {})) if (e5.displayName === o2 || e5.name === o2) { + r4 = e5; + break; + } + } + r4 ? (this.setIntegrationActionByViewModel(r4, void 0), a2 && (i3.currentPropertyName = "foundOutputs", null === (t4 = this.outputs) || void 0 === t4 || t4.configureFromModel(a2.foundOutputs, e4, i3), i3.currentPropertyName = "failureOutputs", null === (n3 = this.errorBindings) || void 0 === n3 || n3.configureFromModel(a2.failureOutputs, e4, i3), i3.currentPropertyName = void 0)) : i3.warn((0, S.sprintf)(T.configureFromModel.failedToResolve, "data table", o2)); + } catch (e5) { + const t5 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, S.sprintf)(T.configureFromModel.entityResolutionFailed, "dataTable", o2, t5)); + } + }) }); + } + } + super._configureFromModel(e3, t3, i3); } postProcessYamlConfig(e3, t3, i3) { if (this.actionName) { @@ -29424,7 +31451,7 @@ var require_scripting_bundle = __commonJS({ return e3 ? this.serverManager.fetchItem(e3.id) : Promise.resolve(); } } - y.info = _.default.createActionInfo({ actionClass: y, canBeInTask: true, helpTopic: c.helpTopics.actions.dataTableLookup, modelClass: i2(98009), name: f.actions.dataTableLookup, scriptingName: "ArchActionDataTableLookup" }), t2.A = y; + v.info = _.default.createActionInfo({ actionClass: v, canBeInTask: true, helpTopic: d.helpTopics.actions.dataTableLookup, modelClass: i2(98009), name: A.actions.dataTableLookup, scriptingName: "ArchActionDataTableLookup", modelFormatSupport: { flowYaml: { inProgress: true, feature: y.default.changeSetsFeaturePhase2 } } }), t2.A = v; }, 23316: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseFlowItemWithNameAndId = void 0; @@ -29482,7 +31509,7 @@ var require_scripting_bundle = __commonJS({ }, 23335: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(33231)), a = i2(71004), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(82926)), u = i2(63352), d = i2(27491), c = n2.__importDefault(i2(22226)), p = i2(14394), _ = i2(9345), h = i2(26403), m = i2(14187), g = i2(14187), f = i2(14187), T = i2(14187), y = n2.__importDefault(i2(66978)), S = n2.__importDefault(i2(67336)); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(33231)), a = i2(71004), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(82926)), u = i2(63352), c = i2(27491), d = n2.__importDefault(i2(22226)), p = i2(14394), _ = i2(9345), h = i2(26403), m = i2(14187), g = i2(14187), f = i2(14187), T = i2(14187), y = n2.__importDefault(i2(66978)), S = n2.__importDefault(i2(67336)); class A extends S.default { constructor(e3) { super(e3), this._checkItem(this._infoParmCtor("coreExpression"), !e3.parentFlow, "INTERNAL ERROR - there is no parent flow set on the expression"), this._coreExpressionInternal = e3, this._dataType = e3.type ? this.coreFactory.createArchWrapper(e3.type) : void 0, this._settings = this.coreFactory.createArchValueSettings(this); @@ -29516,7 +31543,7 @@ var require_scripting_bundle = __commonJS({ return '"' + this._escapeTextForExpression(e3) + '"'; } _escapeTextForExpression(e3) { - return c.default.rawEscapeStringForExpressionMode(e3); + return d.default.rawEscapeStringForExpressionMode(e3); } _failIfOutput(e3) { this._settings.isOutput && this.logErrorAndThrow("assignment is invalid because this value is an output."); @@ -29666,7 +31693,7 @@ var require_scripting_bundle = __commonJS({ } else { const o2 = this._coreExpression.parentFlow; let s2, l2 = false; - const u2 = false, c2 = false; + const u2 = false, d2 = false; let p2, _2, h2 = false; const y2 = (0, m.getScope)(t3); switch (y2) { @@ -29701,12 +31728,12 @@ var require_scripting_bundle = __commonJS({ } } const S2 = o2.variableGroup; - if (t3 = (0, T.setScope)(_2, p2), this._checkItem(e3, !p2, "there is no variable name specified after the prefix '" + _2 + "'"), this._checkItem(e3, p2 !== d.expressionDataService.cleanseForIdentifierName(p2), "the '" + p2 + "' in '" + t3 + "' is not valid. It must start with a letter and then be followed by one or more letters, numbers or underscore characters."), i3 = S2.getVariableByName(t3, n3), !i3 && !l2) { + if (t3 = (0, T.setScope)(_2, p2), this._checkItem(e3, !p2, "there is no variable name specified after the prefix '" + _2 + "'"), this._checkItem(e3, p2 !== c.expressionDataService.cleanseForIdentifierName(p2), "the '" + p2 + "' in '" + t3 + "' is not valid. It must start with a letter and then be followed by one or more letters, numbers or underscore characters."), i3 = S2.getVariableByName(t3, n3), !i3 && !l2) { if (_2 && n3) { const i4 = this._getUserCreatableVariableScopes(true); this._checkItem(e3, !r2.default.contains(n3.userCreatableVariableScopes, _2), `Unable to create the variable '${t3}' because the creatable variable scope(s) are ( '${r2.default.isArray(i4) && i4.length ? i4.join(".', '") : "flow"}.' ) and the submitted variable scope is '${_2}.'.`); } - this._dataType.isScriptCreatableForFlow(this.parentFlow) || this._itemIsInvalid(e3, "unable to create the variable '" + t3 + "' because its Architect data type ( not Architect Scripting type ) of '" + this.dataType.label + "' is not creatable from scripting."), h2 && (u2 && !this._dataType.isAvailableAsInputForFlowType(this._coreExpression.parentFlow.type) && this._itemIsInvalid(e3, "unable to create the variable '" + t3 + "' because its Architect data type ( not Architect Scripting type ) of '" + this.dataType.label + "' cannot be used as a flow input."), c2 && !this._dataType.isAvailableAsOutputForFlowType(this._coreExpression.parentFlow.type) && this._itemIsInvalid(e3, "unable to create the variable '" + t3 + "' because its Architect data type ( not Architect Scripting type ) of '" + this.dataType.label + "' cannot be used as a flow output.")), this.logNote("creating and assigning the variable named '" + t3 + "' in the " + _2 + " named '" + s2 + "'"), i3 = (0, a.addVariable)(t3, this._coreExpression, n3); + this._dataType.isScriptCreatableForFlow(this.parentFlow) || this._itemIsInvalid(e3, "unable to create the variable '" + t3 + "' because its Architect data type ( not Architect Scripting type ) of '" + this.dataType.label + "' is not creatable from scripting."), h2 && (u2 && !this._dataType.isAvailableAsInputForFlowType(this._coreExpression.parentFlow.type) && this._itemIsInvalid(e3, "unable to create the variable '" + t3 + "' because its Architect data type ( not Architect Scripting type ) of '" + this.dataType.label + "' cannot be used as a flow input."), d2 && !this._dataType.isAvailableAsOutputForFlowType(this._coreExpression.parentFlow.type) && this._itemIsInvalid(e3, "unable to create the variable '" + t3 + "' because its Architect data type ( not Architect Scripting type ) of '" + this.dataType.label + "' cannot be used as a flow output.")), this.logNote("creating and assigning the variable named '" + t3 + "' in the " + _2 + " named '" + s2 + "'"), i3 = (0, a.addVariable)(t3, this._coreExpression, n3); } } return i3 || this._itemIsInvalid(e3, `the variable '${t3}' does not exist and cannot be created.`), i3.isUnavailable && this._itemIsInvalid(e3, "the variable '" + i3.name + "' cannot be set because it is unavailable."), (0, _.isMatch)(i3.type, this._coreExpression.type, _.settings.exact) || this._itemIsInvalid(e3, "the variable named '" + i3.name + "' with type of '" + i3.type.displayString + "' cannot be assigned to a value with type of '" + this._coreExpression.type.displayString + "' since they do not match."), i3; @@ -29764,7 +31791,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2, r2, o, a, s, l; Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseAsset = void 0; - const u = i2(31635), d = i2(80295), c = i2(8820), p = i2(80295), _ = i2(84050); + const u = i2(31635), c = i2(80295), d = i2(8820), p = i2(80295), _ = i2(84050); class h extends _.NameIdDescriptionModel { constructor(e3) { super(e3), (0, p.makeUnenumerable)(this, "_division"), (0, p.makeUnenumerable)(this, "_contentLength"), (0, p.makeUnenumerable)(this, "_contentLocation"), (0, p.makeUnenumerable)(this, "_contentType"), (0, p.makeUnenumerable)(this, "_dateCreated"), (0, p.makeUnenumerable)(this, "_createdBy"), (0, p.makeUnenumerable)(this, "_dateModified"), (0, p.makeUnenumerable)(this, "_modifiedBy"), (0, p.makeUnenumerable)(this, "_responses"); @@ -29824,7 +31851,7 @@ var require_scripting_bundle = __commonJS({ this._responses = e3; } } - t2.ResponseAsset = h, u.__decorate([(0, d.enumerable)(true), u.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.IDataContractId && c.IDataContractId) ? n2 : Object), u.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== c.IDataContractId && c.IDataContractId) ? r2 : Object])], h.prototype, "division", null), u.__decorate([(0, d.enumerable)(true), u.__metadata("design:type", Number), u.__metadata("design:paramtypes", [Number])], h.prototype, "contentLength", null), u.__decorate([(0, d.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], h.prototype, "contentLocation", null), u.__decorate([(0, d.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], h.prototype, "contentType", null), u.__decorate([(0, d.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], h.prototype, "dateCreated", null), u.__decorate([(0, d.enumerable)(true), u.__metadata("design:type", "function" == typeof (o = void 0 !== c.IDataContractId && c.IDataContractId) ? o : Object), u.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== c.IDataContractId && c.IDataContractId) ? a : Object])], h.prototype, "createdBy", null), u.__decorate([(0, d.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], h.prototype, "dateModified", null), u.__decorate([(0, d.enumerable)(true), u.__metadata("design:type", "function" == typeof (s = void 0 !== c.IDataContractId && c.IDataContractId) ? s : Object), u.__metadata("design:paramtypes", ["function" == typeof (l = void 0 !== c.IDataContractId && c.IDataContractId) ? l : Object])], h.prototype, "modifiedBy", null), u.__decorate([(0, d.enumerable)(true), u.__metadata("design:type", Array), u.__metadata("design:paramtypes", [Array])], h.prototype, "responses", null); + t2.ResponseAsset = h, u.__decorate([(0, c.enumerable)(true), u.__metadata("design:type", "function" == typeof (n2 = void 0 !== d.IDataContractId && d.IDataContractId) ? n2 : Object), u.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== d.IDataContractId && d.IDataContractId) ? r2 : Object])], h.prototype, "division", null), u.__decorate([(0, c.enumerable)(true), u.__metadata("design:type", Number), u.__metadata("design:paramtypes", [Number])], h.prototype, "contentLength", null), u.__decorate([(0, c.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], h.prototype, "contentLocation", null), u.__decorate([(0, c.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], h.prototype, "contentType", null), u.__decorate([(0, c.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], h.prototype, "dateCreated", null), u.__decorate([(0, c.enumerable)(true), u.__metadata("design:type", "function" == typeof (o = void 0 !== d.IDataContractId && d.IDataContractId) ? o : Object), u.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== d.IDataContractId && d.IDataContractId) ? a : Object])], h.prototype, "createdBy", null), u.__decorate([(0, c.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], h.prototype, "dateModified", null), u.__decorate([(0, c.enumerable)(true), u.__metadata("design:type", "function" == typeof (s = void 0 !== d.IDataContractId && d.IDataContractId) ? s : Object), u.__metadata("design:paramtypes", ["function" == typeof (l = void 0 !== d.IDataContractId && d.IDataContractId) ? l : Object])], h.prototype, "modifiedBy", null), u.__decorate([(0, c.enumerable)(true), u.__metadata("design:type", Array), u.__metadata("design:paramtypes", [Array])], h.prototype, "responses", null); }, 23399: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -29894,18 +31921,18 @@ var require_scripting_bundle = __commonJS({ t2.ResponseLibrary = r2; }, 23488: (e2, t2, i2) => { "use strict"; - var n2, r2; + var n2, r2, o, a; Object.defineProperty(t2, "__esModule", { value: true }); - const o = i2(31635), a = i2(80295), s = o.__importDefault(i2(90152)), l = o.__importDefault(i2(95079)), u = o.__importStar(i2(75800)); - class d extends l.default { + const s = i2(31635), l = s.__importStar(i2(75800)), u = s.__importDefault(i2(90152)), c = s.__importDefault(i2(85863)), d = i2(80295), p = s.__importDefault(i2(95079)), _ = i2(80295); + class h extends p.default { constructor(e3) { - super(e3), (0, a.makeUnenumerable)(this, "_categoryInfo"), (0, a.makeUnenumerable)(this, "_flowTypesDeprecated"); + super(e3), (0, _.makeUnenumerable)(this, "_categoryInfo"), (0, _.makeUnenumerable)(this, "_flowTypesDeprecated"), (0, _.makeUnenumerable)(this, "_limits"); } get categoryInfo() { return this._categoryInfo; } set categoryInfo(e3) { - this._categoryInfo = this.reviveItem(e3, s.default); + this._categoryInfo = this.reviveItem(e3, u.default); } setExpandedFlowTypesDeprecated(e3) { this._flowTypesDeprecated = e3; @@ -29916,13 +31943,19 @@ var require_scripting_bundle = __commonJS({ set flowTypesDeprecated(e3) { this._reviveFlowTypeMap(e3, "_flowTypesDeprecated"); } + get limits() { + return this._limits; + } + set limits(e3) { + this._limits = this.reviveItem(e3, c.default); + } } - t2.default = d, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== s.default && s.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "categoryInfo", null), o.__decorate([(0, a.enumerable)(false), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== u && u.IAvailabilitySupportMap) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "flowTypesDeprecated", null); + t2.default = h, s.__decorate([(0, d.enumerable)(true), s.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.default && u.default) ? n2 : Object), s.__metadata("design:paramtypes", [Object])], h.prototype, "categoryInfo", null), s.__decorate([(0, d.enumerable)(false), s.__metadata("design:type", "function" == typeof (r2 = void 0 !== l && l.IAvailabilitySupportMap) ? r2 : Object), s.__metadata("design:paramtypes", [Object])], h.prototype, "flowTypesDeprecated", null), s.__decorate([(0, d.enumerable)(true), s.__metadata("design:type", "function" == typeof (o = void 0 !== c.default && c.default) ? o : Object), s.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== c.default && c.default) ? a : Object])], h.prototype, "limits", null); }, 23503: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.briefQueueManager = void 0; const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importDefault(i2(47532)), a = i2(81801), s = i2(24032), l = i2(27862), u = i2(55190); - class d extends o.default { + class c extends o.default { get requiredAuth() { return a.externalAuthorizations.authStrings.queuesSearch; } @@ -29933,7 +31966,7 @@ var require_scripting_bundle = __commonJS({ super(), this.topic = (0, s.getTopic)("briefQueueManager"), this.apiCallList = u.getQueuesDivisionViews, this.className = "BriefQueueManager", this.defaultMatchingStyle = r2.exactMatch, this.dependencyContext = null, this.isBriefObjectManager = true, this.noApiCallSingle = true, this.defaultPageSize = 100, this.maxSupportedPageCount = 5, this.apiCallSingle = void 0, this._initialize(); } } - t2.briefQueueManager = new d(); + t2.briefQueueManager = new c(); }, 23506: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.NotFoundError = void 0; @@ -30021,9 +32054,9 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(98134)), s = n2.__importDefault(i2(5532)), l = n2.__importDefault(i2(45148)), u = o.getTopic("BaseBuilderWithBuilderPartsDef"); - class d extends l.default { - constructor(e3, t3, i3, n3, r3, o2, a2, s2, l2, d2, c, p, _, h, m, g, f, T) { - if (super(e3, t3, i3, n3, r3, o2, a2, s2, c || o2.getArchIcon(), p, _, h, m), Object.defineProperties(this, { _builderManagesContainerOrder: { value: !!T }, _builderPartDefCategoryIdentifierOrIdentifiers: { value: l2 }, _builderPartTypes: { value: f }, _defaultBuilderPartId: { value: d2 }, _fixedBuilderPart: { value: !!g && !!g.fixedBuilderPart }, _maxBuilderPartCount: { value: g ? g.maxBuilderPartCount : void 0 }, _minBuilderPartCount: { value: g ? g.minBuilderPartCount : 1 }, _warnOnNoParts: { value: g ? g.warnOnNoParts : void 0 } }), !this.generators || !this.generators.noOrDisabledPartsGenerator) { + class c extends l.default { + constructor(e3, t3, i3, n3, r3, o2, a2, s2, l2, c2, d, p, _, h, m, g, f, T) { + if (super(e3, t3, i3, n3, r3, o2, a2, s2, d || o2.getArchIcon(), p, _, h, m), Object.defineProperties(this, { _builderManagesContainerOrder: { value: !!T }, _builderPartDefCategoryIdentifierOrIdentifiers: { value: l2 }, _builderPartTypes: { value: f }, _defaultBuilderPartId: { value: c2 }, _fixedBuilderPart: { value: !!g && !!g.fixedBuilderPart }, _maxBuilderPartCount: { value: g ? g.maxBuilderPartCount : void 0 }, _minBuilderPartCount: { value: g ? g.minBuilderPartCount : 1 }, _warnOnNoParts: { value: g ? g.warnOnNoParts : void 0 } }), !this.generators || !this.generators.noOrDisabledPartsGenerator) { const e4 = `${this.id} does not have a disabled or no parts generator defined.`; u.error(e4); } @@ -30088,7 +32121,7 @@ var require_scripting_bundle = __commonJS({ return a.default; } } - t2.default = d; + t2.default = c; }, 23657: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeShippingOptions = void 0; @@ -30116,10 +32149,10 @@ var require_scripting_bundle = __commonJS({ } var o = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], a = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], s = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], l = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], u = new Array(576); r2(u); - var d = new Array(60); - r2(d); - var c = new Array(512); + var c = new Array(60); r2(c); + var d = new Array(512); + r2(d); var p = new Array(256); r2(p); var _ = new Array(29); @@ -30132,7 +32165,7 @@ var require_scripting_bundle = __commonJS({ this.dyn_tree = e3, this.max_code = 0, this.stat_desc = t3; } function S(e3) { - return e3 < 256 ? c[e3] : c[256 + (e3 >>> 7)]; + return e3 < 256 ? d[e3] : d[256 + (e3 >>> 7)]; } function A(e3, t3) { e3.pending_buf[e3.pending++] = 255 & t3, e3.pending_buf[e3.pending++] = t3 >>> 8 & 255; @@ -30140,22 +32173,22 @@ var require_scripting_bundle = __commonJS({ function N(e3, t3, i3) { e3.bi_valid > 16 - i3 ? (e3.bi_buf |= t3 << e3.bi_valid & 65535, A(e3, e3.bi_buf), e3.bi_buf = t3 >> 16 - e3.bi_valid, e3.bi_valid += i3 - 16) : (e3.bi_buf |= t3 << e3.bi_valid & 65535, e3.bi_valid += i3); } - function O(e3, t3, i3) { + function v(e3, t3, i3) { N(e3, i3[2 * t3], i3[2 * t3 + 1]); } - function I(e3, t3) { + function O(e3, t3) { var i3 = 0; do { i3 |= 1 & e3, e3 >>>= 1, i3 <<= 1; } while (--t3 > 0); return i3 >>> 1; } - function v(e3, t3, i3) { + function I(e3, t3, i3) { var n3, r3, o2 = new Array(16), a2 = 0; for (n3 = 1; n3 <= 15; n3++) o2[n3] = a2 = a2 + i3[n3 - 1] << 1; for (r3 = 0; r3 <= t3; r3++) { var s2 = e3[2 * r3 + 1]; - 0 !== s2 && (e3[2 * r3] = I(o2[s2]++, s2)); + 0 !== s2 && (e3[2 * r3] = O(o2[s2]++, s2)); } } function C(e3) { @@ -30172,30 +32205,30 @@ var require_scripting_bundle = __commonJS({ var r3 = 2 * t3, o2 = 2 * i3; return e3[r3] < e3[o2] || e3[r3] === e3[o2] && n3[t3] <= n3[i3]; } - function R(e3, t3, i3) { + function w(e3, t3, i3) { for (var n3 = e3.heap[i3], r3 = i3 << 1; r3 <= e3.heap_len && (r3 < e3.heap_len && E(t3, e3.heap[r3 + 1], e3.heap[r3], e3.depth) && r3++, !E(t3, n3, e3.heap[r3], e3.depth)); ) e3.heap[i3] = e3.heap[r3], i3 = r3, r3 <<= 1; e3.heap[i3] = n3; } - function w(e3, t3, i3) { + function R(e3, t3, i3) { var n3, r3, s2, l2, u2 = 0; if (0 !== e3.last_lit) do { - n3 = e3.pending_buf[e3.d_buf + 2 * u2] << 8 | e3.pending_buf[e3.d_buf + 2 * u2 + 1], r3 = e3.pending_buf[e3.l_buf + u2], u2++, 0 === n3 ? O(e3, r3, t3) : (O(e3, (s2 = p[r3]) + 256 + 1, t3), 0 !== (l2 = o[s2]) && N(e3, r3 -= _[s2], l2), O(e3, s2 = S(--n3), i3), 0 !== (l2 = a[s2]) && N(e3, n3 -= f[s2], l2)); + n3 = e3.pending_buf[e3.d_buf + 2 * u2] << 8 | e3.pending_buf[e3.d_buf + 2 * u2 + 1], r3 = e3.pending_buf[e3.l_buf + u2], u2++, 0 === n3 ? v(e3, r3, t3) : (v(e3, (s2 = p[r3]) + 256 + 1, t3), 0 !== (l2 = o[s2]) && N(e3, r3 -= _[s2], l2), v(e3, s2 = S(--n3), i3), 0 !== (l2 = a[s2]) && N(e3, n3 -= f[s2], l2)); } while (u2 < e3.last_lit); - O(e3, 256, t3); + v(e3, 256, t3); } function D(e3, t3) { var i3, n3, r3, o2 = t3.dyn_tree, a2 = t3.stat_desc.static_tree, s2 = t3.stat_desc.has_stree, l2 = t3.stat_desc.elems, u2 = -1; for (e3.heap_len = 0, e3.heap_max = 573, i3 = 0; i3 < l2; i3++) 0 !== o2[2 * i3] ? (e3.heap[++e3.heap_len] = u2 = i3, e3.depth[i3] = 0) : o2[2 * i3 + 1] = 0; for (; e3.heap_len < 2; ) o2[2 * (r3 = e3.heap[++e3.heap_len] = u2 < 2 ? ++u2 : 0)] = 1, e3.depth[r3] = 0, e3.opt_len--, s2 && (e3.static_len -= a2[2 * r3 + 1]); - for (t3.max_code = u2, i3 = e3.heap_len >> 1; i3 >= 1; i3--) R(e3, o2, i3); + for (t3.max_code = u2, i3 = e3.heap_len >> 1; i3 >= 1; i3--) w(e3, o2, i3); r3 = l2; do { - i3 = e3.heap[1], e3.heap[1] = e3.heap[e3.heap_len--], R(e3, o2, 1), n3 = e3.heap[1], e3.heap[--e3.heap_max] = i3, e3.heap[--e3.heap_max] = n3, o2[2 * r3] = o2[2 * i3] + o2[2 * n3], e3.depth[r3] = (e3.depth[i3] >= e3.depth[n3] ? e3.depth[i3] : e3.depth[n3]) + 1, o2[2 * i3 + 1] = o2[2 * n3 + 1] = r3, e3.heap[1] = r3++, R(e3, o2, 1); + i3 = e3.heap[1], e3.heap[1] = e3.heap[e3.heap_len--], w(e3, o2, 1), n3 = e3.heap[1], e3.heap[--e3.heap_max] = i3, e3.heap[--e3.heap_max] = n3, o2[2 * r3] = o2[2 * i3] + o2[2 * n3], e3.depth[r3] = (e3.depth[i3] >= e3.depth[n3] ? e3.depth[i3] : e3.depth[n3]) + 1, o2[2 * i3 + 1] = o2[2 * n3 + 1] = r3, e3.heap[1] = r3++, w(e3, o2, 1); } while (e3.heap_len >= 2); e3.heap[--e3.heap_max] = e3.heap[1], (function(e4, t4) { - var i4, n4, r4, o3, a3, s3, l3 = t4.dyn_tree, u3 = t4.max_code, d2 = t4.stat_desc.static_tree, c2 = t4.stat_desc.has_stree, p2 = t4.stat_desc.extra_bits, _2 = t4.stat_desc.extra_base, h2 = t4.stat_desc.max_length, m2 = 0; + var i4, n4, r4, o3, a3, s3, l3 = t4.dyn_tree, u3 = t4.max_code, c2 = t4.stat_desc.static_tree, d2 = t4.stat_desc.has_stree, p2 = t4.stat_desc.extra_bits, _2 = t4.stat_desc.extra_base, h2 = t4.stat_desc.max_length, m2 = 0; for (o3 = 0; o3 <= 15; o3++) e4.bl_count[o3] = 0; - for (l3[2 * e4.heap[e4.heap_max] + 1] = 0, i4 = e4.heap_max + 1; i4 < 573; i4++) (o3 = l3[2 * l3[2 * (n4 = e4.heap[i4]) + 1] + 1] + 1) > h2 && (o3 = h2, m2++), l3[2 * n4 + 1] = o3, n4 > u3 || (e4.bl_count[o3]++, a3 = 0, n4 >= _2 && (a3 = p2[n4 - _2]), s3 = l3[2 * n4], e4.opt_len += s3 * (o3 + a3), c2 && (e4.static_len += s3 * (d2[2 * n4 + 1] + a3))); + for (l3[2 * e4.heap[e4.heap_max] + 1] = 0, i4 = e4.heap_max + 1; i4 < 573; i4++) (o3 = l3[2 * l3[2 * (n4 = e4.heap[i4]) + 1] + 1] + 1) > h2 && (o3 = h2, m2++), l3[2 * n4 + 1] = o3, n4 > u3 || (e4.bl_count[o3]++, a3 = 0, n4 >= _2 && (a3 = p2[n4 - _2]), s3 = l3[2 * n4], e4.opt_len += s3 * (o3 + a3), d2 && (e4.static_len += s3 * (c2[2 * n4 + 1] + a3))); if (0 !== m2) { do { for (o3 = h2 - 1; 0 === e4.bl_count[o3]; ) o3--; @@ -30203,7 +32236,7 @@ var require_scripting_bundle = __commonJS({ } while (m2 > 0); for (o3 = h2; 0 !== o3; o3--) for (n4 = e4.bl_count[o3]; 0 !== n4; ) (r4 = e4.heap[--i4]) > u3 || (l3[2 * r4 + 1] !== o3 && (e4.opt_len += (o3 - l3[2 * r4 + 1]) * l3[2 * r4], l3[2 * r4 + 1] = o3), n4--); } - })(e3, t3), v(o2, u2, e3.bl_count); + })(e3, t3), I(o2, u2, e3.bl_count); } function P(e3, t3, i3) { var n3, r3, o2 = -1, a2 = t3[1], s2 = 0, l2 = 7, u2 = 4; @@ -30213,9 +32246,9 @@ var require_scripting_bundle = __commonJS({ var n3, r3, o2 = -1, a2 = t3[1], s2 = 0, l2 = 7, u2 = 4; for (0 === a2 && (l2 = 138, u2 = 3), n3 = 0; n3 <= i3; n3++) if (r3 = a2, a2 = t3[2 * (n3 + 1) + 1], !(++s2 < l2 && r3 === a2)) { if (s2 < u2) do { - O(e3, r3, e3.bl_tree); + v(e3, r3, e3.bl_tree); } while (0 !== --s2); - else 0 !== r3 ? (r3 !== o2 && (O(e3, r3, e3.bl_tree), s2--), O(e3, 16, e3.bl_tree), N(e3, s2 - 3, 2)) : s2 <= 10 ? (O(e3, 17, e3.bl_tree), N(e3, s2 - 3, 3)) : (O(e3, 18, e3.bl_tree), N(e3, s2 - 11, 7)); + else 0 !== r3 ? (r3 !== o2 && (v(e3, r3, e3.bl_tree), s2--), v(e3, 16, e3.bl_tree), N(e3, s2 - 3, 2)) : s2 <= 10 ? (v(e3, 17, e3.bl_tree), N(e3, s2 - 3, 3)) : (v(e3, 18, e3.bl_tree), N(e3, s2 - 11, 7)); s2 = 0, o2 = r3, 0 === a2 ? (l2 = 138, u2 = 3) : r3 === a2 ? (l2 = 6, u2 = 3) : (l2 = 7, u2 = 4); } } @@ -30230,15 +32263,15 @@ var require_scripting_bundle = __commonJS({ F || ((function() { var e4, t3, i3, n3, r3, l2 = new Array(16); for (i3 = 0, n3 = 0; n3 < 28; n3++) for (_[n3] = i3, e4 = 0; e4 < 1 << o[n3]; e4++) p[i3++] = n3; - for (p[i3 - 1] = n3, r3 = 0, n3 = 0; n3 < 16; n3++) for (f[n3] = r3, e4 = 0; e4 < 1 << a[n3]; e4++) c[r3++] = n3; - for (r3 >>= 7; n3 < 30; n3++) for (f[n3] = r3 << 7, e4 = 0; e4 < 1 << a[n3] - 7; e4++) c[256 + r3++] = n3; + for (p[i3 - 1] = n3, r3 = 0, n3 = 0; n3 < 16; n3++) for (f[n3] = r3, e4 = 0; e4 < 1 << a[n3]; e4++) d[r3++] = n3; + for (r3 >>= 7; n3 < 30; n3++) for (f[n3] = r3 << 7, e4 = 0; e4 < 1 << a[n3] - 7; e4++) d[256 + r3++] = n3; for (t3 = 0; t3 <= 15; t3++) l2[t3] = 0; for (e4 = 0; e4 <= 143; ) u[2 * e4 + 1] = 8, e4++, l2[8]++; for (; e4 <= 255; ) u[2 * e4 + 1] = 9, e4++, l2[9]++; for (; e4 <= 279; ) u[2 * e4 + 1] = 7, e4++, l2[7]++; for (; e4 <= 287; ) u[2 * e4 + 1] = 8, e4++, l2[8]++; - for (v(u, 287, l2), e4 = 0; e4 < 30; e4++) d[2 * e4 + 1] = 5, d[2 * e4] = I(e4, 5); - h = new T(u, o, 257, 286, 15), m = new T(d, a, 0, 30, 15), g = new T(new Array(0), s, 0, 19, 7); + for (I(u, 287, l2), e4 = 0; e4 < 30; e4++) c[2 * e4 + 1] = 5, c[2 * e4] = O(e4, 5); + h = new T(u, o, 257, 286, 15), m = new T(c, a, 0, 30, 15), g = new T(new Array(0), s, 0, 19, 7); })(), F = true), e3.l_desc = new y(e3.dyn_ltree, h), e3.d_desc = new y(e3.dyn_dtree, m), e3.bl_desc = new y(e3.bl_tree, g), e3.bi_buf = 0, e3.bi_valid = 0, C(e3); }, t2._tr_stored_block = L, t2._tr_flush_block = function(e3, t3, i3, n3) { var r3, o2, a2 = 0; @@ -30252,15 +32285,15 @@ var require_scripting_bundle = __commonJS({ var t4; for (P(e4, e4.dyn_ltree, e4.l_desc.max_code), P(e4, e4.dyn_dtree, e4.d_desc.max_code), D(e4, e4.bl_desc), t4 = 18; t4 >= 3 && 0 === e4.bl_tree[2 * l[t4] + 1]; t4--) ; return e4.opt_len += 3 * (t4 + 1) + 5 + 5 + 4, t4; - })(e3), r3 = e3.opt_len + 3 + 7 >>> 3, (o2 = e3.static_len + 3 + 7 >>> 3) <= r3 && (r3 = o2)) : r3 = o2 = i3 + 5, i3 + 4 <= r3 && -1 !== t3 ? L(e3, t3, i3, n3) : 4 === e3.strategy || o2 === r3 ? (N(e3, 2 + (n3 ? 1 : 0), 3), w(e3, u, d)) : (N(e3, 4 + (n3 ? 1 : 0), 3), (function(e4, t4, i4, n4) { + })(e3), r3 = e3.opt_len + 3 + 7 >>> 3, (o2 = e3.static_len + 3 + 7 >>> 3) <= r3 && (r3 = o2)) : r3 = o2 = i3 + 5, i3 + 4 <= r3 && -1 !== t3 ? L(e3, t3, i3, n3) : 4 === e3.strategy || o2 === r3 ? (N(e3, 2 + (n3 ? 1 : 0), 3), R(e3, u, c)) : (N(e3, 4 + (n3 ? 1 : 0), 3), (function(e4, t4, i4, n4) { var r4; for (N(e4, t4 - 257, 5), N(e4, i4 - 1, 5), N(e4, n4 - 4, 4), r4 = 0; r4 < n4; r4++) N(e4, e4.bl_tree[2 * l[r4] + 1], 3); M(e4, e4.dyn_ltree, t4 - 1), M(e4, e4.dyn_dtree, i4 - 1); - })(e3, e3.l_desc.max_code + 1, e3.d_desc.max_code + 1, a2 + 1), w(e3, e3.dyn_ltree, e3.dyn_dtree)), C(e3), n3 && b(e3); + })(e3, e3.l_desc.max_code + 1, e3.d_desc.max_code + 1, a2 + 1), R(e3, e3.dyn_ltree, e3.dyn_dtree)), C(e3), n3 && b(e3); }, t2._tr_tally = function(e3, t3, i3) { return e3.pending_buf[e3.d_buf + 2 * e3.last_lit] = t3 >>> 8 & 255, e3.pending_buf[e3.d_buf + 2 * e3.last_lit + 1] = 255 & t3, e3.pending_buf[e3.l_buf + e3.last_lit] = 255 & i3, e3.last_lit++, 0 === t3 ? e3.dyn_ltree[2 * i3]++ : (e3.matches++, t3--, e3.dyn_ltree[2 * (p[i3] + 256 + 1)]++, e3.dyn_dtree[2 * S(t3)]++), e3.last_lit === e3.lit_bufsize - 1; }, t2._tr_align = function(e3) { - N(e3, 2, 3), O(e3, 256, u), (function(e4) { + N(e3, 2, 3), v(e3, 256, u), (function(e4) { 16 === e4.bi_valid ? (A(e4, e4.bi_buf), e4.bi_buf = 0, e4.bi_valid = 0) : e4.bi_valid >= 8 && (e4.pending_buf[e4.pending++] = 255 & e4.bi_buf, e4.bi_buf >>= 8, e4.bi_valid -= 8); })(e3); }; @@ -30310,13 +32343,13 @@ var require_scripting_bundle = __commonJS({ t2.default = r2; }, 23753: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(9345)), u = n2.__importStar(i2(8462)), d = n2.__importStar(i2(36781)), c = n2.__importStar(i2(63352)), p = n2.__importDefault(i2(65302)), _ = i2(49892), h = n2.__importStar(i2(74359)), m = i2(36781), g = n2.__importDefault(i2(41510)), f = n2.__importStar(i2(1115)), T = i2(82632), y = i2(12179), S = i2(68038), A = i2(50474), N = i2(12457), O = n2.__importDefault(i2(97891)), I = n2.__importDefault(i2(5730)), v = i2(26847), C = i2(80428), b = i2(11276), E = i2(47957); - class R extends I.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(9345)), u = n2.__importStar(i2(8462)), c = n2.__importStar(i2(36781)), d = n2.__importStar(i2(63352)), p = n2.__importDefault(i2(65302)), _ = i2(49892), h = n2.__importStar(i2(74359)), m = i2(36781), g = i2(1910), f = i2(1910), T = i2(1910), y = n2.__importDefault(i2(41510)), S = n2.__importStar(i2(1115)), A = i2(82632), N = i2(12179), v = i2(68038), O = i2(50474), I = i2(12457), C = n2.__importDefault(i2(97891)), b = n2.__importDefault(i2(5730)), E = i2(26847), w = i2(80428), R = i2(69453), D = n2.__importDefault(i2(4648)), P = i2(11276), M = i2(47957); + class F extends b.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3), this._updateOutOfService(), this.cases.items.forEach((e4) => e4.collapsed = false), this.addAutoCleanedUpEventSinkWatch(m.listOrderChanged, this.cases, () => { this._renameAllCases(); - }), this.addAutoCleanedUpEventSinkWatch(d.expressionValueChanged, this.expression, () => { - this._hasCaseMismatch(true) && f.validateAction(this, false, true); + }), this.addAutoCleanedUpEventSinkWatch(c.expressionValueChanged, this.expression, () => { + this._hasCaseMismatch(true) && S.validateAction(this, false, true); }); } findBranchIndex(e3) { @@ -30329,10 +32362,10 @@ var require_scripting_bundle = __commonJS({ } _createCaseExpressionOptions() { const e3 = u.buildOptions(this._getSwitchExpressionType(), void 0, this.parentFlow); - return e3.setFromOptions(R.managedProperties.find((e4) => "cases" === e4.property).options), e3; + return e3.setFromOptions(F.managedProperties.find((e4) => "cases" === e4.property).options), e3; } _getSwitchExpressionType() { - return this.switchStyle === S.SwitchStyles.matchExpression ? this.expression.type : p.default.getGlobalTypeGroup().getType(C.expressionTypeNames.boolean); + return this.switchStyle === v.SwitchStyles.matchExpression ? this.expression.type : p.default.getGlobalTypeGroup().getType(w.expressionTypeNames.boolean); } _transitionAction() { if (this.model.paths && this.model.paths.length > 0 && "__1__" === this.model.paths[0].outputId) for (let e3 = 0; e3 < this.cases.items.length; e3++) this.cases.items[e3].model.referenceId = this.cases.items[e3].model.referenceId ? this.cases.items[e3].model.referenceId : (0, a.uuid)(), this.model.paths[e3].outputId = this.cases.items[e3].model.referenceId; @@ -30342,7 +32375,7 @@ var require_scripting_bundle = __commonJS({ } _renameAllCases() { this.cases.items.forEach((e3, t3) => { - this._renameCase((0, r2.sprintf)(g.default.switchAction.caseNumber, t3 + 1), t3); + this._renameCase((0, r2.sprintf)(y.default.switchAction.caseNumber, t3 + 1), t3); }); } get switchStyle() { @@ -30352,13 +32385,13 @@ var require_scripting_bundle = __commonJS({ this.model.switchStyle = e3, this._updateOutOfService(); } _updateOutOfService() { - this.expression.outOfService = this.switchStyle !== S.SwitchStyles.matchExpression; + this.expression.outOfService = this.switchStyle !== v.SwitchStyles.matchExpression; } get branchInfos() { return this.createBranchInfo(); } get canAddMore() { - return this.cases.items.length < T.switchActionCaseLimits.numMaxCases; + return this.cases.items.length < A.switchActionCaseLimits.numMaxCases; } get canDeleteMore() { return this.cases.items.length > 1; @@ -30366,18 +32399,18 @@ var require_scripting_bundle = __commonJS({ createBranchInfo() { const e3 = []; if (this.version || (this._transitionAction(), this.version = "1.0"), !(this.cases && this.cases.items.length > 0)) return this.createCaseDefaults(), this.createBranchInfo(); - for (let t3 = 0; t3 < this.cases.items.length; t3++) e3.push({ localizedLabel: (0, r2.sprintf)(E.switch.caseNum, t3 + 1), label: (0, r2.sprintf)(g.default.switchAction.caseNumber, t3 + 1), outputId: this.cases.items[t3].model.referenceId, required: true }); - return e3.push({ localizedLabel: E.switch.default, label: g.default.switchAction.default, outputId: v.outputIds.default, required: true }), e3; + for (let t3 = 0; t3 < this.cases.items.length; t3++) e3.push({ localizedLabel: (0, r2.sprintf)(M.switch.caseNum, t3 + 1), label: (0, r2.sprintf)(y.default.switchAction.caseNumber, t3 + 1), outputId: this.cases.items[t3].model.referenceId, required: true }); + return e3.push({ localizedLabel: M.switch.default, label: y.default.switchAction.default, outputId: E.outputIds.default, required: true }), e3; } createCaseDefaults() { - for (let e3 = 0; e3 < T.switchActionCaseLimits.numDefaultCases; e3++) this.addCase(true); + for (let e3 = 0; e3 < A.switchActionCaseLimits.numDefaultCases; e3++) this.addCase(true); } addCase(e3) { if (this.canAddMore) { - const t3 = this._getSwitchExpressionType(), i3 = { name: (0, r2.sprintf)(g.default.switchAction.caseNumber, this.cases.items.length + 1) }; + const t3 = this._getSwitchExpressionType(), i3 = { name: (0, r2.sprintf)(y.default.switchAction.caseNumber, this.cases.items.length + 1) }; let n3; - if (n3 = t3.isCollection ? this.cases.createItem(i3, t3, null, this._createCaseExpressionOptions()) : this.cases.createItem(i3, t3, t3.expressionType !== C.expressionTypeNames.string || "", this._createCaseExpressionOptions()), h.isRunningInBrowser() && this.cases.items.length > 0) { - const e4 = this.cases.items[this.cases.items.length - 1].value, t4 = e4.isBuilderMode ? c.expression : e4.mode; + if (n3 = t3.isCollection ? this.cases.createItem(i3, t3, null, this._createCaseExpressionOptions()) : this.cases.createItem(i3, t3, t3.expressionType !== w.expressionTypeNames.string || "", this._createCaseExpressionOptions()), h.isRunningInBrowser() && this.cases.items.length > 0) { + const e4 = this.cases.items[this.cases.items.length - 1].value, t4 = e4.isBuilderMode ? d.expression : e4.mode; t4 !== n3.value.mode && (n3.value.clear(true), n3.value.setModeWithTransition(t4, null)); } return this.cases.addItem(n3), this.cases.items[this.cases.items.length - 1].model.referenceId = (0, a.uuid)(), e3 || this.reloadBranches(), this.cases.expandNewItem(n3), n3; @@ -30386,47 +32419,83 @@ var require_scripting_bundle = __commonJS({ deleteCase(e3) { if (this.canDeleteMore) { let t3 = false; - for (let i3 = 0; i3 < this.cases.items.length; i3++) t3 && this._renameCase((0, r2.sprintf)(g.default.switchAction.caseNumber, i3 + 1), i3), this.cases.items[i3].model.referenceId !== e3.model.referenceId || t3 || (this.cases.items.splice(i3, 1), this.cases.model.splice(i3, 1), this.model.paths.splice(i3, 1), t3 = true, i3--); + for (let i3 = 0; i3 < this.cases.items.length; i3++) t3 && this._renameCase((0, r2.sprintf)(y.default.switchAction.caseNumber, i3 + 1), i3), this.cases.items[i3].model.referenceId !== e3.model.referenceId || t3 || (this.cases.items.splice(i3, 1), this.cases.model.splice(i3, 1), this.model.paths.splice(i3, 1), t3 = true, i3--); this.reloadBranches(); } } getDetails() { - return this.switchStyle === S.SwitchStyles.firstTrueCase ? new N.ActionDetails([null], [E.switch.firstTrueCase]) : this.expression && this.expression.text ? new N.ActionDetails([null], [this.expression.text]) : null; + return this.switchStyle === v.SwitchStyles.firstTrueCase ? new I.ActionDetails([null], [M.switch.firstTrueCase]) : this.expression && this.expression.text ? new I.ActionDetails([null], [this.expression.text]) : null; + } + _repairStaleAnyLiteralCaseTypes() { + if (this.switchStyle === v.SwitchStyles.matchExpression) { + this.expression.type.isAny && (this.topic.warning("SwitchAction match-expression value has type any during stale literal repair; processing text. actionId:{}", this.id), this.expression.processText(true), this.expression.type.isAny && this.topic.warning("SwitchAction match-expression value still has type any after processText; cannot resolve expression type. actionId:{}", this.id)); + for (let e3 = 0; e3 < this.cases.items.length; e3++) this.cases.items[e3].value.syncModelTypeFromLiteralConfigIfNeeded(); + } } _hasCaseMismatch(e3) { let t3; - this.switchStyle === S.SwitchStyles.firstTrueCase ? t3 = p.default.getGlobalTypeGroup().getType(C.expressionTypeNames.boolean) : ((e3 || this.expression.type.isAny) && this.expression.processText(true), t3 = this.expression.type); + this.switchStyle === v.SwitchStyles.firstTrueCase ? t3 = p.default.getGlobalTypeGroup().getType(w.expressionTypeNames.boolean) : ((e3 || this.expression.type.isAny) && this.expression.processText(true), t3 = this.expression.type); for (let e4 = 0; e4 < this.cases.items.length; e4++) if (!this.cases.items[e4].value.type.isMatch(t3, l.settings.exactMatch)) return true; } _initializeDesignTime() { super._initializeDesignTime(); - for (let e3 = 0; e3 < this.cases.items.length; e3++) this.cases.items[e3].model.name = (0, r2.sprintf)(g.default.switchAction.caseNumber, e3 + 1); + for (let e3 = 0; e3 < this.cases.items.length; e3++) this.cases.items[e3].model.name = (0, r2.sprintf)(y.default.switchAction.caseNumber, e3 + 1); } setNewInstanceDefaults() { - super.setNewInstanceDefaults(...arguments), o.default.isUndefined(this.switchStyle) && (this.switchStyle = S.SwitchStyles.firstTrueCase); + super.setNewInstanceDefaults(...arguments), o.default.isUndefined(this.switchStyle) && (this.switchStyle = v.SwitchStyles.firstTrueCase); } static get managedProperties() { - return [{ property: "cases", options: _.ExpressionTypelessOptions.create((e3) => e3.setIsOptional(true).setNoOriginalType(true).setLocalizedLabelPrefix(E.switch.caseNum)), yamlOptions: R.createYamlOptions("cases", (e3) => e3.setWrapValueAndActionsInPropertyName("case")), dataList: true }, { property: "expression", label: E.expression.label, type: C.expressionTypeNames.any, options: _.ExpressionTypelessOptions.create((e3) => e3.setAllowModeExpressionOnly().setIninTestingField("decisionExpression")), yamlOptions: R.createYamlOptions("expression", (e3) => e3.setPropertyName("value")) }]; + return [{ property: "cases", options: _.ExpressionTypelessOptions.create((e3) => e3.setIsOptional(true).setNoOriginalType(true).setLocalizedLabelPrefix(M.switch.caseNum)), yamlOptions: F.createYamlOptions("cases", (e3) => e3.setWrapValueAndActionsInPropertyName("case")), dataList: true }, { property: "expression", label: M.expression.label, type: w.expressionTypeNames.any, options: _.ExpressionTypelessOptions.create((e3) => e3.setAllowModeExpressionOnly().setIninTestingField("decisionExpression")), yamlOptions: F.createYamlOptions("expression", (e3) => e3.setPropertyName("value")) }]; } moveCaseUp(e3) { const t3 = this.findBranchIndex(e3), i3 = this.cases.moveUp(e3); - if (i3 >= 0) return this._renameCase((0, r2.sprintf)(g.default.switchAction.caseNumber, t3 + 1), t3), this._renameCase((0, r2.sprintf)(g.default.switchAction.caseNumber, t3), t3 - 1), this.reloadBranches(), i3; + if (i3 >= 0) return this._renameCase((0, r2.sprintf)(y.default.switchAction.caseNumber, t3 + 1), t3), this._renameCase((0, r2.sprintf)(y.default.switchAction.caseNumber, t3), t3 - 1), this.reloadBranches(), i3; } moveCaseDown(e3) { const t3 = this.findBranchIndex(e3), i3 = this.cases.moveDown(e3); - if (i3 >= 0) return this._renameCase((0, r2.sprintf)(g.default.switchAction.caseNumber, t3 + 2), t3 + 1), this._renameCase((0, r2.sprintf)(g.default.switchAction.caseNumber, t3 + 1), t3), this.reloadBranches(), i3; + if (i3 >= 0) return this._renameCase((0, r2.sprintf)(y.default.switchAction.caseNumber, t3 + 2), t3 + 1), this._renameCase((0, r2.sprintf)(y.default.switchAction.caseNumber, t3 + 1), t3), this.reloadBranches(), i3; } moveToIndex(e3, t3) { this.cases.moveToIndex(e3, t3), this._renameAllCases(), this.reloadBranches(); } + _configureFromModel(e3, t3, i3) { + const n3 = (0, f.getNumberValue)(e3, "switchStyle", i3); + void 0 !== n3 && (n3 === v.SwitchStyles.firstTrueCase || n3 === v.SwitchStyles.matchExpression ? this.switchStyle = n3 : i3.warn((0, r2.sprintf)(R.configureFromModel.invalidSwitchStyle, n3))); + const o2 = e3.cases, a2 = Object.assign({}, e3); + delete a2.cases, delete a2.switchStyle, super._configureFromModel(a2, t3, i3), void 0 !== o2 && (0, f.withModelContext)(i3, "cases", () => { + this._configureCasesFromModel(o2, t3, i3); + }); + } + _configureCasesFromModel(e3, t3, i3) { + if (!Array.isArray(e3)) return void i3.warn(R.configureFromModel.switchCasesMustBeArray); + const n3 = e3.length; + for (; this.cases.items.length > n3 && this.canDeleteMore; ) this.deleteCase(this.cases.items[this.cases.items.length - 1]); + let o2 = false; + for (; this.cases.items.length < n3 && this.canAddMore; ) this.addCase(true), o2 = true; + o2 && this.reloadBranches(), this.cases.items.length !== e3.length && i3.warn((0, r2.sprintf)(R.configureFromModel.switchCaseCountMismatch, this.cases.items.length, e3.length, A.switchActionCaseLimits.numMaxCases)); + const a2 = Math.min(this.cases.items.length, e3.length); + for (let n4 = 0; n4 < a2; n4++) { + const r3 = this._unwrapSwitchCaseYamlEntry(e3[n4], i3, n4); + if (!r3) continue; + const o3 = r3.value; + void 0 !== o3 && (0, T.hasConfigureFromModel)(this.cases.items[n4].value) && (0, f.withModelContext)(i3, `[${n4}]`, () => { + this.cases.items[n4].value.configureFromModel(o3, t3, i3); + }); + } + } + _unwrapSwitchCaseYamlEntry(e3, t3, i3) { + if (!(0, g.isConfigureFromModelRecord)(e3)) return t3.warn((0, r2.sprintf)(R.configureFromModel.switchCaseMustBeObject, i3)), null; + const n3 = e3.case; + return (0, g.isConfigureFromModelRecord)(n3) ? n3 : e3; + } postProcessYamlConfig(e3, t3, i3) { let n3; - if (e3.evaluate = {}, this.switchStyle === S.SwitchStyles.matchExpression) { + if (e3.evaluate = {}, this.switchStyle === v.SwitchStyles.matchExpression) { e3.evaluate.firstMatch = {}; const t4 = this.expression.type.yamlTypeName; n3 = e3.evaluate.firstMatch[t4] = {}, o.default.moveAndDeleteProperty(e3, n3, "value"); - } else this.switchStyle === S.SwitchStyles.firstTrueCase && (n3 = e3.evaluate.firstTrue = {}, delete e3.value); - const r3 = this.getBranch(v.outputIds.default); + } else this.switchStyle === v.SwitchStyles.firstTrueCase && (n3 = e3.evaluate.firstTrue = {}, delete e3.value); + const r3 = this.getBranch(E.outputIds.default); if (r3) { const e4 = r3.getConfiguration(t3, i3); e4 && (n3.default = e4); @@ -30435,31 +32504,31 @@ var require_scripting_bundle = __commonJS({ } updateCaseTypes(e3, t3) { if (!t3) { - for (let e4 = 0; e4 < this.cases.items.length; e4++) if (this.cases.items[e4].value.isLiteralMode) return void f.validateAction(this, false, true); + for (let e4 = 0; e4 < this.cases.items.length; e4++) if (this.cases.items[e4].value.isLiteralMode) return void S.validateAction(this, false, true); } const i3 = this.cases; for (let t4 = 0; t4 < i3.items.length; t4++) { const n3 = i3.items[t4]; if (n3.value.type.isMatch(e3, l.settings.exactMatch)) continue; - const r3 = n3.value, o2 = r3.isExpressionMode, a2 = r3.isLiteralMode, u2 = r3.text, d2 = this.cases.createItem({ name: this.cases.items[t4].name, referenceId: this.cases.items[t4].model.referenceId }, e3, null, this._createCaseExpressionOptions(), (t4 + 1).toString()); - i3.replaceItemAtIndex(t4, d2); - const _2 = d2.value; + const r3 = n3.value, o2 = r3.isExpressionMode, a2 = r3.isLiteralMode, u2 = r3.text, c2 = this.cases.createItem({ name: this.cases.items[t4].name, referenceId: this.cases.items[t4].model.referenceId }, e3, null, this._createCaseExpressionOptions(), (t4 + 1).toString()); + i3.replaceItemAtIndex(t4, c2); + const _2 = c2.value; if (o2) _2.setAsExpression(u2); else if (a2) { - const e4 = p.default.getType(this.parentFlow, C.expressionTypeNames.boolean); - _2.type.isMatch(e4, l.settings.exactMatch) ? _2.setAsLiteral(s.default.true) : (0, A.isCollectionExpression)(_2) ? _2.setAsLiteral(_2) : _2.setAsLiteral(""), _2.options.allowModeLiteral || _2.setModeWithTransition(c.noValue); + const e4 = p.default.getType(this.parentFlow, w.expressionTypeNames.boolean); + _2.type.isMatch(e4, l.settings.exactMatch) ? _2.setAsLiteral(s.default.true) : (0, O.isCollectionExpression)(_2) ? _2.setAsLiteral(_2) : _2.setAsLiteral(""), _2.options.allowModeLiteral || _2.setModeWithTransition(d.noValue); } _2.processText(); } - f.validateAction(this, false, true); + S.validateAction(this, false, true); } reloadBranches() { - b.loadBranches(this); + P.loadBranches(this); for (let e3 = 0; e3 < this.branches.length; e3++) this.branches[e3].initialize(), this.branches[e3].updateTermination(); - d.emitter.emit(d.branchesChanged); + c.emitter.emit(c.branchesChanged); } validate(e3) { - super.validate(e3), this.expression.options.setIsOptional(this.switchStyle !== S.SwitchStyles.matchExpression), this._updateOutOfService(), this.hasInvalidTypeError = false, this.switchStyle === S.SwitchStyles.matchExpression && this.expression && (this.expression.type.isUserCreatableForFlow(this.parentFlow) || (this.hasInvalidTypeError = true, e3.addExpressionError(this.expression, (0, r2.sprintf)(E.switch.expressionTypeInvalid, this.expression.type.displayString)))), this._hasCaseMismatch(false) ? (this.caseMisMatchError = E.switch.mustChangeType, e3.addError(this, E.switch.mustChangeType)) : delete this.caseMisMatchError; + super.validate(e3), this._repairStaleAnyLiteralCaseTypes(), this.expression.options.setIsOptional(this.switchStyle !== v.SwitchStyles.matchExpression), this._updateOutOfService(), this.hasInvalidTypeError = false, this.switchStyle === v.SwitchStyles.matchExpression && this.expression && (this.expression.type.isUserCreatableForFlow(this.parentFlow) || (this.hasInvalidTypeError = true, e3.addExpressionError(this.expression, (0, r2.sprintf)(M.switch.expressionTypeInvalid, this.expression.type.displayString)))), this._hasCaseMismatch(false) ? (this.caseMisMatchError = M.switch.mustChangeType, e3.addError(this, M.switch.mustChangeType)) : delete this.caseMisMatchError; } get version() { return this.model.version; @@ -30468,7 +32537,7 @@ var require_scripting_bundle = __commonJS({ this.model.version = e3; } } - R.info = O.default.createActionInfo({ actionClass: R, canBeInTask: true, helpTopic: y.helpTopics.actions.switch, modelClass: i2(32601), name: E.actions.switch, scriptingName: "ArchActionSwitch" }), t2.A = R; + F.info = C.default.createActionInfo({ actionClass: F, canBeInTask: true, helpTopic: N.helpTopics.actions.switch, modelClass: i2(32601), name: M.actions.switch, scriptingName: "ArchActionSwitch", modelFormatSupport: { flowYaml: { inProgress: true, feature: D.default.changeSetsFeaturePhase2 } } }), t2.A = F; }, 23827: function(e2, t2, i2) { !(function(e3) { "use strict"; @@ -30678,8 +32747,8 @@ var require_scripting_bundle = __commonJS({ }, 24212: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(71071)), a = n2.__importDefault(i2(95955)), s = n2.__importDefault(i2(39521)), l = n2.__importDefault(i2(37039)), u = n2.__importDefault(i2(81948)), d = i2(59684); - class c extends u.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(71071)), a = n2.__importDefault(i2(95955)), s = n2.__importDefault(i2(39521)), l = n2.__importDefault(i2(37039)), u = n2.__importDefault(i2(81948)), c = i2(59684); + class d extends u.default { constructor(e3) { super(e3), this.callPrompts = new a.default(this), this.errorHandling = new s.default(this), this.inQueueSettings = new l.default(this), this._addToAutoManageSettings(this.callPrompts), this._addToAutoManageSettings(this.errorHandling), this._addToAutoManageSettings(this.inQueueSettings); } @@ -30690,10 +32759,10 @@ var require_scripting_bundle = __commonJS({ return true; } getFlowConfigurationClass() { - return d; + return c; } _loadConfiguration(e3) { - if (this._setInitialTrackingNumberFromConfiguration(e3.nextTrackingNumber), this._deleteAllTasks(), super._loadConfiguration(e3), e3.flowSequenceItemList && 1 === e3.flowSequenceItemList.length && e3.flowSequenceItemList[0].__type === o.default.info.typeId) { + if (this._setInitialTrackingNumberFromConfiguration(e3.nextTrackingNumber), this.deleteAllTasks(), super._loadConfiguration(e3), e3.flowSequenceItemList && 1 === e3.flowSequenceItemList.length && e3.flowSequenceItemList[0].__type === o.default.info.typeId) { const t3 = new o.default(this, e3.flowSequenceItemList[0]); t3.initialize(), this._addTask(t3); } @@ -30708,7 +32777,7 @@ var require_scripting_bundle = __commonJS({ return "inqueueCall"; } } - t2.default = c; + t2.default = d; }, 24215: (e2, t2, i2) => { const { extractSecureDataActionType: n2 } = i2(30801), r2 = i2(73954); function o() { @@ -30718,7 +32787,7 @@ var require_scripting_bundle = __commonJS({ }, 24235: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.AudioViewModelOptions = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = n2.__importStar(i2(66381)), a = n2.__importDefault(i2(92140)), s = i2(63029), l = i2(80295), u = i2(80295), d = i2(17604), c = n2.__importDefault(i2(41510)), p = i2(55909), _ = i2(33951), h = i2(47957); + const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = n2.__importStar(i2(66381)), a = n2.__importDefault(i2(92140)), s = i2(63029), l = i2(80295), u = i2(80295), c = i2(17604), d = n2.__importDefault(i2(41510)), p = i2(55909), _ = i2(33951), h = i2(47957); class m extends s.BaseOptionsWithOptional { static create(e3) { return new this().invokeOptionsCallback(e3); @@ -30741,7 +32810,7 @@ var require_scripting_bundle = __commonJS({ getFullDescription(e3) { if (this.hasDescriptionInfo(e3)) { const t3 = e3.parentFlow.getUnsupportedFlowTypes(e3.supportedFlowTypes); - return t3.length && (this._descriptionInfo.info = (0, d.sprintf)(h.commonModule.notAvailableInFlowTypes, o.getFlowTypesDisplayString(t3))), this._descriptionInfo; + return t3.length && (this._descriptionInfo.info = (0, c.sprintf)(h.commonModule.notAvailableInFlowTypes, o.getFlowTypesDisplayString(t3))), this._descriptionInfo; } } get allowSecure() { @@ -30790,7 +32859,7 @@ var require_scripting_bundle = __commonJS({ return this._maxDuration; } set maxDuration(e3) { - this._maxDuration = _.ParameterValidator.expectNumber(e3, () => p.ParameterInfo.createPropertySet(this.className, "isInternal", "value")), this._descriptionInfo.additionalInfo || (this._descriptionInfo.additionalInfo = []), this._descriptionInfo.additionalInfo.push((0, d.sprintf)(c.default.itemColonValue, h.expressionsHelp.parameters.maxValue, r2.getSearchStringFromMilliseconds(this.maxDuration))); + this._maxDuration = _.ParameterValidator.expectNumber(e3, () => p.ParameterInfo.createPropertySet(this.className, "isInternal", "value")), this._descriptionInfo.additionalInfo || (this._descriptionInfo.additionalInfo = []), this._descriptionInfo.additionalInfo.push((0, c.sprintf)(d.default.itemColonValue, h.expressionsHelp.parameters.maxValue, r2.getSearchStringFromMilliseconds(this.maxDuration))); } get label() { return this._label; @@ -30851,8 +32920,8 @@ var require_scripting_bundle = __commonJS({ }, 24338: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseLibraryProperty = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(58380)), a = n2.__importStar(i2(1115)), s = i2(55867), l = i2(71528), u = i2(9456), d = i2(47957); - class c extends s.BaseActionProperty { + const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(58380)), a = n2.__importStar(i2(1115)), s = i2(55867), l = i2(71528), u = i2(9456), c = i2(47957); + class d extends s.BaseActionProperty { constructor(e3, t3, i3, n3, r3) { super(e3, t3), this._wrongLibraryWarning = i3, this._invalidLibraryWarning = n3, this._selectLibraryError = r3, this.id = (0, u.uuid)(), this.configListManager = l.responseLibraryManager, this.featureConfigUnavailable = false; } @@ -30894,27 +32963,27 @@ var require_scripting_bundle = __commonJS({ return true; } search(e3) { - super.search(e3), e3.checkText(this, this.nameValue, d.getResponse.library); + super.search(e3), e3.checkText(this, this.nameValue, c.getResponse.library); } validate(e3) { if (super.validate(e3), this.currentUiWarningMessages = void 0, this.currentUiErrorMessage = void 0, this.currentUiInfoMessage = void 0, this.idValue) { const t3 = l.responseLibraryManager.getItem(this.idValue); if (this.action.selectedResponse && !this.action.responseManager.isResponseInSelectedResponseLibrary(this.action.selectedResponse, t3)) if (this.action.selectedResponse.libraries.length > 0) { this.currentUiWarningMessages = [this._wrongLibraryWarning], e3.addWarning(this, this.currentUiWarningMessages[0]); - let t4 = `${1 === this.action.selectedResponse.libraries.length ? d.getResponse.suggestedLibraryOne : d.getResponse.suggestedLibraryMoreThanOne}`; + let t4 = `${1 === this.action.selectedResponse.libraries.length ? c.getResponse.suggestedLibraryOne : c.getResponse.suggestedLibraryMoreThanOne}`; t4 += `: ${this.action.selectedResponse.libraries.map((e4) => e4.displayName).join(", ")}`, this.currentUiWarningMessages.push(t4); } else this.currentUiWarningMessages = [this._invalidLibraryWarning], e3.addWarning(this, this.currentUiWarningMessages[0]); } else this.currentUiErrorMessage = this._selectLibraryError, e3.addError(this, this.currentUiErrorMessage, false, true); } static createCreateDetails(e3, t3, i3) { return { create: function(n3, r3) { - return new c(n3, r3, e3, t3, i3); + return new d(n3, r3, e3, t3, i3); }, getCreateClass: function() { - return c; + return d; }, modelProperties: [], manager: l.responseLibraryManager }; } } - t2.ResponseLibraryProperty = c; + t2.ResponseLibraryProperty = d; }, 24364: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(45741), o = i2(36019).default; function a() { @@ -31079,24 +33148,24 @@ var require_scripting_bundle = __commonJS({ t2.default = r2; }, 24669: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(12179), a = i2(12457), s = i2(81516), l = i2(96618), u = n2.__importDefault(i2(97891)), d = i2(24383), c = i2(87870), p = n2.__importDefault(i2(5730)), _ = i2(80428), h = i2(47957); - class m extends p.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(12179), a = i2(12457), s = i2(81516), l = i2(96618), u = n2.__importDefault(i2(97891)), c = i2(24383), d = i2(87870), p = n2.__importDefault(i2(5730)), _ = i2(80428), h = n2.__importDefault(i2(4648)), m = i2(47957); + class g extends p.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3), this.reasonCode.outOfService = true; } getDetails() { - return !this.reasonCode || this.reasonCode.isBlank || this.reasonCode.isNotSet ? null : new a.ActionDetails([h.returnToAgent.reasonCodeLabel], [this.reasonCode.text]); + return !this.reasonCode || this.reasonCode.isBlank || this.reasonCode.isNotSet ? null : new a.ActionDetails([m.returnToAgent.reasonCodeLabel], [this.reasonCode.text]); } static get managedProperties() { - return [{ label: h.returnToAgent.reasonCodeLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setIninTestingField("endFlowReasonExpression").facets.setAllowableValuePlaceholder(h.returnToAgent.reasonCodeWatermark)), property: "reasonCode", type: _.expressionTypeNames.string }, { createDetails: c.NoteActionProperty.createCreateDetails(h.returnToAgent.helpText, "info", "returnToAgentNote"), property: "helpInfo", yamlOptions: m.createYamlOptions("helpInfo", (e3) => e3.setSkipProperty(true)) }]; + return [{ label: m.returnToAgent.reasonCodeLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setIninTestingField("endFlowReasonExpression").facets.setAllowableValuePlaceholder(m.returnToAgent.reasonCodeWatermark)), property: "reasonCode", type: _.expressionTypeNames.string }, { createDetails: d.NoteActionProperty.createCreateDetails(m.returnToAgent.helpText, "info", "returnToAgentNote"), property: "helpInfo", yamlOptions: g.createYamlOptions("helpInfo", (e3) => e3.setSkipProperty(true)) }]; } _initializeDesignTime() { super._initializeDesignTime(), this.reasonCode.outOfService = !this.parentFlow.isAutomateFlowType, this.helpInfo.outOfService = !!this.parentFlow.isAutomateFlowType; } } - m.info = u.default.createActionInfo({ actionClass: m, canBeInTask: true, canBeTreeNode: true, helpTopic: o.helpTopics.actions.returnToAgent, modelClass: i2(63007), name: h.actions.returnToAgent, scriptingName: "ArchActionReturnToAgent", termination: d.terminatesFlow, availabilityCallback: function(e3, t3, i3) { + g.info = u.default.createActionInfo({ actionClass: g, canBeInTask: true, canBeTreeNode: true, helpTopic: o.helpTopics.actions.returnToAgent, modelClass: i2(63007), name: m.actions.returnToAgent, scriptingName: "ArchActionReturnToAgent", termination: c.terminatesFlow, availabilityCallback: function(e3, t3, i3) { return !r2.default.contains(l.flowTypes.flowTypesAllAutomate, e3) || !(!i3 || !t3.isState); - } }), t2.A = m; + }, modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = g; }, 24710: (e2, t2, i2) => { const n2 = i2(45214), r2 = i2(73303); function o() { @@ -31146,15 +33215,44 @@ var require_scripting_bundle = __commonJS({ Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { t3 || (t3 = e3); const i3 = o.supportsTTSPlaybackForFlowType(e3, r2.flowTypes.flowTypeVoicemail), n3 = (0, a.default)(e3, t3, r2.flowTypes.flowTypeVoicemail); - n3.variables = [], n3.initialPrompts = i3 ? (0, l.toAudioTtsJson)(c(e3).initialGreetingTTS) : s.emptyAudio; + n3.variables = [], n3.initialPrompts = i3 ? (0, l.toAudioTtsJson)(d(e3).initialGreetingTTS) : s.emptyAudio; const m = new p(); - m.name = c(t3).mainMenu, m.prompts = i3 ? (0, l.toAudioTtsJson)(c(e3).mainMenuTTS) : s.emptyAudio; + m.name = d(t3).mainMenu, m.prompts = i3 ? (0, l.toAudioTtsJson)(d(e3).mainMenuTTS) : s.emptyAudio; const g = new _(); g.name = h.actions.disconnect, g.digit = u.Nine; - const f = new d(); + const f = new c(); return f.name = h.actions.disconnect, g.action = f, m.menuChoiceList = [g], n3.flowSequenceItemList = [m], n3.initialSequence = m.id, n3; }; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importStar(i2(98442)), a = n2.__importDefault(i2(64499)), s = i2(12104), l = i2(46503), u = i2(31178), d = i2(44095), c = i2(21733), p = i2(85160), _ = i2(27359), h = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = n2.__importStar(i2(98442)), a = n2.__importDefault(i2(64499)), s = i2(12104), l = i2(46503), u = i2(31178), c = i2(44095), d = i2(21733), p = i2(85160), _ = i2(27359), h = i2(47957); + }, 24801: (e2, t2, i2) => { + "use strict"; + var n2, r2; + Object.defineProperty(t2, "__esModule", { value: true }), t2.AgenticAskForIntentActionModel = void 0; + const o = i2(31635), a = i2(30801), s = i2(80295), l = i2(80295), u = i2(80934), c = o.__importDefault(i2(7401)); + class d extends u.BaseActionWithOutputsModel { + constructor(e3) { + super(e3), this.__type = d.__type, (0, l.makeUnenumerable)(this, "_enableBargeIn"), (0, l.makeUnenumerable)(this, "_voiceEndOfInputTimeout"); + } + get enableBargeIn() { + return this._enableBargeIn; + } + set enableBargeIn(e3) { + this._enableBargeIn = this.reviveItem(e3, c.default); + } + get voiceEndOfInputTimeout() { + return this._voiceEndOfInputTimeout; + } + set voiceEndOfInputTimeout(e3) { + this._voiceEndOfInputTimeout = this.reviveItem(e3, c.default); + } + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._enableBargeIn && this._enableBargeIn.pasteResolveOldToNewValues(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteResolveOldToNewValues(e3); + } + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this._enableBargeIn && this._enableBargeIn.pasteReIdOrRename(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteReIdOrRename(e3); + } + } + t2.AgenticAskForIntentActionModel = d, d.__type = a.agenticAskForIntentActionType, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.default && c.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "enableBargeIn", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== c.default && c.default) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "voiceEndOfInputTimeout", null), d.registerType(); }, 24812: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.isoLanguages = void 0; @@ -31216,17 +33314,17 @@ var require_scripting_bundle = __commonJS({ t2.default = o; }, 24891: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(5730)), s = i2(24383), l = i2(47957); - class u extends a.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(5730)), s = i2(24383), l = n2.__importDefault(i2(4648)), u = i2(47957); + class c extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } } - u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: r2.helpTopics.actions.exitWorkitemFlow, modelClass: i2(96603), name: l.actions.exitWorkitemFlow, termination: s.terminatesFlow, scriptingName: "ArchActionExitWorkitemFlow" }), t2.A = u; + c.info = o.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: r2.helpTopics.actions.exitWorkitemFlow, modelClass: i2(96603), name: u.actions.exitWorkitemFlow, termination: s.terminatesFlow, scriptingName: "ArchActionExitWorkitemFlow", modelFormatSupport: { flowYaml: { inProgress: true, feature: l.default.changeSetsFeaturePhase2 } } }), t2.A = c; }, 24893: (e2, t2, i2) => { const n2 = i2(12323), r2 = i2(15008), o = i2(18685), a = i2(42515), s = i2(21556), l = i2(96563); function u() { - Object.defineProperties(this, { _botFlowSettings: { writable: true }, _nluMetaData: { writable: true }, _userInputSettings: { writable: true }, _knowledgeSettings: { writable: true }, _virtualAgentSettings: { writable: true } }), u.baseConstructor.apply(this, arguments); + Object.defineProperties(this, { _botFlowSettings: { writable: true }, _nluMetaData: { writable: true }, _userInputSettings: { writable: true }, _knowledgeSettings: { writable: true }, _virtualAgentSettings: { writable: true }, _intentClassifierData: { writable: true } }), u.baseConstructor.apply(this, arguments); } i2(23695).extend(u, "BotFlowConfiguration"), Object.defineProperties(u.prototype, { botFlowSettings: { enumerable: true, get: function() { return this._botFlowSettings; @@ -31240,6 +33338,10 @@ var require_scripting_bundle = __commonJS({ return this._errorHandling; }, set: function(e3) { this._errorHandling = this.reviveItem(e3, r2); + } }, intentClassifierData: { enumerable: true, get: function() { + return this._intentClassifierData; + }, set: function(e3) { + this._intentClassifierData = e3; } }, nluMetaData: { enumerable: true, get: function() { return this._nluMetaData; }, set: function(e3) { @@ -31255,13 +33357,13 @@ var require_scripting_bundle = __commonJS({ } } }), e2.exports = u; }, 24954: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = i2(47957); - class u extends s.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = n2.__importDefault(i2(4648)), u = i2(47957); + class c extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } } - u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: r2.helpTopics.actions.exitBotFlow, modelClass: i2(54540), name: l.actions.exitBotFlow, termination: a.terminatesFlow, scriptingName: "ArchActionExitBotFlow" }), t2.A = u; + c.info = o.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: r2.helpTopics.actions.exitBotFlow, modelClass: i2(54540), name: u.actions.exitBotFlow, termination: a.terminatesFlow, scriptingName: "ArchActionExitBotFlow", modelFormatSupport: { flowYaml: { inProgress: true, feature: l.default.changeSetsFeaturePhase2 } } }), t2.A = c; }, 24962: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -31386,8 +33488,1539 @@ var require_scripting_bundle = __commonJS({ } } t2.ArchDefinitionMenu = r2; + }, 25074: (e2, t2) => { + Object.defineProperty(t2, Symbol.toStringTag, { value: "Module" }); + var i2 = /* @__PURE__ */ Symbol("NOT_RESOLVED"), n2 = /* @__PURE__ */ Symbol("MERGE_KEY"); + function r2(e3, t3) { + var i3, n3, r3, o2, a2, s2; + return { tagName: e3, nodeKind: "scalar", implicit: null !== (i3 = t3.implicit) && void 0 !== i3 && i3, matchByTagPrefix: null !== (n3 = t3.matchByTagPrefix) && void 0 !== n3 && n3, implicitFirstChars: null !== (r3 = t3.implicitFirstChars) && void 0 !== r3 ? r3 : null, resolve: t3.resolve, identify: null !== (o2 = t3.identify) && void 0 !== o2 ? o2 : null, represent: null !== (a2 = t3.represent) && void 0 !== a2 ? a2 : (e4) => String(e4), representTagName: null !== (s2 = t3.representTagName) && void 0 !== s2 ? s2 : null }; + } + function o(e3, t3) { + var i3, n3, r3, o2, a2; + const s2 = void 0 === t3.finalize; + return { tagName: e3, nodeKind: "sequence", implicit: false, matchByTagPrefix: null !== (i3 = t3.matchByTagPrefix) && void 0 !== i3 && i3, create: t3.create, addItem: t3.addItem, finalize: null !== (n3 = t3.finalize) && void 0 !== n3 ? n3 : (e4) => e4, carrierIsResult: s2, identify: null !== (r3 = t3.identify) && void 0 !== r3 ? r3 : null, represent: null !== (o2 = t3.represent) && void 0 !== o2 ? o2 : (e4) => e4, representTagName: null !== (a2 = t3.representTagName) && void 0 !== a2 ? a2 : null }; + } + function a(e3, t3) { + var i3, n3, r3, o2, a2; + const s2 = void 0 === t3.finalize; + return { tagName: e3, nodeKind: "mapping", implicit: false, matchByTagPrefix: null !== (i3 = t3.matchByTagPrefix) && void 0 !== i3 && i3, create: t3.create, addPair: t3.addPair, has: t3.has, keys: t3.keys, get: t3.get, finalize: null !== (n3 = t3.finalize) && void 0 !== n3 ? n3 : (e4) => e4, carrierIsResult: s2, identify: null !== (r3 = t3.identify) && void 0 !== r3 ? r3 : null, represent: null !== (o2 = t3.represent) && void 0 !== o2 ? o2 : (e4) => e4, representTagName: null !== (a2 = t3.representTagName) && void 0 !== a2 ? a2 : null }; + } + var s = r2("tag:yaml.org,2002:str", { resolve: (e3) => e3, identify: (e3) => "string" == typeof e3 }), l = ["", "~", "null", "Null", "NULL"], u = r2("tag:yaml.org,2002:null", { implicit: true, implicitFirstChars: ["", "~", "n", "N"], resolve: (e3) => -1 !== l.indexOf(e3) ? null : i2, identify: (e3) => null === e3, represent: () => "null" }), c = r2("tag:yaml.org,2002:null", { implicit: true, implicitFirstChars: ["n"], resolve: (e3, t3) => "null" === e3 || t3 && "" === e3 ? null : i2, identify: (e3) => null === e3, represent: () => "null" }), d = ["", "~", "null", "Null", "NULL"], p = r2("tag:yaml.org,2002:null", { implicit: true, implicitFirstChars: ["", "~", "n", "N"], resolve: (e3) => -1 !== d.indexOf(e3) ? null : i2, identify: (e3) => null === e3, represent: () => "null" }), _ = ["true", "True", "TRUE"], h = ["false", "False", "FALSE"], m = r2("tag:yaml.org,2002:bool", { implicit: true, implicitFirstChars: ["t", "T", "f", "F"], resolve: (e3) => -1 !== _.indexOf(e3) || -1 === h.indexOf(e3) && i2, identify: (e3) => "[object Boolean]" === Object.prototype.toString.call(e3), represent: (e3) => e3 ? "true" : "false" }), g = ["true"], f = ["false"], T = r2("tag:yaml.org,2002:bool", { implicit: true, implicitFirstChars: ["t", "f"], resolve: (e3) => -1 !== g.indexOf(e3) || -1 === f.indexOf(e3) && i2, identify: (e3) => "[object Boolean]" === Object.prototype.toString.call(e3), represent: (e3) => e3 ? "true" : "false" }), y = ["true", "True", "TRUE", "y", "Y", "yes", "Yes", "YES", "on", "On", "ON"], S = ["false", "False", "FALSE", "n", "N", "no", "No", "NO", "off", "Off", "OFF"], A = r2("tag:yaml.org,2002:bool", { implicit: true, implicitFirstChars: ["y", "Y", "n", "N", "t", "T", "f", "F", "o", "O"], resolve: (e3) => -1 !== y.indexOf(e3) || -1 === S.indexOf(e3) && i2, identify: (e3) => "[object Boolean]" === Object.prototype.toString.call(e3), represent: (e3) => e3 ? "true" : "false" }), N = new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$"), v = new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$"), O = r2("tag:yaml.org,2002:int", { implicit: true, implicitFirstChars: ["-", "+", ..."0123456789"], resolve: function(e3, t3) { + if (t3) { + if (!v.test(e3)) return i2; + } else if (!N.test(e3)) return i2; + const n3 = (function(e4) { + let t4 = e4, i3 = 1; + return "-" !== t4[0] && "+" !== t4[0] || ("-" === t4[0] && (i3 = -1), t4 = t4.slice(1)), t4.startsWith("0b") ? i3 * parseInt(t4.slice(2), 2) : t4.startsWith("0o") ? i3 * parseInt(t4.slice(2), 8) : t4.startsWith("0x") ? i3 * parseInt(t4.slice(2), 16) : i3 * parseInt(t4, 10); + })(e3); + return Number.isFinite(n3) ? n3 : i2; + }, identify: (e3) => Number.isInteger(e3) && !Object.is(e3, -0) && e3.toString(10).indexOf("e") < 0, represent: (e3) => e3.toString(10) }), I = new RegExp("^-?(?:0|[1-9][0-9]*)$"), C = new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$"), b = r2("tag:yaml.org,2002:int", { implicit: true, implicitFirstChars: ["-", ..."0123456789"], resolve: function(e3, t3) { + if (t3) { + if (!C.test(e3)) return i2; + } else if (!I.test(e3)) return i2; + const n3 = (function(e4) { + let t4 = e4, i3 = 1; + return "-" !== t4[0] && "+" !== t4[0] || ("-" === t4[0] && (i3 = -1), t4 = t4.slice(1)), t4.startsWith("0b") ? i3 * parseInt(t4.slice(2), 2) : t4.startsWith("0o") ? i3 * parseInt(t4.slice(2), 8) : t4.startsWith("0x") ? i3 * parseInt(t4.slice(2), 16) : i3 * parseInt(t4, 10); + })(e3); + return Number.isFinite(n3) ? n3 : i2; + }, identify: (e3) => Number.isInteger(e3) && !Object.is(e3, -0) && e3.toString(10).indexOf("e") < 0, represent: (e3) => e3.toString(10) }), E = new RegExp("^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$"), w = r2("tag:yaml.org,2002:int", { implicit: true, implicitFirstChars: ["-", "+", ..."0123456789"], resolve: function(e3) { + if (!E.test(e3)) return i2; + const t3 = (function(e4) { + let t4 = e4.replace(/_/g, ""), i3 = 1; + if ("-" !== t4[0] && "+" !== t4[0] || ("-" === t4[0] && (i3 = -1), t4 = t4.slice(1)), t4.startsWith("0b")) return i3 * parseInt(t4.slice(2), 2); + if (t4.startsWith("0x")) return i3 * parseInt(t4.slice(2), 16); + if (t4.includes(":")) { + let e5 = 0; + for (const i4 of t4.split(":")) e5 = 60 * e5 + Number(i4); + return i3 * e5; + } + return "0" !== t4 && "0" === t4[0] ? i3 * parseInt(t4, 8) : i3 * parseInt(t4, 10); + })(e3); + return Number.isFinite(t3) ? t3 : i2; + }, identify: (e3) => Number.isInteger(e3) && !Object.is(e3, -0) && e3.toString(10).indexOf("e") < 0, represent: (e3) => e3.toString(10) }), R = new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), D = new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), P = r2("tag:yaml.org,2002:float", { implicit: true, implicitFirstChars: ["-", "+", ".", ..."0123456789"], resolve: function(e3) { + if (!R.test(e3)) return i2; + let t3 = e3.toLowerCase(); + const n3 = "-" === t3[0] ? -1 : 1; + if ("+-".includes(t3[0]) && (t3 = t3.slice(1)), ".inf" === t3) return 1 === n3 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY; + if (".nan" === t3) return NaN; + const r3 = n3 * parseFloat(t3); + return Number.isFinite(r3) || D.test(e3) ? r3 : i2; + }, identify: (e3) => "number" == typeof e3 && (!Number.isInteger(e3) || Object.is(e3, -0) || e3.toString(10).indexOf("e") >= 0), represent: function(e3) { + if (isNaN(e3)) return ".nan"; + if (e3 === Number.POSITIVE_INFINITY) return ".inf"; + if (e3 === Number.NEGATIVE_INFINITY) return "-.inf"; + if (Object.is(e3, -0)) return "-0.0"; + const t3 = e3.toString(10); + return /^[-+]?[0-9]+e/.test(t3) ? t3.replace("e", ".e") : t3; + } }), M = new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$"), F = new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), L = r2("tag:yaml.org,2002:float", { implicit: true, implicitFirstChars: ["-", ..."0123456789"], resolve: function(e3, t3) { + if (t3) { + if (!F.test(e3)) return i2; + let t4 = e3.toLowerCase(); + const n4 = "-" === t4[0] ? -1 : 1; + if ("+-".includes(t4[0]) && (t4 = t4.slice(1)), ".inf" === t4) return 1 === n4 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY; + if (".nan" === t4) return NaN; + const r3 = n4 * parseFloat(t4); + return Number.isFinite(r3) ? r3 : i2; + } + if (!M.test(e3)) return i2; + const n3 = Number(e3); + return Number.isFinite(n3) ? n3 : i2; + }, identify: (e3) => "number" == typeof e3 && (!Number.isInteger(e3) || Object.is(e3, -0) || e3.toString(10).indexOf("e") >= 0), represent: function(e3) { + if (isNaN(e3)) return ".nan"; + if (e3 === Number.POSITIVE_INFINITY) return ".inf"; + if (e3 === Number.NEGATIVE_INFINITY) return "-.inf"; + if (Object.is(e3, -0)) return "-0.0"; + const t3 = e3.toString(10); + return /^[-+]?[0-9]+e/.test(t3) ? t3.replace("e", ".e") : t3; + } }), x = new RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), k = new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), V = r2("tag:yaml.org,2002:float", { implicit: true, implicitFirstChars: ["-", "+", ".", ..."0123456789"], resolve: function(e3) { + if (!x.test(e3)) return i2; + let t3 = e3.toLowerCase().replace(/_/g, ""); + const n3 = "-" === t3[0] ? -1 : 1; + if ("+-".includes(t3[0]) && (t3 = t3.slice(1)), ".inf" === t3) return 1 === n3 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY; + if (".nan" === t3) return NaN; + let r3 = 0; + if (t3.includes(":")) { + for (const e4 of t3.split(":")) r3 = 60 * r3 + Number(e4); + r3 *= n3; + } else r3 = n3 * parseFloat(t3); + return Number.isFinite(r3) || k.test(e3) ? r3 : i2; + }, identify: (e3) => "number" == typeof e3 && (!Number.isInteger(e3) || Object.is(e3, -0) || e3.toString(10).indexOf("e") >= 0), represent: function(e3) { + if (isNaN(e3)) return ".nan"; + if (e3 === Number.POSITIVE_INFINITY) return ".inf"; + if (e3 === Number.NEGATIVE_INFINITY) return "-.inf"; + if (Object.is(e3, -0)) return "-0.0"; + const t3 = e3.toString(10); + return /^[-+]?[0-9]+e/.test(t3) ? t3.replace("e", ".e") : t3; + } }), U = r2("tag:yaml.org,2002:merge", { implicit: true, implicitFirstChars: ["<"], resolve: (e3, t3) => "<<" === e3 || t3 && "" === e3 ? n2 : i2 }), B = /^[A-Za-z0-9+/]*={0,2}$/, G = r2("tag:yaml.org,2002:binary", { resolve: function(e3) { + const t3 = e3.replace(/\s/g, ""); + if (t3.length % 4 != 0 || !B.test(t3)) return i2; + const n3 = atob(t3), r3 = new Uint8Array(n3.length); + for (let e4 = 0; e4 < n3.length; e4++) r3[e4] = n3.charCodeAt(e4); + return r3; + }, identify: (e3) => "[object Uint8Array]" === Object.prototype.toString.call(e3), represent: function(e3) { + let t3 = ""; + for (let i3 = 0; i3 < e3.length; i3++) t3 += String.fromCharCode(e3[i3]); + return btoa(t3); + } }), j = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), W = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"), q = r2("tag:yaml.org,2002:timestamp", { implicit: true, implicitFirstChars: [..."0123456789"], resolve: function(e3) { + let t3 = j.exec(e3); + if (null === t3 && (t3 = W.exec(e3)), null === t3) return i2; + const n3 = +t3[1], r3 = +t3[2] - 1, o2 = +t3[3]; + if (!t3[4]) { + const e4 = new Date(Date.UTC(n3, r3, o2)); + return e4.getUTCFullYear() !== n3 || e4.getUTCMonth() !== r3 || e4.getUTCDate() !== o2 ? i2 : e4; + } + const a2 = +t3[4], s2 = +t3[5], l2 = +t3[6]; + let u2 = 0; + if (a2 > 23 || s2 > 59 || l2 > 59) return i2; + if (t3[7]) { + let e4 = t3[7].slice(0, 3); + for (; e4.length < 3; ) e4 += "0"; + u2 = +e4; + } + const c2 = new Date(Date.UTC(n3, r3, o2, a2, s2, l2, u2)); + if (c2.getUTCFullYear() !== n3 || c2.getUTCMonth() !== r3 || c2.getUTCDate() !== o2) return i2; + if (t3[9]) { + const e4 = +t3[10], n4 = +(t3[11] || 0); + if (e4 > 23 || n4 > 59) return i2; + const r4 = 6e4 * (60 * e4 + n4); + c2.setTime(c2.getTime() - ("-" === t3[9] ? -r4 : r4)); + } + return c2; + }, identify: (e3) => e3 instanceof Date, represent: (e3) => e3.toISOString() }), Y = o("tag:yaml.org,2002:seq", { create: () => [], addItem: (e3, t3) => { + e3.push(t3); + }, identify: Array.isArray }); + function H(e3) { + if (null === e3 || "object" != typeof e3 || Array.isArray(e3)) return false; + const t3 = Object.getPrototypeOf(e3); + return null === t3 || t3 === Object.prototype; + } + function J(e3, t3) { + const i3 = {}; + for (const n3 of t3) void 0 !== e3[n3] && (i3[n3] = e3[n3]); + return i3; + } + var $ = o("tag:yaml.org,2002:omap", { create: () => ({ list: [], seen: /* @__PURE__ */ new Set() }), addItem: (e3, t3) => { + let i3; + if (t3 instanceof Map) { + if (1 !== t3.size) return "cannot resolve an ordered map item"; + i3 = t3.keys().next().value; + } else { + if (!H(t3)) return "cannot resolve an ordered map item"; + { + const e4 = Object.keys(t3); + if (1 !== e4.length) return "cannot resolve an ordered map item"; + i3 = e4[0]; + } + } + return e3.seen.has(i3) ? "duplicate key in ordered map" : (e3.seen.add(i3), e3.list.push(t3), ""); + }, finalize: (e3) => e3.list }), z = o("tag:yaml.org,2002:pairs", { create: () => [], addItem: (e3, t3) => { + if (t3 instanceof Map) return 1 !== t3.size ? "cannot resolve a pairs item" : (e3.push(t3.entries().next().value), ""); + if ("[object Object]" !== Object.prototype.toString.call(t3)) return "cannot resolve a pairs item"; + const i3 = t3, n3 = Object.keys(i3); + return 1 !== n3.length ? "cannot resolve a pairs item" : (e3.push([n3[0], i3[n3[0]]]), ""); + } }), K = a("tag:yaml.org,2002:map", { create: () => ({}), identify: H, represent: (e3) => { + const t3 = /* @__PURE__ */ new Map(); + for (const i3 of Object.keys(e3)) t3.set(i3, e3[i3]); + return t3; + }, addPair: (e3, t3, i3) => { + if (null !== t3 && "object" == typeof t3) return "object-based map does not support complex keys"; + const n3 = String(t3); + return "__proto__" === n3 ? Object.defineProperty(e3, n3, { value: i3, enumerable: true, configurable: true, writable: true }) : e3[n3] = i3, ""; + }, has: (e3, t3) => (null === t3 || "object" != typeof t3) && Object.prototype.hasOwnProperty.call(e3, String(t3)), keys: (e3) => Object.keys(e3), get: (e3, t3) => e3[String(t3)] }), Q = a("tag:yaml.org,2002:set", { create: () => /* @__PURE__ */ new Set(), identify: (e3) => e3 instanceof Set, represent: (e3) => { + const t3 = /* @__PURE__ */ new Map(); + for (const i3 of e3) t3.set(i3, null); + return t3; + }, addPair: (e3, t3, i3) => null !== i3 ? "cannot resolve a set item" : (e3.add(t3), ""), has: (e3, t3) => e3.has(t3), keys: (e3) => e3.keys(), get: () => null }); + function X(e3) { + return X = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) { + return typeof e4; + } : function(e4) { + return e4 && "function" == typeof Symbol && e4.constructor === Symbol && e4 !== Symbol.prototype ? "symbol" : typeof e4; + }, X(e3); + } + function Z(e3, t3, i3) { + return (t3 = (function(e4) { + var t4 = (function(e5) { + if ("object" != X(e5) || !e5) return e5; + var t5 = e5[Symbol.toPrimitive]; + if (void 0 !== t5) { + var i4 = t5.call(e5, "string"); + if ("object" != X(i4)) return i4; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return String(e5); + })(e4); + return "symbol" == X(t4) ? t4 : t4 + ""; + })(t3)) in e3 ? Object.defineProperty(e3, t3, { value: i3, enumerable: true, configurable: true, writable: true }) : e3[t3] = i3, e3; + } + var ee = class e3 { + constructor(e4) { + Z(this, "tags", void 0), Z(this, "implicitScalarTags", void 0), Z(this, "implicitScalarByFirstChar", void 0), Z(this, "implicitScalarAnyFirstChar", void 0), Z(this, "defaultScalarTag", void 0), Z(this, "defaultSequenceTag", void 0), Z(this, "defaultMappingTag", void 0), Z(this, "exact", void 0), Z(this, "prefix", void 0); + const t3 = (function(e5) { + const t4 = []; + for (const i4 of e5) { + let e6 = t4.length; + for (let n4 = 0; n4 < t4.length; n4++) { + const r4 = t4[n4]; + if (r4.nodeKind === i4.nodeKind && r4.tagName === i4.tagName && r4.matchByTagPrefix === i4.matchByTagPrefix) { + e6 = n4; + break; + } + } + t4[e6] = i4; + } + return t4; + })(e4), i3 = [], n3 = { scalar: {}, sequence: {}, mapping: {} }, r3 = { scalar: [], sequence: [], mapping: [] }; + for (const e5 of t3) { + if ("scalar" === e5.nodeKind && e5.implicit) { + if (e5.matchByTagPrefix) throw new Error("Implicit scalar tags cannot match by tag prefix"); + i3.push(e5); + } + switch (e5.nodeKind) { + case "scalar": + e5.matchByTagPrefix ? r3.scalar.push(e5) : n3.scalar[e5.tagName] = e5; + break; + case "sequence": + e5.matchByTagPrefix ? r3.sequence.push(e5) : n3.sequence[e5.tagName] = e5; + break; + case "mapping": + e5.matchByTagPrefix ? r3.mapping.push(e5) : n3.mapping[e5.tagName] = e5; + } + } + const o2 = i3.filter((e5) => null === e5.implicitFirstChars), a2 = /* @__PURE__ */ new Set(); + for (const e5 of i3) if (null !== e5.implicitFirstChars) for (const t4 of e5.implicitFirstChars) a2.add(t4); + const s2 = /* @__PURE__ */ new Map(); + for (const e5 of a2) s2.set(e5, i3.filter((t4) => null === t4.implicitFirstChars || -1 !== t4.implicitFirstChars.indexOf(e5))); + const l2 = n3.scalar["tag:yaml.org,2002:str"]; + if (!l2) throw new Error("schema does not define the default scalar tag (tag:yaml.org,2002:str)"); + this.tags = t3, this.implicitScalarTags = i3, this.implicitScalarByFirstChar = s2, this.implicitScalarAnyFirstChar = o2, this.defaultScalarTag = l2, this.defaultSequenceTag = n3.sequence["tag:yaml.org,2002:seq"], this.defaultMappingTag = n3.mapping["tag:yaml.org,2002:map"], this.exact = n3, this.prefix = r3; + } + withTags(...t3) { + let i3 = []; + for (const e4 of t3) i3 = i3.concat(e4); + return new e3([...this.tags, ...i3]); + } + }, te = new ee([s, Y, K]), ie = new ee([...te.tags, c, T, b, L]), ne = new ee([...te.tags, u, m, O, P]), re = new ee([...te.tags, p, A, w, V, q, U, G, $, z, Q]), oe = a("tag:yaml.org,2002:map", { create: () => /* @__PURE__ */ new Map(), addPair: (e3, t3, i3) => (e3.set(t3, i3), ""), has: (e3, t3) => e3.has(t3), keys: (e3) => e3.keys(), get: (e3, t3) => e3.get(t3), identify: (e3) => e3 instanceof Map || H(e3), represent: (e3) => { + if (e3 instanceof Map) return e3; + const t3 = /* @__PURE__ */ new Map(), i3 = e3; + for (const e4 of Object.keys(i3)) t3.set(e4, i3[e4]); + return t3; + } }); + function ae(e3) { + if (Array.isArray(e3)) { + const t3 = Array.prototype.slice.call(e3); + for (let e4 = 0; e4 < t3.length; e4++) { + if (Array.isArray(t3[e4])) return null; + "object" == typeof t3[e4] && "[object Object]" === Object.prototype.toString.call(t3[e4]) && (t3[e4] = "[object Object]"); + } + return String(t3); + } + return "object" == typeof e3 && "[object Object]" === Object.prototype.toString.call(e3) ? "[object Object]" : String(e3); + } + var se = a("tag:yaml.org,2002:map", { create: () => ({}), identify: H, represent: (e3) => { + const t3 = /* @__PURE__ */ new Map(); + for (const i3 of Object.keys(e3)) t3.set(i3, e3[i3]); + return t3; + }, addPair: (e3, t3, i3) => { + const n3 = ae(t3); + return null === n3 ? "nested arrays are not supported inside keys" : ("__proto__" === n3 ? Object.defineProperty(e3, n3, { value: i3, enumerable: true, configurable: true, writable: true }) : e3[n3] = i3, ""); + }, has: (e3, t3) => { + const i3 = ae(t3); + return null !== i3 && Object.prototype.hasOwnProperty.call(e3, i3); + }, keys: (e3) => Object.keys(e3), get: (e3, t3) => e3[String(t3)] }); + function le(e3, t3) { + var i3 = Object.keys(e3); + if (Object.getOwnPropertySymbols) { + var n3 = Object.getOwnPropertySymbols(e3); + t3 && (n3 = n3.filter(function(t4) { + return Object.getOwnPropertyDescriptor(e3, t4).enumerable; + })), i3.push.apply(i3, n3); + } + return i3; + } + function ue(e3) { + for (var t3 = 1; t3 < arguments.length; t3++) { + var i3 = null != arguments[t3] ? arguments[t3] : {}; + t3 % 2 ? le(Object(i3), true).forEach(function(t4) { + Z(e3, t4, i3[t4]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(i3)) : le(Object(i3)).forEach(function(t4) { + Object.defineProperty(e3, t4, Object.getOwnPropertyDescriptor(i3, t4)); + }); + } + return e3; + } + var ce = { maxLength: 79, indent: 1, linesBefore: 3, linesAfter: 2 }; + function de(e3, t3, i3, n3, r3) { + let o2 = "", a2 = ""; + const s2 = Math.floor(r3 / 2) - 1; + return n3 - t3 > s2 && (o2 = " ... ", t3 = n3 - s2 + o2.length), i3 - n3 > s2 && (a2 = " ...", i3 = n3 + s2 - a2.length), { str: o2 + e3.slice(t3, i3).replace(/\t/g, "\u2192") + a2, pos: n3 - t3 + o2.length }; + } + function pe(e3, t3) { + return " ".repeat(Math.max(t3 - e3.length, 0)) + e3; + } + function _e(e3, t3) { + let i3 = ""; + return e3.mark ? (e3.mark.name && (i3 += `in "${e3.mark.name}" `), i3 += `(${e3.mark.line + 1}:${e3.mark.column + 1})`, !t3 && e3.mark.snippet && (i3 += ` + +${e3.mark.snippet}`), `${e3.reason} ${i3}`) : e3.reason; + } + var he = class extends Error { + constructor(e3, t3) { + super(), Z(this, "reason", void 0), Z(this, "mark", void 0), this.name = "YAMLException", this.reason = e3, this.mark = t3, this.message = _e(this, false), Error.captureStackTrace && Error.captureStackTrace(this, this.constructor); + } + toString(e3) { + return `${this.name}: ${_e(this, e3)}`; + } + }; + function me(e3, t3, i3, n3 = "") { + let r3 = 0, o2 = 0; + for (let i4 = 0; i4 < t3; i4++) { + const t4 = e3.charCodeAt(i4); + 10 === t4 ? (r3++, o2 = i4 + 1) : 13 === t4 && (r3++, 10 === e3.charCodeAt(i4 + 1) && i4++, o2 = i4 + 1); + } + const a2 = { name: n3, buffer: e3, position: t3, line: r3, column: t3 - o2 }; + throw a2.snippet = (function(e4) { + if (!e4.buffer) return null; + const t4 = ue(ue({}, ce), void 0), i4 = /\r?\n|\r|\0/g, n4 = [0], r4 = []; + let o3, a3 = -1; + for (; o3 = i4.exec(e4.buffer); ) r4.push(o3.index), n4.push(o3.index + o3[0].length), e4.position <= o3.index && a3 < 0 && (a3 = n4.length - 2); + a3 < 0 && (a3 = n4.length - 1); + let s2 = ""; + const l2 = Math.min(e4.line + t4.linesAfter, r4.length).toString().length, u2 = t4.maxLength - (t4.indent + l2 + 3); + for (let i5 = 1; i5 <= t4.linesBefore && !(a3 - i5 < 0); i5++) { + const o4 = de(e4.buffer, n4[a3 - i5], r4[a3 - i5], e4.position - (n4[a3] - n4[a3 - i5]), u2); + s2 = `${" ".repeat(t4.indent)}${pe((e4.line - i5 + 1).toString(), l2)} | ${o4.str} +${s2}`; + } + const c2 = de(e4.buffer, n4[a3], r4[a3], e4.position, u2); + s2 += `${" ".repeat(t4.indent)}${pe((e4.line + 1).toString(), l2)} | ${c2.str} +`, s2 += `${"-".repeat(t4.indent + l2 + 3 + c2.pos)}^ +`; + for (let i5 = 1; i5 <= t4.linesAfter && !(a3 + i5 >= r4.length); i5++) { + const o4 = de(e4.buffer, n4[a3 + i5], r4[a3 + i5], e4.position - (n4[a3] - n4[a3 + i5]), u2); + s2 += `${" ".repeat(t4.indent)}${pe((e4.line + i5 + 1).toString(), l2)} | ${o4.str} +`; + } + return s2.replace(/\n$/, ""); + })(a2), new he(i3, a2); + } + function ge(e3) { + switch (e3) { + case 48: + return "\0"; + case 97: + return "\x07"; + case 98: + return "\b"; + case 116: + case 9: + return " "; + case 110: + return "\n"; + case 118: + return "\v"; + case 102: + return "\f"; + case 114: + return "\r"; + case 101: + return "\x1B"; + case 32: + return " "; + case 34: + return '"'; + case 47: + return "/"; + case 92: + return "\\"; + case 78: + return "\x85"; + case 95: + return "\xA0"; + case 76: + return "\u2028"; + case 80: + return "\u2029"; + default: + return ""; + } + } + var fe = new Array(256), Te = new Array(256); + for (let e3 = 0; e3 < 256; e3++) fe[e3] = ge(e3) ? 1 : 0, Te[e3] = ge(e3); + function ye(e3) { + return e3 <= 65535 ? String.fromCharCode(e3) : String.fromCharCode(55296 + (e3 - 65536 >> 10), 56320 + (e3 - 65536 & 1023)); + } + function Se(e3) { + return e3 >= 48 && e3 <= 57 ? e3 - 48 : (32 | e3) - 97 + 10; + } + function Ae(e3) { + return 120 === e3 ? 2 : 117 === e3 ? 4 : 8; + } + function Ne(e3, t3, i3) { + let n3 = 0; + for (; t3 < i3; ) { + const i4 = e3.charCodeAt(t3); + if (10 === i4) n3++, t3++; + else if (13 === i4) n3++, t3++, 10 === e3.charCodeAt(t3) && t3++; + else { + if (32 !== i4 && 9 !== i4) break; + t3++; + } + } + return { position: t3, breaks: n3 }; + } + function ve(e3) { + return 1 === e3 ? " " : "\n".repeat(e3 - 1); + } + function Oe(e3, t3, i3, n3, r3, o2) { + const a2 = n3 < 0 ? 0 : n3, s2 = e3.slice(t3, i3).replace(/\r\n?/g, "\n"), l2 = "" === s2 ? [] : (s2.endsWith("\n") ? s2.slice(0, -1) : s2).split("\n"); + let u2 = "", c2 = false, d2 = 0, p2 = false; + for (const e4 of l2) { + let t4 = 0; + for (; t4 < a2 && 32 === e4.charCodeAt(t4); ) t4++; + if (n3 < 0 || t4 >= e4.length) { + d2++; + continue; + } + const i4 = e4.slice(a2), r4 = i4.charCodeAt(0); + o2 ? 32 === r4 || 9 === r4 ? (p2 = true, u2 += "\n".repeat(c2 ? 1 + d2 : d2)) : p2 ? (p2 = false, u2 += "\n".repeat(d2 + 1)) : 0 === d2 ? c2 && (u2 += " ") : u2 += "\n".repeat(d2) : u2 += "\n".repeat(c2 ? 1 + d2 : d2), u2 += i4, c2 = true, d2 = 0; + } + return 3 === r3 ? u2 += "\n".repeat(c2 ? 1 + d2 : d2) : 2 !== r3 && c2 && (u2 += "\n"), u2; + } + function Ie(e3, t3) { + if (-1 === t3.valueStart) return ""; + const { valueStart: i3, valueEnd: n3 } = t3; + if (t3.fast) return e3.slice(i3, n3); + switch (t3.style) { + case 2: + return (function(e4, t4, i4) { + let n4 = "", r3 = t4, o2 = t4, a2 = t4; + for (; r3 < i4; ) { + const t5 = e4.charCodeAt(r3); + if (39 === t5) n4 += e4.slice(o2, r3) + "'", r3 += 2, o2 = a2 = r3; + else if (10 === t5 || 13 === t5) { + n4 += e4.slice(o2, a2); + const t6 = Ne(e4, r3, i4); + n4 += ve(t6.breaks), r3 = o2 = a2 = t6.position; + } else r3++, 32 !== t5 && 9 !== t5 && (a2 = r3); + } + return n4 + e4.slice(o2, i4); + })(e3, i3, n3); + case 3: + return (function(e4, t4, i4) { + let n4 = "", r3 = t4, o2 = t4, a2 = t4; + for (; r3 < i4; ) { + const t5 = e4.charCodeAt(r3); + if (92 === t5) { + n4 += e4.slice(o2, r3), r3++; + const t6 = e4.charCodeAt(r3); + if (10 === t6 || 13 === t6) r3 = Ne(e4, r3, i4).position; + else if (t6 < 256 && fe[t6]) n4 += Te[t6], r3++; + else { + let i5 = Ae(t6), o3 = 0; + for (; i5 > 0; i5--) r3++, o3 = (o3 << 4) + Se(e4.charCodeAt(r3)); + n4 += ye(o3), r3++; + } + o2 = a2 = r3; + } else if (10 === t5 || 13 === t5) { + n4 += e4.slice(o2, a2); + const t6 = Ne(e4, r3, i4); + n4 += ve(t6.breaks), r3 = o2 = a2 = t6.position; + } else r3++, 32 !== t5 && 9 !== t5 && (a2 = r3); + } + return n4 + e4.slice(o2, i4); + })(e3, i3, n3); + case 4: + return Oe(e3, i3, n3, t3.indent, t3.chomping, false); + case 5: + return Oe(e3, i3, n3, t3.indent, t3.chomping, true); + default: + return (function(e4, t4, i4) { + let n4 = "", r3 = t4, o2 = t4, a2 = t4; + for (; r3 < i4; ) { + const t5 = e4.charCodeAt(r3); + if (10 === t5 || 13 === t5) { + n4 += e4.slice(o2, a2); + const t6 = Ne(e4, r3, i4); + n4 += ve(t6.breaks), r3 = o2 = a2 = t6.position; + } else r3++, 32 !== t5 && 9 !== t5 && (a2 = r3); + } + return n4 + e4.slice(o2, a2); + })(e3, i3, n3); + } + } + var Ce = { "!": "!", "!!": "tag:yaml.org,2002:" }; + function be(e3) { + return encodeURI(e3).replace(/!/g, "%21"); + } + function Ee(e3, t3) { + var i3, n3; + if (e3.startsWith("!<") && e3.endsWith(">")) return decodeURIComponent(e3.slice(2, -1)); + const r3 = e3.indexOf("!", 1), o2 = -1 === r3 ? "!" : e3.slice(0, r3 + 1), a2 = null !== (i3 = null !== (n3 = null == t3 ? void 0 : t3[o2]) && void 0 !== n3 ? n3 : Ce[o2]) && void 0 !== i3 ? i3 : o2; + return decodeURIComponent(a2) + decodeURIComponent(e3.slice(o2.length)); + } + function we(e3) { + let t3 = e3; + return 33 === t3.charCodeAt(0) ? (t3 = t3.slice(1), `!${be(t3)}`) : "tag:yaml.org,2002:" === t3.slice(0, 18) ? `!!${be(t3.slice(18))}` : `!<${be(t3)}>`; + } + var Re = -1, De = { filename: "", schema: ne, json: false, maxTotalMergeKeys: 1e4, maxAliases: -1 }; + function Pe(e3) { + return "tagStart" in e3 && e3.tagStart !== Re ? e3.tagStart : "anchorStart" in e3 && e3.anchorStart !== Re ? e3.anchorStart : "valueStart" in e3 && e3.valueStart !== Re ? e3.valueStart : "start" in e3 ? e3.start : 0; + } + function Me(e3, t3) { + me(e3.source, e3.position, t3, e3.filename); + } + function Fe(e3, t3, i3, n3) { + try { + return i3.finalize(n3); + } catch (i4) { + if (i4 instanceof he) throw i4; + me(e3.source, t3, i4 instanceof Error ? i4.message : String(i4), e3.filename); + } + } + function Le(e3, t3, i3) { + const n3 = e3[i3]; + if (n3) return n3; + for (const e4 of t3) if (i3.startsWith(e4.tagName)) return e4; + } + function xe(e3, t3, i3, n3, r3) { + const o2 = Le(t3, i3, n3); + if (o2) return o2; + Me(e3, `unknown ${r3} tag !<${n3}>`); + } + function ke(e3, t3) { + const n3 = Ie(e3.source, t3), r3 = t3.tagStart === Re ? "" : e3.source.slice(t3.tagStart, t3.tagEnd), o2 = e3.schema.defaultScalarTag; + if ("" !== r3) { + var a2; + if ("!" === r3) return { value: n3, tag: o2 }; + const t4 = Ee(r3, e3.tagHandlers), s3 = Le(e3.schema.exact.scalar, e3.schema.prefix.scalar, t4); + if (s3) { + const r4 = s3.resolve(n3, true, t4); + return r4 === i2 && Me(e3, `cannot resolve a node with !<${t4}> explicit tag`), { value: r4, tag: s3 }; + } + const l2 = null !== (a2 = Le(e3.schema.exact.mapping, e3.schema.prefix.mapping, t4)) && void 0 !== a2 ? a2 : Le(e3.schema.exact.sequence, e3.schema.prefix.sequence, t4); + if (l2) { + "" !== n3 && Me(e3, `cannot resolve a node with !<${t4}> explicit tag`); + const i3 = l2.create(t4); + return { value: l2.carrierIsResult ? i3 : Fe(e3, e3.position, l2, i3), tag: l2 }; + } + Me(e3, `unknown scalar tag !<${t4}>`); + } + if (1 === t3.style) { + var s2; + const t4 = null !== (s2 = e3.schema.implicitScalarByFirstChar.get(n3.charAt(0))) && void 0 !== s2 ? s2 : e3.schema.implicitScalarAnyFirstChar; + for (const e4 of t4) { + const t5 = e4.resolve(n3, false, e4.tagName); + if (t5 !== i2) return { value: t5, tag: e4 }; + } + } + return { value: o2.resolve(n3, false, o2.tagName), tag: o2 }; + } + function Ve(e3, t3, i3, n3, r3, o2) { + const a2 = t3.tagStart === Re ? "" : e3.source.slice(t3.tagStart, t3.tagEnd), s2 = "" === a2 || "!" === a2 ? r3 : Ee(a2, e3.tagHandlers); + return { tagName: s2, tag: xe(e3, i3, n3, s2, o2) }; + } + function Ue(e3) { + return "mapping" === e3.nodeKind; + } + function Be(e3, t3, i3, n3) { + for (const o2 of n3.keys(i3)) { + var r3; + if (-1 !== e3.maxTotalMergeKeys && ++e3.totalMergeKeys > e3.maxTotalMergeKeys && Me(e3, `merge keys exceeded maxTotalMergeKeys (${e3.maxTotalMergeKeys})`), t3.tag.has(t3.value, o2)) continue; + const a2 = t3.tag.addPair(t3.value, o2, n3.get(i3, o2)); + a2 && Me(e3, a2), (null !== (r3 = t3.overridable) && void 0 !== r3 ? r3 : t3.overridable = /* @__PURE__ */ new Set()).add(o2); + } + } + function Ge(e3, t3, i3) { + const r3 = e3.frames[e3.frames.length - 1]; + if ("document" === r3.kind) r3.value = t3, r3.hasValue = true; + else if ("sequence" === r3.kind) { + r3.merge && (Ue(i3) || Me(e3, "cannot merge mappings; the provided source object is unacceptable")); + const n3 = r3.tag.addItem(r3.value, t3, r3.index++); + n3 && Me(e3, n3); + } else if (r3.hasKey) { + const o2 = r3.key; + r3.key = void 0, r3.hasKey = false, (function(e4, t4, i4, r4, o3) { + var a2, s2; + if (e4.position = t4.keyPosition, i4 === n2) return void (function(e5, t5, i5, n3) { + if (e5.position = t5.keyPosition, Ue(n3)) Be(e5, t5, i5, n3); + else if ("sequence" === n3.nodeKind && Array.isArray(i5)) for (const n4 of i5) Be(e5, t5, n4, t5.tag); + else Me(e5, "cannot merge mappings; the provided source object is unacceptable"); + })(e4, t4, r4, o3); + e4.json || !t4.tag.has(t4.value, i4) || (null === (a2 = t4.overridable) || void 0 === a2 ? void 0 : a2.has(i4)) || Me(e4, "duplicated mapping key"); + const l2 = t4.tag.addPair(t4.value, i4, r4); + l2 && Me(e4, l2), null === (s2 = t4.overridable) || void 0 === s2 || s2.delete(i4); + })(e3, r3, o2, t3, i3); + } else r3.key = t3, r3.keyPosition = e3.position, r3.hasKey = true; + } + function je(e3, t3, i3, n3, r3) { + if (t3.anchorStart !== Re) { + const o2 = { value: i3, tag: n3, isValueFinal: r3 }; + return e3.anchors.set(e3.source.slice(t3.anchorStart, t3.anchorEnd), o2), o2; + } + return null; + } + function We(e3, t3) { + const i3 = ue(ue(ue({}, De), t3), {}, { events: e3, documents: [], eventIndex: 0, position: 0, frames: [], anchors: /* @__PURE__ */ new Map(), tagHandlers: /* @__PURE__ */ Object.create(null), totalMergeKeys: 0, aliasCount: 0 }); + for (; i3.eventIndex < i3.events.length; ) { + const e4 = i3.events[i3.eventIndex++]; + switch (i3.position = Pe(e4), e4.type) { + case 1: + i3.anchors = /* @__PURE__ */ new Map(), i3.aliasCount = 0, i3.tagHandlers = /* @__PURE__ */ Object.create(null); + for (const t4 of e4.directives) "tag" === t4.kind && (i3.tagHandlers[t4.handle] = t4.prefix); + i3.frames.push({ kind: "document", position: i3.position, value: void 0, hasValue: false }); + break; + case 4: { + const { value: t4, tag: n3 } = ke(i3, e4); + je(i3, e4, t4, n3, true), Ge(i3, t4, n3); + break; + } + case 2: { + const t4 = Ve(i3, e4, i3.schema.exact.sequence, i3.schema.prefix.sequence, "tag:yaml.org,2002:seq", "sequence"), r3 = t4.tag.create(t4.tagName), o2 = je(i3, e4, r3, t4.tag, t4.tag.carrierIsResult), a2 = i3.frames[i3.frames.length - 1], s2 = void 0 !== a2 && "mapping" === a2.kind && a2.hasKey && a2.key === n2; + i3.frames.push({ kind: "sequence", position: i3.position, value: r3, tag: t4.tag, anchor: o2, index: 0, merge: s2 }); + break; + } + case 3: { + const t4 = Ve(i3, e4, i3.schema.exact.mapping, i3.schema.prefix.mapping, "tag:yaml.org,2002:map", "mapping"), n3 = t4.tag.create(t4.tagName), r3 = je(i3, e4, n3, t4.tag, t4.tag.carrierIsResult); + i3.frames.push({ kind: "mapping", position: i3.position, value: n3, tag: t4.tag, anchor: r3, key: void 0, keyPosition: i3.position, hasKey: false, overridable: null }); + break; + } + case 5: { + -1 !== i3.maxAliases && ++i3.aliasCount > i3.maxAliases && Me(i3, `aliases exceeded maxAliases (${i3.maxAliases})`); + const t4 = i3.source.slice(e4.anchorStart, e4.anchorEnd), n3 = i3.anchors.get(t4); + n3 || Me(i3, `unidentified alias "${t4}"`), n3.isValueFinal || Me(i3, `recursive alias "${t4}" is not supported for tag ${n3.tag.tagName} because it uses finalize()`), Ge(i3, n3.value, n3.tag); + break; + } + case 6: { + const e5 = i3.frames.pop(); + if ("document" === e5.kind) i3.documents.push(e5.value); + else { + const t4 = e5.tag.carrierIsResult ? e5.value : Fe(i3, e5.position, e5.tag, e5.value); + e5.anchor && (e5.anchor.value = t4, e5.anchor.isValueFinal = true), Ge(i3, t4, e5.tag); + } + break; + } + } + } + return i3.documents; + } + var qe = -1, Ye = Object.prototype.hasOwnProperty, He = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Je = /[,\[\]{}]/, $e = /^(?:!|!!|![0-9A-Za-z-]+!)$/, ze = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`, Ke = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`, Qe = new RegExp(`^(?:${ze})*$`), Xe = new RegExp(`^(?:${Ke})+$`), Ze = new RegExp(`^(?:!(?:${ze})*|${Ke}(?:${ze})*)$`), et = { filename: "", maxDepth: 100 }; + function tt(e3, t3, i3, n3, r3, o2, a2) { + e3.events.push({ type: 2, start: t3, anchorStart: i3, anchorEnd: n3, tagStart: r3, tagEnd: o2, style: a2 }); + } + function it(e3, t3, i3, n3, r3, o2, a2) { + e3.events.push({ type: 3, start: t3, anchorStart: i3, anchorEnd: n3, tagStart: r3, tagEnd: o2, style: a2 }); + } + function nt(e3, t3) { + e3.events.splice(t3.eventsLength, 0, { type: 3, start: t3.position, anchorStart: qe, anchorEnd: qe, tagStart: qe, tagEnd: qe, style: 2 }); + } + function rt(e3, t3, i3, n3, r3, o2, a2, s2, l2 = 1, u2 = -1, c2 = false) { + e3.events.push({ type: 4, valueStart: t3, valueEnd: i3, anchorStart: n3, anchorEnd: r3, tagStart: o2, tagEnd: a2, style: s2, chomping: l2, indent: u2, fast: c2 }); + } + function ot(e3) { + e3.events.push({ type: 6 }); + } + function at(e3) { + rt(e3, qe, qe, qe, qe, qe, qe, 1); + } + function st() { + return { anchorStart: qe, anchorEnd: qe, tagStart: qe, tagEnd: qe }; + } + function lt(e3) { + return { position: e3.position, line: e3.line, lineStart: e3.lineStart, lineIndent: e3.lineIndent, firstTabInLine: e3.firstTabInLine, eventsLength: e3.events.length }; + } + function ut(e3, t3) { + e3.position = t3.position, e3.line = t3.line, e3.lineStart = t3.lineStart, e3.lineIndent = t3.lineIndent, e3.firstTabInLine = t3.firstTabInLine, e3.events.length = t3.eventsLength; + } + function ct(e3, t3) { + me(e3.input.slice(0, e3.length), e3.position, t3, e3.filename); + } + function dt(e3) { + return 10 === e3 || 13 === e3; + } + function pt(e3) { + return 9 === e3 || 32 === e3; + } + function _t(e3) { + return pt(e3) || dt(e3); + } + function ht(e3) { + return 0 === e3 || _t(e3); + } + function mt(e3) { + return 44 === e3 || 91 === e3 || 93 === e3 || 123 === e3 || 125 === e3; + } + function gt(e3) { + return e3 >= 48 && e3 <= 57 ? e3 - 48 : -1; + } + function ft(e3) { + if (e3 >= 48 && e3 <= 57) return e3 - 48; + const t3 = 32 | e3; + return t3 >= 97 && t3 <= 102 ? t3 - 97 + 10 : -1; + } + function Tt(e3) { + return 120 === e3 ? 2 : 117 === e3 ? 4 : 85 === e3 ? 8 : 0; + } + function yt(e3) { + return 48 === e3 || 97 === e3 || 98 === e3 || 116 === e3 || 9 === e3 || 110 === e3 || 118 === e3 || 102 === e3 || 114 === e3 || 101 === e3 || 32 === e3 || 34 === e3 || 47 === e3 || 92 === e3 || 78 === e3 || 95 === e3 || 76 === e3 || 80 === e3; + } + function St(e3) { + 10 === e3.input.charCodeAt(e3.position) ? e3.position++ : (e3.position++, 10 === e3.input.charCodeAt(e3.position) && e3.position++), e3.line++, e3.lineStart = e3.position, e3.lineIndent = 0, e3.firstTabInLine = -1; + } + function At(e3, t3) { + let i3 = 0, n3 = e3.input.charCodeAt(e3.position), r3 = e3.position === e3.lineStart || _t(e3.input.charCodeAt(e3.position - 1)); + for (; 0 !== n3; ) { + for (; pt(n3); ) r3 = true, 9 === n3 && -1 === e3.firstTabInLine && (e3.firstTabInLine = e3.position), n3 = e3.input.charCodeAt(++e3.position); + if (t3 && r3 && 35 === n3) do { + n3 = e3.input.charCodeAt(++e3.position); + } while (!dt(n3) && 0 !== n3); + if (!dt(n3)) break; + for (St(e3), i3++, r3 = true, n3 = e3.input.charCodeAt(e3.position); 32 === n3; ) e3.lineIndent++, n3 = e3.input.charCodeAt(++e3.position); + } + return i3; + } + function Nt(e3, t3 = e3.position) { + const i3 = e3.input.charCodeAt(t3); + if ((45 === i3 || 46 === i3) && i3 === e3.input.charCodeAt(t3 + 1) && i3 === e3.input.charCodeAt(t3 + 2)) { + const i4 = e3.input.charCodeAt(t3 + 3); + return 0 === i4 || _t(i4); + } + return false; + } + function vt(e3) { + let t3 = e3.input.charCodeAt(e3.position); + for (; 0 !== t3 && !dt(t3); ) t3 = e3.input.charCodeAt(++e3.position); + } + function Ot(e3, t3, i3) { + He.test(e3.input.slice(t3, i3)) && ct(e3, "the stream contains non-printable characters"); + } + function It(e3, t3, i3) { + if (33 !== e3.input.charCodeAt(e3.position)) return false; + t3.tagStart !== qe && ct(e3, "duplication of a tag property"); + const n3 = e3.position; + let r3 = false, o2 = false, a2 = "!", s2 = e3.input.charCodeAt(++e3.position); + 60 === s2 ? (r3 = true, s2 = e3.input.charCodeAt(++e3.position)) : 33 === s2 && (o2 = true, a2 = "!!", s2 = e3.input.charCodeAt(++e3.position)); + let l2, u2 = e3.position; + if (r3) { + for (; 0 !== s2 && 62 !== s2; ) s2 = e3.input.charCodeAt(++e3.position); + 62 !== s2 && ct(e3, "unexpected end of the stream within a verbatim tag"), l2 = e3.input.slice(u2, e3.position), e3.position++; + } else { + for (; !(0 === s2 || _t(s2) || i3 && mt(s2)); ) 33 === s2 && (o2 ? ct(e3, "tag suffix cannot contain exclamation marks") : (a2 = e3.input.slice(u2 - 1, e3.position + 1), $e.test(a2) || ct(e3, "named tag handle cannot contain such characters"), o2 = true, u2 = e3.position + 1)), s2 = e3.input.charCodeAt(++e3.position); + l2 = e3.input.slice(u2, e3.position), Je.test(l2) && ct(e3, "tag suffix cannot contain flow indicator characters"); + } + return l2 && !(r3 ? Qe.test(l2) : Xe.test(l2)) && ct(e3, `tag name cannot contain such characters: ${l2}`), r3 || "!" === a2 || "!!" === a2 || Ye.call(e3.tagHandlers, a2) || ct(e3, `undeclared tag handle "${a2}"`), t3.tagStart = n3, t3.tagEnd = e3.position, true; + } + function Ct(e3, t3) { + if (38 !== e3.input.charCodeAt(e3.position)) return false; + t3.anchorStart !== qe && ct(e3, "duplication of an anchor property"), e3.position++; + const i3 = e3.position; + for (; 0 !== e3.input.charCodeAt(e3.position) && !_t(e3.input.charCodeAt(e3.position)) && !mt(e3.input.charCodeAt(e3.position)); ) e3.position++; + return e3.position === i3 && ct(e3, "name of an anchor node must contain at least one character"), t3.anchorStart = i3, t3.anchorEnd = e3.position, true; + } + function bt(e3, t3) { + At(e3, false), e3.lineIndent < t3 && ct(e3, "deficient indentation"); + } + function Et(e3, t3) { + const i3 = e3.line; + At(e3, true), (e3.line > i3 && e3.lineIndent < t3 || -1 !== e3.firstTabInLine && e3.lineIndent < t3) && ct(e3, "deficient indentation"); + } + function wt(e3, t3, i3) { + if (-1 !== e3.firstTabInLine || 45 !== e3.input.charCodeAt(e3.position) || !ht(e3.input.charCodeAt(e3.position + 1))) return false; + for (tt(e3, e3.position, i3.anchorStart, i3.anchorEnd, i3.tagStart, i3.tagEnd, 1); 45 === e3.input.charCodeAt(e3.position) && ht(e3.input.charCodeAt(e3.position + 1)); ) { + -1 !== e3.firstTabInLine && (e3.position = e3.firstTabInLine, ct(e3, "tab characters must not be used in indentation")); + const i4 = e3.line; + e3.position++; + const n3 = At(e3, true) > 0; + if (-1 !== e3.firstTabInLine && 45 === e3.input.charCodeAt(e3.position) && ht(e3.input.charCodeAt(e3.position + 1)) && ct(e3, "bad indentation of a sequence entry"), n3 && e3.lineIndent <= t3 ? at(e3) : Dt(e3, t3, 3, false, true), At(e3, true), e3.lineIndent < t3 || e3.position >= e3.length) break; + e3.lineIndent > t3 && ct(e3, "bad indentation of a sequence entry"), e3.line === i4 && 45 === e3.input.charCodeAt(e3.position) && ht(e3.input.charCodeAt(e3.position + 1)) && ct(e3, "bad indentation of a sequence entry"); + } + return ot(e3), true; + } + function Rt(e3, t3, i3, n3) { + let r3 = false, o2 = false, a2 = false, s2 = false; + if (-1 !== e3.firstTabInLine) return false; + let l2 = e3.input.charCodeAt(e3.position); + for (; 0 !== l2; ) { + r3 || -1 === e3.firstTabInLine || (e3.position = e3.firstTabInLine, ct(e3, "tab characters must not be used in indentation")); + const u2 = e3.input.charCodeAt(e3.position + 1), c2 = e3.line; + if (63 !== l2 && 58 !== l2 || !ht(u2)) { + r3 && (at(e3), r3 = false); + const t4 = lt(e3); + if (!Dt(e3, i3, 2, false, true)) break; + if (e3.line === c2) { + for (l2 = e3.input.charCodeAt(e3.position); pt(l2); ) l2 = e3.input.charCodeAt(++e3.position); + if (58 === l2) { + if (l2 = e3.input.charCodeAt(++e3.position), ht(l2) || ct(e3, "a whitespace character is expected after the key-value separator within a block mapping"), !a2) { + for (ut(e3, t4), it(e3, t4.position, n3.anchorStart, n3.anchorEnd, n3.tagStart, n3.tagEnd, 1), a2 = true, Dt(e3, i3, 2, false, true), l2 = e3.input.charCodeAt(e3.position); pt(l2); ) l2 = e3.input.charCodeAt(++e3.position); + e3.position++; + } + o2 = true, r3 = false, s2 = false; + } else { + if (!o2) return n3.anchorStart === qe && n3.tagStart === qe || (ut(e3, t4), false); + ct(e3, "expected ':' after a mapping key"); + } + } else { + if (!o2) return n3.anchorStart === qe && n3.tagStart === qe || (ut(e3, t4), false); + ct(e3, "can not read a block mapping entry; a multiline key may not be an implicit key"); + } + } else a2 || (it(e3, e3.position, n3.anchorStart, n3.anchorEnd, n3.tagStart, n3.tagEnd, 1), a2 = true), 63 === l2 ? (r3 && at(e3), o2 = true, r3 = true) : (r3 || (at(e3), o2 = true), r3 = false), e3.position += 1, s2 = true; + if (Dt(e3, t3, 4, true, s2) && (s2 = false), r3 || s2 && (at(e3), s2 = false), At(e3, true), l2 = e3.input.charCodeAt(e3.position), (e3.line === c2 || e3.lineIndent > t3) && 0 !== l2) ct(e3, "bad indentation of a mapping entry"); + else if (e3.lineIndent < t3) break; + } + return !!o2 && (r3 && at(e3), a2 && ot(e3), true); + } + function Dt(e3, t3, i3, n3, r3, o2 = true) { + e3.depth >= e3.maxDepth && ct(e3, `nesting exceeded maxDepth (${e3.maxDepth})`), e3.depth++; + let a2 = 1, s2 = false, l2 = false, u2 = null; + const c2 = st(); + let d2 = 4 === i3 || 3 === i3, p2 = d2; + const _2 = d2; + if (n3 && At(e3, true) && (s2 = true, a2 = e3.lineIndent > t3 ? 1 : e3.lineIndent === t3 ? 0 : -1), e3.position === e3.lineStart && Nt(e3)) return e3.depth--, false; + if (1 === a2) for (; ; ) { + const n4 = e3.input.charCodeAt(e3.position), r4 = lt(e3); + if (s2 && 1 !== a2 && (33 === n4 || 38 === n4)) break; + if (s2 && _2 && (c2.tagStart !== qe || c2.anchorStart !== qe) && (33 === n4 || 38 === n4)) { + var h2; + const i4 = lt(e3), n5 = t3 + 1; + if (Rt(e3, e3.position - e3.lineStart, n5, c2) && 3 === (null === (h2 = e3.events[i4.eventsLength]) || void 0 === h2 ? void 0 : h2.type)) return e3.depth--, true; + ut(e3, i4); + } + if (s2 && (33 === n4 && c2.tagStart !== qe || 38 === n4 && c2.anchorStart !== qe)) break; + if (!It(e3, c2, 1 === i3) && !Ct(e3, c2)) break; + null === u2 && (u2 = r4), At(e3, true) ? (s2 = true, p2 = _2, a2 = e3.lineIndent > t3 ? 1 : e3.lineIndent === t3 ? 0 : -1) : p2 = false; + } + if (p2 && (p2 = s2 || r3), 1 === a2 || 4 === i3) { + const n4 = 1 === i3 || 2 === i3 ? t3 : t3 + 1, r4 = e3.position - e3.lineStart; + if (1 === a2) if (p2 && (wt(e3, r4, c2) || Rt(e3, r4, n4, c2)) || (function(e4, t4, i4) { + const n5 = e4.input.charCodeAt(e4.position), r5 = 123 === n5, o3 = e4.position; + let a3 = true; + if (91 !== n5 && 123 !== n5) return false; + const s3 = r5 ? 125 : 93; + for (r5 ? it(e4, o3, i4.anchorStart, i4.anchorEnd, i4.tagStart, i4.tagEnd, 2) : tt(e4, o3, i4.anchorStart, i4.anchorEnd, i4.tagStart, i4.tagEnd, 2), e4.position++; 0 !== e4.input.charCodeAt(e4.position); ) { + Et(e4, t4); + let i5 = e4.input.charCodeAt(e4.position); + if (i5 === s3) return e4.position++, ot(e4), true; + a3 ? 44 === i5 && ct(e4, "expected the node content, but found ','") : ct(e4, "missed comma between flow collection entries"); + let n6 = false, o4 = false; + 63 === i5 && _t(e4.input.charCodeAt(e4.position + 1)) && (n6 = o4 = true, e4.position += 1, Et(e4, t4)); + const l3 = e4.line, u3 = lt(e4), c3 = Dt(e4, t4, 1, false, true); + Et(e4, t4), i5 = e4.input.charCodeAt(e4.position), (r5 || o4 || e4.line === l3) && 58 === i5 ? (n6 = true, e4.position++, Et(e4, t4), r5 || nt(e4, u3), c3 || at(e4), Dt(e4, t4, 1, false, true) || at(e4), Et(e4, t4), r5 || ot(e4)) : r5 && n6 ? (c3 || at(e4), at(e4)) : r5 ? at(e4) : n6 && (nt(e4, u3), c3 || at(e4), at(e4), ot(e4)), i5 = e4.input.charCodeAt(e4.position), 44 === i5 ? (a3 = true, e4.position++) : a3 = false; + } + ct(e4, "unexpected end of the stream within a flow collection"); + })(e3, n4, c2)) l2 = true; + else { + const t4 = e3.input.charCodeAt(e3.position); + if (null !== u2 && o2 && _2 && !p2 && 124 !== t4 && 62 !== t4) { + var m2; + const t5 = lt(e3), i4 = u2.position - u2.lineStart; + ut(e3, u2), Rt(e3, i4, n4, st()) && 3 === (null === (m2 = e3.events[t5.eventsLength]) || void 0 === m2 ? void 0 : m2.type) ? l2 = true : ut(e3, t5); + } + !l2 && (d2 && (function(e4, t5, i4) { + const n5 = e4.input.charCodeAt(e4.position); + let r5 = 1, o3 = -1, a3 = false; + if (124 !== n5 && 62 !== n5) return false; + const s3 = 124 === n5 ? 4 : 5; + for (e4.position++; 0 !== e4.input.charCodeAt(e4.position); ) { + const i5 = e4.input.charCodeAt(e4.position), n6 = gt(i5); + if (43 === i5 || 45 === i5) 1 !== r5 && ct(e4, "repeat of a chomping mode identifier"), r5 = 43 === i5 ? 3 : 2, e4.position++; + else { + if (!(n6 >= 0)) break; + 0 === n6 && ct(e4, "bad explicit indentation width of a block scalar; it cannot be less than one"), a3 && ct(e4, "repeat of an indentation width identifier"), o3 = t5 + n6 - 1, a3 = true, e4.position++; + } + } + let l3 = false; + for (; pt(e4.input.charCodeAt(e4.position)); ) l3 = true, e4.position++; + l3 && 35 === e4.input.charCodeAt(e4.position) && vt(e4), dt(e4.input.charCodeAt(e4.position)) ? St(e4) : 0 !== e4.input.charCodeAt(e4.position) && ct(e4, "a line break is expected"); + let u3 = a3 ? o3 : -1, c3 = 0; + const d3 = e4.position; + let p3 = e4.position; + for (; 0 !== e4.input.charCodeAt(e4.position); ) { + const i5 = e4.position; + let n6 = 0; + for (; 32 === e4.input.charCodeAt(i5 + n6); ) n6++; + const r6 = e4.input.charCodeAt(i5 + n6); + if (0 === r6) { + u3 >= 0 ? n6 > u3 && (p3 = i5 + n6) : n6 > 0 && (p3 = i5 + n6); + break; + } + if (i5 === e4.lineStart && Nt(e4, i5)) break; + if (!a3 && -1 === u3 && dt(r6) && (c3 = Math.max(c3, n6)), a3 || -1 !== u3 || dt(r6) || (9 === r6 && n6 < t5 && (e4.position = i5 + n6, ct(e4, "tab characters must not be used in indentation")), n6 < c3 && (e4.position = i5 + n6, ct(e4, "bad indentation of a mapping entry"))), -1 === u3 && 0 !== r6 && !dt(r6) && n6 < t5) { + e4.lineIndent = n6, e4.position = i5 + n6; + break; + } + a3 || 0 === r6 || dt(r6) || -1 !== u3 || (u3 = n6); + const o4 = -1 === u3 ? t5 + 1 : u3; + if (0 !== r6 && !dt(r6) && n6 < o4) { + e4.lineIndent = n6, e4.position = i5 + n6; + break; + } + vt(e4), p3 = e4.position, dt(e4.input.charCodeAt(e4.position)) && (St(e4), p3 = e4.position); + } + return Ot(e4, d3, p3), rt(e4, d3, p3, i4.anchorStart, i4.anchorEnd, i4.tagStart, i4.tagEnd, s3, r5, u3), true; + })(e3, n4, c2) || (function(e4, t5, i4) { + if (39 !== e4.input.charCodeAt(e4.position)) return false; + e4.position++; + const n5 = e4.position; + let r5 = true; + for (; 0 !== e4.input.charCodeAt(e4.position); ) { + const o3 = e4.input.charCodeAt(e4.position); + if (39 === o3) { + if (39 === e4.input.charCodeAt(e4.position + 1)) { + r5 = false, e4.position += 2; + continue; + } + const t6 = e4.position; + return e4.position++, rt(e4, n5, t6, i4.anchorStart, i4.anchorEnd, i4.tagStart, i4.tagEnd, 2, 1, -1, r5), true; + } + dt(o3) ? (r5 = false, bt(e4, t5)) : e4.position === e4.lineStart && Nt(e4) ? ct(e4, "unexpected end of the document within a single quoted scalar") : 9 !== o3 && o3 < 32 ? ct(e4, "expected valid JSON character") : e4.position++; + } + ct(e4, "unexpected end of the stream within a single quoted scalar"); + })(e3, n4, c2) || (function(e4, t5, i4) { + if (34 !== e4.input.charCodeAt(e4.position)) return false; + e4.position++; + const n5 = e4.position; + let r5 = true; + for (; 0 !== e4.input.charCodeAt(e4.position); ) { + const o3 = e4.input.charCodeAt(e4.position); + if (34 === o3) { + const t6 = e4.position; + return e4.position++, rt(e4, n5, t6, i4.anchorStart, i4.anchorEnd, i4.tagStart, i4.tagEnd, 3, 1, -1, r5), true; + } + if (92 === o3) { + r5 = false; + const i5 = e4.input.charCodeAt(++e4.position); + if (dt(i5)) bt(e4, t5); + else if (yt(i5)) e4.position++; + else { + let t6 = Tt(i5); + for (0 === t6 && ct(e4, "unknown escape sequence"); t6-- > 0; ) e4.position++, ft(e4.input.charCodeAt(e4.position)) < 0 && ct(e4, "expected hexadecimal character"); + e4.position++; + } + } else dt(o3) ? (r5 = false, bt(e4, t5)) : e4.position === e4.lineStart && Nt(e4) ? ct(e4, "unexpected end of the document within a double quoted scalar") : 9 !== o3 && o3 < 32 ? ct(e4, "expected valid JSON character") : e4.position++; + } + ct(e4, "unexpected end of the stream within a double quoted scalar"); + })(e3, n4, c2) || (function(e4, t5) { + if (42 !== e4.input.charCodeAt(e4.position)) return false; + t5.anchorStart === qe && t5.tagStart === qe || ct(e4, "alias node should not have any properties"), e4.position++; + const i4 = e4.position; + for (; 0 !== e4.input.charCodeAt(e4.position) && !_t(e4.input.charCodeAt(e4.position)) && !mt(e4.input.charCodeAt(e4.position)); ) e4.position++; + return e4.position === i4 && ct(e4, "name of an alias node must contain at least one character"), (function(e5, t6, i5) { + e5.events.push({ type: 5, anchorStart: t6, anchorEnd: i5 }); + })(e4, i4, e4.position), true; + })(e3, c2) || (function(e4, t5, i4, n5) { + if (!(function(e5, t6) { + const i5 = e5.input.charCodeAt(e5.position), n6 = 1 === t6; + if (0 === i5 || _t(i5) || 35 === i5 || 38 === i5 || 42 === i5 || 33 === i5 || 124 === i5 || 62 === i5 || 39 === i5 || 34 === i5 || 37 === i5 || 64 === i5 || 96 === i5 || n6 && mt(i5)) return false; + if (63 === i5 || 45 === i5) { + const t7 = e5.input.charCodeAt(e5.position + 1); + if (ht(t7) || n6 && mt(t7)) return false; + } + return true; + })(e4, i4)) return false; + const r5 = e4.position; + let o3 = e4.position, a3 = e4.input.charCodeAt(e4.position); + const s3 = 1 === i4; + let l3 = false; + for (; 0 !== a3 && (e4.position !== e4.lineStart || !Nt(e4)); ) { + if (58 === a3) { + const t6 = e4.input.charCodeAt(e4.position + 1); + if (ht(t6) || s3 && mt(t6)) break; + } else if (35 === a3) { + if (_t(e4.input.charCodeAt(e4.position - 1))) break; + } else { + if (s3 && mt(a3)) break; + if (dt(a3)) { + const i5 = e4.position, n6 = e4.line, r6 = e4.lineStart, o4 = e4.lineIndent; + if (At(e4, false), e4.lineIndent >= t5) { + l3 = true, a3 = e4.input.charCodeAt(e4.position); + continue; + } + e4.position = i5, e4.line = n6, e4.lineStart = r6, e4.lineIndent = o4; + break; + } + } + pt(a3) || (o3 = e4.position + 1), a3 = e4.input.charCodeAt(++e4.position); + } + return o3 !== r5 && (Ot(e4, r5, o3), rt(e4, r5, o3, n5.anchorStart, n5.anchorEnd, n5.tagStart, n5.tagEnd, 1, 1, -1, !l3), true); + })(e3, n4, i3, c2)) && (l2 = true); + } + else 0 === a2 && (l2 = p2 && wt(e3, r4, c2)); + } + return d2 = d2 && !l2, l2 || c2.anchorStart === qe && c2.tagStart === qe && !d2 || (rt(e3, qe, qe, c2.anchorStart, c2.anchorEnd, c2.tagStart, c2.tagEnd, 1), l2 = true), e3.depth--, l2 || c2.anchorStart !== qe || c2.tagStart !== qe; + } + function Pt(e3) { + if (e3.lineIndent > 0 || 37 !== e3.input.charCodeAt(e3.position)) return false; + e3.position++; + const t3 = e3.position; + for (; 0 !== e3.input.charCodeAt(e3.position) && !_t(e3.input.charCodeAt(e3.position)); ) e3.position++; + const i3 = e3.input.slice(t3, e3.position), n3 = []; + for (0 === i3.length && ct(e3, "directive name must not be less than one character in length"); 0 !== e3.input.charCodeAt(e3.position) && !dt(e3.input.charCodeAt(e3.position)); ) { + for (; pt(e3.input.charCodeAt(e3.position)); ) e3.position++; + if (35 === e3.input.charCodeAt(e3.position) || dt(e3.input.charCodeAt(e3.position)) || 0 === e3.input.charCodeAt(e3.position)) break; + const t4 = e3.position; + for (; 0 !== e3.input.charCodeAt(e3.position) && !_t(e3.input.charCodeAt(e3.position)); ) e3.position++; + n3.push(e3.input.slice(t4, e3.position)); + } + if (dt(e3.input.charCodeAt(e3.position)) && St(e3), "YAML" === i3) { + e3.directives.some((e4) => "yaml" === e4.kind) && ct(e3, "duplication of %YAML directive"), 1 !== n3.length && ct(e3, "YAML directive accepts exactly one argument"); + const t4 = /^([0-9]+)\.([0-9]+)$/.exec(n3[0]); + null === t4 && ct(e3, "ill-formed argument of the YAML directive"), 1 !== parseInt(t4[1], 10) && ct(e3, "unacceptable YAML version of the document"), e3.directives.push({ kind: "yaml", version: n3[0] }); + } else if ("TAG" === i3) { + 2 !== n3.length && ct(e3, "TAG directive accepts exactly two arguments"); + const [t4, i4] = n3; + $e.test(t4) || ct(e3, "ill-formed tag handle (first argument) of the TAG directive"), Ye.call(e3.tagHandlers, t4) && ct(e3, `there is a previously declared suffix for "${t4}" tag handle`), Ze.test(i4) || ct(e3, "ill-formed tag prefix (second argument) of the TAG directive"), e3.tagHandlers[t4] = i4, e3.directives.push({ kind: "tag", handle: t4, prefix: i4 }); + } + return true; + } + function Mt(e3) { + e3.directives = [], e3.tagHandlers = /* @__PURE__ */ Object.create(null); + let t3 = false; + for (At(e3, true); Pt(e3); ) t3 = true, At(e3, true); + let i3 = false, n3 = false, r3 = true; + if (0 === e3.lineIndent && 45 === e3.input.charCodeAt(e3.position) && 45 === e3.input.charCodeAt(e3.position + 1) && 45 === e3.input.charCodeAt(e3.position + 2) && ht(e3.input.charCodeAt(e3.position + 3))) { + i3 = true; + const t4 = e3.line; + e3.position += 3, At(e3, true), r3 = e3.line > t4; + } else t3 && ct(e3, "directives end mark is expected"); + const o2 = e3.events.length; + if (!i3 && e3.position === e3.lineStart && 46 === e3.input.charCodeAt(e3.position) && Nt(e3)) return e3.position += 3, void At(e3, true); + if ((function(e4, t4) { + e4.events.push({ type: 1, explicitStart: t4, explicitEnd: false, directives: e4.directives }); + })(e3, i3), Dt(e3, e3.lineIndent - 1, 4, false, r3, r3) || at(e3), At(e3, true), e3.position === e3.lineStart && Nt(e3) && (n3 = 46 === e3.input.charCodeAt(e3.position), n3)) { + const t4 = e3.line; + e3.position += 3, At(e3, true), e3.line === t4 && e3.position < e3.length && ct(e3, "end of the stream or a document separator is expected"); + } + const a2 = e3.events[o2]; + 1 === (null == a2 ? void 0 : a2.type) && (a2.explicitEnd = n3), ot(e3), n3 || !(e3.position < e3.length) || e3.position === e3.lineStart && Nt(e3) || ct(e3, "end of the stream or a document separator is expected"); + } + function Ft(e3, t3) { + const i3 = e3.length, n3 = ue(ue(ue({}, et), t3), {}, { input: `${e3}\0`, length: i3, position: 0, line: 0, lineStart: 0, lineIndent: 0, firstTabInLine: -1, depth: 0, directives: [], tagHandlers: /* @__PURE__ */ Object.create(null), events: [] }), r3 = e3.indexOf("\0"); + for (-1 !== r3 && me(e3, r3, "null byte is not allowed in input", n3.filename), 65279 === n3.input.charCodeAt(n3.position) && n3.position++; n3.position < n3.length && (At(n3, true), !(n3.position >= n3.length)); ) { + const e4 = n3.position; + Mt(n3), n3.position === e4 && ct(n3, "can not read a document"); + } + return n3.events; + } + var Lt = ue(ue({}, et), De); + function xt(e3, t3 = {}) { + const i3 = ue(ue({}, Lt), t3), n3 = String(e3), r3 = Object.keys(et), o2 = Object.keys(De); + return We(Ft(n3, J(i3, r3)), ue(ue({}, J(i3, o2)), {}, { source: n3 })); + } + var kt = class { + constructor() { + Z(this, "tagged", false), Z(this, "flow", false), Z(this, "singleQuoted", false), Z(this, "doubleQuoted", false), Z(this, "literal", false), Z(this, "folded", false); + } + }, Vt = /* @__PURE__ */ Symbol("INVALID"); + function Ut(e3) { + const t3 = new Set([e3.defaultScalarTag, e3.defaultSequenceTag, e3.defaultMappingTag].filter((e4) => void 0 !== e4)), i3 = e3.implicitScalarTags, n3 = e3.tags.filter((e4) => !("scalar" === e4.nodeKind && e4.implicit || t3.has(e4))), r3 = e3.tags.filter((e4) => t3.has(e4)); + return [...i3.map((e4) => ({ tag: e4, implicitTag: true })), ...n3.map((e4) => ({ tag: e4, implicitTag: false })), ...r3.map((e4) => ({ tag: e4, implicitTag: true }))]; + } + function Bt(e3, t3) { + if (!e3.noRefs && null !== t3 && "object" == typeof t3) { + const i4 = e3.refs.get(t3); + if (i4) return void 0 === i4.anchor && (i4.anchor = "ref_" + e3.refCounter++), { kind: "alias", tag: "", style: new kt(), anchor: i4.anchor }; + } + const i3 = (function(e4, t4) { + for (let i4 = 0, n4 = e4.representTypes.length; i4 < n4; i4 += 1) { + const { tag: n5, implicitTag: r4 } = e4.representTypes[i4]; + if (n5.identify && n5.identify(t4)) { + let e5; + return e5 = n5.matchByTagPrefix && n5.representTagName ? n5.representTagName(t4) : n5.tagName, { tag: n5, tagName: e5, implicitTag: r4 }; + } + } + return null; + })(e3, t3); + if (!i3) { + if (void 0 === t3) return Vt; + if (e3.skipInvalid) return Vt; + throw new he(`unacceptable kind of an object to dump ${Object.prototype.toString.call(t3)}`); + } + const { tag: n3, tagName: r3, implicitTag: o2 } = i3, a2 = o2 ? r3 : we(r3); + if ("scalar" === n3.nodeKind) { + const e4 = new kt(); + return e4.tagged = !o2, { kind: "scalar", tag: a2, style: e4, value: n3.represent(t3) }; + } + if ("sequence" === n3.nodeKind) { + const i4 = n3.represent(t3), r4 = new kt(); + r4.tagged = !o2; + const s3 = { kind: "sequence", tag: a2, style: r4, items: [] }; + e3.noRefs || e3.refs.set(t3, s3); + for (let t4 = 0, n4 = i4.length; t4 < n4; t4 += 1) { + let n5 = Bt(e3, i4[t4]); + n5 === Vt && void 0 === i4[t4] && (n5 = Bt(e3, null)), n5 !== Vt && s3.items.push(n5); + } + return s3; + } + const s2 = n3.represent(t3), l2 = new kt(); + l2.tagged = !o2; + const u2 = { kind: "mapping", tag: a2, style: l2, items: [] }; + e3.noRefs || e3.refs.set(t3, u2); + for (const [t4, i4] of s2) { + const n4 = Bt(e3, t4); + if (n4 === Vt) continue; + const r4 = Bt(e3, i4); + r4 !== Vt && u2.items.push({ key: n4, value: r4 }); + } + return u2; + } + function Gt(e3, t3, i3 = {}) { + var n3, r3; + const o2 = Bt({ representTypes: Ut(t3), noRefs: null !== (n3 = i3.noRefs) && void 0 !== n3 && n3, skipInvalid: null !== (r3 = i3.skipInvalid) && void 0 !== r3 && r3, refs: /* @__PURE__ */ new Map(), refCounter: 0 }, e3); + return [{ contents: o2 === Vt ? null : o2, directives: [] }]; + } + var jt = /* @__PURE__ */ Symbol("visit:break"), Wt = /* @__PURE__ */ Symbol("visit:skip"); + function qt(e3, t3, i3) { + const n3 = t3(e3, i3); + if (n3 === jt) return true; + if (n3 === Wt) return false; + const r3 = i3.depth + 1; + switch (e3.kind) { + case "sequence": + for (const i4 of e3.items) if (qt(i4, t3, { depth: r3, parent: e3, isKey: false })) return true; + break; + case "mapping": + for (const { key: i4, value: n4 } of e3.items) { + if (qt(i4, t3, { depth: r3, parent: e3, isKey: true })) return true; + if (qt(n4, t3, { depth: r3, parent: e3, isKey: false })) return true; + } + } + return false; + } + function Yt(e3, t3) { + for (const i3 of e3) if (i3.contents && qt(i3.contents, t3, { depth: 0, parent: null, isKey: false })) return; + } + var Ht = 65279, Jt = 10, $t = { 0: "\\0", 7: "\\a", 8: "\\b", 9: "\\t", 10: "\\n", 11: "\\v", 12: "\\f", 13: "\\r", 27: "\\e", 34: '\\"', 92: "\\\\", 133: "\\N", 160: "\\_", 8232: "\\L", 8233: "\\P" }, zt = { indent: 2, seqNoIndent: false, seqInlineFirst: true, sortKeys: false, lineWidth: 80, flowBracketPadding: false, flowSkipCommaSpace: false, flowSkipColonSpace: false, quoteFlowKeys: false, quoteStyle: "single", forceQuotes: false, tagBeforeAnchor: false }; + function Kt(e3) { + const t3 = e3.toString(16).toUpperCase(); + return `\\${e3 <= 255 ? "x" : "u"}${"0".repeat((e3 <= 255 ? 2 : 4) - t3.length)}${t3}`; + } + function Qt(e3, t3) { + const i3 = " ".repeat(t3); + let n3 = 0, r3 = ""; + const o2 = e3.length; + for (; n3 < o2; ) { + let t4; + const a2 = e3.indexOf("\n", n3); + -1 === a2 ? (t4 = e3.slice(n3), n3 = o2) : (t4 = e3.slice(n3, a2 + 1), n3 = a2 + 1), t4.length && "\n" !== t4 && (r3 += i3), r3 += t4; + } + return r3; + } + function Xt(e3, t3) { + return ` +${" ".repeat(e3.indent * t3)}`; + } + function Zt(e3, t3) { + for (let n3 = 0, r3 = e3.implicitResolvers.length; n3 < r3; n3 += 1) { + const r4 = e3.implicitResolvers[n3]; + if (r4.resolve(t3, false, r4.tagName) !== i2) return r4.tagName; + } + return e3.defaultScalarTagName; + } + function ei(e3) { + return 32 === e3 || 9 === e3; + } + function ti(e3) { + return e3 >= 32 && e3 <= 126 || e3 >= 161 && e3 <= 55295 && 8232 !== e3 && 8233 !== e3 || e3 >= 57344 && e3 <= 65533 && e3 !== Ht || e3 >= 65536 && e3 <= 1114111; + } + function ii(e3) { + return ti(e3) && e3 !== Ht && 13 !== e3 && e3 !== Jt; + } + function ni(e3, t3, i3) { + const n3 = ii(e3), r3 = n3 && !ei(e3); + return (i3 ? n3 : n3 && 44 !== e3 && 91 !== e3 && 93 !== e3 && 123 !== e3 && 125 !== e3) && 35 !== e3 && !(58 === t3 && !r3) || ii(t3) && !ei(t3) && 35 === e3 || 58 === t3 && r3 && (i3 || 44 !== e3 && 91 !== e3 && 93 !== e3 && 123 !== e3 && 125 !== e3); + } + function ri(e3, t3) { + const i3 = e3.charCodeAt(t3); + let n3; + return i3 >= 55296 && i3 <= 56319 && t3 + 1 < e3.length && (n3 = e3.charCodeAt(t3 + 1), n3 >= 56320 && n3 <= 57343) ? 1024 * (i3 - 55296) + n3 - 56320 + 65536 : i3; + } + function oi(e3) { + return /^\n* /.test(e3); + } + function ai(e3, t3, i3, n3, r3, o2) { + const { blockIndent: a2, lineWidth: s2 } = i3; + let l2, u2 = 0, c2 = -1, d2 = false, p2 = false; + const _2 = -1 !== s2; + let h2 = -1, m2 = !(function(e4) { + const t4 = e4.charCodeAt(0); + if (45 !== t4 && 46 !== t4 || e4.charCodeAt(1) !== t4 || e4.charCodeAt(2) !== t4) return false; + if (3 === e4.length) return true; + const i4 = e4.charCodeAt(3); + return ei(i4) || 13 === i4 || i4 === Jt; + })(t3) && (function(e4, t4) { + const i4 = ri(e4, 0); + if (ti(n4 = i4) && n4 !== Ht && !ei(n4) && 45 !== n4 && 63 !== n4 && 58 !== n4 && 44 !== n4 && 91 !== n4 && 93 !== n4 && 123 !== n4 && 125 !== n4 && 35 !== n4 && 38 !== n4 && 42 !== n4 && 33 !== n4 && 124 !== n4 && 61 !== n4 && 62 !== n4 && 39 !== n4 && 34 !== n4 && 37 !== n4 && 64 !== n4 && 96 !== n4) return true; + var n4; + if (e4.length > 1 && (45 === i4 || 63 === i4 || 58 === i4)) { + const n5 = ri(e4, 1); + return !ei(n5) && ni(n5, i4, t4); + } + return false; + })(t3, o2) && !ei(g2 = ri(t3, t3.length - 1)) && 58 !== g2; + var g2; + if (n3 || r3) for (l2 = 0; l2 < t3.length; u2 >= 65536 ? l2 += 2 : l2++) { + if (u2 = ri(t3, l2), !ti(u2)) return 5; + m2 = m2 && ni(u2, c2, o2), c2 = u2; + } + else { + for (l2 = 0; l2 < t3.length; u2 >= 65536 ? l2 += 2 : l2++) { + if (u2 = ri(t3, l2), u2 === Jt) d2 = true, _2 && (p2 = p2 || l2 - h2 - 1 > s2 && " " !== t3[h2 + 1], h2 = l2); + else if (!ti(u2)) return 5; + m2 = m2 && ni(u2, c2, o2), c2 = u2; + } + p2 = p2 || _2 && l2 - h2 - 1 > s2 && " " !== t3[h2 + 1]; + } + return d2 || p2 ? a2 > 9 && oi(t3) ? 5 : p2 ? 4 : 3 : m2 && !r3 ? 1 : "double" === e3.quoteStyle ? 5 : 2; + } + function si(e3, t3) { + const i3 = oi(e3) ? String(t3) : "", n3 = "\n" === e3[e3.length - 1]; + return `${i3}${!n3 || "\n" !== e3[e3.length - 2] && "\n" !== e3 ? n3 ? "" : "-" : "+"} +`; + } + function li(e3, t3) { + let i3 = e3.indexOf("\n"); + if (-1 === i3) return e3; + const n3 = " ".repeat(t3); + let r3 = e3.slice(0, i3); + const o2 = /(\n+)([^\n]*)/g; + let a2; + for (o2.lastIndex = i3; a2 = o2.exec(e3); ) { + const e4 = a2[1].length, t4 = a2[2]; + r3 += "\n".repeat(e4 + 1) + n3 + t4; + } + return r3; + } + function ui(e3) { + return "\n" === e3[e3.length - 1] ? e3.slice(0, -1) : e3; + } + function ci(e3, t3) { + if ("" === e3 || " " === e3[0]) return e3; + const i3 = / [^ ]/g; + let n3, r3, o2 = 0, a2 = 0, s2 = 0, l2 = ""; + for (; n3 = i3.exec(e3); ) s2 = n3.index, s2 - o2 > t3 && (r3 = a2 > o2 ? a2 : s2, l2 += ` +${e3.slice(o2, r3)}`, o2 = r3 + 1), a2 = s2; + return l2 += "\n", e3.length - o2 > t3 && a2 > o2 ? l2 += `${e3.slice(o2, a2)} +${e3.slice(a2 + 1)}` : l2 += e3.slice(o2), l2.slice(1); + } + function di(e3, t3, i3, n3) { + let r3 = ""; + for (let o2 = 0, a2 = i3.items.length; o2 < a2; o2 += 1) { + const a3 = mi(e3, t3 + 1, i3.items[o2], { block: true, compact: e3.seqInlineFirst, isblockseq: true }); + n3 && "" === r3 || (r3 += Xt(e3, t3)), "" === a3 || Jt === a3.charCodeAt(0) ? r3 += "-" : r3 += "- ", r3 += a3; + } + return r3; + } + function pi(e3) { + return "scalar" === e3.kind ? e3.value : e3; + } + function _i(e3, t3) { + if (!e3.sortKeys) return t3; + const i3 = t3.slice(); + if (true === e3.sortKeys) i3.sort((e4, t4) => { + const i4 = pi(e4.key), n3 = pi(t4.key); + return i4 < n3 ? -1 : i4 > n3 ? 1 : 0; + }); + else { + const t4 = e3.sortKeys; + i3.sort((e4, i4) => t4(pi(e4.key), pi(i4.key))); + } + return i3; + } + function hi(e3, t3, i3) { + return t3.style.tagged || void 0 !== t3.anchor || e3.indent < 2 && i3 > 0; + } + function mi(e3, t3, i3, n3) { + var r3; + if ("alias" === i3.kind) return `*${i3.anchor}`; + const { block: o2 = false, iskey: a2 = false, isblockseq: s2 = false } = n3; + let l2 = null !== (r3 = n3.compact) && void 0 !== r3 && r3; + const u2 = void 0 !== i3.anchor; + let c2; + hi(e3, i3, t3) && (l2 = false); + let d2 = i3.style.tagged; + const p2 = o2 && ("mapping" === i3.kind || "sequence" === i3.kind) && !i3.style.flow && 0 !== i3.items.length; + if ("mapping" === i3.kind) c2 = p2 ? (function(e4, t4, i4, n4) { + let r4 = ""; + const o3 = _i(e4, i4.items); + for (let i5 = 0, a3 = o3.length; i5 < a3; i5 += 1) { + let a4 = ""; + n4 && "" === r4 || (a4 += Xt(e4, t4)); + const { key: s3, value: l3 } = o3[i5], u3 = ("mapping" === s3.kind || "sequence" === s3.kind) && !s3.style.flow && 0 !== s3.items.length || "scalar" === s3.kind && (s3.style.literal || s3.style.folded), c3 = mi(e4, t4 + 1, s3, u3 ? { block: true, compact: true, isblockseq: !hi(e4, s3, t4 + 1) } : { block: true, compact: true, iskey: true }), d3 = "scalar" === s3.kind && -1 !== s3.value.indexOf("\n"), p3 = u3 || d3 || c3.length > 1024; + p3 && (c3 && Jt === c3.charCodeAt(0) ? a4 += "?" : a4 += "? "), a4 += c3, p3 && (a4 += Xt(e4, t4)); + const _2 = mi(e4, t4 + 1, l3, { block: true, compact: p3, isblockseq: p3 && !hi(e4, l3, t4 + 1) }), h2 = "scalar" === s3.kind && "" === s3.value && "" !== c3 && 39 !== c3.charCodeAt(c3.length - 1) && 34 !== c3.charCodeAt(c3.length - 1), m2 = p3 || "alias" !== s3.kind && !h2 ? "" : " "; + "" === _2 || Jt === _2.charCodeAt(0) ? a4 += `${m2}:` : a4 += `${m2}: `, a4 += _2, r4 += a4; + } + return r4; + })(e3, t3, i3, l2) : (function(e4, t4, i4) { + let n4 = ""; + const r4 = _i(e4, i4.items); + for (const { key: i5, value: o4 } of r4) { + let r5 = ""; + "" !== n4 && (r5 += "," + (e4.flowSkipCommaSpace ? "" : " ")); + const a3 = mi(e4, t4, i5, { iskey: true }), s3 = a3.length > 1024; + s3 ? r5 += "? " : e4.quoteFlowKeys && (r5 += '"'); + const l3 = mi(e4, t4, o4, {}), u3 = e4.flowSkipColonSpace || "" === l3 ? "" : " "; + r5 += `${a3}${e4.quoteFlowKeys && !s3 ? '"' : ""}:${u3}${l3}`, n4 += r5; + } + const o3 = e4.flowBracketPadding && "" !== n4 ? " " : ""; + return `{${o3}${n4}${o3}}`; + })(e3, t3, i3); + else if ("sequence" === i3.kind) c2 = p2 ? e3.seqNoIndent && !s2 && t3 > 0 ? di(e3, t3 - 1, i3, l2) : di(e3, t3, i3, l2) : (function(e4, t4, i4) { + let n4 = ""; + for (let r5 = 0, o3 = i4.items.length; r5 < o3; r5 += 1) { + const o4 = mi(e4, t4, i4.items[r5], {}); + "" !== n4 && (n4 += "," + (e4.flowSkipCommaSpace ? "" : " ")), n4 += o4; + } + const r4 = e4.flowBracketPadding && "" !== n4 ? " " : ""; + return `[${r4}${n4}${r4}]`; + })(e3, t3, i3); + else { + const n4 = (function(e4, t4) { + const i4 = e4.indent * Math.max(1, t4); + return { indent: i4, blockIndent: 0 === t4 ? e4.indent + 1 : e4.indent, lineWidth: -1 === e4.lineWidth ? -1 : Math.max(Math.min(e4.lineWidth, 40), e4.lineWidth - i4) }; + })(e3, t3), r4 = (function(e4, t4, i4, n5, r5) { + const o3 = n5 || !r5; + if (t4.style.singleQuoted) return 2; + if (t4.style.doubleQuoted) return 5; + if (!o3) { + if (t4.style.literal) return 3; + if (t4.style.folded) return 4; + } + const a3 = t4.value; + if (0 === a3.length) return t4.style.tagged || Zt(e4, a3) === t4.tag ? 1 : "double" === e4.quoteStyle ? 5 : 2; + const s3 = ai(e4, a3, i4, o3, e4.forceQuotes && !n5, r5); + return 1 !== s3 || t4.style.tagged || Zt(e4, a3) === t4.tag ? s3 : "double" === e4.quoteStyle ? 5 : 2; + })(e3, i3, n4, a2, o2); + c2 = (function(e4, t4, i4) { + const { indent: n5, blockIndent: r5, lineWidth: o3 } = i4; + switch (t4) { + case 1: + return li(e4, n5); + case 2: + return `'${li(e4, n5).replace(/'/g, "''")}'`; + case 3: + return "|" + si(e4, r5) + ui(Qt(e4, n5)); + case 4: + return ">" + si(e4, r5) + ui(Qt((function(e5, t5) { + const i5 = /(\n+)([^\n]*)/g; + let n6 = e5.indexOf("\n"); + -1 === n6 && (n6 = e5.length), i5.lastIndex = n6; + let r6, o4, a3 = ci(e5.slice(0, n6), t5), s3 = "\n" === e5[0] || " " === e5[0]; + for (; o4 = i5.exec(e5); ) { + const e6 = o4[1], i6 = o4[2]; + r6 = " " === i6[0], a3 += e6 + (s3 || r6 || "" === i6 ? "" : "\n") + ci(i6, t5), s3 = r6; + } + return a3; + })(e4, o3), n5)); + case 5: + return `"${(function(e5) { + let t5 = "", i5 = 0; + for (let n6 = 0; n6 < e5.length; i5 >= 65536 ? n6 += 2 : n6++) { + i5 = ri(e5, n6); + const r6 = $t[i5]; + r6 ? t5 += r6 : ti(i5) ? (t5 += e5[n6], i5 >= 65536 && (t5 += e5[n6 + 1])) : t5 += Kt(i5); + } + return t5; + })(e4)}"`; + } + })(i3.value, r4, n4), d2 = i3.style.tagged || 1 !== r4 && i3.tag !== e3.defaultScalarTagName; + } + if (p2 && l2 && t3 > 0 && e3.indent > 2 && (c2 = `${" ".repeat(e3.indent - 2)}${c2}`), d2 || u2) { + const t4 = [], n4 = d2 ? (function(e4) { + return e4.style.tagged ? e4.tag : we(e4.tag); + })(i3) : null, r4 = u2 ? `&${i3.anchor}` : null; + e3.tagBeforeAnchor ? (null !== n4 && t4.push(n4), null !== r4 && t4.push(r4)) : (null !== r4 && t4.push(r4), null !== n4 && t4.push(n4)); + const o3 = "" === c2 || c2.charCodeAt(0) === Jt ? "" : " "; + c2 = `${t4.join(" ")}${o3}${c2}`; + } + return c2; + } + function gi(e3) { + return !("sequence" !== e3.kind && "mapping" !== e3.kind || e3.style.flow || 0 === e3.items.length || e3.style.tagged || void 0 !== e3.anchor); + } + function fi(e3) { + let t3 = e3; + for (; ("sequence" === t3.kind || "mapping" === t3.kind) && !t3.style.flow && 0 !== t3.items.length; ) t3 = "sequence" === t3.kind ? t3.items[t3.items.length - 1] : t3.items[t3.items.length - 1].value; + if ("scalar" !== t3.kind || !t3.style.literal && !t3.style.folded) return false; + const { value: i3 } = t3; + return i3.endsWith("\n\n") || "\n" === i3; + } + function Ti(e3) { + let t3 = ""; + for (const i3 of e3.directives) { + if ("yaml" === i3.kind) { + t3 += `%YAML ${i3.version} +`; + continue; + } + const { handle: e4, prefix: n3 } = i3; + t3 += `%TAG ${e4} ${n3} +`; + } + return t3; + } + function yi(e3, t3) { + const i3 = (function(e4) { + const t4 = ue(ue({}, zt), e4); + return ue(ue({}, t4), {}, { defaultScalarTagName: t4.schema.defaultScalarTag.tagName, implicitResolvers: t4.schema.implicitScalarTags }); + })(t3); + let n3 = "", r3 = false; + for (let t4 = 0; t4 < e3.length; t4 += 1) { + const o2 = e3[t4], a2 = Ti(o2), s2 = "" !== a2, l2 = o2.explicitStart || s2 || t4 > 0 && !r3; + if (n3 += a2, null === o2.contents) l2 && (n3 += "---\n"); + else if (l2) { + const e4 = mi(i3, 0, o2.contents, { block: true, compact: true }); + n3 += `---${"" === e4 ? "" : s2 || gi(o2.contents) ? "\n" : " "}${e4} +`; + } else n3 += mi(i3, 0, o2.contents, { block: true, compact: true }) + "\n"; + r3 = o2.explicitEnd || null !== o2.contents && fi(o2.contents), r3 && (n3 += "...\n"); + } + return n3; + } + var Si = re.withTags(ue(ue({}, w), {}, { resolve: (e3, t3, n3) => { + const r3 = w.resolve(e3, t3, n3); + return r3 === i2 ? O.resolve(e3, t3, n3) : r3; + } }), ue(ue({}, V), {}, { resolve: (e3, t3, n3) => { + const r3 = V.resolve(e3, t3, n3); + return r3 === i2 ? P.resolve(e3, t3, n3) : r3; + } })), Ai = ue(ue({}, zt), {}, { schema: Si, skipInvalid: false, noRefs: false, flowLevel: -1, transform: () => { + } }); + function Ni(e3) { + return "tagStart" in e3 && -1 !== e3.tagStart ? e3.tagStart : "anchorStart" in e3 && -1 !== e3.anchorStart ? e3.anchorStart : "valueStart" in e3 && -1 !== e3.valueStart ? e3.valueStart : "start" in e3 ? e3.start : 0; + } + function vi(e3, t3) { + return -1 === t3.tagStart ? "" : e3.source.slice(t3.tagStart, t3.tagEnd); + } + function Oi(e3, t3) { + return -1 === t3.anchorStart ? void 0 : e3.source.slice(t3.anchorStart, t3.anchorEnd); + } + function Ii(e3, t3) { + const n3 = Ie(e3.source, t3), r3 = vi(e3, t3), o2 = new kt(); + switch (t3.style) { + case 2: + o2.singleQuoted = true; + break; + case 3: + o2.doubleQuoted = true; + break; + case 4: + o2.literal = true; + break; + case 5: + o2.folded = true; + } + let a2; + return "" !== r3 ? (o2.tagged = true, a2 = r3) : a2 = 1 === t3.style ? (function(e4, t4) { + var n4; + const { schema: r4 } = e4, o3 = null !== (n4 = r4.implicitScalarByFirstChar.get(t4.charAt(0))) && void 0 !== n4 ? n4 : r4.implicitScalarAnyFirstChar; + for (const e5 of o3) if (e5.resolve(t4, false, e5.tagName) !== i2) return e5.tagName; + return r4.defaultScalarTag.tagName; + })(e3, n3) : e3.schema.defaultScalarTag.tagName, { kind: "scalar", tag: a2, style: o2, anchor: Oi(e3, t3), value: n3 }; + } + function Ci(e3, t3, i3) { + const n3 = vi(e3, t3), r3 = new kt(); + let o2; + return 2 === t3.style && (r3.flow = true), "" === n3 ? o2 = i3 : (o2 = n3, r3.tagged = true), { tag: o2, style: r3, anchor: Oi(e3, t3) }; + } + function bi(e3, t3) { + const i3 = e3.frames[e3.frames.length - 1]; + "document" === i3.kind ? i3.doc.contents = t3 : "sequence" === i3.kind ? i3.node.items.push(t3) : i3.key ? (i3.node.items.push({ key: i3.key, value: t3 }), i3.key = null) : i3.key = t3; + } + t2.CHOMPING_CLIP = 1, t2.CHOMPING_KEEP = 3, t2.CHOMPING_STRIP = 2, t2.COLLECTION_STYLE_BLOCK = 1, t2.COLLECTION_STYLE_FLOW = 2, t2.CORE_SCHEMA = ne, t2.EVENT_ALIAS = 5, t2.EVENT_DOCUMENT = 1, t2.EVENT_MAPPING = 3, t2.EVENT_POP = 6, t2.EVENT_SCALAR = 4, t2.EVENT_SEQUENCE = 2, t2.FAILSAFE_SCHEMA = te, t2.JSON_SCHEMA = ie, t2.MERGE_KEY = n2, t2.NOT_RESOLVED = i2, t2.SCALAR_STYLE_DOUBLE_QUOTED = 3, t2.SCALAR_STYLE_FOLDED_BLOCK = 5, t2.SCALAR_STYLE_LITERAL_BLOCK = 4, t2.SCALAR_STYLE_PLAIN = 1, t2.SCALAR_STYLE_SINGLE_QUOTED = 2, t2.Schema = ee, t2.Style = kt, t2.VISIT_BREAK = jt, t2.VISIT_SKIP = Wt, t2.YAML11_SCHEMA = re, t2.YAMLException = he, t2.binaryTag = G, t2.boolCoreTag = m, t2.boolJsonTag = T, t2.boolYaml11Tag = A, t2.constructFromEvents = We, t2.defineMappingTag = a, t2.defineScalarTag = r2, t2.defineSequenceTag = o, t2.dump = function(e3, t3 = {}) { + const i3 = ue(ue({}, Ai), t3), n3 = Gt(e3, i3.schema, { noRefs: i3.noRefs, skipInvalid: i3.skipInvalid }); + return i3.flowLevel >= 0 && Yt(n3, (e4, t4) => { + if (!(t4.depth < i3.flowLevel)) return e4.style.flow = true, Wt; + }), i3.transform(n3), yi(n3, ue(ue({}, J(i3, Object.keys(zt))), {}, { schema: i3.schema })); + }, t2.eventsToAst = function(e3, t3) { + const i3 = { source: t3.source, schema: t3.schema, eventIndex: 0, position: 0, frames: [], documents: [] }; + for (; i3.eventIndex < e3.length; ) { + const t4 = e3[i3.eventIndex++]; + switch (i3.position = Ni(t4), t4.type) { + case 1: { + const e4 = { contents: null, explicitStart: t4.explicitStart, explicitEnd: t4.explicitEnd, directives: t4.directives }; + i3.frames.push({ kind: "document", doc: e4 }); + break; + } + case 4: + bi(i3, Ii(i3, t4)); + break; + case 2: { + const { tag: e4, style: n3, anchor: r3 } = Ci(i3, t4, "tag:yaml.org,2002:seq"), o2 = { kind: "sequence", tag: e4, style: n3, anchor: r3, items: [] }; + i3.frames.push({ kind: "sequence", node: o2 }); + break; + } + case 3: { + const { tag: e4, style: n3, anchor: r3 } = Ci(i3, t4, "tag:yaml.org,2002:map"), o2 = { kind: "mapping", tag: e4, style: n3, anchor: r3, items: [] }; + i3.frames.push({ kind: "mapping", node: o2, key: null }); + break; + } + case 5: { + const e4 = i3.source.slice(t4.anchorStart, t4.anchorEnd); + bi(i3, { kind: "alias", tag: "", style: new kt(), anchor: e4 }); + break; + } + case 6: { + const e4 = i3.frames.pop(); + "document" === e4.kind ? i3.documents.push(e4.doc) : bi(i3, e4.node); + break; + } + } + } + return i3.documents; + }, t2.floatCoreTag = P, t2.floatJsonTag = L, t2.floatYaml11Tag = V, t2.getScalarValue = Ie, t2.intCoreTag = O, t2.intJsonTag = b, t2.intYaml11Tag = w, t2.jsToAst = Gt, t2.legacyMapTag = se, t2.load = function(e3, t3) { + const i3 = xt(e3, t3); + if (0 === i3.length) throw new he("expected a document, but the input is empty"); + if (1 === i3.length) return i3[0]; + throw new he("expected a single document in the stream, but found more"); + }, t2.loadAll = function(e3, t3, i3) { + let n3 = null; + "function" == typeof t3 ? n3 = t3 : null !== t3 && "object" == typeof t3 && (i3 = t3); + const r3 = xt(e3, i3); + if (null === n3) return r3; + for (const e4 of r3) n3(e4); + }, t2.mapTag = K, t2.mergeTag = U, t2.nullCoreTag = u, t2.nullJsonTag = c, t2.nullYaml11Tag = p, t2.omapTag = $, t2.pairsTag = z, t2.parseEvents = Ft, t2.present = yi, t2.realMapTag = oe, t2.seqTag = Y, t2.setTag = Q, t2.strTag = s, t2.timestampTag = q, t2.visit = Yt; }, 25088: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(17604).sprintf, o = i2(78446), a = i2(39041).default, s = i2(13126), l = i2(14547), u = i2(58858), d = i2(57391), c = i2(35158), p = i2(93852), _ = i2(62120), h = i2(20557), m = i2(88715), g = i2(4491), f = i2(65302), { ExpressionType: T } = i2(94765), y = i2(98114).default, { flowTypes: S } = i2(96618), { MenuChoiceViewModel: A } = i2(63883), { MenuViewModel: N } = i2(1782), O = i2(62829), { ParameterInfo: I } = i2(55909), { ParameterValidator: v } = i2(33951), C = i2(47957), { isCustomJsonExpressionDataType: b } = i2(66314), E = i2(46521), R = i2(96651).default, w = i2(12889).default; + const n2 = i2(92140), r2 = i2(17604).sprintf, o = i2(78446), a = i2(39041).default, s = i2(13126), l = i2(14547), u = i2(58858), c = i2(57391), d = i2(35158), p = i2(93852), _ = i2(62120), h = i2(20557), m = i2(88715), g = i2(4491), f = i2(65302), { ExpressionType: T } = i2(94765), y = i2(98114).default, { flowTypes: S } = i2(96618), { MenuChoiceViewModel: A } = i2(63883), { MenuViewModel: N } = i2(1782), v = i2(62829), { ParameterInfo: O } = i2(55909), { ParameterValidator: I } = i2(33951), C = i2(47957), { isCustomJsonExpressionDataType: b } = i2(66314), E = i2(46521), w = i2(96651).default, R = i2(12889).default; e2.exports = class extends o { constructor(e3, t3) { super(t3), Object.defineProperties(this, { _canPasteByFlowType: { value: {}, writable: true, enumerable: false }, _contentModel: { writable: true, enumerable: true }, _copyCutFlowTypes: { writable: true, enumerable: true }, _dependenciesViewModel: { writable: true, enumerable: false }, _contextualFlowTypes: { value: S.flowTypesAll, writable: true, enumerable: true }, _pasteJsonObjects: { writable: true, enumerable: false }, _pastedTaskOrMenuModel: { writable: true, enumerable: false } }), e3 && this._loadModel(e3); @@ -31399,7 +35032,7 @@ var require_scripting_bundle = __commonJS({ const t3 = n2.find(this._contentModel.manifest.actions, function(t4) { return t4.id === e3.id; }); - n2.isUndefined(t3) && (n2.isArray(this.contentModel.manifest.actionItems) || (this.contentModel.manifest.actionItems = []), this._contentModel.manifest.actionItems.push(new c({ actionTypeId: e3.info.typeId, id: e3.id, trackingId: e3.trackingId }))); + n2.isUndefined(t3) && (n2.isArray(this.contentModel.manifest.actionItems) || (this.contentModel.manifest.actionItems = []), this._contentModel.manifest.actionItems.push(new d({ actionTypeId: e3.info.typeId, id: e3.id, trackingId: e3.trackingId }))); } _addManifestItemDataType(e3, t3) { const i3 = n2.find(this._contentModel.manifest.dataTypeItems, function(t4) { @@ -31437,9 +35070,9 @@ var require_scripting_bundle = __commonJS({ const o2 = e3 ? y.getFlowTypeDisplayName(e3.type) : ""; let s2, l2; if (n2.isUndefined(s2) && this._contentModel.manifest.stateItems && this._contentModel.manifest.stateItems.length > 0 && (e3.supportsMultipleStates || (s2 = this.createClipboardResultFailure(r2(C.clipboard.content.notSupportedByFlowType.states, o2)))), n2.isUndefined(s2) && this._contentModel.manifest.taskItems && this._contentModel.manifest.taskItems.length > 0 && t3 === S.flowTypeInQueueCall && (s2 = this.createClipboardResultFailure(r2(C.clipboard.content.notSupportedByFlowType.tasks, o2))), n2.isUndefined(s2) && this._contentModel.manifest.menuItems && this._contentModel.manifest.menuItems.length > 0 && (n2.contains(y.getFlowTypesThatSupportMenus(), t3) || (s2 = this.createClipboardResultFailure(r2(C.clipboard.content.notSupportedByFlowType.menusOrMenuChoices, o2)))), n2.isUndefined(s2) && this._contentModel.manifest.actionItems && this._contentModel.manifest.actionItems.length > 0) { - const e4 = n2.find(this._contentModel.manifest.actionItems, (e5) => !O.getInfo(e5.actionTypeId).isAvailableForFlowType(t3, true)); + const e4 = n2.find(this._contentModel.manifest.actionItems, (e5) => !v.getInfo(e5.actionTypeId).isAvailableForFlowType(t3, true)); if (e4) { - const t4 = O.getInfo(e4.actionTypeId); + const t4 = v.getInfo(e4.actionTypeId); return this.createClipboardResultFailure(r2(C.clipboard.content.notSupportedByFlowType.action, t4.name, o2)); } } @@ -31481,7 +35114,7 @@ var require_scripting_bundle = __commonJS({ } _pasteAddActionViewModelForActionModel(e3, t3, i3, r3) { !r3 && e3.destViewModel.isTaskLike && e3.pasteActionsToEndOfActionContainer && (r3 = this.getLastActionForStateOrTask(e3.destViewModel)); - const o2 = O.createActionWithModel(t3, i3); + const o2 = v.createActionWithModel(t3, i3); return e3.destActionContainer._insertAction(o2, r3), n2.isFunction(o2.initializeDesignTime) && o2.initializeDesignTime(), o2; } _pasteAddMenuChoiceViewModelForMenuChoiceModel(e3, t3, i3) { @@ -31499,18 +35132,18 @@ var require_scripting_bundle = __commonJS({ } _pasteAddStateViewModelForStateModel(e3, t3) { this.log("Adding state view model for " + this._getNameAndIdStr(t3) + " to flow " + this._getNameAndIdStr(e3.destFlowViewModel) + " that currently has " + e3.destFlowViewModel.states.length + " state(s)."); - const i3 = new R(e3.destFlowViewModel, t3); + const i3 = new w(e3.destFlowViewModel, t3); return e3.destFlowViewModel.addNewChild(i3), i3; } _pasteAddTaskViewModelForTaskModel(e3, t3) { this.log("Adding task view model for " + this._getNameAndIdStr(t3) + " to flow " + this._getNameAndIdStr(e3.destFlowViewModel) + " that currently has " + e3.destFlowViewModel.tasks.length + " task(s)."); - const i3 = new w(e3.destFlowViewModel, t3); + const i3 = new R(e3.destFlowViewModel, t3); return e3.destFlowViewModel.addNewChild(i3), i3; } _performPaste(e3) { } _processExpressionType(e3, t3) { - v.expectExpressionType(e3, () => I.createFunctionParameter(this.className, "_processExpressionType", "expressionTypeViewModel")), e3 && e3.isExpressionType && this._addManifestItemDataType(e3, t3); + I.expectExpressionType(e3, () => O.createFunctionParameter(this.className, "_processExpressionType", "expressionTypeViewModel")), e3 && e3.isExpressionType && this._addManifestItemDataType(e3, t3); } _resetUpconvertViewModels() { } @@ -31518,7 +35151,7 @@ var require_scripting_bundle = __commonJS({ return this._contentModel; } get nodeInformation() { - return O.getInfo(this._contentModel.nodeInformationId); + return v.getInfo(this._contentModel.nodeInformationId); } checkCanPaste(e3) { let t3; @@ -31534,7 +35167,7 @@ var require_scripting_bundle = __commonJS({ return s.unknown; } copyCutAddDependencyFlowUiMetaData(e3, t3, i3) { - v.expectString(e3, () => I.createFunctionParameter(this.className, "copyCutAddDependencyFlowUiMetaData", "uiMetaDataSectionName")), v.expectString(t3, () => I.createFunctionParameter(this.className, "copyCutAddDependencyFlowUiMetaData", "rawEntityId")), v.expectObject(i3, () => I.createFunctionParameter(this.className, "copyCutAddDependencyFlowUiMetaData", "rawEntityJSON")); + I.expectString(e3, () => O.createFunctionParameter(this.className, "copyCutAddDependencyFlowUiMetaData", "uiMetaDataSectionName")), I.expectString(t3, () => O.createFunctionParameter(this.className, "copyCutAddDependencyFlowUiMetaData", "rawEntityId")), I.expectObject(i3, () => O.createFunctionParameter(this.className, "copyCutAddDependencyFlowUiMetaData", "rawEntityJSON")); let n3 = u.create(e3, t3, i3, this.clipboardLogging); this.dependencies.addClipboardDependencyFlowUiMetaDataViewModel(n3) || (n3.destroy(), n3 = void 0); } @@ -31544,7 +35177,7 @@ var require_scripting_bundle = __commonJS({ if (i3) return void i3.applySupportedFlowTypes(this._contextualFlowTypes); if (this._processExpressionType(e3.type, t3), e3.isSystemVariable || e3.isSlotVariable || e3.isFormScopedVariable) return; if (this.isVariableScopedToClipboardContent(e3)) return; - let n3 = d.create(e3, this.clipboardLogging, this._contextualFlowTypes); + let n3 = c.create(e3, this.clipboardLogging, this._contextualFlowTypes); this.dependencies.addClipboardDependencyVariableViewModel(n3) || (n3.destroy(), n3 = void 0); } copyCutAddDependencyCustomType(e3) { @@ -31570,25 +35203,25 @@ var require_scripting_bundle = __commonJS({ if (n2.isFunction(this.contentModel.resolveOldIdToOldName)) return this.contentModel.resolveOldIdToOldName(e3); } copyCutProcessActionViewModel(e3) { - v.expectTrue(e3 && true === e3.isBaseAction, e3, "BaseActionViewModel", () => I.createFunctionParameter(this.className, "copyCutProcessActionViewModel", "actionViewModel")), this._processActionViewModel(e3, false); + I.expectTrue(e3 && true === e3.isBaseAction, e3, "BaseActionViewModel", () => O.createFunctionParameter(this.className, "copyCutProcessActionViewModel", "actionViewModel")), this._processActionViewModel(e3, false); } copyCutProcessMenuChoiceViewModel(e3) { - v.expectTrue(e3 && true === e3.isMenuChoice, e3, "MenuChoiceViewModel", () => I.createFunctionParameter(this.className, "copyCutProcessMenuChoiceViewModel", "menuChoiceViewModel")), e3 && e3.isMenuChoice && (this._processActionViewModel(e3.action), this._addManifestItemMenuChoice(e3)); + I.expectTrue(e3 && true === e3.isMenuChoice, e3, "MenuChoiceViewModel", () => O.createFunctionParameter(this.className, "copyCutProcessMenuChoiceViewModel", "menuChoiceViewModel")), e3 && e3.isMenuChoice && (this._processActionViewModel(e3.action), this._addManifestItemMenuChoice(e3)); } copyCutProcessMenuViewModel(e3) { - v.expectTrue(e3 && true === e3.isMenu, e3, "MenuViewModel", () => I.createFunctionParameter(this.className, "copyCutProcessMenuViewModel", "menuViewModel")), e3 && e3.isMenu && this._addManifestItemMenu(e3); + I.expectTrue(e3 && true === e3.isMenu, e3, "MenuViewModel", () => O.createFunctionParameter(this.className, "copyCutProcessMenuViewModel", "menuViewModel")), e3 && e3.isMenu && this._addManifestItemMenu(e3); } copyCutProcessStateViewModel(e3) { - v.expectTrue(e3 && true === e3.isState, e3, "StateViewModel", () => I.createFunctionParameter(this.className, "copyCutProcessStateViewModel", "stateViewModel")), e3 && e3.isState && this._addManifestItemState(e3); + I.expectTrue(e3 && true === e3.isState, e3, "StateViewModel", () => O.createFunctionParameter(this.className, "copyCutProcessStateViewModel", "stateViewModel")), e3 && e3.isState && this._addManifestItemState(e3); } copyCutProcessTaskViewModel(e3) { - v.expectTrue(e3 && true === e3.isTask, e3, "TaskViewModel", () => I.createFunctionParameter(this.className, "copyCutProcessTaskViewModel", "taskViewModel")), e3 && e3.isTask && this._addManifestItemTask(e3); + I.expectTrue(e3 && true === e3.isTask, e3, "TaskViewModel", () => O.createFunctionParameter(this.className, "copyCutProcessTaskViewModel", "taskViewModel")), e3 && e3.isTask && this._addManifestItemTask(e3); } copyCutResetSupportedFlowTypeFilter() { n2.isUndefined(this._copyCutFlowTypes) || (this._copyCutFlowTypes = void 0, this._contextualFlowTypes = S.flowTypesAll, this.log("Resetting copy cut supported flow types to all flow types.")); } copyCutSetSupportedFlowTypeFilter(e3) { - v.expectArray(e3, () => I.createFunctionParameter(this.className, "setCutCopySupportedFlowTypeScope", "supportedFlowTypesFilter"), true), e3 && 0 !== e3.length ? (this._contextualFlowTypes = e3, this.log("Set copy cut supported flow type filter to -> " + this._contextualFlowTypes.join(","))) : this.copyCutResetSupportedFlowTypeFilter(); + I.expectArray(e3, () => O.createFunctionParameter(this.className, "setCutCopySupportedFlowTypeScope", "supportedFlowTypesFilter"), true), e3 && 0 !== e3.length ? (this._contextualFlowTypes = e3, this.log("Set copy cut supported flow type filter to -> " + this._contextualFlowTypes.join(","))) : this.copyCutResetSupportedFlowTypeFilter(); } get dependencies() { return this._dependenciesViewModel; @@ -31610,7 +35243,7 @@ var require_scripting_bundle = __commonJS({ return this._contentModel.name; } set name(e3) { - this._contentModel.name = v.expectString(e3, () => I.createPropertySet(this.className, "name"), true); + this._contentModel.name = I.expectString(e3, () => O.createPropertySet(this.className, "name"), true); } get originalObjectInfo() { return this._contentModel.originalObjectInfo; @@ -31652,15 +35285,15 @@ var require_scripting_bundle = __commonJS({ return this._pastedTaskOrMenuModel; } set pastedMenuOrTaskOrActionViewModel(e3) { - this._pastedTaskOrMenuModel = v.expectObject(e3, () => I.createPropertySet(this.className, "pastedMenuOrTaskOrActionViewModel", "coreViewModel")); + this._pastedTaskOrMenuModel = I.expectObject(e3, () => O.createPropertySet(this.className, "pastedMenuOrTaskOrActionViewModel", "coreViewModel")); } }; }, 25118: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ListPickerItemType = t2.MANAGED_SLOT_TYPE_VALUE = t2.PROP_IMAGE = t2.PROP_SUBTITLE = t2.PROP_TITLE = void 0; - const n2 = i2(31635), r2 = i2(36444), o = i2(99434), a = i2(28562), s = n2.__importDefault(i2(73198)), l = i2(27491), u = i2(80428), d = i2(14394), c = i2(94765), p = i2(53476), _ = i2(47957); + const n2 = i2(31635), r2 = i2(36444), o = i2(99434), a = i2(28562), s = n2.__importDefault(i2(73198)), l = i2(27491), u = i2(80428), c = i2(14394), d = i2(94765), p = i2(53476), _ = i2(47957); t2.PROP_TITLE = "title", t2.PROP_SUBTITLE = "subtitle", t2.PROP_IMAGE = "image", t2.MANAGED_SLOT_TYPE_VALUE = "managedSlotTypeValue"; - class h extends c.ExpressionType { + class h extends d.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -31668,7 +35301,7 @@ var require_scripting_bundle = __commonJS({ return "ListPickerItemType"; } canConvertLitToExpression(e3) { - return l.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeListPickerItem", e3, [d.globalTypes.string, d.globalTypes.string, d.globalTypes.image]); + return l.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeListPickerItem", e3, [c.globalTypes.string, c.globalTypes.string, c.globalTypes.image]); } convertLitToExpression(e3, t3, i3, n3) { var r3, o2, a2; @@ -31789,10 +35422,10 @@ var require_scripting_bundle = __commonJS({ }, 25130: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.botConnectorVersionManager = t2.BotConnectorVersionManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(80911)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(58597)), l = i2(30801), u = n2.__importStar(i2(1360)), d = i2(74267), c = i2(81801), p = i2(96950), _ = n2.__importDefault(i2(47532)), h = i2(47957), m = i2(27862); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(80911)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(58597)), l = i2(30801), u = n2.__importStar(i2(1360)), c = i2(74267), d = i2(81801), p = i2(96950), _ = n2.__importDefault(i2(47532)), h = i2(47957), m = i2(27862); class g extends _.default { get requiredAuth() { - return c.externalAuthorizations.authStrings.botConnectorView; + return d.externalAuthorizations.authStrings.botConnectorView; } get dependencyType() { return m.BotConnectorBot; @@ -31813,7 +35446,7 @@ var require_scripting_bundle = __commonJS({ return s.default; } _createItemViewModel(e3) { - return new d.BotConnectorVersionViewModel(e3); + return new c.BotConnectorVersionViewModel(e3); } getItemFromFlowMetadata(e3, t3) { const i3 = r2.default.isFunction(null == e3 ? void 0 : e3.getUniqueBotRunnableId) ? e3.getUniqueBotRunnableId() : t3, n3 = super.getItemFromFlowMetadata(e3, i3); @@ -31863,8 +35496,8 @@ var require_scripting_bundle = __commonJS({ t2.default = o; }, 25162: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(29586), s = i2(50584), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(29586), s = i2(50584), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -31872,7 +35505,7 @@ var require_scripting_bundle = __commonJS({ return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findDivision.findDivisionNameLabel, searchResultLabel: d.findActions.findDivision.findDivisionResultLabel, searchResultExpressionOptions: a.ExpressionTypeDivisionOptions.create(), searchResultItemType: o.expressionTypeNames.division }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findDivision, modelClass: s.FindDivisionActionModel, name: d.actions.findDivision, scriptingName: "ArchActionFindDivision" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findDivision, modelClass: s.FindDivisionActionModel, name: d.actions.findDivision, scriptingName: "ArchActionFindDivision", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 25190: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(62115), { ParameterInfo: o } = i2(55909), { ParameterValidator: a } = i2(33951); e2.exports = class extends r2 { @@ -31923,10 +35556,10 @@ var require_scripting_bundle = __commonJS({ }, 25234: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = n2.__importDefault(i2(5730)), a = n2.__importDefault(i2(27203)), s = n2.__importDefault(i2(73198)), l = i2(79467), u = i2(80428), d = i2(47957); - class c extends o.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = n2.__importDefault(i2(5730)), a = n2.__importDefault(i2(27203)), s = n2.__importDefault(i2(73198)), l = i2(79467), u = i2(80428), c = i2(47957); + class d extends o.default { static get managedProperties() { - return [{ label: d.detectSilence.silenceDuration, options: l.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("detectSilenceDuration").setDefaultText(s.default.litDurationOneSecond).setDescriptionInfo(void 0, d.detectSilence.silenceDurationDescription).setAllowFlowLevelDefault(true).setScriptingPropertyName("silenceDuration").setDurationStyle(r2.durationStyles.secondsAndTenthsDuration).setUiPropertyOrder(20).facets.setMinDur(250, true).setMaxDur(1e4, true)), property: "silenceDuration", type: u.expressionTypeNames.duration }, { label: d.generic.branches.timeout, options: l.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("detectSilenceTimeout").setDefaultText(s.default.litDurationFortySeconds).setDescriptionInfo(void 0, d.detectSilence.timeoutDescription).setAllowFlowLevelDefault(true).setScriptingPropertyName("timeout").setDurationStyle(r2.durationStyles.secondsAndTenthsDuration).setUiPropertyOrder(21).facets.setMinDur(1e3, true).setMaxDur(6e4, true)), property: "timeout", type: u.expressionTypeNames.duration }]; + return [{ label: c.detectSilence.silenceDuration, options: l.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("detectSilenceDuration").setDefaultText(s.default.litDurationOneSecond).setDescriptionInfo(void 0, c.detectSilence.silenceDurationDescription).setAllowFlowLevelDefault(true).setScriptingPropertyName("silenceDuration").setDurationStyle(r2.durationStyles.secondsAndTenthsDuration).setUiPropertyOrder(20).facets.setMinDur(250, true).setMaxDur(1e4, true)), property: "silenceDuration", type: u.expressionTypeNames.duration }, { label: c.generic.branches.timeout, options: l.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("detectSilenceTimeout").setDefaultText(s.default.litDurationFortySeconds).setDescriptionInfo(void 0, c.detectSilence.timeoutDescription).setAllowFlowLevelDefault(true).setScriptingPropertyName("timeout").setDurationStyle(r2.durationStyles.secondsAndTenthsDuration).setUiPropertyOrder(21).facets.setMinDur(1e3, true).setMaxDur(6e4, true)), property: "timeout", type: u.expressionTypeNames.duration }]; } static get branchInfo() { return a.default.successTimeout; @@ -31935,7 +35568,7 @@ var require_scripting_bundle = __commonJS({ super(e3.parentFlow, e3); } } - t2.default = c, c.className = "BaseDetectSilenceActionViewModel"; + t2.default = d, d.className = "BaseDetectSilenceActionViewModel"; }, 25255: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -31955,6 +35588,12 @@ var require_scripting_bundle = __commonJS({ } } t2.default = a; + }, 25277: (e2, t2) => { + "use strict"; + var i2; + Object.defineProperty(t2, "__esModule", { value: true }), t2.CHANGE_SET_TYPE_DESCRIPTIONS = t2.CHANGE_SET_TYPE_EMOJI = t2.ChangeSetType = void 0, (function(e3) { + e3.fix = "fix", e3.improvement = "improvement", e3.optimization = "optimization", e3.security = "security", e3.compliance = "compliance", e3.feature = "feature"; + })(i2 || (t2.ChangeSetType = i2 = {})), t2.CHANGE_SET_TYPE_EMOJI = { [i2.fix]: "\u{1F6E0}\uFE0F", [i2.improvement]: "\u{1F4A1}", [i2.optimization]: "\u26A1", [i2.security]: "\u{1F512}", [i2.compliance]: "\u{1F4CB}", [i2.feature]: "\u2728" }, t2.CHANGE_SET_TYPE_DESCRIPTIONS = { [i2.fix]: "Resolve errors, runtime failures, validation issues.", [i2.improvement]: "Best practices, milestones, flow outcomes, maintainability, readability.", [i2.optimization]: "Performance, efficiency, simplification.", [i2.security]: "Recommendations for security hardening.", [i2.compliance]: "Organizational or regulatory guidance.", [i2.feature]: "Add new capabilities or functionality." }; }, 25298: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -31984,8 +35623,8 @@ var require_scripting_bundle = __commonJS({ t2.always = { displayString: n2.askForSlot.confirmationModes.confirmationModeAlways, id: "always" }, t2.never = { displayString: n2.askForSlot.confirmationModes.confirmationModeNever, id: "never" }, t2.allModes = [t2.always, t2.never]; }, 25308: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(89134), o = i2(12179), a = n2.__importDefault(i2(5730)), s = i2(81516), l = n2.__importDefault(i2(97891)), u = i2(80428), d = i2(47957); - class c extends a.default { + const n2 = i2(31635), r2 = i2(89134), o = i2(12179), a = n2.__importDefault(i2(5730)), s = i2(81516), l = n2.__importDefault(i2(97891)), u = i2(80428), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -31993,7 +35632,7 @@ var require_scripting_bundle = __commonJS({ return [{ label: d.setPostFlow.target, options: s.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(d.setPostFlow.target, d.setPostFlow.targetTypeDescription).setAsInput().setIsOptional(false).setAllowModeLiteralOnly().setIninTestingField("ClearPostFlowAction-target").setUiPropertyOrder(1).facets.setTrim(true).setAllowableValues(r2.allPostCallFlowTargetTypes).setAllowableValuePlaceholder(d.setPostFlow.targetPlaceholder)), property: "target", type: u.expressionTypeNames.string }]; } } - c.info = l.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: o.helpTopics.actions.clearPostFlow, modelClass: i2(97534), name: d.actions.clearPostFlow, scriptingName: "ArchActionClearPostFlow" }), t2.A = c; + p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: o.helpTopics.actions.clearPostFlow, modelClass: i2(97534), name: d.actions.clearPostFlow, scriptingName: "ArchActionClearPostFlow", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 25420: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -32085,6 +35724,26 @@ var require_scripting_bundle = __commonJS({ } } t2.default = r2; + }, 25575: (e2, t2, i2) => { + "use strict"; + const n2 = i2(31635), r2 = i2(80428), o = i2(17990), a = i2(56884), s = i2(81516), l = i2(97229), u = i2(12179), c = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(5478)), p = i2(47957); + class _ extends d.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); + } + _getPossibleErrors() { + return l.assignCustomerSegmentFailureReasons; + } + static get managedProperties() { + return [{ label: p.assignedCustomerSegments.externalContactIdLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalContactIdExpression").setDisableSpellcheck(true).setDefaultToExpression(true).setAllowNotSet(false).setDescriptionInfo(p.assignedCustomerSegments.externalContactIdLabel, p.assignCustomerSegment.externalContactIdDescription).facets.setMinLength(1)), property: "externalContactId", type: r2.expressionTypeNames.string }, { label: p.customerSegment.customerSegmentLabel, options: a.ExpressionTypeCustomerSegmentOptions.create((e3) => e3.setAsInput().setAllowModeLiteral(true).setAllowModeExpression(true).setAllowNotSet(false).setIninTestingField("CustomerSegmentExpression").setDescriptionInfo(p.customerSegment.customerSegmentLabel, p.assignCustomerSegment.customerSegmentDescription)), property: "customerSegment", type: r2.expressionTypeNames.customerSegment }]; + } + } + _.info = c.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: u.helpTopics.actions.assignCustomerSegment, modelClass: o.AssignCustomerSegmentActionModel, name: p.actions.assignCustomerSegment, scriptingName: "ArchActionAssignCustomerSegment" }), t2.A = _; + }, 25591: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.customSchema = void 0; + const n2 = i2(55890), r2 = i2(75778), o = i2(51857), a = i2(25074); + t2.customSchema = a.FAILSAFE_SCHEMA.withTags(a.nullCoreTag, a.boolCoreTag, o.strictIntType, r2.strictFloatType, a.mergeTag, a.binaryTag, a.legacyMapTag, a.omapTag, a.pairsTag, n2.legacySetType), t2.default = t2.customSchema; }, 25609: (e2, t2, i2) => { "use strict"; var n2, r2, o; @@ -32508,7 +36167,7 @@ var require_scripting_bundle = __commonJS({ }, 26519: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = i2(4333), s = n2.__importStar(i2(81116)), l = i2(14394), u = n2.__importDefault(i2(15244)), d = n2.__importStar(i2(17498)), c = n2.__importStar(i2(53128)), p = n2.__importStar(i2(10798)), _ = i2(19384), h = n2.__importStar(i2(1115)), m = n2.__importDefault(i2(4648)), g = i2(12179), f = i2(10016), T = i2(2053), y = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = i2(4333), s = n2.__importStar(i2(81116)), l = i2(14394), u = n2.__importDefault(i2(15244)), c = n2.__importStar(i2(17498)), d = n2.__importStar(i2(53128)), p = n2.__importStar(i2(10798)), _ = i2(19384), h = n2.__importStar(i2(1115)), m = n2.__importDefault(i2(4648)), g = i2(12179), f = i2(10016), T = i2(2053), y = i2(47957); class S extends f.BaseEventHandlingViewModel { constructor(e3) { super(e3, T); @@ -32530,7 +36189,7 @@ var require_scripting_bundle = __commonJS({ super.handlingType = e3, this._config && this._config.errorHandling && (this._updateQueueOutOfService(), h.validateNode(this, true)); } get handlingTypes() { - const e3 = c.getHandlingTypesForFlowType(this.parentFlow.type); + const e3 = d.getHandlingTypesForFlowType(this.parentFlow.type); return this._updateQueueDescription(e3), e3; } get isErrorHandlingNode() { @@ -32561,7 +36220,7 @@ var require_scripting_bundle = __commonJS({ } } updateDependencies() { - this._queue.outOfService || d.registerExpression(this.queue); + this._queue.outOfService || c.registerExpression(this.queue); } validate(e3) { var t3, i3, n3, r3; @@ -32897,11 +36556,11 @@ var require_scripting_bundle = __commonJS({ }, 27069: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchFactoryMenus = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(84783)), a = n2.__importDefault(i2(38689)), s = i2(30801), l = i2(30801), u = i2(30801), d = i2(30801), c = i2(30801), p = i2(30801), _ = i2(30801), h = i2(30801), m = i2(30801), g = i2(30801), f = i2(30801), T = i2(30801), y = i2(30801), S = i2(30801), A = i2(30801), N = i2(30801); - function O(e3) { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(84783)), a = n2.__importDefault(i2(38689)), s = i2(30801), l = i2(30801), u = i2(30801), c = i2(30801), d = i2(30801), p = i2(30801), _ = i2(30801), h = i2(30801), m = i2(30801), g = i2(30801), f = i2(30801), T = i2(30801), y = i2(30801), S = i2(30801), A = i2(30801), N = i2(30801); + function v(e3) { return e3._coreMenuViewModel; } - class I extends o.default { + class O extends o.default { get displayTypeName() { return "ArchFactoryMenus"; } @@ -32912,8 +36571,8 @@ var require_scripting_bundle = __commonJS({ return true; } createArchMenuChoice(e3, t3, i3, n3, o2, s2) { - this._checkItem(this._infoParm("archParentMenuOrSubMenu", s2), !e3 || !e3.isArchMenu && !e3.isArchMenuSubMenu, "you can only add a sub menu or menu action to an ArchMenu or ArchMenuSubMenu"), this._verifyFlowSupportsMenus(this._infoVal("archParentMenuOrSubMenu.parentFlow", s2), e3.parentFlow), a.default.validateActionDefId(o2, O(e3).parentFlow), this._checkItemIsValidLiteralBool(this._infoParm("dtmfIsGlobal", s2), n3, true); - const l2 = O(e3).addChild(o2), u2 = a.default.createArchMenuChoice(l2); + this._checkItem(this._infoParm("archParentMenuOrSubMenu", s2), !e3 || !e3.isArchMenu && !e3.isArchMenuSubMenu, "you can only add a sub menu or menu action to an ArchMenu or ArchMenuSubMenu"), this._verifyFlowSupportsMenus(this._infoVal("archParentMenuOrSubMenu.parentFlow", s2), e3.parentFlow), a.default.validateActionDefId(o2, v(e3).parentFlow), this._checkItemIsValidLiteralBool(this._infoParm("dtmfIsGlobal", s2), n3, true); + const l2 = v(e3).addChild(o2), u2 = a.default.createArchMenuChoice(l2); return t3 && (u2.name = t3), r2.default.isUndefined(i3) || (u2.dtmf = i3), n3 && (r2.default.isUndefined(i3) && this.logErrorAndThrow("when creating a menu choice, you should not attempt to set dtmf as global when there is no dtmf specified"), u2.dtmfIsGlobal = n3), this.logNote("adding menu " + u2.logStr + " to " + e3.logStr), u2; } createArchTransferMenuChoice(e3, t3, i3, n3, o2, a2, s2) { @@ -32932,8 +36591,8 @@ var require_scripting_bundle = __commonJS({ } addMenuDialByExtension(e3, t3, i3, n3, o2, a2, l2, u2) { this._checkItemIsValidLiteralInt(this._infoParm("repromptCount", "addMenuDialByExtension"), a2, true), this._checkItemIsValidLiteralString(this._infoParm("repromptTTS", "addMenuDialByExtension"), o2, true), this._checkItemIsValidLiteralString(this._infoParm("interDigitTimeoutExpression", "addMenuDialByExtension"), l2, true); - const d2 = this.createArchMenuChoice(e3, t3, i3, u2, s.dialExtensionActionType, "addMenuDialByExtension"); - return n3 && d2.actionDialByExtension.extensionVariable.setVariable(n3), r2.default.isString(o2) && d2.actionDialByExtension.repromptAudio.setDefaultCaseLiteralTTS(o2), void 0 !== a2 && (this._checkItemIsValidLiteralInt(this._infoParm("repromptCount", "addMenuDialByExtension"), a2), d2.actionDialByExtension.repromptCount.setLiteralInt(a2)), r2.default.isString(l2) && d2.actionDialByExtension.interDigitTimeout.setExpression(l2), d2; + const c2 = this.createArchMenuChoice(e3, t3, i3, u2, s.dialExtensionActionType, "addMenuDialByExtension"); + return n3 && c2.actionDialByExtension.extensionVariable.setVariable(n3), r2.default.isString(o2) && c2.actionDialByExtension.repromptAudio.setDefaultCaseLiteralTTS(o2), void 0 !== a2 && (this._checkItemIsValidLiteralInt(this._infoParm("repromptCount", "addMenuDialByExtension"), a2), c2.actionDialByExtension.repromptCount.setLiteralInt(a2)), r2.default.isString(l2) && c2.actionDialByExtension.interDigitTimeout.setExpression(l2), c2; } addMenuDisconnect(e3, t3, i3, n3) { return this.createArchMenuChoice(e3, t3, i3, n3, l.disconnectActionType, "addMenuDisconnect"); @@ -32947,10 +36606,10 @@ var require_scripting_bundle = __commonJS({ return n3 && (o2.actionJumpToTask.targetTask = n3), o2; } addMenuPreviousMenu(e3, t3, i3, n3) { - return this.createArchMenuChoice(e3, t3, i3, n3, d.previousMenuActionType, "addMenuPreviousMenu"); + return this.createArchMenuChoice(e3, t3, i3, n3, c.previousMenuActionType, "addMenuPreviousMenu"); } addMenuRepeatMenu(e3, t3, i3, n3) { - return this.createArchMenuChoice(e3, t3, i3, n3, c.repeatMenuActionType, "addMenuRepeatMenu"); + return this.createArchMenuChoice(e3, t3, i3, n3, d.repeatMenuActionType, "addMenuRepeatMenu"); } addMenuReturnToAgent(e3, t3, i3, n3) { return this.createArchMenuChoice(e3, t3, i3, n3, p.returnToAgentActionType, "addMenuReturnToAgent"); @@ -32989,14 +36648,14 @@ var require_scripting_bundle = __commonJS({ return this._checkItem(a2, !e3 || !e3.isArchDefinitionMenu, "you must pass in a valid ArchBaseMenuChoice instance."), this._checkItem(a2, !e3.canCreateFromDefinition, `instances of '${e3.label}' menu choices are not creatable from a menu definition. The menu definition has a canCreateFromDefinition property you can check before trying to create an instance of it.`), this.createArchMenuChoice(t3, i3, n3, o2, e3.actionNodeInformation.typeId, "addMenuChoiceFromDefinition"); } } - t2.ArchFactoryMenus = I, t2.default = new I(); + t2.ArchFactoryMenus = O, t2.default = new O(); }, 27099: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.__localFeatures = void 0, t2.isEnabled = p, t2.isDisabled = function(e3) { return !p(e3); }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = (n2.__importStar(i2(81858)), n2.__importStar(i2(24032))), a = n2.__importStar(i2(74359)), s = i2(24409), l = o.getTopic("featureToggles"), u = {}, d = {}; - function c(e3) { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = (n2.__importStar(i2(81858)), n2.__importStar(i2(24032))), a = n2.__importStar(i2(74359)), s = i2(24409), l = o.getTopic("featureToggles"), u = {}, c = {}; + function d(e3) { r2.default.each(u, (e4, t4) => { true === e4 && delete u[t4]; }), r2.default.each(e3, (e4, t4) => { @@ -33010,11 +36669,11 @@ var require_scripting_bundle = __commonJS({ function p(e3) { return u[e3]; } - d.archExpressionBuilders = true, d.archExpressionNoConfigError = true, d.archFuncToAudioTTSWithLang = true, d.archPhoneNumberPhase2 = true, d.archRenumber = true, d.archShortcuts = true, t2.__localFeatures = d, Promise.all([a.loaded, a.getAuthenticatedPromise()]).then(() => { - s.featureToggles({ feature: r2.default.keys(d) }).then((e3) => { - c(e3 || {}); + c.archExpressionBuilders = true, c.archExpressionNoConfigError = true, c.archFuncToAudioTTSWithLang = true, c.archPhoneNumberPhase2 = true, c.archRenumber = true, c.archShortcuts = true, t2.__localFeatures = c, Promise.all([a.loaded, a.getAuthenticatedPromise()]).then(() => { + s.featureToggles({ feature: r2.default.keys(c) }).then((e3) => { + d(e3 || {}); }).catch((e3) => { - l.errorPromise(e3, "failed to get feature toggles"), c({}); + l.errorPromise(e3, "failed to get feature toggles"), d({}); }); }); }, 27183: (e2, t2, i2) => { @@ -33025,8 +36684,8 @@ var require_scripting_bundle = __commonJS({ }, 27197: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.SkillValuePairs = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(58380)), s = n2.__importStar(i2(1115)), l = n2.__importStar(i2(81116)), u = i2(14394), d = i2(44703), c = n2.__importDefault(i2(11877)), p = i2(7401), _ = i2(47957), h = i2(67641); - class m extends d.ExpressionContainer { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(58380)), s = n2.__importStar(i2(1115)), l = n2.__importStar(i2(81116)), u = i2(14394), c = i2(44703), d = n2.__importDefault(i2(11877)), p = i2(7401), _ = i2(47957), h = i2(67641); + class m extends c.ExpressionContainer { constructor(e3, t3, i3) { super(e3.parentFlow, e3, t3, null, i3), this._initialize(); } @@ -33044,7 +36703,7 @@ var require_scripting_bundle = __commonJS({ } createItem(e3) { (e3 = e3 || new h()).skill = e3.skill || new p(); - const t3 = l.expression(this.parentFlow, this.parent, e3.skill, this.getSkillLabel(this.items.length), u.globalTypes.skill, null, u.globalTypes.skill.createExpressionOptionClass().setExtraRealtimeValidationEventSinkName(o.skillValueChanged)), i3 = new c.default(e3, t3), n3 = a.createEventSinkObject("skillValueChanged", i3.skill, () => { + const t3 = l.expression(this.parentFlow, this.parent, e3.skill, this.getSkillLabel(this.items.length), u.globalTypes.skill, null, u.globalTypes.skill.createExpressionOptionClass().setExtraRealtimeValidationEventSinkName(o.skillValueChanged)), i3 = new d.default(e3, t3), n3 = a.createEventSinkObject("skillValueChanged", i3.skill, () => { s.validateItem(this.parent, false, true); }); return a.registerEventSinkForEventEmitter(i3.skill.id, n3), i3; @@ -33082,7 +36741,7 @@ var require_scripting_bundle = __commonJS({ }, 27203: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(4648)), o = i2(26847), a = i2(55909), s = i2(33951), l = n2.__importDefault(i2(92140)), u = i2(47957), d = new class { + const n2 = i2(31635), r2 = n2.__importDefault(i2(4648)), o = i2(26847), a = i2(55909), s = i2(33951), l = n2.__importDefault(i2(92140)), u = i2(47957), c = new class { constructor() { this.outputIdsToLabels = {}, this.outputIdsToLabels[o.outputIds.active] = u.generic.branches.active, this.outputIdsToLabels[o.outputIds.canceled] = u.generic.branches.canceled, this.outputIdsToLabels[o.outputIds.closed] = u.generic.branches.closed, this.outputIdsToLabels[o.outputIds.conditionsNotMet] = u.voiceSurvey.voiceSurveyConditionsNotMetLabel, this.outputIdsToLabels[o.outputIds.default] = u.switch.default, this.outputIdsToLabels[o.outputIds.emergency] = u.generic.branches.emergency, this.outputIdsToLabels[o.outputIds.error] = u.generic.branches.error, this.outputIdsToLabels[o.outputIds.event] = u.generic.branches.event, this.outputIdsToLabels[o.outputIds.failure] = u.generic.branches.failure, this.outputIdsToLabels[o.outputIds.found] = u.generic.branches.found, this.outputIdsToLabels[o.outputIds.fake] = u.generic.branches.success, this.outputIdsToLabels[o.outputIds.holiday] = u.generic.branches.holiday, this.outputIdsToLabels[o.outputIds.inactive] = u.generic.branches.inactive, this.outputIdsToLabels[o.outputIds.knowledge] = u.generic.branches.knowledgeDialogEngine, this.outputIdsToLabels[o.outputIds.loop] = u.actions.loop, this.outputIdsToLabels[o.outputIds.loopNext] = u.generic.branches.loopNext, this.outputIdsToLabels[o.outputIds.loopsMax] = u.generic.branches.loopsMax, this.outputIdsToLabels[o.outputIds.matchExact] = u.generic.branches.matchExact, this.outputIdsToLabels[o.outputIds.matchMultiple] = u.generic.branches.matchMultiple, this.outputIdsToLabels[o.outputIds.maxNoInputs] = u.generic.branches.maxNoInputsBranch, this.outputIdsToLabels[o.outputIds.maxNoMatches] = u.generic.branches.maxNoMatchesBranch, this.outputIdsToLabels[o.outputIds.no] = u.generic.no, this.outputIdsToLabels[o.outputIds.noEvent] = u.generic.branches.noEvent, this.outputIdsToLabels[o.outputIds.noInput] = u.generic.branches.noInputBranch, this.outputIdsToLabels[o.outputIds.noIntent] = u.generic.branches.noIntent, this.outputIdsToLabels[o.outputIds.notFound] = u.generic.branches.notFound, this.outputIdsToLabels[o.outputIds.open] = u.generic.branches.open, this.outputIdsToLabels[o.outputIds.partiallyFound] = u.generic.branches.partiallyFound, this.outputIdsToLabels[o.outputIds.processed] = u.generic.branches.processed, this.outputIdsToLabels[o.outputIds.skipResponseCapture] = u.generic.branches.skipResponseCapture, this.outputIdsToLabels[o.outputIds.success] = u.generic.branches.success, this.outputIdsToLabels[o.outputIds.timeout] = u.generic.branches.timeout, this.outputIdsToLabels[o.outputIds.valid] = u.generic.branches.valid, this.outputIdsToLabels[o.outputIds.invalid] = u.generic.branches.invalid, this.outputIdsToLabels[o.outputIds.voicemail] = u.generic.branches.voicemail, this.outputIdsToLabels[o.outputIds.yes] = u.generic.yes; } @@ -33266,7 +36925,7 @@ var require_scripting_bundle = __commonJS({ }) : e3.supportedFlowTypes = t3, e3; } }(); - t2.default = d; + t2.default = c; }, 27244: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.GetJourneySessionActionModel = void 0; @@ -33325,11 +36984,11 @@ var require_scripting_bundle = __commonJS({ t2.default = u; }, 27283: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.queuedNetworkCallService = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importDefault(i2(73198)), s = n2.__importDefault(i2(36019)), l = i2(79516), u = i2(52023), d = a.default.msPerMinute, c = 3 * a.default.msPerSecond; - t2.queuedNetworkCallService = new class { + Object.defineProperty(t2, "__esModule", { value: true }), t2.queuedNetworkCallService = t2.INTERACTIVE_RETRY_POLICY = t2.SCRIPTING_RETRY_POLICY = t2.MAX_IN_FLIGHT_NETWORK_CALLS = t2.RETRYABLE_SOCKET_ERROR_CODES = void 0; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importDefault(i2(73198)), s = n2.__importDefault(i2(36019)), l = i2(79516), u = i2(52023), c = a.default.msPerMinute, d = 3 * a.default.msPerSecond; + t2.RETRYABLE_SOCKET_ERROR_CODES = ["EAI_AGAIN", "ECONNABORTED", "ECONNREFUSED", "ECONNRESET", "EMFILE", "ENFILE", "ENOTFOUND", "EPIPE", "ETIMEDOUT"], t2.MAX_IN_FLIGHT_NETWORK_CALLS = 64, t2.SCRIPTING_RETRY_POLICY = { maxRetryCount: 8, backoffFloorMs: d, backoffCeilingMs: 30 * a.default.msPerSecond, worstCaseRetryWindowMs: 165 * a.default.msPerSecond }, t2.INTERACTIVE_RETRY_POLICY = { maxRetryCount: 5, backoffFloorMs: d, backoffCeilingMs: d, worstCaseRetryWindowMs: 15 * a.default.msPerSecond }, t2.queuedNetworkCallService = new class { constructor() { - this._queuedNetworkCalls = [], this._rateLimitRestricted = false, this._rateResetRateLimit = 0, this._delayingRequests = false, this._resources = void 0; + this._queuedNetworkCalls = [], this._rateLimitRestricted = false, this._rateResetRateLimit = 0, this._delayingRequests = false, this._resources = void 0, this._inFlightCount = 0; } get rateLimitRestricted() { return this._rateLimitRestricted; @@ -33343,6 +37002,9 @@ var require_scripting_bundle = __commonJS({ set rateResetRateLimit(e3) { this._rateResetRateLimit = e3; } + get retryPolicy() { + return t2.SCRIPTING_RETRY_POLICY; + } get resources() { return r2.default.isUndefined(this._resources) && (this._resources = i2(47957)), this._resources; } @@ -33358,40 +37020,61 @@ var require_scripting_bundle = __commonJS({ t3.content(e3.request._content), t3.templateParams(e3.request._templateParams), t3.queryParams(e3.request._queryParams), e3.request = t3; } _rateLimitHandling(e3, t3) { - if (!this.rateLimitRestricted) { + if (this._advanceRetryCount(e3), !this.rateLimitRestricted) { this.rateLimitRestricted = true; try { - this.rateResetRateLimit = (parseInt(t3.headers["retry-after"]) + 1) * a.default.msPerSecond, r2.default.isActualNumber(this.rateResetRateLimit) || (this.rateResetRateLimit = d); + this.rateResetRateLimit = (parseInt(t3.headers["retry-after"]) + 1) * a.default.msPerSecond, r2.default.isActualNumber(this.rateResetRateLimit) || (this.rateResetRateLimit = c); } catch (e4) { - this.rateResetRateLimit = d; + this.rateResetRateLimit = c; } o.emitter.emit(o.rateLimited, this.rateResetRateLimit), o.emitter.emit(o.alert, { message: this.resources.alertService.architectBusy, type: l.AlertTypeEnum.info, delay: this.rateResetRateLimit }); } this._createNewRequest(e3), this._retryNetworkCall(e3); } + _advanceRetryCount(e3) { + !r2.default.isActualNumber(e3.retryCount) || e3.retryCount < 0 ? e3.retryCount = 1 : e3.retryCount++; + } + _hasRetriesRemaining(e3) { + return !r2.default.isActualNumber(e3.retryCount) || e3.retryCount < this.retryPolicy.maxRetryCount; + } _nonRateLimitedRetry(e3) { - !r2.default.isActualNumber(e3.retryCount) || e3.retryCount < 0 ? e3.retryCount = 1 : e3.retryCount++, setTimeout(() => { + this._advanceRetryCount(e3), setTimeout(() => { this._createNewRequest(e3), this._retryNetworkCall(e3); - }, c); + }, this._getRetryBackoffMs(e3.retryCount)); + } + _getRetryBackoffMs(e3) { + const t3 = this.retryPolicy, i3 = r2.default.isActualNumber(e3) && e3 > 0 ? e3 : 1, n3 = Math.min(t3.backoffFloorMs * Math.pow(2, i3 - 1), t3.backoffCeilingMs) - t3.backoffFloorMs; + return Math.round(t3.backoffFloorMs + Math.random() * n3); } _shiftAndMakeNetworkCall() { const e3 = this._queuedNetworkCalls.shift(); - e3.request.makeNetworkRequest().then((t3) => { + let i3; + this._inFlightCount++; + try { + i3 = e3.request.makeNetworkRequest(); + } catch (e4) { + throw this._inFlightCount--, e4; + } + i3.then((t3) => { e3.defer.resolve(t3); - }).catch((t3) => { - 429 === t3.status ? this._rateLimitHandling(e3, t3) : [408, 502, 503, 504].includes(t3.status) ? !r2.default.isActualNumber(e3.retryCount) || e3.retryCount < 5 ? this._nonRateLimitedRetry(e3) : (e3.request.info.options.ignoreBadResponse || o.emitter.emit(o.alert, { message: this.resources.lostConnection.connectionFailedNoRetry, requestError: t3, type: l.AlertTypeEnum.error }), e3.defer.reject(t3)) : "ETIMEDOUT" === t3.code || "ENOTFOUND" === t3.code || "ECONNRESET" === t3.code ? this._nonRateLimitedRetry(e3) : e3.defer.reject(t3); - }), this._processQueue(); + }).catch((i4) => { + const n3 = 429 === i4.status; + n3 || [408, 502, 503, 504].includes(i4.status) || t2.RETRYABLE_SOCKET_ERROR_CODES.includes(i4.code) ? this._hasRetriesRemaining(e3) ? n3 ? this._rateLimitHandling(e3, i4) : this._nonRateLimitedRetry(e3) : (e3.request.info.options.ignoreBadResponse || o.emitter.emit(o.alert, { message: this.resources.lostConnection.connectionFailedNoRetry, requestError: i4, type: l.AlertTypeEnum.error }), e3.defer.reject(i4)) : e3.defer.reject(i4); + }).finally(() => { + this._inFlightCount--, this._processQueue(); + }); } _processQueue() { - this.rateLimitRestricted && !this._delayingRequests ? (this._delayingRequests = true, setTimeout(() => { + if (this.rateLimitRestricted) this._delayingRequests || (this._delayingRequests = true, setTimeout(() => { this.rateLimitRestricted = false, this._delayingRequests = false, this._processQueue(); - }, this.rateResetRateLimit)) : !this.rateLimitRestricted && this._queuedNetworkCalls.length > 0 && this._shiftAndMakeNetworkCall(); + }, this.rateResetRateLimit)); + else for (; this._queuedNetworkCalls.length > 0 && this._inFlightCount < t2.MAX_IN_FLIGHT_NETWORK_CALLS; ) this._shiftAndMakeNetworkCall(); } }(); }, 27313: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(59288)), s = n2.__importStar(i2(58380)), l = n2.__importStar(i2(1115)), u = i2(12179), d = i2(12457), c = n2.__importDefault(i2(97891)), p = i2(24383), _ = n2.__importDefault(i2(5730)), h = n2.__importStar(i2(12847)), m = i2(26847), g = i2(47957); - class f extends _.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(59288)), s = n2.__importStar(i2(58380)), l = n2.__importStar(i2(1115)), u = i2(12179), c = i2(12457), d = n2.__importDefault(i2(97891)), p = i2(24383), _ = n2.__importDefault(i2(5730)), h = n2.__importStar(i2(12847)), m = i2(26847), g = i2(1910), f = i2(69453), T = n2.__importDefault(i2(4648)), y = i2(47957); + class S extends _.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -33405,7 +37088,7 @@ var require_scripting_bundle = __commonJS({ return this.topParent.getBranches().find((e3) => e3.outputId === m.outputIds.default); } getDetails() { - return this.pathName ? new d.ActionDetails([g.task.path], [this.pathName]) : null; + return this.pathName ? new c.ActionDetails([y.task.path], [this.pathName]) : null; } get _isInCommonModuleTask() { return this.topParent.isCommonModuleTaskViewModel; @@ -33419,7 +37102,7 @@ var require_scripting_bundle = __commonJS({ super._initializeDesignTime(); } initialize() { - super.initialize(), this.pathReference && a.setBranchConsumer(this.topParent.id, this.pathReference, this, (0, r2.sprintf)(g.task.outputPathForTask, this.topParent.name)), s.registerEventSinkForEventEmitter(this.parent.id, this); + super.initialize(), this.pathReference && a.setBranchConsumer(this.topParent.id, this.pathReference, this, (0, r2.sprintf)(y.task.outputPathForTask, this.topParent.name)), s.registerEventSinkForEventEmitter(this.parent.id, this); } get isEndTask() { return true; @@ -33440,27 +37123,43 @@ var require_scripting_bundle = __commonJS({ return this.model.pathReference; } set pathReference(e3) { - this._isInCommonModuleTask && e3 && (h.error("this action does not support output paths"), e3 = void 0), e3 !== this.model.pathReference && (this.model.pathReference && a.removeBranchConsumer(this.topParent.id, this.model.pathReference, this), this.model.pathReference = e3, this.model.pathReference && a.setBranchConsumer(this.topParent.id, this.model.pathReference, this, (0, r2.sprintf)(g.task.outputPathForTask, this.topParent.name)), this.initializeDesignTimeCalled && l.validateAction(this)); + this._isInCommonModuleTask && e3 && (h.error("this action does not support output paths"), e3 = void 0), e3 !== this.model.pathReference && (this.model.pathReference && a.removeBranchConsumer(this.topParent.id, this.model.pathReference, this), this.model.pathReference = e3, this.model.pathReference && a.setBranchConsumer(this.topParent.id, this.model.pathReference, this, (0, r2.sprintf)(y.task.outputPathForTask, this.topParent.name)), this.initializeDesignTimeCalled && l.validateAction(this)); + } + _configureFromModel(e3, t3, i3) { + super._configureFromModel(e3, t3, i3); + const n3 = e3.outputPath; + if ((0, g.isConfigureFromModelRecord)(n3)) { + const e4 = n3, t4 = "string" == typeof e4.name ? e4.name : void 0; + if (t4) { + const e5 = m.outputIds[t4]; + e5 ? (this.pathName = t4, this.pathReference = e5) : (this.pathName = t4, i3.registerDeferredOp({ type: "resolveEndTaskOutputPath", execute: () => { + if (this.topParent && this.topParent.supportsCustomOutputPaths) { + const e6 = this.topParent.getBranches().find((e7) => e7.label === t4); + e6 ? this.pathReference = e6.outputId : i3.warn((0, r2.sprintf)(f.configureFromModel.outputPathNotFoundOnParentTask, t4, this.topParent.name)); + } + } })); + } + } } postProcessYamlConfig(e3, t3, i3) { var n3, r3; this.pathName && ((null === (n3 = this.pathReference) || void 0 === n3 ? void 0 : n3.startsWith("__")) && (null === (r3 = this.pathReference) || void 0 === r3 ? void 0 : r3.endsWith("__")) ? e3.outputPath = { name: this.getYamlOutputId(this.pathReference) } : e3.outputPath = { name: this.pathName }); } search(e3) { - super.search(e3), this.pathName && e3.checkText(this, this.pathName, g.task.path); + super.search(e3), this.pathName && e3.checkText(this, this.pathName, y.task.path); } validate(e3) { - super.validate(e3), this.topParent && this.topParent.supportsCustomOutputPaths && (this.pathReference ? o.default.find(this.topParent.getBranches(), (e4) => e4.outputId === this.pathReference) || (this.pathName ? e3.addError(this, (0, r2.sprintf)(g.expression.literalDropDownValueDoesNotExist, g.task.path, this.pathName)) : e3.addError(this, g.task.invalidBranchReference)) : e3.addError(this, g.task.noPathReference)); + super.validate(e3), this.topParent && this.topParent.supportsCustomOutputPaths && (this.pathReference ? o.default.find(this.topParent.getBranches(), (e4) => e4.outputId === this.pathReference) || (this.pathName ? e3.addError(this, (0, r2.sprintf)(y.expression.literalDropDownValueDoesNotExist, y.task.path, this.pathName)) : e3.addError(this, y.task.invalidBranchReference)) : e3.addError(this, y.task.noPathReference)); } } - f.info = c.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: u.helpTopics.actions.endTask, modelClass: i2(20611), name: g.actions.endTask, scriptingName: "ArchActionEndTask", termination: p.terminatesTask, availabilityCallback: function(e3, t3, i3) { + S.info = d.default.createActionInfo({ actionClass: S, canBeInTask: true, helpTopic: u.helpTopics.actions.endTask, modelClass: i2(20611), name: y.actions.endTask, scriptingName: "ArchActionEndTask", modelFormatSupport: { flowYaml: { inProgress: true, feature: T.default.changeSetsFeaturePhase2 } }, termination: p.terminatesTask, availabilityCallback: function(e3, t3, i3) { return !(!i3 || !t3.supportsCustomOutputPaths) || t3.isCommonModuleTaskViewModel; - } }), t2.A = f; + } }), t2.A = S; }, 27314: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DateTimeType = void 0; - const n2 = i2(31635).__importDefault(i2(95093)), r2 = i2(17604), o = i2(64472), a = i2(90342), s = i2(80428); - class l extends a.BaseTypeWithDate { + const n2 = i2(31635), r2 = n2.__importDefault(i2(95093)), o = i2(17604), a = i2(69453), s = i2(64472), l = i2(1910), u = n2.__importDefault(i2(73198)), c = i2(90342), d = i2(80428); + class p extends c.BaseTypeWithDate { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -33468,11 +37167,11 @@ var require_scripting_bundle = __commonJS({ return "DateTimeType"; } createExpressionOptionClass() { - return new o.ExpressionTypeDateTimeOptions(this.isCollection); + return new s.ExpressionTypeDateTimeOptions(this.isCollection); } convertLitToExpression(e3, t3) { const i3 = this.getParsedDate(t3, null, false); - return i3 ? (0, r2.sprintf)("MakeDateTime(%s, %s, %s, %s, %s, %s)", i3.year, i3.month, i3.date, i3.hours, i3.minutes, i3.seconds) : t3; + return i3 ? (0, o.sprintf)("MakeDateTime(%s, %s, %s, %s, %s, %s)", i3.year, i3.month, i3.date, i3.hours, i3.minutes, i3.seconds) : t3; } _getLiteralValueOfExpression() { return ""; @@ -33483,20 +37182,32 @@ var require_scripting_bundle = __commonJS({ return { year: t3.year, month: t3.month, day: t3.date, hour: t3.hours, minute: t3.minutes, second: t3.seconds }; } searchExpression(e3, t3) { - const i3 = n2.default.utc(t3.text); + const i3 = r2.default.utc(t3.text); if (t3.isLiteralMode && i3) { let n3 = i3.hours(); - const o2 = n3 >= 12 ? "PM" : "AM"; + const r3 = n3 >= 12 ? "PM" : "AM"; n3 = n3 > 12 ? n3 - 12 : n3; - const a2 = (0, r2.sprintf)("%s-%02d-%02d %s:%02d:%02d %s", i3.year(), i3.month() + 1, i3.date(), n3, i3.minutes(), i3.seconds(), o2); + const a2 = (0, o.sprintf)("%s-%02d-%02d %s:%02d:%02d %s", i3.year(), i3.month() + 1, i3.date(), n3, i3.minutes(), i3.seconds(), r3); e3.checkText(t3, a2, t3.label); } else super.searchExpression(e3, t3); } convertLitToCustomJsonStr(e3, t3, i3, n3) { return `"${i3 || t3 || ""}"`; } + applyLiteralFromModel(e3, t3, i3, n3) { + if (null == t3) return; + if ("string" == typeof t3) return void e3.setAsLiteral(t3); + if ("object" != typeof t3 || Array.isArray(t3)) return void (n3 && n3.warn((0, o.sprintf)(a.configureFromModel.dateTimeLiteralExpectedObjectOrString, Array.isArray(t3) ? "array" : typeof t3))); + const r3 = t3; + if ("number" != typeof r3.year) return void (n3 && n3.warn(a.configureFromModel.dateTimeLiteralRequiresYear)); + const s2 = r3.year, c2 = "number" == typeof r3.month ? r3.month : 1, d2 = "number" == typeof r3.day ? r3.day : 1, p2 = "number" == typeof r3.hour ? r3.hour : 0, _ = "number" == typeof r3.minute ? r3.minute : 0, h = "number" == typeof r3.second ? r3.second : 0; + if (this.enforceValueLimit(s2 >= u.default.minDateYear && s2 <= u.default.maxDateYear, (0, o.sprintf)(a.configureFromModel.dateTimeLiteralPartOutOfRange, "year", s2, u.default.minDateYear, u.default.maxDateYear), n3) && this.enforceValueLimit(c2 >= 1 && c2 <= 12, (0, o.sprintf)(a.configureFromModel.dateTimeLiteralPartOutOfRange, "month", c2, 1, 12), n3) && this.enforceValueLimit(d2 >= 1 && d2 <= 31, (0, o.sprintf)(a.configureFromModel.dateTimeLiteralPartOutOfRange, "day", d2, 1, 31), n3) && this.enforceValueLimit(p2 >= 0 && p2 <= 23, (0, o.sprintf)(a.configureFromModel.dateTimeLiteralPartOutOfRange, "hour", p2, 0, 23), n3) && this.enforceValueLimit(_ >= 0 && _ <= 59, (0, o.sprintf)(a.configureFromModel.dateTimeLiteralPartOutOfRange, "minute", _, 0, 59), n3) && this.enforceValueLimit(h >= 0 && h <= 59, (0, o.sprintf)(a.configureFromModel.dateTimeLiteralPartOutOfRange, "second", h, 0, 59), n3) && (e3.setAsLiteral((0, o.sprintf)("%04d-%02d-%02dT%02d:%02d:%02d+00:00", s2, c2, d2, p2, _, h)), n3)) { + const e4 = /* @__PURE__ */ new Set(["year", "month", "day", "hour", "minute", "second"]), t4 = this.dataType || "dateTime"; + for (const i4 of Object.keys(r3)) e4.has(i4) || (0, l.reportAdditionalProperty)(i4, t4, n3); + } + } } - t2.DateTimeType = l, l.typeIdentifier = s.expressionTypeNames.dateTime; + t2.DateTimeType = p, p.typeIdentifier = d.expressionTypeNames.dateTime; }, 27341: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.GENERETIVE_AI_TYPE = void 0, t2.switchToNewIntentPaths = function(e3, t3, i3) { @@ -33540,7 +37251,7 @@ var require_scripting_bundle = __commonJS({ }, 27362: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.LineItemType = t2.PROP_LISTING_PRICE = t2.PROP_LISTING_NAME = void 0; - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(73198)), a = i2(27491), s = i2(94765), l = i2(70812), u = i2(80428), d = i2(14394), c = i2(47957); + const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(73198)), a = i2(27491), s = i2(94765), l = i2(70812), u = i2(80428), c = i2(14394), d = i2(47957); t2.PROP_LISTING_NAME = "listingname", t2.PROP_LISTING_PRICE = "listingprice"; class p extends s.ExpressionType { constructor(e3, t3, i3) { @@ -33550,7 +37261,7 @@ var require_scripting_bundle = __commonJS({ return "LineItemType"; } canConvertLitToExpression(e3) { - return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeLineItem", e3, [d.globalTypes.string, d.globalTypes.currency]); + return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeLineItem", e3, [c.globalTypes.string, c.globalTypes.currency]); } convertLitToExpression(e3, t3, i3, n3) { var r3, a2; @@ -33575,10 +37286,10 @@ var require_scripting_bundle = __commonJS({ var o2; switch (super.configurePropertyCreationParams(e3, i3, n3), n3.options.setIninTestingField(`line-item-${i3.name}`), n3.options.setAsInput(true), n3.options.setDefaultToNoValue(true), i3.name.toLowerCase()) { case t2.PROP_LISTING_NAME: - n3.options.setIsOptional(false), n3.options.setDescriptionInfo(c.askForPayment.askForPaymentListingName, c.askForPayment.askForPaymentListingNameDesc), n3.options.facets.setMaxLength(512).setAllowNull(false).setMinLength(1); + n3.options.setIsOptional(false), n3.options.setDescriptionInfo(d.askForPayment.askForPaymentListingName, d.askForPayment.askForPaymentListingNameDesc), n3.options.facets.setMaxLength(512).setAllowNull(false).setMinLength(1); break; case t2.PROP_LISTING_PRICE: - n3.options.setIsOptional(false), (null === (o2 = e3.parent.info) || void 0 === o2 ? void 0 : o2.typeId) === r2.askForPaymentActionType && n3.options.setCurrencyAmountOnly(true), n3.options.setDescriptionInfo(c.askForPayment.askForPaymentListingPrice, c.askForPayment.askForPaymentListingPriceDesc), n3.options.facets.setMinValInclusive(true).setMinDec(-1e9).setMaxValInclusive(true).setMaxDec(1e9).setDecimalPlaces(3); + n3.options.setIsOptional(false), (null === (o2 = e3.parent.info) || void 0 === o2 ? void 0 : o2.typeId) === r2.askForPaymentActionType && n3.options.setCurrencyAmountOnly(true), n3.options.setDescriptionInfo(d.askForPayment.askForPaymentListingPrice, d.askForPayment.askForPaymentListingPriceDesc), n3.options.facets.setMinValInclusive(true).setMinDec(-1e9).setMaxValInclusive(true).setMaxDec(1e9).setDecimalPlaces(3); } } get hasRichLiteralEditor() { @@ -33694,7 +37405,7 @@ var require_scripting_bundle = __commonJS({ }, 27491: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.expressionDataService = void 0; - const n2 = i2(31635), r2 = (i2(96618), i2(17604)), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(74359)), s = i2(16321), l = n2.__importStar(i2(12847)), u = n2.__importStar(i2(85705)), d = i2(24812), c = n2.__importDefault(i2(41510)), p = n2.__importStar(i2(66381)), _ = i2(53e3), h = i2(13139), m = n2.__importStar(i2(14187)), g = n2.__importStar(i2(58801)), f = n2.__importDefault(i2(22226)), T = n2.__importStar(i2(9345)), y = i2(14394), S = i2(47875), A = n2.__importStar(i2(55656)), N = i2(27862), O = i2(40810), I = i2(19502), v = i2(44051), C = i2(36470), b = i2(47957), E = {}; + const n2 = i2(31635), r2 = (i2(96618), i2(17604)), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(74359)), s = i2(16321), l = n2.__importStar(i2(12847)), u = n2.__importStar(i2(85705)), c = i2(24812), d = n2.__importDefault(i2(41510)), p = n2.__importStar(i2(66381)), _ = i2(53e3), h = i2(13139), m = n2.__importStar(i2(14187)), g = n2.__importStar(i2(58801)), f = n2.__importDefault(i2(22226)), T = n2.__importStar(i2(9345)), y = i2(14394), S = i2(47875), A = n2.__importStar(i2(55656)), N = i2(27862), v = i2(40810), O = i2(19502), I = i2(44051), C = i2(36470), b = i2(47957), E = {}; t2.expressionDataService = new class { constructor() { this.expressionFuncOps = [], this.expressionFuncOpsByText = [], this.expressionFuncOpsById = {}, this.expressionFuncOpsByOverloadId = {}, this.expressionFuncOpCategories = {}, this.expressionFuncOpCollections = [], Promise.all([a.getAuthenticatedPromise(), a.bootstrapLanguageDataLoaded, a.featureTogglesLoaded]).then((e3) => { @@ -33830,7 +37541,7 @@ var require_scripting_bundle = __commonJS({ if (1 === e3.length) return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(t3, b.expression.functions.noOverloadOneParm, e3[0].getErrorDisplayText()), t3.position, t3.rootText); if (e3.length > 0) { let i3 = ""; - for (let t4 = 0; t4 < e3.length; t4++) t4 > 0 && (t4 === e3.length - 1 ? i3 += b.itemListing.lastItemAndSeparator : i3 += c.default.itemListing.itemSeparator), i3 += e3[t4].getErrorDisplayText(); + for (let t4 = 0; t4 < e3.length; t4++) t4 > 0 && (t4 === e3.length - 1 ? i3 += b.itemListing.lastItemAndSeparator : i3 += d.default.itemListing.itemSeparator), i3 += e3[t4].getErrorDisplayText(); return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(t3, b.expression.functions.noOverloadMoreThanOneParm, i3), t3.position, t3.getTextWithFuncOpTextFallback()); } return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(t3, b.expression.functions.noOverloadNoParm), t3.position, t3.getTextWithFuncOpTextFallback()); @@ -33845,16 +37556,16 @@ var require_scripting_bundle = __commonJS({ return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterValueMustBeVariableScope, i3.name, t3.position, `${m.getCasedScope(i3.mustBeVariableScope)}.`), t3.position, e3.getTextWithFuncOpTextFallback()); } _getRuntimePlaybackNotSupportedErrorResult(e3, t3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.dataPlaybackNotSupportedForLanguage, (0, r2.sprintf)(c.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.dataPlaybackNotSupportedForLanguage, (0, r2.sprintf)(d.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); } _getOverloadNotSupportedForLanguageErrorResult(e3, t3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.overloadNotSupportedForLanguage, (0, r2.sprintf)(c.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.overloadNotSupportedForLanguage, (0, r2.sprintf)(d.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); } _getTTSEngineNotValidErrorResult(e3, t3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.ttsEngineNotValidForLanguage, (0, r2.sprintf)(c.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.ttsEngineNotValidForLanguage, (0, r2.sprintf)(d.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); } _getTTSEngineNotSupportedErrorResult(e3, t3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.ttsNotSupportedForLanguage, (0, r2.sprintf)(c.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.ttsNotSupportedForLanguage, (0, r2.sprintf)(d.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); } _getTTSNotSupportedForFlowTypeErrorResult(e3, t3) { const i3 = (null == t3 ? void 0 : t3.length) > 1 ? b.expression.ttsNotSupportedForFlowTypes : b.expression.ttsNotSupportedForFlowType; @@ -33880,12 +37591,12 @@ var require_scripting_bundle = __commonJS({ return i4 ? { providerFixedValue: i4 } : { parameterErrorStr: b.expression.functions.parameterTypeDialingCode }; } case S.literalValidatorNames.supportedTTSLangs: { - const e4 = t3.getStringLit(), n3 = d.isoLanguages[e4.toLowerCase()]; + const e4 = t3.getStringLit(), n3 = c.isoLanguages[e4.toLowerCase()]; return n3 && n3.getSupportsTTSPlaybackForFlow(i3.parentFlow) ? { providerFixedValue: n3.id } : { parameterErrorStr: b.expression.functions.parameterTypeTTSEngineLang }; } case S.literalValidatorNames.iso4217: { const e4 = t3.getStringLit(); - return I[e4.toUpperCase()] ? { providerFixedValue: e4.toUpperCase() } : { parameterErrorStr: b.expression.functions.parameterTypeCurrencyCode }; + return O[e4.toUpperCase()] ? { providerFixedValue: e4.toUpperCase() } : { parameterErrorStr: b.expression.functions.parameterTypeCurrencyCode }; } case S.literalValidatorNames.timeZones: { const e4 = t3.getStringLit(); @@ -33952,14 +37663,14 @@ var require_scripting_bundle = __commonJS({ if (!e3) return e3; let t3, i3, n3; try { - const r3 = new O.runtime.ANTLRStringStream(e3); - i3 = new v(r3), i3.displayRecognitionError = function(e4, t4) { + const r3 = new v.runtime.ANTLRStringStream(e3); + i3 = new I(r3), i3.displayRecognitionError = function(e4, t4) { }; - const o2 = new O.runtime.CommonTokenStream(i3); + const o2 = new v.runtime.CommonTokenStream(i3); n3 = new C(o2), n3.displayRecognitionError = function(e4, t4) { }.bind(this); const a2 = n3.designerexpression().getTree(); - a2 && (t3 = a2.getType() === v.IDENTIFIER); + a2 && (t3 = a2.getType() === I.IDENTIFIER); } catch (e4) { } return i3 && (i3.displayRecognitionError = null), n3 && (n3.displayRecognitionError = null), t3 ? e3 : f.default.getQuotedExpressionStringLiteral(e3); @@ -34272,7 +37983,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.smsPhoneNumberManager = t2.SmsPhoneNumberManager = void 0; const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(60453)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(27862); - class d extends s.default { + class c extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.smsPhoneNumberView; } @@ -34283,7 +37994,7 @@ var require_scripting_bundle = __commonJS({ super(), this.topic = a.getTopic("SmsPhoneNumberManager"), this.apiCallList = o.getSmsPhoneNumbers, this.apiCallSingle = o.getSmsPhoneNumber, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [], this.className = "SmsPhoneNumberManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = null, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "smsPhoneNumber", this.useStartsWithKeywordForExactMatch = true, this._initialize(); } } - t2.SmsPhoneNumberManager = d, t2.smsPhoneNumberManager = new d(); + t2.SmsPhoneNumberManager = c, t2.smsPhoneNumberManager = new c(); }, 27854: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.prefixes = void 0, t2.hasSystemPromptPrefix = o, t2.hasUserPromptPrefix = a, t2.hasPromptPrefix = function(e3) { @@ -34341,75 +38052,72 @@ var require_scripting_bundle = __commonJS({ }, 27936: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(77685), a = n2.__importStar(i2(77685)), s = i2(12179), l = n2.__importStar(i2(34475)), u = i2(47957), d = new class { + const n2 = i2(31635), r2 = i2(96618), o = i2(12179), a = i2(12179), s = n2.__importStar(i2(34475)), l = i2(47957), u = new class { constructor() { - this.linkIdsToLinkUrl = {}, this.linkIdsToLinkUrl[this.aboutGenesysVirtualAgent.id] = this.aboutGenesysVirtualAgent, this.linkIdsToLinkUrl[this.adminOrganizationSettings.id] = this.adminOrganizationSettings, this.linkIdsToLinkUrl[this.decisionTableUsageFees.id] = this.decisionTableUsageFees, this.linkIdsToLinkUrl[this.flowsCallingFlows.id] = this.flowsCallingFlows, this.linkIdsToLinkUrl[this.genesysCloudTokensBasedPricingModel.id] = this.genesysCloudTokensBasedPricingModel, this.linkIdsToLinkUrl[this.resourceCenter.id] = this.resourceCenter, this.linkIdsToLinkUrl[this.resourceCenterExecutionData.id] = this.resourceCenterExecutionData, this.linkIdsToLinkUrl[this.resourceCenterUrlCustomKnowledge.id] = this.resourceCenterUrlCustomKnowledge, this.linkIdsToLinkUrl[this.resourceCenterUrlInNewWindow.id] = this.resourceCenterUrlInNewWindow, this.linkIdsToLinkUrl[this.sttEngineOverview.id] = this.sttEngineOverview, this.linkIdsToLinkUrl[this.surveyFormsAdmin.id] = this.surveyFormsAdmin, this.linkIdsToLinkUrl[this.surveyFormAdmin.id] = this.surveyFormAdmin, this.linkIdsToLinkUrl[this.voiceMismatchHelp.id] = this.voiceMismatchHelp, this.linkIdsToLinkUrl[this.voiceSurveyFlows.id] = this.voiceSurveyFlows, this.linkIdsToLinkUrl[this.webChatDeprecation.id] = this.webChatDeprecation, this.linkIdsToLinkUrl[this.workitemFlows.id] = this.workitemFlows, this.linkIdsToLinkUrl[this.workTypesAdmin.id] = this.workTypesAdmin, this.linkIdsToLinkUrl[this.workTypeCustomAttributesAdmin.id] = this.workTypeCustomAttributesAdmin, this.linkIdsToLinkUrl[this.botFlowSettingsNode.id] = this.botFlowSettingsNode, this.linkIdsToLinkUrl[this.summaryWorkbench.id] = this.summaryWorkbench; + this.linkIdsToLinkUrl = {}, this.linkIdsToLinkUrl[this.aboutGenesysVirtualAgent.id] = this.aboutGenesysVirtualAgent, this.linkIdsToLinkUrl[this.adminOrganizationSettings.id] = this.adminOrganizationSettings, this.linkIdsToLinkUrl[this.decisionTableUsageFees.id] = this.decisionTableUsageFees, this.linkIdsToLinkUrl[this.flowsCallingFlows.id] = this.flowsCallingFlows, this.linkIdsToLinkUrl[this.genesysCloudTokensBasedPricingModel.id] = this.genesysCloudTokensBasedPricingModel, this.linkIdsToLinkUrl[this.resourceCenter.id] = this.resourceCenter, this.linkIdsToLinkUrl[this.resourceCenterExecutionData.id] = this.resourceCenterExecutionData, this.linkIdsToLinkUrl[this.resourceCenterUrlCustomKnowledge.id] = this.resourceCenterUrlCustomKnowledge, this.linkIdsToLinkUrl[this.sttEngineOverview.id] = this.sttEngineOverview, this.linkIdsToLinkUrl[this.surveyFormsAdmin.id] = this.surveyFormsAdmin, this.linkIdsToLinkUrl[this.surveyFormAdmin.id] = this.surveyFormAdmin, this.linkIdsToLinkUrl[this.voiceMismatchHelp.id] = this.voiceMismatchHelp, this.linkIdsToLinkUrl[this.voiceSurveyFlows.id] = this.voiceSurveyFlows, this.linkIdsToLinkUrl[this.webChatDeprecation.id] = this.webChatDeprecation, this.linkIdsToLinkUrl[this.workitemFlows.id] = this.workitemFlows, this.linkIdsToLinkUrl[this.workTypesAdmin.id] = this.workTypesAdmin, this.linkIdsToLinkUrl[this.workTypeCustomAttributesAdmin.id] = this.workTypeCustomAttributesAdmin, this.linkIdsToLinkUrl[this.botFlowSettingsNode.id] = this.botFlowSettingsNode, this.linkIdsToLinkUrl[this.summaryWorkbench.id] = this.summaryWorkbench; } get className() { return "LinkInfo"; } get adminOrganizationSettings() { - return { id: "__ORGANIZATION_SETTINGS__", linkTitle: u.admin.adminOrganizationSettingsLabel, getLinkUrl: () => l.getAdminOrganizationSettingsUrl(), name: "Link.OrganizationSettings" }; + return { id: "__ORGANIZATION_SETTINGS__", linkTitle: l.admin.adminOrganizationSettingsLabel, getLinkUrl: () => s.getAdminOrganizationSettingsUrl(), name: "Link.OrganizationSettings" }; } get flowsCallingFlows() { - return { id: "__FLOWS_CALLING_FLOWS__", getLinkUrl: () => (0, o.getHelpUrl)(s.helpTopics.articles.flowsCallingFlows), linkTitle: u.help.resourceCenter, name: "Link.FlowsCallingFlows", helpTopic: s.helpTopics.articles.flowsCallingFlows }; + return { id: "__FLOWS_CALLING_FLOWS__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.flowsCallingFlows), linkTitle: l.help.resourceCenter, name: "Link.FlowsCallingFlows", helpTopic: a.helpTopics.articles.flowsCallingFlows }; } get resourceCenter() { - return { id: "__RESOURCE_CENTER__", getLinkUrl: () => a.getHelpUrl(s.helpTopics.articles.resourceCenter), linkTitle: u.help.resourceCenter, name: "Link.ResourceCenter", helpTopic: s.helpTopics.articles.resourceCenter }; + return { id: "__RESOURCE_CENTER__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.resourceCenter), linkTitle: l.help.resourceCenter, name: "Link.ResourceCenter", helpTopic: a.helpTopics.articles.resourceCenter, openHelpInNewWindow: true }; } get decisionTableUsageFees() { - return { id: "__DECISION_TABLE_USAGE_FEES__", getLinkUrl: () => a.getHelpUrl(s.helpTopics.articles.decisionTableUsageFees), linkTitle: u.help.resourceCenter, name: "Link.DecisionTablesUsageFees", helpTopic: s.helpTopics.articles.decisionTableUsageFees }; + return { id: "__DECISION_TABLE_USAGE_FEES__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.decisionTableUsageFees), linkTitle: l.help.resourceCenter, name: "Link.DecisionTablesUsageFees", helpTopic: a.helpTopics.articles.decisionTableUsageFees }; } get summaryWorkbench() { - return { id: "__SUMMARY_WORKBENCH__", linkTitle: u.customNodes.virtualAgentSettings.conversationSummarySettingsWorkbenchBanner, getLinkUrl: () => l.getAdminConversationSummarySettingUrl() }; - } - get resourceCenterUrlInNewWindow() { - return { id: "__RESOURCE_CENTER_URL_NEW_WINDOW__", getLinkUrl: () => a.getHelpUrl(s.helpTopics.articles.resourceCenter), helpTopic: s.helpTopics.articles.resourceCenter, name: "Link.ResourceCenterNewWindow", onClick: () => a.openHelpTopic(s.helpTopics.articles.resourceCenter, { forceNewWindow: true }) }; + return { id: "__SUMMARY_WORKBENCH__", linkTitle: l.customNodes.virtualAgentSettings.conversationSummarySettingsWorkbenchBanner, getLinkUrl: () => s.getAdminConversationSummarySettingUrl() }; } get resourceCenterUrlCustomKnowledge() { - return { id: "__RESOURCE_CENTER_URL_CUSTOM_KNOWLEDGE__", getLinkUrl: () => a.getHelpUrl(s.helpTopics.articles.customKnowledge), helpTopic: s.helpTopics.articles.customKnowledge, name: "Link.ResourceCenterCustomKnowledge" }; + return { id: "__RESOURCE_CENTER_URL_CUSTOM_KNOWLEDGE__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.customKnowledge), helpTopic: a.helpTopics.articles.customKnowledge, name: "Link.ResourceCenterCustomKnowledge" }; } get resourceCenterExecutionData() { - return { id: "__RESOURCE_CENTER_EXECUTION_DATA__", getLinkUrl: () => a.getHelpUrl(s.helpTopics.articles.historicalExecutionDataOverview), linkTitle: u.help.resourceCenter, name: "Link.ResourceCenterExecutionData", helpTopic: s.helpTopics.articles.historicalExecutionDataOverview }; + return { id: "__RESOURCE_CENTER_EXECUTION_DATA__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.historicalExecutionDataOverview), linkTitle: l.help.resourceCenter, name: "Link.ResourceCenterExecutionData", helpTopic: a.helpTopics.articles.historicalExecutionDataOverview }; } get aboutGenesysVirtualAgent() { - return { id: "__VIRTUAL_AGENT_HELP__", getLinkUrl: () => a.getHelpUrl(s.helpTopics.articles.aboutGenesysVirtualAgent), name: "Link.ResourceCenterVirtualAgent", helpTopic: s.helpTopics.articles.aboutGenesysVirtualAgent }; + return { id: "__VIRTUAL_AGENT_HELP__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.aboutGenesysVirtualAgent), name: "Link.ResourceCenterVirtualAgent", helpTopic: a.helpTopics.articles.aboutGenesysVirtualAgent }; } get genesysCloudTokensBasedPricingModel() { - return { id: "__GENESYS_CLOUD_TOKENS_BASED_PRICING_MODEL__", getLinkUrl: () => a.getHelpUrl(s.helpTopics.articles.genesysCloudTokensBasedPricingModel), linkTitle: u.help.resourceCenter, name: "Link.ResourceCenterTokenBasedPricingModel", helpTopic: s.helpTopics.articles.genesysCloudTokensBasedPricingModel }; + return { id: "__GENESYS_CLOUD_TOKENS_BASED_PRICING_MODEL__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.genesysCloudTokensBasedPricingModel), linkTitle: l.help.resourceCenter, name: "Link.ResourceCenterTokenBasedPricingModel", helpTopic: a.helpTopics.articles.genesysCloudTokensBasedPricingModel }; } get sttEngineOverview() { - return { id: "__STT_ENGINE_OVERVIEW__", getLinkUrl: () => a.getHelpUrl(s.helpTopics.articles.sttEngineOverview), name: "link.sttEngineOverview", helpTopic: s.helpTopics.articles.sttEngineOverview }; + return { id: "__STT_ENGINE_OVERVIEW__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.sttEngineOverview), name: "link.sttEngineOverview", helpTopic: a.helpTopics.articles.sttEngineOverview }; } get surveyFormsAdmin() { - return { id: "__SURVEY_FORMS__", getLinkUrl: () => l.getAdminSurveyFormsUrl() }; + return { id: "__SURVEY_FORMS__", getLinkUrl: () => s.getAdminSurveyFormsUrl() }; } get surveyFormAdmin() { - return { id: "__SURVEY_FORM__", getLinkUrl: () => l.getAdminSurveyFormsUrl() }; + return { id: "__SURVEY_FORM__", getLinkUrl: () => s.getAdminSurveyFormsUrl() }; } get voiceMismatchHelp() { - return { id: "__VOICE_MISMATCH_LINK__", getLinkUrl: () => (0, o.getHelpUrl)(s.helpTopics.articles.ttsOverview), helpTopic: s.helpTopics.articles.ttsOverview }; + return { id: "__VOICE_MISMATCH_LINK__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.ttsOverview), helpTopic: a.helpTopics.articles.ttsOverview }; } get voiceSurveyFlows() { - return { id: "__VOICE_SURVEY_FLOWS__", getLinkUrl: () => l.getArchitectFlowsBaseUrl(r2.flowTypes.flowTypeVoiceSurvey) }; + return { id: "__VOICE_SURVEY_FLOWS__", getLinkUrl: () => s.getArchitectFlowsBaseUrl(r2.flowTypes.flowTypeVoiceSurvey) }; } get webChatDeprecation() { - return { id: "__CHAT_DEPRECATION__", getLinkUrl: () => a.getHelpUrl(s.helpTopics.articles.chatDeprecation), linkTitle: u.webChatDeprecationLinkText, name: "Link.WebChatDeprecation" }; + return { id: "__CHAT_DEPRECATION__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.chatDeprecation), linkTitle: l.webChatDeprecationLinkText, name: "Link.WebChatDeprecation" }; } get workitemFlows() { - return { id: "__WORKITEM_FLOWS__", getLinkUrl: () => l.getArchitectFlowsBaseUrl(r2.flowTypes.flowTypeWorkitem) }; + return { id: "__WORKITEM_FLOWS__", getLinkUrl: () => s.getArchitectFlowsBaseUrl(r2.flowTypes.flowTypeWorkitem) }; } get workTypesAdmin() { - return { id: "__WORKTYPES__", getLinkUrl: () => l.getAdminWorktypesUrl() }; + return { id: "__WORKTYPES__", getLinkUrl: () => s.getAdminWorktypesUrl() }; } get workTypeCustomAttributesAdmin() { - return { id: "__CUSTOM_ATTRIBUTES__", getLinkUrl: () => l.getAdminWorktypeCustomAttributesUrl() }; + return { id: "__CUSTOM_ATTRIBUTES__", getLinkUrl: () => s.getAdminWorktypeCustomAttributesUrl() }; } get botFlowSettingsNode() { - return { id: "__BOT_FLOW_SETTINGS_NODE__", linkTitle: u.botFlowSettings.titleWithSettings, getLinkUrl: () => "#", navigateToNodeId: "botFlowSettings", name: "Link.BotFlowSettings" }; + return { id: "__BOT_FLOW_SETTINGS_NODE__", linkTitle: l.botFlowSettings.titleWithSettings, getLinkUrl: () => "#", navigateToNodeId: "botFlowSettings", name: "Link.BotFlowSettings" }; } }(); - t2.default = d; + t2.default = u; }, 28031: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.WorktypeStatusCategories = void 0, t2.getWorktypeStatusCategoryLabel = function(e3) { @@ -34453,8 +38161,8 @@ var require_scripting_bundle = __commonJS({ }, 28044: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchFactoryTasks = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(84783)), a = n2.__importDefault(i2(38689)); - class s extends o.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(84783)), s = n2.__importDefault(i2(38689)); + class l extends a.default { get displayTypeName() { return "ArchFactoryTasks"; } @@ -34466,14 +38174,14 @@ var require_scripting_bundle = __commonJS({ } addTask(e3, t3, i3) { const n3 = this._infoParm("archBaseFlow", "addTask"); - this._checkItem(n3, !e3 || !e3.isArchBaseFlow, "you must pass in a valid ArchBaseFlow instance."), this._checkItem(n3, !e3.definition.supportsTasksReusable, `the flow type '${e3.flowType}' does not support tasks.`), this._checkItemIsValidLiteralString(this._infoParm("name", "addTask"), t3, true), this._checkItemIsValidLiteralBool(this._infoParm("setAsStartingTask", "addTask"), i3, true), i3 && this._checkItem(n3, !e3.definition.startUpObjectCanBeTask, `a task cannot be the startup object for the flow type '${e3.flowType}'.`); - const o2 = e3._getCoreViewModel().createTask(); - r2.default.isString(t3) && t3.length && (o2.name = t3); - const s2 = a.default.createArchWrapper(o2); - return i3 && e3.setStartingTask(s2), s2; + this._checkItem(n3, !e3 || !e3.isArchBaseFlow, "you must pass in a valid ArchBaseFlow instance."), this._checkItem(n3, !e3.definition.supportsTasksReusable, `the flow type '${e3.flowType}' does not support tasks.`), this._checkItemIsValidLiteralString(this._infoParm("name", "addTask"), t3, true), this._checkItemIsValidLiteralBool(this._infoParm("setAsStartingTask", "addTask"), i3, true), i3 && (this._checkItem(n3, !e3.definition.startUpObjectCanBeTask, `a task cannot be the startup object for the flow type '${e3.flowType}'.`), this._checkItem(n3, e3.flowType === r2.flowTypes.flowTypeVoiceSurvey, "a task cannot be set as the startup object for voice survey flows.")); + const a2 = e3._getCoreViewModel().createTask(); + o.default.isString(t3) && t3.length && (a2.name = t3); + const l2 = s.default.createArchWrapper(a2); + return i3 && e3.setStartingTask(l2), l2; } } - t2.ArchFactoryTasks = s, t2.default = new s(); + t2.ArchFactoryTasks = l, t2.default = new l(); }, 28071: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -34500,8 +38208,8 @@ var require_scripting_bundle = __commonJS({ }, 28080: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.QueueType = void 0; - const n2 = i2(31635), r2 = i2(71056), o = i2(19444), a = i2(27491), s = n2.__importDefault(i2(22226)), l = i2(80428), u = i2(14394), d = i2(94765); - class c extends d.ExpressionType { + const n2 = i2(31635).__importDefault(i2(22226)), r2 = i2(71056), o = i2(19444), a = i2(1910), s = i2(27491), l = i2(80428), u = i2(14394), c = i2(94765); + class d extends c.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -34515,13 +38223,16 @@ var require_scripting_bundle = __commonJS({ return o.queueManager.getBriefManagerWithFallback(); } canConvertLitToExpression(e3) { - return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindQueue", e3, [u.globalTypes.string]); + return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindQueue", e3, [u.globalTypes.string]); } convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindQueue(${s.default.getQuotedExpressionStringLiteral(t3)})` : ""; + return t3 && this.canConvertLitToExpression(e3) ? `FindQueue(${n2.default.getQuotedExpressionStringLiteral(t3)})` : ""; + } + applyLiteralFromModel(e3, t3, i3, n3) { + (0, a.applyNetworkListLiteralFromModel)(e3, t3, i3, n3, d.entityResolverEntityType) || super.applyLiteralFromModel(e3, t3, i3, n3); } } - t2.QueueType = c, c.typeIdentifier = l.expressionTypeNames.queue; + t2.QueueType = d, d.typeIdentifier = l.expressionTypeNames.queue, d.entityResolverEntityType = "queue"; }, 28126: (e2, t2, i2) => { const n2 = i2(13240), { dialNameActionType: r2 } = i2(30801), o = i2(46056), a = i2(94745), s = i2(7401); function l() { @@ -34553,7 +38264,7 @@ var require_scripting_bundle = __commonJS({ this._actions = []; } static create(e3, t3, i3) { - return new o()._setId(e3)._setName(t3)._setIcon(i3); + return new o()._setId(e3)._setName(t3)._setIconName(i3); } get actions() { return this._actions; @@ -34567,8 +38278,8 @@ var require_scripting_bundle = __commonJS({ get className() { return "ActionCategory"; } - get guxIcon() { - return this._icon.gux; + get iconName() { + return this._iconName; } get id() { return this._id; @@ -34576,8 +38287,8 @@ var require_scripting_bundle = __commonJS({ get name() { return this._name; } - _setIcon(e3) { - return this._icon = e3, this; + _setIconName(e3) { + return this._iconName = e3, this; } _setId(e3) { return this._id = r2.ParameterValidator.expectString(e3, () => n2.ParameterInfo.createPropertySet(this.className, "id", "value")), this; @@ -34591,14 +38302,14 @@ var require_scripting_bundle = __commonJS({ e2.exports = { callback: "callback", chat: "chat", email: "email", message: "message", screenPop: "screenPop" }; }, 28206: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(27203)), o = i2(53755), a = i2(21305), s = i2(77787), l = i2(12786), u = i2(12179), d = n2.__importDefault(i2(97891)), c = i2(47957); - class p extends o.BaseConversationAttributeActionViewModel { + const n2 = i2(31635), r2 = n2.__importDefault(i2(27203)), o = i2(53755), a = i2(21305), s = i2(77787), l = i2(12786), u = i2(12179), c = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends o.BaseConversationAttributeActionViewModel { constructor(e3, t3) { super(e3, t3), this._loadModel(t3); } static createCustomJsonProperties() { return this.createManagedPropertiesFromConfig({ includeInput: false, includeOutput: true, outputOptionsFactory: () => a.ExpressionTypeJsonOptions.create((e3) => { - e3.setAsOutput().setIsCustomJsonType(true).setLabelOverride(c.conversationAttribute.resultLabel).setIninTestingField("customJsonOutput"); + e3.setAsOutput().setIsCustomJsonType(true).setLabelOverride(p.conversationAttribute.resultLabel).setIninTestingField("customJsonOutput"); }) }); } static get managedProperties() { @@ -34611,7 +38322,7 @@ var require_scripting_bundle = __commonJS({ return l.getConversationAttributeFailureReasons; } } - p.info = d.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: u.helpTopics.actions.getConversationAttribute, modelClass: s.GetConversationAttributeActionModel, name: c.actions.getConversationAttribute, scriptingName: "ArchActionGetConversationAttribute" }), t2.A = p; + _.info = c.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: u.helpTopics.actions.getConversationAttribute, modelClass: s.GetConversationAttributeActionModel, name: p.actions.getConversationAttribute, scriptingName: "ArchActionGetConversationAttribute", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; }, 28264: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.dataActionManager = t2.DataActionManager = void 0; @@ -34633,8 +38344,8 @@ var require_scripting_bundle = __commonJS({ }, 28290: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeVideoOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { + const n2 = i2(31635), r2 = i2(65615), o = i2(10798), a = n2.__importDefault(i2(4648)); + class s extends r2.BaseExpressionTypeCollectionOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -34647,8 +38358,11 @@ var require_scripting_bundle = __commonJS({ get isExpressionTypeVideoOptions() { return true; } + get supportsLiteralMode() { + return (0, o.isFeatureAvailable)(a.default.cannedResponseAttachmentsPostGaFeature); + } } - t2.ExpressionTypeVideoOptions = r2; + t2.ExpressionTypeVideoOptions = s; }, 28323: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -34757,10 +38471,10 @@ var require_scripting_bundle = __commonJS({ }, 28333: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(27854), a = i2(27854), s = i2(27854), l = i2(27854), u = i2(43011), d = i2(43011), c = n2.__importDefault(i2(56549)), p = n2.__importDefault(i2(40559)); + const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(27854), a = i2(27854), s = i2(27854), l = i2(27854), u = i2(43011), c = i2(43011), d = n2.__importDefault(i2(56549)), p = n2.__importDefault(i2(40559)); class _ extends p.default { constructor(e3) { - super(e3, d.userPromptListManager); + super(e3, c.userPromptListManager); } get _globalTypeName() { return "promptCollection"; @@ -34774,9 +38488,9 @@ var require_scripting_bundle = __commonJS({ this._checkItemIsValidLiteralString(this._infoParm("promptName", "addLiteralByPromptNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByPromptNameAsync"), t3, true), this._checkItem(i3, !this._settings.canBeLiteral, `you cannot assign a prompt literal because this value ${this.settings.logStr} cannot be a literal.`); const n3 = (0, o.hasSystemPromptPrefix)(e3), p2 = !n3 && (0, a.hasUserPromptPrefix)(e3); n3 || p2 || this._itemIsInvalid(i3, `the name in promptName did not start with '${s.prefixes.user}' or '${s.prefixes.system}'`); - const _2 = n3 ? u.systemPromptListManager : d.userPromptListManager; + const _2 = n3 ? u.systemPromptListManager : c.userPromptListManager; e3 = (0, l.removePrefix)(e3); - const h = yield c.default.findItemByValueAsync(_2, e3, "prompt"); + const h = yield d.default.findItemByValueAsync(_2, e3, "prompt"); return this._addNetworkModelToCollection(h), r2.default.executeCallback(this, "addLiteralByPromptNameAsync", t3, this); }); } @@ -34784,7 +38498,7 @@ var require_scripting_bundle = __commonJS({ return n2.__awaiter(this, void 0, void 0, function* () { const i3 = this._infoParm("promptId", "addLiteralByPromptIdAsync"); this._checkItemIsValidLiteralString(i3, e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByPromptIdAsync"), t3, true), this._checkItem(i3, !this._settings.canBeLiteral, `you cannot assign a prompt literal because this value ${this.settings.logStr} cannot be a literal.`); - const n3 = yield c.default.findItemByIdAsync(d.userPromptListManager, e3, "prompt"); + const n3 = yield d.default.findItemByIdAsync(c.userPromptListManager, e3, "prompt"); return this._addNetworkModelToCollection(n3), r2.default.executeCallback(this, "addLiteralByPromptIdAsync", t3, this); }); } @@ -34814,18 +38528,18 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.screenPopManager = t2.ScreenPopManager = void 0; const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(24032), o = i2(30801), a = i2(82915), s = i2(47957), l = i2(52124), u = i2(28195); - class d extends a.ScriptManager { + class c extends a.ScriptManager { constructor() { super("ScreenPopManager"), this.topic = (0, r2.getTopic)("screenPopManager"), this.actionsForUsageSearch = [o.screenPopActionType], this.apiCallList = n2.default.partial(l.getScriptsForFeature, u.screenPop), this.dependencyContext = s.screenPop.selectedScreenPop, this.scriptFeatureType = u.screenPop; } } - t2.ScreenPopManager = d, t2.screenPopManager = new d(); + t2.ScreenPopManager = c, t2.screenPopManager = new c(); }, 28447: (e2, t2, i2) => { "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = r2.__importDefault(i2(2257)), a = r2.__importDefault(i2(56549)), s = i2(30801), l = i2(77667), u = i2(77681), d = r2.__importDefault(i2(66978)); - class c extends o.default { + const r2 = i2(31635), o = r2.__importDefault(i2(2257)), a = r2.__importDefault(i2(56549)), s = i2(30801), l = i2(77667), u = i2(77681), c = r2.__importDefault(i2(66978)); + class d extends o.default { constructor(e3) { super(e3), n2.set(this, void 0), this._aliasManager = l.lexAliasManager, this._botNameManager = u.lexBotNameManager, r2.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.prompts), "f"); } @@ -34842,17 +38556,17 @@ var require_scripting_bundle = __commonJS({ return this._checkItemIsValidLiteralString(this._infoParm("lexBotAliasId", "setLexBotAliasByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLexBotAliasByIdAsync"), t3, true), this._setLexBotAliasByIdAsync("setLexBotAliasByIdAsync", e3, t3); } setLexBotAliasByNameAsync(e3, t3, i3, n3) { - return this._checkItemIsValidLiteralString(this._infoParm("aliasName", "setLexBotAliasByNameAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("botName", "setLexBotAliasByNameAsync"), t3), this._checkItemIsValidLiteralBool(this._infoParm("searchByBotName", "setLexBotAliasByNameAsync"), i3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLexBotAliasByNameAsync"), n3, true), i3 ? a.default.findItemByValueAsync(this._botNameManager, t3, "lex bot", null, null).then((i4) => (this.logNote(`Found partial info for the Lex Bot named '${i4.name}' for the passed bot name of '${t3}'. Getting full bot details.`), this._getCoreViewModel().setBotCategoryByViewModel(i4), a.default.findItemByValueAsync(this._aliasManager, e3, "lex alias", null, null, null, { botId: i4.id }).then((t4) => (this.logNote(`Found partial info for the Lex Bot Alias named '${t4.name}' for the passed alias name of '${e3}'. Getting full alias details.`), d.default.addPromise(this._setLexBotAliasByIdAsync("setLexBotAliasByNameAsync", t4.id, n3), "setLexBotAliasByNameAsync"))))) : a.default.findItemByValueAsync(this._aliasManager, e3, "lex alias", null, null, null, { botId: t3 }).then((t4) => (this.logNote(`Found partial info for the Lex Bot Alias named '${t4.name}' for the passed alias name of '${e3}'. Getting full alias details.`), d.default.addPromise(this._setLexBotAliasByIdAsync("setLexBotAliasByNameAsync", t4.id, n3), "setLexBotAliasByNameAsync"))); + return this._checkItemIsValidLiteralString(this._infoParm("aliasName", "setLexBotAliasByNameAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("botName", "setLexBotAliasByNameAsync"), t3), this._checkItemIsValidLiteralBool(this._infoParm("searchByBotName", "setLexBotAliasByNameAsync"), i3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLexBotAliasByNameAsync"), n3, true), i3 ? a.default.findItemByValueAsync(this._botNameManager, t3, "lex bot", null, null).then((i4) => (this.logNote(`Found partial info for the Lex Bot named '${i4.name}' for the passed bot name of '${t3}'. Getting full bot details.`), this._getCoreViewModel().setBotCategoryByViewModel(i4), a.default.findItemByValueAsync(this._aliasManager, e3, "lex alias", null, null, null, { botId: i4.id }).then((t4) => (this.logNote(`Found partial info for the Lex Bot Alias named '${t4.name}' for the passed alias name of '${e3}'. Getting full alias details.`), c.default.addPromise(this._setLexBotAliasByIdAsync("setLexBotAliasByNameAsync", t4.id, n3), "setLexBotAliasByNameAsync"))))) : a.default.findItemByValueAsync(this._aliasManager, e3, "lex alias", null, null, null, { botId: t3 }).then((t4) => (this.logNote(`Found partial info for the Lex Bot Alias named '${t4.name}' for the passed alias name of '${e3}'. Getting full alias details.`), c.default.addPromise(this._setLexBotAliasByIdAsync("setLexBotAliasByNameAsync", t4.id, n3), "setLexBotAliasByNameAsync"))); } get startAudio() { return r2.__classPrivateFieldGet(this, n2, "f"); } } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = c; + n2 = /* @__PURE__ */ new WeakMap(), t2.default = d; }, 28462: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.SurveyAnswerOptionType = t2.PROP_TEXT = t2.PROP_DTMF = t2.PROP_ID = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(14394), a = n2.__importDefault(i2(7401)), s = i2(8532), l = i2(44351), u = n2.__importStar(i2(63352)), d = i2(80428), c = i2(59263), p = i2(39168), _ = i2(94765), h = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(14394), a = n2.__importDefault(i2(7401)), s = i2(8532), l = i2(44351), u = n2.__importStar(i2(63352)), c = i2(80428), d = i2(59263), p = i2(39168), _ = i2(94765), h = i2(47957); t2.PROP_ID = "id", t2.PROP_DTMF = "dtmf", t2.PROP_TEXT = "text"; class m extends _.ExpressionType { constructor(e3, t3, i3) { @@ -34891,7 +38605,7 @@ var require_scripting_bundle = __commonJS({ return new s.ExpressionTypeSurveyAnswerOptionOptions(); } static create(e3, t3, i3) { - const n3 = m.createExpressionOptionClass(), r3 = new a.default(), s2 = new c.ExpressionParameters(e3, t3, r3); + const n3 = m.createExpressionOptionClass(), r3 = new a.default(), s2 = new d.ExpressionParameters(e3, t3, r3); s2.type = o.globalTypes.surveyAnswerOption, s2.options = n3; const l2 = new p.NormalExpression(s2); return l2.type.populateFromSurveyAnswerOption(l2, i3), l2; @@ -34903,10 +38617,10 @@ var require_scripting_bundle = __commonJS({ n3 && (n3.options.setAllowModeLiteralOnly().setReadOnly(true), n3.setAsLiteral(i3.id)), r3 && (r3.options.setAllowModeLiteralOnly().setLabelOverride(h.voiceSurvey.voiceSurveyAnswerOptionValueLabel).setDescriptionInfo(void 0, void 0).setReadOnly(true), r3.setAsLiteral(i3.text)), o2 && (o2.options.setAllowModeLiteral(true).setAllowModeExpression(false).setReadOnly(false).setLabelOverride(h.voiceSurvey.voiceSurveyAnswerOptionDtmfLabel).setDescriptionInfo(void 0, void 0).facets.setMaxLength(2).setAllowableValues(l.surveyFormDtmfValues).setAllowableValuesUseInlineSelect(true).setAllowableValuesDisabledCallback(m._disableDTMFChoiceCallback).setAllowableValueUseOriginalDisplayString(true).setAllowableValuePlaceholder(h.voiceSurvey.voiceSurveyAnswerOptionDtmfLabel), o2.setAsLiteral(i3.dtmf)); } static _disableDTMFChoiceCallback(e3, t3) { - var i3, n3, r3; - const o2 = null === (n3 = null === (i3 = e3.parentFlow.userInputSettings) || void 0 === i3 ? void 0 : i3.dtmfTerminatingCharacter) || void 0 === n3 ? void 0 : n3.getStringTypeDesignTimeValue(); + var i3, n3; + const r3 = null === (i3 = e3.parentFlow.userInputSettings) || void 0 === i3 ? void 0 : i3.dtmfTerminatingCharacter, o2 = null == r3 ? void 0 : r3.type.getDesignTimeStringValue(r3); if (o2 && o2 === t3.id) return true; - const a2 = null === (r3 = e3.propertyParent) || void 0 === r3 ? void 0 : r3.parentList; + const a2 = null === (n3 = e3.propertyParent) || void 0 === n3 ? void 0 : n3.parentList; return !!(null == a2 ? void 0 : a2.collectionItems.items.find((e4) => { const i4 = e4.type.getDtmf(e4); return i4 && i4 === t3.id; @@ -34927,22 +38641,22 @@ var require_scripting_bundle = __commonJS({ })); } } - t2.SurveyAnswerOptionType = m, m.typeIdentifier = d.expressionTypeNames.surveyAnswerOption; + t2.SurveyAnswerOptionType = m, m.typeIdentifier = c.expressionTypeNames.surveyAnswerOption; }, 28562: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.builderIds = void 0, t2.builderIds = { parts: { email: "__BUILDER_PARTS_EMAIL__", genericAgentScorePair: "__BUILDER_PARTS_GENERIC_AGENT_SCORE_PAIR__", genericAudio: "__BUILDER_PARTS_GENERIC_AUDIO__", genericBoolean: "__BUILDER_PARTS_GENERIC_BOOLEAN__", genericCommunication: "__BUILDER_PARTS_GENERIC_COMMUNICATION__", genericDateTime: "__BUILDER_PARTS_GENERIC_DATETIME__", genericDuration: "__BUILDER_PARTS_GENERIC_DURATION__", genericImage: "__BUILDER_PARTS_GENERIC_IMAGE__", genericInteger: "__BUILDER_PARTS_GENERIC_INTEGER__", genericString: "__BUILDER_PARTS_GENERIC_STRING__", genericPrompt: "__BUILDER_PARTS_GENERIC_PROMPT__", genericVideo: "__BUILDER_PARTS_GENERIC_VIDEO__", markdownCommunication: "__BUILDER_MARKDOWN_COMMUNICATION__", markdownString: "__BUILDER_MARKDOWN_STRING__", labelString: "__BUILDER_PARTS_LABEL_STRING__" } }; }, 28614: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ChooserType = t2.slotTypeValueMergeMode = t2.VALUE_SOURCE_TYPE_SLOT_TYPE = t2.VALUE_SOURCE_TYPE_SLOT = t2.VALUE_SOURCE_TYPE_CUSTOM = t2.PROP_TIMEPICKER = t2.PROP_QUICK_REPLIES = t2.PROP_LISTPICKER = t2.PROP_CAROUSEL = t2.PROP_CARD = t2.PROP_PRESENTATION = t2.PRESENTATION_MODE_LISTPICKER = t2.PRESENTATION_MODE_TIMEPICKER = t2.PRESENTATION_MODE_CAROUSEL = t2.PRESENTATION_MODE_QUICK_REPLIES = void 0; - const n2 = i2(31635), r2 = i2(68694), o = i2(68694), a = i2(17604), s = n2.__importDefault(i2(92140)), l = n2.__importStar(i2(63352)), u = i2(39964), d = n2.__importStar(i2(12847)), c = n2.__importStar(i2(36781)), p = n2.__importStar(i2(10798)), _ = n2.__importStar(i2(58380)), h = n2.__importStar(i2(66381)), m = n2.__importStar(i2(1115)), g = n2.__importDefault(i2(4648)), f = i2(82632), T = i2(80428), y = i2(44521), S = i2(1492), A = i2(1492), N = i2(53476), O = i2(53476), I = i2(92457), v = i2(47957); + const n2 = i2(31635), r2 = i2(68694), o = i2(68694), a = i2(17604), s = n2.__importDefault(i2(92140)), l = n2.__importStar(i2(63352)), u = i2(39964), c = n2.__importStar(i2(12847)), d = n2.__importStar(i2(36781)), p = n2.__importStar(i2(10798)), _ = n2.__importStar(i2(58380)), h = n2.__importStar(i2(66381)), m = n2.__importStar(i2(1115)), g = n2.__importDefault(i2(4648)), f = i2(82632), T = i2(80428), y = i2(44521), S = i2(1492), A = i2(1492), N = i2(53476), v = i2(53476), O = i2(92457), I = i2(47957); t2.PRESENTATION_MODE_QUICK_REPLIES = "quickReplies", t2.PRESENTATION_MODE_CAROUSEL = "carousel", t2.PRESENTATION_MODE_TIMEPICKER = "timePicker", t2.PRESENTATION_MODE_LISTPICKER = "listPicker", t2.PROP_PRESENTATION = "presentation", t2.PROP_CARD = "card", t2.PROP_CAROUSEL = "carousel", t2.PROP_LISTPICKER = "listPicker", t2.PROP_QUICK_REPLIES = "quickReplies", t2.PROP_TIMEPICKER = "timePicker", t2.VALUE_SOURCE_TYPE_CUSTOM = "custom", t2.VALUE_SOURCE_TYPE_SLOT = "slot", t2.VALUE_SOURCE_TYPE_SLOT_TYPE = "slotType"; - const C = "valueSourceType", b = "valueSourceValue", E = { chooserNoChoicesConfiguredForSlotTypeValues: v.cardsAndCars.expression.chooserNoChoicesConfiguredForSlotTypeValues, chooserInvalidChoiceValueForSlotTypeExpressionMode: v.cardsAndCars.expression.chooserInvalidChoiceValueForSlotTypeExpressionMode, chooserInvalidChoiceValueForSlotType: v.cardsAndCars.expression.chooserInvalidChoiceValueForSlotType, chooserInvalidChoiceCountForSlotType: v.cardsAndCars.expression.chooserInvalidChoiceCountForSlotType }; - var R, w; + const C = "valueSourceType", b = "valueSourceValue", E = { chooserNoChoicesConfiguredForSlotTypeValues: I.cardsAndCars.expression.chooserNoChoicesConfiguredForSlotTypeValues, chooserInvalidChoiceValueForSlotTypeExpressionMode: I.cardsAndCars.expression.chooserInvalidChoiceValueForSlotTypeExpressionMode, chooserInvalidChoiceValueForSlotType: I.cardsAndCars.expression.chooserInvalidChoiceValueForSlotType, chooserInvalidChoiceCountForSlotType: I.cardsAndCars.expression.chooserInvalidChoiceCountForSlotType }; + var w, R; !(function(e3) { e3.asIndividualValues = "individualValues", e3.asStackedValues = "stackedValues"; - })(R || (t2.slotTypeValueMergeMode = R = {})), (function(e3) { + })(w || (t2.slotTypeValueMergeMode = w = {})), (function(e3) { e3.custom = "custom", e3.slot = "slot", e3.slotType = "slotType"; - })(w || (w = {})); + })(R || (R = {})); class D extends y.BasedOnChoicesType { constructor(e3, t3, i3) { super(e3, t3, i3); @@ -35037,7 +38751,7 @@ var require_scripting_bundle = __commonJS({ getChoiceErrorsExpression(e3) { var t3; const i3 = null === (t3 = this.getPresentationModeExpression(e3)) || void 0 === t3 ? void 0 : t3.type; - return (0, O.isListPickerExpressionType)(i3) ? i3.invalidChoicesErrors : E; + return (0, v.isListPickerExpressionType)(i3) ? i3.invalidChoicesErrors : E; } getHasAtLeastOnePostbackChoice(e3) { if ((null == e3 ? void 0 : e3.isLiteralMode) && !e3.outOfService) switch (this.getPresentationModeStr(e3)) { @@ -35107,7 +38821,7 @@ var require_scripting_bundle = __commonJS({ const o2 = e3.getProperty(t2.PROP_PRESENTATION); if (this.getPresentationModeStr(e3) !== i3) try { let t3; - e3.parentFlow.validationResults.addSuppressPassiveValidation(this), r3 = r3 || R.asIndividualValues, n3 && (t3 = this.getPossibleChoices(e3)), o2.setAsLiteral(i3), n3 && this.configureForMode(e3, t3, void 0, r3), this.updatePropertiesOutOfServiceStatus(e3); + e3.parentFlow.validationResults.addSuppressPassiveValidation(this), r3 = r3 || w.asIndividualValues, n3 && (t3 = this.getPossibleChoices(e3)), o2.setAsLiteral(i3), n3 && this.configureForMode(e3, t3, void 0, r3), this.updatePropertiesOutOfServiceStatus(e3); } finally { e3.parentFlow.validationResults.removeSuppressPassiveValidation(this), m.validateAction(e3.parent, void 0, true); } @@ -35158,22 +38872,22 @@ var require_scripting_bundle = __commonJS({ l2 && (l2.outOfService = r3, l2.type.updatePropertiesOutOfServiceStatus(l2)); const u2 = this.getPropQuickReplies(e3); u2 && (u2.outOfService = i3); - const d2 = e3.getProperty(t2.PROP_TIMEPICKER); - d2 && (d2.outOfService = o2), this._ensureCorrectExpressionModes(u2, s2, l2, a2); + const c2 = e3.getProperty(t2.PROP_TIMEPICKER); + c2 && (c2.outOfService = o2), this._ensureCorrectExpressionModes(u2, s2, l2, a2); } configurePropertyCreationParams(e3, i3, n3) { switch (super.configurePropertyCreationParams(e3, i3, n3), i3.name) { case t2.PRESENTATION_MODE_QUICK_REPLIES: - n3.label = v.cardsAndCars.quickRepliesLabel, n3.options.setIninTestingField("chooser-quickReplies"); + n3.label = I.cardsAndCars.quickRepliesLabel, n3.options.setIninTestingField("chooser-quickReplies"); break; case t2.PRESENTATION_MODE_CAROUSEL: - n3.label = v.cardsAndCars.carouselLabel, n3.options.setIninTestingField("chooser-carousel"); + n3.label = I.cardsAndCars.carouselLabel, n3.options.setIninTestingField("chooser-carousel"); break; case t2.PRESENTATION_MODE_TIMEPICKER: - n3.label = v.askForSlot.timePicker, n3.options.setIninTestingField("chooser-timePicker"); + n3.label = I.askForSlot.timePicker, n3.options.setIninTestingField("chooser-timePicker"); break; case t2.PRESENTATION_MODE_LISTPICKER: - n3.label = v.cardsAndCars.listPickerType.listPicker, n3.options.setIninTestingField("chooser-listPicker"); + n3.label = I.cardsAndCars.listPickerType.listPicker, n3.options.setIninTestingField("chooser-listPicker"); break; case t2.PROP_PRESENTATION: n3.options.setIninTestingField("chooser-presentation"); @@ -35188,19 +38902,19 @@ var require_scripting_bundle = __commonJS({ super.initializeDesignTime(e3), e3.type.updatePropertiesOutOfServiceStatus(e3); } propertiesCreatedForThisTypeInstance(e3) { - e3.type.updatePropertiesOutOfServiceStatus(e3), null == e3 || e3.addAutoCleanedUpSubscription(_.createObservableForEvent$(c.expressionValueChanged, e3).subscribe(() => this.updatePropertiesOutOfServiceStatus(e3))); + e3.type.updatePropertiesOutOfServiceStatus(e3), null == e3 || e3.addAutoCleanedUpSubscription(_.createObservableForEvent$(d.expressionValueChanged, e3).subscribe(() => this.updatePropertiesOutOfServiceStatus(e3))); } updateNluInfo(e3) { this.updateAllowableValues(e3), this.updatePropertiesOutOfServiceStatus(e3); } setValueSourceTypeToCustom(e3) { - this.isAvailableForFlowType(e3.parentFlow.type) ? e3.type.setValueSourceType(e3, t2.VALUE_SOURCE_TYPE_CUSTOM, void 0) : d.error(`trying to call setValueSourceTypeToCustom for a chooser that is not available for flow type: ${e3.parentFlow.type}`); + this.isAvailableForFlowType(e3.parentFlow.type) ? e3.type.setValueSourceType(e3, t2.VALUE_SOURCE_TYPE_CUSTOM, void 0) : c.error(`trying to call setValueSourceTypeToCustom for a chooser that is not available for flow type: ${e3.parentFlow.type}`); } setValueSourceTypeToSlot(e3, i3) { - this.isAvailableForFlowType(e3.parentFlow.type) ? e3.type.setValueSourceType(e3, t2.VALUE_SOURCE_TYPE_SLOT, i3) : d.error(`trying to call setValueSourceTypeToSlot for a chooser that is not available for flow type: ${e3.parentFlow.type}`); + this.isAvailableForFlowType(e3.parentFlow.type) ? e3.type.setValueSourceType(e3, t2.VALUE_SOURCE_TYPE_SLOT, i3) : c.error(`trying to call setValueSourceTypeToSlot for a chooser that is not available for flow type: ${e3.parentFlow.type}`); } setValueSourceType(e3, t3, i3) { - this.isAvailableForFlowType(e3.parentFlow.type) ? (e3.setUiMetaData(C, t3), e3.setUiMetaData(b, i3)) : d.error(`trying to call setValueSourceType for a chooser that is not available for flow type: ${e3.parentFlow.type}`); + this.isAvailableForFlowType(e3.parentFlow.type) ? (e3.setUiMetaData(C, t3), e3.setUiMetaData(b, i3)) : c.error(`trying to call setValueSourceType for a chooser that is not available for flow type: ${e3.parentFlow.type}`); } getValueSourceType(e3) { return e3.getUiMetaData(C); @@ -35225,11 +38939,11 @@ var require_scripting_bundle = __commonJS({ }); } configureForSlotBySlotName(e3, i3, n3) { - if (!this.isAvailableForFlowType(e3.parentFlow.type)) return void d.error(`trying to call configureForSlotBySlotName for a chooser that is not available for flow type: ${e3.parentFlow.type}`); + if (!this.isAvailableForFlowType(e3.parentFlow.type)) return void c.error(`trying to call configureForSlotBySlotName for a chooser that is not available for flow type: ${e3.parentFlow.type}`); const r3 = []; this.setValueSourceTypeToSlot(e3, i3), this.updatePropertiesOutOfServiceStatus(e3); - const o2 = this.getPropQuickReplies(e3), a2 = e3.getProperty(t2.PROP_CAROUSEL), u2 = e3.getProperty(t2.PROP_LISTPICKER), c2 = this.getChooserSlotTypeNluInfo(e3), p2 = null == c2 ? void 0 : c2.slotTypeIsDynamicList; - if (this._ensureCorrectExpressionModes(o2, a2, u2, c2), o2 && (o2.mode = p2 ? l.expression : l.literal), a2 && (a2.mode = p2 ? l.expression : l.literal), u2 && (u2.mode = p2 ? l.expression : l.literal), p2) return; + const o2 = this.getPropQuickReplies(e3), a2 = e3.getProperty(t2.PROP_CAROUSEL), u2 = e3.getProperty(t2.PROP_LISTPICKER), d2 = this.getChooserSlotTypeNluInfo(e3), p2 = null == d2 ? void 0 : d2.slotTypeIsDynamicList; + if (this._ensureCorrectExpressionModes(o2, a2, u2, d2), o2 && (o2.mode = p2 ? l.expression : l.literal), a2 && (a2.mode = p2 ? l.expression : l.literal), u2 && (u2.mode = p2 ? l.expression : l.literal), p2) return; let _2; n3 || (_2 = this.getAllowableValues(e3), this.getPresentationModeIsListPicker(e3) || s.default.each(_2, (t3) => { r3.push(S.ChoiceType.createPostbackChoice(t3, true, e3.parentFlow, e3.parent)); @@ -35248,8 +38962,8 @@ var require_scripting_bundle = __commonJS({ getIsSlotOrSlotTypeChooser(e3) { if (e3) { switch (this.getValueSourceTypeEnum(e3)) { - case w.slot: - case w.slotType: + case R.slot: + case R.slotType: return true; } return false; @@ -35283,7 +38997,7 @@ var require_scripting_bundle = __commonJS({ } } setLiteralQuickRepliesFromChoiceListViewModel(e3, i3) { - if (!this.isAvailableForFlowType(e3.parentFlow.type)) return void d.error(`trying to call setLiteralQuickRepliesFromChoiceListViewModel for a chooser that is not available for flow type: ${e3.parentFlow.type}`); + if (!this.isAvailableForFlowType(e3.parentFlow.type)) return void c.error(`trying to call setLiteralQuickRepliesFromChoiceListViewModel for a chooser that is not available for flow type: ${e3.parentFlow.type}`); if (!e3) return; e3.getProperty(t2.PROP_PRESENTATION).setAsLiteral(t2.PRESENTATION_MODE_QUICK_REPLIES); const n3 = this.getPropQuickReplies(e3); @@ -35337,53 +39051,53 @@ var require_scripting_bundle = __commonJS({ _logNluDiffs(e3) { } applyNluDiffs(e3, t3, i3) { - var n3, r3, o2, a2, s2, l2, u2, d2; - const c2 = {}; - return this._applyNluDiffs(c2, e3, t3, i3), ((null === (n3 = c2.missingSlotTypeValuesAdded) || void 0 === n3 ? void 0 : n3.length) || (null === (r3 = c2.missingSlotTypeValuesNotAdded) || void 0 === r3 ? void 0 : r3.length) || (null === (o2 = c2.invalidSlotTypeValuesRemoved) || void 0 === o2 ? void 0 : o2.length) || (null === (a2 = c2.invalidSlotTypeValuesNotRemoved) || void 0 === a2 ? void 0 : a2.length)) && this._logNluDiffs("--------------------------------------------"), (null === (s2 = c2.missingSlotTypeValuesAdded) || void 0 === s2 ? void 0 : s2.length) && (this._logNluDiffs("Slot Type Values Added"), c2.missingSlotTypeValuesAdded.forEach((e4) => { + var n3, r3, o2, a2, s2, l2, u2, c2; + const d2 = {}; + return this._applyNluDiffs(d2, e3, t3, i3), ((null === (n3 = d2.missingSlotTypeValuesAdded) || void 0 === n3 ? void 0 : n3.length) || (null === (r3 = d2.missingSlotTypeValuesNotAdded) || void 0 === r3 ? void 0 : r3.length) || (null === (o2 = d2.invalidSlotTypeValuesRemoved) || void 0 === o2 ? void 0 : o2.length) || (null === (a2 = d2.invalidSlotTypeValuesNotRemoved) || void 0 === a2 ? void 0 : a2.length)) && this._logNluDiffs("--------------------------------------------"), (null === (s2 = d2.missingSlotTypeValuesAdded) || void 0 === s2 ? void 0 : s2.length) && (this._logNluDiffs("Slot Type Values Added"), d2.missingSlotTypeValuesAdded.forEach((e4) => { this._logNluDiffs(` * ${e4}`); - })), (null === (l2 = c2.missingSlotTypeValuesNotAdded) || void 0 === l2 ? void 0 : l2.length) && (this._logNluDiffs("Slot Type Values *Not* Added"), c2.missingSlotTypeValuesNotAdded.forEach((e4) => { + })), (null === (l2 = d2.missingSlotTypeValuesNotAdded) || void 0 === l2 ? void 0 : l2.length) && (this._logNluDiffs("Slot Type Values *Not* Added"), d2.missingSlotTypeValuesNotAdded.forEach((e4) => { this._logNluDiffs(` * ${e4}`); - })), (null === (u2 = c2.invalidSlotTypeValuesRemoved) || void 0 === u2 ? void 0 : u2.length) && (this._logNluDiffs("Slot Type Values Removed"), c2.invalidSlotTypeValuesRemoved.forEach((e4) => { + })), (null === (u2 = d2.invalidSlotTypeValuesRemoved) || void 0 === u2 ? void 0 : u2.length) && (this._logNluDiffs("Slot Type Values Removed"), d2.invalidSlotTypeValuesRemoved.forEach((e4) => { this._logNluDiffs(` * ${e4}`); - })), (null === (d2 = c2.invalidSlotTypeValuesNotRemoved) || void 0 === d2 ? void 0 : d2.length) && (this._logNluDiffs("Slot Type Values *Not* Removed"), c2.invalidSlotTypeValuesNotRemoved.forEach((e4) => { + })), (null === (c2 = d2.invalidSlotTypeValuesNotRemoved) || void 0 === c2 ? void 0 : c2.length) && (this._logNluDiffs("Slot Type Values *Not* Removed"), d2.invalidSlotTypeValuesNotRemoved.forEach((e4) => { this._logNluDiffs(` * ${e4}`); - })), this.updatePropertiesOutOfServiceStatus(e3), c2; + })), this.updatePropertiesOutOfServiceStatus(e3), d2; } getChooserSlotTypeNluInfo(e3) { var t3; if (!e3) return; const i3 = this.getValueSourceTypeEnum(e3); switch (i3) { - case w.slot: - case w.slotType: + case R.slot: + case R.slotType: break; default: return; } const n3 = null === (t3 = e3.parentFlow) || void 0 === t3 ? void 0 : t3.nlu; if (!n3) return; - let a2, s2, l2, u2, d2 = false, c2 = false, p2 = false; + let a2, s2, l2, u2, c2 = false, d2 = false, p2 = false; switch (i3) { - case w.slot: + case R.slot: if (a2 = this.getValueSourceValue(e3), !a2) break; if (s2 = o.EntityUtil.getEntityByName(n3, a2), !s2) break; if (u2 = s2.name, l2 = o.EntityUtil.getEntityTypeByName(n3, s2.type), !l2) break; - d2 = o.EntityUtil.isEntityTypeOfType(l2, r2.EntityTypeMechanismType.List), c2 = o.EntityUtil.isEntityTypeOfType(l2, r2.EntityTypeMechanismType.DynamicList), p2 = o.EntityUtil.isEntityTypeOfType(l2, r2.EntityTypeMechanismType.DynamicDateTime); + c2 = o.EntityUtil.isEntityTypeOfType(l2, r2.EntityTypeMechanismType.List), d2 = o.EntityUtil.isEntityTypeOfType(l2, r2.EntityTypeMechanismType.DynamicList), p2 = o.EntityUtil.isEntityTypeOfType(l2, r2.EntityTypeMechanismType.DynamicDateTime); break; - case w.slotType: + case R.slotType: if (u2 = this.getValueSourceValue(e3), !u2) break; if (l2 = o.EntityUtil.getEntityTypeByName(n3, u2), !l2) break; - d2 = o.EntityUtil.isEntityTypeOfType(l2, r2.EntityTypeMechanismType.List), c2 = o.EntityUtil.isEntityTypeOfType(l2, r2.EntityTypeMechanismType.DynamicList), p2 = o.EntityUtil.isEntityTypeOfType(l2, r2.EntityTypeMechanismType.DynamicDateTime); + c2 = o.EntityUtil.isEntityTypeOfType(l2, r2.EntityTypeMechanismType.List), d2 = o.EntityUtil.isEntityTypeOfType(l2, r2.EntityTypeMechanismType.DynamicList), p2 = o.EntityUtil.isEntityTypeOfType(l2, r2.EntityTypeMechanismType.DynamicDateTime); } - return { nlu: n3, valueSourceType: i3, slotName: a2, slotTypeName: u2, slotNluEntity: s2, slotNluEntityType: l2, slotTypeIsList: d2, slotTypeIsDynamicList: c2, slotTypeIsDynamicDateTime: p2 }; + return { nlu: n3, valueSourceType: i3, slotName: a2, slotTypeName: u2, slotNluEntity: s2, slotNluEntityType: l2, slotTypeIsList: c2, slotTypeIsDynamicList: d2, slotTypeIsDynamicDateTime: p2 }; } validateNluInfo(e3, t3, i3) { if (!t3) return true; if (t3.slotName) { - if (!t3.slotNluEntity) return i3.addExpressionError(e3, (0, a.sprintf)(v.cardsAndCars.expression.chooserInvalidSlotName, t3.slotName)), false; - if (!t3.slotNluEntityType) return i3.addExpressionError(e3, (0, a.sprintf)(v.cardsAndCars.expression.chooserNoSlotTypeConfiguredForSlot, t3.slotNluEntity.name)), false; + if (!t3.slotNluEntity) return i3.addExpressionError(e3, (0, a.sprintf)(I.cardsAndCars.expression.chooserInvalidSlotName, t3.slotName)), false; + if (!t3.slotNluEntityType) return i3.addExpressionError(e3, (0, a.sprintf)(I.cardsAndCars.expression.chooserNoSlotTypeConfiguredForSlot, t3.slotNluEntity.name)), false; } - return t3.slotNluEntityType ? t3.slotTypeIsList || t3.slotTypeIsDynamicList || t3.slotTypeIsDynamicDateTime ? (this.updatePropertiesOutOfServiceStatus(e3), true) : (i3.addExpressionError(e3, (0, a.sprintf)(v.cardsAndCars.expression.chooserSlotTypeNotListOrDynamicListType, t3.slotNluEntityType.name)), false) : (i3.addExpressionError(e3, (0, a.sprintf)(v.cardsAndCars.expression.chooserSlotTypeNameIsNotValid, t3.slotTypeName)), false); + return t3.slotNluEntityType ? t3.slotTypeIsList || t3.slotTypeIsDynamicList || t3.slotTypeIsDynamicDateTime ? (this.updatePropertiesOutOfServiceStatus(e3), true) : (i3.addExpressionError(e3, (0, a.sprintf)(I.cardsAndCars.expression.chooserSlotTypeNotListOrDynamicListType, t3.slotNluEntityType.name)), false) : (i3.addExpressionError(e3, (0, a.sprintf)(I.cardsAndCars.expression.chooserSlotTypeNameIsNotValid, t3.slotTypeName)), false); } _getChooserToSlotTypeDiffsHeader(e3) { if (!e3) return; @@ -35412,7 +39126,7 @@ var require_scripting_bundle = __commonJS({ t4 ? t4.push(i4) : (t4 = [i4], o2[e4] = t4); } }; - let d2; + let c2; e3.forEach((e4) => { if (!e4.isLiteralMode) { const t4 = e4.getUiMetaData(A.MANAGED_SLOT_TYPE_VALUE); @@ -35432,10 +39146,10 @@ var require_scripting_bundle = __commonJS({ } } else e4.type.isPostbackChoice(e4); }), t3.forEach((e4) => { - l2[e4] || (d2 || (d2 = []), d2.push(e4)); + l2[e4] || (c2 || (c2 = []), c2.push(e4)); }); - let c2 = false; - if ((null == d2 ? void 0 : d2.length) > 0) c2 = true; + let d2 = false; + if ((null == c2 ? void 0 : c2.length) > 0) d2 = true; else if ((null == t3 ? void 0 : t3.length) > 0 && (null == e3 ? void 0 : e3.length) > 0) { const n4 = []; if (e3.forEach((e4) => { @@ -35445,12 +39159,12 @@ var require_scripting_bundle = __commonJS({ } }), !i3 && n4.length > 0 && t3.length === n4.length) { for (let e4 = 0; e4 < t3.length; e4++) if (t3[e4] !== n4[e4]) { - c2 = true; + d2 = true; break; } } } - return { duplicatePostbackValueChoices: r3, invalidPostbackValueChoices: o2, missingSlotTypeValues: d2, possibleChoices: e3, slotTypeAllowableValues: t3, unknownAtDesignTimeChoiceCount: a2, hasUnknownAtDesignTimeContents: n3, orderHasChanged: c2 }; + return { duplicatePostbackValueChoices: r3, invalidPostbackValueChoices: o2, missingSlotTypeValues: c2, possibleChoices: e3, slotTypeAllowableValues: t3, unknownAtDesignTimeChoiceCount: a2, hasUnknownAtDesignTimeContents: n3, orderHasChanged: d2 }; } getChooserToSlotTypeDiffsForPossibleChoices(e3, t3) { const i3 = this._getChooserToSlotTypeDiffsHeader(e3); @@ -35476,7 +39190,7 @@ var require_scripting_bundle = __commonJS({ return e3.getProperty(t2.PROP_CAROUSEL).isLiteralMode; case t2.PRESENTATION_MODE_LISTPICKER: { const i4 = e3.getProperty(t2.PROP_LISTPICKER); - return !!i4.isLiteralMode && i4.getProperty(I.PROP_SECTIONS).isLiteralMode; + return !!i4.isLiteralMode && i4.getProperty(O.PROP_SECTIONS).isLiteralMode; } } return false; @@ -35491,7 +39205,7 @@ var require_scripting_bundle = __commonJS({ const n3 = this.getChooserToSlotTypeDiffs(t3); if (!n3) return true; let r3; - if (s.default.each(n3.duplicatePostbackValueChoices, (i4, n4) => (r3 || (r3 = t3.type.getSlotTypeName(t3)), e3.addExpressionError(t3, (0, a.sprintf)(v.cardsAndCars.expression.chooserMultipleChoicesForSlotTypeValue, n4, r3)), false)), s.default.each(n3.invalidPostbackValueChoices, (i4, n4) => { + if (s.default.each(n3.duplicatePostbackValueChoices, (i4, n4) => (r3 || (r3 = t3.type.getSlotTypeName(t3)), e3.addExpressionError(t3, (0, a.sprintf)(I.cardsAndCars.expression.chooserMultipleChoicesForSlotTypeValue, n4, r3)), false)), s.default.each(n3.invalidPostbackValueChoices, (i4, n4) => { r3 || (r3 = t3.type.getSlotTypeName(t3)); const o2 = i4[0].isExpressionMode ? (0, a.sprintf)(this.getChoiceErrorsExpression(t3).chooserInvalidChoiceValueForSlotTypeExpressionMode, n4, r3) : (0, a.sprintf)(this.getChoiceErrorsExpression(t3).chooserInvalidChoiceValueForSlotType, n4, r3); return e3.addExpressionError(t3, o2), false; @@ -35567,10 +39281,10 @@ var require_scripting_bundle = __commonJS({ t2.default = r2; }, 28690: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(73198)), o = n2.__importStar(i2(63824)), a = i2(80428), s = i2(79467), l = n2.__importDefault(i2(27203)), u = i2(38185), d = i2(46824), c = i2(12179), p = n2.__importDefault(i2(97891)), _ = i2(28803), h = i2(5426), m = i2(47628), g = n2.__importDefault(i2(61086)), f = i2(47957); - class T extends g.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(73198)), o = n2.__importStar(i2(63824)), a = i2(80428), s = i2(79467), l = n2.__importDefault(i2(27203)), u = i2(38185), c = i2(46824), d = i2(12179), p = n2.__importDefault(i2(97891)), _ = i2(28803), h = i2(5426), m = i2(47628), g = n2.__importDefault(i2(61086)), f = n2.__importDefault(i2(4648)), T = i2(47957); + class y extends g.default { constructor(e3, t3) { - super(e3, t3, d.bridgeServerManager), this.loadDataSchemas = void 0, this.resources = { actionLabel: f.bridgeServer.bridgeAction, actionNotFound: f.bridgeServer.actionNotFound, noActionsAvailable: f.bridgeServer.noActionsAvailable, savedVersionOfAction: f.bridgeServer.savedVersionOfAction, selectAction: f.bridgeServer.selectAction }; + super(e3, t3, c.bridgeServerManager), this.loadDataSchemas = void 0, this.resources = { actionLabel: T.bridgeServer.bridgeAction, actionNotFound: T.bridgeServer.actionNotFound, noActionsAvailable: T.bridgeServer.noActionsAvailable, savedVersionOfAction: T.bridgeServer.savedVersionOfAction, selectAction: T.bridgeServer.selectAction }; } static get branchInfo() { return l.default.successFailureTimeout; @@ -35579,7 +39293,7 @@ var require_scripting_bundle = __commonJS({ return true; } static get managedProperties() { - const e3 = [{ property: "actionSetting", createDetails: _.NetworkBasedActionProperty.createCreateDetails("actionId", "actionName", d.bridgeServerManager, f.bridgeServer.mustSelectAction, f.bridgeServer.actionNotFound, "categorySetting"), yamlOptions: T.createYamlOptions("actionSetting", (e4) => e4.setSkipProperty(true)) }, { dataList: true, property: "inputs" }, { dataList: true, isOutput: true, property: "outputs", yamlOptions: T.createYamlOptions("outputs", (e4) => e4.setPropertyName("successOutputs")) }, { createDetails: h.ServerActionSchemaCategoryReference.createCreateDetails(u.bridgeCategoryManager), property: "categorySetting", yamlOptions: T.createYamlOptions("categorySetting", (e4) => e4.setSkipProperty(true)) }, { label: f.bridgeServer.timeout, options: s.ExpressionTypeDurationOptions.create((e4) => e4.setIninTestingField("cbaTimeout").setDurationStyle(o.durationStyles.secondsAndTenthsDuration).facets.setMinDur(100, true)), property: "timeout", yamlOptions: T.createYamlOptions("timeout", (e4) => e4.setExportOrder(40)), type: a.expressionTypeNames.duration }, { createDetails: m.ServerActionTimeoutSettings.createCreateDetails(r2.default.litDurationFiveSeconds), property: "serverActionTimeoutSettings", yamlOptions: T.createYamlOptions("serverActionTimeoutSettings", (e4) => e4.setSkipProperty(true)) }]; + const e3 = [{ property: "actionSetting", createDetails: _.NetworkBasedActionProperty.createCreateDetails("actionId", "actionName", c.bridgeServerManager, T.bridgeServer.mustSelectAction, T.bridgeServer.actionNotFound, "categorySetting"), yamlOptions: y.createYamlOptions("actionSetting", (e4) => e4.setSkipProperty(true)) }, { dataList: true, property: "inputs" }, { dataList: true, isOutput: true, property: "outputs", yamlOptions: y.createYamlOptions("outputs", (e4) => e4.setPropertyName("successOutputs")) }, { createDetails: h.ServerActionSchemaCategoryReference.createCreateDetails(u.bridgeCategoryManager), property: "categorySetting", yamlOptions: y.createYamlOptions("categorySetting", (e4) => e4.setSkipProperty(true)) }, { label: T.bridgeServer.timeout, options: s.ExpressionTypeDurationOptions.create((e4) => e4.setIninTestingField("cbaTimeout").setDurationStyle(o.durationStyles.secondsAndTenthsDuration).facets.setMinDur(100, true)), property: "timeout", yamlOptions: y.createYamlOptions("timeout", (e4) => e4.setExportOrder(40)), type: a.expressionTypeNames.duration }, { createDetails: m.ServerActionTimeoutSettings.createCreateDetails(r2.default.litDurationFiveSeconds), property: "serverActionTimeoutSettings", yamlOptions: y.createYamlOptions("serverActionTimeoutSettings", (e4) => e4.setSkipProperty(true)) }]; return e3.push(g.default.createProcessingManagedExpression()), e3; } updateDependencies() { @@ -35592,7 +39306,33 @@ var require_scripting_bundle = __commonJS({ return "bridgeAction"; } } - T.info = p.default.createActionInfo({ actionClass: T, canBeInTask: true, helpTopic: c.helpTopics.actions.bridgeServer, modelClass: i2(98099), name: f.actions.callBridgeAction, scriptingName: "ArchActionCallBridge" }), t2.A = T; + y.info = p.default.createActionInfo({ actionClass: y, canBeInTask: true, helpTopic: d.helpTopics.actions.bridgeServer, modelClass: i2(98099), name: T.actions.callBridgeAction, scriptingName: "ArchActionCallBridge", modelFormatSupport: { flowYaml: { isDeprecated: true, feature: f.default.changeSetsFeaturePhase2 } } }), t2.A = y; + }, 28691: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.buildFlowInputOutputSchemasFromVariables = o, t2.refreshFlowInfoSchemasFromVariables = function(e3) { + if (!(null == e3 ? void 0 : e3.info) || !(0, n2.isFlowInfoViewModel)(e3.info)) return; + const { inputSchema: t3, outputSchema: i3 } = o(e3); + e3.info.applyInputOutputSchemas(t3, i3); + }; + const n2 = i2(90396); + function r2(e3) { + var t3; + const i3 = null === (t3 = e3.type) || void 0 === t3 ? void 0 : t3.dataType; + if (i3) return e3.type.isCollection ? { archDataTypeId: i3, type: "array" } : { archDataTypeId: i3 }; + } + function o(e3) { + var t3, i3, n3, o2, a; + const s = {}, l = {}, u = null === (t3 = null == e3 ? void 0 : e3.variableGroup) || void 0 === t3 ? void 0 : t3.flowVariables; + if (!(null == u ? void 0 : u.length)) return {}; + const c = e3.type; + for (const e4 of u) { + if (!(null == e4 ? void 0 : e4.name) || !e4.isInput && !e4.isOutput) continue; + const t4 = r2(e4); + t4 && (e4.isInput && (null === (n3 = null === (i3 = e4.type) || void 0 === i3 ? void 0 : i3.isAvailableAsInputForFlowType) || void 0 === n3 ? void 0 : n3.call(i3, c)) && (s[e4.name] = t4), e4.isOutput && (null === (a = null === (o2 = e4.type) || void 0 === o2 ? void 0 : o2.isAvailableAsOutputForFlowType) || void 0 === a ? void 0 : a.call(o2, c)) && (l[e4.name] = t4)); + } + const d = {}; + return Object.keys(s).length && (d.inputSchema = { type: "object", properties: s }), Object.keys(l).length && (d.outputSchema = { type: "object", properties: l }), d; + } }, 28722: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.AgenticVirtualAgentVersionViewModel = void 0; @@ -35654,11 +39394,11 @@ var require_scripting_bundle = __commonJS({ Object.defineProperty(t2, "__esModule", { value: true }), t2.NetworkBasedActionProperty = void 0, t2.isNetworkBasedActionProperty = function(e3) { return null == e3 ? void 0 : e3.isConfigListProperty; }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(17498)), l = n2.__importStar(i2(36781)), u = i2(10798), d = i2(10798), c = n2.__importStar(i2(58380)), p = i2(88473), _ = n2.__importStar(i2(1115)), h = i2(55867); - class m extends h.BaseActionProperty { - constructor(e3, t3, i3, n3, r3, o2, s2, l2, c2, _2) { - var h2, m2, g, f; - super(e3, t3), this._configListManager = i3, this._modelIdPropName = n3, this._modelNamePropName = r3, this._notSelectedErrorMessage = o2, this.notFoundErrorMessage = s2, this._predecessorProp = l2, this._additionalSearchParamsCallback = c2, this._searchResultsFilterCallback = _2, this.id = (0, a.uuid)(), this.currentUiErrorMessage = null, this.isOptional = false, this._featureConfigUnavailable = false, this._skipValidationCheck = false, this._outOfServiceProvider = (0, p.addOutOfServiceProperties)(this), this.parent = e3, (null === (m2 = null === (h2 = this.metaData) || void 0 === h2 ? void 0 : h2.options) || void 0 === m2 ? void 0 : m2.featureConfigName) && (this._outOfServiceProvider.featureConfigName = this.metaData.options.featureConfigName, this._featureConfigUnavailable = (0, d.isFeatureUnavailable)(this.metaData.options.featureConfigName)), (null === (f = null === (g = this.metaData) || void 0 === g ? void 0 : g.options) || void 0 === f ? void 0 : f.antiFeatureConfigName) && (this._outOfServiceProvider.antiFeatureConfigName = this.metaData.options.antiFeatureConfigName, this._featureConfigUnavailable = (0, u.isFeatureAvailable)(this.metaData.options.antiFeatureConfigName)), this.attachActionProperty(this._modelIdPropName, () => e3.model[this._modelIdPropName], (t4) => { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(17498)), s = n2.__importStar(i2(36781)), l = i2(10798), u = i2(10798), c = n2.__importStar(i2(58380)), d = i2(88473), p = n2.__importStar(i2(1115)), _ = i2(9456), h = i2(50474), m = i2(1910), g = i2(55867); + class f extends g.BaseActionProperty { + constructor(e3, t3, i3, n3, r3, o2, a2, s2, c2, p2) { + var h2, m2, g2, f2; + super(e3, t3), this._configListManager = i3, this._modelIdPropName = n3, this._modelNamePropName = r3, this._notSelectedErrorMessage = o2, this.notFoundErrorMessage = a2, this._predecessorProp = s2, this._additionalSearchParamsCallback = c2, this._searchResultsFilterCallback = p2, this.id = (0, _.uuid)(), this.currentUiErrorMessage = null, this.isOptional = false, this._featureConfigUnavailable = false, this._skipValidationCheck = false, this._outOfServiceProvider = (0, d.addOutOfServiceProperties)(this), this.parent = e3, (null === (m2 = null === (h2 = this.metaData) || void 0 === h2 ? void 0 : h2.options) || void 0 === m2 ? void 0 : m2.featureConfigName) && (this._outOfServiceProvider.featureConfigName = this.metaData.options.featureConfigName, this._featureConfigUnavailable = (0, u.isFeatureUnavailable)(this.metaData.options.featureConfigName)), (null === (f2 = null === (g2 = this.metaData) || void 0 === g2 ? void 0 : g2.options) || void 0 === f2 ? void 0 : f2.antiFeatureConfigName) && (this._outOfServiceProvider.antiFeatureConfigName = this.metaData.options.antiFeatureConfigName, this._featureConfigUnavailable = (0, l.isFeatureAvailable)(this.metaData.options.antiFeatureConfigName)), this.attachActionProperty(this._modelIdPropName, () => e3.model[this._modelIdPropName], (t4) => { t4 !== e3.model[this._modelIdPropName] && this.configListManager.tryRemoveItemFromFlowMetadata(e3, e3.model[this._modelIdPropName]), (e3.model[this._modelIdPropName] !== t4 || this._predecessorProp) && (e3.model[this._modelIdPropName] = t4, this.containedValidation()); }), this.attachActionProperty(this._modelNamePropName, () => e3.model[this._modelNamePropName], (t4) => e3.model[this._modelNamePropName] = t4); } @@ -35726,19 +39466,19 @@ var require_scripting_bundle = __commonJS({ super.search(e3), e3.checkText(this.action, this.nameValue, this.configListManager.dependencyContext); } reset() { - this.setValue(void 0), c.fireEvent(this, l.valueChanged); + this.setValue(void 0), c.fireEvent(this, s.valueChanged); } setValue(e3) { - (this.idValue || e3) && (this.nameValue === (null == e3 ? void 0 : e3.name) && this.idValue === (null == e3 ? void 0 : e3.id) || (e3 ? (this.nameValue = e3.name, this.idValue = e3.id) : (this.nameValue = null, this.idValue = null), c.fireEvent(this, l.valueChanged))); + (this.idValue || e3) && (this.nameValue === (null == e3 ? void 0 : e3.name) && this.idValue === (null == e3 ? void 0 : e3.id) || (e3 ? (this.nameValue = e3.name, this.idValue = e3.id) : (this.nameValue = null, this.idValue = null), c.fireEvent(this, s.valueChanged))); } get amObjectEventEmitter() { return true; } containedValidation() { - this.initializeDesignTimeCalled && _.validateItem(this, true, true); + this.initializeDesignTimeCalled && p.validateItem(this, true, true); } updateDependencies() { - if (super.updateDependencies(), !this.metaData.skipNetworkPropertyDependencyUpdate && this.idValue) if (this.outOfService) s.registerNonDependencyValidationItem(this.action, this.configListManager.dependencyContext, this.nameValue, this.idValue, this.configListManager.dependencyType.value); + if (super.updateDependencies(), !this.metaData.skipNetworkPropertyDependencyUpdate && this.idValue) if (this.outOfService) a.registerNonDependencyValidationItem(this.action, this.configListManager.dependencyContext, this.nameValue, this.idValue, this.configListManager.dependencyType.value); else { const e3 = this.configListManager.hasDependencyTrackingId && this.action.getDependencyTrackingId ? this.action.getDependencyTrackingId() : this.idValue; this.configListManager.registerConsumer(this.action, this.nameValue, e3); @@ -35764,11 +39504,20 @@ var require_scripting_bundle = __commonJS({ } else e3.isDeep && (this.configListManager.registerConsumer(this.action, t4.name, t4.id), this.nameValue = t4.name, this.configListManager.addItemToFlowMetadata(this.action, this.nameValue, this.idValue)); } - } else this._predecessorProp && this.action[this._predecessorProp].isNetworkBasedActionProperty && !this.action[this._predecessorProp].idValue || (e3.addError(this, this._notSelectedErrorMessage, false, true), this.currentUiErrorMessage = this._notSelectedErrorMessage, s.unRegisterConsumer(this.action, this.configListManager.dependencyType.value)); + } else this._predecessorProp && this.action[this._predecessorProp].isNetworkBasedActionProperty && !this.action[this._predecessorProp].idValue || (e3.addError(this, this._notSelectedErrorMessage, false, true), this.currentUiErrorMessage = this._notSelectedErrorMessage, a.unRegisterConsumer(this.action, this.configListManager.dependencyType.value)); } static get managedProperties() { return []; } + configureFromModel(e3, t3, i3) { + if (super.configureFromModel(e3, t3, i3), (0, h.isNullOrUndefined)(e3)) return; + const n3 = this.configListManager.dependencyType.value; + (0, m.resolveNetworkLiteralFromModel)(e3, i3, n3, (e4) => { + this.setValue(e4); + }, (e4) => { + this.nameValue = e4, c.fireEvent(this, s.valueChanged); + }); + } getAdditionalSearchParams() { if (this._additionalSearchParamsCallback) return this._additionalSearchParamsCallback(this); } @@ -35777,13 +39526,13 @@ var require_scripting_bundle = __commonJS({ } static createCreateDetails(e3, t3, i3, n3, r3, o2, a2, s2) { return { create: function(l2, u2) { - return new m(l2, u2, i3, e3, t3, n3, r3, o2, a2, s2); + return new f(l2, u2, i3, e3, t3, n3, r3, o2, a2, s2); }, getCreateClass: function() { - return m; + return f; }, modelProperties: [e3, t3], manager: i3 }; } } - t2.NetworkBasedActionProperty = m; + t2.NetworkBasedActionProperty = f; }, 28817: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -35902,16 +39651,16 @@ var require_scripting_bundle = __commonJS({ throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); }; Object.defineProperty(t2, "__esModule", { value: true }), t2.windowToggle = void 0; - var r2 = i2(76808), o = i2(69879), a = i2(65212), s = i2(19724), l = i2(17214), u = i2(5717), d = i2(54830); + var r2 = i2(76808), o = i2(69879), a = i2(65212), s = i2(19724), l = i2(17214), u = i2(5717), c = i2(54830); t2.windowToggle = function(e3, t3) { return a.operate(function(i3, a2) { - var c = [], p = function(e4) { - for (; 0 < c.length; ) c.shift().error(e4); + var d = [], p = function(e4) { + for (; 0 < d.length; ) d.shift().error(e4); a2.error(e4); }; s.innerFrom(e3).subscribe(l.createOperatorSubscriber(a2, function(e4) { var i4 = new r2.Subject(); - c.push(i4); + d.push(i4); var n3, _ = new o.Subscription(); try { n3 = s.innerFrom(t3(e4)); @@ -35919,10 +39668,10 @@ var require_scripting_bundle = __commonJS({ return void p(e5); } a2.next(i4.asObservable()), _.add(n3.subscribe(l.createOperatorSubscriber(a2, function() { - d.arrRemove(c, i4), i4.complete(), _.unsubscribe(); + c.arrRemove(d, i4), i4.complete(), _.unsubscribe(); }, u.noop, p))); }, u.noop)), i3.subscribe(l.createOperatorSubscriber(a2, function(e4) { - var t4, i4, r3 = c.slice(); + var t4, i4, r3 = d.slice(); try { for (var o2 = n2(r3), a3 = o2.next(); !a3.done; a3 = o2.next()) a3.value.next(e4); } catch (e5) { @@ -35935,18 +39684,18 @@ var require_scripting_bundle = __commonJS({ } } }, function() { - for (; 0 < c.length; ) c.shift().complete(); + for (; 0 < d.length; ) d.shift().complete(); a2.complete(); }, p, function() { - for (; 0 < c.length; ) c.shift().unsubscribe(); + for (; 0 < d.length; ) d.shift().unsubscribe(); })); }); }; }, 29017: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeDigitalAudioOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { + const n2 = i2(31635), r2 = i2(65615), o = n2.__importDefault(i2(4648)), a = i2(10798); + class s extends r2.BaseExpressionTypeCollectionOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -35959,8 +39708,11 @@ var require_scripting_bundle = __commonJS({ get isExpressionTypeDigitalAudioOptions() { return true; } + get supportsLiteralMode() { + return (0, a.isFeatureAvailable)(o.default.cannedResponseAttachmentsPostGaFeature); + } } - t2.ExpressionTypeDigitalAudioOptions = r2; + t2.ExpressionTypeDigitalAudioOptions = s; }, 29035: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.findIndex = void 0; @@ -35971,7 +39723,7 @@ var require_scripting_bundle = __commonJS({ }, 29102: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(63824)), a = n2.__importStar(i2(81116)), s = i2(14394), l = i2(67607), u = i2(79467), d = i2(78513), c = n2.__importDefault(i2(61864)), p = n2.__importStar(i2(1115)), _ = i2(12179), h = n2.__importDefault(i2(68460)), m = i2(74803), g = i2(7401), f = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(63824)), a = n2.__importStar(i2(81116)), s = i2(14394), l = i2(67607), u = i2(79467), c = i2(78513), d = n2.__importDefault(i2(61864)), p = n2.__importStar(i2(1115)), _ = i2(12179), h = n2.__importDefault(i2(68460)), m = i2(74803), g = i2(7401), f = i2(47957); class T extends h.default { constructor(e3, t3) { super(e3, t3), this.isValidatingExtDelay = false, this.isValidatingPromptDelay = false, this.modelPropertyName = "defaultSettings.Menu", Object.defineProperties(this, { isFlowSettings: { value: !t3 } }); @@ -36001,13 +39753,13 @@ var require_scripting_bundle = __commonJS({ loadConfiguration(e3) { var t3; this.isFlowSettings && !e3.defaultSettings && (e3.defaultSettings = new m()); - const i3 = (e4) => e4.setAllowFlowLevelDefault(true).setIsOptional(true).setDefaultToExpression(true), n3 = d.ExpressionTypeIntegerOptions.create((e4) => e4.setIninTestingField("promptRepeatCount").facets.setMinInt(0, true).setMaxInt(10, true)), r3 = u.ExpressionTypeDurationOptions.create((e4) => e4.setDurationStyle(o.durationStyles.secondsAndTenthsDuration).setAllowModeLiteralOnly().setIninTestingField("promptRepeatDelay").facets.setMinDur(0, true).setMaxDur(6e4, true)).setCustomLiteralValidator((e4) => (this.isValidatingPromptDelay = true, this.validateExtDialDelayIsLessThanRepeatDelay(e4))), c2 = u.ExpressionTypeDurationOptions.create((e4) => e4.setDurationStyle(o.durationStyles.secondsAndTenthsDuration).setAllowModeLiteralOnly().setIninTestingField("extensionDialingDelayNum").facets.setMinDur(0, true).setMaxDur(6e4, true)).setCustomLiteralValidator((e4) => (this.isValidatingExtDelay = true, this.validateExtDialDelayIsLessThanRepeatDelay(e4))), p2 = new l.ExpressionTypeBooleanOptions().setAllowModeLiteralOnly().setIninTestingField("shouldUseExtensionDialing"); - this.isFlowSettings ? (n3.setDefaultText("3"), r3.setDefaultText("P0D0H0M10S0F"), c2.setDefaultText("P0D0H0M1S0F"), p2.setDefaultText("true")) : (i3(n3), i3(r3), i3(c2), i3(p2)); + const i3 = (e4) => e4.setAllowFlowLevelDefault(true).setIsOptional(true).setDefaultToExpression(true), n3 = c.ExpressionTypeIntegerOptions.create((e4) => e4.setIninTestingField("promptRepeatCount").facets.setMinInt(0, true).setMaxInt(10, true)), r3 = u.ExpressionTypeDurationOptions.create((e4) => e4.setDurationStyle(o.durationStyles.secondsAndTenthsDuration).setAllowModeLiteralOnly().setIninTestingField("promptRepeatDelay").facets.setMinDur(0, true).setMaxDur(6e4, true)).setCustomLiteralValidator((e4) => (this.isValidatingPromptDelay = true, this.validateExtDialDelayIsLessThanRepeatDelay(e4))), d2 = u.ExpressionTypeDurationOptions.create((e4) => e4.setDurationStyle(o.durationStyles.secondsAndTenthsDuration).setAllowModeLiteralOnly().setIninTestingField("extensionDialingDelayNum").facets.setMinDur(0, true).setMaxDur(6e4, true)).setCustomLiteralValidator((e4) => (this.isValidatingExtDelay = true, this.validateExtDialDelayIsLessThanRepeatDelay(e4))), p2 = new l.ExpressionTypeBooleanOptions().setAllowModeLiteralOnly().setIninTestingField("shouldUseExtensionDialing"); + this.isFlowSettings ? (n3.setDefaultText("3"), r3.setDefaultText("P0D0H0M10S0F"), d2.setDefaultText("P0D0H0M1S0F"), p2.setDefaultText("true")) : (i3(n3), i3(r3), i3(d2), i3(p2)); const _2 = (null === (t3 = this.parent) || void 0 === t3 ? void 0 : t3.isFlowViewModel) ? this : this.parent; - this.promptRepeatCount = a.expression(this.parentFlow, _2, this._prepareModel(e3, "promptRepeatCount"), f.menu.promptRepeatCount, s.globalTypes.integer, null, n3), this.promptRepeatDelay = a.expression(this.parentFlow, _2, this._prepareModel(e3, "promptRepeatDelay"), f.menu.menuSelectionTimeout, s.globalTypes.duration, null, r3), this.extensionDialingDelay = a.expression(this.parentFlow, _2, this._prepareModel(e3, "extensionDialingDelay"), f.menu.extensionDialingMaxDelay, s.globalTypes.duration, null, c2), this.useExtensionDialing = a.expression(this.parentFlow, _2, this._prepareModel(e3, "useExtensionDialing"), f.menu.useExtensionDialing, s.globalTypes.boolean, null, p2); + this.promptRepeatCount = a.expression(this.parentFlow, _2, this._prepareModel(e3, "promptRepeatCount"), f.menu.promptRepeatCount, s.globalTypes.integer, null, n3), this.promptRepeatDelay = a.expression(this.parentFlow, _2, this._prepareModel(e3, "promptRepeatDelay"), f.menu.menuSelectionTimeout, s.globalTypes.duration, null, r3), this.extensionDialingDelay = a.expression(this.parentFlow, _2, this._prepareModel(e3, "extensionDialingDelay"), f.menu.extensionDialingMaxDelay, s.globalTypes.duration, null, d2), this.useExtensionDialing = a.expression(this.parentFlow, _2, this._prepareModel(e3, "useExtensionDialing"), f.menu.useExtensionDialing, s.globalTypes.boolean, null, p2); } get nodeGuxIcon() { - return c.default.menu.gux; + return d.default.menu; } get helpTopic() { return _.helpTopics.treeNodes.menuSettings; @@ -36090,10 +39842,10 @@ var require_scripting_bundle = __commonJS({ const n3 = []; !t3.hideFromAutocomplete && i3 && (o.default.contains(e3._expansions, t3) || e3.addExpansionVariable(t3)); const s2 = (i4, l2, u2) => { - i4.canAttachProperty && o.default.each(i4.type.properties, (d) => { - var c; - const p = o.default.union(l2, [d.name]), _ = a(p, t3.clone()); - _ && (i4.isReadOnly && (_.isReadOnly = true), _.hierarchicalParent = i4, e3.addExpansionVariable(_), u2.expansionList.push(_), n3.push(_), (null === (c = _.type) || void 0 === c ? void 0 : c.isMatch(i4.type, r2.settings.exact)) || s2(_, p, u2)); + i4.canAttachProperty && o.default.each(i4.type.properties, (c) => { + var d; + const p = o.default.union(l2, [c.name]), _ = a(p, t3.clone()); + _ && (i4.isReadOnly && (_.isReadOnly = true), _.hierarchicalParent = i4, e3.addExpansionVariable(_), u2.expansionList.push(_), n3.push(_), (null === (d = _.type) || void 0 === d ? void 0 : d.isMatch(i4.type, r2.settings.exact)) || s2(_, p, u2)); }); }; return t3.type && o.default.each(t3.type.properties, (i4) => { @@ -36184,27 +39936,27 @@ var require_scripting_bundle = __commonJS({ t2.default = o; }, 29317: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(61870), a = i2(99469), s = i2(36128), l = i2(8625), u = n2.__importDefault(i2(41510)), d = i2(12179), c = n2.__importDefault(i2(97891)), p = i2(28803), _ = n2.__importDefault(i2(92566)), h = i2(80428), m = i2(51294), g = i2(47957); - class f extends _.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(61870), a = i2(99469), s = i2(36128), l = i2(8625), u = n2.__importDefault(i2(41510)), c = i2(12179), d = n2.__importDefault(i2(97891)), p = i2(28803), _ = n2.__importDefault(i2(92566)), h = i2(80428), m = n2.__importDefault(i2(4648)), g = i2(51294), f = i2(47957); + class T extends _.default { _initializeDesignTime() { this.botId && r2.default.isUndefined(this.environmentId) && (this.environmentId = u.default.dialogflow.draftEnvironmentId), super._initializeDesignTime(); } get botRunnableNetworkGetCall() { - return m.getAgent; + return g.getAgent; } get isDialogflowAction() { return true; } static get managedProperties() { - return [{ label: g.dialogflow.intentProbabilityLabel, options: o.ExpressionTypeDecimalOptions.create((e3) => e3.setDescriptionInfo(g.dialogflow.intentProbabilityLabel, g.dialogflow.intentProbabilityDescription).setIninTestingField("intentProbability").setIsOptional(true).setAsOutput()), property: "intentProbability", type: h.expressionTypeNames.decimal, yamlOptions: _.default.createYamlOptions("intentProbability", (e3) => e3.setExportOrder(4)) }, { property: "bot", createDetails: p.NetworkBasedActionProperty.createCreateDetails("botId", "botName", l.dialogflowAgentManager, g.dialogflow.mustSelectAgent, g.dialogflow.agentNotFound, null), yamlOptions: f.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "outputs", dataPairListCollection: true, isOutput: true, options: a.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), yamlOptions: _.default.createYamlOptions(`${this.name}-outputs`, (e3) => e3.setPropertyName("intents")) }, { property: "outputSessionVariables", namedItems: true, isOutput: true, options: s.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(g.dialogflow.sessionKeyLabel).setValueLabel(g.getAttributes.variableLabel)), yamlOptions: _.default.createYamlOptions("outputSessionVariables", (e3) => e3.setWrappedCollectionItemName("outputSessionVariable").setNameValuePairShouldUseVariableProperty(true).setExportOrder(6)) }, { label: g.dialogflow.sessionLabel, property: "sessionVariables", namedItems: true, isOutput: false, options: s.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(g.dialogflow.sessionKeyLabel).setValueLabel(g.updateVariables.variableValue)), yamlOptions: _.default.createYamlOptions("sessionVariables", (e3) => e3.setWrappedCollectionItemName("sessionVariable").setExportOrder(5)) }]; + return [{ label: f.dialogflow.intentProbabilityLabel, options: o.ExpressionTypeDecimalOptions.create((e3) => e3.setDescriptionInfo(f.dialogflow.intentProbabilityLabel, f.dialogflow.intentProbabilityDescription).setIninTestingField("intentProbability").setIsOptional(true).setAsOutput()), property: "intentProbability", type: h.expressionTypeNames.decimal, yamlOptions: _.default.createYamlOptions("intentProbability", (e3) => e3.setExportOrder(4)) }, { property: "bot", createDetails: p.NetworkBasedActionProperty.createCreateDetails("botId", "botName", l.dialogflowAgentManager, f.dialogflow.mustSelectAgent, f.dialogflow.agentNotFound, null), yamlOptions: T.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "outputs", dataPairListCollection: true, isOutput: true, options: a.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), yamlOptions: _.default.createYamlOptions(`${this.name}-outputs`, (e3) => e3.setPropertyName("intents")) }, { property: "outputSessionVariables", namedItems: true, isOutput: true, options: s.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(f.dialogflow.sessionKeyLabel).setValueLabel(f.getAttributes.variableLabel)), yamlOptions: _.default.createYamlOptions("outputSessionVariables", (e3) => e3.setWrappedCollectionItemName("outputSessionVariable").setNameValuePairShouldUseVariableProperty(true).setExportOrder(6)) }, { label: f.dialogflow.sessionLabel, property: "sessionVariables", namedItems: true, isOutput: false, options: s.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(f.dialogflow.sessionKeyLabel).setValueLabel(f.updateVariables.variableValue)), yamlOptions: _.default.createYamlOptions("sessionVariables", (e3) => e3.setWrappedCollectionItemName("sessionVariable").setExportOrder(5)) }]; } validate(e3) { super.validate(e3); const t3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue); - 0 === (null == t3 ? void 0 : t3.intents.length) && e3.addError(this, g.dialogflow.agentHasNoIntents); + 0 === (null == t3 ? void 0 : t3.intents.length) && e3.addError(this, f.dialogflow.agentHasNoIntents); } } - f.info = c.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: d.helpTopics.actions.dialogflow, modelClass: i2(79857), name: g.actions.dialogflow, scriptingName: "ArchActionCallDialogflowBot" }), t2.A = f; + T.info = d.default.createActionInfo({ actionClass: T, canBeInTask: true, helpTopic: c.helpTopics.actions.dialogflow, modelClass: i2(79857), name: f.actions.dialogflow, scriptingName: "ArchActionCallDialogflowBot", modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } } }), t2.A = T; }, 29374: (e2, t2, i2) => { function n2() { this.id = void 0, this.name = void 0, this.color = void 0, this.modes = void 0, n2.baseConstructor.apply(this, arguments); @@ -36281,13 +40033,13 @@ var require_scripting_bundle = __commonJS({ }, 29485: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.NameValuePairs = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importStar(i2(8462)), a = n2.__importStar(i2(81116)), s = i2(14394), l = i2(44703), u = n2.__importDefault(i2(45623)), d = i2(7401), c = i2(47957), p = i2(42217); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importStar(i2(8462)), a = n2.__importStar(i2(81116)), s = i2(14394), l = i2(44703), u = n2.__importDefault(i2(45623)), c = i2(7401), d = i2(47957), p = i2(42217); class _ extends l.ExpressionContainer { constructor(e3, t3, i3, n3, r3) { super(e3.parentFlow, e3, t3, n3, r3), Object.defineProperties(this, { isOutput: { value: i3 } }), this._initialize(); } createItem(e3, t3) { - (e3 = e3 || new p()).variable = e3.variable || new d(), e3.expression = e3.expression || new d(); + (e3 = e3 || new p()).variable = e3.variable || new c(), e3.expression = e3.expression || new c(); const i3 = s.globalTypes.string.createExpressionOptionClass().setAsInput(); i3.facets.setMinLength(1), this.options && this.options.allowLiteralOnlyOnName && i3.setAllowModeLiteralOnly(); const n3 = a.expression(this.parentFlow, this.parent, e3.variable, this.getNameLabel(this.items.length), s.globalTypes.string, void 0, i3), r3 = o.buildOptions(t3 || e3.expression.type, void 0, this.parentFlow); @@ -36296,20 +40048,20 @@ var require_scripting_bundle = __commonJS({ return new u.default(e3, n3, l2); } getValueLabel(e3) { - const t3 = this.options && this.options.valueLabel ? this.options.valueLabel : c.updateVariables.variableValue; + const t3 = this.options && this.options.valueLabel ? this.options.valueLabel : d.updateVariables.variableValue; return (0, r2.sprintf)(t3, e3 + 1); } getAddButtonLabel() { - return this.options && this.options.addButtonLabel ? this.options.addButtonLabel : c.collectionEditor.addItem; + return this.options && this.options.addButtonLabel ? this.options.addButtonLabel : d.collectionEditor.addItem; } getSectionLabel() { - return this.options && this.options.sectionLabel ? this.options.sectionLabel : c.setAttributes.attribute; + return this.options && this.options.sectionLabel ? this.options.sectionLabel : d.setAttributes.attribute; } getEmptySectionLabel() { - return c.setAttributes.noAttributesDefined; + return d.setAttributes.noAttributesDefined; } getNameLabel(e3) { - const t3 = this.options && this.options.nameLabel ? this.options.nameLabel : c.setAttributes.nameLabel; + const t3 = this.options && this.options.nameLabel ? this.options.nameLabel : d.setAttributes.nameLabel; return (0, r2.sprintf)(t3, e3 + 1); } get isNameValuePairs() { @@ -36328,7 +40080,7 @@ var require_scripting_bundle = __commonJS({ } isVariableListEmpty(e3) { const t3 = this.parent, i3 = t3.variables ? t3.variables.items : null; - i3 && 0 !== i3.length || e3.addWarning(t3, c.getAttributes.noAttributesError); + i3 && 0 !== i3.length || e3.addWarning(t3, d.getAttributes.noAttributesError); } } t2.NameValuePairs = _; @@ -36336,7 +40088,7 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeUtilizationLabelOptions = void 0; - const o = i2(31635), a = o.__importDefault(i2(40370)), s = i2(80295), l = i2(71056), u = i2(80295), d = i2(55909), c = i2(33951); + const o = i2(31635), a = o.__importDefault(i2(40370)), s = i2(80295), l = i2(71056), u = i2(80295), c = i2(55909), d = i2(33951); class p extends l.ExpressionTypeNetworkObjectOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); @@ -36354,7 +40106,7 @@ var require_scripting_bundle = __commonJS({ return this._utilizationLabelFacets; } set facets(e3) { - this._utilizationLabelFacets = c.ParameterValidator.expectTrue(e3 && true === e3.isUtilizationLabelFacets, e3, "UtilizationLabelFacets", () => d.ParameterInfo.createPropertySet(this.className, "facets", "value")); + this._utilizationLabelFacets = d.ParameterValidator.expectTrue(e3 && true === e3.isUtilizationLabelFacets, e3, "UtilizationLabelFacets", () => c.ParameterInfo.createPropertySet(this.className, "facets", "value")); } } t2.ExpressionTypeUtilizationLabelOptions = p, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== a.default && a.default) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== a.default && a.default) ? r2 : Object])], p.prototype, "facets", null); @@ -36386,22 +40138,22 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.determineGenesysCloudToArchitectLocale = m, t2.getCurrentLanguageDirection = function() { const e3 = r2.default.findWhere(a.isoLanguagesUiData, { id: l.getCurrentLanguage() }); - return e3 ? e3.direction : d.leftToRight; + return e3 ? e3.direction : c.leftToRight; }, t2.getCurrentLanguage = function() { return _; }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(24032), a = i2(85306), s = i2(6256), l = n2.__importStar(i2(74359)), u = i2(22754), d = i2(37675), c = (0, o.getTopic)("languageManager"), p = "en-us"; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(24032), a = i2(85306), s = i2(6256), l = n2.__importStar(i2(74359)), u = i2(22754), c = i2(37675), d = (0, o.getTopic)("languageManager"), p = "en-us"; let _; const h = ["fi", "th", "da"]; function m(e3) { const t3 = u.storage.cookies.get(u.storage.keys.pcLocale), i3 = u.storage.cookies.get(u.storage.keys.pcLocaleOld); - if (c.info("New cookie value: '" + t3 + "', old cookie value: '" + i3 + "'"), e3 || (e3 = t3 || i3), !e3) return c.info("No language found in cookie storage."), null; + if (d.info("New cookie value: '" + t3 + "', old cookie value: '" + i3 + "'"), e3 || (e3 = t3 || i3), !e3) return d.info("No language found in cookie storage."), null; const n3 = (0, s.getGenesysCloudToArchitectLocale)(e3); - return n3 ? (c.info("Using language " + JSON.stringify(n3)), n3.id) : (r2.default.contains(h, e3) || c.error(`No matching language found for "${e3}".`), null); + return n3 ? (d.info("Using language " + JSON.stringify(n3)), n3.id) : (r2.default.contains(h, e3) || d.error(`No matching language found for "${e3}".`), null); } { let e3; - e3 = m(), e3 ? (c.info("Setting currentLanguage to: " + e3), _ = e3) : (c.info("Setting currentLanguage to default language: " + p), _ = p); + e3 = m(), e3 ? (d.info("Setting currentLanguage to: " + e3), _ = e3) : (d.info("Setting currentLanguage to default language: " + p), _ = p); } if (l.setCurrentLanguage(_), r2.default.findWhere(a.isoLanguagesUiData, { id: _ }).italic) { const e3 = document.createElement("style"); @@ -36631,10 +40383,10 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2, r2; t2.A = void 0; - const o = i2(31635), a = i2(5894), s = i2(80295), l = o.__importDefault(i2(7401)), u = i2(47233), d = i2(80295), c = i2(30801); + const o = i2(31635), a = i2(5894), s = i2(80295), l = o.__importDefault(i2(7401)), u = i2(47233), c = i2(80295), d = i2(30801); class p extends a.BaseFailureOutputsActionModel { constructor(e3) { - super(e3), this.__type = p.__type, (0, d.makeUnenumerable)(this, "_externalContactId"), (0, d.makeUnenumerable)(this, "_externalContact"), (0, d.makeUnenumerable)(this, "_patchChanges"), this._patchChanges || (this._patchChanges = []); + super(e3), this.__type = p.__type, (0, c.makeUnenumerable)(this, "_externalContactId"), (0, c.makeUnenumerable)(this, "_externalContact"), (0, c.makeUnenumerable)(this, "_patchChanges"), this._patchChanges || (this._patchChanges = []); } pasteReIdOrRename(e3) { var t3, i3, n3; @@ -36663,11 +40415,11 @@ var require_scripting_bundle = __commonJS({ this._patchChanges = this.reviveArray(e3, u.ExternalContactPatchChange); } } - t2.A = p, p.__type = c.updateExternalContactActionType, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], p.prototype, "externalContactId", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== l.default && l.default) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], p.prototype, "externalContact", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Array), o.__metadata("design:paramtypes", [Object])], p.prototype, "patchChanges", null), p.registerType(); + t2.A = p, p.__type = d.updateExternalContactActionType, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], p.prototype, "externalContactId", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== l.default && l.default) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], p.prototype, "externalContact", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Array), o.__metadata("design:paramtypes", [Object])], p.prototype, "patchChanges", null), p.registerType(); }, 30015: (e2, t2, i2) => { const n2 = i2(14961), r2 = { replacementDuration: "$estimatedWaitTimeDuration", replacementRoundingInterval: "$estimatedWaitTimeRoundingInterval", replacementSpecificRoundingInterval: "$estimatedWaitTimeSpecificRoundingIntervals", subExpressions: { toAudioBlank: { _label: "blank_0ms", ids: ["Audio_ONE ToAudioBlank(Long_ONE)"], value: "ToAudioBlank(0)" }, toAudioDuration: { _label: "ewt_duration", ids: ["Audio_ONE ToAudioDuration(Duration_ONE)"], value: "ToAudioDuration($estimatedWaitTimeDuration)" }, toAudioDurationRoundUp: { _label: "ewt_duration_rounded_up", ids: ["Audio_ONE ToAudioDuration(Duration_ONE)", "Duration_ONE RoundUp(Duration_ONE,Duration_ONE,Duration_COLL)"], value: "ToAudioDuration(RoundUp($estimatedWaitTimeDuration, $estimatedWaitTimeRoundingInterval, $estimatedWaitTimeSpecificRoundingIntervals))" }, toAudioTimeRange: { _label: "ewt_duration_as_time_range", ids: ["Audio_ONE ToAudioTimeRange(Long_ONE,Long_ONE,TimePartEnumDataType_ONE)", "Long_ONE toInt(Decimal_ONE)", "Long_ONE toInt(Duration_ONE)", "Duration_COLL Range(Duration_ONE,Duration_ONE)", "Duration_ONE RoundUp(Duration_ONE,Duration_ONE)", "Duration_ONE makeDuration(Long_ONE,Long_ONE,Long_ONE,Long_ONE)"], value: "ToAudioTimeRange(ToInt(ToInt(If(Range(RoundUp($estimatedWaitTimeDuration, MakeDuration(0, 0, 1, 0)),$estimatedWaitTimeRoundingInterval)[0] < MakeDuration(0,0,1,0),MakeDuration(0,0,1,0),Range(RoundUp($estimatedWaitTimeDuration, MakeDuration(0, 0, 1, 0)),$estimatedWaitTimeRoundingInterval)[0])) / 60000),ToInt(ToInt(If(Range(RoundUp($estimatedWaitTimeDuration, MakeDuration(0, 0, 1, 0)),$estimatedWaitTimeRoundingInterval)[1] < MakeDuration(0,0,1,0),MakeDuration(0,0,1,0),Range(RoundUp($estimatedWaitTimeDuration, MakeDuration(0, 0, 1, 0)),$estimatedWaitTimeRoundingInterval)[1])) / 60000),Format.TimePart.minutes)" } }, systemPrompts: { estimated_wait_time_about: "estimated_wait_time_about", estimated_wait_time_about_2: "estimated_wait_time_about_2", estimated_wait_time_is: "estimated_wait_time_is", estimated_wait_time_is_2: "estimated_wait_time_is_2", estimated_wait_time_exact: "estimated_wait_time_exact", estimated_wait_time_less_than: "estimated_wait_time_less_than", estimated_wait_time_less_than_2: "estimated_wait_time_less_than_2", estimated_wait_time_range_1: "estimated_wait_time_range_1", desu: "desu", time_range_separator: "time_range_separator" }, sequenceTypes: { tts: "tts", subExpression: "subExpression", systemPrompt: "systemPrompt" } }; function o() { - o._super.constructor.call(this), Object.defineProperties(this, { _label: { value: "EWT" }, className: { value: "EstimatedWaitTimeSequences" }, parts: { value: r2 }, adsSectionName: { value: "estimatedWaitTime" }, languageSequences: { value: { "da-dk": "mainSequence", "de-de": "mainSequence", "de-ch": "mainSequence", "el-gr": "mainSequence", "en-au": "mainSequence", "en-gb": "mainSequence", "en-us": "mainSequence", "es-es": "localizedSequence2", "es-us": "localizedSequence2", "fi-fi": "mainSequence", "fil-ph": "mainSequence", "fr-ca": "localizedSequence2", "fr-fr": "localizedSequence2", "it-it": "localizedSequence2", "nl-nl": "localizedSequence2", "ms-my": "mainSequence", "ja-jp": "jaJpOnly", "nb-no": "mainSequence", "pl-pl": "mainSequence", "pt-br": "localizedSequence2", "pt-pt": "localizedSequence2", "sv-se": "mainSequence", "th-th": "mainSequence", "zh-cn": "mainSequence", "zh-hk": "mainSequence" } }, allSequences: { value: { allModes: { _label: "mode_all_no_duration", conditions: [{ _label: "caller_ewt_not_set", condition: "IsNotSetOrEmpty($estimatedWaitTimeDuration)", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioBlank }] }] } } }, mainSequence: { value: { about: { _label: "mode_about", conditions: [{ _label: "caller_ewt_is_about", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_about" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDurationRoundUp }] }] }, exact: { _label: "mode_exact", conditions: [{ _label: "caller_ewt_is_exactly", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDuration }] }] }, lessthan: { _label: "mode_less_than", conditions: [{ _label: "caller_ewt_is_less_than", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_less_than" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDurationRoundUp }] }] }, range: { _label: "mode_range", conditions: [{ _label: "caller_ewt_as_range", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioTimeRange }], indirectlyUsedPrompts: [{ type: r2.sequenceTypes.systemPrompt, value: "time_range_separator", id: "__time_range_separator__" }] }] } } }, jaJpOnly: { value: { about: { _label: "mode_about", conditions: [{ _label: "caller_ewt_is_about", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_about" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDurationRoundUp }, { type: r2.sequenceTypes.systemPrompt, value: "desu" }] }] }, exact: { _label: "mode_exact", conditions: [{ _label: "caller_ewt_is_exactly", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDuration }, { type: r2.sequenceTypes.systemPrompt, value: "desu" }] }] }, lessthan: { _label: "mode_less_than", conditions: [{ _label: "caller_ewt_is_less_than", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_less_than" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDurationRoundUp }, { type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_less_than_2" }] }] }, range: { _label: "mode_range", conditions: [{ _label: "caller_ewt_as_range", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioTimeRange }, { type: r2.sequenceTypes.systemPrompt, value: "desu" }] }] } } }, localizedSequence2: { value: { about: { _label: "mode_about", conditions: [{ _label: "caller_ewt_is_about", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_about" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDurationRoundUp }] }] }, exact: { _label: "mode_exact", conditions: [{ _label: "caller_ewt_is_exactly", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDuration }] }] }, lessthan: { _label: "mode_less_than", conditions: [{ _label: "caller_ewt_is_less_than", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_less_than" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDurationRoundUp }] }] }, range: { _label: "mode_range", conditions: [{ _label: "caller_ewt_as_range", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_range_1" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioTimeRange }] }] } } } }); + o._super.constructor.call(this), Object.defineProperties(this, { _label: { value: "EWT" }, className: { value: "EstimatedWaitTimeSequences" }, parts: { value: r2 }, adsSectionName: { value: "estimatedWaitTime" }, languageSequences: { value: { "da-dk": "mainSequence", "de-de": "mainSequence", "de-ch": "mainSequence", "el-gr": "mainSequence", "en-au": "mainSequence", "en-gb": "mainSequence", "en-us": "mainSequence", "es-es": "localizedSequence2", "es-us": "localizedSequence2", "fi-fi": "mainSequence", "fil-ph": "mainSequence", "fr-ca": "localizedSequence2", "fr-fr": "localizedSequence2", "he-il": "mainSequence", "it-it": "localizedSequence2", "nl-nl": "localizedSequence2", "ms-my": "mainSequence", "ja-jp": "jaJpOnly", "nb-no": "mainSequence", "pl-pl": "mainSequence", "pt-br": "localizedSequence2", "pt-pt": "localizedSequence2", "sv-se": "mainSequence", "th-th": "mainSequence", "zh-cn": "mainSequence", "zh-hk": "mainSequence" } }, allSequences: { value: { allModes: { _label: "mode_all_no_duration", conditions: [{ _label: "caller_ewt_not_set", condition: "IsNotSetOrEmpty($estimatedWaitTimeDuration)", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioBlank }] }] } } }, mainSequence: { value: { about: { _label: "mode_about", conditions: [{ _label: "caller_ewt_is_about", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_about" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDurationRoundUp }] }] }, exact: { _label: "mode_exact", conditions: [{ _label: "caller_ewt_is_exactly", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDuration }] }] }, lessthan: { _label: "mode_less_than", conditions: [{ _label: "caller_ewt_is_less_than", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_less_than" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDurationRoundUp }] }] }, range: { _label: "mode_range", conditions: [{ _label: "caller_ewt_as_range", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioTimeRange }], indirectlyUsedPrompts: [{ type: r2.sequenceTypes.systemPrompt, value: "time_range_separator", id: "__time_range_separator__" }] }] } } }, jaJpOnly: { value: { about: { _label: "mode_about", conditions: [{ _label: "caller_ewt_is_about", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_about" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDurationRoundUp }, { type: r2.sequenceTypes.systemPrompt, value: "desu" }] }] }, exact: { _label: "mode_exact", conditions: [{ _label: "caller_ewt_is_exactly", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDuration }, { type: r2.sequenceTypes.systemPrompt, value: "desu" }] }] }, lessthan: { _label: "mode_less_than", conditions: [{ _label: "caller_ewt_is_less_than", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_less_than" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDurationRoundUp }, { type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_less_than_2" }] }] }, range: { _label: "mode_range", conditions: [{ _label: "caller_ewt_as_range", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioTimeRange }, { type: r2.sequenceTypes.systemPrompt, value: "desu" }] }] } } }, localizedSequence2: { value: { about: { _label: "mode_about", conditions: [{ _label: "caller_ewt_is_about", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_about" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDurationRoundUp }] }] }, exact: { _label: "mode_exact", conditions: [{ _label: "caller_ewt_is_exactly", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDuration }] }] }, lessthan: { _label: "mode_less_than", conditions: [{ _label: "caller_ewt_is_less_than", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_less_than" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioDurationRoundUp }] }] }, range: { _label: "mode_range", conditions: [{ _label: "caller_ewt_as_range", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "estimated_wait_time_range_1" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioTimeRange }] }] } } } }); } n2.extend(o), e2.exports = new o(); }, 30021: (e2, t2, i2) => { @@ -36678,10 +40430,10 @@ var require_scripting_bundle = __commonJS({ }, 30028: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.InqueueFlowActionProperty = void 0; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = i2(4085), l = i2(36843), u = i2(33690), d = n2.__importStar(i2(17498)), c = n2.__importStar(i2(36781)), p = i2(82453), _ = i2(28803), h = n2.__importStar(i2(19859)), m = i2(44307), g = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = i2(4085), l = i2(36843), u = i2(33690), c = n2.__importStar(i2(17498)), d = n2.__importStar(i2(36781)), p = i2(82453), _ = i2(28803), h = n2.__importStar(i2(19859)), m = i2(44307), g = i2(47957); class f extends _.NetworkBasedActionProperty { constructor(e3, t3, i3, n3, r3) { - super(e3, t3, (0, p.getSupportedInQueueFlowManager)(e3.parentFlow), n3, r3), e3.parentFlow.isCommonModuleFlow && this.addAutoCleanedUpEventSinkWatch(c.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => { + super(e3, t3, (0, p.getSupportedInQueueFlowManager)(e3.parentFlow), n3, r3), e3.parentFlow.isCommonModuleFlow && this.addAutoCleanedUpEventSinkWatch(d.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => { this.setConfigListMangerAndUpdateDependencies((0, p.getSupportedInQueueFlowManager)(e3.parentFlow)); }); } @@ -36698,7 +40450,12 @@ var require_scripting_bundle = __commonJS({ this.action.inQueueFlowId = e3, this.action.inQueueFlowName = t3, e3 && (this.action.useDefaultHandling = false), this.updateDependencies(); } updateDependencies() { - this.action[this._modelNamePropName] && this.action[this._modelIdPropName] && !this.action.useDefaultHandling ? this.configListManager.registerConsumer(this.action, this.action[this._modelNamePropName], this.action[this._modelIdPropName]) : d.unRegisterConsumer(this.action, "flow"); + this.action[this._modelNamePropName] && this.action[this._modelIdPropName] && !this.action.useDefaultHandling ? this.configListManager.registerConsumer(this.action, this.action[this._modelNamePropName], this.action[this._modelIdPropName]) : c.unRegisterConsumer(this.action, "flow"); + } + repointSelfReference(e3, t3) { + h.repointSelfReferenceIfMatch(this.action[this._modelIdPropName], this.action[this._modelNamePropName], e3, t3, (e4, t4) => { + this.setInQueueFlow(e4, t4); + }); } validate(e3) { if (!this.action.supportedInQueueFlowType || this.action.useDefaultHandling) return; @@ -36779,14 +40536,14 @@ var require_scripting_bundle = __commonJS({ }, 30131: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduled = void 0; - var n2 = i2(65650), r2 = i2(54530), o = i2(34950), a = i2(36805), s = i2(17873), l = i2(80629), u = i2(67552), d = i2(94975), c = i2(12187), p = i2(78263), _ = i2(86297), h = i2(95462), m = i2(30380); + var n2 = i2(65650), r2 = i2(54530), o = i2(34950), a = i2(36805), s = i2(17873), l = i2(80629), u = i2(67552), c = i2(94975), d = i2(12187), p = i2(78263), _ = i2(86297), h = i2(95462), m = i2(30380); t2.scheduled = function(e3, t3) { if (null != e3) { if (l.isInteropObservable(e3)) return n2.scheduleObservable(e3, t3); - if (d.isArrayLike(e3)) return o.scheduleArray(e3, t3); + if (c.isArrayLike(e3)) return o.scheduleArray(e3, t3); if (u.isPromise(e3)) return r2.schedulePromise(e3, t3); if (p.isAsyncIterable(e3)) return s.scheduleAsyncIterable(e3, t3); - if (c.isIterable(e3)) return a.scheduleIterable(e3, t3); + if (d.isIterable(e3)) return a.scheduleIterable(e3, t3); if (h.isReadableStreamLike(e3)) return m.scheduleReadableStreamLike(e3, t3); } throw _.createInvalidObservableTypeError(e3); @@ -36805,10 +40562,10 @@ var require_scripting_bundle = __commonJS({ } t2.UserManager = l, t2.userManager = new l(); }, 30218: (e2, t2, i2) => { - const { builderCategoryIds: n2 } = i2(73062), r2 = i2(5532).default, { builderPartIds: o } = i2(69149), a = i2(42290).default, s = i2(16958), l = i2(76486).default, u = i2(22599).default, { flowTypes: d } = i2(96618), { globalTypes: c } = i2(14394); + const { builderCategoryIds: n2 } = i2(73062), r2 = i2(5532).default, { builderPartIds: o } = i2(69149), a = i2(42290).default, s = i2(16958), l = i2(76486).default, u = i2(22599).default, { flowTypes: c } = i2(96618), { globalTypes: d } = i2(14394); function p({ builderPartId: e3, builderPartName: t3, builderPartDescription: i3, expressionDescription: o2, expressionLabel: s2, expressionName: u2, expressionTestingField: p2, generators: _ }) { - const h = new l({ configureOptionsCallback: (e4) => e4.setIninTestingField(p2), descriptionInfo: { name: u2, description: o2 }, expressionType: c.string, label: s2 }); - return r2.addBuilderPartDef(new a({ categoryIdentifierOrIdentifiers: n2.email, description: i3, expressionDefs: [h], generators: _, id: e3, name: t3, restrictToFlowTypeOrTypes: d.flowTypeInboundEmail, resultExpressionType: c.boolean, version: 1 })); + const h = new l({ configureOptionsCallback: (e4) => e4.setIninTestingField(p2), descriptionInfo: { name: u2, description: o2 }, expressionType: d.string, label: s2 }); + return r2.addBuilderPartDef(new a({ categoryIdentifierOrIdentifiers: n2.email, description: i3, expressionDefs: [h], generators: _, id: e3, name: t3, restrictToFlowTypeOrTypes: c.flowTypeInboundEmail, resultExpressionType: d.boolean, version: 1 })); } e2.exports = { create: () => { p({ builderPartId: o.email.emailSubjectContains, builderPartName: s.builderParts.email.subjectContains.name, builderPartDescription: s.builderParts.email.subjectContains.description, expressionLabel: s.builderParts.email.subjectContains.expressions.stringToCheck.label, expressionTestingField: "emailSubjectContains", generators: { expressionGenerator: u.create().addFuncCall("If").addFuncCall("IsSet").addToken("Email.Message.subject").addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Contains").addToken("Email.Message.subject").addFuncParameterSeparator().addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(Email.Message.subject), Contains(Email.Message.subject, %1$s), false)") } }), p({ builderPartId: o.email.emailBodyContains, builderPartName: s.builderParts.email.bodyContains.name, builderPartDescription: s.builderParts.email.bodyContains.description, expressionLabel: s.builderParts.email.bodyContains.expressions.stringToCheck.label, expressionTestingField: "emailBodyContains", generators: { expressionGenerator: u.create().addFuncCall("If").addFuncCall("IsSet").addToken("Email.Message.body").addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Contains").addToken("Email.Message.body").addFuncParameterSeparator().addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(Email.Message.body), Contains(Email.Message.body, %1$s), false)") } }), p({ builderPartId: o.email.emailBodyOrSubjectContains, builderPartName: s.builderParts.email.subjectOrBodyContains.name, builderPartDescription: s.builderParts.email.subjectOrBodyContains.description, expressionLabel: s.builderParts.email.subjectOrBodyContains.expressions.stringToCheck.label, expressionTestingField: "emailSubjectOrBodyContains", generators: { expressionGenerator: u.create().addFuncCall("If").addFuncCall("IsSet").addToken("Email.Message.subject").addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Contains").addToken("Email.Message.subject").addFuncParameterSeparator().addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().addOperatorOr().addFuncCall("If").addFuncCall("IsSet").addToken("Email.Message.body").addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Contains").addToken("Email.Message.body").addFuncParameterSeparator().addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(Email.Message.subject), Contains(Email.Message.subject, %1$s), false) Or If(IsSet(Email.Message.body), Contains(Email.Message.body, %1$s), false)") } }), p({ builderPartId: o.email.emailFromDomainPartContains, builderPartName: s.builderParts.email.fromDomainPartContains.name, builderPartDescription: s.builderParts.email.fromDomainPartContains.description, expressionLabel: s.builderParts.email.fromDomainPartContains.expressions.stringToCheck.label, expressionTestingField: "emailSendersEmailAddressDomainContains", generators: { expressionGenerator: u.create().addFuncCall("If").addFuncCall("IsSet").addFuncCall("EmailAddressDomainPart").addToken("Email.Message.from").addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Contains").addFuncCall("EmailAddressDomainPart").addToken("Email.Message.from").addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(EmailAddressDomainPart(Email.Message.from)), Contains(EmailAddressDomainPart(Email.Message.from), %1$s), false)") } }), p({ builderPartId: o.email.emailFromLocalPartContains, builderPartName: s.builderParts.email.fromLocalPartContains.name, builderPartDescription: s.builderParts.email.fromLocalPartContains.description, expressionLabel: s.builderParts.email.fromLocalPartContains.expressions.stringToCheck.label, expressionTestingField: "emailSendersEmailAddressNameContains", generators: { expressionGenerator: u.create().addFuncCall("If").addFuncCall("IsSet").addFuncCall("EmailAddressLocalPart").addToken("Email.Message.from").addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Contains").addFuncCall("EmailAddressLocalPart").addToken("Email.Message.from").addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(EmailAddressLocalPart(Email.Message.from)), Contains(EmailAddressLocalPart(Email.Message.from), %1$s), false)") } }); @@ -37065,8 +40822,8 @@ var require_scripting_bundle = __commonJS({ } } }), e2.exports = a; }, 30346: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(19384), o = i2(12179), a = n2.__importDefault(i2(97891)), s = n2.__importDefault(i2(5730)), l = i2(47957); - class u extends s.default { + const n2 = i2(31635), r2 = i2(19384), o = i2(12179), a = n2.__importDefault(i2(97891)), s = n2.__importDefault(i2(5730)), l = n2.__importDefault(i2(4648)), u = i2(47957); + class c extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -37105,10 +40862,10 @@ var require_scripting_bundle = __commonJS({ this.menuReference = e3.id, this.menu = e3; } validate(e3) { - this.menuReference ? r2.flowElementRegistrationService.getItemById(this.parentFlow, this.menuReference) || e3.addInternalError(this, l.menu.invalidReference) : e3.addInternalError(this, l.menu.noReference); + this.menuReference ? r2.flowElementRegistrationService.getItemById(this.parentFlow, this.menuReference) || e3.addInternalError(this, u.menu.invalidReference) : e3.addInternalError(this, u.menu.noReference); } } - u.info = a.default.createActionInfo({ actionClass: u, canBeInTask: false, canBeTreeNode: true, helpTopic: o.helpTopics.actions.subMenu, modelClass: i2(1248), name: l.actions.menu, scriptingName: "ArchActionMenu" }), t2.A = u; + c.info = a.default.createActionInfo({ actionClass: c, canBeInTask: false, canBeTreeNode: true, helpTopic: o.helpTopics.actions.subMenu, modelClass: i2(1248), name: u.actions.menu, scriptingName: "ArchActionMenu", modelFormatSupport: { flowYaml: { inProgress: true, feature: l.default.changeSetsFeaturePhase2 } } }), t2.A = c; }, 30356: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FormPageViewModel = void 0; @@ -37181,8 +40938,8 @@ var require_scripting_bundle = __commonJS({ }, 30758: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.CustomerSegmentType = void 0; - const n2 = i2(31635), r2 = i2(80428), o = i2(27491), a = i2(14394), s = n2.__importDefault(i2(22226)), l = i2(21569), u = i2(94765), d = i2(56884); - class c extends u.ExpressionType { + const n2 = i2(31635), r2 = i2(80428), o = i2(27491), a = n2.__importDefault(i2(22226)), s = i2(14394), l = i2(21569), u = i2(94765), c = i2(56884); + class d extends u.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -37190,30 +40947,33 @@ var require_scripting_bundle = __commonJS({ return "CustomerSegmentType"; } createExpressionOptionClass() { - return new d.ExpressionTypeCustomerSegmentOptions(this.isCollection); - } - get supportsLiteralEditor() { - return false; + return new c.ExpressionTypeCustomerSegmentOptions(this.isCollection); } canConvertLitToExpression(e3) { - return o.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindCustomerSegments", e3, [a.globalTypes.stringCollection]); + return o.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindCustomerSegments", e3, [s.globalTypes.stringCollection]); } convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindCustomerSegments(MakeList(${s.default.getQuotedExpressionStringLiteral(t3)}))` : ""; + return t3 && this.canConvertLitToExpression(e3) ? `FindCustomerSegments(MakeList(${a.default.getQuotedExpressionStringLiteral(t3)}))` : ""; + } + getCollectionItemLiteralText(e3) { + return e3.isLiteralMode && e3.text ? a.default.getQuotedExpressionStringLiteral(e3.text) : e3.getEmbeddableExpressionText(); + } + convertCollectionLiteralToExpression(e3, t3) { + return this.canConvertLitToExpression(e3) ? `FindCustomerSegments(MakeList(${t3.filter((e4) => e4).join(", ")}))` : null; } _getLiteralValueOfExpression() { return ""; } get listManager() { - return l.customerSegmentManager; + return l.customerSegmentManager.getBriefManagerWithFallback(); } } - t2.CustomerSegmentType = c, c.typeIdentifier = r2.expressionTypeNames.customerSegment; + t2.CustomerSegmentType = d, d.typeIdentifier = r2.expressionTypeNames.customerSegment; }, 30785: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(14394), a = i2(36128), s = n2.__importStar(i2(1115)), l = i2(87870), u = n2.__importDefault(i2(49487)), d = i2(47957); - class c extends u.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(14394), a = i2(36128), s = n2.__importStar(i2(1115)), l = i2(87870), u = n2.__importDefault(i2(49487)), c = i2(47957); + class d extends u.default { constructor(e3) { super(e3); } @@ -37222,17 +40982,17 @@ var require_scripting_bundle = __commonJS({ return s.validateAction(this, true, true), e3.id; } static get managedProperties() { - return [{ property: "variables", namedItems: true, isOutput: false, options: a.NameValuePairsOptions.create((e3) => e3.setAddButtonLabel(d.setAttributes.addAttributeButton)), yamlOptions: c.createYamlOptions("attributes", (e3) => e3.setPropertyName("attributes").setWrappedCollectionItemName("attribute")) }, { createDetails: l.NoteActionProperty.createCreateDetails(d.setAttributes.applyWarning, "info", "SetAttributes-applyWarning", r2.flowTypes.flowTypesAllVxmlgen), property: "setAttributesWarning", yamlOptions: c.createYamlOptions("setAttributesWarning", (e3) => e3.setSkipProperty(true)) }]; + return [{ property: "variables", namedItems: true, isOutput: false, options: a.NameValuePairsOptions.create((e3) => e3.setAddButtonLabel(c.setAttributes.addAttributeButton)), yamlOptions: d.createYamlOptions("attributes", (e3) => e3.setPropertyName("attributes").setWrappedCollectionItemName("attribute")) }, { createDetails: l.NoteActionProperty.createCreateDetails(c.setAttributes.applyWarning, "info", "SetAttributes-applyWarning", r2.flowTypes.flowTypesAllVxmlgen), property: "setAttributesWarning", yamlOptions: d.createYamlOptions("setAttributesWarning", (e3) => e3.setSkipProperty(true)) }]; } } - t2.default = c; + t2.default = d; }, 30801: (e2, t2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.dialogEngineActionType = t2.dialNameActionType = t2.dialExtensionActionType = t2.detectSilenceActionType = t2.detectIntentActionType = t2.deflectActionType = t2.decryptDataActionType = t2.decisionActionType = t2.dataTableLookupActionType = t2.dataActionActionType = t2.createCallbackActionType = t2.createConversationAttributeActionType = t2.completeSurveyActionType = t2.completeSendActionType = t2.communicateActionType = t2.commonModuleTaskActionType = t2.collectVoiceSnippetActionType = t2.collectInputActionType = t2.clearSkillExpressionFiltersActionType = t2.clearVoicemailSnippetActionType = t2.clearUtilizationLabelActionType = t2.clearSlotActionType = t2.clearPostFlowActionType = t2.clearActiveIntentActionType = t2.changeStateActionType = t2.callTaskActionType = t2.callAudioConnectorActionType = t2.callDigitalBotFlowActionType = t2.digitalBotConnectorActionType = t2.callGuideActionType = t2.callDecisionTableActionType = t2.callCommonModuleActionType = t2.callVoiceFlowActionType = t2.callBotFlowActionType = t2.callAgenticVirtualAgentActionType = t2.bridgeServerActionType = t2.botStateActionType = t2.botConnectorActionType = t2.audioMonitoringActionType = t2.askSurveyQuestionActionType = t2.askForSlotActionType = t2.askForPaymentActionType = t2.askForNLUNextIntentActionActionType = t2.askForNLUIntentActionType = t2.askForBooleanActionType = t2.askForAuthenticationActionType = t2.addFlowMilestoneActionType = t2.abortSurveyActionType = t2.abortSendActionType = t2.actionTypeValues = void 0, t2.getJourneySessionsByCustomerActionType = t2.getJourneySessionActionType = t2.getJourneySegmentActionType = t2.getJourneyOutcomeScoresBySessionActionType = t2.getJourneyOutcomeActionType = t2.getExternalOrganizationActionType = t2.getExternalContactActionType = t2.getEmailHeadersActionType = t2.getConversationDataActionType = t2.getConversationAttributesActionType = t2.getConversationAttributeActionType = t2.getAttributesActionType = t2.getAssignedCustomerIntentsActionType = t2.formActionType = t2.flushAudioActionType = t2.findUtilizationLabelActionType = t2.findUsersByIdActionType = t2.findUserPromptActionType = t2.findUserByIdActionType = t2.findUserActionType = t2.findSystemPromptActionType = t2.findSkillActionType = t2.findScheduleGroupActionType = t2.findScheduleActionType = t2.findQueueByIdActionType = t2.findQueueActionType = t2.findLanguageSkillActionType = t2.findKnowledgeBaseDocumentByIdActionType = t2.findGroupActionType = t2.findGrammarByIdActionType = t2.findGrammarActionType = t2.findEmergencyGroupActionType = t2.findDivisionsActionType = t2.findDivisionActionType = t2.extractSecureDataActionType = t2.exitWorkitemFlowActionType = t2.exitLoopActionType = t2.exitBotFlowActionType = t2.evaluateSkillExpressionFiltersActionType = t2.evaluateScheduleGroupActionType = t2.evaluateScheduleActionType = t2.endWorkflowActionType = t2.endTaskActionType = t2.endStateActionType = t2.encryptDataActionType = t2.disconnectWorkitemActionType = t2.disconnectActionType = t2.digitalMenuActionType = t2.dialogflowCxActionType = t2.dialogflowActionType = void 0, t2.setUtilizationLabelActionType = t2.setSkillsActionType = t2.setSkillExpressionFiltersActionType = t2.setSecuredDataActionType = t2.setPriorityActionType = t2.setPostFlowActionType = t2.setLocaleActionType = t2.setFlowOutcomeActionType = t2.setExternalTagActionType = t2.setConversationDataActionType = t2.setAttributesActionType = t2.setActiveIntentActionType = t2.sendRichLinkActionType = t2.sendResponseActionType = t2.sendNotificationActionType = t2.sendKnowledgeFeedbackActionActionType = t2.sendInteractiveApplicationActionActionType = t2.sendDigitalContentActionType = t2.sendAutoReplyActionType = t2.secureActionActionType = t2.searchExternalContactsActionType = t2.screenPopActionType = t2.returnToAgentActionType = t2.repeatMenuActionType = t2.promoteExternalContactActionType = t2.processVoicemailInputActionType = t2.previousMenuActionType = t2.playUserNameActionType = t2.playUserGreetingActionType = t2.playPositionInQueueActionType = t2.playEstimatedWaitTimeActionType = t2.playAudioOnSilenceActionType = t2.playAudioActionType = t2.participantRecordActionType = t2.nuanceMixActionType = t2.nextLoopActionType = t2.menuActionActionType = t2.menuActionType = t2.loopUntilActionType = t2.loopTaskActionType = t2.loopActionType = t2.lexV2ActionType = t2.lexActionType = t2.initializeFlowOutcomeActionType = t2.holdMusicActionType = t2.getSIPHeadersActionType = t2.getSecuredDataActionType = t2.getResponseActionType = t2.getRawSIPHeadersActionType = t2.getJourneySessionsByExternalContactActionType = void 0, t2.terminateWorkitemActionType = t2.waitForInputActionType = t2.waitActionType = t2.voiceBiometricsActionType = t2.updateWorkitemActionType = t2.updateVariableActionType = t2.updateExternalContactActionType = t2.updateConversationAttributeActionType = t2.transferVoicemailActionType = t2.transferUserActionType = t2.transferTaskActionType = t2.transferPureMatchActionType = t2.transferMenuActionType = t2.transferGroupActionType = t2.transferFlowSecureActionType = t2.transferFlowActionType = t2.transferExternalActionType = t2.transcriptionActionType = t2.taskActionActionType = t2.taskActionType = t2.switchActionActionType = t2.submitVoiceSnippetActionType = t2.submitVoicemailSnippetActionType = t2.stateActionType = t2.showKnowledgeArticleActionActionType = t2.setWrapupCodeActionType = t2.setWhisperAudioActionType = t2.setUUIDataActionType = void 0, t2.isActionType = function(e3) { + Object.defineProperty(t2, "__esModule", { value: true }), t2.detectSilenceActionType = t2.detectIntentActionType = t2.deflectActionType = t2.decryptDataActionType = t2.decisionActionType = t2.dataTableLookupActionType = t2.dataActionActionType = t2.createCallbackActionType = t2.createConversationAttributeActionType = t2.completeSurveyActionType = t2.completeSendActionType = t2.communicateActionType = t2.commonModuleTaskActionType = t2.collectVoiceSnippetActionType = t2.collectInputActionType = t2.clearSkillExpressionFiltersActionType = t2.clearVoicemailSnippetActionType = t2.clearUtilizationLabelActionType = t2.clearSlotActionType = t2.clearPostFlowActionType = t2.clearActiveIntentActionType = t2.changeStateActionType = t2.callTaskActionType = t2.callAudioConnectorActionType = t2.callDigitalBotFlowActionType = t2.digitalBotConnectorActionType = t2.callGuideActionType = t2.callDecisionTableActionType = t2.callCommonModuleActionType = t2.callVoiceFlowActionType = t2.callBotFlowActionType = t2.callAgenticVirtualAgentActionType = t2.bridgeServerActionType = t2.botStateActionType = t2.botConnectorActionType = t2.audioMonitoringActionType = t2.assignCustomerSegmentActionType = t2.askSurveyQuestionActionType = t2.askForSlotActionType = t2.askForPaymentActionType = t2.askForNLUNextIntentActionActionType = t2.askForNLUIntentActionType = t2.askForBooleanActionType = t2.askForAuthenticationActionType = t2.agenticAskForIntentActionType = t2.agenticAnythingElseActionType = t2.addFlowMilestoneActionType = t2.abortSurveyActionType = t2.abortSendActionType = t2.actionTypeValues = void 0, t2.getJourneyOutcomeActionType = t2.getExternalOrganizationActionType = t2.getExternalContactActionType = t2.getEmailHeadersActionType = t2.getConversationDataActionType = t2.getConversationAttributesActionType = t2.getConversationAttributeActionType = t2.getAttributesActionType = t2.getAssignedCustomerSegmentsActionType = t2.getAssignedCustomerIntentsActionType = t2.formActionType = t2.flushAudioActionType = t2.findUtilizationLabelActionType = t2.findUsersByIdActionType = t2.findUserPromptActionType = t2.findUserByIdActionType = t2.findUserActionType = t2.findSystemPromptActionType = t2.findSkillActionType = t2.findScheduleGroupActionType = t2.findScheduleActionType = t2.findQueueByIdActionType = t2.findQueueActionType = t2.findLanguageSkillActionType = t2.findKnowledgeBaseDocumentByIdActionType = t2.findGroupActionType = t2.findGrammarByIdActionType = t2.findGrammarActionType = t2.findEmergencyGroupActionType = t2.findDivisionsActionType = t2.findDivisionActionType = t2.extractSecureDataActionType = t2.exitWorkitemFlowActionType = t2.exitLoopActionType = t2.exitBotFlowActionType = t2.evaluateSkillExpressionFiltersActionType = t2.evaluateScheduleGroupActionType = t2.evaluateScheduleActionType = t2.endWorkflowActionType = t2.endTaskActionType = t2.endStateActionType = t2.encryptDataActionType = t2.disconnectWorkitemActionType = t2.disconnectActionType = t2.digitalMenuActionType = t2.dialogflowCxActionType = t2.dialogflowActionType = t2.dialogEngineActionType = t2.dialNameActionType = t2.dialExtensionActionType = void 0, t2.setPriorityActionType = t2.setPostFlowActionType = t2.setLocaleActionType = t2.setFlowOutcomeActionType = t2.setExternalTagActionType = t2.setConversationDataActionType = t2.setAttributesActionType = t2.setActiveIntentActionType = t2.sendRichLinkActionType = t2.sendResponseActionType = t2.sendNotificationActionType = t2.sendKnowledgeFeedbackActionActionType = t2.sendInteractiveApplicationActionActionType = t2.sendDigitalContentActionType = t2.sendAutoReplyActionType = t2.secureActionActionType = t2.searchExternalContactsActionType = t2.screenPopActionType = t2.returnToAgentActionType = t2.repeatMenuActionType = t2.promoteExternalContactActionType = t2.processVoicemailInputActionType = t2.previousMenuActionType = t2.playUserNameActionType = t2.playUserGreetingActionType = t2.playPositionInQueueActionType = t2.playEstimatedWaitTimeActionType = t2.playAudioOnSilenceActionType = t2.playAudioActionType = t2.participantRecordActionType = t2.nuanceMixActionType = t2.nextLoopActionType = t2.menuActionActionType = t2.menuActionType = t2.loopUntilActionType = t2.loopTaskActionType = t2.loopActionType = t2.lexV2ActionType = t2.lexActionType = t2.initializeFlowOutcomeActionType = t2.holdMusicActionType = t2.getSIPHeadersActionType = t2.getSecuredDataActionType = t2.getResponseActionType = t2.getRawSIPHeadersActionType = t2.getJourneySessionsByExternalContactActionType = t2.getJourneySessionsByCustomerActionType = t2.getJourneySessionActionType = t2.getJourneySegmentActionType = t2.getJourneyOutcomeScoresBySessionActionType = void 0, t2.terminateWorkitemActionType = t2.waitForInputActionType = t2.waitActionType = t2.voiceBiometricsActionType = t2.updateWorkitemActionType = t2.updateVariableActionType = t2.updateExternalContactActionType = t2.updateConversationAttributeActionType = t2.transferVoicemailActionType = t2.transferUserActionType = t2.transferTaskActionType = t2.transferPureMatchActionType = t2.transferMenuActionType = t2.transferGroupActionType = t2.transferFlowSecureActionType = t2.transferFlowActionType = t2.transferExternalActionType = t2.transcriptionActionType = t2.taskActionActionType = t2.taskActionType = t2.switchActionActionType = t2.submitVoiceSnippetActionType = t2.submitVoicemailSnippetActionType = t2.stateActionType = t2.showKnowledgeArticleActionActionType = t2.setWrapupCodeActionType = t2.setWhisperAudioActionType = t2.setUUIDataActionType = t2.setUtilizationLabelActionType = t2.setSkillsActionType = t2.setSkillExpressionFiltersActionType = t2.setSecuredDataActionType = void 0, t2.isActionType = function(e3) { return t2.actionTypeValues.includes(e3); }; - const i2 = { abortSendActionType: "AbortSendAction", abortSurveyActionType: "AbortSurveyInviteAction", addFlowMilestoneActionType: "AddFlowMilestoneAction", askForAuthenticationActionType: "AskForAuthenticationAction", askForBooleanActionType: "AskForBooleanAction", askForNLUIntentActionType: "AskForNLUIntentAction", askForNLUNextIntentActionActionType: "AskForNLUNextIntentAction", askForPaymentActionType: "AskForPaymentAction", askForSlotActionType: "AskForSlotAction", askSurveyQuestionActionType: "AskSurveyQuestionAction", audioMonitoringActionType: "AudioMonitoringAction", botConnectorActionType: "CallBotConnectorAction", botStateActionType: "BotState", bridgeServerActionType: "BridgeServerAction", callAgenticVirtualAgentActionType: "CallAgenticVirtualAgentAction", callBotFlowActionType: "CallBotFlowAction", callVoiceFlowActionType: "CallVoiceFlowAction", callCommonModuleActionType: "CallCommonModuleAction", callDecisionTableActionType: "CallDecisionTableAction", callGuideActionType: "CallGuideAction", digitalBotConnectorActionType: "CallDigitalBotConnectorAction", callDigitalBotFlowActionType: "CallDigitalBotFlowAction", callAudioConnectorActionType: "CallAudioConnectorAction", callTaskActionType: "CallTaskAction", changeStateActionType: "ChangeStateAction", clearActiveIntentActionType: "ClearActiveIntentAction", clearPostFlowActionType: "ClearPostFlowAction", clearSlotActionType: "ClearSlotAction", clearUtilizationLabelActionType: "ClearUtilizationLabelAction", clearVoicemailSnippetActionType: "ClearVoicemailSnippetAction", clearSkillExpressionFiltersActionType: "ClearSkillExpressionFiltersAction", collectInputActionType: "CollectInputAction", collectVoiceSnippetActionType: "CollectVoiceSnippetAction", commonModuleTaskActionType: "CommonModuleTask", communicateActionType: "CommunicateAction", completeSendActionType: "CompleteSendAction", completeSurveyActionType: "CompleteSurveyInviteAction", createCallbackActionType: "CreateCallbackAction", createConversationAttributeActionType: "CreateConversationAttributeAction", dataActionActionType: "DataAction", dataTableLookupActionType: "DataTableLookupAction", decisionActionType: "DecisionAction", decryptDataActionType: "DecryptDataAction", deflectActionType: "DeflectAction", detectIntentActionType: "DetectIntentAction", detectSilenceActionType: "DetectSilenceAction", dialExtensionActionType: "DialExtensionAction", dialNameActionType: "DialNameAction", dialogEngineActionType: "CallDialogEngineBotAction", dialogflowActionType: "CallDialogflowBotAction", dialogflowCxActionType: "CallDialogflowCxBotAction", digitalMenuActionType: "DigitalMenuAction", disconnectActionType: "DisconnectAction", disconnectWorkitemActionType: "DisconnectWorkitemAction", encryptDataActionType: "EncryptDataAction", endStateActionType: "EndStateAction", endTaskActionType: "EndTaskAction", endWorkflowActionType: "EndWorkflowAction", evaluateScheduleActionType: "EvaluateScheduleAction", evaluateScheduleGroupActionType: "EvaluateScheduleGroupAction", evaluateSkillExpressionFiltersActionType: "EvaluateSkillExpressionFiltersAction", exitBotFlowActionType: "ExitBotFlowAction", exitLoopActionType: "ExitLoopAction", exitWorkitemFlowActionType: "ExitWorkitemFlowAction", extractSecureDataActionType: "ExtractSecureDataAction", findDivisionActionType: "FindDivisionAction", findDivisionsActionType: "FindDivisionsAction", findEmergencyGroupActionType: "FindEmergencyGroupAction", findGrammarActionType: "FindGrammarAction", findGrammarByIdActionType: "FindGrammarByIdAction", findGroupActionType: "FindGroupAction", findKnowledgeBaseDocumentByIdActionType: "FindKnowledgeBaseDocumentByIdAction", findLanguageSkillActionType: "FindLanguageSkillAction", findQueueActionType: "FindQueueAction", findQueueByIdActionType: "FindQueueByIdAction", findScheduleActionType: "FindScheduleAction", findScheduleGroupActionType: "FindScheduleGroupAction", findSkillActionType: "FindSkillAction", findSystemPromptActionType: "FindSystemPromptAction", findUserActionType: "FindUserAction", findUserByIdActionType: "FindUserByIdAction", findUserPromptActionType: "FindUserPromptAction", findUsersByIdActionType: "FindUsersByIdAction", findUtilizationLabelActionType: "FindUtilizationLabelAction", flushAudioActionType: "FlushAudioAction", formActionType: "FormAction", getAssignedCustomerIntentsActionType: "GetAssignedCustomerIntentsAction", getAttributesActionType: "GetAttributesAction", getConversationAttributeActionType: "GetConversationAttributeAction", getConversationAttributesActionType: "GetConversationAttributesAction", getConversationDataActionType: "GetConversationDataAction", getEmailHeadersActionType: "GetEmailHeadersAction", getExternalContactActionType: "GetExternalContactAction", getExternalOrganizationActionType: "GetExternalOrganizationAction", getJourneyOutcomeActionType: "GetJourneyOutcomeAction", getJourneyOutcomeScoresBySessionActionType: "GetJourneyOutcomeScoresBySessionAction", getJourneySegmentActionType: "GetJourneySegmentAction", getJourneySessionActionType: "GetJourneySessionAction", getJourneySessionsByCustomerActionType: "GetJourneySessionsByCustomerAction", getJourneySessionsByExternalContactActionType: "GetJourneySessionsByExternalContactAction", getRawSIPHeadersActionType: "GetRawSIPHeadersAction", getResponseActionType: "GetResponseAction", getSecuredDataActionType: "GetSecuredDataAction", getSIPHeadersActionType: "GetSIPHeadersAction", holdMusicActionType: "HoldMusicAction", initializeFlowOutcomeActionType: "InitializeFlowOutcomeAction", lexActionType: "CallLexBotAction", lexV2ActionType: "CallLexV2BotAction", loopActionType: "LoopAction", loopTaskActionType: "LoopTask", loopUntilActionType: "LoopUntilAction", menuActionType: "Menu", menuActionActionType: "MenuAction", nextLoopActionType: "NextLoopAction", nuanceMixActionType: "CallNuanceMixBotAction", participantRecordActionType: "ParticipantRecordAction", playAudioActionType: "PlayAudioAction", playAudioOnSilenceActionType: "PlayAudioOnSilenceAction", playEstimatedWaitTimeActionType: "PlayEstimatedWaitTimeAction", playPositionInQueueActionType: "PlayPositionInQueueAction", playUserGreetingActionType: "PlayUserGreetingAudioAction", playUserNameActionType: "PlayUserNameAudioAction", previousMenuActionType: "PreviousMenuAction", processVoicemailInputActionType: "ProcessVoicemailInputAction", promoteExternalContactActionType: "PromoteExternalContactAction", repeatMenuActionType: "RepeatMenuAction", returnToAgentActionType: "EndFlowAction", screenPopActionType: "ScreenPopAction", searchExternalContactsActionType: "SearchExternalContactsAction", secureActionActionType: "SecureAction", sendAutoReplyActionType: "SendAutoReplyAction", sendDigitalContentActionType: "SendDigitalContentAction", sendInteractiveApplicationActionActionType: "SendInteractiveApplicationAction", sendKnowledgeFeedbackActionActionType: "SendKnowledgeFeedbackAction", sendNotificationActionType: "SendNotificationAction", sendResponseActionType: "SendResponseAction", sendRichLinkActionType: "SendRichLinkAction", setActiveIntentActionType: "SetActiveIntentAction", setAttributesActionType: "SetAttributesAction", setConversationDataActionType: "SetConversationDataAction", setExternalTagActionType: "SetExternalTagAction", setFlowOutcomeActionType: "SetFlowOutcomeAction", setLocaleActionType: "SetLocaleAction", setPostFlowActionType: "SetPostFlowAction", setPriorityActionType: "SetPriorityAction", setSecuredDataActionType: "SetSecuredDataAction", setSkillExpressionFiltersActionType: "SetSkillExpressionFiltersAction", setSkillsActionType: "SetSkillsAction", setUtilizationLabelActionType: "SetUtilizationLabelAction", setUUIDataActionType: "SetUUIDataAction", setWhisperAudioActionType: "SetWhisperAudio", setWrapupCodeActionType: "SetWrapupCodeAction", showKnowledgeArticleActionActionType: "ShowKnowledgeArticleAction", stateActionType: "State", submitVoicemailSnippetActionType: "SubmitVoicemailSnippetAction", submitVoiceSnippetActionType: "SubmitVoiceSnippetAction", switchActionActionType: "SwitchAction", taskActionType: "Task", taskActionActionType: "TaskAction", transcriptionActionType: "TranscriptionAction", transferExternalActionType: "TransferExternalAction", transferFlowActionType: "TransferFlowAction", transferFlowSecureActionType: "TransferFlowSecureAction", transferGroupActionType: "TransferGroupAction", transferMenuActionType: "TransferMenuAction", transferPureMatchActionType: "TransferPureMatchAction", transferTaskActionType: "TransferTaskAction", transferUserActionType: "TransferUserAction", transferVoicemailActionType: "TransferVoicemailAction", updateConversationAttributeActionType: "UpdateConversationAttributeAction", updateExternalContactActionType: "UpdateExternalContactAction", updateVariableActionType: "UpdateVariableAction", updateWorkitemActionType: "UpdateWorkitemAction", voiceBiometricsActionType: "VoiceBiometricsAction", waitActionType: "WaitAction", waitForInputActionType: "WaitForInputAction", terminateWorkitemActionType: "TerminateWorkitemAction" }; - t2.actionTypeValues = Object.values(i2), t2.abortSendActionType = i2.abortSendActionType, t2.abortSurveyActionType = i2.abortSurveyActionType, t2.addFlowMilestoneActionType = i2.addFlowMilestoneActionType, t2.askForAuthenticationActionType = i2.askForAuthenticationActionType, t2.askForBooleanActionType = i2.askForBooleanActionType, t2.askForNLUIntentActionType = i2.askForNLUIntentActionType, t2.askForNLUNextIntentActionActionType = i2.askForNLUNextIntentActionActionType, t2.askForPaymentActionType = i2.askForPaymentActionType, t2.askForSlotActionType = i2.askForSlotActionType, t2.askSurveyQuestionActionType = i2.askSurveyQuestionActionType, t2.audioMonitoringActionType = i2.audioMonitoringActionType, t2.botConnectorActionType = i2.botConnectorActionType, t2.botStateActionType = i2.botStateActionType, t2.bridgeServerActionType = i2.bridgeServerActionType, t2.callAgenticVirtualAgentActionType = i2.callAgenticVirtualAgentActionType, t2.callBotFlowActionType = i2.callBotFlowActionType, t2.callVoiceFlowActionType = i2.callVoiceFlowActionType, t2.callCommonModuleActionType = i2.callCommonModuleActionType, t2.callDecisionTableActionType = i2.callDecisionTableActionType, t2.callGuideActionType = i2.callGuideActionType, t2.digitalBotConnectorActionType = i2.digitalBotConnectorActionType, t2.callDigitalBotFlowActionType = i2.callDigitalBotFlowActionType, t2.callAudioConnectorActionType = i2.callAudioConnectorActionType, t2.callTaskActionType = i2.callTaskActionType, t2.changeStateActionType = i2.changeStateActionType, t2.clearActiveIntentActionType = i2.clearActiveIntentActionType, t2.clearPostFlowActionType = i2.clearPostFlowActionType, t2.clearSlotActionType = i2.clearSlotActionType, t2.clearUtilizationLabelActionType = i2.clearUtilizationLabelActionType, t2.clearVoicemailSnippetActionType = i2.clearVoicemailSnippetActionType, t2.clearSkillExpressionFiltersActionType = i2.clearSkillExpressionFiltersActionType, t2.collectInputActionType = i2.collectInputActionType, t2.collectVoiceSnippetActionType = i2.collectVoiceSnippetActionType, t2.commonModuleTaskActionType = i2.commonModuleTaskActionType, t2.communicateActionType = i2.communicateActionType, t2.completeSendActionType = i2.completeSendActionType, t2.completeSurveyActionType = i2.completeSurveyActionType, t2.createConversationAttributeActionType = i2.createConversationAttributeActionType, t2.createCallbackActionType = i2.createCallbackActionType, t2.dataActionActionType = i2.dataActionActionType, t2.dataTableLookupActionType = i2.dataTableLookupActionType, t2.decisionActionType = i2.decisionActionType, t2.decryptDataActionType = i2.decryptDataActionType, t2.deflectActionType = i2.deflectActionType, t2.detectIntentActionType = i2.detectIntentActionType, t2.detectSilenceActionType = i2.detectSilenceActionType, t2.dialExtensionActionType = i2.dialExtensionActionType, t2.dialNameActionType = i2.dialNameActionType, t2.dialogEngineActionType = i2.dialogEngineActionType, t2.dialogflowActionType = i2.dialogflowActionType, t2.dialogflowCxActionType = i2.dialogflowCxActionType, t2.digitalMenuActionType = i2.digitalMenuActionType, t2.disconnectActionType = i2.disconnectActionType, t2.disconnectWorkitemActionType = i2.disconnectWorkitemActionType, t2.encryptDataActionType = i2.encryptDataActionType, t2.endStateActionType = i2.endStateActionType, t2.endTaskActionType = i2.endTaskActionType, t2.endWorkflowActionType = i2.endWorkflowActionType, t2.evaluateScheduleActionType = i2.evaluateScheduleActionType, t2.evaluateScheduleGroupActionType = i2.evaluateScheduleGroupActionType, t2.evaluateSkillExpressionFiltersActionType = i2.evaluateSkillExpressionFiltersActionType, t2.exitBotFlowActionType = i2.exitBotFlowActionType, t2.exitLoopActionType = i2.exitLoopActionType, t2.exitWorkitemFlowActionType = i2.exitWorkitemFlowActionType, t2.extractSecureDataActionType = i2.extractSecureDataActionType, t2.findDivisionActionType = i2.findDivisionActionType, t2.findDivisionsActionType = i2.findDivisionsActionType, t2.findEmergencyGroupActionType = i2.findEmergencyGroupActionType, t2.findGrammarActionType = i2.findGrammarActionType, t2.findGrammarByIdActionType = i2.findGrammarByIdActionType, t2.findGroupActionType = i2.findGroupActionType, t2.findKnowledgeBaseDocumentByIdActionType = i2.findKnowledgeBaseDocumentByIdActionType, t2.findLanguageSkillActionType = i2.findLanguageSkillActionType, t2.findQueueActionType = i2.findQueueActionType, t2.findQueueByIdActionType = i2.findQueueByIdActionType, t2.findScheduleActionType = i2.findScheduleActionType, t2.findScheduleGroupActionType = i2.findScheduleGroupActionType, t2.findSkillActionType = i2.findSkillActionType, t2.findSystemPromptActionType = i2.findSystemPromptActionType, t2.findUserActionType = i2.findUserActionType, t2.findUserByIdActionType = i2.findUserByIdActionType, t2.findUserPromptActionType = i2.findUserPromptActionType, t2.findUsersByIdActionType = i2.findUsersByIdActionType, t2.findUtilizationLabelActionType = i2.findUtilizationLabelActionType, t2.flushAudioActionType = i2.flushAudioActionType, t2.formActionType = i2.formActionType, t2.getAssignedCustomerIntentsActionType = i2.getAssignedCustomerIntentsActionType, t2.getAttributesActionType = i2.getAttributesActionType, t2.getConversationAttributeActionType = i2.getConversationAttributeActionType, t2.getConversationAttributesActionType = i2.getConversationAttributesActionType, t2.getConversationDataActionType = i2.getConversationDataActionType, t2.getEmailHeadersActionType = i2.getEmailHeadersActionType, t2.getExternalContactActionType = i2.getExternalContactActionType, t2.getExternalOrganizationActionType = i2.getExternalOrganizationActionType, t2.getJourneyOutcomeActionType = i2.getJourneyOutcomeActionType, t2.getJourneyOutcomeScoresBySessionActionType = i2.getJourneyOutcomeScoresBySessionActionType, t2.getJourneySegmentActionType = i2.getJourneySegmentActionType, t2.getJourneySessionActionType = i2.getJourneySessionActionType, t2.getJourneySessionsByCustomerActionType = i2.getJourneySessionsByCustomerActionType, t2.getJourneySessionsByExternalContactActionType = i2.getJourneySessionsByExternalContactActionType, t2.getRawSIPHeadersActionType = i2.getRawSIPHeadersActionType, t2.getResponseActionType = i2.getResponseActionType, t2.getSecuredDataActionType = i2.getSecuredDataActionType, t2.getSIPHeadersActionType = i2.getSIPHeadersActionType, t2.holdMusicActionType = i2.holdMusicActionType, t2.initializeFlowOutcomeActionType = i2.initializeFlowOutcomeActionType, t2.lexActionType = i2.lexActionType, t2.lexV2ActionType = i2.lexV2ActionType, t2.loopActionType = i2.loopActionType, t2.loopTaskActionType = i2.loopTaskActionType, t2.loopUntilActionType = i2.loopUntilActionType, t2.menuActionType = i2.menuActionType, t2.menuActionActionType = i2.menuActionActionType, t2.nextLoopActionType = i2.nextLoopActionType, t2.nuanceMixActionType = i2.nuanceMixActionType, t2.participantRecordActionType = i2.participantRecordActionType, t2.playAudioActionType = i2.playAudioActionType, t2.playAudioOnSilenceActionType = i2.playAudioOnSilenceActionType, t2.playEstimatedWaitTimeActionType = i2.playEstimatedWaitTimeActionType, t2.playPositionInQueueActionType = i2.playPositionInQueueActionType, t2.playUserGreetingActionType = i2.playUserGreetingActionType, t2.playUserNameActionType = i2.playUserNameActionType, t2.previousMenuActionType = i2.previousMenuActionType, t2.processVoicemailInputActionType = i2.processVoicemailInputActionType, t2.promoteExternalContactActionType = i2.promoteExternalContactActionType, t2.repeatMenuActionType = i2.repeatMenuActionType, t2.returnToAgentActionType = i2.returnToAgentActionType, t2.screenPopActionType = i2.screenPopActionType, t2.searchExternalContactsActionType = i2.searchExternalContactsActionType, t2.secureActionActionType = i2.secureActionActionType, t2.sendAutoReplyActionType = i2.sendAutoReplyActionType, t2.sendDigitalContentActionType = i2.sendDigitalContentActionType, t2.sendInteractiveApplicationActionActionType = i2.sendInteractiveApplicationActionActionType, t2.sendKnowledgeFeedbackActionActionType = i2.sendKnowledgeFeedbackActionActionType, t2.sendNotificationActionType = i2.sendNotificationActionType, t2.sendResponseActionType = i2.sendResponseActionType, t2.sendRichLinkActionType = i2.sendRichLinkActionType, t2.setActiveIntentActionType = i2.setActiveIntentActionType, t2.setAttributesActionType = i2.setAttributesActionType, t2.setConversationDataActionType = i2.setConversationDataActionType, t2.setExternalTagActionType = i2.setExternalTagActionType, t2.setFlowOutcomeActionType = i2.setFlowOutcomeActionType, t2.setLocaleActionType = i2.setLocaleActionType, t2.setPostFlowActionType = i2.setPostFlowActionType, t2.setPriorityActionType = i2.setPriorityActionType, t2.setSecuredDataActionType = i2.setSecuredDataActionType, t2.setSkillExpressionFiltersActionType = i2.setSkillExpressionFiltersActionType, t2.setSkillsActionType = i2.setSkillsActionType, t2.setUtilizationLabelActionType = i2.setUtilizationLabelActionType, t2.setUUIDataActionType = i2.setUUIDataActionType, t2.setWhisperAudioActionType = i2.setWhisperAudioActionType, t2.setWrapupCodeActionType = i2.setWrapupCodeActionType, t2.showKnowledgeArticleActionActionType = i2.showKnowledgeArticleActionActionType, t2.stateActionType = i2.stateActionType, t2.submitVoicemailSnippetActionType = i2.submitVoicemailSnippetActionType, t2.submitVoiceSnippetActionType = i2.submitVoiceSnippetActionType, t2.switchActionActionType = i2.switchActionActionType, t2.taskActionType = i2.taskActionType, t2.taskActionActionType = i2.taskActionActionType, t2.transcriptionActionType = i2.transcriptionActionType, t2.transferExternalActionType = i2.transferExternalActionType, t2.transferFlowActionType = i2.transferFlowActionType, t2.transferFlowSecureActionType = i2.transferFlowSecureActionType, t2.transferGroupActionType = i2.transferGroupActionType, t2.transferMenuActionType = i2.transferMenuActionType, t2.transferPureMatchActionType = i2.transferPureMatchActionType, t2.transferTaskActionType = i2.transferTaskActionType, t2.transferUserActionType = i2.transferUserActionType, t2.transferVoicemailActionType = i2.transferVoicemailActionType, t2.updateConversationAttributeActionType = i2.updateConversationAttributeActionType, t2.updateExternalContactActionType = i2.updateExternalContactActionType, t2.updateVariableActionType = i2.updateVariableActionType, t2.updateWorkitemActionType = i2.updateWorkitemActionType, t2.voiceBiometricsActionType = i2.voiceBiometricsActionType, t2.waitActionType = i2.waitActionType, t2.waitForInputActionType = i2.waitForInputActionType, t2.terminateWorkitemActionType = i2.terminateWorkitemActionType; + const i2 = { abortSendActionType: "AbortSendAction", abortSurveyActionType: "AbortSurveyInviteAction", addFlowMilestoneActionType: "AddFlowMilestoneAction", agenticAnythingElseActionType: "AgenticAnythingElseAction", agenticAskForIntentActionType: "AgenticAskForIntentAction", askForAuthenticationActionType: "AskForAuthenticationAction", askForBooleanActionType: "AskForBooleanAction", askForNLUIntentActionType: "AskForNLUIntentAction", askForNLUNextIntentActionActionType: "AskForNLUNextIntentAction", askForPaymentActionType: "AskForPaymentAction", askForSlotActionType: "AskForSlotAction", askSurveyQuestionActionType: "AskSurveyQuestionAction", assignCustomerSegmentActionType: "AssignCustomerSegmentAction", audioMonitoringActionType: "AudioMonitoringAction", botConnectorActionType: "CallBotConnectorAction", botStateActionType: "BotState", bridgeServerActionType: "BridgeServerAction", callAgenticVirtualAgentActionType: "CallAgenticVirtualAgentAction", callBotFlowActionType: "CallBotFlowAction", callVoiceFlowActionType: "CallVoiceFlowAction", callCommonModuleActionType: "CallCommonModuleAction", callDecisionTableActionType: "CallDecisionTableAction", callGuideActionType: "CallGuideAction", digitalBotConnectorActionType: "CallDigitalBotConnectorAction", callDigitalBotFlowActionType: "CallDigitalBotFlowAction", callAudioConnectorActionType: "CallAudioConnectorAction", callTaskActionType: "CallTaskAction", changeStateActionType: "ChangeStateAction", clearActiveIntentActionType: "ClearActiveIntentAction", clearPostFlowActionType: "ClearPostFlowAction", clearSlotActionType: "ClearSlotAction", clearUtilizationLabelActionType: "ClearUtilizationLabelAction", clearVoicemailSnippetActionType: "ClearVoicemailSnippetAction", clearSkillExpressionFiltersActionType: "ClearSkillExpressionFiltersAction", collectInputActionType: "CollectInputAction", collectVoiceSnippetActionType: "CollectVoiceSnippetAction", commonModuleTaskActionType: "CommonModuleTask", communicateActionType: "CommunicateAction", completeSendActionType: "CompleteSendAction", completeSurveyActionType: "CompleteSurveyInviteAction", createCallbackActionType: "CreateCallbackAction", createConversationAttributeActionType: "CreateConversationAttributeAction", dataActionActionType: "DataAction", dataTableLookupActionType: "DataTableLookupAction", decisionActionType: "DecisionAction", decryptDataActionType: "DecryptDataAction", deflectActionType: "DeflectAction", detectIntentActionType: "DetectIntentAction", detectSilenceActionType: "DetectSilenceAction", dialExtensionActionType: "DialExtensionAction", dialNameActionType: "DialNameAction", dialogEngineActionType: "CallDialogEngineBotAction", dialogflowActionType: "CallDialogflowBotAction", dialogflowCxActionType: "CallDialogflowCxBotAction", digitalMenuActionType: "DigitalMenuAction", disconnectActionType: "DisconnectAction", disconnectWorkitemActionType: "DisconnectWorkitemAction", encryptDataActionType: "EncryptDataAction", endStateActionType: "EndStateAction", endTaskActionType: "EndTaskAction", endWorkflowActionType: "EndWorkflowAction", evaluateScheduleActionType: "EvaluateScheduleAction", evaluateScheduleGroupActionType: "EvaluateScheduleGroupAction", evaluateSkillExpressionFiltersActionType: "EvaluateSkillExpressionFiltersAction", exitBotFlowActionType: "ExitBotFlowAction", exitLoopActionType: "ExitLoopAction", exitWorkitemFlowActionType: "ExitWorkitemFlowAction", extractSecureDataActionType: "ExtractSecureDataAction", findDivisionActionType: "FindDivisionAction", findDivisionsActionType: "FindDivisionsAction", findEmergencyGroupActionType: "FindEmergencyGroupAction", findGrammarActionType: "FindGrammarAction", findGrammarByIdActionType: "FindGrammarByIdAction", findGroupActionType: "FindGroupAction", findKnowledgeBaseDocumentByIdActionType: "FindKnowledgeBaseDocumentByIdAction", findLanguageSkillActionType: "FindLanguageSkillAction", findQueueActionType: "FindQueueAction", findQueueByIdActionType: "FindQueueByIdAction", findScheduleActionType: "FindScheduleAction", findScheduleGroupActionType: "FindScheduleGroupAction", findSkillActionType: "FindSkillAction", findSystemPromptActionType: "FindSystemPromptAction", findUserActionType: "FindUserAction", findUserByIdActionType: "FindUserByIdAction", findUserPromptActionType: "FindUserPromptAction", findUsersByIdActionType: "FindUsersByIdAction", findUtilizationLabelActionType: "FindUtilizationLabelAction", flushAudioActionType: "FlushAudioAction", formActionType: "FormAction", getAssignedCustomerIntentsActionType: "GetAssignedCustomerIntentsAction", getAssignedCustomerSegmentsActionType: "GetAssignedCustomerSegmentsAction", getAttributesActionType: "GetAttributesAction", getConversationAttributeActionType: "GetConversationAttributeAction", getConversationAttributesActionType: "GetConversationAttributesAction", getConversationDataActionType: "GetConversationDataAction", getEmailHeadersActionType: "GetEmailHeadersAction", getExternalContactActionType: "GetExternalContactAction", getExternalOrganizationActionType: "GetExternalOrganizationAction", getJourneyOutcomeActionType: "GetJourneyOutcomeAction", getJourneyOutcomeScoresBySessionActionType: "GetJourneyOutcomeScoresBySessionAction", getJourneySegmentActionType: "GetJourneySegmentAction", getJourneySessionActionType: "GetJourneySessionAction", getJourneySessionsByCustomerActionType: "GetJourneySessionsByCustomerAction", getJourneySessionsByExternalContactActionType: "GetJourneySessionsByExternalContactAction", getRawSIPHeadersActionType: "GetRawSIPHeadersAction", getResponseActionType: "GetResponseAction", getSecuredDataActionType: "GetSecuredDataAction", getSIPHeadersActionType: "GetSIPHeadersAction", holdMusicActionType: "HoldMusicAction", initializeFlowOutcomeActionType: "InitializeFlowOutcomeAction", lexActionType: "CallLexBotAction", lexV2ActionType: "CallLexV2BotAction", loopActionType: "LoopAction", loopTaskActionType: "LoopTask", loopUntilActionType: "LoopUntilAction", menuActionType: "Menu", menuActionActionType: "MenuAction", nextLoopActionType: "NextLoopAction", nuanceMixActionType: "CallNuanceMixBotAction", participantRecordActionType: "ParticipantRecordAction", playAudioActionType: "PlayAudioAction", playAudioOnSilenceActionType: "PlayAudioOnSilenceAction", playEstimatedWaitTimeActionType: "PlayEstimatedWaitTimeAction", playPositionInQueueActionType: "PlayPositionInQueueAction", playUserGreetingActionType: "PlayUserGreetingAudioAction", playUserNameActionType: "PlayUserNameAudioAction", previousMenuActionType: "PreviousMenuAction", processVoicemailInputActionType: "ProcessVoicemailInputAction", promoteExternalContactActionType: "PromoteExternalContactAction", repeatMenuActionType: "RepeatMenuAction", returnToAgentActionType: "EndFlowAction", screenPopActionType: "ScreenPopAction", searchExternalContactsActionType: "SearchExternalContactsAction", secureActionActionType: "SecureAction", sendAutoReplyActionType: "SendAutoReplyAction", sendDigitalContentActionType: "SendDigitalContentAction", sendInteractiveApplicationActionActionType: "SendInteractiveApplicationAction", sendKnowledgeFeedbackActionActionType: "SendKnowledgeFeedbackAction", sendNotificationActionType: "SendNotificationAction", sendResponseActionType: "SendResponseAction", sendRichLinkActionType: "SendRichLinkAction", setActiveIntentActionType: "SetActiveIntentAction", setAttributesActionType: "SetAttributesAction", setConversationDataActionType: "SetConversationDataAction", setExternalTagActionType: "SetExternalTagAction", setFlowOutcomeActionType: "SetFlowOutcomeAction", setLocaleActionType: "SetLocaleAction", setPostFlowActionType: "SetPostFlowAction", setPriorityActionType: "SetPriorityAction", setSecuredDataActionType: "SetSecuredDataAction", setSkillExpressionFiltersActionType: "SetSkillExpressionFiltersAction", setSkillsActionType: "SetSkillsAction", setUtilizationLabelActionType: "SetUtilizationLabelAction", setUUIDataActionType: "SetUUIDataAction", setWhisperAudioActionType: "SetWhisperAudio", setWrapupCodeActionType: "SetWrapupCodeAction", showKnowledgeArticleActionActionType: "ShowKnowledgeArticleAction", stateActionType: "State", submitVoicemailSnippetActionType: "SubmitVoicemailSnippetAction", submitVoiceSnippetActionType: "SubmitVoiceSnippetAction", switchActionActionType: "SwitchAction", taskActionType: "Task", taskActionActionType: "TaskAction", transcriptionActionType: "TranscriptionAction", transferExternalActionType: "TransferExternalAction", transferFlowActionType: "TransferFlowAction", transferFlowSecureActionType: "TransferFlowSecureAction", transferGroupActionType: "TransferGroupAction", transferMenuActionType: "TransferMenuAction", transferPureMatchActionType: "TransferPureMatchAction", transferTaskActionType: "TransferTaskAction", transferUserActionType: "TransferUserAction", transferVoicemailActionType: "TransferVoicemailAction", updateConversationAttributeActionType: "UpdateConversationAttributeAction", updateExternalContactActionType: "UpdateExternalContactAction", updateVariableActionType: "UpdateVariableAction", updateWorkitemActionType: "UpdateWorkitemAction", voiceBiometricsActionType: "VoiceBiometricsAction", waitActionType: "WaitAction", waitForInputActionType: "WaitForInputAction", terminateWorkitemActionType: "TerminateWorkitemAction" }; + t2.actionTypeValues = Object.values(i2), t2.abortSendActionType = i2.abortSendActionType, t2.abortSurveyActionType = i2.abortSurveyActionType, t2.addFlowMilestoneActionType = i2.addFlowMilestoneActionType, t2.agenticAnythingElseActionType = i2.agenticAnythingElseActionType, t2.agenticAskForIntentActionType = i2.agenticAskForIntentActionType, t2.askForAuthenticationActionType = i2.askForAuthenticationActionType, t2.askForBooleanActionType = i2.askForBooleanActionType, t2.askForNLUIntentActionType = i2.askForNLUIntentActionType, t2.askForNLUNextIntentActionActionType = i2.askForNLUNextIntentActionActionType, t2.askForPaymentActionType = i2.askForPaymentActionType, t2.askForSlotActionType = i2.askForSlotActionType, t2.askSurveyQuestionActionType = i2.askSurveyQuestionActionType, t2.assignCustomerSegmentActionType = i2.assignCustomerSegmentActionType, t2.audioMonitoringActionType = i2.audioMonitoringActionType, t2.botConnectorActionType = i2.botConnectorActionType, t2.botStateActionType = i2.botStateActionType, t2.bridgeServerActionType = i2.bridgeServerActionType, t2.callAgenticVirtualAgentActionType = i2.callAgenticVirtualAgentActionType, t2.callBotFlowActionType = i2.callBotFlowActionType, t2.callVoiceFlowActionType = i2.callVoiceFlowActionType, t2.callCommonModuleActionType = i2.callCommonModuleActionType, t2.callDecisionTableActionType = i2.callDecisionTableActionType, t2.callGuideActionType = i2.callGuideActionType, t2.digitalBotConnectorActionType = i2.digitalBotConnectorActionType, t2.callDigitalBotFlowActionType = i2.callDigitalBotFlowActionType, t2.callAudioConnectorActionType = i2.callAudioConnectorActionType, t2.callTaskActionType = i2.callTaskActionType, t2.changeStateActionType = i2.changeStateActionType, t2.clearActiveIntentActionType = i2.clearActiveIntentActionType, t2.clearPostFlowActionType = i2.clearPostFlowActionType, t2.clearSlotActionType = i2.clearSlotActionType, t2.clearUtilizationLabelActionType = i2.clearUtilizationLabelActionType, t2.clearVoicemailSnippetActionType = i2.clearVoicemailSnippetActionType, t2.clearSkillExpressionFiltersActionType = i2.clearSkillExpressionFiltersActionType, t2.collectInputActionType = i2.collectInputActionType, t2.collectVoiceSnippetActionType = i2.collectVoiceSnippetActionType, t2.commonModuleTaskActionType = i2.commonModuleTaskActionType, t2.communicateActionType = i2.communicateActionType, t2.completeSendActionType = i2.completeSendActionType, t2.completeSurveyActionType = i2.completeSurveyActionType, t2.createConversationAttributeActionType = i2.createConversationAttributeActionType, t2.createCallbackActionType = i2.createCallbackActionType, t2.dataActionActionType = i2.dataActionActionType, t2.dataTableLookupActionType = i2.dataTableLookupActionType, t2.decisionActionType = i2.decisionActionType, t2.decryptDataActionType = i2.decryptDataActionType, t2.deflectActionType = i2.deflectActionType, t2.detectIntentActionType = i2.detectIntentActionType, t2.detectSilenceActionType = i2.detectSilenceActionType, t2.dialExtensionActionType = i2.dialExtensionActionType, t2.dialNameActionType = i2.dialNameActionType, t2.dialogEngineActionType = i2.dialogEngineActionType, t2.dialogflowActionType = i2.dialogflowActionType, t2.dialogflowCxActionType = i2.dialogflowCxActionType, t2.digitalMenuActionType = i2.digitalMenuActionType, t2.disconnectActionType = i2.disconnectActionType, t2.disconnectWorkitemActionType = i2.disconnectWorkitemActionType, t2.encryptDataActionType = i2.encryptDataActionType, t2.endStateActionType = i2.endStateActionType, t2.endTaskActionType = i2.endTaskActionType, t2.endWorkflowActionType = i2.endWorkflowActionType, t2.evaluateScheduleActionType = i2.evaluateScheduleActionType, t2.evaluateScheduleGroupActionType = i2.evaluateScheduleGroupActionType, t2.evaluateSkillExpressionFiltersActionType = i2.evaluateSkillExpressionFiltersActionType, t2.exitBotFlowActionType = i2.exitBotFlowActionType, t2.exitLoopActionType = i2.exitLoopActionType, t2.exitWorkitemFlowActionType = i2.exitWorkitemFlowActionType, t2.extractSecureDataActionType = i2.extractSecureDataActionType, t2.findDivisionActionType = i2.findDivisionActionType, t2.findDivisionsActionType = i2.findDivisionsActionType, t2.findEmergencyGroupActionType = i2.findEmergencyGroupActionType, t2.findGrammarActionType = i2.findGrammarActionType, t2.findGrammarByIdActionType = i2.findGrammarByIdActionType, t2.findGroupActionType = i2.findGroupActionType, t2.findKnowledgeBaseDocumentByIdActionType = i2.findKnowledgeBaseDocumentByIdActionType, t2.findLanguageSkillActionType = i2.findLanguageSkillActionType, t2.findQueueActionType = i2.findQueueActionType, t2.findQueueByIdActionType = i2.findQueueByIdActionType, t2.findScheduleActionType = i2.findScheduleActionType, t2.findScheduleGroupActionType = i2.findScheduleGroupActionType, t2.findSkillActionType = i2.findSkillActionType, t2.findSystemPromptActionType = i2.findSystemPromptActionType, t2.findUserActionType = i2.findUserActionType, t2.findUserByIdActionType = i2.findUserByIdActionType, t2.findUserPromptActionType = i2.findUserPromptActionType, t2.findUsersByIdActionType = i2.findUsersByIdActionType, t2.findUtilizationLabelActionType = i2.findUtilizationLabelActionType, t2.flushAudioActionType = i2.flushAudioActionType, t2.formActionType = i2.formActionType, t2.getAssignedCustomerIntentsActionType = i2.getAssignedCustomerIntentsActionType, t2.getAssignedCustomerSegmentsActionType = i2.getAssignedCustomerSegmentsActionType, t2.getAttributesActionType = i2.getAttributesActionType, t2.getConversationAttributeActionType = i2.getConversationAttributeActionType, t2.getConversationAttributesActionType = i2.getConversationAttributesActionType, t2.getConversationDataActionType = i2.getConversationDataActionType, t2.getEmailHeadersActionType = i2.getEmailHeadersActionType, t2.getExternalContactActionType = i2.getExternalContactActionType, t2.getExternalOrganizationActionType = i2.getExternalOrganizationActionType, t2.getJourneyOutcomeActionType = i2.getJourneyOutcomeActionType, t2.getJourneyOutcomeScoresBySessionActionType = i2.getJourneyOutcomeScoresBySessionActionType, t2.getJourneySegmentActionType = i2.getJourneySegmentActionType, t2.getJourneySessionActionType = i2.getJourneySessionActionType, t2.getJourneySessionsByCustomerActionType = i2.getJourneySessionsByCustomerActionType, t2.getJourneySessionsByExternalContactActionType = i2.getJourneySessionsByExternalContactActionType, t2.getRawSIPHeadersActionType = i2.getRawSIPHeadersActionType, t2.getResponseActionType = i2.getResponseActionType, t2.getSecuredDataActionType = i2.getSecuredDataActionType, t2.getSIPHeadersActionType = i2.getSIPHeadersActionType, t2.holdMusicActionType = i2.holdMusicActionType, t2.initializeFlowOutcomeActionType = i2.initializeFlowOutcomeActionType, t2.lexActionType = i2.lexActionType, t2.lexV2ActionType = i2.lexV2ActionType, t2.loopActionType = i2.loopActionType, t2.loopTaskActionType = i2.loopTaskActionType, t2.loopUntilActionType = i2.loopUntilActionType, t2.menuActionType = i2.menuActionType, t2.menuActionActionType = i2.menuActionActionType, t2.nextLoopActionType = i2.nextLoopActionType, t2.nuanceMixActionType = i2.nuanceMixActionType, t2.participantRecordActionType = i2.participantRecordActionType, t2.playAudioActionType = i2.playAudioActionType, t2.playAudioOnSilenceActionType = i2.playAudioOnSilenceActionType, t2.playEstimatedWaitTimeActionType = i2.playEstimatedWaitTimeActionType, t2.playPositionInQueueActionType = i2.playPositionInQueueActionType, t2.playUserGreetingActionType = i2.playUserGreetingActionType, t2.playUserNameActionType = i2.playUserNameActionType, t2.previousMenuActionType = i2.previousMenuActionType, t2.processVoicemailInputActionType = i2.processVoicemailInputActionType, t2.promoteExternalContactActionType = i2.promoteExternalContactActionType, t2.repeatMenuActionType = i2.repeatMenuActionType, t2.returnToAgentActionType = i2.returnToAgentActionType, t2.screenPopActionType = i2.screenPopActionType, t2.searchExternalContactsActionType = i2.searchExternalContactsActionType, t2.secureActionActionType = i2.secureActionActionType, t2.sendAutoReplyActionType = i2.sendAutoReplyActionType, t2.sendDigitalContentActionType = i2.sendDigitalContentActionType, t2.sendInteractiveApplicationActionActionType = i2.sendInteractiveApplicationActionActionType, t2.sendKnowledgeFeedbackActionActionType = i2.sendKnowledgeFeedbackActionActionType, t2.sendNotificationActionType = i2.sendNotificationActionType, t2.sendResponseActionType = i2.sendResponseActionType, t2.sendRichLinkActionType = i2.sendRichLinkActionType, t2.setActiveIntentActionType = i2.setActiveIntentActionType, t2.setAttributesActionType = i2.setAttributesActionType, t2.setConversationDataActionType = i2.setConversationDataActionType, t2.setExternalTagActionType = i2.setExternalTagActionType, t2.setFlowOutcomeActionType = i2.setFlowOutcomeActionType, t2.setLocaleActionType = i2.setLocaleActionType, t2.setPostFlowActionType = i2.setPostFlowActionType, t2.setPriorityActionType = i2.setPriorityActionType, t2.setSecuredDataActionType = i2.setSecuredDataActionType, t2.setSkillExpressionFiltersActionType = i2.setSkillExpressionFiltersActionType, t2.setSkillsActionType = i2.setSkillsActionType, t2.setUtilizationLabelActionType = i2.setUtilizationLabelActionType, t2.setUUIDataActionType = i2.setUUIDataActionType, t2.setWhisperAudioActionType = i2.setWhisperAudioActionType, t2.setWrapupCodeActionType = i2.setWrapupCodeActionType, t2.showKnowledgeArticleActionActionType = i2.showKnowledgeArticleActionActionType, t2.stateActionType = i2.stateActionType, t2.submitVoicemailSnippetActionType = i2.submitVoicemailSnippetActionType, t2.submitVoiceSnippetActionType = i2.submitVoiceSnippetActionType, t2.switchActionActionType = i2.switchActionActionType, t2.taskActionType = i2.taskActionType, t2.taskActionActionType = i2.taskActionActionType, t2.transcriptionActionType = i2.transcriptionActionType, t2.transferExternalActionType = i2.transferExternalActionType, t2.transferFlowActionType = i2.transferFlowActionType, t2.transferFlowSecureActionType = i2.transferFlowSecureActionType, t2.transferGroupActionType = i2.transferGroupActionType, t2.transferMenuActionType = i2.transferMenuActionType, t2.transferPureMatchActionType = i2.transferPureMatchActionType, t2.transferTaskActionType = i2.transferTaskActionType, t2.transferUserActionType = i2.transferUserActionType, t2.transferVoicemailActionType = i2.transferVoicemailActionType, t2.updateConversationAttributeActionType = i2.updateConversationAttributeActionType, t2.updateExternalContactActionType = i2.updateExternalContactActionType, t2.updateVariableActionType = i2.updateVariableActionType, t2.updateWorkitemActionType = i2.updateWorkitemActionType, t2.voiceBiometricsActionType = i2.voiceBiometricsActionType, t2.waitActionType = i2.waitActionType, t2.waitForInputActionType = i2.waitForInputActionType, t2.terminateWorkitemActionType = i2.terminateWorkitemActionType; }, 30825: (e2, t2, i2) => { const n2 = i2(2210), r2 = i2(81084), o = i2(7401), { playAudioOnSilenceActionType: a } = i2(30801); function s() { @@ -37280,16 +41040,16 @@ var require_scripting_bundle = __commonJS({ }, 30888: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.dialogEngineBotManager = t2.DialogEngineBotManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(47532)), s = i2(30801), l = n2.__importDefault(i2(14994)), u = i2(81801), d = i2(47957), c = i2(27862), p = i2(94384); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(47532)), s = i2(30801), l = n2.__importDefault(i2(14994)), u = i2(81801), c = i2(47957), d = i2(27862), p = i2(94384); class _ extends a.default { get requiredAuth() { return u.externalAuthorizations.authStrings.integrationView; } get dependencyType() { - return c.DialogEngineBot; + return d.DialogEngineBot; } constructor() { - super(), this.topic = o.getTopic("DialogEngineBotManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "bot", this.actionsForUsageSearch = [s.dialogEngineActionType], this.apiCallList = p.getBots, this.apiCallSingle = p.getBot, this.className = "DialogEngineBotManager", this.defaultMatchingStyle = r2.exactMatch, this.defaultPageSize = 1e3, this.dependencyContext = d.dialogEngine.dialogEngineBot, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "dialogEngineBots", this._initialize(); + super(), this.topic = o.getTopic("DialogEngineBotManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "bot", this.actionsForUsageSearch = [s.dialogEngineActionType], this.apiCallList = p.getBots, this.apiCallSingle = p.getBot, this.className = "DialogEngineBotManager", this.defaultMatchingStyle = r2.exactMatch, this.defaultPageSize = 1e3, this.dependencyContext = c.dialogEngine.dialogEngineBot, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "dialogEngineBots", this._initialize(); } _createItemViewModel(e3) { return new l.default(e3); @@ -37346,14 +41106,16 @@ var require_scripting_bundle = __commonJS({ }, 31145: (e2, t2, i2) => { "use strict"; var n2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.NluFlowViewModel = void 0; - const r2 = i2(31635), o = r2.__importStar(i2(68694)), a = i2(68694), s = i2(17604), l = r2.__importDefault(i2(92140)), u = r2.__importStar(i2(24601)), d = r2.__importStar(i2(98442)), c = r2.__importStar(i2(9345)), p = i2(14394), _ = i2(79516), h = i2(77841), m = i2(63689), g = r2.__importStar(i2(12847)), f = r2.__importStar(i2(36781)), T = i2(10798), y = r2.__importStar(i2(46920)), S = r2.__importDefault(i2(77862)), A = r2.__importStar(i2(58380)), N = r2.__importStar(i2(1115)), O = r2.__importDefault(i2(4648)), I = i2(84041), v = r2.__importStar(i2(44392)), C = r2.__importStar(i2(22717)), b = i2(13116), E = r2.__importStar(i2(14187)), R = r2.__importDefault(i2(8066)), w = r2.__importDefault(i2(71729)), D = r2.__importDefault(i2(71901)), P = r2.__importDefault(i2(71655)), M = r2.__importDefault(i2(95955)), F = r2.__importDefault(i2(27277)), L = r2.__importDefault(i2(75228)), x = r2.__importDefault(i2(84693)), k = r2.__importDefault(i2(76533)), V = r2.__importDefault(i2(4406)), U = r2.__importDefault(i2(19359)), B = r2.__importDefault(i2(57443)), G = r2.__importDefault(i2(15179)), j = r2.__importDefault(i2(48263)), W = r2.__importDefault(i2(86767)), q = r2.__importDefault(i2(71824)), Y = i2(79364), H = i2(24893), J = i2(16926), z = i2(47957), K = i2(64420); - class $ extends q.default { + Object.defineProperty(t2, "__esModule", { value: true }), t2.NluFlowViewModel = void 0, t2.isNluFlowViewModel = function(e3) { + return !!(null == e3 ? void 0 : e3.isNluFlow); + }; + const r2 = i2(31635), o = r2.__importStar(i2(68694)), a = i2(68694), s = i2(17604), l = r2.__importDefault(i2(92140)), u = r2.__importStar(i2(24601)), c = r2.__importStar(i2(98442)), d = r2.__importStar(i2(9345)), p = i2(14394), _ = i2(79516), h = i2(77841), m = i2(63689), g = r2.__importStar(i2(12847)), f = r2.__importStar(i2(36781)), T = i2(10798), y = r2.__importStar(i2(46920)), S = r2.__importDefault(i2(77862)), A = r2.__importStar(i2(58380)), N = r2.__importStar(i2(1115)), v = r2.__importDefault(i2(4648)), O = i2(84041), I = r2.__importStar(i2(44392)), C = r2.__importStar(i2(22717)), b = i2(13116), E = r2.__importStar(i2(14187)), w = r2.__importDefault(i2(8066)), R = r2.__importDefault(i2(71729)), D = r2.__importDefault(i2(71901)), P = r2.__importDefault(i2(71655)), M = r2.__importDefault(i2(95955)), F = r2.__importDefault(i2(27277)), L = r2.__importDefault(i2(75228)), x = r2.__importDefault(i2(84693)), k = r2.__importDefault(i2(76533)), V = r2.__importDefault(i2(4406)), U = r2.__importDefault(i2(19359)), B = r2.__importDefault(i2(57443)), G = r2.__importDefault(i2(15179)), j = r2.__importDefault(i2(48263)), W = r2.__importDefault(i2(86767)), q = r2.__importDefault(i2(74246)), Y = r2.__importDefault(i2(71824)), H = i2(79364), J = i2(24893), $ = i2(16926), z = i2(47957), K = i2(64420); + class Q extends Y.default { constructor(e3) { - super(e3), n2.set(this, false), this._nluWbMessageProcessingShouldCacheFlowConfig = true, this.callPrompts = this._addToAutoManageSettings(new M.default(this)), this.errorHandling = this._addToAutoManageSettings(new R.default(this)), this.botFlowSettings = this._addToAutoManageSettings(this._createBotFlowSettings()), this.supportsNluIntents && (this.intentsSettings = this._addToAutoManageSettings(new L.default(this))), this.learningSettings = this._addToAutoManageSettings(new k.default(this)), this.nluMetaData = this._addToAutoManageSettings(new W.default(this)), this.slotSettings = this._addToAutoManageSettings(new B.default(this)), this.slotTypeSettings = this._addToAutoManageSettings(new G.default(this)), this.userInputSettings = this._addToAutoManageSettings(new D.default(this)), this.botSessionViewer = this._addToAutoManageSettings(new P.default(this)), this.supportsKnowledge && (this.knowledgeSettings = this._addToAutoManageSettings(new x.default(this))), this.supportsNluIntents && (this.intentMiner = this._addToAutoManageSettings(new F.default(this))), this.pathDiscovery = this._addToAutoManageSettings(new U.default(this)), this.optimizationOverview = this._addToAutoManageSettings(new V.default(this)), this.virtualAgentSettings = this._addToAutoManageSettings(new j.default(this)), this.debouncedValidateFlow = l.default.debounce(N.validateFlow.bind(N, this), 500); + super(e3), n2.set(this, false), this._nluWbMessageProcessingShouldCacheFlowConfig = true, this.callPrompts = this._addToAutoManageSettings(new M.default(this)), this.errorHandling = this._addToAutoManageSettings(new w.default(this)), this.botFlowSettings = this._addToAutoManageSettings(this._createBotFlowSettings()), this.supportsNluIntents && (this.intentsSettings = this._addToAutoManageSettings(new L.default(this))), this.learningSettings = this._addToAutoManageSettings(new k.default(this)), this.nluMetaData = this._addToAutoManageSettings(new W.default(this)), this.intentClassifierData = this._addToAutoManageSettings(new q.default(this)), this.slotSettings = this._addToAutoManageSettings(new B.default(this)), this.slotTypeSettings = this._addToAutoManageSettings(new G.default(this)), this.userInputSettings = this._addToAutoManageSettings(new D.default(this)), this.botSessionViewer = this._addToAutoManageSettings(new P.default(this)), this.supportsKnowledge && (this.knowledgeSettings = this._addToAutoManageSettings(new x.default(this))), this.supportsNluIntents && (this.intentMiner = this._addToAutoManageSettings(new F.default(this))), this.pathDiscovery = this._addToAutoManageSettings(new U.default(this)), this.optimizationOverview = this._addToAutoManageSettings(new V.default(this)), this.virtualAgentSettings = this._addToAutoManageSettings(new j.default(this)), this.debouncedValidateFlow = l.default.debounce(N.validateFlow.bind(N, this), 500); } _createBotFlowSettings() { - return new w.default(this); + return new R.default(this); } validate(e3) { var t3, i3, n3; @@ -37375,7 +41137,7 @@ var require_scripting_bundle = __commonJS({ (null === (i5 = e3.issuesMap.slotTypeSettings) || void 0 === i5 ? void 0 : i5.warnings.find((e4) => e4.text === n5)) || e3.addWarning(this.slotTypeSettings, n5); } }); - }), (0, T.isFeatureAvailable)(O.default.botFlowsVirtualAgentGuideBillingDowngrade) && (this.botFlowSettings.hasCallAVAAction || true !== (null === (n3 = this.info) || void 0 === n3 ? void 0 : n3.agenticVirtualAgentEnabled) || e3.addWarning(this, z.virtualAgent.agenticVirtualAgentDowngradeTooltip, true)); + }), (0, T.isFeatureAvailable)(v.default.botFlowsVirtualAgentGuideBillingDowngrade) && (this.botFlowSettings.hasCallAVAAction || true !== (null === (n3 = this.info) || void 0 === n3 ? void 0 : n3.agenticVirtualAgentEnabled) || e3.addWarning(this, z.virtualAgent.agenticVirtualAgentDowngradeTooltip, true)); } get isNluFlow() { return true; @@ -37407,7 +41169,7 @@ var require_scripting_bundle = __commonJS({ return [...super.allowedAssignableVariableScopes, E.scopes.slot]; } getFlowConfigurationClass() { - return H; + return J; } get overrideWireFlowConfiguration() { return K.getBotFlowConfiguration; @@ -37444,7 +41206,7 @@ var require_scripting_bundle = __commonJS({ var t3; e3 || (e3 = {}); let i3 = null === (t3 = e3.nluVersionTemplate) || void 0 === t3 ? void 0 : t3.templateObject; - i3 || (i3 = l.default.findWhere(v.templates, { id: v.nluVersionIds.blankBot }).templateObject), this.nluMetaData.setRawNluAndCompressionFormat(i3, S.default.compressionFormats.none), this.botFlowSettings.setNluDomainInfo(e3.createdNluDomainId || null, e3.createdEngineVersion || null), this.botFlowSettings.nluDomainVersionId = null, l.default.isBoolean(e3.virtualAgentEnabled) && (this.botFlowSettings.virtualAgentEnabled = e3.virtualAgentEnabled); + i3 || (i3 = l.default.findWhere(I.templates, { id: I.nluVersionIds.blankBot }).templateObject), this.nluMetaData.setRawNluAndCompressionFormat(i3, S.default.compressionFormats.none), this.botFlowSettings.setNluDomainInfo(e3.createdNluDomainId || null, e3.createdEngineVersion || null), this.botFlowSettings.nluDomainVersionId = null, l.default.isBoolean(e3.virtualAgentEnabled) && (this.botFlowSettings.virtualAgentEnabled = e3.virtualAgentEnabled); }); } getSaveAsConfig(e3) { @@ -37456,13 +41218,13 @@ var require_scripting_bundle = __commonJS({ }); } updateNluIdsInConfig(e3, t3, i3, n3, r3, o2, a2) { - var s2, u2, d2, c2, p2, _2, h2, m2; + var s2, u2, c2, d2, p2, _2, h2, m2; if (e3.botFlowSettings || (e3.botFlowSettings = {}), e3.botFlowSettings.nluDomainId = t3, e3.botFlowSettings.engineVersion = i3, e3.botFlowSettings.nluDomainVersionId = n3, e3.nluMetaData.archNlu && e3.nluMetaData.archNlu.id !== t3 && (e3.nluMetaData.archNlu.id = t3), l.default.isArray(null === (s2 = e3.manifest) || void 0 === s2 ? void 0 : s2.nluDomain)) if (e3.manifest.nluDomain.length > 1) this.topic.error("why is there more than one nluDomain on the manifest?"); else { - const i4 = null === (d2 = null === (u2 = e3.manifest) || void 0 === u2 ? void 0 : u2.nluDomain) || void 0 === d2 ? void 0 : d2[0]; + const i4 = null === (c2 = null === (u2 = e3.manifest) || void 0 === u2 ? void 0 : u2.nluDomain) || void 0 === c2 ? void 0 : c2[0]; i4 && (i4.id = t3, i4.name = r3, i4.version = n3); } - if (a2 && l.default.isArray(null === (c2 = e3.manifest) || void 0 === c2 ? void 0 : c2.language) && (e3.manifest.language = [{ id: a2 }]), (null === (_2 = null === (p2 = e3.uiMetaData) || void 0 === p2 ? void 0 : p2.nluDomains) || void 0 === _2 ? void 0 : _2.length) > 1) this.topic.error("why is there more than one nluDomain in uiMetaData?"); + if (a2 && l.default.isArray(null === (d2 = e3.manifest) || void 0 === d2 ? void 0 : d2.language) && (e3.manifest.language = [{ id: a2 }]), (null === (_2 = null === (p2 = e3.uiMetaData) || void 0 === p2 ? void 0 : p2.nluDomains) || void 0 === _2 ? void 0 : _2.length) > 1) this.topic.error("why is there more than one nluDomain in uiMetaData?"); else { const i4 = null === (m2 = null === (h2 = e3.uiMetaData) || void 0 === h2 ? void 0 : h2.nluDomains) || void 0 === m2 ? void 0 : m2[0]; i4 && (i4.id = t3, i4.name = r3, i4.description = o2, a2 && (i4.language = a2)); @@ -37486,8 +41248,8 @@ var require_scripting_bundle = __commonJS({ if (i3) { const t4 = m.nluDomainManager.checkNluDomainVersionJson(i3, this.supportsNluIntents); if (t4) throw `An invalid Natural Language Understanding configuration was supplied. Error: ${t4}`; - if (!v.checkIsoLanguageIsSupportedByTemplate(this.languages.defaultLanguage, i3)) throw `The Natural Language Understanding configuration's language of ${i3.language} is not compatible with the flow's language of ${this.languages.defaultLanguage}.`; - const n3 = new J(i3); + if (!I.checkIsoLanguageIsSupportedByTemplate(this.languages.defaultLanguage, i3)) throw `The Natural Language Understanding configuration's language of ${i3.language} is not compatible with the flow's language of ${this.languages.defaultLanguage}.`; + const n3 = new $(i3); m.nluDomainManager.addFakeNluDomain(n3, this), this.setBotFlowNluSettings({ nluDomainId: m.nluDomainManager.getFakeNonCreatedNluDomainId(this), nluDomainVersionId: m.nluDomainManager.fakeNonCreatedNluDomainVersionId }), this.nluMetaData.updateIntents(this.botFlowSettings.nluDomain), this.nluMetaData.updateDynamicSlotTypes(this.botFlowSettings.nluDomain), this.nluMetaData.updateDynamicTimeslotTypes(this.botFlowSettings.nluDomain), this.nluMetaData.updateMutedUtteranceIds((null == e3 ? void 0 : e3.mutedUtterances) || []); } } @@ -37495,14 +41257,14 @@ var require_scripting_bundle = __commonJS({ preExport(e3, t3) { const i3 = Object.create(null, { preExport: { get: () => super.preExport } }); return r2.__awaiter(this, void 0, void 0, function* () { - var n3, r3; - let o2; - if (e3 = yield i3.preExport.call(this, e3, t3), !this.nluMetaData.rawNlu && (null === (n3 = this.botFlowSettings.nluDomain) || void 0 === n3 ? void 0 : n3.isFake) ? (o2 = this.botFlowSettings.nluDomain.model, (null == t3 ? void 0 : t3.isForFlowYaml) || (e3.nluMetaData.rawNlu = o2)) : o2 = this.nluMetaData.rawNlu, (null == t3 ? void 0 : t3.isForFlowYaml) && l.default.isObject(o2)) { + var n3, r3, o2; + let a2; + if (e3 = yield i3.preExport.call(this, e3, t3), !this.nluMetaData.rawNlu && (null === (n3 = this.botFlowSettings.nluDomain) || void 0 === n3 ? void 0 : n3.isFake) ? (a2 = this.botFlowSettings.nluDomain.model, (null == t3 ? void 0 : t3.isForFlowYaml) || (e3.nluMetaData.rawNlu = a2)) : a2 = this.nluMetaData.rawNlu, (null == t3 ? void 0 : t3.isForFlowYaml) && l.default.isObject(a2)) { e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding = {}; - const i4 = e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding, n4 = new J(o2).getConfiguration(e3, t3); + const i4 = e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding, n4 = new $(a2).getConfiguration(e3, t3); i4.nluDomainVersion = n4, e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding = { nluDomainVersion: n4, mutedUtterances: null === (r3 = this.nluMetaData.intentHealthInfo) || void 0 === r3 ? void 0 : r3.mutedUtterances }; } - return e3; + return (null == t3 ? void 0 : t3.isForFlowYaml) && (null === (o2 = this.intentClassifierData) || void 0 === o2 ? void 0 : o2.intentClassifier) && (0, T.isFeatureAvailable)(v.default.botFlowsLLMPoweredFrontDoor) && (e3[this.wrappedYamlName].settingsIntentClassifier = this.intentClassifierData.intentClassifier), e3; }); } preImport(e3) { @@ -37518,15 +41280,15 @@ var require_scripting_bundle = __commonJS({ } let a2; e3.defaultLanguage !== this.defaultLanguage && (o2.oldLanguage = e3.defaultLanguage, a2 = this.defaultLanguage, e3.supportedLanguages = [a2], e3.supportedLanguageOptions = [{ language: a2 }], e3.defaultLanguage = a2); - const s2 = this.botFlowSettings.nluDomainId, u2 = this.botFlowSettings.engineVersion, d2 = null === (n3 = this.botFlowSettings.nluDomain) || void 0 === n3 ? void 0 : n3.name, c2 = null === (r3 = this.botFlowSettings.nluDomain) || void 0 === r3 ? void 0 : r3.description, p2 = this.botFlowSettings.nluDomainVersionId; - return this.updateNluIdsInConfig(e3, s2, u2, p2, d2, c2, a2), o2; + const s2 = this.botFlowSettings.nluDomainId, u2 = this.botFlowSettings.engineVersion, c2 = null === (n3 = this.botFlowSettings.nluDomain) || void 0 === n3 ? void 0 : n3.name, d2 = null === (r3 = this.botFlowSettings.nluDomain) || void 0 === r3 ? void 0 : r3.description, p2 = this.botFlowSettings.nluDomainVersionId; + return this.updateNluIdsInConfig(e3, s2, u2, p2, c2, d2, a2), o2; }); } postImport(e3, t3, i3) { const n3 = Object.create(null, { postImport: { get: () => super.postImport } }); return r2.__awaiter(this, void 0, void 0, function* () { if (yield n3.postImport.call(this, t3, e3), this._nluWbMessageProcessingShouldCacheFlowConfig = false, t3 || this.updateWorkbench(), e3.oldLanguage) { - const t4 = d.getDisplayName(e3.oldLanguage), i4 = d.getDisplayName(this.defaultLanguage); + const t4 = c.getDisplayName(e3.oldLanguage), i4 = c.getDisplayName(this.defaultLanguage); f.emitter.emit(f.alert, { message: (0, s.sprintf)(z.flow.operations.load.importSupportedLanguageMismatch, this.definition.typeDisplayName, i4, t4), type: _.AlertTypeEnum.info }); } }); @@ -37538,21 +41300,24 @@ var require_scripting_bundle = __commonJS({ e3.archNlu.id = this.botFlowSettings.nluDomainId; const r3 = m.nluDomainManager.addItem(e3.archNlu, true), o2 = this.nluMetaData.updateDynamicSlotTypes(), a2 = this.nluMetaData.updateDynamicTimeslotTypes(); this.nluMetaData.updateListPickerMappings(e3.listPickerMappings), this.nluMetaData.updateIntents(r3), this.hasIntentTaskMappings && this.nluMetaData.updateIntentTaskMappings(e3.intentTaskMappings), this.supportsGrammars && this.nluMetaData.updateSlotGrammarMappings(e3.slotGrammarMappings), this.nluMetaData.setIntentHealthInfo(e3.intentHealthInfo), this.nluMetaData.setNluGeneratedInputInfo(e3.nluGeneratedInputInfo); - const s2 = this.parentFlow.variableGroup.getSlotVariables(), u2 = this.parentFlow.variableGroup.getVariableIds(s2), d2 = this.parentFlow.variableGroup.getVariableModelTypes(s2); + const s2 = this.parentFlow.variableGroup.getSlotVariables(), u2 = this.parentFlow.variableGroup.getVariableIds(s2), c2 = this.parentFlow.variableGroup.getVariableModelTypes(s2); null == s2 || s2.forEach((e4) => { e4.isSecure && N.validateItem(e4, true); - }), l.default.isEqual(i3, u2) && l.default.isEqual(n3, d2) && !this.hasIntentTaskMappings || this.debouncedValidateFlow(), f.emitter.emit(f.nluUpdatedByWorkbench), (o2 || a2) && this.updateWorkbenchDynamicSlotTypesUpdated(); + }), l.default.isEqual(i3, u2) && l.default.isEqual(n3, c2) && !this.hasIntentTaskMappings || this.debouncedValidateFlow(), f.emitter.emit(f.nluUpdatedByWorkbench), (o2 || a2) && this.updateWorkbenchDynamicSlotTypesUpdated(); } this._nluWbMessageProcessingShouldCacheFlowConfig && (this._nluWbMessageProcessingShouldCacheFlowConfig = false, y.cacheConfiguration(this, true)); } } + processIntentClassifierUpdatedMessage(e3) { + e3 && (this.intentClassifierData.updateIntentClassifier(e3), this.debouncedValidateFlow()); + } updateBotSessionViewer() { f.emitter.emit(f.botSessionViewerUpdated); } updateWorkbenchDynamicSlotTypesUpdated() { - this.updateWorkbench(I.NluUpdateType.dynamicSlotTypes); + this.updateWorkbench(O.NluUpdateType.dynamicSlotTypes); } - updateWorkbench(e3 = I.NluUpdateType.nluUpdated, t3) { + updateWorkbench(e3 = O.NluUpdateType.nluUpdated, t3) { this && !this.isDestroyedOrDestroying && (t3 ? (this._pendingUpdateWorkbenchTimeoutId && (clearTimeout(this._pendingUpdateWorkbenchTimeoutId), this._pendingUpdateWorkbenchTimeoutId = void 0), this._pendingUpdateWorkbenchTimeoutId = setTimeout(() => { this._pendingUpdateWorkbenchTimeoutId = void 0, f.emitter.emit(f.nluInfoUpdatedForWorkbench, this, e3); }, t3)) : f.emitter.emit(f.nluInfoUpdatedForWorkbench, this, e3)); @@ -37562,7 +41327,7 @@ var require_scripting_bundle = __commonJS({ } getFlowFilterPreviewOptionsExpressionDisplayOptions(e3) { var t3; - return e3.isBuilderMode && !this.areFlowFilterPreviewOptionsAvailable && (c.isMatch(e3.type, p.globalTypes.communication, c.settings.exact) || c.isMatch(e3.type, p.globalTypes.string, c.settings.exact)) ? { richSummary: true } : e3.isBuilderMode && !(null === (t3 = this.flowViewFilterOptions) || void 0 === t3 ? void 0 : t3.enabled) && c.isMatch(e3.type, p.globalTypes.boolean, c.settings.exact) ? {} : super.getFlowFilterPreviewOptionsExpressionDisplayOptions(e3); + return e3.isBuilderMode && !this.areFlowFilterPreviewOptionsAvailable && (d.isMatch(e3.type, p.globalTypes.communication, d.settings.exact) || d.isMatch(e3.type, p.globalTypes.string, d.settings.exact)) ? { richSummary: true } : e3.isBuilderMode && !(null === (t3 = this.flowViewFilterOptions) || void 0 === t3 ? void 0 : t3.enabled) && d.isMatch(e3.type, p.globalTypes.boolean, d.settings.exact) ? {} : super.getFlowFilterPreviewOptionsExpressionDisplayOptions(e3); } postSave(e3, t3) { return r2.__awaiter(this, void 0, void 0, function* () { @@ -37572,30 +41337,37 @@ var require_scripting_bundle = __commonJS({ const l2 = this.botFlowSettings.nluDomainVersionId; s2 && (this.botFlowSettings.nluDomainVersionId = s2); const u2 = s2 && s2 !== l2; - if (u2 && (this.nluMetaData.trainingStatus = S.default.trainingStatuses.unknown, (0, T.isFeatureAvailable)(O.default.botFlowsIntentHealthUIFeature) && (this.nluMetaData.rawNlu = null === (r3 = e3.nluInfo) || void 0 === r3 ? void 0 : r3.nluData)), this._nluWbMessageProcessingShouldCacheFlowConfig = true, this.updateWorkbench(), this.updateBotSessionViewer(), u2) if (null == t3 ? void 0 : t3.shouldAwaitNluTraining) { + if (u2 && (this.nluMetaData.trainingStatus = S.default.trainingStatuses.unknown, (0, T.isFeatureAvailable)(v.default.botFlowsIntentHealthUIFeature) && (this.nluMetaData.rawNlu = null === (r3 = e3.nluInfo) || void 0 === r3 ? void 0 : r3.nluData)), this._nluWbMessageProcessingShouldCacheFlowConfig = true, this.updateWorkbench(), this.updateBotSessionViewer(), u2) if (null == t3 ? void 0 : t3.shouldAwaitNluTraining) try { const e4 = yield this.waitForNluTrainingCompletion(o2, s2); this._processLastPolledNluDomainVersion(e4); - } else this.waitForNluTrainingCompletion(o2, s2).then((e4) => { + } catch (e4) { + if (!this._isNluTrainingPermissionError(e4)) throw e4; + this._logNluTrainingWaitError(e4); + } + else false !== (null == t3 ? void 0 : t3.shouldAwaitNluTraining) && this.waitForNluTrainingCompletion(o2, s2).then((e4) => { this._processLastPolledNluDomainVersion(e4); }, (e4) => { - let t4; - try { - t4 = JSON.parse(JSON.stringify(e4)); - } catch (e5) { - } - 403 === (null == t4 ? void 0 : t4._status) ? this.topic.warning(`Error waiting for NLU training completion: '${e4}'`) : this.topic.error(`Error waiting for NLU training completion: '${e4}'`); + this._logNluTrainingWaitError(e4); }); }); } + _isNluTrainingPermissionError(e3) { + var t3; + return !(!e3 || "object" != typeof e3) && 403 === (null !== (t3 = e3.status) && void 0 !== t3 ? t3 : e3._status); + } + _logNluTrainingWaitError(e3) { + const t3 = `Error waiting for NLU training completion: '${e3}'`; + this._isNluTrainingPermissionError(e3) ? this.topic.warning(t3) : this.topic.error(t3); + } _processLastPolledNluDomainVersion(e3) { e3 || this.topic.error("No lastPolledNluDomainVersion passed into processLastPolledNluDomainVersion"), this.nluMetaData.trainingStatus = e3.trainingStatus, e3.trainingStatus === S.default.trainingStatuses.error && f.emitter.emit(f.alert, { message: z.bot.nluTrainingFailed, type: _.AlertTypeEnum.error }), this.updateWorkbench(); } _initializeDesignTime() { - if (super._initializeDesignTime(), this.addAutoCleanedUpSubscription(this.info.newModelLoaded$.pipe((0, Y.skip)(1)).subscribe(() => { + if (super._initializeDesignTime(), this.addAutoCleanedUpSubscription(this.info.newModelLoaded$.pipe((0, H.skip)(1)).subscribe(() => { this.debouncedValidateFlow(); })), this.hasIntentTaskMappings) { const e3 = (e4, t3) => { - t3 && t3.isTask && e4 === this && this.updateWorkbench(I.NluUpdateType.taskUpdate); + t3 && t3.isTask && e4 === this && this.updateWorkbench(O.NluUpdateType.taskUpdate); }; this.addAutoCleanedUpEventSinkWatch(f.containerListChanged, this, e3), this.addAutoCleanedUpEventSinkWatch(f.taskNameChanged, this, e3); } @@ -37670,18 +41442,18 @@ var require_scripting_bundle = __commonJS({ return !this.botFlowSettings.allowsMoreThanOneSupportedLanguage || super._canOnlyAddLanguageInAnotherFlowInstance; } } - t2.NluFlowViewModel = $, n2 = /* @__PURE__ */ new WeakMap(); + t2.NluFlowViewModel = Q, n2 = /* @__PURE__ */ new WeakMap(); }, 31151: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(17498)), a = n2.__importStar(i2(43011)), s = i2(12179), l = n2.__importDefault(i2(17102)), u = i2(27862), d = i2(47957); - function c(e3) { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(17498)), a = n2.__importStar(i2(43011)), s = i2(12179), l = n2.__importDefault(i2(17102)), u = i2(27862), c = i2(47957); + function d(e3) { return { actionName: e3.info ? e3.info.name : void 0, id: e3.id, name: e3.name }; } function p(e3) { const t3 = []; if (r2.default.each(e3, (e4) => { - t3.push(c(e4.referenceElement.parent)); + t3.push(d(e4.referenceElement.parent)); }), t3.length) return t3; } function _(e3, t3, i3) { @@ -37693,7 +41465,7 @@ var require_scripting_bundle = __commonJS({ r2.default.each(s2, (e4) => { const n4 = r2.default.pick(e4[0], ["name", "id", "version"]); i3 || (n4.context = [], r2.default.each(e4, (e5) => { - e5.consumer && n4.context.push(c(e5.consumer)), e5.extraPropertiesObject && r2.default.each(e5.extraPropertiesObject, (e6, t4) => { + e5.consumer && n4.context.push(d(e5.consumer)), e5.extraPropertiesObject && r2.default.each(e5.extraPropertiesObject, (e6, t4) => { r2.default.isArray(n4[t4]) || (n4[t4] = []), n4[t4].includes(e6) || n4[t4].push(e6); }); })), t3[e4[0].type.value].push(n4); @@ -37752,12 +41524,12 @@ var require_scripting_bundle = __commonJS({ if (this.parentFlow.isEmbeddedFlow) return; e3.manifest = {}, o.updateDependencies(this.parentFlow, true), _(this.parentFlow, e3.manifest), h(this.parentFlow, e3.manifest), m(this.parentFlow, e3.manifest), g(this.parentFlow, e3.manifest), (function(e4, t4) { const i3 = []; - t4[u.UserPrompt.value] = i3, r2.default.each(a.userPromptListManager.items, (e5) => { - e5.visibleUsages && e5.visibleUsages.length > 0 && i3.push({ context: p(e5.visibleUsages), id: e5.id, name: e5.displayName }); + t4[u.UserPrompt.value] = i3, r2.default.each(a.userPromptListManager.items, (t5) => { + t5.visibleUsages(e4) && t5.visibleUsages(e4).length > 0 && i3.push({ context: p(t5.visibleUsages(e4)), id: t5.id, name: t5.displayName }); }); const n3 = []; - t4[u.SystemPrompt.value] = n3, r2.default.each(a.systemPromptListManager.items, (e5) => { - e5.visibleUsages && e5.visibleUsages.length > 0 && n3.push({ context: p(e5.visibleUsages), id: e5.id, name: e5.displayName }); + t4[u.SystemPrompt.value] = n3, r2.default.each(a.systemPromptListManager.items, (t5) => { + t5.visibleUsages(e4) && t5.visibleUsages(e4).length > 0 && n3.push({ context: p(t5.visibleUsages(e4)), id: t5.id, name: t5.displayName }); }); })(this.parentFlow, e3.manifest); } catch (t4) { @@ -37782,7 +41554,7 @@ var require_scripting_bundle = __commonJS({ })(this.parentFlow, e3), e3; } getDisplayName() { - return d.customNodes.dependencies.label; + return c.customNodes.dependencies.label; } } t2.default = f; @@ -37979,12 +41751,12 @@ var require_scripting_bundle = __commonJS({ }, 31517: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(6953)), a = n2.__importDefault(i2(78432)), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(4648)), u = i2(10798), d = n2.__importDefault(i2(67336)), c = i2(24812); - class p extends d.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(6953)), a = n2.__importDefault(i2(78432)), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(4648)), u = i2(10798), c = n2.__importDefault(i2(67336)), d = i2(24812); + class p extends c.default { constructor(e3) { super(e3); const t3 = this._infoParmCtor("coreIsoLanguageViewModel"); - this._checkItem(t3, !e3.id, "the specified core isoLanguage does not have an id specified"), this._checkItem(t3, !c.isoLanguages[e3.id.toLowerCase()], "the specified core isoLanguage does not have a valid id"); + this._checkItem(t3, !e3.id, "the specified core isoLanguage does not have an id specified"), this._checkItem(t3, !d.isoLanguages[e3.id.toLowerCase()], "the specified core isoLanguage does not have a valid id"); } get displayTypeName() { return "ArchLanguage"; @@ -38069,7 +41841,7 @@ var require_scripting_bundle = __commonJS({ t2.default = p; }, 31635: (e2, t2, i2) => { "use strict"; - i2.r(t2), i2.d(t2, { __addDisposableResource: () => F, __assign: () => o, __asyncDelegator: () => v, __asyncGenerator: () => I, __asyncValues: () => C, __await: () => O, __awaiter: () => h, __classPrivateFieldGet: () => D, __classPrivateFieldIn: () => M, __classPrivateFieldSet: () => P, __createBinding: () => g, __decorate: () => s, __disposeResources: () => x, __esDecorate: () => u, __exportStar: () => f, __extends: () => r2, __generator: () => m, __importDefault: () => w, __importStar: () => R, __makeTemplateObject: () => b, __metadata: () => _, __param: () => l, __propKey: () => c, __read: () => y, __rest: () => a, __runInitializers: () => d, __setFunctionName: () => p, __spread: () => S, __spreadArray: () => N, __spreadArrays: () => A, __values: () => T, default: () => k }); + i2.r(t2), i2.d(t2, { __addDisposableResource: () => F, __assign: () => o, __asyncDelegator: () => I, __asyncGenerator: () => O, __asyncValues: () => C, __await: () => v, __awaiter: () => h, __classPrivateFieldGet: () => D, __classPrivateFieldIn: () => M, __classPrivateFieldSet: () => P, __createBinding: () => g, __decorate: () => s, __disposeResources: () => x, __esDecorate: () => u, __exportStar: () => f, __extends: () => r2, __generator: () => m, __importDefault: () => R, __importStar: () => w, __makeTemplateObject: () => b, __metadata: () => _, __param: () => l, __propKey: () => d, __read: () => y, __rest: () => a, __runInitializers: () => c, __setFunctionName: () => p, __spread: () => S, __spreadArray: () => N, __spreadArrays: () => A, __values: () => T, default: () => k }); var n2 = function(e3, t3) { return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { e4.__proto__ = t4; @@ -38115,7 +41887,7 @@ var require_scripting_bundle = __commonJS({ if (void 0 !== e4 && "function" != typeof e4) throw new TypeError("Function expected"); return e4; } - for (var s2, l2 = n3.kind, u2 = "getter" === l2 ? "get" : "setter" === l2 ? "set" : "value", d2 = !t3 && e3 ? n3.static ? e3 : e3.prototype : null, c2 = t3 || (d2 ? Object.getOwnPropertyDescriptor(d2, n3.name) : {}), p2 = false, _2 = i3.length - 1; _2 >= 0; _2--) { + for (var s2, l2 = n3.kind, u2 = "getter" === l2 ? "get" : "setter" === l2 ? "set" : "value", c2 = !t3 && e3 ? n3.static ? e3 : e3.prototype : null, d2 = t3 || (c2 ? Object.getOwnPropertyDescriptor(c2, n3.name) : {}), p2 = false, _2 = i3.length - 1; _2 >= 0; _2--) { var h2 = {}; for (var m2 in n3) h2[m2] = "access" === m2 ? {} : n3[m2]; for (var m2 in n3.access) h2.access[m2] = n3.access[m2]; @@ -38123,20 +41895,20 @@ var require_scripting_bundle = __commonJS({ if (p2) throw new TypeError("Cannot add initializers after decoration has completed"); o2.push(a2(e4 || null)); }; - var g2 = (0, i3[_2])("accessor" === l2 ? { get: c2.get, set: c2.set } : c2[u2], h2); + var g2 = (0, i3[_2])("accessor" === l2 ? { get: d2.get, set: d2.set } : d2[u2], h2); if ("accessor" === l2) { if (void 0 === g2) continue; if (null === g2 || "object" != typeof g2) throw new TypeError("Object expected"); - (s2 = a2(g2.get)) && (c2.get = s2), (s2 = a2(g2.set)) && (c2.set = s2), (s2 = a2(g2.init)) && r3.unshift(s2); - } else (s2 = a2(g2)) && ("field" === l2 ? r3.unshift(s2) : c2[u2] = s2); + (s2 = a2(g2.get)) && (d2.get = s2), (s2 = a2(g2.set)) && (d2.set = s2), (s2 = a2(g2.init)) && r3.unshift(s2); + } else (s2 = a2(g2)) && ("field" === l2 ? r3.unshift(s2) : d2[u2] = s2); } - d2 && Object.defineProperty(d2, n3.name, c2), p2 = true; + c2 && Object.defineProperty(c2, n3.name, d2), p2 = true; } - function d(e3, t3, i3) { + function c(e3, t3, i3) { for (var n3 = arguments.length > 2, r3 = 0; r3 < t3.length; r3++) i3 = n3 ? t3[r3].call(e3, i3) : t3[r3].call(e3); return n3 ? i3 : void 0; } - function c(e3) { + function d(e3) { return "symbol" == typeof e3 ? e3 : "".concat(e3); } function p(e3, t3, i3) { @@ -38280,10 +42052,10 @@ var require_scripting_bundle = __commonJS({ if (i3 || 2 === arguments.length) for (var n3, r3 = 0, o2 = t3.length; r3 < o2; r3++) !n3 && r3 in t3 || (n3 || (n3 = Array.prototype.slice.call(t3, 0, r3)), n3[r3] = t3[r3]); return e3.concat(n3 || Array.prototype.slice.call(t3)); } - function O(e3) { - return this instanceof O ? (this.v = e3, this) : new O(e3); + function v(e3) { + return this instanceof v ? (this.v = e3, this) : new v(e3); } - function I(e3, t3, i3) { + function O(e3, t3, i3) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var n3, r3 = i3.apply(e3, t3 || []), o2 = []; return n3 = {}, a2("next"), a2("throw"), a2("return"), n3[Symbol.asyncIterator] = function() { @@ -38298,9 +42070,9 @@ var require_scripting_bundle = __commonJS({ } function s2(e4, t4) { try { - (i4 = r3[e4](t4)).value instanceof O ? Promise.resolve(i4.value.v).then(l2, u2) : d2(o2[0][2], i4); + (i4 = r3[e4](t4)).value instanceof v ? Promise.resolve(i4.value.v).then(l2, u2) : c2(o2[0][2], i4); } catch (e5) { - d2(o2[0][3], e5); + c2(o2[0][3], e5); } var i4; } @@ -38310,11 +42082,11 @@ var require_scripting_bundle = __commonJS({ function u2(e4) { s2("throw", e4); } - function d2(e4, t4) { + function c2(e4, t4) { e4(t4), o2.shift(), o2.length && s2(o2[0][0], o2[0][1]); } } - function v(e3) { + function I(e3) { var t3, i3; return t3 = {}, n3("next"), n3("throw", function(e4) { throw e4; @@ -38323,7 +42095,7 @@ var require_scripting_bundle = __commonJS({ }, t3; function n3(n4, r3) { t3[n4] = e3[n4] ? function(t4) { - return (i3 = !i3) ? { value: O(e3[n4](t4)), done: false } : r3 ? r3(t4) : t4; + return (i3 = !i3) ? { value: v(e3[n4](t4)), done: false } : r3 ? r3(t4) : t4; } : r3; } } @@ -38353,13 +42125,13 @@ var require_scripting_bundle = __commonJS({ } : function(e3, t3) { e3.default = t3; }; - function R(e3) { + function w(e3) { if (e3 && e3.__esModule) return e3; var t3 = {}; if (null != e3) for (var i3 in e3) "default" !== i3 && Object.prototype.hasOwnProperty.call(e3, i3) && g(t3, e3, i3); return E(t3, e3), t3; } - function w(e3) { + function R(e3) { return e3 && e3.__esModule ? e3 : { default: e3 }; } function D(e3, t3, i3, n3) { @@ -38417,23 +42189,23 @@ var require_scripting_bundle = __commonJS({ if (e3.hasError) throw e3.error; })(); } - const k = { __extends: r2, __assign: o, __rest: a, __decorate: s, __param: l, __metadata: _, __awaiter: h, __generator: m, __createBinding: g, __exportStar: f, __values: T, __read: y, __spread: S, __spreadArrays: A, __spreadArray: N, __await: O, __asyncGenerator: I, __asyncDelegator: v, __asyncValues: C, __makeTemplateObject: b, __importStar: R, __importDefault: w, __classPrivateFieldGet: D, __classPrivateFieldSet: P, __classPrivateFieldIn: M, __addDisposableResource: F, __disposeResources: x }; + const k = { __extends: r2, __assign: o, __rest: a, __decorate: s, __param: l, __metadata: _, __awaiter: h, __generator: m, __createBinding: g, __exportStar: f, __values: T, __read: y, __spread: S, __spreadArrays: A, __spreadArray: N, __await: v, __asyncGenerator: O, __asyncDelegator: I, __asyncValues: C, __makeTemplateObject: b, __importStar: w, __importDefault: R, __classPrivateFieldGet: D, __classPrivateFieldSet: P, __classPrivateFieldIn: M, __addDisposableResource: F, __disposeResources: x }; }, 31682: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(12179), a = n2.__importDefault(i2(97891)), s = i2(33381), l = n2.__importDefault(i2(9183)), u = i2(99469), d = i2(47957); - class c extends l.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(12179), a = n2.__importDefault(i2(97891)), s = i2(33381), l = n2.__importDefault(i2(9183)), u = i2(99469), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends l.default { static get managedProperties() { - return [{ createDetails: s.FlowReferenceProperty.createCreateDetails({ flowType: r2.flowTypes.flowTypeDigitalBot, supportsSpecificVersion: false }), options: u.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(1).setCanCreateObjectInAction(true)), property: "botFlow", yamlOptions: c.createYamlOptions("botFlow", (e3) => e3.setExportOrder(6).setPropertyName("digitalBotFlow")) }]; + return [{ createDetails: s.FlowReferenceProperty.createCreateDetails({ flowType: r2.flowTypes.flowTypeDigitalBot, supportsSpecificVersion: false }), options: u.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(1).setCanCreateObjectInAction(true)), property: "botFlow", yamlOptions: p.createYamlOptions("botFlow", (e3) => e3.setExportOrder(6).setPropertyName("digitalBotFlow")) }]; } get targetFlowType() { return this.botFlow; } } - c.className = "CallDigitalBotFlowAction", c.info = a.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: o.helpTopics.actions.callDigitalBotFlow, modelClass: i2(90562), name: d.actions.callDigitalBotFlow, scriptingName: "ArchActionCallDigitalBotFlow" }), t2.A = c; + p.className = "CallDigitalBotFlowAction", p.info = a.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: o.helpTopics.actions.callDigitalBotFlow, modelClass: i2(90562), name: d.actions.callDigitalBotFlow, scriptingName: "ArchActionCallDigitalBotFlow", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 31736: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.PermissionShiro = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(97591)), s = i2(1234), l = i2(58491), u = i2(44724), d = i2(11015), c = (0, i2(24032).getTopic)("permission"), p = {}; + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(97591)), s = i2(1234), l = i2(58491), u = i2(44724), c = i2(11015), d = (0, i2(24032).getTopic)("permission"), p = {}; o.default.each(u.permissionStrings.external.externalAuthorizations, (e3) => p[e3] = true), o.default.each(u.permissionStrings.copilot.message, (e3) => p[e3] = true), p[u.permissionStrings.copilot.session.view] = true; class _ { constructor() { @@ -38450,16 +42222,16 @@ var require_scripting_bundle = __commonJS({ if (0 !== t3.length) { switch (t3.length) { case 1: - this._domain = new d.PermissionShiroValue(t3[0]), this._object = new d.PermissionShiroValue("*"), this._action = new d.PermissionShiroValue("*"); + this._domain = new c.PermissionShiroValue(t3[0]), this._object = new c.PermissionShiroValue("*"), this._action = new c.PermissionShiroValue("*"); break; case 2: - this._domain = new d.PermissionShiroValue(t3[0]), this._object = new d.PermissionShiroValue(t3[1]), this._action = new d.PermissionShiroValue("*"); + this._domain = new c.PermissionShiroValue(t3[0]), this._object = new c.PermissionShiroValue(t3[1]), this._action = new c.PermissionShiroValue("*"); break; case 3: - this._domain = new d.PermissionShiroValue(t3[0]), this._object = new d.PermissionShiroValue(t3[1]), this._action = new d.PermissionShiroValue(t3[2]); + this._domain = new c.PermissionShiroValue(t3[0]), this._object = new c.PermissionShiroValue(t3[1]), this._action = new c.PermissionShiroValue(t3[2]); break; default: - c.error((0, r2.sprintf)("Invalid permission string - %s", e3)); + d.error((0, r2.sprintf)("Invalid permission string - %s", e3)); } this._originalShiroString = e3; } @@ -38490,7 +42262,7 @@ var require_scripting_bundle = __commonJS({ case 3: return (o.default.isEqual(t3[0], "architect") || o.default.isEqual(t3[0], "authorization") || o.default.isEqual(t3[0], "*")) && (l.allowedPermissionList[t3[1]] || o.default.isEqual(t3[0], "*")); default: - c.error((0, r2.sprintf)("Invalid permission string - %s", e3)); + d.error((0, r2.sprintf)("Invalid permission string - %s", e3)); } } static createOnDivision(e3, t3, i3) { @@ -38521,7 +42293,7 @@ var require_scripting_bundle = __commonJS({ }, 31824: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(37873)), o = n2.__importDefault(i2(94225)), a = i2(27491), s = i2(14394), l = i2(11201), u = n2.__importStar(i2(71004)), d = n2.__importStar(i2(14187)), c = i2(92140); + const n2 = i2(31635), r2 = n2.__importDefault(i2(37873)), o = n2.__importDefault(i2(94225)), a = i2(27491), s = i2(14394), l = i2(11201), u = n2.__importStar(i2(71004)), c = n2.__importStar(i2(14187)), d = i2(92140); class p extends r2.default { static get definition() { const e3 = this.prototype; @@ -38540,13 +42312,13 @@ var require_scripting_bundle = __commonJS({ return this._globalTypeName ? this.coreFactory.createArchDefinitionVariable(s.globalTypes[this._globalTypeName]) : null; } get hasUsages() { - return this._coreVariableViewModel.hasUsages; + return this._coreVariableViewModel.hasUsagesForFlow(this._coreVariableViewModel.parentFlow); } get _initialValue() { if (this._coreVariableViewModel.initValue) return this.coreFactory.createArchValueFromExpression(this._coreVariableViewModel.initValue); } get canDelete() { - return this._coreVariableViewModel.canDelete() && !this.cannotDeleteReason; + return this._coreVariableViewModel.canDelete(this._coreVariableViewModel.parentFlow) && !this.cannotDeleteReason; } get cannotDeleteReason() { return this._coreVariableViewModel.getDeletionTooltip(true); @@ -38559,7 +42331,7 @@ var require_scripting_bundle = __commonJS({ } set description(e3) { const t3 = this._infoParm("value", "description"); - this._checkItemIsValidLiteralString(t3, e3, true), this._coreVariableViewModel.description = c.isNullOrUndefined(e3) || "" === e3 ? void 0 : e3; + this._checkItemIsValidLiteralString(t3, e3, true), this._coreVariableViewModel.description = d.isNullOrUndefined(e3) || "" === e3 ? void 0 : e3; } get isArchBaseVariable() { return true; @@ -38631,9 +42403,9 @@ var require_scripting_bundle = __commonJS({ rename(e3) { const t3 = this._infoParm("newName", "rename"); this._checkItemIsValidLiteralString(t3, e3, false), a.expressionDataService.isValidIdentifierName(e3) || this._itemIsInvalid(t3, "The new variable name '" + e3 + "' is not valid. It must be at least one character long and start with a letter. Subsequent characters must either be a letter, digit or underscore. You should not have any scope prefix like Flow., Task. or State. in the newName parameter either."); - const i3 = d.getCasedScope(this._coreVariableViewModel.scope) + "." + e3; + const i3 = c.getCasedScope(this._coreVariableViewModel.scope) + "." + e3; i3.toLowerCase() !== this.name.toLowerCase() && this._coreVariableViewModel.parentFlow.variableGroup.getVariableByName(i3, this._coreVariableViewModel.parent) && this._itemIsInvalid(t3, "unable to rename the variable. There is another variable that already exists with the name '" + i3 + "'"); - const n3 = this.name, r3 = u.transferUsages(this._coreVariableViewModel, this._coreVariableViewModel.usages, i3); + const n3 = this.name, r3 = u.transferUsages(this._coreVariableViewModel, this._coreVariableViewModel.getUsagesForFlow(this._coreVariableViewModel.parentFlow), i3); r3 || this.logErrorAndThrow("unable to rename the variable to '" + e3 + "'"), this._coreVariableViewModel = r3, this.logNote("successfully renamed to '" + this.name + "' from the old name of'" + n3 + "'"); } get parentFlow() { @@ -38752,6 +42524,15 @@ var require_scripting_bundle = __commonJS({ } } t2.default = o; + }, 32051: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.YamlReferenceError = void 0; + class i2 extends Error { + constructor(e3, t3, n2) { + super(e3), this.name = "YamlReferenceError", this.referencePath = t3, this.reason = n2, Object.setPrototypeOf(this, i2.prototype); + } + } + t2.YamlReferenceError = i2; }, 32071: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.observeOn = void 0; @@ -38839,10 +42620,10 @@ var require_scripting_bundle = __commonJS({ }, 32282: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleGroupManager = t2.ScheduleGroupManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(50461)), o = n2.__importDefault(i2(47532)), a = i2(30801), s = i2(81801), l = n2.__importDefault(i2(4648)), u = i2(24032), d = i2(10798), c = i2(11675), p = i2(47957), _ = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(50461)), o = n2.__importDefault(i2(47532)), a = i2(30801), s = i2(81801), l = n2.__importDefault(i2(4648)), u = i2(24032), c = i2(10798), d = i2(11675), p = i2(47957), _ = i2(27862); class h extends o.default { get requiredAuth() { - return (0, d.isFeatureAvailable)(l.default.divisionedRoutingObjects) ? s.externalAuthorizations.authStrings.scheduleGroupSearch : s.externalAuthorizations.authStrings.scheduleGroupView; + return (0, c.isFeatureAvailable)(l.default.divisionedRoutingObjects) ? s.externalAuthorizations.authStrings.scheduleGroupSearch : s.externalAuthorizations.authStrings.scheduleGroupView; } get dependencyType() { return _.ScheduleGroup; @@ -38851,7 +42632,7 @@ var require_scripting_bundle = __commonJS({ super(), this.topic = (0, u.getTopic)("scheduleGroupManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [a.evaluateScheduleGroupActionType], this.actionPropertyForUsageSearch = "scheduleGroupId", this.apiCallList = r2.getScheduleGroups, this.apiCallSingle = r2.getScheduleGroup, this.uiMetadataSectionName = "scheduleGroups", this.dependencyContext = p.evaluateSchedules.scheduleGroup, this.className = "ScheduleGroupManager", this._initialize(); } _createItemViewModel(e3) { - return new c.ScheduleGroupViewModel(e3); + return new d.ScheduleGroupViewModel(e3); } } t2.ScheduleGroupManager = h, t2.scheduleGroupManager = new h(); @@ -38859,26 +42640,26 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }), t2.CallAgenticVirtualAgentActionModel = void 0; - const o = i2(31635), a = i2(30801), s = i2(80295), l = i2(80295), u = o.__importDefault(i2(7401)), d = i2(80934), c = o.__importDefault(i2(92140)), p = i2(90807); - class _ extends d.BaseActionWithOutputsModel { + const o = i2(31635), a = i2(30801), s = i2(80295), l = i2(80295), u = o.__importDefault(i2(7401)), c = i2(80934), d = o.__importDefault(i2(92140)), p = i2(90807); + class _ extends c.BaseActionWithOutputsModel { constructor(e3) { super(e3), this.__type = _.__type, (0, l.makeUnenumerable)(this, "_inputs"), (0, l.makeUnenumerable)(this, "_outputs"), (0, l.makeUnenumerable)(this, "_errorBindings"), (0, l.makeUnenumerable)(this, "_voiceProcessingPrompt"), (0, l.makeUnenumerable)(this, "_exitReason"), (0, l.makeUnenumerable)(this, "_agenticVirtualAgentId"), (0, l.makeUnenumerable)(this, "_agenticVirtualAgentName"), (0, l.makeUnenumerable)(this, "_agenticVirtualAgentVersion"), (0, l.makeUnenumerable)(this, "_agenticVirtualAgentLatestVersion"); } pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), c.default.each(this._inputs, (t3) => { + super.pasteReIdOrRename(e3), d.default.each(this._inputs, (t3) => { t3.pasteReIdOrRename(e3); - }), c.default.each(this._outputs, (t3) => { + }), d.default.each(this._outputs, (t3) => { t3.pasteReIdOrRename(e3); - }), c.default.each(this._errorBindings, (t3) => { + }), d.default.each(this._errorBindings, (t3) => { t3.pasteReIdOrRename(e3); }); } pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), c.default.each(this.inputs, (t3) => { + super.pasteResolveOldToNewValues(e3), d.default.each(this.inputs, (t3) => { t3.pasteResolveOldToNewValues(e3); - }), c.default.each(this.outputs, (t3) => { + }), d.default.each(this.outputs, (t3) => { t3.pasteResolveOldToNewValues(e3); - }), c.default.each(this._errorBindings, (t3) => { + }), d.default.each(this._errorBindings, (t3) => { t3.pasteResolveOldToNewValues(e3); }); } @@ -39021,16 +42802,17 @@ var require_scripting_bundle = __commonJS({ }, 32531: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowCustomDefinitionsViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(12847)), o = n2.__importStar(i2(14592)), a = n2.__importDefault(i2(65302)), s = n2.__importStar(i2(58380)), l = n2.__importStar(i2(24032)), u = n2.__importDefault(i2(39938)), d = n2.__importDefault(i2(87675)), c = i2(79519), p = n2.__importDefault(i2(17102)), _ = i2(89917), h = l.getTopic("FlowCustomDefinitionSettings"); - class m extends p.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(12847)), o = n2.__importStar(i2(14592)), a = n2.__importStar(i2(58380)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(17102)), u = n2.__importDefault(i2(39938)), c = i2(89917), d = i2(79519), p = n2.__importDefault(i2(87675)), _ = i2(47040), h = n2.__importDefault(i2(65302)), m = s.getTopic("FlowCustomDefinitionSettings"); + class g extends l.default { constructor(e3) { super(e3), this._customDataTypesMap = {}, this.amObjectEventSink = true; } objEvent_customDataTypeRegistered(e3, t3) { - this.registerCustomExpressionType(t3); + this.registerCustomExpressionType(t3), t3.dataTypeDefViewModel.bindToFlow(this.parentFlow), t3.dataTypeDefViewModel.registerPropertyTypeUsages(); } objEvent_customDataTypeUnregistered(e3, t3) { - this.unregisterCustomExpressionType(t3); + const i3 = this.getCustomDataTypeDefinition(t3.dataTypeIdentifier); + null == i3 || i3.unregisterPropertyTypeUsages(), this.unregisterCustomExpressionType(t3); } get className() { return "FlowDefinitionsViewModel"; @@ -39052,10 +42834,10 @@ var require_scripting_bundle = __commonJS({ e3.customDefinitions || (e3.customDefinitions = new u.default()); const i3 = null === (t3 = e3.customDefinitions.dataTypeDefinitions) || void 0 === t3 ? void 0 : t3.length; if (i3) { - h.info(`loading ${i3} custom data type definition${1 !== i3 ? "s" : ""}`); + m.info(`loading ${i3} custom data type definition${1 !== i3 ? "s" : ""}`); const t4 = []; for (const i4 of e3.customDefinitions.dataTypeDefinitions) { - const e4 = new d.default(i4); + const e4 = new p.default(i4); (null == e4 ? void 0 : e4.dataTypeId) && (t4.push(e4), this._customDataTypesMap[e4.dataTypeId] = { dataTypeDefViewModel: e4 }); } o.createCustomExpressionTypesFromDataTypeDefs(this.parentFlow, t4, true); @@ -39067,8 +42849,8 @@ var require_scripting_bundle = __commonJS({ (null == e3 ? void 0 : e3.length) && o.createCustomExpressionTypesFromDataTypeDefs(this.parentFlow, e3, true); } registerExpressionTypeGroupEventSink() { - const e3 = a.default.getTypeGroup(this.parentFlow); - e3 && s.registerEventSinkForEventEmitter(e3.id, this); + const e3 = h.default.getTypeGroup(this.parentFlow); + e3 && a.registerEventSinkForEventEmitter(e3.id, this); } getCustomDataTypeDefinition(e3) { var t3; @@ -39110,29 +42892,35 @@ var require_scripting_bundle = __commonJS({ } getConfiguration(e3, t3, i3) { super.getConfiguration(e3, t3, i3); - const n3 = this.customDataTypeDefinitionModels.filter((e4) => { - if (null == t3 ? void 0 : t3.isForFlowYaml) return true; - let i4; - const n4 = this.getCustomDataTypeDefinition(e4.dataTypeId); - if (!n4 || n4.isCollection) i4 = false; - else if (n4.isInUse()) i4 = true; - else switch (_.CustomJsonIdentifierInfo.createFromDataTypeDef(e4).namespace) { - case c.CustomJsonNamespace.architect: - case c.CustomJsonNamespace.userDefined: - case c.CustomJsonNamespace.worktype: - i4 = true; - break; - case c.CustomJsonNamespace.decisionTable: - case c.CustomJsonNamespace.conversationAttribute: - default: - i4 = false; - } - return i4; - }); - e3.customDefinitions = new u.default({ dataTypeDefinitions: n3 }); + const n3 = this._getCustomDataTypeDefinitionIdsToSerialize(t3), r3 = this.customDataTypeDefinitionModels.filter((e4) => n3.has(e4.dataTypeId)); + e3.customDefinitions = new u.default({ dataTypeDefinitions: r3 }); + } + _getCustomDataTypeDefinitionIdsToSerialize(e3) { + const t3 = /* @__PURE__ */ new Set(); + for (const i3 of this.customDataTypeDefinitionModels) this._shouldSerializeCustomDataTypeDefinition(i3, e3) && t3.add(i3.dataTypeId); + return (null == e3 ? void 0 : e3.isForFlowYaml) || (0, _.expandCustomDataTypeIdsWithPropertyReferences)(t3, (e4) => this.getCustomDataTypeDefinition(e4)), t3; + } + _shouldSerializeCustomDataTypeDefinition(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) return true; + let i3; + const n3 = this.getCustomDataTypeDefinition(e3.dataTypeId); + if (!n3 || n3.isCollection) i3 = false; + else if (n3.isInUse(this.parentFlow)) i3 = true; + else switch (c.CustomJsonIdentifierInfo.createFromDataTypeDef(e3).namespace) { + case d.CustomJsonNamespace.architect: + case d.CustomJsonNamespace.userDefined: + case d.CustomJsonNamespace.worktype: + i3 = true; + break; + case d.CustomJsonNamespace.decisionTable: + case d.CustomJsonNamespace.conversationAttribute: + default: + i3 = false; + } + return i3; } _preDestroy() { - this.amObjectEventSink && s.unregisterEventSink(this), this._customDataTypesMap = {}, super._preDestroy(); + this.amObjectEventSink && a.unregisterEventSink(this), this._customDataTypesMap = {}, super._preDestroy(); } getDataTypeDefViewModelForCustomDataTypeId(e3) { var t3; @@ -39143,7 +42931,7 @@ var require_scripting_bundle = __commonJS({ return null === (t3 = this._customDataTypesMap[e3]) || void 0 === t3 ? void 0 : t3.expressionType; } } - t2.FlowCustomDefinitionsViewModel = m; + t2.FlowCustomDefinitionsViewModel = g; }, 32556: (e2, t2, i2) => { function n2() { n2.baseConstructor.apply(this, arguments); @@ -39254,22 +43042,25 @@ var require_scripting_bundle = __commonJS({ }, 32678: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.dialogflowCxAgentManager = t2.DialogflowCxAgentManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importDefault(i2(47532)), a = i2(30801), s = n2.__importDefault(i2(53943)), l = i2(81801), u = i2(24032), d = i2(47957), c = i2(27862), p = i2(51294); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importDefault(i2(47532)), a = i2(30801), s = n2.__importDefault(i2(53943)), l = i2(81801), u = i2(24032), c = i2(47957), d = i2(27862), p = i2(51294); class _ extends o.default { get requiredAuth() { return l.externalAuthorizations.authStrings.integrationView; } get dependencyType() { - return c.DialogflowCxAgent; + return d.DialogflowCxAgent; } constructor() { - super(), this.topic = (0, u.getTopic)("DialogflowCxAgentManager"), this.apiCallList = p.getCxAgents, this.apiCallSingle = p.getCxAgent, this._rawServerCache = {}, this.actionsForUsageSearch = [a.dialogflowCxActionType], this.actionPropertyForUsageSearch = "bot", this.className = "DialogflowCxAgentManager", this.defaultMatchingStyle = r2.exactMatch, this.dependencyContext = d.dialogflowCx.dialogflowCxAgent, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "dialogflowCxAgents", this._initialize(); + super(), this.topic = (0, u.getTopic)("DialogflowCxAgentManager"), this.apiCallList = p.getCxAgents, this.apiCallSingle = p.getCxAgent, this._rawServerCache = {}, this.actionsForUsageSearch = [a.dialogflowCxActionType], this.actionPropertyForUsageSearch = "bot", this.className = "DialogflowCxAgentManager", this.defaultMatchingStyle = r2.exactMatch, this.dependencyContext = c.dialogflowCx.dialogflowCxAgent, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "dialogflowCxAgents", this._initialize(); } _createItemViewModel(e3) { return new s.default(e3); } } t2.DialogflowCxAgentManager = _, t2.dialogflowCxAgentManager = new _(); + }, 32686: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); }, 32726: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(82149), o = i2(7401), a = i2(42217); function s() { @@ -39325,8 +43116,8 @@ var require_scripting_bundle = __commonJS({ Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(23581)), o = n2.__importDefault(i2(16230)); class a extends r2.default { - constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, resultExpressionType: o2, restrictToFlowTypeOrTypes: a2, categoryIdentifierOrIdentifiers: s, builderPartDefCategoryIdentifierOrIdentifiers: l, defaultBuilderPartId: u, icon: d, helpTopic: c, requiredFeatureToggle: p, requiredFeatureConfig: _, requiredChannelTypeOrTypes: h, minMaxInfo: m }) { - super(e3, t3, i3, n3, r3, o2, a2, s, l, u, d, c, p, _, h, m); + constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, resultExpressionType: o2, restrictToFlowTypeOrTypes: a2, categoryIdentifierOrIdentifiers: s, builderPartDefCategoryIdentifierOrIdentifiers: l, defaultBuilderPartId: u, icon: c, helpTopic: d, requiredFeatureToggle: p, requiredFeatureConfig: _, requiredChannelTypeOrTypes: h, minMaxInfo: m }) { + super(e3, t3, i3, n3, r3, o2, a2, s, l, u, c, d, p, _, h, m); } get className() { return "StringBuilderWithBuilderPartsDef"; @@ -39347,12 +43138,12 @@ var require_scripting_bundle = __commonJS({ "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.chatScriptManager = t2.ChatScriptManager = void 0; const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(24032), o = i2(30801), a = i2(82915), s = i2(47957), l = i2(52124), u = i2(28195); - class d extends a.ScriptManager { + class c extends a.ScriptManager { constructor() { super("ChatScriptManager"), this.topic = (0, r2.getTopic)("ChatScriptManager"), this.actionsForUsageSearch = [o.screenPopActionType], this.apiCallList = n2.default.partial(l.getScriptsForFeature, u.chat), this.dependencyContext = s.screenPop.selectedChatScript, this.scriptFeatureType = u.chat; } } - t2.ChatScriptManager = d, t2.chatScriptManager = new d(); + t2.ChatScriptManager = c, t2.chatScriptManager = new c(); }, 32798: (e2, t2, i2) => { function n2() { this.language = void 0, this.summaryType = void 0, n2.baseConstructor.apply(this, arguments); @@ -39386,7 +43177,7 @@ var require_scripting_bundle = __commonJS({ const n2 = i2(31635), r2 = n2.__importStar(i2(69453)), o = n2.__importDefault(i2(17102)); class a extends o.default { constructor(e3) { - super(e3), this.modelPropertyName = "customDefinitions"; + super(e3), this.modelPropertyName = "customDefinitions", this.isCustomTypesNode = true; } get className() { return "CustomTypesViewModel"; @@ -39467,8 +43258,8 @@ var require_scripting_bundle = __commonJS({ }, 33050: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(93646)), a = i2(28562), s = n2.__importStar(i2(81116)), l = n2.__importStar(i2(63352)), u = i2(14394), d = n2.__importStar(i2(17498)), c = n2.__importDefault(i2(68460)), p = i2(7401), _ = i2(21733), h = i2(47957); - class m extends c.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(93646)), a = i2(28562), s = n2.__importStar(i2(81116)), l = n2.__importStar(i2(63352)), u = i2(14394), c = n2.__importStar(i2(17498)), d = n2.__importDefault(i2(68460)), p = i2(7401), _ = i2(21733), h = i2(47957); + class m extends d.default { constructor(e3, t3, i3) { super(t3, i3), this.modelPropertyName = "nluMetaData.intents", this.name = e3; } @@ -39497,7 +43288,7 @@ var require_scripting_bundle = __commonJS({ this.confirmationExpression = s.expression(this.parentFlow, this.parentFlow.botFlowSettings, r3, h.intents.settings.confirmation, u.globalTypes.communication, null, null); } updateDependencies() { - d.registerExpression(this.confirmationExpression); + c.registerExpression(this.confirmationExpression); } _setConfirmationDesciptionInfo(e3) { null == e3 || e3.options.setDescriptionInfo(h.intents.settings.confirmation, h.intents.settings.intentSettingConfirmationDescription); @@ -39648,6 +43439,32 @@ var require_scripting_bundle = __commonJS({ const n3 = r2.createBranchItem(e3.id, t4.name, null, true, t4.builtInPathId); n3.isDynamicBranch = !t4.builtInPathId, n3.builtInPathId = t4.builtInPathId, n3.localizedLabel = t4.localizedLabel, i3.push(n3); }), i3; + }, t2.translateHierarchicalRoutesToBranchItems = function(e3, t3) { + var i3; + const n3 = []; + for (const o2 of t3) { + if (!o2) continue; + const t4 = o2.id, a = r2.createBranchItem(e3.id, o2.name, null, false, t4); + a.isDynamicBranch = true, a.categoryId = void 0, a.isCategory = (null === (i3 = o2.intents) || void 0 === i3 ? void 0 : i3.length) > 0, n3.push(a); + for (const i4 of o2.intents || []) { + if (!i4) continue; + const o3 = i4.id, a2 = r2.createBranchItem(e3.id, i4.name, null, false, o3); + a2.isDynamicBranch = true, a2.categoryId = t4, a2.isCategory = false, n3.push(a2); + } + } + return n3; + }, t2.switchToNewAgenticIntentPaths = function(e3, t3) { + let i3; + for (let n4 = 0; n4 < t3.length; n4++) { + const r4 = t3[n4]; + i3 = e3.getBranch(r4.outputId), i3 ? (i3.model.isCategory = r4.isCategory, i3.model.categoryId = r4.categoryId, i3.outOfService || i3.enableFull()) : e3.addOptionalBranchInfo(r4); + } + const n3 = o.default.reject(e3.branchInfoList, (e4) => !e4.isDynamicBranch), r3 = o.default.filter(n3, (e4) => !o.default.findWhere(t3, { outputId: e4.outputId })); + for (let t4 = 0; t4 < r3.length; t4++) { + const n4 = r3[t4].outputId; + i3 = e3.getBranch(n4), i3 && i3.hasChildren ? i3.isUnreachable = true : e3.removeOptionalBranchInfoById(n4); + } + e3.sortBranches(); }; const n2 = i2(31635), r2 = n2.__importStar(i2(59288)), o = n2.__importDefault(i2(92140)); }, 33231: (e2) => { @@ -39723,10 +43540,10 @@ var require_scripting_bundle = __commonJS({ } for (; i3 < n3; i3++) i3 in this && (t3 = e4(t3, this[i3], i3)); return t3; - }), d = a(Array.prototype.indexOf || function(e4) { + }), c = a(Array.prototype.indexOf || function(e4) { for (var t3 = 0; t3 < this.length; t3++) if (this[t3] === e4) return t3; return -1; - }), c = a(Array.prototype.map || function(e4, t3) { + }), d = a(Array.prototype.map || function(e4, t3) { var i3 = this, n3 = []; return u(i3, function(r3, o2, a2) { n3.push(e4.call(t3, o2, a2, i3)); @@ -39785,8 +43602,8 @@ var require_scripting_bundle = __commonJS({ } } function N(e4) { - return e4 instanceof C ? e4 : w(e4) ? (function(e5) { - var t3 = O(); + return e4 instanceof C ? e4 : R(e4) ? (function(e5) { + var t3 = v(); return N.nextTick(function() { try { e5.then(t3.resolve, t3.reject, t3.notify); @@ -39796,8 +43613,8 @@ var require_scripting_bundle = __commonJS({ }), t3.promise; })(e4) : k(e4); } - function O() { - var t3, i3 = [], n3 = [], r3 = p(O.prototype), o2 = p(C.prototype); + function v() { + var t3, i3 = [], n3 = [], r3 = p(v.prototype), o2 = p(C.prototype); if (o2.promiseDispatch = function(e4, r4, o3) { var a3 = l(arguments); i3 ? (i3.push(a3), "when" === r4 && o3[1] && n3.push(o3[1])) : N.nextTick(function() { @@ -39806,7 +43623,7 @@ var require_scripting_bundle = __commonJS({ }, o2.valueOf = function() { if (i3) return o2; var e4 = E(t3); - return R(e4) && (t3 = e4), e4; + return w(e4) && (t3 = e4), e4; }, o2.inspect = function() { return t3 ? t3.inspect() : { state: "pending" }; }, N.longStackSupport && e3) try { @@ -39835,9 +43652,9 @@ var require_scripting_bundle = __commonJS({ }, void 0); }, r3; } - function I(e4) { + function O(e4) { if ("function" != typeof e4) throw new TypeError("resolver must be a function."); - var t3 = O(); + var t3 = v(); try { e4(t3.resolve, t3.reject, t3.notify); } catch (e5) { @@ -39845,8 +43662,8 @@ var require_scripting_bundle = __commonJS({ } return t3.promise; } - function v(e4) { - return I(function(t3, i3) { + function I(e4) { + return O(function(t3, i3) { for (var n3 = 0, r3 = e4.length; n3 < r3; n3++) N(e4[n3]).then(t3, i3); }); } @@ -39878,25 +43695,25 @@ var require_scripting_bundle = __commonJS({ return N(e4).then(t3, i3, n3); } function E(e4) { - if (R(e4)) { + if (w(e4)) { var t3 = e4.inspect(); if ("fulfilled" === t3.state) return t3.value; } return e4; } - function R(e4) { + function w(e4) { return e4 instanceof C; } - function w(e4) { + function R(e4) { return (t3 = e4) === Object(t3) && "function" == typeof e4.then; var t3; } - N.resolve = N, N.nextTick = r2, N.longStackSupport = false, "object" == typeof process && process && process.env && process.env.Q_DEBUG && (N.longStackSupport = true), N.defer = O, O.prototype.makeNodeResolver = function() { + N.resolve = N, N.nextTick = r2, N.longStackSupport = false, "object" == typeof process && process && process.env && process.env.Q_DEBUG && (N.longStackSupport = true), N.defer = v, v.prototype.makeNodeResolver = function() { var e4 = this; return function(t3, i3) { t3 ? e4.reject(t3) : arguments.length > 2 ? e4.resolve(l(arguments, 1)) : e4.resolve(i3); }; - }, N.Promise = I, N.promise = I, I.race = v, I.all = B, I.reject = x, I.resolve = N, N.passByCopy = function(e4) { + }, N.Promise = O, N.promise = O, O.race = I, O.all = B, O.reject = x, O.resolve = N, N.passByCopy = function(e4) { return e4; }, C.prototype.passByCopy = function() { return this; @@ -39907,12 +43724,12 @@ var require_scripting_bundle = __commonJS({ if (e5 === t3) return e5; throw new Error("Can't join: not the same: " + e5 + " " + t3); }); - }, N.race = v, C.prototype.race = function() { + }, N.race = I, C.prototype.race = function() { return this.then(N.race); }, N.makePromise = C, C.prototype.toString = function() { return "[object Promise]"; }, C.prototype.then = function(e4, t3, i3) { - var n3 = this, r3 = O(), o2 = false; + var n3 = this, r3 = v(), o2 = false; return N.nextTick(function() { n3.promiseDispatch(function(t4) { o2 || (o2 = true, r3.resolve((function(t5) { @@ -39965,16 +43782,16 @@ var require_scripting_bundle = __commonJS({ }); }, N.thenReject = function(e4, t3) { return N(e4).thenReject(t3); - }, N.nearer = E, N.isPromise = R, N.isPromiseAlike = w, N.isPending = function(e4) { - return R(e4) && "pending" === e4.inspect().state; + }, N.nearer = E, N.isPromise = w, N.isPromiseAlike = R, N.isPending = function(e4) { + return w(e4) && "pending" === e4.inspect().state; }, C.prototype.isPending = function() { return "pending" === this.inspect().state; }, N.isFulfilled = function(e4) { - return !R(e4) || "fulfilled" === e4.inspect().state; + return !w(e4) || "fulfilled" === e4.inspect().state; }, C.prototype.isFulfilled = function() { return "fulfilled" === this.inspect().state; }, N.isRejected = function(e4) { - return R(e4) && "rejected" === e4.inspect().state; + return w(e4) && "rejected" === e4.inspect().state; }, C.prototype.isRejected = function() { return "rejected" === this.inspect().state; }; @@ -39986,7 +43803,7 @@ var require_scripting_bundle = __commonJS({ var t3 = C({ when: function(t4) { return t4 && (function(e5) { if (F) { - var t5 = d(M, e5); + var t5 = c(M, e5); -1 !== t5 && (M.splice(t5, 1), P.splice(t5, 1)); } })(this), t4 ? t4(e4) : this; @@ -40026,10 +43843,10 @@ var require_scripting_bundle = __commonJS({ } function B(e4) { return b(e4, function(e5) { - var t3 = 0, i3 = O(); + var t3 = 0, i3 = v(); return u(e5, function(n3, r3, o2) { var a2; - R(r3) && "fulfilled" === (a2 = r3.inspect()).state ? e5[o2] = a2.value : (++t3, b(r3, function(n4) { + w(r3) && "fulfilled" === (a2 = r3.inspect()).state ? e5[o2] = a2.value : (++t3, b(r3, function(n4) { e5[o2] = n4, 0 === --t3 && i3.resolve(e5); }, i3.reject, function(e6) { i3.notify({ index: o2, value: e6 }); @@ -40053,7 +43870,7 @@ var require_scripting_bundle = __commonJS({ } function j(e4) { return b(e4, function(e5) { - return e5 = c(e5, N), b(B(c(e5, function(e6) { + return e5 = d(e5, N), b(B(d(e5, function(e6) { return b(e6, n2, n2); })), function() { return e5; @@ -40110,7 +43927,7 @@ var require_scripting_bundle = __commonJS({ }); }; }, N.dispatch = U, C.prototype.dispatch = function(e4, t3) { - var i3 = this, n3 = O(); + var i3 = this, n3 = v(); return N.nextTick(function() { i3.promiseDispatch(n3.resolve, e4, t3); }), n3.promise; @@ -40168,7 +43985,7 @@ var require_scripting_bundle = __commonJS({ return N(e4).allSettled(); }, C.prototype.allSettled = function() { return this.then(function(e4) { - return B(c(e4, function(e5) { + return B(d(e4, function(e5) { function t3() { return e5.inspect(); } @@ -40208,7 +44025,7 @@ var require_scripting_bundle = __commonJS({ }, N.timeout = function(e4, t3, i3) { return N(e4).timeout(t3, i3); }, C.prototype.timeout = function(e4, t3) { - var i3 = O(), n3 = setTimeout(function() { + var i3 = v(), n3 = setTimeout(function() { t3 && "string" != typeof t3 || ((t3 = new Error(t3 || "Timed out after " + e4 + " ms")).code = "ETIMEDOUT"), i3.reject(t3); }, e4); return this.then(function(e5) { @@ -40220,7 +44037,7 @@ var require_scripting_bundle = __commonJS({ return void 0 === t3 && (t3 = e4, e4 = void 0), N(e4).delay(t3); }, C.prototype.delay = function(e4) { return this.then(function(t3) { - var i3 = O(); + var i3 = v(); return setTimeout(function() { i3.resolve(t3); }, e4), i3.promise; @@ -40228,18 +44045,18 @@ var require_scripting_bundle = __commonJS({ }, N.nfapply = function(e4, t3) { return N(e4).nfapply(t3); }, C.prototype.nfapply = function(e4) { - var t3 = O(), i3 = l(e4); + var t3 = v(), i3 = l(e4); return i3.push(t3.makeNodeResolver()), this.fapply(i3).fail(t3.reject), t3.promise; }, N.nfcall = function(e4) { var t3 = l(arguments, 1); return N(e4).nfapply(t3); }, C.prototype.nfcall = function() { - var e4 = l(arguments), t3 = O(); + var e4 = l(arguments), t3 = v(); return e4.push(t3.makeNodeResolver()), this.fapply(e4).fail(t3.reject), t3.promise; }, N.nfbind = N.denodeify = function(e4) { var t3 = l(arguments, 1); return function() { - var i3 = t3.concat(l(arguments)), n3 = O(); + var i3 = t3.concat(l(arguments)), n3 = v(); return i3.push(n3.makeNodeResolver()), N(e4).fapply(i3).fail(n3.reject), n3.promise; }; }, C.prototype.nfbind = C.prototype.denodeify = function() { @@ -40248,7 +44065,7 @@ var require_scripting_bundle = __commonJS({ }, N.nbind = function(e4, t3) { var i3 = l(arguments, 2); return function() { - var n3 = i3.concat(l(arguments)), r3 = O(); + var n3 = i3.concat(l(arguments)), r3 = v(); return n3.push(r3.makeNodeResolver()), N(function() { return e4.apply(t3, arguments); }).fapply(n3).fail(r3.reject), r3.promise; @@ -40259,13 +44076,13 @@ var require_scripting_bundle = __commonJS({ }, N.nmapply = N.npost = function(e4, t3, i3) { return N(e4).npost(t3, i3); }, C.prototype.nmapply = C.prototype.npost = function(e4, t3) { - var i3 = l(t3 || []), n3 = O(); + var i3 = l(t3 || []), n3 = v(); return i3.push(n3.makeNodeResolver()), this.dispatch("post", [e4, i3]).fail(n3.reject), n3.promise; }, N.nsend = N.nmcall = N.ninvoke = function(e4, t3) { - var i3 = l(arguments, 2), n3 = O(); + var i3 = l(arguments, 2), n3 = v(); return i3.push(n3.makeNodeResolver()), N(e4).dispatch("post", [t3, i3]).fail(n3.reject), n3.promise; }, C.prototype.nsend = C.prototype.nmcall = C.prototype.ninvoke = function(e4) { - var t3 = l(arguments, 1), i3 = O(); + var t3 = l(arguments, 1), i3 = v(); return t3.push(i3.makeNodeResolver()), this.dispatch("post", [e4, t3]).fail(i3.reject), i3.promise; }, N.nodeify = function(e4, t3) { return N(e4).nodeify(t3); @@ -40287,16 +44104,32 @@ var require_scripting_bundle = __commonJS({ }, 33235: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DurationType = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(73198)), a = i2(79467), s = i2(80428), l = i2(94765), u = n2.__importStar(i2(63824)); - class d extends l.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = i2(69453), a = n2.__importDefault(i2(73198)), s = i2(79467), l = i2(1910), u = n2.__importStar(i2(63824)), c = i2(80428), d = i2(94765), p = i2(50474), _ = ["days", "hours", "minutes", "seconds", "ms"]; + function h(e3, t3, i3) { + const n3 = (0, p.isNonArrayObject)(e3.lit) ? e3.lit : void 0; + let s2, l2; + if (Object.prototype.hasOwnProperty.call(e3, t3) && void 0 !== e3[t3] && null !== e3[t3]) s2 = e3[t3], l2 = String(t3); + else { + if (!n3 || !Object.prototype.hasOwnProperty.call(n3, t3) || void 0 === n3[t3] || null === n3[t3]) return 0; + s2 = n3[t3], l2 = `lit.${String(t3)}`; + } + const u2 = (function(e4, t4, i4) { + return null == e4 ? 0 : "number" == typeof e4 ? e4 : (i4 && i4.warn((0, r2.sprintf)(o.configureFromModel.durationLiteralComponentMustBeNumber, t4, typeof e4)), 0); + })(s2, l2, i3); + return u2 * ("days" === t3 ? a.default.msPerDay : "hours" === t3 ? a.default.msPerHour : "minutes" === t3 ? a.default.msPerMinute : "seconds" === t3 ? a.default.msPerSecond : 1); + } + function m(e3, t3, i3, n3) { + if (i3) for (const r3 of Object.keys(e3)) n3.has(r3) || (0, l.reportAdditionalProperty)(r3, t3, i3); + } + class g extends d.ExpressionType { constructor(e3, t3, i3) { - super(e3, t3, i3), this.expressionOptionClass = a.ExpressionTypeDurationOptions; + super(e3, t3, i3), this.expressionOptionClass = s.ExpressionTypeDurationOptions; } get className() { return "DurationType"; } createExpressionOptionClass() { - return new a.ExpressionTypeDurationOptions(); + return new s.ExpressionTypeDurationOptions(); } convertLitToExpression(e3, t3) { const i3 = u.matchText(t3); @@ -40324,10 +44157,25 @@ var require_scripting_bundle = __commonJS({ } toMilliseconds(e3) { const t3 = u.toSeconds(e3); - return void 0 !== t3 ? t3 * o.default.msPerSecond : null; + return void 0 !== t3 ? t3 * a.default.msPerSecond : null; + } + applyLiteralFromModel(e3, t3, i3, n3) { + if (null == t3) return; + if ("string" == typeof t3) return "minDuration" === t3 ? void e3.setAsLiteral(u.millisecondsToXSD(a.default.minDurationMs)) : "maxDuration" === t3 ? void e3.setAsLiteral(u.millisecondsToXSD(a.default.maxDurationMs)) : void e3.setAsLiteral(t3); + if (!(0, p.isNonArrayObject)(t3)) return void (n3 && n3.warn((0, r2.sprintf)(o.configureFromModel.durationLiteralExpectedObjectOrString, Array.isArray(t3) ? "array" : typeof t3))); + const s2 = t3; + "lit" in s2 && null !== s2.lit && void 0 !== s2.lit && ("object" != typeof s2.lit || Array.isArray(s2.lit)) && n3 && n3.warn(o.configureFromModel.durationLiteralMustBePlainObject); + let l2 = 0; + for (const e4 of _) l2 += h(s2, e4, n3); + if (this.enforceValueLimit(l2 >= a.default.minDurationMs && l2 <= a.default.maxDurationMs, (0, r2.sprintf)(o.configureFromModel.durationLiteralOutOfRange, l2, a.default.minDurationMs, a.default.maxDurationMs), n3) && (e3.setAsLiteral(u.millisecondsToXSD(l2)), n3)) { + const e4 = /* @__PURE__ */ new Set([..._, "lit"]); + m(s2, this.dataType || "duration", n3, e4); + const t4 = s2.lit; + (0, p.isNonArrayObject)(t4) && m(t4, `${this.dataType || "duration"}.lit`, n3, new Set(_)); + } } } - t2.DurationType = d, d.typeIdentifier = s.expressionTypeNames.duration; + t2.DurationType = g, g.typeIdentifier = c.expressionTypeNames.duration; }, 33237: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeSurveyQuestionOptions = void 0; @@ -40350,19 +44198,19 @@ var require_scripting_bundle = __commonJS({ }, 33264: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.decisionTableManager = t2.DecisionTableManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(83277)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = i2(30801), l = n2.__importDefault(i2(47532)), u = n2.__importDefault(i2(62979)), d = i2(53649), c = i2(81801), p = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(83277)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = i2(30801), l = n2.__importDefault(i2(47532)), u = n2.__importDefault(i2(62979)), c = i2(53649), d = i2(81801), p = i2(27862); class _ extends l.default { constructor() { super(), this.topic = a.getTopic("DecisionTableManager"), this.apiCallList = r2.getDecisionTables, this.apiCallSingle = r2.getDecisionTable, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "actionId", this.actionsForUsageSearch = [s.callDecisionTableActionType], this.additionalQueryParams = { withPublishedVersion: true }, this.className = "DecisionTableManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = null, this.idEquivalent = "tableId", this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "decisionTable", this.useStartsWithKeywordForExactMatch = true, this.defaultPageSize = 100, this._initialize(); } get requiredAuth() { - return c.externalAuthorizations.authStrings.decisionTablesSearch; + return d.externalAuthorizations.authStrings.decisionTablesSearch; } get dependencyType() { return p.DecisionTable; } _createItemViewModel(e3) { - return new d.DecisionTableViewModel(e3); + return new c.DecisionTableViewModel(e3); } get _networkModel() { return u.default; @@ -40373,7 +44221,7 @@ var require_scripting_bundle = __commonJS({ getOrFetchItem(e3) { return n2.__awaiter(this, void 0, void 0, function* () { const t3 = this.getItem(e3); - return (null == t3 ? void 0 : t3.successSchema) && (null == t3 ? void 0 : t3.inputSchema) ? Promise.resolve(t3) : this.fetchItem(e3); + return t3 && !t3.schemasNotLoaded ? Promise.resolve(t3) : this.fetchItem(e3); }); } addItemToFlowMetadata(e3, t3, i3) { @@ -40487,10 +44335,10 @@ var require_scripting_bundle = __commonJS({ }, 33381: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowReferenceProperty = void 0; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(30260)), l = n2.__importStar(i2(17498)), u = n2.__importDefault(i2(98114)), d = n2.__importStar(i2(18325)), c = i2(88473), p = i2(55867), _ = i2(44307), h = i2(44307), m = i2(37345), g = i2(47957); - class f extends p.BaseActionProperty { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(30260)), l = n2.__importStar(i2(17498)), u = n2.__importDefault(i2(98114)), c = n2.__importStar(i2(18325)), d = n2.__importStar(i2(19859)), p = i2(88473), _ = i2(55867), h = i2(44307), m = i2(44307), g = i2(37345), f = i2(47957); + class T extends _.BaseActionProperty { constructor(e3, t3, i3, n3, r3, o2) { - super(e3, t3), this._supportsSpecificVersion = true, this._showVersionSelection = true, this._isRefreshingFlowReferenceCounter = 0, this._actionWithFlowSchemaRef = e3, this._flowType = i3, this._flowListManager = s.getManagerForFlowType(this._flowType, true), this._modelPropNames = f.createModelPropNames(o2, this._flowType), this._outOfServiceProvider = (0, c.addOutOfServiceProperties)(this), false === n3 && (this._supportsSpecificVersion = false), false === r3 && (this._showVersionSelection = false); + super(e3, t3), this._supportsSpecificVersion = true, this._showVersionSelection = true, this._isRefreshingFlowReferenceCounter = 0, this._actionWithFlowSchemaRef = e3, this._flowType = i3, this._flowListManager = s.getManagerForFlowType(this._flowType, true), this._modelPropNames = T.createModelPropNames(o2, this._flowType), this._outOfServiceProvider = (0, p.addOutOfServiceProperties)(this), false === n3 && (this._supportsSpecificVersion = false), false === r3 && (this._showVersionSelection = false); } get isFlowReferenceProperty() { return true; @@ -40507,7 +44355,7 @@ var require_scripting_bundle = __commonJS({ getConfiguration(e3, t3) { var i3, n3, r3, o2; if (null == t3 ? void 0 : t3.isForFlowYaml) { - (0, _.snapshotReferencedObject)(e3, this.flowType, this.flowName, this.flowDefaultLanguage, this.flowInputs, this.flowOutputs), this._addSupportedLanguagesToSnapshot(e3); + (0, h.snapshotReferencedObject)(e3, this.flowType, this.flowName, this.flowDefaultLanguage, this.flowInputs, this.flowOutputs), this._addSupportedLanguagesToSnapshot(e3); const s2 = {}, l2 = this.getReferencedFlowName(); if (!l2) return a.default.ensureYamlNoneTrue(s2), s2; const u2 = (s2[l2] = {}).ver_latestPublished = {}; @@ -40532,13 +44380,13 @@ var require_scripting_bundle = __commonJS({ if (!(null === (i3 = null === (t3 = null == e3 ? void 0 : e3.referencedObjects) || void 0 === t3 ? void 0 : t3.flows) || void 0 === i3 ? void 0 : i3.length)) return; const r3 = null === (n3 = this._flowListManager) || void 0 === n3 ? void 0 : n3.getItem(this.flowId), o2 = null == r3 ? void 0 : r3.supportedLanguages; if (null == o2 ? void 0 : o2.length) { - const t4 = (0, h.getFlowConfigFromSnapshot)(e3, this.flowName, this.flowType); + const t4 = (0, m.getFlowConfigFromSnapshot)(e3, this.flowName, this.flowType); t4 && (t4.flow.supportedLanguages = o2.map((e4) => e4.language)); } } getDetailDescription() { const e3 = this.getReferencedFlowName(); - return e3 ? { label: u.default.getFlowTypeDisplayName(this.flowType), value: this.flowVersion ? (0, o.sprintf)(g.nameAndVersion, e3, this.flowVersion) : e3 } : null; + return e3 ? { label: u.default.getFlowTypeDisplayName(this.flowType), value: this.flowVersion ? (0, o.sprintf)(f.nameAndVersion, e3, this.flowVersion) : e3 } : null; } get flowId() { return this.action.model[this._modelPropNames.idPropName]; @@ -40587,7 +44435,7 @@ var require_scripting_bundle = __commonJS({ setReferenceWithFlowInfo(e3, t3, i3) { return n2.__awaiter(this, void 0, void 0, function* () { if (e3 && e3.type !== this.flowType) throw new Error(`flowInfoViewModel is not of type ${this.flowType}`); - return e3 ? (this.flowName = e3.displayName, this.flowId = e3.id, this.flowVersion = t3, this.isFlowRefLatestPublished = !t3, this.isFlowRefDebugPublish = i3, yield this.refreshFlowSchema(e3), this.validateAction(), e3) : (this.clearReference(), void this.validateAction()); + return e3 ? (this.flowName = e3.displayName, this.flowId = e3.id, this.flowVersion = t3, this.isFlowRefLatestPublished = !t3, this.isFlowRefDebugPublish = i3, yield this.refreshFlowSchema(e3), this.updateDependencies(), this.validateAction(), e3) : (this.clearReference(), this.updateDependencies(), void this.validateAction()); }); } destroy() { @@ -40599,7 +44447,7 @@ var require_scripting_bundle = __commonJS({ getErrors(e3) { if (!this.outOfService) { const e4 = this.getFlowInfoReference(this.flowId); - if (!e4 || e4.deleted) return [(0, o.sprintf)(g.missingReference, u.default.getFlowTypeDisplayName(this.flowType))]; + if (!e4 || e4.deleted) return [(0, o.sprintf)(f.missingReference, u.default.getFlowTypeDisplayName(this.flowType))]; } return []; } @@ -40610,10 +44458,27 @@ var require_scripting_bundle = __commonJS({ } updateDependencies() { if (super.updateDependencies(), this.flowName && this.flowId && !this.outOfService) { - const e3 = this.isFlowRefLatestPublished ? d.published : this.isFlowRefDebugPublish ? d.debug : this.flowVersion; + const e3 = this.isFlowRefLatestPublished ? c.published : this.isFlowRefDebugPublish ? c.debug : this.flowVersion; l.registerConsumer(this.action, this.flowListManager.dependencyContext, this.flowName, this.flowId, e3, this.flowListManager.dependencyType); } else l.unRegisterConsumer(this.action, this.flowListManager.dependencyContext); } + repointSelfReference(e3, t3) { + d.repointSelfReferenceIfMatch(this.flowId, this.flowName, e3, t3, (e4, t4) => { + const i3 = this.flowId; + this.flowId = e4, this.flowName = t4; + try { + i3 && i3 !== e4 && this.flowListManager.tryRemoveItemFromFlowMetadata(this.action, i3); + const t5 = this._resolveFlowInfoForReference(e4); + t5 && this.mergeSchemaProperties(t5); + } finally { + this.updateDependencies(); + } + }); + } + _resolveFlowInfoForReference(e3) { + const t3 = this.getFlowInfoReference(e3); + if (t3 && !t3.deleted) return t3; + } get flowListManager() { return this._flowListManager; } @@ -40624,12 +44489,13 @@ var require_scripting_bundle = __commonJS({ return this._showVersionSelection; } getFlowInfoReference(e3) { - let t3; - return !e3 || (t3 = this.flowListManager.getItem(e3), !this.flowListManager.fullManager || t3 && this.hasCorrectFlowInfo(t3)) || (t3 = this.flowListManager.getItemFromFullManager(e3) || t3), t3; + var t3; + let i3; + return e3 && (i3 = this.flowListManager.getItem(e3), !this.flowListManager.fullManager || i3 && this.hasCorrectFlowInfo(i3) || (i3 = this.flowListManager.getItemFromFullManager(e3) || i3), i3 && !i3.deleted || (null === (t3 = this.action.parentFlow) || void 0 === t3 ? void 0 : t3.id) !== e3 || (i3 = this.action.parentFlow.info)), i3; } search(e3) { var t3, i3; - super.search(e3), this.flowName && !this.outOfService && e3.checkText(this.action, this.flowName, null !== (i3 = null === (t3 = this.getDetailDescription()) || void 0 === t3 ? void 0 : t3.label) && void 0 !== i3 ? i3 : g.commonModule.hardcodedTaskName); + super.search(e3), this.flowName && !this.outOfService && e3.checkText(this.action, this.flowName, null !== (i3 = null === (t3 = this.getDetailDescription()) || void 0 === t3 ? void 0 : t3.label) && void 0 !== i3 ? i3 : f.commonModule.hardcodedTaskName); } _initializeDesignTime() { if (super._initializeDesignTime(), this.flowId) { @@ -40669,7 +44535,7 @@ var require_scripting_bundle = __commonJS({ if (!this.flowVersion) return e3; this.traceTopic.info(`fetching flow schema for flow id:${this.flowId} version: ${this.flowVersion}`), this.setIsRefreshingFlowReference(true); try { - const t3 = yield m.getFlowInfoForVersion(this.flowId, this.flowVersion); + const t3 = yield g.getFlowInfoForVersion(this.flowId, this.flowVersion); return e3.loadAlternateSchema(this.flowVersion, t3), e3; } catch (e4) { this.traceTopic.requestError(e4, `failed to get flow schema for flow id:${this.flowId} version: ${this.flowVersion} to get its schema`); @@ -40707,10 +44573,10 @@ var require_scripting_bundle = __commonJS({ } static createCreateDetails(e3) { const t3 = this.createModelPropNames(e3.useFlowTypeSpecificModelProps, null == e3 ? void 0 : e3.flowType); - return { create: (t4, i3) => new f(t4, i3, e3.flowType, e3.supportsSpecificVersion, e3.showVersionSelection, e3.useFlowTypeSpecificModelProps), getCreateClass: () => f, modelProperties: [t3.idPropName, t3.namePropName, t3.versionPropName, t3.latestVersionPropName, t3.debugPublishedPropName] }; + return { create: (t4, i3) => new T(t4, i3, e3.flowType, e3.supportsSpecificVersion, e3.showVersionSelection, e3.useFlowTypeSpecificModelProps), getCreateClass: () => T, modelProperties: [t3.idPropName, t3.namePropName, t3.versionPropName, t3.latestVersionPropName, t3.debugPublishedPropName] }; } } - t2.FlowReferenceProperty = f; + t2.FlowReferenceProperty = T; }, 33416: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.SmsPhoneNumberList = void 0; @@ -40785,10 +44651,10 @@ var require_scripting_bundle = __commonJS({ }), !r2.default.isEmpty(e3.overloads); }), r2.default.each(h.category, function(e3, t3) { const i3 = o.default[e3.name], n3 = o.default[e3.description]; - T[t3] = (0, c.createFuncOpCategory)(e3, i3, n3); + T[t3] = (0, d.createFuncOpCategory)(e3, i3, n3); }), r2.default.each(h.expression, N), a.expressionDataService.makeListFunc = a.expressionDataService._getFuncOpForIdentifier("makeList"); }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(7342)), a = i2(27491), s = n2.__importDefault(i2(65302)), l = i2(71615), u = i2(80428), d = i2(58801), c = i2(58801), p = i2(58801), _ = i2(58801), h = i2(34005), m = a.expressionDataService.expressionFuncOps, g = a.expressionDataService.expressionFuncOpsByText, f = a.expressionDataService.expressionFuncOpsById, T = a.expressionDataService.expressionFuncOpCategories, y = a.expressionDataService.expressionFuncOpsByOverloadId; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(7342)), a = i2(27491), s = n2.__importDefault(i2(65302)), l = i2(71615), u = i2(80428), c = i2(58801), d = i2(58801), p = i2(58801), _ = i2(58801), h = i2(34005), m = a.expressionDataService.expressionFuncOps, g = a.expressionDataService.expressionFuncOpsByText, f = a.expressionDataService.expressionFuncOpsById, T = a.expressionDataService.expressionFuncOpCategories, y = a.expressionDataService.expressionFuncOpsByOverloadId; function S(e3) { return o.default[e3] || e3; } @@ -40824,8 +44690,8 @@ var require_scripting_bundle = __commonJS({ const n5 = A(i6.type, i6.isArray); n5 ? s2.dataTypes.push(n5) : console.error("Unknown return type '" + t5.returnValue.type + "' in overload '" + t5.identifier + "' for function + '" + e4.identifier + "'"); })); - const u2 = S(t5.description), d2 = S(t5.returnValue.description); - return (0, p.createFuncOpOverload)(t5, u2, o3, d2, n4, i5, a3, s2); + const u2 = S(t5.description), c2 = S(t5.returnValue.description); + return (0, p.createFuncOpOverload)(t5, u2, o3, c2, n4, i5, a3, s2); })(e3, t4); if (i4) { let e4 = false; @@ -40838,7 +44704,7 @@ var require_scripting_bundle = __commonJS({ e4 ? o2.push(i4) : (o2.splice(a2, 0, i4), a2++), y[t4.identifier] = i4; } }), 0 !== o2.length) { - const a3 = (0, d.createFuncOp)(e3, t3, i3, n3, o2); + const a3 = (0, c.createFuncOp)(e3, t3, i3, n3, o2); r2.default.each(o2, function(e4) { e4.parent = a3; }), m.push(a3); @@ -40868,22 +44734,35 @@ var require_scripting_bundle = __commonJS({ } } t2.default = r2; + }, 33573: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowModelValidator = void 0, t2.FlowModelValidator = class { + static validate(e3, t3) { + const i2 = []; + for (const [n2, r2] of Object.entries(t3.properties)) { + const t4 = e3[n2]; + r2.required && null == t4 ? i2.push({ fieldPath: n2, message: `Required property '${n2}' is missing.`, facet: "required", facetValue: true }) : null != t4 && (typeof t4 === r2.type ? "string" === r2.type && "string" == typeof t4 && (void 0 !== r2.minLength && t4.length < r2.minLength && i2.push({ fieldPath: n2, message: `Property '${n2}' length ${t4.length} is below minimum ${r2.minLength}.`, facet: "minLength", facetValue: r2.minLength, actualValue: t4.length }), void 0 !== r2.maxLength && t4.length > r2.maxLength && i2.push({ fieldPath: n2, message: `Property '${n2}' length ${t4.length} exceeds maximum ${r2.maxLength}.`, facet: "maxLength", facetValue: r2.maxLength, actualValue: t4.length })) : i2.push({ fieldPath: n2, message: `Property '${n2}' must be a ${r2.type}; got ${typeof t4}.`, facet: "type", facetValue: r2.type, actualValue: typeof t4 })); + } + return { valid: 0 === i2.length, errors: i2 }; + } + }; }, 33577: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getAgenticVirtualAgents = a, t2.getAgenticVirtualAgent = s, t2.getAgenticVirtualAgentVersion = l; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(39424)); - function a(e3) { - return r2.default.build(o.getAgenticVirtualAgents).queryParams(e3.getSearchQueryParams()).call(); + Object.defineProperty(t2, "__esModule", { value: true }), t2.getAgenticVirtualAgents = l, t2.getAgenticVirtualAgent = u, t2.getAgenticVirtualAgentVersion = c; + const n2 = i2(31635), r2 = n2.__importStar(i2(10798)), o = n2.__importDefault(i2(4648)), a = n2.__importDefault(i2(36019)), s = n2.__importStar(i2(39424)); + function l(e3) { + const t3 = r2.isFeatureAvailable(o.default.botFlowsAgenticVirtualAgentPublicAPI) ? s.getAgenticVirtualAgents : s.getAgenticVirtualAgentsViaApps; + return a.default.build(t3).queryParams(e3.getSearchQueryParams()).call(); } - function s(e3) { - const t3 = { agenticVirtualAgentId: e3 }; - return r2.default.build(o.getAgenticVirtualAgent).templateParams(t3).call(); + function u(e3) { + const t3 = { agenticVirtualAgentId: e3 }, i3 = r2.isFeatureAvailable(o.default.botFlowsAgenticVirtualAgentPublicAPI) ? s.getAgenticVirtualAgent : s.getAgenticVirtualAgentViaApps; + return a.default.build(i3).templateParams(t3).call(); } - function l(e3, t3) { - const i3 = { agenticVirtualAgentId: e3, agenticVirtualAgentVersionId: null == t3 ? void 0 : t3.version }; - return r2.default.build(o.getAgenticVirtualAgentVersion).templateParams(i3).call(); + function c(e3, t3) { + const i3 = { agenticVirtualAgentId: e3, agenticVirtualAgentVersionId: null == t3 ? void 0 : t3.version }, n3 = r2.isFeatureAvailable(o.default.botFlowsAgenticVirtualAgentPublicAPI) ? s.getAgenticVirtualAgentVersion : s.getAgenticVirtualAgentVersionViaApps; + return a.default.build(n3).templateParams(i3).call(); } - a.api = o.getAgenticVirtualAgents, s.api = o.getAgenticVirtualAgent, l.api = o.getAgenticVirtualAgentVersion; + l.api = s.getAgenticVirtualAgents, u.api = s.getAgenticVirtualAgent, c.api = s.getAgenticVirtualAgentVersion; }, 33588: (e2, t2, i2) => { const n2 = i2(36019).default, r2 = i2(80517); function o() { @@ -40930,17 +44809,17 @@ var require_scripting_bundle = __commonJS({ u.className = "BaseFlowOutcomeAction", t2.default = u; }, 33653: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.checkPromptAudioDuration = c, t2.checkExpressionPromptReferences = function(e3) { + Object.defineProperty(t2, "__esModule", { value: true }), t2.checkPromptAudioDuration = d, t2.checkExpressionPromptReferences = function(e3) { if (!e3.options || !e3.options.durationFacets) return; let t3; return o.default.find(e3.variables, function(i3) { - return i3.isPromptContainer && (t3 = c(e3, i3.id)), !!t3; + return i3.isPromptContainer && (t3 = d(e3, i3.id)), !!t3; }), t3; }, t2.checkBlankAudioLength = function(e3, t3) { - if (e3.options && e3.options.durationFacets) return e3.options.durationFacets.validateMilliseconds(t3, e3).isValid ? void 0 : (0, r2.sprintf)(d.expression.audioBlankExpressionTooLong, u.getSearchStringFromMilliseconds(e3.options.durationFacets.maxVal)); + if (e3.options && e3.options.durationFacets) return e3.options.durationFacets.validateMilliseconds(t3, e3).isValid ? void 0 : (0, r2.sprintf)(c.expression.audioBlankExpressionTooLong, u.getSearchStringFromMilliseconds(e3.options.durationFacets.maxVal)); }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(48109), s = n2.__importStar(i2(43011)), l = n2.__importDefault(i2(73198)), u = n2.__importStar(i2(63824)), d = i2(47957); - function c(e3, t3) { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(48109), s = n2.__importStar(i2(43011)), l = n2.__importDefault(i2(73198)), u = n2.__importStar(i2(63824)), c = i2(47957); + function d(e3, t3) { if (!t3 || !e3.options || !e3.options.durationFacets) return; const i3 = s.getItem(t3); if (!i3) return; @@ -40951,7 +44830,7 @@ var require_scripting_bundle = __commonJS({ const i4 = r3.getAudioLength() * l.default.msPerSecond; e3.options.durationFacets.validateMilliseconds(i4, e3).isValid || n3.push(t4.id); } - }), n3.length > 0 ? (0, r2.sprintf)(d.expression.promptDurationTooLong, i3.expressionName, (0, a.getListDisplayString)(n3), u.getSearchStringFromMilliseconds(e3.options.durationFacets.maxVal)) : void 0; + }), n3.length > 0 ? (0, r2.sprintf)(c.expression.promptDurationTooLong, i3.expressionName, (0, a.getListDisplayString)(n3), u.getSearchStringFromMilliseconds(e3.options.durationFacets.maxVal)) : void 0; } }, 33667: (e2, t2, i2) => { "use strict"; @@ -40967,13 +44846,13 @@ var require_scripting_bundle = __commonJS({ const i4 = t3.optionsForSpecificFlowTypes.find((t4) => t4.flowTypes.find((t5) => t5 === e3.parentFlow.type)); o.default.isUndefined(i4) || (S = i4.options); } - return S || (S = t3.options), e3.propertyChanged && (S = o.default.extend(S || {}, { valueChangedCallback: e3.propertyChanged.bind(e3) })), t3.audio ? (A = A || new r2(), i3 = new m.AudioViewModel(e3.parentFlow, e3, A, S), "preTransferAudio" === t3.property ? i3.defaultAudio.propertyName = "preTransferAudio" : "failureTransferAudio" === t3.property && (i3.defaultAudio.propertyName = "failureTransferAudio")) : t3.skills ? (A = A || [], i3 = new _.SkillValuePairs(e3, A, t3.yamlOptions)) : t3.variables ? (A = A || [], i3 = new h.VariableValuePairs(e3, A, S, t3.yamlOptions)) : t3.list ? (A = A || [], n3 = y.default.getType(e3.parentFlow, t3.type, false), i3 = t3.listHasReferenceId ? new d.ExpressionListWithReferenceId(e3, A, t3.label, n3, t3.property, S, t3.yamlOptions) : new u.ExpressionList(e3, A, t3.label, n3, t3.property, S, t3.yamlOptions)) : t3.dataList ? (A = A || [], i3 = new s.DataPairList(e3, A, !t3.isOutput, t3.allowSecure, S, t3.yamlOptions)) : t3.dataPairListCollection ? (A = A || [], i3 = new l.DataPairListCollection(e3, A, !t3.isOutput, t3.allowSecure, S)) : t3.namedItems ? (A = A || [], i3 = new p.NameValuePairs(e3, A, t3.isOutput, S, t3.yamlOptions)) : t3.choiceList ? (A = A || [], i3 = new a.default(e3, A, S)) : t3.externalContactPatchChanges ? (A = A || [], i3 = new c.ExternalContactPatchChangeList(e3, A, S, t3.yamlOptions)) : (A = A || new f.default(), n3 = y.default.getType(e3.parentFlow, t3.type, !!S && S.isCollection), S && S.className || (S = g.buildOptions(n3, t3 ? S : void 0, e3.parentFlow)), i3 = T.expression(e3.parentFlow, e3, A, t3.label, n3, t3.property, S)), i3.isExpressionContainer && t3.label && (i3.label = t3.label), i3.hasOutOfServiceProvider && (t3 && t3.supportedFlowTypes && (i3.supportedFlowTypes = t3.supportedFlowTypes, o.default.isFunction(i3.outOfServiceChanged) && i3.outOfServiceChanged(true)), t3 && (t3.featureFlags || S.featureToggleName) && (!t3.featureFlagEnabledForFlowTypes || t3.featureFlagEnabledForFlowTypes && o.default.contains(t3.featureFlagEnabledForFlowTypes, e3.parentFlow.type)) && ((function(e4, t4) { + return S || (S = t3.options), e3.propertyChanged && (S = o.default.extend(S || {}, { valueChangedCallback: e3.propertyChanged.bind(e3) })), t3.audio ? (A = A || new r2(), i3 = new m.AudioViewModel(e3.parentFlow, e3, A, S), "preTransferAudio" === t3.property ? i3.defaultAudio.propertyName = "preTransferAudio" : "failureTransferAudio" === t3.property && (i3.defaultAudio.propertyName = "failureTransferAudio")) : t3.skills ? (A = A || [], i3 = new _.SkillValuePairs(e3, A, t3.yamlOptions)) : t3.variables ? (A = A || [], i3 = new h.VariableValuePairs(e3, A, S, t3.yamlOptions)) : t3.list ? (A = A || [], n3 = y.default.getType(e3.parentFlow, t3.type, false), i3 = t3.listHasReferenceId ? new c.ExpressionListWithReferenceId(e3, A, t3.label, n3, t3.property, S, t3.yamlOptions) : new u.ExpressionList(e3, A, t3.label, n3, t3.property, S, t3.yamlOptions)) : t3.dataList ? (A = A || [], i3 = new s.DataPairList(e3, A, !t3.isOutput, t3.allowSecure, S, t3.yamlOptions)) : t3.dataPairListCollection ? (A = A || [], i3 = new l.DataPairListCollection(e3, A, !t3.isOutput, t3.allowSecure, S)) : t3.namedItems ? (A = A || [], i3 = new p.NameValuePairs(e3, A, t3.isOutput, S, t3.yamlOptions)) : t3.choiceList ? (A = A || [], i3 = new a.default(e3, A, S)) : t3.externalContactPatchChanges ? (A = A || [], i3 = new d.ExternalContactPatchChangeList(e3, A, S, t3.yamlOptions)) : (A = A || new f.default(), n3 = y.default.getType(e3.parentFlow, t3.type, !!S && S.isCollection), S && S.className || (S = g.buildOptions(n3, t3 ? S : void 0, e3.parentFlow)), i3 = T.expression(e3.parentFlow, e3, A, t3.label, n3, t3.property, S)), i3.isExpressionContainer && t3.label && (i3.label = t3.label), i3.hasOutOfServiceProvider && (t3 && t3.supportedFlowTypes && (i3.supportedFlowTypes = t3.supportedFlowTypes, o.default.isFunction(i3.outOfServiceChanged) && i3.outOfServiceChanged(true)), t3 && (t3.featureFlags || S.featureToggleName) && (!t3.featureFlagEnabledForFlowTypes || t3.featureFlagEnabledForFlowTypes && o.default.contains(t3.featureFlagEnabledForFlowTypes, e3.parentFlow.type)) && ((function(e4, t4) { e4 && t4 && (o.default.isArray(t4) || (t4 = [t4]), e4.featureFlags ? o.default.each(t4, function(t5) { o.default.findIndex(e4.featureFlags, t5) || e4.featureFlags.push(t5); }) : e4.featureFlags = t4); })(i3, t3.featureFlags), o.default.isFunction(i3.outOfServiceChanged) && i3.outOfServiceChanged(true))), t3.hideFromModel || (e3.model[t3.property] = A), e3[t3.property] = i3, i3; }; - const n2 = i2(31635), r2 = i2(2210), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(9386)), s = i2(15364), l = i2(39296), u = i2(71514), d = i2(60420), c = i2(11929), p = i2(29485), _ = i2(27197), h = i2(3986), m = i2(96353), g = n2.__importStar(i2(8462)), f = n2.__importDefault(i2(7401)), T = n2.__importStar(i2(81116)), y = n2.__importDefault(i2(65302)); + const n2 = i2(31635), r2 = i2(2210), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(9386)), s = i2(15364), l = i2(39296), u = i2(71514), c = i2(60420), d = i2(11929), p = i2(29485), _ = i2(27197), h = i2(3986), m = i2(96353), g = n2.__importStar(i2(8462)), f = n2.__importDefault(i2(7401)), T = n2.__importStar(i2(81116)), y = n2.__importDefault(i2(65302)); }, 33668: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeSurveyQuestionGroupOptions = void 0; @@ -41032,7 +44911,7 @@ var require_scripting_bundle = __commonJS({ t2.default = r2; }, 33853: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = n2.__importDefault(i2(27203)), a = i2(3219), s = i2(12179), l = n2.__importDefault(i2(97891)), u = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = n2.__importDefault(i2(27203)), a = i2(3219), s = i2(12179), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(4648)), c = i2(47957); class d extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -41044,7 +44923,7 @@ var require_scripting_bundle = __commonJS({ return a.disconnectWorkitemFailureReasons; } } - d.info = l.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: s.helpTopics.actions.disconnectWorkitem, modelClass: i2(37417), name: u.actions.disconnectWorkitem, scriptingName: "ArchActionDisconnectWorkitem" }), t2.A = d; + d.info = l.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: s.helpTopics.actions.disconnectWorkitem, modelClass: i2(37417), name: c.actions.disconnectWorkitem, scriptingName: "ArchActionDisconnectWorkitem", modelFormatSupport: { flowYaml: { inProgress: true, feature: u.default.changeSetsFeaturePhase2 } } }), t2.A = d; }, 33909: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.formatErrorString = function(e3, t3) { @@ -41052,7 +44931,7 @@ var require_scripting_bundle = __commonJS({ }, t2.isErrorMatch = function(e3, t3) { if ("string" == typeof t3 && (t3 = { code: t3 }), !e3 || !t3 || !t3.code) return false; let i3 = t3.code; - return t3 && i3 && i3.match(d) && (i3 = this.sanitizeErrorCode(i3)), i3 && e3 === i3; + return t3 && i3 && i3.match(c) && (i3 = this.sanitizeErrorCode(i3)), i3 && e3 === i3; }, t2.getErrorInformation = function(e3) { const t3 = this.getErrorText(e3.code, e3.messageParams); let i3; @@ -41069,9 +44948,9 @@ var require_scripting_bundle = __commonJS({ }, t2.log = function(e3, t3, i3) { t3 ? (t3.code = this.sanitizeErrorCode(t3.code), l[t3.code] ? this.isErrorMatch(t3.code, l.ARCHITECT_UNSPECIFIED_ERROR.code) ? e3.error("{}: Error Code: {{}}, Error Message: {{}}", i3, t3.code, t3.message) : e3.info("{}: Error Code: {{}}, Error Message: {{}}", i3, t3.code, t3.message) : e3.error("Unknown Error Code: {{}} for error {{}}", t3.code, i3)) : e3.error("Error not passed in for logging."); }, t2.sanitizeErrorCode = function(e3) { - return e3 && e3.match(d) ? e3.replace(/^(VXMLGEN_)/, "ARCHITECT_").replace(/\./g, "_").toUpperCase() : e3; + return e3 && e3.match(c) ? e3.replace(/^(VXMLGEN_)/, "ARCHITECT_").replace(/\./g, "_").toUpperCase() : e3; }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(67210), s = i2(50100), l = i2(69773), u = i2(47957), d = /^(VXMLGEN_)|\./; + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(67210), s = i2(50100), l = i2(69773), u = i2(47957), c = /^(VXMLGEN_)|\./; }, 33923: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -41116,8 +44995,8 @@ var require_scripting_bundle = __commonJS({ t2.default = r2; }, 33924: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(80428), o = i2(53477), a = i2(81516), s = n2.__importDefault(i2(27203)), l = i2(50514), u = i2(12179), d = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(5478)), p = i2(47957); - class _ extends c.default { + const n2 = i2(31635), r2 = i2(80428), o = i2(53477), a = i2(81516), s = n2.__importDefault(i2(27203)), l = i2(50514), u = i2(12179), c = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(5478)), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends d.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -41128,10 +45007,10 @@ var require_scripting_bundle = __commonJS({ return l.getAssignedCustomerIntentsFailureReasons; } static get managedProperties() { - return [{ label: p.assignedCustomerIntents.assignedCustomerIntentsLabel, options: a.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalContactIdExpression").setDisableSpellcheck(true).setDefaultToExpression(true).facets.setMinLength(1)), property: "externalContactId", type: r2.expressionTypeNames.string }, { label: p.assignedCustomerIntents.assignedCustomerIntentsResult, options: o.ExpressionTypeAssignedCustomerIntentOptions.create((e3) => e3.setIninTestingField("AssignedCustomerIntentsExpression").setIsCollection(true).setAsOutput().setAllowSecure(true)), property: "getAssignedCustomerIntentsResult", type: r2.expressionTypeNames.assignedCustomerIntent }]; + return [{ label: _.assignedCustomerIntents.assignedCustomerIntentsLabel, options: a.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalContactIdExpression").setDisableSpellcheck(true).setDefaultToExpression(true).facets.setMinLength(1)), property: "externalContactId", type: r2.expressionTypeNames.string }, { label: _.assignedCustomerIntents.assignedCustomerIntentsResult, options: o.ExpressionTypeAssignedCustomerIntentOptions.create((e3) => e3.setIninTestingField("AssignedCustomerIntentsExpression").setIsCollection(true).setAsOutput().setAllowSecure(true)), property: "getAssignedCustomerIntentsResult", type: r2.expressionTypeNames.assignedCustomerIntent }]; } } - _.info = d.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: u.helpTopics.actions.getAssignedCustomerIntents, modelClass: i2(88176), name: p.actions.getAssignedCustomerIntents, scriptingName: "ArchActionGetAssignedCustomerIntents" }), t2.A = _; + h.info = c.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: u.helpTopics.actions.getAssignedCustomerIntents, modelClass: i2(88176), modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } }, name: _.actions.getAssignedCustomerIntents, scriptingName: "ArchActionGetAssignedCustomerIntents" }), t2.A = h; }, 33943: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "Bu ge\xE7erli de\u011Fil.", noInputReceived: "Herhangi bir girdi almad\u0131m." }, askForBoolean: { noInput: 'Devam etmek istiyorsan\u0131z "evet", istemiyorsan\u0131z "hay\u0131r" deyin.', noMatch: 'L\xFCtfen "evet" veya "hay\u0131r" deyin. Devam etmek istiyor musunuz?', question: "Devam etmek istiyor musunuz?", noInputDigitalBot: 'Devam etmek istiyorsan\u0131z "Evet" veya devam etmek istemiyorsan\u0131z "Hay\u0131r" giri\u015Fi yap\u0131n.', noMatchDigitalBot: 'L\xFCtfen "Evet" veya "Hay\u0131r" giri\u015Fi yap\u0131n. Devam etmek istiyor musunuz?' }, askForIntent: { noInput: 'Sorgunuzu a\xE7\u0131klayan k\u0131sa bir c\xFCmle s\xF6ylemeniz yeterlidir, \xF6rne\u011Fin: "Hesap bakiyemi kontrol et"', noMatch: "Ne yapmak istedi\u011Finizi bana tekrar s\xF6yleyin.", question: "Ne yapmak istersiniz?", noInputDigitalBot: 'L\xFCtfen sorgunuzu a\xE7\u0131klayan k\u0131sa bir c\xFCmle girin. \xD6rne\u011Fin, "Hesap bakiyemi kontrol et"' }, askForSlot: { askFor: "%1$s sor", noInput: "L\xFCtfen (buraya yuvan\u0131z\u0131n ad\u0131n\u0131 girin) de\u011Ferini s\xF6yleyin veya girin.", noInputWithSlot: "L\xFCtfen %1$s de\u011Ferini s\xF6yleyin veya girin.", noMatch: "L\xFCtfen (buraya yuvan\u0131z\u0131n ad\u0131n\u0131 girin) de\u011Ferini bana tekrar verin.", noMatchWithSlot: "L\xFCtfen %1$s de\u011Ferini bana tekrar verin.", question: "(L\xFCtfen buraya yuvan\u0131z\u0131n ad\u0131n\u0131 girin) nedir?", questionWithSlot: "%1$s nedir?", pleaseEnterSlotNameHere: "(L\xFCtfen buraya yuvan\u0131z\u0131n ad\u0131n\u0131 girin)", noInputDigitalBot: "L\xFCtfen (l\xFCtfen yuva ad\u0131n\u0131z\u0131 buraya girin) giri\u015Fi yap\u0131n.", noInputWithSlotDigitalBot: "L\xFCtfen %1$s giri\u015Fi yap\u0131n.", continuationPromptWithSlot: "\u015Eu ana kadar {{Slot.%1$s}} ald\u0131m, l\xFCtfen devam edin." }, askForNextSlot: { noInput: 'Ba\u015Fka bir sorgunuz varsa "evet" deyin ya da \xE7a\u011Fr\u0131y\u0131 sonland\u0131rmak i\xE7in "hay\u0131r" deyin.', noMatch: 'Ba\u015Fka bir sorgunuz varsa "evet" deyin ya da oturumu sonland\u0131rmak i\xE7in "hay\u0131r" deyin.', question: "Size yard\u0131mc\u0131 olabilece\u011Fim ba\u015Fka bir konu var m\u0131?", noInputDigitalBot: 'Ba\u015Fka bir sorgunuz varsa "Evet" giri\u015Fi yap\u0131n veya oturumu sonland\u0131rmak i\xE7in "Hay\u0131r" giri\u015Fi yap\u0131n.', noMatchDigitalBot: 'Ba\u015Fka bir sorgunuz varsa "Evet" giri\u015Fi yap\u0131n veya oturumu sonland\u0131rmak i\xE7in "Hay\u0131r" giri\u015Fi yap\u0131n.' }, askForPayment: { noInputDigitalBot: "Devam etmek i\xE7in l\xFCtfen \xF6deme bilgilerinizi girin.", noMatchDigitalBot: "Cevab\u0131n\u0131z\u0131 anlamad\u0131m. L\xFCtfen tekrar deneyin." }, askForAuthentication: { noInputDigitalBot: "Devam etmek i\xE7in l\xFCtfen kimlik do\u011Frulama bilgilerinizi girin.", noMatchDigitalBot: "Cevab\u0131n\u0131z\u0131 anlamad\u0131m. L\xFCtfen tekrar deneyin." }, askSurveyQuestion: { notApplicable: "Ge\xE7erli De\u011Fil", surveyAnswerOptionSequence: "'%2$s's i\xE7in %1$s \xF6\u011Fesine bas\u0131n.", surveyAnswerNotApplicableSequence: "Ge\xE7erli De\u011Fil i\xE7in y\u0131ld\u0131za bas\u0131n.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Ge\xE7erli De\u011Fil i\xE7in y\u0131ld\u0131za bas\u0131n.", voiceSurveyNoInputText: "L\xFCtfen soruyu yan\u0131tlay\u0131n.", voiceSurveyNoMatchText: "Sizi anlayamad\u0131m." }, commonModule: { exitCommonModule: "\xC7\u0131k\u0131\u015F Ortak Mod\xFCl" }, form: { noInputDigitalBot: "Devam etmek i\xE7in l\xFCtfen formu doldurun.", noMatchDigitalBot: "Devam etmek i\xE7in l\xFCtfen formu doldurun." }, messagingTemplate: { noInputDigitalBot: "L\xFCtfen mevcut se\xE7eneklerden birini belirleyin.", noMatchDigitalBot: "L\xFCtfen mevcut se\xE7eneklerden birini belirleyin." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Devam et", knowledgeAnswerHighlightFullArticleDefault: "Makalenin Tamam\u0131n\u0131 G\xF6r\xFCnt\xFCle", knowledgeInitialResponseMulti: "Hedefinizi netle\u015Ftirmeme yard\u0131mc\u0131 olmak i\xE7in l\xFCtfen a\u015Fa\u011F\u0131daki listeden bir say\u0131 se\xE7in:", knowledgeInitialResponseMultiRetry: "L\xFCtfen bir say\u0131 se\xE7in, \xF6rne\u011Fin '1'.\n\u0130\u015Fte tekrar se\xE7eneklerin listesi:", knowledgeNoMatch: "Bunlardan hi\xE7biri", knowledgeConfirmation: "Bu, sorunuza cevap verdi mi?", knowledgeFollowup: "Umar\u0131m sorunuzu yan\u0131tlayabildim. Bilmek istedi\u011Finiz herhangi bir konuyu sorabilirsiniz." }, noOverlay: { intent: { intentConfirmationStr1: "San\u0131r\u0131m \u015Fu i\u015Flemi yapmak istiyorsunuz:", intentConfirmationStr2: "Bu do\u011Fru mu?" }, youSaid: { youSaidConfirmationStr1: "\u015Eunu s\xF6ylediniz:", youSaidConfirmationStr2: "Bu do\u011Fru mu?", youSaidConfirmationStr1DigitalBot: "\u015Eunu girdiniz:" }, noInput: { noInputStr1: "L\xFCtfen \u015Funu s\xF6yleyin veya girin:", noInputStr1DigitalBot: "L\xFCtfen \u015Funu girin:" }, noMatch: { noMatchStr1: "L\xFCtfen \u015Funu bana verin:" }, whatIs: { whatIsQuestionStr1: "\u015Eu nedir:", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u015Eu ana kadar", iGotContinuationStr2: "ald\u0131m. L\xFCtfen devam edin." } }, defaultCallFlowOne: "Varsay\u0131lan Arama Ak\u0131\u015F\u0131", errorHandlingAgentEscalationConfirmation: "Bir dan\u0131\u015Fmanla konu\u015Fmak istiyorsunuz, de\u011Fil mi?", errorHandlingAgentEscalationHandover: "L\xFCtfen bekleyin, sizi birine aktar\u0131yorum.", errorHandlingErrorEventHandover: "\xDCzg\xFCn\xFCm, bir hata olu\u015Ftu. Sizi yard\u0131mc\u0131 olabilecek birine aktar\u0131rken l\xFCtfen bekleyin.", errorHandlingErrorEventHandoverVoiceSurvey: "\xDCzg\xFCn\xFCm, bir hata olu\u015Ftu. Ho\u015F\xE7a kal\u0131n.", errorHandlingRecognitionEventHandover: "\xDCzg\xFCn\xFCm, sizi anlamakta zorlan\u0131yorum. Sizi yard\u0131mc\u0131 olabilecek birine aktar\u0131rken l\xFCtfen bekleyin.", errorHandlingRecognitionEventHandoverVoiceSurvey: "\xDCzg\xFCn\xFCm, sizi anlamakta zorlan\u0131yorum. Ho\u015F\xE7a kal\u0131n.", errorHandlingTTS: "Maalesef bir hata olu\u015Ftu. L\xFCtfen tekrar aramay\u0131 deneyin.", initialGreetingTTS: "Merhaba, bu ilk selamlamad\u0131r.", initialState: "\u0130lk Durum", initialBotState: "Varsay\u0131lan Bot", initialDigitalBotState: "\u0130lk Selamlama", initialSurveyBotState: "Anket Botu", intentConfirmation: "San\u0131r\u0131m %1$s i\u015Flemini yapmak istiyorsunuz, do\u011Fru mudur?", mainMenu: "Ana Men\xFC", mainMenuTTS: "Ana Men\xFCdesiniz, ba\u011Flant\u0131y\u0131 kesmek i\xE7in 9'a bas\u0131n", mainTask: "G\xF6rev", settingsConfirmationNoInputApology: "\xDCzg\xFCn\xFCm sizi duyamad\u0131m. L\xFCtfen evet ya da hay\u0131r deyin.", settingsConfirmationNoInputApologyDigitalBot: '\xDCzg\xFCn\xFCm, sizden herhangi bir giri\u015F almad\u0131m. L\xFCtfen "Evet" veya "Hay\u0131r" giri\u015Fi yap\u0131n.', settingsConfirmationNoMatchApology: "\xDCzg\xFCn\xFCm, l\xFCtfen evet ya da hay\u0131r deyin.", settingsConfirmationNoMatchApologyDigitalBot: '\xDCzg\xFCn\xFCm, l\xFCtfen "Evet" veya "Hay\u0131r" giri\u015Fi yap\u0131n.', settingsNoInputApology: "\xDCzg\xFCn\xFCm sizi duyamad\u0131m.", settingsNoInputApologyDigitalBot: "\xDCzg\xFCn\xFCm, sizden herhangi bir giri\u015F almad\u0131m.", settingsEndOfSessionMessageDigitalBot: "Sizden bir s\xFCredir haber alamad\u0131\u011F\u0131m i\xE7in bu sohbeti kapat\u0131yorum, tekrar yard\u0131ma ihtiyac\u0131n\u0131z olursa l\xFCtfen yine gelin. Te\u015Fekk\xFCrler.", settingsNoMatchApology: "\xDCzg\xFCn\xFCm.", settingsNoToConfirmationApology: "Benim hatam.", periodicStateName: "Yineleme Durumu" }; }, 33948: (e2) => { @@ -41139,9 +45018,9 @@ var require_scripting_bundle = __commonJS({ }, 33951: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ParameterValidator = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(14187)), a = i2(30801), s = n2.__importDefault(i2(73198)), l = n2.__importDefault(i2(4648)), u = i2(96618), d = {}; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(14187)), a = i2(30801), s = n2.__importDefault(i2(73198)), l = n2.__importDefault(i2(4648)), u = i2(96618), c = {}; r2.default.each(a.actionTypeValues, function(e3) { - d[e3] = true; + c[e3] = true; }), t2.ParameterValidator = class { static _logError(e3, t3) { return console.error(e3), t3; @@ -41158,7 +45037,7 @@ var require_scripting_bundle = __commonJS({ this._logExpectedTypeError(t3, i3, n3, r3); } static expectActionType(e3, t3, i3) { - return this._expectTrue("string" == typeof e3 && true === d[e3], e3, "actionType string", t3, i3); + return this._expectTrue("string" == typeof e3 && true === c[e3], e3, "actionType string", t3, i3); } static expectArray(e3, t3, i3) { return this._expectTrue(r2.default.isArray(e3), e3, "array", t3, i3); @@ -41284,7 +45163,7 @@ var require_scripting_bundle = __commonJS({ } t2.default = r2; }, 34005: (e2) => { - e2.exports = { category: { audio: { identifier: "audio", name: "AR_CT_AUDIO", description: "AR_CT_DSC_AUDIO" }, cast: { identifier: "cast", name: "AR_CT_CAST", description: "AR_CT_DSC_CAST" }, comparison: { identifier: "comparison", name: "AR_CT_COMPARISON", description: "AR_CT_DSC_COMPARISON" }, complex: { identifier: "complex", name: "AR_CT_COMPLEX", description: "AR_CT_DSC_COMPLEX" }, datetime: { identifier: "datetime", name: "AR_CT_DTM", description: "AR_CT_DSC_DTM" }, email: { identifier: "email", name: "AR_CT_EMAIL", description: "AR_CT_DSC_EMAIL" }, financial: { identifier: "financial", name: "AR_CT_FINANCIAL", description: "AR_CT_DSC_FINANCIAL" }, list: { identifier: "list", name: "AR_CT_LIST", description: "AR_CT_DSC_LIST" }, logical: { identifier: "logical", name: "AR_CT_LOGICAL", description: "AR_CT_DSC_LOGICAL" }, language: { identifier: "language", name: "AR_CT_LANGUAGE", description: "AR_CT_DSC_LANGUAGE" }, json: { identifier: "json", name: "AR_CT_JSON", description: "AR_CT_DSC_JSON" }, mathematical: { identifier: "mathematical", name: "AR_CT_MATHEMATICAL", description: "AR_CT_DSC_MATHEMATICAL" }, operators: { identifier: "operators", name: "AR_CT_OPERATORS", description: "AR_CT_DSC_OPERATORS" }, prompt: { identifier: "prompt", name: "AR_CT_PROMPT", description: "AR_CT_DSC_PROMPT" }, search: { identifier: "search", name: "AR_CT_SEARCH", description: "AR_CT_DSC_SEARCH" }, statistical: { identifier: "statistical", name: "AR_CT_STATISTICAL", description: "AR_CT_DSC_STATISTICAL" }, survey: { identifier: "survey", name: "AR_CT_SURVEY", description: "AR_CT_DSC_SURVEY" }, text: { identifier: "text", name: "AR_CT_TEXT", description: "AR_CT_DSC_TEXT" }, unary: { identifier: "unary", name: "AR_CT_UNARY", description: "AR_CT_DSC_UNARY" } }, type: { AgentScorePair: { name: "AR_TP_AGENTSCOREPAIR", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_agent_score_pair", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: { featureConfigName: "botFlowsQueueSupportFeature" }, digitalbot: { featureConfigName: "botFlowsQueueSupportFeature" }, emailsend: {}, inboundcall: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueuecall: {}, inqueueemail: {}, inqueueshortmessage: {}, securecall: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: {}, voicemail: {}, workitem: {} }, version: "1.0", featureConfigName: "knownAgentRouting" }, nativeProperties: [{ id: "agent", name: "agent", descriptionId: "AR_TP_AGENTSCOREPAIR_PROP_AGENT_DSC", type: "usr", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "score", name: "score", descriptionId: "AR_TP_AGENTSCOREPAIR_PROP_SCORE_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: false }] }, Audio: { name: "AR_TP_AUDIO", allowArray: false, dataType: "AudioDataType", support: { classType: "AudioVariable", expressionDataType: "aud", expressionBaseDataType: "aud", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {} }, version: "1.0" }, nativeProperties: [] }, Boolean: { name: "AR_TP_BLN", allowArray: true, dataType: "BooleanDataType", support: { classType: "BoolVariable", expressionDataType: "bln", expressionBaseDataType: "bln", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {} }, version: "1.0" }, nativeProperties: [] }, StringKeyValuePair: { name: "AR_TP_STRINGKEYVALUEPAIR", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_string_key_value_pair", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundchat: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "key", name: "key", descriptionId: "AR_TP_STRINGKEYVALUEPAIR_PROP_KEY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "value", name: "value", descriptionId: "AR_TP_STRINGKEYVALUEPAIR_PROP_VALUE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ChatGuest: { name: "AR_TP_CHATGUEST", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_chat_guest", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundchat: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_CHATGUEST_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "displayName", name: "displayName", descriptionId: "AR_TP_CHATGUEST_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "avatarImageUrl", name: "avatarImageUrl", descriptionId: "AR_TP_CHATGUEST_PROP_AVATARIMAGEURL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "isAuthenticated", name: "isAuthenticated", descriptionId: "AR_TP_CHATGUEST_PROP_ISAUTHENTICATED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "customFields", name: "customFields", descriptionId: "AR_TP_CHATGUEST_PROP_CUSTOMFIELDS_DSC", type: "cpx_string_key_value_pair", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "authenticatedCustomFields", name: "authenticatedCustomFields", descriptionId: "AR_TP_CHATGUEST_PROP_AUTHENTICATEDCUSTOMFIELDS_DSC", type: "cpx_string_key_value_pair", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, Currency: { name: "AR_TP_CUR", allowArray: true, dataType: "CurrencyDataType", support: { classType: "CurrencyVariable", expressionDataType: "cur", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0" }, nativeProperties: [{ id: "amount", name: "amount", descriptionId: "AR_TP_CUR_PROP_AMOUNT_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "code", name: "code", descriptionId: "AR_TP_CUR_PROP_CODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false }] }, AssignedCustomerIntent: { name: "AR_TP_ASSIGNEDCUSTOMERINTENT", allowArray: true, dataType: "AssignedCustomerIntentDataType", support: { classType: "AssignedCustomerIntentVariable", expressionDataType: "aci", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inqueuecall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, outboundcall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, securecall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, voicemail: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, bot: { featureConfigName: "customerIntentsPhase1Cicero" }, digitalbot: { featureConfigName: "customerIntentsPhase1Cicero" }, emailsend: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inboundemail: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inboundshortmessage: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inqueueemail: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inqueueshortmessage: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, surveyinvite: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, workitem: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" } }, version: "1.0" }, nativeProperties: [{ id: "customerIntent", name: "customerIntent", descriptionId: "AR_TP_ASSIGNEDCUSTOMERINTENT_PROP_CUSTOMERINTENT_DSC", type: "cin", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dateMostRecentlyAssigned", name: "dateMostRecentlyAssigned", descriptionId: "AR_TP_ASSIGNEDCUSTOMERINTENT_PROP_DATEMOSTRECENTLYASSIGNED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, AssignedCustomerSegment: { name: "AR_TP_ASSIGNEDCUSTOMERSEGMENT", allowArray: true, dataType: "AssignedCustomerSegmentDataType", support: { classType: "AssignedCustomerSegmentVariable", expressionDataType: "acs", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: { featureConfigName: "botFlowsCustomerSegmentsFeature" }, digitalbot: { featureConfigName: "botFlowsCustomerSegmentsFeature" } }, version: "1.0" }, nativeProperties: [{ id: "customerSegment", name: "customerSegment", descriptionId: "AR_TP_ASSIGNEDCUSTOMERSEGMENT_PROP_CUSTOMERSEGMENT_DSC", type: "csg", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dateAssigned", name: "dateAssigned", descriptionId: "AR_TP_ASSIGNEDCUSTOMERSEGMENT_PROP_DATEASSIGNED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, CustomerSegment: { name: "AR_TP_CUSTOMERSEGMENT", allowArray: true, dataType: "CustomerSegmentDataType", support: { classType: "CustomerSegmentVariable", expressionDataType: "csg", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: { featureConfigName: "botFlowsCustomerSegmentsFeature" }, digitalbot: { featureConfigName: "botFlowsCustomerSegmentsFeature" } }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_CUSTOMERSEGMENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_CUSTOMERSEGMENT_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, CustomerIntent: { name: "AR_TP_CUSTOMERINTENT", allowArray: true, dataType: "CustomerIntentDataType", support: { classType: "CustomerIntentVariable", expressionDataType: "cin", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inqueuecall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, outboundcall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, securecall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, voicemail: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, bot: { featureConfigName: "customerIntentsPhase1Cicero" }, digitalbot: { featureConfigName: "customerIntentsPhase1Cicero" }, inboundemail: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, emailsend: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inboundshortmessage: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inqueueemail: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inqueueshortmessage: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, surveyinvite: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, workitem: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" } }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_CUSTOMERINTENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_CUSTOMERINTENT_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "categoryId", name: "categoryId", descriptionId: "AR_TP_CUSTOMERINTENT_PROP_CATEGORYID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, DateTime: { name: "AR_TP_DTM", allowArray: true, dataType: "DateTimeDataType", support: { classType: "DateTimeVariable", expressionDataType: "dtm", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {} }, version: "1.0" }, nativeProperties: [] }, Date: { name: "AR_TP_DATE", allowArray: true, dataType: "DateDataType", support: { classType: "DateVariable", expressionDataType: "dat", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, commonmodule: {}, emailsend: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {}, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0" }, nativeProperties: [] }, Decimal: { name: "AR_TP_DEC", allowArray: true, dataType: "DecimalDataType", support: { classType: "DecimalVariable", expressionDataType: "dec", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {} }, version: "1.0" }, nativeProperties: [] }, Division: { name: "AR_TP_DIVISION", allowArray: true, dataType: "DivisionDataType", support: { classType: "DivisionVariable", expressionDataType: "dvn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inboundshortmessage: {}, inboundemail: {}, emailsend: { featureConfigName: "emailSendFlows" }, inqueuecall: {}, inqueueshortmessage: {}, inqueueemail: {}, surveyinvite: {}, outboundcall: {}, securecall: {}, voicemail: {}, workflow: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0", featureConfigName: "customConversationAttributes" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_DIVISION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_DIVISION_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Duration: { name: "AR_TP_DUR", allowArray: true, dataType: "DurationDataType", support: { classType: "DurationVariable", expressionDataType: "dur", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {} }, version: "1.0" }, nativeProperties: [] }, Long: { name: "AR_TP_LNG", allowArray: true, dataType: "LongDataType", support: { classType: "IntegerVariable", expressionDataType: "int", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0" }, nativeProperties: [] }, Email: { name: "AR_TP_EMAIL", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_email", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundemail: {}, inqueueemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EMAIL_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "autoGenerated", name: "autoGenerated", descriptionId: "AR_TP_EMAIL_PROP_AUTOGENERATED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "spam", name: "spam", descriptionId: "AR_TP_EMAIL_PROP_SPAM_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "from", name: "from", descriptionId: "AR_TP_EMAIL_PROP_FROM_DSC", type: "cpx_email_address", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "to", name: "to", descriptionId: "AR_TP_EMAIL_PROP_TO_DSC", type: "cpx_email_address", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "cc", name: "cc", descriptionId: "AR_TP_EMAIL_PROP_CC_DSC", type: "cpx_email_address", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "bcc", name: "bcc", descriptionId: "AR_TP_EMAIL_PROP_BCC_DSC", type: "cpx_email_address", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "subject", name: "subject", descriptionId: "AR_TP_EMAIL_PROP_SUBJECT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "direction", name: "direction", descriptionId: "AR_TP_EMAIL_PROP_DIRECTION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "replyTo", name: "replyTo", descriptionId: "AR_TP_EMAIL_PROP_REPLYTO_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "route", name: "route", descriptionId: "AR_TP_EMAIL_PROP_ROUTE_DSC", type: "cpx_email_address", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "emailRouteFeature" }, { id: "body", name: "body", descriptionId: "AR_TP_EMAIL_PROP_BODY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "htmlBody", name: "htmlBody", descriptionId: "AR_TP_EMAIL_PROP_HTMLBODY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "attachments", name: "attachments", descriptionId: "AR_TP_EMAIL_PROP_ATTACHMENTS_DSC", type: "cpx_email_attachment", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "dateTimeUtc", name: "dateTimeUtc", descriptionId: "AR_TP_EMAIL_PROP_DATETIMEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, EmailAddress: { name: "AR_TP_EMAILADDRESS", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_email_address", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { commonmodule: {}, emailsend: {}, inboundemail: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: { featureConfigName: "sendNotificationAction" }, workitem: {} }, version: "1.0" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_EMAILADDRESS_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "id", name: "id", descriptionId: "AR_TP_EMAILADDRESS_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, EmailAttachment: { name: "AR_TP_EMAILATTACHMENT", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_email_attachment", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundemail: {}, inqueueemail: {}, inboundshortmessage: {}, inqueueshortmessage: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EMAILATTACHMENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "contentLength", name: "contentLength", descriptionId: "AR_TP_EMAILATTACHMENT_PROP_CONTENTLENGTH_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "contentType", name: "contentType", descriptionId: "AR_TP_EMAILATTACHMENT_PROP_CONTENTTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "contentUri", name: "contentUri", descriptionId: "AR_TP_EMAILATTACHMENT_PROP_CONTENTURI_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_EMAILATTACHMENT_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, DraftEmail: { name: "AR_TP_DRAFTEMAIL", allowArray: false, additionalProperties: "false", dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::draft_email", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {} }, version: "1.0", featureConfigName: "emailSendFlows" }, nativeProperties: [{ id: "attachments", name: "attachments", descriptionId: "AR_TP_DRAFTEMAIL_PROP_ATTACHMENTS_DSC", type: "jsn__architect::draft_email_attachment", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "bcc", name: "bcc", descriptionId: "AR_TP_DRAFTEMAIL_PROP_BCC_DSC", type: "jsn__architect::draft_email_address", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "cc", name: "cc", descriptionId: "AR_TP_DRAFTEMAIL_PROP_CC_DSC", type: "jsn__architect::draft_email_address", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "from", name: "from", descriptionId: "AR_TP_DRAFTEMAIL_PROP_FROM_DSC", type: "jsn__architect::draft_email_address", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "headers", name: "headers", descriptionId: "AR_TP_DRAFTEMAIL_PROP_HEADERS_DSC", type: "jsn", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "subject", name: "subject", descriptionId: "AR_TP_DRAFTEMAIL_PROP_SUBJECT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "to", name: "to", descriptionId: "AR_TP_DRAFTEMAIL_PROP_TO_DSC", type: "jsn__architect::draft_email_address", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, DraftEmailAddress: { name: "AR_TP_DRAFTEMAILADDRESS", allowArray: true, additionalProperties: "false", dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::draft_email_address", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {} }, version: "1.0", featureConfigName: "emailSendFlows" }, nativeProperties: [{ id: "email", name: "email", descriptionId: "AR_TP_DRAFTEMAILADDRESS_PROP_EMAIL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "name", name: "name", descriptionId: "AR_TP_DRAFTEMAILADDRESS_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, isOptional: true }] }, DraftEmailAttachment: { name: "AR_TP_DRAFTEMAILATTACHMENT", allowArray: true, additionalProperties: "false", dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::draft_email_attachment", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {} }, version: "1.0", featureConfigName: "emailSendFlows" }, nativeProperties: [{ id: "attachmentId", name: "attachmentId", descriptionId: "AR_TP_DRAFTEMAILATTACHMENT_PROP_ATTACHMENTID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "contentLength", name: "contentLength", descriptionId: "AR_TP_DRAFTEMAILATTACHMENT_PROP_CONTENTLENGTH_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "contentType", name: "contentType", descriptionId: "AR_TP_DRAFTEMAILATTACHMENT_PROP_CONTENTTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "contentUri", name: "contentUri", descriptionId: "AR_TP_DRAFTEMAILATTACHMENT_PROP_CONTENTURI_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_DRAFTEMAILATTACHMENT_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ExternalOrganization: { name: "AR_TP_EXTERNALORGANIZATION", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_organization", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "createDateTimeUtc", name: "createDateTimeUtc", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_CREATEDATETIMEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "modifyDateTimeUtc", name: "modifyDateTimeUtc", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_MODIFYDATETIMEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "kind", name: "kind", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_KIND_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "companyType", name: "companyType", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_COMPANYTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "industry", name: "industry", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_INDUSTRY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "primaryContactId", name: "primaryContactId", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_PRIMARYCONTACTID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "address", name: "address", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_ADDRESS_DSC", type: "cpx_external_address", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "phoneNumber", name: "phoneNumber", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_PHNBR_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "faxNumber", name: "faxNumber", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_FAXNUMBER_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "employeeCount", name: "employeeCount", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_EMPLOYEECOUNT_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "revenue", name: "revenue", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_REVENUE_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "tags", name: "tags", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_TAGS_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "tickers", name: "tickers", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_TICKERS_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "twitterInfo", name: "twitterInfo", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_TWITTERINFO_DSC", type: "cpx_external_twitter_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "externalSystemUrl", name: "externalSystemUrl", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_EXTERNALSYSTEMURL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "websites", name: "websites", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_WEBSITES_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "divisionId", name: "divisionId", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_DIVISIONID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "divisionedExternalContacts" }] }, ExternalAddress: { name: "AR_TP_EXTERNALADDRESS", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_address", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "address1", name: "address1", descriptionId: "AR_TP_EXTERNALADDRESS_PROP_ADDRESS1_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "address2", name: "address2", descriptionId: "AR_TP_EXTERNALADDRESS_PROP_ADDRESS2_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "city", name: "city", descriptionId: "AR_TP_EXTERNALADDRESS_PROP_CITY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "state", name: "state", descriptionId: "AR_TP_EXTERNALADDRESS_PROP_STATE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "postalCode", name: "postalCode", descriptionId: "AR_TP_EXTERNALADDRESS_PROP_POSTALCODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "countryCode", name: "countryCode", descriptionId: "AR_TP_EXTERNALADDRESS_PROP_COUNTRYCODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, Card: { name: "AR_TP_CARD", allowArray: true, dataType: "CardDataType", propertiesAllowAssignment: true, support: { classType: "CardVariable", expressionDataType: "crd", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0" }, nativeProperties: [{ id: "title", name: "title", descriptionId: "AR_TP_CARD_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, minLength: 1, displayValue: "AR_TP_CARD_PROP_TITLE_DISP_VAL" }, { id: "description", name: "description", descriptionId: "AR_TP_CARD_PROP_DESCRIPTION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_CARD_PROP_DESCRIPTION_DISP_VAL" }, { id: "image", name: "image", descriptionId: "AR_TP_CARD_PROP_IMAGE_DSC", type: "img", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_CARD_PROP_IMAGE_DISP_VAL" }, { id: "buttons", name: "buttons", descriptionId: "AR_TP_CARD_PROP_BUTTONS_DSC", type: "chc", isCollection: true, isComputed: false, version: "1.0", readOnly: true, minItems: 1, maxItems: 3, displayValue: "AR_TP_CARD_PROP_BUTTONS_DISP_VAL" }] }, Choice: { name: "AR_TP_CHOICE", allowArray: true, dataType: "ChoiceDataType", propertiesAllowAssignment: true, support: { classType: "ChoiceVariable", expressionDataType: "chc", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0" }, nativeProperties: [{ id: "label", name: "label", descriptionId: "AR_TP_CHOICE_PROP_LABEL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, isOptional: true, noValueRuntimeStr: "", displayValue: "AR_TP_CHOICE_PROP_LABEL_DISP_VAL" }, { id: "value", name: "value", descriptionId: "AR_TP_CHOICE_PROP_VALUE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, minLength: 1, noValueRuntimeStr: "Button Name", displayValue: "AR_TP_CHOICE_PROP_VALUE_DISP_VAL" }, { id: "type", name: "type", descriptionId: "AR_TP_CHOICE_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, yamlSerializeIfOutOfService: true, allowableValues: "postback,url", defaultValue: "postback", displayValue: "AR_TP_CHOICE_PROP_TYPE_DISP_VAL" }, { id: "command", name: "command", descriptionId: "AR_TP_CHOICE_PROP_COMMAND_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "botFlowsSupportDontKnowAnswers", yamlSerializeIfOutOfService: true, allowableValues: "skip,none", defaultValue: "none", displayValue: "AR_TP_CHOICE_PROP_COMMAND_DISP_VAL" }] }, QuickReplies: { name: "AR_TP_QUICKREPLIES", allowArray: false, dataType: "QuickRepliesDataType", propertiesAllowAssignment: true, support: { classType: "QuickRepliesVariable", expressionDataType: "qrl", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0" }, nativeProperties: [{ id: "buttons", name: "buttons", descriptionId: "AR_TP_QUICKREPLIES_PROP_BUTTONS_DSC", type: "chc", isCollection: true, isComputed: false, version: "1.0", readOnly: true, minItems: 1, maxItems: 10, maxItemsIsSoftLimit: true, displayValue: "AR_TP_QUICKREPLIES_PROP_BUTTONS_DISP_VAL" }, { id: "quickReplySummary", name: "quickReplySummary", descriptionId: "AR_TP_QUICKREPLIES_PROP_QUICKREPLYSUMMARY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "digitalBotFlowsAppleMessaging", maxLength: 512, displayValue: "AR_TP_QUICKREPLIES_PROP_QUICKREPLYSUMMARY_DISP_VAL" }] }, Carousel: { name: "AR_TP_CAROUSEL", allowArray: false, dataType: "CarouselDataType", propertiesAllowAssignment: true, support: { classType: "CarouselVariable", expressionDataType: "crs", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0" }, nativeProperties: [{ id: "cards", name: "cards", descriptionId: "AR_TP_CAROUSEL_PROP_CARDS_DSC", type: "crd", isCollection: true, isComputed: false, version: "1.0", readOnly: false, minItems: 1, maxItems: 10 }] }, Chooser: { name: "AR_TP_CHOOSER", allowArray: false, dataType: "ChooserDataType", propertiesAllowAssignment: true, support: { classType: "ChooserVariable", expressionDataType: "chs", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0" }, nativeProperties: [{ id: "presentation", name: "presentation", descriptionId: "AR_TP_CHOOSER_PROP_PRESENTATION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, allowableValues: "carousel,quickReplies" }, { id: "carousel", name: "carousel", descriptionId: "AR_TP_CHOOSER_PROP_CAROUSEL_DSC", type: "crs", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "quickReplies", name: "quickReplies", descriptionId: "AR_TP_CHOOSER_PROP_QUICKREPLIES_DSC", type: "qrl", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "timePicker", name: "timePicker", descriptionId: "AR_TP_CHOOSER_PROP_TIMEPICKER_DSC", type: "tpk", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "botFlowsMessagingDatePicker" }, { id: "listPicker", name: "listPicker", descriptionId: "AR_TP_CHOOSER_PROP_LISTPICKER_DSC", type: "lpk", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "botFlowsAppleListPicker" }] }, ExternalFacebookInfo: { name: "AR_TP_EXTERNALFACEBOOKINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_facebook_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "displayName", name: "displayName", descriptionId: "AR_TP_EXTERNALFACEBOOKINFO_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "ids", name: "ids", descriptionId: "AR_TP_EXTERNALFACEBOOKINFO_PROP_IDS_DSC", type: "cpx_external_facebook_id", isCollection: true, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalFacebookId: { name: "AR_TP_EXTERNALFACEBOOKID", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_facebook_id", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "scopedId", name: "scopedId", descriptionId: "AR_TP_EXTERNALFACEBOOKID_PROP_SCOPEDID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalLineInfo: { name: "AR_TP_EXTERNALLINEINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_line_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "displayName", name: "displayName", descriptionId: "AR_TP_EXTERNALLINEINFO_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "ids", name: "ids", descriptionId: "AR_TP_EXTERNALLINEINFO_PROP_IDS_DSC", type: "cpx_external_line_id", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, ExternalLineId: { name: "AR_TP_EXTERNALLINEID", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_line_id", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "userId", name: "userId", descriptionId: "AR_TP_EXTERNALLINEID_PROP_USERID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ExternalTwitterInfo: { name: "AR_TP_EXTERNALTWITTERINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_twitter_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EXTERNALTWITTERINFO_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "name", name: "name", descriptionId: "AR_TP_EXTERNALTWITTERINFO_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "screenName", name: "screenName", descriptionId: "AR_TP_EXTERNALTWITTERINFO_PROP_SCREENNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalPhoneNumber: { name: "AR_TP_EXTERNALPHONENUMBER", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_phone_number", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "display", name: "display", descriptionId: "AR_TP_EXTERNALPHONENUMBER_PROP_DISPLAY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "extension", name: "extension", descriptionId: "AR_TP_EXTERNALPHONENUMBER_PROP_EXTENSION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "userInput", name: "userInput", descriptionId: "AR_TP_EXTERNALPHONENUMBER_PROP_USERINPUT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "e164", name: "e164", descriptionId: "AR_TP_EXTERNALPHONENUMBER_PROP_E164_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "countryCode", name: "countryCode", descriptionId: "AR_TP_EXTERNALPHONENUMBER_PROP_COUNTRYCODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "acceptsSMS", name: "acceptsSMS", descriptionId: "AR_TP_EXTERNALPHONENUMBER_PROP_ACCEPTSSMS_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalWhatsAppInfo: { name: "AR_TP_EXTERNALWHATSAPPINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_whats_app_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "displayName", name: "displayName", descriptionId: "AR_TP_EXTERNALWHATSAPPINFO_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "phoneNumber", name: "phoneNumber", descriptionId: "AR_TP_EXTERNALWHATSAPPINFO_PROP_PHNBR_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalContact: { name: "AR_TP_EXTERNALCONTACT", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_contact", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "createDateTimeUtc", name: "createDateTimeUtc", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_CREATEDATETIMEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "modifyDateTimeUtc", name: "modifyDateTimeUtc", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_MODIFYDATETIMEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "kind", name: "kind", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_KIND_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "divisionId", name: "divisionId", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_DIVISIONID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "divisionedExternalContacts" }, { id: "externalOrganization", name: "externalOrganization", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_EXTERNALORGANIZATION_DSC", type: "cpx_external_organization", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "facebookInfo", name: "facebookInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_FACEBOOKINFO_DSC", type: "cpx_external_facebook_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "firstName", name: "firstName", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_FIRSTNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "middleName", name: "middleName", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_MIDDLENAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "lastName", name: "lastName", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_LASTNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "lineInfo", name: "lineInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_LINEINFO_DSC", type: "cpx_external_line_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "salutation", name: "salutation", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_SALUTATION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "title", name: "title", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "twitterInfo", name: "twitterInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_TWITTERINFO_DSC", type: "cpx_external_twitter_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "whatsAppInfo", name: "whatsAppInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_WHATSAPPINFO_DSC", type: "cpx_external_whats_app_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "workPhone", name: "workPhone", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_WORKPHONE_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "cellPhone", name: "cellPhone", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_CELLPHONE_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "homePhone", name: "homePhone", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_HOMEPHONE_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "otherPhone", name: "otherPhone", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_OTHERPHONE_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "workEmail", name: "workEmail", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_WORKEMAIL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "personalEmail", name: "personalEmail", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_PERSONALEMAIL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "otherEmail", name: "otherEmail", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_OTHEREMAIL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "address", name: "address", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_ADDRESS_DSC", type: "cpx_external_address", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "surveyOptOut", name: "surveyOptOut", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_SURVEYOPTOUT_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "externalSystemUrl", name: "externalSystemUrl", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_EXTERNALSYSTEMURL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "type", name: "type", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction", allowableValues: "Ephemeral,Identified,Curated" }, { id: "instagramInfo", name: "instagramInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_INSTAGRAMINFO_DSC", type: "cpx_external_instagram_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction", patchable: true }, { id: "externalIdInfo", name: "externalIdInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_EXTERNALIDINFO_DSC", type: "cpx_external_id_info", isCollection: true, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction", patchable: true }, { id: "appleInfo", name: "appleInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_APPLEINFO_DSC", type: "cpx_external_apple_info", isCollection: true, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction", patchable: true }, { id: "canonicalContactId", name: "canonicalContactId", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_CANONICALCONTACTID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction" }, { id: "mergedFrom", name: "mergedFrom", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_MERGEDFROM_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction" }, { id: "mergedTo", name: "mergedTo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_MERGEDTO_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction" }, { id: "mergeSet", name: "mergeSet", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_MERGESET_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction" }, { id: "customFields", name: "customFields", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_CUSTOMFIELDS_DSC", type: "jsn", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction", patchable: true }] }, ExternalInstagramInfo: { name: "AR_TP_EXTERNALINSTAGRAMINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_instagram_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureConfigName: "externalContactUpdateAction" }, nativeProperties: [{ id: "displayName", name: "displayName", descriptionId: "AR_TP_EXTERNALINSTAGRAMINFO_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "handle", name: "handle", descriptionId: "AR_TP_EXTERNALINSTAGRAMINFO_PROP_HANDLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "ids", name: "ids", descriptionId: "AR_TP_EXTERNALINSTAGRAMINFO_PROP_IDS_DSC", type: "cpx_external_instagram_scoped_id", isCollection: true, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalInstagramScopedId: { name: "AR_TP_EXTERNALINSTAGRAMSCOPEDID", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_instagram_scoped_id", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureConfigName: "externalContactUpdateAction" }, nativeProperties: [{ id: "scopedId", name: "scopedId", descriptionId: "AR_TP_EXTERNALINSTAGRAMSCOPEDID_PROP_SCOPEDID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalAppleInfo: { name: "AR_TP_EXTERNALAPPLEINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_apple_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureConfigName: "externalContactUpdateAction" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EXTERNALAPPLEINFO_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalIdInfo: { name: "AR_TP_EXTERNALIDINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_id_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureConfigName: "externalContactUpdateAction" }, nativeProperties: [{ id: "externalSource", name: "externalSource", descriptionId: "AR_TP_EXTERNALIDINFO_PROP_EXTERNALSOURCE_DSC", type: "cpx_external_source", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "value", name: "value", descriptionId: "AR_TP_EXTERNALIDINFO_PROP_VALUE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalSource: { name: "AR_TP_EXTERNALSOURCE", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_source", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureConfigName: "externalContactUpdateAction" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EXTERNALSOURCE_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "name", name: "name", descriptionId: "AR_TP_EXTERNALSOURCE_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "active", name: "active", descriptionId: "AR_TP_EXTERNALSOURCE_PROP_ACTIVE_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "linkConfiguration", name: "linkConfiguration", descriptionId: "AR_TP_EXTERNALSOURCE_PROP_LINKCONFIGURATION_DSC", type: "cpx_external_link_configuration", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ExternalLinkConfiguration: { name: "AR_TP_EXTERNALLINKCONFIGURATION", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_link_configuration", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureConfigName: "externalContactUpdateAction" }, nativeProperties: [{ id: "uriTemplate", name: "uriTemplate", descriptionId: "AR_TP_EXTERNALLINKCONFIGURATION_PROP_URITEMPLATE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Image: { name: "AR_TP_IMAGE", allowArray: true, dataType: "ImageDataType", support: { classType: "ImageVariable", expressionDataType: "img", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_IMAGE_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_IMAGE_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "url", name: "url", descriptionId: "AR_TP_IMAGE_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, EmptyJson: { name: "AR_TP_EMPTYJSON", allowArray: true, dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::empty_json", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { workitem: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, json: { name: "AR_TP_JSON", allowArray: true, dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true, featureConfigName: "botFlowsDigitalBotFlowsJSONFeature" }, commonmodule: {}, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true, featureConfigName: "botFlowsDigitalBotFlowsJSONFeature" }, inboundemail: {}, emailsend: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {}, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: {} }, version: "1.0" }, nativeProperties: [] }, FormInput: { name: "AR_TP_FORMINPUT", allowArray: false, dataType: "FormInputDataType", propertiesAllowAssignment: true, support: { classType: "FormInputVariable", expressionDataType: "fip", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAppleFormsPhase2" }, nativeProperties: [{ id: "title", name: "title", descriptionId: "AR_TP_FORMINPUT_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, maxLength: 512, displayValue: "AR_TP_FORMINPUT_PROP_TITLE_DISP_VAL" }, { id: "subtitle", name: "subtitle", descriptionId: "AR_TP_FORMINPUT_PROP_SUBTITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, maxLength: 512, displayValue: "AR_TP_FORMINPUT_PROP_SUBTITLE_DISP_VAL" }, { id: "placeholderText", name: "placeholderText", descriptionId: "AR_TP_FORMINPUT_PROP_PLACEHOLDERTEXT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, maxLength: 512, displayValue: "AR_TP_FORMINPUT_PROP_PLACEHOLDERTEXT_DISP_VAL" }, { id: "isMultipleLine", name: "isMultipleLine", descriptionId: "AR_TP_FORMINPUT_PROP_ISMULTIPLELINE_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_FORMINPUT_PROP_ISMULTIPLELINE_DISP_VAL" }, { id: "isRequired", name: "isRequired", descriptionId: "AR_TP_FORMINPUT_PROP_ISREQUIRED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_FORMINPUT_PROP_ISREQUIRED_DISP_VAL" }] }, JourneyApp: { name: "AR_TP_JOURNEYAPP", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_app", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "journeyMobileAppData" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_JOURNEYAPP_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "namespace", name: "namespace", descriptionId: "AR_TP_JOURNEYAPP_PROP_NAMESPACE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "version", name: "version", descriptionId: "AR_TP_JOURNEYAPP_PROP_VERSION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "buildNumber", name: "buildNumber", descriptionId: "AR_TP_JOURNEYAPP_PROP_BUILDNUMBER_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyAction: { name: "AR_TP_JOURNEYACTION", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_action", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYACTION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "actionMap", name: "actionMap", descriptionId: "AR_TP_JOURNEYACTION_PROP_ACTIONMAP_DSC", type: "cpx_journey_action_map", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyActionMap: { name: "AR_TP_JOURNEYACTIONMAP", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_action_map", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYACTIONMAP_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "version", name: "version", descriptionId: "AR_TP_JOURNEYACTIONMAP_PROP_VERSION_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyBrowser: { name: "AR_TP_JOURNEYBROWSER", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_browser", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "family", name: "family", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_FAMILY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "version", name: "version", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_VERSION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "lang", name: "lang", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_LANG_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "fingerprint", name: "fingerprint", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_FINGERPRINT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "isMobile", name: "isMobile", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_ISMOBILE_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "viewHeight", name: "viewHeight", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_VIEWHEIGHT_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "viewWidth", name: "viewWidth", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_VIEWWIDTH_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "featuresFlash", name: "featuresFlash", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_FEATURESFLASH_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "featuresJava", name: "featuresJava", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_FEATURESJAVA_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "featuresPdf", name: "featuresPdf", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_FEATURESPDF_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "featuresWebrtc", name: "featuresWebrtc", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_FEATURESWEBRTC_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyCampaign: { name: "AR_TP_JOURNEYCAMPAIGN", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_campaign", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "content", name: "content", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_CONTENT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "medium", name: "medium", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_MEDIUM_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "source", name: "source", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_SOURCE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "term", name: "term", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_TERM_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "clickId", name: "clickId", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_CLICKID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "network", name: "network", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_NETWORK_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyContext: { name: "AR_TP_JOURNEYCONTEXT", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_context", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "customer", name: "customer", descriptionId: "AR_TP_JOURNEYCONTEXT_PROP_CUSTOMER_DSC", type: "cpx_journey_customer", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "customerSession", name: "customerSession", descriptionId: "AR_TP_JOURNEYCONTEXT_PROP_CUSTOMERSESSION_DSC", type: "cpx_journey_customer_session", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "triggeringAction", name: "triggeringAction", descriptionId: "AR_TP_JOURNEYCONTEXT_PROP_TRIGGERINGACTION_DSC", type: "cpx_journey_action", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyCustomEventAttribute: { name: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_custom_event_attribute", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dataType", name: "dataType", descriptionId: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE_PROP_DATATYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "value", name: "value", descriptionId: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE_PROP_VALUE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyCustomEventAttributeList: { name: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_custom_event_attribute_list", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dataType", name: "dataType", descriptionId: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST_PROP_DATATYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "values", name: "values", descriptionId: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST_PROP_VALUES_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, JourneyCustomer: { name: "AR_TP_JOURNEYCUSTOMER", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_customer", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYCUSTOMER_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "idType", name: "idType", descriptionId: "AR_TP_JOURNEYCUSTOMER_PROP_IDTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyCustomerSession: { name: "AR_TP_JOURNEYCUSTOMERSESSION", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_customer_session", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYCUSTOMERSESSION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "type", name: "type", descriptionId: "AR_TP_JOURNEYCUSTOMERSESSION_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyDevice: { name: "AR_TP_JOURNEYDEVICE", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_device", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "category", name: "category", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_CATEGORY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "type", name: "type", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "isMobile", name: "isMobile", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_ISMOBILE_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "screenHeight", name: "screenHeight", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_SCREENHEIGHT_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "screenWidth", name: "screenWidth", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_SCREENWIDTH_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "fingerprint", name: "fingerprint", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_FINGERPRINT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "manufacturer", name: "manufacturer", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_MANUFACTURER_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "journeyMobileAppData" }, { id: "osFamily", name: "osFamily", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_OSFAMILY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "osVersion", name: "osVersion", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_OSVERSION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "screenDensity", name: "screenDensity", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_SCREENDENSITY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "journeyMobileAppData" }] }, JourneyGeolocation: { name: "AR_TP_JOURNEYGEOLOCATION", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_geolocation", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "country", name: "country", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_COUNTRY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "countryName", name: "countryName", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_COUNTRYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "latitude", name: "latitude", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_LATITUDE_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "longitude", name: "longitude", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_LONGITUDE_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "locality", name: "locality", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_LOCALITY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "postalCode", name: "postalCode", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_POSTALCODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "region", name: "region", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_REGION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "regionName", name: "regionName", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_REGIONNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "source", name: "source", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_SOURCE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "timezone", name: "timezone", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_TIMEZONE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyNetworkConnectivity: { name: "AR_TP_JOURNEYNETWORKCONNECTIVITY", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_network_connectivity", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "journeyMobileAppData" }, nativeProperties: [{ id: "carrier", name: "carrier", descriptionId: "AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_CARRIER_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "bluetoothEnabled", name: "bluetoothEnabled", descriptionId: "AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_BLUETOOTHENABLED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "cellularEnabled", name: "cellularEnabled", descriptionId: "AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_CELLULARENABLED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "wifiEnabled", name: "wifiEnabled", descriptionId: "AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_WIFIENABLED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneySessionOutcomeAchievement: { name: "AR_TP_JOURNEYSESSIONOUTCOMEACHIEVEMENT", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_session_outcome_achievement", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYSESSIONOUTCOMEACHIEVEMENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "achievedDate", name: "achievedDate", descriptionId: "AR_TP_JOURNEYSESSIONOUTCOMEACHIEVEMENT_PROP_ACHIEVEDDATE_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneySdkLibrary: { name: "AR_TP_JOURNEYSDKLIBRARY", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_sdk_library", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "journeyMobileAppData" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_JOURNEYSDKLIBRARY_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "version", name: "version", descriptionId: "AR_TP_JOURNEYSDKLIBRARY_PROP_VERSION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyOutcome: { name: "AR_TP_JOURNEYOUTCOME", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_outcome", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneyOutcomes" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "description", name: "description", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_DESCRIPTION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "displayName", name: "displayName", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "version", name: "version", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_VERSION_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "createdDateUtc", name: "createdDateUtc", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_CREATEDDATEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "modifiedDateUtc", name: "modifiedDateUtc", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_MODIFIEDDATEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "isActive", name: "isActive", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_ISACTIVE_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyOutcomeScore: { name: "AR_TP_JOURNEYOUTCOMESCORE", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_outcome_score", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: { featureConfigName: "journeyOutcomeScoresBySessionId" }, inboundshortmessage: { featureConfigName: "journeyOutcomeScoresBySessionId" }, inqueueshortmessage: { featureConfigName: "journeyOutcomeScoresBySessionId" }, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: { featureConfigName: "journeyOutcomeScoresBySessionId" } }, version: "1.0", featureConfigName: "orgAvailabilityJourneyOutcomeScores" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYOUTCOMESCORE_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "probability", name: "probability", descriptionId: "AR_TP_JOURNEYOUTCOMESCORE_PROP_PROBABILITY_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "sessionMaxProbability", name: "sessionMaxProbability", descriptionId: "AR_TP_JOURNEYOUTCOMESCORE_PROP_SESSIONMAXPROBABILITY_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyPage: { name: "AR_TP_JOURNEYPAGE", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_page", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "url", name: "url", descriptionId: "AR_TP_JOURNEYPAGE_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "title", name: "title", descriptionId: "AR_TP_JOURNEYPAGE_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "domain", name: "domain", descriptionId: "AR_TP_JOURNEYPAGE_PROP_DOMAIN_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "fragment", name: "fragment", descriptionId: "AR_TP_JOURNEYPAGE_PROP_FRAGMENT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "hostname", name: "hostname", descriptionId: "AR_TP_JOURNEYPAGE_PROP_HOSTNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "keywords", name: "keywords", descriptionId: "AR_TP_JOURNEYPAGE_PROP_KEYWORDS_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "lang", name: "lang", descriptionId: "AR_TP_JOURNEYPAGE_PROP_LANG_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "pathname", name: "pathname", descriptionId: "AR_TP_JOURNEYPAGE_PROP_PATHNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "queryString", name: "queryString", descriptionId: "AR_TP_JOURNEYPAGE_PROP_QUERYSTRING_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "breadcrumb", name: "breadcrumb", descriptionId: "AR_TP_JOURNEYPAGE_PROP_BREADCRUMB_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, JourneyReferrer: { name: "AR_TP_JOURNEYREFERRER", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_referrer", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "url", name: "url", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "domain", name: "domain", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_DOMAIN_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "hostname", name: "hostname", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_HOSTNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "keywords", name: "keywords", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_KEYWORDS_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "pathname", name: "pathname", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_PATHNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "queryString", name: "queryString", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_QUERYSTRING_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "fragment", name: "fragment", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_FRAGMENT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "medium", name: "medium", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_MEDIUM_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneySegment: { name: "AR_TP_JOURNEYSEGMENT", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_segment", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, commonmodule: {}, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySegments" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "color", name: "color", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_COLOR_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "createdDateUtc", name: "createdDateUtc", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_CREATEDDATEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "description", name: "description", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_DESCRIPTION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "displayName", name: "displayName", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "isActive", name: "isActive", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_ISACTIVE_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "modifiedDateUtc", name: "modifiedDateUtc", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_MODIFIEDDATEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "shouldDisplayToAgent", name: "shouldDisplayToAgent", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_SHOULDDISPLAYTOAGENT_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "version", name: "version", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_VERSION_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneySessionSegmentAssignment: { name: "AR_TP_JOURNEYSESSIONSEGMENTASSIGNMENT", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_session_segment_assignment", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYSESSIONSEGMENTASSIGNMENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "assignedDate", name: "assignedDate", descriptionId: "AR_TP_JOURNEYSESSIONSEGMENTASSIGNMENT_PROP_ASSIGNEDDATE_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneySession: { name: "AR_TP_JOURNEYSESSION", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_session", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYSESSION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "createdDate", name: "createdDate", descriptionId: "AR_TP_JOURNEYSESSION_PROP_CREATEDDATE_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "customerId", name: "customerId", descriptionId: "AR_TP_JOURNEYSESSION_PROP_CUSTOMERID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "customerIdType", name: "customerIdType", descriptionId: "AR_TP_JOURNEYSESSION_PROP_CUSTOMERIDTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "divisionIds", name: "divisionIds", descriptionId: "AR_TP_JOURNEYSESSION_PROP_DIVISIONIDS_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "journeySessionDivisionIds" }, { id: "type", name: "type", descriptionId: "AR_TP_JOURNEYSESSION_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "externalId", name: "externalId", descriptionId: "AR_TP_JOURNEYSESSION_PROP_EXTERNALID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "externalUrl", name: "externalUrl", descriptionId: "AR_TP_JOURNEYSESSION_PROP_EXTERNALURL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "outcomeAchievements", name: "outcomeAchievements", descriptionId: "AR_TP_JOURNEYSESSION_PROP_OUTCOMEACHIEVEMENTS_DSC", type: "cpx_journey_session_outcome_achievement", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "segmentAssignments", name: "segmentAssignments", descriptionId: "AR_TP_JOURNEYSESSION_PROP_SEGMENTASSIGNMENTS_DSC", type: "cpx_journey_session_segment_assignment", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "attributes", name: "attributes", descriptionId: "AR_TP_JOURNEYSESSION_PROP_ATTRIBUTES_DSC", type: "cpx_journey_custom_event_attribute", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "attributeLists", name: "attributeLists", descriptionId: "AR_TP_JOURNEYSESSION_PROP_ATTRIBUTELISTS_DSC", type: "cpx_journey_custom_event_attribute_list", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "awayDate", name: "awayDate", descriptionId: "AR_TP_JOURNEYSESSION_PROP_AWAYDATE_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "browser", name: "browser", descriptionId: "AR_TP_JOURNEYSESSION_PROP_BROWSER_DSC", type: "cpx_journey_browser", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "device", name: "device", descriptionId: "AR_TP_JOURNEYSESSION_PROP_DEVICE_DSC", type: "cpx_journey_device", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "geolocation", name: "geolocation", descriptionId: "AR_TP_JOURNEYSESSION_PROP_GEOLOCATION_DSC", type: "cpx_journey_geolocation", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "idleDate", name: "idleDate", descriptionId: "AR_TP_JOURNEYSESSION_PROP_IDLEDATE_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "ipAddress", name: "ipAddress", descriptionId: "AR_TP_JOURNEYSESSION_PROP_IPADDRESS_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "ipOrganization", name: "ipOrganization", descriptionId: "AR_TP_JOURNEYSESSION_PROP_IPORGANIZATION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "lastPage", name: "lastPage", descriptionId: "AR_TP_JOURNEYSESSION_PROP_LASTPAGE_DSC", type: "cpx_journey_page", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "mktCampaign", name: "mktCampaign", descriptionId: "AR_TP_JOURNEYSESSION_PROP_MKTCAMPAIGN_DSC", type: "cpx_journey_campaign", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "referrer", name: "referrer", descriptionId: "AR_TP_JOURNEYSESSION_PROP_REFERRER_DSC", type: "cpx_journey_referrer", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "searchTerms", name: "searchTerms", descriptionId: "AR_TP_JOURNEYSESSION_PROP_SEARCHTERMS_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "userAgentString", name: "userAgentString", descriptionId: "AR_TP_JOURNEYSESSION_PROP_USERAGENTSTRING_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "durationInSeconds", name: "durationInSeconds", descriptionId: "AR_TP_JOURNEYSESSION_PROP_DURATIONINSECONDS_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "eventCount", name: "eventCount", descriptionId: "AR_TP_JOURNEYSESSION_PROP_EVENTCOUNT_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "pageviewCount", name: "pageviewCount", descriptionId: "AR_TP_JOURNEYSESSION_PROP_PAGEVIEWCOUNT_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "screenviewCount", name: "screenviewCount", descriptionId: "AR_TP_JOURNEYSESSION_PROP_SCREENVIEWCOUNT_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "app", name: "app", descriptionId: "AR_TP_JOURNEYSESSION_PROP_APP_DSC", type: "cpx_journey_app", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "journeyMobileAppData" }, { id: "networkConnectivity", name: "networkConnectivity", descriptionId: "AR_TP_JOURNEYSESSION_PROP_NETWORKCONNECTIVITY_DSC", type: "cpx_journey_network_connectivity", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "journeyMobileAppData" }, { id: "sdkLibrary", name: "sdkLibrary", descriptionId: "AR_TP_JOURNEYSESSION_PROP_SDKLIBRARY_DSC", type: "cpx_journey_sdk_library", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "journeyMobileAppData" }] }, LineItem: { name: "AR_TP_LINEITEM", allowArray: true, dataType: "LineItemType", propertiesAllowAssignment: true, support: { classType: "LineItemVariable", expressionDataType: "lni", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsApplePay" }, nativeProperties: [{ id: "listingName", name: "listingName", descriptionId: "AR_TP_LINEITEM_PROP_LISTINGNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_LINEITEM_PROP_LISTINGNAME_DISP_VAL" }, { id: "listingPrice", name: "listingPrice", descriptionId: "AR_TP_LINEITEM_PROP_LISTINGPRICE_DSC", type: "cur", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_LINEITEM_PROP_LISTINGPRICE_DISP_VAL" }] }, ShippingOption: { name: "AR_TP_SHIPPINGOPTION", allowArray: true, dataType: "ShippingOptionType", propertiesAllowAssignment: true, support: { classType: "ShippingOptionVariable", expressionDataType: "sho", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsApplePay" }, nativeProperties: [{ id: "label", name: "label", descriptionId: "AR_TP_SHIPPINGOPTION_PROP_LABEL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_SHIPPINGOPTION_PROP_LABEL_DISP_VAL" }, { id: "identifier", name: "identifier", descriptionId: "AR_TP_SHIPPINGOPTION_PROP_IDENTIFIER_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_SHIPPINGOPTION_PROP_IDENTIFIER_DISP_VAL" }, { id: "shippingDetails", name: "shippingDetails", descriptionId: "AR_TP_SHIPPINGOPTION_PROP_SHIPPINGDETAILS_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_SHIPPINGOPTION_PROP_SHIPPINGDETAILS_DISP_VAL" }, { id: "price", name: "price", descriptionId: "AR_TP_SHIPPINGOPTION_PROP_PRICE_DSC", type: "cur", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_SHIPPINGOPTION_PROP_PRICE_DISP_VAL" }] }, ListPicker: { name: "AR_TP_LISTPICKER", allowArray: false, dataType: "ListPickerType", propertiesAllowAssignment: true, support: { classType: "ListPickerVariable", expressionDataType: "lpk", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAppleListPicker" }, nativeProperties: [{ id: "sections", name: "sections", descriptionId: "AR_TP_LISTPICKER_PROP_SECTIONS_DSC", type: "lps", isCollection: true, isComputed: false, version: "1.0", readOnly: false, minItems: 1, maxItems: 10, displayValue: "AR_TP_LISTPICKER_PROP_SECTIONS_DISP_VAL" }, { id: "receivedMessageImage", name: "receivedMessageImage", descriptionId: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEIMAGE_DSC", type: "img", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEIMAGE_DISP_VAL" }, { id: "receivedMessageTitle", name: "receivedMessageTitle", descriptionId: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGETITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, minLength: 1, maxLength: 256, displayValue: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGETITLE_DISP_VAL", overrides: [{ propertyName: "maxLength", newValue: "1024", featureConfigName: "whatsAppListPickerFeature" }] }, { id: "receivedMessageSubtitle", name: "receivedMessageSubtitle", descriptionId: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGESUBTITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, maxLength: 256, displayValue: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGESUBTITLE_DISP_VAL" }, { id: "receivedMessageButtonText", name: "receivedMessageButtonText", descriptionId: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEBUTTONTEXT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "whatsAppListPickerFeature", minLength: 1, maxLength: 20, displayValue: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEBUTTONTEXT_DISP_VAL", supportedSessionSources: ["whatsapp"] }, { id: "replyMessageImage", name: "replyMessageImage", descriptionId: "AR_TP_LISTPICKER_PROP_REPLYMESSAGEIMAGE_DSC", type: "img", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_LISTPICKER_PROP_REPLYMESSAGEIMAGE_DISP_VAL", supportedSessionSources: ["applebusinesschat"] }, { id: "replyMessageSubtitle", name: "replyMessageSubtitle", descriptionId: "AR_TP_LISTPICKER_PROP_REPLYMESSAGESUBTITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, maxLength: 256, displayValue: "AR_TP_LISTPICKER_PROP_REPLYMESSAGESUBTITLE_DISP_VAL", supportedSessionSources: ["applebusinesschat"] }] }, ListPickerItem: { name: "AR_TP_LISTPICKERITEM", allowArray: true, dataType: "ListPickerItemType", propertiesAllowAssignment: true, support: { classType: "ListPickerItemVariable", expressionDataType: "lpi", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAppleListPicker" }, nativeProperties: [{ id: "title", name: "title", descriptionId: "AR_TP_LISTPICKERITEM_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, minLength: 1, maxLength: 50, displayValue: "AR_TP_LISTPICKERITEM_PROP_TITLE_DISP_VAL" }, { id: "subtitle", name: "subtitle", descriptionId: "AR_TP_LISTPICKERITEM_PROP_SUBTITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, maxLength: 256, displayValue: "AR_TP_LISTPICKERITEM_PROP_SUBTITLE_DISP_VAL" }, { id: "image", name: "image", descriptionId: "AR_TP_LISTPICKERITEM_PROP_IMAGE_DSC", type: "img", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_LISTPICKERITEM_PROP_IMAGE_DISP_VAL" }] }, ListPickerSection: { name: "AR_TP_LISTPICKERSECTION", allowArray: true, dataType: "ListPickerSectionType", propertiesAllowAssignment: true, support: { classType: "ListPickerSectionVariable", expressionDataType: "lps", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAppleListPicker" }, nativeProperties: [{ id: "title", name: "title", descriptionId: "AR_TP_LISTPICKERSECTION_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, minLength: 1, maxLength: 256, displayValue: "AR_TP_LISTPICKERSECTION_PROP_TITLE_DISP_VAL" }, { id: "multiSelectEnabled", name: "multiSelectEnabled", descriptionId: "AR_TP_LISTPICKERSECTION_PROP_MULTISELECTENABLED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_LISTPICKERSECTION_PROP_MULTISELECTENABLED_DISP_VAL" }, { id: "items", name: "items", descriptionId: "AR_TP_LISTPICKERSECTION_PROP_ITEMS_DSC", type: "lpi", isCollection: true, isComputed: false, version: "1.0", readOnly: false, maxItems: 100, displayValue: "AR_TP_LISTPICKERSECTION_PROP_ITEMS_DISP_VAL" }] }, WheelPicker: { name: "AR_TP_WHEELPICKER", allowArray: false, dataType: "WheelPickerDataType", propertiesAllowAssignment: true, support: { classType: "WheelPickerVariable", expressionDataType: "wpk", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAppleFormsPhase2" }, nativeProperties: [{ id: "items", name: "items", descriptionId: "AR_TP_WHEELPICKER_PROP_ITEMS_DSC", type: "wpi", isCollection: true, isComputed: false, version: "1.0", readOnly: false, minItems: 1, maxItems: 100, displayValue: "AR_TP_WHEELPICKER_PROP_ITEMS_DISP_VAL" }] }, WheelPickerItem: { name: "AR_TP_WHEELPICKERITEM", allowArray: true, dataType: "WheelPickerItemDataType", propertiesAllowAssignment: true, support: { classType: "WheelPickerItemVariable", expressionDataType: "wpi", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAppleFormsPhase2" }, nativeProperties: [{ id: "title", name: "title", descriptionId: "AR_TP_WHEELPICKERITEM_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_WHEELPICKERITEM_PROP_TITLE_DISP_VAL" }, { id: "value", name: "value", descriptionId: "AR_TP_WHEELPICKERITEM_PROP_VALUE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_WHEELPICKERITEM_PROP_VALUE_DISP_VAL" }] }, KnowledgeBaseDocument: { name: "AR_TP_KNOWLEDGEBASEDOCUMENT", allowArray: true, dataType: "KnowledgeBaseDocumentDataType", support: { classType: "KnowledgeBaseDocumentVariable", expressionDataType: "kbd", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { commonmodule: { featureConfigName: "botFlowsDigitalBotFlows" }, digitalbot: {}, bot: { featureConfigName: "botFlowsFindKnowledgeBaseDocumentById" }, voice: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "content", name: "content", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_CONTENT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "category", name: "category", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_CATEGORY_DSC", type: "cpx_knowledge_base_document_category", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature" }, { id: "labels", name: "labels", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_LABELS_DSC", type: "cpx_knowledge_base_document_label", isCollection: true, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature" }] }, KnowledgeBaseDocumentCategory: { name: "AR_TP_KNOWLEDGEBASEDOCUMENTCATEGORY", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_knowledge_base_document_category", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { bot: { featureConfigName: "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature" }, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature" }, voice: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENTCATEGORY_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENTCATEGORY_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, KnowledgeBaseDocumentLabel: { name: "AR_TP_KNOWLEDGEBASEDOCUMENTLABEL", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_knowledge_base_document_label", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { bot: { featureConfigName: "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature" }, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature" }, voice: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENTLABEL_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENTLABEL_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, MessageStickerInfo: { name: "AR_TP_MESSAGESTICKERINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_message_sticker_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundshortmessage: {}, inqueueshortmessage: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_MESSAGESTICKERINFO_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "url", name: "url", descriptionId: "AR_TP_MESSAGESTICKERINFO_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, MessageAddressInfo: { name: "AR_TP_MESSAGEADDRESSINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_message_address_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundshortmessage: {}, inqueueshortmessage: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_MESSAGEADDRESSINFO_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "addressRaw", name: "addressRaw", descriptionId: "AR_TP_MESSAGEADDRESSINFO_PROP_ADDRESSRAW_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "addressNormalized", name: "addressNormalized", descriptionId: "AR_TP_MESSAGEADDRESSINFO_PROP_ADDRESSNORMALIZED_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "addressDisplayable", name: "addressDisplayable", descriptionId: "AR_TP_MESSAGEADDRESSINFO_PROP_ADDRESSDISPLAYABLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "email", name: "email", descriptionId: "AR_TP_MESSAGEADDRESSINFO_PROP_EMAIL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "messageAddressInfoEmail" }] }, ShortMessage: { name: "AR_TP_SHORTMESSAGE", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_short_message", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundshortmessage: {}, inqueueshortmessage: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SHORTMESSAGE_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "type", name: "type", descriptionId: "AR_TP_SHORTMESSAGE_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "attachments", name: "attachments", descriptionId: "AR_TP_SHORTMESSAGE_PROP_ATTACHMENTS_DSC", type: "cpx_email_attachment", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "body", name: "body", descriptionId: "AR_TP_SHORTMESSAGE_PROP_BODY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "bodyType", name: "bodyType", descriptionId: "AR_TP_SHORTMESSAGE_PROP_BODYTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "senderAddress", name: "senderAddress", descriptionId: "AR_TP_SHORTMESSAGE_PROP_SENDERADDRESS_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "senderAddressInfo", name: "senderAddressInfo", descriptionId: "AR_TP_SHORTMESSAGE_PROP_SENDERADDRESSINFO_DSC", type: "cpx_message_address_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "targetAddresses", name: "targetAddresses", descriptionId: "AR_TP_SHORTMESSAGE_PROP_TARGETADDRESSES_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "targetAddressesInfo", name: "targetAddressesInfo", descriptionId: "AR_TP_SHORTMESSAGE_PROP_TARGETADDRESSESINFO_DSC", type: "cpx_message_address_info", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "dateTimeUtc", name: "dateTimeUtc", descriptionId: "AR_TP_SHORTMESSAGE_PROP_DATETIMEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "referenceId", name: "referenceId", descriptionId: "AR_TP_SHORTMESSAGE_PROP_REFERENCEID_DSC", type: "jsn", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "appleInvitationFeature" }, { id: "stickers", name: "stickers", descriptionId: "AR_TP_SHORTMESSAGE_PROP_STICKERS_DSC", type: "cpx_message_sticker_info", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "socialVisibility", name: "socialVisibility", descriptionId: "AR_TP_SHORTMESSAGE_PROP_SOCIALVISIBILITY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "publicInboundMessageFlagFeature" }] }, Communication: { name: "AR_TP_COMMUNICATION", allowArray: false, allowArray_altAvailability: "botFlowsDynamicSlotTypePhase2Feature", dataType: "CommunicationDataType", support: { classType: "CommunicationVariable", expressionDataType: "com", expressionBaseDataType: "com", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, Null: { name: "AR_TP_NTS", allowArray: false, dataType: "NullDataType", isAbstract: true, support: { expressionDataType: "nts", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, Prompt: { name: "AR_TP_PROMPT", allowArray: true, dataType: "PromptDataType", support: { classType: "PromptVariable", expressionDataType: "pmt", expressionBaseDataType: "pmt", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: {}, digitalbot: {}, inboundchat: {}, emailsend: {}, inboundemail: {}, inqueueemail: {}, inqueueshortmessage: {}, inboundshortmessage: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_PROMPT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_PROMPT_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "type", name: "type", descriptionId: "AR_TP_PROMPT_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, VoicemailSnippet: { name: "AR_TP_VOICEMAILSNIPPET", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_voicemail_snippet", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { voicemail: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_VOICEMAILSNIPPET_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "startDateTime", name: "startDateTime", descriptionId: "AR_TP_VOICEMAILSNIPPET_PROP_STARTDATETIME_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "length", name: "length", descriptionId: "AR_TP_VOICEMAILSNIPPET_PROP_LENGTH_DSC", type: "dur", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "maxLengthReached", name: "maxLengthReached", descriptionId: "AR_TP_VOICEMAILSNIPPET_PROP_MAXLENGTHREACHED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "voicemailRecordingMaxTime" }] }, VoiceSnippet: { name: "AR_TP_VOICESNIPPET", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_voice_snippet", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: { featureConfigName: "botFlowsVoiceSnippets" }, digitalbot: { featureConfigName: "botFlowsVoiceSnippets" }, voice: { featureConfigName: "botFlowsVoiceSnippets" }, voicesurvey: { featureConfigName: "botFlowsVoiceSnippets" }, commonmodule: { flowInputSingleton: true, flowOutputSingleton: true, featureConfigName: "voiceSnippets" }, inboundcall: { featureConfigName: "voiceSnippets" }, inqueuecall: { featureConfigName: "voiceSnippets" }, outboundcall: { featureConfigName: "voiceSnippets" }, voicemail: { featureConfigName: "voiceSnippets" } }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_VOICESNIPPET_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "startDateTime", name: "startDateTime", descriptionId: "AR_TP_VOICESNIPPET_PROP_STARTDATETIME_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "length", name: "length", descriptionId: "AR_TP_VOICESNIPPET_PROP_LENGTH_DSC", type: "dur", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Skill: { name: "AR_TP_SKL", allowArray: true, dataType: "SkillDataType", support: { classType: "SkillVariable", expressionDataType: "skl", expressionBaseDataType: "skl", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { featureConfigName: "botFlowsQueueSupportFeature" }, digitalbot: { featureConfigName: "botFlowsQueueSupportFeature" }, voice: { featureConfigName: "botFlowsQueueSupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0", featureConfigName: "orgAvailabilityRoutingSkills" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SKL_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_SKL_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, String: { name: "AR_TP_STR", allowArray: true, dataType: "StringDataType", support: { classType: "StringVariable", expressionDataType: "str", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {} }, version: "1.0" }, nativeProperties: [] }, UserQueue: { name: "AR_TP_USQ", allowArray: true, dataType: "UserQueueDataType", support: { classType: "UserVariable", expressionDataType: "usr", expressionBaseDataType: "usr", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { featureConfigName: "botFlowsQueueSupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { featureConfigName: "botFlowsQueueSupportFeature" }, voice: { flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0", featureConfigName: "orgAvailabilityUsers" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_USQ_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_USQ_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "username", name: "username", descriptionId: "AR_TP_USQ_PROP_USERNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Video: { name: "AR_TP_VIDEO", allowArray: true, dataType: "VideoDataType", support: { classType: "VideoVariable", expressionDataType: "vid", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAttachmentsFeature" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_VIDEO_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, { id: "name", name: "name", descriptionId: "AR_TP_VIDEO_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, { id: "url", name: "url", descriptionId: "AR_TP_VIDEO_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, SurveyQuestion: { name: "AR_TP_SURVEYQUESTION", allowArray: true, dataType: "SurveyQuestionType", support: { classType: "SurveyQuestionVariable", expressionDataType: "squ", expressionBaseDataType: "squ", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SURVEYQUESTION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "questionType", name: "questionType", descriptionId: "AR_TP_SURVEYQUESTION_PROP_QUESTIONTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, allowableValues: "multipleChoiceQuestion, freeTextQuestion, npsQuestion, readOnlyQuestion" }, { id: "answerOptions", name: "answerOptions", descriptionId: "AR_TP_SURVEYQUESTION_PROP_ANSWEROPTIONS_DSC", type: "sao", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "naEnabled", name: "naEnabled", descriptionId: "AR_TP_SURVEYQUESTION_PROP_NAENABLED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "maxResponseCharacters", name: "maxResponseCharacters", descriptionId: "AR_TP_SURVEYQUESTION_PROP_MAXRESPONSECHARACTERS_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "questionText", name: "questionText", descriptionId: "AR_TP_SURVEYQUESTION_PROP_QUESTIONTEXT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "questionHelpText", name: "questionHelpText", descriptionId: "AR_TP_SURVEYQUESTION_PROP_QUESTIONHELPTEXT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "followUpQuestionText", name: "followUpQuestionText", descriptionId: "AR_TP_SURVEYQUESTION_PROP_FOLLOWUPQUESTIONTEXT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, SurveyQuestionGroup: { name: "AR_TP_SURVEYQUESTIONGROUP", allowArray: true, dataType: "SurveyQuestionType", support: { classType: "SurveyQuestionGroupVariable", expressionDataType: "sqg", expressionBaseDataType: "sqg", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SURVEYQUESTIONGROUP_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_SURVEYQUESTIONGROUP_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "questions", name: "questions", descriptionId: "AR_TP_SURVEYQUESTIONGROUP_PROP_QUESTIONS_DSC", type: "squ", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, SurveyForm: { name: "AR_TP_SURVEYFORM", allowArray: false, dataType: "SurveyFormType", support: { classType: "SurveyFormVariable", expressionDataType: "sfo", expressionBaseDataType: "sfo", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SURVEYFORM_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_SURVEYFORM_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "language", name: "language", descriptionId: "AR_TP_SURVEYFORM_PROP_LANGUAGE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "questionGroups", name: "questionGroups", descriptionId: "AR_TP_SURVEYFORM_PROP_QUESTIONGROUPS_DSC", type: "sqg", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, SurveyAnswerOption: { name: "AR_TP_SURVEYANSWEROPTION", allowArray: true, dataType: "SurveyAnswerOptionType", propertiesAllowAssignment: true, support: { classType: "SurveyAnswerOptionVariable", expressionDataType: "sao", expressionBaseDataType: "sao", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SURVEYANSWEROPTION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dtmf", name: "dtmf", descriptionId: "AR_TP_SURVEYANSWEROPTION_PROP_DTMF_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "text", name: "text", descriptionId: "AR_TP_SURVEYANSWEROPTION_PROP_TEXT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Queue: { name: "AR_TP_QUEUE", allowArray: true, dataType: "QueueDataType", support: { classType: "QueueVariable", expressionDataType: "que", expressionBaseDataType: "que", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { featureConfigName: "botFlowsQueueSupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { featureConfigName: "botFlowsQueueSupportFeature" }, voice: {} }, version: "1.0", featureConfigName: "orgAvailabilityQueues" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_QUEUE_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_QUEUE_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, UtilizationLabel: { name: "AR_TP_UTILIZATIONLABEL", allowArray: true, dataType: "UtilizationLabelDataType", support: { classType: "UtilizationLabelVariable", expressionDataType: "cul", expressionBaseDataType: "cul", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: {}, commonmodule: {}, digitalbot: {}, emailsend: {}, inboundemail: {}, inboundshortmessage: {}, inboundchat: {}, inqueueemail: {}, inqueueshortmessage: {}, voice: {}, workitem: {} }, version: "1.0", featureConfigName: "conversationUtilizationLabels" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_UTILIZATIONLABEL_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_UTILIZATIONLABEL_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ConversationTypeEnum: { name: "AR_TP_CONVERSATIONTYPEENUM", allowArray: false, dataType: "ConversationTypeEnumDataType", isEnumContainer: true, support: { classType: "ConversationTypeEnumVariable", expressionDataType: "cte", expressionBaseDataType: "cte", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: { featureConfigName: "botFlowsPhase2" }, digitalbot: { featureConfigName: "botFlowsPhase2" }, voice: { featureConfigName: "botFlowsPhase2" }, voicesurvey: { featureConfigName: "botFlowsPhase2" }, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "call", name: "call", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_CALL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "callback", name: "callback", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_CALLBACK_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "chat", name: "chat", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_CHAT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "cobrowse", name: "cobrowse", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_COBROWSE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "email", name: "email", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_EMAIL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "screenShare", name: "screenShare", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_SCREENSHARE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "socialExpression", name: "socialExpression", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_SOCIALEXPRESSION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "videoComm", name: "videoComm", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_VIDEOCOMM_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "unknown", name: "unknown", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_UNKNOWN_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }] }, CurrencyEnum: { name: "AR_TP_CURRENCYENUM", allowArray: false, dataType: "CurrencyEnumDataType", isEnumContainer: true, support: { classType: "CurrencyEnumVariable", expressionDataType: "cre", expressionBaseDataType: "cre", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "code", name: "code", descriptionId: "AR_TP_CURRENCYENUM_PROP_CODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToCurrencyCode" }] }, LanguageEnum: { name: "AR_TP_LANGUAGEENUM", allowArray: false, dataType: "LanguageEnumDataType", isEnumContainer: true, support: { classType: "LanguageEnumVariable", expressionDataType: "lge", expressionBaseDataType: "lge", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "code", name: "tag", descriptionId: "AR_TP_LANGUAGEENUM_PROP_TAG_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToLanguageTag" }] }, RegionEnum: { name: "AR_TP_REGIONENUM", allowArray: false, dataType: "RegionEnumDataType", isEnumContainer: true, support: { classType: "RegionEnumVariable", expressionDataType: "rge", expressionBaseDataType: "rge", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "dialingCode", name: "dialingCode", descriptionId: "AR_TP_REGIONENUM_PROP_DIALINGCODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToDialingCode" }, { id: "countryCode", name: "countryCode", descriptionId: "AR_TP_REGIONENUM_PROP_COUNTRYCODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToCountryCode" }] }, MessageBodyStyleEnum: { name: "AR_TP_MESSAGEBODYSTYLEENUM", allowArray: false, dataType: "MessageBodyStyleEnumDataType", isEnumContainer: true, support: { classType: "MessageBodyStyleEnumVariable", expressionDataType: "mbe", expressionBaseDataType: "mbe", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundchat: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "notice", name: "notice", descriptionId: "AR_TP_MESSAGEBODYSTYLEENUM_PROP_NOTICE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToSendResponseBodyType" }, { id: "standard", name: "standard", descriptionId: "AR_TP_MESSAGEBODYSTYLEENUM_PROP_STANDARD_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToSendResponseBodyType" }] }, SurveyDispositionEnum: { name: "AR_TP_SURVEYDISPOSITIONENUM", allowArray: false, dataType: "SurveyDispositionEnumDataType", isEnumContainer: true, support: { classType: "SurveyDispositionEnumVariable", expressionDataType: "sde", expressionBaseDataType: "sde", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { surveyinvite: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "error", name: "error", descriptionId: "AR_TP_SURVEYDISPOSITIONENUM_PROP_ERROR_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToSurveyDisposition" }, { id: "optOut", name: "optOut", descriptionId: "AR_TP_SURVEYDISPOSITIONENUM_PROP_OPTOUT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToSurveyDisposition" }] }, CurrenciesEnumContainer: { name: "AR_TP_CURRENCIESENUMCONTAINER", allowArray: false, dataType: "CurrenciesEnumContainer", isEnumContainer: true, support: { classType: "CurrenciesEnumContainerVariable", expressionDataType: "cec", expressionBaseDataType: "cec", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, dynamicPropertyProvider: "Currencies", nativeProperties: [] }, DayOfWeekEnumContainer: { name: "AR_TP_DAYOFWEEKENUMCONTAINER", allowArray: false, dataType: "DayOfWeekEnumContainer", isEnumContainer: true, support: { classType: "DayOfWeekEnumContainerVariable", expressionDataType: "dwc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "sunday", name: "sunday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SUNDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SUNDAY_DISP_VAL", propertyResolvedLiteralValue: "1" }, { id: "monday", name: "monday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_MONDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_MONDAY_DISP_VAL", propertyResolvedLiteralValue: "2" }, { id: "tuesday", name: "tuesday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_TUESDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_TUESDAY_DISP_VAL", propertyResolvedLiteralValue: "3" }, { id: "wednesday", name: "wednesday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_WEDNESDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_WEDNESDAY_DISP_VAL", propertyResolvedLiteralValue: "4" }, { id: "thursday", name: "thursday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_THURSDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_THURSDAY_DISP_VAL", propertyResolvedLiteralValue: "5" }, { id: "friday", name: "friday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_FRIDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_FRIDAY_DISP_VAL", propertyResolvedLiteralValue: "6" }, { id: "saturday", name: "saturday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SATURDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SATURDAY_DISP_VAL", propertyResolvedLiteralValue: "7" }] }, DateTimeEnumContainer: { name: "AR_TP_DATETIMEENUMCONTAINER", allowArray: false, dataType: "DateTimeEnumContainer", isEnumContainer: true, support: { classType: "DateTimeEnumContainerVariable", expressionDataType: "dlc", expressionBaseDataType: "dlc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "dayOfWeek", name: "dayOfWeek", descriptionId: "AR_TP_DATETIMEENUMCONTAINER_PROP_DAYOFWEEK_DSC", type: "dwc", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATETIMEENUMCONTAINER_PROP_DAYOFWEEK_DISP_VAL" }] }, DigitalAudio: { name: "AR_TP_DIGITALAUDIO", allowArray: true, dataType: "DigitalAudioDataType", support: { classType: "DigitalAudioVariable", expressionDataType: "dia", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAttachmentsFeature" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_DIGITALAUDIO_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, { id: "name", name: "name", descriptionId: "AR_TP_DIGITALAUDIO_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, { id: "url", name: "url", descriptionId: "AR_TP_DIGITALAUDIO_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, File: { name: "AR_TP_FILE", allowArray: true, dataType: "FileDataType", support: { classType: "FileVariable", expressionDataType: "fil", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAttachmentsFeature" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_FILE_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, { id: "name", name: "name", descriptionId: "AR_TP_FILE_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, { id: "url", name: "url", descriptionId: "AR_TP_FILE_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, LanguagesEnumContainer: { name: "AR_TP_LANGUAGESENUMCONTAINER", allowArray: false, dataType: "LanguagesEnumContainer", isEnumContainer: true, support: { classType: "LanguagesEnumContainerVariable", expressionDataType: "lnc", expressionBaseDataType: "lnc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, dynamicPropertyProvider: "Languages", nativeProperties: [] }, RegionsEnumContainer: { name: "AR_TP_REGIONSENUMCONTAINER", allowArray: false, dataType: "RegionsEnumContainer", isEnumContainer: true, support: { classType: "RegionsEnumContainerVariable", expressionDataType: "rec", expressionBaseDataType: "rec", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, dynamicPropertyProvider: "Regions", nativeProperties: [] }, ResponseAsset: { name: "AR_TP_RESPONSEASSET", allowArray: true, dataType: "ResponseAssetDataType", support: { classType: "ResponseAssetVariable", expressionDataType: "rpa", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, commonmodule: {}, digitalbot: {} }, version: "1.0", featureConfigName: "cannedResponseAttachmentsFeature" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_RESPONSEASSET_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_RESPONSEASSET_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "type", name: "type", descriptionId: "AR_TP_RESPONSEASSET_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "length", name: "length", descriptionId: "AR_TP_RESPONSEASSET_PROP_LENGTH_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "url", name: "url", descriptionId: "AR_TP_RESPONSEASSET_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, SurveyDispositionsEnumContainer: { name: "AR_TP_SURVEYDISPOSITIONSENUMCONTAINER", allowArray: false, dataType: "SurveyDispositionsEnumContainer", isEnumContainer: true, support: { classType: "SurveyDispositionsEnumContainerVariable", expressionDataType: "sec", expressionBaseDataType: "sec", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, dynamicPropertyProvider: "SurveyDispositions", nativeProperties: [] }, ConversationTypesEnumContainer: { name: "AR_TP_CONVERSATIONTYPESENUMCONTAINER", allowArray: false, dataType: "ConversationTypesEnumContainer", isEnumContainer: true, support: { classType: "ConversationTypesEnumContainerVariable", expressionDataType: "ctc", expressionBaseDataType: "ctc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, dynamicPropertyProvider: "ConversationTypes", nativeProperties: [] }, Time: { name: "AR_TP_TIME", allowArray: true, dataType: "TimeDataType", support: { classType: "TimeVariable", expressionDataType: "tim", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {} }, version: "1.0" }, nativeProperties: [] }, TimePartEnumContainer: { name: "AR_TP_TIMEPARTENUMCONTAINER", allowArray: false, dataType: "TimePartEnumContainer", isEnumContainer: true, support: { classType: "TimePartEnumContainerVariable", expressionDataType: "tpc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "timePartDays", name: "days", descriptionId: "AR_TP_TIMEPARTENUMCONTAINER_PROP_DAYS_DSC", type: "tpf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_TIMEPARTENUMCONTAINER_PROP_DAYS_DISP_VAL" }, { id: "timePartHours", name: "hours", descriptionId: "AR_TP_TIMEPARTENUMCONTAINER_PROP_HOURS_DSC", type: "tpf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_TIMEPARTENUMCONTAINER_PROP_HOURS_DISP_VAL" }, { id: "timePartMinutes", name: "minutes", descriptionId: "AR_TP_TIMEPARTENUMCONTAINER_PROP_MINUTES_DSC", type: "tpf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_TIMEPARTENUMCONTAINER_PROP_MINUTES_DISP_VAL" }, { id: "timePartSeconds", name: "seconds", descriptionId: "AR_TP_TIMEPARTENUMCONTAINER_PROP_SECONDS_DSC", type: "tpf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_TIMEPARTENUMCONTAINER_PROP_SECONDS_DISP_VAL" }] }, TimePartEnum: { name: "AR_TP_TIMEPARTENUM", allowArray: false, dataType: "TimePartEnumDataType", isEnum: true, support: { classType: "TimePartEnumVariable", expressionDataType: "tpf", expressionBaseDataType: "tpf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, TimePicker: { name: "AR_TP_TIMEPICKER", allowArray: false, dataType: "TimePickerDataType", propertiesAllowAssignment: true, support: { classType: "TimePickerVariable", expressionDataType: "tpk", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsMessagingDatePicker" }, nativeProperties: [{ id: "title", name: "title", descriptionId: "AR_TP_TIMEPICKER_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, minLength: 1 }, { id: "subtitle", name: "subtitle", descriptionId: "AR_TP_TIMEPICKER_PROP_SUBTITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "image", name: "image", descriptionId: "AR_TP_TIMEPICKER_PROP_IMAGE_DSC", type: "img", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_TIMEPICKER_PROP_IMAGE_DISP_VAL" }, { id: "address", name: "address", descriptionId: "AR_TP_TIMEPICKER_PROP_ADDRESS_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_TIMEPICKER_PROP_ADDRESS_DISP_VAL" }, { id: "longitude", name: "longitude", descriptionId: "AR_TP_TIMEPICKER_PROP_LONGITUDE_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_TIMEPICKER_PROP_LONGITUDE_DISP_VAL" }, { id: "latitude", name: "latitude", descriptionId: "AR_TP_TIMEPICKER_PROP_LATITUDE_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_TIMEPICKER_PROP_LATITUDE_DISP_VAL" }] }, Timeslot: { name: "AR_TP_TIMESLOT", allowArray: true, dataType: "TimeslotDataType", propertiesAllowAssignment: true, support: { classType: "TimeslotVariable", expressionDataType: "tsl", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsMessagingDatePicker" }, nativeProperties: [{ id: "dateTime", name: "dateTime", descriptionId: "AR_TP_TIMESLOT_PROP_DTM_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "duration", name: "duration", descriptionId: "AR_TP_TIMESLOT_PROP_DUR_DSC", type: "dur", isCollection: false, isComputed: false, version: "1.0", readOnly: false }] }, WrapupCode: { name: "AR_TP_WRC", allowArray: true, dataType: "WrapupCodeDataType", support: { classType: "WrapupCodeVariable", expressionDataType: "wrc", expressionBaseDataType: "wrc", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { featureConfigName: "botFlowsDigitalBotFlowsBotSummarization" }, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsBotSummarization" }, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: {} }, version: "1.0", featureConfigName: "orgAvailabilityRoutingWrapupCodes" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_WRC_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_WRC_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Grammar: { name: "AR_TP_GRAMMAR", allowArray: true, dataType: "GrammarDataType", support: { classType: "GrammarVariable", expressionDataType: "gmr", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: {}, commonmodule: {}, voice: {}, voicesurvey: {} }, version: "1.0", featureConfigName: "orgAvailabilityGrammars" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_GRAMMAR_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_GRAMMAR_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Group: { name: "AR_TP_GRP", allowArray: true, dataType: "GroupDataType", support: { classType: "GroupVariable", expressionDataType: "grp", expressionBaseDataType: "grp", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { featureConfigName: "botFlowsAlignTransferActions" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { featureConfigName: "botFlowsGroupSupportFeature" }, workflow: { featureConfigName: "sendNotificationChatGroupFeature" }, voice: { featureConfigName: "botFlowsGroupSupportFeature" } }, version: "1.0", featureConfigName: "orgAvailabilityGroups" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_GRP_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_GRP_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, PhoneNumber: { name: "AR_TP_PHNBR", allowArray: true, dataType: "PhoneNumberDataType", support: { classType: "PhoneNumberVariable", expressionDataType: "phn", expressionBaseDataType: "phn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0" }, nativeProperties: [{ id: "dialingCode", name: "dialingCode", descriptionId: "AR_TP_PHNBR_PROP_DIALINGCODE_DSC", type: "str", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "e164", name: "e164", descriptionId: "AR_TP_PHNBR_PROP_E164_DSC", type: "str", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "subscriberNumber", name: "subscriberNumber", descriptionId: "AR_TP_PHNBR_PROP_SUBSCRIBERNUMBER_DSC", type: "str", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "isGlobal", name: "isGlobal", descriptionId: "AR_TP_PHNBR_PROP_ISGLOBAL_DSC", type: "bln", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "isSip", name: "isSip", descriptionId: "AR_TP_PHNBR_PROP_ISSIP_DSC", type: "bln", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "isTel", name: "isTel", descriptionId: "AR_TP_PHNBR_PROP_ISTEL_DSC", type: "bln", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "raw", name: "raw", descriptionId: "AR_TP_PHNBR_PROP_RAW_DSC", type: "str", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "scheme", name: "scheme", descriptionId: "AR_TP_PHNBR_PROP_SCHEME_DSC", type: "str", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "uri", name: "uri", descriptionId: "AR_TP_PHNBR_PROP_URI_DSC", type: "str", isCollection: false, isComputed: true, version: "1.0", readOnly: true }] }, EmergencyGroup: { name: "AR_TP_EMERGRP", allowArray: true, dataType: "EmergencyGroupDataType", support: { classType: "EmergencyGroupVariable", expressionDataType: "emg", expressionBaseDataType: "emg", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: { featureConfigName: "botFlowsScheduleSupportFeature" }, digitalbot: { featureConfigName: "botFlowsScheduleSupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: {} }, version: "1.0", featureConfigName: "orgAvailabilityRoutingEmergencyGroups" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EMERGRP_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_EMERGRP_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Schedule: { name: "AR_TP_SCHED", allowArray: true, dataType: "ScheduleDataType", support: { classType: "ScheduleVariable", expressionDataType: "sch", expressionBaseDataType: "sch", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: { featureConfigName: "botFlowsScheduleSupportFeature" }, digitalbot: { featureConfigName: "botFlowsScheduleSupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: {} }, version: "1.0", featureConfigName: "orgAvailabilityRoutingSchedules" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SCHED_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_SCHED_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ScheduleGroup: { name: "AR_TP_SCHEDGRP", allowArray: true, dataType: "ScheduleGroupDataType", support: { classType: "ScheduleGroupVariable", expressionDataType: "scg", expressionBaseDataType: "scg", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: { featureConfigName: "botFlowsScheduleSupportFeature" }, digitalbot: { featureConfigName: "botFlowsScheduleSupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: {} }, version: "1.0", featureConfigName: "orgAvailabilityRoutingScheduleGroups" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SCHEDGRP_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_SCHEDGRP_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "timeZone", name: "timeZone", descriptionId: "AR_TP_SCHEDGRP_PROP_TIMEZONE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Any: { name: "AR_TP_ANY", allowArray: true, dataType: "Any", isAbstract: true, support: { expressionDataType: "any", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, AnyComplex: { name: "AR_TP_ANYCOMPLEX", allowArray: true, dataType: "AnyComplex", isAbstract: true, support: { expressionDataType: "acp", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, AnyPromptOrAudio: { name: "AR_TP_ANYPROMPTORAUDIO", allowArray: true, dataType: "AnyPromptOrAudio", isAbstract: true, support: { expressionDataType: "apa", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, DateFormatEnum: { name: "AR_TP_DATEFORMATENUM", allowArray: false, dataType: "DateFormatEnum", isEnum: true, support: { classType: "DateFormatEnumVariable", expressionDataType: "daf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, DateTimeFormatEnum: { name: "AR_TP_DATETIMEFORMATENUM", allowArray: false, dataType: "DateTimeFormatEnum", isEnum: true, support: { classType: "DateTimeFormatEnumVariable", expressionDataType: "dtf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, TimeFormatEnum: { name: "AR_TP_TIMEFORMATENUM", allowArray: false, dataType: "TimeFormatEnum", isEnum: true, support: { classType: "TimeFormatEnumVariable", expressionDataType: "tif", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, BoolFormatEnum: { name: "AR_TP_BOOLFORMATENUM", allowArray: false, dataType: "BoolFormatEnum", isEnum: true, support: { classType: "BoolFormatEnumVariable", expressionDataType: "bof", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, CurrencyFormatEnum: { name: "AR_TP_CURRENCYFORMATENUM", allowArray: false, dataType: "CurrencyFormatEnum", isEnum: true, support: { classType: "CurrencyFormatEnumVariable", expressionDataType: "cuf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, NumberFormatEnum: { name: "AR_TP_NUMBERFORMATENUM", allowArray: false, dataType: "NumberFormatEnum", isEnum: true, support: { classType: "NumberFormatEnumVariable", expressionDataType: "nuf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, PhoneNumberFormatEnum: { name: "AR_TP_PHONENUMBERFORMATENUM", allowArray: false, dataType: "PhoneNumberFormatEnum", isEnum: true, support: { classType: "PhoneNumberFormatEnumVariable", expressionDataType: "phf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureToggleName: "archPhoneNumberPhase2" }, nativeProperties: [] }, LanguageContextEnum: { name: "AR_TP_LANGUAGECONTEXTENUM", allowArray: false, dataType: "LanguageContextEnum", isAbstract: true, isEnum: true, support: { classType: "LanguageContextEnumVariable", expressionDataType: "lne", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, digitalbot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voice: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voicesurvey: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, StringFormatEnum: { name: "AR_TP_STRINGFORMATENUM", allowArray: false, dataType: "StringFormatEnum", isEnum: true, support: { classType: "StringFormatEnumVariable", expressionDataType: "stf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, DateFormatEnumContainer: { name: "AR_TP_DATEFORMATENUMCONTAINER", allowArray: false, dataType: "DateFormatEnumContainer", isEnumContainer: true, support: { classType: "DateFormatEnumContainerVariable", expressionDataType: "dac", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "dateLongYear", name: "longYear", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEAR_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEAR_DISP_VAL" }, { id: "dateShortYear", name: "shortYear", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEAR_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEAR_DISP_VAL" }, { id: "dateShortMonthAndDay", name: "shortMonthAndDay", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTMONTHANDDAY_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTMONTHANDDAY_DISP_VAL" }, { id: "dateDayOfWeekOnly", name: "dayOfWeekOnly", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYOFWEEKONLY_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYOFWEEKONLY_DISP_VAL" }, { id: "dateDayOnly", name: "dayOnly", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYONLY_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYONLY_DISP_VAL" }, { id: "dateMonthOnly", name: "monthOnly", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_MONTHONLY_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_MONTHONLY_DISP_VAL" }, { id: "dateShortYearOnly", name: "shortYearOnly", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEARONLY_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEARONLY_DISP_VAL" }, { id: "dateLongYearOnly", name: "longYearOnly", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEARONLY_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEARONLY_DISP_VAL" }] }, SkillExpressionFilter: { name: "AR_TP_SKILLEXPRESSIONFILTER", allowArray: true, additionalProperties: "false", dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::skill_expression_filter", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {}, emailsend: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {} }, version: "1.0", featureConfigName: "routingSkillExpressionsFeature" }, nativeProperties: [{ id: "raw", name: "raw", descriptionId: "AR_TP_SKILLEXPRESSIONFILTER_PROP_RAW_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "normalized", name: "normalized", descriptionId: "AR_TP_SKILLEXPRESSIONFILTER_PROP_NORMALIZED_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "acdSkills", name: "acdSkills", descriptionId: "AR_TP_SKILLEXPRESSIONFILTER_PROP_ACDSKILLS_DSC", type: "skl", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "languageSkills", name: "languageSkills", descriptionId: "AR_TP_SKILLEXPRESSIONFILTER_PROP_LANGUAGESKILLS_DSC", type: "lac", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "errors", name: "errors", descriptionId: "AR_TP_SKILLEXPRESSIONFILTER_PROP_ERRORS_DSC", type: "jsn__architect::issue_info", isCollection: true, isComputed: false, version: "1.0", readOnly: true, issueInfoTypes: ["INVALID_CHARACTERS", "LIMITS_EXCEEDED", "SYNTAX_ERROR", "UNKNOWN_SKILL"] }] }, IssueInfo: { name: "AR_TP_ISSUEINFO", allowArray: true, additionalProperties: "false", dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::issue_info", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {}, emailsend: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {} }, version: "1.0", featureConfigName: "routingSkillExpressionsFeature" }, nativeProperties: [{ id: "type", name: "type", descriptionId: "AR_TP_ISSUEINFO_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "message", name: "message", descriptionId: "AR_TP_ISSUEINFO_PROP_MESSAGE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, BoolFormatEnumContainer: { name: "AR_TP_BOOLFORMATENUMCONTAINER", allowArray: false, dataType: "BoolFormatEnumContainer", isEnumContainer: true, support: { classType: "BoolFormatEnumContainerVariable", expressionDataType: "blc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "boolPlayYesNo", name: "playYesNo", descriptionId: "AR_TP_BOOLFORMATENUMCONTAINER_PROP_PLAYYESNO_DSC", type: "bof", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_BOOLFORMATENUMCONTAINER_PROP_PLAYYESNO_DISP_VAL" }] }, TimeFormatEnumContainer: { name: "AR_TP_TIMEFORMATENUMCONTAINER", allowArray: false, dataType: "TimeFormatEnumContainer", isEnumContainer: true, support: { classType: "TimeFormatEnumContainerVariable", expressionDataType: "tic", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "timeTwentyFourHours", name: "twentyFourHours", descriptionId: "AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWENTYFOURHOURS_DSC", type: "tif", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWENTYFOURHOURS_DISP_VAL" }, { id: "timeTwelveHours", name: "twelveHours", descriptionId: "AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWELVEHOURS_DSC", type: "tif", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWELVEHOURS_DISP_VAL" }] }, CurrencyFormatEnumContainer: { name: "AR_TP_CURRENCYFORMATENUMCONTAINER", allowArray: false, dataType: "CurrencyFormatEnumContainer", isEnumContainer: true, support: { classType: "CurrencyFormatEnumContainerVariable", expressionDataType: "cuc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "currencyAsMinorUnits", name: "asMinorUnits", descriptionId: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_ASMINORUNITS_DSC", type: "cuf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_ASMINORUNITS_DISP_VAL" }, { id: "currencyMajorUnitsOnly", name: "majorUnitsOnly", descriptionId: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MAJORUNITSONLY_DSC", type: "cuf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MAJORUNITSONLY_DISP_VAL" }, { id: "currencyMinorUnitsOnly", name: "minorUnitsOnly", descriptionId: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MINORUNITSONLY_DSC", type: "cuf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MINORUNITSONLY_DISP_VAL" }, { id: "currencyPlayDigits", name: "playDigits", descriptionId: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_PLAYDIGITS_DSC", type: "cuf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_PLAYDIGITS_DISP_VAL" }] }, NumberFormatEnumContainer: { name: "AR_TP_NUMBERFORMATENUMCONTAINER", allowArray: false, dataType: "NumberFormatEnumContainer", isEnumContainer: true, support: { classType: "NumberFormatEnumContainerVariable", expressionDataType: "nuc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "numberPlayDigits", name: "playDigits", descriptionId: "AR_TP_NUMBERFORMATENUMCONTAINER_PROP_PLAYDIGITS_DSC", type: "nuf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_NUMBERFORMATENUMCONTAINER_PROP_PLAYDIGITS_DISP_VAL" }] }, PhoneNumberFormatEnumContainer: { name: "AR_TP_PHONENUMBERFORMATENUMCONTAINER", allowArray: false, dataType: "PhoneNumberFormatEnumContainer", isEnumContainer: true, support: { classType: "PhoneNumberFormatEnumContainerVariable", expressionDataType: "phc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureToggleName: "archPhoneNumberPhase2" }, nativeProperties: [{ id: "phoneNumberGlobal", name: "global", descriptionId: "AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_GLOBAL_DSC", type: "phf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_GLOBAL_DISP_VAL" }, { id: "phoneNumberLocal", name: "local", descriptionId: "AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_LOCAL_DSC", type: "phf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_LOCAL_DISP_VAL" }] }, StringFormatEnumContainer: { name: "AR_TP_STRINGFORMATENUMCONTAINER", allowArray: false, dataType: "StringFormatEnumContainer", isEnumContainer: true, support: { classType: "StringFormatEnumContainerVariable", expressionDataType: "stc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "stringPlayChars", name: "playChars", descriptionId: "AR_TP_STRINGFORMATENUMCONTAINER_PROP_PLAYCHARS_DSC", type: "stf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_STRINGFORMATENUMCONTAINER_PROP_PLAYCHARS_DISP_VAL" }] }, LanguageQuantityEnumContainer: { name: "AR_TP_LANGUAGEQUANTITYENUMCONTAINER", allowArray: false, dataType: "LanguageQuantityEnumContainer", isEnumContainer: true, support: { classType: "LanguageQuantityEnumContainerVariable", expressionDataType: "lqc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, digitalbot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voice: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voicesurvey: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "quantityPlural", name: "plural", descriptionId: "AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_PLURAL_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langQuantity", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_PLURAL_DISP_VAL" }, { id: "quantitySingular", name: "singular", descriptionId: "AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_SINGULAR_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langQuantity", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_SINGULAR_DISP_VAL" }] }, LanguageCaseEnumContainer: { name: "AR_TP_LANGUAGECASEENUMCONTAINER", allowArray: false, dataType: "LanguageCaseEnumContainer", isEnumContainer: true, support: { classType: "LanguageCaseEnumContainerVariable", expressionDataType: "lcc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, digitalbot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voice: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voicesurvey: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "caseArticle", name: "article", descriptionId: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ARTICLE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langCase", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ARTICLE_DISP_VAL" }, { id: "caseAccusative", name: "accusative", descriptionId: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ACCUSATIVE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langCase", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ACCUSATIVE_DISP_VAL" }, { id: "caseDative", name: "dative", descriptionId: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_DATIVE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langCase", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_DATIVE_DISP_VAL" }, { id: "caseGenitive", name: "genitive", descriptionId: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_GENITIVE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langCase", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_GENITIVE_DISP_VAL" }, { id: "caseNominative", name: "nominative", descriptionId: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_NOMINATIVE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langCase", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_NOMINATIVE_DISP_VAL" }] }, LanguageGenderEnumContainer: { name: "AR_TP_LANGUAGEGENDERENUMCONTAINER", allowArray: false, dataType: "LanguageGenderEnumContainer", isEnumContainer: true, support: { classType: "LanguageGenderEnumContainerVariable", expressionDataType: "lgc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, digitalbot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voice: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voicesurvey: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "genderCommon", name: "common", descriptionId: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_COMMON_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langGender", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_COMMON_DISP_VAL" }, { id: "genderFeminine", name: "feminine", descriptionId: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_FEMININE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langGender", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_FEMININE_DISP_VAL" }, { id: "genderMasculine", name: "masculine", descriptionId: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_MASCULINE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langGender", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_MASCULINE_DISP_VAL" }, { id: "genderNeuter", name: "neuter", descriptionId: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_NEUTER_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langGender", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_NEUTER_DISP_VAL" }] }, LanguageSkill: { name: "AR_TP_LANGUAGESKILL", allowArray: true, dataType: "LanguageSkill", support: { classType: "LanguageSkillVariable", expressionDataType: "lac", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: { featureConfigName: "orgAvailabilityRoutingSkills" }, inboundchat: { featureConfigName: "orgAvailabilityRoutingSkills" }, inboundemail: { featureConfigName: "orgAvailabilityRoutingSkills" }, inboundshortmessage: { featureConfigName: "orgAvailabilityRoutingSkills" }, inqueueemail: { featureConfigName: "orgAvailabilityRoutingSkills" }, inqueueshortmessage: { featureConfigName: "orgAvailabilityRoutingSkills" }, surveyinvite: { featureConfigName: "orgAvailabilityRoutingSkills" }, workflow: { featureConfigName: "orgAvailabilityRoutingSkills" }, workitem: { featureConfigName: "orgAvailabilityRoutingSkills" }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { featureConfigName: "orgAvailabilityRoutingSkills", featureConfigName2: "botFlowsQueueSupportFeature", featureConfigsAllOf: true }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { featureConfigName: "orgAvailabilityRoutingSkills", featureConfigName2: "botFlowsQueueSupportFeature", featureConfigsAllOf: true }, voice: { featureConfigName: "orgAvailabilityRoutingSkills" } }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_LANGUAGESKILL_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_LANGUAGESKILL_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ContactList: { name: "AR_TP_CONTACTLIST", allowArray: false, dataType: "ContactList", support: { classType: "ContactListVariable", expressionDataType: "cnl", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundemail: { featureConfigName: "outboundEmailCampaigns" }, inboundshortmessage: {}, commonmodule: {}, outboundcall: {} }, version: "1.0", featureConfigName: "orgAvailabilityOutboundContactLists" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_CONTACTLIST_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_CONTACTLIST_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Campaign: { name: "AR_TP_CAMPAIGN", allowArray: false, dataType: "Campaign", support: { classType: "CampaignVariable", expressionDataType: "cam", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { commonmodule: {}, inboundemail: { featureConfigName: "outboundEmailCampaigns" }, inboundshortmessage: {}, outboundcall: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_CAMPAIGN_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_CAMPAIGN_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Contact: { name: "AR_TP_CONTACT", allowArray: false, dataType: "Contact", support: { classType: "ContactVariable", expressionDataType: "con", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { outboundcall: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, WorkitemEventData: { name: "AR_TP_WORKITEMEVENTDATA", allowArray: false, dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::workitem_event_data", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { workitem: {} }, version: "1.0", featureConfigName: "workitemDateAutomationFeature" }, nativeProperties: [{ id: "rule", name: "rule", descriptionId: "AR_TP_WORKITEMEVENTDATA_PROP_RULE_DSC", type: "jsn__architect::workitem_event_rule", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "workitemDateAutomationFeature" }] }, WorkitemEventRule: { name: "AR_TP_WORKITEMEVENTRULE", allowArray: false, dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::workitem_event_rule", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { workitem: {} }, version: "1.0", featureConfigName: "workitemDateAutomationFeature" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_WORKITEMEVENTRULE_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "workitemDateAutomationFeature" }] }, Workitem: { name: "AR_TP_WORKITEM", allowArray: false, dataType: "ComplexDataType", isCustomizablePerFlow: true, support: { classType: "ComplexVariable", expressionDataType: "cpx_workitem", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { workitem: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_WORKITEM_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_WORKITEM_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "assignee", name: "assignee", descriptionId: "AR_TP_WORKITEM_PROP_ASSIGNEE_DSC", type: "usr", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "assignmentState", name: "assignmentState", descriptionId: "AR_TP_WORKITEM_PROP_ASSIGNMENTSTATE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "autoStatusTransition", name: "autoStatusTransition", descriptionId: "AR_TP_WORKITEM_PROP_AUTOSTATUSTRANSITION_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "customFields", name: "customFields", descriptionId: "AR_TP_WORKITEM_PROP_CUSTOMFIELDS_DSC", type: "jsn__architect::empty_json", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "dateCreated", name: "dateCreated", descriptionId: "AR_TP_WORKITEM_PROP_DATECREATED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dateAssignmentStateChanged", name: "dateAssignmentStateChanged", descriptionId: "AR_TP_WORKITEM_PROP_DATEASSIGNMENTSTATECHANGED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dateDue", name: "dateDue", descriptionId: "AR_TP_WORKITEM_PROP_DATEDUE_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "dateExpires", name: "dateExpires", descriptionId: "AR_TP_WORKITEM_PROP_DATEEXPIRES_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "dateModified", name: "dateModified", descriptionId: "AR_TP_WORKITEM_PROP_DATEMODIFIED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dateStatusChanged", name: "dateStatusChanged", descriptionId: "AR_TP_WORKITEM_PROP_DATESTATUSCHANGED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dateClosed", name: "dateClosed", descriptionId: "AR_TP_WORKITEM_PROP_DATECLOSED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "description", name: "description", descriptionId: "AR_TP_WORKITEM_PROP_DESCRIPTION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "duration", name: "duration", descriptionId: "AR_TP_WORKITEM_PROP_DUR_DSC", type: "dur", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "divisionId", name: "divisionId", descriptionId: "AR_TP_WORKITEM_PROP_DIVISIONID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "externalContact", name: "externalContact", descriptionId: "AR_TP_WORKITEM_PROP_EXTERNALCONTACT_DSC", type: "cpx_external_contact", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "externalTag", name: "externalTag", descriptionId: "AR_TP_WORKITEM_PROP_EXTERNALTAG_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "languageSkill", name: "languageSkill", descriptionId: "AR_TP_WORKITEM_PROP_LANGUAGESKILL_DSC", type: "lac", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "modifiedBy", name: "modifiedBy", descriptionId: "AR_TP_WORKITEM_PROP_MODIFIEDBY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "priority", name: "priority", descriptionId: "AR_TP_WORKITEM_PROP_PRIORITY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "queue", name: "queue", descriptionId: "AR_TP_WORKITEM_PROP_QUEUE_DSC", type: "que", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "reporter", name: "reporter", descriptionId: "AR_TP_WORKITEM_PROP_REPORTER_DSC", type: "usr", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "scoredAgents", name: "scoredAgents", descriptionId: "AR_TP_WORKITEM_PROP_SCOREDAGENTS_DSC", type: "cpx_agent_score_pair", isCollection: true, isComputed: false, version: "1.0", readOnly: false }, { id: "skills", name: "skills", descriptionId: "AR_TP_WORKITEM_PROP_SKILLS_DSC", type: "skl", isCollection: true, isComputed: false, version: "1.0", readOnly: false }, { id: "status", name: "status", descriptionId: "AR_TP_WORKITEM_PROP_STATUS_DSC", type: "cpx_worktype_status", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "ttlDateTime", name: "ttlDateTime", descriptionId: "AR_TP_WORKITEM_PROP_TTLDATETIME_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "typeId", name: "typeId", descriptionId: "AR_TP_WORKITEM_PROP_TYPEID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "utilizationLabel", name: "utilizationLabel", descriptionId: "AR_TP_WORKITEM_PROP_UTILIZATIONLABEL_DSC", type: "cul", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "version", name: "version", descriptionId: "AR_TP_WORKITEM_PROP_VERSION_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "workbin", name: "workbin", descriptionId: "AR_TP_WORKITEM_PROP_WORKBIN_DSC", type: "cpx_workbin", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Workbin: { name: "AR_TP_WORKBIN", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_workbin", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_WORKBIN_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_WORKBIN_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "divisionId", name: "divisionId", descriptionId: "AR_TP_WORKBIN_PROP_DIVISIONID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, WorktypeStatus: { name: "AR_TP_WORKTYPESTATUS", allowArray: true, allowLiteralSelect: true, allowLiteralSelectFeatureConfig: "workitemDateAutomationFeature", additionalProperties: "category", dataType: "ComplexDataType", additionalPropertiesAreManaged: true, support: { classType: "ComplexVariable", expressionDataType: "cpx_worktype_status", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_WORKTYPESTATUS_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_WORKTYPESTATUS_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "category", name: "category", descriptionId: "AR_TP_WORKTYPESTATUS_PROP_CATEGORY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, allowableValues: "Open,InProgress,Waiting,Closed" }] } }, expression: { add: { identifier: "add", description: "AR_OP_DSC_ADD", type: "operator", symbol: "+", category: "mathematical", overloads: [{ description: "AR_OP_LNG_ADD_LNG_LNG_DSC", identifier: "Long_ONE add(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_ADD_LNG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_ADD_LNG_LNG_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_ADD_LNG_LNG_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "2 + 3", output: "5" }] }, { description: "AR_OP_DEC_ADD_DEC_LNG_DSC", identifier: "Decimal_ONE add(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_ADD_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_ADD_DEC_LNG_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_ADD_DEC_LNG_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "2.5 + 3", output: "5.5" }] }, { description: "AR_OP_DEC_ADD_LNG_DEC_DSC", identifier: "Decimal_ONE add(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_ADD_LNG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_ADD_LNG_DEC_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_ADD_LNG_DEC_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "2 + 33.7", output: "35.7" }] }, { description: "AR_OP_CUR_ADD_CUR_CUR_DSC", identifier: "Currency_ONE add(Currency_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_ADD_CUR_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_ADD_CUR_CUR_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_ADD_CUR_CUR_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'MakeCurrency(5.25, "USD") + ToCurrency("-3.00|USD")', output: "AR_OP_CUR_ADD_CUR_CUR_EX_OUT_0" }, { input: 'ToCurrency("5.25|") + MakeCurrency(-3.00, ToString(NOT_SET))', output: "AR_OP_CUR_ADD_CUR_CUR_EX_OUT_1" }] }, { description: "AR_OP_AUDIO_ADD_AUDIO_AUDIO_DSC", identifier: "Audio_ONE add(Audio_ONE,Audio_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_OP_AUDIO_ADD_AUDIO_AUDIO_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_AUDIO_AUDIO_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "aud" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_AUDIO_AUDIO_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "aud" }], examples: [{ input: 'ToAudioTTS("Hello ") + ToAudioTTS("World")', output: "AR_OP_AUDIO_ADD_AUDIO_AUDIO_EX_OUT_0" }] }, { description: "AR_OP_AUDIO_ADD_PROMPT_PROMPT_DSC", identifier: "Audio_ONE add(Prompt_ONE,Prompt_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_OP_AUDIO_ADD_PROMPT_PROMPT_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_PROMPT_PROMPT_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "pmt" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_PROMPT_PROMPT_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "pmt" }], examples: [{ input: "Prompt.Hello + Prompt.There", output: "AR_OP_AUDIO_ADD_PROMPT_PROMPT_EX_OUT_0" }] }, { description: "AR_OP_AUDIO_ADD_AUDIO_PROMPT_DSC", identifier: "Audio_ONE add(Audio_ONE,Prompt_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_OP_AUDIO_ADD_AUDIO_PROMPT_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_AUDIO_PROMPT_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "aud" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_AUDIO_PROMPT_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "pmt" }], examples: [{ input: 'ToAudioTTS("Hello") + Prompt.There', output: "AR_OP_AUDIO_ADD_AUDIO_PROMPT_EX_OUT_0" }] }, { description: "AR_OP_AUDIO_ADD_PROMPT_AUDIO_DSC", identifier: "Audio_ONE add(Prompt_ONE,Audio_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_OP_AUDIO_ADD_PROMPT_AUDIO_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_PROMPT_AUDIO_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "pmt" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_PROMPT_AUDIO_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "aud" }], examples: [{ input: 'Prompt.Hello + ToAudioTTS("There")', output: "AR_OP_AUDIO_ADD_PROMPT_AUDIO_EX_OUT_0" }] }, { description: "AR_OP_DEC_ADD_DEC_DEC_DSC", identifier: "Decimal_ONE add(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_ADD_DEC_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_ADD_DEC_DEC_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_ADD_DEC_DEC_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "2.2 + 3.9", output: "6.1" }] }, { description: "AR_OP_DTM_ADD_DUR_DTM_DSC", identifier: "DateTime_ONE add(Duration_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DTM_ADD_DUR_DTM_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_ADD_DUR_DTM_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_ADD_DUR_DTM_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "MakeDuration(0, 1, 1, 1) + MakeDateTime(2003, 6, 1, 0, 0, 0)", output: "AR_OP_DTM_ADD_DUR_DTM_EX_OUT_0" }] }, { description: "AR_OP_DTM_ADD_DTM_DUR_DSC", identifier: "DateTime_ONE add(DateTime_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DTM_ADD_DTM_DUR_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_ADD_DTM_DUR_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_ADD_DTM_DUR_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDateTime(2003, 6, 1, 0, 0, 0) + MakeDuration(0, 1, 1, 1)", output: "AR_OP_DTM_ADD_DTM_DUR_EX_OUT_0" }] }, { description: "AR_OP_DATE_ADD_DUR_DATE_DSC", identifier: "Date_ONE add(Duration_ONE,Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_DATE_ADD_DUR_DATE_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATE_ADD_DUR_DATE_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATE_ADD_DUR_DATE_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dat" }], examples: [{ input: "MakeDuration(1, 1, 1, 1) + MakeDate(2003, 6, 1)", output: "AR_OP_DATE_ADD_DUR_DATE_EX_OUT_0" }] }, { description: "AR_OP_DATE_ADD_DATE_DUR_DSC", identifier: "Date_ONE add(Date_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_DATE_ADD_DATE_DUR_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATE_ADD_DATE_DUR_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATE_ADD_DATE_DUR_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDate(2003, 6, 1) + MakeDuration(2, 1, 1, 1)", output: "AR_OP_DATE_ADD_DATE_DUR_EX_OUT_0" }] }, { description: "AR_OP_TIME_ADD_DUR_TIME_DSC", identifier: "Time_ONE add(Duration_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_TIME_ADD_DUR_TIME_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIME_ADD_DUR_TIME_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIME_ADD_DUR_TIME_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tim" }], examples: [{ input: "MakeDuration(0, 1, 1, 1) + MakeTime(1, 1, 5)", output: "AR_OP_TIME_ADD_DUR_TIME_EX_OUT_0" }] }, { description: "AR_OP_TIME_ADD_TIME_DUR_DSC", identifier: "Time_ONE add(Time_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_TIME_ADD_TIME_DUR_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIME_ADD_TIME_DUR_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIME_ADD_TIME_DUR_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeTime(12, 0, 0) + MakeDuration(0, 14, 1, 1)", output: "AR_OP_TIME_ADD_TIME_DUR_EX_OUT_0" }] }, { description: "AR_OP_DUR_ADD_DUR_DUR_DSC", identifier: "Duration_ONE add(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DUR_ADD_DUR_DUR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DUR_ADD_DUR_DUR_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DUR_ADD_DUR_DUR_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDuration(0, 10, 30, 0) + MakeDuration(1, 1, 15, 30)", output: "AR_OP_DUR_ADD_DUR_DUR_EX_OUT_0" }] }, { description: "AR_OP_STR_ADD_STR_STR_DSC", identifier: "String_ONE add(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_STR_ADD_STR_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_STR_ADD_STR_STR_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_STR_ADD_STR_STR_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: '"Hello " + "There"', output: '"Hello There"' }] }], needsServerInfo: true }, bitAnd: { identifier: "bitAnd", description: "AR_OP_DSC_BITAND", type: "operator", symbol: "&", category: "mathematical", overloads: [{ description: "AR_OP_LNG_BITAND_LNG_LNG_DSC", identifier: "Long_ONE bitAnd(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_BITAND_LNG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_BITAND_LNG_LNG_PRM_DSC_0", identifier: "value1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_BITAND_LNG_LNG_PRM_DSC_1", identifier: "value2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "3 & 9", output: "1" }, { input: "7 & 15", output: "7" }, { input: "-2 & 5", output: "4" }] }] }, bitNot: { identifier: "bitNot", description: "AR_OP_DSC_BITNOT", type: "operator", symbol: "~", category: "mathematical", overloads: [{ description: "AR_OP_LNG_BITNOT_LNG_DSC", identifier: "Long_ONE bitNot(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_BITNOT_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_BITNOT_LNG_PRM_DSC_0", identifier: "value1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "~ 5", output: "-6" }, { input: "~ 256", output: "-257" }] }] }, bitOr: { identifier: "bitOr", description: "AR_OP_DSC_BITOR", type: "operator", symbol: "|", category: "mathematical", overloads: [{ description: "AR_OP_LNG_BITOR_LNG_LNG_DSC", identifier: "Long_ONE bitOr(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_BITOR_LNG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_BITOR_LNG_LNG_PRM_DSC_0", identifier: "value1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_BITOR_LNG_LNG_PRM_DSC_1", identifier: "value2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "3 | 9", output: "11" }, { input: "7 | 15", output: "15" }, { input: "-2 | 5", output: "-1" }] }] }, sub: { identifier: "sub", description: "AR_OP_DSC_SUB", type: "operator", symbol: "-", category: "mathematical", overloads: [{ description: "AR_OP_DATE_SUB_DATE_DUR_DSC", identifier: "Date_ONE sub(Date_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_DATE_SUB_DATE_DUR_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATE_SUB_DATE_DUR_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATE_SUB_DATE_DUR_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDate(2009, 1, 10) - MakeDuration(10, 0, 30, 0)", output: "AR_OP_DATE_SUB_DATE_DUR_EX_OUT_0" }, { input: "MakeDate(2020, 2, 28) - MakeDuration(3, 0, 0, 0)", output: "AR_OP_DATE_SUB_DATE_DUR_EX_OUT_1" }] }, { description: "AR_OP_LNG_SUB_LNG_LNG_DSC", identifier: "Long_ONE sub(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_SUB_LNG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_SUB_LNG_LNG_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_SUB_LNG_LNG_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "2 - 3", output: "-1" }, { input: "100 - 35", output: "65" }] }, { description: "AR_OP_CUR_SUB_CUR_CUR_DSC", identifier: "Currency_ONE sub(Currency_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_SUB_CUR_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_SUB_CUR_CUR_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_SUB_CUR_CUR_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'ToCurrency("5.25|USD") - MakeCurrency(4.00, "USD")', output: "AR_OP_CUR_SUB_CUR_CUR_EX_OUT_0" }, { input: 'ToCurrency("5.25|") - ToCurrency("2.50|")', output: "AR_OP_CUR_SUB_CUR_CUR_EX_OUT_1" }] }, { description: "AR_OP_DEC_SUB_DEC_DEC_DSC", identifier: "Decimal_ONE sub(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_SUB_DEC_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_SUB_DEC_DEC_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_SUB_DEC_DEC_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "20.5 - 5.3", output: "15.2" }, { input: "24.5 - 7.1", output: "17.4" }] }, { description: "AR_OP_DEC_SUB_DEC_LNG_DSC", identifier: "Decimal_ONE sub(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_SUB_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_SUB_DEC_LNG_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_SUB_DEC_LNG_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "20.5 - 5", output: "15.5" }, { input: "24.5 - 7", output: "17.5" }] }, { description: "AR_OP_DEC_SUB_LNG_DEC_DSC", identifier: "Decimal_ONE sub(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_SUB_LNG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_SUB_LNG_DEC_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_SUB_LNG_DEC_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "20 - 5.5", output: "14.5" }, { input: "24 - 7.5", output: "16.5" }] }, { description: "AR_OP_DTM_SUB_DUR_DUR_DSC", identifier: "DateTime_ONE sub(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DTM_SUB_DUR_DUR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_SUB_DUR_DUR_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_SUB_DUR_DUR_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDuration(0, 10, 30, 0) - MakeDuration(0, 5, 15, 0)", output: "AR_OP_DTM_SUB_DUR_DUR_EX_OUT_0" }] }, { description: "AR_OP_DTM_SUB_DTM_DUR_DSC", identifier: "DateTime_ONE sub(DateTime_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DTM_SUB_DTM_DUR_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_SUB_DTM_DUR_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_SUB_DTM_DUR_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDateTime(2003, 6, 3, 0, 0, 0) - MakeDuration(0, 1, 1, 1)", output: "AR_OP_DTM_SUB_DTM_DUR_EX_OUT_0" }] }, { description: "AR_OP_TIME_SUB_TIME_DUR_DSC", identifier: "Time_ONE sub(Time_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_TIME_SUB_TIME_DUR_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIME_SUB_TIME_DUR_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIME_SUB_TIME_DUR_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeTime(2, 30, 0) - MakeDuration(10, -3, -30, 0)", output: "AR_OP_TIME_SUB_TIME_DUR_EX_OUT_0" }, { input: "MakeTime(2, 30, 0) - MakeDuration(0, -3, -30, 0)", output: "AR_OP_TIME_SUB_TIME_DUR_EX_OUT_1" }, { input: "MakeTime(2, 30, 0) - MakeDuration(3, 3, 30, 0)", output: "AR_OP_TIME_SUB_TIME_DUR_EX_OUT_2" }] }], needsServerInfo: true }, mul: { identifier: "mul", description: "AR_OP_DSC_MUL", type: "operator", symbol: "*", category: "mathematical", overloads: [{ description: "AR_OP_LNG_MUL_LNG_LNG_DSC", identifier: "Long_ONE mul(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_MUL_LNG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_MUL_LNG_LNG_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_MUL_LNG_LNG_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "7 * 12", output: "84" }, { input: "9 * 1000", output: "9000" }] }, { description: "AR_OP_DEC_MUL_DEC_DEC_DSC", identifier: "Decimal_ONE mul(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_MUL_DEC_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MUL_DEC_DEC_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MUL_DEC_DEC_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "7.5 * 12.2", output: "91.5" }] }, { description: "AR_OP_DEC_MUL_LNG_DEC_DSC", identifier: "Decimal_ONE mul(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_MUL_LNG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MUL_LNG_DEC_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MUL_LNG_DEC_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "7 * 12.2", output: "85.4" }, { input: "-7 * 12.2", output: "-85.4" }] }, { description: "AR_OP_DEC_MUL_DEC_LNG_DSC", identifier: "Decimal_ONE mul(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_MUL_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MUL_DEC_LNG_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MUL_DEC_LNG_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "7.2 * 12", output: "86.4" }, { input: "5.1 * -3", output: "-15.3" }] }, { description: "AR_OP_CUR_MUL_DEC_CUR_DSC", identifier: "Currency_ONE mul(Decimal_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_MUL_DEC_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_DEC_CUR_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_DEC_CUR_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: '7.2 * ToCurrency("5.25|USD")', output: "AR_OP_CUR_MUL_DEC_CUR_EX_OUT_0" }] }, { description: "AR_OP_CUR_MUL_CUR_DEC_DSC", identifier: "Currency_ONE mul(Currency_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_MUL_CUR_DEC_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_CUR_DEC_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_CUR_DEC_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: 'ToCurrency("-5.25|USD") * 7.2', output: "AR_OP_CUR_MUL_CUR_DEC_EX_OUT_0" }] }, { description: "AR_OP_CUR_MUL_LNG_CUR_DSC", identifier: "Currency_ONE mul(Long_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_MUL_LNG_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_LNG_CUR_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_LNG_CUR_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: '7 * MakeCurrency(5.25, "USD")', output: "AR_OP_CUR_MUL_LNG_CUR_EX_OUT_0" }] }, { description: "AR_OP_CUR_MUL_CUR_LNG_DSC", identifier: "Currency_ONE mul(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_MUL_CUR_LNG_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_CUR_LNG_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_CUR_LNG_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: 'MakeCurrency(5.25, "USD") * 7', output: "AR_OP_CUR_MUL_CUR_LNG_EX_OUT_0" }] }] }, div: { identifier: "div", description: "AR_OP_DSC_DIV", type: "operator", symbol: "/", category: "mathematical", overloads: [{ description: "AR_OP_DEC_DIV_LNG_DEC_DSC", identifier: "Decimal_ONE div(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_DIV_LNG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_LNG_DEC_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_LNG_DEC_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec", disallowZero: true }], examples: [{ input: "42 / (3.0 + 3.0)", output: "7.0" }] }, { description: "AR_OP_DEC_DIV_DEC_LNG_DSC", identifier: "Decimal_ONE div(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_DIV_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_DEC_LNG_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_DEC_LNG_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", disallowZero: true }], examples: [{ input: "42.7 / 7", output: "6.1" }] }, { description: "AR_OP_DEC_DIV_LNG_LNG_DSC", identifier: "Decimal_ONE div(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_DIV_LNG_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_LNG_LNG_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_LNG_LNG_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", disallowZero: true }], examples: [{ input: "42 / 8", output: "5.25" }] }, { description: "AR_OP_DEC_DIV_DEC_DEC_DSC", identifier: "Decimal_ONE div(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_DIV_DEC_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_DEC_DEC_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_DEC_DEC_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec", disallowZero: true }], examples: [{ input: "44.7741 / 6.21", output: "7.21" }] }, { description: "AR_OP_CUR_DIV_CUR_DEC_DSC", identifier: "Currency_ONE div(Currency_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_DIV_CUR_DEC_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_DIV_CUR_DEC_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_DIV_CUR_DEC_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec", disallowZero: true }], examples: [{ input: 'ToCurrency("44.7741|USD") / 6.21', output: "AR_OP_CUR_DIV_CUR_DEC_EX_OUT_0" }] }, { description: "AR_OP_CUR_DIV_CUR_LNG_DSC", identifier: "Currency_ONE div(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_DIV_CUR_LNG_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_DIV_CUR_LNG_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_DIV_CUR_LNG_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", disallowZero: true }], examples: [{ input: 'ToCurrency("45.00|USD") / 6', output: "AR_OP_CUR_DIV_CUR_LNG_EX_OUT_0" }] }] }, pow: { identifier: "pow", description: "AR_OP_DSC_POW", type: "operator", symbol: "^", category: "mathematical", overloads: [{ description: "AR_OP_LNG_POW_LNG_LNG_DSC", identifier: "Long_ONE pow(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_POW_LNG_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_POW_LNG_LNG_PRM_DSC_0", identifier: "base", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_POW_LNG_LNG_PRM_DSC_1", identifier: "exponent", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "2 ^ 3", output: "8.0" }, { input: "2 ^ -1", output: "0.5" }] }, { description: "AR_OP_DEC_POW_LNG_DEC_DSC", identifier: "Decimal_ONE pow(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_POW_LNG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_POW_LNG_DEC_PRM_DSC_0", identifier: "base", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_POW_LNG_DEC_PRM_DSC_1", identifier: "exponent", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "2 ^ 3.0", output: "8.0" }, { input: "81 ^ 0.5", output: "9.0" }] }, { description: "AR_OP_DEC_POW_DEC_LNG_DSC", identifier: "Decimal_ONE pow(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_POW_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_POW_DEC_LNG_PRM_DSC_0", identifier: "base", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_POW_DEC_LNG_PRM_DSC_1", identifier: "exponent", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "2.0 ^ 3", output: "8.0" }, { input: "5.5 ^ 3", output: "166.375" }, { input: "2.0 ^ -1", output: "0.5" }] }, { description: "AR_OP_DEC_POW_DEC_DEC_DSC", identifier: "Decimal_ONE pow(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_POW_DEC_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_POW_DEC_DEC_PRM_DSC_0", identifier: "base", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_POW_DEC_DEC_PRM_DSC_1", identifier: "exponent", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "2.5 ^ 3.0", output: "15.625" }] }] }, ter: { identifier: "ter", description: "AR_OP_DSC_TER", type: "operator", symbol: "?", category: "logical", overloads: [{ description: "AR_OP_ANY_TER_BLN_ANY_ANY_DSC", identifier: "Any_ONE ter(Boolean_ONE,Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "If" }, returnValue: { description: "AR_OP_ANY_TER_BLN_ANY_ANY_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_ANY_TER_BLN_ANY_ANY_PRM_DSC_0", identifier: "condition", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_ANY_TER_BLN_ANY_ANY_PRM_DSC_1", identifier: "trueValue", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_ANY_TER_BLN_ANY_ANY_PRM_DSC_2", identifier: "falseValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: "5>3 ? true : false", output: "true" }, { input: '5>3 ? "hello" : "world"', output: '"hello"' }, { input: "5>3 ? 100 : 200", output: "100" }, { input: "5>3 ? 100.5 : 200.0", output: "100.5" }, { input: 'MakeCurrency(5.00, "USD") > MakeCurrency(2.00, "USD") ? MakeCurrency(10.00, "USD") : ToCurrency(NOT_SET)', output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_4" }, { input: "5>3 ? MakeDateTime(2009, 5, 5, 10, 30, 0) : MakeDateTime(2005, 1, 1, 0, 0, 0)", output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_5" }, { input: "5>3 ? MakeDuration(0, 1, 0, 0) : MakeDuration(2, 0, 0, 0)", output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_6" }, { input: '5>3 ? ToUser("john.doe@company.com") : ToUser("mary.doe@company.com")', output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_7", hidden: "true" }, { input: '5>3 ? ToSkill("Spanish") : ToSkill("German")', output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_8", hidden: "true" }, { input: "3<5 ? MakeDate(2010, 6, 1) : MakeDate(2015, 6, 1)", output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_9", featureConfigName: "botFlows" }, { input: "3<5 ? MakeTime(12, 0, 0) : MakeTime(2, 30, 0)", output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_10", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_DSC", identifier: "Any_COLL ter(Boolean_ONE,Any_COLL,Any_COLL)", support: { version: "1.0", resolver: "If" }, returnValue: { description: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_PRM_DSC_0", identifier: "condition", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_PRM_DSC_1", identifier: "trueValue", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_PRM_DSC_2", identifier: "falseValue", isArray: true, helpDisplayIdx: 2, repeatable: false, required: true, type: "any" }], examples: [{ input: 'MakeCurrency(5.00, "USD") > MakeCurrency(2.00, "USD") ? MakeList(MakeCurrency(10.00, "USD")) : MakeList(ToCurrency(NOT_SET))', output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_0" }, { input: "5>3 ? MakeList(true) : MakeList(false)", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_1" }, { input: '5>3 ? MakeList("hello") : MakeList("world")', output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_2" }, { input: "5>3 ? MakeList(100) : MakeList(200)", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_3" }, { input: "5>3 ? MakeList(100.5) : MakeList(200.0)", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_4" }, { input: "5>3 ? MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0)) : MakeList(MakeDateTime(2005, 1, 1, 0, 0, 0))", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_5" }, { input: "5>3 ? MakeList(MakeDuration(0, 1, 0, 0)) : MakeList(MakeDuration(2, 0, 0, 0))", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_6" }, { input: '5>3 ? MakeList(ToUser("john.doe@company.com")) : MakeList(ToUser("mary.doe@company.com"))', output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_7", hidden: "true" }, { input: '5>3 ? MakeList(ToSkill("Spanish")) : MakeList(ToSkill("German"))', output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_8", hidden: "true" }, { input: "3<5 ? MakeList(MakeDate(2010, 6, 1)) : MakeList(MakeDate(2015, 6, 1))", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_9", featureConfigName: "botFlows" }, { input: "3<5 ? MakeList(MakeTime(12, 0, 0)) : MakeList(MakeTime(2, 30, 0))", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_10", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_DSC", identifier: "Audio_ONE ter(Boolean_ONE,Audio_ONE,Audio_ONE)", support: { version: "1.0", resolver: "If" }, returnValue: { description: "AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_PRM_DSC_0", identifier: "condition", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_PRM_DSC_1", identifier: "trueValueAudio", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "aud" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_PRM_DSC_2", identifier: "falseValueAudio", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "aud" }], examples: [{ input: '5>3 ? ToAudioTTS("Hello") : ToAudioTTS("World")', output: "AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_EX_OUT_0" }] }] }, mod: { identifier: "mod", description: "AR_OP_DSC_MOD", type: "operator", symbol: "%", category: "mathematical", overloads: [{ description: "AR_OP_LNG_MOD_LNG_LNG_DSC", identifier: "Long_ONE mod(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_MOD_LNG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_MOD_LNG_LNG_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_MOD_LNG_LNG_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", disallowZero: true }], examples: [{ input: "27 % 5", output: "2" }] }, { description: "AR_OP_DEC_MOD_DEC_DEC_DSC", identifier: "Decimal_ONE mod(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_MOD_DEC_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MOD_DEC_DEC_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MOD_DEC_DEC_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec", disallowZero: true }], examples: [{ input: "37.3 % 12.8", output: "11.7" }] }, { description: "AR_OP_DEC_MOD_LNG_DEC_DSC", identifier: "Decimal_ONE mod(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_MOD_LNG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MOD_LNG_DEC_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MOD_LNG_DEC_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec", disallowZero: true }], examples: [{ input: "37 % 12.8", output: "11.4" }] }, { description: "AR_OP_DEC_MOD_DEC_LNG_DSC", identifier: "Decimal_ONE mod(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_MOD_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MOD_DEC_LNG_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MOD_DEC_LNG_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", disallowZero: true }], examples: [{ input: "37.9 % 9", output: "1.9" }] }, { description: "AR_OP_CUR_MOD_CUR_DEC_DSC", identifier: "Currency_ONE mod(Currency_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_MOD_CUR_DEC_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MOD_CUR_DEC_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MOD_CUR_DEC_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec", disallowZero: true }], examples: [{ input: 'ToCurrency("37.9|USD") % 9.5', output: "AR_OP_CUR_MOD_CUR_DEC_EX_OUT_0" }] }, { description: "AR_OP_CUR_MOD_CUR_LNG_DSC", identifier: "Currency_ONE mod(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_MOD_CUR_LNG_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MOD_CUR_LNG_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MOD_CUR_LNG_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", disallowZero: true }], examples: [{ input: 'MakeCurrency(37.95, "USD") % 9', output: "AR_OP_CUR_MOD_CUR_LNG_EX_OUT_0" }] }] }, not: { identifier: "not", description: "AR_OP_DSC_NOT", type: "operator", symbol: "!", category: "unary", overloads: [{ description: "AR_OP_BLN_NOT_BLN_DSC", identifier: "Boolean_ONE not(Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_NOT_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_NOT_BLN_PRM_DSC_0", identifier: "booleanValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "bln" }], examples: [{ input: "!true", output: "false" }, { input: "!( 5 == 3 )", output: "true" }] }] }, neg: { identifier: "neg", description: "AR_OP_DSC_NEG", type: "operator", symbol: "-", category: "unary", overloads: [{ description: "AR_OP_CUR_NEG_CUR_DSC", identifier: "Currency_ONE neg(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_NEG_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_NEG_CUR_PRM_DSC_0", identifier: "valueToNegate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }], examples: [{ input: '- MakeCurrency(5.25, "USD")', output: "AR_OP_CUR_NEG_CUR_EX_OUT_0" }, { input: '- MakeCurrency(0.0, "USD")', output: "AR_OP_CUR_NEG_CUR_EX_OUT_1" }] }, { description: "AR_OP_LNG_NEG_LNG_DSC", identifier: "Long_ONE neg(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_NEG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_NEG_LNG_PRM_DSC_0", identifier: "valueToNegate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "-( 3 + 2 )", output: "-5" }, { input: "-( 0 )", output: "0" }] }, { description: "AR_OP_DEC_NEG_DEC_DSC", identifier: "Decimal_ONE neg(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_NEG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_NEG_DEC_PRM_DSC_0", identifier: "valueToNegate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }], examples: [{ input: "-( 3.5 + 2.7 )", output: "-6.2" }, { input: "- ( 0.0 )", output: "0.0" }] }, { description: "AR_OP_DUR_NEG_DUR_DSC", identifier: "Duration_ONE neg(Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DUR_NEG_DUR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DUR_NEG_DUR_PRM_DSC_0", identifier: "valueToNegate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }], examples: [{ input: "- MakeDuration(10, 0, 0, 0)", output: "AR_OP_DUR_NEG_DUR_EX_OUT_0" }] }] }, and: { identifier: "and", description: "AR_OP_DSC_AND", type: "operator", symbol: "and", category: "logical", overloads: [{ description: "AR_OP_BLN_LOGICALAND_BLN_BLN_DSC", identifier: "Boolean_ONE logicalAnd(Boolean_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LOGICALAND_BLN_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LOGICALAND_BLN_BLN_PRM_DSC_0", identifier: "value1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LOGICALAND_BLN_BLN_PRM_DSC_1", identifier: "value2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bln" }], examples: [{ input: "true And false", output: "false" }, { input: "( 5 == 5 ) and ( 3 != 4 )", output: "true" }, { input: "true AND ( 3 > 4 )", output: "false" }] }] }, or: { identifier: "or", description: "AR_OP_DSC", type: "operator", symbol: "or", category: "logical", overloads: [{ description: "AR_OP_BLN_LOGICALOR_BLN_BLN_DSC", identifier: "Boolean_ONE logicalOr(Boolean_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LOGICALOR_BLN_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LOGICALOR_BLN_BLN_PRM_DSC_0", identifier: "value1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LOGICALOR_BLN_BLN_PRM_DSC_1", identifier: "value2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bln" }], examples: [{ input: "true Or false", output: "true" }, { input: "( 5 == 5 ) or ( 3 != 4 )", output: "true" }, { input: "false OR ( 3 > 4 )", output: "false" }] }] }, gt: { identifier: "gt", description: "AR_OP_DSC_GT", type: "operator", symbol: ">", category: "comparison", overloads: [{ description: "AR_OP_BLN_GT_DATE_DATE_DSC", identifier: "Boolean_ONE gt(Date_ONE,Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_GT_DATE_DATE_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DATE_DATE_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DATE_DATE_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dat" }], examples: [{ input: "MakeDate(2011, 3, 20) > MakeDate(2010, 3, 20)", output: "true" }, { input: "MakeDate(2010, 1, 15) > MakeDate(2010, 1, 15)", output: "false" }] }, { description: "AR_OP_BLN_GT_LNG_DEC_DSC", identifier: "Boolean_ONE gt(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_LNG_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_LNG_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_LNG_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "7 > 5.2", output: "true" }] }, { description: "AR_OP_BLN_GT_DEC_LNG_DSC", identifier: "Boolean_ONE gt(Decimal_ONE,Long_ONE", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_DEC_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DEC_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DEC_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "7.2 > 5", output: "true" }] }, { description: "AR_OP_BLN_GT_CUR_CUR_DSC", identifier: "Boolean_ONE gt(Currency_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_CUR_CUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_CUR_CUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_CUR_CUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'ToCurrency("6.50|USD") > MakeCurrency(6.10, "USD")', output: "true" }] }, { description: "AR_OP_BLN_GT_DTM_DTM_DSC", identifier: "Boolean_ONE gt(DateTime_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_DTM_DTM_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DTM_DTM_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DTM_DTM_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "MakeDateTime(2009, 3, 20, 12, 00, 00) > MakeDateTime(2010, 3, 20, 12, 00, 00)", output: "false" }, { input: "MakeDateTime(2025, 3, 24, 12, 00, 00) > MakeDateTime(2010, 3, 20, 12, 00, 00)", output: "true" }] }, { description: "AR_OP_BLN_GT_DEC_DEC_DSC", identifier: "Boolean_ONE gt(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_DEC_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DEC_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DEC_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "9.2 > 7.7", output: "true" }, { input: "9.2 > 11.7", output: "false" }] }, { description: "AR_OP_BLN_GT_DUR_DUR_DSC", identifier: "Boolean_ONE gt(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_DUR_DUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DUR_DUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DUR_DUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDuration(0, 2, 30, 0) > MakeDuration(0, 1, 59, 59)", output: "true" }] }, { description: "AR_OP_BLN_GT_LNG_LNG_DSC", identifier: "Boolean_ONE gt(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_LNG_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_LNG_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_LNG_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "150 > 125", output: "true" }] }, { description: "AR_OP_BLN_GT_STR_STR_DSC", identifier: "Boolean_ONE gt(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_STR_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_STR_STR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_STR_STR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: '"Hello" > "World"', output: "false" }] }, { description: "AR_OP_BLN_GT_TIME_TIME_DSC", identifier: "Boolean_ONE gt(Time_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_GT_TIME_TIME_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_TIME_TIME_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_TIME_TIME_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tim" }], examples: [{ input: "MakeTime(15, 30, 0) > MakeTime(12, 0, 0)", output: "true" }, { input: "MakeTime(1, 0, 0) > MakeTime(1, 0, 0)", output: "false" }] }], needsServerInfo: true }, gte: { identifier: "gte", description: "AR_OP_DSC_GTE", type: "operator", symbol: ">=", category: "comparison", overloads: [{ description: "AR_OP_BLN_GTE_DATE_DATE_DSC", identifier: "Boolean_ONE gte(Date_ONE,Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_GTE_DATE_DATE_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DATE_DATE_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DATE_DATE_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dat" }], examples: [{ input: "MakeDate(2011, 3, 20) >= MakeDate(2010, 3, 20)", output: "true" }, { input: "MakeDate(2009, 3, 20) >= MakeDate(2010, 3, 20)", output: "false" }, { input: "MakeDate(2010, 1, 15) >= MakeDate(2010, 1, 15)", output: "true" }] }, { description: "AR_OP_BLN_GTE_LNG_DEC_DSC", identifier: "Boolean_ONE gte(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_LNG_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_LNG_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_LNG_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "7 >= 5.2", output: "true" }] }, { description: "AR_OP_BLN_GTE_DEC_LNG_DSC", identifier: "Boolean_ONE gte(Decimal_ONE,Long_ONE", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_DEC_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DEC_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DEC_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "7.2 >= 5", output: "true" }] }, { description: "AR_OP_BLN_GTE_CUR_CUR_DSC", identifier: "Boolean_ONE gte(Currency_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_CUR_CUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_CUR_CUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_CUR_CUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'ToCurrency("6.50|USD") >= ToCurrency("6.10|USD")', output: "true" }] }, { description: "AR_OP_BLN_GTE_DTM_DTM_DSC", identifier: "Boolean_ONE gte(DateTime_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_DTM_DTM_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DTM_DTM_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DTM_DTM_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "MakeDateTime(2009, 3, 20, 12, 00, 00) >= MakeDateTime(2010, 3, 20, 12, 00, 00)", output: "false" }] }, { description: "AR_OP_BLN_GTE_DEC_DEC_DSC", identifier: "Boolean_ONE gte(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_DEC_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DEC_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DEC_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "9.2 >= 7.7", output: "true" }, { input: "9.2 >= 11.7", output: "false" }] }, { description: "AR_OP_BLN_GTE_DUR_DUR_DSC", identifier: "Boolean_ONE gte(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_DUR_DUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DUR_DUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DUR_DUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDuration(0, 2, 30, 0) >= MakeDuration(0, 1, 59, 59)", output: "true" }] }, { description: "AR_OP_BLN_GTE_LNG_LNG_DSC", identifier: "Boolean_ONE gte(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_LNG_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_LNG_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_LNG_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "150 >= 125", output: "true" }] }, { description: "AR_OP_BLN_GTE_STR_STR_DSC", identifier: "Boolean_ONE gte(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_STR_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_STR_STR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_STR_STR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: '"Hello" >= "World"', output: "false" }] }, { description: "AR_OP_BLN_GTE_TIME_TIME_DSC", identifier: "Boolean_ONE gte(Time_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_GTE_TIME_TIME_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_TIME_TIME_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_TIME_TIME_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tim" }], examples: [{ input: "MakeTime(15, 30, 0) >= MakeTime(12, 0, 0)", output: "true" }, { input: "MakeTime(0, 30, 0) >= MakeTime(1, 0, 0)", output: "false" }, { input: "MakeTime(1, 0, 0) >= MakeTime(1, 0, 0)", output: "true" }] }], needsServerInfo: true }, lt: { identifier: "lt", description: "AR_OP_DSC_LT", type: "operator", symbol: "<", category: "comparison", overloads: [{ description: "AR_OP_BLN_LT_LNG_DEC_DSC", identifier: "Boolean_ONE lt(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_LNG_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_LNG_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_LNG_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "7 < 5.2", output: "false" }] }, { description: "AR_OP_BLN_LT_DEC_LNG_DSC", identifier: "Boolean_ONE lt(Decimal_ONE,Long_ONE", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_DEC_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DEC_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DEC_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "7.2 < 5", output: "false" }] }, { description: "AR_OP_BLN_LT_CUR_CUR_DSC", identifier: "Boolean_ONE lt(Currency_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_CUR_CUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_CUR_CUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_CUR_CUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'ToCurrency("6.50|USD") < ToCurrency("6.10|USD")', output: "false" }] }, { description: "AR_OP_BLN_LT_DATE_DATE_DSC", identifier: "Boolean_ONE lt(Date_ONE,Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_LT_DATE_DATE_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DATE_DATE_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DATE_DATE_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dat" }], examples: [{ input: "MakeDate(2009, 3, 20) < MakeDate(2010, 3, 20)", output: "true" }, { input: "MakeDate(2010, 1, 15) < MakeDate(2010, 1, 15)", output: "false" }] }, { description: "AR_OP_BLN_LT_DTM_DTM_DSC", identifier: "Boolean_ONE lt(DateTime_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_DTM_DTM_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DTM_DTM_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DTM_DTM_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "MakeDateTime(2009, 3, 20, 12, 00, 00) < MakeDateTime(2010, 3, 20, 12, 00, 00)", output: "true" }] }, { description: "AR_OP_BLN_LT_DEC_DEC_DSC", identifier: "Boolean_ONE lt(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_DEC_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DEC_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DEC_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "9.2 < 7.7", output: "false" }, { input: "9.2 < 11.7", output: "true" }] }, { description: "AR_OP_BLN_LT_DUR_DUR_DSC", identifier: "Boolean_ONE lt(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_DUR_DUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DUR_DUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DUR_DUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDuration(0, 2, 30, 0) < MakeDuration(0, 1, 59, 59)", output: "false" }] }, { description: "AR_OP_BLN_LT_LNG_LNG_DSC", identifier: "Boolean_ONE lt(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_LNG_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_LNG_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_LNG_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "150 < 125", output: "false" }] }, { description: "AR_OP_BLN_LT_STR_STR_DSC", identifier: "Boolean_ONE lt(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_STR_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_STR_STR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_STR_STR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: '"Hello" < "World"', output: "true" }] }, { description: "AR_OP_BLN_LT_TIME_TIME_DSC", identifier: "Boolean_ONE lt(Time_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_LT_TIME_TIME_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_TIME_TIME_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_TIME_TIME_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tim" }], examples: [{ input: "MakeTime(3, 30, 0) < MakeTime(12, 0, 0)", output: "true" }, { input: "MakeTime(1, 0, 0) < MakeTime(1, 0, 0)", output: "false" }] }], needsServerInfo: true }, lte: { identifier: "lte", description: "AR_OP_DSC_LTE", type: "operator", symbol: "<=", category: "comparison", overloads: [{ description: "AR_OP_BLN_LTE_LNG_DEC_DSC", identifier: "Boolean_ONE lte(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_LNG_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_LNG_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_LNG_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "7 <= 5.2", output: "false" }] }, { description: "AR_OP_BLN_LTE_DATE_DATE_DSC", identifier: "Boolean_ONE lte(Date_ONE,Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_LTE_DATE_DATE_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DATE_DATE_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DATE_DATE_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dat" }], examples: [{ input: "MakeDate(2009, 3, 20) <= MakeDate(2010, 3, 20)", output: "true" }, { input: "MakeDate(2010, 1, 15) <= MakeDate(2010, 1, 15)", output: "true" }] }, { description: "AR_OP_BLN_LTE_DEC_LNG_DSC", identifier: "Boolean_ONE lte(Decimal_ONE,Long_ONE", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_DEC_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DEC_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DEC_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "7.2 <= 5", output: "false" }] }, { description: "AR_OP_BLN_LTE_CUR_CUR_DSC", identifier: "Boolean_ONE lte(Currency_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_CUR_CUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_CUR_CUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_CUR_CUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'ToCurrency("6.50|USD") <= ToCurrency("6.10|USD")', output: "false" }] }, { description: "AR_OP_BLN_LTE_DTM_DTM_DSC", identifier: "Boolean_ONE lte(DateTime_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_DTM_DTM_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DTM_DTM_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DTM_DTM_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "MakeDateTime(2009, 3, 20, 12, 00, 00) <= MakeDateTime(2010, 3, 20, 12, 00, 00)", output: "true" }] }, { description: "AR_OP_BLN_LTE_DEC_DEC_DSC", identifier: "Boolean_ONE lte(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_DEC_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DEC_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DEC_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "9.2 <= 7.7", output: "false" }, { input: "9.2 <= 11.7", output: "true" }] }, { description: "AR_OP_BLN_LTE_DUR_DUR_DSC", identifier: "Boolean_ONE lte(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_DUR_DUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DUR_DUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DUR_DUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDuration(0, 2, 30, 0) <= MakeDuration(0, 1, 59, 59)", output: "false" }] }, { description: "AR_OP_BLN_LTE_LNG_LNG_DSC", identifier: "Boolean_ONE lte(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_LNG_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_LNG_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_LNG_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "150 <= 125", output: "false" }] }, { description: "AR_OP_BLN_LTE_STR_STR_DSC", identifier: "Boolean_ONE lte(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_STR_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_STR_STR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_STR_STR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: '"Hello" <= "World"', output: "true" }] }, { description: "AR_OP_BLN_LTE_TIME_TIME_DSC", identifier: "Boolean_ONE lte(Time_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_LTE_TIME_TIME_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_TIME_TIME_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_TIME_TIME_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tim" }], examples: [{ input: "MakeTime(3, 30, 0) <= MakeTime(12, 0, 0)", output: "true" }, { input: "MakeTime(3, 0, 0) <= MakeTime(3, 0, 0)", output: "true" }, { input: "MakeTime(4, 0, 0) <= MakeTime(3, 0, 0)", output: "false" }] }], needsServerInfo: true }, bkt: { identifier: "bkt", description: "AR_OP_DSC_BKT", type: "operator", closingSymbol: "]", symbol: "[", category: "list", overloads: [{ description: "AR_OP_ANY_BKT_LNG_ANY_COLL_DSC", identifier: "Any_ONE bkt(Long_ONE,Any_COLL)", support: { version: "1.0", resolver: "CollectionBrackets" }, reverseOpsForHelp: true, returnValue: { description: "AR_OP_ANY_BKT_LNG_ANY_COLL_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_BKT_LNG_ANY_COLL_PRM_DSC_0", identifier: "index", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_BKT_LNG_ANY_COLL_PRM_DSC_1", identifier: "collection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: 'MakeList(MakeCurrency(5.25, "USD"), MakeCurrency(2.25, "EUR"))[1]', output: "AR_OP_ANY_BKT_LNG_ANY_COLL_EX_OUT_0" }, { input: "MakeList(1, 2, 3)[2]", output: "3" }, { input: 'MakeList("Hello", "There")[0]', output: '"Hello"' }] }, { description: "AR_OP_ANY_BKT_STR_ANY_DSC", identifier: "Any_ONE bkt(String_ONE,Any_ONE)", support: { version: "1.0", resolver: "PropertyBrackets" }, reverseOpsForHelp: true, returnValue: { description: "AR_OP_ANY_BKT_STR_ANY_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_BKT_STR_ANY_PRM_DSC_0", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_BKT_STR_ANY_PRM_DSC_1", identifier: "objectWithProperties", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: 'MakeCurrency(5.25, "USD")["amount"]', output: "5.25" }, { input: 'MakeCurrency(5.25, "USD")["code"]', output: '"USD"' }] }, { description: "AR_OP_JSON_BKT_LNG_JSON_DSC", identifier: "JSON_ONE bkt(Long_ONE,JSON_ONE)", support: { version: "1.0", resolver: "None" }, reverseOpsForHelp: true, needsServerInfo: true, returnValue: { description: "AR_OP_JSON_BKT_LNG_JSON_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_JSON_BKT_LNG_JSON_PRM_DSC_0", identifier: "index", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_JSON_BKT_LNG_JSON_PRM_DSC_1", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }], examples: [{ input: 'JsonParse("[ 1, 2, 3 ]")[2]', output: "AR_OP_JSON_BKT_LNG_JSON_EX_OUT_0" }, { input: 'JsonParse("[ \\"Apple\\", \\"Banana\\", \\"Orange\\" ]")[0]', output: 'A JSON value containing the String value "Apple"' }, { input: 'JsonParse("\\"Hello\\"")[2]', output: "AR_OP_JSON_BKT_LNG_JSON_EX_OUT_2" }] }], needsServerInfo: true }, equ: { identifier: "equ", description: "AR_OP_DSC_EQU", type: "operator", symbol: "==", category: "comparison", overloads: [{ description: "AR_OP_BLN_EQU_ANY_ANY_DSC", identifier: "Boolean_ONE equ(Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "SameType" }, returnValue: { description: "AR_OP_BLN_EQU_ANY_ANY_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_ANY_ANY_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_ANY_ANY_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: "5 == 3", output: "false" }, { input: "true == ! ( true and false )", output: "true" }, { input: 'ToJson("\\"8\\"" + "\\"3\\"") == JsonParse("\\"83\\"")', output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: 'ToJson("8" + "3") == JsonParse("83")', output: "false", featureConfigName: "encryptDecryptDataFeature" }, { input: 'ToJson(NOT_SET) == JsonParse("null")', output: "false", featureConfigName: "encryptDecryptDataFeature" }, { input: 'JsonParse("{\\"a\\":true,\\"b\\":false}") == JsonParse("{\\"b\\":false,\\"a\\":true}")', output: "true", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_OP_BLN_EQU_DEC_LNG_DSC", identifier: "Boolean_ONE equ(Decimal_ONE_Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_EQU_DEC_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_DEC_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_DEC_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "int" }], examples: [{ input: "-5.0 == 3", output: "false" }, { input: "5.0 == 5", output: "true" }, { input: "ToDecimal(NOT_SET) == ToInt(NOT_SET)", output: "true" }] }, { description: "AR_OP_BLN_EQU_LNG_DEC_DSC", identifier: "Boolean_ONE equ(Long_ONE_Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_EQU_LNG_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_LNG_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_LNG_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "dec" }], examples: [{ input: "5 == 3.0", output: "false" }, { input: "5 == 5.0", output: "true" }, { input: "ToInt(NOT_SET) == ToDecimal(NOT_SET)", output: "true" }] }, { description: "AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_DSC", identifier: "Boolean_ONE equ(Long_COLL,Decimal_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "dec" }], examples: [{ input: "MakeList(1+4, 2+1, 3) == MakeList(5.0, 3.0, 3.0)", output: "true" }, { input: "MakeList(1+4, 2+1, 3, 0) == MakeList(4.0, 2.0, 0.0, 1.0)", output: "false" }, { input: "MakeList(ToInt(NOT_SET), 1) == MakeList(ToDecimal(NOT_SET), 1.0)", output: "true" }] }, { description: "AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_DSC", identifier: "Boolean_ONE equ(Decimal_COLL,Long_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "int" }], examples: [{ input: "MakeList(5.0, 3.0, 1.0) == MakeList(5, 3, 1)", output: "true" }, { input: "MakeList(5.0, 3.0, 1.0) == MakeList(5, 2, 1)", output: "false" }, { input: "MakeList(ToDecimal(NOT_SET), 1.0) == MakeList(ToInt(NOT_SET), 1)", output: "true" }] }, { description: "AR_OP_BLN_EQU_PHNBR_PHNBR_DSC", identifier: "Boolean_ONE equ(PhoneNumber_ONE,PhoneNumber_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_EQU_PHNBR_PHNBR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_PHNBR_PHNBR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "phn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_PHNBR_PHNBR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "phn" }], examples: [{ input: 'ToPhoneNumber("tel:+13178723000") == ToPhoneNumber("+13178723000")', output: "true" }, { input: 'ToPhoneNumber("+13178723000") == ToPhoneNumber("13178723000")', output: "true" }, { input: 'ToPhoneNumber("sip:john.doe@company.com") == ToPhoneNumber("sips:john.doe@company.com")', output: "false" }, { input: 'ToPhoneNumber("sips:john.doe@company.com@") == ToPhoneNumber("sips:john.doe@company.com")', output: "true" }] }, { description: "AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_DSC", identifier: "Boolean_ONE equ(Any_COLL,Any_COLL)", support: { version: "1.0", resolver: "SameType" }, returnValue: { description: "AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: "MakeList(1, 2, 3) == MakeList(5-4, 1+1, 3)", output: "true" }, { input: "MakeList(false, false, true, true) == MakeList(false, !true, !false, !true)", output: "false" }] }] }, neq: { identifier: "neq", description: "AR_OP_DSC_NEQ", type: "operator", symbol: "!=", category: "comparison", overloads: [{ description: "AR_OP_BLN_NEQ_ANY_ANY_DSC", identifier: "Boolean_ONE neq(Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "SameType" }, returnValue: { description: "AR_OP_BLN_NEQ_ANY_ANY_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_ANY_ANY_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_ANY_ANY_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: "5 != 3", output: "true" }, { input: "true != ! ( true and false )", output: "false" }, { input: 'ToJson("8" + "3") != JsonParse("83")', output: "false", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_OP_BLN_NEQ_DEC_LNG_DSC", identifier: "Boolean_ONE neq(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_NEQ_DEC_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_DEC_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_DEC_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "int" }], examples: [{ input: "5.0 != 3", output: "true" }, { input: "5.0 != 5", output: "false" }, { input: "ToDecimal(NOT_SET) != ToInt(NOT_SET)", output: "false" }] }, { description: "AR_OP_BLN_NEQ_LNG_DEC_DSC", identifier: "Boolean_ONE neq(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_NEQ_LNG_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_LNG_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_LNG_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "dec" }], examples: [{ input: "5 != 3.0", output: "true" }, { input: "5 != 5.0", output: "false" }, { input: "ToInt(NOT_SET) != ToDecimal(NOT_SET)", output: "false" }] }, { description: "AR_OP_BLN_NEQ_PHNBR_PHNBR_DSC", identifier: "Boolean_ONE neq(PhoneNumber_ONE,PhoneNumber_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_NEQ_PHNBR_PHNBR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_PHNBR_PHNBR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "phn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_PHNBR_PHNBR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "phn" }], examples: [{ input: 'ToPhoneNumber("tel:+13178723000") != ToPhoneNumber("+13178723000")', output: "false" }, { input: 'ToPhoneNumber("+13178723000") != ToPhoneNumber("13178723000")', output: "false" }, { input: 'ToPhoneNumber("sip:john.doe@company.com") != ToPhoneNumber("sips:john.doe@company.com")', output: "true" }, { input: 'ToPhoneNumber("sips:john.doe@company.com@") != ToPhoneNumber("sips:john.doe@company.com")', output: "false" }] }, { description: "AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_DSC", identifier: "Boolean_ONE neq(Long_COLL,Decimal_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "dec" }], examples: [{ input: "MakeList(1+4, 2+1, 3) != MakeList(5.0, 3.0, 3.0)", output: "false" }, { input: "MakeList(1+4, 2+1, 3, 0) != MakeList(4.0, 2.0, 0.0, 1.0)", output: "true" }, { input: "MakeList(ToInt(NOT_SET), 1) != MakeList(ToDecimal(NOT_SET), 1.0)", output: "false" }] }, { description: "AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_DSC", identifier: "Boolean_ONE neq(Decimal_COLL,Long_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "int" }], examples: [{ input: "MakeList(5.0, 3.0, 1.0) != MakeList(5, 3, 1)", output: "false" }, { input: "MakeList(5.0, 3.0, 1.0) != MakeList(5, 2, 1)", output: "true" }, { input: "MakeList(ToDecimal(NOT_SET), 1.0) != MakeList(ToInt(NOT_SET), 1)", output: "false" }] }, { description: "AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_DSC", identifier: "Boolean_ONE neq(Any_COLL,Any_COLL)", support: { version: "1.0", resolver: "SameType" }, returnValue: { description: "AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: "MakeList(1, 2, 3) != MakeList(5-4, 1+1, 3)", output: "false" }, { input: "MakeList(false, false, true, true) != MakeList(false, !true, !false, !true)", output: "true" }] }] }, propAccess: { identifier: "propAccess", description: "AR_OP_DSC_PROPACCESS", type: "operator", symbol: ".", overloads: [{ description: "AR_OP_ANY_PROPACCESS_STR_ANY_DSC", identifier: "Any propAccess(String_ONE,Any_ONE)", support: { version: "1.0", resolver: "Accessor" }, returnValue: { description: "AR_OP_ANY_PROPACCESS_STR_ANY_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_PROPACCESS_STR_ANY_PRM_DSC_0", identifier: "propertyToAccess", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_PROPACCESS_STR_ANY_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "any" }] }, { description: "AR_OP_ANY_PROPACCESS_STR_COMPLEX_DSC", identifier: "Any propAccess(String_ONE,Complex_ONE)", support: { version: "1.0", resolver: "Accessor" }, returnValue: { description: "AR_OP_ANY_PROPACCESS_STR_COMPLEX_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_PROPACCESS_STR_COMPLEX_PRM_DSC_0", identifier: "propertyToAccess", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_PROPACCESS_STR_COMPLEX_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "acp" }] }, { description: "AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_DSC", identifier: "BoolFormatEnum_ONE propAccess(String_ONE,BoolFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_RV", isArray: false, type: "bof" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_PRM_DSC_0", identifier: "BoolFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "blc" }], examples: [{ input: "Format.Bool.playYesNo", output: "AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_DSC", identifier: "CurrencyFormatEnum_ONE propAccess(String_ONE,CurrencyFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_RV", isArray: false, type: "cuf" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_PRM_DSC_0", identifier: "CurrencyFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cuc" }], examples: [{ input: "Format.Currency.playDigits", output: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_EX_OUT_0" }, { input: "Format.Currency.majorUnitsOnly", output: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_EX_OUT_1" }, { input: "Format.Currency.minorUnitsOnly", output: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_EX_OUT_2" }] }, { description: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_DSC", identifier: "DateFormatEnum_ONE propAccess(String_ONE,DateFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_RV", isArray: false, type: "daf" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_PRM_DSC_0", identifier: "DateFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dac" }], examples: [{ input: "Format.Date.longYear", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_0" }, { input: "Format.Date.shortYear", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_1" }, { input: "Format.Date.shortMonthAndDay", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_2" }, { input: "Format.Date.dayOnly", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_3" }, { input: "Format.Date.monthOnly", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_4" }, { input: "Format.Date.shortYearOnly", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_5" }, { input: "Format.Date.longYearOnly", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_6" }, { input: "Format.Date.dayOfWeekOnly", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_7" }] }, { description: "AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_DSC", identifier: "NumberFormatEnum_ONE propAccess(String_ONE,NumberFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_RV", isArray: false, type: "nuf" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_PRM_DSC_0", identifier: "NumberFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuc" }], examples: [{ input: "Format.Number.playDigits", output: "AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_DSC", identifier: "PhoneNumberFormatEnum_ONE propAccess(String_ONE,PhoneNumberFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, featureToggleName: "archPhoneNumberPhase2", returnValue: { description: "AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_RV", isArray: false, type: "phf" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_PRM_DSC_0", identifier: "PhoneNumberFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "phc" }], examples: [{ input: "Format.PhoneNumber.global", output: "AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_EX_OUT_0" }, { input: "Format.PhoneNumber.local", output: "AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_EX_OUT_1" }] }, { description: "AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_DSC", identifier: "ConversationTypeEnum_ONE propAccess(String_ONE,ConversationTypesEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_RV", isArray: false, type: "cte" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_PRM_DSC_0", identifier: "conversationTypeEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "ctc" }], examples: [{ input: "System.Conversation.Types", output: "AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_DSC", identifier: "CurrencyEnum_ONE propAccess(String_ONE,CurrenciesEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_RV", isArray: false, type: "cre" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_PRM_DSC_0", identifier: "currencyEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cec" }], examples: [{ input: "System.Currencies.USD", output: "AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_DSC", identifier: "DayOfWeekEnumContainer_ONE propAccess(String_ONE,DateTimeEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_RV", isArray: false, type: "dwc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_PRM_DSC_0", identifier: "dateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dlc" }], examples: [{ input: "System.DateTime.dayOfWeek", output: "AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_DSC", identifier: "LanguageEnum_ONE propAccess(String_ONE,LanguagesEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_RV", isArray: false, type: "lge" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_PRM_DSC_0", identifier: "languageEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "lnc" }], examples: [{ input: "System.Languages.enUS", output: "AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_DSC", identifier: "RegionEnum_ONE propAccess(String_ONE,RegionsEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_RV", isArray: false, type: "rge" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_PRM_DSC_0", identifier: "regionEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "rec" }], examples: [{ input: "System.Regions.US", output: "AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_DSC", identifier: "SurveyDispositionEnum_ONE propAccess(String_ONE,SurveyDispositionsEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_RV", isArray: false, type: "sde" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_PRM_DSC_0", identifier: "surveyDispositionEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "sec" }], examples: [{ input: "System.Survey.Dispositions", output: "AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_DSC", identifier: "StringFormatEnum_ONE propAccess(String_ONE,StringFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_RV", isArray: false, type: "stf" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_PRM_DSC_0", identifier: "StringFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "stc" }], examples: [{ input: "Format.String.playChars", output: "AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_DSC", identifier: "TimeFormatEnum_ONE propAccess(String_ONE,TimeFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_RV", isArray: false, type: "tif" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_PRM_DSC_0", identifier: "TimeFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tic" }], examples: [{ input: "Format.Time.twelveHours", output: "AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_EX_OUT_0" }, { input: "Format.Time.twentyFourHours", output: "AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_EX_OUT_1" }] }, { description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_DSC", identifier: "LanguageContextEnum_ONE propAccess(String_ONE,LanguageCaseEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_RV", isArray: false, type: "lne" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_PRM_DSC_0", identifier: "genderLanguageContextEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "lcc" }], examples: [{ input: "Language.Case.article", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_EX_OUT_0" }, { input: "Language.Case.accusative", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_EX_OUT_1" }, { input: "Language.Case.genitive", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_EX_OUT_2" }] }, { description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_DSC", identifier: "LanguageContextEnum_ONE propAccess(String_ONE,LanguageGenderEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_RV", isArray: false, type: "lne" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_PRM_DSC_0", identifier: "genderLanguageContextEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "lgc" }], examples: [{ input: "Language.Gender.common", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_0" }, { input: "Language.Gender.feminine", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_1" }, { input: "Language.Gender.masculine", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_2" }, { input: "Language.Gender.neuter", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_3" }] }, { description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_DSC", identifier: "LanguageContextEnum_ONE propAccess(String_ONE,LanguageQuantityEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_RV", isArray: false, type: "lne" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_PRM_DSC_0", identifier: "quantityLanguageContextEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "lqc" }], examples: [{ input: "Language.Quantity.plural", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_EX_OUT_0" }, { input: "Language.Quantity.singular", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_EX_OUT_1" }] }, { description: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_DSC", identifier: "TimePartEnum_ONE propAccess(String_ONE,TimePartEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_RV", isArray: false, type: "tpf" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_PRM_DSC_0", identifier: "timePartEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tpc" }], examples: [{ input: "Format.TimePart.days", output: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_0" }, { input: "Format.TimePart.hours", output: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_1" }, { input: "Format.TimePart.minutes", output: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_2" }, { input: "Format.TimePart.seconds", output: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_3" }] }] }, audioPlaybackOptions: { identifier: "audioPlaybackOptions", description: "AR_FN_DSC_AUDIOPLAYBACKOPTIONS", type: "function", name: "AudioPlaybackOptions", category: "audio", overloads: [{ description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_DSC", identifier: "Audio_ONE audioPlaybackOptions(AnyPromptOrAudio_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, mustBeLastOperationOrFunction: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_PRM_DSC_0", identifier: "audio", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "apa" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_PRM_DSC_1", identifier: "bargeIn", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bln", mustBeLiteral: true }], examples: [{ input: "AudioPlaybackOptions(Prompt.Welcome, false)", output: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_EX_OUT_0" }, { input: "AudioPlaybackOptions(ToAudioNumber(5), false)", output: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_EX_OUT_1" }, { input: "AudioPlaybackOptions(Append(ToAudioNumber(5), ToAudioBlank(500), ToAudioNumber(4)), true)", output: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_EX_OUT_2" }] }, { description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_DSC", identifier: "Audio_ONE audioPlaybackOptions(AnyPromptOrAudio_ONE,Boolean_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, hidden: true, mustBeLastOperationOrFunction: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_PRM_DSC_0", identifier: "audio", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "apa" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_PRM_DSC_1", identifier: "bargeIn", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bln", mustBeLiteral: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_PRM_DSC_2", identifier: "flushNow", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "bln", mustBeLiteral: true }] }], needsServerInfo: true }, ceiling: { identifier: "ceiling", description: "AR_FN_DSC_CEILING", type: "function", name: "Ceiling", category: "mathematical", overloads: [{ description: "AR_FN_CUR_CEILING_CUR_DSC", identifier: "Currency_ONE ceiling(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_CEILING_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_CEILING_CUR_PRM_DSC_0", identifier: "currencyValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'Ceiling(MakeCurrency(2.30, "USD"))', output: "AR_FN_CUR_CEILING_CUR_EX_OUT_0" }, { input: 'Ceiling(MakeCurrency(3.20, "USD"))', output: "AR_FN_CUR_CEILING_CUR_EX_OUT_1" }, { input: 'Ceiling(MakeCurrency(-3.20, "USD"))', output: "AR_FN_CUR_CEILING_CUR_EX_OUT_2" }, { input: 'Ceiling(MakeCurrency(5.00, "USD"))', output: "AR_FN_CUR_CEILING_CUR_EX_OUT_3" }] }, { description: "AR_FN_DEC_CEILING_DEC_DSC", identifier: "Decimal_ONE ceiling(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_CEILING_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_CEILING_DEC_PRM_DSC_0", identifier: "decimalValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }], examples: [{ input: "Ceiling(2.3)", output: "3.0" }, { input: "Ceiling(3.2)", output: "4.0" }, { input: "Ceiling(-3.2)", output: "-3.0" }, { input: "Ceiling(5.0)", output: "5.0" }] }, { description: "AR_FN_LNG_CEILING_LNG_DSC", identifier: "Long_ONE ceiling(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_CEILING_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_CEILING_LNG_PRM_DSC_0", identifier: "integerValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "Ceiling(3)", output: "3" }, { input: "Ceiling(3+7)", output: "10" }, { input: "Ceiling(-3)", output: "-3" }, { input: "Ceiling(0)", output: "0" }] }] }, floor: { identifier: "floor", description: "AR_FN_DSC_FLOOR", type: "function", name: "Floor", category: "mathematical", overloads: [{ description: "AR_FN_CUR_FLOOR_CUR_DSC", identifier: "Currency_ONE floor(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_FLOOR_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_FLOOR_CUR_PRM_DSC_0", identifier: "currencyValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'Floor(MakeCurrency(2.30, "USD"))', output: "AR_FN_CUR_FLOOR_CUR_EX_OUT_0" }, { input: 'Floor(MakeCurrency(3.20, "USD"))', output: "AR_FN_CUR_FLOOR_CUR_EX_OUT_1" }, { input: 'Floor(MakeCurrency(-3.20, "USD"))', output: "AR_FN_CUR_FLOOR_CUR_EX_OUT_2" }, { input: 'Floor(MakeCurrency(5.00, "USD"))', output: "AR_FN_CUR_FLOOR_CUR_EX_OUT_3" }, { input: 'Floor(MakeCurrency(NOT_SET, "USD"))', output: "AR_FN_CUR_FLOOR_CUR_EX_OUT_4" }] }, { description: "AR_FN_DEC_FLOOR_DEC_DSC", identifier: "Decimal_ONE floor(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_FLOOR_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_FLOOR_DEC_PRM_DSC_0", identifier: "decimalValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }], examples: [{ input: "Floor(2.3)", output: "2.0" }, { input: "Floor(3.2)", output: "3.0" }, { input: "Floor(-3.2)", output: "-4.0" }, { input: "Floor(5.0)", output: "5.0" }] }, { description: "AR_FN_LNG_FLOOR_LNG_DSC", identifier: "Long_ONE floor(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_FLOOR_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FLOOR_LNG_PRM_DSC_0", identifier: "integerValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "Floor(3)", output: "3" }, { input: "Floor(3+7)", output: "10" }, { input: "Floor(-3)", output: "-3" }, { input: "Floor(0)", output: "0" }] }] }, round: { identifier: "round", description: "AR_FN_DSC_ROUND", type: "function", name: "Round", category: "mathematical", overloads: [{ description: "AR_FN_CUR_ROUND_CUR_DSC", identifier: "Currency_ONE round(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_ROUND_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_ROUND_CUR_PRM_DSC_0", identifier: "currencyValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'Round(MakeCurrency(3.22, "USD"))', output: "AR_FN_CUR_ROUND_CUR_EX_OUT_0" }, { input: 'Round(MakeCurrency(1.50, "USD"))', output: "AR_FN_CUR_ROUND_CUR_EX_OUT_1" }, { input: 'Round(MakeCurrency(1.49, "USD"))', output: "AR_FN_CUR_ROUND_CUR_EX_OUT_2" }, { input: 'Round(MakeCurrency(0.00, "USD"))', output: "AR_FN_CUR_ROUND_CUR_EX_OUT_3" }, { input: 'Round(MakeCurrency(-3.20, "USD"))', output: "AR_FN_CUR_ROUND_CUR_EX_OUT_4" }, { input: 'Round(MakeCurrency(-3.60, "USD"))', output: "AR_FN_CUR_ROUND_CUR_EX_OUT_5" }] }, { description: "AR_FN_DEC_ROUND_DEC_DSC", identifier: "Decimal_ONE round(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_ROUND_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_ROUND_DEC_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }], examples: [{ input: "Round(3.225)", output: "3.0" }, { input: "Round(1.5)", output: "2.0" }, { input: "Round(1.49)", output: "1.0" }, { input: "Round(0.0)", output: "0.0" }, { input: "Round(-3.2)", output: "-3.0" }, { input: "Round(-3.6)", output: "-4.0" }, { input: "Round(-3.614)", output: "-4.0" }] }, { description: "AR_FN_DEC_ROUND_DEC_LNG_DSC", identifier: "Decimal_ONE round(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_ROUND_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_ROUND_DEC_LNG_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_ROUND_DEC_LNG_PRM_DSC_1", identifier: "digits", isArray: false, helpDisplayIdx: 1, max: "28", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "Round(3.225, 1)", output: "3.2" }, { input: "Round(3.225, 2)", output: "3.23" }, { input: "Round(1.5, 0)", output: "2.0" }, { input: "Round(1.49, 1)", output: "1.5" }, { input: "Round(0.0, 2)", output: "0.0" }, { input: "Round(-3.2, 0)", output: "-3.0" }, { input: "Round(-3.2, 1)", output: "-3.2" }, { input: "Round(-3.6, 0)", output: "-4.0" }, { input: "Round(-3.6, 1)", output: "-3.6" }, { input: "Round(-3.614, 0)", output: "-4.0" }, { input: "Round(-3.614, 2)", output: "-3.61" }] }, { description: "AR_FN_CUR_ROUND_CUR_LNG_DSC", identifier: "Currency_ONE round(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_ROUND_CUR_LNG_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_ROUND_CUR_LNG_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_ROUND_CUR_LNG_PRM_DSC_1", identifier: "digits", isArray: false, helpDisplayIdx: 1, max: "28", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'Round(MakeCurrency(3.225, "USD"), 1)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_0" }, { input: 'Round(MakeCurrency(3.225, "USD"), 2)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_1" }, { input: 'Round(MakeCurrency(1.50, "USD"), 0)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_2" }, { input: 'Round(MakeCurrency(1.49, "USD"), 1)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_3" }, { input: 'Round(MakeCurrency(0.00, "USD"), 2)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_4" }, { input: 'Round(MakeCurrency(-3.20, "USD"), 0)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_5" }, { input: 'Round(MakeCurrency(-3.20, "USD"), 1)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_6" }, { input: 'Round(MakeCurrency(-3.60, "USD"), 0)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_7" }, { input: 'Round(MakeCurrency(-3.60, "USD"), 1)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_8" }, { input: 'Round(MakeCurrency(-3.614, "USD"), 2)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_9" }, { input: 'Round(MakeCurrency(-3.614, "USD"), 0)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_10" }] }] }, sum: { identifier: "sum", description: "AR_FN_DSC_SUM", type: "function", name: "Sum", category: "mathematical", overloads: [{ description: "AR_FN_LNG_SUM_LNG_LNG_MORE_DSC", identifier: "Long_ONE sum(Long_ONE,Long_ONE...)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_LNG_SUM_LNG_LNG_MORE_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_SUM_LNG_LNG_MORE_PRM_DSC_0", identifier: "integerValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_SUM_LNG_LNG_MORE_PRM_DSC_1", identifier: "nextIntegerValue", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "int" }], examples: [{ input: "Sum(3, 5)", output: "8" }, { input: "Sum(0, 5)", output: "5" }, { input: "Sum(3, 5, -8)", output: "0" }, { input: "Sum(NOT_SET, 5)", output: "5" }, { input: "Sum(3, NOT_SET)", output: "3" }, { input: "Sum(ToInt(NOT_SET), ToInt(NOT_SET))", output: "0" }] }, { description: "AR_FN_CUR_SUM_CUR_CUR_MORE_DSC", identifier: "Currency_ONE sum(Currency_ONE,Currency_ONE...)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_CUR_SUM_CUR_CUR_MORE_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_SUM_CUR_CUR_MORE_PRM_DSC_0", identifier: "currencyValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_SUM_CUR_CUR_MORE_PRM_DSC_1", identifier: "nextCurrencyValue", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "cur" }], examples: [{ input: 'Sum(MakeCurrency(3.50, "USD"), MakeCurrency(5.50, "USD"))', output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_0" }, { input: 'Sum(MakeCurrency(0.00, "USD"), MakeCurrency(-5.20, "USD"))', output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_1" }, { input: 'Sum(MakeCurrency(3.00, "USD"), MakeCurrency(5.00, "USD"), MakeCurrency(-8.40, "USD"))', output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_2" }, { input: 'Sum(MakeCurrency(NOT_SET, "USD"), MakeCurrency(5.00, "USD"))', output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_3" }, { input: 'Sum(MakeCurrency(-3.00, "USD"), MakeCurrency(NOT_SET, "USD"))', output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_4" }, { input: 'Sum(MakeCurrency(ToDecimal(NOT_SET), "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD"))', output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_5" }, { input: "Sum(ToCurrency(NOT_SET), ToCurrency(NOT_SET))", output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_6" }] }, { description: "AR_FN_DEC_SUM_DEC_DEC_MORE_DSC", identifier: "Decimal_ONE sum(Decimal_ONE,Decimal_ONE...)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_DEC_SUM_DEC_DEC_MORE_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_SUM_DEC_DEC_MORE_PRM_DSC_0", identifier: "decimalValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_SUM_DEC_DEC_MORE_PRM_DSC_1", identifier: "nextDecimalValue", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "dec" }], examples: [{ input: "Sum(3.5, 5.5)", output: "9.0" }, { input: "Sum(0.0, -5.2)", output: "-5.2" }, { input: "Sum(3.0, 5.0, -8.4)", output: "-0.4" }, { input: "Sum(NOT_SET, 5.0)", output: "5.0" }, { input: "Sum(-3.0, NOT_SET)", output: "-3.0" }, { input: "Sum(ToDecimal(NOT_SET), ToDecimal(NOT_SET))", output: "0.0" }] }, { description: "AR_FN_DUR_SUM_DUR_DUR_MORE_DSC", identifier: "Duration_ONE sum(Duration_ONE,Duration_ONE...)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_DUR_SUM_DUR_DUR_MORE_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_SUM_DUR_DUR_MORE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dur" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_SUM_DUR_DUR_MORE_PRM_DSC_1", identifier: "nextValue", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "dur" }], examples: [{ input: 'Sum(ToDuration("P1DT1H0M3S"), ToDuration("P1DT0H30M3S"))', output: "AR_FN_DUR_SUM_DUR_DUR_MORE_EX_OUT_0" }, { input: 'Sum(ToDuration("P1DT1H0M3S"), NOT_SET)', output: "AR_FN_DUR_SUM_DUR_DUR_MORE_EX_OUT_1" }, { input: "Sum(ToDuration(NOT_SET), ToDuration(NOT_SET))", output: "AR_FN_DUR_SUM_DUR_DUR_MORE_EX_OUT_2" }] }, { description: "AR_FN_LNG_SUM_LNG_COLL_DSC", identifier: "Long_ONE sum(Long_COLL)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_LNG_SUM_LNG_COLL_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_SUM_LNG_COLL_PRM_DSC_0", identifier: "integerCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "Sum(MakeList(3, 5, 5))", output: "13" }, { input: "Sum(MakeList(3, ToInt(NOT_SET), 5))", output: "8" }, { input: "Sum(MakeList(ToInt(NOT_SET), ToInt(NOT_SET)))", output: "0" }, { input: "Sum(MakeEmptyList(ToInt(NOT_SET)))", output: "0" }] }, { description: "AR_FN_CUR_SUM_CUR_COLL_DSC", identifier: "Currency_ONE sum(Currency_COLL)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_CUR_SUM_CUR_COLL_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_SUM_CUR_COLL_PRM_DSC_0", identifier: "currencyCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'Sum(MakeList(MakeCurrency(3.50, "USD"), MakeCurrency(5.50, "USD")))', output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_0" }, { input: 'Sum(MakeList(MakeCurrency(0.00, "USD"), MakeCurrency(-5.20, "USD")))', output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_1" }, { input: 'Sum(MakeList(MakeCurrency(3.00, "USD"), MakeCurrency(5.00, "USD"), MakeCurrency(-8.40, "USD")))', output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_2" }, { input: 'Sum(MakeList(MakeCurrency(ToDecimal(NOT_SET), "USD"), MakeCurrency(5.00, "USD")))', output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_3" }, { input: 'Sum(MakeList(MakeCurrency(-3.00, "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD")))', output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_4" }, { input: 'Sum(MakeList(MakeCurrency(ToDecimal(NOT_SET), "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD")))', output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_5" }, { input: "Sum(MakeEmptyList(ToCurrency(NOT_SET)))", output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_6" }] }, { description: "AR_FN_DEC_SUM_DEC_COLL_DSC", identifier: "Decimal_ONE sum(Decimal_COLL)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_DEC_SUM_DEC_COLL_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_SUM_DEC_COLL_PRM_DSC_0", identifier: "decimalCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }], examples: [{ input: "Sum(MakeList(3.5, 5.5, 5.2))", output: "14.2" }, { input: "Sum(MakeList(3.5, ToDecimal(NOT_SET), 5.5))", output: "9.0" }, { input: "Sum(MakeList(ToDecimal(NOT_SET), ToDecimal(NOT_SET)))", output: "0.0" }, { input: "Sum(MakeEmptyList(ToDecimal(NOT_SET)))", output: "0.0" }] }, { description: "AR_FN_DUR_SUM_DUR_COLL_DSC", identifier: "Duration_ONE sum(Duration_COLL)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_DUR_SUM_DUR_COLL_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_SUM_DUR_COLL_PRM_DSC_0", identifier: "value", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }], examples: [{ input: 'Sum(MakeList(ToDuration("P1DT1H0M3S"), ToDuration("P1DT0H30M3S")))', output: "AR_FN_DUR_SUM_DUR_COLL_EX_OUT_0" }, { input: 'Sum(MakeList(ToDuration("P1DT1H0M3S"), ToDuration(NOT_SET)))', output: "AR_FN_DUR_SUM_DUR_COLL_EX_OUT_1" }, { input: "Sum(MakeList(ToDuration(NOT_SET), ToDuration(NOT_SET)))", output: "AR_FN_DUR_SUM_DUR_COLL_EX_OUT_2" }, { input: "Sum(MakeEmptyList(ToDuration(NOT_SET)))", output: "AR_FN_DUR_SUM_DUR_COLL_EX_OUT_3" }] }] }, average: { identifier: "average", description: "AR_FN_DSC_AVERAGE", type: "function", name: "Average", category: "statistical", overloads: [{ description: "AR_FN_CUR_AVERAGE_CUR_MORE_DSC", identifier: "Currency_ONE average(Currency_ONE...)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_AVERAGE_CUR_MORE_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_AVERAGE_CUR_MORE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: true, required: false, type: "cur" }], examples: [{ input: 'Average(MakeCurrency(8.50, "USD"), MakeCurrency(4.50, "USD"))', output: "AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_0" }, { input: 'Average(MakeCurrency(8.00, "USD"), MakeCurrency(0.00, "USD"), MakeCurrency(-4.00,"USD"), MakeCurrency(14.00,"USD"))', output: "AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_1" }, { input: 'Average(MakeCurrency(8.00, "USD"), MakeCurrency(NOT_SET, "USD"))', output: "AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_2" }, { input: "Average(ToCurrency(NOT_SET))", output: "AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_3" }] }, { description: "AR_FN_DEC_AVERAGE_DEC_MORE_DSC", identifier: "Decimal_ONE average(Decimal_ONE...)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_AVERAGE_DEC_MORE_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_AVERAGE_DEC_MORE_PRM_DSC_0", identifier: "decimalValue", isArray: false, helpDisplayIdx: 0, repeatable: true, required: false, type: "dec" }], examples: [{ input: "Average(8.5, 4.5)", output: "6.5" }, { input: "Average(8.0, 0.0, -4.0, 14.0)", output: "4.5" }, { input: "Average(8.0, NOT_SET)", output: "8.0" }, { input: "Average(ToDecimal(NOT_SET), ToDecimal(NOT_SET))", output: "0.0" }] }, { description: "AR_FN_DUR_AVERAGE_DUR_MORE_DSC", identifier: "Duration_ONE average(Duration_ONE...)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_AVERAGE_DUR_MORE_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_AVERAGE_DUR_MORE_PRM_DSC_0", identifier: "durationValue", isArray: false, helpDisplayIdx: 0, repeatable: true, required: false, type: "dur" }], examples: [{ input: "Average(MakeDuration(0, 4, 0, 0), MakeDuration(0, 2, 0, 0))", output: "AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_0" }, { input: "Average(MakeDuration(0, 8, 0, 0), MakeDuration(0, 0, 0, 0), MakeDuration(0, -4, 0, 0), MakeDuration(0, 14, 0, 0))", output: "AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_1" }, { input: "Average(MakeDuration(0, 8, 0, 0), ToDuration(NOT_SET))", output: "AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_2" }, { input: "Average(ToDuration(NOT_SET), ToDuration(NOT_SET))", output: "AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_3" }] }, { description: "AR_FN_DEC_AVERAGE_LNG_MORE_DSC", identifier: "Decimal_ONE average(Long_ONE...)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_AVERAGE_LNG_MORE_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_AVERAGE_LNG_MORE_PRM_DSC_0", identifier: "integerValue", isArray: false, helpDisplayIdx: 0, repeatable: true, required: false, type: "int" }], examples: [{ input: "Average(8, 4)", output: "6.0" }, { input: "Average(8, 0, -4, 14)", output: "4.5" }, { input: "Average(8, NOT_SET)", output: "8.0" }, { input: "Average(ToInt(NOT_SET), ToInt(NOT_SET))", output: "0.0" }] }, { description: "AR_FN_CUR_AVERAGE_CUR_COLL_DSC", identifier: "Currency_ONE average(Currency_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_AVERAGE_CUR_COLL_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_AVERAGE_CUR_COLL_PRM_DSC_0", identifier: "currencyCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'Average(MakeList(MakeCurrency(8.50, "USD"), MakeCurrency(4.50, "USD")))', output: "AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_0" }, { input: 'Average(MakeList(MakeCurrency(8.00, "USD"), MakeCurrency(0.00, "USD"), MakeCurrency(-4.00, "USD"), MakeCurrency(14.00, "USD")))', output: "AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_1" }, { input: 'Average(MakeList(MakeCurrency(8.00, "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD")))', output: "AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_2" }, { input: "Average(MakeList(ToCurrency(NOT_SET)))", output: "AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_3" }, { input: "Average(MakeEmptyList(ToCurrency(NOT_SET)))", output: "AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_4" }] }, { description: "AR_FN_DEC_AVERAGE_DEC_COLL_DSC", identifier: "Decimal_ONE average(Decimal_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_AVERAGE_DEC_COLL_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_AVERAGE_DEC_COLL_PRM_DSC_0", identifier: "decimalCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }], examples: [{ input: "Average(MakeList(8.5, 4.5))", output: "6.5" }, { input: "Average(MakeList(8.0, 0.0, -4.0, 14.0))", output: "4.5" }, { input: "Average(MakeList(8.0, ToDecimal(NOT_SET)))", output: "8.0" }, { input: "Average(MakeList(ToDecimal(NOT_SET)))", output: "0.0" }, { input: "Average(MakeEmptyList(ToDecimal(NOT_SET)))", output: "0.0" }] }, { description: "AR_FN_DEC_AVERAGE_LNG_COLL_DSC", identifier: "Decimal_ONE average(Long_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_AVERAGE_LNG_COLL_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_AVERAGE_LNG_COLL_PRM_DSC_0", identifier: "integerCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "Average(MakeList(8, 4))", output: "6.0" }, { input: "Average(MakeList(8, 0, -4, 14))", output: "4.5" }, { input: "Average(MakeList(8, ToInt(NOT_SET)))", output: "8.0" }, { input: "Average(MakeList(ToInt(NOT_SET)))", output: "0.0" }, { input: "Average(MakeEmptyList(ToInt(NOT_SET)))", output: "0.0" }] }, { description: "AR_FN_DUR_AVERAGE_DUR_COLL_DSC", identifier: "Duration_ONE average(Duration_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_AVERAGE_DUR_COLL_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_AVERAGE_DUR_COLL_PRM_DSC_0", identifier: "durationCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }], examples: [{ input: "Average(MakeList(MakeDuration(0, 4, 0, 0), MakeDuration(0, 2, 0, 0)))", output: "AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_0" }, { input: "Average(MakeList(MakeDuration(0, 8, 0, 0), MakeDuration(0, 0, 0, 0), MakeDuration(0, -4, 0, 0), MakeDuration(0, 14, 0, 0)))", output: "AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_1" }, { input: "Average(MakeList(MakeDuration(0, 8, 0, 0), ToDuration(NOT_SET)))", output: "AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_2" }, { input: "Average(MakeList(ToDuration(NOT_SET), ToDuration(NOT_SET)))", output: "AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_3" }] }] }, findSystemPrompt: { identifier: "findSystemPrompt", description: "AR_FN_DSC_FINDSYSTEMPROMPT", type: "function", name: "FindSystemPrompt", category: "search", overloads: [{ description: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_DSC", identifier: "Prompt_ONE findSystemPrompt(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_RV", isArray: false, type: "pmt" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_PRM_DSC_0", identifier: "promptName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindSystemPrompt("boolean_false")', output: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_0" }, { input: 'FindSystemPrompt("PromptSystem.boolean_false")', output: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_1" }, { input: 'FindSystemPrompt("foo")', output: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_2" }, { input: 'FindSystemPrompt("")', output: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_3" }, { input: "FindSystemPrompt(ToString(NOT_SET))", output: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_4" }] }, { description: "AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_DSC", identifier: "Prompt_ONE findSystemPrompt(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_RV", isArray: false, type: "pmt" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_PRM_DSC_0", identifier: "promptName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindSystemPrompt(NOT_SET)", output: "AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findUserPrompt: { identifier: "findUserPrompt", description: "AR_FN_DSC_FINDUSERPROMPT", type: "function", name: "FindUserPrompt", category: "search", overloads: [{ description: "AR_FN_PROMPT_FINDUSERPROMPT_STR_DSC", identifier: "Prompt_ONE findUserPrompt(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PROMPT_FINDUSERPROMPT_STR_RV", isArray: false, type: "pmt" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PROMPT_FINDUSERPROMPT_STR_PRM_DSC_0", identifier: "promptName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindUserPrompt("Greeting")', output: "AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_0" }, { input: 'FindUserPrompt("Prompt.Greeting")', output: "AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_1" }, { input: 'FindUserPrompt("")', output: "AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_2" }, { input: "FindUserPrompt(ToString(NOT_SET))", output: "AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_3" }] }, { description: "AR_FN_PROMPT_FINDUSERPROMPT_NTS_DSC", identifier: "Prompt_ONE findUserPrompt(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PROMPT_FINDUSERPROMPT_NTS_RV", isArray: false, type: "pmt" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PROMPT_FINDUSERPROMPT_NTS_PRM_DSC_0", identifier: "promptName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindUserPrompt(NOT_SET)", output: "AR_FN_PROMPT_FINDUSERPROMPT_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findString: { identifier: "findString", description: "AR_FN_DSC_FINDSTRING", type: "function", name: "FindString", category: "text", overloads: [{ description: "AR_FN_LNG_FINDSTRING_STR_STR_DSC", identifier: "Long_ONE findString(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_FINDSTRING_STR_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_PRM_DSC_1", identifier: "textToFind", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: 'FindString("Hello", "ll")', output: "2" }, { input: 'FindString("Hello", "he")', output: "-1" }, { input: 'FindString("Hello", "abc")', output: "-1" }, { input: 'FindString("Hello", "")', output: "0" }] }, { description: "AR_FN_LNG_FINDSTRING_STR_STR_BLN_DSC", identifier: "Long_ONE findString(String_ONE,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDSTRING_STR_STR_BLN_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_BLN_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_BLN_PRM_DSC_1", identifier: "textToFind", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_BLN_PRM_DSC_2", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'FindString("Hello", "ll", true)', output: "2" }, { input: 'FindString("Hello", "he", true)', output: "0" }, { input: 'FindString("Hello", "he", false)', output: "-1" }, { input: 'FindString("Hello", "abc", true)', output: "-1" }, { input: 'FindString("Hello", "", true)', output: "0" }, { input: 'FindString("le \xC9lever", "\xE9", true)', output: "3" }, { input: 'FindString("le \xC9lever", "\xE9", false)', output: "-1" }, { input: 'FindString("\u4E2D\u570B\u53F0\u7063KD1", "\u53F0", true)', output: "2" }, { input: 'FindString("\u4E2D\u570B\u53F0\u7063KD1", "\u53F0", false)', output: "2" }] }, { description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_DSC", identifier: "Long_ONE findString(String_ONE,String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_PRM_DSC_1", identifier: "textToFind", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_PRM_DSC_2", identifier: "occurrenceNumber", isArray: false, helpDisplayIdx: 2, min: "1", repeatable: false, required: true, type: "int" }], examples: [{ input: 'FindString("Hello Hello", "l", 3)', output: "8" }, { input: 'FindString("Hello Hello", "l", 5)', output: "-1" }, { input: 'FindString("Hello", "he", 1)', output: "-1" }, { input: 'FindString("Hello", "He", 1)', output: "0" }, { input: 'FindString("Hello", "", 1)', output: "0" }] }, { description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_DSC", identifier: "Long_ONE findString(String_ONE,String_ONE,Long_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_1", identifier: "textToFind", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_2", identifier: "occurrenceNumber", isArray: false, helpDisplayIdx: 2, min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_3", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'FindString("Hello Hello", "l", 3, true)', output: "8" }, { input: 'FindString("Hello Hello", "l", 5, true)', output: "-1" }, { input: 'FindString("Hello", "he", 1, true)', output: "0" }, { input: 'FindString("Hello", "he", 1, false)', output: "-1" }, { input: 'FindString("Hello", "He", 1, true)', output: "0" }, { input: 'FindString("Hello", "", 1, true)', output: "0" }, { input: 'FindString("le \xC9lever le \xC9lever", "\xE9", 2, true)', output: "13" }, { input: 'FindString("le \xC9lever", "\xE9", 1, false)', output: "-1" }, { input: 'FindString("\u4E2D\u570B\u53F0\u7063KD1", "\u53F0", 1, true)', output: "2" }, { input: 'FindString("\u4E2D\u570B\u53F0\u7063KD1 \u4E2D\u570B\u53F0\u7063KD1", "\u53F0", 2, false)', output: "10" }] }], needsServerInfo: true }, findUser: { identifier: "findUser", description: "AR_FN_DSC_FINDUSER", type: "function", name: "FindUser", category: "search", overloads: [{ description: "AR_FN_USR_FINDUSER_STR_DSC", identifier: "User_ONE findUser(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_FINDUSER_STR_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_FINDUSER_STR_PRM_DSC_0", identifier: "userEmail", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindUser("john.doe@company.com")', output: "AR_FN_USR_FINDUSER_STR_EX_OUT_0" }, { input: "FindUser(ToString(NOT_SET))", output: "AR_FN_USR_FINDUSER_STR_EX_OUT_1" }] }, { description: "AR_FN_USR_FINDUSER_NTS_DSC", identifier: "User_ONE findUser(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_FINDUSER_NTS_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_FINDUSER_NTS_PRM_DSC_0", identifier: "userEmail", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindUser(NOT_SET)", output: "AR_FN_USR_FINDUSER_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findUserById: { identifier: "findUserById", description: "AR_FN_DSC_FINDUSERBYID", type: "function", name: "FindUserById", category: "search", overloads: [{ description: "AR_FN_USR_FINDUSERBYID_STR_DSC", identifier: "User_ONE findUserById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_FINDUSERBYID_STR_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_FINDUSERBYID_STR_PRM_DSC_0", identifier: "userId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindUserById("5B943B5F-4205-B70F-8BE1-A245A94B2919")', output: "AR_FN_USR_FINDUSERBYID_STR_EX_OUT_0" }, { input: "FindUserById(ToString(NOT_SET))", output: "AR_FN_USR_FINDUSERBYID_STR_EX_OUT_1" }] }, { description: "AR_FN_USR_FINDUSERBYID_NTS_DSC", identifier: "User_ONE findUserById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_FINDUSERBYID_NTS_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_FINDUSERBYID_NTS_PRM_DSC_0", identifier: "userId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindUserById(NOT_SET)", output: "AR_FN_USR_FINDUSERBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findUsersById: { identifier: "findUsersById", description: "AR_FN_DSC_FINDUSERSBYID", type: "function", name: "FindUsersById", category: "search", overloads: [{ description: "AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_DSC", identifier: "User_COLL findUsersById(String_COLL)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_RV", isArray: true, type: "usr" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_PRM_DSC_0", identifier: "userIds", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", maxItems: "50" }], examples: [{ input: 'FindUsersById(MakeList("5B943B5F-4205-B70F-8BE1-A245A94B2919", ToString(NOT_SET)))', output: "AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_EX_OUT_0" }, { input: "FindUsersById(MakeEmptyList(ToString(NOT_SET)))", output: "AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_EX_OUT_1" }, { input: "FindUsersById(MakeList(ToString(NOT_SET)))", output: "AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_EX_OUT_2" }] }], needsServerInfo: true }, findCustomerSegments: { identifier: "findCustomerSegments", description: "AR_FN_DSC_FINDCUSTOMERSEGMENTS", type: "function", name: "FindCustomerSegments", category: "search", overloads: [{ description: "AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_DSC", identifier: "CustomerSegment_COLL findCustomerSegments(String_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot" }, featureConfigName: "botFlowsCustomerSegmentsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_RV", isArray: true, type: "csg" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_PRM_DSC_0", identifier: "segmentNames", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1", maxItems: "5", maxLength: "256" }], examples: [{ input: 'FindCustomerSegments(MakeList("Gold Members", "VIP"))', output: "AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_EX_OUT_0" }] }], needsServerInfo: true }, findDivision: { identifier: "findDivision", description: "AR_FN_DSC_FINDDIVISION", type: "function", name: "FindDivision", category: "search", overloads: [{ description: "AR_FN_DIVISION_FINDDIVISION_STR_DSC", identifier: "Division_ONE findDivision(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_FINDDIVISION_STR_RV", isArray: false, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_FINDDIVISION_STR_PRM_DSC_0", identifier: "divisionToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindDivision("Fire")', output: "AR_FN_DIVISION_FINDDIVISION_STR_EX_OUT_0" }, { input: "FindDivision(ToString(NOT_SET))", output: "AR_FN_DIVISION_FINDDIVISION_STR_EX_OUT_1" }] }, { description: "AR_FN_DIVISION_FINDDIVISION_NTS_DSC", identifier: "Division_ONE findDivision(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_FINDDIVISION_NTS_RV", isArray: false, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_FINDDIVISION_NTS_PRM_DSC_0", identifier: "divisionName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindDivision(NOT_SET)", output: "AR_FN_DIVISION_FINDDIVISION_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findDivisionById: { identifier: "findDivisionById", description: "AR_FN_DSC_FINDDIVISIONBYID", type: "function", name: "FindDivisionById", category: "search", overloads: [{ description: "AR_FN_DIVISION_FINDDIVISIONBYID_STR_DSC", identifier: "Division_ONE findDivisionById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_FINDDIVISIONBYID_STR_RV", isArray: false, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_FINDDIVISIONBYID_STR_PRM_DSC_0", identifier: "divisionId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindDivisionById("5B943B5F-4205-B70F-8BE1-A245A94B2919")', output: "AR_FN_DIVISION_FINDDIVISIONBYID_STR_EX_OUT_0" }, { input: "FindDivisionById(ToString(NOT_SET))", output: "AR_FN_DIVISION_FINDDIVISIONBYID_STR_EX_OUT_1" }] }, { description: "AR_FN_DIVISION_FINDDIVISIONBYID_NTS_DSC", identifier: "Division_ONE findDivisionById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_FINDDIVISIONBYID_NTS_RV", isArray: false, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_FINDDIVISIONBYID_NTS_PRM_DSC_0", identifier: "divisionId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindDivisionById(NOT_SET)", output: "AR_FN_DIVISION_FINDDIVISIONBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findDivisions: { identifier: "findDivisions", description: "AR_FN_DSC_FINDDIVISIONS", type: "function", name: "FindDivisions", category: "search", overloads: [{ description: "AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_DSC", identifier: "Division_COLL findDivisions(String_COLL)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_RV", isArray: true, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_PRM_DSC_0", identifier: "divisionNames", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "str", maxItems: "50" }], examples: [{ input: 'FindDivisions(MakeList("Fire", ToString(NOT_SET)))', output: "AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_EX_OUT_0" }, { input: "FindDivisions(MakeEmptyList(ToString(NOT_SET)))", output: "AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_EX_OUT_1" }, { input: "FindDivisions(MakeList(ToString(NOT_SET)))", output: "AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_EX_OUT_2" }] }], needsServerInfo: true }, findDivisionsById: { identifier: "findDivisionsById", description: "AR_FN_DSC_FINDDIVISIONSBYID", type: "function", name: "FindDivisionsById", category: "search", overloads: [{ description: "AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_DSC", identifier: "Division_COLL findDivisionsById(String_COLL)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_RV", isArray: true, type: "dvn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_PRM_DSC_0", identifier: "divisionIds", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", maxItems: "50" }], examples: [{ input: 'FindDivisionsById(MakeList("5B943B5F-4205-B70F-8BE1-A245A94B2919", ToString(NOT_SET)))', output: "AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_EX_OUT_0" }, { input: "FindDivisionsById(MakeEmptyList(ToString(NOT_SET)))", output: "AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_EX_OUT_1" }, { input: "FindDivisionsById(MakeList(ToString(NOT_SET)))", output: "AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_EX_OUT_2" }] }], needsServerInfo: true }, findEmergencyGroup: { identifier: "findEmergencyGroup", description: "AR_FN_DSC_FINDEMERGENCYGROUP", type: "function", name: "FindEmergencyGroup", category: "search", overloads: [{ description: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_DSC", identifier: "EmergencyGroup_ONE findEmergencyGroup(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_RV", isArray: false, type: "emg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_PRM_DSC_0", identifier: "emergencyGroupToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindEmergencyGroup("Fire")', output: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_EX_OUT_0" }, { input: "FindEmergencyGroup(ToString(NOT_SET))", output: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_EX_OUT_1" }] }, { description: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_DSC", identifier: "EmergencyGroup_ONE findEmergencyGroup(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_RV", isArray: false, type: "emg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_PRM_DSC_0", identifier: "emergencyGroupName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindEmergencyGroup(NOT_SET)", output: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findGrammar: { identifier: "findGrammar", description: "AR_FN_DSC_FINDGRAMMAR", type: "function", name: "FindGrammar", category: "search", overloads: [{ description: "AR_FN_GRAMMAR_FINDGRAMMAR_STR_DSC", identifier: "Grammar_ONE findGrammar(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRAMMAR_FINDGRAMMAR_STR_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_FINDGRAMMAR_STR_PRM_DSC_0", identifier: "grammarToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindGrammar("Customer Account")', output: "AR_FN_GRAMMAR_FINDGRAMMAR_STR_EX_OUT_0" }, { input: "FindGrammar(ToString(NOT_SET))", output: "AR_FN_GRAMMAR_FINDGRAMMAR_STR_EX_OUT_1" }] }, { description: "AR_FN_GRAMMAR_FINDGRAMMAR_NTS_DSC", identifier: "Grammar_ONE findGrammar(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRAMMAR_FINDGRAMMAR_NTS_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_FINDGRAMMAR_NTS_PRM_DSC_0", identifier: "grammarName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindGrammar(NOT_SET)", output: "AR_FN_GRAMMAR_FINDGRAMMAR_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findGrammarById: { identifier: "findGrammarById", description: "AR_FN_DSC_FINDGRAMMARBYID", type: "function", name: "FindGrammarById", category: "search", overloads: [{ description: "AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_DSC", identifier: "Grammar_ONE findGrammarById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_PRM_DSC_0", identifier: "grammarId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindGrammarById("5B943B5F-4205-B70F-8BE1-A245A94B2919")', output: "AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_EX_OUT_0" }] }, { description: "AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_DSC", identifier: "Grammar_ONE findGrammarById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_PRM_DSC_0", identifier: "grammarId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindGrammarById(NOT_SET)", output: "AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findGroup: { identifier: "findGroup", description: "AR_FN_DSC_FINDGROUP", type: "function", name: "FindGroup", category: "search", overloads: [{ description: "AR_FN_GRP_FINDGROUP_STR_DSC", identifier: "Group_ONE findGroup(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRP_FINDGROUP_STR_RV", isArray: false, type: "grp" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRP_FINDGROUP_STR_PRM_DSC_0", identifier: "groupToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindGroup("Warranty Specialists")', output: "AR_FN_GRP_FINDGROUP_STR_EX_OUT_0" }, { input: "FindGroup(ToString(NOT_SET))", output: "AR_FN_GRP_FINDGROUP_STR_EX_OUT_1" }] }, { description: "AR_FN_GRP_FINDGROUP_NTS_DSC", identifier: "Group_ONE findGroup(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRP_FINDGROUP_NTS_RV", isArray: false, type: "grp" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRP_FINDGROUP_NTS_PRM_DSC_0", identifier: "groupName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindGroup(NOT_SET)", output: "AR_FN_GRP_FINDGROUP_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findImage: { identifier: "findImage", description: "AR_FN_DSC_FINDIMAGE", type: "function", name: "FindImage", category: "search", overloads: [{ description: "AR_FN_IMAGE_FINDIMAGE_STR_DSC", identifier: "Image_ONE findImage(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_FINDIMAGE_STR_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_FINDIMAGE_STR_PRM_DSC_0", identifier: "imageNameToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindImage("ArchitectLogo")', output: "AR_FN_IMAGE_FINDIMAGE_STR_EX_OUT_0" }, { input: "FindImage(ToString(NOT_SET))", output: "AR_FN_IMAGE_FINDIMAGE_STR_EX_OUT_1" }] }, { description: "AR_FN_IMAGE_FINDIMAGE_NTS_DSC", identifier: "Image_ONE findImage(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_FINDIMAGE_NTS_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_FINDIMAGE_NTS_PRM_DSC_0", identifier: "imageName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindImage(NOT_SET)", output: "AR_FN_IMAGE_FINDIMAGE_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findImageById: { identifier: "findImageById", description: "AR_FN_DSC_FINDIMAGEBYID", type: "function", name: "FindImageById", category: "search", overloads: [{ description: "AR_FN_IMAGE_FINDIMAGEBYID_STR_DSC", identifier: "Image_ONE findImageById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_FINDIMAGEBYID_STR_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_FINDIMAGEBYID_STR_PRM_DSC_0", identifier: "imageId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindImageById("32952010-9ac2-469f-a2d8-85123e03763b")', output: "AR_FN_IMAGE_FINDIMAGEBYID_STR_EX_OUT_0" }] }, { description: "AR_FN_IMAGE_FINDIMAGEBYID_NTS_DSC", identifier: "Image_ONE findImageById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_FINDIMAGEBYID_NTS_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_FINDIMAGEBYID_NTS_PRM_DSC_0", identifier: "imageId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindImageById(NOT_SET)", output: "AR_FN_IMAGE_FINDIMAGEBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findKnowledgeBaseDocumentById: { identifier: "findKnowledgeBaseDocumentById", description: "AR_FN_DSC_FINDKNOWLEDGEBASEDOCUMENTBYID", type: "function", name: "FindKnowledgeBaseDocumentById", category: "search", overloads: [{ description: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_DSC", identifier: "KnowledgeBaseDocument_ONE findKnowledgeBaseDocumentById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_RV", isArray: false, type: "kbd" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_PRM_DSC_0", identifier: "knowledgeBaseDocumentId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindKnowledgeBaseDocumentById("5B943B5F-4205-B70F-8BE1-A245A94B2919")', output: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_EX_OUT_0" }] }, { description: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_DSC", identifier: "KnowledgeBaseDocument_ONE findKnowledgeBaseDocumentById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_RV", isArray: false, type: "kbd" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_PRM_DSC_0", identifier: "knowledgeBaseDocumentId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindKnowledgeBaseDocumentById(NOT_SET)", output: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findUtilizationLabel: { identifier: "findUtilizationLabel", description: "AR_FN_DSC_FINDUTILIZATIONLABEL", type: "function", name: "FindUtilizationLabel", category: "search", overloads: [{ description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_DSC", identifier: "UtilizationLabel_ONE findUtilizationLabel(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_RV", isArray: false, type: "cul" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_PRM_DSC_0", identifier: "utilizationLabelToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindUtilizationLabel("Green")', output: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_EX_OUT_0" }, { input: "FindUtilizationLabel(ToString(NOT_SET))", output: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_EX_OUT_1" }] }, { description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_DSC", identifier: "UtilizationLabel_ONE findUtilizationLabel(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_RV", isArray: false, type: "cul" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_PRM_DSC_0", identifier: "utilizationLabelName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindUtilizationLabel(NOT_SET)", output: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findUtilizationLabelById: { identifier: "findUtilizationLabelById", description: "AR_FN_DSC_FINDUTILIZATIONLABELBYID", type: "function", name: "FindUtilizationLabelById", category: "search", overloads: [{ description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_STR_DSC", identifier: "UtilizationLabel_ONE findUtilizationLabelById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_STR_RV", isArray: false, type: "cul" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_STR_PRM_DSC_0", identifier: "utilizationLabelId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_DSC", identifier: "UtilizationLabel_ONE findUtilizationLabelById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_RV", isArray: false, type: "cul" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_PRM_DSC_0", identifier: "utilizationLabelId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindUtilizationLabelById(NOT_SET)", output: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findQueue: { identifier: "findQueue", description: "AR_FN_DSC_FINDQUEUE", type: "function", name: "FindQueue", category: "search", overloads: [{ description: "AR_FN_QUEUE_FINDQUEUE_STR_DSC", identifier: "Queue_ONE findQueue(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUEUE_FINDQUEUE_STR_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_FINDQUEUE_STR_PRM_DSC_0", identifier: "queueToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindQueue("Marketing")', output: "AR_FN_QUEUE_FINDQUEUE_STR_EX_OUT_0" }, { input: "FindQueue(ToString(NOT_SET))", output: "AR_FN_QUEUE_FINDQUEUE_STR_EX_OUT_1" }] }, { description: "AR_FN_QUEUE_FINDQUEUE_NTS_DSC", identifier: "Queue_ONE findQueue(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUEUE_FINDQUEUE_NTS_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_FINDQUEUE_NTS_PRM_DSC_0", identifier: "queueName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindQueue(NOT_SET)", output: "AR_FN_QUEUE_FINDQUEUE_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findQueueById: { identifier: "findQueueById", description: "AR_FN_DSC_FINDQUEUEBYID", type: "function", name: "FindQueueById", category: "search", overloads: [{ description: "AR_FN_QUEUE_FINDQUEUEBYID_STR_DSC", identifier: "Queue_ONE findQueueById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUEUE_FINDQUEUEBYID_STR_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_FINDQUEUEBYID_STR_PRM_DSC_0", identifier: "queueId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindQueueById("5B943B5F-4205-B70F-8BE1-A245A94B2919")', output: "AR_FN_QUEUE_FINDQUEUEBYID_STR_EX_OUT_0" }] }, { description: "AR_FN_QUEUE_FINDQUEUEBYID_NTS_DSC", identifier: "Queue_ONE findQueueById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUEUE_FINDQUEUEBYID_NTS_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_FINDQUEUEBYID_NTS_PRM_DSC_0", identifier: "queueId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindQueueById(NOT_SET)", output: "AR_FN_QUEUE_FINDQUEUEBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findWorktypeStatus: { identifier: "findWorktypeStatus", description: "AR_FN_DSC_FINDWORKTYPESTATUS", type: "function", name: "FindWorktypeStatus", category: "search", overloads: [{ description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_DSC", identifier: "WorktypeStatus_ONE findWorktypeStatus(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_RV", isArray: false, type: "cpx_worktype_status" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_PRM_DSC_0", identifier: "worktypeStatusNameToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindWorktypeStatus("NewOpportunity")', output: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_EX_OUT_0" }] }, { description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_DSC", identifier: "WorktypeStatus_ONE findWorktypeStatus(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_RV", isArray: false, type: "cpx_worktype_status" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_PRM_DSC_0", identifier: "worktypeStatusNameToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindWorktypeStatus(NOT_SET)", output: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findWorktypeStatusById: { identifier: "findWorktypeStatusById", description: "AR_FN_DSC_FINDWORKTYPESTATUSBYID", type: "function", name: "FindWorktypeStatusById", category: "search", overloads: [{ description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_DSC", identifier: "WorktypeStatus_ONE findWorktypeStatusById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_RV", isArray: false, type: "cpx_worktype_status" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_PRM_DSC_0", identifier: "worktypeStatusId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindWorktypeStatusById("8dd32bf3-5f81-4601-9db7-fbce97b09441")', output: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_EX_OUT_0" }] }, { description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_DSC", identifier: "WorktypeStatus_ONE findWorktypeStatusById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_RV", isArray: false, type: "cpx_worktype_status" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_PRM_DSC_0", identifier: "worktypeStatusId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindWorktypeStatusById(NOT_SET)", output: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findQueueEstimatedWaitTime: { identifier: "findQueueEstimatedWaitTime", description: "AR_FN_DSC_FINDQUEUEESTIMATEDWAITTIME", type: "function", name: "FindQueueEstimatedWaitTime", category: "statistical", overloads: [{ description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_DSC", identifier: "Duration_ONE findQueueEstimatedWaitTime(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", emailsend: "emailsend", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", commonmodule: "commonmodule" }, featureConfigName: "queueEstimatedWaitTime", needsServerInfo: true, returnValue: { description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_PRM_DSC_0", identifier: "queueToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindQueueEstimatedWaitTime("Marketing")', output: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_EX_OUT_0" }, { input: "FindQueueEstimatedWaitTime(ToString(NOT_SET))", output: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_EX_OUT_1" }] }, { description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_DSC", identifier: "Duration_ONE findQueueEstimatedWaitTime(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", commonmodule: "commonmodule" }, featureConfigName: "queueEstimatedWaitTime", needsServerInfo: true, returnValue: { description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_PRM_DSC_0", identifier: "queueToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_PRM_DSC_1", identifier: "mediaType", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindQueueEstimatedWaitTime("Marketing", "call")', output: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_EX_OUT_0" }, { input: 'FindQueueEstimatedWaitTime("Marketing", ToString(NOT_SET))', output: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_EX_OUT_1" }, { input: 'FindQueueEstimatedWaitTime(ToString(NOT_SET), "call")', output: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_EX_OUT_2" }] }, { description: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_DSC", identifier: "Duration_COLL findQueueEstimatedWaitTime(String_ONE,String_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", commonmodule: "commonmodule" }, featureConfigName: "queueEstimatedWaitTime", needsServerInfo: true, returnValue: { description: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_RV", isArray: true, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_PRM_DSC_0", identifier: "queueToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_PRM_DSC_1", identifier: "mediaTypes", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindQueueEstimatedWaitTime("Marketing", MakeList("call"))', output: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_EX_OUT_0" }, { input: 'FindQueueEstimatedWaitTime("Marketing", MakeList(ToString(NOT_SET)))', output: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_EX_OUT_1" }, { input: 'FindQueueEstimatedWaitTime(ToString(NOT_SET), MakeList("call"))', output: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_EX_OUT_2" }] }], needsServerInfo: true }, getQueueEstimatedWaitTime: { identifier: "getQueueEstimatedWaitTime", description: "AR_FN_DSC_GETQUEUEESTIMATEDWAITTIME", type: "function", name: "GetQueueEstimatedWaitTime", category: "statistical", overloads: [{ description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_DSC", identifier: "Duration_ONE getQueueEstimatedWaitTime(Queue_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", emailsend: "emailsend", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", commonmodule: "commonmodule" }, featureConfigName: "queueEstimatedWaitTime", needsServerInfo: true, returnValue: { description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_PRM_DSC_0", identifier: "queueToQuery", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "que" }], examples: [{ input: 'GetQueueEstimatedWaitTime(FindQueue("Marketing"))', output: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_EX_OUT_0" }, { input: "GetQueueEstimatedWaitTime(ToQueue(NOT_SET))", output: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_EX_OUT_1" }] }, { description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_DSC", identifier: "Duration_ONE getQueueEstimatedWaitTime(Queue_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", commonmodule: "commonmodule" }, featureConfigName: "queueEstimatedWaitTime", needsServerInfo: true, returnValue: { description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_PRM_DSC_0", identifier: "queueToQuery", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "que" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_PRM_DSC_1", identifier: "mediaType", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'GetQueueEstimatedWaitTime(FindQueue("Marketing"), "call")', output: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_EX_OUT_0" }, { input: 'GetQueueEstimatedWaitTime(FindQueue("Marketing"), ToString(NOT_SET))', output: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_EX_OUT_1" }, { input: 'GetQueueEstimatedWaitTime(ToQueue(NOT_SET), "call")', output: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_EX_OUT_2" }] }, { description: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_DSC", identifier: "Duration_COLL getQueueEstimatedWaitTime(Queue_ONE,String_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", commonmodule: "commonmodule" }, featureConfigName: "queueEstimatedWaitTime", needsServerInfo: true, returnValue: { description: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_RV", isArray: true, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_PRM_DSC_0", identifier: "queueToQuery", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "que" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_PRM_DSC_1", identifier: "mediaTypes", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'GetQueueEstimatedWaitTime(FindQueue("Marketing"), MakeList("call"))', output: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_EX_OUT_0" }, { input: 'GetQueueEstimatedWaitTime(FindQueue("Marketing"), MakeList(ToString(NOT_SET)))', output: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_EX_OUT_1" }, { input: 'GetQueueEstimatedWaitTime(ToQueue(NOT_SET), MakeList("call"))', output: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_EX_OUT_2" }] }], needsServerInfo: true }, findResponseAsset: { identifier: "findResponseAsset", description: "AR_FN_DSC_FINDRESPONSEASSET", type: "function", name: "FindResponseAsset", category: "search", overloads: [{ description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_DSC", identifier: "ResponseAsset_ONE findResponseAsset(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_RV", isArray: false, type: "rpa" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_PRM_DSC_0", identifier: "responseAssetNameToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindResponseAsset("ArchitectAsset")', output: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_EX_OUT_0" }, { input: "FindResponseAsset(ToString(NOT_SET))", output: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_EX_OUT_1" }] }, { description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_DSC", identifier: "ResponseAsset_ONE findResponseAsset(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_RV", isArray: false, type: "rpa" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_PRM_DSC_0", identifier: "responseAssetName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindResponseAsset(NOT_SET)", output: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findResponseAssetById: { identifier: "findResponseAssetById", description: "AR_FN_DSC_FINDRESPONSEASSETBYID", type: "function", name: "FindResponseAssetById", category: "search", overloads: [{ description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_DSC", identifier: "ResponseAsset_ONE findResponseAssetById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_RV", isArray: false, type: "rpa" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_PRM_DSC_0", identifier: "responseAssetId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindResponseAssetById("0bfba8bc-37cd-4fa2-b986-86fa0523aeec")', output: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_EX_OUT_0" }] }, { description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_DSC", identifier: "ResponseAsset_ONE findResponseAssetById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_RV", isArray: false, type: "rpa" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_PRM_DSC_0", identifier: "responseAssetId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindResponseAssetById(NOT_SET)", output: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findSchedule: { identifier: "findSchedule", description: "AR_FN_DSC_FINDSCHEDULE", type: "function", name: "FindSchedule", category: "search", overloads: [{ description: "AR_FN_SCHED_FINDSCHEDULE_STR_DSC", identifier: "Schedule_ONE findSchedule(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHED_FINDSCHEDULE_STR_RV", isArray: false, type: "sch" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHED_FINDSCHEDULE_STR_PRM_DSC_0", identifier: "scheduleToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindSchedule("OpenHours")', output: "AR_FN_SCHED_FINDSCHEDULE_STR_EX_OUT_0" }, { input: "FindSchedule(ToString(NOT_SET))", output: "AR_FN_SCHED_FINDSCHEDULE_STR_EX_OUT_1" }] }, { description: "AR_FN_SCHED_FINDSCHEDULE_NTS_DSC", identifier: "Schedule_ONE findSchedule(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHED_FINDSCHEDULE_NTS_RV", isArray: false, type: "sch" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHED_FINDSCHEDULE_NTS_PRM_DSC_0", identifier: "scheduleName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindSchedule(NOT_SET)", output: "AR_FN_SCHED_FINDSCHEDULE_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findScheduleGroup: { identifier: "findScheduleGroup", description: "AR_FN_DSC_FINDSCHEDULEGROUP", type: "function", name: "FindScheduleGroup", category: "search", overloads: [{ description: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_DSC", identifier: "ScheduleGroup_ONE findScheduleGroup(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_RV", isArray: false, type: "scg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_PRM_DSC_0", identifier: "scheduleGroupToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindScheduleGroup("OpenHoursEastCoast")', output: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_EX_OUT_0" }, { input: "FindScheduleGroup(ToString(NOT_SET))", output: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_EX_OUT_1" }] }, { description: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_DSC", identifier: "ScheduleGroup_ONE findScheduleGroup(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_RV", isArray: false, type: "scg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_PRM_DSC_0", identifier: "scheduleGroupName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindScheduleGroup(NOT_SET)", output: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findSkill: { identifier: "findSkill", description: "AR_FN_DSC_FINDSKILL", type: "function", name: "FindSkill", category: "search", overloads: [{ description: "AR_FN_SKL_FINDSKILL_STR_DSC", identifier: "Skill_ONE findSkill(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_SKL_FINDSKILL_STR_RV", isArray: false, type: "skl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SKL_FINDSKILL_STR_PRM_DSC_0", identifier: "skillToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindSkill("JavaScript")', output: "AR_FN_SKL_FINDSKILL_STR_EX_OUT_0" }, { input: "FindSkill(ToString(NOT_SET))", output: "AR_FN_SKL_FINDSKILL_STR_EX_OUT_1" }] }, { description: "AR_FN_SKL_FINDSKILL_NTS_DSC", identifier: "Skill_ONE findSkill(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_SKL_FINDSKILL_NTS_RV", isArray: false, type: "skl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SKL_FINDSKILL_NTS_PRM_DSC_0", identifier: "skillName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindSkill(NOT_SET)", output: "AR_FN_SKL_FINDSKILL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, evaluateSkillExpressionFilter: { identifier: "evaluateSkillExpressionFilter", description: "AR_FN_DSC_EVALUATESKILLEXPRESSIONFILTER", type: "function", name: "EvaluateSkillExpressionFilter", category: "complex", overloads: [{ description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_DSC", identifier: "SkillExpressionFilter_ONE evaluateSkillExpressionFilter(String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule", emailsend: "emailsend", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage" }, featureConfigName: "routingSkillExpressionsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_RV", isArray: false, type: "jsn__architect::skill_expression_filter" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_PRM_DSC_0", identifier: "filterText", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1", maxLength: "1024" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_PRM_DSC_1", identifier: "notSetIfInvalid", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "bln" }], examples: [{ input: 'EvaluateSkillExpressionFilter("((Skill(\\"iPhone\\")>1 | (Skill(\\"CarPlay\\")=10)) & LanguageSkill(\\"Spanish\\") > 0)", false)', output: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_EX_OUT_0" }, { input: 'EvaluateSkillExpressionFilter("invalid filter text", true)', output: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_EX_OUT_1" }] }, { description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_DSC", identifier: "SkillExpressionFilter_ONE evaluateSkillExpressionFilter(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", emailsend: "emailsend", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage" }, featureConfigName: "routingSkillExpressionsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_RV", isArray: false, type: "jsn__architect::skill_expression_filter" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_PRM_DSC_0", identifier: "filterText", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1", maxLength: "1024" }], examples: [{ input: 'EvaluateSkillExpressionFilter("((Skill(\\"iPhone\\")>1 | (Skill(\\"CarPlay\\")=10)) & LanguageSkill(\\"Spanish\\") > 0)")', output: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_EX_OUT_0" }, { input: 'EvaluateSkillExpressionFilter("invalid filter text")', output: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_EX_OUT_1" }] }], needsServerInfo: true }, findLanguageSkill: { identifier: "findLanguageSkill", description: "AR_FN_DSC_FINDLANGUAGESKILL", type: "function", name: "FindLanguageSkill", category: "search", overloads: [{ description: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_DSC", identifier: "LanguageSkill_ONE findLanguageSkill(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_RV", isArray: false, type: "lac" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_PRM_DSC_0", identifier: "skillToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindLanguageSkill("Spanish - Written")', output: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_EX_OUT_0" }, { input: "FindLanguageSkill(ToString(NOT_SET))", output: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_EX_OUT_1" }] }, { description: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_DSC", identifier: "LanguageSkill_ONE findLanguageSkill(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_RV", isArray: false, type: "lac" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindLanguageSkill(NOT_SET)", output: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, append: { identifier: "append", description: "AR_FN_DSC_APPEND", type: "function", name: "Append", category: "text", overloads: [{ description: "AR_FN_STR_APPEND_STR_STR_MORE_DSC", identifier: "String_ONE append(String_ONE,String_ONE...)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_STR_APPEND_STR_STR_MORE_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_APPEND_STR_STR_MORE_PRM_DSC_0", identifier: "initialText", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_APPEND_STR_STR_MORE_PRM_DSC_1", identifier: "textToAppend", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "str" }], examples: [{ input: 'Append("Hello", " World")', output: '"Hello World"' }, { input: 'Append("Hello", "-", "World")', output: '"Hello-World"' }, { input: 'Append("Hello", NOT_SET)', output: '"Hello"' }, { input: 'Append(NOT_SET, "Hello")', output: '"Hello"' }, { input: "Append(ToString(NOT_SET), NOT_SET)", output: '""' }] }, { description: "AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_DSC", identifier: "Audio_ONE appendAudio(Any_ONE,Any_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_PRM_DSC_0", identifier: "initialAudioOrPrompt", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "apa" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_PRM_DSC_1", identifier: "audioOrPromptToAppend", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "apa" }], examples: [{ input: 'Append(Prompt.Welcome, ToAudioTTS("John"))', output: "AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_EX_OUT_0" }] }, { description: "AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_DSC", identifier: "Communication_ONE append(Communication_ONE,Any_ONE...)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_PRM_DSC_0", identifier: "initialCommunication", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "com" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_PRM_DSC_1", identifier: "valueToAppend", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "any" }], examples: [{ input: 'Append(MakeCommunication(Prompt.Welcome, "John"), ToCommunicationBlank(1000), "Your account balance is", MakeCurrency(350, "USD"))', output: "A Communication with five items in it." }] }], needsServerInfo: true }, makeCommunication: { identifier: "makeCommunication", description: "AR_FN_DSC_MAKECOMMUNICATION", type: "function", name: "MakeCommunication", category: "text", overloads: [{ description: "AR_FN_COMMUNICATION_MAKECOMMUNICATION_ANY_MORE_DSC", identifier: "Communication_ONE makeCommunication(Any_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_MAKECOMMUNICATION_ANY_MORE_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_MAKECOMMUNICATION_ANY_MORE_PRM_DSC_0", identifier: "anyValue", isArray: false, helpDisplayIdx: 0, repeatable: true, required: false, type: "any" }], examples: [{ input: 'MakeCommunication(Prompt.Welcome, "John", ToCommunicationBlank(1000), ToCommunication("ABC", Format.String.playChars))', output: "A Communication with four items." }] }], needsServerInfo: true }, left: { identifier: "left", description: "AR_FN_DSC_LEFT", type: "function", name: "Left", category: "text", overloads: [{ description: "AR_FN_STR_LEFT_STR_LNG_DSC", identifier: "String_ONE left(String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_LEFT_STR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_LEFT_STR_LNG_PRM_DSC_0", identifier: "srcString", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_LEFT_STR_LNG_PRM_DSC_1", identifier: "length", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'Left("Hello", 2)', output: '"He"' }, { input: 'Left("Hello", 6)', output: '"Hello"' }, { input: 'Left("Hello", 0)', output: '""' }] }] }, length: { identifier: "length", description: "AR_FN_DSC_LENGTH", type: "function", name: "Length", category: "text", overloads: [{ description: "AR_FN_LNG_LENGTH_STR_DSC", identifier: "Long_ONE length(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_LENGTH_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_LENGTH_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Length("Hello World")', output: "11" }, { input: 'Length("")', output: "0" }] }, { description: "AR_FN_LNG_LENGTH_JSON_DSC", identifier: "Long_ONE length(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_LENGTH_JSON_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_LENGTH_JSON_PRM_DSC_0", identifier: "jsonString", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }], examples: [{ input: 'Length(JsonParse("\\"Hello World\\""))', output: "11" }] }], needsServerInfo: true }, lower: { identifier: "lower", description: "AR_FN_DSC_LOWER", type: "function", name: "Lower", category: "text", overloads: [{ description: "AR_FN_STR_LOWER_STR_DSC", identifier: "String_ONE lower(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_LOWER_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_LOWER_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Lower("Hello World")', output: '"hello world"' }, { input: 'Lower("")', output: '""' }] }] }, ltrim: { identifier: "ltrim", description: "AR_FN_DSC_LTRIM", type: "function", name: "LTrim", category: "text", overloads: [{ description: "AR_FN_STR_LTRIM_STR_DSC", identifier: "String_ONE ltrim(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_LTRIM_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_LTRIM_STR_PRM_DSC_0", identifier: "stringToTrim", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'LTrim(" Hello")', output: '"Hello"' }, { input: 'LTrim(" Hello ")', output: '"Hello "' }, { input: 'LTrim("Hello ")', output: '"Hello "' }, { input: 'LTrim("")', output: '""' }] }] }, replace: { identifier: "replace", description: "AR_FN_DSC_REPLACE", type: "function", name: "Replace", category: "text", overloads: [{ description: "AR_FN_STR_REPLACE_STR_STR_STR_DSC", identifier: "String_ONE replace(String_ONE,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_REPLACE_STR_STR_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_REPLACE_STR_STR_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_REPLACE_STR_STR_STR_PRM_DSC_1", identifier: "findString", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_REPLACE_STR_STR_STR_PRM_DSC_2", identifier: "replacementString", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str" }], examples: [{ input: 'Replace("Hello World", "Hello", "World")', output: '"World World"' }, { input: 'Replace("Hello World", "Hello", NOT_SET)', output: '" World"' }, { input: 'Replace("Hello World", "Soccer", "Ball")', output: '"Hello World"' }, { input: 'Replace("Hello World", "hello", "")', output: '"Hello World"' }, { input: 'Replace("Hello World", "", "Ball")', output: '"Hello World"' }, { input: 'Replace("Hello World", "Test", "test")', output: '"Hello World"' }] }] }, reverse: { identifier: "reverse", description: "AR_FN_DSC_REVERSE", type: "function", name: "Reverse", category: "text", overloads: [{ description: "AR_FN_STR_REVERSE_STR_DSC", identifier: "String_ONE reverse(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_REVERSE_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_REVERSE_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Reverse("Hello")', output: '"olleH"' }] }] }, right: { identifier: "right", description: "AR_FN_DSC_RIGHT", type: "function", name: "Right", category: "text", overloads: [{ description: "AR_FN_STR_RIGHT_STR_LNG_DSC", identifier: "String_ONE right(String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_RIGHT_STR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_RIGHT_STR_LNG_PRM_DSC_0", identifier: "srcString", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_RIGHT_STR_LNG_PRM_DSC_1", identifier: "length", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'Right("Hello", 3)', output: '"llo"' }, { input: 'Right("Hello", 6)', output: '"Hello"' }, { input: 'Right("Hello", 0)', output: '""' }] }] }, rtrim: { identifier: "rtrim", description: "AR_FN_DSC_RTRIM", type: "function", name: "RTrim", category: "text", overloads: [{ description: "AR_FN_STR_RTRIM_STR_DSC", identifier: "String_ONE rtrim(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_RTRIM_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_RTRIM_STR_PRM_DSC_0", identifier: "stringToTrim", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'RTrim("Hello ")', output: '"Hello"' }, { input: 'RTrim(" Hello ")', output: '" Hello"' }, { input: 'RTrim(" Hello")', output: '" Hello"' }, { input: 'RTrim("")', output: '""' }] }] }, substring: { identifier: "substring", description: "AR_FN_DSC_SUBSTRING", type: "function", name: "Substring", category: "text", overloads: [{ description: "AR_FN_STR_SUBSTRING_STR_LNG_LNG_DSC", identifier: "String_ONE substring(String_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_SUBSTRING_STR_LNG_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_SUBSTRING_STR_LNG_LNG_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_SUBSTRING_STR_LNG_LNG_PRM_DSC_1", identifier: "start", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_SUBSTRING_STR_LNG_LNG_PRM_DSC_2", identifier: "length", isArray: false, helpDisplayIdx: 2, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'Substring("Hello", 0, 3)', output: '"Hel"' }, { input: 'Substring("Hello", 2, 3)', output: '"llo"' }, { input: 'Substring("Hello", 3, 3)', output: '"lo"' }, { input: 'Substring("Hello", 0, 27)', output: '"Hello"' }, { input: 'Substring("Hello", 10, 5)', output: '""' }] }] }, trim: { identifier: "trim", description: "AR_FN_DSC_TRIM", type: "function", name: "Trim", category: "text", overloads: [{ description: "AR_FN_STR_TRIM_STR_DSC", identifier: "String_ONE trim(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TRIM_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TRIM_STR_PRM_DSC_0", identifier: "stringToTrim", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Trim(" Hello ")', output: '"Hello"' }, { input: 'Trim("Hello ")', output: '"Hello"' }, { input: 'Trim(" Hello")', output: '"Hello"' }, { input: 'Trim("")', output: '""' }] }] }, upper: { identifier: "upper", description: "AR_FN_DSC_UPPER", type: "function", name: "Upper", category: "text", overloads: [{ description: "AR_FN_STR_UPPER_STR_DSC", identifier: "String_ONE upper(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_UPPER_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_UPPER_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Upper("Hello World")', output: '"HELLO WORLD"' }, { input: 'Upper("")', output: '""' }] }] }, contains: { identifier: "contains", description: "AR_FN_DSC_CONTAINS", type: "function", name: "Contains", category: "text", overloads: [{ description: "AR_FN_BLN_CONTAINS_STR_STR_DSC", identifier: "Boolean_ONE contains(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_CONTAINS_STR_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_CONTAINS_STR_STR_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_CONTAINS_STR_STR_PRM_DSC_1", identifier: "textToFind", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Contains("Hello", "ll")', output: "true" }, { input: 'Contains("Hello", "he")', output: "false" }, { input: 'Contains("Hello", "abc")', output: "false" }, { input: 'Contains("Hello", "")', output: "true" }] }, { description: "AR_FN_BLN_CONTAINS_STR_STR_BLN_DSC", identifier: "Boolean_ONE contains(String_ONE,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_CONTAINS_STR_STR_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_CONTAINS_STR_STR_BLN_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_CONTAINS_STR_STR_BLN_PRM_DSC_1", identifier: "textToFind", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_CONTAINS_STR_STR_BLN_PRM_DSC_2", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'Contains("Hello", "ll", true)', output: "true" }, { input: 'Contains("Hello", "he", false)', output: "false" }, { input: 'Contains("Hello", "he", true)', output: "true" }, { input: 'Contains("Hello", "abc", true)', output: "false" }, { input: 'Contains("Hello", "", true)', output: "true" }, { input: 'Contains("le \xC9lever", "\xE9", true)', output: "true" }, { input: 'Contains("le \xC9lever", "\xE9", false)', output: "false" }, { input: 'Contains("\u4E2D\u570B\u53F0\u7063KD1", "\u53F0", true)', output: "true" }, { input: 'Contains("\u4E2D\u570B\u53F0\u7063KD1", "\u53F0", false)', output: "true" }] }], needsServerInfo: true }, compare: { identifier: "compare", description: "AR_FN_DSC_COMPARE", type: "function", name: "Compare", category: "text", overloads: [{ description: "AR_FN_LNG_COMPARE_STR_STR_DSC", identifier: "Long_ONE compare(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_COMPARE_STR_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COMPARE_STR_STR_PRM_DSC_0", identifier: "stringToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COMPARE_STR_STR_PRM_DSC_1", identifier: "stringToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'Compare("hello", "Hello")', output: "-1" }, { input: 'Compare("Hello", "hello")', output: "1" }, { input: 'Compare("2", "10")', output: "AR_FN_LNG_COMPARE_STR_STR_EX_OUT_2" }, { input: 'Compare("Hello", "Hello")', output: "0" }, { input: 'Compare("Hel", "Hello")', output: "-1" }, { input: 'Compare("Hello", NOT_SET)', output: "1" }, { input: 'Compare("", NOT_SET)', output: "1" }, { input: 'Compare(NOT_SET, "")', output: "-1" }, { input: 'Compare(NOT_SET, "Hello")', output: "-1" }, { input: "Compare(NOT_SET, NOT_SET)", output: "0" }] }, { description: "AR_FN_LNG_COMPARE_STR_STR_BLN_DSC", identifier: "Long_ONE compare(String_ONE,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_COMPARE_STR_STR_BLN_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COMPARE_STR_STR_BLN_PRM_DSC_0", identifier: "stringToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COMPARE_STR_STR_BLN_PRM_DSC_1", identifier: "stringToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_COMPARE_STR_STR_BLN_PRM_DSC_2", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'Compare("hello", "Hello", true)', output: "0" }, { input: 'Compare("hello", "Hello", false)', output: "-1" }, { input: 'Compare("2", "10", false)', output: "1" }, { input: 'Compare("Hel", "Hello", true)', output: "-1" }, { input: 'Compare("Hello", "Hello", true)', output: "0" }, { input: 'Compare("Hello", NOT_SET, false)', output: "1" }, { input: 'Compare(NOT_SET, "Hello", true)', output: "-1" }] }] }, split: { identifier: "split", description: "AR_FN_DSC_SPLIT", type: "function", name: "Split", category: "text", overloads: [{ description: "AR_FN_STR_COLL_SPLIT_STR_STR_DSC", identifier: "String_COLL split(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_COLL_SPLIT_STR_STR_RV", isArray: true, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_SPLIT_STR_STR_PRM_DSC_0", identifier: "textToSplit", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_SPLIT_STR_STR_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Split("Hello World", "l")', output: "AR_FN_STR_COLL_SPLIT_STR_STR_EX_OUT_0" }, { input: 'Split("", "l")', output: "AR_FN_STR_COLL_SPLIT_STR_STR_EX_OUT_1" }, { input: 'Split("Hello World", "")', output: "AR_FN_STR_COLL_SPLIT_STR_STR_EX_OUT_2" }] }] }, day: { identifier: "day", description: "AR_FN_DSC_DAY", type: "function", name: "Day", category: "datetime", overloads: [{ description: "AR_FN_LNG_DAY_DATE_DSC", identifier: "Long_ONE day(Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_DAY_DATE_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_DAY_DATE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }], examples: [{ input: "Day(MakeDate(2017, 2, 14))", output: "14" }] }, { description: "AR_FN_LNG_DAY_DTM_DSC", identifier: "Long_ONE day(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_DAY_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_DAY_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "Day(MakeDateTime(2009, 3, 20, 12, 00, 00))", output: "20" }] }], needsServerInfo: true }, month: { identifier: "month", description: "AR_FN_DSC_MONTH", type: "function", name: "Month", category: "datetime", overloads: [{ description: "AR_FN_LNG_MONTH_DATE_DSC", identifier: "Long_ONE month(Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_MONTH_DATE_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_MONTH_DATE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }], examples: [{ input: "Month(MakeDate(2009, 3, 20))", output: "3" }] }, { description: "AR_FN_LNG_MONTH_DTM_DSC", identifier: "Long_ONE month(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_MONTH_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_MONTH_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "Month(MakeDateTime(2009, 3, 20, 12, 00, 00))", output: "3" }] }], needsServerInfo: true }, year: { identifier: "year", description: "AR_FN_DSC_YEAR", type: "function", name: "Year", category: "datetime", overloads: [{ description: "AR_FN_LNG_YEAR_DATE_DSC", identifier: "Long_ONE year(Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_YEAR_DATE_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_YEAR_DATE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }], examples: [{ input: "Year(MakeDate(2019, 3, 20))", output: "2019" }] }, { description: "AR_FN_LNG_YEAR_DTM_DSC", identifier: "Long_ONE year(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_YEAR_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_YEAR_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "Year(MakeDateTime(2009, 3, 20, 12, 00, 00))", output: "2009" }] }], needsServerInfo: true }, hour: { identifier: "hour", description: "AR_FN_DSC_HOUR", type: "function", name: "Hour", category: "datetime", overloads: [{ description: "AR_FN_LNG_HOUR_TIME_DSC", identifier: "Long_ONE hour(Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_HOUR_TIME_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_HOUR_TIME_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }], examples: [{ input: "Hour(MakeTime(12, 00, 00))", output: "12" }] }, { description: "AR_FN_LNG_HOUR_DTM_DSC", identifier: "Long_ONE hour(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_HOUR_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_HOUR_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "Hour(MakeDateTime(2007, 2, 10, 12, 00, 00))", output: "12" }] }], needsServerInfo: true }, minute: { identifier: "minute", description: "AR_FN_DSC_MINUTE", type: "function", name: "Minute", category: "datetime", overloads: [{ description: "AR_FN_LNG_MINUTE_DTM_DSC", identifier: "Long_ONE minute(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_MINUTE_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_MINUTE_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "Minute(MakeDateTime(2007, 2, 10, 12, 30, 0))", output: "30" }, { input: "Minute(MakeDateTime(2019, 3, 1, 1, 5, 0))", output: "5" }, { input: "Minute(MakeDateTime(2015, 7, 15, 16, 0, 0))", output: "0" }] }, { description: "AR_FN_LNG_MINUTE_TIME_DSC", identifier: "Long_ONE minute(Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_MINUTE_TIME_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_MINUTE_TIME_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }], examples: [{ input: "Minute(MakeTime(12, 30, 0))", output: "30" }, { input: "Minute(MakeTime(1, 5, 0))", output: "5" }, { input: "Minute(MakeTime(16, 0, 0))", output: "0" }] }], needsServerInfo: true }, second: { identifier: "second", description: "AR_FN_DSC_SECOND", type: "function", name: "Second", category: "datetime", overloads: [{ description: "AR_FN_LNG_SECOND_DTM_DSC", identifier: "Long_ONE second(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_SECOND_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_SECOND_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "Second(MakeDateTime(2007, 2, 10, 12, 30, 45))", output: "45" }] }, { description: "AR_FN_LNG_SECOND_TIME_DSC", identifier: "Long_ONE second(Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_SECOND_TIME_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_SECOND_TIME_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }], examples: [{ input: "Second(MakeTime(12, 30, 45))", output: "45" }] }], needsServerInfo: true }, dateDiff: { identifier: "dateDiff", description: "AR_FN_DSC_DATEDIFF", type: "function", name: "DateDiff", category: "datetime", overloads: [{ description: "AR_FN_DUR_DATEDIFF_DATE_DATE_DSC", identifier: "Duration_ONE dateDiff(Date_ONE,Date_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, needsServerInfo: true, returnValue: { description: "AR_FN_DUR_DATEDIFF_DATE_DATE_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_DATEDIFF_DATE_DATE_PRM_DSC_0", identifier: "date1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_DATEDIFF_DATE_DATE_PRM_DSC_1", identifier: "date2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dat" }], examples: [{ input: "DateDiff(MakeDate(2009, 3, 22), MakeDate(2009, 3, 20))", output: "AR_FN_DUR_DATEDIFF_DATE_DATE_EX_OUT_0" }, { input: "DateDiff(MakeDate(2009, 3, 20), MakeDate(2009, 3, 22))", output: "AR_FN_DUR_DATEDIFF_DATE_DATE_EX_OUT_1" }] }], needsServerInfo: true }, dateTimeDiff: { identifier: "dateTimeDiff", description: "AR_FN_DSC_DATETIMEDIFF", type: "function", name: "DateTimeDiff", category: "datetime", overloads: [{ description: "AR_FN_DUR_DATETIMEDIFF_DTM_DTM_DSC", identifier: "Duration_ONE dateTimeDiff(DateTime_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_DATETIMEDIFF_DTM_DTM_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_DATETIMEDIFF_DTM_DTM_PRM_DSC_0", identifier: "dateTime1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_DATETIMEDIFF_DTM_DTM_PRM_DSC_1", identifier: "dateTime2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "DateTimeDiff(MakeDateTime(2009, 3, 20, 14, 0, 0), MakeDateTime(2009, 3, 20, 12, 0, 0))", output: "AR_FN_DUR_DATETIMEDIFF_DTM_DTM_EX_OUT_0" }, { input: "DateTimeDiff(MakeDateTime(2009, 3, 20, 10, 0, 0), MakeDateTime(2009, 3, 20, 12, 0, 0))", output: "AR_FN_DUR_DATETIMEDIFF_DTM_DTM_EX_OUT_1" }] }] }, timeDiff: { identifier: "timeDiff", description: "AR_FN_DSC_TIMEDIFF", type: "function", name: "TimeDiff", category: "datetime", overloads: [{ description: "AR_FN_DUR_TIMEDIFF_TIME_TIME_DSC", identifier: "Duration_ONE timeDiff(Time_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_DUR_TIMEDIFF_TIME_TIME_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_TIMEDIFF_TIME_TIME_PRM_DSC_0", identifier: "time1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_TIMEDIFF_TIME_TIME_PRM_DSC_1", identifier: "time2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tim" }], examples: [{ input: "TimeDiff(MakeTime(14, 0, 0), MakeTime(12, 0, 0))", output: "AR_FN_DUR_TIMEDIFF_TIME_TIME_EX_OUT_0" }, { input: "TimeDiff(MakeTime(10, 0, 0), MakeTime(12, 0, 0))", output: "AR_FN_DUR_TIMEDIFF_TIME_TIME_EX_OUT_1" }] }], needsServerInfo: true }, dayOfWeek: { identifier: "dayOfWeek", description: "AR_FN_DSC_DAYOFWEEK", type: "function", name: "DayOfWeek", category: "datetime", overloads: [{ description: "AR_FN_LNG_DAYOFWEEK_DATE_DSC", identifier: "Long_ONE dayOfWeek(Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_DAYOFWEEK_DATE_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_DAYOFWEEK_DATE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }], examples: [{ input: "DayOfWeek(MakeDate(2009, 4, 5))", output: "1" }] }, { description: "AR_FN_LNG_DAYOFWEEK_DTM_DSC", identifier: "Long_ONE dayOfWeek(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_DAYOFWEEK_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_DAYOFWEEK_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "DayOfWeek(MakeDateTime(2009, 4, 5, 3, 0, 0))", output: "1" }] }], needsServerInfo: true }, getDayOfWeekOccurrence: { identifier: "getDayOfWeekOccurrence", description: "AR_FN_DSC_GETDAYOFWEEKOCCURRENCE", type: "function", name: "GetDayOfWeekOccurrence", category: "datetime", overloads: [{ description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_DSC", identifier: "DateTime_ONE getDayOfWeekOccurrence(Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_PRM_DSC_0", identifier: "dayOfWeek", isArray: false, helpDisplayIdx: 0, max: "7", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_PRM_DSC_1", identifier: "occurrence", isArray: false, helpDisplayIdx: 1, max: "53", min: "-53", repeatable: false, required: true, type: "int", disallowZero: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_PRM_DSC_2", identifier: "year", isArray: false, helpDisplayIdx: 2, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }], examples: [{ input: "GetDayOfWeekOccurrence(1, 10, 2017)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_0" }, { input: "GetDayOfWeekOccurrence(6, -1, 2017)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_1" }, { input: "GetDayOfWeekOccurrence(6, -2, 2017)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_2" }, { input: "GetDayOfWeekOccurrence(2, 53, 2017)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_3" }] }, { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_DSC", identifier: "DateTime_ONE getDayOfWeekOccurrence(Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "dayOfWeek", isArray: false, helpDisplayIdx: 0, max: "7", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "occurrence", isArray: false, helpDisplayIdx: 1, max: "5", min: "-5", repeatable: false, required: true, type: "int", disallowZero: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "year", isArray: false, helpDisplayIdx: 2, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "month", isArray: false, helpDisplayIdx: 3, max: "12", min: "1", repeatable: false, required: true, type: "int" }], examples: [{ input: "GetDayOfWeekOccurrence(1, 2, 2017, 4)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_0" }, { input: "GetDayOfWeekOccurrence(6, -1, 2017, 2)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_1" }, { input: "GetDayOfWeekOccurrence(6, -2, 2017, 2)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_2" }, { input: "GetDayOfWeekOccurrence(3, 5, 2017, 4)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_3" }] }, { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_DSC", identifier: "DateTime_ONE getDayOfWeekOccurrence(Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "dayOfWeek", isArray: false, helpDisplayIdx: 0, max: "7", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "occurrence", isArray: false, helpDisplayIdx: 1, max: "53", min: "-53", repeatable: false, required: true, type: "int", disallowZero: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "year", isArray: false, helpDisplayIdx: 2, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "hour", isArray: false, helpDisplayIdx: 3, max: "23", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4", identifier: "minute", isArray: false, helpDisplayIdx: 4, max: "59", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_5", identifier: "second", isArray: false, helpDisplayIdx: 5, max: "59", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "GetDayOfWeekOccurrence(6, -1, 2017, 2, 14, 30)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_0" }, { input: "GetDayOfWeekOccurrence(6, -2, 2017, 2, 5, 0)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_1" }, { input: "GetDayOfWeekOccurrence(1, 20, 2017, 2, 11, 15)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_2" }, { input: "GetDayOfWeekOccurrence(3, 53, 2017, 12, 0, 0)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_3" }] }, { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_DSC", identifier: "DateTime_ONE getDayOfWeekOccurrence(Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "dayOfWeek", isArray: false, helpDisplayIdx: 0, max: "7", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "occurrence", isArray: false, helpDisplayIdx: 1, max: "5", min: "-5", repeatable: false, required: true, type: "int", disallowZero: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "year", isArray: false, helpDisplayIdx: 2, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "month", isArray: false, helpDisplayIdx: 3, max: "12", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4", identifier: "hour", isArray: false, helpDisplayIdx: 4, max: "23", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_5", identifier: "minute", isArray: false, helpDisplayIdx: 5, max: "59", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_6", identifier: "second", isArray: false, helpDisplayIdx: 6, max: "59", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "GetDayOfWeekOccurrence(1, 2, 2017, 4, 11, 15, 0)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_0" }, { input: "GetDayOfWeekOccurrence(6, -1, 2017, 2, 14, 30, 0)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_1" }, { input: "GetDayOfWeekOccurrence(6, -2, 2017, 2, 5, 0, 0)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_2" }, { input: "GetDayOfWeekOccurrence(3, 5, 2015, 4, 12, 0, 0)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_3" }] }] }, getMenusSupportSpeechRecognition: { identifier: "getMenusSupportSpeechRecognition", description: "AR_FN_DSC_GETMENUSSUPPORTSPEECHRECOGNITION", type: "function", name: "GetMenusSupportSpeechRecognition", category: "audio", overloads: [{ description: "AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_DSC", identifier: "Boolean_ONE getMenusSupportSpeechRecognition()", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_RV", isArray: false, type: "bln" }, parameters: [], examples: [{ input: "GetMenusSupportSpeechRecognition()", output: "false" }] }, { description: "AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_STR_DSC", identifier: "Boolean_ONE getMenusSupportSpeechRecognition(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_STR_PRM_DSC_0", identifier: "languageTag", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'GetMenusSupportSpeechRecognition("en-us")', output: "true" }, { input: "GetMenusSupportSpeechRecognition(ToString(NOT_SET))", output: "A NOT_SET Boolean" }] }], needsServerInfo: true }, weekNum: { identifier: "weekNum", description: "AR_FN_DSC_WEEKNUM", type: "function", name: "WeekNum", category: "datetime", overloads: [{ description: "AR_FN_LNG_WEEKNUM_DATE_DSC", identifier: "Long_ONE weekNum(Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_WEEKNUM_DATE_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_WEEKNUM_DATE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }], examples: [{ input: "WeekNum(MakeDate(2017, 1, 1))", output: "1" }, { input: "WeekNum(MakeDate(2009, 12, 10))", output: "50" }, { input: "WeekNum(MakeDate(2009, 12, 31))", output: "53" }] }, { description: "AR_FN_LNG_WEEKNUM_DTM_DSC", identifier: "Long_ONE weekNum(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_WEEKNUM_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_WEEKNUM_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "WeekNum(MakeDateTime(2007, 1, 1, 3, 0, 0))", output: "1" }, { input: "WeekNum(MakeDateTime(2009, 12, 10, 3, 0, 0))", output: "50" }, { input: "WeekNum(MakeDateTime(2009, 12, 31, 3, 0, 0))", output: "53" }] }], needsServerInfo: true }, makeDate: { identifier: "makeDate", description: "AR_FN_DSC_MAKEDATE", type: "function", name: "MakeDate", category: "datetime", overloads: [{ description: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_DSC", identifier: "Date_ONE makeDate(Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_PRM_DSC_0", identifier: "year", isArray: false, helpDisplayIdx: 0, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_PRM_DSC_1", identifier: "month", isArray: false, helpDisplayIdx: 1, max: "12", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_PRM_DSC_2", identifier: "day", isArray: false, helpDisplayIdx: 2, max: "31", min: "1", repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeDate(2014, 5, 20)", output: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_EX_OUT_0" }, { input: "MakeDate(2018, 1, 1)", output: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_EX_OUT_1" }] }], needsServerInfo: true }, makeDateTime: { identifier: "makeDateTime", description: "AR_FN_DSC_MAKEDATETIME", type: "function", name: "MakeDateTime", category: "datetime", overloads: [{ description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_DSC", identifier: "DateTime_ONE makeDateTime(Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "year", isArray: false, helpDisplayIdx: 0, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "month", isArray: false, helpDisplayIdx: 1, max: "12", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "day", isArray: false, helpDisplayIdx: 2, max: "31", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "hour", isArray: false, helpDisplayIdx: 3, max: "23", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4", identifier: "minute", isArray: false, helpDisplayIdx: 4, max: "59", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_5", identifier: "second", isArray: false, helpDisplayIdx: 5, max: "59", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeDateTime(2009, 3, 20, 12, 00, 00)", output: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_0" }] }, { description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_DSC", identifier: "DateTime_ONE makeDateTime(Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_PRM_DSC_0", identifier: "year", isArray: false, helpDisplayIdx: 0, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_PRM_DSC_1", identifier: "month", isArray: false, helpDisplayIdx: 1, max: "12", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_PRM_DSC_2", identifier: "day", isArray: false, helpDisplayIdx: 2, max: "31", min: "1", repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeDateTime(2009, 3, 20)", output: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_EX_OUT_0" }] }, { description: "AR_FN_DTM_MAKEDATETIME_DATE_TIME_DSC", identifier: "DateTime_ONE makeDateTime(Date_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_DTM_MAKEDATETIME_DATE_TIME_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_DATE_TIME_PRM_DSC_0", identifier: "date", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dat" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_DATE_TIME_PRM_DSC_1", identifier: "time", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "tim" }], examples: [{ input: "MakeDateTime(MakeDate(2009, 3, 20), MakeTime(3, 30, 0))", output: "A DateTime whose value is March 20th, 2009 at 03:30:00AM." }, { input: "MakeDateTime(MakeDate(2018, 1, 1), ToTime(NOT_SET))", output: "A DateTime whose value is January 1st, 2018 at 12:00:00AM." }, { input: "MakeDateTime(ToDate(NOT_SET), MakeTime(15, 0, 0))", output: "A DateTime whose value is January 1st, 1970 at 03:00:00PM." }] }], needsServerInfo: true }, makeDuration: { identifier: "makeDuration", description: "AR_FN_DSC_MAKEDURATION", type: "function", name: "MakeDuration", category: "datetime", overloads: [{ description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_DSC", identifier: "Duration_ONE makeDuration(Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "day", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "hour", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "minute", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "second", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeDuration(10, 0, 30, 0)", output: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_EX_OUT_0" }, { input: "MakeDuration(-10, 0, 30, 0)", output: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_EX_OUT_1" }, { input: "MakeDuration(-10, 0, -30, 0)", output: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_EX_OUT_2" }] }, { description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_DSC", identifier: "Duration_ONE makeDuration(Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "day", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "hour", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "minute", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "second", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4", identifier: "milliseconds", isArray: false, helpDisplayIdx: 4, repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeDuration(10, 0, 30, 0, 0)", output: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_EX_OUT_0" }, { input: "MakeDuration(-10, 0, 30, 10, 500)", output: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_EX_OUT_1" }, { input: "MakeDuration(-10, 0, -30, 0, 0)", output: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_EX_OUT_2" }] }] }, makeTime: { identifier: "makeTime", description: "AR_FN_DSC_MAKETIME", type: "function", name: "MakeTime", category: "datetime", overloads: [{ description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_DSC", identifier: "Time_ONE makeTime(Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_PRM_DSC_0", identifier: "hour", isArray: false, helpDisplayIdx: 0, max: "23", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_PRM_DSC_1", identifier: "minute", isArray: false, helpDisplayIdx: 1, max: "59", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_PRM_DSC_2", identifier: "second", isArray: false, helpDisplayIdx: 2, max: "59", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeTime(12, 5, 0)", output: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_EX_OUT_0" }] }, { description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_DSC", identifier: "Time_ONE makeTime(Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "hour", isArray: false, helpDisplayIdx: 0, max: "23", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "minute", isArray: false, helpDisplayIdx: 1, max: "59", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "second", isArray: false, helpDisplayIdx: 2, max: "59", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "milliseconds", isArray: false, helpDisplayIdx: 3, max: "999", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeTime(2, 30, 10, 0)", output: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_EX_OUT_0" }, { input: "MakeTime(12, 0, 10, 200)", output: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_EX_OUT_1" }] }], needsServerInfo: true }, addDays: { identifier: "addDays", description: "AR_FN_DSC_ADDDAYS", type: "function", name: "AddDays", category: "datetime", overloads: [{ description: "AR_FN_DTM_ADDDAYS_DTM_LNG_DSC", identifier: "DateTime_ONE addDays(DateTime_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDDAYS_DTM_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDDAYS_DTM_LNG_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDDAYS_DTM_LNG_PRM_DSC_1", identifier: "days", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddDays(MakeDateTime(2009, 3, 2, 12, 00, 00), 5)", output: "AR_FN_DTM_ADDDAYS_DTM_LNG_EX_OUT_0" }] }, { description: "AR_FN_DATE_ADDDAYS_DATE_LNG_DSC", identifier: "Date_ONE addDays(Date_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_ADDDAYS_DATE_LNG_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDDAYS_DATE_LNG_PRM_DSC_0", identifier: "startDate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDDAYS_DATE_LNG_PRM_DSC_1", identifier: "days", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddDays(MakeDate(2009, 3, 2), 5)", output: "AR_FN_DATE_ADDDAYS_DATE_LNG_EX_OUT_0" }] }], needsServerInfo: true }, addDuration: { identifier: "addDuration", description: "AR_FN_DSC_ADDDURATION", type: "function", name: "AddDuration", category: "datetime", overloads: [{ description: "AR_FN_DATE_ADDDURATION_DATE_DUR_DSC", identifier: "Date_ONE addDuration(Date_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_ADDDURATION_DATE_DUR_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDDURATION_DATE_DUR_PRM_DSC_0", identifier: "startDate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDDURATION_DATE_DUR_PRM_DSC_1", identifier: "durationDaysToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "AddDuration(MakeDate(2009, 1, 10), MakeDuration(10, 0, 30, 0))", output: "AR_FN_DATE_ADDDURATION_DATE_DUR_EX_OUT_0" }, { input: "AddDuration(MakeDate(2020, 2, 28), MakeDuration(3, 0, 0, 0))", output: "AR_FN_DATE_ADDDURATION_DATE_DUR_EX_OUT_1" }, { input: "AddDuration(MakeDate(2020, 1, 2), MakeDuration(-3, -4, 0, 0))", output: "AR_FN_DATE_ADDDURATION_DATE_DUR_EX_OUT_2" }] }, { description: "AR_FN_DTM_ADDDURATION_DTM_DUR_DSC", identifier: "DateTime_ONE addDuration(DateTime_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDDURATION_DTM_DUR_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDDURATION_DTM_DUR_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDDURATION_DTM_DUR_PRM_DSC_1", identifier: "durationToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "AddDuration(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDuration(10, 0, 30, 0))", output: "AR_FN_DTM_ADDDURATION_DTM_DUR_EX_OUT_0" }] }, { description: "AR_FN_TIME_ADDDURATION_TIME_DUR_DSC", identifier: "Time_ONE addDuration(Time_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_ADDDURATION_TIME_DUR_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDDURATION_TIME_DUR_PRM_DSC_0", identifier: "startTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDDURATION_TIME_DUR_PRM_DSC_1", identifier: "durationToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "AddDuration(MakeTime(22, 0, 0), MakeDuration(2, 3, 30, 0))", output: "A Time whose value is 01:30:00AM." }, { input: "AddDuration(MakeTime(12, 30, 0), MakeDuration(-1, 3, 30, 0))", output: "A Time whose value is 04:00:00PM." }, { input: "AddDuration(MakeTime(12, 30, 0), MakeDuration(-1, -3, -30, 0))", output: "A Time whose value is 09:00:00AM." }] }], needsServerInfo: true }, addMonths: { identifier: "addMonths", description: "AR_FN_DSC_ADDMONTHS", type: "function", name: "AddMonths", category: "datetime", overloads: [{ description: "AR_FN_DTM_ADDMONTHS_DTM_LNG_DSC", identifier: "DateTime_ONE addMonths(DateTime_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDMONTHS_DTM_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDMONTHS_DTM_LNG_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDMONTHS_DTM_LNG_PRM_DSC_1", identifier: "monthsToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddMonths(MakeDateTime(2009, 1, 10, 6, 30, 0), 3)", output: "AR_FN_DTM_ADDMONTHS_DTM_LNG_EX_OUT_0" }, { input: "AddMonths(MakeDateTime(2009, 1, 31, 6, 30, 0), 1)", output: "AR_FN_DTM_ADDMONTHS_DTM_LNG_EX_OUT_1" }] }, { description: "AR_FN_DATE_ADDMONTHS_DATE_LNG_DSC", identifier: "Date_ONE addMonths(Date_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_ADDMONTHS_DATE_LNG_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDMONTHS_DATE_LNG_PRM_DSC_0", identifier: "startDate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDMONTHS_DATE_LNG_PRM_DSC_1", identifier: "monthsToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddMonths(MakeDate(2009, 1, 10), 3)", output: "AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_0" }, { input: "AddMonths(MakeDate(2008, 1, 29), 1)", output: "AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_1" }, { input: "AddMonths(MakeDate(2009, 1, 29), 1)", output: "AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_2" }, { input: "AddMonths(MakeDate(2020, 3, 1), -2)", output: "AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_3" }] }], needsServerInfo: true }, addYears: { identifier: "addYears", description: "AR_FN_DSC_ADDYEARS", type: "function", name: "AddYears", category: "datetime", overloads: [{ description: "AR_FN_DTM_ADDYEARS_DTM_LNG_DSC", identifier: "DateTime_ONE addYears(DateTime_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDYEARS_DTM_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDYEARS_DTM_LNG_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDYEARS_DTM_LNG_PRM_DSC_1", identifier: "yearsToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddYears(MakeDateTime(2009, 1, 10, 6, 30, 0), 3)", output: "AR_FN_DTM_ADDYEARS_DTM_LNG_EX_OUT_0" }] }, { description: "AR_FN_DATE_ADDYEARS_DATE_LNG_DSC", identifier: "Date_ONE addYears(Date_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_ADDYEARS_DATE_LNG_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDYEARS_DATE_LNG_PRM_DSC_0", identifier: "startDate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDYEARS_DATE_LNG_PRM_DSC_1", identifier: "yearsToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddYears(MakeDate(2012, 1, 10), 3)", output: "AR_FN_DATE_ADDYEARS_DATE_LNG_EX_OUT_0" }, { input: "AddYears(MakeDate(2012, 1, 10), 0)", output: "AR_FN_DATE_ADDYEARS_DATE_LNG_EX_OUT_1" }, { input: "AddYears(MakeDate(2012, 1, 10), -3)", output: "AR_FN_DATE_ADDYEARS_DATE_LNG_EX_OUT_2" }] }], needsServerInfo: true }, addHours: { identifier: "addHours", description: "AR_FN_DSC_ADDHOURS", type: "function", name: "AddHours", category: "datetime", overloads: [{ description: "AR_FN_DTM_ADDHOURS_DTM_LNG_DSC", identifier: "DateTime_ONE addHours(DateTime_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDHOURS_DTM_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDHOURS_DTM_LNG_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDHOURS_DTM_LNG_PRM_DSC_1", identifier: "hoursToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddHours(MakeDateTime(2009, 1, 10, 6, 30, 0), 3)", output: "AR_FN_DTM_ADDHOURS_DTM_LNG_EX_OUT_0" }] }, { description: "AR_FN_TIME_ADDHOURS_TIME_LNG_DSC", identifier: "Time_ONE addHours(Time_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_ADDHOURS_TIME_LNG_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDHOURS_TIME_LNG_PRM_DSC_0", identifier: "startTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDHOURS_TIME_LNG_PRM_DSC_1", identifier: "hoursToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddHours(MakeTime(6, 30, 0), 3)", output: "AR_FN_TIME_ADDHOURS_TIME_LNG_EX_OUT_0" }, { input: "AddHours(MakeTime(6, 30, 0, 500), -9)", output: "AR_FN_TIME_ADDHOURS_TIME_LNG_EX_OUT_1" }, { input: "AddHours(MakeTime(0, 0, 0), 36)", output: "AR_FN_TIME_ADDHOURS_TIME_LNG_EX_OUT_2" }] }], needsServerInfo: true }, addMinutes: { identifier: "addMinutes", description: "AR_FN_DSC_ADDMINUTES", type: "function", name: "AddMinutes", category: "datetime", overloads: [{ description: "AR_FN_DTM_ADDMINUTES_DTM_LNG_DSC", identifier: "DateTime_ONE addMinutes(DateTime_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDMINUTES_DTM_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDMINUTES_DTM_LNG_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDMINUTES_DTM_LNG_PRM_DSC_1", identifier: "minutesToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddMinutes(MakeDateTime(2009, 1, 10, 6, 30, 0), 3)", output: "AR_FN_DTM_ADDMINUTES_DTM_LNG_EX_OUT_0" }] }, { description: "AR_FN_TIME_ADDMINUTES_TIME_LNG_DSC", identifier: "Time_ONE addMinutes(Time_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_ADDMINUTES_TIME_LNG_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDMINUTES_TIME_LNG_PRM_DSC_0", identifier: "startTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDMINUTES_TIME_LNG_PRM_DSC_1", identifier: "minutesToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddMinutes(MakeTime(6, 30, 0), 150)", output: "AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_0" }, { input: "AddMinutes(MakeTime(6, 30, 0, 500), -600)", output: "AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_1" }, { input: "AddMinutes(MakeTime(0, 0, 0), -1440)", output: "AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_2" }, { input: "AddMinutes(MakeTime(0, 0, 0), -1410)", output: "AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_3" }] }], needsServerInfo: true }, addSeconds: { identifier: "addSeconds", description: "AR_FN_DSC_ADDSECONDS", type: "function", name: "AddSeconds", category: "datetime", overloads: [{ description: "AR_FN_DTM_ADDSECONDS_DTM_LNG_DSC", identifier: "DateTime_ONE addSeconds(DateTime_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDSECONDS_DTM_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDSECONDS_DTM_LNG_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDSECONDS_DTM_LNG_PRM_DSC_1", identifier: "secondsToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddSeconds(MakeDateTime(2009, 1, 10, 6, 30, 0), 3)", output: "AR_FN_DTM_ADDSECONDS_DTM_LNG_EX_OUT_0" }] }, { description: "AR_FN_TIME_ADDSECONDS_TIME_LNG_DSC", identifier: "Time_ONE addSeconds(Time_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_ADDSECONDS_TIME_LNG_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDSECONDS_TIME_LNG_PRM_DSC_0", identifier: "startTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDSECONDS_TIME_LNG_PRM_DSC_1", identifier: "secondsToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddSeconds(MakeTime(0, 30, 0), 330)", output: "AR_FN_TIME_ADDSECONDS_TIME_LNG_EX_OUT_0" }, { input: "AddSeconds(MakeTime(0, 30, 0), -3600)", output: "AR_FN_TIME_ADDSECONDS_TIME_LNG_EX_OUT_1" }, { input: "AddSeconds(MakeTime(6, 30, 0, 500), 86400)", output: "AR_FN_TIME_ADDSECONDS_TIME_LNG_EX_OUT_2" }] }], needsServerInfo: true }, logicalIf: { identifier: "logicalIf", description: "AR_FN_DSC_LOGICALIF", type: "function", name: "If", category: "logical", overloads: [{ description: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_DSC", identifier: "Any_ONE logicalIf(Boolean_ONE,Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "If" }, returnValue: { description: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_PRM_DSC_0", identifier: "condition", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_PRM_DSC_1", identifier: "trueValue", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_PRM_DSC_2", identifier: "falseValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: "If(5>3, true, false)", output: "true" }, { input: 'If(5>3, "hello", "world")', output: '"hello"' }, { input: "If(5>3, 100, 200)", output: "100" }, { input: "If(5>3, 100.5, 200.0)", output: "100.5" }, { input: 'If(MakeCurrency(5.00, "USD") > MakeCurrency(2.00, "USD"), MakeCurrency(10.00, "USD"), ToCurrency(NOT_SET))', output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_4" }, { input: "If(5>3, MakeDateTime(2009, 5, 5, 10, 30, 0), MakeDateTime(2005, 1, 1, 0, 0, 0))", output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_5" }, { input: "If(5>3, MakeDuration(0, 1, 0, 0), MakeDuration(2, 0, 0, 0))", output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_6" }, { input: 'If(5>3, ToUser("john.doe@company.com"), ToUser("mary.doe@company.com"))', output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_7", hidden: "true" }, { input: 'If(5>3, ToSkill("Spanish"), ToSkill("German"))', output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_8", hidden: "true" }, { input: "If(3<5, MakeDate(2010, 6, 1), MakeDate(2015, 6, 1))", output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_9", featureConfigName: "botFlows" }, { input: "If(3<5, MakeTime(12, 0, 0), MakeTime(2, 30, 0))", output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_10", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_DSC", identifier: "Any_COLL logicalIf(Boolean_ONE,Any_COLL,Any_COLL)", support: { version: "1.0", resolver: "If" }, returnValue: { description: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_PRM_DSC_0", identifier: "condition", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_PRM_DSC_1", identifier: "trueValue", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_PRM_DSC_2", identifier: "falseValue", isArray: true, helpDisplayIdx: 2, repeatable: false, required: true, type: "any" }], examples: [{ input: 'If(MakeCurrency(5.00, "USD") > MakeCurrency(2.00, "USD"), MakeList(MakeCurrency(10.00, "USD")), MakeList(ToCurrency(NOT_SET)))', output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_0" }, { input: "If(5>3, MakeList(true), MakeList(false))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_1" }, { input: 'If(5>3, MakeList("hello"), MakeList("world"))', output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_2" }, { input: "If(5>3, MakeList(100), MakeList(200))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_3" }, { input: "If(5>3, MakeList(100.5), MakeList(200.0))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_4" }, { input: "If(5>3, MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0)), MakeList(MakeDateTime(2005, 1, 1, 0, 0, 0)))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_5" }, { input: "If(5>3, MakeList(MakeDuration(0, 1, 0, 0)), MakeList(MakeDuration(2, 0, 0, 0)))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_6" }, { input: 'If(5>3, MakeList(ToUser("john.doe@company.com")), MakeList(ToUser("mary.doe@company.com")))', output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_7", hidden: "true" }, { input: 'If(5>3, MakeList(ToSkill("Spanish")), MakeList(ToSkill("German")))', output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_8", hidden: "true" }, { input: "If(5>3, MakeList(ToSkill(NOT_SET)), MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET)))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_9" }, { input: "If(3<5, MakeList(MakeDate(2010, 6, 1)), MakeList(MakeDate(2015, 6, 1)))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_10", featureConfigName: "botFlows" }, { input: "If(3<5, MakeList(MakeTime(12, 0, 0)), MakeList(MakeTime(2, 30, 0)))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_11", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_DSC", identifier: "Audio_ONE logicalIf(Boolean_ONE,Audio_ONE,Audio_ONE)", support: { version: "1.0", resolver: "If" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_PRM_DSC_0", identifier: "condition", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_PRM_DSC_1", identifier: "trueValueAudio", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "aud" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_PRM_DSC_2", identifier: "falseValueAudio", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "aud" }], examples: [{ input: 'If(5>3, ToAudioTTS("Hello"), ToAudioTTS("World"))', output: "AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_EX_OUT_0" }] }] }, areEqual: { identifier: "areEqual", description: "AR_FN_DSC_AREEQUAL", type: "function", name: "AreEqual", category: "comparison", overloads: [{ description: "AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_DSC", identifier: "Boolean_ONE areEqual(Any_ONE,Any_ONE...)", support: { version: "1.0", resolver: "n-SameTypeParmNotSetToString" }, returnValue: { description: "AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "any" }], examples: [{ input: "AreEqual(true, false, ToBool(NOT_SET))", output: "false" }, { input: "AreEqual(5>3, true)", output: "true" }, { input: 'AreEqual("Hello", "Hel" + "lo")', output: "true" }, { input: 'AreEqual(MakeCurrency(5.00, "USD"), MakeCurrency(2.00, "USD"))', output: "false" }, { input: 'AreEqual(MakeCurrency(5.00, "USD"), MakeCurrency(5.00, "EUR"))', output: "false" }, { input: "AreEqual(ToString(NOT_SET), ToString(NOT_SET))", output: "true" }, { input: "AreEqual(100+5, 105, 110)", output: "false" }, { input: "AreEqual(105, 105)", output: "true" }, { input: "AreEqual(100.5, 120.0, 125.5)", output: "false" }, { input: "AreEqual(100.5, 100.5, 100.5)", output: "true" }, { input: "AreEqual(MakeDateTime(2009, 3, 20, 14, 0, 0), MakeDateTime(2009, 3, 20, 12, 0, 0))", output: "false" }, { input: "AreEqual(MakeDateTime(2009, 3, 20, 14, 0, 0), MakeDateTime(2009, 3, 20, 14, 0, 0))", output: "true" }, { input: "AreEqual(MakeDuration(0, 1, 0, 0), MakeDuration(2, 0, 0, 0))", output: "false" }, { input: "AreEqual(MakeDuration(2, 0, 0, 0), MakeDuration(2, 0, 0, 0))", output: "true" }, { input: 'AreEqual(ToUser("john.doe@company.com"), ToUser("Doe, Jane"))', output: "false", hidden: "true" }, { input: 'AreEqual(ToUser("john.doe@company.com"), ToUser("john.doe@company.com"))', output: "true", hidden: "true" }, { input: 'AreEqual(ToSkill("Spanish"), ToSkill("German"))', output: "false", hidden: "true" }, { input: 'AreEqual(ToSkill("Spanish"), ToSkill("Spanish"))', output: "true", hidden: "true" }, { input: "AreEqual(NOT_SET, NOT_SET)", output: "true" }, { input: "AreEqual(ToUser(NOT_SET), ToUser(NOT_SET))", output: "true" }, { input: "AreEqual(ToSkill(NOT_SET), ToSkill(NOT_SET))", output: "true" }, { input: 'AreEqual(MakeEmptyJsonObject(), JsonParse("{}"))', output: "true", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_DSC", identifier: "Boolean_ONE areEqual(Any_COLL,Any_COLL)", support: { version: "1.0", resolver: "SameType" }, returnValue: { description: "AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "any" }], examples: [{ input: "AreEqual(MakeList(true, false), MakeList(true, false))", output: "true" }, { input: "AreEqual(MakeList(true, ToBool(NOT_SET), false), MakeList(true, false, ToBool(NOT_SET)))", output: "false" }, { input: "AreEqual(MakeList(true, ToBool(NOT_SET), false), MakeList(true, ToBool(NOT_SET), false))", output: "true" }, { input: "AreEqual(MakeList(true), MakeEmptyList(ToBool(NOT_SET)))", output: "false" }, { input: 'AreEqual(MakeList(MakeCurrency(5.00, "USD")), MakeList(MakeCurrency(5.00, "USD")))', output: "true" }, { input: 'AreEqual(MakeList(MakeCurrency(5.00, "USD")), MakeList(MakeCurrency(5.00, "EUR")))', output: "false" }, { input: 'AreEqual(MakeList("hello"), MakeList("world"))', output: "false" }, { input: 'AreEqual(MakeList("hello"), MakeList("Hello"))', output: "false" }, { input: 'AreEqual(MakeList("hello"), MakeList("hello"))', output: "true" }, { input: 'AreEqual(MakeList("hello"), MakeEmptyList(ToString(NOT_SET)))', output: "false" }, { input: "AreEqual(MakeList(5, 3, 1), MakeList(1, 3, 5))", output: "false" }, { input: "AreEqual(MakeList(5, ToInt(NOT_SET), 1), MakeList(5, 3, 1))", output: "false" }, { input: "AreEqual(MakeList(5, ToInt(NOT_SET), 1), MakeList(5, ToInt(NOT_SET), 1))", output: "true" }, { input: "AreEqual(MakeList(1), MakeEmptyList(ToInt(NOT_SET)))", output: "false" }, { input: "AreEqual(MakeList(5.0, 3.0, 1.0), MakeList(1.0, 3.0, 5.0))", output: "false" }, { input: "AreEqual(MakeList(5.0, ToDecimal(NOT_SET), 1.0), MakeList(5.0, 3.0, 1.0))", output: "false" }, { input: "AreEqual(MakeList(5.0, ToDecimal(NOT_SET), 1.0), MakeList(5.0, ToDecimal(NOT_SET), 1.0))", output: "true" }, { input: "AreEqual(MakeList(1.0), MakeEmptyList(ToDecimal(NOT_SET)))", output: "false" }, { input: "AreEqual(MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), MakeDateTime(2009, 5, 5, 11, 30, 0)), MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), MakeDateTime(2009, 5, 5, 11, 30, 0)))", output: "true" }, { input: "AreEqual(MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), ToDateTime(NOT_SET)), MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), ToDateTime(NOT_SET)))", output: "true" }, { input: "AreEqual(MakeList(ToDateTime(NOT_SET)), MakeEmptyList(ToDateTime(NOT_SET)))", output: "false" }, { input: "AreEqual(MakeList(MakeDuration(10, 0, 30, 0), MakeDuration(0, 0, 30, 30)), MakeList(MakeDuration(10, 0, 30, 0), MakeDuration(0, 0, 30, 30)))", output: "true" }, { input: "AreEqual(MakeList(MakeDuration(10, 0, 30, 0), MakeDuration(0, 0, 30, 30)), MakeList(MakeDuration(10, 0, 30, 0), ToDuration(NOT_SET)))", output: "false" }, { input: "AreEqual(MakeList(ToDuration(NOT_SET)), MakeEmptyList(ToDuration(NOT_SET)))", output: "false" }, { input: 'AreEqual(MakeList(ToUser("john.doe@company.com"), ToUser("mary.doe@company.com")), MakeList(ToUser("john.doe@company.com"), ToUser("mary.doe@company.com")))', output: "true", hidden: "true" }, { input: 'AreEqual(MakeList(ToUser("john.doe@company.com"), ToUser(NOT_SET)), MakeList(ToUser("john.doe@company.com"), ToUser(NOT_SET)))', output: "true", hidden: "true" }, { input: "AreEqual(MakeList(ToUser(NOT_SET)), MakeEmptyList(ToUser(NOT_SET)))", output: "false" }, { input: 'AreEqual(MakeList(ToSkill("Spanish"), ToSkill("German")), MakeList(ToSkill("Spanish"), ToSkill("German")))', output: "true", hidden: "true" }, { input: 'AreEqual(MakeList(ToSkill("Spanish"), ToSkill(NOT_SET)), MakeList(ToSkill("Spanish"), ToSkill(NOT_SET)))', output: "true", hidden: "true" }, { input: "AreEqual(MakeList(ToSkill(NOT_SET)), MakeEmptyList(ToSkill(NOT_SET)))", output: "false" }, { input: "AreEqual(MakeList(ToUser(NOT_SET), ToUser(NOT_SET)), MakeList(ToUser(NOT_SET), ToUser(NOT_SET)))", output: "true", hidden: "true" }, { input: "AreEqual(MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET)), MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET)))", output: "true", hidden: "true" }] }, { description: "AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_DSC", identifier: "Boolean_ONE areEqual(Boolean_ONE,String_ONE,String_ONE...)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_PRM_DSC_0", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "bln" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_PRM_DSC_1", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_PRM_DSC_2", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 2, repeatable: true, required: false, type: "str" }], examples: [{ input: 'AreEqual(false, "Hello", "hel" + "lo")', output: "false" }, { input: 'AreEqual(true, "Hello", "hel" + "lo", "hello")', output: "true" }, { input: "AreEqual(false, ToString(NOT_SET), ToString(NOT_SET))", output: "true" }] }, { description: "AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_DSC", identifier: "Boolean_ONE areEqual(Boolean_ONE,String_COLL,String_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_PRM_DSC_0", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_PRM_DSC_1", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_PRM_DSC_2", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 2, repeatable: false, required: true, type: "str" }], examples: [{ input: 'AreEqual(false, MakeList("hello"), MakeList("world"))', output: "false" }, { input: 'AreEqual(false, MakeList("hello"), MakeList("Hello"))', output: "false" }, { input: 'AreEqual(true, MakeList("hello"), MakeList("Hello"))', output: "true" }, { input: 'AreEqual(false, MakeList("hello"), MakeList("hello"))', output: "true" }, { input: 'AreEqual(false, MakeList("hello"), MakeEmptyList(ToString(NOT_SET)))', output: "false" }] }] }, isSkillExpressionFilterValid: { identifier: "isSkillExpressionFilterValid", description: "AR_FN_DSC_ISSKILLEXPRESSIONFILTERVALID", type: "function", name: "IsSkillExpressionFilterValid", category: "logical", overloads: [{ description: "AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_DSC", identifier: "Boolean_ONE isSkillExpressionFilterValid(SkillExpressionFilter_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", emailsend: "emailsend", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage" }, featureConfigName: "routingSkillExpressionsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_PRM_DSC_0", identifier: "skillExpressionFilter", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn__architect::skill_expression_filter" }], examples: [{ input: 'IsSkillExpressionFilterValid(EvaluateSkillExpressionFilter("((Skill(\\"iPhone\\")>1 | (Skill(\\"CarPlay\\")=10)) & LanguageSkill(\\"Spanish\\") > 0)"))', output: "AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_EX_OUT_0" }, { input: "IsSkillExpressionFilterValid(NOT_SET)", output: "AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_EX_OUT_1" }] }], needsServerInfo: true }, areSkillExpressionFiltersValid: { identifier: "areSkillExpressionFiltersValid", description: "AR_FN_DSC_ARESKILLEXPRESSIONFILTERSVALID", type: "function", name: "AreSkillExpressionFiltersValid", category: "search", overloads: [{ description: "AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_DSC", identifier: "Boolean_ONE areSkillExpressionFiltersValid(SkillExpressionFilter_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule", emailsend: "emailsend", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage" }, featureConfigName: "routingSkillExpressionsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_PRM_DSC_0", identifier: "skillExpressionFilters", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn__architect::skill_expression_filter" }], examples: [{ input: 'AreSkillExpressionFiltersValid(MakeList(EvaluateSkillExpressionFilter("((Skill(\\"iPhone\\")>1 | (Skill(\\"CarPlay\\")=10)) & LanguageSkill(\\"Spanish\\") > 0)")))', output: "AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_EX_OUT_0" }, { input: 'AreSkillExpressionFiltersValid(MakeEmptyList(EvaluateSkillExpressionFilter("((Skill(\\"iPhone\\")>1 | (Skill(\\"CarPlay\\")=10)) & LanguageSkill(\\"Spanish\\") > 0)")))', output: "AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_EX_OUT_1" }] }], needsServerInfo: true }, isSet: { identifier: "isSet", description: "AR_FN_DSC_ISSET", type: "function", name: "IsSet", category: "logical", overloads: [{ description: "AR_FN_BLN_ISSET_ANY_DSC", identifier: "Boolean_ONE isSet(Any_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_ISSET_ANY_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_ISSET_ANY_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "IsSet(true)", output: "true" }, { input: "IsSet(false)", output: "true" }, { input: "IsSet(ToBool(NOT_SET))", output: "false" }, { input: 'IsSet("Hello")', output: "true" }, { input: 'IsSet("")', output: "true" }, { input: "IsSet(ToString(NOT_SET))", output: "false" }, { input: "IsSet(100)", output: "true" }, { input: "IsSet(ToInt(NOT_SET))", output: "false" }, { input: "IsSet(100.5)", output: "true" }, { input: "IsSet(ToDecimal(NOT_SET))", output: "false" }, { input: "IsSet(ToCurrency(NOT_SET))", output: "false" }, { input: "IsSet(MakeCurrency(5.00, ToString(NOT_SET)))", output: "true" }, { input: 'IsSet(MakeCurrency(ToDecimal(NOT_SET), "USD"))', output: "true" }, { input: "IsSet(MakeCurrency(ToDecimal(NOT_SET), ToString(NOT_SET)))", output: "true" }, { input: 'IsSet(MakeCurrency(5.00, "USD"))', output: "true" }, { input: "IsSet(MakeDate(2018, 12, 4))", output: "true", featureConfigName: "botFlows" }, { input: "IsSet(ToDate(NOT_SET))", output: "false", featureConfigName: "botFlows" }, { input: "IsSet(MakeTime(1, 30, 0))", output: "true", featureConfigName: "botFlows" }, { input: "IsSet(ToTime(NOT_SET))", output: "false", featureConfigName: "botFlows" }, { input: "IsSet(JsonParse(NOT_SET))", output: "false", featureConfigName: "encryptDecryptDataFeature" }, { input: "IsSet(ToJson(NOT_SET))", output: "false", featureConfigName: "encryptDecryptDataFeature" }, { input: 'IsSet(JsonParse("null"))', output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: 'IsSet(JsonParse("true"))', output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: "IsSet(MakeEmptyJsonObject())", output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: 'IsSet(JsonParse("{\\"a\\": false}"))', output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: 'IsSet(ToJson(""))', output: "true", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_BLN_ISSET_AUDIO_DSC", identifier: "Boolean_ONE isSet(Audio_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISSET_AUDIO_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_ISSET_AUDIO_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "aud" }], examples: [{ input: 'IsSet(ToAudioTTS("Hello"))', output: "true" }, { input: "IsSet(ToAudioBlank(2000))", output: "true" }, { input: "IsSet(ToAudio(ToPrompt(NOT_SET)))", output: "false" }] }, { description: "AR_FN_BLN_ISSET_NTS_DSC", identifier: "Boolean_ONE isSet(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_BLN_ISSET_NTS_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_ISSET_NTS_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "IsSet(NOT_SET)", output: "false" }] }], needsServerInfo: true }, getAt: { identifier: "getAt", description: "AR_FN_DSC_GETAT", type: "function", name: "GetAt", category: "list", overloads: [{ description: "AR_FN_ANY_GETAT_ANY_COLL_LNG_DSC", identifier: "Any_ONE getAt(Any_COLL,Long_ONE)", support: { version: "1.0", resolver: "GetAt" }, returnValue: { description: "AR_FN_ANY_GETAT_ANY_COLL_LNG_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_GETAT_ANY_COLL_LNG_PRM_DSC_0", identifier: "collection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_GETAT_ANY_COLL_LNG_PRM_DSC_1", identifier: "index", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "GetAt(MakeList(true, false), 0)", output: "true" }, { input: 'GetAt(MakeList("Hello", "World"), 0)', output: '"Hello"' }, { input: "GetAt(MakeList(100, 200), 0)", output: "100" }, { input: "GetAt(MakeList(100.5, 200.5), 0)", output: "100.5" }, { input: 'GetAt(MakeList(MakeCurrency(5.00, "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD")), 1)', output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_4" }, { input: "GetAt(MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), MakeDateTime(2005, 1, 1, 0, 0, 0)), 0)", output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_5" }, { input: "GetAt(MakeList(MakeDuration(10, 0, 30, 0), MakeDuration(0, 0, 30, 30)), 0)", output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_6" }, { input: 'GetAt(MakeList(ToSkill("Spanish"), ToSkill("German")), 0)', output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_7", hidden: "true" }, { input: 'GetAt(MakeList(ToUser("john.doe@company.com"), ToUser("mary.doe@company.com")), 0)', output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_8", hidden: "true" }, { input: "GetAt(MakeList(ToSkill(NOT_SET)), 0)", output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_9" }, { input: "GetAt(MakeList(MakeDate(2015, 1, 10), MakeDate(2018, 2, 14)), 0)", output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_10", featureConfigName: "botFlows" }, { input: "GetAt(MakeList(MakeTime(4, 30, 0), MakeTime(14, 15, 0)), 1)", output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_11", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_JSON_GETAT_JSON_LNG_DSC", identifier: "JSON_ONE getAt(JSON_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_GETAT_JSON_LNG_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_GETAT_JSON_LNG_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_GETAT_JSON_LNG_PRM_DSC_1", identifier: "index", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'GetAt(JsonParse( "[\\"a\\", \\"b\\", \\"c\\"]" ), 1)', output: "AR_FN_JSON_GETAT_JSON_LNG_EX_OUT_0" }, { input: 'GetAt(JsonParse("\\"Hello\\""), 2)', output: "AR_FN_JSON_GETAT_JSON_LNG_EX_OUT_1" }] }], needsServerInfo: true }, count: { identifier: "count", description: "AR_FN_DSC_COUNT", type: "function", name: "Count", category: "list", overloads: [{ description: "AR_FN_LNG_COUNT_ANY_COLL_DSC", identifier: "Long_ONE count(Any_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_COUNT_ANY_COLL_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_COUNT_ANY_COLL_PRM_DSC_0", identifier: "value", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "Count(MakeList(true, false))", output: "2" }, { input: "Count(MakeList(true, ToBool(NOT_SET)))", output: "2" }, { input: "Count(MakeList(ToBool(NOT_SET)))", output: "1" }, { input: 'Count(MakeList(MakeCurrency(5.00, "EUR"), MakeCurrency(ToDecimal(NOT_SET), "USD")))', output: "2" }, { input: 'Count(MakeList("hello", "world"))', output: "2" }, { input: 'Count(MakeList("hello", ToString(NOT_SET)))', output: "2" }, { input: "Count(MakeList(ToString(NOT_SET)))", output: "1" }, { input: "Count(MakeList(5, 3))", output: "2" }, { input: "Count(MakeList(5, ToInt(NOT_SET)))", output: "2" }, { input: "Count(MakeList(ToInt(NOT_SET)))", output: "1" }, { input: "Count(MakeList(3.5, -2.2))", output: "2" }, { input: "Count(MakeList(3.5, ToDecimal(NOT_SET)))", output: "2" }, { input: "Count(MakeList(ToDecimal(NOT_SET)))", output: "1" }, { input: "Count(MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), MakeDateTime(2008, 4, 5, 10, 30, 0)))", output: "2" }, { input: "Count(MakeList(GetCurrentDateTimeUtc(), ToDateTime(NOT_SET)))", output: "2" }, { input: "Count(MakeList(ToDateTime(NOT_SET)))", output: "1" }, { input: "Count(MakeList(MakeDuration(10, 0, 30, 0), MakeDuration(0, 0, 30, 30)))", output: "2" }, { input: "Count(MakeList(MakeDuration(10, 0, 30, 0), ToDuration(NOT_SET)))", output: "2" }, { input: "Count(MakeList(ToDuration(NOT_SET)))", output: "1" }, { input: 'Count(MakeList(ToUser("john.doe@company.com"), ToUser("mary.doe@company.com")))', output: "2", hidden: "true" }, { input: 'Count(MakeList(ToUser("john.doe@company.com"), ToUser(NOT_SET)))', output: "2", hidden: "true" }, { input: "Count(MakeList(ToUser(NOT_SET)))", output: "1" }, { input: 'Count(MakeList(ToSkill("Spanish"), ToSkill("German")))', output: "2", hidden: "true" }, { input: 'Count(MakeList(ToSkill("Spanish"), ToSkill(NOT_SET)))', output: "2", hidden: "true" }, { input: "Count(MakeList(ToSkill(NOT_SET)))", output: "1" }, { input: "Count(MakeList(ToUser(NOT_SET), ToUser(NOT_SET)))", output: "2" }, { input: "Count(MakeList(ToSkill(NOT_SET)))", output: "1" }, { input: "Count(MakeList(MakeDate(2015, 1, 10), MakeDate(2018, 2, 14)))", output: "2", featureConfigName: "botFlows" }, { input: "Count(MakeList(MakeTime(4, 30, 0), MakeTime(14, 15, 0)))", output: "2", featureConfigName: "botFlows" }, { input: "Count(MakeEmptyJsonArray())", output: "0", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_LNG_COUNT_JSON_DSC", identifier: "Long_ONE count(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_COUNT_JSON_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_COUNT_JSON_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }], examples: [{ input: 'Count(JsonParse("[ \\"a\\", \\"b\\", \\"c\\" ]"))', output: "3", featureConfigName: "encryptDecryptDataFeature" }, { input: 'Count(JsonParse("[ 1, 3, 20 ]"))', output: "3", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }], needsServerInfo: true }, escapeForMarkdown: { identifier: "escapeForMarkdown", description: "AR_FN_DSC_ESCAPEFORMARKDOWN", type: "function", name: "EscapeForMarkdown", category: "text", overloads: [{ description: "AR_FN_STR_ESCAPEFORMARKDOWN_STR_DSC", identifier: "String_ONE escapeForMarkdown(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_ESCAPEFORMARKDOWN_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_ESCAPEFORMARKDOWN_STR_PRM_DSC_0", identifier: "stringToEscape", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'EscapeForMarkdown("# Hello")', output: '"\\# Hello"' }, { input: 'EscapeForMarkdown("_More **example** text._")', output: '"\\_More \\*\\*example\\*\\* text.\\_"' }, { input: "EscapeForMarkdown(ToString(NOT_SET))", output: "AR_FN_STR_ESCAPEFORMARKDOWN_STR_EX_OUT_2" }] }], needsServerInfo: true }, escapeForXml: { identifier: "escapeForXml", description: "AR_FN_DSC_ESCAPEFORXML", type: "function", name: "EscapeForXml", category: "text", overloads: [{ description: "AR_FN_STR_ESCAPEFORXML_STR_DSC", identifier: "String_ONE escapeForXml(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_ESCAPEFORXML_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_ESCAPEFORXML_STR_PRM_DSC_0", identifier: "stringToEscape", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'EscapeForXml("5>3")', output: '"5>3"' }, { input: 'EscapeForXml("\\"Hello\\"")', output: '""Hello""' }, { input: "EscapeForXml(ToString(NOT_SET))", output: "AR_FN_STR_ESCAPEFORXML_STR_EX_OUT_2" }] }], needsServerInfo: true }, find: { identifier: "find", description: "AR_FN_DSC_FIND", type: "function", name: "Find", category: "list", overloads: [{ description: "AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_DSC", identifier: "Long_COLL find(Any_COLL,Any_ONE)", support: { version: "1.0", resolver: "Find" }, returnValue: { description: "AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_RV", isArray: true, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_PRM_DSC_0", identifier: "list", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_PRM_DSC_1", identifier: "item", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: "Find(MakeList(true, false, true, ToBool(NOT_SET)), false)", output: "[1]" }, { input: "Find(MakeList(true, false, true, ToBool(NOT_SET)), ToBool(NOT_SET))", output: "[3]" }, { input: 'Find(MakeList(MakeCurrency(5.00, "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD")), MakeCurrency(2.00, "EUR"))', output: "[]" }, { input: 'Find(MakeList("hello", "world", ToString(NOT_SET)), "hello")', output: "[0]" }, { input: 'Find(MakeList("hello", "world", ToString(NOT_SET)), "Hello")', output: "[]" }, { input: 'Find(MakeList("hello", "world", ToString(NOT_SET)), ToString(NOT_SET))', output: "[2]" }, { input: "Find(MakeList(100, 200, ToInt(NOT_SET)), 100)", output: "[0]" }, { input: "Find(MakeList(100, 200, ToInt(NOT_SET)), 300)", output: "[]" }, { input: "Find(MakeList(100, 200, ToInt(NOT_SET)), ToInt(NOT_SET))", output: "[2]" }, { input: "Find(MakeList(100.5, 200.0, ToDecimal(NOT_SET)), 100.5)", output: "[0]" }, { input: "Find(MakeList(100.5, 200.0, ToDecimal(NOT_SET)), 300.0)", output: "[]" }, { input: "Find(MakeList(100.5, 200.0, ToDecimal(NOT_SET)), ToDecimal(NOT_SET))", output: "[2]" }, { input: "Find(MakeList(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDateTime(2009, 1, 10, 6, 30, 0), ToDateTime(NOT_SET)), MakeDateTime(2009, 1, 10, 6, 30, 0))", output: "[0, 1]" }, { input: "Find(MakeList(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDateTime(2009, 1, 10, 6, 30, 0), ToDateTime(NOT_SET)), MakeDateTime(2007, 1, 1, 0, 0, 0))", output: "[]" }, { input: "Find(MakeList(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDateTime(2009, 1, 10, 6, 30, 0), ToDateTime(NOT_SET)), ToDateTime(NOT_SET))", output: "[2]" }, { input: "Find(MakeList(MakeDuration(1, 0, 0, 0), MakeDuration(0, 6, 0, 0), ToDuration(NOT_SET)), MakeDuration(1, 0, 0, 0))", output: "[0]" }, { input: "Find(MakeList(MakeDuration(1, 0, 0, 0), MakeDuration(0, 6, 0, 0), ToDuration(NOT_SET)), MakeDuration(3, 3, 0, 0))", output: "[]" }, { input: "Find(MakeList(MakeDuration(1, 0, 0, 0), MakeDuration(0, 6, 0, 0), ToDuration(NOT_SET)), ToDuration(NOT_SET))", output: "[2]" }, { input: 'Find(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com"), ToUser(NOT_SET)), ToUser("john.doe@company.com"))', output: "[0]", hidden: "true" }, { input: 'Find(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com"), ToUser(NOT_SET)), ToUser("joe.schmo@company.com"))', output: "[]", hidden: "true" }, { input: 'Find(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com"), ToUser(NOT_SET)), ToUser(NOT_SET))', output: "[2]", hidden: "true" }, { input: 'Find(MakeList(ToSkill("Spanish"), ToSkill("German"), ToSkill(NOT_SET)), ToSkill("Spanish"))', output: "[0]", hidden: "true" }, { input: 'Find(MakeList(ToSkill("Spanish"), ToSkill("German"), ToSkill(NOT_SET)), ToSkill("French"))', output: "[]", hidden: "true" }, { input: 'Find(MakeList(ToSkill("Spanish"), ToSkill("German"), ToSkill(NOT_SET)), ToSkill(NOT_SET))', output: "[2]", hidden: "true" }, { input: "Find(MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET)), ToSkill(NOT_SET))", output: "[0, 1]" }, { input: "Find(MakeList(ToUser(NOT_SET), ToUser(NOT_SET)), ToUser(NOT_SET))", output: "[0, 1]" }, { input: 'Find(MakeList(ToPhoneNumber("tel:+13178723000"), ToPhoneNumber("+13178723000")), ToPhoneNumber("13178723000"))', output: "[0, 1]" }, { input: 'Find(MakeList(ToPhoneNumber("sip:john.doe@company.com"), ToPhoneNumber("sips:john.doe@company.com")), ToPhoneNumber("sip:john.doe@company.com"))', output: "[0]" }, { input: "Find(MakeList(MakeDate(2015, 1, 10), MakeDate(2018, 2, 14)), MakeDate(2018, 2, 14))", output: "[1]", featureConfigName: "botFlows" }, { input: "Find(MakeList(MakeTime(4, 30, 0), MakeTime(14, 15, 0)), MakeTime(4, 30, 0))", output: "[0]", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }] }, findFirst: { identifier: "findFirst", description: "AR_FN_DSC_FINDFIRST", type: "function", name: "FindFirst", category: "list", overloads: [{ description: "AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_DSC", identifier: "Long_ONE findFirst(Any_COLL,Any_ONE)", support: { version: "1.0", resolver: "Find" }, returnValue: { description: "AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_PRM_DSC_0", identifier: "list", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_PRM_DSC_1", identifier: "item", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: "FindFirst(MakeList(true, false, true, ToBool(NOT_SET)), false)", output: "1" }, { input: "FindFirst(MakeList(true, false, true, ToBool(NOT_SET)), ToBool(NOT_SET))", output: "3" }, { input: 'FindFirst(MakeList(MakeCurrency(5.00, "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD")), MakeCurrency(2.00, "EUR"))', output: "-1" }, { input: 'FindFirst(MakeList("hello", "world", ToString(NOT_SET)), "hello")', output: "0" }, { input: 'FindFirst(MakeList("hello", "world", ToString(NOT_SET)), "Hello")', output: "-1" }, { input: 'FindFirst(MakeList("hello", "world", ToString(NOT_SET)), ToString(NOT_SET))', output: "2" }, { input: "FindFirst(MakeList(100, 200, ToInt(NOT_SET)), 100)", output: "0" }, { input: "FindFirst(MakeList(100, 200, ToInt(NOT_SET)), 300)", output: "-1" }, { input: "FindFirst(MakeList(100, 200, ToInt(NOT_SET)), ToInt(NOT_SET))", output: "2" }, { input: "FindFirst(MakeList(100.5, 200.0, ToDecimal(NOT_SET)), 100.5)", output: "0" }, { input: "FindFirst(MakeList(100.5, 200.0, ToDecimal(NOT_SET)), 300.0)", output: "-1" }, { input: "FindFirst(MakeList(100.5, 200.0, ToDecimal(NOT_SET)), ToDecimal(NOT_SET))", output: "2" }, { input: "FindFirst(MakeList(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDateTime(2009, 1, 10, 6, 30, 0), ToDateTime(NOT_SET)), MakeDateTime(2009, 1, 10, 6, 30, 0))", output: "0" }, { input: "FindFirst(MakeList(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDateTime(2009, 1, 10, 6, 30, 0), ToDateTime(NOT_SET)), MakeDateTime(2007, 1, 1, 0, 0, 0))", output: "-1" }, { input: "FindFirst(MakeList(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDateTime(2009, 1, 10, 6, 30, 0), ToDateTime(NOT_SET)), ToDateTime(NOT_SET))", output: "2" }, { input: "FindFirst(MakeList(MakeDuration(1, 0, 0, 0), MakeDuration(0, 6, 0, 0), ToDuration(NOT_SET)), MakeDuration(1, 0, 0, 0))", output: "0" }, { input: "FindFirst(MakeList(MakeDuration(1, 0, 0, 0), MakeDuration(0, 6, 0, 0), ToDuration(NOT_SET)), MakeDuration(3, 3, 0, 0))", output: "-1" }, { input: "FindFirst(MakeList(MakeDuration(1, 0, 0, 0), MakeDuration(0, 6, 0, 0), ToDuration(NOT_SET)), ToDuration(NOT_SET))", output: "2" }, { input: 'FindFirst(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com"), ToUser(NOT_SET)), ToUser("john.doe@company.com"))', output: "0", hidden: "true" }, { input: 'FindFirst(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com"), ToUser(NOT_SET)), ToUser("joe.schmo@company.com"))', output: "-1", hidden: "true" }, { input: 'FindFirst(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com"), ToUser(NOT_SET)), ToUser(NOT_SET))', output: "2", hidden: "true" }, { input: 'FindFirst(MakeList(ToSkill("Spanish"), ToSkill("German"), ToSkill(NOT_SET)), ToSkill("Spanish"))', output: "0", hidden: "true" }, { input: 'FindFirst(MakeList(ToSkill("Spanish"), ToSkill("German"), ToSkill(NOT_SET)), ToSkill("French"))', output: "-1", hidden: "true" }, { input: 'FindFirst(MakeList(ToSkill("Spanish"), ToSkill("German"), ToSkill(NOT_SET)), ToSkill(NOT_SET))', output: "2", hidden: "true" }, { input: "FindFirst(MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET)), ToSkill(NOT_SET))", output: "0" }, { input: "FindFirst(MakeList(ToUser(NOT_SET), ToUser(NOT_SET)), ToUser(NOT_SET))", output: "0" }, { input: 'FindFirst(MakeList(ToPhoneNumber("tel:+13178723000"), ToPhoneNumber("13175555555")), ToPhoneNumber("+13178723000"))', output: "0" }, { input: 'FindFirst(MakeList(ToPhoneNumber("sip:john.doe@company.com"), ToPhoneNumber("sips:john.doe@company.com")), ToPhoneNumber("sip:john.doe@company.com"))', output: "0" }, { input: "FindFirst(MakeList(MakeDate(2015, 1, 10), MakeDate(2018, 2, 14)), MakeDate(2018, 2, 14))", output: "1", featureConfigName: "botFlows" }, { input: "FindFirst(MakeList(MakeTime(4, 30, 0), MakeTime(14, 15, 0)), MakeTime(14, 15, 0))", output: "1", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }] }, findItems: { identifier: "findItems", description: "AR_FN_DSC_FINDITEMS", type: "function", name: "FindItems", category: "list", overloads: [{ description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_DSC", identifier: "Long_COLL findItems(KnowledgeBaseDocumentLabel_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_RV", isArray: true, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_0", identifier: "knowledgeBaseDocumentLabelCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cpx_knowledge_base_document_label" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_1", identifier: "labelName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindItems(Flow.KnowledgeBaseDocument.labels, "Product Label")', output: "[0]" }, { input: 'FindItems(Flow.KnowledgeBaseDocument.labels, "Welcome Article")', output: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_EX_OUT_1" }] }, { description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_DSC", identifier: "Long_COLL findItems(KnowledgeBaseDocumentLabel_COLL,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_RV", isArray: true, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_PRM_DSC_0", identifier: "knowledgeBaseDocumentLabelCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cpx_knowledge_base_document_label" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", mustBeLiteral: true }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_PRM_DSC_2", identifier: "propertyValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str", mustBeLiteral: true }], examples: [{ input: 'FindItems(Flow.KnowledgeBaseDocument.labels, "Product Label", "name")', output: "[0]" }, { input: 'FindItems(Flow.KnowledgeBaseDocument.labels, "Welcome Article", "name")', output: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_EX_OUT_1" }] }], needsServerInfo: true }, findFirstItem: { identifier: "findFirstItem", description: "AR_FN_DSC_FINDFIRSTITEM", type: "function", name: "FindFirstItem", category: "list", overloads: [{ description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_DSC", identifier: "Long_ONE findFirstItem(KnowledgeBaseDocumentLabel_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_0", identifier: "knowledgeBaseDocumentLabelCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cpx_knowledge_base_document_label" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_1", identifier: "labelName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindFirstItem(Flow.KnowledgeBaseDocument.labels, "Product Label")', output: "0" }, { input: 'FindFirstItem(Flow.KnowledgeBaseDocument.labels, "Welcome Article")', output: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_EX_OUT_1" }] }, { description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_DSC", identifier: "Long_ONE findFirstItem(KnowledgeBaseDocument_COLL,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_0", identifier: "knowledgeBaseDocumentLabelCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cpx_knowledge_base_document_label" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", mustBeLiteral: true }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_2", identifier: "propertyValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str", mustBeLiteral: true }], examples: [{ input: 'FindFirstItem(Flow.KnowledgeBaseDocument.labels, "Product Label", "name")', output: "0" }, { input: 'FindFirstItem(Flow.KnowledgeBaseDocument.labels, "Welcome Article", "name")', output: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_EX_OUT_1" }] }, { description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_DSC", identifier: "Long_ONE findFirstItem(AssignedCustomerSegment_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot" }, featureConfigName: "botFlowsCustomerSegmentsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_PRM_DSC_0", identifier: "assignedCustomerSegmentCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "acs" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_PRM_DSC_1", identifier: "customerSegmentName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindFirstItem(Flow.MyAssignedSegments, "VIP Customers")', output: "0" }, { input: 'FindFirstItem(Flow.MyAssignedSegments, "Gold Tier")', output: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_EX_OUT_1" }] }, { description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_DSC", identifier: "Long_ONE findFirstItem(AssignedCustomerSegment_COLL,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot" }, featureConfigName: "botFlowsCustomerSegmentsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_0", identifier: "assignedCustomerSegmentCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "acs" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", mustBeLiteral: true }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_2", identifier: "propertyValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str", mustBeLiteral: true }], examples: [{ input: 'FindFirstItem(Flow.MyAssignedSegments, "customerSegment.id", "022ebfa1-9fc9-4b09-8313-3efa14bcc80e")', output: "0" }, { input: 'FindFirstItem(Flow.MyAssignedSegments, "customerSegment.id", "022ebfa1-9fc9-4b09-8313-3efa14bcc80e")', output: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_EX_OUT_1" }] }], needsServerInfo: true }, findJsonArrayItem: { identifier: "findJsonArrayItem", description: "AR_FN_DSC_FINDJSONARRAYITEM", type: "function", name: "FindJsonArrayItem", category: "list", overloads: [{ description: "AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_DSC", identifier: "Long_COLL findJsonArrayItem(JSON_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_RV", isArray: true, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_PRM_DSC_0", identifier: "srcJsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_PRM_DSC_1", identifier: "item", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'FindJsonArrayItem(JsonParse("[0, 2, 3, 5, 8]"), 2)', output: "[1]" }, { input: 'FindJsonArrayItem(JsonParse("[0, { \\"a\\": true, \\"b\\": false }, 100, { \\"b\\": false, \\"a\\": true }]"), JsonParse("{ \\"b\\": false, \\"a\\": true }"))', output: "[1, 3]" }] }], needsServerInfo: true }, findJsonArrayItemFirst: { identifier: "findJsonArrayItemFirst", description: "AR_FN_DSC_FINDJSONARRAYITEMFIRST", type: "function", name: "FindJsonArrayItemFirst", category: "list", overloads: [{ description: "AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_DSC", identifier: "Long_ONE findJsonArrayItemFirst(JSON_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_PRM_DSC_0", identifier: "srcJsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_PRM_DSC_1", identifier: "item", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'FindJsonArrayItemFirst(JsonParse("[0, 2, 2, 5, 5]"), 5)', output: "3" }, { input: 'FindJsonArrayItemFirst(JsonParse("[0, 2, 2, 5, 8]"), 1)', output: "-1" }, { input: 'FindJsonArrayItemFirst(JsonParse("[0, { \\"a\\": true, \\"b\\": false }, 100, { \\"b\\": false, \\"a\\": true }]"), JsonParse("{ \\"b\\": false, \\"a\\": true }"))', output: "1" }] }], needsServerInfo: true }, makeList: { identifier: "makeList", description: "AR_FN_DSC_MAKELIST", type: "function", name: "MakeList", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_DSC", identifier: "Any_COLL makeList(Any_ONE...)", support: { version: "1.0", resolver: "n-SameTypeRetColl" }, maxOperands: "getFromEnvLimitsCollectionItemsMax", returnValue: { description: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: true, required: false, type: "any" }], examples: [{ input: 'MakeList(MakeCurrency(5.00, "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD"))', output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_0" }, { input: "MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), MakeDateTime(2005, 1, 1, 0, 0, 0))", output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_1" }, { input: "MakeList(100.5, 200.5)", output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_2" }, { input: "MakeList(MakeDuration(0, 1, 0, 0), MakeDuration(-10, 5, 30, 0))", output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_3" }, { input: "MakeList(100, 200)", output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_4" }, { input: 'MakeList("hello", "world")', output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_5" }, { input: "MakeList(true, false)", output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_6" }, { input: 'MakeList(ToUser("john.doe@company.com"), ToUser("mary.doe@company.com"))', output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_7", hidden: "true" }, { input: 'MakeList(ToSkill("Spanish"), ToSkill("German"))', output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_8", hidden: "true" }, { input: "MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET))", output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_9", hidden: "true" }, { input: 'MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET)))', output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_10", featureConfigName: "botFlowsAppleListPicker" }, { input: 'MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET)))))', output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_11", featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }] }, makeEmptyList: { identifier: "makeEmptyList", description: "AR_FN_DSC_MAKEEMPTYLIST", type: "function", name: "MakeEmptyList", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_DSC", identifier: "Any_COLL makeEmptyList(Any_ONE...)", support: { version: "1.0", resolver: "EmptyList" }, returnValue: { description: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "MakeEmptyList(ToCurrency(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_0" }, { input: "MakeEmptyList(ToDateTime(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_1" }, { input: "MakeEmptyList(ToDecimal(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_2" }, { input: "MakeEmptyList(ToDuration(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_3" }, { input: "MakeEmptyList(ToInt(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_4" }, { input: "MakeEmptyList(ToString(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_5" }, { input: "MakeEmptyList(ToBool(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_6" }, { input: "MakeEmptyList(ToUser(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_7" }, { input: "MakeEmptyList(ToSkill(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_8" }] }] }, addItem: { identifier: "addItem", description: "AR_FN_DSC_ADDITEM", type: "function", name: "AddItem", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_DSC", identifier: "Any_COLL addItem(Any_COLL,Any_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, addsToCollection: true, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_PRM_DSC_1", identifier: "valueToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'AddItem(MakeEmptyList(ToString(NOT_SET)), "Hello")', output: '[ "Hello" ]' }, { input: "AddItem(MakeList(0, 1, 2), 3)", output: "[0, 1, 2, 3]" }] }], needsServerInfo: true }, addJsonArrayItem: { identifier: "addJsonArrayItem", description: "AR_FN_DSC_ADDJSONARRAYITEM", type: "function", name: "AddJsonArrayItem", category: "list", overloads: [{ description: "AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_DSC", identifier: "JSON_ONE addJsonArrayItem(JSON_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_PRM_DSC_1", identifier: "valueToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'AddJsonArrayItem(JsonParse("[ \\"a\\", 2, \\"c\\" ]"), "d")', output: "AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_EX_OUT_0" }] }], needsServerInfo: true }, addItemAt: { identifier: "addItemAt", description: "AR_FN_DSC_ADDITEMAT", type: "function", name: "AddItemAt", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_DSC", identifier: "Any_COLL addItemAt(Any_COLL,Long_ONE,Any_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, addsToCollection: true, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_1", identifier: "insertIndex", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_2", identifier: "valueToAdd", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'AddItemAt(MakeList("Hello"), 1, "Goodbye")', output: '[ "Hello", "Goodbye" ]' }, { input: 'AddItemAt(MakeEmptyList(ToString(NOT_SET)), 0, "Hello")', output: '[ "Hello" ]' }, { input: 'AddItemAt(AddItemAt(MakeEmptyList(ToString(NOT_SET)), 0, "There"), 0, "Hello")', output: '[ "Hello", "There" ]' }, { input: "AddItemAt(MakeList(0, 1, 2), 0, 3)", output: "[3, 0, 1, 2]" }, { input: "AddItemAt(MakeList(0, 1, 2), 10, 3)", output: "[0, 1, 2, 3]" }] }], needsServerInfo: true }, addJsonArrayItemAt: { identifier: "addJsonArrayItemAt", description: "AR_FN_DSC_ADDJSONARRAYITEMAT", type: "function", name: "AddJsonArrayItemAt", category: "list", overloads: [{ description: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_DSC", identifier: "JSON_ONE addJsonArrayItemAt(JSON_ONE,Long_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_1", identifier: "insertIndex", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_2", identifier: "valueToAdd", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'AddJsonArrayItemAt(JsonParse("[ 0, 1, 2 ]"), 3, "Hello")', output: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_0" }, { input: 'AddJsonArrayItemAt(JsonParse("[\\"Hello\\"]"), 0, "Goodbye")', output: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_1" }] }], needsServerInfo: true }, removeDups: { identifier: "removeDups", description: "AR_FN_DSC_REMOVEDUPS", type: "function", name: "RemoveDups", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_REMOVEDUPS_ANY_COLL_DSC", identifier: "Any_COLL removeDups(Any_COLL)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_REMOVEDUPS_ANY_COLL_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REMOVEDUPS_ANY_COLL_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: 'RemoveDups(MakeList("Hello", "Hello"))', output: '[ "Hello" ]' }, { input: "RemoveDups(MakeList(true, true, false))", output: "[ true, false ]" }, { input: "RemoveDups(MakeList(4.5, NOT_SET, -3.1, NOT_SET))", output: "[4.5, NOT_SET, -3.1]" }, { input: "RemoveDups(MakeList(0, 1, 1, 2, 2, 1, NOT_SET, 2))", output: "[0, 1, 2, NOT_SET]" }] }, { description: "AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_DSC", identifier: "String_COLL removeDups(String_COLL,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_RV", isArray: true, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_PRM_DSC_1", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'RemoveDups(MakeList("Hello", "hello"), true)', output: '[ "Hello" ]' }, { input: 'RemoveDups(MakeList("Hello", "hello"), false)', output: '[ "Hello", "hello" ]' }] }], needsServerInfo: true }, removeJsonArrayDups: { identifier: "removeJsonArrayDups", description: "AR_FN_DSC_REMOVEJSONARRAYDUPS", type: "function", name: "RemoveJsonArrayDups", category: "list", overloads: [{ description: "AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_DSC", identifier: "JSON_ONE removeJsonArrayDups(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }], examples: [{ input: 'RemoveJsonArrayDups(JsonParse("[ 100, 150, 100, false, false, { \\"a\\": 5 } ]"))', output: "AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_EX_OUT_0" }] }], needsServerInfo: true }, removeItem: { identifier: "removeItem", description: "AR_FN_DSC_REMOVEITEM", type: "function", name: "RemoveItem", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_DSC", identifier: "Any_COLL removeItem(Any_COLL,Any_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_PRM_DSC_1", identifier: "valueToRemove", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'RemoveItem(MakeList("Hello", "There"), "Hello")', output: '[ "There" ]' }, { input: "RemoveItem(MakeList(true, true, false), true)", output: "[ false ]" }, { input: "RemoveItem(MakeList(4.5, NOT_SET, -3.1, NOT_SET), NOT_SET)", output: "[4.5, -3.1]" }, { input: "RemoveItem(MakeList(0, 1, 1, 2, 2), 1)", output: "[0, 2, 2]" }, { input: "RemoveItem(MakeEmptyList(ToInt(NOT_SET)), 1)", output: "AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_EX_OUT_4" }] }, { description: "AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_DSC", identifier: "String_COLL removeItem(String_COLL,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_RV", isArray: true, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_PRM_DSC_1", identifier: "valueToRemove", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_PRM_DSC_2", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'RemoveItem(MakeList("hello", "There"), "Hello", true)', output: '[ "There" ]' }, { input: 'RemoveItem(MakeList("Hello", "There"), "hello", false)', output: '[ "Hello", "There" ]' }] }], needsServerInfo: true }, removeJsonArrayItem: { identifier: "removeJsonArrayItem", description: "AR_FN_DSC_REMOVEJSONARRAYITEM", type: "function", name: "RemoveJsonArrayItem", category: "list", overloads: [{ description: "AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_DSC", identifier: "JSON_ONE removeJsonArrayItem(JSON_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_PRM_DSC_1", identifier: "valueToRemove", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'RemoveJsonArrayItem(JsonParse("[ \\"Hello\\", \\"There\\" ]"), "Hello")', output: "AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_EX_OUT_0" }, { input: 'RemoveJsonArrayItem(JsonParse("[ 0, 1, 2, 3 ]"), 1)', output: "A JSON value that contains an array of [ 0, 2, 3 ]." }] }], needsServerInfo: true }, removeItemAt: { identifier: "removeItemAt", description: "AR_FN_DSC_REMOVEITEMAT", type: "function", name: "RemoveItemAt", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_DSC", identifier: "Any_COLL removeItemAt(Any_COLL,Long_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_PRM_DSC_1", identifier: "removeIndex", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'RemoveItemAt(MakeList("Hello"), 0)', output: "AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_EX_OUT_0" }, { input: 'RemoveItemAt(MakeList("Hello", "Goodbye"), 0)', output: '[ "Goodbye" ]' }, { input: "RemoveItemAt(MakeList(2, 4, 5, 6, 8), 2)", output: "[2, 4, 6, 8]" }] }], needsServerInfo: true }, removeJsonArrayItemAt: { identifier: "removeJsonArrayItemAt", description: "AR_FN_DSC_REMOVEJSONARRAYITEMAT", type: "function", name: "RemoveJsonArrayItemAt", category: "list", overloads: [{ description: "AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_DSC", identifier: "JSON_ONE removeJsonArrayItemAt(JSON_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_PRM_DSC_1", identifier: "removeIndex", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'RemoveJsonArrayItemAt(JsonParse("[ 100, false, { \\"a\\": 5 } ]"), 2)', output: "AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_EX_OUT_0" }, { input: 'RemoveJsonArrayItemAt(RemoveJsonArrayItemAt(JsonParse("[ 100, false, { \\"a\\": 5 } ]"), 2), 0)', output: "AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_EX_OUT_1" }] }], needsServerInfo: true }, replaceItem: { identifier: "replaceItem", description: "AR_FN_DSC_REPLACEITEM", type: "function", name: "ReplaceItem", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_DSC", identifier: "Any_COLL replaceItem(Any_COLL,Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_PRM_DSC_1", identifier: "valueToReplace", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ReplaceItem(MakeList("Hello"), "Hello", "Goodbye")', output: '[ "Goodbye" ]' }, { input: 'ReplaceItem(MakeList("Hello", "Hello"), "Hello", "Goodbye")', output: '["Goodbye", "Goodbye"]' }, { input: 'ReplaceItem(MakeList("Hello", NOT_SET), NOT_SET, "Goodbye")', output: '["Hello", "Goodbye"]' }, { input: "ReplaceItem(MakeList(0, 2, 4, 5, 8), 5, 6)", output: "[0, 2, 4, 6, 8]" }, { input: "ReplaceItem(MakeList(0, 2, 4, NOT_SET, 8), NOT_SET, 6)", output: "[0, 2, 4, 6, 8]" }] }, { description: "AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_DSC", identifier: "String_COLL replaceItem(String_COLL,String_ONE,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_RV", isArray: true, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_1", identifier: "valueToReplace", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_3", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'ReplaceItem(MakeList("hello"), "Hello", "Goodbye", true)', output: '[ "Goodbye" ]' }, { input: 'ReplaceItem(MakeList("hello"), "Hello", "Goodbye", false)', output: '[ "hello" ]' }, { input: 'ReplaceItem(MakeList("hello", "HeLLo"), "Hello", "Goodbye", true)', output: '["Goodbye", "Goodbye"]' }, { input: 'ReplaceItem(MakeList("Hello", NOT_SET), NOT_SET, "Goodbye", true)', output: '["Hello", "Goodbye"]' }] }], needsServerInfo: true }, replaceJsonArrayItem: { identifier: "replaceJsonArrayItem", description: "AR_FN_DSC_REPLACEJSONARRAYITEM", type: "function", name: "ReplaceJsonArrayItem", category: "list", overloads: [{ description: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_DSC", identifier: "JSON_ONE replaceJsonArrayItem(JSON_ONE,Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_PRM_DSC_0", identifier: "srcJsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_PRM_DSC_1", identifier: "valueToReplace", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ReplaceJsonArrayItem(ToJson(MakeList("Hello")), "Hello", "Goodbye")', output: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_EX_OUT_0" }, { input: 'ReplaceJsonArrayItem(JsonParse("[0, 2, 4, 5, 8]"), 5, 6)', output: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_EX_OUT_1" }, { input: 'ReplaceJsonArrayItem(JsonParse("[0, { \\"a\\": true, \\"b\\": false }, 100]"), JsonParse("{ \\"b\\": false, \\"a\\": true }"), ToString(NOT_SET))', output: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_EX_OUT_2" }] }], needsServerInfo: true }, replaceItemAt: { identifier: "replaceItemAt", description: "AR_FN_DSC_REPLACEITEMAT", type: "function", name: "ReplaceItemAt", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_DSC", identifier: "Any_COLL replaceItemAt(Any_COLL,Long_ONE,Any_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_1", identifier: "replaceIndex", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ReplaceItemAt(MakeList("Hello"), 0, "Goodbye")', output: '[ "Goodbye" ]' }, { input: 'ReplaceItemAt(MakeList("Hello", "Hello"), 1, "Goodbye")', output: '["Hello", "Goodbye"]' }, { input: "ReplaceItemAt(MakeList(0, 2, 4, 5, 8), 2, 6)", output: "[0, 2, 6, 5, 8]" }] }], needsServerInfo: true }, replaceJsonArrayItemAt: { identifier: "replaceJsonArrayItemAt", description: "AR_FN_DSC_REPLACEJSONARRAYITEMAT", type: "function", name: "ReplaceJsonArrayItemAt", category: "list", overloads: [{ description: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_DSC", identifier: "JSON_ONE replaceJsonArrayItemAt(JSON_ONE,Long_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_0", identifier: "srcJsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_1", identifier: "replaceIndex", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ReplaceJsonArrayItemAt(ToJson(MakeList("Hello")), 0, "Goodbye")', output: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_0" }, { input: 'ReplaceJsonArrayItemAt(JsonParse("[0, 2, 4, 5, 8]"), 2, false)', output: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_1" }, { input: 'ReplaceJsonArrayItemAt(JsonParse("[0, { \\"a\\": true, \\"b\\": false }, 100]"), 1, ToString(NOT_SET))', output: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_2" }] }], needsServerInfo: true }, replaceItemFirst: { identifier: "replaceItemFirst", description: "AR_FN_DSC_REPLACEITEMFIRST", type: "function", name: "ReplaceItemFirst", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_DSC", identifier: "Any_COLL replaceItemFirst(Any_COLL,Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_PRM_DSC_1", identifier: "valueToReplace", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ReplaceItemFirst(MakeList("Hello"), "Hello", "Goodbye")', output: '[ "Goodbye" ]' }, { input: 'ReplaceItemFirst(MakeList("Goodbye", "Goodbye"), "Goodbye", "Hello")', output: '[ "Hello", "Goodbye" ]' }, { input: "ReplaceItemFirst(MakeList(0, 2, 6, 6, 8), 6, 4)", output: "[0, 2, 4, 6, 8]" }, { input: "ReplaceItemFirst(MakeList(0, 2, NOT_SET, 6, 8), NOT_SET, 4)", output: "[0, 2, 4, 6, 8]" }] }, { description: "AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_DSC", identifier: "String_COLL replaceItemFirst(String_COLL,String_ONE,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_1", identifier: "valueToReplace", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_3", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'ReplaceItemFirst(MakeList("hello"), "Hello", "Goodbye", true)', output: '[ "Goodbye" ]' }, { input: 'ReplaceItemFirst(MakeList("hello"), "Hello", "Goodbye", false)', output: '[ "hello" ]' }, { input: 'ReplaceItemFirst(MakeList("goodbye", "Goodbye"), "Goodbye", "Hello", true)', output: '[ "Hello", "Goodbye" ]' }] }], needsServerInfo: true }, replaceJsonArrayItemFirst: { identifier: "replaceJsonArrayItemFirst", description: "AR_FN_DSC_REPLACEJSONARRAYITEMFIRST", type: "function", name: "ReplaceJsonArrayItemFirst", category: "list", overloads: [{ description: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_DSC", identifier: "JSON_ONE replaceJsonArrayItemFirst(JSON_ONE,Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_PRM_DSC_0", identifier: "srcJsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_PRM_DSC_1", identifier: "valueToReplace", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ReplaceJsonArrayItemFirst(ToJson(MakeList("Hello")), "Hello", "Goodbye")', output: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_EX_OUT_0" }, { input: 'ReplaceJsonArrayItemFirst(JsonParse("[0, 2, 4, 5, 8, 5, 4, false]"), 5, 6)', output: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_EX_OUT_1" }, { input: 'ReplaceJsonArrayItemFirst(JsonParse("[0, { \\"a\\": true, \\"b\\": false }, { \\"a\\": true, \\"b\\": false }, 100]"), JsonParse("{ \\"b\\": false, \\"a\\": true }"), ToString(NOT_SET))', output: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_EX_OUT_2" }] }], needsServerInfo: true }, toBool: { identifier: "toBool", description: "AR_FN_DSC_TOBOOL", type: "function", name: "ToBool", category: "cast", overloads: [{ description: "AR_FN_BLN_TOBOOL_DEC_DSC", identifier: "Boolean_ONE toBool(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_TOBOOL_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_DEC_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }], examples: [{ input: "ToBool(1.5)", output: "true" }, { input: "ToBool(-31.5)", output: "true" }, { input: "ToBool(0.0)", output: "false" }, { input: "ToBool(ToDecimal(NOT_SET))", output: "AR_FN_BLN_TOBOOL_DEC_EX_OUT_3" }] }, { description: "AR_FN_BLN_TOBOOL_STR_DSC", identifier: "Boolean_ONE toBool(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_TOBOOL_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToBool("True")', output: "true" }, { input: 'ToBool("TRUE")', output: "true" }, { input: 'ToBool("true")', output: "true" }, { input: 'ToBool("T")', output: "true" }, { input: 'ToBool("1")', output: "true" }, { input: 'ToBool("False")', output: "false" }, { input: 'ToBool("false")', output: "false" }, { input: 'ToBool("F")', output: "false" }, { input: 'ToBool("0")', output: "false" }, { input: "ToBool(ToString(NOT_SET))", output: "AR_FN_BLN_TOBOOL_STR_EX_OUT_9" }] }, { description: "AR_FN_BLN_TOBOOL_STR_BLN_DSC", identifier: "Boolean_ONE toBool(String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_TOBOOL_STR_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_STR_BLN_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_STR_BLN_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "bln" }], examples: [{ input: 'ToBool("True", false)', output: "true" }, { input: 'ToBool("FALSEE", true)', output: "true" }, { input: 'ToBool("TrueTrue", false)', output: "false" }, { input: 'ToBool("0", true)', output: "false" }] }, { description: "AR_FN_BLN_TOBOOL_LNG_DSC", identifier: "Boolean_ONE toBool(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_TOBOOL_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToBool(1)", output: "true" }, { input: "ToBool(-10)", output: "true" }, { input: "ToBool(0)", output: "false" }, { input: "ToBool(ToInt(NOT_SET))", output: "AR_FN_BLN_TOBOOL_LNG_EX_OUT_3" }] }, { description: "AR_FN_BLN_TOBOOL_NTS_DSC", identifier: "Boolean_ONE toBool(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_BLN_TOBOOL_NTS_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToBool(NOT_SET)", output: "AR_FN_BLN_TOBOOL_NTS_EX_OUT_0" }] }, { description: "AR_FN_BLN_TOBOOL_BLN_DSC", identifier: "Boolean_ONE toBool(Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_TOBOOL_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_BLN_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "bln" }], examples: [{ input: "ToBool(true)", output: "true" }] }, { description: "AR_FN_BLN_TOBOOL_JSON_DSC", identifier: "Boolean_ONE toBool(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_TOBOOL_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_JSON_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'ToBool(JsonParse("true"))', output: "true" }, { input: 'ToBool(JsonParse("false"))', output: "false" }, { input: 'ToBool(JsonParse("\\"False\\""))', output: "false" }, { input: 'ToBool(JsonParse("4.25"))', output: "true" }, { input: 'ToBool(JsonParse("null"))', output: "AR_FN_BLN_TOBOOL_JSON_EX_OUT_4" }, { input: "ToBool(ToJson(NOT_SET))", output: "AR_FN_BLN_TOBOOL_JSON_EX_OUT_5" }] }, { description: "AR_FN_BLN_TOBOOL_JSON_BLN_DSC", identifier: "Boolean_ONE toBool(JSON_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_TOBOOL_JSON_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_JSON_BLN_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_JSON_BLN_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "bln" }], examples: [{ input: 'ToBool(JsonParse("true"), false)', output: "true" }, { input: 'ToBool(JsonParse("\\"apple\\""), true)', output: "true" }, { input: 'ToBool(JsonParse("[1,2]"), false)', output: "false" }, { input: 'ToBool(JsonParse("null"), true)', output: "A NOT_SET Boolean." }] }], needsServerInfo: true }, toDigitalAudio: { identifier: "toDigitalAudio", description: "AR_FN_DSC_TODIGITALAUDIO", type: "function", name: "ToDigitalAudio", category: "cast", overloads: [{ description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_DSC", identifier: "DigitalAudio_ONE toDigitalAudio(DigitalAudio_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_RV", isArray: false, type: "dia" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dia" }], examples: [{ input: "ToDigitalAudio(ToDigitalAudio(NOT_SET))", output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_EX_OUT_0" }] }, { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_DSC", identifier: "DigitalAudio_ONE toDigitalAudio(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_RV", isArray: false, type: "dia" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDigitalAudio(NOT_SET)", output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_EX_OUT_0" }] }, { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DSC", identifier: "DigitalAudio_ONE toDigitalAudio(ResponseAsset_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_RV", isArray: false, type: "dia" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }], examples: [{ input: "ToDigitalAudio(Flow.ResponseAsset)", output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_EX_OUT_0" }, { input: "ToDigitalAudio(ToResponseAsset(NOT_SET))", output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_EX_OUT_1" }] }, { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_DSC", identifier: "DigitalAudio_ONE toDigitalAudio(ResponseAsset_ONE,DigitalAudio_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_RV", isArray: false, type: "dia" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "dia" }], examples: [{ input: 'ToDigitalAudio(Flow.ResponseAsset, MakeDigitalAudioFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mp3"))', output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_EX_OUT_0" }, { input: 'ToDigitalAudio(ToResponseAsset(NOT_SET), MakeDigitalAudioFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mp3"))', output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_EX_OUT_1" }, { input: 'ToDigitalAudio(Flow.ResponseAssetThatCannotBeConvertedToDigitalAudio, MakeDigitalAudioFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mp3"))', output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_EX_OUT_2" }] }], needsServerInfo: true }, toDigitalAudioCollection: { identifier: "toDigitalAudioCollection", description: "AR_FN_DSC_TODIGITALAUDIOCOLLECTION", type: "function", name: "ToDigitalAudioCollection", category: "cast", overloads: [{ description: "AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_DSC", identifier: "DigitalAudio_COLL toDigitalAudioCollection(ResponseAsset_COLL)", support: { version: "1.0", resolver: "None" }, featureConfigName: "cannedResponseAttachmentsPostGaFeature", needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_RV", isArray: true, type: "dia" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "rpa" }], examples: [{ input: "ToDigitalAudioCollection(MakeList(Flow.ResponseAsset, Flow.ResponseAsset2))", output: "AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_EX_OUT_0" }] }], needsServerInfo: true }, toDisplayString: { identifier: "toDisplayString", description: "AR_FN_DSC_TODISPLAYSTRING", type: "function", name: "ToDisplayString", category: "cast", overloads: [{ description: "AR_FN_STR_TODISPLAYSTRING_ANY_DSC", identifier: "String_ONE toDisplayString(Any_ONE)", support: { version: "1.0", resolver: "None" }, passThrough: { dataTypes: [{ type: "acp" }, { type: "bln" }, { type: "lac" }, { type: "phn" }, { type: "pmt" }, { type: "que" }, { type: "skl" }, { type: "str" }, { type: "usr" }], funcOpOverloadId: "String_ONE toString(Any_ONE)" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_ANY_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_ANY_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "ToDisplayString(true)", output: '"true"' }, { input: "ToDisplayString(2112)", output: '"2,112"', outputFlowCurrentLanguage: "en-US" }, { input: "ToDisplayString(2112)", output: '"2.112"', outputFlowCurrentLanguage: "de-DE" }, { input: 'ToDisplayString(MakeCurrency(3.14159, "EUR"))', output: '"\u20AC3.14159"', outputFlowCurrentLanguage: "en-US" }, { input: 'ToDisplayString(MakeCurrency(3.14159, "EUR"))', output: '"3,14159\xA0\u20AC"', outputFlowCurrentLanguage: "de-DE" }, { input: "ToDisplayString(210125.12)", output: '"210,125.12"', outputFlowCurrentLanguage: "en-GB" }, { input: "ToDisplayString(210125.12)", output: '"210.125,12"', outputFlowCurrentLanguage: "de-DE" }, { input: "ToDisplayString(MakeDateTime(2018, 07, 18, 19, 35, 39))", output: '"July 18, 2018 at 7:35 PM"', outputFlowCurrentLanguage: "en-US" }, { input: "ToDisplayString(MakeDateTime(2018, 07, 18, 19, 35, 39))", output: '"18 July 2018 at 19:35"', outputFlowCurrentLanguage: "en-GB" }, { input: "ToDisplayString(MakeDateTime(2018, 07, 18, 19, 35, 39))", output: '"18. Juli 2018 um 19:35"', outputFlowCurrentLanguage: "de-DE" }, { input: "ToDisplayString(MakeDuration(2, 3, 4, 50, 200))", output: '"2 days, 3 hours, 4 minutes, 50.2 seconds"', outputFlowCurrentLanguage: "en-US" }, { input: "ToDisplayString(MakeDuration(2, 3, 4, 50, 200))", output: '"2 Tage, 3 Stunden, 4 Minuten und 50,2 Sekunden"', outputFlowCurrentLanguage: "de-DE" }, { input: "ToDisplayString(MakeDuration(-2, -3, -4, -50, -200))", output: '"-2 days, -3 hours, -4 minutes, -50.2 seconds"', outputFlowCurrentLanguage: "en-US" }, { input: "ToDisplayString(MakeDuration(-2, -3, -4, -50, -200))", output: '"-2 Tage, -3 Stunden, -4 Minuten und -50,2 Sekunden"', outputFlowCurrentLanguage: "de-DE" }, { input: "ToDisplayString(MakeDuration(2, 0, 0, 0))", output: '"2 days"', outputFlowCurrentLanguage: "en-US" }, { input: "ToDisplayString(MakeDuration(2112, 0, 0, 0))", output: '"2.112 Tage"', outputFlowCurrentLanguage: "de-DE" }, { input: "ToDisplayString(MakeDate(2018, 07, 18))", output: '"July 18, 2018"', outputFlowCurrentLanguage: "en-US", featureConfigName: "botFlows" }, { input: "ToDisplayString(MakeTime(19, 35, 39))", output: '"7:35 PM"', outputFlowCurrentLanguage: "en-US", featureConfigName: "botFlows" }, { input: 'ToDisplayString(ToCommunication(MakeCurrency(3.14159, "EUR")))', output: '"3,14159\xA0\u20AC"', outputFlowCurrentLanguage: "de-DE", featureConfigName: "botFlows" }, { input: 'ToDisplayString(JsonParse("[ true, false]"))', output: '"[true,false]"', featureConfigName: "encryptDecryptDataFeature" }, { input: 'ToDisplayString(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))', output: '"Fries"', featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToDisplayString(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))))', output: '"Sides"', featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToDisplayString(MakeListPicker(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))), MakeImageFromUrl(NOT_SET), "Menu", "Items to order", MakeImageFromUrl(NOT_SET), NOT_SET))', output: '"Sides"', featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_DSC", identifier: "String_ONE toDisplayString(Any_COLL)", support: { version: "1.0", resolver: "None" }, passThrough: { dataTypes: [{ type: "acp", isArray: true }, { type: "bln", isArray: true }, { type: "lac", isArray: true }, { type: "phn", isArray: true }, { type: "pmt", isArray: true }, { type: "que", isArray: true }, { type: "skl", isArray: true }, { type: "str", isArray: true }, { type: "usr", isArray: true }], funcOpOverloadId: "String_ONE toString(Any_ONE)", isArrayItemPassThrough: true }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "ToDisplayString(MakeList(90125, 2112))", output: '"90,125\\n2,112"', outputFlowCurrentLanguage: "en-US", addNewLineInfo: true }, { input: "ToDisplayString(MakeList(90125, ToInt(NOT_SET)))", output: '"90,125\\n"', outputFlowCurrentLanguage: "en-US", addNewLineInfo: true }, { input: "ToDisplayString(MakeList(90125, 2112))", output: '"90.125\\n2.112"', outputFlowCurrentLanguage: "de-DE", addNewLineInfo: true }, { input: "ToDisplayString(MakeList(90125, ToInt(NOT_SET)))", output: '"90.125\\n"', outputFlowCurrentLanguage: "de-DE", addNewLineInfo: true }, { input: 'ToDisplayString(MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET))))', output: '"Fries\\nSoup"', addNewLineInfo: true, featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToDisplayString(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))), MakeListPickerSection("Desserts", true, MakeList(MakeListPickerItem("Cookie", NOT_SET, MakeImageFromUrl(NOT_SET))))))', output: '"Sides\\nDessert"', addNewLineInfo: true, featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_DSC", identifier: "String_ONE toDisplayString(Any_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, passThrough: { dataTypes: [{ type: "acp", isArray: true }, { type: "bln", isArray: true }, { type: "lac", isArray: true }, { type: "phn", isArray: true }, { type: "pmt", isArray: true }, { type: "que", isArray: true }, { type: "skl", isArray: true }, { type: "str", isArray: true }, { type: "usr", isArray: true }], funcOpOverloadId: "String_ONE toString(Any_ONE)", isArrayItemPassThrough: true }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToDisplayString(MakeList(8675309, 2112, 90125), "|")', output: '"8,675,309|2,112|90,125"', outputFlowCurrentLanguage: "en-US" }, { input: 'ToDisplayString(MakeList(8675309, 2112, 90125), "|")', output: '"8.675.309|2.112|90.125"', outputFlowCurrentLanguage: "de-DE" }, { input: 'ToDisplayString(MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET))), "|")', output: '"Fries|Soup"', featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToDisplayString(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))), MakeListPickerSection("Desserts", true, MakeList(MakeListPickerItem("Cookie", NOT_SET, MakeImageFromUrl(NOT_SET))))), "|")', output: '"Sides|Dessert"', featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_STR_TODISPLAYSTRING_CUR_LNG_DSC", identifier: "String_ONE toDisplayString(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_CUR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_LNG_PRM_DSC_0", identifier: "currencyValueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "0", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToDisplayString(MakeCurrency(3.14, "USD"), 2)', output: '"$3.14"', outputFlowCurrentLanguage: "en-US" }, { input: 'ToDisplayString(MakeCurrency(3.14159, "EUR"), 3)', output: '"3,142\xA0\u20AC"', outputFlowCurrentLanguage: "de-DE" }, { input: 'ToDisplayString(MakeCurrency(3.14159, "EUR"), 3)', output: '"\u20AC3.142"', outputFlowCurrentLanguage: "en-US" }] }, { description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_DSC", identifier: "String_ONE toDisplayString(Currency_COLL,Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_PRM_DSC_0", identifier: "currencyCollectionToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "0", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToDisplayString(MakeList(MakeCurrency(21.12, "USD"), MakeCurrency(9.0125, "GBP")), 1)', output: '"$21.1\\n\xA39.0"', outputFlowCurrentLanguage: "en-US", addNewLineInfo: true }, { input: 'ToDisplayString(MakeList(MakeCurrency(21.12, "USD"), MakeCurrency(9.0125, "GBP")), 5)', output: '"21,12000\xA0$\\n9,01250\xA0\xA3"', outputFlowCurrentLanguage: "de-DE", addNewLineInfo: true }] }, { description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_DSC", identifier: "String_ONE toDisplayString(Currency_COLL,String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_PRM_DSC_0", identifier: "currencyCollectionToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_PRM_DSC_2", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 2, max: "28", min: "0", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToDisplayString(MakeList(MakeCurrency(21.12, "USD"), MakeCurrency(9.0125, "GBP")), "|", 1)', output: '"$21.1|\xA39.0"', outputFlowCurrentLanguage: "en-US" }, { input: 'ToDisplayString(MakeList(MakeCurrency(21.12, "USD"), MakeCurrency(9.0125, "GBP")), "|", 5)', output: '"21,12000\xA0$|9,01250\xA0\xA3"', outputFlowCurrentLanguage: "de-DE" }] }, { description: "AR_FN_STR_TODISPLAYSTRING_DEC_LNG_DSC", identifier: "String_ONE toDisplayString(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_DEC_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_DEC_LNG_PRM_DSC_0", identifier: "decimalValueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_DEC_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "0", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToDisplayString(3.141, 2)", output: '"3.14"', outputFlowCurrentLanguage: "en-US" }, { input: "ToDisplayString(3.14159, 3)", output: '"3,142"', outputFlowCurrentLanguage: "de-DE" }] }, { description: "AR_FN_STR_TODISPLAY_DEC_COLL_LNG_DSC", identifier: "String_ONE toDisplay(Decimal_COLL,Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAY_DEC_COLL_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAY_DEC_COLL_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAY_DEC_COLL_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "0", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToDisplayString(MakeList(21.12, 9.0125), 1)", output: '"21.1\\n9.0"', outputFlowCurrentLanguage: "en-US", addNewLineInfo: true }, { input: "ToDisplayString(MakeList(21.12, 9.0125), 5)", output: '"21,12000\\n9,01250"', outputFlowCurrentLanguage: "de-DE", addNewLineInfo: true }] }, { description: "AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_DSC", identifier: "String_ONE toDisplayString(Decimal_COLL,String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_PRM_DSC_2", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 2, max: "28", min: "0", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToDisplayString(MakeList(21.12, 9.0125), "|", 1)', output: '"21.1|9.0"', outputFlowCurrentLanguage: "en-US" }, { input: 'ToDisplayString(MakeList(21.12, 9.0125), "|", 5)', output: '"21,12000|9,01250"', outputFlowCurrentLanguage: "de-DE" }] }, { description: "AR_FN_STR_TODISPLAYSTRING_NTS_DSC", identifier: "String_ONE toDisplayString(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_NTS_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDisplayString(NOT_SET)", output: "AR_FN_STR_TODISPLAYSTRING_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toString: { identifier: "toString", description: "AR_FN_DSC_TOSTRING", type: "function", name: "ToString", category: "cast", overloads: [{ description: "AR_FN_STR_TOSTRING_ANY_DSC", identifier: "String_ONE toString(Any_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_ANY_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_ANY_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "ToString(true)", output: '"true"' }, { input: "ToString(5 > 3)", output: '"true"' }, { input: "ToString(false)", output: '"false"' }, { input: "ToString(5 < 3)", output: '"false"' }, { input: "ToString(ToBool(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_4" }, { input: 'ToString(MakeCurrency(10.00, "USD"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_5" }, { input: "ToString(MakeDateTime(2009, 1, 10, 6, 30, 0))", output: '"2009-01-10T06:30:00.000Z"' }, { input: "ToString(ToDateTime(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_7" }, { input: "ToString(2000.5)", output: '"2000.5"' }, { input: "ToString(-1.0)", output: '"-1.0"' }, { input: "ToString(ToDecimal(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_10" }, { input: "ToString(MakeDuration(0, 1, 0, 0))", output: '"PT1H"' }, { input: "ToString(MakeDuration(-10, 5, 30, 0, 456))", output: '"-P9DT18H29M59.544S"' }, { input: "ToString(ToDuration(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_13" }, { input: "ToString(2000)", output: '"2000"' }, { input: "ToString(-1)", output: '"-1"' }, { input: "ToString(ToInt(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_16" }, { input: 'ToString(ToSkill("Spanish"))', output: '"Spanish"', hidden: "true" }, { input: "ToString(ToSkill(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_18" }, { input: 'ToString(FindUser("john.doe@company.com"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_19" }, { input: 'ToString(ToWrapupCode("Call back in a week"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_20", hidden: "true" }, { input: "ToString(ToSkill(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_21" }, { input: "ToString(ToUser(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_22" }, { input: "ToString(ToWrapupCode(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_23" }, { input: 'ToString(ToPhoneNumber("+1 (317) 872-3000"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_24" }, { input: "ToString(Flow.PhoneNumberVariable)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_25" }, { input: "ToString(Flow.SkillVariable)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_26" }, { input: "ToString(Flow.UserVariable)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_27" }, { input: "ToString(Flow.WrapupCodeVariable)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_28" }, { input: "ToString(Call.Contact)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_29" }, { input: "ToString(Email.Message)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_30" }, { input: "ToString(Email.Message.from)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_31" }, { input: "ToString(Email.Message.attachments[0])", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_32" }, { input: "ToString(Flow.ExternalOrganization)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_33" }, { input: "ToString(Flow.ExternalContact)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_34" }, { input: "ToString(Flow.ExternalAddress)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_35" }, { input: "ToString(Flow.ExternalPhoneNumber)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_36" }, { input: "ToString(Prompt.Welcome)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_37" }, { input: 'ToString(MakeAgentScorePair(FindUser("john.doe@company.com"), 50))', output: '"[john.doe@company.com,50]"', featureConfigName: "knownAgentRouting" }, { input: "ToString(MakeDate(2015, 1, 10))", output: '"2015-01-10"', featureConfigName: "botFlows" }, { input: "ToString(MakeTime(2, 30, 0))", output: '"02:30:00.000"', featureConfigName: "botFlows" }, { input: 'ToString(ToCommunication("Hello"))', output: '"hello"', featureConfigName: "botFlows" }, { input: "ToString(Workitem.Workitem)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_42", featureConfigName: "workItemFlows" }, { input: 'ToString(FindEmergencyGroup("Flooding"))', output: "Returns the name property from the supplied Emergency Group. If Emergency Group value is NOT_SET, a NOT_SET String is returned.", featureConfigName: "orgAvailabilityRoutingEmergencyGroups" }, { input: 'ToString(FindSchedule("Morning Hours"))', output: "Returns the name property from the supplied Schedule. If Schedule value is NOT_SET, a NOT_SET String is returned.", featureConfigName: "orgAvailabilityRoutingSchedules" }, { input: 'ToString(FindScheduleGroup("West Coast"))', output: "Returns the name property from the supplied Schedule Group. If Schedule Group value is NOT_SET, a NOT_SET String is returned.", featureConfigName: "orgAvailabilityRoutingScheduleGroups" }, { input: "ToString(MakeEmptyJsonObject())", output: '"{}"', featureConfigName: "encryptDecryptDataFeature" }, { input: 'ToString(JsonParse("{ \\"a\\": true }"))', output: '"{"a":true}"', featureConfigName: "encryptDecryptDataFeature" }, { input: 'ToString(JsonParse(Append("[1, 2, ", ToString(3>5), "]")))', output: '"[1,2,false]"', featureConfigName: "encryptDecryptDataFeature" }, { input: 'ToString(FindUtilizationLabel("green"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_49", featureConfigName: "conversationUtilizationLabels" }, { input: 'ToString(FindWorktypeStatus("NewOpportunity"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_50", featureConfigName: "workItemFlows" }, { input: 'ToString(MakeTimePicker("Schedule Appointment"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_51", featureConfigName: "botFlowsMessagingDatePicker" }, { input: "ToString(MakeTimeslot(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDuration(0, 1, 0, 0)))", output: '"2009-01-10T06:30:00.000Z|PT1H"', featureConfigName: "botFlowsMessagingDatePicker" }, { input: 'ToString(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))', output: '"Fries"', featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToString(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))))', output: '"Sides"', featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToString(MakeListPicker(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))), MakeImageFromUrl(NOT_SET), "Menu", "Items to order", MakeImageFromUrl(NOT_SET), NOT_SET))', output: '"Sides"', featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_STR_TOSTRING_NTS_DSC", identifier: "String_ONE toString(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_STR_TOSTRING_NTS_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToString(NOT_SET)", output: "AR_FN_STR_TOSTRING_NTS_EX_OUT_0" }] }, { description: "AR_FN_STR_TOSTRING_ANY_COLL_DSC", identifier: "String_ONE toString(Any_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_ANY_COLL_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_ANY_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "ToString(MakeList(true, false))", output: '"true\\nfalse"', addNewLineInfo: true }, { input: "ToString(MakeList(ToBool(NOT_SET), false))", output: '"\\nfalse"', addNewLineInfo: true }, { input: 'ToString(MakeList(MakeCurrency(10.00, "USD"), MakeCurrency(5.00, "EUR")))', output: '"10.00|USD\\n5.00|EUR"', addNewLineInfo: true }, { input: "ToString(MakeList(ToDateTime(NOT_SET), MakeDateTime(2009, 1, 10, 6, 30, 0)))", output: '"\\n2009-01-10T06:30:00.000Z"', addNewLineInfo: true }, { input: "ToString(MakeList(2000.5, -1.0))", output: '"2000.5\\n-1.0"', addNewLineInfo: true }, { input: "ToString(MakeList(ToDecimal(NOT_SET), -1.0))", output: '"\\n-1.0"', addNewLineInfo: true }, { input: "ToString(MakeList(MakeDuration(0, 1, 0, 0), MakeDuration(-10, 5, 30, 0)))", output: '"PT1H\\n-P9DT18H30M"', addNewLineInfo: true }, { input: "ToString(MakeList(ToDuration(NOT_SET), MakeDuration(-10, 5, 30, 0)))", output: '"\\n-P9DT18H30M"', addNewLineInfo: true }, { input: "ToString(MakeList(2000, -1))", output: '"2000\\n-1"', addNewLineInfo: true }, { input: "ToString(MakeList(ToInt(NOT_SET), -1))", output: '"\\n-1"', addNewLineInfo: true }, { input: 'ToString(MakeList(ToSkill("Spanish"), ToSkill("German")))', output: '"Spanish\\nGerman"', addNewLineInfo: true, hidden: "true" }, { input: 'ToString(MakeList(ToSkill(NOT_SET), ToSkill("German")))', output: '"\\nGerman"', addNewLineInfo: true, hidden: "true" }, { input: 'ToString(MakeList("Hello", "World"))', output: '"Hello\\nWorld"', addNewLineInfo: true }, { input: 'ToString(MakeList("Hello", ToString(NOT_SET)))', output: '"Hello\\n"', addNewLineInfo: true }, { input: 'ToString(MakeList(FindUser("john.doe@company.com"), FindUser("jane.doe@company.com")))', output: '"john.doe@company.com\\njane.doe@company.com"', addNewLineInfo: true }, { input: 'ToString(MakeList(ToUser(NOT_SET), ToUser("jane.doe@company.com")))', output: '"\\njane.doe@company.com"', addNewLineInfo: true, hidden: "true" }, { input: "ToString(MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET)))", output: '"\\n"', addNewLineInfo: true }, { input: "ToString(MakeList(ToUser(NOT_SET), ToUser(NOT_SET)))", output: '"\\n"', addNewLineInfo: true }, { input: 'ToString(MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET))))', output: '"Fries\\nSoup"', addNewLineInfo: true, featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToString(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))), MakeListPickerSection("Desserts", true, MakeList(MakeListPickerItem("Cookie", NOT_SET, MakeImageFromUrl(NOT_SET))))))', output: '"Sides\\nDessert"', addNewLineInfo: true, featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_STR_TOSTRING_ANY_COLL_STR_DSC", identifier: "String_ONE toString(Any_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_ANY_COLL_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_ANY_COLL_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_ANY_COLL_STR_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToString(MakeList(true, false), "|")', output: '"true|false"' }, { input: 'ToString(MakeList(NOT_SET, false), "|")', output: '"|false"' }, { input: 'ToString(MakeList(MakeCurrency(10.00, "USD"), MakeCurrency(5.00, "EUR")), "#")', output: '"10.00|USD#5.00|EUR"' }, { input: 'ToString(MakeList(NOT_SET, MakeDateTime(2009, 1, 10, 6, 30, 0)), "|")', output: '"|2009-01-10T06:30:00.000Z"' }, { input: 'ToString(MakeList(2000.5, -1.0), "|")', output: '"2000.5|-1.0"' }, { input: 'ToString(MakeList(NOT_SET, -1.0), "|")', output: '"|-1.0"' }, { input: 'ToString(MakeList(MakeDuration(0, 1, 0, 0), MakeDuration(-10, 5, 30, 0)), "|")', output: '"PT1H|-P9DT18H30M"' }, { input: 'ToString(MakeList(NOT_SET, MakeDuration(-10, 5, 30, 0)), "|")', output: '"|-P9DT18H30M"' }, { input: 'ToString(MakeList(2000, -1), "|")', output: '"2000|-1"' }, { input: 'ToString(MakeList(NOT_SET, -1), "|")', output: '"|-1"' }, { input: 'ToString(MakeList(ToSkill("Spanish"), ToSkill("German")), "|")', output: '"Spanish|German"', hidden: "true" }, { input: 'ToString(MakeList(NOT_SET, ToSkill("German")), "|")', output: '"|German"', hidden: "true" }, { input: 'ToString(MakeList("Hello", "World"), "|")', output: '"Hello|World"' }, { input: 'ToString(MakeList("Hello", NOT_SET), "|")', output: '"Hello|"' }, { input: 'ToString(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com")), "|")', output: '"john.doe@company.com|jane.doe@company.com"', hidden: "true" }, { input: 'ToString(MakeList(NOT_SET, ToUser("jane.doe@company.com")), "|")', output: '"|jane.doe@company.com"', hidden: "true" }, { input: 'ToString(MakeList(ToUser(NOT_SET), ToUser(NOT_SET)), "|")', output: '"|"' }, { input: 'ToString(MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET))), "|")', output: '"Fries|Soup"', featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToString(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))), MakeListPickerSection("Desserts", true, MakeList(MakeListPickerItem("Cookie", NOT_SET, MakeImageFromUrl(NOT_SET))))), "|")', output: '"Sides|Dessert"', featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_STR_TOSTRING_DEC_LNG_DSC", identifier: "String_ONE toString(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_DEC_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_LNG_PRM_DSC_0", identifier: "decimalValueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "1", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToString(2000.506, 2)", output: '"2000.51"' }, { input: "ToString(1.125, 2)", output: '"1.13"' }, { input: "ToString(-1.0, 3)", output: '"-1.000"' }, { input: "ToString(ToDecimal(NOT_SET), 2)", output: "AR_FN_STR_TOSTRING_DEC_LNG_EX_OUT_3" }] }, { description: "AR_FN_STR_TOSTRING_CUR_LNG_DSC", identifier: "String_ONE toString(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_CUR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_LNG_PRM_DSC_0", identifier: "currencyValueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "1", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToString(MakeCurrency(2000.506, "USD"), 2)', output: '"2000.51|USD"' }, { input: 'ToString(MakeCurrency(1.125, "USD"), 2)', output: '"1.13|USD"' }, { input: 'ToString(MakeCurrency(-1.0, "USD"), 3)', output: '"-1.000|USD"' }, { input: 'ToString(MakeCurrency(ToDecimal(NOT_SET), "USD"), 2)', output: "|USD" }, { input: "ToString(MakeCurrency(ToDecimal(NOT_SET), ToString(NOT_SET)), 2)", output: "|" }] }, { description: "AR_FN_STR_TOSTRING_DEC_COLL_LNG_DSC", identifier: "String_ONE toString(Decimal_COLL,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_DEC_COLL_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_COLL_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_COLL_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "1", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToString(MakeList(2000.5, -1.0), 2)", output: '"2000.50\\n-1.00"', addNewLineInfo: true }, { input: "ToString(MakeList(NOT_SET, -1.0), 4)", output: '"\\n-1.0000"', addNewLineInfo: true }] }, { description: "AR_FN_STR_TOSTRING_CUR_COLL_LNG_DSC", identifier: "String_ONE toString(Currency_COLL,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_CUR_COLL_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_COLL_LNG_PRM_DSC_0", identifier: "currencyCollectionToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_COLL_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "1", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToString(MakeList(MakeCurrency(2000.50, "USD"), MakeCurrency(-1.00, "USD")), 2)', output: '"2000.50|USD\\n-1.00|USD"', addNewLineInfo: true }, { input: 'ToString(MakeList(MakeCurrency(ToDecimal(NOT_SET), "USD"), MakeCurrency(-1.00, ToString(NOT_SET))), 2)', output: '"|USD\\n-1.00|"', addNewLineInfo: true }] }, { description: "AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_DSC", identifier: "String_ONE toString(Decimal_COLL,String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_PRM_DSC_2", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 2, max: "28", min: "1", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToString(MakeList(2000.5, -1.0), "|", 2)', output: '"2000.50|-1.00"' }, { input: 'ToString(MakeList(ToDecimal(NOT_SET), -1.0), "|", 4)', output: '"|-1.0000"' }] }, { description: "AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_DSC", identifier: "String_ONE toString(Currency_COLL,String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_PRM_DSC_0", identifier: "currencyCollectionToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_PRM_DSC_2", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 2, max: "28", min: "1", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToString(MakeList(MakeCurrency(2000.50, "USD"), MakeCurrency(-1.00, "USD")), "^", 2)', output: '"2000.50|USD^-1.00|USD"' }, { input: 'ToString(MakeList(MakeCurrency(ToDecimal(NOT_SET), "USD"), MakeCurrency(-1.00, ToString(NOT_SET))), "^", 2)', output: '"|USD^-1.00|"' }] }] }, toInt: { identifier: "toInt", description: "AR_FN_DSC_TOINT", type: "function", name: "ToInt", category: "cast", overloads: [{ description: "AR_FN_LNG_TOINT_BLN_DSC", identifier: "Long_ONE toInt(Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_TOINT_BLN_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_BLN_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }], examples: [{ input: "ToInt(true)", output: "1" }, { input: "ToInt(false)", output: "0" }, { input: "ToInt(ToBool(NOT_SET))", output: "AR_FN_LNG_TOINT_BLN_EX_OUT_2" }] }, { description: "AR_FN_LNG_TOINT_DEC_DSC", identifier: "Long_ONE toInt(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_TOINT_DEC_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_DEC_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }], examples: [{ input: "ToInt(1.0)", output: "1" }, { input: "ToInt(3.7)", output: "3" }, { input: "ToInt(3.2)", output: "3" }, { input: "ToInt(-5.2)", output: "-5" }, { input: "ToInt(-5.7)", output: "-5" }, { input: "ToInt(ToDecimal(NOT_SET))", output: "AR_FN_LNG_TOINT_DEC_EX_OUT_5" }] }, { description: "AR_FN_LNG_TOINT_STR_DSC", identifier: "Long_ONE toInt(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_TOINT_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToInt("25")', output: "25" }, { input: 'ToInt("-55")', output: "-55" }, { input: 'ToInt("0")', output: "0" }, { input: "ToInt(ToString(NOT_SET))", output: "AR_FN_LNG_TOINT_STR_EX_OUT_3" }, { input: 'ToInt("")', output: "AR_FN_LNG_TOINT_STR_EX_OUT_4" }, { input: 'ToInt("\xA0\xA0")', output: "AR_FN_LNG_TOINT_STR_EX_OUT_5" }, { input: 'ToInt("A String")', output: "AR_FN_LNG_TOINT_STR_EX_OUT_6" }] }, { description: "AR_FN_LNG_TOINT_STR_LNG_DSC", identifier: "Long_ONE toInt(String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_TOINT_STR_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_STR_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_STR_LNG_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "int" }], examples: [{ input: 'ToInt("25", 15)', output: "25" }, { input: 'ToInt("five", 20)', output: "20" }, { input: 'ToInt("~0", 10)', output: "10" }, { input: "ToInt(ToString(NOT_SET), 15)", output: "AR_FN_LNG_TOINT_STR_LNG_EX_OUT_3" }, { input: 'ToInt("", 15)', output: "AR_FN_LNG_TOINT_STR_LNG_EX_OUT_4" }, { input: 'ToInt("A String", 12)', output: "12" }] }, { description: "AR_FN_LNG_TOINT_NTS_DSC", identifier: "Long_ONE toInt(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_LNG_TOINT_NTS_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToInt(NOT_SET)", output: "AR_FN_LNG_TOINT_NTS_EX_OUT_0" }] }, { description: "AR_FN_LNG_TOINT_LNG_DSC", identifier: "Long_ONE toInt(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_TOINT_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_LNG_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToInt(5)", output: "5" }] }, { description: "AR_FN_LNG_TOINT_DUR_DSC", identifier: "Long_ONE toInt(Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_TOINT_DUR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_DUR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dur" }], examples: [{ input: "ToInt(MakeDuration(0,0,0,1))", output: "1000" }, { input: "ToInt(MakeDuration(0,0,1,0))", output: "60000" }, { input: "ToInt(MakeDuration(0,-1,5,0,500))", output: "-3299500" }, { input: "ToInt(ToDuration(NOT_SET))", output: "AR_FN_LNG_TOINT_DUR_EX_OUT_3" }] }, { description: "AR_FN_LNG_TOINT_JSON_DSC", identifier: "Long_ONE toInt(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_TOINT_JSON_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_JSON_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'ToInt(JsonParse("5"))', output: "5" }, { input: 'ToInt(JsonParse("-5.2"))', output: "-5" }, { input: 'ToInt(JsonParse("true"))', output: "1" }, { input: 'ToInt(JsonParse(ToString("A" > "B")))', output: "0" }, { input: 'ToInt(JsonParse("null"))', output: "AR_FN_LNG_TOINT_JSON_EX_OUT_4" }, { input: "ToInt(ToJson(NOT_SET))", output: "AR_FN_LNG_TOINT_JSON_EX_OUT_5" }] }, { description: "AR_FN_LNG_TOINT_JSON_LNG_DSC", identifier: "Long_ONE toInt(JSON_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_TOINT_JSON_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_JSON_LNG_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_JSON_LNG_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "int" }], examples: [{ input: 'ToInt(JsonParse("5"), -1)', output: "5" }, { input: 'ToInt(JsonParse("\\"apple\\""), 10)', output: "10" }, { input: 'ToInt(JsonParse("[1, 2]"), 7)', output: "7" }, { input: 'ToInt(JsonParse(ToString("A" > "B")), ToInt(NOT_SET))', output: "0" }, { input: "ToInt(ToJson(NOT_SET), 4)", output: "AR_FN_LNG_TOINT_JSON_LNG_EX_OUT_4" }] }], needsServerInfo: true }, toDecimal: { identifier: "toDecimal", description: "AR_FN_DSC_TODECIMAL", type: "function", name: "ToDecimal", category: "cast", overloads: [{ description: "AR_FN_DEC_TODECIMAL_BLN_DSC", identifier: "Decimal_ONE toDecimal(Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_TODECIMAL_BLN_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_BLN_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }], examples: [{ input: "ToDecimal(true)", output: "1.0" }, { input: "ToDecimal(false)", output: "0.0" }, { input: "ToDecimal(ToBool(NOT_SET))", output: "AR_FN_DEC_TODECIMAL_BLN_EX_OUT_2" }] }, { description: "AR_FN_DEC_TODECIMAL_CUR_DSC", identifier: "Decimal_ONE toDecimal(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_TODECIMAL_CUR_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_CUR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }], examples: [{ input: 'ToDecimal(MakeCurrency(5.25, "USD"))', output: "5.25" }, { input: 'ToDecimal(MakeCurrency(2.00, "EUR"))', output: "2.00" }, { input: 'ToDecimal(MakeCurrency(NOT_SET, "USD"))', output: "AR_FN_DEC_TODECIMAL_CUR_EX_OUT_2" }] }, { description: "AR_FN_DEC_TODECIMAL_STR_DSC", identifier: "Decimal_ONE toDecimal(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_TODECIMAL_STR_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToDecimal("0.0")', output: "0.0" }, { input: 'ToDecimal("-100.5")', output: "-100.5" }, { input: "ToDecimal(ToString(NOT_SET))", output: "AR_FN_DEC_TODECIMAL_STR_EX_OUT_2" }, { input: 'ToDecimal("")', output: "AR_FN_DEC_TODECIMAL_STR_EX_OUT_3" }, { input: 'ToDecimal("\xA0\xA0")', output: "AR_FN_DEC_TODECIMAL_STR_EX_OUT_4" }, { input: 'ToDecimal("A String")', output: "AR_FN_DEC_TODECIMAL_STR_EX_OUT_5" }] }, { description: "AR_FN_DEC_TODECIMAL_STR_DEC_DSC", identifier: "Decimal_ONE toDecimal(String_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DEC_TODECIMAL_STR_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_STR_DEC_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_STR_DEC_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "dec" }], examples: [{ input: 'ToDecimal("one hundred point five", 7.5)', output: "7.5" }, { input: 'ToDecimal("0.0", 15.0)', output: "0.0" }, { input: "ToDecimal(ToString(NOT_SET), 10.75)", output: "AR_FN_DEC_TODECIMAL_STR_DEC_EX_OUT_2" }, { input: 'ToDecimal("", -5.25)', output: "AR_FN_DEC_TODECIMAL_STR_DEC_EX_OUT_3" }, { input: 'ToDecimal("A String", -12.15)', output: "-12.15" }] }, { description: "AR_FN_DEC_TODECIMAL_LNG_DSC", identifier: "Decimal_ONE toDecimal(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_TODECIMAL_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToDecimal(100)", output: "100.0" }, { input: "ToDecimal(-1010)", output: "-1010.0" }, { input: "ToDecimal(0)", output: "0.0" }] }, { description: "AR_FN_DEC_TODECIMAL_NTS_DSC", identifier: "Decimal_ONE toDecimal(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_DEC_TODECIMAL_NTS_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDecimal(NOT_SET)", output: "AR_FN_DEC_TODECIMAL_NTS_EX_OUT_0" }] }, { description: "AR_FN_DEC_TODECIMAL_DEC_DSC", identifier: "Decimal_ONE toDecimal(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_TODECIMAL_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_DEC_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }], examples: [{ input: "ToDecimal(5.5)", output: "5.5" }] }, { description: "AR_FN_DEC_TODECIMAL_JSON_DSC", identifier: "Decimal_ONE toDecimal(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DEC_TODECIMAL_JSON_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_JSON_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'ToDecimal(JsonParse("5"))', output: "5.0" }, { input: 'ToDecimal(JsonParse("-5.2"))', output: "-5.2" }, { input: 'ToDecimal(JsonParse("true"))', output: "1.0" }, { input: 'ToDecimal(JsonParse("null"))', output: "AR_FN_DEC_TODECIMAL_JSON_EX_OUT_3" }, { input: "ToDecimal(ToJson(NOT_SET))", output: "AR_FN_DEC_TODECIMAL_JSON_EX_OUT_4" }] }, { description: "AR_FN_DEC_TODECIMAL_JSON_DEC_DSC", identifier: "Decimal_ONE toDecimal(JSON_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DEC_TODECIMAL_JSON_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_JSON_DEC_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_JSON_DEC_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "dec" }], examples: [{ input: 'ToDecimal(JsonParse("\\"apple\\""), 2.25)', output: "2.25" }, { input: 'ToDecimal(JsonParse("-5.2"), 0.0)', output: "-5.2" }, { input: "ToDecimal(ToJson(NOT_SET), 1.0)", output: "AR_FN_DEC_TODECIMAL_JSON_DEC_EX_OUT_2" }, { input: 'ToDecimal(JsonParse("[1,false]"), 1.5)', output: "1.5" }] }], needsServerInfo: true }, toDate: { identifier: "toDate", description: "AR_FN_DSC_TODATE", type: "function", name: "ToDate", category: "cast", overloads: [{ description: "AR_FN_DATE_TODATE_STR_DSC", identifier: "Date_ONE toDate(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_TODATE_STR_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DATE_TODATE_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToDate("2009-01-10")', output: "AR_FN_DATE_TODATE_STR_EX_OUT_0" }, { input: "ToDate(ToString(NOT_SET))", output: "AR_FN_DATE_TODATE_STR_EX_OUT_1" }] }, { description: "AR_FN_DATE_TODATE_NTS_DSC", identifier: "Date_ONE toDate(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_TODATE_NTS_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DATE_TODATE_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDate(NOT_SET)", output: "AR_FN_DATE_TODATE_NTS_EX_OUT_0" }] }, { description: "AR_FN_DATE_TODATE_DTM_DSC", identifier: "Date_ONE toDate(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_TODATE_DTM_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DATE_TODATE_DTM_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }], examples: [{ input: "ToDate(MakeDateTime(2012, 9, 22, 2, 30, 0))", output: "AR_FN_DATE_TODATE_DTM_EX_OUT_0" }, { input: "ToDate(ToDateTime(NOT_SET))", output: "AR_FN_DATE_TODATE_DTM_EX_OUT_1" }] }, { description: "AR_FN_DATE_TODATE_DATE_DSC", identifier: "Date_ONE toDate(Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_TODATE_DATE_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DATE_TODATE_DATE_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dat" }], examples: [{ input: "ToDate(MakeDate(2003, 1, 1))", output: "AR_FN_DATE_TODATE_DATE_EX_OUT_0" }, { input: "ToDate(ToDate(NOT_SET))", output: "AR_FN_DATE_TODATE_DATE_EX_OUT_1" }] }], needsServerInfo: true }, toDateTime: { identifier: "toDateTime", description: "AR_FN_DSC_TODATETIME", type: "function", name: "ToDateTime", category: "cast", overloads: [{ description: "AR_FN_DTM_TODATETIME_STR_DSC", identifier: "DateTime_ONE toDateTime(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_TODATETIME_STR_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToDateTime("2009-01-10T06:30:00Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_0" }, { input: 'ToDateTime("2009-01-10T06:30:00-07:00")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_1" }, { input: 'ToDateTime("2009-01-10T06:30:00+02:00")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_2" }, { input: "ToDateTime(ToString(NOT_SET))", output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_3" }, { input: 'ToDateTime("2009T06:30:00Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_4" }, { input: 'ToDateTime("2010-03-20T06:30Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_5" }, { input: 'ToDateTime("2011-03T06:30Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_6" }, { input: 'ToDateTime("2009T06:30Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_7" }, { input: 'ToDateTime("2012T01:30-05:00")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_8" }, { input: 'ToDateTime("T06:30:00Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_9" }, { input: 'ToDateTime("T06:30Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_10" }, { input: 'ToDateTime("T06Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_11" }, { input: 'ToDateTime("T06")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_12" }, { input: 'ToDateTime("2009-03-20")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_13" }, { input: 'ToDateTime("2009-03")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_14" }, { input: 'ToDateTime("2009")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_15" }] }, { description: "AR_FN_DTM_TODATETIME_LNG_DSC", identifier: "DateTime_ONE toDateTime(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_TODATETIME_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToDateTime(3600)", output: "AR_FN_DTM_TODATETIME_LNG_EX_OUT_0" }, { input: "ToDateTime(ToInt(NOT_SET))", output: "AR_FN_DTM_TODATETIME_LNG_EX_OUT_1" }] }, { description: "AR_FN_DTM_TODATETIME_NTS_DSC", identifier: "DateTime_ONE toDateTime(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_DTM_TODATETIME_NTS_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDateTime(NOT_SET)", output: "AR_FN_DTM_TODATETIME_NTS_EX_OUT_0" }] }, { description: "AR_FN_DTM_TODATETIME_DTM_DSC", identifier: "DateTime_ONE toDateTime(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_TODATETIME_DTM_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_DTM_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }], examples: [{ input: "ToDateTime(MakeDateTime(2003, 1, 1, 0, 0, 0))", output: "AR_FN_DTM_TODATETIME_DTM_EX_OUT_0" }] }, { description: "AR_FN_DTM_TODATETIME_JSON_DSC", identifier: "DateTime_ONE toDateTime(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DTM_TODATETIME_JSON_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_JSON_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'ToDateTime(JsonParse("3600"))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_0" }, { input: 'ToDateTime(JsonParse("3600.0258"))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_1" }, { input: 'ToDateTime(JsonParse("\\"2009-01-10T06:30:00Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_2" }, { input: 'ToDateTime(JsonParse("\\"2009-01-10T06:30:00+02:00\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_3" }, { input: 'ToDateTime(JsonParse("\\"2009T06:30:00Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_4" }, { input: 'ToDateTime(JsonParse("\\"2010-03-20T06:30Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_5" }, { input: 'ToDateTime(JsonParse("\\"2011-03T06:30Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_6" }, { input: 'ToDateTime(JsonParse("\\"2009T06:30Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_7" }, { input: 'ToDateTime(JsonParse("\\"2012T01:30-05:00\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_8" }, { input: 'ToDateTime(JsonParse("\\"T06:30:00Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_9" }, { input: 'ToDateTime(JsonParse("\\"T06:30Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_10" }, { input: 'ToDateTime(JsonParse("\\"T06Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_11" }, { input: 'ToDateTime(JsonParse("\\"T06\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_12" }, { input: 'ToDateTime(JsonParse("\\"2009-03-20\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_13" }, { input: 'ToDateTime(JsonParse("\\"2009-03\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_14" }, { input: 'ToDateTime(JsonParse("\\"2009\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_15" }, { input: 'ToDateTime(JsonParse("null"))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_16" }, { input: "ToDateTime(ToJson(NOT_SET))", output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_17" }] }, { description: "AR_FN_DTM_TODATETIME_JSON_DTM_DSC", identifier: "DateTime_ONE toDateTime(JSON_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DTM_TODATETIME_JSON_DTM_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_JSON_DTM_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_JSON_DTM_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "dtm" }], examples: [{ input: 'ToDateTime(JsonParse("3600.75"), MakeDateTime(2009, 3, 20, 12, 00, 00))', output: "AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_0" }, { input: 'ToDateTime(JsonParse("\\"2009-01-10T06:30:00Z\\""), MakeDateTime(2009, 3, 20, 12, 00, 00))', output: "AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_1" }, { input: 'ToDateTime(JsonParse("\\"September 5th, 2022\\""), MakeDateTime(2019, 4, 20, 12, 00, 00))', output: "AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_2" }, { input: 'ToDateTime(JsonParse("\\"2509-03\\""), MakeDateTime(2011, 2, 20, 12, 00, 00))', output: "AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_3" }, { input: 'ToDateTime(JsonParse("\\"two thousand nine\\""), MakeDateTime(2009, 3, 15, 12, 00, 00))', output: "AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_4" }, { input: 'ToDateTime(JsonParse("null"), MakeDateTime(2009, 3, 20, 12, 00, 00))', output: "AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_5" }] }], needsServerInfo: true }, toTime: { identifier: "toTime", description: "AR_FN_DSC_TOTIME", type: "function", name: "ToTime", category: "cast", overloads: [{ description: "AR_FN_TIME_TOTIME_STR_DSC", identifier: "Time_ONE toTime(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_TOTIME_STR_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIME_TOTIME_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToTime("02:30:15")', output: "AR_FN_TIME_TOTIME_STR_EX_OUT_0" }, { input: "ToTime(ToString(NOT_SET))", output: "AR_FN_TIME_TOTIME_STR_EX_OUT_1" }, { input: 'ToTime("02:30")', output: "AR_FN_TIME_TOTIME_STR_EX_OUT_2" }, { input: 'ToTime("14:59:00")', output: "AR_FN_TIME_TOTIME_STR_EX_OUT_3" }] }, { description: "AR_FN_TIME_TOTIME_NTS_DSC", identifier: "Time_ONE toTime(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_TOTIME_NTS_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIME_TOTIME_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToTime(NOT_SET)", output: "AR_FN_TIME_TOTIME_NTS_EX_OUT_0" }] }, { description: "AR_FN_TIME_TOTIME_TIME_DSC", identifier: "Time_ONE toTime(Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_TOTIME_TIME_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIME_TOTIME_TIME_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "tim" }], examples: [{ input: "ToTime(MakeTime(2, 45, 0))", output: "AR_FN_TIME_TOTIME_TIME_EX_OUT_0" }, { input: "ToTime(ToTime(NOT_SET))", output: "AR_FN_TIME_TOTIME_TIME_EX_OUT_1" }] }, { description: "AR_FN_TIME_TOTIME_DTM_DSC", identifier: "Time_ONE toTime(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_TOTIME_DTM_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIME_TOTIME_DTM_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }], examples: [{ input: "ToTime(MakeDateTime(2012, 9, 22, 3, 5, 0))", output: "AR_FN_TIME_TOTIME_DTM_EX_OUT_0" }, { input: "ToTime(ToDateTime(NOT_SET))", output: "AR_FN_TIME_TOTIME_DTM_EX_OUT_1" }] }], needsServerInfo: true }, toDivision: { identifier: "toDivision", description: "AR_FN_DSC_TODIVISION", type: "function", name: "ToDivision", category: "cast", overloads: [{ description: "AR_FN_DIVISION_TODIVISION_DIVISION_DSC", identifier: "Division_ONE toDivision(Division_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_TODIVISION_DIVISION_RV", isArray: false, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_TODIVISION_DIVISION_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dvn" }], examples: [{ input: "ToDivision(ToDivision(NOT_SET))", output: "AR_FN_DIVISION_TODIVISION_DIVISION_EX_OUT_0" }] }, { description: "AR_FN_DIVISION_TODIVISION_NTS_DSC", identifier: "Division_ONE toDivision(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_TODIVISION_NTS_RV", isArray: false, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_TODIVISION_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDivision(NOT_SET)", output: "AR_FN_DIVISION_TODIVISION_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toDuration: { identifier: "toDuration", description: "AR_FN_DSC_TODURATION", type: "function", name: "ToDuration", category: "cast", overloads: [{ description: "AR_FN_DUR_TODURATION_STR_DSC", identifier: "Duration_ONE toDuration(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_TODURATION_STR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_TODURATION_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToDuration("PT0S")', output: "AR_FN_DUR_TODURATION_STR_EX_OUT_0" }, { input: 'ToDuration("P1DT3H")', output: "AR_FN_DUR_TODURATION_STR_EX_OUT_1" }, { input: 'ToDuration("-P1DT3H")', output: "AR_FN_DUR_TODURATION_STR_EX_OUT_2" }, { input: 'ToDuration("PT1H15M30.250S")', output: "AR_FN_DUR_TODURATION_STR_EX_OUT_3" }, { input: 'ToDuration("PT1H15M30.250567S")', output: "AR_FN_DUR_TODURATION_STR_EX_OUT_4" }, { input: "ToDuration(ToString(NOT_SET))", output: "AR_FN_DUR_TODURATION_STR_EX_OUT_5" }] }, { description: "AR_FN_DUR_TODURATION_LNG_DSC", identifier: "Duration_ONE toDuration(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_TODURATION_LNG_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_TODURATION_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToDuration(1000 * 60 * 60)", output: "AR_FN_DUR_TODURATION_LNG_EX_OUT_0" }, { input: "ToDuration(1000 * 60 * 60 * 24)", output: "AR_FN_DUR_TODURATION_LNG_EX_OUT_1" }, { input: "ToDuration(ToInt(NOT_SET))", output: "AR_FN_DUR_TODURATION_LNG_EX_OUT_2" }] }, { description: "AR_FN_DUR_TODURATION_NTS_DSC", identifier: "Duration_ONE toDuration(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_DUR_TODURATION_NTS_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_TODURATION_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDuration(NOT_SET)", output: "AR_FN_DUR_TODURATION_NTS_EX_OUT_0" }] }, { description: "AR_FN_DUR_TODURATION_DUR_DSC", identifier: "Duration_ONE toDuration(Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_TODURATION_DUR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_TODURATION_DUR_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dur" }], examples: [{ input: "ToDuration(MakeDuration(0, 1, 0, 0))", output: "AR_FN_DUR_TODURATION_DUR_EX_OUT_0" }] }] }, toTimeslot: { identifier: "toTimeslot", description: "AR_FN_DSC_TOTIMESLOT", type: "function", name: "ToTimeslot", category: "datetime", overloads: [{ description: "AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_DSC", identifier: "Timeslot_ONE toTimeslot(Timeslot_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_RV", isArray: false, type: "tsl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "tsl" }], examples: [{ input: "ToTimeslot(ToTimeslot(NOT_SET))", output: "AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_EX_OUT_0" }] }, { description: "AR_FN_TIMESLOT_TOTIMESLOT_STR_DSC", identifier: "Timeslot_ONE toTimeslot(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMESLOT_TOTIMESLOT_STR_RV", isArray: false, type: "tsl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMESLOT_TOTIMESLOT_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToTimeslot("2009-01-10T06:30:00.000Z|PT1H")', output: "AR_FN_TIMESLOT_TOTIMESLOT_STR_EX_OUT_0" }] }, { description: "AR_FN_TIMESLOT_TOTIMESLOT_NTS_DSC", identifier: "Timeslot_ONE toTimeslot(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMESLOT_TOTIMESLOT_NTS_RV", isArray: false, type: "tsl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMESLOT_TOTIMESLOT_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToTimeslot(NOT_SET)", output: "AR_FN_TIMESLOT_TOTIMESLOT_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toGrammar: { identifier: "toGrammar", description: "AR_FN_DSC_TOGRAMMAR", type: "function", name: "ToGrammar", category: "cast", overloads: [{ description: "AR_FN_GRAMMAR_TOGRAMMAR_STR_DSC", identifier: "Grammar_ONE toGrammar(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", voice: "voice" }, hidden: true, returnValue: { description: "AR_FN_GRAMMAR_TOGRAMMAR_STR_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_TOGRAMMAR_STR_PRM_DSC_0", identifier: "GrammarName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_GRAMMAR_TOGRAMMAR_NTS_DSC", identifier: "Grammar_ONE toGrammar(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { bot: "bot", voice: "voice" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRAMMAR_TOGRAMMAR_NTS_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_TOGRAMMAR_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToGrammar(NOT_SET)", output: "AR_FN_GRAMMAR_TOGRAMMAR_NTS_EX_OUT_0" }] }, { description: "AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_DSC", identifier: "Grammar_ONE toGrammar(Grammar_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", voice: "voice" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "gmr" }], examples: [{ input: "ToGrammar(ToGrammar(NOT_SET))", output: "AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_EX_OUT_0" }] }], needsServerInfo: true }, toImage: { identifier: "toImage", description: "AR_FN_DSC_TOIMAGE", type: "function", name: "ToImage", category: "cast", overloads: [{ description: "AR_FN_IMAGE_TOIMAGE_IMAGE_DSC", identifier: "Image_ONE toImage(Image_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { commonmodule: "commonmodule", digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_TOIMAGE_IMAGE_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_TOIMAGE_IMAGE_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "img" }], examples: [{ input: "ToImage(ToImage(NOT_SET))", output: "AR_FN_IMAGE_TOIMAGE_IMAGE_EX_OUT_0" }] }, { description: "AR_FN_IMAGE_TOIMAGE_NTS_DSC", identifier: "Image_ONE toImage(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { commonmodule: "commonmodule", digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_TOIMAGE_NTS_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_TOIMAGE_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToImage(NOT_SET)", output: "AR_FN_IMAGE_TOIMAGE_NTS_EX_OUT_0" }] }, { description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_DSC", identifier: "Image_ONE toImage(ResponseAsset_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { commonmodule: "commonmodule", digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }], examples: [{ input: "ToImage(Flow.ResponseAsset)", output: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_EX_OUT_0" }] }, { description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_DSC", identifier: "Image_ONE toImage(ResponseAsset_ONE,Image_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { commonmodule: "commonmodule", digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "img" }], examples: [{ input: 'ToImage(Flow.ResponseAsset, MakeImageFromUrl("https://www.genesys.com/media/genesys-logo.png"))', output: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_EX_OUT_0" }, { input: 'ToImage(ToResponseAsset(NOT_SET), MakeImageFromUrl("https://www.genesys.com/media/genesys-logo.png"))', output: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_EX_OUT_1" }, { input: 'ToImage(Flow.ResponseAssetThatCannotBeConvertedToImage, MakeImageFromUrl("https://www.genesys.com/media/genesys-logo.png"))', output: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_EX_OUT_2" }] }], needsServerInfo: true }, toImageCollection: { identifier: "toImageCollection", description: "AR_FN_DSC_TOIMAGECOLLECTION", type: "function", name: "ToImageCollection", category: "cast", overloads: [{ description: "AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_DSC", identifier: "Image_COLL toImageCollection(ResponseAsset_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { commonmodule: "commonmodule", digitalbot: "digitalbot" }, featureConfigName: "cannedResponseAttachmentsPostGaFeature", needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_RV", isArray: true, type: "img" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "rpa" }], examples: [{ input: "ToImageCollection(MakeList(Flow.ResponseAsset, Flow.ResponseAsset2))", output: "AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_EX_OUT_0" }] }], needsServerInfo: true }, toResponseAsset: { identifier: "toResponseAsset", description: "AR_FN_DSC_TORESPONSEASSET", type: "function", name: "ToResponseAsset", category: "cast", overloads: [{ description: "AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_DSC", identifier: "ResponseAsset_ONE toResponseAsset(ResponseAsset_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_RV", isArray: false, type: "rpa" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }], examples: [{ input: "ToResponseAsset(ToResponseAsset(NOT_SET))", output: "AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_EX_OUT_0" }] }, { description: "AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_DSC", identifier: "ResponseAsset_ONE toResponseAsset(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_RV", isArray: false, type: "rpa" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToResponseAsset(NOT_SET)", output: "AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toSkill: { identifier: "toSkill", description: "AR_FN_DSC_TOSKILL", type: "function", name: "ToSkill", category: "cast", overloads: [{ description: "AR_FN_SKL_TOSKILL_STR_DSC", identifier: "Skill_ONE toSkill(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, hidden: true, returnValue: { description: "AR_FN_SKL_TOSKILL_STR_RV", isArray: false, type: "skl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SKL_TOSKILL_STR_PRM_DSC_0", identifier: "skillName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_SKL_TOSKILL_NTS_DSC", identifier: "Skill_ONE toSkill(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_SKL_TOSKILL_NTS_RV", isArray: false, type: "skl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SKL_TOSKILL_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToSkill(NOT_SET)", output: "AR_FN_SKL_TOSKILL_NTS_EX_OUT_0" }] }, { description: "AR_FN_SKL_TOSKILL_SKL_DSC", identifier: "Skill_ONE toSkill(Skill_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_SKL_TOSKILL_SKL_RV", isArray: false, type: "skl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SKL_TOSKILL_SKL_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "skl" }], examples: [{ input: "ToSkill(ToSkill(NOT_SET))", output: "AR_FN_SKL_TOSKILL_SKL_EX_OUT_0" }] }], needsServerInfo: true }, toUserQueue: { identifier: "toUserQueue", description: "AR_FN_DSC_TOUSERQUEUE", type: "function", name: "ToUser", category: "cast", overloads: [{ description: "AR_FN_USR_TOUSER_STR_DSC", identifier: "User_ONE toUser(String_ONE)", support: { version: "1.0", resolver: "None" }, hidden: true, returnValue: { description: "AR_FN_USR_TOUSER_STR_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_TOUSER_STR_PRM_DSC_0", identifier: "userName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_USR_TOUSER_NTS_DSC", identifier: "User_ONE toUser(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_TOUSER_NTS_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_TOUSER_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToUser(NOT_SET)", output: "AR_FN_USR_TOUSER_NTS_EX_OUT_0" }] }, { description: "AR_FN_USR_TOUSER_USR_DSC", identifier: "User_ONE toUser(User_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_TOUSER_USR_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_TOUSER_USR_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "usr" }], examples: [{ input: "ToUser(ToUser(NOT_SET))", output: "AR_FN_USR_TOUSER_USR_EX_OUT_0" }] }], needsServerInfo: true }, toLanguageSkill: { identifier: "toLanguageSkill", description: "AR_FN_DSC_TOLANGUAGESKILL", type: "function", name: "ToLanguageSkill", category: "cast", overloads: [{ description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_STR_DSC", identifier: "LanguageSkill_ONE toLanguageSkill(String_ONE)", support: { version: "1.0", resolver: "None" }, hidden: true, needsServerInfo: true, returnValue: { description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_STR_RV", isArray: false, type: "lac" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_STR_PRM_DSC_0", identifier: "languageTag", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_DSC", identifier: "LanguageSkill_ONE toLanguageSkill(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_RV", isArray: false, type: "lac" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToLanguageSkill(NOT_SET)", output: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_EX_OUT_0" }] }, { description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_DSC", identifier: "LanguageSkill_ONE toLanguageSkill(LanguageSkill_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_RV", isArray: false, type: "lac" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "lac" }], examples: [{ input: "ToLanguageSkill(ToLanguageSkill(NOT_SET))", output: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_EX_OUT_0" }] }], needsServerInfo: true }, toQueue: { identifier: "toQueue", description: "AR_FN_DSC_TOQUEUE", type: "function", name: "ToQueue", category: "cast", overloads: [{ description: "AR_FN_QUEUE_TOQUEUE_STR_DSC", identifier: "Queue_ONE toQueue(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, hidden: true, returnValue: { description: "AR_FN_QUEUE_TOQUEUE_STR_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_TOQUEUE_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_QUEUE_TOQUEUE_NTS_DSC", identifier: "Queue_ONE toQueue(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUEUE_TOQUEUE_NTS_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_TOQUEUE_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToQueue(NOT_SET)", output: "AR_FN_QUEUE_TOQUEUE_NTS_EX_OUT_0" }] }, { description: "AR_FN_QUEUE_TOQUEUE_QUEUE_DSC", identifier: "Queue_ONE toQueue(Queue_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUEUE_TOQUEUE_QUEUE_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_TOQUEUE_QUEUE_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "que" }], examples: [{ input: "ToQueue(ToQueue(NOT_SET))", output: "AR_FN_QUEUE_TOQUEUE_QUEUE_EX_OUT_0" }] }], needsServerInfo: true }, toEmergencyGroup: { identifier: "toEmergencyGroup", description: "AR_FN_DSC_TOEMERGENCYGROUP", type: "function", name: "ToEmergencyGroup", category: "cast", overloads: [{ description: "AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_DSC", identifier: "EmergencyGroup_ONE toEmergencyGroup(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_RV", isArray: false, type: "emg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToEmergencyGroup(NOT_SET)", output: "AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_EX_OUT_0" }] }, { description: "AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_DSC", identifier: "EmergencyGroup_ONE toEmergencyGroup(EmergencyGroup_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_RV", isArray: false, type: "emg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "emg" }], examples: [{ input: "ToEmergencyGroup(ToEmergencyGroup(NOT_SET))", output: "AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_EX_OUT_0" }] }], needsServerInfo: true }, toFile: { identifier: "toFile", description: "AR_FN_DSC_TOFILE", type: "function", name: "ToFile", category: "cast", overloads: [{ description: "AR_FN_FILE_TOFILE_FILE_DSC", identifier: "File_ONE toFile(File_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_FILE_TOFILE_FILE_RV", isArray: false, type: "fil" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_TOFILE_FILE_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "fil" }], examples: [{ input: "ToFile(ToFile(NOT_SET))", output: "AR_FN_FILE_TOFILE_FILE_EX_OUT_0" }] }, { description: "AR_FN_FILE_TOFILE_NTS_DSC", identifier: "File_ONE toFile(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_FILE_TOFILE_NTS_RV", isArray: false, type: "fil" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_TOFILE_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToFile(NOT_SET)", output: "AR_FN_FILE_TOFILE_NTS_EX_OUT_0" }] }, { description: "AR_FN_FILE_TOFILE_RESPONSEASSET_DSC", identifier: "File_ONE toFile(ResponseAsset_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_FILE_TOFILE_RESPONSEASSET_RV", isArray: false, type: "fil" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_TOFILE_RESPONSEASSET_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }], examples: [{ input: "ToFile(Flow.ResponseAsset)", output: "AR_FN_FILE_TOFILE_RESPONSEASSET_EX_OUT_0" }] }, { description: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_DSC", identifier: "File_ONE toFile(ResponseAsset_ONE,File_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_RV", isArray: false, type: "fil" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "fil" }], examples: [{ input: 'ToFile(Flow.ResponseAsset, MakeFileFromUrl("https://www.genesys.com/documents/genesys-digital-bot-flows.pdf"))', output: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_EX_OUT_0" }, { input: 'ToFile(ToResponseAsset(NOT_SET), MakeFileFromUrl("https://www.genesys.com/documents/genesys-digital-bot-flows.pdf"))', output: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_EX_OUT_1" }, { input: 'ToFile(Flow.ResponseAssetThatCannotBeConvertedToFile, MakeFileFromUrl("https://www.genesys.com/documents/genesys-digital-bot-flows.pdf"))', output: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_EX_OUT_2" }] }], needsServerInfo: true }, toFileCollection: { identifier: "toFileCollection", description: "AR_FN_DSC_TOFILECOLLECTION", type: "function", name: "ToFileCollection", category: "cast", overloads: [{ description: "AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_DSC", identifier: "File_COLL toFileCollection(ResponseAsset_COLL)", support: { version: "1.0", resolver: "None" }, featureConfigName: "cannedResponseAttachmentsPostGaFeature", needsServerInfo: true, returnValue: { description: "AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_RV", isArray: true, type: "fil" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "rpa" }], examples: [{ input: "ToFileCollection(MakeList(Flow.ResponseAsset, Flow.ResponseAsset2))", output: "AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_EX_OUT_0" }] }], needsServerInfo: true }, toGroup: { identifier: "toGroup", description: "AR_FN_DSC_TOGROUP", type: "function", name: "ToGroup", category: "cast", overloads: [{ description: "AR_FN_GRP_TOGROUP_STR_DSC", identifier: "Group_ONE toGroup(String_ONE)", support: { version: "1.0", resolver: "None" }, hidden: true, needsServerInfo: true, returnValue: { description: "AR_FN_GRP_TOGROUP_STR_RV", isArray: false, type: "grp" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRP_TOGROUP_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_GRP_TOGROUP_NTS_DSC", identifier: "Group_ONE toGroup(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRP_TOGROUP_NTS_RV", isArray: false, type: "grp" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRP_TOGROUP_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToGroup(NOT_SET)", output: "AR_FN_GRP_TOGROUP_NTS_EX_OUT_0" }] }, { description: "AR_FN_GRP_TOGROUP_GRP_DSC", identifier: "Group_ONE toGroup(Group_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRP_TOGROUP_GRP_RV", isArray: false, type: "grp" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRP_TOGROUP_GRP_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "grp" }], examples: [{ input: "ToGroup(ToGroup(NOT_SET))", output: "AR_FN_GRP_TOGROUP_GRP_EX_OUT_0" }] }], needsServerInfo: true }, toKnowledgeBaseDocument: { identifier: "toKnowledgeBaseDocument", description: "AR_FN_DSC_TOKNOWLEDGEBASEDOCUMENT", type: "function", name: "ToKnowledgeBaseDocument", category: "cast", overloads: [{ description: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_DSC", identifier: "KnowledgeBaseDocument_ONE toKnowledgeBaseDocument(KnowledgeBaseDocument_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_RV", isArray: false, type: "kbd" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "kbd" }], examples: [{ input: "ToKnowledgeBaseDocument(ToKnowledgeBaseDocument(NOT_SET))", output: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_EX_OUT_0" }] }, { description: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_DSC", identifier: "KnowledgeBaseDocument_ONE toKnowledgeBaseDocument(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_RV", isArray: false, type: "kbd" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToKnowledgeBaseDocument(NOT_SET)", output: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toVideo: { identifier: "toVideo", description: "AR_FN_DSC_TOVIDEO", type: "function", name: "ToVideo", category: "cast", overloads: [{ description: "AR_FN_VIDEO_TOVIDEO_VIDEO_DSC", identifier: "Video_ONE toVideo(Video_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_TOVIDEO_VIDEO_RV", isArray: false, type: "vid" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_TOVIDEO_VIDEO_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "vid" }], examples: [{ input: "ToVideo(ToVideo(NOT_SET))", output: "AR_FN_VIDEO_TOVIDEO_VIDEO_EX_OUT_0" }] }, { description: "AR_FN_VIDEO_TOVIDEO_NTS_DSC", identifier: "Video_ONE toVideo(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_TOVIDEO_NTS_RV", isArray: false, type: "vid" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_TOVIDEO_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToVideo(NOT_SET)", output: "AR_FN_VIDEO_TOVIDEO_NTS_EX_OUT_0" }] }, { description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_DSC", identifier: "Video_ONE toVideo(ResponseAsset_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_RV", isArray: false, type: "vid" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }], examples: [{ input: "ToVideo(Flow.ResponseAsset)", output: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_EX_OUT_0" }] }, { description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_DSC", identifier: "Video_ONE toVideo(ResponseAsset_ONE,Video_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_RV", isArray: false, type: "vid" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "vid" }], examples: [{ input: 'ToVideo(Flow.ResponseAsset, MakeVideoFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mov"))', output: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_EX_OUT_0" }, { input: 'ToVideo(ToResponseAsset(NOT_SET), MakeVideoFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mov"))', output: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_EX_OUT_1" }, { input: 'ToVideo(Flow.ResponseAssetThatCannotBeConvertedToVideo, MakeVideoFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mov"))', output: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_EX_OUT_2" }] }], needsServerInfo: true }, toVideoCollection: { identifier: "toVideoCollection", description: "AR_FN_DSC_TOVIDEOCOLLECTION", type: "function", name: "ToVideoCollection", category: "cast", overloads: [{ description: "AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_DSC", identifier: "Video_COLL toVideoCollection(ResponseAsset_COLL)", support: { version: "1.0", resolver: "None" }, featureConfigName: "cannedResponseAttachmentsPostGaFeature", needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_RV", isArray: true, type: "vid" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "rpa" }], examples: [{ input: "ToVideoCollection(MakeList(Flow.ResponseAsset, Flow.ResponseAsset2))", output: "AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_EX_OUT_0" }] }], needsServerInfo: true }, toPhoneNumber: { identifier: "toPhoneNumber", description: "AR_FN_DSC_TOPHONENUMBER", type: "function", name: "ToPhoneNumber", category: "cast", overloads: [{ description: "AR_FN_PHNBR_TOPHONENUMBER_STR_DSC", identifier: "PhoneNumber_ONE toPhoneNumber(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PHNBR_TOPHONENUMBER_STR_RV", isArray: false, type: "phn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_PHNBR_TOPHONENUMBER_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: "ToPhoneNumber(Call.Ani)", output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_0" }, { input: 'ToPhoneNumber("tel:+13178723000")', output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_1" }, { input: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_IN_2", output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_2" }, { input: "ToPhoneNumber(ToString(NOT_SET))", output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_3" }, { input: 'ToPhoneNumber("+13178723000")', output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_4" }, { input: 'ToPhoneNumber("13178723000")', output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_5" }, { input: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_IN_6", output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_6" }] }, { description: "AR_FN_PHNBR_TOPHONENUMBER_NTS_DSC", identifier: "PhoneNumber_ONE toPhoneNumber(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_PHNBR_TOPHONENUMBER_NTS_RV", isArray: false, type: "phn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PHNBR_TOPHONENUMBER_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToPhoneNumber(NOT_SET)", output: "AR_FN_PHNBR_TOPHONENUMBER_NTS_EX_OUT_0" }] }, { description: "AR_FN_PHNBR_TOPHONENUMBER_PHNBR_DSC", identifier: "PhoneNumber_ONE toPhoneNumber(PhoneNumber_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PHNBR_TOPHONENUMBER_PHNBR_RV", isArray: false, type: "phn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PHNBR_TOPHONENUMBER_PHNBR_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "phn" }], examples: [{ input: "ToPhoneNumber(ToPhoneNumber(NOT_SET))", output: "AR_FN_PHNBR_TOPHONENUMBER_PHNBR_EX_OUT_0" }] }], needsServerInfo: true }, toPrompt: { identifier: "toPrompt", description: "AR_FN_DSC_TOPROMPT", type: "function", name: "ToPrompt", category: "cast", overloads: [{ description: "AR_FN_PROMPT_TOPROMPT_NTS_DSC", identifier: "Prompt_ONE toPrompt(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_PROMPT_TOPROMPT_NTS_RV", isArray: false, type: "pmt" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PROMPT_TOPROMPT_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToPrompt(NOT_SET)", output: "AR_FN_PROMPT_TOPROMPT_NTS_EX_OUT_0" }] }, { description: "AR_FN_PROMPT_TOPROMPT_PROMPT_DSC", identifier: "Prompt_ONE toPrompt(Prompt_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PROMPT_TOPROMPT_PROMPT_RV", isArray: false, type: "pmt" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PROMPT_TOPROMPT_PROMPT_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "pmt" }], examples: [{ input: "ToPrompt(ToPrompt(NOT_SET))", output: "AR_FN_PROMPT_TOPROMPT_PROMPT_EX_OUT_0" }] }], needsServerInfo: true }, toSchedule: { identifier: "toSchedule", description: "AR_FN_DSC_TOSCHEDULE", type: "function", name: "ToSchedule", category: "cast", overloads: [{ description: "AR_FN_SCHED_TOSCHEDULE_NTS_DSC", identifier: "Schedule_ONE toSchedule(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHED_TOSCHEDULE_NTS_RV", isArray: false, type: "sch" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHED_TOSCHEDULE_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToSchedule(NOT_SET)", output: "AR_FN_SCHED_TOSCHEDULE_NTS_EX_OUT_0" }] }, { description: "AR_FN_SCHED_TOSCHEDULE_SCHED_DSC", identifier: "Schedule_ONE toSchedule(Schedule_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHED_TOSCHEDULE_SCHED_RV", isArray: false, type: "sch" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHED_TOSCHEDULE_SCHED_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "sch" }], examples: [{ input: "ToSchedule(ToSchedule(NOT_SET))", output: "AR_FN_SCHED_TOSCHEDULE_SCHED_EX_OUT_0" }] }], needsServerInfo: true }, toScheduleGroup: { identifier: "toScheduleGroup", description: "AR_FN_DSC_TOSCHEDULEGROUP", type: "function", name: "ToScheduleGroup", category: "cast", overloads: [{ description: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_DSC", identifier: "ScheduleGroup_ONE toScheduleGroup(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_RV", isArray: false, type: "scg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToScheduleGroup(NOT_SET)", output: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_EX_OUT_0" }] }, { description: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_DSC", identifier: "ScheduleGroup_ONE toScheduleGroup(ScheduleGroup_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_RV", isArray: false, type: "scg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "scg" }], examples: [{ input: "ToScheduleGroup(ToScheduleGroup(NOT_SET))", output: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_EX_OUT_0" }] }], needsServerInfo: true }, toUtilizationLabel: { identifier: "toUtilizationLabel", description: "AR_FN_DSC_TOUTILIZATIONLABEL", type: "function", name: "ToUtilizationLabel", category: "cast", overloads: [{ description: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_DSC", identifier: "UtilizationLabel_ONE toUtilizationLabel(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_RV", isArray: false, type: "cul" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToUtilizationLabel(NOT_SET)", output: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_EX_OUT_0" }] }, { description: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_DSC", identifier: "UtilizationLabel_ONE toUtilizationLabel(UtilizationLabel_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_RV", isArray: false, type: "cul" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cul" }], examples: [{ input: "ToUtilizationLabel(ToUtilizationLabel(NOT_SET))", output: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_EX_OUT_0" }] }], needsServerInfo: true }, toWorktypeStatus: { identifier: "toWorktypeStatus", description: "AR_FN_DSC_TOWORKTYPESTATUS", type: "function", name: "ToWorktypeStatus", category: "cast", overloads: [{ description: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_DSC", identifier: "WorktypeStatus_ONE toWorktypeStatus(WorktypeStatus_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_RV", isArray: false, type: "cpx_worktype_status" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cpx_worktype_status" }], examples: [{ input: "ToWorktypeStatus(ToWorktypeStatus(NOT_SET))", output: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_EX_OUT_0" }] }, { description: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_DSC", identifier: "WorktypeStatus_ONE toWorktypeStatus(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { workitem: "workitem", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_RV", isArray: false, type: "cpx_worktype_status" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToWorktypeStatus(NOT_SET)", output: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toWrapupCode: { identifier: "toWrapupCode", description: "AR_FN_DSC_TOWRAPUPCODE", type: "function", name: "ToWrapupCode", category: "cast", overloads: [{ description: "AR_FN_WRC_TOWRAPUPCODE_STR_DSC", identifier: "WrapupCode_ONE toWrapupCode(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", commonmodule: "commonmodule", voice: "voice" }, hidden: true, returnValue: { description: "AR_FN_WRC_TOWRAPUPCODE_STR_RV", isArray: false, type: "wrc" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WRC_TOWRAPUPCODE_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_WRC_TOWRAPUPCODE_NTS_DSC", identifier: "WrapupCode_ONE toWrapupCode(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_WRC_TOWRAPUPCODE_NTS_RV", isArray: false, type: "wrc" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WRC_TOWRAPUPCODE_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToWrapupCode(NOT_SET)", output: "AR_FN_WRC_TOWRAPUPCODE_NTS_EX_OUT_0" }] }, { description: "AR_FN_WRC_TOWRAPUPCODE_WRC_DSC", identifier: "WrapupCode_ONE toWrapupCode(WrapupCode_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_WRC_TOWRAPUPCODE_WRC_RV", isArray: false, type: "wrc" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WRC_TOWRAPUPCODE_WRC_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "wrc" }], examples: [{ input: "ToWrapupCode(ToWrapupCode(NOT_SET))", output: "AR_FN_WRC_TOWRAPUPCODE_WRC_EX_OUT_0" }] }], needsServerInfo: true }, isNotSetOrEmpty: { identifier: "isNotSetOrEmpty", description: "AR_FN_DSC_ISNOTSETOREMPTY", type: "function", name: "IsNotSetOrEmpty", category: "comparison", overloads: [{ description: "AR_FN_BLN_ISNOTSETOREMPTY_ANY_DSC", identifier: "Boolean_ONE isNotSetOrEmpty(Any_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_ISNOTSETOREMPTY_ANY_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_ISNOTSETOREMPTY_ANY_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "IsNotSetOrEmpty(true)", output: "false" }, { input: "IsNotSetOrEmpty(false)", output: "false" }, { input: 'IsNotSetOrEmpty(MakeCurrency(10.00, "USD"))', output: "false" }, { input: 'IsNotSetOrEmpty(MakeCurrency(ToDecimal(NOT_SET), "USD"))', output: "true" }, { input: "IsNotSetOrEmpty(ToBool(NOT_SET))", output: "true" }, { input: 'IsNotSetOrEmpty("Hello")', output: "false" }, { input: 'IsNotSetOrEmpty("")', output: "true" }, { input: "IsNotSetOrEmpty(ToString(NOT_SET))", output: "true" }, { input: "IsNotSetOrEmpty(100)", output: "false" }, { input: "IsNotSetOrEmpty(ToInt(NOT_SET))", output: "true" }, { input: "IsNotSetOrEmpty(100.5)", output: "false" }, { input: "IsNotSetOrEmpty(ToDecimal(NOT_SET))", output: "true" }, { input: "IsNotSetOrEmpty(MakeDateTime(2009, 3, 20, 12, 00, 00))", output: "false" }, { input: "IsNotSetOrEmpty(ToDateTime(NOT_SET))", output: "true" }, { input: "IsNotSetOrEmpty(MakeDuration(10, 0, 30, 0))", output: "false" }, { input: "IsNotSetOrEmpty(ToDuration(NOT_SET))", output: "true" }, { input: 'IsNotSetOrEmpty(ToUser("john.doe@company.com"))', output: "false", hidden: "true" }, { input: "IsNotSetOrEmpty(ToUser(NOT_SET))", output: "true" }, { input: 'IsNotSetOrEmpty(ToSkill("Spanish"))', output: "false", hidden: "true" }, { input: "IsNotSetOrEmpty(ToSkill(NOT_SET))", output: "true" }, { input: "IsNotSetOrEmpty(MakeDate(2018, 12, 4))", output: "false", featureConfigName: "botFlows" }, { input: "IsNotSetOrEmpty(ToDate(NOT_SET))", output: "true", featureConfigName: "botFlows" }, { input: "IsNotSetOrEmpty(MakeTime(1, 30, 0))", output: "false", featureConfigName: "botFlows" }, { input: "IsNotSetOrEmpty(ToTime(NOT_SET))", output: "true", featureConfigName: "botFlows" }, { input: "IsNotSetOrEmpty(ToJson(NOT_SET))", output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: 'IsNotSetOrEmpty(JsonParse("null"))', output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: "IsNotSetOrEmpty(MakeEmptyJsonString())", output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: "IsNotSetOrEmpty(MakeEmptyJsonArray())", output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: "IsNotSetOrEmpty(MakeEmptyJsonObject())", output: "true", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_BLN_ISNOTSETOREMPTY_AUDIO_DSC", identifier: "Boolean_ONE isNotSetOrEmpty(Audio_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISNOTSETOREMPTY_AUDIO_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_ISNOTSETOREMPTY_AUDIO_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "aud" }], examples: [{ input: 'IsNotSetOrEmpty(ToAudioTTS("Hello"))', output: "false" }, { input: "IsNotSetOrEmpty(ToAudioBlank(2000))", output: "false" }, { input: "IsNotSetOrEmpty(ToAudioBlank(0))", output: "true" }, { input: "IsNotSetOrEmpty(ToAudio(ToPrompt(NOT_SET)))", output: "true" }] }, { description: "AR_FN_BLN_ISNOTSETOREMPTY_ANY_COLL_DSC", identifier: "Boolean_ONE isNotSetOrEmpty(Any_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_ISNOTSETOREMPTY_ANY_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_ISNOTSETOREMPTY_ANY_COLL_PRM_DSC_0", identifier: "collection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "IsNotSetOrEmpty(MakeList(true, false))", output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToBool(NOT_SET)))", output: "true" }, { input: 'IsNotSetOrEmpty(MakeList(MakeCurrency(10.00, "USD")))', output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToCurrency(NOT_SET)))", output: "true" }, { input: 'IsNotSetOrEmpty(MakeList("hello"))', output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToString(NOT_SET)))", output: "true" }, { input: "IsNotSetOrEmpty(MakeList(5, 3, 1))", output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToInt(NOT_SET)))", output: "true" }, { input: "IsNotSetOrEmpty(MakeList(5.0, 3.0, 1.0))", output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToDecimal(NOT_SET)))", output: "true" }, { input: "IsNotSetOrEmpty(MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0)))", output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToDateTime(NOT_SET)))", output: "true" }, { input: "IsNotSetOrEmpty(MakeList(MakeDuration(10, 0, 30, 0)))", output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToDuration(NOT_SET)))", output: "true" }, { input: 'IsNotSetOrEmpty(MakeList(ToUser("john.doe@company.com")))', output: "false", hidden: "true" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToUser(NOT_SET)))", output: "true" }, { input: 'IsNotSetOrEmpty(MakeList(ToSkill("Spanish")))', output: "false", hidden: "true" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToSkill(NOT_SET)))", output: "true" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToDate(NOT_SET)))", output: "true", featureConfigName: "botFlows" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToTime(NOT_SET)))", output: "true", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_BLN_ISNOTSETOREMPTY_NTS_DSC", identifier: "Boolean_ONE isNotSetOrEmpty(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_BLN_ISNOTSETOREMPTY_NTS_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_ISNOTSETOREMPTY_NTS_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "IsNotSetOrEmpty(NOT_SET)", output: "true" }] }], needsServerInfo: true }, makeAgentScorePair: { identifier: "makeAgentScorePair", description: "AR_FN_DSC_MAKEAGENTSCOREPAIR", type: "function", name: "MakeAgentScorePair", category: "complex", overloads: [{ description: "AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_DSC", identifier: "AgentScorePair_ONE makeAgentScorePair(User_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", commonmodule: "commonmodule", emailsend: "emailsend", inboundcall: "inboundcall", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueuecall: "inqueuecall", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", securecall: "securecall", workitem: "workitem", voice: "voice", voicemail: "voicemail" }, needsServerInfo: true, returnValue: { description: "AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_RV", isArray: false, type: "cpx_agent_score_pair" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_PRM_DSC_0", identifier: "agent", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "usr" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_PRM_DSC_1", identifier: "score", isArray: false, helpDisplayIdx: 1, max: "100", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'MakeAgentScorePair(FindUserById("5B943B5F-4205-B70F-8BE1-A245A94B2919"), 25)', output: 'An AgentScorePair value with an agent property User value with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" and score property value of 25.' }] }], needsServerInfo: true }, makeCard: { identifier: "makeCard", description: "AR_FN_DSC_MAKECARD", type: "function", name: "MakeCard", category: "complex", overloads: [{ description: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_DSC", identifier: "Card_ONE makeCard(String_ONE,String_ONE,Choice_COLL,Image_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_RV", isArray: false, type: "crd" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_0", identifier: "title", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_1", identifier: "description", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_2", identifier: "buttons", isArray: true, helpDisplayIdx: 2, repeatable: false, required: true, type: "chc", maxItems: "3" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_3", identifier: "image", isArray: false, helpDisplayIdx: 3, repeatable: false, required: false, type: "img" }], examples: [{ input: 'MakeCard("Pizza Size", "Please select your pizza size.", MakeList(MakePostbackChoice("small", "Small"), MakePostbackChoice("medium", "Medium"), MakePostbackChoice("large", "Large")), FindImage("Pizza Size"))', output: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_EX_OUT_0" }] }], needsServerInfo: true }, makeCarousel: { identifier: "makeCarousel", description: "AR_FN_DSC_MAKECAROUSEL", type: "function", name: "MakeCarousel", category: "complex", overloads: [{ description: "AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_DSC", identifier: "Carousel_ONE makeCarousel(Card_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_RV", isArray: false, type: "crs" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_PRM_DSC_0", identifier: "cards", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "crd", maxItems: "10" }], examples: [{ input: 'MakeCarousel(MakeList(MakeCard("Beginner Class", "Learn how to author cards, carousels and quick replies in Architect.", MakeList(MakePostbackChoice("signupBeginner", "Sign Me Up!")), FindImage("Beginner Class")), MakeCard("Intermediate Class", "Learn about button choices and slot types.", MakeList(MakePostbackChoice("signupIntermediate", "Sign Me Up!")), FindImage("Intermediate Class")), MakeCard("Advanced Class", "Create cards, carousels and quick replies using expressions.", MakeList(MakePostbackChoice("signupAdvanced", "Sign Me Up!")), FindImage("Advanced Class"))))', output: "AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_EX_OUT_0" }] }], needsServerInfo: true }, makeChoice: { identifier: "makeChoice", description: "AR_FN_DSC_MAKECHOICE", type: "function", name: "MakeChoice", category: "complex", overloads: [{ description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_DSC", identifier: "Choice_ONE makeChoice(String_ONE,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_PRM_DSC_0", identifier: "type", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_PRM_DSC_2", identifier: "label", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeChoice("url", "https://www.genesys.com", "Genesys")', output: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_EX_OUT_0" }, { input: 'MakeChoice("postback", "support", "Help and Support")', output: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_EX_OUT_1" }] }, { description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_DSC", identifier: "Choice_ONE makeChoice(String_ONE,String_ONE,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_0", identifier: "type", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_2", identifier: "label", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_3", identifier: "command", isArray: false, helpDisplayIdx: 3, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeChoice("url", "https://www.genesys.com", "Genesys", "skip")', output: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_EX_OUT_0" }] }], needsServerInfo: true }, makePostbackChoice: { identifier: "makePostbackChoice", description: "AR_FN_DSC_MAKEPOSTBACKCHOICE", type: "function", name: "MakePostbackChoice", category: "complex", overloads: [{ description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_DSC", identifier: "Choice_ONE makePostbackChoice(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'MakePostbackChoice("support")', output: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_EX_OUT_0" }] }, { description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_DSC", identifier: "Choice_ONE makePostbackChoice(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_PRM_DSC_1", identifier: "label", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakePostbackChoice("support", "Help and Support")', output: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_EX_OUT_0" }] }, { description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_DSC", identifier: "Choice_ONE makePostbackChoice(String_ONE,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_PRM_DSC_1", identifier: "label", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_PRM_DSC_2", identifier: "command", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakePostbackChoice("support", "Help and Support", "skip")', output: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_EX_OUT_0" }] }], needsServerInfo: true }, makeUrlChoice: { identifier: "makeUrlChoice", description: "AR_FN_DSC_MAKEURLCHOICE", type: "function", name: "MakeUrlChoice", category: "complex", overloads: [{ description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_DSC", identifier: "Choice_ONE makeUrlChoice(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'MakeUrlChoice("https://www.genesys.com")', output: "AR_FN_CHOICE_MAKEURLCHOICE_STR_EX_OUT_0" }] }, { description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_DSC", identifier: "Choice_ONE makeUrlChoice(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_PRM_DSC_1", identifier: "linkLabel", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeUrlChoice("https://www.genesys.com", "Genesys")', output: "AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_EX_OUT_0" }] }], needsServerInfo: true }, makeChooser: { identifier: "makeChooser", description: "AR_FN_DSC_MAKECHOOSER", type: "function", name: "MakeChooser", category: "complex", overloads: [{ description: "AR_FN_CHOOSER_MAKECHOOSER_CARD_DSC", identifier: "Chooser_ONE makeChooser(Card_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOOSER_MAKECHOOSER_CARD_RV", isArray: false, type: "chs" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOOSER_MAKECHOOSER_CARD_PRM_DSC_0", identifier: "card", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "crd" }], examples: [{ input: 'MakeChooser(MakeCard("Shirt Colors", "Please select a shirt color.", MakeList(MakePostbackChoice("red", "Red"), MakePostbackChoice("green", "Green"), MakePostbackChoice("blue", "Blue")), FindImage("shirtSizes.png")))', output: "AR_FN_CHOOSER_MAKECHOOSER_CARD_EX_OUT_0" }] }, { description: "AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_DSC", identifier: "Chooser_ONE makeChooser(Carousel_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_RV", isArray: false, type: "chs" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_PRM_DSC_0", identifier: "carousel", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "crs" }], examples: [{ input: 'MakeChooser(MakeCarousel(MakeList(MakeCard("Beginner Class", "Learn how to author cards, carousels and quick replies in Architect.", MakeList(MakePostbackChoice("signupBeginner", "Sign Me Up!")), FindImage("Beginner Class")), MakeCard("Intermediate Class", "Learn about button choices and slot types.", MakeList(MakePostbackChoice("signupIntermediate", "Sign Me Up!")), FindImage("Intermediate Class")), MakeCard("Advanced Class", "Create cards, carousels and quick replies using expressions.", MakeList(MakePostbackChoice("signupAdvanced", "Sign Me Up!")), FindImage("Advanced Class")))))', output: "AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_EX_OUT_0" }] }, { description: "AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_DSC", identifier: "Chooser_ONE makeChooser(QuickReplies_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_RV", isArray: false, type: "chs" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_PRM_DSC_0", identifier: "quickReplies", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "qrl" }], examples: [{ input: 'MakeChooser(MakeQuickReplies(MakeList(MakePostbackChoice("red", "Red"), MakePostbackChoice("blue", "Blue"))))', output: "AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_EX_OUT_0" }, { input: 'MakeChooser(MakeQuickReplies(MakeList(MakePostbackChoice("red", "Red"), MakePostbackChoice("blue", "Blue")), "Thanks for your selection"))', output: "AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_EX_OUT_1", featureConfigName: "digitalBotFlowsAppleMessaging" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_DSC", identifier: "Chooser_ONE makeChooser(TimePicker_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_RV", isArray: false, type: "chs" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_PRM_DSC_0", identifier: "timePicker", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "tpk" }], examples: [{ input: 'MakeChooser(MakeTimePicker("Schedule Appointment"))', output: "AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_EX_OUT_0" }] }, { description: "AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_DSC", identifier: "Chooser_ONE makeChooser(ListPicker_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsAppleListPicker", needsServerInfo: true, returnValue: { description: "AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_RV", isArray: false, type: "chs" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_PRM_DSC_0", identifier: "listPicker", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "lpk" }], examples: [{ input: 'MakeChooser(MakeListPicker(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))), MakeImageFromUrl(NOT_SET), "Menu", "Items to order", MakeImageFromUrl(NOT_SET), NOT_SET))', output: "AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_EX_OUT_0" }] }], needsServerInfo: true }, makeCurrency: { identifier: "makeCurrency", description: "AR_FN_DSC_MAKECURRENCY", type: "function", name: "MakeCurrency", category: "financial", overloads: [{ description: "AR_FN_CUR_MAKECURRENCY_DEC_STR_DSC", identifier: "Currency_ONE makeCurrency(Decimal_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_MAKECURRENCY_DEC_STR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_MAKECURRENCY_DEC_STR_PRM_DSC_0", identifier: "amount", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_MAKECURRENCY_DEC_STR_PRM_DSC_1", identifier: "currencyCode", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", literalValidatorName: "ISO4217" }], examples: [{ input: 'MakeCurrency(10.50, "USD")', output: "AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_0" }, { input: 'MakeCurrency(5.00, "EUR")', output: "AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_1" }, { input: 'MakeCurrency(NOT_SET, "USD")', output: "AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_2" }, { input: "MakeCurrency(100.00, NOT_SET)", output: "AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_3" }] }, { description: "AR_FN_CUR_MAKECURRENCY_LNG_STR_DSC", identifier: "Currency_ONE makeCurrency(Long_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_MAKECURRENCY_LNG_STR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_MAKECURRENCY_LNG_STR_PRM_DSC_0", identifier: "amount", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_MAKECURRENCY_LNG_STR_PRM_DSC_1", identifier: "currencyCode", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", literalValidatorName: "ISO4217" }], examples: [{ input: 'MakeCurrency(10, "USD")', output: "AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_0" }, { input: 'MakeCurrency(5, "EUR")', output: "AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_1" }, { input: 'MakeCurrency(NOT_SET, "USD")', output: "AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_2" }, { input: "MakeCurrency(100, NOT_SET)", output: "AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_3" }] }] }, makeDigitalAudioFromUrl: { identifier: "makeDigitalAudioFromUrl", description: "AR_FN_DSC_MAKEDIGITALAUDIOFROMURL", type: "function", name: "MakeDigitalAudioFromUrl", category: "complex", overloads: [{ description: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_DSC", identifier: "DigitalAudio_ONE makeDigitalAudioFromUrl(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_RV", isArray: false, type: "dia" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeDigitalAudioFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mp3")', output: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_EX_OUT_0" }] }, { description: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_DSC", identifier: "DigitalAudio_ONE makeDigitalAudioFromUrl(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_RV", isArray: false, type: "dia" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "MakeDigitalAudioFromUrl(NOT_SET)", output: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, makeFileFromUrl: { identifier: "makeFileFromUrl", description: "AR_FN_DSC_MAKEFILEFROMURL", type: "function", name: "MakeFileFromUrl", category: "complex", overloads: [{ description: "AR_FN_FILE_MAKEFILEFROMURL_STR_DSC", identifier: "File_ONE makeFileFromUrl(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_FILE_MAKEFILEFROMURL_STR_RV", isArray: false, type: "fil" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_MAKEFILEFROMURL_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeFileFromUrl("https://www.genesys.com/documents/genesys-digital-bot-flows.pdf")', output: "AR_FN_FILE_MAKEFILEFROMURL_STR_EX_OUT_0" }] }, { description: "AR_FN_FILE_MAKEFILEFROMURL_NTS_DSC", identifier: "File_ONE makeFileFromUrl(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_FILE_MAKEFILEFROMURL_NTS_RV", isArray: false, type: "fil" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_MAKEFILEFROMURL_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "MakeFileFromUrl(NOT_SET)", output: "AR_FN_FILE_MAKEFILEFROMURL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, makeImageFromUrl: { identifier: "makeImageFromUrl", description: "AR_FN_DSC_MAKEIMAGEFROMURL", type: "function", name: "MakeImageFromUrl", category: "complex", overloads: [{ description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_DSC", identifier: "Image_ONE makeImageFromUrl(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeImageFromUrl("https://www.genesys.com/media/genesys-logo.png")', output: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_EX_OUT_0" }] }, { description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_DSC", identifier: "Image_ONE makeImageFromUrl(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_PRM_DSC_1", identifier: "name", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeImageFromUrl("https://www.genesys.com/media/genesys-logo.png", "Genesys Logo")', output: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_EX_OUT_0" }] }, { description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_DSC", identifier: "Image_ONE makeImageFromUrl(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "MakeImageFromUrl(NOT_SET)", output: "AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, makeLineItem: { identifier: "makeLineItem", description: "AR_FN_DSC_MAKELINEITEM", type: "function", name: "MakeLineItem", category: "complex", overloads: [{ description: "AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_DSC", identifier: "LineItem_ONE makeLineItem(String_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsApplePay", returnValue: { description: "AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_RV", isArray: false, type: "lni" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_PRM_DSC_0", identifier: "listingName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_PRM_DSC_1", identifier: "listingPrice", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'MakeLineItem("T-Shirt", MakeCurrency(19.99, "USD"))', output: "AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_EX_OUT_0" }] }] }, toLineItem: { identifier: "toLineItem", description: "AR_FN_DSC_TOLINEITEM", type: "function", name: "ToLineItem", category: "cast", overloads: [{ description: "AR_FN_LINEITEM_TOLINEITEM_LINEITEM_DSC", identifier: "LineItem_ONE ToLineItem(LineItem_ONE)", support: { version: "1.0", resolver: "None" }, featureConfigName: "botFlowsApplePay", needsServerInfo: true, returnValue: { description: "AR_FN_LINEITEM_TOLINEITEM_LINEITEM_RV", isArray: false, type: "lni" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LINEITEM_TOLINEITEM_LINEITEM_PRM_DSC_0", identifier: "lineItem", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "lni" }], examples: [{ input: 'ToLineItem(MakeLineItem("Fishing Road", MakeCurrency(200.0, "USD")))', output: "AR_FN_LINEITEM_TOLINEITEM_LINEITEM_EX_OUT_0" }] }, { description: "AR_FN_LINEITEM_TOLINEITEM_NTS_DSC", identifier: "LineItem_ONE toLineItem(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_LINEITEM_TOLINEITEM_NTS_RV", isArray: false, type: "lni" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LINEITEM_TOLINEITEM_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToLineItem(NOT_SET)", output: "AR_FN_LINEITEM_TOLINEITEM_NTS_EX_OUT_0" }] }], needsServerInfo: true }, makeListPickerItem: { identifier: "makeListPickerItem", description: "AR_FN_DSC_MAKELISTPICKERITEM", type: "function", name: "MakeListPickerItem", category: "complex", overloads: [{ description: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_DSC", identifier: "ListPickerItem_ONE makeListPickerItem(String_ONE,String_ONE,Image_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsAppleListPicker", needsServerInfo: true, returnValue: { description: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_RV", isArray: false, type: "lpi" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_PRM_DSC_0", identifier: "title", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_PRM_DSC_1", identifier: "subtitle", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_PRM_DSC_2", identifier: "image", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "img" }], examples: [{ input: 'MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))', output: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_EX_OUT_0" }, { input: 'MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))', output: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_EX_OUT_1" }, { input: 'MakeListPickerItem("Fries", NOT_SET, NOT_SET)', output: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_EX_OUT_2" }] }], needsServerInfo: true }, makeListPickerSection: { identifier: "makeListPickerSection", description: "AR_FN_DSC_MAKELISTPICKERSECTION", type: "function", name: "MakeListPickerSection", category: "complex", overloads: [{ description: "AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_DSC", identifier: "ListPickerSection_ONE makeListPickerSection(String_ONE,Boolean_ONE,ListPickerItem_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsAppleListPicker", needsServerInfo: true, returnValue: { description: "AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_RV", isArray: false, type: "lps" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_PRM_DSC_0", identifier: "title", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_PRM_DSC_1", identifier: "multiSelectEnabled", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "bln" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_PRM_DSC_2", identifier: "items", isArray: true, helpDisplayIdx: 2, repeatable: false, required: false, type: "lpi" }], examples: [{ input: 'MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET))))', output: "AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_EX_OUT_0" }] }], needsServerInfo: true }, makeListPicker: { identifier: "makeListPicker", description: "AR_FN_DSC_MAKELISTPICKER", type: "function", name: "MakeListPicker", category: "complex", overloads: [{ description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_DSC", identifier: "ListPicker_ONE makeListPicker(ListPickerSection_COLL,Image_ONE,String_ONE,String_ONE,Image_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsAppleListPicker", needsServerInfo: true, returnValue: { description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_RV", isArray: false, type: "lpk" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_0", identifier: "sections", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "lps" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_1", identifier: "receivedMessageImage", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "img" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_2", identifier: "receivedMessageTitle", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_3", identifier: "receivedMessageSubtitle", isArray: false, helpDisplayIdx: 3, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_4", identifier: "replyMessageImage", isArray: false, helpDisplayIdx: 4, repeatable: false, required: false, type: "img" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_5", identifier: "replyMessageSubtitle", isArray: false, helpDisplayIdx: 5, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeListPicker(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))), MakeImageFromUrl(NOT_SET), "Menu", "Items to order", MakeImageFromUrl(NOT_SET), NOT_SET)', output: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_EX_OUT_0" }] }, { description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_DSC", identifier: "ListPicker_ONE makeListPicker(ListPickerSection_COLL,Image_ONE,String_ONE,String_ONE,Image_ONE,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "whatsAppListPickerFeature", needsServerInfo: true, returnValue: { description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_RV", isArray: false, type: "lpk" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_0", identifier: "sections", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "lps" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_1", identifier: "receivedMessageImage", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "img" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_2", identifier: "receivedMessageTitle", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_3", identifier: "receivedMessageSubtitle", isArray: false, helpDisplayIdx: 3, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_4", identifier: "replyMessageImage", isArray: false, helpDisplayIdx: 4, repeatable: false, required: false, type: "img" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_5", identifier: "replyMessageSubtitle", isArray: false, helpDisplayIdx: 5, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_6", identifier: "receivedMessageButtonText", isArray: false, helpDisplayIdx: 6, repeatable: false, required: true, type: "str", minLength: "1" }], examples: [{ input: 'MakeListPicker(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))), MakeImageFromUrl(NOT_SET), "Menu", "Items to order", MakeImageFromUrl(NOT_SET), NOT_SET, "Click Me")', output: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_EX_OUT_0" }] }], needsServerInfo: true }, makeTimePicker: { identifier: "makeTimePicker", description: "AR_FN_DSC_MAKETIMEPICKER", type: "function", name: "MakeTimePicker", category: "datetime", overloads: [{ description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_DSC", identifier: "TimePicker_ONE makeTimePicker(String_ONE,String_ONE,Image_ONE,ADDRESS_ONE,LATITUDE_ONE,LONGITUDE_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_RV", isArray: false, type: "tpk" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_0", identifier: "title", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_1", identifier: "subtitle", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_2", identifier: "image", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "img" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_3", identifier: "address", isArray: false, helpDisplayIdx: 3, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_4", identifier: "latitude", isArray: false, helpDisplayIdx: 4, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_5", identifier: "longitutude", isArray: false, helpDisplayIdx: 5, repeatable: false, required: false, type: "dec" }], examples: [{ input: 'MakeTimePicker("Schedule Appointment", "Choose a Time", MakeImageFromUrl(NOT_SET), NOT_SET, NOT_SET, NOT_SET)', output: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_0" }, { input: 'MakeTimePicker("Schedule Appointment", NOT_SET, MakeImageFromUrl(NOT_SET), NOT_SET, NOT_SET, NOT_SET)', output: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_1" }, { input: 'MakeTimePicker("Schedule Appointment", NOT_SET, NOT_SET, NOT_SET, NOT_SET, NOT_SET)', output: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_2" }, { input: 'MakeTimePicker("Schedule Appointment", NOT_SET, NOT_SET, "4807 Emperor Boulevard", 35.8785875, -78.8408308)', output: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_3" }] }, { description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_DSC", identifier: "TimePicker_ONE makeTimePicker(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_RV", isArray: false, type: "tpk" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_PRM_DSC_0", identifier: "title", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_PRM_DSC_1", identifier: "subtitle", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeTimePicker("Schedule Appointment", "Choose a Time")', output: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_EX_OUT_0" }] }, { description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_DSC", identifier: "TimePicker_ONE makeTimePicker(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_RV", isArray: false, type: "tpk" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_PRM_DSC_0", identifier: "title", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }], examples: [{ input: 'MakeTimePicker("Schedule Appointment")', output: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_EX_OUT_0" }] }], needsServerInfo: true }, makeTimeslot: { identifier: "makeTimeslot", description: "AR_FN_DSC_MAKETIMESLOT", type: "function", name: "MakeTimeslot", category: "datetime", overloads: [{ description: "AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_DSC", identifier: "Timeslot_ONE makeTimeslot(DateTime_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_RV", isArray: false, type: "tsl" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_PRM_DSC_0", identifier: "dateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_PRM_DSC_1", identifier: "duration", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeTimeslot(MakeDateTime(2024, 8, 4, 0, 0, 0), MakeDuration(0, 1, 30, 0))", output: "AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_EX_OUT_0" }] }], needsServerInfo: true }, makeListTimeslot: { identifier: "makeListTimeslot", description: "AR_FN_DSC_MAKELISTTIMESLOT", type: "function", name: "MakeListTimeslot", category: "datetime", overloads: [{ description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_DSC", identifier: "Timeslot_COLL makeListTimeslot(DateTime_COLL,Duration_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_RV", isArray: true, type: "tsl" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_PRM_DSC_0", identifier: "dateTimes", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_PRM_DSC_1", identifier: "duration", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeListTimeslot(MakeList(MakeDateTime(2024, 8, 4, 14, 0, 0), MakeDateTime(2024, 8, 4, 15, 0, 0)), MakeDuration(0, 1, 0, 0))", output: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_EX_OUT_0" }] }, { description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_DSC", identifier: "Timeslot_COLL makeListTimeslot(DateTime_COLL,Duration_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_RV", isArray: true, type: "tsl" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_PRM_DSC_0", identifier: "dateTimes", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_PRM_DSC_1", identifier: "durations", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeListTimeslot(MakeList(MakeDateTime(2024, 8, 4, 14, 0, 0), MakeDateTime(2024, 8, 4, 15, 0, 0)), MakeList(MakeDuration(0, 1, 0, 0), MakeDuration(0, 2, 0, 0)))", output: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_EX_OUT_0" }] }], needsServerInfo: true }, makeShippingOption: { identifier: "makeShippingOption", description: "AR_FN_DSC_MAKESHIPPINGOPTION", type: "function", name: "MakeShippingOption", category: "complex", overloads: [{ description: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_DSC", identifier: "ShippingOption_ONE makeShippingOption(String_ONE,String_ONE,String_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsApplePay", returnValue: { description: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_RV", isArray: false, type: "sho" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_0", identifier: "label", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_1", identifier: "identifier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_2", identifier: "shippingDetails", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_3", identifier: "price", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'MakeShippingOption("Standard Shipping", "standard", "3-4 business Days", MakeCurrency(5.99, "USD"))', output: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_EX_OUT_0" }] }] }, toShippingOption: { identifier: "toShippingOption", description: "AR_FN_DSC_TOSHIPPINGOPTION", type: "function", name: "ToShippingOption", category: "cast", overloads: [{ description: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_DSC", identifier: "ShippingOption_ONE ToShippingOption(ShippingOption_ONE)", support: { version: "1.0", resolver: "None" }, featureConfigName: "botFlowsApplePay", needsServerInfo: true, returnValue: { description: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_RV", isArray: false, type: "sho" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_PRM_DSC_0", identifier: "shippingOption", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "sho" }], examples: [{ input: 'ToShippingOption(MakeShippingOption("Standard Shipping", "standard", "3-4 Days", MakeCurrency(5.99, "USD")))', output: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_EX_OUT_0" }] }, { description: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_DSC", identifier: "ShippingOption_ONE toShippingOption(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_RV", isArray: false, type: "sho" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToShippingOption(NOT_SET)", output: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_EX_OUT_0" }] }], needsServerInfo: true }, makeListAgentScorePair: { identifier: "makeListAgentScorePair", description: "AR_FN_DSC_MAKELISTAGENTSCOREPAIR", type: "function", name: "MakeListAgentScorePair", category: "list", overloads: [{ description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_DSC", identifier: "AgentScorePair_COLL makeListAgentScorePair(User_COLL,Long_COLL)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_RV", isArray: true, type: "cpx_agent_score_pair" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_PRM_DSC_0", identifier: "propertyAgent", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "usr", itemAllowNotSet: false }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_PRM_DSC_1", identifier: "propertyScore", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", itemAllowNotSet: false, itemMin: "0", itemMax: "100" }], examples: [{ input: 'MakeListAgentScorePair(FindUsersById(MakeList("5B943B5F-4205-B70F-8BE1-A245A94B2919", "cd287b63-09c5-4470-a45b-913755799cb2")), MakeList(50, 90))', output: 'An AgentScorePair collection with two items. The first AgentScorePair item has an agent property User with ID "5b943b5F-4205-b70F-8be1-a245a94b2919" and score property value of 50. The second AgentScorePair item has an agent property User ID of "cd287b63-09c5-4470-a45b-913755799cb2" and score property value of 90.' }] }, { description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_DSC", identifier: "AgentScorePair_COLL makeListAgentScorePair(String_COLL,Long_COLL)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_RV", isArray: true, type: "cpx_agent_score_pair" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_PRM_DSC_0", identifier: "agentIds", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", itemAllowNotSet: false, maxItems: "50" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_PRM_DSC_1", identifier: "propertyScore", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", itemAllowNotSet: false, itemMin: "0", itemMax: "100", maxItems: "50" }], examples: [{ input: 'MakeListAgentScorePair(MakeList("5B943B5F-4205-B70F-8BE1-A245A94B2919", "cd287b63-09c5-4470-a45b-913755799cb2"), MakeList(30, 70))', output: 'An AgentScorePair collection with two items. The first AgentScorePair item has an agent property User with ID "5b943b5F-4205-b70F-8be1-a245a94b2919" and score property value of 30. The second AgentScorePair item has an agent property User ID of "cd287b63-09c5-4470-a45b-913755799cb2" and score property value of 70.' }] }], needsServerInfo: true }, makeListCommunication: { identifier: "makeListCommunication", description: "AR_FN_DSC_MAKELISTCOMMUNICATION", type: "function", name: "MakeListCommunication", category: "cast", overloads: [{ description: "AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_DSC", identifier: "Communication_COLL makeListCommunication(Any_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_RV", isArray: true, type: "com" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_PRM_DSC_0", identifier: "anAnyCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: 'MakeListCommunication(MakeList("Value Label 1", "Value Label 2"))', output: "AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_EX_OUT_0" }] }], needsServerInfo: true }, makeQuickReplies: { identifier: "makeQuickReplies", description: "AR_FN_DSC_MAKEQUICKREPLIES", type: "function", name: "MakeQuickReplies", category: "complex", overloads: [{ description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_DSC", identifier: "QuickReplies_ONE makeQuickReplies(Choices_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_RV", isArray: false, type: "qrl" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_PRM_DSC_0", identifier: "buttons", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "chc", maxItems: "10" }], examples: [{ input: 'MakeQuickReplies(MakeList(MakePostbackChoice("small"), MakePostbackChoice("medium")))', output: 'A quick replies value that contains two postback button choices with the values "small" and "medium".' }, { input: 'MakeQuickReplies(MakeList(MakePostbackChoice("red", "Red"), MakePostbackChoice("blue", "Blue")))', output: 'A quick replies value that contains two button choices. The first choice has a value of "red" with a label of "Red" and the second has a value of "blue" with a label of "Blue".' }] }, { description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_DSC", identifier: "QuickReplies_ONE makeQuickReplies(Choices_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "digitalBotFlowsAppleMessaging", needsServerInfo: true, returnValue: { description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_RV", isArray: false, type: "qrl" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_PRM_DSC_0", identifier: "buttons", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "chc", maxItems: "10" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_PRM_DSC_1", identifier: "quickReplySummary", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeQuickReplies(MakeList(MakePostbackChoice("small"), MakePostbackChoice("medium")), "Thanks for your selection")', output: 'A quick replies value that contains two postback button choices with the values "small" and "medium" and quick reply summary "Thanks for your selection".' }, { input: 'MakeQuickReplies(MakeList(MakePostbackChoice("red", "Red"), MakePostbackChoice("blue", "Blue")), "Thanks for your selection")', output: 'A quick replies value that contains two button choices. The first choice has a value of "red" with a label of "Red" and the second has a value of "blue" with a label of "Blue" and quick reply summary "Thanks for your selection".' }] }], needsServerInfo: true }, makeVideoFromUrl: { identifier: "makeVideoFromUrl", description: "AR_FN_DSC_MAKEVIDEOFROMURL", type: "function", name: "MakeVideoFromUrl", category: "complex", overloads: [{ description: "AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_DSC", identifier: "Video_ONE makeVideoFromUrl(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_RV", isArray: false, type: "vid" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeVideoFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mov")', output: "AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_EX_OUT_0" }] }, { description: "AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_DSC", identifier: "Video_ONE makeVideoFromUrl(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_RV", isArray: false, type: "vid" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "MakeVideoFromUrl(NOT_SET)", output: "AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, resolveSlot: { identifier: "resolveSlot", description: "AR_FN_DSC_RESOLVESLOT", type: "function", name: "ResolveSlot", category: "language", overloads: [{ description: "AR_FN_ANY_RESOLVESLOT_ANY_DSC", identifier: "Any_ONE resolveSlot(Any_ONE)", support: { version: "1.0", resolver: "n-SameType" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_RESOLVESLOT_ANY_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_RESOLVESLOT_ANY_PRM_DSC_0", identifier: "slotVariable", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "any", mustBeVariable: true, mustBeVariableScope: "slot" }], examples: [{ input: "ResolveSlot(Slot.PizzaSize)", output: "AR_FN_ANY_RESOLVESLOT_ANY_EX_OUT_0" }, { input: "ResolveSlot(Slot.QuantityInt)", output: "5" }] }, { description: "AR_FN_ANY_RESOLVESLOT_ANY_ANY_DSC", identifier: "Any_ONE resolveSlot(Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "n-SameType" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_RESOLVESLOT_ANY_ANY_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_RESOLVESLOT_ANY_ANY_PRM_DSC_0", identifier: "slotVariable", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "any", mustBeVariable: true, mustBeVariableScope: "slot" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_RESOLVESLOT_ANY_ANY_PRM_DSC_1", identifier: "slotNotSetReturnValue", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ResolveSlot(Slot.AccountType, "")', output: "AR_FN_ANY_RESOLVESLOT_ANY_ANY_EX_OUT_0" }] }], needsServerInfo: true }, resolveSlotTypeListValue: { identifier: "resolveSlotTypeListValue", description: "AR_FN_DSC_RESOLVESLOTTYPELISTVALUE", type: "function", name: "ResolveSlotTypeListValue", category: "language", overloads: [{ description: "AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_DSC", identifier: "String_ONE resolveSlotTypeListValue(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_PRM_DSC_0", identifier: "listSlotTypeName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_PRM_DSC_1", identifier: "slotTypeValue", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ResolveSlotTypeListValue("PizzaSizeType", "small")', output: "AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_EX_OUT_0", outputFlowCurrentLanguage: "es-us" }] }], needsServerInfo: true }, makeListCurrency: { identifier: "makeListCurrency", description: "AR_FN_DSC_MAKELISTCURRENCY", type: "function", name: "MakeListCurrency", category: "financial", overloads: [{ description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_DSC", identifier: "Currency_COLL makeListCurrency(Decimal_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_RV", isArray: true, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_PRM_DSC_0", identifier: "amounts", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_PRM_DSC_1", identifier: "currencyCode", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", literalValidatorName: "ISO4217" }], examples: [{ input: 'MakeListCurrency(MakeList(10.50, 2.50), "USD")', output: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_EX_OUT_0" }, { input: 'MakeListCurrency(MakeList(10.50, ToDecimal(NOT_SET)), "USD")', output: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_EX_OUT_1" }] }, { description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_DSC", identifier: "Currency_COLL makeListCurrency(Decimal_COLL,String_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_RV", isArray: true, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_PRM_DSC_0", identifier: "amounts", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_PRM_DSC_1", identifier: "currencyCodes", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: 'MakeListCurrency(MakeList(10.50, 2.50), MakeList("USD", "EUR"))', output: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_EX_OUT_0" }, { input: 'MakeListCurrency(MakeList(10.50, ToDecimal(NOT_SET)), MakeList(ToString(NOT_SET), "EUR"))', output: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_EX_OUT_1" }] }] }, toCurrency: { identifier: "toCurrency", description: "AR_FN_DSC_TOCURRENCY", type: "function", name: "ToCurrency", category: "cast", overloads: [{ description: "AR_FN_CUR_TOCURRENCY_STR_DSC", identifier: "Currency_ONE toCurrency(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_TOCURRENCY_STR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_TOCURRENCY_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToCurrency("5.00|USD")', output: "AR_FN_CUR_TOCURRENCY_STR_EX_OUT_0" }, { input: 'ToCurrency("|EUR")', output: "AR_FN_CUR_TOCURRENCY_STR_EX_OUT_1" }, { input: 'ToCurrency("5.00|")', output: "AR_FN_CUR_TOCURRENCY_STR_EX_OUT_2" }, { input: 'ToCurrency("5.00")', output: "AR_FN_CUR_TOCURRENCY_STR_EX_OUT_3" }, { input: "ToCurrency(NOT_SET)", output: "AR_FN_CUR_TOCURRENCY_STR_EX_OUT_4" }] }, { description: "AR_FN_CUR_TOCURRENCY_DEC_DSC", identifier: "Currency_ONE toCurrency(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_TOCURRENCY_DEC_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_TOCURRENCY_DEC_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }], examples: [{ input: "ToCurrency(5.00)", output: "AR_FN_CUR_TOCURRENCY_DEC_EX_OUT_0" }] }, { description: "AR_FN_CUR_TOCURRENCY_LNG_DSC", identifier: "Currency_ONE toCurrency(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_TOCURRENCY_LNG_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_TOCURRENCY_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToCurrency(5)", output: "AR_FN_CUR_TOCURRENCY_LNG_EX_OUT_0" }] }, { description: "AR_FN_CUR_TOCURRENCY_NTS_DSC", identifier: "Currency_ONE toCurrency(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_CUR_TOCURRENCY_NTS_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_TOCURRENCY_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToCurrency(NOT_SET)", output: "AR_FN_CUR_TOCURRENCY_NTS_EX_OUT_0" }] }, { description: "AR_FN_CUR_TOCURRENCY_CUR_DSC", identifier: "Currency_ONE toCurrency(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_TOCURRENCY_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_TOCURRENCY_CUR_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }], examples: [{ input: 'ToCurrency(MakeCurrency(5.25, "USD"))', output: "AR_FN_CUR_TOCURRENCY_CUR_EX_OUT_0" }] }] }, getCurrencySymbol: { identifier: "getCurrencySymbol", description: "AR_FN_DSC_GETCURRENCYSYMBOL", type: "function", name: "GetCurrencySymbol", category: "financial", overloads: [{ description: "AR_FN_STR_GETCURRENCYSYMBOL_STR_DSC", identifier: "String_One getCurrencySymbol(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_GETCURRENCYSYMBOL_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_GETCURRENCYSYMBOL_STR_PRM_DSC_0", identifier: "currencyCode", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", literalValidatorName: "ISO4217" }], examples: [{ input: 'GetCurrencySymbol("USD")', output: '"$"' }, { input: 'GetCurrencySymbol("EUR")', output: '"\u20AC"' }] }, { description: "AR_FN_STR_GETCURRENCYSYMBOL_CUR_DSC", identifier: "String_One getCurrencySymbol(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_GETCURRENCYSYMBOL_CUR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETCURRENCYSYMBOL_CUR_PRM_DSC_0", identifier: "currency", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }], examples: [{ input: 'GetCurrencySymbol(MakeCurrency(1.00, "USD"))', output: '"$"' }, { input: 'GetCurrencySymbol(MakeCurrency(5.25, "EUR"))', output: '"\u20AC"' }] }] }, convertCurrency: { identifier: "convertCurrency", description: "AR_FN_DSC_CONVERTCURRENCY", type: "function", name: "ConvertCurrency", category: "financial", overloads: [{ description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DSC", identifier: "Currency_One convertCurrency(Currency_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_PRM_DSC_0", identifier: "sourceCurrency", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_PRM_DSC_1", identifier: "destinationCurrencyCode", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", literalValidatorName: "ISO4217" }], examples: [{ input: 'ConvertCurrency(MakeCurrency(5.00, "USD"), "EUR")', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_0" }, { input: 'ConvertCurrency(MakeCurrency(5.00, ToString(NOT_SET)), "EUR")', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_1" }, { input: 'ConvertCurrency(MakeCurrency(NOT_SET, "USD"), "EUR")', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_2" }, { input: 'ConvertCurrency(MakeCurrency(NOT_SET, "USD"), ToString(NOT_SET))', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_3" }, { input: 'ConvertCurrency(ToCurrency(NOT_SET), "USD")', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_4" }] }, { description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_DSC", identifier: "Currency_One convertCurrency(Currency_ONE,String_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_PRM_DSC_0", identifier: "sourceCurrency", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_PRM_DSC_1", identifier: "destinationCurrencyCode", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", literalValidatorName: "ISO4217" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_PRM_DSC_2", identifier: "sourcePerDestExchangeRate", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "dec" }], examples: [{ input: 'ConvertCurrency(MakeCurrency(5.00, "USD"), "EUR", 0.6937)', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_0" }, { input: 'ConvertCurrency(MakeCurrency(5.00, ToString(NOT_SET)), "EUR", 0.6937)', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_1" }, { input: 'ConvertCurrency(MakeCurrency(ToDecimal(NOT_SET), ToString(NOT_SET)), "EUR", 0.6937)', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_2" }, { input: 'ConvertCurrency(ToCurrency(NOT_SET), "EUR", 0.6937)', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_3" }] }] }, toAudioTTS: { identifier: "toAudioTTS", description: "AR_FN_DSC_TOAUDIOTTS", type: "function", runtimeRequiresTTSSupport: true, name: "ToAudioTTS", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOTTS_STR_DSC", identifier: "Audio_ONE ToAudioTTS(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeRequiresTTSSupport: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOTTS_STR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTTS_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToAudioTTS("Hello")', output: "AR_FN_AUDIO_TOAUDIOTTS_STR_EX_OUT_0" }, { input: "ToAudioTTS(ToString(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOTTS_STR_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_DSC", identifier: "Audio_ONE ToAudioTTS(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeRequiresTTSSupport: true, featureToggleName: "archFuncToAudioTTSWithLang", returnValue: { description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_PRM_DSC_1", identifier: "IETFLanguageTag", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str", mustBeLiteral: true, literalValidatorName: "SupportedTTSLangs" }], examples: [{ input: 'ToAudioTTS("Hello", "en-US" )', output: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_0" }, { input: 'ToAudioTTS("Bonjour", "fr-CA" )', output: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_1" }, { input: 'ToAudioTTS("Hola", "es-US" )', output: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_2" }, { input: 'ToAudioTTS(ToString(NOT_SET), "en-US" )', output: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_3" }] }, { description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_DSC", identifier: "Audio_ONE ToAudioTTS(String_ONE,StringFormat_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeRequiresTTSSupport: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_PRM_DSC_1", identifier: "stringAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "stf" }], examples: [{ input: 'ToAudioTTS("Hello", Format.String.playChars)', output: "AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_EX_OUT_0" }, { input: "ToAudioTTS(ToString(NOT_SET), Format.String.playChars)", output: "AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_EX_OUT_1" }] }] }, toAudioBlank: { identifier: "toAudioBlank", description: "AR_FN_DSC_TOAUDIOBLANK", type: "function", name: "ToAudioBlank", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOBLANK_LNG_DSC", identifier: "Audio_ONE ToAudioBlank(Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_FN_AUDIO_TOAUDIOBLANK_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOBLANK_LNG_PRM_DSC_0", identifier: "lengthMs", isArray: false, helpDisplayIdx: 0, max: "10000", min: "0", repeatable: false, required: true, type: "int", mustBeLiteral: true }], examples: [{ input: "ToAudioBlank(500)", output: "AR_FN_AUDIO_TOAUDIOBLANK_LNG_EX_OUT_0" }, { input: 'Append(ToAudioTTS("Hello"), ToAudioBlank(1000), ToAudioTTS("World"))', output: "AR_FN_AUDIO_TOAUDIOBLANK_LNG_EX_OUT_1" }] }] }, toAudioBool: { identifier: "toAudioBool", description: "AR_FN_DSC_TOAUDIOBOOL", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioBool", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_DSC", identifier: "Audio_ONE ToAudioBool(Boolean_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_PRM_DSC_0", identifier: "boolToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }], examples: [{ input: "ToAudioBool(true)", output: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioBool(ToBool(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_DSC", identifier: "Audio_ONE ToAudioBool(Boolean_ONE,BoolFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_PRM_DSC_0", identifier: "boolToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_PRM_DSC_1", identifier: "boolAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bof" }], examples: [{ input: "ToAudioBool(false, Format.Bool.playYesNo)", output: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioBool(5 == 5, Format.Bool.playYesNo)", output: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioBool(ToBool(NOT_SET), Format.Bool.playYesNo)", output: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_EX_OUT_2" }] }] }, toAudioDuration: { identifier: "toAudioDuration", description: "AR_FN_DSC_TOAUDIODURATION", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioDuration", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIODURATION_DUR_DSC", identifier: "Audio_ONE ToAudioDuration(Duration_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIODURATION_DUR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODURATION_DUR_PRM_DSC_0", identifier: "durationToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dur" }], examples: [{ input: "ToAudioDuration(MakeDuration(0, 1, 30, 0))", output: "AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDuration(MakeDuration(0, -1, 30, 0))", output: "AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDuration(MakeDuration(0, 1, 30, 5, 700))", output: "AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDuration(ToDuration(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_3" }] }] }, toAudioPhoneNumber: { identifier: "toAudioPhoneNumber", description: "AR_FN_DSC_TOAUDIOPHONENUMBER", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioPhoneNumber", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_DSC", identifier: "Audio_ONE ToAudioPhoneNumber(PhoneNumber_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, blankAudioForSipPhoneNumber: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PRM_DSC_0", identifier: "phoneNumberToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "phn" }], examples: [{ input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+13178723000"))', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPhoneNumber(ToPhoneNumber(Call.Ani))", output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("sip:john.doe@example.com"))', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_2" }, { input: "ToAudioPhoneNumber(ToPhoneNumber(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_3" }] }, { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_DSC", identifier: "Audio_ONE ToAudioPhoneNumber(PhoneNumber_ONE,PhoneNumberFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, blankAudioForSipPhoneNumber: true, runtimeSequencesSystemPrompts: true, featureToggleName: "archPhoneNumberPhase2", returnValue: { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_PRM_DSC_0", identifier: "phoneNumberToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "phn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_PRM_DSC_1", identifier: "phoneNumberFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "phf" }], examples: [{ input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+13178723000"), Format.PhoneNumber.local)', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+13178723000"), Format.PhoneNumber.global)', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+31755551212"), Format.PhoneNumber.local)', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPhoneNumber(ToPhoneNumber(Call.Ani), Format.PhoneNumber.global)", output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("sip:john.doe@example.com"), Format.PhoneNumber.global)', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_4" }, { input: "ToAudioPhoneNumber(ToPhoneNumber(NOT_SET), Format.PhoneNumber.local)", output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_5" }] }, { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_DSC", identifier: "Audio_ONE ToAudioPhoneNumber(PhoneNumber_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, blankAudioForSipPhoneNumber: true, runtimeSequencesSystemPrompts: true, featureToggleName: "archPhoneNumberPhase2", returnValue: { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_PRM_DSC_0", identifier: "phoneNumberToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "phn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_PRM_DSC_1", identifier: "dialingCode", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", literalValidatorName: "DialingCodes" }], examples: [{ input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+13178723000"), System.Regions.US.dialingCode)', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+13178723000"), ToString(NOT_SET))', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+13178723000"), System.Regions.NL.dialingCode)', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+31755551212"), "31")', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber(Call.Ani), "1")', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("sip:john.doe@example.com"))', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_5" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber(NOT_SET), "1")', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_6" }] }, { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_DSC", identifier: "Audio_ONE ToAudioPhoneNumber(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_PRM_DSC_0", identifier: "stringToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToAudioPhoneNumber("8125551234")', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber("812.555.1234")', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber("812-555-1234")', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPhoneNumber(ToString(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_3" }] }] }, toAudioCurrency: { identifier: "toAudioCurrency", description: "AR_FN_DSC_TOAUDIOCURRENCY", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioCurrency", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_DSC", identifier: "Audio_ONE ToAudioCurrency(Currency_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_PRM_DSC_0", identifier: "currencyToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }], examples: [{ input: 'ToAudioCurrency(MakeCurrency(1234567.0, "USD"))', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(ToCurrency("1.23|USD"))', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(1.23456789, "USD"))', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioCurrency(ToCurrency(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_3" }, { input: 'ToAudioCurrency(MakeCurrency(1.567, "USD"))', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }] }, { description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_DSC", identifier: "Audio_ONE ToAudioCurrency(Currency_ONE,CurrencyFormat_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_PRM_DSC_0", identifier: "currencyToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_PRM_DSC_1", identifier: "currencyAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cuf" }], examples: [{ input: 'ToAudioCurrency(MakeCurrency(1234567.80, "USD"), Format.Currency.majorUnitsOnly)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(1234567.80, "USD"), Format.Currency.minorUnitsOnly)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(2.80, "USD"), Format.Currency.asMinorUnits)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(ToCurrency("1.23|USD"), Format.Currency.playDigits)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(ToCurrency("30.20|USD"), Format.Currency.playDigits)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(ToCurrency("0.20|USD"), Format.Currency.playDigits)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_5", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioCurrency(ToCurrency(NOT_SET), Format.Currency.playDigits)", output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_6" }] }, { description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_DSC", identifier: "Audio_ONE ToAudioCurrency(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_PRM_DSC_0", identifier: "currencyToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_PRM_DSC_1", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToAudioCurrency(MakeCurrency(1.23, "USD"), 1)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(1.23, "USD"), 2)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(-35.23, "USD"), 2)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(1.23, "USD"), 3)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(1.23456, "USD"), 2)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(21.23456, "USD"), 2)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_5", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioCurrency(ToCurrency(NOT_SET), 2)", output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_6" }] }] }, toAudioPercent: { identifier: "toAudioPercent", description: "AR_FN_DSC_TOAUDIOPERCENT", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioPercent", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOPERCENT_LNG_DSC", identifier: "Audio_ONE ToAudioPercent(Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOPERCENT_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPERCENT_LNG_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToAudioPercent(123)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(5)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(ToInt(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOPERCENT_LNG_EX_OUT_2" }] }, { description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_DSC", identifier: "Audio_ONE ToAudioPercent(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }], examples: [{ input: "ToAudioPercent(123.12)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(0.2)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(ToDecimal(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_EX_OUT_2" }] }, { description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_DSC", identifier: "Audio_ONE ToAudioPercent(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_PRM_DSC_1", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToAudioPercent(123.12, 2)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(123.17, 1)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(123.12, 3)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(ToDecimal(NOT_SET), 1)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_3" }] }] }, toAudioDate: { identifier: "toAudioDate", description: "AR_FN_DSC_TOAUDIODATE", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioDate", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIODATE_DTM_DSC", identifier: "Audio_ONE ToAudioDate(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIODATE_DTM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATE_DTM_PRM_DSC_0", identifier: "dateTimeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }], examples: [{ input: "ToAudioDate(MakeDateTime(1989, 11, 30, 14, 22, 11))", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(ToDateTime(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_DSC", identifier: "Audio_ONE ToAudioDate(DateTime_ONE,DateTimeFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_PRM_DSC_0", identifier: "dateTimeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_PRM_DSC_1", identifier: "dateAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "daf" }], examples: [{ input: "ToAudioDate(MakeDateTime(1989, 11, 30, 14, 22, 11), Format.Date.longYear)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(1989, 11, 30, 14, 22, 11), Format.Date.shortYear)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(1989, 11, 30, 14, 22, 11), Format.Date.shortMonthAndDay)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(2014, 4, 7, 14, 22, 11), Format.Date.dayOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(2014, 4, 7, 14, 22, 11), Format.Date.monthOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(2014, 4, 7, 14, 22, 11), Format.Date.shortYearOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_5", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(2014, 4, 7, 14, 22, 11), Format.Date.longYearOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_6", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(2014, 11, 5, 12, 00, 00), Format.Date.dayOfWeekOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_7", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(ToDateTime(NOT_SET), Format.Date.longYearOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_8" }] }, { description: "AR_FN_AUDIO_TOAUDIODATE_DATE_DSC", identifier: "Audio_ONE ToAudioDate(Date_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIODATE_DATE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATE_DATE_PRM_DSC_0", identifier: "dateToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dat" }], examples: [{ input: "ToAudioDate(MakeDate(1989, 11, 30))", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(ToDate(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_DSC", identifier: "Audio_ONE ToAudioDate(Date_ONE,DateFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_PRM_DSC_0", identifier: "dateToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_PRM_DSC_1", identifier: "dateAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "daf" }], examples: [{ input: "ToAudioDate(MakeDate(1989, 11, 30), Format.Date.longYear)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(1989, 11, 30), Format.Date.shortYear)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(1989, 11, 30), Format.Date.shortMonthAndDay)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(2014, 4, 7), Format.Date.dayOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(2014, 4, 7), Format.Date.monthOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(2014, 4, 7), Format.Date.shortYearOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_5", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(2014, 4, 7), Format.Date.longYearOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_6", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(2014, 11, 5), Format.Date.dayOfWeekOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_7", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(ToDate(NOT_SET), Format.Date.longYearOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_8" }] }], needsServerInfo: true }, toAudioDateTime: { identifier: "toAudioDateTime", description: "AR_FN_DSC_TOAUDIODATETIME", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioDateTime", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_DSC", identifier: "Audio_ONE ToAudioDateTime(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_PRM_DSC_0", identifier: "dateTimeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }], examples: [{ input: "ToAudioDateTime(MakeDateTime(1989, 11, 30, 14, 22, 11))", output: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDateTime(MakeDateTime(1989, 11, 30, 14, 22, 11))", output: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDateTime(MakeDateTime(1989, 11, 30))", output: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDateTime(ToDateTime(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_3" }] }] }, toAudioTime: { identifier: "toAudioTime", description: "AR_FN_DSC_TOAUDIOTIME", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioTime", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_DSC", identifier: "Audio_ONE ToAudioTime(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_PRM_DSC_0", identifier: "dateTimeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }], examples: [{ input: "ToAudioTime(MakeDateTime(1989, 11, 30, 14, 22, 11))", output: "AR_FN_AUDIO_TOAUDIOTIME_DTM_EX_OUT_0" }, { input: "ToAudioTime(MakeDateTime(1989, 11, 30))", output: "AR_FN_AUDIO_TOAUDIOTIME_DTM_EX_OUT_1" }, { input: "ToAudioTime(ToDateTime(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOTIME_DTM_EX_OUT_2" }] }, { description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_DSC", identifier: "Audio_ONE ToAudioTime(DateTime_ONE,TimeFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_PRM_DSC_0", identifier: "dateTimeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_PRM_DSC_1", identifier: "timeAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tif" }], examples: [{ input: "ToAudioTime(MakeDateTime(2014, 4, 7, 14, 22, 11), Format.Time.twentyFourHours)", output: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioTime(MakeDateTime(2014, 4, 7, 14, 22, 11), Format.Time.twelveHours)", output: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioTime(ToDateTime(NOT_SET), Format.Time.twelveHours)", output: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_EX_OUT_2" }] }] }, toAudio: { identifier: "toAudio", description: "AR_FN_DSC_TOAUDIO", type: "function", name: "ToAudio", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIO_PROMPT_DSC", identifier: "Audio_ONE toAudio(Prompt_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_FN_AUDIO_TOAUDIO_PROMPT_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIO_PROMPT_PRM_DSC_0", identifier: "promptToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "pmt", checkPromptTTSLength: true }], examples: [{ input: "ToAudio(Prompt.Welcome)", output: "AR_FN_AUDIO_TOAUDIO_PROMPT_EX_OUT_0" }] }, { description: "AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_DSC", identifier: "Audio_ONE toAudio(Prompt_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_PRM_DSC_0", identifier: "promptCollectionToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "pmt" }], examples: [{ input: "ToAudio(MakeList(Prompt.Hello, Prompt.World))", output: "AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_EX_OUT_0" }] }, { description: "AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_DSC", identifier: "Audio_ONE toAudio(VoicemailSnippet_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { voicemail: "voicemail" }, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_PRM_DSC_0", identifier: "snippetToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cpx_voicemail_snippet" }], examples: [{ input: "ToAudio(Voicemail.VoicemailSnippet)", output: "AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_EX_OUT_0" }, { input: "ToAudio(ToVoicemailSnippet(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_DSC", identifier: "Audio_ONE toAudio(VoiceSnippet_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_PRM_DSC_0", identifier: "snippetToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cpx_voice_snippet" }], examples: [{ input: "ToAudio(Flow.ParticipantSnippet)", output: "AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_EX_OUT_0" }, { input: "ToAudio(ToVoiceSnippet(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIO_NTS_DSC", identifier: "Audio_ONE toAudio(Null_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIO_NTS_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIO_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToAudio(NOT_SET)", output: "AR_FN_AUDIO_TOAUDIO_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toCommunication: { identifier: "toCommunication", description: "AR_FN_DSC_TOCOMMUNICATION", type: "function", name: "ToCommunication", category: "cast", overloads: [{ description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_DSC", identifier: "Communication_ONE ToCommunication(Any_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_PRM_DSC_0", identifier: "anyValueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "ToCommunication(1)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_DSC", identifier: "Communication_ONE ToCommunication(Any_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_PRM_DSC_0", identifier: "anyValueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "ToCommunication(MakeList(1, 2))", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_DSC", identifier: "Communication_ONE ToCommunication(Any_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_PRM_DSC_0", identifier: "anyValueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToCommunication(MakeList(1, 2), ", ")', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_DSC", identifier: "Communication_ONE ToCommunication(Boolean_ONE,BoolFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_PRM_DSC_0", identifier: "boolToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_PRM_DSC_1", identifier: "boolCommunicationFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bof" }], examples: [{ input: "ToCommunication(false, Format.Bool.playYesNo)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(5 == 5, Format.Bool.playYesNo)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToBool(NOT_SET), Format.Bool.playYesNo)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_EX_OUT_2" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_DSC", identifier: "Communication_ONE ToCommunication(Currency_ONE,CurrencyFormat_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_PRM_DSC_0", identifier: "currencyToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_PRM_DSC_1", identifier: "currencyCommunicationFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cuf" }], examples: [{ input: 'ToCommunication(MakeCurrency(1234567.80, "USD"), Format.Currency.majorUnitsOnly)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToCommunication(MakeCurrency(1234567.80, "USD"), Format.Currency.minorUnitsOnly)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToCommunication(MakeCurrency(2.80, "USD"), Format.Currency.asMinorUnits)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToCurrency(NOT_SET), Format.Currency.playDigits)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_3" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_DSC", identifier: "Communication_ONE ToCommunication(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_PRM_DSC_0", identifier: "currencyToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_PRM_DSC_1", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToCommunication(MakeCurrency(1.27, "USD"), 1)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToCommunication(MakeCurrency(1.234, "USD"), 2)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToCommunication(MakeCurrency(1.23, "USD"), 3)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: 'ToCommunication(MakeCurrency(-35.23, "USD"), 2)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToCurrency(NOT_SET), 2)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_4" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_DSC", identifier: "Communication_ONE ToCommunication(Date_ONE,DateFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_PRM_DSC_0", identifier: "dateToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_PRM_DSC_1", identifier: "dateCommunicationFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "daf" }], examples: [{ input: "ToCommunication(MakeDate(1989, 11, 30), Format.Date.longYear)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(1989, 11, 30), Format.Date.shortYear)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(1989, 11, 30), Format.Date.shortMonthAndDay)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(2014, 4, 7), Format.Date.dayOnly)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(2014, 4, 7), Format.Date.monthOnly)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(2014, 4, 7), Format.Date.shortYearOnly)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_5", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(2014, 4, 7), Format.Date.longYearOnly)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_6", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(2014, 11, 5), Format.Date.dayOfWeekOnly)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_7", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToDate(NOT_SET), Format.Date.longYearOnly)", output: "A NOT_SET Communication." }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_DSC", identifier: "Communication_ONE ToCommunication(Decimal_ONE,NumberFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_PRM_DSC_1", identifier: "numberCommunicationFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }], examples: [{ input: "ToCommunication(5.5, Format.Number.playDigits)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(-500.0, Format.Number.playDigits)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToDecimal(NOT_SET), Format.Number.playDigits)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_EX_OUT_2" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_DSC", identifier: "Communication_ONE ToCommunication(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_PRM_DSC_1", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToCommunication(1.27, 1)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(1.234, 2)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(1.23, 3)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(-35.17, 2)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToDecimal(NOT_SET), 2)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_4" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Communication_ONE ToCommunication(Long_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "LanguageUniqueContext" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "languageContext", isArray: false, helpDisplayIdx: 1, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToCommunication(1, Language.Gender.masculine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(1, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(5, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(1, Language.Gender.feminine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(1, Language.Gender.feminine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(5, Language.Gender.feminine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_5", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(ToInt(NOT_SET), Language.Gender.neuter)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_6", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_DSC", identifier: "Communication_ONE ToCommunication(Long_ONE,NumberFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_PRM_DSC_1", identifier: "numberFormatting", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }], examples: [{ input: "ToCommunication(500, Format.Number.playDigits)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToInt(NOT_SET), Format.Number.playDigits)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_EX_OUT_1" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Communication_ONE ToCommunication(Long_ONE,NumberFormatEnum_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "numberFormatting", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2", identifier: "languageContext", isArray: false, helpDisplayIdx: 2, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToCommunication(12, Format.Number.playDigits, Language.Gender.masculine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(11, Format.Number.playDigits, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(55, Format.Number.playDigits, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(12, Format.Number.playDigits, Language.Gender.feminine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(12, Format.Number.playDigits, Language.Gender.feminine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(ToInt(NOT_SET), Format.Number.playDigits, Language.Gender.neuter)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_5", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_DSC", identifier: "Communication_ONE ToCommunication(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToCommunication(NOT_SET)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_EX_OUT_0" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_DSC", identifier: "Communication_ONE ToCommunication(String_ONE,StringFormat_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_PRM_DSC_1", identifier: "stringCommunicationFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "stf" }], examples: [{ input: 'ToCommunication("Hello", Format.String.playChars)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_EX_OUT_0" }, { input: "ToCommunication(ToString(NOT_SET), Format.String.playChars)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_EX_OUT_1" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_DSC", identifier: "Communication_ONE ToCommunication(Time_ONE,TimeFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_PRM_DSC_0", identifier: "timeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_PRM_DSC_1", identifier: "timeCommunicationFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tif" }], examples: [{ input: "ToCommunication(MakeTime(14, 22, 11), Format.Time.twentyFourHours)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeTime(14, 22, 11), Format.Time.twelveHours)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToTime(NOT_SET), Format.Time.twelveHours)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_DSC", identifier: "Communication_ONE ToCommunication(Time_ONE,TimePartEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_PRM_DSC_0", identifier: "timeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_PRM_DSC_1", identifier: "timePart", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tpf" }], examples: [{ input: "ToCommunication(MakeTime(9, 22, 11), Format.TimePart.hours)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeTime(14, 22, 11), Format.TimePart.minutes)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }] }], needsServerInfo: true }, toCommunicationBlank: { identifier: "toCommunicationBlank", description: "AR_FN_DSC_TOCOMMUNICATIONBLANK", type: "function", name: "ToCommunicationBlank", category: "cast", overloads: [{ description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_DSC", identifier: "Communication_ONE ToCommunicationBlank(Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", voice: "voice", voicesurvey: "voicesurvey" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_PRM_DSC_0", identifier: "lengthMs", isArray: false, helpDisplayIdx: 0, max: "10000", min: "0", repeatable: false, required: false, type: "int" }], examples: [{ input: "ToCommunicationBlank(500)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_EX_OUT_0" }, { input: "ToCommunicationBlank(ToInt(NOT_SET))", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_EX_OUT_1" }] }], needsServerInfo: true }, toCommunicationOrdinal: { identifier: "toCommunicationOrdinal", description: "AR_FN_DSC_TOCOMMUNICATIONORDINAL", type: "function", name: "ToCommunicationOrdinal", category: "cast", overloads: [{ description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_DSC", identifier: "Communication_ONE ToCommunicationOrdinal(Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToCommunicationOrdinal(1)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunicationOrdinal(201)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunicationOrdinal(500)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunicationOrdinal(5000)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunicationOrdinal(-500)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunicationOrdinal(ToInt(NOT_SET))", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_5", outputFlowCurrentLanguage: "en-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Communication_ONE ToCommunicationOrdinal(Long_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "LanguageUniqueContext" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "languageContext", isArray: false, helpDisplayIdx: 1, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToCommunicationOrdinal(1, Language.Gender.masculine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToCommunicationOrdinal(1, Language.Gender.feminine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToCommunicationOrdinal(1, Language.Gender.neuter)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToCommunicationOrdinal(-1, Language.Gender.masculine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToCommunicationOrdinal(ToInt(NOT_SET), Language.Gender.masculine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "fr-FR" }] }], needsServerInfo: true }, toCommunicationSsml: { identifier: "toCommunicationSsml", description: "AR_FN_DSC_TOCOMMUNICATIONSSML", type: "function", name: "ToCommunicationSsml", category: "cast", overloads: [{ description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_DSC", identifier: "Communication_ONE ToCommunicationSsml(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", voice: "voice", voicesurvey: "voicesurvey" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_PRM_DSC_0", identifier: "ssmlFragment", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToCommunicationSsml("SSML")', output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_EX_OUT_0" }, { input: 'ToCommunicationSsml("5")', output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_EX_OUT_1", outputFlowCurrentLanguage: "en-us" }, { input: "ToCommunicationSsml(NOT_SET)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_EX_OUT_2" }] }], needsServerInfo: true }, toMultimodalCommunication: { identifier: "toMultimodalCommunication", description: "AR_FN_DSC_TOMULTIMODALCOMMUNICATION", type: "function", name: "ToMultimodalCommunication", category: "cast", overloads: [{ description: "AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_DSC", identifier: "Communication_ONE ToMultimodalCommunication(Communication_ONE,Communication_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_PRM_DSC_0", identifier: "voiceModeCommunication", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "com" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_PRM_DSC_1", identifier: "textModeCommunication", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "com" }], examples: [{ input: "ToMultimodalCommunication(ToCommunication(1), ToCommunication(false, Format.Bool.playYesNo))", output: "AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToMultimodalCommunication(ToCommunication(NOT_SET), ToCommunication(NOT_SET))", output: "AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }] }], needsServerInfo: true }, toAudioNumber: { identifier: "toAudioNumber", description: "AR_FN_DSC_TOAUDIONUMBER", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioNumber", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_DSC", identifier: "Audio_ONE ToAudioNumber(Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToAudioNumber(1)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(500)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(-500)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(ToInt(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_3" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumber(Long_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "LanguageUniqueContext" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "languageContext", isArray: false, helpDisplayIdx: 1, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumber(1, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(5, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1, Language.Gender.feminine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(5, Language.Gender.feminine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_5", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(ToInt(NOT_SET), Language.Gender.neuter)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_6", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_DSC", identifier: "Audio_ONE ToAudioNumber(Long_ONE,NumberFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_PRM_DSC_1", identifier: "numberAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }], examples: [{ input: "ToAudioNumber(500, Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(-500, Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(ToInt(NOT_SET), Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_EX_OUT_2" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumber(Long_ONE,NumberFormatEnum_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "numberAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2", identifier: "languageContext", isArray: false, helpDisplayIdx: 2, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumber(12, Format.Number.playDigits, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(11, Format.Number.playDigits, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(55, Format.Number.playDigits, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(12, Format.Number.playDigits, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(12, Format.Number.playDigits, Language.Gender.feminine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(ToInt(NOT_SET), Format.Number.playDigits, Language.Gender.neuter)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_5", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }], examples: [{ input: "ToAudioNumber(500.00)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(-500.00)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(125.25)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_3" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "languageContext", isArray: false, helpDisplayIdx: 1, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumber(1.4, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.765, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.765, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.765, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(2.765, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_5", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,NumberFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_PRM_DSC_1", identifier: "numberAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }], examples: [{ input: "ToAudioNumber(5.5, Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(-500.0, Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(500.0, Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_3" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,NumberFormatEnum_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "numberAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2", identifier: "languageContext", isArray: false, helpDisplayIdx: 2, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumber(100.00, Format.Number.playDigits, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(100.00, Format.Number.playDigits, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(100.00, Format.Number.playDigits, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.765, Format.Number.playDigits, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.765, Format.Number.playDigits, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(2.765, Format.Number.playDigits, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_5", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), Format.Number.playDigits, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_6", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_PRM_DSC_1", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToAudioNumber(123.127, 2)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(-123.12, 4)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(0.234859, 3)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), 3)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_3" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,Long_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", isDecimalPlaces: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2", identifier: "languageContext", isArray: false, helpDisplayIdx: 2, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumber(1.127, 2, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.127, 2, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), 3, Language.Gender.neuter)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,NumberFormatEnum_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_PRM_DSC_1", identifier: "numberAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_PRM_DSC_2", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToAudioNumber(123.1234, Format.Number.playDigits, 3)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), Format.Number.playDigits, 3)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,NumberFormatEnum_ONE,Long_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "numberAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "int", isDecimalPlaces: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_3", identifier: "languageContext", isArray: false, helpDisplayIdx: 3, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumber(1.1234, Format.Number.playDigits, 3, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.1234, Format.Number.playDigits, 3, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), Format.Number.playDigits, 3, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }] }] }, toAudioNumberOrdinal: { identifier: "toAudioNumberOrdinal", description: "AR_FN_DSC_TOAUDIONUMBERORDINAL", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioNumberOrdinal", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_DSC", identifier: "Audio_ONE ToAudioNumberOrdinal(Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToAudioNumberOrdinal(1)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumberOrdinal(201)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumberOrdinal(500)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumberOrdinal(5000)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumberOrdinal(-500)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumberOrdinal(ToInt(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_5" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumberOrdinal(Long_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "LanguageUniqueContext" }, runtimeSequencesSystemPrompts: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "languageContext", isArray: false, helpDisplayIdx: 1, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumberOrdinal(1, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToAudioNumberOrdinal(1, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToAudioNumberOrdinal(1, Language.Gender.neuter)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "da-DK" }, { input: "ToAudioNumberOrdinal(-1, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToAudioNumberOrdinal(ToInt(NOT_SET), Language.Gender.neuter)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "da-DK" }] }], needsServerInfo: true }, toVoicemailSnippet: { identifier: "toVoicemailSnippet", description: "AR_FN_DSC_TOVOICEMAILSNIPPET", type: "function", name: "ToVoicemailSnippet", category: "cast", overloads: [{ description: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_DSC", identifier: "VoicemailSnippet_ONE toVoicemailSnippet(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_RV", isArray: false, type: "cpx_voicemail_snippet" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToVoicemailSnippet(NOT_SET)", output: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_EX_OUT_0" }] }, { description: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_DSC", identifier: "VoicemailSnippet_ONE toVoicemailSnippet(VoicemailSnippet_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_RV", isArray: false, type: "cpx_voicemail_snippet" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cpx_voicemail_snippet" }], examples: [{ input: "ToVoicemailSnippet(Voicemail.VoicemailSnippet)", output: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_EX_OUT_0" }] }], needsServerInfo: true }, toVoiceSnippet: { identifier: "toVoiceSnippet", description: "AR_FN_DSC_TOVOICESNIPPET", type: "function", name: "ToVoiceSnippet", category: "cast", overloads: [{ description: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_DSC", identifier: "VoiceSnippet_ONE toVoiceSnippet(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_RV", isArray: false, type: "cpx_voice_snippet" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToVoiceSnippet(NOT_SET)", output: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_EX_OUT_0" }] }, { description: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_DSC", identifier: "VoiceSnippet_ONE toVoiceSnippet(VoiceSnippet_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_RV", isArray: false, type: "cpx_voice_snippet" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cpx_voice_snippet" }], examples: [{ input: "ToVoiceSnippet(ToVoiceSnippet(NOT_SET))", output: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_EX_OUT_0" }] }], needsServerInfo: true }, getDefaultLanguage: { identifier: "getDefaultLanguage", description: "AR_FN_DSC_GETDEFAULTLANGUAGE", type: "function", name: "GetDefaultLanguage", category: "language", overloads: [{ description: "AR_FN_STR_GETDEFAULTSUPPORTEDLANGUAGE_DSC", identifier: "String_ONE getDefaultSupportedLanguage()", support: { version: "1.0", resolver: "None" }, hidden: true, returnValue: { description: "AR_FN_STR_GETDEFAULTSUPPORTEDLANGUAGE_RV", isArray: false, type: "str" }, parameters: [] }] }, getSupportedLanguages: { identifier: "getSupportedLanguages", description: "AR_FN_DSC_GETSUPPORTEDLANGUAGES", type: "function", name: "GetSupportedLanguages", category: "language", overloads: [{ description: "AR_FN_STR_COLL_GETSUPPORTEDLANGUAGES_DSC", identifier: "String_COLL getSupportedLanguages()", support: { version: "1.0", resolver: "None" }, hidden: true, returnValue: { description: "AR_FN_STR_COLL_GETSUPPORTEDLANGUAGES_RV", isArray: true, type: "str" }, parameters: [] }] }, getCurrentDateTimeUtc: { identifier: "getCurrentDateTimeUtc", description: "AR_FN_DSC_GETCURRENTDATETIMEUTC", type: "function", name: "GetCurrentDateTimeUtc", category: "datetime", overloads: [{ description: "AR_FN_DTM_GETCURRENTDATETIMEUTC_DSC", identifier: "DateTime_ONE getCurrentDateTimeUtc()", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_GETCURRENTDATETIMEUTC_RV", isArray: false, type: "dtm" }, parameters: [], examples: [{ input: "GetCurrentDateTimeUtc()", output: "AR_FN_DTM_GETCURRENTDATETIMEUTC_EX_OUT_0" }] }] }, getDeflectionUrl: { identifier: "getDeflectionUrl", description: "AR_FN_DSC_GETDEFLECTIONURL", type: "function", name: "GetDeflectionUrl", category: "text", overloads: [{ description: "AR_FN_STR_GETDEFLECTIONURL_STR_STR_DSC", identifier: "String_ONE getDeflectionUrl(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_GETDEFLECTIONURL_STR_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_GETDEFLECTIONURL_STR_STR_PRM_DSC_0", identifier: "service", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", literalValidatorName: "SupportedDigitalChannels" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_GETDEFLECTIONURL_STR_STR_PRM_DSC_1", identifier: "accountId", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str", minLength: "1" }], examples: [{ input: 'GetDeflectionUrl("facebook", "genesys")', output: "AR_FN_STR_GETDEFLECTIONURL_STR_STR_EX_OUT_0" }] }], needsServerInfo: true }, getSurveyQuestionAnswer: { identifier: "getSurveyQuestionAnswer", description: "AR_FN_DSC_GETSURVEYQUESTIONANSWER", type: "function", name: "GetSurveyQuestionAnswer", category: "survey", overloads: [{ description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_DSC", identifier: "String_ONE getSurveyQuestionAnswer(SurveyQuestion_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_PRM_DSC_0", identifier: "surveyQuestion", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "squ" }], examples: [{ input: "getSurveyQuestionAnswer(Form.Group1_Question1)", output: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_EX_OUT_0" }, { input: "getSurveyQuestionAnswer(NOT_SET)", output: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_EX_OUT_1" }] }, { description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_DSC", identifier: "String_ONE getSurveyQuestionAnswer(SurveyQuestion_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_PRM_DSC_0", identifier: "surveyQuestion", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "squ" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_PRM_DSC_1", identifier: "isForFollowUp", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "bln" }], examples: [{ input: "getSurveyQuestionAnswer(Form.Group1_Question1, true)", output: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_0" }, { input: "getSurveyQuestionAnswer(Form.Group1_Question1, false)", output: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_1" }, { input: "getSurveyQuestionAnswer(NOT_SET, true)", output: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_2" }, { input: "getSurveyQuestionAnswer(Form.Group1_Question1, NOT_SET)", output: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_3" }] }], needsServerInfo: true }, getSurveyQuestionIsAnswered: { identifier: "getSurveyQuestionIsAnswered", description: "AR_FN_DSC_GETSURVEYQUESTIONISANSWERED", type: "function", name: "GetSurveyQuestionIsAnswered", category: "survey", overloads: [{ description: "AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_DSC", identifier: "Boolean_ONE getSurveyQuestionIsAnswered(SurveyQuestion_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_PRM_DSC_0", identifier: "surveyQuestion", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "squ" }], examples: [{ input: "getSurveyQuestionIsAnswered(Form.Group1_Question1)", output: "AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_EX_OUT_0" }, { input: "getSurveyQuestionIsAnswered(NOT_SET)", output: "false" }] }], needsServerInfo: true }, getSurveyQuestionNpsCategory: { identifier: "getSurveyQuestionNpsCategory", description: "AR_FN_DSC_GETSURVEYQUESTIONNPSCATEGORY", type: "function", name: "GetSurveyQuestionNpsCategory", category: "survey", overloads: [{ description: "AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_DSC", identifier: "String_ONE getSurveyQuestionNpsCategory(SurveyQuestion_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_PRM_DSC_0", identifier: "surveyQuestion", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "squ" }], examples: [{ input: "getSurveyQuestionNpsCategory(Form.Group1_Question1)", output: "AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_EX_OUT_0" }, { input: "getSurveyQuestionNpsCategory(NOT_SET)", output: "AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_EX_OUT_1" }] }], needsServerInfo: true }, random: { identifier: "random", description: "AR_FN_DSC_RANDOM", type: "function", name: "Random", category: "mathematical", overloads: [{ description: "AR_FN_DEC_RANDOM_DSC", identifier: "Decimal_ONE random()", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DEC_RANDOM_RV", isArray: false, type: "dec" }, parameters: [], examples: [{ input: "random()", output: "0.1307734" }] }], needsServerInfo: true }, randomInt: { identifier: "randomInt", description: "AR_FN_DSC_RANDOMINT", type: "function", name: "RandomInt", category: "mathematical", overloads: [{ description: "AR_FN_LNG_RANDOMINT_LNG_DSC", identifier: "Long_ONE randomInt(Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_RANDOMINT_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_RANDOMINT_LNG_PRM_DSC_0", identifier: "limit", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "randomInt(3)", output: "1" }, { input: "randomInt(3)", output: "3" }, { input: "randomInt(-5)", output: "-4" }, { input: "randomInt(0)", output: "0" }, { input: "randomInt(100)", output: "AR_FN_LNG_RANDOMINT_LNG_EX_OUT_4" }, { input: "randomInt(99) + 1", output: "AR_FN_LNG_RANDOMINT_LNG_EX_OUT_5" }] }], needsServerInfo: true }, roundUp: { identifier: "roundUp", description: "AR_FN_DSC_ROUNDUP", type: "function", name: "RoundUp", category: "datetime", overloads: [{ description: "AR_FN_DUR_ROUNDUP_DUR_DSC", identifier: "Duration_ONE RoundUp(Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_ROUNDUP_DUR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_ROUNDUP_DUR_PRM_DSC_0", identifier: "durationToRound", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }], examples: [{ input: "RoundUp(MakeDuration(0, 0, 2, 35, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_EX_OUT_0" }, { input: "RoundUp(MakeDuration(0, 0, 0, 37, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_EX_OUT_1" }, { input: "RoundUp(MakeDuration(0, 0, 5, 0, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_EX_OUT_2" }, { input: "RoundUp(MakeDuration(0, 0, 22, 30, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_EX_OUT_3" }, { input: "RoundUp(MakeDuration(0, 1, 22, 30, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_EX_OUT_4" }] }, { description: "AR_FN_DUR_ROUNDUP_DUR_DUR_DSC", identifier: "Duration_ONE RoundUp(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_ROUNDUP_DUR_DUR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_ROUNDUP_DUR_DUR_PRM_DSC_0", identifier: "durationToRound", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_ROUNDUP_DUR_DUR_PRM_DSC_1", identifier: "intervalDurationValue", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "RoundUp(MakeDuration(0, 0, 2, 35, 0), MakeDuration(0, 0, 3, 0, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_DUR_EX_OUT_0" }, { input: "RoundUp(MakeDuration(0, 0, 5, 0, 0), MakeDuration(0, 0, 5, 0, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_DUR_EX_OUT_1" }] }, { description: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_DSC", identifier: "Duration_ONE RoundUp(Duration_ONE,Duration_ONE,Duration_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_PRM_DSC_0", identifier: "durationToRound", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_PRM_DSC_1", identifier: "intervalDurationValue", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_PRM_DSC_2", identifier: "specificDurationValues", isArray: true, helpDisplayIdx: 2, repeatable: false, required: true, type: "dur" }], examples: [{ input: "RoundUp(MakeDuration(0, 0, 2, 35, 0), MakeDuration(0, 0, 5, 0, 0), MakeList(MakeDuration(0, 0, 1, 0, 0), MakeDuration(0, 0, 2, 30, 0), MakeDuration(0, 0, 4, 0, 0)))", output: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_EX_OUT_0" }, { input: "RoundUp(MakeDuration(0, 0, 22, 35, 0), MakeDuration(0, 0, 5, 0, 0), MakeList(MakeDuration(0, 0, 1, 0, 0), MakeDuration(0, 0, 2, 30, 0), MakeDuration(0, 0, 15, 0, 0)))", output: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_EX_OUT_1" }] }] }, range: { identifier: "range", description: "AR_FN_DSC_RANGE", type: "function", name: "Range", category: "datetime", overloads: [{ description: "AR_FN_DUR_COLL_RANGE_DUR_DUR_DSC", identifier: "Duration_COLL Range(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_COLL_RANGE_DUR_DUR_RV", isArray: true, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_COLL_RANGE_DUR_DUR_PRM_DSC_0", identifier: "durationToRound", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_COLL_RANGE_DUR_DUR_PRM_DSC_1", identifier: "intervalDuration", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "Range(MakeDuration(0, 5, 0, 0, 0), MakeDuration(0, 2, 0, 0, 0))", output: "AR_FN_DUR_COLL_RANGE_DUR_DUR_EX_OUT_0" }] }] }, toAudioTimeRange: { identifier: "toAudioTimeRange", description: "AR_FN_DSC_TOAUDIOTIMERANGE", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioTimeRange", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_DSC", identifier: "Audio_ONE ToAudioTimeRange(Long_ONE,Long_ONE,TimePartEnumDataType_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_PRM_DSC_0", identifier: "lowerBound", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_PRM_DSC_1", identifier: "upperBound", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_PRM_DSC_2", identifier: "timePart", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "tpf" }], examples: [{ input: "ToAudioTimeRange(4, 6, Format.TimePart.minutes)", output: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_0" }, { input: "ToAudioTimeRange(15, 8, Format.TimePart.minutes)", output: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_1" }, { input: "ToAudioTimeRange(10, 15, Format.TimePart.hours)", output: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_2" }, { input: "ToAudioTimeRange(1, 1, Format.TimePart.hours)", output: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_3" }] }], needsServerInfo: true }, emailAddressDomainPart: { identifier: "emailAddressDomainPart", description: "AR_FN_DSC_EMAILADDRESSDOMAINPART", type: "function", name: "EmailAddressDomainPart", category: "email", overloads: [{ description: "AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_DSC", identifier: "String_ONE EmailAddressDomainPart(EmailAddress_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundemail: "inboundemail", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_PRM_DSC_0", identifier: "emailAddress", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cpx_email_address" }], examples: [{ input: "EmailAddressDomainPart(Email.Message.from)", output: "AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_EX_OUT_0" }] }, { description: "AR_FN_STR_EMAILADDRESSDOMAINPART_STR_DSC", identifier: "String_ONE EmailAddressDomainPart(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundemail: "inboundemail", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_EMAILADDRESSDOMAINPART_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_EMAILADDRESSDOMAINPART_STR_PRM_DSC_0", identifier: "emailAddressString", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'EmailAddressDomainPart("john.doe@company.com")', output: '"company.com"' }, { input: 'EmailAddressDomainPart("abc")', output: "AR_FN_STR_EMAILADDRESSDOMAINPART_STR_EX_OUT_1" }, { input: "EmailAddressDomainPart(ToString(NOT_SET))", output: "AR_FN_STR_EMAILADDRESSDOMAINPART_STR_EX_OUT_2" }] }], needsServerInfo: true }, emailAddressLocalPart: { identifier: "emailAddressLocalPart", description: "AR_FN_DSC_EMAILADDRESSLOCALPART", type: "function", name: "EmailAddressLocalPart", category: "email", overloads: [{ description: "AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_DSC", identifier: "String_ONE EmailAddressLocalPart(EmailAddress_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundemail: "inboundemail", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_PRM_DSC_0", identifier: "emailAddress", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cpx_email_address" }], examples: [{ input: "EmailAddressLocalPart(Email.Message.from)", output: "AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_EX_OUT_0" }] }, { description: "AR_FN_STR_EMAILADDRESSLOCALPART_STR_DSC", identifier: "String_ONE EmailAddressLocalPart(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundemail: "inboundemail", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_EMAILADDRESSLOCALPART_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_EMAILADDRESSLOCALPART_STR_PRM_DSC_0", identifier: "emailAddressString", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'EmailAddressLocalPart("john.doe@company.com")', output: '"john.doe"' }, { input: 'EmailAddressLocalPart("abc")', output: "AR_FN_STR_EMAILADDRESSLOCALPART_STR_EX_OUT_1" }, { input: "EmailAddressLocalPart(ToString(NOT_SET))", output: "AR_FN_STR_EMAILADDRESSLOCALPART_STR_EX_OUT_2" }] }], needsServerInfo: true }, makeEmailAddress: { identifier: "makeEmailAddress", description: "AR_FN_DSC_MAKEEMAILADDRESS", type: "function", name: "MakeEmailAddress", category: "email", overloads: [{ description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_DSC", identifier: "EmailAddress_ONE makeEmailAddress(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_RV", isArray: false, type: "cpx_email_address" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_PRM_DSC_0", identifier: "address", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'MakeEmailAddress("john.doe@company.com")', output: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_EX_OUT_0" }, { input: 'MakeEmailAddress("john.doe@company.com").id', output: '"john.doe@company.com"' }, { input: 'MakeEmailAddress("john.doe@company.com").name', output: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_EX_OUT_2" }] }, { description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_DSC", identifier: "EmailAddress_ONE makeEmailAddress(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_RV", isArray: false, type: "cpx_email_address" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_PRM_DSC_0", identifier: "address", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_PRM_DSC_1", identifier: "name", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeEmailAddress("john.doe@company.com", "John")', output: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_EX_OUT_0" }, { input: 'MakeEmailAddress("john.doe@company.com", "John").id', output: '"john.doe@company.com"' }, { input: 'MakeEmailAddress("john.doe@company.com", "John").name', output: '"John"' }, { input: 'MakeEmailAddress("john.doe@company.com", ToString(NOT_SET)).name', output: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_EX_OUT_3" }] }], needsServerInfo: true }, detectLanguage: { identifier: "detectLanguage", description: "AR_FN_DSC_DETECTLANGUAGE", type: "function", name: "DetectLanguage", category: "text", overloads: [{ description: "AR_FN_STR_DETECTLANGUAGE_STR_STR_DSC", identifier: "String_ONE detectLanguage(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedReturnValueTypeInfo: "languageTag", supportedReturnValuesTitle: "possibleDetectedLanguages", supportedReturnValues: ["ar", "cs", "da", "de", "el", "en", "es", "fi", "fr", "hu", "it", "ja", "ko", "ms", "nl", "no", "pl", "pt", "ru", "sk", "sv", "th", "tr", "uk", "zh"], needsServerInfo: true, returnValue: { description: "AR_FN_STR_DETECTLANGUAGE_STR_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_DETECTLANGUAGE_STR_STR_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_DETECTLANGUAGE_STR_STR_PRM_DSC_1", identifier: "defaultString", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'DetectLanguage(Email.Message.body, "")', output: "AR_FN_STR_DETECTLANGUAGE_STR_STR_EX_OUT_0" }, { input: 'DetectLanguage("This is a test that should verify our ability to find a language in a string of native text.", "")', output: '"en"' }, { input: 'DetectLanguage("Esta es una prueba que debe verificar nuestra capacidad de encontrar un lenguaje en una cadena de texto nativo.", "en")', output: '"es"' }, { input: 'DetectLanguage("Dies ist ein Test, dass unsere F\xE4higkeit \xFCberpr\xFCfen, sollte die Sprache in einer Reihe von nativen Text zu finden.", "en")', output: '"de"' }, { input: 'DetectLanguage("\uC774 \uAE30\uBCF8 \uD14D\uC2A4\uD2B8 \uBB38\uC790\uC5F4\uC758 \uC5B8\uC5B4\uB97C \uCC3E\uC744 \uC218\uC788\uB294 \uC6B0\uB9AC\uC758 \uB2A5\uB825\uC744 \uD655\uC778\uD574\uC57C\uD569\uB2C8\uB2E4 \uD14C\uC2A4\uD2B8\uC785\uB2C8\uB2E4.", ToString(NOT_SET))', output: '"ko"' }, { input: 'DetectLanguage(ToString(NOT_SET), "en")', output: '"en"' }, { input: 'DetectLanguage(" ", "auto")', output: '"auto"' }, { input: "DetectLanguage(ToString(NOT_SET), ToString(NOT_SET))", output: "AR_FN_STR_DETECTLANGUAGE_STR_STR_EX_OUT_7" }] }], needsServerInfo: true }, getPromptTextToSpeech: { identifier: "getPromptTextToSpeech", description: "AR_FN_DSC_GETPROMPTTEXTTOSPEECH", type: "function", name: "GetPromptTextToSpeech", category: "prompt", overloads: [{ description: "AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_DSC", identifier: "String_ONE getPromptTextToSpeech(Prompt_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_PRM_DSC_0", identifier: "prompt", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "pmt" }], examples: [{ input: "GetPromptTextToSpeech(PromptSystem.month_january)", output: '"enero"', outputFlowCurrentLanguage: "es-US" }, { input: "GetPromptTextToSpeech(Prompt.Greeting)", output: "AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_EX_OUT_1" }, { input: "GetPromptTextToSpeech(FindUserPrompt(NOT_SET))", output: "AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_EX_OUT_2" }] }], needsServerInfo: true }, getPromptDuration: { identifier: "getPromptDuration", description: "AR_FN_DSC_GETPROMPTDURATION", type: "function", name: "GetPromptDuration", category: "prompt", overloads: [{ description: "AR_FN_DUR_GETPROMPTDURATION_PROMPT_DSC", identifier: "Duration_ONE getPromptDuration(Prompt_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DUR_GETPROMPTDURATION_PROMPT_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_GETPROMPTDURATION_PROMPT_PRM_DSC_0", identifier: "prompt", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "pmt" }], examples: [{ input: "GetPromptDuration(PromptSystem.month_january)", output: "AR_FN_DUR_GETPROMPTDURATION_PROMPT_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "GetPromptDuration(Prompt.Greeting)", output: "AR_FN_DUR_GETPROMPTDURATION_PROMPT_EX_OUT_1" }, { input: "GetPromptDuration(FindUserPrompt(NOT_SET))", output: "AR_FN_DUR_GETPROMPTDURATION_PROMPT_EX_OUT_2" }] }], needsServerInfo: true }, getPromptText: { identifier: "getPromptText", description: "AR_FN_DSC_GETPROMPTTEXT", type: "function", name: "GetPromptText", category: "prompt", overloads: [{ description: "AR_FN_STR_GETPROMPTTEXT_PROMPT_DSC", identifier: "String_ONE getPromptText(Prompt_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_GETPROMPTTEXT_PROMPT_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETPROMPTTEXT_PROMPT_PRM_DSC_0", identifier: "prompt", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "pmt" }], examples: [{ input: "getPromptText(PromptSystem.month_january)", output: '"enero"', outputFlowCurrentLanguage: "es-US" }, { input: "getPromptText(Prompt.Greeting)", output: "AR_FN_STR_GETPROMPTTEXT_PROMPT_EX_OUT_1" }, { input: "getPromptText(FindUserPrompt(NOT_SET))", output: "AR_FN_STR_GETPROMPTTEXT_PROMPT_EX_OUT_2" }] }], needsServerInfo: true }, isJsonArray: { identifier: "isJsonArray", description: "AR_FN_DSC_ISJSONARRAY", type: "function", name: "IsJsonArray", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONARRAY_JSON_DSC", identifier: "Boolean_ONE isJsonArray(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONARRAY_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONARRAY_JSON_PRM_DSC_0", identifier: "valueToCheck", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonArray(JsonParse("[ 1, 2, 3 ]"))', output: "true" }, { input: "IsJsonArray(MakeEmptyJsonObject())", output: "false" }, { input: "IsJsonArray(MakeEmptyJsonArray())", output: "true" }] }], needsServerInfo: true }, isJsonBool: { identifier: "isJsonBool", description: "AR_FN_DSC_ISJSONBOOL", type: "function", name: "IsJsonBool", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONBOOL_JSON_DSC", identifier: "Boolean_ONE isJsonBool(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONBOOL_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONBOOL_JSON_PRM_DSC_0", identifier: "valueToCheck", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonBool(JsonParse("true"))', output: "true" }, { input: 'IsJsonBool(JsonParse("false"))', output: "true" }, { input: "IsJsonBool(ToJson(ToBool(NOT_SET)))", output: "false" }, { input: "IsJsonBool(MakeEmptyJsonObject())", output: "false" }] }], needsServerInfo: true }, isJsonNull: { identifier: "isJsonNull", description: "AR_FN_DSC_ISJSONNULL", type: "function", name: "IsJsonNull", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONNULL_JSON_DSC", identifier: "Boolean_ONE isJsonNull(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONNULL_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONNULL_JSON_PRM_DSC_0", identifier: "valueToCheck", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonNull(JsonParse("null"))', output: "true" }, { input: "IsJsonNull(ToJson(NOT_SET))", output: "false" }, { input: 'IsJsonNull(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"))', output: "false" }, { input: "IsJsonNull(MakeNullJson())", output: "true" }] }], needsServerInfo: true }, isJsonNumber: { identifier: "isJsonNumber", description: "AR_FN_DSC_ISJSONNUMBER", type: "function", name: "IsJsonNumber", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONNUMBER_JSON_DSC", identifier: "Boolean_ONE isJsonNumber(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONNUMBER_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONNUMBER_JSON_PRM_DSC_0", identifier: "valueToCheck", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonNumber(JsonParse("null"))', output: "false" }, { input: "IsJsonNumber(ToJson(5))", output: "true" }, { input: "IsJsonNumber(ToJson(5 * 3.5))", output: "true" }, { input: 'IsJsonNumber(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"))', output: "false" }] }], needsServerInfo: true }, isJsonObject: { identifier: "isJsonObject", description: "AR_FN_DSC_ISJSONOBJECT", type: "function", name: "IsJsonObject", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONOBJECT_JSON_DSC", identifier: "Boolean_ONE isJsonObject(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONOBJECT_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONOBJECT_JSON_PRM_DSC_0", identifier: "valueToCheck", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonObject(JsonParse("null"))', output: "false" }, { input: 'IsJsonObject(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"))', output: "true" }, { input: "IsJsonObject(MakeEmptyJsonObject())", output: "true" }, { input: 'IsJsonObject(ToJson("true"))', output: "false" }] }], needsServerInfo: true }, isJsonString: { identifier: "isJsonString", description: "AR_FN_DSC_ISJSONSTRING", type: "function", name: "IsJsonString", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONSTRING_JSON_DSC", identifier: "Boolean_ONE isJsonString(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONSTRING_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONSTRING_JSON_PRM_DSC_0", identifier: "valueToCheck", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonString(JsonParse("null"))', output: "false" }, { input: 'IsJsonString(JsonParse("\\"Hello\\""))', output: "true" }, { input: "IsJsonString(ToJson(100))", output: "false" }, { input: "IsJsonString(MakeEmptyJsonString())", output: "true" }] }], needsServerInfo: true }, jsonParse: { identifier: "jsonParse", description: "AR_FN_DSC_JSONPARSE", type: "function", name: "JsonParse", category: "json", overloads: [{ description: "AR_FN_JSON_JSONPARSE_STR_DSC", identifier: "JSON_ONE jsonParse(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_JSONPARSE_STR_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_JSONPARSE_STR_PRM_DSC_0", identifier: "valueToParse", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'JsonParse("\\"Hello\\"")', output: "AR_FN_JSON_JSONPARSE_STR_EX_OUT_0" }, { input: 'JsonParse("[ 0, 1, 2 ]")', output: "AR_FN_JSON_JSONPARSE_STR_EX_OUT_1" }, { input: 'JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ], \\"d\\": null }")', output: 'A JSON value that contains a JSON object of { "a": true, "b": 100, "c": [ true, false ], "c": null }' }, { input: "JsonParse(ToString(NOT_SET))", output: "AR_FN_JSON_JSONPARSE_STR_EX_OUT_3" }, { input: 'JsonParse("true")', output: "AR_FN_JSON_JSONPARSE_STR_EX_OUT_4" }] }], needsServerInfo: true }, makeEmptyJsonArray: { identifier: "makeEmptyJsonArray", description: "AR_FN_DSC_MAKEEMPTYJSONARRAY", type: "function", name: "MakeEmptyJsonArray", category: "json", overloads: [{ description: "AR_FN_JSON_MAKEEMPTYJSONARRAY_DSC", identifier: "JSON_ONE makeEmptyJsonArray()", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_MAKEEMPTYJSONARRAY_RV", isArray: false, type: "jsn" }, parameters: [], examples: [{ input: "MakeEmptyJsonArray()", output: "AR_FN_JSON_MAKEEMPTYJSONARRAY_EX_OUT_0" }] }], needsServerInfo: true }, makeEmptyJsonObject: { identifier: "makeEmptyJsonObject", description: "AR_FN_DSC_MAKEEMPTYJSONOBJECT", type: "function", name: "MakeEmptyJsonObject", category: "json", overloads: [{ description: "AR_FN_JSON_MAKEEMPTYJSONOBJECT_DSC", identifier: "JSON_ONE makeEmptyJsonObject()", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_MAKEEMPTYJSONOBJECT_RV", isArray: false, type: "jsn" }, parameters: [], examples: [{ input: "MakeEmptyJsonObject()", output: "AR_FN_JSON_MAKEEMPTYJSONOBJECT_EX_OUT_0" }] }], needsServerInfo: true }, makeEmptyJsonString: { identifier: "makeEmptyJsonString", description: "AR_FN_DSC_MAKEEMPTYJSONSTRING", type: "function", name: "MakeEmptyJsonString", category: "json", overloads: [{ description: "AR_FN_JSON_MAKEEMPTYJSONSTRING_DSC", identifier: "JSON_ONE makeEmptyJsonString()", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_MAKEEMPTYJSONSTRING_RV", isArray: false, type: "jsn" }, parameters: [], examples: [{ input: "MakeEmptyJsonString()", output: "AR_FN_JSON_MAKEEMPTYJSONSTRING_EX_OUT_0" }] }], needsServerInfo: true }, makeNullJson: { identifier: "makeNullJson", description: "AR_FN_DSC_MAKENULLJSON", type: "function", name: "MakeNullJson", category: "json", overloads: [{ description: "AR_FN_JSON_MAKENULLJSON_DSC", identifier: "JSON_ONE makeNullJson()", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_MAKENULLJSON_RV", isArray: false, type: "jsn" }, parameters: [], examples: [{ input: "MakeNullJson()", output: "AR_FN_JSON_MAKENULLJSON_EX_OUT_0" }] }], needsServerInfo: true }, toJson: { identifier: "toJson", description: "AR_FN_DSC_TOJSON", type: "function", name: "ToJson", category: "cast", overloads: [{ description: "AR_FN_JSON_TOJSON_ANY_DSC", identifier: "JSON_ONE toJson(Any_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_TOJSON_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_TOJSON_ANY_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "ToJson(MakeDateTime(2022, 8, 4, 0, 0, 0))", output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_0" }, { input: 'ToJson("Hello")', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_1" }, { input: "ToJson(5)", output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_2" }, { input: 'ToJson("{ \\"a\\": true }")', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_3" }, { input: 'ToJson(MakeCurrency(5.25, "USD"))', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_4" }, { input: 'ToJson(ToPhoneNumber("tel:+13178723000"))', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_5" }, { input: 'ToJson(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_6", featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToJson(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))))', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_7", featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToJson(MakeListPicker(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))), MakeImageFromUrl(NOT_SET), "Menu", "Items to order", MakeImageFromUrl(NOT_SET), NOT_SET))', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_8", featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_JSON_TOJSON_ANY_COLL_DSC", identifier: "JSON_ONE toJson(Any_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_TOJSON_ANY_COLL_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_TOJSON_ANY_COLL_PRM_DSC_0", identifier: "value", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "ToJson(MakeList(1, 2, 3))", output: "AR_FN_JSON_TOJSON_ANY_COLL_EX_OUT_0" }, { input: 'ToJson(MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET))))', output: "AR_FN_JSON_TOJSON_ANY_COLL_EX_OUT_1", featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToJson(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))))', output: "AR_FN_JSON_TOJSON_ANY_COLL_EX_OUT_2", featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_JSON_TOJSON_NTS_DSC", identifier: "JSON_ONE toJson(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_TOJSON_NTS_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_TOJSON_NTS_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToJson(NOT_SET)", output: "AR_FN_JSON_TOJSON_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toJsonCollection: { identifier: "toJsonCollection", description: "AR_FN_DSC_TOJSONCOLLECTION", type: "function", name: "ToJsonCollection", category: "cast", overloads: [{ description: "AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_DSC", identifier: "JSON_COLL toJsonCollection(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, addsToCollection: true, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_RV", isArray: true, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }], examples: [{ input: 'ToJsonCollection(JsonParse("[ true, 100 ]"))', output: "AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_EX_OUT_0" }, { input: "ToJsonCollection(MakeEmptyJsonArray())", output: "AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_EX_OUT_1" }, { input: 'Count(ToJsonCollection(JsonParse("[ true, 100 ]")))', output: "2" }, { input: 'Count(AddItem(ToJsonCollection(JsonParse("[ true, 100 ]")), MakeEmptyJsonObject()))', output: "3" }] }], needsServerInfo: true }, jsonStringify: { identifier: "jsonStringify", description: "AR_FN_DSC_JSONSTRINGIFY", type: "function", name: "JsonStringify", category: "json", overloads: [{ description: "AR_FN_STR_JSONSTRINGIFY_ANY_DSC", identifier: "String_ONE jsonStringify(Any_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_JSONSTRINGIFY_ANY_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_JSONSTRINGIFY_ANY_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "JsonStringify(5)", output: '"5"' }, { input: "JsonStringify(ToInt(NOT_SET))", output: '"null"' }, { input: 'JsonStringify("Hello World")', output: '"\\"Hello World\\""' }, { input: "JsonStringify(MakeEmptyJsonObject())", output: '"{}"' }] }, { description: "AR_FN_STR_JSONSTRINGIFY_ANY_COLL_DSC", identifier: "String_ONE jsonStringify(Any_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_JSONSTRINGIFY_ANY_COLL_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_JSONSTRINGIFY_ANY_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "JsonStringify(MakeList(3, 5))", output: '"[3,5]"' }, { input: "JsonStringify(MakeList(ToInt(NOT_SET), 10))", output: '"[null,10]"' }, { input: 'JsonStringify(MakeList("Hello", "World"))', output: '"[\\"Hello\\",\\"World\\"]"' }, { input: 'JsonStringify(MakeList(MakeEmptyJsonObject(), JsonParse("{\\"a\\": true}")))', output: '"[{},{\\"a\\":true}]"' }] }, { description: "AR_FN_STR_JSONSTRINGIFY_NTS_DSC", identifier: "String_ONE jsonStringify(Null_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_JSONSTRINGIFY_NTS_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_JSONSTRINGIFY_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "JsonStringify(NOT_SET)", output: '"null"' }] }], needsServerInfo: true }, isJsonTruthy: { identifier: "isJsonTruthy", description: "AR_FN_DSC_ISJSONTRUTHY", type: "function", name: "IsJsonTruthy", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONTRUTHY_JSON_DSC", identifier: "Boolean_ONE IsJsonTruthy(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONTRUTHY_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONTRUTHY_JSON_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonTruthy(JsonParse("true"))', output: "true" }, { input: 'IsJsonTruthy(JsonParse("false"))', output: "false" }, { input: 'IsJsonTruthy(JsonParse("Hello World"))', output: "true" }, { input: "IsJsonTruthy(ToJson(0))", output: "false" }, { input: 'IsJsonTruthy(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"))', output: "true" }, { input: "IsJsonTruthy(ToJson(5 * 5))", output: "true" }] }], needsServerInfo: true }, deleteJsonObjectProperty: { identifier: "deleteJsonObjectProperty", description: "AR_FN_DSC_DELETEJSONOBJECTPROPERTY", type: "function", name: "DeleteJsonObjectProperty", category: "json", overloads: [{ description: "AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_DSC", identifier: "JSON_ONE deleteJsonObjectProperty(JSON_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: true, description: "AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_0", identifier: "jsonObject", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: 'DeleteJsonObjectProperty(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"), "c")', output: "AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_EX_OUT_0" }, { input: 'DeleteJsonObjectProperty(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"d\\": [ true, false ] }"), "c")', output: "AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_EX_OUT_1" }] }], needsServerInfo: true }, getJsonObjectProperty: { identifier: "getJsonObjectProperty", description: "AR_FN_DSC_GETJSONOBJECTPROPERTY", type: "function", name: "GetJsonObjectProperty", category: "json", overloads: [{ description: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_DSC", identifier: "JSON_ONE getJsonObjectProperty(JSON_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: true, description: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_0", identifier: "jsonObject", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: 'GetJsonObjectProperty(JsonParse("{ \\"firstName\\": \\"John\\", \\"lastName\\": \\"Doe\\" }"), "firstName")', output: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_0" }, { input: 'GetJsonObjectProperty(JsonParse("{ \\"firstName\\": \\"John\\", \\"lastName\\": \\"Doe\\" }"), Append("last", "Name"))', output: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_1" }, { input: 'GetJsonObjectProperty(JsonParse("{ \\"firstName\\": \\"John\\", \\"lastName\\": \\"Doe\\" }"), "FirstName")', output: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_2" }, { input: 'GetJsonObjectProperty(JsonParse("{ \\"additionalInfo\\": null }"), "additionalInfo")', output: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_3" }, { input: 'GetJsonObjectProperty(MakeEmptyJsonObject(), "accountId")', output: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_4" }] }], needsServerInfo: true }, getJsonObjectPropertyNames: { identifier: "getJsonObjectPropertyNames", description: "AR_FN_DSC_GETJSONOBJECTPROPERTYNAMES", type: "function", name: "GetJsonObjectPropertyNames", category: "json", overloads: [{ description: "AR_FN_STR_COLL_GETJSONOBJECTPROPERTYNAMES_JSON_DSC", identifier: "String_COLL getJsonObjectPropertyNames(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_COLL_GETJSONOBJECTPROPERTYNAMES_JSON_RV", isArray: true, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: true, description: "AR_FN_STR_COLL_GETJSONOBJECTPROPERTYNAMES_JSON_PRM_DSC_0", identifier: "jsonObject", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }], examples: [{ input: 'GetJsonObjectPropertyNames(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"))', output: '[ "a", "b", "c" ]' }] }], needsServerInfo: true }, setJsonObjectProperty: { identifier: "setJsonObjectProperty", description: "AR_FN_DSC_SETJSONOBJECTPROPERTY", type: "function", name: "SetJsonObjectProperty", category: "json", overloads: [{ description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_DSC", identifier: "JSON_ONE setJsonObjectProperty(JSON_ONE,String_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: true, description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_PRM_DSC_0", identifier: "jsonObject", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_PRM_DSC_1", identifier: "keyToSet", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_PRM_DSC_2", identifier: "valueToSet", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'SetJsonObjectProperty(MakeEmptyJsonObject(), "myKey", 42)', output: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_EX_OUT_0" }, { input: 'SetJsonObjectProperty(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"), "A", 5)', output: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_EX_OUT_1" }] }, { description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_DSC", identifier: "JSON_ONE setJsonObjectProperty(JSON_ONE,String_ONE,Any_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: true, description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_PRM_DSC_0", identifier: "jsonObject", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_PRM_DSC_1", identifier: "keyToSet", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_PRM_DSC_2", identifier: "valueToSet", isArray: true, helpDisplayIdx: 2, repeatable: false, required: true, type: "any" }], examples: [{ input: 'SetJsonObjectProperty(MakeEmptyJsonObject(), "myKeys", MakeList(42, 180))', output: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_EX_OUT_0" }] }], needsServerInfo: true }, getKnowledgeBaseDocumentConfidence: { identifier: "getKnowledgeBaseDocumentConfidence", description: "AR_FN_DSC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE", type: "function", name: "GetKnowledgeBaseDocumentConfidence", category: "statistical", overloads: [{ description: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_DSC", identifier: "Decimal_ONE getKnowledgeBaseDocumentConfidence(KnowledgeBaseDocument_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_PRM_DSC_0", identifier: "knowledgeBaseDocument", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "kbd" }], examples: [{ input: "GetKnowledgeBaseDocumentConfidence(Flow.document)", output: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_EX_OUT_0" }] }, { description: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_DSC", identifier: "Decimal_ONE getKnowledgeBaseDocumentConfidence(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_PRM_DSC_0", identifier: "KnowledgeBaseDocument", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "GetKnowledgeBaseDocumentConfidence(NOT_SET)", output: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_EX_OUT_0" }] }], needsServerInfo: true } } }; + e2.exports = { category: { audio: { identifier: "audio", name: "AR_CT_AUDIO", description: "AR_CT_DSC_AUDIO" }, cast: { identifier: "cast", name: "AR_CT_CAST", description: "AR_CT_DSC_CAST" }, comparison: { identifier: "comparison", name: "AR_CT_COMPARISON", description: "AR_CT_DSC_COMPARISON" }, complex: { identifier: "complex", name: "AR_CT_COMPLEX", description: "AR_CT_DSC_COMPLEX" }, datetime: { identifier: "datetime", name: "AR_CT_DTM", description: "AR_CT_DSC_DTM" }, email: { identifier: "email", name: "AR_CT_EMAIL", description: "AR_CT_DSC_EMAIL" }, financial: { identifier: "financial", name: "AR_CT_FINANCIAL", description: "AR_CT_DSC_FINANCIAL" }, list: { identifier: "list", name: "AR_CT_LIST", description: "AR_CT_DSC_LIST" }, logical: { identifier: "logical", name: "AR_CT_LOGICAL", description: "AR_CT_DSC_LOGICAL" }, language: { identifier: "language", name: "AR_CT_LANGUAGE", description: "AR_CT_DSC_LANGUAGE" }, json: { identifier: "json", name: "AR_CT_JSON", description: "AR_CT_DSC_JSON" }, mathematical: { identifier: "mathematical", name: "AR_CT_MATHEMATICAL", description: "AR_CT_DSC_MATHEMATICAL" }, operators: { identifier: "operators", name: "AR_CT_OPERATORS", description: "AR_CT_DSC_OPERATORS" }, prompt: { identifier: "prompt", name: "AR_CT_PROMPT", description: "AR_CT_DSC_PROMPT" }, search: { identifier: "search", name: "AR_CT_SEARCH", description: "AR_CT_DSC_SEARCH" }, statistical: { identifier: "statistical", name: "AR_CT_STATISTICAL", description: "AR_CT_DSC_STATISTICAL" }, survey: { identifier: "survey", name: "AR_CT_SURVEY", description: "AR_CT_DSC_SURVEY" }, text: { identifier: "text", name: "AR_CT_TEXT", description: "AR_CT_DSC_TEXT" }, unary: { identifier: "unary", name: "AR_CT_UNARY", description: "AR_CT_DSC_UNARY" } }, type: { AgentScorePair: { name: "AR_TP_AGENTSCOREPAIR", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_agent_score_pair", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: { featureConfigName: "botFlowsQueueSupportFeature" }, digitalbot: { featureConfigName: "botFlowsQueueSupportFeature" }, emailsend: {}, inboundcall: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueuecall: {}, inqueueemail: {}, inqueueshortmessage: {}, securecall: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: {}, voicemail: {}, workitem: {} }, version: "1.0", featureConfigName: "knownAgentRouting" }, nativeProperties: [{ id: "agent", name: "agent", descriptionId: "AR_TP_AGENTSCOREPAIR_PROP_AGENT_DSC", type: "usr", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "score", name: "score", descriptionId: "AR_TP_AGENTSCOREPAIR_PROP_SCORE_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: false }] }, Audio: { name: "AR_TP_AUDIO", allowArray: false, dataType: "AudioDataType", support: { classType: "AudioVariable", expressionDataType: "aud", expressionBaseDataType: "aud", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {} }, version: "1.0" }, nativeProperties: [] }, Boolean: { name: "AR_TP_BLN", allowArray: true, dataType: "BooleanDataType", support: { classType: "BoolVariable", expressionDataType: "bln", expressionBaseDataType: "bln", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {} }, version: "1.0" }, nativeProperties: [] }, StringKeyValuePair: { name: "AR_TP_STRINGKEYVALUEPAIR", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_string_key_value_pair", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundchat: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "key", name: "key", descriptionId: "AR_TP_STRINGKEYVALUEPAIR_PROP_KEY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "value", name: "value", descriptionId: "AR_TP_STRINGKEYVALUEPAIR_PROP_VALUE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ChatGuest: { name: "AR_TP_CHATGUEST", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_chat_guest", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundchat: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_CHATGUEST_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "displayName", name: "displayName", descriptionId: "AR_TP_CHATGUEST_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "avatarImageUrl", name: "avatarImageUrl", descriptionId: "AR_TP_CHATGUEST_PROP_AVATARIMAGEURL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "isAuthenticated", name: "isAuthenticated", descriptionId: "AR_TP_CHATGUEST_PROP_ISAUTHENTICATED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "customFields", name: "customFields", descriptionId: "AR_TP_CHATGUEST_PROP_CUSTOMFIELDS_DSC", type: "cpx_string_key_value_pair", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "authenticatedCustomFields", name: "authenticatedCustomFields", descriptionId: "AR_TP_CHATGUEST_PROP_AUTHENTICATEDCUSTOMFIELDS_DSC", type: "cpx_string_key_value_pair", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, Currency: { name: "AR_TP_CUR", allowArray: true, dataType: "CurrencyDataType", support: { classType: "CurrencyVariable", expressionDataType: "cur", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0" }, nativeProperties: [{ id: "amount", name: "amount", descriptionId: "AR_TP_CUR_PROP_AMOUNT_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "code", name: "code", descriptionId: "AR_TP_CUR_PROP_CODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false }] }, AssignedCustomerIntent: { name: "AR_TP_ASSIGNEDCUSTOMERINTENT", allowArray: true, dataType: "AssignedCustomerIntentDataType", support: { classType: "AssignedCustomerIntentVariable", expressionDataType: "aci", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inqueuecall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, outboundcall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, securecall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, voicemail: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, bot: { featureConfigName: "customerIntentsPhase1Cicero" }, digitalbot: { featureConfigName: "customerIntentsPhase1Cicero" }, emailsend: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inboundemail: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inboundshortmessage: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inqueueemail: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inqueueshortmessage: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, surveyinvite: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, workitem: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" } }, version: "1.0" }, nativeProperties: [{ id: "customerIntent", name: "customerIntent", descriptionId: "AR_TP_ASSIGNEDCUSTOMERINTENT_PROP_CUSTOMERINTENT_DSC", type: "cin", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dateMostRecentlyAssigned", name: "dateMostRecentlyAssigned", descriptionId: "AR_TP_ASSIGNEDCUSTOMERINTENT_PROP_DATEMOSTRECENTLYASSIGNED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, AssignedCustomerSegment: { name: "AR_TP_ASSIGNEDCUSTOMERSEGMENT", allowArray: true, dataType: "AssignedCustomerSegmentDataType", support: { classType: "AssignedCustomerSegmentVariable", expressionDataType: "acs", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: { featureConfigName: "botFlowsCustomerSegmentsFeature" }, digitalbot: { featureConfigName: "botFlowsCustomerSegmentsFeature" } }, version: "1.0" }, nativeProperties: [{ id: "customerSegment", name: "customerSegment", descriptionId: "AR_TP_ASSIGNEDCUSTOMERSEGMENT_PROP_CUSTOMERSEGMENT_DSC", type: "csg", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dateAssigned", name: "dateAssigned", descriptionId: "AR_TP_ASSIGNEDCUSTOMERSEGMENT_PROP_DATEASSIGNED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, CustomerSegment: { name: "AR_TP_CUSTOMERSEGMENT", allowArray: true, dataType: "CustomerSegmentDataType", support: { classType: "CustomerSegmentVariable", expressionDataType: "csg", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: { featureConfigName: "botFlowsCustomerSegmentsFeature" }, digitalbot: { featureConfigName: "botFlowsCustomerSegmentsFeature" } }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_CUSTOMERSEGMENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_CUSTOMERSEGMENT_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, CustomerIntent: { name: "AR_TP_CUSTOMERINTENT", allowArray: true, dataType: "CustomerIntentDataType", support: { classType: "CustomerIntentVariable", expressionDataType: "cin", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inqueuecall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, outboundcall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, securecall: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, voicemail: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, bot: { featureConfigName: "customerIntentsPhase1Cicero" }, digitalbot: { featureConfigName: "customerIntentsPhase1Cicero" }, inboundemail: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, emailsend: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inboundshortmessage: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inqueueemail: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, inqueueshortmessage: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, surveyinvite: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" }, workitem: { featureConfigName: "customerIntentsPhase2AutomateAndVXML" } }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_CUSTOMERINTENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_CUSTOMERINTENT_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "categoryId", name: "categoryId", descriptionId: "AR_TP_CUSTOMERINTENT_PROP_CATEGORYID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, DateTime: { name: "AR_TP_DTM", allowArray: true, dataType: "DateTimeDataType", support: { classType: "DateTimeVariable", expressionDataType: "dtm", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {} }, version: "1.0" }, nativeProperties: [] }, Date: { name: "AR_TP_DATE", allowArray: true, dataType: "DateDataType", support: { classType: "DateVariable", expressionDataType: "dat", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, commonmodule: {}, emailsend: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {}, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0" }, nativeProperties: [] }, Decimal: { name: "AR_TP_DEC", allowArray: true, dataType: "DecimalDataType", support: { classType: "DecimalVariable", expressionDataType: "dec", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {} }, version: "1.0" }, nativeProperties: [] }, Division: { name: "AR_TP_DIVISION", allowArray: true, dataType: "DivisionDataType", support: { classType: "DivisionVariable", expressionDataType: "dvn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: { featureConfigName: "botFlowsCustomConversationAttributes" }, digitalbot: { featureConfigName: "botFlowsCustomConversationAttributes" }, inboundcall: {}, inboundshortmessage: {}, inboundemail: {}, emailsend: { featureConfigName: "emailSendFlows" }, inqueuecall: {}, inqueueshortmessage: {}, inqueueemail: {}, surveyinvite: {}, outboundcall: {}, securecall: {}, voicemail: {}, workflow: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0", featureConfigName: "customConversationAttributes" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_DIVISION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_DIVISION_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Duration: { name: "AR_TP_DUR", allowArray: true, dataType: "DurationDataType", support: { classType: "DurationVariable", expressionDataType: "dur", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {} }, version: "1.0" }, nativeProperties: [] }, Long: { name: "AR_TP_LNG", allowArray: true, dataType: "LongDataType", support: { classType: "IntegerVariable", expressionDataType: "int", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0" }, nativeProperties: [] }, Email: { name: "AR_TP_EMAIL", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_email", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundemail: {}, inqueueemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EMAIL_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "autoGenerated", name: "autoGenerated", descriptionId: "AR_TP_EMAIL_PROP_AUTOGENERATED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "spam", name: "spam", descriptionId: "AR_TP_EMAIL_PROP_SPAM_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "from", name: "from", descriptionId: "AR_TP_EMAIL_PROP_FROM_DSC", type: "cpx_email_address", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "to", name: "to", descriptionId: "AR_TP_EMAIL_PROP_TO_DSC", type: "cpx_email_address", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "cc", name: "cc", descriptionId: "AR_TP_EMAIL_PROP_CC_DSC", type: "cpx_email_address", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "bcc", name: "bcc", descriptionId: "AR_TP_EMAIL_PROP_BCC_DSC", type: "cpx_email_address", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "subject", name: "subject", descriptionId: "AR_TP_EMAIL_PROP_SUBJECT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "direction", name: "direction", descriptionId: "AR_TP_EMAIL_PROP_DIRECTION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "replyTo", name: "replyTo", descriptionId: "AR_TP_EMAIL_PROP_REPLYTO_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "route", name: "route", descriptionId: "AR_TP_EMAIL_PROP_ROUTE_DSC", type: "cpx_email_address", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "emailRouteFeature" }, { id: "body", name: "body", descriptionId: "AR_TP_EMAIL_PROP_BODY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "htmlBody", name: "htmlBody", descriptionId: "AR_TP_EMAIL_PROP_HTMLBODY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "attachments", name: "attachments", descriptionId: "AR_TP_EMAIL_PROP_ATTACHMENTS_DSC", type: "cpx_email_attachment", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "dateTimeUtc", name: "dateTimeUtc", descriptionId: "AR_TP_EMAIL_PROP_DATETIMEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, EmailAddress: { name: "AR_TP_EMAILADDRESS", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_email_address", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { commonmodule: {}, emailsend: {}, inboundemail: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: { featureConfigName: "sendNotificationAction" }, workitem: {} }, version: "1.0" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_EMAILADDRESS_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "id", name: "id", descriptionId: "AR_TP_EMAILADDRESS_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, EmailAttachment: { name: "AR_TP_EMAILATTACHMENT", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_email_attachment", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundemail: {}, inqueueemail: {}, inboundshortmessage: {}, inqueueshortmessage: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EMAILATTACHMENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "contentLength", name: "contentLength", descriptionId: "AR_TP_EMAILATTACHMENT_PROP_CONTENTLENGTH_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "contentType", name: "contentType", descriptionId: "AR_TP_EMAILATTACHMENT_PROP_CONTENTTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "contentUri", name: "contentUri", descriptionId: "AR_TP_EMAILATTACHMENT_PROP_CONTENTURI_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_EMAILATTACHMENT_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, DraftEmail: { name: "AR_TP_DRAFTEMAIL", allowArray: false, additionalProperties: "false", dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::draft_email", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {} }, version: "1.0", featureConfigName: "emailSendFlows" }, nativeProperties: [{ id: "attachments", name: "attachments", descriptionId: "AR_TP_DRAFTEMAIL_PROP_ATTACHMENTS_DSC", type: "jsn__architect::draft_email_attachment", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "bcc", name: "bcc", descriptionId: "AR_TP_DRAFTEMAIL_PROP_BCC_DSC", type: "jsn__architect::draft_email_address", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "cc", name: "cc", descriptionId: "AR_TP_DRAFTEMAIL_PROP_CC_DSC", type: "jsn__architect::draft_email_address", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "from", name: "from", descriptionId: "AR_TP_DRAFTEMAIL_PROP_FROM_DSC", type: "jsn__architect::draft_email_address", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "headers", name: "headers", descriptionId: "AR_TP_DRAFTEMAIL_PROP_HEADERS_DSC", type: "jsn", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "subject", name: "subject", descriptionId: "AR_TP_DRAFTEMAIL_PROP_SUBJECT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "to", name: "to", descriptionId: "AR_TP_DRAFTEMAIL_PROP_TO_DSC", type: "jsn__architect::draft_email_address", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, DraftEmailAddress: { name: "AR_TP_DRAFTEMAILADDRESS", allowArray: true, additionalProperties: "false", dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::draft_email_address", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {} }, version: "1.0", featureConfigName: "emailSendFlows" }, nativeProperties: [{ id: "email", name: "email", descriptionId: "AR_TP_DRAFTEMAILADDRESS_PROP_EMAIL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "name", name: "name", descriptionId: "AR_TP_DRAFTEMAILADDRESS_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, isOptional: true }] }, DraftEmailAttachment: { name: "AR_TP_DRAFTEMAILATTACHMENT", allowArray: true, additionalProperties: "false", dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::draft_email_attachment", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {} }, version: "1.0", featureConfigName: "emailSendFlows" }, nativeProperties: [{ id: "attachmentId", name: "attachmentId", descriptionId: "AR_TP_DRAFTEMAILATTACHMENT_PROP_ATTACHMENTID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "contentLength", name: "contentLength", descriptionId: "AR_TP_DRAFTEMAILATTACHMENT_PROP_CONTENTLENGTH_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "contentType", name: "contentType", descriptionId: "AR_TP_DRAFTEMAILATTACHMENT_PROP_CONTENTTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "contentUri", name: "contentUri", descriptionId: "AR_TP_DRAFTEMAILATTACHMENT_PROP_CONTENTURI_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_DRAFTEMAILATTACHMENT_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ExternalOrganization: { name: "AR_TP_EXTERNALORGANIZATION", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_organization", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "createDateTimeUtc", name: "createDateTimeUtc", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_CREATEDATETIMEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "modifyDateTimeUtc", name: "modifyDateTimeUtc", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_MODIFYDATETIMEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "kind", name: "kind", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_KIND_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "companyType", name: "companyType", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_COMPANYTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "industry", name: "industry", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_INDUSTRY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "primaryContactId", name: "primaryContactId", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_PRIMARYCONTACTID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "address", name: "address", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_ADDRESS_DSC", type: "cpx_external_address", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "phoneNumber", name: "phoneNumber", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_PHNBR_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "faxNumber", name: "faxNumber", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_FAXNUMBER_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "employeeCount", name: "employeeCount", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_EMPLOYEECOUNT_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "revenue", name: "revenue", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_REVENUE_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "tags", name: "tags", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_TAGS_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "tickers", name: "tickers", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_TICKERS_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "twitterInfo", name: "twitterInfo", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_TWITTERINFO_DSC", type: "cpx_external_twitter_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "externalSystemUrl", name: "externalSystemUrl", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_EXTERNALSYSTEMURL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "websites", name: "websites", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_WEBSITES_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "divisionId", name: "divisionId", descriptionId: "AR_TP_EXTERNALORGANIZATION_PROP_DIVISIONID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "divisionedExternalContacts" }] }, ExternalAddress: { name: "AR_TP_EXTERNALADDRESS", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_address", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "address1", name: "address1", descriptionId: "AR_TP_EXTERNALADDRESS_PROP_ADDRESS1_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "address2", name: "address2", descriptionId: "AR_TP_EXTERNALADDRESS_PROP_ADDRESS2_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "city", name: "city", descriptionId: "AR_TP_EXTERNALADDRESS_PROP_CITY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "state", name: "state", descriptionId: "AR_TP_EXTERNALADDRESS_PROP_STATE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "postalCode", name: "postalCode", descriptionId: "AR_TP_EXTERNALADDRESS_PROP_POSTALCODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "countryCode", name: "countryCode", descriptionId: "AR_TP_EXTERNALADDRESS_PROP_COUNTRYCODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, Card: { name: "AR_TP_CARD", allowArray: true, dataType: "CardDataType", propertiesAllowAssignment: true, support: { classType: "CardVariable", expressionDataType: "crd", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0" }, nativeProperties: [{ id: "title", name: "title", descriptionId: "AR_TP_CARD_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, minLength: 1, displayValue: "AR_TP_CARD_PROP_TITLE_DISP_VAL" }, { id: "description", name: "description", descriptionId: "AR_TP_CARD_PROP_DESCRIPTION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_CARD_PROP_DESCRIPTION_DISP_VAL" }, { id: "image", name: "image", descriptionId: "AR_TP_CARD_PROP_IMAGE_DSC", type: "img", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_CARD_PROP_IMAGE_DISP_VAL" }, { id: "buttons", name: "buttons", descriptionId: "AR_TP_CARD_PROP_BUTTONS_DSC", type: "chc", isCollection: true, isComputed: false, version: "1.0", readOnly: true, minItems: 1, maxItems: 3, displayValue: "AR_TP_CARD_PROP_BUTTONS_DISP_VAL" }] }, Choice: { name: "AR_TP_CHOICE", allowArray: true, dataType: "ChoiceDataType", propertiesAllowAssignment: true, support: { classType: "ChoiceVariable", expressionDataType: "chc", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0" }, nativeProperties: [{ id: "label", name: "label", descriptionId: "AR_TP_CHOICE_PROP_LABEL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, isOptional: true, noValueRuntimeStr: "", displayValue: "AR_TP_CHOICE_PROP_LABEL_DISP_VAL" }, { id: "value", name: "value", descriptionId: "AR_TP_CHOICE_PROP_VALUE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, minLength: 1, noValueRuntimeStr: "Button Name", displayValue: "AR_TP_CHOICE_PROP_VALUE_DISP_VAL" }, { id: "type", name: "type", descriptionId: "AR_TP_CHOICE_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, yamlSerializeIfOutOfService: true, allowableValues: "postback,url", defaultValue: "postback", displayValue: "AR_TP_CHOICE_PROP_TYPE_DISP_VAL" }, { id: "command", name: "command", descriptionId: "AR_TP_CHOICE_PROP_COMMAND_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "botFlowsSupportDontKnowAnswers", yamlSerializeIfOutOfService: true, allowableValues: "skip,none", defaultValue: "none", displayValue: "AR_TP_CHOICE_PROP_COMMAND_DISP_VAL" }] }, QuickReplies: { name: "AR_TP_QUICKREPLIES", allowArray: false, dataType: "QuickRepliesDataType", propertiesAllowAssignment: true, support: { classType: "QuickRepliesVariable", expressionDataType: "qrl", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0" }, nativeProperties: [{ id: "buttons", name: "buttons", descriptionId: "AR_TP_QUICKREPLIES_PROP_BUTTONS_DSC", type: "chc", isCollection: true, isComputed: false, version: "1.0", readOnly: true, minItems: 1, maxItems: 10, maxItemsIsSoftLimit: true, displayValue: "AR_TP_QUICKREPLIES_PROP_BUTTONS_DISP_VAL" }, { id: "quickReplySummary", name: "quickReplySummary", descriptionId: "AR_TP_QUICKREPLIES_PROP_QUICKREPLYSUMMARY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "digitalBotFlowsAppleMessaging", maxLength: 512, displayValue: "AR_TP_QUICKREPLIES_PROP_QUICKREPLYSUMMARY_DISP_VAL" }] }, Carousel: { name: "AR_TP_CAROUSEL", allowArray: false, dataType: "CarouselDataType", propertiesAllowAssignment: true, support: { classType: "CarouselVariable", expressionDataType: "crs", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0" }, nativeProperties: [{ id: "cards", name: "cards", descriptionId: "AR_TP_CAROUSEL_PROP_CARDS_DSC", type: "crd", isCollection: true, isComputed: false, version: "1.0", readOnly: false, minItems: 1, maxItems: 10 }] }, Chooser: { name: "AR_TP_CHOOSER", allowArray: false, dataType: "ChooserDataType", propertiesAllowAssignment: true, support: { classType: "ChooserVariable", expressionDataType: "chs", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0" }, nativeProperties: [{ id: "presentation", name: "presentation", descriptionId: "AR_TP_CHOOSER_PROP_PRESENTATION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, allowableValues: "carousel,quickReplies" }, { id: "carousel", name: "carousel", descriptionId: "AR_TP_CHOOSER_PROP_CAROUSEL_DSC", type: "crs", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "quickReplies", name: "quickReplies", descriptionId: "AR_TP_CHOOSER_PROP_QUICKREPLIES_DSC", type: "qrl", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "timePicker", name: "timePicker", descriptionId: "AR_TP_CHOOSER_PROP_TIMEPICKER_DSC", type: "tpk", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "botFlowsMessagingDatePicker" }, { id: "listPicker", name: "listPicker", descriptionId: "AR_TP_CHOOSER_PROP_LISTPICKER_DSC", type: "lpk", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "botFlowsAppleListPicker" }] }, ExternalFacebookInfo: { name: "AR_TP_EXTERNALFACEBOOKINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_facebook_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "displayName", name: "displayName", descriptionId: "AR_TP_EXTERNALFACEBOOKINFO_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "ids", name: "ids", descriptionId: "AR_TP_EXTERNALFACEBOOKINFO_PROP_IDS_DSC", type: "cpx_external_facebook_id", isCollection: true, isComputed: false, version: "1.0", readOnly: true, patchable: true, patchableSettings: { isRequired: true, minItems: 1, maxItems: 1 } }] }, ExternalFacebookId: { name: "AR_TP_EXTERNALFACEBOOKID", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_facebook_id", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "scopedId", name: "scopedId", descriptionId: "AR_TP_EXTERNALFACEBOOKID_PROP_SCOPEDID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true, patchableSettings: { isRequired: true, minLength: 1 } }] }, ExternalLineInfo: { name: "AR_TP_EXTERNALLINEINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_line_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "displayName", name: "displayName", descriptionId: "AR_TP_EXTERNALLINEINFO_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "ids", name: "ids", descriptionId: "AR_TP_EXTERNALLINEINFO_PROP_IDS_DSC", type: "cpx_external_line_id", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, ExternalLineId: { name: "AR_TP_EXTERNALLINEID", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_line_id", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "userId", name: "userId", descriptionId: "AR_TP_EXTERNALLINEID_PROP_USERID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ExternalTwitterInfo: { name: "AR_TP_EXTERNALTWITTERINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_twitter_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EXTERNALTWITTERINFO_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "name", name: "name", descriptionId: "AR_TP_EXTERNALTWITTERINFO_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "screenName", name: "screenName", descriptionId: "AR_TP_EXTERNALTWITTERINFO_PROP_SCREENNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalPhoneNumber: { name: "AR_TP_EXTERNALPHONENUMBER", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_phone_number", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "display", name: "display", descriptionId: "AR_TP_EXTERNALPHONENUMBER_PROP_DISPLAY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "extension", name: "extension", descriptionId: "AR_TP_EXTERNALPHONENUMBER_PROP_EXTENSION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "userInput", name: "userInput", descriptionId: "AR_TP_EXTERNALPHONENUMBER_PROP_USERINPUT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "e164", name: "e164", descriptionId: "AR_TP_EXTERNALPHONENUMBER_PROP_E164_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "countryCode", name: "countryCode", descriptionId: "AR_TP_EXTERNALPHONENUMBER_PROP_COUNTRYCODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "acceptsSMS", name: "acceptsSMS", descriptionId: "AR_TP_EXTERNALPHONENUMBER_PROP_ACCEPTSSMS_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalWhatsAppInfo: { name: "AR_TP_EXTERNALWHATSAPPINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_whats_app_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "displayName", name: "displayName", descriptionId: "AR_TP_EXTERNALWHATSAPPINFO_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "phoneNumber", name: "phoneNumber", descriptionId: "AR_TP_EXTERNALWHATSAPPINFO_PROP_PHNBR_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true, patchableSettings: { isRequired: true } }] }, ExternalContact: { name: "AR_TP_EXTERNALCONTACT", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_contact", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, inboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, inqueuecall: { featureConfigName: "externalContactUpdatesPhase1" }, outboundcall: { featureConfigName: "externalContactUpdatesPhase1" }, securecall: { featureConfigName: "externalContactUpdatesPhase1" }, voicemail: { featureConfigName: "externalContactUpdatesPhase1" }, bot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { featureConfigName: "botFlowsExternalEntitySupportFeature" }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "createDateTimeUtc", name: "createDateTimeUtc", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_CREATEDATETIMEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "modifyDateTimeUtc", name: "modifyDateTimeUtc", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_MODIFYDATETIMEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "kind", name: "kind", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_KIND_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "divisionId", name: "divisionId", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_DIVISIONID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "divisionedExternalContacts" }, { id: "externalOrganization", name: "externalOrganization", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_EXTERNALORGANIZATION_DSC", type: "cpx_external_organization", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "facebookInfo", name: "facebookInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_FACEBOOKINFO_DSC", type: "cpx_external_facebook_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "firstName", name: "firstName", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_FIRSTNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "middleName", name: "middleName", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_MIDDLENAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "lastName", name: "lastName", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_LASTNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "lineInfo", name: "lineInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_LINEINFO_DSC", type: "cpx_external_line_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "salutation", name: "salutation", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_SALUTATION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "title", name: "title", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "twitterInfo", name: "twitterInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_TWITTERINFO_DSC", type: "cpx_external_twitter_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "whatsAppInfo", name: "whatsAppInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_WHATSAPPINFO_DSC", type: "cpx_external_whats_app_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "workPhone", name: "workPhone", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_WORKPHONE_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "cellPhone", name: "cellPhone", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_CELLPHONE_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "homePhone", name: "homePhone", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_HOMEPHONE_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "otherPhone", name: "otherPhone", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_OTHERPHONE_DSC", type: "cpx_external_phone_number", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "workEmail", name: "workEmail", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_WORKEMAIL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "personalEmail", name: "personalEmail", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_PERSONALEMAIL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "otherEmail", name: "otherEmail", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_OTHEREMAIL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "address", name: "address", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_ADDRESS_DSC", type: "cpx_external_address", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "surveyOptOut", name: "surveyOptOut", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_SURVEYOPTOUT_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "externalSystemUrl", name: "externalSystemUrl", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_EXTERNALSYSTEMURL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "type", name: "type", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction", allowableValues: "Ephemeral,Identified,Curated" }, { id: "instagramInfo", name: "instagramInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_INSTAGRAMINFO_DSC", type: "cpx_external_instagram_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction", patchable: true }, { id: "externalIdInfo", name: "externalIdInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_EXTERNALIDINFO_DSC", type: "cpx_external_id_info", isCollection: true, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction", patchable: true }, { id: "appleInfo", name: "appleInfo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_APPLEINFO_DSC", type: "cpx_external_apple_info", isCollection: true, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction", patchable: true }, { id: "canonicalContactId", name: "canonicalContactId", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_CANONICALCONTACTID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction" }, { id: "mergedFrom", name: "mergedFrom", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_MERGEDFROM_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction" }, { id: "mergedTo", name: "mergedTo", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_MERGEDTO_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction" }, { id: "mergeSet", name: "mergeSet", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_MERGESET_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction" }, { id: "customFields", name: "customFields", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_CUSTOMFIELDS_DSC", type: "jsn", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction", patchable: true }, { id: "schemaId", name: "schemaId", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_SCHEMAID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction", patchable: true }, { id: "schemaVersion", name: "schemaVersion", descriptionId: "AR_TP_EXTERNALCONTACT_PROP_SCHEMAVERSION_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "externalContactUpdateAction", patchable: true }] }, ExternalInstagramInfo: { name: "AR_TP_EXTERNALINSTAGRAMINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_instagram_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureConfigName: "externalContactUpdateAction" }, nativeProperties: [{ id: "displayName", name: "displayName", descriptionId: "AR_TP_EXTERNALINSTAGRAMINFO_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "handle", name: "handle", descriptionId: "AR_TP_EXTERNALINSTAGRAMINFO_PROP_HANDLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "ids", name: "ids", descriptionId: "AR_TP_EXTERNALINSTAGRAMINFO_PROP_IDS_DSC", type: "cpx_external_instagram_scoped_id", isCollection: true, isComputed: false, version: "1.0", readOnly: true, patchable: true, patchableSettings: { isRequired: true, minItems: 1, maxItems: 1 } }] }, ExternalInstagramScopedId: { name: "AR_TP_EXTERNALINSTAGRAMSCOPEDID", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_instagram_scoped_id", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureConfigName: "externalContactUpdateAction" }, nativeProperties: [{ id: "scopedId", name: "scopedId", descriptionId: "AR_TP_EXTERNALINSTAGRAMSCOPEDID_PROP_SCOPEDID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true, patchableSettings: { isRequired: true, minLength: 1 } }] }, ExternalAppleInfo: { name: "AR_TP_EXTERNALAPPLEINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_apple_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureConfigName: "externalContactUpdateAction" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EXTERNALAPPLEINFO_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalIdInfo: { name: "AR_TP_EXTERNALIDINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_id_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureConfigName: "externalContactUpdateAction" }, nativeProperties: [{ id: "externalSource", name: "externalSource", descriptionId: "AR_TP_EXTERNALIDINFO_PROP_EXTERNALSOURCE_DSC", type: "cpx_external_source", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "value", name: "value", descriptionId: "AR_TP_EXTERNALIDINFO_PROP_VALUE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }] }, ExternalSource: { name: "AR_TP_EXTERNALSOURCE", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_source", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureConfigName: "externalContactUpdateAction" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EXTERNALSOURCE_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "name", name: "name", descriptionId: "AR_TP_EXTERNALSOURCE_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, patchable: true }, { id: "active", name: "active", descriptionId: "AR_TP_EXTERNALSOURCE_PROP_ACTIVE_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "linkConfiguration", name: "linkConfiguration", descriptionId: "AR_TP_EXTERNALSOURCE_PROP_LINKCONFIGURATION_DSC", type: "cpx_external_link_configuration", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ExternalLinkConfiguration: { name: "AR_TP_EXTERNALLINKCONFIGURATION", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_external_link_configuration", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureConfigName: "externalContactUpdateAction" }, nativeProperties: [{ id: "uriTemplate", name: "uriTemplate", descriptionId: "AR_TP_EXTERNALLINKCONFIGURATION_PROP_URITEMPLATE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Image: { name: "AR_TP_IMAGE", allowArray: true, dataType: "ImageDataType", support: { classType: "ImageVariable", expressionDataType: "img", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_IMAGE_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_IMAGE_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "url", name: "url", descriptionId: "AR_TP_IMAGE_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, EmptyJson: { name: "AR_TP_EMPTYJSON", allowArray: true, dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::empty_json", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { workitem: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, json: { name: "AR_TP_JSON", allowArray: true, dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true, featureConfigName: "botFlowsDigitalBotFlowsJSONFeature" }, commonmodule: {}, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true, featureConfigName: "botFlowsDigitalBotFlowsJSONFeature" }, inboundemail: {}, emailsend: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {}, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: {} }, version: "1.0" }, nativeProperties: [] }, FormInput: { name: "AR_TP_FORMINPUT", allowArray: false, dataType: "FormInputDataType", propertiesAllowAssignment: true, support: { classType: "FormInputVariable", expressionDataType: "fip", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAppleFormsPhase2" }, nativeProperties: [{ id: "title", name: "title", descriptionId: "AR_TP_FORMINPUT_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, maxLength: 512, displayValue: "AR_TP_FORMINPUT_PROP_TITLE_DISP_VAL" }, { id: "subtitle", name: "subtitle", descriptionId: "AR_TP_FORMINPUT_PROP_SUBTITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, maxLength: 512, displayValue: "AR_TP_FORMINPUT_PROP_SUBTITLE_DISP_VAL" }, { id: "placeholderText", name: "placeholderText", descriptionId: "AR_TP_FORMINPUT_PROP_PLACEHOLDERTEXT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, maxLength: 512, displayValue: "AR_TP_FORMINPUT_PROP_PLACEHOLDERTEXT_DISP_VAL" }, { id: "isMultipleLine", name: "isMultipleLine", descriptionId: "AR_TP_FORMINPUT_PROP_ISMULTIPLELINE_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_FORMINPUT_PROP_ISMULTIPLELINE_DISP_VAL" }, { id: "isRequired", name: "isRequired", descriptionId: "AR_TP_FORMINPUT_PROP_ISREQUIRED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_FORMINPUT_PROP_ISREQUIRED_DISP_VAL" }] }, JourneyApp: { name: "AR_TP_JOURNEYAPP", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_app", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "journeyMobileAppData" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_JOURNEYAPP_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "namespace", name: "namespace", descriptionId: "AR_TP_JOURNEYAPP_PROP_NAMESPACE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "version", name: "version", descriptionId: "AR_TP_JOURNEYAPP_PROP_VERSION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "buildNumber", name: "buildNumber", descriptionId: "AR_TP_JOURNEYAPP_PROP_BUILDNUMBER_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyAction: { name: "AR_TP_JOURNEYACTION", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_action", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYACTION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "actionMap", name: "actionMap", descriptionId: "AR_TP_JOURNEYACTION_PROP_ACTIONMAP_DSC", type: "cpx_journey_action_map", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyActionMap: { name: "AR_TP_JOURNEYACTIONMAP", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_action_map", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYACTIONMAP_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "version", name: "version", descriptionId: "AR_TP_JOURNEYACTIONMAP_PROP_VERSION_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyBrowser: { name: "AR_TP_JOURNEYBROWSER", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_browser", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "family", name: "family", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_FAMILY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "version", name: "version", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_VERSION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "lang", name: "lang", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_LANG_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "fingerprint", name: "fingerprint", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_FINGERPRINT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "isMobile", name: "isMobile", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_ISMOBILE_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "viewHeight", name: "viewHeight", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_VIEWHEIGHT_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "viewWidth", name: "viewWidth", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_VIEWWIDTH_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "featuresFlash", name: "featuresFlash", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_FEATURESFLASH_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "featuresJava", name: "featuresJava", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_FEATURESJAVA_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "featuresPdf", name: "featuresPdf", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_FEATURESPDF_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "featuresWebrtc", name: "featuresWebrtc", descriptionId: "AR_TP_JOURNEYBROWSER_PROP_FEATURESWEBRTC_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyCampaign: { name: "AR_TP_JOURNEYCAMPAIGN", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_campaign", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "content", name: "content", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_CONTENT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "medium", name: "medium", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_MEDIUM_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "source", name: "source", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_SOURCE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "term", name: "term", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_TERM_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "clickId", name: "clickId", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_CLICKID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "network", name: "network", descriptionId: "AR_TP_JOURNEYCAMPAIGN_PROP_NETWORK_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyContext: { name: "AR_TP_JOURNEYCONTEXT", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_context", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "customer", name: "customer", descriptionId: "AR_TP_JOURNEYCONTEXT_PROP_CUSTOMER_DSC", type: "cpx_journey_customer", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "customerSession", name: "customerSession", descriptionId: "AR_TP_JOURNEYCONTEXT_PROP_CUSTOMERSESSION_DSC", type: "cpx_journey_customer_session", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "triggeringAction", name: "triggeringAction", descriptionId: "AR_TP_JOURNEYCONTEXT_PROP_TRIGGERINGACTION_DSC", type: "cpx_journey_action", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyCustomEventAttribute: { name: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_custom_event_attribute", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dataType", name: "dataType", descriptionId: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE_PROP_DATATYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "value", name: "value", descriptionId: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE_PROP_VALUE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyCustomEventAttributeList: { name: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_custom_event_attribute_list", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dataType", name: "dataType", descriptionId: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST_PROP_DATATYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "values", name: "values", descriptionId: "AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST_PROP_VALUES_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, JourneyCustomer: { name: "AR_TP_JOURNEYCUSTOMER", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_customer", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYCUSTOMER_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "idType", name: "idType", descriptionId: "AR_TP_JOURNEYCUSTOMER_PROP_IDTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyCustomerSession: { name: "AR_TP_JOURNEYCUSTOMERSESSION", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_customer_session", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYCUSTOMERSESSION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "type", name: "type", descriptionId: "AR_TP_JOURNEYCUSTOMERSESSION_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyDevice: { name: "AR_TP_JOURNEYDEVICE", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_device", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "category", name: "category", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_CATEGORY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "type", name: "type", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "isMobile", name: "isMobile", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_ISMOBILE_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "screenHeight", name: "screenHeight", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_SCREENHEIGHT_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "screenWidth", name: "screenWidth", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_SCREENWIDTH_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "fingerprint", name: "fingerprint", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_FINGERPRINT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "manufacturer", name: "manufacturer", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_MANUFACTURER_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "journeyMobileAppData" }, { id: "osFamily", name: "osFamily", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_OSFAMILY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "osVersion", name: "osVersion", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_OSVERSION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "screenDensity", name: "screenDensity", descriptionId: "AR_TP_JOURNEYDEVICE_PROP_SCREENDENSITY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "journeyMobileAppData" }] }, JourneyGeolocation: { name: "AR_TP_JOURNEYGEOLOCATION", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_geolocation", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "country", name: "country", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_COUNTRY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "countryName", name: "countryName", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_COUNTRYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "latitude", name: "latitude", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_LATITUDE_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "longitude", name: "longitude", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_LONGITUDE_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "locality", name: "locality", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_LOCALITY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "postalCode", name: "postalCode", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_POSTALCODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "region", name: "region", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_REGION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "regionName", name: "regionName", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_REGIONNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "source", name: "source", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_SOURCE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "timezone", name: "timezone", descriptionId: "AR_TP_JOURNEYGEOLOCATION_PROP_TIMEZONE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyNetworkConnectivity: { name: "AR_TP_JOURNEYNETWORKCONNECTIVITY", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_network_connectivity", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "journeyMobileAppData" }, nativeProperties: [{ id: "carrier", name: "carrier", descriptionId: "AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_CARRIER_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "bluetoothEnabled", name: "bluetoothEnabled", descriptionId: "AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_BLUETOOTHENABLED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "cellularEnabled", name: "cellularEnabled", descriptionId: "AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_CELLULARENABLED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "wifiEnabled", name: "wifiEnabled", descriptionId: "AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_WIFIENABLED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneySessionOutcomeAchievement: { name: "AR_TP_JOURNEYSESSIONOUTCOMEACHIEVEMENT", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_session_outcome_achievement", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYSESSIONOUTCOMEACHIEVEMENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "achievedDate", name: "achievedDate", descriptionId: "AR_TP_JOURNEYSESSIONOUTCOMEACHIEVEMENT_PROP_ACHIEVEDDATE_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneySdkLibrary: { name: "AR_TP_JOURNEYSDKLIBRARY", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_sdk_library", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "journeyMobileAppData" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_JOURNEYSDKLIBRARY_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "version", name: "version", descriptionId: "AR_TP_JOURNEYSDKLIBRARY_PROP_VERSION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyOutcome: { name: "AR_TP_JOURNEYOUTCOME", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_outcome", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneyOutcomes" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "description", name: "description", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_DESCRIPTION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "displayName", name: "displayName", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "version", name: "version", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_VERSION_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "createdDateUtc", name: "createdDateUtc", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_CREATEDDATEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "modifiedDateUtc", name: "modifiedDateUtc", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_MODIFIEDDATEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "isActive", name: "isActive", descriptionId: "AR_TP_JOURNEYOUTCOME_PROP_ISACTIVE_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyOutcomeScore: { name: "AR_TP_JOURNEYOUTCOMESCORE", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_outcome_score", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: { featureConfigName: "journeyOutcomeScoresBySessionId" }, inboundshortmessage: { featureConfigName: "journeyOutcomeScoresBySessionId" }, inqueueshortmessage: { featureConfigName: "journeyOutcomeScoresBySessionId" }, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: { featureConfigName: "journeyOutcomeScoresBySessionId" } }, version: "1.0", featureConfigName: "orgAvailabilityJourneyOutcomeScores" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYOUTCOMESCORE_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "probability", name: "probability", descriptionId: "AR_TP_JOURNEYOUTCOMESCORE_PROP_PROBABILITY_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "sessionMaxProbability", name: "sessionMaxProbability", descriptionId: "AR_TP_JOURNEYOUTCOMESCORE_PROP_SESSIONMAXPROBABILITY_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneyPage: { name: "AR_TP_JOURNEYPAGE", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_page", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "url", name: "url", descriptionId: "AR_TP_JOURNEYPAGE_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "title", name: "title", descriptionId: "AR_TP_JOURNEYPAGE_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "domain", name: "domain", descriptionId: "AR_TP_JOURNEYPAGE_PROP_DOMAIN_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "fragment", name: "fragment", descriptionId: "AR_TP_JOURNEYPAGE_PROP_FRAGMENT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "hostname", name: "hostname", descriptionId: "AR_TP_JOURNEYPAGE_PROP_HOSTNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "keywords", name: "keywords", descriptionId: "AR_TP_JOURNEYPAGE_PROP_KEYWORDS_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "lang", name: "lang", descriptionId: "AR_TP_JOURNEYPAGE_PROP_LANG_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "pathname", name: "pathname", descriptionId: "AR_TP_JOURNEYPAGE_PROP_PATHNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "queryString", name: "queryString", descriptionId: "AR_TP_JOURNEYPAGE_PROP_QUERYSTRING_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "breadcrumb", name: "breadcrumb", descriptionId: "AR_TP_JOURNEYPAGE_PROP_BREADCRUMB_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, JourneyReferrer: { name: "AR_TP_JOURNEYREFERRER", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_referrer", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "url", name: "url", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "domain", name: "domain", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_DOMAIN_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "hostname", name: "hostname", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_HOSTNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "keywords", name: "keywords", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_KEYWORDS_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "pathname", name: "pathname", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_PATHNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "queryString", name: "queryString", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_QUERYSTRING_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "fragment", name: "fragment", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_FRAGMENT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "medium", name: "medium", descriptionId: "AR_TP_JOURNEYREFERRER_PROP_MEDIUM_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneySegment: { name: "AR_TP_JOURNEYSEGMENT", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_segment", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, commonmodule: {}, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySegments" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "color", name: "color", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_COLOR_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "createdDateUtc", name: "createdDateUtc", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_CREATEDDATEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "description", name: "description", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_DESCRIPTION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "displayName", name: "displayName", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_DISPLAYNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "isActive", name: "isActive", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_ISACTIVE_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "modifiedDateUtc", name: "modifiedDateUtc", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_MODIFIEDDATEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "shouldDisplayToAgent", name: "shouldDisplayToAgent", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_SHOULDDISPLAYTOAGENT_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "version", name: "version", descriptionId: "AR_TP_JOURNEYSEGMENT_PROP_VERSION_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneySessionSegmentAssignment: { name: "AR_TP_JOURNEYSESSIONSEGMENTASSIGNMENT", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_session_segment_assignment", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYSESSIONSEGMENTASSIGNMENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "assignedDate", name: "assignedDate", descriptionId: "AR_TP_JOURNEYSESSIONSEGMENTASSIGNMENT_PROP_ASSIGNEDDATE_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, JourneySession: { name: "AR_TP_JOURNEYSESSION", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_journey_session", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, inqueuecall: { featureConfigName: "callFlowJourneySupportPhase1" }, outboundcall: { featureConfigName: "callFlowJourneySupportPhase1" }, securecall: { featureConfigName: "callFlowJourneySupportPhase1" }, voicemail: { featureConfigName: "callFlowJourneySupportPhase1" }, bot: { featureConfigName: "botFlowsPhase2" }, commonmodule: {}, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, inboundchat: {}, inboundshortmessage: {}, inqueueshortmessage: {}, voice: { featureConfigName: "voiceFlowsPhase2" }, workflow: {} }, version: "1.0", featureConfigName: "orgAvailabilityJourneySessions" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_JOURNEYSESSION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "createdDate", name: "createdDate", descriptionId: "AR_TP_JOURNEYSESSION_PROP_CREATEDDATE_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "customerId", name: "customerId", descriptionId: "AR_TP_JOURNEYSESSION_PROP_CUSTOMERID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "customerIdType", name: "customerIdType", descriptionId: "AR_TP_JOURNEYSESSION_PROP_CUSTOMERIDTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "divisionIds", name: "divisionIds", descriptionId: "AR_TP_JOURNEYSESSION_PROP_DIVISIONIDS_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "journeySessionDivisionIds" }, { id: "type", name: "type", descriptionId: "AR_TP_JOURNEYSESSION_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "externalId", name: "externalId", descriptionId: "AR_TP_JOURNEYSESSION_PROP_EXTERNALID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "externalUrl", name: "externalUrl", descriptionId: "AR_TP_JOURNEYSESSION_PROP_EXTERNALURL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "outcomeAchievements", name: "outcomeAchievements", descriptionId: "AR_TP_JOURNEYSESSION_PROP_OUTCOMEACHIEVEMENTS_DSC", type: "cpx_journey_session_outcome_achievement", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "segmentAssignments", name: "segmentAssignments", descriptionId: "AR_TP_JOURNEYSESSION_PROP_SEGMENTASSIGNMENTS_DSC", type: "cpx_journey_session_segment_assignment", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "attributes", name: "attributes", descriptionId: "AR_TP_JOURNEYSESSION_PROP_ATTRIBUTES_DSC", type: "cpx_journey_custom_event_attribute", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "attributeLists", name: "attributeLists", descriptionId: "AR_TP_JOURNEYSESSION_PROP_ATTRIBUTELISTS_DSC", type: "cpx_journey_custom_event_attribute_list", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "awayDate", name: "awayDate", descriptionId: "AR_TP_JOURNEYSESSION_PROP_AWAYDATE_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "browser", name: "browser", descriptionId: "AR_TP_JOURNEYSESSION_PROP_BROWSER_DSC", type: "cpx_journey_browser", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "device", name: "device", descriptionId: "AR_TP_JOURNEYSESSION_PROP_DEVICE_DSC", type: "cpx_journey_device", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "geolocation", name: "geolocation", descriptionId: "AR_TP_JOURNEYSESSION_PROP_GEOLOCATION_DSC", type: "cpx_journey_geolocation", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "idleDate", name: "idleDate", descriptionId: "AR_TP_JOURNEYSESSION_PROP_IDLEDATE_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "ipAddress", name: "ipAddress", descriptionId: "AR_TP_JOURNEYSESSION_PROP_IPADDRESS_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "ipOrganization", name: "ipOrganization", descriptionId: "AR_TP_JOURNEYSESSION_PROP_IPORGANIZATION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "lastPage", name: "lastPage", descriptionId: "AR_TP_JOURNEYSESSION_PROP_LASTPAGE_DSC", type: "cpx_journey_page", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "mktCampaign", name: "mktCampaign", descriptionId: "AR_TP_JOURNEYSESSION_PROP_MKTCAMPAIGN_DSC", type: "cpx_journey_campaign", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "referrer", name: "referrer", descriptionId: "AR_TP_JOURNEYSESSION_PROP_REFERRER_DSC", type: "cpx_journey_referrer", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "searchTerms", name: "searchTerms", descriptionId: "AR_TP_JOURNEYSESSION_PROP_SEARCHTERMS_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "userAgentString", name: "userAgentString", descriptionId: "AR_TP_JOURNEYSESSION_PROP_USERAGENTSTRING_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "durationInSeconds", name: "durationInSeconds", descriptionId: "AR_TP_JOURNEYSESSION_PROP_DURATIONINSECONDS_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "eventCount", name: "eventCount", descriptionId: "AR_TP_JOURNEYSESSION_PROP_EVENTCOUNT_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "pageviewCount", name: "pageviewCount", descriptionId: "AR_TP_JOURNEYSESSION_PROP_PAGEVIEWCOUNT_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "screenviewCount", name: "screenviewCount", descriptionId: "AR_TP_JOURNEYSESSION_PROP_SCREENVIEWCOUNT_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "app", name: "app", descriptionId: "AR_TP_JOURNEYSESSION_PROP_APP_DSC", type: "cpx_journey_app", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "journeyMobileAppData" }, { id: "networkConnectivity", name: "networkConnectivity", descriptionId: "AR_TP_JOURNEYSESSION_PROP_NETWORKCONNECTIVITY_DSC", type: "cpx_journey_network_connectivity", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "journeyMobileAppData" }, { id: "sdkLibrary", name: "sdkLibrary", descriptionId: "AR_TP_JOURNEYSESSION_PROP_SDKLIBRARY_DSC", type: "cpx_journey_sdk_library", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "journeyMobileAppData" }] }, LineItem: { name: "AR_TP_LINEITEM", allowArray: true, dataType: "LineItemType", propertiesAllowAssignment: true, support: { classType: "LineItemVariable", expressionDataType: "lni", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsApplePay" }, nativeProperties: [{ id: "listingName", name: "listingName", descriptionId: "AR_TP_LINEITEM_PROP_LISTINGNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_LINEITEM_PROP_LISTINGNAME_DISP_VAL" }, { id: "listingPrice", name: "listingPrice", descriptionId: "AR_TP_LINEITEM_PROP_LISTINGPRICE_DSC", type: "cur", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_LINEITEM_PROP_LISTINGPRICE_DISP_VAL" }] }, ShippingOption: { name: "AR_TP_SHIPPINGOPTION", allowArray: true, dataType: "ShippingOptionType", propertiesAllowAssignment: true, support: { classType: "ShippingOptionVariable", expressionDataType: "sho", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsApplePay" }, nativeProperties: [{ id: "label", name: "label", descriptionId: "AR_TP_SHIPPINGOPTION_PROP_LABEL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_SHIPPINGOPTION_PROP_LABEL_DISP_VAL" }, { id: "identifier", name: "identifier", descriptionId: "AR_TP_SHIPPINGOPTION_PROP_IDENTIFIER_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_SHIPPINGOPTION_PROP_IDENTIFIER_DISP_VAL" }, { id: "shippingDetails", name: "shippingDetails", descriptionId: "AR_TP_SHIPPINGOPTION_PROP_SHIPPINGDETAILS_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_SHIPPINGOPTION_PROP_SHIPPINGDETAILS_DISP_VAL" }, { id: "price", name: "price", descriptionId: "AR_TP_SHIPPINGOPTION_PROP_PRICE_DSC", type: "cur", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_SHIPPINGOPTION_PROP_PRICE_DISP_VAL" }] }, ListPicker: { name: "AR_TP_LISTPICKER", allowArray: false, dataType: "ListPickerType", propertiesAllowAssignment: true, support: { classType: "ListPickerVariable", expressionDataType: "lpk", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAppleListPicker" }, nativeProperties: [{ id: "sections", name: "sections", descriptionId: "AR_TP_LISTPICKER_PROP_SECTIONS_DSC", type: "lps", isCollection: true, isComputed: false, version: "1.0", readOnly: false, minItems: 1, maxItems: 10, displayValue: "AR_TP_LISTPICKER_PROP_SECTIONS_DISP_VAL" }, { id: "receivedMessageImage", name: "receivedMessageImage", descriptionId: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEIMAGE_DSC", type: "img", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEIMAGE_DISP_VAL" }, { id: "receivedMessageTitle", name: "receivedMessageTitle", descriptionId: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGETITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, minLength: 1, maxLength: 256, displayValue: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGETITLE_DISP_VAL", overrides: [{ propertyName: "maxLength", newValue: "1024", featureConfigName: "whatsAppListPickerFeature" }] }, { id: "receivedMessageSubtitle", name: "receivedMessageSubtitle", descriptionId: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGESUBTITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, maxLength: 256, displayValue: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGESUBTITLE_DISP_VAL" }, { id: "receivedMessageButtonText", name: "receivedMessageButtonText", descriptionId: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEBUTTONTEXT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "whatsAppListPickerFeature", minLength: 1, maxLength: 20, displayValue: "AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEBUTTONTEXT_DISP_VAL", supportedSessionSources: ["whatsapp"] }, { id: "replyMessageImage", name: "replyMessageImage", descriptionId: "AR_TP_LISTPICKER_PROP_REPLYMESSAGEIMAGE_DSC", type: "img", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_LISTPICKER_PROP_REPLYMESSAGEIMAGE_DISP_VAL", supportedSessionSources: ["applebusinesschat"] }, { id: "replyMessageSubtitle", name: "replyMessageSubtitle", descriptionId: "AR_TP_LISTPICKER_PROP_REPLYMESSAGESUBTITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, maxLength: 256, displayValue: "AR_TP_LISTPICKER_PROP_REPLYMESSAGESUBTITLE_DISP_VAL", supportedSessionSources: ["applebusinesschat"] }] }, ListPickerItem: { name: "AR_TP_LISTPICKERITEM", allowArray: true, dataType: "ListPickerItemType", propertiesAllowAssignment: true, support: { classType: "ListPickerItemVariable", expressionDataType: "lpi", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAppleListPicker" }, nativeProperties: [{ id: "title", name: "title", descriptionId: "AR_TP_LISTPICKERITEM_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, minLength: 1, maxLength: 50, displayValue: "AR_TP_LISTPICKERITEM_PROP_TITLE_DISP_VAL" }, { id: "subtitle", name: "subtitle", descriptionId: "AR_TP_LISTPICKERITEM_PROP_SUBTITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, maxLength: 256, displayValue: "AR_TP_LISTPICKERITEM_PROP_SUBTITLE_DISP_VAL" }, { id: "image", name: "image", descriptionId: "AR_TP_LISTPICKERITEM_PROP_IMAGE_DSC", type: "img", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_LISTPICKERITEM_PROP_IMAGE_DISP_VAL" }] }, ListPickerSection: { name: "AR_TP_LISTPICKERSECTION", allowArray: true, dataType: "ListPickerSectionType", propertiesAllowAssignment: true, support: { classType: "ListPickerSectionVariable", expressionDataType: "lps", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAppleListPicker" }, nativeProperties: [{ id: "title", name: "title", descriptionId: "AR_TP_LISTPICKERSECTION_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, minLength: 1, maxLength: 256, displayValue: "AR_TP_LISTPICKERSECTION_PROP_TITLE_DISP_VAL" }, { id: "multiSelectEnabled", name: "multiSelectEnabled", descriptionId: "AR_TP_LISTPICKERSECTION_PROP_MULTISELECTENABLED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_LISTPICKERSECTION_PROP_MULTISELECTENABLED_DISP_VAL" }, { id: "items", name: "items", descriptionId: "AR_TP_LISTPICKERSECTION_PROP_ITEMS_DSC", type: "lpi", isCollection: true, isComputed: false, version: "1.0", readOnly: false, maxItems: 100, displayValue: "AR_TP_LISTPICKERSECTION_PROP_ITEMS_DISP_VAL" }] }, WheelPicker: { name: "AR_TP_WHEELPICKER", allowArray: false, dataType: "WheelPickerDataType", propertiesAllowAssignment: true, support: { classType: "WheelPickerVariable", expressionDataType: "wpk", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAppleFormsPhase2" }, nativeProperties: [{ id: "items", name: "items", descriptionId: "AR_TP_WHEELPICKER_PROP_ITEMS_DSC", type: "wpi", isCollection: true, isComputed: false, version: "1.0", readOnly: false, minItems: 1, maxItems: 100, displayValue: "AR_TP_WHEELPICKER_PROP_ITEMS_DISP_VAL" }] }, WheelPickerItem: { name: "AR_TP_WHEELPICKERITEM", allowArray: true, dataType: "WheelPickerItemDataType", propertiesAllowAssignment: true, support: { classType: "WheelPickerItemVariable", expressionDataType: "wpi", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAppleFormsPhase2" }, nativeProperties: [{ id: "title", name: "title", descriptionId: "AR_TP_WHEELPICKERITEM_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_WHEELPICKERITEM_PROP_TITLE_DISP_VAL" }, { id: "value", name: "value", descriptionId: "AR_TP_WHEELPICKERITEM_PROP_VALUE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_WHEELPICKERITEM_PROP_VALUE_DISP_VAL" }] }, KnowledgeBaseDocument: { name: "AR_TP_KNOWLEDGEBASEDOCUMENT", allowArray: true, dataType: "KnowledgeBaseDocumentDataType", support: { classType: "KnowledgeBaseDocumentVariable", expressionDataType: "kbd", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { commonmodule: { featureConfigName: "botFlowsDigitalBotFlows" }, digitalbot: {}, bot: { featureConfigName: "botFlowsFindKnowledgeBaseDocumentById" }, voice: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "content", name: "content", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_CONTENT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "category", name: "category", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_CATEGORY_DSC", type: "cpx_knowledge_base_document_category", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature" }, { id: "labels", name: "labels", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_LABELS_DSC", type: "cpx_knowledge_base_document_label", isCollection: true, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature" }] }, KnowledgeBaseDocumentCategory: { name: "AR_TP_KNOWLEDGEBASEDOCUMENTCATEGORY", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_knowledge_base_document_category", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { bot: { featureConfigName: "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature" }, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature" }, voice: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENTCATEGORY_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENTCATEGORY_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, KnowledgeBaseDocumentLabel: { name: "AR_TP_KNOWLEDGEBASEDOCUMENTLABEL", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_knowledge_base_document_label", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { bot: { featureConfigName: "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature" }, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature" }, voice: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENTLABEL_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_KNOWLEDGEBASEDOCUMENTLABEL_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, MessageStickerInfo: { name: "AR_TP_MESSAGESTICKERINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_message_sticker_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundshortmessage: {}, inqueueshortmessage: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_MESSAGESTICKERINFO_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "url", name: "url", descriptionId: "AR_TP_MESSAGESTICKERINFO_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, MessageAddressInfo: { name: "AR_TP_MESSAGEADDRESSINFO", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_message_address_info", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundshortmessage: {}, inqueueshortmessage: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_MESSAGEADDRESSINFO_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "addressRaw", name: "addressRaw", descriptionId: "AR_TP_MESSAGEADDRESSINFO_PROP_ADDRESSRAW_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "addressNormalized", name: "addressNormalized", descriptionId: "AR_TP_MESSAGEADDRESSINFO_PROP_ADDRESSNORMALIZED_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "addressDisplayable", name: "addressDisplayable", descriptionId: "AR_TP_MESSAGEADDRESSINFO_PROP_ADDRESSDISPLAYABLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "email", name: "email", descriptionId: "AR_TP_MESSAGEADDRESSINFO_PROP_EMAIL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "messageAddressInfoEmail" }] }, ShortMessage: { name: "AR_TP_SHORTMESSAGE", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_short_message", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundshortmessage: {}, inqueueshortmessage: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SHORTMESSAGE_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "type", name: "type", descriptionId: "AR_TP_SHORTMESSAGE_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "attachments", name: "attachments", descriptionId: "AR_TP_SHORTMESSAGE_PROP_ATTACHMENTS_DSC", type: "cpx_email_attachment", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "body", name: "body", descriptionId: "AR_TP_SHORTMESSAGE_PROP_BODY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "bodyType", name: "bodyType", descriptionId: "AR_TP_SHORTMESSAGE_PROP_BODYTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "senderAddress", name: "senderAddress", descriptionId: "AR_TP_SHORTMESSAGE_PROP_SENDERADDRESS_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "senderAddressInfo", name: "senderAddressInfo", descriptionId: "AR_TP_SHORTMESSAGE_PROP_SENDERADDRESSINFO_DSC", type: "cpx_message_address_info", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "targetAddresses", name: "targetAddresses", descriptionId: "AR_TP_SHORTMESSAGE_PROP_TARGETADDRESSES_DSC", type: "str", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "targetAddressesInfo", name: "targetAddressesInfo", descriptionId: "AR_TP_SHORTMESSAGE_PROP_TARGETADDRESSESINFO_DSC", type: "cpx_message_address_info", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "dateTimeUtc", name: "dateTimeUtc", descriptionId: "AR_TP_SHORTMESSAGE_PROP_DATETIMEUTC_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "invitationReferenceId", name: "invitationReferenceId", descriptionId: "AR_TP_SHORTMESSAGE_PROP_INVITATIONREFERENCEID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "appleInvitationFeature" }, { id: "stickers", name: "stickers", descriptionId: "AR_TP_SHORTMESSAGE_PROP_STICKERS_DSC", type: "cpx_message_sticker_info", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "socialVisibility", name: "socialVisibility", descriptionId: "AR_TP_SHORTMESSAGE_PROP_SOCIALVISIBILITY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "publicInboundMessageFlagFeature" }] }, Communication: { name: "AR_TP_COMMUNICATION", allowArray: false, allowArray_altAvailability: "botFlowsDynamicSlotTypePhase2Feature", dataType: "CommunicationDataType", support: { classType: "CommunicationVariable", expressionDataType: "com", expressionBaseDataType: "com", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, Null: { name: "AR_TP_NTS", allowArray: false, dataType: "NullDataType", isAbstract: true, support: { expressionDataType: "nts", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, Prompt: { name: "AR_TP_PROMPT", allowArray: true, dataType: "PromptDataType", support: { classType: "PromptVariable", expressionDataType: "pmt", expressionBaseDataType: "pmt", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: {}, digitalbot: {}, inboundchat: {}, emailsend: {}, inboundemail: {}, inqueueemail: {}, inqueueshortmessage: {}, inboundshortmessage: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: {}, voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_PROMPT_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_PROMPT_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "type", name: "type", descriptionId: "AR_TP_PROMPT_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, VoicemailSnippet: { name: "AR_TP_VOICEMAILSNIPPET", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_voicemail_snippet", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { voicemail: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_VOICEMAILSNIPPET_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "startDateTime", name: "startDateTime", descriptionId: "AR_TP_VOICEMAILSNIPPET_PROP_STARTDATETIME_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "length", name: "length", descriptionId: "AR_TP_VOICEMAILSNIPPET_PROP_LENGTH_DSC", type: "dur", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "maxLengthReached", name: "maxLengthReached", descriptionId: "AR_TP_VOICEMAILSNIPPET_PROP_MAXLENGTHREACHED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "voicemailRecordingMaxTime" }] }, VoiceSnippet: { name: "AR_TP_VOICESNIPPET", allowArray: false, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_voice_snippet", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: { featureConfigName: "botFlowsVoiceSnippets" }, digitalbot: { featureConfigName: "botFlowsVoiceSnippets" }, voice: { featureConfigName: "botFlowsVoiceSnippets" }, voicesurvey: { featureConfigName: "botFlowsVoiceSnippets" }, commonmodule: { flowInputSingleton: true, flowOutputSingleton: true, featureConfigName: "voiceSnippets" }, inboundcall: { featureConfigName: "voiceSnippets" }, inqueuecall: { featureConfigName: "voiceSnippets" }, outboundcall: { featureConfigName: "voiceSnippets" }, voicemail: { featureConfigName: "voiceSnippets" } }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_VOICESNIPPET_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "startDateTime", name: "startDateTime", descriptionId: "AR_TP_VOICESNIPPET_PROP_STARTDATETIME_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "length", name: "length", descriptionId: "AR_TP_VOICESNIPPET_PROP_LENGTH_DSC", type: "dur", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Skill: { name: "AR_TP_SKL", allowArray: true, dataType: "SkillDataType", support: { classType: "SkillVariable", expressionDataType: "skl", expressionBaseDataType: "skl", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { featureConfigName: "botFlowsQueueSupportFeature" }, digitalbot: { featureConfigName: "botFlowsQueueSupportFeature" }, voice: { featureConfigName: "botFlowsQueueSupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0", featureConfigName: "orgAvailabilityRoutingSkills" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SKL_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_SKL_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, String: { name: "AR_TP_STR", allowArray: true, dataType: "StringDataType", support: { classType: "StringVariable", expressionDataType: "str", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {} }, version: "1.0" }, nativeProperties: [] }, UserQueue: { name: "AR_TP_USQ", allowArray: true, dataType: "UserQueueDataType", support: { classType: "UserVariable", expressionDataType: "usr", expressionBaseDataType: "usr", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { featureConfigName: "botFlowsQueueSupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { featureConfigName: "botFlowsQueueSupportFeature" }, voice: { flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0", featureConfigName: "orgAvailabilityUsers" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_USQ_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_USQ_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "username", name: "username", descriptionId: "AR_TP_USQ_PROP_USERNAME_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Video: { name: "AR_TP_VIDEO", allowArray: true, dataType: "VideoDataType", support: { classType: "VideoVariable", expressionDataType: "vid", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAttachmentsFeature" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_VIDEO_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, { id: "name", name: "name", descriptionId: "AR_TP_VIDEO_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, { id: "url", name: "url", descriptionId: "AR_TP_VIDEO_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, SurveyQuestion: { name: "AR_TP_SURVEYQUESTION", allowArray: true, dataType: "SurveyQuestionType", support: { classType: "SurveyQuestionVariable", expressionDataType: "squ", expressionBaseDataType: "squ", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SURVEYQUESTION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "questionType", name: "questionType", descriptionId: "AR_TP_SURVEYQUESTION_PROP_QUESTIONTYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, allowableValues: "multipleChoiceQuestion, freeTextQuestion, npsQuestion, readOnlyQuestion" }, { id: "answerOptions", name: "answerOptions", descriptionId: "AR_TP_SURVEYQUESTION_PROP_ANSWEROPTIONS_DSC", type: "sao", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "naEnabled", name: "naEnabled", descriptionId: "AR_TP_SURVEYQUESTION_PROP_NAENABLED_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "maxResponseCharacters", name: "maxResponseCharacters", descriptionId: "AR_TP_SURVEYQUESTION_PROP_MAXRESPONSECHARACTERS_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "questionText", name: "questionText", descriptionId: "AR_TP_SURVEYQUESTION_PROP_QUESTIONTEXT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "questionHelpText", name: "questionHelpText", descriptionId: "AR_TP_SURVEYQUESTION_PROP_QUESTIONHELPTEXT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "followUpQuestionText", name: "followUpQuestionText", descriptionId: "AR_TP_SURVEYQUESTION_PROP_FOLLOWUPQUESTIONTEXT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, SurveyQuestionGroup: { name: "AR_TP_SURVEYQUESTIONGROUP", allowArray: true, dataType: "SurveyQuestionType", support: { classType: "SurveyQuestionGroupVariable", expressionDataType: "sqg", expressionBaseDataType: "sqg", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SURVEYQUESTIONGROUP_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_SURVEYQUESTIONGROUP_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "questions", name: "questions", descriptionId: "AR_TP_SURVEYQUESTIONGROUP_PROP_QUESTIONS_DSC", type: "squ", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, SurveyForm: { name: "AR_TP_SURVEYFORM", allowArray: false, dataType: "SurveyFormType", support: { classType: "SurveyFormVariable", expressionDataType: "sfo", expressionBaseDataType: "sfo", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SURVEYFORM_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_SURVEYFORM_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "language", name: "language", descriptionId: "AR_TP_SURVEYFORM_PROP_LANGUAGE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "questionGroups", name: "questionGroups", descriptionId: "AR_TP_SURVEYFORM_PROP_QUESTIONGROUPS_DSC", type: "sqg", isCollection: true, isComputed: false, version: "1.0", readOnly: true }] }, SurveyAnswerOption: { name: "AR_TP_SURVEYANSWEROPTION", allowArray: true, dataType: "SurveyAnswerOptionType", propertiesAllowAssignment: true, support: { classType: "SurveyAnswerOptionVariable", expressionDataType: "sao", expressionBaseDataType: "sao", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { voicesurvey: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SURVEYANSWEROPTION_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dtmf", name: "dtmf", descriptionId: "AR_TP_SURVEYANSWEROPTION_PROP_DTMF_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "text", name: "text", descriptionId: "AR_TP_SURVEYANSWEROPTION_PROP_TEXT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Queue: { name: "AR_TP_QUEUE", allowArray: true, dataType: "QueueDataType", support: { classType: "QueueVariable", expressionDataType: "que", expressionBaseDataType: "que", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: { flowOutputSingleton: true, flowOutputCollection: true }, inboundemail: { flowOutputSingleton: true, flowOutputCollection: true }, inboundshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueemail: { flowOutputSingleton: true, flowOutputCollection: true }, inqueueshortmessage: { flowOutputSingleton: true, flowOutputCollection: true }, surveyinvite: { flowOutputSingleton: true, flowOutputCollection: true }, workflow: { flowOutputSingleton: true, flowOutputCollection: true }, workitem: { flowOutputSingleton: true, flowOutputCollection: true }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { featureConfigName: "botFlowsQueueSupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { featureConfigName: "botFlowsQueueSupportFeature" }, voice: {} }, version: "1.0", featureConfigName: "orgAvailabilityQueues" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_QUEUE_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_QUEUE_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, UtilizationLabel: { name: "AR_TP_UTILIZATIONLABEL", allowArray: true, dataType: "UtilizationLabelDataType", support: { classType: "UtilizationLabelVariable", expressionDataType: "cul", expressionBaseDataType: "cul", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: {}, commonmodule: {}, digitalbot: {}, emailsend: {}, inboundemail: {}, inboundshortmessage: {}, inboundchat: {}, inqueueemail: {}, inqueueshortmessage: {}, voice: {}, workitem: {} }, version: "1.0", featureConfigName: "conversationUtilizationLabels" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_UTILIZATIONLABEL_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_UTILIZATIONLABEL_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ConversationTypeEnum: { name: "AR_TP_CONVERSATIONTYPEENUM", allowArray: false, dataType: "ConversationTypeEnumDataType", isEnumContainer: true, support: { classType: "ConversationTypeEnumVariable", expressionDataType: "cte", expressionBaseDataType: "cte", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: { featureConfigName: "botFlowsPhase2" }, digitalbot: { featureConfigName: "botFlowsPhase2" }, voice: { featureConfigName: "botFlowsPhase2" }, voicesurvey: { featureConfigName: "botFlowsPhase2" }, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "call", name: "call", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_CALL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "callback", name: "callback", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_CALLBACK_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "chat", name: "chat", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_CHAT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "cobrowse", name: "cobrowse", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_COBROWSE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "email", name: "email", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_EMAIL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "screenShare", name: "screenShare", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_SCREENSHARE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "socialExpression", name: "socialExpression", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_SOCIALEXPRESSION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "videoComm", name: "videoComm", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_VIDEOCOMM_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }, { id: "unknown", name: "unknown", descriptionId: "AR_TP_CONVERSATIONTYPEENUM_PROP_UNKNOWN_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToConversationType" }] }, CurrencyEnum: { name: "AR_TP_CURRENCYENUM", allowArray: false, dataType: "CurrencyEnumDataType", isEnumContainer: true, support: { classType: "CurrencyEnumVariable", expressionDataType: "cre", expressionBaseDataType: "cre", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "code", name: "code", descriptionId: "AR_TP_CURRENCYENUM_PROP_CODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToCurrencyCode" }] }, LanguageEnum: { name: "AR_TP_LANGUAGEENUM", allowArray: false, dataType: "LanguageEnumDataType", isEnumContainer: true, support: { classType: "LanguageEnumVariable", expressionDataType: "lge", expressionBaseDataType: "lge", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "code", name: "tag", descriptionId: "AR_TP_LANGUAGEENUM_PROP_TAG_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToLanguageTag" }] }, RegionEnum: { name: "AR_TP_REGIONENUM", allowArray: false, dataType: "RegionEnumDataType", isEnumContainer: true, support: { classType: "RegionEnumVariable", expressionDataType: "rge", expressionBaseDataType: "rge", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "dialingCode", name: "dialingCode", descriptionId: "AR_TP_REGIONENUM_PROP_DIALINGCODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToDialingCode" }, { id: "countryCode", name: "countryCode", descriptionId: "AR_TP_REGIONENUM_PROP_COUNTRYCODE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToCountryCode" }] }, MessageBodyStyleEnum: { name: "AR_TP_MESSAGEBODYSTYLEENUM", allowArray: false, dataType: "MessageBodyStyleEnumDataType", isEnumContainer: true, support: { classType: "MessageBodyStyleEnumVariable", expressionDataType: "mbe", expressionBaseDataType: "mbe", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundchat: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "notice", name: "notice", descriptionId: "AR_TP_MESSAGEBODYSTYLEENUM_PROP_NOTICE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToSendResponseBodyType" }, { id: "standard", name: "standard", descriptionId: "AR_TP_MESSAGEBODYSTYLEENUM_PROP_STANDARD_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToSendResponseBodyType" }] }, SurveyDispositionEnum: { name: "AR_TP_SURVEYDISPOSITIONENUM", allowArray: false, dataType: "SurveyDispositionEnumDataType", isEnumContainer: true, support: { classType: "SurveyDispositionEnumVariable", expressionDataType: "sde", expressionBaseDataType: "sde", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { surveyinvite: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "error", name: "error", descriptionId: "AR_TP_SURVEYDISPOSITIONENUM_PROP_ERROR_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToSurveyDisposition" }, { id: "optOut", name: "optOut", descriptionId: "AR_TP_SURVEYDISPOSITIONENUM_PROP_OPTOUT_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, propertyToLiteralResolver: "propIDToSurveyDisposition" }] }, CurrenciesEnumContainer: { name: "AR_TP_CURRENCIESENUMCONTAINER", allowArray: false, dataType: "CurrenciesEnumContainer", isEnumContainer: true, support: { classType: "CurrenciesEnumContainerVariable", expressionDataType: "cec", expressionBaseDataType: "cec", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, dynamicPropertyProvider: "Currencies", nativeProperties: [] }, DayOfWeekEnumContainer: { name: "AR_TP_DAYOFWEEKENUMCONTAINER", allowArray: false, dataType: "DayOfWeekEnumContainer", isEnumContainer: true, support: { classType: "DayOfWeekEnumContainerVariable", expressionDataType: "dwc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "sunday", name: "sunday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SUNDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SUNDAY_DISP_VAL", propertyResolvedLiteralValue: "1" }, { id: "monday", name: "monday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_MONDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_MONDAY_DISP_VAL", propertyResolvedLiteralValue: "2" }, { id: "tuesday", name: "tuesday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_TUESDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_TUESDAY_DISP_VAL", propertyResolvedLiteralValue: "3" }, { id: "wednesday", name: "wednesday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_WEDNESDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_WEDNESDAY_DISP_VAL", propertyResolvedLiteralValue: "4" }, { id: "thursday", name: "thursday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_THURSDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_THURSDAY_DISP_VAL", propertyResolvedLiteralValue: "5" }, { id: "friday", name: "friday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_FRIDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_FRIDAY_DISP_VAL", propertyResolvedLiteralValue: "6" }, { id: "saturday", name: "saturday", descriptionId: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SATURDAY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SATURDAY_DISP_VAL", propertyResolvedLiteralValue: "7" }] }, DateTimeEnumContainer: { name: "AR_TP_DATETIMEENUMCONTAINER", allowArray: false, dataType: "DateTimeEnumContainer", isEnumContainer: true, support: { classType: "DateTimeEnumContainerVariable", expressionDataType: "dlc", expressionBaseDataType: "dlc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "dayOfWeek", name: "dayOfWeek", descriptionId: "AR_TP_DATETIMEENUMCONTAINER_PROP_DAYOFWEEK_DSC", type: "dwc", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATETIMEENUMCONTAINER_PROP_DAYOFWEEK_DISP_VAL" }] }, DigitalAudio: { name: "AR_TP_DIGITALAUDIO", allowArray: true, dataType: "DigitalAudioDataType", support: { classType: "DigitalAudioVariable", expressionDataType: "dia", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAttachmentsFeature" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_DIGITALAUDIO_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, { id: "name", name: "name", descriptionId: "AR_TP_DIGITALAUDIO_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, { id: "url", name: "url", descriptionId: "AR_TP_DIGITALAUDIO_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, File: { name: "AR_TP_FILE", allowArray: true, dataType: "FileDataType", support: { classType: "FileVariable", expressionDataType: "fil", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsAttachmentsFeature" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_FILE_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, { id: "name", name: "name", descriptionId: "AR_TP_FILE_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, featureConfigName: "botFlowsDigitalBotFlowsPhase2" }, { id: "url", name: "url", descriptionId: "AR_TP_FILE_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, LanguagesEnumContainer: { name: "AR_TP_LANGUAGESENUMCONTAINER", allowArray: false, dataType: "LanguagesEnumContainer", isEnumContainer: true, support: { classType: "LanguagesEnumContainerVariable", expressionDataType: "lnc", expressionBaseDataType: "lnc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, dynamicPropertyProvider: "Languages", nativeProperties: [] }, RegionsEnumContainer: { name: "AR_TP_REGIONSENUMCONTAINER", allowArray: false, dataType: "RegionsEnumContainer", isEnumContainer: true, support: { classType: "RegionsEnumContainerVariable", expressionDataType: "rec", expressionBaseDataType: "rec", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, dynamicPropertyProvider: "Regions", nativeProperties: [] }, ResponseAsset: { name: "AR_TP_RESPONSEASSET", allowArray: true, dataType: "ResponseAssetDataType", support: { classType: "ResponseAssetVariable", expressionDataType: "rpa", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, commonmodule: {}, digitalbot: {} }, version: "1.0", featureConfigName: "cannedResponseAttachmentsFeature" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_RESPONSEASSET_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_RESPONSEASSET_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "type", name: "type", descriptionId: "AR_TP_RESPONSEASSET_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "length", name: "length", descriptionId: "AR_TP_RESPONSEASSET_PROP_LENGTH_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "url", name: "url", descriptionId: "AR_TP_RESPONSEASSET_PROP_URL_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, SurveyDispositionsEnumContainer: { name: "AR_TP_SURVEYDISPOSITIONSENUMCONTAINER", allowArray: false, dataType: "SurveyDispositionsEnumContainer", isEnumContainer: true, support: { classType: "SurveyDispositionsEnumContainerVariable", expressionDataType: "sec", expressionBaseDataType: "sec", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, dynamicPropertyProvider: "SurveyDispositions", nativeProperties: [] }, ConversationTypesEnumContainer: { name: "AR_TP_CONVERSATIONTYPESENUMCONTAINER", allowArray: false, dataType: "ConversationTypesEnumContainer", isEnumContainer: true, support: { classType: "ConversationTypesEnumContainerVariable", expressionDataType: "ctc", expressionBaseDataType: "ctc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, dynamicPropertyProvider: "ConversationTypes", nativeProperties: [] }, Time: { name: "AR_TP_TIME", allowArray: true, dataType: "TimeDataType", support: { classType: "TimeVariable", expressionDataType: "tim", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voicesurvey: {} }, version: "1.0" }, nativeProperties: [] }, TimePartEnumContainer: { name: "AR_TP_TIMEPARTENUMCONTAINER", allowArray: false, dataType: "TimePartEnumContainer", isEnumContainer: true, support: { classType: "TimePartEnumContainerVariable", expressionDataType: "tpc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "timePartDays", name: "days", descriptionId: "AR_TP_TIMEPARTENUMCONTAINER_PROP_DAYS_DSC", type: "tpf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_TIMEPARTENUMCONTAINER_PROP_DAYS_DISP_VAL" }, { id: "timePartHours", name: "hours", descriptionId: "AR_TP_TIMEPARTENUMCONTAINER_PROP_HOURS_DSC", type: "tpf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_TIMEPARTENUMCONTAINER_PROP_HOURS_DISP_VAL" }, { id: "timePartMinutes", name: "minutes", descriptionId: "AR_TP_TIMEPARTENUMCONTAINER_PROP_MINUTES_DSC", type: "tpf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_TIMEPARTENUMCONTAINER_PROP_MINUTES_DISP_VAL" }, { id: "timePartSeconds", name: "seconds", descriptionId: "AR_TP_TIMEPARTENUMCONTAINER_PROP_SECONDS_DSC", type: "tpf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_TIMEPARTENUMCONTAINER_PROP_SECONDS_DISP_VAL" }] }, TimePartEnum: { name: "AR_TP_TIMEPARTENUM", allowArray: false, dataType: "TimePartEnumDataType", isEnum: true, support: { classType: "TimePartEnumVariable", expressionDataType: "tpf", expressionBaseDataType: "tpf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, TimePicker: { name: "AR_TP_TIMEPICKER", allowArray: false, dataType: "TimePickerDataType", propertiesAllowAssignment: true, support: { classType: "TimePickerVariable", expressionDataType: "tpk", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsMessagingDatePicker" }, nativeProperties: [{ id: "title", name: "title", descriptionId: "AR_TP_TIMEPICKER_PROP_TITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, minLength: 1 }, { id: "subtitle", name: "subtitle", descriptionId: "AR_TP_TIMEPICKER_PROP_SUBTITLE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "image", name: "image", descriptionId: "AR_TP_TIMEPICKER_PROP_IMAGE_DSC", type: "img", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_TIMEPICKER_PROP_IMAGE_DISP_VAL" }, { id: "address", name: "address", descriptionId: "AR_TP_TIMEPICKER_PROP_ADDRESS_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_TIMEPICKER_PROP_ADDRESS_DISP_VAL" }, { id: "longitude", name: "longitude", descriptionId: "AR_TP_TIMEPICKER_PROP_LONGITUDE_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_TIMEPICKER_PROP_LONGITUDE_DISP_VAL" }, { id: "latitude", name: "latitude", descriptionId: "AR_TP_TIMEPICKER_PROP_LATITUDE_DSC", type: "dec", isCollection: false, isComputed: false, version: "1.0", readOnly: false, displayValue: "AR_TP_TIMEPICKER_PROP_LATITUDE_DISP_VAL" }] }, Timeslot: { name: "AR_TP_TIMESLOT", allowArray: true, dataType: "TimeslotDataType", propertiesAllowAssignment: true, support: { classType: "TimeslotVariable", expressionDataType: "tsl", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { digitalbot: {} }, version: "1.0", featureConfigName: "botFlowsMessagingDatePicker" }, nativeProperties: [{ id: "dateTime", name: "dateTime", descriptionId: "AR_TP_TIMESLOT_PROP_DTM_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "duration", name: "duration", descriptionId: "AR_TP_TIMESLOT_PROP_DUR_DSC", type: "dur", isCollection: false, isComputed: false, version: "1.0", readOnly: false }] }, WrapupCode: { name: "AR_TP_WRC", allowArray: true, dataType: "WrapupCodeDataType", support: { classType: "WrapupCodeVariable", expressionDataType: "wrc", expressionBaseDataType: "wrc", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { featureConfigName: "botFlowsDigitalBotFlowsBotSummarization" }, digitalbot: { featureConfigName: "botFlowsDigitalBotFlowsBotSummarization" }, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: {} }, version: "1.0", featureConfigName: "orgAvailabilityRoutingWrapupCodes" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_WRC_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_WRC_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Grammar: { name: "AR_TP_GRAMMAR", allowArray: true, dataType: "GrammarDataType", support: { classType: "GrammarVariable", expressionDataType: "gmr", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { bot: {}, commonmodule: {}, voice: {}, voicesurvey: {} }, version: "1.0", featureConfigName: "orgAvailabilityGrammars" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_GRAMMAR_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_GRAMMAR_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Group: { name: "AR_TP_GRP", allowArray: true, dataType: "GroupDataType", support: { classType: "GroupVariable", expressionDataType: "grp", expressionBaseDataType: "grp", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { featureConfigName: "botFlowsAlignTransferActions" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { featureConfigName: "botFlowsGroupSupportFeature" }, workflow: {}, voice: { featureConfigName: "botFlowsGroupSupportFeature" } }, version: "1.0", featureConfigName: "orgAvailabilityGroups" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_GRP_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_GRP_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, PhoneNumber: { name: "AR_TP_PHNBR", allowArray: true, dataType: "PhoneNumberDataType", support: { classType: "PhoneNumberVariable", expressionDataType: "phn", expressionBaseDataType: "phn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true } }, version: "1.0" }, nativeProperties: [{ id: "dialingCode", name: "dialingCode", descriptionId: "AR_TP_PHNBR_PROP_DIALINGCODE_DSC", type: "str", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "e164", name: "e164", descriptionId: "AR_TP_PHNBR_PROP_E164_DSC", type: "str", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "subscriberNumber", name: "subscriberNumber", descriptionId: "AR_TP_PHNBR_PROP_SUBSCRIBERNUMBER_DSC", type: "str", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "isGlobal", name: "isGlobal", descriptionId: "AR_TP_PHNBR_PROP_ISGLOBAL_DSC", type: "bln", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "isSip", name: "isSip", descriptionId: "AR_TP_PHNBR_PROP_ISSIP_DSC", type: "bln", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "isTel", name: "isTel", descriptionId: "AR_TP_PHNBR_PROP_ISTEL_DSC", type: "bln", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "raw", name: "raw", descriptionId: "AR_TP_PHNBR_PROP_RAW_DSC", type: "str", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "scheme", name: "scheme", descriptionId: "AR_TP_PHNBR_PROP_SCHEME_DSC", type: "str", isCollection: false, isComputed: true, version: "1.0", readOnly: true }, { id: "uri", name: "uri", descriptionId: "AR_TP_PHNBR_PROP_URI_DSC", type: "str", isCollection: false, isComputed: true, version: "1.0", readOnly: true }] }, EmergencyGroup: { name: "AR_TP_EMERGRP", allowArray: true, dataType: "EmergencyGroupDataType", support: { classType: "EmergencyGroupVariable", expressionDataType: "emg", expressionBaseDataType: "emg", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: { featureConfigName: "botFlowsScheduleSupportFeature" }, digitalbot: { featureConfigName: "botFlowsScheduleSupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: {} }, version: "1.0", featureConfigName: "orgAvailabilityRoutingEmergencyGroups" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_EMERGRP_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_EMERGRP_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Schedule: { name: "AR_TP_SCHED", allowArray: true, dataType: "ScheduleDataType", support: { classType: "ScheduleVariable", expressionDataType: "sch", expressionBaseDataType: "sch", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: { featureConfigName: "botFlowsScheduleSupportFeature" }, digitalbot: { featureConfigName: "botFlowsScheduleSupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: {} }, version: "1.0", featureConfigName: "orgAvailabilityRoutingSchedules" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SCHED_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_SCHED_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ScheduleGroup: { name: "AR_TP_SCHEDGRP", allowArray: true, dataType: "ScheduleGroupDataType", support: { classType: "ScheduleGroupVariable", expressionDataType: "scg", expressionBaseDataType: "scg", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: { featureConfigName: "botFlowsScheduleSupportFeature" }, digitalbot: { featureConfigName: "botFlowsScheduleSupportFeature" }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, voice: {} }, version: "1.0", featureConfigName: "orgAvailabilityRoutingScheduleGroups" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_SCHEDGRP_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_SCHEDGRP_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "timeZone", name: "timeZone", descriptionId: "AR_TP_SCHEDGRP_PROP_TIMEZONE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Any: { name: "AR_TP_ANY", allowArray: true, dataType: "Any", isAbstract: true, support: { expressionDataType: "any", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, AnyComplex: { name: "AR_TP_ANYCOMPLEX", allowArray: true, dataType: "AnyComplex", isAbstract: true, support: { expressionDataType: "acp", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, emailsend: {}, inboundchat: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {}, surveyinvite: {}, workflow: {}, workitem: {}, bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, AnyPromptOrAudio: { name: "AR_TP_ANYPROMPTORAUDIO", allowArray: true, dataType: "AnyPromptOrAudio", isAbstract: true, support: { expressionDataType: "apa", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, DateFormatEnum: { name: "AR_TP_DATEFORMATENUM", allowArray: false, dataType: "DateFormatEnum", isEnum: true, support: { classType: "DateFormatEnumVariable", expressionDataType: "daf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, DateTimeFormatEnum: { name: "AR_TP_DATETIMEFORMATENUM", allowArray: false, dataType: "DateTimeFormatEnum", isEnum: true, support: { classType: "DateTimeFormatEnumVariable", expressionDataType: "dtf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, TimeFormatEnum: { name: "AR_TP_TIMEFORMATENUM", allowArray: false, dataType: "TimeFormatEnum", isEnum: true, support: { classType: "TimeFormatEnumVariable", expressionDataType: "tif", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, BoolFormatEnum: { name: "AR_TP_BOOLFORMATENUM", allowArray: false, dataType: "BoolFormatEnum", isEnum: true, support: { classType: "BoolFormatEnumVariable", expressionDataType: "bof", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, CurrencyFormatEnum: { name: "AR_TP_CURRENCYFORMATENUM", allowArray: false, dataType: "CurrencyFormatEnum", isEnum: true, support: { classType: "CurrencyFormatEnumVariable", expressionDataType: "cuf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, NumberFormatEnum: { name: "AR_TP_NUMBERFORMATENUM", allowArray: false, dataType: "NumberFormatEnum", isEnum: true, support: { classType: "NumberFormatEnumVariable", expressionDataType: "nuf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, PhoneNumberFormatEnum: { name: "AR_TP_PHONENUMBERFORMATENUM", allowArray: false, dataType: "PhoneNumberFormatEnum", isEnum: true, support: { classType: "PhoneNumberFormatEnumVariable", expressionDataType: "phf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureToggleName: "archPhoneNumberPhase2" }, nativeProperties: [] }, LanguageContextEnum: { name: "AR_TP_LANGUAGECONTEXTENUM", allowArray: false, dataType: "LanguageContextEnum", isAbstract: true, isEnum: true, support: { classType: "LanguageContextEnumVariable", expressionDataType: "lne", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, digitalbot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voice: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voicesurvey: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, StringFormatEnum: { name: "AR_TP_STRINGFORMATENUM", allowArray: false, dataType: "StringFormatEnum", isEnum: true, support: { classType: "StringFormatEnumVariable", expressionDataType: "stf", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, DateFormatEnumContainer: { name: "AR_TP_DATEFORMATENUMCONTAINER", allowArray: false, dataType: "DateFormatEnumContainer", isEnumContainer: true, support: { classType: "DateFormatEnumContainerVariable", expressionDataType: "dac", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "dateLongYear", name: "longYear", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEAR_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEAR_DISP_VAL" }, { id: "dateShortYear", name: "shortYear", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEAR_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEAR_DISP_VAL" }, { id: "dateShortMonthAndDay", name: "shortMonthAndDay", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTMONTHANDDAY_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTMONTHANDDAY_DISP_VAL" }, { id: "dateDayOfWeekOnly", name: "dayOfWeekOnly", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYOFWEEKONLY_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYOFWEEKONLY_DISP_VAL" }, { id: "dateDayOnly", name: "dayOnly", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYONLY_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYONLY_DISP_VAL" }, { id: "dateMonthOnly", name: "monthOnly", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_MONTHONLY_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_MONTHONLY_DISP_VAL" }, { id: "dateShortYearOnly", name: "shortYearOnly", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEARONLY_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEARONLY_DISP_VAL" }, { id: "dateLongYearOnly", name: "longYearOnly", descriptionId: "AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEARONLY_DSC", type: "daf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEARONLY_DISP_VAL" }] }, SkillExpressionFilter: { name: "AR_TP_SKILLEXPRESSIONFILTER", allowArray: true, additionalProperties: "false", dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::skill_expression_filter", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {}, emailsend: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {} }, version: "1.0", featureConfigName: "routingSkillExpressionsFeature" }, nativeProperties: [{ id: "raw", name: "raw", descriptionId: "AR_TP_SKILLEXPRESSIONFILTER_PROP_RAW_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "normalized", name: "normalized", descriptionId: "AR_TP_SKILLEXPRESSIONFILTER_PROP_NORMALIZED_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "acdSkills", name: "acdSkills", descriptionId: "AR_TP_SKILLEXPRESSIONFILTER_PROP_ACDSKILLS_DSC", type: "skl", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "languageSkills", name: "languageSkills", descriptionId: "AR_TP_SKILLEXPRESSIONFILTER_PROP_LANGUAGESKILLS_DSC", type: "lac", isCollection: true, isComputed: false, version: "1.0", readOnly: true }, { id: "errors", name: "errors", descriptionId: "AR_TP_SKILLEXPRESSIONFILTER_PROP_ERRORS_DSC", type: "jsn__architect::issue_info", isCollection: true, isComputed: false, version: "1.0", readOnly: true, issueInfoTypes: ["INVALID_CHARACTERS", "LIMITS_EXCEEDED", "SYNTAX_ERROR", "UNKNOWN_SKILL"] }] }, IssueInfo: { name: "AR_TP_ISSUEINFO", allowArray: true, additionalProperties: "false", dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::issue_info", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {}, emailsend: {}, inboundemail: {}, inboundshortmessage: {}, inqueueemail: {}, inqueueshortmessage: {} }, version: "1.0", featureConfigName: "routingSkillExpressionsFeature" }, nativeProperties: [{ id: "type", name: "type", descriptionId: "AR_TP_ISSUEINFO_PROP_TYPE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "message", name: "message", descriptionId: "AR_TP_ISSUEINFO_PROP_MESSAGE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, BoolFormatEnumContainer: { name: "AR_TP_BOOLFORMATENUMCONTAINER", allowArray: false, dataType: "BoolFormatEnumContainer", isEnumContainer: true, support: { classType: "BoolFormatEnumContainerVariable", expressionDataType: "blc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "boolPlayYesNo", name: "playYesNo", descriptionId: "AR_TP_BOOLFORMATENUMCONTAINER_PROP_PLAYYESNO_DSC", type: "bof", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_BOOLFORMATENUMCONTAINER_PROP_PLAYYESNO_DISP_VAL" }] }, TimeFormatEnumContainer: { name: "AR_TP_TIMEFORMATENUMCONTAINER", allowArray: false, dataType: "TimeFormatEnumContainer", isEnumContainer: true, support: { classType: "TimeFormatEnumContainerVariable", expressionDataType: "tic", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "timeTwentyFourHours", name: "twentyFourHours", descriptionId: "AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWENTYFOURHOURS_DSC", type: "tif", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWENTYFOURHOURS_DISP_VAL" }, { id: "timeTwelveHours", name: "twelveHours", descriptionId: "AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWELVEHOURS_DSC", type: "tif", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWELVEHOURS_DISP_VAL" }] }, CurrencyFormatEnumContainer: { name: "AR_TP_CURRENCYFORMATENUMCONTAINER", allowArray: false, dataType: "CurrencyFormatEnumContainer", isEnumContainer: true, support: { classType: "CurrencyFormatEnumContainerVariable", expressionDataType: "cuc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "currencyAsMinorUnits", name: "asMinorUnits", descriptionId: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_ASMINORUNITS_DSC", type: "cuf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_ASMINORUNITS_DISP_VAL" }, { id: "currencyMajorUnitsOnly", name: "majorUnitsOnly", descriptionId: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MAJORUNITSONLY_DSC", type: "cuf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MAJORUNITSONLY_DISP_VAL" }, { id: "currencyMinorUnitsOnly", name: "minorUnitsOnly", descriptionId: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MINORUNITSONLY_DSC", type: "cuf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MINORUNITSONLY_DISP_VAL" }, { id: "currencyPlayDigits", name: "playDigits", descriptionId: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_PLAYDIGITS_DSC", type: "cuf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_PLAYDIGITS_DISP_VAL" }] }, NumberFormatEnumContainer: { name: "AR_TP_NUMBERFORMATENUMCONTAINER", allowArray: false, dataType: "NumberFormatEnumContainer", isEnumContainer: true, support: { classType: "NumberFormatEnumContainerVariable", expressionDataType: "nuc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "numberPlayDigits", name: "playDigits", descriptionId: "AR_TP_NUMBERFORMATENUMCONTAINER_PROP_PLAYDIGITS_DSC", type: "nuf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_NUMBERFORMATENUMCONTAINER_PROP_PLAYDIGITS_DISP_VAL" }] }, PhoneNumberFormatEnumContainer: { name: "AR_TP_PHONENUMBERFORMATENUMCONTAINER", allowArray: false, dataType: "PhoneNumberFormatEnumContainer", isEnumContainer: true, support: { classType: "PhoneNumberFormatEnumContainerVariable", expressionDataType: "phc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0", featureToggleName: "archPhoneNumberPhase2" }, nativeProperties: [{ id: "phoneNumberGlobal", name: "global", descriptionId: "AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_GLOBAL_DSC", type: "phf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_GLOBAL_DISP_VAL" }, { id: "phoneNumberLocal", name: "local", descriptionId: "AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_LOCAL_DSC", type: "phf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_LOCAL_DISP_VAL" }] }, StringFormatEnumContainer: { name: "AR_TP_STRINGFORMATENUMCONTAINER", allowArray: false, dataType: "StringFormatEnumContainer", isEnumContainer: true, support: { classType: "StringFormatEnumContainerVariable", expressionDataType: "stc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: {}, digitalbot: {}, voice: {}, voicesurvey: {}, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "stringPlayChars", name: "playChars", descriptionId: "AR_TP_STRINGFORMATENUMCONTAINER_PROP_PLAYCHARS_DSC", type: "stf", isCollection: false, isComputed: false, version: "1.0", readOnly: true, displayValue: "AR_TP_STRINGFORMATENUMCONTAINER_PROP_PLAYCHARS_DISP_VAL" }] }, LanguageQuantityEnumContainer: { name: "AR_TP_LANGUAGEQUANTITYENUMCONTAINER", allowArray: false, dataType: "LanguageQuantityEnumContainer", isEnumContainer: true, support: { classType: "LanguageQuantityEnumContainerVariable", expressionDataType: "lqc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, digitalbot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voice: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voicesurvey: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "quantityPlural", name: "plural", descriptionId: "AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_PLURAL_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langQuantity", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_PLURAL_DISP_VAL" }, { id: "quantitySingular", name: "singular", descriptionId: "AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_SINGULAR_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langQuantity", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_SINGULAR_DISP_VAL" }] }, LanguageCaseEnumContainer: { name: "AR_TP_LANGUAGECASEENUMCONTAINER", allowArray: false, dataType: "LanguageCaseEnumContainer", isEnumContainer: true, support: { classType: "LanguageCaseEnumContainerVariable", expressionDataType: "lcc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, digitalbot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voice: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voicesurvey: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "caseArticle", name: "article", descriptionId: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ARTICLE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langCase", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ARTICLE_DISP_VAL" }, { id: "caseAccusative", name: "accusative", descriptionId: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ACCUSATIVE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langCase", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ACCUSATIVE_DISP_VAL" }, { id: "caseDative", name: "dative", descriptionId: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_DATIVE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langCase", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_DATIVE_DISP_VAL" }, { id: "caseGenitive", name: "genitive", descriptionId: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_GENITIVE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langCase", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_GENITIVE_DISP_VAL" }, { id: "caseNominative", name: "nominative", descriptionId: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_NOMINATIVE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langCase", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGECASEENUMCONTAINER_PROP_NOMINATIVE_DISP_VAL" }] }, LanguageGenderEnumContainer: { name: "AR_TP_LANGUAGEGENDERENUMCONTAINER", allowArray: false, dataType: "LanguageGenderEnumContainer", isEnumContainer: true, support: { classType: "LanguageGenderEnumContainerVariable", expressionDataType: "lgc", isSupportedByAny: false, userCanCreate: false, supportedFlowTypes: { bot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, digitalbot: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voice: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, voicesurvey: { featureConfigName: "botFlowsLanguageContextPhase1Feature" }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [{ id: "genderCommon", name: "common", descriptionId: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_COMMON_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langGender", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_COMMON_DISP_VAL" }, { id: "genderFeminine", name: "feminine", descriptionId: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_FEMININE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langGender", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_FEMININE_DISP_VAL" }, { id: "genderMasculine", name: "masculine", descriptionId: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_MASCULINE_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langGender", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_MASCULINE_DISP_VAL" }, { id: "genderNeuter", name: "neuter", descriptionId: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_NEUTER_DSC", type: "lne", isCollection: false, isComputed: false, version: "1.0", readOnly: true, group: "langGender", usageValidation: "supportedLanguageContexts", displayValue: "AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_NEUTER_DISP_VAL" }] }, LanguageSkill: { name: "AR_TP_LANGUAGESKILL", allowArray: true, dataType: "LanguageSkill", support: { classType: "LanguageSkillVariable", expressionDataType: "lac", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { emailsend: { featureConfigName: "orgAvailabilityRoutingSkills" }, inboundchat: { featureConfigName: "orgAvailabilityRoutingSkills" }, inboundemail: { featureConfigName: "orgAvailabilityRoutingSkills" }, inboundshortmessage: { featureConfigName: "orgAvailabilityRoutingSkills" }, inqueueemail: { featureConfigName: "orgAvailabilityRoutingSkills" }, inqueueshortmessage: { featureConfigName: "orgAvailabilityRoutingSkills" }, surveyinvite: { featureConfigName: "orgAvailabilityRoutingSkills" }, workflow: { featureConfigName: "orgAvailabilityRoutingSkills" }, workitem: { featureConfigName: "orgAvailabilityRoutingSkills" }, inboundcall: {}, inqueuecall: {}, outboundcall: {}, securecall: {}, voicemail: {}, bot: { featureConfigName: "orgAvailabilityRoutingSkills", featureConfigName2: "botFlowsQueueSupportFeature", featureConfigsAllOf: true }, commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, digitalbot: { featureConfigName: "orgAvailabilityRoutingSkills", featureConfigName2: "botFlowsQueueSupportFeature", featureConfigsAllOf: true }, voice: { featureConfigName: "orgAvailabilityRoutingSkills" } }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_LANGUAGESKILL_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_LANGUAGESKILL_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, ContactList: { name: "AR_TP_CONTACTLIST", allowArray: false, dataType: "ContactList", support: { classType: "ContactListVariable", expressionDataType: "cnl", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { inboundemail: { featureConfigName: "outboundEmailCampaigns" }, inboundshortmessage: {}, commonmodule: {}, outboundcall: {} }, version: "1.0", featureConfigName: "orgAvailabilityOutboundContactLists" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_CONTACTLIST_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_CONTACTLIST_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Campaign: { name: "AR_TP_CAMPAIGN", allowArray: false, dataType: "Campaign", support: { classType: "CampaignVariable", expressionDataType: "cam", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { commonmodule: {}, inboundemail: { featureConfigName: "outboundEmailCampaigns" }, inboundshortmessage: {}, outboundcall: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_CAMPAIGN_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_CAMPAIGN_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Contact: { name: "AR_TP_CONTACT", allowArray: false, dataType: "Contact", support: { classType: "ContactVariable", expressionDataType: "con", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { outboundcall: {}, commonmodule: {} }, version: "1.0" }, nativeProperties: [] }, WorkitemEventData: { name: "AR_TP_WORKITEMEVENTDATA", allowArray: false, dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::workitem_event_data", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { workitem: {} }, version: "1.0", featureConfigName: "workitemDateAutomationFeature" }, nativeProperties: [{ id: "rule", name: "rule", descriptionId: "AR_TP_WORKITEMEVENTDATA_PROP_RULE_DSC", type: "jsn__architect::workitem_event_rule", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "workitemDateAutomationFeature" }] }, WorkitemEventRule: { name: "AR_TP_WORKITEMEVENTRULE", allowArray: false, dataType: "JsonDataType", support: { classType: "JsonVariable", expressionDataType: "jsn__architect::workitem_event_rule", expressionBaseDataType: "jsn", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { workitem: {} }, version: "1.0", featureConfigName: "workitemDateAutomationFeature" }, nativeProperties: [{ id: "name", name: "name", descriptionId: "AR_TP_WORKITEMEVENTRULE_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false, featureConfigName: "workitemDateAutomationFeature" }] }, Workitem: { name: "AR_TP_WORKITEM", allowArray: false, dataType: "ComplexDataType", isCustomizablePerFlow: true, support: { classType: "ComplexVariable", expressionDataType: "cpx_workitem", isSupportedByAny: true, userCanCreate: false, supportedFlowTypes: { workitem: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_WORKITEM_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_WORKITEM_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "assignee", name: "assignee", descriptionId: "AR_TP_WORKITEM_PROP_ASSIGNEE_DSC", type: "usr", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "assignmentState", name: "assignmentState", descriptionId: "AR_TP_WORKITEM_PROP_ASSIGNMENTSTATE_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "autoStatusTransition", name: "autoStatusTransition", descriptionId: "AR_TP_WORKITEM_PROP_AUTOSTATUSTRANSITION_DSC", type: "bln", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "customFields", name: "customFields", descriptionId: "AR_TP_WORKITEM_PROP_CUSTOMFIELDS_DSC", type: "jsn__architect::empty_json", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "dateCreated", name: "dateCreated", descriptionId: "AR_TP_WORKITEM_PROP_DATECREATED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dateAssignmentStateChanged", name: "dateAssignmentStateChanged", descriptionId: "AR_TP_WORKITEM_PROP_DATEASSIGNMENTSTATECHANGED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dateDue", name: "dateDue", descriptionId: "AR_TP_WORKITEM_PROP_DATEDUE_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "dateExpires", name: "dateExpires", descriptionId: "AR_TP_WORKITEM_PROP_DATEEXPIRES_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "dateModified", name: "dateModified", descriptionId: "AR_TP_WORKITEM_PROP_DATEMODIFIED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dateStatusChanged", name: "dateStatusChanged", descriptionId: "AR_TP_WORKITEM_PROP_DATESTATUSCHANGED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "dateClosed", name: "dateClosed", descriptionId: "AR_TP_WORKITEM_PROP_DATECLOSED_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "description", name: "description", descriptionId: "AR_TP_WORKITEM_PROP_DESCRIPTION_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "duration", name: "duration", descriptionId: "AR_TP_WORKITEM_PROP_DUR_DSC", type: "dur", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "divisionId", name: "divisionId", descriptionId: "AR_TP_WORKITEM_PROP_DIVISIONID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "externalContact", name: "externalContact", descriptionId: "AR_TP_WORKITEM_PROP_EXTERNALCONTACT_DSC", type: "cpx_external_contact", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "externalTag", name: "externalTag", descriptionId: "AR_TP_WORKITEM_PROP_EXTERNALTAG_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "languageSkill", name: "languageSkill", descriptionId: "AR_TP_WORKITEM_PROP_LANGUAGESKILL_DSC", type: "lac", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "modifiedBy", name: "modifiedBy", descriptionId: "AR_TP_WORKITEM_PROP_MODIFIEDBY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "priority", name: "priority", descriptionId: "AR_TP_WORKITEM_PROP_PRIORITY_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "queue", name: "queue", descriptionId: "AR_TP_WORKITEM_PROP_QUEUE_DSC", type: "que", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "reporter", name: "reporter", descriptionId: "AR_TP_WORKITEM_PROP_REPORTER_DSC", type: "usr", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "scoredAgents", name: "scoredAgents", descriptionId: "AR_TP_WORKITEM_PROP_SCOREDAGENTS_DSC", type: "cpx_agent_score_pair", isCollection: true, isComputed: false, version: "1.0", readOnly: false }, { id: "skills", name: "skills", descriptionId: "AR_TP_WORKITEM_PROP_SKILLS_DSC", type: "skl", isCollection: true, isComputed: false, version: "1.0", readOnly: false }, { id: "status", name: "status", descriptionId: "AR_TP_WORKITEM_PROP_STATUS_DSC", type: "cpx_worktype_status", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "ttlDateTime", name: "ttlDateTime", descriptionId: "AR_TP_WORKITEM_PROP_TTLDATETIME_DSC", type: "dtm", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "typeId", name: "typeId", descriptionId: "AR_TP_WORKITEM_PROP_TYPEID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "utilizationLabel", name: "utilizationLabel", descriptionId: "AR_TP_WORKITEM_PROP_UTILIZATIONLABEL_DSC", type: "cul", isCollection: false, isComputed: false, version: "1.0", readOnly: false }, { id: "version", name: "version", descriptionId: "AR_TP_WORKITEM_PROP_VERSION_DSC", type: "int", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "workbin", name: "workbin", descriptionId: "AR_TP_WORKITEM_PROP_WORKBIN_DSC", type: "cpx_workbin", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, Workbin: { name: "AR_TP_WORKBIN", allowArray: true, dataType: "ComplexDataType", support: { classType: "ComplexVariable", expressionDataType: "cpx_workbin", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_WORKBIN_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_WORKBIN_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "divisionId", name: "divisionId", descriptionId: "AR_TP_WORKBIN_PROP_DIVISIONID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }] }, WorktypeStatus: { name: "AR_TP_WORKTYPESTATUS", allowArray: true, allowLiteralSelect: true, allowLiteralSelectFeatureConfig: "workitemDateAutomationFeature", additionalProperties: "category", dataType: "ComplexDataType", additionalPropertiesAreManaged: true, support: { classType: "ComplexVariable", expressionDataType: "cpx_worktype_status", isSupportedByAny: true, userCanCreate: true, supportedFlowTypes: { commonmodule: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, workitem: {} }, version: "1.0" }, nativeProperties: [{ id: "id", name: "id", descriptionId: "AR_TP_WORKTYPESTATUS_PROP_ID_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "name", name: "name", descriptionId: "AR_TP_WORKTYPESTATUS_PROP_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true }, { id: "category", name: "category", descriptionId: "AR_TP_WORKTYPESTATUS_PROP_CATEGORY_DSC", type: "str", isCollection: false, isComputed: false, version: "1.0", readOnly: true, allowableValues: "Open,InProgress,Waiting,Closed" }] } }, expression: { add: { identifier: "add", description: "AR_OP_DSC_ADD", type: "operator", symbol: "+", category: "mathematical", overloads: [{ description: "AR_OP_LNG_ADD_LNG_LNG_DSC", identifier: "Long_ONE add(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_ADD_LNG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_ADD_LNG_LNG_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_ADD_LNG_LNG_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "2 + 3", output: "5" }] }, { description: "AR_OP_DEC_ADD_DEC_LNG_DSC", identifier: "Decimal_ONE add(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_ADD_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_ADD_DEC_LNG_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_ADD_DEC_LNG_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "2.5 + 3", output: "5.5" }] }, { description: "AR_OP_DEC_ADD_LNG_DEC_DSC", identifier: "Decimal_ONE add(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_ADD_LNG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_ADD_LNG_DEC_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_ADD_LNG_DEC_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "2 + 33.7", output: "35.7" }] }, { description: "AR_OP_CUR_ADD_CUR_CUR_DSC", identifier: "Currency_ONE add(Currency_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_ADD_CUR_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_ADD_CUR_CUR_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_ADD_CUR_CUR_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'MakeCurrency(5.25, "USD") + ToCurrency("-3.00|USD")', output: "AR_OP_CUR_ADD_CUR_CUR_EX_OUT_0" }, { input: 'ToCurrency("5.25|") + MakeCurrency(-3.00, ToString(NOT_SET))', output: "AR_OP_CUR_ADD_CUR_CUR_EX_OUT_1" }] }, { description: "AR_OP_AUDIO_ADD_AUDIO_AUDIO_DSC", identifier: "Audio_ONE add(Audio_ONE,Audio_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_OP_AUDIO_ADD_AUDIO_AUDIO_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_AUDIO_AUDIO_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "aud" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_AUDIO_AUDIO_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "aud" }], examples: [{ input: 'ToAudioTTS("Hello ") + ToAudioTTS("World")', output: "AR_OP_AUDIO_ADD_AUDIO_AUDIO_EX_OUT_0" }] }, { description: "AR_OP_AUDIO_ADD_PROMPT_PROMPT_DSC", identifier: "Audio_ONE add(Prompt_ONE,Prompt_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_OP_AUDIO_ADD_PROMPT_PROMPT_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_PROMPT_PROMPT_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "pmt" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_PROMPT_PROMPT_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "pmt" }], examples: [{ input: "Prompt.Hello + Prompt.There", output: "AR_OP_AUDIO_ADD_PROMPT_PROMPT_EX_OUT_0" }] }, { description: "AR_OP_AUDIO_ADD_AUDIO_PROMPT_DSC", identifier: "Audio_ONE add(Audio_ONE,Prompt_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_OP_AUDIO_ADD_AUDIO_PROMPT_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_AUDIO_PROMPT_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "aud" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_AUDIO_PROMPT_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "pmt" }], examples: [{ input: 'ToAudioTTS("Hello") + Prompt.There', output: "AR_OP_AUDIO_ADD_AUDIO_PROMPT_EX_OUT_0" }] }, { description: "AR_OP_AUDIO_ADD_PROMPT_AUDIO_DSC", identifier: "Audio_ONE add(Prompt_ONE,Audio_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_OP_AUDIO_ADD_PROMPT_AUDIO_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_PROMPT_AUDIO_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "pmt" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_ADD_PROMPT_AUDIO_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "aud" }], examples: [{ input: 'Prompt.Hello + ToAudioTTS("There")', output: "AR_OP_AUDIO_ADD_PROMPT_AUDIO_EX_OUT_0" }] }, { description: "AR_OP_DEC_ADD_DEC_DEC_DSC", identifier: "Decimal_ONE add(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_ADD_DEC_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_ADD_DEC_DEC_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_ADD_DEC_DEC_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "2.2 + 3.9", output: "6.1" }] }, { description: "AR_OP_DTM_ADD_DUR_DTM_DSC", identifier: "DateTime_ONE add(Duration_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DTM_ADD_DUR_DTM_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_ADD_DUR_DTM_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_ADD_DUR_DTM_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "MakeDuration(0, 1, 1, 1) + MakeDateTime(2003, 6, 1, 0, 0, 0)", output: "AR_OP_DTM_ADD_DUR_DTM_EX_OUT_0" }] }, { description: "AR_OP_DTM_ADD_DTM_DUR_DSC", identifier: "DateTime_ONE add(DateTime_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DTM_ADD_DTM_DUR_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_ADD_DTM_DUR_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_ADD_DTM_DUR_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDateTime(2003, 6, 1, 0, 0, 0) + MakeDuration(0, 1, 1, 1)", output: "AR_OP_DTM_ADD_DTM_DUR_EX_OUT_0" }] }, { description: "AR_OP_DATE_ADD_DUR_DATE_DSC", identifier: "Date_ONE add(Duration_ONE,Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_DATE_ADD_DUR_DATE_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATE_ADD_DUR_DATE_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATE_ADD_DUR_DATE_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dat" }], examples: [{ input: "MakeDuration(1, 1, 1, 1) + MakeDate(2003, 6, 1)", output: "AR_OP_DATE_ADD_DUR_DATE_EX_OUT_0" }] }, { description: "AR_OP_DATE_ADD_DATE_DUR_DSC", identifier: "Date_ONE add(Date_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_DATE_ADD_DATE_DUR_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATE_ADD_DATE_DUR_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATE_ADD_DATE_DUR_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDate(2003, 6, 1) + MakeDuration(2, 1, 1, 1)", output: "AR_OP_DATE_ADD_DATE_DUR_EX_OUT_0" }] }, { description: "AR_OP_TIME_ADD_DUR_TIME_DSC", identifier: "Time_ONE add(Duration_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_TIME_ADD_DUR_TIME_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIME_ADD_DUR_TIME_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIME_ADD_DUR_TIME_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tim" }], examples: [{ input: "MakeDuration(0, 1, 1, 1) + MakeTime(1, 1, 5)", output: "AR_OP_TIME_ADD_DUR_TIME_EX_OUT_0" }] }, { description: "AR_OP_TIME_ADD_TIME_DUR_DSC", identifier: "Time_ONE add(Time_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_TIME_ADD_TIME_DUR_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIME_ADD_TIME_DUR_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIME_ADD_TIME_DUR_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeTime(12, 0, 0) + MakeDuration(0, 14, 1, 1)", output: "AR_OP_TIME_ADD_TIME_DUR_EX_OUT_0" }] }, { description: "AR_OP_DUR_ADD_DUR_DUR_DSC", identifier: "Duration_ONE add(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DUR_ADD_DUR_DUR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DUR_ADD_DUR_DUR_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DUR_ADD_DUR_DUR_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDuration(0, 10, 30, 0) + MakeDuration(1, 1, 15, 30)", output: "AR_OP_DUR_ADD_DUR_DUR_EX_OUT_0" }] }, { description: "AR_OP_STR_ADD_STR_STR_DSC", identifier: "String_ONE add(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_STR_ADD_STR_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_STR_ADD_STR_STR_PRM_DSC_0", identifier: "augend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_STR_ADD_STR_STR_PRM_DSC_1", identifier: "addend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: '"Hello " + "There"', output: '"Hello There"' }] }], needsServerInfo: true }, bitAnd: { identifier: "bitAnd", description: "AR_OP_DSC_BITAND", type: "operator", symbol: "&", category: "mathematical", overloads: [{ description: "AR_OP_LNG_BITAND_LNG_LNG_DSC", identifier: "Long_ONE bitAnd(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_BITAND_LNG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_BITAND_LNG_LNG_PRM_DSC_0", identifier: "value1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_BITAND_LNG_LNG_PRM_DSC_1", identifier: "value2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "3 & 9", output: "1" }, { input: "7 & 15", output: "7" }, { input: "-2 & 5", output: "4" }] }] }, bitNot: { identifier: "bitNot", description: "AR_OP_DSC_BITNOT", type: "operator", symbol: "~", category: "mathematical", overloads: [{ description: "AR_OP_LNG_BITNOT_LNG_DSC", identifier: "Long_ONE bitNot(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_BITNOT_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_BITNOT_LNG_PRM_DSC_0", identifier: "value1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "~ 5", output: "-6" }, { input: "~ 256", output: "-257" }] }] }, bitOr: { identifier: "bitOr", description: "AR_OP_DSC_BITOR", type: "operator", symbol: "|", category: "mathematical", overloads: [{ description: "AR_OP_LNG_BITOR_LNG_LNG_DSC", identifier: "Long_ONE bitOr(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_BITOR_LNG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_BITOR_LNG_LNG_PRM_DSC_0", identifier: "value1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_BITOR_LNG_LNG_PRM_DSC_1", identifier: "value2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "3 | 9", output: "11" }, { input: "7 | 15", output: "15" }, { input: "-2 | 5", output: "-1" }] }] }, sub: { identifier: "sub", description: "AR_OP_DSC_SUB", type: "operator", symbol: "-", category: "mathematical", overloads: [{ description: "AR_OP_DATE_SUB_DATE_DUR_DSC", identifier: "Date_ONE sub(Date_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_DATE_SUB_DATE_DUR_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATE_SUB_DATE_DUR_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATE_SUB_DATE_DUR_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDate(2009, 1, 10) - MakeDuration(10, 0, 30, 0)", output: "AR_OP_DATE_SUB_DATE_DUR_EX_OUT_0" }, { input: "MakeDate(2020, 2, 28) - MakeDuration(3, 0, 0, 0)", output: "AR_OP_DATE_SUB_DATE_DUR_EX_OUT_1" }] }, { description: "AR_OP_LNG_SUB_LNG_LNG_DSC", identifier: "Long_ONE sub(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_SUB_LNG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_SUB_LNG_LNG_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_SUB_LNG_LNG_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "2 - 3", output: "-1" }, { input: "100 - 35", output: "65" }] }, { description: "AR_OP_CUR_SUB_CUR_CUR_DSC", identifier: "Currency_ONE sub(Currency_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_SUB_CUR_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_SUB_CUR_CUR_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_SUB_CUR_CUR_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'ToCurrency("5.25|USD") - MakeCurrency(4.00, "USD")', output: "AR_OP_CUR_SUB_CUR_CUR_EX_OUT_0" }, { input: 'ToCurrency("5.25|") - ToCurrency("2.50|")', output: "AR_OP_CUR_SUB_CUR_CUR_EX_OUT_1" }] }, { description: "AR_OP_DEC_SUB_DEC_DEC_DSC", identifier: "Decimal_ONE sub(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_SUB_DEC_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_SUB_DEC_DEC_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_SUB_DEC_DEC_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "20.5 - 5.3", output: "15.2" }, { input: "24.5 - 7.1", output: "17.4" }] }, { description: "AR_OP_DEC_SUB_DEC_LNG_DSC", identifier: "Decimal_ONE sub(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_SUB_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_SUB_DEC_LNG_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_SUB_DEC_LNG_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "20.5 - 5", output: "15.5" }, { input: "24.5 - 7", output: "17.5" }] }, { description: "AR_OP_DEC_SUB_LNG_DEC_DSC", identifier: "Decimal_ONE sub(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_SUB_LNG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_SUB_LNG_DEC_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_SUB_LNG_DEC_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "20 - 5.5", output: "14.5" }, { input: "24 - 7.5", output: "16.5" }] }, { description: "AR_OP_DTM_SUB_DUR_DUR_DSC", identifier: "DateTime_ONE sub(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DTM_SUB_DUR_DUR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_SUB_DUR_DUR_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_SUB_DUR_DUR_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDuration(0, 10, 30, 0) - MakeDuration(0, 5, 15, 0)", output: "AR_OP_DTM_SUB_DUR_DUR_EX_OUT_0" }] }, { description: "AR_OP_DTM_SUB_DTM_DUR_DSC", identifier: "DateTime_ONE sub(DateTime_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DTM_SUB_DTM_DUR_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_SUB_DTM_DUR_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DTM_SUB_DTM_DUR_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDateTime(2003, 6, 3, 0, 0, 0) - MakeDuration(0, 1, 1, 1)", output: "AR_OP_DTM_SUB_DTM_DUR_EX_OUT_0" }] }, { description: "AR_OP_TIME_SUB_TIME_DUR_DSC", identifier: "Time_ONE sub(Time_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_TIME_SUB_TIME_DUR_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIME_SUB_TIME_DUR_PRM_DSC_0", identifier: "minuend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIME_SUB_TIME_DUR_PRM_DSC_1", identifier: "subtrahend", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeTime(2, 30, 0) - MakeDuration(10, -3, -30, 0)", output: "AR_OP_TIME_SUB_TIME_DUR_EX_OUT_0" }, { input: "MakeTime(2, 30, 0) - MakeDuration(0, -3, -30, 0)", output: "AR_OP_TIME_SUB_TIME_DUR_EX_OUT_1" }, { input: "MakeTime(2, 30, 0) - MakeDuration(3, 3, 30, 0)", output: "AR_OP_TIME_SUB_TIME_DUR_EX_OUT_2" }] }], needsServerInfo: true }, mul: { identifier: "mul", description: "AR_OP_DSC_MUL", type: "operator", symbol: "*", category: "mathematical", overloads: [{ description: "AR_OP_LNG_MUL_LNG_LNG_DSC", identifier: "Long_ONE mul(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_MUL_LNG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_MUL_LNG_LNG_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_MUL_LNG_LNG_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "7 * 12", output: "84" }, { input: "9 * 1000", output: "9000" }] }, { description: "AR_OP_DEC_MUL_DEC_DEC_DSC", identifier: "Decimal_ONE mul(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_MUL_DEC_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MUL_DEC_DEC_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MUL_DEC_DEC_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "7.5 * 12.2", output: "91.5" }] }, { description: "AR_OP_DEC_MUL_LNG_DEC_DSC", identifier: "Decimal_ONE mul(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_MUL_LNG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MUL_LNG_DEC_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MUL_LNG_DEC_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "7 * 12.2", output: "85.4" }, { input: "-7 * 12.2", output: "-85.4" }] }, { description: "AR_OP_DEC_MUL_DEC_LNG_DSC", identifier: "Decimal_ONE mul(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_MUL_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MUL_DEC_LNG_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MUL_DEC_LNG_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "7.2 * 12", output: "86.4" }, { input: "5.1 * -3", output: "-15.3" }] }, { description: "AR_OP_CUR_MUL_DEC_CUR_DSC", identifier: "Currency_ONE mul(Decimal_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_MUL_DEC_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_DEC_CUR_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_DEC_CUR_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: '7.2 * ToCurrency("5.25|USD")', output: "AR_OP_CUR_MUL_DEC_CUR_EX_OUT_0" }] }, { description: "AR_OP_CUR_MUL_CUR_DEC_DSC", identifier: "Currency_ONE mul(Currency_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_MUL_CUR_DEC_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_CUR_DEC_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_CUR_DEC_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: 'ToCurrency("-5.25|USD") * 7.2', output: "AR_OP_CUR_MUL_CUR_DEC_EX_OUT_0" }] }, { description: "AR_OP_CUR_MUL_LNG_CUR_DSC", identifier: "Currency_ONE mul(Long_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_MUL_LNG_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_LNG_CUR_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_LNG_CUR_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: '7 * MakeCurrency(5.25, "USD")', output: "AR_OP_CUR_MUL_LNG_CUR_EX_OUT_0" }] }, { description: "AR_OP_CUR_MUL_CUR_LNG_DSC", identifier: "Currency_ONE mul(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_MUL_CUR_LNG_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_CUR_LNG_PRM_DSC_0", identifier: "multiplicand", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MUL_CUR_LNG_PRM_DSC_1", identifier: "multiplier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: 'MakeCurrency(5.25, "USD") * 7', output: "AR_OP_CUR_MUL_CUR_LNG_EX_OUT_0" }] }] }, div: { identifier: "div", description: "AR_OP_DSC_DIV", type: "operator", symbol: "/", category: "mathematical", overloads: [{ description: "AR_OP_DEC_DIV_LNG_DEC_DSC", identifier: "Decimal_ONE div(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_DIV_LNG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_LNG_DEC_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_LNG_DEC_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec", disallowZero: true }], examples: [{ input: "42 / (3.0 + 3.0)", output: "7.0" }] }, { description: "AR_OP_DEC_DIV_DEC_LNG_DSC", identifier: "Decimal_ONE div(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_DIV_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_DEC_LNG_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_DEC_LNG_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", disallowZero: true }], examples: [{ input: "42.7 / 7", output: "6.1" }] }, { description: "AR_OP_DEC_DIV_LNG_LNG_DSC", identifier: "Decimal_ONE div(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_DIV_LNG_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_LNG_LNG_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_LNG_LNG_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", disallowZero: true }], examples: [{ input: "42 / 8", output: "5.25" }] }, { description: "AR_OP_DEC_DIV_DEC_DEC_DSC", identifier: "Decimal_ONE div(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_DIV_DEC_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_DEC_DEC_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_DIV_DEC_DEC_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec", disallowZero: true }], examples: [{ input: "44.7741 / 6.21", output: "7.21" }] }, { description: "AR_OP_CUR_DIV_CUR_DEC_DSC", identifier: "Currency_ONE div(Currency_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_DIV_CUR_DEC_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_DIV_CUR_DEC_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_DIV_CUR_DEC_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec", disallowZero: true }], examples: [{ input: 'ToCurrency("44.7741|USD") / 6.21', output: "AR_OP_CUR_DIV_CUR_DEC_EX_OUT_0" }] }, { description: "AR_OP_CUR_DIV_CUR_LNG_DSC", identifier: "Currency_ONE div(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_DIV_CUR_LNG_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_DIV_CUR_LNG_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_DIV_CUR_LNG_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", disallowZero: true }], examples: [{ input: 'ToCurrency("45.00|USD") / 6', output: "AR_OP_CUR_DIV_CUR_LNG_EX_OUT_0" }] }] }, pow: { identifier: "pow", description: "AR_OP_DSC_POW", type: "operator", symbol: "^", category: "mathematical", overloads: [{ description: "AR_OP_LNG_POW_LNG_LNG_DSC", identifier: "Long_ONE pow(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_POW_LNG_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_POW_LNG_LNG_PRM_DSC_0", identifier: "base", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_POW_LNG_LNG_PRM_DSC_1", identifier: "exponent", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "2 ^ 3", output: "8.0" }, { input: "2 ^ -1", output: "0.5" }] }, { description: "AR_OP_DEC_POW_LNG_DEC_DSC", identifier: "Decimal_ONE pow(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_POW_LNG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_POW_LNG_DEC_PRM_DSC_0", identifier: "base", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_POW_LNG_DEC_PRM_DSC_1", identifier: "exponent", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "2 ^ 3.0", output: "8.0" }, { input: "81 ^ 0.5", output: "9.0" }] }, { description: "AR_OP_DEC_POW_DEC_LNG_DSC", identifier: "Decimal_ONE pow(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_POW_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_POW_DEC_LNG_PRM_DSC_0", identifier: "base", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_POW_DEC_LNG_PRM_DSC_1", identifier: "exponent", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "2.0 ^ 3", output: "8.0" }, { input: "5.5 ^ 3", output: "166.375" }, { input: "2.0 ^ -1", output: "0.5" }] }, { description: "AR_OP_DEC_POW_DEC_DEC_DSC", identifier: "Decimal_ONE pow(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_POW_DEC_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_POW_DEC_DEC_PRM_DSC_0", identifier: "base", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_POW_DEC_DEC_PRM_DSC_1", identifier: "exponent", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "2.5 ^ 3.0", output: "15.625" }] }] }, ter: { identifier: "ter", description: "AR_OP_DSC_TER", type: "operator", symbol: "?", category: "logical", overloads: [{ description: "AR_OP_ANY_TER_BLN_ANY_ANY_DSC", identifier: "Any_ONE ter(Boolean_ONE,Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "If" }, returnValue: { description: "AR_OP_ANY_TER_BLN_ANY_ANY_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_ANY_TER_BLN_ANY_ANY_PRM_DSC_0", identifier: "condition", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_ANY_TER_BLN_ANY_ANY_PRM_DSC_1", identifier: "trueValue", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_ANY_TER_BLN_ANY_ANY_PRM_DSC_2", identifier: "falseValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: "5>3 ? true : false", output: "true" }, { input: '5>3 ? "hello" : "world"', output: '"hello"' }, { input: "5>3 ? 100 : 200", output: "100" }, { input: "5>3 ? 100.5 : 200.0", output: "100.5" }, { input: 'MakeCurrency(5.00, "USD") > MakeCurrency(2.00, "USD") ? MakeCurrency(10.00, "USD") : ToCurrency(NOT_SET)', output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_4" }, { input: "5>3 ? MakeDateTime(2009, 5, 5, 10, 30, 0) : MakeDateTime(2005, 1, 1, 0, 0, 0)", output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_5" }, { input: "5>3 ? MakeDuration(0, 1, 0, 0) : MakeDuration(2, 0, 0, 0)", output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_6" }, { input: '5>3 ? ToUser("john.doe@company.com") : ToUser("mary.doe@company.com")', output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_7", hidden: "true" }, { input: '5>3 ? ToSkill("Spanish") : ToSkill("German")', output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_8", hidden: "true" }, { input: "3<5 ? MakeDate(2010, 6, 1) : MakeDate(2015, 6, 1)", output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_9", featureConfigName: "botFlows" }, { input: "3<5 ? MakeTime(12, 0, 0) : MakeTime(2, 30, 0)", output: "AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_10", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_DSC", identifier: "Any_COLL ter(Boolean_ONE,Any_COLL,Any_COLL)", support: { version: "1.0", resolver: "If" }, returnValue: { description: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_PRM_DSC_0", identifier: "condition", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_PRM_DSC_1", identifier: "trueValue", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_PRM_DSC_2", identifier: "falseValue", isArray: true, helpDisplayIdx: 2, repeatable: false, required: true, type: "any" }], examples: [{ input: 'MakeCurrency(5.00, "USD") > MakeCurrency(2.00, "USD") ? MakeList(MakeCurrency(10.00, "USD")) : MakeList(ToCurrency(NOT_SET))', output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_0" }, { input: "5>3 ? MakeList(true) : MakeList(false)", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_1" }, { input: '5>3 ? MakeList("hello") : MakeList("world")', output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_2" }, { input: "5>3 ? MakeList(100) : MakeList(200)", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_3" }, { input: "5>3 ? MakeList(100.5) : MakeList(200.0)", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_4" }, { input: "5>3 ? MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0)) : MakeList(MakeDateTime(2005, 1, 1, 0, 0, 0))", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_5" }, { input: "5>3 ? MakeList(MakeDuration(0, 1, 0, 0)) : MakeList(MakeDuration(2, 0, 0, 0))", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_6" }, { input: '5>3 ? MakeList(ToUser("john.doe@company.com")) : MakeList(ToUser("mary.doe@company.com"))', output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_7", hidden: "true" }, { input: '5>3 ? MakeList(ToSkill("Spanish")) : MakeList(ToSkill("German"))', output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_8", hidden: "true" }, { input: "3<5 ? MakeList(MakeDate(2010, 6, 1)) : MakeList(MakeDate(2015, 6, 1))", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_9", featureConfigName: "botFlows" }, { input: "3<5 ? MakeList(MakeTime(12, 0, 0)) : MakeList(MakeTime(2, 30, 0))", output: "AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_10", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_DSC", identifier: "Audio_ONE ter(Boolean_ONE,Audio_ONE,Audio_ONE)", support: { version: "1.0", resolver: "If" }, returnValue: { description: "AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_PRM_DSC_0", identifier: "condition", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_PRM_DSC_1", identifier: "trueValueAudio", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "aud" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_PRM_DSC_2", identifier: "falseValueAudio", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "aud" }], examples: [{ input: '5>3 ? ToAudioTTS("Hello") : ToAudioTTS("World")', output: "AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_EX_OUT_0" }] }] }, mod: { identifier: "mod", description: "AR_OP_DSC_MOD", type: "operator", symbol: "%", category: "mathematical", overloads: [{ description: "AR_OP_LNG_MOD_LNG_LNG_DSC", identifier: "Long_ONE mod(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_MOD_LNG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_MOD_LNG_LNG_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_MOD_LNG_LNG_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", disallowZero: true }], examples: [{ input: "27 % 5", output: "2" }] }, { description: "AR_OP_DEC_MOD_DEC_DEC_DSC", identifier: "Decimal_ONE mod(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_MOD_DEC_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MOD_DEC_DEC_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MOD_DEC_DEC_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec", disallowZero: true }], examples: [{ input: "37.3 % 12.8", output: "11.7" }] }, { description: "AR_OP_DEC_MOD_LNG_DEC_DSC", identifier: "Decimal_ONE mod(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_MOD_LNG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MOD_LNG_DEC_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MOD_LNG_DEC_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec", disallowZero: true }], examples: [{ input: "37 % 12.8", output: "11.4" }] }, { description: "AR_OP_DEC_MOD_DEC_LNG_DSC", identifier: "Decimal_ONE mod(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_MOD_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MOD_DEC_LNG_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_MOD_DEC_LNG_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", disallowZero: true }], examples: [{ input: "37.9 % 9", output: "1.9" }] }, { description: "AR_OP_CUR_MOD_CUR_DEC_DSC", identifier: "Currency_ONE mod(Currency_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_MOD_CUR_DEC_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MOD_CUR_DEC_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MOD_CUR_DEC_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec", disallowZero: true }], examples: [{ input: 'ToCurrency("37.9|USD") % 9.5', output: "AR_OP_CUR_MOD_CUR_DEC_EX_OUT_0" }] }, { description: "AR_OP_CUR_MOD_CUR_LNG_DSC", identifier: "Currency_ONE mod(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_MOD_CUR_LNG_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MOD_CUR_LNG_PRM_DSC_0", identifier: "dividend", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_MOD_CUR_LNG_PRM_DSC_1", identifier: "divisor", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", disallowZero: true }], examples: [{ input: 'MakeCurrency(37.95, "USD") % 9', output: "AR_OP_CUR_MOD_CUR_LNG_EX_OUT_0" }] }] }, not: { identifier: "not", description: "AR_OP_DSC_NOT", type: "operator", symbol: "!", category: "unary", overloads: [{ description: "AR_OP_BLN_NOT_BLN_DSC", identifier: "Boolean_ONE not(Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_NOT_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_NOT_BLN_PRM_DSC_0", identifier: "booleanValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "bln" }], examples: [{ input: "!true", output: "false" }, { input: "!( 5 == 3 )", output: "true" }] }] }, neg: { identifier: "neg", description: "AR_OP_DSC_NEG", type: "operator", symbol: "-", category: "unary", overloads: [{ description: "AR_OP_CUR_NEG_CUR_DSC", identifier: "Currency_ONE neg(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CUR_NEG_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CUR_NEG_CUR_PRM_DSC_0", identifier: "valueToNegate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }], examples: [{ input: '- MakeCurrency(5.25, "USD")', output: "AR_OP_CUR_NEG_CUR_EX_OUT_0" }, { input: '- MakeCurrency(0.0, "USD")', output: "AR_OP_CUR_NEG_CUR_EX_OUT_1" }] }, { description: "AR_OP_LNG_NEG_LNG_DSC", identifier: "Long_ONE neg(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LNG_NEG_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LNG_NEG_LNG_PRM_DSC_0", identifier: "valueToNegate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "-( 3 + 2 )", output: "-5" }, { input: "-( 0 )", output: "0" }] }, { description: "AR_OP_DEC_NEG_DEC_DSC", identifier: "Decimal_ONE neg(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DEC_NEG_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DEC_NEG_DEC_PRM_DSC_0", identifier: "valueToNegate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }], examples: [{ input: "-( 3.5 + 2.7 )", output: "-6.2" }, { input: "- ( 0.0 )", output: "0.0" }] }, { description: "AR_OP_DUR_NEG_DUR_DSC", identifier: "Duration_ONE neg(Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DUR_NEG_DUR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DUR_NEG_DUR_PRM_DSC_0", identifier: "valueToNegate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }], examples: [{ input: "- MakeDuration(10, 0, 0, 0)", output: "AR_OP_DUR_NEG_DUR_EX_OUT_0" }] }] }, and: { identifier: "and", description: "AR_OP_DSC_AND", type: "operator", symbol: "and", category: "logical", overloads: [{ description: "AR_OP_BLN_LOGICALAND_BLN_BLN_DSC", identifier: "Boolean_ONE logicalAnd(Boolean_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LOGICALAND_BLN_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LOGICALAND_BLN_BLN_PRM_DSC_0", identifier: "value1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LOGICALAND_BLN_BLN_PRM_DSC_1", identifier: "value2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bln" }], examples: [{ input: "true And false", output: "false" }, { input: "( 5 == 5 ) and ( 3 != 4 )", output: "true" }, { input: "true AND ( 3 > 4 )", output: "false" }] }] }, or: { identifier: "or", description: "AR_OP_DSC", type: "operator", symbol: "or", category: "logical", overloads: [{ description: "AR_OP_BLN_LOGICALOR_BLN_BLN_DSC", identifier: "Boolean_ONE logicalOr(Boolean_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LOGICALOR_BLN_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LOGICALOR_BLN_BLN_PRM_DSC_0", identifier: "value1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LOGICALOR_BLN_BLN_PRM_DSC_1", identifier: "value2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bln" }], examples: [{ input: "true Or false", output: "true" }, { input: "( 5 == 5 ) or ( 3 != 4 )", output: "true" }, { input: "false OR ( 3 > 4 )", output: "false" }] }] }, gt: { identifier: "gt", description: "AR_OP_DSC_GT", type: "operator", symbol: ">", category: "comparison", overloads: [{ description: "AR_OP_BLN_GT_DATE_DATE_DSC", identifier: "Boolean_ONE gt(Date_ONE,Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_GT_DATE_DATE_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DATE_DATE_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DATE_DATE_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dat" }], examples: [{ input: "MakeDate(2011, 3, 20) > MakeDate(2010, 3, 20)", output: "true" }, { input: "MakeDate(2010, 1, 15) > MakeDate(2010, 1, 15)", output: "false" }] }, { description: "AR_OP_BLN_GT_LNG_DEC_DSC", identifier: "Boolean_ONE gt(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_LNG_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_LNG_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_LNG_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "7 > 5.2", output: "true" }] }, { description: "AR_OP_BLN_GT_DEC_LNG_DSC", identifier: "Boolean_ONE gt(Decimal_ONE,Long_ONE", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_DEC_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DEC_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DEC_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "7.2 > 5", output: "true" }] }, { description: "AR_OP_BLN_GT_CUR_CUR_DSC", identifier: "Boolean_ONE gt(Currency_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_CUR_CUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_CUR_CUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_CUR_CUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'ToCurrency("6.50|USD") > MakeCurrency(6.10, "USD")', output: "true" }] }, { description: "AR_OP_BLN_GT_DTM_DTM_DSC", identifier: "Boolean_ONE gt(DateTime_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_DTM_DTM_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DTM_DTM_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DTM_DTM_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "MakeDateTime(2009, 3, 20, 12, 00, 00) > MakeDateTime(2010, 3, 20, 12, 00, 00)", output: "false" }, { input: "MakeDateTime(2025, 3, 24, 12, 00, 00) > MakeDateTime(2010, 3, 20, 12, 00, 00)", output: "true" }] }, { description: "AR_OP_BLN_GT_DEC_DEC_DSC", identifier: "Boolean_ONE gt(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_DEC_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DEC_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DEC_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "9.2 > 7.7", output: "true" }, { input: "9.2 > 11.7", output: "false" }] }, { description: "AR_OP_BLN_GT_DUR_DUR_DSC", identifier: "Boolean_ONE gt(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_DUR_DUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DUR_DUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_DUR_DUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDuration(0, 2, 30, 0) > MakeDuration(0, 1, 59, 59)", output: "true" }] }, { description: "AR_OP_BLN_GT_LNG_LNG_DSC", identifier: "Boolean_ONE gt(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_LNG_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_LNG_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_LNG_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "150 > 125", output: "true" }] }, { description: "AR_OP_BLN_GT_STR_STR_DSC", identifier: "Boolean_ONE gt(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GT_STR_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_STR_STR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_STR_STR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: '"Hello" > "World"', output: "false" }] }, { description: "AR_OP_BLN_GT_TIME_TIME_DSC", identifier: "Boolean_ONE gt(Time_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_GT_TIME_TIME_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_TIME_TIME_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GT_TIME_TIME_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tim" }], examples: [{ input: "MakeTime(15, 30, 0) > MakeTime(12, 0, 0)", output: "true" }, { input: "MakeTime(1, 0, 0) > MakeTime(1, 0, 0)", output: "false" }] }], needsServerInfo: true }, gte: { identifier: "gte", description: "AR_OP_DSC_GTE", type: "operator", symbol: ">=", category: "comparison", overloads: [{ description: "AR_OP_BLN_GTE_DATE_DATE_DSC", identifier: "Boolean_ONE gte(Date_ONE,Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_GTE_DATE_DATE_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DATE_DATE_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DATE_DATE_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dat" }], examples: [{ input: "MakeDate(2011, 3, 20) >= MakeDate(2010, 3, 20)", output: "true" }, { input: "MakeDate(2009, 3, 20) >= MakeDate(2010, 3, 20)", output: "false" }, { input: "MakeDate(2010, 1, 15) >= MakeDate(2010, 1, 15)", output: "true" }] }, { description: "AR_OP_BLN_GTE_LNG_DEC_DSC", identifier: "Boolean_ONE gte(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_LNG_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_LNG_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_LNG_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "7 >= 5.2", output: "true" }] }, { description: "AR_OP_BLN_GTE_DEC_LNG_DSC", identifier: "Boolean_ONE gte(Decimal_ONE,Long_ONE", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_DEC_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DEC_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DEC_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "7.2 >= 5", output: "true" }] }, { description: "AR_OP_BLN_GTE_CUR_CUR_DSC", identifier: "Boolean_ONE gte(Currency_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_CUR_CUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_CUR_CUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_CUR_CUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'ToCurrency("6.50|USD") >= ToCurrency("6.10|USD")', output: "true" }] }, { description: "AR_OP_BLN_GTE_DTM_DTM_DSC", identifier: "Boolean_ONE gte(DateTime_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_DTM_DTM_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DTM_DTM_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DTM_DTM_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "MakeDateTime(2009, 3, 20, 12, 00, 00) >= MakeDateTime(2010, 3, 20, 12, 00, 00)", output: "false" }] }, { description: "AR_OP_BLN_GTE_DEC_DEC_DSC", identifier: "Boolean_ONE gte(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_DEC_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DEC_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DEC_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "9.2 >= 7.7", output: "true" }, { input: "9.2 >= 11.7", output: "false" }] }, { description: "AR_OP_BLN_GTE_DUR_DUR_DSC", identifier: "Boolean_ONE gte(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_DUR_DUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DUR_DUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_DUR_DUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDuration(0, 2, 30, 0) >= MakeDuration(0, 1, 59, 59)", output: "true" }] }, { description: "AR_OP_BLN_GTE_LNG_LNG_DSC", identifier: "Boolean_ONE gte(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_LNG_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_LNG_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_LNG_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "150 >= 125", output: "true" }] }, { description: "AR_OP_BLN_GTE_STR_STR_DSC", identifier: "Boolean_ONE gte(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_GTE_STR_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_STR_STR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_STR_STR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: '"Hello" >= "World"', output: "false" }] }, { description: "AR_OP_BLN_GTE_TIME_TIME_DSC", identifier: "Boolean_ONE gte(Time_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_GTE_TIME_TIME_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_TIME_TIME_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_GTE_TIME_TIME_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tim" }], examples: [{ input: "MakeTime(15, 30, 0) >= MakeTime(12, 0, 0)", output: "true" }, { input: "MakeTime(0, 30, 0) >= MakeTime(1, 0, 0)", output: "false" }, { input: "MakeTime(1, 0, 0) >= MakeTime(1, 0, 0)", output: "true" }] }], needsServerInfo: true }, lt: { identifier: "lt", description: "AR_OP_DSC_LT", type: "operator", symbol: "<", category: "comparison", overloads: [{ description: "AR_OP_BLN_LT_LNG_DEC_DSC", identifier: "Boolean_ONE lt(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_LNG_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_LNG_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_LNG_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "7 < 5.2", output: "false" }] }, { description: "AR_OP_BLN_LT_DEC_LNG_DSC", identifier: "Boolean_ONE lt(Decimal_ONE,Long_ONE", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_DEC_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DEC_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DEC_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "7.2 < 5", output: "false" }] }, { description: "AR_OP_BLN_LT_CUR_CUR_DSC", identifier: "Boolean_ONE lt(Currency_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_CUR_CUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_CUR_CUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_CUR_CUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'ToCurrency("6.50|USD") < ToCurrency("6.10|USD")', output: "false" }] }, { description: "AR_OP_BLN_LT_DATE_DATE_DSC", identifier: "Boolean_ONE lt(Date_ONE,Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_LT_DATE_DATE_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DATE_DATE_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DATE_DATE_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dat" }], examples: [{ input: "MakeDate(2009, 3, 20) < MakeDate(2010, 3, 20)", output: "true" }, { input: "MakeDate(2010, 1, 15) < MakeDate(2010, 1, 15)", output: "false" }] }, { description: "AR_OP_BLN_LT_DTM_DTM_DSC", identifier: "Boolean_ONE lt(DateTime_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_DTM_DTM_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DTM_DTM_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DTM_DTM_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "MakeDateTime(2009, 3, 20, 12, 00, 00) < MakeDateTime(2010, 3, 20, 12, 00, 00)", output: "true" }] }, { description: "AR_OP_BLN_LT_DEC_DEC_DSC", identifier: "Boolean_ONE lt(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_DEC_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DEC_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DEC_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "9.2 < 7.7", output: "false" }, { input: "9.2 < 11.7", output: "true" }] }, { description: "AR_OP_BLN_LT_DUR_DUR_DSC", identifier: "Boolean_ONE lt(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_DUR_DUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DUR_DUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_DUR_DUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDuration(0, 2, 30, 0) < MakeDuration(0, 1, 59, 59)", output: "false" }] }, { description: "AR_OP_BLN_LT_LNG_LNG_DSC", identifier: "Boolean_ONE lt(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_LNG_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_LNG_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_LNG_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "150 < 125", output: "false" }] }, { description: "AR_OP_BLN_LT_STR_STR_DSC", identifier: "Boolean_ONE lt(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LT_STR_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_STR_STR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_STR_STR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: '"Hello" < "World"', output: "true" }] }, { description: "AR_OP_BLN_LT_TIME_TIME_DSC", identifier: "Boolean_ONE lt(Time_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_LT_TIME_TIME_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_TIME_TIME_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LT_TIME_TIME_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tim" }], examples: [{ input: "MakeTime(3, 30, 0) < MakeTime(12, 0, 0)", output: "true" }, { input: "MakeTime(1, 0, 0) < MakeTime(1, 0, 0)", output: "false" }] }], needsServerInfo: true }, lte: { identifier: "lte", description: "AR_OP_DSC_LTE", type: "operator", symbol: "<=", category: "comparison", overloads: [{ description: "AR_OP_BLN_LTE_LNG_DEC_DSC", identifier: "Boolean_ONE lte(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_LNG_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_LNG_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_LNG_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "7 <= 5.2", output: "false" }] }, { description: "AR_OP_BLN_LTE_DATE_DATE_DSC", identifier: "Boolean_ONE lte(Date_ONE,Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_LTE_DATE_DATE_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DATE_DATE_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DATE_DATE_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dat" }], examples: [{ input: "MakeDate(2009, 3, 20) <= MakeDate(2010, 3, 20)", output: "true" }, { input: "MakeDate(2010, 1, 15) <= MakeDate(2010, 1, 15)", output: "true" }] }, { description: "AR_OP_BLN_LTE_DEC_LNG_DSC", identifier: "Boolean_ONE lte(Decimal_ONE,Long_ONE", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_DEC_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DEC_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DEC_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "7.2 <= 5", output: "false" }] }, { description: "AR_OP_BLN_LTE_CUR_CUR_DSC", identifier: "Boolean_ONE lte(Currency_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_CUR_CUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_CUR_CUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_CUR_CUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'ToCurrency("6.50|USD") <= ToCurrency("6.10|USD")', output: "false" }] }, { description: "AR_OP_BLN_LTE_DTM_DTM_DSC", identifier: "Boolean_ONE lte(DateTime_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_DTM_DTM_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DTM_DTM_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DTM_DTM_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "MakeDateTime(2009, 3, 20, 12, 00, 00) <= MakeDateTime(2010, 3, 20, 12, 00, 00)", output: "true" }] }, { description: "AR_OP_BLN_LTE_DEC_DEC_DSC", identifier: "Boolean_ONE lte(Decimal_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_DEC_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DEC_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DEC_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dec" }], examples: [{ input: "9.2 <= 7.7", output: "false" }, { input: "9.2 <= 11.7", output: "true" }] }, { description: "AR_OP_BLN_LTE_DUR_DUR_DSC", identifier: "Boolean_ONE lte(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_DUR_DUR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DUR_DUR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_DUR_DUR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeDuration(0, 2, 30, 0) <= MakeDuration(0, 1, 59, 59)", output: "false" }] }, { description: "AR_OP_BLN_LTE_LNG_LNG_DSC", identifier: "Boolean_ONE lte(Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_LNG_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_LNG_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_LNG_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "150 <= 125", output: "false" }] }, { description: "AR_OP_BLN_LTE_STR_STR_DSC", identifier: "Boolean_ONE lte(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_LTE_STR_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_STR_STR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_STR_STR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: '"Hello" <= "World"', output: "true" }] }, { description: "AR_OP_BLN_LTE_TIME_TIME_DSC", identifier: "Boolean_ONE lte(Time_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_OP_BLN_LTE_TIME_TIME_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_TIME_TIME_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BLN_LTE_TIME_TIME_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tim" }], examples: [{ input: "MakeTime(3, 30, 0) <= MakeTime(12, 0, 0)", output: "true" }, { input: "MakeTime(3, 0, 0) <= MakeTime(3, 0, 0)", output: "true" }, { input: "MakeTime(4, 0, 0) <= MakeTime(3, 0, 0)", output: "false" }] }], needsServerInfo: true }, bkt: { identifier: "bkt", description: "AR_OP_DSC_BKT", type: "operator", closingSymbol: "]", symbol: "[", category: "list", overloads: [{ description: "AR_OP_ANY_BKT_LNG_ANY_COLL_DSC", identifier: "Any_ONE bkt(Long_ONE,Any_COLL)", support: { version: "1.0", resolver: "CollectionBrackets" }, reverseOpsForHelp: true, returnValue: { description: "AR_OP_ANY_BKT_LNG_ANY_COLL_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_BKT_LNG_ANY_COLL_PRM_DSC_0", identifier: "index", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_BKT_LNG_ANY_COLL_PRM_DSC_1", identifier: "collection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: 'MakeList(MakeCurrency(5.25, "USD"), MakeCurrency(2.25, "EUR"))[1]', output: "AR_OP_ANY_BKT_LNG_ANY_COLL_EX_OUT_0" }, { input: "MakeList(1, 2, 3)[2]", output: "3" }, { input: 'MakeList("Hello", "There")[0]', output: '"Hello"' }] }, { description: "AR_OP_ANY_BKT_STR_ANY_DSC", identifier: "Any_ONE bkt(String_ONE,Any_ONE)", support: { version: "1.0", resolver: "PropertyBrackets" }, reverseOpsForHelp: true, returnValue: { description: "AR_OP_ANY_BKT_STR_ANY_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_BKT_STR_ANY_PRM_DSC_0", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_BKT_STR_ANY_PRM_DSC_1", identifier: "objectWithProperties", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: 'MakeCurrency(5.25, "USD")["amount"]', output: "5.25" }, { input: 'MakeCurrency(5.25, "USD")["code"]', output: '"USD"' }] }, { description: "AR_OP_JSON_BKT_LNG_JSON_DSC", identifier: "JSON_ONE bkt(Long_ONE,JSON_ONE)", support: { version: "1.0", resolver: "None" }, reverseOpsForHelp: true, needsServerInfo: true, returnValue: { description: "AR_OP_JSON_BKT_LNG_JSON_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_JSON_BKT_LNG_JSON_PRM_DSC_0", identifier: "index", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_JSON_BKT_LNG_JSON_PRM_DSC_1", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }], examples: [{ input: 'JsonParse("[ 1, 2, 3 ]")[2]', output: "AR_OP_JSON_BKT_LNG_JSON_EX_OUT_0" }, { input: 'JsonParse("[ \\"Apple\\", \\"Banana\\", \\"Orange\\" ]")[0]', output: 'A JSON value containing the String value "Apple"' }, { input: 'JsonParse("\\"Hello\\"")[2]', output: "AR_OP_JSON_BKT_LNG_JSON_EX_OUT_2" }] }], needsServerInfo: true }, equ: { identifier: "equ", description: "AR_OP_DSC_EQU", type: "operator", symbol: "==", category: "comparison", overloads: [{ description: "AR_OP_BLN_EQU_ANY_ANY_DSC", identifier: "Boolean_ONE equ(Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "SameType" }, returnValue: { description: "AR_OP_BLN_EQU_ANY_ANY_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_ANY_ANY_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_ANY_ANY_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: "5 == 3", output: "false" }, { input: "true == ! ( true and false )", output: "true" }, { input: 'ToJson("\\"8\\"" + "\\"3\\"") == JsonParse("\\"83\\"")', output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: 'ToJson("8" + "3") == JsonParse("83")', output: "false", featureConfigName: "encryptDecryptDataFeature" }, { input: 'ToJson(NOT_SET) == JsonParse("null")', output: "false", featureConfigName: "encryptDecryptDataFeature" }, { input: 'JsonParse("{\\"a\\":true,\\"b\\":false}") == JsonParse("{\\"b\\":false,\\"a\\":true}")', output: "true", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_OP_BLN_EQU_DEC_LNG_DSC", identifier: "Boolean_ONE equ(Decimal_ONE_Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_EQU_DEC_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_DEC_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_DEC_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "int" }], examples: [{ input: "-5.0 == 3", output: "false" }, { input: "5.0 == 5", output: "true" }, { input: "ToDecimal(NOT_SET) == ToInt(NOT_SET)", output: "true" }] }, { description: "AR_OP_BLN_EQU_LNG_DEC_DSC", identifier: "Boolean_ONE equ(Long_ONE_Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_EQU_LNG_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_LNG_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_LNG_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "dec" }], examples: [{ input: "5 == 3.0", output: "false" }, { input: "5 == 5.0", output: "true" }, { input: "ToInt(NOT_SET) == ToDecimal(NOT_SET)", output: "true" }] }, { description: "AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_DSC", identifier: "Boolean_ONE equ(Long_COLL,Decimal_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "dec" }], examples: [{ input: "MakeList(1+4, 2+1, 3) == MakeList(5.0, 3.0, 3.0)", output: "true" }, { input: "MakeList(1+4, 2+1, 3, 0) == MakeList(4.0, 2.0, 0.0, 1.0)", output: "false" }, { input: "MakeList(ToInt(NOT_SET), 1) == MakeList(ToDecimal(NOT_SET), 1.0)", output: "true" }] }, { description: "AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_DSC", identifier: "Boolean_ONE equ(Decimal_COLL,Long_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "int" }], examples: [{ input: "MakeList(5.0, 3.0, 1.0) == MakeList(5, 3, 1)", output: "true" }, { input: "MakeList(5.0, 3.0, 1.0) == MakeList(5, 2, 1)", output: "false" }, { input: "MakeList(ToDecimal(NOT_SET), 1.0) == MakeList(ToInt(NOT_SET), 1)", output: "true" }] }, { description: "AR_OP_BLN_EQU_PHNBR_PHNBR_DSC", identifier: "Boolean_ONE equ(PhoneNumber_ONE,PhoneNumber_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_EQU_PHNBR_PHNBR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_PHNBR_PHNBR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "phn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_PHNBR_PHNBR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "phn" }], examples: [{ input: 'ToPhoneNumber("tel:+13178723000") == ToPhoneNumber("+13178723000")', output: "true" }, { input: 'ToPhoneNumber("+13178723000") == ToPhoneNumber("13178723000")', output: "true" }, { input: 'ToPhoneNumber("sip:john.doe@company.com") == ToPhoneNumber("sips:john.doe@company.com")', output: "false" }, { input: 'ToPhoneNumber("sips:john.doe@company.com@") == ToPhoneNumber("sips:john.doe@company.com")', output: "true" }] }, { description: "AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_DSC", identifier: "Boolean_ONE equ(Any_COLL,Any_COLL)", support: { version: "1.0", resolver: "SameType" }, returnValue: { description: "AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: "MakeList(1, 2, 3) == MakeList(5-4, 1+1, 3)", output: "true" }, { input: "MakeList(false, false, true, true) == MakeList(false, !true, !false, !true)", output: "false" }] }] }, neq: { identifier: "neq", description: "AR_OP_DSC_NEQ", type: "operator", symbol: "!=", category: "comparison", overloads: [{ description: "AR_OP_BLN_NEQ_ANY_ANY_DSC", identifier: "Boolean_ONE neq(Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "SameType" }, returnValue: { description: "AR_OP_BLN_NEQ_ANY_ANY_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_ANY_ANY_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_ANY_ANY_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: "5 != 3", output: "true" }, { input: "true != ! ( true and false )", output: "false" }, { input: 'ToJson("8" + "3") != JsonParse("83")', output: "false", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_OP_BLN_NEQ_DEC_LNG_DSC", identifier: "Boolean_ONE neq(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_NEQ_DEC_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_DEC_LNG_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_DEC_LNG_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "int" }], examples: [{ input: "5.0 != 3", output: "true" }, { input: "5.0 != 5", output: "false" }, { input: "ToDecimal(NOT_SET) != ToInt(NOT_SET)", output: "false" }] }, { description: "AR_OP_BLN_NEQ_LNG_DEC_DSC", identifier: "Boolean_ONE neq(Long_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_NEQ_LNG_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_LNG_DEC_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_LNG_DEC_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "dec" }], examples: [{ input: "5 != 3.0", output: "true" }, { input: "5 != 5.0", output: "false" }, { input: "ToInt(NOT_SET) != ToDecimal(NOT_SET)", output: "false" }] }, { description: "AR_OP_BLN_NEQ_PHNBR_PHNBR_DSC", identifier: "Boolean_ONE neq(PhoneNumber_ONE,PhoneNumber_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_NEQ_PHNBR_PHNBR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_PHNBR_PHNBR_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "phn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_PHNBR_PHNBR_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "phn" }], examples: [{ input: 'ToPhoneNumber("tel:+13178723000") != ToPhoneNumber("+13178723000")', output: "false" }, { input: 'ToPhoneNumber("+13178723000") != ToPhoneNumber("13178723000")', output: "false" }, { input: 'ToPhoneNumber("sip:john.doe@company.com") != ToPhoneNumber("sips:john.doe@company.com")', output: "true" }, { input: 'ToPhoneNumber("sips:john.doe@company.com@") != ToPhoneNumber("sips:john.doe@company.com")', output: "false" }] }, { description: "AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_DSC", identifier: "Boolean_ONE neq(Long_COLL,Decimal_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "dec" }], examples: [{ input: "MakeList(1+4, 2+1, 3) != MakeList(5.0, 3.0, 3.0)", output: "false" }, { input: "MakeList(1+4, 2+1, 3, 0) != MakeList(4.0, 2.0, 0.0, 1.0)", output: "true" }, { input: "MakeList(ToInt(NOT_SET), 1) != MakeList(ToDecimal(NOT_SET), 1.0)", output: "false" }] }, { description: "AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_DSC", identifier: "Boolean_ONE neq(Decimal_COLL,Long_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "int" }], examples: [{ input: "MakeList(5.0, 3.0, 1.0) != MakeList(5, 3, 1)", output: "false" }, { input: "MakeList(5.0, 3.0, 1.0) != MakeList(5, 2, 1)", output: "true" }, { input: "MakeList(ToDecimal(NOT_SET), 1.0) != MakeList(ToInt(NOT_SET), 1)", output: "false" }] }, { description: "AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_DSC", identifier: "Boolean_ONE neq(Any_COLL,Any_COLL)", support: { version: "1.0", resolver: "SameType" }, returnValue: { description: "AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: "MakeList(1, 2, 3) != MakeList(5-4, 1+1, 3)", output: "false" }, { input: "MakeList(false, false, true, true) != MakeList(false, !true, !false, !true)", output: "true" }] }] }, propAccess: { identifier: "propAccess", description: "AR_OP_DSC_PROPACCESS", type: "operator", symbol: ".", overloads: [{ description: "AR_OP_ANY_PROPACCESS_STR_ANY_DSC", identifier: "Any propAccess(String_ONE,Any_ONE)", support: { version: "1.0", resolver: "Accessor" }, returnValue: { description: "AR_OP_ANY_PROPACCESS_STR_ANY_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_PROPACCESS_STR_ANY_PRM_DSC_0", identifier: "propertyToAccess", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_PROPACCESS_STR_ANY_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "any" }] }, { description: "AR_OP_ANY_PROPACCESS_STR_COMPLEX_DSC", identifier: "Any propAccess(String_ONE,Complex_ONE)", support: { version: "1.0", resolver: "Accessor" }, returnValue: { description: "AR_OP_ANY_PROPACCESS_STR_COMPLEX_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_PROPACCESS_STR_COMPLEX_PRM_DSC_0", identifier: "propertyToAccess", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_ANY_PROPACCESS_STR_COMPLEX_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "acp" }] }, { description: "AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_DSC", identifier: "BoolFormatEnum_ONE propAccess(String_ONE,BoolFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_RV", isArray: false, type: "bof" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_PRM_DSC_0", identifier: "BoolFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "blc" }], examples: [{ input: "Format.Bool.playYesNo", output: "AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_DSC", identifier: "CurrencyFormatEnum_ONE propAccess(String_ONE,CurrencyFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_RV", isArray: false, type: "cuf" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_PRM_DSC_0", identifier: "CurrencyFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cuc" }], examples: [{ input: "Format.Currency.playDigits", output: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_EX_OUT_0" }, { input: "Format.Currency.majorUnitsOnly", output: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_EX_OUT_1" }, { input: "Format.Currency.minorUnitsOnly", output: "AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_EX_OUT_2" }] }, { description: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_DSC", identifier: "DateFormatEnum_ONE propAccess(String_ONE,DateFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_RV", isArray: false, type: "daf" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_PRM_DSC_0", identifier: "DateFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dac" }], examples: [{ input: "Format.Date.longYear", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_0" }, { input: "Format.Date.shortYear", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_1" }, { input: "Format.Date.shortMonthAndDay", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_2" }, { input: "Format.Date.dayOnly", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_3" }, { input: "Format.Date.monthOnly", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_4" }, { input: "Format.Date.shortYearOnly", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_5" }, { input: "Format.Date.longYearOnly", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_6" }, { input: "Format.Date.dayOfWeekOnly", output: "AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_7" }] }, { description: "AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_DSC", identifier: "NumberFormatEnum_ONE propAccess(String_ONE,NumberFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_RV", isArray: false, type: "nuf" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_PRM_DSC_0", identifier: "NumberFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuc" }], examples: [{ input: "Format.Number.playDigits", output: "AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_DSC", identifier: "PhoneNumberFormatEnum_ONE propAccess(String_ONE,PhoneNumberFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, featureToggleName: "archPhoneNumberPhase2", returnValue: { description: "AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_RV", isArray: false, type: "phf" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_PRM_DSC_0", identifier: "PhoneNumberFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "phc" }], examples: [{ input: "Format.PhoneNumber.global", output: "AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_EX_OUT_0" }, { input: "Format.PhoneNumber.local", output: "AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_EX_OUT_1" }] }, { description: "AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_DSC", identifier: "ConversationTypeEnum_ONE propAccess(String_ONE,ConversationTypesEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_RV", isArray: false, type: "cte" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_PRM_DSC_0", identifier: "conversationTypeEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "ctc" }], examples: [{ input: "System.Conversation.Types", output: "AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_DSC", identifier: "CurrencyEnum_ONE propAccess(String_ONE,CurrenciesEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_RV", isArray: false, type: "cre" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_PRM_DSC_0", identifier: "currencyEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cec" }], examples: [{ input: "System.Currencies.USD", output: "AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_DSC", identifier: "DayOfWeekEnumContainer_ONE propAccess(String_ONE,DateTimeEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_RV", isArray: false, type: "dwc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_PRM_DSC_0", identifier: "dateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dlc" }], examples: [{ input: "System.DateTime.dayOfWeek", output: "AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_DSC", identifier: "LanguageEnum_ONE propAccess(String_ONE,LanguagesEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_RV", isArray: false, type: "lge" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_PRM_DSC_0", identifier: "languageEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "lnc" }], examples: [{ input: "System.Languages.enUS", output: "AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_DSC", identifier: "RegionEnum_ONE propAccess(String_ONE,RegionsEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_RV", isArray: false, type: "rge" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_PRM_DSC_0", identifier: "regionEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "rec" }], examples: [{ input: "System.Regions.US", output: "AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_DSC", identifier: "SurveyDispositionEnum_ONE propAccess(String_ONE,SurveyDispositionsEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_RV", isArray: false, type: "sde" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_PRM_DSC_0", identifier: "surveyDispositionEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "sec" }], examples: [{ input: "System.Survey.Dispositions", output: "AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_DSC", identifier: "StringFormatEnum_ONE propAccess(String_ONE,StringFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_RV", isArray: false, type: "stf" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_PRM_DSC_0", identifier: "StringFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "stc" }], examples: [{ input: "Format.String.playChars", output: "AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_EX_OUT_0" }] }, { description: "AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_DSC", identifier: "TimeFormatEnum_ONE propAccess(String_ONE,TimeFormatEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_RV", isArray: false, type: "tif" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_PRM_DSC_0", identifier: "TimeFormatEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tic" }], examples: [{ input: "Format.Time.twelveHours", output: "AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_EX_OUT_0" }, { input: "Format.Time.twentyFourHours", output: "AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_EX_OUT_1" }] }, { description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_DSC", identifier: "LanguageContextEnum_ONE propAccess(String_ONE,LanguageCaseEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_RV", isArray: false, type: "lne" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_PRM_DSC_0", identifier: "genderLanguageContextEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "lcc" }], examples: [{ input: "Language.Case.article", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_EX_OUT_0" }, { input: "Language.Case.accusative", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_EX_OUT_1" }, { input: "Language.Case.genitive", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_EX_OUT_2" }] }, { description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_DSC", identifier: "LanguageContextEnum_ONE propAccess(String_ONE,LanguageGenderEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_RV", isArray: false, type: "lne" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_PRM_DSC_0", identifier: "genderLanguageContextEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "lgc" }], examples: [{ input: "Language.Gender.common", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_0" }, { input: "Language.Gender.feminine", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_1" }, { input: "Language.Gender.masculine", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_2" }, { input: "Language.Gender.neuter", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_3" }] }, { description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_DSC", identifier: "LanguageContextEnum_ONE propAccess(String_ONE,LanguageQuantityEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_RV", isArray: false, type: "lne" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_PRM_DSC_0", identifier: "quantityLanguageContextEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "lqc" }], examples: [{ input: "Language.Quantity.plural", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_EX_OUT_0" }, { input: "Language.Quantity.singular", output: "AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_EX_OUT_1" }] }, { description: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_DSC", identifier: "TimePartEnum_ONE propAccess(String_ONE,TimePartEnumContainer_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_RV", isArray: false, type: "tpf" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_PRM_DSC_0", identifier: "timePartEnum", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tpc" }], examples: [{ input: "Format.TimePart.days", output: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_0" }, { input: "Format.TimePart.hours", output: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_1" }, { input: "Format.TimePart.minutes", output: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_2" }, { input: "Format.TimePart.seconds", output: "AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_3" }] }] }, audioPlaybackOptions: { identifier: "audioPlaybackOptions", description: "AR_FN_DSC_AUDIOPLAYBACKOPTIONS", type: "function", name: "AudioPlaybackOptions", category: "audio", overloads: [{ description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_DSC", identifier: "Audio_ONE audioPlaybackOptions(AnyPromptOrAudio_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, mustBeLastOperationOrFunction: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_PRM_DSC_0", identifier: "audio", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "apa" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_PRM_DSC_1", identifier: "bargeIn", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bln", mustBeLiteral: true }], examples: [{ input: "AudioPlaybackOptions(Prompt.Welcome, false)", output: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_EX_OUT_0" }, { input: "AudioPlaybackOptions(ToAudioNumber(5), false)", output: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_EX_OUT_1" }, { input: "AudioPlaybackOptions(Append(ToAudioNumber(5), ToAudioBlank(500), ToAudioNumber(4)), true)", output: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_EX_OUT_2" }] }, { description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_DSC", identifier: "Audio_ONE audioPlaybackOptions(AnyPromptOrAudio_ONE,Boolean_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, hidden: true, mustBeLastOperationOrFunction: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_PRM_DSC_0", identifier: "audio", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "apa" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_PRM_DSC_1", identifier: "bargeIn", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bln", mustBeLiteral: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_PRM_DSC_2", identifier: "flushNow", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "bln", mustBeLiteral: true }] }], needsServerInfo: true }, ceiling: { identifier: "ceiling", description: "AR_FN_DSC_CEILING", type: "function", name: "Ceiling", category: "mathematical", overloads: [{ description: "AR_FN_CUR_CEILING_CUR_DSC", identifier: "Currency_ONE ceiling(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_CEILING_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_CEILING_CUR_PRM_DSC_0", identifier: "currencyValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'Ceiling(MakeCurrency(2.30, "USD"))', output: "AR_FN_CUR_CEILING_CUR_EX_OUT_0" }, { input: 'Ceiling(MakeCurrency(3.20, "USD"))', output: "AR_FN_CUR_CEILING_CUR_EX_OUT_1" }, { input: 'Ceiling(MakeCurrency(-3.20, "USD"))', output: "AR_FN_CUR_CEILING_CUR_EX_OUT_2" }, { input: 'Ceiling(MakeCurrency(5.00, "USD"))', output: "AR_FN_CUR_CEILING_CUR_EX_OUT_3" }] }, { description: "AR_FN_DEC_CEILING_DEC_DSC", identifier: "Decimal_ONE ceiling(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_CEILING_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_CEILING_DEC_PRM_DSC_0", identifier: "decimalValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }], examples: [{ input: "Ceiling(2.3)", output: "3.0" }, { input: "Ceiling(3.2)", output: "4.0" }, { input: "Ceiling(-3.2)", output: "-3.0" }, { input: "Ceiling(5.0)", output: "5.0" }] }, { description: "AR_FN_LNG_CEILING_LNG_DSC", identifier: "Long_ONE ceiling(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_CEILING_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_CEILING_LNG_PRM_DSC_0", identifier: "integerValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "Ceiling(3)", output: "3" }, { input: "Ceiling(3+7)", output: "10" }, { input: "Ceiling(-3)", output: "-3" }, { input: "Ceiling(0)", output: "0" }] }] }, floor: { identifier: "floor", description: "AR_FN_DSC_FLOOR", type: "function", name: "Floor", category: "mathematical", overloads: [{ description: "AR_FN_CUR_FLOOR_CUR_DSC", identifier: "Currency_ONE floor(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_FLOOR_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_FLOOR_CUR_PRM_DSC_0", identifier: "currencyValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'Floor(MakeCurrency(2.30, "USD"))', output: "AR_FN_CUR_FLOOR_CUR_EX_OUT_0" }, { input: 'Floor(MakeCurrency(3.20, "USD"))', output: "AR_FN_CUR_FLOOR_CUR_EX_OUT_1" }, { input: 'Floor(MakeCurrency(-3.20, "USD"))', output: "AR_FN_CUR_FLOOR_CUR_EX_OUT_2" }, { input: 'Floor(MakeCurrency(5.00, "USD"))', output: "AR_FN_CUR_FLOOR_CUR_EX_OUT_3" }, { input: 'Floor(MakeCurrency(NOT_SET, "USD"))', output: "AR_FN_CUR_FLOOR_CUR_EX_OUT_4" }] }, { description: "AR_FN_DEC_FLOOR_DEC_DSC", identifier: "Decimal_ONE floor(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_FLOOR_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_FLOOR_DEC_PRM_DSC_0", identifier: "decimalValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }], examples: [{ input: "Floor(2.3)", output: "2.0" }, { input: "Floor(3.2)", output: "3.0" }, { input: "Floor(-3.2)", output: "-4.0" }, { input: "Floor(5.0)", output: "5.0" }] }, { description: "AR_FN_LNG_FLOOR_LNG_DSC", identifier: "Long_ONE floor(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_FLOOR_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FLOOR_LNG_PRM_DSC_0", identifier: "integerValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "Floor(3)", output: "3" }, { input: "Floor(3+7)", output: "10" }, { input: "Floor(-3)", output: "-3" }, { input: "Floor(0)", output: "0" }] }] }, round: { identifier: "round", description: "AR_FN_DSC_ROUND", type: "function", name: "Round", category: "mathematical", overloads: [{ description: "AR_FN_CUR_ROUND_CUR_DSC", identifier: "Currency_ONE round(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_ROUND_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_ROUND_CUR_PRM_DSC_0", identifier: "currencyValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'Round(MakeCurrency(3.22, "USD"))', output: "AR_FN_CUR_ROUND_CUR_EX_OUT_0" }, { input: 'Round(MakeCurrency(1.50, "USD"))', output: "AR_FN_CUR_ROUND_CUR_EX_OUT_1" }, { input: 'Round(MakeCurrency(1.49, "USD"))', output: "AR_FN_CUR_ROUND_CUR_EX_OUT_2" }, { input: 'Round(MakeCurrency(0.00, "USD"))', output: "AR_FN_CUR_ROUND_CUR_EX_OUT_3" }, { input: 'Round(MakeCurrency(-3.20, "USD"))', output: "AR_FN_CUR_ROUND_CUR_EX_OUT_4" }, { input: 'Round(MakeCurrency(-3.60, "USD"))', output: "AR_FN_CUR_ROUND_CUR_EX_OUT_5" }] }, { description: "AR_FN_DEC_ROUND_DEC_DSC", identifier: "Decimal_ONE round(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_ROUND_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_ROUND_DEC_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }], examples: [{ input: "Round(3.225)", output: "3.0" }, { input: "Round(1.5)", output: "2.0" }, { input: "Round(1.49)", output: "1.0" }, { input: "Round(0.0)", output: "0.0" }, { input: "Round(-3.2)", output: "-3.0" }, { input: "Round(-3.6)", output: "-4.0" }, { input: "Round(-3.614)", output: "-4.0" }] }, { description: "AR_FN_DEC_ROUND_DEC_LNG_DSC", identifier: "Decimal_ONE round(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_ROUND_DEC_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_ROUND_DEC_LNG_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_ROUND_DEC_LNG_PRM_DSC_1", identifier: "digits", isArray: false, helpDisplayIdx: 1, max: "28", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "Round(3.225, 1)", output: "3.2" }, { input: "Round(3.225, 2)", output: "3.23" }, { input: "Round(1.5, 0)", output: "2.0" }, { input: "Round(1.49, 1)", output: "1.5" }, { input: "Round(0.0, 2)", output: "0.0" }, { input: "Round(-3.2, 0)", output: "-3.0" }, { input: "Round(-3.2, 1)", output: "-3.2" }, { input: "Round(-3.6, 0)", output: "-4.0" }, { input: "Round(-3.6, 1)", output: "-3.6" }, { input: "Round(-3.614, 0)", output: "-4.0" }, { input: "Round(-3.614, 2)", output: "-3.61" }] }, { description: "AR_FN_CUR_ROUND_CUR_LNG_DSC", identifier: "Currency_ONE round(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_ROUND_CUR_LNG_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_ROUND_CUR_LNG_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_ROUND_CUR_LNG_PRM_DSC_1", identifier: "digits", isArray: false, helpDisplayIdx: 1, max: "28", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'Round(MakeCurrency(3.225, "USD"), 1)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_0" }, { input: 'Round(MakeCurrency(3.225, "USD"), 2)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_1" }, { input: 'Round(MakeCurrency(1.50, "USD"), 0)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_2" }, { input: 'Round(MakeCurrency(1.49, "USD"), 1)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_3" }, { input: 'Round(MakeCurrency(0.00, "USD"), 2)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_4" }, { input: 'Round(MakeCurrency(-3.20, "USD"), 0)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_5" }, { input: 'Round(MakeCurrency(-3.20, "USD"), 1)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_6" }, { input: 'Round(MakeCurrency(-3.60, "USD"), 0)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_7" }, { input: 'Round(MakeCurrency(-3.60, "USD"), 1)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_8" }, { input: 'Round(MakeCurrency(-3.614, "USD"), 2)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_9" }, { input: 'Round(MakeCurrency(-3.614, "USD"), 0)', output: "AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_10" }] }] }, sum: { identifier: "sum", description: "AR_FN_DSC_SUM", type: "function", name: "Sum", category: "mathematical", overloads: [{ description: "AR_FN_LNG_SUM_LNG_LNG_MORE_DSC", identifier: "Long_ONE sum(Long_ONE,Long_ONE...)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_LNG_SUM_LNG_LNG_MORE_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_SUM_LNG_LNG_MORE_PRM_DSC_0", identifier: "integerValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_SUM_LNG_LNG_MORE_PRM_DSC_1", identifier: "nextIntegerValue", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "int" }], examples: [{ input: "Sum(3, 5)", output: "8" }, { input: "Sum(0, 5)", output: "5" }, { input: "Sum(3, 5, -8)", output: "0" }, { input: "Sum(NOT_SET, 5)", output: "5" }, { input: "Sum(3, NOT_SET)", output: "3" }, { input: "Sum(ToInt(NOT_SET), ToInt(NOT_SET))", output: "0" }] }, { description: "AR_FN_CUR_SUM_CUR_CUR_MORE_DSC", identifier: "Currency_ONE sum(Currency_ONE,Currency_ONE...)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_CUR_SUM_CUR_CUR_MORE_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_SUM_CUR_CUR_MORE_PRM_DSC_0", identifier: "currencyValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_SUM_CUR_CUR_MORE_PRM_DSC_1", identifier: "nextCurrencyValue", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "cur" }], examples: [{ input: 'Sum(MakeCurrency(3.50, "USD"), MakeCurrency(5.50, "USD"))', output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_0" }, { input: 'Sum(MakeCurrency(0.00, "USD"), MakeCurrency(-5.20, "USD"))', output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_1" }, { input: 'Sum(MakeCurrency(3.00, "USD"), MakeCurrency(5.00, "USD"), MakeCurrency(-8.40, "USD"))', output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_2" }, { input: 'Sum(MakeCurrency(NOT_SET, "USD"), MakeCurrency(5.00, "USD"))', output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_3" }, { input: 'Sum(MakeCurrency(-3.00, "USD"), MakeCurrency(NOT_SET, "USD"))', output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_4" }, { input: 'Sum(MakeCurrency(ToDecimal(NOT_SET), "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD"))', output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_5" }, { input: "Sum(ToCurrency(NOT_SET), ToCurrency(NOT_SET))", output: "AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_6" }] }, { description: "AR_FN_DEC_SUM_DEC_DEC_MORE_DSC", identifier: "Decimal_ONE sum(Decimal_ONE,Decimal_ONE...)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_DEC_SUM_DEC_DEC_MORE_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_SUM_DEC_DEC_MORE_PRM_DSC_0", identifier: "decimalValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_SUM_DEC_DEC_MORE_PRM_DSC_1", identifier: "nextDecimalValue", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "dec" }], examples: [{ input: "Sum(3.5, 5.5)", output: "9.0" }, { input: "Sum(0.0, -5.2)", output: "-5.2" }, { input: "Sum(3.0, 5.0, -8.4)", output: "-0.4" }, { input: "Sum(NOT_SET, 5.0)", output: "5.0" }, { input: "Sum(-3.0, NOT_SET)", output: "-3.0" }, { input: "Sum(ToDecimal(NOT_SET), ToDecimal(NOT_SET))", output: "0.0" }] }, { description: "AR_FN_DUR_SUM_DUR_DUR_MORE_DSC", identifier: "Duration_ONE sum(Duration_ONE,Duration_ONE...)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_DUR_SUM_DUR_DUR_MORE_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_SUM_DUR_DUR_MORE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dur" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_SUM_DUR_DUR_MORE_PRM_DSC_1", identifier: "nextValue", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "dur" }], examples: [{ input: 'Sum(ToDuration("P1DT1H0M3S"), ToDuration("P1DT0H30M3S"))', output: "AR_FN_DUR_SUM_DUR_DUR_MORE_EX_OUT_0" }, { input: 'Sum(ToDuration("P1DT1H0M3S"), NOT_SET)', output: "AR_FN_DUR_SUM_DUR_DUR_MORE_EX_OUT_1" }, { input: "Sum(ToDuration(NOT_SET), ToDuration(NOT_SET))", output: "AR_FN_DUR_SUM_DUR_DUR_MORE_EX_OUT_2" }] }, { description: "AR_FN_LNG_SUM_LNG_COLL_DSC", identifier: "Long_ONE sum(Long_COLL)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_LNG_SUM_LNG_COLL_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_SUM_LNG_COLL_PRM_DSC_0", identifier: "integerCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "Sum(MakeList(3, 5, 5))", output: "13" }, { input: "Sum(MakeList(3, ToInt(NOT_SET), 5))", output: "8" }, { input: "Sum(MakeList(ToInt(NOT_SET), ToInt(NOT_SET)))", output: "0" }, { input: "Sum(MakeEmptyList(ToInt(NOT_SET)))", output: "0" }] }, { description: "AR_FN_CUR_SUM_CUR_COLL_DSC", identifier: "Currency_ONE sum(Currency_COLL)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_CUR_SUM_CUR_COLL_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_SUM_CUR_COLL_PRM_DSC_0", identifier: "currencyCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'Sum(MakeList(MakeCurrency(3.50, "USD"), MakeCurrency(5.50, "USD")))', output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_0" }, { input: 'Sum(MakeList(MakeCurrency(0.00, "USD"), MakeCurrency(-5.20, "USD")))', output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_1" }, { input: 'Sum(MakeList(MakeCurrency(3.00, "USD"), MakeCurrency(5.00, "USD"), MakeCurrency(-8.40, "USD")))', output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_2" }, { input: 'Sum(MakeList(MakeCurrency(ToDecimal(NOT_SET), "USD"), MakeCurrency(5.00, "USD")))', output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_3" }, { input: 'Sum(MakeList(MakeCurrency(-3.00, "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD")))', output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_4" }, { input: 'Sum(MakeList(MakeCurrency(ToDecimal(NOT_SET), "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD")))', output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_5" }, { input: "Sum(MakeEmptyList(ToCurrency(NOT_SET)))", output: "AR_FN_CUR_SUM_CUR_COLL_EX_OUT_6" }] }, { description: "AR_FN_DEC_SUM_DEC_COLL_DSC", identifier: "Decimal_ONE sum(Decimal_COLL)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_DEC_SUM_DEC_COLL_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_SUM_DEC_COLL_PRM_DSC_0", identifier: "decimalCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }], examples: [{ input: "Sum(MakeList(3.5, 5.5, 5.2))", output: "14.2" }, { input: "Sum(MakeList(3.5, ToDecimal(NOT_SET), 5.5))", output: "9.0" }, { input: "Sum(MakeList(ToDecimal(NOT_SET), ToDecimal(NOT_SET)))", output: "0.0" }, { input: "Sum(MakeEmptyList(ToDecimal(NOT_SET)))", output: "0.0" }] }, { description: "AR_FN_DUR_SUM_DUR_COLL_DSC", identifier: "Duration_ONE sum(Duration_COLL)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_DUR_SUM_DUR_COLL_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_SUM_DUR_COLL_PRM_DSC_0", identifier: "value", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }], examples: [{ input: 'Sum(MakeList(ToDuration("P1DT1H0M3S"), ToDuration("P1DT0H30M3S")))', output: "AR_FN_DUR_SUM_DUR_COLL_EX_OUT_0" }, { input: 'Sum(MakeList(ToDuration("P1DT1H0M3S"), ToDuration(NOT_SET)))', output: "AR_FN_DUR_SUM_DUR_COLL_EX_OUT_1" }, { input: "Sum(MakeList(ToDuration(NOT_SET), ToDuration(NOT_SET)))", output: "AR_FN_DUR_SUM_DUR_COLL_EX_OUT_2" }, { input: "Sum(MakeEmptyList(ToDuration(NOT_SET)))", output: "AR_FN_DUR_SUM_DUR_COLL_EX_OUT_3" }] }] }, average: { identifier: "average", description: "AR_FN_DSC_AVERAGE", type: "function", name: "Average", category: "statistical", overloads: [{ description: "AR_FN_CUR_AVERAGE_CUR_MORE_DSC", identifier: "Currency_ONE average(Currency_ONE...)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_AVERAGE_CUR_MORE_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_AVERAGE_CUR_MORE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: true, required: false, type: "cur" }], examples: [{ input: 'Average(MakeCurrency(8.50, "USD"), MakeCurrency(4.50, "USD"))', output: "AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_0" }, { input: 'Average(MakeCurrency(8.00, "USD"), MakeCurrency(0.00, "USD"), MakeCurrency(-4.00,"USD"), MakeCurrency(14.00,"USD"))', output: "AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_1" }, { input: 'Average(MakeCurrency(8.00, "USD"), MakeCurrency(NOT_SET, "USD"))', output: "AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_2" }, { input: "Average(ToCurrency(NOT_SET))", output: "AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_3" }] }, { description: "AR_FN_DEC_AVERAGE_DEC_MORE_DSC", identifier: "Decimal_ONE average(Decimal_ONE...)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_AVERAGE_DEC_MORE_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_AVERAGE_DEC_MORE_PRM_DSC_0", identifier: "decimalValue", isArray: false, helpDisplayIdx: 0, repeatable: true, required: false, type: "dec" }], examples: [{ input: "Average(8.5, 4.5)", output: "6.5" }, { input: "Average(8.0, 0.0, -4.0, 14.0)", output: "4.5" }, { input: "Average(8.0, NOT_SET)", output: "8.0" }, { input: "Average(ToDecimal(NOT_SET), ToDecimal(NOT_SET))", output: "0.0" }] }, { description: "AR_FN_DUR_AVERAGE_DUR_MORE_DSC", identifier: "Duration_ONE average(Duration_ONE...)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_AVERAGE_DUR_MORE_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_AVERAGE_DUR_MORE_PRM_DSC_0", identifier: "durationValue", isArray: false, helpDisplayIdx: 0, repeatable: true, required: false, type: "dur" }], examples: [{ input: "Average(MakeDuration(0, 4, 0, 0), MakeDuration(0, 2, 0, 0))", output: "AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_0" }, { input: "Average(MakeDuration(0, 8, 0, 0), MakeDuration(0, 0, 0, 0), MakeDuration(0, -4, 0, 0), MakeDuration(0, 14, 0, 0))", output: "AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_1" }, { input: "Average(MakeDuration(0, 8, 0, 0), ToDuration(NOT_SET))", output: "AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_2" }, { input: "Average(ToDuration(NOT_SET), ToDuration(NOT_SET))", output: "AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_3" }] }, { description: "AR_FN_DEC_AVERAGE_LNG_MORE_DSC", identifier: "Decimal_ONE average(Long_ONE...)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_AVERAGE_LNG_MORE_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_AVERAGE_LNG_MORE_PRM_DSC_0", identifier: "integerValue", isArray: false, helpDisplayIdx: 0, repeatable: true, required: false, type: "int" }], examples: [{ input: "Average(8, 4)", output: "6.0" }, { input: "Average(8, 0, -4, 14)", output: "4.5" }, { input: "Average(8, NOT_SET)", output: "8.0" }, { input: "Average(ToInt(NOT_SET), ToInt(NOT_SET))", output: "0.0" }] }, { description: "AR_FN_CUR_AVERAGE_CUR_COLL_DSC", identifier: "Currency_ONE average(Currency_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_AVERAGE_CUR_COLL_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_AVERAGE_CUR_COLL_PRM_DSC_0", identifier: "currencyCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'Average(MakeList(MakeCurrency(8.50, "USD"), MakeCurrency(4.50, "USD")))', output: "AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_0" }, { input: 'Average(MakeList(MakeCurrency(8.00, "USD"), MakeCurrency(0.00, "USD"), MakeCurrency(-4.00, "USD"), MakeCurrency(14.00, "USD")))', output: "AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_1" }, { input: 'Average(MakeList(MakeCurrency(8.00, "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD")))', output: "AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_2" }, { input: "Average(MakeList(ToCurrency(NOT_SET)))", output: "AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_3" }, { input: "Average(MakeEmptyList(ToCurrency(NOT_SET)))", output: "AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_4" }] }, { description: "AR_FN_DEC_AVERAGE_DEC_COLL_DSC", identifier: "Decimal_ONE average(Decimal_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_AVERAGE_DEC_COLL_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_AVERAGE_DEC_COLL_PRM_DSC_0", identifier: "decimalCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }], examples: [{ input: "Average(MakeList(8.5, 4.5))", output: "6.5" }, { input: "Average(MakeList(8.0, 0.0, -4.0, 14.0))", output: "4.5" }, { input: "Average(MakeList(8.0, ToDecimal(NOT_SET)))", output: "8.0" }, { input: "Average(MakeList(ToDecimal(NOT_SET)))", output: "0.0" }, { input: "Average(MakeEmptyList(ToDecimal(NOT_SET)))", output: "0.0" }] }, { description: "AR_FN_DEC_AVERAGE_LNG_COLL_DSC", identifier: "Decimal_ONE average(Long_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_AVERAGE_LNG_COLL_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DEC_AVERAGE_LNG_COLL_PRM_DSC_0", identifier: "integerCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "Average(MakeList(8, 4))", output: "6.0" }, { input: "Average(MakeList(8, 0, -4, 14))", output: "4.5" }, { input: "Average(MakeList(8, ToInt(NOT_SET)))", output: "8.0" }, { input: "Average(MakeList(ToInt(NOT_SET)))", output: "0.0" }, { input: "Average(MakeEmptyList(ToInt(NOT_SET)))", output: "0.0" }] }, { description: "AR_FN_DUR_AVERAGE_DUR_COLL_DSC", identifier: "Duration_ONE average(Duration_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_AVERAGE_DUR_COLL_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_AVERAGE_DUR_COLL_PRM_DSC_0", identifier: "durationCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }], examples: [{ input: "Average(MakeList(MakeDuration(0, 4, 0, 0), MakeDuration(0, 2, 0, 0)))", output: "AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_0" }, { input: "Average(MakeList(MakeDuration(0, 8, 0, 0), MakeDuration(0, 0, 0, 0), MakeDuration(0, -4, 0, 0), MakeDuration(0, 14, 0, 0)))", output: "AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_1" }, { input: "Average(MakeList(MakeDuration(0, 8, 0, 0), ToDuration(NOT_SET)))", output: "AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_2" }, { input: "Average(MakeList(ToDuration(NOT_SET), ToDuration(NOT_SET)))", output: "AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_3" }] }] }, findSystemPrompt: { identifier: "findSystemPrompt", description: "AR_FN_DSC_FINDSYSTEMPROMPT", type: "function", name: "FindSystemPrompt", category: "search", overloads: [{ description: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_DSC", identifier: "Prompt_ONE findSystemPrompt(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_RV", isArray: false, type: "pmt" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_PRM_DSC_0", identifier: "promptName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindSystemPrompt("boolean_false")', output: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_0" }, { input: 'FindSystemPrompt("PromptSystem.boolean_false")', output: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_1" }, { input: 'FindSystemPrompt("foo")', output: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_2" }, { input: 'FindSystemPrompt("")', output: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_3" }, { input: "FindSystemPrompt(ToString(NOT_SET))", output: "AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_4" }] }, { description: "AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_DSC", identifier: "Prompt_ONE findSystemPrompt(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_RV", isArray: false, type: "pmt" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_PRM_DSC_0", identifier: "promptName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindSystemPrompt(NOT_SET)", output: "AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findUserPrompt: { identifier: "findUserPrompt", description: "AR_FN_DSC_FINDUSERPROMPT", type: "function", name: "FindUserPrompt", category: "search", overloads: [{ description: "AR_FN_PROMPT_FINDUSERPROMPT_STR_DSC", identifier: "Prompt_ONE findUserPrompt(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PROMPT_FINDUSERPROMPT_STR_RV", isArray: false, type: "pmt" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PROMPT_FINDUSERPROMPT_STR_PRM_DSC_0", identifier: "promptName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindUserPrompt("Greeting")', output: "AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_0" }, { input: 'FindUserPrompt("Prompt.Greeting")', output: "AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_1" }, { input: 'FindUserPrompt("")', output: "AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_2" }, { input: "FindUserPrompt(ToString(NOT_SET))", output: "AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_3" }] }, { description: "AR_FN_PROMPT_FINDUSERPROMPT_NTS_DSC", identifier: "Prompt_ONE findUserPrompt(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PROMPT_FINDUSERPROMPT_NTS_RV", isArray: false, type: "pmt" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PROMPT_FINDUSERPROMPT_NTS_PRM_DSC_0", identifier: "promptName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindUserPrompt(NOT_SET)", output: "AR_FN_PROMPT_FINDUSERPROMPT_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findString: { identifier: "findString", description: "AR_FN_DSC_FINDSTRING", type: "function", name: "FindString", category: "text", overloads: [{ description: "AR_FN_LNG_FINDSTRING_STR_STR_DSC", identifier: "Long_ONE findString(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_FINDSTRING_STR_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_PRM_DSC_1", identifier: "textToFind", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: 'FindString("Hello", "ll")', output: "2" }, { input: 'FindString("Hello", "he")', output: "-1" }, { input: 'FindString("Hello", "abc")', output: "-1" }, { input: 'FindString("Hello", "")', output: "0" }] }, { description: "AR_FN_LNG_FINDSTRING_STR_STR_BLN_DSC", identifier: "Long_ONE findString(String_ONE,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDSTRING_STR_STR_BLN_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_BLN_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_BLN_PRM_DSC_1", identifier: "textToFind", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_BLN_PRM_DSC_2", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'FindString("Hello", "ll", true)', output: "2" }, { input: 'FindString("Hello", "he", true)', output: "0" }, { input: 'FindString("Hello", "he", false)', output: "-1" }, { input: 'FindString("Hello", "abc", true)', output: "-1" }, { input: 'FindString("Hello", "", true)', output: "0" }, { input: 'FindString("le \xC9lever", "\xE9", true)', output: "3" }, { input: 'FindString("le \xC9lever", "\xE9", false)', output: "-1" }, { input: 'FindString("\u4E2D\u570B\u53F0\u7063KD1", "\u53F0", true)', output: "2" }, { input: 'FindString("\u4E2D\u570B\u53F0\u7063KD1", "\u53F0", false)', output: "2" }] }, { description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_DSC", identifier: "Long_ONE findString(String_ONE,String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_PRM_DSC_1", identifier: "textToFind", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_PRM_DSC_2", identifier: "occurrenceNumber", isArray: false, helpDisplayIdx: 2, min: "1", repeatable: false, required: true, type: "int" }], examples: [{ input: 'FindString("Hello Hello", "l", 3)', output: "8" }, { input: 'FindString("Hello Hello", "l", 5)', output: "-1" }, { input: 'FindString("Hello", "he", 1)', output: "-1" }, { input: 'FindString("Hello", "He", 1)', output: "0" }, { input: 'FindString("Hello", "", 1)', output: "0" }] }, { description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_DSC", identifier: "Long_ONE findString(String_ONE,String_ONE,Long_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_1", identifier: "textToFind", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_2", identifier: "occurrenceNumber", isArray: false, helpDisplayIdx: 2, min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_3", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'FindString("Hello Hello", "l", 3, true)', output: "8" }, { input: 'FindString("Hello Hello", "l", 5, true)', output: "-1" }, { input: 'FindString("Hello", "he", 1, true)', output: "0" }, { input: 'FindString("Hello", "he", 1, false)', output: "-1" }, { input: 'FindString("Hello", "He", 1, true)', output: "0" }, { input: 'FindString("Hello", "", 1, true)', output: "0" }, { input: 'FindString("le \xC9lever le \xC9lever", "\xE9", 2, true)', output: "13" }, { input: 'FindString("le \xC9lever", "\xE9", 1, false)', output: "-1" }, { input: 'FindString("\u4E2D\u570B\u53F0\u7063KD1", "\u53F0", 1, true)', output: "2" }, { input: 'FindString("\u4E2D\u570B\u53F0\u7063KD1 \u4E2D\u570B\u53F0\u7063KD1", "\u53F0", 2, false)', output: "10" }] }], needsServerInfo: true }, findUser: { identifier: "findUser", description: "AR_FN_DSC_FINDUSER", type: "function", name: "FindUser", category: "search", overloads: [{ description: "AR_FN_USR_FINDUSER_STR_DSC", identifier: "User_ONE findUser(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_FINDUSER_STR_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_FINDUSER_STR_PRM_DSC_0", identifier: "userEmail", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindUser("john.doe@company.com")', output: "AR_FN_USR_FINDUSER_STR_EX_OUT_0" }, { input: "FindUser(ToString(NOT_SET))", output: "AR_FN_USR_FINDUSER_STR_EX_OUT_1" }] }, { description: "AR_FN_USR_FINDUSER_NTS_DSC", identifier: "User_ONE findUser(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_FINDUSER_NTS_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_FINDUSER_NTS_PRM_DSC_0", identifier: "userEmail", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindUser(NOT_SET)", output: "AR_FN_USR_FINDUSER_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findUserById: { identifier: "findUserById", description: "AR_FN_DSC_FINDUSERBYID", type: "function", name: "FindUserById", category: "search", overloads: [{ description: "AR_FN_USR_FINDUSERBYID_STR_DSC", identifier: "User_ONE findUserById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_FINDUSERBYID_STR_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_FINDUSERBYID_STR_PRM_DSC_0", identifier: "userId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindUserById("5B943B5F-4205-B70F-8BE1-A245A94B2919")', output: "AR_FN_USR_FINDUSERBYID_STR_EX_OUT_0" }, { input: "FindUserById(ToString(NOT_SET))", output: "AR_FN_USR_FINDUSERBYID_STR_EX_OUT_1" }] }, { description: "AR_FN_USR_FINDUSERBYID_NTS_DSC", identifier: "User_ONE findUserById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_FINDUSERBYID_NTS_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_FINDUSERBYID_NTS_PRM_DSC_0", identifier: "userId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindUserById(NOT_SET)", output: "AR_FN_USR_FINDUSERBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findUsersById: { identifier: "findUsersById", description: "AR_FN_DSC_FINDUSERSBYID", type: "function", name: "FindUsersById", category: "search", overloads: [{ description: "AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_DSC", identifier: "User_COLL findUsersById(String_COLL)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_RV", isArray: true, type: "usr" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_PRM_DSC_0", identifier: "userIds", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", maxItems: "50" }], examples: [{ input: 'FindUsersById(MakeList("5B943B5F-4205-B70F-8BE1-A245A94B2919", ToString(NOT_SET)))', output: "AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_EX_OUT_0" }, { input: "FindUsersById(MakeEmptyList(ToString(NOT_SET)))", output: "AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_EX_OUT_1" }, { input: "FindUsersById(MakeList(ToString(NOT_SET)))", output: "AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_EX_OUT_2" }] }], needsServerInfo: true }, findCustomerSegments: { identifier: "findCustomerSegments", description: "AR_FN_DSC_FINDCUSTOMERSEGMENTS", type: "function", name: "FindCustomerSegments", category: "search", overloads: [{ description: "AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_DSC", identifier: "CustomerSegment_COLL findCustomerSegments(String_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot" }, featureConfigName: "botFlowsCustomerSegmentsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_RV", isArray: true, type: "csg" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_PRM_DSC_0", identifier: "segmentNames", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1", maxItems: "5", maxLength: "256" }], examples: [{ input: 'FindCustomerSegments(MakeList("Gold Members", "VIP"))', output: "AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_EX_OUT_0" }] }], needsServerInfo: true }, findDivision: { identifier: "findDivision", description: "AR_FN_DSC_FINDDIVISION", type: "function", name: "FindDivision", category: "search", overloads: [{ description: "AR_FN_DIVISION_FINDDIVISION_STR_DSC", identifier: "Division_ONE findDivision(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_FINDDIVISION_STR_RV", isArray: false, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_FINDDIVISION_STR_PRM_DSC_0", identifier: "divisionToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindDivision("Fire")', output: "AR_FN_DIVISION_FINDDIVISION_STR_EX_OUT_0" }, { input: "FindDivision(ToString(NOT_SET))", output: "AR_FN_DIVISION_FINDDIVISION_STR_EX_OUT_1" }] }, { description: "AR_FN_DIVISION_FINDDIVISION_NTS_DSC", identifier: "Division_ONE findDivision(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_FINDDIVISION_NTS_RV", isArray: false, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_FINDDIVISION_NTS_PRM_DSC_0", identifier: "divisionName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindDivision(NOT_SET)", output: "AR_FN_DIVISION_FINDDIVISION_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findDivisionById: { identifier: "findDivisionById", description: "AR_FN_DSC_FINDDIVISIONBYID", type: "function", name: "FindDivisionById", category: "search", overloads: [{ description: "AR_FN_DIVISION_FINDDIVISIONBYID_STR_DSC", identifier: "Division_ONE findDivisionById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_FINDDIVISIONBYID_STR_RV", isArray: false, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_FINDDIVISIONBYID_STR_PRM_DSC_0", identifier: "divisionId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindDivisionById("5B943B5F-4205-B70F-8BE1-A245A94B2919")', output: "AR_FN_DIVISION_FINDDIVISIONBYID_STR_EX_OUT_0" }, { input: "FindDivisionById(ToString(NOT_SET))", output: "AR_FN_DIVISION_FINDDIVISIONBYID_STR_EX_OUT_1" }] }, { description: "AR_FN_DIVISION_FINDDIVISIONBYID_NTS_DSC", identifier: "Division_ONE findDivisionById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_FINDDIVISIONBYID_NTS_RV", isArray: false, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_FINDDIVISIONBYID_NTS_PRM_DSC_0", identifier: "divisionId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindDivisionById(NOT_SET)", output: "AR_FN_DIVISION_FINDDIVISIONBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findDivisions: { identifier: "findDivisions", description: "AR_FN_DSC_FINDDIVISIONS", type: "function", name: "FindDivisions", category: "search", overloads: [{ description: "AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_DSC", identifier: "Division_COLL findDivisions(String_COLL)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_RV", isArray: true, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_PRM_DSC_0", identifier: "divisionNames", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "str", maxItems: "50" }], examples: [{ input: 'FindDivisions(MakeList("Fire", ToString(NOT_SET)))', output: "AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_EX_OUT_0" }, { input: "FindDivisions(MakeEmptyList(ToString(NOT_SET)))", output: "AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_EX_OUT_1" }, { input: "FindDivisions(MakeList(ToString(NOT_SET)))", output: "AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_EX_OUT_2" }] }], needsServerInfo: true }, findDivisionsById: { identifier: "findDivisionsById", description: "AR_FN_DSC_FINDDIVISIONSBYID", type: "function", name: "FindDivisionsById", category: "search", overloads: [{ description: "AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_DSC", identifier: "Division_COLL findDivisionsById(String_COLL)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_RV", isArray: true, type: "dvn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_PRM_DSC_0", identifier: "divisionIds", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", maxItems: "50" }], examples: [{ input: 'FindDivisionsById(MakeList("5B943B5F-4205-B70F-8BE1-A245A94B2919", ToString(NOT_SET)))', output: "AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_EX_OUT_0" }, { input: "FindDivisionsById(MakeEmptyList(ToString(NOT_SET)))", output: "AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_EX_OUT_1" }, { input: "FindDivisionsById(MakeList(ToString(NOT_SET)))", output: "AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_EX_OUT_2" }] }], needsServerInfo: true }, findEmergencyGroup: { identifier: "findEmergencyGroup", description: "AR_FN_DSC_FINDEMERGENCYGROUP", type: "function", name: "FindEmergencyGroup", category: "search", overloads: [{ description: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_DSC", identifier: "EmergencyGroup_ONE findEmergencyGroup(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_RV", isArray: false, type: "emg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_PRM_DSC_0", identifier: "emergencyGroupToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindEmergencyGroup("Fire")', output: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_EX_OUT_0" }, { input: "FindEmergencyGroup(ToString(NOT_SET))", output: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_EX_OUT_1" }] }, { description: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_DSC", identifier: "EmergencyGroup_ONE findEmergencyGroup(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_RV", isArray: false, type: "emg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_PRM_DSC_0", identifier: "emergencyGroupName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindEmergencyGroup(NOT_SET)", output: "AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findGrammar: { identifier: "findGrammar", description: "AR_FN_DSC_FINDGRAMMAR", type: "function", name: "FindGrammar", category: "search", overloads: [{ description: "AR_FN_GRAMMAR_FINDGRAMMAR_STR_DSC", identifier: "Grammar_ONE findGrammar(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRAMMAR_FINDGRAMMAR_STR_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_FINDGRAMMAR_STR_PRM_DSC_0", identifier: "grammarToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindGrammar("Customer Account")', output: "AR_FN_GRAMMAR_FINDGRAMMAR_STR_EX_OUT_0" }, { input: "FindGrammar(ToString(NOT_SET))", output: "AR_FN_GRAMMAR_FINDGRAMMAR_STR_EX_OUT_1" }] }, { description: "AR_FN_GRAMMAR_FINDGRAMMAR_NTS_DSC", identifier: "Grammar_ONE findGrammar(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRAMMAR_FINDGRAMMAR_NTS_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_FINDGRAMMAR_NTS_PRM_DSC_0", identifier: "grammarName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindGrammar(NOT_SET)", output: "AR_FN_GRAMMAR_FINDGRAMMAR_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findGrammarById: { identifier: "findGrammarById", description: "AR_FN_DSC_FINDGRAMMARBYID", type: "function", name: "FindGrammarById", category: "search", overloads: [{ description: "AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_DSC", identifier: "Grammar_ONE findGrammarById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_PRM_DSC_0", identifier: "grammarId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindGrammarById("5B943B5F-4205-B70F-8BE1-A245A94B2919")', output: "AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_EX_OUT_0" }] }, { description: "AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_DSC", identifier: "Grammar_ONE findGrammarById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_PRM_DSC_0", identifier: "grammarId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindGrammarById(NOT_SET)", output: "AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findGroup: { identifier: "findGroup", description: "AR_FN_DSC_FINDGROUP", type: "function", name: "FindGroup", category: "search", overloads: [{ description: "AR_FN_GRP_FINDGROUP_STR_DSC", identifier: "Group_ONE findGroup(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRP_FINDGROUP_STR_RV", isArray: false, type: "grp" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRP_FINDGROUP_STR_PRM_DSC_0", identifier: "groupToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindGroup("Warranty Specialists")', output: "AR_FN_GRP_FINDGROUP_STR_EX_OUT_0" }, { input: "FindGroup(ToString(NOT_SET))", output: "AR_FN_GRP_FINDGROUP_STR_EX_OUT_1" }] }, { description: "AR_FN_GRP_FINDGROUP_NTS_DSC", identifier: "Group_ONE findGroup(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRP_FINDGROUP_NTS_RV", isArray: false, type: "grp" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRP_FINDGROUP_NTS_PRM_DSC_0", identifier: "groupName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindGroup(NOT_SET)", output: "AR_FN_GRP_FINDGROUP_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findImage: { identifier: "findImage", description: "AR_FN_DSC_FINDIMAGE", type: "function", name: "FindImage", category: "search", overloads: [{ description: "AR_FN_IMAGE_FINDIMAGE_STR_DSC", identifier: "Image_ONE findImage(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_FINDIMAGE_STR_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_FINDIMAGE_STR_PRM_DSC_0", identifier: "imageNameToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindImage("ArchitectLogo")', output: "AR_FN_IMAGE_FINDIMAGE_STR_EX_OUT_0" }, { input: "FindImage(ToString(NOT_SET))", output: "AR_FN_IMAGE_FINDIMAGE_STR_EX_OUT_1" }] }, { description: "AR_FN_IMAGE_FINDIMAGE_NTS_DSC", identifier: "Image_ONE findImage(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_FINDIMAGE_NTS_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_FINDIMAGE_NTS_PRM_DSC_0", identifier: "imageName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindImage(NOT_SET)", output: "AR_FN_IMAGE_FINDIMAGE_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findImageById: { identifier: "findImageById", description: "AR_FN_DSC_FINDIMAGEBYID", type: "function", name: "FindImageById", category: "search", overloads: [{ description: "AR_FN_IMAGE_FINDIMAGEBYID_STR_DSC", identifier: "Image_ONE findImageById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_FINDIMAGEBYID_STR_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_FINDIMAGEBYID_STR_PRM_DSC_0", identifier: "imageId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindImageById("32952010-9ac2-469f-a2d8-85123e03763b")', output: "AR_FN_IMAGE_FINDIMAGEBYID_STR_EX_OUT_0" }] }, { description: "AR_FN_IMAGE_FINDIMAGEBYID_NTS_DSC", identifier: "Image_ONE findImageById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_FINDIMAGEBYID_NTS_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_FINDIMAGEBYID_NTS_PRM_DSC_0", identifier: "imageId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindImageById(NOT_SET)", output: "AR_FN_IMAGE_FINDIMAGEBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findKnowledgeBaseDocumentById: { identifier: "findKnowledgeBaseDocumentById", description: "AR_FN_DSC_FINDKNOWLEDGEBASEDOCUMENTBYID", type: "function", name: "FindKnowledgeBaseDocumentById", category: "search", overloads: [{ description: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_DSC", identifier: "KnowledgeBaseDocument_ONE findKnowledgeBaseDocumentById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_RV", isArray: false, type: "kbd" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_PRM_DSC_0", identifier: "knowledgeBaseDocumentId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindKnowledgeBaseDocumentById("5B943B5F-4205-B70F-8BE1-A245A94B2919")', output: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_EX_OUT_0" }] }, { description: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_DSC", identifier: "KnowledgeBaseDocument_ONE findKnowledgeBaseDocumentById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_RV", isArray: false, type: "kbd" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_PRM_DSC_0", identifier: "knowledgeBaseDocumentId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindKnowledgeBaseDocumentById(NOT_SET)", output: "AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findUtilizationLabel: { identifier: "findUtilizationLabel", description: "AR_FN_DSC_FINDUTILIZATIONLABEL", type: "function", name: "FindUtilizationLabel", category: "search", overloads: [{ description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_DSC", identifier: "UtilizationLabel_ONE findUtilizationLabel(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_RV", isArray: false, type: "cul" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_PRM_DSC_0", identifier: "utilizationLabelToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindUtilizationLabel("Green")', output: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_EX_OUT_0" }, { input: "FindUtilizationLabel(ToString(NOT_SET))", output: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_EX_OUT_1" }] }, { description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_DSC", identifier: "UtilizationLabel_ONE findUtilizationLabel(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_RV", isArray: false, type: "cul" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_PRM_DSC_0", identifier: "utilizationLabelName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindUtilizationLabel(NOT_SET)", output: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findUtilizationLabelById: { identifier: "findUtilizationLabelById", description: "AR_FN_DSC_FINDUTILIZATIONLABELBYID", type: "function", name: "FindUtilizationLabelById", category: "search", overloads: [{ description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_STR_DSC", identifier: "UtilizationLabel_ONE findUtilizationLabelById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_STR_RV", isArray: false, type: "cul" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_STR_PRM_DSC_0", identifier: "utilizationLabelId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_DSC", identifier: "UtilizationLabel_ONE findUtilizationLabelById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_RV", isArray: false, type: "cul" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_PRM_DSC_0", identifier: "utilizationLabelId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindUtilizationLabelById(NOT_SET)", output: "AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findQueue: { identifier: "findQueue", description: "AR_FN_DSC_FINDQUEUE", type: "function", name: "FindQueue", category: "search", overloads: [{ description: "AR_FN_QUEUE_FINDQUEUE_STR_DSC", identifier: "Queue_ONE findQueue(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUEUE_FINDQUEUE_STR_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_FINDQUEUE_STR_PRM_DSC_0", identifier: "queueToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindQueue("Marketing")', output: "AR_FN_QUEUE_FINDQUEUE_STR_EX_OUT_0" }, { input: "FindQueue(ToString(NOT_SET))", output: "AR_FN_QUEUE_FINDQUEUE_STR_EX_OUT_1" }] }, { description: "AR_FN_QUEUE_FINDQUEUE_NTS_DSC", identifier: "Queue_ONE findQueue(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUEUE_FINDQUEUE_NTS_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_FINDQUEUE_NTS_PRM_DSC_0", identifier: "queueName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindQueue(NOT_SET)", output: "AR_FN_QUEUE_FINDQUEUE_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findQueueById: { identifier: "findQueueById", description: "AR_FN_DSC_FINDQUEUEBYID", type: "function", name: "FindQueueById", category: "search", overloads: [{ description: "AR_FN_QUEUE_FINDQUEUEBYID_STR_DSC", identifier: "Queue_ONE findQueueById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUEUE_FINDQUEUEBYID_STR_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_FINDQUEUEBYID_STR_PRM_DSC_0", identifier: "queueId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindQueueById("5B943B5F-4205-B70F-8BE1-A245A94B2919")', output: "AR_FN_QUEUE_FINDQUEUEBYID_STR_EX_OUT_0" }] }, { description: "AR_FN_QUEUE_FINDQUEUEBYID_NTS_DSC", identifier: "Queue_ONE findQueueById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUEUE_FINDQUEUEBYID_NTS_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_FINDQUEUEBYID_NTS_PRM_DSC_0", identifier: "queueId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindQueueById(NOT_SET)", output: "AR_FN_QUEUE_FINDQUEUEBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findWorktypeStatus: { identifier: "findWorktypeStatus", description: "AR_FN_DSC_FINDWORKTYPESTATUS", type: "function", name: "FindWorktypeStatus", category: "search", overloads: [{ description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_DSC", identifier: "WorktypeStatus_ONE findWorktypeStatus(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_RV", isArray: false, type: "cpx_worktype_status" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_PRM_DSC_0", identifier: "worktypeStatusNameToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindWorktypeStatus("NewOpportunity")', output: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_EX_OUT_0" }] }, { description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_DSC", identifier: "WorktypeStatus_ONE findWorktypeStatus(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_RV", isArray: false, type: "cpx_worktype_status" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_PRM_DSC_0", identifier: "worktypeStatusNameToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindWorktypeStatus(NOT_SET)", output: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findWorktypeStatusById: { identifier: "findWorktypeStatusById", description: "AR_FN_DSC_FINDWORKTYPESTATUSBYID", type: "function", name: "FindWorktypeStatusById", category: "search", overloads: [{ description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_DSC", identifier: "WorktypeStatus_ONE findWorktypeStatusById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_RV", isArray: false, type: "cpx_worktype_status" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_PRM_DSC_0", identifier: "worktypeStatusId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindWorktypeStatusById("8dd32bf3-5f81-4601-9db7-fbce97b09441")', output: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_EX_OUT_0" }] }, { description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_DSC", identifier: "WorktypeStatus_ONE findWorktypeStatusById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_RV", isArray: false, type: "cpx_worktype_status" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_PRM_DSC_0", identifier: "worktypeStatusId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindWorktypeStatusById(NOT_SET)", output: "AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findQueueEstimatedWaitTime: { identifier: "findQueueEstimatedWaitTime", description: "AR_FN_DSC_FINDQUEUEESTIMATEDWAITTIME", type: "function", name: "FindQueueEstimatedWaitTime", category: "statistical", overloads: [{ description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_DSC", identifier: "Duration_ONE findQueueEstimatedWaitTime(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", emailsend: "emailsend", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", commonmodule: "commonmodule" }, featureConfigName: "queueEstimatedWaitTime", needsServerInfo: true, returnValue: { description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_PRM_DSC_0", identifier: "queueToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindQueueEstimatedWaitTime("Marketing")', output: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_EX_OUT_0" }, { input: "FindQueueEstimatedWaitTime(ToString(NOT_SET))", output: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_EX_OUT_1" }] }, { description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_DSC", identifier: "Duration_ONE findQueueEstimatedWaitTime(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", commonmodule: "commonmodule" }, featureConfigName: "queueEstimatedWaitTime", needsServerInfo: true, returnValue: { description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_PRM_DSC_0", identifier: "queueToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_PRM_DSC_1", identifier: "mediaType", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindQueueEstimatedWaitTime("Marketing", "call")', output: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_EX_OUT_0" }, { input: 'FindQueueEstimatedWaitTime("Marketing", ToString(NOT_SET))', output: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_EX_OUT_1" }, { input: 'FindQueueEstimatedWaitTime(ToString(NOT_SET), "call")', output: "AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_EX_OUT_2" }] }, { description: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_DSC", identifier: "Duration_COLL findQueueEstimatedWaitTime(String_ONE,String_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", commonmodule: "commonmodule" }, featureConfigName: "queueEstimatedWaitTime", needsServerInfo: true, returnValue: { description: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_RV", isArray: true, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_PRM_DSC_0", identifier: "queueToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_PRM_DSC_1", identifier: "mediaTypes", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindQueueEstimatedWaitTime("Marketing", MakeList("call"))', output: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_EX_OUT_0" }, { input: 'FindQueueEstimatedWaitTime("Marketing", MakeList(ToString(NOT_SET)))', output: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_EX_OUT_1" }, { input: 'FindQueueEstimatedWaitTime(ToString(NOT_SET), MakeList("call"))', output: "AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_EX_OUT_2" }] }], needsServerInfo: true }, getQueueEstimatedWaitTime: { identifier: "getQueueEstimatedWaitTime", description: "AR_FN_DSC_GETQUEUEESTIMATEDWAITTIME", type: "function", name: "GetQueueEstimatedWaitTime", category: "statistical", overloads: [{ description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_DSC", identifier: "Duration_ONE getQueueEstimatedWaitTime(Queue_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", emailsend: "emailsend", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", commonmodule: "commonmodule" }, featureConfigName: "queueEstimatedWaitTime", needsServerInfo: true, returnValue: { description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_PRM_DSC_0", identifier: "queueToQuery", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "que" }], examples: [{ input: 'GetQueueEstimatedWaitTime(FindQueue("Marketing"))', output: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_EX_OUT_0" }, { input: "GetQueueEstimatedWaitTime(ToQueue(NOT_SET))", output: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_EX_OUT_1" }] }, { description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_DSC", identifier: "Duration_ONE getQueueEstimatedWaitTime(Queue_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", commonmodule: "commonmodule" }, featureConfigName: "queueEstimatedWaitTime", needsServerInfo: true, returnValue: { description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_PRM_DSC_0", identifier: "queueToQuery", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "que" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_PRM_DSC_1", identifier: "mediaType", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'GetQueueEstimatedWaitTime(FindQueue("Marketing"), "call")', output: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_EX_OUT_0" }, { input: 'GetQueueEstimatedWaitTime(FindQueue("Marketing"), ToString(NOT_SET))', output: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_EX_OUT_1" }, { input: 'GetQueueEstimatedWaitTime(ToQueue(NOT_SET), "call")', output: "AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_EX_OUT_2" }] }, { description: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_DSC", identifier: "Duration_COLL getQueueEstimatedWaitTime(Queue_ONE,String_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", commonmodule: "commonmodule" }, featureConfigName: "queueEstimatedWaitTime", needsServerInfo: true, returnValue: { description: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_RV", isArray: true, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_PRM_DSC_0", identifier: "queueToQuery", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "que" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_PRM_DSC_1", identifier: "mediaTypes", isArray: true, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'GetQueueEstimatedWaitTime(FindQueue("Marketing"), MakeList("call"))', output: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_EX_OUT_0" }, { input: 'GetQueueEstimatedWaitTime(FindQueue("Marketing"), MakeList(ToString(NOT_SET)))', output: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_EX_OUT_1" }, { input: 'GetQueueEstimatedWaitTime(ToQueue(NOT_SET), MakeList("call"))', output: "AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_EX_OUT_2" }] }], needsServerInfo: true }, findResponseAsset: { identifier: "findResponseAsset", description: "AR_FN_DSC_FINDRESPONSEASSET", type: "function", name: "FindResponseAsset", category: "search", overloads: [{ description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_DSC", identifier: "ResponseAsset_ONE findResponseAsset(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_RV", isArray: false, type: "rpa" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_PRM_DSC_0", identifier: "responseAssetNameToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindResponseAsset("ArchitectAsset")', output: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_EX_OUT_0" }, { input: "FindResponseAsset(ToString(NOT_SET))", output: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_EX_OUT_1" }] }, { description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_DSC", identifier: "ResponseAsset_ONE findResponseAsset(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_RV", isArray: false, type: "rpa" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_PRM_DSC_0", identifier: "responseAssetName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindResponseAsset(NOT_SET)", output: "AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findResponseAssetById: { identifier: "findResponseAssetById", description: "AR_FN_DSC_FINDRESPONSEASSETBYID", type: "function", name: "FindResponseAssetById", category: "search", overloads: [{ description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_DSC", identifier: "ResponseAsset_ONE findResponseAssetById(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_RV", isArray: false, type: "rpa" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_PRM_DSC_0", identifier: "responseAssetId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindResponseAssetById("0bfba8bc-37cd-4fa2-b986-86fa0523aeec")', output: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_EX_OUT_0" }] }, { description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_DSC", identifier: "ResponseAsset_ONE findResponseAssetById(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_RV", isArray: false, type: "rpa" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_PRM_DSC_0", identifier: "responseAssetId", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindResponseAssetById(NOT_SET)", output: "AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findSchedule: { identifier: "findSchedule", description: "AR_FN_DSC_FINDSCHEDULE", type: "function", name: "FindSchedule", category: "search", overloads: [{ description: "AR_FN_SCHED_FINDSCHEDULE_STR_DSC", identifier: "Schedule_ONE findSchedule(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHED_FINDSCHEDULE_STR_RV", isArray: false, type: "sch" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHED_FINDSCHEDULE_STR_PRM_DSC_0", identifier: "scheduleToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindSchedule("OpenHours")', output: "AR_FN_SCHED_FINDSCHEDULE_STR_EX_OUT_0" }, { input: "FindSchedule(ToString(NOT_SET))", output: "AR_FN_SCHED_FINDSCHEDULE_STR_EX_OUT_1" }] }, { description: "AR_FN_SCHED_FINDSCHEDULE_NTS_DSC", identifier: "Schedule_ONE findSchedule(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHED_FINDSCHEDULE_NTS_RV", isArray: false, type: "sch" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHED_FINDSCHEDULE_NTS_PRM_DSC_0", identifier: "scheduleName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindSchedule(NOT_SET)", output: "AR_FN_SCHED_FINDSCHEDULE_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findScheduleGroup: { identifier: "findScheduleGroup", description: "AR_FN_DSC_FINDSCHEDULEGROUP", type: "function", name: "FindScheduleGroup", category: "search", overloads: [{ description: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_DSC", identifier: "ScheduleGroup_ONE findScheduleGroup(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_RV", isArray: false, type: "scg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_PRM_DSC_0", identifier: "scheduleGroupToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindScheduleGroup("OpenHoursEastCoast")', output: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_EX_OUT_0" }, { input: "FindScheduleGroup(ToString(NOT_SET))", output: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_EX_OUT_1" }] }, { description: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_DSC", identifier: "ScheduleGroup_ONE findScheduleGroup(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_RV", isArray: false, type: "scg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_PRM_DSC_0", identifier: "scheduleGroupName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindScheduleGroup(NOT_SET)", output: "AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_EX_OUT_0" }] }], needsServerInfo: true }, findSkill: { identifier: "findSkill", description: "AR_FN_DSC_FINDSKILL", type: "function", name: "FindSkill", category: "search", overloads: [{ description: "AR_FN_SKL_FINDSKILL_STR_DSC", identifier: "Skill_ONE findSkill(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_SKL_FINDSKILL_STR_RV", isArray: false, type: "skl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SKL_FINDSKILL_STR_PRM_DSC_0", identifier: "skillToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindSkill("JavaScript")', output: "AR_FN_SKL_FINDSKILL_STR_EX_OUT_0" }, { input: "FindSkill(ToString(NOT_SET))", output: "AR_FN_SKL_FINDSKILL_STR_EX_OUT_1" }] }, { description: "AR_FN_SKL_FINDSKILL_NTS_DSC", identifier: "Skill_ONE findSkill(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_SKL_FINDSKILL_NTS_RV", isArray: false, type: "skl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SKL_FINDSKILL_NTS_PRM_DSC_0", identifier: "skillName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindSkill(NOT_SET)", output: "AR_FN_SKL_FINDSKILL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, evaluateSkillExpressionFilter: { identifier: "evaluateSkillExpressionFilter", description: "AR_FN_DSC_EVALUATESKILLEXPRESSIONFILTER", type: "function", name: "EvaluateSkillExpressionFilter", category: "complex", overloads: [{ description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_DSC", identifier: "SkillExpressionFilter_ONE evaluateSkillExpressionFilter(String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule", emailsend: "emailsend", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage" }, featureConfigName: "routingSkillExpressionsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_RV", isArray: false, type: "jsn__architect::skill_expression_filter" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_PRM_DSC_0", identifier: "filterText", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1", maxLength: "1024" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_PRM_DSC_1", identifier: "notSetIfInvalid", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "bln" }], examples: [{ input: 'EvaluateSkillExpressionFilter("((Skill(\\"iPhone\\")>1 | (Skill(\\"CarPlay\\")=10)) & LanguageSkill(\\"Spanish\\") > 0)", false)', output: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_EX_OUT_0" }, { input: 'EvaluateSkillExpressionFilter("invalid filter text", true)', output: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_EX_OUT_1" }] }, { description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_DSC", identifier: "SkillExpressionFilter_ONE evaluateSkillExpressionFilter(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", emailsend: "emailsend", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage" }, featureConfigName: "routingSkillExpressionsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_RV", isArray: false, type: "jsn__architect::skill_expression_filter" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_PRM_DSC_0", identifier: "filterText", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1", maxLength: "1024" }], examples: [{ input: 'EvaluateSkillExpressionFilter("((Skill(\\"iPhone\\")>1 | (Skill(\\"CarPlay\\")=10)) & LanguageSkill(\\"Spanish\\") > 0)")', output: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_EX_OUT_0" }, { input: 'EvaluateSkillExpressionFilter("invalid filter text")', output: "AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_EX_OUT_1" }] }], needsServerInfo: true }, findLanguageSkill: { identifier: "findLanguageSkill", description: "AR_FN_DSC_FINDLANGUAGESKILL", type: "function", name: "FindLanguageSkill", category: "search", overloads: [{ description: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_DSC", identifier: "LanguageSkill_ONE findLanguageSkill(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_RV", isArray: false, type: "lac" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_PRM_DSC_0", identifier: "skillToFind", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindLanguageSkill("Spanish - Written")', output: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_EX_OUT_0" }, { input: "FindLanguageSkill(ToString(NOT_SET))", output: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_EX_OUT_1" }] }, { description: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_DSC", identifier: "LanguageSkill_ONE findLanguageSkill(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_RV", isArray: false, type: "lac" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "FindLanguageSkill(NOT_SET)", output: "AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, append: { identifier: "append", description: "AR_FN_DSC_APPEND", type: "function", name: "Append", category: "text", overloads: [{ description: "AR_FN_STR_APPEND_STR_STR_MORE_DSC", identifier: "String_ONE append(String_ONE,String_ONE...)", support: { version: "1.0", resolver: "n-SameType" }, returnValue: { description: "AR_FN_STR_APPEND_STR_STR_MORE_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_APPEND_STR_STR_MORE_PRM_DSC_0", identifier: "initialText", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_APPEND_STR_STR_MORE_PRM_DSC_1", identifier: "textToAppend", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "str" }], examples: [{ input: 'Append("Hello", " World")', output: '"Hello World"' }, { input: 'Append("Hello", "-", "World")', output: '"Hello-World"' }, { input: 'Append("Hello", NOT_SET)', output: '"Hello"' }, { input: 'Append(NOT_SET, "Hello")', output: '"Hello"' }, { input: "Append(ToString(NOT_SET), NOT_SET)", output: '""' }] }, { description: "AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_DSC", identifier: "Audio_ONE appendAudio(Any_ONE,Any_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_PRM_DSC_0", identifier: "initialAudioOrPrompt", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "apa" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_PRM_DSC_1", identifier: "audioOrPromptToAppend", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "apa" }], examples: [{ input: 'Append(Prompt.Welcome, ToAudioTTS("John"))', output: "AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_EX_OUT_0" }] }, { description: "AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_DSC", identifier: "Communication_ONE append(Communication_ONE,Any_ONE...)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_PRM_DSC_0", identifier: "initialCommunication", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "com" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_PRM_DSC_1", identifier: "valueToAppend", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "any" }], examples: [{ input: 'Append(MakeCommunication(Prompt.Welcome, "John"), ToCommunicationBlank(1000), "Your account balance is", MakeCurrency(350, "USD"))', output: "A Communication with five items in it." }] }], needsServerInfo: true }, makeCommunication: { identifier: "makeCommunication", description: "AR_FN_DSC_MAKECOMMUNICATION", type: "function", name: "MakeCommunication", category: "text", overloads: [{ description: "AR_FN_COMMUNICATION_MAKECOMMUNICATION_ANY_MORE_DSC", identifier: "Communication_ONE makeCommunication(Any_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_MAKECOMMUNICATION_ANY_MORE_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_MAKECOMMUNICATION_ANY_MORE_PRM_DSC_0", identifier: "anyValue", isArray: false, helpDisplayIdx: 0, repeatable: true, required: false, type: "any" }], examples: [{ input: 'MakeCommunication(Prompt.Welcome, "John", ToCommunicationBlank(1000), ToCommunication("ABC", Format.String.playChars))', output: "A Communication with four items." }] }], needsServerInfo: true }, left: { identifier: "left", description: "AR_FN_DSC_LEFT", type: "function", name: "Left", category: "text", overloads: [{ description: "AR_FN_STR_LEFT_STR_LNG_DSC", identifier: "String_ONE left(String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_LEFT_STR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_LEFT_STR_LNG_PRM_DSC_0", identifier: "srcString", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_LEFT_STR_LNG_PRM_DSC_1", identifier: "length", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'Left("Hello", 2)', output: '"He"' }, { input: 'Left("Hello", 6)', output: '"Hello"' }, { input: 'Left("Hello", 0)', output: '""' }] }] }, length: { identifier: "length", description: "AR_FN_DSC_LENGTH", type: "function", name: "Length", category: "text", overloads: [{ description: "AR_FN_LNG_LENGTH_STR_DSC", identifier: "Long_ONE length(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_LENGTH_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_LENGTH_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Length("Hello World")', output: "11" }, { input: 'Length("")', output: "0" }] }, { description: "AR_FN_LNG_LENGTH_JSON_DSC", identifier: "Long_ONE length(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_LENGTH_JSON_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_LENGTH_JSON_PRM_DSC_0", identifier: "jsonString", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }], examples: [{ input: 'Length(JsonParse("\\"Hello World\\""))', output: "11" }] }], needsServerInfo: true }, lower: { identifier: "lower", description: "AR_FN_DSC_LOWER", type: "function", name: "Lower", category: "text", overloads: [{ description: "AR_FN_STR_LOWER_STR_DSC", identifier: "String_ONE lower(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_LOWER_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_LOWER_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Lower("Hello World")', output: '"hello world"' }, { input: 'Lower("")', output: '""' }] }] }, ltrim: { identifier: "ltrim", description: "AR_FN_DSC_LTRIM", type: "function", name: "LTrim", category: "text", overloads: [{ description: "AR_FN_STR_LTRIM_STR_DSC", identifier: "String_ONE ltrim(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_LTRIM_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_LTRIM_STR_PRM_DSC_0", identifier: "stringToTrim", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'LTrim(" Hello")', output: '"Hello"' }, { input: 'LTrim(" Hello ")', output: '"Hello "' }, { input: 'LTrim("Hello ")', output: '"Hello "' }, { input: 'LTrim("")', output: '""' }] }] }, replace: { identifier: "replace", description: "AR_FN_DSC_REPLACE", type: "function", name: "Replace", category: "text", overloads: [{ description: "AR_FN_STR_REPLACE_STR_STR_STR_DSC", identifier: "String_ONE replace(String_ONE,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_REPLACE_STR_STR_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_REPLACE_STR_STR_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_REPLACE_STR_STR_STR_PRM_DSC_1", identifier: "findString", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_REPLACE_STR_STR_STR_PRM_DSC_2", identifier: "replacementString", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str" }], examples: [{ input: 'Replace("Hello World", "Hello", "World")', output: '"World World"' }, { input: 'Replace("Hello World", "Hello", NOT_SET)', output: '" World"' }, { input: 'Replace("Hello World", "Soccer", "Ball")', output: '"Hello World"' }, { input: 'Replace("Hello World", "hello", "")', output: '"Hello World"' }, { input: 'Replace("Hello World", "", "Ball")', output: '"Hello World"' }, { input: 'Replace("Hello World", "Test", "test")', output: '"Hello World"' }] }] }, reverse: { identifier: "reverse", description: "AR_FN_DSC_REVERSE", type: "function", name: "Reverse", category: "text", overloads: [{ description: "AR_FN_STR_REVERSE_STR_DSC", identifier: "String_ONE reverse(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_REVERSE_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_REVERSE_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Reverse("Hello")', output: '"olleH"' }] }] }, right: { identifier: "right", description: "AR_FN_DSC_RIGHT", type: "function", name: "Right", category: "text", overloads: [{ description: "AR_FN_STR_RIGHT_STR_LNG_DSC", identifier: "String_ONE right(String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_RIGHT_STR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_RIGHT_STR_LNG_PRM_DSC_0", identifier: "srcString", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_RIGHT_STR_LNG_PRM_DSC_1", identifier: "length", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'Right("Hello", 3)', output: '"llo"' }, { input: 'Right("Hello", 6)', output: '"Hello"' }, { input: 'Right("Hello", 0)', output: '""' }] }] }, rtrim: { identifier: "rtrim", description: "AR_FN_DSC_RTRIM", type: "function", name: "RTrim", category: "text", overloads: [{ description: "AR_FN_STR_RTRIM_STR_DSC", identifier: "String_ONE rtrim(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_RTRIM_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_RTRIM_STR_PRM_DSC_0", identifier: "stringToTrim", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'RTrim("Hello ")', output: '"Hello"' }, { input: 'RTrim(" Hello ")', output: '" Hello"' }, { input: 'RTrim(" Hello")', output: '" Hello"' }, { input: 'RTrim("")', output: '""' }] }] }, substring: { identifier: "substring", description: "AR_FN_DSC_SUBSTRING", type: "function", name: "Substring", category: "text", overloads: [{ description: "AR_FN_STR_SUBSTRING_STR_LNG_LNG_DSC", identifier: "String_ONE substring(String_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_SUBSTRING_STR_LNG_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_SUBSTRING_STR_LNG_LNG_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_SUBSTRING_STR_LNG_LNG_PRM_DSC_1", identifier: "start", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_SUBSTRING_STR_LNG_LNG_PRM_DSC_2", identifier: "length", isArray: false, helpDisplayIdx: 2, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'Substring("Hello", 0, 3)', output: '"Hel"' }, { input: 'Substring("Hello", 2, 3)', output: '"llo"' }, { input: 'Substring("Hello", 3, 3)', output: '"lo"' }, { input: 'Substring("Hello", 0, 27)', output: '"Hello"' }, { input: 'Substring("Hello", 10, 5)', output: '""' }] }] }, trim: { identifier: "trim", description: "AR_FN_DSC_TRIM", type: "function", name: "Trim", category: "text", overloads: [{ description: "AR_FN_STR_TRIM_STR_DSC", identifier: "String_ONE trim(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TRIM_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TRIM_STR_PRM_DSC_0", identifier: "stringToTrim", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Trim(" Hello ")', output: '"Hello"' }, { input: 'Trim("Hello ")', output: '"Hello"' }, { input: 'Trim(" Hello")', output: '"Hello"' }, { input: 'Trim("")', output: '""' }] }] }, upper: { identifier: "upper", description: "AR_FN_DSC_UPPER", type: "function", name: "Upper", category: "text", overloads: [{ description: "AR_FN_STR_UPPER_STR_DSC", identifier: "String_ONE upper(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_UPPER_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_UPPER_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Upper("Hello World")', output: '"HELLO WORLD"' }, { input: 'Upper("")', output: '""' }] }] }, contains: { identifier: "contains", description: "AR_FN_DSC_CONTAINS", type: "function", name: "Contains", category: "text", overloads: [{ description: "AR_FN_BLN_CONTAINS_STR_STR_DSC", identifier: "Boolean_ONE contains(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_CONTAINS_STR_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_CONTAINS_STR_STR_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_CONTAINS_STR_STR_PRM_DSC_1", identifier: "textToFind", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Contains("Hello", "ll")', output: "true" }, { input: 'Contains("Hello", "he")', output: "false" }, { input: 'Contains("Hello", "abc")', output: "false" }, { input: 'Contains("Hello", "")', output: "true" }] }, { description: "AR_FN_BLN_CONTAINS_STR_STR_BLN_DSC", identifier: "Boolean_ONE contains(String_ONE,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_CONTAINS_STR_STR_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_CONTAINS_STR_STR_BLN_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_CONTAINS_STR_STR_BLN_PRM_DSC_1", identifier: "textToFind", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_CONTAINS_STR_STR_BLN_PRM_DSC_2", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'Contains("Hello", "ll", true)', output: "true" }, { input: 'Contains("Hello", "he", false)', output: "false" }, { input: 'Contains("Hello", "he", true)', output: "true" }, { input: 'Contains("Hello", "abc", true)', output: "false" }, { input: 'Contains("Hello", "", true)', output: "true" }, { input: 'Contains("le \xC9lever", "\xE9", true)', output: "true" }, { input: 'Contains("le \xC9lever", "\xE9", false)', output: "false" }, { input: 'Contains("\u4E2D\u570B\u53F0\u7063KD1", "\u53F0", true)', output: "true" }, { input: 'Contains("\u4E2D\u570B\u53F0\u7063KD1", "\u53F0", false)', output: "true" }] }], needsServerInfo: true }, compare: { identifier: "compare", description: "AR_FN_DSC_COMPARE", type: "function", name: "Compare", category: "text", overloads: [{ description: "AR_FN_LNG_COMPARE_STR_STR_DSC", identifier: "Long_ONE compare(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_COMPARE_STR_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COMPARE_STR_STR_PRM_DSC_0", identifier: "stringToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COMPARE_STR_STR_PRM_DSC_1", identifier: "stringToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'Compare("hello", "Hello")', output: "-1" }, { input: 'Compare("Hello", "hello")', output: "1" }, { input: 'Compare("2", "10")', output: "AR_FN_LNG_COMPARE_STR_STR_EX_OUT_2" }, { input: 'Compare("Hello", "Hello")', output: "0" }, { input: 'Compare("Hel", "Hello")', output: "-1" }, { input: 'Compare("Hello", NOT_SET)', output: "1" }, { input: 'Compare("", NOT_SET)', output: "1" }, { input: 'Compare(NOT_SET, "")', output: "-1" }, { input: 'Compare(NOT_SET, "Hello")', output: "-1" }, { input: "Compare(NOT_SET, NOT_SET)", output: "0" }] }, { description: "AR_FN_LNG_COMPARE_STR_STR_BLN_DSC", identifier: "Long_ONE compare(String_ONE,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_COMPARE_STR_STR_BLN_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COMPARE_STR_STR_BLN_PRM_DSC_0", identifier: "stringToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COMPARE_STR_STR_BLN_PRM_DSC_1", identifier: "stringToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_COMPARE_STR_STR_BLN_PRM_DSC_2", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'Compare("hello", "Hello", true)', output: "0" }, { input: 'Compare("hello", "Hello", false)', output: "-1" }, { input: 'Compare("2", "10", false)', output: "1" }, { input: 'Compare("Hel", "Hello", true)', output: "-1" }, { input: 'Compare("Hello", "Hello", true)', output: "0" }, { input: 'Compare("Hello", NOT_SET, false)', output: "1" }, { input: 'Compare(NOT_SET, "Hello", true)', output: "-1" }] }] }, split: { identifier: "split", description: "AR_FN_DSC_SPLIT", type: "function", name: "Split", category: "text", overloads: [{ description: "AR_FN_STR_COLL_SPLIT_STR_STR_DSC", identifier: "String_COLL split(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_COLL_SPLIT_STR_STR_RV", isArray: true, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_SPLIT_STR_STR_PRM_DSC_0", identifier: "textToSplit", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_SPLIT_STR_STR_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: 'Split("Hello World", "l")', output: "AR_FN_STR_COLL_SPLIT_STR_STR_EX_OUT_0" }, { input: 'Split("", "l")', output: "AR_FN_STR_COLL_SPLIT_STR_STR_EX_OUT_1" }, { input: 'Split("Hello World", "")', output: "AR_FN_STR_COLL_SPLIT_STR_STR_EX_OUT_2" }] }] }, day: { identifier: "day", description: "AR_FN_DSC_DAY", type: "function", name: "Day", category: "datetime", overloads: [{ description: "AR_FN_LNG_DAY_DATE_DSC", identifier: "Long_ONE day(Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_DAY_DATE_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_DAY_DATE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }], examples: [{ input: "Day(MakeDate(2017, 2, 14))", output: "14" }] }, { description: "AR_FN_LNG_DAY_DTM_DSC", identifier: "Long_ONE day(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_DAY_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_DAY_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "Day(MakeDateTime(2009, 3, 20, 12, 00, 00))", output: "20" }] }], needsServerInfo: true }, month: { identifier: "month", description: "AR_FN_DSC_MONTH", type: "function", name: "Month", category: "datetime", overloads: [{ description: "AR_FN_LNG_MONTH_DATE_DSC", identifier: "Long_ONE month(Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_MONTH_DATE_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_MONTH_DATE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }], examples: [{ input: "Month(MakeDate(2009, 3, 20))", output: "3" }] }, { description: "AR_FN_LNG_MONTH_DTM_DSC", identifier: "Long_ONE month(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_MONTH_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_MONTH_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "Month(MakeDateTime(2009, 3, 20, 12, 00, 00))", output: "3" }] }], needsServerInfo: true }, year: { identifier: "year", description: "AR_FN_DSC_YEAR", type: "function", name: "Year", category: "datetime", overloads: [{ description: "AR_FN_LNG_YEAR_DATE_DSC", identifier: "Long_ONE year(Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_YEAR_DATE_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_YEAR_DATE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }], examples: [{ input: "Year(MakeDate(2019, 3, 20))", output: "2019" }] }, { description: "AR_FN_LNG_YEAR_DTM_DSC", identifier: "Long_ONE year(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_YEAR_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_YEAR_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "Year(MakeDateTime(2009, 3, 20, 12, 00, 00))", output: "2009" }] }], needsServerInfo: true }, hour: { identifier: "hour", description: "AR_FN_DSC_HOUR", type: "function", name: "Hour", category: "datetime", overloads: [{ description: "AR_FN_LNG_HOUR_TIME_DSC", identifier: "Long_ONE hour(Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_HOUR_TIME_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_HOUR_TIME_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }], examples: [{ input: "Hour(MakeTime(12, 00, 00))", output: "12" }] }, { description: "AR_FN_LNG_HOUR_DTM_DSC", identifier: "Long_ONE hour(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_HOUR_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_HOUR_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "Hour(MakeDateTime(2007, 2, 10, 12, 00, 00))", output: "12" }] }], needsServerInfo: true }, minute: { identifier: "minute", description: "AR_FN_DSC_MINUTE", type: "function", name: "Minute", category: "datetime", overloads: [{ description: "AR_FN_LNG_MINUTE_DTM_DSC", identifier: "Long_ONE minute(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_MINUTE_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_MINUTE_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "Minute(MakeDateTime(2007, 2, 10, 12, 30, 0))", output: "30" }, { input: "Minute(MakeDateTime(2019, 3, 1, 1, 5, 0))", output: "5" }, { input: "Minute(MakeDateTime(2015, 7, 15, 16, 0, 0))", output: "0" }] }, { description: "AR_FN_LNG_MINUTE_TIME_DSC", identifier: "Long_ONE minute(Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_MINUTE_TIME_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_MINUTE_TIME_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }], examples: [{ input: "Minute(MakeTime(12, 30, 0))", output: "30" }, { input: "Minute(MakeTime(1, 5, 0))", output: "5" }, { input: "Minute(MakeTime(16, 0, 0))", output: "0" }] }], needsServerInfo: true }, second: { identifier: "second", description: "AR_FN_DSC_SECOND", type: "function", name: "Second", category: "datetime", overloads: [{ description: "AR_FN_LNG_SECOND_DTM_DSC", identifier: "Long_ONE second(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_SECOND_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_SECOND_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "Second(MakeDateTime(2007, 2, 10, 12, 30, 45))", output: "45" }] }, { description: "AR_FN_LNG_SECOND_TIME_DSC", identifier: "Long_ONE second(Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_SECOND_TIME_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_SECOND_TIME_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }], examples: [{ input: "Second(MakeTime(12, 30, 45))", output: "45" }] }], needsServerInfo: true }, dateDiff: { identifier: "dateDiff", description: "AR_FN_DSC_DATEDIFF", type: "function", name: "DateDiff", category: "datetime", overloads: [{ description: "AR_FN_DUR_DATEDIFF_DATE_DATE_DSC", identifier: "Duration_ONE dateDiff(Date_ONE,Date_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, needsServerInfo: true, returnValue: { description: "AR_FN_DUR_DATEDIFF_DATE_DATE_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_DATEDIFF_DATE_DATE_PRM_DSC_0", identifier: "date1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_DATEDIFF_DATE_DATE_PRM_DSC_1", identifier: "date2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dat" }], examples: [{ input: "DateDiff(MakeDate(2009, 3, 22), MakeDate(2009, 3, 20))", output: "AR_FN_DUR_DATEDIFF_DATE_DATE_EX_OUT_0" }, { input: "DateDiff(MakeDate(2009, 3, 20), MakeDate(2009, 3, 22))", output: "AR_FN_DUR_DATEDIFF_DATE_DATE_EX_OUT_1" }] }], needsServerInfo: true }, dateTimeDiff: { identifier: "dateTimeDiff", description: "AR_FN_DSC_DATETIMEDIFF", type: "function", name: "DateTimeDiff", category: "datetime", overloads: [{ description: "AR_FN_DUR_DATETIMEDIFF_DTM_DTM_DSC", identifier: "Duration_ONE dateTimeDiff(DateTime_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_DATETIMEDIFF_DTM_DTM_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_DATETIMEDIFF_DTM_DTM_PRM_DSC_0", identifier: "dateTime1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_DATETIMEDIFF_DTM_DTM_PRM_DSC_1", identifier: "dateTime2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "DateTimeDiff(MakeDateTime(2009, 3, 20, 14, 0, 0), MakeDateTime(2009, 3, 20, 12, 0, 0))", output: "AR_FN_DUR_DATETIMEDIFF_DTM_DTM_EX_OUT_0" }, { input: "DateTimeDiff(MakeDateTime(2009, 3, 20, 10, 0, 0), MakeDateTime(2009, 3, 20, 12, 0, 0))", output: "AR_FN_DUR_DATETIMEDIFF_DTM_DTM_EX_OUT_1" }] }] }, timeDiff: { identifier: "timeDiff", description: "AR_FN_DSC_TIMEDIFF", type: "function", name: "TimeDiff", category: "datetime", overloads: [{ description: "AR_FN_DUR_TIMEDIFF_TIME_TIME_DSC", identifier: "Duration_ONE timeDiff(Time_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_DUR_TIMEDIFF_TIME_TIME_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_TIMEDIFF_TIME_TIME_PRM_DSC_0", identifier: "time1", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_TIMEDIFF_TIME_TIME_PRM_DSC_1", identifier: "time2", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tim" }], examples: [{ input: "TimeDiff(MakeTime(14, 0, 0), MakeTime(12, 0, 0))", output: "AR_FN_DUR_TIMEDIFF_TIME_TIME_EX_OUT_0" }, { input: "TimeDiff(MakeTime(10, 0, 0), MakeTime(12, 0, 0))", output: "AR_FN_DUR_TIMEDIFF_TIME_TIME_EX_OUT_1" }] }], needsServerInfo: true }, dayOfWeek: { identifier: "dayOfWeek", description: "AR_FN_DSC_DAYOFWEEK", type: "function", name: "DayOfWeek", category: "datetime", overloads: [{ description: "AR_FN_LNG_DAYOFWEEK_DATE_DSC", identifier: "Long_ONE dayOfWeek(Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_DAYOFWEEK_DATE_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_DAYOFWEEK_DATE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }], examples: [{ input: "DayOfWeek(MakeDate(2009, 4, 5))", output: "1" }] }, { description: "AR_FN_LNG_DAYOFWEEK_DTM_DSC", identifier: "Long_ONE dayOfWeek(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_DAYOFWEEK_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_DAYOFWEEK_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "DayOfWeek(MakeDateTime(2009, 4, 5, 3, 0, 0))", output: "1" }] }], needsServerInfo: true }, getDayOfWeekOccurrence: { identifier: "getDayOfWeekOccurrence", description: "AR_FN_DSC_GETDAYOFWEEKOCCURRENCE", type: "function", name: "GetDayOfWeekOccurrence", category: "datetime", overloads: [{ description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_DSC", identifier: "DateTime_ONE getDayOfWeekOccurrence(Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_PRM_DSC_0", identifier: "dayOfWeek", isArray: false, helpDisplayIdx: 0, max: "7", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_PRM_DSC_1", identifier: "occurrence", isArray: false, helpDisplayIdx: 1, max: "53", min: "-53", repeatable: false, required: true, type: "int", disallowZero: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_PRM_DSC_2", identifier: "year", isArray: false, helpDisplayIdx: 2, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }], examples: [{ input: "GetDayOfWeekOccurrence(1, 10, 2017)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_0" }, { input: "GetDayOfWeekOccurrence(6, -1, 2017)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_1" }, { input: "GetDayOfWeekOccurrence(6, -2, 2017)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_2" }, { input: "GetDayOfWeekOccurrence(2, 53, 2017)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_3" }] }, { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_DSC", identifier: "DateTime_ONE getDayOfWeekOccurrence(Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "dayOfWeek", isArray: false, helpDisplayIdx: 0, max: "7", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "occurrence", isArray: false, helpDisplayIdx: 1, max: "5", min: "-5", repeatable: false, required: true, type: "int", disallowZero: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "year", isArray: false, helpDisplayIdx: 2, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "month", isArray: false, helpDisplayIdx: 3, max: "12", min: "1", repeatable: false, required: true, type: "int" }], examples: [{ input: "GetDayOfWeekOccurrence(1, 2, 2017, 4)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_0" }, { input: "GetDayOfWeekOccurrence(6, -1, 2017, 2)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_1" }, { input: "GetDayOfWeekOccurrence(6, -2, 2017, 2)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_2" }, { input: "GetDayOfWeekOccurrence(3, 5, 2017, 4)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_3" }] }, { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_DSC", identifier: "DateTime_ONE getDayOfWeekOccurrence(Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "dayOfWeek", isArray: false, helpDisplayIdx: 0, max: "7", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "occurrence", isArray: false, helpDisplayIdx: 1, max: "53", min: "-53", repeatable: false, required: true, type: "int", disallowZero: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "year", isArray: false, helpDisplayIdx: 2, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "hour", isArray: false, helpDisplayIdx: 3, max: "23", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4", identifier: "minute", isArray: false, helpDisplayIdx: 4, max: "59", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_5", identifier: "second", isArray: false, helpDisplayIdx: 5, max: "59", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "GetDayOfWeekOccurrence(6, -1, 2017, 2, 14, 30)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_0" }, { input: "GetDayOfWeekOccurrence(6, -2, 2017, 2, 5, 0)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_1" }, { input: "GetDayOfWeekOccurrence(1, 20, 2017, 2, 11, 15)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_2" }, { input: "GetDayOfWeekOccurrence(3, 53, 2017, 12, 0, 0)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_3" }] }, { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_DSC", identifier: "DateTime_ONE getDayOfWeekOccurrence(Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "dayOfWeek", isArray: false, helpDisplayIdx: 0, max: "7", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "occurrence", isArray: false, helpDisplayIdx: 1, max: "5", min: "-5", repeatable: false, required: true, type: "int", disallowZero: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "year", isArray: false, helpDisplayIdx: 2, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "month", isArray: false, helpDisplayIdx: 3, max: "12", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4", identifier: "hour", isArray: false, helpDisplayIdx: 4, max: "23", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_5", identifier: "minute", isArray: false, helpDisplayIdx: 5, max: "59", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_6", identifier: "second", isArray: false, helpDisplayIdx: 6, max: "59", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "GetDayOfWeekOccurrence(1, 2, 2017, 4, 11, 15, 0)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_0" }, { input: "GetDayOfWeekOccurrence(6, -1, 2017, 2, 14, 30, 0)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_1" }, { input: "GetDayOfWeekOccurrence(6, -2, 2017, 2, 5, 0, 0)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_2" }, { input: "GetDayOfWeekOccurrence(3, 5, 2015, 4, 12, 0, 0)", output: "AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_3" }] }] }, getMenusSupportSpeechRecognition: { identifier: "getMenusSupportSpeechRecognition", description: "AR_FN_DSC_GETMENUSSUPPORTSPEECHRECOGNITION", type: "function", name: "GetMenusSupportSpeechRecognition", category: "audio", overloads: [{ description: "AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_DSC", identifier: "Boolean_ONE getMenusSupportSpeechRecognition()", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_RV", isArray: false, type: "bln" }, parameters: [], examples: [{ input: "GetMenusSupportSpeechRecognition()", output: "false" }] }, { description: "AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_STR_DSC", identifier: "Boolean_ONE getMenusSupportSpeechRecognition(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_STR_PRM_DSC_0", identifier: "languageTag", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'GetMenusSupportSpeechRecognition("en-us")', output: "true" }, { input: "GetMenusSupportSpeechRecognition(ToString(NOT_SET))", output: "A NOT_SET Boolean" }] }], needsServerInfo: true }, weekNum: { identifier: "weekNum", description: "AR_FN_DSC_WEEKNUM", type: "function", name: "WeekNum", category: "datetime", overloads: [{ description: "AR_FN_LNG_WEEKNUM_DATE_DSC", identifier: "Long_ONE weekNum(Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_WEEKNUM_DATE_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_WEEKNUM_DATE_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }], examples: [{ input: "WeekNum(MakeDate(2017, 1, 1))", output: "1" }, { input: "WeekNum(MakeDate(2009, 12, 10))", output: "50" }, { input: "WeekNum(MakeDate(2009, 12, 31))", output: "53" }] }, { description: "AR_FN_LNG_WEEKNUM_DTM_DSC", identifier: "Long_ONE weekNum(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_WEEKNUM_DTM_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_WEEKNUM_DTM_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }], examples: [{ input: "WeekNum(MakeDateTime(2007, 1, 1, 3, 0, 0))", output: "1" }, { input: "WeekNum(MakeDateTime(2009, 12, 10, 3, 0, 0))", output: "50" }, { input: "WeekNum(MakeDateTime(2009, 12, 31, 3, 0, 0))", output: "53" }] }], needsServerInfo: true }, makeDate: { identifier: "makeDate", description: "AR_FN_DSC_MAKEDATE", type: "function", name: "MakeDate", category: "datetime", overloads: [{ description: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_DSC", identifier: "Date_ONE makeDate(Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_PRM_DSC_0", identifier: "year", isArray: false, helpDisplayIdx: 0, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_PRM_DSC_1", identifier: "month", isArray: false, helpDisplayIdx: 1, max: "12", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_PRM_DSC_2", identifier: "day", isArray: false, helpDisplayIdx: 2, max: "31", min: "1", repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeDate(2014, 5, 20)", output: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_EX_OUT_0" }, { input: "MakeDate(2018, 1, 1)", output: "AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_EX_OUT_1" }] }], needsServerInfo: true }, makeDateTime: { identifier: "makeDateTime", description: "AR_FN_DSC_MAKEDATETIME", type: "function", name: "MakeDateTime", category: "datetime", overloads: [{ description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_DSC", identifier: "DateTime_ONE makeDateTime(Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "year", isArray: false, helpDisplayIdx: 0, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "month", isArray: false, helpDisplayIdx: 1, max: "12", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "day", isArray: false, helpDisplayIdx: 2, max: "31", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "hour", isArray: false, helpDisplayIdx: 3, max: "23", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4", identifier: "minute", isArray: false, helpDisplayIdx: 4, max: "59", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_5", identifier: "second", isArray: false, helpDisplayIdx: 5, max: "59", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeDateTime(2009, 3, 20, 12, 00, 00)", output: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_0" }] }, { description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_DSC", identifier: "DateTime_ONE makeDateTime(Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_PRM_DSC_0", identifier: "year", isArray: false, helpDisplayIdx: 0, max: "2200", min: "1800", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_PRM_DSC_1", identifier: "month", isArray: false, helpDisplayIdx: 1, max: "12", min: "1", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_PRM_DSC_2", identifier: "day", isArray: false, helpDisplayIdx: 2, max: "31", min: "1", repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeDateTime(2009, 3, 20)", output: "AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_EX_OUT_0" }] }, { description: "AR_FN_DTM_MAKEDATETIME_DATE_TIME_DSC", identifier: "DateTime_ONE makeDateTime(Date_ONE,Time_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_DTM_MAKEDATETIME_DATE_TIME_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_DATE_TIME_PRM_DSC_0", identifier: "date", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dat" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_MAKEDATETIME_DATE_TIME_PRM_DSC_1", identifier: "time", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "tim" }], examples: [{ input: "MakeDateTime(MakeDate(2009, 3, 20), MakeTime(3, 30, 0))", output: "A DateTime whose value is March 20th, 2009 at 03:30:00AM." }, { input: "MakeDateTime(MakeDate(2018, 1, 1), ToTime(NOT_SET))", output: "A DateTime whose value is January 1st, 2018 at 12:00:00AM." }, { input: "MakeDateTime(ToDate(NOT_SET), MakeTime(15, 0, 0))", output: "A DateTime whose value is January 1st, 1970 at 03:00:00PM." }] }], needsServerInfo: true }, makeDuration: { identifier: "makeDuration", description: "AR_FN_DSC_MAKEDURATION", type: "function", name: "MakeDuration", category: "datetime", overloads: [{ description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_DSC", identifier: "Duration_ONE makeDuration(Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "day", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "hour", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "minute", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "second", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeDuration(10, 0, 30, 0)", output: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_EX_OUT_0" }, { input: "MakeDuration(-10, 0, 30, 0)", output: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_EX_OUT_1" }, { input: "MakeDuration(-10, 0, -30, 0)", output: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_EX_OUT_2" }] }, { description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_DSC", identifier: "Duration_ONE makeDuration(Long_ONE,Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "day", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "hour", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "minute", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "second", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4", identifier: "milliseconds", isArray: false, helpDisplayIdx: 4, repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeDuration(10, 0, 30, 0, 0)", output: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_EX_OUT_0" }, { input: "MakeDuration(-10, 0, 30, 10, 500)", output: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_EX_OUT_1" }, { input: "MakeDuration(-10, 0, -30, 0, 0)", output: "AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_EX_OUT_2" }] }] }, makeTime: { identifier: "makeTime", description: "AR_FN_DSC_MAKETIME", type: "function", name: "MakeTime", category: "datetime", overloads: [{ description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_DSC", identifier: "Time_ONE makeTime(Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_PRM_DSC_0", identifier: "hour", isArray: false, helpDisplayIdx: 0, max: "23", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_PRM_DSC_1", identifier: "minute", isArray: false, helpDisplayIdx: 1, max: "59", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_PRM_DSC_2", identifier: "second", isArray: false, helpDisplayIdx: 2, max: "59", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeTime(12, 5, 0)", output: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_EX_OUT_0" }] }, { description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_DSC", identifier: "Time_ONE makeTime(Long_ONE,Long_ONE,Long_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_0", identifier: "hour", isArray: false, helpDisplayIdx: 0, max: "23", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_1", identifier: "minute", isArray: false, helpDisplayIdx: 1, max: "59", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_2", identifier: "second", isArray: false, helpDisplayIdx: 2, max: "59", min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_3", identifier: "milliseconds", isArray: false, helpDisplayIdx: 3, max: "999", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "MakeTime(2, 30, 10, 0)", output: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_EX_OUT_0" }, { input: "MakeTime(12, 0, 10, 200)", output: "AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_EX_OUT_1" }] }], needsServerInfo: true }, addDays: { identifier: "addDays", description: "AR_FN_DSC_ADDDAYS", type: "function", name: "AddDays", category: "datetime", overloads: [{ description: "AR_FN_DTM_ADDDAYS_DTM_LNG_DSC", identifier: "DateTime_ONE addDays(DateTime_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDDAYS_DTM_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDDAYS_DTM_LNG_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDDAYS_DTM_LNG_PRM_DSC_1", identifier: "days", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddDays(MakeDateTime(2009, 3, 2, 12, 00, 00), 5)", output: "AR_FN_DTM_ADDDAYS_DTM_LNG_EX_OUT_0" }] }, { description: "AR_FN_DATE_ADDDAYS_DATE_LNG_DSC", identifier: "Date_ONE addDays(Date_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_ADDDAYS_DATE_LNG_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDDAYS_DATE_LNG_PRM_DSC_0", identifier: "startDate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDDAYS_DATE_LNG_PRM_DSC_1", identifier: "days", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddDays(MakeDate(2009, 3, 2), 5)", output: "AR_FN_DATE_ADDDAYS_DATE_LNG_EX_OUT_0" }] }], needsServerInfo: true }, addDuration: { identifier: "addDuration", description: "AR_FN_DSC_ADDDURATION", type: "function", name: "AddDuration", category: "datetime", overloads: [{ description: "AR_FN_DATE_ADDDURATION_DATE_DUR_DSC", identifier: "Date_ONE addDuration(Date_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_ADDDURATION_DATE_DUR_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDDURATION_DATE_DUR_PRM_DSC_0", identifier: "startDate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDDURATION_DATE_DUR_PRM_DSC_1", identifier: "durationDaysToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "AddDuration(MakeDate(2009, 1, 10), MakeDuration(10, 0, 30, 0))", output: "AR_FN_DATE_ADDDURATION_DATE_DUR_EX_OUT_0" }, { input: "AddDuration(MakeDate(2020, 2, 28), MakeDuration(3, 0, 0, 0))", output: "AR_FN_DATE_ADDDURATION_DATE_DUR_EX_OUT_1" }, { input: "AddDuration(MakeDate(2020, 1, 2), MakeDuration(-3, -4, 0, 0))", output: "AR_FN_DATE_ADDDURATION_DATE_DUR_EX_OUT_2" }] }, { description: "AR_FN_DTM_ADDDURATION_DTM_DUR_DSC", identifier: "DateTime_ONE addDuration(DateTime_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDDURATION_DTM_DUR_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDDURATION_DTM_DUR_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDDURATION_DTM_DUR_PRM_DSC_1", identifier: "durationToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "AddDuration(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDuration(10, 0, 30, 0))", output: "AR_FN_DTM_ADDDURATION_DTM_DUR_EX_OUT_0" }] }, { description: "AR_FN_TIME_ADDDURATION_TIME_DUR_DSC", identifier: "Time_ONE addDuration(Time_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_ADDDURATION_TIME_DUR_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDDURATION_TIME_DUR_PRM_DSC_0", identifier: "startTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDDURATION_TIME_DUR_PRM_DSC_1", identifier: "durationToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "AddDuration(MakeTime(22, 0, 0), MakeDuration(2, 3, 30, 0))", output: "A Time whose value is 01:30:00AM." }, { input: "AddDuration(MakeTime(12, 30, 0), MakeDuration(-1, 3, 30, 0))", output: "A Time whose value is 04:00:00PM." }, { input: "AddDuration(MakeTime(12, 30, 0), MakeDuration(-1, -3, -30, 0))", output: "A Time whose value is 09:00:00AM." }] }], needsServerInfo: true }, addMonths: { identifier: "addMonths", description: "AR_FN_DSC_ADDMONTHS", type: "function", name: "AddMonths", category: "datetime", overloads: [{ description: "AR_FN_DTM_ADDMONTHS_DTM_LNG_DSC", identifier: "DateTime_ONE addMonths(DateTime_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDMONTHS_DTM_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDMONTHS_DTM_LNG_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDMONTHS_DTM_LNG_PRM_DSC_1", identifier: "monthsToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddMonths(MakeDateTime(2009, 1, 10, 6, 30, 0), 3)", output: "AR_FN_DTM_ADDMONTHS_DTM_LNG_EX_OUT_0" }, { input: "AddMonths(MakeDateTime(2009, 1, 31, 6, 30, 0), 1)", output: "AR_FN_DTM_ADDMONTHS_DTM_LNG_EX_OUT_1" }] }, { description: "AR_FN_DATE_ADDMONTHS_DATE_LNG_DSC", identifier: "Date_ONE addMonths(Date_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_ADDMONTHS_DATE_LNG_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDMONTHS_DATE_LNG_PRM_DSC_0", identifier: "startDate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDMONTHS_DATE_LNG_PRM_DSC_1", identifier: "monthsToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddMonths(MakeDate(2009, 1, 10), 3)", output: "AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_0" }, { input: "AddMonths(MakeDate(2008, 1, 29), 1)", output: "AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_1" }, { input: "AddMonths(MakeDate(2009, 1, 29), 1)", output: "AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_2" }, { input: "AddMonths(MakeDate(2020, 3, 1), -2)", output: "AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_3" }] }], needsServerInfo: true }, addYears: { identifier: "addYears", description: "AR_FN_DSC_ADDYEARS", type: "function", name: "AddYears", category: "datetime", overloads: [{ description: "AR_FN_DTM_ADDYEARS_DTM_LNG_DSC", identifier: "DateTime_ONE addYears(DateTime_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDYEARS_DTM_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDYEARS_DTM_LNG_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDYEARS_DTM_LNG_PRM_DSC_1", identifier: "yearsToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddYears(MakeDateTime(2009, 1, 10, 6, 30, 0), 3)", output: "AR_FN_DTM_ADDYEARS_DTM_LNG_EX_OUT_0" }] }, { description: "AR_FN_DATE_ADDYEARS_DATE_LNG_DSC", identifier: "Date_ONE addYears(Date_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_ADDYEARS_DATE_LNG_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDYEARS_DATE_LNG_PRM_DSC_0", identifier: "startDate", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DATE_ADDYEARS_DATE_LNG_PRM_DSC_1", identifier: "yearsToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddYears(MakeDate(2012, 1, 10), 3)", output: "AR_FN_DATE_ADDYEARS_DATE_LNG_EX_OUT_0" }, { input: "AddYears(MakeDate(2012, 1, 10), 0)", output: "AR_FN_DATE_ADDYEARS_DATE_LNG_EX_OUT_1" }, { input: "AddYears(MakeDate(2012, 1, 10), -3)", output: "AR_FN_DATE_ADDYEARS_DATE_LNG_EX_OUT_2" }] }], needsServerInfo: true }, addHours: { identifier: "addHours", description: "AR_FN_DSC_ADDHOURS", type: "function", name: "AddHours", category: "datetime", overloads: [{ description: "AR_FN_DTM_ADDHOURS_DTM_LNG_DSC", identifier: "DateTime_ONE addHours(DateTime_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDHOURS_DTM_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDHOURS_DTM_LNG_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDHOURS_DTM_LNG_PRM_DSC_1", identifier: "hoursToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddHours(MakeDateTime(2009, 1, 10, 6, 30, 0), 3)", output: "AR_FN_DTM_ADDHOURS_DTM_LNG_EX_OUT_0" }] }, { description: "AR_FN_TIME_ADDHOURS_TIME_LNG_DSC", identifier: "Time_ONE addHours(Time_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_ADDHOURS_TIME_LNG_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDHOURS_TIME_LNG_PRM_DSC_0", identifier: "startTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDHOURS_TIME_LNG_PRM_DSC_1", identifier: "hoursToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddHours(MakeTime(6, 30, 0), 3)", output: "AR_FN_TIME_ADDHOURS_TIME_LNG_EX_OUT_0" }, { input: "AddHours(MakeTime(6, 30, 0, 500), -9)", output: "AR_FN_TIME_ADDHOURS_TIME_LNG_EX_OUT_1" }, { input: "AddHours(MakeTime(0, 0, 0), 36)", output: "AR_FN_TIME_ADDHOURS_TIME_LNG_EX_OUT_2" }] }], needsServerInfo: true }, addMinutes: { identifier: "addMinutes", description: "AR_FN_DSC_ADDMINUTES", type: "function", name: "AddMinutes", category: "datetime", overloads: [{ description: "AR_FN_DTM_ADDMINUTES_DTM_LNG_DSC", identifier: "DateTime_ONE addMinutes(DateTime_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDMINUTES_DTM_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDMINUTES_DTM_LNG_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDMINUTES_DTM_LNG_PRM_DSC_1", identifier: "minutesToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddMinutes(MakeDateTime(2009, 1, 10, 6, 30, 0), 3)", output: "AR_FN_DTM_ADDMINUTES_DTM_LNG_EX_OUT_0" }] }, { description: "AR_FN_TIME_ADDMINUTES_TIME_LNG_DSC", identifier: "Time_ONE addMinutes(Time_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_ADDMINUTES_TIME_LNG_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDMINUTES_TIME_LNG_PRM_DSC_0", identifier: "startTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDMINUTES_TIME_LNG_PRM_DSC_1", identifier: "minutesToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddMinutes(MakeTime(6, 30, 0), 150)", output: "AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_0" }, { input: "AddMinutes(MakeTime(6, 30, 0, 500), -600)", output: "AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_1" }, { input: "AddMinutes(MakeTime(0, 0, 0), -1440)", output: "AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_2" }, { input: "AddMinutes(MakeTime(0, 0, 0), -1410)", output: "AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_3" }] }], needsServerInfo: true }, addSeconds: { identifier: "addSeconds", description: "AR_FN_DSC_ADDSECONDS", type: "function", name: "AddSeconds", category: "datetime", overloads: [{ description: "AR_FN_DTM_ADDSECONDS_DTM_LNG_DSC", identifier: "DateTime_ONE addSeconds(DateTime_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_ADDSECONDS_DTM_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDSECONDS_DTM_LNG_PRM_DSC_0", identifier: "startDateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DTM_ADDSECONDS_DTM_LNG_PRM_DSC_1", identifier: "secondsToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddSeconds(MakeDateTime(2009, 1, 10, 6, 30, 0), 3)", output: "AR_FN_DTM_ADDSECONDS_DTM_LNG_EX_OUT_0" }] }, { description: "AR_FN_TIME_ADDSECONDS_TIME_LNG_DSC", identifier: "Time_ONE addSeconds(Time_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_ADDSECONDS_TIME_LNG_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDSECONDS_TIME_LNG_PRM_DSC_0", identifier: "startTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIME_ADDSECONDS_TIME_LNG_PRM_DSC_1", identifier: "secondsToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }], examples: [{ input: "AddSeconds(MakeTime(0, 30, 0), 330)", output: "AR_FN_TIME_ADDSECONDS_TIME_LNG_EX_OUT_0" }, { input: "AddSeconds(MakeTime(0, 30, 0), -3600)", output: "AR_FN_TIME_ADDSECONDS_TIME_LNG_EX_OUT_1" }, { input: "AddSeconds(MakeTime(6, 30, 0, 500), 86400)", output: "AR_FN_TIME_ADDSECONDS_TIME_LNG_EX_OUT_2" }] }], needsServerInfo: true }, logicalIf: { identifier: "logicalIf", description: "AR_FN_DSC_LOGICALIF", type: "function", name: "If", category: "logical", overloads: [{ description: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_DSC", identifier: "Any_ONE logicalIf(Boolean_ONE,Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "If" }, returnValue: { description: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_PRM_DSC_0", identifier: "condition", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_PRM_DSC_1", identifier: "trueValue", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_PRM_DSC_2", identifier: "falseValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: "If(5>3, true, false)", output: "true" }, { input: 'If(5>3, "hello", "world")', output: '"hello"' }, { input: "If(5>3, 100, 200)", output: "100" }, { input: "If(5>3, 100.5, 200.0)", output: "100.5" }, { input: 'If(MakeCurrency(5.00, "USD") > MakeCurrency(2.00, "USD"), MakeCurrency(10.00, "USD"), ToCurrency(NOT_SET))', output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_4" }, { input: "If(5>3, MakeDateTime(2009, 5, 5, 10, 30, 0), MakeDateTime(2005, 1, 1, 0, 0, 0))", output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_5" }, { input: "If(5>3, MakeDuration(0, 1, 0, 0), MakeDuration(2, 0, 0, 0))", output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_6" }, { input: 'If(5>3, ToUser("john.doe@company.com"), ToUser("mary.doe@company.com"))', output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_7", hidden: "true" }, { input: 'If(5>3, ToSkill("Spanish"), ToSkill("German"))', output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_8", hidden: "true" }, { input: "If(3<5, MakeDate(2010, 6, 1), MakeDate(2015, 6, 1))", output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_9", featureConfigName: "botFlows" }, { input: "If(3<5, MakeTime(12, 0, 0), MakeTime(2, 30, 0))", output: "AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_10", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_DSC", identifier: "Any_COLL logicalIf(Boolean_ONE,Any_COLL,Any_COLL)", support: { version: "1.0", resolver: "If" }, returnValue: { description: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_PRM_DSC_0", identifier: "condition", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_PRM_DSC_1", identifier: "trueValue", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_PRM_DSC_2", identifier: "falseValue", isArray: true, helpDisplayIdx: 2, repeatable: false, required: true, type: "any" }], examples: [{ input: 'If(MakeCurrency(5.00, "USD") > MakeCurrency(2.00, "USD"), MakeList(MakeCurrency(10.00, "USD")), MakeList(ToCurrency(NOT_SET)))', output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_0" }, { input: "If(5>3, MakeList(true), MakeList(false))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_1" }, { input: 'If(5>3, MakeList("hello"), MakeList("world"))', output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_2" }, { input: "If(5>3, MakeList(100), MakeList(200))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_3" }, { input: "If(5>3, MakeList(100.5), MakeList(200.0))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_4" }, { input: "If(5>3, MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0)), MakeList(MakeDateTime(2005, 1, 1, 0, 0, 0)))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_5" }, { input: "If(5>3, MakeList(MakeDuration(0, 1, 0, 0)), MakeList(MakeDuration(2, 0, 0, 0)))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_6" }, { input: 'If(5>3, MakeList(ToUser("john.doe@company.com")), MakeList(ToUser("mary.doe@company.com")))', output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_7", hidden: "true" }, { input: 'If(5>3, MakeList(ToSkill("Spanish")), MakeList(ToSkill("German")))', output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_8", hidden: "true" }, { input: "If(5>3, MakeList(ToSkill(NOT_SET)), MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET)))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_9" }, { input: "If(3<5, MakeList(MakeDate(2010, 6, 1)), MakeList(MakeDate(2015, 6, 1)))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_10", featureConfigName: "botFlows" }, { input: "If(3<5, MakeList(MakeTime(12, 0, 0)), MakeList(MakeTime(2, 30, 0)))", output: "AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_11", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_DSC", identifier: "Audio_ONE logicalIf(Boolean_ONE,Audio_ONE,Audio_ONE)", support: { version: "1.0", resolver: "If" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_PRM_DSC_0", identifier: "condition", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_PRM_DSC_1", identifier: "trueValueAudio", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "aud" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_PRM_DSC_2", identifier: "falseValueAudio", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "aud" }], examples: [{ input: 'If(5>3, ToAudioTTS("Hello"), ToAudioTTS("World"))', output: "AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_EX_OUT_0" }] }] }, areEqual: { identifier: "areEqual", description: "AR_FN_DSC_AREEQUAL", type: "function", name: "AreEqual", category: "comparison", overloads: [{ description: "AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_DSC", identifier: "Boolean_ONE areEqual(Any_ONE,Any_ONE...)", support: { version: "1.0", resolver: "n-SameTypeParmNotSetToString" }, returnValue: { description: "AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_PRM_DSC_0", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_PRM_DSC_1", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 1, repeatable: true, required: false, type: "any" }], examples: [{ input: "AreEqual(true, false, ToBool(NOT_SET))", output: "false" }, { input: "AreEqual(5>3, true)", output: "true" }, { input: 'AreEqual("Hello", "Hel" + "lo")', output: "true" }, { input: 'AreEqual(MakeCurrency(5.00, "USD"), MakeCurrency(2.00, "USD"))', output: "false" }, { input: 'AreEqual(MakeCurrency(5.00, "USD"), MakeCurrency(5.00, "EUR"))', output: "false" }, { input: "AreEqual(ToString(NOT_SET), ToString(NOT_SET))", output: "true" }, { input: "AreEqual(100+5, 105, 110)", output: "false" }, { input: "AreEqual(105, 105)", output: "true" }, { input: "AreEqual(100.5, 120.0, 125.5)", output: "false" }, { input: "AreEqual(100.5, 100.5, 100.5)", output: "true" }, { input: "AreEqual(MakeDateTime(2009, 3, 20, 14, 0, 0), MakeDateTime(2009, 3, 20, 12, 0, 0))", output: "false" }, { input: "AreEqual(MakeDateTime(2009, 3, 20, 14, 0, 0), MakeDateTime(2009, 3, 20, 14, 0, 0))", output: "true" }, { input: "AreEqual(MakeDuration(0, 1, 0, 0), MakeDuration(2, 0, 0, 0))", output: "false" }, { input: "AreEqual(MakeDuration(2, 0, 0, 0), MakeDuration(2, 0, 0, 0))", output: "true" }, { input: 'AreEqual(ToUser("john.doe@company.com"), ToUser("Doe, Jane"))', output: "false", hidden: "true" }, { input: 'AreEqual(ToUser("john.doe@company.com"), ToUser("john.doe@company.com"))', output: "true", hidden: "true" }, { input: 'AreEqual(ToSkill("Spanish"), ToSkill("German"))', output: "false", hidden: "true" }, { input: 'AreEqual(ToSkill("Spanish"), ToSkill("Spanish"))', output: "true", hidden: "true" }, { input: "AreEqual(NOT_SET, NOT_SET)", output: "true" }, { input: "AreEqual(ToUser(NOT_SET), ToUser(NOT_SET))", output: "true" }, { input: "AreEqual(ToSkill(NOT_SET), ToSkill(NOT_SET))", output: "true" }, { input: 'AreEqual(MakeEmptyJsonObject(), JsonParse("{}"))', output: "true", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_DSC", identifier: "Boolean_ONE areEqual(Any_COLL,Any_COLL)", support: { version: "1.0", resolver: "SameType" }, returnValue: { description: "AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_PRM_DSC_0", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_PRM_DSC_1", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "any" }], examples: [{ input: "AreEqual(MakeList(true, false), MakeList(true, false))", output: "true" }, { input: "AreEqual(MakeList(true, ToBool(NOT_SET), false), MakeList(true, false, ToBool(NOT_SET)))", output: "false" }, { input: "AreEqual(MakeList(true, ToBool(NOT_SET), false), MakeList(true, ToBool(NOT_SET), false))", output: "true" }, { input: "AreEqual(MakeList(true), MakeEmptyList(ToBool(NOT_SET)))", output: "false" }, { input: 'AreEqual(MakeList(MakeCurrency(5.00, "USD")), MakeList(MakeCurrency(5.00, "USD")))', output: "true" }, { input: 'AreEqual(MakeList(MakeCurrency(5.00, "USD")), MakeList(MakeCurrency(5.00, "EUR")))', output: "false" }, { input: 'AreEqual(MakeList("hello"), MakeList("world"))', output: "false" }, { input: 'AreEqual(MakeList("hello"), MakeList("Hello"))', output: "false" }, { input: 'AreEqual(MakeList("hello"), MakeList("hello"))', output: "true" }, { input: 'AreEqual(MakeList("hello"), MakeEmptyList(ToString(NOT_SET)))', output: "false" }, { input: "AreEqual(MakeList(5, 3, 1), MakeList(1, 3, 5))", output: "false" }, { input: "AreEqual(MakeList(5, ToInt(NOT_SET), 1), MakeList(5, 3, 1))", output: "false" }, { input: "AreEqual(MakeList(5, ToInt(NOT_SET), 1), MakeList(5, ToInt(NOT_SET), 1))", output: "true" }, { input: "AreEqual(MakeList(1), MakeEmptyList(ToInt(NOT_SET)))", output: "false" }, { input: "AreEqual(MakeList(5.0, 3.0, 1.0), MakeList(1.0, 3.0, 5.0))", output: "false" }, { input: "AreEqual(MakeList(5.0, ToDecimal(NOT_SET), 1.0), MakeList(5.0, 3.0, 1.0))", output: "false" }, { input: "AreEqual(MakeList(5.0, ToDecimal(NOT_SET), 1.0), MakeList(5.0, ToDecimal(NOT_SET), 1.0))", output: "true" }, { input: "AreEqual(MakeList(1.0), MakeEmptyList(ToDecimal(NOT_SET)))", output: "false" }, { input: "AreEqual(MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), MakeDateTime(2009, 5, 5, 11, 30, 0)), MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), MakeDateTime(2009, 5, 5, 11, 30, 0)))", output: "true" }, { input: "AreEqual(MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), ToDateTime(NOT_SET)), MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), ToDateTime(NOT_SET)))", output: "true" }, { input: "AreEqual(MakeList(ToDateTime(NOT_SET)), MakeEmptyList(ToDateTime(NOT_SET)))", output: "false" }, { input: "AreEqual(MakeList(MakeDuration(10, 0, 30, 0), MakeDuration(0, 0, 30, 30)), MakeList(MakeDuration(10, 0, 30, 0), MakeDuration(0, 0, 30, 30)))", output: "true" }, { input: "AreEqual(MakeList(MakeDuration(10, 0, 30, 0), MakeDuration(0, 0, 30, 30)), MakeList(MakeDuration(10, 0, 30, 0), ToDuration(NOT_SET)))", output: "false" }, { input: "AreEqual(MakeList(ToDuration(NOT_SET)), MakeEmptyList(ToDuration(NOT_SET)))", output: "false" }, { input: 'AreEqual(MakeList(ToUser("john.doe@company.com"), ToUser("mary.doe@company.com")), MakeList(ToUser("john.doe@company.com"), ToUser("mary.doe@company.com")))', output: "true", hidden: "true" }, { input: 'AreEqual(MakeList(ToUser("john.doe@company.com"), ToUser(NOT_SET)), MakeList(ToUser("john.doe@company.com"), ToUser(NOT_SET)))', output: "true", hidden: "true" }, { input: "AreEqual(MakeList(ToUser(NOT_SET)), MakeEmptyList(ToUser(NOT_SET)))", output: "false" }, { input: 'AreEqual(MakeList(ToSkill("Spanish"), ToSkill("German")), MakeList(ToSkill("Spanish"), ToSkill("German")))', output: "true", hidden: "true" }, { input: 'AreEqual(MakeList(ToSkill("Spanish"), ToSkill(NOT_SET)), MakeList(ToSkill("Spanish"), ToSkill(NOT_SET)))', output: "true", hidden: "true" }, { input: "AreEqual(MakeList(ToSkill(NOT_SET)), MakeEmptyList(ToSkill(NOT_SET)))", output: "false" }, { input: "AreEqual(MakeList(ToUser(NOT_SET), ToUser(NOT_SET)), MakeList(ToUser(NOT_SET), ToUser(NOT_SET)))", output: "true", hidden: "true" }, { input: "AreEqual(MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET)), MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET)))", output: "true", hidden: "true" }] }, { description: "AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_DSC", identifier: "Boolean_ONE areEqual(Boolean_ONE,String_ONE,String_ONE...)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_PRM_DSC_0", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "bln" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_PRM_DSC_1", identifier: "valueToCompare", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_PRM_DSC_2", identifier: "valueToCompareTo", isArray: false, helpDisplayIdx: 2, repeatable: true, required: false, type: "str" }], examples: [{ input: 'AreEqual(false, "Hello", "hel" + "lo")', output: "false" }, { input: 'AreEqual(true, "Hello", "hel" + "lo", "hello")', output: "true" }, { input: "AreEqual(false, ToString(NOT_SET), ToString(NOT_SET))", output: "true" }] }, { description: "AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_DSC", identifier: "Boolean_ONE areEqual(Boolean_ONE,String_COLL,String_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_PRM_DSC_0", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_PRM_DSC_1", identifier: "valueToCompare", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_PRM_DSC_2", identifier: "valueToCompareTo", isArray: true, helpDisplayIdx: 2, repeatable: false, required: true, type: "str" }], examples: [{ input: 'AreEqual(false, MakeList("hello"), MakeList("world"))', output: "false" }, { input: 'AreEqual(false, MakeList("hello"), MakeList("Hello"))', output: "false" }, { input: 'AreEqual(true, MakeList("hello"), MakeList("Hello"))', output: "true" }, { input: 'AreEqual(false, MakeList("hello"), MakeList("hello"))', output: "true" }, { input: 'AreEqual(false, MakeList("hello"), MakeEmptyList(ToString(NOT_SET)))', output: "false" }] }] }, isSkillExpressionFilterValid: { identifier: "isSkillExpressionFilterValid", description: "AR_FN_DSC_ISSKILLEXPRESSIONFILTERVALID", type: "function", name: "IsSkillExpressionFilterValid", category: "logical", overloads: [{ description: "AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_DSC", identifier: "Boolean_ONE isSkillExpressionFilterValid(SkillExpressionFilter_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", emailsend: "emailsend", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage" }, featureConfigName: "routingSkillExpressionsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_PRM_DSC_0", identifier: "skillExpressionFilter", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn__architect::skill_expression_filter" }], examples: [{ input: 'IsSkillExpressionFilterValid(EvaluateSkillExpressionFilter("((Skill(\\"iPhone\\")>1 | (Skill(\\"CarPlay\\")=10)) & LanguageSkill(\\"Spanish\\") > 0)"))', output: "AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_EX_OUT_0" }, { input: "IsSkillExpressionFilterValid(NOT_SET)", output: "AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_EX_OUT_1" }] }], needsServerInfo: true }, areSkillExpressionFiltersValid: { identifier: "areSkillExpressionFiltersValid", description: "AR_FN_DSC_ARESKILLEXPRESSIONFILTERSVALID", type: "function", name: "AreSkillExpressionFiltersValid", category: "search", overloads: [{ description: "AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_DSC", identifier: "Boolean_ONE areSkillExpressionFiltersValid(SkillExpressionFilter_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule", emailsend: "emailsend", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage" }, featureConfigName: "routingSkillExpressionsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_PRM_DSC_0", identifier: "skillExpressionFilters", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn__architect::skill_expression_filter" }], examples: [{ input: 'AreSkillExpressionFiltersValid(MakeList(EvaluateSkillExpressionFilter("((Skill(\\"iPhone\\")>1 | (Skill(\\"CarPlay\\")=10)) & LanguageSkill(\\"Spanish\\") > 0)")))', output: "AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_EX_OUT_0" }, { input: 'AreSkillExpressionFiltersValid(MakeEmptyList(EvaluateSkillExpressionFilter("((Skill(\\"iPhone\\")>1 | (Skill(\\"CarPlay\\")=10)) & LanguageSkill(\\"Spanish\\") > 0)")))', output: "AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_EX_OUT_1" }] }], needsServerInfo: true }, isSet: { identifier: "isSet", description: "AR_FN_DSC_ISSET", type: "function", name: "IsSet", category: "logical", overloads: [{ description: "AR_FN_BLN_ISSET_ANY_DSC", identifier: "Boolean_ONE isSet(Any_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_ISSET_ANY_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_ISSET_ANY_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "IsSet(true)", output: "true" }, { input: "IsSet(false)", output: "true" }, { input: "IsSet(ToBool(NOT_SET))", output: "false" }, { input: 'IsSet("Hello")', output: "true" }, { input: 'IsSet("")', output: "true" }, { input: "IsSet(ToString(NOT_SET))", output: "false" }, { input: "IsSet(100)", output: "true" }, { input: "IsSet(ToInt(NOT_SET))", output: "false" }, { input: "IsSet(100.5)", output: "true" }, { input: "IsSet(ToDecimal(NOT_SET))", output: "false" }, { input: "IsSet(ToCurrency(NOT_SET))", output: "false" }, { input: "IsSet(MakeCurrency(5.00, ToString(NOT_SET)))", output: "true" }, { input: 'IsSet(MakeCurrency(ToDecimal(NOT_SET), "USD"))', output: "true" }, { input: "IsSet(MakeCurrency(ToDecimal(NOT_SET), ToString(NOT_SET)))", output: "true" }, { input: 'IsSet(MakeCurrency(5.00, "USD"))', output: "true" }, { input: "IsSet(MakeDate(2018, 12, 4))", output: "true", featureConfigName: "botFlows" }, { input: "IsSet(ToDate(NOT_SET))", output: "false", featureConfigName: "botFlows" }, { input: "IsSet(MakeTime(1, 30, 0))", output: "true", featureConfigName: "botFlows" }, { input: "IsSet(ToTime(NOT_SET))", output: "false", featureConfigName: "botFlows" }, { input: "IsSet(JsonParse(NOT_SET))", output: "false", featureConfigName: "encryptDecryptDataFeature" }, { input: "IsSet(ToJson(NOT_SET))", output: "false", featureConfigName: "encryptDecryptDataFeature" }, { input: 'IsSet(JsonParse("null"))', output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: 'IsSet(JsonParse("true"))', output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: "IsSet(MakeEmptyJsonObject())", output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: 'IsSet(JsonParse("{\\"a\\": false}"))', output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: 'IsSet(ToJson(""))', output: "true", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_BLN_ISSET_AUDIO_DSC", identifier: "Boolean_ONE isSet(Audio_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISSET_AUDIO_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_ISSET_AUDIO_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "aud" }], examples: [{ input: 'IsSet(ToAudioTTS("Hello"))', output: "true" }, { input: "IsSet(ToAudioBlank(2000))", output: "true" }, { input: "IsSet(ToAudio(ToPrompt(NOT_SET)))", output: "false" }] }, { description: "AR_FN_BLN_ISSET_NTS_DSC", identifier: "Boolean_ONE isSet(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_BLN_ISSET_NTS_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_ISSET_NTS_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "IsSet(NOT_SET)", output: "false" }] }], needsServerInfo: true }, getAt: { identifier: "getAt", description: "AR_FN_DSC_GETAT", type: "function", name: "GetAt", category: "list", overloads: [{ description: "AR_FN_ANY_GETAT_ANY_COLL_LNG_DSC", identifier: "Any_ONE getAt(Any_COLL,Long_ONE)", support: { version: "1.0", resolver: "GetAt" }, returnValue: { description: "AR_FN_ANY_GETAT_ANY_COLL_LNG_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_GETAT_ANY_COLL_LNG_PRM_DSC_0", identifier: "collection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_GETAT_ANY_COLL_LNG_PRM_DSC_1", identifier: "index", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: "GetAt(MakeList(true, false), 0)", output: "true" }, { input: 'GetAt(MakeList("Hello", "World"), 0)', output: '"Hello"' }, { input: "GetAt(MakeList(100, 200), 0)", output: "100" }, { input: "GetAt(MakeList(100.5, 200.5), 0)", output: "100.5" }, { input: 'GetAt(MakeList(MakeCurrency(5.00, "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD")), 1)', output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_4" }, { input: "GetAt(MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), MakeDateTime(2005, 1, 1, 0, 0, 0)), 0)", output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_5" }, { input: "GetAt(MakeList(MakeDuration(10, 0, 30, 0), MakeDuration(0, 0, 30, 30)), 0)", output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_6" }, { input: 'GetAt(MakeList(ToSkill("Spanish"), ToSkill("German")), 0)', output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_7", hidden: "true" }, { input: 'GetAt(MakeList(ToUser("john.doe@company.com"), ToUser("mary.doe@company.com")), 0)', output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_8", hidden: "true" }, { input: "GetAt(MakeList(ToSkill(NOT_SET)), 0)", output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_9" }, { input: "GetAt(MakeList(MakeDate(2015, 1, 10), MakeDate(2018, 2, 14)), 0)", output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_10", featureConfigName: "botFlows" }, { input: "GetAt(MakeList(MakeTime(4, 30, 0), MakeTime(14, 15, 0)), 1)", output: "AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_11", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_JSON_GETAT_JSON_LNG_DSC", identifier: "JSON_ONE getAt(JSON_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_GETAT_JSON_LNG_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_GETAT_JSON_LNG_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_GETAT_JSON_LNG_PRM_DSC_1", identifier: "index", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'GetAt(JsonParse( "[\\"a\\", \\"b\\", \\"c\\"]" ), 1)', output: "AR_FN_JSON_GETAT_JSON_LNG_EX_OUT_0" }, { input: 'GetAt(JsonParse("\\"Hello\\""), 2)', output: "AR_FN_JSON_GETAT_JSON_LNG_EX_OUT_1" }] }], needsServerInfo: true }, count: { identifier: "count", description: "AR_FN_DSC_COUNT", type: "function", name: "Count", category: "list", overloads: [{ description: "AR_FN_LNG_COUNT_ANY_COLL_DSC", identifier: "Long_ONE count(Any_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_COUNT_ANY_COLL_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_COUNT_ANY_COLL_PRM_DSC_0", identifier: "value", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "Count(MakeList(true, false))", output: "2" }, { input: "Count(MakeList(true, ToBool(NOT_SET)))", output: "2" }, { input: "Count(MakeList(ToBool(NOT_SET)))", output: "1" }, { input: 'Count(MakeList(MakeCurrency(5.00, "EUR"), MakeCurrency(ToDecimal(NOT_SET), "USD")))', output: "2" }, { input: 'Count(MakeList("hello", "world"))', output: "2" }, { input: 'Count(MakeList("hello", ToString(NOT_SET)))', output: "2" }, { input: "Count(MakeList(ToString(NOT_SET)))", output: "1" }, { input: "Count(MakeList(5, 3))", output: "2" }, { input: "Count(MakeList(5, ToInt(NOT_SET)))", output: "2" }, { input: "Count(MakeList(ToInt(NOT_SET)))", output: "1" }, { input: "Count(MakeList(3.5, -2.2))", output: "2" }, { input: "Count(MakeList(3.5, ToDecimal(NOT_SET)))", output: "2" }, { input: "Count(MakeList(ToDecimal(NOT_SET)))", output: "1" }, { input: "Count(MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), MakeDateTime(2008, 4, 5, 10, 30, 0)))", output: "2" }, { input: "Count(MakeList(GetCurrentDateTimeUtc(), ToDateTime(NOT_SET)))", output: "2" }, { input: "Count(MakeList(ToDateTime(NOT_SET)))", output: "1" }, { input: "Count(MakeList(MakeDuration(10, 0, 30, 0), MakeDuration(0, 0, 30, 30)))", output: "2" }, { input: "Count(MakeList(MakeDuration(10, 0, 30, 0), ToDuration(NOT_SET)))", output: "2" }, { input: "Count(MakeList(ToDuration(NOT_SET)))", output: "1" }, { input: 'Count(MakeList(ToUser("john.doe@company.com"), ToUser("mary.doe@company.com")))', output: "2", hidden: "true" }, { input: 'Count(MakeList(ToUser("john.doe@company.com"), ToUser(NOT_SET)))', output: "2", hidden: "true" }, { input: "Count(MakeList(ToUser(NOT_SET)))", output: "1" }, { input: 'Count(MakeList(ToSkill("Spanish"), ToSkill("German")))', output: "2", hidden: "true" }, { input: 'Count(MakeList(ToSkill("Spanish"), ToSkill(NOT_SET)))', output: "2", hidden: "true" }, { input: "Count(MakeList(ToSkill(NOT_SET)))", output: "1" }, { input: "Count(MakeList(ToUser(NOT_SET), ToUser(NOT_SET)))", output: "2" }, { input: "Count(MakeList(ToSkill(NOT_SET)))", output: "1" }, { input: "Count(MakeList(MakeDate(2015, 1, 10), MakeDate(2018, 2, 14)))", output: "2", featureConfigName: "botFlows" }, { input: "Count(MakeList(MakeTime(4, 30, 0), MakeTime(14, 15, 0)))", output: "2", featureConfigName: "botFlows" }, { input: "Count(MakeEmptyJsonArray())", output: "0", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_LNG_COUNT_JSON_DSC", identifier: "Long_ONE count(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_COUNT_JSON_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_COUNT_JSON_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }], examples: [{ input: 'Count(JsonParse("[ \\"a\\", \\"b\\", \\"c\\" ]"))', output: "3", featureConfigName: "encryptDecryptDataFeature" }, { input: 'Count(JsonParse("[ 1, 3, 20 ]"))', output: "3", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }], needsServerInfo: true }, escapeForMarkdown: { identifier: "escapeForMarkdown", description: "AR_FN_DSC_ESCAPEFORMARKDOWN", type: "function", name: "EscapeForMarkdown", category: "text", overloads: [{ description: "AR_FN_STR_ESCAPEFORMARKDOWN_STR_DSC", identifier: "String_ONE escapeForMarkdown(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_ESCAPEFORMARKDOWN_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_ESCAPEFORMARKDOWN_STR_PRM_DSC_0", identifier: "stringToEscape", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'EscapeForMarkdown("# Hello")', output: '"\\# Hello"' }, { input: 'EscapeForMarkdown("_More **example** text._")', output: '"\\_More \\*\\*example\\*\\* text.\\_"' }, { input: "EscapeForMarkdown(ToString(NOT_SET))", output: "AR_FN_STR_ESCAPEFORMARKDOWN_STR_EX_OUT_2" }] }], needsServerInfo: true }, escapeForXml: { identifier: "escapeForXml", description: "AR_FN_DSC_ESCAPEFORXML", type: "function", name: "EscapeForXml", category: "text", overloads: [{ description: "AR_FN_STR_ESCAPEFORXML_STR_DSC", identifier: "String_ONE escapeForXml(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_ESCAPEFORXML_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_ESCAPEFORXML_STR_PRM_DSC_0", identifier: "stringToEscape", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'EscapeForXml("5>3")', output: '"5>3"' }, { input: 'EscapeForXml("\\"Hello\\"")', output: '""Hello""' }, { input: "EscapeForXml(ToString(NOT_SET))", output: "AR_FN_STR_ESCAPEFORXML_STR_EX_OUT_2" }] }], needsServerInfo: true }, find: { identifier: "find", description: "AR_FN_DSC_FIND", type: "function", name: "Find", category: "list", overloads: [{ description: "AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_DSC", identifier: "Long_COLL find(Any_COLL,Any_ONE)", support: { version: "1.0", resolver: "Find" }, returnValue: { description: "AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_RV", isArray: true, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_PRM_DSC_0", identifier: "list", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_PRM_DSC_1", identifier: "item", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: "Find(MakeList(true, false, true, ToBool(NOT_SET)), false)", output: "[1]" }, { input: "Find(MakeList(true, false, true, ToBool(NOT_SET)), ToBool(NOT_SET))", output: "[3]" }, { input: 'Find(MakeList(MakeCurrency(5.00, "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD")), MakeCurrency(2.00, "EUR"))', output: "[]" }, { input: 'Find(MakeList("hello", "world", ToString(NOT_SET)), "hello")', output: "[0]" }, { input: 'Find(MakeList("hello", "world", ToString(NOT_SET)), "Hello")', output: "[]" }, { input: 'Find(MakeList("hello", "world", ToString(NOT_SET)), ToString(NOT_SET))', output: "[2]" }, { input: "Find(MakeList(100, 200, ToInt(NOT_SET)), 100)", output: "[0]" }, { input: "Find(MakeList(100, 200, ToInt(NOT_SET)), 300)", output: "[]" }, { input: "Find(MakeList(100, 200, ToInt(NOT_SET)), ToInt(NOT_SET))", output: "[2]" }, { input: "Find(MakeList(100.5, 200.0, ToDecimal(NOT_SET)), 100.5)", output: "[0]" }, { input: "Find(MakeList(100.5, 200.0, ToDecimal(NOT_SET)), 300.0)", output: "[]" }, { input: "Find(MakeList(100.5, 200.0, ToDecimal(NOT_SET)), ToDecimal(NOT_SET))", output: "[2]" }, { input: "Find(MakeList(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDateTime(2009, 1, 10, 6, 30, 0), ToDateTime(NOT_SET)), MakeDateTime(2009, 1, 10, 6, 30, 0))", output: "[0, 1]" }, { input: "Find(MakeList(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDateTime(2009, 1, 10, 6, 30, 0), ToDateTime(NOT_SET)), MakeDateTime(2007, 1, 1, 0, 0, 0))", output: "[]" }, { input: "Find(MakeList(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDateTime(2009, 1, 10, 6, 30, 0), ToDateTime(NOT_SET)), ToDateTime(NOT_SET))", output: "[2]" }, { input: "Find(MakeList(MakeDuration(1, 0, 0, 0), MakeDuration(0, 6, 0, 0), ToDuration(NOT_SET)), MakeDuration(1, 0, 0, 0))", output: "[0]" }, { input: "Find(MakeList(MakeDuration(1, 0, 0, 0), MakeDuration(0, 6, 0, 0), ToDuration(NOT_SET)), MakeDuration(3, 3, 0, 0))", output: "[]" }, { input: "Find(MakeList(MakeDuration(1, 0, 0, 0), MakeDuration(0, 6, 0, 0), ToDuration(NOT_SET)), ToDuration(NOT_SET))", output: "[2]" }, { input: 'Find(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com"), ToUser(NOT_SET)), ToUser("john.doe@company.com"))', output: "[0]", hidden: "true" }, { input: 'Find(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com"), ToUser(NOT_SET)), ToUser("joe.schmo@company.com"))', output: "[]", hidden: "true" }, { input: 'Find(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com"), ToUser(NOT_SET)), ToUser(NOT_SET))', output: "[2]", hidden: "true" }, { input: 'Find(MakeList(ToSkill("Spanish"), ToSkill("German"), ToSkill(NOT_SET)), ToSkill("Spanish"))', output: "[0]", hidden: "true" }, { input: 'Find(MakeList(ToSkill("Spanish"), ToSkill("German"), ToSkill(NOT_SET)), ToSkill("French"))', output: "[]", hidden: "true" }, { input: 'Find(MakeList(ToSkill("Spanish"), ToSkill("German"), ToSkill(NOT_SET)), ToSkill(NOT_SET))', output: "[2]", hidden: "true" }, { input: "Find(MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET)), ToSkill(NOT_SET))", output: "[0, 1]" }, { input: "Find(MakeList(ToUser(NOT_SET), ToUser(NOT_SET)), ToUser(NOT_SET))", output: "[0, 1]" }, { input: 'Find(MakeList(ToPhoneNumber("tel:+13178723000"), ToPhoneNumber("+13178723000")), ToPhoneNumber("13178723000"))', output: "[0, 1]" }, { input: 'Find(MakeList(ToPhoneNumber("sip:john.doe@company.com"), ToPhoneNumber("sips:john.doe@company.com")), ToPhoneNumber("sip:john.doe@company.com"))', output: "[0]" }, { input: "Find(MakeList(MakeDate(2015, 1, 10), MakeDate(2018, 2, 14)), MakeDate(2018, 2, 14))", output: "[1]", featureConfigName: "botFlows" }, { input: "Find(MakeList(MakeTime(4, 30, 0), MakeTime(14, 15, 0)), MakeTime(4, 30, 0))", output: "[0]", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }] }, findFirst: { identifier: "findFirst", description: "AR_FN_DSC_FINDFIRST", type: "function", name: "FindFirst", category: "list", overloads: [{ description: "AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_DSC", identifier: "Long_ONE findFirst(Any_COLL,Any_ONE)", support: { version: "1.0", resolver: "Find" }, returnValue: { description: "AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_PRM_DSC_0", identifier: "list", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_PRM_DSC_1", identifier: "item", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: "FindFirst(MakeList(true, false, true, ToBool(NOT_SET)), false)", output: "1" }, { input: "FindFirst(MakeList(true, false, true, ToBool(NOT_SET)), ToBool(NOT_SET))", output: "3" }, { input: 'FindFirst(MakeList(MakeCurrency(5.00, "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD")), MakeCurrency(2.00, "EUR"))', output: "-1" }, { input: 'FindFirst(MakeList("hello", "world", ToString(NOT_SET)), "hello")', output: "0" }, { input: 'FindFirst(MakeList("hello", "world", ToString(NOT_SET)), "Hello")', output: "-1" }, { input: 'FindFirst(MakeList("hello", "world", ToString(NOT_SET)), ToString(NOT_SET))', output: "2" }, { input: "FindFirst(MakeList(100, 200, ToInt(NOT_SET)), 100)", output: "0" }, { input: "FindFirst(MakeList(100, 200, ToInt(NOT_SET)), 300)", output: "-1" }, { input: "FindFirst(MakeList(100, 200, ToInt(NOT_SET)), ToInt(NOT_SET))", output: "2" }, { input: "FindFirst(MakeList(100.5, 200.0, ToDecimal(NOT_SET)), 100.5)", output: "0" }, { input: "FindFirst(MakeList(100.5, 200.0, ToDecimal(NOT_SET)), 300.0)", output: "-1" }, { input: "FindFirst(MakeList(100.5, 200.0, ToDecimal(NOT_SET)), ToDecimal(NOT_SET))", output: "2" }, { input: "FindFirst(MakeList(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDateTime(2009, 1, 10, 6, 30, 0), ToDateTime(NOT_SET)), MakeDateTime(2009, 1, 10, 6, 30, 0))", output: "0" }, { input: "FindFirst(MakeList(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDateTime(2009, 1, 10, 6, 30, 0), ToDateTime(NOT_SET)), MakeDateTime(2007, 1, 1, 0, 0, 0))", output: "-1" }, { input: "FindFirst(MakeList(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDateTime(2009, 1, 10, 6, 30, 0), ToDateTime(NOT_SET)), ToDateTime(NOT_SET))", output: "2" }, { input: "FindFirst(MakeList(MakeDuration(1, 0, 0, 0), MakeDuration(0, 6, 0, 0), ToDuration(NOT_SET)), MakeDuration(1, 0, 0, 0))", output: "0" }, { input: "FindFirst(MakeList(MakeDuration(1, 0, 0, 0), MakeDuration(0, 6, 0, 0), ToDuration(NOT_SET)), MakeDuration(3, 3, 0, 0))", output: "-1" }, { input: "FindFirst(MakeList(MakeDuration(1, 0, 0, 0), MakeDuration(0, 6, 0, 0), ToDuration(NOT_SET)), ToDuration(NOT_SET))", output: "2" }, { input: 'FindFirst(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com"), ToUser(NOT_SET)), ToUser("john.doe@company.com"))', output: "0", hidden: "true" }, { input: 'FindFirst(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com"), ToUser(NOT_SET)), ToUser("joe.schmo@company.com"))', output: "-1", hidden: "true" }, { input: 'FindFirst(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com"), ToUser(NOT_SET)), ToUser(NOT_SET))', output: "2", hidden: "true" }, { input: 'FindFirst(MakeList(ToSkill("Spanish"), ToSkill("German"), ToSkill(NOT_SET)), ToSkill("Spanish"))', output: "0", hidden: "true" }, { input: 'FindFirst(MakeList(ToSkill("Spanish"), ToSkill("German"), ToSkill(NOT_SET)), ToSkill("French"))', output: "-1", hidden: "true" }, { input: 'FindFirst(MakeList(ToSkill("Spanish"), ToSkill("German"), ToSkill(NOT_SET)), ToSkill(NOT_SET))', output: "2", hidden: "true" }, { input: "FindFirst(MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET)), ToSkill(NOT_SET))", output: "0" }, { input: "FindFirst(MakeList(ToUser(NOT_SET), ToUser(NOT_SET)), ToUser(NOT_SET))", output: "0" }, { input: 'FindFirst(MakeList(ToPhoneNumber("tel:+13178723000"), ToPhoneNumber("13175555555")), ToPhoneNumber("+13178723000"))', output: "0" }, { input: 'FindFirst(MakeList(ToPhoneNumber("sip:john.doe@company.com"), ToPhoneNumber("sips:john.doe@company.com")), ToPhoneNumber("sip:john.doe@company.com"))', output: "0" }, { input: "FindFirst(MakeList(MakeDate(2015, 1, 10), MakeDate(2018, 2, 14)), MakeDate(2018, 2, 14))", output: "1", featureConfigName: "botFlows" }, { input: "FindFirst(MakeList(MakeTime(4, 30, 0), MakeTime(14, 15, 0)), MakeTime(14, 15, 0))", output: "1", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }] }, findItems: { identifier: "findItems", description: "AR_FN_DSC_FINDITEMS", type: "function", name: "FindItems", category: "list", overloads: [{ description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_DSC", identifier: "Long_COLL findItems(KnowledgeBaseDocumentLabel_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_RV", isArray: true, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_0", identifier: "knowledgeBaseDocumentLabelCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cpx_knowledge_base_document_label" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_1", identifier: "labelName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindItems(Flow.KnowledgeBaseDocument.labels, "Product Label")', output: "[0]" }, { input: 'FindItems(Flow.KnowledgeBaseDocument.labels, "Welcome Article")', output: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_EX_OUT_1" }] }, { description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_DSC", identifier: "Long_COLL findItems(KnowledgeBaseDocumentLabel_COLL,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_RV", isArray: true, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_PRM_DSC_0", identifier: "knowledgeBaseDocumentLabelCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cpx_knowledge_base_document_label" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", mustBeLiteral: true }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_PRM_DSC_2", identifier: "propertyValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str", mustBeLiteral: true }], examples: [{ input: 'FindItems(Flow.KnowledgeBaseDocument.labels, "Product Label", "name")', output: "[0]" }, { input: 'FindItems(Flow.KnowledgeBaseDocument.labels, "Welcome Article", "name")', output: "AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_EX_OUT_1" }] }], needsServerInfo: true }, findFirstItem: { identifier: "findFirstItem", description: "AR_FN_DSC_FINDFIRSTITEM", type: "function", name: "FindFirstItem", category: "list", overloads: [{ description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_DSC", identifier: "Long_ONE findFirstItem(KnowledgeBaseDocumentLabel_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_0", identifier: "knowledgeBaseDocumentLabelCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cpx_knowledge_base_document_label" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_1", identifier: "labelName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindFirstItem(Flow.KnowledgeBaseDocument.labels, "Product Label")', output: "0" }, { input: 'FindFirstItem(Flow.KnowledgeBaseDocument.labels, "Welcome Article")', output: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_EX_OUT_1" }] }, { description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_DSC", identifier: "Long_ONE findFirstItem(KnowledgeBaseDocument_COLL,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_0", identifier: "knowledgeBaseDocumentLabelCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cpx_knowledge_base_document_label" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", mustBeLiteral: true }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_2", identifier: "propertyValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str", mustBeLiteral: true }], examples: [{ input: 'FindFirstItem(Flow.KnowledgeBaseDocument.labels, "Product Label", "name")', output: "0" }, { input: 'FindFirstItem(Flow.KnowledgeBaseDocument.labels, "Welcome Article", "name")', output: "AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_EX_OUT_1" }] }, { description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_DSC", identifier: "Long_ONE findFirstItem(AssignedCustomerSegment_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot" }, featureConfigName: "botFlowsCustomerSegmentsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_PRM_DSC_0", identifier: "assignedCustomerSegmentCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "acs" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_PRM_DSC_1", identifier: "customerSegmentName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'FindFirstItem(Flow.MyAssignedSegments, "VIP Customers")', output: "0" }, { input: 'FindFirstItem(Flow.MyAssignedSegments, "Gold Tier")', output: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_EX_OUT_1" }] }, { description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_DSC", identifier: "Long_ONE findFirstItem(AssignedCustomerSegment_COLL,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot" }, featureConfigName: "botFlowsCustomerSegmentsFeature", needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_0", identifier: "assignedCustomerSegmentCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "acs" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", mustBeLiteral: true }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_2", identifier: "propertyValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str", mustBeLiteral: true }], examples: [{ input: 'FindFirstItem(Flow.MyAssignedSegments, "customerSegment.id", "022ebfa1-9fc9-4b09-8313-3efa14bcc80e")', output: "0" }, { input: 'FindFirstItem(Flow.MyAssignedSegments, "customerSegment.id", "022ebfa1-9fc9-4b09-8313-3efa14bcc80e")', output: "AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_EX_OUT_1" }] }], needsServerInfo: true }, findJsonArrayItem: { identifier: "findJsonArrayItem", description: "AR_FN_DSC_FINDJSONARRAYITEM", type: "function", name: "FindJsonArrayItem", category: "list", overloads: [{ description: "AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_DSC", identifier: "Long_COLL findJsonArrayItem(JSON_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_RV", isArray: true, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_PRM_DSC_0", identifier: "srcJsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_PRM_DSC_1", identifier: "item", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'FindJsonArrayItem(JsonParse("[0, 2, 3, 5, 8]"), 2)', output: "[1]" }, { input: 'FindJsonArrayItem(JsonParse("[0, { \\"a\\": true, \\"b\\": false }, 100, { \\"b\\": false, \\"a\\": true }]"), JsonParse("{ \\"b\\": false, \\"a\\": true }"))', output: "[1, 3]" }] }], needsServerInfo: true }, findJsonArrayItemFirst: { identifier: "findJsonArrayItemFirst", description: "AR_FN_DSC_FINDJSONARRAYITEMFIRST", type: "function", name: "FindJsonArrayItemFirst", category: "list", overloads: [{ description: "AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_DSC", identifier: "Long_ONE findJsonArrayItemFirst(JSON_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_PRM_DSC_0", identifier: "srcJsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_PRM_DSC_1", identifier: "item", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'FindJsonArrayItemFirst(JsonParse("[0, 2, 2, 5, 5]"), 5)', output: "3" }, { input: 'FindJsonArrayItemFirst(JsonParse("[0, 2, 2, 5, 8]"), 1)', output: "-1" }, { input: 'FindJsonArrayItemFirst(JsonParse("[0, { \\"a\\": true, \\"b\\": false }, 100, { \\"b\\": false, \\"a\\": true }]"), JsonParse("{ \\"b\\": false, \\"a\\": true }"))', output: "1" }] }], needsServerInfo: true }, makeList: { identifier: "makeList", description: "AR_FN_DSC_MAKELIST", type: "function", name: "MakeList", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_DSC", identifier: "Any_COLL makeList(Any_ONE...)", support: { version: "1.0", resolver: "n-SameTypeRetColl" }, maxOperands: "getFromEnvLimitsCollectionItemsMax", returnValue: { description: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: true, required: false, type: "any" }], examples: [{ input: 'MakeList(MakeCurrency(5.00, "USD"), MakeCurrency(ToDecimal(NOT_SET), "USD"))', output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_0" }, { input: "MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0), MakeDateTime(2005, 1, 1, 0, 0, 0))", output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_1" }, { input: "MakeList(100.5, 200.5)", output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_2" }, { input: "MakeList(MakeDuration(0, 1, 0, 0), MakeDuration(-10, 5, 30, 0))", output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_3" }, { input: "MakeList(100, 200)", output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_4" }, { input: 'MakeList("hello", "world")', output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_5" }, { input: "MakeList(true, false)", output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_6" }, { input: 'MakeList(ToUser("john.doe@company.com"), ToUser("mary.doe@company.com"))', output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_7", hidden: "true" }, { input: 'MakeList(ToSkill("Spanish"), ToSkill("German"))', output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_8", hidden: "true" }, { input: "MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET))", output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_9", hidden: "true" }, { input: 'MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET)))', output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_10", featureConfigName: "botFlowsAppleListPicker" }, { input: 'MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET)))))', output: "AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_11", featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }] }, makeEmptyList: { identifier: "makeEmptyList", description: "AR_FN_DSC_MAKEEMPTYLIST", type: "function", name: "MakeEmptyList", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_DSC", identifier: "Any_COLL makeEmptyList(Any_ONE...)", support: { version: "1.0", resolver: "EmptyList" }, returnValue: { description: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "MakeEmptyList(ToCurrency(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_0" }, { input: "MakeEmptyList(ToDateTime(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_1" }, { input: "MakeEmptyList(ToDecimal(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_2" }, { input: "MakeEmptyList(ToDuration(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_3" }, { input: "MakeEmptyList(ToInt(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_4" }, { input: "MakeEmptyList(ToString(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_5" }, { input: "MakeEmptyList(ToBool(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_6" }, { input: "MakeEmptyList(ToUser(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_7" }, { input: "MakeEmptyList(ToSkill(NOT_SET))", output: "AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_8" }] }] }, addItem: { identifier: "addItem", description: "AR_FN_DSC_ADDITEM", type: "function", name: "AddItem", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_DSC", identifier: "Any_COLL addItem(Any_COLL,Any_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, addsToCollection: true, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_PRM_DSC_1", identifier: "valueToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'AddItem(MakeEmptyList(ToString(NOT_SET)), "Hello")', output: '[ "Hello" ]' }, { input: "AddItem(MakeList(0, 1, 2), 3)", output: "[0, 1, 2, 3]" }] }], needsServerInfo: true }, addJsonArrayItem: { identifier: "addJsonArrayItem", description: "AR_FN_DSC_ADDJSONARRAYITEM", type: "function", name: "AddJsonArrayItem", category: "list", overloads: [{ description: "AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_DSC", identifier: "JSON_ONE addJsonArrayItem(JSON_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_PRM_DSC_1", identifier: "valueToAdd", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'AddJsonArrayItem(JsonParse("[ \\"a\\", 2, \\"c\\" ]"), "d")', output: "AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_EX_OUT_0" }] }], needsServerInfo: true }, addItemAt: { identifier: "addItemAt", description: "AR_FN_DSC_ADDITEMAT", type: "function", name: "AddItemAt", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_DSC", identifier: "Any_COLL addItemAt(Any_COLL,Long_ONE,Any_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, addsToCollection: true, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_1", identifier: "insertIndex", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_2", identifier: "valueToAdd", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'AddItemAt(MakeList("Hello"), 1, "Goodbye")', output: '[ "Hello", "Goodbye" ]' }, { input: 'AddItemAt(MakeEmptyList(ToString(NOT_SET)), 0, "Hello")', output: '[ "Hello" ]' }, { input: 'AddItemAt(AddItemAt(MakeEmptyList(ToString(NOT_SET)), 0, "There"), 0, "Hello")', output: '[ "Hello", "There" ]' }, { input: "AddItemAt(MakeList(0, 1, 2), 0, 3)", output: "[3, 0, 1, 2]" }, { input: "AddItemAt(MakeList(0, 1, 2), 10, 3)", output: "[0, 1, 2, 3]" }] }], needsServerInfo: true }, addJsonArrayItemAt: { identifier: "addJsonArrayItemAt", description: "AR_FN_DSC_ADDJSONARRAYITEMAT", type: "function", name: "AddJsonArrayItemAt", category: "list", overloads: [{ description: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_DSC", identifier: "JSON_ONE addJsonArrayItemAt(JSON_ONE,Long_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_1", identifier: "insertIndex", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_2", identifier: "valueToAdd", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'AddJsonArrayItemAt(JsonParse("[ 0, 1, 2 ]"), 3, "Hello")', output: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_0" }, { input: 'AddJsonArrayItemAt(JsonParse("[\\"Hello\\"]"), 0, "Goodbye")', output: "AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_1" }] }], needsServerInfo: true }, removeDups: { identifier: "removeDups", description: "AR_FN_DSC_REMOVEDUPS", type: "function", name: "RemoveDups", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_REMOVEDUPS_ANY_COLL_DSC", identifier: "Any_COLL removeDups(Any_COLL)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_REMOVEDUPS_ANY_COLL_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REMOVEDUPS_ANY_COLL_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: 'RemoveDups(MakeList("Hello", "Hello"))', output: '[ "Hello" ]' }, { input: "RemoveDups(MakeList(true, true, false))", output: "[ true, false ]" }, { input: "RemoveDups(MakeList(4.5, NOT_SET, -3.1, NOT_SET))", output: "[4.5, NOT_SET, -3.1]" }, { input: "RemoveDups(MakeList(0, 1, 1, 2, 2, 1, NOT_SET, 2))", output: "[0, 1, 2, NOT_SET]" }] }, { description: "AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_DSC", identifier: "String_COLL removeDups(String_COLL,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_RV", isArray: true, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_PRM_DSC_1", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'RemoveDups(MakeList("Hello", "hello"), true)', output: '[ "Hello" ]' }, { input: 'RemoveDups(MakeList("Hello", "hello"), false)', output: '[ "Hello", "hello" ]' }] }], needsServerInfo: true }, removeJsonArrayDups: { identifier: "removeJsonArrayDups", description: "AR_FN_DSC_REMOVEJSONARRAYDUPS", type: "function", name: "RemoveJsonArrayDups", category: "list", overloads: [{ description: "AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_DSC", identifier: "JSON_ONE removeJsonArrayDups(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }], examples: [{ input: 'RemoveJsonArrayDups(JsonParse("[ 100, 150, 100, false, false, { \\"a\\": 5 } ]"))', output: "AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_EX_OUT_0" }] }], needsServerInfo: true }, removeItem: { identifier: "removeItem", description: "AR_FN_DSC_REMOVEITEM", type: "function", name: "RemoveItem", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_DSC", identifier: "Any_COLL removeItem(Any_COLL,Any_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_PRM_DSC_1", identifier: "valueToRemove", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'RemoveItem(MakeList("Hello", "There"), "Hello")', output: '[ "There" ]' }, { input: "RemoveItem(MakeList(true, true, false), true)", output: "[ false ]" }, { input: "RemoveItem(MakeList(4.5, NOT_SET, -3.1, NOT_SET), NOT_SET)", output: "[4.5, -3.1]" }, { input: "RemoveItem(MakeList(0, 1, 1, 2, 2), 1)", output: "[0, 2, 2]" }, { input: "RemoveItem(MakeEmptyList(ToInt(NOT_SET)), 1)", output: "AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_EX_OUT_4" }] }, { description: "AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_DSC", identifier: "String_COLL removeItem(String_COLL,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_RV", isArray: true, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_PRM_DSC_1", identifier: "valueToRemove", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_PRM_DSC_2", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'RemoveItem(MakeList("hello", "There"), "Hello", true)', output: '[ "There" ]' }, { input: 'RemoveItem(MakeList("Hello", "There"), "hello", false)', output: '[ "Hello", "There" ]' }] }], needsServerInfo: true }, removeJsonArrayItem: { identifier: "removeJsonArrayItem", description: "AR_FN_DSC_REMOVEJSONARRAYITEM", type: "function", name: "RemoveJsonArrayItem", category: "list", overloads: [{ description: "AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_DSC", identifier: "JSON_ONE removeJsonArrayItem(JSON_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_PRM_DSC_1", identifier: "valueToRemove", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'RemoveJsonArrayItem(JsonParse("[ \\"Hello\\", \\"There\\" ]"), "Hello")', output: "AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_EX_OUT_0" }, { input: 'RemoveJsonArrayItem(JsonParse("[ 0, 1, 2, 3 ]"), 1)', output: "A JSON value that contains an array of [ 0, 2, 3 ]." }] }], needsServerInfo: true }, removeItemAt: { identifier: "removeItemAt", description: "AR_FN_DSC_REMOVEITEMAT", type: "function", name: "RemoveItemAt", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_DSC", identifier: "Any_COLL removeItemAt(Any_COLL,Long_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_PRM_DSC_1", identifier: "removeIndex", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'RemoveItemAt(MakeList("Hello"), 0)', output: "AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_EX_OUT_0" }, { input: 'RemoveItemAt(MakeList("Hello", "Goodbye"), 0)', output: '[ "Goodbye" ]' }, { input: "RemoveItemAt(MakeList(2, 4, 5, 6, 8), 2)", output: "[2, 4, 6, 8]" }] }], needsServerInfo: true }, removeJsonArrayItemAt: { identifier: "removeJsonArrayItemAt", description: "AR_FN_DSC_REMOVEJSONARRAYITEMAT", type: "function", name: "RemoveJsonArrayItemAt", category: "list", overloads: [{ description: "AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_DSC", identifier: "JSON_ONE removeJsonArrayItemAt(JSON_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_PRM_DSC_1", identifier: "removeIndex", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'RemoveJsonArrayItemAt(JsonParse("[ 100, false, { \\"a\\": 5 } ]"), 2)', output: "AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_EX_OUT_0" }, { input: 'RemoveJsonArrayItemAt(RemoveJsonArrayItemAt(JsonParse("[ 100, false, { \\"a\\": 5 } ]"), 2), 0)', output: "AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_EX_OUT_1" }] }], needsServerInfo: true }, replaceItem: { identifier: "replaceItem", description: "AR_FN_DSC_REPLACEITEM", type: "function", name: "ReplaceItem", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_DSC", identifier: "Any_COLL replaceItem(Any_COLL,Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_PRM_DSC_1", identifier: "valueToReplace", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ReplaceItem(MakeList("Hello"), "Hello", "Goodbye")', output: '[ "Goodbye" ]' }, { input: 'ReplaceItem(MakeList("Hello", "Hello"), "Hello", "Goodbye")', output: '["Goodbye", "Goodbye"]' }, { input: 'ReplaceItem(MakeList("Hello", NOT_SET), NOT_SET, "Goodbye")', output: '["Hello", "Goodbye"]' }, { input: "ReplaceItem(MakeList(0, 2, 4, 5, 8), 5, 6)", output: "[0, 2, 4, 6, 8]" }, { input: "ReplaceItem(MakeList(0, 2, 4, NOT_SET, 8), NOT_SET, 6)", output: "[0, 2, 4, 6, 8]" }] }, { description: "AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_DSC", identifier: "String_COLL replaceItem(String_COLL,String_ONE,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_RV", isArray: true, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_1", identifier: "valueToReplace", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_3", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'ReplaceItem(MakeList("hello"), "Hello", "Goodbye", true)', output: '[ "Goodbye" ]' }, { input: 'ReplaceItem(MakeList("hello"), "Hello", "Goodbye", false)', output: '[ "hello" ]' }, { input: 'ReplaceItem(MakeList("hello", "HeLLo"), "Hello", "Goodbye", true)', output: '["Goodbye", "Goodbye"]' }, { input: 'ReplaceItem(MakeList("Hello", NOT_SET), NOT_SET, "Goodbye", true)', output: '["Hello", "Goodbye"]' }] }], needsServerInfo: true }, replaceJsonArrayItem: { identifier: "replaceJsonArrayItem", description: "AR_FN_DSC_REPLACEJSONARRAYITEM", type: "function", name: "ReplaceJsonArrayItem", category: "list", overloads: [{ description: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_DSC", identifier: "JSON_ONE replaceJsonArrayItem(JSON_ONE,Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_PRM_DSC_0", identifier: "srcJsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_PRM_DSC_1", identifier: "valueToReplace", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ReplaceJsonArrayItem(ToJson(MakeList("Hello")), "Hello", "Goodbye")', output: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_EX_OUT_0" }, { input: 'ReplaceJsonArrayItem(JsonParse("[0, 2, 4, 5, 8]"), 5, 6)', output: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_EX_OUT_1" }, { input: 'ReplaceJsonArrayItem(JsonParse("[0, { \\"a\\": true, \\"b\\": false }, 100]"), JsonParse("{ \\"b\\": false, \\"a\\": true }"), ToString(NOT_SET))', output: "AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_EX_OUT_2" }] }], needsServerInfo: true }, replaceItemAt: { identifier: "replaceItemAt", description: "AR_FN_DSC_REPLACEITEMAT", type: "function", name: "ReplaceItemAt", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_DSC", identifier: "Any_COLL replaceItemAt(Any_COLL,Long_ONE,Any_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_1", identifier: "replaceIndex", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ReplaceItemAt(MakeList("Hello"), 0, "Goodbye")', output: '[ "Goodbye" ]' }, { input: 'ReplaceItemAt(MakeList("Hello", "Hello"), 1, "Goodbye")', output: '["Hello", "Goodbye"]' }, { input: "ReplaceItemAt(MakeList(0, 2, 4, 5, 8), 2, 6)", output: "[0, 2, 6, 5, 8]" }] }], needsServerInfo: true }, replaceJsonArrayItemAt: { identifier: "replaceJsonArrayItemAt", description: "AR_FN_DSC_REPLACEJSONARRAYITEMAT", type: "function", name: "ReplaceJsonArrayItemAt", category: "list", overloads: [{ description: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_DSC", identifier: "JSON_ONE replaceJsonArrayItemAt(JSON_ONE,Long_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_0", identifier: "srcJsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_1", identifier: "replaceIndex", isArray: false, helpDisplayIdx: 1, min: "0", repeatable: false, required: true, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ReplaceJsonArrayItemAt(ToJson(MakeList("Hello")), 0, "Goodbye")', output: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_0" }, { input: 'ReplaceJsonArrayItemAt(JsonParse("[0, 2, 4, 5, 8]"), 2, false)', output: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_1" }, { input: 'ReplaceJsonArrayItemAt(JsonParse("[0, { \\"a\\": true, \\"b\\": false }, 100]"), 1, ToString(NOT_SET))', output: "AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_2" }] }], needsServerInfo: true }, replaceItemFirst: { identifier: "replaceItemFirst", description: "AR_FN_DSC_REPLACEITEMFIRST", type: "function", name: "ReplaceItemFirst", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_DSC", identifier: "Any_COLL replaceItemFirst(Any_COLL,Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_PRM_DSC_1", identifier: "valueToReplace", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ReplaceItemFirst(MakeList("Hello"), "Hello", "Goodbye")', output: '[ "Goodbye" ]' }, { input: 'ReplaceItemFirst(MakeList("Goodbye", "Goodbye"), "Goodbye", "Hello")', output: '[ "Hello", "Goodbye" ]' }, { input: "ReplaceItemFirst(MakeList(0, 2, 6, 6, 8), 6, 4)", output: "[0, 2, 4, 6, 8]" }, { input: "ReplaceItemFirst(MakeList(0, 2, NOT_SET, 6, 8), NOT_SET, 4)", output: "[0, 2, 4, 6, 8]" }] }, { description: "AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_DSC", identifier: "String_COLL replaceItemFirst(String_COLL,String_ONE,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "CollectionMods" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_0", identifier: "srcCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_1", identifier: "valueToReplace", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_3", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'ReplaceItemFirst(MakeList("hello"), "Hello", "Goodbye", true)', output: '[ "Goodbye" ]' }, { input: 'ReplaceItemFirst(MakeList("hello"), "Hello", "Goodbye", false)', output: '[ "hello" ]' }, { input: 'ReplaceItemFirst(MakeList("goodbye", "Goodbye"), "Goodbye", "Hello", true)', output: '[ "Hello", "Goodbye" ]' }] }], needsServerInfo: true }, replaceJsonArrayItemFirst: { identifier: "replaceJsonArrayItemFirst", description: "AR_FN_DSC_REPLACEJSONARRAYITEMFIRST", type: "function", name: "ReplaceJsonArrayItemFirst", category: "list", overloads: [{ description: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_DSC", identifier: "JSON_ONE replaceJsonArrayItemFirst(JSON_ONE,Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_PRM_DSC_0", identifier: "srcJsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_PRM_DSC_1", identifier: "valueToReplace", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_PRM_DSC_2", identifier: "newValue", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ReplaceJsonArrayItemFirst(ToJson(MakeList("Hello")), "Hello", "Goodbye")', output: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_EX_OUT_0" }, { input: 'ReplaceJsonArrayItemFirst(JsonParse("[0, 2, 4, 5, 8, 5, 4, false]"), 5, 6)', output: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_EX_OUT_1" }, { input: 'ReplaceJsonArrayItemFirst(JsonParse("[0, { \\"a\\": true, \\"b\\": false }, { \\"a\\": true, \\"b\\": false }, 100]"), JsonParse("{ \\"b\\": false, \\"a\\": true }"), ToString(NOT_SET))', output: "AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_EX_OUT_2" }] }], needsServerInfo: true }, toBool: { identifier: "toBool", description: "AR_FN_DSC_TOBOOL", type: "function", name: "ToBool", category: "cast", overloads: [{ description: "AR_FN_BLN_TOBOOL_DEC_DSC", identifier: "Boolean_ONE toBool(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_TOBOOL_DEC_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_DEC_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }], examples: [{ input: "ToBool(1.5)", output: "true" }, { input: "ToBool(-31.5)", output: "true" }, { input: "ToBool(0.0)", output: "false" }, { input: "ToBool(ToDecimal(NOT_SET))", output: "AR_FN_BLN_TOBOOL_DEC_EX_OUT_3" }] }, { description: "AR_FN_BLN_TOBOOL_STR_DSC", identifier: "Boolean_ONE toBool(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_TOBOOL_STR_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToBool("True")', output: "true" }, { input: 'ToBool("TRUE")', output: "true" }, { input: 'ToBool("true")', output: "true" }, { input: 'ToBool("T")', output: "true" }, { input: 'ToBool("1")', output: "true" }, { input: 'ToBool("False")', output: "false" }, { input: 'ToBool("false")', output: "false" }, { input: 'ToBool("F")', output: "false" }, { input: 'ToBool("0")', output: "false" }, { input: "ToBool(ToString(NOT_SET))", output: "AR_FN_BLN_TOBOOL_STR_EX_OUT_9" }] }, { description: "AR_FN_BLN_TOBOOL_STR_BLN_DSC", identifier: "Boolean_ONE toBool(String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_TOBOOL_STR_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_STR_BLN_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_STR_BLN_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "bln" }], examples: [{ input: 'ToBool("True", false)', output: "true" }, { input: 'ToBool("FALSEE", true)', output: "true" }, { input: 'ToBool("TrueTrue", false)', output: "false" }, { input: 'ToBool("0", true)', output: "false" }] }, { description: "AR_FN_BLN_TOBOOL_LNG_DSC", identifier: "Boolean_ONE toBool(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_TOBOOL_LNG_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToBool(1)", output: "true" }, { input: "ToBool(-10)", output: "true" }, { input: "ToBool(0)", output: "false" }, { input: "ToBool(ToInt(NOT_SET))", output: "AR_FN_BLN_TOBOOL_LNG_EX_OUT_3" }] }, { description: "AR_FN_BLN_TOBOOL_NTS_DSC", identifier: "Boolean_ONE toBool(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_BLN_TOBOOL_NTS_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToBool(NOT_SET)", output: "AR_FN_BLN_TOBOOL_NTS_EX_OUT_0" }] }, { description: "AR_FN_BLN_TOBOOL_BLN_DSC", identifier: "Boolean_ONE toBool(Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_TOBOOL_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_BLN_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "bln" }], examples: [{ input: "ToBool(true)", output: "true" }] }, { description: "AR_FN_BLN_TOBOOL_JSON_DSC", identifier: "Boolean_ONE toBool(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_TOBOOL_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_JSON_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'ToBool(JsonParse("true"))', output: "true" }, { input: 'ToBool(JsonParse("false"))', output: "false" }, { input: 'ToBool(JsonParse("\\"False\\""))', output: "false" }, { input: 'ToBool(JsonParse("4.25"))', output: "true" }, { input: 'ToBool(JsonParse("null"))', output: "AR_FN_BLN_TOBOOL_JSON_EX_OUT_4" }, { input: "ToBool(ToJson(NOT_SET))", output: "AR_FN_BLN_TOBOOL_JSON_EX_OUT_5" }] }, { description: "AR_FN_BLN_TOBOOL_JSON_BLN_DSC", identifier: "Boolean_ONE toBool(JSON_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_TOBOOL_JSON_BLN_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_JSON_BLN_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_TOBOOL_JSON_BLN_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "bln" }], examples: [{ input: 'ToBool(JsonParse("true"), false)', output: "true" }, { input: 'ToBool(JsonParse("\\"apple\\""), true)', output: "true" }, { input: 'ToBool(JsonParse("[1,2]"), false)', output: "false" }, { input: 'ToBool(JsonParse("null"), true)', output: "A NOT_SET Boolean." }] }], needsServerInfo: true }, toDigitalAudio: { identifier: "toDigitalAudio", description: "AR_FN_DSC_TODIGITALAUDIO", type: "function", name: "ToDigitalAudio", category: "cast", overloads: [{ description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_DSC", identifier: "DigitalAudio_ONE toDigitalAudio(DigitalAudio_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_RV", isArray: false, type: "dia" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dia" }], examples: [{ input: "ToDigitalAudio(ToDigitalAudio(NOT_SET))", output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_EX_OUT_0" }] }, { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_DSC", identifier: "DigitalAudio_ONE toDigitalAudio(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_RV", isArray: false, type: "dia" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDigitalAudio(NOT_SET)", output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_EX_OUT_0" }] }, { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DSC", identifier: "DigitalAudio_ONE toDigitalAudio(ResponseAsset_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_RV", isArray: false, type: "dia" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }], examples: [{ input: "ToDigitalAudio(Flow.ResponseAsset)", output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_EX_OUT_0" }, { input: "ToDigitalAudio(ToResponseAsset(NOT_SET))", output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_EX_OUT_1" }] }, { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_DSC", identifier: "DigitalAudio_ONE toDigitalAudio(ResponseAsset_ONE,DigitalAudio_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_RV", isArray: false, type: "dia" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "dia" }], examples: [{ input: 'ToDigitalAudio(Flow.ResponseAsset, MakeDigitalAudioFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mp3"))', output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_EX_OUT_0" }, { input: 'ToDigitalAudio(ToResponseAsset(NOT_SET), MakeDigitalAudioFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mp3"))', output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_EX_OUT_1" }, { input: 'ToDigitalAudio(Flow.ResponseAssetThatCannotBeConvertedToDigitalAudio, MakeDigitalAudioFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mp3"))', output: "AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_EX_OUT_2" }] }], needsServerInfo: true }, toDigitalAudioCollection: { identifier: "toDigitalAudioCollection", description: "AR_FN_DSC_TODIGITALAUDIOCOLLECTION", type: "function", name: "ToDigitalAudioCollection", category: "cast", overloads: [{ description: "AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_DSC", identifier: "DigitalAudio_COLL toDigitalAudioCollection(ResponseAsset_COLL)", support: { version: "1.0", resolver: "None" }, featureConfigName: "cannedResponseAttachmentsPostGaFeature", needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_RV", isArray: true, type: "dia" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "rpa" }], examples: [{ input: "ToDigitalAudioCollection(MakeList(Flow.ResponseAsset, Flow.ResponseAsset2))", output: "AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_EX_OUT_0" }] }], needsServerInfo: true }, toDisplayString: { identifier: "toDisplayString", description: "AR_FN_DSC_TODISPLAYSTRING", type: "function", name: "ToDisplayString", category: "cast", overloads: [{ description: "AR_FN_STR_TODISPLAYSTRING_ANY_DSC", identifier: "String_ONE toDisplayString(Any_ONE)", support: { version: "1.0", resolver: "None" }, passThrough: { dataTypes: [{ type: "acp" }, { type: "bln" }, { type: "lac" }, { type: "phn" }, { type: "pmt" }, { type: "que" }, { type: "skl" }, { type: "str" }, { type: "usr" }], funcOpOverloadId: "String_ONE toString(Any_ONE)" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_ANY_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_ANY_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "ToDisplayString(true)", output: '"true"' }, { input: "ToDisplayString(2112)", output: '"2,112"', outputFlowCurrentLanguage: "en-US" }, { input: "ToDisplayString(2112)", output: '"2.112"', outputFlowCurrentLanguage: "de-DE" }, { input: 'ToDisplayString(MakeCurrency(3.14159, "EUR"))', output: '"\u20AC3.14159"', outputFlowCurrentLanguage: "en-US" }, { input: 'ToDisplayString(MakeCurrency(3.14159, "EUR"))', output: '"3,14159\xA0\u20AC"', outputFlowCurrentLanguage: "de-DE" }, { input: "ToDisplayString(210125.12)", output: '"210,125.12"', outputFlowCurrentLanguage: "en-GB" }, { input: "ToDisplayString(210125.12)", output: '"210.125,12"', outputFlowCurrentLanguage: "de-DE" }, { input: "ToDisplayString(MakeDateTime(2018, 07, 18, 19, 35, 39))", output: '"July 18, 2018 at 7:35 PM"', outputFlowCurrentLanguage: "en-US" }, { input: "ToDisplayString(MakeDateTime(2018, 07, 18, 19, 35, 39))", output: '"18 July 2018 at 19:35"', outputFlowCurrentLanguage: "en-GB" }, { input: "ToDisplayString(MakeDateTime(2018, 07, 18, 19, 35, 39))", output: '"18. Juli 2018 um 19:35"', outputFlowCurrentLanguage: "de-DE" }, { input: "ToDisplayString(MakeDuration(2, 3, 4, 50, 200))", output: '"2 days, 3 hours, 4 minutes, 50.2 seconds"', outputFlowCurrentLanguage: "en-US" }, { input: "ToDisplayString(MakeDuration(2, 3, 4, 50, 200))", output: '"2 Tage, 3 Stunden, 4 Minuten und 50,2 Sekunden"', outputFlowCurrentLanguage: "de-DE" }, { input: "ToDisplayString(MakeDuration(-2, -3, -4, -50, -200))", output: '"-2 days, -3 hours, -4 minutes, -50.2 seconds"', outputFlowCurrentLanguage: "en-US" }, { input: "ToDisplayString(MakeDuration(-2, -3, -4, -50, -200))", output: '"-2 Tage, -3 Stunden, -4 Minuten und -50,2 Sekunden"', outputFlowCurrentLanguage: "de-DE" }, { input: "ToDisplayString(MakeDuration(2, 0, 0, 0))", output: '"2 days"', outputFlowCurrentLanguage: "en-US" }, { input: "ToDisplayString(MakeDuration(2112, 0, 0, 0))", output: '"2.112 Tage"', outputFlowCurrentLanguage: "de-DE" }, { input: "ToDisplayString(MakeDate(2018, 07, 18))", output: '"July 18, 2018"', outputFlowCurrentLanguage: "en-US", featureConfigName: "botFlows" }, { input: "ToDisplayString(MakeTime(19, 35, 39))", output: '"7:35 PM"', outputFlowCurrentLanguage: "en-US", featureConfigName: "botFlows" }, { input: 'ToDisplayString(ToCommunication(MakeCurrency(3.14159, "EUR")))', output: '"3,14159\xA0\u20AC"', outputFlowCurrentLanguage: "de-DE", featureConfigName: "botFlows" }, { input: 'ToDisplayString(JsonParse("[ true, false]"))', output: '"[true,false]"', featureConfigName: "encryptDecryptDataFeature" }, { input: 'ToDisplayString(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))', output: '"Fries"', featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToDisplayString(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))))', output: '"Sides"', featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToDisplayString(MakeListPicker(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))), MakeImageFromUrl(NOT_SET), "Menu", "Items to order", MakeImageFromUrl(NOT_SET), NOT_SET))', output: '"Sides"', featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_DSC", identifier: "String_ONE toDisplayString(Any_COLL)", support: { version: "1.0", resolver: "None" }, passThrough: { dataTypes: [{ type: "acp", isArray: true }, { type: "bln", isArray: true }, { type: "lac", isArray: true }, { type: "phn", isArray: true }, { type: "pmt", isArray: true }, { type: "que", isArray: true }, { type: "skl", isArray: true }, { type: "str", isArray: true }, { type: "usr", isArray: true }], funcOpOverloadId: "String_ONE toString(Any_ONE)", isArrayItemPassThrough: true }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "ToDisplayString(MakeList(90125, 2112))", output: '"90,125\\n2,112"', outputFlowCurrentLanguage: "en-US", addNewLineInfo: true }, { input: "ToDisplayString(MakeList(90125, ToInt(NOT_SET)))", output: '"90,125\\n"', outputFlowCurrentLanguage: "en-US", addNewLineInfo: true }, { input: "ToDisplayString(MakeList(90125, 2112))", output: '"90.125\\n2.112"', outputFlowCurrentLanguage: "de-DE", addNewLineInfo: true }, { input: "ToDisplayString(MakeList(90125, ToInt(NOT_SET)))", output: '"90.125\\n"', outputFlowCurrentLanguage: "de-DE", addNewLineInfo: true }, { input: 'ToDisplayString(MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET))))', output: '"Fries\\nSoup"', addNewLineInfo: true, featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToDisplayString(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))), MakeListPickerSection("Desserts", true, MakeList(MakeListPickerItem("Cookie", NOT_SET, MakeImageFromUrl(NOT_SET))))))', output: '"Sides\\nDessert"', addNewLineInfo: true, featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_DSC", identifier: "String_ONE toDisplayString(Any_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, passThrough: { dataTypes: [{ type: "acp", isArray: true }, { type: "bln", isArray: true }, { type: "lac", isArray: true }, { type: "phn", isArray: true }, { type: "pmt", isArray: true }, { type: "que", isArray: true }, { type: "skl", isArray: true }, { type: "str", isArray: true }, { type: "usr", isArray: true }], funcOpOverloadId: "String_ONE toString(Any_ONE)", isArrayItemPassThrough: true }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToDisplayString(MakeList(8675309, 2112, 90125), "|")', output: '"8,675,309|2,112|90,125"', outputFlowCurrentLanguage: "en-US" }, { input: 'ToDisplayString(MakeList(8675309, 2112, 90125), "|")', output: '"8.675.309|2.112|90.125"', outputFlowCurrentLanguage: "de-DE" }, { input: 'ToDisplayString(MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET))), "|")', output: '"Fries|Soup"', featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToDisplayString(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))), MakeListPickerSection("Desserts", true, MakeList(MakeListPickerItem("Cookie", NOT_SET, MakeImageFromUrl(NOT_SET))))), "|")', output: '"Sides|Dessert"', featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_STR_TODISPLAYSTRING_CUR_LNG_DSC", identifier: "String_ONE toDisplayString(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_CUR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_LNG_PRM_DSC_0", identifier: "currencyValueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "0", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToDisplayString(MakeCurrency(3.14, "USD"), 2)', output: '"$3.14"', outputFlowCurrentLanguage: "en-US" }, { input: 'ToDisplayString(MakeCurrency(3.14159, "EUR"), 3)', output: '"3,142\xA0\u20AC"', outputFlowCurrentLanguage: "de-DE" }, { input: 'ToDisplayString(MakeCurrency(3.14159, "EUR"), 3)', output: '"\u20AC3.142"', outputFlowCurrentLanguage: "en-US" }] }, { description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_DSC", identifier: "String_ONE toDisplayString(Currency_COLL,Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_PRM_DSC_0", identifier: "currencyCollectionToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "0", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToDisplayString(MakeList(MakeCurrency(21.12, "USD"), MakeCurrency(9.0125, "GBP")), 1)', output: '"$21.1\\n\xA39.0"', outputFlowCurrentLanguage: "en-US", addNewLineInfo: true }, { input: 'ToDisplayString(MakeList(MakeCurrency(21.12, "USD"), MakeCurrency(9.0125, "GBP")), 5)', output: '"21,12000\xA0$\\n9,01250\xA0\xA3"', outputFlowCurrentLanguage: "de-DE", addNewLineInfo: true }] }, { description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_DSC", identifier: "String_ONE toDisplayString(Currency_COLL,String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_PRM_DSC_0", identifier: "currencyCollectionToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_PRM_DSC_2", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 2, max: "28", min: "0", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToDisplayString(MakeList(MakeCurrency(21.12, "USD"), MakeCurrency(9.0125, "GBP")), "|", 1)', output: '"$21.1|\xA39.0"', outputFlowCurrentLanguage: "en-US" }, { input: 'ToDisplayString(MakeList(MakeCurrency(21.12, "USD"), MakeCurrency(9.0125, "GBP")), "|", 5)', output: '"21,12000\xA0$|9,01250\xA0\xA3"', outputFlowCurrentLanguage: "de-DE" }] }, { description: "AR_FN_STR_TODISPLAYSTRING_DEC_LNG_DSC", identifier: "String_ONE toDisplayString(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_DEC_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_DEC_LNG_PRM_DSC_0", identifier: "decimalValueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_DEC_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "0", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToDisplayString(3.141, 2)", output: '"3.14"', outputFlowCurrentLanguage: "en-US" }, { input: "ToDisplayString(3.14159, 3)", output: '"3,142"', outputFlowCurrentLanguage: "de-DE" }] }, { description: "AR_FN_STR_TODISPLAY_DEC_COLL_LNG_DSC", identifier: "String_ONE toDisplay(Decimal_COLL,Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAY_DEC_COLL_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAY_DEC_COLL_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAY_DEC_COLL_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "0", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToDisplayString(MakeList(21.12, 9.0125), 1)", output: '"21.1\\n9.0"', outputFlowCurrentLanguage: "en-US", addNewLineInfo: true }, { input: "ToDisplayString(MakeList(21.12, 9.0125), 5)", output: '"21,12000\\n9,01250"', outputFlowCurrentLanguage: "de-DE", addNewLineInfo: true }] }, { description: "AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_DSC", identifier: "String_ONE toDisplayString(Decimal_COLL,String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_PRM_DSC_2", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 2, max: "28", min: "0", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToDisplayString(MakeList(21.12, 9.0125), "|", 1)', output: '"21.1|9.0"', outputFlowCurrentLanguage: "en-US" }, { input: 'ToDisplayString(MakeList(21.12, 9.0125), "|", 5)', output: '"21,12000|9,01250"', outputFlowCurrentLanguage: "de-DE" }] }, { description: "AR_FN_STR_TODISPLAYSTRING_NTS_DSC", identifier: "String_ONE toDisplayString(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_STR_TODISPLAYSTRING_NTS_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TODISPLAYSTRING_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDisplayString(NOT_SET)", output: "AR_FN_STR_TODISPLAYSTRING_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toString: { identifier: "toString", description: "AR_FN_DSC_TOSTRING", type: "function", name: "ToString", category: "cast", overloads: [{ description: "AR_FN_STR_TOSTRING_ANY_DSC", identifier: "String_ONE toString(Any_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_ANY_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_ANY_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "ToString(true)", output: '"true"' }, { input: "ToString(5 > 3)", output: '"true"' }, { input: "ToString(false)", output: '"false"' }, { input: "ToString(5 < 3)", output: '"false"' }, { input: "ToString(ToBool(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_4" }, { input: 'ToString(MakeCurrency(10.00, "USD"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_5" }, { input: "ToString(MakeDateTime(2009, 1, 10, 6, 30, 0))", output: '"2009-01-10T06:30:00.000Z"' }, { input: "ToString(ToDateTime(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_7" }, { input: "ToString(2000.5)", output: '"2000.5"' }, { input: "ToString(-1.0)", output: '"-1.0"' }, { input: "ToString(ToDecimal(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_10" }, { input: "ToString(MakeDuration(0, 1, 0, 0))", output: '"PT1H"' }, { input: "ToString(MakeDuration(-10, 5, 30, 0, 456))", output: '"-P9DT18H29M59.544S"' }, { input: "ToString(ToDuration(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_13" }, { input: "ToString(2000)", output: '"2000"' }, { input: "ToString(-1)", output: '"-1"' }, { input: "ToString(ToInt(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_16" }, { input: 'ToString(ToSkill("Spanish"))', output: '"Spanish"', hidden: "true" }, { input: "ToString(ToSkill(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_18" }, { input: 'ToString(FindUser("john.doe@company.com"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_19" }, { input: 'ToString(ToWrapupCode("Call back in a week"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_20", hidden: "true" }, { input: "ToString(ToSkill(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_21" }, { input: "ToString(ToUser(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_22" }, { input: "ToString(ToWrapupCode(NOT_SET))", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_23" }, { input: 'ToString(ToPhoneNumber("+1 (317) 872-3000"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_24" }, { input: "ToString(Flow.PhoneNumberVariable)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_25" }, { input: "ToString(Flow.SkillVariable)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_26" }, { input: "ToString(Flow.UserVariable)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_27" }, { input: "ToString(Flow.WrapupCodeVariable)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_28" }, { input: "ToString(Call.Contact)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_29" }, { input: "ToString(Email.Message)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_30" }, { input: "ToString(Email.Message.from)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_31" }, { input: "ToString(Email.Message.attachments[0])", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_32" }, { input: "ToString(Flow.ExternalOrganization)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_33" }, { input: "ToString(Flow.ExternalContact)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_34" }, { input: "ToString(Flow.ExternalAddress)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_35" }, { input: "ToString(Flow.ExternalPhoneNumber)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_36" }, { input: "ToString(Prompt.Welcome)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_37" }, { input: 'ToString(MakeAgentScorePair(FindUser("john.doe@company.com"), 50))', output: '"[john.doe@company.com,50]"', featureConfigName: "knownAgentRouting" }, { input: "ToString(MakeDate(2015, 1, 10))", output: '"2015-01-10"', featureConfigName: "botFlows" }, { input: "ToString(MakeTime(2, 30, 0))", output: '"02:30:00.000"', featureConfigName: "botFlows" }, { input: 'ToString(ToCommunication("Hello"))', output: '"hello"', featureConfigName: "botFlows" }, { input: "ToString(Workitem.Workitem)", output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_42", featureConfigName: "workItemFlows" }, { input: 'ToString(FindEmergencyGroup("Flooding"))', output: "Returns the name property from the supplied Emergency Group. If Emergency Group value is NOT_SET, a NOT_SET String is returned.", featureConfigName: "orgAvailabilityRoutingEmergencyGroups" }, { input: 'ToString(FindSchedule("Morning Hours"))', output: "Returns the name property from the supplied Schedule. If Schedule value is NOT_SET, a NOT_SET String is returned.", featureConfigName: "orgAvailabilityRoutingSchedules" }, { input: 'ToString(FindScheduleGroup("West Coast"))', output: "Returns the name property from the supplied Schedule Group. If Schedule Group value is NOT_SET, a NOT_SET String is returned.", featureConfigName: "orgAvailabilityRoutingScheduleGroups" }, { input: "ToString(MakeEmptyJsonObject())", output: '"{}"', featureConfigName: "encryptDecryptDataFeature" }, { input: 'ToString(JsonParse("{ \\"a\\": true }"))', output: '"{"a":true}"', featureConfigName: "encryptDecryptDataFeature" }, { input: 'ToString(JsonParse(Append("[1, 2, ", ToString(3>5), "]")))', output: '"[1,2,false]"', featureConfigName: "encryptDecryptDataFeature" }, { input: 'ToString(FindUtilizationLabel("green"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_49", featureConfigName: "conversationUtilizationLabels" }, { input: 'ToString(FindWorktypeStatus("NewOpportunity"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_50", featureConfigName: "workItemFlows" }, { input: 'ToString(MakeTimePicker("Schedule Appointment"))', output: "AR_FN_STR_TOSTRING_ANY_EX_OUT_51", featureConfigName: "botFlowsMessagingDatePicker" }, { input: "ToString(MakeTimeslot(MakeDateTime(2009, 1, 10, 6, 30, 0), MakeDuration(0, 1, 0, 0)))", output: '"2009-01-10T06:30:00.000Z|PT1H"', featureConfigName: "botFlowsMessagingDatePicker" }, { input: 'ToString(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))', output: '"Fries"', featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToString(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))))', output: '"Sides"', featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToString(MakeListPicker(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))), MakeImageFromUrl(NOT_SET), "Menu", "Items to order", MakeImageFromUrl(NOT_SET), NOT_SET))', output: '"Sides"', featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_STR_TOSTRING_NTS_DSC", identifier: "String_ONE toString(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_STR_TOSTRING_NTS_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToString(NOT_SET)", output: "AR_FN_STR_TOSTRING_NTS_EX_OUT_0" }] }, { description: "AR_FN_STR_TOSTRING_ANY_COLL_DSC", identifier: "String_ONE toString(Any_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_ANY_COLL_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_ANY_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "ToString(MakeList(true, false))", output: '"true\\nfalse"', addNewLineInfo: true }, { input: "ToString(MakeList(ToBool(NOT_SET), false))", output: '"\\nfalse"', addNewLineInfo: true }, { input: 'ToString(MakeList(MakeCurrency(10.00, "USD"), MakeCurrency(5.00, "EUR")))', output: '"10.00|USD\\n5.00|EUR"', addNewLineInfo: true }, { input: "ToString(MakeList(ToDateTime(NOT_SET), MakeDateTime(2009, 1, 10, 6, 30, 0)))", output: '"\\n2009-01-10T06:30:00.000Z"', addNewLineInfo: true }, { input: "ToString(MakeList(2000.5, -1.0))", output: '"2000.5\\n-1.0"', addNewLineInfo: true }, { input: "ToString(MakeList(ToDecimal(NOT_SET), -1.0))", output: '"\\n-1.0"', addNewLineInfo: true }, { input: "ToString(MakeList(MakeDuration(0, 1, 0, 0), MakeDuration(-10, 5, 30, 0)))", output: '"PT1H\\n-P9DT18H30M"', addNewLineInfo: true }, { input: "ToString(MakeList(ToDuration(NOT_SET), MakeDuration(-10, 5, 30, 0)))", output: '"\\n-P9DT18H30M"', addNewLineInfo: true }, { input: "ToString(MakeList(2000, -1))", output: '"2000\\n-1"', addNewLineInfo: true }, { input: "ToString(MakeList(ToInt(NOT_SET), -1))", output: '"\\n-1"', addNewLineInfo: true }, { input: 'ToString(MakeList(ToSkill("Spanish"), ToSkill("German")))', output: '"Spanish\\nGerman"', addNewLineInfo: true, hidden: "true" }, { input: 'ToString(MakeList(ToSkill(NOT_SET), ToSkill("German")))', output: '"\\nGerman"', addNewLineInfo: true, hidden: "true" }, { input: 'ToString(MakeList("Hello", "World"))', output: '"Hello\\nWorld"', addNewLineInfo: true }, { input: 'ToString(MakeList("Hello", ToString(NOT_SET)))', output: '"Hello\\n"', addNewLineInfo: true }, { input: 'ToString(MakeList(FindUser("john.doe@company.com"), FindUser("jane.doe@company.com")))', output: '"john.doe@company.com\\njane.doe@company.com"', addNewLineInfo: true }, { input: 'ToString(MakeList(ToUser(NOT_SET), ToUser("jane.doe@company.com")))', output: '"\\njane.doe@company.com"', addNewLineInfo: true, hidden: "true" }, { input: "ToString(MakeList(ToSkill(NOT_SET), ToSkill(NOT_SET)))", output: '"\\n"', addNewLineInfo: true }, { input: "ToString(MakeList(ToUser(NOT_SET), ToUser(NOT_SET)))", output: '"\\n"', addNewLineInfo: true }, { input: 'ToString(MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET))))', output: '"Fries\\nSoup"', addNewLineInfo: true, featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToString(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))), MakeListPickerSection("Desserts", true, MakeList(MakeListPickerItem("Cookie", NOT_SET, MakeImageFromUrl(NOT_SET))))))', output: '"Sides\\nDessert"', addNewLineInfo: true, featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_STR_TOSTRING_ANY_COLL_STR_DSC", identifier: "String_ONE toString(Any_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_ANY_COLL_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_ANY_COLL_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_ANY_COLL_STR_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToString(MakeList(true, false), "|")', output: '"true|false"' }, { input: 'ToString(MakeList(NOT_SET, false), "|")', output: '"|false"' }, { input: 'ToString(MakeList(MakeCurrency(10.00, "USD"), MakeCurrency(5.00, "EUR")), "#")', output: '"10.00|USD#5.00|EUR"' }, { input: 'ToString(MakeList(NOT_SET, MakeDateTime(2009, 1, 10, 6, 30, 0)), "|")', output: '"|2009-01-10T06:30:00.000Z"' }, { input: 'ToString(MakeList(2000.5, -1.0), "|")', output: '"2000.5|-1.0"' }, { input: 'ToString(MakeList(NOT_SET, -1.0), "|")', output: '"|-1.0"' }, { input: 'ToString(MakeList(MakeDuration(0, 1, 0, 0), MakeDuration(-10, 5, 30, 0)), "|")', output: '"PT1H|-P9DT18H30M"' }, { input: 'ToString(MakeList(NOT_SET, MakeDuration(-10, 5, 30, 0)), "|")', output: '"|-P9DT18H30M"' }, { input: 'ToString(MakeList(2000, -1), "|")', output: '"2000|-1"' }, { input: 'ToString(MakeList(NOT_SET, -1), "|")', output: '"|-1"' }, { input: 'ToString(MakeList(ToSkill("Spanish"), ToSkill("German")), "|")', output: '"Spanish|German"', hidden: "true" }, { input: 'ToString(MakeList(NOT_SET, ToSkill("German")), "|")', output: '"|German"', hidden: "true" }, { input: 'ToString(MakeList("Hello", "World"), "|")', output: '"Hello|World"' }, { input: 'ToString(MakeList("Hello", NOT_SET), "|")', output: '"Hello|"' }, { input: 'ToString(MakeList(ToUser("john.doe@company.com"), ToUser("jane.doe@company.com")), "|")', output: '"john.doe@company.com|jane.doe@company.com"', hidden: "true" }, { input: 'ToString(MakeList(NOT_SET, ToUser("jane.doe@company.com")), "|")', output: '"|jane.doe@company.com"', hidden: "true" }, { input: 'ToString(MakeList(ToUser(NOT_SET), ToUser(NOT_SET)), "|")', output: '"|"' }, { input: 'ToString(MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET))), "|")', output: '"Fries|Soup"', featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToString(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))), MakeListPickerSection("Desserts", true, MakeList(MakeListPickerItem("Cookie", NOT_SET, MakeImageFromUrl(NOT_SET))))), "|")', output: '"Sides|Dessert"', featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_STR_TOSTRING_DEC_LNG_DSC", identifier: "String_ONE toString(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_DEC_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_LNG_PRM_DSC_0", identifier: "decimalValueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "1", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToString(2000.506, 2)", output: '"2000.51"' }, { input: "ToString(1.125, 2)", output: '"1.13"' }, { input: "ToString(-1.0, 3)", output: '"-1.000"' }, { input: "ToString(ToDecimal(NOT_SET), 2)", output: "AR_FN_STR_TOSTRING_DEC_LNG_EX_OUT_3" }] }, { description: "AR_FN_STR_TOSTRING_CUR_LNG_DSC", identifier: "String_ONE toString(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_CUR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_LNG_PRM_DSC_0", identifier: "currencyValueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "1", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToString(MakeCurrency(2000.506, "USD"), 2)', output: '"2000.51|USD"' }, { input: 'ToString(MakeCurrency(1.125, "USD"), 2)', output: '"1.13|USD"' }, { input: 'ToString(MakeCurrency(-1.0, "USD"), 3)', output: '"-1.000|USD"' }, { input: 'ToString(MakeCurrency(ToDecimal(NOT_SET), "USD"), 2)', output: "|USD" }, { input: "ToString(MakeCurrency(ToDecimal(NOT_SET), ToString(NOT_SET)), 2)", output: "|" }] }, { description: "AR_FN_STR_TOSTRING_DEC_COLL_LNG_DSC", identifier: "String_ONE toString(Decimal_COLL,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_DEC_COLL_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_COLL_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_COLL_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "1", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToString(MakeList(2000.5, -1.0), 2)", output: '"2000.50\\n-1.00"', addNewLineInfo: true }, { input: "ToString(MakeList(NOT_SET, -1.0), 4)", output: '"\\n-1.0000"', addNewLineInfo: true }] }, { description: "AR_FN_STR_TOSTRING_CUR_COLL_LNG_DSC", identifier: "String_ONE toString(Currency_COLL,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_CUR_COLL_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_COLL_LNG_PRM_DSC_0", identifier: "currencyCollectionToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_COLL_LNG_PRM_DSC_1", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 1, max: "28", min: "1", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToString(MakeList(MakeCurrency(2000.50, "USD"), MakeCurrency(-1.00, "USD")), 2)', output: '"2000.50|USD\\n-1.00|USD"', addNewLineInfo: true }, { input: 'ToString(MakeList(MakeCurrency(ToDecimal(NOT_SET), "USD"), MakeCurrency(-1.00, ToString(NOT_SET))), 2)', output: '"|USD\\n-1.00|"', addNewLineInfo: true }] }, { description: "AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_DSC", identifier: "String_ONE toString(Decimal_COLL,String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_PRM_DSC_2", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 2, max: "28", min: "1", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToString(MakeList(2000.5, -1.0), "|", 2)', output: '"2000.50|-1.00"' }, { input: 'ToString(MakeList(ToDecimal(NOT_SET), -1.0), "|", 4)', output: '"|-1.0000"' }] }, { description: "AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_DSC", identifier: "String_ONE toString(Currency_COLL,String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_PRM_DSC_0", identifier: "currencyCollectionToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_PRM_DSC_2", identifier: "decimalPlaces", isArray: false, helpDisplayIdx: 2, max: "28", min: "1", repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToString(MakeList(MakeCurrency(2000.50, "USD"), MakeCurrency(-1.00, "USD")), "^", 2)', output: '"2000.50|USD^-1.00|USD"' }, { input: 'ToString(MakeList(MakeCurrency(ToDecimal(NOT_SET), "USD"), MakeCurrency(-1.00, ToString(NOT_SET))), "^", 2)', output: '"|USD^-1.00|"' }] }] }, toInt: { identifier: "toInt", description: "AR_FN_DSC_TOINT", type: "function", name: "ToInt", category: "cast", overloads: [{ description: "AR_FN_LNG_TOINT_BLN_DSC", identifier: "Long_ONE toInt(Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_TOINT_BLN_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_BLN_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }], examples: [{ input: "ToInt(true)", output: "1" }, { input: "ToInt(false)", output: "0" }, { input: "ToInt(ToBool(NOT_SET))", output: "AR_FN_LNG_TOINT_BLN_EX_OUT_2" }] }, { description: "AR_FN_LNG_TOINT_DEC_DSC", identifier: "Long_ONE toInt(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_TOINT_DEC_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_DEC_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }], examples: [{ input: "ToInt(1.0)", output: "1" }, { input: "ToInt(3.7)", output: "3" }, { input: "ToInt(3.2)", output: "3" }, { input: "ToInt(-5.2)", output: "-5" }, { input: "ToInt(-5.7)", output: "-5" }, { input: "ToInt(ToDecimal(NOT_SET))", output: "AR_FN_LNG_TOINT_DEC_EX_OUT_5" }] }, { description: "AR_FN_LNG_TOINT_STR_DSC", identifier: "Long_ONE toInt(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_TOINT_STR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToInt("25")', output: "25" }, { input: 'ToInt("-55")', output: "-55" }, { input: 'ToInt("0")', output: "0" }, { input: "ToInt(ToString(NOT_SET))", output: "AR_FN_LNG_TOINT_STR_EX_OUT_3" }, { input: 'ToInt("")', output: "AR_FN_LNG_TOINT_STR_EX_OUT_4" }, { input: 'ToInt("\xA0\xA0")', output: "AR_FN_LNG_TOINT_STR_EX_OUT_5" }, { input: 'ToInt("A String")', output: "AR_FN_LNG_TOINT_STR_EX_OUT_6" }] }, { description: "AR_FN_LNG_TOINT_STR_LNG_DSC", identifier: "Long_ONE toInt(String_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_TOINT_STR_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_STR_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_STR_LNG_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "int" }], examples: [{ input: 'ToInt("25", 15)', output: "25" }, { input: 'ToInt("five", 20)', output: "20" }, { input: 'ToInt("~0", 10)', output: "10" }, { input: "ToInt(ToString(NOT_SET), 15)", output: "AR_FN_LNG_TOINT_STR_LNG_EX_OUT_3" }, { input: 'ToInt("", 15)', output: "AR_FN_LNG_TOINT_STR_LNG_EX_OUT_4" }, { input: 'ToInt("A String", 12)', output: "12" }] }, { description: "AR_FN_LNG_TOINT_NTS_DSC", identifier: "Long_ONE toInt(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_LNG_TOINT_NTS_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToInt(NOT_SET)", output: "AR_FN_LNG_TOINT_NTS_EX_OUT_0" }] }, { description: "AR_FN_LNG_TOINT_LNG_DSC", identifier: "Long_ONE toInt(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_TOINT_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_LNG_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToInt(5)", output: "5" }] }, { description: "AR_FN_LNG_TOINT_DUR_DSC", identifier: "Long_ONE toInt(Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_LNG_TOINT_DUR_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_DUR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dur" }], examples: [{ input: "ToInt(MakeDuration(0,0,0,1))", output: "1000" }, { input: "ToInt(MakeDuration(0,0,1,0))", output: "60000" }, { input: "ToInt(MakeDuration(0,-1,5,0,500))", output: "-3299500" }, { input: "ToInt(ToDuration(NOT_SET))", output: "AR_FN_LNG_TOINT_DUR_EX_OUT_3" }] }, { description: "AR_FN_LNG_TOINT_JSON_DSC", identifier: "Long_ONE toInt(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_TOINT_JSON_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_JSON_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'ToInt(JsonParse("5"))', output: "5" }, { input: 'ToInt(JsonParse("-5.2"))', output: "-5" }, { input: 'ToInt(JsonParse("true"))', output: "1" }, { input: 'ToInt(JsonParse(ToString("A" > "B")))', output: "0" }, { input: 'ToInt(JsonParse("null"))', output: "AR_FN_LNG_TOINT_JSON_EX_OUT_4" }, { input: "ToInt(ToJson(NOT_SET))", output: "AR_FN_LNG_TOINT_JSON_EX_OUT_5" }] }, { description: "AR_FN_LNG_TOINT_JSON_LNG_DSC", identifier: "Long_ONE toInt(JSON_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_TOINT_JSON_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_JSON_LNG_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LNG_TOINT_JSON_LNG_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "int" }], examples: [{ input: 'ToInt(JsonParse("5"), -1)', output: "5" }, { input: 'ToInt(JsonParse("\\"apple\\""), 10)', output: "10" }, { input: 'ToInt(JsonParse("[1, 2]"), 7)', output: "7" }, { input: 'ToInt(JsonParse(ToString("A" > "B")), ToInt(NOT_SET))', output: "0" }, { input: "ToInt(ToJson(NOT_SET), 4)", output: "AR_FN_LNG_TOINT_JSON_LNG_EX_OUT_4" }] }], needsServerInfo: true }, toDecimal: { identifier: "toDecimal", description: "AR_FN_DSC_TODECIMAL", type: "function", name: "ToDecimal", category: "cast", overloads: [{ description: "AR_FN_DEC_TODECIMAL_BLN_DSC", identifier: "Decimal_ONE toDecimal(Boolean_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_TODECIMAL_BLN_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_BLN_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }], examples: [{ input: "ToDecimal(true)", output: "1.0" }, { input: "ToDecimal(false)", output: "0.0" }, { input: "ToDecimal(ToBool(NOT_SET))", output: "AR_FN_DEC_TODECIMAL_BLN_EX_OUT_2" }] }, { description: "AR_FN_DEC_TODECIMAL_CUR_DSC", identifier: "Decimal_ONE toDecimal(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_TODECIMAL_CUR_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_CUR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }], examples: [{ input: 'ToDecimal(MakeCurrency(5.25, "USD"))', output: "5.25" }, { input: 'ToDecimal(MakeCurrency(2.00, "EUR"))', output: "2.00" }, { input: 'ToDecimal(MakeCurrency(NOT_SET, "USD"))', output: "AR_FN_DEC_TODECIMAL_CUR_EX_OUT_2" }] }, { description: "AR_FN_DEC_TODECIMAL_STR_DSC", identifier: "Decimal_ONE toDecimal(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_TODECIMAL_STR_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToDecimal("0.0")', output: "0.0" }, { input: 'ToDecimal("-100.5")', output: "-100.5" }, { input: "ToDecimal(ToString(NOT_SET))", output: "AR_FN_DEC_TODECIMAL_STR_EX_OUT_2" }, { input: 'ToDecimal("")', output: "AR_FN_DEC_TODECIMAL_STR_EX_OUT_3" }, { input: 'ToDecimal("\xA0\xA0")', output: "AR_FN_DEC_TODECIMAL_STR_EX_OUT_4" }, { input: 'ToDecimal("A String")', output: "AR_FN_DEC_TODECIMAL_STR_EX_OUT_5" }] }, { description: "AR_FN_DEC_TODECIMAL_STR_DEC_DSC", identifier: "Decimal_ONE toDecimal(String_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DEC_TODECIMAL_STR_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_STR_DEC_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_STR_DEC_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "dec" }], examples: [{ input: 'ToDecimal("one hundred point five", 7.5)', output: "7.5" }, { input: 'ToDecimal("0.0", 15.0)', output: "0.0" }, { input: "ToDecimal(ToString(NOT_SET), 10.75)", output: "AR_FN_DEC_TODECIMAL_STR_DEC_EX_OUT_2" }, { input: 'ToDecimal("", -5.25)', output: "AR_FN_DEC_TODECIMAL_STR_DEC_EX_OUT_3" }, { input: 'ToDecimal("A String", -12.15)', output: "-12.15" }] }, { description: "AR_FN_DEC_TODECIMAL_LNG_DSC", identifier: "Decimal_ONE toDecimal(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_TODECIMAL_LNG_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToDecimal(100)", output: "100.0" }, { input: "ToDecimal(-1010)", output: "-1010.0" }, { input: "ToDecimal(0)", output: "0.0" }] }, { description: "AR_FN_DEC_TODECIMAL_NTS_DSC", identifier: "Decimal_ONE toDecimal(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_DEC_TODECIMAL_NTS_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDecimal(NOT_SET)", output: "AR_FN_DEC_TODECIMAL_NTS_EX_OUT_0" }] }, { description: "AR_FN_DEC_TODECIMAL_DEC_DSC", identifier: "Decimal_ONE toDecimal(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DEC_TODECIMAL_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_DEC_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }], examples: [{ input: "ToDecimal(5.5)", output: "5.5" }] }, { description: "AR_FN_DEC_TODECIMAL_JSON_DSC", identifier: "Decimal_ONE toDecimal(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DEC_TODECIMAL_JSON_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_JSON_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'ToDecimal(JsonParse("5"))', output: "5.0" }, { input: 'ToDecimal(JsonParse("-5.2"))', output: "-5.2" }, { input: 'ToDecimal(JsonParse("true"))', output: "1.0" }, { input: 'ToDecimal(JsonParse("null"))', output: "AR_FN_DEC_TODECIMAL_JSON_EX_OUT_3" }, { input: "ToDecimal(ToJson(NOT_SET))", output: "AR_FN_DEC_TODECIMAL_JSON_EX_OUT_4" }] }, { description: "AR_FN_DEC_TODECIMAL_JSON_DEC_DSC", identifier: "Decimal_ONE toDecimal(JSON_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DEC_TODECIMAL_JSON_DEC_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_JSON_DEC_PRM_DSC_0", identifier: "jsonValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_TODECIMAL_JSON_DEC_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "dec" }], examples: [{ input: 'ToDecimal(JsonParse("\\"apple\\""), 2.25)', output: "2.25" }, { input: 'ToDecimal(JsonParse("-5.2"), 0.0)', output: "-5.2" }, { input: "ToDecimal(ToJson(NOT_SET), 1.0)", output: "AR_FN_DEC_TODECIMAL_JSON_DEC_EX_OUT_2" }, { input: 'ToDecimal(JsonParse("[1,false]"), 1.5)', output: "1.5" }] }], needsServerInfo: true }, toDate: { identifier: "toDate", description: "AR_FN_DSC_TODATE", type: "function", name: "ToDate", category: "cast", overloads: [{ description: "AR_FN_DATE_TODATE_STR_DSC", identifier: "Date_ONE toDate(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_TODATE_STR_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DATE_TODATE_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToDate("2009-01-10")', output: "AR_FN_DATE_TODATE_STR_EX_OUT_0" }, { input: "ToDate(ToString(NOT_SET))", output: "AR_FN_DATE_TODATE_STR_EX_OUT_1" }] }, { description: "AR_FN_DATE_TODATE_NTS_DSC", identifier: "Date_ONE toDate(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_TODATE_NTS_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DATE_TODATE_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDate(NOT_SET)", output: "AR_FN_DATE_TODATE_NTS_EX_OUT_0" }] }, { description: "AR_FN_DATE_TODATE_DTM_DSC", identifier: "Date_ONE toDate(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_TODATE_DTM_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DATE_TODATE_DTM_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }], examples: [{ input: "ToDate(MakeDateTime(2012, 9, 22, 2, 30, 0))", output: "AR_FN_DATE_TODATE_DTM_EX_OUT_0" }, { input: "ToDate(ToDateTime(NOT_SET))", output: "AR_FN_DATE_TODATE_DTM_EX_OUT_1" }] }, { description: "AR_FN_DATE_TODATE_DATE_DSC", identifier: "Date_ONE toDate(Date_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DATE_TODATE_DATE_RV", isArray: false, type: "dat" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DATE_TODATE_DATE_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dat" }], examples: [{ input: "ToDate(MakeDate(2003, 1, 1))", output: "AR_FN_DATE_TODATE_DATE_EX_OUT_0" }, { input: "ToDate(ToDate(NOT_SET))", output: "AR_FN_DATE_TODATE_DATE_EX_OUT_1" }] }], needsServerInfo: true }, toDateTime: { identifier: "toDateTime", description: "AR_FN_DSC_TODATETIME", type: "function", name: "ToDateTime", category: "cast", overloads: [{ description: "AR_FN_DTM_TODATETIME_STR_DSC", identifier: "DateTime_ONE toDateTime(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_TODATETIME_STR_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToDateTime("2009-01-10T06:30:00Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_0" }, { input: 'ToDateTime("2009-01-10T06:30:00-07:00")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_1" }, { input: 'ToDateTime("2009-01-10T06:30:00+02:00")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_2" }, { input: "ToDateTime(ToString(NOT_SET))", output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_3" }, { input: 'ToDateTime("2009T06:30:00Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_4" }, { input: 'ToDateTime("2010-03-20T06:30Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_5" }, { input: 'ToDateTime("2011-03T06:30Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_6" }, { input: 'ToDateTime("2009T06:30Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_7" }, { input: 'ToDateTime("2012T01:30-05:00")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_8" }, { input: 'ToDateTime("T06:30:00Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_9" }, { input: 'ToDateTime("T06:30Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_10" }, { input: 'ToDateTime("T06Z")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_11" }, { input: 'ToDateTime("T06")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_12" }, { input: 'ToDateTime("2009-03-20")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_13" }, { input: 'ToDateTime("2009-03")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_14" }, { input: 'ToDateTime("2009")', output: "AR_FN_DTM_TODATETIME_STR_EX_OUT_15" }] }, { description: "AR_FN_DTM_TODATETIME_LNG_DSC", identifier: "DateTime_ONE toDateTime(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_TODATETIME_LNG_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToDateTime(3600)", output: "AR_FN_DTM_TODATETIME_LNG_EX_OUT_0" }, { input: "ToDateTime(ToInt(NOT_SET))", output: "AR_FN_DTM_TODATETIME_LNG_EX_OUT_1" }] }, { description: "AR_FN_DTM_TODATETIME_NTS_DSC", identifier: "DateTime_ONE toDateTime(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_DTM_TODATETIME_NTS_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDateTime(NOT_SET)", output: "AR_FN_DTM_TODATETIME_NTS_EX_OUT_0" }] }, { description: "AR_FN_DTM_TODATETIME_DTM_DSC", identifier: "DateTime_ONE toDateTime(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_TODATETIME_DTM_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_DTM_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }], examples: [{ input: "ToDateTime(MakeDateTime(2003, 1, 1, 0, 0, 0))", output: "AR_FN_DTM_TODATETIME_DTM_EX_OUT_0" }] }, { description: "AR_FN_DTM_TODATETIME_JSON_DSC", identifier: "DateTime_ONE toDateTime(JSON_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DTM_TODATETIME_JSON_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_JSON_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'ToDateTime(JsonParse("3600"))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_0" }, { input: 'ToDateTime(JsonParse("3600.0258"))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_1" }, { input: 'ToDateTime(JsonParse("\\"2009-01-10T06:30:00Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_2" }, { input: 'ToDateTime(JsonParse("\\"2009-01-10T06:30:00+02:00\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_3" }, { input: 'ToDateTime(JsonParse("\\"2009T06:30:00Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_4" }, { input: 'ToDateTime(JsonParse("\\"2010-03-20T06:30Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_5" }, { input: 'ToDateTime(JsonParse("\\"2011-03T06:30Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_6" }, { input: 'ToDateTime(JsonParse("\\"2009T06:30Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_7" }, { input: 'ToDateTime(JsonParse("\\"2012T01:30-05:00\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_8" }, { input: 'ToDateTime(JsonParse("\\"T06:30:00Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_9" }, { input: 'ToDateTime(JsonParse("\\"T06:30Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_10" }, { input: 'ToDateTime(JsonParse("\\"T06Z\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_11" }, { input: 'ToDateTime(JsonParse("\\"T06\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_12" }, { input: 'ToDateTime(JsonParse("\\"2009-03-20\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_13" }, { input: 'ToDateTime(JsonParse("\\"2009-03\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_14" }, { input: 'ToDateTime(JsonParse("\\"2009\\""))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_15" }, { input: 'ToDateTime(JsonParse("null"))', output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_16" }, { input: "ToDateTime(ToJson(NOT_SET))", output: "AR_FN_DTM_TODATETIME_JSON_EX_OUT_17" }] }, { description: "AR_FN_DTM_TODATETIME_JSON_DTM_DSC", identifier: "DateTime_ONE toDateTime(JSON_ONE,DateTime_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DTM_TODATETIME_JSON_DTM_RV", isArray: false, type: "dtm" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_JSON_DTM_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_DTM_TODATETIME_JSON_DTM_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "dtm" }], examples: [{ input: 'ToDateTime(JsonParse("3600.75"), MakeDateTime(2009, 3, 20, 12, 00, 00))', output: "AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_0" }, { input: 'ToDateTime(JsonParse("\\"2009-01-10T06:30:00Z\\""), MakeDateTime(2009, 3, 20, 12, 00, 00))', output: "AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_1" }, { input: 'ToDateTime(JsonParse("\\"September 5th, 2022\\""), MakeDateTime(2019, 4, 20, 12, 00, 00))', output: "AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_2" }, { input: 'ToDateTime(JsonParse("\\"2509-03\\""), MakeDateTime(2011, 2, 20, 12, 00, 00))', output: "AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_3" }, { input: 'ToDateTime(JsonParse("\\"two thousand nine\\""), MakeDateTime(2009, 3, 15, 12, 00, 00))', output: "AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_4" }, { input: 'ToDateTime(JsonParse("null"), MakeDateTime(2009, 3, 20, 12, 00, 00))', output: "AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_5" }] }], needsServerInfo: true }, toTime: { identifier: "toTime", description: "AR_FN_DSC_TOTIME", type: "function", name: "ToTime", category: "cast", overloads: [{ description: "AR_FN_TIME_TOTIME_STR_DSC", identifier: "Time_ONE toTime(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_TOTIME_STR_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIME_TOTIME_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToTime("02:30:15")', output: "AR_FN_TIME_TOTIME_STR_EX_OUT_0" }, { input: "ToTime(ToString(NOT_SET))", output: "AR_FN_TIME_TOTIME_STR_EX_OUT_1" }, { input: 'ToTime("02:30")', output: "AR_FN_TIME_TOTIME_STR_EX_OUT_2" }, { input: 'ToTime("14:59:00")', output: "AR_FN_TIME_TOTIME_STR_EX_OUT_3" }] }, { description: "AR_FN_TIME_TOTIME_NTS_DSC", identifier: "Time_ONE toTime(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_TOTIME_NTS_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIME_TOTIME_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToTime(NOT_SET)", output: "AR_FN_TIME_TOTIME_NTS_EX_OUT_0" }] }, { description: "AR_FN_TIME_TOTIME_TIME_DSC", identifier: "Time_ONE toTime(Time_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_TOTIME_TIME_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIME_TOTIME_TIME_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "tim" }], examples: [{ input: "ToTime(MakeTime(2, 45, 0))", output: "AR_FN_TIME_TOTIME_TIME_EX_OUT_0" }, { input: "ToTime(ToTime(NOT_SET))", output: "AR_FN_TIME_TOTIME_TIME_EX_OUT_1" }] }, { description: "AR_FN_TIME_TOTIME_DTM_DSC", identifier: "Time_ONE toTime(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_TIME_TOTIME_DTM_RV", isArray: false, type: "tim" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIME_TOTIME_DTM_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }], examples: [{ input: "ToTime(MakeDateTime(2012, 9, 22, 3, 5, 0))", output: "AR_FN_TIME_TOTIME_DTM_EX_OUT_0" }, { input: "ToTime(ToDateTime(NOT_SET))", output: "AR_FN_TIME_TOTIME_DTM_EX_OUT_1" }] }], needsServerInfo: true }, toDivision: { identifier: "toDivision", description: "AR_FN_DSC_TODIVISION", type: "function", name: "ToDivision", category: "cast", overloads: [{ description: "AR_FN_DIVISION_TODIVISION_DIVISION_DSC", identifier: "Division_ONE toDivision(Division_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_TODIVISION_DIVISION_RV", isArray: false, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_TODIVISION_DIVISION_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dvn" }], examples: [{ input: "ToDivision(ToDivision(NOT_SET))", output: "AR_FN_DIVISION_TODIVISION_DIVISION_EX_OUT_0" }] }, { description: "AR_FN_DIVISION_TODIVISION_NTS_DSC", identifier: "Division_ONE toDivision(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIVISION_TODIVISION_NTS_RV", isArray: false, type: "dvn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIVISION_TODIVISION_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDivision(NOT_SET)", output: "AR_FN_DIVISION_TODIVISION_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toDuration: { identifier: "toDuration", description: "AR_FN_DSC_TODURATION", type: "function", name: "ToDuration", category: "cast", overloads: [{ description: "AR_FN_DUR_TODURATION_STR_DSC", identifier: "Duration_ONE toDuration(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_TODURATION_STR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_TODURATION_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToDuration("PT0S")', output: "AR_FN_DUR_TODURATION_STR_EX_OUT_0" }, { input: 'ToDuration("P1DT3H")', output: "AR_FN_DUR_TODURATION_STR_EX_OUT_1" }, { input: 'ToDuration("-P1DT3H")', output: "AR_FN_DUR_TODURATION_STR_EX_OUT_2" }, { input: 'ToDuration("PT1H15M30.250S")', output: "AR_FN_DUR_TODURATION_STR_EX_OUT_3" }, { input: 'ToDuration("PT1H15M30.250567S")', output: "AR_FN_DUR_TODURATION_STR_EX_OUT_4" }, { input: "ToDuration(ToString(NOT_SET))", output: "AR_FN_DUR_TODURATION_STR_EX_OUT_5" }] }, { description: "AR_FN_DUR_TODURATION_LNG_DSC", identifier: "Duration_ONE toDuration(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_TODURATION_LNG_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_TODURATION_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToDuration(1000 * 60 * 60)", output: "AR_FN_DUR_TODURATION_LNG_EX_OUT_0" }, { input: "ToDuration(1000 * 60 * 60 * 24)", output: "AR_FN_DUR_TODURATION_LNG_EX_OUT_1" }, { input: "ToDuration(ToInt(NOT_SET))", output: "AR_FN_DUR_TODURATION_LNG_EX_OUT_2" }] }, { description: "AR_FN_DUR_TODURATION_NTS_DSC", identifier: "Duration_ONE toDuration(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_DUR_TODURATION_NTS_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_TODURATION_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToDuration(NOT_SET)", output: "AR_FN_DUR_TODURATION_NTS_EX_OUT_0" }] }, { description: "AR_FN_DUR_TODURATION_DUR_DSC", identifier: "Duration_ONE toDuration(Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_TODURATION_DUR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_TODURATION_DUR_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dur" }], examples: [{ input: "ToDuration(MakeDuration(0, 1, 0, 0))", output: "AR_FN_DUR_TODURATION_DUR_EX_OUT_0" }] }] }, toTimeslot: { identifier: "toTimeslot", description: "AR_FN_DSC_TOTIMESLOT", type: "function", name: "ToTimeslot", category: "datetime", overloads: [{ description: "AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_DSC", identifier: "Timeslot_ONE toTimeslot(Timeslot_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_RV", isArray: false, type: "tsl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "tsl" }], examples: [{ input: "ToTimeslot(ToTimeslot(NOT_SET))", output: "AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_EX_OUT_0" }] }, { description: "AR_FN_TIMESLOT_TOTIMESLOT_STR_DSC", identifier: "Timeslot_ONE toTimeslot(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMESLOT_TOTIMESLOT_STR_RV", isArray: false, type: "tsl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMESLOT_TOTIMESLOT_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToTimeslot("2009-01-10T06:30:00.000Z|PT1H")', output: "AR_FN_TIMESLOT_TOTIMESLOT_STR_EX_OUT_0" }] }, { description: "AR_FN_TIMESLOT_TOTIMESLOT_NTS_DSC", identifier: "Timeslot_ONE toTimeslot(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMESLOT_TOTIMESLOT_NTS_RV", isArray: false, type: "tsl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMESLOT_TOTIMESLOT_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToTimeslot(NOT_SET)", output: "AR_FN_TIMESLOT_TOTIMESLOT_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toGrammar: { identifier: "toGrammar", description: "AR_FN_DSC_TOGRAMMAR", type: "function", name: "ToGrammar", category: "cast", overloads: [{ description: "AR_FN_GRAMMAR_TOGRAMMAR_STR_DSC", identifier: "Grammar_ONE toGrammar(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", voice: "voice" }, hidden: true, returnValue: { description: "AR_FN_GRAMMAR_TOGRAMMAR_STR_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_TOGRAMMAR_STR_PRM_DSC_0", identifier: "GrammarName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_GRAMMAR_TOGRAMMAR_NTS_DSC", identifier: "Grammar_ONE toGrammar(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { bot: "bot", voice: "voice" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRAMMAR_TOGRAMMAR_NTS_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_TOGRAMMAR_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToGrammar(NOT_SET)", output: "AR_FN_GRAMMAR_TOGRAMMAR_NTS_EX_OUT_0" }] }, { description: "AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_DSC", identifier: "Grammar_ONE toGrammar(Grammar_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", voice: "voice" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_RV", isArray: false, type: "gmr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "gmr" }], examples: [{ input: "ToGrammar(ToGrammar(NOT_SET))", output: "AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_EX_OUT_0" }] }], needsServerInfo: true }, toImage: { identifier: "toImage", description: "AR_FN_DSC_TOIMAGE", type: "function", name: "ToImage", category: "cast", overloads: [{ description: "AR_FN_IMAGE_TOIMAGE_IMAGE_DSC", identifier: "Image_ONE toImage(Image_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { commonmodule: "commonmodule", digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_TOIMAGE_IMAGE_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_TOIMAGE_IMAGE_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "img" }], examples: [{ input: "ToImage(ToImage(NOT_SET))", output: "AR_FN_IMAGE_TOIMAGE_IMAGE_EX_OUT_0" }] }, { description: "AR_FN_IMAGE_TOIMAGE_NTS_DSC", identifier: "Image_ONE toImage(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { commonmodule: "commonmodule", digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_TOIMAGE_NTS_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_TOIMAGE_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToImage(NOT_SET)", output: "AR_FN_IMAGE_TOIMAGE_NTS_EX_OUT_0" }] }, { description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_DSC", identifier: "Image_ONE toImage(ResponseAsset_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { commonmodule: "commonmodule", digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }], examples: [{ input: "ToImage(Flow.ResponseAsset)", output: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_EX_OUT_0" }] }, { description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_DSC", identifier: "Image_ONE toImage(ResponseAsset_ONE,Image_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { commonmodule: "commonmodule", digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "img" }], examples: [{ input: 'ToImage(Flow.ResponseAsset, MakeImageFromUrl("https://www.genesys.com/media/genesys-logo.png"))', output: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_EX_OUT_0" }, { input: 'ToImage(ToResponseAsset(NOT_SET), MakeImageFromUrl("https://www.genesys.com/media/genesys-logo.png"))', output: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_EX_OUT_1" }, { input: 'ToImage(Flow.ResponseAssetThatCannotBeConvertedToImage, MakeImageFromUrl("https://www.genesys.com/media/genesys-logo.png"))', output: "AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_EX_OUT_2" }] }], needsServerInfo: true }, toImageCollection: { identifier: "toImageCollection", description: "AR_FN_DSC_TOIMAGECOLLECTION", type: "function", name: "ToImageCollection", category: "cast", overloads: [{ description: "AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_DSC", identifier: "Image_COLL toImageCollection(ResponseAsset_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { commonmodule: "commonmodule", digitalbot: "digitalbot" }, featureConfigName: "cannedResponseAttachmentsPostGaFeature", needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_RV", isArray: true, type: "img" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "rpa" }], examples: [{ input: "ToImageCollection(MakeList(Flow.ResponseAsset, Flow.ResponseAsset2))", output: "AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_EX_OUT_0" }] }], needsServerInfo: true }, toResponseAsset: { identifier: "toResponseAsset", description: "AR_FN_DSC_TORESPONSEASSET", type: "function", name: "ToResponseAsset", category: "cast", overloads: [{ description: "AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_DSC", identifier: "ResponseAsset_ONE toResponseAsset(ResponseAsset_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_RV", isArray: false, type: "rpa" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }], examples: [{ input: "ToResponseAsset(ToResponseAsset(NOT_SET))", output: "AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_EX_OUT_0" }] }, { description: "AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_DSC", identifier: "ResponseAsset_ONE toResponseAsset(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_RV", isArray: false, type: "rpa" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToResponseAsset(NOT_SET)", output: "AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toSkill: { identifier: "toSkill", description: "AR_FN_DSC_TOSKILL", type: "function", name: "ToSkill", category: "cast", overloads: [{ description: "AR_FN_SKL_TOSKILL_STR_DSC", identifier: "Skill_ONE toSkill(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, hidden: true, returnValue: { description: "AR_FN_SKL_TOSKILL_STR_RV", isArray: false, type: "skl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SKL_TOSKILL_STR_PRM_DSC_0", identifier: "skillName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_SKL_TOSKILL_NTS_DSC", identifier: "Skill_ONE toSkill(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_SKL_TOSKILL_NTS_RV", isArray: false, type: "skl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SKL_TOSKILL_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToSkill(NOT_SET)", output: "AR_FN_SKL_TOSKILL_NTS_EX_OUT_0" }] }, { description: "AR_FN_SKL_TOSKILL_SKL_DSC", identifier: "Skill_ONE toSkill(Skill_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_SKL_TOSKILL_SKL_RV", isArray: false, type: "skl" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SKL_TOSKILL_SKL_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "skl" }], examples: [{ input: "ToSkill(ToSkill(NOT_SET))", output: "AR_FN_SKL_TOSKILL_SKL_EX_OUT_0" }] }], needsServerInfo: true }, toUserQueue: { identifier: "toUserQueue", description: "AR_FN_DSC_TOUSERQUEUE", type: "function", name: "ToUser", category: "cast", overloads: [{ description: "AR_FN_USR_TOUSER_STR_DSC", identifier: "User_ONE toUser(String_ONE)", support: { version: "1.0", resolver: "None" }, hidden: true, returnValue: { description: "AR_FN_USR_TOUSER_STR_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_TOUSER_STR_PRM_DSC_0", identifier: "userName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_USR_TOUSER_NTS_DSC", identifier: "User_ONE toUser(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_TOUSER_NTS_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_TOUSER_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToUser(NOT_SET)", output: "AR_FN_USR_TOUSER_NTS_EX_OUT_0" }] }, { description: "AR_FN_USR_TOUSER_USR_DSC", identifier: "User_ONE toUser(User_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_USR_TOUSER_USR_RV", isArray: false, type: "usr" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_USR_TOUSER_USR_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "usr" }], examples: [{ input: "ToUser(ToUser(NOT_SET))", output: "AR_FN_USR_TOUSER_USR_EX_OUT_0" }] }], needsServerInfo: true }, toLanguageSkill: { identifier: "toLanguageSkill", description: "AR_FN_DSC_TOLANGUAGESKILL", type: "function", name: "ToLanguageSkill", category: "cast", overloads: [{ description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_STR_DSC", identifier: "LanguageSkill_ONE toLanguageSkill(String_ONE)", support: { version: "1.0", resolver: "None" }, hidden: true, needsServerInfo: true, returnValue: { description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_STR_RV", isArray: false, type: "lac" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_STR_PRM_DSC_0", identifier: "languageTag", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_DSC", identifier: "LanguageSkill_ONE toLanguageSkill(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_RV", isArray: false, type: "lac" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToLanguageSkill(NOT_SET)", output: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_EX_OUT_0" }] }, { description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_DSC", identifier: "LanguageSkill_ONE toLanguageSkill(LanguageSkill_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_RV", isArray: false, type: "lac" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "lac" }], examples: [{ input: "ToLanguageSkill(ToLanguageSkill(NOT_SET))", output: "AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_EX_OUT_0" }] }], needsServerInfo: true }, toQueue: { identifier: "toQueue", description: "AR_FN_DSC_TOQUEUE", type: "function", name: "ToQueue", category: "cast", overloads: [{ description: "AR_FN_QUEUE_TOQUEUE_STR_DSC", identifier: "Queue_ONE toQueue(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, hidden: true, returnValue: { description: "AR_FN_QUEUE_TOQUEUE_STR_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_TOQUEUE_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_QUEUE_TOQUEUE_NTS_DSC", identifier: "Queue_ONE toQueue(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUEUE_TOQUEUE_NTS_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_TOQUEUE_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToQueue(NOT_SET)", output: "AR_FN_QUEUE_TOQUEUE_NTS_EX_OUT_0" }] }, { description: "AR_FN_QUEUE_TOQUEUE_QUEUE_DSC", identifier: "Queue_ONE toQueue(Queue_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUEUE_TOQUEUE_QUEUE_RV", isArray: false, type: "que" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUEUE_TOQUEUE_QUEUE_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "que" }], examples: [{ input: "ToQueue(ToQueue(NOT_SET))", output: "AR_FN_QUEUE_TOQUEUE_QUEUE_EX_OUT_0" }] }], needsServerInfo: true }, toEmergencyGroup: { identifier: "toEmergencyGroup", description: "AR_FN_DSC_TOEMERGENCYGROUP", type: "function", name: "ToEmergencyGroup", category: "cast", overloads: [{ description: "AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_DSC", identifier: "EmergencyGroup_ONE toEmergencyGroup(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_RV", isArray: false, type: "emg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToEmergencyGroup(NOT_SET)", output: "AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_EX_OUT_0" }] }, { description: "AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_DSC", identifier: "EmergencyGroup_ONE toEmergencyGroup(EmergencyGroup_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_RV", isArray: false, type: "emg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "emg" }], examples: [{ input: "ToEmergencyGroup(ToEmergencyGroup(NOT_SET))", output: "AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_EX_OUT_0" }] }], needsServerInfo: true }, toFile: { identifier: "toFile", description: "AR_FN_DSC_TOFILE", type: "function", name: "ToFile", category: "cast", overloads: [{ description: "AR_FN_FILE_TOFILE_FILE_DSC", identifier: "File_ONE toFile(File_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_FILE_TOFILE_FILE_RV", isArray: false, type: "fil" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_TOFILE_FILE_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "fil" }], examples: [{ input: "ToFile(ToFile(NOT_SET))", output: "AR_FN_FILE_TOFILE_FILE_EX_OUT_0" }] }, { description: "AR_FN_FILE_TOFILE_NTS_DSC", identifier: "File_ONE toFile(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_FILE_TOFILE_NTS_RV", isArray: false, type: "fil" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_TOFILE_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToFile(NOT_SET)", output: "AR_FN_FILE_TOFILE_NTS_EX_OUT_0" }] }, { description: "AR_FN_FILE_TOFILE_RESPONSEASSET_DSC", identifier: "File_ONE toFile(ResponseAsset_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_FILE_TOFILE_RESPONSEASSET_RV", isArray: false, type: "fil" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_TOFILE_RESPONSEASSET_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }], examples: [{ input: "ToFile(Flow.ResponseAsset)", output: "AR_FN_FILE_TOFILE_RESPONSEASSET_EX_OUT_0" }] }, { description: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_DSC", identifier: "File_ONE toFile(ResponseAsset_ONE,File_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_RV", isArray: false, type: "fil" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "fil" }], examples: [{ input: 'ToFile(Flow.ResponseAsset, MakeFileFromUrl("https://www.genesys.com/documents/genesys-digital-bot-flows.pdf"))', output: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_EX_OUT_0" }, { input: 'ToFile(ToResponseAsset(NOT_SET), MakeFileFromUrl("https://www.genesys.com/documents/genesys-digital-bot-flows.pdf"))', output: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_EX_OUT_1" }, { input: 'ToFile(Flow.ResponseAssetThatCannotBeConvertedToFile, MakeFileFromUrl("https://www.genesys.com/documents/genesys-digital-bot-flows.pdf"))', output: "AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_EX_OUT_2" }] }], needsServerInfo: true }, toFileCollection: { identifier: "toFileCollection", description: "AR_FN_DSC_TOFILECOLLECTION", type: "function", name: "ToFileCollection", category: "cast", overloads: [{ description: "AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_DSC", identifier: "File_COLL toFileCollection(ResponseAsset_COLL)", support: { version: "1.0", resolver: "None" }, featureConfigName: "cannedResponseAttachmentsPostGaFeature", needsServerInfo: true, returnValue: { description: "AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_RV", isArray: true, type: "fil" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "rpa" }], examples: [{ input: "ToFileCollection(MakeList(Flow.ResponseAsset, Flow.ResponseAsset2))", output: "AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_EX_OUT_0" }] }], needsServerInfo: true }, toGroup: { identifier: "toGroup", description: "AR_FN_DSC_TOGROUP", type: "function", name: "ToGroup", category: "cast", overloads: [{ description: "AR_FN_GRP_TOGROUP_STR_DSC", identifier: "Group_ONE toGroup(String_ONE)", support: { version: "1.0", resolver: "None" }, hidden: true, needsServerInfo: true, returnValue: { description: "AR_FN_GRP_TOGROUP_STR_RV", isArray: false, type: "grp" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRP_TOGROUP_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_GRP_TOGROUP_NTS_DSC", identifier: "Group_ONE toGroup(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRP_TOGROUP_NTS_RV", isArray: false, type: "grp" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRP_TOGROUP_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToGroup(NOT_SET)", output: "AR_FN_GRP_TOGROUP_NTS_EX_OUT_0" }] }, { description: "AR_FN_GRP_TOGROUP_GRP_DSC", identifier: "Group_ONE toGroup(Group_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_GRP_TOGROUP_GRP_RV", isArray: false, type: "grp" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_GRP_TOGROUP_GRP_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "grp" }], examples: [{ input: "ToGroup(ToGroup(NOT_SET))", output: "AR_FN_GRP_TOGROUP_GRP_EX_OUT_0" }] }], needsServerInfo: true }, toKnowledgeBaseDocument: { identifier: "toKnowledgeBaseDocument", description: "AR_FN_DSC_TOKNOWLEDGEBASEDOCUMENT", type: "function", name: "ToKnowledgeBaseDocument", category: "cast", overloads: [{ description: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_DSC", identifier: "KnowledgeBaseDocument_ONE toKnowledgeBaseDocument(KnowledgeBaseDocument_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_RV", isArray: false, type: "kbd" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "kbd" }], examples: [{ input: "ToKnowledgeBaseDocument(ToKnowledgeBaseDocument(NOT_SET))", output: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_EX_OUT_0" }] }, { description: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_DSC", identifier: "KnowledgeBaseDocument_ONE toKnowledgeBaseDocument(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_RV", isArray: false, type: "kbd" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToKnowledgeBaseDocument(NOT_SET)", output: "AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toVideo: { identifier: "toVideo", description: "AR_FN_DSC_TOVIDEO", type: "function", name: "ToVideo", category: "cast", overloads: [{ description: "AR_FN_VIDEO_TOVIDEO_VIDEO_DSC", identifier: "Video_ONE toVideo(Video_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_TOVIDEO_VIDEO_RV", isArray: false, type: "vid" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_TOVIDEO_VIDEO_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "vid" }], examples: [{ input: "ToVideo(ToVideo(NOT_SET))", output: "AR_FN_VIDEO_TOVIDEO_VIDEO_EX_OUT_0" }] }, { description: "AR_FN_VIDEO_TOVIDEO_NTS_DSC", identifier: "Video_ONE toVideo(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_TOVIDEO_NTS_RV", isArray: false, type: "vid" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_TOVIDEO_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToVideo(NOT_SET)", output: "AR_FN_VIDEO_TOVIDEO_NTS_EX_OUT_0" }] }, { description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_DSC", identifier: "Video_ONE toVideo(ResponseAsset_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_RV", isArray: false, type: "vid" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }], examples: [{ input: "ToVideo(Flow.ResponseAsset)", output: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_EX_OUT_0" }] }, { description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_DSC", identifier: "Video_ONE toVideo(ResponseAsset_ONE,Video_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_RV", isArray: false, type: "vid" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "rpa" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_PRM_DSC_1", identifier: "default", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "vid" }], examples: [{ input: 'ToVideo(Flow.ResponseAsset, MakeVideoFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mov"))', output: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_EX_OUT_0" }, { input: 'ToVideo(ToResponseAsset(NOT_SET), MakeVideoFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mov"))', output: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_EX_OUT_1" }, { input: 'ToVideo(Flow.ResponseAssetThatCannotBeConvertedToVideo, MakeVideoFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mov"))', output: "AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_EX_OUT_2" }] }], needsServerInfo: true }, toVideoCollection: { identifier: "toVideoCollection", description: "AR_FN_DSC_TOVIDEOCOLLECTION", type: "function", name: "ToVideoCollection", category: "cast", overloads: [{ description: "AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_DSC", identifier: "Video_COLL toVideoCollection(ResponseAsset_COLL)", support: { version: "1.0", resolver: "None" }, featureConfigName: "cannedResponseAttachmentsPostGaFeature", needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_RV", isArray: true, type: "vid" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "rpa" }], examples: [{ input: "ToVideoCollection(MakeList(Flow.ResponseAsset, Flow.ResponseAsset2))", output: "AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_EX_OUT_0" }] }], needsServerInfo: true }, toPhoneNumber: { identifier: "toPhoneNumber", description: "AR_FN_DSC_TOPHONENUMBER", type: "function", name: "ToPhoneNumber", category: "cast", overloads: [{ description: "AR_FN_PHNBR_TOPHONENUMBER_STR_DSC", identifier: "PhoneNumber_ONE toPhoneNumber(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PHNBR_TOPHONENUMBER_STR_RV", isArray: false, type: "phn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_PHNBR_TOPHONENUMBER_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: "ToPhoneNumber(Call.Ani)", output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_0" }, { input: 'ToPhoneNumber("tel:+13178723000")', output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_1" }, { input: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_IN_2", output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_2" }, { input: "ToPhoneNumber(ToString(NOT_SET))", output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_3" }, { input: 'ToPhoneNumber("+13178723000")', output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_4" }, { input: 'ToPhoneNumber("13178723000")', output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_5" }, { input: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_IN_6", output: "AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_6" }] }, { description: "AR_FN_PHNBR_TOPHONENUMBER_NTS_DSC", identifier: "PhoneNumber_ONE toPhoneNumber(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_PHNBR_TOPHONENUMBER_NTS_RV", isArray: false, type: "phn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PHNBR_TOPHONENUMBER_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToPhoneNumber(NOT_SET)", output: "AR_FN_PHNBR_TOPHONENUMBER_NTS_EX_OUT_0" }] }, { description: "AR_FN_PHNBR_TOPHONENUMBER_PHNBR_DSC", identifier: "PhoneNumber_ONE toPhoneNumber(PhoneNumber_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PHNBR_TOPHONENUMBER_PHNBR_RV", isArray: false, type: "phn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PHNBR_TOPHONENUMBER_PHNBR_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "phn" }], examples: [{ input: "ToPhoneNumber(ToPhoneNumber(NOT_SET))", output: "AR_FN_PHNBR_TOPHONENUMBER_PHNBR_EX_OUT_0" }] }], needsServerInfo: true }, toPrompt: { identifier: "toPrompt", description: "AR_FN_DSC_TOPROMPT", type: "function", name: "ToPrompt", category: "cast", overloads: [{ description: "AR_FN_PROMPT_TOPROMPT_NTS_DSC", identifier: "Prompt_ONE toPrompt(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_PROMPT_TOPROMPT_NTS_RV", isArray: false, type: "pmt" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PROMPT_TOPROMPT_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToPrompt(NOT_SET)", output: "AR_FN_PROMPT_TOPROMPT_NTS_EX_OUT_0" }] }, { description: "AR_FN_PROMPT_TOPROMPT_PROMPT_DSC", identifier: "Prompt_ONE toPrompt(Prompt_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_PROMPT_TOPROMPT_PROMPT_RV", isArray: false, type: "pmt" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_PROMPT_TOPROMPT_PROMPT_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "pmt" }], examples: [{ input: "ToPrompt(ToPrompt(NOT_SET))", output: "AR_FN_PROMPT_TOPROMPT_PROMPT_EX_OUT_0" }] }], needsServerInfo: true }, toSchedule: { identifier: "toSchedule", description: "AR_FN_DSC_TOSCHEDULE", type: "function", name: "ToSchedule", category: "cast", overloads: [{ description: "AR_FN_SCHED_TOSCHEDULE_NTS_DSC", identifier: "Schedule_ONE toSchedule(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHED_TOSCHEDULE_NTS_RV", isArray: false, type: "sch" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHED_TOSCHEDULE_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToSchedule(NOT_SET)", output: "AR_FN_SCHED_TOSCHEDULE_NTS_EX_OUT_0" }] }, { description: "AR_FN_SCHED_TOSCHEDULE_SCHED_DSC", identifier: "Schedule_ONE toSchedule(Schedule_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHED_TOSCHEDULE_SCHED_RV", isArray: false, type: "sch" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHED_TOSCHEDULE_SCHED_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "sch" }], examples: [{ input: "ToSchedule(ToSchedule(NOT_SET))", output: "AR_FN_SCHED_TOSCHEDULE_SCHED_EX_OUT_0" }] }], needsServerInfo: true }, toScheduleGroup: { identifier: "toScheduleGroup", description: "AR_FN_DSC_TOSCHEDULEGROUP", type: "function", name: "ToScheduleGroup", category: "cast", overloads: [{ description: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_DSC", identifier: "ScheduleGroup_ONE toScheduleGroup(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_RV", isArray: false, type: "scg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToScheduleGroup(NOT_SET)", output: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_EX_OUT_0" }] }, { description: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_DSC", identifier: "ScheduleGroup_ONE toScheduleGroup(ScheduleGroup_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem", inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_RV", isArray: false, type: "scg" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "scg" }], examples: [{ input: "ToScheduleGroup(ToScheduleGroup(NOT_SET))", output: "AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_EX_OUT_0" }] }], needsServerInfo: true }, toUtilizationLabel: { identifier: "toUtilizationLabel", description: "AR_FN_DSC_TOUTILIZATIONLABEL", type: "function", name: "ToUtilizationLabel", category: "cast", overloads: [{ description: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_DSC", identifier: "UtilizationLabel_ONE toUtilizationLabel(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_RV", isArray: false, type: "cul" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToUtilizationLabel(NOT_SET)", output: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_EX_OUT_0" }] }, { description: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_DSC", identifier: "UtilizationLabel_ONE toUtilizationLabel(UtilizationLabel_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_RV", isArray: false, type: "cul" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cul" }], examples: [{ input: "ToUtilizationLabel(ToUtilizationLabel(NOT_SET))", output: "AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_EX_OUT_0" }] }], needsServerInfo: true }, toWorktypeStatus: { identifier: "toWorktypeStatus", description: "AR_FN_DSC_TOWORKTYPESTATUS", type: "function", name: "ToWorktypeStatus", category: "cast", overloads: [{ description: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_DSC", identifier: "WorktypeStatus_ONE toWorktypeStatus(WorktypeStatus_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_RV", isArray: false, type: "cpx_worktype_status" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cpx_worktype_status" }], examples: [{ input: "ToWorktypeStatus(ToWorktypeStatus(NOT_SET))", output: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_EX_OUT_0" }] }, { description: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_DSC", identifier: "WorktypeStatus_ONE toWorktypeStatus(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { workitem: "workitem", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_RV", isArray: false, type: "cpx_worktype_status" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToWorktypeStatus(NOT_SET)", output: "AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toWrapupCode: { identifier: "toWrapupCode", description: "AR_FN_DSC_TOWRAPUPCODE", type: "function", name: "ToWrapupCode", category: "cast", overloads: [{ description: "AR_FN_WRC_TOWRAPUPCODE_STR_DSC", identifier: "WrapupCode_ONE toWrapupCode(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", commonmodule: "commonmodule", voice: "voice" }, hidden: true, returnValue: { description: "AR_FN_WRC_TOWRAPUPCODE_STR_RV", isArray: false, type: "wrc" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WRC_TOWRAPUPCODE_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }] }, { description: "AR_FN_WRC_TOWRAPUPCODE_NTS_DSC", identifier: "WrapupCode_ONE toWrapupCode(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_WRC_TOWRAPUPCODE_NTS_RV", isArray: false, type: "wrc" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WRC_TOWRAPUPCODE_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToWrapupCode(NOT_SET)", output: "AR_FN_WRC_TOWRAPUPCODE_NTS_EX_OUT_0" }] }, { description: "AR_FN_WRC_TOWRAPUPCODE_WRC_DSC", identifier: "WrapupCode_ONE toWrapupCode(WrapupCode_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_WRC_TOWRAPUPCODE_WRC_RV", isArray: false, type: "wrc" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_WRC_TOWRAPUPCODE_WRC_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "wrc" }], examples: [{ input: "ToWrapupCode(ToWrapupCode(NOT_SET))", output: "AR_FN_WRC_TOWRAPUPCODE_WRC_EX_OUT_0" }] }], needsServerInfo: true }, isNotSetOrEmpty: { identifier: "isNotSetOrEmpty", description: "AR_FN_DSC_ISNOTSETOREMPTY", type: "function", name: "IsNotSetOrEmpty", category: "comparison", overloads: [{ description: "AR_FN_BLN_ISNOTSETOREMPTY_ANY_DSC", identifier: "Boolean_ONE isNotSetOrEmpty(Any_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_ISNOTSETOREMPTY_ANY_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_ISNOTSETOREMPTY_ANY_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "IsNotSetOrEmpty(true)", output: "false" }, { input: "IsNotSetOrEmpty(false)", output: "false" }, { input: 'IsNotSetOrEmpty(MakeCurrency(10.00, "USD"))', output: "false" }, { input: 'IsNotSetOrEmpty(MakeCurrency(ToDecimal(NOT_SET), "USD"))', output: "true" }, { input: "IsNotSetOrEmpty(ToBool(NOT_SET))", output: "true" }, { input: 'IsNotSetOrEmpty("Hello")', output: "false" }, { input: 'IsNotSetOrEmpty("")', output: "true" }, { input: "IsNotSetOrEmpty(ToString(NOT_SET))", output: "true" }, { input: "IsNotSetOrEmpty(100)", output: "false" }, { input: "IsNotSetOrEmpty(ToInt(NOT_SET))", output: "true" }, { input: "IsNotSetOrEmpty(100.5)", output: "false" }, { input: "IsNotSetOrEmpty(ToDecimal(NOT_SET))", output: "true" }, { input: "IsNotSetOrEmpty(MakeDateTime(2009, 3, 20, 12, 00, 00))", output: "false" }, { input: "IsNotSetOrEmpty(ToDateTime(NOT_SET))", output: "true" }, { input: "IsNotSetOrEmpty(MakeDuration(10, 0, 30, 0))", output: "false" }, { input: "IsNotSetOrEmpty(ToDuration(NOT_SET))", output: "true" }, { input: 'IsNotSetOrEmpty(ToUser("john.doe@company.com"))', output: "false", hidden: "true" }, { input: "IsNotSetOrEmpty(ToUser(NOT_SET))", output: "true" }, { input: 'IsNotSetOrEmpty(ToSkill("Spanish"))', output: "false", hidden: "true" }, { input: "IsNotSetOrEmpty(ToSkill(NOT_SET))", output: "true" }, { input: "IsNotSetOrEmpty(MakeDate(2018, 12, 4))", output: "false", featureConfigName: "botFlows" }, { input: "IsNotSetOrEmpty(ToDate(NOT_SET))", output: "true", featureConfigName: "botFlows" }, { input: "IsNotSetOrEmpty(MakeTime(1, 30, 0))", output: "false", featureConfigName: "botFlows" }, { input: "IsNotSetOrEmpty(ToTime(NOT_SET))", output: "true", featureConfigName: "botFlows" }, { input: "IsNotSetOrEmpty(ToJson(NOT_SET))", output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: 'IsNotSetOrEmpty(JsonParse("null"))', output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: "IsNotSetOrEmpty(MakeEmptyJsonString())", output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: "IsNotSetOrEmpty(MakeEmptyJsonArray())", output: "true", featureConfigName: "encryptDecryptDataFeature" }, { input: "IsNotSetOrEmpty(MakeEmptyJsonObject())", output: "true", featureConfigName: "encryptDecryptDataFeature" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_BLN_ISNOTSETOREMPTY_AUDIO_DSC", identifier: "Boolean_ONE isNotSetOrEmpty(Audio_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISNOTSETOREMPTY_AUDIO_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_ISNOTSETOREMPTY_AUDIO_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "aud" }], examples: [{ input: 'IsNotSetOrEmpty(ToAudioTTS("Hello"))', output: "false" }, { input: "IsNotSetOrEmpty(ToAudioBlank(2000))", output: "false" }, { input: "IsNotSetOrEmpty(ToAudioBlank(0))", output: "true" }, { input: "IsNotSetOrEmpty(ToAudio(ToPrompt(NOT_SET)))", output: "true" }] }, { description: "AR_FN_BLN_ISNOTSETOREMPTY_ANY_COLL_DSC", identifier: "Boolean_ONE isNotSetOrEmpty(Any_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_BLN_ISNOTSETOREMPTY_ANY_COLL_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_BLN_ISNOTSETOREMPTY_ANY_COLL_PRM_DSC_0", identifier: "collection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "IsNotSetOrEmpty(MakeList(true, false))", output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToBool(NOT_SET)))", output: "true" }, { input: 'IsNotSetOrEmpty(MakeList(MakeCurrency(10.00, "USD")))', output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToCurrency(NOT_SET)))", output: "true" }, { input: 'IsNotSetOrEmpty(MakeList("hello"))', output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToString(NOT_SET)))", output: "true" }, { input: "IsNotSetOrEmpty(MakeList(5, 3, 1))", output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToInt(NOT_SET)))", output: "true" }, { input: "IsNotSetOrEmpty(MakeList(5.0, 3.0, 1.0))", output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToDecimal(NOT_SET)))", output: "true" }, { input: "IsNotSetOrEmpty(MakeList(MakeDateTime(2009, 5, 5, 10, 30, 0)))", output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToDateTime(NOT_SET)))", output: "true" }, { input: "IsNotSetOrEmpty(MakeList(MakeDuration(10, 0, 30, 0)))", output: "false" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToDuration(NOT_SET)))", output: "true" }, { input: 'IsNotSetOrEmpty(MakeList(ToUser("john.doe@company.com")))', output: "false", hidden: "true" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToUser(NOT_SET)))", output: "true" }, { input: 'IsNotSetOrEmpty(MakeList(ToSkill("Spanish")))', output: "false", hidden: "true" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToSkill(NOT_SET)))", output: "true" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToDate(NOT_SET)))", output: "true", featureConfigName: "botFlows" }, { input: "IsNotSetOrEmpty(MakeEmptyList(ToTime(NOT_SET)))", output: "true", featureConfigName: "botFlows" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_BLN_ISNOTSETOREMPTY_NTS_DSC", identifier: "Boolean_ONE isNotSetOrEmpty(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_BLN_ISNOTSETOREMPTY_NTS_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_ISNOTSETOREMPTY_NTS_PRM_DSC_0", identifier: "item", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "IsNotSetOrEmpty(NOT_SET)", output: "true" }] }], needsServerInfo: true }, makeAgentScorePair: { identifier: "makeAgentScorePair", description: "AR_FN_DSC_MAKEAGENTSCOREPAIR", type: "function", name: "MakeAgentScorePair", category: "complex", overloads: [{ description: "AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_DSC", identifier: "AgentScorePair_ONE makeAgentScorePair(User_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", commonmodule: "commonmodule", emailsend: "emailsend", inboundcall: "inboundcall", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueuecall: "inqueuecall", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", securecall: "securecall", workitem: "workitem", voice: "voice", voicemail: "voicemail" }, needsServerInfo: true, returnValue: { description: "AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_RV", isArray: false, type: "cpx_agent_score_pair" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_PRM_DSC_0", identifier: "agent", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "usr" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_PRM_DSC_1", identifier: "score", isArray: false, helpDisplayIdx: 1, max: "100", min: "0", repeatable: false, required: true, type: "int" }], examples: [{ input: 'MakeAgentScorePair(FindUserById("5B943B5F-4205-B70F-8BE1-A245A94B2919"), 25)', output: 'An AgentScorePair value with an agent property User value with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" and score property value of 25.' }] }], needsServerInfo: true }, makeCard: { identifier: "makeCard", description: "AR_FN_DSC_MAKECARD", type: "function", name: "MakeCard", category: "complex", overloads: [{ description: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_DSC", identifier: "Card_ONE makeCard(String_ONE,String_ONE,Choice_COLL,Image_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_RV", isArray: false, type: "crd" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_0", identifier: "title", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_1", identifier: "description", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_2", identifier: "buttons", isArray: true, helpDisplayIdx: 2, repeatable: false, required: true, type: "chc", maxItems: "3" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_3", identifier: "image", isArray: false, helpDisplayIdx: 3, repeatable: false, required: false, type: "img" }], examples: [{ input: 'MakeCard("Pizza Size", "Please select your pizza size.", MakeList(MakePostbackChoice("small", "Small"), MakePostbackChoice("medium", "Medium"), MakePostbackChoice("large", "Large")), FindImage("Pizza Size"))', output: "AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_EX_OUT_0" }] }], needsServerInfo: true }, makeCarousel: { identifier: "makeCarousel", description: "AR_FN_DSC_MAKECAROUSEL", type: "function", name: "MakeCarousel", category: "complex", overloads: [{ description: "AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_DSC", identifier: "Carousel_ONE makeCarousel(Card_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_RV", isArray: false, type: "crs" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_PRM_DSC_0", identifier: "cards", isArray: true, helpDisplayIdx: 0, repeatable: false, required: false, type: "crd", maxItems: "10" }], examples: [{ input: 'MakeCarousel(MakeList(MakeCard("Beginner Class", "Learn how to author cards, carousels and quick replies in Architect.", MakeList(MakePostbackChoice("signupBeginner", "Sign Me Up!")), FindImage("Beginner Class")), MakeCard("Intermediate Class", "Learn about button choices and slot types.", MakeList(MakePostbackChoice("signupIntermediate", "Sign Me Up!")), FindImage("Intermediate Class")), MakeCard("Advanced Class", "Create cards, carousels and quick replies using expressions.", MakeList(MakePostbackChoice("signupAdvanced", "Sign Me Up!")), FindImage("Advanced Class"))))', output: "AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_EX_OUT_0" }] }], needsServerInfo: true }, makeChoice: { identifier: "makeChoice", description: "AR_FN_DSC_MAKECHOICE", type: "function", name: "MakeChoice", category: "complex", overloads: [{ description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_DSC", identifier: "Choice_ONE makeChoice(String_ONE,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_PRM_DSC_0", identifier: "type", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_PRM_DSC_2", identifier: "label", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeChoice("url", "https://www.genesys.com", "Genesys")', output: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_EX_OUT_0" }, { input: 'MakeChoice("postback", "support", "Help and Support")', output: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_EX_OUT_1" }] }, { description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_DSC", identifier: "Choice_ONE makeChoice(String_ONE,String_ONE,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_0", identifier: "type", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_1", identifier: "value", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_2", identifier: "label", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_3", identifier: "command", isArray: false, helpDisplayIdx: 3, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeChoice("url", "https://www.genesys.com", "Genesys", "skip")', output: "AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_EX_OUT_0" }] }], needsServerInfo: true }, makePostbackChoice: { identifier: "makePostbackChoice", description: "AR_FN_DSC_MAKEPOSTBACKCHOICE", type: "function", name: "MakePostbackChoice", category: "complex", overloads: [{ description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_DSC", identifier: "Choice_ONE makePostbackChoice(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'MakePostbackChoice("support")', output: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_EX_OUT_0" }] }, { description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_DSC", identifier: "Choice_ONE makePostbackChoice(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_PRM_DSC_1", identifier: "label", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakePostbackChoice("support", "Help and Support")', output: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_EX_OUT_0" }] }, { description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_DSC", identifier: "Choice_ONE makePostbackChoice(String_ONE,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_PRM_DSC_1", identifier: "label", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_PRM_DSC_2", identifier: "command", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakePostbackChoice("support", "Help and Support", "skip")', output: "AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_EX_OUT_0" }] }], needsServerInfo: true }, makeUrlChoice: { identifier: "makeUrlChoice", description: "AR_FN_DSC_MAKEURLCHOICE", type: "function", name: "MakeUrlChoice", category: "complex", overloads: [{ description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_DSC", identifier: "Choice_ONE makeUrlChoice(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'MakeUrlChoice("https://www.genesys.com")', output: "AR_FN_CHOICE_MAKEURLCHOICE_STR_EX_OUT_0" }] }, { description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_DSC", identifier: "Choice_ONE makeUrlChoice(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_RV", isArray: false, type: "chc" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_PRM_DSC_1", identifier: "linkLabel", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeUrlChoice("https://www.genesys.com", "Genesys")', output: "AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_EX_OUT_0" }] }], needsServerInfo: true }, makeChooser: { identifier: "makeChooser", description: "AR_FN_DSC_MAKECHOOSER", type: "function", name: "MakeChooser", category: "complex", overloads: [{ description: "AR_FN_CHOOSER_MAKECHOOSER_CARD_DSC", identifier: "Chooser_ONE makeChooser(Card_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOOSER_MAKECHOOSER_CARD_RV", isArray: false, type: "chs" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOOSER_MAKECHOOSER_CARD_PRM_DSC_0", identifier: "card", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "crd" }], examples: [{ input: 'MakeChooser(MakeCard("Shirt Colors", "Please select a shirt color.", MakeList(MakePostbackChoice("red", "Red"), MakePostbackChoice("green", "Green"), MakePostbackChoice("blue", "Blue")), FindImage("shirtSizes.png")))', output: "AR_FN_CHOOSER_MAKECHOOSER_CARD_EX_OUT_0" }] }, { description: "AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_DSC", identifier: "Chooser_ONE makeChooser(Carousel_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_RV", isArray: false, type: "chs" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_PRM_DSC_0", identifier: "carousel", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "crs" }], examples: [{ input: 'MakeChooser(MakeCarousel(MakeList(MakeCard("Beginner Class", "Learn how to author cards, carousels and quick replies in Architect.", MakeList(MakePostbackChoice("signupBeginner", "Sign Me Up!")), FindImage("Beginner Class")), MakeCard("Intermediate Class", "Learn about button choices and slot types.", MakeList(MakePostbackChoice("signupIntermediate", "Sign Me Up!")), FindImage("Intermediate Class")), MakeCard("Advanced Class", "Create cards, carousels and quick replies using expressions.", MakeList(MakePostbackChoice("signupAdvanced", "Sign Me Up!")), FindImage("Advanced Class")))))', output: "AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_EX_OUT_0" }] }, { description: "AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_DSC", identifier: "Chooser_ONE makeChooser(QuickReplies_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_RV", isArray: false, type: "chs" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_PRM_DSC_0", identifier: "quickReplies", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "qrl" }], examples: [{ input: 'MakeChooser(MakeQuickReplies(MakeList(MakePostbackChoice("red", "Red"), MakePostbackChoice("blue", "Blue"))))', output: "AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_EX_OUT_0" }, { input: 'MakeChooser(MakeQuickReplies(MakeList(MakePostbackChoice("red", "Red"), MakePostbackChoice("blue", "Blue")), "Thanks for your selection"))', output: "AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_EX_OUT_1", featureConfigName: "digitalBotFlowsAppleMessaging" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_DSC", identifier: "Chooser_ONE makeChooser(TimePicker_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_RV", isArray: false, type: "chs" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_PRM_DSC_0", identifier: "timePicker", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "tpk" }], examples: [{ input: 'MakeChooser(MakeTimePicker("Schedule Appointment"))', output: "AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_EX_OUT_0" }] }, { description: "AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_DSC", identifier: "Chooser_ONE makeChooser(ListPicker_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsAppleListPicker", needsServerInfo: true, returnValue: { description: "AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_RV", isArray: false, type: "chs" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_PRM_DSC_0", identifier: "listPicker", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "lpk" }], examples: [{ input: 'MakeChooser(MakeListPicker(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))), MakeImageFromUrl(NOT_SET), "Menu", "Items to order", MakeImageFromUrl(NOT_SET), NOT_SET))', output: "AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_EX_OUT_0" }] }], needsServerInfo: true }, makeCurrency: { identifier: "makeCurrency", description: "AR_FN_DSC_MAKECURRENCY", type: "function", name: "MakeCurrency", category: "financial", overloads: [{ description: "AR_FN_CUR_MAKECURRENCY_DEC_STR_DSC", identifier: "Currency_ONE makeCurrency(Decimal_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_MAKECURRENCY_DEC_STR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_MAKECURRENCY_DEC_STR_PRM_DSC_0", identifier: "amount", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_MAKECURRENCY_DEC_STR_PRM_DSC_1", identifier: "currencyCode", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", literalValidatorName: "ISO4217" }], examples: [{ input: 'MakeCurrency(10.50, "USD")', output: "AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_0" }, { input: 'MakeCurrency(5.00, "EUR")', output: "AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_1" }, { input: 'MakeCurrency(NOT_SET, "USD")', output: "AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_2" }, { input: "MakeCurrency(100.00, NOT_SET)", output: "AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_3" }] }, { description: "AR_FN_CUR_MAKECURRENCY_LNG_STR_DSC", identifier: "Currency_ONE makeCurrency(Long_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_MAKECURRENCY_LNG_STR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_MAKECURRENCY_LNG_STR_PRM_DSC_0", identifier: "amount", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_MAKECURRENCY_LNG_STR_PRM_DSC_1", identifier: "currencyCode", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", literalValidatorName: "ISO4217" }], examples: [{ input: 'MakeCurrency(10, "USD")', output: "AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_0" }, { input: 'MakeCurrency(5, "EUR")', output: "AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_1" }, { input: 'MakeCurrency(NOT_SET, "USD")', output: "AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_2" }, { input: "MakeCurrency(100, NOT_SET)", output: "AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_3" }] }] }, makeDigitalAudioFromUrl: { identifier: "makeDigitalAudioFromUrl", description: "AR_FN_DSC_MAKEDIGITALAUDIOFROMURL", type: "function", name: "MakeDigitalAudioFromUrl", category: "complex", overloads: [{ description: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_DSC", identifier: "DigitalAudio_ONE makeDigitalAudioFromUrl(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_RV", isArray: false, type: "dia" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeDigitalAudioFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mp3")', output: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_EX_OUT_0" }] }, { description: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_DSC", identifier: "DigitalAudio_ONE makeDigitalAudioFromUrl(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_RV", isArray: false, type: "dia" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "MakeDigitalAudioFromUrl(NOT_SET)", output: "AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, makeFileFromUrl: { identifier: "makeFileFromUrl", description: "AR_FN_DSC_MAKEFILEFROMURL", type: "function", name: "MakeFileFromUrl", category: "complex", overloads: [{ description: "AR_FN_FILE_MAKEFILEFROMURL_STR_DSC", identifier: "File_ONE makeFileFromUrl(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_FILE_MAKEFILEFROMURL_STR_RV", isArray: false, type: "fil" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_MAKEFILEFROMURL_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeFileFromUrl("https://www.genesys.com/documents/genesys-digital-bot-flows.pdf")', output: "AR_FN_FILE_MAKEFILEFROMURL_STR_EX_OUT_0" }] }, { description: "AR_FN_FILE_MAKEFILEFROMURL_NTS_DSC", identifier: "File_ONE makeFileFromUrl(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_FILE_MAKEFILEFROMURL_NTS_RV", isArray: false, type: "fil" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_FILE_MAKEFILEFROMURL_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "MakeFileFromUrl(NOT_SET)", output: "AR_FN_FILE_MAKEFILEFROMURL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, makeImageFromUrl: { identifier: "makeImageFromUrl", description: "AR_FN_DSC_MAKEIMAGEFROMURL", type: "function", name: "MakeImageFromUrl", category: "complex", overloads: [{ description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_DSC", identifier: "Image_ONE makeImageFromUrl(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeImageFromUrl("https://www.genesys.com/media/genesys-logo.png")', output: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_EX_OUT_0" }] }, { description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_DSC", identifier: "Image_ONE makeImageFromUrl(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_PRM_DSC_1", identifier: "name", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeImageFromUrl("https://www.genesys.com/media/genesys-logo.png", "Genesys Logo")', output: "AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_EX_OUT_0" }] }, { description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_DSC", identifier: "Image_ONE makeImageFromUrl(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_RV", isArray: false, type: "img" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "MakeImageFromUrl(NOT_SET)", output: "AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, makeLineItem: { identifier: "makeLineItem", description: "AR_FN_DSC_MAKELINEITEM", type: "function", name: "MakeLineItem", category: "complex", overloads: [{ description: "AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_DSC", identifier: "LineItem_ONE makeLineItem(String_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsApplePay", returnValue: { description: "AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_RV", isArray: false, type: "lni" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_PRM_DSC_0", identifier: "listingName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_PRM_DSC_1", identifier: "listingPrice", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'MakeLineItem("T-Shirt", MakeCurrency(19.99, "USD"))', output: "AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_EX_OUT_0" }] }] }, toLineItem: { identifier: "toLineItem", description: "AR_FN_DSC_TOLINEITEM", type: "function", name: "ToLineItem", category: "cast", overloads: [{ description: "AR_FN_LINEITEM_TOLINEITEM_LINEITEM_DSC", identifier: "LineItem_ONE ToLineItem(LineItem_ONE)", support: { version: "1.0", resolver: "None" }, featureConfigName: "botFlowsApplePay", needsServerInfo: true, returnValue: { description: "AR_FN_LINEITEM_TOLINEITEM_LINEITEM_RV", isArray: false, type: "lni" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LINEITEM_TOLINEITEM_LINEITEM_PRM_DSC_0", identifier: "lineItem", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "lni" }], examples: [{ input: 'ToLineItem(MakeLineItem("Fishing Road", MakeCurrency(200.0, "USD")))', output: "AR_FN_LINEITEM_TOLINEITEM_LINEITEM_EX_OUT_0" }] }, { description: "AR_FN_LINEITEM_TOLINEITEM_NTS_DSC", identifier: "LineItem_ONE toLineItem(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_LINEITEM_TOLINEITEM_NTS_RV", isArray: false, type: "lni" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_LINEITEM_TOLINEITEM_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToLineItem(NOT_SET)", output: "AR_FN_LINEITEM_TOLINEITEM_NTS_EX_OUT_0" }] }], needsServerInfo: true }, makeListPickerItem: { identifier: "makeListPickerItem", description: "AR_FN_DSC_MAKELISTPICKERITEM", type: "function", name: "MakeListPickerItem", category: "complex", overloads: [{ description: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_DSC", identifier: "ListPickerItem_ONE makeListPickerItem(String_ONE,String_ONE,Image_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsAppleListPicker", needsServerInfo: true, returnValue: { description: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_RV", isArray: false, type: "lpi" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_PRM_DSC_0", identifier: "title", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_PRM_DSC_1", identifier: "subtitle", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_PRM_DSC_2", identifier: "image", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "img" }], examples: [{ input: 'MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))', output: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_EX_OUT_0" }, { input: 'MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))', output: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_EX_OUT_1" }, { input: 'MakeListPickerItem("Fries", NOT_SET, NOT_SET)', output: "AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_EX_OUT_2" }] }], needsServerInfo: true }, makeListPickerSection: { identifier: "makeListPickerSection", description: "AR_FN_DSC_MAKELISTPICKERSECTION", type: "function", name: "MakeListPickerSection", category: "complex", overloads: [{ description: "AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_DSC", identifier: "ListPickerSection_ONE makeListPickerSection(String_ONE,Boolean_ONE,ListPickerItem_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsAppleListPicker", needsServerInfo: true, returnValue: { description: "AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_RV", isArray: false, type: "lps" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_PRM_DSC_0", identifier: "title", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_PRM_DSC_1", identifier: "multiSelectEnabled", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "bln" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_PRM_DSC_2", identifier: "items", isArray: true, helpDisplayIdx: 2, repeatable: false, required: false, type: "lpi" }], examples: [{ input: 'MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET))))', output: "AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_EX_OUT_0" }] }], needsServerInfo: true }, makeListPicker: { identifier: "makeListPicker", description: "AR_FN_DSC_MAKELISTPICKER", type: "function", name: "MakeListPicker", category: "complex", overloads: [{ description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_DSC", identifier: "ListPicker_ONE makeListPicker(ListPickerSection_COLL,Image_ONE,String_ONE,String_ONE,Image_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsAppleListPicker", needsServerInfo: true, returnValue: { description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_RV", isArray: false, type: "lpk" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_0", identifier: "sections", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "lps" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_1", identifier: "receivedMessageImage", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "img" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_2", identifier: "receivedMessageTitle", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_3", identifier: "receivedMessageSubtitle", isArray: false, helpDisplayIdx: 3, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_4", identifier: "replyMessageImage", isArray: false, helpDisplayIdx: 4, repeatable: false, required: false, type: "img" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_5", identifier: "replyMessageSubtitle", isArray: false, helpDisplayIdx: 5, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeListPicker(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))), MakeImageFromUrl(NOT_SET), "Menu", "Items to order", MakeImageFromUrl(NOT_SET), NOT_SET)', output: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_EX_OUT_0" }] }, { description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_DSC", identifier: "ListPicker_ONE makeListPicker(ListPickerSection_COLL,Image_ONE,String_ONE,String_ONE,Image_ONE,String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "whatsAppListPickerFeature", needsServerInfo: true, returnValue: { description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_RV", isArray: false, type: "lpk" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_0", identifier: "sections", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "lps" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_1", identifier: "receivedMessageImage", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "img" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_2", identifier: "receivedMessageTitle", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_3", identifier: "receivedMessageSubtitle", isArray: false, helpDisplayIdx: 3, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_4", identifier: "replyMessageImage", isArray: false, helpDisplayIdx: 4, repeatable: false, required: false, type: "img" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_5", identifier: "replyMessageSubtitle", isArray: false, helpDisplayIdx: 5, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_6", identifier: "receivedMessageButtonText", isArray: false, helpDisplayIdx: 6, repeatable: false, required: true, type: "str", minLength: "1" }], examples: [{ input: 'MakeListPicker(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))), MakeImageFromUrl(NOT_SET), "Menu", "Items to order", MakeImageFromUrl(NOT_SET), NOT_SET, "Click Me")', output: "AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_EX_OUT_0" }] }], needsServerInfo: true }, makeTimePicker: { identifier: "makeTimePicker", description: "AR_FN_DSC_MAKETIMEPICKER", type: "function", name: "MakeTimePicker", category: "datetime", overloads: [{ description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_DSC", identifier: "TimePicker_ONE makeTimePicker(String_ONE,String_ONE,Image_ONE,ADDRESS_ONE,LATITUDE_ONE,LONGITUDE_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_RV", isArray: false, type: "tpk" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_0", identifier: "title", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_1", identifier: "subtitle", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_2", identifier: "image", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "img" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_3", identifier: "address", isArray: false, helpDisplayIdx: 3, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_4", identifier: "latitude", isArray: false, helpDisplayIdx: 4, repeatable: false, required: false, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_5", identifier: "longitutude", isArray: false, helpDisplayIdx: 5, repeatable: false, required: false, type: "dec" }], examples: [{ input: 'MakeTimePicker("Schedule Appointment", "Choose a Time", MakeImageFromUrl(NOT_SET), NOT_SET, NOT_SET, NOT_SET)', output: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_0" }, { input: 'MakeTimePicker("Schedule Appointment", NOT_SET, MakeImageFromUrl(NOT_SET), NOT_SET, NOT_SET, NOT_SET)', output: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_1" }, { input: 'MakeTimePicker("Schedule Appointment", NOT_SET, NOT_SET, NOT_SET, NOT_SET, NOT_SET)', output: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_2" }, { input: 'MakeTimePicker("Schedule Appointment", NOT_SET, NOT_SET, "4807 Emperor Boulevard", 35.8785875, -78.8408308)', output: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_3" }] }, { description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_DSC", identifier: "TimePicker_ONE makeTimePicker(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_RV", isArray: false, type: "tpk" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_PRM_DSC_0", identifier: "title", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_PRM_DSC_1", identifier: "subtitle", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeTimePicker("Schedule Appointment", "Choose a Time")', output: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_EX_OUT_0" }] }, { description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_DSC", identifier: "TimePicker_ONE makeTimePicker(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_RV", isArray: false, type: "tpk" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_PRM_DSC_0", identifier: "title", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }], examples: [{ input: 'MakeTimePicker("Schedule Appointment")', output: "AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_EX_OUT_0" }] }], needsServerInfo: true }, makeTimeslot: { identifier: "makeTimeslot", description: "AR_FN_DSC_MAKETIMESLOT", type: "function", name: "MakeTimeslot", category: "datetime", overloads: [{ description: "AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_DSC", identifier: "Timeslot_ONE makeTimeslot(DateTime_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_RV", isArray: false, type: "tsl" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_PRM_DSC_0", identifier: "dateTime", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_PRM_DSC_1", identifier: "duration", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeTimeslot(MakeDateTime(2024, 8, 4, 0, 0, 0), MakeDuration(0, 1, 30, 0))", output: "AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_EX_OUT_0" }] }], needsServerInfo: true }, makeListTimeslot: { identifier: "makeListTimeslot", description: "AR_FN_DSC_MAKELISTTIMESLOT", type: "function", name: "MakeListTimeslot", category: "datetime", overloads: [{ description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_DSC", identifier: "Timeslot_COLL makeListTimeslot(DateTime_COLL,Duration_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_RV", isArray: true, type: "tsl" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_PRM_DSC_0", identifier: "dateTimes", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_PRM_DSC_1", identifier: "duration", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeListTimeslot(MakeList(MakeDateTime(2024, 8, 4, 14, 0, 0), MakeDateTime(2024, 8, 4, 15, 0, 0)), MakeDuration(0, 1, 0, 0))", output: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_EX_OUT_0" }] }, { description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_DSC", identifier: "Timeslot_COLL makeListTimeslot(DateTime_COLL,Duration_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsMessagingDatePicker", needsServerInfo: true, returnValue: { description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_RV", isArray: true, type: "tsl" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_PRM_DSC_0", identifier: "dateTimes", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_PRM_DSC_1", identifier: "durations", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "MakeListTimeslot(MakeList(MakeDateTime(2024, 8, 4, 14, 0, 0), MakeDateTime(2024, 8, 4, 15, 0, 0)), MakeList(MakeDuration(0, 1, 0, 0), MakeDuration(0, 2, 0, 0)))", output: "AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_EX_OUT_0" }] }], needsServerInfo: true }, makeShippingOption: { identifier: "makeShippingOption", description: "AR_FN_DSC_MAKESHIPPINGOPTION", type: "function", name: "MakeShippingOption", category: "complex", overloads: [{ description: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_DSC", identifier: "ShippingOption_ONE makeShippingOption(String_ONE,String_ONE,String_ONE,Currency_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "botFlowsApplePay", returnValue: { description: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_RV", isArray: false, type: "sho" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_0", identifier: "label", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_1", identifier: "identifier", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_2", identifier: "shippingDetails", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "str", minLength: "1" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_3", identifier: "price", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "cur" }], examples: [{ input: 'MakeShippingOption("Standard Shipping", "standard", "3-4 business Days", MakeCurrency(5.99, "USD"))', output: "AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_EX_OUT_0" }] }] }, toShippingOption: { identifier: "toShippingOption", description: "AR_FN_DSC_TOSHIPPINGOPTION", type: "function", name: "ToShippingOption", category: "cast", overloads: [{ description: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_DSC", identifier: "ShippingOption_ONE ToShippingOption(ShippingOption_ONE)", support: { version: "1.0", resolver: "None" }, featureConfigName: "botFlowsApplePay", needsServerInfo: true, returnValue: { description: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_RV", isArray: false, type: "sho" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_PRM_DSC_0", identifier: "shippingOption", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "sho" }], examples: [{ input: 'ToShippingOption(MakeShippingOption("Standard Shipping", "standard", "3-4 Days", MakeCurrency(5.99, "USD")))', output: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_EX_OUT_0" }] }, { description: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_DSC", identifier: "ShippingOption_ONE toShippingOption(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_RV", isArray: false, type: "sho" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToShippingOption(NOT_SET)", output: "AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_EX_OUT_0" }] }], needsServerInfo: true }, makeListAgentScorePair: { identifier: "makeListAgentScorePair", description: "AR_FN_DSC_MAKELISTAGENTSCOREPAIR", type: "function", name: "MakeListAgentScorePair", category: "list", overloads: [{ description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_DSC", identifier: "AgentScorePair_COLL makeListAgentScorePair(User_COLL,Long_COLL)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_RV", isArray: true, type: "cpx_agent_score_pair" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_PRM_DSC_0", identifier: "propertyAgent", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "usr", itemAllowNotSet: false }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_PRM_DSC_1", identifier: "propertyScore", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", itemAllowNotSet: false, itemMin: "0", itemMax: "100" }], examples: [{ input: 'MakeListAgentScorePair(FindUsersById(MakeList("5B943B5F-4205-B70F-8BE1-A245A94B2919", "cd287b63-09c5-4470-a45b-913755799cb2")), MakeList(50, 90))', output: 'An AgentScorePair collection with two items. The first AgentScorePair item has an agent property User with ID "5b943b5F-4205-b70F-8be1-a245a94b2919" and score property value of 50. The second AgentScorePair item has an agent property User ID of "cd287b63-09c5-4470-a45b-913755799cb2" and score property value of 90.' }] }, { description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_DSC", identifier: "AgentScorePair_COLL makeListAgentScorePair(String_COLL,Long_COLL)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_RV", isArray: true, type: "cpx_agent_score_pair" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_PRM_DSC_0", identifier: "agentIds", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", itemAllowNotSet: false, maxItems: "50" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_PRM_DSC_1", identifier: "propertyScore", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", itemAllowNotSet: false, itemMin: "0", itemMax: "100", maxItems: "50" }], examples: [{ input: 'MakeListAgentScorePair(MakeList("5B943B5F-4205-B70F-8BE1-A245A94B2919", "cd287b63-09c5-4470-a45b-913755799cb2"), MakeList(30, 70))', output: 'An AgentScorePair collection with two items. The first AgentScorePair item has an agent property User with ID "5b943b5F-4205-b70F-8be1-a245a94b2919" and score property value of 30. The second AgentScorePair item has an agent property User ID of "cd287b63-09c5-4470-a45b-913755799cb2" and score property value of 70.' }] }], needsServerInfo: true }, makeListCommunication: { identifier: "makeListCommunication", description: "AR_FN_DSC_MAKELISTCOMMUNICATION", type: "function", name: "MakeListCommunication", category: "cast", overloads: [{ description: "AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_DSC", identifier: "Communication_COLL makeListCommunication(Any_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_RV", isArray: true, type: "com" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_PRM_DSC_0", identifier: "anAnyCollection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: 'MakeListCommunication(MakeList("Value Label 1", "Value Label 2"))', output: "AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_EX_OUT_0" }] }], needsServerInfo: true }, makeQuickReplies: { identifier: "makeQuickReplies", description: "AR_FN_DSC_MAKEQUICKREPLIES", type: "function", name: "MakeQuickReplies", category: "complex", overloads: [{ description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_DSC", identifier: "QuickReplies_ONE makeQuickReplies(Choices_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, needsServerInfo: true, returnValue: { description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_RV", isArray: false, type: "qrl" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_PRM_DSC_0", identifier: "buttons", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "chc", maxItems: "10" }], examples: [{ input: 'MakeQuickReplies(MakeList(MakePostbackChoice("small"), MakePostbackChoice("medium")))', output: 'A quick replies value that contains two postback button choices with the values "small" and "medium".' }, { input: 'MakeQuickReplies(MakeList(MakePostbackChoice("red", "Red"), MakePostbackChoice("blue", "Blue")))', output: 'A quick replies value that contains two button choices. The first choice has a value of "red" with a label of "Red" and the second has a value of "blue" with a label of "Blue".' }] }, { description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_DSC", identifier: "QuickReplies_ONE makeQuickReplies(Choices_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { digitalbot: "digitalbot" }, featureConfigName: "digitalBotFlowsAppleMessaging", needsServerInfo: true, returnValue: { description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_RV", isArray: false, type: "qrl" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_PRM_DSC_0", identifier: "buttons", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "chc", maxItems: "10" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_PRM_DSC_1", identifier: "quickReplySummary", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeQuickReplies(MakeList(MakePostbackChoice("small"), MakePostbackChoice("medium")), "Thanks for your selection")', output: 'A quick replies value that contains two postback button choices with the values "small" and "medium" and quick reply summary "Thanks for your selection".' }, { input: 'MakeQuickReplies(MakeList(MakePostbackChoice("red", "Red"), MakePostbackChoice("blue", "Blue")), "Thanks for your selection")', output: 'A quick replies value that contains two button choices. The first choice has a value of "red" with a label of "Red" and the second has a value of "blue" with a label of "Blue" and quick reply summary "Thanks for your selection".' }] }], needsServerInfo: true }, makeVideoFromUrl: { identifier: "makeVideoFromUrl", description: "AR_FN_DSC_MAKEVIDEOFROMURL", type: "function", name: "MakeVideoFromUrl", category: "complex", overloads: [{ description: "AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_DSC", identifier: "Video_ONE makeVideoFromUrl(String_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_RV", isArray: false, type: "vid" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_PRM_DSC_0", identifier: "url", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeVideoFromUrl("https://www.genesys.com/media/genesys-digital-bot-flows.mov")', output: "AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_EX_OUT_0" }] }, { description: "AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_DSC", identifier: "Video_ONE makeVideoFromUrl(Null_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_RV", isArray: false, type: "vid" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "MakeVideoFromUrl(NOT_SET)", output: "AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_EX_OUT_0" }] }], needsServerInfo: true }, resolveSlot: { identifier: "resolveSlot", description: "AR_FN_DSC_RESOLVESLOT", type: "function", name: "ResolveSlot", category: "language", overloads: [{ description: "AR_FN_ANY_RESOLVESLOT_ANY_DSC", identifier: "Any_ONE resolveSlot(Any_ONE)", support: { version: "1.0", resolver: "n-SameType" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_RESOLVESLOT_ANY_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_RESOLVESLOT_ANY_PRM_DSC_0", identifier: "slotVariable", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "any", mustBeVariable: true, mustBeVariableScope: "slot" }], examples: [{ input: "ResolveSlot(Slot.PizzaSize)", output: "AR_FN_ANY_RESOLVESLOT_ANY_EX_OUT_0" }, { input: "ResolveSlot(Slot.QuantityInt)", output: "5" }] }, { description: "AR_FN_ANY_RESOLVESLOT_ANY_ANY_DSC", identifier: "Any_ONE resolveSlot(Any_ONE,Any_ONE)", support: { version: "1.0", resolver: "n-SameType" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_ANY_RESOLVESLOT_ANY_ANY_RV", isArray: false, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_RESOLVESLOT_ANY_ANY_PRM_DSC_0", identifier: "slotVariable", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "any", mustBeVariable: true, mustBeVariableScope: "slot" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_ANY_RESOLVESLOT_ANY_ANY_PRM_DSC_1", identifier: "slotNotSetReturnValue", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "any" }], examples: [{ input: 'ResolveSlot(Slot.AccountType, "")', output: "AR_FN_ANY_RESOLVESLOT_ANY_ANY_EX_OUT_0" }] }], needsServerInfo: true }, resolveSlotTypeListValue: { identifier: "resolveSlotTypeListValue", description: "AR_FN_DSC_RESOLVESLOTTYPELISTVALUE", type: "function", name: "ResolveSlotTypeListValue", category: "language", overloads: [{ description: "AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_DSC", identifier: "String_ONE resolveSlotTypeListValue(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_PRM_DSC_0", identifier: "listSlotTypeName", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_PRM_DSC_1", identifier: "slotTypeValue", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ResolveSlotTypeListValue("PizzaSizeType", "small")', output: "AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_EX_OUT_0", outputFlowCurrentLanguage: "es-us" }] }], needsServerInfo: true }, makeListCurrency: { identifier: "makeListCurrency", description: "AR_FN_DSC_MAKELISTCURRENCY", type: "function", name: "MakeListCurrency", category: "financial", overloads: [{ description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_DSC", identifier: "Currency_COLL makeListCurrency(Decimal_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_RV", isArray: true, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_PRM_DSC_0", identifier: "amounts", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_PRM_DSC_1", identifier: "currencyCode", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", literalValidatorName: "ISO4217" }], examples: [{ input: 'MakeListCurrency(MakeList(10.50, 2.50), "USD")', output: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_EX_OUT_0" }, { input: 'MakeListCurrency(MakeList(10.50, ToDecimal(NOT_SET)), "USD")', output: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_EX_OUT_1" }] }, { description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_DSC", identifier: "Currency_COLL makeListCurrency(Decimal_COLL,String_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_RV", isArray: true, type: "cur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_PRM_DSC_0", identifier: "amounts", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_PRM_DSC_1", identifier: "currencyCodes", isArray: true, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: 'MakeListCurrency(MakeList(10.50, 2.50), MakeList("USD", "EUR"))', output: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_EX_OUT_0" }, { input: 'MakeListCurrency(MakeList(10.50, ToDecimal(NOT_SET)), MakeList(ToString(NOT_SET), "EUR"))', output: "AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_EX_OUT_1" }] }] }, toCurrency: { identifier: "toCurrency", description: "AR_FN_DSC_TOCURRENCY", type: "function", name: "ToCurrency", category: "cast", overloads: [{ description: "AR_FN_CUR_TOCURRENCY_STR_DSC", identifier: "Currency_ONE toCurrency(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_TOCURRENCY_STR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_TOCURRENCY_STR_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToCurrency("5.00|USD")', output: "AR_FN_CUR_TOCURRENCY_STR_EX_OUT_0" }, { input: 'ToCurrency("|EUR")', output: "AR_FN_CUR_TOCURRENCY_STR_EX_OUT_1" }, { input: 'ToCurrency("5.00|")', output: "AR_FN_CUR_TOCURRENCY_STR_EX_OUT_2" }, { input: 'ToCurrency("5.00")', output: "AR_FN_CUR_TOCURRENCY_STR_EX_OUT_3" }, { input: "ToCurrency(NOT_SET)", output: "AR_FN_CUR_TOCURRENCY_STR_EX_OUT_4" }] }, { description: "AR_FN_CUR_TOCURRENCY_DEC_DSC", identifier: "Currency_ONE toCurrency(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_TOCURRENCY_DEC_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_TOCURRENCY_DEC_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }], examples: [{ input: "ToCurrency(5.00)", output: "AR_FN_CUR_TOCURRENCY_DEC_EX_OUT_0" }] }, { description: "AR_FN_CUR_TOCURRENCY_LNG_DSC", identifier: "Currency_ONE toCurrency(Long_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_TOCURRENCY_LNG_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_TOCURRENCY_LNG_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToCurrency(5)", output: "AR_FN_CUR_TOCURRENCY_LNG_EX_OUT_0" }] }, { description: "AR_FN_CUR_TOCURRENCY_NTS_DSC", identifier: "Currency_ONE toCurrency(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, returnValue: { description: "AR_FN_CUR_TOCURRENCY_NTS_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_TOCURRENCY_NTS_PRM_DSC_0", identifier: "nullValue", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToCurrency(NOT_SET)", output: "AR_FN_CUR_TOCURRENCY_NTS_EX_OUT_0" }] }, { description: "AR_FN_CUR_TOCURRENCY_CUR_DSC", identifier: "Currency_ONE toCurrency(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_TOCURRENCY_CUR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_TOCURRENCY_CUR_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }], examples: [{ input: 'ToCurrency(MakeCurrency(5.25, "USD"))', output: "AR_FN_CUR_TOCURRENCY_CUR_EX_OUT_0" }] }] }, getCurrencySymbol: { identifier: "getCurrencySymbol", description: "AR_FN_DSC_GETCURRENCYSYMBOL", type: "function", name: "GetCurrencySymbol", category: "financial", overloads: [{ description: "AR_FN_STR_GETCURRENCYSYMBOL_STR_DSC", identifier: "String_One getCurrencySymbol(String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_GETCURRENCYSYMBOL_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_GETCURRENCYSYMBOL_STR_PRM_DSC_0", identifier: "currencyCode", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", literalValidatorName: "ISO4217" }], examples: [{ input: 'GetCurrencySymbol("USD")', output: '"$"' }, { input: 'GetCurrencySymbol("EUR")', output: '"\u20AC"' }] }, { description: "AR_FN_STR_GETCURRENCYSYMBOL_CUR_DSC", identifier: "String_One getCurrencySymbol(Currency_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_STR_GETCURRENCYSYMBOL_CUR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETCURRENCYSYMBOL_CUR_PRM_DSC_0", identifier: "currency", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }], examples: [{ input: 'GetCurrencySymbol(MakeCurrency(1.00, "USD"))', output: '"$"' }, { input: 'GetCurrencySymbol(MakeCurrency(5.25, "EUR"))', output: '"\u20AC"' }] }] }, convertCurrency: { identifier: "convertCurrency", description: "AR_FN_DSC_CONVERTCURRENCY", type: "function", name: "ConvertCurrency", category: "financial", overloads: [{ description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DSC", identifier: "Currency_One convertCurrency(Currency_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_PRM_DSC_0", identifier: "sourceCurrency", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_PRM_DSC_1", identifier: "destinationCurrencyCode", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", literalValidatorName: "ISO4217" }], examples: [{ input: 'ConvertCurrency(MakeCurrency(5.00, "USD"), "EUR")', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_0" }, { input: 'ConvertCurrency(MakeCurrency(5.00, ToString(NOT_SET)), "EUR")', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_1" }, { input: 'ConvertCurrency(MakeCurrency(NOT_SET, "USD"), "EUR")', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_2" }, { input: 'ConvertCurrency(MakeCurrency(NOT_SET, "USD"), ToString(NOT_SET))', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_3" }, { input: 'ConvertCurrency(ToCurrency(NOT_SET), "USD")', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_4" }] }, { description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_DSC", identifier: "Currency_One convertCurrency(Currency_ONE,String_ONE,Decimal_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_RV", isArray: false, type: "cur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_PRM_DSC_0", identifier: "sourceCurrency", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_PRM_DSC_1", identifier: "destinationCurrencyCode", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", literalValidatorName: "ISO4217" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_PRM_DSC_2", identifier: "sourcePerDestExchangeRate", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "dec" }], examples: [{ input: 'ConvertCurrency(MakeCurrency(5.00, "USD"), "EUR", 0.6937)', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_0" }, { input: 'ConvertCurrency(MakeCurrency(5.00, ToString(NOT_SET)), "EUR", 0.6937)', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_1" }, { input: 'ConvertCurrency(MakeCurrency(ToDecimal(NOT_SET), ToString(NOT_SET)), "EUR", 0.6937)', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_2" }, { input: 'ConvertCurrency(ToCurrency(NOT_SET), "EUR", 0.6937)', output: "AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_3" }] }] }, toAudioTTS: { identifier: "toAudioTTS", description: "AR_FN_DSC_TOAUDIOTTS", type: "function", runtimeRequiresTTSSupport: true, name: "ToAudioTTS", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOTTS_STR_DSC", identifier: "Audio_ONE ToAudioTTS(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeRequiresTTSSupport: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOTTS_STR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTTS_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToAudioTTS("Hello")', output: "AR_FN_AUDIO_TOAUDIOTTS_STR_EX_OUT_0" }, { input: "ToAudioTTS(ToString(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOTTS_STR_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_DSC", identifier: "Audio_ONE ToAudioTTS(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeRequiresTTSSupport: true, featureToggleName: "archFuncToAudioTTSWithLang", returnValue: { description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_PRM_DSC_1", identifier: "IETFLanguageTag", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str", mustBeLiteral: true, literalValidatorName: "SupportedTTSLangs" }], examples: [{ input: 'ToAudioTTS("Hello", "en-US" )', output: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_0" }, { input: 'ToAudioTTS("Bonjour", "fr-CA" )', output: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_1" }, { input: 'ToAudioTTS("Hola", "es-US" )', output: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_2" }, { input: 'ToAudioTTS(ToString(NOT_SET), "en-US" )', output: "AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_3" }] }, { description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_DSC", identifier: "Audio_ONE ToAudioTTS(String_ONE,StringFormat_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeRequiresTTSSupport: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_PRM_DSC_1", identifier: "stringAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "stf" }], examples: [{ input: 'ToAudioTTS("Hello", Format.String.playChars)', output: "AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_EX_OUT_0" }, { input: "ToAudioTTS(ToString(NOT_SET), Format.String.playChars)", output: "AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_EX_OUT_1" }] }] }, toAudioBlank: { identifier: "toAudioBlank", description: "AR_FN_DSC_TOAUDIOBLANK", type: "function", name: "ToAudioBlank", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOBLANK_LNG_DSC", identifier: "Audio_ONE ToAudioBlank(Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_FN_AUDIO_TOAUDIOBLANK_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOBLANK_LNG_PRM_DSC_0", identifier: "lengthMs", isArray: false, helpDisplayIdx: 0, max: "10000", min: "0", repeatable: false, required: true, type: "int", mustBeLiteral: true }], examples: [{ input: "ToAudioBlank(500)", output: "AR_FN_AUDIO_TOAUDIOBLANK_LNG_EX_OUT_0" }, { input: 'Append(ToAudioTTS("Hello"), ToAudioBlank(1000), ToAudioTTS("World"))', output: "AR_FN_AUDIO_TOAUDIOBLANK_LNG_EX_OUT_1" }] }] }, toAudioBool: { identifier: "toAudioBool", description: "AR_FN_DSC_TOAUDIOBOOL", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioBool", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_DSC", identifier: "Audio_ONE ToAudioBool(Boolean_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_PRM_DSC_0", identifier: "boolToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }], examples: [{ input: "ToAudioBool(true)", output: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioBool(ToBool(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_DSC", identifier: "Audio_ONE ToAudioBool(Boolean_ONE,BoolFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_PRM_DSC_0", identifier: "boolToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_PRM_DSC_1", identifier: "boolAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bof" }], examples: [{ input: "ToAudioBool(false, Format.Bool.playYesNo)", output: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioBool(5 == 5, Format.Bool.playYesNo)", output: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioBool(ToBool(NOT_SET), Format.Bool.playYesNo)", output: "AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_EX_OUT_2" }] }] }, toAudioDuration: { identifier: "toAudioDuration", description: "AR_FN_DSC_TOAUDIODURATION", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioDuration", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIODURATION_DUR_DSC", identifier: "Audio_ONE ToAudioDuration(Duration_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIODURATION_DUR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODURATION_DUR_PRM_DSC_0", identifier: "durationToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dur" }], examples: [{ input: "ToAudioDuration(MakeDuration(0, 1, 30, 0))", output: "AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDuration(MakeDuration(0, -1, 30, 0))", output: "AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDuration(MakeDuration(0, 1, 30, 5, 700))", output: "AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDuration(ToDuration(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_3" }] }] }, toAudioPhoneNumber: { identifier: "toAudioPhoneNumber", description: "AR_FN_DSC_TOAUDIOPHONENUMBER", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioPhoneNumber", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_DSC", identifier: "Audio_ONE ToAudioPhoneNumber(PhoneNumber_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, blankAudioForSipPhoneNumber: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PRM_DSC_0", identifier: "phoneNumberToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "phn" }], examples: [{ input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+13178723000"))', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPhoneNumber(ToPhoneNumber(Call.Ani))", output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("sip:john.doe@example.com"))', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_2" }, { input: "ToAudioPhoneNumber(ToPhoneNumber(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_3" }] }, { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_DSC", identifier: "Audio_ONE ToAudioPhoneNumber(PhoneNumber_ONE,PhoneNumberFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, blankAudioForSipPhoneNumber: true, runtimeSequencesSystemPrompts: true, featureToggleName: "archPhoneNumberPhase2", returnValue: { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_PRM_DSC_0", identifier: "phoneNumberToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "phn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_PRM_DSC_1", identifier: "phoneNumberFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "phf" }], examples: [{ input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+13178723000"), Format.PhoneNumber.local)', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+13178723000"), Format.PhoneNumber.global)', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+31755551212"), Format.PhoneNumber.local)', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPhoneNumber(ToPhoneNumber(Call.Ani), Format.PhoneNumber.global)", output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("sip:john.doe@example.com"), Format.PhoneNumber.global)', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_4" }, { input: "ToAudioPhoneNumber(ToPhoneNumber(NOT_SET), Format.PhoneNumber.local)", output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_5" }] }, { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_DSC", identifier: "Audio_ONE ToAudioPhoneNumber(PhoneNumber_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, blankAudioForSipPhoneNumber: true, runtimeSequencesSystemPrompts: true, featureToggleName: "archPhoneNumberPhase2", returnValue: { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_PRM_DSC_0", identifier: "phoneNumberToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "phn" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_PRM_DSC_1", identifier: "dialingCode", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str", literalValidatorName: "DialingCodes" }], examples: [{ input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+13178723000"), System.Regions.US.dialingCode)', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+13178723000"), ToString(NOT_SET))', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+13178723000"), System.Regions.NL.dialingCode)', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("tel:+31755551212"), "31")', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber(Call.Ani), "1")', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber("sip:john.doe@example.com"))', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_5" }, { input: 'ToAudioPhoneNumber(ToPhoneNumber(NOT_SET), "1")', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_6" }] }, { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_DSC", identifier: "Audio_ONE ToAudioPhoneNumber(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_PRM_DSC_0", identifier: "stringToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToAudioPhoneNumber("8125551234")', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber("812.555.1234")', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioPhoneNumber("812-555-1234")', output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPhoneNumber(ToString(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_3" }] }] }, toAudioCurrency: { identifier: "toAudioCurrency", description: "AR_FN_DSC_TOAUDIOCURRENCY", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioCurrency", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_DSC", identifier: "Audio_ONE ToAudioCurrency(Currency_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_PRM_DSC_0", identifier: "currencyToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }], examples: [{ input: 'ToAudioCurrency(MakeCurrency(1234567.0, "USD"))', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(ToCurrency("1.23|USD"))', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(1.23456789, "USD"))', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioCurrency(ToCurrency(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_3" }, { input: 'ToAudioCurrency(MakeCurrency(1.567, "USD"))', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }] }, { description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_DSC", identifier: "Audio_ONE ToAudioCurrency(Currency_ONE,CurrencyFormat_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_PRM_DSC_0", identifier: "currencyToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_PRM_DSC_1", identifier: "currencyAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cuf" }], examples: [{ input: 'ToAudioCurrency(MakeCurrency(1234567.80, "USD"), Format.Currency.majorUnitsOnly)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(1234567.80, "USD"), Format.Currency.minorUnitsOnly)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(2.80, "USD"), Format.Currency.asMinorUnits)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(ToCurrency("1.23|USD"), Format.Currency.playDigits)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(ToCurrency("30.20|USD"), Format.Currency.playDigits)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(ToCurrency("0.20|USD"), Format.Currency.playDigits)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_5", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioCurrency(ToCurrency(NOT_SET), Format.Currency.playDigits)", output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_6" }] }, { description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_DSC", identifier: "Audio_ONE ToAudioCurrency(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_PRM_DSC_0", identifier: "currencyToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_PRM_DSC_1", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToAudioCurrency(MakeCurrency(1.23, "USD"), 1)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(1.23, "USD"), 2)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(-35.23, "USD"), 2)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(1.23, "USD"), 3)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(1.23456, "USD"), 2)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: 'ToAudioCurrency(MakeCurrency(21.23456, "USD"), 2)', output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_5", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioCurrency(ToCurrency(NOT_SET), 2)", output: "AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_6" }] }] }, toAudioPercent: { identifier: "toAudioPercent", description: "AR_FN_DSC_TOAUDIOPERCENT", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioPercent", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOPERCENT_LNG_DSC", identifier: "Audio_ONE ToAudioPercent(Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOPERCENT_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPERCENT_LNG_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToAudioPercent(123)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(5)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(ToInt(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOPERCENT_LNG_EX_OUT_2" }] }, { description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_DSC", identifier: "Audio_ONE ToAudioPercent(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }], examples: [{ input: "ToAudioPercent(123.12)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(0.2)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(ToDecimal(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_EX_OUT_2" }] }, { description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_DSC", identifier: "Audio_ONE ToAudioPercent(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_PRM_DSC_1", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToAudioPercent(123.12, 2)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(123.17, 1)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(123.12, 3)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioPercent(ToDecimal(NOT_SET), 1)", output: "AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_3" }] }] }, toAudioDate: { identifier: "toAudioDate", description: "AR_FN_DSC_TOAUDIODATE", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioDate", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIODATE_DTM_DSC", identifier: "Audio_ONE ToAudioDate(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIODATE_DTM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATE_DTM_PRM_DSC_0", identifier: "dateTimeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }], examples: [{ input: "ToAudioDate(MakeDateTime(1989, 11, 30, 14, 22, 11))", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(ToDateTime(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_DSC", identifier: "Audio_ONE ToAudioDate(DateTime_ONE,DateTimeFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_PRM_DSC_0", identifier: "dateTimeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_PRM_DSC_1", identifier: "dateAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "daf" }], examples: [{ input: "ToAudioDate(MakeDateTime(1989, 11, 30, 14, 22, 11), Format.Date.longYear)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(1989, 11, 30, 14, 22, 11), Format.Date.shortYear)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(1989, 11, 30, 14, 22, 11), Format.Date.shortMonthAndDay)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(2014, 4, 7, 14, 22, 11), Format.Date.dayOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(2014, 4, 7, 14, 22, 11), Format.Date.monthOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(2014, 4, 7, 14, 22, 11), Format.Date.shortYearOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_5", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(2014, 4, 7, 14, 22, 11), Format.Date.longYearOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_6", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDateTime(2014, 11, 5, 12, 00, 00), Format.Date.dayOfWeekOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_7", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(ToDateTime(NOT_SET), Format.Date.longYearOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_8" }] }, { description: "AR_FN_AUDIO_TOAUDIODATE_DATE_DSC", identifier: "Audio_ONE ToAudioDate(Date_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIODATE_DATE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATE_DATE_PRM_DSC_0", identifier: "dateToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dat" }], examples: [{ input: "ToAudioDate(MakeDate(1989, 11, 30))", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(ToDate(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_DSC", identifier: "Audio_ONE ToAudioDate(Date_ONE,DateFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_PRM_DSC_0", identifier: "dateToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_PRM_DSC_1", identifier: "dateAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "daf" }], examples: [{ input: "ToAudioDate(MakeDate(1989, 11, 30), Format.Date.longYear)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(1989, 11, 30), Format.Date.shortYear)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(1989, 11, 30), Format.Date.shortMonthAndDay)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(2014, 4, 7), Format.Date.dayOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(2014, 4, 7), Format.Date.monthOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(2014, 4, 7), Format.Date.shortYearOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_5", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(2014, 4, 7), Format.Date.longYearOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_6", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(MakeDate(2014, 11, 5), Format.Date.dayOfWeekOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_7", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDate(ToDate(NOT_SET), Format.Date.longYearOnly)", output: "AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_8" }] }], needsServerInfo: true }, toAudioDateTime: { identifier: "toAudioDateTime", description: "AR_FN_DSC_TOAUDIODATETIME", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioDateTime", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_DSC", identifier: "Audio_ONE ToAudioDateTime(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_PRM_DSC_0", identifier: "dateTimeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }], examples: [{ input: "ToAudioDateTime(MakeDateTime(1989, 11, 30, 14, 22, 11))", output: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDateTime(MakeDateTime(1989, 11, 30, 14, 22, 11))", output: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDateTime(MakeDateTime(1989, 11, 30))", output: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioDateTime(ToDateTime(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_3" }] }] }, toAudioTime: { identifier: "toAudioTime", description: "AR_FN_DSC_TOAUDIOTIME", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioTime", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_DSC", identifier: "Audio_ONE ToAudioTime(DateTime_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_PRM_DSC_0", identifier: "dateTimeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }], examples: [{ input: "ToAudioTime(MakeDateTime(1989, 11, 30, 14, 22, 11))", output: "AR_FN_AUDIO_TOAUDIOTIME_DTM_EX_OUT_0" }, { input: "ToAudioTime(MakeDateTime(1989, 11, 30))", output: "AR_FN_AUDIO_TOAUDIOTIME_DTM_EX_OUT_1" }, { input: "ToAudioTime(ToDateTime(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIOTIME_DTM_EX_OUT_2" }] }, { description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_DSC", identifier: "Audio_ONE ToAudioTime(DateTime_ONE,TimeFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_PRM_DSC_0", identifier: "dateTimeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dtm" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_PRM_DSC_1", identifier: "timeAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tif" }], examples: [{ input: "ToAudioTime(MakeDateTime(2014, 4, 7, 14, 22, 11), Format.Time.twentyFourHours)", output: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioTime(MakeDateTime(2014, 4, 7, 14, 22, 11), Format.Time.twelveHours)", output: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioTime(ToDateTime(NOT_SET), Format.Time.twelveHours)", output: "AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_EX_OUT_2" }] }] }, toAudio: { identifier: "toAudio", description: "AR_FN_DSC_TOAUDIO", type: "function", name: "ToAudio", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIO_PROMPT_DSC", identifier: "Audio_ONE toAudio(Prompt_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, returnValue: { description: "AR_FN_AUDIO_TOAUDIO_PROMPT_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIO_PROMPT_PRM_DSC_0", identifier: "promptToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "pmt", checkPromptTTSLength: true }], examples: [{ input: "ToAudio(Prompt.Welcome)", output: "AR_FN_AUDIO_TOAUDIO_PROMPT_EX_OUT_0" }] }, { description: "AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_DSC", identifier: "Audio_ONE toAudio(Prompt_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_PRM_DSC_0", identifier: "promptCollectionToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "pmt" }], examples: [{ input: "ToAudio(MakeList(Prompt.Hello, Prompt.World))", output: "AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_EX_OUT_0" }] }, { description: "AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_DSC", identifier: "Audio_ONE toAudio(VoicemailSnippet_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { voicemail: "voicemail" }, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_PRM_DSC_0", identifier: "snippetToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cpx_voicemail_snippet" }], examples: [{ input: "ToAudio(Voicemail.VoicemailSnippet)", output: "AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_EX_OUT_0" }, { input: "ToAudio(ToVoicemailSnippet(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_DSC", identifier: "Audio_ONE toAudio(VoiceSnippet_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_PRM_DSC_0", identifier: "snippetToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cpx_voice_snippet" }], examples: [{ input: "ToAudio(Flow.ParticipantSnippet)", output: "AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_EX_OUT_0" }, { input: "ToAudio(ToVoiceSnippet(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIO_NTS_DSC", identifier: "Audio_ONE toAudio(Null_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIO_NTS_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIO_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToAudio(NOT_SET)", output: "AR_FN_AUDIO_TOAUDIO_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toAudioSsml: { identifier: "toAudioSsml", description: "AR_FN_DSC_TOAUDIOSSML", type: "function", name: "ToAudioSsml", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOSSML_STR_DSC", identifier: "Audio_ONE ToAudioSsml(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, disallowAsDefaultCast: true, featureConfigName: "audioSsmlSupportFeature", needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOSSML_STR_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOSSML_STR_PRM_DSC_0", identifier: "ssmlFragment", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToAudioSsml("SSML")', output: "AR_FN_AUDIO_TOAUDIOSSML_STR_EX_OUT_0" }, { input: 'ToAudioSsml("5")', output: "AR_FN_AUDIO_TOAUDIOSSML_STR_EX_OUT_1", outputFlowCurrentLanguage: "en-us" }, { input: "ToAudioSsml(NOT_SET)", output: "AR_FN_AUDIO_TOAUDIOSSML_STR_EX_OUT_2" }] }], needsServerInfo: true }, toCommunication: { identifier: "toCommunication", description: "AR_FN_DSC_TOCOMMUNICATION", type: "function", name: "ToCommunication", category: "cast", overloads: [{ description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_DSC", identifier: "Communication_ONE ToCommunication(Any_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_PRM_DSC_0", identifier: "anyValueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "ToCommunication(1)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_DSC", identifier: "Communication_ONE ToCommunication(Any_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_PRM_DSC_0", identifier: "anyValueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "ToCommunication(MakeList(1, 2))", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_DSC", identifier: "Communication_ONE ToCommunication(Any_COLL,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_PRM_DSC_0", identifier: "anyValueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_PRM_DSC_1", identifier: "delimiter", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToCommunication(MakeList(1, 2), ", ")', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_DSC", identifier: "Communication_ONE ToCommunication(Boolean_ONE,BoolFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_PRM_DSC_0", identifier: "boolToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_PRM_DSC_1", identifier: "boolCommunicationFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "bof" }], examples: [{ input: "ToCommunication(false, Format.Bool.playYesNo)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(5 == 5, Format.Bool.playYesNo)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToBool(NOT_SET), Format.Bool.playYesNo)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_EX_OUT_2" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_DSC", identifier: "Communication_ONE ToCommunication(Currency_ONE,CurrencyFormat_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_PRM_DSC_0", identifier: "currencyToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_PRM_DSC_1", identifier: "currencyCommunicationFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "cuf" }], examples: [{ input: 'ToCommunication(MakeCurrency(1234567.80, "USD"), Format.Currency.majorUnitsOnly)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToCommunication(MakeCurrency(1234567.80, "USD"), Format.Currency.minorUnitsOnly)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToCommunication(MakeCurrency(2.80, "USD"), Format.Currency.asMinorUnits)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToCurrency(NOT_SET), Format.Currency.playDigits)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_3" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_DSC", identifier: "Communication_ONE ToCommunication(Currency_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_PRM_DSC_0", identifier: "currencyToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "cur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_PRM_DSC_1", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: 'ToCommunication(MakeCurrency(1.27, "USD"), 1)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: 'ToCommunication(MakeCurrency(1.234, "USD"), 2)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: 'ToCommunication(MakeCurrency(1.23, "USD"), 3)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: 'ToCommunication(MakeCurrency(-35.23, "USD"), 2)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToCurrency(NOT_SET), 2)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_4" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_DSC", identifier: "Communication_ONE ToCommunication(Date_ONE,DateFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_PRM_DSC_0", identifier: "dateToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dat" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_PRM_DSC_1", identifier: "dateCommunicationFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "daf" }], examples: [{ input: "ToCommunication(MakeDate(1989, 11, 30), Format.Date.longYear)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(1989, 11, 30), Format.Date.shortYear)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(1989, 11, 30), Format.Date.shortMonthAndDay)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(2014, 4, 7), Format.Date.dayOnly)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(2014, 4, 7), Format.Date.monthOnly)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(2014, 4, 7), Format.Date.shortYearOnly)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_5", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(2014, 4, 7), Format.Date.longYearOnly)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_6", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeDate(2014, 11, 5), Format.Date.dayOfWeekOnly)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_7", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToDate(NOT_SET), Format.Date.longYearOnly)", output: "A NOT_SET Communication." }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_DSC", identifier: "Communication_ONE ToCommunication(Decimal_ONE,NumberFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_PRM_DSC_1", identifier: "numberCommunicationFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }], examples: [{ input: "ToCommunication(5.5, Format.Number.playDigits)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(-500.0, Format.Number.playDigits)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToDecimal(NOT_SET), Format.Number.playDigits)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_EX_OUT_2" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_DSC", identifier: "Communication_ONE ToCommunication(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_PRM_DSC_1", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToCommunication(1.27, 1)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(1.234, 2)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(1.23, 3)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(-35.17, 2)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToDecimal(NOT_SET), 2)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_4" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Communication_ONE ToCommunication(Long_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "LanguageUniqueContext" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "languageContext", isArray: false, helpDisplayIdx: 1, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToCommunication(1, Language.Gender.masculine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(1, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(5, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(1, Language.Gender.feminine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(1, Language.Gender.feminine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(5, Language.Gender.feminine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_5", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(ToInt(NOT_SET), Language.Gender.neuter)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_6", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_DSC", identifier: "Communication_ONE ToCommunication(Long_ONE,NumberFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_PRM_DSC_1", identifier: "numberFormatting", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }], examples: [{ input: "ToCommunication(500, Format.Number.playDigits)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToInt(NOT_SET), Format.Number.playDigits)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_EX_OUT_1" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Communication_ONE ToCommunication(Long_ONE,NumberFormatEnum_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "numberFormatting", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2", identifier: "languageContext", isArray: false, helpDisplayIdx: 2, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToCommunication(12, Format.Number.playDigits, Language.Gender.masculine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(11, Format.Number.playDigits, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(55, Format.Number.playDigits, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(12, Format.Number.playDigits, Language.Gender.feminine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(12, Format.Number.playDigits, Language.Gender.feminine, Language.Case.article)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "es-US" }, { input: "ToCommunication(ToInt(NOT_SET), Format.Number.playDigits, Language.Gender.neuter)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_5", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_DSC", identifier: "Communication_ONE ToCommunication(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToCommunication(NOT_SET)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_EX_OUT_0" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_DSC", identifier: "Communication_ONE ToCommunication(String_ONE,StringFormat_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_PRM_DSC_0", identifier: "text", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_PRM_DSC_1", identifier: "stringCommunicationFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "stf" }], examples: [{ input: 'ToCommunication("Hello", Format.String.playChars)', output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_EX_OUT_0" }, { input: "ToCommunication(ToString(NOT_SET), Format.String.playChars)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_EX_OUT_1" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_DSC", identifier: "Communication_ONE ToCommunication(Time_ONE,TimeFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_PRM_DSC_0", identifier: "timeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_PRM_DSC_1", identifier: "timeCommunicationFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tif" }], examples: [{ input: "ToCommunication(MakeTime(14, 22, 11), Format.Time.twentyFourHours)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeTime(14, 22, 11), Format.Time.twelveHours)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(ToTime(NOT_SET), Format.Time.twelveHours)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_DSC", identifier: "Communication_ONE ToCommunication(Time_ONE,TimePartEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", digitalbot: "digitalbot", voice: "voice", voicesurvey: "voicesurvey" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_PRM_DSC_0", identifier: "timeToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "tim" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_PRM_DSC_1", identifier: "timePart", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "tpf" }], examples: [{ input: "ToCommunication(MakeTime(9, 22, 11), Format.TimePart.hours)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunication(MakeTime(14, 22, 11), Format.TimePart.minutes)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }] }], needsServerInfo: true }, toCommunicationBlank: { identifier: "toCommunicationBlank", description: "AR_FN_DSC_TOCOMMUNICATIONBLANK", type: "function", name: "ToCommunicationBlank", category: "cast", overloads: [{ description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_DSC", identifier: "Communication_ONE ToCommunicationBlank(Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", voice: "voice", voicesurvey: "voicesurvey" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_PRM_DSC_0", identifier: "lengthMs", isArray: false, helpDisplayIdx: 0, max: "10000", min: "0", repeatable: false, required: false, type: "int" }], examples: [{ input: "ToCommunicationBlank(500)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_EX_OUT_0" }, { input: "ToCommunicationBlank(ToInt(NOT_SET))", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_EX_OUT_1" }] }], needsServerInfo: true }, toCommunicationOrdinal: { identifier: "toCommunicationOrdinal", description: "AR_FN_DSC_TOCOMMUNICATIONORDINAL", type: "function", name: "ToCommunicationOrdinal", category: "cast", overloads: [{ description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_DSC", identifier: "Communication_ONE ToCommunicationOrdinal(Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToCommunicationOrdinal(1)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunicationOrdinal(201)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunicationOrdinal(500)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunicationOrdinal(5000)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunicationOrdinal(-500)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: "ToCommunicationOrdinal(ToInt(NOT_SET))", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_5", outputFlowCurrentLanguage: "en-US" }] }, { description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Communication_ONE ToCommunicationOrdinal(Long_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "LanguageUniqueContext" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "languageContext", isArray: false, helpDisplayIdx: 1, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToCommunicationOrdinal(1, Language.Gender.masculine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToCommunicationOrdinal(1, Language.Gender.feminine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToCommunicationOrdinal(1, Language.Gender.neuter)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToCommunicationOrdinal(-1, Language.Gender.masculine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToCommunicationOrdinal(ToInt(NOT_SET), Language.Gender.masculine)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "fr-FR" }] }], needsServerInfo: true }, toCommunicationSsml: { identifier: "toCommunicationSsml", description: "AR_FN_DSC_TOCOMMUNICATIONSSML", type: "function", name: "ToCommunicationSsml", category: "cast", overloads: [{ description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_DSC", identifier: "Communication_ONE ToCommunicationSsml(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { bot: "bot", voice: "voice", voicesurvey: "voicesurvey" }, disallowAsDefaultCast: true, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_PRM_DSC_0", identifier: "ssmlFragment", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'ToCommunicationSsml("SSML")', output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_EX_OUT_0" }, { input: 'ToCommunicationSsml("5")', output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_EX_OUT_1", outputFlowCurrentLanguage: "en-us" }, { input: "ToCommunicationSsml(NOT_SET)", output: "AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_EX_OUT_2" }] }], needsServerInfo: true }, toMultimodalCommunication: { identifier: "toMultimodalCommunication", description: "AR_FN_DSC_TOMULTIMODALCOMMUNICATION", type: "function", name: "ToMultimodalCommunication", category: "cast", overloads: [{ description: "AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_DSC", identifier: "Communication_ONE ToMultimodalCommunication(Communication_ONE,Communication_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_RV", isArray: false, type: "com" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_PRM_DSC_0", identifier: "voiceModeCommunication", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "com" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_PRM_DSC_1", identifier: "textModeCommunication", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "com" }], examples: [{ input: "ToMultimodalCommunication(ToCommunication(1), ToCommunication(false, Format.Bool.playYesNo))", output: "AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToMultimodalCommunication(ToCommunication(NOT_SET), ToCommunication(NOT_SET))", output: "AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }] }], needsServerInfo: true }, toAudioNumber: { identifier: "toAudioNumber", description: "AR_FN_DSC_TOAUDIONUMBER", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioNumber", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_DSC", identifier: "Audio_ONE ToAudioNumber(Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToAudioNumber(1)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(500)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(-500)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(ToInt(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_3" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumber(Long_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "LanguageUniqueContext" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "languageContext", isArray: false, helpDisplayIdx: 1, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumber(1, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(5, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1, Language.Gender.feminine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(5, Language.Gender.feminine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_5", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(ToInt(NOT_SET), Language.Gender.neuter)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_6", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_DSC", identifier: "Audio_ONE ToAudioNumber(Long_ONE,NumberFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_PRM_DSC_1", identifier: "numberAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }], examples: [{ input: "ToAudioNumber(500, Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(-500, Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(ToInt(NOT_SET), Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_EX_OUT_2" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumber(Long_ONE,NumberFormatEnum_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "numberAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2", identifier: "languageContext", isArray: false, helpDisplayIdx: 2, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumber(12, Format.Number.playDigits, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(11, Format.Number.playDigits, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(55, Format.Number.playDigits, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(12, Format.Number.playDigits, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(12, Format.Number.playDigits, Language.Gender.feminine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(ToInt(NOT_SET), Format.Number.playDigits, Language.Gender.neuter)", output: "AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_5", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }], examples: [{ input: "ToAudioNumber(500.00)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(-500.00)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(125.25)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_3" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "languageContext", isArray: false, helpDisplayIdx: 1, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumber(1.4, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.765, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.765, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.765, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(2.765, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_5", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,NumberFormatEnum_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_PRM_DSC_1", identifier: "numberAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }], examples: [{ input: "ToAudioNumber(5.5, Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(-500.0, Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(500.0, Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), Format.Number.playDigits)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_3" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,NumberFormatEnum_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "numberAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2", identifier: "languageContext", isArray: false, helpDisplayIdx: 2, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumber(100.00, Format.Number.playDigits, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(100.00, Format.Number.playDigits, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(100.00, Format.Number.playDigits, Language.Gender.masculine, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.765, Format.Number.playDigits, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.765, Format.Number.playDigits, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(2.765, Format.Number.playDigits, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_5", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), Format.Number.playDigits, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_6", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_PRM_DSC_1", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToAudioNumber(123.127, 2)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(-123.12, 4)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(0.234859, 3)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), 3)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_3" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,Long_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int", isDecimalPlaces: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2", identifier: "languageContext", isArray: false, helpDisplayIdx: 2, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumber(1.127, 2, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.127, 2, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), 3, Language.Gender.neuter)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,NumberFormatEnum_ONE,Long_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_PRM_DSC_1", identifier: "numberAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_PRM_DSC_2", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "int", isDecimalPlaces: true }], examples: [{ input: "ToAudioNumber(123.1234, Format.Number.playDigits, 3)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), Format.Number.playDigits, 3)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_EX_OUT_1" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumber(Decimal_ONE,NumberFormatEnum_ONE,Long_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "decimalToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "dec" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "numberAudioFormat", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "nuf" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2", identifier: "numberOfDecimalPlaces", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "int", isDecimalPlaces: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_3", identifier: "languageContext", isArray: false, helpDisplayIdx: 3, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumber(1.1234, Format.Number.playDigits, 3, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(1.1234, Format.Number.playDigits, 3, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "es-US" }, { input: "ToAudioNumber(ToDecimal(NOT_SET), Format.Number.playDigits, 3, Language.Case.article)", output: "AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "es-US" }] }] }, toAudioNumberOrdinal: { identifier: "toAudioNumberOrdinal", description: "AR_FN_DSC_TOAUDIONUMBERORDINAL", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioNumberOrdinal", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_DSC", identifier: "Audio_ONE ToAudioNumberOrdinal(Long_ONE)", support: { version: "1.0", resolver: "None" }, disallowAsDefaultCast: true, runtimeSequencesSystemPrompts: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }], examples: [{ input: "ToAudioNumberOrdinal(1)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_0", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumberOrdinal(201)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_1", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumberOrdinal(500)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_2", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumberOrdinal(5000)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_3", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumberOrdinal(-500)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_4", outputFlowCurrentLanguage: "en-US" }, { input: "ToAudioNumberOrdinal(ToInt(NOT_SET))", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_5" }] }, { description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_DSC", identifier: "Audio_ONE ToAudioNumberOrdinal(Long_ONE,LanguageContextEnum_ONE...)", support: { version: "1.0", resolver: "LanguageUniqueContext" }, runtimeSequencesSystemPrompts: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0", identifier: "integerToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1", identifier: "languageContext", isArray: false, helpDisplayIdx: 1, repeatable: true, required: true, type: "lne" }], examples: [{ input: "ToAudioNumberOrdinal(1, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToAudioNumberOrdinal(1, Language.Gender.feminine)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToAudioNumberOrdinal(1, Language.Gender.neuter)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2", outputFlowCurrentLanguage: "da-DK" }, { input: "ToAudioNumberOrdinal(-1, Language.Gender.masculine)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3", outputFlowCurrentLanguage: "fr-FR" }, { input: "ToAudioNumberOrdinal(ToInt(NOT_SET), Language.Gender.neuter)", output: "AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4", outputFlowCurrentLanguage: "da-DK" }] }], needsServerInfo: true }, toVoicemailSnippet: { identifier: "toVoicemailSnippet", description: "AR_FN_DSC_TOVOICEMAILSNIPPET", type: "function", name: "ToVoicemailSnippet", category: "cast", overloads: [{ description: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_DSC", identifier: "VoicemailSnippet_ONE toVoicemailSnippet(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_RV", isArray: false, type: "cpx_voicemail_snippet" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToVoicemailSnippet(NOT_SET)", output: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_EX_OUT_0" }] }, { description: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_DSC", identifier: "VoicemailSnippet_ONE toVoicemailSnippet(VoicemailSnippet_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_RV", isArray: false, type: "cpx_voicemail_snippet" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cpx_voicemail_snippet" }], examples: [{ input: "ToVoicemailSnippet(Voicemail.VoicemailSnippet)", output: "AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_EX_OUT_0" }] }], needsServerInfo: true }, toVoiceSnippet: { identifier: "toVoiceSnippet", description: "AR_FN_DSC_TOVOICESNIPPET", type: "function", name: "ToVoiceSnippet", category: "cast", overloads: [{ description: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_DSC", identifier: "VoiceSnippet_ONE toVoiceSnippet(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_RV", isArray: false, type: "cpx_voice_snippet" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToVoiceSnippet(NOT_SET)", output: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_EX_OUT_0" }] }, { description: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_DSC", identifier: "VoiceSnippet_ONE toVoiceSnippet(VoiceSnippet_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_RV", isArray: false, type: "cpx_voice_snippet" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_PRM_DSC_0", identifier: "valueToReturn", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cpx_voice_snippet" }], examples: [{ input: "ToVoiceSnippet(ToVoiceSnippet(NOT_SET))", output: "AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_EX_OUT_0" }] }], needsServerInfo: true }, getDefaultLanguage: { identifier: "getDefaultLanguage", description: "AR_FN_DSC_GETDEFAULTLANGUAGE", type: "function", name: "GetDefaultLanguage", category: "language", overloads: [{ description: "AR_FN_STR_GETDEFAULTSUPPORTEDLANGUAGE_DSC", identifier: "String_ONE getDefaultSupportedLanguage()", support: { version: "1.0", resolver: "None" }, hidden: true, returnValue: { description: "AR_FN_STR_GETDEFAULTSUPPORTEDLANGUAGE_RV", isArray: false, type: "str" }, parameters: [] }] }, getSupportedLanguages: { identifier: "getSupportedLanguages", description: "AR_FN_DSC_GETSUPPORTEDLANGUAGES", type: "function", name: "GetSupportedLanguages", category: "language", overloads: [{ description: "AR_FN_STR_COLL_GETSUPPORTEDLANGUAGES_DSC", identifier: "String_COLL getSupportedLanguages()", support: { version: "1.0", resolver: "None" }, hidden: true, returnValue: { description: "AR_FN_STR_COLL_GETSUPPORTEDLANGUAGES_RV", isArray: true, type: "str" }, parameters: [] }] }, getCurrentDateTimeUtc: { identifier: "getCurrentDateTimeUtc", description: "AR_FN_DSC_GETCURRENTDATETIMEUTC", type: "function", name: "GetCurrentDateTimeUtc", category: "datetime", overloads: [{ description: "AR_FN_DTM_GETCURRENTDATETIMEUTC_DSC", identifier: "DateTime_ONE getCurrentDateTimeUtc()", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DTM_GETCURRENTDATETIMEUTC_RV", isArray: false, type: "dtm" }, parameters: [], examples: [{ input: "GetCurrentDateTimeUtc()", output: "AR_FN_DTM_GETCURRENTDATETIMEUTC_EX_OUT_0" }] }] }, getDeflectionUrl: { identifier: "getDeflectionUrl", description: "AR_FN_DSC_GETDEFLECTIONURL", type: "function", name: "GetDeflectionUrl", category: "text", overloads: [{ description: "AR_FN_STR_GETDEFLECTIONURL_STR_STR_DSC", identifier: "String_ONE getDeflectionUrl(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", commonmodule: "commonmodule" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_GETDEFLECTIONURL_STR_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_GETDEFLECTIONURL_STR_STR_PRM_DSC_0", identifier: "service", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str", literalValidatorName: "SupportedDigitalChannels" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_GETDEFLECTIONURL_STR_STR_PRM_DSC_1", identifier: "accountId", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str", minLength: "1" }], examples: [{ input: 'GetDeflectionUrl("facebook", "genesys")', output: "AR_FN_STR_GETDEFLECTIONURL_STR_STR_EX_OUT_0" }] }], needsServerInfo: true }, getSurveyQuestionAnswer: { identifier: "getSurveyQuestionAnswer", description: "AR_FN_DSC_GETSURVEYQUESTIONANSWER", type: "function", name: "GetSurveyQuestionAnswer", category: "survey", overloads: [{ description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_DSC", identifier: "String_ONE getSurveyQuestionAnswer(SurveyQuestion_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_PRM_DSC_0", identifier: "surveyQuestion", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "squ" }], examples: [{ input: "getSurveyQuestionAnswer(Form.Group1_Question1)", output: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_EX_OUT_0" }, { input: "getSurveyQuestionAnswer(NOT_SET)", output: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_EX_OUT_1" }] }, { description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_DSC", identifier: "String_ONE getSurveyQuestionAnswer(SurveyQuestion_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_PRM_DSC_0", identifier: "surveyQuestion", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "squ" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_PRM_DSC_1", identifier: "isForFollowUp", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "bln" }], examples: [{ input: "getSurveyQuestionAnswer(Form.Group1_Question1, true)", output: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_0" }, { input: "getSurveyQuestionAnswer(Form.Group1_Question1, false)", output: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_1" }, { input: "getSurveyQuestionAnswer(NOT_SET, true)", output: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_2" }, { input: "getSurveyQuestionAnswer(Form.Group1_Question1, NOT_SET)", output: "AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_3" }] }], needsServerInfo: true }, getSurveyQuestionIsAnswered: { identifier: "getSurveyQuestionIsAnswered", description: "AR_FN_DSC_GETSURVEYQUESTIONISANSWERED", type: "function", name: "GetSurveyQuestionIsAnswered", category: "survey", overloads: [{ description: "AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_DSC", identifier: "Boolean_ONE getSurveyQuestionIsAnswered(SurveyQuestion_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_PRM_DSC_0", identifier: "surveyQuestion", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "squ" }], examples: [{ input: "getSurveyQuestionIsAnswered(Form.Group1_Question1)", output: "AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_EX_OUT_0" }, { input: "getSurveyQuestionIsAnswered(NOT_SET)", output: "false" }] }], needsServerInfo: true }, getSurveyQuestionNpsCategory: { identifier: "getSurveyQuestionNpsCategory", description: "AR_FN_DSC_GETSURVEYQUESTIONNPSCATEGORY", type: "function", name: "GetSurveyQuestionNpsCategory", category: "survey", overloads: [{ description: "AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_DSC", identifier: "String_ONE getSurveyQuestionNpsCategory(SurveyQuestion_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_PRM_DSC_0", identifier: "surveyQuestion", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "squ" }], examples: [{ input: "getSurveyQuestionNpsCategory(Form.Group1_Question1)", output: "AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_EX_OUT_0" }, { input: "getSurveyQuestionNpsCategory(NOT_SET)", output: "AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_EX_OUT_1" }] }], needsServerInfo: true }, random: { identifier: "random", description: "AR_FN_DSC_RANDOM", type: "function", name: "Random", category: "mathematical", overloads: [{ description: "AR_FN_DEC_RANDOM_DSC", identifier: "Decimal_ONE random()", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DEC_RANDOM_RV", isArray: false, type: "dec" }, parameters: [], examples: [{ input: "random()", output: "0.1307734" }] }], needsServerInfo: true }, randomInt: { identifier: "randomInt", description: "AR_FN_DSC_RANDOMINT", type: "function", name: "RandomInt", category: "mathematical", overloads: [{ description: "AR_FN_LNG_RANDOMINT_LNG_DSC", identifier: "Long_ONE randomInt(Long_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_LNG_RANDOMINT_LNG_RV", isArray: false, type: "int" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_LNG_RANDOMINT_LNG_PRM_DSC_0", identifier: "limit", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }], examples: [{ input: "randomInt(3)", output: "1" }, { input: "randomInt(3)", output: "3" }, { input: "randomInt(-5)", output: "-4" }, { input: "randomInt(0)", output: "0" }, { input: "randomInt(100)", output: "AR_FN_LNG_RANDOMINT_LNG_EX_OUT_4" }, { input: "randomInt(99) + 1", output: "AR_FN_LNG_RANDOMINT_LNG_EX_OUT_5" }] }], needsServerInfo: true }, roundUp: { identifier: "roundUp", description: "AR_FN_DSC_ROUNDUP", type: "function", name: "RoundUp", category: "datetime", overloads: [{ description: "AR_FN_DUR_ROUNDUP_DUR_DSC", identifier: "Duration_ONE RoundUp(Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_ROUNDUP_DUR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_ROUNDUP_DUR_PRM_DSC_0", identifier: "durationToRound", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }], examples: [{ input: "RoundUp(MakeDuration(0, 0, 2, 35, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_EX_OUT_0" }, { input: "RoundUp(MakeDuration(0, 0, 0, 37, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_EX_OUT_1" }, { input: "RoundUp(MakeDuration(0, 0, 5, 0, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_EX_OUT_2" }, { input: "RoundUp(MakeDuration(0, 0, 22, 30, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_EX_OUT_3" }, { input: "RoundUp(MakeDuration(0, 1, 22, 30, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_EX_OUT_4" }] }, { description: "AR_FN_DUR_ROUNDUP_DUR_DUR_DSC", identifier: "Duration_ONE RoundUp(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_ROUNDUP_DUR_DUR_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_ROUNDUP_DUR_DUR_PRM_DSC_0", identifier: "durationToRound", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_ROUNDUP_DUR_DUR_PRM_DSC_1", identifier: "intervalDurationValue", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "RoundUp(MakeDuration(0, 0, 2, 35, 0), MakeDuration(0, 0, 3, 0, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_DUR_EX_OUT_0" }, { input: "RoundUp(MakeDuration(0, 0, 5, 0, 0), MakeDuration(0, 0, 5, 0, 0))", output: "AR_FN_DUR_ROUNDUP_DUR_DUR_EX_OUT_1" }] }, { description: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_DSC", identifier: "Duration_ONE RoundUp(Duration_ONE,Duration_ONE,Duration_COLL)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_PRM_DSC_0", identifier: "durationToRound", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_PRM_DSC_1", identifier: "intervalDurationValue", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_PRM_DSC_2", identifier: "specificDurationValues", isArray: true, helpDisplayIdx: 2, repeatable: false, required: true, type: "dur" }], examples: [{ input: "RoundUp(MakeDuration(0, 0, 2, 35, 0), MakeDuration(0, 0, 5, 0, 0), MakeList(MakeDuration(0, 0, 1, 0, 0), MakeDuration(0, 0, 2, 30, 0), MakeDuration(0, 0, 4, 0, 0)))", output: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_EX_OUT_0" }, { input: "RoundUp(MakeDuration(0, 0, 22, 35, 0), MakeDuration(0, 0, 5, 0, 0), MakeList(MakeDuration(0, 0, 1, 0, 0), MakeDuration(0, 0, 2, 30, 0), MakeDuration(0, 0, 15, 0, 0)))", output: "AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_EX_OUT_1" }] }] }, range: { identifier: "range", description: "AR_FN_DSC_RANGE", type: "function", name: "Range", category: "datetime", overloads: [{ description: "AR_FN_DUR_COLL_RANGE_DUR_DUR_DSC", identifier: "Duration_COLL Range(Duration_ONE,Duration_ONE)", support: { version: "1.0", resolver: "None" }, returnValue: { description: "AR_FN_DUR_COLL_RANGE_DUR_DUR_RV", isArray: true, type: "dur" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_COLL_RANGE_DUR_DUR_PRM_DSC_0", identifier: "durationToRound", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "dur" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_DUR_COLL_RANGE_DUR_DUR_PRM_DSC_1", identifier: "intervalDuration", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "dur" }], examples: [{ input: "Range(MakeDuration(0, 5, 0, 0, 0), MakeDuration(0, 2, 0, 0, 0))", output: "AR_FN_DUR_COLL_RANGE_DUR_DUR_EX_OUT_0" }] }] }, toAudioTimeRange: { identifier: "toAudioTimeRange", description: "AR_FN_DSC_TOAUDIOTIMERANGE", type: "function", runtimeSequencesSystemPrompts: true, name: "ToAudioTimeRange", category: "cast", overloads: [{ description: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_DSC", identifier: "Audio_ONE ToAudioTimeRange(Long_ONE,Long_ONE,TimePartEnumDataType_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail" }, runtimeSequencesSystemPrompts: true, needsServerInfo: true, returnValue: { description: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_RV", isArray: false, type: "aud" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_PRM_DSC_0", identifier: "lowerBound", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "int" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_PRM_DSC_1", identifier: "upperBound", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "int" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_PRM_DSC_2", identifier: "timePart", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "tpf" }], examples: [{ input: "ToAudioTimeRange(4, 6, Format.TimePart.minutes)", output: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_0" }, { input: "ToAudioTimeRange(15, 8, Format.TimePart.minutes)", output: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_1" }, { input: "ToAudioTimeRange(10, 15, Format.TimePart.hours)", output: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_2" }, { input: "ToAudioTimeRange(1, 1, Format.TimePart.hours)", output: "AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_3" }] }], needsServerInfo: true }, emailAddressDomainPart: { identifier: "emailAddressDomainPart", description: "AR_FN_DSC_EMAILADDRESSDOMAINPART", type: "function", name: "EmailAddressDomainPart", category: "email", overloads: [{ description: "AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_DSC", identifier: "String_ONE EmailAddressDomainPart(EmailAddress_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundemail: "inboundemail", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_PRM_DSC_0", identifier: "emailAddress", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cpx_email_address" }], examples: [{ input: "EmailAddressDomainPart(Email.Message.from)", output: "AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_EX_OUT_0" }] }, { description: "AR_FN_STR_EMAILADDRESSDOMAINPART_STR_DSC", identifier: "String_ONE EmailAddressDomainPart(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundemail: "inboundemail", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_EMAILADDRESSDOMAINPART_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_EMAILADDRESSDOMAINPART_STR_PRM_DSC_0", identifier: "emailAddressString", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'EmailAddressDomainPart("john.doe@company.com")', output: '"company.com"' }, { input: 'EmailAddressDomainPart("abc")', output: "AR_FN_STR_EMAILADDRESSDOMAINPART_STR_EX_OUT_1" }, { input: "EmailAddressDomainPart(ToString(NOT_SET))", output: "AR_FN_STR_EMAILADDRESSDOMAINPART_STR_EX_OUT_2" }] }], needsServerInfo: true }, emailAddressLocalPart: { identifier: "emailAddressLocalPart", description: "AR_FN_DSC_EMAILADDRESSLOCALPART", type: "function", name: "EmailAddressLocalPart", category: "email", overloads: [{ description: "AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_DSC", identifier: "String_ONE EmailAddressLocalPart(EmailAddress_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundemail: "inboundemail", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_PRM_DSC_0", identifier: "emailAddress", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "cpx_email_address" }], examples: [{ input: "EmailAddressLocalPart(Email.Message.from)", output: "AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_EX_OUT_0" }] }, { description: "AR_FN_STR_EMAILADDRESSLOCALPART_STR_DSC", identifier: "String_ONE EmailAddressLocalPart(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundemail: "inboundemail", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_EMAILADDRESSLOCALPART_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_EMAILADDRESSLOCALPART_STR_PRM_DSC_0", identifier: "emailAddressString", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'EmailAddressLocalPart("john.doe@company.com")', output: '"john.doe"' }, { input: 'EmailAddressLocalPart("abc")', output: "AR_FN_STR_EMAILADDRESSLOCALPART_STR_EX_OUT_1" }, { input: "EmailAddressLocalPart(ToString(NOT_SET))", output: "AR_FN_STR_EMAILADDRESSLOCALPART_STR_EX_OUT_2" }] }], needsServerInfo: true }, makeEmailAddress: { identifier: "makeEmailAddress", description: "AR_FN_DSC_MAKEEMAILADDRESS", type: "function", name: "MakeEmailAddress", category: "email", overloads: [{ description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_DSC", identifier: "EmailAddress_ONE makeEmailAddress(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_RV", isArray: false, type: "cpx_email_address" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_PRM_DSC_0", identifier: "address", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }], examples: [{ input: 'MakeEmailAddress("john.doe@company.com")', output: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_EX_OUT_0" }, { input: 'MakeEmailAddress("john.doe@company.com").id', output: '"john.doe@company.com"' }, { input: 'MakeEmailAddress("john.doe@company.com").name', output: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_EX_OUT_2" }] }, { description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_DSC", identifier: "EmailAddress_ONE makeEmailAddress(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_RV", isArray: false, type: "cpx_email_address" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_PRM_DSC_0", identifier: "address", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_PRM_DSC_1", identifier: "name", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'MakeEmailAddress("john.doe@company.com", "John")', output: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_EX_OUT_0" }, { input: 'MakeEmailAddress("john.doe@company.com", "John").id', output: '"john.doe@company.com"' }, { input: 'MakeEmailAddress("john.doe@company.com", "John").name', output: '"John"' }, { input: 'MakeEmailAddress("john.doe@company.com", ToString(NOT_SET)).name', output: "AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_EX_OUT_3" }] }], needsServerInfo: true }, detectLanguage: { identifier: "detectLanguage", description: "AR_FN_DSC_DETECTLANGUAGE", type: "function", name: "DetectLanguage", category: "text", overloads: [{ description: "AR_FN_STR_DETECTLANGUAGE_STR_STR_DSC", identifier: "String_ONE detectLanguage(String_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedReturnValueTypeInfo: "languageTag", supportedReturnValuesTitle: "possibleDetectedLanguages", supportedReturnValues: ["ar", "cs", "da", "de", "el", "en", "es", "fi", "fr", "hu", "it", "ja", "ko", "ms", "nl", "no", "pl", "pt", "ru", "sk", "sv", "th", "tr", "uk", "zh"], needsServerInfo: true, returnValue: { description: "AR_FN_STR_DETECTLANGUAGE_STR_STR_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_DETECTLANGUAGE_STR_STR_PRM_DSC_0", identifier: "stringToSearch", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_DETECTLANGUAGE_STR_STR_PRM_DSC_1", identifier: "defaultString", isArray: false, helpDisplayIdx: 1, repeatable: false, required: false, type: "str" }], examples: [{ input: 'DetectLanguage(Email.Message.body, "")', output: "AR_FN_STR_DETECTLANGUAGE_STR_STR_EX_OUT_0" }, { input: 'DetectLanguage("This is a test that should verify our ability to find a language in a string of native text.", "")', output: '"en"' }, { input: 'DetectLanguage("Esta es una prueba que debe verificar nuestra capacidad de encontrar un lenguaje en una cadena de texto nativo.", "en")', output: '"es"' }, { input: 'DetectLanguage("Dies ist ein Test, dass unsere F\xE4higkeit \xFCberpr\xFCfen, sollte die Sprache in einer Reihe von nativen Text zu finden.", "en")', output: '"de"' }, { input: 'DetectLanguage("\uC774 \uAE30\uBCF8 \uD14D\uC2A4\uD2B8 \uBB38\uC790\uC5F4\uC758 \uC5B8\uC5B4\uB97C \uCC3E\uC744 \uC218\uC788\uB294 \uC6B0\uB9AC\uC758 \uB2A5\uB825\uC744 \uD655\uC778\uD574\uC57C\uD569\uB2C8\uB2E4 \uD14C\uC2A4\uD2B8\uC785\uB2C8\uB2E4.", ToString(NOT_SET))', output: '"ko"' }, { input: 'DetectLanguage(ToString(NOT_SET), "en")', output: '"en"' }, { input: 'DetectLanguage(" ", "auto")', output: '"auto"' }, { input: "DetectLanguage(ToString(NOT_SET), ToString(NOT_SET))", output: "AR_FN_STR_DETECTLANGUAGE_STR_STR_EX_OUT_7" }] }], needsServerInfo: true }, getPromptTextToSpeech: { identifier: "getPromptTextToSpeech", description: "AR_FN_DSC_GETPROMPTTEXTTOSPEECH", type: "function", name: "GetPromptTextToSpeech", category: "prompt", overloads: [{ description: "AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_DSC", identifier: "String_ONE getPromptTextToSpeech(Prompt_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_PRM_DSC_0", identifier: "prompt", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "pmt" }], examples: [{ input: "GetPromptTextToSpeech(PromptSystem.month_january)", output: '"enero"', outputFlowCurrentLanguage: "es-US" }, { input: "GetPromptTextToSpeech(Prompt.Greeting)", output: "AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_EX_OUT_1" }, { input: "GetPromptTextToSpeech(FindUserPrompt(NOT_SET))", output: "AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_EX_OUT_2" }] }], needsServerInfo: true }, getPromptDuration: { identifier: "getPromptDuration", description: "AR_FN_DSC_GETPROMPTDURATION", type: "function", name: "GetPromptDuration", category: "prompt", overloads: [{ description: "AR_FN_DUR_GETPROMPTDURATION_PROMPT_DSC", identifier: "Duration_ONE getPromptDuration(Prompt_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DUR_GETPROMPTDURATION_PROMPT_RV", isArray: false, type: "dur" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DUR_GETPROMPTDURATION_PROMPT_PRM_DSC_0", identifier: "prompt", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "pmt" }], examples: [{ input: "GetPromptDuration(PromptSystem.month_january)", output: "AR_FN_DUR_GETPROMPTDURATION_PROMPT_EX_OUT_0", outputFlowCurrentLanguage: "es-US" }, { input: "GetPromptDuration(Prompt.Greeting)", output: "AR_FN_DUR_GETPROMPTDURATION_PROMPT_EX_OUT_1" }, { input: "GetPromptDuration(FindUserPrompt(NOT_SET))", output: "AR_FN_DUR_GETPROMPTDURATION_PROMPT_EX_OUT_2" }] }], needsServerInfo: true }, getPromptText: { identifier: "getPromptText", description: "AR_FN_DSC_GETPROMPTTEXT", type: "function", name: "GetPromptText", category: "prompt", overloads: [{ description: "AR_FN_STR_GETPROMPTTEXT_PROMPT_DSC", identifier: "String_ONE getPromptText(Prompt_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_GETPROMPTTEXT_PROMPT_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_GETPROMPTTEXT_PROMPT_PRM_DSC_0", identifier: "prompt", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "pmt" }], examples: [{ input: "getPromptText(PromptSystem.month_january)", output: '"enero"', outputFlowCurrentLanguage: "es-US" }, { input: "getPromptText(Prompt.Greeting)", output: "AR_FN_STR_GETPROMPTTEXT_PROMPT_EX_OUT_1" }, { input: "getPromptText(FindUserPrompt(NOT_SET))", output: "AR_FN_STR_GETPROMPTTEXT_PROMPT_EX_OUT_2" }] }], needsServerInfo: true }, isJsonArray: { identifier: "isJsonArray", description: "AR_FN_DSC_ISJSONARRAY", type: "function", name: "IsJsonArray", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONARRAY_JSON_DSC", identifier: "Boolean_ONE isJsonArray(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONARRAY_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONARRAY_JSON_PRM_DSC_0", identifier: "valueToCheck", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonArray(JsonParse("[ 1, 2, 3 ]"))', output: "true" }, { input: "IsJsonArray(MakeEmptyJsonObject())", output: "false" }, { input: "IsJsonArray(MakeEmptyJsonArray())", output: "true" }] }], needsServerInfo: true }, isJsonBool: { identifier: "isJsonBool", description: "AR_FN_DSC_ISJSONBOOL", type: "function", name: "IsJsonBool", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONBOOL_JSON_DSC", identifier: "Boolean_ONE isJsonBool(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONBOOL_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONBOOL_JSON_PRM_DSC_0", identifier: "valueToCheck", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonBool(JsonParse("true"))', output: "true" }, { input: 'IsJsonBool(JsonParse("false"))', output: "true" }, { input: "IsJsonBool(ToJson(ToBool(NOT_SET)))", output: "false" }, { input: "IsJsonBool(MakeEmptyJsonObject())", output: "false" }] }], needsServerInfo: true }, isJsonNull: { identifier: "isJsonNull", description: "AR_FN_DSC_ISJSONNULL", type: "function", name: "IsJsonNull", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONNULL_JSON_DSC", identifier: "Boolean_ONE isJsonNull(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONNULL_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONNULL_JSON_PRM_DSC_0", identifier: "valueToCheck", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonNull(JsonParse("null"))', output: "true" }, { input: "IsJsonNull(ToJson(NOT_SET))", output: "false" }, { input: 'IsJsonNull(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"))', output: "false" }, { input: "IsJsonNull(MakeNullJson())", output: "true" }] }], needsServerInfo: true }, isJsonNumber: { identifier: "isJsonNumber", description: "AR_FN_DSC_ISJSONNUMBER", type: "function", name: "IsJsonNumber", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONNUMBER_JSON_DSC", identifier: "Boolean_ONE isJsonNumber(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONNUMBER_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONNUMBER_JSON_PRM_DSC_0", identifier: "valueToCheck", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonNumber(JsonParse("null"))', output: "false" }, { input: "IsJsonNumber(ToJson(5))", output: "true" }, { input: "IsJsonNumber(ToJson(5 * 3.5))", output: "true" }, { input: 'IsJsonNumber(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"))', output: "false" }] }], needsServerInfo: true }, isJsonObject: { identifier: "isJsonObject", description: "AR_FN_DSC_ISJSONOBJECT", type: "function", name: "IsJsonObject", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONOBJECT_JSON_DSC", identifier: "Boolean_ONE isJsonObject(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONOBJECT_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONOBJECT_JSON_PRM_DSC_0", identifier: "valueToCheck", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonObject(JsonParse("null"))', output: "false" }, { input: 'IsJsonObject(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"))', output: "true" }, { input: "IsJsonObject(MakeEmptyJsonObject())", output: "true" }, { input: 'IsJsonObject(ToJson("true"))', output: "false" }] }], needsServerInfo: true }, isJsonString: { identifier: "isJsonString", description: "AR_FN_DSC_ISJSONSTRING", type: "function", name: "IsJsonString", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONSTRING_JSON_DSC", identifier: "Boolean_ONE isJsonString(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONSTRING_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONSTRING_JSON_PRM_DSC_0", identifier: "valueToCheck", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonString(JsonParse("null"))', output: "false" }, { input: 'IsJsonString(JsonParse("\\"Hello\\""))', output: "true" }, { input: "IsJsonString(ToJson(100))", output: "false" }, { input: "IsJsonString(MakeEmptyJsonString())", output: "true" }] }], needsServerInfo: true }, jsonParse: { identifier: "jsonParse", description: "AR_FN_DSC_JSONPARSE", type: "function", name: "JsonParse", category: "json", overloads: [{ description: "AR_FN_JSON_JSONPARSE_STR_DSC", identifier: "JSON_ONE jsonParse(String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_JSONPARSE_STR_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_JSONPARSE_STR_PRM_DSC_0", identifier: "valueToParse", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "str" }], examples: [{ input: 'JsonParse("\\"Hello\\"")', output: "AR_FN_JSON_JSONPARSE_STR_EX_OUT_0" }, { input: 'JsonParse("[ 0, 1, 2 ]")', output: "AR_FN_JSON_JSONPARSE_STR_EX_OUT_1" }, { input: 'JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ], \\"d\\": null }")', output: 'A JSON value that contains a JSON object of { "a": true, "b": 100, "c": [ true, false ], "c": null }' }, { input: "JsonParse(ToString(NOT_SET))", output: "AR_FN_JSON_JSONPARSE_STR_EX_OUT_3" }, { input: 'JsonParse("true")', output: "AR_FN_JSON_JSONPARSE_STR_EX_OUT_4" }] }], needsServerInfo: true }, makeEmptyJsonArray: { identifier: "makeEmptyJsonArray", description: "AR_FN_DSC_MAKEEMPTYJSONARRAY", type: "function", name: "MakeEmptyJsonArray", category: "json", overloads: [{ description: "AR_FN_JSON_MAKEEMPTYJSONARRAY_DSC", identifier: "JSON_ONE makeEmptyJsonArray()", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_MAKEEMPTYJSONARRAY_RV", isArray: false, type: "jsn" }, parameters: [], examples: [{ input: "MakeEmptyJsonArray()", output: "AR_FN_JSON_MAKEEMPTYJSONARRAY_EX_OUT_0" }] }], needsServerInfo: true }, makeEmptyJsonObject: { identifier: "makeEmptyJsonObject", description: "AR_FN_DSC_MAKEEMPTYJSONOBJECT", type: "function", name: "MakeEmptyJsonObject", category: "json", overloads: [{ description: "AR_FN_JSON_MAKEEMPTYJSONOBJECT_DSC", identifier: "JSON_ONE makeEmptyJsonObject()", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_MAKEEMPTYJSONOBJECT_RV", isArray: false, type: "jsn" }, parameters: [], examples: [{ input: "MakeEmptyJsonObject()", output: "AR_FN_JSON_MAKEEMPTYJSONOBJECT_EX_OUT_0" }] }], needsServerInfo: true }, makeEmptyJsonString: { identifier: "makeEmptyJsonString", description: "AR_FN_DSC_MAKEEMPTYJSONSTRING", type: "function", name: "MakeEmptyJsonString", category: "json", overloads: [{ description: "AR_FN_JSON_MAKEEMPTYJSONSTRING_DSC", identifier: "JSON_ONE makeEmptyJsonString()", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_MAKEEMPTYJSONSTRING_RV", isArray: false, type: "jsn" }, parameters: [], examples: [{ input: "MakeEmptyJsonString()", output: "AR_FN_JSON_MAKEEMPTYJSONSTRING_EX_OUT_0" }] }], needsServerInfo: true }, makeNullJson: { identifier: "makeNullJson", description: "AR_FN_DSC_MAKENULLJSON", type: "function", name: "MakeNullJson", category: "json", overloads: [{ description: "AR_FN_JSON_MAKENULLJSON_DSC", identifier: "JSON_ONE makeNullJson()", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_MAKENULLJSON_RV", isArray: false, type: "jsn" }, parameters: [], examples: [{ input: "MakeNullJson()", output: "AR_FN_JSON_MAKENULLJSON_EX_OUT_0" }] }], needsServerInfo: true }, toJson: { identifier: "toJson", description: "AR_FN_DSC_TOJSON", type: "function", name: "ToJson", category: "cast", overloads: [{ description: "AR_FN_JSON_TOJSON_ANY_DSC", identifier: "JSON_ONE toJson(Any_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_TOJSON_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_TOJSON_ANY_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "ToJson(MakeDateTime(2022, 8, 4, 0, 0, 0))", output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_0" }, { input: 'ToJson("Hello")', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_1" }, { input: "ToJson(5)", output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_2" }, { input: 'ToJson("{ \\"a\\": true }")', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_3" }, { input: 'ToJson(MakeCurrency(5.25, "USD"))', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_4" }, { input: 'ToJson(ToPhoneNumber("tel:+13178723000"))', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_5" }, { input: 'ToJson(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_6", featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToJson(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)))))', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_7", featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToJson(MakeListPicker(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))), MakeImageFromUrl(NOT_SET), "Menu", "Items to order", MakeImageFromUrl(NOT_SET), NOT_SET))', output: "AR_FN_JSON_TOJSON_ANY_EX_OUT_8", featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_JSON_TOJSON_ANY_COLL_DSC", identifier: "JSON_ONE toJson(Any_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_TOJSON_ANY_COLL_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_TOJSON_ANY_COLL_PRM_DSC_0", identifier: "value", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "ToJson(MakeList(1, 2, 3))", output: "AR_FN_JSON_TOJSON_ANY_COLL_EX_OUT_0" }, { input: 'ToJson(MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET)), MakeListPickerItem("Soup", NOT_SET, MakeImageFromUrl(NOT_SET))))', output: "AR_FN_JSON_TOJSON_ANY_COLL_EX_OUT_1", featureConfigName: "botFlowsAppleListPicker" }, { input: 'ToJson(MakeList(MakeListPickerSection("Sides", true, MakeList(MakeListPickerItem("Fries", NOT_SET, MakeImageFromUrl(NOT_SET))))))', output: "AR_FN_JSON_TOJSON_ANY_COLL_EX_OUT_2", featureConfigName: "botFlowsAppleListPicker" }], examplesHaveFeatureToggleOrConfig: true }, { description: "AR_FN_JSON_TOJSON_NTS_DSC", identifier: "JSON_ONE toJson(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_TOJSON_NTS_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_TOJSON_NTS_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "ToJson(NOT_SET)", output: "AR_FN_JSON_TOJSON_NTS_EX_OUT_0" }] }], needsServerInfo: true }, toJsonCollection: { identifier: "toJsonCollection", description: "AR_FN_DSC_TOJSONCOLLECTION", type: "function", name: "ToJsonCollection", category: "cast", overloads: [{ description: "AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_DSC", identifier: "JSON_COLL toJsonCollection(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, addsToCollection: true, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_RV", isArray: true, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_PRM_DSC_0", identifier: "jsonArray", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }], examples: [{ input: 'ToJsonCollection(JsonParse("[ true, 100 ]"))', output: "AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_EX_OUT_0" }, { input: "ToJsonCollection(MakeEmptyJsonArray())", output: "AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_EX_OUT_1" }, { input: 'Count(ToJsonCollection(JsonParse("[ true, 100 ]")))', output: "2" }, { input: 'Count(AddItem(ToJsonCollection(JsonParse("[ true, 100 ]")), MakeEmptyJsonObject()))', output: "3" }] }], needsServerInfo: true }, jsonStringify: { identifier: "jsonStringify", description: "AR_FN_DSC_JSONSTRINGIFY", type: "function", name: "JsonStringify", category: "json", overloads: [{ description: "AR_FN_STR_JSONSTRINGIFY_ANY_DSC", identifier: "String_ONE jsonStringify(Any_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_JSONSTRINGIFY_ANY_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_JSONSTRINGIFY_ANY_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "any" }], examples: [{ input: "JsonStringify(5)", output: '"5"' }, { input: "JsonStringify(ToInt(NOT_SET))", output: '"null"' }, { input: 'JsonStringify("Hello World")', output: '"\\"Hello World\\""' }, { input: "JsonStringify(MakeEmptyJsonObject())", output: '"{}"' }] }, { description: "AR_FN_STR_JSONSTRINGIFY_ANY_COLL_DSC", identifier: "String_ONE jsonStringify(Any_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_JSONSTRINGIFY_ANY_COLL_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_STR_JSONSTRINGIFY_ANY_COLL_PRM_DSC_0", identifier: "valueToConvert", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }], examples: [{ input: "JsonStringify(MakeList(3, 5))", output: '"[3,5]"' }, { input: "JsonStringify(MakeList(ToInt(NOT_SET), 10))", output: '"[null,10]"' }, { input: 'JsonStringify(MakeList("Hello", "World"))', output: '"[\\"Hello\\",\\"World\\"]"' }, { input: 'JsonStringify(MakeList(MakeEmptyJsonObject(), JsonParse("{\\"a\\": true}")))', output: '"[{},{\\"a\\":true}]"' }] }, { description: "AR_FN_STR_JSONSTRINGIFY_NTS_DSC", identifier: "String_ONE jsonStringify(Null_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_JSONSTRINGIFY_NTS_RV", isArray: false, type: "str" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_STR_JSONSTRINGIFY_NTS_PRM_DSC_0", identifier: "valueToConvert", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "JsonStringify(NOT_SET)", output: '"null"' }] }], needsServerInfo: true }, isJsonTruthy: { identifier: "isJsonTruthy", description: "AR_FN_DSC_ISJSONTRUTHY", type: "function", name: "IsJsonTruthy", category: "json", overloads: [{ description: "AR_FN_BLN_ISJSONTRUTHY_JSON_DSC", identifier: "Boolean_ONE IsJsonTruthy(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_BLN_ISJSONTRUTHY_JSON_RV", isArray: false, type: "bln" }, parameters: [{ allowNotSet: true, allowCustomJson: true, description: "AR_FN_BLN_ISJSONTRUTHY_JSON_PRM_DSC_0", identifier: "value", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "jsn" }], examples: [{ input: 'IsJsonTruthy(JsonParse("true"))', output: "true" }, { input: 'IsJsonTruthy(JsonParse("false"))', output: "false" }, { input: 'IsJsonTruthy(JsonParse("Hello World"))', output: "true" }, { input: "IsJsonTruthy(ToJson(0))", output: "false" }, { input: 'IsJsonTruthy(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"))', output: "true" }, { input: "IsJsonTruthy(ToJson(5 * 5))", output: "true" }] }], needsServerInfo: true }, deleteJsonObjectProperty: { identifier: "deleteJsonObjectProperty", description: "AR_FN_DSC_DELETEJSONOBJECTPROPERTY", type: "function", name: "DeleteJsonObjectProperty", category: "json", overloads: [{ description: "AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_DSC", identifier: "JSON_ONE deleteJsonObjectProperty(JSON_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: true, description: "AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_0", identifier: "jsonObject", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: 'DeleteJsonObjectProperty(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"), "c")', output: "AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_EX_OUT_0" }, { input: 'DeleteJsonObjectProperty(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"d\\": [ true, false ] }"), "c")', output: "AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_EX_OUT_1" }] }], needsServerInfo: true }, getJsonObjectProperty: { identifier: "getJsonObjectProperty", description: "AR_FN_DSC_GETJSONOBJECTPROPERTY", type: "function", name: "GetJsonObjectProperty", category: "json", overloads: [{ description: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_DSC", identifier: "JSON_ONE getJsonObjectProperty(JSON_ONE,String_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: true, description: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_0", identifier: "jsonObject", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }], examples: [{ input: 'GetJsonObjectProperty(JsonParse("{ \\"firstName\\": \\"John\\", \\"lastName\\": \\"Doe\\" }"), "firstName")', output: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_0" }, { input: 'GetJsonObjectProperty(JsonParse("{ \\"firstName\\": \\"John\\", \\"lastName\\": \\"Doe\\" }"), Append("last", "Name"))', output: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_1" }, { input: 'GetJsonObjectProperty(JsonParse("{ \\"firstName\\": \\"John\\", \\"lastName\\": \\"Doe\\" }"), "FirstName")', output: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_2" }, { input: 'GetJsonObjectProperty(JsonParse("{ \\"additionalInfo\\": null }"), "additionalInfo")', output: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_3" }, { input: 'GetJsonObjectProperty(MakeEmptyJsonObject(), "accountId")', output: "AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_4" }] }], needsServerInfo: true }, getJsonObjectPropertyNames: { identifier: "getJsonObjectPropertyNames", description: "AR_FN_DSC_GETJSONOBJECTPROPERTYNAMES", type: "function", name: "GetJsonObjectPropertyNames", category: "json", overloads: [{ description: "AR_FN_STR_COLL_GETJSONOBJECTPROPERTYNAMES_JSON_DSC", identifier: "String_COLL getJsonObjectPropertyNames(JSON_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_STR_COLL_GETJSONOBJECTPROPERTYNAMES_JSON_RV", isArray: true, type: "str" }, parameters: [{ allowNotSet: false, allowCustomJson: true, description: "AR_FN_STR_COLL_GETJSONOBJECTPROPERTYNAMES_JSON_PRM_DSC_0", identifier: "jsonObject", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }], examples: [{ input: 'GetJsonObjectPropertyNames(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"))', output: '[ "a", "b", "c" ]' }] }], needsServerInfo: true }, setJsonObjectProperty: { identifier: "setJsonObjectProperty", description: "AR_FN_DSC_SETJSONOBJECTPROPERTY", type: "function", name: "SetJsonObjectProperty", category: "json", overloads: [{ description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_DSC", identifier: "JSON_ONE setJsonObjectProperty(JSON_ONE,String_ONE,Any_ONE)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: true, description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_PRM_DSC_0", identifier: "jsonObject", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_PRM_DSC_1", identifier: "keyToSet", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: true, allowCustomJson: false, description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_PRM_DSC_2", identifier: "valueToSet", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "any" }], examples: [{ input: 'SetJsonObjectProperty(MakeEmptyJsonObject(), "myKey", 42)', output: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_EX_OUT_0" }, { input: 'SetJsonObjectProperty(JsonParse("{ \\"a\\": true, \\"b\\": 100, \\"c\\": [ true, false ] }"), "A", 5)', output: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_EX_OUT_1" }] }, { description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_DSC", identifier: "JSON_ONE setJsonObjectProperty(JSON_ONE,String_ONE,Any_COLL)", support: { version: "1.0", resolver: "None" }, supportedFlowTypes: { inboundcall: "inboundcall", inqueuecall: "inqueuecall", outboundcall: "outboundcall", securecall: "securecall", voicemail: "voicemail", emailsend: "emailsend", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, needsServerInfo: true, returnValue: { description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_RV", isArray: false, type: "jsn" }, parameters: [{ allowNotSet: false, allowCustomJson: true, description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_PRM_DSC_0", identifier: "jsonObject", isArray: false, helpDisplayIdx: 0, repeatable: false, required: true, type: "jsn" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_PRM_DSC_1", identifier: "keyToSet", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_PRM_DSC_2", identifier: "valueToSet", isArray: true, helpDisplayIdx: 2, repeatable: false, required: true, type: "any" }], examples: [{ input: 'SetJsonObjectProperty(MakeEmptyJsonObject(), "myKeys", MakeList(42, 180))', output: "AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_EX_OUT_0" }] }], needsServerInfo: true }, getKnowledgeBaseDocumentConfidence: { identifier: "getKnowledgeBaseDocumentConfidence", description: "AR_FN_DSC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE", type: "function", name: "GetKnowledgeBaseDocumentConfidence", category: "statistical", overloads: [{ description: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_DSC", identifier: "Decimal_ONE getKnowledgeBaseDocumentConfidence(KnowledgeBaseDocument_ONE)", support: { version: "1.0", resolver: "None" }, needsServerInfo: true, returnValue: { description: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_PRM_DSC_0", identifier: "knowledgeBaseDocument", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "kbd" }], examples: [{ input: "GetKnowledgeBaseDocumentConfidence(Flow.document)", output: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_EX_OUT_0" }] }, { description: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_DSC", identifier: "Decimal_ONE getKnowledgeBaseDocumentConfidence(Null_ONE)", support: { version: "1.0", resolver: "NotSetToRetType" }, needsServerInfo: true, returnValue: { description: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_RV", isArray: false, type: "dec" }, parameters: [{ allowNotSet: true, allowCustomJson: false, description: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_PRM_DSC_0", identifier: "KnowledgeBaseDocument", isArray: false, helpDisplayIdx: 0, repeatable: false, required: false, type: "nts" }], examples: [{ input: "GetKnowledgeBaseDocumentConfidence(NOT_SET)", output: "AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_EX_OUT_0" }] }], needsServerInfo: true } } }; }, 34014: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -41358,7 +45237,7 @@ var require_scripting_bundle = __commonJS({ }, 34345: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(11210)), o = n2.__importDefault(i2(90077)), a = n2.__importDefault(i2(38142)), s = n2.__importDefault(i2(96481)), l = n2.__importDefault(i2(14820)), u = i2(74797), d = n2.__importDefault(i2(79200)), c = n2.__importDefault(i2(19047)), p = n2.__importDefault(i2(65294)), _ = n2.__importDefault(i2(93523)), h = n2.__importDefault(i2(92661)), m = n2.__importDefault(i2(35958)), g = n2.__importDefault(i2(91981)), f = n2.__importDefault(i2(2257)), T = n2.__importDefault(i2(65485)), y = n2.__importDefault(i2(56265)), S = n2.__importDefault(i2(67193)), A = n2.__importDefault(i2(82472)), N = n2.__importDefault(i2(62957)), O = n2.__importDefault(i2(15453)), I = n2.__importDefault(i2(25298)), v = n2.__importDefault(i2(57382)), C = n2.__importDefault(i2(65305)), b = n2.__importDefault(i2(27873)), E = n2.__importDefault(i2(1012)), R = n2.__importDefault(i2(13297)), w = n2.__importDefault(i2(90897)), D = n2.__importDefault(i2(15137)), P = n2.__importDefault(i2(21345)), M = n2.__importDefault(i2(97122)), F = n2.__importDefault(i2(13002)), L = n2.__importDefault(i2(95085)), x = n2.__importDefault(i2(32392)), k = n2.__importDefault(i2(67336)), V = n2.__importDefault(i2(37873)), U = i2(39637), B = n2.__importDefault(i2(33423)), G = n2.__importDefault(i2(91722)), j = n2.__importDefault(i2(74369)), W = n2.__importDefault(i2(66872)), q = n2.__importDefault(i2(16731)), Y = n2.__importDefault(i2(25498)), H = n2.__importDefault(i2(23714)), J = n2.__importDefault(i2(88308)), z = n2.__importDefault(i2(16434)), K = n2.__importDefault(i2(42175)), $ = n2.__importDefault(i2(62028)), Q = n2.__importDefault(i2(6074)), X = n2.__importDefault(i2(21434)), Z = n2.__importDefault(i2(4897)), ee = n2.__importDefault(i2(85383)), te = n2.__importDefault(i2(40559)), ie = n2.__importDefault(i2(16468)), ne = n2.__importDefault(i2(45894)), re = n2.__importDefault(i2(8471)), oe = n2.__importDefault(i2(13720)), ae = n2.__importDefault(i2(25446)), se = n2.__importDefault(i2(6458)), le = n2.__importDefault(i2(46209)), ue = n2.__importDefault(i2(23335)), de = n2.__importDefault(i2(17405)), ce = n2.__importDefault(i2(54063)), pe = n2.__importDefault(i2(54757)), _e = n2.__importDefault(i2(55988)), he = n2.__importDefault(i2(81574)), me = n2.__importDefault(i2(31824)), ge = n2.__importDefault(i2(20692)), fe = n2.__importDefault(i2(84655)), Te = n2.__importDefault(i2(47743)), ye = n2.__importDefault(i2(7990)), Se = { ArchBaseAction: r2.default, ArchBaseActionAsk: o.default, ArchBaseActionAskNoInputNoMatch: a.default, ArchBaseActionNoInputNoMatch: T.default, ArchBaseActionBot: s.default, ArchBaseActionBotWithSessionVariables: l.default, ArchBaseActionConversationAttribute: u.ArchBaseActionConversationAttribute, ArchBaseActionDataAction: d.default, ArchBaseDefinition: U.ArchBaseDefinition, ArchBaseActionFindSystemObject: c.default, ArchBaseActionFindSystemObjects: p.default, ArchBaseActionFindSystemObjectById: _.default, ArchBaseActionFindSystemObjectByName: h.default, ArchBaseActionFindSystemObjectsById: m.default, ArchBaseActionGetSecuredData: g.default, ArchBaseActionLex: f.default, ArchBaseActionSetSecuredData: y.default, ArchBaseActionTransfer: S.default, ArchBaseActionTransferWithConnectTimeout: A.default, ArchBaseActionWithOutputFailure: N.default, ArchBaseActionWithOutputLoop: O.default, ArchBaseActionWithOutputLoopMaxLoopsNextLoop: I.default, ArchBaseActionWithOutputs: v.default, ArchBaseActionWithOutputsDefaults: C.default, ArchBaseActionWithOutputsFailureNoInput: b.default, ArchBaseActionWithOutputsFakeSuccessFailure: E.default, ArchBaseActionWithOutputsFakeSuccessFailureTimeout: R.default, ArchBaseActionWithOutputsFoundNotFoundFailure: w.default, ArchBaseActionWithOutputsFoundNotFoundPartiallyFound: D.default, ArchBaseActionWithOutputsSuccessFailure: P.default, ArchBaseActionWithOutputsSuccessFailureNoInputNoMatch: F.default, ArchBaseActionWithOutputsSuccessFailureTimeout: L.default, ArchBaseActionWithOutputsSuccessFailureCanceled: M.default, ArchBaseActionWithOutputsYesNo: x.default, ArchBaseCoreObject: k.default, ArchBaseCoreObjectWithId: V.default, ArchBaseFilterClause: B.default, ArchBaseFilterClauseProperty: G.default, ArchBaseFilterClausePropertyValue: j.default, ArchBaseFilterMatching: oe.default, ArchBaseFlow: W.default, ArchBaseFlowBot: q.default, ArchBaseFlowInboundOutboundSecureCall: Y.default, ArchBaseFlowWithMenus: H.default, ArchBaseFlowWithTasks: J.default, ArchBaseFlowWorkflow: z.default, ArchBaseMenu: K.default, ArchBaseMenuChoice: $.default, ArchBaseMultiActionContainer: Q.default, ArchBaseNameValuePair: X.default, ArchBaseNameValuePairs: Z.default, ArchBaseNetworkValue: ee.default, ArchBaseNetworkValueCollection: te.default, ArchBaseNetworkValueContainer: ie.default, ArchBaseNetworkValueSingleton: ne.default, ArchBaseObject: re.default, ArchBasePrompt: ae.default, ArchBaseSkillValuePair: se.default, ArchBaseSkillValuePairs: le.default, ArchBaseValue: ue.default, ArchBaseValueBasic: de.default, ArchBaseValueCollection: ce.default, ArchBaseValueCollectionBasic: pe.default, ArchBaseValueContainer: _e.default, ArchBaseValueSingleton: he.default, ArchBaseVariable: me.default, ArchBaseVariableCollection: ge.default, ArchBaseVariableSingleton: fe.default, ArchBaseVariableValuePair: Te.default, ArchBaseVariableValuePairs: ye.default }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(11210)), o = n2.__importDefault(i2(90077)), a = n2.__importDefault(i2(38142)), s = n2.__importDefault(i2(96481)), l = n2.__importDefault(i2(14820)), u = i2(74797), c = n2.__importDefault(i2(79200)), d = n2.__importDefault(i2(19047)), p = n2.__importDefault(i2(65294)), _ = n2.__importDefault(i2(93523)), h = n2.__importDefault(i2(92661)), m = n2.__importDefault(i2(35958)), g = n2.__importDefault(i2(91981)), f = n2.__importDefault(i2(2257)), T = n2.__importDefault(i2(65485)), y = n2.__importDefault(i2(56265)), S = n2.__importDefault(i2(67193)), A = n2.__importDefault(i2(82472)), N = n2.__importDefault(i2(62957)), v = n2.__importDefault(i2(15453)), O = n2.__importDefault(i2(25298)), I = n2.__importDefault(i2(57382)), C = n2.__importDefault(i2(65305)), b = n2.__importDefault(i2(27873)), E = n2.__importDefault(i2(1012)), w = n2.__importDefault(i2(13297)), R = n2.__importDefault(i2(90897)), D = n2.__importDefault(i2(15137)), P = n2.__importDefault(i2(21345)), M = n2.__importDefault(i2(97122)), F = n2.__importDefault(i2(13002)), L = n2.__importDefault(i2(95085)), x = n2.__importDefault(i2(32392)), k = n2.__importDefault(i2(67336)), V = n2.__importDefault(i2(37873)), U = i2(39637), B = n2.__importDefault(i2(33423)), G = n2.__importDefault(i2(91722)), j = n2.__importDefault(i2(74369)), W = n2.__importDefault(i2(66872)), q = n2.__importDefault(i2(16731)), Y = n2.__importDefault(i2(25498)), H = n2.__importDefault(i2(23714)), J = n2.__importDefault(i2(88308)), $ = n2.__importDefault(i2(16434)), z = n2.__importDefault(i2(42175)), K = n2.__importDefault(i2(62028)), Q = n2.__importDefault(i2(6074)), X = n2.__importDefault(i2(21434)), Z = n2.__importDefault(i2(4897)), ee = n2.__importDefault(i2(85383)), te = n2.__importDefault(i2(40559)), ie = n2.__importDefault(i2(16468)), ne = n2.__importDefault(i2(45894)), re = n2.__importDefault(i2(8471)), oe = n2.__importDefault(i2(13720)), ae = n2.__importDefault(i2(25446)), se = n2.__importDefault(i2(6458)), le = n2.__importDefault(i2(46209)), ue = n2.__importDefault(i2(23335)), ce = n2.__importDefault(i2(17405)), de = n2.__importDefault(i2(54063)), pe = n2.__importDefault(i2(54757)), _e = n2.__importDefault(i2(55988)), he = n2.__importDefault(i2(81574)), me = n2.__importDefault(i2(31824)), ge = n2.__importDefault(i2(20692)), fe = n2.__importDefault(i2(84655)), Te = n2.__importDefault(i2(47743)), ye = n2.__importDefault(i2(7990)), Se = { ArchBaseAction: r2.default, ArchBaseActionAsk: o.default, ArchBaseActionAskNoInputNoMatch: a.default, ArchBaseActionNoInputNoMatch: T.default, ArchBaseActionBot: s.default, ArchBaseActionBotWithSessionVariables: l.default, ArchBaseActionConversationAttribute: u.ArchBaseActionConversationAttribute, ArchBaseActionDataAction: c.default, ArchBaseDefinition: U.ArchBaseDefinition, ArchBaseActionFindSystemObject: d.default, ArchBaseActionFindSystemObjects: p.default, ArchBaseActionFindSystemObjectById: _.default, ArchBaseActionFindSystemObjectByName: h.default, ArchBaseActionFindSystemObjectsById: m.default, ArchBaseActionGetSecuredData: g.default, ArchBaseActionLex: f.default, ArchBaseActionSetSecuredData: y.default, ArchBaseActionTransfer: S.default, ArchBaseActionTransferWithConnectTimeout: A.default, ArchBaseActionWithOutputFailure: N.default, ArchBaseActionWithOutputLoop: v.default, ArchBaseActionWithOutputLoopMaxLoopsNextLoop: O.default, ArchBaseActionWithOutputs: I.default, ArchBaseActionWithOutputsDefaults: C.default, ArchBaseActionWithOutputsFailureNoInput: b.default, ArchBaseActionWithOutputsFakeSuccessFailure: E.default, ArchBaseActionWithOutputsFakeSuccessFailureTimeout: w.default, ArchBaseActionWithOutputsFoundNotFoundFailure: R.default, ArchBaseActionWithOutputsFoundNotFoundPartiallyFound: D.default, ArchBaseActionWithOutputsSuccessFailure: P.default, ArchBaseActionWithOutputsSuccessFailureNoInputNoMatch: F.default, ArchBaseActionWithOutputsSuccessFailureTimeout: L.default, ArchBaseActionWithOutputsSuccessFailureCanceled: M.default, ArchBaseActionWithOutputsYesNo: x.default, ArchBaseCoreObject: k.default, ArchBaseCoreObjectWithId: V.default, ArchBaseFilterClause: B.default, ArchBaseFilterClauseProperty: G.default, ArchBaseFilterClausePropertyValue: j.default, ArchBaseFilterMatching: oe.default, ArchBaseFlow: W.default, ArchBaseFlowBot: q.default, ArchBaseFlowInboundOutboundSecureCall: Y.default, ArchBaseFlowWithMenus: H.default, ArchBaseFlowWithTasks: J.default, ArchBaseFlowWorkflow: $.default, ArchBaseMenu: z.default, ArchBaseMenuChoice: K.default, ArchBaseMultiActionContainer: Q.default, ArchBaseNameValuePair: X.default, ArchBaseNameValuePairs: Z.default, ArchBaseNetworkValue: ee.default, ArchBaseNetworkValueCollection: te.default, ArchBaseNetworkValueContainer: ie.default, ArchBaseNetworkValueSingleton: ne.default, ArchBaseObject: re.default, ArchBasePrompt: ae.default, ArchBaseSkillValuePair: se.default, ArchBaseSkillValuePairs: le.default, ArchBaseValue: ue.default, ArchBaseValueBasic: ce.default, ArchBaseValueCollection: de.default, ArchBaseValueCollectionBasic: pe.default, ArchBaseValueContainer: _e.default, ArchBaseValueSingleton: he.default, ArchBaseVariable: me.default, ArchBaseVariableCollection: ge.default, ArchBaseVariableSingleton: fe.default, ArchBaseVariableValuePair: Te.default, ArchBaseVariableValuePairs: ye.default }; t2.default = Se; }, 34475: (e2, t2, i2) => { "use strict"; @@ -41392,10 +45271,10 @@ var require_scripting_bundle = __commonJS({ return l; }, t2.getAdminSurveyFormsUrl = u, t2.getAdminSurveyFormUrl = function(e3) { return `${u()}/${e3}`; - }, t2.getAdminWorktypeCustomAttributesUrl = d, t2.getAdminWorktypeCustomAttributeSchemaUrl = function(e3) { - return `${d()}/edit/${e3}`; - }, t2.getAdminWorktypesUrl = c, t2.getAdminWorktypeUrl = function(e3) { - return `${c()}/${e3}/preview`; + }, t2.getAdminWorktypeCustomAttributesUrl = c, t2.getAdminWorktypeCustomAttributeSchemaUrl = function(e3) { + return `${c()}/edit/${e3}`; + }, t2.getAdminWorktypesUrl = d, t2.getAdminWorktypeUrl = function(e3) { + return `${d()}/${e3}/preview`; }, t2.getAnalyticsBotFlowPerformanceUrl = function(e3) { return `${a}/bots/${e3}/performance`; }, t2.getAnalyticsSurveyFormPerformanceUrl = function(e3) { @@ -41417,10 +45296,10 @@ var require_scripting_bundle = __commonJS({ function u() { return `${r2}/quality/surveyForms`; } - function d() { + function c() { return `${r2}/custom-attributes`; } - function c() { + function d() { return `${r2}/worktypes`; } }, 34490: (e2, t2, i2) => { @@ -41477,8 +45356,8 @@ var require_scripting_bundle = __commonJS({ t2.LexAliasViewModel = l; }, 34611: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(19613)), o = i2(66314), a = n2.__importDefault(i2(85499)), s = i2(79519), l = i2(79519), u = i2(33264), d = i2(50661), c = i2(12179), p = i2(99469), _ = n2.__importDefault(i2(97891)), h = i2(87870), m = i2(28803), g = i2(17604), f = n2.__importDefault(i2(65302)), T = i2(47957); - class y extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(19613)), o = i2(66314), a = n2.__importDefault(i2(85499)), s = i2(79519), l = i2(79519), u = i2(33264), c = i2(50661), d = i2(12179), p = i2(99469), _ = n2.__importDefault(i2(97891)), h = i2(87870), m = i2(28803), g = i2(69453), f = i2(17604), T = i2(1910), y = i2(1910), S = n2.__importDefault(i2(65302)), A = n2.__importDefault(i2(4648)), N = i2(47957); + class v extends r2.default { get selectedItemNetworkProperty() { return this.decisionTable; } @@ -41489,8 +45368,8 @@ var require_scripting_bundle = __commonJS({ return true; } static get managedProperties() { - const e3 = y.createCustomJsonProperties(); - return [{ property: "decisionTable", label: T.decisionTable.decisionTableLabel, createDetails: m.NetworkBasedActionProperty.createCreateDetails("decisionTableId", "decisionTableName", u.decisionTableManager, T.decisionTable.mustSelectDecisionTable, T.decisionTable.decisionTableNotFound, null), yamlOptions: y.createYamlOptions("callDecisionTable", (e4) => e4.setSkipProperty(true)), options: p.ManagedPropertyOptions.create((e4) => e4.setDescriptionInfo(T.decisionTable.decisionTableLabel, T.decisionTable.decisionTableDescription).setDropdownPlaceholder(T.decisionTable.selectDecisionTable).setIninTestingField("selectDecisionTable")) }, { createDetails: h.NoteActionProperty.createCreateDetails((0, g.sprintf)(T.decisionTable.decisionTableUsageFeesNote), "info", "callDecisionTableUsageFees"), property: "actionInformationalMessage", yamlOptions: y.createYamlOptions("actionInformationalMessage", (e4) => e4.setSkipProperty(true)) }, ...e3]; + const e3 = v.createCustomJsonProperties(); + return [{ property: "decisionTable", label: N.decisionTable.decisionTableLabel, createDetails: m.NetworkBasedActionProperty.createCreateDetails("decisionTableId", "decisionTableName", u.decisionTableManager, N.decisionTable.mustSelectDecisionTable, N.decisionTable.decisionTableNotFound, null), yamlOptions: v.createYamlOptions("callDecisionTable", (e4) => e4.setSkipProperty(true)), options: p.ManagedPropertyOptions.create((e4) => e4.setDescriptionInfo(N.decisionTable.decisionTableLabel, N.decisionTable.decisionTableDescription).setDropdownPlaceholder(N.decisionTable.selectDecisionTable).setIninTestingField("selectDecisionTable")) }, { createDetails: h.NoteActionProperty.createCreateDetails((0, f.sprintf)(N.decisionTable.decisionTableUsageFeesNote), "info", "callDecisionTableUsageFees"), property: "actionInformationalMessage", yamlOptions: v.createYamlOptions("actionInformationalMessage", (e4) => e4.setSkipProperty(true)) }, ...e3]; } getConfiguration(e3, t3) { var i3; @@ -41501,20 +45380,45 @@ var require_scripting_bundle = __commonJS({ } return e3; } + _configureFromModel(e3, t3, i3) { + if ((0, T.isConfigureFromModelRecord)(e3.decisionTable)) { + const r3 = e3.decisionTable.name; + if (r3) { + const o2 = t3, a2 = e3.input, s2 = e3.output, l2 = e3.failureOutputs; + i3.registerDeferredOp({ type: "resolveDecisionTable", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + try { + let e4 = u.decisionTableManager.findItemByName(r3); + if (!e4) { + for (const t4 of Object.values(u.decisionTableManager.items || {})) if (t4.displayName === r3 || t4.name === r3) { + e4 = t4; + break; + } + } + e4 ? (yield this.setSelectedActionByViewModel(e4), a2 && (0, y.hasConfigureFromModel)(this.input) && this.input.configureFromModel(a2, o2, i3), s2 && (0, y.hasConfigureFromModel)(this.output) && this.output.configureFromModel(s2, o2, i3), l2 && this.errorBindings && (i3.currentPropertyName = "failureOutputs", this.errorBindings.configureFromModel(l2, o2, i3), i3.currentPropertyName = void 0)) : i3.warn((0, f.sprintf)(g.configureFromModel.failedToResolve, "decision table", r3)); + } catch (e4) { + const t4 = e4 instanceof Error ? e4.message : String(e4); + i3.warn((0, f.sprintf)(g.configureFromModel.entityResolutionFailed, "decision table", r3, t4)); + } + }) }); + } + } + super._configureFromModel(e3, t3, i3); + } createOrUpdateCustomJsonTypes() { return n2.__awaiter(this, void 0, void 0, function* () { var e3, t3, i3, n3, r3, o2; let a2 = this.decisionTable.getItem(); - if (!(null === (e3 = a2.model) || void 0 === e3 ? void 0 : e3.publishedContract)) try { + const s2 = null === (e3 = null == a2 ? void 0 : a2.model) || void 0 === e3 ? void 0 : e3.publishedContract; + if (!(null == s2 ? void 0 : s2.executionInputSchema) || !(null == s2 ? void 0 : s2.executionOutputSchema)) try { a2 = yield u.decisionTableManager.getOrFetchItem(this.decisionTable.idValue); } catch (e4) { return void this.topic.error(`Failed to fetch decision table: ${null === (t3 = this.decisionTable) || void 0 === t3 ? void 0 : t3.idValue}.`); } this.inputCustomJsonTypeManager = this._getOrCreateCustomJsonManager(a2, true), this.outputCustomJsonTypeManager = this._getOrCreateCustomJsonManager(a2, false); - const s2 = null === (n3 = null === (i3 = null == a2 ? void 0 : a2.model) || void 0 === i3 ? void 0 : i3.publishedContract) || void 0 === n3 ? void 0 : n3.executionInputSchema, l2 = null === (o2 = null === (r3 = null == a2 ? void 0 : a2.model) || void 0 === r3 ? void 0 : r3.publishedContract) || void 0 === o2 ? void 0 : o2.executionOutputSchema; - if (s2 && l2 || this.topic.error(`We did not receive the expected schemas. Here is the response object we received: ${JSON.stringify(a2)}`), this.inputCustomJsonTypeManager.tryUpdateParentExpressionPropTypeFromSchema(s2, true, this.isReadOnly, true, this.input), this.outputCustomJsonTypeManager.tryUpdateParentExpressionPropTypeFromSchema(l2, true, this.isReadOnly, true, this.output), !this.inputCustomJsonTypeManager.customDataType || !this.outputCustomJsonTypeManager.customDataType) { - const e4 = f.default.getType(this.parent, "jsn", false); - return this.input.type = e4, this.output.type = e4, void this.topic.error(`Custom type creation failed for a value of ${s2} for inputSchema and ${l2} for outputSchema. Cannot create custom types.`); + const l2 = null === (n3 = null === (i3 = null == a2 ? void 0 : a2.model) || void 0 === i3 ? void 0 : i3.publishedContract) || void 0 === n3 ? void 0 : n3.executionInputSchema, c2 = null === (o2 = null === (r3 = null == a2 ? void 0 : a2.model) || void 0 === r3 ? void 0 : r3.publishedContract) || void 0 === o2 ? void 0 : o2.executionOutputSchema; + if (l2 && c2 || this.topic.error(`We did not receive the expected schemas. Here is the response object we received: ${JSON.stringify(a2)}`), this.inputCustomJsonTypeManager.tryUpdateParentExpressionPropTypeFromSchema(l2, true, this.isReadOnly, true, this.input), this.outputCustomJsonTypeManager.tryUpdateParentExpressionPropTypeFromSchema(c2, true, this.isReadOnly, true, this.output), !this.inputCustomJsonTypeManager.customDataType || !this.outputCustomJsonTypeManager.customDataType) { + const e4 = S.default.getType(this.parent, "jsn", false); + return this.input.type = e4, this.output.type = e4, void this.topic.error(`Custom type creation failed for a value of ${l2} for inputSchema and ${c2} for outputSchema. Cannot create custom types.`); } this.input.type = this.inputCustomJsonTypeManager.customDataType, this.output.type = this.outputCustomJsonTypeManager.customDataType; }); @@ -41528,14 +45432,14 @@ var require_scripting_bundle = __commonJS({ } validate(e3) { var t3; - super.validate(e3), !(null === (t3 = this.selectedItemNetworkProperty) || void 0 === t3 ? void 0 : t3.idValue) || this.input.type.isCustomType && this.output.type.isCustomType || e3.addError(this, T.decisionTable.unableToLoadDecisionTableInputOutputSchema); + super.validate(e3), !(null === (t3 = this.selectedItemNetworkProperty) || void 0 === t3 ? void 0 : t3.idValue) || this.input.type.isCustomType && this.output.type.isCustomType || e3.addError(this, N.decisionTable.unableToLoadDecisionTableInputOutputSchema); } _getOrCreateCustomJsonManager(e3, t3) { var i3, n3, r3, o2; - return (null === (i3 = e3.model) || void 0 === i3 ? void 0 : i3.id) && (null === (n3 = e3.model) || void 0 === n3 ? void 0 : n3.name) ? a.default.getOrCreateDecisionTableCustomJsonManager(this.parentFlow, null === (r3 = e3.model) || void 0 === r3 ? void 0 : r3.name, null === (o2 = e3.model) || void 0 === o2 ? void 0 : o2.id, t3, T.variable.input, T.variable.output) : null; + return (null === (i3 = e3.model) || void 0 === i3 ? void 0 : i3.id) && (null === (n3 = e3.model) || void 0 === n3 ? void 0 : n3.name) ? a.default.getOrCreateDecisionTableCustomJsonManager(this.parentFlow, null === (r3 = e3.model) || void 0 === r3 ? void 0 : r3.name, null === (o2 = e3.model) || void 0 === o2 ? void 0 : o2.id, t3, N.variable.input, N.variable.output) : null; } _getPossibleErrors() { - return d.callDecisionTableFailureReasons; + return c.callDecisionTableFailureReasons; } get _inputDataTypeId() { return (0, o.createCustomJsonExpressionDataTypeStr)(l.CustomJsonNamespace.decisionTable, this.decisionTableId, s.CustomJsonContext.input); @@ -41544,16 +45448,16 @@ var require_scripting_bundle = __commonJS({ return (0, o.createCustomJsonExpressionDataTypeStr)(l.CustomJsonNamespace.decisionTable, this.decisionTableId, s.CustomJsonContext.output); } } - y.info = _.default.createActionInfo({ actionClass: y, canBeInTask: true, helpTopic: c.helpTopics.actions.callDecisionTable, modelClass: i2(30249), name: T.actions.callDecisionTable, scriptingName: "ArchActionCallDecisionTable" }), t2.A = y; + v.info = _.default.createActionInfo({ actionClass: v, canBeInTask: true, helpTopic: d.helpTopics.actions.callDecisionTable, modelClass: i2(30249), name: N.actions.callDecisionTable, scriptingName: "ArchActionCallDecisionTable", modelFormatSupport: { flowYaml: { inProgress: true, feature: A.default.changeSetsFeaturePhase2 } } }), t2.A = v; }, 34621: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { t3 || (t3 = e3); - const d = (0, n2.default)(e3, t3, r2.flowTypes.flowTypeSecureCall); - d.variables = []; - const c = new u(); + const c = (0, n2.default)(e3, t3, r2.flowTypes.flowTypeSecureCall); + c.variables = []; + const d = new u(); let p; - return c.variables = [], c.name = o(t3).mainTask, d.flowSequenceItemList = [c], d.initialSequence = c.id, i3 ? (p = new l(), p.name = a.actions.returnToAgent) : (p = new s(), p.name = a.actions.disconnect), c.actionList = [p], c.startAction = p.id, d; + return d.variables = [], d.name = o(t3).mainTask, c.flowSequenceItemList = [d], c.initialSequence = d.id, i3 ? (p = new l(), p.name = a.actions.returnToAgent) : (p = new s(), p.name = a.actions.disconnect), d.actionList = [p], d.startAction = p.id, c; }; const n2 = i2(31635).__importDefault(i2(64499)), r2 = i2(96618), o = i2(21733), a = i2(47957), s = i2(44095), l = i2(63007), u = i2(92330); }, 34622: (e2, t2, i2) => { @@ -41568,15 +45472,15 @@ var require_scripting_bundle = __commonJS({ } } }), e2.exports = o; }, 34630: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createSuggestion = s, t2.createFix = l, t2.createAppendTextFix = u, t2.createFixReplaceText = d, t2.createFixRemoveText = c, t2.createWrapTextFix = function(e3, t3, i3, n3) { + Object.defineProperty(t2, "__esModule", { value: true }), t2.createSuggestion = s, t2.createFix = l, t2.createAppendTextFix = u, t2.createFixReplaceText = c, t2.createFixRemoveText = d, t2.createWrapTextFix = function(e3, t3, i3, n3) { return l(o.CodeSuggestionWhatToDo.wrapText, e3, n3, void 0, t3, i3); }, t2.createFixImplicitCast = function(e3, t3, i3, r3) { const o2 = `${i3}()`, s2 = []; - return s2.push((0, n2.sprintf)(a.codeEditor.types.returnValueTypeMismatch, e3.displayString, t3.displayString, o2)), d((0, n2.sprintf)(a.codeEditor.suggestions.addFunctionCall, o2), `${i3}(${r3 || ""})`, s2.join(" ")); + return s2.push((0, n2.sprintf)(a.codeEditor.types.returnValueTypeMismatch, e3.displayString, t3.displayString, o2)), c((0, n2.sprintf)(a.codeEditor.suggestions.addFunctionCall, o2), `${i3}(${r3 || ""})`, s2.join(" ")); }, t2.createFixAddMissingSeparator = function(e3) { return u((0, n2.sprintf)(a.codeEditor.suggestions.addMissingSeparator, e3), e3 || ","); }, t2.createFixRemoveUnnecessarySeparator = function(e3) { - return c((0, n2.sprintf)(a.codeEditor.suggestions.removeUnnecessarySeparator, e3)); + return d((0, n2.sprintf)(a.codeEditor.suggestions.removeUnnecessarySeparator, e3)); }; const n2 = i2(17604), r2 = i2(17666), o = i2(17666), a = i2(47957); function s(e3, t3, i3, n3, r3, o2, a2) { @@ -41588,10 +45492,10 @@ var require_scripting_bundle = __commonJS({ function u(e3, t3, i3) { return l(o.CodeSuggestionWhatToDo.appendText, e3, i3, t3); } - function d(e3, t3, i3) { + function c(e3, t3, i3) { return l(o.CodeSuggestionWhatToDo.replaceText, e3, i3, t3); } - function c(e3, t3) { + function d(e3, t3) { return l(o.CodeSuggestionWhatToDo.removeText, e3, t3); } }, 34707: (e2, t2, i2) => { @@ -41720,7 +45624,7 @@ var require_scripting_bundle = __commonJS({ return r2[e3] || ""; } } - const u = /version\/(\d+(\.?_?\d+)+)/i, d = [{ test: [/googlebot/i], describe(e3) { + const u = /version\/(\d+(\.?_?\d+)+)/i, c = [{ test: [/googlebot/i], describe(e3) { const t3 = { name: "Googlebot" }, i3 = l.getFirstMatch(/googlebot\/(\d+(\.\d+))/i, e3) || l.getFirstMatch(u, e3); return i3 && (t3.version = i3), t3; } }, { test: [/opera/i], describe(e3) { @@ -41852,7 +45756,7 @@ var require_scripting_bundle = __commonJS({ } }, { test: [/.*/i], describe(e3) { const t3 = -1 !== e3.search("\\(") ? /^(.*)\/(.*)[ \t]\((.*)/ : /^(.*)\/(.*) /; return { name: l.getFirstMatch(t3, e3), version: l.getSecondMatch(t3, e3) }; - } }], c = d, p = [{ test: [/Roku\/DVP/], describe(e3) { + } }], d = c, p = [{ test: [/Roku\/DVP/], describe(e3) { const t3 = l.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i, e3); return { name: a.Roku, version: t3 }; } }, { test: [/windows phone/i], describe(e3) { @@ -41935,7 +45839,7 @@ var require_scripting_bundle = __commonJS({ } parseBrowser() { this.parsedResult.browser = {}; - const e3 = l.find(c, (e4) => { + const e3 = l.find(d, (e4) => { if ("function" == typeof e4.test) return e4.test(this); if (e4.test instanceof Array) return e4.test.some((e5) => this.test(e5)); throw new Error("Browser's test function is not valid"); @@ -42083,16 +45987,16 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2, r2, o; Object.defineProperty(t2, "__esModule", { value: true }); - const a = i2(31635), s = a.__importDefault(i2(92140)), l = i2(80295), u = a.__importDefault(i2(89034)), d = i2(47957); - class c extends u.default { + const a = i2(31635), s = a.__importDefault(i2(92140)), l = i2(80295), u = a.__importDefault(i2(89034)), c = i2(47957); + class d extends u.default { constructor(e3, t3, i3) { - super(), this.type = { name: d.task.pathType }, n2.set(this, void 0), r2.set(this, void 0), o.set(this, []), a.__classPrivateFieldSet(this, r2, e3, "f"), a.__classPrivateFieldSet(this, n2, t3, "f"), this.required = !!i3, (0, l.makeUnenumerable)(this, "isDynamicBranch"), (0, l.makeUnenumerable)(this, "required"), (0, l.makeUnenumerable)(this, "type"); + super(), this.type = { name: c.task.pathType }, n2.set(this, void 0), r2.set(this, void 0), o.set(this, []), a.__classPrivateFieldSet(this, r2, e3, "f"), a.__classPrivateFieldSet(this, n2, t3, "f"), this.required = !!i3, (0, l.makeUnenumerable)(this, "isDynamicBranch"), (0, l.makeUnenumerable)(this, "required"), (0, l.makeUnenumerable)(this, "type"); } get consumerCount() { return a.__classPrivateFieldGet(this, o, "f").length; } - get visibleUsages() { - return this._visibleUsages.concat(a.__classPrivateFieldGet(this, o, "f")); + visibleUsages(e3) { + return this._visibleUsages(e3).concat(a.__classPrivateFieldGet(this, o, "f")); } get name() { return a.__classPrivateFieldGet(this, r2, "f").label; @@ -42109,25 +46013,25 @@ var require_scripting_bundle = __commonJS({ get branchItem() { return a.__classPrivateFieldGet(this, r2, "f"); } - canDelete() { + canDelete(e3) { return !this.required; } addConsumer(e3, t3) { return !(!e3 || !t3) && (-1 === s.default.findIndex(a.__classPrivateFieldGet(this, o, "f"), (t4) => t4.id === e3.id) && a.__classPrivateFieldGet(this, o, "f").push({ consumer: e3, context: t3 }), true); } get deletionTooltip() { - return d.variable.outputDeleteTooltip; + return c.variable.outputDeleteTooltip; } removeConsumer(e3) { if (!e3) return false; const t3 = s.default.findIndex(a.__classPrivateFieldGet(this, o, "f"), (t4) => t4.consumer.id === e3.id); return t3 >= 0 && (a.__classPrivateFieldGet(this, o, "f").splice(t3, 1), true); } - deleteItem() { - return this.canDelete() ? !(!a.__classPrivateFieldGet(this, n2, "f") || !a.__classPrivateFieldGet(this, n2, "f").call(this, this.outputId) || (a.__classPrivateFieldGet(this, o, "f").length = 0, 0)) : (console.error("cannot delete exit path: ", this.isDynamicBranch ? "" : this.outputId), false); + deleteItem(e3) { + return this.canDelete(e3) ? !(!a.__classPrivateFieldGet(this, n2, "f") || !a.__classPrivateFieldGet(this, n2, "f").call(this, this.outputId) || (a.__classPrivateFieldGet(this, o, "f").length = 0, 0)) : (console.error("cannot delete exit path: ", this.isDynamicBranch ? "" : this.outputId), false); } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = c; + n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = d; }, 34763: (e2, t2, i2) => { const n2 = i2(80259); function r2() { @@ -42179,8 +46083,8 @@ var require_scripting_bundle = __commonJS({ Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(23581)), o = n2.__importDefault(i2(74998)); class a extends r2.default { - constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, resultExpressionType: o2, restrictToFlowTypeOrTypes: a2, categoryIdentifierOrIdentifiers: s, builderPartDefCategoryIdentifierOrIdentifiers: l, defaultBuilderPartId: u, icon: d, helpTopic: c, requiredFeatureToggle: p, requiredFeatureConfig: _, requiredChannelTypeOrTypes: h }) { - super(e3, t3, i3, n3, r3, o2, a2, s, l, u, d, c, p, _, h, { maxBuilderPartCount: 1, minBuilderPartCount: 1 }); + constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, resultExpressionType: o2, restrictToFlowTypeOrTypes: a2, categoryIdentifierOrIdentifiers: s, builderPartDefCategoryIdentifierOrIdentifiers: l, defaultBuilderPartId: u, icon: c, helpTopic: d, requiredFeatureToggle: p, requiredFeatureConfig: _, requiredChannelTypeOrTypes: h }) { + super(e3, t3, i3, n3, r3, o2, a2, s, l, u, c, d, p, _, h, { maxBuilderPartCount: 1, minBuilderPartCount: 1 }); } get className() { return "BuilderWithSingleBuilderPartDef"; @@ -42221,7 +46125,7 @@ var require_scripting_bundle = __commonJS({ }, 35284: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(12361), o = i2(30801), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(56549)), l = i2(79364), u = i2(79364), d = n2.__importStar(i2(10798)), c = n2.__importDefault(i2(4648)), p = n2.__importDefault(i2(95085)); + const n2 = i2(31635), r2 = i2(12361), o = i2(30801), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(56549)), l = i2(79364), u = i2(79364), c = n2.__importStar(i2(10798)), d = n2.__importDefault(i2(4648)), p = n2.__importDefault(i2(95085)); class _ extends p.default { constructor(e3) { super(e3); @@ -42245,7 +46149,7 @@ var require_scripting_bundle = __commonJS({ return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; } get voiceProcessingPrompt() { - return d.isFeatureAvailable(c.default.botFlowsVoiceProcessingPrompt) && this.logDeprecatedPropertyWarning(this._infoPropGet("voiceProcessingPrompt")), this.coreFactory.createArchWrapper(this._getCoreViewModel().voiceProcessingPrompt); + return c.isFeatureAvailable(d.default.botFlowsVoiceProcessingPrompt) && this.logDeprecatedPropertyWarning(this._infoPropGet("voiceProcessingPrompt")), this.coreFactory.createArchWrapper(this._getCoreViewModel().voiceProcessingPrompt); } get exitReason() { return this.coreFactory.createArchWrapper(this._getCoreViewModel().exitReason); @@ -42281,7 +46185,7 @@ var require_scripting_bundle = __commonJS({ }, 35295: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getDigitalBotConnectorBots = h, t2.getDigitalBotConnectorBotVersions = m, t2.getDigitalBotConnectorBotVersion = g, t2.getDigitalBotConnectorBot = f, t2.ensureCorrectVersionProperties = T; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = i2(80428), s = n2.__importDefault(i2(36019)), l = i2(29795), u = n2.__importStar(i2(18516)), d = (0, i2(24032).getTopic)("botConnectorApi"), c = (i2(75601), "Collection"), p = c.length, _ = {}; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = i2(80428), s = n2.__importDefault(i2(36019)), l = i2(29795), u = n2.__importStar(i2(18516)), c = (0, i2(24032).getTopic)("botConnectorApi"), d = (i2(75601), "Collection"), p = d.length, _ = {}; function h(e3) { const t3 = (null == e3 ? void 0 : e3.additionalParams) || e3; if (!(null == t3 ? void 0 : t3.integrationId)) return; @@ -42327,12 +46231,12 @@ var require_scripting_bundle = __commonJS({ a2 && (e4.entities = e4.slots), r2.default.each(null == e4 ? void 0 : e4.entities, (e5) => { var t5; if (r2.default.isString(null == e5 ? void 0 : e5.type)) { - if (e5.archDataTypeId = _[e5.type], !e5.archDataTypeId && e5.type === l.jsonSchemaTypeNames.array && (null === (t5 = e5.items) || void 0 === t5 ? void 0 : t5.type) && (e5.archDataTypeId = _[e5.items.type]), r2.default.isUndefined(e5.archDataTypeId)) d.error(`invalid architect data type for slot. type: '${e5.type}'`); - else if (e5.type.endsWith(c)) { + if (e5.archDataTypeId = _[e5.type], !e5.archDataTypeId && e5.type === l.jsonSchemaTypeNames.array && (null === (t5 = e5.items) || void 0 === t5 ? void 0 : t5.type) && (e5.archDataTypeId = _[e5.items.type]), r2.default.isUndefined(e5.archDataTypeId)) c.error(`invalid architect data type for slot. type: '${e5.type}'`); + else if (e5.type.endsWith(d)) { const t6 = e5.type.slice(0, -p); - e5.archDataTypeId = _[t6], r2.default.isUndefined(e5.archDataTypeId) ? d.error(`invalid architect data type for collection slot. name:${e5.name} type:${e5.type}`) : (e5.items = { type: t6 }, e5.type = l.jsonSchemaTypeNames.array); + e5.archDataTypeId = _[t6], r2.default.isUndefined(e5.archDataTypeId) ? c.error(`invalid architect data type for collection slot. name:${e5.name} type:${e5.type}`) : (e5.items = { type: t6 }, e5.type = l.jsonSchemaTypeNames.array); } - } else d.error("missing type for slot"); + } else c.error("missing type for slot"); }); const t4 = {}; e4.entities && r2.default.isArray(e4.entities) && (e4.entities.forEach((e5) => { @@ -42342,7 +46246,7 @@ var require_scripting_bundle = __commonJS({ } ["Boolean", "Currency", "Datetime", "Decimal", "Duration", "Integer", "String"].forEach((e3) => { const t3 = e3, i3 = "Datetime" !== e3 ? e3.toLowerCase() : "dateTime"; - _[t3] = a.expressionTypeNames[i3], _[`${t3}${c}`] = `${a.expressionTypeNames[i3]}${o.default.exprDataTypeSuffixCollection}`; + _[t3] = a.expressionTypeNames[i3], _[`${t3}${d}`] = `${a.expressionTypeNames[i3]}${o.default.exprDataTypeSuffixCollection}`; }), h.api = u.getDigitalBotConnectorBots, m.api = u.getDigitalBotConnectorBotVersions, g.api = u.getDigitalBotConnectorBot, f.api = u.getDigitalBotConnectorBot; }, 35315: (e2, t2) => { "use strict"; @@ -42406,7 +46310,7 @@ var require_scripting_bundle = __commonJS({ } return _; }, t2.getGenesysAppHeader = function() { - return `${`architect_webui/${t2.buildNumber}`}/scripting`; + return `${`architect-webui/${t2.buildNumber}`}/scripting`; }, t2.getAuthToken = y, t2.setAuthToken = function(e3) { h = e3; try { @@ -42457,30 +46361,30 @@ var require_scripting_bundle = __commonJS({ }, t2.setDesiredParameters = function(e3) { N = e3; }, t2.desiredHash = function() { - return O; + return v; }, t2.setDesiredHash = function(e3) { - O = e3; + v = e3; }, t2.desiredPath = function() { - return O ? O.substring(2, O.length) : null; + return v ? v.substring(2, v.length) : null; }, t2.isDevOrTest = function() { - return f.env === d.environmentEnum.dev || f.env === d.environmentEnum.test; + return f.env === c.environmentEnum.dev || f.env === c.environmentEnum.test; }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(34707)), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(74359)), u = n2.__importStar(i2(12847)), d = i2(75754), c = i2(287), p = l.isRunningInBrowser() ? i2(53067) : null; + const n2 = i2(31635), r2 = n2.__importDefault(i2(34707)), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(74359)), u = n2.__importStar(i2(12847)), c = i2(75754), d = i2(287), p = l.isRunningInBrowser() ? i2(53067) : null; let _; null == p || p.onClient401(o.default.debounce((e3) => { u.error(`Received error from pcUiAuthHost.onClient401: "${e3}"`), p.sendTokenToClients(y()); }, 2 * s.default.msPerSecond)); let h = null; - t2.browser = "object" == typeof window, t2.limits = new c.EnvironmentLimits(); + t2.browser = "object" == typeof window, t2.limits = new d.EnvironmentLimits(); let m = null; const g = {}, f = { urls: {} }; let T; function y() { return h; } - t2.values = f, t2.browser && (T = r2.default.getParser(window.navigator.userAgent)), t2.browserInfo = T, t2.buildNumber = o.default.isNumber("0.66.6") ? String("0.66.6") : "0.66.6"; + t2.values = f, t2.browser && (T = r2.default.getParser(window.navigator.userAgent)), t2.browserInfo = T, t2.buildNumber = o.default.isNumber("0.68.3") ? String("0.68.3") : "0.68.3"; const S = "cd443cab-4821-487f-9fd2-465ec1735ba3"; - let A, N, O; + let A, N, v; t2.osList = { windows: "windows", mac: "mac", unix: "unix", linux: "linux", unknown: "unknown" }, t2.pageSizeOptions = { letter: "letter", a4: "a4" }, t2.pageOrientationOptions = { portrait: "portrait" }, t2.pageSizes = { mac: { chrome: { letter: { portrait: { height: 1333, width: 1e3 } }, a4: { portrait: { height: 1427, width: 972.67 } } }, firefox: { letter: { portrait: { height: 1353.5, width: 1e3 } }, a4: { portrait: { height: 1451.25, width: 972.67 } } }, safari: { letter: { portrait: { height: 1198, width: 1e3 } }, a4: { portrait: { height: 1289, width: 972.67 } } } }, windows: { chrome: { letter: { portrait: { firstPageHeightOffset: 7, height: 1334, width: 1e3 } }, a4: { portrait: { firstPageHeightOffset: 7, height: 1429, width: 972.22 } } }, firefox: { letter: { portrait: { height: 1353.5, width: 1e3 } }, a4: { portrait: { height: 1450.75, width: 972.22 } } }, "microsoft edge": { letter: { portrait: { height: 1334, width: 1e3 } }, a4: { portrait: { height: 1429, width: 972.22 } } } } }, t2.archSessionId = i2(65824).generate(), u.infoHighlightAlways("ArchSessionId:" + t2.archSessionId); }, 35520: (e2, t2, i2) => { "use strict"; @@ -42552,8 +46456,8 @@ var require_scripting_bundle = __commonJS({ "use strict"; var n2, r2, o, a, s; Object.defineProperty(t2, "__esModule", { value: true }); - const l = i2(31635), u = i2(30801), d = l.__importDefault(i2(11210)); - class c extends d.default { + const l = i2(31635), u = i2(30801), c = l.__importDefault(i2(11210)); + class d extends c.default { constructor(e3) { super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), l.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.noMatch), "f"), l.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.question), "f"), l.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.knowledgeSearchResult), "f"), l.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.customizeNoMatch), "f"), l.__classPrivateFieldSet(this, s, this.coreFactory.createArchWrapper(e3.noMatchReprompts), "f"); } @@ -42582,7 +46486,7 @@ var require_scripting_bundle = __commonJS({ return l.__classPrivateFieldGet(this, s, "f"); } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), t2.default = c; + n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), t2.default = d; }, 35635: (e2, t2, i2) => { function n2() { this.extendProperties(this), n2.baseConstructor.apply(this, arguments); @@ -42689,16 +46593,16 @@ var require_scripting_bundle = __commonJS({ } t2.default = r2; }, 35825: (e2, t2, i2) => { - const n2 = i2(62532), r2 = i2(30021), o = i2(11475), a = i2(11384), s = i2(95372), l = i2(42161), u = i2(43452), d = i2(19069), c = i2(74871), p = i2(67692), _ = i2(1057), h = i2(83226), m = i2(7320), g = i2(18534), f = i2(15893), T = i2(82584), y = i2(73728), S = i2(40853), A = i2(45335), N = i2(42685); + const n2 = i2(62532), r2 = i2(30021), o = i2(11475), a = i2(11384), s = i2(95372), l = i2(42161), u = i2(43452), c = i2(19069), d = i2(74871), p = i2(67692), _ = i2(1057), h = i2(83226), m = i2(7320), g = i2(18534), f = i2(15893), T = i2(82584), y = i2(73728), S = i2(40853), A = i2(45335), N = i2(42685); + function v() { + v.baseConstructor.apply(this, arguments); + } function O() { O.baseConstructor.apply(this, arguments); } function I() { I.baseConstructor.apply(this, arguments); } - function v() { - v.baseConstructor.apply(this, arguments); - } function C() { C.baseConstructor.apply(this, arguments); } @@ -42708,11 +46612,11 @@ var require_scripting_bundle = __commonJS({ function E() { E.baseConstructor.apply(this, arguments); } - function R() { + function w() { b.baseConstructor.apply(this, arguments); } - function w() { - w.baseConstructor.apply(this, arguments); + function R() { + R.baseConstructor.apply(this, arguments); } function D() { D.baseConstructor.apply(this, arguments); @@ -42765,15 +46669,15 @@ var require_scripting_bundle = __commonJS({ function J() { J.baseConstructor.apply(this, arguments); } + function $() { + $.baseConstructor.apply(this, arguments); + } function z() { z.baseConstructor.apply(this, arguments); } function K() { K.baseConstructor.apply(this, arguments); } - function $() { - $.baseConstructor.apply(this, arguments); - } function Q() { Q.baseConstructor.apply(this, arguments); } @@ -42813,13 +46717,13 @@ var require_scripting_bundle = __commonJS({ function ue() { ue.baseConstructor.apply(this, arguments); } - o.extend(O, "AudioVariable", true), o.extend(I, "BoolVariable", true), o.extend(v, "ButtonVariable", true), o.extend(C, "CardVariable", true), o.extend(b, "CarouselVariable", true), o.extend(E, "ChoiceVariable", true), o.extend(R, "ChooserVariable", true), o.extend(w, "CampaignVariable", true), o.extend(D, "ContactVariable", true), o.extend(P, "ContactListVariable", true), o.extend(M, "DateVariable", true), o.extend(F, "DateTimeVariable", true), o.extend(L, "EmergencyGroupVariable", true), o.extend(x, "FormInputVariable", true), o.extend(k, "GroupVariable", true), o.extend(V, "IntegerVariable", true), o.extend(U, "LanguageSkillEnumVariable", true), o.extend(B, "LanguageSkillVariable", true), o.extend(function e3() { + o.extend(v, "AudioVariable", true), o.extend(O, "BoolVariable", true), o.extend(I, "ButtonVariable", true), o.extend(C, "CardVariable", true), o.extend(b, "CarouselVariable", true), o.extend(E, "ChoiceVariable", true), o.extend(w, "ChooserVariable", true), o.extend(R, "CampaignVariable", true), o.extend(D, "ContactVariable", true), o.extend(P, "ContactListVariable", true), o.extend(M, "DateVariable", true), o.extend(F, "DateTimeVariable", true), o.extend(L, "EmergencyGroupVariable", true), o.extend(x, "FormInputVariable", true), o.extend(k, "GroupVariable", true), o.extend(V, "IntegerVariable", true), o.extend(U, "LanguageSkillEnumVariable", true), o.extend(B, "LanguageSkillVariable", true), o.extend(function e3() { e3.baseConstructor.apply(this, arguments); }, "ListPickerVariable", true), o.extend(function e3() { e3.baseConstructor.apply(this, arguments); }, "ListPickerItemVariable", true), o.extend(function e3() { e3.baseConstructor.apply(this, arguments); - }, "ListPickerSectionVariable", true), o.extend(G, "LineItemVariable", true), o.extend(j, "PhoneNumberVariable", true), o.extend(W, "PromptVariable", true), o.extend(q, "QueueVariable", true), o.extend(Y, "QuickRepliesVariable", true), o.extend(H, "RegionsVariable", true), o.extend(J, "ScheduleVariable", true), o.extend(z, "ScheduleGroupVariable", true), o.extend(K, "ShippingOptionVariable", true), o.extend($, "SkillVariable", true), o.extend(Q, "StringVariable", true), o.extend(X, "SurveyAnswerOptionVariable", true), o.extend(Z, "SurveyFormVariable", true), o.extend(ee, "SurveyQuestionGroupVariable", true), o.extend(te, "SurveyQuestionVariable", true), o.extend(ie, "TimeVariable", true), o.extend(ne, "TimePickerVariable", true), o.extend(re, "TimeslotVariable", true), o.extend(oe, "UserVariable", true), o.extend(ae, "UtilizationLabelVariable", true), o.extend(se, "WheelPickerVariable", true), o.extend(le, "WheelPickerItemVariable", true), o.extend(ue, "WrapupCodeVariable", true), e2.exports = { AssignedCustomerIntentVariable: n2, AssignedCustomerSegmentVariable: r2, AudioVariable: O, BoolVariable: I, ButtonVariable: v, CampaignVariable: w, CardVariable: C, CarouselVariable: b, ChoiceVariable: E, ChooserVariable: R, CommunicationVariable: a, ComplexVariable: s, ContactVariable: D, ContactListVariable: P, CurrencyVariable: l, CustomerIntentVariable: u, CustomerSegmentVariable: d, DateVariable: M, DateTimeVariable: F, DecimalVariable: c, DigitalAudioVariable: p, DivisionVariable: _, DurationVariable: h, EmergencyGroupVariable: L, FileVariable: m, FormInputVariable: x, GrammarVariable: g, GroupVariable: k, ImageVariable: f, IntegerVariable: V, JsonVariable: T, KnowledgeBaseDocumentVariable: y, LanguageSkillEnumVariable: U, LanguageSkillVariable: B, LineItemVariable: G, PhoneNumberVariable: j, PromptVariable: W, QueueVariable: q, QuickRepliesVariable: Y, RegionVariable: H, RegionsVariable: H, ResponseAssetVariable: S, ScheduleVariable: J, ScheduleGroupVariable: z, ShippingOptionVariable: K, SkillVariable: $, StringVariable: Q, SurveyAnswerOptionVariable: X, SurveyFormVariable: Z, SurveyQuestionGroupVariable: ee, SurveyQuestionVariable: te, TimeVariable: ie, TimePickerVariable: ne, TimeslotVariable: re, UserVariable: oe, UtilizationLabelVariable: ae, VideoVariable: A, VoiceSnippetVariable: N, WheelPickerVariable: se, WheelPickerItemVariable: le, WrapupCodeVariable: ue }; + }, "ListPickerSectionVariable", true), o.extend(G, "LineItemVariable", true), o.extend(j, "PhoneNumberVariable", true), o.extend(W, "PromptVariable", true), o.extend(q, "QueueVariable", true), o.extend(Y, "QuickRepliesVariable", true), o.extend(H, "RegionsVariable", true), o.extend(J, "ScheduleVariable", true), o.extend($, "ScheduleGroupVariable", true), o.extend(z, "ShippingOptionVariable", true), o.extend(K, "SkillVariable", true), o.extend(Q, "StringVariable", true), o.extend(X, "SurveyAnswerOptionVariable", true), o.extend(Z, "SurveyFormVariable", true), o.extend(ee, "SurveyQuestionGroupVariable", true), o.extend(te, "SurveyQuestionVariable", true), o.extend(ie, "TimeVariable", true), o.extend(ne, "TimePickerVariable", true), o.extend(re, "TimeslotVariable", true), o.extend(oe, "UserVariable", true), o.extend(ae, "UtilizationLabelVariable", true), o.extend(se, "WheelPickerVariable", true), o.extend(le, "WheelPickerItemVariable", true), o.extend(ue, "WrapupCodeVariable", true), e2.exports = { AssignedCustomerIntentVariable: n2, AssignedCustomerSegmentVariable: r2, AudioVariable: v, BoolVariable: O, ButtonVariable: I, CampaignVariable: R, CardVariable: C, CarouselVariable: b, ChoiceVariable: E, ChooserVariable: w, CommunicationVariable: a, ComplexVariable: s, ContactVariable: D, ContactListVariable: P, CurrencyVariable: l, CustomerIntentVariable: u, CustomerSegmentVariable: c, DateVariable: M, DateTimeVariable: F, DecimalVariable: d, DigitalAudioVariable: p, DivisionVariable: _, DurationVariable: h, EmergencyGroupVariable: L, FileVariable: m, FormInputVariable: x, GrammarVariable: g, GroupVariable: k, ImageVariable: f, IntegerVariable: V, JsonVariable: T, KnowledgeBaseDocumentVariable: y, LanguageSkillEnumVariable: U, LanguageSkillVariable: B, LineItemVariable: G, PhoneNumberVariable: j, PromptVariable: W, QueueVariable: q, QuickRepliesVariable: Y, RegionVariable: H, RegionsVariable: H, ResponseAssetVariable: S, ScheduleVariable: J, ScheduleGroupVariable: $, ShippingOptionVariable: z, SkillVariable: K, StringVariable: Q, SurveyAnswerOptionVariable: X, SurveyFormVariable: Z, SurveyQuestionGroupVariable: ee, SurveyQuestionVariable: te, TimeVariable: ie, TimePickerVariable: ne, TimeslotVariable: re, UserVariable: oe, UtilizationLabelVariable: ae, VideoVariable: A, VoiceSnippetVariable: N, WheelPickerVariable: se, WheelPickerItemVariable: le, WrapupCodeVariable: ue }; }, 35859: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -42933,8 +46837,8 @@ var require_scripting_bundle = __commonJS({ }; }, 35951: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(67607), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5730)), d = i2(80428), c = i2(47957); - class p extends u.default { + const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(67607), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5730)), c = i2(80428), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends u.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.expression = null, this._loadModel(t3); } @@ -42945,10 +46849,10 @@ var require_scripting_bundle = __commonJS({ return this.expression && this.expression.text ? new o.ActionDetails([""], [this.expression.text]) : null; } static get managedProperties() { - return [{ label: c.expression.label, options: a.ExpressionTypeBooleanOptions.create((e3) => e3.setIninTestingField("decisionExpression")), property: "expression", type: d.expressionTypeNames.boolean, yamlOptions: p.createYamlOptions("condition", (e3) => e3.setPropertyName("condition")) }]; + return [{ label: p.expression.label, options: a.ExpressionTypeBooleanOptions.create((e3) => e3.setIninTestingField("decisionExpression")), property: "expression", type: c.expressionTypeNames.boolean, yamlOptions: _.createYamlOptions("condition", (e3) => e3.setPropertyName("condition")) }]; } } - p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: r2.helpTopics.actions.decision, modelClass: i2(33631), name: c.actions.decision, scriptingName: "ArchActionDecision" }), t2.A = p; + _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: r2.helpTopics.actions.decision, modelClass: i2(33631), name: p.actions.decision, scriptingName: "ArchActionDecision", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; }, 35958: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -42991,7 +46895,7 @@ var require_scripting_bundle = __commonJS({ }, u.TestFakeServerResponseOff = function() { console.debug("Testing - turning off faked response types for server calls"), u.__testFakeServerResponseCode = null; }; - const d = new class { + const c = new class { addRequestHandler(e3, t3) { t3 ? a.BasicRequest.handlers.unshift(e3) : a.BasicRequest.handlers.splice(a.BasicRequest.handlers.length - 1, 0, e3); } @@ -43012,7 +46916,7 @@ var require_scripting_bundle = __commonJS({ return new ((0, s.getDefaultRequestModel)())(e3, t3); } }(); - t2.default = d; + t2.default = c; }, 36024: (e2, t2, i2) => { function n2() { n2.baseConstructor.apply(this, arguments); @@ -43088,10 +46992,10 @@ var require_scripting_bundle = __commonJS({ } t2.NameValuePairsOptions = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], l.prototype, "addButtonLabel", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], l.prototype, "allowLiteralOnlyOnName", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], l.prototype, "nameLabel", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], l.prototype, "sectionLabel", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], l.prototype, "valueLabel", null); }, 36179: (e2, t2, i2) => { - const { builderCategoryIds: n2 } = i2(73062), r2 = i2(79904).default, o = i2(5532).default, { builderPartIds: a } = i2(69149), s = i2(42290).default, l = i2(16958), u = i2(73198).default, d = i2(76486).default, c = i2(22599).default, p = i2(98114).default, { globalTypes: _ } = i2(14394); + const { builderCategoryIds: n2 } = i2(73062), r2 = i2(79904).default, o = i2(5532).default, { builderPartIds: a } = i2(69149), s = i2(42290).default, l = i2(16958), u = i2(73198).default, c = i2(76486).default, d = i2(22599).default, p = i2(98114).default, { globalTypes: _ } = i2(14394); e2.exports = { create: function() { - const e3 = new d({ expressionType: _.dateTime, label: l.builderParts.shared.expressions.calculationDateTime.label, configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setDefaultText("GetCurrentDateTimeUtc()").setIninTestingField("dateTimeForCalculation") }), t3 = new d({ expressionType: _.dateTime, label: l.builderParts.shared.expressions.dateTimeBoolCheck.label, configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setDefaultText("GetCurrentDateTimeUtc()").setIninTestingField("dateTimeForCalculation") }); - o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.lastDayOfMonth.description, expressionDefs: [e3], generators: { expressionGenerator: c.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("AddDays").addFuncCall("If").addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addOperatorEquals().addToken("12").addFuncParameterSeparator().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addOperatorPlus().addToken(1).addFuncParameterSeparator().addToken(1).addFuncParameterSeparator().addToken(1).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addOperatorPlus().addToken(1).addFuncParameterSeparator().addToken(1).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addToken("-1").addFuncCallEnd().addFuncParameterSeparator().addFuncCall("ToDateTime").addTokenNotSet().addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s), AddDays(If(Month(%1$s) == 12, MakeDateTime(Year(%1$s) + 1, 1, 1, 0, 0, 0), MakeDateTime(Year(%1$s), Month(%1$s) + 1, 1, 0, 0, 0)), -1), ToDateTime(NOT_SET))") }, id: a.dateTime.lastDayOfMonth, name: l.builderParts.dateTime.lastDayOfMonth.name, resultExpressionType: _.dateTime, version: 1 })), o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.firstDayOfNextMonth.description, expressionDefs: [e3], generators: { expressionGenerator: c.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("If").addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addOperatorEquals().addToken("12").addFuncParameterSeparator().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addOperatorPlus().addToken(1).addFuncParameterSeparator().addToken(1).addFuncParameterSeparator().addToken(1).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addOperatorPlus().addToken(1).addFuncParameterSeparator().addToken(1).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addFuncCall("ToDateTime").addTokenNotSet().addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s), If(Month(%1$s) == 12, MakeDateTime(Year(%1$s) + 1, 1, 1, 0, 0, 0), MakeDateTime(Year(%1$s), Month(%1$s) + 1, 1, 0, 0, 0)), ToDateTime(NOT_SET))") }, id: a.dateTime.firstDayOfNextMonth, name: l.builderParts.dateTime.firstDayOfNextMonth.name, resultExpressionType: _.dateTime, version: 1 })), o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.nextDayOfWeek.description, expressionDefs: [e3, new d({ descriptionInfo: { description: l.builderParts.dateTime.nextDayOfWeek.expressions.dayOfWeek.description, name: l.builderParts.dateTime.nextDayOfWeek.expressions.dayOfWeek.name }, expressionType: _.integer, label: l.builderParts.dateTime.nextDayOfWeek.expressions.dayOfWeek.label, configureOptionsCallback: (e4) => e4.setDefaultText("6").setIninTestingField("dayOfWeek").facets.setMinInt(1, true).setMaxInt(7, true) }), new d({ descriptionInfo: { name: l.builderParts.dateTime.nextDayOfWeek.expressions.dayOfWeekMatch.name, description: l.builderParts.dateTime.nextDayOfWeek.expressions.dayOfWeekMatch.description }, expressionType: _.boolean, label: l.builderParts.dateTime.nextDayOfWeek.expressions.dayOfWeekMatch.label, configureOptionsCallback: (e4) => e4.setDefaultText(u.false).setIninTestingField("useSpecifiedDateTimeDateIfDayOfWeekMatches") })], generators: { expressionGenerator: c.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("If").addOpenParen().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addOperatorEquals().addTokenReplacement(1).addCloseParen().addOperatorAnd().addOpenParen().addTokenReplacement(2).addOperatorEquals().addTokenBooleanTrue().addCloseParen().addFuncParameterSeparator().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Day").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addToken("0").addFuncParameterSeparator().addToken("0").addFuncParameterSeparator().addToken("0").addFuncCallEnd().addFuncParameterSeparator().addFuncCall("MakeDateTime").addFuncCall("Year").addFuncCall("AddDays").addTokenReplacement(0).addFuncParameterSeparator().addFuncCall("If").addTokenReplacement(1).addOperatorGreaterThan().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(1).addOperatorMinus().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addOpenParen().addTokenReplacement(1).addOperatorPlus().addToken("7").addCloseParen().addOperatorMinus().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addFuncCall("AddDays").addTokenReplacement(0).addFuncParameterSeparator().addFuncCall("If").addTokenReplacement(1).addOperatorGreaterThan().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(1).addOperatorMinus().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addOpenParen().addTokenReplacement(1).addOperatorPlus().addToken("7").addCloseParen().addOperatorMinus().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Day").addFuncCall("AddDays").addTokenReplacement(0).addFuncParameterSeparator().addFuncCall("If").addTokenReplacement(1).addOperatorGreaterThan().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(1).addOperatorMinus().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addOpenParen().addTokenReplacement(1).addOperatorPlus().addToken("7").addCloseParen().addOperatorMinus().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addToken("0").addFuncParameterSeparator().addToken("0").addFuncParameterSeparator().addToken("0").addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addFuncCall("ToDateTime").addTokenNotSet().addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s) And IsSet(%2$s), If((DayOfWeek(%1$s) == %2$s) And (%3$s == true), MakeDateTime(Year(%1$s), Month(%1$s), Day(%1$s), 0, 0, 0), MakeDateTime(Year(AddDays(%1$s, If(%2$s > DayOfWeek(%1$s), %2$s - DayOfWeek(%1$s), (%2$s + 7) - DayOfWeek(%1$s)))), Month(AddDays(%1$s, If(%2$s > DayOfWeek(%1$s), %2$s - DayOfWeek(%1$s), (%2$s + 7) - DayOfWeek(%1$s)))), Day(AddDays(%1$s, If(%2$s > DayOfWeek(%1$s), %2$s - DayOfWeek(%1$s), (%2$s + 7) - DayOfWeek(%1$s)))), 0, 0, 0)), ToDateTime(NOT_SET))") }, id: a.dateTime.nextDayOfWeek, name: l.builderParts.dateTime.nextDayOfWeek.name, resultExpressionType: _.dateTime, version: 1 })), o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.isWeekday.description, expressionDefs: [t3], generators: { expressionGenerator: c.create().addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addOpenParen().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addOperatorGreaterThan().addToken(1).addCloseParen().addOperatorAnd().addOpenParen().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addOperatorLessThan().addToken(7).addCloseParen().verifySprintfStringAndInitialize("IsSet(%1$s) And (DayOfWeek(%1$s) > 1) And (DayOfWeek(%1$s) < 7)") }, id: a.dateTime.dateTimeIsWeekday, name: l.builderParts.dateTime.isWeekday.name, resultExpressionType: _.boolean, version: 1 })), o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.isWeekend.description, expressionDefs: [t3], generators: { expressionGenerator: c.create().addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addOpenParen().addOpenParen().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addOperatorEquals().addToken(1).addCloseParen().addOperatorOr().addOpenParen().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addOperatorEquals().addToken(7).addCloseParen().addCloseParen().verifySprintfStringAndInitialize("IsSet(%1$s) And ((DayOfWeek(%1$s) == 1) Or (DayOfWeek(%1$s) == 7))") }, id: a.dateTime.dateTimeIsWeekend, name: l.builderParts.dateTime.isWeekend.name, resultExpressionType: _.boolean, version: 1 })), o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.isInDateTimeRange.description, expressionDefs: [t3, new d({ expressionType: _.dateTime, label: l.builderParts.dateTime.isInDateTimeRange.dateTimeStart, configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("startDateTime") }), new d({ expressionType: _.dateTime, label: l.builderParts.dateTime.isInDateTimeRange.dateTimeEnd, configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("endDateTime") })], generators: { expressionGenerator: c.create().addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(1).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(2).addFuncCallEnd().addOperatorAnd().addOpenParen().addTokenReplacement(0).addOperatorGreaterThanOrEqualTo().addTokenReplacement(1).addCloseParen().addOperatorAnd().addOpenParen().addTokenReplacement(0).addOperatorLessThan().addTokenReplacement(2).addCloseParen().verifySprintfStringAndInitialize("IsSet(%1$s) And IsSet(%2$s) And IsSet(%3$s) And (%1$s >= %2$s) And (%1$s < %3$s)") }, id: a.dateTime.dateTimeInDateRange, name: l.builderParts.dateTime.isInDateTimeRange.name, resultExpressionType: _.boolean, version: 1 })), o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.isInTimeRange.description, expressionDefs: [t3, new d({ descriptionInfo: { description: l.builderParts.dateTime.isInTimeRange.dateTimeStart.description, name: l.builderParts.dateTime.isInTimeRange.dateTimeStart.name }, expressionType: _.dateTime, label: l.builderParts.dateTime.isInTimeRange.dateTimeStart.label, configureOptionsCallback: (e4) => e4.setTimeOnly(true).setIninTestingField("startDateTime") }), new d({ descriptionInfo: { description: l.builderParts.dateTime.isInTimeRange.dateTimeEnd.description, name: l.builderParts.dateTime.isInTimeRange.dateTimeEnd.name }, expressionType: _.dateTime, label: l.builderParts.dateTime.isInTimeRange.dateTimeEnd.label, configureOptionsCallback: (e4) => e4.setTimeOnly(true).setIninTestingField("endDateTime") })], generators: { expressionGenerator: c.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(2).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("If").addTokenReplacement(1).addOperatorLessThan().addTokenReplacement(2).addFuncParameterSeparator().addOpenParen().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Day").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Hour").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Minute").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Second").addTokenReplacement(1).addFuncCallEnd().addFuncCallEnd().addOperatorLessThanOrEqualTo().addTokenReplacement(0).addCloseParen().addOperatorAnd().addOpenParen().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Day").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Hour").addTokenReplacement(2).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Minute").addTokenReplacement(2).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Second").addTokenReplacement(2).addFuncCallEnd().addFuncCallEnd().addOperatorGreaterThanOrEqualTo().addTokenReplacement(0).addCloseParen().addFuncParameterSeparator().addOpenParen().addFuncCall("AddDays").addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Day").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Hour").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Minute").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Second").addTokenReplacement(1).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addToken("-1").addFuncCallEnd().addOperatorLessThanOrEqualTo().addTokenReplacement(0).addCloseParen().addOperatorAnd().addOpenParen().addFuncCall("AddDays").addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Day").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Hour").addTokenReplacement(2).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Minute").addTokenReplacement(2).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Second").addTokenReplacement(2).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addToken("-1").addFuncCallEnd().addOperatorGreaterThanOrEqualTo().addTokenReplacement(0).addCloseParen().addFuncCallEnd().addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%3$s) And IsSet(%2$s), If(%2$s < %3$s, (MakeDateTime(Year(%1$s), Month(%1$s), Day(%1$s), Hour(%2$s), Minute(%2$s), Second(%2$s)) <= %1$s) And (MakeDateTime(Year(%1$s), Month(%1$s), Day(%1$s), Hour(%3$s), Minute(%3$s), Second(%3$s)) >= %1$s), (AddDays(MakeDateTime(Year(%1$s), Month(%1$s), Day(%1$s), Hour(%2$s), Minute(%2$s), Second(%2$s)), -1) <= %1$s) And (AddDays(MakeDateTime(Year(%1$s), Month(%1$s), Day(%1$s), Hour(%3$s), Minute(%3$s), Second(%3$s)), -1) >= %1$s)), false)") }, id: a.dateTime.dateTimeInTimeRange, name: l.builderParts.dateTime.isInTimeRange.name, resultExpressionType: _.boolean, version: 1 })), o.addBuilderPartContainerDef(new r2({ categoryIdentifierOrIdentifiers: n2.container, description: l.builderParts.container.language.description, generators: { containerPartsGenerator: c.create().addSingleGenerationBucket("builder_part", true).verifySprintfStringAndInitialize(""), languageCheckGenerator: c.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("part_generation", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), ") }, id: a.dateTime.container.language, name: l.builderParts.container.language.name, resultExpressionType: _.dateTime, version: 1, restrictToFlowTypeOrTypes: p.getFlowTypesThatSupportLanguages() })); + const e3 = new c({ expressionType: _.dateTime, label: l.builderParts.shared.expressions.calculationDateTime.label, configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setDefaultText("GetCurrentDateTimeUtc()").setIninTestingField("dateTimeForCalculation") }), t3 = new c({ expressionType: _.dateTime, label: l.builderParts.shared.expressions.dateTimeBoolCheck.label, configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setDefaultText("GetCurrentDateTimeUtc()").setIninTestingField("dateTimeForCalculation") }); + o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.lastDayOfMonth.description, expressionDefs: [e3], generators: { expressionGenerator: d.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("AddDays").addFuncCall("If").addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addOperatorEquals().addToken("12").addFuncParameterSeparator().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addOperatorPlus().addToken(1).addFuncParameterSeparator().addToken(1).addFuncParameterSeparator().addToken(1).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addOperatorPlus().addToken(1).addFuncParameterSeparator().addToken(1).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addToken("-1").addFuncCallEnd().addFuncParameterSeparator().addFuncCall("ToDateTime").addTokenNotSet().addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s), AddDays(If(Month(%1$s) == 12, MakeDateTime(Year(%1$s) + 1, 1, 1, 0, 0, 0), MakeDateTime(Year(%1$s), Month(%1$s) + 1, 1, 0, 0, 0)), -1), ToDateTime(NOT_SET))") }, id: a.dateTime.lastDayOfMonth, name: l.builderParts.dateTime.lastDayOfMonth.name, resultExpressionType: _.dateTime, version: 1 })), o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.firstDayOfNextMonth.description, expressionDefs: [e3], generators: { expressionGenerator: d.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("If").addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addOperatorEquals().addToken("12").addFuncParameterSeparator().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addOperatorPlus().addToken(1).addFuncParameterSeparator().addToken(1).addFuncParameterSeparator().addToken(1).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addOperatorPlus().addToken(1).addFuncParameterSeparator().addToken(1).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncParameterSeparator().addToken(0).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addFuncCall("ToDateTime").addTokenNotSet().addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s), If(Month(%1$s) == 12, MakeDateTime(Year(%1$s) + 1, 1, 1, 0, 0, 0), MakeDateTime(Year(%1$s), Month(%1$s) + 1, 1, 0, 0, 0)), ToDateTime(NOT_SET))") }, id: a.dateTime.firstDayOfNextMonth, name: l.builderParts.dateTime.firstDayOfNextMonth.name, resultExpressionType: _.dateTime, version: 1 })), o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.nextDayOfWeek.description, expressionDefs: [e3, new c({ descriptionInfo: { description: l.builderParts.dateTime.nextDayOfWeek.expressions.dayOfWeek.description, name: l.builderParts.dateTime.nextDayOfWeek.expressions.dayOfWeek.name }, expressionType: _.integer, label: l.builderParts.dateTime.nextDayOfWeek.expressions.dayOfWeek.label, configureOptionsCallback: (e4) => e4.setDefaultText("6").setIninTestingField("dayOfWeek").facets.setMinInt(1, true).setMaxInt(7, true) }), new c({ descriptionInfo: { name: l.builderParts.dateTime.nextDayOfWeek.expressions.dayOfWeekMatch.name, description: l.builderParts.dateTime.nextDayOfWeek.expressions.dayOfWeekMatch.description }, expressionType: _.boolean, label: l.builderParts.dateTime.nextDayOfWeek.expressions.dayOfWeekMatch.label, configureOptionsCallback: (e4) => e4.setDefaultText(u.false).setIninTestingField("useSpecifiedDateTimeDateIfDayOfWeekMatches") })], generators: { expressionGenerator: d.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("If").addOpenParen().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addOperatorEquals().addTokenReplacement(1).addCloseParen().addOperatorAnd().addOpenParen().addTokenReplacement(2).addOperatorEquals().addTokenBooleanTrue().addCloseParen().addFuncParameterSeparator().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Day").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addToken("0").addFuncParameterSeparator().addToken("0").addFuncParameterSeparator().addToken("0").addFuncCallEnd().addFuncParameterSeparator().addFuncCall("MakeDateTime").addFuncCall("Year").addFuncCall("AddDays").addTokenReplacement(0).addFuncParameterSeparator().addFuncCall("If").addTokenReplacement(1).addOperatorGreaterThan().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(1).addOperatorMinus().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addOpenParen().addTokenReplacement(1).addOperatorPlus().addToken("7").addCloseParen().addOperatorMinus().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addFuncCall("AddDays").addTokenReplacement(0).addFuncParameterSeparator().addFuncCall("If").addTokenReplacement(1).addOperatorGreaterThan().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(1).addOperatorMinus().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addOpenParen().addTokenReplacement(1).addOperatorPlus().addToken("7").addCloseParen().addOperatorMinus().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Day").addFuncCall("AddDays").addTokenReplacement(0).addFuncParameterSeparator().addFuncCall("If").addTokenReplacement(1).addOperatorGreaterThan().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(1).addOperatorMinus().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addOpenParen().addTokenReplacement(1).addOperatorPlus().addToken("7").addCloseParen().addOperatorMinus().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addToken("0").addFuncParameterSeparator().addToken("0").addFuncParameterSeparator().addToken("0").addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addFuncCall("ToDateTime").addTokenNotSet().addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s) And IsSet(%2$s), If((DayOfWeek(%1$s) == %2$s) And (%3$s == true), MakeDateTime(Year(%1$s), Month(%1$s), Day(%1$s), 0, 0, 0), MakeDateTime(Year(AddDays(%1$s, If(%2$s > DayOfWeek(%1$s), %2$s - DayOfWeek(%1$s), (%2$s + 7) - DayOfWeek(%1$s)))), Month(AddDays(%1$s, If(%2$s > DayOfWeek(%1$s), %2$s - DayOfWeek(%1$s), (%2$s + 7) - DayOfWeek(%1$s)))), Day(AddDays(%1$s, If(%2$s > DayOfWeek(%1$s), %2$s - DayOfWeek(%1$s), (%2$s + 7) - DayOfWeek(%1$s)))), 0, 0, 0)), ToDateTime(NOT_SET))") }, id: a.dateTime.nextDayOfWeek, name: l.builderParts.dateTime.nextDayOfWeek.name, resultExpressionType: _.dateTime, version: 1 })), o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.isWeekday.description, expressionDefs: [t3], generators: { expressionGenerator: d.create().addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addOpenParen().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addOperatorGreaterThan().addToken(1).addCloseParen().addOperatorAnd().addOpenParen().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addOperatorLessThan().addToken(7).addCloseParen().verifySprintfStringAndInitialize("IsSet(%1$s) And (DayOfWeek(%1$s) > 1) And (DayOfWeek(%1$s) < 7)") }, id: a.dateTime.dateTimeIsWeekday, name: l.builderParts.dateTime.isWeekday.name, resultExpressionType: _.boolean, version: 1 })), o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.isWeekend.description, expressionDefs: [t3], generators: { expressionGenerator: d.create().addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addOpenParen().addOpenParen().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addOperatorEquals().addToken(1).addCloseParen().addOperatorOr().addOpenParen().addFuncCall("DayOfWeek").addTokenReplacement(0).addFuncCallEnd().addOperatorEquals().addToken(7).addCloseParen().addCloseParen().verifySprintfStringAndInitialize("IsSet(%1$s) And ((DayOfWeek(%1$s) == 1) Or (DayOfWeek(%1$s) == 7))") }, id: a.dateTime.dateTimeIsWeekend, name: l.builderParts.dateTime.isWeekend.name, resultExpressionType: _.boolean, version: 1 })), o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.isInDateTimeRange.description, expressionDefs: [t3, new c({ expressionType: _.dateTime, label: l.builderParts.dateTime.isInDateTimeRange.dateTimeStart, configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("startDateTime") }), new c({ expressionType: _.dateTime, label: l.builderParts.dateTime.isInDateTimeRange.dateTimeEnd, configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("endDateTime") })], generators: { expressionGenerator: d.create().addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(1).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(2).addFuncCallEnd().addOperatorAnd().addOpenParen().addTokenReplacement(0).addOperatorGreaterThanOrEqualTo().addTokenReplacement(1).addCloseParen().addOperatorAnd().addOpenParen().addTokenReplacement(0).addOperatorLessThan().addTokenReplacement(2).addCloseParen().verifySprintfStringAndInitialize("IsSet(%1$s) And IsSet(%2$s) And IsSet(%3$s) And (%1$s >= %2$s) And (%1$s < %3$s)") }, id: a.dateTime.dateTimeInDateRange, name: l.builderParts.dateTime.isInDateTimeRange.name, resultExpressionType: _.boolean, version: 1 })), o.addBuilderPartDef(new s({ categoryIdentifierOrIdentifiers: n2.dateTime, description: l.builderParts.dateTime.isInTimeRange.description, expressionDefs: [t3, new c({ descriptionInfo: { description: l.builderParts.dateTime.isInTimeRange.dateTimeStart.description, name: l.builderParts.dateTime.isInTimeRange.dateTimeStart.name }, expressionType: _.dateTime, label: l.builderParts.dateTime.isInTimeRange.dateTimeStart.label, configureOptionsCallback: (e4) => e4.setTimeOnly(true).setIninTestingField("startDateTime") }), new c({ descriptionInfo: { description: l.builderParts.dateTime.isInTimeRange.dateTimeEnd.description, name: l.builderParts.dateTime.isInTimeRange.dateTimeEnd.name }, expressionType: _.dateTime, label: l.builderParts.dateTime.isInTimeRange.dateTimeEnd.label, configureOptionsCallback: (e4) => e4.setTimeOnly(true).setIninTestingField("endDateTime") })], generators: { expressionGenerator: d.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(2).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("If").addTokenReplacement(1).addOperatorLessThan().addTokenReplacement(2).addFuncParameterSeparator().addOpenParen().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Day").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Hour").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Minute").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Second").addTokenReplacement(1).addFuncCallEnd().addFuncCallEnd().addOperatorLessThanOrEqualTo().addTokenReplacement(0).addCloseParen().addOperatorAnd().addOpenParen().addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Day").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Hour").addTokenReplacement(2).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Minute").addTokenReplacement(2).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Second").addTokenReplacement(2).addFuncCallEnd().addFuncCallEnd().addOperatorGreaterThanOrEqualTo().addTokenReplacement(0).addCloseParen().addFuncParameterSeparator().addOpenParen().addFuncCall("AddDays").addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Day").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Hour").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Minute").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Second").addTokenReplacement(1).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addToken("-1").addFuncCallEnd().addOperatorLessThanOrEqualTo().addTokenReplacement(0).addCloseParen().addOperatorAnd().addOpenParen().addFuncCall("AddDays").addFuncCall("MakeDateTime").addFuncCall("Year").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Month").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Day").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Hour").addTokenReplacement(2).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Minute").addTokenReplacement(2).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Second").addTokenReplacement(2).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addToken("-1").addFuncCallEnd().addOperatorGreaterThanOrEqualTo().addTokenReplacement(0).addCloseParen().addFuncCallEnd().addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%3$s) And IsSet(%2$s), If(%2$s < %3$s, (MakeDateTime(Year(%1$s), Month(%1$s), Day(%1$s), Hour(%2$s), Minute(%2$s), Second(%2$s)) <= %1$s) And (MakeDateTime(Year(%1$s), Month(%1$s), Day(%1$s), Hour(%3$s), Minute(%3$s), Second(%3$s)) >= %1$s), (AddDays(MakeDateTime(Year(%1$s), Month(%1$s), Day(%1$s), Hour(%2$s), Minute(%2$s), Second(%2$s)), -1) <= %1$s) And (AddDays(MakeDateTime(Year(%1$s), Month(%1$s), Day(%1$s), Hour(%3$s), Minute(%3$s), Second(%3$s)), -1) >= %1$s)), false)") }, id: a.dateTime.dateTimeInTimeRange, name: l.builderParts.dateTime.isInTimeRange.name, resultExpressionType: _.boolean, version: 1 })), o.addBuilderPartContainerDef(new r2({ categoryIdentifierOrIdentifiers: n2.container, description: l.builderParts.container.language.description, generators: { containerPartsGenerator: d.create().addSingleGenerationBucket("builder_part", true).verifySprintfStringAndInitialize(""), languageCheckGenerator: d.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("part_generation", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), ") }, id: a.dateTime.container.language, name: l.builderParts.container.language.name, resultExpressionType: _.dateTime, version: 1, restrictToFlowTypeOrTypes: p.getFlowTypesThatSupportLanguages() })); } }; }, 36243: (e2, t2, i2) => { "use strict"; @@ -43115,6 +47019,12 @@ var require_scripting_bundle = __commonJS({ } } t2.default = a; + }, 36283: (e2, t2) => { + "use strict"; + var i2; + Object.defineProperty(t2, "__esModule", { value: true }), t2.lookupStatus = t2.LookupReason = t2.progressStatus = t2.progressPhase = void 0, t2.progressPhase = { parsing: "parsing", preProcessing: "pre-processing", orchestration: "orchestration", changeSet: "change-set" }, t2.progressStatus = { started: "started", inProgress: "in-progress", completed: "completed" }, (function(e3) { + e3.LOOKUP_ADDED = "LOOKUP_ADDED", e3.LOOKUP_RESOLVED = "LOOKUP_RESOLVED", e3.LOOKUP_FAILED = "LOOKUP_FAILED"; + })(i2 || (t2.LookupReason = i2 = {})), t2.lookupStatus = { pending: "pending", found: "found", notFound: "notFound" }; }, 36370: (e2, t2, i2) => { const n2 = i2(2398); function r2() { @@ -43191,13 +47101,13 @@ var require_scripting_bundle = __commonJS({ } })), ternary_if_then: function() { var e3 = new r2.ternary_if_then_return(); e3.start = this.input.LT(1); - var i3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null, d = null, c = null; + var i3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null, c = null, d = null; try { i3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_log_op_or_in_ternary_if_then165), a = this.log_op_or(), this.state._fsp--, this.adaptor.addChild(i3, a.getTree()); e: for (; ; ) { var p = 2; if (7 == this.input.LA(1) && (p = 1), 1 !== p) break e; - n3 = this.match(this.input, 7, r2.FOLLOW_TERNARY_IF_in_ternary_if_then175), d = this.adaptor.create(n3), i3 = this.adaptor.becomeRoot(d, i3), this.pushFollow(r2.FOLLOW_log_op_and_in_ternary_if_then179), s = this.log_op_and(), this.state._fsp--, this.adaptor.addChild(i3, s.getTree()); + n3 = this.match(this.input, 7, r2.FOLLOW_TERNARY_IF_in_ternary_if_then175), c = this.adaptor.create(n3), i3 = this.adaptor.becomeRoot(c, i3), this.pushFollow(r2.FOLLOW_log_op_and_in_ternary_if_then179), s = this.log_op_and(), this.state._fsp--, this.adaptor.addChild(i3, s.getTree()); var _ = 2, h = this.input.LA(1); if (8 == h) _ = 1; else { @@ -43206,7 +47116,7 @@ var require_scripting_bundle = __commonJS({ } switch (_) { case 1: - o = this.match(this.input, 8, r2.FOLLOW_TERNARY_THEN_in_ternary_if_then183), c = this.adaptor.create(o), this.adaptor.addChild(i3, c); + o = this.match(this.input, 8, r2.FOLLOW_TERNARY_THEN_in_ternary_if_then183), d = this.adaptor.create(o), this.adaptor.addChild(i3, d); break; case 2: this.pushFollow(r2.FOLLOW_not_done_yet_are_ya_in_ternary_if_then187), l = this.not_done_yet_are_ya(), this.state._fsp--, this.adaptor.addChild(i3, l.getTree()); @@ -43309,15 +47219,15 @@ var require_scripting_bundle = __commonJS({ try { t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_comp_op_in_equ_op331), o = this.comp_op(), this.state._fsp--, this.adaptor.addChild(t3, o.getTree()); e: for (; ; ) { - var u = 2, d = this.input.LA(1); - if (d >= 13 && d <= 14 && (u = 1), 1 !== u) break e; - var c = 2, p = this.input.LA(1); - if (13 == p) c = 1; + var u = 2, c = this.input.LA(1); + if (c >= 13 && c <= 14 && (u = 1), 1 !== u) break e; + var d = 2, p = this.input.LA(1); + if (13 == p) d = 1; else { if (14 != p) throw new org.antlr.runtime.NoViableAltException("", 7, 0, this.input); - c = 2; + d = 2; } - switch (c) { + switch (d) { case 1: i3 = this.match(this.input, 13, r2.FOLLOW_OP_EQU_in_equ_op337), s = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(s, t3); break; @@ -43338,7 +47248,7 @@ var require_scripting_bundle = __commonJS({ } })), comp_op: function() { var e3 = new r2.comp_op_return(); e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null, d = null, c = null, p = null; + var t3 = null, i3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null, c = null, d = null, p = null; try { t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_add_sub_expr_in_comp_op366), s = this.add_sub_expr(), this.state._fsp--, this.adaptor.addChild(t3, s.getTree()); e: for (; ; ) { @@ -43366,10 +47276,10 @@ var require_scripting_bundle = __commonJS({ i3 = this.match(this.input, 15, r2.FOLLOW_OP_GTE_in_comp_op371), u = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(u, t3); break; case 2: - n3 = this.match(this.input, 16, r2.FOLLOW_OP_LTE_in_comp_op376), d = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(d, t3); + n3 = this.match(this.input, 16, r2.FOLLOW_OP_LTE_in_comp_op376), c = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(c, t3); break; case 3: - o = this.match(this.input, 17, r2.FOLLOW_OP_GT_in_comp_op381), c = this.adaptor.create(o), t3 = this.adaptor.becomeRoot(c, t3); + o = this.match(this.input, 17, r2.FOLLOW_OP_GT_in_comp_op381), d = this.adaptor.create(o), t3 = this.adaptor.becomeRoot(d, t3); break; case 4: a = this.match(this.input, 18, r2.FOLLOW_OP_LT_in_comp_op386), p = this.adaptor.create(a), t3 = this.adaptor.becomeRoot(p, t3); @@ -43392,15 +47302,15 @@ var require_scripting_bundle = __commonJS({ try { t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_mul_div_mod_expr_in_add_sub_expr414), o = this.mul_div_mod_expr(), this.state._fsp--, this.adaptor.addChild(t3, o.getTree()); e: for (; ; ) { - var u = 2, d = this.input.LA(1); - if (d >= 19 && d <= 20 && (u = 1), 1 !== u) break e; - var c = 2, p = this.input.LA(1); - if (19 == p) c = 1; + var u = 2, c = this.input.LA(1); + if (c >= 19 && c <= 20 && (u = 1), 1 !== u) break e; + var d = 2, p = this.input.LA(1); + if (19 == p) d = 1; else { if (20 != p) throw new org.antlr.runtime.NoViableAltException("", 11, 0, this.input); - c = 2; + d = 2; } - switch (c) { + switch (d) { case 1: i3 = this.match(this.input, 19, r2.FOLLOW_OP_PLUS_in_add_sub_expr419), s = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(s, t3); break; @@ -43421,12 +47331,12 @@ var require_scripting_bundle = __commonJS({ } })), mul_div_mod_expr: function() { var e3 = new r2.mul_div_mod_expr_return(); e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null, d = null; + var t3 = null, i3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null, c = null; try { t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_pow_expr_in_mul_div_mod_expr453), a = this.pow_expr(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); e: for (; ; ) { - var c = 2, p = this.input.LA(1); - if (p >= 21 && p <= 23 && (c = 1), 1 !== c) break e; + var d = 2, p = this.input.LA(1); + if (p >= 21 && p <= 23 && (d = 1), 1 !== d) break e; var _ = 3; switch (this.input.LA(1)) { case 21: @@ -43449,7 +47359,7 @@ var require_scripting_bundle = __commonJS({ n3 = this.match(this.input, 22, r2.FOLLOW_OP_DIV_in_mul_div_mod_expr463), u = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(u, t3); break; case 3: - o = this.match(this.input, 23, r2.FOLLOW_OP_MOD_in_mul_div_mod_expr468), d = this.adaptor.create(o), t3 = this.adaptor.becomeRoot(d, t3); + o = this.match(this.input, 23, r2.FOLLOW_OP_MOD_in_mul_div_mod_expr468), c = this.adaptor.create(o), t3 = this.adaptor.becomeRoot(c, t3); } this.pushFollow(r2.FOLLOW_pow_expr_in_mul_div_mod_expr472), s = this.pow_expr(), this.state._fsp--, this.adaptor.addChild(t3, s.getTree()); } @@ -43487,17 +47397,17 @@ var require_scripting_bundle = __commonJS({ case 1: t3 = this.adaptor.nil(); e: for (; ; ) { - var d = 2; - if (this.input.LA(1) == i2 && (d = 1), 1 !== d) break e; + var c = 2; + if (this.input.LA(1) == i2 && (c = 1), 1 !== c) break e; this.match(this.input, i2, r2.FOLLOW_WS_in_not_bitnot_expr529); } - var c = 2, p = this.input.LA(1); - if (26 == p) c = 1; + var d = 2, p = this.input.LA(1); + if (26 == p) d = 1; else { if (27 != p) throw new org.antlr.runtime.NoViableAltException("", 17, 0, this.input); - c = 2; + d = 2; } - switch (c) { + switch (d) { case 1: n3 = this.match(this.input, 26, r2.FOLLOW_OP_NOT_in_not_bitnot_expr535), l = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(l, t3); break; @@ -43574,7 +47484,7 @@ var require_scripting_bundle = __commonJS({ } })), primary: function() { var e3 = new r2.primary_return(); e3.start = this.input.LT(1); - var i3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null, d = null, c = null, p = null, _ = null, h = null; + var i3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null, c = null, d = null, p = null, _ = null, h = null; try { switch (this.dfa24.predict(this.input)) { case 1: @@ -43600,10 +47510,10 @@ var require_scripting_bundle = __commonJS({ i3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_variable_base_in_primary674), u = this.variable_base(), this.state._fsp--, this.adaptor.addChild(i3, u.getTree()); break; case 4: - i3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_func_call_in_primary682), d = this.func_call(), this.state._fsp--, this.adaptor.addChild(i3, d.getTree()); + i3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_func_call_in_primary682), c = this.func_call(), this.state._fsp--, this.adaptor.addChild(i3, c.getTree()); break; case 5: - i3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_not_done_yet_are_ya_in_primary690), c = this.not_done_yet_are_ya(), this.state._fsp--, this.adaptor.addChild(i3, c.getTree()); + i3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_not_done_yet_are_ya_in_primary690), d = this.not_done_yet_are_ya(), this.state._fsp--, this.adaptor.addChild(i3, d.getTree()); break; case 6: i3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_error_in_primary698), p = this.error(), this.state._fsp--, this.adaptor.addChild(i3, p.getTree()); @@ -43620,9 +47530,9 @@ var require_scripting_bundle = __commonJS({ } })), variable_base: function() { var e3 = new r2.variable_base_return(); e3.start = this.input.LT(1); - var i3 = null, o = null, a = null, s = null, l = null, u = null, d = null, c = null, p = null, _ = null; + var i3 = null, o = null, a = null, s = null, l = null, u = null, c = null, d = null, p = null, _ = null; try { - for (i3 = this.adaptor.nil(), o = this.match(this.input, 30, r2.FOLLOW_IDENTIFIER_in_variable_base724), c = this.adaptor.create(o), this.adaptor.addChild(i3, c); 1 === this.dfa25.predict(this.input); ) this.pushFollow(r2.FOLLOW_datatype_property_access_in_variable_base728), l = this.datatype_property_access(), this.state._fsp--, this.adaptor.addChild(i3, l.getTree()); + for (i3 = this.adaptor.nil(), o = this.match(this.input, 30, r2.FOLLOW_IDENTIFIER_in_variable_base724), d = this.adaptor.create(o), this.adaptor.addChild(i3, d); 1 === this.dfa25.predict(this.input); ) this.pushFollow(r2.FOLLOW_datatype_property_access_in_variable_base728), l = this.datatype_property_access(), this.state._fsp--, this.adaptor.addChild(i3, l.getTree()); var h = 2; if (31 == this.input.LA(1) && (h = 1), 1 === h) { a = this.match(this.input, 31, r2.FOLLOW_PERIOD_in_variable_base735), p = this.adaptor.create(a), i3 = this.adaptor.becomeRoot(p, i3); @@ -43641,7 +47551,7 @@ var require_scripting_bundle = __commonJS({ } } var f = 2; - 33 == this.input.LA(1) && (f = 1), 1 === f && (this.pushFollow(r2.FOLLOW_variable_collection_access_in_variable_base751), d = this.variable_collection_access(), this.state._fsp--, i3 = this.adaptor.becomeRoot(d.getTree(), i3)), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(i3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + 33 == this.input.LA(1) && (f = 1), 1 === f && (this.pushFollow(r2.FOLLOW_variable_collection_access_in_variable_base751), c = this.variable_collection_access(), this.state._fsp--, i3 = this.adaptor.becomeRoot(c.getTree(), i3)), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(i3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); } catch (t3) { if (!(t3 instanceof org.antlr.runtime.RecognitionException)) throw t3; this.reportError(t3), this.recover(this.input, t3), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t3); @@ -43683,24 +47593,24 @@ var require_scripting_bundle = __commonJS({ e3.start = this.input.LT(1); var t3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null; try { - var d = 3; + var c = 3; switch (this.input.LA(1)) { case i2: case 35: case 36: case 37: - d = 1; + c = 1; break; case 33: - d = 2; + c = 2; break; case 31: - d = 3; + c = 3; break; default: throw new org.antlr.runtime.NoViableAltException("", 32, 0, this.input); } - switch (d) { + switch (c) { case 1: t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_datatype_property_access_in_datatype_access823), o = this.datatype_property_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(o.getTree(), t3), 1 === this.dfa30.predict(this.input) && (this.pushFollow(r2.FOLLOW_datatype_access_in_datatype_access827), a = this.datatype_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(a.getTree(), t3)); break; @@ -43745,13 +47655,13 @@ var require_scripting_bundle = __commonJS({ var i3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null; try { i3 = this.adaptor.nil(), n3 = this.match(this.input, 33, r2.FOLLOW_BRACKET_LEFT_in_collection_access915), l = this.adaptor.create(n3), i3 = this.adaptor.becomeRoot(l, i3), this.pushFollow(r2.FOLLOW_expr_in_collection_access919), a = this.expr(), this.state._fsp--, this.adaptor.addChild(i3, a.getTree()); - var d = 2, c = this.input.LA(1); - if (34 == c) d = 1; + var c = 2, d = this.input.LA(1); + if (34 == d) c = 1; else { - if (c != t2) throw new org.antlr.runtime.NoViableAltException("", 35, 0, this.input); - d = 2; + if (d != t2) throw new org.antlr.runtime.NoViableAltException("", 35, 0, this.input); + c = 2; } - switch (d) { + switch (c) { case 1: o = this.match(this.input, 34, r2.FOLLOW_BRACKET_RIGHT_in_collection_access923), u = this.adaptor.create(o), this.adaptor.addChild(i3, u); break; @@ -43776,8 +47686,8 @@ var require_scripting_bundle = __commonJS({ case 1: t3 = this.adaptor.nil(); e: for (; ; ) { - var d = 2; - if (this.input.LA(1) == i2 && (d = 1), 1 !== d) break e; + var c = 2; + if (this.input.LA(1) == i2 && (c = 1), 1 !== c) break e; this.match(this.input, i2, r2.FOLLOW_WS_in_datatype_property_access951); } n3 = this.match(this.input, 35, r2.FOLLOW_FIELD_ACCESS_IDENTIFIER_in_datatype_property_access956), s = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(s, t3); @@ -43785,8 +47695,8 @@ var require_scripting_bundle = __commonJS({ case 2: t3 = this.adaptor.nil(); e: for (; ; ) { - var c = 2; - if (this.input.LA(1) == i2 && (c = 1), 1 !== c) break e; + var d = 2; + if (this.input.LA(1) == i2 && (d = 1), 1 !== d) break e; this.match(this.input, i2, r2.FOLLOW_WS_in_datatype_property_access966); } o = this.match(this.input, 36, r2.FOLLOW_FIELD_ACCESS_STRING_LITERAL_in_datatype_property_access971), l = this.adaptor.create(o), t3 = this.adaptor.becomeRoot(l, t3); @@ -43812,9 +47722,9 @@ var require_scripting_bundle = __commonJS({ } })), func_parens: function() { var e3 = new r2.func_parens_return(); e3.start = this.input.LT(1); - var o = null, a = null, s = null, l = null, u = null, d = null, c = null; + var o = null, a = null, s = null, l = null, u = null, c = null, d = null; try { - o = this.adaptor.nil(), a = this.match(this.input, 28, r2.FOLLOW_PAREN_LEFT_in_func_parens1012), d = this.adaptor.create(a), this.adaptor.addChild(o, d); + o = this.adaptor.nil(), a = this.match(this.input, 28, r2.FOLLOW_PAREN_LEFT_in_func_parens1012), c = this.adaptor.create(a), this.adaptor.addChild(o, c); var p = 2, _ = this.input.LA(1); _ >= 4 && _ <= 6 || 20 == _ || _ >= i2 && _ <= 28 || 30 == _ || _ == n2 || _ >= 39 && _ <= 42 ? p = 1 : _ != t2 && 43 != _ || (p = 1), 1 === p && (this.pushFollow(r2.FOLLOW_funcarglist_in_func_parens1014), l = this.funcarglist(), this.state._fsp--, this.adaptor.addChild(o, l.getTree())); var h = 2, m = this.input.LA(1); @@ -43825,7 +47735,7 @@ var require_scripting_bundle = __commonJS({ } switch (h) { case 1: - s = this.match(this.input, 29, r2.FOLLOW_PAREN_RIGHT_in_func_parens1019), c = this.adaptor.create(s), this.adaptor.addChild(o, c); + s = this.match(this.input, 29, r2.FOLLOW_PAREN_RIGHT_in_func_parens1019), d = this.adaptor.create(s), this.adaptor.addChild(o, d); break; case 2: this.pushFollow(r2.FOLLOW_not_done_yet_are_ya_in_func_parens1023), u = this.not_done_yet_are_ya(), this.state._fsp--, this.adaptor.addChild(o, u.getTree()); @@ -44183,14 +48093,6 @@ var require_scripting_bundle = __commonJS({ }, 36494: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.botFlowExitReasons = void 0, t2.botFlowExitReasons = ["AgentRequestedByUser", "TriggeredByFlow", "Error.DataAction.TooManyRequests", "Error.Expression.DivideByZero", "Error.InfiniteLoopDetected", "Error.Internal", "Error.Lookup.TooManySystemPromptRequests", "Error.Lookup.TooManyUserPromptRequests", "Error.TooManyTurns", "Error.TooManyActionsPerSession", "Error.TooManyActionsPerTurn", "Error.TooManyBotFlowInvocations", "RecognitionFailure.AllOptionsRejected", "RecognitionFailure.MaxNoInputs.Confirmation", "RecognitionFailure.MaxNoMatches.Confirmation", "RecognitionFailure.MaxNoInputs.Collection", "RecognitionFailure.MaxNoMatches.Collection", "RecognitionFailure.MaxNoToConfirms"]; - }, 36556: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getAssistantsCopilotFeatureSupport = a; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(8929)); - function a() { - return r2.default.build(o.getAssistantsCopilotFeatureSupport).call(); - } - a.api = o.getAssistantsCopilotFeatureSupport; }, 36577: (e2, t2, i2) => { const n2 = i2(52722), r2 = i2(66848); function o() { @@ -44210,7 +48112,7 @@ var require_scripting_bundle = __commonJS({ } } }), e2.exports = n2; }, 36781: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.nluIntentConfigurationUpdated = t2.nluInfoUpdatedForWorkbench = t2.nluDomainVersionCreated = t2.nameChanged = t2.lastPathActionRemoved = t2.outputBranchRemoved = t2.localStorageCleanup = t2.outputBranchAdded = t2.showAudioPreview = t2.alert = t2.skillValueChanged = t2.sequenceItemsUpdated = t2.stateChangeFailed = t2.stateChangeStarted = t2.rateLimited = t2.collapseExpand = t2.selectedTaskAction = t2.scrollToAction = t2.renumber = t2.promptResourceDeleted = t2.promptResourceCreated = t2.botSessionViewerWorkbenchMessaging = t2.promptChanged = t2.listOrderChanged = t2.tokenRevoked = t2.idAboutToChange = t2.highlightCursorPosition = t2.flowFailedImport = t2.flowLoadFailed = t2.flowImportStarted = t2.flowLoadStarted = t2.flowLoaded = t2.sequenceItemsChanged = t2.expressionParseComplete = t2.expressionTypeChanged = t2.expressionOverrideChanged = t2.expressionModeChanged = t2.collectionItemValueChanged = t2.expressionValueChanged = t2.contactListChanged = t2.connectionLost = t2.cleanUpFlow = t2.builderValidated = t2.branchesChanged = t2.knowledgeVersionChanged = t2.builderPartExpressionTextChanged = t2.botFlowSettingChanged = t2.actionsChanged = t2.pasteAdditionalInformation = t2.emitter = void 0, t2.sparkThemeChanged = t2.slotListPickerMappingUpdated = t2.rangeValueSelected = t2.customDataTypeUnregistered = t2.customDataTypeRegistered = t2.nluCortexIntentClassificationMetadataUpdated = t2.uiLoaded = t2.autoRestartBotFlowPreviewSession = t2.newDigitalBotFlowPreviewSession = t2.closeDigitalBotFlowPreviewSession = t2.launchDigitalBotPreview = t2.menuChoicesChanged = t2.dtmfChanged = t2.openLargeExpressionEditor = t2.lastUpdatedFlowSizeChanged = t2.flowFilterPreviewOptionsChanged = t2.valueChanged = t2.destinationFlowTypesChanged = t2.containerListChanged = t2.workspaceChanged = t2.refreshTaskActionComponent = t2.checkSize = t2.ttsEngineVoiceChanged = t2.ttsEngineChanged = t2.taskNameChanged = t2.actionDestroyed = t2.startUpObjectChanged = t2.virtualAgentChanged = t2.supportedLanguagesChanged = t2.toolboxDragStarting = t2.toolboxDragMoved = t2.toolboxDragStopped = t2.variableRemoved = t2.variableDestroyed = t2.variableChanged = t2.variableRename = t2.variableAdded = t2.typeChanged = t2.terminatingStateChanged = t2.routeRefresh = t2.actionContainerDeleted = t2.botSessionViewerUpdated = t2.botSessionViewerActionUpdated = t2.nluSettingsHaveUnsavedChangesChanged = t2.nluUpdatedByWorkbench = void 0, t2.isFiringEvents = function() { + Object.defineProperty(t2, "__esModule", { value: true }), t2.nluIntentConfigurationUpdated = t2.nluInfoUpdatedForWorkbench = t2.nluDomainVersionCreated = t2.nameChanged = t2.lastPathActionRemoved = t2.outputBranchRemoved = t2.localStorageCleanup = t2.outputBranchAdded = t2.showAudioPreview = t2.alert = t2.skillValueChanged = t2.sequenceItemsUpdated = t2.stateChangeFailed = t2.stateChangeStarted = t2.rateLimited = t2.collapseExpand = t2.selectedTaskAction = t2.scrollToAction = t2.renumber = t2.promptResourceDeleted = t2.promptResourceCreated = t2.botSessionViewerWorkbenchMessaging = t2.promptChanged = t2.listOrderChanged = t2.tokenRevoked = t2.idAboutToChange = t2.highlightCursorPosition = t2.flowFailedImport = t2.flowLoadFailed = t2.flowImportStarted = t2.flowLoadStarted = t2.flowLoaded = t2.sequenceItemsChanged = t2.expressionParseComplete = t2.expressionTypeChanged = t2.expressionOverrideChanged = t2.expressionModeChanged = t2.collectionItemValueChanged = t2.expressionValueChanged = t2.contactListChanged = t2.connectionLost = t2.cleanUpFlow = t2.builderValidated = t2.branchesChanged = t2.knowledgeVersionChanged = t2.builderPartExpressionTextChanged = t2.botFlowSettingChanged = t2.actionsChanged = t2.pasteAdditionalInformation = t2.emitter = void 0, t2.sparkThemeChanged = t2.slotListPickerMappingUpdated = t2.rangeValueSelected = t2.customDataTypeUnregistered = t2.customDataTypeRegistered = t2.nluCortexIntentClassificationMetadataUpdated = t2.uiLoaded = t2.autoRestartBotFlowPreviewSession = t2.newDigitalBotFlowPreviewSession = t2.closeDigitalBotFlowPreviewSession = t2.launchDigitalBotPreview = t2.menuChoicesChanged = t2.dtmfChanged = t2.openLargeExpressionEditor = t2.lastUpdatedFlowSizeChanged = t2.flowFilterPreviewOptionsChanged = t2.valueChanged = t2.destinationFlowTypesChanged = t2.containerListChanged = t2.workspaceChanged = t2.refreshTaskActionComponent = t2.checkSize = t2.ttsEngineVoiceChanged = t2.ttsEngineChanged = t2.taskNameChanged = t2.actionDestroyed = t2.startUpObjectChanged = t2.virtualAgentChanged = t2.supportedLanguagesChanged = t2.toolboxDragStarting = t2.toolboxDragMoved = t2.toolboxDragStopped = t2.variableRemoved = t2.variableDestroyed = t2.variableChanged = t2.variableRename = t2.variableAdded = t2.typeChanged = t2.terminatingStateChanged = t2.routeRefresh = t2.actionContainerDeleted = t2.botSessionViewerUpdated = t2.botSessionViewerActionUpdated = t2.nluSettingsHaveUnsavedChangesChanged = t2.intentClassifierUpdated = t2.nluUpdatedByWorkbench = void 0, t2.isFiringEvents = function() { return s > 0; }, t2.emitAndCatch = l, t2.listen = function(e3, t3) { return a.on(e3, t3), () => a.removeListener(e3, t3); @@ -44239,7 +48141,7 @@ var require_scripting_bundle = __commonJS({ return a.removeListener.apply(a, arguments); }, removeAllListeners(e3) { return a.removeAllListeners.apply(a, arguments); - } }, t2.pasteAdditionalInformation = "pasteAdditionalInformation", t2.actionsChanged = "actionsChanged", t2.botFlowSettingChanged = "botFlowSettingChanged", t2.builderPartExpressionTextChanged = "builderPartExpressionTextChanged", t2.knowledgeVersionChanged = "knowledgeVersionChanged", t2.branchesChanged = "branchesChanged", t2.builderValidated = "builderValidated", t2.cleanUpFlow = "cleanUpFlow", t2.connectionLost = "connection-lost", t2.contactListChanged = "contactListChanged", t2.expressionValueChanged = "expressionValueChanged", t2.collectionItemValueChanged = "collectionItemValueChanged", t2.expressionModeChanged = "expressionModeChanged", t2.expressionOverrideChanged = "expressionOverrideChanged", t2.expressionTypeChanged = "expressionTypeChanged", t2.expressionParseComplete = "expressionParseComplete", t2.sequenceItemsChanged = "sequenceItemsChanged", t2.flowLoaded = "flowLoaded", t2.flowLoadStarted = "flowLoadStarted", t2.flowImportStarted = "flowImportStarted", t2.flowLoadFailed = "flowLoadFailed", t2.flowFailedImport = "flowFailedImport", t2.highlightCursorPosition = "highlightCursorPosition", t2.idAboutToChange = "idAboutToChange", t2.tokenRevoked = "tokenRevoked", t2.listOrderChanged = "listOrderChanged", t2.promptChanged = "promptChanged", t2.botSessionViewerWorkbenchMessaging = "botSessionViewerWorkbenchMessaging", t2.promptResourceCreated = "promptResourceCreated", t2.promptResourceDeleted = "promptResourceDeleted", t2.renumber = "renumber", t2.scrollToAction = "scrollToAction", t2.selectedTaskAction = "selectedTaskAction", t2.collapseExpand = "collapseExpand", t2.rateLimited = "rateLimited", t2.stateChangeStarted = "stateChangeStarted", t2.stateChangeFailed = "stateChangeFailed", t2.sequenceItemsUpdated = "sequenceItemsUpdated", t2.skillValueChanged = "skillValueChanged", t2.alert = "alert", t2.showAudioPreview = "showAudioPreview", t2.outputBranchAdded = "outputBranchAdded", t2.localStorageCleanup = "localStorageCleanup", t2.outputBranchRemoved = "outputBranchRemoved", t2.lastPathActionRemoved = "lastPathActionRemoved", t2.nameChanged = "nameChanged", t2.nluDomainVersionCreated = "nluDomainVersionCreated", t2.nluInfoUpdatedForWorkbench = "nluInfoUpdatedForWorkbench", t2.nluIntentConfigurationUpdated = "nluIntentConfigurationUpdated", t2.nluUpdatedByWorkbench = "nluUpdatedByWorkbench", t2.nluSettingsHaveUnsavedChangesChanged = "nluSettingsHaveUnsavedChangesChanged", t2.botSessionViewerActionUpdated = "botSessionViewerActionUpdated", t2.botSessionViewerUpdated = "botSessionViewerUpdated", t2.actionContainerDeleted = "actionContainerDeleted", t2.routeRefresh = "routeRefresh", t2.terminatingStateChanged = "terminatingStateChanged", t2.typeChanged = "typeChanged", t2.variableAdded = "variableAdded", t2.variableRename = "variableRename", t2.variableChanged = "variableChanged", t2.variableDestroyed = "variableDestroyed", t2.variableRemoved = "variableRemoved", t2.toolboxDragStopped = "toolboxDragStopped", t2.toolboxDragMoved = "toolboxDragMoved", t2.toolboxDragStarting = "toolboxDragStarting", t2.supportedLanguagesChanged = "supportedLanguagesChanged", t2.virtualAgentChanged = "virtualAgentChanged", t2.startUpObjectChanged = "startUpObjectChanged", t2.actionDestroyed = "actionDestroyed", t2.taskNameChanged = "taskNameChanged", t2.ttsEngineChanged = "ttsEngineChanged", t2.ttsEngineVoiceChanged = "ttsEngineVoiceChanged", t2.checkSize = "checkSize", t2.refreshTaskActionComponent = "refreshTaskActionComponent", t2.workspaceChanged = "workspaceChanged", t2.containerListChanged = "containerListChanged", t2.destinationFlowTypesChanged = "destinationFlowTypesChanged", t2.valueChanged = "valueChanged", t2.flowFilterPreviewOptionsChanged = "flowFilterPreviewOptionsChanged", t2.lastUpdatedFlowSizeChanged = "lastUpdatedFlowSizeChanged", t2.openLargeExpressionEditor = "openLargeExpressionEditor", t2.dtmfChanged = "dtmfChanged", t2.menuChoicesChanged = "menuChoicesChanged", t2.launchDigitalBotPreview = "launchDigitalBotPreview", t2.closeDigitalBotFlowPreviewSession = "closeDigitalBotFlowPreviewSession", t2.newDigitalBotFlowPreviewSession = "newDigitalBotFlowPreviewSession", t2.autoRestartBotFlowPreviewSession = "autoRestartBotFlowPreviewSession", t2.uiLoaded = "uiLoaded", t2.nluCortexIntentClassificationMetadataUpdated = "nluCortexIntentClassificationMetadataUpdated", t2.customDataTypeRegistered = "customDataTypeRegistered", t2.customDataTypeUnregistered = "customDataTypeUnregistered", t2.rangeValueSelected = "rangeValueSelected", t2.slotListPickerMappingUpdated = "slotListPickerMappingUpdated", t2.sparkThemeChanged = "sparkThemeChanged"; + } }, t2.pasteAdditionalInformation = "pasteAdditionalInformation", t2.actionsChanged = "actionsChanged", t2.botFlowSettingChanged = "botFlowSettingChanged", t2.builderPartExpressionTextChanged = "builderPartExpressionTextChanged", t2.knowledgeVersionChanged = "knowledgeVersionChanged", t2.branchesChanged = "branchesChanged", t2.builderValidated = "builderValidated", t2.cleanUpFlow = "cleanUpFlow", t2.connectionLost = "connection-lost", t2.contactListChanged = "contactListChanged", t2.expressionValueChanged = "expressionValueChanged", t2.collectionItemValueChanged = "collectionItemValueChanged", t2.expressionModeChanged = "expressionModeChanged", t2.expressionOverrideChanged = "expressionOverrideChanged", t2.expressionTypeChanged = "expressionTypeChanged", t2.expressionParseComplete = "expressionParseComplete", t2.sequenceItemsChanged = "sequenceItemsChanged", t2.flowLoaded = "flowLoaded", t2.flowLoadStarted = "flowLoadStarted", t2.flowImportStarted = "flowImportStarted", t2.flowLoadFailed = "flowLoadFailed", t2.flowFailedImport = "flowFailedImport", t2.highlightCursorPosition = "highlightCursorPosition", t2.idAboutToChange = "idAboutToChange", t2.tokenRevoked = "tokenRevoked", t2.listOrderChanged = "listOrderChanged", t2.promptChanged = "promptChanged", t2.botSessionViewerWorkbenchMessaging = "botSessionViewerWorkbenchMessaging", t2.promptResourceCreated = "promptResourceCreated", t2.promptResourceDeleted = "promptResourceDeleted", t2.renumber = "renumber", t2.scrollToAction = "scrollToAction", t2.selectedTaskAction = "selectedTaskAction", t2.collapseExpand = "collapseExpand", t2.rateLimited = "rateLimited", t2.stateChangeStarted = "stateChangeStarted", t2.stateChangeFailed = "stateChangeFailed", t2.sequenceItemsUpdated = "sequenceItemsUpdated", t2.skillValueChanged = "skillValueChanged", t2.alert = "alert", t2.showAudioPreview = "showAudioPreview", t2.outputBranchAdded = "outputBranchAdded", t2.localStorageCleanup = "localStorageCleanup", t2.outputBranchRemoved = "outputBranchRemoved", t2.lastPathActionRemoved = "lastPathActionRemoved", t2.nameChanged = "nameChanged", t2.nluDomainVersionCreated = "nluDomainVersionCreated", t2.nluInfoUpdatedForWorkbench = "nluInfoUpdatedForWorkbench", t2.nluIntentConfigurationUpdated = "nluIntentConfigurationUpdated", t2.nluUpdatedByWorkbench = "nluUpdatedByWorkbench", t2.intentClassifierUpdated = "intentClassifierUpdated", t2.nluSettingsHaveUnsavedChangesChanged = "nluSettingsHaveUnsavedChangesChanged", t2.botSessionViewerActionUpdated = "botSessionViewerActionUpdated", t2.botSessionViewerUpdated = "botSessionViewerUpdated", t2.actionContainerDeleted = "actionContainerDeleted", t2.routeRefresh = "routeRefresh", t2.terminatingStateChanged = "terminatingStateChanged", t2.typeChanged = "typeChanged", t2.variableAdded = "variableAdded", t2.variableRename = "variableRename", t2.variableChanged = "variableChanged", t2.variableDestroyed = "variableDestroyed", t2.variableRemoved = "variableRemoved", t2.toolboxDragStopped = "toolboxDragStopped", t2.toolboxDragMoved = "toolboxDragMoved", t2.toolboxDragStarting = "toolboxDragStarting", t2.supportedLanguagesChanged = "supportedLanguagesChanged", t2.virtualAgentChanged = "virtualAgentChanged", t2.startUpObjectChanged = "startUpObjectChanged", t2.actionDestroyed = "actionDestroyed", t2.taskNameChanged = "taskNameChanged", t2.ttsEngineChanged = "ttsEngineChanged", t2.ttsEngineVoiceChanged = "ttsEngineVoiceChanged", t2.checkSize = "checkSize", t2.refreshTaskActionComponent = "refreshTaskActionComponent", t2.workspaceChanged = "workspaceChanged", t2.containerListChanged = "containerListChanged", t2.destinationFlowTypesChanged = "destinationFlowTypesChanged", t2.valueChanged = "valueChanged", t2.flowFilterPreviewOptionsChanged = "flowFilterPreviewOptionsChanged", t2.lastUpdatedFlowSizeChanged = "lastUpdatedFlowSizeChanged", t2.openLargeExpressionEditor = "openLargeExpressionEditor", t2.dtmfChanged = "dtmfChanged", t2.menuChoicesChanged = "menuChoicesChanged", t2.launchDigitalBotPreview = "launchDigitalBotPreview", t2.closeDigitalBotFlowPreviewSession = "closeDigitalBotFlowPreviewSession", t2.newDigitalBotFlowPreviewSession = "newDigitalBotFlowPreviewSession", t2.autoRestartBotFlowPreviewSession = "autoRestartBotFlowPreviewSession", t2.uiLoaded = "uiLoaded", t2.nluCortexIntentClassificationMetadataUpdated = "nluCortexIntentClassificationMetadataUpdated", t2.customDataTypeRegistered = "customDataTypeRegistered", t2.customDataTypeUnregistered = "customDataTypeUnregistered", t2.rangeValueSelected = "rangeValueSelected", t2.slotListPickerMappingUpdated = "slotListPickerMappingUpdated", t2.sparkThemeChanged = "sparkThemeChanged"; }, 36805: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleIterable = void 0; @@ -44265,8 +48167,8 @@ var require_scripting_bundle = __commonJS({ }, 36825: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(64472), a = i2(68039), s = i2(91674), l = n2.__importStar(i2(1115)), u = n2.__importDefault(i2(5730)), d = i2(80428), c = i2(47957); - class p extends u.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(64472), a = i2(68039), s = i2(91674), l = n2.__importStar(i2(1115)), u = n2.__importDefault(i2(5730)), c = i2(80428), d = i2(1910), p = i2(47957); + class _ extends u.default { constructor(e3) { super(e3.parentFlow, e3), this.emergencyGroupManager = s.emergencyGroupManager; } @@ -44292,11 +48194,18 @@ var require_scripting_bundle = __commonJS({ return e3 = super.getConfiguration(e3, t3), this.emergencyGroup.isLiteralMode && this.emergencyGroup.text ? (this.emergencyGroupId = this.emergencyGroup.val, this.emergencyGroupName = this.emergencyGroup.text) : (this.emergencyGroupId = void 0, this.emergencyGroupName = void 0), e3; } static get managedProperties() { - return [{ description: c.evaluateSchedules.evaluationDateTimeDescription, label: c.evaluateSchedules.evaluateAtDateTime, options: o.ExpressionTypeDateTimeOptions.create((e3) => e3.setIninTestingField("evaluationDateTime").setDefaultToExpression(true)), yamlOptions: p.createYamlOptions("evaluationDateTime", (e3) => e3.setPropertyName("specific")), property: "evaluationDateTime", type: d.expressionTypeNames.dateTime }, { property: "emergencyGroup", label: c.evaluateSchedules.emergencyGroup, type: d.expressionTypeNames.emergencyGroup, options: a.ExpressionTypeEmergencyGroupOptions.create((e3) => e3.setIsOptional(true).setDefaultToNoValue(true).setIninTestingField("emergencyGroup")) }, { property: "evaluate", isJustForFlowYaml: true, yamlOptions: p.createYamlOptions("evaluate", (e3) => e3.setExportOrder(50)) }]; + return [{ description: p.evaluateSchedules.evaluationDateTimeDescription, label: p.evaluateSchedules.evaluateAtDateTime, options: o.ExpressionTypeDateTimeOptions.create((e3) => e3.setIninTestingField("evaluationDateTime").setDefaultToExpression(true)), yamlOptions: _.createYamlOptions("evaluationDateTime", (e3) => e3.setPropertyName("specific")), property: "evaluationDateTime", type: c.expressionTypeNames.dateTime }, { property: "emergencyGroup", label: p.evaluateSchedules.emergencyGroup, type: c.expressionTypeNames.emergencyGroup, options: a.ExpressionTypeEmergencyGroupOptions.create((e3) => e3.setIsOptional(true).setDefaultToNoValue(true).setIninTestingField("emergencyGroup")) }, { property: "evaluate", isJustForFlowYaml: true, yamlOptions: _.createYamlOptions("evaluate", (e3) => e3.setExportOrder(50)) }]; } postProcessYamlConfig(e3, t3, i3) { r2.default.renameProperty(e3, "emergencyGroupDeprecated", "emergencyGroup"), e3.evaluate = {}, this.evaluateNow ? e3.evaluate.now = true : r2.default.moveAndDeleteProperty(e3, e3.evaluate, "specific"); } + _preProcessYamlConfig(e3, t3, i3) { + const n3 = e3.evaluate; + if ((0, d.isConfigureFromModelRecord)(n3)) { + const t4 = n3; + t4.now ? this.evaluateNow = true : void 0 !== t4.specific && (this.evaluateNow = false, e3.specific = t4.specific); + } + } setEmergencyGroup(e3) { this.emergencyGroup.update(null == e3 ? void 0 : e3.name, null == e3 ? void 0 : e3.id); } @@ -44304,11 +48213,11 @@ var require_scripting_bundle = __commonJS({ return this.emergencyGroup.isLiteralMode || this.emergencyGroup.isNoValueMode ? this.emergencyGroup.val ? this.emergencyGroupManager.getItem(this.emergencyGroup.val) : void 0 : void this.topic.error("selectedEmergencyGroup should not be getting called when this.emergencyGroup is not in literal mode"); } } - p.className = "BaseScheduleAction", t2.default = p; + _.className = "BaseScheduleAction", t2.default = _; }, 36834: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(21647), s = i2(81516), l = n2.__importDefault(i2(27203)), u = n2.__importStar(i2(99434)), d = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(5730)), p = i2(80428), _ = i2(47957); - class h extends c.default { + const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(21647), s = i2(81516), l = n2.__importDefault(i2(27203)), u = n2.__importStar(i2(99434)), c = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(5730)), p = i2(80428), _ = n2.__importDefault(i2(4648)), h = i2(47957); + class m extends d.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.externalId = null, this.externalResult = null, this._loadModel(t3); } @@ -44316,13 +48225,13 @@ var require_scripting_bundle = __commonJS({ return l.default.foundNotFound; } getDetails() { - return this.externalId ? new o.ActionDetails([_.commonExternalContact.nameLabel], [u.getDisplayText(this.externalId)]) : null; + return this.externalId ? new o.ActionDetails([h.commonExternalContact.nameLabel], [u.getDisplayText(this.externalId)]) : null; } static get managedProperties() { - return [{ label: _.commonExternalContact.nameLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalIdExpression").setDisableSpellcheck(true).facets.setMinLength(1)), property: "externalId", type: p.expressionTypeNames.string }, { label: _.commonExternalContact.externalContactResult, options: a.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(p.expressionTypeNames.externalContact).setIninTestingField("ExternalContactExpression").setAsOutput().setAllowSecure(true)), property: "externalResult", type: p.expressionTypeNames.externalContact }]; + return [{ label: h.commonExternalContact.nameLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalIdExpression").setDisableSpellcheck(true).facets.setMinLength(1)), property: "externalId", type: p.expressionTypeNames.string }, { label: h.commonExternalContact.externalContactResult, options: a.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(p.expressionTypeNames.externalContact).setIninTestingField("ExternalContactExpression").setAsOutput().setAllowSecure(true)), property: "externalResult", type: p.expressionTypeNames.externalContact }]; } } - h.info = d.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: r2.helpTopics.actions.getExternalContact, modelClass: i2(2750), name: _.actions.getExternalContact, scriptingName: "ArchActionGetExternalContact" }), t2.A = h; + m.info = c.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: r2.helpTopics.actions.getExternalContact, modelClass: i2(2750), name: h.actions.getExternalContact, scriptingName: "ArchActionGetExternalContact", modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } } }), t2.A = m; }, 36839: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getGuideVersion = t2.getGuide = t2.getGuides = void 0; @@ -44341,6 +48250,37 @@ var require_scripting_bundle = __commonJS({ } } t2.InqueueEmailFlowListManager = l, t2.inqueueEmailFlowListManager = new l(); + }, 36911: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(90897)); + class a extends o.default { + constructor(e3) { + super(e3), this._externalContactId = this.coreFactory.createArchWrapper(e3.externalContactId), this._segmentsToCheck = this.coreFactory.createArchWrapper(e3.segmentsToCheck), this._assignedCustomerSegmentsResult = this.coreFactory.createArchWrapper(e3.assignedCustomerSegmentsResult); + } + get _actionTypeId() { + return r2.getAssignedCustomerSegmentsActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get getAssignedCustomerSegmentsOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + get isArchActionGetAssignedCustomerSegments() { + return true; + } + get externalContactId() { + return this._externalContactId; + } + get segmentsToCheck() { + return this._segmentsToCheck; + } + get assignedCustomerSegmentsResult() { + return this._assignedCustomerSegmentsResult; + } + } + t2.default = a; }, 36932: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.formSequences = void 0; @@ -44438,6 +48378,25 @@ var require_scripting_bundle = __commonJS({ for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; return o.zip.apply(void 0, r2([], n2(e3))); }; + }, 37001: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.briefCustomerSegmentManager = void 0; + const n2 = i2(31635), r2 = n2.__importStar(i2(99914)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(47532)), s = i2(61144), l = i2(81801), u = i2(27862); + class c extends a.default { + get requiredAuth() { + return l.externalAuthorizations.authStrings.customerSegmentsView; + } + get dependencyType() { + return u.CustomerSegment; + } + _createItemViewModel(e3) { + return new s.CustomerSegmentViewModel(e3); + } + constructor() { + super(), this.topic = o.getTopic("BriefCustomerSegmentManager"), this.apiCallList = r2.getCustomerSegments, this.apiCallSingle = r2.getCustomerSegment, this.additionalQueryParams = { isActive: true }, this.className = "BriefCustomerSegmentManager", this.dependencyContext = null, this.isBriefObjectManager = true, this.sortNotSupported = true, this._initialize(); + } + } + t2.briefCustomerSegmentManager = new c(); }, 37007: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowExportSettingAvailability = void 0; @@ -44456,10 +48415,10 @@ var require_scripting_bundle = __commonJS({ }, 37039: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = i2(58525), a = n2.__importStar(i2(43011)), s = i2(12179), l = n2.__importDefault(i2(20084)), u = i2(80428), d = i2(20236), c = i2(47957), p = r2.getTopic("InQueueCallFlowSettingsViewModel"); + const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = i2(58525), a = n2.__importStar(i2(43011)), s = i2(12179), l = n2.__importDefault(i2(20084)), u = i2(80428), c = i2(20236), d = i2(47957), p = r2.getTopic("InQueueCallFlowSettingsViewModel"); class _ extends l.default { constructor(e3) { - super(e3, "inQueueCallFlowSettings", d), this.editor_testing_tag = "in-queue-settings"; + super(e3, "inQueueCallFlowSettings", c), this.editor_testing_tag = "in-queue-settings"; } get id() { return "inQueueSettings"; @@ -44471,7 +48430,7 @@ var require_scripting_bundle = __commonJS({ return "InQueueCallFlowSettingsViewModel"; } getDisplayName() { - return c.inQueueCallFlowSettings.label; + return d.inQueueCallFlowSettings.label; } get isInQueueCallFlowSettingsNode() { return true; @@ -44480,7 +48439,7 @@ var require_scripting_bundle = __commonJS({ super.loadConfiguration(e3); } static get managedProperties() { - return [{ label: c.holdMusic.promptLabel, options: o.ExpressionTypePromptOptions.create((e3) => e3.setAllowModeExpression(false).setAllowModeLiteral(true).setAllowModeVariable(true).setRequireAudio(true)), property: "holdMusic", type: u.expressionTypeNames.prompt }]; + return [{ label: d.holdMusic.promptLabel, options: o.ExpressionTypePromptOptions.create((e3) => e3.setAllowModeExpression(false).setAllowModeLiteral(true).setAllowModeVariable(true).setRequireAudio(true)), property: "holdMusic", type: u.expressionTypeNames.prompt }]; } get nodeGuxIcon() { return "fa/gears-regular"; @@ -44522,16 +48481,16 @@ var require_scripting_bundle = __commonJS({ }, 37120: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.milestoneManager = t2.MilestoneManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = i2(30801), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(43277)), d = i2(47957), c = i2(27862), p = i2(51851); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = i2(30801), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(43277)), c = i2(47957), d = i2(27862), p = i2(51851); class _ extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.flowMilestonesSearch; } get dependencyType() { - return c.FlowMilestone; + return d.FlowMilestone; } constructor() { - super(), this.topic = o.getTopic("MilestoneManager"), this._rawServerCache = {}, this.apiCallList = p.getMilestones, this.apiCallSingle = p.getMilestone, this.className = "MilestoneManager", this.defaultMatchingStyle = r2.contains, this.dependencyContext = d.flowOutcomes.flowMilestone, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "flowMilestones", this.actionsForUsageSearch = [a.addFlowMilestoneActionType], this.actionPropertyForUsageSearch = "milestone", this.isMilestoneManager = true, this._initialize(); + super(), this.topic = o.getTopic("MilestoneManager"), this._rawServerCache = {}, this.apiCallList = p.getMilestones, this.apiCallSingle = p.getMilestone, this.className = "MilestoneManager", this.defaultMatchingStyle = r2.contains, this.dependencyContext = c.flowOutcomes.flowMilestone, this.searchWordSplitWildcard = true, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "flowMilestones", this.actionsForUsageSearch = [a.addFlowMilestoneActionType], this.actionPropertyForUsageSearch = "milestone", this.isMilestoneManager = true, this._initialize(); } _createItemViewModel(e3) { return new u.default(e3.id, e3.name); @@ -44580,8 +48539,8 @@ var require_scripting_bundle = __commonJS({ t2.default = r2; }, 37323: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(27203)), o = i2(12179), a = n2.__importDefault(i2(97891)), s = n2.__importDefault(i2(5730)), l = i2(47957); - class u extends s.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(27203)), o = i2(12179), a = n2.__importDefault(i2(97891)), s = n2.__importDefault(i2(5730)), l = n2.__importDefault(i2(4648)), u = i2(47957); + class c extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -44589,7 +48548,7 @@ var require_scripting_bundle = __commonJS({ return r2.default.successFailure; } } - u.info = a.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: o.helpTopics.actions.submitVoicemailSnippet, modelClass: i2(93443), name: l.actions.submitVoicemailSnippet, scriptingName: "ArchActionSubmitVoicemailSnippet" }), t2.A = u; + c.info = a.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: o.helpTopics.actions.submitVoicemailSnippet, modelClass: i2(93443), name: u.actions.submitVoicemailSnippet, scriptingName: "ArchActionSubmitVoicemailSnippet", modelFormatSupport: { flowYaml: { inProgress: true, feature: l.default.changeSetsFeaturePhase2 } } }), t2.A = c; }, 37333: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -44635,84 +48594,84 @@ var require_scripting_bundle = __commonJS({ this._entities = this.reviveArray(e3, n2); } } }), e2.exports = r2; }, 37345: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(12847), o = i2(10798), a = i2(4648).default, s = i2(51668), l = i2(36019).default, u = i2(64420), d = i2(80496); - function c() { + const n2 = i2(92140), r2 = i2(12847), o = i2(10798), a = i2(4648).default, s = i2(51668), l = i2(36019).default, u = i2(64420), c = i2(80496); + function d() { } - c.prototype.checkIn = function(e3) { + d.prototype.checkIn = function(e3) { const t3 = l.build(u.checkIn); return t3.templateParams({ id: e3 }), t3.call(); - }, c.prototype.checkOut = function(e3) { + }, d.prototype.checkOut = function(e3) { const t3 = l.build(u.checkOut); return t3.templateParams({ id: e3 }), t3.call(); - }, c.prototype.createFlow = function(e3, t3, i3, r3, o2, a2) { - const s2 = l.build(u.createFlow), d2 = { type: e3, name: t3, description: i3 || "", division: { id: r3 }, worktypeId: a2 || null }; - return s2.content(d2), n2.isString(o2) && s2.queryParams({ language: o2.toLowerCase() }), s2.call(); - }, c.prototype.deactivate = function(e3) { + }, d.prototype.createFlow = function(e3, t3, i3, r3, o2, a2) { + const s2 = l.build(u.createFlow), c2 = { type: e3, name: t3, description: i3 || "", division: { id: r3 }, worktypeId: a2 || null }; + return s2.content(c2), n2.isString(o2) && s2.queryParams({ language: o2.toLowerCase() }), s2.call(); + }, d.prototype.deactivate = function(e3) { const t3 = l.build(u.deactivate); return t3.templateParams({ id: e3 }), t3.call(); - }, c.prototype.deleteFlow = function(e3) { + }, d.prototype.deleteFlow = function(e3) { const t3 = l.build(u.deleteFlow); return t3.templateParams({ id: e3 }), t3.call(); - }, c.prototype.deleteBulkFlows = function(e3) { + }, d.prototype.deleteBulkFlows = function(e3) { const t3 = l.build(u.deleteBulkFlows); return t3.queryParams({ id: e3 }), t3.call(); - }, c.prototype.getConfiguration = function(e3, t3, i3) { + }, d.prototype.getConfiguration = function(e3, t3, i3) { const n3 = l.build(t3 || u.getConfiguration); return i3 && n3.info.addOptions(i3), n3.templateParams({ id: e3 }).queryParams({ deleted: true }), n3.call(); - }, c.prototype.getFlow = function(e3, t3, i3) { + }, d.prototype.getFlow = function(e3, t3, i3) { const n3 = l.build(u.getFlow); let r3; return (t3 || i3) && (r3 = {}, t3 && (r3.deleted = true), i3 && (r3.includeSchema = true)), n3.queryParams(r3), n3.templateParams({ id: e3 }), n3.call(); - }, c.prototype.getFlow.api = u.getFlow, c.prototype.getFlowInfoForVersion = function(e3, t3) { + }, d.prototype.getFlow.api = u.getFlow, d.prototype.getFlowInfoForVersion = function(e3, t3) { const i3 = l.build(u.getFlowInfoForVersion); return i3.templateParams({ flowId: e3, flowVersion: t3 }), i3.call(); - }, c.prototype.getFlows = function(e3) { + }, d.prototype.getFlows = function(e3) { e3 = e3 || {}; const t3 = l.build(u.getFlows); return t3.queryParams(e3.isConfigListSearchParams ? e3.getSearchQueryParams() : e3), t3.call(); - }, c.prototype.getFlowsDivisionViews = function(e3) { + }, d.prototype.getFlowsDivisionViews = function(e3) { const t3 = l.build(u.getFlowsDivisionViews); return t3.queryParams(e3.getSearchQueryParams()), t3.call(); - }, c.prototype.getFlowVersions = function(e3, t3, i3) { + }, d.prototype.getFlowVersions = function(e3, t3, i3) { const n3 = { pageNumber: i3 || 1, pageSize: t3 || 20, sortOrder: "dsc" }, r3 = l.build(u.getFlowVersions); return r3.templateParams({ flowId: e3 }).queryParams(n3), r3.call(); - }, c.prototype.getVersionConfiguration = function(e3, t3, i3, n3) { + }, d.prototype.getVersionConfiguration = function(e3, t3, i3, n3) { const r3 = l.build(i3 || u.getVersionConfiguration); return n3 && r3.info.addOptions(n3), r3.templateParams({ id: e3, version: t3 }).queryParams({ deleted: true }), r3.call(); - }, c.prototype.publish = function(e3, t3) { + }, d.prototype.publish = function(e3, t3) { const i3 = l.build(u.publishAsync); return i3.templateParams({ id: e3 }), t3 && i3.queryParams({ version: "default" }), i3.call(); - }, c.prototype.enableFlowDebug = function(e3, t3) { + }, d.prototype.enableFlowDebug = function(e3, t3) { const i3 = l.build(u.enableFlowDebug); return i3.templateParams({ id: e3, version: t3 }), i3.call(); - }, c.prototype.revert = function(e3) { + }, d.prototype.revert = function(e3) { const t3 = l.build(u.revert); return t3.templateParams({ id: e3 }), t3.call(); - }, c.prototype.saveConfiguration = function(e3, t3) { + }, d.prototype.saveConfiguration = function(e3, t3) { const i3 = l.build(u.saveConfiguration); - let d2, c2; - return d2 = o.isFeatureAvailable(a.flowV2_Transport), d2 ? (n2.isObject(t3) && (r2.error("Non-string configuration passed into flows.saveConfiguration!"), t3 = JSON.stringify(t3)), c2 = { flow: s.gzip(t3).toString(), flowMetaData: { flowDocumentVersion: "2.0" } }, r2.info(`Compressed flow for save, compressed length: ${c2.flow?.length}, uncompressed length ${t3?.length}`)) : c2 = t3, i3.content(c2).templateParams({ id: e3 }), i3.call(); - }, c.prototype.updateMetaData = function(e3, t3, i3, n3, r3) { + let c2, d2; + return c2 = o.isFeatureAvailable(a.flowV2_Transport), c2 ? (n2.isObject(t3) && (r2.error("Non-string configuration passed into flows.saveConfiguration!"), t3 = JSON.stringify(t3)), d2 = { flow: s.gzip(t3).toString(), flowMetaData: { flowDocumentVersion: "2.0" } }, r2.info(`Compressed flow for save, compressed length: ${d2.flow?.length}, uncompressed length ${t3?.length}`)) : d2 = t3, i3.content(d2).templateParams({ id: e3 }), i3.call(); + }, d.prototype.updateMetaData = function(e3, t3, i3, n3, r3) { const o2 = l.build(u.updateMetaData), a2 = { type: e3, name: i3, description: n3 || "", division: { id: r3 } }; return o2.content(a2).templateParams({ id: t3 }), o2.call(); - }, c.prototype.unlock = function(e3) { + }, d.prototype.unlock = function(e3) { const t3 = l.build(u.unlock); return t3.templateParams({ id: e3 }), t3.call(); - }, c.prototype.postHistoryRequest = function(e3) { + }, d.prototype.postHistoryRequest = function(e3) { const t3 = l.build(u.postHistoryRequest); return t3.templateParams({ id: e3 }), t3.call(); - }, c.prototype.getHistoryResults = function(e3, t3, i3) { + }, d.prototype.getHistoryResults = function(e3, t3, i3) { return l.build(u.getHistoryResults).templateParams({ flowId: e3, operationId: t3 }).queryParams({ pageSize: 100, pageNumber: i3 || 1, action: ["checkin", "publish", "create", "delete"] }).call(); - }, c.prototype.postFlowLaunch = function(e3, t3, i3, n3) { + }, d.prototype.postFlowLaunch = function(e3, t3, i3, n3) { const r3 = l.build(u.postFlowLaunch); return r3.content({ flowId: e3, flowVersion: t3, inputData: i3, name: n3 }), r3.call(); - }, c.prototype.postDigitalBotFlowLaunch = function(e3, t3, i3, n3) { + }, d.prototype.postDigitalBotFlowLaunch = function(e3, t3, i3, n3) { const r3 = l.build(u.postDigitalBotFlowLaunch); return r3.content({ channel: { inputModes: ["Text"], outputModes: ["Text"], name: "Chat", userAgent: { name: "GenesysWebWidget" } }, externalSessionId: "", flow: { id: e3 }, inputData: { variables: i3 }, language: "" }), r3.call(); - }, c.prototype.postDigitalBotFlowTurns = function(e3, t3, i3, n3) { - const r3 = l.build(d.postDigitalBotFlowTurns).templateParams({ sessionId: e3 }); + }, d.prototype.postDigitalBotFlowTurns = function(e3, t3, i3, n3) { + const r3 = l.build(c.postDigitalBotFlowTurns).templateParams({ sessionId: e3 }); return r3.content(i3), r3.call(); - }, e2.exports = new c(); + }, e2.exports = new d(); }, 37414: (e2) => { "use strict"; e2.exports = function() { @@ -44726,13 +48685,13 @@ var require_scripting_bundle = __commonJS({ n2.extend(o, r2, true), e2.exports = o; }, 37595: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importStar(i2(63352)), a = i2(81516), s = n2.__importStar(i2(58380)), l = n2.__importStar(i2(98442)), u = n2.__importStar(i2(1115)), d = i2(12179), c = i2(12457), p = n2.__importDefault(i2(97891)), _ = i2(87870), h = n2.__importDefault(i2(5730)), m = i2(80428), g = i2(47957); - class f extends h.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importStar(i2(63352)), a = i2(81516), s = n2.__importStar(i2(58380)), l = n2.__importStar(i2(98442)), u = n2.__importStar(i2(1115)), c = i2(12179), d = i2(12457), p = n2.__importDefault(i2(97891)), _ = i2(87870), h = n2.__importDefault(i2(5730)), m = i2(80428), g = n2.__importDefault(i2(4648)), f = i2(47957); + class T extends h.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.editor_testing_tag = "setLocaleActionController", this._loadModel(t3); } getDetails() { - return this.languageCode && this.languageCode.text ? new c.ActionDetails([g.actions.language], [this.languageCode.text]) : null; + return this.languageCode && this.languageCode.text ? new d.ActionDetails([f.actions.language], [this.languageCode.text]) : null; } get amObjectEventSink() { return true; @@ -44741,13 +48700,13 @@ var require_scripting_bundle = __commonJS({ this._configureAllowableLanguageCodes(), u.validateAction(this, true, true); } static get managedProperties() { - return [{ label: g.setLocale.locale, property: "languageCode", type: m.expressionTypeNames.string, options: a.ExpressionTypeStringOptions.create((e3) => e3.setAllowModeLiteralOnly().setDescriptionInfo(g.setLocale.locale).setWantLowerCaseStringLiteralValue(true).facets.setTrim(true).setAllowableValueUseOriginalDisplayString(true).setAllowableValuePlaceholder(g.setLocale.localeWatermark)), optionsForSpecificFlowTypes: [{ flowTypes: r2.flowTypes.flowTypesAllAutomate, options: a.ExpressionTypeStringOptions.create((e3) => e3.setAllowModeExpression(true, true).facets.setTrim(true).setAllowableValueUseOriginalDisplayString(true).setAllowableValuePlaceholder(g.setLocale.localeWatermark)) }], yamlOptions: f.createYamlOptions("languageCode", (e3) => e3.setPropertyName("languageValue").setShouldBePlainJsType(false).setValueShouldBeLowercase(true)), deprecatedYamlOptions: f.createYamlOptions("languageCodeDeprecated", (e3) => e3.setPropertyName("language").setShouldBePlainJsType(true).setValueShouldBeLowercase(true).setDoNotExportAsExpressionForFlowTypes(r2.flowTypes.flowTypesAllAutomate)) }, { createDetails: _.NoteActionProperty.createCreateDetails("", "warning", "setLocaleNote"), property: "updateWarning", yamlOptions: f.createYamlOptions("updateWarning", (e3) => e3.setSkipProperty(true)) }]; + return [{ label: f.setLocale.locale, property: "languageCode", type: m.expressionTypeNames.string, options: a.ExpressionTypeStringOptions.create((e3) => e3.setAllowModeLiteralOnly().setDescriptionInfo(f.setLocale.locale).setWantLowerCaseStringLiteralValue(true).facets.setTrim(true).setAllowableValueUseOriginalDisplayString(true).setAllowableValuePlaceholder(f.setLocale.localeWatermark)), optionsForSpecificFlowTypes: [{ flowTypes: r2.flowTypes.flowTypesAllAutomate, options: a.ExpressionTypeStringOptions.create((e3) => e3.setAllowModeExpression(true, true).facets.setTrim(true).setAllowableValueUseOriginalDisplayString(true).setAllowableValuePlaceholder(f.setLocale.localeWatermark)) }], yamlOptions: T.createYamlOptions("languageCode", (e3) => e3.setPropertyName("languageValue").setShouldBePlainJsType(false).setValueShouldBeLowercase(true)), deprecatedYamlOptions: T.createYamlOptions("languageCodeDeprecated", (e3) => e3.setPropertyName("language").setShouldBePlainJsType(true).setValueShouldBeLowercase(true).setDoNotExportAsExpressionForFlowTypes(r2.flowTypes.flowTypesAllAutomate)) }, { createDetails: _.NoteActionProperty.createCreateDetails("", "warning", "setLocaleNote"), property: "updateWarning", yamlOptions: T.createYamlOptions("updateWarning", (e3) => e3.setSkipProperty(true)) }]; } initializeDesignTime() { super.initializeDesignTime(), s.registerEventSinkForEventEmitter(this.parentFlow.languages.id, this), this._configureAllowableLanguageCodes(), this.isSetLanguageWarningNoteApplicable(this.parentFlow) && (this.updateWarning.note = this.getSetLanguageWarningNote(this.parentFlow)); } getSetLanguageWarningNote(e3) { - return e3.isAutomateFlowType ? g.setLocale.warningAutomate : e3.isCommonModuleFlow || e3.isInQueueCallFlow || e3.isVoicemailFlow ? g.setLocale.warningImmediate : g.setLocale.warning; + return e3.isAutomateFlowType ? f.setLocale.warningAutomate : e3.isCommonModuleFlow || e3.isInQueueCallFlow || e3.isVoicemailFlow ? f.setLocale.warningImmediate : f.setLocale.warning; } isSetLanguageWarningNoteApplicable(e3) { return !(e3.isNluFlow || e3.isSurveyInvite || e3.isWorkflow); @@ -44764,11 +48723,11 @@ var require_scripting_bundle = __commonJS({ _overrideProperties() { var e3, t3, i3; super._overrideProperties.apply(this, arguments), this.languageCode.mode === o.literal && (null === (e3 = this.languageCode) || void 0 === e3 ? void 0 : e3.text) !== (null === (i3 = null === (t3 = this.languageCode) || void 0 === t3 ? void 0 : t3.text) || void 0 === i3 ? void 0 : i3.toLowerCase()) && (this.languageCode.text = this.languageCode.text.toLowerCase()), this.languageCode.attachValidator((e4, t4) => { - t4.text && t4.mode === o.literal && (l.isValidLanguageCode(t4.text) ? this.parentFlow.languages.isFlowSupportedLanguage(t4.text) || e4.addError(this.languageCode, g.setLocale.defaultLanguageError, void 0, true) : e4.addError(this.languageCode, g.setLocale.invalidLocale, void 0, true)); + t4.text && t4.mode === o.literal && (l.isValidLanguageCode(t4.text) ? this.parentFlow.languages.isFlowSupportedLanguage(t4.text) || e4.addError(this.languageCode, f.setLocale.defaultLanguageError, void 0, true) : e4.addError(this.languageCode, f.setLocale.invalidLocale, void 0, true)); }); } } - f.info = p.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: d.helpTopics.actions.setLocale, modelClass: i2(71137), name: g.actions.setLocale, scriptingName: "ArchActionSetLanguage" }), t2.A = f; + T.info = p.default.createActionInfo({ actionClass: T, canBeInTask: true, helpTopic: c.helpTopics.actions.setLocale, modelClass: i2(71137), name: f.actions.setLocale, scriptingName: "ArchActionSetLanguage", modelFormatSupport: { flowYaml: { inProgress: true, feature: g.default.changeSetsFeaturePhase2 } } }), t2.A = T; }, 37603: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -44841,8 +48800,8 @@ var require_scripting_bundle = __commonJS({ e2.exports = { leftToRight: "ltr", rightToLeft: "rtl" }; }, 37687: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = n2.__importDefault(i2(27203)), a = i2(80428), s = i2(26954), l = i2(82632), u = i2(84151), d = i2(12179), c = n2.__importDefault(i2(97891)), p = i2(47957); - class _ extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = n2.__importDefault(i2(27203)), a = i2(80428), s = i2(26954), l = i2(82632), u = i2(84151), c = i2(12179), d = n2.__importDefault(i2(97891)), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -44850,16 +48809,16 @@ var require_scripting_bundle = __commonJS({ return o.default.foundPartiallyFoundNotFound; } static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldPropertyName: "findIds", searchFieldOptionsCallback: (e3) => e3.setIsCollection(true).setMaxItems(l.findLimits.maxBulkFindByName).setDescriptionInfo(p.findActions.findUser.idsLabel, p.findActions.findUser.idsDescription).facets.setLengthForUuid(), searchFieldLabel: p.findActions.findUser.idsLabel, searchResultLabel: p.findActions.findUser.resultsLabel, searchResultExpressionOptions: s.ExpressionTypeUserOptions.create((e3) => e3.setIsCollection(true)), searchResultItemType: a.expressionTypeNames.userQueue }); + return r2.default.createManagedProperties({ searchFieldPropertyName: "findIds", searchFieldOptionsCallback: (e3) => e3.setIsCollection(true).setMaxItems(l.findLimits.maxBulkFindByName).setDescriptionInfo(_.findActions.findUser.idsLabel, _.findActions.findUser.idsDescription).facets.setLengthForUuid(), searchFieldLabel: _.findActions.findUser.idsLabel, searchResultLabel: _.findActions.findUser.resultsLabel, searchResultExpressionOptions: s.ExpressionTypeUserOptions.create((e3) => e3.setIsCollection(true)), searchResultItemType: a.expressionTypeNames.userQueue }); } } - _.info = c.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: d.helpTopics.actions.findUsersById, modelClass: u.FindUsersByIdActionModel, name: p.actions.findUsersById, scriptingName: "ArchActionFindUsersById" }), t2.A = _; + h.info = d.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: c.helpTopics.actions.findUsersById, modelClass: u.FindUsersByIdActionModel, name: _.actions.findUsersById, scriptingName: "ArchActionFindUsersById", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 37707: (e2, t2, i2) => { "use strict"; var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }), t2.Integration = void 0; const o = i2(31635), a = i2(80295), s = i2(90715), l = i2(80295), u = i2(84050); - class d extends u.NameIdDescriptionModel { + class c extends u.NameIdDescriptionModel { constructor(e3) { super(e3), (0, l.makeUnenumerable)(this, "_integrationType"); } @@ -44870,13 +48829,13 @@ var require_scripting_bundle = __commonJS({ this._integrationType = this.reviveItem(e3, s.IntegrationType); } } - t2.Integration = d, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== s.IntegrationType && s.IntegrationType) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== s.IntegrationType && s.IntegrationType) ? r2 : Object])], d.prototype, "integrationType", null); + t2.Integration = c, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== s.IntegrationType && s.IntegrationType) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== s.IntegrationType && s.IntegrationType) ? r2 : Object])], c.prototype, "integrationType", null); }, 37752: (e2, t2, i2) => { "use strict"; var n2, r2, o, a; Object.defineProperty(t2, "__esModule", { value: true }); - const s = i2(31635), l = i2(80295), u = i2(80295), d = i2(19596), c = s.__importDefault(i2(15244)), p = s.__importDefault(i2(7401)); - class _ extends d.DataContract { + const s = i2(31635), l = i2(80295), u = i2(80295), c = i2(19596), d = s.__importDefault(i2(15244)), p = s.__importDefault(i2(7401)); + class _ extends c.DataContract { constructor(e3) { super(e3), (0, u.makeUnenumerable)(this, "_abortMessage"), (0, u.makeUnenumerable)(this, "_handlingType"); } @@ -44896,10 +48855,10 @@ var require_scripting_bundle = __commonJS({ return this._handlingType; } set handlingType(e3) { - this._handlingType = this.reviveEnum(e3, c.default); + this._handlingType = this.reviveEnum(e3, d.default); } } - t2.default = _, s.__decorate([(0, l.enumerable)(true), s.__metadata("design:type", "function" == typeof (n2 = void 0 !== p.default && p.default) ? n2 : Object), s.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== p.default && p.default) ? r2 : Object])], _.prototype, "abortMessage", null), s.__decorate([(0, l.enumerable)(true), s.__metadata("design:type", "function" == typeof (o = void 0 !== c.default && c.default) ? o : Object), s.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== c.default && c.default) ? a : Object])], _.prototype, "handlingType", null); + t2.default = _, s.__decorate([(0, l.enumerable)(true), s.__metadata("design:type", "function" == typeof (n2 = void 0 !== p.default && p.default) ? n2 : Object), s.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== p.default && p.default) ? r2 : Object])], _.prototype, "abortMessage", null), s.__decorate([(0, l.enumerable)(true), s.__metadata("design:type", "function" == typeof (o = void 0 !== d.default && d.default) ? o : Object), s.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== d.default && d.default) ? a : Object])], _.prototype, "handlingType", null); }, 37819: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -44945,10 +48904,10 @@ var require_scripting_bundle = __commonJS({ }, 37824: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(15244)), a = n2.__importStar(i2(14187)), s = n2.__importDefault(i2(95955)), l = n2.__importDefault(i2(97675)), u = n2.__importDefault(i2(44035)), d = n2.__importDefault(i2(19359)), c = n2.__importDefault(i2(71824)), p = i2(49804), _ = i2(64420); - class h extends c.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(15244)), a = n2.__importStar(i2(14187)), s = n2.__importDefault(i2(95955)), l = n2.__importDefault(i2(97675)), u = n2.__importDefault(i2(44035)), c = n2.__importDefault(i2(19359)), d = n2.__importDefault(i2(71824)), p = i2(49804), _ = i2(64420); + class h extends d.default { constructor(e3) { - super(e3), this.callPrompts = this._addToAutoManageSettings(new s.default(this)), this.errorHandling = this._addToAutoManageSettings(new l.default(this)), this.pathDiscovery = this._addToAutoManageSettings(new d.default(this)), this.emailSendSettings = this._addToAutoManageSettings(new u.default(this)); + super(e3), this.callPrompts = this._addToAutoManageSettings(new s.default(this)), this.errorHandling = this._addToAutoManageSettings(new l.default(this)), this.pathDiscovery = this._addToAutoManageSettings(new c.default(this)), this.emailSendSettings = this._addToAutoManageSettings(new u.default(this)); } get className() { return "EmailSendViewModel"; @@ -45007,12 +48966,12 @@ var require_scripting_bundle = __commonJS({ }, 37873: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(67336)), o = i2(27491), a = n2.__importStar(i2(94453)), s = i2(9456), l = n2.__importStar(i2(71004)), u = n2.__importStar(i2(14187)), d = i2(43096); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(67336)), o = i2(27491), a = n2.__importStar(i2(94453)), s = i2(9456), l = n2.__importStar(i2(71004)), u = n2.__importStar(i2(14187)), c = i2(43096); + class d extends r2.default { constructor(e3) { super(e3), this._checkItemIsValidLiteralString(this._infoParmCtor("coreViewModelWithId.id"), e3.id, this._allowBlankObjectId), this._coreViewModelWithId = e3; } - _addVariable(e3, t3, i3, n3, r3, c2) { + _addVariable(e3, t3, i3, n3, r3, d2) { const p = this._infoParm("callingArchObject", t3); e3._checkItemIsArchBaseObject(p, e3), e3._checkVariableContainer(t3, "Adding variables is not permitted."); const _ = e3._infoParm("name", t3); @@ -45022,23 +48981,23 @@ var require_scripting_bundle = __commonJS({ const m = e3._infoParm("description", t3); e3._checkItemIsValidLiteralString(m, r3, true); const g = e3._infoParm("forceSlotVariableCreation", t3); - e3._checkItemIsValidLiteralBool(g, c2, true); + e3._checkItemIsValidLiteralBool(g, d2, true); const f = u.getScope(i3), T = e3._getCoreViewModel().localVariableScope; if (f && f !== T) { let t4 = false, n4 = `When adding a variable to a ${e3.displayTypeName}, the variable name must have a '${T}' scope. The new variable name of '${i3}' has a scope of '${f}' which does not meet that criteria.`; - f === u.scopes.slot && this.isArchBaseFlowBot ? c2 || (t4 = true, n4 = "When adding a slot variable to a bot or digital bot flow, the 'forceSlotVariableCreation' parameter must be true.") : t4 = true, t4 && e3.logErrorAndThrow(n4); + f === u.scopes.slot && this.isArchBaseFlowBot ? d2 || (t4 = true, n4 = "When adding a slot variable to a bot or digital bot flow, the 'forceSlotVariableCreation' parameter must be true.") : t4 = true, t4 && e3.logErrorAndThrow(n4); } const y = u.getUnscopedName(i3); e3._checkItem(_, !y, "Unable to determine the unscoped variable name from '" + i3 + "'."), e3._checkItem(_, y !== o.expressionDataService.cleanseForIdentifierName(y), "the new variable unscoped name of '" + y + "' in '" + i3 + "' is not valid. It must start with a letter and then be followed by one or more letters, numbers or underscore characters."), f || (i3 = u.setScope(T, i3), e3.logNote("adding the scope of '" + T + "' to the the submitted new variable name so it will be '" + i3 + "' when added.")), e3.getVariableByName(i3) && e3.logErrorAndThrow("you cannot add the variable '" + i3 + "' to " + e3.logStr + " because a variable with that name already already exists."); const S = e3.isArchBaseFlow ? e3 : e3.parentFlow; n3.isScriptCreatableForFlow(S) || e3.logErrorAndThrow("the data type " + n3.logStr + " is not valid for use in flows of one of the types '" + S._getCoreViewModel().destinationFlowTypes.join(",") + "'"); - const A = e3._getCoreViewModel(), N = n3._getCoreViewModel(), O = new (0, d[N.icwsType])({ name: i3, id: (0, s.uuid)(), isCollection: n3.isCollection, typeIdentifier: N.expressionType }); + const A = e3._getCoreViewModel(), N = n3._getCoreViewModel(), v = new (0, c[N.icwsType])({ name: i3, id: (0, s.uuid)(), isCollection: n3.isCollection, typeIdentifier: N.expressionType }); if (f === u.scopes.slot && this.isArchBaseFlowBot) { const t4 = a.getNluTypeForArchitectType(N), r4 = this.botFlowSettings._getCoreViewModel().createSlotVarForSlotName(y, t4.nluDataType, t4.mechanism, n3.isCollection); return e3.logNote(`successfully added the variable ${i3} to ${e3.logStr}`), r4.doNotCleanupIfOrphanedSlot = true, e3.coreFactory.createArchWrapper(r4); } { - const t4 = l.createVariable(O, A); + const t4 = l.createVariable(v, A); return t4.description = r3, e3.isArchBaseFlow || A.addVariable(t4), e3.logNote(`successfully added the variable ${i3} to ${e3.logStr}`), e3.coreFactory.createArchWrapper(t4); } } @@ -45047,7 +49006,7 @@ var require_scripting_bundle = __commonJS({ if (!i3) return e3._logErrorInternal(`unable to resolve the Architect core variable from the ArchBaseVariable with id: ${t3.id}, name: ${t3.name}.`), false; const n3 = i3.parentFlow; if (!n3) return e3._logErrorInternal(`unable to resolve the Architect core flow view model for the ArchBaseVariable with id: ${t3.id}, name: ${t3.name}.`), false; - if (!i3.canDelete || i3.getDeletionTooltip(true)) return e3.logError(`unable to delete the variable: ${t3.id}, name: ${t3.name}. Reason: ${i3.getDeletionTooltip() || "unknown"}`), false; + if (!i3.canDelete(i3.parentFlow) || i3.getDeletionTooltip(true)) return e3.logError(`unable to delete the variable: ${t3.id}, name: ${t3.name}. Reason: ${i3.getDeletionTooltip() || "unknown"}`), false; e3.logNote(`removing the variable with id: ${t3.id}, name: ${t3.name}.`); const r3 = n3.variableGroup.removeVariable(i3); return r3 ? e3.logNote(`successfully removed the variable with id: ${t3.id}, name: ${t3.name}.`) : e3.logError(`did not remove the variable with id: ${t3.id}, name: ${t3.name}.`), r3; @@ -45072,7 +49031,7 @@ var require_scripting_bundle = __commonJS({ return true; } } - t2.default = c; + t2.default = d; }, 38142: (e2, t2, i2) => { "use strict"; var n2; @@ -45198,9 +49157,9 @@ var require_scripting_bundle = __commonJS({ t2.archHandlingTypeConversion = new s(); }, 38296: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allSendNotificationFailureReasons = t2.sendNotificationFailureReasons = t2.sendNotificationFailureReasonsNoBusy = void 0; + Object.defineProperty(t2, "__esModule", { value: true }), t2.allSendNotificationFailureReasons = t2.sendNotificationFailureReasons = void 0; const n2 = i2(31635).__importDefault(i2(92140)), r2 = { actionInvocationLimitExceeded: "ActionInvocationLimitExceeded", busy: "Busy", generalError: "GeneralError", invalidChatMessage: "InvalidChatMessage", invalidEmailFrom: "InvalidEmailFrom", invalidGroup: "InvalidGroup", invalidNotificationType: "InvalidNotificationType", invalidSubject: "InvalidSubject", invalidUserCollection: "InvalidUserCollection", sendNotificationActionDisabled: "SendNotificationActionDisabled" }, o = [r2.generalError]; - t2.sendNotificationFailureReasonsNoBusy = n2.default.uniq(o.concat([r2.actionInvocationLimitExceeded, r2.invalidChatMessage, r2.invalidEmailFrom, r2.invalidGroup, r2.invalidNotificationType, r2.invalidSubject, r2.invalidUserCollection, r2.sendNotificationActionDisabled])), t2.sendNotificationFailureReasons = n2.default.uniq(t2.sendNotificationFailureReasonsNoBusy.concat([r2.busy])), t2.allSendNotificationFailureReasons = r2; + t2.sendNotificationFailureReasons = n2.default.uniq(o.concat([r2.actionInvocationLimitExceeded, r2.busy, r2.invalidChatMessage, r2.invalidEmailFrom, r2.invalidGroup, r2.invalidNotificationType, r2.invalidSubject, r2.invalidUserCollection, r2.sendNotificationActionDisabled])), t2.allSendNotificationFailureReasons = r2; }, 38297: (e2, t2, i2) => { const n2 = i2(36019).default, r2 = i2(89878); class o { @@ -45367,20 +49326,20 @@ var require_scripting_bundle = __commonJS({ }, 38597: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.CodeJsonBuilder = t2.ParseItemProcessingMode = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(81116)), a = n2.__importStar(i2(8462)), s = i2(17666), l = i2(17666), u = i2(57653), d = i2(17666), c = i2(17666), p = i2(34630), _ = i2(34630), h = i2(34630), m = i2(34630), g = i2(34630), f = n2.__importDefault(i2(73198)), T = i2(51125), y = i2(33336), S = i2(59393), A = i2(26403), N = i2(17604), O = n2.__importDefault(i2(41510)), I = i2(14394), v = i2(47957), C = O.default.expression.genericJsonPropertyDefModelPropId, b = { day: 2, hour: 2, minute: 2, month: 2, second: 2, year: 4 }; - var E, R; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(81116)), a = n2.__importStar(i2(8462)), s = i2(17666), l = i2(17666), u = i2(57653), c = i2(17666), d = i2(17666), p = i2(34630), _ = i2(34630), h = i2(34630), m = i2(34630), g = i2(34630), f = n2.__importDefault(i2(73198)), T = i2(53476), y = i2(67644), S = i2(81993), A = i2(83855), N = i2(83855), v = i2(51125), O = i2(33336), I = i2(53476), C = i2(59393), b = i2(26403), E = i2(17604), w = n2.__importDefault(i2(41510)), R = i2(14394), D = i2(47957), P = w.default.expression.genericJsonPropertyDefModelPropId, M = { day: 2, hour: 2, minute: 2, month: 2, second: 2, year: 4 }; + var F, L; !(function(e3) { e3.complete = "complete", e3.root = "root", e3.array = "array", e3.object = "object", e3.objectProperty = "objectProperty", e3.objectPropertyValue = "objectPropertyValue"; - })(E || (t2.ParseItemProcessingMode = E = {})), (function(e3) { + })(F || (t2.ParseItemProcessingMode = F = {})), (function(e3) { e3.archExpression = "archExpression", e3.archLiteral = "archLiteral", e3.boolean = "boolean", e3.null = "null", e3.number = "number", e3.string = "string"; - })(R || (R = {})), t2.CodeJsonBuilder = class { + })(L || (L = {})), t2.CodeJsonBuilder = class { constructor(e3, t3, i3, n3, r3) { - this._stack = [], this._parseResult = i3, this._parseSettings = n3, this._loggingEnabled = this._parseSettings.enableLogging, this._language = r3, this._languageCharacteristics = (0, T.getCharacteristicsForLanguage)(r3), this._rootExpression = e3, this._sourceText = t3, this._parseForUiOnly = this._parseSettings.parseForUiOnly; + this._stack = [], this._parseResult = i3, this._parseSettings = n3, this._loggingEnabled = this._parseSettings.enableLogging, this._language = r3, this._languageCharacteristics = (0, v.getCharacteristicsForLanguage)(r3), this._rootExpression = e3, this._sourceText = t3, this._parseForUiOnly = this._parseSettings.parseForUiOnly; const o2 = t3.split("\n"); let a2 = 0; this._sourceTextLineStartPos = []; for (const e4 of o2) this._sourceTextLineStartPos.push(a2), a2 += e4.length + 1; - this._sourceTestLineStartPosLen = this._sourceTextLineStartPos.length, this._rootParseItem = { mode: E.root, expression: (null == n3 ? void 0 : n3.quickParse) ? void 0 : e3, type: e3.type, lineInfo: { lineNo: 0, charPos: 0 }, node: void 0, nodeFrom: void 0, nodeTo: void 0, propertyName: void 0, configVal: { json: void 0, exprs: {} }, dependencies: {} }; + this._sourceTestLineStartPosLen = this._sourceTextLineStartPos.length, this._rootParseItem = { mode: F.root, expression: (null == n3 ? void 0 : n3.quickParse) ? void 0 : e3, type: e3.type, lineInfo: { lineNo: 0, charPos: 0 }, node: void 0, nodeFrom: void 0, nodeTo: void 0, propertyName: void 0, configVal: { json: void 0, exprs: {} }, dependencies: {} }; } _getNodeText(e3, t3) { var i3; @@ -45402,19 +49361,19 @@ var require_scripting_bundle = __commonJS({ if (this.isParseItemComplete(this.currentParseItem) && (!this._parseResult.errorItems.length || this._parseForUiOnly)) return this._rootParseItem.configVal; } isParseItemArray(e3) { - return (null == e3 ? void 0 : e3.mode) === E.array; + return (null == e3 ? void 0 : e3.mode) === F.array; } isParseItemComplete(e3) { - return (null == e3 ? void 0 : e3.mode) === E.complete; + return (null == e3 ? void 0 : e3.mode) === F.complete; } isParseItemObjectOrArray(e3) { return this.isParseItemObject(e3) || this.isParseItemArray(e3); } isParseItemObject(e3) { - return (null == e3 ? void 0 : e3.mode) === E.object; + return (null == e3 ? void 0 : e3.mode) === F.object; } isParseItemObjectPropertyValue(e3) { - return (null == e3 ? void 0 : e3.mode) === E.objectPropertyValue; + return (null == e3 ? void 0 : e3.mode) === F.objectPropertyValue; } _binarySearchLineStartPosIdx(e3) { let t3 = 0, i3 = this._sourceTestLineStartPosLen; @@ -45441,17 +49400,17 @@ var require_scripting_bundle = __commonJS({ if (e3) return { from: this.getParseItemFromLineInfo(e3, t3), to: this.getParseItemToLineInfo(e3, t3) }; } addParseResultItem(e3, t3, i3, n3, r3, o2, a2, s2) { - var l2, u2, d2, c2; - const p2 = r3 || (t3 ? t3.from : 0), _2 = o2 || (t3 ? t3.to : 0), h2 = null === (l2 = this._sourceText) || void 0 === l2 ? void 0 : l2.substring(p2, _2), m2 = i3 === A.ParseResultTypes.warn ? "warning" : i3, g2 = this.getLineAndCharPosForPosition(p2), f2 = (null === (u2 = g2.lineNo) || void 0 === u2 ? void 0 : u2.toString()) || "-1", T2 = (null === (d2 = g2.charPos) || void 0 === d2 ? void 0 : d2.toString()) || "-1"; + var l2, u2, c2, d2; + const p2 = r3 || (t3 ? t3.from : 0), _2 = o2 || (t3 ? t3.to : 0), h2 = null === (l2 = this._sourceText) || void 0 === l2 ? void 0 : l2.substring(p2, _2), m2 = i3 === b.ParseResultTypes.warn ? "warning" : i3, g2 = this.getLineAndCharPosForPosition(p2), f2 = (null === (u2 = g2.lineNo) || void 0 === u2 ? void 0 : u2.toString()) || "-1", T2 = (null === (c2 = g2.charPos) || void 0 === c2 ? void 0 : c2.toString()) || "-1"; let y2 = this._parseResult.itemsByLinePosMap[f2]; y2 || (y2 = {}, this._parseResult.itemsByLinePosMap[f2] = y2); let S2 = y2[T2]; S2 || (S2 = {}, y2[T2] = S2); - const O2 = S2[m2]; - if (O2 && (!O2.isCodeParserGenericItem || a2)) return; + const A2 = S2[m2]; + if (A2 && (!A2.isCodeParserGenericItem || a2)) return; this._loggingEnabled && (this.logMessage(() => "------------------------"), this.logMessage(() => "Creating error object!"), this.logMessage(() => `Line: ${e3.lineInfo.lineNo}, ChPos: ${e3.lineInfo.charPos}, Position: ${p2}, Token: ${h2}`), this.logMessage(() => `Error: ${n3}`)); - const I2 = { severity: m2, resultType: i3, message: (null == e3 ? void 0 : e3.propertyName) ? (0, N.sprintf)(v.codeEditor.parseErrors.formatPropertyWithMessage, null == e3 ? void 0 : e3.propertyName, n3.message) : n3.message, displayMessage: (null == e3 ? void 0 : e3.propertyName) ? (0, N.sprintf)(v.codeEditor.parseErrors.formatPropertyWithMessage, null == e3 ? void 0 : e3.propertyName, n3.displayMessage) : n3.displayMessage, from: p2, to: _2, lineNo: e3.lineInfo.lineNo, lineCharPos: e3.lineInfo.charPos, facetInfo: n3.facetInfo, propertyId: null === (c2 = null == e3 ? void 0 : e3.expressionPropDef) || void 0 === c2 ? void 0 : c2.id, suggestions: n3.suggestions, isCodeParserGenericItem: a2, preventsJsonStandardModeSwitch: s2 }; - S2[m2] = I2, this.logMessage(() => `Parse Result: ${I2.severity} - ${I2.message}`); + const N2 = { severity: m2, resultType: i3, message: (null == e3 ? void 0 : e3.propertyName) ? (0, E.sprintf)(D.codeEditor.parseErrors.formatPropertyWithMessage, null == e3 ? void 0 : e3.propertyName, n3.message) : n3.message, displayMessage: (null == e3 ? void 0 : e3.propertyName) ? (0, E.sprintf)(D.codeEditor.parseErrors.formatPropertyWithMessage, null == e3 ? void 0 : e3.propertyName, n3.displayMessage) : n3.displayMessage, from: p2, to: _2, lineNo: e3.lineInfo.lineNo, lineCharPos: e3.lineInfo.charPos, facetInfo: n3.facetInfo, propertyId: null === (d2 = null == e3 ? void 0 : e3.expressionPropDef) || void 0 === d2 ? void 0 : d2.id, suggestions: n3.suggestions, isCodeParserGenericItem: a2, preventsJsonStandardModeSwitch: s2 }; + S2[m2] = N2, this.logMessage(() => `Parse Result: ${N2.severity} - ${N2.message}`); } _pushParseItem(e3, t3) { if (this._checkCanAddNewParseItem(t3, e3.node)) return this._stack.push(e3), this.logMessage(() => `Pushed Item - Stack Depth: ${this._stack.length}, ${this._parseItemStr(e3)}`), this.isParseItemObjectOrArray(e3) && (this._currentObjectOrArray = e3), e3; @@ -45476,7 +49435,7 @@ var require_scripting_bundle = __commonJS({ } } _checkCanAddNewParseItem(e3, t3) { - return !(this._parseResult.items.length > 0 && !this._stack.length && (this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createExtraValue()), 1)); + return !(this._parseResult.items.length > 0 && !this._stack.length && (this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createExtraValue()), 1)); } _checkCanPopParseItem() { return this._stack.length > 0; @@ -45484,27 +49443,27 @@ var require_scripting_bundle = __commonJS({ _checkNotAlreadyDone(e3) { const t3 = this.currentParseItem; if (!this.isParseItemComplete(t3)) return t3; - this.addParseResultItem(t3, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpectedAfterValue(this._getNodeText(e3)), null, null, null, this._parseForUiOnly); + this.addParseResultItem(t3, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpectedAfterValue(this._getNodeText(e3)), null, null, null, this._parseForUiOnly); } _checkType(e3, t3, i3) { var n3, r3; switch (e3.mode) { - case E.root: - case E.array: + case F.root: + case F.array: if (!this._checkTypeCompatibility(e3, t3, i3, null === (n3 = e3.type) || void 0 === n3 ? void 0 : n3.singletonType)) return false; break; - case E.objectPropertyValue: - if (!this._checkTypeCompatibility(e3, t3, i3, (null === (r3 = null == e3 ? void 0 : e3.expressionPropDef) || void 0 === r3 ? void 0 : r3.type) || I.globalTypes.json)) return false; + case F.objectPropertyValue: + if (!this._checkTypeCompatibility(e3, t3, i3, (null === (r3 = null == e3 ? void 0 : e3.expressionPropDef) || void 0 === r3 ? void 0 : r3.type) || R.globalTypes.json)) return false; } } _checkTypeCompatibility(e3, t3, i3, n3) { - return !!(i3.isMatch(n3) || i3.isMatch(I.globalTypes.json) && n3.supportsLiteralCustomJsonInput) || (this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTypesIncompatible(i3.displayString, null == n3 ? void 0 : n3.displayString), null, null, null, this._parseForUiOnly), false); + return !!(i3.isMatch(n3) || i3.isMatch(R.globalTypes.json) && n3.supportsLiteralCustomJsonInput) || (this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTypesIncompatible(i3.displayString, null == n3 ? void 0 : n3.displayString), null, null, null, this._parseForUiOnly), false); } _getIncompatibleTypeAssignmentSuggestions(e3, t3, i3) { const n3 = []; if (this._languageCharacteristics.supportsArchitectExpressions) { const r3 = null == e3 ? void 0 : e3.getDefaultImplicitConversionFunc(t3); - (null == r3 ? void 0 : r3.text) && n3.push((0, g.createSuggestion)(d.CodeSuggestionType.convert, c.CodeSuggestionWhatToDo.replaceText, (0, N.sprintf)(v.codeEditor.types.typeCanBeConverted, t3.displayString, e3.displayString, null == r3 ? void 0 : r3.text), void 0, `{{${null == r3 ? void 0 : r3.text}(${i3})}}`)); + (null == r3 ? void 0 : r3.text) && n3.push((0, g.createSuggestion)(c.CodeSuggestionType.convert, d.CodeSuggestionWhatToDo.replaceText, (0, E.sprintf)(D.codeEditor.types.typeCanBeConverted, t3.displayString, e3.displayString, null == r3 ? void 0 : r3.text), void 0, `{{${null == r3 ? void 0 : r3.text}(${i3})}}`)); } return n3; } @@ -45516,7 +49475,7 @@ var require_scripting_bundle = __commonJS({ if (this._checkCanPopParseItem()) { const i3 = this._stack.pop(); if (this.logMessage(() => `Popped Item - Stack Depth: ${this._stack.length}, ${this._parseItemStr(i3)}`), this.isParseItemObjectOrArray(i3)) { - (null === (t3 = this._currentObjectOrArray) || void 0 === t3 ? void 0 : t3.hasSeparator) && this.addParseResultItem(i3, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createUnnecessarySeparator(this._languageCharacteristics.itemSeparator).addSuggestion((0, h.createFixRemoveUnnecessarySeparator)(this._languageCharacteristics.itemSeparator)), this._currentObjectOrArray.lastAssigned.to, this._currentObjectOrArray.lastAssigned.to), this._currentObjectOrArray = void 0; + (null === (t3 = this._currentObjectOrArray) || void 0 === t3 ? void 0 : t3.hasSeparator) && this.addParseResultItem(i3, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createUnnecessarySeparator(this._languageCharacteristics.itemSeparator).addSuggestion((0, h.createFixRemoveUnnecessarySeparator)(this._languageCharacteristics.itemSeparator)), this._currentObjectOrArray.lastAssigned.to, this._currentObjectOrArray.lastAssigned.to), this._currentObjectOrArray = void 0; for (let e4 = this._stack.length - 1; e4 >= 0; e4--) { const t4 = this._stack[e4]; if (this.isParseItemObjectOrArray(t4)) { @@ -45526,29 +49485,41 @@ var require_scripting_bundle = __commonJS({ } this._currentObjectOrArray && (this._currentObjectOrArray.hasSeparator = false), this._updateLastAssignedForNode(e3); } - return 0 === this._stack.length && (this._rootParseItem.mode = E.complete), i3; + return 0 === this._stack.length && (this._rootParseItem.mode = F.complete), i3; } - this._rootParseItem.mode === E.root && (this._rootParseItem.mode = E.complete); + this._rootParseItem.mode === F.root && (this._rootParseItem.mode = F.complete); } addAssignArchitectExpr(e3, t3) { - return this._assignArchitectValue(e3, t3, R.archExpression); + return this._assignArchitectValue(e3, t3, L.archExpression); } addAssignArchitectLiteral(e3, t3) { - return this._assignArchitectValue(e3, t3, R.archLiteral); + return this._assignArchitectValue(e3, t3, L.archLiteral); + } + _isIncompleteObjectPropertyValue(e3) { + var t3, i3; + if (!this.isParseItemObjectPropertyValue(e3) || !e3.propertyName) return false; + const n3 = null === (i3 = null === (t3 = e3.configVal) || void 0 === t3 ? void 0 : t3.json) || void 0 === i3 ? void 0 : i3[e3.propertyName]; + return !!n3 && "object" == typeof n3 && !!n3.__placeHolder; + } + _closeIncompleteObjectPropertyValueIfNeeded(e3) { + var t3; + const i3 = this.currentParseItem; + return !!this._isIncompleteObjectPropertyValue(i3) && (this.addParseResultItem(i3, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueIncomplete(null === (t3 = i3.type) || void 0 === t3 ? void 0 : t3.displayString)), !!this._popValueAssignment(i3, e3)); } addPropertyAssignment(e3, t3) { var i3, n3; + this._closeIncompleteObjectPropertyValueIfNeeded(e3); const r3 = this._checkNotAlreadyDone(e3); if (!r3) return false; - if (r3.mode !== E.object) return this.addParseResultItem(r3, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createInvalidTypeValue(null === (i3 = r3.type) || void 0 === i3 ? void 0 : i3.displayString).addWhat(v.codeEditor.properties.propertyCannotBeAddedToNonObject)), false; - if (this._checkForMissingSeparator(r3, e3), null == t3 ? void 0 : t3.length) if (void 0 !== r3.configVal.json[t3]) this.addParseResultItem(r3, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createDuplicateProperty(t3)); + if (r3.mode !== F.object) return this.addParseResultItem(r3, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createInvalidTypeValue(null === (i3 = r3.type) || void 0 === i3 ? void 0 : i3.displayString).addWhat(D.codeEditor.properties.propertyCannotBeAddedToNonObject)), false; + if (this._checkForMissingSeparator(r3, e3), null == t3 ? void 0 : t3.length) if (void 0 !== r3.configVal.json[t3]) this.addParseResultItem(r3, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createDuplicateProperty(t3)); else { let i4; r3.configVal.json[t3] = { __placeHolder: true }; const n4 = r3.type.getPropertyDefinition(t3); - n4 ? i4 = this.parseItemIsRawJson(r3) ? I.globalTypes.json : n4.type : (i4 = I.globalTypes.json, r3.type.additionalProperties || this.addParseResultItem(r3, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createPropertyNotValidForType(t3, r3.type.displayString))), (null == n4 ? void 0 : n4.isReadOnly) && this.addParseResultItem(r3, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createPropertyIsReadOnly(t3)), this._pushParseItem({ mode: E.objectPropertyValue, propertyName: t3, expressionPropDef: n4, lineInfo: this.getLineAndCharPosForPosition(e3.from), node: r3.node, nodeFrom: r3.nodeFrom, nodeTo: r3.nodeTo, expression: void 0, type: i4, configVal: r3.configVal, propertyValuePrefixSeparatorAdded: !this._propertyValuesRequirePrefixSeparator() }, r3); + n4 ? i4 = this.parseItemIsRawJson(r3) ? R.globalTypes.json : n4.type : (i4 = R.globalTypes.json, r3.type.additionalProperties || this.addParseResultItem(r3, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createPropertyNotValidForType(t3, r3.type.displayString))), (null == n4 ? void 0 : n4.isReadOnly) && this.addParseResultItem(r3, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createPropertyIsReadOnly(t3)), this._pushParseItem({ mode: F.objectPropertyValue, propertyName: t3, expressionPropDef: n4, lineInfo: this.getLineAndCharPosForPosition(e3.from), node: r3.node, nodeFrom: r3.nodeFrom, nodeTo: r3.nodeTo, expression: void 0, type: i4, configVal: r3.configVal, propertyValuePrefixSeparatorAdded: !this._propertyValuesRequirePrefixSeparator() }, r3); } - else this.addParseResultItem(r3, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createInvalidTypeValue(null === (n3 = r3.type) || void 0 === n3 ? void 0 : n3.displayString).addWhat(v.codeEditor.properties.propertyNamesCannotBeBlank)); + else this.addParseResultItem(r3, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createInvalidTypeValue(null === (n3 = r3.type) || void 0 === n3 ? void 0 : n3.displayString).addWhat(D.codeEditor.properties.propertyNamesCannotBeBlank)); } addPropertyValueSeparator(e3, t3) { const i3 = this._checkNotAlreadyDone(e3); @@ -45559,16 +49530,16 @@ var require_scripting_bundle = __commonJS({ return !(!i3 || !this.isParseItemArray(i3) || t3 !== this._languageCharacteristics.arrayItemPrefixSeparator || (i3.arrayItemPrefixSeparatorAdded = true, 0)); } assignValueBoolean(e3, t3) { - return this._assignScalarValue(e3, R.boolean, t3); + return this._assignScalarValue(e3, L.boolean, t3); } assignValueNull(e3) { - return this._assignScalarValue(e3, R.null); + return this._assignScalarValue(e3, L.null); } assignValueNumber(e3, t3) { - return this._assignScalarValue(e3, R.number, t3 || this._sourceText.substring(e3.from, e3.to)); + return this._assignScalarValue(e3, L.number, t3 || this._sourceText.substring(e3.from, e3.to)); } assignValueString(e3, t3) { - return this._assignScalarValue(e3, R.string, void 0 !== t3 ? t3 : this._sourceText.substring(e3.from, e3.to)); + return this._assignScalarValue(e3, L.string, void 0 !== t3 ? t3 : this._sourceText.substring(e3.from, e3.to)); } assignScalarValue(e3, t3, i3) { const n3 = void 0 !== t3 ? t3 : this._sourceText.substring(e3.from, e3.to); @@ -45577,85 +49548,87 @@ var require_scripting_bundle = __commonJS({ case l.CodeLanguage.architectYaml: switch (n3) { case f.default.true: - return this._assignScalarValue(e3, R.boolean, true); + return this._assignScalarValue(e3, L.boolean, true); case f.default.false: - return this._assignScalarValue(e3, R.boolean, false); + return this._assignScalarValue(e3, L.boolean, false); case "null": - return this._assignScalarValue(e3, R.null); + return this._assignScalarValue(e3, L.null); default: - if (n3.length >= 2 && '"' === n3[0] && '"' === n3[n3.length - 1]) this._assignScalarValue(e3, R.string, n3.substring(1, n3.length - 1)); + if (n3.length >= 2 && '"' === n3[0] && '"' === n3[n3.length - 1]) this._assignScalarValue(e3, L.string, n3.substring(1, n3.length - 1)); else { const t4 = this._getNumberFromStr(n3, e3, this.currentParseItem, 0, true, true, void 0, false, void 0, void 0, true); - if (void 0 !== (null == t4 ? void 0 : t4.numValAsStr)) return this._assignScalarValue(e3, R.number, n3); + if (void 0 !== (null == t4 ? void 0 : t4.numValAsStr)) return this._assignScalarValue(e3, L.number, n3); } } } - return this._assignScalarValue(e3, R.string, n3); + return this._assignScalarValue(e3, L.string, n3); } popArray(e3) { - var t3, i3, n3, o2, a2, l2, d2, c2, p2, _2; + var t3, i3, n3, o2, a2, l2, c2, d2, p2, _2; const h2 = this._checkNotAlreadyDone(e3); - return !!h2 && (h2.mode !== E.array && this.addParseResultItem(h2, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(s.CodeArchitectJsonParserToken.ArrayEnd), null, null, null, this._parseForUiOnly), this.logMessage(() => "checking max / max items"), r2.default.isActualNumber(null === (t3 = h2.expressionPropDef) || void 0 === t3 ? void 0 : t3.minItems) && r2.default.isArray(h2.configVal.json) && h2.configVal.json.length < (null === (i3 = h2.expressionPropDef) || void 0 === i3 ? void 0 : i3.minItems) && this.addParseResultItem(h2, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createArrayLengthTooSmall(h2.configVal.json.length, null === (n3 = h2.expressionPropDef) || void 0 === n3 ? void 0 : n3.minItems, null === (o2 = h2.expressionPropDef) || void 0 === o2 ? void 0 : o2.maxItems).setFacetInfo({ facet: S.jsonParseItemFacet.propFacetMaxItems, facetOutOfBoundsValue: h2.configVal.json.length, facetValue: null === (a2 = h2.expressionPropDef) || void 0 === a2 ? void 0 : a2.maxItems })), r2.default.isActualNumber(null === (l2 = h2.expressionPropDef) || void 0 === l2 ? void 0 : l2.maxItems) && r2.default.isArray(h2.configVal.json) && h2.configVal.json.length > (null === (d2 = h2.expressionPropDef) || void 0 === d2 ? void 0 : d2.maxItems) && this.addParseResultItem(h2, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createArrayLengthTooBig(h2.configVal.json.length, null === (c2 = h2.expressionPropDef) || void 0 === c2 ? void 0 : c2.minItems, null === (p2 = h2.expressionPropDef) || void 0 === p2 ? void 0 : p2.maxItems).setFacetInfo({ facet: S.jsonParseItemFacet.propFacetMaxItems, facetOutOfBoundsValue: h2.configVal.json.length, facetValue: null === (_2 = h2.expressionPropDef) || void 0 === _2 ? void 0 : _2.maxItems })), this._popContainerFromStack(h2, e3)); + return !!h2 && (h2.mode !== F.array && this.addParseResultItem(h2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(s.CodeArchitectJsonParserToken.ArrayEnd), null, null, null, this._parseForUiOnly), this.logMessage(() => "checking max / max items"), r2.default.isActualNumber(null === (t3 = h2.expressionPropDef) || void 0 === t3 ? void 0 : t3.minItems) && r2.default.isArray(h2.configVal.json) && h2.configVal.json.length < (null === (i3 = h2.expressionPropDef) || void 0 === i3 ? void 0 : i3.minItems) && this.addParseResultItem(h2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createArrayLengthTooSmall(h2.configVal.json.length, null === (n3 = h2.expressionPropDef) || void 0 === n3 ? void 0 : n3.minItems, null === (o2 = h2.expressionPropDef) || void 0 === o2 ? void 0 : o2.maxItems).setFacetInfo({ facet: C.jsonParseItemFacet.propFacetMaxItems, facetOutOfBoundsValue: h2.configVal.json.length, facetValue: null === (a2 = h2.expressionPropDef) || void 0 === a2 ? void 0 : a2.maxItems })), r2.default.isActualNumber(null === (l2 = h2.expressionPropDef) || void 0 === l2 ? void 0 : l2.maxItems) && r2.default.isArray(h2.configVal.json) && h2.configVal.json.length > (null === (c2 = h2.expressionPropDef) || void 0 === c2 ? void 0 : c2.maxItems) && this.addParseResultItem(h2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createArrayLengthTooBig(h2.configVal.json.length, null === (d2 = h2.expressionPropDef) || void 0 === d2 ? void 0 : d2.minItems, null === (p2 = h2.expressionPropDef) || void 0 === p2 ? void 0 : p2.maxItems).setFacetInfo({ facet: C.jsonParseItemFacet.propFacetMaxItems, facetOutOfBoundsValue: h2.configVal.json.length, facetValue: null === (_2 = h2.expressionPropDef) || void 0 === _2 ? void 0 : _2.maxItems })), this._popContainerFromStack(h2, e3)); } popObject(e3) { - var t3, i3; - const n3 = this._checkNotAlreadyDone(e3); - if (!n3) return false; - n3.mode !== E.object && this.addParseResultItem(n3, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(this._getNodeText(e3)), null, null, null, this._parseForUiOnly), this.logMessage(() => "checking missing properties"); - const o2 = [], a2 = null === (t3 = n3.type) || void 0 === t3 ? void 0 : t3.properties; - if (r2.default.each(a2, (e4) => { - var t4; - e4.isRequired && r2.default.isUndefined(n3.configVal.json[e4.name]) && !(null === (t4 = n3.expression) || void 0 === t4 ? void 0 : t4.options.canIgnoreRequired) && o2.push(e4.id); - }), null == o2 ? void 0 : o2.length) { + var t3, i3, n3; + this._closeIncompleteObjectPropertyValueIfNeeded(e3); + const o2 = this._checkNotAlreadyDone(e3); + if (!o2) return false; + if (o2.mode !== F.object) return this.addParseResultItem(o2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(this._getNodeText(e3)), null, null, null, this._parseForUiOnly), this._popContainerFromStack(o2, e3); + this.logMessage(() => "checking missing properties"); + const a2 = [], s2 = null === (t3 = o2.type) || void 0 === t3 ? void 0 : t3.properties, l2 = null === (i3 = o2.configVal) || void 0 === i3 ? void 0 : i3.json; + if (r2.default.each(s2, (e4) => { + e4.isRequired && (r2.default.isUndefined(l2) || r2.default.isUndefined(l2[e4.name])) && !e4.isPatchable && a2.push(e4.id); + }), null == a2 ? void 0 : a2.length) { const t4 = []; - r2.default.each(a2, (e4) => { + r2.default.each(s2, (e4) => { t4.push(e4.id); - }), this.addParseResultItem(n3, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createRequiredPropertiesMissing(t4, o2, null === (i3 = n3.type) || void 0 === i3 ? void 0 : i3.displayString).setFacetInfo({ facet: S.jsonParseItemFacet.propFacetRequiredProperties, facetOutOfBoundsValue: o2, facetValue: t4 })); + }), this.addParseResultItem(o2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createRequiredPropertiesMissing(t4, a2, null === (n3 = o2.type) || void 0 === n3 ? void 0 : n3.displayString).setFacetInfo({ facet: C.jsonParseItemFacet.propFacetRequiredProperties, facetOutOfBoundsValue: a2, facetValue: t4 })); } - return this._popContainerFromStack(n3, e3); + return this._popContainerFromStack(o2, e3); } pushArray(e3) { var t3, i3; const n3 = this._checkNotAlreadyDone(e3); if (!n3) return false; - if (this._checkType(n3, e3, this.parseItemIsRawJson(n3) ? I.globalTypes.json : null === (t3 = n3.type) || void 0 === t3 ? void 0 : t3.collectionType)) return false; + if (this._checkType(n3, e3, this.parseItemIsRawJson(n3) ? R.globalTypes.json : null === (t3 = n3.type) || void 0 === t3 ? void 0 : t3.collectionType)) return false; const r3 = []; switch (n3.mode) { - case E.root: + case F.root: n3.configVal.json = r3; break; - case E.objectPropertyValue: + case F.objectPropertyValue: n3.configVal.json[n3.propertyName] = r3; break; - case E.array: + case F.array: n3.configVal.json.push(r3); break; default: - this.addParseResultItem(n3, n3.node, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(this._getNodeText(e3)), null, null, null, this._parseForUiOnly); + this.addParseResultItem(n3, n3.node, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(this._getNodeText(e3)), null, null, null, this._parseForUiOnly); } - return this._pushParseItem({ mode: E.array, node: e3, lineInfo: this.getLineAndCharPosForPosition(e3.from), nodeFrom: e3.from, nodeTo: e3.to, configVal: { json: r3, exprs: n3.configVal.exprs }, type: null === (i3 = n3.type) || void 0 === i3 ? void 0 : i3.singletonType, expression: n3.expression, expressionPropDef: n3.expressionPropDef, arrayItemPrefixSeparatorAdded: !this._languageCharacteristics.arrayItemPrefixSeparator }, n3), true; + return this._pushParseItem({ mode: F.array, node: e3, lineInfo: this.getLineAndCharPosForPosition(e3.from), nodeFrom: e3.from, nodeTo: e3.to, configVal: { json: r3, exprs: n3.configVal.exprs }, type: null === (i3 = n3.type) || void 0 === i3 ? void 0 : i3.singletonType, expression: n3.expression, expressionPropDef: n3.expressionPropDef, arrayItemPrefixSeparatorAdded: !this._languageCharacteristics.arrayItemPrefixSeparator }, n3), true; } pushObject(e3) { - var t3, i3; - const n3 = this._checkNotAlreadyDone(e3); - if (!n3) return false; - if (this._checkType(n3, e3, I.globalTypes.json)) return false; - const r3 = {}; - switch (n3.mode) { - case E.root: - n3.configVal.json = r3; + var t3, i3, n3; + const r3 = this._checkNotAlreadyDone(e3); + if (!r3) return false; + if (this._checkType(r3, e3, R.globalTypes.json)) return false; + !(null === (t3 = r3.type) || void 0 === t3 ? void 0 : t3.hasPropertiesAndAllAreReadOnly) || r3.mode !== F.root || this._language !== l.CodeLanguage.architectJson && this._language !== l.CodeLanguage.jsn || this.addParseResultItem(r3, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createObjectLiteralNotAllowedWhenAllPropertiesReadOnly(r3.type.displayString)); + const o2 = {}; + switch (r3.mode) { + case F.root: + r3.configVal.json = o2; break; - case E.objectPropertyValue: - (null === (t3 = n3.expressionPropDef) || void 0 === t3 ? void 0 : t3.id) === C ? n3.configVal.json[n3.propertyName] = r3 : n3.configVal.json[null === (i3 = n3.expressionPropDef) || void 0 === i3 ? void 0 : i3.id] = r3; + case F.objectPropertyValue: + (null === (i3 = r3.expressionPropDef) || void 0 === i3 ? void 0 : i3.id) === P ? r3.configVal.json[r3.propertyName] = o2 : r3.configVal.json[null === (n3 = r3.expressionPropDef) || void 0 === n3 ? void 0 : n3.id] = o2; break; - case E.array: - n3.configVal.json.push(r3); + case F.array: + r3.configVal.json.push(o2); break; default: - this.addParseResultItem(n3, n3.node, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(this._getNodeText(e3)), null, null, null, this._parseForUiOnly); + this.addParseResultItem(r3, r3.node, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(this._getNodeText(e3)), null, null, null, this._parseForUiOnly); } - const o2 = this._language === l.CodeLanguage.architectYaml ? (0, y.getIndentPositionForNode)(this._sourceText, e3.from, e3.to) : e3.from; - return this._pushParseItem({ lineInfo: this.getLineAndCharPosForPosition(o2), mode: E.object, node: e3, nodeFrom: e3.from, nodeTo: e3.to, configVal: { json: r3, exprs: n3.configVal.exprs }, type: n3.type, expression: n3.expression, expressionPropDef: n3.expressionPropDef }, n3), true; + const a2 = this._language === l.CodeLanguage.architectYaml ? (0, O.getIndentPositionForNode)(this._sourceText, e3.from, e3.to) : e3.from; + return this._pushParseItem({ lineInfo: this.getLineAndCharPosForPosition(a2), mode: F.object, node: e3, nodeFrom: e3.from, nodeTo: e3.to, configVal: { json: o2, exprs: r3.configVal.exprs }, type: r3.type, expression: r3.expression, expressionPropDef: r3.expressionPropDef }, r3), true; } logMessage(e3) { this._loggingEnabled && console.log(e3()); @@ -45665,12 +49638,12 @@ var require_scripting_bundle = __commonJS({ const t3 = this._stack[this._stack.length - 1]; if (!t3) return false; switch (null === (e3 = this.currentParseItem) || void 0 === e3 ? void 0 : e3.mode) { - case E.array: + case F.array: return this.popArray(t3.node); - case E.object: + case F.object: return this.popObject(t3.node); - case E.objectPropertyValue: - return this._popValueAssignment(t3, t3.node); + case F.objectPropertyValue: + return !!this._closeIncompleteObjectPropertyValueIfNeeded(t3.node) || this._popValueAssignment(t3, t3.node); default: return false; } @@ -45686,13 +49659,13 @@ var require_scripting_bundle = __commonJS({ if (i3 >= 0 && i3 !== this._stack.length - 1 && this._unwindToIndex(i3)) return this._stack[i3]; } unwindToArray(e3) { - return this._unwindToParseItemWithMode([E.array], e3); + return this._unwindToParseItemWithMode([F.array], e3); } unwindToArrayOrObject(e3) { - return this._unwindToParseItemWithMode([E.array, E.object], e3); + return this._unwindToParseItemWithMode([F.array, F.object], e3); } unwindToObject(e3) { - return this._unwindToParseItemWithMode([E.object], e3); + return this._unwindToParseItemWithMode([F.object], e3); } unwindEntireStack() { let e3 = true; @@ -45704,17 +49677,17 @@ var require_scripting_bundle = __commonJS({ this.unwindEntireStack(); const i3 = this.currentParseItem; let n3; - return e3 || this.isParseItemComplete(i3) ? n3 = true : (this.addParseResultItem(i3, i3.node, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueIncomplete(null === (t3 = this._rootParseItem.type) || void 0 === t3 ? void 0 : t3.displayString), i3.nodeTo || 0, i3.nodeTo || 0), n3 = false), r2.default.each(this._parseResult.itemsByLinePosMap, (e4) => { + return e3 || this.isParseItemComplete(i3) ? n3 = true : (this.addParseResultItem(i3, i3.node, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueIncomplete(null === (t3 = this._rootParseItem.type) || void 0 === t3 ? void 0 : t3.displayString), i3.nodeTo || 0, i3.nodeTo || 0), n3 = false), this._addEmptyCustomJsonPayloadErrorIfConfigured(i3), r2.default.each(this._parseResult.itemsByLinePosMap, (e4) => { r2.default.each(e4, (e5) => { r2.default.each(e5, (e6) => { switch (this._parseResult.items.push(e6), e6.resultType) { - case A.ParseResultTypes.error: + case b.ParseResultTypes.error: this._parseResult.errorItems.push(e6); break; - case A.ParseResultTypes.warn: + case b.ParseResultTypes.warn: this._parseResult.warningItems.push(e6); break; - case A.ParseResultTypes.info: + case b.ParseResultTypes.info: this._parseResult.infoItems.push(e6); } }); @@ -45722,52 +49695,59 @@ var require_scripting_bundle = __commonJS({ }), this._parseResult.dependencies = this._rootParseItem.dependencies, this.logMessage(() => `json config: ${JSON.stringify(i3.configVal, null, 2)}`), n3; } - _createExpression(e3, t3, i3) { - return o.expression(this._rootExpression.parentFlow, this._rootExpression.parent, null, e3 || "", t3 || I.globalTypes.json, e3 || "", a.buildOptions(t3 || I.globalTypes.json).setIsOptional(!i3), true); + _addEmptyCustomJsonPayloadErrorIfConfigured(e3) { + var t3, i3; + const n3 = null === (t3 = this._rootExpression) || void 0 === t3 ? void 0 : t3.type; + if (!(0, I.isCustomJsonExpressionType)(n3)) return; + const r3 = n3.resolveAtLeastOnePropertyMustBeSetErrorText((0, T.areOptionsJsonType)(null === (i3 = this._rootExpression) || void 0 === i3 ? void 0 : i3.options) ? this._rootExpression.options : void 0); + r3 && (S.JsonType.hasAnyCustomJsonPropertyIncludedAtRuntime(e3.configVal) || this.addParseResultItem(e3, e3.node, b.ParseResultTypes.error, u.CodeParseItemMessage.createAtLeastOnePropertyMustBeSet(r3))); + } + _createExpression(e3, t3, i3, n3) { + return o.expression(this._rootExpression.parentFlow, this._rootExpression.parent, null, e3 || "", t3 || R.globalTypes.json, e3 || "", a.buildOptions(t3 || R.globalTypes.json).setIsOptional(!i3 || !!n3), true); } _assignArchitectValue(e3, t3, i3) { - var n3, o2; - const a2 = this._checkNotAlreadyDone(e3); - if (!a2) return false; - if (!this._checkValueAssignment(a2, e3)) return false; - let s2; + var n3, o2, a2; + const s2 = this._checkNotAlreadyDone(e3); + if (!s2) return false; + if (!this._checkValueAssignment(s2, e3)) return false; + let l2; try { - switch (s2 = this._createExpression(a2.propertyName, a2.type, null === (n3 = a2.expressionPropDef) || void 0 === n3 ? void 0 : n3.isRequired), i3) { - case R.archExpression: - if (s2) { - this._rootExpression.options.allowEmbeddedExpressionsInLiteralMode || this.addParseResultItem(a2, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createArchitectExpressionUsageUnavailable(!!(null === (o2 = this._rootExpression.parent) || void 0 === o2 ? void 0 : o2.isVariableViewModel))), s2.setAsExpression(t3, true); - const i5 = s2._parseResult; - if (null == i5 ? void 0 : i5.resultType) { - let t4; - switch (r2.default.isNumber(i5.resultPosition) && -1 !== i5.resultPosition && (t4 = i5.resultPosition + e3.from + 1, r2.default.isString(i5.resultMessage) && (i5.resultMessage = i5.resultMessage.replace((i5.resultPosition + 1).toString(), t4.toString()))), i5.resultType) { - case A.ParseResultTypes.warn: - this.addParseResultItem(a2, e3, A.ParseResultTypes.warn, u.CodeParseItemMessage.createArchitectExpressionInfo(i5.resultMessage).addSuggestions(i5.fixes), t4, t4); + switch (l2 = this._createExpression(s2.propertyName, s2.type, null === (n3 = s2.expressionPropDef) || void 0 === n3 ? void 0 : n3.isRequired, null === (o2 = s2.expressionPropDef) || void 0 === o2 ? void 0 : o2.isPatchable), i3) { + case L.archExpression: + if (l2) if (this._rootExpression.options.allowEmbeddedExpressionsInLiteralMode || this.addParseResultItem(s2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createArchitectExpressionUsageUnavailable(!!(null === (a2 = this._rootExpression.parent) || void 0 === a2 ? void 0 : a2.isVariableViewModel))), l2.setAsExpression(t3, true), t3 === f.default.notSet) this._addNullPropertyValueNoOpWarningIfConfigured(s2, e3, "notSetExpression"); + else { + const t4 = l2._parseResult; + if (null == t4 ? void 0 : t4.resultType) { + let i5; + switch (r2.default.isNumber(t4.resultPosition) && -1 !== t4.resultPosition && (i5 = t4.resultPosition + e3.from + 1, r2.default.isString(t4.resultMessage) && (t4.resultMessage = t4.resultMessage.replace((t4.resultPosition + 1).toString(), i5.toString()))), t4.resultType) { + case b.ParseResultTypes.warn: + this.addParseResultItem(s2, e3, b.ParseResultTypes.warn, u.CodeParseItemMessage.createArchitectExpressionInfo(t4.resultMessage).addSuggestions(t4.fixes), i5, i5); break; - case A.ParseResultTypes.info: - this.addParseResultItem(a2, e3, A.ParseResultTypes.info, u.CodeParseItemMessage.createArchitectExpressionInfo(i5.resultMessage).addSuggestions(i5.fixes), t4, t4); + case b.ParseResultTypes.info: + this.addParseResultItem(s2, e3, b.ParseResultTypes.info, u.CodeParseItemMessage.createArchitectExpressionInfo(t4.resultMessage).addSuggestions(t4.fixes), i5, i5); break; - case A.ParseResultTypes.error: + case b.ParseResultTypes.error: default: - this.addParseResultItem(a2, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createArchitectExpressionInfo(i5.resultMessage).addSuggestions(i5.fixes), t4, t4, null, i5.preventsJsonStandardModeSwitch); + this.addParseResultItem(s2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createArchitectExpressionInfo(t4.resultMessage).addSuggestions(t4.fixes), i5, i5, null, t4.preventsJsonStandardModeSwitch); } } } break; - case R.archLiteral: - const i4 = a2.type.listManager; + case L.archLiteral: + const i4 = s2.type.listManager; if (i4) { const n4 = null == t3 ? void 0 : t3.trim(), r3 = (e4) => { - s2.updateFromConfigListManagerItem(e4); + l2.updateFromConfigListManagerItem(e4); let t4 = this._rootParseItem.dependencies[i4.dependencyType.value]; t4 || (t4 = {}, this._rootParseItem.dependencies[i4.dependencyType.value] = t4), t4[e4.id] = { name: e4.name }; }, o3 = () => { - this.addParseResultItem(a2, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createArchitectLiteralInfo((0, N.sprintf)(v.codeEditor.types.typeNotFoundError, a2.type.displayString, n4)).setFacetInfo({ facet: S.jsonParseItemFacet.propFacetReferencedObjectNotFound, facetOutOfBoundsValue: n4 }), null, null, null, this._parseForUiOnly); + this.addParseResultItem(s2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createArchitectLiteralInfo((0, E.sprintf)(D.codeEditor.types.typeNotFoundError, s2.type.displayString, n4)).setFacetInfo({ facet: C.jsonParseItemFacet.propFacetReferencedObjectNotFound, facetOutOfBoundsValue: n4 }), null, null, null, this._parseForUiOnly); }; if (!(null === global || void 0 === global ? void 0 : global.window)) { i4.findOrFetchItemByName(n4).then((e4) => { - r3(e4), this._setJsonValExpressionRef(a2, s2); + r3(e4), this._setJsonValExpressionRef(s2, l2); }).catch((e4) => { - throw o3(), (0, N.sprintf)(v.codeEditor.types.typeNotFoundError, a2.type.displayString, n4); + throw o3(), (0, E.sprintf)(D.codeEditor.types.typeNotFoundError, s2.type.displayString, n4); }); break; } @@ -45776,26 +49756,26 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; e4 ? r3(e4) : o3(); } } else { - const t4 = (0, N.sprintf)(v.codeEditor.types.typeDoesNotSupportLiteralDropdownError, a2.type.displayString), i5 = (0, N.sprintf)(v.generic.joinTwoSentences, t4, v.codeEditor.types.typeDoesNotSupportLiteralDropdownAddendum), n4 = a2.type.isJsonType && !a2.type.isCustomType; - this.addParseResultItem(a2, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createArchitectLiteralInfo(n4 ? i5 : t4)); + const t4 = (0, E.sprintf)(D.codeEditor.types.typeDoesNotSupportLiteralDropdownError, s2.type.displayString), i5 = (0, E.sprintf)(D.generic.joinTwoSentences, t4, D.codeEditor.types.typeDoesNotSupportLiteralDropdownAddendum), n4 = s2.type.isJsonType && !s2.type.isCustomType; + this.addParseResultItem(s2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createArchitectLiteralInfo(n4 ? i5 : t4)); } } - this._setJsonValExpressionRef(a2, s2); + this._setJsonValExpressionRef(s2, l2); } finally { - null == s2 || s2.destroy(); + null == l2 || l2.destroy(); } - return this._popValueAssignment(a2, e3); + return this._popValueAssignment(s2, e3); } _popValueAssignment(e3, t3) { let i3 = true; switch (e3.mode) { - case E.array: + case F.array: break; - case E.objectPropertyValue: + case F.objectPropertyValue: i3 = !!this._popParseItem(t3); break; - case E.root: - e3.mode = E.complete; + case F.root: + e3.mode = F.complete; } return this._updateLastAssignedForNode(t3), this._currentObjectOrArray && (this._currentObjectOrArray.hasSeparator = false), i3; } @@ -45803,10 +49783,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const i3 = { __isArchExpr: true, expressionId: t3.id }; if (void 0 === e3.configVal.json) e3.configVal.json = i3; else switch (e3.mode) { - case E.array: + case F.array: e3.configVal.json.push(i3); break; - case E.objectPropertyValue: { + case F.objectPropertyValue: { const n3 = e3.configVal.json[e3.propertyName]; r2.default.isArray(n3) ? n3.push(i3) : e3.configVal.json[e3.propertyName || t3.id] = i3; break; @@ -45815,124 +49795,125 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; e3.configVal.exprs[t3.id] = { propertiesBucketName: e3.propertyName, expression: (null == t3 ? void 0 : t3.model) ? r2.default.deepClone(t3.model) : void 0 }; } addSeparator(e3) { + this._closeIncompleteObjectPropertyValueIfNeeded(e3); const t3 = this._checkNotAlreadyDone(e3); - return !!t3 && (this._currentObjectOrArray && this._currentObjectOrArray.lastAssigned && !this._currentObjectOrArray.hasSeparator ? void (this._currentObjectOrArray.hasSeparator = true) : (this.addParseResultItem(t3, e3, A.ParseResultTypes.error, u.CodeParseItemMessage.createUnnecessarySeparator(this._getNodeText(e3)).addSuggestion((0, h.createFixRemoveUnnecessarySeparator)(this._languageCharacteristics.itemSeparator))), false)); + return !!t3 && (this._currentObjectOrArray && this._currentObjectOrArray.lastAssigned && !this._currentObjectOrArray.hasSeparator ? void (this._currentObjectOrArray.hasSeparator = true) : (this.addParseResultItem(t3, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createUnnecessarySeparator(this._getNodeText(e3)).addSuggestion((0, h.createFixRemoveUnnecessarySeparator)(this._languageCharacteristics.itemSeparator))), false)); } _checkForMissingSeparator(e3, t3) { var i3, n3, o2, a2, s2; - this._languageCharacteristics.itemSeparator && ((null === (i3 = this._currentObjectOrArray) || void 0 === i3 ? void 0 : i3.hasSeparator) || r2.default.isEmpty(this._currentObjectOrArray.configVal.json) ? this._currentObjectOrArray.hasSeparator = false : this.addParseResultItem(e3, t3, A.ParseResultTypes.warn, u.CodeParseItemMessage.createTokenMissing(this._languageCharacteristics.itemSeparator).addSuggestion((0, _.createFixAddMissingSeparator)(this._languageCharacteristics.itemSeparator)), null === (o2 = null === (n3 = this._currentObjectOrArray) || void 0 === n3 ? void 0 : n3.lastAssigned) || void 0 === o2 ? void 0 : o2.to, null === (s2 = null === (a2 = this._currentObjectOrArray) || void 0 === a2 ? void 0 : a2.lastAssigned) || void 0 === s2 ? void 0 : s2.to)); + this._languageCharacteristics.itemSeparator && ((null === (i3 = this._currentObjectOrArray) || void 0 === i3 ? void 0 : i3.hasSeparator) || r2.default.isEmpty(this._currentObjectOrArray.configVal.json) ? this._currentObjectOrArray.hasSeparator = false : this.addParseResultItem(e3, t3, b.ParseResultTypes.warn, u.CodeParseItemMessage.createTokenMissing(this._languageCharacteristics.itemSeparator).addSuggestion((0, _.createFixAddMissingSeparator)(this._languageCharacteristics.itemSeparator)), null === (o2 = null === (n3 = this._currentObjectOrArray) || void 0 === n3 ? void 0 : n3.lastAssigned) || void 0 === o2 ? void 0 : o2.to, null === (s2 = null === (a2 = this._currentObjectOrArray) || void 0 === a2 ? void 0 : a2.lastAssigned) || void 0 === s2 ? void 0 : s2.to)); } parseItemIsRawJson(e3) { return e3 && e3.type.isJsonType && !e3.type.isCustomType; } - wantZeroPaddedNumericValueForPart(e3, t3, i3, n3, r3, o2, a2, s2, l2, d2, c2) { + wantZeroPaddedNumericValueForPart(e3, t3, i3, n3, r3, o2, a2, s2, l2, c2, d2) { const p2 = (null == e3 ? void 0 : e3.length) || 0; if (r3 >= p2) { const e4 = l2(); - return void this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createInvalidTypeValue(n3).addWhat(e4.message).addSuggestions(e4.suggestions), t3.from + r3 + 1, t3.from + r3 + 1); + return void this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createInvalidTypeValue(n3).addWhat(e4.message).addSuggestions(e4.suggestions), t3.from + r3 + 1, t3.from + r3 + 1); } let _2; for (_2 = r3; _2 < r3 + o2 && e3[_2] >= "0" && e3[_2] <= "9"; _2++) ; const h2 = parseInt(e3.substring(r3, r3 + _2)); if (_2 !== r3 + o2) { if (h2 >= s2 && h2 <= s2 && _2 === p2) { - const e4 = c2(); + const e4 = d2(); let l3 = h2.toString(); for (; l3.length < o2; ) l3 = "0" + l3; - return void this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueIncomplete(n3).addWhat(e4.message).addFacetsMinMax(a2, s2).addSuggestion((0, m.createFixReplaceText)(l3, l3, `Update '${h2}' to '${l3}'.`)), t3.from + r3 + 1, t3.from + r3 + o2); + return void this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueIncomplete(n3).addWhat(e4.message).addFacetsMinMax(a2, s2).addSuggestion((0, m.createFixReplaceText)(l3, l3, `Update '${h2}' to '${l3}'.`)), t3.from + r3 + 1, t3.from + r3 + o2); } { - const e4 = c2(); - return void this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueIncomplete(n3).addWhat(e4.message).addFacetsMinMax(a2, s2), t3.from + r3 + 1, t3.from + r3 + o2); + const e4 = d2(); + return void this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueIncomplete(n3).addWhat(e4.message).addFacetsMinMax(a2, s2), t3.from + r3 + 1, t3.from + r3 + o2); } } if (h2 < a2 || h2 > s2) { - const e4 = d2(); - return void (h2 > s2 ? this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooBig(h2, a2, true, s2, true).addWhat(e4.message).addSuggestions(e4.suggestions), t3.from + r3 + 1, t3.from + r3 + o2 + 1) : this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooSmall(h2, a2, true, s2, true).addWhat(e4.message).addSuggestions(e4.suggestions), t3.from + r3 + 1, t3.from + r3 + o2 + 1)); + const e4 = c2(); + return void (h2 > s2 ? this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooBig(h2, a2, true, s2, true).addWhat(e4.message).addSuggestions(e4.suggestions), t3.from + r3 + 1, t3.from + r3 + o2 + 1) : this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooSmall(h2, a2, true, s2, true).addWhat(e4.message).addSuggestions(e4.suggestions), t3.from + r3 + 1, t3.from + r3 + o2 + 1)); } return h2; } - _getNumberFromStr(e3, t3, i3, n3, r3, o2, a2, s2, l2, d2, c2) { + _getNumberFromStr(e3, t3, i3, n3, r3, o2, a2, s2, l2, c2, d2) { let p2, _2, h2, m2, g2, T2 = n3; for ("-" === e3[T2] && (T2++, p2 = true); e3[T2] >= "0" && e3[T2] <= "9"; ) e3[T2] >= "1" && isNaN(g2) ? g2 = 1 : g2++, T2++; if (o2 && "." === e3[T2]) { h2 = T2, m2 = 0, _2 = true; let r4 = e3[T2 + m2 + 1]; for (; r4 >= "0" && r4 <= "9"; ) m2++, r4 >= "1" && isNaN(g2) ? g2 = 1 : g2++, r4 = e3[T2 + m2 + 1]; - if (void 0 !== l2 && m2 > l2) return void this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(e3.substring(n3, T2 + m2 + 1)).addWhat(v.codeEditor.parseErrors.tokens.tooManyDecimalPlaces, [m2.toString(), l2.toString()]), t3.from + n3 + 1, t3.from + T2 + m2 + 1); + if (void 0 !== l2 && m2 > l2) return void this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(e3.substring(n3, T2 + m2 + 1)).addWhat(D.codeEditor.parseErrors.tokens.tooManyDecimalPlaces, [m2.toString(), l2.toString()]), t3.from + n3 + 1, t3.from + T2 + m2 + 1); T2 = T2 + m2 + 1; } - if (n3 === T2) return void (c2 || this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createMissingValue("Missing number.").addWhat(a2), t3.from + n3 + 1, t3.from + T2 + 1)); - if (!s2 && void 0 !== e3[T2]) return void (c2 || this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(e3[T2]).addWhat(v.codeEditor.parseErrors.invalidNumericCharacter).addWhat(a2), t3.from + T2 + 1, t3.from + T2 + 2)); + if (n3 === T2) return void (d2 || this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createMissingValue("Missing number.").addWhat(a2), t3.from + n3 + 1, t3.from + T2 + 1)); + if (!s2 && void 0 !== e3[T2]) return void (d2 || this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(e3[T2]).addWhat(D.codeEditor.parseErrors.invalidNumericCharacter).addWhat(a2), t3.from + T2 + 1, t3.from + T2 + 2)); const y2 = e3.substring(n3, T2); - if ((_2 || d2) && g2 > f.default.maxPrecision) return void this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(y2, I.globalTypes.decimal.displayString).addWhat(v.codeEditor.types.codeEditorValueTooPrecise).addWhat(v.codeEditor.types.decimalValueSignificantDigits, [null == g2 ? void 0 : g2.toString()]).addFacetsMinMax(void 0, f.default.maxPrecision), t3.from + n3, t3.to + 1); + if ((_2 || c2) && g2 > f.default.maxPrecision) return void this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(y2, R.globalTypes.decimal.displayString).addWhat(D.codeEditor.types.codeEditorValueTooPrecise).addWhat(D.codeEditor.types.decimalValueSignificantDigits, [null == g2 ? void 0 : g2.toString()]).addFacetsMinMax(void 0, f.default.maxPrecision), t3.from + n3, t3.to + 1); const S2 = _2 ? parseFloat(y2) : parseInt(e3.substring(n3, T2), 10); - if (isNaN(S2)) c2 || this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(y2).addWhat(v.codeEditor.parseErrors.invalidNumber).addWhat(a2), t3.from + n3 + 1, t3.from + n3 + y2.length + 1); + if (isNaN(S2)) d2 || this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(y2).addWhat(D.codeEditor.parseErrors.invalidNumber).addWhat(a2), t3.from + n3 + 1, t3.from + n3 + y2.length + 1); else if (o2 || !_2) { - if (r3 || _2) return _2 || d2 || ((p2 ? y2.substring(1) : y2).length > f.default.maxIntAsStr.length || y2 > f.default.maxIntAsStr) && (p2 ? this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueStrTooSmall(y2, f.default.minInt, true, f.default.maxInt, true), t3.from + n3, t3.from + n3 + y2.length + 1) : this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueStrTooBig(y2, f.default.minInt, true, f.default.maxInt, true), t3.from + n3, t3.from + n3 + y2.length + 1)), { isDecimal: _2, decimalSeparatorPos: h2, nextCharPos: T2, numVal: S2, numValEqualsStrVal: (null == S2 ? void 0 : S2.toString()) === e3.substring(n3, T2), numValAsStr: e3.substring(n3, T2) }; - this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(y2, I.globalTypes.integer.displayString).addWhat(v.codeEditor.types.integerCannotBeUsedHere).addWhat(a2), t3.from + n3 + 1, t3.to + 1); - } else this.addParseResultItem(i3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(y2, I.globalTypes.decimal.displayString).addWhat(v.codeEditor.types.decimalCannotBeUsedHere).addWhat(a2), t3.from + n3 + 1, t3.from + n3 + y2.length + 1); + if (r3 || _2) return _2 || c2 || ((p2 ? y2.substring(1) : y2).length > f.default.maxIntAsStr.length || y2 > f.default.maxIntAsStr) && (p2 ? this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueStrTooSmall(y2, f.default.minInt, true, f.default.maxInt, true), t3.from + n3, t3.from + n3 + y2.length + 1) : this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueStrTooBig(y2, f.default.minInt, true, f.default.maxInt, true), t3.from + n3, t3.from + n3 + y2.length + 1)), { isDecimal: _2, decimalSeparatorPos: h2, nextCharPos: T2, numVal: S2, numValEqualsStrVal: (null == S2 ? void 0 : S2.toString()) === e3.substring(n3, T2), numValAsStr: e3.substring(n3, T2) }; + this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(y2, R.globalTypes.integer.displayString).addWhat(D.codeEditor.types.integerCannotBeUsedHere).addWhat(a2), t3.from + n3 + 1, t3.to + 1); + } else this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(y2, R.globalTypes.decimal.displayString).addWhat(D.codeEditor.types.decimalCannotBeUsedHere).addWhat(a2), t3.from + n3 + 1, t3.from + n3 + y2.length + 1); } _checkDurationStr(e3, t3, i3) { const n3 = "-" === e3[0]; let o2 = n3 ? 1 : 0; - if (!this._checkSeparator(e3, i3, t3, "P", o2, () => u.CodeParseItemMessage.createTokenMissing("P", I.globalTypes.duration.displayString).addWhat(v.codeEditor.types.durationXsdFormat))) return false; + if (!this._checkSeparator(e3, i3, t3, "P", o2, () => u.CodeParseItemMessage.createTokenMissing("P", R.globalTypes.duration.displayString).addWhat(D.codeEditor.types.durationXsdFormat))) return false; o2++; const a2 = {}; let s2, l2 = 0; - const d2 = e3.length; - for (; o2 < d2; ) if ("T" === e3[o2]) { - if (s2) return this.addParseResultItem(t3, i3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenDuplicate("T", I.globalTypes.duration.displayString).addWhat(v.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + o2 + 2), false; + const c2 = e3.length; + for (; o2 < c2; ) if ("T" === e3[o2]) { + if (s2) return this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenDuplicate("T", R.globalTypes.duration.displayString).addWhat(D.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + o2 + 2), false; s2 = true, o2++; } else { - const n4 = this._getNumberFromStr(e3, i3, t3, o2, true, true, v.codeEditor.types.durationXsdFormat, true, 3); + const n4 = this._getNumberFromStr(e3, i3, t3, o2, true, true, D.codeEditor.types.durationXsdFormat, true, 3); if (!n4) return false; o2 = n4.nextCharPos; const r3 = e3[o2]; - let d3, c2; + let c3, d2; switch (r3) { case "D": - c2 = true, d3 = f.default.msPerDay; + d2 = true, c3 = f.default.msPerDay; break; case "H": - d3 = f.default.msPerHour; + c3 = f.default.msPerHour; break; case "M": - d3 = f.default.msPerMinute; + c3 = f.default.msPerMinute; break; case "S": - d3 = f.default.msPerSecond; + c3 = f.default.msPerSecond; break; default: - return void 0 !== r3 ? this.addParseResultItem(t3, i3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(r3, I.globalTypes.duration.displayString).addWhat(v.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + o2 + 1) : this.addParseResultItem(t3, i3, A.ParseResultTypes.error, u.CodeParseItemMessage.createInvalidTypeValue(I.globalTypes.duration.displayString).addWhat(v.codeEditor.types.durationMustSpecifyDHMS).addWhat(v.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + o2 + 1), false; + return void 0 !== r3 ? this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(r3, R.globalTypes.duration.displayString).addWhat(D.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + o2 + 1) : this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createInvalidTypeValue(R.globalTypes.duration.displayString).addWhat(D.codeEditor.types.durationMustSpecifyDHMS).addWhat(D.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + o2 + 1), false; } - if ("S" !== r3 && n4.isDecimal) return this.addParseResultItem(t3, i3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTypesIncompatible(I.globalTypes.decimal.displayString, I.globalTypes.integer.displayString).addWhat(v.codeEditor.types.durationOnlySecondsCanBeDecimal).addWhat(v.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + n4.nextCharPos), false; - if (a2[r3]) return this.addParseResultItem(t3, i3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenDuplicate(r3, I.globalTypes.duration.displayString).addWhat(v.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + o2 + 2), false; - if (a2[r3] = true, o2++, d3) { - if (c2 && s2) return this.addParseResultItem(t3, i3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(r3).addWhat(v.codeEditor.parseErrors.tokens.invalidTokenOrderMustPrecede, [r3, "T"]).addWhat(v.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + o2 + 2), false; - if (!c2 && !s2) return this.addParseResultItem(t3, i3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(r3).addWhat(v.codeEditor.parseErrors.tokens.invalidTokenOrderMustFollow, [r3, "T"]).addWhat(v.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + o2 + 2), false; + if ("S" !== r3 && n4.isDecimal) return this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTypesIncompatible(R.globalTypes.decimal.displayString, R.globalTypes.integer.displayString).addWhat(D.codeEditor.types.durationOnlySecondsCanBeDecimal).addWhat(D.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + n4.nextCharPos), false; + if (a2[r3]) return this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenDuplicate(r3, R.globalTypes.duration.displayString).addWhat(D.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + o2 + 2), false; + if (a2[r3] = true, o2++, c3) { + if (d2 && s2) return this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(r3).addWhat(D.codeEditor.parseErrors.tokens.invalidTokenOrderMustPrecede, [r3, "T"]).addWhat(D.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + o2 + 2), false; + if (!d2 && !s2) return this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(r3).addWhat(D.codeEditor.parseErrors.tokens.invalidTokenOrderMustFollow, [r3, "T"]).addWhat(D.codeEditor.types.durationXsdFormat), i3.from + o2 + 1, i3.from + o2 + 2), false; void 0 === n4.numVal || isNaN(n4.numVal) || (l2 += n4.numVal * f.default.msPerDay); } } - return n3 && (l2 *= -1), l2 > f.default.maxDurationMs ? (this.addParseResultItem(t3, i3, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooBig().addWhat(v.codeEditor.types.durationMaxValue)), false) : l2 < f.default.minDurationMs ? (this.addParseResultItem(t3, i3, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooSmall().addWhat(v.codeEditor.types.durationMinValue)), false) : !r2.default.isEmpty(a2) || (this.addParseResultItem(t3, i3, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueIncomplete(I.globalTypes.duration.displayString).addWhat(v.codeEditor.types.durationMustSpecifyMinimum).addWhat(v.codeEditor.types.durationXsdFormat)), false); + return n3 && (l2 *= -1), l2 > f.default.maxDurationMs ? (this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooBig().addWhat(D.codeEditor.types.durationMaxValue)), false) : l2 < f.default.minDurationMs ? (this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooSmall().addWhat(D.codeEditor.types.durationMinValue)), false) : !r2.default.isEmpty(a2) || (this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueIncomplete(R.globalTypes.duration.displayString).addWhat(D.codeEditor.types.durationMustSpecifyMinimum).addWhat(D.codeEditor.types.durationXsdFormat)), false); } _checkDateStr(e3, t3, i3, n3) { - const o2 = n3 ? I.globalTypes.dateTime.displayString : I.globalTypes.date.displayString, a2 = this.wantZeroPaddedNumericValueForPart(e3, i3, t3, o2, 0, 4, f.default.minDateYear, f.default.maxDateYear, () => { + const o2 = n3 ? R.globalTypes.dateTime.displayString : R.globalTypes.date.displayString, a2 = this.wantZeroPaddedNumericValueForPart(e3, i3, t3, o2, 0, 4, f.default.minDateYear, f.default.maxDateYear, () => { const e4 = (/* @__PURE__ */ new Date()).toISOString().substring(0, 19) + ".000"; - if (n3) return { message: (0, N.sprintf)(v.codeEditor.types.valueMustBeInGivenFormat, o2, f.default.dateTimeFormat), suggestions: [(0, m.createFixReplaceText)((0, N.sprintf)(v.codeEditor.suggestions.replaceWith, e4), e4, v.codeEditor.types.dateTimeSupplyCurrent)] }; + if (n3) return { message: (0, E.sprintf)(D.codeEditor.types.valueMustBeInGivenFormat, o2, f.default.dateTimeFormat), suggestions: [(0, m.createFixReplaceText)((0, E.sprintf)(D.codeEditor.suggestions.replaceWith, e4), e4, D.codeEditor.types.dateTimeSupplyCurrent)] }; { const t4 = e4.substring(0, 11); - return { message: (0, N.sprintf)(v.codeEditor.types.valueMustBeInGivenFormat, o2, f.default.dateTimeFormat), suggestions: [(0, m.createFixReplaceText)((0, N.sprintf)(v.codeEditor.suggestions.replaceWith, t4), t4, v.codeEditor.types.dateSupplyCurrent)] }; + return { message: (0, E.sprintf)(D.codeEditor.types.valueMustBeInGivenFormat, o2, f.default.dateTimeFormat), suggestions: [(0, m.createFixReplaceText)((0, E.sprintf)(D.codeEditor.suggestions.replaceWith, t4), t4, D.codeEditor.types.dateSupplyCurrent)] }; } - }, () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeOutOfBounds, v.codeEditor.units.yearUnitLabel) }), () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeUnitNeedsDigitValue, v.codeEditor.units.yearUnitLabel, b.year.toString()) })); + }, () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeOutOfBounds, D.codeEditor.units.yearUnitLabel) }), () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValue, D.codeEditor.units.yearUnitLabel, M.year.toString()) })); if (!r2.default.isActualNumber(a2)) return false; - if (!this._checkSeparator(e3, i3, t3, "-", 4, () => u.CodeParseItemMessage.createInvalidTypeValue(o2).addWhat(v.codeEditor.types.timeInvalidSeparatorYearMonth))) return false; + if (!this._checkSeparator(e3, i3, t3, "-", 4, () => u.CodeParseItemMessage.createInvalidTypeValue(o2).addWhat(D.codeEditor.types.timeInvalidSeparatorYearMonth))) return false; const s2 = this.wantZeroPaddedNumericValueForPart(e3, i3, t3, o2, 5, 2, 1, 12, () => { let e4 = ((/* @__PURE__ */ new Date()).getMonth() + 1).toString(); - return 1 === e4.length && (e4 = "0" + e4), { message: (0, N.sprintf)(v.codeEditor.types.timeUnitNeedsDigitValueForDataType, v.codeEditor.units.monthUnitLabel, b.month.toString(), o2), suggestions: [(0, m.createFixReplaceText)((0, N.sprintf)(v.codeEditor.suggestions.replaceWith, e4), e4, v.codeEditor.types.timeSupplyMonthFromToday)] }; - }, () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeOutOfBounds, v.codeEditor.units.monthUnitLabel) }), () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeUnitNeedsDigitValue, v.codeEditor.units.monthUnitLabel, b.month.toString()) })); + return 1 === e4.length && (e4 = "0" + e4), { message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValueForDataType, D.codeEditor.units.monthUnitLabel, M.month.toString(), o2), suggestions: [(0, m.createFixReplaceText)((0, E.sprintf)(D.codeEditor.suggestions.replaceWith, e4), e4, D.codeEditor.types.timeSupplyMonthFromToday)] }; + }, () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeOutOfBounds, D.codeEditor.units.monthUnitLabel) }), () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValue, D.codeEditor.units.monthUnitLabel, M.month.toString()) })); if (!r2.default.isActualNumber(s2)) return false; - if (!this._checkSeparator(e3, i3, t3, "-", 7, () => u.CodeParseItemMessage.createInvalidTypeValue(o2).addWhat(v.codeEditor.types.timeInvalidSeparatorMonthDay))) return false; + if (!this._checkSeparator(e3, i3, t3, "-", 7, () => u.CodeParseItemMessage.createInvalidTypeValue(o2).addWhat(D.codeEditor.types.timeInvalidSeparatorMonthDay))) return false; let l2; switch (s2) { case 1: @@ -45950,91 +49931,137 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; default: l2 = 30; } - const d2 = this.wantZeroPaddedNumericValueForPart(e3, i3, t3, o2, 8, 2, 1, l2, () => { + const c2 = this.wantZeroPaddedNumericValueForPart(e3, i3, t3, o2, 8, 2, 1, l2, () => { let e4 = (/* @__PURE__ */ new Date()).getDate().toString(); - return 1 === e4.length && (e4 = "0" + e4), { message: (0, N.sprintf)(v.codeEditor.types.timeUnitNeedsDigitValueForDataType, v.codeEditor.units.dayUnitLabel, b.day.toString(), o2), suggestions: [(0, m.createFixReplaceText)((0, N.sprintf)(v.codeEditor.suggestions.replaceWith, e4), e4, v.codeEditor.types.timeSupplyDayFromMonth)] }; - }, () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeOutOfBounds, v.codeEditor.units.dayUnitLabel) }), () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeUnitNeedsDigitValue, v.codeEditor.units.dayUnitLabel, b.day.toString()) })); - return r2.default.isActualNumber(d2); + return 1 === e4.length && (e4 = "0" + e4), { message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValueForDataType, D.codeEditor.units.dayUnitLabel, M.day.toString(), o2), suggestions: [(0, m.createFixReplaceText)((0, E.sprintf)(D.codeEditor.suggestions.replaceWith, e4), e4, D.codeEditor.types.timeSupplyDayFromMonth)] }; + }, () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeOutOfBounds, D.codeEditor.units.dayUnitLabel) }), () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValue, D.codeEditor.units.dayUnitLabel, M.day.toString()) })); + return r2.default.isActualNumber(c2); } _checkTimeStr(e3, t3, i3, n3) { - const o2 = n3 ? I.globalTypes.dateTime.displayString : I.globalTypes.date.displayString, a2 = n3 ? 11 : 0, s2 = this.wantZeroPaddedNumericValueForPart(e3, t3, i3, o2, a2, 2, 0, 23, () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeUnitNeedsDigitValue, v.codeEditor.units.hourUnitLabel, b.hour.toString()), suggestions: [(0, m.createFixReplaceText)((0, N.sprintf)(v.codeEditor.suggestions.replaceWith, "00"), "00", (0, N.sprintf)(v.codeEditor.types.timeUseStringDoubleZero, v.codeEditor.units.hourUnitLabel))] }), () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeOutOfBounds, v.codeEditor.units.hourUnitLabel) }), () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeUnitNeedsDigitValue, v.codeEditor.units.hourUnitLabel, b.hour.toString()) })); + const o2 = n3 ? R.globalTypes.dateTime.displayString : R.globalTypes.date.displayString, a2 = n3 ? 11 : 0, s2 = this.wantZeroPaddedNumericValueForPart(e3, t3, i3, o2, a2, 2, 0, 23, () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValue, D.codeEditor.units.hourUnitLabel, M.hour.toString()), suggestions: [(0, m.createFixReplaceText)((0, E.sprintf)(D.codeEditor.suggestions.replaceWith, "00"), "00", (0, E.sprintf)(D.codeEditor.types.timeUseStringDoubleZero, D.codeEditor.units.hourUnitLabel))] }), () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeOutOfBounds, D.codeEditor.units.hourUnitLabel) }), () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValue, D.codeEditor.units.hourUnitLabel, M.hour.toString()) })); if (!r2.default.isActualNumber(s2)) return false; - if (!this._checkSeparator(e3, t3, i3, ":", 2 + a2, () => u.CodeParseItemMessage.createInvalidTypeValue(o2).addWhat(v.codeEditor.types.timeInvalidSeparatorHourMinute))) return false; - const l2 = this.wantZeroPaddedNumericValueForPart(e3, t3, i3, o2, 3 + a2, 2, 0, 59, () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeUnitNeedsDigitValue, v.codeEditor.units.minuteUnitLabel, b.minute.toString()), suggestions: [(0, m.createFixReplaceText)((0, N.sprintf)(v.codeEditor.suggestions.replaceWith, "00"), "00", (0, N.sprintf)(v.codeEditor.types.timeUseStringDoubleZero, v.codeEditor.units.minuteUnitLabel))] }), () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeOutOfBounds, v.codeEditor.units.minuteUnitLabel) }), () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeUnitNeedsDigitValue, v.codeEditor.units.minuteUnitLabel, b.minute.toString()) })); + if (!this._checkSeparator(e3, t3, i3, ":", 2 + a2, () => u.CodeParseItemMessage.createInvalidTypeValue(o2).addWhat(D.codeEditor.types.timeInvalidSeparatorHourMinute))) return false; + const l2 = this.wantZeroPaddedNumericValueForPart(e3, t3, i3, o2, 3 + a2, 2, 0, 59, () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValue, D.codeEditor.units.minuteUnitLabel, M.minute.toString()), suggestions: [(0, m.createFixReplaceText)((0, E.sprintf)(D.codeEditor.suggestions.replaceWith, "00"), "00", (0, E.sprintf)(D.codeEditor.types.timeUseStringDoubleZero, D.codeEditor.units.minuteUnitLabel))] }), () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeOutOfBounds, D.codeEditor.units.minuteUnitLabel) }), () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValue, D.codeEditor.units.minuteUnitLabel, M.minute.toString()) })); if (!r2.default.isActualNumber(l2)) return false; - if (!this._checkSeparator(e3, t3, i3, ":", 5 + a2, () => u.CodeParseItemMessage.createInvalidTypeValue(o2).addWhat(v.codeEditor.types.timeInvalidSeparatorMinuteSecond))) return false; - const d2 = this.wantZeroPaddedNumericValueForPart(e3, t3, i3, o2, 6 + a2, 2, 0, 59, () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeUnitNeedsDigitValue, v.codeEditor.units.secondUnitLabel, b.second.toString()), suggestions: [(0, m.createFixReplaceText)((0, N.sprintf)(v.codeEditor.suggestions.replaceWith, "00"), "00", (0, N.sprintf)(v.codeEditor.types.timeUseStringDoubleZero, v.codeEditor.units.secondUnitLabel))] }), () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeOutOfBounds, v.codeEditor.units.secondUnitLabel) }), () => ({ message: (0, N.sprintf)(v.codeEditor.types.timeUnitNeedsDigitValue, v.codeEditor.units.secondUnitLabel, b.second.toString()) })); - return r2.default.isActualNumber(d2); + if (!this._checkSeparator(e3, t3, i3, ":", 5 + a2, () => u.CodeParseItemMessage.createInvalidTypeValue(o2).addWhat(D.codeEditor.types.timeInvalidSeparatorMinuteSecond))) return false; + const c2 = this.wantZeroPaddedNumericValueForPart(e3, t3, i3, o2, 6 + a2, 2, 0, 59, () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValue, D.codeEditor.units.secondUnitLabel, M.second.toString()), suggestions: [(0, m.createFixReplaceText)((0, E.sprintf)(D.codeEditor.suggestions.replaceWith, "00"), "00", (0, E.sprintf)(D.codeEditor.types.timeUseStringDoubleZero, D.codeEditor.units.secondUnitLabel))] }), () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeOutOfBounds, D.codeEditor.units.secondUnitLabel) }), () => ({ message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValue, D.codeEditor.units.secondUnitLabel, M.second.toString()) })); + return r2.default.isActualNumber(c2); } _checkSeparator(e3, t3, i3, n3, r3, o2) { if (e3[r3] !== n3) { let a2, s2 = 0; - e3.length >= r3 && e3[r3] < "0" || e3[r3] > "9" ? (a2 = [(0, m.createFixReplaceText)(n3, n3, (0, N.sprintf)(v.codeEditor.suggestions.separators.replaceSeparatorSuggestion, n3))], s2 = 1) : e3.length === r3 && (a2 = [(0, p.createAppendTextFix)(n3, n3, (0, N.sprintf)(v.codeEditor.suggestions.separators.addSeparatorSuggestion, n3))]); + e3.length >= r3 && e3[r3] < "0" || e3[r3] > "9" ? (a2 = [(0, m.createFixReplaceText)(n3, n3, (0, E.sprintf)(D.codeEditor.suggestions.separators.replaceSeparatorSuggestion, n3))], s2 = 1) : e3.length === r3 && (a2 = [(0, p.createAppendTextFix)(n3, n3, (0, E.sprintf)(D.codeEditor.suggestions.separators.addSeparatorSuggestion, n3))]); const l2 = o2(); - return this.addParseResultItem(i3, t3, A.ParseResultTypes.error, l2.addSuggestions(a2), t3.from + r3 + 1, t3.from + r3 + 1 + s2), false; + return this.addParseResultItem(i3, t3, b.ParseResultTypes.error, l2.addSuggestions(a2), t3.from + r3 + 1, t3.from + r3 + 1 + s2), false; } return true; } _checkDateTimeStr(e3, t3, i3) { - return !!this._checkDateStr(e3.substring(0, 11), i3, t3, true) && (10 === e3.length || !!this._checkSeparator(e3, t3, i3, "T", 10, () => u.CodeParseItemMessage.createInvalidTypeValue(I.globalTypes.dateTime.displayString).addWhat(v.codeEditor.types.dateTimeInvalid)) && this._checkTimeStr(e3, t3, i3, true)); + return !!this._checkDateStr(e3.substring(0, 11), i3, t3, true) && (10 === e3.length || !!this._checkSeparator(e3, t3, i3, "T", 10, () => u.CodeParseItemMessage.createInvalidTypeValue(R.globalTypes.dateTime.displayString).addWhat(D.codeEditor.types.dateTimeInvalid)) && this._checkTimeStr(e3, t3, i3, true)); + } + _checkCurrencyStr(e3, t3, i3, n3) { + var r3; + const o2 = i3.type.parseLiteral(e3, n3); + if (o2.errorString) { + let n4, r4, a2; + if (o2.errorString === D.expressionsHelp.parameters.valueMustBeLiteralISO4217) { + const { amount: t4 } = y.CurrencyType.splitCurrencyLiteralParts(e3); + n4 = t4.length + 1, r4 = e3.length, a2 = u.CodeParseItemMessage.createInvalidTypeValue(i3.type.displayString).addWhat(D.expressionsHelp.parameters.valueMustBeLiteralISO4217); + } else a2 = u.CodeParseItemMessage.createInvalidTypeValue(i3.type.displayString).addWhat((0, E.sprintf)(D.codeEditor.types.valueMustBeInGivenFormat, i3.type.displayString, f.default.currencyLiteralFormat)); + return this.addParseResultItem(i3, t3, b.ParseResultTypes.error, a2, void 0 !== n4 ? t3.from + n4 + 1 : null, void 0 !== r4 ? t3.from + r4 + 1 : null, null, this._parseForUiOnly), null; + } + return null !== (r3 = o2.resultString) && void 0 !== r3 ? r3 : null; } _resolveValueAssignment(e3, t3, i3, n3) { var o2; if (!(null == e3 ? void 0 : e3.type)) return; let a2; switch (void 0 === i3 && (i3 = this._sourceText.substring(t3.from, t3.to)), n3) { - case R.boolean: - r2.default.isBoolean(i3) ? a2 = { archType: I.globalTypes.boolean, archValue: i3 ? f.default.true : f.default.false, jsonValue: i3, isBoolean: true } : r2.default.isString(i3) && (i3 === f.default.true ? a2 = { archType: I.globalTypes.boolean, archValue: f.default.true, jsonValue: true, isBoolean: true } : i3 === f.default.false && (a2 = { archType: I.globalTypes.boolean, archValue: f.default.false, jsonValue: false, isBoolean: true })), void 0 === a2 && this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalidIsNotType(i3, I.globalTypes.boolean.displayString)); + case L.boolean: + r2.default.isBoolean(i3) ? a2 = { archType: R.globalTypes.boolean, archValue: i3 ? f.default.true : f.default.false, jsonValue: i3, isBoolean: true } : r2.default.isString(i3) && (i3 === f.default.true ? a2 = { archType: R.globalTypes.boolean, archValue: f.default.true, jsonValue: true, isBoolean: true } : i3 === f.default.false && (a2 = { archType: R.globalTypes.boolean, archValue: f.default.false, jsonValue: false, isBoolean: true })), void 0 === a2 && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalidIsNotType(i3, R.globalTypes.boolean.displayString)); break; - case R.null: - (null === i3 || r2.default.isString(i3) && ("null" === i3 || i3 === f.default.notSet)) && (a2 = { archType: e3.type, archValue: f.default.notSet, jsonValue: null, isNull: true }), void 0 === a2 && (this.parseItemIsRawJson(e3) ? this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalidIsNotType(i3, "null")) : this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalidIsNotType(i3, f.default.notSet))); + case L.null: + (null === i3 || r2.default.isString(i3) && ("null" === i3 || i3 === f.default.notSet)) && (a2 = { archType: e3.type, archValue: f.default.notSet, jsonValue: null, isNull: true }), void 0 === a2 && (this.parseItemIsRawJson(e3) ? this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalidIsNotType(i3, "null")) : this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalidIsNotType(i3, f.default.notSet))); break; - case R.string: { + case L.string: { let n4; - r2.default.isString(i3) && (e3.type.isMatch(I.globalTypes.string) || e3.type.isMatch(I.globalTypes.json) ? a2 = { archType: e3.type, archValue: i3, jsonValue: i3, isString: true } : e3.type.isMatch(I.globalTypes.dateTime) ? (this._checkDateTimeStr(i3, t3, e3) && (a2 = { archType: e3.type, archValue: i3, jsonValue: i3, isDateTime: true }), n4 = true) : e3.type.isMatch(I.globalTypes.date) ? (this._checkDateStr(i3, e3, t3) && (a2 = { archType: e3.type, archValue: i3, jsonValue: i3, isDate: true }), n4 = true) : e3.type.isMatch(I.globalTypes.time) ? (this._checkTimeStr(i3, t3, e3) && (a2 = { archType: e3.type, archValue: i3, jsonValue: i3, isDate: true }), n4 = true) : e3.type.isMatch(I.globalTypes.duration) && (this._checkDurationStr(i3, e3, t3) && (a2 = { archType: e3.type, archValue: i3, jsonValue: i3, isDuration: true }), n4 = true)), void 0 !== a2 || n4 || this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalidIsNotType(i3, null === (o2 = e3.type) || void 0 === o2 ? void 0 : o2.displayString).addSuggestions(this._getIncompatibleTypeAssignmentSuggestions(e3.type, I.globalTypes.string, `"${i3}"`)), null, null, null, this._parseForUiOnly); + if (r2.default.isString(i3)) { + if (e3.type.isMatch(R.globalTypes.string) || e3.type.isMatch(R.globalTypes.json)) a2 = { archType: e3.type, archValue: i3, jsonValue: i3, isString: true }; + else if (e3.type.isMatch(R.globalTypes.dateTime)) this._checkDateTimeStr(i3, t3, e3) && (a2 = { archType: e3.type, archValue: i3, jsonValue: i3, isDateTime: true }), n4 = true; + else if (e3.type.isMatch(R.globalTypes.date)) this._checkDateStr(i3, e3, t3) && (a2 = { archType: e3.type, archValue: i3, jsonValue: i3, isDate: true }), n4 = true; + else if (e3.type.isMatch(R.globalTypes.time)) this._checkTimeStr(i3, t3, e3) && (a2 = { archType: e3.type, archValue: i3, jsonValue: i3, isDate: true }), n4 = true; + else if (e3.type.isMatch(R.globalTypes.duration)) this._checkDurationStr(i3, e3, t3) && (a2 = { archType: e3.type, archValue: i3, jsonValue: i3, isDuration: true }), n4 = true; + else if (e3.type.isMatch(R.globalTypes.currency)) { + if ("" === i3) a2 = { archType: e3.type, archValue: f.default.notSet, jsonValue: "", isCurrency: true }; + else { + const n5 = this._checkCurrencyStr(i3, t3, e3); + null !== n5 && (a2 = { archType: e3.type, archValue: n5, jsonValue: i3, isCurrency: true }); + } + n4 = true; + } + } + void 0 !== a2 || n4 || this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalidIsNotType(i3, null === (o2 = e3.type) || void 0 === o2 ? void 0 : o2.displayString).addSuggestions(this._getIncompatibleTypeAssignmentSuggestions(e3.type, R.globalTypes.string, `"${i3}"`)), null, null, null, this._parseForUiOnly); break; } - case R.number: { + case L.number: { const n4 = this._getNumberFromStr(i3, t3, e3, 0, true, true, void 0, false); - n4 && (a2 = n4.isDecimal ? { archType: I.globalTypes.decimal, archValue: n4.numValAsStr, jsonValue: n4.numValEqualsStrVal ? n4.numVal : n4.numValAsStr, isInteger: true, isNumber: true } : { archType: I.globalTypes.integer, archValue: n4.numValAsStr, jsonValue: n4.numValEqualsStrVal ? n4.numVal : n4.numValAsStr, isInteger: true, isNumber: true }); + n4 && (a2 = n4.isDecimal ? { archType: R.globalTypes.decimal, archValue: n4.numValAsStr, jsonValue: n4.numValEqualsStrVal ? n4.numVal : n4.numValAsStr, isInteger: true, isNumber: true } : { archType: R.globalTypes.integer, archValue: n4.numValAsStr, jsonValue: n4.numValEqualsStrVal ? n4.numVal : n4.numValAsStr, isInteger: true, isNumber: true }); break; } } return a2; } _assignValue(e3, t3, i3) { - var n3, r3, o2, a2, s2, l2, d2, c2, p2, _2, h2, g2, f2, T2, y2, O2, C2, b2, E2, R2, w, D, P, M, F, L, x, k, V, U, B; - const G = this.parseItemIsRawJson(e3), j = this.isParseItemArray(e3); - let W, q; - this.isParseItemArray(e3) && this._checkForMissingSeparator(e3, t3), G ? (W = I.globalTypes.json, q = i3.jsonValue) : (W = i3.isInteger && e3.type.isMatch(I.globalTypes.decimal) ? I.globalTypes.decimal : i3.archType, q = i3.archValue); - const Y = this._getNodeText(t3); - if (!(null == e3 ? void 0 : e3.type.isMatch(W))) return this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createIncompatibleTypesValueAssignment(W.displayString, Y, e3.type.displayString).addSuggestions(this._getIncompatibleTypeAssignmentSuggestions(e3.type, W, Y)), null, null, null, this._parseForUiOnly), false; - if ((null === (n3 = e3.expressionPropDef) || void 0 === n3 ? void 0 : n3.maxLength) && i3.isString && q.length > (null === (r3 = e3.expressionPropDef) || void 0 === r3 ? void 0 : r3.maxLength) && this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createStringLengthTooBig(q.length, null === (o2 = e3.expressionPropDef) || void 0 === o2 ? void 0 : o2.minLength, null === (a2 = e3.expressionPropDef) || void 0 === a2 ? void 0 : a2.maxLength).setFacetInfo({ facet: S.jsonParseItemFacet.propFacetMaxLength, facetOutOfBoundsValue: null == Y ? void 0 : Y.length, facetValue: null === (s2 = e3.expressionPropDef) || void 0 === s2 ? void 0 : s2.maxLength }).addSuggestion((0, m.createFixReplaceText)((0, N.sprintf)(v.codeEditor.types.truncateStringSuggestion, null === (l2 = e3.expressionPropDef) || void 0 === l2 ? void 0 : l2.maxLength), `"${q.substring(0, null === (d2 = e3.expressionPropDef) || void 0 === d2 ? void 0 : d2.maxLength)}"`))), (null === (c2 = e3.expressionPropDef) || void 0 === c2 ? void 0 : c2.minLength) && i3.isString && q.length < (null === (p2 = e3.expressionPropDef) || void 0 === p2 ? void 0 : p2.minLength)) { - let i4 = q; + var n3, r3, o2, a2, s2, l2, c2, d2, p2, _2, h2, g2, f2, T2, S2, v2, O2, I2, w2, P2, M2, F2, L2, x, k, V, U, B, G, j, W, q, Y, H; + const J = this.parseItemIsRawJson(e3), $ = this.isParseItemArray(e3); + let z, K; + this.isParseItemArray(e3) && this._checkForMissingSeparator(e3, t3), J ? (z = R.globalTypes.json, K = i3.jsonValue) : (z = i3.isInteger && e3.type.isMatch(R.globalTypes.decimal) ? R.globalTypes.decimal : i3.archType, K = i3.archValue); + const Q = this._getNodeText(t3); + if (!(null == e3 ? void 0 : e3.type.isMatch(z))) return this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createIncompatibleTypesValueAssignment(z.displayString, Q, e3.type.displayString).addSuggestions(this._getIncompatibleTypeAssignmentSuggestions(e3.type, z, Q)), null, null, null, this._parseForUiOnly), false; + if ((null === (n3 = e3.expressionPropDef) || void 0 === n3 ? void 0 : n3.maxLength) && i3.isString && K.length > (null === (r3 = e3.expressionPropDef) || void 0 === r3 ? void 0 : r3.maxLength) && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createStringLengthTooBig(K.length, null === (o2 = e3.expressionPropDef) || void 0 === o2 ? void 0 : o2.minLength, null === (a2 = e3.expressionPropDef) || void 0 === a2 ? void 0 : a2.maxLength).setFacetInfo({ facet: C.jsonParseItemFacet.propFacetMaxLength, facetOutOfBoundsValue: null == Q ? void 0 : Q.length, facetValue: null === (s2 = e3.expressionPropDef) || void 0 === s2 ? void 0 : s2.maxLength }).addSuggestion((0, m.createFixReplaceText)((0, E.sprintf)(D.codeEditor.types.truncateStringSuggestion, null === (l2 = e3.expressionPropDef) || void 0 === l2 ? void 0 : l2.maxLength), `"${K.substring(0, null === (c2 = e3.expressionPropDef) || void 0 === c2 ? void 0 : c2.maxLength)}"`))), (null === (d2 = e3.expressionPropDef) || void 0 === d2 ? void 0 : d2.minLength) && i3.isString && K.length < (null === (p2 = e3.expressionPropDef) || void 0 === p2 ? void 0 : p2.minLength)) { + let i4 = K; for (; i4.length < (null === (_2 = e3.expressionPropDef) || void 0 === _2 ? void 0 : _2.minLength); ) i4 += " "; - this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createStringLengthTooSmall(q.length, null === (h2 = e3.expressionPropDef) || void 0 === h2 ? void 0 : h2.minLength, null === (g2 = e3.expressionPropDef) || void 0 === g2 ? void 0 : g2.maxLength).setFacetInfo({ facet: S.jsonParseItemFacet.propFacetMinLength, facetOutOfBoundsValue: null == Y ? void 0 : Y.length, facetValue: null === (f2 = e3.expressionPropDef) || void 0 === f2 ? void 0 : f2.minLength })); + this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createStringLengthTooSmall(K.length, null === (h2 = e3.expressionPropDef) || void 0 === h2 ? void 0 : h2.minLength, null === (g2 = e3.expressionPropDef) || void 0 === g2 ? void 0 : g2.maxLength).setFacetInfo({ facet: C.jsonParseItemFacet.propFacetMinLength, facetOutOfBoundsValue: null == Q ? void 0 : Q.length, facetValue: null === (f2 = e3.expressionPropDef) || void 0 === f2 ? void 0 : f2.minLength })); } - if (void 0 !== (null === (T2 = e3.expressionPropDef) || void 0 === T2 ? void 0 : T2.maxValue) && i3.isNumber && (e3.expressionPropDef.maxValueInclusive ? q > e3.expressionPropDef.maxValue : q >= e3.expressionPropDef.maxValue)) { + if (void 0 !== (null === (T2 = e3.expressionPropDef) || void 0 === T2 ? void 0 : T2.maxValue) && i3.isNumber && (e3.expressionPropDef.maxValueInclusive ? K > e3.expressionPropDef.maxValue : K >= e3.expressionPropDef.maxValue)) { const i4 = e3.expressionPropDef.maxValue - (e3.expressionPropDef.maxValueInclusive ? 0 : 1); - this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooBig(q, null === (y2 = e3.expressionPropDef) || void 0 === y2 ? void 0 : y2.minValue, !!(null === (O2 = e3.expressionPropDef) || void 0 === O2 ? void 0 : O2.minValueInclusive), null === (C2 = e3.expressionPropDef) || void 0 === C2 ? void 0 : C2.maxValue, !!(null === (b2 = e3.expressionPropDef) || void 0 === b2 ? void 0 : b2.maxValueInclusive)).setFacetInfo({ facet: S.jsonParseItemFacet.propFacetMaxValue, facetOutOfBoundsValue: Y, facetValue: null === (E2 = e3.expressionPropDef) || void 0 === E2 ? void 0 : E2.maxValue }).addSuggestion((0, m.createFixReplaceText)((0, N.sprintf)(v.codeEditor.suggestions.replaceWith, i4), i4.toString(), (0, N.sprintf)(v.codeEditor.suggestions.maxValueClosestTo, q)))); + this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooBig(K, null === (S2 = e3.expressionPropDef) || void 0 === S2 ? void 0 : S2.minValue, !!(null === (v2 = e3.expressionPropDef) || void 0 === v2 ? void 0 : v2.minValueInclusive), null === (O2 = e3.expressionPropDef) || void 0 === O2 ? void 0 : O2.maxValue, !!(null === (I2 = e3.expressionPropDef) || void 0 === I2 ? void 0 : I2.maxValueInclusive)).setFacetInfo({ facet: C.jsonParseItemFacet.propFacetMaxValue, facetOutOfBoundsValue: Q, facetValue: null === (w2 = e3.expressionPropDef) || void 0 === w2 ? void 0 : w2.maxValue }).addSuggestion((0, m.createFixReplaceText)((0, E.sprintf)(D.codeEditor.suggestions.replaceWith, i4), i4.toString(), (0, E.sprintf)(D.codeEditor.suggestions.maxValueClosestTo, K)))); } - if (void 0 !== (null === (R2 = e3.expressionPropDef) || void 0 === R2 ? void 0 : R2.minValue) && i3.isNumber && (e3.expressionPropDef.minValueInclusive ? q < e3.expressionPropDef.minValue : q <= e3.expressionPropDef.minValue)) { + if (void 0 !== (null === (P2 = e3.expressionPropDef) || void 0 === P2 ? void 0 : P2.minValue) && i3.isNumber && (e3.expressionPropDef.minValueInclusive ? K < e3.expressionPropDef.minValue : K <= e3.expressionPropDef.minValue)) { const i4 = e3.expressionPropDef.minValue + (e3.expressionPropDef.minValueInclusive ? 0 : 1); - this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooSmall(q, null === (w = e3.expressionPropDef) || void 0 === w ? void 0 : w.minValue, !!(null === (D = e3.expressionPropDef) || void 0 === D ? void 0 : D.minValueInclusive), null === (P = e3.expressionPropDef) || void 0 === P ? void 0 : P.maxValue, !!(null === (M = e3.expressionPropDef) || void 0 === M ? void 0 : M.maxValueInclusive)).setFacetInfo({ facet: S.jsonParseItemFacet.propFacetMinValue, facetOutOfBoundsValue: Y, facetValue: null === (F = e3.expressionPropDef) || void 0 === F ? void 0 : F.minValue }).addSuggestion((0, m.createFixReplaceText)((0, N.sprintf)(v.codeEditor.suggestions.replaceWith, i4), i4.toString(), (0, N.sprintf)(v.codeEditor.suggestions.minValueClosestTo, q)))); + this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooSmall(K, null === (M2 = e3.expressionPropDef) || void 0 === M2 ? void 0 : M2.minValue, !!(null === (F2 = e3.expressionPropDef) || void 0 === F2 ? void 0 : F2.minValueInclusive), null === (L2 = e3.expressionPropDef) || void 0 === L2 ? void 0 : L2.maxValue, !!(null === (x = e3.expressionPropDef) || void 0 === x ? void 0 : x.maxValueInclusive)).setFacetInfo({ facet: C.jsonParseItemFacet.propFacetMinValue, facetOutOfBoundsValue: Q, facetValue: null === (k = e3.expressionPropDef) || void 0 === k ? void 0 : k.minValue }).addSuggestion((0, m.createFixReplaceText)((0, E.sprintf)(D.codeEditor.suggestions.replaceWith, i4), i4.toString(), (0, E.sprintf)(D.codeEditor.suggestions.minValueClosestTo, K)))); + } + if (i3.isCurrency) { + const i4 = null === (B = null === (U = null === (V = e3.expressionPropDef) || void 0 === V ? void 0 : V.model) || void 0 === U ? void 0 : U.properties) || void 0 === B ? void 0 : B.amount, n4 = null == i4 ? void 0 : i4.minValueParsedDecimal, r4 = null == i4 ? void 0 : i4.maxValueParsedDecimal; + if (void 0 !== n4 || void 0 !== r4) { + const o3 = "string" == typeof K ? y.CurrencyType.splitCurrencyLiteralParts(K).amount : ""; + if ("" !== o3) { + const a3 = (0, A.getParsedDecimal)(o3, N.VALIDATE_ALLOW_INTEGER_FORM); + void 0 !== a3 && (a3.isGreaterThan(r4) && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueStrTooBig(o3, null == i4 ? void 0 : i4.minValueStr, true, null == i4 ? void 0 : i4.maxValueStr, true).setFacetInfo({ facet: C.jsonParseItemFacet.propFacetMaxValue, facetOutOfBoundsValue: Q, facetValue: null == i4 ? void 0 : i4.maxValueStr })), a3.isLessThan(n4) && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueStrTooSmall(o3, null == i4 ? void 0 : i4.minValueStr, true, null == i4 ? void 0 : i4.maxValueStr, true).setFacetInfo({ facet: C.jsonParseItemFacet.propFacetMinValue, facetOutOfBoundsValue: Q, facetValue: null == i4 ? void 0 : i4.minValueStr }))); + } + } } - if (null === (x = null === (L = e3.expressionPropDef) || void 0 === L ? void 0 : L.allowableValues) || void 0 === x ? void 0 : x.length) { - const n4 = null === (k = i3.jsonValue) || void 0 === k ? void 0 : k.toString(); - (null === (V = e3.expressionPropDef) || void 0 === V ? void 0 : V.allowableValuesMap[n4]) || this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createValueNotInAllowableValues(n4, Object.keys(null === (U = e3.expressionPropDef) || void 0 === U ? void 0 : U.allowableValuesMap)).setFacetInfo({ facet: S.jsonParseItemFacet.propFacetAllowableValue, facetOutOfBoundsValue: n4, facetValue: null === (B = e3.expressionPropDef) || void 0 === B ? void 0 : B.allowableValues })); + if (null === (j = null === (G = e3.expressionPropDef) || void 0 === G ? void 0 : G.allowableValues) || void 0 === j ? void 0 : j.length) { + const n4 = null === (W = i3.jsonValue) || void 0 === W ? void 0 : W.toString(); + (null === (q = e3.expressionPropDef) || void 0 === q ? void 0 : q.allowableValuesMap[n4]) || this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueNotInAllowableValues(n4, Object.keys(null === (Y = e3.expressionPropDef) || void 0 === Y ? void 0 : Y.allowableValuesMap)).setFacetInfo({ facet: C.jsonParseItemFacet.propFacetAllowableValue, facetOutOfBoundsValue: n4, facetValue: null === (H = e3.expressionPropDef) || void 0 === H ? void 0 : H.allowableValues })); } - return j ? e3.configVal.json.push(i3.jsonValue) : this.isParseItemObjectPropertyValue(e3) && (e3.configVal.json[e3.propertyName] = i3.jsonValue), this.isParseItemArray(e3) && (e3.arrayItemPrefixSeparatorAdded = false), true; + return $ ? e3.configVal.json.push(i3.jsonValue) : this.isParseItemObjectPropertyValue(e3) && (e3.configVal.json[e3.propertyName] = i3.jsonValue), this.isParseItemArray(e3) && (e3.arrayItemPrefixSeparatorAdded = false), i3.isNull && this._addNullPropertyValueNoOpWarningIfConfigured(e3, t3, "jsonNull"), true; + } + _addNullPropertyValueNoOpWarningIfConfigured(e3, t3, i3) { + var n3, r3, o2, a2; + if (!this.isParseItemObjectPropertyValue(e3)) return; + const s2 = !!(null === (n3 = e3.expressionPropDef) || void 0 === n3 ? void 0 : n3.isRequired), l2 = !!(null === (r3 = e3.expressionPropDef) || void 0 === r3 ? void 0 : r3.isPatchable), c2 = (0, I.isCustomJsonExpressionType)(null === (o2 = this._rootExpression) || void 0 === o2 ? void 0 : o2.type) ? this._rootExpression.type : void 0, d2 = u.CodeParseItemMessage.getNullPropertyValueNoOpMessage(s2, l2, (0, T.areOptionsJsonType)(null === (a2 = this._rootExpression) || void 0 === a2 ? void 0 : a2.options) ? this._rootExpression.options : void 0, c2, i3); + if (!d2) return; + const p2 = d2.isError ? b.ParseResultTypes.error : b.ParseResultTypes.warn; + this.addParseResultItem(e3, t3, p2, u.CodeParseItemMessage.createNullPropertyValueNoOpWarning(d2.messageText)); } _checkValueAssignment(e3, t3) { switch (e3.mode) { - case E.array: - this._arrayItemsRequirePrefixSeparator() && !e3.arrayItemPrefixSeparatorAdded && this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createExtraValue(), null, null, null, this._parseForUiOnly); + case F.array: + this._arrayItemsRequirePrefixSeparator() && !e3.arrayItemPrefixSeparatorAdded && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createExtraValue(), null, null, null, this._parseForUiOnly); break; - case E.objectPropertyValue: - this._propertyValuesRequirePrefixSeparator() && !e3.propertyValuePrefixSeparatorAdded && this.addParseResultItem(e3, t3, A.ParseResultTypes.error, u.CodeParseItemMessage.createExtraValue(), null, null, null, this._parseForUiOnly); + case F.objectPropertyValue: + this._propertyValuesRequirePrefixSeparator() && !e3.propertyValuePrefixSeparatorAdded && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createExtraValue(), null, null, null, this._parseForUiOnly); } return true; } @@ -46101,7 +50128,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 38689: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchCoreFactory = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(30801)), o = n2.__importDefault(i2(73198)), a = i2(80428), s = i2(96618), l = i2(66314), u = n2.__importDefault(i2(84783)), d = n2.__importDefault(i2(21413)), c = n2.__importDefault(i2(35859)), p = n2.__importDefault(i2(87145)), _ = n2.__importDefault(i2(61427)); + const n2 = i2(31635), r2 = n2.__importStar(i2(30801)), o = n2.__importDefault(i2(73198)), a = i2(80428), s = i2(96618), l = i2(66314), u = n2.__importDefault(i2(84783)), c = n2.__importDefault(i2(21413)), d = n2.__importDefault(i2(35859)), p = n2.__importDefault(i2(87145)), _ = n2.__importDefault(i2(61427)); class h extends u.default { constructor() { super(), new _.default.baseClasses.ArchBaseObject().coreFactory = this; @@ -46115,7 +50142,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; _createArchWrapperImpl(e3, t3) { this._checkItemUndefinedOrNull(this._infoParm("coreObjectViewModel", "createArchWrapper"), e3); const i3 = e3; - return i3.isAction ? this.createArchActionFromCoreAction(i3) : i3.isFlowViewModel ? this.createArchFlowFromCoreFlowViewModel(i3) : i3.isFlowSizeNode ? this.createArchFlowFromCoreFlowViewModel(i3.parent) : i3.isMenuChoice ? this.createArchMenuChoice(i3) : i3.isAudioCaseViewModel ? this.createArchAudioCase(i3) : i3.isAudioExpression ? this._createArchValueFromExpressionImpl(i3) : i3.isDivisionViewModel ? this.createArchDivision(i3) : i3.isMenu ? this.createArchMenu(i3) : i3.isTask ? this.createArchTask(i3) : i3.isBotState ? this.createArchStateBot(i3) : i3.isState ? this.createArchState(i3) : i3.isBranchItem ? this.createArchBranch(i3) : i3.isExpressionType ? this.createArchDataType(i3) : i3.isExpressionList ? this._createArchValueFromExpressionImpl(i3) : i3.isCallPromptsNode ? this.createArchPromptsSettings(i3) : i3.isIsoLanguageViewModel ? this.createArchLanguage(i3) : i3.isFlowSupportedLanguageSetting ? this.createArchSettingsSupportedLanguage(i3) : i3.isKnowledgeSettingsNode ? this.createArchSettingsNluKnowledge(i3) : i3.isVirtualAgentSettingsNode ? this.createArchSettingsNluVirtualAgent(i3) : i3.isDynamicSlotTypeViewModel ? this.createArchSettingsNluDynamicSlotType(i3) : i3.isDynamicTimeslotTypeViewModel ? this.createArchSettingsNluDynamicTimeslotType(i3) : i3.isCommonModuleSettingsNode ? this.createArchCommonModuleFlowSettings(i3) : i3.isOutboundCallSettingsNode ? this.createArchOutboundCallFlowSettings(i3) : i3.isInboundEmailSettingsNode ? this.createArchInboundEmailFlowSettings(i3) : i3.isEmailSendSettingsNode ? this.createArchEmailSendFlowSettings(i3) : i3.isVoiceSurveyFlowSettingsNode ? this.createArchVoiceSurveyFlowSettings(i3) : i3.isWorkitemFlowSettingsNode ? this.createArchWorkitemFlowSettings(i3) : i3.isBotFlowSettingsNode ? this.createArchBotFlowSettings(i3) : i3.isDataTypeDefViewModel ? this.createArchDataTypeJsonCustomSchema(i3) : i3.isInQueueCallFlowSettingsNode ? this.createArchInQueueFlowSettings(i3) : i3.isIntentsSettingsNode ? this.createArchSettingsNluIntents(i3) : i3.model && i3.model.isDataPair ? this.createArchNamedValue(i3) : i3.isActionPathViewModel ? this.createArchActionOutput(i3) : i3.isAudioViewModel ? this.createArchAudio(i3) : i3.isDependenciesNode ? this.createArchDependencySettings(i3) : i3.isErrorHandlingNode || i3.isEmailErrorHandlingNode ? this.createArchErrorHandlingSettingsFlow(i3) : i3.isFlowInfo ? this.createArchFlowInfo(i3) : i3.isErrorHandlingWithAudioViewModel ? this.createArchErrorHandlingSettingsFlow(i3) : i3.isMenuSettingsNode ? this.createArchMenuSettings(i3) : i3.isPromptContainer ? this.createArchPrompt(i3) : i3.isSpeechRecNode ? this.createArchSpeechRecSettings(i3) : i3.isSpeechRecTermContainer ? this.createArchSpeechRecTermContainer(i3) : i3.isSpeechRecViewModel ? this.createArchSpeechRecTermContainers(i3) : i3.isValidationResults ? this.createArchValidationResults(i3) : i3.isVariableViewModel ? this.createArchVariableFromVariable(i3) : i3.isNormalExpression ? this._createArchValueFromExpressionImpl(i3) : i3.isDataPairList || i3.isDataPairListCollection ? this.createArchBaseValueContainer(i3) : i3.isContainedDataPairList ? this.createArchBaseValueContainer(i3.value) : i3.isDataPairViewModel ? this._createArchValueFromExpressionImpl(i3.value) : i3.isLanguageNode ? this.createArchSettingsSupportedLanguages(i3) : i3.isSpeechToTextEngineViewModel ? this.createArchSpeechToTextEngine(i3) : i3.isTTSEngineViewModel ? this.createArchTtsEngine(i3) : i3.isVoiceViewModel ? this.createArchTtsVoice(i3) : i3.isFlowDefinition ? this.createArchDefinitionFlow(i3) : i3.isArchMenuDefinition ? this.createArchDefinitionMenu(i3) : i3.isNodeInformation ? this.createArchDefinitionAction(i3) : i3.isDefaultSettingsNode ? this.createArchSettingsActionDefaults(i3) : i3.isBotFlowUserInputSettingsNode ? this.createArchSettingsUserInput(i3) : i3.isBotFlowEventHandlingViewModel ? this.createArchErrorHandlingSettingsFlowBot(i3) : i3.isNameValuePairViewModel ? this.createArchBaseNameValuePair(i3) : i3.isChoiceViewModel ? this.createArchChoice(i3) : i3.isSlotSettingsViewModel ? this.createArchSettingsNluSlot(i3) : void (t3 || this._itemIsInvalid(this._infoParm("coreObjectViewModel", "createArchWrapper"), "INTERNAL ERROR - could not determine the type of Architect script wrapper to create for the core object.\n JSON stringify of object: " + JSON.stringify(i3))); + return i3.isAction ? this.createArchActionFromCoreAction(i3) : i3.isFlowViewModel ? this.createArchFlowFromCoreFlowViewModel(i3) : i3.isFlowSizeNode ? this.createArchFlowFromCoreFlowViewModel(i3.parent) : i3.isMenuChoice ? this.createArchMenuChoice(i3) : i3.isAudioCaseViewModel ? this.createArchAudioCase(i3) : i3.isAudioExpression ? this._createArchValueFromExpressionImpl(i3) : i3.isDivisionViewModel ? this.createArchDivision(i3) : i3.isMenu ? this.createArchMenu(i3) : i3.isTask ? this.createArchTask(i3) : i3.isBotState ? this.createArchStateBot(i3) : i3.isState ? this.createArchState(i3) : i3.isBranchItem ? this.createArchBranch(i3) : i3.isExpressionType ? this.createArchDataType(i3) : i3.isExpressionList ? this._createArchValueFromExpressionImpl(i3) : i3.isExternalContactPatchChangeList ? this.createArchValueExternalContactPatchChangeList(i3) : i3.isExternalContactPatchChangeItemViewModel ? this.createArchValueExternalContactPatchChange(i3) : i3.isCallPromptsNode ? this.createArchPromptsSettings(i3) : i3.isIsoLanguageViewModel ? this.createArchLanguage(i3) : i3.isFlowSupportedLanguageSetting ? this.createArchSettingsSupportedLanguage(i3) : i3.isKnowledgeSettingsNode ? this.createArchSettingsNluKnowledge(i3) : i3.isVirtualAgentSettingsNode ? this.createArchSettingsNluVirtualAgent(i3) : i3.isDynamicSlotTypeViewModel ? this.createArchSettingsNluDynamicSlotType(i3) : i3.isDynamicTimeslotTypeViewModel ? this.createArchSettingsNluDynamicTimeslotType(i3) : i3.isCommonModuleSettingsNode ? this.createArchCommonModuleFlowSettings(i3) : i3.isOutboundCallSettingsNode ? this.createArchOutboundCallFlowSettings(i3) : i3.isInboundEmailSettingsNode ? this.createArchInboundEmailFlowSettings(i3) : i3.isEmailSendSettingsNode ? this.createArchEmailSendFlowSettings(i3) : i3.isVoiceSurveyFlowSettingsNode ? this.createArchVoiceSurveyFlowSettings(i3) : i3.isWorkitemFlowSettingsNode ? this.createArchWorkitemFlowSettings(i3) : i3.isBotFlowSettingsNode ? this.createArchBotFlowSettings(i3) : i3.isDataTypeDefViewModel ? this.createArchDataTypeJsonCustomSchema(i3) : i3.isInQueueCallFlowSettingsNode ? this.createArchInQueueFlowSettings(i3) : i3.isIntentsSettingsNode ? this.createArchSettingsNluIntents(i3) : i3.model && i3.model.isDataPair ? this.createArchNamedValue(i3) : i3.isActionPathViewModel ? this.createArchActionOutput(i3) : i3.isAudioViewModel ? this.createArchAudio(i3) : i3.isDependenciesNode ? this.createArchDependencySettings(i3) : i3.isErrorHandlingNode || i3.isEmailErrorHandlingNode ? this.createArchErrorHandlingSettingsFlow(i3) : i3.isFlowInfo ? this.createArchFlowInfo(i3) : i3.isErrorHandlingWithAudioViewModel ? this.createArchErrorHandlingSettingsFlow(i3) : i3.isMenuSettingsNode ? this.createArchMenuSettings(i3) : i3.isPromptContainer ? this.createArchPrompt(i3) : i3.isSpeechRecNode ? this.createArchSpeechRecSettings(i3) : i3.isSpeechRecTermContainer ? this.createArchSpeechRecTermContainer(i3) : i3.isSpeechRecViewModel ? this.createArchSpeechRecTermContainers(i3) : i3.isValidationResults ? this.createArchValidationResults(i3) : i3.isVariableViewModel ? this.createArchVariableFromVariable(i3) : i3.isNormalExpression ? this._createArchValueFromExpressionImpl(i3) : i3.isDataPairList || i3.isDataPairListCollection ? this.createArchBaseValueContainer(i3) : i3.isContainedDataPairList ? this.createArchBaseValueContainer(i3.value) : i3.isDataPairViewModel ? this._createArchValueFromExpressionImpl(i3.value) : i3.isLanguageNode ? this.createArchSettingsSupportedLanguages(i3) : i3.isSpeechToTextEngineViewModel ? this.createArchSpeechToTextEngine(i3) : i3.isTTSEngineViewModel ? this.createArchTtsEngine(i3) : i3.isVoiceViewModel ? this.createArchTtsVoice(i3) : i3.isFlowDefinition ? this.createArchDefinitionFlow(i3) : i3.isArchMenuDefinition ? this.createArchDefinitionMenu(i3) : i3.isNodeInformation ? this.createArchDefinitionAction(i3) : i3.isDefaultSettingsNode ? this.createArchSettingsActionDefaults(i3) : i3.isBotFlowUserInputSettingsNode ? this.createArchSettingsUserInput(i3) : i3.isBotFlowEventHandlingViewModel ? this.createArchErrorHandlingSettingsFlowBot(i3) : i3.isNameValuePairViewModel ? this.createArchBaseNameValuePair(i3) : i3.isChoiceViewModel ? this.createArchChoice(i3) : i3.isSlotSettingsViewModel ? this.createArchSettingsNluSlot(i3) : void (t3 || this._itemIsInvalid(this._infoParm("coreObjectViewModel", "createArchWrapper"), "INTERNAL ERROR - could not determine the type of Architect script wrapper to create for the core object.\n JSON stringify of object: " + JSON.stringify(i3))); } createArchDefinitionAction(e3) { return this._checkItemUndefinedOrNull(this._infoParm("coreNodeInformation", "createArchDefinitionAction"), e3), new _.default.definitions.ArchDefinitionAction(e3); @@ -46136,7 +50163,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._checkItemUndefinedOrNull(this._infoParm("coreVariableValuePair", "createArchVariableValuePair"), e3), this._checkItemUndefinedOrNull(this._infoParm("coreVariableValuePair.variable", "createArchVariableValuePair"), e3.variable), this._checkItemUndefinedOrNull(this._infoParm("coreVariableValuePair.expression", "createArchVariableValuePair"), e3.expression), new _.default.baseClasses.ArchBaseVariableValuePair(e3); } createArchDataType(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreArchDataType", "createArchDataType"), e3), new d.default.ArchDataType(e3, void 0); + return this._checkItemUndefinedOrNull(this._infoParm("coreArchDataType", "createArchDataType"), e3), new c.default.ArchDataType(e3, void 0); } createArchDefinitionValue(e3) { return this._checkItemUndefinedOrNull(this._infoParm("coreExpressionType", "coreExpressionType"), e3), new _.default.definitions.ArchDefinitionValue(e3); @@ -46147,6 +50174,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; createArchChoice(e3) { return this._checkItem(this._infoParm("coreChoiceViewModel", "createArchChoice"), !(e3.model && e3.model.isChoice), "cannot create an ArchChoice from an object that is not a core choice"), new _.default.values.ArchChoice(e3); } + createArchValueExternalContactPatchChangeList(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreExternalContactPatchChangeList", "createArchValueExternalContactPatchChangeList"), e3), new _.default.values.ArchValueExternalContactPatchChangeList(e3); + } + createArchValueExternalContactPatchChange(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreExternalContactPatchChangeItemViewModel", "createArchValueExternalContactPatchChange"), e3), new _.default.values.ArchValueExternalContactPatchChange(e3); + } createArchNamedValue(e3) { return this._checkItem(this._infoParm("coreDataPair", "createArchNamedValue"), !(e3 && e3.model && e3.model.isDataPair), "cannot create an ArchNamedValue from an object that is not a core data pair"), new _.default.values.ArchNamedValue(e3); } @@ -46214,6 +50247,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return new _.default.actions.ArchActionAbortSurveyInvite(i3); case r2.addFlowMilestoneActionType: return new _.default.actions.ArchActionAddFlowMilestone(i3); + case r2.agenticAnythingElseActionType: + return new _.default.actions.ArchActionAgenticAnythingElse(i3); + case r2.agenticAskForIntentActionType: + return new _.default.actions.ArchActionAgenticAskForIntent(i3); case r2.askForAuthenticationActionType: return new _.default.actions.ArchActionAskForAuthentication(i3); case r2.askForBooleanActionType: @@ -46228,6 +50265,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return new _.default.actions.ArchActionAskForPayment(i3); case r2.askSurveyQuestionActionType: return new _.default.actions.ArchActionAskSurveyQuestion(i3); + case r2.assignCustomerSegmentActionType: + return new _.default.actions.ArchActionAssignCustomerSegment(i3); case r2.audioMonitoringActionType: return new _.default.actions.ArchActionAudioMonitoring(i3); case r2.botConnectorActionType: @@ -46372,6 +50411,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return new _.default.actions.ArchActionForm(i3); case r2.getAssignedCustomerIntentsActionType: return new _.default.actions.ArchActionGetAssignedCustomerIntents(i3); + case r2.getAssignedCustomerSegmentsActionType: + return new _.default.actions.ArchActionGetAssignedCustomerSegments(i3); case r2.getExternalContactActionType: return new _.default.actions.ArchActionGetExternalContact(i3); case r2.getExternalOrganizationActionType: @@ -46594,7 +50635,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._checkItemUndefinedOrNull(this._infoParm("coreDivisionViewModel", "createArchDivision"), e3), new p.default.ArchDivision(e3); } createArchLanguage(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreIsoLanguageViewModel", "createArchLanguage"), e3), new c.default.ArchLanguage(e3); + return this._checkItemUndefinedOrNull(this._infoParm("coreIsoLanguageViewModel", "createArchLanguage"), e3), new d.default.ArchLanguage(e3); } createArchValueFromExpression(e3) { return this._createArchValueFromExpressionImpl(e3); @@ -46907,7 +50948,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return new _.default.flows.ArchFlowInfoVersion(e3); } createArchDataTypeJsonCustomSchema(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreDataTypeDefViewModel", "createArchDataTypeJsonCustomSchema"), e3), new d.default.ArchDataTypeJsonCustomSchema(e3); + return this._checkItemUndefinedOrNull(this._infoParm("coreDataTypeDefViewModel", "createArchDataTypeJsonCustomSchema"), e3), new c.default.ArchDataTypeJsonCustomSchema(e3); } createArchInQueueFlowSettings(e3) { return this._checkItemUndefinedOrNull(this._infoParm("coreInQueueFlowSettings", "createArchInQueueFlowSettings"), e3), new _.default.settings.ArchSettingsInQueueCallFlow(e3); @@ -47182,7 +51223,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._checkItemUndefinedOrNull(t3, e3), e3.isSkillValuePairs ? new _.default.baseClasses.ArchBaseSkillValuePairs(e3) : e3.isVariableValuePairs ? new _.default.baseClasses.ArchBaseVariableValuePairs(e3) : e3.isNameValuePairs ? new _.default.baseClasses.ArchBaseNameValuePairs(e3) : e3.isDataPairList || e3.isDataPairListCollection ? new _.default.values.ArchNamedValueList(e3) : void this._itemIsInvalid(t3, "the core expression container type is not supported."); } getArchLanguageForTag(e3) { - return this._checkItemIsValidLiteralString(this._infoParm("languageTag", "getArchLanguageForTag"), e3), c.default.archLanguages.getByLanguageTag(e3); + return this._checkItemIsValidLiteralString(this._infoParm("languageTag", "getArchLanguageForTag"), e3), d.default.archLanguages.getByLanguageTag(e3); } createArchSpeechRecTermContainer(e3) { return this._checkItemUndefinedOrNull(this._infoParm("coreSpeechRecTermContainerViewModel", "createArchSpeechRecTermContainer"), e3), new _.default.speechRec.ArchSpeechRecTermContainer(e3); @@ -47263,10 +51304,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 38725: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.worktypeManager = t2.WorktypeManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = n2.__importStar(i2(73270)), l = n2.__importDefault(i2(47532)), u = n2.__importDefault(i2(48019)), d = i2(41676), c = i2(81801), p = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = n2.__importStar(i2(73270)), l = n2.__importDefault(i2(47532)), u = n2.__importDefault(i2(48019)), c = i2(41676), d = i2(81801), p = i2(27862); class _ extends l.default { get requiredAuth() { - return c.externalAuthorizations.authStrings.worktypesView; + return d.externalAuthorizations.authStrings.worktypesView; } get dependencyType() { return p.Worktype; @@ -47275,7 +51316,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super(), this.topic = a.getTopic("WorktypeManager"), this.apiCallList = s.getWorktypes, this.apiCallSingle = s.getWorktype, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [], this.className = "WorktypeManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = null, this.securityError = true, this.suppressSearch = false, this.sortNotSupported = true, this.uiMetadataSectionName = "workType", this.useStartsWithKeywordForExactMatch = true, this.defaultPageSize = 100, this._initialize(), r2.serviceListen(r2.cleanUpFlow, () => this.resetState()); } _createItemViewModel(e3) { - return new d.WorktypeViewModel(e3); + return new c.WorktypeViewModel(e3); } get _networkModel() { return u.default; @@ -47287,20 +51328,20 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.WorktypeManager = _, t2.worktypeManager = new _(); }, 38750: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(24235), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(5730)), u = i2(47957); + const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(24235), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(5730)), u = n2.__importDefault(i2(4648)), c = i2(47957); class d extends l.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.editor_testing_tag = "PlayAudioActionParent", this.prompts = null, this._loadModel(t3); } getDetails() { const e3 = this.prompts ? this.prompts.getDescription() : void 0; - return e3 ? new o.ActionDetails([u.audio.audioLabel], [e3]) : null; + return e3 ? new o.ActionDetails([c.audio.audioLabel], [e3]) : null; } static get managedProperties() { - return [{ audio: true, options: a.AudioViewModelOptions.create((e3) => e3.setLabel(u.audio.audioLabel).setIsOptional(false).setIninTestingField("playAudioDefault")), property: "prompts", yamlOptions: d.createYamlOptions("prompts", (e3) => e3.setPropertyName("audio")) }]; + return [{ audio: true, options: a.AudioViewModelOptions.create((e3) => e3.setLabel(c.audio.audioLabel).setIsOptional(false).setIninTestingField("playAudioDefault")), property: "prompts", yamlOptions: d.createYamlOptions("prompts", (e3) => e3.setPropertyName("audio")) }]; } } - d.info = s.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: r2.helpTopics.actions.playAudio, modelClass: i2(12715), name: u.actions.playAudio, scriptingName: "ArchActionPlayAudio" }), t2.A = d; + d.info = s.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: r2.helpTopics.actions.playAudio, modelClass: i2(12715), name: c.actions.playAudio, scriptingName: "ArchActionPlayAudio", modelFormatSupport: { flowYaml: { inProgress: true, feature: u.default.changeSetsFeaturePhase2 } } }), t2.A = d; }, 38752: (e2, t2, i2) => { const n2 = i2(2210), r2 = i2(28730), o = i2(7401), a = i2(96946), { playPositionInQueueActionType: s } = i2(30801); function l() { @@ -47582,16 +51623,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 39139: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.videoManager = t2.VideoManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(47532)), s = i2(81801), l = n2.__importDefault(i2(31498)), u = n2.__importStar(i2(90891)), d = i2(47957), c = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(47532)), s = i2(81801), l = n2.__importDefault(i2(31498)), u = n2.__importStar(i2(90891)), c = i2(47957), d = i2(27862); class p extends a.default { get requiredAuth() { return s.externalAuthorizations.authStrings.responseAssetView; } get dependencyType() { - return c.Video; + return d.Video; } constructor() { - super(), this.topic = o.getTopic("VideoManager"), this.apiCallList = u.getVideoResponseAssets, this.apiCallSingle = u.getResponseAsset, this._rawServerCache = {}, this.className = "VideoManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = d.generic.video, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "videos", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); + super(), this.topic = o.getTopic("VideoManager"), this.apiCallList = u.getVideoResponseAssets, this.apiCallSingle = u.getResponseAsset, this._rawServerCache = {}, this.className = "VideoManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = c.generic.video, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "videos", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); } _createItemViewModel(e3) { return new l.default(e3); @@ -47601,16 +51642,28 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 39145: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FileType = void 0; - const n2 = i2(31635), r2 = i2(27491), o = i2(94765), a = i2(4285), s = i2(80428), l = n2.__importDefault(i2(4648)), u = i2(65220), d = i2(14394), c = i2(10798), p = n2.__importDefault(i2(22226)); - class _ extends o.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = i2(4285), a = i2(65220), s = i2(10798), l = n2.__importDefault(i2(4648)), u = i2(62390), c = i2(62390), d = i2(27491), p = n2.__importDefault(i2(22226)), _ = i2(80428), h = i2(14394), m = i2(81391), g = i2(47957); + class f extends m.ExpressionTypeBaseResponseAsset { constructor(e3, t3, i3) { super(e3, t3, i3); } get className() { return "FileType"; } + getPlutusMimeTypes() { + return u.FILE_MIME_TYPES_SET; + } + getPlutusSupportedFileExtensions() { + return c.FILE_SUPPORTED_EXTENSIONS; + } + getPlutusMediaPlaceholderText() { + return g.file.filePlaceholder; + } + getPlutusSupportedFileTypesText() { + return (0, r2.sprintf)(g.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()); + } canConvertLitToExpression(e3) { - return r2.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("ToFile", e3, [d.globalTypes.responseAsset, d.globalTypes.file]) && r2.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [d.globalTypes.string]); + return d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("ToFile", e3, [h.globalTypes.responseAsset, h.globalTypes.file]) && d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [h.globalTypes.string]); } convertLitToExpression(e3, t3) { return t3 && this.canConvertLitToExpression(e3) ? `ToFile(FindResponseAsset(${p.default.getQuotedExpressionStringLiteral(t3)}), NOT_SET)` : ""; @@ -47619,16 +51672,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return ""; } get supportsLiteralEditor() { - return (0, c.isFeatureAvailable)(l.default.cannedResponseAttachmentsPostGaFeature); + return (0, s.isFeatureAvailable)(l.default.cannedResponseAttachmentsPostGaFeature); } get listManager() { - return u.fileManager; + return a.fileManager; } createExpressionOptionClass() { - return new a.ExpressionTypeFileOptions(); + return new o.ExpressionTypeFileOptions(); } } - t2.FileType = _, _.typeIdentifier = s.expressionTypeNames.file; + t2.FileType = f, f.typeIdentifier = _.expressionTypeNames.file; }, 39148: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -47651,39 +51704,39 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 39168: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.NormalExpression = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(69453)), s = i2(51677), l = n2.__importStar(i2(8462)), u = n2.__importStar(i2(24032)), d = n2.__importDefault(i2(7401)), c = i2(66800), p = i2(65220), _ = i2(97629), h = i2(63345), m = i2(39139), g = i2(12847), f = i2(12847), T = n2.__importStar(i2(12847)), y = n2.__importStar(i2(17498)), S = n2.__importStar(i2(36781)), A = i2(10798), N = n2.__importStar(i2(10798)), O = n2.__importStar(i2(58380)), I = i2(55909), v = i2(33951), C = i2(18638), b = n2.__importStar(i2(1115)), E = i2(1115), R = n2.__importDefault(i2(4648)), w = i2(99772), D = i2(28562), P = n2.__importDefault(i2(39041)), M = n2.__importDefault(i2(73198)), F = i2(27491), L = i2(98552), x = n2.__importStar(i2(9345)), k = i2(63352), V = n2.__importStar(i2(63352)), U = i2(14394), B = i2(46782), G = i2(92908), j = i2(59263), W = n2.__importDefault(i2(22226)), q = n2.__importDefault(i2(86833)), Y = i2(80428), H = i2(47957), J = i2(27862), z = u.getTopic("expression"); - function K(e3, t3) { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(69453)), s = i2(51677), l = n2.__importStar(i2(8462)), u = n2.__importStar(i2(24032)), c = n2.__importDefault(i2(7401)), d = i2(66800), p = i2(65220), _ = i2(97629), h = i2(63345), m = i2(39139), g = i2(12847), f = i2(12847), T = n2.__importStar(i2(12847)), y = n2.__importStar(i2(17498)), S = n2.__importStar(i2(36781)), A = i2(10798), N = n2.__importStar(i2(10798)), v = n2.__importStar(i2(58380)), O = i2(55909), I = i2(33951), C = i2(18638), b = i2(92908), E = n2.__importStar(i2(1115)), w = i2(1115), R = n2.__importDefault(i2(4648)), D = i2(1910), P = i2(1910), M = i2(1910), F = i2(99772), L = i2(28562), x = n2.__importDefault(i2(39041)), k = n2.__importDefault(i2(73198)), V = i2(27491), U = i2(98552), B = n2.__importStar(i2(9345)), G = i2(63352), j = n2.__importStar(i2(63352)), W = n2.__importDefault(i2(65302)), q = n2.__importDefault(i2(86833)), Y = i2(80428), H = i2(14394), J = i2(46782), $ = i2(59263), z = i2(47957), K = i2(27862), Q = u.getTopic("expression"); + function X(e3, t3) { const i3 = o.default.find(e3.variables); i3 !== t3 && (i3 && i3.deleteReference(e3), t3 && (e3.options.doNotTrackUsages || e3._addVariableUsage(t3), e3.variables[t3.id] = t3)); } - function $(e3) { - e3.outOfService ? y.unRegisterExpression(e3) : y.registerExpression(e3), o.default.each(e3.properties, (e4) => { - $(e4); - }); + function Z(e3) { + e3.isDestroyedOrDestroying || (e3.outOfService ? y.unRegisterExpression(e3) : y.registerExpression(e3), o.default.each(e3.properties, (e4) => { + Z(e4); + })); } - class Q extends B.BaseExpression { + class ee extends J.BaseExpression { get className() { return "NormalExpression"; } constructor(e3) { - super(e3), this._oldBuilderConfig = {}, this._mode = V.none, this.properties = {}, this.options.resolveDefaultText(this), this.parentAudio = e3.parentAudio, this.savedLit = "", this._initializeMode(), this._initialize(); + super(e3), this._oldBuilderConfig = {}, this._mode = j.none, this.properties = {}, this.options.resolveDefaultText(this), this.parentAudio = e3.parentAudio, this.savedLit = "", this._initializeMode(), this._initialize(); } _initializeMode() { var e3; this.model.uiMetaData || (this.model.uiMetaData = {}); let t3 = true; - (this.parentFlow && this.parentFlow.loaded || !this.hasConfig) && (t3 = this._transitionExpressionToNewVersion()), (null === (e3 = this.options) || void 0 === e3 ? void 0 : e3.antiFeatureConfigName) && N.isFeatureAvailable(this.options.antiFeatureConfigName) && (this.outOfServiceProvider.antiFeatureConfigName = this.options.antiFeatureConfigName, this.outOfServiceProvider.outOfService = true), t3 && (this.model && this.model.uiMetaData && this.model.uiMetaData.mode === V.noValue ? this._mode = V.noValue : !this.options.isOverridableFlowLevelDefaultExpression || !this.options.flowLevelDefaultHasDefault || this.model.uiMetaData && this.model.uiMetaData.mode !== V.none ? !this.options.literalOnly || this.model && this.model.uiMetaData && this.model.uiMetaData.mode === V.expression ? this.options.expressionOnly ? this._mode = V.expression : this.options.wantVariableMode ? this._mode = V.variable : this.options.anySpecificModeAvailable ? this.model.uiMetaData && (this.model.uiMetaData.mode || 0 === this.model.uiMetaData.mode) ? this._mode = this.model.uiMetaData.mode : this._initializedModeToBuilder() || (this.options.defaultToExpression && this.options.getAllowModeExpression(this) ? this._mode = V.expression : this.options.defaultToNoValue && this.options.allowModeNoValue ? this._mode = V.noValue : !this.options.allowModeLiteral && this.options.getAllowModeExpression(this) ? this._mode = V.expression : !this.options.allowModeLiteral && this.options.allowModeNoValue ? this._mode = V.noValue : this._mode = V.literal) : this._mode = V.none : this._mode = V.literal : this._mode = V.noValue), !this.options.inheritsFromFlowLevelDefaultExpression || this.isEmpty || this.isOverride || this._mode === V.noValue || (this.isOverride = true); + (this.parentFlow && this.parentFlow.loaded || !this.hasConfig) && (t3 = this._transitionExpressionToNewVersion()), (null === (e3 = this.options) || void 0 === e3 ? void 0 : e3.antiFeatureConfigName) && N.isFeatureAvailable(this.options.antiFeatureConfigName) && (this.outOfServiceProvider.antiFeatureConfigName = this.options.antiFeatureConfigName, this.outOfServiceProvider.outOfService = true), t3 && (this.model && this.model.uiMetaData && this.model.uiMetaData.mode === j.noValue ? this._mode = j.noValue : !this.options.isOverridableFlowLevelDefaultExpression || !this.options.flowLevelDefaultHasDefault || this.model.uiMetaData && this.model.uiMetaData.mode !== j.none ? !this.options.literalOnly || this.model && this.model.uiMetaData && this.model.uiMetaData.mode === j.expression ? this.options.expressionOnly ? this._mode = j.expression : this.options.wantVariableMode ? this._mode = j.variable : this.options.anySpecificModeAvailable ? this.model.uiMetaData && (this.model.uiMetaData.mode || 0 === this.model.uiMetaData.mode) ? this._mode = this.model.uiMetaData.mode : this._initializedModeToBuilder() || (this.options.defaultToExpression && this.options.getAllowModeExpression(this) ? this._mode = j.expression : this.options.defaultToNoValue && this.options.allowModeNoValue ? this._mode = j.noValue : !this.options.allowModeLiteral && this.options.getAllowModeExpression(this) ? this._mode = j.expression : !this.options.allowModeLiteral && this.options.allowModeNoValue ? this._mode = j.noValue : this._mode = j.literal) : this._mode = j.none : this._mode = j.literal : this._mode = j.noValue), !this.options.inheritsFromFlowLevelDefaultExpression || this.isEmpty || this.isOverride || this._mode === j.noValue || (this.isOverride = true); } _initializedModeToBuilder() { if (!this.options.defaultToBuilderId || !this.options.allowModeBuilder) return false; try { - const e3 = P.default.getBuilderDefById(this.options.defaultToBuilderId, this.parentFlow.type); + const e3 = x.default.getBuilderDefById(this.options.defaultToBuilderId, this.parentFlow.type); if (o.default.isObject(e3)) { const t3 = e3.createBuilder(this); - if (o.default.isObject(t3)) return this._mode = V.builder, this.builder = t3, true; + if (o.default.isObject(t3)) return this._mode = j.builder, this.builder = t3, true; } } catch (e3) { - z.exception(e3, "Unhandled exception processing default builder settings on expression."); + Q.exception(e3, "Unhandled exception processing default builder settings on expression."); } return false; } @@ -47692,7 +51745,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const t3 = this.model.version ? this.model.version : 1; if (t3 < 2 && t3 < 2) { let t4 = this.isBlank && this.options.allowModeNoValue; - t4 && this.isLiteralMode && this.type.isMatch(U.globalTypes.string, x.settings.exact) && (t4 = false), this.options.doNotTransitionToNoValue && (t4 = false), t4 && this.options.inheritsFromFlowLevelDefaultExpression && this.hasConfig && !this.isEmpty && (t4 = false), t4 && (this.mode = V.noValue, this.model.uiMetaData.mode = V.noValue, this.isOverride = false, e3 = false); + t4 && this.isLiteralMode && this.type.isMatch(H.globalTypes.string, B.settings.exact) && (t4 = false), this.options.doNotTransitionToNoValue && (t4 = false), t4 && this.options.inheritsFromFlowLevelDefaultExpression && this.hasConfig && !this.isEmpty && (t4 = false), t4 && (this.mode = j.noValue, this.model.uiMetaData.mode = j.noValue, this.isOverride = false, e3 = false); } return this.model.version = 2, e3; } @@ -47700,8 +51753,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._builderViewModel; } set builder(e3) { - this._builderViewModel !== e3 && (this._builderViewModel && this._builderViewModel.destroy(), this._builderViewModel = v.ParameterValidator.expectTrue(e3 && e3.isBaseBuilderViewModel, e3, "expression builder view model", function() { - return I.ParameterInfo.createPropertySet(this.className, "allowEmptyConfig", "value"); + this._builderViewModel !== e3 && (this._builderViewModel && this._builderViewModel.destroy(), this._builderViewModel = I.ParameterValidator.expectTrue(e3 && e3.isBaseBuilderViewModel, e3, "expression builder view model", function() { + return O.ParameterInfo.createPropertySet(this.className, "allowEmptyConfig", "value"); }.bind(this), true), this._ensureUiMetaData(), this.model.uiMetaData.builder = e3 ? e3.model : void 0); } get defaultExpression() { @@ -47710,35 +51763,21 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; getEmbeddableExpressionText() { return this.isLiteralMode && this.type.canConvertLitToExpression(this.parentFlow.type) ? this.type.convertLitToExpression(this.parentFlow.type, this.text, this.val, this) : this.config && this.config.getTextWithFuncOpTextFallback ? this.config.getTextWithFuncOpTextFallback(true) : this.text; } - getStringTypeDesignTimeAllowableValue() { - if (!this.options.hasAllowableValues) return; - const e3 = this.getStringTypeDesignTimeValue(); - return (null == e3 ? void 0 : e3.length) ? this.options.getAllowableValueForValue(e3) : void 0; - } - getStringTypeDesignTimeValue() { - var e3, t3; - if (!(null === (e3 = this.type) || void 0 === e3 ? void 0 : e3.isMatch(U.globalTypes.string, x.settings.exact))) return; - if (this.isLiteralMode) return this.text; - const i3 = null === (t3 = this.getEmbeddableExpressionText()) || void 0 === t3 ? void 0 : t3.trim(); - if (!(null == i3 ? void 0 : i3.length)) return; - if (!W.default.textIsExpressionStringLiteral(i3)) return; - const n3 = W.default.getUnquotedExpressionStringLiteralContents(i3); - return (null == n3 ? void 0 : n3.length) ? n3 : void 0; - } getCustomJsonText(e3) { + const t3 = !!this.getUiMetaData(b.uiMetaDataKey.cameFromNull), i3 = !!this.getUiMetaData(b.uiMetaDataKey.cameFromEmptyString); switch (this.mode) { - case k.ExpressionModes.expression: - case k.ExpressionModes.variable: - case k.ExpressionModes.builder: { - const t3 = this.getEmbeddableExpressionText(); - return (null == t3 ? void 0 : t3.length) ? this.getUiMetaData(G.uiMetaDataKey.cameFromNull) && t3.trim() === M.default.notSet ? M.default.null : e3 ? `{{ ${t3} }}` : `{{ ${t3.trim()} }}` : "{{}}"; + case G.ExpressionModes.expression: + case G.ExpressionModes.variable: + case G.ExpressionModes.builder: { + const i4 = this.getEmbeddableExpressionText(); + return (null == i4 ? void 0 : i4.length) ? t3 && i4.trim() === k.default.notSet ? k.default.null : e3 ? `{{ ${i4} }}` : `{{ ${i4.trim()} }}` : "{{}}"; } - case k.ExpressionModes.literal: + case G.ExpressionModes.literal: return this.type.convertLitToCustomJsonStr(this.parentFlow.type, this.text, this.val); - case k.ExpressionModes.none: - case k.ExpressionModes.noValue: + case G.ExpressionModes.none: + case G.ExpressionModes.noValue: default: - return ""; + return t3 ? k.default.null : i3 ? '""' : ""; } } get displayValue() { @@ -47748,22 +51787,22 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.displayValue; } get isExpressionMode() { - return this._mode === V.expression; + return this._mode === j.expression; } get isLiteralMode() { - return this._mode === V.literal; + return this._mode === j.literal; } get isNoValueMode() { - return this._mode === V.noValue; + return this._mode === j.noValue; } get isNoValueModeWithNoFallback() { return this.isEmptyNoFallback && this.isNoValueMode; } get isBuilderMode() { - return this._mode === V.builder; + return this._mode === j.builder; } get isVariableMode() { - return this._mode === V.variable; + return this._mode === j.variable; } get isBlankOrNotSetOrEmpty() { return this.isBlank || this.isEmpty || this.isExpressionMode && (this.isNotSet || '""' === this.text); @@ -47776,7 +51815,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._mode; } set mode(e3) { - this._mode !== e3 && (this._mode = e3, this._mode === V.literal && this._hydrateAssignableProperties(), this._reset(), this.processText(), this._ensureUiMetaData(), y.registerExpression(this), this._executeCallbacks(this.valueChangedCallbacks, "valueChangedCallbacks"), this._fireEvent(S.expressionValueChanged), this._fireEvent(S.expressionModeChanged), this.initializeDesignTimeCalled && !this.isTransitory && b.validateItem(this.parent, true)); + this._mode !== e3 && (this._mode = e3, this._mode === j.literal && this._hydrateAssignableProperties(), this._reset(), this.processText(), this._ensureUiMetaData(), y.registerExpression(this), this._executeCallbacks(this.valueChangedCallbacks, "valueChangedCallbacks"), this._fireEvent(S.expressionValueChanged), this._fireEvent(S.expressionModeChanged), this.initializeDesignTimeCalled && !this.isTransitory && E.validateItem(this.parent, true)); } _initializeDesignTime() { if (super._initializeDesignTime(), this._transitionExpressionToNewVersion(), this.type.initializeDesignTime(this), this.builder && this.builder.initializeDesignTime(), o.default.each(this.properties, (e3) => { @@ -47790,16 +51829,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } registerDependencies() { var e3; - if (!this.isTransitory) if (this.isLiteralMode && this.val && (null === (e3 = this.type) || void 0 === e3 ? void 0 : e3.isMatch(U.globalTypes.prompt, x.settings.exact))) { - const e4 = L.expressionItems.isSystemId(this.val) ? J.SystemPrompt : J.UserPrompt; + if (!this.isTransitory) if (this.isLiteralMode && this.val && (null === (e3 = this.type) || void 0 === e3 ? void 0 : e3.isMatch(H.globalTypes.prompt, B.settings.exact))) { + const e4 = U.expressionItems.isSystemId(this.val) ? K.SystemPrompt : K.UserPrompt; y.registerPrompt(this.text, e4, this.parentFlow, this.val); } else this._registerPromptsFromExpressionText(), this._registerJsonDependencies(); } outOfServiceChanged(e3) { - $(this), !e3 && this.initializeDesignTimeCalled && (this.regenBuilderText(), this.processText(true), b.validateItem(this, true, true)); + this.isDestroyedOrDestroying || (Z(this), !e3 && this.initializeDesignTimeCalled && (this.regenBuilderText(), this.processText(true), E.validateItem(this, true, true))); } regenBuilderText() { - this.builder && this.mode === V.builder && !this.outOfService && this.setText(this.builder.buildExpressionText()); + this.builder && this.mode === j.builder && !this.outOfService && this.setText(this.builder.buildExpressionText()); } resetToDefaultValue(e3) { this._reset(); @@ -47841,7 +51880,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.isVariableMode ? e3.addWriter(this) : e3.addReader(this); } getExpressions() { - if (this.isBuilderMode && this.builder) return this.builder.getInternalExpressions(); + if (this.isBuilderMode && this.builder && !this.builder.isDestroyed) return this.builder.getInternalExpressions(); const e3 = [this]; return o.default.each(this.properties, (t3) => { e3.push(...t3.getExpressions()); @@ -47883,12 +51922,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } hydratePropertyFromPropertyDefinition(e3, t3) { var i3, n3, r3, o2, a2; - const s2 = null === (i3 = this.options.customizations) || void 0 === i3 ? void 0 : i3.properties, u2 = this.options.customizationsRoot, c2 = e3.name, p2 = c2.toLowerCase(); + const s2 = null === (i3 = this.options.customizations) || void 0 === i3 ? void 0 : i3.properties, u2 = this.options.customizationsRoot, d2 = e3.name, p2 = d2.toLowerCase(); let _2; - this.model.properties && (_2 = this.model.properties[c2]), _2 instanceof d.default || (_2 = new d.default({})); - const h2 = new j.ExpressionParameters(this.parentFlow, this.parent, _2, e3.displayValue); + this.model.properties && (_2 = this.model.properties[d2]), _2 instanceof c.default || (_2 = new c.default({})); + const h2 = new $.ExpressionParameters(this.parentFlow, this.parent, _2, e3.displayValue); let m2; - return h2.type = e3.type, h2.propertyName = p2, h2.label = e3.displayValue || e3.name, h2.options = l.buildOptions(e3.type, void 0, this.parentFlow), h2.transitory = this.isTransitory, e3.isOptional && (h2.options.isOptional = true), e3.noValueRuntimeStr && h2.options.setModeNoValueRuntimeEvaluationStr(e3.noValueRuntimeStr), e3.description && h2.options.setDescriptionInfo(c2, e3.description), e3.minLength && (null === (n3 = h2.options.facets) || void 0 === n3 ? void 0 : n3.setMinLength) && (null === (r3 = h2.options.facets) || void 0 === r3 || r3.setMinLength(e3.minLength)), e3.maxLength && (null === (o2 = h2.options.facets) || void 0 === o2 ? void 0 : o2.setMaxLength) && (null === (a2 = h2.options.facets) || void 0 === a2 || a2.setMaxLength(e3.maxLength)), e3.isReadOnly && h2.options.setReadOnly(true), this.type.configurePropertyCreationParams(this, e3, h2), s2 && h2.options.setAndApplyCustomizations(u2, s2[c2]), this.properties || t3 || (this.properties = {}), this.options.assignablePropertiesNoExpression && h2.options.setAssignablePropertiesNoExpression(true).setAllowModeExpression(false), m2 = h2.type && h2.type.isCollection ? new Q.CollectionExpression(h2) : new Q(h2), e3.featureConfigName && (m2.outOfService = (0, A.isFeatureUnavailable)(e3.featureConfigName)), e3.minItems && m2.options.setMinItems && m2.options.setMinItems(e3.minItems), e3.maxItems && m2.options.setMaxItems && m2.options.setMaxItems(e3.maxItems, e3.maxItemsIsSoftLimit), t3 || (this.properties[p2] = m2, this.model.properties[c2] = m2.model), m2._propertyParent = this, e3.defaultValue && !m2.text && m2.setText(e3.defaultValue, false, true), m2; + return h2.type = e3.type, h2.propertyName = p2, h2.label = e3.displayValue || e3.name, h2.options = l.buildOptions(e3.type, void 0, this.parentFlow), h2.transitory = this.isTransitory, e3.isOptional && (h2.options.isOptional = true), e3.noValueRuntimeStr && h2.options.setModeNoValueRuntimeEvaluationStr(e3.noValueRuntimeStr), e3.description && h2.options.setDescriptionInfo(d2, e3.description), e3.minLength && (null === (n3 = h2.options.facets) || void 0 === n3 ? void 0 : n3.setMinLength) && (null === (r3 = h2.options.facets) || void 0 === r3 || r3.setMinLength(e3.minLength)), e3.maxLength && (null === (o2 = h2.options.facets) || void 0 === o2 ? void 0 : o2.setMaxLength) && (null === (a2 = h2.options.facets) || void 0 === a2 || a2.setMaxLength(e3.maxLength)), e3.isReadOnly && h2.options.setReadOnly(true), this.type.configurePropertyCreationParams(this, e3, h2), s2 && h2.options.setAndApplyCustomizations(u2, s2[d2]), this.properties || t3 || (this.properties = {}), this.options.assignablePropertiesNoExpression && h2.options.setAssignablePropertiesNoExpression(true).setAllowModeExpression(false), m2 = h2.type && h2.type.isCollection ? new ee.CollectionExpression(h2) : new ee(h2), e3.featureConfigName && (m2.outOfService = (0, A.isFeatureUnavailable)(e3.featureConfigName)), e3.minItems && m2.options.setMinItems && m2.options.setMinItems(e3.minItems), e3.maxItems && m2.options.setMaxItems && m2.options.setMaxItems(e3.maxItems, e3.maxItemsIsSoftLimit), t3 || (this.properties[p2] = m2, this.model.properties[d2] = m2.model), m2._propertyParent = this, e3.defaultValue && !m2.text && m2.setText(e3.defaultValue, false, true), m2; } get propertyParent() { return this._propertyParent; @@ -47906,38 +51945,38 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this._parentExpressionContainerItem = e3; } _initialize() { - this._hydrateBuilder(true), super._initialize(), this.isLiteralMode && this._hydrateAssignableProperties(), $(this); + this._hydrateBuilder(true), super._initialize(), this.isLiteralMode && this._hydrateAssignableProperties(), Z(this); } _ensureUiMetaData() { super._ensureUiMetaData(), this.model.uiMetaData.mode = this.mode; } _hydrateBuilder(e3) { - if ((!e3 || this.mode !== V.builder || !this.builder) && this.model && this.model.uiMetaData && this.model.uiMetaData.builder) { + if ((!e3 || this.mode !== j.builder || !this.builder) && this.model && this.model.uiMetaData && this.model.uiMetaData.builder) { const e4 = this.model.uiMetaData.builder.builderDefId; let t3 = false; - const i3 = P.default.getBuilderDefById(e4); + const i3 = x.default.getBuilderDefById(e4); if (i3) try { this.builder = i3.reviveBuilder(this, this.model.uiMetaData.builder, true), t3 = true, this.initializeDesignTimeCalled && this.builder.initializeDesignTime(); } catch (t4) { this.topic.exception(t4, "Unable to revive the expression builder for id '" + e4 + "'. Switching back to regular expression mode to keep any builder generated expression text."); } else this.topic.error("Unable to find expression builder for id '" + e4 + "'. Switching back to regular expression mode to keep any builder generated expression text."); - t3 || (this.mode = V.expression); + t3 || (this.mode = j.expression); } } _transitionLitToExpression() { - return this.mode === V.expression || this.mode === V.builder ? this.text : (this.savedLit = this.text || "", this.type.convertLitToExpression(this.parentFlow.type, this.text, this.val, this)); + return this.mode === j.expression || this.mode === j.builder ? this.text : (this.savedLit = this.text || "", this.type.convertLitToExpression(this.parentFlow.type, this.text, this.val, this)); } addClipboardDependencies(e3) { var t3; super.addClipboardDependencies(e3); try { switch ((null === (t3 = this.type) || void 0 === t3 ? void 0 : t3.isCustomType) && e3.copyCutAddDependencyCustomType(this.type), this.mode) { - case V.variable: + case j.variable: e3.copyCutAddDependencyVariable(this._getReferenceByName(this.text), this.supportedFlowTypes); break; - case V.builder: - case V.expression: + case j.builder: + case j.expression: o.default.each(this.variables, function(t4) { e3.copyCutAddDependencyVariable(t4, this.supportedFlowTypes), t4.type.isCustomType && e3.copyCutAddDependencyCustomType(t4.type); }.bind(this)), this._builderViewModel && this._builderViewModel.addClipboardDependencies(e3); @@ -47950,10 +51989,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.model && this.model.uiMetaData && this.model.uiMetaData.hasOwnProperty("isOverride"); } set isOverride(e3) { - true === e3 ? (this.model.uiMetaData || this._ensureUiMetaData(), this.model.uiMetaData.isOverride = true) : this.model.uiMetaData && delete this.model.uiMetaData.isOverride, O.fireEvent(this, S.expressionOverrideChanged); + true === e3 ? (this.model.uiMetaData || this._ensureUiMetaData(), this.model.uiMetaData.isOverride = true) : this.model.uiMetaData && delete this.model.uiMetaData.isOverride, v.fireEvent(this, S.expressionOverrideChanged); } copyExpressionValue(e3) { - this.mode = e3.mode, this.builder = void 0, e3.model && e3.model.uiMetaData && e3.model.uiMetaData.builder && (this._ensureUiMetaData(), this.model.uiMetaData.builder = o.default.deepClone(e3.model.uiMetaData.builder), this._hydrateBuilder(false)), e3._mode === V.literal ? (this._hydrateAssignableProperties(), this.properties && Object.entries(this.properties).forEach(([t3, i3]) => { + this.mode = e3.mode, this.builder = void 0, e3.model && e3.model.uiMetaData && e3.model.uiMetaData.builder && (this._ensureUiMetaData(), this.model.uiMetaData.builder = o.default.deepClone(e3.model.uiMetaData.builder), this._hydrateBuilder(false)), e3._mode === j.literal ? (this._hydrateAssignableProperties(), this.properties && Object.entries(this.properties).forEach(([t3, i3]) => { const n3 = e3.getProperty(t3); n3 ? i3.copyExpressionValue(n3) : (0, f.warn)(`copyExpressionValue missing expression property: ${t3}`); })) : this._destroyAssignableProperties(), this.type.copyExpressionValue(this, e3), super.copyExpressionValue(e3); @@ -47968,7 +52007,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.builder && (t3.find((e4) => e4.id === this.builder.builderDefId) || t3.push(this.builder.builderDef)), t3; } resetForBuilder(e3, t3) { - if (this.outOfService && !e3 || this.mode !== V.builder) return; + if (this.outOfService && !e3 || this.mode !== j.builder) return; const i3 = this.builder; if (!i3) return; const n3 = this.options.builderLanguagesSequenceConfig; @@ -47977,10 +52016,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; _destroy() { o.default.each(this.variables, (e3) => { e3.deleteReference(this); - }), y.unRegisterExpression(this), this.builder && this.builder.destroy(), this._destroyAssignableProperties(), super._destroy(); + }), y.unRegisterExpression(this), this.builder && (this.builder.destroy(), this._builderViewModel = void 0), this._destroyAssignableProperties(), super._destroy(); } checkVariableModeType() { - return this.isVariableMode && this.getHasVariableTypeMismatch() ? (K(this, null), this.setConfigAndMetaData(null), this.consumesSecureData = false, (0, r2.sprintf)(H.expression.variableTypeError, this.text, this.type.displayString)) : null; + return this.isVariableMode && this.getHasVariableTypeMismatch() ? (X(this, null), this.setConfigAndMetaData(null), this.consumesSecureData = false, (0, r2.sprintf)(z.expression.variableTypeError, this.text, this.type.displayString)) : null; } getHasVariableTypeMismatch(e3) { return e3 || (e3 = this._getReferenceByName(this.text)), e3 && !this.type.isMatch(e3.type); @@ -47991,21 +52030,28 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; get isCollectionExpression() { return false; } + syncModelTypeFromLiteralConfigIfNeeded() { + var e3, t3; + const i3 = null === (t3 = null === (e3 = this.config) || void 0 === e3 ? void 0 : e3.lit) || void 0 === t3 ? void 0 : t3.type; + if (!i3 || i3 === Y.expressionTypeNames.any || this.model.type !== Y.expressionTypeNames.any) return; + const n3 = W.default.resolveType(this.parentFlow, i3, this.config); + n3 && !n3.isAny && (this._type !== n3 ? this.type = n3 : this.model.type !== n3.expressionType && (this.model.type = n3.expressionType, v.fireEvent(this, S.expressionTypeChanged))); + } processText(e3, t3) { if (!(this.isBuilderMode && this.builder && this.builder.hasError && this.builder.builderParts.length) || this.builder.owningExpression.isTransitory) try { if (!this.isExpressionMode && !this.isBuilderMode || this.options.literalOnly) if (this.isVariableMode) { if (!this.parentFlow.shouldParseExpressions) return; !(function(e4) { const t4 = e4.text ? e4._getReferenceByName(e4.text) : void 0; - t4 && !e4.getHasVariableTypeMismatch(t4) ? (K(e4, t4), e4.setConfigAndMetaData(L.expressionItems.reference(1, t4, e4.text)), e4.consumesSecureData = t4.isSecure) : (K(e4, null), e4.setConfigAndMetaData(L.expressionItems.empOrEnf(e4.type, e4.options)), e4.consumesSecureData = false); + t4 && !e4.getHasVariableTypeMismatch(t4) ? (X(e4, t4), e4.setConfigAndMetaData(U.expressionItems.reference(1, t4, e4.text)), e4.consumesSecureData = t4.isSecure) : (X(e4, null), e4.setConfigAndMetaData(U.expressionItems.empOrEnf(e4.type, e4.options)), e4.consumesSecureData = false); })(this); } else if (this.isLiteralMode) if (this.clearParseResult(), !this.options.allowFlowLevelDefault && !this.options.allowEmptyConfig || this.isOverride || !this.isBlank || this.typeHasAssignableProperties || this.isCollectionExpression) if (this.isCollectionExpression) this.processCollection(); else { let e4; this.config && this.config.lit && this.type.additionLiteralProperties && (e4 = o.default.pick(this.config.lit, this.type.additionLiteralProperties)), this.setConfigAndMetaData(q.default.getLiteral(this, this.isLiteralMode && this.type.isCustomType ? void 0 : this.text, this.val, e4)), this.type.isCustomType && s.CodeParser.getParserForLanguage(this.customTypeLitCodeLanguage).parseAndSetExpressionConfig(this); } - else this.setConfigAndMetaData(L.expressionItems.emp(this.type)); - else this.isNoValueMode && (this.isEmptyNoFallback ? this.setConfigAndMetaData(L.expressionItems.enf(this.type)) : this.setConfigAndMetaData(L.expressionItems.emp(this.type))); + else this.setConfigAndMetaData(U.expressionItems.emp(this.type)); + else this.isNoValueMode && (this.isEmptyNoFallback ? this.setConfigAndMetaData(U.expressionItems.enf(this.type)) : this.setConfigAndMetaData(U.expressionItems.emp(this.type))); else super.processText(e3, t3); } catch (e4) { T.error("error during processText", e4); @@ -48016,7 +52062,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; rebuildOrCreateBuilderByDefId(e3) { if (this.isBuilderMode) if (this.builder && this.builder.builderDefId === e3) this.config || this.resetForBuilder(false, false); else { - const t3 = P.default.getBuilderDefById(e3); + const t3 = x.default.getBuilderDefById(e3); t3 ? (this.builder = t3.createOrReviveBuilder(this), this.initializeDesignTimeCalled && this.builder.initializeDesignTime()) : this.topic.error("Could not find builder definition for id " + e3); } } @@ -48026,31 +52072,62 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; search(e3) { this.isLiteralMode ? this.type.searchExpression(e3, this) : e3.checkText(this, this.text, this.label); } + configureFromModel(e3, t3, i3) { + super.configureFromModel(e3, t3, i3); + const n3 = this.type && this.type.dataType || "unknown"; + (0, M.withModelContext)(i3, `NormalExpression[${n3}]`, () => { + (0, P.shouldProceedWithOosAssignment)(this, i3) && this._configureFromModel(e3, t3, i3); + }); + } + _configureFromModel(e3, t3, n3) { + if (null == e3) return; + if ("string" == typeof e3) return void this.setAsLiteral(e3); + if (!(0, D.isConfigureFromModelRecord)(e3)) return; + const r3 = e3; + if ("exp" in r3 && null !== r3.exp && void 0 !== r3.exp) this.setAsExpression(String(r3.exp)); + else { + if ("var" in r3 && "string" == typeof r3.var) { + const e4 = r3.var.trim(); + if (n3 && this.isOutput) { + const { resolveOrCreateVariableFromModel: t4 } = i2(73950); + t4(this, e4, n3); + } + return void this.setText(e4, void 0, void 0, j.variable); + } + if ("noValue" in r3 && true === r3.noValue) this.setAsNoValue(); + else if ("noValueWithNoFallback" in r3 && true === r3.noValueWithNoFallback) "function" == typeof this.setAsNoValueNoFallback ? this.setAsNoValueNoFallback() : this.setAsNoValue(); + else if ("lit" in r3) if (this.type && "function" == typeof this.type.applyLiteralFromModel) this.type.applyLiteralFromModel(this, r3.lit, t3, n3); + else { + const e4 = r3.lit; + "string" == typeof e4 ? this.setAsLiteral(e4) : "boolean" != typeof e4 && "number" != typeof e4 || this.setAsLiteral(String(e4)); + } + } + } setAsExpression(e3, t3, i3) { - this.setText(e3, t3, void 0, V.expression, void 0, i3); + this.setText(e3, t3, void 0, j.expression, void 0, i3); } setAsLiteral(e3, t3) { - this.setText(e3, void 0, void 0, V.literal, t3); + this.setText(e3, void 0, void 0, j.literal, t3); } setAsNoValue() { - this.setText("", void 0, void 0, V.noValue), this.setConfigAndMetaData(L.expressionItems.empOrEnf(this.type, this.options)), this._fireEvent(S.expressionValueChanged); + this.setText("", void 0, void 0, j.noValue), this.setConfigAndMetaData(U.expressionItems.empOrEnf(this.type, this.options)), this._fireEvent(S.expressionValueChanged); } setAsNoValueNoFallback() { - this.options.allowNoValueModeWithNoFallback ? (this.setText("", void 0, void 0, V.noValue), this.setConfigAndMetaData(L.expressionItems.enf(this.type)), this._fireEvent(S.expressionValueChanged)) : (this.topic.errorWithErrorObjectInfo("Can not setAsNoValueNoFallback because it is not allowed expressionId", this, true), this.setAsNoValue()); + this.options.allowNoValueModeWithNoFallback ? (this.setText("", void 0, void 0, j.noValue), this.setConfigAndMetaData(U.expressionItems.enf(this.type)), this._fireEvent(S.expressionValueChanged)) : (this.topic.errorWithErrorObjectInfo("Can not setAsNoValueNoFallback because it is not allowed expressionId", this, true), this.setAsNoValue()); } setCommunicationBuilderText(e3, t3) { var i3; if (N.isFeatureAvailable(R.default.botFlowsMsIntegration) && (null === (i3 = this.options) || void 0 === i3 ? void 0 : i3.builderLanguagesSequenceConfig) && Object.values(this.parentFlow.languages.supportedLanguagesLCase).every((e4) => this.options.builderLanguagesSequenceConfig.availableLanguages[e4])) return this.resetForBuilder(true, false), true; if (!this.isBuilderMode) { if (!t3 || !this.options.allowModeBuilder) return false; - this.setModeWithTransition(V.builder, D.builderIds.parts.genericCommunication); + this.setModeWithTransition(j.builder, L.builderIds.parts.genericCommunication); } const n3 = this.builder; if (!n3) return false; switch (n3.builderDef.id) { - case D.builderIds.parts.genericCommunication: - case D.builderIds.parts.markdownCommunication: - case D.builderIds.parts.markdownString: + case L.builderIds.parts.genericCommunication: + case L.builderIds.parts.markdownCommunication: + case L.builderIds.parts.markdownString: break; default: return false; @@ -48060,64 +52137,68 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; setStringBuilderText(e3, t3) { if (!this.isBuilderMode) { if (!t3 || !this.options.allowModeBuilder) return false; - this.setModeWithTransition(V.builder, D.builderIds.parts.genericString); + this.setModeWithTransition(j.builder, L.builderIds.parts.genericString); } const i3 = this.builder; if (!i3) return false; i3.addOrSetStringLiteralBuilderPart(e3), this.setText(i3.buildExpressionText()), this._ensureUiMetaData(), this.model.uiMetaData.builder = i3.model; } checkDefaultStringBuilderText(e3) { - this.text && this.text !== M.default.notSet || this.setStringBuilderText(e3, true); + this.text && this.text !== k.default.notSet || this.setStringBuilderText(e3, true); } _fireEvent(e3) { - O.fireEvent(this, e3); + v.fireEvent(this, e3); } get isOutput() { var e3; return null === (e3 = this.options) || void 0 === e3 ? void 0 : e3.isOutput; } setAsOutput(e3) { - this.options.setAsOutput().setAllowSecure(!e3), this.shouldBeNoValue ? this.setModeWithTransition(V.noValue) : this.options.wantVariableMode && this.setModeWithTransition(V.variable); + this.options.setAsOutput().setAllowSecure(!e3), this.shouldBeNoValue ? this.setModeWithTransition(j.noValue) : this.options.wantVariableMode && this.setModeWithTransition(j.variable); } setModeWithTransition(e3, t3) { - this.mode === e3 && (e3 !== V.builder || this.builder && this.builder.builderDefId === t3) || (this.isBuilderMode && (e3 === V.expression || e3 === V.builder) && this.builder && (this._oldBuilderConfig[this.builder.builderDefId] = { builderConfig: this.model.uiMetaData.builder, text: this.text }, this.builder = void 0), e3 === V.builder && (this._ensureUiMetaData(), this._oldBuilderConfig[t3] && (this._oldBuilderConfig[t3].text === this.text && (this.model.uiMetaData.builder = this._oldBuilderConfig[t3].builderConfig), delete this._oldBuilderConfig[t3])), this.isLiteralMode && e3 === V.expression ? this.model.text = this._transitionLitToExpression() : this.isExpressionMode || this.isBuilderMode ? e3 === V.literal ? this.model.text = this._getLiteralValueOfExpression() : e3 === V.variable && this.type.dataType === Y.expressionTypeNames.prompt && 0 === F.expressionDataService.getPromptsFromExpressionText(this.text).length && (this.model.text = "") : this.isNoValueMode && e3 !== V.variable && (this.model.text = this.options.defaultText), this.mode = e3, this.rebuildOrCreateBuilderByDefId(t3), this._fireEvent(S.expressionValueChanged)); + this.mode === e3 && (e3 !== j.builder || this.builder && this.builder.builderDefId === t3) || (this._clearCameFromJsonNullOrEmptyStringMetadata(), this.isBuilderMode && (e3 === j.expression || e3 === j.builder) && this.builder && (this._oldBuilderConfig[this.builder.builderDefId] = { builderConfig: this.model.uiMetaData.builder, text: this.text }, this.builder = void 0), e3 === j.builder && (this._ensureUiMetaData(), this._oldBuilderConfig[t3] && (this._oldBuilderConfig[t3].text === this.text && (this.model.uiMetaData.builder = this._oldBuilderConfig[t3].builderConfig), delete this._oldBuilderConfig[t3])), this.isLiteralMode && e3 === j.expression ? this.model.text = this._transitionLitToExpression() : this.isExpressionMode || this.isBuilderMode ? e3 === j.literal ? this.model.text = this._getLiteralValueOfExpression() : e3 === j.variable && this.type.dataType === Y.expressionTypeNames.prompt && 0 === V.expressionDataService.getPromptsFromExpressionText(this.text).length && (this.model.text = "") : this.isNoValueMode && e3 !== j.variable && (this.model.text = this.options.defaultText), this.mode = e3, this.rebuildOrCreateBuilderByDefId(t3), this._fireEvent(S.expressionValueChanged)); } _getLiteralValueOfExpression() { - return (this.savedLit || "" === this.savedLit) && this.type.isMatch(U.globalTypes.string) ? this.savedLit : this.type.getLiteralValueOfExpression(this); + return (this.savedLit || "" === this.savedLit) && this.type.isMatch(H.globalTypes.string) ? this.savedLit : this.type.getLiteralValueOfExpression(this); } setText(e3, t3, i3, n3, r3, a2) { var s2, l2; - this.getUiMetaData(G.uiMetaDataKey.cameFromNull) && e3 !== this.model.text && delete this.model.uiMetaData.cameFromNull, this.isLiteralMode && (null === (s2 = this.options) || void 0 === s2 ? void 0 : s2.wantLowerCaseStringLiteralValue) && o.default.isString(e3) && (e3 = e3.toLowerCase()), (null === (l2 = this.type) || void 0 === l2 ? void 0 : l2.isCustomType) && (this.customTypeLitCodeLanguage = r3), super.setText(e3, t3, i3, n3, r3, a2); + e3 !== this.model.text && this._clearCameFromJsonNullOrEmptyStringMetadata(), this.isLiteralMode && (null === (s2 = this.options) || void 0 === s2 ? void 0 : s2.wantLowerCaseStringLiteralValue) && o.default.isString(e3) && (e3 = e3.toLowerCase()), (null === (l2 = this.type) || void 0 === l2 ? void 0 : l2.isCustomType) && (this.customTypeLitCodeLanguage = r3), super.setText(e3, t3, i3, n3, r3, a2); + } + _clearCameFromJsonNullOrEmptyStringMetadata() { + var e3; + (null === (e3 = this.model) || void 0 === e3 ? void 0 : e3.uiMetaData) && (void 0 !== this.model.uiMetaData.cameFromEmptyString && delete this.model.uiMetaData.cameFromEmptyString, void 0 !== this.model.uiMetaData.cameFromNull && delete this.model.uiMetaData.cameFromNull); } update(e3, t3, i3) { - this._reset(), this.mode = V.literal, this.model.text = e3, this.setConfigAndMetaData(q.default.getLiteral(this, e3, t3, i3)), y.registerExpression(this), (0, E.validateNode)(this.parent, true), this._executeCallbacks(this.valueChangedCallbacks, "valueChangedCallbacks"), this._fireEvent(S.expressionValueChanged); + this._reset(), this.mode = j.literal, this.model.text = e3, this.setConfigAndMetaData(q.default.getLiteral(this, e3, t3, i3)), y.registerExpression(this), (0, w.validateNode)(this.parent, true), this._executeCallbacks(this.valueChangedCallbacks, "valueChangedCallbacks"), this._fireEvent(S.expressionValueChanged); } updateFromConfigListManagerItem(e3) { let t3; - this.type.isMatch(U.globalTypes.userQueue, x.settings.typeOf) && (t3 = {}, t3.username = e3.username), this.update(e3.label, e3.id, t3); + this.type.isMatch(H.globalTypes.userQueue, B.settings.typeOf) && (t3 = {}, t3.username = e3.username), this.update(e3.label, e3.id, t3); } validate(e3) { var t3, i3, n3, s2; if (this.outOfService || this.isDestroyed) return true; if (e3.isDeep && this.renamePromptVariables(), this.isExpressionMode) { - if (!this.options.getAllowModeExpression(this)) return this.setParseAndValidationError(H.expression.expressionModeNotAllowed, e3), false; + if (!this.options.getAllowModeExpression(this)) return this.setParseAndValidationError(z.expression.expressionModeNotAllowed, e3), false; } else if (this.isLiteralMode) { - if (!this.options.allowModeLiteral) return this.setParseAndValidationError(H.expression.literalModeNotAllowed, e3), false; - if ((null === (t3 = this.text) || void 0 === t3 ? void 0 : t3.length) > M.default.maxExpressionTextLength) return this.setParseAndValidationError((0, r2.sprintf)(H.expression.expressionLengthToLong, this.text.length, M.default.maxExpressionTextLength), e3), false; + if (!this.options.allowModeLiteral) return this.setParseAndValidationError(z.expression.literalModeNotAllowed, e3), false; + if ((null === (t3 = this.text) || void 0 === t3 ? void 0 : t3.length) > k.default.maxExpressionTextLength) return this.setParseAndValidationError((0, r2.sprintf)(z.expression.expressionLengthToLong, this.text.length, k.default.maxExpressionTextLength), e3), false; let i4 = true; if (o.default.each(this.properties, (t4) => { var n4; t4.outOfService || (t4.isNoValueMode ? (null === (n4 = this.getPropertyDefinition(t4.propertyName)) || void 0 === n4 ? void 0 : n4.isRequired) && this.typeHasAssignableProperties && (this.setParseAndValidationError((0, r2.sprintf)(a.architect.requiredPropertyMissing, t4.propertyName), e3), i4 = false) : t4.validate(e3) || (i4 = false)); }), !i4) return i4; } else if (this.isVariableMode) { - if (!this.options.allowModeVariable) return this.setParseAndValidationError(H.expression.variableModeNotAllowed, e3), false; + if (!this.options.allowModeVariable) return this.setParseAndValidationError(z.expression.variableModeNotAllowed, e3), false; } else if (this.isNoValueMode) { - if (!this.options.allowModeNoValue) return this.setParseAndValidationError(H.expression.noValueModeNotAllowed, e3), false; + if (!this.options.allowModeNoValue) return this.setParseAndValidationError(z.expression.noValueModeNotAllowed, e3), false; } else if (this.isBuilderMode) { - if (!this.options.allowModeBuilder) return this.setParseAndValidationError(H.expression.builderModeNotAllowed, e3), false; - if (!this.builder) return this.setParseAndValidationError(H.builders.noBuilderSpecified, e3), false; + if (!this.options.allowModeBuilder) return this.setParseAndValidationError(z.expression.builderModeNotAllowed, e3), false; + if (!this.builder) return this.setParseAndValidationError(z.builders.noBuilderSpecified, e3), false; if (!this.builder.validate(e3)) { - const t4 = this.builder.overrideErrorText || H.expression.builderInError; + const t4 = this.builder.overrideErrorText || z.expression.builderInError; return this.setParseError(t4), super.validate(e3), false; } { @@ -48139,11 +52220,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } getMediaReference() { var e3; - const t3 = this.type.isMatch(U.globalTypes.image, x.settings.exact), i3 = this.type.isMatch(U.globalTypes.responseAsset, x.settings.exact), n3 = this.type.isMatch(U.globalTypes.file, x.settings.exact), r3 = this.type.isMatch(U.globalTypes.video, x.settings.exact), o2 = this.type.isMatch(U.globalTypes.digitalAudio, x.settings.exact); + const t3 = this.type.isMatch(H.globalTypes.image, B.settings.exact), i3 = this.type.isMatch(H.globalTypes.responseAsset, B.settings.exact), n3 = this.type.isMatch(H.globalTypes.file, B.settings.exact), r3 = this.type.isMatch(H.globalTypes.video, B.settings.exact), o2 = this.type.isMatch(H.globalTypes.digitalAudio, B.settings.exact); if ((t3 || i3 || n3 || r3 || o2) && C.permissionServiceHelper.canViewResponseAsset()) { let a2; if (this.isLiteralMode) a2 = this._getMediaAssetId(); - else if (this.isBuilderMode && (0, w.isBaseBuilderWithBuilderPartsViewModel)(this.builder)) { + else if (this.isBuilderMode && (0, F.isBaseBuilderWithBuilderPartsViewModel)(this.builder)) { let t4, i4; if ((null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.areFlowFilterPreviewOptionsActive) ? (t4 = this.parentFlow.getFlowFilterPreviewOptionsExpressionDisplayOptions(this), i4 = this.builder.findBestContainerPartForCriteria(t4.criteria) || this.builder) : i4 = this.builder, i4) { let e4; @@ -48157,7 +52238,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (i3) return h.responseAssetManager.getItem(a2); if (n3) return p.fileManager.getItem(a2); if (r3) return m.videoManager.getItem(a2); - if (o2) return c.digitalAudioManager.getItem(a2); + if (o2) return d.digitalAudioManager.getItem(a2); } } } @@ -48174,10 +52255,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } get isBooleanTrue() { switch (this._mode) { - case V.expression: - return this.text === M.default.true; - case V.literal: - if (this.type.isMatch(U.globalTypes.boolean, x.settings.exact)) return this.text === M.default.true; + case j.expression: + return this.text === k.default.true; + case j.literal: + if (this.type.isMatch(H.globalTypes.boolean, B.settings.exact)) return this.text === k.default.true; } return false; } @@ -48199,15 +52280,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return `${super.toString()} - mode:${this.mode}`; } } - t2.NormalExpression = Q; + t2.NormalExpression = ee; }, 39194: (e2, t2, i2) => { "use strict"; var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseActionNoInputNoMatchModel = void 0; - const o = i2(31635), a = i2(68794), s = i2(94858), l = i2(80295), u = o.__importDefault(i2(7401)), d = i2(80295); - class c extends s.BaseActionModel { + const o = i2(31635), a = i2(68794), s = i2(94858), l = i2(80295), u = o.__importDefault(i2(7401)), c = i2(80295); + class d extends s.BaseActionModel { constructor(e3) { - super(e3), (0, d.makeUnenumerable)(this, "_customizeNoInput"), (0, d.makeUnenumerable)(this, "_customizeNoMatch"), (0, d.makeUnenumerable)(this, "_enableBargeIn"), (0, d.makeUnenumerable)(this, "_noInputs"), (0, d.makeUnenumerable)(this, "_noInputReprompts"), (0, d.makeUnenumerable)(this, "_noMatches"), (0, d.makeUnenumerable)(this, "_noMatchReprompts"), (0, d.makeUnenumerable)(this, "_voiceEndOfInputTimeout"), (0, d.makeUnenumerable)(this, "_paths"); + super(e3), (0, c.makeUnenumerable)(this, "_customizeNoInput"), (0, c.makeUnenumerable)(this, "_customizeNoMatch"), (0, c.makeUnenumerable)(this, "_enableBargeIn"), (0, c.makeUnenumerable)(this, "_noInputs"), (0, c.makeUnenumerable)(this, "_noInputReprompts"), (0, c.makeUnenumerable)(this, "_noMatches"), (0, c.makeUnenumerable)(this, "_noMatchReprompts"), (0, c.makeUnenumerable)(this, "_voiceEndOfInputTimeout"), (0, c.makeUnenumerable)(this, "_paths"); } get customizeNoInput() { return this._customizeNoInput; @@ -48282,7 +52363,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super.pasteReIdOrRename(e3), this._customizeNoInput && this._customizeNoInput.pasteReIdOrRename(e3), this._customizeNoMatch && this._customizeNoMatch.pasteReIdOrRename(e3), this._enableBargeIn && this._enableBargeIn.pasteReIdOrRename(e3), this._noInputs && this._noInputs.forEach((t3) => t3.pasteReIdOrRename(e3)), this._noInputReprompts && this._noInputReprompts.pasteReIdOrRename(e3), this._noMatches && this._noMatches.forEach((t3) => t3.pasteReIdOrRename(e3)), this._noMatchReprompts && this._noMatchReprompts.pasteReIdOrRename(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteReIdOrRename(e3), this._paths && this._paths.forEach((t3) => t3.pasteReIdOrRename(e3)); } } - t2.BaseActionNoInputNoMatchModel = c, o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "customizeNoInput", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "customizeNoMatch", null), o.__decorate([(0, l.enumerable)(false), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "noInput", null), o.__decorate([(0, l.enumerable)(false), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "noMatch", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "noInputs", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "noInputReprompts", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "noMatches", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "noMatchReprompts", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.default && u.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "voiceEndOfInputTimeout", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== u.default && u.default) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "enableBargeIn", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Array), o.__metadata("design:paramtypes", [Array])], c.prototype, "paths", null); + t2.BaseActionNoInputNoMatchModel = d, o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "customizeNoInput", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "customizeNoMatch", null), o.__decorate([(0, l.enumerable)(false), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "noInput", null), o.__decorate([(0, l.enumerable)(false), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "noMatch", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "noInputs", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "noInputReprompts", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "noMatches", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "noMatchReprompts", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.default && u.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "voiceEndOfInputTimeout", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== u.default && u.default) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "enableBargeIn", null), o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", Array), o.__metadata("design:paramtypes", [Array])], d.prototype, "paths", null); }, 39292: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -48308,15 +52389,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 39296: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DataPairListCollection = void 0; - const n2 = i2(31635), r2 = i2(15364), o = i2(44703), a = n2.__importDefault(i2(87340)); - class s extends o.ExpressionContainer { + const n2 = i2(31635), r2 = i2(69453), o = i2(1910), a = i2(1910), s = i2(1910), l = i2(15364), u = i2(44703), c = n2.__importDefault(i2(87340)), d = i2(17604); + class p extends u.ExpressionContainer { constructor(e3, t3, i3, n3, r3) { super(e3.parentFlow, e3, t3, r3), this._initialize(); } createItem(e3) { (e3 = e3 || {}).name || (e3.name = ""), e3.value || (e3.value = []); - const t3 = new r2.DataPairList(this.parent, e3.value, this.areInputLists, true); - return new a.default(e3, t3); + const t3 = new l.DataPairList(this.parent, e3.value, this.areInputLists, true); + return new c.default(e3, t3); } get isDataPairListCollection() { return true; @@ -48324,13 +52405,43 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; get className() { return "DataPairListCollection"; } + configureFromModel(e3, t3, i3) { + if (super.configureFromModel(e3, t3, i3), !(0, o.isConfigureFromModelRecord)(e3)) return void i3.warn(r2.configureFromModel.dataPairListCollectionMustBeObject); + const n3 = e3, l2 = i3.currentPropertyName; + for (const [e4, o2] of Object.entries(n3)) (0, s.withModelContext)(i3, e4, () => { + const n4 = this.items.find((t4) => t4.name === e4); + if (!n4) { + const t4 = l2 ? `${l2} ` : ""; + return void i3.debug(`No matching item '${e4}' in ${t4}DataPairListCollection.`); + } + const s2 = n4.value; + if ((0, a.hasConfigureFromModel)(s2)) if ("object" != typeof o2 || null === o2 || Array.isArray(o2)) i3.warn((0, d.sprintf)(r2.configureFromModel.dataPairListCollectionItemMustBeObject, e4)); + else try { + s2.configureFromModel(o2, t3, i3); + } catch (t4) { + const n5 = t4 instanceof Error ? t4.message : String(t4), o3 = l2 ? `${l2}.` : ""; + i3.warn((0, d.sprintf)(r2.configureFromModel.dataPairListConfigureFailed, `${o3}${e4}`, n5)); + } + }); + } } - t2.DataPairListCollection = s; + t2.DataPairListCollection = p; }, 39424: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getAgenticVirtualAgentVersion = t2.getAgenticVirtualAgent = t2.getAgenticVirtualAgents = void 0; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getAgenticVirtualAgentVersion = t2.getAgenticVirtualAgentVersionViaApps = t2.getAgenticVirtualAgent = t2.getAgenticVirtualAgentViaApps = t2.getAgenticVirtualAgents = t2.getAgenticVirtualAgentsViaApps = void 0; const n2 = i2(31635), r2 = n2.__importDefault(i2(3542)), o = n2.__importDefault(i2(83726)), a = n2.__importDefault(i2(71960)), s = n2.__importDefault(i2(36019)), l = { ignoreBadResponse: true }; - t2.getAgenticVirtualAgents = s.default.request("GET", "{public-api.apps}/api/v2/apps/agentic/virtualagents", o.default, l), t2.getAgenticVirtualAgent = s.default.request("GET", "{public-api.apps}/api/v2/apps/agentic/virtualagents/{agenticVirtualAgentId}", r2.default, l), t2.getAgenticVirtualAgentVersion = s.default.request("GET", "{public-api.apps}/api/v2/apps/agentic/virtualagents/{agenticVirtualAgentId}/versions/{agenticVirtualAgentVersionId}", a.default, l); + t2.getAgenticVirtualAgentsViaApps = s.default.request("GET", "{public-api.apps}/api/v2/apps/agentic/virtualagents", o.default, l), t2.getAgenticVirtualAgents = s.default.request("GET", "{public-api.apps}/api/v2/agentic/virtualagents", o.default, l), t2.getAgenticVirtualAgentViaApps = s.default.request("GET", "{public-api.apps}/api/v2/apps/agentic/virtualagents/{agenticVirtualAgentId}", r2.default, l), t2.getAgenticVirtualAgent = s.default.request("GET", "{public-api.apps}/api/v2/agentic/virtualagents/{agenticVirtualAgentId}", r2.default, l), t2.getAgenticVirtualAgentVersionViaApps = s.default.request("GET", "{public-api.apps}/api/v2/apps/agentic/virtualagents/{agenticVirtualAgentId}/versions/{agenticVirtualAgentVersionId}", a.default, l), t2.getAgenticVirtualAgentVersion = s.default.request("GET", "{public-api.apps}/api/v2/agentic/virtualagents/{agenticVirtualAgentId}/versions/{agenticVirtualAgentVersionId}", a.default, l); + }, 39426: (e2, t2) => { + "use strict"; + function i2(e3) { + return e3 ? e3 instanceof Set ? e3 : new Set(e3) : /* @__PURE__ */ new Set(); + } + Object.defineProperty(t2, "__esModule", { value: true }), t2.buildAvailabilityContext = function(e3) { + return { enabledFeatureToggles: i2(null == e3 ? void 0 : e3.enabledFeatureToggles), enabledAdsFeatures: i2(null == e3 ? void 0 : e3.enabledAdsFeatures), permissions: i2(null == e3 ? void 0 : e3.permissions), products: i2(null == e3 ? void 0 : e3.products) }; + }, t2.evaluateAvailabilityCondition = function e3(t3, i3) { + var n2, r2, o, a; + return !t3 || ("featureToggle" in t3 ? i3.enabledFeatureToggles.has(t3.featureToggle) : "adsFeature" in t3 ? i3.enabledAdsFeatures.has(t3.adsFeature) : "permission" in t3 ? null !== (r2 = null === (n2 = i3.permissions) || void 0 === n2 ? void 0 : n2.has(t3.permission)) && void 0 !== r2 && r2 : "product" in t3 ? null !== (a = null === (o = i3.products) || void 0 === o ? void 0 : o.has(t3.product)) && void 0 !== a && a : "not" in t3 ? !e3(t3.not, i3) : "and" in t3 ? t3.and.every((t4) => e3(t4, i3)) : "or" in t3 && t3.or.some((t4) => e3(t4, i3))); + }; }, 39504: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.toBinary = void 0, t2.toBinary = (e3) => "undefined" != typeof window ? window.atob(e3) : Buffer.from(e3, "base64").toString("binary"); @@ -48558,8 +52669,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = i2(55909), o = i2(33951), a = n2.__importDefault(i2(11541)), s = n2.__importDefault(i2(88835)), l = "BaseBuilderPartContainerDef"; class u extends s.default { - constructor(e3, t3, i3, n3, a2, s2, u2, d, c, p, _, h, m, g, f, T) { - super(e3, t3, i3, n3, a2, s2, u2, c, p, _, h, m, g, f, T), o.ParameterValidator.expectObject(d, () => r2.ParameterInfo.createConstructorParameter(l, "creationCriteria")), Object.defineProperties(this, { _creationCriteria: { value: d, enumerable: false } }); + constructor(e3, t3, i3, n3, a2, s2, u2, c, d, p, _, h, m, g, f, T) { + super(e3, t3, i3, n3, a2, s2, u2, d, p, _, h, m, g, f, T), o.ParameterValidator.expectObject(c, () => r2.ParameterInfo.createConstructorParameter(l, "creationCriteria")), Object.defineProperties(this, { _creationCriteria: { value: c, enumerable: false } }); } get className() { return l; @@ -48621,8 +52732,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = a; }, 39843: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = i2(47957); - class u extends s.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = n2.__importDefault(i2(4648)), u = i2(47957); + class c extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -48631,10 +52742,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return (e3.isMenuChoice ? e3.parent : e3).isStartUpObject; } validate(e3) { - this.parentFlow.hasMenus ? this.isInStartupObject() && this.topParent.isTask && e3.addError(this, l.previousMenu.inStartupError) : e3.addError(this, l.previousMenu.noMenus), super.validate(e3); + this.parentFlow.hasMenus ? this.isInStartupObject() && this.topParent.isTask && e3.addError(this, u.previousMenu.inStartupError) : e3.addError(this, u.previousMenu.noMenus), super.validate(e3); } } - u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: true, canBeTreeNode: true, helpTopic: r2.helpTopics.actions.previousMenu, modelClass: i2(45279), name: l.actions.previousMenu, scriptingName: "ArchActionPreviousMenu", termination: a.terminatesTask }), t2.A = u; + c.info = o.default.createActionInfo({ actionClass: c, canBeInTask: true, canBeTreeNode: true, helpTopic: r2.helpTopics.actions.previousMenu, modelClass: i2(45279), name: u.actions.previousMenu, scriptingName: "ArchActionPreviousMenu", termination: a.terminatesTask, modelFormatSupport: { flowYaml: { inProgress: true, feature: l.default.changeSetsFeaturePhase2 } } }), t2.A = c; }, 39865: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -48809,8 +52920,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 40192: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(19039), o = i2(96618), a = n2.__importDefault(i2(51971)), s = n2.__importDefault(i2(6035)), l = n2.__importDefault(i2(19359)), u = i2(80428), d = n2.__importDefault(i2(65302)); - class c extends s.default { + const n2 = i2(31635), r2 = i2(19039), o = i2(96618), a = n2.__importDefault(i2(51971)), s = n2.__importDefault(i2(6035)), l = n2.__importDefault(i2(19359)), u = i2(80428), c = n2.__importDefault(i2(65302)); + class d extends s.default { constructor(e3) { super(e3), this.outboundSettings = new a.default(this), this._addToAutoManageSettings(this.outboundSettings), this.pathDiscovery = this._addToAutoManageSettings(new l.default(this)); } @@ -48832,10 +52943,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return t3 && i3 && this.outboundSettings.loadSettings(t3, i3), super.setNewInstanceDefaults(e3); } onTypeMapCreated() { - super.onTypeMapCreated(), d.default.createType(r2.ContactType, this); + super.onTypeMapCreated(), c.default.createType(r2.ContactType, this); } validate(e3) { - d.default.getType(this, u.expressionTypeNames.contact).changeProperties(this.outboundSettings ? this.outboundSettings.contactList : void 0), super.validate(e3); + c.default.getType(this, u.expressionTypeNames.contact).changeProperties(this.outboundSettings ? this.outboundSettings.contactList : void 0), super.validate(e3); } get type() { return o.flowTypes.flowTypeOutboundCall; @@ -48844,7 +52955,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return "outboundCall"; } } - t2.default = c; + t2.default = d; }, 40209: (e2, t2, i2) => { const n2 = i2(66445); function r2() { @@ -48890,37 +53001,58 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } t2.default = s; + }, 40478: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.extractRefIdFromPath = function(e3) { + const t3 = e3.lastIndexOf("["), i2 = e3.lastIndexOf("]"); + return t3 >= 0 && i2 > t3 ? e3.substring(t3 + 1, i2) : e3; + }; }, 40522: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ImageType = void 0; - const n2 = i2(31635), r2 = i2(64720), o = i2(97629), a = i2(27491), s = n2.__importDefault(i2(22226)), l = i2(80428), u = i2(14394), d = i2(94765); - class c extends d.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = i2(64720), a = i2(97629), s = i2(10798), l = n2.__importDefault(i2(4648)), u = i2(82632), c = i2(62390), d = i2(62390), p = i2(27491), _ = n2.__importDefault(i2(22226)), h = i2(80428), m = i2(14394), g = i2(81391), f = i2(47957); + class T extends g.ExpressionTypeBaseResponseAsset { constructor(e3, t3, i3) { super(e3, t3, i3); } get className() { return "ImageType"; } + getPlutusMaxUploadSizeMegabytes() { + return u.imageLimits.size.maxSizeMegabytes; + } + getPlutusMimeTypes() { + return c.IMAGE_MIME_TYPES_SET; + } + getPlutusSupportedFileExtensions() { + return d.IMAGE_SUPPORTED_EXTENSIONS; + } + getPlutusMediaPlaceholderText() { + return f.image.imagePlaceholder; + } + getPlutusSupportedFileTypesText() { + return (0, s.isFeatureAvailable)(l.default.cannedResponseAttachmentsFeature) ? (0, r2.sprintf)(f.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()) : f.image.supportedFileTypes; + } canConvertLitToExpression(e3) { - return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindImage", e3, [u.globalTypes.string]); + return p.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindImage", e3, [m.globalTypes.string]); } convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindImage(${s.default.getQuotedExpressionStringLiteral(t3)})` : ""; + return t3 && this.canConvertLitToExpression(e3) ? `FindImage(${_.default.getQuotedExpressionStringLiteral(t3)})` : ""; } _getLiteralValueOfExpression() { return ""; } createExpressionOptionClass() { - return new r2.ExpressionTypeImageOptions(); + return new o.ExpressionTypeImageOptions(); } get listManager() { - return o.imageManager; + return a.imageManager; } get supportsLiteralEditor() { return true; } } - t2.ImageType = c, c.typeIdentifier = l.expressionTypeNames.image; + t2.ImageType = T, T.typeIdentifier = h.expressionTypeNames.image; }, 40549: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -49105,7 +53237,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = i2(43212), o = i2(17604), a = i2(19284), s = n2.__importDefault(i2(65449)), l = i2(63221), u = i2(47957); - class d extends r2.BaseConfigurationListViewModel { + class c extends r2.BaseConfigurationListViewModel { constructor(e3) { super(e3); } @@ -49181,7 +53313,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return !!(null == e3 ? void 0 : e3.contains("bot_transcription_connector~")); } get isBotTranscriptionConnectorType() { - return d.isSttIdBotTranscriptionConnectorType(this.model.id); + return c.isSttIdBotTranscriptionConnectorType(this.model.id); } get isBotTranscriptionConnectorTypeOrGrammarBased() { return this.isBotTranscriptionConnectorType || this.isGrammarBased; @@ -49196,7 +53328,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } } - t2.default = d; + t2.default = c; }, 40776: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -49230,14 +53362,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } t2.default = s; }, 40782: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(76395), o = i2(45421), a = i2(36024), s = i2(13126), l = i2(60094), { menuActionActionType: u } = i2(30801), { MenuChoiceViewModel: d } = i2(63883), { ParameterInfo: c } = i2(55909), { ParameterValidator: p } = i2(33951), _ = i2(47957), h = "ClipboardContentMenuViewModel"; + const n2 = i2(92140), r2 = i2(76395), o = i2(45421), a = i2(36024), s = i2(13126), l = i2(60094), { menuActionActionType: u } = i2(30801), { MenuChoiceViewModel: c } = i2(63883), { ParameterInfo: d } = i2(55909), { ParameterValidator: p } = i2(33951), _ = i2(47957), h = "ClipboardContentMenuViewModel"; class m extends r2 { constructor(e3, t3) { super(e3, t3); } _pasteBefore(e3) { const t3 = super._pasteBefore(e3); - return t3.isFailure || e3.destViewModel.menus ? t3 : (this._destUpconvertMenuChoiceViewModel = d.createMenuChoice(e3.destViewModel, u), this.log("Paste will be up-converting the menu to a sub-menu. Newly created menu choice will be " + this._getNameAndIdStr(this._destUpconvertMenuChoiceViewModel)), this.createClipboardResultSuccess()); + return t3.isFailure || e3.destViewModel.menus ? t3 : (this._destUpconvertMenuChoiceViewModel = c.createMenuChoice(e3.destViewModel, u), this.log("Paste will be up-converting the menu to a sub-menu. Newly created menu choice will be " + this._getNameAndIdStr(this._destUpconvertMenuChoiceViewModel)), this.createClipboardResultSuccess()); } _pasteAfter(e3) { if (!n2.isUndefined(this._destUpconvertMenuChoiceViewModel)) { @@ -49247,11 +53379,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.createClipboardResultSuccess(); } static create(e3, t3, i3, n3) { - p.expectBool(t3, () => c.createFunctionParameter(h, "create", "deleteMenuForCut"), true), p.expectObject(i3, () => c.createFunctionParameter(h, "create", "clipboardLogging")), p.expectString(n3, () => c.createFunctionParameter(h, "create", "newContentName"), true); + p.expectBool(t3, () => d.createFunctionParameter(h, "create", "deleteMenuForCut"), true), p.expectObject(i3, () => d.createFunctionParameter(h, "create", "clipboardLogging")), p.expectString(n3, () => d.createFunctionParameter(h, "create", "newContentName"), true); const r3 = o.getFlowViewModel(e3); - if (!r3) return p.expectFlowViewModel(r3, () => c.createFunctionParameter(h, "create", "menuViewModel.parentFlow")), null; + if (!r3) return p.expectFlowViewModel(r3, () => d.createFunctionParameter(h, "create", "menuViewModel.parentFlow")), null; let s2; - p.expectObject(e3.info, () => c.createFunctionParameter(h, "create", "menuViewModel")); + p.expectObject(e3.info, () => d.createFunctionParameter(h, "create", "menuViewModel")); try { const o2 = m._addMenuToCoreContent(e3), l2 = new a(); if (l2.configure(r3, e3, o2, n3), s2 = new m(l2, i3), e3.addClipboardDependencies(s2), t3) { @@ -49326,11 +53458,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } i2(11475).extend(n2, "ResponseAssetVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; }, 40894: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(81086), o = i2(65302), { expressionToJsonSchemaTypeMap: a } = i2(54018), { expressionTypeNames: s } = i2(80428), { jsonSchemaTypeNames: l } = i2(29795), { SchemaSource: u } = i2(79519), d = i2(24032).getTopic("SchemaProperty"); - function c(e3, t3, i3) { - c.baseConstructor.call(this), Object.defineProperties(this, { _schemaDefinitions: { value: i3 }, hasArrayWithNoType: { value: false, writable: true }, model: { value: t3 }, properties: { value: [] } }), Object.defineProperties(this, { type: { value: this._determineType(), writable: true } }), this.name = e3; + const n2 = i2(92140), r2 = i2(81086), o = i2(65302), { expressionToJsonSchemaTypeMap: a } = i2(54018), { expressionTypeNames: s } = i2(80428), { jsonSchemaTypeNames: l } = i2(29795), { SchemaSource: u } = i2(79519), c = i2(24032).getTopic("SchemaProperty"); + function d(e3, t3, i3) { + d.baseConstructor.call(this), Object.defineProperties(this, { _schemaDefinitions: { value: i3 }, hasArrayWithNoType: { value: false, writable: true }, model: { value: t3 }, properties: { value: [] } }), Object.defineProperties(this, { type: { value: this._determineType(), writable: true } }), this.name = e3; } - r2.extend(c), Object.defineProperties(c.prototype, { _applyFallbackTypeProperties: { value: function(e3) { + r2.extend(d), Object.defineProperties(d.prototype, { _applyFallbackTypeProperties: { value: function(e3) { e3 && (this.model.maxLength = e3.maxLength, this.model.minLength = e3.minLength, this.model.minimum = e3.minimum, this.model.maximum = e3.maximum, this.model.default = e3.default, this.model.examples = e3.examples, this.model.type = e3.type, this.model.allowableValues = e3.allowableValues, this.fallbackTypeDescription = e3.description); } }, _determineTypeFromArray: { value: function(e3, t3, i3) { const r3 = e3.items || e3.anyOf; @@ -49344,48 +53476,48 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } }, _hasSchemaDefRef: { value: function(e3) { return n2.isString(e3.$ref) && e3.$ref.length; } }, _getSchemaDefRef: { value: function(e3) { - if (!this._hasSchemaDefRef(e3)) return d.error("property has no schema definition reference"), null; - if (!e3.$ref.startsWith("#/definitions/")) return d.error(`property ref ${e3.$ref} does not start with #/definitions/`), null; - if (!n2.isObject(this._schemaDefinitions)) return d.error(`we have a property ref ${e3.$ref} but no schema definitions`), null; + if (!this._hasSchemaDefRef(e3)) return c.error("property has no schema definition reference"), null; + if (!e3.$ref.startsWith("#/definitions/")) return c.error(`property ref ${e3.$ref} does not start with #/definitions/`), null; + if (!n2.isObject(this._schemaDefinitions)) return c.error(`we have a property ref ${e3.$ref} but no schema definitions`), null; const t3 = e3.$ref.substring(14); - return t3 && n2.isObject(this._schemaDefinitions[t3]) ? this._schemaDefinitions[t3] : (d.error(`No schema definition found for property ref ${e3.$ref}`), null); + return t3 && n2.isObject(this._schemaDefinitions[t3]) ? this._schemaDefinitions[t3] : (c.error(`No schema definition found for property ref ${e3.$ref}`), null); } }, _determineType: { value: function(e3, t3, i3, r3) { if (e3 = e3 || this.model, this._hasSchemaDefRef(e3)) { const t4 = this._getSchemaDefRef(e3); t4 && (e3 = t4); } - const d2 = o.getGlobalTypeGroup(); + const c2 = o.getGlobalTypeGroup(); if (!i3 && e3.archDataTypeId) { t3 = t3 || "array" === e3.type; - const i4 = d2.getType(e3.archDataTypeId, t3); + const i4 = c2.getType(e3.archDataTypeId, t3); if (i4) return i4; } - let c2, p, _; + let d2, p, _; if (e3.anyof ? e3.anyOf = e3.anyof : e3.items && e3.items.anyof && (e3.items.anyOf = e3.items.anyof), !e3.items && e3.anyOf) { const t4 = this._determineTypeFromArray(e3, false, i3); t4 && (e3.type = a[t4.dataType]); } else if (e3.items && e3.items.anyOf) e3.items = e3.anyOf, e3.type = "array"; else if (n2.isArray(e3.oneOf)) { const t4 = n2.find(e3.oneOf, (e4) => "null" !== e4.type); - t4 && (e3.type = t4.type, c2 = t4); + t4 && (e3.type = t4.type, d2 = t4); } if (n2.isArray(e3.type)) { const i4 = n2.without(e3.type, "null"); - if (i4.length > 1) return d2.getType(s.string, t3); + if (i4.length > 1) return c2.getType(s.string, t3); e3.type = i4[0]; } else if (!n2.isString(e3.type)) return null; switch (_ = e3.source === u.aiGuide ? e3.type?.toLowerCase() : e3.type, _) { case l.string: - p = d2.getType(s.string, t3); + p = c2.getType(s.string, t3); break; case l.boolean: - p = d2.getType(s.boolean, t3); + p = c2.getType(s.boolean, t3); break; case l.integer: - p = d2.getType(s.integer, t3); + p = c2.getType(s.integer, t3); break; case l.number: - p = d2.getType(s.decimal, t3); + p = c2.getType(s.decimal, t3); break; case l.object: break; @@ -49393,9 +53525,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; p = this._determineTypeFromArray(e3, true, i3); break; case l.date: - p = d2.getType(s.date, t3); + p = c2.getType(s.date, t3); } - return r3 && p?.isAvailableForFlowType(r3) && this._applyFallbackTypeProperties(c2), p; + return r3 && p?.isAvailableForFlowType(r3) && this._applyFallbackTypeProperties(d2), p; } }, setFallbackType: { value: function(e3) { return this._determineType(void 0, false, true, e3); } }, additionalInfoSection: { get: function() { @@ -49445,7 +53577,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.model.required = e3; } }, title: { get: function() { return this.model.title; - } } }), e2.exports = c; + } } }), e2.exports = d; }, 40904: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -49485,8 +53617,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; var n2, r2, o; Object.defineProperty(t2, "__esModule", { value: true }); - const a = i2(31635), s = a.__importStar(i2(12847)), l = a.__importDefault(i2(55015)), u = i2(80295), d = a.__importDefault(i2(41757)), c = a.__importDefault(i2(95079)), p = a.__importStar(i2(75800)), _ = { inputAny: ["inputOne", "inputColl"], inputOutputAny: ["inputOne", "inputColl", "outputOne", "outputColl"], inputOutputColl: ["inputColl", "outputColl"], inputOutputOne: ["inputOne", "outputOne"], outputAny: ["outputOne", "outputColl"] }; - class h extends c.default { + const a = i2(31635), s = a.__importStar(i2(12847)), l = a.__importDefault(i2(55015)), u = i2(80295), c = a.__importDefault(i2(41757)), d = a.__importDefault(i2(95079)), p = a.__importStar(i2(75800)), _ = { inputAny: ["inputOne", "inputColl"], inputOutputAny: ["inputOne", "inputColl", "outputOne", "outputColl"], inputOutputColl: ["inputColl", "outputColl"], inputOutputOne: ["inputOne", "outputOne"], outputAny: ["outputOne", "outputColl"] }; + class h extends d.default { constructor(e3) { super(e3), (0, u.makeUnenumerable)(this, "_allowCollection"), (0, u.makeUnenumerable)(this, "_characteristics"), (0, u.makeUnenumerable)(this, "_direction"), (0, u.makeUnenumerable)(this, "_isAnAnyType"), (0, u.makeUnenumerable)(this, "_isComplex"), (0, u.makeUnenumerable)(this, "_properties"), (0, u.makeUnenumerable)(this, "_userCreatable"), this._isAnAnyType || (this._isAnAnyType = l.default.createNotAvailable("isAnAnyType")), this._userCreatable || (this._userCreatable = l.default.createNotAvailable("userCreatable")); } @@ -49535,7 +53667,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._properties || []; } set properties(e3) { - this._properties = this.reviveArray(e3, d.default); + this._properties = this.reviveArray(e3, c.default); } get userCreatable() { return this._userCreatable; @@ -49555,19 +53687,19 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; })(i2(95093)); }, 41053: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(5730)), s = i2(47957); - class l extends a.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(4648)), l = i2(47957); + class u extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } } - l.info = o.default.createActionInfo({ actionClass: l, canBeInTask: true, helpTopic: r2.helpTopics.actions.flushAudio, modelClass: i2(30905), name: s.actions.flushAudio, scriptingName: "ArchActionFlushAudio" }), t2.A = l; + u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: r2.helpTopics.actions.flushAudio, modelClass: i2(30905), name: l.actions.flushAudio, scriptingName: "ArchActionFlushAudio", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; }, 41108: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(17498)), a = n2.__importStar(i2(1115)), s = n2.__importStar(i2(75669)), l = i2(12457), u = i2(7379), d = i2(7379), c = n2.__importDefault(i2(5730)), p = i2(80428), _ = i2(98364), h = i2(81516), m = n2.__importDefault(i2(4648)), g = i2(96618), f = i2(12179), T = i2(28803), y = n2.__importDefault(i2(97891)), S = i2(7379), A = i2(640), N = i2(26847), O = i2(7379), I = i2(71528), v = i2(17604), C = i2(47957); - class b extends c.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(17498)), a = n2.__importStar(i2(1115)), s = n2.__importStar(i2(75669)), l = i2(12457), u = i2(7379), c = i2(7379), d = n2.__importDefault(i2(5730)), p = i2(80428), _ = i2(98364), h = i2(81516), m = n2.__importDefault(i2(4648)), g = i2(96618), f = i2(12179), T = i2(28803), y = n2.__importDefault(i2(97891)), S = i2(7379), A = i2(640), N = i2(26847), v = i2(7379), O = i2(71528), I = i2(17604), C = i2(47957); + class b extends d.default { constructor(e3, t3) { - super(e3.parentFlow, e3), this.responseManager = A.nonFormResponseManager, this.libraryManager = I.responseLibraryManager, this.substitutions = null, this._loadModel(t3); + super(e3.parentFlow, e3), this.responseManager = A.nonFormResponseManager, this.libraryManager = O.responseLibraryManager, this.substitutions = null, this._loadModel(t3); } _loadModel(e3) { super._loadModel(e3), this.setOutOfService(); @@ -49597,7 +53729,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super._preDestroy(), this.responseManager.tryRemoveItemFromFlowMetadata(this, this.responseId); } static get managedProperties() { - return [{ property: "response", createDetails: T.NetworkBasedActionProperty.createCreateDetails("responseId", "responseName", A.nonFormResponseManager, C.getResponse.mustSelectResponse, C.getResponse.responseNotFound, null), yamlOptions: b.createYamlOptions("response", (e3) => e3.setSkipProperty(true).setExportOrder(20)) }, { description: C.getResponse.responseBodyDescription, label: C.getResponse.responseBody, property: "responseBody", options: h.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput()), yamlOptions: b.createYamlOptions("responseBody", (e3) => e3.setPropertyName("valueResponseBody")), type: p.expressionTypeNames.string }, { description: (0, v.sprintf)(C.getResponse.responseBodyHandlingDescription, C.getResponse.responseBody), label: C.getResponse.responseBodyHandlingLabel, property: "responseBodyHandling", options: h.ExpressionTypeStringOptions.create((e3) => e3.setDefaultText(S.none.id).setDescriptionInfo(C.getResponse.responseBodyHandlingLabel, (0, v.sprintf)(C.getResponse.responseBodyHandlingDescription, C.getResponse.responseBody)).setFeatureConfigName(m.default.sendNotificationAction).facets.setAllowableValues(u.allStringBodyHandlingTypesForAutomate).setAllowableValueUseOriginalDisplayString(true)), supportedFlowTypes: g.flowTypes.flowTypesAllAutomate.concat(g.flowTypes.flowTypesAllCicero), optionsForSpecificFlowTypes: [{ flowTypes: g.flowTypes.flowTypesAllCicero, options: h.ExpressionTypeStringOptions.create((e3) => e3.setDefaultText(O.removeAllFormatting.id).setDescriptionInfo(C.getResponse.responseBodyHandlingLabel, (0, v.sprintf)(C.getResponse.responseBodyHandlingDescription, C.getResponse.responseBody)).setFeatureConfigName(m.default.botFlowsGetResponseActionFeature).facets.setAllowableValues(d.allStringBodyHandlingTypesForBots).setAllowableValueUseOriginalDisplayString(true)) }], type: p.expressionTypeNames.string }, { dataList: true, property: "substitutions" }, { property: "library", isJustForFlowYaml: true, yamlOptions: b.createYamlOptions("library", (e3) => e3.setExportOrder(30)) }, { label: C.responseAsset.responseAssetAttachmentsLabel, options: _.ExpressionTypeResponseAssetOptions.create((e3) => e3.setAsOutput().setIninTestingField("get-attachments").setDescriptionInfo(C.responseAsset.responseAssetAttachmentsLabel, C.responseAsset.responseAssetAttachmentsDescription).setIsOptional(true).setIsCollection(true).setFeatureConfigName(m.default.cannedResponseAttachmentsFeature)), property: "attachments", type: p.expressionTypeNames.responseAsset, supportedFlowTypes: [...g.flowTypes.flowTypesAllAutomate, g.flowTypes.flowTypeDigitalBot, g.flowTypes.flowTypeCommonModule] }]; + return [{ property: "response", createDetails: T.NetworkBasedActionProperty.createCreateDetails("responseId", "responseName", A.nonFormResponseManager, C.getResponse.mustSelectResponse, C.getResponse.responseNotFound, null), yamlOptions: b.createYamlOptions("response", (e3) => e3.setSkipProperty(true).setExportOrder(20)) }, { description: C.getResponse.responseBodyDescription, label: C.getResponse.responseBody, property: "responseBody", options: h.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput()), yamlOptions: b.createYamlOptions("responseBody", (e3) => e3.setPropertyName("valueResponseBody")), type: p.expressionTypeNames.string }, { description: (0, I.sprintf)(C.getResponse.responseBodyHandlingDescription, C.getResponse.responseBody), label: C.getResponse.responseBodyHandlingLabel, property: "responseBodyHandling", options: h.ExpressionTypeStringOptions.create((e3) => e3.setDefaultText(S.none.id).setDescriptionInfo(C.getResponse.responseBodyHandlingLabel, (0, I.sprintf)(C.getResponse.responseBodyHandlingDescription, C.getResponse.responseBody)).setFeatureConfigName(m.default.sendNotificationAction).facets.setAllowableValues(u.allStringBodyHandlingTypesForAutomate).setAllowableValueUseOriginalDisplayString(true)), supportedFlowTypes: g.flowTypes.flowTypesAllAutomate.concat(g.flowTypes.flowTypesAllCicero), optionsForSpecificFlowTypes: [{ flowTypes: g.flowTypes.flowTypesAllCicero, options: h.ExpressionTypeStringOptions.create((e3) => e3.setDefaultText(v.removeAllFormatting.id).setDescriptionInfo(C.getResponse.responseBodyHandlingLabel, (0, I.sprintf)(C.getResponse.responseBodyHandlingDescription, C.getResponse.responseBody)).setFeatureConfigName(m.default.botFlowsGetResponseActionFeature).facets.setAllowableValues(c.allStringBodyHandlingTypesForBots).setAllowableValueUseOriginalDisplayString(true)) }], type: p.expressionTypeNames.string }, { dataList: true, property: "substitutions" }, { property: "library", isJustForFlowYaml: true, yamlOptions: b.createYamlOptions("library", (e3) => e3.setExportOrder(30)) }, { label: C.responseAsset.responseAssetAttachmentsLabel, options: _.ExpressionTypeResponseAssetOptions.create((e3) => e3.setAsOutput().setIninTestingField("get-attachments").setDescriptionInfo(C.responseAsset.responseAssetAttachmentsLabel, C.responseAsset.responseAssetAttachmentsDescription).setIsOptional(true).setIsCollection(true).setFeatureConfigName(m.default.cannedResponseAttachmentsFeature)), property: "attachments", type: p.expressionTypeNames.responseAsset, supportedFlowTypes: [...g.flowTypes.flowTypesAllAutomate, g.flowTypes.flowTypeDigitalBot, g.flowTypes.flowTypeCommonModule] }]; } _isSelectedResponseInSelectedResponseLibrary(e3, t3) { const i3 = e3 || this.selectedResponse, n3 = t3 || this.selectedResponseLibrary; @@ -49629,7 +53761,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; get selectedResponseNotInResponseLibraryMessage() { if (!this.responseId) return ""; const e3 = this.selectedResponse; - return e3 && e3.libraries.length > 0 ? C.getResponse.responseLibraryDoesNotContainResponse : (0, v.sprintf)(C.getResponse.noResponseLibrariesContainResponse); + return e3 && e3.libraries.length > 0 ? C.getResponse.responseLibraryDoesNotContainResponse : (0, I.sprintf)(C.getResponse.noResponseLibrariesContainResponse); } get suggestedResponseLibraryCount() { const e3 = this.suggestedResponseLibraries; @@ -49673,7 +53805,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } } - b.info = y.default.createActionInfo({ actionClass: b, canBeInTask: true, helpTopic: f.helpTopics.actions.getResponse, modelClass: i2(55706), name: C.actions.getResponse, scriptingName: "ArchActionGetResponse" }), t2.A = b; + b.info = y.default.createActionInfo({ actionClass: b, canBeInTask: true, helpTopic: f.helpTopics.actions.getResponse, modelClass: i2(55706), name: C.actions.getResponse, scriptingName: "ArchActionGetResponse", modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } } }), t2.A = b; }, 41136: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FindGrammarActionModel = void 0; @@ -49781,7 +53913,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; _postDestroy() { if (super._postDestroy(), this._destroyReferencedVariables) try { r2.default.each(this._destroyReferencedVariables, (e3) => { - e3.deleteItem(true); + e3.deleteItem(this.parentFlow, true); }); } finally { this._destroyReferencedVariables = void 0; @@ -49814,10 +53946,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 41322: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.guideVersionManager = t2.GuideVersionManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(11914)), o = i2(24032), a = n2.__importDefault(i2(82630)), s = i2(30801), l = i2(79627), u = i2(81801), d = n2.__importDefault(i2(47532)), c = i2(47957), p = i2(27862); - class _ extends d.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(11914)), o = i2(24032), a = n2.__importDefault(i2(82630)), s = i2(30801), l = i2(79627), u = i2(81801), c = n2.__importDefault(i2(47532)), d = i2(47957), p = i2(27862); + class _ extends c.default { constructor() { - super(), this.topic = (0, o.getTopic)("guideVersionManager"), this._rawServerCache = {}, this.apiCallList = void 0, this.apiCallSingle = r2.getGuideVersion, this.actionsForUsageSearch = [s.callGuideActionType], this.actionPropertyForUsageSearch = "", this.defaultInputsWithNoDefaultToNotSet = true, this.className = "GuideVersionManager", this.dependencyContext = c.guide.guideVersion, this.uiMetadataSectionName = "guideVersions", this.noApiCallList = true, this._initialize(); + super(), this.topic = (0, o.getTopic)("guideVersionManager"), this._rawServerCache = {}, this.apiCallList = void 0, this.apiCallSingle = r2.getGuideVersion, this.actionsForUsageSearch = [s.callGuideActionType], this.actionPropertyForUsageSearch = "", this.defaultInputsWithNoDefaultToNotSet = true, this.className = "GuideVersionManager", this.dependencyContext = d.guide.guideVersion, this.uiMetadataSectionName = "guideVersions", this.noApiCallList = true, this._initialize(); } get requiredAuth() { return u.externalAuthorizations.authStrings.guideVersionView; @@ -49855,14 +53987,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; i3 || (i3 = t3); const u = new r2(); u.variables = [], u.defaultSettings = new a(), u.defaultLanguage = t3, u.flowMetaData = new s({ flowDocumentVersion: "1.0", minimumServerVersion: "1.0", features: [] }), u.flowSequenceItemList = []; - const d = e3 === n2.flowTypes.flowTypeDigitalBot ? "initialDigitalBotState" : "initialBotState", c = new o(); - return c.name = l(i3)[d], c.variables = [], c.actionList = [], u.flowSequenceItemList = [c], u.initialSequence = c.id, u; + const c = e3 === n2.flowTypes.flowTypeDigitalBot ? "initialDigitalBotState" : "initialBotState", d = new o(); + return d.name = l(i3)[c], d.variables = [], d.actionList = [], u.flowSequenceItemList = [d], u.initialSequence = d.id, u; }; const n2 = i2(96618), r2 = i2(24893), o = i2(50029), a = i2(74803), s = i2(89266), l = i2(21733); }, 41377: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(48849)), o = n2.__importDefault(i2(9836)), a = n2.__importDefault(i2(25767)), s = n2.__importDefault(i2(59177)), l = n2.__importDefault(i2(29824)), u = n2.__importDefault(i2(20812)), d = n2.__importDefault(i2(28326)), c = n2.__importDefault(i2(15461)), p = n2.__importDefault(i2(65507)), _ = n2.__importDefault(i2(48832)), h = n2.__importDefault(i2(3215)), m = n2.__importDefault(i2(8235)), g = n2.__importDefault(i2(59618)), f = n2.__importDefault(i2(86115)), T = n2.__importDefault(i2(49225)), y = n2.__importDefault(i2(39096)), S = n2.__importDefault(i2(75983)), A = n2.__importDefault(i2(51039)), N = n2.__importDefault(i2(10203)), O = n2.__importDefault(i2(4268)), I = n2.__importDefault(i2(93693)), v = n2.__importDefault(i2(76634)), C = n2.__importDefault(i2(7862)), b = n2.__importDefault(i2(78322)), E = n2.__importDefault(i2(53761)), R = n2.__importDefault(i2(79771)), w = n2.__importDefault(i2(86042)), D = n2.__importDefault(i2(23862)), P = { ArchSettingActionPropertyDefault: r2.default, ArchSettingsActionDefaults: o.default, ArchSettingsBotFlow: a.default, ArchSettingsCommonModuleFlow: s.default, ArchSettingsEventErrorFlow: d.default, ArchSettingsEventErrorFlowBot: c.default, ArchSettingsInboundEmailFlow: p.default, ArchSettingsInQueueCallFlow: _.default, ArchSettingsMenu: h.default, ArchSettingsMenuFlow: m.default, ArchSettingsNluIntents: y.default, ArchSettingsNluDynamicSlotType: g.default, ArchSettingsNluDynamicTimeslotType: f.default, ArchSettingsNluIntent: T.default, ArchSettingsNluKnowledge: S.default, ArchSettingsNluVirtualAgent: N.default, ArchSettingsNluSlot: A.default, ArchSettingsOutboundCallFlow: O.default, ArchSettingsPromptsFlow: I.default, ArchSettingsSpeechRec: v.default, ArchSettingsSpeechRecFlow: C.default, ArchSettingsSupportedLanguage: b.default, ArchSettingsSupportedLanguagesFlow: E.default, ArchSettingsUserInput: R.default, ArchSettingsVoiceSurveyFlow: w.default, ArchSettingsWorkitemFlow: D.default, ArchSettingsDetectionJobIntent: l.default, ArchSettingsEmailSendFlow: u.default }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(48849)), o = n2.__importDefault(i2(9836)), a = n2.__importDefault(i2(25767)), s = n2.__importDefault(i2(59177)), l = n2.__importDefault(i2(29824)), u = n2.__importDefault(i2(20812)), c = n2.__importDefault(i2(28326)), d = n2.__importDefault(i2(15461)), p = n2.__importDefault(i2(65507)), _ = n2.__importDefault(i2(48832)), h = n2.__importDefault(i2(3215)), m = n2.__importDefault(i2(8235)), g = n2.__importDefault(i2(59618)), f = n2.__importDefault(i2(86115)), T = n2.__importDefault(i2(49225)), y = n2.__importDefault(i2(39096)), S = n2.__importDefault(i2(75983)), A = n2.__importDefault(i2(51039)), N = n2.__importDefault(i2(10203)), v = n2.__importDefault(i2(4268)), O = n2.__importDefault(i2(93693)), I = n2.__importDefault(i2(76634)), C = n2.__importDefault(i2(7862)), b = n2.__importDefault(i2(78322)), E = n2.__importDefault(i2(53761)), w = n2.__importDefault(i2(79771)), R = n2.__importDefault(i2(86042)), D = n2.__importDefault(i2(23862)), P = { ArchSettingActionPropertyDefault: r2.default, ArchSettingsActionDefaults: o.default, ArchSettingsBotFlow: a.default, ArchSettingsCommonModuleFlow: s.default, ArchSettingsEventErrorFlow: c.default, ArchSettingsEventErrorFlowBot: d.default, ArchSettingsInboundEmailFlow: p.default, ArchSettingsInQueueCallFlow: _.default, ArchSettingsMenu: h.default, ArchSettingsMenuFlow: m.default, ArchSettingsNluIntents: y.default, ArchSettingsNluDynamicSlotType: g.default, ArchSettingsNluDynamicTimeslotType: f.default, ArchSettingsNluIntent: T.default, ArchSettingsNluKnowledge: S.default, ArchSettingsNluVirtualAgent: N.default, ArchSettingsNluSlot: A.default, ArchSettingsOutboundCallFlow: v.default, ArchSettingsPromptsFlow: O.default, ArchSettingsSpeechRec: I.default, ArchSettingsSpeechRecFlow: C.default, ArchSettingsSupportedLanguage: b.default, ArchSettingsSupportedLanguagesFlow: E.default, ArchSettingsUserInput: w.default, ArchSettingsVoiceSurveyFlow: R.default, ArchSettingsWorkitemFlow: D.default, ArchSettingsDetectionJobIntent: l.default, ArchSettingsEmailSendFlow: u.default }; t2.default = P; }, 41500: (e2, t2, i2) => { "use strict"; @@ -49902,16 +54034,25 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } t2.MirroredExpressionActionProperty = a; + }, 41506: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.MappingError = void 0; + class i2 extends Error { + constructor(e3, t3, n2, r2) { + super(e3), this.name = "MappingError", this.property = t3, this.contextPath = n2, this.expectedFormat = r2, Object.setPrototypeOf(this, i2.prototype); + } + } + t2.MappingError = i2; }, 41510: (e2, t2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { audio: { durationFormatShort: "%1$ss", languageLabel: "%1$s (%2$s)", promptResourceDisplayName: "%1$s (%2$s)", advancedTitleFormat: "%1$s - %2$s" }, builder: { noPartsWithGeneratorFormat: "%1$s %2$s" }, dialogflow: { draftEnvironmentName: "Draft", draftEnvironmentId: "-" }, expression: { returnValueWithString: "%1$s - %2$s", literalAllowableValue: "%1$s (%2$s)", genericJsonPropertyDefModelPropId: "*" }, expressionEvaluation: { collapsedObject: "{...}", collectionLength: "(%1$s)", collapsedCollection: "[...]", collectionStartEndItemIndexes: "[%1$s - %2$s]", emptyCollection: "[ ]", emptyObject: "{ }" }, externalContacts: { conditionLabelFormat: "%1$s ('%2$s')" }, facets: { errorWithExpressionLabel: "%1$s (%2$s)" }, flow: { appTitleContext: "%1$s - %2$s", defaultInQueueFlowName: "Default In-Queue Flow", goto: { dropdownFormat: "%1$s%2$s - %3$s" }, trackingIdWithName: "%1$s %2$s" }, generic: { redacted: "********", twoStringsSpaceSeparator: "%1$s %2$s", threeStringsSpaceSeparator: "%1$s %2$s %3$s", unknown: "?" }, genesys: { aiStudio: "AI Studio", genesysCloudCopilot: "Genesys Cloud Copilot" }, get: "GET", itemColonValue: "%1$s: %2$s", itemParenValue: "%1$s (%2$s)", itemListing: { itemSeparator: ", ", sentenceSeparator: " " }, language: { formatDisplayStringAndCode: "%1$s (%2$s)", formatDisplayStringAndCodeRedesign: "(%1$s) (%2$s)" }, post: "POST", printFlow: { promptTitle: "%1$s (%2$s):", pageCallout: "%1$s (%2$s)", titleWithId: "%1$s [%2$s]" }, setLocale: { fullLanguageNameContext: "%1$s (%2$s)" }, shortcut: { descriptionFormat: "%1$s %2$s" }, task: { targetPathDisplayStr: "%1$s \u2192 %2$s" }, switchAction: { caseNumber: "Case %1$s", default: "Default" }, sessionSources: { apple: "Apple", applebusinesschat: "Apple Business Chat", discord: "Discord", facebookmessenger: "Facebook Messenger", genesyschatwidget: "Genesys Chat Widget", line: "Line", phone: "Phone", signal: "Signal", slack: "Slack", telegram: "Telegram", webchat: "Webchat", whatsapp: "WhatsApp" }, thirdPartyUserDisplay: "%1$s (%2$s)", timezone: { displayString: "%1$s%2$'02f:%3$'02f" }, updateVariables: { labelValue: "%1$s = %2$s" } }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { audio: { bitrateInKbps: "%1$s kb/s", bitsPerSample: "%1$s-bit", durationFormatShort: "%1$ss", frequencyInHz: "%1$s Hz", frequencyInKHz: "%1$s kHz", languageLabel: "%1$s (%2$s)", promptResourceDisplayName: "%1$s (%2$s)", advancedTitleFormat: "%1$s - %2$s" }, builder: { noPartsWithGeneratorFormat: "%1$s %2$s" }, dialogflow: { draftEnvironmentName: "Draft", draftEnvironmentId: "-" }, expression: { returnValueWithString: "%1$s - %2$s", literalAllowableValue: "%1$s (%2$s)", genericJsonPropertyDefModelPropId: "*" }, expressionEvaluation: { collapsedObject: "{...}", collectionLength: "(%1$s)", collapsedCollection: "[...]", collectionStartEndItemIndexes: "[%1$s - %2$s]", emptyCollection: "[ ]", emptyObject: "{ }" }, externalContacts: { conditionLabelFormat: "%1$s ('%2$s')", patchTypeNameFormat: "%1$s - %2$s" }, facets: { errorWithExpressionLabel: "%1$s (%2$s)" }, flow: { appTitleContext: "%1$s - %2$s", defaultInQueueFlowName: "Default In-Queue Flow", goto: { dropdownFormat: "%1$s%2$s - %3$s" }, trackingIdWithName: "%1$s %2$s" }, generic: { redacted: "********", twoStringsSpaceSeparator: "%1$s %2$s", threeStringsSpaceSeparator: "%1$s %2$s %3$s", unknown: "?" }, genesys: { aiStudio: "AI Studio", genesysCloudCopilot: "Genesys Cloud Copilot" }, get: "GET", itemColonValue: "%1$s: %2$s", itemParenValue: "%1$s (%2$s)", itemListing: { itemSeparator: ", ", sentenceSeparator: " " }, language: { formatDisplayStringAndCode: "%1$s (%2$s)", formatDisplayStringAndCodeRedesign: "(%1$s) (%2$s)" }, post: "POST", printFlow: { promptTitle: "%1$s (%2$s):", pageCallout: "%1$s (%2$s)", titleWithId: "%1$s [%2$s]" }, setLocale: { fullLanguageNameContext: "%1$s (%2$s)" }, shortcut: { descriptionFormat: "%1$s %2$s" }, task: { targetPathDisplayStr: "%1$s \u2192 %2$s" }, switchAction: { caseNumber: "Case %1$s", default: "Default" }, sessionSources: { apple: "Apple", applebusinesschat: "Apple Business Chat", discord: "Discord", facebookmessenger: "Facebook Messenger", genesyschatwidget: "Genesys Chat Widget", line: "Line", phone: "Phone", signal: "Signal", slack: "Slack", telegram: "Telegram", webchat: "Webchat", whatsapp: "WhatsApp" }, thirdPartyUserDisplay: "%1$s (%2$s)", timezone: { displayString: "%1$s%2$'02f:%3$'02f" }, updateVariables: { labelValue: "%1$s = %2$s" } }; }, 41568: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(39732)), o = n2.__importDefault(i2(9372)), a = n2.__importDefault(i2(25638)); class s extends r2.default { - constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, partConfigurators: o2, resultExpressionType: a2, type: s2, expressionDefs: l, restrictToFlowTypeOrTypes: u, categoryIdentifierOrIdentifiers: d }) { - super(e3, t3, i3, n3, r3, o2, a2 = a2 || s2, { outputMode: "" }, u, d, a2.getArchIcon()); + constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, partConfigurators: o2, resultExpressionType: a2, type: s2, expressionDefs: l, restrictToFlowTypeOrTypes: u, categoryIdentifierOrIdentifiers: c }) { + super(e3, t3, i3, n3, r3, o2, a2 = a2 || s2, { outputMode: "" }, u, c, a2.getArchIcon()); } get className() { return "BuilderPartContainerOutputModeDef"; @@ -50009,49 +54150,51 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 41714: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(78432)), o = i2(10384), a = i2(99678), s = i2(64410), l = i2(90480), u = i2(13106), d = i2(94564), c = i2(61343), p = i2(4085), _ = i2(36843), h = i2(33690), m = i2(10125), g = i2(81562), f = i2(66908), T = i2(48002), y = i2(27839), S = i2(8249), A = i2(91156), N = i2(15787), O = n2.__importDefault(i2(8471)); - class I extends O.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(8471)), o = n2.__importDefault(i2(78432)), a = i2(10384), s = i2(99678), l = i2(64410), u = i2(68297), c = i2(90480), d = i2(13106), p = i2(94564), _ = i2(61343), h = i2(4085), m = i2(36843), g = i2(33690), f = i2(10125), T = i2(81562), y = i2(66908), S = i2(48002), A = i2(27839), N = i2(8249), v = i2(91156), O = i2(15787); + class I extends r2.default { get displayTypeName() { return "ArchCoreService"; } getConfigListManagerForFlowType(e3, t3, i3) { switch (this._checkItem(this._infoParm("archCallingObject", "getConfigListManagerForFlowType"), !e3 || !e3.isArchBaseObject, "INTERNAL ERROR - invalid calling object passed to getConfigListManagerForFlowType :("), i3) { - case r2.default.FLOW_TYPES.bot: - return o.botFlowListManager; - case r2.default.FLOW_TYPES.commonModule: - return a.commonModuleFlowListManager; - case r2.default.FLOW_TYPES.digitalBot: - return s.digitalBotFlowListManager; - case r2.default.FLOW_TYPES.inboundCall: - return l.inboundFlowListManager; - case r2.default.FLOW_TYPES.inboundChat: - return u.inboundChatListManager; - case r2.default.FLOW_TYPES.inqueueCall: - return p.inqueueCallFlowListManager; - case r2.default.FLOW_TYPES.inqueueEmail: - return _.inqueueEmailFlowListManager; - case r2.default.FLOW_TYPES.inqueueShortMessage: - return h.inqueueShortMessageFlowListManager; - case r2.default.FLOW_TYPES.outboundCall: - return m.outboundFlowListManager; - case r2.default.FLOW_TYPES.secureCall: - return g.secureCallFlowListManager; - case r2.default.FLOW_TYPES.inboundEmail: - return d.inboundEmailListManager; - case r2.default.FLOW_TYPES.inboundShortMessage: - return c.inboundShortMessageListManager; - case r2.default.FLOW_TYPES.surveyInvite: - return f.surveyInviteListManager; - case r2.default.FLOW_TYPES.workflow: - return T.workflowListManager; - case r2.default.FLOW_TYPES.workitem: - return y.workitemFlowListManager; - case r2.default.FLOW_TYPES.voice: - return S.voiceFlowListManager; - case r2.default.FLOW_TYPES.voicemail: - return A.voicemailFlowListManager; - case r2.default.FLOW_TYPES.voiceSurvey: - return N.voiceSurveyFlowListManager; + case o.default.FLOW_TYPES.bot: + return a.botFlowListManager; + case o.default.FLOW_TYPES.commonModule: + return s.commonModuleFlowListManager; + case o.default.FLOW_TYPES.digitalBot: + return l.digitalBotFlowListManager; + case o.default.FLOW_TYPES.emailSend: + return u.emailSendFlowListManager; + case o.default.FLOW_TYPES.inboundCall: + return c.inboundFlowListManager; + case o.default.FLOW_TYPES.inboundChat: + return d.inboundChatListManager; + case o.default.FLOW_TYPES.inqueueCall: + return h.inqueueCallFlowListManager; + case o.default.FLOW_TYPES.inqueueEmail: + return m.inqueueEmailFlowListManager; + case o.default.FLOW_TYPES.inqueueShortMessage: + return g.inqueueShortMessageFlowListManager; + case o.default.FLOW_TYPES.outboundCall: + return f.outboundFlowListManager; + case o.default.FLOW_TYPES.secureCall: + return T.secureCallFlowListManager; + case o.default.FLOW_TYPES.inboundEmail: + return p.inboundEmailListManager; + case o.default.FLOW_TYPES.inboundShortMessage: + return _.inboundShortMessageListManager; + case o.default.FLOW_TYPES.surveyInvite: + return y.surveyInviteListManager; + case o.default.FLOW_TYPES.workflow: + return S.workflowListManager; + case o.default.FLOW_TYPES.workitem: + return A.workitemFlowListManager; + case o.default.FLOW_TYPES.voice: + return N.voiceFlowListManager; + case o.default.FLOW_TYPES.voicemail: + return v.voicemailFlowListManager; + case o.default.FLOW_TYPES.voiceSurvey: + return O.voiceSurveyFlowListManager; default: e3._itemIsInvalid(t3, "INTERNAL ERROR - unsupported flow type value of '" + i3 + "'."); } @@ -50069,31 +54212,31 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); }; Object.defineProperty(t2, "__esModule", { value: true }), t2.bufferTime = void 0; - var r2 = i2(69879), o = i2(65212), a = i2(17214), s = i2(54830), l = i2(62326), u = i2(26404), d = i2(28619); + var r2 = i2(69879), o = i2(65212), a = i2(17214), s = i2(54830), l = i2(62326), u = i2(26404), c = i2(28619); t2.bufferTime = function(e3) { - for (var t3, i3, c = [], p = 1; p < arguments.length; p++) c[p - 1] = arguments[p]; - var _ = null !== (t3 = u.popScheduler(c)) && void 0 !== t3 ? t3 : l.asyncScheduler, h = null !== (i3 = c[0]) && void 0 !== i3 ? i3 : null, m = c[1] || 1 / 0; + for (var t3, i3, d = [], p = 1; p < arguments.length; p++) d[p - 1] = arguments[p]; + var _ = null !== (t3 = u.popScheduler(d)) && void 0 !== t3 ? t3 : l.asyncScheduler, h = null !== (i3 = d[0]) && void 0 !== i3 ? i3 : null, m = d[1] || 1 / 0; return o.operate(function(t4, i4) { var o2 = [], l2 = false, u2 = function(e4) { var t5 = e4.buffer; - e4.subs.unsubscribe(), s.arrRemove(o2, e4), i4.next(t5), l2 && c2(); - }, c2 = function() { + e4.subs.unsubscribe(), s.arrRemove(o2, e4), i4.next(t5), l2 && d2(); + }, d2 = function() { if (o2) { var t5 = new r2.Subscription(); i4.add(t5); var n3 = { buffer: [], subs: t5 }; - o2.push(n3), d.executeSchedule(t5, _, function() { + o2.push(n3), c.executeSchedule(t5, _, function() { return u2(n3); }, e3); } }; - null !== h && h >= 0 ? d.executeSchedule(i4, _, c2, h, true) : l2 = true, c2(); + null !== h && h >= 0 ? c.executeSchedule(i4, _, d2, h, true) : l2 = true, d2(); var p2 = a.createOperatorSubscriber(i4, function(e4) { var t5, i5, r3 = o2.slice(); try { for (var a2 = n2(r3), s2 = a2.next(); !s2.done; s2 = a2.next()) { - var l3 = s2.value, d2 = l3.buffer; - d2.push(e4), m <= d2.length && u2(l3); + var l3 = s2.value, c2 = l3.buffer; + c2.push(e4), m <= c2.length && u2(l3); } } catch (e5) { t5 = { error: e5 }; @@ -50183,8 +54326,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; var n2 = i2(52696); class r2 { - constructor(e3, t3, i3, n3, r3, o2, a2, s2, l2, u2 = 0, d2) { - this.p = e3, this.stack = t3, this.state = i3, this.reducePos = n3, this.pos = r3, this.score = o2, this.buffer = a2, this.bufferBase = s2, this.curContext = l2, this.lookAhead = u2, this.parent = d2; + constructor(e3, t3, i3, n3, r3, o2, a2, s2, l2, u2 = 0, c2) { + this.p = e3, this.stack = t3, this.state = i3, this.reducePos = n3, this.pos = r3, this.score = o2, this.buffer = a2, this.bufferBase = s2, this.curContext = l2, this.lookAhead = u2, this.parent = c2; } toString() { return `[${this.stack.filter((e3, t3) => t3 % 3 == 0).concat(this.state)}]@${this.pos}${this.score ? "!" + this.score : ""}`; @@ -50207,10 +54350,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; n3 < r3.minRepeatTerm && l2 == this.reducePos && this.reducePos < this.pos && (this.reducePos = this.pos); let u2 = this.reducePos - l2; u2 >= 2e3 && !(null === (t3 = this.p.parser.nodeSet.types[n3]) || void 0 === t3 ? void 0 : t3.isAnonymous) && (l2 == this.p.lastBigReductionStart ? (this.p.bigReductionCount++, this.p.lastBigReductionSize = u2) : this.p.lastBigReductionSize < u2 && (this.p.bigReductionCount = 1, this.p.lastBigReductionStart = l2, this.p.lastBigReductionSize = u2)); - let d2 = s2 ? this.stack[s2 - 1] : 0, c2 = this.bufferBase + this.buffer.length - d2; + let c2 = s2 ? this.stack[s2 - 1] : 0, d2 = this.bufferBase + this.buffer.length - c2; if (n3 < r3.minRepeatTerm || 131072 & e3) { let e4 = r3.stateFlag(this.state, 1) ? this.pos : this.reducePos; - this.storeNode(n3, l2, e4, c2 + 4, true); + this.storeNode(n3, l2, e4, d2 + 4, true); } if (262144 & e3) this.state = this.stack[s2]; else { @@ -50456,10 +54599,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.start = -1, this.value = -1, this.end = -1, this.extended = -1, this.lookAhead = 0, this.mask = 0, this.context = 0; } } - const d = new u(); - class c { + const c = new u(); + class d { constructor(e3, t3) { - this.input = e3, this.ranges = t3, this.chunk = "", this.chunkOff = 0, this.chunk2 = "", this.chunk2Pos = 0, this.next = -1, this.token = d, this.rangeIndex = 0, this.pos = this.chunkPos = t3[0].from, this.range = t3[0], this.end = t3[t3.length - 1].to, this.readNext(); + this.input = e3, this.ranges = t3, this.chunk = "", this.chunkOff = 0, this.chunk2 = "", this.chunk2Pos = 0, this.next = -1, this.token = c, this.rangeIndex = 0, this.pos = this.chunkPos = t3[0].from, this.range = t3[0], this.end = t3[t3.length - 1].to, this.readNext(); } resolveOffset(e3, t3) { let i3 = this.range, n3 = this.rangeIndex, r3 = this.pos + e3; @@ -50527,7 +54670,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.pos = this.chunkPos = this.end, this.range = this.ranges[this.rangeIndex = this.ranges.length - 1], this.chunk = "", this.next = -1; } reset(e3, t3) { - if (t3 ? (this.token = t3, t3.start = e3, t3.lookAhead = e3 + 1, t3.value = t3.extended = -1) : this.token = d, this.pos != e3) { + if (t3 ? (this.token = t3, t3.start = e3, t3.lookAhead = e3 + 1, t3.value = t3.extended = -1) : this.token = c, this.pos != e3) { if (this.pos = e3, e3 == this.end) return this.setDone(), this; for (; e3 < this.range.from; ) this.range = this.ranges[--this.rangeIndex]; for (; e3 >= this.range.to; ) this.range = this.ranges[++this.rangeIndex]; @@ -50584,11 +54727,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; break; } } - let n4 = t3.next, u2 = 0, d2 = e3[a2 + 2]; - if (!(t3.next < 0 && d2 > u2 && 65535 == e3[i4 + 3 * d2 - 3])) { - for (; u2 < d2; ) { - let r4 = u2 + d2 >> 1, o3 = i4 + r4 + (r4 << 1), s3 = e3[o3], l3 = e3[o3 + 1] || 65536; - if (n4 < s3) d2 = r4; + let n4 = t3.next, u2 = 0, c2 = e3[a2 + 2]; + if (!(t3.next < 0 && c2 > u2 && 65535 == e3[i4 + 3 * c2 - 3])) { + for (; u2 < c2; ) { + let r4 = u2 + c2 >> 1, o3 = i4 + r4 + (r4 << 1), s3 = e3[o3], l3 = e3[o3 + 1] || 65536; + if (n4 < s3) c2 = r4; else { if (!(n4 >= l3)) { a2 = e3[o3 + 2], t3.advance(); @@ -50599,7 +54742,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } break; } - a2 = e3[i4 + 3 * d2 - 1]; + a2 = e3[i4 + 3 * c2 - 1]; } } function m(e3, t3, i3) { @@ -50716,7 +54859,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } class N { constructor(e3, t3, i3, n3) { - this.parser = e3, this.input = t3, this.ranges = n3, this.recovering = 0, this.nextStackID = 9812, this.minStackPos = 0, this.reused = [], this.stoppedAt = null, this.lastBigReductionStart = -1, this.lastBigReductionSize = 0, this.bigReductionCount = 0, this.stream = new c(t3, n3), this.tokens = new A(e3, this.stream), this.topTerm = e3.top[1]; + this.parser = e3, this.input = t3, this.ranges = n3, this.recovering = 0, this.nextStackID = 9812, this.minStackPos = 0, this.reused = [], this.stoppedAt = null, this.lastBigReductionStart = -1, this.lastBigReductionSize = 0, this.bigReductionCount = 0, this.stream = new d(t3, n3), this.tokens = new A(e3, this.stream), this.topTerm = e3.top[1]; let { from: o2 } = n3[0]; this.stacks = [r2.start(this, e3.top[0], o2)], this.fragments = i3.length && this.stream.end - o2 > 4 * e3.bufferLength ? new S(i3, e3.nodeSet) : null; } @@ -50809,8 +54952,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (e3.stack.length >= 8400) for (; e3.stack.length > 6e3 && e3.forceReduce(); ) ; let l2 = this.tokens.getActions(e3); for (let n3 = 0; n3 < l2.length; ) { - let s3 = l2[n3++], u2 = l2[n3++], d2 = l2[n3++], c2 = n3 == l2.length || !i3, p2 = c2 ? e3 : e3.split(), _2 = this.tokens.mainToken; - if (p2.apply(s3, u2, _2 ? _2.start : p2.pos, d2), f && console.log(a2 + this.stackID(p2) + ` (via ${65536 & s3 ? `reduce of ${o2.getName(65535 & s3)}` : "shift"} for ${o2.getName(u2)} @ ${r3}${p2 == e3 ? "" : ", split"})`), c2) return true; + let s3 = l2[n3++], u2 = l2[n3++], c2 = l2[n3++], d2 = n3 == l2.length || !i3, p2 = d2 ? e3 : e3.split(), _2 = this.tokens.mainToken; + if (p2.apply(s3, u2, _2 ? _2.start : p2.pos, c2), f && console.log(a2 + this.stackID(p2) + ` (via ${65536 & s3 ? `reduce of ${o2.getName(65535 & s3)}` : "shift"} for ${o2.getName(u2)} @ ${r3}${p2 == e3 ? "" : ", split"})`), d2) return true; p2.pos > r3 ? t3.push(p2) : i3.push(p2); } return false; @@ -50819,7 +54962,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; let i3 = e3.pos; for (; ; ) { if (!this.advanceStack(e3, null, null)) return false; - if (e3.pos > i3) return O(e3, t3), true; + if (e3.pos > i3) return v(e3, t3), true; } } runRecovery(e3, t3, i3) { @@ -50830,10 +54973,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (r3) continue; if (r3 = true, a2.restart(), f && console.log(u2 + this.stackID(a2) + " (restarted)"), this.advanceFully(a2, i3)) continue; } - let d2 = a2.split(), c2 = u2; - for (let e4 = 0; e4 < 10 && d2.forceReduce() && (f && console.log(c2 + this.stackID(d2) + " (via force-reduce)"), !this.advanceFully(d2, i3)); e4++) f && (c2 = this.stackID(d2) + " -> "); + let c2 = a2.split(), d2 = u2; + for (let e4 = 0; e4 < 10 && c2.forceReduce() && (f && console.log(d2 + this.stackID(c2) + " (via force-reduce)"), !this.advanceFully(c2, i3)); e4++) f && (d2 = this.stackID(c2) + " -> "); for (let e4 of a2.recoverByInsert(s2)) f && console.log(u2 + this.stackID(e4) + " (via recover-insert)"), this.advanceFully(e4, i3); - this.stream.end > a2.pos ? (l2 == a2.pos && (l2++, s2 = 0), a2.recoverByDelete(s2, l2), f && console.log(u2 + this.stackID(a2) + ` (via recover-delete ${this.parser.getName(s2)})`), O(a2, i3)) : (!n3 || n3.score < d2.score) && (n3 = d2); + this.stream.end > a2.pos ? (l2 == a2.pos && (l2++, s2 = 0), a2.recoverByDelete(s2, l2), f && console.log(u2 + this.stackID(a2) + ` (via recover-delete ${this.parser.getName(s2)})`), v(a2, i3)) : (!n3 || n3.score < c2.score) && (n3 = c2); } return n3; } @@ -50845,14 +54988,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return t3 || T.set(e3, t3 = String.fromCodePoint(this.nextStackID++)), t3 + e3; } } - function O(e3, t3) { + function v(e3, t3) { for (let i3 = 0; i3 < t3.length; i3++) { let n3 = t3[i3]; if (n3.pos == e3.pos && n3.sameState(e3)) return void (t3[i3].score < e3.score && (t3[i3] = e3)); } t3.push(e3); } - class I { + class O { constructor(e3, t3, i3) { this.source = e3, this.flags = t3, this.disabled = i3; } @@ -50860,7 +55003,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return !this.disabled || 0 == this.disabled[e3]; } } - const v = (e3) => e3; + const I = (e3) => e3; class C extends n2.Parser { constructor(e3) { if (super(), this.wrappers = [], 14 != e3.version) throw new RangeError(`Parser version (${e3.version}) doesn't match runtime version (14)`); @@ -50995,7 +55138,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } let n3 = null; for (let e4 = 0; e4 < t3.length; e4++) if (!i3[e4]) for (let i4, r3 = this.dialects[t3[e4]]; 65535 != (i4 = this.data[r3++]); ) (n3 || (n3 = new Uint8Array(this.maxTerm + 1)))[i4] = 1; - return new I(e3, i3, n3); + return new O(e3, i3, n3); } static deserialize(e3) { return new C(e3); @@ -51013,13 +55156,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } t2.ContextTracker = class { constructor(e3) { - this.start = e3.start, this.shift = e3.shift || v, this.reduce = e3.reduce || v, this.reuse = e3.reuse || v, this.hash = e3.hash || (() => 0), this.strict = false !== e3.strict; + this.start = e3.start, this.shift = e3.shift || I, this.reduce = e3.reduce || I, this.reuse = e3.reuse || I, this.hash = e3.hash || (() => 0), this.strict = false !== e3.strict; } }, t2.ExternalTokenizer = class { constructor(e3, t3 = {}) { this.token = e3, this.contextual = !!t3.contextual, this.fallback = !!t3.fallback, this.extend = !!t3.extend; } - }, t2.InputStream = c, t2.LRParser = C, t2.LocalTokenGroup = _, t2.Stack = r2; + }, t2.InputStream = d, t2.LRParser = C, t2.LocalTokenGroup = _, t2.Stack = r2; }, 41829: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.obfuscation = void 0; @@ -51036,15 +55179,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (!n2.default.isString(e3) || 0 === e3.length) return; const i3 = n2.default.isString(t3) ? t3 : a; if (i3 < s || i3 > l) return; - let o2, d, c, p, _, h, m; + let o2, c, d, p, _, h, m; if (i3 === a) { - o2 = u(20, 45), c = ""; - for (let e4 = 0; e4 < o2; e4++) c += String.fromCharCode(u(32, 89)); + o2 = u(20, 45), d = ""; + for (let e4 = 0; e4 < o2; e4++) d += String.fromCharCode(u(32, 89)); m = " "; for (let e4 = 0; e4 < 10; e4++) m += String.fromCharCode(u(32, 89)); - d = u(2, 25), _ = (0, r2.toAscii)(encodeURIComponent(e3)), c += _ + m, p = c.split(""), h = c.length; - for (let e4 = o2; e4 < h; e4++) p[e4] = String.fromCharCode(p[e4].charCodeAt(0) + d); - return p[h - 12] = String.fromCharCode(o2 + 13), p[h - 13] = String.fromCharCode(d + 21), p[h - 11] = String.fromCharCode(a.charCodeAt(0) + 28), p.join(""); + c = u(2, 25), _ = (0, r2.toAscii)(encodeURIComponent(e3)), d += _ + m, p = d.split(""), h = d.length; + for (let e4 = o2; e4 < h; e4++) p[e4] = String.fromCharCode(p[e4].charCodeAt(0) + c); + return p[h - 12] = String.fromCharCode(o2 + 13), p[h - 13] = String.fromCharCode(c + 21), p[h - 11] = String.fromCharCode(a.charCodeAt(0) + 28), p.join(""); } } decodeStr(e3, t3) { @@ -51052,14 +55195,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const i3 = String.fromCharCode(e3.charCodeAt(e3.length - 11) - 28); if (!n2.default.isString(i3) || i3 < s || i3 > l) return; const r3 = e3.split(""); - let u2, d, c, p; + let u2, c, d, p; if ((n2.default.isString(t3) ? t3 : i3) === a) { if (e3.length < 34) return; if (u2 = e3.charCodeAt(e3.length - 12) - 13, !n2.default.isActualNumber(u2) && u2 >= 20 && u2 < 46) return; if (p = e3.charCodeAt(e3.length - 13) - 21, !n2.default.isActualNumber(p) && p >= 2 && p <= 26) return; - d = e3.length - 13 - u2; - for (let e4 = u2; e4 < u2 + d; e4++) r3[e4] = String.fromCharCode(r3[e4].charCodeAt(0) - p); - return c = r3.slice(u2, u2 + d).join(""), decodeURIComponent((0, o.toBinary)(c)); + c = e3.length - 13 - u2; + for (let e4 = u2; e4 < u2 + c; e4++) r3[e4] = String.fromCharCode(r3[e4].charCodeAt(0) - p); + return d = r3.slice(u2, u2 + c).join(""), decodeURIComponent((0, o.toBinary)(d)); } } get versions() { @@ -51095,7 +55238,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const n2 = i2(31635).__importDefault(i2(61864)), r2 = i2(55299), o = i2(55909), a = i2(33951); class s extends r2.BaseClass { constructor(e3, t3, i3, r3) { - super(), a.ParameterValidator.expectString(e3, () => o.ParameterInfo.createConstructorParameter(this.className, "id")), a.ParameterValidator.expectString(t3, () => o.ParameterInfo.createConstructorParameter(this.className, "name")), a.ParameterValidator.expectString(i3, () => o.ParameterInfo.createConstructorParameter(this.className, "description"), true), this._icon = r3 ? a.ParameterValidator.expectObject(r3, () => o.ParameterInfo.createConstructorParameter(this.className, "icon")) : n2.default.wrench, Object.defineProperties(this, { _description: { value: i3, writable: true }, _icon: { value: r3, writable: true }, _id: { value: e3, writable: true }, _name: { value: t3, writable: true } }); + super(), a.ParameterValidator.expectString(e3, () => o.ParameterInfo.createConstructorParameter(this.className, "id")), a.ParameterValidator.expectString(t3, () => o.ParameterInfo.createConstructorParameter(this.className, "name")), a.ParameterValidator.expectString(i3, () => o.ParameterInfo.createConstructorParameter(this.className, "description"), true), this._icon = r3 ? a.ParameterValidator.expectString(r3, () => o.ParameterInfo.createConstructorParameter(this.className, "icon")) : n2.default.wrench, Object.defineProperties(this, { _description: { value: i3, writable: true }, _icon: { value: r3, writable: true }, _id: { value: e3, writable: true }, _name: { value: t3, writable: true } }); } get className() { return "BaseIdNameDesc"; @@ -51240,8 +55383,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = o; }, 42062: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(53755), o = i2(54403), a = i2(12786), s = i2(21305), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.BaseConversationAttributeActionViewModel { + const n2 = i2(31635), r2 = i2(53755), o = i2(54403), a = i2(12786), s = i2(21305), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.BaseConversationAttributeActionViewModel { constructor(e3, t3) { super(e3, t3), this._loadModel(t3); } @@ -51259,21 +55402,21 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return a.createConversationAttributeFailureReasons; } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.createConversationAttribute, modelClass: o.CreateConversationAttributeActionModel, name: d.actions.createConversationAttribute, scriptingName: "ArchActionCreateConversationAttribute" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.createConversationAttribute, modelClass: o.CreateConversationAttributeActionModel, name: d.actions.createConversationAttribute, scriptingName: "ArchActionCreateConversationAttribute", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 42091: (e2, t2, i2) => { - const { builderCategoryIds: n2 } = i2(73062), r2 = i2(79904).default, o = i2(81818).default, a = i2(41568).default, s = i2(5532).default, { builderPartIds: l } = i2(69149), u = i2(42290).default, d = i2(16958), c = i2(76486).default, p = i2(22599).default, { flowTypes: _ } = i2(96618), { globalTypes: h } = i2(14394), m = i2(61864).default, { defaultWithNoLabel: g } = i2(93631), f = i2(96727).default; + const { builderCategoryIds: n2 } = i2(73062), r2 = i2(79904).default, o = i2(81818).default, a = i2(41568).default, s = i2(5532).default, { builderPartIds: l } = i2(69149), u = i2(42290).default, c = i2(16958), d = i2(76486).default, p = i2(22599).default, { flowTypes: _ } = i2(96618), { globalTypes: h } = i2(14394), m = i2(61864).default, { defaultWithNoLabel: g } = i2(93631), f = i2(96727).default; e2.exports = { create: function() { - s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.toolbar, description: d.builderParts.integer.literal.description, expressionDefs: [new c({ configureOptionsCallback: (e3) => { + s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.toolbar, description: c.builderParts.integer.literal.description, expressionDefs: [new d({ configureOptionsCallback: (e3) => { e3.setAllowModeLiteralOnly().setIninTestingField("integerLiteral"); - }, expressionType: h.integer, label: d.builderParts.integer.literal.name })], generators: { expressionGenerator: f.singleTokenReplacementGenerator }, viewId: g, id: l.integer.literal, icon: m.integer, name: d.builderParts.integer.literal.name, resultExpressionType: h.integer, version: 1 })), s.addBuilderPartContainerDef(new r2({ categoryIdentifierOrIdentifiers: n2.container, description: d.builderParts.container.language.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("integerValue", true).verifySprintfStringAndInitialize(""), languageCheckGenerator: p.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("integerValue", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), "), wantContainerPartsGeneratorForSingleton: true }, id: l.integer.container.language, name: d.builderParts.container.language.name, resultExpressionType: h.integer, version: 1, wantBucketOnSingleGeneration: true })), s.addBuilderPartContainerDef(new o({ categoryIdentifierOrIdentifiers: n2.container, description: d.builderParts.container.languageAndOutputMode.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("integerValue", true).verifySprintfStringAndInitialize(""), wantContainerPartsGeneratorForSingleton: true }, id: l.integer.container.languageAndOutputMode, name: d.builderParts.container.languageAndOutputMode.name, restrictToFlowTypeOrTypes: _.flowTypesAllCicero, resultExpressionType: h.integer, version: 1, wantBucketOnSingleGeneration: true })), s.addBuilderPartContainerDef(new a({ categoryIdentifierOrIdentifiers: n2.container, description: d.builderParts.container.outputMode.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("integerValue", true).verifySprintfStringAndInitialize(""), wantContainerPartsGeneratorForSingleton: true }, id: l.integer.container.outputMode, name: d.builderParts.container.outputMode.name, restrictToFlowTypeOrTypes: _.flowTypesAllCicero, resultExpressionType: h.integer, version: 1 })); + }, expressionType: h.integer, label: c.builderParts.integer.literal.name })], generators: { expressionGenerator: f.singleTokenReplacementGenerator }, viewId: g, id: l.integer.literal, icon: m.integer, name: c.builderParts.integer.literal.name, resultExpressionType: h.integer, version: 1 })), s.addBuilderPartContainerDef(new r2({ categoryIdentifierOrIdentifiers: n2.container, description: c.builderParts.container.language.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("integerValue", true).verifySprintfStringAndInitialize(""), languageCheckGenerator: p.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("integerValue", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), "), wantContainerPartsGeneratorForSingleton: true }, id: l.integer.container.language, name: c.builderParts.container.language.name, resultExpressionType: h.integer, version: 1, wantBucketOnSingleGeneration: true })), s.addBuilderPartContainerDef(new o({ categoryIdentifierOrIdentifiers: n2.container, description: c.builderParts.container.languageAndOutputMode.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("integerValue", true).verifySprintfStringAndInitialize(""), wantContainerPartsGeneratorForSingleton: true }, id: l.integer.container.languageAndOutputMode, name: c.builderParts.container.languageAndOutputMode.name, restrictToFlowTypeOrTypes: _.flowTypesAllCicero, resultExpressionType: h.integer, version: 1, wantBucketOnSingleGeneration: true })), s.addBuilderPartContainerDef(new a({ categoryIdentifierOrIdentifiers: n2.container, description: c.builderParts.container.outputMode.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("integerValue", true).verifySprintfStringAndInitialize(""), wantContainerPartsGeneratorForSingleton: true }, id: l.integer.container.outputMode, name: c.builderParts.container.outputMode.name, restrictToFlowTypeOrTypes: _.flowTypesAllCicero, resultExpressionType: h.integer, version: 1 })); } }; }, 42098: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.createTransferConnectTimeoutProperty = function(e3) { - const t3 = c.clone(); - return e3 && t3.setModeNoValueRuntimeEvaluationStr(e3, l.flowTypes.flowTypesAllVxmlgen), { label: d.transfer.connectTimeout, options: t3, yamlOptions: a.default.create("transferConnectTimeoutProperty-connTimeout", (e4) => e4.setPropertyName("connectTimeout").setExportOrder(110)), property: "connTimeout", type: u.expressionTypeNames.duration, supportedFlowTypes: [...l.flowTypes.flowTypesAllVxmlgen, l.flowTypes.flowTypeCommonModule] }; + const t3 = d.clone(); + return e3 && t3.setModeNoValueRuntimeEvaluationStr(e3, l.flowTypes.flowTypesAllVxmlgen), { label: c.transfer.connectTimeout, options: t3, yamlOptions: a.default.create("transferConnectTimeoutProperty-connTimeout", (e4) => e4.setPropertyName("connectTimeout").setExportOrder(110)), property: "connTimeout", type: u.expressionTypeNames.duration, supportedFlowTypes: [...l.flowTypes.flowTypesAllVxmlgen, l.flowTypes.flowTypeCommonModule] }; }; - const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = n2.__importDefault(i2(73198)), a = n2.__importDefault(i2(22917)), s = i2(79467), l = i2(96618), u = i2(80428), d = i2(47957), c = s.ExpressionTypeDurationOptions.create((e3) => e3.setAllowEmptyConfig(true).setAllowFlowLevelDefault(true).setScriptingPropertyName("connectTimeout").setFlowLevelDefaultHasDefault(true).setAsInput(true).setDurationStyle(r2.durationStyles.secondsAndTenthsDuration).setDefaultText(o.default.litDurationTenSeconds).setIsOptional(true).setIninTestingField("connect-timeout-expression").facets.setMinDur(o.default.msPerSecond, true).setMaxDur(o.default.msPerMinute, true)); + const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = n2.__importDefault(i2(73198)), a = n2.__importDefault(i2(22917)), s = i2(79467), l = i2(96618), u = i2(80428), c = i2(47957), d = s.ExpressionTypeDurationOptions.create((e3) => e3.setAllowEmptyConfig(true).setAllowFlowLevelDefault(true).setScriptingPropertyName("connectTimeout").setFlowLevelDefaultHasDefault(true).setAsInput(true).setDurationStyle(r2.durationStyles.secondsAndTenthsDuration).setDefaultText(o.default.litDurationTenSeconds).setIsOptional(true).setIninTestingField("connect-timeout-expression").facets.setMinDur(o.default.msPerSecond, true).setMaxDur(o.default.msPerMinute, true)); }, 42115: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -51308,10 +55451,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 42139: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.agenticVirtualAgentVersionManager = t2.AgenticVirtualAgentVersionManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(33577)), o = i2(24032), a = n2.__importDefault(i2(71960)), s = i2(30801), l = i2(28722), u = i2(81801), d = n2.__importDefault(i2(47532)), c = i2(47957), p = i2(27862); - class _ extends d.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(33577)), o = i2(24032), a = n2.__importDefault(i2(71960)), s = i2(30801), l = i2(28722), u = i2(81801), c = n2.__importDefault(i2(47532)), d = i2(47957), p = i2(27862); + class _ extends c.default { constructor() { - super(), this.topic = (0, o.getTopic)("agenticVirtualAgentVersionManager"), this._rawServerCache = {}, this.apiCallList = void 0, this.apiCallSingle = r2.getAgenticVirtualAgentVersion, this.actionsForUsageSearch = [s.callAgenticVirtualAgentActionType], this.actionPropertyForUsageSearch = "", this.defaultInputsWithNoDefaultToNotSet = true, this.className = "agenticVirtualAgentVersionManager", this.dependencyContext = c.agenticVirtualAgent.agenticVirtualAgentVersion, this.uiMetadataSectionName = "agenticVirtualAgentsVersions", this.noApiCallList = true, this._initialize(); + super(), this.topic = (0, o.getTopic)("agenticVirtualAgentVersionManager"), this._rawServerCache = {}, this.apiCallList = void 0, this.apiCallSingle = r2.getAgenticVirtualAgentVersion, this.actionsForUsageSearch = [s.callAgenticVirtualAgentActionType], this.actionPropertyForUsageSearch = "", this.defaultInputsWithNoDefaultToNotSet = true, this.className = "agenticVirtualAgentVersionManager", this.dependencyContext = d.agenticVirtualAgent.agenticVirtualAgentVersion, this.uiMetadataSectionName = "agenticVirtualAgentsVersions", this.noApiCallList = true, this._initialize(); } get requiredAuth() { return u.externalAuthorizations.authStrings.agenticVirtualAgentVersionView; @@ -51420,12 +55563,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { t3 || (t3 = e3); - const n3 = new c(); + const n3 = new d(); n3.variables = [], n3.defaultLanguage = e3, r2.default.isUndefined(i3) || (a.default.getInstance(i3) || (p.error("Invalid default error handling type passed in for blank workflow configuration generation. Using Disconnect."), i3 = a.default.Disconnect), n3.errorHandling = new s(), n3.errorHandling.handlingType = i3), n3.flowMetaData = new l({ flowDocumentVersion: "1.0", minimumServerVersion: "1.0", features: [] }), n3.flowSequenceItemList = []; - const o2 = new d(); + const o2 = new c(); return o2.name = u(t3).initialState, o2.variables = [], o2.actionList = [], n3.flowSequenceItemList = [o2], n3.initialSequence = o2.id, n3; }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(15244)), s = i2(2053), l = i2(89266), u = i2(21733), d = i2(69674), c = i2(23695), p = o.getTopic("BlankWorkflow"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(15244)), s = i2(2053), l = i2(89266), u = i2(21733), c = i2(69674), d = i2(23695), p = o.getTopic("BlankWorkflow"); }, 42217: (e2, t2, i2) => { const n2 = i2(45214), r2 = i2(7401); function o() { @@ -51499,10 +55642,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 42290: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(55909), a = i2(33951), s = n2.__importDefault(i2(88835)), l = i2(69149), u = n2.__importDefault(i2(27702)), d = n2.__importDefault(i2(16864)), c = n2.__importDefault(i2(88878)); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(55909), a = i2(33951), s = n2.__importDefault(i2(88835)), l = i2(69149), u = n2.__importDefault(i2(27702)), c = n2.__importDefault(i2(16864)), d = n2.__importDefault(i2(88878)); class p extends s.default { - constructor({ id: e3, name: t3, description: i3, icon: n3, helpTopic: s2, version: l2, generators: u2, partConfigurators: d2, resultExpressionType: c2, type: p2, expressionDefs: _, restrictToFlowTypeOrTypes: h, categoryIdentifierOrIdentifiers: m, requiredFeatureToggle: g, requiredFeatureConfig: f, requiredChannelTypeOrTypes: T, useStringLiteralProcessing: y, viewId: S, sortValue: A, displayStringOverride: N }) { - super(e3, t3, i3, l2, u2, d2, c2 = c2 || p2, h, m, n3 || c2.getArchIcon(), s2, g, f, T, A, N), a.ParameterValidator.expectArray(_, () => o.ParameterInfo.createConstructorParameter(this.className, "expressionDefs")), Object.defineProperties(this, { _expressionDefs: { value: _ }, _viewId: { value: S }, _useStringLiteralProcessing: { value: r2.default.isFunction(y) ? y : void 0 } }); + constructor({ id: e3, name: t3, description: i3, icon: n3, helpTopic: s2, version: l2, generators: u2, partConfigurators: c2, resultExpressionType: d2, type: p2, expressionDefs: _, restrictToFlowTypeOrTypes: h, categoryIdentifierOrIdentifiers: m, requiredFeatureToggle: g, requiredFeatureConfig: f, requiredChannelTypeOrTypes: T, useStringLiteralProcessing: y, viewId: S, sortValue: A, displayStringOverride: N }) { + super(e3, t3, i3, l2, u2, c2, d2 = d2 || p2, h, m, n3 || d2.getArchIcon(), s2, g, f, T, A, N), a.ParameterValidator.expectArray(_, () => o.ParameterInfo.createConstructorParameter(this.className, "expressionDefs")), Object.defineProperties(this, { _expressionDefs: { value: _ }, _viewId: { value: S }, _useStringLiteralProcessing: { value: r2.default.isFunction(y) ? y : void 0 } }); } get expressionDefs() { return this._expressionDefs; @@ -51524,9 +55667,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; switch (null == i3 ? void 0 : i3.builderPartDefId) { case l.builderPartIds.communication.markdown: case l.builderPartIds.string.markdown: - return new c.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, overrideBuilderPartDef: void 0, reId: !!n3 }); - default: return new d.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, overrideBuilderPartDef: void 0, reId: !!n3 }); + default: + return new c.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, overrideBuilderPartDef: void 0, reId: !!n3 }); } } } @@ -51535,10 +55678,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseOptions = void 0; - const o = i2(31635), a = o.__importDefault(i2(92140)), s = i2(79364), l = i2(98126), u = i2(80295), d = i2(69212), c = i2(80295), p = i2(55909), _ = i2(33951); + const o = i2(31635), a = o.__importDefault(i2(92140)), s = i2(79364), l = i2(98126), u = i2(80295), c = i2(69212), d = i2(80295), p = i2(55909), _ = i2(33951); class h { constructor() { - this._assumeOosIfTypeUnavailable = false, this._uiLayout = {}, (0, c.makeUnenumerable)(this, "_assumeOosIfTypeUnavailable"), (0, c.makeUnenumerable)(this, "_canCreateObjectInAction"), (0, c.makeUnenumerable)(this, "_featureConfigName"), (0, c.makeUnenumerable)(this, "_antiFeatureConfigName"), (0, c.makeUnenumerable)(this, "_ininTestingField"), (0, c.makeUnenumerable)(this, "_uiPropertyGroup"), (0, c.makeUnenumerable)(this, "_uiPropertyCardGroup$"), (0, c.makeUnenumerable)(this, "_uiSingleItemSectionPropertyGroup"), (0, c.makeUnenumerable)(this, "_uiPropertyOrder"), (0, c.makeUnenumerable)(this, "_uiDisableOnOutOfService"), (0, c.makeUnenumerable)(this, "_uiDisabledTooltip"), (0, c.makeUnenumerable)(this, "_uiLayout"), (0, c.makeUnenumerable)(this, "_disallowedFunctionMap"); + this._assumeOosIfTypeUnavailable = false, this._uiLayout = {}, (0, d.makeUnenumerable)(this, "_assumeOosIfTypeUnavailable"), (0, d.makeUnenumerable)(this, "_canCreateObjectInAction"), (0, d.makeUnenumerable)(this, "_featureConfigName"), (0, d.makeUnenumerable)(this, "_antiFeatureConfigName"), (0, d.makeUnenumerable)(this, "_ininTestingField"), (0, d.makeUnenumerable)(this, "_uiPropertyGroup"), (0, d.makeUnenumerable)(this, "_uiPropertyCardGroup$"), (0, d.makeUnenumerable)(this, "_uiSingleItemSectionPropertyGroup"), (0, d.makeUnenumerable)(this, "_uiPropertyOrder"), (0, d.makeUnenumerable)(this, "_uiDisableOnOutOfService"), (0, d.makeUnenumerable)(this, "_uiDisabledTooltip"), (0, d.makeUnenumerable)(this, "_uiLayout"), (0, d.makeUnenumerable)(this, "_disallowedFunctionMap"); } get className() { return "BaseOptions"; @@ -51705,11 +55848,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return (0, l.clone)(this); } } - t2.BaseOptions = h, o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], h.prototype, "featureConfigName", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], h.prototype, "antiFeatureConfigName", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], h.prototype, "ininTestingField", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], h.prototype, "uiPropertyGroup", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], h.prototype, "uiPropertyCardGroup", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Object])], h.prototype, "uiSingleItemSectionPropertyGroup", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Number), o.__metadata("design:paramtypes", [Object])], h.prototype, "uiPropertyOrder", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Object])], h.prototype, "assumeOosIfTypeUnavailable", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Object])], h.prototype, "uiDisableOnOutOfService", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], h.prototype, "uiDisabledTooltip", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== d.IUiLayout && d.IUiLayout) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== d.IUiLayout && d.IUiLayout) ? r2 : Object])], h.prototype, "uiLayout", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], h.prototype, "disallowedFunctionMap", null); + t2.BaseOptions = h, o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], h.prototype, "featureConfigName", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], h.prototype, "antiFeatureConfigName", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], h.prototype, "ininTestingField", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], h.prototype, "uiPropertyGroup", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], h.prototype, "uiPropertyCardGroup", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Object])], h.prototype, "uiSingleItemSectionPropertyGroup", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Number), o.__metadata("design:paramtypes", [Object])], h.prototype, "uiPropertyOrder", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Object])], h.prototype, "assumeOosIfTypeUnavailable", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Object])], h.prototype, "uiDisableOnOutOfService", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], h.prototype, "uiDisabledTooltip", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.IUiLayout && c.IUiLayout) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== c.IUiLayout && c.IUiLayout) ? r2 : Object])], h.prototype, "uiLayout", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], h.prototype, "disallowedFunctionMap", null); }, 42473: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(78513), o = i2(24235), a = i2(12179), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(25234)), u = i2(80428), d = i2(47957); - class c extends l.default { + const n2 = i2(31635), r2 = i2(78513), o = i2(24235), a = i2(12179), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(25234)), u = i2(80428), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends l.default { static get managedProperties() { return [{ audio: true, options: o.AudioViewModelOptions.create((e3) => e3.setIninTestingField("playAudioOnSilenceAudio").setLabel(d.audio.audioLabel).setIsOptional(false).setDisallowedFunctionMap({ AudioPlayBackOptions: true }).setUiPropertyOrder(0)), property: "audio" }, { label: d.playAudioOnSilence.allowedRepeatCount, options: r2.ExpressionTypeIntegerOptions.create((e3) => e3.setDefaultText("5").setAllowFlowLevelDefault(true).setDescriptionInfo(void 0, d.playAudioOnSilence.allowedRepeatCountDescription).setScriptingPropertyName("allowedRepeatCount").setIninTestingField("playAudioOnSilenceAllowedRepeatCount").setUiPropertyOrder(40).facets.setMinInt(0, true).setMaxInt(5, true)), property: "allowedRepeatCount", type: u.expressionTypeNames.integer }, { label: d.playAudioOnSilence.actualRepeatCount, options: r2.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("playAudioOnSilenceActualRepeatCount").setIsOptional(true).setAsOutput().setUiPropertyOrder(41)), property: "actualRepeatCount", type: u.expressionTypeNames.integer }]; } @@ -51717,11 +55860,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super(e3), this._loadModel(t3); } } - c.info = s.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: a.helpTopics.actions.playAudioOnSilence, modelClass: i2(30825), name: d.actions.playAudioOnSilence, scriptingName: "ArchActionPlayAudioOnSilence" }), t2.A = c; + p.info = s.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: a.helpTopics.actions.playAudioOnSilence, modelClass: i2(30825), name: d.actions.playAudioOnSilence, scriptingName: "ArchActionPlayAudioOnSilence", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 42515: (e2, t2, i2) => { const n2 = i2(45214), r2 = i2(7401); function o() { - Object.defineProperties(this, { _voiceProcessingPrompt: { writable: true }, _initialPlaybackDelay: { writable: true }, _minimumPlaybackTime: { writable: true } }), this.engineVersion = void 0, this.nluDomainId = void 0, this.nluDomainVersionId = void 0, this.surveyFormInfo = void 0, this.virtualAgentEnabled = void 0, this.agenticVirtualAgentEnabled = void 0, this.voiceProcessingPrompt = void 0, this.initialPlaybackDelay = void 0, this.minimumPlaybackTime = void 0, o.baseConstructor.apply(this, arguments); + Object.defineProperties(this, { _voiceProcessingPrompt: { writable: true }, _initialPlaybackDelay: { writable: true }, _minimumPlaybackTime: { writable: true }, _conversationSchemaRecordId: { writable: true }, _conversationSchemaDivisions: { writable: true } }), this.engineVersion = void 0, this.nluDomainId = void 0, this.nluDomainVersionId = void 0, this.intentClassifierId = void 0, this.conversationSchemaId = void 0, this.conversationSchemaName = void 0, this.surveyFormInfo = void 0, this.virtualAgentEnabled = void 0, this.agenticVirtualAgentEnabled = void 0, this.voiceProcessingPrompt = void 0, this.initialPlaybackDelay = void 0, this.minimumPlaybackTime = void 0, this.conversationSchemaRecordId = void 0, this.conversationSchemaDivisions = void 0, o.baseConstructor.apply(this, arguments); } n2.extend(o, "BotFlowSettings"), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { o._super.pasteReIdOrRename.apply(this, arguments); @@ -51739,6 +55882,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._minimumPlaybackTime; }, set: function(e3) { this._minimumPlaybackTime = this.reviveItem(e3, r2); + } }, conversationSchemaRecordId: { enumerable: true, get: function() { + return this._conversationSchemaRecordId; + }, set: function(e3) { + this._conversationSchemaRecordId = this.reviveItem(e3, r2); + } }, conversationSchemaDivisions: { enumerable: true, get: function() { + return this._conversationSchemaDivisions; + }, set: function(e3) { + this._conversationSchemaDivisions = this.reviveItem(e3, r2); } } }), e2.exports = o; }, 42590: (e2, t2, i2) => { const n2 = i2(1735).default; @@ -51782,12 +55933,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635); i2(41330); - const r2 = n2.__importDefault(i2(21413)), o = n2.__importDefault(i2(54521)), a = n2.__importDefault(i2(31758)), s = n2.__importDefault(i2(2414)), l = n2.__importDefault(i2(35859)), u = n2.__importDefault(i2(61427)), d = n2.__importDefault(i2(46292)), c = { dataTypes: r2.default, environment: o.default, enums: a.default, factories: s.default, languages: l.default, services: d.default, viewModels: u.default }; + const r2 = n2.__importDefault(i2(21413)), o = n2.__importDefault(i2(54521)), a = n2.__importDefault(i2(31758)), s = n2.__importDefault(i2(2414)), l = n2.__importDefault(i2(35859)), u = n2.__importDefault(i2(61427)), c = n2.__importDefault(i2(46292)), d = { dataTypes: r2.default, environment: o.default, enums: a.default, factories: s.default, languages: l.default, services: c.default, viewModels: u.default }; try { - window && (window.__architectScripting__ = c); + window && (window.__architectScripting__ = d); } catch (e3) { } - e2.exports = c; + e2.exports = d; }, 42714: (e2, t2, i2) => { const n2 = i2(35317).exec, r2 = i2(35317).spawn, o = { darwin: function(e3) { return r2("open", [e3]); @@ -51819,6 +55970,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, t2.nextNotification = function(e3) { return i2("N", e3, void 0); }, t2.createNotification = i2; + }, 42837: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.actionMaxItemsLimitBindings = void 0; + const n2 = i2(59578), r2 = i2(82632), o = i2(30801), a = i2(82632), s = i2(30801); + t2.actionMaxItemsLimitBindings = [{ actionTypeId: s.sendResponseActionType, limitName: n2.actionLimitNames.fileAttachmentsPerResponseMax, target: a.sendResponseAction.attachments }, { actionTypeId: o.sendAutoReplyActionType, limitName: n2.actionLimitNames.fileAttachmentsPerResponseMax, target: r2.sendAutoReplyAction.attachments }]; }, 42974: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.AssignedCustomerSegmentType = void 0; @@ -51921,8 +56077,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; })(); }, 43080: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = i2(96618), s = n2.__importDefault(i2(41510)), l = i2(90858), u = i2(80428), d = i2(11013), c = i2(49892), p = i2(81516), _ = i2(99469), h = n2.__importDefault(i2(27203)), m = i2(25965), g = i2(71528), f = n2.__importStar(i2(36781)), T = i2(75669), y = i2(96546), S = i2(1115), A = i2(12179), N = i2(12457), O = n2.__importDefault(i2(97891)), I = i2(54057), v = i2(28803), C = i2(87870), b = i2(24338), E = n2.__importDefault(i2(80570)), R = i2(60609), w = i2(60609), D = i2(60609), P = i2(47957), M = i2(21733); - class F extends E.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = i2(96618), s = n2.__importDefault(i2(41510)), l = i2(90858), u = i2(80428), c = i2(11013), d = i2(49892), p = i2(81516), _ = i2(99469), h = n2.__importDefault(i2(27203)), m = i2(25965), g = i2(71528), f = n2.__importStar(i2(36781)), T = i2(75669), y = i2(96546), S = i2(1115), A = i2(12179), N = i2(12457), v = n2.__importDefault(i2(97891)), O = i2(54057), I = i2(28803), C = i2(87870), b = i2(24338), E = n2.__importDefault(i2(80570)), w = i2(60609), R = i2(60609), D = i2(60609), P = i2(60609), M = n2.__importStar(i2(10798)), F = n2.__importDefault(i2(4648)), L = i2(47957), x = i2(21733); + class k extends E.default { constructor(e3, t3) { super(e3), this.responseManager = m.messagingTemplateResponseManager, this.libraryManager = g.responseLibraryManager, this._loadModel(t3), this.noInput.options.setBuilderLanguagesSequenceConfig(l.messagingTemplateSequences.noInputDigitalBotSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(l.messagingTemplateSequences.noMatchDigitalBotSequence); } @@ -51958,32 +56114,45 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return [...h.default.successFailure, h.default.maxNoInputsOptional, h.default.maxNoMatchesOptional]; } setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3), this.setNewInstanceNoInputText(M(this.parentFlow.defaultLanguage).messagingTemplate.noInputDigitalBot), this.setNewInstanceNoMatchText(M(this.parentFlow.defaultLanguage).messagingTemplate.noMatchDigitalBot); + super.setNewInstanceDefaults(e3), this.setNewInstanceNoInputText(x(this.parentFlow.defaultLanguage).messagingTemplate.noInputDigitalBot), this.setNewInstanceNoMatchText(x(this.parentFlow.defaultLanguage).messagingTemplate.noMatchDigitalBot); } getDetails() { var e3; - if ((null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.name) && this.messagingTemplateName) return new N.ActionDetails([P.getResponse.library, P.messagingTemplate.messagingTemplateLabel], [this.responseLibrary.name, this.messagingTemplateName]); + if ((null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.name) && this.messagingTemplateName) return new N.ActionDetails([L.getResponse.library, L.messagingTemplate.messagingTemplateLabel], [this.responseLibrary.name, this.messagingTemplateName]); } static get managedProperties() { - return [{ createDetails: C.NoteActionProperty.createCreateDetails((0, o.sprintf)(s.default.generic.twoStringsSpaceSeparator, P.messagingTemplate.messagingTemplateChannelNote, P.generic.usingOnOtherChannelsFailurePath), "info", "messagingTemplateChannelNote"), options: c.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(1)), property: "channelAlert", yamlOptions: F.createYamlOptions("channelAlert", (e3) => e3.setSkipProperty(true)) }, { property: "messagingTemplateType", label: P.messagingTemplate.messagingTemplateTypeLabel, type: u.expressionTypeNames.string, supportedFlowTypes: [a.flowTypes.flowTypeDigitalBot], options: p.ExpressionTypeStringOptions.create((e3) => e3.setUiPropertyOrder(2).setDescriptionInfo(P.messagingTemplate.messagingTemplateTypeLabel, P.messagingTemplate.messagingTemplateTypeDescription).setAllowModeLiteralOnly().setDefaultText(R.CannedResponseMessageTemplateType.carousel).facets.setAllowableValues(D.cannedResponseMessageTemplateTypeValues).setUseButtonSwitcher(true)), yamlOptions: F.createYamlOptions("messagingTemplateType", (e3) => e3.setSerializeOutOfService(true)) }, { label: P.getResponse.library, options: _.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("library").setUiPropertyOrder(3).setDropdownPlaceholder(P.form.formActionSelectLibrary).setDescriptionInfo(P.getResponse.library, P.messagingTemplate.messagingTemplateActionLibraryDescription)), property: "library", createDetails: b.ResponseLibraryProperty.createCreateDetails(P.messagingTemplate.messagingTemplateResponseLibraryDoesNotContainMessagingTemplate, P.messagingTemplate.messagingTemplateNoResponseLibrariesContainMessagingTemplate, P.form.formActionMustSelectLibrary), yamlOptions: F.createYamlOptions("library", (e3) => e3) }, { label: P.messagingTemplate.messagingTemplateLabel, options: _.ManagedPropertyOptions.create((e3) => e3.setDescriptionInfo(P.messagingTemplate.messagingTemplateLabel, (0, o.sprintf)(s.default.generic.twoStringsSpaceSeparator, P.cannedResponses.cannedResponseTypeMessageTemplateDescription, P.generic.pickOneToSend)).setIninTestingField("messagingTemplate").setUiPropertyOrder(4).setDropdownPlaceholder(P.messagingTemplate.selectMessagingTemplate)), property: "messagingTemplate", createDetails: v.NetworkBasedActionProperty.createCreateDetails("messagingTemplateId", "messagingTemplateName", m.messagingTemplateResponseManager, P.messagingTemplate.messagingTemplateActionMustSelectMessagingTemplate, P.messagingTemplate.messagingTemplateNotFound, "library", (e3) => e3.action._getAdditionalSearchParams(), (e3, t3) => e3.action._searchFilterCallback(t3)), yamlOptions: F.createYamlOptions("messagingTemplate", (e3) => e3.setSkipProperty(true)) }, { label: P.cardsAndCars.selectionResultLabel, options: p.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setUiPropertyOrder(6).setIninTestingField("selectionResult").setDescriptionInfo(P.cardsAndCars.selectionResultLabel, P.messagingTemplate.messagingTemplateSelectionResultDescription)), property: "selectionResult", yamlOptions: F.createYamlOptions("selectionResult", (e3) => e3.setPropertyName("valueSelectionResult")), type: u.expressionTypeNames.string }, { createDetails: C.NoteActionProperty.createCreateDetails(P.getResponse.noSubstitutions, "info", "noSubstitutionsNote"), options: c.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(7)), property: "noSubstitutionsNote" }, { label: P.getResponse.substitutions, options: c.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(10).setIsOptional(true)), dataList: true, property: "substitutions" }]; + return [{ createDetails: C.NoteActionProperty.createCreateDetails((0, o.sprintf)(s.default.generic.twoStringsSpaceSeparator, L.messagingTemplate.messagingTemplateChannelNote, L.generic.usingOnOtherChannelsFailurePath), "info", "messagingTemplateChannelNote"), options: d.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(1)), property: "channelAlert", yamlOptions: k.createYamlOptions("channelAlert", (e3) => e3.setSkipProperty(true)) }, { property: "messagingTemplateType", label: L.messagingTemplate.messagingTemplateTypeLabel, type: u.expressionTypeNames.string, supportedFlowTypes: [a.flowTypes.flowTypeDigitalBot], options: p.ExpressionTypeStringOptions.create((e3) => e3.setUiPropertyOrder(2).setDescriptionInfo(L.messagingTemplate.messagingTemplateTypeLabel, L.messagingTemplate.messagingTemplateTypeDescription).setAllowModeLiteralOnly().setDefaultText(w.CannedResponseMessageTemplateType.carousel).facets.setAllowableValues(M.isFeatureAvailable(F.default.whatsAppCustomTemplateFeature) ? [P.cannedResponseMessageCustomTemplateType, ...D.cannedResponseMessageTemplateTypeValues] : D.cannedResponseMessageTemplateTypeValues).setUseButtonSwitcher(true)), yamlOptions: k.createYamlOptions("messagingTemplateType", (e3) => e3.setSerializeOutOfService(true)) }, { label: L.getResponse.library, options: _.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("library").setUiPropertyOrder(3).setDropdownPlaceholder(L.form.formActionSelectLibrary).setDescriptionInfo(L.getResponse.library, L.messagingTemplate.messagingTemplateActionLibraryDescription)), property: "library", createDetails: b.ResponseLibraryProperty.createCreateDetails(L.messagingTemplate.messagingTemplateResponseLibraryDoesNotContainMessagingTemplate, L.messagingTemplate.messagingTemplateNoResponseLibrariesContainMessagingTemplate, L.form.formActionMustSelectLibrary), yamlOptions: k.createYamlOptions("library", (e3) => e3) }, { label: L.messagingTemplate.messagingTemplateLabel, options: _.ManagedPropertyOptions.create((e3) => e3.setDescriptionInfo(L.messagingTemplate.messagingTemplateLabel, (0, o.sprintf)(s.default.generic.twoStringsSpaceSeparator, L.cannedResponses.cannedResponseTypeMessageTemplateDescription, L.generic.pickOneToSend)).setIninTestingField("messagingTemplate").setUiPropertyOrder(4).setDropdownPlaceholder(L.messagingTemplate.selectMessagingTemplate)), property: "messagingTemplate", createDetails: I.NetworkBasedActionProperty.createCreateDetails("messagingTemplateId", "messagingTemplateName", m.messagingTemplateResponseManager, L.messagingTemplate.messagingTemplateActionMustSelectMessagingTemplate, L.messagingTemplate.messagingTemplateNotFound, "library", (e3) => e3.action._getAdditionalSearchParams(), (e3, t3) => e3.action._searchFilterCallback(t3)), yamlOptions: k.createYamlOptions("messagingTemplate", (e3) => e3.setSkipProperty(true)) }, { label: L.cardsAndCars.selectionResultLabel, options: p.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setUiPropertyOrder(6).setIninTestingField("selectionResult").setDescriptionInfo(L.cardsAndCars.selectionResultLabel, L.messagingTemplate.messagingTemplateSelectionResultDescription)), property: "selectionResult", yamlOptions: k.createYamlOptions("selectionResult", (e3) => e3.setPropertyName("valueSelectionResult")), type: u.expressionTypeNames.string }, { createDetails: C.NoteActionProperty.createCreateDetails(L.getResponse.noSubstitutions, "info", "noSubstitutionsNote"), options: d.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(7)), property: "noSubstitutionsNote" }, { label: L.getResponse.substitutions, options: d.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(10).setIsOptional(true)), dataList: true, property: "substitutions" }]; } _getAdditionalSearchParams() { - var e3, t3, i3; - if (null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.id) { - const e4 = (0, I.createResponseLibrarySearchFilters)(this.responseLibrary.id); - return (null === (t3 = this.messagingTemplateType) || void 0 === t3 ? void 0 : t3.text) === R.CannedResponseMessageTemplateType.carousel && e4.push({ name: "templateStatus", operator: "IN", values: ["APPROVED"] }), (null === (i3 = this.messagingTemplateType) || void 0 === i3 ? void 0 : i3.text) === R.CannedResponseMessageTemplateType.standard && e4.push({ name: "messagingTemplate", operator: "NOTEQUALS", values: ["carousel"] }, { name: "messagingTemplate", operator: "EQUALS", values: ["whatsApp"] }), { filters: e4 }; + var e3, t3; + if (!(null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.id)) return; + const i3 = (0, O.createResponseLibrarySearchFilters)(this.responseLibrary.id); + switch (i3.push({ name: "messagingTemplate", operator: "EQUALS", values: ["whatsApp"] }), null === (t3 = this.messagingTemplateType) || void 0 === t3 ? void 0 : t3.text) { + case w.CannedResponseMessageTemplateType.standard: + if (M.isFeatureUnavailable(F.default.whatsAppCustomTemplateFeature)) { + i3.push({ name: "messagingTemplate", operator: "EQUALS", values: [w.CannedResponseMessageTemplateType.carousel] }), i3.push({ name: "templateStatus", operator: "IN", values: ["APPROVED"] }); + break; + } + i3.push({ name: "messagingTemplate", operator: "NOTEQUALS", values: [w.CannedResponseMessageTemplateType.carousel] }); + break; + case w.CannedResponseMessageTemplateType.carousel: + i3.push({ name: "messagingTemplate", operator: "EQUALS", values: [w.CannedResponseMessageTemplateType.carousel] }), i3.push({ name: "templateStatus", operator: "IN", values: ["APPROVED"] }); + break; + default: + return; } + return { filters: i3 }; } _searchFilterCallback(e3) { var t3, i3, n3, o2; - if (e3.responseType !== w.CannedResponseType.messagingTemplate) return false; + if (e3.responseType !== R.CannedResponseType.messagingTemplate) return false; if (!r2.default.findWhere(e3.libraries, { id: null === (t3 = this.responseLibrary) || void 0 === t3 ? void 0 : t3.id })) return false; const a2 = !!(null === (n3 = null === (i3 = e3.messagingTemplate) || void 0 === i3 ? void 0 : i3.whatsApp) || void 0 === n3 ? void 0 : n3.carousel); switch (null === (o2 = this.messagingTemplateType) || void 0 === o2 ? void 0 : o2.text) { - case R.CannedResponseMessageTemplateType.carousel: + case w.CannedResponseMessageTemplateType.standard: + return M.isFeatureUnavailable(F.default.whatsAppCustomTemplateFeature) ? a2 : !a2; + case w.CannedResponseMessageTemplateType.carousel: return a2; - case R.CannedResponseMessageTemplateType.standard: - return !a2; default: return false; } @@ -52005,16 +56174,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var e3; if (!this.responseId) return ""; const t3 = this.selectedResponse; - return t3 && (null === (e3 = t3.libraries) || void 0 === e3 ? void 0 : e3.length) > 0 ? P.getResponse.responseLibraryDoesNotContainResponse : P.getResponse.noResponseLibrariesContainResponse; + return t3 && (null === (e3 = t3.libraries) || void 0 === e3 ? void 0 : e3.length) > 0 ? L.getResponse.responseLibraryDoesNotContainResponse : L.getResponse.noResponseLibrariesContainResponse; } get isSelectedResponseInSelectedResponseLibrary() { return !(!this.selectedResponse || !this.selectedResponseLibrary || r2.default.isUndefined(r2.default.find(this.selectedResponse.libraries, { id: this.selectedResponseLibrary.id }))); } search(e3) { - super.search(e3), this.responseLibrary.name && e3.checkText(this, this.responseLibrary.name, P.getResponse.library); + super.search(e3), this.responseLibrary.name && e3.checkText(this, this.responseLibrary.name, L.getResponse.library); } validate(e3) { - e3.isDeep && this.selectedResponse && (this._mergeSchemaProperties(), this.responseManager.addItemToFlowMetadata(this, this.messagingTemplateName, this.messagingTemplateId)), this.responseLibrary && (this.selectedResponseLibrary ? this.selectedResponse && !this.isSelectedResponseInSelectedResponseLibrary && this.selectedResponseNotInResponseLibraryMessage && e3.addWarning(this, this.selectedResponseNotInResponseLibraryMessage) : e3.addWarning(this, P.getResponse.responseLibraryNotFound)), super.validate(e3); + e3.isDeep && this.selectedResponse && (this._mergeSchemaProperties(), this.responseManager.addItemToFlowMetadata(this, this.messagingTemplateName, this.messagingTemplateId)), this.responseLibrary && (this.selectedResponseLibrary ? this.selectedResponse && !this.isSelectedResponseInSelectedResponseLibrary && this.selectedResponseNotInResponseLibraryMessage && e3.addWarning(this, this.selectedResponseNotInResponseLibraryMessage) : e3.addWarning(this, L.getResponse.responseLibraryNotFound)), super.validate(e3); } _preDestroy() { super._preDestroy(), this.responseManager.tryRemoveItemFromFlowMetadata(this, this.messagingTemplateId); @@ -52033,7 +56202,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }); } } - F.info = O.default.createActionInfo({ actionClass: F, canBeInTask: true, helpTopic: A.helpTopics.actions.sendDigitalContent, modelClass: d.SendDigitalContentActionModel, name: P.actions.sendDigitalContent, scriptingName: "ArchActionSendDigitalContent", supportsUtteranceHistoricalData: true, supportedSessionSources: y.whatsAppOnly }), t2.A = F; + k.info = v.default.createActionInfo({ actionClass: k, canBeInTask: true, helpTopic: A.helpTopics.actions.sendDigitalContent, modelClass: c.SendDigitalContentActionModel, name: L.actions.sendDigitalContent, scriptingName: "ArchActionSendDigitalContent", supportsUtteranceHistoricalData: true, supportedSessionSources: y.whatsAppOnly, modelFormatSupport: { flowYaml: { inProgress: true, feature: F.default.changeSetsFeaturePhase2 } } }), t2.A = k; }, 43096: (e2) => { e2.exports = {}; }, 43190: (e2, t2, i2) => { @@ -52115,6 +56284,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } get customFields() { } + get schemaId() { + } + get schemaVersion() { + } get displayTypeName() { return "ArchValueExternalContact"; } @@ -52142,16 +56315,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 43221: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(52800)), a = n2.__importDefault(i2(30231)), s = i2(55909), l = i2(33951), u = i2(69675), d = "BuilderValidationResultsOrganizer"; - class c { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(52800)), a = n2.__importDefault(i2(30231)), s = i2(55909), l = i2(33951), u = i2(69675), c = "BuilderValidationResultsOrganizer"; + class d { constructor(e3) { Object.defineProperties(this, { _builderViewModel: { value: e3, writable: true, enumerable: false }, _contextBuilderPartContainerViewModel: { writable: true, enumerable: false }, _contextIsContainerRelated: { value: false, writable: true, enumerable: false }, _contextIsBuilderPartDefRelated: { value: false, writable: true, enumerable: false }, _objectIdsToValidationResults: { value: {}, writable: true, enumerable: false } }); } static create(e3) { - return new c(e3); + return new d(e3); } _addResult(e3, t3, i3) { - if (l.ParameterValidator.expectObject(e3, () => s.ParameterInfo.createFunctionParameter(d, "_addResult", "builderObjectViewModel")), r2.default.isUndefined(e3)) return; + if (l.ParameterValidator.expectObject(e3, () => s.ParameterInfo.createFunctionParameter(c, "_addResult", "builderObjectViewModel")), r2.default.isUndefined(e3)) return; let n3; if (e3.isBaseBuilderViewModel) { if (e3.id !== this._builderViewModel.id) return null; @@ -52168,7 +56341,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return r2.default.isUndefined(u2) ? (u2 = new a.default(e3.id, [n3]), this._objectIdsToValidationResults[e3.id] = u2) : u2.addValidationResult(n3), n3; } get className() { - return d; + return c; } get isBuilderValidationResultsOrganizer() { return true; @@ -52247,7 +56420,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }), this._objectIdsToValidationResults = {}; } } - t2.default = c; + t2.default = d; }, 43276: (e2, t2, i2) => { "use strict"; var n2 = i2(61897), r2 = i2(66852), o = i2(48905), a = i2(46894) || 0; @@ -52281,17 +56454,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } t2.default = r2; }, 43278: (e2, t2, i2) => { - const { builderCategoryIds: n2 } = i2(73062), r2 = i2(79904).default, o = i2(81818).default, a = i2(41568).default, s = i2(5532).default, { builderPartIds: l } = i2(69149), u = i2(42290).default, d = i2(16958), c = i2(76486).default, p = i2(22599).default, _ = i2(98114).default, { flowTypes: h } = i2(96618), { globalTypes: m } = i2(14394), g = i2(61864).default, f = i2(96727).default, { literalValidatorNames: T } = i2(47875), { defaultWithNoLabel: y } = i2(93631); + const { builderCategoryIds: n2 } = i2(73062), r2 = i2(79904).default, o = i2(81818).default, a = i2(41568).default, s = i2(5532).default, { builderPartIds: l } = i2(69149), u = i2(42290).default, c = i2(16958), d = i2(76486).default, p = i2(22599).default, _ = i2(98114).default, { flowTypes: h } = i2(96618), { globalTypes: m } = i2(14394), g = i2(61864).default, f = i2(96727).default, { literalValidatorNames: T } = i2(47875), { defaultWithNoLabel: y } = i2(93631); e2.exports = { create: function() { - s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.phoneNumber, description: d.builderParts.boolean.checkDialingCode.description, expressionDefs: [new c({ configureOptionsCallback: (e3) => e3.setDefaultToExpression(true).setDefaultText("ToPhoneNumber(Call.Ani)").setIninTestingField("phoneNumber"), expressionType: m.phoneNumber, label: d.builderParts.boolean.checkDialingCode.expressions.phoneNumber.label }), new c({ configureOptionsCallback: (e3) => e3.setDefaultToExpression(true).setDefaultText("System.Regions.US.dialingCode").setLiteralValidatorName(T.dialingCodes).setIninTestingField("phoneNumber"), expressionType: m.string, label: d.builderParts.boolean.checkDialingCode.expressions.dialingCode.label })], generators: { expressionGenerator: p.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(0).addPropertyAccess("dialingCode").addOperatorEquals().addTokenReplacement(1).addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s), %1$s.dialingCode == %2$s, false)") }, id: l.boolean.checkDialingCode, name: d.builderParts.boolean.checkDialingCode.name, resultExpressionType: m.boolean, restrictToFlowTypeOrTypes: h.flowTypesAllVxmlgen, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.toolbar, description: d.builderParts.boolean.expression.description, expressionDefs: [new c({ configureOptionsCallback: (e3) => e3.setAllowModeExpressionOnly(true).setIninTestingField("booleanExpression"), expressionType: m.boolean, label: d.builderParts.boolean.expression.name })], viewId: y, generators: { expressionGenerator: f.singleTokenReplacementGenerator }, id: l.boolean.expression, icon: g.expression, name: d.builderParts.string.expression.name, resultExpressionType: m.boolean, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.toolbar, description: d.builderParts.boolean.literal.description, expressionDefs: [new c({ configureOptionsCallback: (e3) => { + s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.phoneNumber, description: c.builderParts.boolean.checkDialingCode.description, expressionDefs: [new d({ configureOptionsCallback: (e3) => e3.setDefaultToExpression(true).setDefaultText("ToPhoneNumber(Call.Ani)").setIninTestingField("phoneNumber"), expressionType: m.phoneNumber, label: c.builderParts.boolean.checkDialingCode.expressions.phoneNumber.label }), new d({ configureOptionsCallback: (e3) => e3.setDefaultToExpression(true).setDefaultText("System.Regions.US.dialingCode").setLiteralValidatorName(T.dialingCodes).setIninTestingField("phoneNumber"), expressionType: m.string, label: c.builderParts.boolean.checkDialingCode.expressions.dialingCode.label })], generators: { expressionGenerator: p.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(0).addPropertyAccess("dialingCode").addOperatorEquals().addTokenReplacement(1).addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s), %1$s.dialingCode == %2$s, false)") }, id: l.boolean.checkDialingCode, name: c.builderParts.boolean.checkDialingCode.name, resultExpressionType: m.boolean, restrictToFlowTypeOrTypes: h.flowTypesAllVxmlgen, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.toolbar, description: c.builderParts.boolean.expression.description, expressionDefs: [new d({ configureOptionsCallback: (e3) => e3.setAllowModeExpressionOnly(true).setIninTestingField("booleanExpression"), expressionType: m.boolean, label: c.builderParts.boolean.expression.name })], viewId: y, generators: { expressionGenerator: f.singleTokenReplacementGenerator }, id: l.boolean.expression, icon: g.expression, name: c.builderParts.string.expression.name, resultExpressionType: m.boolean, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.toolbar, description: c.builderParts.boolean.literal.description, expressionDefs: [new d({ configureOptionsCallback: (e3) => { e3.setAllowModeLiteralOnly().setIninTestingField("booleanLiteral"); - }, expressionType: m.boolean, label: d.builderParts.boolean.literal.name })], viewId: y, generators: { expressionGenerator: f.singleTokenReplacementGenerator }, id: l.boolean.literal, icon: g.boolean, name: d.builderParts.boolean.literal.name, resultExpressionType: m.boolean, version: 1 })), s.addBuilderPartContainerDef(new r2({ categoryIdentifierOrIdentifiers: [n2.container, n2.email], description: d.builderParts.container.language.description, generators: { containerPartsGenerator: p.create().addLogicalAndParmGenerationBucket("builder_part", true).verifySprintfStringAndInitialize(""), languageCheckGenerator: p.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("part_generation", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), ") }, id: l.boolean.container.language, name: d.builderParts.container.language.name, resultExpressionType: m.boolean, version: 1, restrictToFlowTypeOrTypes: _.getFlowTypesThatSupportLanguages() })), s.addBuilderPartContainerDef(new o({ categoryIdentifierOrIdentifiers: n2.container, description: d.builderParts.container.languageAndOutputMode.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("booleanValue", true).verifySprintfStringAndInitialize(""), wantContainerPartsGeneratorForSingleton: true }, id: l.boolean.container.languageAndOutputMode, name: d.builderParts.container.languageAndOutputMode.name, restrictToFlowTypeOrTypes: h.flowTypesAllCicero, resultExpressionType: m.boolean, version: 1, wantBucketOnSingleGeneration: true })), s.addBuilderPartContainerDef(new a({ categoryIdentifierOrIdentifiers: n2.container, description: d.builderParts.container.outputMode.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("booleanValue", true).verifySprintfStringAndInitialize(""), wantContainerPartsGeneratorForSingleton: true }, id: l.boolean.container.outputMode, name: d.builderParts.container.outputMode.name, restrictToFlowTypeOrTypes: h.flowTypesAllCicero, resultExpressionType: m.boolean, version: 1 })); + }, expressionType: m.boolean, label: c.builderParts.boolean.literal.name })], viewId: y, generators: { expressionGenerator: f.singleTokenReplacementGenerator }, id: l.boolean.literal, icon: g.boolean, name: c.builderParts.boolean.literal.name, resultExpressionType: m.boolean, version: 1 })), s.addBuilderPartContainerDef(new r2({ categoryIdentifierOrIdentifiers: [n2.container, n2.email], description: c.builderParts.container.language.description, generators: { containerPartsGenerator: p.create().addLogicalAndParmGenerationBucket("builder_part", true).verifySprintfStringAndInitialize(""), languageCheckGenerator: p.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("part_generation", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), ") }, id: l.boolean.container.language, name: c.builderParts.container.language.name, resultExpressionType: m.boolean, version: 1, restrictToFlowTypeOrTypes: _.getFlowTypesThatSupportLanguages() })), s.addBuilderPartContainerDef(new o({ categoryIdentifierOrIdentifiers: n2.container, description: c.builderParts.container.languageAndOutputMode.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("booleanValue", true).verifySprintfStringAndInitialize(""), wantContainerPartsGeneratorForSingleton: true }, id: l.boolean.container.languageAndOutputMode, name: c.builderParts.container.languageAndOutputMode.name, restrictToFlowTypeOrTypes: h.flowTypesAllCicero, resultExpressionType: m.boolean, version: 1, wantBucketOnSingleGeneration: true })), s.addBuilderPartContainerDef(new a({ categoryIdentifierOrIdentifiers: n2.container, description: c.builderParts.container.outputMode.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("booleanValue", true).verifySprintfStringAndInitialize(""), wantContainerPartsGeneratorForSingleton: true }, id: l.boolean.container.outputMode, name: c.builderParts.container.outputMode.name, restrictToFlowTypeOrTypes: h.flowTypesAllCicero, resultExpressionType: m.boolean, version: 1 })); } }; }, 43314: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = i2(96618), s = i2(80428), l = n2.__importDefault(i2(85499)), u = i2(79516), d = i2(75755), c = i2(38725), p = n2.__importStar(i2(36781)), _ = n2.__importStar(i2(34475)), h = (i2(66663), i2(76692)), m = i2(79519), g = n2.__importStar(i2(14187)), f = n2.__importDefault(i2(26519)), T = n2.__importDefault(i2(67829)), y = n2.__importDefault(i2(71824)), S = i2(47957), A = i2(64420), N = i2(69946); - class O extends y.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = i2(96618), s = i2(80428), l = n2.__importDefault(i2(85499)), u = i2(79516), c = i2(75755), d = i2(38725), p = n2.__importStar(i2(36781)), _ = n2.__importStar(i2(34475)), h = (i2(66663), i2(76692)), m = i2(79519), g = n2.__importStar(i2(14187)), f = n2.__importDefault(i2(26519)), T = n2.__importDefault(i2(67829)), y = n2.__importDefault(i2(71824)), S = i2(47957), A = i2(64420), N = i2(69946); + class v extends y.default { constructor(e3) { super(e3), this.errorHandling = new f.default(this), this._addToAutoManageSettings(this.errorHandling), this.workitemFlowSettings = new T.default(this), this._addToAutoManageSettings(this.workitemFlowSettings); } @@ -52345,7 +56518,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super.setReceivedInitialValidationData(), this._worktypeIsInvalid = void 0; const r3 = null === (e3 = this.workitemFlowSettings.worktype) || void 0 === e3 ? void 0 : e3.id; if (!r3) return; - const o2 = c.worktypeManager.getItem(r3); + const o2 = d.worktypeManager.getItem(r3); this._worktypeIsInvalid = !o2 || !o2.resultIsOk, this._worktypeIsInvalid || ((null === (t3 = o2.schemas) || void 0 === t3 ? void 0 : t3.worktype) && o2.schemas.worktype.title && (null === (i3 = o2.schemaInfo) || void 0 === i3 ? void 0 : i3.id) && this._customSchemaNeedsUpdatingInFlowConfig(o2.schemas.worktype.title, o2.schemaInfo.id) && (this.workitemFlowSettings.setCustomFieldsSchemaNameAndId(o2.schemas.worktype.title, o2.schemaInfo.id), this.workitemFlowSettings.worktype.schema = { name: o2.schemas.worktype.title, id: o2.schemaInfo.id, selfUri: _.getPubApiWorktypeCustomAttributeSchemaUrl(o2.schemaInfo.id) }), this._customFieldManager.processValidationSchema(null === (n3 = o2.schemas) || void 0 === n3 ? void 0 : n3.worktype, this.initializeDesignTimeCalled), this._updateStatusesFromWorktype(o2, true), this._updateDateBasedRulesFromWorktype(o2, true)); } _initializeDesignTime() { @@ -52379,7 +56552,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var i3; const n3 = (0, h.buildWorkitemFlowSettingConfig)(e3); if (this.workitemFlowSettings.configureForWorktypeConfig(n3), this._updateStatusesFromWorktype(e3), e3.dateBasedRules && this._updateDateBasedRulesFromWorktype(e3), null === (i3 = e3.schema) || void 0 === i3 ? void 0 : i3.id) { - const t4 = yield d.schemaManager.apiCallSingle(e3.schema.id); + const t4 = yield c.schemaManager.apiCallSingle(e3.schema.id); this._customFieldManager.tryUpdateParentExpressionPropTypeFromSchema(null == t4 ? void 0 : t4.jsonSchema, true); } this.createInitialActionsBasedOnWorktypeConfig = !!t3; @@ -52408,7 +56581,243 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }); } } - t2.default = O; + t2.default = v; + }, 43315: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.importMergedYamlBodyIntoFlowViewModel = function(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (e3.isReadOnly) throw new Error((0, a.readOnlyFlowConfigureFromModelMessage)()); + const n3 = Object.assign({}, t3); + "string" == typeof n3.division && delete n3.division; + const u = e3.wrappedYamlName, c = { [u]: n3 }; + e3.loaded && r2.emitter.emit(r2.cleanUpFlow, e3), e3.tasks && e3.deleteAllTasks(), e3.menus && e3.deleteAllMenus(), e3.loaded = false; + const d = new l.YamlProcessor({ existingFlowViewModel: e3, entityResolver: (0, s.createConfigListEntityResolver)({ flowTypeForListQueries: i3 }), nodeManager: { _getActionTypeMap: () => o.actionDefs } }), p = yield d.process(c); + if (!p.success) { + const e4 = p.errors.map((e5) => e5.message).join("; "); + throw new Error(`Flow YAML import failed: ${e4}`); + } + e3.loaded = true; + }); + }; + const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(62829)), a = i2(14553), s = i2(51319), l = i2(10543); + }, 43330: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ConfigureFromModelContext = t2.ModelFormat = void 0, t2.isConfigureFromModelRecord = y, t2.isConfigureFromModelRecordArray = function(e3) { + return Array.isArray(e3) && e3.every(y); + }, t2.getConfigureFromModelRecords = function(e3, t3, i3) { + if (!Array.isArray(e3)) return; + const n3 = []; + for (let r3 = 0; r3 < e3.length; r3++) { + const o2 = e3[r3]; + y(o2) ? n3.push(o2) : t3 && t3.warn((0, p.sprintf)(_.configureFromModel.expectedObjectAtIndex, i3, r3, Array.isArray(o2) ? "array" : typeof o2)); + } + return n3; + }; + const n2 = i2(31635), r2 = i2(79364), o = i2(65782), a = i2(76565), s = n2.__importStar(i2(12847)), l = i2(50062), u = i2(58642), c = i2(85006), d = i2(6726), p = i2(17604), _ = n2.__importStar(i2(69453)), h = i2(36283), m = i2(36283), g = i2(50474), f = i2(47957); + var T; + function y(e3) { + return (0, g.isNonArrayObject)(e3); + } + !(function(e3) { + e3.FlowYaml = "flowYaml", e3.ChangeSet = "changeSet"; + })(T || (t2.ModelFormat = T = {})), t2.ConfigureFromModelContext = class { + get processingState() { + return this._processingState; + } + get isNotStarted() { + return this._processingState === d.processingState.notStarted; + } + get isProcessing() { + return this._processingState === d.processingState.processing; + } + get isComplete() { + return this._processingState === d.processingState.complete; + } + get isCancelled() { + return this._processingState === d.processingState.cancelled; + } + cancel() { + this._processingState === d.processingState.processing && (this._processingState = d.processingState.cancelled, this.continueProcessing = false); + } + get isPaused() { + return this._paused; + } + pause() { + this._paused = true; + } + resume() { + this._paused = false, this._resumeResolve && (this._resumeResolve(), this._resumeResolve = void 0); + } + waitForResume() { + return this._paused ? new Promise((e3) => { + this._resumeResolve = e3; + }) : Promise.resolve(); + } + setProcessingState(e3) { + this._processingState = e3; + } + get durationSecs() { + if (this.startDateTime && this.endDateTime) return (this.endDateTime.getTime() - this.startDateTime.getTime()) / 1e3; + } + constructor(e3) { + var t3; + this.continueProcessing = true, this._processingState = d.processingState.notStarted, this._paused = false, this._networkLiteralLookupRecords = [], this._lookupEntries = [], this._lookupProgress$ = new r2.ReplaySubject(), this.lookupProgress$ = this._lookupProgress$.asObservable(), this._progress$ = new r2.ReplaySubject(), this.progress$ = this._progress$.asObservable(), this._activity$ = new r2.ReplaySubject(), this.activity$ = this._activity$.asObservable(), this._logger$ = new r2.ReplaySubject(), this.logger$ = this._logger$.asObservable(), this._pathStack = [], this._sourcePathStack = [], this._deferredOps = [], this._messages = [], this._messagesByLevel = /* @__PURE__ */ new Map(), this._autoCreatedVariables = [], this.propertySetCount = 0, this.currentChangeIndex = 0, this._deferSyncPropertySetActivity = false, this._pendingDeferredPropertyActivityByObjectId = /* @__PURE__ */ new Map(), this.entityResolver = e3.entityResolver, this.lookupCache = e3.lookupCache, this.flowType = e3.flowType, this.actionTypeRegistry = e3.actionTypeRegistry, this.settings = e3.settings, this.refIdMap = null !== (t3 = e3.refIdMap) && void 0 !== t3 ? t3 : /* @__PURE__ */ new Map(), this.variableManager = e3.variableManager, this.undoChangeSet = e3.undoChangeSet, this.changeSetResults = new a.ChangeSetResults(); + } + get networkLiteralLookupRecords() { + return this._networkLiteralLookupRecords; + } + recordNetworkLiteralLookup(e3) { + this._networkLiteralLookupRecords.push(e3); + } + get currentPath() { + return 0 === this._pathStack.length ? "/" : "/" + this._pathStack.join("/"); + } + pushPath(e3) { + this._pathStack.push(e3); + } + popPath() { + this._pathStack.pop(); + } + get sourcePath() { + return 0 === this._sourcePathStack.length ? "/" : "/" + this._sourcePathStack.join("/"); + } + pushSourcePath(e3) { + this._sourcePathStack.push(e3); + } + popSourcePath() { + this._sourcePathStack.pop(); + } + registerDeferredOp(e3) { + this._deferredOps.push(e3); + } + get deferredOps() { + return this._deferredOps; + } + get messages() { + return this._messages; + } + addMessage(e3, t3) { + const i3 = { level: e3, displayMessage: t3, contextPath: this.currentPath, sourcePath: this.sourcePath }, n3 = new l.ContextMessage(i3); + this._messages.push(n3); + let r3 = this._messagesByLevel.get(e3); + return r3 || (r3 = [], this._messagesByLevel.set(e3, r3)), r3.push(n3), n3; + } + getMessagesForLogLevel(e3) { + return this._messagesByLevel.get(e3) || []; + } + addErrorMessage(e3) { + const t3 = this.addMessage(c.LogLevel.Error, e3); + return this.error(e3), t3; + } + addWarningMessage(e3) { + const t3 = this.addMessage(c.LogLevel.Warning, e3); + return this.warn(e3), t3; + } + addInfoMessage(e3) { + const t3 = this.addMessage(c.LogLevel.Info, e3); + return this.debug(e3), t3; + } + getErrorCount() { + return this.getMessagesForLogLevel(c.LogLevel.Error).length; + } + getWarningCount() { + return this.getMessagesForLogLevel(c.LogLevel.Warning).length; + } + getInfoCount() { + return this.getMessagesForLogLevel(c.LogLevel.Info).length; + } + hasErrors() { + return this.getErrorCount() > 0; + } + hasWarnings() { + return this.getWarningCount() > 0; + } + hasInfo() { + return this.getInfoCount() > 0; + } + warn(e3) { + const t3 = `[${this.currentPath}] ${e3}`; + s.warn(t3), this._logger$.next({ level: c.LogLevel.Warning, message: t3, contextPath: this.currentPath, metadata: Object.assign(Object.assign(Object.assign(Object.assign({}, "/" !== this.sourcePath ? { sourcePath: this.sourcePath } : {}), this.currentActionContext ? { actionContext: this.currentActionContext } : {}), this.currentPropertyName ? { propertyName: this.currentPropertyName } : {}), { rawMessage: e3 }) }); + } + error(e3) { + const t3 = `[${this.currentPath}] ${e3}`; + s.error(t3), this._logger$.next({ level: c.LogLevel.Error, message: t3, contextPath: this.currentPath, metadata: Object.assign(Object.assign(Object.assign(Object.assign({}, "/" !== this.sourcePath ? { sourcePath: this.sourcePath } : {}), this.currentActionContext ? { actionContext: this.currentActionContext } : {}), this.currentPropertyName ? { propertyName: this.currentPropertyName } : {}), { rawMessage: e3 }) }); + } + debug(e3) { + const t3 = `[${this.currentPath}] ${e3}`; + s.infoHighlight(t3), this._logger$.next({ level: c.LogLevel.Debug, message: t3, contextPath: this.currentPath, metadata: "/" !== this.sourcePath ? { sourcePath: this.sourcePath } : void 0 }); + } + reportProgress(e3) { + this._progress$.next(e3); + } + setDeferSyncPropertySetActivity(e3) { + this._deferSyncPropertySetActivity = e3; + } + consumeDeferSyncPropertySetActivity() { + const e3 = this._deferSyncPropertySetActivity; + return this._deferSyncPropertySetActivity = false, e3; + } + markDeferredPropertyActivity(e3) { + var t3; + this._pendingDeferredPropertyActivityByObjectId.set(e3, (null !== (t3 = this._pendingDeferredPropertyActivityByObjectId.get(e3)) && void 0 !== t3 ? t3 : 0) + 1); + } + completeDeferredPropertyActivity(e3) { + var t3, i3; + const n3 = null !== (t3 = this._pendingDeferredPropertyActivityByObjectId.get(e3)) && void 0 !== t3 ? t3 : 0; + n3 <= 1 ? (this._pendingDeferredPropertyActivityByObjectId.delete(e3), this.reportActivity({ type: "objectFullyResolved", objectId: e3, changeIndex: null !== (i3 = this.currentChangeIndex) && void 0 !== i3 ? i3 : 0 })) : this._pendingDeferredPropertyActivityByObjectId.set(e3, n3 - 1); + } + getPendingDeferredPropertyActivityCount(e3) { + var t3; + return null !== (t3 = this._pendingDeferredPropertyActivityByObjectId.get(e3)) && void 0 !== t3 ? t3 : 0; + } + buildPropertyLookupFailedMessage(e3, t3, i3, n3) { + const r3 = null != n3 ? n3 : "statements" === e3 ? f.updateVariables.updateStatement : e3; + return `${(0, p.sprintf)(_.changeSet.activity.propertyConfigureFailed, r3, t3)} ${i3 === u.entityLookupValueType.identifier ? _.changeSet.activity.entityLookupFailedById : _.changeSet.activity.entityLookupFailedByName}`; + } + buildUpdateStatementLookupFailedMessage(e3, t3, i3) { + return `${(0, p.sprintf)(_.changeSet.activity.updateStatementLookupFailed, String(e3), t3)} ${i3 === u.entityLookupValueType.identifier ? _.changeSet.activity.entityLookupFailedById : _.changeSet.activity.entityLookupFailedByName}`; + } + reportActivity(e3) { + "propertySet" !== e3.type && "variableAutoCreated" !== e3.type || this.propertySetCount++, this._activity$.next(e3); + } + registerAutoCreatedVariable(e3) { + this._autoCreatedVariables.push(e3); + } + getAutoCreatedVariables() { + return this._autoCreatedVariables; + } + getAutoCreatedVariablesForDisplay() { + return (0, o.formatVariableDisplayNames)(this._autoCreatedVariables); + } + get lookupProgress() { + let e3 = 0, t3 = 0, i3 = 0; + const n3 = {}; + for (const r3 of this._lookupEntries) { + const o2 = n3[r3.entityType] || (n3[r3.entityType] = { total: 0, completed: 0, pending: 0, failed: 0 }); + o2.total++, r3.status === m.lookupStatus.pending ? (t3++, o2.pending++) : r3.status === m.lookupStatus.notFound ? (e3++, i3++, o2.completed++, o2.failed++) : (e3++, o2.completed++); + } + return { total: this._lookupEntries.length, completed: e3, pending: t3, failed: i3, byEntityType: n3 }; + } + get lookupEntries() { + return this._lookupEntries; + } + registerLookup(e3, t3, i3) { + const n3 = this._lookupEntries.find((n4) => n4.entityType === e3 && n4.lookupValue === t3 && n4.lookupValueType === i3); + if (n3) return n3; + const r3 = { entityType: e3, lookupValue: t3, lookupValueType: i3, status: m.lookupStatus.pending, targets: [] }; + return this._lookupEntries.push(r3), this.changeSetResults.recordLookupRegistered(e3), this._emitLookupProgress(h.LookupReason.LOOKUP_ADDED, r3), r3; + } + resolveLookup(e3) { + e3.status === m.lookupStatus.pending && (e3.status = m.lookupStatus.found, this.changeSetResults.recordLookupResolved(e3.entityType), this._emitLookupProgress(h.LookupReason.LOOKUP_RESOLVED, e3)); + } + failLookup(e3) { + e3.status === m.lookupStatus.pending && (e3.status = m.lookupStatus.notFound, this.changeSetResults.recordLookupFailed(e3.entityType), this._emitLookupProgress(h.LookupReason.LOOKUP_FAILED, e3)); + } + _emitLookupProgress(e3, t3) { + const i3 = { reason: e3, entityType: t3.entityType, lookupValue: t3.lookupValue, progress: this.lookupProgress }; + this._lookupProgress$.next(i3); + } + }; }, 43346: (e2, t2, i2) => { const n2 = i2(75458), r2 = i2(7401), { promoteExternalContactActionType: o } = i2(30801); function a() { @@ -52470,8 +56879,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 43440: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DivisionType = void 0; - const n2 = i2(31635), r2 = i2(14394), o = i2(71056), a = i2(54251), s = i2(27491), l = n2.__importDefault(i2(22226)), u = i2(80428), d = i2(94765); - class c extends d.ExpressionType { + const n2 = i2(31635), r2 = i2(14394), o = i2(71056), a = i2(54251), s = i2(27491), l = n2.__importDefault(i2(22226)), u = i2(80428), c = i2(94765); + class d extends c.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -52491,7 +56900,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return t3 && this.canConvertLitToExpression(e3) ? `FindDivision(${l.default.getQuotedExpressionStringLiteral(t3)})` : ""; } } - t2.DivisionType = c, c.typeIdentifier = u.expressionTypeNames.division; + t2.DivisionType = d, d.typeIdentifier = u.expressionTypeNames.division; }, 43452: (e2, t2, i2) => { function n2() { n2.baseConstructor.apply(this, arguments); @@ -52593,8 +57002,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.ContactListManager = u, t2.contactListManager = new u(); }, 43629: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = n2.__importStar(i2(35295)), u = n2.__importDefault(i2(51499)), d = i2(79467), c = i2(81516), p = i2(99469), _ = i2(36128), h = n2.__importDefault(i2(27203)), m = i2(57467), g = i2(62902), f = i2(53482), T = n2.__importStar(i2(17498)), y = n2.__importStar(i2(10798)), S = n2.__importDefault(i2(4648)), A = i2(12179), N = n2.__importDefault(i2(97891)), O = i2(28803), I = n2.__importDefault(i2(88391)), v = i2(80428), C = i2(27862), b = i2(47957); - class E extends I.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = i2(69453), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(63824)), u = i2(80428), c = n2.__importStar(i2(35295)), d = n2.__importDefault(i2(51499)), p = i2(79467), _ = i2(81516), h = i2(99469), m = i2(36128), g = n2.__importDefault(i2(27203)), f = i2(57467), T = i2(62902), y = i2(53482), S = n2.__importStar(i2(17498)), A = n2.__importStar(i2(10798)), N = n2.__importDefault(i2(4648)), v = i2(12179), O = n2.__importDefault(i2(97891)), I = i2(1910), C = i2(1910), b = i2(1910), E = i2(28803), w = n2.__importDefault(i2(88391)), R = i2(17604), D = i2(27862), P = i2(47957); + class M extends w.default { constructor(e3, t3) { super(e3, t3); } @@ -52608,16 +57017,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.botIntegration; } static get branchInfo() { - return [h.default.failure]; + return [g.default.failure]; } get botRunnableNetworkGetCall() { - return l.getDigitalBotConnectorBotVersion; + return c.getDigitalBotConnectorBotVersion; } get isDigitalBotConnectorAction() { return true; } static get managedProperties() { - return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: E.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { property: "botVersion", skipNetworkPropertyDependencyUpdate: true, createDetails: O.NetworkBasedActionProperty.createCreateDetails("versionId", "versionName", f.digitalBotConnectorVersionManager, b.botConnector.mustSelectDigitalBotVersion, b.botConnector.digitalBotVersionNotFound, "bot"), yamlOptions: E.createYamlOptions("botVersion", (e3) => e3.setSkipProperty(true)) }, { property: "bot", skipNetworkPropertyDependencyUpdate: true, createDetails: O.NetworkBasedActionProperty.createCreateDetails("botId", "botName", g.digitalBotConnectorManager, b.botConnector.mustSelectDigitalBotName, b.botConnector.digitalBotNameNotFound, "botIntegration"), yamlOptions: E.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "botIntegration", skipNetworkPropertyDependencyUpdate: true, createDetails: O.NetworkBasedActionProperty.createCreateDetails("botIntegrationId", "botIntegrationName", m.digitalBotConnectorIntegrationManager, b.botConnector.mustSelectDigitalBotIntegration, b.botConnector.digitalBotIntegrationNotFound, null), yamlOptions: E.createYamlOptions("botIntegration", (e3) => e3.setSkipProperty(true)) }, { property: "outputs", dataPairListCollection: true, isOutput: true, options: p.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), yamlOptions: E.createYamlOptions("outputs", (e3) => e3.setPropertyName("intents")) }, { label: b.bot.followupResponseTimeoutLabel, type: v.expressionTypeNames.duration, options: d.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationSixHours).setDescriptionInfo(b.bot.followupResponseTimeoutLabel, b.digitalBotConnector.followupResponseTimeoutDescription).setDurationStyle(s.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(a.default.msPerMinute, true).setMaxDur(72 * a.default.msPerHour, true)), yamlOptions: E.createYamlOptions("followupResponseTimeout", (e3) => e3.setExportOrder(2)), property: "followupResponseTimeout" }, { label: b.botConnector.botResponseTimeoutLabel, type: v.expressionTypeNames.duration, options: d.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationThirtySeconds).setDescriptionInfo(b.botConnector.botResponseTimeoutLabel, b.botConnector.botResponseTimeoutDescription).setDurationStyle(s.durationStyles.fullDuration).setIninTestingField("botResponseTimeoutExpression").facets.setMinDur(a.default.msPerSecond, true).setMaxDur(a.default.msPerMinute, true)), yamlOptions: E.createYamlOptions("botResponseTimeout", (e3) => e3.setExportOrder(3)), property: "botResponseTimeout" }, { label: b.botConnector.sessionTimeoutLabel, type: v.expressionTypeNames.duration, options: d.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationTwelveHours).setDescriptionInfo(b.botConnector.sessionTimeoutLabel, b.botConnector.sessionTimeoutDescription).setDurationStyle(s.durationStyles.fullDuration).setIninTestingField("sessionTimeoutExpression").facets.setMinDur(a.default.msPerMinute, true).setMaxDur(72 * a.default.msPerHour, true)), yamlOptions: E.createYamlOptions("sessionTimeout", (e3) => e3.setExportOrder(4)), property: "sessionTimeout" }, { property: "sessionVariables", namedItems: true, isOutput: false, options: _.NameValuePairsOptions.create((e3) => e3.setNameLabel(b.updateVariables.variableName).setValueLabel(b.updateVariables.variableValue).setAllowLiteralModeOnlyOnName(true)), yamlOptions: E.createYamlOptions("sessionVariables", (e3) => e3.setWrappedCollectionItemName("sessionVariable").setExportOrder(5)) }, { property: "outputSessionVariables", namedItems: true, isOutput: true, options: _.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(b.updateVariables.variableName).setValueLabel(b.getAttributes.variableLabel)), yamlOptions: E.createYamlOptions("outputSessionVariables", (e3) => e3.setWrappedCollectionItemName("outputSessionVariable").setNameValuePairShouldUseVariableProperty(true).setExportOrder(6)) }, { label: b.botConnector.inputTextLabel, type: v.expressionTypeNames.string, options: c.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(b.botConnector.inputTextLabel, b.botConnector.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage], options: c.ExpressionTypeStringOptions.create((e3) => e3.setDefaultText(a.default.messageBodyVariable).setDefaultToExpression(true).setIninTestingField("inputTextExpression").setIsOptional(y.isFeatureAvailable(S.default.autoStartConversations)).setDoNotTransitionToNoValue(true)) }], yamlOptions: E.createYamlOptions("inputText", (e3) => e3.setExportOrder(1)), property: "inputText" }]; + return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: M.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { property: "botVersion", skipNetworkPropertyDependencyUpdate: true, createDetails: E.NetworkBasedActionProperty.createCreateDetails("versionId", "versionName", y.digitalBotConnectorVersionManager, P.botConnector.mustSelectDigitalBotVersion, P.botConnector.digitalBotVersionNotFound, "bot"), yamlOptions: M.createYamlOptions("botVersion", (e3) => e3.setSkipProperty(true)) }, { property: "bot", skipNetworkPropertyDependencyUpdate: true, createDetails: E.NetworkBasedActionProperty.createCreateDetails("botId", "botName", T.digitalBotConnectorManager, P.botConnector.mustSelectDigitalBotName, P.botConnector.digitalBotNameNotFound, "botIntegration"), yamlOptions: M.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "botIntegration", skipNetworkPropertyDependencyUpdate: true, createDetails: E.NetworkBasedActionProperty.createCreateDetails("botIntegrationId", "botIntegrationName", f.digitalBotConnectorIntegrationManager, P.botConnector.mustSelectDigitalBotIntegration, P.botConnector.digitalBotIntegrationNotFound, null), yamlOptions: M.createYamlOptions("botIntegration", (e3) => e3.setSkipProperty(true)) }, { property: "outputs", dataPairListCollection: true, isOutput: true, options: h.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), yamlOptions: M.createYamlOptions("outputs", (e3) => e3.setPropertyName("intents")) }, { label: P.bot.followupResponseTimeoutLabel, type: u.expressionTypeNames.duration, options: p.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(s.default.litDurationSixHours).setDescriptionInfo(P.bot.followupResponseTimeoutLabel, P.digitalBotConnector.followupResponseTimeoutDescription).setDurationStyle(l.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(s.default.msPerMinute, true).setMaxDur(72 * s.default.msPerHour, true)), yamlOptions: M.createYamlOptions("followupResponseTimeout", (e3) => e3.setExportOrder(2)), property: "followupResponseTimeout" }, { label: P.botConnector.botResponseTimeoutLabel, type: u.expressionTypeNames.duration, options: p.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(s.default.litDurationThirtySeconds).setDescriptionInfo(P.botConnector.botResponseTimeoutLabel, P.botConnector.botResponseTimeoutDescription).setDurationStyle(l.durationStyles.fullDuration).setIninTestingField("botResponseTimeoutExpression").facets.setMinDur(s.default.msPerSecond, true).setMaxDur(s.default.msPerMinute, true)), yamlOptions: M.createYamlOptions("botResponseTimeout", (e3) => e3.setExportOrder(3)), property: "botResponseTimeout" }, { label: P.botConnector.sessionTimeoutLabel, type: u.expressionTypeNames.duration, options: p.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(s.default.litDurationTwelveHours).setDescriptionInfo(P.botConnector.sessionTimeoutLabel, P.botConnector.sessionTimeoutDescription).setDurationStyle(l.durationStyles.fullDuration).setIninTestingField("sessionTimeoutExpression").facets.setMinDur(s.default.msPerMinute, true).setMaxDur(72 * s.default.msPerHour, true)), yamlOptions: M.createYamlOptions("sessionTimeout", (e3) => e3.setExportOrder(4)), property: "sessionTimeout" }, { property: "sessionVariables", namedItems: true, isOutput: false, options: m.NameValuePairsOptions.create((e3) => e3.setNameLabel(P.updateVariables.variableName).setValueLabel(P.updateVariables.variableValue).setAllowLiteralModeOnlyOnName(true)), yamlOptions: M.createYamlOptions("sessionVariables", (e3) => e3.setWrappedCollectionItemName("sessionVariable").setExportOrder(5)) }, { property: "outputSessionVariables", namedItems: true, isOutput: true, options: m.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(P.updateVariables.variableName).setValueLabel(P.getAttributes.variableLabel)), yamlOptions: M.createYamlOptions("outputSessionVariables", (e3) => e3.setWrappedCollectionItemName("outputSessionVariable").setNameValuePairShouldUseVariableProperty(true).setExportOrder(6)) }, { label: P.botConnector.inputTextLabel, type: u.expressionTypeNames.string, options: _.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(P.botConnector.inputTextLabel, P.botConnector.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage], options: _.ExpressionTypeStringOptions.create((e3) => e3.setDefaultText(s.default.messageBodyVariable).setDefaultToExpression(true).setIninTestingField("inputTextExpression").setIsOptional(A.isFeatureAvailable(N.default.autoStartConversations)).setDoNotTransitionToNoValue(true)) }], yamlOptions: M.createYamlOptions("inputText", (e3) => e3.setExportOrder(1)), property: "inputText" }]; } getDependencyTrackingId() { return this.botCompositeTag; @@ -52639,7 +57048,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; updateBotRunnablePropertyDependency() { var e3; const t3 = this.botRunnableProperty.nameValue || this.botRunnableProperty.idValue; - (null === (e3 = this.botCategoryProperty) || void 0 === e3 ? void 0 : e3.nameValue) && this.botCategoryProperty.idValue && t3 && T.registerConsumer(this, b.botConnector.digitalBotName, this.botCategoryProperty.nameValue, this.getDependencyTrackingId(), t3, C.DigitalBotConnector); + (null === (e3 = this.botCategoryProperty) || void 0 === e3 ? void 0 : e3.nameValue) && this.botCategoryProperty.idValue && t3 && S.registerConsumer(this, P.botConnector.digitalBotName, this.botCategoryProperty.nameValue, this.getDependencyTrackingId(), t3, D.DigitalBotConnector); } postProcessYamlConfig(e3, t3, i3) { if (this.botRunnableProperty.idValue || this.removeYamlExportPropsThatRequireRunnable(e3), !this.botIntegration.nameValue) return; @@ -52652,7 +57061,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.commonBotPostProcessYamlConfig(e3, a2); } getAdditionalParams() { - return new u.default(this.botRunnableManager, { additionalParams: { integrationId: this.botIntegrationProperty.idValue, botId: this.botCategoryProperty.idValue } }); + return new d.default(this.botRunnableManager, { additionalParams: { integrationId: this.botIntegrationProperty.idValue, botId: this.botCategoryProperty.idValue } }); } get supportsInputsOutputs() { return true; @@ -52666,24 +57075,50 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; setBotCategoryByViewModel(e3) { super.setBotCategoryByViewModel(e3); const t3 = this.botIntegrationProperty.configListManager, i3 = this.botCategoryProperty.configListManager; - this.botIntegrationProperty && this.botIntegrationProperty.idValue && T.unRegisterConsumer(this, t3.dependencyContext), this.botCompositeTag = e3 ? e3.botCompositeTag : "", this._setBotIntegrationProperties(e3), this.botCategoryProperty.idValue && i3.addItemToFlowMetadata(this, null, this.botCategoryProperty.idValue); + this.botIntegrationProperty && this.botIntegrationProperty.idValue && S.unRegisterConsumer(this, t3.dependencyContext), this.botCompositeTag = e3 ? e3.botCompositeTag : "", this._setBotIntegrationProperties(e3), this.botCategoryProperty.idValue && i3.addItemToFlowMetadata(this, null, this.botCategoryProperty.idValue); } get yamlNoBotRunnablePropName() { return "noBotIntegration"; } + _configureFromModel(e3, t3, i3) { + if ((0, I.isConfigureFromModelRecord)(e3.botIntegration)) { + const r3 = e3.botIntegration, o2 = Object.keys(r3)[0]; + if (o2) { + const e4 = (0, I.isConfigureFromModelRecord)(r3[o2]) ? r3[o2] : void 0, s2 = e4 ? Object.keys(e4)[0] : void 0, l2 = s2 && e4 && (0, I.isConfigureFromModelRecord)(e4[s2]) ? e4[s2] : void 0, u2 = l2 ? Object.keys(l2)[0] : void 0, c2 = u2 && l2 && (0, I.isConfigureFromModelRecord)(l2[u2]) ? l2[u2] : void 0; + if (o2 && s2 && u2) { + const e5 = t3; + i3.registerDeferredOp({ type: "resolveDigitalBotConnector", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + try { + const t4 = yield (0, b.resolveNamedConfigListEntity)(i3, f.digitalBotConnectorIntegrationManager.dependencyType.value, o2, f.digitalBotConnectorIntegrationManager); + if (!t4) return void i3.warn((0, R.sprintf)(a.configureFromModel.failedToResolve, "digital bot connector integration", o2)); + this.botIntegration.setValue({ id: t4.id, name: o2 }); + const n3 = yield (0, b.resolveNamedConfigListEntity)(i3, T.digitalBotConnectorManager.dependencyType.value, s2, T.digitalBotConnectorManager); + n3 && this.bot.setValue({ id: n3.id, name: s2 }); + const r4 = `${this.botIntegration.idValue}:${this.bot.idValue}:${u2}`, l3 = (0, C.findDependentConfigListItemByName)(y.digitalBotConnectorVersionManager, r4, u2); + l3 ? (this.botVersion.setValue({ id: u2, name: u2 }), this.setBotRunnableByViewModel(l3), (null == c2 ? void 0 : c2.failureOutputs) && this.errorBindings && (i3.currentPropertyName = "failureOutputs", this.errorBindings.configureFromModel(c2.failureOutputs, e5, i3), i3.currentPropertyName = void 0), (null == c2 ? void 0 : c2.intents) && this.outputs && (i3.currentPropertyName = "intents", this.outputs.configureFromModel(c2.intents, e5, i3), i3.currentPropertyName = void 0)) : i3.warn((0, R.sprintf)(a.configureFromModel.failedToResolveFor, "digital bot connector version", u2, "bot", s2)); + } catch (e6) { + const t4 = e6 instanceof Error ? e6.message : String(e6); + i3.warn((0, R.sprintf)(a.configureFromModel.entityResolutionFailed, "digital bot connector", `${o2}/${s2}/${u2}`, t4)); + } + }) }); + } + } + } + super._configureFromModel(e3, t3, i3); + } } - E.info = N.default.createActionInfo({ actionClass: E, canBeInTask: true, canBeTreeNode: false, helpTopic: A.helpTopics.actions.callDigitalBotConnector, modelClass: i2(3211), name: b.actions.digitalBotConnector, scriptingName: "ArchActionCallDigitalBotConnector" }), t2.A = E; + M.info = O.default.createActionInfo({ actionClass: M, canBeInTask: true, canBeTreeNode: false, helpTopic: v.helpTopics.actions.callDigitalBotConnector, modelClass: i2(3211), name: P.actions.digitalBotConnector, scriptingName: "ArchActionCallDigitalBotConnector", modelFormatSupport: { flowYaml: { inProgress: true, feature: N.default.changeSetsFeaturePhase2 } } }), t2.A = M; }, 43693: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(45431)), a = n2.__importDefault(i2(5532)), s = n2.__importDefault(i2(73198)), l = n2.__importDefault(i2(96727)), u = n2.__importDefault(i2(41510)), d = i2(17604), c = i2(55909), p = i2(33951), _ = i2(16958), h = i2(58380), m = i2(47957), g = i2(24032).getTopic("BuilderPartsManager"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(45431)), a = n2.__importDefault(i2(5532)), s = n2.__importDefault(i2(73198)), l = n2.__importDefault(i2(96727)), u = n2.__importDefault(i2(41510)), c = i2(17604), d = i2(55909), p = i2(33951), _ = i2(16958), h = i2(58380), m = i2(47957), g = i2(24032).getTopic("BuilderPartsManager"); class f extends o.default { constructor({ builderViewModel: e3, containerPartViewModel: t3, owningExpression: i3, parentModel: n3, isManagingPartContainers: o2, reId: s2, sortParts: l2 }) { super(i3), super.configureForBuilderViewModel(e3), Object.defineProperties(this, { _parentModel: { value: n3, writable: true, enumerable: false }, _containerPartViewModel: { value: t3, writable: true, enumerable: false }, _isManagingPartContainers: { value: o2, writable: true, enumerable: false }, _partViewModels: { value: [], writable: true, enumerable: false }, _sortPartContainers: { value: l2, writable: true, enumerable: false } }), this._sortPartContainers && !this._isManagingPartContainers && (g.error(`Attempting to enable container sorting on a non-container builder parts manager. Turning sorting off. Manager: ${JSON.stringify(this)}`), this._sortPartContainers = false); const u2 = this._getBuilderModelArray(); r2.default.each(u2, (t4) => { const n4 = (this.isManagingPartContainers ? a.default.getBuilderPartContainerDefById(t4.builderPartDefId) : a.default.getBuilderPartDefById(t4.builderPartDefId)).reviveItem(e3, i3, t4, s2); - this._partViewModels.push(n4), n4.ininTestingField = (0, d.sprintf)("%1$s-%2$s", n4.builderPartDef.id, this._partViewModels.length - 1), h.registerEventSinkForEventEmitter(n4.id, this.builderViewModel); + this._partViewModels.push(n4), n4.ininTestingField = (0, c.sprintf)("%1$s-%2$s", n4.builderPartDef.id, this._partViewModels.length - 1), h.registerEventSinkForEventEmitter(n4.id, this.builderViewModel); }); } _getBuilderModelArray(e3) { @@ -52709,7 +57144,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } const i3 = this._getBuilderModelArray(true); - return -1 === t3 ? (i3.push(e3.builderPartModel), this._partViewModels.push(e3)) : (i3.splice(t3, 0, e3.builderPartModel), this._partViewModels.splice(t3, 0, e3)), e3.ininTestingField = (0, d.sprintf)("%1$s-%2$s", e3.builderPartDef.id, this._partViewModels.length - 1), h.registerEventSinkForEventEmitter(e3.id, this.builderViewModel), this.initializeDesignTimeCalled && (e3.initializeDesignTime(), this.isManagingPartContainers ? this.builderViewModel.builderPartContainerAdded(e3) : this.builderViewModel.builderPartAdded(e3)), this.builderViewModel.postUpdateOwningExpression(s.default.msWaitPartsChanged), e3; + return -1 === t3 ? (i3.push(e3.builderPartModel), this._partViewModels.push(e3)) : (i3.splice(t3, 0, e3.builderPartModel), this._partViewModels.splice(t3, 0, e3)), e3.ininTestingField = (0, c.sprintf)("%1$s-%2$s", e3.builderPartDef.id, this._partViewModels.length - 1), h.registerEventSinkForEventEmitter(e3.id, this.builderViewModel), this.initializeDesignTimeCalled && (e3.initializeDesignTime(), this.isManagingPartContainers ? this.builderViewModel.builderPartContainerAdded(e3) : this.builderViewModel.builderPartAdded(e3)), this.builderViewModel.postUpdateOwningExpression(s.default.msWaitPartsChanged), e3; } get errorParent() { return this.parentIsContainerPart ? this.parentContainerPart : this.builderViewModel; @@ -52735,19 +57170,19 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; n3.validateBuilderObject(e3, t3) || (i3 = false); }), this.partsValidForProcessing) { if (this.hasMinBuilderPartCount && this._partViewModels.length < this.minBuilderPartCount) { - const t4 = 1 === this.minBuilderPartCount ? m.builders.minPartsOne : (0, d.sprintf)(m.builders.minPartsMoreThanOne, this.minBuilderPartCount); + const t4 = 1 === this.minBuilderPartCount ? m.builders.minPartsOne : (0, c.sprintf)(m.builders.minPartsMoreThanOne, this.minBuilderPartCount); e3.addError(this.errorParent, t4); } else if (this.warnOnNoParts && 0 === this._partViewModels.length) { let t4; const i4 = this.builderDef.getNoPartsGenerator(); if (i4) { let e4 = i4.generationDescription; - r2.default.isUndefined(e4) && (e4 = i4.sprintfString), t4 = (0, d.sprintf)(u.default.builder.noPartsWithGeneratorFormat, m.builders.minPartsWarning, this.builderViewModel.supportsLanguageContainersOnly ? (0, d.sprintf)(m.builders.generation.noPartsInSequence, e4) : (0, d.sprintf)(m.builders.generation.noParts, e4)); + r2.default.isUndefined(e4) && (e4 = i4.sprintfString), t4 = (0, c.sprintf)(u.default.builder.noPartsWithGeneratorFormat, m.builders.minPartsWarning, this.builderViewModel.supportsLanguageContainersOnly ? (0, c.sprintf)(m.builders.generation.noPartsInSequence, e4) : (0, c.sprintf)(m.builders.generation.noParts, e4)); } else t4 = m.builders.minPartsWarning; e3.addWarning(this.errorParent, t4); } if (this.hasMaxBuilderPartCount && this._partViewModels.length > this.maxBuilderPartCount) { - const t4 = 1 === this.maxBuilderPartCount ? m.builders.maxPartsOne : (0, d.sprintf)(m.builders.maxPartsMoreThanOne, this.maxBuilderPartCount); + const t4 = 1 === this.maxBuilderPartCount ? m.builders.maxPartsOne : (0, c.sprintf)(m.builders.maxPartsMoreThanOne, this.maxBuilderPartCount); e3.addError(this.errorParent, t4); } } @@ -52821,7 +57256,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return t3; } _deletePartAtIndex(e3, t3) { - p.ParameterValidator.expectInt(e3, () => c.ParameterInfo.createFunctionParameter(this.className, "deletePartAtIndex", "indexToDelete")); + p.ParameterValidator.expectInt(e3, () => d.ParameterInfo.createFunctionParameter(this.className, "deletePartAtIndex", "indexToDelete")); const i3 = this.parts.splice(e3, 1); if (i3) try { this._getBuilderModelArray().splice(e3, 1); @@ -52885,7 +57320,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; case 1: return this._partViewModels[0].builderPartDef.name; default: - return (0, d.sprintf)(_.builders.shared.details.builderPartsMoreThanOne, t3); + return (0, c.sprintf)(_.builders.shared.details.builderPartsMoreThanOne, t3); } } getExpressionDetailParts(e3) { @@ -52910,7 +57345,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return -1 === t3 ? -1 : this.movePartDownAtIndex(t3); } movePartDownAtIndex(e3) { - return p.ParameterValidator.expectInt(e3, () => c.ParameterInfo.createPropertySet(this.className, "movePartDownAtIndex", "indexToMoveDown")), this._swapPartsAtIndex(e3, e3 + 1) ? e3 + 1 : -1; + return p.ParameterValidator.expectInt(e3, () => d.ParameterInfo.createPropertySet(this.className, "movePartDownAtIndex", "indexToMoveDown")), this._swapPartsAtIndex(e3, e3 + 1) ? e3 + 1 : -1; } get parentIsContainerPart() { return !r2.default.isUndefined(this._containerPartViewModel); @@ -52929,7 +57364,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return -1 === t3 ? -1 : this.movePartUpAtIndex(t3); } movePartUpAtIndex(e3) { - return p.ParameterValidator.expectInt(e3, () => c.ParameterInfo.createPropertySet(this.className, "movePartUpAtIndex", "movePartUpAtIndex")), this._swapPartsAtIndex(e3, e3 - 1) ? e3 - 1 : -1; + return p.ParameterValidator.expectInt(e3, () => d.ParameterInfo.createPropertySet(this.className, "movePartUpAtIndex", "movePartUpAtIndex")), this._swapPartsAtIndex(e3, e3 - 1) ? e3 - 1 : -1; } createAndAddPartFromBuilderPartDef(e3, t3) { if (this.isManagingPartContainers || !this.builderDef.hasMaxBuilderPartCount || this.parts.length < this.builderDef.maxBuilderPartCount) return this._addPart(e3.createBuilderPartViewModel(this.builderViewModel, this.owningExpression, t3)); @@ -52999,7 +57434,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }.bind(this)); } setPartsOutOfServiceValue(e3) { - p.ParameterValidator.expectBool(e3, () => c.ParameterInfo.createFunctionParameter(this.className, "setOutOfServiceValue", "outOfServiceValue")), r2.default.each(this._partViewModels, (t3) => { + p.ParameterValidator.expectBool(e3, () => d.ParameterInfo.createFunctionParameter(this.className, "setOutOfServiceValue", "outOfServiceValue")), r2.default.each(this._partViewModels, (t3) => { t3.outOfService = e3; }); } @@ -53050,6 +57485,31 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }) : void 0; }; const n2 = i2(31635).__importDefault(i2(92140)); + }, 43927: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(15453)), r2 = i2(30801); + class o extends n2.default { + constructor(e3) { + super(e3), this._currentIndex = this.coreFactory.createArchValueFromExpression(e3.currentIndex), this._voiceEndOfInputTimeout = this.coreFactory.createArchWrapper(e3.voiceEndOfInputTimeout); + } + get _actionTypeId() { + return r2.agenticAnythingElseActionType; + } + get currentIndex() { + return this._currentIndex; + } + get voiceEndOfInputTimeout() { + return this._voiceEndOfInputTimeout; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionAgenticAnythingElse() { + return true; + } + } + t2.default = o; }, 43933: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -53084,6 +57544,62 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } t2.default = a, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "id", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "name", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "description", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], a.prototype, "languages", null); + }, 44018: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ParsedDecimal = void 0; + class i2 { + constructor(e3, t3, i3, n2) { + this.valueStr = e3, this.significantDigits = t3, this.decimalPlaces = i3, this.value = n2; + } + static fromValidatedParts(e3, t3, n2) { + return new i2(e3, t3, n2, i2.decimalStringToScaledBigInt(e3)); + } + static decimalStringToScaledBigInt(e3) { + let t3 = e3.trim(), i3 = false; + "-" === t3[0] && (i3 = true, t3 = t3.slice(1)); + const n2 = t3.replace(".", ""), r2 = BigInt("" === n2 ? "0" : n2), o = BigInt(0); + return r2 === o ? o : i3 ? -r2 : r2; + } + compareTo(e3) { + if (null == e3) return; + const t3 = BigInt(0), n2 = this.value < t3, r2 = e3.value < t3; + if (n2 !== r2) return n2 ? -1 : 1; + const o = Math.max(this.decimalPlaces, e3.decimalPlaces), a = n2 ? -this.value : this.value, s = r2 ? -e3.value : e3.value, l = a * i2.pow10(o - this.decimalPlaces), u = s * i2.pow10(o - e3.decimalPlaces); + if (l === u) return 0; + const c = l < u ? -1 : 1; + return n2 ? -1 === c ? 1 : -1 : c; + } + static pow10(e3) { + const t3 = BigInt(10); + let i3 = BigInt(1); + for (let n2 = 0; n2 < e3; n2++) i3 *= t3; + return i3; + } + isGreaterThan(e3) { + const t3 = this.compareTo(e3); + return void 0 !== t3 && t3 > 0; + } + isLessThan(e3) { + const t3 = this.compareTo(e3); + return void 0 !== t3 && t3 < 0; + } + isGreaterThanOrEqualTo(e3) { + const t3 = this.compareTo(e3); + return void 0 !== t3 && t3 >= 0; + } + isLessThanOrEqualTo(e3) { + const t3 = this.compareTo(e3); + return void 0 !== t3 && t3 <= 0; + } + equals(e3) { + const t3 = this.compareTo(e3); + return void 0 !== t3 && 0 === t3; + } + notEquals(e3) { + return !this.equals(e3); + } + } + t2.ParsedDecimal = i2; }, 44023: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeDateOptions = void 0; @@ -53152,7 +57668,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 44035: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importStar(i2(69453)), s = i2(80428), l = n2.__importDefault(i2(88557)), u = i2(81516), d = i2(82632), c = i2(12179), p = (n2.__importDefault(i2(41510)), n2.__importDefault(i2(20084))), _ = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importStar(i2(69453)), s = i2(80428), l = n2.__importDefault(i2(88557)), u = i2(81516), c = i2(82632), d = i2(12179), p = (n2.__importDefault(i2(41510)), n2.__importDefault(i2(20084))), _ = i2(47957); class h extends p.default { constructor(e3) { super(e3, "emailSendSettings", l.default); @@ -53167,11 +57683,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return "EmailSendSettingsViewModel"; } get helpTopic() { - return c.helpTopics.treeNodes.emailSendSettings; + return d.helpTopics.treeNodes.emailSendSettings; } get isEmailSendSettingsNode() { return true; } + get wrappedYamlName() { + return "settingsEmailSend"; + } get nodeGuxIcon() { return "fa/gears-regular"; } @@ -53180,7 +57699,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return (null === (e3 = _.emailSendFlow) || void 0 === e3 ? void 0 : e3.emailSendSettingsTreeNodeLabel) || "Email Send"; } static get managedProperties() { - return [{ label: _.actions.abortSendMessageSettingDefaultLabel, options: u.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(_.actions.abortSendMessageSettingDefaultLabel, (0, o.sprintf)(a.emailSend.settings.defaultAbortSendMessageDescription, _.actions.abortSend)).setIninTestingField("defaultAbortMessage").setAllowModeLiteralOnly().setIsOptional(false).facets.setMinLength(d.abortSend.message.minLength).setMaxLength(d.abortSend.message.maxLength).setTruncatesToMaxLength(true)), property: "defaultAbortMessage", supportedFlowTypes: [r2.flowTypes.flowTypeEmailSend], type: s.expressionTypeNames.string }]; + return [{ label: _.actions.abortSendMessageSettingDefaultLabel, options: u.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(_.actions.abortSendMessageSettingDefaultLabel, (0, o.sprintf)(a.emailSend.settings.defaultAbortSendMessageDescription, _.actions.abortSend)).setIninTestingField("defaultAbortMessage").setAllowModeLiteralOnly().setIsOptional(false).facets.setMinLength(c.abortSend.message.minLength).setMaxLength(c.abortSend.message.maxLength).setTruncatesToMaxLength(true)), property: "defaultAbortMessage", supportedFlowTypes: [r2.flowTypes.flowTypeEmailSend], type: s.expressionTypeNames.string }]; } setNewInstanceDefaults() { super.setNewInstanceDefaults(); @@ -53781,19 +58300,19 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const i4 = e3.expression.options.getModeNoValueRuntimeEvaluationStr(e3.expression); return i4 && L(e3, i4), e3.expression.isAudioExpression && t4.isNoValueMode ? e3.resultExpression = g.expressionItems.emp(e3.expression.type, e3.expression.options) : e3.resultExpression = g.expressionItems.empOrEnf(e3.expression.type, e3.expression.options), void (e3.success = true); } - return x(e3, w.expression.notSet), void (e3.success = false); + return x(e3, R.expression.notSet), void (e3.success = false); } - return x(e3, w.audio.blankAudioExpression), void (e3.success = false); + return x(e3, R.audio.blankAudioExpression), void (e3.success = false); } - return e3.success = false, void x(e3, w.expression.notSet); + return e3.success = false, void x(e3, R.expression.notSet); } - if (e3.expression.text && e3.expression.text.length > e3._maxExpressionSize) return e3.expression.consumesSecureData = false, void x(e3, (0, o.sprintf)(w.expression.expressionLengthToLong, e3.expression.text.length, e3._maxExpressionSize)); + if (e3.expression.text && e3.expression.text.length > e3._maxExpressionSize) return e3.expression.consumesSecureData = false, void x(e3, (0, o.sprintf)(R.expression.expressionLengthToLong, e3.expression.text.length, e3._maxExpressionSize)); const t3 = e3.expression.text, i3 = (function(e4) { const t4 = new N.runtime.ANTLRStringStream(e4), i4 = new E(t4); return i4.displayRecognitionError = function(e5, t5) { }, i4; })(t3), n3 = (function(e4, t4) { - const i4 = new N.runtime.CommonTokenStream(e4), n4 = new R(i4); + const i4 = new N.runtime.CommonTokenStream(e4), n4 = new w(i4); return n4.displayRecognitionError = function(i5, n5) { U(e4, t4); }, n4; @@ -53811,32 +58330,32 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } })(e4, t4); - const d2 = i4.designerexpression(), c2 = (function(e5, t5) { + const c2 = i4.designerexpression(), d2 = (function(e5, t5) { const i5 = e5.getStop(); if (!i5) return !(!e5.tree || -1 !== e5.tree.startIndex) && (t5 ? t5.length - t5.trim().length + 1 : 1); let n5 = i5.getStopIndex(); return !(n5 < 0) && (n5++, !(n5 >= t5.trim().length) && n5 + 1); - })(d2, t4); - if (c2) return V(e4, c2); - const p2 = d2.getTree(); + })(c2, t4); + if (d2) return V(e4, d2); + const p2 = c2.getTree(); if (i4.getNumberOfSyntaxErrors() > 0) return V(e4, U(n4, e4._lineExtents)); if (e4._languagesSnapshot = e4.languages, e4._rootItem = g.expressionItems.root(), !J(e4, p2, [e4._rootItem], true)) return false; - if (e4._parens.length > 0) return x(e4, (0, o.sprintf)(w.expression.missingCloseParenAtPosition, e4._parens[e4._parens.length - 1]), e4._parens[e4._parens.length - 1]), false; - if (e4._brackets.length > 0) return x(e4, (0, o.sprintf)(w.expression.missingCloseBracketAtPosition, e4._brackets[e4._brackets.length - 1]), e4._brackets[e4._brackets.length - 1]), false; + if (e4._parens.length > 0) return x(e4, (0, o.sprintf)(R.expression.missingCloseParenAtPosition, e4._parens[e4._parens.length - 1]), e4._parens[e4._parens.length - 1]), false; + if (e4._brackets.length > 0) return x(e4, (0, o.sprintf)(R.expression.missingCloseBracketAtPosition, e4._brackets[e4._brackets.length - 1]), e4._brackets[e4._brackets.length - 1]), false; if (e4.resultExpression = e4._rootItem.getOperands()[0], !Y(0, e4, e4.resultExpression, false, true)) return false; if (!e4.expression.originalType || e4.expression.type === e4.expression.originalType || e4.expression.isCollectionExpression || e4.expression.type.isCustomType || (e4.expression.type = e4.expression.originalType), null === (r3 = e4.expression.options) || void 0 === r3 ? void 0 : r3.exprTextMustBeVarOrVarPropRef) if (e4.expression.options.exprTextRootVariableNameMustBe) { - if (!e4.resultExpression.getIsNamedVariableRef(e4.expression.options.exprTextRootVariableNameMustBe)) return x(e4, (0, o.sprintf)(w.expression.mustReferenceVariable, e4.expression.options.exprTextRootVariableNameMustBe)), false; + if (!e4.resultExpression.getIsNamedVariableRef(e4.expression.options.exprTextRootVariableNameMustBe)) return x(e4, (0, o.sprintf)(R.expression.mustReferenceVariable, e4.expression.options.exprTextRootVariableNameMustBe)), false; } else { - if (!e4.resultExpression.isVariableRef) return x(e4, w.expression.mustBeVariableReference), false; + if (!e4.resultExpression.isVariableRef) return x(e4, R.expression.mustBeVariableReference), false; { const t5 = e4.resultExpression.getVariableNameIfRef(), i5 = t5 && (null === (l2 = e4.expression.parentFlow) || void 0 === l2 ? void 0 : l2.variableGroup.getVariableByName(t5, e4.expression.getParentTask())); - if (e4.expression.options.isOutput && (null == i5 ? void 0 : i5.isReadOnly) && !e4.expression.options.outputExprTextAllowsReadOnlyVarType) return x(e4, (0, o.sprintf)(w.expression.variableIsReadOnly, t5)), false; + if (e4.expression.options.isOutput && (null == i5 ? void 0 : i5.isReadOnly) && !e4.expression.options.outputExprTextAllowsReadOnlyVarType) return x(e4, (0, o.sprintf)(R.expression.variableIsReadOnly, t5)), false; } } if ((null === (u2 = e4.expression.options) || void 0 === u2 ? void 0 : u2.isOutput) && e4.properties && e4.properties.some((e5) => { var t5; return 0 === e5.depth && (null === (t5 = e5.type) || void 0 === t5 ? void 0 : t5.isCustomType); - })) return x(e4, (0, o.sprintf)(w.expression.variableIsReadOnly, e4.expression.text)), false; + })) return x(e4, (0, o.sprintf)(R.expression.variableIsReadOnly, e4.expression.text)), false; if (!(function(e5) { const t5 = e5.expression.type; if (!t5 || !e5.resultExpression) return true; @@ -53850,9 +58369,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (e5.resultExpression.isNotSet && !t5.isCollection && (!e5.expression.options || !e5.expression.options.usedAsReplacementValueInOtherExpressions)) return e5.resultExpression.type = t5, true; if (e5.expression.type.isAny) return e5.expression.type = e5.resultExpression._type, true; let i5, n5; - return e5.expression.options && e5.expression.options.exprTextMustBeVarOrVarPropRef || (i5 = g.expressionItems.conversionFuncWrapper(e5.resultExpression, t5), !i5 || (n5 = e5.resultExpression.type, e5.resultExpression = i5, !Y(0, e5, e5.resultExpression, true))) ? (i5 ? x(e5, (0, o.sprintf)(w.expression.cannotConvertInputTypeWithFunction, n5.displayString, t5.displayString, i5.getTextWithFuncOpTextFallback())) : g.expressionItems.isCollectionCreatableFromMakeList(e5.resultExpression, t5) ? x(e5, (0, o.sprintf)(w.expression.suggestMakeListForCollectionCreation, e5.resultExpression.type.displayString, t5.displayString, e5.resultExpression.text)) : x(e5, (0, o.sprintf)(w.expression.cannotConvertInputType, e5.resultExpression.type.displayString, t5.displayString)), false) : (L(e5, (0, o.sprintf)(w.expression.functions.implicitCastAdded, i5.rootText, n5.displayString, t5.displayString), void 0, i5.rootText), e5.implicitCastAdded = true, e5.fixes = [(0, s.createFixImplicitCast)(n5, t5, i5.rootText, e5.expression.text)], e5.implicitCastFunction = i5.rootText, true); + return e5.expression.options && e5.expression.options.exprTextMustBeVarOrVarPropRef || (i5 = g.expressionItems.conversionFuncWrapper(e5.resultExpression, t5), !i5 || (n5 = e5.resultExpression.type, e5.resultExpression = i5, !Y(0, e5, e5.resultExpression, true))) ? (i5 ? x(e5, (0, o.sprintf)(R.expression.cannotConvertInputTypeWithFunction, n5.displayString, t5.displayString, i5.getTextWithFuncOpTextFallback())) : g.expressionItems.isCollectionCreatableFromMakeList(e5.resultExpression, t5) ? x(e5, (0, o.sprintf)(R.expression.suggestMakeListForCollectionCreation, e5.resultExpression.type.displayString, t5.displayString, e5.resultExpression.text)) : x(e5, (0, o.sprintf)(R.expression.cannotConvertInputType, e5.resultExpression.type.displayString, t5.displayString)), false) : (L(e5, (0, o.sprintf)(R.expression.functions.implicitCastAdded, i5.rootText, n5.displayString, t5.displayString), void 0, i5.rootText), e5.implicitCastAdded = true, e5.fixes = [(0, s.createFixImplicitCast)(n5, t5, i5.rootText, e5.expression.text)], e5.implicitCastFunction = i5.rootText, true); })(e4)) return false; - if (e4.resultExpression.isTypeNotSet) return x(e4, w.expression.expressionIsNotSetType), false; + if (e4.resultExpression.isTypeNotSet) return x(e4, R.expression.expressionIsNotSetType), false; if (e4.expression.options && e4.expression.options.facets) { const t5 = e4.expression.options.facets.validateExpressionItem(e4.resultExpression, e4); if (!t5.isValid) return x(e4, t5.message), false; @@ -53881,13 +58400,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; })(e4), true; })(e3, t3, n3, i3), e3.success ? (e3.resultExpression.updateExprText(), e3.resultExpression.finishForOutput(), e3.expression.consumesSecureData = e3.consumesSecureData) : e3.expression.consumesSecureData = false; } catch (t4) { - console.error(t4), e3.success = false, e3.expression.consumesSecureData = false, x(e3, w.expression.internalErrorExpression); + console.error(t4), e3.success = false, e3.expression.consumesSecureData = false, x(e3, R.expression.internalErrorExpression); } !(function(e4, t4) { e4.displayRecognitionError = null, t4.displayRecognitionError = null; })(i3, n3); }; - const n2 = i2(31635), r2 = (0, i2(24032).getTopic)("parsedExpression"), o = i2(17604), a = n2.__importDefault(i2(92140)), s = (n2.__importStar(i2(12847)), i2(34630)), l = n2.__importDefault(i2(98114)), u = n2.__importStar(i2(85705)), d = n2.__importStar(i2(66381)), c = n2.__importStar(i2(98442)), p = i2(12179), _ = (i2(50474), n2.__importDefault(i2(73198))), h = n2.__importStar(i2(33653)), m = i2(27491), g = i2(98552), f = n2.__importStar(i2(9345)), T = i2(71615), y = i2(14394), S = i2(2899), A = i2(26403), N = i2(40810), O = i2(92669), I = i2(19819), v = i2(19502), C = i2(88276), b = i2(4059), E = i2(44051), R = i2(36470), w = i2(47957); + const n2 = i2(31635), r2 = (0, i2(24032).getTopic)("parsedExpression"), o = i2(17604), a = n2.__importDefault(i2(92140)), s = (n2.__importStar(i2(12847)), i2(34630)), l = n2.__importDefault(i2(98114)), u = n2.__importStar(i2(85705)), c = n2.__importStar(i2(66381)), d = n2.__importStar(i2(98442)), p = i2(12179), _ = (i2(50474), n2.__importDefault(i2(73198))), h = n2.__importStar(i2(33653)), m = i2(27491), g = i2(98552), f = n2.__importStar(i2(9345)), T = i2(71615), y = i2(14394), S = i2(2899), A = i2(26403), N = i2(40810), v = i2(92669), O = i2(19819), I = i2(19502), C = i2(88276), b = i2(4059), E = i2(44051), w = i2(36470), R = i2(47957); function D(e3, t3, i3) { t3.getOperands().push(i3); } @@ -53916,7 +58435,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; F(e3, A.ParseResultTypes.warn, t3, i3, n3, r3); } function V(e3, t3) { - return x(e3, (0, o.sprintf)(w.expression.errorAtPosition, t3), t3, null, null, true), false; + return x(e3, (0, o.sprintf)(R.expression.errorAtPosition, t3), t3, null, null, true), false; } function U(e3, t3) { return e3 ? t3[e3.getLine()] + e3.getCharPositionInLine() + 1 : -1; @@ -53930,17 +58449,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; switch (i3.getType()) { case E.INTEGER: if (g.expressionItems.checkIntStr(n3)) return g.expressionItems.literal(r3, n3, y.globalTypes.integer); - x(e3, (0, o.sprintf)(w.expression.intValueLessThanMin, n3, r3, _.default.minInt), r3); + x(e3, (0, o.sprintf)(R.expression.intValueLessThanMin, n3, r3, _.default.minInt), r3); break; case E.DECIMAL: if (g.expressionItems.checkDecimalStr(n3)) return g.expressionItems.literal(r3, n3, y.globalTypes.decimal); - x(e3, (0, o.sprintf)(w.expression.decimalValueTooMuchPrecision, n3, r3, _.default.maxPrecision), r3); + x(e3, (0, o.sprintf)(R.expression.decimalValueTooMuchPrecision, n3, r3, _.default.maxPrecision), r3); } } return null; } function j(e3, t3, i3, n3, r3) { - if (n3.isUnavailable) return x(e3, (0, o.sprintf)(w.expression.unavailablePropertyInExprText, (0, o.sprintf)(w.expression.functions.funcOpPosPrefix, t3, i3), n3.name), i3), false; + if (n3.isUnavailable) return x(e3, (0, o.sprintf)(R.expression.unavailablePropertyInExprText, (0, o.sprintf)(R.expression.functions.funcOpPosPrefix, t3, i3), n3.name), i3), false; if (!n3.usageValidation) return true; if ("supportedLanguageContexts" === n3.usageValidation) return (function(e4, t4, i4, n4, r4) { if (0 === e4._languagesSnapshot.length) return true; @@ -53949,8 +58468,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return !e5.supportedLanguageContexts || !e5.supportedLanguageContexts[n4.id]; }); if (s2.length > 0) { - const l2 = s2.length > 1 ? w.expression.functions.propertyEnumUsageNotSupportedInLanguages : w.expression.functions.propertyEnumUsageNotSupportedInLanguage, u2 = d.getListDisplayString(a.default.map(s2, function(e5) { - return c.getLanguageNameAndCodeDisplay(e5.id); + const l2 = s2.length > 1 ? R.expression.functions.propertyEnumUsageNotSupportedInLanguages : R.expression.functions.propertyEnumUsageNotSupportedInLanguage, u2 = c.getListDisplayString(a.default.map(s2, function(e5) { + return d.getLanguageNameAndCodeDisplay(e5.id); })); return x(e4, (0, o.sprintf)(l2, t4 || n4.name, t4 ? i4 : r4, u2), t4 ? i4 : r4), false; } @@ -53965,27 +58484,27 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var n3, s2; const l2 = t3.length; if (!t3 || l2 < 2) return null; - let c2 = t3[0].getText() + t3[1].getText(); - const _2 = e3.expression.addVariableOrPromptReference(c2); + let d2 = t3[0].getText() + t3[1].getText(); + const _2 = e3.expression.addVariableOrPromptReference(d2); if (!_2) return null; - if (_2.isPromptContainer && !_2.type.isAvailableForFlow(e3.expression.parentFlow)) return x(e3, (0, o.sprintf)(w.expression.variableReferenceNotValidInvalidType, (0, o.sprintf)(w.expression.functions.funcOpPosPrefix, c2, i3), y.globalTypes.prompt.displayString, d.getFlowTypesDisplayString([null === (n3 = e3.expression.parentFlow) || void 0 === n3 ? void 0 : n3.type])), i3), null; - if (_2.isUnavailable) return x(e3, (0, o.sprintf)(w.expression.unavailableVariableInExprText, (0, o.sprintf)(w.expression.functions.funcOpPosPrefix, c2, i3)), i3), null; - if (_2.isSecure && e3.expression.options && !e3.expression.options.allowSecure) return x(e3, (0, o.sprintf)(w.expression.secureCannotBeRead, w.actions.extractSecureData, c2), i3), null; + if (_2.isPromptContainer && !_2.type.isAvailableForFlow(e3.expression.parentFlow)) return x(e3, (0, o.sprintf)(R.expression.variableReferenceNotValidInvalidType, (0, o.sprintf)(R.expression.functions.funcOpPosPrefix, d2, i3), y.globalTypes.prompt.displayString, c.getFlowTypesDisplayString([null === (n3 = e3.expression.parentFlow) || void 0 === n3 ? void 0 : n3.type])), i3), null; + if (_2.isUnavailable) return x(e3, (0, o.sprintf)(R.expression.unavailableVariableInExprText, (0, o.sprintf)(R.expression.functions.funcOpPosPrefix, d2, i3)), i3), null; + if (_2.isSecure && e3.expression.options && !e3.expression.options.allowSecure) return x(e3, (0, o.sprintf)(R.expression.secureCannotBeRead, R.actions.extractSecureData, d2), i3), null; if (_2.isSecure && (e3.consumesSecureData = true), _2.isInternal && !e3.expression.isInternal) return null; - if (_2.getIsDeprecatedNameMatch && _2.getIsDeprecatedNameMatch(c2) && L(e3, (0, o.sprintf)(w.expression.deprecatedVariableName, c2, _2.name), i3, null, p.helpTopics.deprecatedVariableUsages), _2.isPromptContainer && !_2.isMissingAudioOrTtsForLanguages(e3.parentFlow, e3.languages, e3.expression)) return x(e3, e3.expression.getPromptMissingResourcesErrorString(_2), i3), null; + if (_2.getIsDeprecatedNameMatch && _2.getIsDeprecatedNameMatch(d2) && L(e3, (0, o.sprintf)(R.expression.deprecatedVariableName, d2, _2.name), i3, null, p.helpTopics.deprecatedVariableUsages), _2.isPromptContainer && !_2.isMissingAudioOrTtsForLanguages(e3.parentFlow, e3.languages, e3.expression)) return x(e3, e3.expression.getPromptMissingResourcesErrorString(_2), i3), null; if (e3.expression.options && e3.expression.options.restrictToFlowGlobalVariables && !_2.isGlobalVariable) { const t4 = []; return a.default.each(e3.expression.parentFlow.availableVariableScopes, (e4) => { t4.push(`'${e4}.'`); - }), x(e3, `The variable reference '${_2.name}' is not valid because '${_2.scope}.' variables cannot be referenced in expression text on the '${e3.expression.label}' setting. This restriction will be removed later but in the meantime it is valid to reference these variables in expression text: ${d.getListDisplayString(t4, false, true)}`, i3), null; + }), x(e3, `The variable reference '${_2.name}' is not valid because '${_2.scope}.' variables cannot be referenced in expression text on the '${e3.expression.label}' setting. This restriction will be removed later but in the meantime it is valid to reference these variables in expression text: ${c.getListDisplayString(t4, false, true)}`, i3), null; } - if ((null === (s2 = e3.expression.options) || void 0 === s2 ? void 0 : s2.validVariableReferenceCallback) && !e3.expression.options.validVariableReferenceCallback(_2, e3.expression)) return x(e3, (0, o.sprintf)(w.expression.variableReferenceNotValid, _2.name, i3), i3), null; - if (e3.expression.isOutput && !e3.expression.options.exprTextMustBeVarOrVarPropRef && _2.isReadOnly && !e3.expression.options.outputExprTextAllowsReadOnlyVarType && !e3.expression.type.isMatch(_2.type, f.settings.exact)) return x(e3, (0, o.sprintf)(w.expression.variableIsReadOnly, c2), i3), null; - let h2, m2 = g.expressionItems.reference(i3, _2, c2), T2 = 2; + if ((null === (s2 = e3.expression.options) || void 0 === s2 ? void 0 : s2.validVariableReferenceCallback) && !e3.expression.options.validVariableReferenceCallback(_2, e3.expression)) return x(e3, (0, o.sprintf)(R.expression.variableReferenceNotValid, _2.name, i3), i3), null; + if (e3.expression.isOutput && !e3.expression.options.exprTextMustBeVarOrVarPropRef && _2.isReadOnly && !e3.expression.options.outputExprTextAllowsReadOnlyVarType && !e3.expression.type.isMatch(_2.type, f.settings.exact)) return x(e3, (0, o.sprintf)(R.expression.variableIsReadOnly, d2), i3), null; + let h2, m2 = g.expressionItems.reference(i3, _2, d2), T2 = 2; for (; T2 < l2; ) { - const n4 = t3[T2], o2 = n4.getText(), s3 = B(n4.token, e3._lineExtents), d2 = g.expressionItems.fieldAccess(s3), p2 = o2.substring(1, o2.length), _3 = m2.type.getPropertyDefinition(p2, true); + const n4 = t3[T2], o2 = n4.getText(), s3 = B(n4.token, e3._lineExtents), c2 = g.expressionItems.fieldAccess(s3), p2 = o2.substring(1, o2.length), _3 = m2.type.getPropertyDefinition(p2, true); if (!_3) return null; - if (c2 += o2, !j(e3, c2, m2.position, _3, s3)) return null; + if (d2 += o2, !j(e3, d2, m2.position, _3, s3)) return null; let f2; if (h2 && (f2 = h2[_3.name]), f2 || _3.propertyResolvedLiteralValue) { if (T2 + 1 !== l2) return null; @@ -53994,7 +58513,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (_3.propertyResolvedLiteralValue) _3.type === y.globalTypes.integer && (e4 = g.expressionItems.intLiteral(i3, parseInt(_3.propertyResolvedLiteralValue))); else switch (f2.resolver) { case S.propertyToLiteralResolverNames.propIDToConversationType: - var A2 = a.default.find(O, function(e5) { + var A2 = a.default.find(v, function(e5) { return e5.id = f2.valueToResolve; }); A2 && (e4 = g.expressionItems.stringLiteral(i3, A2.id, y.globalTypes.string)); @@ -54004,15 +58523,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; N2 && (e4 = g.expressionItems.stringLiteral(i3, N2, y.globalTypes.string)); break; case S.propertyToLiteralResolverNames.propIDToCurrencyCode: - var E2 = v[f2.valueToResolve]; + var E2 = I[f2.valueToResolve]; E2 && (e4 = g.expressionItems.stringLiteral(i3, E2.code, y.globalTypes.string)); break; case S.propertyToLiteralResolverNames.propIDToDialingCode: - var R2 = u.countryMap[f2.valueToResolve]; - R2 && (e4 = g.expressionItems.stringLiteral(i3, R2.dialingCode, y.globalTypes.string)); + var w2 = u.countryMap[f2.valueToResolve]; + w2 && (e4 = g.expressionItems.stringLiteral(i3, w2.dialingCode, y.globalTypes.string)); break; case S.propertyToLiteralResolverNames.propIDToLanguageTag: - var P2 = I.propIdLanguages[f2.valueToResolve]; + var P2 = O.propIdLanguages[f2.valueToResolve]; P2 && (e4 = g.expressionItems.stringLiteral(i3, P2.id ? P2.id.toLowerCase() : P2.id, y.globalTypes.string)); break; case S.propertyToLiteralResolverNames.propIDToSendResponseBodyType: @@ -54029,7 +58548,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } return e4 ? (e4.addAdditionalProperties({ resolvedProperty: n5 }), e4) : (r2.error("Internal error - the '" + f2.resolver + "' resolver could not resolve the value '" + f2.valueToResolve + "'"), null); } - h2 = _3.propertyToLiteralResolvers, D(e3._rootItem, d2, g.expressionItems.propAccessLiteral(s3, p2, _3.id, _3.group)), D(e3._rootItem, d2, m2), m2 = d2, m2.type = _3.type, T2++; + h2 = _3.propertyToLiteralResolvers, D(e3._rootItem, c2, g.expressionItems.propAccessLiteral(s3, p2, _3.id, _3.group)), D(e3._rootItem, c2, m2), m2 = c2, m2.type = _3.type, T2++; } return m2; } @@ -54041,152 +58560,152 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const i4 = e3 + 1; for (let e4 = 0; e4 < s2.length; e4++) if (!Y(i4, t3, s2[e4], void 0, void 0)) return false; } - if (e3 > t3._maxCallStack) return x(t3, (0, o.sprintf)(w.expression.tooManyNestedCalls, (0, o.sprintf)(w.expression.functions.funcOpPosPrefix, i3.getTextWithFuncOpTextFallback(), i3.position), e3, t3._maxCallStack), i3.position, i3.getTextWithFuncOpTextFallback()), false; + if (e3 > t3._maxCallStack) return x(t3, (0, o.sprintf)(R.expression.tooManyNestedCalls, (0, o.sprintf)(R.expression.functions.funcOpPosPrefix, i3.getTextWithFuncOpTextFallback(), i3.position), e3, t3._maxCallStack), i3.position, i3.getTextWithFuncOpTextFallback()), false; const u2 = m.expressionDataService.getOverload(i3, t3._languagesSnapshot, t3.expression); if (!u2.success) return x(t3, u2.error, u2.position, u2.operand, null, true), false; - const c2 = u2.result; - if (c2.mustBeLastOperationOrFunction && !r3) return x(t3, (0, o.sprintf)(w.expression.functions.mustBeLastOperation, (0, o.sprintf)(w.expression.functions.funcOpPosPrefix, i3.getTextWithFuncOpTextFallback(), i3.position)), i3.position, i3.getTextWithFuncOpTextFallback()), false; - if (c2.supportedFlowTypes && t3.expression.parentFlow) { + const d2 = u2.result; + if (d2.mustBeLastOperationOrFunction && !r3) return x(t3, (0, o.sprintf)(R.expression.functions.mustBeLastOperation, (0, o.sprintf)(R.expression.functions.funcOpPosPrefix, i3.getTextWithFuncOpTextFallback(), i3.position)), i3.position, i3.getTextWithFuncOpTextFallback()), false; + if (d2.supportedFlowTypes && t3.expression.parentFlow) { const e4 = t3.expression.parentFlow; let n4; if (t3.expression.type.isMatch(y.globalTypes.audio, f.settings.exact)) { n4 = e4.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime(); - const r4 = a.default.difference(n4, a.default.values(c2.supportedFlowTypes)); - r4.length && L(t3, (0, o.sprintf)(w.commonModule.notAvailableInFlowTypes, d.getFlowTypesDisplayString(r4)), i3.position); + const r4 = a.default.difference(n4, a.default.values(d2.supportedFlowTypes)); + r4.length && L(t3, (0, o.sprintf)(R.commonModule.notAvailableInFlowTypes, c.getFlowTypesDisplayString(r4)), i3.position); } else n4 = e4.destinationFlowTypes; for (let e5 = 0; e5 < n4.length; e5++) { const r4 = n4[e5]; - if (!c2.supportedFlowTypes[r4]) { + if (!d2.supportedFlowTypes[r4]) { let e6; - const n5 = (0, o.sprintf)(w.expression.functions.funcOpPosPrefix, i3.getTextWithFuncOpTextFallback(), i3.position); + const n5 = (0, o.sprintf)(R.expression.functions.funcOpPosPrefix, i3.getTextWithFuncOpTextFallback(), i3.position); switch (s2.length) { case 0: - e6 = (0, o.sprintf)(w.expression.functions.notAvailableInFlowTypeNoParm, n5, l.default.getFlowTypeDisplayName(r4)); + e6 = (0, o.sprintf)(R.expression.functions.notAvailableInFlowTypeNoParm, n5, l.default.getFlowTypeDisplayName(r4)); break; case 1: - e6 = (0, o.sprintf)(w.expression.functions.notAvailableInFlowTypeOneParm, n5, d.getOperandListDisplayString(s2), l.default.getFlowTypeDisplayName(r4)); + e6 = (0, o.sprintf)(R.expression.functions.notAvailableInFlowTypeOneParm, n5, c.getOperandListDisplayString(s2), l.default.getFlowTypeDisplayName(r4)); break; default: - e6 = (0, o.sprintf)(w.expression.functions.notAvailableInFlowTypeMoreThanOneParm, n5, d.getOperandListDisplayString(s2), l.default.getFlowTypeDisplayName(r4)); + e6 = (0, o.sprintf)(R.expression.functions.notAvailableInFlowTypeMoreThanOneParm, n5, c.getOperandListDisplayString(s2), l.default.getFlowTypeDisplayName(r4)); } return x(t3, e6, i3.position, i3.getTextWithFuncOpTextFallback()), false; } } } - if (c2.maxOperands) { + if (d2.maxOperands) { const e4 = i3.getOperands(); - if (e4 && e4.length > c2.maxOperands) return x(t3, (0, o.sprintf)(w.expression.functions.maxOperandsExceeded, (0, o.sprintf)(w.expression.functions.funcOpPosPrefix, i3.getTextWithFuncOpTextFallback(), i3.position), c2.maxOperands), i3.position, i3.getTextWithFuncOpTextFallback()), false; + if (e4 && e4.length > d2.maxOperands) return x(t3, (0, o.sprintf)(R.expression.functions.maxOperandsExceeded, (0, o.sprintf)(R.expression.functions.funcOpPosPrefix, i3.getTextWithFuncOpTextFallback(), i3.position), d2.maxOperands), i3.position, i3.getTextWithFuncOpTextFallback()), false; } let p2, _2; - if (_2 = c2.resultResolver ? c2.resultResolver(c2, i3) : T.expressionResolvers.resolveNotSetTypedOperands(c2, i3), _2.property) { - if (_2.property.isReadOnly && t3.expression.isOutput && 0 === e3) return x(t3, (0, o.sprintf)(w.expression.variableIsReadOnly, t3.expression.text), _2.position, _2.operand), false; + if (_2 = d2.resultResolver ? d2.resultResolver(d2, i3) : T.expressionResolvers.resolveNotSetTypedOperands(d2, i3), _2.property) { + if (_2.property.isReadOnly && t3.expression.isOutput && 0 === e3) return x(t3, (0, o.sprintf)(R.expression.variableIsReadOnly, t3.expression.text), _2.position, _2.operand), false; _2.property.depth = e3, t3.properties.push(_2.property), _2.property.checkVersion(t3); } - return _2.success ? (p2 = c2.returnType.isAny ? _2.type : c2.returnType, i3.type = p2, t3.checkVersion(c2.version), true) : (x(t3, _2.error, _2.position, _2.operand), false); + return _2.success ? (p2 = d2.returnType.isAny ? _2.type : d2.returnType, i3.type = p2, t3.checkVersion(d2.version), true) : (x(t3, _2.error, _2.position, _2.operand), false); } function H(e3, t3, i3) { const n3 = i3[i3.length - 1]; if (!t3) return true; const r3 = t3.getType(); - if (r3 === R.EOF) return true; + if (r3 === w.EOF) return true; const a2 = B(t3.token, e3._lineExtents); let s2 = t3.getText(); switch (r3) { case 0: - case R.UP: - case R.DOWN: - case R.COMMA: + case w.UP: + case w.DOWN: + case w.COMMA: break; - case R.IDENTIFIER: + case w.IDENTIFIER: var l2 = m.expressionDataService.getRegisteredFuncOpsByText(s2); if (l2 && l2.length > 0) { const r4 = l2[0]; - if (r4.isUnavailable) return x(e3, (0, o.sprintf)(w.expression.functions.unavailableFunctionDueToImplementationToggles, (0, o.sprintf)(w.expression.functions.funcOpPosPrefix, s2, a2)), a2, s2), false; - if (0 === t3.getChildCount()) return x(e3, (0, o.sprintf)(w.expression.functions.functionMustBeCalledWithParens, (0, o.sprintf)(w.expression.functions.funcOpPosPrefix, s2, a2), s2), a2, s2), false; + if (r4.isUnavailable) return x(e3, (0, o.sprintf)(R.expression.functions.unavailableFunctionDueToImplementationToggles, (0, o.sprintf)(R.expression.functions.funcOpPosPrefix, s2, a2)), a2, s2), false; + if (0 === t3.getChildCount()) return x(e3, (0, o.sprintf)(R.expression.functions.functionMustBeCalledWithParens, (0, o.sprintf)(R.expression.functions.funcOpPosPrefix, s2, a2), s2), a2, s2), false; P(e3._rootItem, n3, i3, g.expressionItems.funcOp(a2, r4.text, s2)); break; } - return x(e3, (0, o.sprintf)(w.expression.notFuncOrRef, s2.trimForDisplay(), a2), a2, null, null, true), false; - case R.FIELD_ACCESS_IDENTIFIER: - case R.FIELD_ACCESS_STRING_LITERAL: + return x(e3, (0, o.sprintf)(R.expression.notFuncOrRef, s2.trimForDisplay(), a2), a2, null, null, true), false; + case w.FIELD_ACCESS_IDENTIFIER: + case w.FIELD_ACCESS_STRING_LITERAL: var u2 = g.expressionItems.fieldAccess(a2); P(e3._rootItem, n3, i3, u2), D(e3._rootItem, u2, g.expressionItems.propAccessLiteral(a2, s2.substring(1, s2.length), "unknown")); break; - case R.UNQUOTED_STRING_LITERAL: - case R.FIELD_ACCESS_UNQUOTED_STRING_LITERAL: - return x(e3, (0, o.sprintf)(w.expression.missingEndQuoteAtPosition, a2), a2), false; - case R.BAD_ESCAPE_STRING_LITERAL: - return x(e3, (0, o.sprintf)(w.expression.invalidEscape, a2), a2), false; - case R.PERIOD: - return x(e3, (0, o.sprintf)(w.expression.noPropertySpecified, a2), a2), false; - case R.OP_MINUS: + case w.UNQUOTED_STRING_LITERAL: + case w.FIELD_ACCESS_UNQUOTED_STRING_LITERAL: + return x(e3, (0, o.sprintf)(R.expression.missingEndQuoteAtPosition, a2), a2), false; + case w.BAD_ESCAPE_STRING_LITERAL: + return x(e3, (0, o.sprintf)(R.expression.invalidEscape, a2), a2), false; + case w.PERIOD: + return x(e3, (0, o.sprintf)(R.expression.noPropertySpecified, a2), a2), false; + case w.OP_MINUS: if (!G(e3, t3)) { if (e3.resultType === A.ParseResultTypes.error) return false; P(e3._rootItem, n3, i3, g.expressionItems.op(a2, s2)); } break; - case R.OP_PLUS: - case R.OP_MULT: - case R.OP_DIV: - case R.OP_POW: - case R.OP_EQU: - case R.OP_NEQ: - case R.OP_GT: - case R.OP_GTE: - case R.OP_LT: - case R.OP_LTE: - case R.OP_MOD: - case R.OP_NOT: - case R.OP_LOG_AND: - case R.OP_LOG_OR: - case R.OP_BIT_AND: - case R.OP_BIT_INCL_OR: - case R.OP_BIT_NOT: - case R.TERNARY_IF: + case w.OP_PLUS: + case w.OP_MULT: + case w.OP_DIV: + case w.OP_POW: + case w.OP_EQU: + case w.OP_NEQ: + case w.OP_GT: + case w.OP_GTE: + case w.OP_LT: + case w.OP_LTE: + case w.OP_MOD: + case w.OP_NOT: + case w.OP_LOG_AND: + case w.OP_LOG_OR: + case w.OP_BIT_AND: + case w.OP_BIT_INCL_OR: + case w.OP_BIT_NOT: + case w.TERNARY_IF: P(e3._rootItem, n3, i3, g.expressionItems.op(a2, s2)); break; - case R.TERNARY_THEN: + case w.TERNARY_THEN: break; - case R.INTEGER: - if (!g.expressionItems.checkIntStr(s2)) return x(e3, (0, o.sprintf)(w.expression.intValueGreaterThanMax, s2, a2, _.default.maxInt), a2), false; + case w.INTEGER: + if (!g.expressionItems.checkIntStr(s2)) return x(e3, (0, o.sprintf)(R.expression.intValueGreaterThanMax, s2, a2, _.default.maxInt), a2), false; D(e3._rootItem, n3, g.expressionItems.literal(a2, s2, y.globalTypes.integer)); break; - case R.DECIMAL: - if (!g.expressionItems.checkDecimalStr(s2)) return x(e3, (0, o.sprintf)(w.expression.decimalValueTooMuchPrecision, s2, a2, _.default.maxPrecision), a2), false; + case w.DECIMAL: + if (!g.expressionItems.checkDecimalStr(s2)) return x(e3, (0, o.sprintf)(R.expression.decimalValueTooMuchPrecision, s2, a2, _.default.maxPrecision), a2), false; D(e3._rootItem, n3, g.expressionItems.literal(a2, s2, y.globalTypes.decimal)); break; - case R.STRING_LITERAL: + case w.STRING_LITERAL: s2 = s2.substring(1, s2.length - 1), D(e3._rootItem, n3, g.expressionItems.stringLiteral(a2, s2, y.globalTypes.string)); break; - case R.BOOL_TRUE: - case R.BOOL_FALSE: + case w.BOOL_TRUE: + case w.BOOL_FALSE: D(e3._rootItem, n3, g.expressionItems.literal(a2, s2, y.globalTypes.boolean)); break; - case R.NOT_SET: + case w.NOT_SET: D(e3._rootItem, n3, g.expressionItems.nul(a2)); break; - case R.PAREN_LEFT: + case w.PAREN_LEFT: e3._parens.push(a2); break; - case R.PAREN_RIGHT: - if (0 === e3._parens.length) return x(e3, (0, o.sprintf)(w.expression.missingOpenParenAtPosition, a2), a2), false; + case w.PAREN_RIGHT: + if (0 === e3._parens.length) return x(e3, (0, o.sprintf)(R.expression.missingOpenParenAtPosition, a2), a2), false; e3._parens.pop(); break; - case R.BRACKET_LEFT: + case w.BRACKET_LEFT: e3._brackets.push(a2), P(e3._rootItem, n3, i3, g.expressionItems.op(a2, s2)); break; - case R.BRACKET_RIGHT: - if (0 === e3._brackets.length) return x(e3, (0, o.sprintf)(w.expression.missingOpenBracketAtPosition, a2), a2), false; + case w.BRACKET_RIGHT: + if (0 === e3._brackets.length) return x(e3, (0, o.sprintf)(R.expression.missingOpenBracketAtPosition, a2), a2), false; e3._brackets.pop(); break; default: - return x(e3, (0, o.sprintf)(w.expression.invalidInputAtPosition, a2), a2), false; + return x(e3, (0, o.sprintf)(R.expression.invalidInputAtPosition, a2), a2), false; } return true; } function J(e3, t3, i3, n3) { if (!t3) return true; - if (t3.getType() === R.OP_MINUS) { + if (t3.getType() === w.OP_MINUS) { const n4 = G(e3, t3); if (n4) return D(e3._rootItem, i3[i3.length - 1], n4), true; if (e3.resultType === A.ParseResultTypes.error) return false; @@ -54196,32 +58715,32 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (0 === n4) return true; for (let s3 = 0; s3 < n4; s3++) { let l2 = null; - const u2 = t4.getChild(s3), d2 = B(u2.token, e4._lineExtents); - let c2, p2; + const u2 = t4.getChild(s3), c2 = B(u2.token, e4._lineExtents); + let d2, p2; switch (u2.getType()) { - case R.IDENTIFIER: + case w.IDENTIFIER: var r3 = false; if (p2 = u2.getText(), !m.expressionDataService.getRegisteredFuncOpsByText(p2)) { - for (c2 = [u2]; s3 + 1 < n4; ) { + for (d2 = [u2]; s3 + 1 < n4; ) { const e5 = t4.getChild(s3 + 1); - if ((e5.children || e5.getType() !== R.FIELD_ACCESS_IDENTIFIER) && e5.getType() !== R.FIELD_ACCESS_STRING_LITERAL) break; - r3 = true, s3++, p2 += e5.getText(), c2.push(e5); + if ((e5.children || e5.getType() !== w.FIELD_ACCESS_IDENTIFIER) && e5.getType() !== w.FIELD_ACCESS_STRING_LITERAL) break; + r3 = true, s3++, p2 += e5.getText(), d2.push(e5); } - if (r3 && (l2 = q(e4, c2, d2), !l2)) return M(e4) || x(e4, (0, o.sprintf)(w.expression.variableReferenceNotValid, p2.trimForDisplay(), d2), d2), false; + if (r3 && (l2 = q(e4, d2, c2), !l2)) return M(e4) || x(e4, (0, o.sprintf)(R.expression.variableReferenceNotValid, p2.trimForDisplay(), c2), c2), false; } break; - case R.BRACKET_LEFT: + case w.BRACKET_LEFT: if (!H(e4, u2, i4)) return false; var a2 = i4[i4.length - 1]; if (!J(e4, u2, i4)) return false; if (s3 + 1 < n4 && a2.getOperands().length < 2) { - if (i4.push(a2), s3++, s3 + 1 < n4 && (t4.getChild(s3).getType() === R.IDENTIFIER || t4.getChild(s3 + 1).getType() === R.FIELD_ACCESS_STRING_LITERAL)) { - for (c2 = [t4.getChild(s3)]; s3 + 1 < n4; ) { + if (i4.push(a2), s3++, s3 + 1 < n4 && (t4.getChild(s3).getType() === w.IDENTIFIER || t4.getChild(s3 + 1).getType() === w.FIELD_ACCESS_STRING_LITERAL)) { + for (d2 = [t4.getChild(s3)]; s3 + 1 < n4; ) { const e5 = t4.getChild(s3 + 1); - if (e5.getType() !== R.FIELD_ACCESS_IDENTIFIER && e5.getType() !== R.FIELD_ACCESS_STRING_LITERAL) break; - s3++, p2 = t4.getChild(s3).getText(), c2.push(e5); + if (e5.getType() !== w.FIELD_ACCESS_IDENTIFIER && e5.getType() !== w.FIELD_ACCESS_STRING_LITERAL) break; + s3++, p2 = t4.getChild(s3).getText(), d2.push(e5); } - if (l2 = q(e4, c2, d2), !l2) return M(e4) || x(e4, (0, o.sprintf)(w.expression.variableReferenceNotValid, p2.trimForDisplay(), d2), d2), false; + if (l2 = q(e4, d2, c2), !l2) return M(e4) || x(e4, (0, o.sprintf)(R.expression.variableReferenceNotValid, p2.trimForDisplay(), c2), c2), false; const r4 = i4[i4.length - 1]; D(e4._rootItem, r4, l2); } else if (!J(e4, t4.getChild(s3), i4, true)) return false; @@ -54343,14 +58862,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } }), e2.exports = o; }, 44254: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(52164), a = n2.__importStar(i2(35515)), s = i2(17604), l = n2.__importDefault(i2(87016)), u = n2.__importDefault(i2(58611)), d = n2.__importDefault(i2(65692)), c = n2.__importDefault(i2(98717)), p = i2(9456), _ = i2(15896); - class h extends o.BasicRequest { + Object.defineProperty(t2, "__esModule", { value: true }), t2.SCRIPTING_REQUEST_TIMEOUT_MS = t2.scriptingHttpsAgent = t2.scriptingHttpAgent = t2.SCRIPTING_AGENT_OPTIONS = void 0; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(52164), a = n2.__importStar(i2(35515)), s = i2(17604), l = n2.__importDefault(i2(87016)), u = n2.__importDefault(i2(58611)), c = n2.__importDefault(i2(65692)), d = n2.__importDefault(i2(98717)), p = n2.__importDefault(i2(2600)), _ = i2(2600), h = i2(9456), m = i2(15896); + t2.SCRIPTING_AGENT_OPTIONS = { keepAlive: true, keepAliveMsecs: 1e3, maxFreeSockets: 32, maxSockets: 64, maxTotalSockets: 128, scheduling: "lifo", timeout: 5e3 }, t2.scriptingHttpAgent = new u.default.Agent(t2.SCRIPTING_AGENT_OPTIONS), t2.scriptingHttpsAgent = new c.default.Agent(t2.SCRIPTING_AGENT_OPTIONS), t2.SCRIPTING_REQUEST_TIMEOUT_MS = 3e4; + class g extends o.BasicRequest { get className() { return "ArchNetworkRequest"; } constructor(e3, t3) { - super(e3, t3), this.error = void 0, this.request = void 0, this.response = void 0, this.shouldRetryImmediately = false, this._networkRequestId = void 0; + super(e3, t3), this.error = void 0, this.request = void 0, this.response = void 0, this.shouldRetryImmediately = false, this._networkRequestId = void 0, this._diagnosticRequestBody = void 0, this._diagnosticScope = void 0, this._diagnosticScope = p.default.captureScope(); } _logStr() { return `[${this.info.method}::${this.url}]`; @@ -54359,17 +58879,21 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._networkRequestId ? `[ArchNetworkRequest id: ${this._networkRequestId}] ` : ""; } _logVerboseNote(e3) { - c.default.logNetworkActivity ? c.default.itemNote({ title: "Called Object" }, `${this._networkRequestIdPrefix()}${e3}`, this._logStr(), "ArchNetworkRequest") : c.default.logNotesVerbose && c.default.itemNoteVerbose({ title: "Called Object" }, e3, this._logStr(), "ArchNetworkRequest"); + d.default.logNetworkActivity ? d.default.itemNote({ title: "Called Object" }, `${this._networkRequestIdPrefix()}${e3}`, this._logStr(), "ArchNetworkRequest") : d.default.logNotesVerbose && d.default.itemNoteVerbose({ title: "Called Object" }, e3, this._logStr(), "ArchNetworkRequest"); } _logRequestError(e3) { var t3, i3; const n3 = null !== (t3 = null == e3 ? void 0 : e3.code) && void 0 !== t3 ? t3 : "unknown", r3 = null !== (i3 = null == e3 ? void 0 : e3.message) && void 0 !== i3 ? i3 : ""; - this._logVerboseNote(_.magenta(`request failed - errorCode:${n3}, errorMessage:${r3}`)); + this._logVerboseNote(m.magenta(`request failed - errorCode:${n3}, errorMessage:${r3}`)); } _logResponseBody(e3, t3, i3) { - if (!c.default.logNetworkActivity) return; - const n3 = null == e3 || "" === e3 ? "" : e3, r3 = void 0 !== i3 ? `, statusCode: ${i3}` : "", o2 = t3 ? `, correlationId: ${t3}` : "", a2 = _.magenta(`[${this.info.method}::${this.url}${r3}${o2}]`), s2 = `${this._networkRequestIdPrefix()}response body - ${n3}`; - c.default.itemNote({ title: "Called Object" }, s2, a2, "ArchNetworkRequest"); + if (!d.default.logNetworkActivity) return; + const n3 = null == e3 || "" === e3 ? "" : e3, r3 = void 0 !== i3 ? `, statusCode: ${i3}` : "", o2 = t3 ? `, correlationId: ${t3}` : "", a2 = m.magenta(`[${this.info.method}::${this.url}${r3}${o2}]`), s2 = `${this._networkRequestIdPrefix()}response body - ${n3}`; + d.default.itemNote({ title: "Called Object" }, s2, a2, "ArchNetworkRequest"); + } + _recordNetworkDiagnostic(e3) { + var t3; + p.default.captureEnabled && p.default.record({ networkRequestId: this._networkRequestId || "", method: (null === (t3 = this.info) || void 0 === t3 ? void 0 : t3.method) || "", url: this.url || "", requestBody: (0, _.truncateNetworkDiagnosticBody)(this._diagnosticRequestBody), statusCode: e3.statusCode, statusMessage: e3.statusMessage, correlationId: e3.correlationId, responseBody: (0, _.truncateNetworkDiagnosticBody)(e3.responseBody), errorCode: e3.errorCode, errorMessage: e3.errorMessage, timestamp: (/* @__PURE__ */ new Date()).toISOString() }, this._diagnosticScope); } addDefaultHeaders(e3) { super.addDefaultHeaders(e3), a.getAuthToken() && (e3 ? console.log("not adding Authorization header") : (this.headers.Authorization = "bearer " + a.getAuthToken(), this.headers["Genesys-App"] = a.getGenesysAppHeader())), this.headers["User-Agent"] = a.getNodeUserAgentHeader(); @@ -54378,23 +58902,32 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.headers["Content-Type"] = "application/x-www-form-urlencoded", this.headers.Authorization = `Basic ${Buffer.from((0, s.sprintf)("%s:%s", a.values.client, a.values.client_secret)).toString("base64")}`; } makeNetworkRequest() { - if (this._networkRequestId = (0, p.uuid)(), this._generateUrl(), this._logVerboseNote("calling url"), this.info.hasMock) { + this._networkRequestId = (0, h.uuid)(); + try { + this._generateUrl(); + } catch (e4) { + return Promise.reject(e4); + } + if (this._logVerboseNote("calling url"), this.info.hasMock) { const e4 = this.info.callMock(this.getParameters()); - return e4 && e4.isError ? (this.status = e4.status, this.request = e4, e4.responseText = e4.responseText || "", this.routeEvent("error", this)) : (this.status = 200, this.response = { mocked: true, responseText: JSON.stringify(e4), status: 200, statusText: "OK" }, this.routeEvent("load", this)), this.promise; + return e4 && e4.isError ? (this.status = e4.status, this.request = e4, e4.responseText = e4.responseText || "", this._recordNetworkDiagnostic({ statusCode: e4.status, statusMessage: e4.statusText, responseBody: e4.responseText }), this.routeEvent("error", this)) : (this.status = 200, this.response = { mocked: true, responseText: JSON.stringify(e4), status: 200, statusText: "OK" }, this._recordNetworkDiagnostic({ statusCode: 200, statusMessage: "OK", responseBody: this.response.responseText }), this.routeEvent("load", this)), this.promise; } let e3 = this._content || void 0; - e3 && !r2.default.isString(e3) && (e3 = JSON.stringify(e3)); - const t3 = l.default.parse(this.url), i3 = { hostname: t3.hostname, path: t3.path, method: this.info.method, headers: this.headers }, n3 = t3.protocol.indexOf("https") >= 0 ? d.default : u.default, o2 = this.request = n3.request(i3, function(e4) { - const t4 = e4.headers["inin-correlation-id"]; - this._logVerboseNote(_.magenta(`response received - statusCode:${e4.statusCode}, statusMessage:${e4.statusMessage}, correlationId:${t4}`)), this.response = e4, this.status = e4.statusCode, e4.setEncoding("utf8"), e4.responseText = "", e4.on("data", function(t5) { - e4.responseText += t5; + e3 && !r2.default.isString(e3) && (e3 = JSON.stringify(e3)), p.default.captureEnabled && (this._diagnosticRequestBody = "string" == typeof e3 ? e3 : void 0); + const i3 = l.default.parse(this.url), n3 = i3.protocol.indexOf("https") >= 0, o2 = { hostname: i3.hostname, port: i3.port, path: i3.path, method: this.info.method, headers: this.headers, agent: n3 ? t2.scriptingHttpsAgent : t2.scriptingHttpAgent, timeout: t2.SCRIPTING_REQUEST_TIMEOUT_MS }, a2 = n3 ? c.default : u.default, s2 = this.request = a2.request(o2, function(e4) { + const t3 = e4.headers["inin-correlation-id"]; + this._logVerboseNote(m.magenta(`response received - statusCode:${e4.statusCode}, statusMessage:${e4.statusMessage}, correlationId:${t3}`)), this.response = e4, this.status = e4.statusCode, e4.setEncoding("utf8"), e4.responseText = "", e4.on("data", function(t4) { + e4.responseText += t4; }), e4.on("end", function() { - this._logResponseBody(e4.responseText, t4, e4.statusCode), this.routeEvent("load", this); + this._logResponseBody(e4.responseText, t3, e4.statusCode), this._recordNetworkDiagnostic({ statusCode: e4.statusCode, statusMessage: e4.statusMessage, correlationId: Array.isArray(t3) ? t3[0] : t3, responseBody: e4.responseText }), this.routeEvent("load", this); }.bind(this)); }.bind(this)); - return o2.on("error", function(e4) { - this.error = e4, this._logRequestError(e4), this.routeEvent("error", this); - }.bind(this)), void 0 !== e3 && o2.write(e3), this.sendTime = /* @__PURE__ */ new Date(), o2.end(), this.promise; + return s2.on("timeout", function() { + const e4 = new Error(`socket timed out after ${t2.SCRIPTING_REQUEST_TIMEOUT_MS}ms without activity`); + e4.code = "ETIMEDOUT", this._logVerboseNote(m.magenta(`request timed out - destroying socket after ${t2.SCRIPTING_REQUEST_TIMEOUT_MS}ms without activity`)), s2.destroy(e4); + }.bind(this)), s2.on("error", function(e4) { + this.error = e4, this._logRequestError(e4), this._recordNetworkDiagnostic({ errorCode: null == e4 ? void 0 : e4.code, errorMessage: null == e4 ? void 0 : e4.message }), this.routeEvent("error", this); + }.bind(this)), void 0 !== e3 && s2.write(e3), this.sendTime = /* @__PURE__ */ new Date(), s2.end(), this.promise; } getResponseHeaders() { var e3; @@ -54417,7 +58950,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return false; } } - t2.default = h; + t2.default = g; }, 44307: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.canStubReferencedFlow = s, t2.snapshotReferencedObject = function(e3, t3, i3, n3, r3, o2) { @@ -54430,8 +58963,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (null == u ? void 0 : u.length) { if (u.find((e4) => e4.flow.name === i3 && e4.flow.type === t3)) return; } else a2.flows = u = []; - const d = l(i3, t3, n3, r3, o2); - d && (u.push(d), e3.referencedObjects || (e3.referencedObjects = a2)); + const c = l(i3, t3, n3, r3, o2); + c && (u.push(c), e3.referencedObjects || (e3.referencedObjects = a2)); }, t2.getFlowYamlSnapshot = l, t2.getFlowConfigFromSnapshot = function(e3, t3, i3) { var n3, r3; return (null === (r3 = null === (n3 = null == e3 ? void 0 : e3.referencedObjects) || void 0 === n3 ? void 0 : n3.flows) || void 0 === r3 ? void 0 : r3.length) ? e3.referencedObjects.flows.find((e4) => e4.flow.name === t3 && e4.flow.type === i3) : null; @@ -54562,6 +59095,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return Promise.all(t3.slice(1).map(i2.e)).then(() => i2(r3)); } r2.keys = () => Object.keys(n2), r2.id = 44485, e2.exports = r2; + }, 44494: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.STEP_DELAY_MAX_MS = t2.STEP_DELAY_MIN_MS = t2.STEP_DELAY_DEFAULT_MS = void 0, t2.clampStepDelay = function(e3) { + return "number" != typeof e3 || isNaN(e3) ? t2.STEP_DELAY_DEFAULT_MS : Math.max(t2.STEP_DELAY_MIN_MS, Math.min(t2.STEP_DELAY_MAX_MS, e3)); + }, t2.STEP_DELAY_DEFAULT_MS = 5e3, t2.STEP_DELAY_MIN_MS = 1e3, t2.STEP_DELAY_MAX_MS = 12e3; }, 44502: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -54671,6 +59209,116 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return n2(a(e3, true, true) + "\n"); }; })(); + }, 44552: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.AudioFormatViewModel = void 0; + const n2 = i2(31635), r2 = i2(55299), o = i2(73250), a = i2(56004), s = i2(56004), l = i2(80295), u = i2(17604), c = n2.__importDefault(i2(41510)); + class d extends r2.BaseClass { + static create(e3) { + return d._validateFormatData(e3), new d(e3); + } + constructor(e3) { + super(), this._data = e3, (0, l.makeUnenumerable)(this, "_data"); + } + get className() { + return "AudioFormatViewModel"; + } + get isAudioFormatViewModel() { + return true; + } + get sampleRate() { + if (this.supportsFrequency) return this._sampleRate; + } + get is8KSampleRate() { + return this.sampleRate === o.defaultPromptResourceAudioSampleRateHz; + } + get _sampleRate() { + return this._data.sampleRate; + } + get kHz() { + const e3 = this.sampleRate; + if (void 0 !== e3) return e3 / 1e3; + } + get hasHz() { + return void 0 !== this.sampleRate; + } + get hasKHz() { + return void 0 !== this.kHz; + } + get channels() { + return this._channels; + } + get _channels() { + return this._data.channels; + } + get isMono() { + return 1 === this.channels; + } + get isStereo() { + return 2 === this.channels; + } + get bitsPerSample() { + if (this.supportsBitsPerSample) return this._bitsPerSample; + } + get _bitsPerSample() { + return this._data.bitsPerSample; + } + get hasBitsPerSample() { + return void 0 !== this.bitsPerSample; + } + get encoding() { + return this._encoding; + } + get _encoding() { + return this._data.encoding; + } + get supportsFrequency() { + return (0, s.encodingSupportsFrequency)(this.encoding); + } + get supportsBitsPerSample() { + return (0, a.encodingSupportsBitsPerSample)(this.encoding); + } + get bitrateBps() { + if (void 0 !== this._bitrateBps) return this._bitrateBps; + if (!this.supportsBitsPerSample) return; + const e3 = this.bitsPerSample, t3 = this.sampleRate; + return void 0 !== e3 && void 0 !== t3 ? e3 * this.channels * t3 : void 0; + } + get _bitrateBps() { + return this._data.bitrateBps; + } + get bitrateKbps() { + const e3 = this.bitrateBps; + if (void 0 !== e3) return e3 / 1e3; + } + get hasBitrateKbps() { + return void 0 !== this.bitrateKbps; + } + get frequencyHzDisplayStr() { + if (this.hasHz) return (0, u.sprintf)(c.default.audio.frequencyInHz, this.sampleRate); + } + get frequencyKHzDisplayStr() { + if (this.hasKHz) return (0, u.sprintf)(c.default.audio.frequencyInKHz, d._formatKHzNumericValue(this.kHz)); + } + get bitsPerSampleDisplayStr() { + if (this.hasBitsPerSample) return (0, u.sprintf)(c.default.audio.bitsPerSample, this.bitsPerSample); + } + get bitrateKbpsDisplayStr() { + if (this.hasBitrateKbps) return (0, u.sprintf)(c.default.audio.bitrateInKbps, this.bitrateKbps); + } + static _formatKHzNumericValue(e3) { + if (void 0 === e3) return ""; + if (Number.isInteger(e3)) return String(e3); + const t3 = Math.round(10 * e3) / 10; + return String(t3); + } + static _validateFormatData(e3) { + if ((0, s.encodingSupportsFrequency)(e3.encoding) && void 0 === e3.sampleRate) throw new Error("sampleRate is required when encoding supports frequency"); + if ((0, a.encodingSupportsBitsPerSample)(e3.encoding) && void 0 === e3.bitsPerSample) throw new Error("bitsPerSample is required when encoding supports bits per sample"); + if (void 0 !== e3.sampleRate && e3.sampleRate <= 0) throw new Error("sampleRate must be a positive number"); + } + } + t2.AudioFormatViewModel = d, t2.default = d; }, 44565: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FindEmergencyGroupActionModel = void 0; @@ -54685,12 +59333,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.shortMessageScriptManager = t2.ShortMessageScriptManager = void 0; const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(24032), o = i2(30801), a = i2(82915), s = i2(47957), l = i2(52124), u = i2(28195); - class d extends a.ScriptManager { + class c extends a.ScriptManager { constructor() { super("ShortMessageScriptManager"), this.topic = (0, r2.getTopic)("ShortMessageScriptManager"), this.actionsForUsageSearch = [o.screenPopActionType], this.apiCallList = n2.default.partial(l.getScriptsForFeature, u.message), this.dependencyContext = s.screenPop.selectedShortMessageScript, this.scriptFeatureType = u.message; } } - t2.ShortMessageScriptManager = d, t2.shortMessageScriptManager = new d(); + t2.ShortMessageScriptManager = c, t2.shortMessageScriptManager = new c(); }, 44633: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -54716,10 +59364,28 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 44703: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionContainer = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(9456), a = n2.__importStar(i2(17498)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(43773)), u = n2.__importStar(i2(58380)), d = i2(88473), c = n2.__importStar(i2(1115)), p = i2(55299); - class _ extends p.BaseClass { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(19206), a = i2(9456), s = n2.__importStar(i2(17498)), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(43773)), c = n2.__importStar(i2(58380)), d = i2(88473), p = n2.__importStar(i2(1115)), _ = i2(55299); + class h extends _.BaseClass { constructor(e3, t3, i3, n3, r3) { - super(), this.parentFlow = e3, this.parent = t3, this.model = i3, this.options = n3, this.yamlOptions = r3, this.id = (0, o.uuid)(), this.amObjectEventEmitter = true, this.items = [], this.supportsInitializeDesignTime = true, this.autoCollapse = false, this._suppressListOrderChangedEvent = false, this._initializeDesignTimeCalled = false, this._outOfServiceProvider = (0, d.addOutOfServiceProperties)(this); + super(), this.parentFlow = e3, this.parent = t3, this.model = i3, this.options = n3, this.yamlOptions = r3, this.id = (0, a.uuid)(), this.amObjectEventEmitter = true, this.items = [], this.supportsInitializeDesignTime = true, this.autoCollapse = false, this._suppressListOrderChangedEvent = false, this._initializeDesignTimeCalled = false, this._outOfServiceProvider = (0, d.addOutOfServiceProperties)(this); + } + get lastActor() { + return this._lastActor; + } + get lastActorWasUser() { + return !this._lastActor; + } + get lastActorWasChangeSet() { + var e3; + return !!(null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet); + } + get lastActorWasAiChangeSet() { + var e3, t3; + return (null === (t3 = null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet) || void 0 === t3 ? void 0 : t3.type) === o.changeSetEntityType.copilot; + } + configureFromModel(e3, t3, i3) { + const n3 = i3.changeSetResults; + n3.sourceEntityType && (this._lastActor = { changeSet: { type: n3.sourceEntityType, id: n3.sourceEntityId } }); } addClipboardDependencies(e3) { this.items.forEach((t3) => { @@ -54797,7 +59463,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.destroyChildren(), this._outOfServiceProvider.destroy(); } destroyChild(e3) { - c.clearIssues(e3), r2.default.isFunction(e3.destroy) && e3.destroy(); + p.clearIssues(e3), r2.default.isFunction(e3.destroy) && e3.destroy(); } destroyChildren() { this.items.forEach((e3) => { @@ -54805,14 +59471,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }), this.length = 0, this.orderChanged(); } getConfiguration(e3, t3, i3) { - var n3, o2, a2, s2, u2; - if (null == t3 ? void 0 : t3.isForComparison) return l.removePropertiesForComparison(this.model); + var n3, o2, a2, s2, l2; + if (null == t3 ? void 0 : t3.isForComparison) return u.removePropertiesForComparison(this.model); if (null == t3 ? void 0 : t3.isForFlowYaml) { if (null == i3 ? void 0 : i3.convertToSingleItem) return null === (n3 = this.items[0]) || void 0 === n3 ? void 0 : n3.getConfiguration(e3, t3, i3); if (!this.items.length && !(null === (o2 = this.options) || void 0 === o2 ? void 0 : o2.defaultText) || this.outOfService) return i3.useNoneTrueForExpressionContainerClass && this.className === i3.useNoneTrueForExpressionContainerClass ? { none: true } : null; if (this.isDataPairList || this.holdsContainedDataPairList || this.isExpressionListWithReferenceId) { if ((null === (a2 = this.yamlOptions) || void 0 === a2 ? void 0 : a2.wrapDataPairNameAndValueInString) || (null === (s2 = this.yamlOptions) || void 0 === s2 ? void 0 : s2.wrapDataPairNameAndValueInTypeString)) return this._mapItemsForYaml(e3, t3, i3); - if (null === (u2 = this.yamlOptions) || void 0 === u2 ? void 0 : u2.wrapValueAndActionsInPropertyName) return this.getYamlWrappedValueAndChildActionsConfiguration(e3, t3); + if (null === (l2 = this.yamlOptions) || void 0 === l2 ? void 0 : l2.wrapValueAndActionsInPropertyName) return this.getYamlWrappedValueAndChildActionsConfiguration(e3, t3); const n4 = {}; return this.items.forEach((o3) => { r2.default.extend(n4, o3.getConfiguration(e3, t3, i3)); @@ -54888,7 +59554,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } orderChanged() { - if (!this._suppressListOrderChangedEvent && (u.fireEvent(this, s.listOrderChanged), this.options && this.options.valueChangedCallback)) try { + if (!this._suppressListOrderChangedEvent && (c.fireEvent(this, l.listOrderChanged), this.options && this.options.valueChangedCallback)) try { this.options.valueChangedCallback(this); } catch (e3) { throw console.error(e3, "failure during valueChangedCallback"), e3; @@ -54912,7 +59578,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; try { this._suppressListOrderChangedEvent = true; let n4 = this.model.indexOf(e3.model); - n4 > -1 && (i3 = true, this.model.splice(n4, 1)), n4 = this.items.indexOf(e3), n4 > -1 && (i3 = true, this.items.splice(n4, 1), this.destroyChild(e3), t3 || c.validate(this.parent, true)); + n4 > -1 && (i3 = true, this.model.splice(n4, 1)), n4 = this.items.indexOf(e3), n4 > -1 && (i3 = true, this.items.splice(n4, 1), this.destroyChild(e3), t3 || p.validate(this.parent, true)); } finally { this._suppressListOrderChangedEvent = n3, this.orderChanged(); } @@ -54941,7 +59607,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } updateDependencies() { this.items.forEach((e3) => { - e3.isExpressionContainerItem ? e3.updateDependencies() : a.registerExpression(e3); + e3.isExpressionContainerItem ? e3.updateDependencies() : s.registerExpression(e3); }); } validate(e3) { @@ -54953,12 +59619,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.items.reduce((e3, t3) => (e3.push(...t3.getExpressions()), e3), []); } } - t2.ExpressionContainer = _; + t2.ExpressionContainer = h; }, 44706: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ChoiceViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(73062), a = n2.__importStar(i2(81116)), s = i2(14394), l = n2.__importDefault(i2(7401)), u = i2(81516), d = i2(55299), c = n2.__importDefault(i2(4648)), p = i2(47957); - class _ extends d.BaseClass { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(73062), a = n2.__importStar(i2(81116)), s = i2(14394), l = n2.__importDefault(i2(7401)), u = i2(81516), c = i2(55299), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends c.BaseClass { constructor(e3, t3) { super(), this._debouncedOnChoicesUpdated = r2.default.debounce(() => { this.parent.onChoicesUpdated(); @@ -54997,7 +59663,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } createLabelViewModel() { const e3 = u.ExpressionTypeStringOptions.create((e4) => { - e4.setDescriptionInfo(p.choice.choiceMenuLabelLabel, p.choice.choiceMenuLabelDescription).setFeatureConfigName(c.default.botFlowsDigitalBotFlowsMultiLingualFeature).setAllowSecure(true).setIsOptional(true).setDefaultToNoValue(true).setAllowedBuilderCategoryIdFilter(o.builderCategoryIds.labelString).setIninTestingField("digital-menu-label"); + e4.setDescriptionInfo(p.choice.choiceMenuLabelLabel, p.choice.choiceMenuLabelDescription).setFeatureConfigName(d.default.botFlowsDigitalBotFlowsMultiLingualFeature).setAllowSecure(true).setIsOptional(true).setDefaultToNoValue(true).setAllowedBuilderCategoryIdFilter(o.builderCategoryIds.labelString).setIninTestingField("digital-menu-label"); }); return a.expression(this.parent.parentFlow, this.parent.parent, this.model.label, p.choice.choiceMenuLabelLabel, s.globalTypes.string, null, e3); } @@ -55037,23 +59703,23 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var n2 = i2(65212), r2 = i2(17214), o = i2(19724); t2.throttle = function(e3, t3) { return n2.operate(function(i3, n3) { - var a = null != t3 ? t3 : {}, s = a.leading, l = void 0 === s || s, u = a.trailing, d = void 0 !== u && u, c = false, p = null, _ = null, h = false, m = function() { - null == _ || _.unsubscribe(), _ = null, d && (T(), h && n3.complete()); + var a = null != t3 ? t3 : {}, s = a.leading, l = void 0 === s || s, u = a.trailing, c = void 0 !== u && u, d = false, p = null, _ = null, h = false, m = function() { + null == _ || _.unsubscribe(), _ = null, c && (T(), h && n3.complete()); }, g = function() { _ = null, h && n3.complete(); }, f = function(t4) { return _ = o.innerFrom(e3(t4)).subscribe(r2.createOperatorSubscriber(n3, m, g)); }, T = function() { - if (c) { - c = false; + if (d) { + d = false; var e4 = p; p = null, n3.next(e4), !h && f(e4); } }; i3.subscribe(r2.createOperatorSubscriber(n3, function(e4) { - c = true, p = e4, (!_ || _.closed) && (l ? T() : f(e4)); + d = true, p = e4, (!_ || _.closed) && (l ? T() : f(e4)); }, function() { - h = true, (!(d && c && _) || _.closed) && n3.complete(); + h = true, (!(c && d && _) || _.closed) && n3.complete(); })); }); }; @@ -55107,7 +59773,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this._notApplicable = this.reviveItem(e3, r2); } } }), o.extend(a, n2, true), e2.exports = a; }, 44911: (e2) => { - e2.exports = { expression: { AR_TP_AGENTSCOREPAIR: "AgentScorePair", AR_TP_AGENTSCOREPAIR_PROP_AGENT_DSC: "The agent to associate with the routing score.", AR_TP_AGENTSCOREPAIR_PROP_SCORE_DSC: "The preferred agent routing score to associate with the agent. Valid values are 0 to 100. Higher scores get routed to agents sooner when preferred agent routing is configured.", AR_TP_AUDIO: "Audio", AR_TP_BLN: "Boolean", AR_TP_STRINGKEYVALUEPAIR: "StringKeyValuePair", AR_TP_STRINGKEYVALUEPAIR_PROP_KEY_DSC: "A unique ID for the data pair.", AR_TP_STRINGKEYVALUEPAIR_PROP_VALUE_DSC: "The value for the data pair.", AR_TP_CHATGUEST: "ChatGuest", AR_TP_CHATGUEST_PROP_ID_DSC: "A unique ID for the guest.", AR_TP_CHATGUEST_PROP_DISPLAYNAME_DSC: "The display name for the guest.", AR_TP_CHATGUEST_PROP_AVATARIMAGEURL_DSC: "The url for the guest's avatar image.", AR_TP_CHATGUEST_PROP_ISAUTHENTICATED_DSC: "Whether or not authenticated mode was set when starting the chat.", AR_TP_CHATGUEST_PROP_CUSTOMFIELDS_DSC: "The collection of custom fields associated with the guest.", AR_TP_CHATGUEST_PROP_AUTHENTICATEDCUSTOMFIELDS_DSC: "The collection of authenticated custom fields populated when the guest is authenticated.", AR_TP_CUR: "Currency", AR_TP_CUR_PROP_AMOUNT_DSC: "The decimal amount for the Currency", AR_TP_CUR_PROP_CODE_DSC: "The three letter ISO 4217 code for the Currency", AR_TP_ASSIGNEDCUSTOMERINTENT: "AssignedCustomerIntent", AR_TP_ASSIGNEDCUSTOMERINTENT_PROP_CUSTOMERINTENT_DSC: "The assigned Customer Intent.", AR_TP_ASSIGNEDCUSTOMERINTENT_PROP_DATEMOSTRECENTLYASSIGNED_DSC: "The DateTime the Customer Intent was most recently assigned.", AR_TP_ASSIGNEDCUSTOMERSEGMENT: "AssignedCustomerSegment", AR_TP_ASSIGNEDCUSTOMERSEGMENT_PROP_CUSTOMERSEGMENT_DSC: "The assigned Customer Segment.", AR_TP_ASSIGNEDCUSTOMERSEGMENT_PROP_DATEASSIGNED_DSC: "The DateTime the Customer Segment was assigned.", AR_TP_CUSTOMERSEGMENT: "CustomerSegment", AR_TP_CUSTOMERSEGMENT_PROP_ID_DSC: "The ID of the Customer Segment.", AR_TP_CUSTOMERSEGMENT_PROP_DSC: "The name of the Customer Segment.", AR_TP_CUSTOMERINTENT: "CustomerIntent", AR_TP_CUSTOMERINTENT_PROP_ID_DSC: "The ID of the Customer Intent.", AR_TP_CUSTOMERINTENT_PROP_DSC: "The name of the Customer Intent.", AR_TP_CUSTOMERINTENT_PROP_CATEGORYID_DSC: "The ID of the category to which the Customer Intent belongs.", AR_TP_DTM: "DateTime", AR_TP_DATE: "Date", AR_TP_DEC: "Decimal", AR_TP_DIVISION: "Division", AR_TP_DIVISION_PROP_ID_DSC: "The ID of the division.", AR_TP_DIVISION_PROP_DSC: "The name of the division.", AR_TP_DUR: "Duration", AR_TP_LNG: "Integer", AR_TP_EMAIL: "Email", AR_TP_EMAIL_PROP_ID_DSC: "A unique ID for the email.", AR_TP_EMAIL_PROP_AUTOGENERATED_DSC: "Whether or not the email was auto-generated like an Out of Office reply.", AR_TP_EMAIL_PROP_SPAM_DSC: "Whether or not the email was marked as spam.", AR_TP_EMAIL_PROP_FROM_DSC: "The email from address.", AR_TP_EMAIL_PROP_TO_DSC: "The collection of email addresses specified in the email's To list.", AR_TP_EMAIL_PROP_CC_DSC: "The collection of email addresses specified in the email's Cc ( carbon copy ) list.", AR_TP_EMAIL_PROP_BCC_DSC: "The collection of email addresses specified in the email's Bcc ( blind carbon copy ) list.", AR_TP_EMAIL_PROP_SUBJECT_DSC: "The email subject.", AR_TP_EMAIL_PROP_DIRECTION_DSC: 'The email direction ( "inbound", "outbound" or "unknown" ).', AR_TP_EMAIL_PROP_REPLYTO_DSC: "The raw address where replies to this email should be sent.", AR_TP_EMAIL_PROP_ROUTE_DSC: "The email address of the email route which received this email. If not received by an email route, this will be NOT_SET.", AR_TP_EMAIL_PROP_BODY_DSC: "The email body as plain text.", AR_TP_EMAIL_PROP_HTMLBODY_DSC: "The email body as HTML.", AR_TP_EMAIL_PROP_ATTACHMENTS_DSC: "The collection of email attachments on this email.", AR_TP_EMAIL_PROP_DATETIMEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for the email.", AR_TP_EMAILADDRESS: "EmailAddress", AR_TP_EMAILADDRESS_PROP_DSC: "The friendly name for the email address.", AR_TP_EMAILADDRESS_PROP_ID_DSC: 'The full email address ID similar to "john.doe@company.com".', AR_TP_EMAILATTACHMENT: "EmailAttachment", AR_TP_EMAILATTACHMENT_PROP_ID_DSC: "The unique ID for the attachment.", AR_TP_EMAILATTACHMENT_PROP_CONTENTLENGTH_DSC: "The size of the attachment in bytes.", AR_TP_EMAILATTACHMENT_PROP_CONTENTTYPE_DSC: 'The content type of the attachment, typically in MIME format like "text/plain" or "text/html".', AR_TP_EMAILATTACHMENT_PROP_CONTENTURI_DSC: "The URI which indicates where the content of the attachment can be retrieved.", AR_TP_EMAILATTACHMENT_PROP_DSC: "The name of the attachment.", AR_TP_DRAFTEMAIL: "DraftEmail", AR_TP_DRAFTEMAIL_PROP_ATTACHMENTS_DSC: "The collection of attachments on the draft email.", AR_TP_DRAFTEMAIL_PROP_BCC_DSC: "The collection of email addresses specified in the draft email's Bcc ( blind carbon copy ) list.", AR_TP_DRAFTEMAIL_PROP_CC_DSC: "The collection of email addresses specified in the draft email's Cc ( carbon copy ) list.", AR_TP_DRAFTEMAIL_PROP_FROM_DSC: "The draft email from address.", AR_TP_DRAFTEMAIL_PROP_HEADERS_DSC: "Additional email headers not represented by other properties such as subject, to, cc, or bcc. This is a JSON object whose keys are header names.", AR_TP_DRAFTEMAIL_PROP_SUBJECT_DSC: "The draft email subject.", AR_TP_DRAFTEMAIL_PROP_TO_DSC: "The collection of email addresses specified in the draft email's To list.", AR_TP_DRAFTEMAILADDRESS: "DraftEmailAddress", AR_TP_DRAFTEMAILADDRESS_PROP_EMAIL_DSC: 'The full email address ID similar to "john.doe@company.com".', AR_TP_DRAFTEMAILADDRESS_PROP_DSC: "The friendly name for the email address.", AR_TP_DRAFTEMAILATTACHMENT: "DraftEmailAttachment", AR_TP_DRAFTEMAILATTACHMENT_PROP_ATTACHMENTID_DSC: "The attachment identifier.", AR_TP_DRAFTEMAILATTACHMENT_PROP_CONTENTLENGTH_DSC: "The size of the attachment in bytes.", AR_TP_DRAFTEMAILATTACHMENT_PROP_CONTENTTYPE_DSC: 'The content type of the attachment, typically in MIME format like "text/plain" or "text/html".', AR_TP_DRAFTEMAILATTACHMENT_PROP_CONTENTURI_DSC: "The URI which indicates where the content of the attachment can be retrieved.", AR_TP_DRAFTEMAILATTACHMENT_PROP_DSC: "The name of the attachment.", AR_TP_EXTERNALORGANIZATION: "ExternalOrganization", AR_TP_EXTERNALORGANIZATION_PROP_ID_DSC: "A unique ID for the organization.", AR_TP_EXTERNALORGANIZATION_PROP_CREATEDATETIMEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the organization entry was created", AR_TP_EXTERNALORGANIZATION_PROP_MODIFYDATETIMEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the organization entry was last updated", AR_TP_EXTERNALORGANIZATION_PROP_KIND_DSC: 'The internal classification for the record type. This will be "externalOrg".', AR_TP_EXTERNALORGANIZATION_PROP_DSC: "The displayable name of the organization.", AR_TP_EXTERNALORGANIZATION_PROP_COMPANYTYPE_DSC: 'The company type of the organization. The values are unrestricted, but often values such as "Customer - Direct", "Prospect", "Partner" are used.', AR_TP_EXTERNALORGANIZATION_PROP_INDUSTRY_DSC: 'The industry of the organization. The values are unrestricted, but often values such as "Telecom", "Health Care", "Tax Prep", etc are used.', AR_TP_EXTERNALORGANIZATION_PROP_PRIMARYCONTACTID_DSC: "Returns a NOT_SET String at flow runtime. This property is being kept for backward compatibility but there no primary contact ID associated with a Genesys Cloud external organization as of March 24, 2025.", AR_TP_EXTERNALORGANIZATION_PROP_ADDRESS_DSC: "The primary address of the organization.", AR_TP_EXTERNALORGANIZATION_PROP_PHNBR_DSC: "The primary phone number of the organization.", AR_TP_EXTERNALORGANIZATION_PROP_FAXNUMBER_DSC: "The fax number of the organization.", AR_TP_EXTERNALORGANIZATION_PROP_EMPLOYEECOUNT_DSC: "The number of employees in the organization.", AR_TP_EXTERNALORGANIZATION_PROP_REVENUE_DSC: "The average revenue of the organization. The values are unrestricted but often the data entered reflects the annual amount.", AR_TP_EXTERNALORGANIZATION_PROP_TAGS_DSC: "Terms used to describe the organization. Tags are often used to make organization records easily searchable/filterable.", AR_TP_EXTERNALORGANIZATION_PROP_TICKERS_DSC: "Stock ticker symbols associated with the organization.", AR_TP_EXTERNALORGANIZATION_PROP_TWITTERINFO_DSC: "The Twitter messaging system user information for the organization.", AR_TP_EXTERNALORGANIZATION_PROP_EXTERNALSYSTEMURL_DSC: "The external system URL of the organization.", AR_TP_EXTERNALORGANIZATION_PROP_WEBSITES_DSC: "Websites associated with the organization", AR_TP_EXTERNALORGANIZATION_PROP_DIVISIONID_DSC: "The identifier of the division to which the external organization belongs.", AR_TP_EXTERNALADDRESS: "ExternalAddress", AR_TP_EXTERNALADDRESS_PROP_ADDRESS1_DSC: "The first address line.", AR_TP_EXTERNALADDRESS_PROP_ADDRESS2_DSC: "The second address line.", AR_TP_EXTERNALADDRESS_PROP_CITY_DSC: "The City field of the Address", AR_TP_EXTERNALADDRESS_PROP_STATE_DSC: "The State field of the Address", AR_TP_EXTERNALADDRESS_PROP_POSTALCODE_DSC: "The Postal Code field of the Address", AR_TP_EXTERNALADDRESS_PROP_COUNTRYCODE_DSC: "The Country Code field of the Address", AR_TP_CARD: "Card", AR_TP_CARD_PROP_TITLE_DSC: "The card title.", AR_TP_CARD_PROP_TITLE_DISP_VAL: "Title", AR_TP_CARD_PROP_DESCRIPTION_DSC: "The card description.", AR_TP_CARD_PROP_DESCRIPTION_DISP_VAL: "Description", AR_TP_CARD_PROP_IMAGE_DSC: "The image to use on the card.", AR_TP_CARD_PROP_IMAGE_DISP_VAL: "Image", AR_TP_CARD_PROP_BUTTONS_DSC: "The buttons to use for this card.", AR_TP_CARD_PROP_BUTTONS_DISP_VAL: "Buttons", AR_TP_CHOICE: "Choice", AR_TP_CHOICE_PROP_LABEL_DSC: 'A display label. When the choice type is "postback" and the value comes from a list or dynamic list slot type on an Ask for Slot action, this property cannot be configured since the label will come from the value configured on the list or dynamic list slot type in the Natural Language Understanding section based on the language in which the flow is running.', AR_TP_CHOICE_PROP_LABEL_DISP_VAL: "Alternative button label", AR_TP_CHOICE_PROP_VALUE_DSC: "The value that will be used for this choice at runtime.", AR_TP_CHOICE_PROP_VALUE_DISP_VAL: "Button value", AR_TP_CHOICE_PROP_TYPE_DSC: 'The type property defines how the value on this choice should be treated at flow runtime. "postback" indicates the value is returned to the flow at flow runtime and "url" indicates the choice value is a URL and is not returned to the flow at flow runtime.', AR_TP_CHOICE_PROP_TYPE_DISP_VAL: "Type", AR_TP_CHOICE_PROP_COMMAND_DSC: "The command value that will be used for this choice at runtime.", AR_TP_CHOICE_PROP_COMMAND_DISP_VAL: "Skip Response", AR_TP_QUICKREPLIES: "QuickReplies", AR_TP_QUICKREPLIES_PROP_BUTTONS_DSC: "The buttons to use as quick replies. The order of the choices in this array determine the order in which they are presented.", AR_TP_QUICKREPLIES_PROP_BUTTONS_DISP_VAL: "Buttons", AR_TP_QUICKREPLIES_PROP_QUICKREPLYSUMMARY_DSC: 'Summary displayed in supporting messaging platforms after the user selects a quick reply. e.g. "Thanks for your selection"', AR_TP_QUICKREPLIES_PROP_QUICKREPLYSUMMARY_DISP_VAL: "Quick Reply Summary", AR_TP_CAROUSEL: "Carousel", AR_TP_CAROUSEL_PROP_CARDS_DSC: "The cards to use for this carousel.", AR_TP_CHOOSER: "Chooser", AR_TP_CHOOSER_PROP_PRESENTATION_DSC: "How to present the value choices.", AR_TP_CHOOSER_PROP_CAROUSEL_DSC: 'If the presentation property is set to "carousel", this specifies the carousel to use at flow runtime for the chooser.', AR_TP_CHOOSER_PROP_QUICKREPLIES_DSC: 'If the presentation property is set to "quickReplies", this specifies the quick replies to use at flow runtime for the chooser.', AR_TP_CHOOSER_PROP_TIMEPICKER_DSC: 'If the presentation property is set to "timePicker", this specifies the TimePicker to use at flow runtime for the chooser.', AR_TP_CHOOSER_PROP_LISTPICKER_DSC: 'If the presentation property is set to "listPicker", this specifies the list picker to use at flow runtime for the chooser.', AR_TP_EXTERNALFACEBOOKINFO: "ExternalFacebookInfo", AR_TP_EXTERNALFACEBOOKINFO_PROP_DISPLAYNAME_DSC: "The Facebook messaging system user display name for the contact.", AR_TP_EXTERNALFACEBOOKINFO_PROP_IDS_DSC: "Facebook messaging system IDs for the contact.", AR_TP_EXTERNALFACEBOOKID: "ExternalFacebookId", AR_TP_EXTERNALFACEBOOKID_PROP_SCOPEDID_DSC: "A Facebook messaging system scoped ID for the contact.", AR_TP_EXTERNALLINEINFO: "ExternalLineInfo", AR_TP_EXTERNALLINEINFO_PROP_DISPLAYNAME_DSC: "The LINE messaging system user display name for the contact.", AR_TP_EXTERNALLINEINFO_PROP_IDS_DSC: "LINE messaging system IDs for the contact.", AR_TP_EXTERNALLINEID: "ExternalLineId", AR_TP_EXTERNALLINEID_PROP_USERID_DSC: "A LINE messaging system user ID for the contact.", AR_TP_EXTERNALTWITTERINFO: "ExternalTwitterInfo", AR_TP_EXTERNALTWITTERINFO_PROP_ID_DSC: "The Twitter messaging system user ID for the contact.", AR_TP_EXTERNALTWITTERINFO_PROP_DSC: "The Twitter messaging system user display name for the contact.", AR_TP_EXTERNALTWITTERINFO_PROP_SCREENNAME_DSC: "The Twitter messaging system user screen name for the contact.", AR_TP_EXTERNALPHONENUMBER: "ExternalPhoneNumber", AR_TP_EXTERNALPHONENUMBER_PROP_DISPLAY_DSC: 'The number suitable for displaying to a user; eg, "(212) 555-1212", "1-800-CALLNOW"', AR_TP_EXTERNALPHONENUMBER_PROP_EXTENSION_DSC: "The extension of the phone number, if any.", AR_TP_EXTERNALPHONENUMBER_PROP_USERINPUT_DSC: "The user input field of the phone number.", AR_TP_EXTERNALPHONENUMBER_PROP_E164_DSC: 'The E.164 formatted String for a "tel" scheme phone number with a valid E.164 number, otherwise a NOT_SET String.', AR_TP_EXTERNALPHONENUMBER_PROP_COUNTRYCODE_DSC: "The Country Code field of the phone number.", AR_TP_EXTERNALPHONENUMBER_PROP_ACCEPTSSMS_DSC: "True if this number can accept SMS messages.", AR_TP_EXTERNALWHATSAPPINFO: "ExternalWhatsAppInfo", AR_TP_EXTERNALWHATSAPPINFO_PROP_DISPLAYNAME_DSC: "The WhatsApp messaging system user display name for the contact.", AR_TP_EXTERNALWHATSAPPINFO_PROP_PHNBR_DSC: "The WhatsApp messaging system phone number for the contact.", AR_TP_EXTERNALCONTACT: "ExternalContact", AR_TP_EXTERNALCONTACT_PROP_ID_DSC: "A unique ID for the contact.", AR_TP_EXTERNALCONTACT_PROP_CREATEDATETIMEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the contact entry was created", AR_TP_EXTERNALCONTACT_PROP_MODIFYDATETIMEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the contact entry was last updated", AR_TP_EXTERNALCONTACT_PROP_KIND_DSC: 'The internal classification for the record type. For external contacts, the kind will be "contact".', AR_TP_EXTERNALCONTACT_PROP_DIVISIONID_DSC: "The identifier of the division to which the external contact belongs.", AR_TP_EXTERNALCONTACT_PROP_EXTERNALORGANIZATION_DSC: "The organization for this contact.", AR_TP_EXTERNALCONTACT_PROP_FACEBOOKINFO_DSC: "The Facebook messaging system user information for the contact.", AR_TP_EXTERNALCONTACT_PROP_FIRSTNAME_DSC: "The first name of the contact.", AR_TP_EXTERNALCONTACT_PROP_MIDDLENAME_DSC: "The middle name of the contact.", AR_TP_EXTERNALCONTACT_PROP_LASTNAME_DSC: "The last name of the contact.", AR_TP_EXTERNALCONTACT_PROP_LINEINFO_DSC: "The LINE messaging system user information for the contact.", AR_TP_EXTERNALCONTACT_PROP_SALUTATION_DSC: "The salutation suggested when addressing the contact.", AR_TP_EXTERNALCONTACT_PROP_TITLE_DSC: 'The title of the contact. The values are unrestricted, but often values such as "Vice President", "Director", "Employee" are used.', AR_TP_EXTERNALCONTACT_PROP_TWITTERINFO_DSC: "The Twitter messaging system user information for the contact.", AR_TP_EXTERNALCONTACT_PROP_WHATSAPPINFO_DSC: "The WhatsApp messaging system user information for the contact.", AR_TP_EXTERNALCONTACT_PROP_WORKPHONE_DSC: "The work phone number of the contact.", AR_TP_EXTERNALCONTACT_PROP_CELLPHONE_DSC: "The cell phone number of the contact.", AR_TP_EXTERNALCONTACT_PROP_HOMEPHONE_DSC: "The home phone number of the contact.", AR_TP_EXTERNALCONTACT_PROP_OTHERPHONE_DSC: "The other phone number of the contact.", AR_TP_EXTERNALCONTACT_PROP_WORKEMAIL_DSC: "The work email address of the contact.", AR_TP_EXTERNALCONTACT_PROP_PERSONALEMAIL_DSC: "The personal email address of the contact.", AR_TP_EXTERNALCONTACT_PROP_OTHEREMAIL_DSC: "Other email address of the contact.", AR_TP_EXTERNALCONTACT_PROP_ADDRESS_DSC: "The address of the contact.", AR_TP_EXTERNALCONTACT_PROP_SURVEYOPTOUT_DSC: "True if this contact has opted out of survey invites.", AR_TP_EXTERNALCONTACT_PROP_EXTERNALSYSTEMURL_DSC: "The external system URL of the contact.", AR_TP_EXTERNALCONTACT_PROP_TYPE_DSC: "The type of contact.", AR_TP_EXTERNALCONTACT_PROP_INSTAGRAMINFO_DSC: "User information for an Instagram account.", AR_TP_EXTERNALCONTACT_PROP_EXTERNALIDINFO_DSC: "A list of external identifiers.", AR_TP_EXTERNALCONTACT_PROP_APPLEINFO_DSC: "User information for Apple accounts.", AR_TP_EXTERNALCONTACT_PROP_CANONICALCONTACTID_DSC: "The canonical contact ID if this contact has been merged.", AR_TP_EXTERNALCONTACT_PROP_MERGEDFROM_DSC: "List of contact IDs that were merged from to create this contact.", AR_TP_EXTERNALCONTACT_PROP_MERGEDTO_DSC: "The contact ID this contact was merged to.", AR_TP_EXTERNALCONTACT_PROP_MERGESET_DSC: "Set of contact IDs that are part of the same merge group.", AR_TP_EXTERNALCONTACT_PROP_CUSTOMFIELDS_DSC: "Custom fields.", AR_TP_EXTERNALINSTAGRAMINFO: "ExternalInstagramInfo", AR_TP_EXTERNALINSTAGRAMINFO_PROP_DISPLAYNAME_DSC: "The display name of the person who owns this Instagram account.", AR_TP_EXTERNALINSTAGRAMINFO_PROP_HANDLE_DSC: "The handle of the person who owns this Instagram account.", AR_TP_EXTERNALINSTAGRAMINFO_PROP_IDS_DSC: "Scoped ID for an Instagram user interacting with a page or app.", AR_TP_EXTERNALINSTAGRAMSCOPEDID: "ExternalInstagramScopedId", AR_TP_EXTERNALINSTAGRAMSCOPEDID_PROP_SCOPEDID_DSC: "The unique page/app-specific scopedId for the user.", AR_TP_EXTERNALAPPLEINFO: "ExternalAppleInfo", AR_TP_EXTERNALAPPLEINFO_PROP_ID_DSC: "The Apple opaque identifier.", AR_TP_EXTERNALIDINFO: "ExternalIdInfo", AR_TP_EXTERNALIDINFO_PROP_EXTERNALSOURCE_DSC: "The external source of the identifier.", AR_TP_EXTERNALIDINFO_PROP_VALUE_DSC: "The external identifier value.", AR_TP_EXTERNALSOURCE: "ExternalSource", AR_TP_EXTERNALSOURCE_PROP_ID_DSC: "The globally unique identifier for the external source.", AR_TP_EXTERNALSOURCE_PROP_DSC: "The name of the external source.", AR_TP_EXTERNALSOURCE_PROP_ACTIVE_DSC: "Whether the external source is active.", AR_TP_EXTERNALSOURCE_PROP_LINKCONFIGURATION_DSC: "The link configuration of the external source.", AR_TP_EXTERNALLINKCONFIGURATION: "ExternalLinkConfiguration", AR_TP_EXTERNALLINKCONFIGURATION_PROP_URITEMPLATE_DSC: "The URI template for the link configuration.", AR_TP_IMAGE: "Image", AR_TP_IMAGE_PROP_ID_DSC: "The image ID. If an ID is present, this will be the identifier of the Canned Response image response asset. Otherwise if this is an image created from a MakeImageFromUrl call, the ID will be a NOT_SET String.", AR_TP_IMAGE_PROP_DSC: "The image name. If a name is present, this will be the name of the Canned Response image response asset. Otherwise if this is an image created from a MakeImageFromUrl call, the name will be a NOT_SET String.", AR_TP_IMAGE_PROP_URL_DSC: "The universal resource locator that specifies the location of the image.", AR_TP_EMPTYJSON: "EmptyJson", AR_TP_JSON: "JSON", AR_TP_FORMINPUT: "FormInput", AR_TP_FORMINPUT_PROP_TITLE_DSC: "The main text displayed for the input field.", AR_TP_FORMINPUT_PROP_TITLE_DISP_VAL: "Title", AR_TP_FORMINPUT_PROP_SUBTITLE_DSC: "Additional text providing more details about the input field.", AR_TP_FORMINPUT_PROP_SUBTITLE_DISP_VAL: "Subtitle", AR_TP_FORMINPUT_PROP_PLACEHOLDERTEXT_DSC: "Placeholder text for input field.", AR_TP_FORMINPUT_PROP_PLACEHOLDERTEXT_DISP_VAL: "Placeholder Text", AR_TP_FORMINPUT_PROP_ISMULTIPLELINE_DSC: "Whether the input should allow multiple lines of text.", AR_TP_FORMINPUT_PROP_ISMULTIPLELINE_DISP_VAL: "Multiple Line", AR_TP_FORMINPUT_PROP_ISREQUIRED_DSC: "Whether the input field is required to be filled in.", AR_TP_FORMINPUT_PROP_ISREQUIRED_DISP_VAL: "Required", AR_TP_JOURNEYAPP: "JourneyApp", AR_TP_JOURNEYAPP_PROP_DSC: 'The name of the application such as "mybankingapp".', AR_TP_JOURNEYAPP_PROP_NAMESPACE_DSC: 'The namespace of the application such as "com.genesys.bancodinero".', AR_TP_JOURNEYAPP_PROP_VERSION_DSC: 'The version of the application such as "5.9.27".', AR_TP_JOURNEYAPP_PROP_BUILDNUMBER_DSC: 'The build number of the application such as "701".', AR_TP_JOURNEYACTION: "JourneyAction", AR_TP_JOURNEYACTION_PROP_ID_DSC: "A unique ID for the journey action.", AR_TP_JOURNEYACTION_PROP_ACTIONMAP_DSC: "The journey action map associated with the journey action.", AR_TP_JOURNEYACTIONMAP: "JourneyActionMap", AR_TP_JOURNEYACTIONMAP_PROP_ID_DSC: "A unique ID for the journey action map.", AR_TP_JOURNEYACTIONMAP_PROP_VERSION_DSC: "The version of the journey action map.", AR_TP_JOURNEYBROWSER: "JourneyBrowser", AR_TP_JOURNEYBROWSER_PROP_FAMILY_DSC: 'The browser family such as "Chrome", "Firefox" or "Safari".', AR_TP_JOURNEYBROWSER_PROP_VERSION_DSC: 'The browser version as a string such as "68.0.3440.84".', AR_TP_JOURNEYBROWSER_PROP_LANG_DSC: "The language the browser is set to. Must conform to BCP 47.", AR_TP_JOURNEYBROWSER_PROP_FINGERPRINT_DSC: "Fingerprint generated by looking at the individual browser features.", AR_TP_JOURNEYBROWSER_PROP_ISMOBILE_DSC: "Flag that is true for mobile devices.", AR_TP_JOURNEYBROWSER_PROP_VIEWHEIGHT_DSC: "Browser's viewport height.", AR_TP_JOURNEYBROWSER_PROP_VIEWWIDTH_DSC: "Browser's viewport width.", AR_TP_JOURNEYBROWSER_PROP_FEATURESFLASH_DSC: "Whether Adobe Flash is installed.", AR_TP_JOURNEYBROWSER_PROP_FEATURESJAVA_DSC: "Whether Java is installed.", AR_TP_JOURNEYBROWSER_PROP_FEATURESPDF_DSC: "Whether the browser recognizes PDF (Portable Document Format) files.", AR_TP_JOURNEYBROWSER_PROP_FEATURESWEBRTC_DSC: "Whether WebRTC is supported.", AR_TP_JOURNEYCAMPAIGN: "JourneyCampaign", AR_TP_JOURNEYCAMPAIGN_PROP_CONTENT_DSC: 'Differentiate ads or links that point to the same URL such as "textlink".', AR_TP_JOURNEYCAMPAIGN_PROP_MEDIUM_DSC: 'Identify a medium such as email or cost-per-click ( "CPC" ).', AR_TP_JOURNEYCAMPAIGN_PROP_DSC: 'Identify a specific product promotion or strategic campaign such as "320banner".', AR_TP_JOURNEYCAMPAIGN_PROP_SOURCE_DSC: 'Identify a search engine, newsletter name, or other source such as "Google".', AR_TP_JOURNEYCAMPAIGN_PROP_TERM_DSC: 'The keywords for this ad such as "running+shoes". This string will be URL encoded.', AR_TP_JOURNEYCAMPAIGN_PROP_CLICKID_DSC: "The click ID (unique number that is generated when a potential customer clicks on an affiliate link).", AR_TP_JOURNEYCAMPAIGN_PROP_NETWORK_DSC: "The ad network to which the click ID belongs.", AR_TP_JOURNEYCONTEXT: "JourneyContext", AR_TP_JOURNEYCONTEXT_PROP_CUSTOMER_DSC: "The journey customer associated with the journey context.", AR_TP_JOURNEYCONTEXT_PROP_CUSTOMERSESSION_DSC: "The journey customer session associated with the journey context.", AR_TP_JOURNEYCONTEXT_PROP_TRIGGERINGACTION_DSC: "The journey action that triggered the journey context.", AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE: "JourneyCustomEventAttribute", AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE_PROP_DSC: "The name of the custom event attribute.", AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE_PROP_DATATYPE_DSC: 'The data type of the custom attributes such as "string", "boolean" or "number".', AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE_PROP_VALUE_DSC: "The value of the custom attribute.", AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST: "JourneyCustomEventAttributeList", AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST_PROP_DSC: "The name of the custom event attribute list.", AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST_PROP_DATATYPE_DSC: 'The data type of the custom attributes such as "string", "boolean" or "number".', AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST_PROP_VALUES_DSC: "The list of custom event attribute values.", AR_TP_JOURNEYCUSTOMER: "JourneyCustomer", AR_TP_JOURNEYCUSTOMER_PROP_ID_DSC: "A unique ID for the journey customer.", AR_TP_JOURNEYCUSTOMER_PROP_IDTYPE_DSC: 'The type of the journey customer such as "cookie", "email" or "phone".', AR_TP_JOURNEYCUSTOMERSESSION: "JourneyCustomerSession", AR_TP_JOURNEYCUSTOMERSESSION_PROP_ID_DSC: "A unique ID for the journey customer session.", AR_TP_JOURNEYCUSTOMERSESSION_PROP_TYPE_DSC: "The type of the journey customer session.", AR_TP_JOURNEYDEVICE: "JourneyDevice", AR_TP_JOURNEYDEVICE_PROP_CATEGORY_DSC: 'The device category such as "desktop", "mobile", "tablet" or "other".', AR_TP_JOURNEYDEVICE_PROP_TYPE_DSC: 'Device type such as "iPad", "iPhone" or "Other".', AR_TP_JOURNEYDEVICE_PROP_ISMOBILE_DSC: "Flag that is true for mobile devices.", AR_TP_JOURNEYDEVICE_PROP_SCREENHEIGHT_DSC: "Device's screen height measured in logical (device-independent) pixels.", AR_TP_JOURNEYDEVICE_PROP_SCREENWIDTH_DSC: "Device's screen width measured in logical (device-independent) pixels.", AR_TP_JOURNEYDEVICE_PROP_FINGERPRINT_DSC: "Fingerprint generated by looking at the individual device features.", AR_TP_JOURNEYDEVICE_PROP_MANUFACTURER_DSC: "The device's manufacturer.", AR_TP_JOURNEYDEVICE_PROP_OSFAMILY_DSC: "Operating system family.", AR_TP_JOURNEYDEVICE_PROP_OSVERSION_DSC: "Operating system version.", AR_TP_JOURNEYDEVICE_PROP_SCREENDENSITY_DSC: "Device's screen density measured as a scale factor where a value of 1 represents a baseline 1:1 ratio of pixels to logical (device-independent) pixels.", AR_TP_JOURNEYGEOLOCATION: "JourneyGeolocation", AR_TP_JOURNEYGEOLOCATION_PROP_COUNTRY_DSC: "Geolocation's ISO 3166-1 alpha-2 country code.", AR_TP_JOURNEYGEOLOCATION_PROP_COUNTRYNAME_DSC: "Geolocation's country name.", AR_TP_JOURNEYGEOLOCATION_PROP_LATITUDE_DSC: "Geolocation's latitude.", AR_TP_JOURNEYGEOLOCATION_PROP_LONGITUDE_DSC: "Geolocation's longitude.", AR_TP_JOURNEYGEOLOCATION_PROP_LOCALITY_DSC: "Geolocation's locality or city.", AR_TP_JOURNEYGEOLOCATION_PROP_POSTALCODE_DSC: "Geolocation's postal code or ZIP code.", AR_TP_JOURNEYGEOLOCATION_PROP_REGION_DSC: "Geolocation's ISO-3166-2 region code.", AR_TP_JOURNEYGEOLOCATION_PROP_REGIONNAME_DSC: "Geolocation's region name.", AR_TP_JOURNEYGEOLOCATION_PROP_SOURCE_DSC: "The source that was used to determine the geolocation information.", AR_TP_JOURNEYGEOLOCATION_PROP_TIMEZONE_DSC: "Geolocation's timezone.", AR_TP_JOURNEYNETWORKCONNECTIVITY: "JourneyNetworkConnectivity", AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_CARRIER_DSC: "The name of the mobile carrier.", AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_BLUETOOTHENABLED_DSC: "Whether Bluetooth is enabled.", AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_CELLULARENABLED_DSC: "Whether cellular data is enabled.", AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_WIFIENABLED_DSC: "Whether Wifi is enabled.", AR_TP_JOURNEYSESSIONOUTCOMEACHIEVEMENT: "JourneySessionOutcomeAchievement", AR_TP_JOURNEYSESSIONOUTCOMEACHIEVEMENT_PROP_ID_DSC: "The ID of the achieved outcome.", AR_TP_JOURNEYSESSIONOUTCOMEACHIEVEMENT_PROP_ACHIEVEDDATE_DSC: "Timestamp indicating when the outcome was achieved.", AR_TP_JOURNEYSDKLIBRARY: "JourneySdkLibrary", AR_TP_JOURNEYSDKLIBRARY_PROP_DSC: "The name of the software development kit library.", AR_TP_JOURNEYSDKLIBRARY_PROP_VERSION_DSC: "The version of the software development kit library.", AR_TP_JOURNEYOUTCOME: "JourneyOutcome", AR_TP_JOURNEYOUTCOME_PROP_ID_DSC: "The ID of the journey outcome.", AR_TP_JOURNEYOUTCOME_PROP_DESCRIPTION_DSC: "A description of the journey outcome.", AR_TP_JOURNEYOUTCOME_PROP_DISPLAYNAME_DSC: "The display name of the journey outcome.", AR_TP_JOURNEYOUTCOME_PROP_VERSION_DSC: "The version of the journey outcome.", AR_TP_JOURNEYOUTCOME_PROP_CREATEDDATEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the journey outcome was created.", AR_TP_JOURNEYOUTCOME_PROP_MODIFIEDDATEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the journey outcome was last modified.", AR_TP_JOURNEYOUTCOME_PROP_ISACTIVE_DSC: "Whether or not the journey outcome is active.", AR_TP_JOURNEYOUTCOMESCORE: "JourneyOutcomeScore", AR_TP_JOURNEYOUTCOMESCORE_PROP_ID_DSC: "The ID of the journey outcome.", AR_TP_JOURNEYOUTCOMESCORE_PROP_PROBABILITY_DSC: "A Decimal value that is >= 0.0 and <= 1.0 which represents the maximum probability reached in the journey session.", AR_TP_JOURNEYOUTCOMESCORE_PROP_SESSIONMAXPROBABILITY_DSC: "A Decimal value that is >= 0.0 and <= 1.0 which represents the likelihood of a customer reaching or achieving a given outcome.", AR_TP_JOURNEYPAGE: "JourneyPage", AR_TP_JOURNEYPAGE_PROP_URL_DSC: "The page URL.", AR_TP_JOURNEYPAGE_PROP_TITLE_DSC: "The title of the page.", AR_TP_JOURNEYPAGE_PROP_DOMAIN_DSC: "The domain of the page's URL.", AR_TP_JOURNEYPAGE_PROP_FRAGMENT_DSC: "Fragment or hash of the page's URL.", AR_TP_JOURNEYPAGE_PROP_HOSTNAME_DSC: "Hostname of the page's URL.", AR_TP_JOURNEYPAGE_PROP_KEYWORDS_DSC: "Keywords from the HTML {@code } tag of the page.", AR_TP_JOURNEYPAGE_PROP_LANG_DSC: "ISO 639-1 language code for the page as defined in the {@code } tag.", AR_TP_JOURNEYPAGE_PROP_PATHNAME_DSC: "Path name of the page for the event.", AR_TP_JOURNEYPAGE_PROP_QUERYSTRING_DSC: "Query string that is passed to the page in the current event.", AR_TP_JOURNEYPAGE_PROP_BREADCRUMB_DSC: "Hierarchy of the current page in relation to the website's structure.", AR_TP_JOURNEYREFERRER: "JourneyReferrer", AR_TP_JOURNEYREFERRER_PROP_URL_DSC: "Referrer URL.", AR_TP_JOURNEYREFERRER_PROP_DOMAIN_DSC: "Referrer URL domain.", AR_TP_JOURNEYREFERRER_PROP_HOSTNAME_DSC: "Referrer URL hostname.", AR_TP_JOURNEYREFERRER_PROP_KEYWORDS_DSC: 'A URI encoded string that contains referrer keywords delimited by a "+" character.', AR_TP_JOURNEYREFERRER_PROP_PATHNAME_DSC: "Referrer URL pathname.", AR_TP_JOURNEYREFERRER_PROP_QUERYSTRING_DSC: "Referrer URL queryString.", AR_TP_JOURNEYREFERRER_PROP_FRAGMENT_DSC: "Referrer URL fragment.", AR_TP_JOURNEYREFERRER_PROP_DSC: 'Name of referrer such as "InfoSpace", "Google" or "Yahoo!".', AR_TP_JOURNEYREFERRER_PROP_MEDIUM_DSC: 'Type of referrer such as "email", "internal", "paid", "search", "social" or "unknown".', AR_TP_JOURNEYSEGMENT: "JourneySegment", AR_TP_JOURNEYSEGMENT_PROP_ID_DSC: "The ID of the journey segment.", AR_TP_JOURNEYSEGMENT_PROP_COLOR_DSC: "The hexadecimal color value of the segment.", AR_TP_JOURNEYSEGMENT_PROP_CREATEDDATEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the journey segment was created.", AR_TP_JOURNEYSEGMENT_PROP_DESCRIPTION_DSC: "The description of the journey segment.", AR_TP_JOURNEYSEGMENT_PROP_DISPLAYNAME_DSC: "The display name of the journey segment.", AR_TP_JOURNEYSEGMENT_PROP_ISACTIVE_DSC: "Whether or not the journey segment is active.", AR_TP_JOURNEYSEGMENT_PROP_MODIFIEDDATEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the journey segment was last modified.", AR_TP_JOURNEYSEGMENT_PROP_SHOULDDISPLAYTOAGENT_DSC: "Whether or not the segment should be displayed to agent/supervisor users.", AR_TP_JOURNEYSEGMENT_PROP_VERSION_DSC: "The version of the journey segment.", AR_TP_JOURNEYSESSIONSEGMENTASSIGNMENT: "JourneySessionSegmentAssignment", AR_TP_JOURNEYSESSIONSEGMENTASSIGNMENT_PROP_ID_DSC: "The ID of the assigned segment.", AR_TP_JOURNEYSESSIONSEGMENTASSIGNMENT_PROP_ASSIGNEDDATE_DSC: "Timestamp indicating when the segment was assigned.", AR_TP_JOURNEYSESSION: "JourneySession", AR_TP_JOURNEYSESSION_PROP_ID_DSC: "The ID of the journey session.", AR_TP_JOURNEYSESSION_PROP_CREATEDDATE_DSC: "Timestamp indicating when the session was created.", AR_TP_JOURNEYSESSION_PROP_CUSTOMERID_DSC: "Primary ID of the customer in the source from which the events for the session originate.", AR_TP_JOURNEYSESSION_PROP_CUSTOMERIDTYPE_DSC: 'Type of source customer ID such as "email", "phone" or "salesforce".', AR_TP_JOURNEYSESSION_PROP_DIVISIONIDS_DSC: "This reflects the division IDs that are associated with this Journey Session.", AR_TP_JOURNEYSESSION_PROP_TYPE_DSC: 'The session type or category such as "atm", "delivery", "ticket" or "web".', AR_TP_JOURNEYSESSION_PROP_EXTERNALID_DSC: "Unique ID in the external system from which the events for the session originate.", AR_TP_JOURNEYSESSION_PROP_EXTERNALURL_DSC: "A URL that identifies an external system of record resource that may have more detailed information on the session.", AR_TP_JOURNEYSESSION_PROP_OUTCOMEACHIEVEMENTS_DSC: "A list of outcome achievements by the customer in the session.", AR_TP_JOURNEYSESSION_PROP_SEGMENTASSIGNMENTS_DSC: "A list of segment assignments to the customer in the session.", AR_TP_JOURNEYSESSION_PROP_ATTRIBUTES_DSC: "Attributes projected from the session's event stream.", AR_TP_JOURNEYSESSION_PROP_ATTRIBUTELISTS_DSC: "List-type attributes projected from the session's event stream.", AR_TP_JOURNEYSESSION_PROP_AWAYDATE_DSC: "Timestamp indicating when the visitor should be considered as away.", AR_TP_JOURNEYSESSION_PROP_BROWSER_DSC: "The customer's browser.", AR_TP_JOURNEYSESSION_PROP_DEVICE_DSC: "The customer's device.", AR_TP_JOURNEYSESSION_PROP_GEOLOCATION_DSC: "The customer's geolocation.", AR_TP_JOURNEYSESSION_PROP_IDLEDATE_DSC: "UTC DateTime indicating when the visitor should be considered as idle.", AR_TP_JOURNEYSESSION_PROP_IPADDRESS_DSC: "The customer's IP address.", AR_TP_JOURNEYSESSION_PROP_IPORGANIZATION_DSC: "The customer's IP-based organization or ISP name.", AR_TP_JOURNEYSESSION_PROP_LASTPAGE_DSC: "The web page where the customer's last web interaction occurred.", AR_TP_JOURNEYSESSION_PROP_MKTCAMPAIGN_DSC: "Marketing / traffic source information.", AR_TP_JOURNEYSESSION_PROP_REFERRER_DSC: "Identifies the page URL that originally generated the request for the current page being viewed.", AR_TP_JOURNEYSESSION_PROP_SEARCHTERMS_DSC: "The search terms associated with the journey session.", AR_TP_JOURNEYSESSION_PROP_USERAGENTSTRING_DSC: "String identifying the user agent.", AR_TP_JOURNEYSESSION_PROP_DURATIONINSECONDS_DSC: "Indicates how long the session has been active (valid for an individual device).", AR_TP_JOURNEYSESSION_PROP_EVENTCOUNT_DSC: "The count of all events performed during the session.", AR_TP_JOURNEYSESSION_PROP_PAGEVIEWCOUNT_DSC: "The count of all pageviews performed during the session.", AR_TP_JOURNEYSESSION_PROP_SCREENVIEWCOUNT_DSC: "The count of all screenviews performed during the session.", AR_TP_JOURNEYSESSION_PROP_APP_DSC: "The application for this session. If no application is associated with this session, accessing this property will return NOT_SET.", AR_TP_JOURNEYSESSION_PROP_NETWORKCONNECTIVITY_DSC: "Network connectivity information for this session. If no network connectivity information is applicable for this session or cannot be determined, accessing this property will return NOT_SET.", AR_TP_JOURNEYSESSION_PROP_SDKLIBRARY_DSC: "The software development kit library used for this session. If no software development kit is associated with this session, accessing this property will return NOT_SET.", AR_TP_LINEITEM: "Line Item", AR_TP_LINEITEM_PROP_LISTINGNAME_DSC: "The name of the listing item.", AR_TP_LINEITEM_PROP_LISTINGNAME_DISP_VAL: "Listing Name", AR_TP_LINEITEM_PROP_LISTINGPRICE_DSC: "Enter the monetary amount for this item. Can be positive, negative, or zero (e.g., 49.99, -10.00, 0).", AR_TP_LINEITEM_PROP_LISTINGPRICE_DISP_VAL: "Listing Price", AR_TP_SHIPPINGOPTION: "Shipping Option", AR_TP_SHIPPINGOPTION_PROP_LABEL_DSC: "Enter the user-facing name for this shipping method (e.g., In Store Pickup, USPS Priority Mail).", AR_TP_SHIPPINGOPTION_PROP_LABEL_DISP_VAL: "Label", AR_TP_SHIPPINGOPTION_PROP_IDENTIFIER_DSC: "Enter a technical identifier for this shipping method (e.g., storePickup, uspsPriority).", AR_TP_SHIPPINGOPTION_PROP_IDENTIFIER_DISP_VAL: "Identifier", AR_TP_SHIPPINGOPTION_PROP_SHIPPINGDETAILS_DSC: "Provide additional details about this shipping method, such as estimated delivery time or special conditions (e.g., \u201CDelivered within 2-3 business days\u201D).", AR_TP_SHIPPINGOPTION_PROP_SHIPPINGDETAILS_DISP_VAL: "Shipping Details", AR_TP_SHIPPINGOPTION_PROP_PRICE_DSC: "The price of the shipping option.", AR_TP_SHIPPINGOPTION_PROP_PRICE_DISP_VAL: "Price", AR_TP_LISTPICKER: "ListPicker", AR_TP_LISTPICKER_PROP_SECTIONS_DSC: "The list picker sections.", AR_TP_LISTPICKER_PROP_SECTIONS_DISP_VAL: "Sections", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEIMAGE_DSC: "The image to use for the list picker received message.", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEIMAGE_DISP_VAL: "Received Message Image", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGETITLE_DSC: "The list picker received message title.", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGETITLE_DISP_VAL: "Received Message Title", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGESUBTITLE_DSC: "The list picker received message subtitle.", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGESUBTITLE_DISP_VAL: "Received Message Subtitle", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEBUTTONTEXT_DSC: "The list picker received message button text.", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEBUTTONTEXT_DISP_VAL: "Received Message Button Text", AR_TP_LISTPICKER_PROP_REPLYMESSAGEIMAGE_DSC: "The image to use for the list picker reply message.", AR_TP_LISTPICKER_PROP_REPLYMESSAGEIMAGE_DISP_VAL: "Reply Message Image", AR_TP_LISTPICKER_PROP_REPLYMESSAGESUBTITLE_DSC: "The list picker reply message subtitle.", AR_TP_LISTPICKER_PROP_REPLYMESSAGESUBTITLE_DISP_VAL: "Reply Message Subtitle", AR_TP_LISTPICKERITEM: "ListPickerItem", AR_TP_LISTPICKERITEM_PROP_TITLE_DSC: "The list picker item title.", AR_TP_LISTPICKERITEM_PROP_TITLE_DISP_VAL: "Title", AR_TP_LISTPICKERITEM_PROP_SUBTITLE_DSC: "The list picker item subtitle.", AR_TP_LISTPICKERITEM_PROP_SUBTITLE_DISP_VAL: "Subtitle", AR_TP_LISTPICKERITEM_PROP_IMAGE_DSC: "The image to use for the list picker.", AR_TP_LISTPICKERITEM_PROP_IMAGE_DISP_VAL: "Image", AR_TP_LISTPICKERSECTION: "ListPickerSection", AR_TP_LISTPICKERSECTION_PROP_TITLE_DSC: "The list picker section title.", AR_TP_LISTPICKERSECTION_PROP_TITLE_DISP_VAL: "Title", AR_TP_LISTPICKERSECTION_PROP_MULTISELECTENABLED_DSC: "Whether multiple selection is enabled for the list picker.", AR_TP_LISTPICKERSECTION_PROP_MULTISELECTENABLED_DISP_VAL: "Multiple Selection", AR_TP_LISTPICKERSECTION_PROP_ITEMS_DSC: "The list picker section items.", AR_TP_LISTPICKERSECTION_PROP_ITEMS_DISP_VAL: "Items", AR_TP_WHEELPICKER: "WheelPicker", AR_TP_WHEELPICKER_PROP_ITEMS_DSC: "The wheel picker items.", AR_TP_WHEELPICKER_PROP_ITEMS_DISP_VAL: "Items", AR_TP_WHEELPICKERITEM: "WheelPickerItem", AR_TP_WHEELPICKERITEM_PROP_TITLE_DSC: "The wheel picker item title.", AR_TP_WHEELPICKERITEM_PROP_TITLE_DISP_VAL: "Title", AR_TP_WHEELPICKERITEM_PROP_VALUE_DSC: "The wheel picker item value.", AR_TP_WHEELPICKERITEM_PROP_VALUE_DISP_VAL: "Value", AR_TP_KNOWLEDGEBASEDOCUMENT: "KnowledgeBaseDocument", AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_ID_DSC: "The unique ID for the knowledge base document.", AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_DSC: "The knowledge base document name.", AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_CONTENT_DSC: "The contents of the knowledge base document.", AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_CATEGORY_DSC: "The category attached to this knowledge base document.", AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_LABELS_DSC: "The list of labels attached to this knowledge base document.", AR_TP_KNOWLEDGEBASEDOCUMENTCATEGORY: "KnowledgeBaseDocumentCategory", AR_TP_KNOWLEDGEBASEDOCUMENTCATEGORY_PROP_ID_DSC: "The knowledge category ID.", AR_TP_KNOWLEDGEBASEDOCUMENTCATEGORY_PROP_DSC: "The knowledge category name.", AR_TP_KNOWLEDGEBASEDOCUMENTLABEL: "KnowledgeBaseDocumentLabel", AR_TP_KNOWLEDGEBASEDOCUMENTLABEL_PROP_ID_DSC: "The knowledge label ID.", AR_TP_KNOWLEDGEBASEDOCUMENTLABEL_PROP_DSC: "The knowledge label name.", AR_TP_MESSAGESTICKERINFO: "MessageStickerInfo", AR_TP_MESSAGESTICKERINFO_PROP_ID_DSC: "The ID for the message sticker.", AR_TP_MESSAGESTICKERINFO_PROP_URL_DSC: "The url for the message sticker.", AR_TP_MESSAGEADDRESSINFO: "MessageAddressInfo", AR_TP_MESSAGEADDRESSINFO_PROP_DSC: "A contact name as supported by the underlying messaging system such as a Twitter handle or Facebook name.", AR_TP_MESSAGEADDRESSINFO_PROP_ADDRESSRAW_DSC: 'The contact address supplied directly by the underlying messaging system. For example: "5551212".', AR_TP_MESSAGEADDRESSINFO_PROP_ADDRESSNORMALIZED_DSC: 'The contact address after any internal processing has been completed. For example: "+13175551212".', AR_TP_MESSAGEADDRESSINFO_PROP_ADDRESSDISPLAYABLE_DSC: 'A displayable version of the contact address. For example: "(317) 555-1212".', AR_TP_MESSAGEADDRESSINFO_PROP_EMAIL_DSC: "The email address of the contact as provided by the specific messaging provider. If not available, this will return a NOT_SET String.", AR_TP_SHORTMESSAGE: "ShortMessage", AR_TP_SHORTMESSAGE_PROP_ID_DSC: "A unique ID for the message.", AR_TP_SHORTMESSAGE_PROP_TYPE_DSC: 'The message type such as "facebook", "instagram", "line", "unknown", "open", "sms", "twitter", "webmessaging" or "whatsapp".', AR_TP_SHORTMESSAGE_PROP_ATTACHMENTS_DSC: "The collection of attachments on this message.", AR_TP_SHORTMESSAGE_PROP_BODY_DSC: "The message body.", AR_TP_SHORTMESSAGE_PROP_BODYTYPE_DSC: 'The message body type ( "text", "html", "notificationresponse", "roadsideassistance" or "rtf" ).', AR_TP_SHORTMESSAGE_PROP_SENDERADDRESS_DSC: "The address of the message sender.", AR_TP_SHORTMESSAGE_PROP_SENDERADDRESSINFO_DSC: "The MessageAddressInfo of the message sender.", AR_TP_SHORTMESSAGE_PROP_TARGETADDRESSES_DSC: "The collection of addresses for the message targets.", AR_TP_SHORTMESSAGE_PROP_TARGETADDRESSESINFO_DSC: "The collection of MessageAddressInfo objects for the message targets.", AR_TP_SHORTMESSAGE_PROP_DATETIMEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for the message.", AR_TP_SHORTMESSAGE_PROP_REFERENCEID_DSC: 'A JSON object containing metadata, including the originating Apple Messages for Business referenceId, that identifies the messaging invitation when the bodyType is "notificationResponse"; otherwise, the value is NOT_SET. It is returned with an external participant\u2019s response and provides invitation and user specific context.', AR_TP_SHORTMESSAGE_PROP_STICKERS_DSC: "The collection of MessageSticker objects associated with the message.", AR_TP_SHORTMESSAGE_PROP_SOCIALVISIBILITY_DSC: 'Indicates if the social visibility of the message is public or private ( "public", "private" ). If the message channel does not support social visibility, this will be a NOT_SET String.', AR_TP_COMMUNICATION: "Communication", AR_TP_NTS: "Null", AR_TP_PROMPT: "Prompt", AR_TP_PROMPT_PROP_ID_DSC: "The unique ID for the prompt.", AR_TP_PROMPT_PROP_DSC: "The prompt name.", AR_TP_PROMPT_PROP_TYPE_DSC: 'The prompt type which will be either "user" or "system".', AR_TP_VOICEMAILSNIPPET: "VoicemailSnippet", AR_TP_VOICEMAILSNIPPET_PROP_ID_DSC: "The unique ID for the VoicemailSnippet.", AR_TP_VOICEMAILSNIPPET_PROP_STARTDATETIME_DSC: "The starting UTC DateTime of the VoicemailSnippet.", AR_TP_VOICEMAILSNIPPET_PROP_LENGTH_DSC: "The Duration of the VoicemailSnippet.", AR_TP_VOICEMAILSNIPPET_PROP_MAXLENGTHREACHED_DSC: "Indicates whether the VoicemailSnippet reached the maximum length configured for the organization in Organization Settings.", AR_TP_VOICESNIPPET: "VoiceSnippet", AR_TP_VOICESNIPPET_PROP_ID_DSC: "The unique ID for the VoiceSnippet. If submitted to the Voice Snippet Service, this ID can be used for retrieval from it later.", AR_TP_VOICESNIPPET_PROP_STARTDATETIME_DSC: "The starting UTC DateTime of the VoiceSnippet.", AR_TP_VOICESNIPPET_PROP_LENGTH_DSC: "The Duration of the VoiceSnippet.", AR_TP_SKL: "ACD Skill", AR_TP_SKL_PROP_ID_DSC: "The skill ID.", AR_TP_SKL_PROP_DSC: "The skill name.", AR_TP_STR: "String", AR_TP_USQ: "User", AR_TP_USQ_PROP_ID_DSC: "The user ID.", AR_TP_USQ_PROP_DSC: "The user name property.", AR_TP_USQ_PROP_USERNAME_DSC: "The user username property.", AR_TP_VIDEO: "Video", AR_TP_VIDEO_PROP_ID_DSC: "The video ID. If an ID is present, this will be the identifier of the Canned Response video response asset. Otherwise if this is an video created from a MakeVideoFromUrl call, the ID will be a NOT_SET String.", AR_TP_VIDEO_PROP_DSC: "The video name. If a name is present, this will be the name of the Canned Response video response asset. Otherwise if this is an video created from a MakeVideoFromUrl call, the name will be a NOT_SET String.", AR_TP_VIDEO_PROP_URL_DSC: "The universal resource locator that specifies the location of the video.", AR_TP_SURVEYQUESTION: "SurveyQuestion", AR_TP_SURVEYQUESTION_PROP_ID_DSC: "The survey question id.", AR_TP_SURVEYQUESTION_PROP_QUESTIONTYPE_DSC: "The survey question type.", AR_TP_SURVEYQUESTION_PROP_ANSWEROPTIONS_DSC: "The survey answer options available for this survey question.", AR_TP_SURVEYQUESTION_PROP_NAENABLED_DSC: "If the survey question allows for N.A.", AR_TP_SURVEYQUESTION_PROP_MAXRESPONSECHARACTERS_DSC: "The maximum number of characters allowed for a free text question or Net Promoter Score follow up question. If not applicable, this will be NOT_SET.", AR_TP_SURVEYQUESTION_PROP_QUESTIONTEXT_DSC: "The text of the question as it appears on the associated survey form.", AR_TP_SURVEYQUESTION_PROP_QUESTIONHELPTEXT_DSC: "For questions that have help text, this will return the text of that input from the participant. If not applicable, this will be a NOT_SET String.", AR_TP_SURVEYQUESTION_PROP_FOLLOWUPQUESTIONTEXT_DSC: "The follow up text of the question as it appears on the associated survey form. If not applicable, this will be a NOT_SET String.", AR_TP_SURVEYQUESTIONGROUP: "SurveyQuestionGroup", AR_TP_SURVEYQUESTIONGROUP_PROP_ID_DSC: "The survey question id.", AR_TP_SURVEYQUESTIONGROUP_PROP_DSC: "The survey question group name.", AR_TP_SURVEYQUESTIONGROUP_PROP_QUESTIONS_DSC: "The survey questions configured for this question group.", AR_TP_SURVEYFORM: "SurveyForm", AR_TP_SURVEYFORM_PROP_ID_DSC: "The survey form ID.", AR_TP_SURVEYFORM_PROP_DSC: "The survey form name.", AR_TP_SURVEYFORM_PROP_LANGUAGE_DSC: "The language associated with the survey form.", AR_TP_SURVEYFORM_PROP_QUESTIONGROUPS_DSC: "The survey question groups configured on the survey form.", AR_TP_SURVEYANSWEROPTION: "SurveyAnswerOption", AR_TP_SURVEYANSWEROPTION_PROP_ID_DSC: "The survey answer option id as defined on the Survey form referenced by this flow.", AR_TP_SURVEYANSWEROPTION_PROP_DTMF_DSC: "The survey answer option DTMF value.", AR_TP_SURVEYANSWEROPTION_PROP_TEXT_DSC: "The survey answer option text as defined on the Survey form referenced by this flow.", AR_TP_QUEUE: "Queue", AR_TP_QUEUE_PROP_ID_DSC: "The queue ID.", AR_TP_QUEUE_PROP_DSC: "The queue name.", AR_TP_UTILIZATIONLABEL: "UtilizationLabel", AR_TP_UTILIZATIONLABEL_PROP_ID_DSC: "The Utilization Label identifier.", AR_TP_UTILIZATIONLABEL_PROP_DSC: "The Utilization Label description.", AR_TP_CONVERSATIONTYPEENUM: "ConversationType Enum", AR_TP_CONVERSATIONTYPEENUM_PROP_CALL_DSC: "A call conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_CALLBACK_DSC: "A callback conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_CHAT_DSC: "A chat conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_COBROWSE_DSC: "A co-browse conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_EMAIL_DSC: "An email conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_SCREENSHARE_DSC: "A screenShare conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_SOCIALEXPRESSION_DSC: "A conversation on social media.", AR_TP_CONVERSATIONTYPEENUM_PROP_VIDEOCOMM_DSC: "A video conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_UNKNOWN_DSC: "An unknown conversation type.", AR_TP_CURRENCYENUM: "Currency Enum", AR_TP_CURRENCYENUM_PROP_CODE_DSC: "The ISO 4217 currency code.", AR_TP_LANGUAGEENUM: "Language Enum", AR_TP_LANGUAGEENUM_PROP_TAG_DSC: "The IETF language tag.", AR_TP_REGIONENUM: "Region Enum", AR_TP_REGIONENUM_PROP_DIALINGCODE_DSC: "The ITU-T E.164 dialing code.", AR_TP_REGIONENUM_PROP_COUNTRYCODE_DSC: "The two character ISO 3166 alpha 2 country code.", AR_TP_MESSAGEBODYSTYLEENUM: "MessageBodyStyle Enum", AR_TP_MESSAGEBODYSTYLEENUM_PROP_NOTICE_DSC: "The message style is a notice.", AR_TP_MESSAGEBODYSTYLEENUM_PROP_STANDARD_DSC: "The message style is a standard message.", AR_TP_SURVEYDISPOSITIONENUM: "SurveyDisposition Enum", AR_TP_SURVEYDISPOSITIONENUM_PROP_ERROR_DSC: "The survey invite request did not complete successfully due to an error.", AR_TP_SURVEYDISPOSITIONENUM_PROP_OPTOUT_DSC: "The survey invite request is declined as per a configured opt-out setting.", AR_TP_CURRENCIESENUMCONTAINER: "Currencies Enum Container", AR_TP_DAYOFWEEKENUMCONTAINER: "Day of Week Enum Container", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SUNDAY_DSC: "The day of week Integer value for Sunday (1).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SUNDAY_DISP_VAL: "Sunday", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_MONDAY_DSC: "The day of week Integer value for Monday (2).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_MONDAY_DISP_VAL: "Monday", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_TUESDAY_DSC: "The day of week Integer value for Tuesday (3).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_TUESDAY_DISP_VAL: "Tuesday", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_WEDNESDAY_DSC: "The day of week Integer value for Wednesday (4).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_WEDNESDAY_DISP_VAL: "Wednesday", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_THURSDAY_DSC: "The day of week Integer value for Thursday (5).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_THURSDAY_DISP_VAL: "Thursday", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_FRIDAY_DSC: "The day of week Integer value for Friday (6).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_FRIDAY_DISP_VAL: "Friday", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SATURDAY_DSC: "The day of week Integer value for Saturday (7).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SATURDAY_DISP_VAL: "Saturday", AR_TP_DATETIMEENUMCONTAINER: "DateTime Enum Container", AR_TP_DATETIMEENUMCONTAINER_PROP_DAYOFWEEK_DSC: "Contains properties for day of week Integer constants.", AR_TP_DATETIMEENUMCONTAINER_PROP_DAYOFWEEK_DISP_VAL: "DayOfWeek", AR_TP_DIGITALAUDIO: "Digital Audio", AR_TP_DIGITALAUDIO_PROP_ID_DSC: "The digital audio ID. If an ID is present, this will be the identifier of the Canned Response digital audio response asset. Otherwise if this is a digital audio created from a MakeDigitalAudioFromUrl call, the ID will be a NOT_SET String.", AR_TP_DIGITALAUDIO_PROP_DSC: "The digital audio name. If a name is present, this will be the name of the Canned Response digital audio response asset. Otherwise if this is a digital audio created from a MakeDigitalAudioFromUrl call, the name will be a NOT_SET String.", AR_TP_DIGITALAUDIO_PROP_URL_DSC: "The universal resource locator that specifies the location of the digital audio.", AR_TP_FILE: "File", AR_TP_FILE_PROP_ID_DSC: "The file ID. If an ID is present, this will be the identifier of the Canned Response file response asset. Otherwise if this is a file created from a MakeFileFromUrl call, the ID will be a NOT_SET String.", AR_TP_FILE_PROP_DSC: "The file name. If a name is present, this will be the name of the Canned Response file response asset. Otherwise if this is a file created from a MakeFileFromUrl call, the name will be a NOT_SET String.", AR_TP_FILE_PROP_URL_DSC: "The universal resource locator that specifies the location of the file.", AR_TP_LANGUAGESENUMCONTAINER: "Languages Enum Container", AR_TP_REGIONSENUMCONTAINER: "Regions Enum Container", AR_TP_RESPONSEASSET: "Response Asset", AR_TP_RESPONSEASSET_PROP_ID_DSC: "The response asset identifier.", AR_TP_RESPONSEASSET_PROP_DSC: "The response asset name.", AR_TP_RESPONSEASSET_PROP_TYPE_DSC: "The response asset type like 'image/png'.", AR_TP_RESPONSEASSET_PROP_LENGTH_DSC: "The response asset size in bytes.", AR_TP_RESPONSEASSET_PROP_URL_DSC: "The universal resource locator that specifies the location of the response asset.", AR_TP_SURVEYDISPOSITIONSENUMCONTAINER: "SurveyDispositions Enum Container", AR_TP_CONVERSATIONTYPESENUMCONTAINER: "ConversationTypes Enum Container", AR_TP_TIME: "Time", AR_TP_TIMEPARTENUMCONTAINER: "Time Part Enum Container", AR_TP_TIMEPARTENUMCONTAINER_PROP_DAYS_DSC: "Indicates that a given value for Audio playback should be expressed as days.", AR_TP_TIMEPARTENUMCONTAINER_PROP_DAYS_DISP_VAL: "Days", AR_TP_TIMEPARTENUMCONTAINER_PROP_HOURS_DSC: "Indicates that a given value for Audio playback should be expressed as hours.", AR_TP_TIMEPARTENUMCONTAINER_PROP_HOURS_DISP_VAL: "Hours", AR_TP_TIMEPARTENUMCONTAINER_PROP_MINUTES_DSC: "Indicates that a given value for Audio playback should be expressed as minutes.", AR_TP_TIMEPARTENUMCONTAINER_PROP_MINUTES_DISP_VAL: "Minutes", AR_TP_TIMEPARTENUMCONTAINER_PROP_SECONDS_DSC: "Indicates that a given value for Audio playback should be expressed as seconds.", AR_TP_TIMEPARTENUMCONTAINER_PROP_SECONDS_DISP_VAL: "Seconds", AR_TP_TIMEPARTENUM: "Time Part Enum", AR_TP_TIMEPICKER: "TimePicker", AR_TP_TIMEPICKER_PROP_TITLE_DSC: "The TimePicker title.", AR_TP_TIMEPICKER_PROP_SUBTITLE_DSC: "The TimePicker subtitle.", AR_TP_TIMEPICKER_PROP_IMAGE_DSC: "The image to use for the TimePicker.", AR_TP_TIMEPICKER_PROP_IMAGE_DISP_VAL: "Image", AR_TP_TIMEPICKER_PROP_ADDRESS_DSC: "The event address.", AR_TP_TIMEPICKER_PROP_ADDRESS_DISP_VAL: "Address", AR_TP_TIMEPICKER_PROP_LONGITUDE_DSC: "The event longitude.", AR_TP_TIMEPICKER_PROP_LONGITUDE_DISP_VAL: "Longitude", AR_TP_TIMEPICKER_PROP_LATITUDE_DSC: "The event latitude.", AR_TP_TIMEPICKER_PROP_LATITUDE_DISP_VAL: "Latitude", AR_TP_TIMESLOT: "Timeslot", AR_TP_TIMESLOT_PROP_DTM_DSC: "The Coordinated Universal Time (UTC) datetime for the timeslot.", AR_TP_TIMESLOT_PROP_DUR_DSC: "The Duration for the timeslot.", AR_TP_WRC: "WrapupCode", AR_TP_WRC_PROP_ID_DSC: "The wrapup code ID.", AR_TP_WRC_PROP_DSC: "The wrapup code name.", AR_TP_GRAMMAR: "Grammar", AR_TP_GRAMMAR_PROP_ID_DSC: "The grammar ID.", AR_TP_GRAMMAR_PROP_DSC: "The grammar name.", AR_TP_GRP: "Group", AR_TP_GRP_PROP_ID_DSC: "The group ID.", AR_TP_GRP_PROP_DSC: "The group name.", AR_TP_PHNBR: "PhoneNumber", AR_TP_PHNBR_PROP_DIALINGCODE_DSC: 'The ITU-T E.164 dialing code for a "tel" scheme phone number with a valid E.164 number, otherwise a NOT_SET String.', AR_TP_PHNBR_PROP_E164_DSC: 'The E.164 formatted String for a "tel" scheme phone number with a valid E.164 number, otherwise a NOT_SET String.', AR_TP_PHNBR_PROP_SUBSCRIBERNUMBER_DSC: 'The E.164 subscriber number for a "tel" scheme phone number with a valid E.164 number, otherwise a NOT_SET String.', AR_TP_PHNBR_PROP_ISGLOBAL_DSC: 'Indicates if this is a "tel" scheme phone number that contains a global number.', AR_TP_PHNBR_PROP_ISSIP_DSC: 'Indicates if this is a "sip" or "sips" scheme phone number.', AR_TP_PHNBR_PROP_ISTEL_DSC: 'Indicates if this is a "tel" scheme phone number.', AR_TP_PHNBR_PROP_RAW_DSC: "The String used to create this Phone Number instance.", AR_TP_PHNBR_PROP_SCHEME_DSC: 'The scheme set on this phone number which will be "sip" or "sips", "tel" or a NOT_SET String if no scheme could be determined.', AR_TP_PHNBR_PROP_URI_DSC: 'Returns the URI for a "sip", "sips" or "tel" scheme phone number, otherwise a NOT_SET String.', AR_TP_EMERGRP: "EmergencyGroup", AR_TP_EMERGRP_PROP_ID_DSC: "The emergency group ID.", AR_TP_EMERGRP_PROP_DSC: "The emergency group name.", AR_TP_SCHED: "Schedule", AR_TP_SCHED_PROP_ID_DSC: "The schedule ID.", AR_TP_SCHED_PROP_DSC: "The schedule name.", AR_TP_SCHEDGRP: "ScheduleGroup", AR_TP_SCHEDGRP_PROP_ID_DSC: "The schedule group ID.", AR_TP_SCHEDGRP_PROP_DSC: "The schedule group name.", AR_TP_SCHEDGRP_PROP_TIMEZONE_DSC: "The timezone ID of the timezone assigned to the schedule group.", AR_TP_ANY: "Any", AR_TP_ANYCOMPLEX: "AnyComplex", AR_TP_ANYPROMPTORAUDIO: "Audio or Prompt", AR_TP_DATEFORMATENUM: "Date Format Enum", AR_TP_DATETIMEFORMATENUM: "DateTime Format Enum", AR_TP_TIMEFORMATENUM: "Time Format Enum", AR_TP_BOOLFORMATENUM: "Bool Format Enum", AR_TP_CURRENCYFORMATENUM: "Currency Format Enum", AR_TP_NUMBERFORMATENUM: "Number Format Enum", AR_TP_PHONENUMBERFORMATENUM: "Phone Number Format Enum", AR_TP_LANGUAGECONTEXTENUM: "Language Context Enum", AR_TP_STRINGFORMATENUM: "String Format Enum", AR_TP_DATEFORMATENUMCONTAINER: "Date Format Enum Container", AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEAR_DSC: "Date with the year expressed using the long format.", AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEAR_DISP_VAL: "Date (long year)", AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEAR_DSC: "Date with the year expressed using the short format.", AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEAR_DISP_VAL: "Date", AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTMONTHANDDAY_DSC: "Date with the day of week, month name and day of month expressed using an ordinal number.", AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTMONTHANDDAY_DISP_VAL: "Month and day", AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYOFWEEKONLY_DSC: "Express only the day of week name.", AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYOFWEEKONLY_DISP_VAL: "Day of week", AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYONLY_DSC: "Express only the day of month using an ordinal number.", AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYONLY_DISP_VAL: "Day of month", AR_TP_DATEFORMATENUMCONTAINER_PROP_MONTHONLY_DSC: "Express only the month name.", AR_TP_DATEFORMATENUMCONTAINER_PROP_MONTHONLY_DISP_VAL: "Month", AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEARONLY_DSC: "Express only the year using the short format.", AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEARONLY_DISP_VAL: "Year (short form)", AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEARONLY_DSC: "Express only the year using the long format.", AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEARONLY_DISP_VAL: "Year (long form)", AR_TP_SKILLEXPRESSIONFILTER: "SkillExpressionFilter", AR_TP_SKILLEXPRESSIONFILTER_PROP_RAW_DSC: "The input filter String used to create this Skill Expression Filter instance.", AR_TP_SKILLEXPRESSIONFILTER_PROP_NORMALIZED_DSC: "If valid, this holds the normalized expression filter text. Otherwise, this will be a NOT_SET String.", AR_TP_SKILLEXPRESSIONFILTER_PROP_ACDSKILLS_DSC: "If valid, the items in this collection will be ACD Skills referenced by the filter. Otherwise, this will be an empty collection.", AR_TP_SKILLEXPRESSIONFILTER_PROP_LANGUAGESKILLS_DSC: "If valid, the items in this collection will be Language Skills referenced by the filter. Otherwise, this will be an empty collection.", AR_TP_SKILLEXPRESSIONFILTER_PROP_ERRORS_DSC: "If invalid, the items in this collection will contain error information about the input filter String.", AR_TP_ISSUEINFO: "IssueInfo", AR_TP_ISSUEINFO_PROP_TYPE_DSC: "A non-empty String that contains the type or category of the issue.", AR_TP_ISSUEINFO_PROP_MESSAGE_DSC: "A non-localized message for the issue. The String may be empty or NOT_SET.", AR_TP_BOOLFORMATENUMCONTAINER: "Bool Format Enum Container", AR_TP_BOOLFORMATENUMCONTAINER_PROP_PLAYYESNO_DSC: "Expresses a boolean using Yes for true and No for false or NOT_SET.", AR_TP_BOOLFORMATENUMCONTAINER_PROP_PLAYYESNO_DISP_VAL: "Yes / No", AR_TP_TIMEFORMATENUMCONTAINER: "Time Format Enum Container", AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWENTYFOURHOURS_DSC: "Use a twenty four hour time format.", AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWENTYFOURHOURS_DISP_VAL: "Time (24 hour clock)", AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWELVEHOURS_DSC: "Use a twelve hour format time without a.m. / p.m.", AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWELVEHOURS_DISP_VAL: "Time (12 hour clock)", AR_TP_CURRENCYFORMATENUMCONTAINER: "Currency Format Enum Container", AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_ASMINORUNITS_DSC: 'Express the currency in terms of minor units such as "150 cents".', AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_ASMINORUNITS_DISP_VAL: "In minor units", AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MAJORUNITSONLY_DSC: "Express only the major units of the currency.", AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MAJORUNITSONLY_DISP_VAL: "Major units only", AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MINORUNITSONLY_DSC: "Express only the minor units of the currency.", AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MINORUNITSONLY_DISP_VAL: "Minor units only", AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_PLAYDIGITS_DSC: 'Expresses the individual digits of the currency with the major units name such as "5 0 dollars"', AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_PLAYDIGITS_DISP_VAL: "Speak each digit", AR_TP_NUMBERFORMATENUMCONTAINER: "Number Format Enum Container", AR_TP_NUMBERFORMATENUMCONTAINER_PROP_PLAYDIGITS_DSC: "Express the numeric value using individual digits.", AR_TP_NUMBERFORMATENUMCONTAINER_PROP_PLAYDIGITS_DISP_VAL: "Speak each digit", AR_TP_PHONENUMBERFORMATENUMCONTAINER: "Phone Number Format Enum Container", AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_GLOBAL_DSC: "Express the phone number with the country code.", AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_GLOBAL_DISP_VAL: "Global playback", AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_LOCAL_DSC: "Express the phone number in a country-specific colloquial format that does not contain the country code.", AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_LOCAL_DISP_VAL: "Local playback", AR_TP_STRINGFORMATENUMCONTAINER: "String Format Enum Container", AR_TP_STRINGFORMATENUMCONTAINER_PROP_PLAYCHARS_DSC: "Express a string with the string's characters individually.", AR_TP_STRINGFORMATENUMCONTAINER_PROP_PLAYCHARS_DISP_VAL: "Speak each character", AR_TP_LANGUAGEQUANTITYENUMCONTAINER: "Language Quantity Enum Container", AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_PLURAL_DSC: "Use the plural form.", AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_PLURAL_DISP_VAL: "Plural", AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_SINGULAR_DSC: "Use the singular form.", AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_SINGULAR_DISP_VAL: "Singular", AR_TP_LANGUAGECASEENUMCONTAINER: "Language Case Enum Container", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ARTICLE_DSC: "Use the article grammatical case.", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ARTICLE_DISP_VAL: "Article", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ACCUSATIVE_DSC: "Use the accusative case.", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ACCUSATIVE_DISP_VAL: "Accusative", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_DATIVE_DSC: "Use the dative case.", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_DATIVE_DISP_VAL: "Dative", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_GENITIVE_DSC: "Use the genitive case.", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_GENITIVE_DISP_VAL: "Genitive", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_NOMINATIVE_DSC: "Use the nominative case.", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_NOMINATIVE_DISP_VAL: "Nominative", AR_TP_LANGUAGEGENDERENUMCONTAINER: "Language Gender Enum Container", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_COMMON_DSC: "Use the common gender.", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_COMMON_DISP_VAL: "Common", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_FEMININE_DSC: "Use the feminine gender.", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_FEMININE_DISP_VAL: "Feminine", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_MASCULINE_DSC: "Use the masculine gender.", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_MASCULINE_DISP_VAL: "Masculine", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_NEUTER_DSC: "Use the neuter gender.", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_NEUTER_DISP_VAL: "Neuter", AR_TP_LANGUAGESKILL: "Language Skill", AR_TP_LANGUAGESKILL_PROP_ID_DSC: "The language skill ID.", AR_TP_LANGUAGESKILL_PROP_DSC: "The language skill name.", AR_TP_CONTACTLIST: "ContactList", AR_TP_CONTACTLIST_PROP_ID_DSC: "The contact list ID.", AR_TP_CONTACTLIST_PROP_DSC: "The contact list name.", AR_TP_CAMPAIGN: "Campaign", AR_TP_CAMPAIGN_PROP_ID_DSC: "The campaign ID.", AR_TP_CAMPAIGN_PROP_DSC: "The campaign name.", AR_TP_CONTACT: "Contact", AR_TP_WORKITEMEVENTDATA: "WorkitemEventData", AR_TP_WORKITEMEVENTDATA_PROP_RULE_DSC: "The rule for the workitem event data.", AR_TP_WORKITEMEVENTRULE: "WorkitemEventRule", AR_TP_WORKITEMEVENTRULE_PROP_DSC: "The name of the workitem event rule.", AR_TP_WORKITEM: "Workitem", AR_TP_WORKITEM_PROP_ID_DSC: "The workitem ID which uniquely identifies a workitem.", AR_TP_WORKITEM_PROP_DSC: "The name of the workitem.", AR_TP_WORKITEM_PROP_ASSIGNEE_DSC: "The the assignee of this workitem.", AR_TP_WORKITEM_PROP_ASSIGNMENTSTATE_DSC: "The assignment state of the workitem.", AR_TP_WORKITEM_PROP_AUTOSTATUSTRANSITION_DSC: "This returns true if auto status transition is enabled for the workitem, otherwise false.", AR_TP_WORKITEM_PROP_CUSTOMFIELDS_DSC: "Custom fields defined in the schema referenced by the worktype of the workitem.", AR_TP_WORKITEM_PROP_DATECREATED_DSC: "The creation date of the workitem.", AR_TP_WORKITEM_PROP_DATEASSIGNMENTSTATECHANGED_DSC: "The date the assignment state changed for the workitem.", AR_TP_WORKITEM_PROP_DATEDUE_DSC: "The due date of the workitem.", AR_TP_WORKITEM_PROP_DATEEXPIRES_DSC: "The expiry date of the workitem.", AR_TP_WORKITEM_PROP_DATEMODIFIED_DSC: "The date the workitem was last modified.", AR_TP_WORKITEM_PROP_DATESTATUSCHANGED_DSC: "The date the status was last changed.", AR_TP_WORKITEM_PROP_DATECLOSED_DSC: "The date the workitem was closed.", AR_TP_WORKITEM_PROP_DESCRIPTION_DSC: "The description of the workitem.", AR_TP_WORKITEM_PROP_DUR_DSC: "The estimated duration to complete the workitem.", AR_TP_WORKITEM_PROP_DIVISIONID_DSC: "The division ID which identifies the division to which this workitem belongs.", AR_TP_WORKITEM_PROP_EXTERNALCONTACT_DSC: "The External Contact associated with this workitem. If there is no External Contact, the value will be NOT_SET.", AR_TP_WORKITEM_PROP_EXTERNALTAG_DSC: "The external tag associated with this workitem. If there is no external tag, the value will be NOT_SET. Use the Set External Tag action to modify.", AR_TP_WORKITEM_PROP_LANGUAGESKILL_DSC: "The Language Skill associated with the workitem.", AR_TP_WORKITEM_PROP_MODIFIEDBY_DSC: "The ID of the entity that last modified the workitem.", AR_TP_WORKITEM_PROP_PRIORITY_DSC: "The priority of the workitem. Use the Set Priority action to modify.", AR_TP_WORKITEM_PROP_QUEUE_DSC: "The workitem's queue.", AR_TP_WORKITEM_PROP_REPORTER_DSC: "The workitem's reporter.", AR_TP_WORKITEM_PROP_SCOREDAGENTS_DSC: "A list of agent score pairs used for the last preferred agent routing.", AR_TP_WORKITEM_PROP_SKILLS_DSC: "The ACD Skills associated with the workitem.", AR_TP_WORKITEM_PROP_STATUS_DSC: "The status of the workitem.", AR_TP_WORKITEM_PROP_TTLDATETIME_DSC: "The time to live of the workitem until it is deleted from Genesys Cloud represented as a DateTime in Coordinated Universal Time (UTC).", AR_TP_WORKITEM_PROP_TYPEID_DSC: "The ID of the worktype for the workitem.", AR_TP_WORKITEM_PROP_UTILIZATIONLABEL_DSC: "The utilization label for the workitem.", AR_TP_WORKITEM_PROP_VERSION_DSC: "The version of the workitem. Note that this may be a NOT_SET Integer.", AR_TP_WORKITEM_PROP_WORKBIN_DSC: "The workbin that contains the workitem.", AR_TP_WORKBIN: "Workbin", AR_TP_WORKBIN_PROP_ID_DSC: "The ID of the workbin.", AR_TP_WORKBIN_PROP_DSC: "The name of the workbin.", AR_TP_WORKBIN_PROP_DIVISIONID_DSC: "The division ID which identifies the division of this workbin.", AR_TP_WORKTYPESTATUS: "WorktypeStatus", AR_TP_WORKTYPESTATUS_PROP_ID_DSC: "The ID of the worktype status.", AR_TP_WORKTYPESTATUS_PROP_DSC: "The name of the worktype status.", AR_TP_WORKTYPESTATUS_PROP_CATEGORY_DSC: 'The category of the worktype status. Allowable values are "Open", "InProgress", "Waiting" and "Closed".', AR_OP_DSC_ADD: "The addition operator returns the sum of two values.", AR_OP_LNG_ADD_LNG_LNG_DSC: "Adds two Integer values and returns the result.", AR_OP_LNG_ADD_LNG_LNG_RV: "The sum of the two Integer input values.", AR_OP_LNG_ADD_LNG_LNG_PRM_DSC_0: "An Integer value.", AR_OP_LNG_ADD_LNG_LNG_PRM_DSC_1: "The Integer value to Add.", AR_OP_DEC_ADD_DEC_LNG_DSC: "Adds an Integer value to a Decimal value and returns the result.", AR_OP_DEC_ADD_DEC_LNG_RV: "The sum of the Integer and Decimal input values.", AR_OP_DEC_ADD_DEC_LNG_PRM_DSC_0: "A Decimal value.", AR_OP_DEC_ADD_DEC_LNG_PRM_DSC_1: "The Integer value to add.", AR_OP_DEC_ADD_LNG_DEC_DSC: "Adds a Decimal value to an Integer value and returns the result.", AR_OP_DEC_ADD_LNG_DEC_RV: "The sum of the two Integer input values.", AR_OP_DEC_ADD_LNG_DEC_PRM_DSC_0: "An Integer value.", AR_OP_DEC_ADD_LNG_DEC_PRM_DSC_1: "The Decimal value to add.", AR_OP_CUR_ADD_CUR_CUR_DSC: "Adds two Currency values and returns the result. The Currency values must have the same code.", AR_OP_CUR_ADD_CUR_CUR_RV: "The sum of the two Currency input values.", AR_OP_CUR_ADD_CUR_CUR_PRM_DSC_0: "A Currency value.", AR_OP_CUR_ADD_CUR_CUR_PRM_DSC_1: "The second Currency value to add.", AR_OP_CUR_ADD_CUR_CUR_EX_OUT_0: 'A Currency with an amount of 2.25 and code of "USD"', AR_OP_CUR_ADD_CUR_CUR_EX_OUT_1: "A Currency with an amount of 2.25 and NOT_SET code.", AR_OP_AUDIO_ADD_AUDIO_AUDIO_DSC: "Adds two Audio values together and returns the resulting Audio by appending them together.", AR_OP_AUDIO_ADD_AUDIO_AUDIO_RV: "Appends the two Audio input values.", AR_OP_AUDIO_ADD_AUDIO_AUDIO_PRM_DSC_0: "An Audio value .", AR_OP_AUDIO_ADD_AUDIO_AUDIO_PRM_DSC_1: "The second Audio value to add.", AR_OP_AUDIO_ADD_AUDIO_AUDIO_EX_OUT_0: 'Audio for the text to speech playback of "Hello" followed by "World".', AR_OP_AUDIO_ADD_PROMPT_PROMPT_DSC: "Adds two prompt values together and returns the resulting Audio by appending them.", AR_OP_AUDIO_ADD_PROMPT_PROMPT_RV: "Appends the two Prompt input values.", AR_OP_AUDIO_ADD_PROMPT_PROMPT_PRM_DSC_0: "A Prompt.", AR_OP_AUDIO_ADD_PROMPT_PROMPT_PRM_DSC_1: "The second Prompt to add.", AR_OP_AUDIO_ADD_PROMPT_PROMPT_EX_OUT_0: "Audio for the Hello prompt followed by the There prompt for the language in which the flow is running.", AR_OP_AUDIO_ADD_AUDIO_PROMPT_DSC: "Adds an Audio and a prompt value together and returns the resulting Audio by appending them together.", AR_OP_AUDIO_ADD_AUDIO_PROMPT_RV: "Appends the Audio and Prompt input values.", AR_OP_AUDIO_ADD_AUDIO_PROMPT_PRM_DSC_0: "An Audio value.", AR_OP_AUDIO_ADD_AUDIO_PROMPT_PRM_DSC_1: "The Prompt value to add.", AR_OP_AUDIO_ADD_AUDIO_PROMPT_EX_OUT_0: 'Audio for the TTS playback of "Hello" followed by the audio for the There prompt for the language in which the flow is running.', AR_OP_AUDIO_ADD_PROMPT_AUDIO_DSC: "Adds a prompt and Audio value together and returns the resulting Audio by appending them together.", AR_OP_AUDIO_ADD_PROMPT_AUDIO_RV: "Appends the Prompt and Audio input values.", AR_OP_AUDIO_ADD_PROMPT_AUDIO_PRM_DSC_0: "A Prompt.", AR_OP_AUDIO_ADD_PROMPT_AUDIO_PRM_DSC_1: "An Audio value to add.", AR_OP_AUDIO_ADD_PROMPT_AUDIO_EX_OUT_0: 'Audio for the Hello prompt for the language in which the current flow is running followed by the TTS playback of "There".', AR_OP_DEC_ADD_DEC_DEC_DSC: "Adds two Decimal values and returns the result.", AR_OP_DEC_ADD_DEC_DEC_RV: "The sum of the two Decimal input values.", AR_OP_DEC_ADD_DEC_DEC_PRM_DSC_0: "A Decimal value.", AR_OP_DEC_ADD_DEC_DEC_PRM_DSC_1: "A Decimal value to add.", AR_OP_DTM_ADD_DUR_DTM_DSC: "Adds a DateTime to a Duration and returns the resulting DateTime.", AR_OP_DTM_ADD_DUR_DTM_RV: "Returns the result of adding the supplied DateTime to a Duration value.", AR_OP_DTM_ADD_DUR_DTM_PRM_DSC_0: "A Duration value.", AR_OP_DTM_ADD_DUR_DTM_PRM_DSC_1: "A DateTime value to which the Duration is added.", AR_OP_DTM_ADD_DUR_DTM_EX_OUT_0: "A DateTime of June 1, 2003 at 1:01:01 AM", AR_OP_DTM_ADD_DTM_DUR_DSC: "Adds a Duration to a DateTime and returns the resulting DateTime.", AR_OP_DTM_ADD_DTM_DUR_RV: "Returns the result of adding the supplied Duration to a DateTime value.", AR_OP_DTM_ADD_DTM_DUR_PRM_DSC_0: "A DateTime value.", AR_OP_DTM_ADD_DTM_DUR_PRM_DSC_1: "A Duration value to add.", AR_OP_DTM_ADD_DTM_DUR_EX_OUT_0: "A DateTime of June 1, 2003 at 1:01:01 AM", AR_OP_DATE_ADD_DUR_DATE_DSC: "Adds a Date to a Duration and returns the resulting Date. The number of days to add is calculated by taking the integral part of the supplied Duration value divided by 86400 seconds ( the number of seconds in 1 day ).", AR_OP_DATE_ADD_DUR_DATE_RV: "Returns the result of adding the supplied Date to a Duration value.", AR_OP_DATE_ADD_DUR_DATE_PRM_DSC_0: "A Duration value.", AR_OP_DATE_ADD_DUR_DATE_PRM_DSC_1: "A Date value to which the Duration is added.", AR_OP_DATE_ADD_DUR_DATE_EX_OUT_0: "A Date whose value is June 2nd, 2003.", AR_OP_DATE_ADD_DATE_DUR_DSC: "Adds days to a Date. The number of days to add is calculated by taking the integral value of the total number of seconds in the supplied Duration value divided by 86400 ( the number of seconds in 1 day ).", AR_OP_DATE_ADD_DATE_DUR_RV: "Returns the result of adding the supplied Duration to a Date value.", AR_OP_DATE_ADD_DATE_DUR_PRM_DSC_0: "A Date value.", AR_OP_DATE_ADD_DATE_DUR_PRM_DSC_1: "A Duration value to add.", AR_OP_DATE_ADD_DATE_DUR_EX_OUT_0: "A Date whose value is June 3rd, 2003.", AR_OP_TIME_ADD_DUR_TIME_DSC: "Adds a Time to a Duration and returns the resulting Time. Addition of a Duration value with a Time value allows for wrap-around so adding three hours to a Time value of 23:00:00 will return a Time value of 02:00:00.", AR_OP_TIME_ADD_DUR_TIME_RV: "Returns the result of adding the supplied Time to a Duration value.", AR_OP_TIME_ADD_DUR_TIME_PRM_DSC_0: "A Duration value.", AR_OP_TIME_ADD_DUR_TIME_PRM_DSC_1: "A Time value to which the Duration is added.", AR_OP_TIME_ADD_DUR_TIME_EX_OUT_0: "A Time whose value is 02:02:06AM.", AR_OP_TIME_ADD_TIME_DUR_DSC: "Adds a Duration to a Time and returns the resulting Time. Addition of a Duration value to a Time value allows for wrap-around so adding three hours to a Time value of 23:00:00 will return a Time value of 02:00:00.", AR_OP_TIME_ADD_TIME_DUR_RV: "Returns the result of adding the supplied Duration to a Time value.", AR_OP_TIME_ADD_TIME_DUR_PRM_DSC_0: "A Time value.", AR_OP_TIME_ADD_TIME_DUR_PRM_DSC_1: "A Duration value to add.", AR_OP_TIME_ADD_TIME_DUR_EX_OUT_0: "A Time whose value is 02:01:01AM.", AR_OP_DUR_ADD_DUR_DUR_DSC: "Adds two Duration values and returns the result.", AR_OP_DUR_ADD_DUR_DUR_RV: "The sum of the two Duration input values.", AR_OP_DUR_ADD_DUR_DUR_PRM_DSC_0: "A Duration value.", AR_OP_DUR_ADD_DUR_DUR_PRM_DSC_1: "A Duration value to add.", AR_OP_DUR_ADD_DUR_DUR_EX_OUT_0: "A Duration of 1 day, eleven hours, 45 minutes and 30 seconds.", AR_OP_STR_ADD_STR_STR_DSC: "Appends two String values and returns the result. Note: We recommend using the Append function instead of + to append strings together.", AR_OP_STR_ADD_STR_STR_RV: "The concatenation of the two String input values.", AR_OP_STR_ADD_STR_STR_PRM_DSC_0: "A String value.", AR_OP_STR_ADD_STR_STR_PRM_DSC_1: "A String value to add.", AR_OP_DSC_BITAND: "Performs a bitwise and of two values.", AR_OP_LNG_BITAND_LNG_LNG_DSC: "Performs a bitwise and on two Integer values and returns the result.", AR_OP_LNG_BITAND_LNG_LNG_RV: "The bitwise and of two supplied Integer values.", AR_OP_LNG_BITAND_LNG_LNG_PRM_DSC_0: "The first Integer value for the bitwise and.", AR_OP_LNG_BITAND_LNG_LNG_PRM_DSC_1: "The second Integer value for the bitwise and.", AR_OP_DSC_BITNOT: "Performs a bitwise not on a value.", AR_OP_LNG_BITNOT_LNG_DSC: "Performs a bitwise not on the supplied Integer value and returns the result.", AR_OP_LNG_BITNOT_LNG_RV: "The bitwise not of the supplied Integer value.", AR_OP_LNG_BITNOT_LNG_PRM_DSC_0: "The Integer value on which to perform the bitwise not.", AR_OP_DSC_BITOR: "Performs a bitwise inclusive or of two values.", AR_OP_LNG_BITOR_LNG_LNG_DSC: "Performs a bitwise inclusive or on two Integer values and returns the result.", AR_OP_LNG_BITOR_LNG_LNG_RV: "The bitwise inclusive or of two supplied Integer values.", AR_OP_LNG_BITOR_LNG_LNG_PRM_DSC_0: "The first Integer value for the bitwise or.", AR_OP_LNG_BITOR_LNG_LNG_PRM_DSC_1: "The second Integer value for the bitwise or.", AR_OP_DSC_SUB: "The subtraction operator returns the difference of two values.", AR_OP_DATE_SUB_DATE_DUR_DSC: "Subtracts days from a Date. The number of days to subtract is calculated by taking the integral value of the total number of seconds in the supplied Duration value divided by 86400 ( the number of seconds in 1 day ).", AR_OP_DATE_SUB_DATE_DUR_RV: "Returns a Date that is the result of subtracting the number of days in the supplied duration from the Date value.", AR_OP_DATE_SUB_DATE_DUR_PRM_DSC_0: "A Date value.", AR_OP_DATE_SUB_DATE_DUR_PRM_DSC_1: "A Duration value that supplies the number of days to subtract.", AR_OP_DATE_SUB_DATE_DUR_EX_OUT_0: "A Date whose value is December 31st, 2008.", AR_OP_DATE_SUB_DATE_DUR_EX_OUT_1: "A Date whose value is February 25th, 2020.", AR_OP_LNG_SUB_LNG_LNG_DSC: "Subtracts an Integer value from an Integer value and returns the result.", AR_OP_LNG_SUB_LNG_LNG_RV: "The difference of the two Integer input values.", AR_OP_LNG_SUB_LNG_LNG_PRM_DSC_0: "The Integer value from which to subtract.", AR_OP_LNG_SUB_LNG_LNG_PRM_DSC_1: "The Integer value to subtract.", AR_OP_CUR_SUB_CUR_CUR_DSC: "Subtracts a Currency value from a Currency value and returns the result. The Currency values must have the same code.", AR_OP_CUR_SUB_CUR_CUR_RV: "The difference of the two Currency input values.", AR_OP_CUR_SUB_CUR_CUR_PRM_DSC_0: "The Currency value from which to subtract.", AR_OP_CUR_SUB_CUR_CUR_PRM_DSC_1: "The Currency value to subtract.", AR_OP_CUR_SUB_CUR_CUR_EX_OUT_0: 'A Currency with an amount of 1.25 and code of "USD"', AR_OP_CUR_SUB_CUR_CUR_EX_OUT_1: "A Currency with an amount of 2.75 and NOT_SET code.", AR_OP_DEC_SUB_DEC_DEC_DSC: "Subtracts a Decimal value from a Decimal value and returns the result.", AR_OP_DEC_SUB_DEC_DEC_RV: "The difference of the two Decimal input values.", AR_OP_DEC_SUB_DEC_DEC_PRM_DSC_0: "The Decimal value from which to subtract.", AR_OP_DEC_SUB_DEC_DEC_PRM_DSC_1: "The Decimal value to subtract.", AR_OP_DEC_SUB_DEC_LNG_DSC: "Subtracts an Integer value from a Decimal value and returns the result.", AR_OP_DEC_SUB_DEC_LNG_RV: "The difference of the two input values.", AR_OP_DEC_SUB_DEC_LNG_PRM_DSC_0: "The Decimal value from which to subtract.", AR_OP_DEC_SUB_DEC_LNG_PRM_DSC_1: "The Integer value to subtract.", AR_OP_DEC_SUB_LNG_DEC_DSC: "Subtracts a Decimal value from an Integer value and returns the result.", AR_OP_DEC_SUB_LNG_DEC_RV: "The difference of the two input values.", AR_OP_DEC_SUB_LNG_DEC_PRM_DSC_0: "The Integer value from which to subtract.", AR_OP_DEC_SUB_LNG_DEC_PRM_DSC_1: "The Decimal value to subtract.", AR_OP_DTM_SUB_DUR_DUR_DSC: "Subtracts a Duration value from a Duration value and returns the result.", AR_OP_DTM_SUB_DUR_DUR_RV: "The difference of the two Duration input values.", AR_OP_DTM_SUB_DUR_DUR_PRM_DSC_0: "The Duration value from which to subtract.", AR_OP_DTM_SUB_DUR_DUR_PRM_DSC_1: "The Duration value to subtract.", AR_OP_DTM_SUB_DUR_DUR_EX_OUT_0: "A Duration of 5 hours and 15 minutes.", AR_OP_DTM_SUB_DTM_DUR_DSC: "Subtracts a Duration from a DateTime and returns the resulting DateTime.", AR_OP_DTM_SUB_DTM_DUR_RV: "Returns the result of subtracting the supplied Duration from a DateTime value.", AR_OP_DTM_SUB_DTM_DUR_PRM_DSC_0: "A DateTime value.", AR_OP_DTM_SUB_DTM_DUR_PRM_DSC_1: "A Duration value to subtract.", AR_OP_DTM_SUB_DTM_DUR_EX_OUT_0: "A DateTime of June 2, 2003 at 10:58:59 PM", AR_OP_TIME_SUB_TIME_DUR_DSC: "Subtracts a Duration from a Time value. Subtraction of a Duration value from a Time value allows for wrap-around so subtracting three hours to a Time value of 01:00:00 will return a Time value of 22:00:00.", AR_OP_TIME_SUB_TIME_DUR_RV: "Returns a Time that is the result of adding the supplied Duration value to the supplied Time value.", AR_OP_TIME_SUB_TIME_DUR_PRM_DSC_0: "A Time value.", AR_OP_TIME_SUB_TIME_DUR_PRM_DSC_1: "A Duration value that supplies the number of days to add to the Time value in startTime.", AR_OP_TIME_SUB_TIME_DUR_EX_OUT_0: "A Time whose value is 06:00:00AM.", AR_OP_TIME_SUB_TIME_DUR_EX_OUT_1: "A Time whose value is 06:00:00AM.", AR_OP_TIME_SUB_TIME_DUR_EX_OUT_2: "A Time whose value is 11:00:00PM.", AR_OP_DSC_MUL: "The multiplication operator returns the product of two values.", AR_OP_LNG_MUL_LNG_LNG_DSC: "Multiplies an Integer value by an Integer value and returns the result.", AR_OP_LNG_MUL_LNG_LNG_RV: "The result of the multiplication of the two Integer input values ( product ).", AR_OP_LNG_MUL_LNG_LNG_PRM_DSC_0: "The Integer value to multiply.", AR_OP_LNG_MUL_LNG_LNG_PRM_DSC_1: "The Integer value to multiply by.", AR_OP_DEC_MUL_DEC_DEC_DSC: "Multiplies a Decimal value by a Decimal value and returns the result.", AR_OP_DEC_MUL_DEC_DEC_RV: "The result of the multiplication of the two Decimal input values ( product ).", AR_OP_DEC_MUL_DEC_DEC_PRM_DSC_0: "The Decimal value to multiply.", AR_OP_DEC_MUL_DEC_DEC_PRM_DSC_1: "The Decimal value to multiply by.", AR_OP_DEC_MUL_LNG_DEC_DSC: "Multiplies an Integer value by an Decimal value and returns the result.", AR_OP_DEC_MUL_LNG_DEC_RV: "The result of the multiplication of the two Integer input values ( product ).", AR_OP_DEC_MUL_LNG_DEC_PRM_DSC_0: "The Integer value to multiply.", AR_OP_DEC_MUL_LNG_DEC_PRM_DSC_1: "The Decimal value to multiply by.", AR_OP_DEC_MUL_DEC_LNG_DSC: "Multiplies a Decimal value by an Integer value and returns the result.", AR_OP_DEC_MUL_DEC_LNG_RV: "The result of the multiplication of the two Decimal input values ( product ).", AR_OP_DEC_MUL_DEC_LNG_PRM_DSC_0: "The Decimal value to multiply.", AR_OP_DEC_MUL_DEC_LNG_PRM_DSC_1: "The Integer value to multiply by.", AR_OP_CUR_MUL_DEC_CUR_DSC: "Multiplies a Decimal value by a Currency value and returns the result.", AR_OP_CUR_MUL_DEC_CUR_RV: "The result of the multiplication of the Decimal and Currency values ( product ).", AR_OP_CUR_MUL_DEC_CUR_PRM_DSC_0: "The Decimal value to multiply.", AR_OP_CUR_MUL_DEC_CUR_PRM_DSC_1: "The Currency value to multiply by.", AR_OP_CUR_MUL_DEC_CUR_EX_OUT_0: 'A Currency with an amount of 37.8 and code of "USD"', AR_OP_CUR_MUL_CUR_DEC_DSC: "Multiplies a Currency value by a Decimal value and returns the result.", AR_OP_CUR_MUL_CUR_DEC_RV: "The result of the multiplication of the Currency and Decimal values ( product ).", AR_OP_CUR_MUL_CUR_DEC_PRM_DSC_0: "The Currency value to multiply.", AR_OP_CUR_MUL_CUR_DEC_PRM_DSC_1: "The Decimal value to multiply by.", AR_OP_CUR_MUL_CUR_DEC_EX_OUT_0: 'A Currency with an amount of -37.8 and code of "USD"', AR_OP_CUR_MUL_LNG_CUR_DSC: "Multiplies an Integer value by a Currency value and returns the result.", AR_OP_CUR_MUL_LNG_CUR_RV: "The result of the multiplication of the Integer and Currency values ( product ).", AR_OP_CUR_MUL_LNG_CUR_PRM_DSC_0: "The Integer value to multiply.", AR_OP_CUR_MUL_LNG_CUR_PRM_DSC_1: "The Currency value to multiply by.", AR_OP_CUR_MUL_LNG_CUR_EX_OUT_0: 'A Currency with an amount of 36.75 and code of "USD"', AR_OP_CUR_MUL_CUR_LNG_DSC: "Multiplies a Currency value by an Integer value and returns the result.", AR_OP_CUR_MUL_CUR_LNG_RV: "The result of the multiplication of the Currency and Integer values ( product ).", AR_OP_CUR_MUL_CUR_LNG_PRM_DSC_0: "The Currency value to multiply.", AR_OP_CUR_MUL_CUR_LNG_PRM_DSC_1: "The Integer value to multiply by.", AR_OP_CUR_MUL_CUR_LNG_EX_OUT_0: 'A Currency with an amount of 36.75 and code of "USD"', AR_OP_DSC_DIV: "The division operator divides two values.", AR_OP_DEC_DIV_LNG_DEC_DSC: "Divides an Integer value by a Decimal value and returns the result.", AR_OP_DEC_DIV_LNG_DEC_RV: "The result of the division ( quotient ) from the supplied Integer and Decimal values.", AR_OP_DEC_DIV_LNG_DEC_PRM_DSC_0: "The Integer value to divide.", AR_OP_DEC_DIV_LNG_DEC_PRM_DSC_1: "The Decimal value to divide by.", AR_OP_DEC_DIV_DEC_LNG_DSC: "Divides a Decimal value by an Integer value and returns the result.", AR_OP_DEC_DIV_DEC_LNG_RV: "The result of the division ( quotient ) from the supplied Decimal and Integer values.", AR_OP_DEC_DIV_DEC_LNG_PRM_DSC_0: "The Decimal value to divide.", AR_OP_DEC_DIV_DEC_LNG_PRM_DSC_1: "The Integer value to divide by.", AR_OP_DEC_DIV_LNG_LNG_DSC: "Divides an Integer value by an Integer value and returns the result.", AR_OP_DEC_DIV_LNG_LNG_RV: "The result of the division ( quotient ) from the supplied Integer values.", AR_OP_DEC_DIV_LNG_LNG_PRM_DSC_0: "The Integer value to divide.", AR_OP_DEC_DIV_LNG_LNG_PRM_DSC_1: "The Integer value to divide by.", AR_OP_DEC_DIV_DEC_DEC_DSC: "Divides a Decimal value by a Decimal value and returns the result.", AR_OP_DEC_DIV_DEC_DEC_RV: "The result of the division ( quotient ) from the supplied Decimal values.", AR_OP_DEC_DIV_DEC_DEC_PRM_DSC_0: "The Decimal value to divide.", AR_OP_DEC_DIV_DEC_DEC_PRM_DSC_1: "The Decimal value to divide by.", AR_OP_CUR_DIV_CUR_DEC_DSC: "Divides a Currency value by a Decimal value and returns the result.", AR_OP_CUR_DIV_CUR_DEC_RV: "The result of the division ( quotient ) from the supplied Currency and Decimal values.", AR_OP_CUR_DIV_CUR_DEC_PRM_DSC_0: "The Currency value to divide.", AR_OP_CUR_DIV_CUR_DEC_PRM_DSC_1: "The Decimal value to divide by.", AR_OP_CUR_DIV_CUR_DEC_EX_OUT_0: 'A Currency with an amount of 7.21 and code of "USD"', AR_OP_CUR_DIV_CUR_LNG_DSC: "Divides a Currency value by an Integer value and returns the result.", AR_OP_CUR_DIV_CUR_LNG_RV: "The result of the division ( quotient ) from the supplied Currency and Decimal values.", AR_OP_CUR_DIV_CUR_LNG_PRM_DSC_0: "The Currency value to divide.", AR_OP_CUR_DIV_CUR_LNG_PRM_DSC_1: "The Integer value to divide by.", AR_OP_CUR_DIV_CUR_LNG_EX_OUT_0: 'A Currency with an amount of 7.50 and code of "USD"', AR_OP_DSC_POW: "The power operator calculates the result of raising a value to the power of another value.", AR_OP_LNG_POW_LNG_LNG_DSC: "Raises an Integer value to the power of another Integer value.", AR_OP_LNG_POW_LNG_LNG_RV: "The result of raising an Integer value to the power of another Integer value.", AR_OP_LNG_POW_LNG_LNG_PRM_DSC_0: "The Integer value to raise.", AR_OP_LNG_POW_LNG_LNG_PRM_DSC_1: "The Integer value to raise by.", AR_OP_DEC_POW_LNG_DEC_DSC: "Raises an Integer value to the power of a Decimal value.", AR_OP_DEC_POW_LNG_DEC_RV: "The result of raising an Integer value to the power of Decimal value.", AR_OP_DEC_POW_LNG_DEC_PRM_DSC_0: "The Integer value to raise.", AR_OP_DEC_POW_LNG_DEC_PRM_DSC_1: "The Decimal value to raise by.", AR_OP_DEC_POW_DEC_LNG_DSC: "Raises a Decimal value to the power of an Integer value.", AR_OP_DEC_POW_DEC_LNG_RV: "The result of raising an Integer value to the power of Decimal value.", AR_OP_DEC_POW_DEC_LNG_PRM_DSC_0: "The Decimal value to raise.", AR_OP_DEC_POW_DEC_LNG_PRM_DSC_1: "The Integer value to raise by.", AR_OP_DEC_POW_DEC_DEC_DSC: "Raises a Decimal value to the power of another Decimal value.", AR_OP_DEC_POW_DEC_DEC_RV: "The result of raising a Decimal value to the power of another Decimal value.", AR_OP_DEC_POW_DEC_DEC_PRM_DSC_0: "The Decimal value to raise.", AR_OP_DEC_POW_DEC_DEC_PRM_DSC_1: "The Decimal value to raise by.", AR_OP_DSC_TER: "The ternary operator is a shorthand way to provide logical if functionality in an expression. It is the only operator that takes three parameters.", AR_OP_ANY_TER_BLN_ANY_ANY_DSC: "Evaluates the Boolean passed in the condition parameter and if the result is true, the value of the trueParameter is returned. Otherwise the value of falseParameter is returned. Only the trueValue or falseValue parameter will be evaluated based on the result the condition parameter. The type of data passed in to trueValue and falseValue parameters must be the same.", AR_OP_ANY_TER_BLN_ANY_ANY_RV: "If value in the condition parameter evaluates to true, the value in the trueValue parameter is returned. If the value of the condition evaluates to false, the value of the falseValue parameter is returned.", AR_OP_ANY_TER_BLN_ANY_ANY_PRM_DSC_0: "The condition to check. A NOT_SET Boolean is considered false.", AR_OP_ANY_TER_BLN_ANY_ANY_PRM_DSC_1: "The value to return if the condition is true.", AR_OP_ANY_TER_BLN_ANY_ANY_PRM_DSC_2: "The value to return if the condition is false or a NOT_SET Boolean.", AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_4: 'A Currency with an amount of 10.00 and code of "USD".', AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_5: "The DateTime of May 5th, 2009 at 10:30:00 AM in Coordinated Universal Time (UTC)", AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_6: "A Duration of 1 hour.", AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_7: 'The User with the name "Doe, John".', AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_8: "The Skill of Spanish.", AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_9: "The Date whose value is June 1st, 2010.", AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_10: "The Time whose value is 12:00:00PM.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_DSC: "Evaluates the Boolean passed in the condition parameter and if the result is true, the value of the trueParameter is returned. Otherwise the value of falseParameter is returned. Only the trueValue or falseValue parameter will be evaluated based on the result the condition parameter. The type of data passed in to trueValue and falseValue parameters must be the same.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_RV: "If value in the condition parameter evaluates to true, the value in the trueValue parameter is returned. If the value of the condition evaluates to false, the value of the falseValue parameter is returned.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_PRM_DSC_0: "The condition to check. A NOT_SET Boolean is considered false.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_PRM_DSC_1: "The collection value to return if the condition is true.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_PRM_DSC_2: "The collection value to return if the condition is false or a NOT_SET Boolean.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_0: 'A Currency collection with one item. The Currency item has an amount of 10.00 and code of "USD".', AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_1: "The collection with the Boolean value true.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_2: 'The String collection with the "hello" string in it.', AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_3: "The Integer collection with the value 100 in it.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_4: "The Integer collection with the value 100.5 in it.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_5: "A DateTime collection with the DateTime value of May 5th, 2009 at 10:30:00 AM in Coordinated Universal Time (UTC).", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_6: "The Duration collection with the Duration of 1 hour.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_7: 'A User collection with the User whose username is "john.doe@company.com".', AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_8: "A Skill collection with the Skill of Spanish.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_9: "The Date collection with one Date item whose value is June 1st, 2010.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_10: "The Time collection with one Time item whose value is 12:00:00PM.", AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_DSC: "Evaluates the Boolean passed in the condition parameter and if the result is true, the value of the trueParameter is returned. Otherwise the value of falseParameter is returned. Only the trueValue or falseValue parameter will be evaluated based on the result the condition parameter. The type of data passed in to trueValue and falseValue parameters must be the same.", AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_RV: "If value in the condition parameter evaluates to true, the Audio value in the trueValueAudio parameter is returned. If the value of the condition evaluates to false, the value of the falseValueAudio parameter is returned.", AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_PRM_DSC_0: "The condition to check. A NOT_SET Boolean is considered false.", AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_PRM_DSC_1: "The Audio value to return if the condition is true.", AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_PRM_DSC_2: "The Audio value to return if the condition is false or a NOT_SET Boolean.", AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_EX_OUT_0: 'Audio for the string "Hello" spoken via. text to speech.', AR_OP_DSC_MOD: "The modulus operator calculates the remainder of the division of two values.", AR_OP_LNG_MOD_LNG_LNG_DSC: "Calculates the remainder of dividing an Integer value by an Integer value.", AR_OP_LNG_MOD_LNG_LNG_RV: "Returns the remainder of dividing an Integer by an Integer value.", AR_OP_LNG_MOD_LNG_LNG_PRM_DSC_0: "The Integer value to divide.", AR_OP_LNG_MOD_LNG_LNG_PRM_DSC_1: "The Integer value to divide by.", AR_OP_DEC_MOD_DEC_DEC_DSC: "Calculates the remainder of dividing a Decimal value by a Decimal value.", AR_OP_DEC_MOD_DEC_DEC_RV: "Returns the remainder of dividing a Decimal value by a Decimal value.", AR_OP_DEC_MOD_DEC_DEC_PRM_DSC_0: "The Decimal value to divide.", AR_OP_DEC_MOD_DEC_DEC_PRM_DSC_1: "The Decimal value to divide by.", AR_OP_DEC_MOD_LNG_DEC_DSC: "Calculates the remainder of dividing an Integer value by a Decimal value.", AR_OP_DEC_MOD_LNG_DEC_RV: "Returns the remainder of dividing an Integer by an Integer value.", AR_OP_DEC_MOD_LNG_DEC_PRM_DSC_0: "The Integer value to divide.", AR_OP_DEC_MOD_LNG_DEC_PRM_DSC_1: "The Decimal value to divide by.", AR_OP_DEC_MOD_DEC_LNG_DSC: "Calculates the remainder of dividing a Decimal value by an Integer value.", AR_OP_DEC_MOD_DEC_LNG_RV: "Returns the remainder of dividing a Decimal value by an Integer value.", AR_OP_DEC_MOD_DEC_LNG_PRM_DSC_0: "The Decimal value to divide.", AR_OP_DEC_MOD_DEC_LNG_PRM_DSC_1: "The Integer value to divide by.", AR_OP_CUR_MOD_CUR_DEC_DSC: "Calculates the remainder of dividing a Currency value by a Decimal value.", AR_OP_CUR_MOD_CUR_DEC_RV: "Returns the remainder of dividing a Currency value by a Decimal value.", AR_OP_CUR_MOD_CUR_DEC_PRM_DSC_0: "The Currency value to divide.", AR_OP_CUR_MOD_CUR_DEC_PRM_DSC_1: "The Decimal value to divide by.", AR_OP_CUR_MOD_CUR_DEC_EX_OUT_0: 'A Currency with an amount of 9.4 and code of "USD"', AR_OP_CUR_MOD_CUR_LNG_DSC: "Calculates the remainder of dividing a Currency value by an Integer value.", AR_OP_CUR_MOD_CUR_LNG_RV: "Returns the remainder of dividing a Currency value by an Integer value.", AR_OP_CUR_MOD_CUR_LNG_PRM_DSC_0: "The Currency value to divide.", AR_OP_CUR_MOD_CUR_LNG_PRM_DSC_1: "The Integer value to divide by.", AR_OP_CUR_MOD_CUR_LNG_EX_OUT_0: 'A Currency with an amount of 1.95 and code of "USD"', AR_OP_DSC_NOT: "The not operator returns the logical negation of a Boolean value.", AR_OP_BLN_NOT_BLN_DSC: "Returns the inverse of a Boolean value.", AR_OP_BLN_NOT_BLN_RV: "Returns the logical negation of the supplied Boolean value.", AR_OP_BLN_NOT_BLN_PRM_DSC_0: "The Boolean value to negate.", AR_OP_DSC_NEG: "The negation operator calculates the negative value of the supplied value.", AR_OP_CUR_NEG_CUR_DSC: "The negation of a Currency value.", AR_OP_CUR_NEG_CUR_RV: "Returns the negation of a Currency value.", AR_OP_CUR_NEG_CUR_PRM_DSC_0: "The Currency value to negate.", AR_OP_CUR_NEG_CUR_EX_OUT_0: 'A Currency with an amount of -5.25 and code of "USD"', AR_OP_CUR_NEG_CUR_EX_OUT_1: 'A Currency with an amount of 0.00 and code of "USD"', AR_OP_LNG_NEG_LNG_DSC: "The negation of an Integer value.", AR_OP_LNG_NEG_LNG_RV: "Returns the negation of an Integer value.", AR_OP_LNG_NEG_LNG_PRM_DSC_0: "The Integer value to negate.", AR_OP_DEC_NEG_DEC_DSC: "The negation of a Decimal value.", AR_OP_DEC_NEG_DEC_RV: "Returns the negation of a Decimal value.", AR_OP_DEC_NEG_DEC_PRM_DSC_0: "The Decimal value to negate.", AR_OP_DUR_NEG_DUR_DSC: "The negation of a Duration value.", AR_OP_DUR_NEG_DUR_RV: "Returns the negation of a Duration value.", AR_OP_DUR_NEG_DUR_PRM_DSC_0: "The Duration value to negate.", AR_OP_DUR_NEG_DUR_EX_OUT_0: "A Duration value of negative 10 days.", AR_OP_DSC_AND: "Performs a logical and operation on two Boolean values.", AR_OP_BLN_LOGICALAND_BLN_BLN_DSC: "Performs a logical and of the two Boolean values supplied. If both values evaluate to true, the result is true. Otherwise, the result is false. If value1 evaluates to false, false is returned and the value specified in the value2 parameter is not evaluated.", AR_OP_BLN_LOGICALAND_BLN_BLN_RV: "Returns the result of the boolean and operation.", AR_OP_BLN_LOGICALAND_BLN_BLN_PRM_DSC_0: "The first Boolean value for the logical and.", AR_OP_BLN_LOGICALAND_BLN_BLN_PRM_DSC_1: "The second Boolean value for the logical and.", AR_OP_DSC: "Performs a logical or operation on two Boolean values.", AR_OP_BLN_LOGICALOR_BLN_BLN_DSC: "Performs a logical or of the two supplied Boolean values. If either value evaluates to true, the result is true. Otherwise, the result is false. If the value1 evaluates to true, true is returned and the value in the value2 parameter is not evaluated.", AR_OP_BLN_LOGICALOR_BLN_BLN_RV: "Returns the result of the boolean or operation.", AR_OP_BLN_LOGICALOR_BLN_BLN_PRM_DSC_0: "The first Boolean value for the logical or.", AR_OP_BLN_LOGICALOR_BLN_BLN_PRM_DSC_1: "The second Boolean value for the logical or.", AR_OP_DSC_GT: "The greater than operator compares two values and returns true if the first is greater than the second.", AR_OP_BLN_GT_DATE_DATE_DSC: "Compares two Date values and returns true if the first Date value is greater than the second Date value.", AR_OP_BLN_GT_DATE_DATE_RV: "Returns true if the first Date value is greater than the second Date value, otherwise false.", AR_OP_BLN_GT_DATE_DATE_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_DATE_DATE_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_LNG_DEC_DSC: "Compares an Integer and a Decimal and returns true if the Integer value is greater than the Decimal value.", AR_OP_BLN_GT_LNG_DEC_RV: "Returns true if the first Integer value is greater than the second Decimal value, otherwise false.", AR_OP_BLN_GT_LNG_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_LNG_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_DEC_LNG_DSC: "Compares a Decimal and an Integer and returns true if the Decimal value is greater than the Integer value.", AR_OP_BLN_GT_DEC_LNG_RV: "Returns true if the first Decimal value is greater than the second Integer value, otherwise false.", AR_OP_BLN_GT_DEC_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_DEC_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_CUR_CUR_DSC: "Compares two Currency values and returns true if the first Currency value is greater than the second Currency value. The currencies must have the same code.", AR_OP_BLN_GT_CUR_CUR_RV: "Returns true if the first Currency value is greater than the second Currency value, otherwise false.", AR_OP_BLN_GT_CUR_CUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_CUR_CUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_DTM_DTM_DSC: "Compares two DateTime values and returns true if the first DateTime value is greater than the second DateTime value.", AR_OP_BLN_GT_DTM_DTM_RV: "Returns true if the first DateTime value is greater than the second DateTime value, otherwise false.", AR_OP_BLN_GT_DTM_DTM_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_DTM_DTM_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_DEC_DEC_DSC: "Compares two Decimal values and returns true if the first Decimal value is greater than the second Decimal value.", AR_OP_BLN_GT_DEC_DEC_RV: "Returns true if the first Decimal value is greater than the second Decimal value, otherwise false.", AR_OP_BLN_GT_DEC_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_DEC_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_DUR_DUR_DSC: "Compares two Duration values and returns true if the first Duration value is greater than the second Duration value.", AR_OP_BLN_GT_DUR_DUR_RV: "Returns true if the first Duration value is greater than the second Duration value, otherwise false.", AR_OP_BLN_GT_DUR_DUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_DUR_DUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_LNG_LNG_DSC: "Compares two Integer values and returns true if the first Integer value is greater than the second Integer value.", AR_OP_BLN_GT_LNG_LNG_RV: "Returns true if the first Integer value is greater than the second Integer value, otherwise false.", AR_OP_BLN_GT_LNG_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_LNG_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_STR_STR_DSC: "Compares two String values and returns true if the first String value is greater than the second String value. This is a case sensitive comparison.", AR_OP_BLN_GT_STR_STR_RV: "Returns true if the first String value is greater than the second String value, otherwise false.", AR_OP_BLN_GT_STR_STR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_STR_STR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_TIME_TIME_DSC: "Compares two Time values and returns true if the first Time value is greater than the second Time value.", AR_OP_BLN_GT_TIME_TIME_RV: "Returns true if the first Time value is greater than the second Time value, otherwise false.", AR_OP_BLN_GT_TIME_TIME_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_TIME_TIME_PRM_DSC_1: "The value to compare to.", AR_OP_DSC_GTE: "The greater than or equal to operator compares two values and returns true if the first is greater than or equal to the second.", AR_OP_BLN_GTE_DATE_DATE_DSC: "Compares two Date values and returns true if the first Date value is greater than or equal to the second Date value.", AR_OP_BLN_GTE_DATE_DATE_RV: "Returns true if the first Date value is greater than or equal to the second Date value, otherwise false.", AR_OP_BLN_GTE_DATE_DATE_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_DATE_DATE_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_LNG_DEC_DSC: "Compares an Integer and a Decimal and returns true if the Integer value is greater than or equal to the Decimal value.", AR_OP_BLN_GTE_LNG_DEC_RV: "Returns true if the first Integer value is greater than or equal to the second Decimal value, otherwise false.", AR_OP_BLN_GTE_LNG_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_LNG_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_DEC_LNG_DSC: "Compares a Decimal and an Integer and returns true if the Decimal value is greater than or equal to the Integer value.", AR_OP_BLN_GTE_DEC_LNG_RV: "Returns true if the first Decimal value is greater than or equal to the second Integer value, otherwise false.", AR_OP_BLN_GTE_DEC_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_DEC_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_CUR_CUR_DSC: "Compares two Currency values and returns true if the first Currency value is greater than the second Currency value. The currencies must have the same code.", AR_OP_BLN_GTE_CUR_CUR_RV: "Returns true if the first Currency value is greater than or equal to the second Currency value, otherwise false.", AR_OP_BLN_GTE_CUR_CUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_CUR_CUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_DTM_DTM_DSC: "Compares two DateTime values and returns true if the first DateTime value is greater than or equal to the second DateTime value.", AR_OP_BLN_GTE_DTM_DTM_RV: "Returns true if the first DateTime value is greater than or equal to the second DateTime value, otherwise false.", AR_OP_BLN_GTE_DTM_DTM_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_DTM_DTM_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_DEC_DEC_DSC: "Compares two Decimal values and returns true if the first Decimal value is greater than or equal to the second Decimal value.", AR_OP_BLN_GTE_DEC_DEC_RV: "Returns true if the first Decimal value is greater than or equal to the second Decimal value, otherwise false.", AR_OP_BLN_GTE_DEC_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_DEC_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_DUR_DUR_DSC: "Compares two Duration values and returns true if the first Duration value is greater than or equal to the second Duration value.", AR_OP_BLN_GTE_DUR_DUR_RV: "Returns true if the first Duration value is greater than or equal to the second Duration value, otherwise false.", AR_OP_BLN_GTE_DUR_DUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_DUR_DUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_LNG_LNG_DSC: "Compares two Integer values and returns true if the first Integer value is greater than or equal to the second Integer value.", AR_OP_BLN_GTE_LNG_LNG_RV: "Returns true if the first Integer value is greater than or equal to the second Integer value, otherwise false.", AR_OP_BLN_GTE_LNG_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_LNG_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_STR_STR_DSC: "Compares two String values and returns true if the first String value is greater than or equal to the second String value.", AR_OP_BLN_GTE_STR_STR_RV: "Returns true if the first String value is greater than or equal to the second String value, otherwise false.", AR_OP_BLN_GTE_STR_STR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_STR_STR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_TIME_TIME_DSC: "Compares two Time values and returns true if the first Time value is greater than or equal to the second Time value.", AR_OP_BLN_GTE_TIME_TIME_RV: "Returns true if the first Time value is greater than or equal to the second Time value, otherwise false.", AR_OP_BLN_GTE_TIME_TIME_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_TIME_TIME_PRM_DSC_1: "The value to compare to.", AR_OP_DSC_LT: "The less than operator compares two values and returns true if the first is less than the second.", AR_OP_BLN_LT_LNG_DEC_DSC: "Compares an Integer and a Decimal and returns true if the Integer value is less than the Decimal value.", AR_OP_BLN_LT_LNG_DEC_RV: "Returns true if the first Integer value is less than the second Decimal value, otherwise false.", AR_OP_BLN_LT_LNG_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_LNG_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_DEC_LNG_DSC: "Compares a Decimal and an Integer and returns true if the Decimal value is less than the Integer value.", AR_OP_BLN_LT_DEC_LNG_RV: "Returns true if the first Decimal value is less than the second Integer value, otherwise false.", AR_OP_BLN_LT_DEC_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_DEC_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_CUR_CUR_DSC: "Compares two Currency values and returns true if the first Currency value is greater than the second Currency value. The currencies must have the same code.", AR_OP_BLN_LT_CUR_CUR_RV: "Returns true if the first Currency value is less than the second Currency value, otherwise false.", AR_OP_BLN_LT_CUR_CUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_CUR_CUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_DATE_DATE_DSC: "Compares two Date values and returns true if the first Date value is less than the second Date value.", AR_OP_BLN_LT_DATE_DATE_RV: "Returns true if the first Date value is less than the second Date value, otherwise false.", AR_OP_BLN_LT_DATE_DATE_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_DATE_DATE_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_DTM_DTM_DSC: "Compares two DateTime values and returns true if the first DateTime value is less than the second DateTime value.", AR_OP_BLN_LT_DTM_DTM_RV: "Returns true if the first DateTime value is less than the second DateTime value, otherwise false.", AR_OP_BLN_LT_DTM_DTM_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_DTM_DTM_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_DEC_DEC_DSC: "Compares two Decimal values and returns true if the first Decimal value is less than the second Decimal value.", AR_OP_BLN_LT_DEC_DEC_RV: "Returns true if the first Decimal value is less than the second Decimal value, otherwise false.", AR_OP_BLN_LT_DEC_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_DEC_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_DUR_DUR_DSC: "Compares two Duration values and returns true if the first Duration value is less than the second Duration value.", AR_OP_BLN_LT_DUR_DUR_RV: "Returns true if the first Duration value is less than the second Duration value, otherwise false.", AR_OP_BLN_LT_DUR_DUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_DUR_DUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_LNG_LNG_DSC: "Compares two Integer values and returns true if the first Integer value is less than the second Integer value.", AR_OP_BLN_LT_LNG_LNG_RV: "Returns true if the first Integer value is less than the second Integer value, otherwise false.", AR_OP_BLN_LT_LNG_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_LNG_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_STR_STR_DSC: "Compares two String values and returns true if the first String value is less than the second String value.", AR_OP_BLN_LT_STR_STR_RV: "Returns true if the first String value is less than the second String value, otherwise false.", AR_OP_BLN_LT_STR_STR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_STR_STR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_TIME_TIME_DSC: "Compares two Time values and returns true if the first Time value is less than the second Time value.", AR_OP_BLN_LT_TIME_TIME_RV: "Returns true if the first Time value is less than the second Time value, otherwise false.", AR_OP_BLN_LT_TIME_TIME_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_TIME_TIME_PRM_DSC_1: "The value to compare to.", AR_OP_DSC_LTE: "The less than or equal to operator compares two values and returns true if the first is less than or equal to the second.", AR_OP_BLN_LTE_LNG_DEC_DSC: "Compares an Integer and a Decimal and returns true if the Integer value is less than or equal to the Decimal value.", AR_OP_BLN_LTE_LNG_DEC_RV: "Returns true if the first Integer value is less than or equal to the second Decimal value, otherwise false.", AR_OP_BLN_LTE_LNG_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_LNG_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_DATE_DATE_DSC: "Compares two Date values and returns true if the first Date value is less than the second Date value.", AR_OP_BLN_LTE_DATE_DATE_RV: "Returns true if the first Date value is less than the second Date value, otherwise false.", AR_OP_BLN_LTE_DATE_DATE_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_DATE_DATE_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_DEC_LNG_DSC: "Compares a Decimal and an Integer and returns true if the Decimal value is less than or equal to the Integer value.", AR_OP_BLN_LTE_DEC_LNG_RV: "Returns true if the first Decimal value is less than or equal to the second Integer value, otherwise false.", AR_OP_BLN_LTE_DEC_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_DEC_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_CUR_CUR_DSC: "Compares two Currency values and returns true if the first Currency value is less than or equal to the second Currency value. The currencies must have the same code.", AR_OP_BLN_LTE_CUR_CUR_RV: "Returns true if the first Currency value is less than or equal to the second Currency value, otherwise false.", AR_OP_BLN_LTE_CUR_CUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_CUR_CUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_DTM_DTM_DSC: "Compares two DateTime values and returns true if the first DateTime value is less than or equal to the second DateTime value.", AR_OP_BLN_LTE_DTM_DTM_RV: "Returns true if the first DateTime value is less than or equal to the second DateTime value, otherwise false.", AR_OP_BLN_LTE_DTM_DTM_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_DTM_DTM_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_DEC_DEC_DSC: "Compares two Decimal values and returns true if the first Decimal value is less than or equal to the second Decimal value.", AR_OP_BLN_LTE_DEC_DEC_RV: "Returns true if the first Decimal value is less than or equal to the second Decimal value, otherwise false.", AR_OP_BLN_LTE_DEC_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_DEC_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_DUR_DUR_DSC: "Compares two Duration values and returns true if the first Duration value is less than or equal to the second Duration value.", AR_OP_BLN_LTE_DUR_DUR_RV: "Returns true if the first Duration value is less than or equal to the second Duration value, otherwise false.", AR_OP_BLN_LTE_DUR_DUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_DUR_DUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_LNG_LNG_DSC: "Compares two Integer values and returns true if the first Integer value is less than or equal to the second Integer value.", AR_OP_BLN_LTE_LNG_LNG_RV: "Returns true if the first Integer value is less than or equal to the second Integer value, otherwise false.", AR_OP_BLN_LTE_LNG_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_LNG_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_STR_STR_DSC: "Compares two String values and returns true if the first String value is less than or equal to the second String value.", AR_OP_BLN_LTE_STR_STR_RV: "Returns true if the first String value is less than or equal to the second String value, otherwise false.", AR_OP_BLN_LTE_STR_STR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_STR_STR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_TIME_TIME_DSC: "Compares two Time values and returns true if the first Time value is less than the second Time value.", AR_OP_BLN_LTE_TIME_TIME_RV: "Returns true if the first Time value is less than the second Time value, otherwise false.", AR_OP_BLN_LTE_TIME_TIME_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_TIME_TIME_PRM_DSC_1: "The value to compare to.", AR_OP_DSC_BKT: "Returns either an item at a given index in a collection or the value of a property on a non-collection object.", AR_OP_ANY_BKT_LNG_ANY_COLL_DSC: "Returns the item at the given index in the collection.", AR_OP_ANY_BKT_LNG_ANY_COLL_RV: "Returns the value at the given index", AR_OP_ANY_BKT_LNG_ANY_COLL_PRM_DSC_0: "The index of the item in the collection to access.", AR_OP_ANY_BKT_LNG_ANY_COLL_PRM_DSC_1: "The collection containing the item to access.", AR_OP_ANY_BKT_LNG_ANY_COLL_EX_OUT_0: 'The Currency item at index 1 with an amount of 2.25 and code of "EUR" ( Euros )', AR_OP_ANY_BKT_STR_ANY_DSC: "Returns the value for a property", AR_OP_ANY_BKT_STR_ANY_RV: "Returns the value of the named property.", AR_OP_ANY_BKT_STR_ANY_PRM_DSC_0: "The property name to access on the object which must be a string literal.", AR_OP_ANY_BKT_STR_ANY_PRM_DSC_1: "The object containing the property to access.", AR_OP_JSON_BKT_LNG_JSON_DSC: "Returns the JSON value of an item at a specified index.", AR_OP_JSON_BKT_LNG_JSON_RV: "Returns the item from the supplied JSON array or character from the supplied JSON string value as a JSON value.", AR_OP_JSON_BKT_LNG_JSON_PRM_DSC_0: "The zero-based index of the item in the JSON value array or character position in the JSON value string to return. Attempting to access an array item or string character using a negative index or an index that is greater than or equal to the number of items in the array or length of the string will invoke error handling.", AR_OP_JSON_BKT_LNG_JSON_PRM_DSC_1: "The JSON value that contains an array with the item to return or string value whose character you want to return. If the supplied JSON value does not contain an array or string, this will invoke error handling. Remember the IsJsonArray or IsJsonString functions can be used to check if a JSON value contains an array or string.", AR_OP_JSON_BKT_LNG_JSON_EX_OUT_0: "A JSON value containing the number 3.", AR_OP_JSON_BKT_LNG_JSON_EX_OUT_2: 'A JSON value containing the string "l".', AR_OP_DSC_EQU: "The equals operator returns a Boolean value indicating whether two values are equal.", AR_OP_BLN_EQU_ANY_ANY_DSC: "Compares two values and returns true if the first value is equal to the second value. The values being compared need to be the same type.", AR_OP_BLN_EQU_ANY_ANY_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_ANY_ANY_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_ANY_ANY_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_EQU_DEC_LNG_DSC: "Compares a Decimal and Integer value and returns true if they are equal.", AR_OP_BLN_EQU_DEC_LNG_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_DEC_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_DEC_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_EQU_LNG_DEC_DSC: "Compares an Integer and Decimal value and returns true if they are equal.", AR_OP_BLN_EQU_LNG_DEC_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_LNG_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_LNG_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_DSC: "Compares an Integer collection and a Decimal collection and returns true if the first collection of values is equal to the second collection of values.", AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_DSC: "Compares a Decimal collection and an Integer collection and returns true if the first collection of values is equal to the second collection of values.", AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_EQU_PHNBR_PHNBR_DSC: "Compares two PhoneNumber values and returns true if they are equal. A PhoneNumber is equal to another PhoneNumber if both PhoneNumber value isTel properties are true and the e164 properties are equal, the isSip properties are true and the uri properties are equal or the isTel and isSip properties on both PhoneNumber values are false and the raw properties are equal.", AR_OP_BLN_EQU_PHNBR_PHNBR_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_PHNBR_PHNBR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_PHNBR_PHNBR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_DSC: "Compares two collection of values and returns true if the first collection of values is equal to the second collection of values. The collections being compared must be the same type.", AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_PRM_DSC_1: "The value to compare to.", AR_OP_DSC_NEQ: "The not equals operator returns a Boolean value indicating whether two values are not equal.", AR_OP_BLN_NEQ_ANY_ANY_DSC: "Compares two values and returns true if the first value is not equal to the second value.", AR_OP_BLN_NEQ_ANY_ANY_RV: "Returns true if the first value is not equal to the second value, otherwise false. The values being compared must be the same type.", AR_OP_BLN_NEQ_ANY_ANY_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_ANY_ANY_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_NEQ_DEC_LNG_DSC: "Compares a Decimal and Integer value and returns true if they are not equal.", AR_OP_BLN_NEQ_DEC_LNG_RV: "Returns true if the first value is not equal to the second value, otherwise false.", AR_OP_BLN_NEQ_DEC_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_DEC_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_NEQ_LNG_DEC_DSC: "Compares an Integer and Decimal value and returns true if they are not equal.", AR_OP_BLN_NEQ_LNG_DEC_RV: "Returns true if the first value is not equal to the second value, otherwise false.", AR_OP_BLN_NEQ_LNG_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_LNG_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_NEQ_PHNBR_PHNBR_DSC: "Compares two PhoneNumber values and returns true if they are not equal. A PhoneNumber is not equal to another PhoneNumber if both PhoneNumber value isTel properties are true and the e164 properties are not equal, the isSip properties are true and the uri properties are not equal or the isTel and isSip properties on both PhoneNumber values are false and the raw properties are not equal.", AR_OP_BLN_NEQ_PHNBR_PHNBR_RV: "Returns true if the first value is not equal to the second value, otherwise false.", AR_OP_BLN_NEQ_PHNBR_PHNBR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_PHNBR_PHNBR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_DSC: "Compares an Integer collection and a Decimal collection and returns true if the first collection of values is not equal to the second collection of values.", AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_RV: "Returns true if the first value is not equal to the second value, otherwise false.", AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_DSC: "Compares a Decimal collection and an Integer collection and returns true if the first collection of values is not equal to the second collection of values.", AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_RV: "Returns true if the first value is not equal to the second value, otherwise false.", AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_DSC: "Compares two collection of values and returns true if the first collection of values is not equal to the second collection of values. The collections being compared must be the same type.", AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_RV: "Returns true if the first value is not equal to the second value, otherwise false.", AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_PRM_DSC_1: "The value to compare to.", AR_OP_DSC_PROPACCESS: "Accesses a Property of the given value.", AR_OP_ANY_PROPACCESS_STR_ANY_DSC: "Accesses a property on a value.", AR_OP_ANY_PROPACCESS_STR_ANY_RV: "Returns the value of the property accessed.", AR_OP_ANY_PROPACCESS_STR_ANY_PRM_DSC_0: "The property ID of the property to access in the value.", AR_OP_ANY_PROPACCESS_STR_ANY_PRM_DSC_1: "The value to access.", AR_OP_ANY_PROPACCESS_STR_COMPLEX_DSC: "Accesses a property on a complex value.", AR_OP_ANY_PROPACCESS_STR_COMPLEX_RV: "Returns the value of the property accessed.", AR_OP_ANY_PROPACCESS_STR_COMPLEX_PRM_DSC_0: "The name of the property to access in the value.", AR_OP_ANY_PROPACCESS_STR_COMPLEX_PRM_DSC_1: "The complex value to access.", AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.Bool variable.", AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_RV: "Returns the specified Boolean Format from the Format.Bool variable.", AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_PRM_DSC_0: "The Boolean Format property to access.", AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.Bool variable.", AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_EX_OUT_0: "The playYesNo property on the Format.Bool variable.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.Currency variable.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_RV: "Returns the specified Currency Format Enum from the Format.Currency variable.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_PRM_DSC_0: "The Currency Format Enum property to access.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.Currency variable.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_EX_OUT_0: "The playDigits property on the Format.Currency variable.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_EX_OUT_1: "The majorUnitsOnly property on the Format.Currency variable.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_EX_OUT_2: "The minorUnitsOnly property on the Format.Currency variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_RV: "Returns the specified Date Format Enum from the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_PRM_DSC_0: "The Date Format Enum property to access.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_0: "The longYear property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_1: "The shortYear property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_2: "The shortMonthAndDay property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_3: "The dayOnly property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_4: "The monthOnly property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_5: "The shortYearOnly property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_6: "The longYearOnly property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_7: "The dayOfWeekOnly property on the Format.Date variable.", AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.Number variable.", AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_RV: "Returns the specified Number Format Enum from the Format.Number variable.", AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_PRM_DSC_0: "The Number Format Enum property to access.", AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.Number variable.", AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_EX_OUT_0: "The playDigits property on the Format.Number variable.", AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.PhoneNumber variable.", AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_RV: "Returns the specified Phone Number Format Enum from the Format.PhoneNumber variable.", AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_PRM_DSC_0: "The Phone Number Format Enum property to access.", AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.PhoneNumber variable.", AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_EX_OUT_0: "The global property on the Format.PhoneNumber variable.", AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_EX_OUT_1: "The local property on the Format.PhoneNumber variable.", AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_DSC: "Accesses a property on the System.Conversation variable.", AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_RV: "Returns the ConversationType Enum from the System.Conversation variable.", AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_PRM_DSC_0: "The Conversation Type Enum property to access.", AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_PRM_DSC_1: "Must be the System.Conversation variable.", AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_EX_OUT_0: "The ConversationTypes property from the System.Conversation variable.", AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_DSC: "Accesses a property on the System.Currencies variable.", AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_RV: "Returns the specified Currency Enum from the System.Currencies variable.", AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_PRM_DSC_0: "The Currency Enum property to access.", AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_PRM_DSC_1: "Must be the System.Currencies variable.", AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_EX_OUT_0: "The USD property from the System.Currencies variable.", AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_DSC: "Accesses a property on the System.DateTime variable.", AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_RV: "Returns the specified Day of Week Enum Container from the System.DateTime variable.", AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_PRM_DSC_0: "The Day of Week Enum Container property to access.", AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_PRM_DSC_1: "Must be the System.DateTime variable.", AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_EX_OUT_0: "The dayOfWeek property from the System.DateTime variable.", AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_DSC: "Accesses a property on the System.Languages variable.", AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_RV: "Returns the specified Language Enum from the System.Languages variable.", AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_PRM_DSC_0: "The Language Enum property to access.", AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_PRM_DSC_1: "Must be the System.Languages variable.", AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_EX_OUT_0: "The enUS property from the System.Languages variable.", AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_DSC: "Accesses a property on the System.Regions variable.", AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_RV: "Returns the specified Region Enum from the System.Regions variable.", AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_PRM_DSC_0: "The Region Enum property to access.", AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_PRM_DSC_1: "Must be the System.Regions variable.", AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_EX_OUT_0: "The US property from the System.Regions variable.", AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_DSC: "Accesses a property on the System.Survey variable.", AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_RV: "Returns the specified Survey Disposition Enum from the System.Survey variable.", AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_PRM_DSC_0: "The Survey Disposition Enum property to access.", AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_PRM_DSC_1: "Must be the System.Survey variable.", AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_EX_OUT_0: "The Dispositions property from the System.Survey variable.", AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.String variable.", AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_RV: "Returns the specified String Format Enum from the Format.String variable.", AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_PRM_DSC_0: "The String Format Enum property to access.", AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.String variable.", AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_EX_OUT_0: "The playChars property on the Format.String variable.", AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.Time variable.", AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_RV: "Returns the specified Time Format Enum from the Format.Time variable.", AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_PRM_DSC_0: "The Time Format Enum property to access.", AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.Time variable.", AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_EX_OUT_0: "The twelveHours property on the Format.Time variable.", AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_EX_OUT_1: "The twentyFourHours property on the Format.Time variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_DSC: "Accesses a property on the Language.Case variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_RV: "Returns the specified case Language Context Enum from the Language.Case variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_PRM_DSC_0: "The case Language Context Enum property to access.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_PRM_DSC_1: "Must be the Language.Case variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_EX_OUT_0: "The article property on the Language.Case variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_EX_OUT_1: "The accusative property on the Language.Case variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_EX_OUT_2: "The genitive property on the Language.Case variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_DSC: "Accesses a property on the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_RV: "Returns the specified gender Language Context Enum from the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_PRM_DSC_0: "The gender Language Context Enum property to access.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_PRM_DSC_1: "Must be the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_0: "The common property on the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_1: "The feminine property on the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_2: "The masculine property on the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_3: "The neuter property on the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_DSC: "Accesses a property on the Language.Quantity variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_RV: "Returns the specified quantity Language Context Enum from the Language.Quantity variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_PRM_DSC_0: "The quantity Language Context Enum property to access.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_PRM_DSC_1: "Must be the Language.Quantity variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_EX_OUT_0: "The plural property on the Language.Quantity variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_EX_OUT_1: "The singular property on the Language.Quantity variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_DSC: "Accesses a property on the Format.TimePart variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_RV: "Returns the specified TimePart Enum from the Format.TimePart variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_PRM_DSC_0: "The Time Part Enum property to access.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_PRM_DSC_1: "Must be the Format.TimePart variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_0: "The days property on the Format.TimePart variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_1: "The hours property on the Format.TimePart variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_2: "The minutes property on the Format.TimePart variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_3: "The seconds property on the Format.TimePart variable.", AR_FN_DSC_AUDIOPLAYBACKOPTIONS: "This function configures the way audio is played back to a caller.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_DSC: "Configures the way audio is played back to a caller with an option for barge-in handling.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_RV: "Returns Audio with barge-in handling configured.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_PRM_DSC_0: "The prompt or audio to play to the call.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_PRM_DSC_1: "Whether or not to allow barge-in by DTMF or speech recognition during the audio playback.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_EX_OUT_0: "An Audio object for the user prompt Welcome with barge-in by DTMF or speech recognition disabled for the entirety of the playback.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_EX_OUT_1: "An Audio object for the number five with barge-in by DTMF or speech recognition disabled for the entirety of the playback.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_EX_OUT_2: "An Audio object for the number five followed by 500 milliseconds of blank audio and then the number four with barge-in by DTMF or speech recognition enabled for the entirety of the playback.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_DSC: "Configures the way audio is played back to a caller with options for barge-in and flushing audio.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_RV: "Returns Audio with playback configured.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_PRM_DSC_0: "The prompt or audio to play to the call.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_PRM_DSC_1: "Whether or not to allow barge-in by DTMF or speech recognition during the audio playback.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_PRM_DSC_2: "Whether or not to flush the audio and play back it back immediately to the call rather than queue it up for playback.", AR_FN_DSC_CEILING: "Gets the smallest integral value that is not less than the supplied value.", AR_FN_CUR_CEILING_CUR_DSC: "Gets the smallest integral value expressed as a Currency that is not less than the supplied value.", AR_FN_CUR_CEILING_CUR_RV: "Returns the smallest integral value that is not less than the Currency value supplied in the value parameter and returns it as a Currency with the same code as the input value.", AR_FN_CUR_CEILING_CUR_PRM_DSC_0: "The Currency value to process.", AR_FN_CUR_CEILING_CUR_EX_OUT_0: 'A Currency with an amount of 3.00 and code of "USD"', AR_FN_CUR_CEILING_CUR_EX_OUT_1: 'A Currency with an amount of 4.00 and code of "USD"', AR_FN_CUR_CEILING_CUR_EX_OUT_2: 'A Currency with an amount of -3.00 and code of "USD"', AR_FN_CUR_CEILING_CUR_EX_OUT_3: 'A Currency with an amount of 5.00 and code of "USD"', AR_FN_DEC_CEILING_DEC_DSC: "Gets the smallest integral value expressed as a Decimal that is not less than the supplied value.", AR_FN_DEC_CEILING_DEC_RV: "Returns the smallest integral value that is not less than the Decimal supplied in the value parameter and returns it as a Decimal.", AR_FN_DEC_CEILING_DEC_PRM_DSC_0: "The Decimal value to process.", AR_FN_LNG_CEILING_LNG_DSC: "Gets the smallest integral value that is not less than the supplied value. When an Integer is supplied to the Ceiling function, the supplied integer is returned.", AR_FN_LNG_CEILING_LNG_RV: "Returns the Integer that supplied in the value parameter.", AR_FN_LNG_CEILING_LNG_PRM_DSC_0: "The Integer to be returned.", AR_FN_DSC_FLOOR: "Gets the largest integral value that is not greater than the supplied value.", AR_FN_CUR_FLOOR_CUR_DSC: "Gets the largest integral value returned as a Currency with the same code as the Currency passed in that is not greater than the supplied value.", AR_FN_CUR_FLOOR_CUR_RV: "Returns the largest integral value that is not greater than the Currency supplied in the value parameter and returns it as a Currency with the same code as the input value.", AR_FN_CUR_FLOOR_CUR_PRM_DSC_0: "The Currency value to process.", AR_FN_CUR_FLOOR_CUR_EX_OUT_0: 'A Currency with an amount of 2.00 and code of "USD"', AR_FN_CUR_FLOOR_CUR_EX_OUT_1: 'A Currency with an amount of 3.00 and code of "USD"', AR_FN_CUR_FLOOR_CUR_EX_OUT_2: 'A Currency with an amount of -4.00 and code of "USD"', AR_FN_CUR_FLOOR_CUR_EX_OUT_3: 'A Currency with an amount of 5.00 and code of "USD"', AR_FN_CUR_FLOOR_CUR_EX_OUT_4: "This would result in an error at runtime.", AR_FN_DEC_FLOOR_DEC_DSC: "Gets the largest integral value returned as a Decimal that is not greater than the supplied value.", AR_FN_DEC_FLOOR_DEC_RV: "Returns the largest integral value that is not greater than the Decimal supplied in the value parameter and returns it as a Decimal.", AR_FN_DEC_FLOOR_DEC_PRM_DSC_0: "The Decimal value to process.", AR_FN_LNG_FLOOR_LNG_DSC: "Gets the largest integral value that is not greater than the supplied value. When an Integer is supplied to the Floor function, the supplied Integer is returned.", AR_FN_LNG_FLOOR_LNG_RV: "Returns the Integer that supplied in the value parameter.", AR_FN_LNG_FLOOR_LNG_PRM_DSC_0: "The Integer value to process.", AR_FN_DSC_ROUND: "Rounds to the Decimal supplied in the value parameter to the specified number of digits after the decimal place.", AR_FN_CUR_ROUND_CUR_DSC: "Rounds a Currency value's amount to the nearest integral value with the same code.", AR_FN_CUR_ROUND_CUR_RV: "Returns a Currency whose amount is rounded to the nearest integral value with the same code as the input.", AR_FN_CUR_ROUND_CUR_PRM_DSC_0: "The Currency to be rounded.", AR_FN_CUR_ROUND_CUR_EX_OUT_0: 'A Currency with an amount of 3.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_EX_OUT_1: 'A Currency with an amount of 2.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_EX_OUT_2: 'A Currency with an amount of 1.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_EX_OUT_3: 'A Currency with an amount of 0.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_EX_OUT_4: 'A Currency with an amount of -3.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_EX_OUT_5: 'A Currency with an amount of -4.00 and code of "USD"', AR_FN_DEC_ROUND_DEC_DSC: "Rounds a Decimal value to the nearest integral value", AR_FN_DEC_ROUND_DEC_RV: "Returns a Decimal value that is rounded to the nearest integral value.", AR_FN_DEC_ROUND_DEC_PRM_DSC_0: "The Decimal value to be rounded.", AR_FN_DEC_ROUND_DEC_LNG_DSC: "Rounds a Decimal value to the number of digits specified in the digits parameter.", AR_FN_DEC_ROUND_DEC_LNG_RV: "Returns a Decimal value that is rounded to the number of digits specified in the digits parameter.", AR_FN_DEC_ROUND_DEC_LNG_PRM_DSC_0: "The Decimal value to be rounded.", AR_FN_DEC_ROUND_DEC_LNG_PRM_DSC_1: "The number of digits to round after the decimal place.", AR_FN_CUR_ROUND_CUR_LNG_DSC: "Rounds a Currency amount to the nearest integral amount.", AR_FN_CUR_ROUND_CUR_LNG_RV: "Returns a Currency with an amount that is rounded to the number of digits specified in the digits parameter and a code that matches the input Currency value.", AR_FN_CUR_ROUND_CUR_LNG_PRM_DSC_0: "The Currency to be rounded.", AR_FN_CUR_ROUND_CUR_LNG_PRM_DSC_1: "The number of digits to round after the decimal place.", AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_0: 'A Currency with an amount of 3.20 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_1: 'A Currency with an amount of 3.23 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_2: 'A Currency with an amount of 2.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_3: 'A Currency with an amount of 1.50 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_4: 'A Currency with an amount of 0.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_5: 'A Currency with an amount of -3.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_6: 'A Currency with an amount of -3.20 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_7: 'A Currency with an amount of -4.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_8: 'A Currency with an amount of -3.60 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_9: 'A Currency with an amount of -3.61 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_10: 'A Currency with an amount of -4.00 and code of "USD"', AR_FN_DSC_SUM: "Adds all of the numeric expressions given as arguments.", AR_FN_LNG_SUM_LNG_LNG_MORE_DSC: "Adds the supplied Integer values and returns the result.", AR_FN_LNG_SUM_LNG_LNG_MORE_RV: "Returns an Integer that is the sum of the supplied Integer values.", AR_FN_LNG_SUM_LNG_LNG_MORE_PRM_DSC_0: "The first Integer to sum. If the Integer value is NOT_SET, it will be treated as 0.", AR_FN_LNG_SUM_LNG_LNG_MORE_PRM_DSC_1: "An additional Integer to sum. If the Integer value is NOT_SET, it will be treated as 0.", AR_FN_CUR_SUM_CUR_CUR_MORE_DSC: "Adds the supplied Currency values and returns the result. Each currency added must have the same code. If all Currency values are NOT_SET, a Currency with an amount of 0 and code of NOT_SET is returned.", AR_FN_CUR_SUM_CUR_CUR_MORE_RV: "Returns a Currency which is the sum of the supplied Currency values.", AR_FN_CUR_SUM_CUR_CUR_MORE_PRM_DSC_0: "The first Currency to sum. If the Currency value is NOT_SET, it will be skipped.", AR_FN_CUR_SUM_CUR_CUR_MORE_PRM_DSC_1: "An additional Currency to sum. This Currency must have the same code as the first Currency submitted to the Sum function. If the Currency value is NOT_SET, it will be skipped.", AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_0: 'A Currency with an amount of 9.00 and code of "USD"', AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_1: 'A Currency with an amount of -5.20 and code of "USD"', AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_2: 'A Currency with an amount of -0.40 and code of "USD"', AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_3: 'A Currency with an amount of 5.00 and code of "USD"', AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_4: 'A Currency with an amount of -3.00 and code of "USD"', AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_5: 'A Currency with an amount of 0.00 and code of "USD"', AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_6: "A Currency with an amount of 0.0 and code of NOT_SET.", AR_FN_DEC_SUM_DEC_DEC_MORE_DSC: "Adds the supplied Decimal values and returns the result.", AR_FN_DEC_SUM_DEC_DEC_MORE_RV: "Returns a Decimal which is the sum of the supplied Decimal values.", AR_FN_DEC_SUM_DEC_DEC_MORE_PRM_DSC_0: "The first Decimal to sum. A NOT_SET decimal is treated as 0.0.", AR_FN_DEC_SUM_DEC_DEC_MORE_PRM_DSC_1: "An additional Decimal to sum A NOT_SET decimal is treated as 0.0.", AR_FN_DUR_SUM_DUR_DUR_MORE_DSC: "Adds the supplied Duration values and returns the result.", AR_FN_DUR_SUM_DUR_DUR_MORE_RV: "Returns a Duration which is the sum of the supplied Duration values.", AR_FN_DUR_SUM_DUR_DUR_MORE_PRM_DSC_0: "The first Duration to sum. A NOT_SET Duration is treated as a 0 second duration.", AR_FN_DUR_SUM_DUR_DUR_MORE_PRM_DSC_1: "An additional Duration to sum. A NOT_SET Duration is treated as a 0 second duration.", AR_FN_DUR_SUM_DUR_DUR_MORE_EX_OUT_0: "A Duration of 2 days, 1 hour, 30 minutes and 6 seconds.", AR_FN_DUR_SUM_DUR_DUR_MORE_EX_OUT_1: "A Duration of 1 day, 1 hour and 3 seconds.", AR_FN_DUR_SUM_DUR_DUR_MORE_EX_OUT_2: "A Duration of 0 seconds.", AR_FN_LNG_SUM_LNG_COLL_DSC: "Adds Integer values in a collection. If an element in the Integer collection is NOT_SET, it will be treated as 0. If the collection is empty, 0 is returned.", AR_FN_LNG_SUM_LNG_COLL_RV: "Returns the sum of the Integer values in a collection.", AR_FN_LNG_SUM_LNG_COLL_PRM_DSC_0: "A collection of Integer values to sum.", AR_FN_CUR_SUM_CUR_COLL_DSC: "Adds the supplied Currency values in the collection and returns the result. Each currency item in the collection must have the same code. If a Currency item in the collection is NOT_SET, it will be skipped in the calculation. If all items in the collection are a NOT_SET Currency or the collection is empty, a Currency with an amount of 0.0 and code of NOT_SET is returned.", AR_FN_CUR_SUM_CUR_COLL_RV: "Returns a Currency which is the sum of the supplied Currency values in the collection.", AR_FN_CUR_SUM_CUR_COLL_PRM_DSC_0: "The Currency collection to sum.", AR_FN_CUR_SUM_CUR_COLL_EX_OUT_0: 'A Currency with an amount of 9.00 and code of "USD"', AR_FN_CUR_SUM_CUR_COLL_EX_OUT_1: 'A Currency with an amount of -5.20 and code of "USD"', AR_FN_CUR_SUM_CUR_COLL_EX_OUT_2: 'A Currency with an amount of -0.40 and code of "USD"', AR_FN_CUR_SUM_CUR_COLL_EX_OUT_3: 'A Currency with an amount of 5.00 and code of "USD"', AR_FN_CUR_SUM_CUR_COLL_EX_OUT_4: 'A Currency with an amount of -3.00 and code of "USD"', AR_FN_CUR_SUM_CUR_COLL_EX_OUT_5: 'A Currency with an amount of 0.0 and code of "USD"', AR_FN_CUR_SUM_CUR_COLL_EX_OUT_6: "A Currency with an amount of 0.0 and code of NOT_SET.", AR_FN_DEC_SUM_DEC_COLL_DSC: "Adds Decimal values in a collection. If an element in the Decimal collection is NOT_SET, it will be treated as 0.0. If the collection is empty, 0.0 is returned.", AR_FN_DEC_SUM_DEC_COLL_RV: "Returns the sum of the Decimal values in a collection.", AR_FN_DEC_SUM_DEC_COLL_PRM_DSC_0: "A collection of Decimal values to sum.", AR_FN_DUR_SUM_DUR_COLL_DSC: "Adds Duration values in a collection. If an element in the Duration collection is NOT_SET, it will be treated as a Duration of 0 seconds. If the Duration collection is empty, a Duration of 0 seconds is returned.", AR_FN_DUR_SUM_DUR_COLL_RV: "Returns the sum of the Duration values in a collection.", AR_FN_DUR_SUM_DUR_COLL_PRM_DSC_0: "A collection of Duration values to sum.", AR_FN_DUR_SUM_DUR_COLL_EX_OUT_0: "A duration of 2 days, 1 hour, 30 minutes and 6 seconds.", AR_FN_DUR_SUM_DUR_COLL_EX_OUT_1: "A duration of 1 day, 1 hour and 3 seconds.", AR_FN_DUR_SUM_DUR_COLL_EX_OUT_2: "A duration of 0 seconds.", AR_FN_DUR_SUM_DUR_COLL_EX_OUT_3: "A duration of 0 seconds.", AR_FN_DSC_AVERAGE: "Computes the average of the values supplied to the function.", AR_FN_CUR_AVERAGE_CUR_MORE_DSC: "Computes the average of the Currency values supplied to the function. Each currency value must have the same code. If all values submitted are NOT_SET Currency values, the return value is a Currency with an amount of 0.0 and code of NOT_SET.", AR_FN_CUR_AVERAGE_CUR_MORE_RV: "Returns the average of the Currency values supplied as arguments.", AR_FN_CUR_AVERAGE_CUR_MORE_PRM_DSC_0: "A Currency value to be used in the average calculation. If the Currency is NOT_SET, it will be skipped in the average calculation.", AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_0: 'A Currency with an amount of 6.50 and code of "USD"', AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_1: 'A Currency with an amount of 4.50 and code of "USD"', AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_2: 'A Currency with an amount of 8.00 and code of "USD"', AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_3: "A Currency with an amount of 0.0 and code of NOT_SET", AR_FN_DEC_AVERAGE_DEC_MORE_DSC: "Computes the average of the Decimal values supplied to the function. If all values submitted are NOT_SET Decimals, the return Decimal is 0.0.", AR_FN_DEC_AVERAGE_DEC_MORE_RV: "Returns the average of the Decimals supplied as arguments.", AR_FN_DEC_AVERAGE_DEC_MORE_PRM_DSC_0: "A Decimal value to be used in the average calculation. If the value is NOT_SET, it will be skipped in the average calculation.", AR_FN_DUR_AVERAGE_DUR_MORE_DSC: "Computes the average of the Duration values supplied to the function. If all values submitted are NOT_SET Duration values, the returned Duration is 0 seconds.", AR_FN_DUR_AVERAGE_DUR_MORE_RV: "Returns the average of the Duration values supplied as arguments. Note that since the result is a Duration, the average will be computed out to milliseconds.", AR_FN_DUR_AVERAGE_DUR_MORE_PRM_DSC_0: "A Duration value to be used in the average calculation. If the value is NOT_SET, it will be skipped in the average calculation.", AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_0: "A Duration of 3 hours.", AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_1: "A Duration of four hours and 30 minutes.", AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_2: "A Duration of 8 hours.", AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_3: "A 0 second Duration.", AR_FN_DEC_AVERAGE_LNG_MORE_DSC: "Computes the average of the Integer values supplied to the function. If all values submitted are NOT_SET Integers, the return value is a Decimal of 0.0.", AR_FN_DEC_AVERAGE_LNG_MORE_RV: "Returns the average of the supplied Integer values.", AR_FN_DEC_AVERAGE_LNG_MORE_PRM_DSC_0: "An Integer value to be used in the average calculation. If the value is a NOT_SET, it will be skipped in the average calculation.", AR_FN_CUR_AVERAGE_CUR_COLL_DSC: "Computes the average of the Currency values in a collection. Each currency item in the collection must have the same code. If a Currency item's amount in the collection is NOT_SET, it will be skipped in the average calculation. If the Currency collection is empty, a Currency with an amount of 0.0 and code of NOT_SET is returned.", AR_FN_CUR_AVERAGE_CUR_COLL_RV: "Returns the average of the Currency items in the supplied Currency collection.", AR_FN_CUR_AVERAGE_CUR_COLL_PRM_DSC_0: "A Currency collection whose items are used in the average calculation.", AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_0: 'A Currency with an amount of 6.50 and code of "USD"', AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_1: 'A Currency with an amount of 4.50 and code of "USD"', AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_2: 'A Currency with an amount of 8.00 and code of "USD"', AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_3: "A Currency with an amount of 0.0 and code of NOT_SET.", AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_4: "A Currency with an amount of 0.0 and code of NOT_SET.", AR_FN_DEC_AVERAGE_DEC_COLL_DSC: "Computes the average of the Decimal values in a Decimal collection.", AR_FN_DEC_AVERAGE_DEC_COLL_RV: "Returns the average of the Decimal items in the supplied Decimal collection.", AR_FN_DEC_AVERAGE_DEC_COLL_PRM_DSC_0: "The Decimal collection from which to compute the average. If an element in the Decimal collection is NOT_SET, it will not be computed in the average.", AR_FN_DEC_AVERAGE_LNG_COLL_DSC: "Computes the average of the Integer values in an Integer collection. If an element in the Integer collection is NOT_SET, it will not be computed in the average. If the Integer collection is empty, an Integer value of 0 is returned.", AR_FN_DEC_AVERAGE_LNG_COLL_RV: "Returns the average of the Integer items in the supplied Integer collection.", AR_FN_DEC_AVERAGE_LNG_COLL_PRM_DSC_0: "The Integer collection from which to compute the average.", AR_FN_DUR_AVERAGE_DUR_COLL_DSC: "Computes the average of the Duration values in a Duration collection. If an element in the Duration collection is NOT_SET, it will not be computed in the average. If the Duration collection is empty, a Duration value of 0 seconds is returned.", AR_FN_DUR_AVERAGE_DUR_COLL_RV: "Returns the average of the Duration items in the supplied Duration collection.", AR_FN_DUR_AVERAGE_DUR_COLL_PRM_DSC_0: "The Duration collection from which to compute the average. Note that since the result is a Duration, the average will be computed out to milliseconds.", AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_0: "A Duration of 3 hours.", AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_1: "A Duration of four hours and 30 minutes.", AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_2: "A Duration of 8 hours.", AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_3: "A 0 second Duration.", AR_FN_DSC_FINDSYSTEMPROMPT: "Searches for an Architect system prompt in the organization.", AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_DSC: "Performs a search for an Architect system prompt by the specified prompt name and returns the Prompt value if a unique match is found.", AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_RV: "Returns the Prompt value for the supplied system prompt name if found, otherwise a NOT_SET Prompt.", AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_PRM_DSC_0: 'The name of the system prompt to find. The system prompt will be looked up by name case insensitively. The search name should not begin with "PromptSystem.". If it does, that prefix will be removed when performing the find operation at runtime.', AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_0: 'Returns the Prompt value for the system prompt named "boolean_false".', AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_1: 'Returns the Prompt value for the system prompt named "boolean_false".', AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_2: "A NOT_SET Prompt since that system prompt does not exist.", AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_3: "A NOT_SET Prompt.", AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_4: "A NOT_SET Prompt.", AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_DSC: "Returns a NOT_SET Prompt for a NOT_SET input value.", AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_RV: "Returns a NOT_SET Prompt.", AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_EX_OUT_0: "A NOT_SET Prompt.", AR_FN_DSC_FINDUSERPROMPT: "Searches for an Architect user prompt in the organization.", AR_FN_PROMPT_FINDUSERPROMPT_STR_DSC: "Performs a search for an Architect user prompt by the specified prompt name and returns the Prompt value if a unique match is found.", AR_FN_PROMPT_FINDUSERPROMPT_STR_RV: "Returns the Prompt value for the supplied user prompt name if found, otherwise a NOT_SET Prompt.", AR_FN_PROMPT_FINDUSERPROMPT_STR_PRM_DSC_0: 'The name of the user prompt to find. The user prompt will be looked up by name case insensitively. The search name should not begin with "Prompt.". If it does, that prefix will be removed when performing the find operation at runtime.', AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_0: 'Returns the Prompt value for the user prompt named "Greeting" if there is a user prompt with with that name, otherwise a NOT_SET Prompt.', AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_1: 'Returns the Prompt value for the user prompt named "Greeting" if there is a user prompt with with that name, otherwise a NOT_SET Prompt.', AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_2: "A NOT_SET Prompt.", AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_3: "A NOT_SET Prompt.", AR_FN_PROMPT_FINDUSERPROMPT_NTS_DSC: "Returns a NOT_SET Prompt for a NOT_SET input value.", AR_FN_PROMPT_FINDUSERPROMPT_NTS_RV: "Returns a NOT_SET Prompt.", AR_FN_PROMPT_FINDUSERPROMPT_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_PROMPT_FINDUSERPROMPT_NTS_EX_OUT_0: "A NOT_SET Prompt.", AR_FN_DSC_FINDSTRING: "Returns the location of a specified occurrence of a String within a String.", AR_FN_LNG_FINDSTRING_STR_STR_DSC: 'Searches for the first occurrence of a String within a String by doing a case sensitive match. If textToFind find is "", a 0 will be returned.', AR_FN_LNG_FINDSTRING_STR_STR_RV: "Returns the zero-based index of the first occurrence of a String within a String by doing a case sensitive match.", AR_FN_LNG_FINDSTRING_STR_STR_PRM_DSC_0: "The String that will be scanned.", AR_FN_LNG_FINDSTRING_STR_STR_PRM_DSC_1: "The String for which you are searching.", AR_FN_LNG_FINDSTRING_STR_STR_BLN_DSC: 'Searches for the first occurrence of a String within a String. If textToFind find is "", a -1 will be returned.', AR_FN_LNG_FINDSTRING_STR_STR_BLN_RV: "Returns the zero-based index of the first occurrence of a String within a String.", AR_FN_LNG_FINDSTRING_STR_STR_BLN_PRM_DSC_0: "The String that will be scanned.", AR_FN_LNG_FINDSTRING_STR_STR_BLN_PRM_DSC_1: "The String for which you are searching.", AR_FN_LNG_FINDSTRING_STR_STR_BLN_PRM_DSC_2: "Whether or not to perform a case insensitive (true) or case sensitive (false) search.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_DSC: "Calculates the index of a String within a String by doing a case sensitive match. This function will find the n'th occurrence of the string as specified by the occurrenceNumber parameter.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_RV: `Returns the zero-based index of the n'th ( specified by the occurrenceNumber parameter ) String within a String by doing a case sensitive match. If the String to find is "", a -1 will be returned.`, AR_FN_LNG_FINDSTRING_STR_STR_LNG_PRM_DSC_0: "The String that will be scanned.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_PRM_DSC_1: "The String for which you are searching.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_PRM_DSC_2: "The specific occurrence to find. If there are less than occurrenceNumber matches in the text to search, a -1 is returned.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_DSC: "Calculates the index of a String within a String. This function will find the n'th occurrence of the string as specified by the occurrenceNumber parameter.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_RV: `Returns the zero-based index of the n'th ( specified by the occurrenceNumber parameter ) String within a String. If the String to find is "", a -1 will be returned.`, AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_0: "The String that will be scanned.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_1: "The String for which you are searching.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_2: "The specific occurrence to find. If there are less than occurrenceNumber matches in the text to search, a -1 is returned.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_3: "Whether or not to perform a case insensitive (true) or case sensitive (false) search.", AR_FN_DSC_FINDUSER: "Searches for a user in the organization.", AR_FN_USR_FINDUSER_STR_DSC: "Performs a search for a user by email address in a case insensitive manner.", AR_FN_USR_FINDUSER_STR_RV: "Returns the User value if one user with the specified email address was found, otherwise a NOT_SET User.", AR_FN_USR_FINDUSER_STR_PRM_DSC_0: "The email address of the user to find.", AR_FN_USR_FINDUSER_STR_EX_OUT_0: 'Returns the User found for the email address "john.doe@company.com" if there is one user in the organization with that email address, otherwise a NOT_SET User.', AR_FN_USR_FINDUSER_STR_EX_OUT_1: "A NOT_SET User.", AR_FN_USR_FINDUSER_NTS_DSC: "Returns a NOT_SET User for a NOT_SET input value.", AR_FN_USR_FINDUSER_NTS_RV: "Returns a NOT_SET User.", AR_FN_USR_FINDUSER_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_USR_FINDUSER_NTS_EX_OUT_0: "A NOT_SET User.", AR_FN_DSC_FINDUSERBYID: "Looks up a user in the organization by ID.", AR_FN_USR_FINDUSERBYID_STR_DSC: "Looks up a user from a user ID.", AR_FN_USR_FINDUSERBYID_STR_RV: "Returns the User value if the lookup was successful, otherwise a NOT_SET User.", AR_FN_USR_FINDUSERBYID_STR_PRM_DSC_0: "The user ID to find. The ID will be matched in a case insensitive manner.", AR_FN_USR_FINDUSERBYID_STR_EX_OUT_0: 'Returns the User with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" if it exists, otherwise a NOT_SET User.', AR_FN_USR_FINDUSERBYID_STR_EX_OUT_1: "A NOT_SET User.", AR_FN_USR_FINDUSERBYID_NTS_DSC: "Returns a NOT_SET User for a NOT_SET input value.", AR_FN_USR_FINDUSERBYID_NTS_RV: "Returns a NOT_SET User.", AR_FN_USR_FINDUSERBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_USR_FINDUSERBYID_NTS_EX_OUT_0: "A NOT_SET User.", AR_FN_DSC_FINDUSERSBYID: "Looks up multiple users in the organization by ID.", AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_DSC: "Looks up users from user IDs.", AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_RV: "Returns an ordered User collection whose items correspond to the lookup results of each ID in the input String collection. For user IDs that could not be looked up, they will be NOT_SET User items in the returned collection.", AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_PRM_DSC_0: "A String collection of user IDs to look up. Identifiers will be matched in a case insensitive manner.", AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_EX_OUT_0: 'A User collection with the item at index 0 being the user with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" and the item at index 1 being a NOT_SET User.', AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_EX_OUT_1: "An empty User collection.", AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_EX_OUT_2: "A User collection with one item in it. The item at index 0 is a NOT_SET User.", AR_FN_DSC_FINDCUSTOMERSEGMENTS: "Searches for Customer Segments in the organization by name.", AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_DSC: "Performs a case insensitive search for up to 5 Customer Segments by name and returns a collection of matching CustomerSegment values. For segment names that could not be found, they will be NOT_SET CustomerSegment items in the returned collection.", AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_RV: "Returns an ordered CustomerSegment collection whose items correspond to the lookup results of each name in the input String collection. For segment names that could not be found, they will be NOT_SET CustomerSegment items in the returned collection.", AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_PRM_DSC_0: "A String collection of Customer Segment names to look up. Names will be matched in a case insensitive manner.", AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_EX_OUT_0: 'Returns a CustomerSegment collection containing the segments named "Gold Members" and "VIP" that were found in the organization. Segments not found will be NOT_SET CustomerSegment items.', AR_FN_DSC_FINDDIVISION: "Searches for a Division in the organization.", AR_FN_DIVISION_FINDDIVISION_STR_DSC: "Performs a case insensitive search for a uniquely named Division and returns the Division value if found.", AR_FN_DIVISION_FINDDIVISION_STR_RV: "Returns the Division found in your organization if there was a unique match found, otherwise a NOT_SET Division.", AR_FN_DIVISION_FINDDIVISION_STR_PRM_DSC_0: "The Division name to look up in the organization. The search will be performed case insensitively.", AR_FN_DIVISION_FINDDIVISION_STR_EX_OUT_0: 'Returns the Division for the Division named "Fire" if there is one Division with that name case insensitively, otherwise a NOT_SET Division.', AR_FN_DIVISION_FINDDIVISION_STR_EX_OUT_1: "A NOT_SET Division.", AR_FN_DIVISION_FINDDIVISION_NTS_DSC: "Returns a NOT_SET Division for a NOT_SET input value.", AR_FN_DIVISION_FINDDIVISION_NTS_RV: "Returns a NOT_SET Division.", AR_FN_DIVISION_FINDDIVISION_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_DIVISION_FINDDIVISION_NTS_EX_OUT_0: "A NOT_SET Division.", AR_FN_DSC_FINDDIVISIONBYID: "Searches for a Division in the organization by ID.", AR_FN_DIVISION_FINDDIVISIONBYID_STR_DSC: "Looks up a Division by ID and returns a Division value if found.", AR_FN_DIVISION_FINDDIVISIONBYID_STR_RV: "Returns the value of a Division if a unique match was found in your organization, otherwise returns a Division with value of NOT_SET.", AR_FN_DIVISION_FINDDIVISIONBYID_STR_PRM_DSC_0: "The Division ID to look up in your organization. The ID will be matched in a case insensitive manner.", AR_FN_DIVISION_FINDDIVISIONBYID_STR_EX_OUT_0: 'Returns the Division with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" if it exists, otherwise a NOT_SET Division.', AR_FN_DIVISION_FINDDIVISIONBYID_STR_EX_OUT_1: "A NOT_SET Division.", AR_FN_DIVISION_FINDDIVISIONBYID_NTS_DSC: "Returns a NOT_SET Division for a NOT_SET input value.", AR_FN_DIVISION_FINDDIVISIONBYID_NTS_RV: "Returns a NOT_SET Division.", AR_FN_DIVISION_FINDDIVISIONBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_DIVISION_FINDDIVISIONBYID_NTS_EX_OUT_0: "A NOT_SET Division.", AR_FN_DSC_FINDDIVISIONS: "Searches for Divisions in the organization.", AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_DSC: "Performs a case insensitive search for uniquely named Divisions.", AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_RV: "Returns an Division collection whose items correspond to the lookup results of each name in the input String collection. For division names that could not be found, they will be NOT_SET Division items in the returned collection.", AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_PRM_DSC_0: "A String collection of division names to look up. The search will be performed case insensitively.", AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_EX_OUT_0: 'A Division collection with the item at index 0 being the division with the name "Fire" and the item at index 1 being a NOT_SET Division.', AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_EX_OUT_1: "An empty Division collection.", AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_EX_OUT_2: "A Division collection with one item in it. The item at index 0 is a NOT_SET Division.", AR_FN_DSC_FINDDIVISIONSBYID: "Searches for Divisions in the organization by ID.", AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_DSC: "Looks up divisions from division IDs.", AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_RV: "Returns an ordered Division collection whose items correspond to the lookup results of each ID in the input String collection. For division IDs that could not be looked up, they will be NOT_SET Division items in the returned collection.", AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_PRM_DSC_0: "A String collection of division IDs to look up. Identifiers will be matched in a case insensitive manner.", AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_EX_OUT_0: 'A Division collection with the item at index 0 being the user with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" and the item at index 1 being a NOT_SET Division.', AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_EX_OUT_1: "An empty Division collection.", AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_EX_OUT_2: "A Division collection with one item in it. The item at index 0 is a NOT_SET Division.", AR_FN_DSC_FINDEMERGENCYGROUP: "Searches for an EmergencyGroup in the organization.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_DSC: "Performs a case insensitive search for a uniquely named Emergency Group and returns the Emergency Group value if found.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_RV: "Returns the Emergency Group found in your organization if there was a unique match found, otherwise a NOT_SET Emergency Group.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_PRM_DSC_0: "The Emergency Group name to look up in the organization. The search will be performed case insensitively.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_EX_OUT_0: 'Returns the Emergency Group for the Emergency Group named "Fire" if there is one Emergency Group with that name case insensitively, otherwise a NOT_SET Emergency Group.', AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_EX_OUT_1: "A NOT_SET Emergency Group.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_DSC: "Returns a NOT_SET Emergency Group for a NOT_SET input value.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_RV: "Returns a NOT_SET Emergency Group.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_EX_OUT_0: "A NOT_SET EmergencyGroup.", AR_FN_DSC_FINDGRAMMAR: "Searches for a grammar in the organization.", AR_FN_GRAMMAR_FINDGRAMMAR_STR_DSC: "Performs a search for a grammar and returns a Grammar value if found.", AR_FN_GRAMMAR_FINDGRAMMAR_STR_RV: "Returns the Grammar value for the grammar found in your organization if there was a unique match found, otherwise a NOT_SET Grammar.", AR_FN_GRAMMAR_FINDGRAMMAR_STR_PRM_DSC_0: "The grammar to look up in your organization. The search will be performed in a case insensitive manner.", AR_FN_GRAMMAR_FINDGRAMMAR_STR_EX_OUT_0: 'Returns the Grammar for the grammar named "Customer Account" if there is one grammar with that name, otherwise a NOT_SET Grammar.', AR_FN_GRAMMAR_FINDGRAMMAR_STR_EX_OUT_1: "A NOT_SET Grammar.", AR_FN_GRAMMAR_FINDGRAMMAR_NTS_DSC: "Returns a NOT_SET Grammar for a NOT_SET input value.", AR_FN_GRAMMAR_FINDGRAMMAR_NTS_RV: "Returns a NOT_SET Grammar.", AR_FN_GRAMMAR_FINDGRAMMAR_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_GRAMMAR_FINDGRAMMAR_NTS_EX_OUT_0: "A NOT_SET Grammar.", AR_FN_DSC_FINDGRAMMARBYID: "Looks up a grammar in the organization by ID.", AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_DSC: "Looks up a grammar from a grammar ID and returns a Grammar value if found.", AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_RV: "Returns the Grammar value if the lookup was successful, otherwise a NOT_SET Grammar.", AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_PRM_DSC_0: "The grammar ID to find. The ID will be matched in a case insensitive manner.", AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_EX_OUT_0: 'Returns the Grammar with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" if it exists, otherwise a NOT_SET Grammar.', AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_DSC: "Returns a NOT_SET Grammar for a NOT_SET input value.", AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_RV: "Returns a NOT_SET Grammar.", AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_EX_OUT_0: "A NOT_SET Grammar.", AR_FN_DSC_FINDGROUP: "Searches for a group in the organization.", AR_FN_GRP_FINDGROUP_STR_DSC: "Performs a search for a group and returns a Group value if found.", AR_FN_GRP_FINDGROUP_STR_RV: "Returns the Group value for the group found in your organization if there was a unique match found, otherwise a NOT_SET Group.", AR_FN_GRP_FINDGROUP_STR_PRM_DSC_0: "The group to look up in your organization. The search will be performed in a case insensitive manner.", AR_FN_GRP_FINDGROUP_STR_EX_OUT_0: 'Returns the Group for the group named "Warranty Specialists" if there is one group with that name, otherwise a NOT_SET Group.', AR_FN_GRP_FINDGROUP_STR_EX_OUT_1: "A NOT_SET Group.", AR_FN_GRP_FINDGROUP_NTS_DSC: "Returns a NOT_SET Group for a NOT_SET input value.", AR_FN_GRP_FINDGROUP_NTS_RV: "Returns a NOT_SET Group.", AR_FN_GRP_FINDGROUP_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_GRP_FINDGROUP_NTS_EX_OUT_0: "A NOT_SET Group.", AR_FN_DSC_FINDIMAGE: "Searches for an image in canned response assets in the organization.", AR_FN_IMAGE_FINDIMAGE_STR_DSC: "Performs a search for an image in canned response assets and returns an Image value if found.", AR_FN_IMAGE_FINDIMAGE_STR_RV: "Returns the Image value for the image found in your organization if there was a unique match found, otherwise a NOT_SET Image.", AR_FN_IMAGE_FINDIMAGE_STR_PRM_DSC_0: "The image name to look up in your organization. The search will be performed in a case insensitive manner.", AR_FN_IMAGE_FINDIMAGE_STR_EX_OUT_0: 'Returns the Image for the image named "ArchitectLogo" if there is one image with that name, otherwise a NOT_SET Image.', AR_FN_IMAGE_FINDIMAGE_STR_EX_OUT_1: "A NOT_SET Image.", AR_FN_IMAGE_FINDIMAGE_NTS_DSC: "Returns a NOT_SET Image for a NOT_SET input value.", AR_FN_IMAGE_FINDIMAGE_NTS_RV: "Returns a NOT_SET Image.", AR_FN_IMAGE_FINDIMAGE_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_IMAGE_FINDIMAGE_NTS_EX_OUT_0: "A NOT_SET Image.", AR_FN_DSC_FINDIMAGEBYID: "Looks up an image in canned response assets in the organization by ID.", AR_FN_IMAGE_FINDIMAGEBYID_STR_DSC: "Looks up an image from an image ID.", AR_FN_IMAGE_FINDIMAGEBYID_STR_RV: "Returns the Image value if the lookup was successful, otherwise a NOT_SET Image.", AR_FN_IMAGE_FINDIMAGEBYID_STR_PRM_DSC_0: "The image ID to find. The ID will be matched in a case insensitive manner.", AR_FN_IMAGE_FINDIMAGEBYID_STR_EX_OUT_0: 'Returns the Image with the ID "32952010-9ac2-469f-a2d8-85123e03763b" if it exists, otherwise a NOT_SET Image.', AR_FN_IMAGE_FINDIMAGEBYID_NTS_DSC: "Returns a NOT_SET Image for a NOT_SET input value.", AR_FN_IMAGE_FINDIMAGEBYID_NTS_RV: "Returns a NOT_SET Image.", AR_FN_IMAGE_FINDIMAGEBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_IMAGE_FINDIMAGEBYID_NTS_EX_OUT_0: "A NOT_SET Image.", AR_FN_DSC_FINDKNOWLEDGEBASEDOCUMENTBYID: "Looks up a knowledgebase document in the organization by ID.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_DSC: "Looks up a knowledgebase document from a knowledgebase document ID and returns a KnowledgeBaseDocument value if found.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_RV: "Returns the KnowledgeBaseDocument value if the lookup was successful, otherwise a NOT_SET KnowledgeBaseDocument.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_PRM_DSC_0: "The knowledgebase document ID to find. The ID will be matched in a case insensitive manner.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_EX_OUT_0: 'Returns the KnowledgeBaseDocument with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" if it exists, otherwise a NOT_SET KnowledgeBaseDocument.', AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_DSC: "Returns a NOT_SET KnowledgeBaseDocument for a NOT_SET input value.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_RV: "Returns a NOT_SET KnowledgeBaseDocument.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_EX_OUT_0: "A NOT_SET KnowledgeBaseDocument.", AR_FN_DSC_FINDUTILIZATIONLABEL: "Searches for a Utilization Label in the organization.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_DSC: "Performs a search for a Utilization Label and returns a UtilizationLabel value if found.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_RV: "Returns the value of a UtilizationLabel if a unique match was found in your organization, otherwise returns a UtilizationLabel with value of NOT_SET.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_PRM_DSC_0: "The Utilization Label to look up in your organization. The search will be performed in a case insensitive manner.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_EX_OUT_0: 'Returns the value of a UtilizationLabel named "Green" if a unique match was found in your organization, otherwise returns a UtilizationLabel with value of NOT_SET.', AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_EX_OUT_1: "A NOT_SET UtilizationLabel.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_DSC: "Returns a NOT_SET UtilizationLabel for a NOT_SET input value.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_RV: "Returns a NOT_SET UtilizationLabel.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_EX_OUT_0: "A NOT_SET UtilizationLabel.", AR_FN_DSC_FINDUTILIZATIONLABELBYID: "Searches for a Utilization Label in the organization by ID.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_STR_DSC: "Looks up a Utilization Label by ID and returns a UtilizationLabel value if found.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_STR_RV: "Returns the value of a UtilizationLabel if a unique match was found in your organization, otherwise returns a UtilizationLabel with value of NOT_SET.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_STR_PRM_DSC_0: "The Utilization Label ID to look up in your organization. The ID will be matched in a case insensitive manner.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_DSC: "Returns a NOT_SET UtilizationLabel for a NOT_SET input value.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_RV: "Returns a NOT_SET UtilizationLabel.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_EX_OUT_0: "A NOT_SET UtilizationLabel.", AR_FN_DSC_FINDQUEUE: "Searches for a queue in the organization.", AR_FN_QUEUE_FINDQUEUE_STR_DSC: "Performs a search for a queue and returns a Queue value if found.", AR_FN_QUEUE_FINDQUEUE_STR_RV: "Returns the Queue value for the queue found in your organization if there was a unique match found, otherwise a NOT_SET Queue.", AR_FN_QUEUE_FINDQUEUE_STR_PRM_DSC_0: "The queue to look up in your organization. The search will be performed in a case insensitive manner.", AR_FN_QUEUE_FINDQUEUE_STR_EX_OUT_0: 'Returns the Queue for the queue named "Marketing" if there is one queue with that name, otherwise a NOT_SET Queue.', AR_FN_QUEUE_FINDQUEUE_STR_EX_OUT_1: "A NOT_SET Queue.", AR_FN_QUEUE_FINDQUEUE_NTS_DSC: "Returns a NOT_SET Queue for a NOT_SET input value.", AR_FN_QUEUE_FINDQUEUE_NTS_RV: "Returns a NOT_SET Queue.", AR_FN_QUEUE_FINDQUEUE_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_QUEUE_FINDQUEUE_NTS_EX_OUT_0: "A NOT_SET Queue.", AR_FN_DSC_FINDQUEUEBYID: "Looks up a queue in the organization by ID.", AR_FN_QUEUE_FINDQUEUEBYID_STR_DSC: "Looks up a queue from a queue ID.", AR_FN_QUEUE_FINDQUEUEBYID_STR_RV: "Returns the Queue value if the lookup was successful, otherwise a NOT_SET Queue.", AR_FN_QUEUE_FINDQUEUEBYID_STR_PRM_DSC_0: "The queue ID to find. The ID will be matched in a case insensitive manner.", AR_FN_QUEUE_FINDQUEUEBYID_STR_EX_OUT_0: 'Returns the Queue with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" if it exists, otherwise a NOT_SET Queue.', AR_FN_QUEUE_FINDQUEUEBYID_NTS_DSC: "Returns a NOT_SET Queue for a NOT_SET input value.", AR_FN_QUEUE_FINDQUEUEBYID_NTS_RV: "Returns a NOT_SET Queue.", AR_FN_QUEUE_FINDQUEUEBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_QUEUE_FINDQUEUEBYID_NTS_EX_OUT_0: "A NOT_SET Queue.", AR_FN_DSC_FINDWORKTYPESTATUS: "Searches for a Worktype Status of the worktype associated with this flow by name.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_DSC: "Searches for a Worktype Status by its name case insensitively and returns a Worktype Status value if found.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_RV: "Returns the Worktype Status value if a unique match was found on the worktype, otherwise returns a NOT_SET Worktype Status value.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_PRM_DSC_0: "The Worktype Status name to look up on the worktype configured for this flow. The search will be performed in a case insensitive manner.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_EX_OUT_0: 'Returns the value of a Worktype Status named "NewOpportunity" if a unique match was found in the statuses configured on the worktype, otherwise returns a Worktype Status with value of NOT_SET.', AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_DSC: "Returns a NOT_SET Worktype Status for a NOT_SET input value.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_RV: "Returns a NOT_SET Worktype Status.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_EX_OUT_0: "A NOT_SET Worktype Status.", AR_FN_DSC_FINDWORKTYPESTATUSBYID: "Searches for a Worktype Status of the worktype associated with this flow by ID.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_DSC: "Searches for a Worktype Status by its ID and returns a Worktype Status value if found.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_RV: "Returns the value of a Worktype Status if a unique match was found in your organization, otherwise returns a Worktype Status with value of NOT_SET.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_PRM_DSC_0: "The Worktype Status ID to look up in your organization. The ID will be matched in a case insensitive manner.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_EX_OUT_0: 'Returns the Worktype Status with the ID "8dd32bf3-5f81-4601-9db7-fbce97b09441" if it exists, otherwise a NOT_SET Worktype Status.', AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_DSC: "Returns a NOT_SET Worktype Status for a NOT_SET input value.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_RV: "Returns a NOT_SET Worktype Status.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_EX_OUT_0: "A NOT_SET Worktype Status.", AR_FN_DSC_FINDQUEUEESTIMATEDWAITTIME: "Searches for a queue in the organization and returns estimated wait time information for it.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_DSC: "Searches for a unique queue in the organization by name and if found returns estimated wait time for the current flow's conversation media type.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_RV: "Returns the estimated wait time as a Duration value for the current conversation type on the looked up queue if there was a unique match for the supplied queue name and the estimated wait time could be determined, otherwise a NOT_SET Duration.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_PRM_DSC_0: "The queue name to look up in your organization by name. The search will be performed in a case insensitive manner. If a NOT_SET String is supplied, a NOT_SET Duration will be returned.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_EX_OUT_0: 'Returns the estimated wait time for the current conversation on queue named "Marketing" if there is one queue with that name and the estimated wait time could be queried, otherwise a NOT_SET Duration.', AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_EX_OUT_1: "A NOT_SET Duration.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_DSC: "Searches for a unique queue in the organization by name and if found this gets the estimated wait time for a given media type.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_RV: "Returns the estimated wait time as a Duration value for a media type on the supplied Queue value if the queue was found and estimated wait time could be determined, otherwise a NOT_SET Duration.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_PRM_DSC_0: "The queue name to look up in your organization. The search will be performed in a case insensitive manner. If a NOT_SET String is supplied, a NOT_SET Duration will be returned.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_PRM_DSC_1: 'The media type to query. Allowable values are "call", "chat", "callback", "email", "videoComm" and "message". The media type String value is processed case insensitively at runtime. If a NOT_SET String is supplied for the media type or the supplied media type value is not available for the organization, a NOT_SET Duration is returned.', AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_EX_OUT_0: 'Returns the estimated wait time for the current conversation on queue named "Marketing" if there is one queue with that name and the estimated wait time could be successfully queried for the "call" media type, otherwise a NOT_SET Duration.', AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_EX_OUT_1: "A NOT_SET Duration.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_EX_OUT_2: "A NOT_SET Duration.", AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_DSC: "Finds the estimated wait time for the supplied media types for a queue.", AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_RV: "Returns an ordered Duration collection whose items correspond to the lookup results of each media type in the input String collection. For media types whose estimated wait time could not be determined, they will be NOT_SET Duration values in the returned collection.", AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_PRM_DSC_0: "The queue name to look up in your organization. The search will be performed in a case insensitive manner. If a NOT_SET or blank String is supplied, a NOT_SET Duration will be returned for each item in the returned collection.", AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_PRM_DSC_1: 'The media types to query. Allowable String values in the String collection are "call", "chat", "callback", "email", "videoComm" and "message". Media type String values are treated case insensitively at runtime. If a NOT_SET String is supplied for an item in the String collection or the estimated wait time for the media type cannot be determined, a NOT_SET Duration is returned for that item in the returned collection.', AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_EX_OUT_0: 'A Duration collection with one item. The Duration item will be the estimated wait time for the "call" media type if the queue could be found.', AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_EX_OUT_1: "A Duration collection with one item. The Duration item value is a NOT_SET Duration.", AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_EX_OUT_2: "A Duration collection with one item. The Duration item value is a NOT_SET Duration.", AR_FN_DSC_GETQUEUEESTIMATEDWAITTIME: "Gets estimated wait time information for a queue.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_DSC: "Gets the estimated wait time for the current flow's conversation media type for the supplied queue.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_RV: "Returns the estimated wait time as a Duration value for the current conversation media type on the supplied Queue value if the estimated wait time could be determined, otherwise a NOT_SET Duration.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_PRM_DSC_0: "The Queue whose estimated wait time you want to query for the current conversation media type. If a NOT_SET Queue is supplied, a NOT_SET Duration will be returned.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_EX_OUT_0: 'Returns the estimated wait time for the current conversation type on queue named "Marketing" if there is one queue with that name and the estimated wait time could be successfully determined, otherwise a NOT_SET Duration.', AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_EX_OUT_1: "A NOT_SET Duration.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_DSC: "Gets the estimated wait time for a media type on a queue.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_RV: "Returns the estimated wait time as a Duration value for a media type on the supplied Queue value if the estimated wait time can be determined, otherwise a NOT_SET Duration.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_PRM_DSC_0: "The Queue whose estimated wait time you want to query. If a NOT_SET Queue is supplied, a NOT_SET Duration will be returned.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_PRM_DSC_1: 'The media type to query. Allowable values are "call", "chat", "callback", "email", "videoComm" and "message". The media type String value is processed case insensitively at runtime. If a NOT_SET String is supplied for the media type or the supplied media type value is not available for the organization, a NOT_SET Duration is returned.', AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_EX_OUT_0: 'Returns the estimated wait time for the current conversation on queue named "Marketing" if there is one queue with that name and the estimated wait time could be successfully queried for the "call" media type, otherwise a NOT_SET Duration.', AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_EX_OUT_1: "A NOT_SET Duration.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_EX_OUT_2: "A NOT_SET Duration.", AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_DSC: "Gets the estimated wait time for multiple media types on a queue.", AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_RV: "Returns an ordered Duration collection whose items correspond to the lookup results of each media type estimated wait time in the input String collection. For media types whose estimated wait time could not be determined or are not availble for the organization, they will be NOT_SET Duration values in the returned collection.", AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_PRM_DSC_0: "The Queue whose estimated wait time you want to query for the current conversation. If a NOT_SET Queue is supplied, a NOT_SET Duration will be returned for each item in the returned collection.", AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_PRM_DSC_1: 'The media types to query. Allowable String values in the String collection are "call", "chat", "callback", "email", "videoComm" and "message". Media type String values are processed case insensitively at runtime. If a NOT_SET String is supplied for an item in the String collection or the estimated wait time for the media type cannot be determined, a NOT_SET Duration is returned for that item in the returned collection.', AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_EX_OUT_0: 'A Duration collection with one item. The Duration item will be the estimated wait time for the "call" media type if the queue could be found.', AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_EX_OUT_1: "A Duration collection with one item. The Duration item value is a NOT_SET Duration.", AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_EX_OUT_2: "A Duration collection with one item. The Duration item value is a NOT_SET Duration.", AR_FN_DSC_FINDRESPONSEASSET: "Searches for a response asset in canned response assets in the organization.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_DSC: "Performs a search for a response asset in canned response assets and returns an Response Asset value if found.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_RV: "Returns the Response Asset value for the response asset found in your organization if there was a unique match found, otherwise a NOT_SET Response Asset.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_PRM_DSC_0: "The response asset name to look up in your organization. The search will be performed in a case insensitive manner.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_EX_OUT_0: 'Returns the Response Asset for the response asset named "ArchitectAsset" if there is one response asset with that name, otherwise a NOT_SET Response Asset.', AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_EX_OUT_1: "A NOT_SET Response Asset.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_DSC: "Returns a NOT_SET Response Asset for a NOT_SET input value.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_RV: "Returns a NOT_SET Response Asset.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_EX_OUT_0: "A NOT_SET Response Asset.", AR_FN_DSC_FINDRESPONSEASSETBYID: "Looks up a response asset in canned response assets in the organization by ID.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_DSC: "Looks up a response asset from a response asset ID.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_RV: "Returns the Response Asset value if the lookup was successful, otherwise a NOT_SET Response Asset.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_PRM_DSC_0: "The response asset ID to find. The ID will be matched in a case insensitive manner.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_EX_OUT_0: 'Returns the Response Asset with the ID "0bfba8bc-37cd-4fa2-b986-86fa0523aeec" if it exists, otherwise a NOT_SET Response Asset.', AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_DSC: "Returns a NOT_SET Response Asset for a NOT_SET input value.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_RV: "Returns a NOT_SET Response Asset.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_EX_OUT_0: "A NOT_SET Response Asset.", AR_FN_DSC_FINDSCHEDULE: "Searches for a schedule in the organization.", AR_FN_SCHED_FINDSCHEDULE_STR_DSC: "Performs a case insensitive search for a uniquely named Schedule and returns the Schedule value if found.", AR_FN_SCHED_FINDSCHEDULE_STR_RV: "Returns the Schedule found in your organization if there was a unique match found, otherwise a NOT_SET Schedule.", AR_FN_SCHED_FINDSCHEDULE_STR_PRM_DSC_0: "The Schedule name to look up in the organization. The search will be performed case insensitively.", AR_FN_SCHED_FINDSCHEDULE_STR_EX_OUT_0: 'Returns the Schedule for the Schedule named "OpenHours" if there is one Schedule with that name case insensitively, otherwise a NOT_SET Schedule.', AR_FN_SCHED_FINDSCHEDULE_STR_EX_OUT_1: "A NOT_SET Schedule.", AR_FN_SCHED_FINDSCHEDULE_NTS_DSC: "Returns a NOT_SET Schedule for a NOT_SET input value.", AR_FN_SCHED_FINDSCHEDULE_NTS_RV: "Returns a NOT_SET Schedule.", AR_FN_SCHED_FINDSCHEDULE_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_SCHED_FINDSCHEDULE_NTS_EX_OUT_0: "A NOT_SET Schedule.", AR_FN_DSC_FINDSCHEDULEGROUP: "Searches for a scheduleGroup in the organization.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_DSC: "Performs a case insensitive search for a uniquely named Schedule Group and returns the Schedule Group value if found.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_RV: "Returns the Schedule Group found in your organization if there was a unique match found, otherwise a NOT_SET Schedule Group.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_PRM_DSC_0: "The Schedule Group name to look up in the organization. The search will be performed case insensitively.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_EX_OUT_0: 'Returns the Schedule Group for the Schedule Group named "OpenHoursEastCoast" if there is one Schedule Group with that name case insensitively, otherwise a NOT_SET Schedule Group.', AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_EX_OUT_1: "A NOT_SET Schedule Group.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_DSC: "Returns a NOT_SET Schedule Group for a NOT_SET input value.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_RV: "Returns a NOT_SET Schedule Group.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_EX_OUT_0: "A NOT_SET ScheduleGroup.", AR_FN_DSC_FINDSKILL: "Searches for a skill in the organization.", AR_FN_SKL_FINDSKILL_STR_DSC: "Performs a search for an ACD Skill in the Skills category and returns a Skill value if found.", AR_FN_SKL_FINDSKILL_STR_RV: "Returns the Skill value for the ACD Skill found in your organization if there was a unique match found, otherwise a NOT_SET Skill.", AR_FN_SKL_FINDSKILL_STR_PRM_DSC_0: "The skill to look up in your organization. This will perform a search for an ACD Skill in the Skills category. The search will be performed in a case insensitive manner.", AR_FN_SKL_FINDSKILL_STR_EX_OUT_0: 'Returns the Skill for the ACD Skill named "JavaScript" from the Skills category if there is one skill with that name, otherwise a NOT_SET Skill.', AR_FN_SKL_FINDSKILL_STR_EX_OUT_1: "A NOT_SET Skill.", AR_FN_SKL_FINDSKILL_NTS_DSC: "Returns a NOT_SET Skill for a NOT_SET input value.", AR_FN_SKL_FINDSKILL_NTS_RV: "Returns a NOT_SET Skill.", AR_FN_SKL_FINDSKILL_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_SKL_FINDSKILL_NTS_EX_OUT_0: "A NOT_SET Skill.", AR_FN_DSC_EVALUATESKILLEXPRESSIONFILTER: "Evaluates skill expression filter text and returns a SkillExpressionFilter.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_DSC: "Evaluates the supplied skill expression filter text and returns a SkillExpressionFilter. If notSetIfInvalid is true and the filter is invalid, returns a NOT_SET SkillExpressionFilter.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_RV: "Returns a SkillExpressionFilter object containing the evaluation results. If notSetIfInvalid is true and the filter is invalid, returns a NOT_SET SkillExpressionFilter.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_PRM_DSC_0: "The skill expression filter text to evaluate. Must be between 1 and 1024 characters.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_PRM_DSC_1: "If true and the filter is invalid, returns a NOT_SET SkillExpressionFilter. If false or not provided, returns a SkillExpressionFilter with error information.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_EX_OUT_0: "Returns a SkillExpressionFilter with normalized filter and referenced ACD Skills.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_EX_OUT_1: "Returns a NOT_SET SkillExpressionFilter because the filter is invalid and notSetIfInvalid is true.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_DSC: "Evaluates the supplied skill expression filter text and returns a SkillExpressionFilter.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_RV: "Returns a SkillExpressionFilter object containing the evaluation results, including error information if the filter is invalid.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_PRM_DSC_0: "The skill expression filter text to evaluate. Must be between 1 and 1024 characters.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_EX_OUT_0: "Returns a SkillExpressionFilter with normalized filter and referenced ACD Skills.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_EX_OUT_1: "Returns a SkillExpressionFilter with error information in the errors property.", AR_FN_DSC_FINDLANGUAGESKILL: "Searches for a language skill in the organization.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_DSC: "Performs a search for an ACD Skill in the Languages category and returns a Language Skill value if found.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_RV: "Returns the Language Skill value for the ACD Skill in the Languages category found in your organization if there was a unique match found, otherwise a NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_PRM_DSC_0: "The language skill to look up in your organization. This will perform a search for an ACD Skill in the Languages category. The search will be performed in a case insensitive manner.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_EX_OUT_0: 'Returns the Language Skill for the ACD Skill named "Spanish - Written" from the Languages category if there is one skill with that name, otherwise a NOT_SET Language Skill.', AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_EX_OUT_1: "A NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_DSC: "Returns a NOT_SET value for a NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_RV: "Returns a NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_EX_OUT_0: "A NOT_SET Language Skill.", AR_FN_DSC_APPEND: "Creates a new string by appending two or more Strings together.", AR_FN_STR_APPEND_STR_STR_MORE_DSC: "Creates a new string by appending two or more Strings together.", AR_FN_STR_APPEND_STR_STR_MORE_RV: "Returns the concatenated string.", AR_FN_STR_APPEND_STR_STR_MORE_PRM_DSC_0: "The initial text. A NOT_SET String is treated as a blank string.", AR_FN_STR_APPEND_STR_STR_MORE_PRM_DSC_1: "The text to append to the initial text. A NOT_SET String is treated as a blank string.", AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_DSC: "Creates Audio by appending two or more Audio or prompts together.", AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_RV: "Returns the concatenated Audio.", AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_PRM_DSC_0: "The initial text.", AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_PRM_DSC_1: "The Audio or prompt to append.", AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_EX_OUT_0: "An Audio object with the prompt Welcome followed by John.", AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_DSC: "Appends items to a Communication. This is a helper function that calls MakeCommunication with the supplied Communication value for the first parameter, followed by the rest of the parameter values.", AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_RV: "Returns the concatenated Communication.", AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_PRM_DSC_0: "The initial Communication.", AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_PRM_DSC_1: "The value to append to the initial Communication.", AR_FN_DSC_MAKECOMMUNICATION: "Creates a Communication by sequencing one or values together.", AR_FN_COMMUNICATION_MAKECOMMUNICATION_ANY_MORE_DSC: "Creates a Communication by concatenating two or more values together.", AR_FN_COMMUNICATION_MAKECOMMUNICATION_ANY_MORE_RV: "Returns the Communication object.", AR_FN_COMMUNICATION_MAKECOMMUNICATION_ANY_MORE_PRM_DSC_0: "An Any value.", AR_FN_DSC_LEFT: "Retrieves a substring of a specified length starting from the left-hand side of a supplied string.", AR_FN_STR_LEFT_STR_LNG_DSC: "Retrieves a substring of a specified length starting from the left-hand side of a supplied string.", AR_FN_STR_LEFT_STR_LNG_RV: "Returns the left portion of string supplied in srcString with the specified length. If the length of the string in the srcString parameter is less than the number of characters specified in the length parameter, the entire string in srcString is returned.", AR_FN_STR_LEFT_STR_LNG_PRM_DSC_0: "The source string.", AR_FN_STR_LEFT_STR_LNG_PRM_DSC_1: "The number of characters to return from the left portion of the string in the srcString parameter.", AR_FN_DSC_LENGTH: "Gets the number of characters in a string.", AR_FN_LNG_LENGTH_STR_DSC: "Calculates the number of characters in the supplied String value.", AR_FN_LNG_LENGTH_STR_RV: "Returns the number of characters in the String supplied in the text parameter.", AR_FN_LNG_LENGTH_STR_PRM_DSC_0: "The String to count the number of characters.", AR_FN_LNG_LENGTH_JSON_DSC: "Calculates the number of characters in the supplied JSON value that contains a string.", AR_FN_LNG_LENGTH_JSON_RV: "Returns the number of characters in the JSON string supplied in the text parameter.", AR_FN_LNG_LENGTH_JSON_PRM_DSC_0: "The JSON value that contains a string. If the supplied JSON value is not a string, this will invoke error handling. Remember the IsJsonString function can be used to check if a JSON value contains a string.", AR_FN_DSC_LOWER: "Converts a String to all lowercase characters.", AR_FN_STR_LOWER_STR_DSC: "Converts the supplied String value to a lowercase String in a culture invariant manner.", AR_FN_STR_LOWER_STR_RV: "Returns the input string in all lower case.", AR_FN_STR_LOWER_STR_PRM_DSC_0: "The string to lower case.", AR_FN_DSC_LTRIM: "Removes all whitespace from the left-hand side of the string and returns the resulting string. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_LTRIM_STR_DSC: "Removes all whitespace from the left-hand side of the supplied String value and returns the resulting string. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_LTRIM_STR_RV: "Returns a String with all whitespace removed from the left-hand side of the supplied String value. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_LTRIM_STR_PRM_DSC_0: "The String to left trim.", AR_FN_DSC_REPLACE: "Replaces all occurrences of specified text in a String with different text.", AR_FN_STR_REPLACE_STR_STR_STR_DSC: "Replaces all occurrences of a specified text in a String with different text.", AR_FN_STR_REPLACE_STR_STR_STR_RV: "Returns a string with the replaced values ( if any ).", AR_FN_STR_REPLACE_STR_STR_STR_PRM_DSC_0: "The String that is to be searched.", AR_FN_STR_REPLACE_STR_STR_STR_PRM_DSC_1: "The String that will be replaced. This is a case sensitive match.", AR_FN_STR_REPLACE_STR_STR_STR_PRM_DSC_2: "The String to replace the findString. A NOT_SET value is treated as a blank string.", AR_FN_DSC_REVERSE: "Returns a String in reverse order.", AR_FN_STR_REVERSE_STR_DSC: "Reverses the contents of the supplied String value.", AR_FN_STR_REVERSE_STR_RV: "Returns the String passed to the function in reverse order.", AR_FN_STR_REVERSE_STR_PRM_DSC_0: "The String to reverse.", AR_FN_DSC_RIGHT: "Retrieves a substring of a specified length from the right hand side of a string.", AR_FN_STR_RIGHT_STR_LNG_DSC: "Retrieves a substring of a specified length from the right hand side of a string.", AR_FN_STR_RIGHT_STR_LNG_RV: "Returns the right portion of string supplied in srcString with the specified length. If the length of the string in the srcString parameter is less than the number of characters specified in the length parameter, the entire string in srcString is returned.", AR_FN_STR_RIGHT_STR_LNG_PRM_DSC_0: "The source string.", AR_FN_STR_RIGHT_STR_LNG_PRM_DSC_1: "The number of characters to return from the right hand side of the string in the srcString parameter.", AR_FN_DSC_RTRIM: "Removes all whitespace from the right hand side of the string and returns the resulting string. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_RTRIM_STR_DSC: "Removes all whitespace from the right hand side of the supplied String value. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_RTRIM_STR_RV: "Returns the string with all whitespace removed from the right hand side. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_RTRIM_STR_PRM_DSC_0: "The String to right trim.", AR_FN_DSC_SUBSTRING: "Gets part of a String that starts at a specified position and has the specified length.", AR_FN_STR_SUBSTRING_STR_LNG_LNG_DSC: "Gets part of a String that starts at a specified position and has the specified length.", AR_FN_STR_SUBSTRING_STR_LNG_LNG_RV: 'Returns a substring from the supplied string. If the starting position is past the end of the string, "" is returned.', AR_FN_STR_SUBSTRING_STR_LNG_LNG_PRM_DSC_0: "The source String from which the substring will be taken.", AR_FN_STR_SUBSTRING_STR_LNG_LNG_PRM_DSC_1: "The starting position of the String in the text parameter. The first position is 0.", AR_FN_STR_SUBSTRING_STR_LNG_LNG_PRM_DSC_2: "The length of the desired substring.", AR_FN_DSC_TRIM: "Removes all whitespace from the right and left side of the input string and returns the resulting trimmed string. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_TRIM_STR_DSC: "Removes all whitespace from the left and right side of the supplied String value and returns the resulting string. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_TRIM_STR_RV: "Returns the string with all whitespace removed from the right and left hand side. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_TRIM_STR_PRM_DSC_0: "The String to trim.", AR_FN_DSC_UPPER: "Converts a String to all uppercase characters.", AR_FN_STR_UPPER_STR_DSC: "Converts the supplied String value to an uppercase String in a culture invariant manner.", AR_FN_STR_UPPER_STR_RV: "Returns the input string in all upper case.", AR_FN_STR_UPPER_STR_PRM_DSC_0: "The string to upper case.", AR_FN_DSC_CONTAINS: "Determines if a String contains the specified text.", AR_FN_BLN_CONTAINS_STR_STR_DSC: "Determines if a String contains the specified String in a case sensitive manner.", AR_FN_BLN_CONTAINS_STR_STR_RV: "Returns true if the text is found, otherwise false.", AR_FN_BLN_CONTAINS_STR_STR_PRM_DSC_0: "The String that will be scanned.", AR_FN_BLN_CONTAINS_STR_STR_PRM_DSC_1: "The text for which you are searching.", AR_FN_BLN_CONTAINS_STR_STR_BLN_DSC: "Determines if a String contains the specified String in a case sensitive or case insensitive manner.", AR_FN_BLN_CONTAINS_STR_STR_BLN_RV: "Returns true if the text is found, otherwise false.", AR_FN_BLN_CONTAINS_STR_STR_BLN_PRM_DSC_0: "The String that will be scanned.", AR_FN_BLN_CONTAINS_STR_STR_BLN_PRM_DSC_1: "The text for which you are searching.", AR_FN_BLN_CONTAINS_STR_STR_BLN_PRM_DSC_2: "Whether or not to perform a case insensitive (true) or case sensitive (false) search.", AR_FN_DSC_COMPARE: "Compares two specified String values and returns an Integer that indicates their relationship to one another in the sort order.", AR_FN_LNG_COMPARE_STR_STR_DSC: "Compares two specified String values and returns an Integer that indicates their relationship to one another by doing a character by character comparison. The comparison is case sensitive.", AR_FN_LNG_COMPARE_STR_STR_RV: "Returns 1 if the string in stringToCompare is greater than the string in stringToCompareTo, -1 if the string in stringToCompare is less than the string in stringToCompareTo and 0 if the string in stringToCompare is equal to the string in stringToCompareTo.", AR_FN_LNG_COMPARE_STR_STR_PRM_DSC_0: "The String to be compared.", AR_FN_LNG_COMPARE_STR_STR_PRM_DSC_1: "The String to compare to.", AR_FN_LNG_COMPARE_STR_STR_EX_OUT_2: "1 ( remember, we're comparing strings, not numbers here )", AR_FN_LNG_COMPARE_STR_STR_BLN_DSC: "Compares two specified String values and returns an Integer that indicates their relationship to one another by doing a character by character comparison.", AR_FN_LNG_COMPARE_STR_STR_BLN_RV: "Returns 1 if the string in stringToCompare is greater than the string in stringToCompareTo, -1 if the string in stringToCompare is less than the string in stringToCompareTo and 0 if the string in stringToCompare is equal to the string in stringToCompareTo.", AR_FN_LNG_COMPARE_STR_STR_BLN_PRM_DSC_0: "The String to be compared.", AR_FN_LNG_COMPARE_STR_STR_BLN_PRM_DSC_1: "The String to compare to.", AR_FN_LNG_COMPARE_STR_STR_BLN_PRM_DSC_2: "Whether or not to perform a case sensitive or case insensitive comparison.", AR_FN_DSC_SPLIT: "Identifies substrings in the supplied text separated by a delimiter.", AR_FN_STR_COLL_SPLIT_STR_STR_DSC: "Splits a string into one or more strings based on the supplied delimiter.", AR_FN_STR_COLL_SPLIT_STR_STR_RV: "Returns the substrings in the supplied text separated by a delimiter in a String collection.", AR_FN_STR_COLL_SPLIT_STR_STR_PRM_DSC_0: "The text to split.", AR_FN_STR_COLL_SPLIT_STR_STR_PRM_DSC_1: "The delimiting text between substrings.", AR_FN_STR_COLL_SPLIT_STR_STR_EX_OUT_0: 'A String collection with items: "He", "", "o Wor", "d"', AR_FN_STR_COLL_SPLIT_STR_STR_EX_OUT_1: 'A string collection with one item: ""', AR_FN_STR_COLL_SPLIT_STR_STR_EX_OUT_2: 'A String collection with items: "H", "e", "l", "l", "o", " ", "W", "o", "r", "l" and "d"', AR_FN_DSC_DAY: "Gets the day from the supplied value.", AR_FN_LNG_DAY_DATE_DSC: "Gets the day from a Date.", AR_FN_LNG_DAY_DATE_RV: "Returns the day of the month from a Date. The result will be from 1 to 31.", AR_FN_LNG_DAY_DATE_PRM_DSC_0: "The Date from which to get the day.", AR_FN_LNG_DAY_DTM_DSC: "Gets the day from a DateTime.", AR_FN_LNG_DAY_DTM_RV: "Returns the day of the month from a DateTime. The result will be from 1 to 31.", AR_FN_LNG_DAY_DTM_PRM_DSC_0: "The DateTime from which to get the day.", AR_FN_DSC_MONTH: "Gets the month from the supplied value.", AR_FN_LNG_MONTH_DATE_DSC: "Gets the month from a Date.", AR_FN_LNG_MONTH_DATE_RV: "Returns the month from the supplied Date. 1=January, 2=February, 3=March, 4=April, 5=May, 6=June, 7=July, 8=August, 9=September, 10=October, 11=November and 12=December.", AR_FN_LNG_MONTH_DATE_PRM_DSC_0: "The Date from which to get the month.", AR_FN_LNG_MONTH_DTM_DSC: "Gets the month from a DateTime.", AR_FN_LNG_MONTH_DTM_RV: "Returns the month from the supplied DateTime. 1=January, 2=February, 3=March, 4=April, 5=May, 6=June, 7=July, 8=August, 9=September, 10=October, 11=November and 12=December.", AR_FN_LNG_MONTH_DTM_PRM_DSC_0: "The DateTime from which to get the month.", AR_FN_DSC_YEAR: "Gets the year from the supplied value.", AR_FN_LNG_YEAR_DATE_DSC: "Gets the year from the supplied Date.", AR_FN_LNG_YEAR_DATE_RV: "Returns the year from the supplied Date.", AR_FN_LNG_YEAR_DATE_PRM_DSC_0: "The Date from which to get the year.", AR_FN_LNG_YEAR_DTM_DSC: "Gets the year from the supplied DateTime.", AR_FN_LNG_YEAR_DTM_RV: "Returns the year from the supplied DateTime.", AR_FN_LNG_YEAR_DTM_PRM_DSC_0: "The DateTime from which to get the year.", AR_FN_DSC_HOUR: "Gets the hour from the supplied value.", AR_FN_LNG_HOUR_TIME_DSC: "Gets the hour from the supplied Time.", AR_FN_LNG_HOUR_TIME_RV: "Returns the zero-based hour from the supplied Time. The number will range from 0 to 23 where 12AM is 0, 1AM is 1, ..., 11PM = 23", AR_FN_LNG_HOUR_TIME_PRM_DSC_0: "The Time from which to get the hour.", AR_FN_LNG_HOUR_DTM_DSC: "Gets the hour from the supplied DateTime.", AR_FN_LNG_HOUR_DTM_RV: "Returns the zero-based hour from the supplied DateTime. The number will range from 0 to 23 where 12AM is 0, 1AM is 1, ..., 11PM = 23", AR_FN_LNG_HOUR_DTM_PRM_DSC_0: "The DateTime from which to get the hour.", AR_FN_DSC_MINUTE: "Gets the minute from the supplied value.", AR_FN_LNG_MINUTE_DTM_DSC: "Gets the minute from the supplied DateTime.", AR_FN_LNG_MINUTE_DTM_RV: "Returns the minute from the supplied DateTime. The number will range from 0 to 59.", AR_FN_LNG_MINUTE_DTM_PRM_DSC_0: "The DateTime from which to get the minute.", AR_FN_LNG_MINUTE_TIME_DSC: "Gets the minute from the supplied Time.", AR_FN_LNG_MINUTE_TIME_RV: "Returns the minute from the supplied Time. The number will range from 0 to 59.", AR_FN_LNG_MINUTE_TIME_PRM_DSC_0: "The Time from which to get the minute.", AR_FN_DSC_SECOND: "Gets the second from the supplied value.", AR_FN_LNG_SECOND_DTM_DSC: "Gets the second from the supplied DateTime.", AR_FN_LNG_SECOND_DTM_RV: "Returns the second from the supplied DateTime. The number will range from 0 to 59.", AR_FN_LNG_SECOND_DTM_PRM_DSC_0: "The DateTime from which to get the second.", AR_FN_LNG_SECOND_TIME_DSC: "Gets the second from the supplied Time.", AR_FN_LNG_SECOND_TIME_RV: "Returns the second from the supplied Time. The number will range from 0 to 59.", AR_FN_LNG_SECOND_TIME_PRM_DSC_0: "The Time from which to get the second.", AR_FN_DSC_DATEDIFF: "Returns the difference between two Date values as a Duration.", AR_FN_DUR_DATEDIFF_DATE_DATE_DSC: "Calculates the difference between two Date values.", AR_FN_DUR_DATEDIFF_DATE_DATE_RV: "Returns the difference between the date1 and date2 parameters as a Duration. If the Date in date1 is after the date2, a positive Duration is returned. If the Date in date1 is before the date2, a negative Duration is returned. If they're the same, a 0 second Duration is returned.", AR_FN_DUR_DATEDIFF_DATE_DATE_PRM_DSC_0: "A Date value.", AR_FN_DUR_DATEDIFF_DATE_DATE_PRM_DSC_1: "The Date value to subtract.", AR_FN_DUR_DATEDIFF_DATE_DATE_EX_OUT_0: "A duration of 2 days.", AR_FN_DUR_DATEDIFF_DATE_DATE_EX_OUT_1: "A duration of -2 days.", AR_FN_DSC_DATETIMEDIFF: "Returns the difference between two DateTime values as a Duration.", AR_FN_DUR_DATETIMEDIFF_DTM_DTM_DSC: "Calculates the difference between two DateTime values.", AR_FN_DUR_DATETIMEDIFF_DTM_DTM_RV: "Returns the difference between the dateTime1 and dateTime2 parameters as a Duration. If the DateTime in dateTime1 is after the dateTime2, a positive Duration is returned. If the DateTime in dateTime1 is before the dateTime2, a negative Duration is returned. If they're the same, a 0 second Duration is returned.", AR_FN_DUR_DATETIMEDIFF_DTM_DTM_PRM_DSC_0: "A DateTime value.", AR_FN_DUR_DATETIMEDIFF_DTM_DTM_PRM_DSC_1: "The DateTime value to subtract.", AR_FN_DUR_DATETIMEDIFF_DTM_DTM_EX_OUT_0: "A duration of 2 hours.", AR_FN_DUR_DATETIMEDIFF_DTM_DTM_EX_OUT_1: "A duration of -2 hours.", AR_FN_DSC_TIMEDIFF: "Returns the difference between two Time values as a Duration.", AR_FN_DUR_TIMEDIFF_TIME_TIME_DSC: "Calculates the difference between two Time values.", AR_FN_DUR_TIMEDIFF_TIME_TIME_RV: "Returns the difference between the time1 and time2 parameters as a Duration. If the Time in time1 is after the time2, a positive Duration is returned. If the Time in time1 is before the time2, a negative Duration is returned. If they're the same, a 0 second Duration is returned.", AR_FN_DUR_TIMEDIFF_TIME_TIME_PRM_DSC_0: "A Time value.", AR_FN_DUR_TIMEDIFF_TIME_TIME_PRM_DSC_1: "The Time value to subtract.", AR_FN_DUR_TIMEDIFF_TIME_TIME_EX_OUT_0: "A duration of 2 hours.", AR_FN_DUR_TIMEDIFF_TIME_TIME_EX_OUT_1: "A duration of -2 hours.", AR_FN_DSC_DAYOFWEEK: "Gets the day of week from the supplied value.", AR_FN_LNG_DAYOFWEEK_DATE_DSC: "Gets the day of week from the supplied Date.", AR_FN_LNG_DAYOFWEEK_DATE_RV: "Returns the day of week from the supplied Date as a value from 1 to 7. Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, Saturday=7", AR_FN_LNG_DAYOFWEEK_DATE_PRM_DSC_0: "The Date from which to get the day of week.", AR_FN_LNG_DAYOFWEEK_DTM_DSC: "Gets the day of week from the supplied DateTime.", AR_FN_LNG_DAYOFWEEK_DTM_RV: "Returns the day of week from the supplied DateTime as a value from 1 to 7. Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, Saturday=7", AR_FN_LNG_DAYOFWEEK_DTM_PRM_DSC_0: "The DateTime from which to get the day of week.", AR_FN_DSC_GETDAYOFWEEKOCCURRENCE: "Calculates the DateTime for a specified occurrence of a day of week.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_DSC: "Calculates a DateTime for a specified occurrence of a day of week for a particular year.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_RV: "Returns a DateTime for a specified occurrence of a day of the week for the year at 12:00:00AM. If the occurrence does not exist for the specified year, a NOT_SET DateTime value will be returned.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_PRM_DSC_0: "The desired day of week. Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, Saturday=7", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_PRM_DSC_1: "The occurrence number of the day of week to calculate for the specified year. Using a negative value computes the occurrence backward from the end of the year.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_PRM_DSC_2: "The year to use for the occurrence calculation.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_0: "A DateTime whose value is March 5th, 2017 at 12:00:00AM which is the tenth Sunday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_1: "A DateTime whose value is December 29th, 2017 at 12:00:00AM which is the last Friday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_2: "A DateTime whose value is December 22nd, 2017 at 12:00:00AM which is the second to the last Friday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_3: "A NOT_SET DateTime value because there is not a 53rd occurrence of Monday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_DSC: "Calculates a DateTime for a specified occurrence of a day of week within a particular month and year.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_RV: "Returns a DateTime for a specified occurrence of a day of week within a month at 12:00:00AM. If the occurrence does not exist for the specified year and month, a NOT_SET DateTime value will be returned.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_0: "The desired day of week. Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, Saturday=7", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_1: "The occurrence number of the day of week to calculate for the specified month and year. Using a negative value computes the occurrence backward from the end of the month.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_2: "The year to use for the occurrence calculation.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_3: "The month to use for the occurrence calculation.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_0: "A DateTime whose value is April 9th, 2017 at 12:00:00AM which is the second Sunday in April, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_1: "A DateTime whose value is February 24th, 2017 at 12:00:00AM which is the last Friday in February, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_2: "A DateTime whose value is February 17th, 2017 at 12:00:00AM which is the second to the last Friday in February, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_3: "A NOT_SET DateTime value because there is not a fifth occurrence of Tuesday in April, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_DSC: "Calculates a DateTime for a specified occurrence of a day of week for a particular year.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_RV: "Returns the DateTime for a specified occurrence of a day of week for a year at the specified time. If the occurrence does not exist for the specified year, a NOT_SET DateTime value will be returned.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0: "The desired day of week. Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, Saturday=7", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1: "The occurrence number of the day of week to calculate for the specified year. Using a negative value computes the occurrence backward from the end of the year.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2: "The year to use for the occurrence calculation.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3: "The hour to use in the returned DateTime.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4: "The minute to use in the returned DateTime.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_5: "The second to use in the returned DateTime.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_0: "A DateTime whose value is December 29th, 2017 at 02:14:30AM which is the last Friday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_1: "A DateTime whose value is December 22nd, 2017 at 02:05:00AM which is the second to the last Friday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_2: "A DateTime whose value is May 14th, 2017 at 2:15:15AM which is the 20th Sunday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_3: "A NOT_SET DateTime value because there is not a 53rd occurrence of Tuesday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_DSC: "Calculates a DateTime for a specified occurrence of a day of week with a specified time within a particular month and year.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_RV: "Returns a DateTime for a specified occurrence of a day of week within a month at the specified time. If the occurrence does not exist for the specified year and month, a NOT_SET DateTime value will be returned.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0: "The desired day of week. Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, Saturday=7", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1: "The occurrence number of the day of week to calculate for the specified month and year. Using a negative value computes the occurrence backward from the end of the month.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2: "The year to use in the occurrence calculation.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3: "The month to use in the occurrence calculation.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4: "The hour to use in the returned DateTime.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_5: "The minute to use in the returned DateTime.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_6: "The second to use in the returned DateTime.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_0: "A DateTime whose value is April 9th, 2017 at 11:15:00AM which is the second Sunday in April, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_1: "A DateTime whose value is February 24th, 2017 at 02:30:00PM which is the last Friday in February, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_2: "A DateTime whose value is February 17th, 2017 at 05:00:00AM which is the second to the last Friday in February, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_3: "A NOT_SET DateTime value because there is not a fifth occurrence of Tuesday in April, 2017.", AR_FN_DSC_GETMENUSSUPPORTSPEECHRECOGNITION: "Returns whether or not menus in the flow support speech recognition.", AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_DSC: "Whether or not menus in the flow support speech recognition for the language in which the flow is currently running.", AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_RV: "Returns whether or not menus in the flow support speech recognition for the current flow language.", AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_STR_DSC: "Whether or not menus in the flow support speech recognition for a specified IETF language tag.", AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_STR_RV: "Returns whether or not menus in the current flow support speech recognition for supplied IETF language tag. If you supply a NOT_SET language tag, the return value is a NOT_SET Boolean.", AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_STR_PRM_DSC_0: "The IETF language tag of the language to check.", AR_FN_DSC_WEEKNUM: "Gets the week number of a DateTime or Date.", AR_FN_LNG_WEEKNUM_DATE_DSC: "Gets the week number of a Date.", AR_FN_LNG_WEEKNUM_DATE_RV: "Returns the week number of the Date as an Integer between 1 and 53 inclusive.", AR_FN_LNG_WEEKNUM_DATE_PRM_DSC_0: "The Date value from which to get the week number.", AR_FN_LNG_WEEKNUM_DTM_DSC: "Gets the week number of a DateTime.", AR_FN_LNG_WEEKNUM_DTM_RV: "Returns the week number of the DateTime as an Integer between 1 and 53 inclusive.", AR_FN_LNG_WEEKNUM_DTM_PRM_DSC_0: "The DateTime value from which to get the week number.", AR_FN_DSC_MAKEDATE: "Returns a new instance of Date initialized with the specified values.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_DSC: "Creates a new Date for the supplied year, month and day.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_RV: "Returns a new Date from the supplied parameters.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_PRM_DSC_0: "The year of the new Date.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_PRM_DSC_1: "The month of the new Date.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_PRM_DSC_2: "The day of the new Date.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_EX_OUT_0: "A Date whose value is May 20th, 2014.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_EX_OUT_1: "A Date whose value is January 1st, 2018.", AR_FN_DSC_MAKEDATETIME: "Returns a new instance of DateTime initialized with the specified values.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_DSC: "Creates a new DateTime in UTC.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_RV: "Returns a new DateTime from the supplied parameters in Coordinated Universal Time (UTC).", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0: "The year of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1: "The month of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2: "The day of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3: "The hour of the day of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4: "The minute of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_5: "The second of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_0: "A DateTime whose value is March 20th, 2009 at 12:00:00PM.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_DSC: "Creates a new DateTime for the specified date at 12:00:00 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_RV: "Returns a new DateTime from the date parameters at 12:00:00 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_PRM_DSC_0: "The year of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_PRM_DSC_1: "The month of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_PRM_DSC_2: "The day of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_EX_OUT_0: "A DateTime whose value is March 20th, 2009 at 12:00:00 AM.", AR_FN_DTM_MAKEDATETIME_DATE_TIME_DSC: "Creates a new DateTime from a supplied Date and Time.", AR_FN_DTM_MAKEDATETIME_DATE_TIME_RV: "Returns a new DateTime from the supplied Date and Time values.", AR_FN_DTM_MAKEDATETIME_DATE_TIME_PRM_DSC_0: "The UTC Date for the new DateTime. If the value is a NOT_SET Date then January 1st, 1970 is used.", AR_FN_DTM_MAKEDATETIME_DATE_TIME_PRM_DSC_1: "The UTC Time of the new DateTime. If the value is a NOT_SET time, then 12:00:00.000AM is used.", AR_FN_DSC_MAKEDURATION: "Returns a new instance of Duration initialized with the specified values.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_DSC: "Creates a Duration from the supplied values.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_RV: "Returns the new duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_0: "The number of days for the new Duration. A day is 86400 seconds.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_1: "The number of hours for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_2: "The number of minutes for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_3: "The number of seconds for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_EX_OUT_0: "A Duration of 10 days and 30 minutes", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_EX_OUT_1: "A negative Duration of 9 days, 23 hours and 30 minutes", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_EX_OUT_2: "A negative Duration of 10 days and 30 minutes", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_DSC: "Creates a Duration from the supplied values.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_RV: "Returns the new duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0: "The number of days for the new Duration. A day is 86400 seconds.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1: "The number of hours for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2: "The number of minutes for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3: "The number of seconds for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4: "The number of milliseconds for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_EX_OUT_0: "A Duration of 10 days and 30 minutes", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_EX_OUT_1: "A negative Duration of 9 days, 23 hours, 30 minutes, 10.5 seconds", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_EX_OUT_2: "A negative Duration of 10 days and 30 minutes", AR_FN_DSC_MAKETIME: "Returns a new instance of Time initialized with the specified values.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_DSC: "Creates a new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_RV: "Returns a new Time from the supplied parameters.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_PRM_DSC_0: "The hour of the day of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_PRM_DSC_1: "The minute of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_PRM_DSC_2: "The second of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_EX_OUT_0: "A Time whose value is 12:05:00PM.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_DSC: "Creates a new Time with the ability to specify milliseconds.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_RV: "Returns a new Time from the supplied parameters.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_0: "The hour of the day of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_1: "The minute of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_2: "The second of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_3: "The milliseconds of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_EX_OUT_0: "A Time whose value is 02:30:00AM.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_EX_OUT_1: "A Time whose value is 12:00:10.200PM.", AR_FN_DSC_ADDDAYS: "Adds a specified number of days to a value.", AR_FN_DTM_ADDDAYS_DTM_LNG_DSC: "Adds a specified number of days to a DateTime value. This works by incrementing or decrementing the day component of the date.", AR_FN_DTM_ADDDAYS_DTM_LNG_RV: "The resulting DateTime with the days added.", AR_FN_DTM_ADDDAYS_DTM_LNG_PRM_DSC_0: "The DateTime that will be used as the starting point.", AR_FN_DTM_ADDDAYS_DTM_LNG_PRM_DSC_1: "The number of days to add to the starting DateTime.", AR_FN_DTM_ADDDAYS_DTM_LNG_EX_OUT_0: "A DateTime of March 7th, 2009 at 12:00:00PM.", AR_FN_DATE_ADDDAYS_DATE_LNG_DSC: "Adds a specified number of days to a Date value. This works by incrementing or decrementing the day component of the date.", AR_FN_DATE_ADDDAYS_DATE_LNG_RV: "The resulting Date with the days added.", AR_FN_DATE_ADDDAYS_DATE_LNG_PRM_DSC_0: "The Date that will be used as the starting point.", AR_FN_DATE_ADDDAYS_DATE_LNG_PRM_DSC_1: "The number of days to add to the starting Date.", AR_FN_DATE_ADDDAYS_DATE_LNG_EX_OUT_0: "A Date of March 7th, 2009.", AR_FN_DSC_ADDDURATION: "Adds a Duration to a DateTime.", AR_FN_DATE_ADDDURATION_DATE_DUR_DSC: "Adds days to a Date. The number of days to add is calculated by taking the integral value of the total number of seconds in the supplied Duration value divided by 86400 ( the number of seconds in 1 day ).", AR_FN_DATE_ADDDURATION_DATE_DUR_RV: "Returns a Date that is the result of adding the number of days in the supplied duration to the Date value.", AR_FN_DATE_ADDDURATION_DATE_DUR_PRM_DSC_0: "A Date value.", AR_FN_DATE_ADDDURATION_DATE_DUR_PRM_DSC_1: "A Duration value that supplies the number of days to add to the Date value in startDate.", AR_FN_DATE_ADDDURATION_DATE_DUR_EX_OUT_0: "A Date whose value is January 20th, 2009.", AR_FN_DATE_ADDDURATION_DATE_DUR_EX_OUT_1: "A Date whose value is March 2nd, 2020.", AR_FN_DATE_ADDDURATION_DATE_DUR_EX_OUT_2: "A Date whose value is December 30th, 2019.", AR_FN_DTM_ADDDURATION_DTM_DUR_DSC: "Adds a Duration to a DateTime.", AR_FN_DTM_ADDDURATION_DTM_DUR_RV: "Returns a DateTime that is the result of adding the supplied Duration to the incoming DateTime value. Note that if the Duration contains fractional seconds, those are not added to the DateTime since DateTime does not support milliseconds.", AR_FN_DTM_ADDDURATION_DTM_DUR_PRM_DSC_0: "A DateTime value.", AR_FN_DTM_ADDDURATION_DTM_DUR_PRM_DSC_1: "A Duration value to add to the DateTime value in startDateTime.", AR_FN_DTM_ADDDURATION_DTM_DUR_EX_OUT_0: "A DateTime of January 20, 2009 at 7:00:00 AM.", AR_FN_TIME_ADDDURATION_TIME_DUR_DSC: "Adds a Duration to a Time. Addition of a Duration value to a Time value allows for wrap-around so adding three hours to a Time value of 23:00:00 will return a Time value of 02:00:00.", AR_FN_TIME_ADDDURATION_TIME_DUR_RV: "Returns a Time that is the result of adding the supplied Duration value to the supplied Time value.", AR_FN_TIME_ADDDURATION_TIME_DUR_PRM_DSC_0: "A Time value.", AR_FN_TIME_ADDDURATION_TIME_DUR_PRM_DSC_1: "A Duration value to add to the Time value in startTime.", AR_FN_DSC_ADDMONTHS: "Add a specified number of months to a value.", AR_FN_DTM_ADDMONTHS_DTM_LNG_DSC: "Adds a specified number of months to a DateTime.", AR_FN_DTM_ADDMONTHS_DTM_LNG_RV: "Returns a DateTime that is the result of adding the specified number of months to a starting DateTime.", AR_FN_DTM_ADDMONTHS_DTM_LNG_PRM_DSC_0: "The starting DateTime.", AR_FN_DTM_ADDMONTHS_DTM_LNG_PRM_DSC_1: "The number of months to add to the starting DateTime.", AR_FN_DTM_ADDMONTHS_DTM_LNG_EX_OUT_0: "A DateTime of April 10, 2009 at 06:30:00 AM.", AR_FN_DTM_ADDMONTHS_DTM_LNG_EX_OUT_1: "A DateTime of February 28, 2009 at 06:30:00 AM.", AR_FN_DATE_ADDMONTHS_DATE_LNG_DSC: "Adds a specified number of months to a Date.", AR_FN_DATE_ADDMONTHS_DATE_LNG_RV: "Returns a Date that is the result of adding the specified number of months to a starting Date.", AR_FN_DATE_ADDMONTHS_DATE_LNG_PRM_DSC_0: "The starting Date.", AR_FN_DATE_ADDMONTHS_DATE_LNG_PRM_DSC_1: "The number of months to add to the starting Date.", AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_0: "A Date whose value is April 10th, 2009.", AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_1: "A Date whose value is February 29th, 2008.", AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_2: "A Date whose value is March 1st, 2009.", AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_3: "A Date whose value is January 1st, 2020.", AR_FN_DSC_ADDYEARS: "Add the specified number of years to a value.", AR_FN_DTM_ADDYEARS_DTM_LNG_DSC: "Adds a specified number of years to a DateTime.", AR_FN_DTM_ADDYEARS_DTM_LNG_RV: "Returns a DateTime that is the result of adding the specified number of years to a starting DateTime.", AR_FN_DTM_ADDYEARS_DTM_LNG_PRM_DSC_0: "The starting DateTime.", AR_FN_DTM_ADDYEARS_DTM_LNG_PRM_DSC_1: "The number of years to add to the starting DateTime.", AR_FN_DTM_ADDYEARS_DTM_LNG_EX_OUT_0: "A DateTime of January 10, 2012 at 06:30:00 AM.", AR_FN_DATE_ADDYEARS_DATE_LNG_DSC: "Adds a specified number of years to a Date.", AR_FN_DATE_ADDYEARS_DATE_LNG_RV: "Returns a Date that is the result of adding the specified number of years to a starting Date.", AR_FN_DATE_ADDYEARS_DATE_LNG_PRM_DSC_0: "The starting Date.", AR_FN_DATE_ADDYEARS_DATE_LNG_PRM_DSC_1: "The number of years to add to the starting Date.", AR_FN_DATE_ADDYEARS_DATE_LNG_EX_OUT_0: "A Date whose value is January 10th, 2015.", AR_FN_DATE_ADDYEARS_DATE_LNG_EX_OUT_1: "A Date whose value is January 10th, 2012.", AR_FN_DATE_ADDYEARS_DATE_LNG_EX_OUT_2: "A Date whose value is January 10th, 2009.", AR_FN_DSC_ADDHOURS: "Add the specified number of hours to a value.", AR_FN_DTM_ADDHOURS_DTM_LNG_DSC: "Adds a specified number of hours to a DateTime.", AR_FN_DTM_ADDHOURS_DTM_LNG_RV: "Returns a DateTime that is the result of adding the specified number of hours to a starting DateTime.", AR_FN_DTM_ADDHOURS_DTM_LNG_PRM_DSC_0: "The starting DateTime.", AR_FN_DTM_ADDHOURS_DTM_LNG_PRM_DSC_1: "The number of hours to add to the starting DateTime.", AR_FN_DTM_ADDHOURS_DTM_LNG_EX_OUT_0: "A DateTime of January 10, 2009 at 09:30:00 AM.", AR_FN_TIME_ADDHOURS_TIME_LNG_DSC: "Adds a specified number of hours to a Time. Addition of hours to a Time value allows for wrap-around so adding three hours to a Time value of 22:00:00 will return a Time value of 01:00:00.", AR_FN_TIME_ADDHOURS_TIME_LNG_RV: "Returns a Time that is the result of adding the specified number of hours to a starting Time.", AR_FN_TIME_ADDHOURS_TIME_LNG_PRM_DSC_0: "The starting Time.", AR_FN_TIME_ADDHOURS_TIME_LNG_PRM_DSC_1: "The number of hours to add to the starting Time.", AR_FN_TIME_ADDHOURS_TIME_LNG_EX_OUT_0: "A Time whose value is 09:30:00AM.", AR_FN_TIME_ADDHOURS_TIME_LNG_EX_OUT_1: "A Time whose value is 09:30:00.500PM.", AR_FN_TIME_ADDHOURS_TIME_LNG_EX_OUT_2: "A Time whose value is 12:00:00PM.", AR_FN_DSC_ADDMINUTES: "Add the specified number of minutes to a value.", AR_FN_DTM_ADDMINUTES_DTM_LNG_DSC: "Adds a specified number of minutes to a DateTime.", AR_FN_DTM_ADDMINUTES_DTM_LNG_RV: "Returns a DateTime that is the result of adding the specified number of minutes to a starting DateTime.", AR_FN_DTM_ADDMINUTES_DTM_LNG_PRM_DSC_0: "The starting DateTime.", AR_FN_DTM_ADDMINUTES_DTM_LNG_PRM_DSC_1: "The number of minutes to add to the starting DateTime.", AR_FN_DTM_ADDMINUTES_DTM_LNG_EX_OUT_0: "A DateTime of January 10, 2009 at 06:33:00 AM.", AR_FN_TIME_ADDMINUTES_TIME_LNG_DSC: "Adds a specified number of minutes to a Time. Addition of minutes to a Time value allows for wrap-around so adding 90 minutes to a Time value of 23:30:00 will return a Time value of 01:00:00.", AR_FN_TIME_ADDMINUTES_TIME_LNG_RV: "Returns a Time that is the result of adding the specified number of minutes to a starting Time.", AR_FN_TIME_ADDMINUTES_TIME_LNG_PRM_DSC_0: "The starting Time.", AR_FN_TIME_ADDMINUTES_TIME_LNG_PRM_DSC_1: "The number of minutes to add to the starting Time.", AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_0: "A Time whose value is 09:00:00AM.", AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_1: "A Time whose value is 08:30:00.500PM.", AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_2: "A Time whose value is 00:00:00AM.", AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_3: "A Time whose value is 00:30:00AM.", AR_FN_DSC_ADDSECONDS: "Add the specified number of seconds to a value.", AR_FN_DTM_ADDSECONDS_DTM_LNG_DSC: "Adds a specified number of seconds to a DateTime.", AR_FN_DTM_ADDSECONDS_DTM_LNG_RV: "Returns a DateTime that is the result of adding the specified number of seconds to a starting DateTime.", AR_FN_DTM_ADDSECONDS_DTM_LNG_PRM_DSC_0: "The starting DateTime.", AR_FN_DTM_ADDSECONDS_DTM_LNG_PRM_DSC_1: "The number of seconds to add to the starting DateTime.", AR_FN_DTM_ADDSECONDS_DTM_LNG_EX_OUT_0: "A DateTime of January 10, 2009 at 06:30:03 AM.", AR_FN_TIME_ADDSECONDS_TIME_LNG_DSC: "Adds a specified number of seconds to a Time. Addition of seconds to a Time value allows for wrap-around so adding 300 seconds to a Time value of 23:57:00 will return a Time value of 00:02:00.", AR_FN_TIME_ADDSECONDS_TIME_LNG_RV: "Returns a Time that is the result of adding the specified number of seconds to a starting Time.", AR_FN_TIME_ADDSECONDS_TIME_LNG_PRM_DSC_0: "The starting Time.", AR_FN_TIME_ADDSECONDS_TIME_LNG_PRM_DSC_1: "The number of seconds to add to the starting Time.", AR_FN_TIME_ADDSECONDS_TIME_LNG_EX_OUT_0: "A Time whose value is 00:35:30AM.", AR_FN_TIME_ADDSECONDS_TIME_LNG_EX_OUT_1: "A Time whose value is 11:30:00PM.", AR_FN_TIME_ADDSECONDS_TIME_LNG_EX_OUT_2: "A Time whose value is 06:30:00.500AM.", AR_FN_DSC_LOGICALIF: "Performs a logical if and returns one value if the supplied condition is true and a different value if the supplied condition is false.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_DSC: "Evaluates the Boolean passed in the condition parameter and if the result is true, the value of the trueParameter is returned. Otherwise the value of falseParameter is returned. Only the trueValue or falseValue parameter will be evaluated based on the result the condition parameter. The type of data passed in to trueValue and falseValue parameters must be the same.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_RV: "If value in the condition parameter evaluates to true, the value in the trueValue parameter is returned. If the value of the condition evaluates to false, the value of the falseValue parameter is returned.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_PRM_DSC_0: "The condition to check. A NOT_SET Boolean is considered false.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_PRM_DSC_1: "The value to return if the condition is true.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_PRM_DSC_2: "The value to return if the condition is false or a NOT_SET Boolean.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_4: 'A Currency with an amount of 10.00 and code of "USD".', AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_5: "The DateTime of May 5th, 2009 at 10:30:00 AM in Coordinated Universal Time (UTC)", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_6: "A Duration of 1 hour.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_7: 'The User with the name "Doe, John".', AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_8: "The Skill of Spanish.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_9: "The Date whose value is June 1st, 2010.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_10: "The Time whose value is 12:00:00PM.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_DSC: "Evaluates the Boolean passed in the condition parameter and if the result is true, the value of the trueParameter is returned. Otherwise the value of falseParameter is returned. Only the trueValue or falseValue parameter will be evaluated based on the result the condition parameter. The type of data passed in to trueValue and falseValue parameters must be the same.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_RV: "If value in the condition parameter evaluates to true, the value in the trueValue parameter is returned. If the value of the condition evaluates to false or a NOT_SET Boolean, the value of the falseValue parameter is returned.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_PRM_DSC_0: "The condition to check. A NOT_SET Boolean is considered false.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_PRM_DSC_1: "The collection value to return if the condition is true.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_PRM_DSC_2: "The collection value to return if the condition is false or a NOT_SET Boolean.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_0: 'A currency collection with one item. The Currency item has an amount of 10.00 and code of "USD".', AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_1: "The collection with the Boolean value true.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_2: 'The String collection with the "hello" string in it.', AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_3: "The Integer collection with the value 100 in it.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_4: "The Integer collection with the value 100.5 in it.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_5: "A DateTime collection with the DateTime value of May 5th, 2009 at 10:30:00 AM in Coordinated Universal Time (UTC).", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_6: "The Duration collection with the Duration of 1 hour.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_7: 'A User collection with the User whose username is "john.doe@company.com".', AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_8: "A Skill collection with the Skill of Spanish.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_9: "A Skill collection with one NOT_SET Skill in it.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_10: "The Date collection with one Date item whose value is June 1st, 2010.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_11: "The Time collection with one Time item whose value is 12:00:00PM.", AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_DSC: "Evaluates the Boolean passed in the condition parameter and if the result is true, the value of the trueValueAudio is returned. Otherwise the value of falseValueAudio is returned. Only the trueValueAudio or falseValueAudio parameter will be evaluated based on the result the condition parameter. The type of data passed in to trueValueAudio and falseValueAudio parameters must be the same.", AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_RV: "If value in the condition parameter evaluates to true, the Audio value in the trueValueAudio parameter is returned. If the value of the condition evaluates to false or a NOT_SET Boolean, the value of the falseValueAudio parameter is returned.", AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_PRM_DSC_0: "The condition to check. A NOT_SET Boolean is considered false.", AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_PRM_DSC_1: "The Audio value to return if the condition is true.", AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_PRM_DSC_2: "The Audio value to return if the condition is false or a NOT_SET Boolean.", AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_EX_OUT_0: 'Audio for the string "Hello" spoken via. text to speech.', AR_FN_DSC_AREEQUAL: "Checks whether all of the arguments are equal.", AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_DSC: "Returns a Boolean saying whether all of the arguments are equal.", AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_RV: "Returns true if all instances of valueToCompare are equal to the valueToCompareTo value, otherwise false.", AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_PRM_DSC_0: "The value to check.", AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_PRM_DSC_1: "This value will be compared to the value in the valueToCompare parameter.", AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_DSC: "Checks to see if two collections are equal or not. To be considered equal, the collections must have the same number of items and each item in one collection must be equal to the corresponding element in the other collection.", AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_RV: "Returns a boolean indicating if the two collections are equal or not.", AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_PRM_DSC_0: "This collection will be compared to the collection in valueToCompareTo.", AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_PRM_DSC_1: "The collection to check against.", AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_DSC: "Returns a Boolean indicating if two or more String values are equal.", AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_RV: "Returns true if value in valueToCompare is equal to the valueToCompareTo value, otherwise false.", AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_PRM_DSC_0: "Whether or not to perform a case sensitive or case insensitive comparison of the strings.", AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_PRM_DSC_1: "This value will be compared to the value in the valueToCompareTo parameter.", AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_PRM_DSC_2: "The value to check against.", AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_DSC: "Checks to see if two String collections are equal or not. To be considered equal, the collections must have the same number of items and each item in one collection must be equal to the corresponding element in the other collection.", AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_RV: "Returns a boolean indicating if the two collections are equal or not.", AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_PRM_DSC_0: "Whether or not to perform case sensitive or case insensitive comparisons of items in the collections.", AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_PRM_DSC_1: "This collection will be compared to the collection in valueToCompareTo.", AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_PRM_DSC_2: "The collection to check against.", AR_FN_DSC_ISSKILLEXPRESSIONFILTERVALID: "Determines whether a Skill Expression Filter is valid by checking if its normalized text has at least one character.", AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_DSC: "Returns true if the supplied skill expression filter's normalized text has at least one character. Returns false if the skill expression filter is NOT_SET or if the normalized text is empty or NOT_SET.", AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_RV: "Returns true if the skill expression filter's normalized text has at least one character. Returns false if the skill expression filter is NOT_SET or if the normalized text is empty or NOT_SET.", AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_PRM_DSC_0: "The Skill Expression Filter to validate.", AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_EX_OUT_0: "Returns true if the normalized text has at least one character.", AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_EX_OUT_1: "Returns false because the skill expression filter is NOT_SET.", AR_FN_DSC_ARESKILLEXPRESSIONFILTERSVALID: "Determines the validity of a Skill Expression Filter collection.", AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_DSC: "Determines the validity of a Skill Expression Filter collection. Returns true if all Skill Expression Filters in the collection are valid. Returns false if the collection is empty or if any Skill Expression Filter in the collection is invalid.", AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_RV: "Returns true if all Skill Expression Filters in the collection are valid. Returns false if the collection is empty or if any Skill Expression Filter in the collection is invalid.", AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_PRM_DSC_0: "The Skill Expression Filter collection to validate.", AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_EX_OUT_0: "Returns true if all Skill Expression Filters in the collection are valid.", AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_EX_OUT_1: "Returns false because the collection is empty.", AR_FN_DSC_ISSET: "Determines whether or not a value is set by testing to see if it is not equal to NOT_SET.", AR_FN_BLN_ISSET_ANY_DSC: "Determines whether or not the supplied value is NOT_SET.", AR_FN_BLN_ISSET_ANY_RV: "Returns a Boolean true if the value passed in is NOT_SET.", AR_FN_BLN_ISSET_ANY_PRM_DSC_0: "The value to test to see if it is set or not.", AR_FN_BLN_ISSET_AUDIO_DSC: "Determines whether or not the supplied Audio value is NOT_SET.", AR_FN_BLN_ISSET_AUDIO_RV: "Returns a Boolean true if the Audio value passed in is NOT_SET.", AR_FN_BLN_ISSET_AUDIO_PRM_DSC_0: "The Audio value to test to see if it is set or not.", AR_FN_BLN_ISSET_NTS_DSC: "Returns a boolean false.", AR_FN_BLN_ISSET_NTS_RV: "Returns a Boolean false.", AR_FN_BLN_ISSET_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_DSC_GETAT: "Gets an item at a specified index in a collection.", AR_FN_ANY_GETAT_ANY_COLL_LNG_DSC: "Gets an item at a specified index in a collection.", AR_FN_ANY_GETAT_ANY_COLL_LNG_RV: "Returns the item at the specified index in the collection.", AR_FN_ANY_GETAT_ANY_COLL_LNG_PRM_DSC_0: "The collection from which to get an item.", AR_FN_ANY_GETAT_ANY_COLL_LNG_PRM_DSC_1: "The zero-based index of the item to get from the collection.", AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_4: 'A Currency value with a NOT_SET amount and code of "USD"', AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_5: "The DateTime of May 5th, 2009 at 10:30:00 AM in Coordinated Universal Time (UTC).", AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_6: "The duration of 10 days and 30 minutes.", AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_7: "The Spanish Skill", AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_8: 'The User with the username of "john.doe@company.com"', AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_9: "A NOT_SET Skill.", AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_10: "The Date whose value is January 10th, 2015.", AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_11: "The Time whose value is 02:15:00PM.", AR_FN_JSON_GETAT_JSON_LNG_DSC: "For a given JSON value, if the value contains an array this returns an item from the array or if the value contains a string, this returns a character at the supplied index.", AR_FN_JSON_GETAT_JSON_LNG_RV: "Returns the item from the supplied JSON array or character from the supplied JSON string value as a JSON value.", AR_FN_JSON_GETAT_JSON_LNG_PRM_DSC_0: "The JSON value that contains an array with the item to return or string value whose character you want to return. If the supplied JSON value does not contain an array or string, this will invoke error handling. Remember the IsJsonArray or IsJsonString functions can be used to check if a JSON value contains an array or string.", AR_FN_JSON_GETAT_JSON_LNG_PRM_DSC_1: "The zero-based index of the item in the JSON value array or character position in the JSON value string to return. Attempting to access an array item or string character using a negative index or an index that is greater than or equal to the number of items in the array or length of the string will invoke error handling.", AR_FN_JSON_GETAT_JSON_LNG_EX_OUT_0: 'A JSON String containing the value "b"', AR_FN_JSON_GETAT_JSON_LNG_EX_OUT_1: 'A JSON value containing the string "l".', AR_FN_DSC_COUNT: "Gets the number of items in a collection.", AR_FN_LNG_COUNT_ANY_COLL_DSC: "Gets the number of items in a collection.", AR_FN_LNG_COUNT_ANY_COLL_RV: "Returns the number of items in a collection.", AR_FN_LNG_COUNT_ANY_COLL_PRM_DSC_0: "The Boolean collection to count.", AR_FN_LNG_COUNT_JSON_DSC: "Counts the number of items within a JSON value that contains an array.", AR_FN_LNG_COUNT_JSON_RV: "Returns the number of items in the JSON array.", AR_FN_LNG_COUNT_JSON_PRM_DSC_0: "The JSON value with the array to count. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_DSC_ESCAPEFORMARKDOWN: "Escapes text for verbatim usage in Markdown.", AR_FN_STR_ESCAPEFORMARKDOWN_STR_DSC: 'Certain characters have special meaning in Markdown syntax. For example, using the "#" character indicates text following the "#" should be rendered as a heading. In order to see characters verbatim so they are not interpreted as formatting characters, they need to be escaped with a backslash. This function escapes "\\", "`", "*", "_", "{", "}", "[", "]", "(", ")" and "#" characters by pre-pending them with a "\\" from the supplied String value.', AR_FN_STR_ESCAPEFORMARKDOWN_STR_RV: "Returns the escaped String.", AR_FN_STR_ESCAPEFORMARKDOWN_STR_PRM_DSC_0: "The String to escape for Markdown.", AR_FN_STR_ESCAPEFORMARKDOWN_STR_EX_OUT_2: "A NOT_SET String.", AR_FN_DSC_ESCAPEFORXML: "Escapes text for verbatim usage in XML.", AR_FN_STR_ESCAPEFORXML_STR_DSC: `Certain characters have special meaning in XML. For example, < and > are used to define tags in XML but if you want to need to use those characters verbatim so they are not interpreted as XML, they need to be escaped. This function escapes the " character to ", ' to ', < to <, > to > and & to &.`, AR_FN_STR_ESCAPEFORXML_STR_RV: "Returns the escaped String.", AR_FN_STR_ESCAPEFORXML_STR_PRM_DSC_0: "The String to escape for XML.", AR_FN_STR_ESCAPEFORXML_STR_EX_OUT_2: "A NOT_SET String.", AR_FN_DSC_FIND: "Finds all occurrences of an item in a collection and returns an Integer collection of indices where that item was found. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_DSC: "Finds all occurrences of an item in a collection and returns an Integer collection of indices where that item was found.", AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_RV: "Returns the index of all occurrences of an item in a collection in an Integer collection. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_PRM_DSC_0: "The Collection you want to search.", AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_PRM_DSC_1: "The value to find.", AR_FN_DSC_FINDFIRST: "Finds the first occurrence of an item in a collection and returns an Integer indicating the index where that item was found. If the item is not found, -1 will be returned.", AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_DSC: "Finds the first occurrence of an item in a collection and returns an Integer indicating the index where that item was found.", AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_RV: "Returns the index of the first occurrence of an item in a collection as an Integer. If the item is not found, -1 is returned.", AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_PRM_DSC_0: "The Collection you want to search.", AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_PRM_DSC_1: "The value to find.", AR_FN_DSC_FINDITEMS: "Finds all occurrences of a knowledge base document labels in a knowledge base document label collection by label name and returns an Integer collection of indices where the items were found. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_DSC: "Finds all occurrences of a knowledge base document labels in a knowledge base document label collection by label name and returns an Integer collection of indices where the items were found.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_RV: "Returns the index of all occurrences of a knowledge base document labels in a collection in an Integer collection. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_0: "The knowledge base document label collection.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_1: "The knowledge base document label name to find.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_EX_OUT_1: 'Returns the indices of the label "Welcome Article" as an array of Integers, if it can be found within Flow.KnowledgeBaseDocument.labels. If the supplied label is not found, this returns an empty Integer array.', AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_DSC: "Finds all occurrences of a knowledge base document labels in a knowledge base document label collection and returns an Integer indicating the index where the items were found.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_RV: "Returns the index of all occurrences of a knowledge base document labels in a collection in an Integer collection. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_PRM_DSC_0: "The knowledge base document label collection.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_PRM_DSC_1: "The name of the knowledge base document label property to match on.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_PRM_DSC_2: "The value of the knowledge base document label property to match on.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_EX_OUT_1: 'Returns the indices of the label "Welcome Article" as an array of Integers, if labels with that name can be found within Flow.KnowledgeBaseDocument.labels. If the supplied label is not found, this returns an empty Integer array.', AR_FN_DSC_FINDFIRSTITEM: "Finds the first occurrence of an item in a collection and returns an Integer indicating the index where the item was found. If the item is not found, -1 will be returned.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_DSC: "Finds the first occurrence of a knowledge base document label in a knowledge base document label collection by label name and returns an Integer indicating the index where that item was found.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_RV: "Returns the index of the first occurrence of a knowledge base document labels in a collection as an Integer. If the item is not found, -1 is returned.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_0: "The knowledge base document label collection.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_1: "The knowledge base document label name to find.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_EX_OUT_1: 'Returns the first index of the label "Welcome Article" as an integer, if it can be found within Flow.KnowledgeBaseDocument.labels. If the supplied label is not found, this returns -1.', AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_DSC: "Finds the first occurrence of a knowledge base document label in a knowledge base document label collection and returns an Integer indicating the index where that item was found.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_RV: "Returns the index of the first occurrence of a knowledge base document labels in a collection as an Integer. If the item is not found, -1 is returned.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_0: "The knowledge base document label collection.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_1: "The name of the knowledge base document label property to match on.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_2: "The value of the knowledge base document label property to match on.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_EX_OUT_1: 'Returns the first index of the label "Welcome Article" as an integer, if a label with that name can be found within Flow.KnowledgeBaseDocument.labels. If the supplied label is not found, this returns -1.', AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_DSC: "Finds the first occurrence of a customer segment in an assigned customer segment collection by customer segment name and returns an Integer indicating the index where that item was found.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_RV: "Returns the index of the first occurrence of an assigned customer segment in a collection as an Integer. If the item is not found, -1 is returned.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_PRM_DSC_0: "The assigned customer segment collection to search.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_PRM_DSC_1: "The customer segment name to find.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_EX_OUT_1: 'Returns the first index of the segment with name "Gold Tier" as an integer, if it can be found within the assigned customer segment collection. If the supplied segment is not found, this returns -1.', AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_DSC: "Finds the first occurrence of a customer segment in an assigned customer segment collection by property name and value and returns an Integer indicating the index where that item was found.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_RV: "Returns the index of the first occurrence of an assigned customer segment in a collection as an Integer. If the item is not found, -1 is returned.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_0: "The assigned customer segment collection to search.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_1: "The name of the assigned customer segment property to match on.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_2: "The value of the assigned customer segment property to match on.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_EX_OUT_1: "Returns the first index of the assigned customer segment where the specified property matches the given value. If no match is found, this returns -1.", AR_FN_DSC_FINDJSONARRAYITEM: "Finds all occurrences of an item in a JSON value that contains an array and returns an Integer collection of indices where that item was found. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_DSC: "Finds all occurrences of an item in a JSON array and returns an Integer collection of indices where that item was found.", AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_RV: "Returns the index of all occurrences of an item in a JSON array in an Integer collection. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_PRM_DSC_0: "The source JSON value that contains a JSON array for the find operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_PRM_DSC_1: "The value to find.", AR_FN_DSC_FINDJSONARRAYITEMFIRST: "Finds the first occurrence of an item in a JSON value that contains an array and returns an Integer indicating the index where that item was found. If the item is not found, -1 will be returned.", AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_DSC: "Finds the first occurrence of an item in a JSON array and returns an Integer indicating the index where that item was found.", AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_RV: "Returns the index of the first occurrence of an item in a JSON array as an Integer. If the item is not found, -1 is returned.", AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_PRM_DSC_0: "The source JSON value that contains a JSON array for the find operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_PRM_DSC_1: "The value to find.", AR_FN_DSC_MAKELIST: "Creates a collection with the specified parameters.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_DSC: "Creates a collection with the specified items.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_RV: "Returns a collection with the specified elements.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_PRM_DSC_0: "Item to add to the collection.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_0: "A Currency collection with two currency items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_1: "A DateTime collection with two date times in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_2: "A Decimal collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_3: "A Duration collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_4: "An Integer collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_5: "A String collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_6: "A Boolean collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_7: "A User collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_8: "A Skill collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_9: "A Skill collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_10: "A ListPickerItem collection with two items in it", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_11: "A ListPickerSection collection with one items in it", AR_FN_DSC_MAKEEMPTYLIST: "Creates an empty collection based on the type value passed in.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_DSC: "Creates an empty collection with the type specified in the item parameter.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_RV: "Returns an empty collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_PRM_DSC_0: "The item whose type will determine the type of the empty collection returned.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_0: "An empty Currency collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_1: "An empty DateTime collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_2: "An empty Decimal collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_3: "An empty Duration collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_4: "An empty Integer collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_5: "An empty String collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_6: "An empty Boolean collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_7: "An empty User collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_8: "An empty Skill collection.", AR_FN_DSC_ADDITEM: "Adds an item to a collection.", AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_DSC: "Adds a new item value to the end of a collection.", AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_RV: "Returns a new collection value whose contents is the supplied source collection plus the valueToAdd value appended to the end.", AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_PRM_DSC_0: "The source collection for the add operation.", AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_PRM_DSC_1: "The value to add to the returned collection. This must be the same data type as the source collection.", AR_FN_DSC_ADDJSONARRAYITEM: "Adds an item to a collection.", AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_DSC: "Creates a new JSON value that contains an array with items cloned from the supplied JSON value array with the value to add item value appended to the resulting array. The supplied JSON array is left unchanged.", AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_RV: "Returns a JSON value with the item added to the array.", AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_PRM_DSC_0: "The JSON value that contains an array for the add operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_PRM_DSC_1: "The value to add to the array contained in the returned JSON value.", AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_EX_OUT_0: 'A JSON value containing the following array: [ "a", 2, "c", "d" ]', AR_FN_DSC_ADDITEMAT: "Adds a new item value to a collection at a specific index.", AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_DSC: "Adds a new item to a collection by inserting it at a specified index.", AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_RV: "Returns a new collection value whose contents is the supplied source collection contents with the valueToAdd value inserted at the specified index.", AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_0: "The source collection for the add operation.", AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_1: "The zero-based index where the valueToAdd value will be inserted in the returned collection. To insert at the beginning of the returned collection, use an index value of 0. An index value less than or equal to the source collection length will append the valueToAdd item value in the returned collection.", AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_2: "The value to add to the returned collection. This must be the same data type as the source collection.", AR_FN_DSC_ADDJSONARRAYITEMAT: "Adds a new item to an array contained in a JSON value at a specific index in that array.", AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_DSC: "Creates a new JSON value that contains an array with items cloned from the supplied JSON value array with the value to add inserted at the specified index. The supplied JSON array is left unchanged.", AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_RV: "Returns a JSON value that contains an array with the item added at the specified index.", AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_0: "The JSON value with an array for the addJsonArrayItemAt operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_1: "The zero-based index where the valueToAdd value will be inserted in the returned Array. To insert at the beginning of the returned Array, use an index value of 0. An index value mediumr than or equal to the source collection length will append the valueToAdd item value to the returned array.", AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_2: "The value to add to the returned JSON array.", AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_0: 'A JSON value with an array that contains the values: [ 0, 1, 2, "Hello" ]', AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_1: 'A JSON value with an array that contains the values: [ "Goodbye", "Hello" ]', AR_FN_DSC_REMOVEDUPS: "Removes duplicate values from a collection.", AR_FN_ANY_COLL_REMOVEDUPS_ANY_COLL_DSC: "Removes all duplicate values from the supplied source collection and returns the resulting collection value. To determine if a collection item is a duplicate of another, this function uses the equals operator when comparing the two collection items. Duplicate values that follow the first occurrence of a value are removed from the collection.", AR_FN_ANY_COLL_REMOVEDUPS_ANY_COLL_RV: "Returns a new collection value with duplicate collection items removed.", AR_FN_ANY_COLL_REMOVEDUPS_ANY_COLL_PRM_DSC_0: "The source collection for the duplicate removal operation.", AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_DSC: "Removes all duplicate String values from the source collection and returns the resulting collection value. This function has an option to perform case insensitive String value checking. Duplicate String values that follow the first occurrence of a String value are removed from the collection.", AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_RV: "Returns a new collection value with duplicate String items removed.", AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_PRM_DSC_0: "The source collection for the duplicate removal operation.", AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_PRM_DSC_1: "Whether or not to perform case insensitive (true) or case sensitive (false) String matching to determine duplicates for String values in the source collection.", AR_FN_DSC_REMOVEJSONARRAYDUPS: "Returns a JSON value that contains an array with duplicate values removed from a supplied JSON value that contains an array.", AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_DSC: "Creates a new JSON value that contains an array with unique items cloned from the supplied JSON value array. The supplied JSON array is left unchanged.", AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_RV: "Returns a new JSON value that contains an array by cloning only unique values in the array in the supplied JSON value.", AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_PRM_DSC_0: "The source JSON value that contains an array for the duplicate removal operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_EX_OUT_0: 'A JSON value that contains an array with items [ 100, 150, false, { "a": 5 } ]', AR_FN_DSC_REMOVEITEM: "Removes one or more items from a collection by value.", AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_DSC: "Removes all occurrences of a value from a collection and returns the resulting collection value.", AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_RV: "Returns a new collection value whose contents is the supplied source collection value without source collection items that were equal to the valueToRemove value.", AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_PRM_DSC_0: "The source collection for the remove operation.", AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_PRM_DSC_1: "The value to remove from the collection. This must be the same data type as the source collection.", AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_EX_OUT_4: "An empty Integer collection.", AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_DSC: "Removes all occurrences of a String value from a String collection and returns the resulting String collection value.", AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_RV: "Returns a new String collection value whose contents is the supplied source collection value without source collection String items whose value was equal to the valueToRemove value.", AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_PRM_DSC_0: "The source String collection for the remove operation.", AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_PRM_DSC_1: "The String value to remove from the collection.", AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_PRM_DSC_2: "Whether or not to perform case insensitive (true) or case sensitive (false) matching for String values in the source collection.", AR_FN_DSC_REMOVEJSONARRAYITEM: "Removes one or more items from a JSON value that contains an array.", AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_DSC: "Removes all occurrences of a value in a JSON array and returns a new JSON value with resulting JSON array. The supplied JSON array is left unchanged.", AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_RV: "Returns a new JSON value that contains a JSON array without items that are equal to the supplied valueToRemove value.", AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_PRM_DSC_0: "The source JSON value that contains an array for the remove operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_PRM_DSC_1: "The value to remove from the JSON array.", AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_EX_OUT_0: 'A JSON value that contains an array of [ "There" ].', AR_FN_DSC_REMOVEITEMAT: "Removes an item from a collection at a specific index.", AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_DSC: "Removes an item from a collection by its index and returns the resulting collection value.", AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_RV: "Returns a new collection value whose contents is the supplied source collection items without the item at the specified index.", AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_PRM_DSC_0: "The source collection for the remove operation.", AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_PRM_DSC_1: "The zero-based index of the item to remove from the collection.", AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_EX_OUT_0: "An empty String collection.", AR_FN_DSC_REMOVEJSONARRAYITEMAT: "Removes an item from an array in a JSON value at a specific index.", AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_DSC: "Removes a value at a specified index in a JSON array and returns a new JSON value with resulting JSON array. The supplied JSON array is left unchanged.", AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_RV: "Returns a new JSON value that contains a JSON array without the item at the supplied array's index.", AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_PRM_DSC_0: "The source JSON value that contains an array for the remove operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_PRM_DSC_1: "The zero-based index of the item to remove from the JSON array. If the index is less than 0 or greater than or equal to the number of items in the array, this will invoke error handling.", AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_EX_OUT_0: "A JSON value that contains an array with items [ 100, false ].", AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_EX_OUT_1: "A JSON value that contains an array with the item [ false ].", AR_FN_DSC_REPLACEITEM: "Replaces one or more items in a collection with a new value.", AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_DSC: "Replaces all occurrences of a value in a collection with a new value and returns the resulting collection value.", AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_RV: "Returns a new collection value whose contents is the supplied source collection value with all collection items equal to valueToReplace replaced with the newValue value.", AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_PRM_DSC_0: "The source collection for the replace operation.", AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_PRM_DSC_1: "The item value to replace in the collection. This must be the same data type as the source collection.", AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_PRM_DSC_2: "The replacement item value. This must be the same data type as the source collection.", AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_DSC: "Replaces all occurrences of a String value in a collection with a new String value and returns the resulting String collection value.", AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_RV: "Returns a new String collection value whose contents is the supplied source collection value with all String collection items equal to valueToReplace replaced with the newValue String value.", AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_0: "The source String collection for the replace operation.", AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_1: "The item String value to replace in the collection.", AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_2: "The replacement item String value.", AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_3: "Whether or not to perform case insensitive (true) or case sensitive (false) matching for String values in the source collection.", AR_FN_DSC_REPLACEJSONARRAYITEM: "Replaces one or more items from a JSON value that contains an array.", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_DSC: "Replaces all occurrences of a value in a JSON array with a new value and returns a new JSON value with resulting JSON array. The supplied JSON array is left unchanged.", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_RV: "Returns a new JSON value that contains an array with replaced values.", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_PRM_DSC_0: "The source JSON value that contains a JSON array for the replace operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_PRM_DSC_1: "The item value to replace in the returned array.", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_PRM_DSC_2: "The replacement item value.", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_EX_OUT_0: 'A JSON value that contains the array [ "Goodbye" ]', AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_EX_OUT_1: "A JSON value that contains the array [0, 2, 4, 6, 8]", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_EX_OUT_2: "A JSON value that contains the array [0, null, 100]", AR_FN_DSC_REPLACEITEMAT: "Replaces an item in a collection at a specific index.", AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_DSC: "Replaces the collection item at a specified index with a new value and returns the resulting collection value.", AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_RV: "Returns a new collection value whose contents is the supplied source collection value with the item at the specified index set to the value of newValue.", AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_0: "The source collection for the replace operation.", AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_1: "The zero-based index of the item to replace in the collection. If the index is less than 0 or greater than or equal to the number of items in the JSON array, this will invoke error handling.", AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_2: "The replacement value. This must be the same data type as the source collection.", AR_FN_DSC_REPLACEJSONARRAYITEMAT: "Replaces one or more items from a JSON value that contains an array.", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_DSC: "Replaces an item in a JSON array at a specified index with a new value and returns a new JSON value with resulting JSON array. The supplied JSON array is left unchanged.", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_RV: "Returns a new JSON value that contains an array with the replaced value.", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_0: "The source JSON value that contains an array for the replace operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_1: "The zero-based index of the item to replace in the JSON array. If the index is less than 0 or greater than or equal to the number of items in the array, this will invoke error handling.", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_2: "The replacement item value.", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_0: 'A JSON value that contains the array [ "Goodbye" ]', AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_1: "A JSON value that contains the array [0, 2, false, 5, 8]", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_2: "A JSON value that contains the array [0, null, 100]", AR_FN_DSC_REPLACEITEMFIRST: "Replaces the first occurrence of a value in a collection with a new value and returns the resulting collection value.", AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_DSC: "Replaces the first matching occurrence of a value in a collection with a new value and returns the resulting collection value.", AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_RV: "Returns a new collection value whose contents is the supplied source collection with the first item whose value equals valueToReplace replaced with the value of newValue.", AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_PRM_DSC_0: "The source collection for the replace operation.", AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_PRM_DSC_1: "The value to replace in the collection. This must be the same data type as the source collection.", AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_PRM_DSC_2: "The replacement value. This must be the same data type as the source collection.", AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_DSC: "Replaces the first matching occurrence of a String value in a collection with a new String value and returns the resulting collection value.", AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_RV: "Returns a new collection value whose contents is the supplied source collection with the first item whose value equals valueToReplace replaced with the value of newValue.", AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_0: "The source String collection for the replace operation.", AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_1: "The String value to replace in the collection.", AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_2: "The replacement String value.", AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_3: "Whether or not to perform case insensitive (true) or case sensitive (false) matching for String values in the source collection.", AR_FN_DSC_REPLACEJSONARRAYITEMFIRST: "Replaces an array item from a JSON value that contains an array with a new value.", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_DSC: "Replaces the first occurrence of a value in a JSON array with a new value and returns a new JSON value with resulting JSON array. The supplied JSON array is left unchanged.", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_RV: "Returns a new JSON value that contains the resulting JSON array.", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_PRM_DSC_0: "The source JSON value that contains an array for the replace operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_PRM_DSC_1: "The item value to replace in the returned array.", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_PRM_DSC_2: "The replacement item value.", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_EX_OUT_0: 'A JSON value that contains the array [ "Goodbye" ]', AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_EX_OUT_1: "A JSON value that contains the array [0, 2, 4, 6, 8, 5, 4, false]", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_EX_OUT_2: 'A JSON value that contains the array [0, null, { \\"a\\": true, \\"b\\": false }, 100]', AR_FN_DSC_TOBOOL: "Converts a value to a Boolean.", AR_FN_BLN_TOBOOL_DEC_DSC: "Converts a Decimal value to a Boolean.", AR_FN_BLN_TOBOOL_DEC_RV: "Returns true if the value in valueToConvert is not equal to 0.0, false if the value in valueToConvert is equal to 0.0 and a NOT_SET boolean if valueToConvert is NOT_SET.", AR_FN_BLN_TOBOOL_DEC_PRM_DSC_0: "The Decimal to convert to a Boolean.", AR_FN_BLN_TOBOOL_DEC_EX_OUT_3: "A NOT_SET Boolean", AR_FN_BLN_TOBOOL_STR_DSC: "Converts a String value to a Boolean.", AR_FN_BLN_TOBOOL_STR_RV: `Returns true if the value in valueToConvert is a case insensitive match to "True", "1" or "T". Returns false if the value in valueToConvert is a case insensitive match to "False", "0" or "F". If the value in valueToConvert is NOT_SET or doesn't match the true or false valid values, a NOT_SET Boolean is returned.`, AR_FN_BLN_TOBOOL_STR_PRM_DSC_0: 'The String to convert to a Boolean. Valid String values are "True", "1", "T", "False", "0", "F" and NOT_SET.', AR_FN_BLN_TOBOOL_STR_EX_OUT_9: "A NOT_SET Boolean", AR_FN_BLN_TOBOOL_STR_BLN_DSC: "Converts a String value to a Boolean value with default fallback in case the String value cannot be converted to a Boolean.", AR_FN_BLN_TOBOOL_STR_BLN_RV: "Returns the converted Boolean value.", AR_FN_BLN_TOBOOL_STR_BLN_PRM_DSC_0: "The String to convert to a Boolean. If the value in valueToConvert is a NOT_SET String, a NOT_SET Boolean is returned. If the string value cannot be converted to a Boolean value, the Boolean value supplied in the default parameter will be returned instead of invoking error handling.", AR_FN_BLN_TOBOOL_STR_BLN_PRM_DSC_1: "The default Boolean value to return instead of invoking error handling if the supplied String value cannot be converted to a Boolean.", AR_FN_BLN_TOBOOL_LNG_DSC: "Converts an Integer value to a Boolean.", AR_FN_BLN_TOBOOL_LNG_RV: "Returns true if the value in valueToConvert is not equal to 0, false if the value in valueToConvert is equal to 0 and a NOT_SET boolean if the value in valueToConvert is NOT_SET.", AR_FN_BLN_TOBOOL_LNG_PRM_DSC_0: "The Integer to convert to a Boolean.", AR_FN_BLN_TOBOOL_LNG_EX_OUT_3: "A NOT_SET Boolean", AR_FN_BLN_TOBOOL_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Boolean.", AR_FN_BLN_TOBOOL_NTS_RV: "Returns a NOT_SET Boolean.", AR_FN_BLN_TOBOOL_NTS_PRM_DSC_0: "The value NOT_SET to convert to a Boolean.", AR_FN_BLN_TOBOOL_NTS_EX_OUT_0: "A NOT_SET Boolean", AR_FN_BLN_TOBOOL_BLN_DSC: "Returns a Boolean value from the supplied Boolean value.", AR_FN_BLN_TOBOOL_BLN_RV: "Returns the supplied Boolean.", AR_FN_BLN_TOBOOL_BLN_PRM_DSC_0: "The Boolean value to return.", AR_FN_BLN_TOBOOL_JSON_DSC: "Converts a JSON value to a Boolean value.", AR_FN_BLN_TOBOOL_JSON_RV: "Returns a Boolean value for the supplied JSON value.", AR_FN_BLN_TOBOOL_JSON_PRM_DSC_0: 'The JSON value to convert to Boolean. If the JSON value contains a number, the result will be true if the number is not equal to 0, otherwise false. If the JSON value contains a boolean, the result will be the boolean value. If the JSON value contains a string, the result will be true if the string value case insensitively matches "True", "T" or "1" and false if it case insensitively matches "False", "F" or "0". If the JSON value contains null, a NOT_SET Boolean is returned. Otherwise if the JSON value contains an object or an array, error handling will be invoked.', AR_FN_BLN_TOBOOL_JSON_EX_OUT_4: "A NOT_SET Boolean.", AR_FN_BLN_TOBOOL_JSON_EX_OUT_5: "A NOT_SET Boolean.", AR_FN_BLN_TOBOOL_JSON_BLN_DSC: "Converts a JSON value to a Boolean value with default fallback in case the JSON value cannot be converted to a Boolean.", AR_FN_BLN_TOBOOL_JSON_BLN_RV: "Returns a Boolean value for the supplied JSON value.", AR_FN_BLN_TOBOOL_JSON_BLN_PRM_DSC_0: 'The JSON value to convert to a Boolean. If the JSON value contains a number, the result will be true if the number is not equal to 0, otherwise false. If the JSON value contains a boolean, the result will be the boolean value. If the JSON value contains a string, the result will be true if the string value case insensitively matches "True", "T" or "1" and false if it case insensitively matches "False", "F" or "0". If the JSON value contains null, a NOT_SET Boolean is returned. Otherwise if the JSON value contains an object or an array or cannot be converted to a Boolean, the default parameter Boolean value is returned.', AR_FN_BLN_TOBOOL_JSON_BLN_PRM_DSC_1: "The default Boolean value to return instead of invoking error handling if the supplied JSON value cannot be converted to a Boolean.", AR_FN_DSC_TODIGITALAUDIO: "Converts a value to a Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_DSC: "Returns a Digital Audio from the supplied Digital Audio value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_RV: "Returns the supplied Digital Audio value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_PRM_DSC_0: "The Digital Audio to return.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_EX_OUT_0: "A NOT_SET Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_RV: "Returns a NOT_SET Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_PRM_DSC_0: "The NOT_SET value to convert to a Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_EX_OUT_0: "A NOT_SET Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DSC: "Returns a Digital Audio from the supplied Response Asset value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_RV: "Returns the Digital Audio value for the supplied Response Asset value if it can be converted, otherwise a NOT_SET Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_PRM_DSC_0: "The Response Asset to convert to a Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_EX_OUT_0: "A Digital Audio value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_EX_OUT_1: "A NOT_SET Digital Audio value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_DSC: "Converts a Response Asset value to a Digital Audio value with default fallback in case the Response Asset value cannot be converted to a Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_RV: "Returns the Digital Audio value for the supplied Response Asset value if it can be converted. If the Response Asset value is NOT_SET, a NOT_SET Digital Audio is returned instead of the default value. Otherwise the supplied default Digital Audio value is returned.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_PRM_DSC_0: "The Response Asset to convert to a DigitalAudio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_PRM_DSC_1: "The default Digital Audio value to return instead of invoking error handling if the supplied Response Asset cannot be converted to a Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_EX_OUT_0: "A Digital Audio value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_EX_OUT_1: "A NOT_SET Digital Audio value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_EX_OUT_2: "The default Digital Audio value.", AR_FN_DSC_TODIGITALAUDIOCOLLECTION: "Converts a collection to a Digital Audio Collection.", AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_DSC: "This converts a Response Asset collection to a Digital Audio collection by converting each item in the Response Asset collection to a Digital Audio item.", AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_RV: "The returned Digital Audio collection will have the same number of items as the supplied Response Asset Collection. Response Asset items that cannot be converted to a Digital Audio value will be NOT_SET in the returned collection.", AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0: "The Response Asset collection to convert to a Digital Audio collection.", AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_EX_OUT_0: "A Digital Audio collection with two items.", AR_FN_DSC_TODISPLAYSTRING: "Converts a value to a localized String.", AR_FN_STR_TODISPLAYSTRING_ANY_DSC: "Converts a value to a localized String.", AR_FN_STR_TODISPLAYSTRING_ANY_RV: "Returns a localized String for the value submitted in valueToConvert.", AR_FN_STR_TODISPLAYSTRING_ANY_PRM_DSC_0: "The value to convert to a String. Any NOT_SET value submitted will result in a NOT_SET String being returned.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_DSC: "Converts a collection to a localized String. The method calls ToDisplayString on each element in the collection and appends the returned value for each item to the result string. Collection items are delimited with a newline in the returned string.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_RV: "Returns a localized String for the collection submitted in valueToConvert.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_PRM_DSC_0: "The collection to convert to a String.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_DSC: "Converts a collection to a localized String. The method calls ToDisplayString on each element in the collection and appends the returned value for each item to the result string. Items in the returned string are delimited with the value specified in the delimiter parameter.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_RV: "Returns a localized String for the collection.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_PRM_DSC_0: "The collection to convert to a String.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_PRM_DSC_1: "The delimiter to use between items in the returned string. If the delimiter is a NOT_SET string, a newline will be used for the delimiter.", AR_FN_STR_TODISPLAYSTRING_CUR_LNG_DSC: "Converts a Currency value to a localized String.", AR_FN_STR_TODISPLAYSTRING_CUR_LNG_RV: "Returns a string representation of the Currency value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TODISPLAYSTRING_CUR_LNG_PRM_DSC_0: "The Currency to convert to a String.", AR_FN_STR_TODISPLAYSTRING_CUR_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_DSC: "Converts a Currency collection to a localized String. The method calls ToDisplayString on each Currency in the collection and appends the returned value for each item to the result string. Collection items are delimited with a newline in the returned string.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_RV: "Returns a string representation of the Currency value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_PRM_DSC_0: "The Currency collection to convert to a String.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_DSC: "Converts a Currency collection to a localized String. The method calls ToDisplayString on each Currency in the collection and appends the returned value for each item to the result string. Items in the returned string are delimited with the value specified in the delimiter parameter.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_RV: "Returns a string representation of the Currency value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_PRM_DSC_0: "The Currency to convert to a String.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_PRM_DSC_1: "The delimiter to use between items in the returned string. If the delimiter is a NOT_SET string, a newline will be used.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_PRM_DSC_2: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TODISPLAYSTRING_DEC_LNG_DSC: "Converts a Decimal value to a localized String.", AR_FN_STR_TODISPLAYSTRING_DEC_LNG_RV: "Returns a string representation of the Decimal value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TODISPLAYSTRING_DEC_LNG_PRM_DSC_0: "The Decimal to convert to a String.", AR_FN_STR_TODISPLAYSTRING_DEC_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TODISPLAY_DEC_COLL_LNG_DSC: "Converts a Decimal collection to a localized String. The method calls ToDisplayString on each Decimal in the collection and appends the returned value for each item to the result string. Collection items are delimited with a newline in the returned string.", AR_FN_STR_TODISPLAY_DEC_COLL_LNG_RV: "Returns a localized String for the collection.", AR_FN_STR_TODISPLAY_DEC_COLL_LNG_PRM_DSC_0: "The Decimal collection to convert to a String.", AR_FN_STR_TODISPLAY_DEC_COLL_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point for each decimal in the collection. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_DSC: "Converts a Decimal collection to a localized String. The method calls ToDisplayString on each Decimal in the collection and appends the returned value for each item to the result string. Items in the returned string are delimited with the value specified in the delimiter parameter.", AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_RV: "Returns a localized String for the collection.", AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_PRM_DSC_0: "The Decimal collection to convert to a String.", AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_PRM_DSC_1: "The delimiter to use between items in the returned string. If the delimiter is a NOT_SET string, a newline will be used.", AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_PRM_DSC_2: "The number of decimal places to emit after the decimal point for each decimal in the collection. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TODISPLAYSTRING_NTS_DSC: "Creates a NOT_SET string.", AR_FN_STR_TODISPLAYSTRING_NTS_RV: "Returns a NOT_SET String.", AR_FN_STR_TODISPLAYSTRING_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_STR_TODISPLAYSTRING_NTS_EX_OUT_0: "A NOT_SET String", AR_FN_DSC_TOSTRING: "Converts a value to a non-localized String.", AR_FN_STR_TOSTRING_ANY_DSC: "Converts a value to a non-localized String.", AR_FN_STR_TOSTRING_ANY_RV: "Returns a non-localized String for the value submitted in valueToConvert.", AR_FN_STR_TOSTRING_ANY_PRM_DSC_0: "The value to convert to a String.", AR_FN_STR_TOSTRING_ANY_EX_OUT_4: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_5: '"10.00|USD" ( currency values return two decimal places if the amount is set )', AR_FN_STR_TOSTRING_ANY_EX_OUT_7: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_10: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_13: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_16: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_18: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_19: "Returns the username property from the supplied User value or a NOT_SET String if the User value itself is NOT_SET.", AR_FN_STR_TOSTRING_ANY_EX_OUT_20: '"Call back in a week" - This is the name on the Wrapup Code.', AR_FN_STR_TOSTRING_ANY_EX_OUT_21: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_22: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_23: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_24: '"tel:+1 (317) 872-3000" ( the Phone Number uri property )', AR_FN_STR_TOSTRING_ANY_EX_OUT_25: "Returns the uri property from the supplied Phone Number value. If the Phone Number value is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_ANY_EX_OUT_26: "Returns the name property from the supplied Skill value. If the Skill value is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_ANY_EX_OUT_27: "Returns the username property from the supplied User value. If the User value is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_ANY_EX_OUT_28: "Returns the name property from the supplied Wrapup Code value. If the Wrapup Code value is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_ANY_EX_OUT_29: "Returns the String value of the Call.ContactId variable.", AR_FN_STR_TOSTRING_ANY_EX_OUT_30: "Returns the id property value from the supplied Email value.", AR_FN_STR_TOSTRING_ANY_EX_OUT_31: "Returns the id property value from the supplied Email Address value.", AR_FN_STR_TOSTRING_ANY_EX_OUT_32: "Returns the id property value from the supplied Email Attachment value.", AR_FN_STR_TOSTRING_ANY_EX_OUT_33: "Returns the id property value from the supplied External Organization value or a NOT_SET String if the External Organization value itself is NOT_SET.", AR_FN_STR_TOSTRING_ANY_EX_OUT_34: "Returns the id property value from the supplied External Contact value or a NOT_SET String if the External Contact value itself is NOT_SET.", AR_FN_STR_TOSTRING_ANY_EX_OUT_35: 'Returns a String generated from non blank properties in the External Address such as "100 Main St., Chicago, IL, 60447, USA", "Los Angeles, CA" or a NOT_SET String if the External Address value itself is NOT_SET.', AR_FN_STR_TOSTRING_ANY_EX_OUT_36: "Returns the display property from the supplied External PhoneNumber value or a NOT_SET String if the External PhoneNumber itself is NOT_SET.", AR_FN_STR_TOSTRING_ANY_EX_OUT_37: '"Welcome" - This returns the name property from the supplied Prompt value. If a Prompt value is NOT_SET, a NOT_SET String is returned.', AR_FN_STR_TOSTRING_ANY_EX_OUT_42: "Returns the id property of the supplied Workitem.", AR_FN_STR_TOSTRING_ANY_EX_OUT_49: "Returns the name property from the supplied Utilization Label. If Utilization Label value is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_ANY_EX_OUT_50: "Returns the name property from the supplied Worktype Status. If the Worktype Status value is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_ANY_EX_OUT_51: "Returns the title property of the supplied TimePicker value", AR_FN_STR_TOSTRING_NTS_DSC: "Creates a NOT_SET string.", AR_FN_STR_TOSTRING_NTS_RV: "Returns a NOT_SET String.", AR_FN_STR_TOSTRING_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_STR_TOSTRING_NTS_EX_OUT_0: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_COLL_DSC: "Converts a collection to a non-localized String. The method calls ToString on each element in the collection and appends the returned value for each item to the result string. Collection items are delimited with a newline in the returned string.", AR_FN_STR_TOSTRING_ANY_COLL_RV: "Returns a non-localized String for the collection submitted in valueToConvert.", AR_FN_STR_TOSTRING_ANY_COLL_PRM_DSC_0: "The collection to convert to a String.", AR_FN_STR_TOSTRING_ANY_COLL_STR_DSC: "Converts a collection to a non-localized String. The method calls ToString on each element in the collection and appends the returned value for each item to the result string. Items in the returned string are delimited with the value specified in the delimiter parameter.", AR_FN_STR_TOSTRING_ANY_COLL_STR_RV: "Returns a non-localized String for the collection.", AR_FN_STR_TOSTRING_ANY_COLL_STR_PRM_DSC_0: "The collection to convert to a String.", AR_FN_STR_TOSTRING_ANY_COLL_STR_PRM_DSC_1: "The delimiter to use between items in the returned string. If the delimiter is a NOT_SET string, a newline will be used for the delimiter.", AR_FN_STR_TOSTRING_DEC_LNG_DSC: "Converts a Decimal value to a non-localized String.", AR_FN_STR_TOSTRING_DEC_LNG_RV: "Returns a string representation of the Decimal value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_DEC_LNG_PRM_DSC_0: "The Decimal to convert to a String.", AR_FN_STR_TOSTRING_DEC_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TOSTRING_DEC_LNG_EX_OUT_3: "A NOT_SET String", AR_FN_STR_TOSTRING_CUR_LNG_DSC: "Converts a Currency value to a non-localized String.", AR_FN_STR_TOSTRING_CUR_LNG_RV: "Returns a string representation of the Currency value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_CUR_LNG_PRM_DSC_0: "The Currency to convert to a String.", AR_FN_STR_TOSTRING_CUR_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TOSTRING_DEC_COLL_LNG_DSC: "Converts a Decimal collection to a non-localized String. The method calls ToString on each element in the collection and appends the returned value for each item to the result string. Collection items are delimited with a newline in the returned string.", AR_FN_STR_TOSTRING_DEC_COLL_LNG_RV: "Returns a non-localized String for the collection.", AR_FN_STR_TOSTRING_DEC_COLL_LNG_PRM_DSC_0: "The Decimal collection to convert to a String.", AR_FN_STR_TOSTRING_DEC_COLL_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point for each decimal in the collection. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TOSTRING_CUR_COLL_LNG_DSC: "Converts a Currency collection to a non-localized String.", AR_FN_STR_TOSTRING_CUR_COLL_LNG_RV: "Returns a string representation of the Currency value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_CUR_COLL_LNG_PRM_DSC_0: "The Currency collection to convert to a String.", AR_FN_STR_TOSTRING_CUR_COLL_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_DSC: "Converts a Decimal collection to a non-localized String. The method calls ToString on each element in the collection and appends the returned value for each item to the result string. Collection items are delimited with a newline in the returned string.", AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_RV: "Returns a non-localized String for the collection.", AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_PRM_DSC_0: "The Decimal collection to convert to a String.", AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_PRM_DSC_1: "The delimiter to use between items in the returned string. If the delimiter is a NOT_SET string, a newline will be used.", AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_PRM_DSC_2: "The number of decimal places to emit after the decimal point for each decimal in the collection. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_DSC: "Converts a Currency collection to a non-localized String.", AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_RV: "Returns a string representation of the Currency value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_PRM_DSC_0: "The Currency to convert to a String.", AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_PRM_DSC_1: "The delimiter to use between items in the returned string. If the delimiter is a NOT_SET string, a newline will be used.", AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_PRM_DSC_2: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_DSC_TOINT: "Converts a value to an Integer type.", AR_FN_LNG_TOINT_BLN_DSC: "Converts a Boolean to an Integer. True returns 1. False returns 0.", AR_FN_LNG_TOINT_BLN_RV: "Returns 1 if the value in valueToConvert is true, 0 if the value in valueToConvert is false and a NOT_SET Integer if the value in valueToConvert is a NOT_SET Boolean.", AR_FN_LNG_TOINT_BLN_PRM_DSC_0: "The Boolean to convert to an Integer.", AR_FN_LNG_TOINT_BLN_EX_OUT_2: "A NOT_SET Integer", AR_FN_LNG_TOINT_DEC_DSC: "Converts a Decimal to an Integer.", AR_FN_LNG_TOINT_DEC_RV: "Returns the integer part of the Decimal supplied in the valueToConvert parameter. If the value in valueToConvert is a NOT_SET Decimal, a NOT_SET Integer is returned.", AR_FN_LNG_TOINT_DEC_PRM_DSC_0: "The Decimal to convert to an Integer.", AR_FN_LNG_TOINT_DEC_EX_OUT_5: "A NOT_SET Integer", AR_FN_LNG_TOINT_STR_DSC: "Converts a String value to an Integer.", AR_FN_LNG_TOINT_STR_RV: "Returns the string supplied in the valueToConvert parameter as an Integer. If the value in valueToConvert is a NOT_SET String, a NOT_SET Integer is returned.", AR_FN_LNG_TOINT_STR_PRM_DSC_0: "The String to convert to an Integer.", AR_FN_LNG_TOINT_STR_EX_OUT_3: "A NOT_SET Integer", AR_FN_LNG_TOINT_STR_EX_OUT_4: "A NOT_SET Integer", AR_FN_LNG_TOINT_STR_EX_OUT_5: "A NOT_SET Integer", AR_FN_LNG_TOINT_STR_EX_OUT_6: "This would result in an error at runtime.", AR_FN_LNG_TOINT_STR_LNG_DSC: "Converts a String value to an Integer value with default fallback in case the String value cannot be converted to an Integer.", AR_FN_LNG_TOINT_STR_LNG_RV: "Returns the converted Integer value.", AR_FN_LNG_TOINT_STR_LNG_PRM_DSC_0: "The String to convert to an Integer. If the value in valueToConvert is a NOT_SET String, a NOT_SET Integer is returned. If the string value cannot be converted to an Integer value, the Integer value supplied in the default parameter will be returned instead of invoking error handling.", AR_FN_LNG_TOINT_STR_LNG_PRM_DSC_1: "The default Integer value to return instead of invoking error handling if the supplied String value cannot be converted to an Integer.", AR_FN_LNG_TOINT_STR_LNG_EX_OUT_3: "A NOT_SET Integer.", AR_FN_LNG_TOINT_STR_LNG_EX_OUT_4: "A NOT_SET Integer.", AR_FN_LNG_TOINT_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Integer.", AR_FN_LNG_TOINT_NTS_RV: "Returns a NOT_SET Integer.", AR_FN_LNG_TOINT_NTS_PRM_DSC_0: "The NOT_SET value to convert to an Integer.", AR_FN_LNG_TOINT_NTS_EX_OUT_0: "A NOT_SET Integer", AR_FN_LNG_TOINT_LNG_DSC: "Returns an Integer value from the supplied Integer value.", AR_FN_LNG_TOINT_LNG_RV: "Returns the supplied Integer value.", AR_FN_LNG_TOINT_LNG_PRM_DSC_0: "The Integer value to return.", AR_FN_LNG_TOINT_DUR_DSC: "Converts a Duration to an Integer. Returns an Integer value equal to the Duration in milliseconds", AR_FN_LNG_TOINT_DUR_RV: "Returns an Integer value equal to the length of the Duration in milliseconds. Returns a NOT_SET Integer if the value in valueToConvert is a NOT_SET Duration.", AR_FN_LNG_TOINT_DUR_PRM_DSC_0: "The Duration to convert to an Integer.", AR_FN_LNG_TOINT_DUR_EX_OUT_3: "A NOT_SET Integer", AR_FN_LNG_TOINT_JSON_DSC: "Converts a JSON value to an Integer value.", AR_FN_LNG_TOINT_JSON_RV: "Returns an Integer value for the supplied JSON value.", AR_FN_LNG_TOINT_JSON_PRM_DSC_0: "The JSON value to convert to an Integer. If the JSON value contains a number, the result will be an Integer with the integral part of the number. If the JSON value contains a boolean, the result will be 1 if true, otherwise 0. If the JSON value contains a string, the runtime will attempt to convert the string value to an Integer using the same rules as the ToInt implementation that takes a String value. If the JSON value contains null, a NOT_SET Integer is returned. Otherwise if the JSON value contains an object or an array, error handling will be invoked.", AR_FN_LNG_TOINT_JSON_EX_OUT_4: "A NOT_SET Integer.", AR_FN_LNG_TOINT_JSON_EX_OUT_5: "A NOT_SET Integer.", AR_FN_LNG_TOINT_JSON_LNG_DSC: "Converts a JSON value to an Integer value with default fallback in case the JSON value cannot be converted to an Integer.", AR_FN_LNG_TOINT_JSON_LNG_RV: "Returns an Integer value for the supplied JSON value.", AR_FN_LNG_TOINT_JSON_LNG_PRM_DSC_0: "The JSON value to convert to an Integer. If the JSON value contains a number, the result will be an Integer with the integral part of the number. If the JSON value contains a boolean, the result will be 1 if true, otherwise 0. If the JSON value contains a string, the runtime will attempt to convert the string value to an Integer using the same rules as the ToInt implementation that takes a String value. If the JSON value contains null, a NOT_SET Integer is returned. Otherwise if the JSON value contains an object or an array, or the value cannot be converted to an Integer, the default parameter Integer value is returned.", AR_FN_LNG_TOINT_JSON_LNG_PRM_DSC_1: "The default Integer value to return instead of invoking error handling if the supplied JSON value cannot be converted to an Integer.", AR_FN_LNG_TOINT_JSON_LNG_EX_OUT_4: "A NOT_SET Integer.", AR_FN_DSC_TODECIMAL: "Converts a value to a Decimal.", AR_FN_DEC_TODECIMAL_BLN_DSC: "Converts a Boolean to an Decimal.", AR_FN_DEC_TODECIMAL_BLN_RV: "Returns 1.0 for the Boolean value true and 0.0 for the Boolean value False. A NOT_SET Decimal is returned if the value in valueToConvert is a NOT_SET Boolean.", AR_FN_DEC_TODECIMAL_BLN_PRM_DSC_0: "The Boolean to convert to a Decimal.", AR_FN_DEC_TODECIMAL_BLN_EX_OUT_2: "A NOT_SET Decimal", AR_FN_DEC_TODECIMAL_CUR_DSC: "Converts a Currency value to an Decimal type via. the amount in the supplied Currency value.", AR_FN_DEC_TODECIMAL_CUR_RV: "Returns a Decimal value contained on the Currency value.", AR_FN_DEC_TODECIMAL_CUR_PRM_DSC_0: "The Currency value that contains the amount to return.", AR_FN_DEC_TODECIMAL_CUR_EX_OUT_2: "A NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_STR_DSC: "Converts a String value to an Decimal type.", AR_FN_DEC_TODECIMAL_STR_RV: "Returns a Decimal value from a string.", AR_FN_DEC_TODECIMAL_STR_PRM_DSC_0: "The String value to convert to a Decimal.", AR_FN_DEC_TODECIMAL_STR_EX_OUT_2: "A NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_STR_EX_OUT_3: "A NOT_SET Decimal", AR_FN_DEC_TODECIMAL_STR_EX_OUT_4: "A NOT_SET Decimal", AR_FN_DEC_TODECIMAL_STR_EX_OUT_5: "This would result in an error at runtime.", AR_FN_DEC_TODECIMAL_STR_DEC_DSC: "Converts a String value to a Decimal value with default fallback in case the String value cannot be converted to a Decimal.", AR_FN_DEC_TODECIMAL_STR_DEC_RV: "Returns the converted Decimal value.", AR_FN_DEC_TODECIMAL_STR_DEC_PRM_DSC_0: "The String to convert to a Decimal. If the value in valueToConvert is a NOT_SET String, a NOT_SET Decimal is returned. If the string value cannot be converted to a Decimal value, the Decimal value supplied in the default parameter will be returned instead of invoking error handling.", AR_FN_DEC_TODECIMAL_STR_DEC_PRM_DSC_1: "The default Decimal value to return instead of invoking error handling if the supplied String value cannot be converted to a Decimal.", AR_FN_DEC_TODECIMAL_STR_DEC_EX_OUT_2: "A NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_STR_DEC_EX_OUT_3: "A NOT_SET Decimal", AR_FN_DEC_TODECIMAL_LNG_DSC: "Converts an integer value to an Decimal type.", AR_FN_DEC_TODECIMAL_LNG_RV: "Returns a Decimal value for the supplied Integer value.", AR_FN_DEC_TODECIMAL_LNG_PRM_DSC_0: "The Integer value to convert to a Decimal.", AR_FN_DEC_TODECIMAL_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_NTS_RV: "Returns a NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_NTS_EX_OUT_0: "A NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_DEC_DSC: "Returns a Decimal value from the supplied Decimal value.", AR_FN_DEC_TODECIMAL_DEC_RV: "Returns the supplied Decimal value.", AR_FN_DEC_TODECIMAL_DEC_PRM_DSC_0: "The Decimal value to return.", AR_FN_DEC_TODECIMAL_JSON_DSC: "Converts a JSON value to a Decimal value.", AR_FN_DEC_TODECIMAL_JSON_RV: "Returns an Decimal value for the supplied JSON value.", AR_FN_DEC_TODECIMAL_JSON_PRM_DSC_0: "The JSON value convert to an Decimal. If the JSON value contains a number, the result will be a Decimal containing that value assuming the value does not exceed the minimum or maximum Decimal value supported by Architect. If the JSON value contains a boolean, the result will be 1.0 if true, otherwise 0.0. If the JSON value contains a string, the runtime will attempt to convert the string value to a Decimal using the same rules as the ToDecimal implementation that takes a String value. If the JSON value contains null, a NOT_SET Decimal is returned. Otherwise if the JSON value contains an object or an array, error handling will be invoked.", AR_FN_DEC_TODECIMAL_JSON_EX_OUT_3: "A NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_JSON_EX_OUT_4: "A NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_JSON_DEC_DSC: "Converts a JSON value to a Decimal value with default fallback in case the JSON value cannot be converted to a Decimal.", AR_FN_DEC_TODECIMAL_JSON_DEC_RV: "Returns a Decimal value for the supplied JSON value.", AR_FN_DEC_TODECIMAL_JSON_DEC_PRM_DSC_0: "The JSON value to convert to a Decimal. If the JSON value contains a number, the result will be a Decimal with the integral part of the number. If the JSON value contains a boolean, the result will be 1 if true, otherwise 0. If the JSON value contains a string, the runtime will attempt to convert the string value to a Decimal using the same rules as the ToDecimal implementation that takes a String value. If the JSON value contains null, a NOT_SET Decimal is returned. Otherwise if the JSON value contains an object or an array, or the value cannot be converted to a Decimal, the default parameter Decimal value is returned.", AR_FN_DEC_TODECIMAL_JSON_DEC_PRM_DSC_1: "The default Integer value to return instead of invoking error handling if the supplied JSON value cannot be converted to a Decimal.", AR_FN_DEC_TODECIMAL_JSON_DEC_EX_OUT_2: "A NOT_SET Decimal.", AR_FN_DSC_TODATE: "Converts a value to a Date.", AR_FN_DATE_TODATE_STR_DSC: "Converts a String value to a Date type.", AR_FN_DATE_TODATE_STR_RV: "Returns a Date from a supplied string.", AR_FN_DATE_TODATE_STR_PRM_DSC_0: "The String value to convert to a Date. The String must be in the following format: YYYY-MM-DD where YYYY = 4 digit year, MM = 2 digit month and DD = 2 digit day.", AR_FN_DATE_TODATE_STR_EX_OUT_0: "A Date of January 10th, 2009.", AR_FN_DATE_TODATE_STR_EX_OUT_1: "A NOT_SET Date.", AR_FN_DATE_TODATE_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Date.", AR_FN_DATE_TODATE_NTS_RV: "Returns a NOT_SET Date.", AR_FN_DATE_TODATE_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Date.", AR_FN_DATE_TODATE_NTS_EX_OUT_0: "A NOT_SET Date.", AR_FN_DATE_TODATE_DTM_DSC: "Returns a Date value from the supplied DateTime value.", AR_FN_DATE_TODATE_DTM_RV: "Returns the date portion of supplied DateTime value as a Date value.", AR_FN_DATE_TODATE_DTM_PRM_DSC_0: "The DateTime value from which to get the Date to return. If a NOT_SET DateTime value is supplied, this will return a NOT_SET Date.", AR_FN_DATE_TODATE_DTM_EX_OUT_0: "A Date whose value is September 22nd, 2012.", AR_FN_DATE_TODATE_DTM_EX_OUT_1: "A NOT_SET Date.", AR_FN_DATE_TODATE_DATE_DSC: "Returns a Date value from the supplied Date value.", AR_FN_DATE_TODATE_DATE_RV: "Returns the supplied Date value.", AR_FN_DATE_TODATE_DATE_PRM_DSC_0: "The Date value to return.", AR_FN_DATE_TODATE_DATE_EX_OUT_0: "A Date whose value is January 1st, 2003.", AR_FN_DATE_TODATE_DATE_EX_OUT_1: "A NOT_SET Date.", AR_FN_DSC_TODATETIME: "Converts a value to a DateTime.", AR_FN_DTM_TODATETIME_STR_DSC: "Converts a String value to a DateTime type.", AR_FN_DTM_TODATETIME_STR_RV: "Returns a DateTime from a supplied string. Note: The returned DateTime value will be in Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_PRM_DSC_0: 'The String value to convert to a DateTime. The String must be in the following format: YYYY-MM-DDThh:mm:ss.SSS[Z|(+|-)hh:mm] where YYYY = 4 digit year, MM = 2 digit month, DD = 2 digit day, hh = 2 digit hour, mm = 2 digit minute, ss = 2 digit second and SSS = 3 digit fractional seconds. When specifying fractional seconds, if you specify more than 3 digits, they are ignored. "T" is a separator indicating where the time portion starts. [Z|(+|-)hh:mm] represents the offset of the date time from Coordinated Universal Time where "Z" indicates Coordinated Universal Time (UTC) itself. If "[+|-]hh:mm" is used instead of "Z" that specifies an offset from UTC. If the date portion is omitted in the supplied String value, "1970-01-01" is used. If the date portion of the String has "YYYY-MM" but no day of month, "01" is used for the day of month. If the date portion of the String has "YYYY" but no month or day of month, "01-01" is used for month and day of month. If no time portion is supplied, "00:00:00" is used. If the time portion of the String has "hh:mm" but no seconds specified, "00" is used for the seconds. Note that a time only String value with an offset such as "13:30:07+05:00" is not allowed and will invoke flow error handling.', AR_FN_DTM_TODATETIME_STR_EX_OUT_0: "A DateTime of January 10th, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_1: "A DateTime of January 10th, 2009 at 01:30:00 PM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_2: "A DateTime of January 10th, 2009 at 04:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_3: "A NOT_SET DateTime.", AR_FN_DTM_TODATETIME_STR_EX_OUT_4: "A DateTime of January 1st, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_5: "A DateTime of March 20th, 2010 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_6: "A DateTime of March 1st, 2011 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_7: "A DateTime of January 1st, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_8: "A DateTime of January 1st, 2012 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_9: "A DateTime of January 1st, 1970 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_10: "A DateTime of January 1st, 1970 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_11: "A DateTime of January 1st, 1970 at 06:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_12: "A DateTime of January 1st, 1970 at 06:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_13: "A DateTime of March 20th, 2009 at 12:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_14: "A DateTime of March 1st, 2009 at 12:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_15: "A DateTime of January 1st, 2009 at 12:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_LNG_DSC: "Converts an Integer value to a DateTime", AR_FN_DTM_TODATETIME_LNG_RV: "Returns the supplied Integer value as a DateTime.", AR_FN_DTM_TODATETIME_LNG_PRM_DSC_0: "This converts the parameter value to a number of seconds to add to the DateTime January 1, 1970 at 12:00:00 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_TODATETIME_LNG_EX_OUT_0: "A DateTime of January 1st, 1970 at 01:00:00 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_TODATETIME_LNG_EX_OUT_1: "A NOT_SET DateTime.", AR_FN_DTM_TODATETIME_NTS_DSC: "Converts a NOT_SET value to a NOT_SET DateTime.", AR_FN_DTM_TODATETIME_NTS_RV: "Returns a NOT_SET DateTime.", AR_FN_DTM_TODATETIME_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET DateTime.", AR_FN_DTM_TODATETIME_NTS_EX_OUT_0: "A NOT_SET DateTime.", AR_FN_DTM_TODATETIME_DTM_DSC: "Returns a DateTime value from the supplied DateTime value.", AR_FN_DTM_TODATETIME_DTM_RV: "Returns the supplied DateTime value.", AR_FN_DTM_TODATETIME_DTM_PRM_DSC_0: "The DateTime value to return.", AR_FN_DTM_TODATETIME_DTM_EX_OUT_0: "A DateTime of January 1st, 2003 at 12:00:00 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_TODATETIME_JSON_DSC: "Converts a JSON value to a DateTime type.", AR_FN_DTM_TODATETIME_JSON_RV: "Returns a DateTime from a supplied JSON Value.", AR_FN_DTM_TODATETIME_JSON_PRM_DSC_0: 'The JSON value to convert to a DateTime. If the JSON value contains a number, the resulting DateTime will be the value of that number of seconds to the DateTime January 1, 1970 at 12:00:00 AM in Coordinated Universal Time (UTC) up to three decimal places to support milliseconds. If the JSON value contains a string, the runtime will attempt to convert the string value to a DateTime using the same rules as the ToDateTime implementation that takes a String value. If the JSON value contains null, a NOT_SET DateTime is returned. Otherwise if the JSON value contains an object, an array or the value cannot be converted, error handling will be invoked. For String values, the String must be in the following format: YYYY-MM-DDThh:mm:ss.SSS[Z|(+|-)hh:mm] where YYYY = 4 digit year, MM = 2 digit month, DD = 2 digit day, hh = 2 digit hour, mm = 2 digit minute, ss = 2 digit second and SSS = 3 digit fractional seconds. When specifying fractional seconds, if you specify more than 3 digits, they are ignored. "T" is a separator indicating where the time portion starts. [Z|(+|-)hh:mm] represents the offset of the date time from Coordinated Universal Time where "Z" indicates Coordinated Universal Time (UTC) itself. If "[+|-]hh:mm" is used instead of "Z" that specifies an offset from UTC. If the date portion is omitted in the supplied String value, "1970-01-01" is used. If the date portion of the String has "YYYY-MM" but no day of month, "01" is used for the day of month. If the date portion of the String has "YYYY" but no month or day of month, "01-01" is used for month and day of month. If no time portion is supplied, "00:00:00" is used. If the time portion of the String has "hh:mm" but no seconds specified, "00" is used for the seconds. Note that a time only String value with an offset such as "13:30:07+05:00" is not allowed and will invoke flow error handling.', AR_FN_DTM_TODATETIME_JSON_EX_OUT_0: "A DateTime of January 1st, 1970 at 01:00:00 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_TODATETIME_JSON_EX_OUT_1: "A DateTime of January 1st, 1970 at 01:00:00.025 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_TODATETIME_JSON_EX_OUT_2: "A DateTime of January 10th, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_3: "A DateTime of January 10th, 2009 at 04:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_4: "A DateTime of January 1st, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_5: "A DateTime of March 20th, 2010 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_6: "A DateTime of March 1st, 2011 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_7: "A DateTime of January 1st, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_8: "A DateTime of January 1st, 2012 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_9: "A DateTime of January 1st, 1970 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_10: "A DateTime of January 1st, 1970 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_11: "A DateTime of January 1st, 1970 at 06:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_12: "A DateTime of January 1st, 1970 at 06:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_13: "A DateTime of March 20th, 2009 at 12:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_14: "A DateTime of March 1st, 2009 at 12:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_15: "A DateTime of January 1st, 2009 at 12:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_16: "A NOT_SET DateTime.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_17: "A NOT_SET DateTime.", AR_FN_DTM_TODATETIME_JSON_DTM_DSC: "Converts a JSON value to a Datetime value with default fallback in case the JSON value cannot be converted to a DateTime.", AR_FN_DTM_TODATETIME_JSON_DTM_RV: "Returns a DateTime from a supplied JSON Value.", AR_FN_DTM_TODATETIME_JSON_DTM_PRM_DSC_0: 'The JSON value to convert to a DateTime. If the JSON value contains a number, the resulting DateTime will be the value of that number of seconds to add to the DateTime January 1, 1970 at 12:00:00 AM in Coordinated Universal Time (UTC) up to three decimal places to support milliseconds. If the JSON value contains a string, the runtime will attempt to convert the string value to a DateTime using the same rules as the ToDateTime implementation that takes a String value. If the JSON value contains null, a NOT_SET DateTime is returned. Otherwise if the JSON value contains an object, an array or the value cannot be converted, the value supplied in the default parameter will be returned. For String values, the String must be in the following format: YYYY-MM-DDThh:mm:ss.SSS[Z|(+|-)hh:mm] where YYYY = 4 digit year, MM = 2 digit month, DD = 2 digit day, hh = 2 digit hour, mm = 2 digit minute, ss = 2 digit second and SSS = 3 digit fractional seconds. When specifying fractional seconds, if you specify more than 3 digits, they are ignored. "T" is a separator indicating where the time portion starts. [Z|(+|-)hh:mm] represents the offset of the date time from Coordinated Universal Time where "Z" indicates Coordinated Universal Time (UTC) itself. If "[+|-]hh:mm" is used instead of "Z" that specifies an offset from UTC. If the date portion is omitted in the supplied String value, "1970-01-01" is used. If the date portion of the String has "YYYY-MM" but no day of month, "01" is used for the day of month. If the date portion of the String has "YYYY" but no month or day of month, "01-01" is used for month and day of month. If no time portion is supplied, "00:00:00" is used. If the time portion of the String has "hh:mm" but no seconds specified, "00" is used for the seconds. Note that a time only String value with an offset such as "13:30:07+05:00" is not allowed and will return the default value supplied in the default parameter.', AR_FN_DTM_TODATETIME_JSON_DTM_PRM_DSC_1: "The default DateTime value to return instead of invoking error handling if the supplied JSON value cannot be converted to a DateTime.", AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_0: "A DateTime of January 1st, 1970 at 01:00:00.075 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_1: "A DateTime of January 10th, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_2: "A DateTime of April 20th, 2019 at 12:00:00PM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_3: "A DateTime of February 20th, 2011 at 12:00:00PM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_4: "A DateTime of March 15th, 2009 at 12:00:00PM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_5: "A NOT_SET DateTime.", AR_FN_DSC_TOTIME: "Converts a value to a Time.", AR_FN_TIME_TOTIME_STR_DSC: "Converts a String value to a Time type.", AR_FN_TIME_TOTIME_STR_RV: "Returns a Time from a supplied string.", AR_FN_TIME_TOTIME_STR_PRM_DSC_0: "The String value to convert to a Time. The String must be in the following format: hh:mm:ss.SSS where hh = 2 digit hour, mm = 2 digit minute, ss = 2 digit second and SSS = 3 digit fractional seconds. When specifying fractional seconds, if you specify more than 3 digits, they are ignored.", AR_FN_TIME_TOTIME_STR_EX_OUT_0: "A Time whose value is 02:30:15AM.", AR_FN_TIME_TOTIME_STR_EX_OUT_1: "A NOT_SET Time.", AR_FN_TIME_TOTIME_STR_EX_OUT_2: "A Time whose value is 02:30:00AM.", AR_FN_TIME_TOTIME_STR_EX_OUT_3: "A Time whose value is 02:59:00PM.", AR_FN_TIME_TOTIME_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Time.", AR_FN_TIME_TOTIME_NTS_RV: "Returns a NOT_SET Time.", AR_FN_TIME_TOTIME_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Time.", AR_FN_TIME_TOTIME_NTS_EX_OUT_0: "A NOT_SET Time.", AR_FN_TIME_TOTIME_TIME_DSC: "Returns a Time value from the supplied Time value.", AR_FN_TIME_TOTIME_TIME_RV: "Returns the supplied Time value.", AR_FN_TIME_TOTIME_TIME_PRM_DSC_0: "The Time value to return.", AR_FN_TIME_TOTIME_TIME_EX_OUT_0: "A Time whose value is 02:45:00AM.", AR_FN_TIME_TOTIME_TIME_EX_OUT_1: "A NOT_SET Time.", AR_FN_TIME_TOTIME_DTM_DSC: "Returns a Time value from the supplied DateTime value by returning the time portion of the DateTime.", AR_FN_TIME_TOTIME_DTM_RV: "Returns the time portion of supplied DateTime value as a Time value.", AR_FN_TIME_TOTIME_DTM_PRM_DSC_0: "The DateTime value from which to get the Time to return. If a NOT_SET DateTime value is supplied, this will return a NOT_SET Time.", AR_FN_TIME_TOTIME_DTM_EX_OUT_0: "A Time whose value is 03:05:00AM.", AR_FN_TIME_TOTIME_DTM_EX_OUT_1: "A NOT_SET Time.", AR_FN_DSC_TODIVISION: "Converts a value to a Division", AR_FN_DIVISION_TODIVISION_DIVISION_DSC: "Returns a Division value from the supplied Division value.", AR_FN_DIVISION_TODIVISION_DIVISION_RV: "Returns the supplied Division value.", AR_FN_DIVISION_TODIVISION_DIVISION_PRM_DSC_0: "The Division to return.", AR_FN_DIVISION_TODIVISION_DIVISION_EX_OUT_0: "A NOT_SET Division.", AR_FN_DIVISION_TODIVISION_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Division.", AR_FN_DIVISION_TODIVISION_NTS_RV: "Returns a NOT_SET Division.", AR_FN_DIVISION_TODIVISION_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Division.", AR_FN_DIVISION_TODIVISION_NTS_EX_OUT_0: "A NOT_SET Division", AR_FN_DSC_TODURATION: "Converts a value to a Duration.", AR_FN_DUR_TODURATION_STR_DSC: "Converts a String value to a Duration.", AR_FN_DUR_TODURATION_STR_RV: "Returns a Duration value created from the supplied String.", AR_FN_DUR_TODURATION_STR_PRM_DSC_0: 'An XSD duration string in the following format (-)PnDTnHnMnS where P indicates the period, nD the number of days, T indicates the start of the time section, nH the number of hours, nM the number of minutes and nS the number of seconds. Numeric components in the string like "nD" that represent the number of days are optional if the value of n is 0. If all numeric components are 0 indicating a 0 second duration, you will still need to pass in 0S which would look like "PT0S". Note: nS may include fractional seconds up to milliseconds. Any value past milliseconds will be truncated and not returned in the resulting Duration.', AR_FN_DUR_TODURATION_STR_EX_OUT_0: "A 0 second Duration.", AR_FN_DUR_TODURATION_STR_EX_OUT_1: "A Duration of 1 day and 3 hours.", AR_FN_DUR_TODURATION_STR_EX_OUT_2: "A negative Duration of 1 day and 3 hours.", AR_FN_DUR_TODURATION_STR_EX_OUT_3: "A Duration of 1 hour, 15 minutes and 30.250 seconds.", AR_FN_DUR_TODURATION_STR_EX_OUT_4: "A Duration of 1 hour, 15 minutes and 30.250 seconds.", AR_FN_DUR_TODURATION_STR_EX_OUT_5: "A NOT_SET Duration.", AR_FN_DUR_TODURATION_LNG_DSC: "Converts an Integer value to a Duration.", AR_FN_DUR_TODURATION_LNG_RV: "Returns a Duration created from the supplied Integer value.", AR_FN_DUR_TODURATION_LNG_PRM_DSC_0: "An Integer that represents the number of milliseconds to wait.", AR_FN_DUR_TODURATION_LNG_EX_OUT_0: "A Duration of 1 hour.", AR_FN_DUR_TODURATION_LNG_EX_OUT_1: "A Duration of 1 day.", AR_FN_DUR_TODURATION_LNG_EX_OUT_2: "A NOT_SET Duration.", AR_FN_DUR_TODURATION_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Duration.", AR_FN_DUR_TODURATION_NTS_RV: "Returns a NOT_SET Duration.", AR_FN_DUR_TODURATION_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Duration.", AR_FN_DUR_TODURATION_NTS_EX_OUT_0: "A NOT_SET Duration.", AR_FN_DUR_TODURATION_DUR_DSC: "Returns a Duration from the supplied Duration value.", AR_FN_DUR_TODURATION_DUR_RV: "Returns the supplied Duration value.", AR_FN_DUR_TODURATION_DUR_PRM_DSC_0: "The Duration to return.", AR_FN_DUR_TODURATION_DUR_EX_OUT_0: "A Duration of 1 hour.", AR_FN_DSC_TOTIMESLOT: "Converts a value to a Timeslot.", AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_DSC: "Returns a Timeslot from the supplied Timeslot value.", AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_RV: "Returns the supplied Timeslot value.", AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_PRM_DSC_0: "The Timeslot to return.", AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_EX_OUT_0: "A NOT_SET Timeslot.", AR_FN_TIMESLOT_TOTIMESLOT_STR_DSC: "Converts a String value to a Timeslot.", AR_FN_TIMESLOT_TOTIMESLOT_STR_RV: "Returns a Timeslot value created from the supplied String value.", AR_FN_TIMESLOT_TOTIMESLOT_STR_PRM_DSC_0: 'The String value to convert to a Timeslot. The format should be "[dateTime]|[duration]" where dateTime is a string that is compatible with the ToDateTime implementation that takes a String value, and duration is an XSD duration.', AR_FN_TIMESLOT_TOTIMESLOT_STR_EX_OUT_0: "A Timeslot with the specified DateTime and Duration of 1 hour", AR_FN_TIMESLOT_TOTIMESLOT_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Timeslot.", AR_FN_TIMESLOT_TOTIMESLOT_NTS_RV: "Returns a NOT_SET Timeslot.", AR_FN_TIMESLOT_TOTIMESLOT_NTS_PRM_DSC_0: "The NOT_SET value to convert to a Timeslot.", AR_FN_TIMESLOT_TOTIMESLOT_NTS_EX_OUT_0: "A NOT_SET Timeslot.", AR_FN_DSC_TOGRAMMAR: "Converts a value to a Grammar.", AR_FN_GRAMMAR_TOGRAMMAR_STR_DSC: "Converts a String value to a Grammar by the grammar name. The grammar has to be defined for the organization for the conversion to work. This lookup is case insensitive.", AR_FN_GRAMMAR_TOGRAMMAR_STR_RV: "Returns a Grammar from the String supplied in grammarName. If the String in grammarName is NOT_SET, a NOT_SET Grammar is returned.", AR_FN_GRAMMAR_TOGRAMMAR_STR_PRM_DSC_0: "The grammar name string to convert to a Grammar.", AR_FN_GRAMMAR_TOGRAMMAR_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Grammar.", AR_FN_GRAMMAR_TOGRAMMAR_NTS_RV: "Returns a NOT_SET Grammar.", AR_FN_GRAMMAR_TOGRAMMAR_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Grammar.", AR_FN_GRAMMAR_TOGRAMMAR_NTS_EX_OUT_0: "A NOT_SET Grammar.", AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_DSC: "Returns a Grammar from the supplied Grammar value.", AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_RV: "Returns the supplied Grammar value.", AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_PRM_DSC_0: "The Grammar to return.", AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_EX_OUT_0: "A NOT_SET Grammar.", AR_FN_DSC_TOIMAGE: "Converts a value to an Image.", AR_FN_IMAGE_TOIMAGE_IMAGE_DSC: "Returns an Image from the supplied Image value.", AR_FN_IMAGE_TOIMAGE_IMAGE_RV: "Returns the supplied Image value.", AR_FN_IMAGE_TOIMAGE_IMAGE_PRM_DSC_0: "The Image to return.", AR_FN_IMAGE_TOIMAGE_IMAGE_EX_OUT_0: "A NOT_SET Image.", AR_FN_IMAGE_TOIMAGE_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Image.", AR_FN_IMAGE_TOIMAGE_NTS_RV: "Returns a NOT_SET Image.", AR_FN_IMAGE_TOIMAGE_NTS_PRM_DSC_0: "The NOT_SET value to convert to an Image.", AR_FN_IMAGE_TOIMAGE_NTS_EX_OUT_0: "A NOT_SET Image.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_DSC: "Returns an Image from the supplied Response Asset value.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_RV: "Returns the Image value for the supplied Response Asset value if it can be converted, otherwise a NOT_SET Image.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_PRM_DSC_0: "The Response Asset to convert to an Image.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_EX_OUT_0: "An Image value.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_DSC: "Converts a Response Asset value to an Image value with default fallback in case the Response Asset value cannot be converted to an Image.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_RV: "Returns the Image value for the supplied Response Asset value if it can be converted. If the Response Asset value is NOT_SET, a NOT_SET Image is returned instead of the default value. Otherwise the supplied default Image value is returned.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_PRM_DSC_0: "The Response Asset to convert to an Image.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_PRM_DSC_1: "The default Image value to return instead of invoking error handling if the supplied Response Asset cannot be converted to an Image.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_EX_OUT_0: "An Image value.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_EX_OUT_1: "A NOT_SET Image value.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_EX_OUT_2: "The default Image value.", AR_FN_DSC_TOIMAGECOLLECTION: "Converts a collection to an Image Collection.", AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_DSC: "This converts a Response Asset collection to an Image collection by converting each item in the Response Asset collection to an Image item.", AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_RV: "The returned Image collection will have the same number of items as the supplied Response Asset Collection. Response Asset items that cannot be converted to an Image value will be NOT_SET in the returned collection.", AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0: "The Response Asset collection to convert to an Image collection.", AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_EX_OUT_0: "An Image collection with two items.", AR_FN_DSC_TORESPONSEASSET: "Converts a value to a Response Asset.", AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_DSC: "Returns a Response Asset. from the supplied Response Asset value.", AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_RV: "Returns the supplied Response Asset value.", AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_PRM_DSC_0: "The Response Asset to return.", AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_EX_OUT_0: "A NOT_SET Response Asset.", AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Response Asset.", AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_RV: "Returns a NOT_SET Response Asset.", AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_PRM_DSC_0: "The NOT_SET value to convert to a Response Asset.", AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_EX_OUT_0: "A NOT_SET Response Asset.", AR_FN_DSC_TOSKILL: "Converts a value to a Skill.", AR_FN_SKL_TOSKILL_STR_DSC: "Converts a String value to a Skill. The skill has to be defined for the organization for the conversion to work. This lookup is case insensitive.", AR_FN_SKL_TOSKILL_STR_RV: "Returns a Skill from the String supplied in skillName. If the String in valueToConvert is NOT_SET, a NOT_SET Skill is returned.", AR_FN_SKL_TOSKILL_STR_PRM_DSC_0: "A String that contains the name of the skill to convert to a Skill.", AR_FN_SKL_TOSKILL_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Skill.", AR_FN_SKL_TOSKILL_NTS_RV: "Returns a NOT_SET Skill.", AR_FN_SKL_TOSKILL_NTS_PRM_DSC_0: "The NOT_SET value to convert to a Skill.", AR_FN_SKL_TOSKILL_NTS_EX_OUT_0: "A NOT_SET Skill.", AR_FN_SKL_TOSKILL_SKL_DSC: "Returns a Skill from the supplied Skill value.", AR_FN_SKL_TOSKILL_SKL_RV: "Returns the supplied Skill value.", AR_FN_SKL_TOSKILL_SKL_PRM_DSC_0: "The Skill to return.", AR_FN_SKL_TOSKILL_SKL_EX_OUT_0: "A NOT_SET Skill.", AR_FN_DSC_TOUSERQUEUE: "Converts a value to a User.", AR_FN_USR_TOUSER_STR_DSC: "Converts a String value to a User by the user name. The user has to be defined for the organization for the conversion to work. This lookup is case insensitive.", AR_FN_USR_TOUSER_STR_RV: "Returns a User from the String supplied in userName. If the String in userName is NOT_SET, a NOT_SET User is returned.", AR_FN_USR_TOUSER_STR_PRM_DSC_0: "The user name string to convert to a User.", AR_FN_USR_TOUSER_NTS_DSC: "Converts a NOT_SET value to a NOT_SET User.", AR_FN_USR_TOUSER_NTS_RV: "Returns a NOT_SET User.", AR_FN_USR_TOUSER_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET User.", AR_FN_USR_TOUSER_NTS_EX_OUT_0: "A NOT_SET User.", AR_FN_USR_TOUSER_USR_DSC: "Returns a User from the supplied User value.", AR_FN_USR_TOUSER_USR_RV: "Returns the supplied User value.", AR_FN_USR_TOUSER_USR_PRM_DSC_0: "The User to return.", AR_FN_USR_TOUSER_USR_EX_OUT_0: "A NOT_SET User.", AR_FN_DSC_TOLANGUAGESKILL: "Converts a value to a Language Skill.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_STR_DSC: "Converts a String value to a Language Skill by the language tag name. The language tag name needs to be the name of a language tag in the organization for the conversion to work. This lookup is case insensitive.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_STR_RV: "Returns a Language Skill from the String supplied in languageTag. If the String in languageTag is NOT_SET, a NOT_SET Language Skill is returned.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_STR_PRM_DSC_0: "The rated language tag name string to convert to a Language Skill.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_RV: "Returns a NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET LanguageSkill.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_EX_OUT_0: "A NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_DSC: "Returns a Language Skill from the supplied Language Skill value.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_RV: "Returns the supplied Language Skill value.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_PRM_DSC_0: "The Language Skill to return.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_EX_OUT_0: "A NOT_SET Language Skill", AR_FN_DSC_TOQUEUE: "Converts a value to a Queue", AR_FN_QUEUE_TOQUEUE_STR_DSC: "Converts a String value to a Queue.", AR_FN_QUEUE_TOQUEUE_STR_RV: "Returns a Queue from the String supplied in valueToConvert", AR_FN_QUEUE_TOQUEUE_STR_PRM_DSC_0: "The string to convert to a Queue. This string needs to match the name of a queue.", AR_FN_QUEUE_TOQUEUE_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Queue.", AR_FN_QUEUE_TOQUEUE_NTS_RV: "Returns a NOT_SET Queue.", AR_FN_QUEUE_TOQUEUE_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Queue.", AR_FN_QUEUE_TOQUEUE_NTS_EX_OUT_0: "A NOT_SET Queue", AR_FN_QUEUE_TOQUEUE_QUEUE_DSC: "Returns a Queue from the supplied Queue value.", AR_FN_QUEUE_TOQUEUE_QUEUE_RV: "Returns the supplied Queue value.", AR_FN_QUEUE_TOQUEUE_QUEUE_PRM_DSC_0: "The Queue to return.", AR_FN_QUEUE_TOQUEUE_QUEUE_EX_OUT_0: "A NOT_SET Queue.", AR_FN_DSC_TOEMERGENCYGROUP: "Converts a value to an Emergency Group", AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Emergency Group.", AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_RV: "Returns a NOT_SET Emergency Group.", AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Emergency Group.", AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_EX_OUT_0: "A NOT_SET Emergency Group.", AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_DSC: "Returns an Emergency Group from the supplied Emergency Group value.", AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_RV: "Returns the supplied Emergency Group value.", AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_PRM_DSC_0: "The Emergency Group to return.", AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_EX_OUT_0: "A NOT_SET Emergency Group.", AR_FN_DSC_TOFILE: "Converts a value to a File.", AR_FN_FILE_TOFILE_FILE_DSC: "Returns a File from the supplied File value.", AR_FN_FILE_TOFILE_FILE_RV: "Returns the supplied File value.", AR_FN_FILE_TOFILE_FILE_PRM_DSC_0: "The File to return.", AR_FN_FILE_TOFILE_FILE_EX_OUT_0: "A NOT_SET File.", AR_FN_FILE_TOFILE_NTS_DSC: "Converts a NOT_SET value to a NOT_SET File.", AR_FN_FILE_TOFILE_NTS_RV: "Returns a NOT_SET File.", AR_FN_FILE_TOFILE_NTS_PRM_DSC_0: "The NOT_SET value to convert to a File.", AR_FN_FILE_TOFILE_NTS_EX_OUT_0: "A NOT_SET File.", AR_FN_FILE_TOFILE_RESPONSEASSET_DSC: "Returns a File from the supplied Response Asset value.", AR_FN_FILE_TOFILE_RESPONSEASSET_RV: "Returns the File value for the supplied Response Asset value if it can be converted, otherwise a NOT_SET File.", AR_FN_FILE_TOFILE_RESPONSEASSET_PRM_DSC_0: "The Response Asset to convert to a File.", AR_FN_FILE_TOFILE_RESPONSEASSET_EX_OUT_0: "A File value.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_DSC: "Converts a Response Asset value to a File value with default fallback in case the Response Asset value cannot be converted to a File.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_RV: "Returns the File value for the supplied Response Asset value if it can be converted. If the Response Asset value is NOT_SET, a NOT_SET File is returned instead of the default value. Otherwise the supplied default File value is returned.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_PRM_DSC_0: "The Response Asset to convert to a File.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_PRM_DSC_1: "The default File value to return instead of invoking error handling if the supplied Response Asset cannot be converted to a File.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_EX_OUT_0: "A File value.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_EX_OUT_1: "A NOT_SET File value.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_EX_OUT_2: "The default File value.", AR_FN_DSC_TOFILECOLLECTION: "Converts a collection to a File Collection.", AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_DSC: "This converts a Response Asset collection to a File collection by converting each item in the Response Asset collection to a File item.", AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_RV: "The returned File collection will have the same number of items as the supplied Response Asset Collection. Response Asset items that cannot be converted to a File value will be NOT_SET in the returned collection.", AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0: "The Response Asset collection to convert to a File collection.", AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_EX_OUT_0: "A File collection with two items.", AR_FN_DSC_TOGROUP: "Converts a value to a Group", AR_FN_GRP_TOGROUP_STR_DSC: "Converts a String value to a Group.", AR_FN_GRP_TOGROUP_STR_RV: "Returns a Group from the String supplied in valueToConvert", AR_FN_GRP_TOGROUP_STR_PRM_DSC_0: "The string to convert to a Group. This string needs to match the name of a group.", AR_FN_GRP_TOGROUP_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Group.", AR_FN_GRP_TOGROUP_NTS_RV: "Returns a NOT_SET Group.", AR_FN_GRP_TOGROUP_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Group.", AR_FN_GRP_TOGROUP_NTS_EX_OUT_0: "A NOT_SET Group", AR_FN_GRP_TOGROUP_GRP_DSC: "Returns a Group from the supplied Group value.", AR_FN_GRP_TOGROUP_GRP_RV: "Returns the supplied Group value.", AR_FN_GRP_TOGROUP_GRP_PRM_DSC_0: "The Group to return.", AR_FN_GRP_TOGROUP_GRP_EX_OUT_0: "A NOT_SET Group.", AR_FN_DSC_TOKNOWLEDGEBASEDOCUMENT: "Converts a value to a knowledge base document.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_DSC: "Returns a knowledge base document from the supplied knowledge base document value.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_RV: "Returns the supplied knowledge base document value.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_PRM_DSC_0: "The knowledge base document to return.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_EX_OUT_0: "A NOT_SET KnowledgeBaseDocument.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_DSC: "Converts a NOT_SET value to a NOT_SET KnowledgeBaseDocument.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_RV: "Returns a NOT_SET KnowledgeBaseDocument.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_PRM_DSC_0: "The NOT_SET value to convert to a knowledge base document.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_EX_OUT_0: "A NOT_SET knowledge base document.", AR_FN_DSC_TOVIDEO: "Converts a value to a video.", AR_FN_VIDEO_TOVIDEO_VIDEO_DSC: "Returns a video from the supplied Video value.", AR_FN_VIDEO_TOVIDEO_VIDEO_RV: "Returns the supplied Video value.", AR_FN_VIDEO_TOVIDEO_VIDEO_PRM_DSC_0: "The Video to return.", AR_FN_VIDEO_TOVIDEO_VIDEO_EX_OUT_0: "A NOT_SET Video.", AR_FN_VIDEO_TOVIDEO_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Video.", AR_FN_VIDEO_TOVIDEO_NTS_RV: "Returns a NOT_SET Video.", AR_FN_VIDEO_TOVIDEO_NTS_PRM_DSC_0: "The NOT_SET value to convert to a Video.", AR_FN_VIDEO_TOVIDEO_NTS_EX_OUT_0: "A NOT_SET Video.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_DSC: "Returns a Video from the supplied Response Asset value.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_RV: "Returns the Video value for the supplied Response Asset value if it can be converted.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_PRM_DSC_0: "The Response Asset to convert to a Video.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_EX_OUT_0: "A Video value.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_DSC: "Converts a Response Asset value to a Video value with default fallback in case the Response Asset value cannot be converted to a Video.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_RV: "Returns the Video value for the supplied Response Asset value if it can be converted. If the Response Asset value is NOT_SET, a NOT_SET Video is returned instead of the default value. Otherwise the supplied default Video value is returned.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_PRM_DSC_0: "The Response Asset to convert to a Video.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_PRM_DSC_1: "The default Video value to return instead of invoking error handling if the supplied Response Asset cannot be converted to a Video.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_EX_OUT_0: "A Video value.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_EX_OUT_1: "A NOT_SET Video value.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_EX_OUT_2: "The default Video value.", AR_FN_DSC_TOVIDEOCOLLECTION: "Converts a collection to a Video Collection.", AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_DSC: "This converts a Response Asset collection to a Video collection by converting each item in the Response Asset collection to a Video item.", AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_RV: "The returned Video collection will have the same number of items as the supplied Response Asset Collection. Response Asset items that cannot be converted to a Video value will be NOT_SET in the returned collection.", AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0: "The Response Asset collection to convert to a Video collection.", AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_EX_OUT_0: "A Video collection with two items.", AR_FN_DSC_TOPHONENUMBER: "Converts a value to a PhoneNumber", AR_FN_PHNBR_TOPHONENUMBER_STR_DSC: "Converts a String value to a PhoneNumber.", AR_FN_PHNBR_TOPHONENUMBER_STR_RV: "Returns a PhoneNumber from the String supplied in valueToConvert", AR_FN_PHNBR_TOPHONENUMBER_STR_PRM_DSC_0: "The string to convert to a PhoneNumber.", AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_0: "A PhoneNumber created from the Call.Ani variable.", AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_1: 'A PhoneNumber with the "tel" scheme, a subscriber number of 3178723000, and E.164 phone number of +13178723000.', AR_FN_PHNBR_TOPHONENUMBER_STR_EX_IN_2: 'ToPhoneNumber("sip:john.doe@example.com")', AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_2: 'A PhoneNumber with a "sip" scheme and SIP URI of sip:john.doe@example.com.', AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_3: "A NOT_SET PhoneNumber.", AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_4: 'A PhoneNumber with the "tel" scheme, a subscriber number of 3178723000, and E.164 phone number of +13178723000.', AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_5: 'A PhoneNumber with the "tel" scheme, a subscriber number of 3178723000, and no E.164 phone number.', AR_FN_PHNBR_TOPHONENUMBER_STR_EX_IN_6: 'ToPhoneNumber("sips:john.doe@example.com")', AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_6: 'A PhoneNumber with a "sip" scheme and SIP URI of sips:john.doe@example.com.', AR_FN_PHNBR_TOPHONENUMBER_NTS_DSC: "Converts a NOT_SET value to a NOT_SET PhoneNumber.", AR_FN_PHNBR_TOPHONENUMBER_NTS_RV: "Returns a NOT_SET PhoneNumber.", AR_FN_PHNBR_TOPHONENUMBER_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET PhoneNumber.", AR_FN_PHNBR_TOPHONENUMBER_NTS_EX_OUT_0: "A NOT_SET PhoneNumber", AR_FN_PHNBR_TOPHONENUMBER_PHNBR_DSC: "Returns a PhoneNumber from the supplied PhoneNumber value.", AR_FN_PHNBR_TOPHONENUMBER_PHNBR_RV: "Returns the supplied PhoneNumber value.", AR_FN_PHNBR_TOPHONENUMBER_PHNBR_PRM_DSC_0: "The PhoneNumber to return.", AR_FN_PHNBR_TOPHONENUMBER_PHNBR_EX_OUT_0: "A NOT_SET PhoneNumber.", AR_FN_DSC_TOPROMPT: "Converts a value to a Prompt", AR_FN_PROMPT_TOPROMPT_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Prompt.", AR_FN_PROMPT_TOPROMPT_NTS_RV: "Returns a NOT_SET Prompt.", AR_FN_PROMPT_TOPROMPT_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Prompt.", AR_FN_PROMPT_TOPROMPT_NTS_EX_OUT_0: "A NOT_SET Prompt", AR_FN_PROMPT_TOPROMPT_PROMPT_DSC: "Returns a Prompt from the supplied Prompt value.", AR_FN_PROMPT_TOPROMPT_PROMPT_RV: "Returns the supplied Prompt value.", AR_FN_PROMPT_TOPROMPT_PROMPT_PRM_DSC_0: "The Prompt to return.", AR_FN_PROMPT_TOPROMPT_PROMPT_EX_OUT_0: "A NOT_SET Prompt.", AR_FN_DSC_TOSCHEDULE: "Converts a value to a Schedule", AR_FN_SCHED_TOSCHEDULE_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Schedule.", AR_FN_SCHED_TOSCHEDULE_NTS_RV: "Returns a NOT_SET Schedule.", AR_FN_SCHED_TOSCHEDULE_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Schedule.", AR_FN_SCHED_TOSCHEDULE_NTS_EX_OUT_0: "A NOT_SET Schedule.", AR_FN_SCHED_TOSCHEDULE_SCHED_DSC: "Returns a Schedule from the supplied Schedule value.", AR_FN_SCHED_TOSCHEDULE_SCHED_RV: "Returns the supplied Schedule value.", AR_FN_SCHED_TOSCHEDULE_SCHED_PRM_DSC_0: "The Schedule to return.", AR_FN_SCHED_TOSCHEDULE_SCHED_EX_OUT_0: "A NOT_SET Schedule.", AR_FN_DSC_TOSCHEDULEGROUP: "Converts a value to a Schedule Group", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Schedule Group.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_RV: "Returns a NOT_SET Schedule Group.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Schedule Group.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_EX_OUT_0: "A NOT_SET Schedule Group.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_DSC: "Returns a Schedule Group from the supplied Schedule Group value.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_RV: "Returns the supplied Schedule Group value.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_PRM_DSC_0: "The Schedule Group to return.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_EX_OUT_0: "A NOT_SET Schedule Group.", AR_FN_DSC_TOUTILIZATIONLABEL: "Converts a value to a Utilization Label", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Utilization Label.", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_RV: "Returns a NOT_SET Utilization Label.", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Utilization Label.", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_EX_OUT_0: "A NOT_SET Utilization Label", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_DSC: "Returns a Utilization Label from the supplied Utilization Label value.", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_RV: "Returns the supplied Utilization Label value.", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_PRM_DSC_0: "The Utilization Label to return.", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_EX_OUT_0: "A NOT_SET Utilization Label.", AR_FN_DSC_TOWORKTYPESTATUS: "Converts a value to a Worktype Status", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_DSC: "Returns a Worktype Status value from the supplied Worktype Status value.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_RV: "Returns the supplied Worktype Status value.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_PRM_DSC_0: "The Worktype Status to return.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_EX_OUT_0: "A NOT_SET Worktype Status.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Worktype Status.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_RV: "Returns a NOT_SET Worktype Status.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Worktype Status.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_EX_OUT_0: "A NOT_SET Worktype Status", AR_FN_DSC_TOWRAPUPCODE: "Converts a value to a Wrapup Code", AR_FN_WRC_TOWRAPUPCODE_STR_DSC: "Converts a String value to a Wrapup Code.", AR_FN_WRC_TOWRAPUPCODE_STR_RV: "Returns a Wrapup Code from the String supplied in valueToConvert", AR_FN_WRC_TOWRAPUPCODE_STR_PRM_DSC_0: "The String to convert to a Wrapup Code. This string needs to match the name of a wrapup code.", AR_FN_WRC_TOWRAPUPCODE_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Wrapup Code.", AR_FN_WRC_TOWRAPUPCODE_NTS_RV: "Returns a NOT_SET Wrapup Code.", AR_FN_WRC_TOWRAPUPCODE_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Wrapup Code.", AR_FN_WRC_TOWRAPUPCODE_NTS_EX_OUT_0: "A NOT_SET Wrapup Code", AR_FN_WRC_TOWRAPUPCODE_WRC_DSC: "Returns a Wrapup Code from the supplied Wrapup Code value.", AR_FN_WRC_TOWRAPUPCODE_WRC_RV: "Returns the supplied Wrapup Code value.", AR_FN_WRC_TOWRAPUPCODE_WRC_PRM_DSC_0: "The Wrapup Code to return.", AR_FN_WRC_TOWRAPUPCODE_WRC_EX_OUT_0: "A NOT_SET Wrapup Code.", AR_FN_DSC_ISNOTSETOREMPTY: "Determines whether a value is NOT_SET or empty.", AR_FN_BLN_ISNOTSETOREMPTY_ANY_DSC: "Checks if a value is NOT_SET.", AR_FN_BLN_ISNOTSETOREMPTY_ANY_RV: "Returns true if the value passed in is NOT_SET.", AR_FN_BLN_ISNOTSETOREMPTY_ANY_PRM_DSC_0: "The value to test to see if it is set or not.", AR_FN_BLN_ISNOTSETOREMPTY_AUDIO_DSC: "Determines whether or not the supplied Audio value is NOT_SET or 0 milliseconds of blank audio.", AR_FN_BLN_ISNOTSETOREMPTY_AUDIO_RV: "Returns a Boolean true if the Audio value passed in is NOT_SET.", AR_FN_BLN_ISNOTSETOREMPTY_AUDIO_PRM_DSC_0: "The Audio value to test to see if it is set or not.", AR_FN_BLN_ISNOTSETOREMPTY_ANY_COLL_DSC: "Determines whether or not a collection is empty (i.e. has no elements in it).", AR_FN_BLN_ISNOTSETOREMPTY_ANY_COLL_RV: "Returns true if the Boolean collection is empty.", AR_FN_BLN_ISNOTSETOREMPTY_ANY_COLL_PRM_DSC_0: "The collection to check.", AR_FN_BLN_ISNOTSETOREMPTY_NTS_DSC: "Returns true since the value pass in is NOT_SET.", AR_FN_BLN_ISNOTSETOREMPTY_NTS_RV: "Returns a true since the value passed in is NOT_SET.", AR_FN_BLN_ISNOTSETOREMPTY_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_DSC_MAKEAGENTSCOREPAIR: "Returns a new instance of an AgentScorePair value initialized with the specified values.", AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_DSC: "Creates a new AgentScorePair value initialized to the specified input values.", AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_RV: "Returns the new AgentScorePair value.", AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_PRM_DSC_0: "The value to assign to the AgentScorePair agent property.", AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_PRM_DSC_1: "The value to assign to the AgentScorePair score property.", AR_FN_DSC_MAKECARD: "Returns a new instance of a Card value initialized with the specified values.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_DSC: "Creates a new Card value initialized to the specified input values.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_RV: "Returns the new Card value.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_0: "The title for the card.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_1: "The description for the card.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_2: "The button choices to use for the card.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_3: "The Image to use for the card.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_EX_OUT_0: "A Card that lets someone select a pizza size of small, medium or large.", AR_FN_DSC_MAKECAROUSEL: "Returns a new instance of a Carousel value initialized with the specified values.", AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_DSC: "Creates a new Carousel value for the supplied cards.", AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_RV: "Returns the new Carousel value.", AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_PRM_DSC_0: "The cards to use for the carousel.", AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_EX_OUT_0: "A Carousel with three cards to let a participant pick a class they want to attend to learn about cards, carousels and quick replies in Architect.", AR_FN_DSC_MAKECHOICE: "Returns a new instance of a Choice initialized with the specified values that can be used in a Chooser. There are helper functions that can be used to create choices as well such as MakeUrlChoice, MakePostbackChoice and MakePostbackChoice.", AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_DSC: "Creates a new Choice that can be used in a Chooser from the supplied values.", AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_RV: "Returns the new Choice value.", AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_PRM_DSC_0: 'The choice type. "url" indicates this choice represents a URL. "postback" indicates this choice supplies a value that is returned to the flow.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_PRM_DSC_1: 'The choice value. If the type parameter is "url", this should be the url link to use such as "https://www.genesys.com". If the type parameter is "postback", the postback value can be a custom value or if used in an action like Ask for Slot where the participant is choosing a value from a slot type then the value should match a value in that list or dynamic list slot type.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_PRM_DSC_2: 'The choice label. If the type parameter is "url", this should be the url link label to use such as "Genesys". If the type parameter is "postback" this label is only used if the postback choice is not associated with a value from a list or dynamic list slot type.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_EX_OUT_0: 'A Choice of type "url", value of "https://www.genesys.com" and label of "Genesys".', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_EX_OUT_1: 'A Choice of type "postback", value of "support" and label of "Help and Support".', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_DSC: "Creates a new Choice that can be used in a Chooser from the supplied values.", AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_RV: "Returns the new Choice value.", AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_0: 'The choice type. "url" indicates this choice represents a URL. "postback" indicates this choice supplies a value that is returned to the flow.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_1: 'The choice value. If the type parameter is "url", this should be the url link to use such as "https://www.genesys.com". If the type parameter is "postback", the postback value can be a custom value or if used in an action like Ask for Slot where the participant is choosing a value from a slot type then the value should match a value in that list or dynamic list slot type.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_2: 'The choice label. If the type parameter is "url", this should be the url link label to use such as "Genesys". If the type parameter is "postback" this label is only used if the postback choice is not associated with a value from a list or dynamic list slot type.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_3: 'The choice command. If the command value is "skip" the Skip Response is enabled.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_EX_OUT_0: 'A Choice of type "url", value of "https://www.genesys.com", label of "Genesys" and command of "skip".', AR_FN_DSC_MAKEPOSTBACKCHOICE: "Returns a new instance of a postback Choice value that can be used in a Chooser.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_DSC: 'Creates a new custom Choice with the supplied value that can be used in a Chooser. The returned Choice will have a type of "postback".', AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_RV: "Returns the new Choice value.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_PRM_DSC_0: "The value to return to the flow at runtime.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_EX_OUT_0: 'A choice with type "postback" and value of "support".', AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_DSC: 'Creates a new custom Choice with the supplied value and label that can be used in a Chooser. The returned Choice will have a type of "postback".', AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_RV: "Returns the new Choice value.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_PRM_DSC_0: "The value to return to the flow at runtime.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_PRM_DSC_1: "The label to display for the choice.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_EX_OUT_0: 'A choice with type "postback", value of "support" and label of "Help and Support".', AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_DSC: 'Creates a new custom Choice with the supplied value, label and command that can be used in a Chooser. The returned Choice will have a type of "postback".', AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_RV: "Returns the new Choice value.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_PRM_DSC_0: "The value to return to the flow at runtime.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_PRM_DSC_1: "The label to display for the choice.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_PRM_DSC_2: "The command value for the choice.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_EX_OUT_0: 'A choice with value of "support", label of "Help and Support" and command of "skip".', AR_FN_DSC_MAKEURLCHOICE: "Returns a new instance of a Choice that represents a URL that can be used in a Chooser.", AR_FN_CHOICE_MAKEURLCHOICE_STR_DSC: "A helper function that creates a new Choice for a given URL that can be used in a Chooser. Remember that URL choices cannot be used in quick replies.", AR_FN_CHOICE_MAKEURLCHOICE_STR_RV: "Returns the new URL Choice value.", AR_FN_CHOICE_MAKEURLCHOICE_STR_PRM_DSC_0: 'The URL for this choice such as "https://www.genesys.com".', AR_FN_CHOICE_MAKEURLCHOICE_STR_EX_OUT_0: 'A Choice with type "url" and value of "https://www.genesys.com".', AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_DSC: "A helper function that creates a new Choice for a given URL and link label text that can be used in a Chooser. Remember that URL choices cannot be used in quick replies.", AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_RV: "Returns the new URL Choice value.", AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_PRM_DSC_0: 'The URL for this choice such as "https://www.genesys.com".', AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_PRM_DSC_1: "The link label to display for the URL. If the value is NOT_SET, the url value will be used as the link label.", AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_EX_OUT_0: 'A Choice with type "url", value of "https://www.genesys.com" and label of "Genesys".', AR_FN_DSC_MAKECHOOSER: "Returns a new instance of a Chooser value initialized with the specified values.", AR_FN_CHOOSER_MAKECHOOSER_CARD_DSC: "Creates a new Chooser value configured as a carousel one card in it where that card is the supplied Card value.", AR_FN_CHOOSER_MAKECHOOSER_CARD_RV: "Returns the new Chooser value.", AR_FN_CHOOSER_MAKECHOOSER_CARD_PRM_DSC_0: "A Card value that defines the card to use when presenting choices to a participant.", AR_FN_CHOOSER_MAKECHOOSER_CARD_EX_OUT_0: 'A Chooser with type "card" and card property set to a Card that lets a participant select a shirt color of red, green or blue.', AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_DSC: "Creates a new Chooser value for the supplied Carousel.", AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_RV: "Returns the new Chooser value.", AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_PRM_DSC_0: "A Carousel value that defines the card to use when presenting choices to a participant.", AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_EX_OUT_0: 'A Chooser with type "carousel" and carousel property set to a Carousel with three cards to let a participant pick a class they want to attend to learn about cards, carousels and quick replies in Architect.', AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_DSC: "Creates a new Chooser value for the supplied Quick Replies.", AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_RV: "Returns the new Chooser value.", AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_PRM_DSC_0: "A Quick Replies value that defines the buttons to use when presenting choices to a participant.", AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_EX_OUT_0: 'A Chooser with type "quickReplies" and quickReplies property set to a Quick Replies value that contains two custom choices of red or blue.', AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_EX_OUT_1: 'A Chooser with type "quickReplies" and quickReplies property set to a Quick Replies value that contains two custom choices of red or blue and quick reply summary "Thanks for your selection".', AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_DSC: "Creates a new Chooser value for the supplied TimePicker.", AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_RV: "Returns the new Chooser value.", AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_PRM_DSC_0: "A TimePicker value to present to a participant.", AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_EX_OUT_0: 'A Chooser with type "timePicker" and timePicker property with a title.', AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_DSC: "Creates a new Chooser value for the supplied ListPicker.", AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_RV: "Returns the new Chooser value.", AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_PRM_DSC_0: "A ListPicker value to present to a participant.", AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_EX_OUT_0: 'A Chooser with type "listPicker" and listPicker value.', AR_FN_DSC_MAKECURRENCY: "Returns a new instance of a Currency value initialized with the specified values.", AR_FN_CUR_MAKECURRENCY_DEC_STR_DSC: "Creates a new instance of Currency value initialized to the specified settings.", AR_FN_CUR_MAKECURRENCY_DEC_STR_RV: "Returns a new instance of Currency value initialized to the specified settings.", AR_FN_CUR_MAKECURRENCY_DEC_STR_PRM_DSC_0: "The monetary amount.", AR_FN_CUR_MAKECURRENCY_DEC_STR_PRM_DSC_1: "The ISO 4217 currency code.", AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_0: 'A Currency value with an amount of 10.50 and code of "USD".', AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_1: 'A Currency value with an amount of 5.00 and code of "EUR".', AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_2: 'A Currency value with a NOT_SET amount and code of "USD"', AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_3: "A Currency value with an amount of 100.00 and NOT_SET code.", AR_FN_CUR_MAKECURRENCY_LNG_STR_DSC: "Creates a new instance of Currency value initialized to the specified settings.", AR_FN_CUR_MAKECURRENCY_LNG_STR_RV: "Returns a new instance of Currency value initialized to the specified settings.", AR_FN_CUR_MAKECURRENCY_LNG_STR_PRM_DSC_0: "The monetary amount.", AR_FN_CUR_MAKECURRENCY_LNG_STR_PRM_DSC_1: "The ISO 4217 currency code.", AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_0: 'A Currency value with an amount of 10.50 and code of "USD".', AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_1: 'A Currency value with an amount of 5.00 and code of "EUR".', AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_2: 'A Currency value with a NOT_SET amount and code of "USD"', AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_3: "A Currency value with an amount of 100.00 and NOT_SET code.", AR_FN_DSC_MAKEDIGITALAUDIOFROMURL: "Returns a new instance of a Digital Audio value from a URL.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_DSC: "Creates a new instance of a Digital Audio value from a URL.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_RV: "Returns a new instance of a Digital Audio value initialized to the specified settings.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_PRM_DSC_0: "The URL to the Digital Audio.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_EX_OUT_0: 'A Digital Audio value with the universal resource locator (url) property value of "https://www.genesys.com/media/genesys-digital-bot-flows.mp3".', AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_DSC: "Creates a NOT_SET Digital Audio.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_RV: "Returns a NOT_SET Digital Audio value.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_EX_OUT_0: "A NOT_SET Digital Audio.", AR_FN_DSC_MAKEFILEFROMURL: "Returns a new instance of a File value from a URL.", AR_FN_FILE_MAKEFILEFROMURL_STR_DSC: "Creates a new instance of a File value from a URL.", AR_FN_FILE_MAKEFILEFROMURL_STR_RV: "Returns a new instance of a File value initialized to the specified settings.", AR_FN_FILE_MAKEFILEFROMURL_STR_PRM_DSC_0: "The URL to the File.", AR_FN_FILE_MAKEFILEFROMURL_STR_EX_OUT_0: 'A File value with the universal resource locator (url) property value of "https://www.genesys.com/documents/genesys-digital-bot-flows.pdf".', AR_FN_FILE_MAKEFILEFROMURL_NTS_DSC: "Creates a NOT_SET File.", AR_FN_FILE_MAKEFILEFROMURL_NTS_RV: "Returns a NOT_SET File value.", AR_FN_FILE_MAKEFILEFROMURL_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_FILE_MAKEFILEFROMURL_NTS_EX_OUT_0: "A NOT_SET File.", AR_FN_DSC_MAKEIMAGEFROMURL: "Returns a new instance of an Image value from a URL.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_DSC: "Creates a new instance of an Image value from a URL.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_RV: "Returns a new instance of an Image value initialized to the specified settings.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_PRM_DSC_0: "The URL to the image.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_EX_OUT_0: 'An Image value with a universal resource locator (url) property value of "https://www.genesys.com/media/genesys-logo.png".', AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_DSC: "Creates a new instance of an Image value from a URL and name.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_RV: "Returns a new instance of an Image value initialized to the specified settings.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_PRM_DSC_0: "The URL to the image.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_PRM_DSC_1: "The name to use for the name property in the returned Image value.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_EX_OUT_0: 'An Image value with a universal resource locator (url) property value of "https://www.genesys.com/media/genesys-logo.png" and a name property value of "Genesys Logo".', AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_DSC: "Creates a NOT_SET Image.", AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_RV: "Returns a NOT_SET Image value.", AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_EX_OUT_0: "A NOT_SET Image.", AR_FN_DSC_MAKELINEITEM: "Returns a new instance of a LineItem value initialized with the specified settings.", AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_DSC: "Creates a new instance of a LineItem value initialized with the specified settings.", AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_RV: "Returns a new instance of LineItem value initialized to the specified settings.", AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_PRM_DSC_0: "The name of the LineItem.", AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_PRM_DSC_1: "The price of the LineItem.", AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_EX_OUT_0: 'A LineItem value with name "T-Shirt" and price of $19.99 USD.', AR_FN_DSC_TOLINEITEM: "Returns a copy of the supplied LineItem.", AR_FN_LINEITEM_TOLINEITEM_LINEITEM_DSC: "Returns a copy of the supplied LineItem", AR_FN_LINEITEM_TOLINEITEM_LINEITEM_RV: "Returns a copy of the supplied LineItem.", AR_FN_LINEITEM_TOLINEITEM_LINEITEM_PRM_DSC_0: "The LineItem to copy", AR_FN_LINEITEM_TOLINEITEM_LINEITEM_EX_OUT_0: "A Lineitems which is a copy of the supplied LineItem", AR_FN_LINEITEM_TOLINEITEM_NTS_DSC: "Converts NOT_SET to a NOT_SET LineItem.", AR_FN_LINEITEM_TOLINEITEM_NTS_RV: "Returns a NOT_SET LineItem value.", AR_FN_LINEITEM_TOLINEITEM_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_LINEITEM_TOLINEITEM_NTS_EX_OUT_0: "A NOT_SET lineItem.", AR_FN_DSC_MAKELISTPICKERITEM: "Returns a new instance of a ListPickerItem value initialized with the specified settings.", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_DSC: "Creates a new instance of a ListPickerItem value initialized with the specified settings.", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_RV: "Returns a new instance of a ListPickerItem value initialized to the specified settings.", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_PRM_DSC_0: "The list picker item title.", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_PRM_DSC_1: "The list picker item subtitle.", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_PRM_DSC_2: "The image to use for the list picker item.", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_EX_OUT_0: "A ListPickerItem value with a title, subtitle, and image", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_EX_OUT_1: "A ListPickerItem value with a title, a NOT_SET subtitle, and an image", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_EX_OUT_2: "A ListPickerItem value with a title, a NOT_SET subtitle, and a NOT_SET image", AR_FN_DSC_MAKELISTPICKERSECTION: "Returns a new instance of a ListPickerSection value initialized with the specified settings.", AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_DSC: "Creates a new instance of a ListPickerSection value initialized with the specified settings.", AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_RV: "Returns a new instance of a ListPickerSection value initialized to the specified settings.", AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_PRM_DSC_0: "The list picker item title.", AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_PRM_DSC_1: "Whether multiple selection is enabled for the list picker.", AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_PRM_DSC_2: "A collection of list picker items", AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_EX_OUT_0: 'A ListPickerSection named "Sides" with MultiSelect enabled and with two ListPickerItems, "Fries" and "Soup"', AR_FN_DSC_MAKELISTPICKER: "Returns a new instance of a ListPicker value initialized with the specified settings.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_DSC: "Creates a new instance of a ListPicker value initialized with the specified settings.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_RV: "Returns a new instance of a ListPicker value initialized to the specified settings.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_0: "A collection of ListPickerSections.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_1: "The image to use for the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_2: "The title of the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_3: "The subtitle of the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_4: "The image to use for the reply message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_5: "The subtitle of the reply message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_EX_OUT_0: "A ListPicker", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_DSC: "Creates a new instance of a ListPicker value initialized with the specified settings.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_RV: "Returns a new instance of a ListPicker value initialized to the specified settings.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_0: "A collection of ListPickerSections.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_1: "The image to use for the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_2: "The title of the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_3: "The subtitle of the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_4: "The image to use for the reply message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_5: "The subtitle of the reply message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_6: "The button text of the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_EX_OUT_0: "A ListPicker", AR_FN_DSC_MAKETIMEPICKER: "Returns a new instance of a TimePicker value initialized with the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_DSC: "Creates a new instance of a TimePicker value initialized with the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_RV: "Returns a new instance of a TimePicker value initialized to the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_0: "The TimePicker title.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_1: "The TimePicker subtitle.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_2: "The image to use for the TimePicker.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_3: "The address to use for the TimePicker.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_4: "The latitude to use for the TimePicker.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_5: "The longitude to use for the TimePicker.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_0: "A TimePicker value with a title, subtitle, and image", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_1: "A TimePicker value with a title, a NOT_SET subtitle, and an image", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_2: "A TimePicker value with a title, a NOT_SET subtitle, and a NOT_SET image", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_3: "A TimePicker value with a title, a NOT_SET subtitle, a NOT_SET image, an address, a latitude, and a longitude", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_DSC: "Creates a new instance of a TimePicker value initialized with the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_RV: "Returns a new instance of a TimePicker value initialized to the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_PRM_DSC_0: "The TimePicker title.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_PRM_DSC_1: "The TimePicker subtitle.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_EX_OUT_0: "A TimePicker value with a title and subtitle", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_DSC: "Creates a new instance of a TimePicker value initialized with the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_RV: "Returns a new instance of a TimePicker value initialized to the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_PRM_DSC_0: "The TimePicker title.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_EX_OUT_0: "A TimePicker value with a title", AR_FN_DSC_MAKETIMESLOT: "Returns a new instance of a Timeslot value initialized with the specified settings.", AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_DSC: "Creates a new instance of a Timeslot value initialized with the specified settings.", AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_RV: "Returns a new instance of a Timeslot value initialized to the specified settings.", AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_PRM_DSC_0: "The Coordinated Universal Time (UTC) dateTime for the timeslot.", AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_PRM_DSC_1: "The duration for the timeslot.", AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_EX_OUT_0: 'A Timeslot value with date time of "2024-08-04T00:00:00.000Z" and duration of "one hour thirty minutes"', AR_FN_DSC_MAKELISTTIMESLOT: "Creates a new Timeslot value collection from the specified input.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_DSC: "Creates a Timeslot collection where each item is a Timeslot value created from the items in the dateTime collection with the duration input assigned.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_RV: "Returns the new Timeslot values.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_PRM_DSC_0: "A DateTime collection.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_PRM_DSC_1: "A Duration value that will be used for each item in the returned Timeslot collection.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_EX_OUT_0: 'A TimeSlot collection with two items: the first item having a datetime of "2024-08-04T14:00:00.000Z" and the second item having a datetime of "2024-08-04T15:00:00.000Z". Both timeslot items have a duration of "1 hour".', AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_DSC: "Creates a Timeslot collection where each item is a Timeslot value created by combining the items in the dateTime and duration collections. The input collections need to be of equal length.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_RV: "Returns the new Timeslot values.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_PRM_DSC_0: "A DateTime collection.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_PRM_DSC_1: "A Duration collection.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_EX_OUT_0: 'A TimeSlot collection with two items: the first item having a datetime of "2024-08-04T14:00:00.000Z" and duration of "1 hour", and the second item having a datetime of "2024-08-04T15:00:00.000Z" and duration of "2 hours".', AR_FN_DSC_MAKESHIPPINGOPTION: "Returns a new instance of a ShippingOption value initialized with the specified settings.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_DSC: "Creates a new instance of a ShippingOption value initialized with the specified settings.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_RV: "Returns a new instance of a ShippingOption value initialized to the specified settings.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_0: "The shipping option label.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_1: "The shipping option identifier.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_2: "The shipping details.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_3: "The shipping option price.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_EX_OUT_0: 'A ShippingOption value with id "standard", label "Standard Shipping", price $5.99 USD, and shipping details of 3-4 days', AR_FN_DSC_TOSHIPPINGOPTION: "Returns a copy of the supplied ShippingOption.", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_DSC: "Returns a copy of the supplied ShippingOption", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_RV: "Returns a copy of the supplied ShippingOption.", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_PRM_DSC_0: "The ShippingOption to copy", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_EX_OUT_0: "A ShippingOption which is a copy of the supplied ShippingOption", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_DSC: "Converts NOT_SET to a NOT_SET ShippingOption.", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_RV: "Returns a NOT_SET ShippingOption value.", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_EX_OUT_0: "A NOT_SET ShippingOption.", AR_FN_DSC_MAKELISTAGENTSCOREPAIR: "Returns a new collection of type AgentScorePair created from input collections.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_DSC: "Creates an AgentScorePair collection by combining items from a User collection and a preferred agent routing score Integer collection. The algorithm merges item data on a per index basis so input collections must have the same number of items.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_RV: "Returns the collection created by combining items from the supplied User and preferred agent routing score Integer collections.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_PRM_DSC_0: "Supplies User values for the agent property on AgentScorePair items in the returned collection.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_PRM_DSC_1: "Supplies preferred agent routing scores for the score property on AgentScorePair items in the returned collection.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_DSC: "Creates an AgentScorePair collection by combining User values looked up from a user ID String collection and a preferred agent routing score Integer collection. The algorithm merges item data on a per index basis so input collections must have the same number of items.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_RV: "Returns the collection created by combining looked up User values and preferred agent routing scores.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_PRM_DSC_0: "A collection of user IDs to look up. Identifiers will be matched in a case insensitive manner. The looked up User values supply the agent property value on AgentScorePair items in the returned collection.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_PRM_DSC_1: "Supplies preferred agent routing scores for the score property on AgentScorePair items in the returned collection.", AR_FN_DSC_MAKELISTCOMMUNICATION: "Returns a new Communication collection value from the specified input.", AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_DSC: "Creates a Communication collection from the supplied input collection by calling ToCommunication on each item in the input collection and inserting it in the resulting Communication collection at the same index.", AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_RV: "Returns a Communication collection value from the supplied input collection.", AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_PRM_DSC_0: "A collection of values whose type is an Any type such as a String collection or Integer collection.", AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_EX_OUT_0: 'A Communication collection with two items. The first Communication item has text and audio for "Value Label 1" and the second Communication item has text and audio for "Value Label 2".', AR_FN_DSC_MAKEQUICKREPLIES: "Returns a new QuickReplies value initialized with the specified choices.", AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_DSC: "Creates a new QuickReplies value with the buttons property set to the supplied choice collection. Remember that you can only use postback choices in the buttons collection.", AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_RV: "Returns the new QuickReplies value.", AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_PRM_DSC_0: 'The choices to use for the quick replies buttons. Individual choices in this array should not be of type "url" as quick replies do not support URLs.', AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_DSC: "Creates a new QuickReplies value with the buttons property set to the supplied choice collection. Remember that you can only use postback choices in the buttons collection.", AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_RV: "Returns the new QuickReplies value.", AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_PRM_DSC_0: 'The choices to use for the quick replies buttons. Individual choices in this array should not be of type "url" as quick replies do not support URLs.', AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_PRM_DSC_1: 'Summary displayed in supporting messaging platforms after the user selects a quick reply. e.g. "Thanks for your selection"', AR_FN_DSC_MAKEVIDEOFROMURL: "Returns a new instance of a Video value from a URL.", AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_DSC: "Creates a new instance of a Video value from a URL.", AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_RV: "Returns a new instance of a Video value initialized to the specified settings.", AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_PRM_DSC_0: "The URL to the video.", AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_EX_OUT_0: 'A Video value with the universal resource locator (url) property value of "https://www.genesys.com/media/genesys-digital-bot-flows.mov".', AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_DSC: "Creates a NOT_SET Video.", AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_RV: "Returns a NOT_SET Video value.", AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_EX_OUT_0: "A NOT_SET Video.", AR_FN_DSC_RESOLVESLOT: "Gets a localized value for a list slot type Slot variable.", AR_FN_ANY_RESOLVESLOT_ANY_DSC: "This gets the localized value for the supplied Slot variable value if the slot type for the variable is a list. If the slot type associated with the variable is not a list, this function returns the Slot variable value.", AR_FN_ANY_RESOLVESLOT_ANY_RV: "Returns the localized value for the supplied Slot variable if the variable's slot type is a list. Otherwise, the Slot variable value is returned.", AR_FN_ANY_RESOLVESLOT_ANY_PRM_DSC_0: "The Slot variable to resolve.", AR_FN_ANY_RESOLVESLOT_ANY_EX_OUT_0: 'The localized String value configured on the "PizzaSizeType" slot type for the value "small" such as "peque\xF1a".', AR_FN_ANY_RESOLVESLOT_ANY_ANY_DSC: "This gets the localized value for the supplied Slot variable value if the slot type for the variable is a list. If the slot type associated with the variable is not a list, this function returns the Slot variable value. This implementation also lets you specify a value to return if the supplied Slot variable value is NOT_SET.", AR_FN_ANY_RESOLVESLOT_ANY_ANY_RV: "If the supplied Slot variable value is NOT_SET, the value supplied in the slotNotSetReturnValue parameter is returned. Otherwise this returns the localized value for the supplied Slot variable if the variable's slot type is a list. If the variable slot type is not a list, the Slot variable value is returned.", AR_FN_ANY_RESOLVESLOT_ANY_ANY_PRM_DSC_0: "The Slot variable to resolve.", AR_FN_ANY_RESOLVESLOT_ANY_ANY_PRM_DSC_1: "If the value of the Slot variable is NOT_SET, this value will be returned. Remember that the value specified here must be the same data type as the Slot variable itself so if the Slot variable is a String, the value supplied here must be a String.", AR_FN_ANY_RESOLVESLOT_ANY_ANY_EX_OUT_0: '"" if the Slot.AccountType value is NOT_SET.', AR_FN_DSC_RESOLVESLOTTYPELISTVALUE: "Gets a localized String value for a list or dynamic list slot type value.", AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_DSC: "This gets a localized String value based on the language in which the flow is running from a list or dynamic slot list slot type by specifying the slot type by name and value to look up.", AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_RV: "Returns the localized String value for the supplied list or dynamic list slot type name and supplied slot type value. If the slot type or value in the list is not found, a NOT_SET String value is returned.", AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_PRM_DSC_0: "The name of the list or dynamic list slot type. The slot type name is matched case sensitively. If a NOT_SET slot type name is specified, a NOT_SET String value is returned.", AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_PRM_DSC_1: "The slot type value to look up. The value is matched case sensitively. If a NOT_SET value is specified, a NOT_SET String value is returned.", AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_EX_OUT_0: 'The localized String value configured on the "PizzaSizeType" slot type for the value "small" such as "peque\xF1a".', AR_FN_DSC_MAKELISTCURRENCY: "Returns a new Currency value collection from the specified input.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_DSC: "Returns a Currency collection from the specified Decimal input collection and assigns the specified ISO 4217 currency code to each item in the returned currency collection.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_RV: "Returns a Currency collection with each item set to the value from the corresponding Decimal collection. Each item will have their code set to the ISO 4217 currency code specified in the 2nd parameter.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_PRM_DSC_0: "A Decimal collection of amounts that will become the amounts in the returned Currency collection.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_PRM_DSC_1: "The ISO 4217 currency code to assign to each item in the returned Currency collection.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_EX_OUT_0: 'A currency collection with two items. The first item has an amount of 10.50, the second item has an amount of 2.50, and both items have a code of "USD".', AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_EX_OUT_1: 'A currency collection with two items. The first item has an amount of 10.50, the second item has a NOT_SET amount, and both items have a Cde of "USD".', AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_DSC: "Returns a Currency collection based on the specified Decimal and String input collections. The input collections have to have the same number of items for the currency list to be created.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_RV: "Returns a Currency collection where each item is a Currency value created from the items in the amounts and currencyCodes collections.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_PRM_DSC_0: "A Decimal collection of amounts that will become the amounts in the returned Currency collection.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_PRM_DSC_1: "A collection of ISO 4217 currency codes to assign to each item in the returned Currency collection. The number of items in this collection should be the same as the number of items in the amounts collection.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_EX_OUT_0: 'A currency collection with two items. The first Currency item has an amount of 10.50 and code of "USD". The second Currency item has an amount of 2.50 and code of "EUR".', AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_EX_OUT_1: 'A currency collection with two items. The first Currency item has an amount of 10.50 and NOT_SET code. The second Currency item has a NOT_SET amount and code of "EUR".', AR_FN_DSC_TOCURRENCY: "Converts a value to a Currency.", AR_FN_CUR_TOCURRENCY_STR_DSC: "Converts a String value to a Currency.", AR_FN_CUR_TOCURRENCY_STR_RV: "Returns a Currency value for the specified String.", AR_FN_CUR_TOCURRENCY_STR_PRM_DSC_0: 'The String to convert to a Currency value. The format should be "[amount]|[code]" where amount is a decimal value and code is an ISO 4217 currency code or blank.', AR_FN_CUR_TOCURRENCY_STR_EX_OUT_0: 'A Currency value with an amount of 5.00 and code of "USD" (United States dollars).', AR_FN_CUR_TOCURRENCY_STR_EX_OUT_1: 'A Currency value with a NOT_SET amount and code of "EUR" (Euros).', AR_FN_CUR_TOCURRENCY_STR_EX_OUT_2: "A Currency value with an amount of 5.00 and NOT_SET code.", AR_FN_CUR_TOCURRENCY_STR_EX_OUT_3: "A Currency value with an amount of 5.00 and NOT_SET code.", AR_FN_CUR_TOCURRENCY_STR_EX_OUT_4: "A NOT_SET Currency.", AR_FN_CUR_TOCURRENCY_DEC_DSC: "Converts a Decimal to a Currency without a code.", AR_FN_CUR_TOCURRENCY_DEC_RV: "Returns a Currency value from the specified Decimal.", AR_FN_CUR_TOCURRENCY_DEC_PRM_DSC_0: "The Decimal to convert to a Currency value.", AR_FN_CUR_TOCURRENCY_DEC_EX_OUT_0: "A Currency value with an amount of 5.00 and NOT_SET code.", AR_FN_CUR_TOCURRENCY_LNG_DSC: "Converts an Integer to a Currency without a code.", AR_FN_CUR_TOCURRENCY_LNG_RV: "Returns a Currency value from the supplied Integer.", AR_FN_CUR_TOCURRENCY_LNG_PRM_DSC_0: "The Integer to convert to a Currency value.", AR_FN_CUR_TOCURRENCY_LNG_EX_OUT_0: "A Currency value with an amount of 5 and NOT_SET code.", AR_FN_CUR_TOCURRENCY_NTS_DSC: "Converts NOT_SET to a NOT_SET Currency.", AR_FN_CUR_TOCURRENCY_NTS_RV: "Returns a NOT_SET Currency value.", AR_FN_CUR_TOCURRENCY_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_CUR_TOCURRENCY_NTS_EX_OUT_0: "A NOT_SET Currency.", AR_FN_CUR_TOCURRENCY_CUR_DSC: "Returns a Currency from the supplied Currency value.", AR_FN_CUR_TOCURRENCY_CUR_RV: "Returns the supplied Currency value.", AR_FN_CUR_TOCURRENCY_CUR_PRM_DSC_0: "The Currency to return.", AR_FN_CUR_TOCURRENCY_CUR_EX_OUT_0: 'A Currency value with an amount of 5.25 and code of "USD" (United States dollars)', AR_FN_DSC_GETCURRENCYSYMBOL: "Returns the symbol for the specified ISO 4217 currency code.", AR_FN_STR_GETCURRENCYSYMBOL_STR_DSC: "Returns the currency symbol for the specified ISO 4217 currency code.", AR_FN_STR_GETCURRENCYSYMBOL_STR_RV: "Returns a Currency symbol for the specified String.", AR_FN_STR_GETCURRENCYSYMBOL_STR_PRM_DSC_0: "The ISO 4217 currency code for which you wish to get the currency symbol.", AR_FN_STR_GETCURRENCYSYMBOL_CUR_DSC: "Returns the currency symbol for the specified currency.", AR_FN_STR_GETCURRENCYSYMBOL_CUR_RV: "Returns a Currency symbol for the specified String.", AR_FN_STR_GETCURRENCYSYMBOL_CUR_PRM_DSC_0: "A Currency from which to get the symbol.", AR_FN_DSC_CONVERTCURRENCY: "Converts a currency from one code to another.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DSC: "Converts a currency from one code to another keeping the amount the same.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_RV: "Returns the converted Currency value. Note that if sourceCurrency itself is NOT_SET, then a NOT_SET Currency is returned.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_PRM_DSC_0: "The Currency to convert.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_PRM_DSC_1: "The ISO 4217 currency code for the returned Currency value.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_0: 'A Currency with an amount of 5.00 and code of "EUR".', AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_1: 'A Currency with an amount of 5.00 and code of "EUR".', AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_2: 'A Currency with a NOT_SET amount and code of "EUR".', AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_3: "A Currency with a NOT_SET amount and NOT_SET code.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_4: "A NOT_SET Currency.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_DSC: "Converts a currency from one code to another using a specified conversion rate.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_RV: "Returns the converted Currency value.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_PRM_DSC_0: "The Currency to convert.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_PRM_DSC_1: "The ISO 4217 currency code for the returned Currency value.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_PRM_DSC_2: "The exchange rate from the sourceCurrency input to the destination currency.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_0: 'A Currency with an amount of 3.4685 and code of "EUR".', AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_1: 'A Currency with an amount of 3.4685 and code of "EUR".', AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_2: 'A Currency with a NOT_SET amount and code of "EUR".', AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_3: "A NOT_SET Currency.", AR_FN_DSC_TOAUDIOTTS: "Creates an Audio from text.", AR_FN_AUDIO_TOAUDIOTTS_STR_DSC: "Creates an Audio from the supplied text using the text to speech engine for the flow's currently executing language.", AR_FN_AUDIO_TOAUDIOTTS_STR_RV: "Returns Audio from the submitted String.", AR_FN_AUDIO_TOAUDIOTTS_STR_PRM_DSC_0: "The text to convert to Audio.", AR_FN_AUDIO_TOAUDIOTTS_STR_EX_OUT_0: 'Audio for the string "Hello" spoken via. text to speech.', AR_FN_AUDIO_TOAUDIOTTS_STR_EX_OUT_1: "Blank Audio of 0ms duration. See the ToAudioBlank function if you wish to create blank Audio with a duration.", AR_FN_AUDIO_TOAUDIOTTS_STR_STR_DSC: "Creates an Audio from the supplied text using the text to speech engine for a specified IETF language tag.", AR_FN_AUDIO_TOAUDIOTTS_STR_STR_RV: "Returns Audio from the submitted String.", AR_FN_AUDIO_TOAUDIOTTS_STR_STR_PRM_DSC_0: "The text to convert to Audio.", AR_FN_AUDIO_TOAUDIOTTS_STR_STR_PRM_DSC_1: "The IETF language tag of the text to speech engine to use for the pronunciation of the supplied text.", AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_0: 'Audio for the string "Hello" spoken via. the English (United States) (en-US) text to speech engine.', AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_1: 'Audio for the string "Bonjour" spoken via. the French (Canada) (fr-CA) text to speech engine.', AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_2: 'Audio for the string "Hola" spoken via. the Spanish (United States) (es-US) text the to speech engine.', AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_3: "Blank Audio of 0ms duration. See the ToAudioBlank function if you wish to create blank Audio with a duration.", AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_DSC: "Creates an Audio from text using text to speech with the option to read characters individually using the text to speech engine for the flow's currently executing language.", AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_RV: "Returns Audio from the submitted String.", AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_PRM_DSC_0: "The text to convert to Audio.", AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_PRM_DSC_1: "The formatting used for the returned Audio.", AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_EX_OUT_0: 'Audio of "H e l l o" where each letter is spoken individually.', AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_EX_OUT_1: "Blank Audio of 0ms duration. See the ToAudioBlank function if you wish to create blank Audio with a duration.", AR_FN_DSC_TOAUDIOBLANK: "Creates blank Audio which can be used to provide a pause in audio playback.", AR_FN_AUDIO_TOAUDIOBLANK_LNG_DSC: "Creates blank Audio for a specified number of milliseconds.", AR_FN_AUDIO_TOAUDIOBLANK_LNG_RV: "Returns blank Audio of length specified in the lengthMS parameter.", AR_FN_AUDIO_TOAUDIOBLANK_LNG_PRM_DSC_0: "The number of milliseconds of blank audio to create.", AR_FN_AUDIO_TOAUDIOBLANK_LNG_EX_OUT_0: "Blank Audio with a duration of 500 milliseconds.", AR_FN_AUDIO_TOAUDIOBLANK_LNG_EX_OUT_1: 'Audio for "Hello" followed by one second of blank audio and then "World".', AR_FN_DSC_TOAUDIOBOOL: "Creates an Audio from a boolean value.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_DSC: "Creates an Audio from a Boolean.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_RV: "Returns Audio from the submitted Boolean.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_PRM_DSC_0: "The boolean to convert to Audio.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_EX_OUT_0: 'Audio of "True".', AR_FN_AUDIO_TOAUDIOBOOL_BLN_EX_OUT_1: "Blank Audio.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_DSC: "Creates an Audio from a Boolean.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_RV: "Returns Audio from the submitted Boolean.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_PRM_DSC_0: "The boolean value to convert to Audio.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_PRM_DSC_1: "Formatting information for the returned Audio.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_EX_OUT_0: 'Audio of "No".', AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_EX_OUT_1: 'Audio of "Yes".', AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_EX_OUT_2: "Blank Audio.", AR_FN_DSC_TOAUDIODURATION: "Creates an Audio from a Duration value.", AR_FN_AUDIO_TOAUDIODURATION_DUR_DSC: "Creates an Audio from a Duration value down to seconds. Milliseconds on the Duration value are not part of the returned Audio.", AR_FN_AUDIO_TOAUDIODURATION_DUR_RV: "Returns Audio from the submitted Duration value.", AR_FN_AUDIO_TOAUDIODURATION_DUR_PRM_DSC_0: "The Duration value to convert to Audio.", AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_0: 'Audio of "one hour thirty minutes".', AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_1: 'Audio of "negative thirty minutes".', AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_2: 'Audio of "one hour thirty minutes and five seconds".', AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_3: "A NOT_SET Audio.", AR_FN_DSC_TOAUDIOPHONENUMBER: "Creates an Audio for phone number playback.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_DSC: "Creates an Audio from a PhoneNumber value where the audio is the phone number played back in global format which uses the country code.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_RV: "Returns Audio from the submitted PhoneNumber.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PRM_DSC_0: "The PhoneNumber to convert to Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_0: 'Globally formatted phone number Audio of "plus one three one seven eight seven two three zero zero zero".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_1: 'Globally formatted phone number Audio for the phone number in Call.Ani if Call.Ani is a "tel" scheme phone number, otherwise blank Audio.', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_2: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_3: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_DSC: "Creates an Audio from a PhoneNumber value where the audio is the phone number played back in global or local format as specified by a parameter.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_RV: "Returns Audio from the submitted PhoneNumber.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_PRM_DSC_0: "The PhoneNumber to convert to Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_PRM_DSC_1: "Whether or not to use local or global formatting on the returned Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_0: 'Locally formatted phone number Audio of "three one seven eight seven two three zero zero zero".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_1: 'Globally formatted phone number Audio of "plus one three one seven eight seven two three zero zero zero".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_2: 'Locally formatted phone number Audio of "zero seven five five five five one two one two".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_3: 'Globally formatted phone number Audio for the phone number in Call.Ani if Call.Ani is a "tel" scheme phone number, otherwise blank Audio.', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_4: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_5: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_DSC: "Creates an Audio from a PhoneNumber value where the audio is the phone number played back in global or local format depending on the dialing code passed in.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_RV: "Returns Audio from the submitted PhoneNumber.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_PRM_DSC_0: "The PhoneNumber to convert to Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_PRM_DSC_1: "If the dialing code specified here matches the dialing code in the phoneNumber parameter, local formatting will be used for the returned phone number Audio. Otherwise global formatting will be used.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_0: 'Locally formatted phone number Audio of "three one seven eight seven two three zero zero zero".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_1: 'Globally formatted phone number Audio of "plus one three one seven eight seven two three zero zero zero".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_2: 'Globally formatted phone number Audio of "plus one three one seven eight seven two three zero zero zero".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_3: 'Locally formatted phone number Audio of "zero seven five five five five one two one two".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_4: 'Globally formatted phone number Audio for the phone number in Call.Ani if the dialing code is other than "1" and Call.Ani is a "tel" scheme phone number, otherwise blank Audio.', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_5: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_6: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_DSC: "Creates an Audio from a String value where only numbers in the string are played back in the returned Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_RV: "Returns Audio from the submitted String.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_PRM_DSC_0: "The string to convert to Audio as a phone number.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_0: 'Audio for "eight one two five five five one two three four".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_1: 'Audio for "eight one two five five five one two three four".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_2: 'Audio for "eight one two five five five one two three four".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_3: "Blank Audio.", AR_FN_DSC_TOAUDIOCURRENCY: "Creates an Audio from a Currency value.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_DSC: "Creates an Audio from a Currency value localized to the current language for the flow.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_RV: "Returns Audio from the submitted Currency.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_PRM_DSC_0: "The Currency value to convert to Audio.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_0: 'Audio for "one million two hundred thirty four thousand five hundred sixty seven dollars and zero cents".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_1: 'Audio for "one dollar and twenty three cents".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_2: 'Audio for "one dollar and twenty three cents".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_3: "Blank Audio.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_4: 'Audio for "one dollar and fifty seven cents".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_DSC: "Creates an Audio from a Currency value localized to the current language for the flow.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_RV: "Returns Audio from the submitted Currency.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_PRM_DSC_0: "The Currency value to convert to Audio.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_PRM_DSC_1: "Formatting information for the returned Audio.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_0: 'Audio for "one million two hundred thirty four thousand five hundred sixty seven dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_1: 'Audio for "eighty cents".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_2: 'Audio for "two hundred eighty cents".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_3: 'Audio for "one point two three dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_4: 'Audio for "three zero point two zero dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_5: 'Audio for "zero point two zero dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_6: "Blank Audio.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_DSC: "Creates an Audio from a Currency value localized to the current language for the flow played in decimal format with a specified number of decimal places.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_RV: "Returns Audio from the submitted Currency.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_PRM_DSC_0: "The Currency value to convert to Audio.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_PRM_DSC_1: "The number of decimal places to include in the audio output.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_0: 'Audio for "one point two dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_1: 'Audio for "one point two three dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_2: 'Audio for "negative thirty five point two three dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_3: 'Audio for "one point two three zero dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_4: 'Audio for "one point two three dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_5: 'Audio for "twenty one point two three dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_6: "Blank Audio.", AR_FN_DSC_TOAUDIOPERCENT: "Creates Audio from an Integer value to be read as a percent.", AR_FN_AUDIO_TOAUDIOPERCENT_LNG_DSC: "Creates Audio from an Integer value to be read as a percent.", AR_FN_AUDIO_TOAUDIOPERCENT_LNG_RV: "Returns Audio from the submitted Integer.", AR_FN_AUDIO_TOAUDIOPERCENT_LNG_PRM_DSC_0: "The Integer value to convert to Audio.", AR_FN_AUDIO_TOAUDIOPERCENT_LNG_EX_OUT_0: 'Audio for "one hundred twenty three percent".', AR_FN_AUDIO_TOAUDIOPERCENT_LNG_EX_OUT_1: 'Audio for "five percent".', AR_FN_AUDIO_TOAUDIOPERCENT_LNG_EX_OUT_2: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_DSC: "Creates an Audio from a Decimal value to be read as a percent.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_PRM_DSC_0: "The Decimal value to convert to Audio.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_EX_OUT_0: 'Audio for "one hundred, twenty three point twelve percent".', AR_FN_AUDIO_TOAUDIOPERCENT_DEC_EX_OUT_1: 'Audio for "zero point two percent".', AR_FN_AUDIO_TOAUDIOPERCENT_DEC_EX_OUT_2: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_DSC: "Creates an Audio from a Decimal value to be read as a percent, with the ability to specify how many decimal digits to play.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_PRM_DSC_0: "The Decimal value to be played as audio.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_PRM_DSC_1: "Number of decimal places to read in the returned Audio.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_0: 'Audio for "one hundred twenty three point one two percent".', AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_1: 'Audio for "one hundred twenty three point one percent".', AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_2: 'Audio for "one hundred twenty three point one two zero percent".', AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_3: "Blank Audio.", AR_FN_DSC_TOAUDIODATE: "Creates an Audio from a Date.", AR_FN_AUDIO_TOAUDIODATE_DTM_DSC: "Creates a date Audio from a DateTime.", AR_FN_AUDIO_TOAUDIODATE_DTM_RV: "Returns Audio for the Date portion of the submitted DateTime.", AR_FN_AUDIO_TOAUDIODATE_DTM_PRM_DSC_0: "The DateTime value to convert to Audio.", AR_FN_AUDIO_TOAUDIODATE_DTM_EX_OUT_0: 'Audio for "Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATE_DTM_EX_OUT_1: "Blank Audio.", AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_DSC: "Creates an Audio for the year from a DateTime with formatting support.", AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_RV: "Returns Audio for the Date portion of the submitted DateTime.", AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_PRM_DSC_0: "The DateTime value to convert to Audio.", AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_PRM_DSC_1: "Formatting information for the returned Audio.", AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_0: 'Audio for "Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_1: 'Audio for "Thursday November thirtieth nineteen eighty nine".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_2: 'Audio for "Thursday November thirtieth".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_3: 'Audio for "Seventh".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_4: 'Audio for "April".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_5: 'Audio for "twenty fourteen".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_6: 'Audio for "two thousand fourteen".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_7: 'Audio for "Wednesday".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_8: "Blank audio.", AR_FN_AUDIO_TOAUDIODATE_DATE_DSC: "Creates a date Audio from a Date.", AR_FN_AUDIO_TOAUDIODATE_DATE_RV: "Returns Audio for the Date.", AR_FN_AUDIO_TOAUDIODATE_DATE_PRM_DSC_0: "The Date value to convert to Audio.", AR_FN_AUDIO_TOAUDIODATE_DATE_EX_OUT_0: 'Audio for "Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATE_DATE_EX_OUT_1: "Blank Audio.", AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_DSC: "Creates an Audio for the date with formatting support.", AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_RV: "Returns Audio for the Date with specified format.", AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_PRM_DSC_0: "The Date value to convert to Audio.", AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_PRM_DSC_1: "Formatting information for the returned Audio.", AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_0: 'Audio for "Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_1: 'Audio for "Thursday November thirtieth nineteen eighty nine".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_2: 'Audio for "Thursday November thirtieth".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_3: 'Audio for "Seventh".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_4: 'Audio for "April".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_5: 'Audio for "twenty fourteen".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_6: 'Audio for "two thousand fourteen".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_7: 'Audio for "Wednesday".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_8: "Blank audio.", AR_FN_DSC_TOAUDIODATETIME: "Creates an Audio from a DateTime.", AR_FN_AUDIO_TOAUDIODATETIME_DTM_DSC: "Creates an Audio from a DateTime.", AR_FN_AUDIO_TOAUDIODATETIME_DTM_RV: "Returns Audio from the submitted DateTime value.", AR_FN_AUDIO_TOAUDIODATETIME_DTM_PRM_DSC_0: "The DateTime value to convert to Audio.", AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_0: 'Audio for "Two twenty two PM Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_1: 'Audio for "Two twenty two PM Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_2: 'Audio for "Twelve AM Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_3: "Blank Audio.", AR_FN_DSC_TOAUDIOTIME: "Creates an Audio from a DateTime input.", AR_FN_AUDIO_TOAUDIOTIME_DTM_DSC: "Creates an Audio from a DateTime and only plays the Time portion.", AR_FN_AUDIO_TOAUDIOTIME_DTM_RV: "Returns Audio for the submitted DateTime value.", AR_FN_AUDIO_TOAUDIOTIME_DTM_PRM_DSC_0: "The DateTime value to convert to Audio.", AR_FN_AUDIO_TOAUDIOTIME_DTM_EX_OUT_0: 'Audio for "Two twenty two PM" or "Fourteen twenty two" depending on active language.', AR_FN_AUDIO_TOAUDIOTIME_DTM_EX_OUT_1: 'Audio for "Twelve AM" or "Zero hours" depending on active language.', AR_FN_AUDIO_TOAUDIOTIME_DTM_EX_OUT_2: "Blank Audio.", AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_DSC: "Creates an Audio from a DateTime and only plays the Time portion.", AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_RV: "Returns Audio for the submitted DateTime value.", AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_PRM_DSC_0: "The DateTme value to convert to Audio.", AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_PRM_DSC_1: "Time Format Enum to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_EX_OUT_0: 'Audio for "Four teen twenty two".', AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_EX_OUT_1: 'Audio for "Two twenty two".', AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_EX_OUT_2: "Blank Audio.", AR_FN_DSC_TOAUDIO: "Converts a value to Audio.", AR_FN_AUDIO_TOAUDIO_PROMPT_DSC: "Converts a Prompt to Audio.", AR_FN_AUDIO_TOAUDIO_PROMPT_RV: "Returns Audio for the specified Prompt.", AR_FN_AUDIO_TOAUDIO_PROMPT_PRM_DSC_0: "The Prompt to convert to Audio. The prompt audio preference is first to get the audio configured on the prompt for the language in which the flow is currently running. If no audio is present, then the runtime will fall back to the text to speech configured on the prompt for the language in which the flow is currently running.", AR_FN_AUDIO_TOAUDIO_PROMPT_EX_OUT_0: "Audio for the Prompt.Welcome prompt for the language in which the current flow is running.", AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_DSC: "Converts a Prompt Collection to Audio.", AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_RV: "Returns Audio for the specified Prompt collection.", AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_PRM_DSC_0: "The Prompt collection to convert to Audio. The runtime preference for each prompt in the collection is to get the prompt audio for the language in which the current flow is running. If audio is not available for an individual prompt, the flow runtime will fall back to the text to speech configured on the prompt for the language in which the flow is currently running.", AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_EX_OUT_0: "Audio for the Prompt.Hello prompt followed by audio for the Prompt.World prompt in the language in which the current flow is currently running.", AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_DSC: "Converts a VoicemailSnippet to Audio.", AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_RV: "Returns Audio for the specified VoicemailSnippet.", AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_PRM_DSC_0: "The VoicemailSnippet value to convert to Audio.", AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_EX_OUT_0: "Audio for the Voicemail.VoicemailSnippet variable.", AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_EX_OUT_1: "A NOT_SET Audio.", AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_DSC: "Converts a VoiceSnippet to Audio.", AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_RV: "Returns Audio for the specified VoiceSnippet.", AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_PRM_DSC_0: "The VoiceSnippet value to convert to Audio.", AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_EX_OUT_0: "Audio for the Flow.ParticipantSnippet VoiceSnippet variable.", AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_EX_OUT_1: "A NOT_SET Audio.", AR_FN_AUDIO_TOAUDIO_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Audio.", AR_FN_AUDIO_TOAUDIO_NTS_RV: "Returns a NOT_SET Audio.", AR_FN_AUDIO_TOAUDIO_NTS_PRM_DSC_0: "The NOT_SET value to convert to Audio.", AR_FN_AUDIO_TOAUDIO_NTS_EX_OUT_0: "A NOT_SET Audio.", AR_FN_DSC_TOCOMMUNICATION: "Converts a value to a Communication value. Communication objects are like Audio except that they supply either audio or text for communication on the current media channel.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_DSC: "Converts an Any value to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_RV: "Returns a Communication for the submitted value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_PRM_DSC_0: "The value to convert to a Communication. If the value is NOT_SET, a blank Communication will be generated at runtime.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_EX_OUT_0: 'A Communication with audio for "uno" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_DSC: "Converts an Any collection value to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_RV: "Returns a Communication for the submitted collection value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_PRM_DSC_0: "The value to convert to a Communication. If the value is NOT_SET, a blank Communication will be generated at runtime.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_EX_OUT_0: 'A Communication with audio for "uno dos" and text of "1\\n2".', AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_DSC: "Converts an Any collection value to a Communication. The method calls ToCommunication on each element in the collection and appends it to the returned value for each item to the result Communication. Items in the returned Communication are delimited with the value specified in the delimiter parameter for the text value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_RV: "Returns a Communication for the submitted collection value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_PRM_DSC_0: "The collection value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_PRM_DSC_1: "The delimiter to use between items in the returned Communication. If the delimiter is a NOT_SET String, a newline will be used for the delimiter.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_EX_OUT_0: 'A Communication with audio for "uno dos" and text of "1, 2".', AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_DSC: "Creates an Communication from a Boolean.", AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_RV: "Returns a Communication for the submitted Boolean value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_PRM_DSC_0: "The Boolean value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_PRM_DSC_1: "Formatting information for the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_EX_OUT_0: 'Communication with audio of "no" and text of "no".', AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_EX_OUT_1: 'Communication with audio of "yes" and text of "yes"', AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_EX_OUT_2: "A blank Communication with blank audio of 0ms duration and blank text. See the ToCommunicationBlank function if you wish to create blank Communication with a duration.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_DSC: "Creates a Communication from a Currency value localized to the current language for the flow.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_RV: "Returns a Communication for the submitted Currency value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_PRM_DSC_0: "The Currency value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_PRM_DSC_1: "Formatting information for the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_0: 'Communication with audio of "one million two hundred thirty four thousand five hundred sixty seven dollars" and text of "$1,234,567.00".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_1: 'Communication with audio of "eighty cents" and text of "$.80".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_2: 'Communication with audio of "two hundred eighty cents" and text of "280 cents".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_3: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_DSC: "Creates a Communication from a Currency value localized to the current language for the flow played in decimal format with a specified number of decimal places.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_RV: "Returns a Communication for the submitted Currency value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_PRM_DSC_0: "The Currency value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_PRM_DSC_1: "The number of decimal places to include in the communication output.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_0: 'Communication for "one point three dollars".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_1: 'Communication for "one point two three dollars".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_2: 'Communication for "one point two three zero dollars".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_3: 'Communication for "negative thirty five point two three dollars".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_4: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_DSC: "Creates a Communication for the year from a Date with formatting support.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_RV: "Returns a Communication for the submitted the Date value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_PRM_DSC_0: "The Date value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_PRM_DSC_1: "Formatting information for the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_0: 'Communication with audio of "Thursday November thirtieth nineteen hundred eighty nine" and text of "11/13/1989".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_1: 'Communication with audio of "Thursday November thirtieth nineteen eighty nine" and text of "11/13/89".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_2: 'Communication with audio of "Thursday November thirtieth" and text "Thursday, November 30th"', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_3: 'Communication with audio of "Seventh" and text of "7th".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_4: 'Communication with audio and text of "April".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_5: 'Communication with audio of "twenty fourteen" and text of "2014".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_6: 'Communication with audio of "two thousand fourteen" and text of "2014".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_7: 'Communication with audio and text of "Wednesday".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_DSC: "Creates a Communication from a Decimal.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_RV: "Returns a Communication for the submitted Decimal value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_PRM_DSC_0: "The Decimal value to convert to a Communication. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits. If the Decimal value is an integral value, only the integral part will be played back.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_PRM_DSC_1: "Number formatting to be used in the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_EX_OUT_0: 'Communication with audio of "five point five" and text of "5 . 5".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_EX_OUT_1: 'Communication with audio of "negative five zero zero" and text of "- 5 0 0".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_EX_OUT_2: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_DSC: "Creates a Communication from a Decimal with a specified number of decimal places.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_RV: "Returns a Communication for the submitted Decimal value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_PRM_DSC_0: "The Decimal value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_PRM_DSC_1: "The number of decimal places to include in the communication output.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_0: 'Communication with audio of "one point three" and text of "1.3".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_1: 'Communication with audio of "one point two three" and text of "1.23".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_2: 'Communication with audio of "one point two three zero" and text of "1.230".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_3: 'Communication with audio of "negative thirty five point one seven" and text of "-35.17".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_4: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_DSC: "Creates a Communication from an Integer with language context.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_RV: "Returns a Communication for the submitted Integer value based on the supplied language context.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Integer to convert to a Communication. If the Integer value is NOT_SET, blank Communication will be returned.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Language contextual information on how to play back the number.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Communication with audio of "uno" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Communication with audio of "un" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Communication with audio of "unos" and text of "5".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Communication for "una" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: 'Communication with audio of "una" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_5: 'Communication with audio of "unas" and text of "5".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_6: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_DSC: "Creates a Communication from an Integer with formatting.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_RV: "Returns a Communication for the submitted Integer value with the supplied formatting option.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_PRM_DSC_0: "The Integer value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_PRM_DSC_1: "Number Format Enum to be used in the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_EX_OUT_0: 'Communication with audio of "five zero zero" and text of "5 0 0".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_EX_OUT_1: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_DSC: "Creates a Communication from an Integer with formatting and language context.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_RV: "Returns a Communication for the submitted Integer value with formatting and language context.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Integer value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Number Format Enum to be used in the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2: "Language contextual information on how to play back the number.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Communication with audio of "uno dos" and text of "1 2".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Communication with audio of "un un" and text of "1 1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Communication with audio of "unos unos" and text of "1 1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Communication with audio of "una dos" and text of "1 2".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: 'Communication with audio of "una unas" and text of "1 1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_5: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_DSC: "Converts a NOT_SET value to a blank Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_RV: "Returns a blank Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_PRM_DSC_0: "The NOT_SET value to convert to a Communication object.", AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_EX_OUT_0: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_DSC: "Creates a Communication from text using text to speech with the option to read characters individually using the text to speech engine for the flow's currently executing language.", AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_RV: "Returns a Communication from the submitted String.", AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_PRM_DSC_0: "The text to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_PRM_DSC_1: "The formatting used for the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_EX_OUT_0: 'A Communication of "H e l l o" where each letter is communicated individually.', AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_EX_OUT_1: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_DSC: "Creates a Communication from a Time.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_RV: "Returns a Communication for the submitted Time value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_PRM_DSC_0: "The Time value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_PRM_DSC_1: "Time Format Enum to be used in the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_EX_OUT_0: 'Communication with audio of "Fourteen twenty two" and text of "14:22:11".', AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_EX_OUT_1: 'Communication with audio of "Two twenty two" and text of "02:22:11PM"', AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_EX_OUT_2: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_DSC: "Creates a Communication by obtaining a part from a Time.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_RV: "Returns a Communication for the submitted Time value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_PRM_DSC_0: "The Time value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_PRM_DSC_1: "Time Part Enum to be used in the returned Communication. Format.TimePart.days is not valid for use in this parameter since time values do not have a day component.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_EX_OUT_0: 'Communication with audio of "Nine" and text of "9".', AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_EX_OUT_1: 'Communication with audio of "Two twenty two" and text of "22"', AR_FN_DSC_TOCOMMUNICATIONBLANK: "Creates a blank Communication which can be used to provide a pause in communication playback.", AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_DSC: "Creates a blank Communication for a specified number of milliseconds.", AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_RV: "Returns blank Communication of length specified in the lengthMS parameter.", AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_PRM_DSC_0: "The number of milliseconds of blank communication to create.", AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_EX_OUT_0: "A Communication with blank audio with a duration of 500 milliseconds and blank text output that pauses for 500 milliseconds.", AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_EX_OUT_1: "A Communication with blank audio with a duration of 0 milliseconds and blank text output that does not pause.", AR_FN_DSC_TOCOMMUNICATIONORDINAL: 'Creates a Communication from a number with ordinal playback such as "first", "second", ..., "seven hundred and sixteenth"', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_DSC: "Creates an ordinal Communication from an Integer.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_RV: "Returns ordinal Communication for the submitted Integer value.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_PRM_DSC_0: "The Integer to convert to a Communication. If the Integer value is less than 1 or greater than 999, the communication playback will be read as a normal number and not as an ordinal.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_0: 'Communication with audio of "first" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_1: 'Communication with audio of"two hundred and first" and text of "201".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_2: 'Communication with audio of "five hundredth" and text of "500".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_3: 'Communication with audio of "five thousand" and text of "5000".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_4: 'Communication with audio of "negative five hundred" and text of "-500".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_5: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an ordinal Communication from an Integer with language context.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_RV: "Returns ordinal Communication for the submitted Integer value based on the supplied language context.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Integer to convert to a Communication. If the Integer value is NOT_SET, blank Communication will be returned. If the Integer value is less than 1 or greater than 999, the communication playback will be read as a normal number and not as an ordinal.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Language contextual information on how to play back the number.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Communication with audio of "premier" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Communication with audio of "premi\xE8re" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Communication with audio of "premier" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Communication with audio of "moins un" and text of "-1".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: "A NOT_SET Communication.", AR_FN_DSC_TOCOMMUNICATIONSSML: "Creates a Communication whose contents should be interpreted at runtime as SSML (Speech Synthesis Markup Language).", AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_DSC: "Creates a Communication from a String whose value is meant to be interpreted as an SSML fragment at flow runtime. The SSML fragment should not contain any or tags. All SSML start tags contained in the String value should have corresponding ending tags. Attempting to use open tags in one ToCommunicationSsml function call and ending tags in a subsequent ToCommunicationSsml call is not supported.", AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_RV: "Returns a Communication value that should be interpreted as SSML at flow runtime.", AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_PRM_DSC_0: "The String value that contains the SSML fragment. Supplying a NOT_SET String value will return a NOT_SET Communication value.", AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_EX_OUT_0: 'A Communication value that instructs a text to speech engine to read back the String value "SSML" by pronouncing each character individually.', AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_EX_OUT_1: 'A Communication value that instructs a text to speech engine to read back the number 5 as an ordinal such as "fifth".', AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_EX_OUT_2: "A NOT_SET Communication value.", AR_FN_DSC_TOMULTIMODALCOMMUNICATION: "Creates a Communication object with the ability to specify different Communication values for multiple output modes.", AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_DSC: "This overload lets you create a Communication object by supplying both voice and text mode Communication values.", AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_RV: "Returns a Communication object with the specified Communication values for voice and text modes.", AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_PRM_DSC_0: "The Communication value to use for voice mode.", AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_PRM_DSC_1: "The Communication value to use for text mode.", AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_EX_OUT_0: 'Communication with audio of "one" and text of "no".', AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_EX_OUT_1: "A NOT_SET Communication.", AR_FN_DSC_TOAUDIONUMBER: "Creates an Audio from a number.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_DSC: "Creates an Audio from an Integer.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_RV: "Returns Audio for the submitted Integer value.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_PRM_DSC_0: "The Integer to convert to Audio. If the Integer value is NOT_SET, blank Audio will be returned.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_0: 'Audio for "uno".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_1: 'Audio for "five hundred".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_2: 'Audio for "negative five hundred".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_3: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an Audio from an Integer with language context.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_RV: "Returns Audio for the submitted Integer value based on the supplied language context.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Integer to convert to Audio. If the Integer value is NOT_SET, blank Audio will be returned.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "uno".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "un".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Audio for "unos".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Audio for "una".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: 'Audio for "una".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_5: 'Audio for "unas".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_6: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_DSC: "Creates an Audio from an Integer with formatting.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_RV: "Returns Audio for the submitted Integer value based on the formatting option.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_PRM_DSC_0: "The Integer value to convert to Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_PRM_DSC_1: "Number Format Enum to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_EX_OUT_0: 'Audio of "five zero zero".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_EX_OUT_1: 'Audio of "negative five zero zero".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_EX_OUT_2: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an Audio from an Integer with language context and formatting.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_RV: "Returns Audio for the submitted Integer value with formatting and language context.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Integer value to convert to Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Number Format Enum to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "uno dos".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "un un".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Audio for "unos unos".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Audio for "una dos".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: 'Audio for "una unas".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_5: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_DSC: "Creates an Audio from a Decimal.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_RV: "Returns Audio for the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_PRM_DSC_0: "The Decimal value to convert to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits. If the Decimal value is an integral value, only the integral part will be played back.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_0: 'Audio for "five hundred".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_1: 'Audio for "negative five hundred".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_2: 'Audio for "one hundred twenty five point two five".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_3: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an Audio from a Decimal with language context.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_RV: "Returns Audio for the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Decimal value to convert to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "una coma quatro".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "una coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Audio for "uno coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Audio for "un coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: 'Audio for "dos coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_5: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_DSC: "Creates an Audio from a Decimal.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_PRM_DSC_0: "The Decimal value to convert to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits. If the Decimal value is an integral value, only the integral part will be played back.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_PRM_DSC_1: "Number formatting to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_0: 'Audio of "five point five".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_1: 'Audio of "negative five zero zero".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_2: 'Audio of "five zero zero".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_3: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an Audio from a Decimal with formatting and language context.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Decimal value to convert to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Number formatting to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "una cero cero".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "uno cero cero".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Audio for "un cero cero".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Audio for "una coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: 'Audio for "uno coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_5: 'Audio for "dos coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_6: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_DSC: "Creates an Audio from a Decimal value with a specified number of decimal places.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_PRM_DSC_0: "The Decimal value to convert to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_PRM_DSC_1: "Number of decimal places to read in the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_0: 'Audio for "one hundred twenty three point one two".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_1: 'Audio for "negative one hundred twenty three point one two zero zero".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_2: 'Audio for "zero point two three four".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_3: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an Audio from a Decimal value with a specified number of decimal places with language context.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Decimal value to convert to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Number of decimal places to read in the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "una coma uno dos".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "uno coma uno dos".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_DSC: "Creates an Audio from a Decimal value to a specified number of decimal places with formatting support.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_PRM_DSC_0: "The Decimal value converted to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_PRM_DSC_1: "Number Format Enum to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_PRM_DSC_2: "Number of decimal places to read in the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_EX_OUT_0: 'Audio for "one two three point one two three".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_EX_OUT_1: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an Audio from a Decimal value to a specified number of decimal places with formatting and language context.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Decimal value converted to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Number Format Enum to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2: "Number of decimal places to read in the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_3: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "uno coma uno dos".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "una coma una dos".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: "Blank Audio.", AR_FN_DSC_TOAUDIONUMBERORDINAL: 'Creates an Audio from a number with ordinal playback such as "first", "second", ..., "seven hundred and sixteenth"', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_DSC: "Creates an ordinal Audio from an Integer.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_RV: "Returns ordinal Audio for the submitted Integer value.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_PRM_DSC_0: "The Integer to convert to Audio. If the Integer value is NOT_SET, blank Audio will be returned. If the Integer value is less than 1 or greater than 999, the audio playback will be read as a normal number and not as an ordinal.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_0: 'Audio for "first".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_1: 'Audio for "two hundred and first".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_2: 'Audio for "five hundredth".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_3: 'Audio for "five thousand".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_4: 'Audio for "negative five hundred".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_5: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an ordinal Audio from an Integer with language context.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_RV: "Returns ordinal Audio for the submitted Integer value based on the supplied language context.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Integer to convert to Audio. If the Integer value is NOT_SET, blank Audio will be returned. If the Integer value is less than 1 or greater than 999, the audio playback will be read as a normal number and not as an ordinal.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "premier".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "premi\xE8re".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Audio for "et".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Audio for "moins un".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: "Blank Audio.", AR_FN_DSC_TOVOICEMAILSNIPPET: "Converts a value to a VoicemailSnippet.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_DSC: "Converts a NOT_SET value to a NOT_SET VoicemailSnippet.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_RV: "Returns a NOT_SET VoicemailSnippet.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_PRM_DSC_0: "The value NOT_SET to convert to a VoicemailSnippet.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_EX_OUT_0: "A NOT_SET VoicemailSnippet.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_DSC: "Returns a VoicemailSnippet value from the supplied VoicemailSnippet value.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_RV: "Returns the supplied VoiceSnippet value.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_PRM_DSC_0: "The VoicemailSnippet value to return.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_EX_OUT_0: "The supplied VoicemailSnippet.", AR_FN_DSC_TOVOICESNIPPET: "Converts a value to a VoiceSnippet.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_DSC: "Converts a NOT_SET value to a NOT_SET VoiceSnippet.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_RV: "Returns a NOT_SET VoiceSnippet.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_PRM_DSC_0: "The value NOT_SET to convert to a VoiceSnippet.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_EX_OUT_0: "A NOT_SET VoiceSnippet.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_DSC: "Returns a VoiceSnippet value from the supplied VoiceSnippet value.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_RV: "Returns the supplied VoiceSnippet value.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_PRM_DSC_0: "The VoiceSnippet value to return.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_EX_OUT_0: "The supplied VoiceSnippet value.", AR_FN_DSC_GETDEFAULTLANGUAGE: "Gets the default supported language on the current flow.", AR_FN_STR_GETDEFAULTSUPPORTEDLANGUAGE_DSC: "Gets the IETF language tag of the default supported language for the current flow.", AR_FN_STR_GETDEFAULTSUPPORTEDLANGUAGE_RV: "Returns the IETF language tag for the default supported language for the current flow.", AR_FN_DSC_GETSUPPORTEDLANGUAGES: "Gets the supported languages configured for the current flow.", AR_FN_STR_COLL_GETSUPPORTEDLANGUAGES_DSC: "Gets a string collection of IETF language tags for the supported languages in the current flow.", AR_FN_STR_COLL_GETSUPPORTEDLANGUAGES_RV: "Returns a string collection of the supported IETF languages tags set on the flow. There will always be one entry in this collection.", AR_FN_DSC_GETCURRENTDATETIMEUTC: "Gets the current date and time in Coordinated Universal Time (UTC).", AR_FN_DTM_GETCURRENTDATETIMEUTC_DSC: "Gets the current date and time in Coordinated Universal Time (UTC)", AR_FN_DTM_GETCURRENTDATETIMEUTC_RV: "Returns a DateTime value that contains the current date and time in Coordinated Universal Time (UTC).", AR_FN_DTM_GETCURRENTDATETIMEUTC_EX_OUT_0: "A DateTime with the date and time when the function was called in Coordinated Universal Time (UTC).", AR_FN_DSC_GETDEFLECTIONURL: "Gets the destination URL if the Deflect action was used to deflect the participant to a digital channel.", AR_FN_STR_GETDEFLECTIONURL_STR_STR_DSC: "Gets the destination URL if the Deflect action was used to deflect the participant to a digital channel.", AR_FN_STR_GETDEFLECTIONURL_STR_STR_RV: "The destination URL if the Deflect action was used to deflect the participant to a digital channel.", AR_FN_STR_GETDEFLECTIONURL_STR_STR_PRM_DSC_0: "The service for which the URL is generated.", AR_FN_STR_GETDEFLECTIONURL_STR_STR_PRM_DSC_1: "The identifier of the account that the message is directed to on the service.", AR_FN_STR_GETDEFLECTIONURL_STR_STR_EX_OUT_0: "The destination URL to Facebook Messenger.", AR_FN_DSC_GETSURVEYQUESTIONANSWER: "Gets the answer to a Survey Question as a String value.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_DSC: "Returns the answer of the supplied SurveyQuestion value as a String.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_RV: `The answer to the supplied Survey Question as a String. If the supplied Survey Question value is NOT_SET, the Survey Question type is 'readOnlyQuestion' or the Survey Question has not been answered, a NOT_SET String value is returned. If the supplied Survey Question was answered as Not Applicable, the String "n/a" is returned.`, AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_PRM_DSC_0: "The Survey Question whose answer you wish to obtain.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_EX_OUT_0: "The answer to the Survey Question Form.Group1_Question1 as a String value.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_EX_OUT_1: "A NOT_SET string value.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_DSC: "Returns the follow-up answer of the supplied SurveyQuestion value as a String.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_RV: "The answer to the supplied Survey Question as a String. If the supplied question is a NOT_SET SurveyQuestion value, the question does not have a follow-up question or if that follow-up question has not been answered, a NOT_SET String will be returned.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_PRM_DSC_0: "The Survey Question whose answer you wish to obtain.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_PRM_DSC_1: "Whether you wish to get the Survey Question's follow-up answer.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_0: "The answer to the follow-up question to the Survey Question Form.Group1_Question1 as a String value.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_1: "The answer to the Survey Question Form.Group1_Question1 as a String value.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_2: "A NOT_SET string value.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_3: "The answer to the Survey Question Form.Group1_Question1 as a String value.", AR_FN_DSC_GETSURVEYQUESTIONISANSWERED: "Gets whether a Survey Question has been answered as a Boolean value.", AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_DSC: "Returns whether a Survey Question has been answered as a Boolean value.", AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_RV: "Whether the supplied Survey Question has been answered. If the supplied Survey Question value is NOT_SET, a Boolean value of false is returned. If the supplied Survey Question type is 'readOnlyQuestion', a Boolean value of true is returned if the read only question was presented using an 'Ask Survey Question' action.", AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_PRM_DSC_0: "The Survey Question that you wish to check.", AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_EX_OUT_0: "true or false, depending on whether Form.Group1_Question1 has been answered.", AR_FN_DSC_GETSURVEYQUESTIONNPSCATEGORY: "If the supplied Survey Question is an NPS question, this returns the NPS question category as a String value.", AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_DSC: "If the supplied Survey Question is an NPS question, this returns the NPS question category as a String value.", AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_RV: "The NPS category of the supplied Survey Question as a String. If the supplied Survey Question value is NOT_SET, if the supplied Survey Question is not an NPS question or if the supplied Survey Question has not been answered, a NOT_SET String value is returned.", AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_PRM_DSC_0: "The Survey Question whose NPS category you wish to obtain.", AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_EX_OUT_0: 'If the supplied Survey Question is an NPS question and has been answered this will return a String value of "promoter" if that score is 10 or 9, "passive" if that score is 8 or 7, and "detractor" if that score is 6 or less. If the supplied Survey Question does not exist, has not been answered or is not an NPS question, a NOT_SET String value will be returned.', AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_EX_OUT_1: "A NOT_SET string value.", AR_FN_DSC_RANDOM: "Generates a random Decimal value.", AR_FN_DEC_RANDOM_DSC: "Generates a random Decimal value that is greater than or equal to 0.0 and less than 1.0.", AR_FN_DEC_RANDOM_RV: "Returns the generated random Decimal value.", AR_FN_DSC_RANDOMINT: "Generates a random Integer value.", AR_FN_LNG_RANDOMINT_LNG_DSC: "Generates a random Integer value between 0 and the supplied limit parameter value.", AR_FN_LNG_RANDOMINT_LNG_RV: "Returns the random generated Integer value.", AR_FN_LNG_RANDOMINT_LNG_PRM_DSC_0: "If limit is a positive integer, the returned value will be greater than or equal to 0 and less than or equal to limit. If limit is a negative integer, the returned value will be less than or equal to zero and greater than or equal to limit. If limit is 0, the returned value is always 0.", AR_FN_LNG_RANDOMINT_LNG_EX_OUT_4: "86 ( this generates a random number that is greater than or equal to 0 and less than or equal to 100 )", AR_FN_LNG_RANDOMINT_LNG_EX_OUT_5: "54 ( this generates a random number that is greater than or equal to 1 and less than or equal to 100 )", AR_FN_DSC_ROUNDUP: "Rounds up a Duration value to a new Duration value.", AR_FN_DUR_ROUNDUP_DUR_DSC: "Rounds up a duration value to 30 seconds, 1 minute, 2 minutes, 5 minutes or intervals of 5 minutes if the duration value is greater than 5 minutes.", AR_FN_DUR_ROUNDUP_DUR_RV: "Returns a duration value rounded up to 30 seconds, 1 minute, 2 minutes, 5 minutes, or intervals of 5 minutes.", AR_FN_DUR_ROUNDUP_DUR_PRM_DSC_0: "The Duration value to round up.", AR_FN_DUR_ROUNDUP_DUR_EX_OUT_0: "A 5 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_EX_OUT_1: "A 1 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_EX_OUT_2: "A 5 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_EX_OUT_3: "A 25 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_EX_OUT_4: "A 1 hour and 25 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_DUR_DSC: "Rounds up a Duration value in intervals of another specified Duration.", AR_FN_DUR_ROUNDUP_DUR_DUR_RV: "Returns a rounded Duration value.", AR_FN_DUR_ROUNDUP_DUR_DUR_PRM_DSC_0: "The Duration value to round up.", AR_FN_DUR_ROUNDUP_DUR_DUR_PRM_DSC_1: "A Duration that is used to calculate intervals for rounding up.", AR_FN_DUR_ROUNDUP_DUR_DUR_EX_OUT_0: "A 3 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_DUR_EX_OUT_1: "A 5 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_DSC: "Rounds up a Duration value to one of the values specified in a Duration Collection.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_RV: "Returns a rounded Duration value.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_PRM_DSC_0: "The Duration value to round up.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_PRM_DSC_1: "A Duration that is used to calculate intervals for rounding up.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_PRM_DSC_2: "The specific Duration values that should be rounded up to. This list will be sorted from lowest to highest at runtime. The first value in this collection which is greater than or equal to the first parameter will be returned.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_EX_OUT_0: "A 4 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_EX_OUT_1: "A 25 minute Duration.", AR_FN_DSC_RANGE: "Returns a range of Durations based on a starting Duration and an interval Duration.", AR_FN_DUR_COLL_RANGE_DUR_DUR_DSC: "Calculates a lower and upper bound Duration collection given an initial Duration and an offset Duration that is used to calculate the lower and upper bounds. NOT_SET Duration values in the collection will not be used in function execution.", AR_FN_DUR_COLL_RANGE_DUR_DUR_RV: "Returns the bounding Duration values in a two-item Duration collection with the lower bound at index 0 and the upper bound at index 1.", AR_FN_DUR_COLL_RANGE_DUR_DUR_PRM_DSC_0: "The Duration value to use as a basis for rounding up and down.", AR_FN_DUR_COLL_RANGE_DUR_DUR_PRM_DSC_1: "A Duration that is used to calculate intervals for rounding up and down.", AR_FN_DUR_COLL_RANGE_DUR_DUR_EX_OUT_0: "A Duration collection. [MakeDuration(0, 3, 0, 0, 0), MakeDuration(0, 7, 0, 0, 0)]", AR_FN_DSC_TOAUDIOTIMERANGE: "Creates Audio to indicate a specific time range.", AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_DSC: "Creates Audio for a time range given two Integers and a TimePart Enum value that indicates how to interpret the values. If the lowerBound value is greater than the upperBound value, they will be swapped so that the lower value is played first in the returned audio playback. If the submitted lower and upper bound are the same, the returned audio will not be presented as a range.", AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_RV: "Returns Audio playback with a time range formatted to the specified TimePart Enum value.", AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_PRM_DSC_0: "The lower bound for the time range.", AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_PRM_DSC_1: "The upper bound for the time range.", AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_PRM_DSC_2: "The time units to use in the returned Audio.", AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_0: 'Audio for "4 to 6 minutes"', AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_1: 'Audio for "8 to 15 minutes"', AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_2: 'Audio for "10 to 15 hours"', AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_3: 'Audio for "1 hour"', AR_FN_DSC_EMAILADDRESSDOMAINPART: "Returns the domain part of an email address.", AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_DSC: "Gets the domain part from an Email Address.", AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_RV: "Returns the email domain part from the submitted Email Address.", AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_PRM_DSC_0: "The Email Address from which to get the domain part.", AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_EX_OUT_0: "The domain part from the Email Address in Email.Message.from.", AR_FN_STR_EMAILADDRESSDOMAINPART_STR_DSC: "Gets the domain part from a String containing an email address.", AR_FN_STR_EMAILADDRESSDOMAINPART_STR_RV: "Returns the domain part from the submitted email address String. If the local part cannot be determined, a NOT_SET String is returned.", AR_FN_STR_EMAILADDRESSDOMAINPART_STR_PRM_DSC_0: "The String that contains an email address from which to get the domain part.", AR_FN_STR_EMAILADDRESSDOMAINPART_STR_EX_OUT_1: "A NOT_SET String.", AR_FN_STR_EMAILADDRESSDOMAINPART_STR_EX_OUT_2: "A NOT_SET String.", AR_FN_DSC_EMAILADDRESSLOCALPART: "Returns the local part of an email address.", AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_DSC: "Gets the local part from an Email Address.", AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_RV: "Returns the email local part from the submitted Email Address.", AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_PRM_DSC_0: "The Email Address from which to get the local part.", AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_EX_OUT_0: "The local part from the Email Address in Email.Message.from.", AR_FN_STR_EMAILADDRESSLOCALPART_STR_DSC: "Gets the local part from a String containing an email address.", AR_FN_STR_EMAILADDRESSLOCALPART_STR_RV: "Returns the local part from the submitted email address String. If the local part cannot be determined, a NOT_SET String is returned.", AR_FN_STR_EMAILADDRESSLOCALPART_STR_PRM_DSC_0: "The String that contains an email address from which to get the local part.", AR_FN_STR_EMAILADDRESSLOCALPART_STR_EX_OUT_1: "A NOT_SET String.", AR_FN_STR_EMAILADDRESSLOCALPART_STR_EX_OUT_2: "A NOT_SET String.", AR_FN_DSC_MAKEEMAILADDRESS: "Returns a new instance of an EmailAddress initialized with the specified values.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_DSC: "Creates a new EmailAddress from the supplied address ID.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_RV: "Returns an EmailAddress with the id property set to the supplied address.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_PRM_DSC_0: "The id property value in the new EmailAddress.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_EX_OUT_0: 'An EmailAddress whose id property is "john.doe@company.com".', AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_EX_OUT_2: "A NOT_SET String.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_DSC: "Creates a new EmailAddress from the supplied address ID and name.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_RV: "Returns an EmailAddress with the id and name properties set to the supplied address and name values.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_PRM_DSC_0: "The id property value in the new EmailAddress.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_PRM_DSC_1: "The name property value in the new EmailAddress.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_EX_OUT_0: 'An EmailAddress whose id property is "john.doe@company.com" and name property is "John".', AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_EX_OUT_3: "A NOT_SET String.", AR_FN_DSC_DETECTLANGUAGE: "Attempts to determine the language for wording contained in a String.", AR_FN_STR_DETECTLANGUAGE_STR_STR_DSC: "Inspects an input String and attempts to identify the language for the verbiage contained in it.", AR_FN_STR_DETECTLANGUAGE_STR_STR_RV: "Returns an IETF language tag String if the language can be determined from the submitted String text. If a language cannot be determined, the value from the defaultLanguageTag parameter will be returned.", AR_FN_STR_DETECTLANGUAGE_STR_STR_PRM_DSC_0: "The String to search.", AR_FN_STR_DETECTLANGUAGE_STR_STR_PRM_DSC_1: "The String value to return if no language could be determined.", AR_FN_STR_DETECTLANGUAGE_STR_STR_EX_OUT_0: '"es" (assuming function detected email body text to be in Spanish)', AR_FN_STR_DETECTLANGUAGE_STR_STR_EX_OUT_7: "A NOT_SET String.", AR_FN_DSC_GETPROMPTTEXTTOSPEECH: "Gets the the text to speech String value for a prompt.", AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_DSC: "Gets a prompt's text to speech String value for the language in which the flow is running.", AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_RV: "Returns the text to speech String value for the prompt in the flow's current language. If the submitted Prompt value is NOT_SET or there is no prompt resource for the current language in which the flow is currently running, a NOT_SET String is returned.", AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_PRM_DSC_0: "The Prompt whose text to speech String value you wish to obtain.", AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_EX_OUT_1: 'Returns the text to speech String value for the user prompt named "Greeting" for the language in which the flow is currently running.', AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_EX_OUT_2: "A NOT_SET String", AR_FN_DSC_GETPROMPTDURATION: "Gets the Duration of prompt audio.", AR_FN_DUR_GETPROMPTDURATION_PROMPT_DSC: "Gets a prompt's audio Duration value for the language in which the flow is running.", AR_FN_DUR_GETPROMPTDURATION_PROMPT_RV: "Returns the Duration for the prompt audio in the flow's current language. If the submitted Prompt value is NOT_SET or there is no prompt resource for the current language in which the flow is currently running, a NOT_SET Duration is returned.", AR_FN_DUR_GETPROMPTDURATION_PROMPT_PRM_DSC_0: "The Prompt whose audio duration value you wish to obtain.", AR_FN_DUR_GETPROMPTDURATION_PROMPT_EX_OUT_0: "A duration value of 0.6 seconds.", AR_FN_DUR_GETPROMPTDURATION_PROMPT_EX_OUT_1: 'Returns the Duration value for the audio contained in the user prompt "Greeting" for the language in which the flow is currently running.', AR_FN_DUR_GETPROMPTDURATION_PROMPT_EX_OUT_2: "A NOT_SET Duration", AR_FN_DSC_GETPROMPTTEXT: "Gets the the text String value for a prompt.", AR_FN_STR_GETPROMPTTEXT_PROMPT_DSC: "Gets a prompt's text String value for the language in which the flow is running.", AR_FN_STR_GETPROMPTTEXT_PROMPT_RV: "Returns the text String value for the prompt in the flow's current language. If the submitted Prompt value is NOT_SET or there is no prompt resource for the current language in which the flow is currently running, a NOT_SET String is returned.", AR_FN_STR_GETPROMPTTEXT_PROMPT_PRM_DSC_0: "The Prompt whose text String value you wish to obtain.", AR_FN_STR_GETPROMPTTEXT_PROMPT_EX_OUT_1: 'Returns the text String value for the user prompt named "Greeting" for the language in which the flow is currently running.', AR_FN_STR_GETPROMPTTEXT_PROMPT_EX_OUT_2: "A NOT_SET String", AR_FN_DSC_ISJSONARRAY: "Checks whether a JSON value contains an array.", AR_FN_BLN_ISJSONARRAY_JSON_DSC: "Returns a Boolean indicating if the supplied JSON value is a JSON array.", AR_FN_BLN_ISJSONARRAY_JSON_RV: "Returns true if the supplied JSON value is a JSON array, otherwise returns false.", AR_FN_BLN_ISJSONARRAY_JSON_PRM_DSC_0: "The JSON value to check whether it is a JSON array.", AR_FN_DSC_ISJSONBOOL: "Checks whether a JSON value contains a boolean value.", AR_FN_BLN_ISJSONBOOL_JSON_DSC: "Returns a Boolean indicating if the supplied JSON value is a Boolean.", AR_FN_BLN_ISJSONBOOL_JSON_RV: "Returns true if the supplied JSON value is a JSON Boolean, otherwise returns false.", AR_FN_BLN_ISJSONBOOL_JSON_PRM_DSC_0: "The JSON value to check whether it is a JSON Boolean.", AR_FN_DSC_ISJSONNULL: "Checks whether a JSON value contains the value null / NOT_SET.", AR_FN_BLN_ISJSONNULL_JSON_DSC: "Returns a Boolean indicating if the supplied JSON value contains the value null.", AR_FN_BLN_ISJSONNULL_JSON_RV: "Returns true if the supplied JSON value contained the value null, otherwise returns false.", AR_FN_BLN_ISJSONNULL_JSON_PRM_DSC_0: "The JSON value to check whether it contains null / NOT_SET.", AR_FN_DSC_ISJSONNUMBER: "Checks whether argument is a JSON Number.", AR_FN_BLN_ISJSONNUMBER_JSON_DSC: "Returns a Boolean indicating if the supplied JSON value contains a number.", AR_FN_BLN_ISJSONNUMBER_JSON_RV: "Returns true if the supplied JSON value is a number, otherwise returns false.", AR_FN_BLN_ISJSONNUMBER_JSON_PRM_DSC_0: "The JSON value to check whether it is a number.", AR_FN_DSC_ISJSONOBJECT: "Checks whether argument is a JSON object.", AR_FN_BLN_ISJSONOBJECT_JSON_DSC: "Returns a Boolean indicating if the supplied JSON value contains a JSON object.", AR_FN_BLN_ISJSONOBJECT_JSON_RV: "Returns true if the supplied JSON value contains a JSON Object, otherwise returns false.", AR_FN_BLN_ISJSONOBJECT_JSON_PRM_DSC_0: "The JSON value to check whether it contains a JSON Object.", AR_FN_DSC_ISJSONSTRING: "Checks whether argument is a JSON String.", AR_FN_BLN_ISJSONSTRING_JSON_DSC: "Returns a Boolean indicating if the supplied JSON value contains a String.", AR_FN_BLN_ISJSONSTRING_JSON_RV: "Returns true if the supplied JSON value contains a string, otherwise returns false.", AR_FN_BLN_ISJSONSTRING_JSON_PRM_DSC_0: "The JSON value to check whether it is a JSON String.", AR_FN_DSC_JSONPARSE: "Parse a value to JSON.", AR_FN_JSON_JSONPARSE_STR_DSC: "Parses the supplied String value to JSON using JSON parsing semantics. Note that keys must be double quoted when attempting to parse a JSON String.", AR_FN_JSON_JSONPARSE_STR_RV: "The supplied String parsed to a JSON value.", AR_FN_JSON_JSONPARSE_STR_PRM_DSC_0: "The String value to parse to a JSON value. Supplying a blank string to JsonParse will invoke error handling.", AR_FN_JSON_JSONPARSE_STR_EX_OUT_0: 'A JSON value that contains the string "Hello".', AR_FN_JSON_JSONPARSE_STR_EX_OUT_1: "A JSON value that contains the array [ 0, 1, 2 ].", AR_FN_JSON_JSONPARSE_STR_EX_OUT_3: "A NOT_SET JSON value.", AR_FN_JSON_JSONPARSE_STR_EX_OUT_4: "A JSON value that contains the boolean value true.", AR_FN_DSC_MAKEEMPTYJSONARRAY: "Makes a JSON value that contains an empty array.", AR_FN_JSON_MAKEEMPTYJSONARRAY_DSC: 'Creates a JSON value containing an empty array. This is a helper function that is the equivalent of calling JsonParse("[]").', AR_FN_JSON_MAKEEMPTYJSONARRAY_RV: "Returns a JSON value that contains an empty array.", AR_FN_JSON_MAKEEMPTYJSONARRAY_EX_OUT_0: "A JSON value that contains an empty array.", AR_FN_DSC_MAKEEMPTYJSONOBJECT: "Makes an empty Object JSON value.", AR_FN_JSON_MAKEEMPTYJSONOBJECT_DSC: 'Creates a JSON value containing an empty JSON Object. This is a helper function that is the equivalent of calling JsonParse("{}").', AR_FN_JSON_MAKEEMPTYJSONOBJECT_RV: "Returns a JSON value that contains an empty object.", AR_FN_JSON_MAKEEMPTYJSONOBJECT_EX_OUT_0: "An JSON value with an empty object.", AR_FN_DSC_MAKEEMPTYJSONSTRING: "Makes a JSON value that contains an empty string.", AR_FN_JSON_MAKEEMPTYJSONSTRING_DSC: 'Creates a JSON value containing an empty string. This is a helper function that is the equivalent of calling JsonParse("\\"\\"").', AR_FN_JSON_MAKEEMPTYJSONSTRING_RV: "Returns a JSON value that contains an empty string.", AR_FN_JSON_MAKEEMPTYJSONSTRING_EX_OUT_0: "A JSON value that contains an empty string.", AR_FN_DSC_MAKENULLJSON: "Makes a JSON value that contains the value null.", AR_FN_JSON_MAKENULLJSON_DSC: 'Creates a JSON value containing the value null. This is a helper function that is the equivalent of calling JsonParse("null").', AR_FN_JSON_MAKENULLJSON_RV: "Returns a JSON value that contains the value null.", AR_FN_JSON_MAKENULLJSON_EX_OUT_0: "A JSON value that contains the value null.", AR_FN_DSC_TOJSON: "Converts an Any singleton value or collection to a JSON value.", AR_FN_JSON_TOJSON_ANY_DSC: "Creates a JSON value with the specified singleton value. Conversion of a String value will return a JSON value with that string value. Use JsonParse if you want a String value to be parsed.", AR_FN_JSON_TOJSON_ANY_RV: "A JSON value converted from the supplied singleton value.", AR_FN_JSON_TOJSON_ANY_PRM_DSC_0: "The singleton value to convert to a JSON value.", AR_FN_JSON_TOJSON_ANY_EX_OUT_0: 'A JSON value that contains the string "2022-08-04T00:00:00.000Z".', AR_FN_JSON_TOJSON_ANY_EX_OUT_1: 'A JSON value that contains the string "Hello".', AR_FN_JSON_TOJSON_ANY_EX_OUT_2: "A JSON value that contains the the number 5.", AR_FN_JSON_TOJSON_ANY_EX_OUT_3: 'A JSON value that contains a string of "{ \\"a\\": true }". Remember, use JsonParse if you want this to create a JSON value with an object instead of a String.', AR_FN_JSON_TOJSON_ANY_EX_OUT_4: 'A JSON value that contains a JSON object of { "amount": 5.25, "code": "USD"}.', AR_FN_JSON_TOJSON_ANY_EX_OUT_5: 'A JSON value that contains a string of "tel:+13178723000".', AR_FN_JSON_TOJSON_ANY_EX_OUT_6: "A JSON value for the supplied ListPickerItem", AR_FN_JSON_TOJSON_ANY_EX_OUT_7: "A JSON value for the supplied ListPickerSection", AR_FN_JSON_TOJSON_ANY_EX_OUT_8: "A JSON value for the supplied ListPicker", AR_FN_JSON_TOJSON_ANY_COLL_DSC: "Creates a JSON value from the specified collection.", AR_FN_JSON_TOJSON_ANY_COLL_RV: "A JSON value converted from the supplied collection.", AR_FN_JSON_TOJSON_ANY_COLL_PRM_DSC_0: "The collection value to convert to a JSON value.", AR_FN_JSON_TOJSON_ANY_COLL_EX_OUT_0: "A JSON value with an array of [ 1, 2, 3 ].", AR_FN_JSON_TOJSON_ANY_COLL_EX_OUT_1: "A JSON value for the supplied ListPickerItems", AR_FN_JSON_TOJSON_ANY_COLL_EX_OUT_2: "A JSON value for the supplied ListPickerSections", AR_FN_JSON_TOJSON_NTS_DSC: "Creates a NOT_SET JSON value.", AR_FN_JSON_TOJSON_NTS_RV: "Returns a NOT_SET JSON value.", AR_FN_JSON_TOJSON_NTS_PRM_DSC_0: "The value NOT_SET", AR_FN_JSON_TOJSON_NTS_EX_OUT_0: "A NOT_SET JSON value.", AR_FN_DSC_TOJSONCOLLECTION: "Converts a JSON value that contains an array to a JSON value collection whose items are JSON values that are cloned from items in the array.", AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_DSC: "Creates a JSON collection whose items are JSON values that contain values from items in the supplied array. This can be very helpful if you need to convert an array contained in a JSON value to a JSON collection value to work with Architect functionality that deals with a collection rather than a singleton value.", AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_RV: "A JSON collection with items that are JSON values cloned from the items in the supplied array.", AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_PRM_DSC_0: "The JSON value that contains an array for the conversion operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_EX_OUT_0: "A JSON collection value with two JSON value items in it. The first JSON value contains the boolean value true and the second JSON value contains the number 100.", AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_EX_OUT_1: "An empty JSON collection value.", AR_FN_DSC_JSONSTRINGIFY: "This converts a value to a JSON notation formatted String value.", AR_FN_STR_JSONSTRINGIFY_ANY_DSC: "This converts a singleton value to a JSON notation formatted String.", AR_FN_STR_JSONSTRINGIFY_ANY_RV: "The JSON notation formatted String.", AR_FN_STR_JSONSTRINGIFY_ANY_PRM_DSC_0: "The JSON value to convert to a JSON notation formatted String.", AR_FN_STR_JSONSTRINGIFY_ANY_COLL_DSC: "This converts a collection value to a JSON notation formatted String.", AR_FN_STR_JSONSTRINGIFY_ANY_COLL_RV: "The JSON notation formatted String.", AR_FN_STR_JSONSTRINGIFY_ANY_COLL_PRM_DSC_0: "The JSON value to convert to a JSON notation formatted String.", AR_FN_STR_JSONSTRINGIFY_NTS_DSC: "Returns a null String for a NOT_SET input value.", AR_FN_STR_JSONSTRINGIFY_NTS_RV: 'The String "null".', AR_FN_STR_JSONSTRINGIFY_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_DSC_ISJSONTRUTHY: "Checks whether supplied JSON argument is truthy.", AR_FN_BLN_ISJSONTRUTHY_JSON_DSC: "This function returns a Boolean value representing whether or not the supplied JSON value is truthy.", AR_FN_BLN_ISJSONTRUTHY_JSON_RV: "Returns true when the JSON value contains a Boolean and it is true, contains a String and the string is non-blank, contains a Number and the value is not equal to 0, contains an array or contains an object. Otherwise the function returns false.", AR_FN_BLN_ISJSONTRUTHY_JSON_PRM_DSC_0: "The JSON value to check whether it is truthy.", AR_FN_DSC_DELETEJSONOBJECTPROPERTY: "Removes a property from a JSON Object.", AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_DSC: "If the supplied JSON value is a JSON Object, this function will return a new JSON Object with the supplied property removed. The original JSON Object is not modified.", AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_RV: "Returns a copy of the supplied JSON Object with the supplied value removed.", AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_0: "The JSON value with an object from which to remove the property. If the supplied JSON value is not an object, this will invoke error handling. Remember the IsJsonObject function can be used to check if a JSON value contains an object.", AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_1: "A String value containing the key of the property to remove from the JSON object. If the property does not exist on the object, a copy of the supplied JSON object value is returned.", AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_EX_OUT_0: 'A JSON object with the following properties: { "a": true, "b": 100 }', AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_EX_OUT_1: 'A JSON object with the following properties: { "a": true, "b": 100, "d": [ true, false ] }', AR_FN_DSC_GETJSONOBJECTPROPERTY: "Retrieves the value of a property from a JSON object contained in a JSON value.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_DSC: "This function returns the value of a property on a JSON object contained in a JSON value by the supplied property name. This function is very helpful if you need to access property names dynamically.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_RV: "A JSON value that contains the JSON object's property value. If the supplied property name does not exist on the JSON object, a NOT_SET JSON value will be returned.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_0: "The JSON value that contains the JSON object whose property value you wish to retrieve. If the supplied JSON value does not contain an object, this will invoke error handling. Remember the IsJsonObject function can be used to check if a JSON value contains an object.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_1: "The name of the property to retrieve from the JSON object. Property names are matched case sensitively.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_0: 'A JSON value that contains the string "John".', AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_1: 'A JSON value that contains the string "Doe".', AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_2: "A NOT_SET JSON value.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_3: "A JSON value that contains the value null.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_4: "A NOT_SET JSON value.", AR_FN_DSC_GETJSONOBJECTPROPERTYNAMES: "Creates a String array of the property names contained within the supplied JSON Object.", AR_FN_STR_COLL_GETJSONOBJECTPROPERTYNAMES_JSON_DSC: "Returns a String array of all property names within the supplied JSON value that contains an object.", AR_FN_STR_COLL_GETJSONOBJECTPROPERTYNAMES_JSON_RV: "A String array of the property names contained within it.", AR_FN_STR_COLL_GETJSONOBJECTPROPERTYNAMES_JSON_PRM_DSC_0: "The JSON object from which to get property names. If the supplied JSON value does not contain an object, this will invoke error handling. Remember the IsJsonObject function can be used to check if a JSON value contains an object.", AR_FN_DSC_SETJSONOBJECTPROPERTY: "Sets the property on a JSON Object with the specified key and value and returns a copy of the JSON object with the new key/value pair.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_DSC: "Sets a key by name to a value on a JSON object.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_RV: "A copy of the supplied JSON object with the key set to the supplied value.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_PRM_DSC_0: "The JSON object to set the property on. If the supplied JSON value is not an object, this will invoke error handling. Remember the IsJsonObject function can be used to check if a JSON value contains an object.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_PRM_DSC_1: "The name of the key to set.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_PRM_DSC_2: "The value to set for the key.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_EX_OUT_0: 'A JSON object with the value of {"myKey": 42}', AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_EX_OUT_1: 'A JSON object with the value of { "a": true, "b": 100, "c": [ true, false ], "A": 5 }', AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_DSC: "Sets a key by name to a collection value on a JSON object.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_RV: "A copy of the supplied JSON object with the key set to the supplied value.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_PRM_DSC_0: "The JSON object to set the property on. If the supplied JSON value is not an object, this will invoke error handling. Remember the IsJsonObject function can be used to check if a JSON value contains an object.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_PRM_DSC_1: "The name of the key to set.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_PRM_DSC_2: "The value to set for the key.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_EX_OUT_0: 'A JSON object with the value of { "myKeys": [ 42, 180 ] }', AR_FN_DSC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE: "Gets the confidence score of a knowledge base document.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_DSC: "Takes a knowledge base document and returns the confidence of that document from the last knowledge search. A search happens for example while executing a Wait for Input or Digital Menu action. The result of that search can (optionally) be stored in a KnowledgeBaseDocumentCollection variable. When these results are stored, the confidence will be stored along with them, which can then be extracted by this function to determine which is the strongest match to the user's query. If the document was not in the list of results from the most recent search, returns NOT_SET.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_RV: "Returns a confidence score from the supplied knowledge base document.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_PRM_DSC_0: "The knowledge base document.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_EX_OUT_0: "A NOT_SET Decimal.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_DSC: "Returns a NOT_SET confidence score for a NOT_SET KnowledgeBaseDocument.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_RV: "Returns a NOT_SET confidence score.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_PRM_DSC_0: "The NOT_SET knowledge base document.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_EX_OUT_0: "A NOT_SET confidence score." } }; + e2.exports = { expression: { AR_TP_AGENTSCOREPAIR: "AgentScorePair", AR_TP_AGENTSCOREPAIR_PROP_AGENT_DSC: "The agent to associate with the routing score.", AR_TP_AGENTSCOREPAIR_PROP_SCORE_DSC: "The preferred agent routing score to associate with the agent. Valid values are 0 to 100. Higher scores get routed to agents sooner when preferred agent routing is configured.", AR_TP_AUDIO: "Audio", AR_TP_BLN: "Boolean", AR_TP_STRINGKEYVALUEPAIR: "StringKeyValuePair", AR_TP_STRINGKEYVALUEPAIR_PROP_KEY_DSC: "A unique ID for the data pair.", AR_TP_STRINGKEYVALUEPAIR_PROP_VALUE_DSC: "The value for the data pair.", AR_TP_CHATGUEST: "ChatGuest", AR_TP_CHATGUEST_PROP_ID_DSC: "A unique ID for the guest.", AR_TP_CHATGUEST_PROP_DISPLAYNAME_DSC: "The display name for the guest.", AR_TP_CHATGUEST_PROP_AVATARIMAGEURL_DSC: "The url for the guest's avatar image.", AR_TP_CHATGUEST_PROP_ISAUTHENTICATED_DSC: "Whether or not authenticated mode was set when starting the chat.", AR_TP_CHATGUEST_PROP_CUSTOMFIELDS_DSC: "The collection of custom fields associated with the guest.", AR_TP_CHATGUEST_PROP_AUTHENTICATEDCUSTOMFIELDS_DSC: "The collection of authenticated custom fields populated when the guest is authenticated.", AR_TP_CUR: "Currency", AR_TP_CUR_PROP_AMOUNT_DSC: "The decimal amount for the Currency", AR_TP_CUR_PROP_CODE_DSC: "The three letter ISO 4217 code for the Currency", AR_TP_ASSIGNEDCUSTOMERINTENT: "AssignedCustomerIntent", AR_TP_ASSIGNEDCUSTOMERINTENT_PROP_CUSTOMERINTENT_DSC: "The assigned Customer Intent.", AR_TP_ASSIGNEDCUSTOMERINTENT_PROP_DATEMOSTRECENTLYASSIGNED_DSC: "The DateTime the Customer Intent was most recently assigned.", AR_TP_ASSIGNEDCUSTOMERSEGMENT: "AssignedCustomerSegment", AR_TP_ASSIGNEDCUSTOMERSEGMENT_PROP_CUSTOMERSEGMENT_DSC: "The assigned Customer Segment.", AR_TP_ASSIGNEDCUSTOMERSEGMENT_PROP_DATEASSIGNED_DSC: "The DateTime the Customer Segment was assigned.", AR_TP_CUSTOMERSEGMENT: "CustomerSegment", AR_TP_CUSTOMERSEGMENT_PROP_ID_DSC: "The ID of the Customer Segment.", AR_TP_CUSTOMERSEGMENT_PROP_DSC: "The name of the Customer Segment.", AR_TP_CUSTOMERINTENT: "CustomerIntent", AR_TP_CUSTOMERINTENT_PROP_ID_DSC: "The ID of the Customer Intent.", AR_TP_CUSTOMERINTENT_PROP_DSC: "The name of the Customer Intent.", AR_TP_CUSTOMERINTENT_PROP_CATEGORYID_DSC: "The ID of the category to which the Customer Intent belongs.", AR_TP_DTM: "DateTime", AR_TP_DATE: "Date", AR_TP_DEC: "Decimal", AR_TP_DIVISION: "Division", AR_TP_DIVISION_PROP_ID_DSC: "The ID of the division.", AR_TP_DIVISION_PROP_DSC: "The name of the division.", AR_TP_DUR: "Duration", AR_TP_LNG: "Integer", AR_TP_EMAIL: "Email", AR_TP_EMAIL_PROP_ID_DSC: "A unique ID for the email.", AR_TP_EMAIL_PROP_AUTOGENERATED_DSC: "Whether or not the email was auto-generated like an Out of Office reply.", AR_TP_EMAIL_PROP_SPAM_DSC: "Whether or not the email was marked as spam.", AR_TP_EMAIL_PROP_FROM_DSC: "The email from address.", AR_TP_EMAIL_PROP_TO_DSC: "The collection of email addresses specified in the email's To list.", AR_TP_EMAIL_PROP_CC_DSC: "The collection of email addresses specified in the email's Cc ( carbon copy ) list.", AR_TP_EMAIL_PROP_BCC_DSC: "The collection of email addresses specified in the email's Bcc ( blind carbon copy ) list.", AR_TP_EMAIL_PROP_SUBJECT_DSC: "The email subject.", AR_TP_EMAIL_PROP_DIRECTION_DSC: 'The email direction ( "inbound", "outbound" or "unknown" ).', AR_TP_EMAIL_PROP_REPLYTO_DSC: "The raw address where replies to this email should be sent.", AR_TP_EMAIL_PROP_ROUTE_DSC: "The email address of the email route which received this email. If not received by an email route, this will be NOT_SET.", AR_TP_EMAIL_PROP_BODY_DSC: "The email body as plain text.", AR_TP_EMAIL_PROP_HTMLBODY_DSC: "The email body as HTML.", AR_TP_EMAIL_PROP_ATTACHMENTS_DSC: "The collection of email attachments on this email.", AR_TP_EMAIL_PROP_DATETIMEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for the email.", AR_TP_EMAILADDRESS: "EmailAddress", AR_TP_EMAILADDRESS_PROP_DSC: "The friendly name for the email address.", AR_TP_EMAILADDRESS_PROP_ID_DSC: 'The full email address ID similar to "john.doe@company.com".', AR_TP_EMAILATTACHMENT: "EmailAttachment", AR_TP_EMAILATTACHMENT_PROP_ID_DSC: "The unique ID for the attachment.", AR_TP_EMAILATTACHMENT_PROP_CONTENTLENGTH_DSC: "The size of the attachment in bytes.", AR_TP_EMAILATTACHMENT_PROP_CONTENTTYPE_DSC: 'The content type of the attachment, typically in MIME format like "text/plain" or "text/html".', AR_TP_EMAILATTACHMENT_PROP_CONTENTURI_DSC: "The URI which indicates where the content of the attachment can be retrieved.", AR_TP_EMAILATTACHMENT_PROP_DSC: "The name of the attachment.", AR_TP_DRAFTEMAIL: "DraftEmail", AR_TP_DRAFTEMAIL_PROP_ATTACHMENTS_DSC: "The collection of attachments on the draft email.", AR_TP_DRAFTEMAIL_PROP_BCC_DSC: "The collection of email addresses specified in the draft email's Bcc ( blind carbon copy ) list.", AR_TP_DRAFTEMAIL_PROP_CC_DSC: "The collection of email addresses specified in the draft email's Cc ( carbon copy ) list.", AR_TP_DRAFTEMAIL_PROP_FROM_DSC: "The draft email from address.", AR_TP_DRAFTEMAIL_PROP_HEADERS_DSC: "Additional email headers not represented by other properties such as subject, to, cc, or bcc. This is a JSON object whose keys are header names.", AR_TP_DRAFTEMAIL_PROP_SUBJECT_DSC: "The draft email subject.", AR_TP_DRAFTEMAIL_PROP_TO_DSC: "The collection of email addresses specified in the draft email's To list.", AR_TP_DRAFTEMAILADDRESS: "DraftEmailAddress", AR_TP_DRAFTEMAILADDRESS_PROP_EMAIL_DSC: 'The full email address ID similar to "john.doe@company.com".', AR_TP_DRAFTEMAILADDRESS_PROP_DSC: "The friendly name for the email address.", AR_TP_DRAFTEMAILATTACHMENT: "DraftEmailAttachment", AR_TP_DRAFTEMAILATTACHMENT_PROP_ATTACHMENTID_DSC: "The attachment identifier.", AR_TP_DRAFTEMAILATTACHMENT_PROP_CONTENTLENGTH_DSC: "The size of the attachment in bytes.", AR_TP_DRAFTEMAILATTACHMENT_PROP_CONTENTTYPE_DSC: 'The content type of the attachment, typically in MIME format like "text/plain" or "text/html".', AR_TP_DRAFTEMAILATTACHMENT_PROP_CONTENTURI_DSC: "The URI which indicates where the content of the attachment can be retrieved.", AR_TP_DRAFTEMAILATTACHMENT_PROP_DSC: "The name of the attachment.", AR_TP_EXTERNALORGANIZATION: "ExternalOrganization", AR_TP_EXTERNALORGANIZATION_PROP_ID_DSC: "A unique ID for the organization.", AR_TP_EXTERNALORGANIZATION_PROP_CREATEDATETIMEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the organization entry was created", AR_TP_EXTERNALORGANIZATION_PROP_MODIFYDATETIMEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the organization entry was last updated", AR_TP_EXTERNALORGANIZATION_PROP_KIND_DSC: 'The internal classification for the record type. This will be "externalOrg".', AR_TP_EXTERNALORGANIZATION_PROP_DSC: "The displayable name of the organization.", AR_TP_EXTERNALORGANIZATION_PROP_COMPANYTYPE_DSC: 'The company type of the organization. The values are unrestricted, but often values such as "Customer - Direct", "Prospect", "Partner" are used.', AR_TP_EXTERNALORGANIZATION_PROP_INDUSTRY_DSC: 'The industry of the organization. The values are unrestricted, but often values such as "Telecom", "Health Care", "Tax Prep", etc are used.', AR_TP_EXTERNALORGANIZATION_PROP_PRIMARYCONTACTID_DSC: "Returns a NOT_SET String at flow runtime. This property is being kept for backward compatibility but there no primary contact ID associated with a Genesys Cloud external organization as of March 24, 2025.", AR_TP_EXTERNALORGANIZATION_PROP_ADDRESS_DSC: "The primary address of the organization.", AR_TP_EXTERNALORGANIZATION_PROP_PHNBR_DSC: "The primary phone number of the organization.", AR_TP_EXTERNALORGANIZATION_PROP_FAXNUMBER_DSC: "The fax number of the organization.", AR_TP_EXTERNALORGANIZATION_PROP_EMPLOYEECOUNT_DSC: "The number of employees in the organization.", AR_TP_EXTERNALORGANIZATION_PROP_REVENUE_DSC: "The average revenue of the organization. The values are unrestricted but often the data entered reflects the annual amount.", AR_TP_EXTERNALORGANIZATION_PROP_TAGS_DSC: "Terms used to describe the organization. Tags are often used to make organization records easily searchable/filterable.", AR_TP_EXTERNALORGANIZATION_PROP_TICKERS_DSC: "Stock ticker symbols associated with the organization.", AR_TP_EXTERNALORGANIZATION_PROP_TWITTERINFO_DSC: "The Twitter messaging system user information for the organization.", AR_TP_EXTERNALORGANIZATION_PROP_EXTERNALSYSTEMURL_DSC: "The external system URL of the organization.", AR_TP_EXTERNALORGANIZATION_PROP_WEBSITES_DSC: "Websites associated with the organization", AR_TP_EXTERNALORGANIZATION_PROP_DIVISIONID_DSC: "The identifier of the division to which the external organization belongs.", AR_TP_EXTERNALADDRESS: "ExternalAddress", AR_TP_EXTERNALADDRESS_PROP_ADDRESS1_DSC: "The first address line.", AR_TP_EXTERNALADDRESS_PROP_ADDRESS2_DSC: "The second address line.", AR_TP_EXTERNALADDRESS_PROP_CITY_DSC: "The City field of the Address", AR_TP_EXTERNALADDRESS_PROP_STATE_DSC: "The State field of the Address", AR_TP_EXTERNALADDRESS_PROP_POSTALCODE_DSC: "The Postal Code field of the Address", AR_TP_EXTERNALADDRESS_PROP_COUNTRYCODE_DSC: "The Country Code field of the Address", AR_TP_CARD: "Card", AR_TP_CARD_PROP_TITLE_DSC: "The card title.", AR_TP_CARD_PROP_TITLE_DISP_VAL: "Title", AR_TP_CARD_PROP_DESCRIPTION_DSC: "The card description.", AR_TP_CARD_PROP_DESCRIPTION_DISP_VAL: "Description", AR_TP_CARD_PROP_IMAGE_DSC: "The image to use on the card.", AR_TP_CARD_PROP_IMAGE_DISP_VAL: "Image", AR_TP_CARD_PROP_BUTTONS_DSC: "The buttons to use for this card.", AR_TP_CARD_PROP_BUTTONS_DISP_VAL: "Buttons", AR_TP_CHOICE: "Choice", AR_TP_CHOICE_PROP_LABEL_DSC: 'A display label. When the choice type is "postback" and the value comes from a list or dynamic list slot type on an Ask for Slot action, this property cannot be configured since the label will come from the value configured on the list or dynamic list slot type in the Natural Language Understanding section based on the language in which the flow is running.', AR_TP_CHOICE_PROP_LABEL_DISP_VAL: "Alternative button label", AR_TP_CHOICE_PROP_VALUE_DSC: "The value that will be used for this choice at runtime.", AR_TP_CHOICE_PROP_VALUE_DISP_VAL: "Button value", AR_TP_CHOICE_PROP_TYPE_DSC: 'The type property defines how the value on this choice should be treated at flow runtime. "postback" indicates the value is returned to the flow at flow runtime and "url" indicates the choice value is a URL and is not returned to the flow at flow runtime.', AR_TP_CHOICE_PROP_TYPE_DISP_VAL: "Type", AR_TP_CHOICE_PROP_COMMAND_DSC: "The command value that will be used for this choice at runtime.", AR_TP_CHOICE_PROP_COMMAND_DISP_VAL: "Skip Response", AR_TP_QUICKREPLIES: "QuickReplies", AR_TP_QUICKREPLIES_PROP_BUTTONS_DSC: "The buttons to use as quick replies. The order of the choices in this array determine the order in which they are presented.", AR_TP_QUICKREPLIES_PROP_BUTTONS_DISP_VAL: "Buttons", AR_TP_QUICKREPLIES_PROP_QUICKREPLYSUMMARY_DSC: 'Summary displayed in supporting messaging platforms after the user selects a quick reply. e.g. "Thanks for your selection"', AR_TP_QUICKREPLIES_PROP_QUICKREPLYSUMMARY_DISP_VAL: "Quick Reply Summary", AR_TP_CAROUSEL: "Carousel", AR_TP_CAROUSEL_PROP_CARDS_DSC: "The cards to use for this carousel.", AR_TP_CHOOSER: "Chooser", AR_TP_CHOOSER_PROP_PRESENTATION_DSC: "How to present the value choices.", AR_TP_CHOOSER_PROP_CAROUSEL_DSC: 'If the presentation property is set to "carousel", this specifies the carousel to use at flow runtime for the chooser.', AR_TP_CHOOSER_PROP_QUICKREPLIES_DSC: 'If the presentation property is set to "quickReplies", this specifies the quick replies to use at flow runtime for the chooser.', AR_TP_CHOOSER_PROP_TIMEPICKER_DSC: 'If the presentation property is set to "timePicker", this specifies the TimePicker to use at flow runtime for the chooser.', AR_TP_CHOOSER_PROP_LISTPICKER_DSC: 'If the presentation property is set to "listPicker", this specifies the list picker to use at flow runtime for the chooser.', AR_TP_EXTERNALFACEBOOKINFO: "ExternalFacebookInfo", AR_TP_EXTERNALFACEBOOKINFO_PROP_DISPLAYNAME_DSC: "The Facebook messaging system user display name for the contact.", AR_TP_EXTERNALFACEBOOKINFO_PROP_IDS_DSC: "Facebook messaging system IDs for the contact.", AR_TP_EXTERNALFACEBOOKID: "ExternalFacebookId", AR_TP_EXTERNALFACEBOOKID_PROP_SCOPEDID_DSC: "A Facebook messaging system scoped ID for the contact.", AR_TP_EXTERNALLINEINFO: "ExternalLineInfo", AR_TP_EXTERNALLINEINFO_PROP_DISPLAYNAME_DSC: "The LINE messaging system user display name for the contact.", AR_TP_EXTERNALLINEINFO_PROP_IDS_DSC: "LINE messaging system IDs for the contact.", AR_TP_EXTERNALLINEID: "ExternalLineId", AR_TP_EXTERNALLINEID_PROP_USERID_DSC: "A LINE messaging system user ID for the contact.", AR_TP_EXTERNALTWITTERINFO: "ExternalTwitterInfo", AR_TP_EXTERNALTWITTERINFO_PROP_ID_DSC: "The Twitter messaging system user ID for the contact.", AR_TP_EXTERNALTWITTERINFO_PROP_DSC: "The Twitter messaging system user display name for the contact.", AR_TP_EXTERNALTWITTERINFO_PROP_SCREENNAME_DSC: "The Twitter messaging system user screen name for the contact.", AR_TP_EXTERNALPHONENUMBER: "ExternalPhoneNumber", AR_TP_EXTERNALPHONENUMBER_PROP_DISPLAY_DSC: 'The number suitable for displaying to a user; eg, "(212) 555-1212", "1-800-CALLNOW"', AR_TP_EXTERNALPHONENUMBER_PROP_EXTENSION_DSC: "The extension of the phone number, if any.", AR_TP_EXTERNALPHONENUMBER_PROP_USERINPUT_DSC: "The user input field of the phone number.", AR_TP_EXTERNALPHONENUMBER_PROP_E164_DSC: 'The E.164 formatted String for a "tel" scheme phone number with a valid E.164 number, otherwise a NOT_SET String.', AR_TP_EXTERNALPHONENUMBER_PROP_COUNTRYCODE_DSC: "The Country Code field of the phone number.", AR_TP_EXTERNALPHONENUMBER_PROP_ACCEPTSSMS_DSC: "True if this number can accept SMS messages.", AR_TP_EXTERNALWHATSAPPINFO: "ExternalWhatsAppInfo", AR_TP_EXTERNALWHATSAPPINFO_PROP_DISPLAYNAME_DSC: "The WhatsApp messaging system user display name for the contact.", AR_TP_EXTERNALWHATSAPPINFO_PROP_PHNBR_DSC: "The WhatsApp messaging system phone number for the contact.", AR_TP_EXTERNALCONTACT: "ExternalContact", AR_TP_EXTERNALCONTACT_PROP_ID_DSC: "A unique ID for the contact.", AR_TP_EXTERNALCONTACT_PROP_CREATEDATETIMEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the contact entry was created", AR_TP_EXTERNALCONTACT_PROP_MODIFYDATETIMEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the contact entry was last updated", AR_TP_EXTERNALCONTACT_PROP_KIND_DSC: 'The internal classification for the record type. For external contacts, the kind will be "contact".', AR_TP_EXTERNALCONTACT_PROP_DIVISIONID_DSC: "The identifier of the division to which the external contact belongs.", AR_TP_EXTERNALCONTACT_PROP_EXTERNALORGANIZATION_DSC: "The organization for this contact.", AR_TP_EXTERNALCONTACT_PROP_FACEBOOKINFO_DSC: "The Facebook messaging system user information for the contact.", AR_TP_EXTERNALCONTACT_PROP_FIRSTNAME_DSC: "The first name of the contact.", AR_TP_EXTERNALCONTACT_PROP_MIDDLENAME_DSC: "The middle name of the contact.", AR_TP_EXTERNALCONTACT_PROP_LASTNAME_DSC: "The last name of the contact.", AR_TP_EXTERNALCONTACT_PROP_LINEINFO_DSC: "The LINE messaging system user information for the contact.", AR_TP_EXTERNALCONTACT_PROP_SALUTATION_DSC: "The salutation suggested when addressing the contact.", AR_TP_EXTERNALCONTACT_PROP_TITLE_DSC: 'The title of the contact. The values are unrestricted, but often values such as "Vice President", "Director", "Employee" are used.', AR_TP_EXTERNALCONTACT_PROP_TWITTERINFO_DSC: "The Twitter messaging system user information for the contact.", AR_TP_EXTERNALCONTACT_PROP_WHATSAPPINFO_DSC: "The WhatsApp messaging system user information for the contact.", AR_TP_EXTERNALCONTACT_PROP_WORKPHONE_DSC: "The work phone number of the contact.", AR_TP_EXTERNALCONTACT_PROP_CELLPHONE_DSC: "The cell phone number of the contact.", AR_TP_EXTERNALCONTACT_PROP_HOMEPHONE_DSC: "The home phone number of the contact.", AR_TP_EXTERNALCONTACT_PROP_OTHERPHONE_DSC: "The other phone number of the contact.", AR_TP_EXTERNALCONTACT_PROP_WORKEMAIL_DSC: "The work email address of the contact.", AR_TP_EXTERNALCONTACT_PROP_PERSONALEMAIL_DSC: "The personal email address of the contact.", AR_TP_EXTERNALCONTACT_PROP_OTHEREMAIL_DSC: "Other email address of the contact.", AR_TP_EXTERNALCONTACT_PROP_ADDRESS_DSC: "The address of the contact.", AR_TP_EXTERNALCONTACT_PROP_SURVEYOPTOUT_DSC: "True if this contact has opted out of survey invites.", AR_TP_EXTERNALCONTACT_PROP_EXTERNALSYSTEMURL_DSC: "The external system URL of the contact.", AR_TP_EXTERNALCONTACT_PROP_TYPE_DSC: "The type of contact.", AR_TP_EXTERNALCONTACT_PROP_INSTAGRAMINFO_DSC: "User information for an Instagram account.", AR_TP_EXTERNALCONTACT_PROP_EXTERNALIDINFO_DSC: "A list of external identifiers.", AR_TP_EXTERNALCONTACT_PROP_APPLEINFO_DSC: "User information for Apple accounts.", AR_TP_EXTERNALCONTACT_PROP_CANONICALCONTACTID_DSC: "The canonical contact ID if this contact has been merged.", AR_TP_EXTERNALCONTACT_PROP_MERGEDFROM_DSC: "List of contact IDs that were merged from to create this contact.", AR_TP_EXTERNALCONTACT_PROP_MERGEDTO_DSC: "The contact ID this contact was merged to.", AR_TP_EXTERNALCONTACT_PROP_MERGESET_DSC: "Set of contact IDs that are part of the same merge group.", AR_TP_EXTERNALCONTACT_PROP_CUSTOMFIELDS_DSC: "Custom fields.", AR_TP_EXTERNALCONTACT_PROP_SCHEMAID_DSC: "The identifier of the custom fields schema associated with the contact.", AR_TP_EXTERNALCONTACT_PROP_SCHEMAVERSION_DSC: "The version of the custom fields schema associated with the contact.", AR_TP_EXTERNALINSTAGRAMINFO: "ExternalInstagramInfo", AR_TP_EXTERNALINSTAGRAMINFO_PROP_DISPLAYNAME_DSC: "The display name of the person who owns this Instagram account.", AR_TP_EXTERNALINSTAGRAMINFO_PROP_HANDLE_DSC: "The handle of the person who owns this Instagram account.", AR_TP_EXTERNALINSTAGRAMINFO_PROP_IDS_DSC: "Scoped ID for an Instagram user interacting with a page or app.", AR_TP_EXTERNALINSTAGRAMSCOPEDID: "ExternalInstagramScopedId", AR_TP_EXTERNALINSTAGRAMSCOPEDID_PROP_SCOPEDID_DSC: "The unique page/app-specific scopedId for the user.", AR_TP_EXTERNALAPPLEINFO: "ExternalAppleInfo", AR_TP_EXTERNALAPPLEINFO_PROP_ID_DSC: "The Apple opaque identifier.", AR_TP_EXTERNALIDINFO: "ExternalIdInfo", AR_TP_EXTERNALIDINFO_PROP_EXTERNALSOURCE_DSC: "The external source of the identifier.", AR_TP_EXTERNALIDINFO_PROP_VALUE_DSC: "The external identifier value.", AR_TP_EXTERNALSOURCE: "ExternalSource", AR_TP_EXTERNALSOURCE_PROP_ID_DSC: "The globally unique identifier for the external source.", AR_TP_EXTERNALSOURCE_PROP_DSC: "The name of the external source.", AR_TP_EXTERNALSOURCE_PROP_ACTIVE_DSC: "Whether the external source is active.", AR_TP_EXTERNALSOURCE_PROP_LINKCONFIGURATION_DSC: "The link configuration of the external source.", AR_TP_EXTERNALLINKCONFIGURATION: "ExternalLinkConfiguration", AR_TP_EXTERNALLINKCONFIGURATION_PROP_URITEMPLATE_DSC: "The URI template for the link configuration.", AR_TP_IMAGE: "Image", AR_TP_IMAGE_PROP_ID_DSC: "The image ID. If an ID is present, this will be the identifier of the Canned Response image response asset. Otherwise if this is an image created from a MakeImageFromUrl call, the ID will be a NOT_SET String.", AR_TP_IMAGE_PROP_DSC: "The image name. If a name is present, this will be the name of the Canned Response image response asset. Otherwise if this is an image created from a MakeImageFromUrl call, the name will be a NOT_SET String.", AR_TP_IMAGE_PROP_URL_DSC: "The universal resource locator that specifies the location of the image.", AR_TP_EMPTYJSON: "EmptyJson", AR_TP_JSON: "JSON", AR_TP_FORMINPUT: "FormInput", AR_TP_FORMINPUT_PROP_TITLE_DSC: "The main text displayed for the input field.", AR_TP_FORMINPUT_PROP_TITLE_DISP_VAL: "Title", AR_TP_FORMINPUT_PROP_SUBTITLE_DSC: "Additional text providing more details about the input field.", AR_TP_FORMINPUT_PROP_SUBTITLE_DISP_VAL: "Subtitle", AR_TP_FORMINPUT_PROP_PLACEHOLDERTEXT_DSC: "Placeholder text for input field.", AR_TP_FORMINPUT_PROP_PLACEHOLDERTEXT_DISP_VAL: "Placeholder Text", AR_TP_FORMINPUT_PROP_ISMULTIPLELINE_DSC: "Whether the input should allow multiple lines of text.", AR_TP_FORMINPUT_PROP_ISMULTIPLELINE_DISP_VAL: "Multiple Line", AR_TP_FORMINPUT_PROP_ISREQUIRED_DSC: "Whether the input field is required to be filled in.", AR_TP_FORMINPUT_PROP_ISREQUIRED_DISP_VAL: "Required", AR_TP_JOURNEYAPP: "JourneyApp", AR_TP_JOURNEYAPP_PROP_DSC: 'The name of the application such as "mybankingapp".', AR_TP_JOURNEYAPP_PROP_NAMESPACE_DSC: 'The namespace of the application such as "com.genesys.bancodinero".', AR_TP_JOURNEYAPP_PROP_VERSION_DSC: 'The version of the application such as "5.9.27".', AR_TP_JOURNEYAPP_PROP_BUILDNUMBER_DSC: 'The build number of the application such as "701".', AR_TP_JOURNEYACTION: "JourneyAction", AR_TP_JOURNEYACTION_PROP_ID_DSC: "A unique ID for the journey action.", AR_TP_JOURNEYACTION_PROP_ACTIONMAP_DSC: "The journey action map associated with the journey action.", AR_TP_JOURNEYACTIONMAP: "JourneyActionMap", AR_TP_JOURNEYACTIONMAP_PROP_ID_DSC: "A unique ID for the journey action map.", AR_TP_JOURNEYACTIONMAP_PROP_VERSION_DSC: "The version of the journey action map.", AR_TP_JOURNEYBROWSER: "JourneyBrowser", AR_TP_JOURNEYBROWSER_PROP_FAMILY_DSC: 'The browser family such as "Chrome", "Firefox" or "Safari".', AR_TP_JOURNEYBROWSER_PROP_VERSION_DSC: 'The browser version as a string such as "68.0.3440.84".', AR_TP_JOURNEYBROWSER_PROP_LANG_DSC: "The language the browser is set to. Must conform to BCP 47.", AR_TP_JOURNEYBROWSER_PROP_FINGERPRINT_DSC: "Fingerprint generated by looking at the individual browser features.", AR_TP_JOURNEYBROWSER_PROP_ISMOBILE_DSC: "Flag that is true for mobile devices.", AR_TP_JOURNEYBROWSER_PROP_VIEWHEIGHT_DSC: "Browser's viewport height.", AR_TP_JOURNEYBROWSER_PROP_VIEWWIDTH_DSC: "Browser's viewport width.", AR_TP_JOURNEYBROWSER_PROP_FEATURESFLASH_DSC: "Whether Adobe Flash is installed.", AR_TP_JOURNEYBROWSER_PROP_FEATURESJAVA_DSC: "Whether Java is installed.", AR_TP_JOURNEYBROWSER_PROP_FEATURESPDF_DSC: "Whether the browser recognizes PDF (Portable Document Format) files.", AR_TP_JOURNEYBROWSER_PROP_FEATURESWEBRTC_DSC: "Whether WebRTC is supported.", AR_TP_JOURNEYCAMPAIGN: "JourneyCampaign", AR_TP_JOURNEYCAMPAIGN_PROP_CONTENT_DSC: 'Differentiate ads or links that point to the same URL such as "textlink".', AR_TP_JOURNEYCAMPAIGN_PROP_MEDIUM_DSC: 'Identify a medium such as email or cost-per-click ( "CPC" ).', AR_TP_JOURNEYCAMPAIGN_PROP_DSC: 'Identify a specific product promotion or strategic campaign such as "320banner".', AR_TP_JOURNEYCAMPAIGN_PROP_SOURCE_DSC: 'Identify a search engine, newsletter name, or other source such as "Google".', AR_TP_JOURNEYCAMPAIGN_PROP_TERM_DSC: 'The keywords for this ad such as "running+shoes". This string will be URL encoded.', AR_TP_JOURNEYCAMPAIGN_PROP_CLICKID_DSC: "The click ID (unique number that is generated when a potential customer clicks on an affiliate link).", AR_TP_JOURNEYCAMPAIGN_PROP_NETWORK_DSC: "The ad network to which the click ID belongs.", AR_TP_JOURNEYCONTEXT: "JourneyContext", AR_TP_JOURNEYCONTEXT_PROP_CUSTOMER_DSC: "The journey customer associated with the journey context.", AR_TP_JOURNEYCONTEXT_PROP_CUSTOMERSESSION_DSC: "The journey customer session associated with the journey context.", AR_TP_JOURNEYCONTEXT_PROP_TRIGGERINGACTION_DSC: "The journey action that triggered the journey context.", AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE: "JourneyCustomEventAttribute", AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE_PROP_DSC: "The name of the custom event attribute.", AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE_PROP_DATATYPE_DSC: 'The data type of the custom attributes such as "string", "boolean" or "number".', AR_TP_JOURNEYCUSTOMEVENTATTRIBUTE_PROP_VALUE_DSC: "The value of the custom attribute.", AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST: "JourneyCustomEventAttributeList", AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST_PROP_DSC: "The name of the custom event attribute list.", AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST_PROP_DATATYPE_DSC: 'The data type of the custom attributes such as "string", "boolean" or "number".', AR_TP_JOURNEYCUSTOMEVENTATTRIBUTELIST_PROP_VALUES_DSC: "The list of custom event attribute values.", AR_TP_JOURNEYCUSTOMER: "JourneyCustomer", AR_TP_JOURNEYCUSTOMER_PROP_ID_DSC: "A unique ID for the journey customer.", AR_TP_JOURNEYCUSTOMER_PROP_IDTYPE_DSC: 'The type of the journey customer such as "cookie", "email" or "phone".', AR_TP_JOURNEYCUSTOMERSESSION: "JourneyCustomerSession", AR_TP_JOURNEYCUSTOMERSESSION_PROP_ID_DSC: "A unique ID for the journey customer session.", AR_TP_JOURNEYCUSTOMERSESSION_PROP_TYPE_DSC: "The type of the journey customer session.", AR_TP_JOURNEYDEVICE: "JourneyDevice", AR_TP_JOURNEYDEVICE_PROP_CATEGORY_DSC: 'The device category such as "desktop", "mobile", "tablet" or "other".', AR_TP_JOURNEYDEVICE_PROP_TYPE_DSC: 'Device type such as "iPad", "iPhone" or "Other".', AR_TP_JOURNEYDEVICE_PROP_ISMOBILE_DSC: "Flag that is true for mobile devices.", AR_TP_JOURNEYDEVICE_PROP_SCREENHEIGHT_DSC: "Device's screen height measured in logical (device-independent) pixels.", AR_TP_JOURNEYDEVICE_PROP_SCREENWIDTH_DSC: "Device's screen width measured in logical (device-independent) pixels.", AR_TP_JOURNEYDEVICE_PROP_FINGERPRINT_DSC: "Fingerprint generated by looking at the individual device features.", AR_TP_JOURNEYDEVICE_PROP_MANUFACTURER_DSC: "The device's manufacturer.", AR_TP_JOURNEYDEVICE_PROP_OSFAMILY_DSC: "Operating system family.", AR_TP_JOURNEYDEVICE_PROP_OSVERSION_DSC: "Operating system version.", AR_TP_JOURNEYDEVICE_PROP_SCREENDENSITY_DSC: "Device's screen density measured as a scale factor where a value of 1 represents a baseline 1:1 ratio of pixels to logical (device-independent) pixels.", AR_TP_JOURNEYGEOLOCATION: "JourneyGeolocation", AR_TP_JOURNEYGEOLOCATION_PROP_COUNTRY_DSC: "Geolocation's ISO 3166-1 alpha-2 country code.", AR_TP_JOURNEYGEOLOCATION_PROP_COUNTRYNAME_DSC: "Geolocation's country name.", AR_TP_JOURNEYGEOLOCATION_PROP_LATITUDE_DSC: "Geolocation's latitude.", AR_TP_JOURNEYGEOLOCATION_PROP_LONGITUDE_DSC: "Geolocation's longitude.", AR_TP_JOURNEYGEOLOCATION_PROP_LOCALITY_DSC: "Geolocation's locality or city.", AR_TP_JOURNEYGEOLOCATION_PROP_POSTALCODE_DSC: "Geolocation's postal code or ZIP code.", AR_TP_JOURNEYGEOLOCATION_PROP_REGION_DSC: "Geolocation's ISO-3166-2 region code.", AR_TP_JOURNEYGEOLOCATION_PROP_REGIONNAME_DSC: "Geolocation's region name.", AR_TP_JOURNEYGEOLOCATION_PROP_SOURCE_DSC: "The source that was used to determine the geolocation information.", AR_TP_JOURNEYGEOLOCATION_PROP_TIMEZONE_DSC: "Geolocation's timezone.", AR_TP_JOURNEYNETWORKCONNECTIVITY: "JourneyNetworkConnectivity", AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_CARRIER_DSC: "The name of the mobile carrier.", AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_BLUETOOTHENABLED_DSC: "Whether Bluetooth is enabled.", AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_CELLULARENABLED_DSC: "Whether cellular data is enabled.", AR_TP_JOURNEYNETWORKCONNECTIVITY_PROP_WIFIENABLED_DSC: "Whether Wifi is enabled.", AR_TP_JOURNEYSESSIONOUTCOMEACHIEVEMENT: "JourneySessionOutcomeAchievement", AR_TP_JOURNEYSESSIONOUTCOMEACHIEVEMENT_PROP_ID_DSC: "The ID of the achieved outcome.", AR_TP_JOURNEYSESSIONOUTCOMEACHIEVEMENT_PROP_ACHIEVEDDATE_DSC: "Timestamp indicating when the outcome was achieved.", AR_TP_JOURNEYSDKLIBRARY: "JourneySdkLibrary", AR_TP_JOURNEYSDKLIBRARY_PROP_DSC: "The name of the software development kit library.", AR_TP_JOURNEYSDKLIBRARY_PROP_VERSION_DSC: "The version of the software development kit library.", AR_TP_JOURNEYOUTCOME: "JourneyOutcome", AR_TP_JOURNEYOUTCOME_PROP_ID_DSC: "The ID of the journey outcome.", AR_TP_JOURNEYOUTCOME_PROP_DESCRIPTION_DSC: "A description of the journey outcome.", AR_TP_JOURNEYOUTCOME_PROP_DISPLAYNAME_DSC: "The display name of the journey outcome.", AR_TP_JOURNEYOUTCOME_PROP_VERSION_DSC: "The version of the journey outcome.", AR_TP_JOURNEYOUTCOME_PROP_CREATEDDATEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the journey outcome was created.", AR_TP_JOURNEYOUTCOME_PROP_MODIFIEDDATEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the journey outcome was last modified.", AR_TP_JOURNEYOUTCOME_PROP_ISACTIVE_DSC: "Whether or not the journey outcome is active.", AR_TP_JOURNEYOUTCOMESCORE: "JourneyOutcomeScore", AR_TP_JOURNEYOUTCOMESCORE_PROP_ID_DSC: "The ID of the journey outcome.", AR_TP_JOURNEYOUTCOMESCORE_PROP_PROBABILITY_DSC: "A Decimal value that is >= 0.0 and <= 1.0 which represents the maximum probability reached in the journey session.", AR_TP_JOURNEYOUTCOMESCORE_PROP_SESSIONMAXPROBABILITY_DSC: "A Decimal value that is >= 0.0 and <= 1.0 which represents the likelihood of a customer reaching or achieving a given outcome.", AR_TP_JOURNEYPAGE: "JourneyPage", AR_TP_JOURNEYPAGE_PROP_URL_DSC: "The page URL.", AR_TP_JOURNEYPAGE_PROP_TITLE_DSC: "The title of the page.", AR_TP_JOURNEYPAGE_PROP_DOMAIN_DSC: "The domain of the page's URL.", AR_TP_JOURNEYPAGE_PROP_FRAGMENT_DSC: "Fragment or hash of the page's URL.", AR_TP_JOURNEYPAGE_PROP_HOSTNAME_DSC: "Hostname of the page's URL.", AR_TP_JOURNEYPAGE_PROP_KEYWORDS_DSC: "Keywords from the HTML {@code } tag of the page.", AR_TP_JOURNEYPAGE_PROP_LANG_DSC: "ISO 639-1 language code for the page as defined in the {@code } tag.", AR_TP_JOURNEYPAGE_PROP_PATHNAME_DSC: "Path name of the page for the event.", AR_TP_JOURNEYPAGE_PROP_QUERYSTRING_DSC: "Query string that is passed to the page in the current event.", AR_TP_JOURNEYPAGE_PROP_BREADCRUMB_DSC: "Hierarchy of the current page in relation to the website's structure.", AR_TP_JOURNEYREFERRER: "JourneyReferrer", AR_TP_JOURNEYREFERRER_PROP_URL_DSC: "Referrer URL.", AR_TP_JOURNEYREFERRER_PROP_DOMAIN_DSC: "Referrer URL domain.", AR_TP_JOURNEYREFERRER_PROP_HOSTNAME_DSC: "Referrer URL hostname.", AR_TP_JOURNEYREFERRER_PROP_KEYWORDS_DSC: 'A URI encoded string that contains referrer keywords delimited by a "+" character.', AR_TP_JOURNEYREFERRER_PROP_PATHNAME_DSC: "Referrer URL pathname.", AR_TP_JOURNEYREFERRER_PROP_QUERYSTRING_DSC: "Referrer URL queryString.", AR_TP_JOURNEYREFERRER_PROP_FRAGMENT_DSC: "Referrer URL fragment.", AR_TP_JOURNEYREFERRER_PROP_DSC: 'Name of referrer such as "InfoSpace", "Google" or "Yahoo!".', AR_TP_JOURNEYREFERRER_PROP_MEDIUM_DSC: 'Type of referrer such as "email", "internal", "paid", "search", "social" or "unknown".', AR_TP_JOURNEYSEGMENT: "JourneySegment", AR_TP_JOURNEYSEGMENT_PROP_ID_DSC: "The ID of the journey segment.", AR_TP_JOURNEYSEGMENT_PROP_COLOR_DSC: "The hexadecimal color value of the segment.", AR_TP_JOURNEYSEGMENT_PROP_CREATEDDATEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the journey segment was created.", AR_TP_JOURNEYSEGMENT_PROP_DESCRIPTION_DSC: "The description of the journey segment.", AR_TP_JOURNEYSEGMENT_PROP_DISPLAYNAME_DSC: "The display name of the journey segment.", AR_TP_JOURNEYSEGMENT_PROP_ISACTIVE_DSC: "Whether or not the journey segment is active.", AR_TP_JOURNEYSEGMENT_PROP_MODIFIEDDATEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for when the journey segment was last modified.", AR_TP_JOURNEYSEGMENT_PROP_SHOULDDISPLAYTOAGENT_DSC: "Whether or not the segment should be displayed to agent/supervisor users.", AR_TP_JOURNEYSEGMENT_PROP_VERSION_DSC: "The version of the journey segment.", AR_TP_JOURNEYSESSIONSEGMENTASSIGNMENT: "JourneySessionSegmentAssignment", AR_TP_JOURNEYSESSIONSEGMENTASSIGNMENT_PROP_ID_DSC: "The ID of the assigned segment.", AR_TP_JOURNEYSESSIONSEGMENTASSIGNMENT_PROP_ASSIGNEDDATE_DSC: "Timestamp indicating when the segment was assigned.", AR_TP_JOURNEYSESSION: "JourneySession", AR_TP_JOURNEYSESSION_PROP_ID_DSC: "The ID of the journey session.", AR_TP_JOURNEYSESSION_PROP_CREATEDDATE_DSC: "Timestamp indicating when the session was created.", AR_TP_JOURNEYSESSION_PROP_CUSTOMERID_DSC: "Primary ID of the customer in the source from which the events for the session originate.", AR_TP_JOURNEYSESSION_PROP_CUSTOMERIDTYPE_DSC: 'Type of source customer ID such as "email", "phone" or "salesforce".', AR_TP_JOURNEYSESSION_PROP_DIVISIONIDS_DSC: "This reflects the division IDs that are associated with this Journey Session.", AR_TP_JOURNEYSESSION_PROP_TYPE_DSC: 'The session type or category such as "atm", "delivery", "ticket" or "web".', AR_TP_JOURNEYSESSION_PROP_EXTERNALID_DSC: "Unique ID in the external system from which the events for the session originate.", AR_TP_JOURNEYSESSION_PROP_EXTERNALURL_DSC: "A URL that identifies an external system of record resource that may have more detailed information on the session.", AR_TP_JOURNEYSESSION_PROP_OUTCOMEACHIEVEMENTS_DSC: "A list of outcome achievements by the customer in the session.", AR_TP_JOURNEYSESSION_PROP_SEGMENTASSIGNMENTS_DSC: "A list of segment assignments to the customer in the session.", AR_TP_JOURNEYSESSION_PROP_ATTRIBUTES_DSC: "Attributes projected from the session's event stream.", AR_TP_JOURNEYSESSION_PROP_ATTRIBUTELISTS_DSC: "List-type attributes projected from the session's event stream.", AR_TP_JOURNEYSESSION_PROP_AWAYDATE_DSC: "Timestamp indicating when the visitor should be considered as away.", AR_TP_JOURNEYSESSION_PROP_BROWSER_DSC: "The customer's browser.", AR_TP_JOURNEYSESSION_PROP_DEVICE_DSC: "The customer's device.", AR_TP_JOURNEYSESSION_PROP_GEOLOCATION_DSC: "The customer's geolocation.", AR_TP_JOURNEYSESSION_PROP_IDLEDATE_DSC: "UTC DateTime indicating when the visitor should be considered as idle.", AR_TP_JOURNEYSESSION_PROP_IPADDRESS_DSC: "The customer's IP address.", AR_TP_JOURNEYSESSION_PROP_IPORGANIZATION_DSC: "The customer's IP-based organization or ISP name.", AR_TP_JOURNEYSESSION_PROP_LASTPAGE_DSC: "The web page where the customer's last web interaction occurred.", AR_TP_JOURNEYSESSION_PROP_MKTCAMPAIGN_DSC: "Marketing / traffic source information.", AR_TP_JOURNEYSESSION_PROP_REFERRER_DSC: "Identifies the page URL that originally generated the request for the current page being viewed.", AR_TP_JOURNEYSESSION_PROP_SEARCHTERMS_DSC: "The search terms associated with the journey session.", AR_TP_JOURNEYSESSION_PROP_USERAGENTSTRING_DSC: "String identifying the user agent.", AR_TP_JOURNEYSESSION_PROP_DURATIONINSECONDS_DSC: "Indicates how long the session has been active (valid for an individual device).", AR_TP_JOURNEYSESSION_PROP_EVENTCOUNT_DSC: "The count of all events performed during the session.", AR_TP_JOURNEYSESSION_PROP_PAGEVIEWCOUNT_DSC: "The count of all pageviews performed during the session.", AR_TP_JOURNEYSESSION_PROP_SCREENVIEWCOUNT_DSC: "The count of all screenviews performed during the session.", AR_TP_JOURNEYSESSION_PROP_APP_DSC: "The application for this session. If no application is associated with this session, accessing this property will return NOT_SET.", AR_TP_JOURNEYSESSION_PROP_NETWORKCONNECTIVITY_DSC: "Network connectivity information for this session. If no network connectivity information is applicable for this session or cannot be determined, accessing this property will return NOT_SET.", AR_TP_JOURNEYSESSION_PROP_SDKLIBRARY_DSC: "The software development kit library used for this session. If no software development kit is associated with this session, accessing this property will return NOT_SET.", AR_TP_LINEITEM: "Line Item", AR_TP_LINEITEM_PROP_LISTINGNAME_DSC: "The name of the listing item.", AR_TP_LINEITEM_PROP_LISTINGNAME_DISP_VAL: "Listing Name", AR_TP_LINEITEM_PROP_LISTINGPRICE_DSC: "Enter the monetary amount for this item. Can be positive, negative, or zero (e.g., 49.99, -10.00, 0).", AR_TP_LINEITEM_PROP_LISTINGPRICE_DISP_VAL: "Listing Price", AR_TP_SHIPPINGOPTION: "Shipping Option", AR_TP_SHIPPINGOPTION_PROP_LABEL_DSC: "Enter the user-facing name for this shipping method (e.g., In Store Pickup, USPS Priority Mail).", AR_TP_SHIPPINGOPTION_PROP_LABEL_DISP_VAL: "Label", AR_TP_SHIPPINGOPTION_PROP_IDENTIFIER_DSC: "Enter a technical identifier for this shipping method (e.g., storePickup, uspsPriority).", AR_TP_SHIPPINGOPTION_PROP_IDENTIFIER_DISP_VAL: "Identifier", AR_TP_SHIPPINGOPTION_PROP_SHIPPINGDETAILS_DSC: "Provide additional details about this shipping method, such as estimated delivery time or special conditions (e.g., \u201CDelivered within 2-3 business days\u201D).", AR_TP_SHIPPINGOPTION_PROP_SHIPPINGDETAILS_DISP_VAL: "Shipping Details", AR_TP_SHIPPINGOPTION_PROP_PRICE_DSC: "The price of the shipping option.", AR_TP_SHIPPINGOPTION_PROP_PRICE_DISP_VAL: "Price", AR_TP_LISTPICKER: "ListPicker", AR_TP_LISTPICKER_PROP_SECTIONS_DSC: "The list picker sections.", AR_TP_LISTPICKER_PROP_SECTIONS_DISP_VAL: "Sections", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEIMAGE_DSC: "The image to use for the list picker received message.", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEIMAGE_DISP_VAL: "Received Message Image", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGETITLE_DSC: "The list picker received message title.", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGETITLE_DISP_VAL: "Received Message Title", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGESUBTITLE_DSC: "The list picker received message subtitle.", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGESUBTITLE_DISP_VAL: "Received Message Subtitle", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEBUTTONTEXT_DSC: "The list picker received message button text.", AR_TP_LISTPICKER_PROP_RECEIVEDMESSAGEBUTTONTEXT_DISP_VAL: "Received Message Button Text", AR_TP_LISTPICKER_PROP_REPLYMESSAGEIMAGE_DSC: "The image to use for the list picker reply message.", AR_TP_LISTPICKER_PROP_REPLYMESSAGEIMAGE_DISP_VAL: "Reply Message Image", AR_TP_LISTPICKER_PROP_REPLYMESSAGESUBTITLE_DSC: "The list picker reply message subtitle.", AR_TP_LISTPICKER_PROP_REPLYMESSAGESUBTITLE_DISP_VAL: "Reply Message Subtitle", AR_TP_LISTPICKERITEM: "ListPickerItem", AR_TP_LISTPICKERITEM_PROP_TITLE_DSC: "The list picker item title.", AR_TP_LISTPICKERITEM_PROP_TITLE_DISP_VAL: "Title", AR_TP_LISTPICKERITEM_PROP_SUBTITLE_DSC: "The list picker item subtitle.", AR_TP_LISTPICKERITEM_PROP_SUBTITLE_DISP_VAL: "Subtitle", AR_TP_LISTPICKERITEM_PROP_IMAGE_DSC: "The image to use for the list picker.", AR_TP_LISTPICKERITEM_PROP_IMAGE_DISP_VAL: "Image", AR_TP_LISTPICKERSECTION: "ListPickerSection", AR_TP_LISTPICKERSECTION_PROP_TITLE_DSC: "The list picker section title.", AR_TP_LISTPICKERSECTION_PROP_TITLE_DISP_VAL: "Title", AR_TP_LISTPICKERSECTION_PROP_MULTISELECTENABLED_DSC: "Whether multiple selection is enabled for the list picker.", AR_TP_LISTPICKERSECTION_PROP_MULTISELECTENABLED_DISP_VAL: "Multiple Selection", AR_TP_LISTPICKERSECTION_PROP_ITEMS_DSC: "The list picker section items.", AR_TP_LISTPICKERSECTION_PROP_ITEMS_DISP_VAL: "Items", AR_TP_WHEELPICKER: "WheelPicker", AR_TP_WHEELPICKER_PROP_ITEMS_DSC: "The wheel picker items.", AR_TP_WHEELPICKER_PROP_ITEMS_DISP_VAL: "Items", AR_TP_WHEELPICKERITEM: "WheelPickerItem", AR_TP_WHEELPICKERITEM_PROP_TITLE_DSC: "The wheel picker item title.", AR_TP_WHEELPICKERITEM_PROP_TITLE_DISP_VAL: "Title", AR_TP_WHEELPICKERITEM_PROP_VALUE_DSC: "The wheel picker item value.", AR_TP_WHEELPICKERITEM_PROP_VALUE_DISP_VAL: "Value", AR_TP_KNOWLEDGEBASEDOCUMENT: "KnowledgeBaseDocument", AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_ID_DSC: "The unique ID for the knowledge base document.", AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_DSC: "The knowledge base document name.", AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_CONTENT_DSC: "The contents of the knowledge base document.", AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_CATEGORY_DSC: "The category attached to this knowledge base document.", AR_TP_KNOWLEDGEBASEDOCUMENT_PROP_LABELS_DSC: "The list of labels attached to this knowledge base document.", AR_TP_KNOWLEDGEBASEDOCUMENTCATEGORY: "KnowledgeBaseDocumentCategory", AR_TP_KNOWLEDGEBASEDOCUMENTCATEGORY_PROP_ID_DSC: "The knowledge category ID.", AR_TP_KNOWLEDGEBASEDOCUMENTCATEGORY_PROP_DSC: "The knowledge category name.", AR_TP_KNOWLEDGEBASEDOCUMENTLABEL: "KnowledgeBaseDocumentLabel", AR_TP_KNOWLEDGEBASEDOCUMENTLABEL_PROP_ID_DSC: "The knowledge label ID.", AR_TP_KNOWLEDGEBASEDOCUMENTLABEL_PROP_DSC: "The knowledge label name.", AR_TP_MESSAGESTICKERINFO: "MessageStickerInfo", AR_TP_MESSAGESTICKERINFO_PROP_ID_DSC: "The ID for the message sticker.", AR_TP_MESSAGESTICKERINFO_PROP_URL_DSC: "The url for the message sticker.", AR_TP_MESSAGEADDRESSINFO: "MessageAddressInfo", AR_TP_MESSAGEADDRESSINFO_PROP_DSC: "A contact name as supported by the underlying messaging system such as a Twitter handle or Facebook name.", AR_TP_MESSAGEADDRESSINFO_PROP_ADDRESSRAW_DSC: 'The contact address supplied directly by the underlying messaging system. For example: "5551212".', AR_TP_MESSAGEADDRESSINFO_PROP_ADDRESSNORMALIZED_DSC: 'The contact address after any internal processing has been completed. For example: "+13175551212".', AR_TP_MESSAGEADDRESSINFO_PROP_ADDRESSDISPLAYABLE_DSC: 'A displayable version of the contact address. For example: "(317) 555-1212".', AR_TP_MESSAGEADDRESSINFO_PROP_EMAIL_DSC: "The email address of the contact as provided by the specific messaging provider. If not available, this will return a NOT_SET String.", AR_TP_SHORTMESSAGE: "ShortMessage", AR_TP_SHORTMESSAGE_PROP_ID_DSC: "A unique ID for the message.", AR_TP_SHORTMESSAGE_PROP_TYPE_DSC: 'The message type such as "facebook", "instagram", "line", "unknown", "open", "sms", "twitter", "webmessaging" or "whatsapp".', AR_TP_SHORTMESSAGE_PROP_ATTACHMENTS_DSC: "The collection of attachments on this message.", AR_TP_SHORTMESSAGE_PROP_BODY_DSC: "The message body.", AR_TP_SHORTMESSAGE_PROP_BODYTYPE_DSC: 'The message body type ( "text", "html", "notificationresponse", "roadsideassistance" or "rtf" ).', AR_TP_SHORTMESSAGE_PROP_SENDERADDRESS_DSC: "The address of the message sender.", AR_TP_SHORTMESSAGE_PROP_SENDERADDRESSINFO_DSC: "The MessageAddressInfo of the message sender.", AR_TP_SHORTMESSAGE_PROP_TARGETADDRESSES_DSC: "The collection of addresses for the message targets.", AR_TP_SHORTMESSAGE_PROP_TARGETADDRESSESINFO_DSC: "The collection of MessageAddressInfo objects for the message targets.", AR_TP_SHORTMESSAGE_PROP_DATETIMEUTC_DSC: "The Coordinated Universal Time (UTC) datetime for the message.", AR_TP_SHORTMESSAGE_PROP_INVITATIONREFERENCEID_DSC: 'A string containing the originating Apple Messages for Business invitation reference identifier that identifies the messaging invitation when the bodyType is "notificationResponse"; otherwise, the value is NOT_SET. It is returned with an external participant\u2019s response and provides invitation and user specific context.', AR_TP_SHORTMESSAGE_PROP_STICKERS_DSC: "The collection of MessageSticker objects associated with the message.", AR_TP_SHORTMESSAGE_PROP_SOCIALVISIBILITY_DSC: 'Indicates if the social visibility of the message is public or private ( "public", "private" ). If the message channel does not support social visibility, this will be a NOT_SET String.', AR_TP_COMMUNICATION: "Communication", AR_TP_NTS: "Null", AR_TP_PROMPT: "Prompt", AR_TP_PROMPT_PROP_ID_DSC: "The unique ID for the prompt.", AR_TP_PROMPT_PROP_DSC: "The prompt name.", AR_TP_PROMPT_PROP_TYPE_DSC: 'The prompt type which will be either "user" or "system".', AR_TP_VOICEMAILSNIPPET: "VoicemailSnippet", AR_TP_VOICEMAILSNIPPET_PROP_ID_DSC: "The unique ID for the VoicemailSnippet.", AR_TP_VOICEMAILSNIPPET_PROP_STARTDATETIME_DSC: "The starting UTC DateTime of the VoicemailSnippet.", AR_TP_VOICEMAILSNIPPET_PROP_LENGTH_DSC: "The Duration of the VoicemailSnippet.", AR_TP_VOICEMAILSNIPPET_PROP_MAXLENGTHREACHED_DSC: "Indicates whether the VoicemailSnippet reached the maximum length configured for the organization in Organization Settings.", AR_TP_VOICESNIPPET: "VoiceSnippet", AR_TP_VOICESNIPPET_PROP_ID_DSC: "The unique ID for the VoiceSnippet. If submitted to the Voice Snippet Service, this ID can be used for retrieval from it later.", AR_TP_VOICESNIPPET_PROP_STARTDATETIME_DSC: "The starting UTC DateTime of the VoiceSnippet.", AR_TP_VOICESNIPPET_PROP_LENGTH_DSC: "The Duration of the VoiceSnippet.", AR_TP_SKL: "ACD Skill", AR_TP_SKL_PROP_ID_DSC: "The skill ID.", AR_TP_SKL_PROP_DSC: "The skill name.", AR_TP_STR: "String", AR_TP_USQ: "User", AR_TP_USQ_PROP_ID_DSC: "The user ID.", AR_TP_USQ_PROP_DSC: "The user name property.", AR_TP_USQ_PROP_USERNAME_DSC: "The user username property.", AR_TP_VIDEO: "Video", AR_TP_VIDEO_PROP_ID_DSC: "The video ID. If an ID is present, this will be the identifier of the Canned Response video response asset. Otherwise if this is an video created from a MakeVideoFromUrl call, the ID will be a NOT_SET String.", AR_TP_VIDEO_PROP_DSC: "The video name. If a name is present, this will be the name of the Canned Response video response asset. Otherwise if this is an video created from a MakeVideoFromUrl call, the name will be a NOT_SET String.", AR_TP_VIDEO_PROP_URL_DSC: "The universal resource locator that specifies the location of the video.", AR_TP_SURVEYQUESTION: "SurveyQuestion", AR_TP_SURVEYQUESTION_PROP_ID_DSC: "The survey question id.", AR_TP_SURVEYQUESTION_PROP_QUESTIONTYPE_DSC: "The survey question type.", AR_TP_SURVEYQUESTION_PROP_ANSWEROPTIONS_DSC: "The survey answer options available for this survey question.", AR_TP_SURVEYQUESTION_PROP_NAENABLED_DSC: "If the survey question allows for N.A.", AR_TP_SURVEYQUESTION_PROP_MAXRESPONSECHARACTERS_DSC: "The maximum number of characters allowed for a free text question or Net Promoter Score follow up question. If not applicable, this will be NOT_SET.", AR_TP_SURVEYQUESTION_PROP_QUESTIONTEXT_DSC: "The text of the question as it appears on the associated survey form.", AR_TP_SURVEYQUESTION_PROP_QUESTIONHELPTEXT_DSC: "For questions that have help text, this will return the text of that input from the participant. If not applicable, this will be a NOT_SET String.", AR_TP_SURVEYQUESTION_PROP_FOLLOWUPQUESTIONTEXT_DSC: "The follow up text of the question as it appears on the associated survey form. If not applicable, this will be a NOT_SET String.", AR_TP_SURVEYQUESTIONGROUP: "SurveyQuestionGroup", AR_TP_SURVEYQUESTIONGROUP_PROP_ID_DSC: "The survey question id.", AR_TP_SURVEYQUESTIONGROUP_PROP_DSC: "The survey question group name.", AR_TP_SURVEYQUESTIONGROUP_PROP_QUESTIONS_DSC: "The survey questions configured for this question group.", AR_TP_SURVEYFORM: "SurveyForm", AR_TP_SURVEYFORM_PROP_ID_DSC: "The survey form ID.", AR_TP_SURVEYFORM_PROP_DSC: "The survey form name.", AR_TP_SURVEYFORM_PROP_LANGUAGE_DSC: "The language associated with the survey form.", AR_TP_SURVEYFORM_PROP_QUESTIONGROUPS_DSC: "The survey question groups configured on the survey form.", AR_TP_SURVEYANSWEROPTION: "SurveyAnswerOption", AR_TP_SURVEYANSWEROPTION_PROP_ID_DSC: "The survey answer option id as defined on the Survey form referenced by this flow.", AR_TP_SURVEYANSWEROPTION_PROP_DTMF_DSC: "The survey answer option DTMF value.", AR_TP_SURVEYANSWEROPTION_PROP_TEXT_DSC: "The survey answer option text as defined on the Survey form referenced by this flow.", AR_TP_QUEUE: "Queue", AR_TP_QUEUE_PROP_ID_DSC: "The queue ID.", AR_TP_QUEUE_PROP_DSC: "The queue name.", AR_TP_UTILIZATIONLABEL: "UtilizationLabel", AR_TP_UTILIZATIONLABEL_PROP_ID_DSC: "The Utilization Label identifier.", AR_TP_UTILIZATIONLABEL_PROP_DSC: "The Utilization Label description.", AR_TP_CONVERSATIONTYPEENUM: "ConversationType Enum", AR_TP_CONVERSATIONTYPEENUM_PROP_CALL_DSC: "A call conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_CALLBACK_DSC: "A callback conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_CHAT_DSC: "A chat conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_COBROWSE_DSC: "A co-browse conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_EMAIL_DSC: "An email conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_SCREENSHARE_DSC: "A screenShare conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_SOCIALEXPRESSION_DSC: "A conversation on social media.", AR_TP_CONVERSATIONTYPEENUM_PROP_VIDEOCOMM_DSC: "A video conversation.", AR_TP_CONVERSATIONTYPEENUM_PROP_UNKNOWN_DSC: "An unknown conversation type.", AR_TP_CURRENCYENUM: "Currency Enum", AR_TP_CURRENCYENUM_PROP_CODE_DSC: "The ISO 4217 currency code.", AR_TP_LANGUAGEENUM: "Language Enum", AR_TP_LANGUAGEENUM_PROP_TAG_DSC: "The IETF language tag.", AR_TP_REGIONENUM: "Region Enum", AR_TP_REGIONENUM_PROP_DIALINGCODE_DSC: "The ITU-T E.164 dialing code.", AR_TP_REGIONENUM_PROP_COUNTRYCODE_DSC: "The two character ISO 3166 alpha 2 country code.", AR_TP_MESSAGEBODYSTYLEENUM: "MessageBodyStyle Enum", AR_TP_MESSAGEBODYSTYLEENUM_PROP_NOTICE_DSC: "The message style is a notice.", AR_TP_MESSAGEBODYSTYLEENUM_PROP_STANDARD_DSC: "The message style is a standard message.", AR_TP_SURVEYDISPOSITIONENUM: "SurveyDisposition Enum", AR_TP_SURVEYDISPOSITIONENUM_PROP_ERROR_DSC: "The survey invite request did not complete successfully due to an error.", AR_TP_SURVEYDISPOSITIONENUM_PROP_OPTOUT_DSC: "The survey invite request is declined as per a configured opt-out setting.", AR_TP_CURRENCIESENUMCONTAINER: "Currencies Enum Container", AR_TP_DAYOFWEEKENUMCONTAINER: "Day of Week Enum Container", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SUNDAY_DSC: "The day of week Integer value for Sunday (1).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SUNDAY_DISP_VAL: "Sunday", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_MONDAY_DSC: "The day of week Integer value for Monday (2).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_MONDAY_DISP_VAL: "Monday", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_TUESDAY_DSC: "The day of week Integer value for Tuesday (3).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_TUESDAY_DISP_VAL: "Tuesday", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_WEDNESDAY_DSC: "The day of week Integer value for Wednesday (4).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_WEDNESDAY_DISP_VAL: "Wednesday", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_THURSDAY_DSC: "The day of week Integer value for Thursday (5).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_THURSDAY_DISP_VAL: "Thursday", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_FRIDAY_DSC: "The day of week Integer value for Friday (6).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_FRIDAY_DISP_VAL: "Friday", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SATURDAY_DSC: "The day of week Integer value for Saturday (7).", AR_TP_DAYOFWEEKENUMCONTAINER_PROP_SATURDAY_DISP_VAL: "Saturday", AR_TP_DATETIMEENUMCONTAINER: "DateTime Enum Container", AR_TP_DATETIMEENUMCONTAINER_PROP_DAYOFWEEK_DSC: "Contains properties for day of week Integer constants.", AR_TP_DATETIMEENUMCONTAINER_PROP_DAYOFWEEK_DISP_VAL: "DayOfWeek", AR_TP_DIGITALAUDIO: "Digital Audio", AR_TP_DIGITALAUDIO_PROP_ID_DSC: "The digital audio ID. If an ID is present, this will be the identifier of the Canned Response digital audio response asset. Otherwise if this is a digital audio created from a MakeDigitalAudioFromUrl call, the ID will be a NOT_SET String.", AR_TP_DIGITALAUDIO_PROP_DSC: "The digital audio name. If a name is present, this will be the name of the Canned Response digital audio response asset. Otherwise if this is a digital audio created from a MakeDigitalAudioFromUrl call, the name will be a NOT_SET String.", AR_TP_DIGITALAUDIO_PROP_URL_DSC: "The universal resource locator that specifies the location of the digital audio.", AR_TP_FILE: "File", AR_TP_FILE_PROP_ID_DSC: "The file ID. If an ID is present, this will be the identifier of the Canned Response file response asset. Otherwise if this is a file created from a MakeFileFromUrl call, the ID will be a NOT_SET String.", AR_TP_FILE_PROP_DSC: "The file name. If a name is present, this will be the name of the Canned Response file response asset. Otherwise if this is a file created from a MakeFileFromUrl call, the name will be a NOT_SET String.", AR_TP_FILE_PROP_URL_DSC: "The universal resource locator that specifies the location of the file.", AR_TP_LANGUAGESENUMCONTAINER: "Languages Enum Container", AR_TP_REGIONSENUMCONTAINER: "Regions Enum Container", AR_TP_RESPONSEASSET: "Response Asset", AR_TP_RESPONSEASSET_PROP_ID_DSC: "The response asset identifier.", AR_TP_RESPONSEASSET_PROP_DSC: "The response asset name.", AR_TP_RESPONSEASSET_PROP_TYPE_DSC: "The response asset type like 'image/png'.", AR_TP_RESPONSEASSET_PROP_LENGTH_DSC: "The response asset size in bytes.", AR_TP_RESPONSEASSET_PROP_URL_DSC: "The universal resource locator that specifies the location of the response asset.", AR_TP_SURVEYDISPOSITIONSENUMCONTAINER: "SurveyDispositions Enum Container", AR_TP_CONVERSATIONTYPESENUMCONTAINER: "ConversationTypes Enum Container", AR_TP_TIME: "Time", AR_TP_TIMEPARTENUMCONTAINER: "Time Part Enum Container", AR_TP_TIMEPARTENUMCONTAINER_PROP_DAYS_DSC: "Indicates that a given value for Audio playback should be expressed as days.", AR_TP_TIMEPARTENUMCONTAINER_PROP_DAYS_DISP_VAL: "Days", AR_TP_TIMEPARTENUMCONTAINER_PROP_HOURS_DSC: "Indicates that a given value for Audio playback should be expressed as hours.", AR_TP_TIMEPARTENUMCONTAINER_PROP_HOURS_DISP_VAL: "Hours", AR_TP_TIMEPARTENUMCONTAINER_PROP_MINUTES_DSC: "Indicates that a given value for Audio playback should be expressed as minutes.", AR_TP_TIMEPARTENUMCONTAINER_PROP_MINUTES_DISP_VAL: "Minutes", AR_TP_TIMEPARTENUMCONTAINER_PROP_SECONDS_DSC: "Indicates that a given value for Audio playback should be expressed as seconds.", AR_TP_TIMEPARTENUMCONTAINER_PROP_SECONDS_DISP_VAL: "Seconds", AR_TP_TIMEPARTENUM: "Time Part Enum", AR_TP_TIMEPICKER: "TimePicker", AR_TP_TIMEPICKER_PROP_TITLE_DSC: "The TimePicker title.", AR_TP_TIMEPICKER_PROP_SUBTITLE_DSC: "The TimePicker subtitle.", AR_TP_TIMEPICKER_PROP_IMAGE_DSC: "The image to use for the TimePicker.", AR_TP_TIMEPICKER_PROP_IMAGE_DISP_VAL: "Image", AR_TP_TIMEPICKER_PROP_ADDRESS_DSC: "The event address.", AR_TP_TIMEPICKER_PROP_ADDRESS_DISP_VAL: "Address", AR_TP_TIMEPICKER_PROP_LONGITUDE_DSC: "The event longitude.", AR_TP_TIMEPICKER_PROP_LONGITUDE_DISP_VAL: "Longitude", AR_TP_TIMEPICKER_PROP_LATITUDE_DSC: "The event latitude.", AR_TP_TIMEPICKER_PROP_LATITUDE_DISP_VAL: "Latitude", AR_TP_TIMESLOT: "Timeslot", AR_TP_TIMESLOT_PROP_DTM_DSC: "The Coordinated Universal Time (UTC) datetime for the timeslot.", AR_TP_TIMESLOT_PROP_DUR_DSC: "The Duration for the timeslot.", AR_TP_WRC: "WrapupCode", AR_TP_WRC_PROP_ID_DSC: "The wrapup code ID.", AR_TP_WRC_PROP_DSC: "The wrapup code name.", AR_TP_GRAMMAR: "Grammar", AR_TP_GRAMMAR_PROP_ID_DSC: "The grammar ID.", AR_TP_GRAMMAR_PROP_DSC: "The grammar name.", AR_TP_GRP: "Group", AR_TP_GRP_PROP_ID_DSC: "The group ID.", AR_TP_GRP_PROP_DSC: "The group name.", AR_TP_PHNBR: "PhoneNumber", AR_TP_PHNBR_PROP_DIALINGCODE_DSC: 'The ITU-T E.164 dialing code for a "tel" scheme phone number with a valid E.164 number, otherwise a NOT_SET String.', AR_TP_PHNBR_PROP_E164_DSC: 'The E.164 formatted String for a "tel" scheme phone number with a valid E.164 number, otherwise a NOT_SET String.', AR_TP_PHNBR_PROP_SUBSCRIBERNUMBER_DSC: 'The E.164 subscriber number for a "tel" scheme phone number with a valid E.164 number, otherwise a NOT_SET String.', AR_TP_PHNBR_PROP_ISGLOBAL_DSC: 'Indicates if this is a "tel" scheme phone number that contains a global number.', AR_TP_PHNBR_PROP_ISSIP_DSC: 'Indicates if this is a "sip" or "sips" scheme phone number.', AR_TP_PHNBR_PROP_ISTEL_DSC: 'Indicates if this is a "tel" scheme phone number.', AR_TP_PHNBR_PROP_RAW_DSC: "The String used to create this Phone Number instance.", AR_TP_PHNBR_PROP_SCHEME_DSC: 'The scheme set on this phone number which will be "sip" or "sips", "tel" or a NOT_SET String if no scheme could be determined.', AR_TP_PHNBR_PROP_URI_DSC: 'Returns the URI for a "sip", "sips" or "tel" scheme phone number, otherwise a NOT_SET String.', AR_TP_EMERGRP: "EmergencyGroup", AR_TP_EMERGRP_PROP_ID_DSC: "The emergency group ID.", AR_TP_EMERGRP_PROP_DSC: "The emergency group name.", AR_TP_SCHED: "Schedule", AR_TP_SCHED_PROP_ID_DSC: "The schedule ID.", AR_TP_SCHED_PROP_DSC: "The schedule name.", AR_TP_SCHEDGRP: "ScheduleGroup", AR_TP_SCHEDGRP_PROP_ID_DSC: "The schedule group ID.", AR_TP_SCHEDGRP_PROP_DSC: "The schedule group name.", AR_TP_SCHEDGRP_PROP_TIMEZONE_DSC: "The timezone ID of the timezone assigned to the schedule group.", AR_TP_ANY: "Any", AR_TP_ANYCOMPLEX: "AnyComplex", AR_TP_ANYPROMPTORAUDIO: "Audio or Prompt", AR_TP_DATEFORMATENUM: "Date Format Enum", AR_TP_DATETIMEFORMATENUM: "DateTime Format Enum", AR_TP_TIMEFORMATENUM: "Time Format Enum", AR_TP_BOOLFORMATENUM: "Bool Format Enum", AR_TP_CURRENCYFORMATENUM: "Currency Format Enum", AR_TP_NUMBERFORMATENUM: "Number Format Enum", AR_TP_PHONENUMBERFORMATENUM: "Phone Number Format Enum", AR_TP_LANGUAGECONTEXTENUM: "Language Context Enum", AR_TP_STRINGFORMATENUM: "String Format Enum", AR_TP_DATEFORMATENUMCONTAINER: "Date Format Enum Container", AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEAR_DSC: "Date with the year expressed using the long format.", AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEAR_DISP_VAL: "Date (long year)", AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEAR_DSC: "Date with the year expressed using the short format.", AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEAR_DISP_VAL: "Date", AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTMONTHANDDAY_DSC: "Date with the day of week, month name and day of month expressed using an ordinal number.", AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTMONTHANDDAY_DISP_VAL: "Month and day", AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYOFWEEKONLY_DSC: "Express only the day of week name.", AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYOFWEEKONLY_DISP_VAL: "Day of week", AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYONLY_DSC: "Express only the day of month using an ordinal number.", AR_TP_DATEFORMATENUMCONTAINER_PROP_DAYONLY_DISP_VAL: "Day of month", AR_TP_DATEFORMATENUMCONTAINER_PROP_MONTHONLY_DSC: "Express only the month name.", AR_TP_DATEFORMATENUMCONTAINER_PROP_MONTHONLY_DISP_VAL: "Month", AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEARONLY_DSC: "Express only the year using the short format.", AR_TP_DATEFORMATENUMCONTAINER_PROP_SHORTYEARONLY_DISP_VAL: "Year (short form)", AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEARONLY_DSC: "Express only the year using the long format.", AR_TP_DATEFORMATENUMCONTAINER_PROP_LONGYEARONLY_DISP_VAL: "Year (long form)", AR_TP_SKILLEXPRESSIONFILTER: "SkillExpressionFilter", AR_TP_SKILLEXPRESSIONFILTER_PROP_RAW_DSC: "The input filter String used to create this Skill Expression Filter instance.", AR_TP_SKILLEXPRESSIONFILTER_PROP_NORMALIZED_DSC: "If valid, this holds the normalized expression filter text. Otherwise, this will be a NOT_SET String.", AR_TP_SKILLEXPRESSIONFILTER_PROP_ACDSKILLS_DSC: "If valid, the items in this collection will be ACD Skills referenced by the filter. Otherwise, this will be an empty collection.", AR_TP_SKILLEXPRESSIONFILTER_PROP_LANGUAGESKILLS_DSC: "If valid, the items in this collection will be Language Skills referenced by the filter. Otherwise, this will be an empty collection.", AR_TP_SKILLEXPRESSIONFILTER_PROP_ERRORS_DSC: "If invalid, the items in this collection will contain error information about the input filter String.", AR_TP_ISSUEINFO: "IssueInfo", AR_TP_ISSUEINFO_PROP_TYPE_DSC: "A non-empty String that contains the type or category of the issue.", AR_TP_ISSUEINFO_PROP_MESSAGE_DSC: "A non-localized message for the issue. The String may be empty or NOT_SET.", AR_TP_BOOLFORMATENUMCONTAINER: "Bool Format Enum Container", AR_TP_BOOLFORMATENUMCONTAINER_PROP_PLAYYESNO_DSC: "Expresses a boolean using Yes for true and No for false or NOT_SET.", AR_TP_BOOLFORMATENUMCONTAINER_PROP_PLAYYESNO_DISP_VAL: "Yes / No", AR_TP_TIMEFORMATENUMCONTAINER: "Time Format Enum Container", AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWENTYFOURHOURS_DSC: "Use a twenty four hour time format.", AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWENTYFOURHOURS_DISP_VAL: "Time (24 hour clock)", AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWELVEHOURS_DSC: "Use a twelve hour format time without a.m. / p.m.", AR_TP_TIMEFORMATENUMCONTAINER_PROP_TWELVEHOURS_DISP_VAL: "Time (12 hour clock)", AR_TP_CURRENCYFORMATENUMCONTAINER: "Currency Format Enum Container", AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_ASMINORUNITS_DSC: 'Express the currency in terms of minor units such as "150 cents".', AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_ASMINORUNITS_DISP_VAL: "In minor units", AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MAJORUNITSONLY_DSC: "Express only the major units of the currency.", AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MAJORUNITSONLY_DISP_VAL: "Major units only", AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MINORUNITSONLY_DSC: "Express only the minor units of the currency.", AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_MINORUNITSONLY_DISP_VAL: "Minor units only", AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_PLAYDIGITS_DSC: 'Expresses the individual digits of the currency with the major units name such as "5 0 dollars"', AR_TP_CURRENCYFORMATENUMCONTAINER_PROP_PLAYDIGITS_DISP_VAL: "Speak each digit", AR_TP_NUMBERFORMATENUMCONTAINER: "Number Format Enum Container", AR_TP_NUMBERFORMATENUMCONTAINER_PROP_PLAYDIGITS_DSC: "Express the numeric value using individual digits.", AR_TP_NUMBERFORMATENUMCONTAINER_PROP_PLAYDIGITS_DISP_VAL: "Speak each digit", AR_TP_PHONENUMBERFORMATENUMCONTAINER: "Phone Number Format Enum Container", AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_GLOBAL_DSC: "Express the phone number with the country code.", AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_GLOBAL_DISP_VAL: "Global playback", AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_LOCAL_DSC: "Express the phone number in a country-specific colloquial format that does not contain the country code.", AR_TP_PHONENUMBERFORMATENUMCONTAINER_PROP_LOCAL_DISP_VAL: "Local playback", AR_TP_STRINGFORMATENUMCONTAINER: "String Format Enum Container", AR_TP_STRINGFORMATENUMCONTAINER_PROP_PLAYCHARS_DSC: "Express a string with the string's characters individually.", AR_TP_STRINGFORMATENUMCONTAINER_PROP_PLAYCHARS_DISP_VAL: "Speak each character", AR_TP_LANGUAGEQUANTITYENUMCONTAINER: "Language Quantity Enum Container", AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_PLURAL_DSC: "Use the plural form.", AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_PLURAL_DISP_VAL: "Plural", AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_SINGULAR_DSC: "Use the singular form.", AR_TP_LANGUAGEQUANTITYENUMCONTAINER_PROP_SINGULAR_DISP_VAL: "Singular", AR_TP_LANGUAGECASEENUMCONTAINER: "Language Case Enum Container", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ARTICLE_DSC: "Use the article grammatical case.", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ARTICLE_DISP_VAL: "Article", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ACCUSATIVE_DSC: "Use the accusative case.", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_ACCUSATIVE_DISP_VAL: "Accusative", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_DATIVE_DSC: "Use the dative case.", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_DATIVE_DISP_VAL: "Dative", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_GENITIVE_DSC: "Use the genitive case.", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_GENITIVE_DISP_VAL: "Genitive", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_NOMINATIVE_DSC: "Use the nominative case.", AR_TP_LANGUAGECASEENUMCONTAINER_PROP_NOMINATIVE_DISP_VAL: "Nominative", AR_TP_LANGUAGEGENDERENUMCONTAINER: "Language Gender Enum Container", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_COMMON_DSC: "Use the common gender.", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_COMMON_DISP_VAL: "Common", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_FEMININE_DSC: "Use the feminine gender.", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_FEMININE_DISP_VAL: "Feminine", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_MASCULINE_DSC: "Use the masculine gender.", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_MASCULINE_DISP_VAL: "Masculine", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_NEUTER_DSC: "Use the neuter gender.", AR_TP_LANGUAGEGENDERENUMCONTAINER_PROP_NEUTER_DISP_VAL: "Neuter", AR_TP_LANGUAGESKILL: "Language Skill", AR_TP_LANGUAGESKILL_PROP_ID_DSC: "The language skill ID.", AR_TP_LANGUAGESKILL_PROP_DSC: "The language skill name.", AR_TP_CONTACTLIST: "ContactList", AR_TP_CONTACTLIST_PROP_ID_DSC: "The contact list ID.", AR_TP_CONTACTLIST_PROP_DSC: "The contact list name.", AR_TP_CAMPAIGN: "Campaign", AR_TP_CAMPAIGN_PROP_ID_DSC: "The campaign ID.", AR_TP_CAMPAIGN_PROP_DSC: "The campaign name.", AR_TP_CONTACT: "Contact", AR_TP_WORKITEMEVENTDATA: "WorkitemEventData", AR_TP_WORKITEMEVENTDATA_PROP_RULE_DSC: "The rule for the workitem event data.", AR_TP_WORKITEMEVENTRULE: "WorkitemEventRule", AR_TP_WORKITEMEVENTRULE_PROP_DSC: "The name of the workitem event rule.", AR_TP_WORKITEM: "Workitem", AR_TP_WORKITEM_PROP_ID_DSC: "The workitem ID which uniquely identifies a workitem.", AR_TP_WORKITEM_PROP_DSC: "The name of the workitem.", AR_TP_WORKITEM_PROP_ASSIGNEE_DSC: "The the assignee of this workitem.", AR_TP_WORKITEM_PROP_ASSIGNMENTSTATE_DSC: "The assignment state of the workitem.", AR_TP_WORKITEM_PROP_AUTOSTATUSTRANSITION_DSC: "This returns true if auto status transition is enabled for the workitem, otherwise false.", AR_TP_WORKITEM_PROP_CUSTOMFIELDS_DSC: "Custom fields defined in the schema referenced by the worktype of the workitem.", AR_TP_WORKITEM_PROP_DATECREATED_DSC: "The creation date of the workitem.", AR_TP_WORKITEM_PROP_DATEASSIGNMENTSTATECHANGED_DSC: "The date the assignment state changed for the workitem.", AR_TP_WORKITEM_PROP_DATEDUE_DSC: "The due date of the workitem.", AR_TP_WORKITEM_PROP_DATEEXPIRES_DSC: "The expiry date of the workitem.", AR_TP_WORKITEM_PROP_DATEMODIFIED_DSC: "The date the workitem was last modified.", AR_TP_WORKITEM_PROP_DATESTATUSCHANGED_DSC: "The date the status was last changed.", AR_TP_WORKITEM_PROP_DATECLOSED_DSC: "The date the workitem was closed.", AR_TP_WORKITEM_PROP_DESCRIPTION_DSC: "The description of the workitem.", AR_TP_WORKITEM_PROP_DUR_DSC: "The estimated duration to complete the workitem.", AR_TP_WORKITEM_PROP_DIVISIONID_DSC: "The division ID which identifies the division to which this workitem belongs.", AR_TP_WORKITEM_PROP_EXTERNALCONTACT_DSC: "The External Contact associated with this workitem. If there is no External Contact, the value will be NOT_SET.", AR_TP_WORKITEM_PROP_EXTERNALTAG_DSC: "The external tag associated with this workitem. If there is no external tag, the value will be NOT_SET. Use the Set External Tag action to modify.", AR_TP_WORKITEM_PROP_LANGUAGESKILL_DSC: "The Language Skill associated with the workitem.", AR_TP_WORKITEM_PROP_MODIFIEDBY_DSC: "The ID of the entity that last modified the workitem.", AR_TP_WORKITEM_PROP_PRIORITY_DSC: "The priority of the workitem. Use the Set Priority action to modify.", AR_TP_WORKITEM_PROP_QUEUE_DSC: "The workitem's queue.", AR_TP_WORKITEM_PROP_REPORTER_DSC: "The workitem's reporter.", AR_TP_WORKITEM_PROP_SCOREDAGENTS_DSC: "A list of agent score pairs used for the last preferred agent routing.", AR_TP_WORKITEM_PROP_SKILLS_DSC: "The ACD Skills associated with the workitem.", AR_TP_WORKITEM_PROP_STATUS_DSC: "The status of the workitem.", AR_TP_WORKITEM_PROP_TTLDATETIME_DSC: "The time to live of the workitem until it is deleted from Genesys Cloud represented as a DateTime in Coordinated Universal Time (UTC).", AR_TP_WORKITEM_PROP_TYPEID_DSC: "The ID of the worktype for the workitem.", AR_TP_WORKITEM_PROP_UTILIZATIONLABEL_DSC: "The utilization label for the workitem.", AR_TP_WORKITEM_PROP_VERSION_DSC: "The version of the workitem. Note that this may be a NOT_SET Integer.", AR_TP_WORKITEM_PROP_WORKBIN_DSC: "The workbin that contains the workitem.", AR_TP_WORKBIN: "Workbin", AR_TP_WORKBIN_PROP_ID_DSC: "The ID of the workbin.", AR_TP_WORKBIN_PROP_DSC: "The name of the workbin.", AR_TP_WORKBIN_PROP_DIVISIONID_DSC: "The division ID which identifies the division of this workbin.", AR_TP_WORKTYPESTATUS: "WorktypeStatus", AR_TP_WORKTYPESTATUS_PROP_ID_DSC: "The ID of the worktype status.", AR_TP_WORKTYPESTATUS_PROP_DSC: "The name of the worktype status.", AR_TP_WORKTYPESTATUS_PROP_CATEGORY_DSC: 'The category of the worktype status. Allowable values are "Open", "InProgress", "Waiting" and "Closed".', AR_OP_DSC_ADD: "The addition operator returns the sum of two values.", AR_OP_LNG_ADD_LNG_LNG_DSC: "Adds two Integer values and returns the result.", AR_OP_LNG_ADD_LNG_LNG_RV: "The sum of the two Integer input values.", AR_OP_LNG_ADD_LNG_LNG_PRM_DSC_0: "An Integer value.", AR_OP_LNG_ADD_LNG_LNG_PRM_DSC_1: "The Integer value to Add.", AR_OP_DEC_ADD_DEC_LNG_DSC: "Adds an Integer value to a Decimal value and returns the result.", AR_OP_DEC_ADD_DEC_LNG_RV: "The sum of the Integer and Decimal input values.", AR_OP_DEC_ADD_DEC_LNG_PRM_DSC_0: "A Decimal value.", AR_OP_DEC_ADD_DEC_LNG_PRM_DSC_1: "The Integer value to add.", AR_OP_DEC_ADD_LNG_DEC_DSC: "Adds a Decimal value to an Integer value and returns the result.", AR_OP_DEC_ADD_LNG_DEC_RV: "The sum of the two Integer input values.", AR_OP_DEC_ADD_LNG_DEC_PRM_DSC_0: "An Integer value.", AR_OP_DEC_ADD_LNG_DEC_PRM_DSC_1: "The Decimal value to add.", AR_OP_CUR_ADD_CUR_CUR_DSC: "Adds two Currency values and returns the result. The Currency values must have the same code.", AR_OP_CUR_ADD_CUR_CUR_RV: "The sum of the two Currency input values.", AR_OP_CUR_ADD_CUR_CUR_PRM_DSC_0: "A Currency value.", AR_OP_CUR_ADD_CUR_CUR_PRM_DSC_1: "The second Currency value to add.", AR_OP_CUR_ADD_CUR_CUR_EX_OUT_0: 'A Currency with an amount of 2.25 and code of "USD"', AR_OP_CUR_ADD_CUR_CUR_EX_OUT_1: "A Currency with an amount of 2.25 and NOT_SET code.", AR_OP_AUDIO_ADD_AUDIO_AUDIO_DSC: "Adds two Audio values together and returns the resulting Audio by appending them together.", AR_OP_AUDIO_ADD_AUDIO_AUDIO_RV: "Appends the two Audio input values.", AR_OP_AUDIO_ADD_AUDIO_AUDIO_PRM_DSC_0: "An Audio value .", AR_OP_AUDIO_ADD_AUDIO_AUDIO_PRM_DSC_1: "The second Audio value to add.", AR_OP_AUDIO_ADD_AUDIO_AUDIO_EX_OUT_0: 'Audio for the text to speech playback of "Hello" followed by "World".', AR_OP_AUDIO_ADD_PROMPT_PROMPT_DSC: "Adds two prompt values together and returns the resulting Audio by appending them.", AR_OP_AUDIO_ADD_PROMPT_PROMPT_RV: "Appends the two Prompt input values.", AR_OP_AUDIO_ADD_PROMPT_PROMPT_PRM_DSC_0: "A Prompt.", AR_OP_AUDIO_ADD_PROMPT_PROMPT_PRM_DSC_1: "The second Prompt to add.", AR_OP_AUDIO_ADD_PROMPT_PROMPT_EX_OUT_0: "Audio for the Hello prompt followed by the There prompt for the language in which the flow is running.", AR_OP_AUDIO_ADD_AUDIO_PROMPT_DSC: "Adds an Audio and a prompt value together and returns the resulting Audio by appending them together.", AR_OP_AUDIO_ADD_AUDIO_PROMPT_RV: "Appends the Audio and Prompt input values.", AR_OP_AUDIO_ADD_AUDIO_PROMPT_PRM_DSC_0: "An Audio value.", AR_OP_AUDIO_ADD_AUDIO_PROMPT_PRM_DSC_1: "The Prompt value to add.", AR_OP_AUDIO_ADD_AUDIO_PROMPT_EX_OUT_0: 'Audio for the TTS playback of "Hello" followed by the audio for the There prompt for the language in which the flow is running.', AR_OP_AUDIO_ADD_PROMPT_AUDIO_DSC: "Adds a prompt and Audio value together and returns the resulting Audio by appending them together.", AR_OP_AUDIO_ADD_PROMPT_AUDIO_RV: "Appends the Prompt and Audio input values.", AR_OP_AUDIO_ADD_PROMPT_AUDIO_PRM_DSC_0: "A Prompt.", AR_OP_AUDIO_ADD_PROMPT_AUDIO_PRM_DSC_1: "An Audio value to add.", AR_OP_AUDIO_ADD_PROMPT_AUDIO_EX_OUT_0: 'Audio for the Hello prompt for the language in which the current flow is running followed by the TTS playback of "There".', AR_OP_DEC_ADD_DEC_DEC_DSC: "Adds two Decimal values and returns the result.", AR_OP_DEC_ADD_DEC_DEC_RV: "The sum of the two Decimal input values.", AR_OP_DEC_ADD_DEC_DEC_PRM_DSC_0: "A Decimal value.", AR_OP_DEC_ADD_DEC_DEC_PRM_DSC_1: "A Decimal value to add.", AR_OP_DTM_ADD_DUR_DTM_DSC: "Adds a DateTime to a Duration and returns the resulting DateTime.", AR_OP_DTM_ADD_DUR_DTM_RV: "Returns the result of adding the supplied DateTime to a Duration value.", AR_OP_DTM_ADD_DUR_DTM_PRM_DSC_0: "A Duration value.", AR_OP_DTM_ADD_DUR_DTM_PRM_DSC_1: "A DateTime value to which the Duration is added.", AR_OP_DTM_ADD_DUR_DTM_EX_OUT_0: "A DateTime of June 1, 2003 at 1:01:01 AM", AR_OP_DTM_ADD_DTM_DUR_DSC: "Adds a Duration to a DateTime and returns the resulting DateTime.", AR_OP_DTM_ADD_DTM_DUR_RV: "Returns the result of adding the supplied Duration to a DateTime value.", AR_OP_DTM_ADD_DTM_DUR_PRM_DSC_0: "A DateTime value.", AR_OP_DTM_ADD_DTM_DUR_PRM_DSC_1: "A Duration value to add.", AR_OP_DTM_ADD_DTM_DUR_EX_OUT_0: "A DateTime of June 1, 2003 at 1:01:01 AM", AR_OP_DATE_ADD_DUR_DATE_DSC: "Adds a Date to a Duration and returns the resulting Date. The number of days to add is calculated by taking the integral part of the supplied Duration value divided by 86400 seconds ( the number of seconds in 1 day ).", AR_OP_DATE_ADD_DUR_DATE_RV: "Returns the result of adding the supplied Date to a Duration value.", AR_OP_DATE_ADD_DUR_DATE_PRM_DSC_0: "A Duration value.", AR_OP_DATE_ADD_DUR_DATE_PRM_DSC_1: "A Date value to which the Duration is added.", AR_OP_DATE_ADD_DUR_DATE_EX_OUT_0: "A Date whose value is June 2nd, 2003.", AR_OP_DATE_ADD_DATE_DUR_DSC: "Adds days to a Date. The number of days to add is calculated by taking the integral value of the total number of seconds in the supplied Duration value divided by 86400 ( the number of seconds in 1 day ).", AR_OP_DATE_ADD_DATE_DUR_RV: "Returns the result of adding the supplied Duration to a Date value.", AR_OP_DATE_ADD_DATE_DUR_PRM_DSC_0: "A Date value.", AR_OP_DATE_ADD_DATE_DUR_PRM_DSC_1: "A Duration value to add.", AR_OP_DATE_ADD_DATE_DUR_EX_OUT_0: "A Date whose value is June 3rd, 2003.", AR_OP_TIME_ADD_DUR_TIME_DSC: "Adds a Time to a Duration and returns the resulting Time. Addition of a Duration value with a Time value allows for wrap-around so adding three hours to a Time value of 23:00:00 will return a Time value of 02:00:00.", AR_OP_TIME_ADD_DUR_TIME_RV: "Returns the result of adding the supplied Time to a Duration value.", AR_OP_TIME_ADD_DUR_TIME_PRM_DSC_0: "A Duration value.", AR_OP_TIME_ADD_DUR_TIME_PRM_DSC_1: "A Time value to which the Duration is added.", AR_OP_TIME_ADD_DUR_TIME_EX_OUT_0: "A Time whose value is 02:02:06AM.", AR_OP_TIME_ADD_TIME_DUR_DSC: "Adds a Duration to a Time and returns the resulting Time. Addition of a Duration value to a Time value allows for wrap-around so adding three hours to a Time value of 23:00:00 will return a Time value of 02:00:00.", AR_OP_TIME_ADD_TIME_DUR_RV: "Returns the result of adding the supplied Duration to a Time value.", AR_OP_TIME_ADD_TIME_DUR_PRM_DSC_0: "A Time value.", AR_OP_TIME_ADD_TIME_DUR_PRM_DSC_1: "A Duration value to add.", AR_OP_TIME_ADD_TIME_DUR_EX_OUT_0: "A Time whose value is 02:01:01AM.", AR_OP_DUR_ADD_DUR_DUR_DSC: "Adds two Duration values and returns the result.", AR_OP_DUR_ADD_DUR_DUR_RV: "The sum of the two Duration input values.", AR_OP_DUR_ADD_DUR_DUR_PRM_DSC_0: "A Duration value.", AR_OP_DUR_ADD_DUR_DUR_PRM_DSC_1: "A Duration value to add.", AR_OP_DUR_ADD_DUR_DUR_EX_OUT_0: "A Duration of 1 day, eleven hours, 45 minutes and 30 seconds.", AR_OP_STR_ADD_STR_STR_DSC: "Appends two String values and returns the result. Note: We recommend using the Append function instead of + to append strings together.", AR_OP_STR_ADD_STR_STR_RV: "The concatenation of the two String input values.", AR_OP_STR_ADD_STR_STR_PRM_DSC_0: "A String value.", AR_OP_STR_ADD_STR_STR_PRM_DSC_1: "A String value to add.", AR_OP_DSC_BITAND: "Performs a bitwise and of two values.", AR_OP_LNG_BITAND_LNG_LNG_DSC: "Performs a bitwise and on two Integer values and returns the result.", AR_OP_LNG_BITAND_LNG_LNG_RV: "The bitwise and of two supplied Integer values.", AR_OP_LNG_BITAND_LNG_LNG_PRM_DSC_0: "The first Integer value for the bitwise and.", AR_OP_LNG_BITAND_LNG_LNG_PRM_DSC_1: "The second Integer value for the bitwise and.", AR_OP_DSC_BITNOT: "Performs a bitwise not on a value.", AR_OP_LNG_BITNOT_LNG_DSC: "Performs a bitwise not on the supplied Integer value and returns the result.", AR_OP_LNG_BITNOT_LNG_RV: "The bitwise not of the supplied Integer value.", AR_OP_LNG_BITNOT_LNG_PRM_DSC_0: "The Integer value on which to perform the bitwise not.", AR_OP_DSC_BITOR: "Performs a bitwise inclusive or of two values.", AR_OP_LNG_BITOR_LNG_LNG_DSC: "Performs a bitwise inclusive or on two Integer values and returns the result.", AR_OP_LNG_BITOR_LNG_LNG_RV: "The bitwise inclusive or of two supplied Integer values.", AR_OP_LNG_BITOR_LNG_LNG_PRM_DSC_0: "The first Integer value for the bitwise or.", AR_OP_LNG_BITOR_LNG_LNG_PRM_DSC_1: "The second Integer value for the bitwise or.", AR_OP_DSC_SUB: "The subtraction operator returns the difference of two values.", AR_OP_DATE_SUB_DATE_DUR_DSC: "Subtracts days from a Date. The number of days to subtract is calculated by taking the integral value of the total number of seconds in the supplied Duration value divided by 86400 ( the number of seconds in 1 day ).", AR_OP_DATE_SUB_DATE_DUR_RV: "Returns a Date that is the result of subtracting the number of days in the supplied duration from the Date value.", AR_OP_DATE_SUB_DATE_DUR_PRM_DSC_0: "A Date value.", AR_OP_DATE_SUB_DATE_DUR_PRM_DSC_1: "A Duration value that supplies the number of days to subtract.", AR_OP_DATE_SUB_DATE_DUR_EX_OUT_0: "A Date whose value is December 31st, 2008.", AR_OP_DATE_SUB_DATE_DUR_EX_OUT_1: "A Date whose value is February 25th, 2020.", AR_OP_LNG_SUB_LNG_LNG_DSC: "Subtracts an Integer value from an Integer value and returns the result.", AR_OP_LNG_SUB_LNG_LNG_RV: "The difference of the two Integer input values.", AR_OP_LNG_SUB_LNG_LNG_PRM_DSC_0: "The Integer value from which to subtract.", AR_OP_LNG_SUB_LNG_LNG_PRM_DSC_1: "The Integer value to subtract.", AR_OP_CUR_SUB_CUR_CUR_DSC: "Subtracts a Currency value from a Currency value and returns the result. The Currency values must have the same code.", AR_OP_CUR_SUB_CUR_CUR_RV: "The difference of the two Currency input values.", AR_OP_CUR_SUB_CUR_CUR_PRM_DSC_0: "The Currency value from which to subtract.", AR_OP_CUR_SUB_CUR_CUR_PRM_DSC_1: "The Currency value to subtract.", AR_OP_CUR_SUB_CUR_CUR_EX_OUT_0: 'A Currency with an amount of 1.25 and code of "USD"', AR_OP_CUR_SUB_CUR_CUR_EX_OUT_1: "A Currency with an amount of 2.75 and NOT_SET code.", AR_OP_DEC_SUB_DEC_DEC_DSC: "Subtracts a Decimal value from a Decimal value and returns the result.", AR_OP_DEC_SUB_DEC_DEC_RV: "The difference of the two Decimal input values.", AR_OP_DEC_SUB_DEC_DEC_PRM_DSC_0: "The Decimal value from which to subtract.", AR_OP_DEC_SUB_DEC_DEC_PRM_DSC_1: "The Decimal value to subtract.", AR_OP_DEC_SUB_DEC_LNG_DSC: "Subtracts an Integer value from a Decimal value and returns the result.", AR_OP_DEC_SUB_DEC_LNG_RV: "The difference of the two input values.", AR_OP_DEC_SUB_DEC_LNG_PRM_DSC_0: "The Decimal value from which to subtract.", AR_OP_DEC_SUB_DEC_LNG_PRM_DSC_1: "The Integer value to subtract.", AR_OP_DEC_SUB_LNG_DEC_DSC: "Subtracts a Decimal value from an Integer value and returns the result.", AR_OP_DEC_SUB_LNG_DEC_RV: "The difference of the two input values.", AR_OP_DEC_SUB_LNG_DEC_PRM_DSC_0: "The Integer value from which to subtract.", AR_OP_DEC_SUB_LNG_DEC_PRM_DSC_1: "The Decimal value to subtract.", AR_OP_DTM_SUB_DUR_DUR_DSC: "Subtracts a Duration value from a Duration value and returns the result.", AR_OP_DTM_SUB_DUR_DUR_RV: "The difference of the two Duration input values.", AR_OP_DTM_SUB_DUR_DUR_PRM_DSC_0: "The Duration value from which to subtract.", AR_OP_DTM_SUB_DUR_DUR_PRM_DSC_1: "The Duration value to subtract.", AR_OP_DTM_SUB_DUR_DUR_EX_OUT_0: "A Duration of 5 hours and 15 minutes.", AR_OP_DTM_SUB_DTM_DUR_DSC: "Subtracts a Duration from a DateTime and returns the resulting DateTime.", AR_OP_DTM_SUB_DTM_DUR_RV: "Returns the result of subtracting the supplied Duration from a DateTime value.", AR_OP_DTM_SUB_DTM_DUR_PRM_DSC_0: "A DateTime value.", AR_OP_DTM_SUB_DTM_DUR_PRM_DSC_1: "A Duration value to subtract.", AR_OP_DTM_SUB_DTM_DUR_EX_OUT_0: "A DateTime of June 2, 2003 at 10:58:59 PM", AR_OP_TIME_SUB_TIME_DUR_DSC: "Subtracts a Duration from a Time value. Subtraction of a Duration value from a Time value allows for wrap-around so subtracting three hours to a Time value of 01:00:00 will return a Time value of 22:00:00.", AR_OP_TIME_SUB_TIME_DUR_RV: "Returns a Time that is the result of adding the supplied Duration value to the supplied Time value.", AR_OP_TIME_SUB_TIME_DUR_PRM_DSC_0: "A Time value.", AR_OP_TIME_SUB_TIME_DUR_PRM_DSC_1: "A Duration value that supplies the number of days to add to the Time value in startTime.", AR_OP_TIME_SUB_TIME_DUR_EX_OUT_0: "A Time whose value is 06:00:00AM.", AR_OP_TIME_SUB_TIME_DUR_EX_OUT_1: "A Time whose value is 06:00:00AM.", AR_OP_TIME_SUB_TIME_DUR_EX_OUT_2: "A Time whose value is 11:00:00PM.", AR_OP_DSC_MUL: "The multiplication operator returns the product of two values.", AR_OP_LNG_MUL_LNG_LNG_DSC: "Multiplies an Integer value by an Integer value and returns the result.", AR_OP_LNG_MUL_LNG_LNG_RV: "The result of the multiplication of the two Integer input values ( product ).", AR_OP_LNG_MUL_LNG_LNG_PRM_DSC_0: "The Integer value to multiply.", AR_OP_LNG_MUL_LNG_LNG_PRM_DSC_1: "The Integer value to multiply by.", AR_OP_DEC_MUL_DEC_DEC_DSC: "Multiplies a Decimal value by a Decimal value and returns the result.", AR_OP_DEC_MUL_DEC_DEC_RV: "The result of the multiplication of the two Decimal input values ( product ).", AR_OP_DEC_MUL_DEC_DEC_PRM_DSC_0: "The Decimal value to multiply.", AR_OP_DEC_MUL_DEC_DEC_PRM_DSC_1: "The Decimal value to multiply by.", AR_OP_DEC_MUL_LNG_DEC_DSC: "Multiplies an Integer value by an Decimal value and returns the result.", AR_OP_DEC_MUL_LNG_DEC_RV: "The result of the multiplication of the two Integer input values ( product ).", AR_OP_DEC_MUL_LNG_DEC_PRM_DSC_0: "The Integer value to multiply.", AR_OP_DEC_MUL_LNG_DEC_PRM_DSC_1: "The Decimal value to multiply by.", AR_OP_DEC_MUL_DEC_LNG_DSC: "Multiplies a Decimal value by an Integer value and returns the result.", AR_OP_DEC_MUL_DEC_LNG_RV: "The result of the multiplication of the two Decimal input values ( product ).", AR_OP_DEC_MUL_DEC_LNG_PRM_DSC_0: "The Decimal value to multiply.", AR_OP_DEC_MUL_DEC_LNG_PRM_DSC_1: "The Integer value to multiply by.", AR_OP_CUR_MUL_DEC_CUR_DSC: "Multiplies a Decimal value by a Currency value and returns the result.", AR_OP_CUR_MUL_DEC_CUR_RV: "The result of the multiplication of the Decimal and Currency values ( product ).", AR_OP_CUR_MUL_DEC_CUR_PRM_DSC_0: "The Decimal value to multiply.", AR_OP_CUR_MUL_DEC_CUR_PRM_DSC_1: "The Currency value to multiply by.", AR_OP_CUR_MUL_DEC_CUR_EX_OUT_0: 'A Currency with an amount of 37.8 and code of "USD"', AR_OP_CUR_MUL_CUR_DEC_DSC: "Multiplies a Currency value by a Decimal value and returns the result.", AR_OP_CUR_MUL_CUR_DEC_RV: "The result of the multiplication of the Currency and Decimal values ( product ).", AR_OP_CUR_MUL_CUR_DEC_PRM_DSC_0: "The Currency value to multiply.", AR_OP_CUR_MUL_CUR_DEC_PRM_DSC_1: "The Decimal value to multiply by.", AR_OP_CUR_MUL_CUR_DEC_EX_OUT_0: 'A Currency with an amount of -37.8 and code of "USD"', AR_OP_CUR_MUL_LNG_CUR_DSC: "Multiplies an Integer value by a Currency value and returns the result.", AR_OP_CUR_MUL_LNG_CUR_RV: "The result of the multiplication of the Integer and Currency values ( product ).", AR_OP_CUR_MUL_LNG_CUR_PRM_DSC_0: "The Integer value to multiply.", AR_OP_CUR_MUL_LNG_CUR_PRM_DSC_1: "The Currency value to multiply by.", AR_OP_CUR_MUL_LNG_CUR_EX_OUT_0: 'A Currency with an amount of 36.75 and code of "USD"', AR_OP_CUR_MUL_CUR_LNG_DSC: "Multiplies a Currency value by an Integer value and returns the result.", AR_OP_CUR_MUL_CUR_LNG_RV: "The result of the multiplication of the Currency and Integer values ( product ).", AR_OP_CUR_MUL_CUR_LNG_PRM_DSC_0: "The Currency value to multiply.", AR_OP_CUR_MUL_CUR_LNG_PRM_DSC_1: "The Integer value to multiply by.", AR_OP_CUR_MUL_CUR_LNG_EX_OUT_0: 'A Currency with an amount of 36.75 and code of "USD"', AR_OP_DSC_DIV: "The division operator divides two values.", AR_OP_DEC_DIV_LNG_DEC_DSC: "Divides an Integer value by a Decimal value and returns the result.", AR_OP_DEC_DIV_LNG_DEC_RV: "The result of the division ( quotient ) from the supplied Integer and Decimal values.", AR_OP_DEC_DIV_LNG_DEC_PRM_DSC_0: "The Integer value to divide.", AR_OP_DEC_DIV_LNG_DEC_PRM_DSC_1: "The Decimal value to divide by.", AR_OP_DEC_DIV_DEC_LNG_DSC: "Divides a Decimal value by an Integer value and returns the result.", AR_OP_DEC_DIV_DEC_LNG_RV: "The result of the division ( quotient ) from the supplied Decimal and Integer values.", AR_OP_DEC_DIV_DEC_LNG_PRM_DSC_0: "The Decimal value to divide.", AR_OP_DEC_DIV_DEC_LNG_PRM_DSC_1: "The Integer value to divide by.", AR_OP_DEC_DIV_LNG_LNG_DSC: "Divides an Integer value by an Integer value and returns the result.", AR_OP_DEC_DIV_LNG_LNG_RV: "The result of the division ( quotient ) from the supplied Integer values.", AR_OP_DEC_DIV_LNG_LNG_PRM_DSC_0: "The Integer value to divide.", AR_OP_DEC_DIV_LNG_LNG_PRM_DSC_1: "The Integer value to divide by.", AR_OP_DEC_DIV_DEC_DEC_DSC: "Divides a Decimal value by a Decimal value and returns the result.", AR_OP_DEC_DIV_DEC_DEC_RV: "The result of the division ( quotient ) from the supplied Decimal values.", AR_OP_DEC_DIV_DEC_DEC_PRM_DSC_0: "The Decimal value to divide.", AR_OP_DEC_DIV_DEC_DEC_PRM_DSC_1: "The Decimal value to divide by.", AR_OP_CUR_DIV_CUR_DEC_DSC: "Divides a Currency value by a Decimal value and returns the result.", AR_OP_CUR_DIV_CUR_DEC_RV: "The result of the division ( quotient ) from the supplied Currency and Decimal values.", AR_OP_CUR_DIV_CUR_DEC_PRM_DSC_0: "The Currency value to divide.", AR_OP_CUR_DIV_CUR_DEC_PRM_DSC_1: "The Decimal value to divide by.", AR_OP_CUR_DIV_CUR_DEC_EX_OUT_0: 'A Currency with an amount of 7.21 and code of "USD"', AR_OP_CUR_DIV_CUR_LNG_DSC: "Divides a Currency value by an Integer value and returns the result.", AR_OP_CUR_DIV_CUR_LNG_RV: "The result of the division ( quotient ) from the supplied Currency and Decimal values.", AR_OP_CUR_DIV_CUR_LNG_PRM_DSC_0: "The Currency value to divide.", AR_OP_CUR_DIV_CUR_LNG_PRM_DSC_1: "The Integer value to divide by.", AR_OP_CUR_DIV_CUR_LNG_EX_OUT_0: 'A Currency with an amount of 7.50 and code of "USD"', AR_OP_DSC_POW: "The power operator calculates the result of raising a value to the power of another value.", AR_OP_LNG_POW_LNG_LNG_DSC: "Raises an Integer value to the power of another Integer value.", AR_OP_LNG_POW_LNG_LNG_RV: "The result of raising an Integer value to the power of another Integer value.", AR_OP_LNG_POW_LNG_LNG_PRM_DSC_0: "The Integer value to raise.", AR_OP_LNG_POW_LNG_LNG_PRM_DSC_1: "The Integer value to raise by.", AR_OP_DEC_POW_LNG_DEC_DSC: "Raises an Integer value to the power of a Decimal value.", AR_OP_DEC_POW_LNG_DEC_RV: "The result of raising an Integer value to the power of Decimal value.", AR_OP_DEC_POW_LNG_DEC_PRM_DSC_0: "The Integer value to raise.", AR_OP_DEC_POW_LNG_DEC_PRM_DSC_1: "The Decimal value to raise by.", AR_OP_DEC_POW_DEC_LNG_DSC: "Raises a Decimal value to the power of an Integer value.", AR_OP_DEC_POW_DEC_LNG_RV: "The result of raising an Integer value to the power of Decimal value.", AR_OP_DEC_POW_DEC_LNG_PRM_DSC_0: "The Decimal value to raise.", AR_OP_DEC_POW_DEC_LNG_PRM_DSC_1: "The Integer value to raise by.", AR_OP_DEC_POW_DEC_DEC_DSC: "Raises a Decimal value to the power of another Decimal value.", AR_OP_DEC_POW_DEC_DEC_RV: "The result of raising a Decimal value to the power of another Decimal value.", AR_OP_DEC_POW_DEC_DEC_PRM_DSC_0: "The Decimal value to raise.", AR_OP_DEC_POW_DEC_DEC_PRM_DSC_1: "The Decimal value to raise by.", AR_OP_DSC_TER: "The ternary operator is a shorthand way to provide logical if functionality in an expression. It is the only operator that takes three parameters.", AR_OP_ANY_TER_BLN_ANY_ANY_DSC: "Evaluates the Boolean passed in the condition parameter and if the result is true, the value of the trueParameter is returned. Otherwise the value of falseParameter is returned. Only the trueValue or falseValue parameter will be evaluated based on the result the condition parameter. The type of data passed in to trueValue and falseValue parameters must be the same.", AR_OP_ANY_TER_BLN_ANY_ANY_RV: "If value in the condition parameter evaluates to true, the value in the trueValue parameter is returned. If the value of the condition evaluates to false, the value of the falseValue parameter is returned.", AR_OP_ANY_TER_BLN_ANY_ANY_PRM_DSC_0: "The condition to check. A NOT_SET Boolean is considered false.", AR_OP_ANY_TER_BLN_ANY_ANY_PRM_DSC_1: "The value to return if the condition is true.", AR_OP_ANY_TER_BLN_ANY_ANY_PRM_DSC_2: "The value to return if the condition is false or a NOT_SET Boolean.", AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_4: 'A Currency with an amount of 10.00 and code of "USD".', AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_5: "The DateTime of May 5th, 2009 at 10:30:00 AM in Coordinated Universal Time (UTC)", AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_6: "A Duration of 1 hour.", AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_7: 'The User with the name "Doe, John".', AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_8: "The Skill of Spanish.", AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_9: "The Date whose value is June 1st, 2010.", AR_OP_ANY_TER_BLN_ANY_ANY_EX_OUT_10: "The Time whose value is 12:00:00PM.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_DSC: "Evaluates the Boolean passed in the condition parameter and if the result is true, the value of the trueParameter is returned. Otherwise the value of falseParameter is returned. Only the trueValue or falseValue parameter will be evaluated based on the result the condition parameter. The type of data passed in to trueValue and falseValue parameters must be the same.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_RV: "If value in the condition parameter evaluates to true, the value in the trueValue parameter is returned. If the value of the condition evaluates to false, the value of the falseValue parameter is returned.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_PRM_DSC_0: "The condition to check. A NOT_SET Boolean is considered false.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_PRM_DSC_1: "The collection value to return if the condition is true.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_PRM_DSC_2: "The collection value to return if the condition is false or a NOT_SET Boolean.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_0: 'A Currency collection with one item. The Currency item has an amount of 10.00 and code of "USD".', AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_1: "The collection with the Boolean value true.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_2: 'The String collection with the "hello" string in it.', AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_3: "The Integer collection with the value 100 in it.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_4: "The Integer collection with the value 100.5 in it.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_5: "A DateTime collection with the DateTime value of May 5th, 2009 at 10:30:00 AM in Coordinated Universal Time (UTC).", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_6: "The Duration collection with the Duration of 1 hour.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_7: 'A User collection with the User whose username is "john.doe@company.com".', AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_8: "A Skill collection with the Skill of Spanish.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_9: "The Date collection with one Date item whose value is June 1st, 2010.", AR_OP_ANY_COLL_TER_BLN_ANY_COLL_ANY_COLL_EX_OUT_10: "The Time collection with one Time item whose value is 12:00:00PM.", AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_DSC: "Evaluates the Boolean passed in the condition parameter and if the result is true, the value of the trueParameter is returned. Otherwise the value of falseParameter is returned. Only the trueValue or falseValue parameter will be evaluated based on the result the condition parameter. The type of data passed in to trueValue and falseValue parameters must be the same.", AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_RV: "If value in the condition parameter evaluates to true, the Audio value in the trueValueAudio parameter is returned. If the value of the condition evaluates to false, the value of the falseValueAudio parameter is returned.", AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_PRM_DSC_0: "The condition to check. A NOT_SET Boolean is considered false.", AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_PRM_DSC_1: "The Audio value to return if the condition is true.", AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_PRM_DSC_2: "The Audio value to return if the condition is false or a NOT_SET Boolean.", AR_OP_AUDIO_TER_BLN_AUDIO_AUDIO_EX_OUT_0: 'Audio for the string "Hello" spoken via. text to speech.', AR_OP_DSC_MOD: "The modulus operator calculates the remainder of the division of two values.", AR_OP_LNG_MOD_LNG_LNG_DSC: "Calculates the remainder of dividing an Integer value by an Integer value.", AR_OP_LNG_MOD_LNG_LNG_RV: "Returns the remainder of dividing an Integer by an Integer value.", AR_OP_LNG_MOD_LNG_LNG_PRM_DSC_0: "The Integer value to divide.", AR_OP_LNG_MOD_LNG_LNG_PRM_DSC_1: "The Integer value to divide by.", AR_OP_DEC_MOD_DEC_DEC_DSC: "Calculates the remainder of dividing a Decimal value by a Decimal value.", AR_OP_DEC_MOD_DEC_DEC_RV: "Returns the remainder of dividing a Decimal value by a Decimal value.", AR_OP_DEC_MOD_DEC_DEC_PRM_DSC_0: "The Decimal value to divide.", AR_OP_DEC_MOD_DEC_DEC_PRM_DSC_1: "The Decimal value to divide by.", AR_OP_DEC_MOD_LNG_DEC_DSC: "Calculates the remainder of dividing an Integer value by a Decimal value.", AR_OP_DEC_MOD_LNG_DEC_RV: "Returns the remainder of dividing an Integer by an Integer value.", AR_OP_DEC_MOD_LNG_DEC_PRM_DSC_0: "The Integer value to divide.", AR_OP_DEC_MOD_LNG_DEC_PRM_DSC_1: "The Decimal value to divide by.", AR_OP_DEC_MOD_DEC_LNG_DSC: "Calculates the remainder of dividing a Decimal value by an Integer value.", AR_OP_DEC_MOD_DEC_LNG_RV: "Returns the remainder of dividing a Decimal value by an Integer value.", AR_OP_DEC_MOD_DEC_LNG_PRM_DSC_0: "The Decimal value to divide.", AR_OP_DEC_MOD_DEC_LNG_PRM_DSC_1: "The Integer value to divide by.", AR_OP_CUR_MOD_CUR_DEC_DSC: "Calculates the remainder of dividing a Currency value by a Decimal value.", AR_OP_CUR_MOD_CUR_DEC_RV: "Returns the remainder of dividing a Currency value by a Decimal value.", AR_OP_CUR_MOD_CUR_DEC_PRM_DSC_0: "The Currency value to divide.", AR_OP_CUR_MOD_CUR_DEC_PRM_DSC_1: "The Decimal value to divide by.", AR_OP_CUR_MOD_CUR_DEC_EX_OUT_0: 'A Currency with an amount of 9.4 and code of "USD"', AR_OP_CUR_MOD_CUR_LNG_DSC: "Calculates the remainder of dividing a Currency value by an Integer value.", AR_OP_CUR_MOD_CUR_LNG_RV: "Returns the remainder of dividing a Currency value by an Integer value.", AR_OP_CUR_MOD_CUR_LNG_PRM_DSC_0: "The Currency value to divide.", AR_OP_CUR_MOD_CUR_LNG_PRM_DSC_1: "The Integer value to divide by.", AR_OP_CUR_MOD_CUR_LNG_EX_OUT_0: 'A Currency with an amount of 1.95 and code of "USD"', AR_OP_DSC_NOT: "The not operator returns the logical negation of a Boolean value.", AR_OP_BLN_NOT_BLN_DSC: "Returns the inverse of a Boolean value.", AR_OP_BLN_NOT_BLN_RV: "Returns the logical negation of the supplied Boolean value.", AR_OP_BLN_NOT_BLN_PRM_DSC_0: "The Boolean value to negate.", AR_OP_DSC_NEG: "The negation operator calculates the negative value of the supplied value.", AR_OP_CUR_NEG_CUR_DSC: "The negation of a Currency value.", AR_OP_CUR_NEG_CUR_RV: "Returns the negation of a Currency value.", AR_OP_CUR_NEG_CUR_PRM_DSC_0: "The Currency value to negate.", AR_OP_CUR_NEG_CUR_EX_OUT_0: 'A Currency with an amount of -5.25 and code of "USD"', AR_OP_CUR_NEG_CUR_EX_OUT_1: 'A Currency with an amount of 0.00 and code of "USD"', AR_OP_LNG_NEG_LNG_DSC: "The negation of an Integer value.", AR_OP_LNG_NEG_LNG_RV: "Returns the negation of an Integer value.", AR_OP_LNG_NEG_LNG_PRM_DSC_0: "The Integer value to negate.", AR_OP_DEC_NEG_DEC_DSC: "The negation of a Decimal value.", AR_OP_DEC_NEG_DEC_RV: "Returns the negation of a Decimal value.", AR_OP_DEC_NEG_DEC_PRM_DSC_0: "The Decimal value to negate.", AR_OP_DUR_NEG_DUR_DSC: "The negation of a Duration value.", AR_OP_DUR_NEG_DUR_RV: "Returns the negation of a Duration value.", AR_OP_DUR_NEG_DUR_PRM_DSC_0: "The Duration value to negate.", AR_OP_DUR_NEG_DUR_EX_OUT_0: "A Duration value of negative 10 days.", AR_OP_DSC_AND: "Performs a logical and operation on two Boolean values.", AR_OP_BLN_LOGICALAND_BLN_BLN_DSC: "Performs a logical and of the two Boolean values supplied. If both values evaluate to true, the result is true. Otherwise, the result is false. If value1 evaluates to false, false is returned and the value specified in the value2 parameter is not evaluated.", AR_OP_BLN_LOGICALAND_BLN_BLN_RV: "Returns the result of the boolean and operation.", AR_OP_BLN_LOGICALAND_BLN_BLN_PRM_DSC_0: "The first Boolean value for the logical and.", AR_OP_BLN_LOGICALAND_BLN_BLN_PRM_DSC_1: "The second Boolean value for the logical and.", AR_OP_DSC: "Performs a logical or operation on two Boolean values.", AR_OP_BLN_LOGICALOR_BLN_BLN_DSC: "Performs a logical or of the two supplied Boolean values. If either value evaluates to true, the result is true. Otherwise, the result is false. If the value1 evaluates to true, true is returned and the value in the value2 parameter is not evaluated.", AR_OP_BLN_LOGICALOR_BLN_BLN_RV: "Returns the result of the boolean or operation.", AR_OP_BLN_LOGICALOR_BLN_BLN_PRM_DSC_0: "The first Boolean value for the logical or.", AR_OP_BLN_LOGICALOR_BLN_BLN_PRM_DSC_1: "The second Boolean value for the logical or.", AR_OP_DSC_GT: "The greater than operator compares two values and returns true if the first is greater than the second.", AR_OP_BLN_GT_DATE_DATE_DSC: "Compares two Date values and returns true if the first Date value is greater than the second Date value.", AR_OP_BLN_GT_DATE_DATE_RV: "Returns true if the first Date value is greater than the second Date value, otherwise false.", AR_OP_BLN_GT_DATE_DATE_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_DATE_DATE_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_LNG_DEC_DSC: "Compares an Integer and a Decimal and returns true if the Integer value is greater than the Decimal value.", AR_OP_BLN_GT_LNG_DEC_RV: "Returns true if the first Integer value is greater than the second Decimal value, otherwise false.", AR_OP_BLN_GT_LNG_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_LNG_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_DEC_LNG_DSC: "Compares a Decimal and an Integer and returns true if the Decimal value is greater than the Integer value.", AR_OP_BLN_GT_DEC_LNG_RV: "Returns true if the first Decimal value is greater than the second Integer value, otherwise false.", AR_OP_BLN_GT_DEC_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_DEC_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_CUR_CUR_DSC: "Compares two Currency values and returns true if the first Currency value is greater than the second Currency value. The currencies must have the same code.", AR_OP_BLN_GT_CUR_CUR_RV: "Returns true if the first Currency value is greater than the second Currency value, otherwise false.", AR_OP_BLN_GT_CUR_CUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_CUR_CUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_DTM_DTM_DSC: "Compares two DateTime values and returns true if the first DateTime value is greater than the second DateTime value.", AR_OP_BLN_GT_DTM_DTM_RV: "Returns true if the first DateTime value is greater than the second DateTime value, otherwise false.", AR_OP_BLN_GT_DTM_DTM_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_DTM_DTM_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_DEC_DEC_DSC: "Compares two Decimal values and returns true if the first Decimal value is greater than the second Decimal value.", AR_OP_BLN_GT_DEC_DEC_RV: "Returns true if the first Decimal value is greater than the second Decimal value, otherwise false.", AR_OP_BLN_GT_DEC_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_DEC_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_DUR_DUR_DSC: "Compares two Duration values and returns true if the first Duration value is greater than the second Duration value.", AR_OP_BLN_GT_DUR_DUR_RV: "Returns true if the first Duration value is greater than the second Duration value, otherwise false.", AR_OP_BLN_GT_DUR_DUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_DUR_DUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_LNG_LNG_DSC: "Compares two Integer values and returns true if the first Integer value is greater than the second Integer value.", AR_OP_BLN_GT_LNG_LNG_RV: "Returns true if the first Integer value is greater than the second Integer value, otherwise false.", AR_OP_BLN_GT_LNG_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_LNG_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_STR_STR_DSC: "Compares two String values and returns true if the first String value is greater than the second String value. This is a case sensitive comparison.", AR_OP_BLN_GT_STR_STR_RV: "Returns true if the first String value is greater than the second String value, otherwise false.", AR_OP_BLN_GT_STR_STR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_STR_STR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GT_TIME_TIME_DSC: "Compares two Time values and returns true if the first Time value is greater than the second Time value.", AR_OP_BLN_GT_TIME_TIME_RV: "Returns true if the first Time value is greater than the second Time value, otherwise false.", AR_OP_BLN_GT_TIME_TIME_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GT_TIME_TIME_PRM_DSC_1: "The value to compare to.", AR_OP_DSC_GTE: "The greater than or equal to operator compares two values and returns true if the first is greater than or equal to the second.", AR_OP_BLN_GTE_DATE_DATE_DSC: "Compares two Date values and returns true if the first Date value is greater than or equal to the second Date value.", AR_OP_BLN_GTE_DATE_DATE_RV: "Returns true if the first Date value is greater than or equal to the second Date value, otherwise false.", AR_OP_BLN_GTE_DATE_DATE_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_DATE_DATE_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_LNG_DEC_DSC: "Compares an Integer and a Decimal and returns true if the Integer value is greater than or equal to the Decimal value.", AR_OP_BLN_GTE_LNG_DEC_RV: "Returns true if the first Integer value is greater than or equal to the second Decimal value, otherwise false.", AR_OP_BLN_GTE_LNG_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_LNG_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_DEC_LNG_DSC: "Compares a Decimal and an Integer and returns true if the Decimal value is greater than or equal to the Integer value.", AR_OP_BLN_GTE_DEC_LNG_RV: "Returns true if the first Decimal value is greater than or equal to the second Integer value, otherwise false.", AR_OP_BLN_GTE_DEC_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_DEC_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_CUR_CUR_DSC: "Compares two Currency values and returns true if the first Currency value is greater than the second Currency value. The currencies must have the same code.", AR_OP_BLN_GTE_CUR_CUR_RV: "Returns true if the first Currency value is greater than or equal to the second Currency value, otherwise false.", AR_OP_BLN_GTE_CUR_CUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_CUR_CUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_DTM_DTM_DSC: "Compares two DateTime values and returns true if the first DateTime value is greater than or equal to the second DateTime value.", AR_OP_BLN_GTE_DTM_DTM_RV: "Returns true if the first DateTime value is greater than or equal to the second DateTime value, otherwise false.", AR_OP_BLN_GTE_DTM_DTM_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_DTM_DTM_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_DEC_DEC_DSC: "Compares two Decimal values and returns true if the first Decimal value is greater than or equal to the second Decimal value.", AR_OP_BLN_GTE_DEC_DEC_RV: "Returns true if the first Decimal value is greater than or equal to the second Decimal value, otherwise false.", AR_OP_BLN_GTE_DEC_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_DEC_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_DUR_DUR_DSC: "Compares two Duration values and returns true if the first Duration value is greater than or equal to the second Duration value.", AR_OP_BLN_GTE_DUR_DUR_RV: "Returns true if the first Duration value is greater than or equal to the second Duration value, otherwise false.", AR_OP_BLN_GTE_DUR_DUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_DUR_DUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_LNG_LNG_DSC: "Compares two Integer values and returns true if the first Integer value is greater than or equal to the second Integer value.", AR_OP_BLN_GTE_LNG_LNG_RV: "Returns true if the first Integer value is greater than or equal to the second Integer value, otherwise false.", AR_OP_BLN_GTE_LNG_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_LNG_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_STR_STR_DSC: "Compares two String values and returns true if the first String value is greater than or equal to the second String value.", AR_OP_BLN_GTE_STR_STR_RV: "Returns true if the first String value is greater than or equal to the second String value, otherwise false.", AR_OP_BLN_GTE_STR_STR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_STR_STR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_GTE_TIME_TIME_DSC: "Compares two Time values and returns true if the first Time value is greater than or equal to the second Time value.", AR_OP_BLN_GTE_TIME_TIME_RV: "Returns true if the first Time value is greater than or equal to the second Time value, otherwise false.", AR_OP_BLN_GTE_TIME_TIME_PRM_DSC_0: "The value to compare.", AR_OP_BLN_GTE_TIME_TIME_PRM_DSC_1: "The value to compare to.", AR_OP_DSC_LT: "The less than operator compares two values and returns true if the first is less than the second.", AR_OP_BLN_LT_LNG_DEC_DSC: "Compares an Integer and a Decimal and returns true if the Integer value is less than the Decimal value.", AR_OP_BLN_LT_LNG_DEC_RV: "Returns true if the first Integer value is less than the second Decimal value, otherwise false.", AR_OP_BLN_LT_LNG_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_LNG_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_DEC_LNG_DSC: "Compares a Decimal and an Integer and returns true if the Decimal value is less than the Integer value.", AR_OP_BLN_LT_DEC_LNG_RV: "Returns true if the first Decimal value is less than the second Integer value, otherwise false.", AR_OP_BLN_LT_DEC_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_DEC_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_CUR_CUR_DSC: "Compares two Currency values and returns true if the first Currency value is greater than the second Currency value. The currencies must have the same code.", AR_OP_BLN_LT_CUR_CUR_RV: "Returns true if the first Currency value is less than the second Currency value, otherwise false.", AR_OP_BLN_LT_CUR_CUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_CUR_CUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_DATE_DATE_DSC: "Compares two Date values and returns true if the first Date value is less than the second Date value.", AR_OP_BLN_LT_DATE_DATE_RV: "Returns true if the first Date value is less than the second Date value, otherwise false.", AR_OP_BLN_LT_DATE_DATE_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_DATE_DATE_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_DTM_DTM_DSC: "Compares two DateTime values and returns true if the first DateTime value is less than the second DateTime value.", AR_OP_BLN_LT_DTM_DTM_RV: "Returns true if the first DateTime value is less than the second DateTime value, otherwise false.", AR_OP_BLN_LT_DTM_DTM_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_DTM_DTM_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_DEC_DEC_DSC: "Compares two Decimal values and returns true if the first Decimal value is less than the second Decimal value.", AR_OP_BLN_LT_DEC_DEC_RV: "Returns true if the first Decimal value is less than the second Decimal value, otherwise false.", AR_OP_BLN_LT_DEC_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_DEC_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_DUR_DUR_DSC: "Compares two Duration values and returns true if the first Duration value is less than the second Duration value.", AR_OP_BLN_LT_DUR_DUR_RV: "Returns true if the first Duration value is less than the second Duration value, otherwise false.", AR_OP_BLN_LT_DUR_DUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_DUR_DUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_LNG_LNG_DSC: "Compares two Integer values and returns true if the first Integer value is less than the second Integer value.", AR_OP_BLN_LT_LNG_LNG_RV: "Returns true if the first Integer value is less than the second Integer value, otherwise false.", AR_OP_BLN_LT_LNG_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_LNG_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_STR_STR_DSC: "Compares two String values and returns true if the first String value is less than the second String value.", AR_OP_BLN_LT_STR_STR_RV: "Returns true if the first String value is less than the second String value, otherwise false.", AR_OP_BLN_LT_STR_STR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_STR_STR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LT_TIME_TIME_DSC: "Compares two Time values and returns true if the first Time value is less than the second Time value.", AR_OP_BLN_LT_TIME_TIME_RV: "Returns true if the first Time value is less than the second Time value, otherwise false.", AR_OP_BLN_LT_TIME_TIME_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LT_TIME_TIME_PRM_DSC_1: "The value to compare to.", AR_OP_DSC_LTE: "The less than or equal to operator compares two values and returns true if the first is less than or equal to the second.", AR_OP_BLN_LTE_LNG_DEC_DSC: "Compares an Integer and a Decimal and returns true if the Integer value is less than or equal to the Decimal value.", AR_OP_BLN_LTE_LNG_DEC_RV: "Returns true if the first Integer value is less than or equal to the second Decimal value, otherwise false.", AR_OP_BLN_LTE_LNG_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_LNG_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_DATE_DATE_DSC: "Compares two Date values and returns true if the first Date value is less than the second Date value.", AR_OP_BLN_LTE_DATE_DATE_RV: "Returns true if the first Date value is less than the second Date value, otherwise false.", AR_OP_BLN_LTE_DATE_DATE_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_DATE_DATE_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_DEC_LNG_DSC: "Compares a Decimal and an Integer and returns true if the Decimal value is less than or equal to the Integer value.", AR_OP_BLN_LTE_DEC_LNG_RV: "Returns true if the first Decimal value is less than or equal to the second Integer value, otherwise false.", AR_OP_BLN_LTE_DEC_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_DEC_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_CUR_CUR_DSC: "Compares two Currency values and returns true if the first Currency value is less than or equal to the second Currency value. The currencies must have the same code.", AR_OP_BLN_LTE_CUR_CUR_RV: "Returns true if the first Currency value is less than or equal to the second Currency value, otherwise false.", AR_OP_BLN_LTE_CUR_CUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_CUR_CUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_DTM_DTM_DSC: "Compares two DateTime values and returns true if the first DateTime value is less than or equal to the second DateTime value.", AR_OP_BLN_LTE_DTM_DTM_RV: "Returns true if the first DateTime value is less than or equal to the second DateTime value, otherwise false.", AR_OP_BLN_LTE_DTM_DTM_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_DTM_DTM_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_DEC_DEC_DSC: "Compares two Decimal values and returns true if the first Decimal value is less than or equal to the second Decimal value.", AR_OP_BLN_LTE_DEC_DEC_RV: "Returns true if the first Decimal value is less than or equal to the second Decimal value, otherwise false.", AR_OP_BLN_LTE_DEC_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_DEC_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_DUR_DUR_DSC: "Compares two Duration values and returns true if the first Duration value is less than or equal to the second Duration value.", AR_OP_BLN_LTE_DUR_DUR_RV: "Returns true if the first Duration value is less than or equal to the second Duration value, otherwise false.", AR_OP_BLN_LTE_DUR_DUR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_DUR_DUR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_LNG_LNG_DSC: "Compares two Integer values and returns true if the first Integer value is less than or equal to the second Integer value.", AR_OP_BLN_LTE_LNG_LNG_RV: "Returns true if the first Integer value is less than or equal to the second Integer value, otherwise false.", AR_OP_BLN_LTE_LNG_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_LNG_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_STR_STR_DSC: "Compares two String values and returns true if the first String value is less than or equal to the second String value.", AR_OP_BLN_LTE_STR_STR_RV: "Returns true if the first String value is less than or equal to the second String value, otherwise false.", AR_OP_BLN_LTE_STR_STR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_STR_STR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_LTE_TIME_TIME_DSC: "Compares two Time values and returns true if the first Time value is less than the second Time value.", AR_OP_BLN_LTE_TIME_TIME_RV: "Returns true if the first Time value is less than the second Time value, otherwise false.", AR_OP_BLN_LTE_TIME_TIME_PRM_DSC_0: "The value to compare.", AR_OP_BLN_LTE_TIME_TIME_PRM_DSC_1: "The value to compare to.", AR_OP_DSC_BKT: "Returns either an item at a given index in a collection or the value of a property on a non-collection object.", AR_OP_ANY_BKT_LNG_ANY_COLL_DSC: "Returns the item at the given index in the collection.", AR_OP_ANY_BKT_LNG_ANY_COLL_RV: "Returns the value at the given index", AR_OP_ANY_BKT_LNG_ANY_COLL_PRM_DSC_0: "The index of the item in the collection to access.", AR_OP_ANY_BKT_LNG_ANY_COLL_PRM_DSC_1: "The collection containing the item to access.", AR_OP_ANY_BKT_LNG_ANY_COLL_EX_OUT_0: 'The Currency item at index 1 with an amount of 2.25 and code of "EUR" ( Euros )', AR_OP_ANY_BKT_STR_ANY_DSC: "Returns the value for a property", AR_OP_ANY_BKT_STR_ANY_RV: "Returns the value of the named property.", AR_OP_ANY_BKT_STR_ANY_PRM_DSC_0: "The property name to access on the object which must be a string literal.", AR_OP_ANY_BKT_STR_ANY_PRM_DSC_1: "The object containing the property to access.", AR_OP_JSON_BKT_LNG_JSON_DSC: "Returns the JSON value of an item at a specified index.", AR_OP_JSON_BKT_LNG_JSON_RV: "Returns the item from the supplied JSON array or character from the supplied JSON string value as a JSON value.", AR_OP_JSON_BKT_LNG_JSON_PRM_DSC_0: "The zero-based index of the item in the JSON value array or character position in the JSON value string to return. Attempting to access an array item or string character using a negative index or an index that is greater than or equal to the number of items in the array or length of the string will invoke error handling.", AR_OP_JSON_BKT_LNG_JSON_PRM_DSC_1: "The JSON value that contains an array with the item to return or string value whose character you want to return. If the supplied JSON value does not contain an array or string, this will invoke error handling. Remember the IsJsonArray or IsJsonString functions can be used to check if a JSON value contains an array or string.", AR_OP_JSON_BKT_LNG_JSON_EX_OUT_0: "A JSON value containing the number 3.", AR_OP_JSON_BKT_LNG_JSON_EX_OUT_2: 'A JSON value containing the string "l".', AR_OP_DSC_EQU: "The equals operator returns a Boolean value indicating whether two values are equal.", AR_OP_BLN_EQU_ANY_ANY_DSC: "Compares two values and returns true if the first value is equal to the second value. The values being compared need to be the same type.", AR_OP_BLN_EQU_ANY_ANY_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_ANY_ANY_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_ANY_ANY_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_EQU_DEC_LNG_DSC: "Compares a Decimal and Integer value and returns true if they are equal.", AR_OP_BLN_EQU_DEC_LNG_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_DEC_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_DEC_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_EQU_LNG_DEC_DSC: "Compares an Integer and Decimal value and returns true if they are equal.", AR_OP_BLN_EQU_LNG_DEC_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_LNG_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_LNG_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_DSC: "Compares an Integer collection and a Decimal collection and returns true if the first collection of values is equal to the second collection of values.", AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_LNG_COLL_DEC_COLL_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_DSC: "Compares a Decimal collection and an Integer collection and returns true if the first collection of values is equal to the second collection of values.", AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_DEC_COLL_LNG_COLL_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_EQU_PHNBR_PHNBR_DSC: "Compares two PhoneNumber values and returns true if they are equal. A PhoneNumber is equal to another PhoneNumber if both PhoneNumber value isTel properties are true and the e164 properties are equal, the isSip properties are true and the uri properties are equal or the isTel and isSip properties on both PhoneNumber values are false and the raw properties are equal.", AR_OP_BLN_EQU_PHNBR_PHNBR_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_PHNBR_PHNBR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_PHNBR_PHNBR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_DSC: "Compares two collection of values and returns true if the first collection of values is equal to the second collection of values. The collections being compared must be the same type.", AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_RV: "Returns true if the first value is equal to the second value, otherwise false.", AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_PRM_DSC_0: "The value to compare.", AR_OP_BLN_EQU_ANY_COLL_ANY_COLL_PRM_DSC_1: "The value to compare to.", AR_OP_DSC_NEQ: "The not equals operator returns a Boolean value indicating whether two values are not equal.", AR_OP_BLN_NEQ_ANY_ANY_DSC: "Compares two values and returns true if the first value is not equal to the second value.", AR_OP_BLN_NEQ_ANY_ANY_RV: "Returns true if the first value is not equal to the second value, otherwise false. The values being compared must be the same type.", AR_OP_BLN_NEQ_ANY_ANY_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_ANY_ANY_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_NEQ_DEC_LNG_DSC: "Compares a Decimal and Integer value and returns true if they are not equal.", AR_OP_BLN_NEQ_DEC_LNG_RV: "Returns true if the first value is not equal to the second value, otherwise false.", AR_OP_BLN_NEQ_DEC_LNG_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_DEC_LNG_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_NEQ_LNG_DEC_DSC: "Compares an Integer and Decimal value and returns true if they are not equal.", AR_OP_BLN_NEQ_LNG_DEC_RV: "Returns true if the first value is not equal to the second value, otherwise false.", AR_OP_BLN_NEQ_LNG_DEC_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_LNG_DEC_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_NEQ_PHNBR_PHNBR_DSC: "Compares two PhoneNumber values and returns true if they are not equal. A PhoneNumber is not equal to another PhoneNumber if both PhoneNumber value isTel properties are true and the e164 properties are not equal, the isSip properties are true and the uri properties are not equal or the isTel and isSip properties on both PhoneNumber values are false and the raw properties are not equal.", AR_OP_BLN_NEQ_PHNBR_PHNBR_RV: "Returns true if the first value is not equal to the second value, otherwise false.", AR_OP_BLN_NEQ_PHNBR_PHNBR_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_PHNBR_PHNBR_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_DSC: "Compares an Integer collection and a Decimal collection and returns true if the first collection of values is not equal to the second collection of values.", AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_RV: "Returns true if the first value is not equal to the second value, otherwise false.", AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_LNG_COLL_DEC_COLL_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_DSC: "Compares a Decimal collection and an Integer collection and returns true if the first collection of values is not equal to the second collection of values.", AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_RV: "Returns true if the first value is not equal to the second value, otherwise false.", AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_DEC_COLL_LNG_COLL_PRM_DSC_1: "The value to compare to.", AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_DSC: "Compares two collection of values and returns true if the first collection of values is not equal to the second collection of values. The collections being compared must be the same type.", AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_RV: "Returns true if the first value is not equal to the second value, otherwise false.", AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_PRM_DSC_0: "The value to compare.", AR_OP_BLN_NEQ_ANY_COLL_ANY_COLL_PRM_DSC_1: "The value to compare to.", AR_OP_DSC_PROPACCESS: "Accesses a Property of the given value.", AR_OP_ANY_PROPACCESS_STR_ANY_DSC: "Accesses a property on a value.", AR_OP_ANY_PROPACCESS_STR_ANY_RV: "Returns the value of the property accessed.", AR_OP_ANY_PROPACCESS_STR_ANY_PRM_DSC_0: "The property ID of the property to access in the value.", AR_OP_ANY_PROPACCESS_STR_ANY_PRM_DSC_1: "The value to access.", AR_OP_ANY_PROPACCESS_STR_COMPLEX_DSC: "Accesses a property on a complex value.", AR_OP_ANY_PROPACCESS_STR_COMPLEX_RV: "Returns the value of the property accessed.", AR_OP_ANY_PROPACCESS_STR_COMPLEX_PRM_DSC_0: "The name of the property to access in the value.", AR_OP_ANY_PROPACCESS_STR_COMPLEX_PRM_DSC_1: "The complex value to access.", AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.Bool variable.", AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_RV: "Returns the specified Boolean Format from the Format.Bool variable.", AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_PRM_DSC_0: "The Boolean Format property to access.", AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.Bool variable.", AR_OP_BOOLFORMATENUM_PROPACCESS_STR_BOOLFORMATENUMCONTAINER_EX_OUT_0: "The playYesNo property on the Format.Bool variable.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.Currency variable.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_RV: "Returns the specified Currency Format Enum from the Format.Currency variable.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_PRM_DSC_0: "The Currency Format Enum property to access.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.Currency variable.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_EX_OUT_0: "The playDigits property on the Format.Currency variable.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_EX_OUT_1: "The majorUnitsOnly property on the Format.Currency variable.", AR_OP_CURRENCYFORMATENUM_PROPACCESS_STR_CURRENCYFORMATENUMCONTAINER_EX_OUT_2: "The minorUnitsOnly property on the Format.Currency variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_RV: "Returns the specified Date Format Enum from the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_PRM_DSC_0: "The Date Format Enum property to access.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_0: "The longYear property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_1: "The shortYear property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_2: "The shortMonthAndDay property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_3: "The dayOnly property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_4: "The monthOnly property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_5: "The shortYearOnly property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_6: "The longYearOnly property on the Format.Date variable.", AR_OP_DATEFORMATENUM_PROPACCESS_STR_DATEFORMATENUMCONTAINER_EX_OUT_7: "The dayOfWeekOnly property on the Format.Date variable.", AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.Number variable.", AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_RV: "Returns the specified Number Format Enum from the Format.Number variable.", AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_PRM_DSC_0: "The Number Format Enum property to access.", AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.Number variable.", AR_OP_NUMBERFORMATENUM_PROPACCESS_STR_NUMBERFORMATENUMCONTAINER_EX_OUT_0: "The playDigits property on the Format.Number variable.", AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.PhoneNumber variable.", AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_RV: "Returns the specified Phone Number Format Enum from the Format.PhoneNumber variable.", AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_PRM_DSC_0: "The Phone Number Format Enum property to access.", AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.PhoneNumber variable.", AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_EX_OUT_0: "The global property on the Format.PhoneNumber variable.", AR_OP_PHONENUMBERFORMATENUM_PROPACCESS_STR_PHONENUMBERFORMATENUMCONTAINER_EX_OUT_1: "The local property on the Format.PhoneNumber variable.", AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_DSC: "Accesses a property on the System.Conversation variable.", AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_RV: "Returns the ConversationType Enum from the System.Conversation variable.", AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_PRM_DSC_0: "The Conversation Type Enum property to access.", AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_PRM_DSC_1: "Must be the System.Conversation variable.", AR_OP_CONVERSATIONTYPEENUM_PROPACCESS_STR_CONVERSATIONTYPESENUMCONTAINER_EX_OUT_0: "The ConversationTypes property from the System.Conversation variable.", AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_DSC: "Accesses a property on the System.Currencies variable.", AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_RV: "Returns the specified Currency Enum from the System.Currencies variable.", AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_PRM_DSC_0: "The Currency Enum property to access.", AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_PRM_DSC_1: "Must be the System.Currencies variable.", AR_OP_CURRENCYENUM_PROPACCESS_STR_CURRENCIESENUMCONTAINER_EX_OUT_0: "The USD property from the System.Currencies variable.", AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_DSC: "Accesses a property on the System.DateTime variable.", AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_RV: "Returns the specified Day of Week Enum Container from the System.DateTime variable.", AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_PRM_DSC_0: "The Day of Week Enum Container property to access.", AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_PRM_DSC_1: "Must be the System.DateTime variable.", AR_OP_DAYOFWEEKENUMCONTAINER_PROPACCESS_STR_DATETIMEENUMCONTAINER_EX_OUT_0: "The dayOfWeek property from the System.DateTime variable.", AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_DSC: "Accesses a property on the System.Languages variable.", AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_RV: "Returns the specified Language Enum from the System.Languages variable.", AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_PRM_DSC_0: "The Language Enum property to access.", AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_PRM_DSC_1: "Must be the System.Languages variable.", AR_OP_LANGUAGEENUM_PROPACCESS_STR_LANGUAGESENUMCONTAINER_EX_OUT_0: "The enUS property from the System.Languages variable.", AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_DSC: "Accesses a property on the System.Regions variable.", AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_RV: "Returns the specified Region Enum from the System.Regions variable.", AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_PRM_DSC_0: "The Region Enum property to access.", AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_PRM_DSC_1: "Must be the System.Regions variable.", AR_OP_REGIONENUM_PROPACCESS_STR_REGIONSENUMCONTAINER_EX_OUT_0: "The US property from the System.Regions variable.", AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_DSC: "Accesses a property on the System.Survey variable.", AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_RV: "Returns the specified Survey Disposition Enum from the System.Survey variable.", AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_PRM_DSC_0: "The Survey Disposition Enum property to access.", AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_PRM_DSC_1: "Must be the System.Survey variable.", AR_OP_SURVEYDISPOSITIONENUM_PROPACCESS_STR_SURVEYDISPOSITIONSENUMCONTAINER_EX_OUT_0: "The Dispositions property from the System.Survey variable.", AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.String variable.", AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_RV: "Returns the specified String Format Enum from the Format.String variable.", AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_PRM_DSC_0: "The String Format Enum property to access.", AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.String variable.", AR_OP_STRINGFORMATENUM_PROPACCESS_STR_STRINGFORMATENUMCONTAINER_EX_OUT_0: "The playChars property on the Format.String variable.", AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_DSC: "Accesses a property on the Format.Time variable.", AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_RV: "Returns the specified Time Format Enum from the Format.Time variable.", AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_PRM_DSC_0: "The Time Format Enum property to access.", AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_PRM_DSC_1: "Must be the Format.Time variable.", AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_EX_OUT_0: "The twelveHours property on the Format.Time variable.", AR_OP_TIMEFORMATENUM_PROPACCESS_STR_TIMEFORMATENUMCONTAINER_EX_OUT_1: "The twentyFourHours property on the Format.Time variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_DSC: "Accesses a property on the Language.Case variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_RV: "Returns the specified case Language Context Enum from the Language.Case variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_PRM_DSC_0: "The case Language Context Enum property to access.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_PRM_DSC_1: "Must be the Language.Case variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_EX_OUT_0: "The article property on the Language.Case variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_EX_OUT_1: "The accusative property on the Language.Case variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGECASEENUMCONTAINER_EX_OUT_2: "The genitive property on the Language.Case variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_DSC: "Accesses a property on the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_RV: "Returns the specified gender Language Context Enum from the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_PRM_DSC_0: "The gender Language Context Enum property to access.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_PRM_DSC_1: "Must be the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_0: "The common property on the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_1: "The feminine property on the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_2: "The masculine property on the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEGENDERENUMCONTAINER_EX_OUT_3: "The neuter property on the Language.Gender variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_DSC: "Accesses a property on the Language.Quantity variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_RV: "Returns the specified quantity Language Context Enum from the Language.Quantity variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_PRM_DSC_0: "The quantity Language Context Enum property to access.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_PRM_DSC_1: "Must be the Language.Quantity variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_EX_OUT_0: "The plural property on the Language.Quantity variable.", AR_OP_LANGUAGECONTEXTENUM_PROPACCESS_STR_LANGUAGEQUANTITYENUMCONTAINER_EX_OUT_1: "The singular property on the Language.Quantity variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_DSC: "Accesses a property on the Format.TimePart variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_RV: "Returns the specified TimePart Enum from the Format.TimePart variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_PRM_DSC_0: "The Time Part Enum property to access.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_PRM_DSC_1: "Must be the Format.TimePart variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_0: "The days property on the Format.TimePart variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_1: "The hours property on the Format.TimePart variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_2: "The minutes property on the Format.TimePart variable.", AR_OP_TIMEPARTENUM_PROPACCESS_STR_TIMEPARTENUMCONTAINER_EX_OUT_3: "The seconds property on the Format.TimePart variable.", AR_FN_DSC_AUDIOPLAYBACKOPTIONS: "This function configures the way audio is played back to a caller.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_DSC: "Configures the way audio is played back to a caller with an option for barge-in handling.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_RV: "Returns Audio with barge-in handling configured.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_PRM_DSC_0: "The prompt or audio to play to the call.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_PRM_DSC_1: "Whether or not to allow barge-in by DTMF or speech recognition during the audio playback.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_EX_OUT_0: "An Audio object for the user prompt Welcome with barge-in by DTMF or speech recognition disabled for the entirety of the playback.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_EX_OUT_1: "An Audio object for the number five with barge-in by DTMF or speech recognition disabled for the entirety of the playback.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_EX_OUT_2: "An Audio object for the number five followed by 500 milliseconds of blank audio and then the number four with barge-in by DTMF or speech recognition enabled for the entirety of the playback.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_DSC: "Configures the way audio is played back to a caller with options for barge-in and flushing audio.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_RV: "Returns Audio with playback configured.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_PRM_DSC_0: "The prompt or audio to play to the call.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_PRM_DSC_1: "Whether or not to allow barge-in by DTMF or speech recognition during the audio playback.", AR_FN_AUDIO_AUDIOPLAYBACKOPTIONS_ANYPROMPTORAUDIO_BLN_BLN_PRM_DSC_2: "Whether or not to flush the audio and play back it back immediately to the call rather than queue it up for playback.", AR_FN_DSC_CEILING: "Gets the smallest integral value that is not less than the supplied value.", AR_FN_CUR_CEILING_CUR_DSC: "Gets the smallest integral value expressed as a Currency that is not less than the supplied value.", AR_FN_CUR_CEILING_CUR_RV: "Returns the smallest integral value that is not less than the Currency value supplied in the value parameter and returns it as a Currency with the same code as the input value.", AR_FN_CUR_CEILING_CUR_PRM_DSC_0: "The Currency value to process.", AR_FN_CUR_CEILING_CUR_EX_OUT_0: 'A Currency with an amount of 3.00 and code of "USD"', AR_FN_CUR_CEILING_CUR_EX_OUT_1: 'A Currency with an amount of 4.00 and code of "USD"', AR_FN_CUR_CEILING_CUR_EX_OUT_2: 'A Currency with an amount of -3.00 and code of "USD"', AR_FN_CUR_CEILING_CUR_EX_OUT_3: 'A Currency with an amount of 5.00 and code of "USD"', AR_FN_DEC_CEILING_DEC_DSC: "Gets the smallest integral value expressed as a Decimal that is not less than the supplied value.", AR_FN_DEC_CEILING_DEC_RV: "Returns the smallest integral value that is not less than the Decimal supplied in the value parameter and returns it as a Decimal.", AR_FN_DEC_CEILING_DEC_PRM_DSC_0: "The Decimal value to process.", AR_FN_LNG_CEILING_LNG_DSC: "Gets the smallest integral value that is not less than the supplied value. When an Integer is supplied to the Ceiling function, the supplied integer is returned.", AR_FN_LNG_CEILING_LNG_RV: "Returns the Integer that supplied in the value parameter.", AR_FN_LNG_CEILING_LNG_PRM_DSC_0: "The Integer to be returned.", AR_FN_DSC_FLOOR: "Gets the largest integral value that is not greater than the supplied value.", AR_FN_CUR_FLOOR_CUR_DSC: "Gets the largest integral value returned as a Currency with the same code as the Currency passed in that is not greater than the supplied value.", AR_FN_CUR_FLOOR_CUR_RV: "Returns the largest integral value that is not greater than the Currency supplied in the value parameter and returns it as a Currency with the same code as the input value.", AR_FN_CUR_FLOOR_CUR_PRM_DSC_0: "The Currency value to process.", AR_FN_CUR_FLOOR_CUR_EX_OUT_0: 'A Currency with an amount of 2.00 and code of "USD"', AR_FN_CUR_FLOOR_CUR_EX_OUT_1: 'A Currency with an amount of 3.00 and code of "USD"', AR_FN_CUR_FLOOR_CUR_EX_OUT_2: 'A Currency with an amount of -4.00 and code of "USD"', AR_FN_CUR_FLOOR_CUR_EX_OUT_3: 'A Currency with an amount of 5.00 and code of "USD"', AR_FN_CUR_FLOOR_CUR_EX_OUT_4: "This would result in an error at runtime.", AR_FN_DEC_FLOOR_DEC_DSC: "Gets the largest integral value returned as a Decimal that is not greater than the supplied value.", AR_FN_DEC_FLOOR_DEC_RV: "Returns the largest integral value that is not greater than the Decimal supplied in the value parameter and returns it as a Decimal.", AR_FN_DEC_FLOOR_DEC_PRM_DSC_0: "The Decimal value to process.", AR_FN_LNG_FLOOR_LNG_DSC: "Gets the largest integral value that is not greater than the supplied value. When an Integer is supplied to the Floor function, the supplied Integer is returned.", AR_FN_LNG_FLOOR_LNG_RV: "Returns the Integer that supplied in the value parameter.", AR_FN_LNG_FLOOR_LNG_PRM_DSC_0: "The Integer value to process.", AR_FN_DSC_ROUND: "Rounds to the Decimal supplied in the value parameter to the specified number of digits after the decimal place.", AR_FN_CUR_ROUND_CUR_DSC: "Rounds a Currency value's amount to the nearest integral value with the same code.", AR_FN_CUR_ROUND_CUR_RV: "Returns a Currency whose amount is rounded to the nearest integral value with the same code as the input.", AR_FN_CUR_ROUND_CUR_PRM_DSC_0: "The Currency to be rounded.", AR_FN_CUR_ROUND_CUR_EX_OUT_0: 'A Currency with an amount of 3.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_EX_OUT_1: 'A Currency with an amount of 2.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_EX_OUT_2: 'A Currency with an amount of 1.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_EX_OUT_3: 'A Currency with an amount of 0.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_EX_OUT_4: 'A Currency with an amount of -3.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_EX_OUT_5: 'A Currency with an amount of -4.00 and code of "USD"', AR_FN_DEC_ROUND_DEC_DSC: "Rounds a Decimal value to the nearest integral value", AR_FN_DEC_ROUND_DEC_RV: "Returns a Decimal value that is rounded to the nearest integral value.", AR_FN_DEC_ROUND_DEC_PRM_DSC_0: "The Decimal value to be rounded.", AR_FN_DEC_ROUND_DEC_LNG_DSC: "Rounds a Decimal value to the number of digits specified in the digits parameter.", AR_FN_DEC_ROUND_DEC_LNG_RV: "Returns a Decimal value that is rounded to the number of digits specified in the digits parameter.", AR_FN_DEC_ROUND_DEC_LNG_PRM_DSC_0: "The Decimal value to be rounded.", AR_FN_DEC_ROUND_DEC_LNG_PRM_DSC_1: "The number of digits to round after the decimal place.", AR_FN_CUR_ROUND_CUR_LNG_DSC: "Rounds a Currency amount to the nearest integral amount.", AR_FN_CUR_ROUND_CUR_LNG_RV: "Returns a Currency with an amount that is rounded to the number of digits specified in the digits parameter and a code that matches the input Currency value.", AR_FN_CUR_ROUND_CUR_LNG_PRM_DSC_0: "The Currency to be rounded.", AR_FN_CUR_ROUND_CUR_LNG_PRM_DSC_1: "The number of digits to round after the decimal place.", AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_0: 'A Currency with an amount of 3.20 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_1: 'A Currency with an amount of 3.23 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_2: 'A Currency with an amount of 2.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_3: 'A Currency with an amount of 1.50 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_4: 'A Currency with an amount of 0.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_5: 'A Currency with an amount of -3.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_6: 'A Currency with an amount of -3.20 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_7: 'A Currency with an amount of -4.00 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_8: 'A Currency with an amount of -3.60 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_9: 'A Currency with an amount of -3.61 and code of "USD"', AR_FN_CUR_ROUND_CUR_LNG_EX_OUT_10: 'A Currency with an amount of -4.00 and code of "USD"', AR_FN_DSC_SUM: "Adds all of the numeric expressions given as arguments.", AR_FN_LNG_SUM_LNG_LNG_MORE_DSC: "Adds the supplied Integer values and returns the result.", AR_FN_LNG_SUM_LNG_LNG_MORE_RV: "Returns an Integer that is the sum of the supplied Integer values.", AR_FN_LNG_SUM_LNG_LNG_MORE_PRM_DSC_0: "The first Integer to sum. If the Integer value is NOT_SET, it will be treated as 0.", AR_FN_LNG_SUM_LNG_LNG_MORE_PRM_DSC_1: "An additional Integer to sum. If the Integer value is NOT_SET, it will be treated as 0.", AR_FN_CUR_SUM_CUR_CUR_MORE_DSC: "Adds the supplied Currency values and returns the result. Each currency added must have the same code. If all Currency values are NOT_SET, a Currency with an amount of 0 and code of NOT_SET is returned.", AR_FN_CUR_SUM_CUR_CUR_MORE_RV: "Returns a Currency which is the sum of the supplied Currency values.", AR_FN_CUR_SUM_CUR_CUR_MORE_PRM_DSC_0: "The first Currency to sum. If the Currency value is NOT_SET, it will be skipped.", AR_FN_CUR_SUM_CUR_CUR_MORE_PRM_DSC_1: "An additional Currency to sum. This Currency must have the same code as the first Currency submitted to the Sum function. If the Currency value is NOT_SET, it will be skipped.", AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_0: 'A Currency with an amount of 9.00 and code of "USD"', AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_1: 'A Currency with an amount of -5.20 and code of "USD"', AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_2: 'A Currency with an amount of -0.40 and code of "USD"', AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_3: 'A Currency with an amount of 5.00 and code of "USD"', AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_4: 'A Currency with an amount of -3.00 and code of "USD"', AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_5: 'A Currency with an amount of 0.00 and code of "USD"', AR_FN_CUR_SUM_CUR_CUR_MORE_EX_OUT_6: "A Currency with an amount of 0.0 and code of NOT_SET.", AR_FN_DEC_SUM_DEC_DEC_MORE_DSC: "Adds the supplied Decimal values and returns the result.", AR_FN_DEC_SUM_DEC_DEC_MORE_RV: "Returns a Decimal which is the sum of the supplied Decimal values.", AR_FN_DEC_SUM_DEC_DEC_MORE_PRM_DSC_0: "The first Decimal to sum. A NOT_SET decimal is treated as 0.0.", AR_FN_DEC_SUM_DEC_DEC_MORE_PRM_DSC_1: "An additional Decimal to sum A NOT_SET decimal is treated as 0.0.", AR_FN_DUR_SUM_DUR_DUR_MORE_DSC: "Adds the supplied Duration values and returns the result.", AR_FN_DUR_SUM_DUR_DUR_MORE_RV: "Returns a Duration which is the sum of the supplied Duration values.", AR_FN_DUR_SUM_DUR_DUR_MORE_PRM_DSC_0: "The first Duration to sum. A NOT_SET Duration is treated as a 0 second duration.", AR_FN_DUR_SUM_DUR_DUR_MORE_PRM_DSC_1: "An additional Duration to sum. A NOT_SET Duration is treated as a 0 second duration.", AR_FN_DUR_SUM_DUR_DUR_MORE_EX_OUT_0: "A Duration of 2 days, 1 hour, 30 minutes and 6 seconds.", AR_FN_DUR_SUM_DUR_DUR_MORE_EX_OUT_1: "A Duration of 1 day, 1 hour and 3 seconds.", AR_FN_DUR_SUM_DUR_DUR_MORE_EX_OUT_2: "A Duration of 0 seconds.", AR_FN_LNG_SUM_LNG_COLL_DSC: "Adds Integer values in a collection. If an element in the Integer collection is NOT_SET, it will be treated as 0. If the collection is empty, 0 is returned.", AR_FN_LNG_SUM_LNG_COLL_RV: "Returns the sum of the Integer values in a collection.", AR_FN_LNG_SUM_LNG_COLL_PRM_DSC_0: "A collection of Integer values to sum.", AR_FN_CUR_SUM_CUR_COLL_DSC: "Adds the supplied Currency values in the collection and returns the result. Each currency item in the collection must have the same code. If a Currency item in the collection is NOT_SET, it will be skipped in the calculation. If all items in the collection are a NOT_SET Currency or the collection is empty, a Currency with an amount of 0.0 and code of NOT_SET is returned.", AR_FN_CUR_SUM_CUR_COLL_RV: "Returns a Currency which is the sum of the supplied Currency values in the collection.", AR_FN_CUR_SUM_CUR_COLL_PRM_DSC_0: "The Currency collection to sum.", AR_FN_CUR_SUM_CUR_COLL_EX_OUT_0: 'A Currency with an amount of 9.00 and code of "USD"', AR_FN_CUR_SUM_CUR_COLL_EX_OUT_1: 'A Currency with an amount of -5.20 and code of "USD"', AR_FN_CUR_SUM_CUR_COLL_EX_OUT_2: 'A Currency with an amount of -0.40 and code of "USD"', AR_FN_CUR_SUM_CUR_COLL_EX_OUT_3: 'A Currency with an amount of 5.00 and code of "USD"', AR_FN_CUR_SUM_CUR_COLL_EX_OUT_4: 'A Currency with an amount of -3.00 and code of "USD"', AR_FN_CUR_SUM_CUR_COLL_EX_OUT_5: 'A Currency with an amount of 0.0 and code of "USD"', AR_FN_CUR_SUM_CUR_COLL_EX_OUT_6: "A Currency with an amount of 0.0 and code of NOT_SET.", AR_FN_DEC_SUM_DEC_COLL_DSC: "Adds Decimal values in a collection. If an element in the Decimal collection is NOT_SET, it will be treated as 0.0. If the collection is empty, 0.0 is returned.", AR_FN_DEC_SUM_DEC_COLL_RV: "Returns the sum of the Decimal values in a collection.", AR_FN_DEC_SUM_DEC_COLL_PRM_DSC_0: "A collection of Decimal values to sum.", AR_FN_DUR_SUM_DUR_COLL_DSC: "Adds Duration values in a collection. If an element in the Duration collection is NOT_SET, it will be treated as a Duration of 0 seconds. If the Duration collection is empty, a Duration of 0 seconds is returned.", AR_FN_DUR_SUM_DUR_COLL_RV: "Returns the sum of the Duration values in a collection.", AR_FN_DUR_SUM_DUR_COLL_PRM_DSC_0: "A collection of Duration values to sum.", AR_FN_DUR_SUM_DUR_COLL_EX_OUT_0: "A duration of 2 days, 1 hour, 30 minutes and 6 seconds.", AR_FN_DUR_SUM_DUR_COLL_EX_OUT_1: "A duration of 1 day, 1 hour and 3 seconds.", AR_FN_DUR_SUM_DUR_COLL_EX_OUT_2: "A duration of 0 seconds.", AR_FN_DUR_SUM_DUR_COLL_EX_OUT_3: "A duration of 0 seconds.", AR_FN_DSC_AVERAGE: "Computes the average of the values supplied to the function.", AR_FN_CUR_AVERAGE_CUR_MORE_DSC: "Computes the average of the Currency values supplied to the function. Each currency value must have the same code. If all values submitted are NOT_SET Currency values, the return value is a Currency with an amount of 0.0 and code of NOT_SET.", AR_FN_CUR_AVERAGE_CUR_MORE_RV: "Returns the average of the Currency values supplied as arguments.", AR_FN_CUR_AVERAGE_CUR_MORE_PRM_DSC_0: "A Currency value to be used in the average calculation. If the Currency is NOT_SET, it will be skipped in the average calculation.", AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_0: 'A Currency with an amount of 6.50 and code of "USD"', AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_1: 'A Currency with an amount of 4.50 and code of "USD"', AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_2: 'A Currency with an amount of 8.00 and code of "USD"', AR_FN_CUR_AVERAGE_CUR_MORE_EX_OUT_3: "A Currency with an amount of 0.0 and code of NOT_SET", AR_FN_DEC_AVERAGE_DEC_MORE_DSC: "Computes the average of the Decimal values supplied to the function. If all values submitted are NOT_SET Decimals, the return Decimal is 0.0.", AR_FN_DEC_AVERAGE_DEC_MORE_RV: "Returns the average of the Decimals supplied as arguments.", AR_FN_DEC_AVERAGE_DEC_MORE_PRM_DSC_0: "A Decimal value to be used in the average calculation. If the value is NOT_SET, it will be skipped in the average calculation.", AR_FN_DUR_AVERAGE_DUR_MORE_DSC: "Computes the average of the Duration values supplied to the function. If all values submitted are NOT_SET Duration values, the returned Duration is 0 seconds.", AR_FN_DUR_AVERAGE_DUR_MORE_RV: "Returns the average of the Duration values supplied as arguments. Note that since the result is a Duration, the average will be computed out to milliseconds.", AR_FN_DUR_AVERAGE_DUR_MORE_PRM_DSC_0: "A Duration value to be used in the average calculation. If the value is NOT_SET, it will be skipped in the average calculation.", AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_0: "A Duration of 3 hours.", AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_1: "A Duration of four hours and 30 minutes.", AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_2: "A Duration of 8 hours.", AR_FN_DUR_AVERAGE_DUR_MORE_EX_OUT_3: "A 0 second Duration.", AR_FN_DEC_AVERAGE_LNG_MORE_DSC: "Computes the average of the Integer values supplied to the function. If all values submitted are NOT_SET Integers, the return value is a Decimal of 0.0.", AR_FN_DEC_AVERAGE_LNG_MORE_RV: "Returns the average of the supplied Integer values.", AR_FN_DEC_AVERAGE_LNG_MORE_PRM_DSC_0: "An Integer value to be used in the average calculation. If the value is a NOT_SET, it will be skipped in the average calculation.", AR_FN_CUR_AVERAGE_CUR_COLL_DSC: "Computes the average of the Currency values in a collection. Each currency item in the collection must have the same code. If a Currency item's amount in the collection is NOT_SET, it will be skipped in the average calculation. If the Currency collection is empty, a Currency with an amount of 0.0 and code of NOT_SET is returned.", AR_FN_CUR_AVERAGE_CUR_COLL_RV: "Returns the average of the Currency items in the supplied Currency collection.", AR_FN_CUR_AVERAGE_CUR_COLL_PRM_DSC_0: "A Currency collection whose items are used in the average calculation.", AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_0: 'A Currency with an amount of 6.50 and code of "USD"', AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_1: 'A Currency with an amount of 4.50 and code of "USD"', AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_2: 'A Currency with an amount of 8.00 and code of "USD"', AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_3: "A Currency with an amount of 0.0 and code of NOT_SET.", AR_FN_CUR_AVERAGE_CUR_COLL_EX_OUT_4: "A Currency with an amount of 0.0 and code of NOT_SET.", AR_FN_DEC_AVERAGE_DEC_COLL_DSC: "Computes the average of the Decimal values in a Decimal collection.", AR_FN_DEC_AVERAGE_DEC_COLL_RV: "Returns the average of the Decimal items in the supplied Decimal collection.", AR_FN_DEC_AVERAGE_DEC_COLL_PRM_DSC_0: "The Decimal collection from which to compute the average. If an element in the Decimal collection is NOT_SET, it will not be computed in the average.", AR_FN_DEC_AVERAGE_LNG_COLL_DSC: "Computes the average of the Integer values in an Integer collection. If an element in the Integer collection is NOT_SET, it will not be computed in the average. If the Integer collection is empty, an Integer value of 0 is returned.", AR_FN_DEC_AVERAGE_LNG_COLL_RV: "Returns the average of the Integer items in the supplied Integer collection.", AR_FN_DEC_AVERAGE_LNG_COLL_PRM_DSC_0: "The Integer collection from which to compute the average.", AR_FN_DUR_AVERAGE_DUR_COLL_DSC: "Computes the average of the Duration values in a Duration collection. If an element in the Duration collection is NOT_SET, it will not be computed in the average. If the Duration collection is empty, a Duration value of 0 seconds is returned.", AR_FN_DUR_AVERAGE_DUR_COLL_RV: "Returns the average of the Duration items in the supplied Duration collection.", AR_FN_DUR_AVERAGE_DUR_COLL_PRM_DSC_0: "The Duration collection from which to compute the average. Note that since the result is a Duration, the average will be computed out to milliseconds.", AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_0: "A Duration of 3 hours.", AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_1: "A Duration of four hours and 30 minutes.", AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_2: "A Duration of 8 hours.", AR_FN_DUR_AVERAGE_DUR_COLL_EX_OUT_3: "A 0 second Duration.", AR_FN_DSC_FINDSYSTEMPROMPT: "Searches for an Architect system prompt in the organization.", AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_DSC: "Performs a search for an Architect system prompt by the specified prompt name and returns the Prompt value if a unique match is found.", AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_RV: "Returns the Prompt value for the supplied system prompt name if found, otherwise a NOT_SET Prompt.", AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_PRM_DSC_0: 'The name of the system prompt to find. The system prompt will be looked up by name case insensitively. The search name should not begin with "PromptSystem.". If it does, that prefix will be removed when performing the find operation at runtime.', AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_0: 'Returns the Prompt value for the system prompt named "boolean_false".', AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_1: 'Returns the Prompt value for the system prompt named "boolean_false".', AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_2: "A NOT_SET Prompt since that system prompt does not exist.", AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_3: "A NOT_SET Prompt.", AR_FN_PROMPT_FINDSYSTEMPROMPT_STR_EX_OUT_4: "A NOT_SET Prompt.", AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_DSC: "Returns a NOT_SET Prompt for a NOT_SET input value.", AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_RV: "Returns a NOT_SET Prompt.", AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_PROMPT_FINDSYSTEMPROMPT_NTS_EX_OUT_0: "A NOT_SET Prompt.", AR_FN_DSC_FINDUSERPROMPT: "Searches for an Architect user prompt in the organization.", AR_FN_PROMPT_FINDUSERPROMPT_STR_DSC: "Performs a search for an Architect user prompt by the specified prompt name and returns the Prompt value if a unique match is found.", AR_FN_PROMPT_FINDUSERPROMPT_STR_RV: "Returns the Prompt value for the supplied user prompt name if found, otherwise a NOT_SET Prompt.", AR_FN_PROMPT_FINDUSERPROMPT_STR_PRM_DSC_0: 'The name of the user prompt to find. The user prompt will be looked up by name case insensitively. The search name should not begin with "Prompt.". If it does, that prefix will be removed when performing the find operation at runtime.', AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_0: 'Returns the Prompt value for the user prompt named "Greeting" if there is a user prompt with with that name, otherwise a NOT_SET Prompt.', AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_1: 'Returns the Prompt value for the user prompt named "Greeting" if there is a user prompt with with that name, otherwise a NOT_SET Prompt.', AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_2: "A NOT_SET Prompt.", AR_FN_PROMPT_FINDUSERPROMPT_STR_EX_OUT_3: "A NOT_SET Prompt.", AR_FN_PROMPT_FINDUSERPROMPT_NTS_DSC: "Returns a NOT_SET Prompt for a NOT_SET input value.", AR_FN_PROMPT_FINDUSERPROMPT_NTS_RV: "Returns a NOT_SET Prompt.", AR_FN_PROMPT_FINDUSERPROMPT_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_PROMPT_FINDUSERPROMPT_NTS_EX_OUT_0: "A NOT_SET Prompt.", AR_FN_DSC_FINDSTRING: "Returns the location of a specified occurrence of a String within a String.", AR_FN_LNG_FINDSTRING_STR_STR_DSC: 'Searches for the first occurrence of a String within a String by doing a case sensitive match. If textToFind find is "", a 0 will be returned.', AR_FN_LNG_FINDSTRING_STR_STR_RV: "Returns the zero-based index of the first occurrence of a String within a String by doing a case sensitive match.", AR_FN_LNG_FINDSTRING_STR_STR_PRM_DSC_0: "The String that will be scanned.", AR_FN_LNG_FINDSTRING_STR_STR_PRM_DSC_1: "The String for which you are searching.", AR_FN_LNG_FINDSTRING_STR_STR_BLN_DSC: 'Searches for the first occurrence of a String within a String. If textToFind find is "", a -1 will be returned.', AR_FN_LNG_FINDSTRING_STR_STR_BLN_RV: "Returns the zero-based index of the first occurrence of a String within a String.", AR_FN_LNG_FINDSTRING_STR_STR_BLN_PRM_DSC_0: "The String that will be scanned.", AR_FN_LNG_FINDSTRING_STR_STR_BLN_PRM_DSC_1: "The String for which you are searching.", AR_FN_LNG_FINDSTRING_STR_STR_BLN_PRM_DSC_2: "Whether or not to perform a case insensitive (true) or case sensitive (false) search.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_DSC: "Calculates the index of a String within a String by doing a case sensitive match. This function will find the n'th occurrence of the string as specified by the occurrenceNumber parameter.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_RV: `Returns the zero-based index of the n'th ( specified by the occurrenceNumber parameter ) String within a String by doing a case sensitive match. If the String to find is "", a -1 will be returned.`, AR_FN_LNG_FINDSTRING_STR_STR_LNG_PRM_DSC_0: "The String that will be scanned.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_PRM_DSC_1: "The String for which you are searching.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_PRM_DSC_2: "The specific occurrence to find. If there are less than occurrenceNumber matches in the text to search, a -1 is returned.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_DSC: "Calculates the index of a String within a String. This function will find the n'th occurrence of the string as specified by the occurrenceNumber parameter.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_RV: `Returns the zero-based index of the n'th ( specified by the occurrenceNumber parameter ) String within a String. If the String to find is "", a -1 will be returned.`, AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_0: "The String that will be scanned.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_1: "The String for which you are searching.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_2: "The specific occurrence to find. If there are less than occurrenceNumber matches in the text to search, a -1 is returned.", AR_FN_LNG_FINDSTRING_STR_STR_LNG_BLN_PRM_DSC_3: "Whether or not to perform a case insensitive (true) or case sensitive (false) search.", AR_FN_DSC_FINDUSER: "Searches for a user in the organization.", AR_FN_USR_FINDUSER_STR_DSC: "Performs a search for a user by email address in a case insensitive manner.", AR_FN_USR_FINDUSER_STR_RV: "Returns the User value if one user with the specified email address was found, otherwise a NOT_SET User.", AR_FN_USR_FINDUSER_STR_PRM_DSC_0: "The email address of the user to find.", AR_FN_USR_FINDUSER_STR_EX_OUT_0: 'Returns the User found for the email address "john.doe@company.com" if there is one user in the organization with that email address, otherwise a NOT_SET User.', AR_FN_USR_FINDUSER_STR_EX_OUT_1: "A NOT_SET User.", AR_FN_USR_FINDUSER_NTS_DSC: "Returns a NOT_SET User for a NOT_SET input value.", AR_FN_USR_FINDUSER_NTS_RV: "Returns a NOT_SET User.", AR_FN_USR_FINDUSER_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_USR_FINDUSER_NTS_EX_OUT_0: "A NOT_SET User.", AR_FN_DSC_FINDUSERBYID: "Looks up a user in the organization by ID.", AR_FN_USR_FINDUSERBYID_STR_DSC: "Looks up a user from a user ID.", AR_FN_USR_FINDUSERBYID_STR_RV: "Returns the User value if the lookup was successful, otherwise a NOT_SET User.", AR_FN_USR_FINDUSERBYID_STR_PRM_DSC_0: "The user ID to find. The ID will be matched in a case insensitive manner.", AR_FN_USR_FINDUSERBYID_STR_EX_OUT_0: 'Returns the User with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" if it exists, otherwise a NOT_SET User.', AR_FN_USR_FINDUSERBYID_STR_EX_OUT_1: "A NOT_SET User.", AR_FN_USR_FINDUSERBYID_NTS_DSC: "Returns a NOT_SET User for a NOT_SET input value.", AR_FN_USR_FINDUSERBYID_NTS_RV: "Returns a NOT_SET User.", AR_FN_USR_FINDUSERBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_USR_FINDUSERBYID_NTS_EX_OUT_0: "A NOT_SET User.", AR_FN_DSC_FINDUSERSBYID: "Looks up multiple users in the organization by ID.", AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_DSC: "Looks up users from user IDs.", AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_RV: "Returns an ordered User collection whose items correspond to the lookup results of each ID in the input String collection. For user IDs that could not be looked up, they will be NOT_SET User items in the returned collection.", AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_PRM_DSC_0: "A String collection of user IDs to look up. Identifiers will be matched in a case insensitive manner.", AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_EX_OUT_0: 'A User collection with the item at index 0 being the user with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" and the item at index 1 being a NOT_SET User.', AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_EX_OUT_1: "An empty User collection.", AR_FN_USR_COLL_FINDUSERSBYID_STR_COLL_EX_OUT_2: "A User collection with one item in it. The item at index 0 is a NOT_SET User.", AR_FN_DSC_FINDCUSTOMERSEGMENTS: "Searches for Customer Segments in the organization by name.", AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_DSC: "Performs a case insensitive search for up to 5 Customer Segments by name and returns a collection of matching CustomerSegment values. For segment names that could not be found, they will be NOT_SET CustomerSegment items in the returned collection.", AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_RV: "Returns an ordered CustomerSegment collection whose items correspond to the lookup results of each name in the input String collection. For segment names that could not be found, they will be NOT_SET CustomerSegment items in the returned collection.", AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_PRM_DSC_0: "A String collection of Customer Segment names to look up. Names will be matched in a case insensitive manner.", AR_FN_CUSTOMERSEGMENT_COLL_FINDCUSTOMERSEGMENTS_STR_COLL_EX_OUT_0: 'Returns a CustomerSegment collection containing the segments named "Gold Members" and "VIP" that were found in the organization. Segments not found will be NOT_SET CustomerSegment items.', AR_FN_DSC_FINDDIVISION: "Searches for a Division in the organization.", AR_FN_DIVISION_FINDDIVISION_STR_DSC: "Performs a case insensitive search for a uniquely named Division and returns the Division value if found.", AR_FN_DIVISION_FINDDIVISION_STR_RV: "Returns the Division found in your organization if there was a unique match found, otherwise a NOT_SET Division.", AR_FN_DIVISION_FINDDIVISION_STR_PRM_DSC_0: "The Division name to look up in the organization. The search will be performed case insensitively.", AR_FN_DIVISION_FINDDIVISION_STR_EX_OUT_0: 'Returns the Division for the Division named "Fire" if there is one Division with that name case insensitively, otherwise a NOT_SET Division.', AR_FN_DIVISION_FINDDIVISION_STR_EX_OUT_1: "A NOT_SET Division.", AR_FN_DIVISION_FINDDIVISION_NTS_DSC: "Returns a NOT_SET Division for a NOT_SET input value.", AR_FN_DIVISION_FINDDIVISION_NTS_RV: "Returns a NOT_SET Division.", AR_FN_DIVISION_FINDDIVISION_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_DIVISION_FINDDIVISION_NTS_EX_OUT_0: "A NOT_SET Division.", AR_FN_DSC_FINDDIVISIONBYID: "Searches for a Division in the organization by ID.", AR_FN_DIVISION_FINDDIVISIONBYID_STR_DSC: "Looks up a Division by ID and returns a Division value if found.", AR_FN_DIVISION_FINDDIVISIONBYID_STR_RV: "Returns the value of a Division if a unique match was found in your organization, otherwise returns a Division with value of NOT_SET.", AR_FN_DIVISION_FINDDIVISIONBYID_STR_PRM_DSC_0: "The Division ID to look up in your organization. The ID will be matched in a case insensitive manner.", AR_FN_DIVISION_FINDDIVISIONBYID_STR_EX_OUT_0: 'Returns the Division with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" if it exists, otherwise a NOT_SET Division.', AR_FN_DIVISION_FINDDIVISIONBYID_STR_EX_OUT_1: "A NOT_SET Division.", AR_FN_DIVISION_FINDDIVISIONBYID_NTS_DSC: "Returns a NOT_SET Division for a NOT_SET input value.", AR_FN_DIVISION_FINDDIVISIONBYID_NTS_RV: "Returns a NOT_SET Division.", AR_FN_DIVISION_FINDDIVISIONBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_DIVISION_FINDDIVISIONBYID_NTS_EX_OUT_0: "A NOT_SET Division.", AR_FN_DSC_FINDDIVISIONS: "Searches for Divisions in the organization.", AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_DSC: "Performs a case insensitive search for uniquely named Divisions.", AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_RV: "Returns an Division collection whose items correspond to the lookup results of each name in the input String collection. For division names that could not be found, they will be NOT_SET Division items in the returned collection.", AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_PRM_DSC_0: "A String collection of division names to look up. The search will be performed case insensitively.", AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_EX_OUT_0: 'A Division collection with the item at index 0 being the division with the name "Fire" and the item at index 1 being a NOT_SET Division.', AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_EX_OUT_1: "An empty Division collection.", AR_FN_DIVISION_COLL_FINDDIVISIONS_STR_COLL_EX_OUT_2: "A Division collection with one item in it. The item at index 0 is a NOT_SET Division.", AR_FN_DSC_FINDDIVISIONSBYID: "Searches for Divisions in the organization by ID.", AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_DSC: "Looks up divisions from division IDs.", AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_RV: "Returns an ordered Division collection whose items correspond to the lookup results of each ID in the input String collection. For division IDs that could not be looked up, they will be NOT_SET Division items in the returned collection.", AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_PRM_DSC_0: "A String collection of division IDs to look up. Identifiers will be matched in a case insensitive manner.", AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_EX_OUT_0: 'A Division collection with the item at index 0 being the user with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" and the item at index 1 being a NOT_SET Division.', AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_EX_OUT_1: "An empty Division collection.", AR_FN_DIVISION_COLL_FINDDIVISIONSBYID_STR_COLL_EX_OUT_2: "A Division collection with one item in it. The item at index 0 is a NOT_SET Division.", AR_FN_DSC_FINDEMERGENCYGROUP: "Searches for an EmergencyGroup in the organization.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_DSC: "Performs a case insensitive search for a uniquely named Emergency Group and returns the Emergency Group value if found.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_RV: "Returns the Emergency Group found in your organization if there was a unique match found, otherwise a NOT_SET Emergency Group.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_PRM_DSC_0: "The Emergency Group name to look up in the organization. The search will be performed case insensitively.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_EX_OUT_0: 'Returns the Emergency Group for the Emergency Group named "Fire" if there is one Emergency Group with that name case insensitively, otherwise a NOT_SET Emergency Group.', AR_FN_EMERGRP_FINDEMERGENCYGROUP_STR_EX_OUT_1: "A NOT_SET Emergency Group.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_DSC: "Returns a NOT_SET Emergency Group for a NOT_SET input value.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_RV: "Returns a NOT_SET Emergency Group.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_EMERGRP_FINDEMERGENCYGROUP_NTS_EX_OUT_0: "A NOT_SET EmergencyGroup.", AR_FN_DSC_FINDGRAMMAR: "Searches for a grammar in the organization.", AR_FN_GRAMMAR_FINDGRAMMAR_STR_DSC: "Performs a search for a grammar and returns a Grammar value if found.", AR_FN_GRAMMAR_FINDGRAMMAR_STR_RV: "Returns the Grammar value for the grammar found in your organization if there was a unique match found, otherwise a NOT_SET Grammar.", AR_FN_GRAMMAR_FINDGRAMMAR_STR_PRM_DSC_0: "The grammar to look up in your organization. The search will be performed in a case insensitive manner.", AR_FN_GRAMMAR_FINDGRAMMAR_STR_EX_OUT_0: 'Returns the Grammar for the grammar named "Customer Account" if there is one grammar with that name, otherwise a NOT_SET Grammar.', AR_FN_GRAMMAR_FINDGRAMMAR_STR_EX_OUT_1: "A NOT_SET Grammar.", AR_FN_GRAMMAR_FINDGRAMMAR_NTS_DSC: "Returns a NOT_SET Grammar for a NOT_SET input value.", AR_FN_GRAMMAR_FINDGRAMMAR_NTS_RV: "Returns a NOT_SET Grammar.", AR_FN_GRAMMAR_FINDGRAMMAR_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_GRAMMAR_FINDGRAMMAR_NTS_EX_OUT_0: "A NOT_SET Grammar.", AR_FN_DSC_FINDGRAMMARBYID: "Looks up a grammar in the organization by ID.", AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_DSC: "Looks up a grammar from a grammar ID and returns a Grammar value if found.", AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_RV: "Returns the Grammar value if the lookup was successful, otherwise a NOT_SET Grammar.", AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_PRM_DSC_0: "The grammar ID to find. The ID will be matched in a case insensitive manner.", AR_FN_GRAMMAR_FINDGRAMMARBYID_STR_EX_OUT_0: 'Returns the Grammar with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" if it exists, otherwise a NOT_SET Grammar.', AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_DSC: "Returns a NOT_SET Grammar for a NOT_SET input value.", AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_RV: "Returns a NOT_SET Grammar.", AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_GRAMMAR_FINDGRAMMARBYID_NTS_EX_OUT_0: "A NOT_SET Grammar.", AR_FN_DSC_FINDGROUP: "Searches for a group in the organization.", AR_FN_GRP_FINDGROUP_STR_DSC: "Performs a search for a group and returns a Group value if found.", AR_FN_GRP_FINDGROUP_STR_RV: "Returns the Group value for the group found in your organization if there was a unique match found, otherwise a NOT_SET Group.", AR_FN_GRP_FINDGROUP_STR_PRM_DSC_0: "The group to look up in your organization. The search will be performed in a case insensitive manner.", AR_FN_GRP_FINDGROUP_STR_EX_OUT_0: 'Returns the Group for the group named "Warranty Specialists" if there is one group with that name, otherwise a NOT_SET Group.', AR_FN_GRP_FINDGROUP_STR_EX_OUT_1: "A NOT_SET Group.", AR_FN_GRP_FINDGROUP_NTS_DSC: "Returns a NOT_SET Group for a NOT_SET input value.", AR_FN_GRP_FINDGROUP_NTS_RV: "Returns a NOT_SET Group.", AR_FN_GRP_FINDGROUP_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_GRP_FINDGROUP_NTS_EX_OUT_0: "A NOT_SET Group.", AR_FN_DSC_FINDIMAGE: "Searches for an image in canned response assets in the organization.", AR_FN_IMAGE_FINDIMAGE_STR_DSC: "Performs a search for an image in canned response assets and returns an Image value if found.", AR_FN_IMAGE_FINDIMAGE_STR_RV: "Returns the Image value for the image found in your organization if there was a unique match found, otherwise a NOT_SET Image.", AR_FN_IMAGE_FINDIMAGE_STR_PRM_DSC_0: "The image name to look up in your organization. The search will be performed in a case insensitive manner.", AR_FN_IMAGE_FINDIMAGE_STR_EX_OUT_0: 'Returns the Image for the image named "ArchitectLogo" if there is one image with that name, otherwise a NOT_SET Image.', AR_FN_IMAGE_FINDIMAGE_STR_EX_OUT_1: "A NOT_SET Image.", AR_FN_IMAGE_FINDIMAGE_NTS_DSC: "Returns a NOT_SET Image for a NOT_SET input value.", AR_FN_IMAGE_FINDIMAGE_NTS_RV: "Returns a NOT_SET Image.", AR_FN_IMAGE_FINDIMAGE_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_IMAGE_FINDIMAGE_NTS_EX_OUT_0: "A NOT_SET Image.", AR_FN_DSC_FINDIMAGEBYID: "Looks up an image in canned response assets in the organization by ID.", AR_FN_IMAGE_FINDIMAGEBYID_STR_DSC: "Looks up an image from an image ID.", AR_FN_IMAGE_FINDIMAGEBYID_STR_RV: "Returns the Image value if the lookup was successful, otherwise a NOT_SET Image.", AR_FN_IMAGE_FINDIMAGEBYID_STR_PRM_DSC_0: "The image ID to find. The ID will be matched in a case insensitive manner.", AR_FN_IMAGE_FINDIMAGEBYID_STR_EX_OUT_0: 'Returns the Image with the ID "32952010-9ac2-469f-a2d8-85123e03763b" if it exists, otherwise a NOT_SET Image.', AR_FN_IMAGE_FINDIMAGEBYID_NTS_DSC: "Returns a NOT_SET Image for a NOT_SET input value.", AR_FN_IMAGE_FINDIMAGEBYID_NTS_RV: "Returns a NOT_SET Image.", AR_FN_IMAGE_FINDIMAGEBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_IMAGE_FINDIMAGEBYID_NTS_EX_OUT_0: "A NOT_SET Image.", AR_FN_DSC_FINDKNOWLEDGEBASEDOCUMENTBYID: "Looks up a knowledgebase document in the organization by ID.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_DSC: "Looks up a knowledgebase document from a knowledgebase document ID and returns a KnowledgeBaseDocument value if found.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_RV: "Returns the KnowledgeBaseDocument value if the lookup was successful, otherwise a NOT_SET KnowledgeBaseDocument.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_PRM_DSC_0: "The knowledgebase document ID to find. The ID will be matched in a case insensitive manner.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_STR_EX_OUT_0: 'Returns the KnowledgeBaseDocument with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" if it exists, otherwise a NOT_SET KnowledgeBaseDocument.', AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_DSC: "Returns a NOT_SET KnowledgeBaseDocument for a NOT_SET input value.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_RV: "Returns a NOT_SET KnowledgeBaseDocument.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_KNOWLEDGEBASEDOCUMENT_FINDKNOWLEDGEBASEDOCUMENTBYID_NTS_EX_OUT_0: "A NOT_SET KnowledgeBaseDocument.", AR_FN_DSC_FINDUTILIZATIONLABEL: "Searches for a Utilization Label in the organization.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_DSC: "Performs a search for a Utilization Label and returns a UtilizationLabel value if found.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_RV: "Returns the value of a UtilizationLabel if a unique match was found in your organization, otherwise returns a UtilizationLabel with value of NOT_SET.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_PRM_DSC_0: "The Utilization Label to look up in your organization. The search will be performed in a case insensitive manner.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_EX_OUT_0: 'Returns the value of a UtilizationLabel named "Green" if a unique match was found in your organization, otherwise returns a UtilizationLabel with value of NOT_SET.', AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_STR_EX_OUT_1: "A NOT_SET UtilizationLabel.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_DSC: "Returns a NOT_SET UtilizationLabel for a NOT_SET input value.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_RV: "Returns a NOT_SET UtilizationLabel.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABEL_NTS_EX_OUT_0: "A NOT_SET UtilizationLabel.", AR_FN_DSC_FINDUTILIZATIONLABELBYID: "Searches for a Utilization Label in the organization by ID.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_STR_DSC: "Looks up a Utilization Label by ID and returns a UtilizationLabel value if found.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_STR_RV: "Returns the value of a UtilizationLabel if a unique match was found in your organization, otherwise returns a UtilizationLabel with value of NOT_SET.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_STR_PRM_DSC_0: "The Utilization Label ID to look up in your organization. The ID will be matched in a case insensitive manner.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_DSC: "Returns a NOT_SET UtilizationLabel for a NOT_SET input value.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_RV: "Returns a NOT_SET UtilizationLabel.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_UTILIZATIONLABEL_FINDUTILIZATIONLABELBYID_NTS_EX_OUT_0: "A NOT_SET UtilizationLabel.", AR_FN_DSC_FINDQUEUE: "Searches for a queue in the organization.", AR_FN_QUEUE_FINDQUEUE_STR_DSC: "Performs a search for a queue and returns a Queue value if found.", AR_FN_QUEUE_FINDQUEUE_STR_RV: "Returns the Queue value for the queue found in your organization if there was a unique match found, otherwise a NOT_SET Queue.", AR_FN_QUEUE_FINDQUEUE_STR_PRM_DSC_0: "The queue to look up in your organization. The search will be performed in a case insensitive manner.", AR_FN_QUEUE_FINDQUEUE_STR_EX_OUT_0: 'Returns the Queue for the queue named "Marketing" if there is one queue with that name, otherwise a NOT_SET Queue.', AR_FN_QUEUE_FINDQUEUE_STR_EX_OUT_1: "A NOT_SET Queue.", AR_FN_QUEUE_FINDQUEUE_NTS_DSC: "Returns a NOT_SET Queue for a NOT_SET input value.", AR_FN_QUEUE_FINDQUEUE_NTS_RV: "Returns a NOT_SET Queue.", AR_FN_QUEUE_FINDQUEUE_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_QUEUE_FINDQUEUE_NTS_EX_OUT_0: "A NOT_SET Queue.", AR_FN_DSC_FINDQUEUEBYID: "Looks up a queue in the organization by ID.", AR_FN_QUEUE_FINDQUEUEBYID_STR_DSC: "Looks up a queue from a queue ID.", AR_FN_QUEUE_FINDQUEUEBYID_STR_RV: "Returns the Queue value if the lookup was successful, otherwise a NOT_SET Queue.", AR_FN_QUEUE_FINDQUEUEBYID_STR_PRM_DSC_0: "The queue ID to find. The ID will be matched in a case insensitive manner.", AR_FN_QUEUE_FINDQUEUEBYID_STR_EX_OUT_0: 'Returns the Queue with the ID "5b943b5F-4205-b70F-8be1-a245a94b2919" if it exists, otherwise a NOT_SET Queue.', AR_FN_QUEUE_FINDQUEUEBYID_NTS_DSC: "Returns a NOT_SET Queue for a NOT_SET input value.", AR_FN_QUEUE_FINDQUEUEBYID_NTS_RV: "Returns a NOT_SET Queue.", AR_FN_QUEUE_FINDQUEUEBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_QUEUE_FINDQUEUEBYID_NTS_EX_OUT_0: "A NOT_SET Queue.", AR_FN_DSC_FINDWORKTYPESTATUS: "Searches for a Worktype Status of the worktype associated with this flow by name.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_DSC: "Searches for a Worktype Status by its name case insensitively and returns a Worktype Status value if found.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_RV: "Returns the Worktype Status value if a unique match was found on the worktype, otherwise returns a NOT_SET Worktype Status value.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_PRM_DSC_0: "The Worktype Status name to look up on the worktype configured for this flow. The search will be performed in a case insensitive manner.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_STR_EX_OUT_0: 'Returns the value of a Worktype Status named "NewOpportunity" if a unique match was found in the statuses configured on the worktype, otherwise returns a Worktype Status with value of NOT_SET.', AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_DSC: "Returns a NOT_SET Worktype Status for a NOT_SET input value.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_RV: "Returns a NOT_SET Worktype Status.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUS_NTS_EX_OUT_0: "A NOT_SET Worktype Status.", AR_FN_DSC_FINDWORKTYPESTATUSBYID: "Searches for a Worktype Status of the worktype associated with this flow by ID.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_DSC: "Searches for a Worktype Status by its ID and returns a Worktype Status value if found.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_RV: "Returns the value of a Worktype Status if a unique match was found in your organization, otherwise returns a Worktype Status with value of NOT_SET.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_PRM_DSC_0: "The Worktype Status ID to look up in your organization. The ID will be matched in a case insensitive manner.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_STR_EX_OUT_0: 'Returns the Worktype Status with the ID "8dd32bf3-5f81-4601-9db7-fbce97b09441" if it exists, otherwise a NOT_SET Worktype Status.', AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_DSC: "Returns a NOT_SET Worktype Status for a NOT_SET input value.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_RV: "Returns a NOT_SET Worktype Status.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_WORKTYPESTATUS_FINDWORKTYPESTATUSBYID_NTS_EX_OUT_0: "A NOT_SET Worktype Status.", AR_FN_DSC_FINDQUEUEESTIMATEDWAITTIME: "Searches for a queue in the organization and returns estimated wait time information for it.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_DSC: "Searches for a unique queue in the organization by name and if found returns estimated wait time for the current flow's conversation media type.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_RV: "Returns the estimated wait time as a Duration value for the current conversation type on the looked up queue if there was a unique match for the supplied queue name and the estimated wait time could be determined, otherwise a NOT_SET Duration.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_PRM_DSC_0: "The queue name to look up in your organization by name. The search will be performed in a case insensitive manner. If a NOT_SET String is supplied, a NOT_SET Duration will be returned.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_EX_OUT_0: 'Returns the estimated wait time for the current conversation on queue named "Marketing" if there is one queue with that name and the estimated wait time could be queried, otherwise a NOT_SET Duration.', AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_EX_OUT_1: "A NOT_SET Duration.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_DSC: "Searches for a unique queue in the organization by name and if found this gets the estimated wait time for a given media type.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_RV: "Returns the estimated wait time as a Duration value for a media type on the supplied Queue value if the queue was found and estimated wait time could be determined, otherwise a NOT_SET Duration.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_PRM_DSC_0: "The queue name to look up in your organization. The search will be performed in a case insensitive manner. If a NOT_SET String is supplied, a NOT_SET Duration will be returned.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_PRM_DSC_1: 'The media type to query. Allowable values are "call", "chat", "callback", "email", "videoComm" and "message". The media type String value is processed case insensitively at runtime. If a NOT_SET String is supplied for the media type or the supplied media type value is not available for the organization, a NOT_SET Duration is returned.', AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_EX_OUT_0: 'Returns the estimated wait time for the current conversation on queue named "Marketing" if there is one queue with that name and the estimated wait time could be successfully queried for the "call" media type, otherwise a NOT_SET Duration.', AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_EX_OUT_1: "A NOT_SET Duration.", AR_FN_DUR_FINDQUEUEESTIMATEDWAITTIME_STR_STR_EX_OUT_2: "A NOT_SET Duration.", AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_DSC: "Finds the estimated wait time for the supplied media types for a queue.", AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_RV: "Returns an ordered Duration collection whose items correspond to the lookup results of each media type in the input String collection. For media types whose estimated wait time could not be determined, they will be NOT_SET Duration values in the returned collection.", AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_PRM_DSC_0: "The queue name to look up in your organization. The search will be performed in a case insensitive manner. If a NOT_SET or blank String is supplied, a NOT_SET Duration will be returned for each item in the returned collection.", AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_PRM_DSC_1: 'The media types to query. Allowable String values in the String collection are "call", "chat", "callback", "email", "videoComm" and "message". Media type String values are treated case insensitively at runtime. If a NOT_SET String is supplied for an item in the String collection or the estimated wait time for the media type cannot be determined, a NOT_SET Duration is returned for that item in the returned collection.', AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_EX_OUT_0: 'A Duration collection with one item. The Duration item will be the estimated wait time for the "call" media type if the queue could be found.', AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_EX_OUT_1: "A Duration collection with one item. The Duration item value is a NOT_SET Duration.", AR_FN_DUR_COLL_FINDQUEUEESTIMATEDWAITTIME_STR_STR_COLL_EX_OUT_2: "A Duration collection with one item. The Duration item value is a NOT_SET Duration.", AR_FN_DSC_GETQUEUEESTIMATEDWAITTIME: "Gets estimated wait time information for a queue.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_DSC: "Gets the estimated wait time for the current flow's conversation media type for the supplied queue.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_RV: "Returns the estimated wait time as a Duration value for the current conversation media type on the supplied Queue value if the estimated wait time could be determined, otherwise a NOT_SET Duration.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_PRM_DSC_0: "The Queue whose estimated wait time you want to query for the current conversation media type. If a NOT_SET Queue is supplied, a NOT_SET Duration will be returned.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_EX_OUT_0: 'Returns the estimated wait time for the current conversation type on queue named "Marketing" if there is one queue with that name and the estimated wait time could be successfully determined, otherwise a NOT_SET Duration.', AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_EX_OUT_1: "A NOT_SET Duration.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_DSC: "Gets the estimated wait time for a media type on a queue.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_RV: "Returns the estimated wait time as a Duration value for a media type on the supplied Queue value if the estimated wait time can be determined, otherwise a NOT_SET Duration.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_PRM_DSC_0: "The Queue whose estimated wait time you want to query. If a NOT_SET Queue is supplied, a NOT_SET Duration will be returned.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_PRM_DSC_1: 'The media type to query. Allowable values are "call", "chat", "callback", "email", "videoComm" and "message". The media type String value is processed case insensitively at runtime. If a NOT_SET String is supplied for the media type or the supplied media type value is not available for the organization, a NOT_SET Duration is returned.', AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_EX_OUT_0: 'Returns the estimated wait time for the current conversation on queue named "Marketing" if there is one queue with that name and the estimated wait time could be successfully queried for the "call" media type, otherwise a NOT_SET Duration.', AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_EX_OUT_1: "A NOT_SET Duration.", AR_FN_DUR_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_EX_OUT_2: "A NOT_SET Duration.", AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_DSC: "Gets the estimated wait time for multiple media types on a queue.", AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_RV: "Returns an ordered Duration collection whose items correspond to the lookup results of each media type estimated wait time in the input String collection. For media types whose estimated wait time could not be determined or are not availble for the organization, they will be NOT_SET Duration values in the returned collection.", AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_PRM_DSC_0: "The Queue whose estimated wait time you want to query for the current conversation. If a NOT_SET Queue is supplied, a NOT_SET Duration will be returned for each item in the returned collection.", AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_PRM_DSC_1: 'The media types to query. Allowable String values in the String collection are "call", "chat", "callback", "email", "videoComm" and "message". Media type String values are processed case insensitively at runtime. If a NOT_SET String is supplied for an item in the String collection or the estimated wait time for the media type cannot be determined, a NOT_SET Duration is returned for that item in the returned collection.', AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_EX_OUT_0: 'A Duration collection with one item. The Duration item will be the estimated wait time for the "call" media type if the queue could be found.', AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_EX_OUT_1: "A Duration collection with one item. The Duration item value is a NOT_SET Duration.", AR_FN_DUR_COLL_GETQUEUEESTIMATEDWAITTIME_QUEUE_STR_COLL_EX_OUT_2: "A Duration collection with one item. The Duration item value is a NOT_SET Duration.", AR_FN_DSC_FINDRESPONSEASSET: "Searches for a response asset in canned response assets in the organization.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_DSC: "Performs a search for a response asset in canned response assets and returns an Response Asset value if found.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_RV: "Returns the Response Asset value for the response asset found in your organization if there was a unique match found, otherwise a NOT_SET Response Asset.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_PRM_DSC_0: "The response asset name to look up in your organization. The search will be performed in a case insensitive manner.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_EX_OUT_0: 'Returns the Response Asset for the response asset named "ArchitectAsset" if there is one response asset with that name, otherwise a NOT_SET Response Asset.', AR_FN_RESPONSEASSET_FINDRESPONSEASSET_STR_EX_OUT_1: "A NOT_SET Response Asset.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_DSC: "Returns a NOT_SET Response Asset for a NOT_SET input value.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_RV: "Returns a NOT_SET Response Asset.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_RESPONSEASSET_FINDRESPONSEASSET_NTS_EX_OUT_0: "A NOT_SET Response Asset.", AR_FN_DSC_FINDRESPONSEASSETBYID: "Looks up a response asset in canned response assets in the organization by ID.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_DSC: "Looks up a response asset from a response asset ID.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_RV: "Returns the Response Asset value if the lookup was successful, otherwise a NOT_SET Response Asset.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_PRM_DSC_0: "The response asset ID to find. The ID will be matched in a case insensitive manner.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_STR_EX_OUT_0: 'Returns the Response Asset with the ID "0bfba8bc-37cd-4fa2-b986-86fa0523aeec" if it exists, otherwise a NOT_SET Response Asset.', AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_DSC: "Returns a NOT_SET Response Asset for a NOT_SET input value.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_RV: "Returns a NOT_SET Response Asset.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_RESPONSEASSET_FINDRESPONSEASSETBYID_NTS_EX_OUT_0: "A NOT_SET Response Asset.", AR_FN_DSC_FINDSCHEDULE: "Searches for a schedule in the organization.", AR_FN_SCHED_FINDSCHEDULE_STR_DSC: "Performs a case insensitive search for a uniquely named Schedule and returns the Schedule value if found.", AR_FN_SCHED_FINDSCHEDULE_STR_RV: "Returns the Schedule found in your organization if there was a unique match found, otherwise a NOT_SET Schedule.", AR_FN_SCHED_FINDSCHEDULE_STR_PRM_DSC_0: "The Schedule name to look up in the organization. The search will be performed case insensitively.", AR_FN_SCHED_FINDSCHEDULE_STR_EX_OUT_0: 'Returns the Schedule for the Schedule named "OpenHours" if there is one Schedule with that name case insensitively, otherwise a NOT_SET Schedule.', AR_FN_SCHED_FINDSCHEDULE_STR_EX_OUT_1: "A NOT_SET Schedule.", AR_FN_SCHED_FINDSCHEDULE_NTS_DSC: "Returns a NOT_SET Schedule for a NOT_SET input value.", AR_FN_SCHED_FINDSCHEDULE_NTS_RV: "Returns a NOT_SET Schedule.", AR_FN_SCHED_FINDSCHEDULE_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_SCHED_FINDSCHEDULE_NTS_EX_OUT_0: "A NOT_SET Schedule.", AR_FN_DSC_FINDSCHEDULEGROUP: "Searches for a scheduleGroup in the organization.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_DSC: "Performs a case insensitive search for a uniquely named Schedule Group and returns the Schedule Group value if found.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_RV: "Returns the Schedule Group found in your organization if there was a unique match found, otherwise a NOT_SET Schedule Group.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_PRM_DSC_0: "The Schedule Group name to look up in the organization. The search will be performed case insensitively.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_EX_OUT_0: 'Returns the Schedule Group for the Schedule Group named "OpenHoursEastCoast" if there is one Schedule Group with that name case insensitively, otherwise a NOT_SET Schedule Group.', AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_STR_EX_OUT_1: "A NOT_SET Schedule Group.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_DSC: "Returns a NOT_SET Schedule Group for a NOT_SET input value.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_RV: "Returns a NOT_SET Schedule Group.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_SCHEDGRP_FINDSCHEDULEGROUP_NTS_EX_OUT_0: "A NOT_SET ScheduleGroup.", AR_FN_DSC_FINDSKILL: "Searches for a skill in the organization.", AR_FN_SKL_FINDSKILL_STR_DSC: "Performs a search for an ACD Skill in the Skills category and returns a Skill value if found.", AR_FN_SKL_FINDSKILL_STR_RV: "Returns the Skill value for the ACD Skill found in your organization if there was a unique match found, otherwise a NOT_SET Skill.", AR_FN_SKL_FINDSKILL_STR_PRM_DSC_0: "The skill to look up in your organization. This will perform a search for an ACD Skill in the Skills category. The search will be performed in a case insensitive manner.", AR_FN_SKL_FINDSKILL_STR_EX_OUT_0: 'Returns the Skill for the ACD Skill named "JavaScript" from the Skills category if there is one skill with that name, otherwise a NOT_SET Skill.', AR_FN_SKL_FINDSKILL_STR_EX_OUT_1: "A NOT_SET Skill.", AR_FN_SKL_FINDSKILL_NTS_DSC: "Returns a NOT_SET Skill for a NOT_SET input value.", AR_FN_SKL_FINDSKILL_NTS_RV: "Returns a NOT_SET Skill.", AR_FN_SKL_FINDSKILL_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_SKL_FINDSKILL_NTS_EX_OUT_0: "A NOT_SET Skill.", AR_FN_DSC_EVALUATESKILLEXPRESSIONFILTER: "Evaluates skill expression filter text and returns a SkillExpressionFilter.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_DSC: "Evaluates the supplied skill expression filter text and returns a SkillExpressionFilter. If notSetIfInvalid is true and the filter is invalid, returns a NOT_SET SkillExpressionFilter.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_RV: "Returns a SkillExpressionFilter object containing the evaluation results. If notSetIfInvalid is true and the filter is invalid, returns a NOT_SET SkillExpressionFilter.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_PRM_DSC_0: "The skill expression filter text to evaluate. Must be between 1 and 1024 characters.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_PRM_DSC_1: "If true and the filter is invalid, returns a NOT_SET SkillExpressionFilter. If false or not provided, returns a SkillExpressionFilter with error information.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_EX_OUT_0: "Returns a SkillExpressionFilter with normalized filter and referenced ACD Skills.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_BLN_EX_OUT_1: "Returns a NOT_SET SkillExpressionFilter because the filter is invalid and notSetIfInvalid is true.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_DSC: "Evaluates the supplied skill expression filter text and returns a SkillExpressionFilter.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_RV: "Returns a SkillExpressionFilter object containing the evaluation results, including error information if the filter is invalid.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_PRM_DSC_0: "The skill expression filter text to evaluate. Must be between 1 and 1024 characters.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_EX_OUT_0: "Returns a SkillExpressionFilter with normalized filter and referenced ACD Skills.", AR_FN_SKILLEXPRESSIONFILTER_EVALUATESKILLEXPRESSIONFILTER_STR_EX_OUT_1: "Returns a SkillExpressionFilter with error information in the errors property.", AR_FN_DSC_FINDLANGUAGESKILL: "Searches for a language skill in the organization.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_DSC: "Performs a search for an ACD Skill in the Languages category and returns a Language Skill value if found.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_RV: "Returns the Language Skill value for the ACD Skill in the Languages category found in your organization if there was a unique match found, otherwise a NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_PRM_DSC_0: "The language skill to look up in your organization. This will perform a search for an ACD Skill in the Languages category. The search will be performed in a case insensitive manner.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_EX_OUT_0: 'Returns the Language Skill for the ACD Skill named "Spanish - Written" from the Languages category if there is one skill with that name, otherwise a NOT_SET Language Skill.', AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_STR_EX_OUT_1: "A NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_DSC: "Returns a NOT_SET value for a NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_RV: "Returns a NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_LANGUAGESKILL_FINDLANGUAGESKILL_NTS_EX_OUT_0: "A NOT_SET Language Skill.", AR_FN_DSC_APPEND: "Creates a new string by appending two or more Strings together.", AR_FN_STR_APPEND_STR_STR_MORE_DSC: "Creates a new string by appending two or more Strings together.", AR_FN_STR_APPEND_STR_STR_MORE_RV: "Returns the concatenated string.", AR_FN_STR_APPEND_STR_STR_MORE_PRM_DSC_0: "The initial text. A NOT_SET String is treated as a blank string.", AR_FN_STR_APPEND_STR_STR_MORE_PRM_DSC_1: "The text to append to the initial text. A NOT_SET String is treated as a blank string.", AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_DSC: "Creates Audio by appending two or more Audio or prompts together.", AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_RV: "Returns the concatenated Audio.", AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_PRM_DSC_0: "The initial text.", AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_PRM_DSC_1: "The Audio or prompt to append.", AR_FN_AUDIO_APPENDAUDIO_ANY_ANY_MORE_EX_OUT_0: "An Audio object with the prompt Welcome followed by John.", AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_DSC: "Appends items to a Communication. This is a helper function that calls MakeCommunication with the supplied Communication value for the first parameter, followed by the rest of the parameter values.", AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_RV: "Returns the concatenated Communication.", AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_PRM_DSC_0: "The initial Communication.", AR_FN_COMMUNICATION_APPEND_COMMUNICATION_ANY_MORE_PRM_DSC_1: "The value to append to the initial Communication.", AR_FN_DSC_MAKECOMMUNICATION: "Creates a Communication by sequencing one or values together.", AR_FN_COMMUNICATION_MAKECOMMUNICATION_ANY_MORE_DSC: "Creates a Communication by concatenating two or more values together.", AR_FN_COMMUNICATION_MAKECOMMUNICATION_ANY_MORE_RV: "Returns the Communication object.", AR_FN_COMMUNICATION_MAKECOMMUNICATION_ANY_MORE_PRM_DSC_0: "An Any value.", AR_FN_DSC_LEFT: "Retrieves a substring of a specified length starting from the left-hand side of a supplied string.", AR_FN_STR_LEFT_STR_LNG_DSC: "Retrieves a substring of a specified length starting from the left-hand side of a supplied string.", AR_FN_STR_LEFT_STR_LNG_RV: "Returns the left portion of string supplied in srcString with the specified length. If the length of the string in the srcString parameter is less than the number of characters specified in the length parameter, the entire string in srcString is returned.", AR_FN_STR_LEFT_STR_LNG_PRM_DSC_0: "The source string.", AR_FN_STR_LEFT_STR_LNG_PRM_DSC_1: "The number of characters to return from the left portion of the string in the srcString parameter.", AR_FN_DSC_LENGTH: "Gets the number of characters in a string.", AR_FN_LNG_LENGTH_STR_DSC: "Calculates the number of characters in the supplied String value.", AR_FN_LNG_LENGTH_STR_RV: "Returns the number of characters in the String supplied in the text parameter.", AR_FN_LNG_LENGTH_STR_PRM_DSC_0: "The String to count the number of characters.", AR_FN_LNG_LENGTH_JSON_DSC: "Calculates the number of characters in the supplied JSON value that contains a string.", AR_FN_LNG_LENGTH_JSON_RV: "Returns the number of characters in the JSON string supplied in the text parameter.", AR_FN_LNG_LENGTH_JSON_PRM_DSC_0: "The JSON value that contains a string. If the supplied JSON value is not a string, this will invoke error handling. Remember the IsJsonString function can be used to check if a JSON value contains a string.", AR_FN_DSC_LOWER: "Converts a String to all lowercase characters.", AR_FN_STR_LOWER_STR_DSC: "Converts the supplied String value to a lowercase String in a culture invariant manner.", AR_FN_STR_LOWER_STR_RV: "Returns the input string in all lower case.", AR_FN_STR_LOWER_STR_PRM_DSC_0: "The string to lower case.", AR_FN_DSC_LTRIM: "Removes all whitespace from the left-hand side of the string and returns the resulting string. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_LTRIM_STR_DSC: "Removes all whitespace from the left-hand side of the supplied String value and returns the resulting string. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_LTRIM_STR_RV: "Returns a String with all whitespace removed from the left-hand side of the supplied String value. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_LTRIM_STR_PRM_DSC_0: "The String to left trim.", AR_FN_DSC_REPLACE: "Replaces all occurrences of specified text in a String with different text.", AR_FN_STR_REPLACE_STR_STR_STR_DSC: "Replaces all occurrences of a specified text in a String with different text.", AR_FN_STR_REPLACE_STR_STR_STR_RV: "Returns a string with the replaced values ( if any ).", AR_FN_STR_REPLACE_STR_STR_STR_PRM_DSC_0: "The String that is to be searched.", AR_FN_STR_REPLACE_STR_STR_STR_PRM_DSC_1: "The String that will be replaced. This is a case sensitive match.", AR_FN_STR_REPLACE_STR_STR_STR_PRM_DSC_2: "The String to replace the findString. A NOT_SET value is treated as a blank string.", AR_FN_DSC_REVERSE: "Returns a String in reverse order.", AR_FN_STR_REVERSE_STR_DSC: "Reverses the contents of the supplied String value.", AR_FN_STR_REVERSE_STR_RV: "Returns the String passed to the function in reverse order.", AR_FN_STR_REVERSE_STR_PRM_DSC_0: "The String to reverse.", AR_FN_DSC_RIGHT: "Retrieves a substring of a specified length from the right hand side of a string.", AR_FN_STR_RIGHT_STR_LNG_DSC: "Retrieves a substring of a specified length from the right hand side of a string.", AR_FN_STR_RIGHT_STR_LNG_RV: "Returns the right portion of string supplied in srcString with the specified length. If the length of the string in the srcString parameter is less than the number of characters specified in the length parameter, the entire string in srcString is returned.", AR_FN_STR_RIGHT_STR_LNG_PRM_DSC_0: "The source string.", AR_FN_STR_RIGHT_STR_LNG_PRM_DSC_1: "The number of characters to return from the right hand side of the string in the srcString parameter.", AR_FN_DSC_RTRIM: "Removes all whitespace from the right hand side of the string and returns the resulting string. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_RTRIM_STR_DSC: "Removes all whitespace from the right hand side of the supplied String value. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_RTRIM_STR_RV: "Returns the string with all whitespace removed from the right hand side. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_RTRIM_STR_PRM_DSC_0: "The String to right trim.", AR_FN_DSC_SUBSTRING: "Gets part of a String that starts at a specified position and has the specified length.", AR_FN_STR_SUBSTRING_STR_LNG_LNG_DSC: "Gets part of a String that starts at a specified position and has the specified length.", AR_FN_STR_SUBSTRING_STR_LNG_LNG_RV: 'Returns a substring from the supplied string. If the starting position is past the end of the string, "" is returned.', AR_FN_STR_SUBSTRING_STR_LNG_LNG_PRM_DSC_0: "The source String from which the substring will be taken.", AR_FN_STR_SUBSTRING_STR_LNG_LNG_PRM_DSC_1: "The starting position of the String in the text parameter. The first position is 0.", AR_FN_STR_SUBSTRING_STR_LNG_LNG_PRM_DSC_2: "The length of the desired substring.", AR_FN_DSC_TRIM: "Removes all whitespace from the right and left side of the input string and returns the resulting trimmed string. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_TRIM_STR_DSC: "Removes all whitespace from the left and right side of the supplied String value and returns the resulting string. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_TRIM_STR_RV: "Returns the string with all whitespace removed from the right and left hand side. Whitespace characters are space, tab, carriage return and line feed.", AR_FN_STR_TRIM_STR_PRM_DSC_0: "The String to trim.", AR_FN_DSC_UPPER: "Converts a String to all uppercase characters.", AR_FN_STR_UPPER_STR_DSC: "Converts the supplied String value to an uppercase String in a culture invariant manner.", AR_FN_STR_UPPER_STR_RV: "Returns the input string in all upper case.", AR_FN_STR_UPPER_STR_PRM_DSC_0: "The string to upper case.", AR_FN_DSC_CONTAINS: "Determines if a String contains the specified text.", AR_FN_BLN_CONTAINS_STR_STR_DSC: "Determines if a String contains the specified String in a case sensitive manner.", AR_FN_BLN_CONTAINS_STR_STR_RV: "Returns true if the text is found, otherwise false.", AR_FN_BLN_CONTAINS_STR_STR_PRM_DSC_0: "The String that will be scanned.", AR_FN_BLN_CONTAINS_STR_STR_PRM_DSC_1: "The text for which you are searching.", AR_FN_BLN_CONTAINS_STR_STR_BLN_DSC: "Determines if a String contains the specified String in a case sensitive or case insensitive manner.", AR_FN_BLN_CONTAINS_STR_STR_BLN_RV: "Returns true if the text is found, otherwise false.", AR_FN_BLN_CONTAINS_STR_STR_BLN_PRM_DSC_0: "The String that will be scanned.", AR_FN_BLN_CONTAINS_STR_STR_BLN_PRM_DSC_1: "The text for which you are searching.", AR_FN_BLN_CONTAINS_STR_STR_BLN_PRM_DSC_2: "Whether or not to perform a case insensitive (true) or case sensitive (false) search.", AR_FN_DSC_COMPARE: "Compares two specified String values and returns an Integer that indicates their relationship to one another in the sort order.", AR_FN_LNG_COMPARE_STR_STR_DSC: "Compares two specified String values and returns an Integer that indicates their relationship to one another by doing a character by character comparison. The comparison is case sensitive.", AR_FN_LNG_COMPARE_STR_STR_RV: "Returns 1 if the string in stringToCompare is greater than the string in stringToCompareTo, -1 if the string in stringToCompare is less than the string in stringToCompareTo and 0 if the string in stringToCompare is equal to the string in stringToCompareTo.", AR_FN_LNG_COMPARE_STR_STR_PRM_DSC_0: "The String to be compared.", AR_FN_LNG_COMPARE_STR_STR_PRM_DSC_1: "The String to compare to.", AR_FN_LNG_COMPARE_STR_STR_EX_OUT_2: "1 ( remember, we're comparing strings, not numbers here )", AR_FN_LNG_COMPARE_STR_STR_BLN_DSC: "Compares two specified String values and returns an Integer that indicates their relationship to one another by doing a character by character comparison.", AR_FN_LNG_COMPARE_STR_STR_BLN_RV: "Returns 1 if the string in stringToCompare is greater than the string in stringToCompareTo, -1 if the string in stringToCompare is less than the string in stringToCompareTo and 0 if the string in stringToCompare is equal to the string in stringToCompareTo.", AR_FN_LNG_COMPARE_STR_STR_BLN_PRM_DSC_0: "The String to be compared.", AR_FN_LNG_COMPARE_STR_STR_BLN_PRM_DSC_1: "The String to compare to.", AR_FN_LNG_COMPARE_STR_STR_BLN_PRM_DSC_2: "Whether or not to perform a case sensitive or case insensitive comparison.", AR_FN_DSC_SPLIT: "Identifies substrings in the supplied text separated by a delimiter.", AR_FN_STR_COLL_SPLIT_STR_STR_DSC: "Splits a string into one or more strings based on the supplied delimiter.", AR_FN_STR_COLL_SPLIT_STR_STR_RV: "Returns the substrings in the supplied text separated by a delimiter in a String collection.", AR_FN_STR_COLL_SPLIT_STR_STR_PRM_DSC_0: "The text to split.", AR_FN_STR_COLL_SPLIT_STR_STR_PRM_DSC_1: "The delimiting text between substrings.", AR_FN_STR_COLL_SPLIT_STR_STR_EX_OUT_0: 'A String collection with items: "He", "", "o Wor", "d"', AR_FN_STR_COLL_SPLIT_STR_STR_EX_OUT_1: 'A string collection with one item: ""', AR_FN_STR_COLL_SPLIT_STR_STR_EX_OUT_2: 'A String collection with items: "H", "e", "l", "l", "o", " ", "W", "o", "r", "l" and "d"', AR_FN_DSC_DAY: "Gets the day from the supplied value.", AR_FN_LNG_DAY_DATE_DSC: "Gets the day from a Date.", AR_FN_LNG_DAY_DATE_RV: "Returns the day of the month from a Date. The result will be from 1 to 31.", AR_FN_LNG_DAY_DATE_PRM_DSC_0: "The Date from which to get the day.", AR_FN_LNG_DAY_DTM_DSC: "Gets the day from a DateTime.", AR_FN_LNG_DAY_DTM_RV: "Returns the day of the month from a DateTime. The result will be from 1 to 31.", AR_FN_LNG_DAY_DTM_PRM_DSC_0: "The DateTime from which to get the day.", AR_FN_DSC_MONTH: "Gets the month from the supplied value.", AR_FN_LNG_MONTH_DATE_DSC: "Gets the month from a Date.", AR_FN_LNG_MONTH_DATE_RV: "Returns the month from the supplied Date. 1=January, 2=February, 3=March, 4=April, 5=May, 6=June, 7=July, 8=August, 9=September, 10=October, 11=November and 12=December.", AR_FN_LNG_MONTH_DATE_PRM_DSC_0: "The Date from which to get the month.", AR_FN_LNG_MONTH_DTM_DSC: "Gets the month from a DateTime.", AR_FN_LNG_MONTH_DTM_RV: "Returns the month from the supplied DateTime. 1=January, 2=February, 3=March, 4=April, 5=May, 6=June, 7=July, 8=August, 9=September, 10=October, 11=November and 12=December.", AR_FN_LNG_MONTH_DTM_PRM_DSC_0: "The DateTime from which to get the month.", AR_FN_DSC_YEAR: "Gets the year from the supplied value.", AR_FN_LNG_YEAR_DATE_DSC: "Gets the year from the supplied Date.", AR_FN_LNG_YEAR_DATE_RV: "Returns the year from the supplied Date.", AR_FN_LNG_YEAR_DATE_PRM_DSC_0: "The Date from which to get the year.", AR_FN_LNG_YEAR_DTM_DSC: "Gets the year from the supplied DateTime.", AR_FN_LNG_YEAR_DTM_RV: "Returns the year from the supplied DateTime.", AR_FN_LNG_YEAR_DTM_PRM_DSC_0: "The DateTime from which to get the year.", AR_FN_DSC_HOUR: "Gets the hour from the supplied value.", AR_FN_LNG_HOUR_TIME_DSC: "Gets the hour from the supplied Time.", AR_FN_LNG_HOUR_TIME_RV: "Returns the zero-based hour from the supplied Time. The number will range from 0 to 23 where 12AM is 0, 1AM is 1, ..., 11PM = 23", AR_FN_LNG_HOUR_TIME_PRM_DSC_0: "The Time from which to get the hour.", AR_FN_LNG_HOUR_DTM_DSC: "Gets the hour from the supplied DateTime.", AR_FN_LNG_HOUR_DTM_RV: "Returns the zero-based hour from the supplied DateTime. The number will range from 0 to 23 where 12AM is 0, 1AM is 1, ..., 11PM = 23", AR_FN_LNG_HOUR_DTM_PRM_DSC_0: "The DateTime from which to get the hour.", AR_FN_DSC_MINUTE: "Gets the minute from the supplied value.", AR_FN_LNG_MINUTE_DTM_DSC: "Gets the minute from the supplied DateTime.", AR_FN_LNG_MINUTE_DTM_RV: "Returns the minute from the supplied DateTime. The number will range from 0 to 59.", AR_FN_LNG_MINUTE_DTM_PRM_DSC_0: "The DateTime from which to get the minute.", AR_FN_LNG_MINUTE_TIME_DSC: "Gets the minute from the supplied Time.", AR_FN_LNG_MINUTE_TIME_RV: "Returns the minute from the supplied Time. The number will range from 0 to 59.", AR_FN_LNG_MINUTE_TIME_PRM_DSC_0: "The Time from which to get the minute.", AR_FN_DSC_SECOND: "Gets the second from the supplied value.", AR_FN_LNG_SECOND_DTM_DSC: "Gets the second from the supplied DateTime.", AR_FN_LNG_SECOND_DTM_RV: "Returns the second from the supplied DateTime. The number will range from 0 to 59.", AR_FN_LNG_SECOND_DTM_PRM_DSC_0: "The DateTime from which to get the second.", AR_FN_LNG_SECOND_TIME_DSC: "Gets the second from the supplied Time.", AR_FN_LNG_SECOND_TIME_RV: "Returns the second from the supplied Time. The number will range from 0 to 59.", AR_FN_LNG_SECOND_TIME_PRM_DSC_0: "The Time from which to get the second.", AR_FN_DSC_DATEDIFF: "Returns the difference between two Date values as a Duration.", AR_FN_DUR_DATEDIFF_DATE_DATE_DSC: "Calculates the difference between two Date values.", AR_FN_DUR_DATEDIFF_DATE_DATE_RV: "Returns the difference between the date1 and date2 parameters as a Duration. If the Date in date1 is after the date2, a positive Duration is returned. If the Date in date1 is before the date2, a negative Duration is returned. If they're the same, a 0 second Duration is returned.", AR_FN_DUR_DATEDIFF_DATE_DATE_PRM_DSC_0: "A Date value.", AR_FN_DUR_DATEDIFF_DATE_DATE_PRM_DSC_1: "The Date value to subtract.", AR_FN_DUR_DATEDIFF_DATE_DATE_EX_OUT_0: "A duration of 2 days.", AR_FN_DUR_DATEDIFF_DATE_DATE_EX_OUT_1: "A duration of -2 days.", AR_FN_DSC_DATETIMEDIFF: "Returns the difference between two DateTime values as a Duration.", AR_FN_DUR_DATETIMEDIFF_DTM_DTM_DSC: "Calculates the difference between two DateTime values.", AR_FN_DUR_DATETIMEDIFF_DTM_DTM_RV: "Returns the difference between the dateTime1 and dateTime2 parameters as a Duration. If the DateTime in dateTime1 is after the dateTime2, a positive Duration is returned. If the DateTime in dateTime1 is before the dateTime2, a negative Duration is returned. If they're the same, a 0 second Duration is returned.", AR_FN_DUR_DATETIMEDIFF_DTM_DTM_PRM_DSC_0: "A DateTime value.", AR_FN_DUR_DATETIMEDIFF_DTM_DTM_PRM_DSC_1: "The DateTime value to subtract.", AR_FN_DUR_DATETIMEDIFF_DTM_DTM_EX_OUT_0: "A duration of 2 hours.", AR_FN_DUR_DATETIMEDIFF_DTM_DTM_EX_OUT_1: "A duration of -2 hours.", AR_FN_DSC_TIMEDIFF: "Returns the difference between two Time values as a Duration.", AR_FN_DUR_TIMEDIFF_TIME_TIME_DSC: "Calculates the difference between two Time values.", AR_FN_DUR_TIMEDIFF_TIME_TIME_RV: "Returns the difference between the time1 and time2 parameters as a Duration. If the Time in time1 is after the time2, a positive Duration is returned. If the Time in time1 is before the time2, a negative Duration is returned. If they're the same, a 0 second Duration is returned.", AR_FN_DUR_TIMEDIFF_TIME_TIME_PRM_DSC_0: "A Time value.", AR_FN_DUR_TIMEDIFF_TIME_TIME_PRM_DSC_1: "The Time value to subtract.", AR_FN_DUR_TIMEDIFF_TIME_TIME_EX_OUT_0: "A duration of 2 hours.", AR_FN_DUR_TIMEDIFF_TIME_TIME_EX_OUT_1: "A duration of -2 hours.", AR_FN_DSC_DAYOFWEEK: "Gets the day of week from the supplied value.", AR_FN_LNG_DAYOFWEEK_DATE_DSC: "Gets the day of week from the supplied Date.", AR_FN_LNG_DAYOFWEEK_DATE_RV: "Returns the day of week from the supplied Date as a value from 1 to 7. Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, Saturday=7", AR_FN_LNG_DAYOFWEEK_DATE_PRM_DSC_0: "The Date from which to get the day of week.", AR_FN_LNG_DAYOFWEEK_DTM_DSC: "Gets the day of week from the supplied DateTime.", AR_FN_LNG_DAYOFWEEK_DTM_RV: "Returns the day of week from the supplied DateTime as a value from 1 to 7. Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, Saturday=7", AR_FN_LNG_DAYOFWEEK_DTM_PRM_DSC_0: "The DateTime from which to get the day of week.", AR_FN_DSC_GETDAYOFWEEKOCCURRENCE: "Calculates the DateTime for a specified occurrence of a day of week.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_DSC: "Calculates a DateTime for a specified occurrence of a day of week for a particular year.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_RV: "Returns a DateTime for a specified occurrence of a day of the week for the year at 12:00:00AM. If the occurrence does not exist for the specified year, a NOT_SET DateTime value will be returned.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_PRM_DSC_0: "The desired day of week. Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, Saturday=7", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_PRM_DSC_1: "The occurrence number of the day of week to calculate for the specified year. Using a negative value computes the occurrence backward from the end of the year.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_PRM_DSC_2: "The year to use for the occurrence calculation.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_0: "A DateTime whose value is March 5th, 2017 at 12:00:00AM which is the tenth Sunday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_1: "A DateTime whose value is December 29th, 2017 at 12:00:00AM which is the last Friday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_2: "A DateTime whose value is December 22nd, 2017 at 12:00:00AM which is the second to the last Friday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_EX_OUT_3: "A NOT_SET DateTime value because there is not a 53rd occurrence of Monday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_DSC: "Calculates a DateTime for a specified occurrence of a day of week within a particular month and year.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_RV: "Returns a DateTime for a specified occurrence of a day of week within a month at 12:00:00AM. If the occurrence does not exist for the specified year and month, a NOT_SET DateTime value will be returned.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_0: "The desired day of week. Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, Saturday=7", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_1: "The occurrence number of the day of week to calculate for the specified month and year. Using a negative value computes the occurrence backward from the end of the month.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_2: "The year to use for the occurrence calculation.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_PRM_DSC_3: "The month to use for the occurrence calculation.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_0: "A DateTime whose value is April 9th, 2017 at 12:00:00AM which is the second Sunday in April, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_1: "A DateTime whose value is February 24th, 2017 at 12:00:00AM which is the last Friday in February, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_2: "A DateTime whose value is February 17th, 2017 at 12:00:00AM which is the second to the last Friday in February, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_EX_OUT_3: "A NOT_SET DateTime value because there is not a fifth occurrence of Tuesday in April, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_DSC: "Calculates a DateTime for a specified occurrence of a day of week for a particular year.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_RV: "Returns the DateTime for a specified occurrence of a day of week for a year at the specified time. If the occurrence does not exist for the specified year, a NOT_SET DateTime value will be returned.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0: "The desired day of week. Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, Saturday=7", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1: "The occurrence number of the day of week to calculate for the specified year. Using a negative value computes the occurrence backward from the end of the year.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2: "The year to use for the occurrence calculation.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3: "The hour to use in the returned DateTime.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4: "The minute to use in the returned DateTime.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_5: "The second to use in the returned DateTime.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_0: "A DateTime whose value is December 29th, 2017 at 02:14:30AM which is the last Friday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_1: "A DateTime whose value is December 22nd, 2017 at 02:05:00AM which is the second to the last Friday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_2: "A DateTime whose value is May 14th, 2017 at 2:15:15AM which is the 20th Sunday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_3: "A NOT_SET DateTime value because there is not a 53rd occurrence of Tuesday in 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_DSC: "Calculates a DateTime for a specified occurrence of a day of week with a specified time within a particular month and year.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_RV: "Returns a DateTime for a specified occurrence of a day of week within a month at the specified time. If the occurrence does not exist for the specified year and month, a NOT_SET DateTime value will be returned.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0: "The desired day of week. Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, Saturday=7", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1: "The occurrence number of the day of week to calculate for the specified month and year. Using a negative value computes the occurrence backward from the end of the month.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2: "The year to use in the occurrence calculation.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3: "The month to use in the occurrence calculation.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4: "The hour to use in the returned DateTime.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_5: "The minute to use in the returned DateTime.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_6: "The second to use in the returned DateTime.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_0: "A DateTime whose value is April 9th, 2017 at 11:15:00AM which is the second Sunday in April, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_1: "A DateTime whose value is February 24th, 2017 at 02:30:00PM which is the last Friday in February, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_2: "A DateTime whose value is February 17th, 2017 at 05:00:00AM which is the second to the last Friday in February, 2017.", AR_FN_DTM_GETDAYOFWEEKOCCURRENCE_LNG_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_3: "A NOT_SET DateTime value because there is not a fifth occurrence of Tuesday in April, 2017.", AR_FN_DSC_GETMENUSSUPPORTSPEECHRECOGNITION: "Returns whether or not menus in the flow support speech recognition.", AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_DSC: "Whether or not menus in the flow support speech recognition for the language in which the flow is currently running.", AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_RV: "Returns whether or not menus in the flow support speech recognition for the current flow language.", AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_STR_DSC: "Whether or not menus in the flow support speech recognition for a specified IETF language tag.", AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_STR_RV: "Returns whether or not menus in the current flow support speech recognition for supplied IETF language tag. If you supply a NOT_SET language tag, the return value is a NOT_SET Boolean.", AR_FN_BLN_GETMENUSSUPPORTSPEECHRECOGNITION_STR_PRM_DSC_0: "The IETF language tag of the language to check.", AR_FN_DSC_WEEKNUM: "Gets the week number of a DateTime or Date.", AR_FN_LNG_WEEKNUM_DATE_DSC: "Gets the week number of a Date.", AR_FN_LNG_WEEKNUM_DATE_RV: "Returns the week number of the Date as an Integer between 1 and 53 inclusive.", AR_FN_LNG_WEEKNUM_DATE_PRM_DSC_0: "The Date value from which to get the week number.", AR_FN_LNG_WEEKNUM_DTM_DSC: "Gets the week number of a DateTime.", AR_FN_LNG_WEEKNUM_DTM_RV: "Returns the week number of the DateTime as an Integer between 1 and 53 inclusive.", AR_FN_LNG_WEEKNUM_DTM_PRM_DSC_0: "The DateTime value from which to get the week number.", AR_FN_DSC_MAKEDATE: "Returns a new instance of Date initialized with the specified values.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_DSC: "Creates a new Date for the supplied year, month and day.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_RV: "Returns a new Date from the supplied parameters.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_PRM_DSC_0: "The year of the new Date.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_PRM_DSC_1: "The month of the new Date.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_PRM_DSC_2: "The day of the new Date.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_EX_OUT_0: "A Date whose value is May 20th, 2014.", AR_FN_DATE_MAKEDATE_LNG_LNG_LNG_EX_OUT_1: "A Date whose value is January 1st, 2018.", AR_FN_DSC_MAKEDATETIME: "Returns a new instance of DateTime initialized with the specified values.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_DSC: "Creates a new DateTime in UTC.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_RV: "Returns a new DateTime from the supplied parameters in Coordinated Universal Time (UTC).", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0: "The year of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1: "The month of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2: "The day of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3: "The hour of the day of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4: "The minute of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_PRM_DSC_5: "The second of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_LNG_LNG_LNG_EX_OUT_0: "A DateTime whose value is March 20th, 2009 at 12:00:00PM.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_DSC: "Creates a new DateTime for the specified date at 12:00:00 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_RV: "Returns a new DateTime from the date parameters at 12:00:00 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_PRM_DSC_0: "The year of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_PRM_DSC_1: "The month of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_PRM_DSC_2: "The day of the new DateTime.", AR_FN_DTM_MAKEDATETIME_LNG_LNG_LNG_EX_OUT_0: "A DateTime whose value is March 20th, 2009 at 12:00:00 AM.", AR_FN_DTM_MAKEDATETIME_DATE_TIME_DSC: "Creates a new DateTime from a supplied Date and Time.", AR_FN_DTM_MAKEDATETIME_DATE_TIME_RV: "Returns a new DateTime from the supplied Date and Time values.", AR_FN_DTM_MAKEDATETIME_DATE_TIME_PRM_DSC_0: "The UTC Date for the new DateTime. If the value is a NOT_SET Date then January 1st, 1970 is used.", AR_FN_DTM_MAKEDATETIME_DATE_TIME_PRM_DSC_1: "The UTC Time of the new DateTime. If the value is a NOT_SET time, then 12:00:00.000AM is used.", AR_FN_DSC_MAKEDURATION: "Returns a new instance of Duration initialized with the specified values.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_DSC: "Creates a Duration from the supplied values.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_RV: "Returns the new duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_0: "The number of days for the new Duration. A day is 86400 seconds.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_1: "The number of hours for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_2: "The number of minutes for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_PRM_DSC_3: "The number of seconds for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_EX_OUT_0: "A Duration of 10 days and 30 minutes", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_EX_OUT_1: "A negative Duration of 9 days, 23 hours and 30 minutes", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_EX_OUT_2: "A negative Duration of 10 days and 30 minutes", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_DSC: "Creates a Duration from the supplied values.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_RV: "Returns the new duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_0: "The number of days for the new Duration. A day is 86400 seconds.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_1: "The number of hours for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_2: "The number of minutes for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_3: "The number of seconds for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_PRM_DSC_4: "The number of milliseconds for the new Duration.", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_EX_OUT_0: "A Duration of 10 days and 30 minutes", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_EX_OUT_1: "A negative Duration of 9 days, 23 hours, 30 minutes, 10.5 seconds", AR_FN_DUR_MAKEDURATION_LNG_LNG_LNG_LNG_LNG_EX_OUT_2: "A negative Duration of 10 days and 30 minutes", AR_FN_DSC_MAKETIME: "Returns a new instance of Time initialized with the specified values.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_DSC: "Creates a new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_RV: "Returns a new Time from the supplied parameters.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_PRM_DSC_0: "The hour of the day of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_PRM_DSC_1: "The minute of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_PRM_DSC_2: "The second of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_EX_OUT_0: "A Time whose value is 12:05:00PM.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_DSC: "Creates a new Time with the ability to specify milliseconds.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_RV: "Returns a new Time from the supplied parameters.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_0: "The hour of the day of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_1: "The minute of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_2: "The second of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_PRM_DSC_3: "The milliseconds of the new Time.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_EX_OUT_0: "A Time whose value is 02:30:00AM.", AR_FN_TIME_MAKETIME_LNG_LNG_LNG_LNG_EX_OUT_1: "A Time whose value is 12:00:10.200PM.", AR_FN_DSC_ADDDAYS: "Adds a specified number of days to a value.", AR_FN_DTM_ADDDAYS_DTM_LNG_DSC: "Adds a specified number of days to a DateTime value. This works by incrementing or decrementing the day component of the date.", AR_FN_DTM_ADDDAYS_DTM_LNG_RV: "The resulting DateTime with the days added.", AR_FN_DTM_ADDDAYS_DTM_LNG_PRM_DSC_0: "The DateTime that will be used as the starting point.", AR_FN_DTM_ADDDAYS_DTM_LNG_PRM_DSC_1: "The number of days to add to the starting DateTime.", AR_FN_DTM_ADDDAYS_DTM_LNG_EX_OUT_0: "A DateTime of March 7th, 2009 at 12:00:00PM.", AR_FN_DATE_ADDDAYS_DATE_LNG_DSC: "Adds a specified number of days to a Date value. This works by incrementing or decrementing the day component of the date.", AR_FN_DATE_ADDDAYS_DATE_LNG_RV: "The resulting Date with the days added.", AR_FN_DATE_ADDDAYS_DATE_LNG_PRM_DSC_0: "The Date that will be used as the starting point.", AR_FN_DATE_ADDDAYS_DATE_LNG_PRM_DSC_1: "The number of days to add to the starting Date.", AR_FN_DATE_ADDDAYS_DATE_LNG_EX_OUT_0: "A Date of March 7th, 2009.", AR_FN_DSC_ADDDURATION: "Adds a Duration to a DateTime.", AR_FN_DATE_ADDDURATION_DATE_DUR_DSC: "Adds days to a Date. The number of days to add is calculated by taking the integral value of the total number of seconds in the supplied Duration value divided by 86400 ( the number of seconds in 1 day ).", AR_FN_DATE_ADDDURATION_DATE_DUR_RV: "Returns a Date that is the result of adding the number of days in the supplied duration to the Date value.", AR_FN_DATE_ADDDURATION_DATE_DUR_PRM_DSC_0: "A Date value.", AR_FN_DATE_ADDDURATION_DATE_DUR_PRM_DSC_1: "A Duration value that supplies the number of days to add to the Date value in startDate.", AR_FN_DATE_ADDDURATION_DATE_DUR_EX_OUT_0: "A Date whose value is January 20th, 2009.", AR_FN_DATE_ADDDURATION_DATE_DUR_EX_OUT_1: "A Date whose value is March 2nd, 2020.", AR_FN_DATE_ADDDURATION_DATE_DUR_EX_OUT_2: "A Date whose value is December 30th, 2019.", AR_FN_DTM_ADDDURATION_DTM_DUR_DSC: "Adds a Duration to a DateTime.", AR_FN_DTM_ADDDURATION_DTM_DUR_RV: "Returns a DateTime that is the result of adding the supplied Duration to the incoming DateTime value. Note that if the Duration contains fractional seconds, those are not added to the DateTime since DateTime does not support milliseconds.", AR_FN_DTM_ADDDURATION_DTM_DUR_PRM_DSC_0: "A DateTime value.", AR_FN_DTM_ADDDURATION_DTM_DUR_PRM_DSC_1: "A Duration value to add to the DateTime value in startDateTime.", AR_FN_DTM_ADDDURATION_DTM_DUR_EX_OUT_0: "A DateTime of January 20, 2009 at 7:00:00 AM.", AR_FN_TIME_ADDDURATION_TIME_DUR_DSC: "Adds a Duration to a Time. Addition of a Duration value to a Time value allows for wrap-around so adding three hours to a Time value of 23:00:00 will return a Time value of 02:00:00.", AR_FN_TIME_ADDDURATION_TIME_DUR_RV: "Returns a Time that is the result of adding the supplied Duration value to the supplied Time value.", AR_FN_TIME_ADDDURATION_TIME_DUR_PRM_DSC_0: "A Time value.", AR_FN_TIME_ADDDURATION_TIME_DUR_PRM_DSC_1: "A Duration value to add to the Time value in startTime.", AR_FN_DSC_ADDMONTHS: "Add a specified number of months to a value.", AR_FN_DTM_ADDMONTHS_DTM_LNG_DSC: "Adds a specified number of months to a DateTime.", AR_FN_DTM_ADDMONTHS_DTM_LNG_RV: "Returns a DateTime that is the result of adding the specified number of months to a starting DateTime.", AR_FN_DTM_ADDMONTHS_DTM_LNG_PRM_DSC_0: "The starting DateTime.", AR_FN_DTM_ADDMONTHS_DTM_LNG_PRM_DSC_1: "The number of months to add to the starting DateTime.", AR_FN_DTM_ADDMONTHS_DTM_LNG_EX_OUT_0: "A DateTime of April 10, 2009 at 06:30:00 AM.", AR_FN_DTM_ADDMONTHS_DTM_LNG_EX_OUT_1: "A DateTime of February 28, 2009 at 06:30:00 AM.", AR_FN_DATE_ADDMONTHS_DATE_LNG_DSC: "Adds a specified number of months to a Date.", AR_FN_DATE_ADDMONTHS_DATE_LNG_RV: "Returns a Date that is the result of adding the specified number of months to a starting Date.", AR_FN_DATE_ADDMONTHS_DATE_LNG_PRM_DSC_0: "The starting Date.", AR_FN_DATE_ADDMONTHS_DATE_LNG_PRM_DSC_1: "The number of months to add to the starting Date.", AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_0: "A Date whose value is April 10th, 2009.", AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_1: "A Date whose value is February 29th, 2008.", AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_2: "A Date whose value is March 1st, 2009.", AR_FN_DATE_ADDMONTHS_DATE_LNG_EX_OUT_3: "A Date whose value is January 1st, 2020.", AR_FN_DSC_ADDYEARS: "Add the specified number of years to a value.", AR_FN_DTM_ADDYEARS_DTM_LNG_DSC: "Adds a specified number of years to a DateTime.", AR_FN_DTM_ADDYEARS_DTM_LNG_RV: "Returns a DateTime that is the result of adding the specified number of years to a starting DateTime.", AR_FN_DTM_ADDYEARS_DTM_LNG_PRM_DSC_0: "The starting DateTime.", AR_FN_DTM_ADDYEARS_DTM_LNG_PRM_DSC_1: "The number of years to add to the starting DateTime.", AR_FN_DTM_ADDYEARS_DTM_LNG_EX_OUT_0: "A DateTime of January 10, 2012 at 06:30:00 AM.", AR_FN_DATE_ADDYEARS_DATE_LNG_DSC: "Adds a specified number of years to a Date.", AR_FN_DATE_ADDYEARS_DATE_LNG_RV: "Returns a Date that is the result of adding the specified number of years to a starting Date.", AR_FN_DATE_ADDYEARS_DATE_LNG_PRM_DSC_0: "The starting Date.", AR_FN_DATE_ADDYEARS_DATE_LNG_PRM_DSC_1: "The number of years to add to the starting Date.", AR_FN_DATE_ADDYEARS_DATE_LNG_EX_OUT_0: "A Date whose value is January 10th, 2015.", AR_FN_DATE_ADDYEARS_DATE_LNG_EX_OUT_1: "A Date whose value is January 10th, 2012.", AR_FN_DATE_ADDYEARS_DATE_LNG_EX_OUT_2: "A Date whose value is January 10th, 2009.", AR_FN_DSC_ADDHOURS: "Add the specified number of hours to a value.", AR_FN_DTM_ADDHOURS_DTM_LNG_DSC: "Adds a specified number of hours to a DateTime.", AR_FN_DTM_ADDHOURS_DTM_LNG_RV: "Returns a DateTime that is the result of adding the specified number of hours to a starting DateTime.", AR_FN_DTM_ADDHOURS_DTM_LNG_PRM_DSC_0: "The starting DateTime.", AR_FN_DTM_ADDHOURS_DTM_LNG_PRM_DSC_1: "The number of hours to add to the starting DateTime.", AR_FN_DTM_ADDHOURS_DTM_LNG_EX_OUT_0: "A DateTime of January 10, 2009 at 09:30:00 AM.", AR_FN_TIME_ADDHOURS_TIME_LNG_DSC: "Adds a specified number of hours to a Time. Addition of hours to a Time value allows for wrap-around so adding three hours to a Time value of 22:00:00 will return a Time value of 01:00:00.", AR_FN_TIME_ADDHOURS_TIME_LNG_RV: "Returns a Time that is the result of adding the specified number of hours to a starting Time.", AR_FN_TIME_ADDHOURS_TIME_LNG_PRM_DSC_0: "The starting Time.", AR_FN_TIME_ADDHOURS_TIME_LNG_PRM_DSC_1: "The number of hours to add to the starting Time.", AR_FN_TIME_ADDHOURS_TIME_LNG_EX_OUT_0: "A Time whose value is 09:30:00AM.", AR_FN_TIME_ADDHOURS_TIME_LNG_EX_OUT_1: "A Time whose value is 09:30:00.500PM.", AR_FN_TIME_ADDHOURS_TIME_LNG_EX_OUT_2: "A Time whose value is 12:00:00PM.", AR_FN_DSC_ADDMINUTES: "Add the specified number of minutes to a value.", AR_FN_DTM_ADDMINUTES_DTM_LNG_DSC: "Adds a specified number of minutes to a DateTime.", AR_FN_DTM_ADDMINUTES_DTM_LNG_RV: "Returns a DateTime that is the result of adding the specified number of minutes to a starting DateTime.", AR_FN_DTM_ADDMINUTES_DTM_LNG_PRM_DSC_0: "The starting DateTime.", AR_FN_DTM_ADDMINUTES_DTM_LNG_PRM_DSC_1: "The number of minutes to add to the starting DateTime.", AR_FN_DTM_ADDMINUTES_DTM_LNG_EX_OUT_0: "A DateTime of January 10, 2009 at 06:33:00 AM.", AR_FN_TIME_ADDMINUTES_TIME_LNG_DSC: "Adds a specified number of minutes to a Time. Addition of minutes to a Time value allows for wrap-around so adding 90 minutes to a Time value of 23:30:00 will return a Time value of 01:00:00.", AR_FN_TIME_ADDMINUTES_TIME_LNG_RV: "Returns a Time that is the result of adding the specified number of minutes to a starting Time.", AR_FN_TIME_ADDMINUTES_TIME_LNG_PRM_DSC_0: "The starting Time.", AR_FN_TIME_ADDMINUTES_TIME_LNG_PRM_DSC_1: "The number of minutes to add to the starting Time.", AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_0: "A Time whose value is 09:00:00AM.", AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_1: "A Time whose value is 08:30:00.500PM.", AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_2: "A Time whose value is 00:00:00AM.", AR_FN_TIME_ADDMINUTES_TIME_LNG_EX_OUT_3: "A Time whose value is 00:30:00AM.", AR_FN_DSC_ADDSECONDS: "Add the specified number of seconds to a value.", AR_FN_DTM_ADDSECONDS_DTM_LNG_DSC: "Adds a specified number of seconds to a DateTime.", AR_FN_DTM_ADDSECONDS_DTM_LNG_RV: "Returns a DateTime that is the result of adding the specified number of seconds to a starting DateTime.", AR_FN_DTM_ADDSECONDS_DTM_LNG_PRM_DSC_0: "The starting DateTime.", AR_FN_DTM_ADDSECONDS_DTM_LNG_PRM_DSC_1: "The number of seconds to add to the starting DateTime.", AR_FN_DTM_ADDSECONDS_DTM_LNG_EX_OUT_0: "A DateTime of January 10, 2009 at 06:30:03 AM.", AR_FN_TIME_ADDSECONDS_TIME_LNG_DSC: "Adds a specified number of seconds to a Time. Addition of seconds to a Time value allows for wrap-around so adding 300 seconds to a Time value of 23:57:00 will return a Time value of 00:02:00.", AR_FN_TIME_ADDSECONDS_TIME_LNG_RV: "Returns a Time that is the result of adding the specified number of seconds to a starting Time.", AR_FN_TIME_ADDSECONDS_TIME_LNG_PRM_DSC_0: "The starting Time.", AR_FN_TIME_ADDSECONDS_TIME_LNG_PRM_DSC_1: "The number of seconds to add to the starting Time.", AR_FN_TIME_ADDSECONDS_TIME_LNG_EX_OUT_0: "A Time whose value is 00:35:30AM.", AR_FN_TIME_ADDSECONDS_TIME_LNG_EX_OUT_1: "A Time whose value is 11:30:00PM.", AR_FN_TIME_ADDSECONDS_TIME_LNG_EX_OUT_2: "A Time whose value is 06:30:00.500AM.", AR_FN_DSC_LOGICALIF: "Performs a logical if and returns one value if the supplied condition is true and a different value if the supplied condition is false.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_DSC: "Evaluates the Boolean passed in the condition parameter and if the result is true, the value of the trueParameter is returned. Otherwise the value of falseParameter is returned. Only the trueValue or falseValue parameter will be evaluated based on the result the condition parameter. The type of data passed in to trueValue and falseValue parameters must be the same.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_RV: "If value in the condition parameter evaluates to true, the value in the trueValue parameter is returned. If the value of the condition evaluates to false, the value of the falseValue parameter is returned.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_PRM_DSC_0: "The condition to check. A NOT_SET Boolean is considered false.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_PRM_DSC_1: "The value to return if the condition is true.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_PRM_DSC_2: "The value to return if the condition is false or a NOT_SET Boolean.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_4: 'A Currency with an amount of 10.00 and code of "USD".', AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_5: "The DateTime of May 5th, 2009 at 10:30:00 AM in Coordinated Universal Time (UTC)", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_6: "A Duration of 1 hour.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_7: 'The User with the name "Doe, John".', AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_8: "The Skill of Spanish.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_9: "The Date whose value is June 1st, 2010.", AR_FN_ANY_LOGICALIF_BLN_ANY_ANY_EX_OUT_10: "The Time whose value is 12:00:00PM.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_DSC: "Evaluates the Boolean passed in the condition parameter and if the result is true, the value of the trueParameter is returned. Otherwise the value of falseParameter is returned. Only the trueValue or falseValue parameter will be evaluated based on the result the condition parameter. The type of data passed in to trueValue and falseValue parameters must be the same.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_RV: "If value in the condition parameter evaluates to true, the value in the trueValue parameter is returned. If the value of the condition evaluates to false or a NOT_SET Boolean, the value of the falseValue parameter is returned.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_PRM_DSC_0: "The condition to check. A NOT_SET Boolean is considered false.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_PRM_DSC_1: "The collection value to return if the condition is true.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_PRM_DSC_2: "The collection value to return if the condition is false or a NOT_SET Boolean.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_0: 'A currency collection with one item. The Currency item has an amount of 10.00 and code of "USD".', AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_1: "The collection with the Boolean value true.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_2: 'The String collection with the "hello" string in it.', AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_3: "The Integer collection with the value 100 in it.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_4: "The Integer collection with the value 100.5 in it.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_5: "A DateTime collection with the DateTime value of May 5th, 2009 at 10:30:00 AM in Coordinated Universal Time (UTC).", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_6: "The Duration collection with the Duration of 1 hour.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_7: 'A User collection with the User whose username is "john.doe@company.com".', AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_8: "A Skill collection with the Skill of Spanish.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_9: "A Skill collection with one NOT_SET Skill in it.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_10: "The Date collection with one Date item whose value is June 1st, 2010.", AR_FN_ANY_COLL_LOGICALIF_BLN_ANY_COLL_ANY_COLL_EX_OUT_11: "The Time collection with one Time item whose value is 12:00:00PM.", AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_DSC: "Evaluates the Boolean passed in the condition parameter and if the result is true, the value of the trueValueAudio is returned. Otherwise the value of falseValueAudio is returned. Only the trueValueAudio or falseValueAudio parameter will be evaluated based on the result the condition parameter. The type of data passed in to trueValueAudio and falseValueAudio parameters must be the same.", AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_RV: "If value in the condition parameter evaluates to true, the Audio value in the trueValueAudio parameter is returned. If the value of the condition evaluates to false or a NOT_SET Boolean, the value of the falseValueAudio parameter is returned.", AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_PRM_DSC_0: "The condition to check. A NOT_SET Boolean is considered false.", AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_PRM_DSC_1: "The Audio value to return if the condition is true.", AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_PRM_DSC_2: "The Audio value to return if the condition is false or a NOT_SET Boolean.", AR_FN_AUDIO_LOGICALIF_BLN_AUDIO_AUDIO_EX_OUT_0: 'Audio for the string "Hello" spoken via. text to speech.', AR_FN_DSC_AREEQUAL: "Checks whether all of the arguments are equal.", AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_DSC: "Returns a Boolean saying whether all of the arguments are equal.", AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_RV: "Returns true if all instances of valueToCompare are equal to the valueToCompareTo value, otherwise false.", AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_PRM_DSC_0: "The value to check.", AR_FN_BLN_AREEQUAL_ANY_ANY_MORE_PRM_DSC_1: "This value will be compared to the value in the valueToCompare parameter.", AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_DSC: "Checks to see if two collections are equal or not. To be considered equal, the collections must have the same number of items and each item in one collection must be equal to the corresponding element in the other collection.", AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_RV: "Returns a boolean indicating if the two collections are equal or not.", AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_PRM_DSC_0: "This collection will be compared to the collection in valueToCompareTo.", AR_FN_BLN_AREEQUAL_ANY_COLL_ANY_COLL_PRM_DSC_1: "The collection to check against.", AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_DSC: "Returns a Boolean indicating if two or more String values are equal.", AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_RV: "Returns true if value in valueToCompare is equal to the valueToCompareTo value, otherwise false.", AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_PRM_DSC_0: "Whether or not to perform a case sensitive or case insensitive comparison of the strings.", AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_PRM_DSC_1: "This value will be compared to the value in the valueToCompareTo parameter.", AR_FN_BLN_AREEQUAL_BLN_STR_STR_MORE_PRM_DSC_2: "The value to check against.", AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_DSC: "Checks to see if two String collections are equal or not. To be considered equal, the collections must have the same number of items and each item in one collection must be equal to the corresponding element in the other collection.", AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_RV: "Returns a boolean indicating if the two collections are equal or not.", AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_PRM_DSC_0: "Whether or not to perform case sensitive or case insensitive comparisons of items in the collections.", AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_PRM_DSC_1: "This collection will be compared to the collection in valueToCompareTo.", AR_FN_BLN_AREEQUAL_BLN_STR_COLL_STR_COLL_PRM_DSC_2: "The collection to check against.", AR_FN_DSC_ISSKILLEXPRESSIONFILTERVALID: "Determines whether a Skill Expression Filter is valid by checking if its normalized text has at least one character.", AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_DSC: "Returns true if the supplied skill expression filter's normalized text has at least one character. Returns false if the skill expression filter is NOT_SET or if the normalized text is empty or NOT_SET.", AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_RV: "Returns true if the skill expression filter's normalized text has at least one character. Returns false if the skill expression filter is NOT_SET or if the normalized text is empty or NOT_SET.", AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_PRM_DSC_0: "The Skill Expression Filter to validate.", AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_EX_OUT_0: "Returns true if the normalized text has at least one character.", AR_FN_BLN_ISSKILLEXPRESSIONFILTERVALID_SKILLEXPRESSIONFILTER_EX_OUT_1: "Returns false because the skill expression filter is NOT_SET.", AR_FN_DSC_ARESKILLEXPRESSIONFILTERSVALID: "Determines the validity of a Skill Expression Filter collection.", AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_DSC: "Determines the validity of a Skill Expression Filter collection. Returns true if all Skill Expression Filters in the collection are valid. Returns false if the collection is empty or if any Skill Expression Filter in the collection is invalid.", AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_RV: "Returns true if all Skill Expression Filters in the collection are valid. Returns false if the collection is empty or if any Skill Expression Filter in the collection is invalid.", AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_PRM_DSC_0: "The Skill Expression Filter collection to validate.", AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_EX_OUT_0: "Returns true if all Skill Expression Filters in the collection are valid.", AR_FN_BLN_ARESKILLEXPRESSIONFILTERSVALID_SKILLEXPRESSIONFILTER_COLL_EX_OUT_1: "Returns false because the collection is empty.", AR_FN_DSC_ISSET: "Determines whether or not a value is set by testing to see if it is not equal to NOT_SET.", AR_FN_BLN_ISSET_ANY_DSC: "Determines whether or not the supplied value is NOT_SET.", AR_FN_BLN_ISSET_ANY_RV: "Returns a Boolean true if the value passed in is NOT_SET.", AR_FN_BLN_ISSET_ANY_PRM_DSC_0: "The value to test to see if it is set or not.", AR_FN_BLN_ISSET_AUDIO_DSC: "Determines whether or not the supplied Audio value is NOT_SET.", AR_FN_BLN_ISSET_AUDIO_RV: "Returns a Boolean true if the Audio value passed in is NOT_SET.", AR_FN_BLN_ISSET_AUDIO_PRM_DSC_0: "The Audio value to test to see if it is set or not.", AR_FN_BLN_ISSET_NTS_DSC: "Returns a boolean false.", AR_FN_BLN_ISSET_NTS_RV: "Returns a Boolean false.", AR_FN_BLN_ISSET_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_DSC_GETAT: "Gets an item at a specified index in a collection.", AR_FN_ANY_GETAT_ANY_COLL_LNG_DSC: "Gets an item at a specified index in a collection.", AR_FN_ANY_GETAT_ANY_COLL_LNG_RV: "Returns the item at the specified index in the collection.", AR_FN_ANY_GETAT_ANY_COLL_LNG_PRM_DSC_0: "The collection from which to get an item.", AR_FN_ANY_GETAT_ANY_COLL_LNG_PRM_DSC_1: "The zero-based index of the item to get from the collection.", AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_4: 'A Currency value with a NOT_SET amount and code of "USD"', AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_5: "The DateTime of May 5th, 2009 at 10:30:00 AM in Coordinated Universal Time (UTC).", AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_6: "The duration of 10 days and 30 minutes.", AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_7: "The Spanish Skill", AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_8: 'The User with the username of "john.doe@company.com"', AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_9: "A NOT_SET Skill.", AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_10: "The Date whose value is January 10th, 2015.", AR_FN_ANY_GETAT_ANY_COLL_LNG_EX_OUT_11: "The Time whose value is 02:15:00PM.", AR_FN_JSON_GETAT_JSON_LNG_DSC: "For a given JSON value, if the value contains an array this returns an item from the array or if the value contains a string, this returns a character at the supplied index.", AR_FN_JSON_GETAT_JSON_LNG_RV: "Returns the item from the supplied JSON array or character from the supplied JSON string value as a JSON value.", AR_FN_JSON_GETAT_JSON_LNG_PRM_DSC_0: "The JSON value that contains an array with the item to return or string value whose character you want to return. If the supplied JSON value does not contain an array or string, this will invoke error handling. Remember the IsJsonArray or IsJsonString functions can be used to check if a JSON value contains an array or string.", AR_FN_JSON_GETAT_JSON_LNG_PRM_DSC_1: "The zero-based index of the item in the JSON value array or character position in the JSON value string to return. Attempting to access an array item or string character using a negative index or an index that is greater than or equal to the number of items in the array or length of the string will invoke error handling.", AR_FN_JSON_GETAT_JSON_LNG_EX_OUT_0: 'A JSON String containing the value "b"', AR_FN_JSON_GETAT_JSON_LNG_EX_OUT_1: 'A JSON value containing the string "l".', AR_FN_DSC_COUNT: "Gets the number of items in a collection.", AR_FN_LNG_COUNT_ANY_COLL_DSC: "Gets the number of items in a collection.", AR_FN_LNG_COUNT_ANY_COLL_RV: "Returns the number of items in a collection.", AR_FN_LNG_COUNT_ANY_COLL_PRM_DSC_0: "The Boolean collection to count.", AR_FN_LNG_COUNT_JSON_DSC: "Counts the number of items within a JSON value that contains an array.", AR_FN_LNG_COUNT_JSON_RV: "Returns the number of items in the JSON array.", AR_FN_LNG_COUNT_JSON_PRM_DSC_0: "The JSON value with the array to count. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_DSC_ESCAPEFORMARKDOWN: "Escapes text for verbatim usage in Markdown.", AR_FN_STR_ESCAPEFORMARKDOWN_STR_DSC: 'Certain characters have special meaning in Markdown syntax. For example, using the "#" character indicates text following the "#" should be rendered as a heading. In order to see characters verbatim so they are not interpreted as formatting characters, they need to be escaped with a backslash. This function escapes "\\", "`", "*", "_", "{", "}", "[", "]", "(", ")" and "#" characters by pre-pending them with a "\\" from the supplied String value.', AR_FN_STR_ESCAPEFORMARKDOWN_STR_RV: "Returns the escaped String.", AR_FN_STR_ESCAPEFORMARKDOWN_STR_PRM_DSC_0: "The String to escape for Markdown.", AR_FN_STR_ESCAPEFORMARKDOWN_STR_EX_OUT_2: "A NOT_SET String.", AR_FN_DSC_ESCAPEFORXML: "Escapes text for verbatim usage in XML.", AR_FN_STR_ESCAPEFORXML_STR_DSC: `Certain characters have special meaning in XML. For example, < and > are used to define tags in XML but if you want to need to use those characters verbatim so they are not interpreted as XML, they need to be escaped. This function escapes the " character to ", ' to ', < to <, > to > and & to &.`, AR_FN_STR_ESCAPEFORXML_STR_RV: "Returns the escaped String.", AR_FN_STR_ESCAPEFORXML_STR_PRM_DSC_0: "The String to escape for XML.", AR_FN_STR_ESCAPEFORXML_STR_EX_OUT_2: "A NOT_SET String.", AR_FN_DSC_FIND: "Finds all occurrences of an item in a collection and returns an Integer collection of indices where that item was found. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_DSC: "Finds all occurrences of an item in a collection and returns an Integer collection of indices where that item was found.", AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_RV: "Returns the index of all occurrences of an item in a collection in an Integer collection. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_PRM_DSC_0: "The Collection you want to search.", AR_FN_LNG_COLL_FIND_ANY_COLL_ANY_PRM_DSC_1: "The value to find.", AR_FN_DSC_FINDFIRST: "Finds the first occurrence of an item in a collection and returns an Integer indicating the index where that item was found. If the item is not found, -1 will be returned.", AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_DSC: "Finds the first occurrence of an item in a collection and returns an Integer indicating the index where that item was found.", AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_RV: "Returns the index of the first occurrence of an item in a collection as an Integer. If the item is not found, -1 is returned.", AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_PRM_DSC_0: "The Collection you want to search.", AR_FN_LNG_FINDFIRST_ANY_COLL_ANY_PRM_DSC_1: "The value to find.", AR_FN_DSC_FINDITEMS: "Finds all occurrences of a knowledge base document labels in a knowledge base document label collection by label name and returns an Integer collection of indices where the items were found. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_DSC: "Finds all occurrences of a knowledge base document labels in a knowledge base document label collection by label name and returns an Integer collection of indices where the items were found.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_RV: "Returns the index of all occurrences of a knowledge base document labels in a collection in an Integer collection. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_0: "The knowledge base document label collection.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_1: "The knowledge base document label name to find.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_EX_OUT_1: 'Returns the indices of the label "Welcome Article" as an array of Integers, if it can be found within Flow.KnowledgeBaseDocument.labels. If the supplied label is not found, this returns an empty Integer array.', AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_DSC: "Finds all occurrences of a knowledge base document labels in a knowledge base document label collection and returns an Integer indicating the index where the items were found.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_RV: "Returns the index of all occurrences of a knowledge base document labels in a collection in an Integer collection. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_PRM_DSC_0: "The knowledge base document label collection.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_PRM_DSC_1: "The name of the knowledge base document label property to match on.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_PRM_DSC_2: "The value of the knowledge base document label property to match on.", AR_FN_LNG_COLL_FINDITEMS_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_STR_EX_OUT_1: 'Returns the indices of the label "Welcome Article" as an array of Integers, if labels with that name can be found within Flow.KnowledgeBaseDocument.labels. If the supplied label is not found, this returns an empty Integer array.', AR_FN_DSC_FINDFIRSTITEM: "Finds the first occurrence of an item in a collection and returns an Integer indicating the index where the item was found. If the item is not found, -1 will be returned.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_DSC: "Finds the first occurrence of a knowledge base document label in a knowledge base document label collection by label name and returns an Integer indicating the index where that item was found.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_RV: "Returns the index of the first occurrence of a knowledge base document labels in a collection as an Integer. If the item is not found, -1 is returned.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_0: "The knowledge base document label collection.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_PRM_DSC_1: "The knowledge base document label name to find.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENTLABEL_COLL_STR_EX_OUT_1: 'Returns the first index of the label "Welcome Article" as an integer, if it can be found within Flow.KnowledgeBaseDocument.labels. If the supplied label is not found, this returns -1.', AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_DSC: "Finds the first occurrence of a knowledge base document label in a knowledge base document label collection and returns an Integer indicating the index where that item was found.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_RV: "Returns the index of the first occurrence of a knowledge base document labels in a collection as an Integer. If the item is not found, -1 is returned.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_0: "The knowledge base document label collection.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_1: "The name of the knowledge base document label property to match on.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_2: "The value of the knowledge base document label property to match on.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_EX_OUT_1: 'Returns the first index of the label "Welcome Article" as an integer, if a label with that name can be found within Flow.KnowledgeBaseDocument.labels. If the supplied label is not found, this returns -1.', AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_DSC: "Finds the first occurrence of a customer segment in an assigned customer segment collection by customer segment name and returns an Integer indicating the index where that item was found.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_RV: "Returns the index of the first occurrence of an assigned customer segment in a collection as an Integer. If the item is not found, -1 is returned.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_PRM_DSC_0: "The assigned customer segment collection to search.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_PRM_DSC_1: "The customer segment name to find.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_EX_OUT_1: 'Returns the first index of the segment with name "Gold Tier" as an integer, if it can be found within the assigned customer segment collection. If the supplied segment is not found, this returns -1.', AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_DSC: "Finds the first occurrence of a customer segment in an assigned customer segment collection by property name and value and returns an Integer indicating the index where that item was found.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_RV: "Returns the index of the first occurrence of an assigned customer segment in a collection as an Integer. If the item is not found, -1 is returned.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_0: "The assigned customer segment collection to search.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_1: "The name of the assigned customer segment property to match on.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_2: "The value of the assigned customer segment property to match on.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_EX_OUT_1: "Returns the first index of the assigned customer segment where the specified property matches the given value. If no match is found, this returns -1.", AR_FN_DSC_FINDJSONARRAYITEM: "Finds all occurrences of an item in a JSON value that contains an array and returns an Integer collection of indices where that item was found. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_DSC: "Finds all occurrences of an item in a JSON array and returns an Integer collection of indices where that item was found.", AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_RV: "Returns the index of all occurrences of an item in a JSON array in an Integer collection. If the item is not found, an empty Integer collection is returned.", AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_PRM_DSC_0: "The source JSON value that contains a JSON array for the find operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_LNG_COLL_FINDJSONARRAYITEM_JSON_ANY_PRM_DSC_1: "The value to find.", AR_FN_DSC_FINDJSONARRAYITEMFIRST: "Finds the first occurrence of an item in a JSON value that contains an array and returns an Integer indicating the index where that item was found. If the item is not found, -1 will be returned.", AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_DSC: "Finds the first occurrence of an item in a JSON array and returns an Integer indicating the index where that item was found.", AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_RV: "Returns the index of the first occurrence of an item in a JSON array as an Integer. If the item is not found, -1 is returned.", AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_PRM_DSC_0: "The source JSON value that contains a JSON array for the find operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_LNG_FINDJSONARRAYITEMFIRST_JSON_ANY_PRM_DSC_1: "The value to find.", AR_FN_DSC_MAKELIST: "Creates a collection with the specified parameters.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_DSC: "Creates a collection with the specified items.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_RV: "Returns a collection with the specified elements.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_PRM_DSC_0: "Item to add to the collection.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_0: "A Currency collection with two currency items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_1: "A DateTime collection with two date times in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_2: "A Decimal collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_3: "A Duration collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_4: "An Integer collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_5: "A String collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_6: "A Boolean collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_7: "A User collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_8: "A Skill collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_9: "A Skill collection with two items in it.", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_10: "A ListPickerItem collection with two items in it", AR_FN_ANY_COLL_MAKELIST_ANY_MORE_EX_OUT_11: "A ListPickerSection collection with one items in it", AR_FN_DSC_MAKEEMPTYLIST: "Creates an empty collection based on the type value passed in.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_DSC: "Creates an empty collection with the type specified in the item parameter.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_RV: "Returns an empty collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_PRM_DSC_0: "The item whose type will determine the type of the empty collection returned.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_0: "An empty Currency collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_1: "An empty DateTime collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_2: "An empty Decimal collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_3: "An empty Duration collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_4: "An empty Integer collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_5: "An empty String collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_6: "An empty Boolean collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_7: "An empty User collection.", AR_FN_ANY_COLL_MAKEEMPTYLIST_ANY_MORE_EX_OUT_8: "An empty Skill collection.", AR_FN_DSC_ADDITEM: "Adds an item to a collection.", AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_DSC: "Adds a new item value to the end of a collection.", AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_RV: "Returns a new collection value whose contents is the supplied source collection plus the valueToAdd value appended to the end.", AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_PRM_DSC_0: "The source collection for the add operation.", AR_FN_ANY_COLL_ADDITEM_ANY_COLL_ANY_PRM_DSC_1: "The value to add to the returned collection. This must be the same data type as the source collection.", AR_FN_DSC_ADDJSONARRAYITEM: "Adds an item to a collection.", AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_DSC: "Creates a new JSON value that contains an array with items cloned from the supplied JSON value array with the value to add item value appended to the resulting array. The supplied JSON array is left unchanged.", AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_RV: "Returns a JSON value with the item added to the array.", AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_PRM_DSC_0: "The JSON value that contains an array for the add operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_PRM_DSC_1: "The value to add to the array contained in the returned JSON value.", AR_FN_JSON_ADDJSONARRAYITEM_JSON_ANY_EX_OUT_0: 'A JSON value containing the following array: [ "a", 2, "c", "d" ]', AR_FN_DSC_ADDITEMAT: "Adds a new item value to a collection at a specific index.", AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_DSC: "Adds a new item to a collection by inserting it at a specified index.", AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_RV: "Returns a new collection value whose contents is the supplied source collection contents with the valueToAdd value inserted at the specified index.", AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_0: "The source collection for the add operation.", AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_1: "The zero-based index where the valueToAdd value will be inserted in the returned collection. To insert at the beginning of the returned collection, use an index value of 0. An index value less than or equal to the source collection length will append the valueToAdd item value in the returned collection.", AR_FN_ANY_COLL_ADDITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_2: "The value to add to the returned collection. This must be the same data type as the source collection.", AR_FN_DSC_ADDJSONARRAYITEMAT: "Adds a new item to an array contained in a JSON value at a specific index in that array.", AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_DSC: "Creates a new JSON value that contains an array with items cloned from the supplied JSON value array with the value to add inserted at the specified index. The supplied JSON array is left unchanged.", AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_RV: "Returns a JSON value that contains an array with the item added at the specified index.", AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_0: "The JSON value with an array for the addJsonArrayItemAt operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_1: "The zero-based index where the valueToAdd value will be inserted in the returned Array. To insert at the beginning of the returned Array, use an index value of 0. An index value mediumr than or equal to the source collection length will append the valueToAdd item value to the returned array.", AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_2: "The value to add to the returned JSON array.", AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_0: 'A JSON value with an array that contains the values: [ 0, 1, 2, "Hello" ]', AR_FN_JSON_ADDJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_1: 'A JSON value with an array that contains the values: [ "Goodbye", "Hello" ]', AR_FN_DSC_REMOVEDUPS: "Removes duplicate values from a collection.", AR_FN_ANY_COLL_REMOVEDUPS_ANY_COLL_DSC: "Removes all duplicate values from the supplied source collection and returns the resulting collection value. To determine if a collection item is a duplicate of another, this function uses the equals operator when comparing the two collection items. Duplicate values that follow the first occurrence of a value are removed from the collection.", AR_FN_ANY_COLL_REMOVEDUPS_ANY_COLL_RV: "Returns a new collection value with duplicate collection items removed.", AR_FN_ANY_COLL_REMOVEDUPS_ANY_COLL_PRM_DSC_0: "The source collection for the duplicate removal operation.", AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_DSC: "Removes all duplicate String values from the source collection and returns the resulting collection value. This function has an option to perform case insensitive String value checking. Duplicate String values that follow the first occurrence of a String value are removed from the collection.", AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_RV: "Returns a new collection value with duplicate String items removed.", AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_PRM_DSC_0: "The source collection for the duplicate removal operation.", AR_FN_STR_COLL_REMOVEDUPS_STR_COLL_BLN_PRM_DSC_1: "Whether or not to perform case insensitive (true) or case sensitive (false) String matching to determine duplicates for String values in the source collection.", AR_FN_DSC_REMOVEJSONARRAYDUPS: "Returns a JSON value that contains an array with duplicate values removed from a supplied JSON value that contains an array.", AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_DSC: "Creates a new JSON value that contains an array with unique items cloned from the supplied JSON value array. The supplied JSON array is left unchanged.", AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_RV: "Returns a new JSON value that contains an array by cloning only unique values in the array in the supplied JSON value.", AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_PRM_DSC_0: "The source JSON value that contains an array for the duplicate removal operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_REMOVEJSONARRAYDUPS_JSON_EX_OUT_0: 'A JSON value that contains an array with items [ 100, 150, false, { "a": 5 } ]', AR_FN_DSC_REMOVEITEM: "Removes one or more items from a collection by value.", AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_DSC: "Removes all occurrences of a value from a collection and returns the resulting collection value.", AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_RV: "Returns a new collection value whose contents is the supplied source collection value without source collection items that were equal to the valueToRemove value.", AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_PRM_DSC_0: "The source collection for the remove operation.", AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_PRM_DSC_1: "The value to remove from the collection. This must be the same data type as the source collection.", AR_FN_ANY_COLL_REMOVEITEM_ANY_COLL_ANY_EX_OUT_4: "An empty Integer collection.", AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_DSC: "Removes all occurrences of a String value from a String collection and returns the resulting String collection value.", AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_RV: "Returns a new String collection value whose contents is the supplied source collection value without source collection String items whose value was equal to the valueToRemove value.", AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_PRM_DSC_0: "The source String collection for the remove operation.", AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_PRM_DSC_1: "The String value to remove from the collection.", AR_FN_STR_COLL_REMOVEITEM_STR_COLL_STR_BLN_PRM_DSC_2: "Whether or not to perform case insensitive (true) or case sensitive (false) matching for String values in the source collection.", AR_FN_DSC_REMOVEJSONARRAYITEM: "Removes one or more items from a JSON value that contains an array.", AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_DSC: "Removes all occurrences of a value in a JSON array and returns a new JSON value with resulting JSON array. The supplied JSON array is left unchanged.", AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_RV: "Returns a new JSON value that contains a JSON array without items that are equal to the supplied valueToRemove value.", AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_PRM_DSC_0: "The source JSON value that contains an array for the remove operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_PRM_DSC_1: "The value to remove from the JSON array.", AR_FN_JSON_REMOVEJSONARRAYITEM_JSON_ANY_EX_OUT_0: 'A JSON value that contains an array of [ "There" ].', AR_FN_DSC_REMOVEITEMAT: "Removes an item from a collection at a specific index.", AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_DSC: "Removes an item from a collection by its index and returns the resulting collection value.", AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_RV: "Returns a new collection value whose contents is the supplied source collection items without the item at the specified index.", AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_PRM_DSC_0: "The source collection for the remove operation.", AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_PRM_DSC_1: "The zero-based index of the item to remove from the collection.", AR_FN_ANY_COLL_REMOVEITEMAT_ANY_COLL_LNG_EX_OUT_0: "An empty String collection.", AR_FN_DSC_REMOVEJSONARRAYITEMAT: "Removes an item from an array in a JSON value at a specific index.", AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_DSC: "Removes a value at a specified index in a JSON array and returns a new JSON value with resulting JSON array. The supplied JSON array is left unchanged.", AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_RV: "Returns a new JSON value that contains a JSON array without the item at the supplied array's index.", AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_PRM_DSC_0: "The source JSON value that contains an array for the remove operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_PRM_DSC_1: "The zero-based index of the item to remove from the JSON array. If the index is less than 0 or greater than or equal to the number of items in the array, this will invoke error handling.", AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_EX_OUT_0: "A JSON value that contains an array with items [ 100, false ].", AR_FN_JSON_REMOVEJSONARRAYITEMAT_JSON_LNG_EX_OUT_1: "A JSON value that contains an array with the item [ false ].", AR_FN_DSC_REPLACEITEM: "Replaces one or more items in a collection with a new value.", AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_DSC: "Replaces all occurrences of a value in a collection with a new value and returns the resulting collection value.", AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_RV: "Returns a new collection value whose contents is the supplied source collection value with all collection items equal to valueToReplace replaced with the newValue value.", AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_PRM_DSC_0: "The source collection for the replace operation.", AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_PRM_DSC_1: "The item value to replace in the collection. This must be the same data type as the source collection.", AR_FN_ANY_COLL_REPLACEITEM_ANY_COLL_ANY_ANY_PRM_DSC_2: "The replacement item value. This must be the same data type as the source collection.", AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_DSC: "Replaces all occurrences of a String value in a collection with a new String value and returns the resulting String collection value.", AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_RV: "Returns a new String collection value whose contents is the supplied source collection value with all String collection items equal to valueToReplace replaced with the newValue String value.", AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_0: "The source String collection for the replace operation.", AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_1: "The item String value to replace in the collection.", AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_2: "The replacement item String value.", AR_FN_STR_COLL_REPLACEITEM_STR_COLL_STR_STR_BLN_PRM_DSC_3: "Whether or not to perform case insensitive (true) or case sensitive (false) matching for String values in the source collection.", AR_FN_DSC_REPLACEJSONARRAYITEM: "Replaces one or more items from a JSON value that contains an array.", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_DSC: "Replaces all occurrences of a value in a JSON array with a new value and returns a new JSON value with resulting JSON array. The supplied JSON array is left unchanged.", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_RV: "Returns a new JSON value that contains an array with replaced values.", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_PRM_DSC_0: "The source JSON value that contains a JSON array for the replace operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_PRM_DSC_1: "The item value to replace in the returned array.", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_PRM_DSC_2: "The replacement item value.", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_EX_OUT_0: 'A JSON value that contains the array [ "Goodbye" ]', AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_EX_OUT_1: "A JSON value that contains the array [0, 2, 4, 6, 8]", AR_FN_JSON_REPLACEJSONARRAYITEM_JSON_ANY_ANY_EX_OUT_2: "A JSON value that contains the array [0, null, 100]", AR_FN_DSC_REPLACEITEMAT: "Replaces an item in a collection at a specific index.", AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_DSC: "Replaces the collection item at a specified index with a new value and returns the resulting collection value.", AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_RV: "Returns a new collection value whose contents is the supplied source collection value with the item at the specified index set to the value of newValue.", AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_0: "The source collection for the replace operation.", AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_1: "The zero-based index of the item to replace in the collection. If the index is less than 0 or greater than or equal to the number of items in the JSON array, this will invoke error handling.", AR_FN_ANY_COLL_REPLACEITEMAT_ANY_COLL_LNG_ANY_PRM_DSC_2: "The replacement value. This must be the same data type as the source collection.", AR_FN_DSC_REPLACEJSONARRAYITEMAT: "Replaces one or more items from a JSON value that contains an array.", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_DSC: "Replaces an item in a JSON array at a specified index with a new value and returns a new JSON value with resulting JSON array. The supplied JSON array is left unchanged.", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_RV: "Returns a new JSON value that contains an array with the replaced value.", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_0: "The source JSON value that contains an array for the replace operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_1: "The zero-based index of the item to replace in the JSON array. If the index is less than 0 or greater than or equal to the number of items in the array, this will invoke error handling.", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_PRM_DSC_2: "The replacement item value.", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_0: 'A JSON value that contains the array [ "Goodbye" ]', AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_1: "A JSON value that contains the array [0, 2, false, 5, 8]", AR_FN_JSON_REPLACEJSONARRAYITEMAT_JSON_LNG_ANY_EX_OUT_2: "A JSON value that contains the array [0, null, 100]", AR_FN_DSC_REPLACEITEMFIRST: "Replaces the first occurrence of a value in a collection with a new value and returns the resulting collection value.", AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_DSC: "Replaces the first matching occurrence of a value in a collection with a new value and returns the resulting collection value.", AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_RV: "Returns a new collection value whose contents is the supplied source collection with the first item whose value equals valueToReplace replaced with the value of newValue.", AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_PRM_DSC_0: "The source collection for the replace operation.", AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_PRM_DSC_1: "The value to replace in the collection. This must be the same data type as the source collection.", AR_FN_ANY_COLL_REPLACEITEMFIRST_ANY_COLL_ANY_ANY_PRM_DSC_2: "The replacement value. This must be the same data type as the source collection.", AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_DSC: "Replaces the first matching occurrence of a String value in a collection with a new String value and returns the resulting collection value.", AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_RV: "Returns a new collection value whose contents is the supplied source collection with the first item whose value equals valueToReplace replaced with the value of newValue.", AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_0: "The source String collection for the replace operation.", AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_1: "The String value to replace in the collection.", AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_2: "The replacement String value.", AR_FN_STR_COLL_REPLACEITEMFIRST_STR_COLL_STR_STR_BLN_PRM_DSC_3: "Whether or not to perform case insensitive (true) or case sensitive (false) matching for String values in the source collection.", AR_FN_DSC_REPLACEJSONARRAYITEMFIRST: "Replaces an array item from a JSON value that contains an array with a new value.", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_DSC: "Replaces the first occurrence of a value in a JSON array with a new value and returns a new JSON value with resulting JSON array. The supplied JSON array is left unchanged.", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_RV: "Returns a new JSON value that contains the resulting JSON array.", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_PRM_DSC_0: "The source JSON value that contains an array for the replace operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_PRM_DSC_1: "The item value to replace in the returned array.", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_PRM_DSC_2: "The replacement item value.", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_EX_OUT_0: 'A JSON value that contains the array [ "Goodbye" ]', AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_EX_OUT_1: "A JSON value that contains the array [0, 2, 4, 6, 8, 5, 4, false]", AR_FN_JSON_REPLACEJSONARRAYITEMFIRST_JSON_ANY_ANY_EX_OUT_2: 'A JSON value that contains the array [0, null, { \\"a\\": true, \\"b\\": false }, 100]', AR_FN_DSC_TOBOOL: "Converts a value to a Boolean.", AR_FN_BLN_TOBOOL_DEC_DSC: "Converts a Decimal value to a Boolean.", AR_FN_BLN_TOBOOL_DEC_RV: "Returns true if the value in valueToConvert is not equal to 0.0, false if the value in valueToConvert is equal to 0.0 and a NOT_SET boolean if valueToConvert is NOT_SET.", AR_FN_BLN_TOBOOL_DEC_PRM_DSC_0: "The Decimal to convert to a Boolean.", AR_FN_BLN_TOBOOL_DEC_EX_OUT_3: "A NOT_SET Boolean", AR_FN_BLN_TOBOOL_STR_DSC: "Converts a String value to a Boolean.", AR_FN_BLN_TOBOOL_STR_RV: `Returns true if the value in valueToConvert is a case insensitive match to "True", "1" or "T". Returns false if the value in valueToConvert is a case insensitive match to "False", "0" or "F". If the value in valueToConvert is NOT_SET or doesn't match the true or false valid values, a NOT_SET Boolean is returned.`, AR_FN_BLN_TOBOOL_STR_PRM_DSC_0: 'The String to convert to a Boolean. Valid String values are "True", "1", "T", "False", "0", "F" and NOT_SET.', AR_FN_BLN_TOBOOL_STR_EX_OUT_9: "A NOT_SET Boolean", AR_FN_BLN_TOBOOL_STR_BLN_DSC: "Converts a String value to a Boolean value with default fallback in case the String value cannot be converted to a Boolean.", AR_FN_BLN_TOBOOL_STR_BLN_RV: "Returns the converted Boolean value.", AR_FN_BLN_TOBOOL_STR_BLN_PRM_DSC_0: "The String to convert to a Boolean. If the value in valueToConvert is a NOT_SET String, a NOT_SET Boolean is returned. If the string value cannot be converted to a Boolean value, the Boolean value supplied in the default parameter will be returned instead of invoking error handling.", AR_FN_BLN_TOBOOL_STR_BLN_PRM_DSC_1: "The default Boolean value to return instead of invoking error handling if the supplied String value cannot be converted to a Boolean.", AR_FN_BLN_TOBOOL_LNG_DSC: "Converts an Integer value to a Boolean.", AR_FN_BLN_TOBOOL_LNG_RV: "Returns true if the value in valueToConvert is not equal to 0, false if the value in valueToConvert is equal to 0 and a NOT_SET boolean if the value in valueToConvert is NOT_SET.", AR_FN_BLN_TOBOOL_LNG_PRM_DSC_0: "The Integer to convert to a Boolean.", AR_FN_BLN_TOBOOL_LNG_EX_OUT_3: "A NOT_SET Boolean", AR_FN_BLN_TOBOOL_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Boolean.", AR_FN_BLN_TOBOOL_NTS_RV: "Returns a NOT_SET Boolean.", AR_FN_BLN_TOBOOL_NTS_PRM_DSC_0: "The value NOT_SET to convert to a Boolean.", AR_FN_BLN_TOBOOL_NTS_EX_OUT_0: "A NOT_SET Boolean", AR_FN_BLN_TOBOOL_BLN_DSC: "Returns a Boolean value from the supplied Boolean value.", AR_FN_BLN_TOBOOL_BLN_RV: "Returns the supplied Boolean.", AR_FN_BLN_TOBOOL_BLN_PRM_DSC_0: "The Boolean value to return.", AR_FN_BLN_TOBOOL_JSON_DSC: "Converts a JSON value to a Boolean value.", AR_FN_BLN_TOBOOL_JSON_RV: "Returns a Boolean value for the supplied JSON value.", AR_FN_BLN_TOBOOL_JSON_PRM_DSC_0: 'The JSON value to convert to Boolean. If the JSON value contains a number, the result will be true if the number is not equal to 0, otherwise false. If the JSON value contains a boolean, the result will be the boolean value. If the JSON value contains a string, the result will be true if the string value case insensitively matches "True", "T" or "1" and false if it case insensitively matches "False", "F" or "0". If the JSON value contains null, a NOT_SET Boolean is returned. Otherwise if the JSON value contains an object or an array, error handling will be invoked.', AR_FN_BLN_TOBOOL_JSON_EX_OUT_4: "A NOT_SET Boolean.", AR_FN_BLN_TOBOOL_JSON_EX_OUT_5: "A NOT_SET Boolean.", AR_FN_BLN_TOBOOL_JSON_BLN_DSC: "Converts a JSON value to a Boolean value with default fallback in case the JSON value cannot be converted to a Boolean.", AR_FN_BLN_TOBOOL_JSON_BLN_RV: "Returns a Boolean value for the supplied JSON value.", AR_FN_BLN_TOBOOL_JSON_BLN_PRM_DSC_0: 'The JSON value to convert to a Boolean. If the JSON value contains a number, the result will be true if the number is not equal to 0, otherwise false. If the JSON value contains a boolean, the result will be the boolean value. If the JSON value contains a string, the result will be true if the string value case insensitively matches "True", "T" or "1" and false if it case insensitively matches "False", "F" or "0". If the JSON value contains null, a NOT_SET Boolean is returned. Otherwise if the JSON value contains an object or an array or cannot be converted to a Boolean, the default parameter Boolean value is returned.', AR_FN_BLN_TOBOOL_JSON_BLN_PRM_DSC_1: "The default Boolean value to return instead of invoking error handling if the supplied JSON value cannot be converted to a Boolean.", AR_FN_DSC_TODIGITALAUDIO: "Converts a value to a Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_DSC: "Returns a Digital Audio from the supplied Digital Audio value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_RV: "Returns the supplied Digital Audio value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_PRM_DSC_0: "The Digital Audio to return.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_DIGITALAUDIO_EX_OUT_0: "A NOT_SET Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_RV: "Returns a NOT_SET Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_PRM_DSC_0: "The NOT_SET value to convert to a Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_NTS_EX_OUT_0: "A NOT_SET Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DSC: "Returns a Digital Audio from the supplied Response Asset value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_RV: "Returns the Digital Audio value for the supplied Response Asset value if it can be converted, otherwise a NOT_SET Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_PRM_DSC_0: "The Response Asset to convert to a Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_EX_OUT_0: "A Digital Audio value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_EX_OUT_1: "A NOT_SET Digital Audio value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_DSC: "Converts a Response Asset value to a Digital Audio value with default fallback in case the Response Asset value cannot be converted to a Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_RV: "Returns the Digital Audio value for the supplied Response Asset value if it can be converted. If the Response Asset value is NOT_SET, a NOT_SET Digital Audio is returned instead of the default value. Otherwise the supplied default Digital Audio value is returned.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_PRM_DSC_0: "The Response Asset to convert to a DigitalAudio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_PRM_DSC_1: "The default Digital Audio value to return instead of invoking error handling if the supplied Response Asset cannot be converted to a Digital Audio.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_EX_OUT_0: "A Digital Audio value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_EX_OUT_1: "A NOT_SET Digital Audio value.", AR_FN_DIGITALAUDIO_TODIGITALAUDIO_RESPONSEASSET_DIGITALAUDIO_EX_OUT_2: "The default Digital Audio value.", AR_FN_DSC_TODIGITALAUDIOCOLLECTION: "Converts a collection to a Digital Audio Collection.", AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_DSC: "This converts a Response Asset collection to a Digital Audio collection by converting each item in the Response Asset collection to a Digital Audio item.", AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_RV: "The returned Digital Audio collection will have the same number of items as the supplied Response Asset Collection. Response Asset items that cannot be converted to a Digital Audio value will be NOT_SET in the returned collection.", AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0: "The Response Asset collection to convert to a Digital Audio collection.", AR_FN_DIGITALAUDIO_COLL_TODIGITALAUDIOCOLLECTION_RESPONSEASSET_COLL_EX_OUT_0: "A Digital Audio collection with two items.", AR_FN_DSC_TODISPLAYSTRING: "Converts a value to a localized String.", AR_FN_STR_TODISPLAYSTRING_ANY_DSC: "Converts a value to a localized String.", AR_FN_STR_TODISPLAYSTRING_ANY_RV: "Returns a localized String for the value submitted in valueToConvert.", AR_FN_STR_TODISPLAYSTRING_ANY_PRM_DSC_0: "The value to convert to a String. Any NOT_SET value submitted will result in a NOT_SET String being returned.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_DSC: "Converts a collection to a localized String. The method calls ToDisplayString on each element in the collection and appends the returned value for each item to the result string. Collection items are delimited with a newline in the returned string.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_RV: "Returns a localized String for the collection submitted in valueToConvert.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_PRM_DSC_0: "The collection to convert to a String.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_DSC: "Converts a collection to a localized String. The method calls ToDisplayString on each element in the collection and appends the returned value for each item to the result string. Items in the returned string are delimited with the value specified in the delimiter parameter.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_RV: "Returns a localized String for the collection.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_PRM_DSC_0: "The collection to convert to a String.", AR_FN_STR_TODISPLAYSTRING_ANY_COLL_STR_PRM_DSC_1: "The delimiter to use between items in the returned string. If the delimiter is a NOT_SET string, a newline will be used for the delimiter.", AR_FN_STR_TODISPLAYSTRING_CUR_LNG_DSC: "Converts a Currency value to a localized String.", AR_FN_STR_TODISPLAYSTRING_CUR_LNG_RV: "Returns a string representation of the Currency value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TODISPLAYSTRING_CUR_LNG_PRM_DSC_0: "The Currency to convert to a String.", AR_FN_STR_TODISPLAYSTRING_CUR_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_DSC: "Converts a Currency collection to a localized String. The method calls ToDisplayString on each Currency in the collection and appends the returned value for each item to the result string. Collection items are delimited with a newline in the returned string.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_RV: "Returns a string representation of the Currency value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_PRM_DSC_0: "The Currency collection to convert to a String.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_DSC: "Converts a Currency collection to a localized String. The method calls ToDisplayString on each Currency in the collection and appends the returned value for each item to the result string. Items in the returned string are delimited with the value specified in the delimiter parameter.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_RV: "Returns a string representation of the Currency value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_PRM_DSC_0: "The Currency to convert to a String.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_PRM_DSC_1: "The delimiter to use between items in the returned string. If the delimiter is a NOT_SET string, a newline will be used.", AR_FN_STR_TODISPLAYSTRING_CUR_COLL_STR_LNG_PRM_DSC_2: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TODISPLAYSTRING_DEC_LNG_DSC: "Converts a Decimal value to a localized String.", AR_FN_STR_TODISPLAYSTRING_DEC_LNG_RV: "Returns a string representation of the Decimal value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TODISPLAYSTRING_DEC_LNG_PRM_DSC_0: "The Decimal to convert to a String.", AR_FN_STR_TODISPLAYSTRING_DEC_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TODISPLAY_DEC_COLL_LNG_DSC: "Converts a Decimal collection to a localized String. The method calls ToDisplayString on each Decimal in the collection and appends the returned value for each item to the result string. Collection items are delimited with a newline in the returned string.", AR_FN_STR_TODISPLAY_DEC_COLL_LNG_RV: "Returns a localized String for the collection.", AR_FN_STR_TODISPLAY_DEC_COLL_LNG_PRM_DSC_0: "The Decimal collection to convert to a String.", AR_FN_STR_TODISPLAY_DEC_COLL_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point for each decimal in the collection. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_DSC: "Converts a Decimal collection to a localized String. The method calls ToDisplayString on each Decimal in the collection and appends the returned value for each item to the result string. Items in the returned string are delimited with the value specified in the delimiter parameter.", AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_RV: "Returns a localized String for the collection.", AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_PRM_DSC_0: "The Decimal collection to convert to a String.", AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_PRM_DSC_1: "The delimiter to use between items in the returned string. If the delimiter is a NOT_SET string, a newline will be used.", AR_FN_STR_TODISPLAYSTRING_DEC_COLL_STR_LNG_PRM_DSC_2: "The number of decimal places to emit after the decimal point for each decimal in the collection. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TODISPLAYSTRING_NTS_DSC: "Creates a NOT_SET string.", AR_FN_STR_TODISPLAYSTRING_NTS_RV: "Returns a NOT_SET String.", AR_FN_STR_TODISPLAYSTRING_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_STR_TODISPLAYSTRING_NTS_EX_OUT_0: "A NOT_SET String", AR_FN_DSC_TOSTRING: "Converts a value to a non-localized String.", AR_FN_STR_TOSTRING_ANY_DSC: "Converts a value to a non-localized String.", AR_FN_STR_TOSTRING_ANY_RV: "Returns a non-localized String for the value submitted in valueToConvert.", AR_FN_STR_TOSTRING_ANY_PRM_DSC_0: "The value to convert to a String.", AR_FN_STR_TOSTRING_ANY_EX_OUT_4: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_5: '"10.00|USD" ( currency values return two decimal places if the amount is set )', AR_FN_STR_TOSTRING_ANY_EX_OUT_7: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_10: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_13: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_16: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_18: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_19: "Returns the username property from the supplied User value or a NOT_SET String if the User value itself is NOT_SET.", AR_FN_STR_TOSTRING_ANY_EX_OUT_20: '"Call back in a week" - This is the name on the Wrapup Code.', AR_FN_STR_TOSTRING_ANY_EX_OUT_21: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_22: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_23: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_EX_OUT_24: '"tel:+1 (317) 872-3000" ( the Phone Number uri property )', AR_FN_STR_TOSTRING_ANY_EX_OUT_25: "Returns the uri property from the supplied Phone Number value. If the Phone Number value is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_ANY_EX_OUT_26: "Returns the name property from the supplied Skill value. If the Skill value is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_ANY_EX_OUT_27: "Returns the username property from the supplied User value. If the User value is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_ANY_EX_OUT_28: "Returns the name property from the supplied Wrapup Code value. If the Wrapup Code value is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_ANY_EX_OUT_29: "Returns the String value of the Call.ContactId variable.", AR_FN_STR_TOSTRING_ANY_EX_OUT_30: "Returns the id property value from the supplied Email value.", AR_FN_STR_TOSTRING_ANY_EX_OUT_31: "Returns the id property value from the supplied Email Address value.", AR_FN_STR_TOSTRING_ANY_EX_OUT_32: "Returns the id property value from the supplied Email Attachment value.", AR_FN_STR_TOSTRING_ANY_EX_OUT_33: "Returns the id property value from the supplied External Organization value or a NOT_SET String if the External Organization value itself is NOT_SET.", AR_FN_STR_TOSTRING_ANY_EX_OUT_34: "Returns the id property value from the supplied External Contact value or a NOT_SET String if the External Contact value itself is NOT_SET.", AR_FN_STR_TOSTRING_ANY_EX_OUT_35: 'Returns a String generated from non blank properties in the External Address such as "100 Main St., Chicago, IL, 60447, USA", "Los Angeles, CA" or a NOT_SET String if the External Address value itself is NOT_SET.', AR_FN_STR_TOSTRING_ANY_EX_OUT_36: "Returns the display property from the supplied External PhoneNumber value or a NOT_SET String if the External PhoneNumber itself is NOT_SET.", AR_FN_STR_TOSTRING_ANY_EX_OUT_37: '"Welcome" - This returns the name property from the supplied Prompt value. If a Prompt value is NOT_SET, a NOT_SET String is returned.', AR_FN_STR_TOSTRING_ANY_EX_OUT_42: "Returns the id property of the supplied Workitem.", AR_FN_STR_TOSTRING_ANY_EX_OUT_49: "Returns the name property from the supplied Utilization Label. If Utilization Label value is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_ANY_EX_OUT_50: "Returns the name property from the supplied Worktype Status. If the Worktype Status value is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_ANY_EX_OUT_51: "Returns the title property of the supplied TimePicker value", AR_FN_STR_TOSTRING_NTS_DSC: "Creates a NOT_SET string.", AR_FN_STR_TOSTRING_NTS_RV: "Returns a NOT_SET String.", AR_FN_STR_TOSTRING_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_STR_TOSTRING_NTS_EX_OUT_0: "A NOT_SET String", AR_FN_STR_TOSTRING_ANY_COLL_DSC: "Converts a collection to a non-localized String. The method calls ToString on each element in the collection and appends the returned value for each item to the result string. Collection items are delimited with a newline in the returned string.", AR_FN_STR_TOSTRING_ANY_COLL_RV: "Returns a non-localized String for the collection submitted in valueToConvert.", AR_FN_STR_TOSTRING_ANY_COLL_PRM_DSC_0: "The collection to convert to a String.", AR_FN_STR_TOSTRING_ANY_COLL_STR_DSC: "Converts a collection to a non-localized String. The method calls ToString on each element in the collection and appends the returned value for each item to the result string. Items in the returned string are delimited with the value specified in the delimiter parameter.", AR_FN_STR_TOSTRING_ANY_COLL_STR_RV: "Returns a non-localized String for the collection.", AR_FN_STR_TOSTRING_ANY_COLL_STR_PRM_DSC_0: "The collection to convert to a String.", AR_FN_STR_TOSTRING_ANY_COLL_STR_PRM_DSC_1: "The delimiter to use between items in the returned string. If the delimiter is a NOT_SET string, a newline will be used for the delimiter.", AR_FN_STR_TOSTRING_DEC_LNG_DSC: "Converts a Decimal value to a non-localized String.", AR_FN_STR_TOSTRING_DEC_LNG_RV: "Returns a string representation of the Decimal value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_DEC_LNG_PRM_DSC_0: "The Decimal to convert to a String.", AR_FN_STR_TOSTRING_DEC_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TOSTRING_DEC_LNG_EX_OUT_3: "A NOT_SET String", AR_FN_STR_TOSTRING_CUR_LNG_DSC: "Converts a Currency value to a non-localized String.", AR_FN_STR_TOSTRING_CUR_LNG_RV: "Returns a string representation of the Currency value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_CUR_LNG_PRM_DSC_0: "The Currency to convert to a String.", AR_FN_STR_TOSTRING_CUR_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TOSTRING_DEC_COLL_LNG_DSC: "Converts a Decimal collection to a non-localized String. The method calls ToString on each element in the collection and appends the returned value for each item to the result string. Collection items are delimited with a newline in the returned string.", AR_FN_STR_TOSTRING_DEC_COLL_LNG_RV: "Returns a non-localized String for the collection.", AR_FN_STR_TOSTRING_DEC_COLL_LNG_PRM_DSC_0: "The Decimal collection to convert to a String.", AR_FN_STR_TOSTRING_DEC_COLL_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point for each decimal in the collection. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TOSTRING_CUR_COLL_LNG_DSC: "Converts a Currency collection to a non-localized String.", AR_FN_STR_TOSTRING_CUR_COLL_LNG_RV: "Returns a string representation of the Currency value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_CUR_COLL_LNG_PRM_DSC_0: "The Currency collection to convert to a String.", AR_FN_STR_TOSTRING_CUR_COLL_LNG_PRM_DSC_1: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_DSC: "Converts a Decimal collection to a non-localized String. The method calls ToString on each element in the collection and appends the returned value for each item to the result string. Collection items are delimited with a newline in the returned string.", AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_RV: "Returns a non-localized String for the collection.", AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_PRM_DSC_0: "The Decimal collection to convert to a String.", AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_PRM_DSC_1: "The delimiter to use between items in the returned string. If the delimiter is a NOT_SET string, a newline will be used.", AR_FN_STR_TOSTRING_DEC_COLL_STR_LNG_PRM_DSC_2: "The number of decimal places to emit after the decimal point for each decimal in the collection. Values will be rounded to the number of decimal places specified.", AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_DSC: "Converts a Currency collection to a non-localized String.", AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_RV: "Returns a string representation of the Currency value in valueToConvert. If the value in valueToConvert is NOT_SET, a NOT_SET String is returned.", AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_PRM_DSC_0: "The Currency to convert to a String.", AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_PRM_DSC_1: "The delimiter to use between items in the returned string. If the delimiter is a NOT_SET string, a newline will be used.", AR_FN_STR_TOSTRING_CUR_COLL_STR_LNG_PRM_DSC_2: "The number of decimal places to emit after the decimal point. Values will be rounded to the number of decimal places specified.", AR_FN_DSC_TOINT: "Converts a value to an Integer type.", AR_FN_LNG_TOINT_BLN_DSC: "Converts a Boolean to an Integer. True returns 1. False returns 0.", AR_FN_LNG_TOINT_BLN_RV: "Returns 1 if the value in valueToConvert is true, 0 if the value in valueToConvert is false and a NOT_SET Integer if the value in valueToConvert is a NOT_SET Boolean.", AR_FN_LNG_TOINT_BLN_PRM_DSC_0: "The Boolean to convert to an Integer.", AR_FN_LNG_TOINT_BLN_EX_OUT_2: "A NOT_SET Integer", AR_FN_LNG_TOINT_DEC_DSC: "Converts a Decimal to an Integer.", AR_FN_LNG_TOINT_DEC_RV: "Returns the integer part of the Decimal supplied in the valueToConvert parameter. If the value in valueToConvert is a NOT_SET Decimal, a NOT_SET Integer is returned.", AR_FN_LNG_TOINT_DEC_PRM_DSC_0: "The Decimal to convert to an Integer.", AR_FN_LNG_TOINT_DEC_EX_OUT_5: "A NOT_SET Integer", AR_FN_LNG_TOINT_STR_DSC: "Converts a String value to an Integer.", AR_FN_LNG_TOINT_STR_RV: "Returns the string supplied in the valueToConvert parameter as an Integer. If the value in valueToConvert is a NOT_SET String, a NOT_SET Integer is returned.", AR_FN_LNG_TOINT_STR_PRM_DSC_0: "The String to convert to an Integer.", AR_FN_LNG_TOINT_STR_EX_OUT_3: "A NOT_SET Integer", AR_FN_LNG_TOINT_STR_EX_OUT_4: "A NOT_SET Integer", AR_FN_LNG_TOINT_STR_EX_OUT_5: "A NOT_SET Integer", AR_FN_LNG_TOINT_STR_EX_OUT_6: "This would result in an error at runtime.", AR_FN_LNG_TOINT_STR_LNG_DSC: "Converts a String value to an Integer value with default fallback in case the String value cannot be converted to an Integer.", AR_FN_LNG_TOINT_STR_LNG_RV: "Returns the converted Integer value.", AR_FN_LNG_TOINT_STR_LNG_PRM_DSC_0: "The String to convert to an Integer. If the value in valueToConvert is a NOT_SET String, a NOT_SET Integer is returned. If the string value cannot be converted to an Integer value, the Integer value supplied in the default parameter will be returned instead of invoking error handling.", AR_FN_LNG_TOINT_STR_LNG_PRM_DSC_1: "The default Integer value to return instead of invoking error handling if the supplied String value cannot be converted to an Integer.", AR_FN_LNG_TOINT_STR_LNG_EX_OUT_3: "A NOT_SET Integer.", AR_FN_LNG_TOINT_STR_LNG_EX_OUT_4: "A NOT_SET Integer.", AR_FN_LNG_TOINT_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Integer.", AR_FN_LNG_TOINT_NTS_RV: "Returns a NOT_SET Integer.", AR_FN_LNG_TOINT_NTS_PRM_DSC_0: "The NOT_SET value to convert to an Integer.", AR_FN_LNG_TOINT_NTS_EX_OUT_0: "A NOT_SET Integer", AR_FN_LNG_TOINT_LNG_DSC: "Returns an Integer value from the supplied Integer value.", AR_FN_LNG_TOINT_LNG_RV: "Returns the supplied Integer value.", AR_FN_LNG_TOINT_LNG_PRM_DSC_0: "The Integer value to return.", AR_FN_LNG_TOINT_DUR_DSC: "Converts a Duration to an Integer. Returns an Integer value equal to the Duration in milliseconds", AR_FN_LNG_TOINT_DUR_RV: "Returns an Integer value equal to the length of the Duration in milliseconds. Returns a NOT_SET Integer if the value in valueToConvert is a NOT_SET Duration.", AR_FN_LNG_TOINT_DUR_PRM_DSC_0: "The Duration to convert to an Integer.", AR_FN_LNG_TOINT_DUR_EX_OUT_3: "A NOT_SET Integer", AR_FN_LNG_TOINT_JSON_DSC: "Converts a JSON value to an Integer value.", AR_FN_LNG_TOINT_JSON_RV: "Returns an Integer value for the supplied JSON value.", AR_FN_LNG_TOINT_JSON_PRM_DSC_0: "The JSON value to convert to an Integer. If the JSON value contains a number, the result will be an Integer with the integral part of the number. If the JSON value contains a boolean, the result will be 1 if true, otherwise 0. If the JSON value contains a string, the runtime will attempt to convert the string value to an Integer using the same rules as the ToInt implementation that takes a String value. If the JSON value contains null, a NOT_SET Integer is returned. Otherwise if the JSON value contains an object or an array, error handling will be invoked.", AR_FN_LNG_TOINT_JSON_EX_OUT_4: "A NOT_SET Integer.", AR_FN_LNG_TOINT_JSON_EX_OUT_5: "A NOT_SET Integer.", AR_FN_LNG_TOINT_JSON_LNG_DSC: "Converts a JSON value to an Integer value with default fallback in case the JSON value cannot be converted to an Integer.", AR_FN_LNG_TOINT_JSON_LNG_RV: "Returns an Integer value for the supplied JSON value.", AR_FN_LNG_TOINT_JSON_LNG_PRM_DSC_0: "The JSON value to convert to an Integer. If the JSON value contains a number, the result will be an Integer with the integral part of the number. If the JSON value contains a boolean, the result will be 1 if true, otherwise 0. If the JSON value contains a string, the runtime will attempt to convert the string value to an Integer using the same rules as the ToInt implementation that takes a String value. If the JSON value contains null, a NOT_SET Integer is returned. Otherwise if the JSON value contains an object or an array, or the value cannot be converted to an Integer, the default parameter Integer value is returned.", AR_FN_LNG_TOINT_JSON_LNG_PRM_DSC_1: "The default Integer value to return instead of invoking error handling if the supplied JSON value cannot be converted to an Integer.", AR_FN_LNG_TOINT_JSON_LNG_EX_OUT_4: "A NOT_SET Integer.", AR_FN_DSC_TODECIMAL: "Converts a value to a Decimal.", AR_FN_DEC_TODECIMAL_BLN_DSC: "Converts a Boolean to an Decimal.", AR_FN_DEC_TODECIMAL_BLN_RV: "Returns 1.0 for the Boolean value true and 0.0 for the Boolean value False. A NOT_SET Decimal is returned if the value in valueToConvert is a NOT_SET Boolean.", AR_FN_DEC_TODECIMAL_BLN_PRM_DSC_0: "The Boolean to convert to a Decimal.", AR_FN_DEC_TODECIMAL_BLN_EX_OUT_2: "A NOT_SET Decimal", AR_FN_DEC_TODECIMAL_CUR_DSC: "Converts a Currency value to an Decimal type via. the amount in the supplied Currency value.", AR_FN_DEC_TODECIMAL_CUR_RV: "Returns a Decimal value contained on the Currency value.", AR_FN_DEC_TODECIMAL_CUR_PRM_DSC_0: "The Currency value that contains the amount to return.", AR_FN_DEC_TODECIMAL_CUR_EX_OUT_2: "A NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_STR_DSC: "Converts a String value to an Decimal type.", AR_FN_DEC_TODECIMAL_STR_RV: "Returns a Decimal value from a string.", AR_FN_DEC_TODECIMAL_STR_PRM_DSC_0: "The String value to convert to a Decimal.", AR_FN_DEC_TODECIMAL_STR_EX_OUT_2: "A NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_STR_EX_OUT_3: "A NOT_SET Decimal", AR_FN_DEC_TODECIMAL_STR_EX_OUT_4: "A NOT_SET Decimal", AR_FN_DEC_TODECIMAL_STR_EX_OUT_5: "This would result in an error at runtime.", AR_FN_DEC_TODECIMAL_STR_DEC_DSC: "Converts a String value to a Decimal value with default fallback in case the String value cannot be converted to a Decimal.", AR_FN_DEC_TODECIMAL_STR_DEC_RV: "Returns the converted Decimal value.", AR_FN_DEC_TODECIMAL_STR_DEC_PRM_DSC_0: "The String to convert to a Decimal. If the value in valueToConvert is a NOT_SET String, a NOT_SET Decimal is returned. If the string value cannot be converted to a Decimal value, the Decimal value supplied in the default parameter will be returned instead of invoking error handling.", AR_FN_DEC_TODECIMAL_STR_DEC_PRM_DSC_1: "The default Decimal value to return instead of invoking error handling if the supplied String value cannot be converted to a Decimal.", AR_FN_DEC_TODECIMAL_STR_DEC_EX_OUT_2: "A NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_STR_DEC_EX_OUT_3: "A NOT_SET Decimal", AR_FN_DEC_TODECIMAL_LNG_DSC: "Converts an integer value to an Decimal type.", AR_FN_DEC_TODECIMAL_LNG_RV: "Returns a Decimal value for the supplied Integer value.", AR_FN_DEC_TODECIMAL_LNG_PRM_DSC_0: "The Integer value to convert to a Decimal.", AR_FN_DEC_TODECIMAL_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_NTS_RV: "Returns a NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_NTS_EX_OUT_0: "A NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_DEC_DSC: "Returns a Decimal value from the supplied Decimal value.", AR_FN_DEC_TODECIMAL_DEC_RV: "Returns the supplied Decimal value.", AR_FN_DEC_TODECIMAL_DEC_PRM_DSC_0: "The Decimal value to return.", AR_FN_DEC_TODECIMAL_JSON_DSC: "Converts a JSON value to a Decimal value.", AR_FN_DEC_TODECIMAL_JSON_RV: "Returns an Decimal value for the supplied JSON value.", AR_FN_DEC_TODECIMAL_JSON_PRM_DSC_0: "The JSON value convert to an Decimal. If the JSON value contains a number, the result will be a Decimal containing that value assuming the value does not exceed the minimum or maximum Decimal value supported by Architect. If the JSON value contains a boolean, the result will be 1.0 if true, otherwise 0.0. If the JSON value contains a string, the runtime will attempt to convert the string value to a Decimal using the same rules as the ToDecimal implementation that takes a String value. If the JSON value contains null, a NOT_SET Decimal is returned. Otherwise if the JSON value contains an object or an array, error handling will be invoked.", AR_FN_DEC_TODECIMAL_JSON_EX_OUT_3: "A NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_JSON_EX_OUT_4: "A NOT_SET Decimal.", AR_FN_DEC_TODECIMAL_JSON_DEC_DSC: "Converts a JSON value to a Decimal value with default fallback in case the JSON value cannot be converted to a Decimal.", AR_FN_DEC_TODECIMAL_JSON_DEC_RV: "Returns a Decimal value for the supplied JSON value.", AR_FN_DEC_TODECIMAL_JSON_DEC_PRM_DSC_0: "The JSON value to convert to a Decimal. If the JSON value contains a number, the result will be a Decimal with the integral part of the number. If the JSON value contains a boolean, the result will be 1 if true, otherwise 0. If the JSON value contains a string, the runtime will attempt to convert the string value to a Decimal using the same rules as the ToDecimal implementation that takes a String value. If the JSON value contains null, a NOT_SET Decimal is returned. Otherwise if the JSON value contains an object or an array, or the value cannot be converted to a Decimal, the default parameter Decimal value is returned.", AR_FN_DEC_TODECIMAL_JSON_DEC_PRM_DSC_1: "The default Integer value to return instead of invoking error handling if the supplied JSON value cannot be converted to a Decimal.", AR_FN_DEC_TODECIMAL_JSON_DEC_EX_OUT_2: "A NOT_SET Decimal.", AR_FN_DSC_TODATE: "Converts a value to a Date.", AR_FN_DATE_TODATE_STR_DSC: "Converts a String value to a Date type.", AR_FN_DATE_TODATE_STR_RV: "Returns a Date from a supplied string.", AR_FN_DATE_TODATE_STR_PRM_DSC_0: "The String value to convert to a Date. The String must be in the following format: YYYY-MM-DD where YYYY = 4 digit year, MM = 2 digit month and DD = 2 digit day.", AR_FN_DATE_TODATE_STR_EX_OUT_0: "A Date of January 10th, 2009.", AR_FN_DATE_TODATE_STR_EX_OUT_1: "A NOT_SET Date.", AR_FN_DATE_TODATE_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Date.", AR_FN_DATE_TODATE_NTS_RV: "Returns a NOT_SET Date.", AR_FN_DATE_TODATE_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Date.", AR_FN_DATE_TODATE_NTS_EX_OUT_0: "A NOT_SET Date.", AR_FN_DATE_TODATE_DTM_DSC: "Returns a Date value from the supplied DateTime value.", AR_FN_DATE_TODATE_DTM_RV: "Returns the date portion of supplied DateTime value as a Date value.", AR_FN_DATE_TODATE_DTM_PRM_DSC_0: "The DateTime value from which to get the Date to return. If a NOT_SET DateTime value is supplied, this will return a NOT_SET Date.", AR_FN_DATE_TODATE_DTM_EX_OUT_0: "A Date whose value is September 22nd, 2012.", AR_FN_DATE_TODATE_DTM_EX_OUT_1: "A NOT_SET Date.", AR_FN_DATE_TODATE_DATE_DSC: "Returns a Date value from the supplied Date value.", AR_FN_DATE_TODATE_DATE_RV: "Returns the supplied Date value.", AR_FN_DATE_TODATE_DATE_PRM_DSC_0: "The Date value to return.", AR_FN_DATE_TODATE_DATE_EX_OUT_0: "A Date whose value is January 1st, 2003.", AR_FN_DATE_TODATE_DATE_EX_OUT_1: "A NOT_SET Date.", AR_FN_DSC_TODATETIME: "Converts a value to a DateTime.", AR_FN_DTM_TODATETIME_STR_DSC: "Converts a String value to a DateTime type.", AR_FN_DTM_TODATETIME_STR_RV: "Returns a DateTime from a supplied string. Note: The returned DateTime value will be in Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_PRM_DSC_0: 'The String value to convert to a DateTime. The String must be in the following format: YYYY-MM-DDThh:mm:ss.SSS[Z|(+|-)hh:mm] where YYYY = 4 digit year, MM = 2 digit month, DD = 2 digit day, hh = 2 digit hour, mm = 2 digit minute, ss = 2 digit second and SSS = 3 digit fractional seconds. When specifying fractional seconds, if you specify more than 3 digits, they are ignored. "T" is a separator indicating where the time portion starts. [Z|(+|-)hh:mm] represents the offset of the date time from Coordinated Universal Time where "Z" indicates Coordinated Universal Time (UTC) itself. If "[+|-]hh:mm" is used instead of "Z" that specifies an offset from UTC. If the date portion is omitted in the supplied String value, "1970-01-01" is used. If the date portion of the String has "YYYY-MM" but no day of month, "01" is used for the day of month. If the date portion of the String has "YYYY" but no month or day of month, "01-01" is used for month and day of month. If no time portion is supplied, "00:00:00" is used. If the time portion of the String has "hh:mm" but no seconds specified, "00" is used for the seconds. Note that a time only String value with an offset such as "13:30:07+05:00" is not allowed and will invoke flow error handling.', AR_FN_DTM_TODATETIME_STR_EX_OUT_0: "A DateTime of January 10th, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_1: "A DateTime of January 10th, 2009 at 01:30:00 PM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_2: "A DateTime of January 10th, 2009 at 04:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_3: "A NOT_SET DateTime.", AR_FN_DTM_TODATETIME_STR_EX_OUT_4: "A DateTime of January 1st, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_5: "A DateTime of March 20th, 2010 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_6: "A DateTime of March 1st, 2011 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_7: "A DateTime of January 1st, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_8: "A DateTime of January 1st, 2012 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_9: "A DateTime of January 1st, 1970 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_10: "A DateTime of January 1st, 1970 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_11: "A DateTime of January 1st, 1970 at 06:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_12: "A DateTime of January 1st, 1970 at 06:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_13: "A DateTime of March 20th, 2009 at 12:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_14: "A DateTime of March 1st, 2009 at 12:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_STR_EX_OUT_15: "A DateTime of January 1st, 2009 at 12:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_LNG_DSC: "Converts an Integer value to a DateTime", AR_FN_DTM_TODATETIME_LNG_RV: "Returns the supplied Integer value as a DateTime.", AR_FN_DTM_TODATETIME_LNG_PRM_DSC_0: "This converts the parameter value to a number of seconds to add to the DateTime January 1, 1970 at 12:00:00 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_TODATETIME_LNG_EX_OUT_0: "A DateTime of January 1st, 1970 at 01:00:00 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_TODATETIME_LNG_EX_OUT_1: "A NOT_SET DateTime.", AR_FN_DTM_TODATETIME_NTS_DSC: "Converts a NOT_SET value to a NOT_SET DateTime.", AR_FN_DTM_TODATETIME_NTS_RV: "Returns a NOT_SET DateTime.", AR_FN_DTM_TODATETIME_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET DateTime.", AR_FN_DTM_TODATETIME_NTS_EX_OUT_0: "A NOT_SET DateTime.", AR_FN_DTM_TODATETIME_DTM_DSC: "Returns a DateTime value from the supplied DateTime value.", AR_FN_DTM_TODATETIME_DTM_RV: "Returns the supplied DateTime value.", AR_FN_DTM_TODATETIME_DTM_PRM_DSC_0: "The DateTime value to return.", AR_FN_DTM_TODATETIME_DTM_EX_OUT_0: "A DateTime of January 1st, 2003 at 12:00:00 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_TODATETIME_JSON_DSC: "Converts a JSON value to a DateTime type.", AR_FN_DTM_TODATETIME_JSON_RV: "Returns a DateTime from a supplied JSON Value.", AR_FN_DTM_TODATETIME_JSON_PRM_DSC_0: 'The JSON value to convert to a DateTime. If the JSON value contains a number, the resulting DateTime will be the value of that number of seconds to the DateTime January 1, 1970 at 12:00:00 AM in Coordinated Universal Time (UTC) up to three decimal places to support milliseconds. If the JSON value contains a string, the runtime will attempt to convert the string value to a DateTime using the same rules as the ToDateTime implementation that takes a String value. If the JSON value contains null, a NOT_SET DateTime is returned. Otherwise if the JSON value contains an object, an array or the value cannot be converted, error handling will be invoked. For String values, the String must be in the following format: YYYY-MM-DDThh:mm:ss.SSS[Z|(+|-)hh:mm] where YYYY = 4 digit year, MM = 2 digit month, DD = 2 digit day, hh = 2 digit hour, mm = 2 digit minute, ss = 2 digit second and SSS = 3 digit fractional seconds. When specifying fractional seconds, if you specify more than 3 digits, they are ignored. "T" is a separator indicating where the time portion starts. [Z|(+|-)hh:mm] represents the offset of the date time from Coordinated Universal Time where "Z" indicates Coordinated Universal Time (UTC) itself. If "[+|-]hh:mm" is used instead of "Z" that specifies an offset from UTC. If the date portion is omitted in the supplied String value, "1970-01-01" is used. If the date portion of the String has "YYYY-MM" but no day of month, "01" is used for the day of month. If the date portion of the String has "YYYY" but no month or day of month, "01-01" is used for month and day of month. If no time portion is supplied, "00:00:00" is used. If the time portion of the String has "hh:mm" but no seconds specified, "00" is used for the seconds. Note that a time only String value with an offset such as "13:30:07+05:00" is not allowed and will invoke flow error handling.', AR_FN_DTM_TODATETIME_JSON_EX_OUT_0: "A DateTime of January 1st, 1970 at 01:00:00 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_TODATETIME_JSON_EX_OUT_1: "A DateTime of January 1st, 1970 at 01:00:00.025 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_TODATETIME_JSON_EX_OUT_2: "A DateTime of January 10th, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_3: "A DateTime of January 10th, 2009 at 04:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_4: "A DateTime of January 1st, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_5: "A DateTime of March 20th, 2010 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_6: "A DateTime of March 1st, 2011 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_7: "A DateTime of January 1st, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_8: "A DateTime of January 1st, 2012 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_9: "A DateTime of January 1st, 1970 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_10: "A DateTime of January 1st, 1970 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_11: "A DateTime of January 1st, 1970 at 06:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_12: "A DateTime of January 1st, 1970 at 06:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_13: "A DateTime of March 20th, 2009 at 12:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_14: "A DateTime of March 1st, 2009 at 12:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_15: "A DateTime of January 1st, 2009 at 12:00:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_16: "A NOT_SET DateTime.", AR_FN_DTM_TODATETIME_JSON_EX_OUT_17: "A NOT_SET DateTime.", AR_FN_DTM_TODATETIME_JSON_DTM_DSC: "Converts a JSON value to a Datetime value with default fallback in case the JSON value cannot be converted to a DateTime.", AR_FN_DTM_TODATETIME_JSON_DTM_RV: "Returns a DateTime from a supplied JSON Value.", AR_FN_DTM_TODATETIME_JSON_DTM_PRM_DSC_0: 'The JSON value to convert to a DateTime. If the JSON value contains a number, the resulting DateTime will be the value of that number of seconds to add to the DateTime January 1, 1970 at 12:00:00 AM in Coordinated Universal Time (UTC) up to three decimal places to support milliseconds. If the JSON value contains a string, the runtime will attempt to convert the string value to a DateTime using the same rules as the ToDateTime implementation that takes a String value. If the JSON value contains null, a NOT_SET DateTime is returned. Otherwise if the JSON value contains an object, an array or the value cannot be converted, the value supplied in the default parameter will be returned. For String values, the String must be in the following format: YYYY-MM-DDThh:mm:ss.SSS[Z|(+|-)hh:mm] where YYYY = 4 digit year, MM = 2 digit month, DD = 2 digit day, hh = 2 digit hour, mm = 2 digit minute, ss = 2 digit second and SSS = 3 digit fractional seconds. When specifying fractional seconds, if you specify more than 3 digits, they are ignored. "T" is a separator indicating where the time portion starts. [Z|(+|-)hh:mm] represents the offset of the date time from Coordinated Universal Time where "Z" indicates Coordinated Universal Time (UTC) itself. If "[+|-]hh:mm" is used instead of "Z" that specifies an offset from UTC. If the date portion is omitted in the supplied String value, "1970-01-01" is used. If the date portion of the String has "YYYY-MM" but no day of month, "01" is used for the day of month. If the date portion of the String has "YYYY" but no month or day of month, "01-01" is used for month and day of month. If no time portion is supplied, "00:00:00" is used. If the time portion of the String has "hh:mm" but no seconds specified, "00" is used for the seconds. Note that a time only String value with an offset such as "13:30:07+05:00" is not allowed and will return the default value supplied in the default parameter.', AR_FN_DTM_TODATETIME_JSON_DTM_PRM_DSC_1: "The default DateTime value to return instead of invoking error handling if the supplied JSON value cannot be converted to a DateTime.", AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_0: "A DateTime of January 1st, 1970 at 01:00:00.075 AM in Coordinated Universal Time (UTC).", AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_1: "A DateTime of January 10th, 2009 at 06:30:00 AM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_2: "A DateTime of April 20th, 2019 at 12:00:00PM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_3: "A DateTime of February 20th, 2011 at 12:00:00PM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_4: "A DateTime of March 15th, 2009 at 12:00:00PM Coordinated Universal Time.", AR_FN_DTM_TODATETIME_JSON_DTM_EX_OUT_5: "A NOT_SET DateTime.", AR_FN_DSC_TOTIME: "Converts a value to a Time.", AR_FN_TIME_TOTIME_STR_DSC: "Converts a String value to a Time type.", AR_FN_TIME_TOTIME_STR_RV: "Returns a Time from a supplied string.", AR_FN_TIME_TOTIME_STR_PRM_DSC_0: "The String value to convert to a Time. The String must be in the following format: hh:mm:ss.SSS where hh = 2 digit hour, mm = 2 digit minute, ss = 2 digit second and SSS = 3 digit fractional seconds. When specifying fractional seconds, if you specify more than 3 digits, they are ignored.", AR_FN_TIME_TOTIME_STR_EX_OUT_0: "A Time whose value is 02:30:15AM.", AR_FN_TIME_TOTIME_STR_EX_OUT_1: "A NOT_SET Time.", AR_FN_TIME_TOTIME_STR_EX_OUT_2: "A Time whose value is 02:30:00AM.", AR_FN_TIME_TOTIME_STR_EX_OUT_3: "A Time whose value is 02:59:00PM.", AR_FN_TIME_TOTIME_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Time.", AR_FN_TIME_TOTIME_NTS_RV: "Returns a NOT_SET Time.", AR_FN_TIME_TOTIME_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Time.", AR_FN_TIME_TOTIME_NTS_EX_OUT_0: "A NOT_SET Time.", AR_FN_TIME_TOTIME_TIME_DSC: "Returns a Time value from the supplied Time value.", AR_FN_TIME_TOTIME_TIME_RV: "Returns the supplied Time value.", AR_FN_TIME_TOTIME_TIME_PRM_DSC_0: "The Time value to return.", AR_FN_TIME_TOTIME_TIME_EX_OUT_0: "A Time whose value is 02:45:00AM.", AR_FN_TIME_TOTIME_TIME_EX_OUT_1: "A NOT_SET Time.", AR_FN_TIME_TOTIME_DTM_DSC: "Returns a Time value from the supplied DateTime value by returning the time portion of the DateTime.", AR_FN_TIME_TOTIME_DTM_RV: "Returns the time portion of supplied DateTime value as a Time value.", AR_FN_TIME_TOTIME_DTM_PRM_DSC_0: "The DateTime value from which to get the Time to return. If a NOT_SET DateTime value is supplied, this will return a NOT_SET Time.", AR_FN_TIME_TOTIME_DTM_EX_OUT_0: "A Time whose value is 03:05:00AM.", AR_FN_TIME_TOTIME_DTM_EX_OUT_1: "A NOT_SET Time.", AR_FN_DSC_TODIVISION: "Converts a value to a Division", AR_FN_DIVISION_TODIVISION_DIVISION_DSC: "Returns a Division value from the supplied Division value.", AR_FN_DIVISION_TODIVISION_DIVISION_RV: "Returns the supplied Division value.", AR_FN_DIVISION_TODIVISION_DIVISION_PRM_DSC_0: "The Division to return.", AR_FN_DIVISION_TODIVISION_DIVISION_EX_OUT_0: "A NOT_SET Division.", AR_FN_DIVISION_TODIVISION_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Division.", AR_FN_DIVISION_TODIVISION_NTS_RV: "Returns a NOT_SET Division.", AR_FN_DIVISION_TODIVISION_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Division.", AR_FN_DIVISION_TODIVISION_NTS_EX_OUT_0: "A NOT_SET Division", AR_FN_DSC_TODURATION: "Converts a value to a Duration.", AR_FN_DUR_TODURATION_STR_DSC: "Converts a String value to a Duration.", AR_FN_DUR_TODURATION_STR_RV: "Returns a Duration value created from the supplied String.", AR_FN_DUR_TODURATION_STR_PRM_DSC_0: 'An XSD duration string in the following format (-)PnDTnHnMnS where P indicates the period, nD the number of days, T indicates the start of the time section, nH the number of hours, nM the number of minutes and nS the number of seconds. Numeric components in the string like "nD" that represent the number of days are optional if the value of n is 0. If all numeric components are 0 indicating a 0 second duration, you will still need to pass in 0S which would look like "PT0S". Note: nS may include fractional seconds up to milliseconds. Any value past milliseconds will be truncated and not returned in the resulting Duration.', AR_FN_DUR_TODURATION_STR_EX_OUT_0: "A 0 second Duration.", AR_FN_DUR_TODURATION_STR_EX_OUT_1: "A Duration of 1 day and 3 hours.", AR_FN_DUR_TODURATION_STR_EX_OUT_2: "A negative Duration of 1 day and 3 hours.", AR_FN_DUR_TODURATION_STR_EX_OUT_3: "A Duration of 1 hour, 15 minutes and 30.250 seconds.", AR_FN_DUR_TODURATION_STR_EX_OUT_4: "A Duration of 1 hour, 15 minutes and 30.250 seconds.", AR_FN_DUR_TODURATION_STR_EX_OUT_5: "A NOT_SET Duration.", AR_FN_DUR_TODURATION_LNG_DSC: "Converts an Integer value to a Duration.", AR_FN_DUR_TODURATION_LNG_RV: "Returns a Duration created from the supplied Integer value.", AR_FN_DUR_TODURATION_LNG_PRM_DSC_0: "An Integer that represents the number of milliseconds to wait.", AR_FN_DUR_TODURATION_LNG_EX_OUT_0: "A Duration of 1 hour.", AR_FN_DUR_TODURATION_LNG_EX_OUT_1: "A Duration of 1 day.", AR_FN_DUR_TODURATION_LNG_EX_OUT_2: "A NOT_SET Duration.", AR_FN_DUR_TODURATION_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Duration.", AR_FN_DUR_TODURATION_NTS_RV: "Returns a NOT_SET Duration.", AR_FN_DUR_TODURATION_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Duration.", AR_FN_DUR_TODURATION_NTS_EX_OUT_0: "A NOT_SET Duration.", AR_FN_DUR_TODURATION_DUR_DSC: "Returns a Duration from the supplied Duration value.", AR_FN_DUR_TODURATION_DUR_RV: "Returns the supplied Duration value.", AR_FN_DUR_TODURATION_DUR_PRM_DSC_0: "The Duration to return.", AR_FN_DUR_TODURATION_DUR_EX_OUT_0: "A Duration of 1 hour.", AR_FN_DSC_TOTIMESLOT: "Converts a value to a Timeslot.", AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_DSC: "Returns a Timeslot from the supplied Timeslot value.", AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_RV: "Returns the supplied Timeslot value.", AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_PRM_DSC_0: "The Timeslot to return.", AR_FN_TIMESLOT_TOTIMESLOT_TIMESLOT_EX_OUT_0: "A NOT_SET Timeslot.", AR_FN_TIMESLOT_TOTIMESLOT_STR_DSC: "Converts a String value to a Timeslot.", AR_FN_TIMESLOT_TOTIMESLOT_STR_RV: "Returns a Timeslot value created from the supplied String value.", AR_FN_TIMESLOT_TOTIMESLOT_STR_PRM_DSC_0: 'The String value to convert to a Timeslot. The format should be "[dateTime]|[duration]" where dateTime is a string that is compatible with the ToDateTime implementation that takes a String value, and duration is an XSD duration.', AR_FN_TIMESLOT_TOTIMESLOT_STR_EX_OUT_0: "A Timeslot with the specified DateTime and Duration of 1 hour", AR_FN_TIMESLOT_TOTIMESLOT_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Timeslot.", AR_FN_TIMESLOT_TOTIMESLOT_NTS_RV: "Returns a NOT_SET Timeslot.", AR_FN_TIMESLOT_TOTIMESLOT_NTS_PRM_DSC_0: "The NOT_SET value to convert to a Timeslot.", AR_FN_TIMESLOT_TOTIMESLOT_NTS_EX_OUT_0: "A NOT_SET Timeslot.", AR_FN_DSC_TOGRAMMAR: "Converts a value to a Grammar.", AR_FN_GRAMMAR_TOGRAMMAR_STR_DSC: "Converts a String value to a Grammar by the grammar name. The grammar has to be defined for the organization for the conversion to work. This lookup is case insensitive.", AR_FN_GRAMMAR_TOGRAMMAR_STR_RV: "Returns a Grammar from the String supplied in grammarName. If the String in grammarName is NOT_SET, a NOT_SET Grammar is returned.", AR_FN_GRAMMAR_TOGRAMMAR_STR_PRM_DSC_0: "The grammar name string to convert to a Grammar.", AR_FN_GRAMMAR_TOGRAMMAR_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Grammar.", AR_FN_GRAMMAR_TOGRAMMAR_NTS_RV: "Returns a NOT_SET Grammar.", AR_FN_GRAMMAR_TOGRAMMAR_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Grammar.", AR_FN_GRAMMAR_TOGRAMMAR_NTS_EX_OUT_0: "A NOT_SET Grammar.", AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_DSC: "Returns a Grammar from the supplied Grammar value.", AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_RV: "Returns the supplied Grammar value.", AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_PRM_DSC_0: "The Grammar to return.", AR_FN_GRAMMAR_TOGRAMMAR_GRAMMAR_EX_OUT_0: "A NOT_SET Grammar.", AR_FN_DSC_TOIMAGE: "Converts a value to an Image.", AR_FN_IMAGE_TOIMAGE_IMAGE_DSC: "Returns an Image from the supplied Image value.", AR_FN_IMAGE_TOIMAGE_IMAGE_RV: "Returns the supplied Image value.", AR_FN_IMAGE_TOIMAGE_IMAGE_PRM_DSC_0: "The Image to return.", AR_FN_IMAGE_TOIMAGE_IMAGE_EX_OUT_0: "A NOT_SET Image.", AR_FN_IMAGE_TOIMAGE_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Image.", AR_FN_IMAGE_TOIMAGE_NTS_RV: "Returns a NOT_SET Image.", AR_FN_IMAGE_TOIMAGE_NTS_PRM_DSC_0: "The NOT_SET value to convert to an Image.", AR_FN_IMAGE_TOIMAGE_NTS_EX_OUT_0: "A NOT_SET Image.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_DSC: "Returns an Image from the supplied Response Asset value.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_RV: "Returns the Image value for the supplied Response Asset value if it can be converted, otherwise a NOT_SET Image.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_PRM_DSC_0: "The Response Asset to convert to an Image.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_EX_OUT_0: "An Image value.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_DSC: "Converts a Response Asset value to an Image value with default fallback in case the Response Asset value cannot be converted to an Image.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_RV: "Returns the Image value for the supplied Response Asset value if it can be converted. If the Response Asset value is NOT_SET, a NOT_SET Image is returned instead of the default value. Otherwise the supplied default Image value is returned.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_PRM_DSC_0: "The Response Asset to convert to an Image.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_PRM_DSC_1: "The default Image value to return instead of invoking error handling if the supplied Response Asset cannot be converted to an Image.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_EX_OUT_0: "An Image value.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_EX_OUT_1: "A NOT_SET Image value.", AR_FN_IMAGE_TOIMAGE_RESPONSEASSET_IMAGE_EX_OUT_2: "The default Image value.", AR_FN_DSC_TOIMAGECOLLECTION: "Converts a collection to an Image Collection.", AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_DSC: "This converts a Response Asset collection to an Image collection by converting each item in the Response Asset collection to an Image item.", AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_RV: "The returned Image collection will have the same number of items as the supplied Response Asset Collection. Response Asset items that cannot be converted to an Image value will be NOT_SET in the returned collection.", AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0: "The Response Asset collection to convert to an Image collection.", AR_FN_IMAGE_COLL_TOIMAGECOLLECTION_RESPONSEASSET_COLL_EX_OUT_0: "An Image collection with two items.", AR_FN_DSC_TORESPONSEASSET: "Converts a value to a Response Asset.", AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_DSC: "Returns a Response Asset. from the supplied Response Asset value.", AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_RV: "Returns the supplied Response Asset value.", AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_PRM_DSC_0: "The Response Asset to return.", AR_FN_RESPONSEASSET_TORESPONSEASSET_RESPONSEASSET_EX_OUT_0: "A NOT_SET Response Asset.", AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Response Asset.", AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_RV: "Returns a NOT_SET Response Asset.", AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_PRM_DSC_0: "The NOT_SET value to convert to a Response Asset.", AR_FN_RESPONSEASSET_TORESPONSEASSET_NTS_EX_OUT_0: "A NOT_SET Response Asset.", AR_FN_DSC_TOSKILL: "Converts a value to a Skill.", AR_FN_SKL_TOSKILL_STR_DSC: "Converts a String value to a Skill. The skill has to be defined for the organization for the conversion to work. This lookup is case insensitive.", AR_FN_SKL_TOSKILL_STR_RV: "Returns a Skill from the String supplied in skillName. If the String in valueToConvert is NOT_SET, a NOT_SET Skill is returned.", AR_FN_SKL_TOSKILL_STR_PRM_DSC_0: "A String that contains the name of the skill to convert to a Skill.", AR_FN_SKL_TOSKILL_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Skill.", AR_FN_SKL_TOSKILL_NTS_RV: "Returns a NOT_SET Skill.", AR_FN_SKL_TOSKILL_NTS_PRM_DSC_0: "The NOT_SET value to convert to a Skill.", AR_FN_SKL_TOSKILL_NTS_EX_OUT_0: "A NOT_SET Skill.", AR_FN_SKL_TOSKILL_SKL_DSC: "Returns a Skill from the supplied Skill value.", AR_FN_SKL_TOSKILL_SKL_RV: "Returns the supplied Skill value.", AR_FN_SKL_TOSKILL_SKL_PRM_DSC_0: "The Skill to return.", AR_FN_SKL_TOSKILL_SKL_EX_OUT_0: "A NOT_SET Skill.", AR_FN_DSC_TOUSERQUEUE: "Converts a value to a User.", AR_FN_USR_TOUSER_STR_DSC: "Converts a String value to a User by the user name. The user has to be defined for the organization for the conversion to work. This lookup is case insensitive.", AR_FN_USR_TOUSER_STR_RV: "Returns a User from the String supplied in userName. If the String in userName is NOT_SET, a NOT_SET User is returned.", AR_FN_USR_TOUSER_STR_PRM_DSC_0: "The user name string to convert to a User.", AR_FN_USR_TOUSER_NTS_DSC: "Converts a NOT_SET value to a NOT_SET User.", AR_FN_USR_TOUSER_NTS_RV: "Returns a NOT_SET User.", AR_FN_USR_TOUSER_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET User.", AR_FN_USR_TOUSER_NTS_EX_OUT_0: "A NOT_SET User.", AR_FN_USR_TOUSER_USR_DSC: "Returns a User from the supplied User value.", AR_FN_USR_TOUSER_USR_RV: "Returns the supplied User value.", AR_FN_USR_TOUSER_USR_PRM_DSC_0: "The User to return.", AR_FN_USR_TOUSER_USR_EX_OUT_0: "A NOT_SET User.", AR_FN_DSC_TOLANGUAGESKILL: "Converts a value to a Language Skill.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_STR_DSC: "Converts a String value to a Language Skill by the language tag name. The language tag name needs to be the name of a language tag in the organization for the conversion to work. This lookup is case insensitive.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_STR_RV: "Returns a Language Skill from the String supplied in languageTag. If the String in languageTag is NOT_SET, a NOT_SET Language Skill is returned.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_STR_PRM_DSC_0: "The rated language tag name string to convert to a Language Skill.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_RV: "Returns a NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET LanguageSkill.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_NTS_EX_OUT_0: "A NOT_SET Language Skill.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_DSC: "Returns a Language Skill from the supplied Language Skill value.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_RV: "Returns the supplied Language Skill value.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_PRM_DSC_0: "The Language Skill to return.", AR_FN_LANGUAGESKILL_TOLANGUAGESKILL_LANGUAGESKILL_EX_OUT_0: "A NOT_SET Language Skill", AR_FN_DSC_TOQUEUE: "Converts a value to a Queue", AR_FN_QUEUE_TOQUEUE_STR_DSC: "Converts a String value to a Queue.", AR_FN_QUEUE_TOQUEUE_STR_RV: "Returns a Queue from the String supplied in valueToConvert", AR_FN_QUEUE_TOQUEUE_STR_PRM_DSC_0: "The string to convert to a Queue. This string needs to match the name of a queue.", AR_FN_QUEUE_TOQUEUE_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Queue.", AR_FN_QUEUE_TOQUEUE_NTS_RV: "Returns a NOT_SET Queue.", AR_FN_QUEUE_TOQUEUE_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Queue.", AR_FN_QUEUE_TOQUEUE_NTS_EX_OUT_0: "A NOT_SET Queue", AR_FN_QUEUE_TOQUEUE_QUEUE_DSC: "Returns a Queue from the supplied Queue value.", AR_FN_QUEUE_TOQUEUE_QUEUE_RV: "Returns the supplied Queue value.", AR_FN_QUEUE_TOQUEUE_QUEUE_PRM_DSC_0: "The Queue to return.", AR_FN_QUEUE_TOQUEUE_QUEUE_EX_OUT_0: "A NOT_SET Queue.", AR_FN_DSC_TOEMERGENCYGROUP: "Converts a value to an Emergency Group", AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Emergency Group.", AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_RV: "Returns a NOT_SET Emergency Group.", AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Emergency Group.", AR_FN_EMERGRP_TOEMERGENCYGROUP_NTS_EX_OUT_0: "A NOT_SET Emergency Group.", AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_DSC: "Returns an Emergency Group from the supplied Emergency Group value.", AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_RV: "Returns the supplied Emergency Group value.", AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_PRM_DSC_0: "The Emergency Group to return.", AR_FN_EMERGRP_TOEMERGENCYGROUP_EMERGRP_EX_OUT_0: "A NOT_SET Emergency Group.", AR_FN_DSC_TOFILE: "Converts a value to a File.", AR_FN_FILE_TOFILE_FILE_DSC: "Returns a File from the supplied File value.", AR_FN_FILE_TOFILE_FILE_RV: "Returns the supplied File value.", AR_FN_FILE_TOFILE_FILE_PRM_DSC_0: "The File to return.", AR_FN_FILE_TOFILE_FILE_EX_OUT_0: "A NOT_SET File.", AR_FN_FILE_TOFILE_NTS_DSC: "Converts a NOT_SET value to a NOT_SET File.", AR_FN_FILE_TOFILE_NTS_RV: "Returns a NOT_SET File.", AR_FN_FILE_TOFILE_NTS_PRM_DSC_0: "The NOT_SET value to convert to a File.", AR_FN_FILE_TOFILE_NTS_EX_OUT_0: "A NOT_SET File.", AR_FN_FILE_TOFILE_RESPONSEASSET_DSC: "Returns a File from the supplied Response Asset value.", AR_FN_FILE_TOFILE_RESPONSEASSET_RV: "Returns the File value for the supplied Response Asset value if it can be converted, otherwise a NOT_SET File.", AR_FN_FILE_TOFILE_RESPONSEASSET_PRM_DSC_0: "The Response Asset to convert to a File.", AR_FN_FILE_TOFILE_RESPONSEASSET_EX_OUT_0: "A File value.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_DSC: "Converts a Response Asset value to a File value with default fallback in case the Response Asset value cannot be converted to a File.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_RV: "Returns the File value for the supplied Response Asset value if it can be converted. If the Response Asset value is NOT_SET, a NOT_SET File is returned instead of the default value. Otherwise the supplied default File value is returned.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_PRM_DSC_0: "The Response Asset to convert to a File.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_PRM_DSC_1: "The default File value to return instead of invoking error handling if the supplied Response Asset cannot be converted to a File.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_EX_OUT_0: "A File value.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_EX_OUT_1: "A NOT_SET File value.", AR_FN_FILE_TOFILE_RESPONSEASSET_FILE_EX_OUT_2: "The default File value.", AR_FN_DSC_TOFILECOLLECTION: "Converts a collection to a File Collection.", AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_DSC: "This converts a Response Asset collection to a File collection by converting each item in the Response Asset collection to a File item.", AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_RV: "The returned File collection will have the same number of items as the supplied Response Asset Collection. Response Asset items that cannot be converted to a File value will be NOT_SET in the returned collection.", AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0: "The Response Asset collection to convert to a File collection.", AR_FN_FILE_COLL_TOFILECOLLECTION_RESPONSEASSET_COLL_EX_OUT_0: "A File collection with two items.", AR_FN_DSC_TOGROUP: "Converts a value to a Group", AR_FN_GRP_TOGROUP_STR_DSC: "Converts a String value to a Group.", AR_FN_GRP_TOGROUP_STR_RV: "Returns a Group from the String supplied in valueToConvert", AR_FN_GRP_TOGROUP_STR_PRM_DSC_0: "The string to convert to a Group. This string needs to match the name of a group.", AR_FN_GRP_TOGROUP_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Group.", AR_FN_GRP_TOGROUP_NTS_RV: "Returns a NOT_SET Group.", AR_FN_GRP_TOGROUP_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Group.", AR_FN_GRP_TOGROUP_NTS_EX_OUT_0: "A NOT_SET Group", AR_FN_GRP_TOGROUP_GRP_DSC: "Returns a Group from the supplied Group value.", AR_FN_GRP_TOGROUP_GRP_RV: "Returns the supplied Group value.", AR_FN_GRP_TOGROUP_GRP_PRM_DSC_0: "The Group to return.", AR_FN_GRP_TOGROUP_GRP_EX_OUT_0: "A NOT_SET Group.", AR_FN_DSC_TOKNOWLEDGEBASEDOCUMENT: "Converts a value to a knowledge base document.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_DSC: "Returns a knowledge base document from the supplied knowledge base document value.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_RV: "Returns the supplied knowledge base document value.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_PRM_DSC_0: "The knowledge base document to return.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_KNOWLEDGEBASEDOCUMENT_EX_OUT_0: "A NOT_SET KnowledgeBaseDocument.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_DSC: "Converts a NOT_SET value to a NOT_SET KnowledgeBaseDocument.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_RV: "Returns a NOT_SET KnowledgeBaseDocument.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_PRM_DSC_0: "The NOT_SET value to convert to a knowledge base document.", AR_FN_KNOWLEDGEBASEDOCUMENT_TOKNOWLEDGEBASEDOCUMENT_NTS_EX_OUT_0: "A NOT_SET knowledge base document.", AR_FN_DSC_TOVIDEO: "Converts a value to a video.", AR_FN_VIDEO_TOVIDEO_VIDEO_DSC: "Returns a video from the supplied Video value.", AR_FN_VIDEO_TOVIDEO_VIDEO_RV: "Returns the supplied Video value.", AR_FN_VIDEO_TOVIDEO_VIDEO_PRM_DSC_0: "The Video to return.", AR_FN_VIDEO_TOVIDEO_VIDEO_EX_OUT_0: "A NOT_SET Video.", AR_FN_VIDEO_TOVIDEO_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Video.", AR_FN_VIDEO_TOVIDEO_NTS_RV: "Returns a NOT_SET Video.", AR_FN_VIDEO_TOVIDEO_NTS_PRM_DSC_0: "The NOT_SET value to convert to a Video.", AR_FN_VIDEO_TOVIDEO_NTS_EX_OUT_0: "A NOT_SET Video.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_DSC: "Returns a Video from the supplied Response Asset value.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_RV: "Returns the Video value for the supplied Response Asset value if it can be converted.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_PRM_DSC_0: "The Response Asset to convert to a Video.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_EX_OUT_0: "A Video value.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_DSC: "Converts a Response Asset value to a Video value with default fallback in case the Response Asset value cannot be converted to a Video.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_RV: "Returns the Video value for the supplied Response Asset value if it can be converted. If the Response Asset value is NOT_SET, a NOT_SET Video is returned instead of the default value. Otherwise the supplied default Video value is returned.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_PRM_DSC_0: "The Response Asset to convert to a Video.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_PRM_DSC_1: "The default Video value to return instead of invoking error handling if the supplied Response Asset cannot be converted to a Video.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_EX_OUT_0: "A Video value.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_EX_OUT_1: "A NOT_SET Video value.", AR_FN_VIDEO_TOVIDEO_RESPONSEASSET_VIDEO_EX_OUT_2: "The default Video value.", AR_FN_DSC_TOVIDEOCOLLECTION: "Converts a collection to a Video Collection.", AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_DSC: "This converts a Response Asset collection to a Video collection by converting each item in the Response Asset collection to a Video item.", AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_RV: "The returned Video collection will have the same number of items as the supplied Response Asset Collection. Response Asset items that cannot be converted to a Video value will be NOT_SET in the returned collection.", AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_PRM_DSC_0: "The Response Asset collection to convert to a Video collection.", AR_FN_VIDEO_COLL_TOVIDEOCOLLECTION_RESPONSEASSET_COLL_EX_OUT_0: "A Video collection with two items.", AR_FN_DSC_TOPHONENUMBER: "Converts a value to a PhoneNumber", AR_FN_PHNBR_TOPHONENUMBER_STR_DSC: "Converts a String value to a PhoneNumber.", AR_FN_PHNBR_TOPHONENUMBER_STR_RV: "Returns a PhoneNumber from the String supplied in valueToConvert", AR_FN_PHNBR_TOPHONENUMBER_STR_PRM_DSC_0: "The string to convert to a PhoneNumber.", AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_0: "A PhoneNumber created from the Call.Ani variable.", AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_1: 'A PhoneNumber with the "tel" scheme, a subscriber number of 3178723000, and E.164 phone number of +13178723000.', AR_FN_PHNBR_TOPHONENUMBER_STR_EX_IN_2: 'ToPhoneNumber("sip:john.doe@example.com")', AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_2: 'A PhoneNumber with a "sip" scheme and SIP URI of sip:john.doe@example.com.', AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_3: "A NOT_SET PhoneNumber.", AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_4: 'A PhoneNumber with the "tel" scheme, a subscriber number of 3178723000, and E.164 phone number of +13178723000.', AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_5: 'A PhoneNumber with the "tel" scheme, a subscriber number of 3178723000, and no E.164 phone number.', AR_FN_PHNBR_TOPHONENUMBER_STR_EX_IN_6: 'ToPhoneNumber("sips:john.doe@example.com")', AR_FN_PHNBR_TOPHONENUMBER_STR_EX_OUT_6: 'A PhoneNumber with a "sip" scheme and SIP URI of sips:john.doe@example.com.', AR_FN_PHNBR_TOPHONENUMBER_NTS_DSC: "Converts a NOT_SET value to a NOT_SET PhoneNumber.", AR_FN_PHNBR_TOPHONENUMBER_NTS_RV: "Returns a NOT_SET PhoneNumber.", AR_FN_PHNBR_TOPHONENUMBER_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET PhoneNumber.", AR_FN_PHNBR_TOPHONENUMBER_NTS_EX_OUT_0: "A NOT_SET PhoneNumber", AR_FN_PHNBR_TOPHONENUMBER_PHNBR_DSC: "Returns a PhoneNumber from the supplied PhoneNumber value.", AR_FN_PHNBR_TOPHONENUMBER_PHNBR_RV: "Returns the supplied PhoneNumber value.", AR_FN_PHNBR_TOPHONENUMBER_PHNBR_PRM_DSC_0: "The PhoneNumber to return.", AR_FN_PHNBR_TOPHONENUMBER_PHNBR_EX_OUT_0: "A NOT_SET PhoneNumber.", AR_FN_DSC_TOPROMPT: "Converts a value to a Prompt", AR_FN_PROMPT_TOPROMPT_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Prompt.", AR_FN_PROMPT_TOPROMPT_NTS_RV: "Returns a NOT_SET Prompt.", AR_FN_PROMPT_TOPROMPT_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Prompt.", AR_FN_PROMPT_TOPROMPT_NTS_EX_OUT_0: "A NOT_SET Prompt", AR_FN_PROMPT_TOPROMPT_PROMPT_DSC: "Returns a Prompt from the supplied Prompt value.", AR_FN_PROMPT_TOPROMPT_PROMPT_RV: "Returns the supplied Prompt value.", AR_FN_PROMPT_TOPROMPT_PROMPT_PRM_DSC_0: "The Prompt to return.", AR_FN_PROMPT_TOPROMPT_PROMPT_EX_OUT_0: "A NOT_SET Prompt.", AR_FN_DSC_TOSCHEDULE: "Converts a value to a Schedule", AR_FN_SCHED_TOSCHEDULE_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Schedule.", AR_FN_SCHED_TOSCHEDULE_NTS_RV: "Returns a NOT_SET Schedule.", AR_FN_SCHED_TOSCHEDULE_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Schedule.", AR_FN_SCHED_TOSCHEDULE_NTS_EX_OUT_0: "A NOT_SET Schedule.", AR_FN_SCHED_TOSCHEDULE_SCHED_DSC: "Returns a Schedule from the supplied Schedule value.", AR_FN_SCHED_TOSCHEDULE_SCHED_RV: "Returns the supplied Schedule value.", AR_FN_SCHED_TOSCHEDULE_SCHED_PRM_DSC_0: "The Schedule to return.", AR_FN_SCHED_TOSCHEDULE_SCHED_EX_OUT_0: "A NOT_SET Schedule.", AR_FN_DSC_TOSCHEDULEGROUP: "Converts a value to a Schedule Group", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Schedule Group.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_RV: "Returns a NOT_SET Schedule Group.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Schedule Group.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_NTS_EX_OUT_0: "A NOT_SET Schedule Group.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_DSC: "Returns a Schedule Group from the supplied Schedule Group value.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_RV: "Returns the supplied Schedule Group value.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_PRM_DSC_0: "The Schedule Group to return.", AR_FN_SCHEDGRP_TOSCHEDULEGROUP_SCHEDGRP_EX_OUT_0: "A NOT_SET Schedule Group.", AR_FN_DSC_TOUTILIZATIONLABEL: "Converts a value to a Utilization Label", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Utilization Label.", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_RV: "Returns a NOT_SET Utilization Label.", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Utilization Label.", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_NTS_EX_OUT_0: "A NOT_SET Utilization Label", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_DSC: "Returns a Utilization Label from the supplied Utilization Label value.", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_RV: "Returns the supplied Utilization Label value.", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_PRM_DSC_0: "The Utilization Label to return.", AR_FN_UTILIZATIONLABEL_TOUTILIZATIONLABEL_UTILIZATIONLABEL_EX_OUT_0: "A NOT_SET Utilization Label.", AR_FN_DSC_TOWORKTYPESTATUS: "Converts a value to a Worktype Status", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_DSC: "Returns a Worktype Status value from the supplied Worktype Status value.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_RV: "Returns the supplied Worktype Status value.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_PRM_DSC_0: "The Worktype Status to return.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_WORKTYPESTATUS_EX_OUT_0: "A NOT_SET Worktype Status.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Worktype Status.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_RV: "Returns a NOT_SET Worktype Status.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Worktype Status.", AR_FN_WORKTYPESTATUS_TOWORKTYPESTATUS_NTS_EX_OUT_0: "A NOT_SET Worktype Status", AR_FN_DSC_TOWRAPUPCODE: "Converts a value to a Wrapup Code", AR_FN_WRC_TOWRAPUPCODE_STR_DSC: "Converts a String value to a Wrapup Code.", AR_FN_WRC_TOWRAPUPCODE_STR_RV: "Returns a Wrapup Code from the String supplied in valueToConvert", AR_FN_WRC_TOWRAPUPCODE_STR_PRM_DSC_0: "The String to convert to a Wrapup Code. This string needs to match the name of a wrapup code.", AR_FN_WRC_TOWRAPUPCODE_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Wrapup Code.", AR_FN_WRC_TOWRAPUPCODE_NTS_RV: "Returns a NOT_SET Wrapup Code.", AR_FN_WRC_TOWRAPUPCODE_NTS_PRM_DSC_0: "The NOT_SET value to convert to a NOT_SET Wrapup Code.", AR_FN_WRC_TOWRAPUPCODE_NTS_EX_OUT_0: "A NOT_SET Wrapup Code", AR_FN_WRC_TOWRAPUPCODE_WRC_DSC: "Returns a Wrapup Code from the supplied Wrapup Code value.", AR_FN_WRC_TOWRAPUPCODE_WRC_RV: "Returns the supplied Wrapup Code value.", AR_FN_WRC_TOWRAPUPCODE_WRC_PRM_DSC_0: "The Wrapup Code to return.", AR_FN_WRC_TOWRAPUPCODE_WRC_EX_OUT_0: "A NOT_SET Wrapup Code.", AR_FN_DSC_ISNOTSETOREMPTY: "Determines whether a value is NOT_SET or empty.", AR_FN_BLN_ISNOTSETOREMPTY_ANY_DSC: "Checks if a value is NOT_SET.", AR_FN_BLN_ISNOTSETOREMPTY_ANY_RV: "Returns true if the value passed in is NOT_SET.", AR_FN_BLN_ISNOTSETOREMPTY_ANY_PRM_DSC_0: "The value to test to see if it is set or not.", AR_FN_BLN_ISNOTSETOREMPTY_AUDIO_DSC: "Determines whether or not the supplied Audio value is NOT_SET or 0 milliseconds of blank audio.", AR_FN_BLN_ISNOTSETOREMPTY_AUDIO_RV: "Returns a Boolean true if the Audio value passed in is NOT_SET.", AR_FN_BLN_ISNOTSETOREMPTY_AUDIO_PRM_DSC_0: "The Audio value to test to see if it is set or not.", AR_FN_BLN_ISNOTSETOREMPTY_ANY_COLL_DSC: "Determines whether or not a collection is empty (i.e. has no elements in it).", AR_FN_BLN_ISNOTSETOREMPTY_ANY_COLL_RV: "Returns true if the Boolean collection is empty.", AR_FN_BLN_ISNOTSETOREMPTY_ANY_COLL_PRM_DSC_0: "The collection to check.", AR_FN_BLN_ISNOTSETOREMPTY_NTS_DSC: "Returns true since the value pass in is NOT_SET.", AR_FN_BLN_ISNOTSETOREMPTY_NTS_RV: "Returns a true since the value passed in is NOT_SET.", AR_FN_BLN_ISNOTSETOREMPTY_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_DSC_MAKEAGENTSCOREPAIR: "Returns a new instance of an AgentScorePair value initialized with the specified values.", AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_DSC: "Creates a new AgentScorePair value initialized to the specified input values.", AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_RV: "Returns the new AgentScorePair value.", AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_PRM_DSC_0: "The value to assign to the AgentScorePair agent property.", AR_FN_AGENTSCOREPAIR_MAKEAGENTSCOREPAIR_USR_LNG_PRM_DSC_1: "The value to assign to the AgentScorePair score property.", AR_FN_DSC_MAKECARD: "Returns a new instance of a Card value initialized with the specified values.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_DSC: "Creates a new Card value initialized to the specified input values.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_RV: "Returns the new Card value.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_0: "The title for the card.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_1: "The description for the card.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_2: "The button choices to use for the card.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_PRM_DSC_3: "The Image to use for the card.", AR_FN_CARD_MAKECARD_STR_STR_CHOICE_COLL_IMAGE_EX_OUT_0: "A Card that lets someone select a pizza size of small, medium or large.", AR_FN_DSC_MAKECAROUSEL: "Returns a new instance of a Carousel value initialized with the specified values.", AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_DSC: "Creates a new Carousel value for the supplied cards.", AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_RV: "Returns the new Carousel value.", AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_PRM_DSC_0: "The cards to use for the carousel.", AR_FN_CAROUSEL_MAKECAROUSEL_CARD_COLL_EX_OUT_0: "A Carousel with three cards to let a participant pick a class they want to attend to learn about cards, carousels and quick replies in Architect.", AR_FN_DSC_MAKECHOICE: "Returns a new instance of a Choice initialized with the specified values that can be used in a Chooser. There are helper functions that can be used to create choices as well such as MakeUrlChoice, MakePostbackChoice and MakePostbackChoice.", AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_DSC: "Creates a new Choice that can be used in a Chooser from the supplied values.", AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_RV: "Returns the new Choice value.", AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_PRM_DSC_0: 'The choice type. "url" indicates this choice represents a URL. "postback" indicates this choice supplies a value that is returned to the flow.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_PRM_DSC_1: 'The choice value. If the type parameter is "url", this should be the url link to use such as "https://www.genesys.com". If the type parameter is "postback", the postback value can be a custom value or if used in an action like Ask for Slot where the participant is choosing a value from a slot type then the value should match a value in that list or dynamic list slot type.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_PRM_DSC_2: 'The choice label. If the type parameter is "url", this should be the url link label to use such as "Genesys". If the type parameter is "postback" this label is only used if the postback choice is not associated with a value from a list or dynamic list slot type.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_EX_OUT_0: 'A Choice of type "url", value of "https://www.genesys.com" and label of "Genesys".', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_EX_OUT_1: 'A Choice of type "postback", value of "support" and label of "Help and Support".', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_DSC: "Creates a new Choice that can be used in a Chooser from the supplied values.", AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_RV: "Returns the new Choice value.", AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_0: 'The choice type. "url" indicates this choice represents a URL. "postback" indicates this choice supplies a value that is returned to the flow.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_1: 'The choice value. If the type parameter is "url", this should be the url link to use such as "https://www.genesys.com". If the type parameter is "postback", the postback value can be a custom value or if used in an action like Ask for Slot where the participant is choosing a value from a slot type then the value should match a value in that list or dynamic list slot type.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_2: 'The choice label. If the type parameter is "url", this should be the url link label to use such as "Genesys". If the type parameter is "postback" this label is only used if the postback choice is not associated with a value from a list or dynamic list slot type.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_PRM_DSC_3: 'The choice command. If the command value is "skip" the Skip Response is enabled.', AR_FN_CHOICE_MAKECHOICE_STR_STR_STR_STR_EX_OUT_0: 'A Choice of type "url", value of "https://www.genesys.com", label of "Genesys" and command of "skip".', AR_FN_DSC_MAKEPOSTBACKCHOICE: "Returns a new instance of a postback Choice value that can be used in a Chooser.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_DSC: 'Creates a new custom Choice with the supplied value that can be used in a Chooser. The returned Choice will have a type of "postback".', AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_RV: "Returns the new Choice value.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_PRM_DSC_0: "The value to return to the flow at runtime.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_EX_OUT_0: 'A choice with type "postback" and value of "support".', AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_DSC: 'Creates a new custom Choice with the supplied value and label that can be used in a Chooser. The returned Choice will have a type of "postback".', AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_RV: "Returns the new Choice value.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_PRM_DSC_0: "The value to return to the flow at runtime.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_PRM_DSC_1: "The label to display for the choice.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_EX_OUT_0: 'A choice with type "postback", value of "support" and label of "Help and Support".', AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_DSC: 'Creates a new custom Choice with the supplied value, label and command that can be used in a Chooser. The returned Choice will have a type of "postback".', AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_RV: "Returns the new Choice value.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_PRM_DSC_0: "The value to return to the flow at runtime.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_PRM_DSC_1: "The label to display for the choice.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_PRM_DSC_2: "The command value for the choice.", AR_FN_CHOICE_MAKEPOSTBACKCHOICE_STR_STR_STR_EX_OUT_0: 'A choice with value of "support", label of "Help and Support" and command of "skip".', AR_FN_DSC_MAKEURLCHOICE: "Returns a new instance of a Choice that represents a URL that can be used in a Chooser.", AR_FN_CHOICE_MAKEURLCHOICE_STR_DSC: "A helper function that creates a new Choice for a given URL that can be used in a Chooser. Remember that URL choices cannot be used in quick replies.", AR_FN_CHOICE_MAKEURLCHOICE_STR_RV: "Returns the new URL Choice value.", AR_FN_CHOICE_MAKEURLCHOICE_STR_PRM_DSC_0: 'The URL for this choice such as "https://www.genesys.com".', AR_FN_CHOICE_MAKEURLCHOICE_STR_EX_OUT_0: 'A Choice with type "url" and value of "https://www.genesys.com".', AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_DSC: "A helper function that creates a new Choice for a given URL and link label text that can be used in a Chooser. Remember that URL choices cannot be used in quick replies.", AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_RV: "Returns the new URL Choice value.", AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_PRM_DSC_0: 'The URL for this choice such as "https://www.genesys.com".', AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_PRM_DSC_1: "The link label to display for the URL. If the value is NOT_SET, the url value will be used as the link label.", AR_FN_CHOICE_MAKEURLCHOICE_STR_STR_EX_OUT_0: 'A Choice with type "url", value of "https://www.genesys.com" and label of "Genesys".', AR_FN_DSC_MAKECHOOSER: "Returns a new instance of a Chooser value initialized with the specified values.", AR_FN_CHOOSER_MAKECHOOSER_CARD_DSC: "Creates a new Chooser value configured as a carousel one card in it where that card is the supplied Card value.", AR_FN_CHOOSER_MAKECHOOSER_CARD_RV: "Returns the new Chooser value.", AR_FN_CHOOSER_MAKECHOOSER_CARD_PRM_DSC_0: "A Card value that defines the card to use when presenting choices to a participant.", AR_FN_CHOOSER_MAKECHOOSER_CARD_EX_OUT_0: 'A Chooser with type "card" and card property set to a Card that lets a participant select a shirt color of red, green or blue.', AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_DSC: "Creates a new Chooser value for the supplied Carousel.", AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_RV: "Returns the new Chooser value.", AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_PRM_DSC_0: "A Carousel value that defines the card to use when presenting choices to a participant.", AR_FN_CHOOSER_MAKECHOOSER_CAROUSEL_EX_OUT_0: 'A Chooser with type "carousel" and carousel property set to a Carousel with three cards to let a participant pick a class they want to attend to learn about cards, carousels and quick replies in Architect.', AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_DSC: "Creates a new Chooser value for the supplied Quick Replies.", AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_RV: "Returns the new Chooser value.", AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_PRM_DSC_0: "A Quick Replies value that defines the buttons to use when presenting choices to a participant.", AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_EX_OUT_0: 'A Chooser with type "quickReplies" and quickReplies property set to a Quick Replies value that contains two custom choices of red or blue.', AR_FN_CHOOSER_MAKECHOOSER_QUICKREPLIES_EX_OUT_1: 'A Chooser with type "quickReplies" and quickReplies property set to a Quick Replies value that contains two custom choices of red or blue and quick reply summary "Thanks for your selection".', AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_DSC: "Creates a new Chooser value for the supplied TimePicker.", AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_RV: "Returns the new Chooser value.", AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_PRM_DSC_0: "A TimePicker value to present to a participant.", AR_FN_CHOOSER_MAKECHOOSER_TIMEPICKER_EX_OUT_0: 'A Chooser with type "timePicker" and timePicker property with a title.', AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_DSC: "Creates a new Chooser value for the supplied ListPicker.", AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_RV: "Returns the new Chooser value.", AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_PRM_DSC_0: "A ListPicker value to present to a participant.", AR_FN_CHOOSER_MAKECHOOSER_LISTPICKER_EX_OUT_0: 'A Chooser with type "listPicker" and listPicker value.', AR_FN_DSC_MAKECURRENCY: "Returns a new instance of a Currency value initialized with the specified values.", AR_FN_CUR_MAKECURRENCY_DEC_STR_DSC: "Creates a new instance of Currency value initialized to the specified settings.", AR_FN_CUR_MAKECURRENCY_DEC_STR_RV: "Returns a new instance of Currency value initialized to the specified settings.", AR_FN_CUR_MAKECURRENCY_DEC_STR_PRM_DSC_0: "The monetary amount.", AR_FN_CUR_MAKECURRENCY_DEC_STR_PRM_DSC_1: "The ISO 4217 currency code.", AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_0: 'A Currency value with an amount of 10.50 and code of "USD".', AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_1: 'A Currency value with an amount of 5.00 and code of "EUR".', AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_2: 'A Currency value with a NOT_SET amount and code of "USD"', AR_FN_CUR_MAKECURRENCY_DEC_STR_EX_OUT_3: "A Currency value with an amount of 100.00 and NOT_SET code.", AR_FN_CUR_MAKECURRENCY_LNG_STR_DSC: "Creates a new instance of Currency value initialized to the specified settings.", AR_FN_CUR_MAKECURRENCY_LNG_STR_RV: "Returns a new instance of Currency value initialized to the specified settings.", AR_FN_CUR_MAKECURRENCY_LNG_STR_PRM_DSC_0: "The monetary amount.", AR_FN_CUR_MAKECURRENCY_LNG_STR_PRM_DSC_1: "The ISO 4217 currency code.", AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_0: 'A Currency value with an amount of 10.50 and code of "USD".', AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_1: 'A Currency value with an amount of 5.00 and code of "EUR".', AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_2: 'A Currency value with a NOT_SET amount and code of "USD"', AR_FN_CUR_MAKECURRENCY_LNG_STR_EX_OUT_3: "A Currency value with an amount of 100.00 and NOT_SET code.", AR_FN_DSC_MAKEDIGITALAUDIOFROMURL: "Returns a new instance of a Digital Audio value from a URL.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_DSC: "Creates a new instance of a Digital Audio value from a URL.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_RV: "Returns a new instance of a Digital Audio value initialized to the specified settings.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_PRM_DSC_0: "The URL to the Digital Audio.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_STR_EX_OUT_0: 'A Digital Audio value with the universal resource locator (url) property value of "https://www.genesys.com/media/genesys-digital-bot-flows.mp3".', AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_DSC: "Creates a NOT_SET Digital Audio.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_RV: "Returns a NOT_SET Digital Audio value.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_DIGITALAUDIO_MAKEDIGITALAUDIOFROMURL_NTS_EX_OUT_0: "A NOT_SET Digital Audio.", AR_FN_DSC_MAKEFILEFROMURL: "Returns a new instance of a File value from a URL.", AR_FN_FILE_MAKEFILEFROMURL_STR_DSC: "Creates a new instance of a File value from a URL.", AR_FN_FILE_MAKEFILEFROMURL_STR_RV: "Returns a new instance of a File value initialized to the specified settings.", AR_FN_FILE_MAKEFILEFROMURL_STR_PRM_DSC_0: "The URL to the File.", AR_FN_FILE_MAKEFILEFROMURL_STR_EX_OUT_0: 'A File value with the universal resource locator (url) property value of "https://www.genesys.com/documents/genesys-digital-bot-flows.pdf".', AR_FN_FILE_MAKEFILEFROMURL_NTS_DSC: "Creates a NOT_SET File.", AR_FN_FILE_MAKEFILEFROMURL_NTS_RV: "Returns a NOT_SET File value.", AR_FN_FILE_MAKEFILEFROMURL_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_FILE_MAKEFILEFROMURL_NTS_EX_OUT_0: "A NOT_SET File.", AR_FN_DSC_MAKEIMAGEFROMURL: "Returns a new instance of an Image value from a URL.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_DSC: "Creates a new instance of an Image value from a URL.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_RV: "Returns a new instance of an Image value initialized to the specified settings.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_PRM_DSC_0: "The URL to the image.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_EX_OUT_0: 'An Image value with a universal resource locator (url) property value of "https://www.genesys.com/media/genesys-logo.png".', AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_DSC: "Creates a new instance of an Image value from a URL and name.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_RV: "Returns a new instance of an Image value initialized to the specified settings.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_PRM_DSC_0: "The URL to the image.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_PRM_DSC_1: "The name to use for the name property in the returned Image value.", AR_FN_IMAGE_MAKEIMAGEFROMURL_STR_STR_EX_OUT_0: 'An Image value with a universal resource locator (url) property value of "https://www.genesys.com/media/genesys-logo.png" and a name property value of "Genesys Logo".', AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_DSC: "Creates a NOT_SET Image.", AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_RV: "Returns a NOT_SET Image value.", AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_IMAGE_MAKEIMAGEFROMURL_NTS_EX_OUT_0: "A NOT_SET Image.", AR_FN_DSC_MAKELINEITEM: "Returns a new instance of a LineItem value initialized with the specified settings.", AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_DSC: "Creates a new instance of a LineItem value initialized with the specified settings.", AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_RV: "Returns a new instance of LineItem value initialized to the specified settings.", AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_PRM_DSC_0: "The name of the LineItem.", AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_PRM_DSC_1: "The price of the LineItem.", AR_FN_LINEITEM_MAKELINEITEM_STR_CUR_EX_OUT_0: 'A LineItem value with name "T-Shirt" and price of $19.99 USD.', AR_FN_DSC_TOLINEITEM: "Returns a copy of the supplied LineItem.", AR_FN_LINEITEM_TOLINEITEM_LINEITEM_DSC: "Returns a copy of the supplied LineItem", AR_FN_LINEITEM_TOLINEITEM_LINEITEM_RV: "Returns a copy of the supplied LineItem.", AR_FN_LINEITEM_TOLINEITEM_LINEITEM_PRM_DSC_0: "The LineItem to copy", AR_FN_LINEITEM_TOLINEITEM_LINEITEM_EX_OUT_0: "A Lineitems which is a copy of the supplied LineItem", AR_FN_LINEITEM_TOLINEITEM_NTS_DSC: "Converts NOT_SET to a NOT_SET LineItem.", AR_FN_LINEITEM_TOLINEITEM_NTS_RV: "Returns a NOT_SET LineItem value.", AR_FN_LINEITEM_TOLINEITEM_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_LINEITEM_TOLINEITEM_NTS_EX_OUT_0: "A NOT_SET lineItem.", AR_FN_DSC_MAKELISTPICKERITEM: "Returns a new instance of a ListPickerItem value initialized with the specified settings.", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_DSC: "Creates a new instance of a ListPickerItem value initialized with the specified settings.", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_RV: "Returns a new instance of a ListPickerItem value initialized to the specified settings.", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_PRM_DSC_0: "The list picker item title.", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_PRM_DSC_1: "The list picker item subtitle.", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_PRM_DSC_2: "The image to use for the list picker item.", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_EX_OUT_0: "A ListPickerItem value with a title, subtitle, and image", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_EX_OUT_1: "A ListPickerItem value with a title, a NOT_SET subtitle, and an image", AR_FN_LISTPICKERITEM_MAKELISTPICKERITEM_STR_STR_IMAGE_EX_OUT_2: "A ListPickerItem value with a title, a NOT_SET subtitle, and a NOT_SET image", AR_FN_DSC_MAKELISTPICKERSECTION: "Returns a new instance of a ListPickerSection value initialized with the specified settings.", AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_DSC: "Creates a new instance of a ListPickerSection value initialized with the specified settings.", AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_RV: "Returns a new instance of a ListPickerSection value initialized to the specified settings.", AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_PRM_DSC_0: "The list picker item title.", AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_PRM_DSC_1: "Whether multiple selection is enabled for the list picker.", AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_PRM_DSC_2: "A collection of list picker items", AR_FN_LISTPICKERSECTION_MAKELISTPICKERSECTION_STR_BLN_LISTPICKERITEM_COLL_EX_OUT_0: 'A ListPickerSection named "Sides" with MultiSelect enabled and with two ListPickerItems, "Fries" and "Soup"', AR_FN_DSC_MAKELISTPICKER: "Returns a new instance of a ListPicker value initialized with the specified settings.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_DSC: "Creates a new instance of a ListPicker value initialized with the specified settings.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_RV: "Returns a new instance of a ListPicker value initialized to the specified settings.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_0: "A collection of ListPickerSections.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_1: "The image to use for the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_2: "The title of the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_3: "The subtitle of the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_4: "The image to use for the reply message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_PRM_DSC_5: "The subtitle of the reply message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_EX_OUT_0: "A ListPicker", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_DSC: "Creates a new instance of a ListPicker value initialized with the specified settings.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_RV: "Returns a new instance of a ListPicker value initialized to the specified settings.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_0: "A collection of ListPickerSections.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_1: "The image to use for the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_2: "The title of the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_3: "The subtitle of the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_4: "The image to use for the reply message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_5: "The subtitle of the reply message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_PRM_DSC_6: "The button text of the received message.", AR_FN_LISTPICKER_MAKELISTPICKER_LISTPICKERSECTION_COLL_IMAGE_STR_STR_IMAGE_STR_STR_EX_OUT_0: "A ListPicker", AR_FN_DSC_MAKETIMEPICKER: "Returns a new instance of a TimePicker value initialized with the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_DSC: "Creates a new instance of a TimePicker value initialized with the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_RV: "Returns a new instance of a TimePicker value initialized to the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_0: "The TimePicker title.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_1: "The TimePicker subtitle.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_2: "The image to use for the TimePicker.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_3: "The address to use for the TimePicker.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_4: "The latitude to use for the TimePicker.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_PRM_DSC_5: "The longitude to use for the TimePicker.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_0: "A TimePicker value with a title, subtitle, and image", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_1: "A TimePicker value with a title, a NOT_SET subtitle, and an image", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_2: "A TimePicker value with a title, a NOT_SET subtitle, and a NOT_SET image", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_IMAGE_ADDRESS_LATITUDE_LONGITUDE_EX_OUT_3: "A TimePicker value with a title, a NOT_SET subtitle, a NOT_SET image, an address, a latitude, and a longitude", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_DSC: "Creates a new instance of a TimePicker value initialized with the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_RV: "Returns a new instance of a TimePicker value initialized to the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_PRM_DSC_0: "The TimePicker title.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_PRM_DSC_1: "The TimePicker subtitle.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_STR_EX_OUT_0: "A TimePicker value with a title and subtitle", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_DSC: "Creates a new instance of a TimePicker value initialized with the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_RV: "Returns a new instance of a TimePicker value initialized to the specified settings.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_PRM_DSC_0: "The TimePicker title.", AR_FN_TIMEPICKER_MAKETIMEPICKER_STR_EX_OUT_0: "A TimePicker value with a title", AR_FN_DSC_MAKETIMESLOT: "Returns a new instance of a Timeslot value initialized with the specified settings.", AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_DSC: "Creates a new instance of a Timeslot value initialized with the specified settings.", AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_RV: "Returns a new instance of a Timeslot value initialized to the specified settings.", AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_PRM_DSC_0: "The Coordinated Universal Time (UTC) dateTime for the timeslot.", AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_PRM_DSC_1: "The duration for the timeslot.", AR_FN_TIMESLOT_MAKETIMESLOT_DTM_DUR_EX_OUT_0: 'A Timeslot value with date time of "2024-08-04T00:00:00.000Z" and duration of "one hour thirty minutes"', AR_FN_DSC_MAKELISTTIMESLOT: "Creates a new Timeslot value collection from the specified input.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_DSC: "Creates a Timeslot collection where each item is a Timeslot value created from the items in the dateTime collection with the duration input assigned.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_RV: "Returns the new Timeslot values.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_PRM_DSC_0: "A DateTime collection.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_PRM_DSC_1: "A Duration value that will be used for each item in the returned Timeslot collection.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_EX_OUT_0: 'A TimeSlot collection with two items: the first item having a datetime of "2024-08-04T14:00:00.000Z" and the second item having a datetime of "2024-08-04T15:00:00.000Z". Both timeslot items have a duration of "1 hour".', AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_DSC: "Creates a Timeslot collection where each item is a Timeslot value created by combining the items in the dateTime and duration collections. The input collections need to be of equal length.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_RV: "Returns the new Timeslot values.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_PRM_DSC_0: "A DateTime collection.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_PRM_DSC_1: "A Duration collection.", AR_FN_TIMESLOT_COLL_MAKELISTTIMESLOT_DTM_COLL_DUR_COLL_EX_OUT_0: 'A TimeSlot collection with two items: the first item having a datetime of "2024-08-04T14:00:00.000Z" and duration of "1 hour", and the second item having a datetime of "2024-08-04T15:00:00.000Z" and duration of "2 hours".', AR_FN_DSC_MAKESHIPPINGOPTION: "Returns a new instance of a ShippingOption value initialized with the specified settings.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_DSC: "Creates a new instance of a ShippingOption value initialized with the specified settings.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_RV: "Returns a new instance of a ShippingOption value initialized to the specified settings.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_0: "The shipping option label.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_1: "The shipping option identifier.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_2: "The shipping details.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_PRM_DSC_3: "The shipping option price.", AR_FN_SHIPPINGOPTION_MAKESHIPPINGOPTION_STR_STR_STR_CUR_EX_OUT_0: 'A ShippingOption value with id "standard", label "Standard Shipping", price $5.99 USD, and shipping details of 3-4 days', AR_FN_DSC_TOSHIPPINGOPTION: "Returns a copy of the supplied ShippingOption.", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_DSC: "Returns a copy of the supplied ShippingOption", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_RV: "Returns a copy of the supplied ShippingOption.", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_PRM_DSC_0: "The ShippingOption to copy", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_SHIPPINGOPTION_EX_OUT_0: "A ShippingOption which is a copy of the supplied ShippingOption", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_DSC: "Converts NOT_SET to a NOT_SET ShippingOption.", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_RV: "Returns a NOT_SET ShippingOption value.", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_SHIPPINGOPTION_TOSHIPPINGOPTION_NTS_EX_OUT_0: "A NOT_SET ShippingOption.", AR_FN_DSC_MAKELISTAGENTSCOREPAIR: "Returns a new collection of type AgentScorePair created from input collections.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_DSC: "Creates an AgentScorePair collection by combining items from a User collection and a preferred agent routing score Integer collection. The algorithm merges item data on a per index basis so input collections must have the same number of items.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_RV: "Returns the collection created by combining items from the supplied User and preferred agent routing score Integer collections.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_PRM_DSC_0: "Supplies User values for the agent property on AgentScorePair items in the returned collection.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_USR_COLL_LNG_COLL_PRM_DSC_1: "Supplies preferred agent routing scores for the score property on AgentScorePair items in the returned collection.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_DSC: "Creates an AgentScorePair collection by combining User values looked up from a user ID String collection and a preferred agent routing score Integer collection. The algorithm merges item data on a per index basis so input collections must have the same number of items.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_RV: "Returns the collection created by combining looked up User values and preferred agent routing scores.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_PRM_DSC_0: "A collection of user IDs to look up. Identifiers will be matched in a case insensitive manner. The looked up User values supply the agent property value on AgentScorePair items in the returned collection.", AR_FN_AGENTSCOREPAIR_COLL_MAKELISTAGENTSCOREPAIR_STR_COLL_LNG_COLL_PRM_DSC_1: "Supplies preferred agent routing scores for the score property on AgentScorePair items in the returned collection.", AR_FN_DSC_MAKELISTCOMMUNICATION: "Returns a new Communication collection value from the specified input.", AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_DSC: "Creates a Communication collection from the supplied input collection by calling ToCommunication on each item in the input collection and inserting it in the resulting Communication collection at the same index.", AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_RV: "Returns a Communication collection value from the supplied input collection.", AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_PRM_DSC_0: "A collection of values whose type is an Any type such as a String collection or Integer collection.", AR_FN_COMMUNICATION_COLL_MAKELISTCOMMUNICATION_ANY_COLL_EX_OUT_0: 'A Communication collection with two items. The first Communication item has text and audio for "Value Label 1" and the second Communication item has text and audio for "Value Label 2".', AR_FN_DSC_MAKEQUICKREPLIES: "Returns a new QuickReplies value initialized with the specified choices.", AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_DSC: "Creates a new QuickReplies value with the buttons property set to the supplied choice collection. Remember that you can only use postback choices in the buttons collection.", AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_RV: "Returns the new QuickReplies value.", AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_PRM_DSC_0: 'The choices to use for the quick replies buttons. Individual choices in this array should not be of type "url" as quick replies do not support URLs.', AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_DSC: "Creates a new QuickReplies value with the buttons property set to the supplied choice collection. Remember that you can only use postback choices in the buttons collection.", AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_RV: "Returns the new QuickReplies value.", AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_PRM_DSC_0: 'The choices to use for the quick replies buttons. Individual choices in this array should not be of type "url" as quick replies do not support URLs.', AR_FN_QUICKREPLIES_MAKEQUICKREPLIES_CHOICES_COLL_STR_PRM_DSC_1: 'Summary displayed in supporting messaging platforms after the user selects a quick reply. e.g. "Thanks for your selection"', AR_FN_DSC_MAKEVIDEOFROMURL: "Returns a new instance of a Video value from a URL.", AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_DSC: "Creates a new instance of a Video value from a URL.", AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_RV: "Returns a new instance of a Video value initialized to the specified settings.", AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_PRM_DSC_0: "The URL to the video.", AR_FN_VIDEO_MAKEVIDEOFROMURL_STR_EX_OUT_0: 'A Video value with the universal resource locator (url) property value of "https://www.genesys.com/media/genesys-digital-bot-flows.mov".', AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_DSC: "Creates a NOT_SET Video.", AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_RV: "Returns a NOT_SET Video value.", AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_VIDEO_MAKEVIDEOFROMURL_NTS_EX_OUT_0: "A NOT_SET Video.", AR_FN_DSC_RESOLVESLOT: "Gets a localized value for a list slot type Slot variable.", AR_FN_ANY_RESOLVESLOT_ANY_DSC: "This gets the localized value for the supplied Slot variable value if the slot type for the variable is a list. If the slot type associated with the variable is not a list, this function returns the Slot variable value.", AR_FN_ANY_RESOLVESLOT_ANY_RV: "Returns the localized value for the supplied Slot variable if the variable's slot type is a list. Otherwise, the Slot variable value is returned.", AR_FN_ANY_RESOLVESLOT_ANY_PRM_DSC_0: "The Slot variable to resolve.", AR_FN_ANY_RESOLVESLOT_ANY_EX_OUT_0: 'The localized String value configured on the "PizzaSizeType" slot type for the value "small" such as "peque\xF1a".', AR_FN_ANY_RESOLVESLOT_ANY_ANY_DSC: "This gets the localized value for the supplied Slot variable value if the slot type for the variable is a list. If the slot type associated with the variable is not a list, this function returns the Slot variable value. This implementation also lets you specify a value to return if the supplied Slot variable value is NOT_SET.", AR_FN_ANY_RESOLVESLOT_ANY_ANY_RV: "If the supplied Slot variable value is NOT_SET, the value supplied in the slotNotSetReturnValue parameter is returned. Otherwise this returns the localized value for the supplied Slot variable if the variable's slot type is a list. If the variable slot type is not a list, the Slot variable value is returned.", AR_FN_ANY_RESOLVESLOT_ANY_ANY_PRM_DSC_0: "The Slot variable to resolve.", AR_FN_ANY_RESOLVESLOT_ANY_ANY_PRM_DSC_1: "If the value of the Slot variable is NOT_SET, this value will be returned. Remember that the value specified here must be the same data type as the Slot variable itself so if the Slot variable is a String, the value supplied here must be a String.", AR_FN_ANY_RESOLVESLOT_ANY_ANY_EX_OUT_0: '"" if the Slot.AccountType value is NOT_SET.', AR_FN_DSC_RESOLVESLOTTYPELISTVALUE: "Gets a localized String value for a list or dynamic list slot type value.", AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_DSC: "This gets a localized String value based on the language in which the flow is running from a list or dynamic slot list slot type by specifying the slot type by name and value to look up.", AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_RV: "Returns the localized String value for the supplied list or dynamic list slot type name and supplied slot type value. If the slot type or value in the list is not found, a NOT_SET String value is returned.", AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_PRM_DSC_0: "The name of the list or dynamic list slot type. The slot type name is matched case sensitively. If a NOT_SET slot type name is specified, a NOT_SET String value is returned.", AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_PRM_DSC_1: "The slot type value to look up. The value is matched case sensitively. If a NOT_SET value is specified, a NOT_SET String value is returned.", AR_FN_STR_RESOLVESLOTTYPELISTVALUE_STR_STR_EX_OUT_0: 'The localized String value configured on the "PizzaSizeType" slot type for the value "small" such as "peque\xF1a".', AR_FN_DSC_MAKELISTCURRENCY: "Returns a new Currency value collection from the specified input.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_DSC: "Returns a Currency collection from the specified Decimal input collection and assigns the specified ISO 4217 currency code to each item in the returned currency collection.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_RV: "Returns a Currency collection with each item set to the value from the corresponding Decimal collection. Each item will have their code set to the ISO 4217 currency code specified in the 2nd parameter.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_PRM_DSC_0: "A Decimal collection of amounts that will become the amounts in the returned Currency collection.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_PRM_DSC_1: "The ISO 4217 currency code to assign to each item in the returned Currency collection.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_EX_OUT_0: 'A currency collection with two items. The first item has an amount of 10.50, the second item has an amount of 2.50, and both items have a code of "USD".', AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_EX_OUT_1: 'A currency collection with two items. The first item has an amount of 10.50, the second item has a NOT_SET amount, and both items have a Cde of "USD".', AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_DSC: "Returns a Currency collection based on the specified Decimal and String input collections. The input collections have to have the same number of items for the currency list to be created.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_RV: "Returns a Currency collection where each item is a Currency value created from the items in the amounts and currencyCodes collections.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_PRM_DSC_0: "A Decimal collection of amounts that will become the amounts in the returned Currency collection.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_PRM_DSC_1: "A collection of ISO 4217 currency codes to assign to each item in the returned Currency collection. The number of items in this collection should be the same as the number of items in the amounts collection.", AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_EX_OUT_0: 'A currency collection with two items. The first Currency item has an amount of 10.50 and code of "USD". The second Currency item has an amount of 2.50 and code of "EUR".', AR_FN_CUR_COLL_MAKELISTCURRENCY_DEC_COLL_STR_COLL_EX_OUT_1: 'A currency collection with two items. The first Currency item has an amount of 10.50 and NOT_SET code. The second Currency item has a NOT_SET amount and code of "EUR".', AR_FN_DSC_TOCURRENCY: "Converts a value to a Currency.", AR_FN_CUR_TOCURRENCY_STR_DSC: "Converts a String value to a Currency.", AR_FN_CUR_TOCURRENCY_STR_RV: "Returns a Currency value for the specified String.", AR_FN_CUR_TOCURRENCY_STR_PRM_DSC_0: 'The String to convert to a Currency value. The format should be "[amount]|[code]" where amount is a decimal value and code is an ISO 4217 currency code or blank.', AR_FN_CUR_TOCURRENCY_STR_EX_OUT_0: 'A Currency value with an amount of 5.00 and code of "USD" (United States dollars).', AR_FN_CUR_TOCURRENCY_STR_EX_OUT_1: 'A Currency value with a NOT_SET amount and code of "EUR" (Euros).', AR_FN_CUR_TOCURRENCY_STR_EX_OUT_2: "A Currency value with an amount of 5.00 and NOT_SET code.", AR_FN_CUR_TOCURRENCY_STR_EX_OUT_3: "A Currency value with an amount of 5.00 and NOT_SET code.", AR_FN_CUR_TOCURRENCY_STR_EX_OUT_4: "A NOT_SET Currency.", AR_FN_CUR_TOCURRENCY_DEC_DSC: "Converts a Decimal to a Currency without a code.", AR_FN_CUR_TOCURRENCY_DEC_RV: "Returns a Currency value from the specified Decimal.", AR_FN_CUR_TOCURRENCY_DEC_PRM_DSC_0: "The Decimal to convert to a Currency value.", AR_FN_CUR_TOCURRENCY_DEC_EX_OUT_0: "A Currency value with an amount of 5.00 and NOT_SET code.", AR_FN_CUR_TOCURRENCY_LNG_DSC: "Converts an Integer to a Currency without a code.", AR_FN_CUR_TOCURRENCY_LNG_RV: "Returns a Currency value from the supplied Integer.", AR_FN_CUR_TOCURRENCY_LNG_PRM_DSC_0: "The Integer to convert to a Currency value.", AR_FN_CUR_TOCURRENCY_LNG_EX_OUT_0: "A Currency value with an amount of 5 and NOT_SET code.", AR_FN_CUR_TOCURRENCY_NTS_DSC: "Converts NOT_SET to a NOT_SET Currency.", AR_FN_CUR_TOCURRENCY_NTS_RV: "Returns a NOT_SET Currency value.", AR_FN_CUR_TOCURRENCY_NTS_PRM_DSC_0: "The NOT_SET value.", AR_FN_CUR_TOCURRENCY_NTS_EX_OUT_0: "A NOT_SET Currency.", AR_FN_CUR_TOCURRENCY_CUR_DSC: "Returns a Currency from the supplied Currency value.", AR_FN_CUR_TOCURRENCY_CUR_RV: "Returns the supplied Currency value.", AR_FN_CUR_TOCURRENCY_CUR_PRM_DSC_0: "The Currency to return.", AR_FN_CUR_TOCURRENCY_CUR_EX_OUT_0: 'A Currency value with an amount of 5.25 and code of "USD" (United States dollars)', AR_FN_DSC_GETCURRENCYSYMBOL: "Returns the symbol for the specified ISO 4217 currency code.", AR_FN_STR_GETCURRENCYSYMBOL_STR_DSC: "Returns the currency symbol for the specified ISO 4217 currency code.", AR_FN_STR_GETCURRENCYSYMBOL_STR_RV: "Returns a Currency symbol for the specified String.", AR_FN_STR_GETCURRENCYSYMBOL_STR_PRM_DSC_0: "The ISO 4217 currency code for which you wish to get the currency symbol.", AR_FN_STR_GETCURRENCYSYMBOL_CUR_DSC: "Returns the currency symbol for the specified currency.", AR_FN_STR_GETCURRENCYSYMBOL_CUR_RV: "Returns a Currency symbol for the specified String.", AR_FN_STR_GETCURRENCYSYMBOL_CUR_PRM_DSC_0: "A Currency from which to get the symbol.", AR_FN_DSC_CONVERTCURRENCY: "Converts a currency from one code to another.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DSC: "Converts a currency from one code to another keeping the amount the same.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_RV: "Returns the converted Currency value. Note that if sourceCurrency itself is NOT_SET, then a NOT_SET Currency is returned.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_PRM_DSC_0: "The Currency to convert.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_PRM_DSC_1: "The ISO 4217 currency code for the returned Currency value.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_0: 'A Currency with an amount of 5.00 and code of "EUR".', AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_1: 'A Currency with an amount of 5.00 and code of "EUR".', AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_2: 'A Currency with a NOT_SET amount and code of "EUR".', AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_3: "A Currency with a NOT_SET amount and NOT_SET code.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_EX_OUT_4: "A NOT_SET Currency.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_DSC: "Converts a currency from one code to another using a specified conversion rate.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_RV: "Returns the converted Currency value.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_PRM_DSC_0: "The Currency to convert.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_PRM_DSC_1: "The ISO 4217 currency code for the returned Currency value.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_PRM_DSC_2: "The exchange rate from the sourceCurrency input to the destination currency.", AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_0: 'A Currency with an amount of 3.4685 and code of "EUR".', AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_1: 'A Currency with an amount of 3.4685 and code of "EUR".', AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_2: 'A Currency with a NOT_SET amount and code of "EUR".', AR_FN_CUR_CONVERTCURRENCY_CUR_STR_DEC_EX_OUT_3: "A NOT_SET Currency.", AR_FN_DSC_TOAUDIOTTS: "Creates an Audio from text.", AR_FN_AUDIO_TOAUDIOTTS_STR_DSC: "Creates an Audio from the supplied text using the text to speech engine for the flow's currently executing language.", AR_FN_AUDIO_TOAUDIOTTS_STR_RV: "Returns Audio from the submitted String.", AR_FN_AUDIO_TOAUDIOTTS_STR_PRM_DSC_0: "The text to convert to Audio.", AR_FN_AUDIO_TOAUDIOTTS_STR_EX_OUT_0: 'Audio for the string "Hello" spoken via. text to speech.', AR_FN_AUDIO_TOAUDIOTTS_STR_EX_OUT_1: "Blank Audio of 0ms duration. See the ToAudioBlank function if you wish to create blank Audio with a duration.", AR_FN_AUDIO_TOAUDIOTTS_STR_STR_DSC: "Creates an Audio from the supplied text using the text to speech engine for a specified IETF language tag.", AR_FN_AUDIO_TOAUDIOTTS_STR_STR_RV: "Returns Audio from the submitted String.", AR_FN_AUDIO_TOAUDIOTTS_STR_STR_PRM_DSC_0: "The text to convert to Audio.", AR_FN_AUDIO_TOAUDIOTTS_STR_STR_PRM_DSC_1: "The IETF language tag of the text to speech engine to use for the pronunciation of the supplied text.", AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_0: 'Audio for the string "Hello" spoken via. the English (United States) (en-US) text to speech engine.', AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_1: 'Audio for the string "Bonjour" spoken via. the French (Canada) (fr-CA) text to speech engine.', AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_2: 'Audio for the string "Hola" spoken via. the Spanish (United States) (es-US) text the to speech engine.', AR_FN_AUDIO_TOAUDIOTTS_STR_STR_EX_OUT_3: "Blank Audio of 0ms duration. See the ToAudioBlank function if you wish to create blank Audio with a duration.", AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_DSC: "Creates an Audio from text using text to speech with the option to read characters individually using the text to speech engine for the flow's currently executing language.", AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_RV: "Returns Audio from the submitted String.", AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_PRM_DSC_0: "The text to convert to Audio.", AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_PRM_DSC_1: "The formatting used for the returned Audio.", AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_EX_OUT_0: 'Audio of "H e l l o" where each letter is spoken individually.', AR_FN_AUDIO_TOAUDIOTTS_STR_STRINGFORMAT_EX_OUT_1: "Blank Audio of 0ms duration. See the ToAudioBlank function if you wish to create blank Audio with a duration.", AR_FN_DSC_TOAUDIOBLANK: "Creates blank Audio which can be used to provide a pause in audio playback.", AR_FN_AUDIO_TOAUDIOBLANK_LNG_DSC: "Creates blank Audio for a specified number of milliseconds.", AR_FN_AUDIO_TOAUDIOBLANK_LNG_RV: "Returns blank Audio of length specified in the lengthMS parameter.", AR_FN_AUDIO_TOAUDIOBLANK_LNG_PRM_DSC_0: "The number of milliseconds of blank audio to create.", AR_FN_AUDIO_TOAUDIOBLANK_LNG_EX_OUT_0: "Blank Audio with a duration of 500 milliseconds.", AR_FN_AUDIO_TOAUDIOBLANK_LNG_EX_OUT_1: 'Audio for "Hello" followed by one second of blank audio and then "World".', AR_FN_DSC_TOAUDIOBOOL: "Creates an Audio from a boolean value.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_DSC: "Creates an Audio from a Boolean.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_RV: "Returns Audio from the submitted Boolean.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_PRM_DSC_0: "The boolean to convert to Audio.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_EX_OUT_0: 'Audio of "True".', AR_FN_AUDIO_TOAUDIOBOOL_BLN_EX_OUT_1: "Blank Audio.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_DSC: "Creates an Audio from a Boolean.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_RV: "Returns Audio from the submitted Boolean.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_PRM_DSC_0: "The boolean value to convert to Audio.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_PRM_DSC_1: "Formatting information for the returned Audio.", AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_EX_OUT_0: 'Audio of "No".', AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_EX_OUT_1: 'Audio of "Yes".', AR_FN_AUDIO_TOAUDIOBOOL_BLN_BOOLFORMATENUM_EX_OUT_2: "Blank Audio.", AR_FN_DSC_TOAUDIODURATION: "Creates an Audio from a Duration value.", AR_FN_AUDIO_TOAUDIODURATION_DUR_DSC: "Creates an Audio from a Duration value down to seconds. Milliseconds on the Duration value are not part of the returned Audio.", AR_FN_AUDIO_TOAUDIODURATION_DUR_RV: "Returns Audio from the submitted Duration value.", AR_FN_AUDIO_TOAUDIODURATION_DUR_PRM_DSC_0: "The Duration value to convert to Audio.", AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_0: 'Audio of "one hour thirty minutes".', AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_1: 'Audio of "negative thirty minutes".', AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_2: 'Audio of "one hour thirty minutes and five seconds".', AR_FN_AUDIO_TOAUDIODURATION_DUR_EX_OUT_3: "A NOT_SET Audio.", AR_FN_DSC_TOAUDIOPHONENUMBER: "Creates an Audio for phone number playback.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_DSC: "Creates an Audio from a PhoneNumber value where the audio is the phone number played back in global format which uses the country code.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_RV: "Returns Audio from the submitted PhoneNumber.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PRM_DSC_0: "The PhoneNumber to convert to Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_0: 'Globally formatted phone number Audio of "plus one three one seven eight seven two three zero zero zero".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_1: 'Globally formatted phone number Audio for the phone number in Call.Ani if Call.Ani is a "tel" scheme phone number, otherwise blank Audio.', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_2: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_EX_OUT_3: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_DSC: "Creates an Audio from a PhoneNumber value where the audio is the phone number played back in global or local format as specified by a parameter.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_RV: "Returns Audio from the submitted PhoneNumber.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_PRM_DSC_0: "The PhoneNumber to convert to Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_PRM_DSC_1: "Whether or not to use local or global formatting on the returned Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_0: 'Locally formatted phone number Audio of "three one seven eight seven two three zero zero zero".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_1: 'Globally formatted phone number Audio of "plus one three one seven eight seven two three zero zero zero".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_2: 'Locally formatted phone number Audio of "zero seven five five five five one two one two".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_3: 'Globally formatted phone number Audio for the phone number in Call.Ani if Call.Ani is a "tel" scheme phone number, otherwise blank Audio.', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_4: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_PHONENUMBERFORMATENUM_EX_OUT_5: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_DSC: "Creates an Audio from a PhoneNumber value where the audio is the phone number played back in global or local format depending on the dialing code passed in.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_RV: "Returns Audio from the submitted PhoneNumber.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_PRM_DSC_0: "The PhoneNumber to convert to Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_PRM_DSC_1: "If the dialing code specified here matches the dialing code in the phoneNumber parameter, local formatting will be used for the returned phone number Audio. Otherwise global formatting will be used.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_0: 'Locally formatted phone number Audio of "three one seven eight seven two three zero zero zero".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_1: 'Globally formatted phone number Audio of "plus one three one seven eight seven two three zero zero zero".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_2: 'Globally formatted phone number Audio of "plus one three one seven eight seven two three zero zero zero".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_3: 'Locally formatted phone number Audio of "zero seven five five five five one two one two".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_4: 'Globally formatted phone number Audio for the phone number in Call.Ani if the dialing code is other than "1" and Call.Ani is a "tel" scheme phone number, otherwise blank Audio.', AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_5: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_PHNBR_STR_EX_OUT_6: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_DSC: "Creates an Audio from a String value where only numbers in the string are played back in the returned Audio.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_RV: "Returns Audio from the submitted String.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_PRM_DSC_0: "The string to convert to Audio as a phone number.", AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_0: 'Audio for "eight one two five five five one two three four".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_1: 'Audio for "eight one two five five five one two three four".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_2: 'Audio for "eight one two five five five one two three four".', AR_FN_AUDIO_TOAUDIOPHONENUMBER_STR_EX_OUT_3: "Blank Audio.", AR_FN_DSC_TOAUDIOCURRENCY: "Creates an Audio from a Currency value.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_DSC: "Creates an Audio from a Currency value localized to the current language for the flow.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_RV: "Returns Audio from the submitted Currency.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_PRM_DSC_0: "The Currency value to convert to Audio.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_0: 'Audio for "one million two hundred thirty four thousand five hundred sixty seven dollars and zero cents".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_1: 'Audio for "one dollar and twenty three cents".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_2: 'Audio for "one dollar and twenty three cents".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_3: "Blank Audio.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_EX_OUT_4: 'Audio for "one dollar and fifty seven cents".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_DSC: "Creates an Audio from a Currency value localized to the current language for the flow.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_RV: "Returns Audio from the submitted Currency.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_PRM_DSC_0: "The Currency value to convert to Audio.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_PRM_DSC_1: "Formatting information for the returned Audio.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_0: 'Audio for "one million two hundred thirty four thousand five hundred sixty seven dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_1: 'Audio for "eighty cents".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_2: 'Audio for "two hundred eighty cents".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_3: 'Audio for "one point two three dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_4: 'Audio for "three zero point two zero dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_5: 'Audio for "zero point two zero dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_CURRENCYFORMAT_EX_OUT_6: "Blank Audio.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_DSC: "Creates an Audio from a Currency value localized to the current language for the flow played in decimal format with a specified number of decimal places.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_RV: "Returns Audio from the submitted Currency.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_PRM_DSC_0: "The Currency value to convert to Audio.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_PRM_DSC_1: "The number of decimal places to include in the audio output.", AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_0: 'Audio for "one point two dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_1: 'Audio for "one point two three dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_2: 'Audio for "negative thirty five point two three dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_3: 'Audio for "one point two three zero dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_4: 'Audio for "one point two three dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_5: 'Audio for "twenty one point two three dollars".', AR_FN_AUDIO_TOAUDIOCURRENCY_CUR_LNG_EX_OUT_6: "Blank Audio.", AR_FN_DSC_TOAUDIOPERCENT: "Creates Audio from an Integer value to be read as a percent.", AR_FN_AUDIO_TOAUDIOPERCENT_LNG_DSC: "Creates Audio from an Integer value to be read as a percent.", AR_FN_AUDIO_TOAUDIOPERCENT_LNG_RV: "Returns Audio from the submitted Integer.", AR_FN_AUDIO_TOAUDIOPERCENT_LNG_PRM_DSC_0: "The Integer value to convert to Audio.", AR_FN_AUDIO_TOAUDIOPERCENT_LNG_EX_OUT_0: 'Audio for "one hundred twenty three percent".', AR_FN_AUDIO_TOAUDIOPERCENT_LNG_EX_OUT_1: 'Audio for "five percent".', AR_FN_AUDIO_TOAUDIOPERCENT_LNG_EX_OUT_2: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_DSC: "Creates an Audio from a Decimal value to be read as a percent.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_PRM_DSC_0: "The Decimal value to convert to Audio.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_EX_OUT_0: 'Audio for "one hundred, twenty three point twelve percent".', AR_FN_AUDIO_TOAUDIOPERCENT_DEC_EX_OUT_1: 'Audio for "zero point two percent".', AR_FN_AUDIO_TOAUDIOPERCENT_DEC_EX_OUT_2: "Blank Audio.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_DSC: "Creates an Audio from a Decimal value to be read as a percent, with the ability to specify how many decimal digits to play.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_PRM_DSC_0: "The Decimal value to be played as audio.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_PRM_DSC_1: "Number of decimal places to read in the returned Audio.", AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_0: 'Audio for "one hundred twenty three point one two percent".', AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_1: 'Audio for "one hundred twenty three point one percent".', AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_2: 'Audio for "one hundred twenty three point one two zero percent".', AR_FN_AUDIO_TOAUDIOPERCENT_DEC_LNG_EX_OUT_3: "Blank Audio.", AR_FN_DSC_TOAUDIODATE: "Creates an Audio from a Date.", AR_FN_AUDIO_TOAUDIODATE_DTM_DSC: "Creates a date Audio from a DateTime.", AR_FN_AUDIO_TOAUDIODATE_DTM_RV: "Returns Audio for the Date portion of the submitted DateTime.", AR_FN_AUDIO_TOAUDIODATE_DTM_PRM_DSC_0: "The DateTime value to convert to Audio.", AR_FN_AUDIO_TOAUDIODATE_DTM_EX_OUT_0: 'Audio for "Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATE_DTM_EX_OUT_1: "Blank Audio.", AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_DSC: "Creates an Audio for the year from a DateTime with formatting support.", AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_RV: "Returns Audio for the Date portion of the submitted DateTime.", AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_PRM_DSC_0: "The DateTime value to convert to Audio.", AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_PRM_DSC_1: "Formatting information for the returned Audio.", AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_0: 'Audio for "Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_1: 'Audio for "Thursday November thirtieth nineteen eighty nine".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_2: 'Audio for "Thursday November thirtieth".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_3: 'Audio for "Seventh".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_4: 'Audio for "April".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_5: 'Audio for "twenty fourteen".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_6: 'Audio for "two thousand fourteen".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_7: 'Audio for "Wednesday".', AR_FN_AUDIO_TOAUDIODATE_DTM_DATETIMEFORMATENUM_EX_OUT_8: "Blank audio.", AR_FN_AUDIO_TOAUDIODATE_DATE_DSC: "Creates a date Audio from a Date.", AR_FN_AUDIO_TOAUDIODATE_DATE_RV: "Returns Audio for the Date.", AR_FN_AUDIO_TOAUDIODATE_DATE_PRM_DSC_0: "The Date value to convert to Audio.", AR_FN_AUDIO_TOAUDIODATE_DATE_EX_OUT_0: 'Audio for "Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATE_DATE_EX_OUT_1: "Blank Audio.", AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_DSC: "Creates an Audio for the date with formatting support.", AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_RV: "Returns Audio for the Date with specified format.", AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_PRM_DSC_0: "The Date value to convert to Audio.", AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_PRM_DSC_1: "Formatting information for the returned Audio.", AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_0: 'Audio for "Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_1: 'Audio for "Thursday November thirtieth nineteen eighty nine".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_2: 'Audio for "Thursday November thirtieth".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_3: 'Audio for "Seventh".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_4: 'Audio for "April".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_5: 'Audio for "twenty fourteen".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_6: 'Audio for "two thousand fourteen".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_7: 'Audio for "Wednesday".', AR_FN_AUDIO_TOAUDIODATE_DATE_DATEFORMATENUM_EX_OUT_8: "Blank audio.", AR_FN_DSC_TOAUDIODATETIME: "Creates an Audio from a DateTime.", AR_FN_AUDIO_TOAUDIODATETIME_DTM_DSC: "Creates an Audio from a DateTime.", AR_FN_AUDIO_TOAUDIODATETIME_DTM_RV: "Returns Audio from the submitted DateTime value.", AR_FN_AUDIO_TOAUDIODATETIME_DTM_PRM_DSC_0: "The DateTime value to convert to Audio.", AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_0: 'Audio for "Two twenty two PM Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_1: 'Audio for "Two twenty two PM Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_2: 'Audio for "Twelve AM Thursday November thirtieth nineteen hundred eighty nine".', AR_FN_AUDIO_TOAUDIODATETIME_DTM_EX_OUT_3: "Blank Audio.", AR_FN_DSC_TOAUDIOTIME: "Creates an Audio from a DateTime input.", AR_FN_AUDIO_TOAUDIOTIME_DTM_DSC: "Creates an Audio from a DateTime and only plays the Time portion.", AR_FN_AUDIO_TOAUDIOTIME_DTM_RV: "Returns Audio for the submitted DateTime value.", AR_FN_AUDIO_TOAUDIOTIME_DTM_PRM_DSC_0: "The DateTime value to convert to Audio.", AR_FN_AUDIO_TOAUDIOTIME_DTM_EX_OUT_0: 'Audio for "Two twenty two PM" or "Fourteen twenty two" depending on active language.', AR_FN_AUDIO_TOAUDIOTIME_DTM_EX_OUT_1: 'Audio for "Twelve AM" or "Zero hours" depending on active language.', AR_FN_AUDIO_TOAUDIOTIME_DTM_EX_OUT_2: "Blank Audio.", AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_DSC: "Creates an Audio from a DateTime and only plays the Time portion.", AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_RV: "Returns Audio for the submitted DateTime value.", AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_PRM_DSC_0: "The DateTme value to convert to Audio.", AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_PRM_DSC_1: "Time Format Enum to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_EX_OUT_0: 'Audio for "Four teen twenty two".', AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_EX_OUT_1: 'Audio for "Two twenty two".', AR_FN_AUDIO_TOAUDIOTIME_DTM_TIMEFORMATENUM_EX_OUT_2: "Blank Audio.", AR_FN_DSC_TOAUDIO: "Converts a value to Audio.", AR_FN_AUDIO_TOAUDIO_PROMPT_DSC: "Converts a Prompt to Audio.", AR_FN_AUDIO_TOAUDIO_PROMPT_RV: "Returns Audio for the specified Prompt.", AR_FN_AUDIO_TOAUDIO_PROMPT_PRM_DSC_0: "The Prompt to convert to Audio. The prompt audio preference is first to get the audio configured on the prompt for the language in which the flow is currently running. If no audio is present, then the runtime will fall back to the text to speech configured on the prompt for the language in which the flow is currently running.", AR_FN_AUDIO_TOAUDIO_PROMPT_EX_OUT_0: "Audio for the Prompt.Welcome prompt for the language in which the current flow is running.", AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_DSC: "Converts a Prompt Collection to Audio.", AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_RV: "Returns Audio for the specified Prompt collection.", AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_PRM_DSC_0: "The Prompt collection to convert to Audio. The runtime preference for each prompt in the collection is to get the prompt audio for the language in which the current flow is running. If audio is not available for an individual prompt, the flow runtime will fall back to the text to speech configured on the prompt for the language in which the flow is currently running.", AR_FN_AUDIO_TOAUDIO_PROMPT_COLL_EX_OUT_0: "Audio for the Prompt.Hello prompt followed by audio for the Prompt.World prompt in the language in which the current flow is currently running.", AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_DSC: "Converts a VoicemailSnippet to Audio.", AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_RV: "Returns Audio for the specified VoicemailSnippet.", AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_PRM_DSC_0: "The VoicemailSnippet value to convert to Audio.", AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_EX_OUT_0: "Audio for the Voicemail.VoicemailSnippet variable.", AR_FN_AUDIO_TOAUDIO_VOICEMAILSNIPPET_EX_OUT_1: "A NOT_SET Audio.", AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_DSC: "Converts a VoiceSnippet to Audio.", AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_RV: "Returns Audio for the specified VoiceSnippet.", AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_PRM_DSC_0: "The VoiceSnippet value to convert to Audio.", AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_EX_OUT_0: "Audio for the Flow.ParticipantSnippet VoiceSnippet variable.", AR_FN_AUDIO_TOAUDIO_VOICESNIPPET_EX_OUT_1: "A NOT_SET Audio.", AR_FN_AUDIO_TOAUDIO_NTS_DSC: "Converts a NOT_SET value to a NOT_SET Audio.", AR_FN_AUDIO_TOAUDIO_NTS_RV: "Returns a NOT_SET Audio.", AR_FN_AUDIO_TOAUDIO_NTS_PRM_DSC_0: "The NOT_SET value to convert to Audio.", AR_FN_AUDIO_TOAUDIO_NTS_EX_OUT_0: "A NOT_SET Audio.", AR_FN_DSC_TOAUDIOSSML: "Creates Audio whose contents should be interpreted at runtime as SSML (Speech Synthesis Markup Language).", AR_FN_AUDIO_TOAUDIOSSML_STR_DSC: "Creates Audio from a String whose value is meant to be interpreted as an SSML fragment at flow runtime. All SSML start tags contained in the String value should have corresponding ending tags. Attempting to use open tags in one ToAudioSsml function call and ending tags in a subsequent ToAudioSsml call is not supported.", AR_FN_AUDIO_TOAUDIOSSML_STR_RV: "Returns an Audio value that should be interpreted as SSML at flow runtime.", AR_FN_AUDIO_TOAUDIOSSML_STR_PRM_DSC_0: "The String value that contains the SSML fragment. Supplying a NOT_SET String value will return a NOT_SET Audio value.", AR_FN_AUDIO_TOAUDIOSSML_STR_EX_OUT_0: 'An Audio value that instructs a text to speech engine to read back the String value "SSML" by pronouncing each character individually.', AR_FN_AUDIO_TOAUDIOSSML_STR_EX_OUT_1: 'An Audio value that instructs a text to speech engine to read back the number 5 as an ordinal such as "fifth".', AR_FN_AUDIO_TOAUDIOSSML_STR_EX_OUT_2: "A NOT_SET Audio value.", AR_FN_DSC_TOCOMMUNICATION: "Converts a value to a Communication value. Communication objects are like Audio except that they supply either audio or text for communication on the current media channel.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_DSC: "Converts an Any value to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_RV: "Returns a Communication for the submitted value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_PRM_DSC_0: "The value to convert to a Communication. If the value is NOT_SET, a blank Communication will be generated at runtime.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_EX_OUT_0: 'A Communication with audio for "uno" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_DSC: "Converts an Any collection value to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_RV: "Returns a Communication for the submitted collection value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_PRM_DSC_0: "The value to convert to a Communication. If the value is NOT_SET, a blank Communication will be generated at runtime.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_EX_OUT_0: 'A Communication with audio for "uno dos" and text of "1\\n2".', AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_DSC: "Converts an Any collection value to a Communication. The method calls ToCommunication on each element in the collection and appends it to the returned value for each item to the result Communication. Items in the returned Communication are delimited with the value specified in the delimiter parameter for the text value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_RV: "Returns a Communication for the submitted collection value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_PRM_DSC_0: "The collection value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_PRM_DSC_1: "The delimiter to use between items in the returned Communication. If the delimiter is a NOT_SET String, a newline will be used for the delimiter.", AR_FN_COMMUNICATION_TOCOMMUNICATION_ANY_COLL_STR_EX_OUT_0: 'A Communication with audio for "uno dos" and text of "1, 2".', AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_DSC: "Creates an Communication from a Boolean.", AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_RV: "Returns a Communication for the submitted Boolean value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_PRM_DSC_0: "The Boolean value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_PRM_DSC_1: "Formatting information for the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_EX_OUT_0: 'Communication with audio of "no" and text of "no".', AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_EX_OUT_1: 'Communication with audio of "yes" and text of "yes"', AR_FN_COMMUNICATION_TOCOMMUNICATION_BLN_BOOLFORMATENUM_EX_OUT_2: "A blank Communication with blank audio of 0ms duration and blank text. See the ToCommunicationBlank function if you wish to create blank Communication with a duration.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_DSC: "Creates a Communication from a Currency value localized to the current language for the flow.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_RV: "Returns a Communication for the submitted Currency value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_PRM_DSC_0: "The Currency value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_PRM_DSC_1: "Formatting information for the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_0: 'Communication with audio of "one million two hundred thirty four thousand five hundred sixty seven dollars" and text of "$1,234,567.00".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_1: 'Communication with audio of "eighty cents" and text of "$.80".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_2: 'Communication with audio of "two hundred eighty cents" and text of "280 cents".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_CURRENCYFORMAT_EX_OUT_3: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_DSC: "Creates a Communication from a Currency value localized to the current language for the flow played in decimal format with a specified number of decimal places.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_RV: "Returns a Communication for the submitted Currency value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_PRM_DSC_0: "The Currency value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_PRM_DSC_1: "The number of decimal places to include in the communication output.", AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_0: 'Communication for "one point three dollars".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_1: 'Communication for "one point two three dollars".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_2: 'Communication for "one point two three zero dollars".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_3: 'Communication for "negative thirty five point two three dollars".', AR_FN_COMMUNICATION_TOCOMMUNICATION_CUR_LNG_EX_OUT_4: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_DSC: "Creates a Communication for the year from a Date with formatting support.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_RV: "Returns a Communication for the submitted the Date value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_PRM_DSC_0: "The Date value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_PRM_DSC_1: "Formatting information for the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_0: 'Communication with audio of "Thursday November thirtieth nineteen hundred eighty nine" and text of "11/13/1989".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_1: 'Communication with audio of "Thursday November thirtieth nineteen eighty nine" and text of "11/13/89".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_2: 'Communication with audio of "Thursday November thirtieth" and text "Thursday, November 30th"', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_3: 'Communication with audio of "Seventh" and text of "7th".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_4: 'Communication with audio and text of "April".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_5: 'Communication with audio of "twenty fourteen" and text of "2014".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_6: 'Communication with audio of "two thousand fourteen" and text of "2014".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DATE_DATEFORMATENUM_EX_OUT_7: 'Communication with audio and text of "Wednesday".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_DSC: "Creates a Communication from a Decimal.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_RV: "Returns a Communication for the submitted Decimal value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_PRM_DSC_0: "The Decimal value to convert to a Communication. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits. If the Decimal value is an integral value, only the integral part will be played back.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_PRM_DSC_1: "Number formatting to be used in the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_EX_OUT_0: 'Communication with audio of "five point five" and text of "5 . 5".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_EX_OUT_1: 'Communication with audio of "negative five zero zero" and text of "- 5 0 0".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_NUMBERFORMATENUM_EX_OUT_2: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_DSC: "Creates a Communication from a Decimal with a specified number of decimal places.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_RV: "Returns a Communication for the submitted Decimal value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_PRM_DSC_0: "The Decimal value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_PRM_DSC_1: "The number of decimal places to include in the communication output.", AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_0: 'Communication with audio of "one point three" and text of "1.3".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_1: 'Communication with audio of "one point two three" and text of "1.23".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_2: 'Communication with audio of "one point two three zero" and text of "1.230".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_3: 'Communication with audio of "negative thirty five point one seven" and text of "-35.17".', AR_FN_COMMUNICATION_TOCOMMUNICATION_DEC_LNG_EX_OUT_4: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_DSC: "Creates a Communication from an Integer with language context.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_RV: "Returns a Communication for the submitted Integer value based on the supplied language context.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Integer to convert to a Communication. If the Integer value is NOT_SET, blank Communication will be returned.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Language contextual information on how to play back the number.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Communication with audio of "uno" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Communication with audio of "un" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Communication with audio of "unos" and text of "5".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Communication for "una" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: 'Communication with audio of "una" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_5: 'Communication with audio of "unas" and text of "5".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_6: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_DSC: "Creates a Communication from an Integer with formatting.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_RV: "Returns a Communication for the submitted Integer value with the supplied formatting option.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_PRM_DSC_0: "The Integer value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_PRM_DSC_1: "Number Format Enum to be used in the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_EX_OUT_0: 'Communication with audio of "five zero zero" and text of "5 0 0".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_EX_OUT_1: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_DSC: "Creates a Communication from an Integer with formatting and language context.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_RV: "Returns a Communication for the submitted Integer value with formatting and language context.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Integer value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Number Format Enum to be used in the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2: "Language contextual information on how to play back the number.", AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Communication with audio of "uno dos" and text of "1 2".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Communication with audio of "un un" and text of "1 1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Communication with audio of "unos unos" and text of "1 1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Communication with audio of "una dos" and text of "1 2".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: 'Communication with audio of "una unas" and text of "1 1".', AR_FN_COMMUNICATION_TOCOMMUNICATION_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_5: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_DSC: "Converts a NOT_SET value to a blank Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_RV: "Returns a blank Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_PRM_DSC_0: "The NOT_SET value to convert to a Communication object.", AR_FN_COMMUNICATION_TOCOMMUNICATION_NTS_EX_OUT_0: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_DSC: "Creates a Communication from text using text to speech with the option to read characters individually using the text to speech engine for the flow's currently executing language.", AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_RV: "Returns a Communication from the submitted String.", AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_PRM_DSC_0: "The text to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_PRM_DSC_1: "The formatting used for the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_EX_OUT_0: 'A Communication of "H e l l o" where each letter is communicated individually.', AR_FN_COMMUNICATION_TOCOMMUNICATION_STR_STRINGFORMAT_EX_OUT_1: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_DSC: "Creates a Communication from a Time.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_RV: "Returns a Communication for the submitted Time value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_PRM_DSC_0: "The Time value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_PRM_DSC_1: "Time Format Enum to be used in the returned Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_EX_OUT_0: 'Communication with audio of "Fourteen twenty two" and text of "14:22:11".', AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_EX_OUT_1: 'Communication with audio of "Two twenty two" and text of "02:22:11PM"', AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEFORMATENUM_EX_OUT_2: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_DSC: "Creates a Communication by obtaining a part from a Time.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_RV: "Returns a Communication for the submitted Time value.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_PRM_DSC_0: "The Time value to convert to a Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_PRM_DSC_1: "Time Part Enum to be used in the returned Communication. Format.TimePart.days is not valid for use in this parameter since time values do not have a day component.", AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_EX_OUT_0: 'Communication with audio of "Nine" and text of "9".', AR_FN_COMMUNICATION_TOCOMMUNICATION_TIME_TIMEPARTENUM_EX_OUT_1: 'Communication with audio of "Two twenty two" and text of "22"', AR_FN_DSC_TOCOMMUNICATIONBLANK: "Creates a blank Communication which can be used to provide a pause in communication playback.", AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_DSC: "Creates a blank Communication for a specified number of milliseconds.", AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_RV: "Returns blank Communication of length specified in the lengthMS parameter.", AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_PRM_DSC_0: "The number of milliseconds of blank communication to create.", AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_EX_OUT_0: "A Communication with blank audio with a duration of 500 milliseconds and blank text output that pauses for 500 milliseconds.", AR_FN_COMMUNICATION_TOCOMMUNICATIONBLANK_LNG_EX_OUT_1: "A Communication with blank audio with a duration of 0 milliseconds and blank text output that does not pause.", AR_FN_DSC_TOCOMMUNICATIONORDINAL: 'Creates a Communication from a number with ordinal playback such as "first", "second", ..., "seven hundred and sixteenth"', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_DSC: "Creates an ordinal Communication from an Integer.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_RV: "Returns ordinal Communication for the submitted Integer value.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_PRM_DSC_0: "The Integer to convert to a Communication. If the Integer value is less than 1 or greater than 999, the communication playback will be read as a normal number and not as an ordinal.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_0: 'Communication with audio of "first" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_1: 'Communication with audio of"two hundred and first" and text of "201".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_2: 'Communication with audio of "five hundredth" and text of "500".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_3: 'Communication with audio of "five thousand" and text of "5000".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_4: 'Communication with audio of "negative five hundred" and text of "-500".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_EX_OUT_5: "A NOT_SET Communication.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an ordinal Communication from an Integer with language context.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_RV: "Returns ordinal Communication for the submitted Integer value based on the supplied language context.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Integer to convert to a Communication. If the Integer value is NOT_SET, blank Communication will be returned. If the Integer value is less than 1 or greater than 999, the communication playback will be read as a normal number and not as an ordinal.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Language contextual information on how to play back the number.", AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Communication with audio of "premier" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Communication with audio of "premi\xE8re" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Communication with audio of "premier" and text of "1".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Communication with audio of "moins un" and text of "-1".', AR_FN_COMMUNICATION_TOCOMMUNICATIONORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: "A NOT_SET Communication.", AR_FN_DSC_TOCOMMUNICATIONSSML: "Creates a Communication whose contents should be interpreted at runtime as SSML (Speech Synthesis Markup Language).", AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_DSC: "Creates a Communication from a String whose value is meant to be interpreted as an SSML fragment at flow runtime. The SSML fragment should not contain any or tags. All SSML start tags contained in the String value should have corresponding ending tags. Attempting to use open tags in one ToCommunicationSsml function call and ending tags in a subsequent ToCommunicationSsml call is not supported.", AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_RV: "Returns a Communication value that should be interpreted as SSML at flow runtime.", AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_PRM_DSC_0: "The String value that contains the SSML fragment. Supplying a NOT_SET String value will return a NOT_SET Communication value.", AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_EX_OUT_0: 'A Communication value that instructs a text to speech engine to read back the String value "SSML" by pronouncing each character individually.', AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_EX_OUT_1: 'A Communication value that instructs a text to speech engine to read back the number 5 as an ordinal such as "fifth".', AR_FN_COMMUNICATION_TOCOMMUNICATIONSSML_STR_EX_OUT_2: "A NOT_SET Communication value.", AR_FN_DSC_TOMULTIMODALCOMMUNICATION: "Creates a Communication object with the ability to specify different Communication values for multiple output modes.", AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_DSC: "This overload lets you create a Communication object by supplying both voice and text mode Communication values.", AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_RV: "Returns a Communication object with the specified Communication values for voice and text modes.", AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_PRM_DSC_0: "The Communication value to use for voice mode.", AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_PRM_DSC_1: "The Communication value to use for text mode.", AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_EX_OUT_0: 'Communication with audio of "one" and text of "no".', AR_FN_COMMUNICATION_TOMULTIMODALCOMMUNICATION_COMMUNICATION_COMMUNICATION_EX_OUT_1: "A NOT_SET Communication.", AR_FN_DSC_TOAUDIONUMBER: "Creates an Audio from a number.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_DSC: "Creates an Audio from an Integer.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_RV: "Returns Audio for the submitted Integer value.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_PRM_DSC_0: "The Integer to convert to Audio. If the Integer value is NOT_SET, blank Audio will be returned.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_0: 'Audio for "uno".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_1: 'Audio for "five hundred".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_2: 'Audio for "negative five hundred".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_EX_OUT_3: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an Audio from an Integer with language context.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_RV: "Returns Audio for the submitted Integer value based on the supplied language context.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Integer to convert to Audio. If the Integer value is NOT_SET, blank Audio will be returned.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "uno".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "un".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Audio for "unos".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Audio for "una".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: 'Audio for "una".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_5: 'Audio for "unas".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_6: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_DSC: "Creates an Audio from an Integer with formatting.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_RV: "Returns Audio for the submitted Integer value based on the formatting option.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_PRM_DSC_0: "The Integer value to convert to Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_PRM_DSC_1: "Number Format Enum to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_EX_OUT_0: 'Audio of "five zero zero".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_EX_OUT_1: 'Audio of "negative five zero zero".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_EX_OUT_2: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an Audio from an Integer with language context and formatting.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_RV: "Returns Audio for the submitted Integer value with formatting and language context.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Integer value to convert to Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Number Format Enum to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "uno dos".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "un un".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Audio for "unos unos".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Audio for "una dos".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: 'Audio for "una unas".', AR_FN_AUDIO_TOAUDIONUMBER_LNG_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_5: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_DSC: "Creates an Audio from a Decimal.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_RV: "Returns Audio for the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_PRM_DSC_0: "The Decimal value to convert to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits. If the Decimal value is an integral value, only the integral part will be played back.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_0: 'Audio for "five hundred".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_1: 'Audio for "negative five hundred".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_2: 'Audio for "one hundred twenty five point two five".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_EX_OUT_3: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an Audio from a Decimal with language context.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_RV: "Returns Audio for the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Decimal value to convert to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "una coma quatro".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "una coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Audio for "uno coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Audio for "un coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: 'Audio for "dos coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LANGUAGECONTEXTENUM_MORE_EX_OUT_5: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_DSC: "Creates an Audio from a Decimal.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_PRM_DSC_0: "The Decimal value to convert to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits. If the Decimal value is an integral value, only the integral part will be played back.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_PRM_DSC_1: "Number formatting to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_0: 'Audio of "five point five".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_1: 'Audio of "negative five zero zero".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_2: 'Audio of "five zero zero".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_EX_OUT_3: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an Audio from a Decimal with formatting and language context.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Decimal value to convert to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Number formatting to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "una cero cero".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "uno cero cero".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Audio for "un cero cero".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Audio for "una coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: 'Audio for "uno coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_5: 'Audio for "dos coma siete s\xE9is cinco".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LANGUAGECONTEXTENUM_MORE_EX_OUT_6: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_DSC: "Creates an Audio from a Decimal value with a specified number of decimal places.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_PRM_DSC_0: "The Decimal value to convert to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_PRM_DSC_1: "Number of decimal places to read in the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_0: 'Audio for "one hundred twenty three point one two".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_1: 'Audio for "negative one hundred twenty three point one two zero zero".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_2: 'Audio for "zero point two three four".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_EX_OUT_3: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an Audio from a Decimal value with a specified number of decimal places with language context.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Decimal value to convert to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Number of decimal places to read in the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "una coma uno dos".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "uno coma uno dos".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_DSC: "Creates an Audio from a Decimal value to a specified number of decimal places with formatting support.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_PRM_DSC_0: "The Decimal value converted to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_PRM_DSC_1: "Number Format Enum to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_PRM_DSC_2: "Number of decimal places to read in the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_EX_OUT_0: 'Audio for "one two three point one two three".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_EX_OUT_1: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an Audio from a Decimal value to a specified number of decimal places with formatting and language context.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_RV: "Returns Audio from the submitted Decimal value.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Decimal value converted to Audio. If the Decimal value is greater than or equal to 1 trillion, the number will be played back as digits.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Number Format Enum to be used in the returned Audio.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_2: "Number of decimal places to read in the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_3: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "uno coma uno dos".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "una coma una dos".', AR_FN_AUDIO_TOAUDIONUMBER_DEC_NUMBERFORMATENUM_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: "Blank Audio.", AR_FN_DSC_TOAUDIONUMBERORDINAL: 'Creates an Audio from a number with ordinal playback such as "first", "second", ..., "seven hundred and sixteenth"', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_DSC: "Creates an ordinal Audio from an Integer.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_RV: "Returns ordinal Audio for the submitted Integer value.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_PRM_DSC_0: "The Integer to convert to Audio. If the Integer value is NOT_SET, blank Audio will be returned. If the Integer value is less than 1 or greater than 999, the audio playback will be read as a normal number and not as an ordinal.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_0: 'Audio for "first".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_1: 'Audio for "two hundred and first".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_2: 'Audio for "five hundredth".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_3: 'Audio for "five thousand".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_4: 'Audio for "negative five hundred".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_EX_OUT_5: "Blank Audio.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_DSC: "Creates an ordinal Audio from an Integer with language context.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_RV: "Returns ordinal Audio for the submitted Integer value based on the supplied language context.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_0: "The Integer to convert to Audio. If the Integer value is NOT_SET, blank Audio will be returned. If the Integer value is less than 1 or greater than 999, the audio playback will be read as a normal number and not as an ordinal.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_PRM_DSC_1: "Language contextual information on how to play back the number.", AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_0: 'Audio for "premier".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_1: 'Audio for "premi\xE8re".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_2: 'Audio for "et".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_3: 'Audio for "moins un".', AR_FN_AUDIO_TOAUDIONUMBERORDINAL_LNG_LANGUAGECONTEXTENUM_MORE_EX_OUT_4: "Blank Audio.", AR_FN_DSC_TOVOICEMAILSNIPPET: "Converts a value to a VoicemailSnippet.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_DSC: "Converts a NOT_SET value to a NOT_SET VoicemailSnippet.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_RV: "Returns a NOT_SET VoicemailSnippet.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_PRM_DSC_0: "The value NOT_SET to convert to a VoicemailSnippet.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_NTS_EX_OUT_0: "A NOT_SET VoicemailSnippet.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_DSC: "Returns a VoicemailSnippet value from the supplied VoicemailSnippet value.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_RV: "Returns the supplied VoiceSnippet value.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_PRM_DSC_0: "The VoicemailSnippet value to return.", AR_FN_VOICEMAILSNIPPET_TOVOICEMAILSNIPPET_VOICEMAILSNIPPET_EX_OUT_0: "The supplied VoicemailSnippet.", AR_FN_DSC_TOVOICESNIPPET: "Converts a value to a VoiceSnippet.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_DSC: "Converts a NOT_SET value to a NOT_SET VoiceSnippet.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_RV: "Returns a NOT_SET VoiceSnippet.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_PRM_DSC_0: "The value NOT_SET to convert to a VoiceSnippet.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_NTS_EX_OUT_0: "A NOT_SET VoiceSnippet.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_DSC: "Returns a VoiceSnippet value from the supplied VoiceSnippet value.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_RV: "Returns the supplied VoiceSnippet value.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_PRM_DSC_0: "The VoiceSnippet value to return.", AR_FN_VOICESNIPPET_TOVOICESNIPPET_VOICESNIPPET_EX_OUT_0: "The supplied VoiceSnippet value.", AR_FN_DSC_GETDEFAULTLANGUAGE: "Gets the default supported language on the current flow.", AR_FN_STR_GETDEFAULTSUPPORTEDLANGUAGE_DSC: "Gets the IETF language tag of the default supported language for the current flow.", AR_FN_STR_GETDEFAULTSUPPORTEDLANGUAGE_RV: "Returns the IETF language tag for the default supported language for the current flow.", AR_FN_DSC_GETSUPPORTEDLANGUAGES: "Gets the supported languages configured for the current flow.", AR_FN_STR_COLL_GETSUPPORTEDLANGUAGES_DSC: "Gets a string collection of IETF language tags for the supported languages in the current flow.", AR_FN_STR_COLL_GETSUPPORTEDLANGUAGES_RV: "Returns a string collection of the supported IETF languages tags set on the flow. There will always be one entry in this collection.", AR_FN_DSC_GETCURRENTDATETIMEUTC: "Gets the current date and time in Coordinated Universal Time (UTC).", AR_FN_DTM_GETCURRENTDATETIMEUTC_DSC: "Gets the current date and time in Coordinated Universal Time (UTC)", AR_FN_DTM_GETCURRENTDATETIMEUTC_RV: "Returns a DateTime value that contains the current date and time in Coordinated Universal Time (UTC).", AR_FN_DTM_GETCURRENTDATETIMEUTC_EX_OUT_0: "A DateTime with the date and time when the function was called in Coordinated Universal Time (UTC).", AR_FN_DSC_GETDEFLECTIONURL: "Gets the destination URL if the Deflect action was used to deflect the participant to a digital channel.", AR_FN_STR_GETDEFLECTIONURL_STR_STR_DSC: "Gets the destination URL if the Deflect action was used to deflect the participant to a digital channel.", AR_FN_STR_GETDEFLECTIONURL_STR_STR_RV: "The destination URL if the Deflect action was used to deflect the participant to a digital channel.", AR_FN_STR_GETDEFLECTIONURL_STR_STR_PRM_DSC_0: "The service for which the URL is generated.", AR_FN_STR_GETDEFLECTIONURL_STR_STR_PRM_DSC_1: "The identifier of the account that the message is directed to on the service.", AR_FN_STR_GETDEFLECTIONURL_STR_STR_EX_OUT_0: "The destination URL to Facebook Messenger.", AR_FN_DSC_GETSURVEYQUESTIONANSWER: "Gets the answer to a Survey Question as a String value.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_DSC: "Returns the answer of the supplied SurveyQuestion value as a String.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_RV: `The answer to the supplied Survey Question as a String. If the supplied Survey Question value is NOT_SET, the Survey Question type is 'readOnlyQuestion' or the Survey Question has not been answered, a NOT_SET String value is returned. If the supplied Survey Question was answered as Not Applicable, the String "n/a" is returned.`, AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_PRM_DSC_0: "The Survey Question whose answer you wish to obtain.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_EX_OUT_0: "The answer to the Survey Question Form.Group1_Question1 as a String value.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_EX_OUT_1: "A NOT_SET string value.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_DSC: "Returns the follow-up answer of the supplied SurveyQuestion value as a String.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_RV: "The answer to the supplied Survey Question as a String. If the supplied question is a NOT_SET SurveyQuestion value, the question does not have a follow-up question or if that follow-up question has not been answered, a NOT_SET String will be returned.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_PRM_DSC_0: "The Survey Question whose answer you wish to obtain.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_PRM_DSC_1: "Whether you wish to get the Survey Question's follow-up answer.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_0: "The answer to the follow-up question to the Survey Question Form.Group1_Question1 as a String value.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_1: "The answer to the Survey Question Form.Group1_Question1 as a String value.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_2: "A NOT_SET string value.", AR_FN_STR_GETSURVEYQUESTIONANSWER_SURVEYQUESTION_BLN_EX_OUT_3: "The answer to the Survey Question Form.Group1_Question1 as a String value.", AR_FN_DSC_GETSURVEYQUESTIONISANSWERED: "Gets whether a Survey Question has been answered as a Boolean value.", AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_DSC: "Returns whether a Survey Question has been answered as a Boolean value.", AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_RV: "Whether the supplied Survey Question has been answered. If the supplied Survey Question value is NOT_SET, a Boolean value of false is returned. If the supplied Survey Question type is 'readOnlyQuestion', a Boolean value of true is returned if the read only question was presented using an 'Ask Survey Question' action.", AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_PRM_DSC_0: "The Survey Question that you wish to check.", AR_FN_BLN_GETSURVEYQUESTIONISANSWERED_SURVEYQUESTION_EX_OUT_0: "true or false, depending on whether Form.Group1_Question1 has been answered.", AR_FN_DSC_GETSURVEYQUESTIONNPSCATEGORY: "If the supplied Survey Question is an NPS question, this returns the NPS question category as a String value.", AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_DSC: "If the supplied Survey Question is an NPS question, this returns the NPS question category as a String value.", AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_RV: "The NPS category of the supplied Survey Question as a String. If the supplied Survey Question value is NOT_SET, if the supplied Survey Question is not an NPS question or if the supplied Survey Question has not been answered, a NOT_SET String value is returned.", AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_PRM_DSC_0: "The Survey Question whose NPS category you wish to obtain.", AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_EX_OUT_0: 'If the supplied Survey Question is an NPS question and has been answered this will return a String value of "promoter" if that score is 10 or 9, "passive" if that score is 8 or 7, and "detractor" if that score is 6 or less. If the supplied Survey Question does not exist, has not been answered or is not an NPS question, a NOT_SET String value will be returned.', AR_FN_STR_GETSURVEYQUESTIONNPSCATEGORY_SURVEYQUESTION_EX_OUT_1: "A NOT_SET string value.", AR_FN_DSC_RANDOM: "Generates a random Decimal value.", AR_FN_DEC_RANDOM_DSC: "Generates a random Decimal value that is greater than or equal to 0.0 and less than 1.0.", AR_FN_DEC_RANDOM_RV: "Returns the generated random Decimal value.", AR_FN_DSC_RANDOMINT: "Generates a random Integer value.", AR_FN_LNG_RANDOMINT_LNG_DSC: "Generates a random Integer value between 0 and the supplied limit parameter value.", AR_FN_LNG_RANDOMINT_LNG_RV: "Returns the random generated Integer value.", AR_FN_LNG_RANDOMINT_LNG_PRM_DSC_0: "If limit is a positive integer, the returned value will be greater than or equal to 0 and less than or equal to limit. If limit is a negative integer, the returned value will be less than or equal to zero and greater than or equal to limit. If limit is 0, the returned value is always 0.", AR_FN_LNG_RANDOMINT_LNG_EX_OUT_4: "86 ( this generates a random number that is greater than or equal to 0 and less than or equal to 100 )", AR_FN_LNG_RANDOMINT_LNG_EX_OUT_5: "54 ( this generates a random number that is greater than or equal to 1 and less than or equal to 100 )", AR_FN_DSC_ROUNDUP: "Rounds up a Duration value to a new Duration value.", AR_FN_DUR_ROUNDUP_DUR_DSC: "Rounds up a duration value to 30 seconds, 1 minute, 2 minutes, 5 minutes or intervals of 5 minutes if the duration value is greater than 5 minutes.", AR_FN_DUR_ROUNDUP_DUR_RV: "Returns a duration value rounded up to 30 seconds, 1 minute, 2 minutes, 5 minutes, or intervals of 5 minutes.", AR_FN_DUR_ROUNDUP_DUR_PRM_DSC_0: "The Duration value to round up.", AR_FN_DUR_ROUNDUP_DUR_EX_OUT_0: "A 5 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_EX_OUT_1: "A 1 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_EX_OUT_2: "A 5 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_EX_OUT_3: "A 25 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_EX_OUT_4: "A 1 hour and 25 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_DUR_DSC: "Rounds up a Duration value in intervals of another specified Duration.", AR_FN_DUR_ROUNDUP_DUR_DUR_RV: "Returns a rounded Duration value.", AR_FN_DUR_ROUNDUP_DUR_DUR_PRM_DSC_0: "The Duration value to round up.", AR_FN_DUR_ROUNDUP_DUR_DUR_PRM_DSC_1: "A Duration that is used to calculate intervals for rounding up.", AR_FN_DUR_ROUNDUP_DUR_DUR_EX_OUT_0: "A 3 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_DUR_EX_OUT_1: "A 5 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_DSC: "Rounds up a Duration value to one of the values specified in a Duration Collection.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_RV: "Returns a rounded Duration value.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_PRM_DSC_0: "The Duration value to round up.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_PRM_DSC_1: "A Duration that is used to calculate intervals for rounding up.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_PRM_DSC_2: "The specific Duration values that should be rounded up to. This list will be sorted from lowest to highest at runtime. The first value in this collection which is greater than or equal to the first parameter will be returned.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_EX_OUT_0: "A 4 minute Duration.", AR_FN_DUR_ROUNDUP_DUR_DUR_DUR_COLL_EX_OUT_1: "A 25 minute Duration.", AR_FN_DSC_RANGE: "Returns a range of Durations based on a starting Duration and an interval Duration.", AR_FN_DUR_COLL_RANGE_DUR_DUR_DSC: "Calculates a lower and upper bound Duration collection given an initial Duration and an offset Duration that is used to calculate the lower and upper bounds. NOT_SET Duration values in the collection will not be used in function execution.", AR_FN_DUR_COLL_RANGE_DUR_DUR_RV: "Returns the bounding Duration values in a two-item Duration collection with the lower bound at index 0 and the upper bound at index 1.", AR_FN_DUR_COLL_RANGE_DUR_DUR_PRM_DSC_0: "The Duration value to use as a basis for rounding up and down.", AR_FN_DUR_COLL_RANGE_DUR_DUR_PRM_DSC_1: "A Duration that is used to calculate intervals for rounding up and down.", AR_FN_DUR_COLL_RANGE_DUR_DUR_EX_OUT_0: "A Duration collection. [MakeDuration(0, 3, 0, 0, 0), MakeDuration(0, 7, 0, 0, 0)]", AR_FN_DSC_TOAUDIOTIMERANGE: "Creates Audio to indicate a specific time range.", AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_DSC: "Creates Audio for a time range given two Integers and a TimePart Enum value that indicates how to interpret the values. If the lowerBound value is greater than the upperBound value, they will be swapped so that the lower value is played first in the returned audio playback. If the submitted lower and upper bound are the same, the returned audio will not be presented as a range.", AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_RV: "Returns Audio playback with a time range formatted to the specified TimePart Enum value.", AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_PRM_DSC_0: "The lower bound for the time range.", AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_PRM_DSC_1: "The upper bound for the time range.", AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_PRM_DSC_2: "The time units to use in the returned Audio.", AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_0: 'Audio for "4 to 6 minutes"', AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_1: 'Audio for "8 to 15 minutes"', AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_2: 'Audio for "10 to 15 hours"', AR_FN_AUDIO_TOAUDIOTIMERANGE_LNG_LNG_TIMEPARTENUMDATATYPE_EX_OUT_3: 'Audio for "1 hour"', AR_FN_DSC_EMAILADDRESSDOMAINPART: "Returns the domain part of an email address.", AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_DSC: "Gets the domain part from an Email Address.", AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_RV: "Returns the email domain part from the submitted Email Address.", AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_PRM_DSC_0: "The Email Address from which to get the domain part.", AR_FN_STR_EMAILADDRESSDOMAINPART_EMAILADDRESS_EX_OUT_0: "The domain part from the Email Address in Email.Message.from.", AR_FN_STR_EMAILADDRESSDOMAINPART_STR_DSC: "Gets the domain part from a String containing an email address.", AR_FN_STR_EMAILADDRESSDOMAINPART_STR_RV: "Returns the domain part from the submitted email address String. If the local part cannot be determined, a NOT_SET String is returned.", AR_FN_STR_EMAILADDRESSDOMAINPART_STR_PRM_DSC_0: "The String that contains an email address from which to get the domain part.", AR_FN_STR_EMAILADDRESSDOMAINPART_STR_EX_OUT_1: "A NOT_SET String.", AR_FN_STR_EMAILADDRESSDOMAINPART_STR_EX_OUT_2: "A NOT_SET String.", AR_FN_DSC_EMAILADDRESSLOCALPART: "Returns the local part of an email address.", AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_DSC: "Gets the local part from an Email Address.", AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_RV: "Returns the email local part from the submitted Email Address.", AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_PRM_DSC_0: "The Email Address from which to get the local part.", AR_FN_STR_EMAILADDRESSLOCALPART_EMAILADDRESS_EX_OUT_0: "The local part from the Email Address in Email.Message.from.", AR_FN_STR_EMAILADDRESSLOCALPART_STR_DSC: "Gets the local part from a String containing an email address.", AR_FN_STR_EMAILADDRESSLOCALPART_STR_RV: "Returns the local part from the submitted email address String. If the local part cannot be determined, a NOT_SET String is returned.", AR_FN_STR_EMAILADDRESSLOCALPART_STR_PRM_DSC_0: "The String that contains an email address from which to get the local part.", AR_FN_STR_EMAILADDRESSLOCALPART_STR_EX_OUT_1: "A NOT_SET String.", AR_FN_STR_EMAILADDRESSLOCALPART_STR_EX_OUT_2: "A NOT_SET String.", AR_FN_DSC_MAKEEMAILADDRESS: "Returns a new instance of an EmailAddress initialized with the specified values.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_DSC: "Creates a new EmailAddress from the supplied address ID.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_RV: "Returns an EmailAddress with the id property set to the supplied address.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_PRM_DSC_0: "The id property value in the new EmailAddress.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_EX_OUT_0: 'An EmailAddress whose id property is "john.doe@company.com".', AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_EX_OUT_2: "A NOT_SET String.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_DSC: "Creates a new EmailAddress from the supplied address ID and name.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_RV: "Returns an EmailAddress with the id and name properties set to the supplied address and name values.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_PRM_DSC_0: "The id property value in the new EmailAddress.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_PRM_DSC_1: "The name property value in the new EmailAddress.", AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_EX_OUT_0: 'An EmailAddress whose id property is "john.doe@company.com" and name property is "John".', AR_FN_EMAILADDRESS_MAKEEMAILADDRESS_STR_STR_EX_OUT_3: "A NOT_SET String.", AR_FN_DSC_DETECTLANGUAGE: "Attempts to determine the language for wording contained in a String.", AR_FN_STR_DETECTLANGUAGE_STR_STR_DSC: "Inspects an input String and attempts to identify the language for the verbiage contained in it.", AR_FN_STR_DETECTLANGUAGE_STR_STR_RV: "Returns an IETF language tag String if the language can be determined from the submitted String text. If a language cannot be determined, the value from the defaultLanguageTag parameter will be returned.", AR_FN_STR_DETECTLANGUAGE_STR_STR_PRM_DSC_0: "The String to search.", AR_FN_STR_DETECTLANGUAGE_STR_STR_PRM_DSC_1: "The String value to return if no language could be determined.", AR_FN_STR_DETECTLANGUAGE_STR_STR_EX_OUT_0: '"es" (assuming function detected email body text to be in Spanish)', AR_FN_STR_DETECTLANGUAGE_STR_STR_EX_OUT_7: "A NOT_SET String.", AR_FN_DSC_GETPROMPTTEXTTOSPEECH: "Gets the the text to speech String value for a prompt.", AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_DSC: "Gets a prompt's text to speech String value for the language in which the flow is running.", AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_RV: "Returns the text to speech String value for the prompt in the flow's current language. If the submitted Prompt value is NOT_SET or there is no prompt resource for the current language in which the flow is currently running, a NOT_SET String is returned.", AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_PRM_DSC_0: "The Prompt whose text to speech String value you wish to obtain.", AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_EX_OUT_1: 'Returns the text to speech String value for the user prompt named "Greeting" for the language in which the flow is currently running.', AR_FN_STR_GETPROMPTTEXTTOSPEECH_PROMPT_EX_OUT_2: "A NOT_SET String", AR_FN_DSC_GETPROMPTDURATION: "Gets the Duration of prompt audio.", AR_FN_DUR_GETPROMPTDURATION_PROMPT_DSC: "Gets a prompt's audio Duration value for the language in which the flow is running.", AR_FN_DUR_GETPROMPTDURATION_PROMPT_RV: "Returns the Duration for the prompt audio in the flow's current language. If the submitted Prompt value is NOT_SET or there is no prompt resource for the current language in which the flow is currently running, a NOT_SET Duration is returned.", AR_FN_DUR_GETPROMPTDURATION_PROMPT_PRM_DSC_0: "The Prompt whose audio duration value you wish to obtain.", AR_FN_DUR_GETPROMPTDURATION_PROMPT_EX_OUT_0: "A duration value of 0.6 seconds.", AR_FN_DUR_GETPROMPTDURATION_PROMPT_EX_OUT_1: 'Returns the Duration value for the audio contained in the user prompt "Greeting" for the language in which the flow is currently running.', AR_FN_DUR_GETPROMPTDURATION_PROMPT_EX_OUT_2: "A NOT_SET Duration", AR_FN_DSC_GETPROMPTTEXT: "Gets the the text String value for a prompt.", AR_FN_STR_GETPROMPTTEXT_PROMPT_DSC: "Gets a prompt's text String value for the language in which the flow is running.", AR_FN_STR_GETPROMPTTEXT_PROMPT_RV: "Returns the text String value for the prompt in the flow's current language. If the submitted Prompt value is NOT_SET or there is no prompt resource for the current language in which the flow is currently running, a NOT_SET String is returned.", AR_FN_STR_GETPROMPTTEXT_PROMPT_PRM_DSC_0: "The Prompt whose text String value you wish to obtain.", AR_FN_STR_GETPROMPTTEXT_PROMPT_EX_OUT_1: 'Returns the text String value for the user prompt named "Greeting" for the language in which the flow is currently running.', AR_FN_STR_GETPROMPTTEXT_PROMPT_EX_OUT_2: "A NOT_SET String", AR_FN_DSC_ISJSONARRAY: "Checks whether a JSON value contains an array.", AR_FN_BLN_ISJSONARRAY_JSON_DSC: "Returns a Boolean indicating if the supplied JSON value is a JSON array.", AR_FN_BLN_ISJSONARRAY_JSON_RV: "Returns true if the supplied JSON value is a JSON array, otherwise returns false.", AR_FN_BLN_ISJSONARRAY_JSON_PRM_DSC_0: "The JSON value to check whether it is a JSON array.", AR_FN_DSC_ISJSONBOOL: "Checks whether a JSON value contains a boolean value.", AR_FN_BLN_ISJSONBOOL_JSON_DSC: "Returns a Boolean indicating if the supplied JSON value is a Boolean.", AR_FN_BLN_ISJSONBOOL_JSON_RV: "Returns true if the supplied JSON value is a JSON Boolean, otherwise returns false.", AR_FN_BLN_ISJSONBOOL_JSON_PRM_DSC_0: "The JSON value to check whether it is a JSON Boolean.", AR_FN_DSC_ISJSONNULL: "Checks whether a JSON value contains the value null / NOT_SET.", AR_FN_BLN_ISJSONNULL_JSON_DSC: "Returns a Boolean indicating if the supplied JSON value contains the value null.", AR_FN_BLN_ISJSONNULL_JSON_RV: "Returns true if the supplied JSON value contained the value null, otherwise returns false.", AR_FN_BLN_ISJSONNULL_JSON_PRM_DSC_0: "The JSON value to check whether it contains null / NOT_SET.", AR_FN_DSC_ISJSONNUMBER: "Checks whether argument is a JSON Number.", AR_FN_BLN_ISJSONNUMBER_JSON_DSC: "Returns a Boolean indicating if the supplied JSON value contains a number.", AR_FN_BLN_ISJSONNUMBER_JSON_RV: "Returns true if the supplied JSON value is a number, otherwise returns false.", AR_FN_BLN_ISJSONNUMBER_JSON_PRM_DSC_0: "The JSON value to check whether it is a number.", AR_FN_DSC_ISJSONOBJECT: "Checks whether argument is a JSON object.", AR_FN_BLN_ISJSONOBJECT_JSON_DSC: "Returns a Boolean indicating if the supplied JSON value contains a JSON object.", AR_FN_BLN_ISJSONOBJECT_JSON_RV: "Returns true if the supplied JSON value contains a JSON Object, otherwise returns false.", AR_FN_BLN_ISJSONOBJECT_JSON_PRM_DSC_0: "The JSON value to check whether it contains a JSON Object.", AR_FN_DSC_ISJSONSTRING: "Checks whether argument is a JSON String.", AR_FN_BLN_ISJSONSTRING_JSON_DSC: "Returns a Boolean indicating if the supplied JSON value contains a String.", AR_FN_BLN_ISJSONSTRING_JSON_RV: "Returns true if the supplied JSON value contains a string, otherwise returns false.", AR_FN_BLN_ISJSONSTRING_JSON_PRM_DSC_0: "The JSON value to check whether it is a JSON String.", AR_FN_DSC_JSONPARSE: "Parse a value to JSON.", AR_FN_JSON_JSONPARSE_STR_DSC: "Parses the supplied String value to JSON using JSON parsing semantics. Note that keys must be double quoted when attempting to parse a JSON String.", AR_FN_JSON_JSONPARSE_STR_RV: "The supplied String parsed to a JSON value.", AR_FN_JSON_JSONPARSE_STR_PRM_DSC_0: "The String value to parse to a JSON value. Supplying a blank string to JsonParse will invoke error handling.", AR_FN_JSON_JSONPARSE_STR_EX_OUT_0: 'A JSON value that contains the string "Hello".', AR_FN_JSON_JSONPARSE_STR_EX_OUT_1: "A JSON value that contains the array [ 0, 1, 2 ].", AR_FN_JSON_JSONPARSE_STR_EX_OUT_3: "A NOT_SET JSON value.", AR_FN_JSON_JSONPARSE_STR_EX_OUT_4: "A JSON value that contains the boolean value true.", AR_FN_DSC_MAKEEMPTYJSONARRAY: "Makes a JSON value that contains an empty array.", AR_FN_JSON_MAKEEMPTYJSONARRAY_DSC: 'Creates a JSON value containing an empty array. This is a helper function that is the equivalent of calling JsonParse("[]").', AR_FN_JSON_MAKEEMPTYJSONARRAY_RV: "Returns a JSON value that contains an empty array.", AR_FN_JSON_MAKEEMPTYJSONARRAY_EX_OUT_0: "A JSON value that contains an empty array.", AR_FN_DSC_MAKEEMPTYJSONOBJECT: "Makes an empty Object JSON value.", AR_FN_JSON_MAKEEMPTYJSONOBJECT_DSC: 'Creates a JSON value containing an empty JSON Object. This is a helper function that is the equivalent of calling JsonParse("{}").', AR_FN_JSON_MAKEEMPTYJSONOBJECT_RV: "Returns a JSON value that contains an empty object.", AR_FN_JSON_MAKEEMPTYJSONOBJECT_EX_OUT_0: "An JSON value with an empty object.", AR_FN_DSC_MAKEEMPTYJSONSTRING: "Makes a JSON value that contains an empty string.", AR_FN_JSON_MAKEEMPTYJSONSTRING_DSC: 'Creates a JSON value containing an empty string. This is a helper function that is the equivalent of calling JsonParse("\\"\\"").', AR_FN_JSON_MAKEEMPTYJSONSTRING_RV: "Returns a JSON value that contains an empty string.", AR_FN_JSON_MAKEEMPTYJSONSTRING_EX_OUT_0: "A JSON value that contains an empty string.", AR_FN_DSC_MAKENULLJSON: "Makes a JSON value that contains the value null.", AR_FN_JSON_MAKENULLJSON_DSC: 'Creates a JSON value containing the value null. This is a helper function that is the equivalent of calling JsonParse("null").', AR_FN_JSON_MAKENULLJSON_RV: "Returns a JSON value that contains the value null.", AR_FN_JSON_MAKENULLJSON_EX_OUT_0: "A JSON value that contains the value null.", AR_FN_DSC_TOJSON: "Converts an Any singleton value or collection to a JSON value.", AR_FN_JSON_TOJSON_ANY_DSC: "Creates a JSON value with the specified singleton value. Conversion of a String value will return a JSON value with that string value. Use JsonParse if you want a String value to be parsed.", AR_FN_JSON_TOJSON_ANY_RV: "A JSON value converted from the supplied singleton value.", AR_FN_JSON_TOJSON_ANY_PRM_DSC_0: "The singleton value to convert to a JSON value.", AR_FN_JSON_TOJSON_ANY_EX_OUT_0: 'A JSON value that contains the string "2022-08-04T00:00:00.000Z".', AR_FN_JSON_TOJSON_ANY_EX_OUT_1: 'A JSON value that contains the string "Hello".', AR_FN_JSON_TOJSON_ANY_EX_OUT_2: "A JSON value that contains the the number 5.", AR_FN_JSON_TOJSON_ANY_EX_OUT_3: 'A JSON value that contains a string of "{ \\"a\\": true }". Remember, use JsonParse if you want this to create a JSON value with an object instead of a String.', AR_FN_JSON_TOJSON_ANY_EX_OUT_4: 'A JSON value that contains a JSON object of { "amount": 5.25, "code": "USD"}.', AR_FN_JSON_TOJSON_ANY_EX_OUT_5: 'A JSON value that contains a string of "tel:+13178723000".', AR_FN_JSON_TOJSON_ANY_EX_OUT_6: "A JSON value for the supplied ListPickerItem", AR_FN_JSON_TOJSON_ANY_EX_OUT_7: "A JSON value for the supplied ListPickerSection", AR_FN_JSON_TOJSON_ANY_EX_OUT_8: "A JSON value for the supplied ListPicker", AR_FN_JSON_TOJSON_ANY_COLL_DSC: "Creates a JSON value from the specified collection.", AR_FN_JSON_TOJSON_ANY_COLL_RV: "A JSON value converted from the supplied collection.", AR_FN_JSON_TOJSON_ANY_COLL_PRM_DSC_0: "The collection value to convert to a JSON value.", AR_FN_JSON_TOJSON_ANY_COLL_EX_OUT_0: "A JSON value with an array of [ 1, 2, 3 ].", AR_FN_JSON_TOJSON_ANY_COLL_EX_OUT_1: "A JSON value for the supplied ListPickerItems", AR_FN_JSON_TOJSON_ANY_COLL_EX_OUT_2: "A JSON value for the supplied ListPickerSections", AR_FN_JSON_TOJSON_NTS_DSC: "Creates a NOT_SET JSON value.", AR_FN_JSON_TOJSON_NTS_RV: "Returns a NOT_SET JSON value.", AR_FN_JSON_TOJSON_NTS_PRM_DSC_0: "The value NOT_SET", AR_FN_JSON_TOJSON_NTS_EX_OUT_0: "A NOT_SET JSON value.", AR_FN_DSC_TOJSONCOLLECTION: "Converts a JSON value that contains an array to a JSON value collection whose items are JSON values that are cloned from items in the array.", AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_DSC: "Creates a JSON collection whose items are JSON values that contain values from items in the supplied array. This can be very helpful if you need to convert an array contained in a JSON value to a JSON collection value to work with Architect functionality that deals with a collection rather than a singleton value.", AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_RV: "A JSON collection with items that are JSON values cloned from the items in the supplied array.", AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_PRM_DSC_0: "The JSON value that contains an array for the conversion operation. If the supplied JSON value does not contain an array, this will invoke error handling. Remember the IsJsonArray function can be used to check if a JSON value contains an array or not.", AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_EX_OUT_0: "A JSON collection value with two JSON value items in it. The first JSON value contains the boolean value true and the second JSON value contains the number 100.", AR_FN_JSON_COLL_TOJSONCOLLECTION_JSON_EX_OUT_1: "An empty JSON collection value.", AR_FN_DSC_JSONSTRINGIFY: "This converts a value to a JSON notation formatted String value.", AR_FN_STR_JSONSTRINGIFY_ANY_DSC: "This converts a singleton value to a JSON notation formatted String.", AR_FN_STR_JSONSTRINGIFY_ANY_RV: "The JSON notation formatted String.", AR_FN_STR_JSONSTRINGIFY_ANY_PRM_DSC_0: "The JSON value to convert to a JSON notation formatted String.", AR_FN_STR_JSONSTRINGIFY_ANY_COLL_DSC: "This converts a collection value to a JSON notation formatted String.", AR_FN_STR_JSONSTRINGIFY_ANY_COLL_RV: "The JSON notation formatted String.", AR_FN_STR_JSONSTRINGIFY_ANY_COLL_PRM_DSC_0: "The JSON value to convert to a JSON notation formatted String.", AR_FN_STR_JSONSTRINGIFY_NTS_DSC: "Returns a null String for a NOT_SET input value.", AR_FN_STR_JSONSTRINGIFY_NTS_RV: 'The String "null".', AR_FN_STR_JSONSTRINGIFY_NTS_PRM_DSC_0: "The value NOT_SET.", AR_FN_DSC_ISJSONTRUTHY: "Checks whether supplied JSON argument is truthy.", AR_FN_BLN_ISJSONTRUTHY_JSON_DSC: "This function returns a Boolean value representing whether or not the supplied JSON value is truthy.", AR_FN_BLN_ISJSONTRUTHY_JSON_RV: "Returns true when the JSON value contains a Boolean and it is true, contains a String and the string is non-blank, contains a Number and the value is not equal to 0, contains an array or contains an object. Otherwise the function returns false.", AR_FN_BLN_ISJSONTRUTHY_JSON_PRM_DSC_0: "The JSON value to check whether it is truthy.", AR_FN_DSC_DELETEJSONOBJECTPROPERTY: "Removes a property from a JSON Object.", AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_DSC: "If the supplied JSON value is a JSON Object, this function will return a new JSON Object with the supplied property removed. The original JSON Object is not modified.", AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_RV: "Returns a copy of the supplied JSON Object with the supplied value removed.", AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_0: "The JSON value with an object from which to remove the property. If the supplied JSON value is not an object, this will invoke error handling. Remember the IsJsonObject function can be used to check if a JSON value contains an object.", AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_1: "A String value containing the key of the property to remove from the JSON object. If the property does not exist on the object, a copy of the supplied JSON object value is returned.", AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_EX_OUT_0: 'A JSON object with the following properties: { "a": true, "b": 100 }', AR_FN_JSON_DELETEJSONOBJECTPROPERTY_JSON_STR_EX_OUT_1: 'A JSON object with the following properties: { "a": true, "b": 100, "d": [ true, false ] }', AR_FN_DSC_GETJSONOBJECTPROPERTY: "Retrieves the value of a property from a JSON object contained in a JSON value.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_DSC: "This function returns the value of a property on a JSON object contained in a JSON value by the supplied property name. This function is very helpful if you need to access property names dynamically.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_RV: "A JSON value that contains the JSON object's property value. If the supplied property name does not exist on the JSON object, a NOT_SET JSON value will be returned.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_0: "The JSON value that contains the JSON object whose property value you wish to retrieve. If the supplied JSON value does not contain an object, this will invoke error handling. Remember the IsJsonObject function can be used to check if a JSON value contains an object.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_PRM_DSC_1: "The name of the property to retrieve from the JSON object. Property names are matched case sensitively.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_0: 'A JSON value that contains the string "John".', AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_1: 'A JSON value that contains the string "Doe".', AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_2: "A NOT_SET JSON value.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_3: "A JSON value that contains the value null.", AR_FN_JSON_GETJSONOBJECTPROPERTY_JSON_STR_EX_OUT_4: "A NOT_SET JSON value.", AR_FN_DSC_GETJSONOBJECTPROPERTYNAMES: "Creates a String array of the property names contained within the supplied JSON Object.", AR_FN_STR_COLL_GETJSONOBJECTPROPERTYNAMES_JSON_DSC: "Returns a String array of all property names within the supplied JSON value that contains an object.", AR_FN_STR_COLL_GETJSONOBJECTPROPERTYNAMES_JSON_RV: "A String array of the property names contained within it.", AR_FN_STR_COLL_GETJSONOBJECTPROPERTYNAMES_JSON_PRM_DSC_0: "The JSON object from which to get property names. If the supplied JSON value does not contain an object, this will invoke error handling. Remember the IsJsonObject function can be used to check if a JSON value contains an object.", AR_FN_DSC_SETJSONOBJECTPROPERTY: "Sets the property on a JSON Object with the specified key and value and returns a copy of the JSON object with the new key/value pair.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_DSC: "Sets a key by name to a value on a JSON object.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_RV: "A copy of the supplied JSON object with the key set to the supplied value.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_PRM_DSC_0: "The JSON object to set the property on. If the supplied JSON value is not an object, this will invoke error handling. Remember the IsJsonObject function can be used to check if a JSON value contains an object.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_PRM_DSC_1: "The name of the key to set.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_PRM_DSC_2: "The value to set for the key.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_EX_OUT_0: 'A JSON object with the value of {"myKey": 42}', AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_EX_OUT_1: 'A JSON object with the value of { "a": true, "b": 100, "c": [ true, false ], "A": 5 }', AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_DSC: "Sets a key by name to a collection value on a JSON object.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_RV: "A copy of the supplied JSON object with the key set to the supplied value.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_PRM_DSC_0: "The JSON object to set the property on. If the supplied JSON value is not an object, this will invoke error handling. Remember the IsJsonObject function can be used to check if a JSON value contains an object.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_PRM_DSC_1: "The name of the key to set.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_PRM_DSC_2: "The value to set for the key.", AR_FN_JSON_SETJSONOBJECTPROPERTY_JSON_STR_ANY_COLL_EX_OUT_0: 'A JSON object with the value of { "myKeys": [ 42, 180 ] }', AR_FN_DSC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE: "Gets the confidence score of a knowledge base document.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_DSC: "Takes a knowledge base document and returns the confidence of that document from the last knowledge search. A search happens for example while executing a Wait for Input or Digital Menu action. The result of that search can (optionally) be stored in a KnowledgeBaseDocumentCollection variable. When these results are stored, the confidence will be stored along with them, which can then be extracted by this function to determine which is the strongest match to the user's query. If the document was not in the list of results from the most recent search, returns NOT_SET.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_RV: "Returns a confidence score from the supplied knowledge base document.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_PRM_DSC_0: "The knowledge base document.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_KNOWLEDGEBASEDOCUMENT_EX_OUT_0: "A NOT_SET Decimal.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_DSC: "Returns a NOT_SET confidence score for a NOT_SET KnowledgeBaseDocument.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_RV: "Returns a NOT_SET confidence score.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_PRM_DSC_0: "The NOT_SET knowledge base document.", AR_FN_DEC_GETKNOWLEDGEBASEDOCUMENTCONFIDENCE_NTS_EX_OUT_0: "A NOT_SET confidence score." } }; }, 44931: (e2, t2, i2) => { const n2 = i2(92140), { lexStatuses: r2 } = i2(60885), o = i2(36019).default, a = i2(19202); class s { @@ -55180,8 +59846,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(62252)), a = n2.__importDefault(i2(16945)); class s extends a.default { - constructor(e3, t3, i3, n3, r3, o2, a2, s2, l, u, d, c, p, _) { - super(e3, t3, i3, n3, o2, a2, s2, l, u, d, c, p, _), Object.defineProperties(this, { _generators: { value: r3, writable: true } }); + constructor(e3, t3, i3, n3, r3, o2, a2, s2, l, u, c, d, p, _) { + super(e3, t3, i3, n3, o2, a2, s2, l, u, c, d, p, _), Object.defineProperties(this, { _generators: { value: r3, writable: true } }); } get className() { return "BaseBuilderDef"; @@ -55236,6 +59902,38 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } t2.default = s; + }, 45195: (e2, t2, i2) => { + "use strict"; + const n2 = i2(31635), r2 = i2(17604), o = i2(80428), a = i2(80794), s = i2(72012), l = i2(56884), u = i2(81516), c = n2.__importDefault(i2(27203)), d = i2(21569), p = i2(71157), _ = i2(12179), h = n2.__importDefault(i2(97891)), m = n2.__importDefault(i2(5478)), g = i2(47957); + class f extends m.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); + } + static get branchInfo() { + return c.default.foundNotFoundFailure; + } + _getPossibleErrors() { + return p.getAssignedCustomerSegmentsFailureReasons; + } + static get managedProperties() { + return [{ label: g.assignedCustomerSegments.externalContactIdLabel, options: u.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalContactIdExpression").setDisableSpellcheck(true).setDefaultToExpression(true).setAllowNotSet(false).setDescriptionInfo(g.assignedCustomerSegments.externalContactIdLabel, g.assignedCustomerSegments.externalContactIdDescription).facets.setMinLength(1)), property: "externalContactId", type: o.expressionTypeNames.string }, { label: g.assignedCustomerSegments.segmentsToCheckLabel, options: l.ExpressionTypeCustomerSegmentOptions.create((e3) => e3.setCollectionItemOptions((e4) => { + e4.setAllowModeExpression(false), e4.setDescriptionInfo(null, g.customerSegment.customerSegmentItemDescription); + }).setAsInput().setIsOptional(true).setIsCollection(true).setDefaultToNoValue(true).setAllowModeLiteral(true).setModeNoValueSelectionLabel(g.assignedCustomerSegments.segmentsToCheckNoValueLabel).setModeNoValueRuntimeEvaluationStr(g.assignedCustomerSegments.segmentsToCheckNoValueLabel).setIninTestingField("SegmentsToCheckExpression").setMaxItems(5).setMinItems(1).setEmptyMessage(g.assignedCustomerSegments.noSegmentsSelected).setDescriptionInfo(g.assignedCustomerSegments.segmentsToCheckLabel, g.assignedCustomerSegments.segmentsToCheckDescription).setCustomLiteralValidator((e4) => { + const t3 = e4; + if (!t3.isLiteralMode || !t3.val) return; + const i3 = (function(e5) { + var t4; + const i4 = e5.parentList; + return null === (t4 = null == i4 ? void 0 : i4.collectionItems) || void 0 === t4 ? void 0 : t4.items; + })(t3); + if (null == i3 ? void 0 : i3.length) { + if (!d.customerSegmentManager.getBriefManagerWithFallback().getItem(t3.val) && !d.customerSegmentManager.getItem(t3.val)) return (0, r2.sprintf)(g.assignedCustomerSegments.segmentDeletedError, t3.text); + for (const e5 of i3) if (e5 !== t3 && e5.val === t3.val) return g.assignedCustomerSegments.segmentDuplicateError; + } + }), true), property: "segmentsToCheck", type: o.expressionTypeNames.customerSegment }, { label: g.assignedCustomerSegments.assignedCustomerSegmentsResultLabel, options: s.ExpressionTypeAssignedCustomerSegmentOptions.create((e3) => e3.setIninTestingField("AssignedCustomerSegmentsExpression").setIsCollection(true).setAsOutput().setAllowSecure(true).setDescriptionInfo(g.assignedCustomerSegments.assignedCustomerSegmentsResultLabel, g.assignedCustomerSegments.assignedCustomerSegmentsResultDescription)), property: "assignedCustomerSegmentsResult", type: o.expressionTypeNames.assignedCustomerSegment }]; + } + } + f.info = h.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: _.helpTopics.actions.getAssignedCustomerSegments, modelClass: a.GetAssignedCustomerSegmentsActionModel, name: g.actions.getAssignedCustomerSegments, scriptingName: "ArchActionGetAssignedCustomerSegments" }), t2.A = f; }, 45214: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(45741), o = i2(16029), a = i2(43096); let s; @@ -55249,15 +59947,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; function u(e3, t3) { return t3 && t3.__type && n2.isFunction(a[t3.__type]) ? new a[t3.__type](t3) : t3; } - function d(e3, t3) { + function c(e3, t3) { if (e3 && t3) for (const i3 in e3) { const r3 = Object.getPropertyDescriptor(t3, i3); r3 && (n2.isFunction(r3.set) || r3.writable) && (t3[i3] = e3[i3]); } } - function c(e3) { + function d(e3) { var t3; - n2.isString(e3) && (t3 = e3, e3 = JSON.parse(t3, u)), this.result = void 0, d(e3, this), Object.defineProperties(this, { flatten: { value: function() { + n2.isString(e3) && (t3 = e3, e3 = JSON.parse(t3, u)), this.result = void 0, c(e3, this), Object.defineProperties(this, { flatten: { value: function() { return (function(e4) { const t4 = {}; for (const i3 in e4) t4[i3] = e4[i3]; @@ -55272,17 +59970,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; function p(e3) { l().errorWithStack(e3, "Ignored Configuration Item"); } - Object.defineProperties(c, { extend: { value: function(e3, t3, i3) { + Object.defineProperties(d, { extend: { value: function(e3, t3, i3) { a[t3] = e3, o(e3, this), Object.defineProperty(e3.prototype, "__type", { value: t3, enumerable: !!i3 }), Object.defineProperties(e3, { __type: { value: t3 }, alias: { value: function(e4) { a[e4] = this; } }, baseConstructor: { value: e3._super.constructor }, extend: { value: this.extend }, instantiate: { value: function() { const t4 = n2.toArray(arguments), i4 = Object.create(e3.prototype); return e3.apply(i4, t4), i4; }, writable: true } }); - } } }), r2(c, { getConfiguration(e3, t3) { + } } }), r2(d, { getConfiguration(e3, t3) { return this; }, populateFromJSON(e3) { - d(e3, this); + c(e3, this); }, pasteReIdOrRename: { value: function(e3) { } }, pasteResolveOldToNewValues: { value: function(e3) { } }, reviveArray: function(e3, t3) { @@ -55336,7 +60034,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const o2 = this.reviveItem(e4, t3); i3 && (o2.id = n3), r3[n3] = o2; }), r3; - } }), e2.exports = c; + } }), e2.exports = d; }, 45252: (e2, t2, i2) => { "use strict"; var n2, r2; @@ -55369,16 +60067,59 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; o.baseConstructor.apply(this, arguments); } n2.extend(o, r2, true), e2.exports = o; + }, 45311: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ProcessingContext = void 0, t2.ProcessingContext = class { + constructor() { + this._pathParts = [], this._warnings = [], this._errors = [], this._refPathToObjectMap = /* @__PURE__ */ new Map(); + } + get currentReferencePath() { + return 0 === this._pathParts.length ? "/" : `/${this._pathParts.map((e3) => this._formatPathPart(e3)).join("/")}`; + } + get warnings() { + return this._warnings; + } + get errors() { + return this._errors; + } + pushPathPart(e3) { + this._pathParts.push({ prop: e3 }); + } + popPathPart() { + this._pathParts.pop(); + } + pushRefId(e3) { + 0 !== this._pathParts.length && (this._pathParts[this._pathParts.length - 1].objectId = e3); + } + popRefId() { + 0 !== this._pathParts.length && (this._pathParts[this._pathParts.length - 1].objectId = void 0); + } + addWarning(e3) { + this._warnings.push(e3); + } + addError(e3) { + this._errors.push(e3); + } + trackObject(e3, t3, i2) { + this._refPathToObjectMap.set(i2, t3); + } + getObjectByRefPath(e3) { + return this._refPathToObjectMap.get(e3); + } + _formatPathPart(e3) { + return void 0 !== e3.objectId ? `${e3.prop}[${e3.objectId}]` : e3.prop; + } + }; }, 45335: (e2, t2, i2) => { function n2() { n2.baseConstructor.apply(this, arguments); } i2(11475).extend(n2, "VideoVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; }, 45421: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(6291), { obfuscation: o } = i2(41829), { ParameterInfo: a } = i2(55909), { ParameterValidator: s } = i2(33951), l = i2(47957), u = i2(1115), d = i2(14187), { uuid: c } = i2(9456), p = "BaseClipboardViewModel"; + const n2 = i2(92140), r2 = i2(6291), { obfuscation: o } = i2(41829), { ParameterInfo: a } = i2(55909), { ParameterValidator: s } = i2(33951), l = i2(47957), u = i2(1115), c = i2(14187), { uuid: d } = i2(9456), p = "BaseClipboardViewModel"; class _ { constructor(e3) { - s.expectTrue(e3.isClipboardLogging, e3, "ClipboardLogging", () => a.createConstructorParameter(p, "clipboardLogging")), Object.defineProperties(this, { _clipboardLogging: { value: e3, writable: true, enumerable: false }, _createDateTimeStr: { writable: true, enumerable: true }, _id: { writable: true, enumerable: true } }), n2.isUndefined(this._id) && (this._id = c()), n2.isUndefined(this._createDateTime) && (this._createDateTimeStr = (/* @__PURE__ */ new Date()).toISOString()), Object.defineProperties(this, { _createDateTime: { value: new Date(this._createDateTimeStr), writable: false, enumerable: false } }); + s.expectTrue(e3.isClipboardLogging, e3, "ClipboardLogging", () => a.createConstructorParameter(p, "clipboardLogging")), Object.defineProperties(this, { _clipboardLogging: { value: e3, writable: true, enumerable: false }, _createDateTimeStr: { writable: true, enumerable: true }, _id: { writable: true, enumerable: true } }), n2.isUndefined(this._id) && (this._id = d()), n2.isUndefined(this._createDateTime) && (this._createDateTimeStr = (/* @__PURE__ */ new Date()).toISOString()), Object.defineProperties(this, { _createDateTime: { value: new Date(this._createDateTimeStr), writable: false, enumerable: false } }); } _getNameAndIdStr(e3) { return "'" + (e3.name ? e3.name : e3.displayName ? e3.displayName : "") + "' (ID: " + (e3.id ? e3.id : "") + ")"; @@ -55464,17 +60205,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; s.expectObject(t3, () => a.createFunctionParameter(this.className, "pasteFixVariable", "pastedVariableViewModel")); const i3 = this.createClipboardResultSuccess(); t3.isSecure && !e3.destFlowViewModel.supportsSecureVariables && (this.log("The variable model " + this._getNameAndIdStr(t3) + " is a secure variable which is not supported in the destination flow type '" + e3.destFlowViewModel.type + "'. Setting isSecure to false."), t3.isSecure = false); - const n3 = d.getScope(t3.name); + const n3 = c.getScope(t3.name); let r3, o2, l2 = true; switch (n3) { - case d.scopes.common: - case d.scopes.flow: + case c.scopes.common: + case c.scopes.flow: r3 = e3.destFlowViewModel.supportsFlowInputVariables, o2 = e3.destFlowViewModel.supportsFlowOutputVariables; break; - case d.scopes.state: + case c.scopes.state: r3 = e3.destFlowViewModel.supportsStateInputVariables, o2 = e3.destFlowViewModel.supportsStateOutputVariables; break; - case d.scopes.task: + case c.scopes.task: r3 = e3.destFlowViewModel.supportsTaskInputVariables, o2 = e3.destFlowViewModel.supportsTaskOutputVariables; break; default: @@ -55490,8 +60231,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return n2.find(e4, u2); }) : n2.find(l2, u2))) return e3; var l2, u2; - const d2 = (e3 = this.removeNumericSuffixAndSpace(e3)) ? e3 + (r3 ? " " : "") + "%1$s" : "%1$s", c2 = i3.destFlowViewModel._getUniqueName(t3, d2, o2, a2); - return this.log("Generated unique name '" + c2 + "' from original name '" + (e3 || "") + "'"), c2; + const c2 = (e3 = this.removeNumericSuffixAndSpace(e3)) ? e3 + (r3 ? " " : "") + "%1$s" : "%1$s", d2 = i3.destFlowViewModel._getUniqueName(t3, c2, o2, a2); + return this.log("Generated unique name '" + d2 + "' from original name '" + (e3 || "") + "'"), d2; } pushLogHeader(e3) { this._clipboardLogging.pushLogHeader(e3); @@ -55740,9 +60481,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = a; }, 45626: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(25653), o = i2(80428), a = i2(78513), s = n2.__importDefault(i2(27203)), l = i2(12179), u = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(80570)), c = i2(21733), p = i2(47957); + const n2 = i2(31635), r2 = i2(25653), o = i2(80428), a = i2(78513), s = n2.__importDefault(i2(27203)), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(80570)), d = n2.__importDefault(i2(4648)), p = i2(21733), _ = i2(47957); i2(84111); - class _ extends d.default { + class h extends c.default { constructor(e3, t3) { super(e3), this._loadModel(t3), this.question.options.setBuilderLanguagesSequenceConfig(r2.askForNextSlotSequences.questionSequence), this.parentFlow.isDigitalBotFlow ? (this.noInput.options.setBuilderLanguagesSequenceConfig(r2.askForNextSlotSequences.noInputDigitalBotSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(r2.askForNextSlotSequences.noMatchDigitalBotSequence)) : (this.noInput.options.setBuilderLanguagesSequenceConfig(r2.askForNextSlotSequences.noInputSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(r2.askForNextSlotSequences.noMatchSequence)); } @@ -55753,13 +60494,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return [s.default.loop]; } static get managedProperties() { - return [{ label: p.loop.indexDataName, options: a.ExpressionTypeIntegerOptions.create((e3) => e3.setAllowSecure(true).setAsOutput().setIsOptional(true).setModeNoValueRuntimeEvaluationStr(p.loopUntil.noLoopIndexVariableSpecified).setUiPropertyOrder(1).setIninTestingField("currentLoopIndex")), property: "currentIndex", type: o.expressionTypeNames.integer }]; + return [{ label: _.loop.indexDataName, options: a.ExpressionTypeIntegerOptions.create((e3) => e3.setAllowSecure(true).setAsOutput().setIsOptional(true).setModeNoValueRuntimeEvaluationStr(_.loopUntil.noLoopIndexVariableSpecified).setUiPropertyOrder(1).setIninTestingField("currentLoopIndex")), property: "currentIndex", type: o.expressionTypeNames.integer }]; } setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3), this.setNewInstanceQuestionText(c(this.parentFlow.defaultLanguage).askForNextSlot.question), this.parentFlow.isDigitalBotFlow ? (this.setNewInstanceNoInputText(c(this.parentFlow.defaultLanguage).askForNextSlot.noInputDigitalBot), this.setNewInstanceNoMatchText(c(this.parentFlow.defaultLanguage).askForNextSlot.noMatchDigitalBot)) : (this.setNewInstanceNoInputText(c(this.parentFlow.defaultLanguage).askForNextSlot.noInput), this.setNewInstanceNoMatchText(c(this.parentFlow.defaultLanguage).askForNextSlot.noMatch)); + super.setNewInstanceDefaults(e3), this.setNewInstanceQuestionText(p(this.parentFlow.defaultLanguage).askForNextSlot.question), this.parentFlow.isDigitalBotFlow ? (this.setNewInstanceNoInputText(p(this.parentFlow.defaultLanguage).askForNextSlot.noInputDigitalBot), this.setNewInstanceNoMatchText(p(this.parentFlow.defaultLanguage).askForNextSlot.noMatchDigitalBot)) : (this.setNewInstanceNoInputText(p(this.parentFlow.defaultLanguage).askForNextSlot.noInput), this.setNewInstanceNoMatchText(p(this.parentFlow.defaultLanguage).askForNextSlot.noMatch)); } } - _.info = u.default.createActionInfo({ actionClass: _, canBeInTask: true, canBeTreeNode: false, helpTopic: l.helpTopics.actions.askForNextIntentLoop, modelClass: i2(13818), name: p.actions.askForNLUNextIntentAction, scriptingName: "ArchActionLoopAnythingElse", supportsUtteranceHistoricalData: true }), t2.A = _; + h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, canBeTreeNode: false, helpTopic: l.helpTopics.actions.askForNextIntentLoop, modelClass: i2(13818), name: _.actions.askForNLUNextIntentAction, scriptingName: "ArchActionLoopAnythingElse", supportsUtteranceHistoricalData: true, modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 45741: (e2, t2, i2) => { const n2 = i2(92140); e2.exports = function(e3, t3) { @@ -56077,8 +60818,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = r2.__importDefault(i2(92140)), a = r2.__importDefault(i2(96481)), s = r2.__importDefault(i2(94225)), l = r2.__importDefault(i2(41510)), u = r2.__importDefault(i2(56549)), d = r2.__importDefault(i2(66978)); - class c extends a.default { + const r2 = i2(31635), o = r2.__importDefault(i2(92140)), a = r2.__importDefault(i2(96481)), s = r2.__importDefault(i2(94225)), l = r2.__importDefault(i2(41510)), u = r2.__importDefault(i2(56549)), c = r2.__importDefault(i2(66978)); + class d extends a.default { constructor(e3) { super(e3), n2.set(this, void 0), r2.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.eventName), "f"); } @@ -56119,7 +60860,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const r3 = {}; t3 && (r3.projectId = t3), n3 && (r3.integrationName = n3); const a2 = yield u.default.findItemByValueAsync(this._agentManager, e3, "dialogflow bot", null, null, o.default.isEmpty(r3) ? null : r3); - return this.logNote(`Found partial info for the Dialogflow agent named '${a2.name}' for the passed agent name of '${e3}'. Getting full agent details.`), d.default.addPromise(this._setDialogflowAgentByIdAsync(a2.id, null, i3), "setDialogflowAgentByNameAsync"); + return this.logNote(`Found partial info for the Dialogflow agent named '${a2.name}' for the passed agent name of '${e3}'. Getting full agent details.`), c.default.addPromise(this._setDialogflowAgentByIdAsync(a2.id, null, i3), "setDialogflowAgentByNameAsync"); }); } setDialogflowAgentByIdWithEnvironmentAsync(e3, t3, i3) { @@ -56131,7 +60872,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const r3 = {}; i3 && (r3.projectId = i3), a2 && (r3.integrationName = a2); const s2 = yield u.default.findItemByValueAsync(this._agentManager, e3, "dialogflow bot", null, null, o.default.isEmpty(r3) ? null : r3); - return this.logNote(`Found partial info for the Dialogflow agent named '${s2.name}' for the passed agent name of '${e3}'. Getting full agent details.`), d.default.addPromise(this._setDialogflowAgentByIdAsync(s2.id, t3, n3), "setDialogflowAgentByNameWithEnvironmentAsync"); + return this.logNote(`Found partial info for the Dialogflow agent named '${s2.name}' for the passed agent name of '${e3}'. Getting full agent details.`), c.default.addPromise(this._setDialogflowAgentByIdAsync(s2.id, t3, n3), "setDialogflowAgentByNameWithEnvironmentAsync"); }); } get _sessionVariableOutputs() { @@ -56142,11 +60883,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableOutputNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addSessionVariableOutputNameValuePair"), t3, true), this._sessionVariableOutputs._addNameValueAssignment(e3, t3, true, true); } } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = c; + n2 = /* @__PURE__ */ new WeakMap(), t2.default = d; }, 46292: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(78641)), o = n2.__importDefault(i2(66978)), a = n2.__importDefault(i2(41714)), s = n2.__importDefault(i2(98717)), l = n2.__importDefault(i2(72203)), u = n2.__importDefault(i2(56549)), d = { archAsyncPolling: r2.default, archAsyncTracker: o.default, archCoreService: a.default, archLogging: s.default, archNetworkValueCache: l.default, archNetworkValueRetrieval: u.default }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(78641)), o = n2.__importDefault(i2(66978)), a = n2.__importDefault(i2(41714)), s = n2.__importDefault(i2(98717)), l = n2.__importDefault(i2(2600)), u = n2.__importDefault(i2(72203)), c = n2.__importDefault(i2(56549)), d = { archAsyncPolling: r2.default, archAsyncTracker: o.default, archCoreService: a.default, archLogging: s.default, archNetworkDiagnostics: l.default, archNetworkValueCache: u.default, archNetworkValueRetrieval: c.default }; t2.default = d; }, 46377: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "\u092F\u0939 \u092E\u093E\u0928\u094D\u092F \u0928\u0939\u0940\u0902 \u0939\u0948.", noInputReceived: "\u092E\u0941\u091D\u0947 \u0915\u094B\u0908 \u0907\u0928\u092A\u0941\u091F \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E \u0939\u0948." }, askForBoolean: { noInput: '\u0905\u0917\u0930 \u0906\u092A \u0906\u0917\u0947 \u092C\u0922\u093C\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902 \u0924\u094B "\u0939\u093E\u0902" \u0915\u0939\u0947\u0902 \u092F\u093E \u0905\u0917\u0930 \u0928\u0939\u0940\u0902 \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902 \u0924\u094B "\u0928\u0939\u0940\u0902" \u0915\u0939\u0947\u0902.', noMatch: '\u0915\u0943\u092A\u092F\u093E "\u0939\u093E\u0902" \u092F\u093E "\u0928\u0939\u0940\u0902" \u0915\u0939\u0947\u0902. \u0915\u094D\u092F\u093E \u0906\u092A \u0906\u0917\u0947 \u092C\u0922\u093C\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?', question: "\u0915\u094D\u092F\u093E \u0906\u092A \u0906\u0917\u0947 \u092C\u0922\u093C\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?", noInputDigitalBot: '\u0905\u0917\u0930 \u0906\u092A \u0906\u0917\u0947 \u092C\u0922\u093C\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902 \u0924\u094B "\u0939\u093E\u0902" \u0907\u0928\u092A\u0941\u091F \u0915\u0930\u0947\u0902 \u092F\u093E \u0905\u0917\u0930 \u0928\u0939\u0940\u0902 \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902 \u0924\u094B "\u0928\u0939\u0940\u0902" \u0907\u0928\u092A\u0941\u091F \u0915\u0930\u0947\u0902.', noMatchDigitalBot: '\u0915\u0943\u092A\u092F\u093E "\u0939\u093E\u0902" \u092F\u093E "\u0928\u0939\u0940\u0902" \u0907\u0928\u092A\u0941\u091F \u0915\u0930\u0947\u0902. \u0915\u094D\u092F\u093E \u0906\u092A \u0906\u0917\u0947 \u092C\u0922\u093C\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?' }, askForIntent: { noInput: '\u092C\u0938 \u090F\u0915 \u091B\u094B\u091F\u093E \u0938\u093E \u0935\u093E\u0915\u094D\u092F \u092C\u094B\u0932\u0947\u0902 \u091C\u094B \u0906\u092A\u0915\u0940 \u0915\u094D\u0935\u0947\u0930\u0940 \u0915\u0947 \u092C\u093E\u0930\u0947 \u092E\u0947\u0902 \u092C\u0924\u093E\u0924\u093E \u0939\u0948. \u0909\u0926\u093E\u0939\u0930\u0923 \u0915\u0947 \u0932\u093F\u090F, "\u092E\u0947\u0930\u093E \u0905\u0915\u093E\u0909\u0902\u091F \u092C\u0948\u0932\u0947\u0902\u0938 \u091A\u0947\u0915 \u0915\u0930\u0947\u0902"', noMatch: "\u092E\u0941\u091D\u0947 \u092B\u093F\u0930 \u0938\u0947 \u092C\u0924\u093E\u090F\u0902 \u0915\u093F \u0906\u092A \u0915\u094D\u092F\u093E \u0915\u0930\u0928\u093E \u091A\u093E\u0939\u0947\u0902\u0917\u0947.", question: "\u0906\u092A \u0915\u094D\u092F\u093E \u0915\u0930\u0928\u093E \u091A\u093E\u0939\u0947\u0902\u0917\u0947?", noInputDigitalBot: '\u0915\u0943\u092A\u092F\u093E \u090F\u0915 \u091B\u094B\u091F\u093E \u0938\u093E \u0935\u093E\u0915\u094D\u092F \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902 \u091C\u094B \u0906\u092A\u0915\u0940 \u0915\u094D\u0935\u0947\u0930\u0940 \u0915\u0947 \u092C\u093E\u0930\u0947 \u092E\u0947\u0902 \u092C\u0924\u093E\u0924\u093E \u0939\u0948. \u0909\u0926\u093E\u0939\u0930\u0923 \u0915\u0947 \u0932\u093F\u090F, "\u092E\u0947\u0930\u093E \u0905\u0915\u093E\u0909\u0902\u091F \u092C\u0948\u0932\u0947\u0902\u0938 \u091A\u0947\u0915 \u0915\u0930\u0947\u0902"' }, askForSlot: { askFor: "%1$s \u0915\u0947 \u0932\u093F\u090F \u092A\u0942\u091B\u0947\u0902", noInput: "\u0915\u0943\u092A\u092F\u093E (\u0915\u0943\u092A\u092F\u093E \u092F\u0939\u093E\u0902 \u0905\u092A\u0928\u093E \u0938\u094D\u0932\u0949\u091F \u0928\u093E\u092E \u0921\u093E\u0932\u0947\u0902) \u092C\u094B\u0932\u0947\u0902 \u092F\u093E \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902.", noInputWithSlot: "\u0915\u0943\u092A\u092F\u093E %1$s \u092C\u094B\u0932\u0947\u0902 \u092F\u093E \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902.", noMatch: "\u0915\u0943\u092A\u092F\u093E \u092E\u0941\u091D\u0947 (\u0915\u0943\u092A\u092F\u093E \u092F\u0939\u093E\u0902 \u0905\u092A\u0928\u093E \u0938\u094D\u0932\u0949\u091F \u0928\u093E\u092E \u0921\u093E\u0932\u0947\u0902) \u092B\u093F\u0930 \u0938\u0947 \u0926\u0947\u0902.", noMatchWithSlot: "\u0915\u0943\u092A\u092F\u093E \u092E\u0941\u091D\u0947 %1$s \u092B\u093F\u0930 \u0938\u0947 \u0926\u0947\u0902.", question: "(\u0915\u0943\u092A\u092F\u093E \u092F\u0939\u093E\u0902 \u0905\u092A\u0928\u093E \u0938\u094D\u0932\u0949\u091F \u0928\u093E\u092E \u0921\u093E\u0932\u0947\u0902) \u0915\u094D\u092F\u093E \u0939\u0948?", questionWithSlot: "%1$s \u0915\u094D\u092F\u093E \u0939\u0948?", pleaseEnterSlotNameHere: "(\u0915\u0943\u092A\u092F\u093E \u092F\u0939\u093E\u0902 \u0905\u092A\u0928\u093E \u0938\u094D\u0932\u0949\u091F \u0928\u093E\u092E \u0921\u093E\u0932\u0947\u0902)", noInputDigitalBot: "\u0915\u0943\u092A\u092F\u093E (\u0915\u0943\u092A\u092F\u093E \u092F\u0939\u093E\u0902 \u0905\u092A\u0928\u093E \u0938\u094D\u0932\u0949\u091F \u0928\u093E\u092E \u0921\u093E\u0932\u0947\u0902) \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902.", noInputWithSlotDigitalBot: "\u0915\u0943\u092A\u092F\u093E %1$s \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902.", continuationPromptWithSlot: "\u092E\u0941\u091D\u0947 \u0905\u092C \u0924\u0915 {{Slot.%1$s}} \u092E\u093F\u0932\u093E \u0939\u0948, \u0915\u0943\u092A\u092F\u093E \u091C\u093E\u0930\u0940 \u0930\u0916\u0947\u0902." }, askForNextSlot: { noInput: '\u0905\u0917\u0930 \u0906\u092A\u0915\u0940 \u0915\u094B\u0908 \u0914\u0930 \u0915\u094D\u0935\u0947\u0930\u0940 \u0939\u0948 \u0924\u094B "\u0939\u093E\u0902" \u0915\u0939\u0947\u0902 \u092F\u093E \u0915\u0949\u0932 \u0916\u0924\u094D\u092E \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F "\u0928\u0939\u0940\u0902" \u0915\u0939\u0947\u0902.', noMatch: '\u0905\u0917\u0930 \u0906\u092A\u0915\u0940 \u0915\u094B\u0908 \u0914\u0930 \u0915\u094D\u0935\u0947\u0930\u0940 \u0939\u0948 \u0924\u094B "\u0939\u093E\u0902" \u0915\u0939\u0947\u0902 \u092F\u093E \u0938\u0947\u0936\u0928 \u0916\u0924\u094D\u092E \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F "\u0928\u0939\u0940\u0902" \u0915\u0939\u0947\u0902.', question: "\u0915\u094D\u092F\u093E \u0906\u092A\u0915\u094B \u0915\u093F\u0938\u0940 \u0914\u0930 \u091A\u0940\u091C\u093C \u092E\u0947\u0902 \u092E\u0947\u0930\u0940 \u092E\u0926\u0926 \u091A\u093E\u0939\u093F\u090F?", noInputDigitalBot: '\u0905\u0917\u0930 \u0906\u092A\u0915\u0940 \u0915\u094B\u0908 \u0914\u0930 \u0915\u094D\u0935\u0947\u0930\u0940 \u0939\u0948 \u0924\u094B "\u0939\u093E\u0902" \u0907\u0928\u092A\u0941\u091F \u0915\u0930\u0947\u0902 \u092F\u093E \u0938\u0947\u0936\u0928 \u0916\u0924\u094D\u092E \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F "\u0928\u0939\u0940\u0902" \u0907\u0928\u092A\u0941\u091F \u0915\u0930\u0947\u0902.', noMatchDigitalBot: '\u0905\u0917\u0930 \u0906\u092A\u0915\u0940 \u0915\u094B\u0908 \u0914\u0930 \u0915\u094D\u0935\u0947\u0930\u0940 \u0939\u0948 \u0924\u094B "\u0939\u093E\u0902" \u0907\u0928\u092A\u0941\u091F \u0915\u0930\u0947\u0902 \u092F\u093E \u0938\u0947\u0936\u0928 \u0916\u0924\u094D\u092E \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F "\u0928\u0939\u0940\u0902" \u0907\u0928\u092A\u0941\u091F \u0915\u0930\u0947\u0902.' }, askForPayment: { noInputDigitalBot: "\u0915\u0943\u092A\u092F\u093E \u091C\u093E\u0930\u0940 \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0905\u092A\u0928\u0940 \u092D\u0941\u0917\u0924\u093E\u0928 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u092A\u094D\u0930\u0926\u093E\u0928 \u0915\u0930\u0947\u0902\u0964", noMatchDigitalBot: "\u092E\u0941\u091D\u0947 \u0906\u092A\u0915\u093E \u091C\u0935\u093E\u092C \u0938\u092E\u091D \u0928\u0939\u0940\u0902 \u0906\u092F\u093E\u0964 \u0915\u0943\u092A\u092F\u093E \u092B\u093F\u0930 \u0938\u0947 \u0915\u094B\u0936\u093F\u0936 \u0915\u0930\u0947\u0902\u0964" }, askForAuthentication: { noInputDigitalBot: "\u0915\u0943\u092A\u092F\u093E \u091C\u093E\u0930\u0940 \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0905\u092A\u0928\u0940 \u092A\u094D\u0930\u092E\u093E\u0923\u0940\u0915\u0930\u0923 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u092A\u094D\u0930\u0926\u093E\u0928 \u0915\u0930\u0947\u0902\u0964", noMatchDigitalBot: "\u092E\u0941\u091D\u0947 \u0906\u092A\u0915\u093E \u091C\u0935\u093E\u092C \u0938\u092E\u091D \u0928\u0939\u0940\u0902 \u0906\u092F\u093E\u0964 \u0915\u0943\u092A\u092F\u093E \u092B\u093F\u0930 \u0938\u0947 \u0915\u094B\u0936\u093F\u0936 \u0915\u0930\u0947\u0902\u0964" }, askSurveyQuestion: { notApplicable: "\u0932\u093E\u0917\u0942 \u0928\u0939\u0940\u0902", surveyAnswerOptionSequence: "'%2$s' \u0915\u0947 \u0932\u093F\u090F %1$s \u0926\u092C\u093E\u090F\u0902.", surveyAnswerNotApplicableSequence: "\u0932\u093E\u0917\u0942 \u0928\u0939\u0940\u0902 \u0915\u0947 \u0932\u093F\u090F \u0938\u094D\u091F\u093E\u0930 \u0926\u092C\u093E\u090F\u0902.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. \u0932\u093E\u0917\u0942 \u0928\u0939\u0940\u0902 \u0915\u0947 \u0932\u093F\u090F \u0938\u094D\u091F\u093E\u0930 \u0926\u092C\u093E\u090F\u0902.", voiceSurveyNoInputText: "\u0915\u0943\u092A\u092F\u093E \u0938\u0935\u093E\u0932 \u0915\u093E \u091C\u0935\u093E\u092C \u0926\u0947\u0902.", voiceSurveyNoMatchText: "\u092E\u0941\u091D\u0947 \u0906\u092A\u0915\u0940 \u092C\u093E\u0924 \u0938\u092E\u091D \u0928\u0939\u0940\u0902 \u0906\u0908." }, commonModule: { exitCommonModule: "\u0938\u093E\u092E\u093E\u0928\u094D\u092F \u092E\u0949\u0921\u094D\u092F\u0942\u0932 \u0938\u0947 \u092C\u093E\u0939\u0930 \u0928\u093F\u0915\u0932\u0947\u0902" }, form: { noInputDigitalBot: "\u0915\u0943\u092A\u092F\u093E \u091C\u093E\u0930\u0940 \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u092B\u093C\u0949\u0930\u094D\u092E \u092D\u0930\u0947\u0902\u0964", noMatchDigitalBot: "\u0915\u0943\u092A\u092F\u093E \u091C\u093E\u0930\u0940 \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u092B\u093C\u0949\u0930\u094D\u092E \u092D\u0930\u0947\u0902\u0964" }, messagingTemplate: { noInputDigitalBot: "\u0915\u0943\u092A\u092F\u093E \u0909\u092A\u0932\u092C\u094D\u0927 \u0935\u093F\u0915\u0932\u094D\u092A\u094B\u0902 \u092E\u0947\u0902 \u0938\u0947 \u090F\u0915 \u0915\u094B \u091A\u0941\u0928\u0947\u0902\u0964", noMatchDigitalBot: "\u0915\u0943\u092A\u092F\u093E \u0909\u092A\u0932\u092C\u094D\u0927 \u0935\u093F\u0915\u0932\u094D\u092A\u094B\u0902 \u092E\u0947\u0902 \u0938\u0947 \u090F\u0915 \u0915\u094B \u091A\u0941\u0928\u0947\u0902\u0964." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u091C\u093E\u0930\u0940 \u0930\u0916\u0947\u0902", knowledgeAnswerHighlightFullArticleDefault: "\u092A\u0942\u0930\u093E \u0906\u0930\u094D\u091F\u093F\u0915\u0932 \u0926\u0947\u0916\u0947\u0902", knowledgeInitialResponseMulti: "\u092E\u0941\u091D\u0947 \u0906\u092A\u0915\u093E \u0932\u0915\u094D\u0937\u094D\u092F \u0938\u092E\u091D\u093E\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F, \u0915\u0943\u092A\u092F\u093E \u0928\u093F\u092E\u094D\u0928\u0932\u093F\u0916\u093F\u0924 \u0938\u0942\u091A\u0940 \u092E\u0947\u0902 \u0938\u0947 \u090F\u0915 \u0928\u0902\u092C\u0930 \u091A\u0941\u0928\u0947\u0902:", knowledgeInitialResponseMultiRetry: "\u0915\u0943\u092A\u092F\u093E \u090F\u0915 \u0928\u0902\u092C\u0930 \u091A\u0941\u0928\u0947\u0902, \u0909\u0926\u093E\u0939\u0930\u0923 \u0915\u0947 \u0932\u093F\u090F '1'.\n\u092F\u0939\u093E\u0902 \u0935\u093F\u0915\u0932\u094D\u092A\u094B\u0902 \u0915\u0940 \u0938\u0942\u091A\u0940 \u092B\u093F\u0930 \u0938\u0947 \u0926\u0940 \u0917\u0908 \u0939\u0948:", knowledgeNoMatch: "\u0907\u0928\u092E\u0947\u0902 \u0938\u0947 \u0915\u094B\u0908 \u0928\u0939\u0940\u0902", knowledgeConfirmation: "\u0915\u094D\u092F\u093E \u0907\u0938\u0938\u0947 \u0906\u092A\u0915\u0947 \u0938\u0935\u093E\u0932 \u0915\u093E \u091C\u0935\u093E\u092C \u092E\u093F\u0932 \u0917\u092F\u093E?", knowledgeFollowup: "\u092E\u0941\u091D\u0947 \u0909\u092E\u094D\u092E\u0940\u0926 \u0939\u0948 \u0915\u093F \u092E\u0948\u0902\u0928\u0947 \u0906\u092A\u0915\u0947 \u0938\u0935\u093E\u0932 \u0915\u093E \u091C\u0935\u093E\u092C \u0926\u0947 \u0926\u093F\u092F\u093E \u0939\u0948. \u0906\u092A \u0914\u0930 \u0915\u0941\u091B \u092D\u0940 \u092A\u0942\u091B \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u091C\u094B \u0906\u092A \u091C\u093E\u0928\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902." }, noOverlay: { intent: { intentConfirmationStr1: "\u092E\u0941\u091D\u0947 \u0932\u0917\u0924\u093E \u0939\u0948 \u0915\u093F \u0906\u092A\u0915\u094B \u092F\u0939 \u091A\u093E\u0939\u093F\u090F", intentConfirmationStr2: "\u0915\u094D\u092F\u093E \u092F\u0939 \u0938\u0939\u0940 \u0939\u0948?" }, youSaid: { youSaidConfirmationStr1: "\u0906\u092A\u0928\u0947 \u0915\u0939\u093E \u0925\u093E", youSaidConfirmationStr2: "\u0915\u094D\u092F\u093E \u092F\u0939 \u0938\u0939\u0940 \u0939\u0948?", youSaidConfirmationStr1DigitalBot: "\u0906\u092A\u0928\u0947 \u0926\u0930\u094D\u091C \u0915\u093F\u092F\u093E \u0939\u0948" }, noInput: { noInputStr1: "\u0915\u0943\u092A\u092F\u093E \u092C\u094B\u0932\u0947\u0902 \u092F\u093E \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902", noInputStr1DigitalBot: "\u0915\u0943\u092A\u092F\u093E \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902" }, noMatch: { noMatchStr1: "\u0915\u0943\u092A\u092F\u093E \u092E\u0941\u091D\u0947 \u0926\u0947\u0902" }, whatIs: { whatIsQuestionStr1: "\u0915\u094D\u092F\u093E \u0939\u0948", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u092E\u0941\u091D\u0947 \u092E\u093F\u0932 \u0917\u092F\u093E", iGotContinuationStr2: "\u0905\u092C \u0924\u0915, \u0915\u0943\u092A\u092F\u093E \u091C\u093E\u0930\u0940 \u0930\u0916\u0947\u0902." } }, defaultCallFlowOne: "\u0921\u093F\u092B\u093C\u0949\u0932\u094D\u091F \u0915\u0949\u0932 \u092B\u093C\u094D\u0932\u094B", errorHandlingAgentEscalationConfirmation: "\u0906\u092A \u0915\u093F\u0938\u0940 \u0938\u0932\u093E\u0939\u0915\u093E\u0930 \u0938\u0947 \u092C\u093E\u0924 \u0915\u0930\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902. \u0915\u094D\u092F\u093E \u092F\u0939 \u0938\u0939\u0940 \u0939\u0948?", errorHandlingAgentEscalationHandover: "\u0915\u0943\u092A\u092F\u093E \u0915\u0941\u091B \u0926\u0947\u0930 \u0930\u0941\u0915\u0947\u0902 \u0914\u0930 \u092E\u0948\u0902 \u0906\u092A\u0915\u0940 \u092C\u093E\u0924 \u0915\u093F\u0938\u0940 \u0914\u0930 \u0938\u0947 \u0915\u0930\u0935\u093E\u0924\u093E/\u0915\u0930\u0935\u093E\u0924\u0940 \u0939\u0942\u0901.", errorHandlingErrorEventHandover: "\u092E\u093E\u092B\u093C \u0915\u0930\u0947\u0902, \u0915\u094B\u0908 \u0917\u0921\u093C\u092C\u0921\u093C\u0940 \u0939\u0941\u0908. \u0915\u0943\u092A\u092F\u093E \u0915\u0941\u091B \u0926\u0947\u0930 \u0930\u0941\u0915\u0947\u0902 \u0914\u0930 \u092E\u0948\u0902 \u0906\u092A\u0915\u0940 \u092C\u093E\u0924 \u0915\u093F\u0938\u0940 \u0914\u0930 \u0938\u0947 \u0915\u0930\u0935\u093E\u0924\u0940/\u0915\u0930\u0935\u093E\u0924\u093E \u0939\u0942\u0901, \u091C\u094B \u0906\u092A\u0915\u0940 \u092E\u0926\u0926 \u0915\u0930 \u0938\u0915\u0947.", errorHandlingErrorEventHandoverVoiceSurvey: "\u092E\u093E\u092B\u093C \u0915\u0930\u0947\u0902, \u0915\u094B\u0908 \u0917\u0921\u093C\u092C\u0921\u093C\u0940 \u0939\u0941\u0908. \u0905\u0932\u0935\u093F\u0926\u093E.", errorHandlingRecognitionEventHandover: "\u092E\u093E\u092B\u093C \u0915\u0930\u0947\u0902, \u092E\u0941\u091D\u0947 \u0906\u092A\u0915\u093E \u092C\u093E\u0924 \u0920\u0940\u0915 \u0938\u0947 \u0938\u092E\u091D \u0928\u0939\u0940\u0902 \u0906 \u0930\u0939\u0940 \u0939\u0948. \u0915\u0943\u092A\u092F\u093E \u0915\u0941\u091B \u0926\u0947\u0930 \u0930\u0941\u0915\u0947\u0902 \u0914\u0930 \u092E\u0948\u0902 \u0906\u092A\u0915\u0940 \u092C\u093E\u0924 \u0915\u093F\u0938\u0940 \u0914\u0930 \u0938\u0947 \u0915\u0930\u0935\u093E\u0924\u0940/\u0915\u0930\u0935\u093E\u0924\u093E \u0939\u0942\u0901, \u091C\u094B \u0906\u092A\u0915\u0940 \u092E\u0926\u0926 \u0915\u0930 \u0938\u0915\u0947.", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u092E\u093E\u092B\u093C \u0915\u0930\u0947\u0902, \u092E\u0941\u091D\u0947 \u0906\u092A\u0915\u0940 \u092C\u093E\u0924 \u0920\u0940\u0915 \u0938\u0947 \u0938\u092E\u091D \u0928\u0939\u0940\u0902 \u0906 \u0930\u0939\u0940 \u0939\u0948. \u0905\u0932\u0935\u093F\u0926\u093E.", errorHandlingTTS: "\u092E\u093E\u092B\u093C \u0915\u0930\u0947\u0902, \u0915\u094B\u0908 \u0917\u0921\u093C\u092C\u0921\u093C\u0940 \u0939\u0941\u0908. \u0915\u0943\u092A\u092F\u093E \u0905\u092A\u0928\u093E \u0915\u0949\u0932 \u092B\u093F\u0930 \u0938\u0947 \u0915\u0930\u0928\u0947 \u0915\u0940 \u0915\u094B\u0936\u093F\u0936 \u0915\u0930\u0947\u0902.", initialGreetingTTS: "\u0928\u092E\u0938\u094D\u0924\u0947, \u092F\u0939 \u0936\u0941\u0930\u0941\u0906\u0924\u0940 \u0905\u092D\u093F\u0935\u093E\u0926\u0928 \u0939\u0948.", initialState: "\u0936\u0941\u0930\u0941\u0906\u0924\u0940 \u0938\u094D\u0925\u093F\u0924\u093F", initialBotState: "\u0921\u093F\u092B\u093C\u0949\u0932\u094D\u091F \u092C\u0949\u091F", initialDigitalBotState: "\u0936\u0941\u0930\u0941\u0906\u0924\u0940 \u0905\u092D\u093F\u0935\u093E\u0926\u0928", initialSurveyBotState: "\u0938\u0930\u094D\u0935\u0947 \u092C\u0949\u091F", intentConfirmation: "\u092E\u0941\u091D\u0947 \u0932\u0917\u0924\u093E \u0939\u0948 \u0915\u093F \u0906\u092A %1$s \u0915\u0930\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902, \u0915\u094D\u092F\u093E \u092F\u0939 \u0938\u0939\u0940 \u0939\u0948?", mainMenu: "\u092E\u0941\u0916\u094D\u092F \u092E\u0947\u0928\u0942", mainMenuTTS: "\u0906\u092A \u092E\u0941\u0916\u094D\u092F \u092E\u0947\u0928\u0942 \u092A\u0930 \u0939\u0948\u0902, \u0921\u093F\u0938\u094D\u0915\u0928\u0947\u0915\u094D\u091F \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F 9 \u0926\u092C\u093E\u090F\u0902", mainTask: "\u091F\u093E\u0938\u094D\u200D\u0915", settingsConfirmationNoInputApology: "\u092E\u093E\u092B\u093C \u0915\u0930\u0947\u0902, \u092E\u0941\u091D\u0947 \u0906\u092A\u0915\u0940 \u092C\u093E\u0924 \u0938\u0941\u0928\u093E\u0908 \u0928\u0939\u0940\u0902 \u0926\u0940. \u0915\u0943\u092A\u092F\u093E \u0939\u093E\u0902 \u092F\u093E \u0928\u0939\u0940\u0902 \u0915\u0939\u0947\u0902.", settingsConfirmationNoInputApologyDigitalBot: '\u092E\u093E\u092B\u093C \u0915\u0930\u0947\u0902, \u092E\u0941\u091D\u0947 \u0906\u092A\u0938\u0947 \u0915\u094B\u0908 \u0907\u0928\u092A\u0941\u091F \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E. \u0915\u0943\u092A\u092F\u093E "\u0939\u093E\u0902" \u092F\u093E "\u0928\u0939\u0940\u0902" \u0907\u0928\u092A\u0941\u091F \u0915\u0930\u0947\u0902.', settingsConfirmationNoMatchApology: "\u092E\u093E\u092B\u093C \u0915\u0930\u0947\u0902, \u0915\u0943\u092A\u092F\u093E \u0939\u093E\u0902 \u092F\u093E \u0928\u0939\u0940\u0902 \u0915\u0939\u0947\u0902.", settingsConfirmationNoMatchApologyDigitalBot: '\u092E\u093E\u092B\u093C \u0915\u0930\u0947\u0902, \u0915\u0943\u092A\u092F\u093E "\u0939\u093E\u0902" \u092F\u093E "\u0928\u0939\u0940\u0902" \u0907\u0928\u092A\u0941\u091F \u0915\u0930\u0947\u0902.', settingsNoInputApology: "\u092E\u093E\u092B\u093C \u0915\u0930\u0947\u0902, \u092E\u0941\u091D\u0947 \u0906\u092A\u0915\u0940 \u0906\u0935\u093E\u091C\u093C \u0938\u0941\u0928\u093E\u0908 \u0928\u0939\u0940\u0902 \u0926\u0940.", settingsNoInputApologyDigitalBot: "\u092E\u093E\u092B\u093C \u0915\u0930\u0947\u0902, \u092E\u0941\u091D\u0947 \u0906\u092A\u0938\u0947 \u0915\u094B\u0908 \u0907\u0928\u092A\u0941\u091F \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E.", settingsEndOfSessionMessageDigitalBot: "\u092E\u0941\u091D\u0947 \u0915\u0941\u091B \u0926\u0947\u0930 \u0938\u0947 \u0906\u092A\u0915\u0940 \u0915\u094B\u0908 \u092A\u094D\u0930\u0924\u093F\u0915\u094D\u0930\u093F\u092F\u093E \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u0940 \u0939\u0948, \u0907\u0938\u0932\u093F\u090F \u092E\u0948\u0902 \u0907\u0938 \u091A\u0948\u091F \u0915\u094B \u092C\u0902\u0926 \u0915\u0930 \u0930\u0939\u093E/\u0930\u0939\u0940 \u0939\u0942\u0901, \u0915\u0943\u092A\u092F\u093E \u092E\u0947\u0930\u0940 \u092E\u0926\u0926 \u0915\u0940 \u091C\u093C\u0930\u0942\u0930\u0924 \u092A\u0921\u093C\u0928\u0947 \u092A\u0930 \u0935\u093E\u092A\u0938 \u0906\u090F\u0902. \u0927\u0928\u094D\u092F\u0935\u093E\u0926.", settingsNoMatchApology: "\u092E\u093E\u092B\u093C \u0915\u0930\u0947\u0902.", settingsNoToConfirmationApology: "\u092E\u0947\u0930\u0940 \u0917\u0932\u0924\u0940 \u0939\u0948.", periodicStateName: "\u0906\u0935\u0930\u094D\u0924\u0940 \u0938\u094D\u0925\u093F\u0924\u093F" }; @@ -56291,34 +61032,34 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; var n2, r2, o, a; Object.defineProperty(t2, "__esModule", { value: true }), t2.UpdateConversationAttributeActionModel = void 0; - const s = i2(31635), l = i2(70630), u = i2(80295), d = s.__importDefault(i2(7401)), c = i2(80295), p = i2(30801); + const s = i2(31635), l = i2(70630), u = i2(80295), c = s.__importDefault(i2(7401)), d = i2(80295), p = i2(30801); class _ extends l.BaseConversationAttributeActionModel { constructor(e3) { - super(e3), this.__type = _.__type, (0, c.makeUnenumerable)(this, "_recordId"), (0, c.makeUnenumerable)(this, "_input"), (0, c.makeUnenumerable)(this, "_output"), (0, c.makeUnenumerable)(this, "_divisions"); + super(e3), this.__type = _.__type, (0, d.makeUnenumerable)(this, "_recordId"), (0, d.makeUnenumerable)(this, "_input"), (0, d.makeUnenumerable)(this, "_output"), (0, d.makeUnenumerable)(this, "_divisions"); } get recordId() { return this._recordId; } set recordId(e3) { - this._recordId = this.reviveItem(e3, d.default); + this._recordId = this.reviveItem(e3, c.default); } get input() { return this._input; } set input(e3) { - this._input = this.reviveItem(e3, d.default); + this._input = this.reviveItem(e3, c.default); } get output() { return this._output; } set output(e3) { - this._output = this.reviveItem(e3, d.default); + this._output = this.reviveItem(e3, c.default); } get divisions() { return this._divisions; } set divisions(e3) { - this._divisions = this.reviveItem(e3, d.default); + this._divisions = this.reviveItem(e3, c.default); } pasteReIdOrRename(e3) { var t3, i3; @@ -56329,7 +61070,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super.pasteResolveOldToNewValues(e3), this.recordId.pasteResolveOldToNewValues(e3), null === (t3 = this.input) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this.output) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3), this.divisions.pasteResolveOldToNewValues(e3); } } - t2.UpdateConversationAttributeActionModel = _, _.__type = p.updateConversationAttributeActionType, s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (n2 = void 0 !== d.default && d.default) ? n2 : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "recordId", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (r2 = void 0 !== d.default && d.default) ? r2 : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "input", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (o = void 0 !== d.default && d.default) ? o : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "output", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (a = void 0 !== d.default && d.default) ? a : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "divisions", null), _.registerType(); + t2.UpdateConversationAttributeActionModel = _, _.__type = p.updateConversationAttributeActionType, s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.default && c.default) ? n2 : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "recordId", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (r2 = void 0 !== c.default && c.default) ? r2 : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "input", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (o = void 0 !== c.default && c.default) ? o : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "output", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (a = void 0 !== c.default && c.default) ? a : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "divisions", null), _.registerType(); }, 46503: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.toAudioTtsJson = function(e3) { @@ -56337,13 +61078,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }; }, 46521: (e2, t2, i2) => { const n2 = i2(14592), r2 = i2(87675).default, { ParameterInfo: o } = i2(55909), { ParameterValidator: a } = i2(33951), s = i2(78234), l = i2(79042), u = i2(45421); - class d extends l { + class c extends l { constructor(e3, t3) { super(t3), a.expectObject(e3, () => o.createConstructorParameter("ClipboardDependencyCustomDataTypeDefViewModel", "customDataTypeDefModel"), true), Object.defineProperties(this, { _dependencyCustomDataTypeDefModel: { writable: true } }), e3 && this.loadModel(e3); } static create(e3, t3) { const i3 = new s({ id: e3.dataTypeId, dataTypeDef: u.cloneToRawJsonObject(e3) }); - return new d(i3, t3); + return new c(i3, t3); } loadModel(e3) { this._dependencyCustomDataTypeDefModel = e3; @@ -56395,7 +61136,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return t3; } } - e2.exports = d; + e2.exports = c; }, 46556: (e2, t2, i2) => { var n2 = { "./cs-cz/expressions.js": [91516, 1516], "./de-de/expressions.js": [90641, 641], "./en-us/expressions.js": [20650], "./es-us/expressions.js": [31543, 1543], "./fr-ca/expressions.js": [95891, 5891], "./it-it/expressions.js": [68801, 8801], "./ja-jp/expressions.js": [9557, 1938], "./ko-kr/expressions.js": [4032, 4032], "./nb-no/expressions.js": [10876, 876], "./nl-nl/expressions.js": [36707, 6707], "./pl-pl/expressions.js": [23111, 3111], "./pt-br/expressions.js": [24199, 4199], "./ru-ru/expressions.js": [19189, 9189], "./sv-se/expressions.js": [96280, 6280], "./tr-tr/expressions.js": [94247, 4247], "./zh-cn/expressions.js": [7895, 276], "./zh-tw/expressions.js": [79711, 2092] }; function r2(e3) { @@ -56408,13 +61149,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } r2.keys = () => Object.keys(n2), r2.id = 46556, e2.exports = r2; }, 46575: (e2, t2, i2) => { - const { builderCategoryIds: n2 } = i2(73062), r2 = i2(79904).default, o = i2(81818).default, a = i2(41568).default, s = i2(5532).default, { builderPartIds: l } = i2(69149), u = i2(42290).default, d = i2(16958), c = i2(73198).default, { expressionDataService: p } = i2(27491), _ = i2(76486).default, h = i2(22599).default, m = i2(22226), g = i2(81858), f = i2(98114).default, { flowTypes: T } = i2(96618), y = i2(80145).default, { globalTypes: S } = i2(14394), A = i2(61864).default, N = i2(96727).default, O = i2(47957), { defaultWithNoLabel: I } = i2(93631), { selectAndAddPrompt: v } = i2(93631), { markdown: C } = i2(93631), { selectAndAddText: b } = i2(93631), { allSupportedDigitalChannelTypes: E } = i2(75758); + const { builderCategoryIds: n2 } = i2(73062), r2 = i2(79904).default, o = i2(81818).default, a = i2(41568).default, s = i2(5532).default, { builderPartIds: l } = i2(69149), u = i2(42290).default, c = i2(16958), d = i2(73198).default, { expressionDataService: p } = i2(27491), _ = i2(76486).default, h = i2(22599).default, m = i2(22226), g = i2(81858), f = i2(98114).default, { flowTypes: T } = i2(96618), y = i2(80145).default, { globalTypes: S } = i2(14394), A = i2(61864).default, N = i2(96727).default, v = i2(47957), { defaultWithNoLabel: O } = i2(93631), { selectAndAddPrompt: I } = i2(93631), { markdown: C } = i2(93631), { selectAndAddText: b } = i2(93631), { allSupportedDigitalChannelTypes: E } = i2(75758); e2.exports = { create: () => { - s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.stringParsing, description: d.builderParts.string.lastFour.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("lastFourCharactersOfThisString"), expressionType: S.string, label: d.builderParts.string.lastFour.sourceString })], generators: { expressionGenerator: h.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Right").addTokenReplacement(0).addFuncParameterSeparator().addToken("4").addFuncCallEnd().addFuncParameterSeparator().addFuncCall("ToString").addTokenNotSet().addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s), Right(%1$s, 4), ToString(NOT_SET))"), stringLiteralGenerator: h.create().addFuncCall("Right").addTokenReplacement(0).addFuncParameterSeparator().addToken("4").addFuncCallEnd().verifySprintfStringAndInitialize("Right(%1$s, 4)") }, id: l.string.lastFour, name: d.builderParts.string.lastFour.name, resultExpressionType: S.string, useStringLiteralProcessing: function(e4, t3, i3) { + s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.stringParsing, description: c.builderParts.string.lastFour.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("lastFourCharactersOfThisString"), expressionType: S.string, label: c.builderParts.string.lastFour.sourceString })], generators: { expressionGenerator: h.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Right").addTokenReplacement(0).addFuncParameterSeparator().addToken("4").addFuncCallEnd().addFuncParameterSeparator().addFuncCall("ToString").addTokenNotSet().addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s), Right(%1$s, 4), ToString(NOT_SET))"), stringLiteralGenerator: h.create().addFuncCall("Right").addTokenReplacement(0).addFuncParameterSeparator().addToken("4").addFuncCallEnd().verifySprintfStringAndInitialize("Right(%1$s, 4)") }, id: l.string.lastFour, name: c.builderParts.string.lastFour.name, resultExpressionType: S.string, useStringLiteralProcessing: function(e4, t3, i3) { return m.textIsExpressionStringLiteral(i3); }, version: 1 })); - const e3 = new _({ configureOptionsCallback: (e4) => e4.setDefaultText(c.true).setIninTestingField("stringIgnoreCase"), expressionType: S.boolean, label: d.builderParts.string.ignoreCase.label }); - s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.stringParsing, n2.labelString], description: d.builderParts.string.contains.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("stringContainsTarget"), expressionType: S.string, label: d.builderParts.string.followingString }), new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("stringContainsTest"), expressionType: S.string, label: d.builderParts.string.contains.testString }), e3], generators: { expressionGenerator: h.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Contains").addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncParameterSeparator().addTokenReplacement(2).addFuncCallEnd().addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s) And IsSet(%2$s), Contains(%1$s, %2$s, %3$s), false)") }, id: l.string.contains, name: d.builderParts.string.contains.name, resultExpressionType: S.boolean, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.stringParsing, n2.labelString], description: d.builderParts.string.endsWith.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("targetString"), expressionType: S.string, label: d.builderParts.string.followingString }), new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("testString"), expressionType: S.string, label: d.builderParts.string.endsWith.testString }), e3], generators: { expressionGenerator: h.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Compare").addFuncCall("Right").addTokenReplacement(0).addFuncParameterSeparator().addFuncCall("Length").addTokenReplacement(1).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(1).addFuncParameterSeparator().addTokenReplacement(2).addFuncCallEnd().addOperatorEquals().addToken("0").addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s) And IsSet(%2$s), Compare(Right(%1$s, Length(%2$s)), %2$s, %3$s) == 0, false)") }, id: l.string.endsWith, name: d.builderParts.string.endsWith.name, resultExpressionType: S.boolean, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.stringParsing, n2.labelString], description: d.builderParts.string.startsWith.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("targetString"), expressionType: S.string, label: d.builderParts.string.followingString }), new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("testString"), expressionType: S.string, label: d.builderParts.string.startsWith.testString }), e3], generators: { expressionGenerator: h.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Compare").addFuncCall("Left").addTokenReplacement(0).addFuncParameterSeparator().addFuncCall("Length").addTokenReplacement(1).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(1).addFuncParameterSeparator().addTokenReplacement(2).addFuncCallEnd().addOperatorEquals().addToken("0").addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s) And IsSet(%2$s), Compare(Left(%1$s, Length(%2$s)), %2$s, %3$s) == 0, false)") }, id: l.string.startsWith, name: d.builderParts.string.startsWith.name, resultExpressionType: S.boolean, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.toolbar, n2.labelString], description: d.builderParts.string.data.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setAsVariableInput().setIninTestingField("dataToString"), expressionType: S.any, label: d.builderParts.string.data.name })], generators: { toDisplayStringGeneratorWithResolveSlot: h.create().addFuncCall("ToDisplayString").addFuncCall("ResolveSlot").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToDisplayString(ResolveSlot(%1$s))"), toDisplayStringGenerator: h.create().addFuncCall("ToDisplayString").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToDisplayString(%1$s)"), toStringGenerator: h.create().addFuncCall("ToString").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToString(%1$s)"), getExpressionGenerator: (e4, t3) => { + const e3 = new _({ configureOptionsCallback: (e4) => e4.setDefaultText(d.true).setIninTestingField("stringIgnoreCase"), expressionType: S.boolean, label: c.builderParts.string.ignoreCase.label }); + s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.stringParsing, n2.labelString], description: c.builderParts.string.contains.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("stringContainsTarget"), expressionType: S.string, label: c.builderParts.string.followingString }), new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("stringContainsTest"), expressionType: S.string, label: c.builderParts.string.contains.testString }), e3], generators: { expressionGenerator: h.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Contains").addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncParameterSeparator().addTokenReplacement(2).addFuncCallEnd().addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s) And IsSet(%2$s), Contains(%1$s, %2$s, %3$s), false)") }, id: l.string.contains, name: c.builderParts.string.contains.name, resultExpressionType: S.boolean, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.stringParsing, n2.labelString], description: c.builderParts.string.endsWith.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("targetString"), expressionType: S.string, label: c.builderParts.string.followingString }), new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("testString"), expressionType: S.string, label: c.builderParts.string.endsWith.testString }), e3], generators: { expressionGenerator: h.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Compare").addFuncCall("Right").addTokenReplacement(0).addFuncParameterSeparator().addFuncCall("Length").addTokenReplacement(1).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(1).addFuncParameterSeparator().addTokenReplacement(2).addFuncCallEnd().addOperatorEquals().addToken("0").addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s) And IsSet(%2$s), Compare(Right(%1$s, Length(%2$s)), %2$s, %3$s) == 0, false)") }, id: l.string.endsWith, name: c.builderParts.string.endsWith.name, resultExpressionType: S.boolean, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.stringParsing, n2.labelString], description: c.builderParts.string.startsWith.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("targetString"), expressionType: S.string, label: c.builderParts.string.followingString }), new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("testString"), expressionType: S.string, label: c.builderParts.string.startsWith.testString }), e3], generators: { expressionGenerator: h.create().addFuncCall("If").addFuncCall("IsSet").addTokenReplacement(0).addFuncCallEnd().addOperatorAnd().addFuncCall("IsSet").addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCall("Compare").addFuncCall("Left").addTokenReplacement(0).addFuncParameterSeparator().addFuncCall("Length").addTokenReplacement(1).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(1).addFuncParameterSeparator().addTokenReplacement(2).addFuncCallEnd().addOperatorEquals().addToken("0").addFuncParameterSeparator().addTokenBooleanFalse().addFuncCallEnd().verifySprintfStringAndInitialize("If(IsSet(%1$s) And IsSet(%2$s), Compare(Left(%1$s, Length(%2$s)), %2$s, %3$s) == 0, false)") }, id: l.string.startsWith, name: c.builderParts.string.startsWith.name, resultExpressionType: S.boolean, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.toolbar, n2.labelString], description: c.builderParts.string.data.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setAsVariableInput().setIninTestingField("dataToString"), expressionType: S.any, label: c.builderParts.string.data.name })], generators: { toDisplayStringGeneratorWithResolveSlot: h.create().addFuncCall("ToDisplayString").addFuncCall("ResolveSlot").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToDisplayString(ResolveSlot(%1$s))"), toDisplayStringGenerator: h.create().addFuncCall("ToDisplayString").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToDisplayString(%1$s)"), toStringGenerator: h.create().addFuncCall("ToString").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToString(%1$s)"), getExpressionGenerator: (e4, t3) => { let i3, n3; const r3 = e4.builderPartExpressions[0]; if (r3?.isVariableMode) { @@ -56422,9 +61163,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; n3 = p.expressionFuncOpsByOverloadId[y.any_ResolveSlot_any], t4?.isSlotVariable && n3?.isAvailableForFlowType(e4.parentFlowType) && (i3 = true); } return e4.parentFlow.definition.isAutomateOrCiceroFlowType ? i3 ? t3.toDisplayStringGeneratorWithResolveSlot : t3.toDisplayStringGenerator : t3.toStringGenerator; - } }, viewId: I, id: l.string.data, icon: A.database, name: d.builderParts.string.data.name, resultExpressionType: S.string, restrictToFlowTypeOrTypes: f.getFlowTypesThatSupportLanguages(), version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.toolbar, n2.labelString], description: d.builderParts.string.expression.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setAllowModeExpressionOnly(true).setIninTestingField("stringExpression"), expressionType: S.any, label: d.builderParts.string.expression.name })], generators: { toDisplayStringGenerator: h.create().addFuncCall("ToDisplayString").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToDisplayString(%1$s)"), toStringGenerator: h.create().addFuncCall("ToString").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToString(%1$s)"), getExpressionGenerator: (e4, t3) => e4.parentFlow.definition.isAutomateOrCiceroFlowType ? t3.toDisplayStringGenerator : t3.toStringGenerator }, viewId: I, id: l.string.expression, icon: A.expression, name: d.builderParts.string.expression.name, resultExpressionType: S.string, restrictToFlowTypeOrTypes: f.getFlowTypesThatSupportLanguages(), useStringLiteralProcessing: function(e4, t3, i3) { + } }, viewId: O, id: l.string.data, icon: A.database, name: c.builderParts.string.data.name, resultExpressionType: S.string, restrictToFlowTypeOrTypes: f.getFlowTypesThatSupportLanguages(), version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.toolbar, n2.labelString], description: c.builderParts.string.expression.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setAllowModeExpressionOnly(true).setIninTestingField("stringExpression"), expressionType: S.any, label: c.builderParts.string.expression.name })], generators: { toDisplayStringGenerator: h.create().addFuncCall("ToDisplayString").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToDisplayString(%1$s)"), toStringGenerator: h.create().addFuncCall("ToString").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToString(%1$s)"), getExpressionGenerator: (e4, t3) => e4.parentFlow.definition.isAutomateOrCiceroFlowType ? t3.toDisplayStringGenerator : t3.toStringGenerator }, viewId: O, id: l.string.expression, icon: A.expression, name: c.builderParts.string.expression.name, resultExpressionType: S.string, restrictToFlowTypeOrTypes: f.getFlowTypesThatSupportLanguages(), useStringLiteralProcessing: function(e4, t3, i3) { return i3.length > 2 && m.textIsExpressionStringLiteral(i3); - }, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.toolbar, description: d.builderParts.string.prompt.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setIninTestingField("promptString"), expressionType: S.prompt, label: d.builderParts.string.prompt.name }), new _({ configureOptionsCallback: (e4) => e4.setIninTestingField("addPromptType").setDefaultText("text").setAllowModeLiteralOnly(true).facets.setTrim(true).setAllowableValues([{ id: "tts", displayString: O.editPrompt.ttsLabel }, { id: "text", displayString: O.editPrompt.textLabel }]), expressionType: S.string, label: d.builderParts.string.prompt.name })], generators: { promptTextGenerator: h.create().addFuncCall("GetPromptText").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("GetPromptText(%1$s)"), promptTtsGenerator: h.create().addFuncCall("GetPromptTextToSpeech").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("GetPromptTextToSpeech(%1$s)"), getExpressionGenerator: (e4, t3) => { + }, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.toolbar, description: c.builderParts.string.prompt.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setIninTestingField("promptString"), expressionType: S.prompt, label: c.builderParts.string.prompt.name }), new _({ configureOptionsCallback: (e4) => e4.setIninTestingField("addPromptType").setDefaultText("text").setAllowModeLiteralOnly(true).facets.setTrim(true).setAllowableValues([{ id: "tts", displayString: v.editPrompt.ttsLabel }, { id: "text", displayString: v.editPrompt.textLabel }]), expressionType: S.string, label: c.builderParts.string.prompt.name })], generators: { promptTextGenerator: h.create().addFuncCall("GetPromptText").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("GetPromptText(%1$s)"), promptTtsGenerator: h.create().addFuncCall("GetPromptTextToSpeech").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("GetPromptTextToSpeech(%1$s)"), getExpressionGenerator: (e4, t3) => { let i3; try { if (e4 && e4.builderPartExpressions && e4.builderPartExpressions.length > 1) switch (e4.builderPartExpressions[1].text) { @@ -56437,28 +61178,28 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } catch (e5) { } return i3 || t3.promptTextGenerator; - } }, viewId: v, id: l.string.prompt, icon: A.prompt, name: d.builderParts.string.prompt.name, resultExpressionType: S.string, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.toolbar, description: d.builderParts.string.deflectionURL.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setIninTestingField("addServiceType").setAllowModeLiteralOnly(true).setDefaultText("facebook").facets.setTrim(true).setAllowableValues(E), expressionType: S.string, label: d.builderParts.string.deflectionURL.serviceLabel }), new _({ configureOptionsCallback: (e4) => e4.setIninTestingField("addAccountId").setAsInput().facets.setMinLength(1).setTrim(true), expressionType: S.string, label: d.builderParts.string.deflectionURL.accountLabel })], generators: { facebookGenerator: h.create().addFuncCall("GetDeflectionURL").addToken('"facebook"').addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().verifySprintfStringAndInitialize('GetDeflectionURL("facebook", %2$s)'), whatsAppGenerator: h.create().addFuncCall("GetDeflectionURL").addToken('"whatsapp"').addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().verifySprintfStringAndInitialize('GetDeflectionURL("whatsapp", %2$s)'), getExpressionGenerator: (e4, t3) => { + } }, viewId: I, id: l.string.prompt, icon: A.prompt, name: c.builderParts.string.prompt.name, resultExpressionType: S.string, version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.toolbar, description: c.builderParts.string.deflectionURL.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setIninTestingField("addServiceType").setAllowModeLiteralOnly(true).setDefaultText("facebook").facets.setTrim(true).setAllowableValues(E), expressionType: S.string, label: c.builderParts.string.deflectionURL.serviceLabel }), new _({ configureOptionsCallback: (e4) => e4.setIninTestingField("addAccountId").setAsInput().facets.setMinLength(1).setTrim(true), expressionType: S.string, label: c.builderParts.string.deflectionURL.accountLabel })], generators: { facebookGenerator: h.create().addFuncCall("GetDeflectionURL").addToken('"facebook"').addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().verifySprintfStringAndInitialize('GetDeflectionURL("facebook", %2$s)'), whatsAppGenerator: h.create().addFuncCall("GetDeflectionURL").addToken('"whatsapp"').addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().verifySprintfStringAndInitialize('GetDeflectionURL("whatsapp", %2$s)'), getExpressionGenerator: (e4, t3) => { switch (e4.builderPartExpressions[0].text) { case "facebook": return t3.facebookGenerator; case "whatsapp": return t3.whatsAppGenerator; } - } }, viewId: b, id: l.string.deflectionURL, icon: A.deflectURL, name: d.builderParts.string.deflectionURL.name, resultExpressionType: S.string, restrictToFlowTypeOrTypes: [], version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.toolbar, n2.labelString], description: d.builderParts.string.text.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => { - e4.setAllowModeLiteralOnly().setBlankDeterminationShouldNotTrim(true).setBlankWarningText(O.facets.valueIsBlank).setIninTestingField("stringLiteral").facets.setWarnOnEmpty(true); - }, expressionType: S.string, label: d.builderParts.string.text.name })], generators: { expressionGenerator: N.singleTokenReplacementGenerator }, viewId: I, id: l.string.text, icon: A.string, name: d.builderParts.string.text.name, resultExpressionType: S.string, version: 1 })), s.addBuilderPartContainerDef(new r2({ categoryIdentifierOrIdentifiers: [n2.container, n2.labelString], description: d.builderParts.container.language.description, generators: { containerPartsGenerator: h.create().addFuncCall("Trim").addFuncCall("Append").addFuncCallParmGenerationBucket("append", true).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("Trim(Append())").setAboutToAddGenerationCallback((e4, t3, i3, n3) => { + } }, viewId: b, id: l.string.deflectionURL, icon: A.deflectURL, name: c.builderParts.string.deflectionURL.name, resultExpressionType: S.string, restrictToFlowTypeOrTypes: [], version: 1 })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.toolbar, n2.labelString], description: c.builderParts.string.text.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => { + e4.setAllowModeLiteralOnly().setBlankDeterminationShouldNotTrim(true).setBlankWarningText(v.facets.valueIsBlank).setIninTestingField("stringLiteral").facets.setWarnOnEmpty(true); + }, expressionType: S.string, label: c.builderParts.string.text.name })], generators: { expressionGenerator: N.singleTokenReplacementGenerator }, viewId: O, id: l.string.text, icon: A.string, name: c.builderParts.string.text.name, resultExpressionType: S.string, version: 1 })), s.addBuilderPartContainerDef(new r2({ categoryIdentifierOrIdentifiers: [n2.container, n2.labelString], description: c.builderParts.container.language.description, generators: { containerPartsGenerator: h.create().addFuncCall("Trim").addFuncCall("Append").addFuncCallParmGenerationBucket("append", true).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("Trim(Append())").setAboutToAddGenerationCallback((e4, t3, i3, n3) => { if (!n3 || "append" !== t3 || 0 === i3.length) return; const r3 = i3[i3.length - 1]; r3 && (r3.willGenerateNotSetOrStringLiteral ? e4.addGenerationToBucket(N.singleSpaceStringLiteralGenerator.createGeneration()) : e4.addGenerationToBucket(N.lastGenNotSetOrEmptySpaceSepGenerator.createGeneration())); - }), languageCheckGenerator: h.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("append_or_part_generation", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), ") }, id: l.string.container.language, name: d.builderParts.container.language.name, resultExpressionType: S.string, version: 1, restrictToFlowTypeOrTypes: f.getFlowTypesThatSupportLanguages() })), s.addBuilderPartContainerDef(new a({ categoryIdentifierOrIdentifiers: [n2.container, n2.labelString], description: d.builderParts.container.outputMode.description, generators: { containerPartsGenerator: h.create().addFuncCall("Trim").addFuncCall("Append").addFuncCallParmGenerationBucket("append", true).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("Trim(Append())").setAboutToAddGenerationCallback((e4, t3, i3, n3) => { + }), languageCheckGenerator: h.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("append_or_part_generation", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), ") }, id: l.string.container.language, name: c.builderParts.container.language.name, resultExpressionType: S.string, version: 1, restrictToFlowTypeOrTypes: f.getFlowTypesThatSupportLanguages() })), s.addBuilderPartContainerDef(new a({ categoryIdentifierOrIdentifiers: [n2.container, n2.labelString], description: c.builderParts.container.outputMode.description, generators: { containerPartsGenerator: h.create().addFuncCall("Trim").addFuncCall("Append").addFuncCallParmGenerationBucket("append", true).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("Trim(Append())").setAboutToAddGenerationCallback((e4, t3, i3, n3) => { if (!n3 || "append" !== t3 || 0 === i3.length) return; const r3 = i3[i3.length - 1]; r3 && (r3.willGenerateNotSetOrStringLiteral ? e4.addGenerationToBucket(N.singleSpaceStringLiteralGenerator.createGeneration()) : e4.addGenerationToBucket(N.lastGenNotSetOrEmptySpaceSepGenerator.createGeneration())); - }), wantContainerPartsGeneratorForSingleton: false }, id: l.string.container.outputMode, name: d.builderParts.container.outputMode.name, restrictToFlowTypeOrTypes: T.flowTypesAllCicero, resultExpressionType: S.string, version: 1 })), s.addBuilderPartContainerDef(new o({ categoryIdentifierOrIdentifiers: [n2.container, n2.labelString], description: d.builderParts.container.languageAndOutputMode.description, generators: { containerPartsGenerator: h.create().addFuncCall("Trim").addFuncCall("Append").addFuncCallParmGenerationBucket("append", true).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("Trim(Append())").setAboutToAddGenerationCallback((e4, t3, i3, n3) => { + }), wantContainerPartsGeneratorForSingleton: false }, id: l.string.container.outputMode, name: c.builderParts.container.outputMode.name, restrictToFlowTypeOrTypes: T.flowTypesAllCicero, resultExpressionType: S.string, version: 1 })), s.addBuilderPartContainerDef(new o({ categoryIdentifierOrIdentifiers: [n2.container, n2.labelString], description: c.builderParts.container.languageAndOutputMode.description, generators: { containerPartsGenerator: h.create().addFuncCall("Trim").addFuncCall("Append").addFuncCallParmGenerationBucket("append", true).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("Trim(Append())").setAboutToAddGenerationCallback((e4, t3, i3, n3) => { if (!n3 || "append" !== t3 || 0 === i3.length) return; const r3 = i3[i3.length - 1]; r3 && (r3.willGenerateNotSetOrStringLiteral ? e4.addGenerationToBucket(N.singleSpaceStringLiteralGenerator.createGeneration()) : e4.addGenerationToBucket(N.lastGenNotSetOrEmptySpaceSepGenerator.createGeneration())); - }), wantContainerPartsGeneratorForSingleton: false }, id: l.string.container.languageAndOutputMode, name: d.builderParts.container.languageAndOutputMode.name, restrictToFlowTypeOrTypes: T.flowTypesAllCicero, resultExpressionType: S.string, version: 1, wantBucketOnSingleGeneration: true })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.toolbar, n2.markdown], description: d.builderParts.string.markdown.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("stringMarkdown"), expressionType: S.string, label: d.builderParts.string.markdown.name })], generators: { expressionGenerator: h.create().addTokenReplacement(0).verifySprintfStringAndInitialize("%1$s") }, viewId: C, id: l.string.markdown, icon: A.modifyIntents, name: d.builderParts.string.markdown.name, resultExpressionType: S.string, requiredFeatureToggle: g.archExpressionBuilders, restrictToFlowTypeOrTypes: T.flowTypeDigitalBot, version: 1, displayStringOverride: (e4, t3) => ({ displayString: e4?.getSavedMarkdownText() || e4.markdownExpression.text, shouldTokenizeDisplayString: false }) })); + }), wantContainerPartsGeneratorForSingleton: false }, id: l.string.container.languageAndOutputMode, name: c.builderParts.container.languageAndOutputMode.name, restrictToFlowTypeOrTypes: T.flowTypesAllCicero, resultExpressionType: S.string, version: 1, wantBucketOnSingleGeneration: true })), s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: [n2.toolbar, n2.markdown], description: c.builderParts.string.markdown.description, expressionDefs: [new _({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("stringMarkdown"), expressionType: S.string, label: c.builderParts.string.markdown.name })], generators: { expressionGenerator: h.create().addTokenReplacement(0).verifySprintfStringAndInitialize("%1$s") }, viewId: C, id: l.string.markdown, icon: A.modifyIntents, name: c.builderParts.string.markdown.name, resultExpressionType: S.string, requiredFeatureToggle: g.archExpressionBuilders, restrictToFlowTypeOrTypes: T.flowTypeDigitalBot, version: 1, displayStringOverride: (e4, t3) => ({ displayString: e4?.getSavedMarkdownText() || e4.markdownExpression.text, shouldTokenizeDisplayString: false }) })); } }; }, 46638: (e2, t2, i2) => { "use strict"; @@ -56507,7 +61248,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } t2.default = s; }, 46669: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(17604).sprintf, o = i2(25088), a = i2(45421), s = i2(39041).default, l = i2(29527), u = i2(13126), d = i2(60094), c = i2(45214), { MenuChoiceViewModel: p } = i2(63883), _ = i2(62829), { ParameterInfo: h } = i2(55909), { ParameterValidator: m } = i2(33951), g = i2(92944), f = i2(47957), T = i2(69674), y = i2(92330), S = "ClipboardContentActionViewModel"; + const n2 = i2(92140), r2 = i2(17604).sprintf, o = i2(25088), a = i2(45421), s = i2(39041).default, l = i2(29527), u = i2(13126), c = i2(60094), d = i2(45214), { MenuChoiceViewModel: p } = i2(63883), _ = i2(62829), { ParameterInfo: h } = i2(55909), { ParameterValidator: m } = i2(33951), g = i2(92944), f = i2(47957), T = i2(69674), y = i2(92330), S = "ClipboardContentActionViewModel"; class A extends o { constructor(e3, t3) { super(e3, t3); @@ -56601,7 +61342,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const t4 = e4.uiMetaData.builder.builderDefId; 0 === s.getAvailableBuilderDefinitions(void 0, r3, void 0, [t4]).length && (e4.uiMetaData.mode = 0, delete e4.uiMetaData.builder); } - }), t3.push(c.prototype.reviveItem(i3)); + }), t3.push(d.prototype.reviveItem(i3)); }.bind(this)), t3.length > 0) { this.log("Assigning new IDs and names for " + t3.length + " action model(s)."), n2.each(t3, function(t4) { this.pushLogHeader("action - name " + this._getNameAndIdStr(t4)); @@ -56650,7 +61391,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (e3.destViewModel.isMenuChoice || e3.destViewModel.isMenu) return n2.isArray(e3.destViewModel.choices) ? this.createClipboardResultFailure(f.clipboard.content.pastableLocations.contentCannotBeActionMenu) : this.createClipboardResultFailure(f.clipboard.content.pastableLocations.destinationHasNoChoices); this.shouldPasteAsReusableTask(e3) ? (i3 = true, t3.messageDisplayStr = f.clipboard.content.canPaste.upConvert.action.toReusableTask) : this.shouldPasteAsState(e3) && (i3 = true, t3.messageDisplayStr = f.clipboard.content.canPaste.upConvert.action.toState); } - return i3 || e3.destActionContainer && (e3.destActionContainer.isState || e3.destActionContainer.isTask || e3.destActionContainer.isActionContainerViewModel) ? e3.destAllowableClipboardContentTypes && !n2.contains(e3.destAllowableClipboardContentTypes, d.actions) ? this.createClipboardResultFailureCanPasteGeneric() : t3 : this.createClipboardResultFailure("Clipboard contains an action and actions can only be pasted in to a state, task, action output, as a reusable task or as a menu action in flows that allow menus."); + return i3 || e3.destActionContainer && (e3.destActionContainer.isState || e3.destActionContainer.isTask || e3.destActionContainer.isActionContainerViewModel) ? e3.destAllowableClipboardContentTypes && !n2.contains(e3.destAllowableClipboardContentTypes, c.actions) ? this.createClipboardResultFailureCanPasteGeneric() : t3 : this.createClipboardResultFailure("Clipboard contains an action and actions can only be pasted in to a state, task, action output, as a reusable task or as a menu action in flows that allow menus."); } get isClipboardContentAction() { return true; @@ -56715,7 +61456,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, t2.isExpression = function(e3) { return e3 instanceof H; }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(81858)), s = i2(17666), l = n2.__importStar(i2(24032)), u = n2.__importDefault(i2(7401)), d = n2.__importStar(i2(12847)), c = n2.__importStar(i2(17498)), p = n2.__importStar(i2(36781)), _ = n2.__importStar(i2(10798)), h = n2.__importStar(i2(27099)), m = n2.__importStar(i2(43773)), g = n2.__importStar(i2(58380)), f = i2(88473), T = i2(55909), y = i2(33951), S = n2.__importStar(i2(43011)), A = n2.__importStar(i2(27854)), N = n2.__importStar(i2(98442)), O = i2(92908), I = n2.__importStar(i2(1115)), v = i2(9456), C = n2.__importDefault(i2(68460)), b = n2.__importDefault(i2(73198)), E = i2(27491), R = n2.__importStar(i2(11345)), w = i2(98552), D = n2.__importStar(i2(9345)), P = n2.__importStar(i2(8462)), M = n2.__importDefault(i2(86833)), F = i2(80428), L = i2(14394), x = i2(26403), k = i2(26403), V = i2(47957), U = i2(27862), B = i2(1360), G = i2(57141), j = l.getTopic("expression"), W = {}; + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(81858)), s = i2(17666), l = n2.__importStar(i2(24032)), u = n2.__importDefault(i2(7401)), c = n2.__importStar(i2(12847)), d = n2.__importStar(i2(17498)), p = n2.__importStar(i2(36781)), _ = n2.__importStar(i2(10798)), h = n2.__importStar(i2(27099)), m = n2.__importStar(i2(43773)), g = n2.__importStar(i2(58380)), f = i2(88473), T = i2(55909), y = i2(33951), S = n2.__importStar(i2(43011)), A = n2.__importStar(i2(27854)), N = n2.__importStar(i2(98442)), v = i2(92908), O = n2.__importStar(i2(1115)), I = i2(9456), C = n2.__importDefault(i2(68460)), b = n2.__importDefault(i2(73198)), E = i2(27491), w = n2.__importStar(i2(11345)), R = i2(98552), D = n2.__importStar(i2(9345)), P = n2.__importStar(i2(8462)), M = n2.__importDefault(i2(86833)), F = i2(80428), L = i2(14394), x = i2(26403), k = i2(26403), V = i2(47957), U = i2(27862), B = i2(1360), G = i2(57141), j = l.getTopic("expression"), W = {}; function q(e3, t3) { if (t3 && t3.ref && t3.ref.type === F.expressionTypeNames.prompt) { const i3 = S.getItem(t3.ref.val); @@ -56745,7 +61486,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } constructor(e3) { var t3; - super(e3.parentFlow, e3.parent), this._hasLiteralError = false, this._serverSearches = [], this.valueChangedCallbacks = [], this._id = (0, v.uuid)(), this._throttledParse = o.default.debounce((e4) => { + super(e3.parentFlow, e3.parent), this._hasLiteralError = false, this._serverSearches = [], this.valueChangedCallbacks = [], this._id = (0, I.uuid)(), this._throttledParse = o.default.debounce((e4) => { this.isDestroyedOrDestroying || this.processText(true, e4); }, this.updateTime), this.isSearchingServer = false, !e3.model || e3.model instanceof u.default || j.error("Tried to load an expression with an incorrect model: {}", e3.label), this._transitory = e3.transitory, this.options = e3.options || P.buildOptions(e3.type, void 0, this.parentFlow), this._transitory && this.options.setDoNotTrackUsages(true), this._internalExpression = e3.isInternal, this._label = e3.label, this._model = e3.model || new u.default(), this._type = e3.type, this.propertyName = e3.propertyName, this.topic = j.withMultipleContext({ label: this._label, id: this.id, parentId: null === (t3 = this.parent) || void 0 === t3 ? void 0 : t3.id }), this.propertyName && this.topic.addContext("propertyName", this.propertyName), this._outOfServiceProvider = (0, f.addOutOfServiceProperties)(this, true), this.isOptional && (this.blankWarningText = this.optionsAs().blankWarningText), this.originalType = this.options.noOriginalType ? null : e3.type, this.model.uiMetaData || this._ensureUiMetaData(), this.variables = {}, e3.options && o.default.isFunction(e3.options.valueChangedCallback) && this.valueChangedCallbacks.push(e3.options.valueChangedCallback); } @@ -56806,6 +61547,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var e3; return (null === (e3 = this._parseResult) || void 0 === e3 ? void 0 : e3.parseErrorItems) || []; } + get parseResultWarnings() { + var e3; + return (null === (e3 = this._parseResult) || void 0 === e3 ? void 0 : e3.parseWarningItems) || []; + } get hasDefaultText() { return this.options.hasDefaultText; } @@ -56865,7 +61610,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } getPromptMissingResourcesErrorString(e3) { let t3; - return e3 ? t3 = e3.displayName.trimForDisplay() : (d.error("no prompt to get name from"), t3 = V.actions.unknown), this.promptsNeedAudioOnly ? (0, r2.sprintf)(V.audio.promptMissingAudioError, t3) : this.parentFlow.validateHasAudio || this.parentFlow.validateHasTTS ? this.parentFlow.isCallFlowType ? (0, r2.sprintf)(V.audio.promptNoAudioTtsError, t3) : (0, r2.sprintf)(V.audio.promptNoTtsOrTextError, t3) : void 0; + return e3 ? t3 = e3.displayName.trimForDisplay() : (c.error("no prompt to get name from"), t3 = V.actions.unknown), this.promptsNeedAudioOnly ? (0, r2.sprintf)(V.audio.promptMissingAudioError, t3) : this.parentFlow.validateHasAudio || this.parentFlow.validateHasTTS ? this.parentFlow.isCallFlowType ? (0, r2.sprintf)(V.audio.promptNoAudioTtsError, t3) : (0, r2.sprintf)(V.audio.promptNoTtsOrTextError, t3) : void 0; } get metaData() { return this.model.metaData; @@ -56987,10 +61732,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._ensureUiMetaData(), this.model.uiMetaData[e3]; } get customTypeLitCodeLanguage() { - if (this.type.isCustomType) return this.getUiMetaData(O.uiMetaDataKey.litLanguage) || s.CodeLanguage.architectJson; + if (this.type.isCustomType) return this.getUiMetaData(v.uiMetaDataKey.litLanguage) || s.CodeLanguage.architectJson; } set customTypeLitCodeLanguage(e3) { - this.type.isCustomType && this.setUiMetaData(O.uiMetaDataKey.litLanguage, e3); + this.type.isCustomType && this.setUiMetaData(v.uiMetaDataKey.litLanguage, e3); } _ensureUiMetaData() { this.model.uiMetaData || (this.model.uiMetaData = {}); @@ -57016,17 +61761,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; e3 ? this._parseResult && this._parseResult.resultType === k.ParseResultTypes.error && (this._parseResult = void 0) : this._parseResult = void 0, g.fireEvent(this, p.expressionParseComplete); } copyExpressionValue(e3) { - this._reset(), e3.getUiMetaData(O.uiMetaDataKey.builder) && (this.setUiMetaData(O.uiMetaDataKey.builder, o.default.deepClone(e3.getUiMetaData(O.uiMetaDataKey.builder))), this.getUiMetaData(O.uiMetaDataKey.builder).id = (0, v.uuid)()), this.setUiMetaData(O.uiMetaDataKey.mode, e3.mode), void 0 !== e3.getUiMetaData(O.uiMetaDataKey.isJsonViewMode) && this.setUiMetaData(O.uiMetaDataKey.isJsonViewMode, e3.getUiMetaData(O.uiMetaDataKey.isJsonViewMode)), void 0 !== e3.getUiMetaData(O.uiMetaDataKey.customJsonSubFieldModes) && this.setUiMetaData(O.uiMetaDataKey.customJsonSubFieldModes, o.default.clone(e3.getUiMetaData(O.uiMetaDataKey.customJsonSubFieldModes))), this.setConfigAndMetaData(e3.config), this.setText(o.default.clone(e3.text), true), this._initialize(), this.parent && this.parentFlow.loaded && (this.parentFlow.validationResults.removeIssues(this.parent, true), I.validateNode(this.parent, true)), g.fireEvent(this, p.expressionValueChanged); + this._reset(), e3.getUiMetaData(v.uiMetaDataKey.builder) && (this.setUiMetaData(v.uiMetaDataKey.builder, o.default.deepClone(e3.getUiMetaData(v.uiMetaDataKey.builder))), this.getUiMetaData(v.uiMetaDataKey.builder).id = (0, I.uuid)()), this.setUiMetaData(v.uiMetaDataKey.mode, e3.mode), void 0 !== e3.getUiMetaData(v.uiMetaDataKey.isJsonViewMode) && this.setUiMetaData(v.uiMetaDataKey.isJsonViewMode, e3.getUiMetaData(v.uiMetaDataKey.isJsonViewMode)), this.setConfigAndMetaData(e3.config), this.setText(o.default.clone(e3.text), true), this._initialize(), this.parent && this.parentFlow.loaded && (this.parentFlow.validationResults.removeIssues(this.parent, true), O.validateNode(this.parent, true)), g.fireEvent(this, p.expressionValueChanged); } _destroy() { - super._destroy(), I.clearIssues(this), this.hasValidationError = false, this.hasValidationWarning = false, this._reset(), o.default.each(this.valueChangedCallbacks, this.removeValueChangedCallback.bind(this)), this._outOfServiceProvider.destroy(); + super._destroy(), O.clearIssues(this), this.hasValidationError = false, this.hasValidationWarning = false, this._reset(), o.default.each(this.valueChangedCallbacks, this.removeValueChangedCallback.bind(this)), this._outOfServiceProvider.destroy(); } getConfiguration(e3, t3, i3) { return (null == t3 ? void 0 : t3.isForComparison) ? m.removePropertiesForComparison(this.model) : (null == t3 ? void 0 : t3.isForFlowYaml) ? this._getConfigurationForYaml(e3, t3, i3) : this.model; } getFunctionsForCharPosition(e3, t3) { var i3, n3; - return y.ParameterValidator.expectInt(e3, () => T.ParameterInfo.createFunctionParameter(this.className, "getFunctionsForCharPosition", "position")), y.ParameterValidator.expectBool(t3, () => T.ParameterInfo.createFunctionParameter(this.className, "getFunctionsForCharPosition", "wantFunctionCallStack"), true), e3 < 0 || e3 > (null === (i3 = this.text) || void 0 === i3 ? void 0 : i3.length) || 0 === (null === (n3 = this.text) || void 0 === n3 ? void 0 : n3.length) ? [] : R.getFunctionsForCharPosition(this, e3, t3); + return y.ParameterValidator.expectInt(e3, () => T.ParameterInfo.createFunctionParameter(this.className, "getFunctionsForCharPosition", "position")), y.ParameterValidator.expectBool(t3, () => T.ParameterInfo.createFunctionParameter(this.className, "getFunctionsForCharPosition", "wantFunctionCallStack"), true), e3 < 0 || e3 > (null === (i3 = this.text) || void 0 === i3 ? void 0 : i3.length) || 0 === (null === (n3 = this.text) || void 0 === n3 ? void 0 : n3.length) ? [] : w.getFunctionsForCharPosition(this, e3, t3); } getLitAsString() { const e3 = this.config; @@ -57102,19 +61847,19 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; Object.entries(this.dependencies).forEach(([t3, i3]) => { const n3 = U.getInstance(t3); Object.entries(i3).forEach(([t4, i4]) => { - e3.push({ dependencyName: i4.name, dependencyId: t4, dependencyVersion: c.NO_VERSION, dependencyType: n3 }); + e3.push({ dependencyName: i4.name, dependencyId: t4, dependencyVersion: d.NO_VERSION, dependencyType: n3 }); }); - }), c.registerConsumerDependencies(this.parent, this, e3); + }), d.registerConsumerDependencies(this.parent, this, e3); } } _registerPromptsFromExpressionText() { - const e3 = w.expressionItems.getPromptsFromExpressionMetadata(this); + const e3 = R.expressionItems.getPromptsFromExpressionMetadata(this); o.default.each(e3, (e4) => { - c.registerPrompt(A.removePrefix(e4.name), e4.isSysRef ? U.SystemPrompt : U.UserPrompt, this.parentFlow, e4.id); + d.registerPrompt(A.removePrefix(e4.name), e4.isSysRef ? U.SystemPrompt : U.UserPrompt, this.parentFlow, e4.id); }); const t3 = E.expressionDataService.getPromptsFromExpressionText(this.text); o.default.each(t3, (e4) => { - c.registerPrompt(e4.name, e4.type, this.parentFlow, e4.id); + d.registerPrompt(e4.name, e4.type, this.parentFlow, e4.id); }); } renamePromptVariables(e3) { @@ -57123,7 +61868,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return void (e4 && this.setText(e4.displayName)); } let t3; - t3 = this.metaData ? w.expressionItems.getPromptsFromExpressionMetadata(this) : w.expressionItems.getUniquePromptIds(this.config, null, true); + t3 = this.metaData ? R.expressionItems.getPromptsFromExpressionMetadata(this) : R.expressionItems.getUniquePromptIds(this.config, null, true); const i3 = o.default.findWhere(t3, { isSysRef: false }); if (!i3 || 0 === i3.length) return; const n3 = o.default.clone(this.config); @@ -57139,23 +61884,23 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; o3.length > 1 && o3[0] === r3 && (n3 = `${t3}${e4.getText().slice(o3[0].length)}`); })(o2) : (function e4(i4) { const o3 = i4.getText(), a2 = o3 ? o3.toLowerCase() : void 0; - if (i4.isRef && a2 && a2 === r3) s2 = n3, l2 = i4.position - 1, u2 = i4.getText().length, d2 = t3, n3 = s2.slice(0, l2) + d2 + s2.slice(l2 + u2); + if (i4.isRef && a2 && a2 === r3) s2 = n3, l2 = i4.position - 1, u2 = i4.getText().length, c2 = t3, n3 = s2.slice(0, l2) + c2 + s2.slice(l2 + u2); else { const t4 = i4.root.operands; if (!t4 || 0 === t4.length) return; for (let i5 = t4.length - 1; i5 >= 0; i5--) e4(t4[i5]); } - var s2, l2, u2, d2; + var s2, l2, u2, c2; })(o2)), this.setText(n3, true); } search(e3) { e3.checkText(this, this.text, this.label); } setParseResult(e3) { - var t3; + var t3, i3, n3; this._parseResult || (this._parseResult = new x.ParseResult(this)), this._parseResult.parseErrorItems = e3.errorItems, this._parseResult.parseWarningItems = e3.warningItems, this._parseResult.parseInfoItems = e3.infoItems, this._parseResult.parseItems = e3.items, this._parseResult.parseSettings = e3.settings, this._parseResult.parseLanguage = e3.language, this.dependencies = e3.dependencies, this._parseResult.parseItemQuickResult = e3.quickResultParseItem; - const i3 = e3.errorItems[0] || e3.warningItems[0] || e3.infoItems[0]; - this._parseResult.resultType = null == i3 ? void 0 : i3.resultType, this._parseResult.resultReference = void 0, this._parseResult.success = k.ParseResultTypes.error !== (null == i3 ? void 0 : i3.resultType), this._parseResult.resultPosition = null == i3 ? void 0 : i3.from, (null === (t3 = e3.errorItems) || void 0 === t3 ? void 0 : t3.length) > 1 ? this._parseResult.resultMessage = V.errors.multipleErrors : this._parseResult.resultMessage = null == i3 ? void 0 : i3.message; + const r3 = e3.errorItems[0] || e3.warningItems[0] || e3.infoItems[0]; + this._parseResult.resultType = null == r3 ? void 0 : r3.resultType, this._parseResult.resultReference = void 0, this._parseResult.success = k.ParseResultTypes.error !== (null == r3 ? void 0 : r3.resultType), this._parseResult.resultPosition = null == r3 ? void 0 : r3.from, (null === (t3 = e3.errorItems) || void 0 === t3 ? void 0 : t3.length) > 1 ? this._parseResult.resultMessage = V.errors.multipleErrors : 1 === (null === (i3 = e3.errorItems) || void 0 === i3 ? void 0 : i3.length) ? this._parseResult.resultMessage = e3.errorItems[0].message : (null === (n3 = e3.warningItems) || void 0 === n3 ? void 0 : n3.length) > 1 ? this._parseResult.resultMessage = V.errors.multipleWarnings : this._parseResult.resultMessage = null == r3 ? void 0 : r3.message; } setParseError(e3) { this._setParseResultMessage(e3, k.ParseResultTypes.error); @@ -57184,19 +61929,19 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } updateSecureUsage(e3, t3) { var i3, n3, r3; - if (!(null === (i3 = this.parentFlow) || void 0 === i3 ? void 0 : i3.isDestroyedOrDestroying)) { + if (!this.isDestroyedOrDestroying && !(null === (i3 = this.parentFlow) || void 0 === i3 ? void 0 : i3.isDestroyedOrDestroying)) { if (this.isVariableMode && this.parentFlow) { const e4 = this.parentFlow.variableGroup.getVariableFromExpression(this); e4 && (this.consumesSecureData = e4.isSecure); } - (null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.loaded) && !(null === (r3 = this.parent) || void 0 === r3 ? void 0 : r3.isValidating) && (e3 ? (e3.forceTextReprocess = true, this.validate(e3), this.parent && (t3 ? o.default.contains(t3, this.parent) || t3.push(this.parent) : I.validateNode(this.parent))) : this.processText(true)); + (null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.loaded) && !(null === (r3 = this.parent) || void 0 === r3 ? void 0 : r3.isValidating) && (e3 ? (e3.forceTextReprocess = true, this.validate(e3), this.parent && (t3 ? o.default.contains(t3, this.parent) || t3.push(this.parent) : O.validateNode(this.parent))) : this.processText(true)); } } get updateTime() { return 500; } validate(e3) { - if (this.outOfService || this.isDestroyed) return this.isDestroyed && d.error("Tried to validate expression that is destroyed."), true; + if (this.outOfService || this.isDestroyed) return this.isDestroyed && c.error("Tried to validate expression that is destroyed."), true; if (this.options.featureConfigName && _.isFeatureUnavailable(this.options.featureConfigName) || this.options.featureToggleName && h.isDisabled(this.options.featureToggleName)) return e3.addError(this.parent, (0, r2.sprintf)(V.features.missingFeatureErrorExpression, this.label)), true; let t3 = M.default.validateExpression(e3, this); return t3 && this._extraValidator && (t3 = this._extraValidator(e3, this)), true !== t3 || this.hasConfig ? t3 : this._handleNoConfigAtEndOfValidation(e3); @@ -57226,7 +61971,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 46824: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.bridgeServerManager = t2.BridgeServerManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(16817), a = i2(30801), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(24032), d = i2(47957), c = i2(58300), p = i2(27862); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(16817), a = i2(30801), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(24032), c = i2(47957), d = i2(58300), p = i2(27862); class _ extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.bridgeActionView; @@ -57276,7 +62021,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return i3 ? i3.category : null; } constructor() { - super(), this.topic = (0, u.getTopic)("bridgeServerManager"), this.apiCallList = c.getMetaDataList, this.apiCallSingle = c.getMetaData, this._rawServerCache = {}, this.className = "BridgeServerManager", this.actionsForUsageSearch = [a.bridgeServerActionType], this.actionPropertyForUsageSearch = "actionName", this.caseSensitiveIds = true, this.dependencyContext = d.bridgeServer.bridgeAction, this.idEquivalent = "name", this.isDependentOnCategory = true, this.suppressSearch = true, this.uiMetadataSectionName = "bridgeServerActions", this._initialize(); + super(), this.topic = (0, u.getTopic)("bridgeServerManager"), this.apiCallList = d.getMetaDataList, this.apiCallSingle = d.getMetaData, this._rawServerCache = {}, this.className = "BridgeServerManager", this.actionsForUsageSearch = [a.bridgeServerActionType], this.actionPropertyForUsageSearch = "actionName", this.caseSensitiveIds = true, this.dependencyContext = c.bridgeServer.bridgeAction, this.idEquivalent = "name", this.isDependentOnCategory = true, this.suppressSearch = true, this.uiMetadataSectionName = "bridgeServerActions", this._initialize(); } } t2.BridgeServerManager = _, t2.bridgeServerManager = new _(); @@ -57288,7 +62033,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.yamlPropertyOrderMap = void 0, t2.stringifyConfig = P, t2.cacheConfiguration = M, t2.getStringifiedConfiguration = F, t2.clearCache = L, t2.discardChanges = function(e3) { const t3 = F(e3); - return V(e3, O[e3.instanceId], t3); + return V(e3, v[e3.instanceId], t3); }, t2.exportFlowAsync = function(e3, t3, i3) { return n2.__awaiter(this, void 0, void 0, function* () { let n3; @@ -57302,11 +62047,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return t3.isFormatYaml ? n3 = T.stringify(r3) : (n3 = P(r3), n3 = (0, u.toAscii)(encodeURIComponent(n3))), { content: n3, fileName: o2 }; }); }, t2.getExportFilePath = x, t2.getCachedConfiguration = function(e3) { - return O[e3.instanceId]; + return v[e3.instanceId]; }, t2.getConfiguration = k, t2.hasChanged = function(e3) { - if (!I[e3.instanceId]) return !!e3; + if (!O[e3.instanceId]) return !!e3; const t3 = C(P(k(e3, true, N))); - return !a.default.isEqual(P(C(I[e3.instanceId])), P(t3)); + return !a.default.isEqual(P(C(O[e3.instanceId])), P(t3)); }, t2.tryLoadConfig = function(e3, t3) { const i3 = r2.default.defer(); try { @@ -57335,12 +62080,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; else i3.reject("No flow template was given"); return i3.promise; }, t2.importFlow = V; - const n2 = i2(31635), r2 = n2.__importDefault(i2(33231)), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(22917)), l = i2(39504), u = i2(73146), d = i2(17322), c = n2.__importStar(i2(71004)), p = i2(83563), _ = n2.__importDefault(i2(96875)), h = n2.__importStar(i2(36781)), m = n2.__importDefault(i2(98114)), g = i2(63698), f = i2(51940), T = i2(44544), y = i2(47957), S = i2(43096), A = i2(25015), N = (0, g.createNewGetConfigOperationSettings)(true, false, false, false), O = {}, I = {}; - function v(e3, t3) { + const n2 = i2(31635), r2 = n2.__importDefault(i2(33231)), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(22917)), l = i2(39504), u = i2(73146), c = i2(17322), d = n2.__importStar(i2(71004)), p = i2(83563), _ = n2.__importDefault(i2(96875)), h = n2.__importStar(i2(36781)), m = n2.__importDefault(i2(98114)), g = i2(63698), f = i2(51940), T = i2(44544), y = i2(47957), S = i2(43096), A = i2(25015), N = (0, g.createNewGetConfigOperationSettings)(true, false, false, false), v = {}, O = {}; + function I(e3, t3) { return t3 && t3.hasOwnProperty("__type") && a.default.isFunction(S[t3.__type]) ? new S[t3.__type](t3) : t3; } function C(e3) { - return e3 ? a.default.isString(e3) ? JSON.parse(e3, v) : e3 : null; + return e3 ? a.default.isString(e3) ? JSON.parse(e3, I) : e3 : null; } function b(e3, t3) { const i3 = t3.flowMetaData.flowDocumentVersion; @@ -57360,7 +62105,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } return o2.promise; } - function R(e3, t3, i3, r3) { + function w(e3, t3, i3, r3) { return n2.__awaiter(this, void 0, void 0, function* () { let n3 = {}; try { @@ -57384,11 +62129,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const u2 = (function(e4, t4) { const i4 = [], n4 = [], r4 = t4.variables, s3 = e4.info.getAllSchemaProperties(), l2 = a.default.map(s3, (t5) => e4.variableGroup.getVariableByName(t5.name)); return a.default.each(r4, (t5) => { - const i5 = c.createFlowVariableViewModel(t5, e4); + const i5 = d.createFlowVariableViewModel(t5, e4); i5 ? n4.push(i5) : e4.topic.error("Unable to create VariableViewModel for: " + t5.toString()); }), a.default.each(n4, function(e5) { const t5 = a.default.findWhere(l2, { lowerName: e5.lowerName }), n5 = new f.ObjectMatchInfo(); - t5 && !t5.isMatch(e5, n5) && i4.push((0, d.bulkObjectOperationFailure)(t5, t5.name, (0, o.sprintf)(y.flow.operations.load.flowSchemaMisMatchErrorPrefix, n5.mismatchDisplayString))); + t5 && !t5.isMatch(e5, n5) && i4.push((0, c.bulkObjectOperationFailure)(t5, t5.name, (0, o.sprintf)(y.flow.operations.load.flowSchemaMisMatchErrorPrefix, n5.mismatchDisplayString))); }), 0 === i4.length ? a.default.map(a.default.uniq(n4.concat(l2), false, (e5) => e5.lowerName), (e5) => e5.model) : { error: true, conflictVariables: i4 }; })(e3, s2); if (e3.loaded && h.emitter.emit(h.cleanUpFlow, e3), e3.loaded = false, u2.error) { @@ -57415,29 +62160,29 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } }); } - const w = ["_autoCleanedUpSinks", "_path", "_outOfService", "_partAndPartsOutOfService"]; + const R = ["_autoCleanedUpSinks", "_path", "_outOfService", "_partAndPartsOutOfService"]; function D(e3, t3) { let i3 = t3; - if ("$testId" === e3 && (i3 = void 0), !w.includes(e3)) return i3; + if ("$testId" === e3 && (i3 = void 0), !R.includes(e3)) return i3; } function P(e3, t3) { if (void 0 !== e3) return JSON.stringify(e3, D, t3 ? " " : null); } function M(e3, t3) { - if (t3 || !O[e3.instanceId]) { + if (t3 || !v[e3.instanceId]) { const t4 = k(e3, true, null); - O[e3.instanceId] = P(t4); + v[e3.instanceId] = P(t4); const i3 = k(e3, true, N); - I[e3.instanceId] = P(i3); + O[e3.instanceId] = P(i3); } - return O[e3.instanceId]; + return v[e3.instanceId]; } function F(e3, t3) { const i3 = k(e3, false, null); return i3 ? P(i3, t3) : void 0; } function L(e3) { - e3.isImporting || (delete O[e3.instanceId], delete I[e3.instanceId]); + e3.isImporting || (delete v[e3.instanceId], delete O[e3.instanceId]); } function x(e3, t3) { const i3 = e3.displayName + e3.versions.getVersionExtension(); @@ -57458,11 +62203,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } function V(e3, t3, i3, n3, r3) { const o2 = !i3; - return i3 || (i3 = F(e3)), R(e3, t3, n3, r3).catch((t4) => R(e3, i3, n3, r3).then(() => { + return i3 || (i3 = F(e3)), w(e3, t3, n3, r3).catch((t4) => w(e3, i3, n3, r3).then(() => { if (o2) throw t4; })); } - t2.yamlPropertyOrderMap = { name: 10, description: 20, division: 30, startUpRef: 40, surveyForm: 41, worktype: 41, defaultLanguage: 50, supportedLanguages: 60, initialGreeting: 70, variables: 80, settingsInboundEmailHandling: 90, settingsInQueueCall: 100, settingsOutboundCall: 110, settingsCommonModule: 120, settingsActionDefaults: 130, settingsErrorHandling: 140, settingsMenu: 150, settingsPrompts: 160, settingsSpeechRec: 170, menus: 180, startUpState: 190, periodicState: 200, states: 210, tasks: 220 }, h.serviceListen(h.cleanUpFlow, L), h.serviceListen(h.flowLoadFailed, function(e3) { + t2.yamlPropertyOrderMap = { name: 10, description: 20, division: 30, startUpRef: 40, surveyForm: 41, worktype: 41, defaultLanguage: 50, supportedLanguages: 60, initialGreeting: 70, variables: 80, settingsInboundEmailHandling: 90, settingsInQueueCall: 100, settingsOutboundCall: 110, settingsCommonModule: 120, settingsActionDefaults: 130, settingsErrorHandling: 140, settingsEmailSend: 145, settingsMenu: 150, settingsPrompts: 160, settingsSpeechRec: 170, menus: 180, startUpState: 190, periodicState: 200, states: 210, tasks: 220 }, h.serviceListen(h.cleanUpFlow, L), h.serviceListen(h.flowLoadFailed, function(e3) { e3.loaded = false; }); }, 46999: (e2, t2, i2) => { @@ -57605,6 +62350,29 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } t2.default = o; + }, 47040: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getReferencedCustomTypeIds = o, t2.expandCustomDataTypeIdsWithPropertyReferences = function(e3, t3) { + let i3 = true; + for (; i3; ) { + i3 = false; + for (const n3 of e3) { + const r3 = t3(n3); + if (r3) for (const t4 of o(r3)) e3.has(t4) || (e3.add(t4), i3 = true); + } + } + }; + const n2 = i2(66314), r2 = i2(89917); + function o(e3) { + const t3 = [], i3 = /* @__PURE__ */ new Set(); + for (const o2 of e3.propertiesSnapshot) { + const e4 = o2.dataTypeId; + if (!e4 || !(0, n2.isCustomJsonExpressionDataType)(e4)) continue; + const a = r2.CustomJsonIdentifierInfo.create(e4).dataTypeStr; + i3.has(a) || (i3.add(a), t3.push(a)); + } + return t3; + } }, 47058: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.from = void 0; @@ -57615,10 +62383,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 47101: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.CardType = t2.PROP_TITLE = t2.PROP_IMAGE = t2.PROP_DESCRIPTION = t2.PROP_BUTTONS = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(21637), a = i2(82632), s = n2.__importStar(i2(9345)), l = n2.__importStar(i2(63352)), u = i2(80428), d = i2(14394), c = i2(44521), p = i2(1492), _ = i2(58380), h = n2.__importStar(i2(36781)), m = n2.__importDefault(i2(22917)), g = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(21637), a = i2(82632), s = n2.__importStar(i2(9345)), l = n2.__importStar(i2(63352)), u = i2(80428), c = i2(14394), d = i2(44521), p = i2(1492), _ = i2(58380), h = n2.__importStar(i2(36781)), m = n2.__importDefault(i2(22917)), g = i2(47957); t2.PROP_BUTTONS = "buttons", t2.PROP_DESCRIPTION = "description", t2.PROP_IMAGE = "image", t2.PROP_TITLE = "title"; const f = a.dataTypeLimits.cardDataType.properties.buttons.maxItems.count; - class T extends c.BasedOnChoicesType { + class T extends d.BasedOnChoicesType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -57685,7 +62453,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } isInCarousel(e3) { var t3, i3; - if (null === (i3 = null === (t3 = e3.parentList) || void 0 === t3 ? void 0 : t3.propertyParent) || void 0 === i3 ? void 0 : i3.type.isMatch(d.globalTypes.carousel, s.settings.exact)) return true; + if (null === (i3 = null === (t3 = e3.parentList) || void 0 === t3 ? void 0 : t3.propertyParent) || void 0 === i3 ? void 0 : i3.type.isMatch(c.globalTypes.carousel, s.settings.exact)) return true; } deleteChoiceAtIndex(e3, t3) { return this.deleteButtonsChoiceAtIndex(e3, t3); @@ -57892,7 +62660,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExternalContactPatchChange = void 0; const o = i2(31635), a = i2(19596), s = i2(80295), l = o.__importDefault(i2(7401)), u = i2(80295); - class d extends a.DataContract { + class c extends a.DataContract { constructor(e3) { super(e3), (0, u.makeUnenumerable)(this, "_field"), (0, u.makeUnenumerable)(this, "_value"), (0, u.makeUnenumerable)(this, "_condition"); } @@ -57923,14 +62691,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this._condition = e3; } } - t2.ExternalContactPatchChange = d, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], d.prototype, "field", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== l.default && l.default) ? r2 : Object])], d.prototype, "value", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], d.prototype, "condition", null); + t2.ExternalContactPatchChange = c, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], c.prototype, "field", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== l.default && l.default) ? r2 : Object])], c.prototype, "value", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], c.prototype, "condition", null); }, 47293: (e2) => { "use strict"; e2.exports = function(e3, t2) { - var i2, n2, r2, o, a, s, l, u, d, c, p, _, h, m, g, f, T, y, S, A, N, O, I, v, C; - i2 = e3.state, n2 = e3.next_in, v = e3.input, r2 = n2 + (e3.avail_in - 5), o = e3.next_out, C = e3.output, a = o - (t2 - e3.avail_out), s = o + (e3.avail_out - 257), l = i2.dmax, u = i2.wsize, d = i2.whave, c = i2.wnext, p = i2.window, _ = i2.hold, h = i2.bits, m = i2.lencode, g = i2.distcode, f = (1 << i2.lenbits) - 1, T = (1 << i2.distbits) - 1; + var i2, n2, r2, o, a, s, l, u, c, d, p, _, h, m, g, f, T, y, S, A, N, v, O, I, C; + i2 = e3.state, n2 = e3.next_in, I = e3.input, r2 = n2 + (e3.avail_in - 5), o = e3.next_out, C = e3.output, a = o - (t2 - e3.avail_out), s = o + (e3.avail_out - 257), l = i2.dmax, u = i2.wsize, c = i2.whave, d = i2.wnext, p = i2.window, _ = i2.hold, h = i2.bits, m = i2.lencode, g = i2.distcode, f = (1 << i2.lenbits) - 1, T = (1 << i2.distbits) - 1; e: do { - h < 15 && (_ += v[n2++] << h, h += 8, _ += v[n2++] << h, h += 8), y = m[_ & f]; + h < 15 && (_ += I[n2++] << h, h += 8, _ += I[n2++] << h, h += 8), y = m[_ & f]; t: for (; ; ) { if (_ >>>= S = y >>> 24, h -= S, 0 == (S = y >>> 16 & 255)) C[o++] = 65535 & y; else { @@ -57946,54 +62714,54 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; y = m[(65535 & y) + (_ & (1 << S) - 1)]; continue t; } - for (A = 65535 & y, (S &= 15) && (h < S && (_ += v[n2++] << h, h += 8), A += _ & (1 << S) - 1, _ >>>= S, h -= S), h < 15 && (_ += v[n2++] << h, h += 8, _ += v[n2++] << h, h += 8), y = g[_ & T]; ; ) { + for (A = 65535 & y, (S &= 15) && (h < S && (_ += I[n2++] << h, h += 8), A += _ & (1 << S) - 1, _ >>>= S, h -= S), h < 15 && (_ += I[n2++] << h, h += 8, _ += I[n2++] << h, h += 8), y = g[_ & T]; ; ) { if (_ >>>= S = y >>> 24, h -= S, 16 & (S = y >>> 16 & 255)) { - if (N = 65535 & y, h < (S &= 15) && (_ += v[n2++] << h, (h += 8) < S && (_ += v[n2++] << h, h += 8)), (N += _ & (1 << S) - 1) > l) { + if (N = 65535 & y, h < (S &= 15) && (_ += I[n2++] << h, (h += 8) < S && (_ += I[n2++] << h, h += 8)), (N += _ & (1 << S) - 1) > l) { e3.msg = "invalid distance too far back", i2.mode = 30; break e; } if (_ >>>= S, h -= S, N > (S = o - a)) { - if ((S = N - S) > d && i2.sane) { + if ((S = N - S) > c && i2.sane) { e3.msg = "invalid distance too far back", i2.mode = 30; break e; } - if (O = 0, I = p, 0 === c) { - if (O += u - S, S < A) { + if (v = 0, O = p, 0 === d) { + if (v += u - S, S < A) { A -= S; do { - C[o++] = p[O++]; + C[o++] = p[v++]; } while (--S); - O = o - N, I = C; + v = o - N, O = C; } - } else if (c < S) { - if (O += u + c - S, (S -= c) < A) { + } else if (d < S) { + if (v += u + d - S, (S -= d) < A) { A -= S; do { - C[o++] = p[O++]; + C[o++] = p[v++]; } while (--S); - if (O = 0, c < A) { - A -= S = c; + if (v = 0, d < A) { + A -= S = d; do { - C[o++] = p[O++]; + C[o++] = p[v++]; } while (--S); - O = o - N, I = C; + v = o - N, O = C; } } - } else if (O += c - S, S < A) { + } else if (v += d - S, S < A) { A -= S; do { - C[o++] = p[O++]; + C[o++] = p[v++]; } while (--S); - O = o - N, I = C; + v = o - N, O = C; } - for (; A > 2; ) C[o++] = I[O++], C[o++] = I[O++], C[o++] = I[O++], A -= 3; - A && (C[o++] = I[O++], A > 1 && (C[o++] = I[O++])); + for (; A > 2; ) C[o++] = O[v++], C[o++] = O[v++], C[o++] = O[v++], A -= 3; + A && (C[o++] = O[v++], A > 1 && (C[o++] = O[v++])); } else { - O = o - N; + v = o - N; do { - C[o++] = C[O++], C[o++] = C[O++], C[o++] = C[O++], A -= 3; + C[o++] = C[v++], C[o++] = C[v++], C[o++] = C[v++], A -= 3; } while (A > 2); - A && (C[o++] = C[O++], A > 1 && (C[o++] = C[O++])); + A && (C[o++] = C[v++], A > 1 && (C[o++] = C[v++])); } break; } @@ -58015,6 +62783,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; o.baseConstructor.apply(this, arguments); } n2.extend(o, r2, true), e2.exports = o; + }, 47447: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.referenceErrorReason = void 0, t2.referenceErrorReason = { notFound: "not_found", circular: "circular", invalidFormat: "invalid_format" }; }, 47470: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -58048,10 +62819,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 47532: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(96618), s = n2.__importDefault(i2(51499)), l = n2.__importDefault(i2(73198)), u = i2(27491), d = i2(80428), c = i2(55299), p = n2.__importStar(i2(12847)), _ = n2.__importStar(i2(17498)), h = i2(81801), m = (i2(55909), i2(33951), i2(47957)), g = i2(97361), f = i2(1360), T = i2(3916), y = []; - class S extends c.BaseClass { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(96618), s = n2.__importDefault(i2(51499)), l = n2.__importDefault(i2(73198)), u = i2(27491), c = i2(80428), d = i2(55299), p = n2.__importStar(i2(12847)), _ = n2.__importStar(i2(17498)), h = i2(81801), m = (i2(55909), i2(33951), i2(47957)), g = i2(97361), f = i2(1360), T = i2(3916), y = []; + class S extends d.BaseClass { constructor() { - super(), this.defaultInputsWithNoValue = false, this.defaultPageSize = 25, this.searchWildcardSupport = true, this.filterNames = [], this.audioPreview = false, this.currentSearchItems = [], this.currentSearchTotalOnServer = 0, this.isSearching = false, this.items = {}, this.filteredOutItemCount = 0, this.lastRetrievedPage = 0, this.serverWasContacted = false, this.fetchRequestPromises = [], this.idErrorSent = false, this.totalItemsOnServer = 0, this.nextUri = void 0, this.lastReceivedAfter = void 0, this.retrievedUris = [], y.push(this); + super(), this.defaultInputsWithNoValue = false, this.defaultPageSize = 25, this.searchWildcardSupport = true, this.searchWordSplitWildcard = false, this.filterNames = [], this.audioPreview = false, this.currentSearchItems = [], this.currentSearchTotalOnServer = 0, this.isSearching = false, this.items = {}, this.filteredOutItemCount = 0, this.lastRetrievedPage = 0, this.serverWasContacted = false, this.fetchRequestPromises = [], this.idErrorSent = false, this.totalItemsOnServer = 0, this.nextUri = void 0, this.lastReceivedAfter = void 0, this.retrievedUris = [], y.push(this); } get requiredAuth() { } @@ -58078,15 +62849,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.dependencyType && !this.isBriefObjectManager && (this.dependencyType.value || console.error("No dependencyType.value detected. Is your dependencyType defined correctly?"), g.registerObject(this.dependencyType.value, this._networkModel)); } addItem(e3, t3, i3) { - var n3; + var n3, r3, a2, s2; if (!e3 || this.removeDeleted && e3.deleted) return null; this.isValidItem(e3) || this.topic.error(`Item is not valid for adding to this listManager:${this.className} -- id: ${e3.id} type: ${e3.type}`); - let r3 = e3.archInternalId || e3.id; - if (this.caseSensitiveIds || (r3 = o.default.isString(r3) ? r3.toLowerCase() : r3), e3.id || this.idErrorSent || (this.topic.errorWithStack(null, `Server item does not have an id property: ${JSON.stringify(e3)}`), this.idErrorSent = true), this._rawServerCache && (this._rawServerCache[r3] && !t3 || (this._rawServerCache[r3] = e3)), t3 && (null === (n3 = this.briefManager) || void 0 === n3 ? void 0 : n3.getItem(r3)) && this.briefManager.addItem(e3, true, false), this.items[r3] && t3) { + let l2 = e3.archInternalId || e3.id; + if (this.caseSensitiveIds || (l2 = o.default.isString(l2) ? l2.toLowerCase() : l2), e3.id || this.idErrorSent || (this.topic.errorWithStack(null, `Server item does not have an id property: ${JSON.stringify(e3)}`), this.idErrorSent = true), this._rawServerCache && (this._rawServerCache[l2] && !t3 || (this._rawServerCache[l2] = e3)), t3 && (null === (n3 = this.briefManager) || void 0 === n3 ? void 0 : n3.getItem(l2)) && this.briefManager.addItem(e3, true, false), this.items[l2] && t3) { const t4 = this._createItemViewModel(e3); - return this.items[r3].usages && o.default.keys(this.items[r3].usages).length > 0 && (t4.usages = this.items[r3].usages), this.items[r3] = t4, this.items[r3]; + return (null === (a2 = (r3 = this.items[l2]).hasUsagesForFlow) || void 0 === a2 ? void 0 : a2.call(r3, e3.parentFlow)) && (null === (s2 = t4.transferUsagesFrom) || void 0 === s2 || s2.call(t4, this.items[l2])), this.items[l2] = t4, this.items[l2]; } - return this.knownEmptySearches && (this.knownEmptySearches = o.default.without(this.knownEmptySearches, e3.name)), e3 = this._createItemViewModel(e3), this.items[r3] || (this.items[r3] = e3), this.items[r3]; + return this.knownEmptySearches && (this.knownEmptySearches = o.default.without(this.knownEmptySearches, e3.name)), e3 = this._createItemViewModel(e3), this.items[l2] || (this.items[l2] = e3), this.items[l2]; } _createItemViewModel(e3) { return e3; @@ -58129,7 +62900,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const i4 = (null == t4 ? void 0 : t4.entities) ? o.default.findWhere(t4.entities, { id: e3 }) : t4; if (i4) return this.addItem(i4, true); }).catch((t4) => { - throw 403 === t4.status && this.requiredAuth && (this.insufficientAuthorizations = true), this.removeItemWithId(e3, true), t4; + throw 403 === t4.status && this.requiredAuth && (this.insufficientAuthorizations = true, this._traceInsufficientAuthorizations("single item"), this._annotateErrorWithRequiredAuth(t4)), this.removeItemWithId(e3, true), t4; }).finally(() => { const e4 = this.fetchRequestPromises.indexOf(r3); e4 >= 0 ? this.fetchRequestPromises.splice(e4, 1) : this.topic.error("did not find request in cache"); @@ -58240,7 +63011,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const i4 = this.addItem(e4); i4 && !o.default.findWhere(this.currentSearchItems, { id: i4.id }) && this.currentSearchItems.push(i4), o.default.isArray(t3) && i4 && !o.default.findWhere(t3, { id: i4.id }) && t3.push(i4); }), o.default.isArray(t3) ? t3 : this.isSearching ? this.currentSearchItems : o.default.values(this.items); - }, (e4) => (403 === e4.status && this.requiredAuth && (this.insufficientAuthorizations = true), Promise.reject(e4))); + }, (e4) => (403 === e4.status && this.requiredAuth && (this.insufficientAuthorizations = true, this._traceInsufficientAuthorizations("list"), this._annotateErrorWithRequiredAuth(e4)), Promise.reject(e4))); + } + _traceInsufficientAuthorizations(e3) { + this.topic.traceOnce(`insufficientAuthorizations-${e3}-${this.requiredAuth}`, () => this.topic.error(`${this.className} ${e3} call was refused with a 403. The permission checked was '${this.requiredAuth}'.`)); + } + _annotateErrorWithRequiredAuth(e3) { + e3 && "object" == typeof e3 && !e3.requiredAuth && (e3.requiredAuth = this.requiredAuth); } get insufficientAuthorizations() { return this.requiredAuth && !h.externalAuthorizations.checkHasRequiredAuth(this.requiredAuth); @@ -58249,7 +63026,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.requiredAuth && h.externalAuthorizations.setAuthorization(!e3, this.requiredAuth); } forceFallback(e3, t3) { - return a.flowTypes.isVxmlgenFlowType(null == e3 ? void 0 : e3.type) && (null == t3 ? void 0 : t3.dataType) === d.expressionTypeNames.date; + return a.flowTypes.isVxmlgenFlowType(null == e3 ? void 0 : e3.type) && (null == t3 ? void 0 : t3.dataType) === c.expressionTypeNames.date; } mergeSchemaProperties(e3, t3) { const i3 = []; @@ -58294,20 +63071,20 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; resetState() { this.items = {}, this.serverWasContacted = false, this.lastRetrievedPage = 0, this.lastReceivedAfter = void 0, this.currentSearchItems.length = 0, this.currentSearchTotalOnServer = 0, this.totalItemsOnServer = 0, this.nextUri = void 0, this.retrievedUris = [], this.filteredOutItemCount = 0, this.knownEmptySearches && (this.knownEmptySearches.length = 0); } - search(e3, t3, i3, r3, a2, l2, u2, d2) { + search(e3, t3, i3, r3, a2, l2, u2, c2) { return n2.__awaiter(this, void 0, void 0, function* () { - if (this.isSearching = !!e3 || this.isDependentOnCategory, (e3 !== this.currentSearchTerm || d2) && (this.currentSearchItems.length = 0, this.currentSearchTotalOnServer = 0), this.currentSearchTerm = e3, !e3 && !r3 && !a2) return o.default.values(this.items); + if (this.isSearching = !!e3 || this.isDependentOnCategory, (e3 !== this.currentSearchTerm || c2) && (this.currentSearchItems.length = 0, this.currentSearchTotalOnServer = 0), this.currentSearchTerm = e3, !e3 && !r3 && !a2) return o.default.values(this.items); if (this.knownEmptySearches && o.default.contains(this.knownEmptySearches, e3) && !l2) return o.default.isObject(u2) && (u2.isAutomaticEmptyResults = true), []; - let n3, c2; - this.nextUri && !this.retrievedUris.includes(this.nextUri) ? n3 = this.nextUri : (!this.nextUri && this.retrievedUris.length || this.nextUri && this.retrievedUris.includes(this.nextUri)) && (n3 = this.retrievedUris[this.retrievedUris.length - 1]), this.lastReceivedAfter && r3 ? c2 = this.lastReceivedAfter : n3 && (c2 = this._getAfterCursorFormUri(n3)); - const p2 = new s.default(this, { searchTerm: e3, sortBy: this.sortNotSupported ? void 0 : "name", sortOrder: this.sortOrder, matchingStyle: i3, searchField: t3, additionalParams: a2, getNextPage: r3, after: c2 }); + let n3, d2; + c2 || (this.nextUri && !this.retrievedUris.includes(this.nextUri) ? n3 = this.nextUri : (!this.nextUri && this.retrievedUris.length || this.nextUri && this.retrievedUris.includes(this.nextUri)) && (n3 = this.retrievedUris[this.retrievedUris.length - 1])), this.lastReceivedAfter && r3 ? d2 = this.lastReceivedAfter : n3 && (d2 = this._getAfterCursorFormUri(n3)); + const p2 = new s.default(this, { searchTerm: e3, sortBy: this.sortNotSupported ? void 0 : "name", sortOrder: this.sortOrder, matchingStyle: i3, searchField: t3, additionalParams: a2, getNextPage: r3, after: d2 }); if (this.suppressSearch && (this.shouldRequestAllPages || p2.searchTerm)) { const e4 = []; if (yield this.getConfigListPage(p2, e4), this.currentSearchTotalOnServer) for (; this.numProcessedServerItems < (this.isSearching ? this.currentSearchTotalOnServer : this.totalItemsOnServer); ) p2.pageNumber += 1, yield this.getConfigListPage(p2, e4); else for (; this.nextUri; ) n3 = this.nextUri, p2.after = this._getAfterCursorFormUri(n3), yield this.getConfigListPage(p2, e4); return e4; } - return d2 ? yield this._searchAllPages(p2) : yield this.getConfigListPage(p2); + return c2 ? yield this._searchAllPages(p2) : yield this.getConfigListPage(p2); }); } _getAfterCursorFormUri(e3) { @@ -58394,8 +63171,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = u; }, 47567: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(78513), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5730)), d = i2(80428), c = i2(47957); - class p extends u.default { + const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(78513), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5730)), c = i2(80428), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends u.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -58406,16 +63183,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return [s.default.loop]; } static get managedProperties() { - return [{ label: c.loop.indexDataName, options: a.ExpressionTypeIntegerOptions.create((e3) => e3.setAsOutput()), property: "currentIndex", type: d.expressionTypeNames.integer }, { label: c.loopUntil.maxLoopCount, options: a.ExpressionTypeIntegerOptions.create((e3) => e3.setDefaultText(1).setIninTestingField("loopExpression").facets.setMinInt(1, true).setMaxInt(99, true)), property: "loopCount", type: d.expressionTypeNames.integer }]; + return [{ label: p.loop.indexDataName, options: a.ExpressionTypeIntegerOptions.create((e3) => e3.setAsOutput()), property: "currentIndex", type: c.expressionTypeNames.integer }, { label: p.loopUntil.maxLoopCount, options: a.ExpressionTypeIntegerOptions.create((e3) => e3.setDefaultText(1).setIninTestingField("loopExpression").facets.setMinInt(1, true).setMaxInt(99, true)), property: "loopCount", type: c.expressionTypeNames.integer }]; } getDetails() { - return this.loopCount && this.loopCount.text && this.currentIndex && this.currentIndex.text ? new o.ActionDetails([c.loop.loops, c.loop.index], [this.loopCount.text, this.currentIndex.text]) : null; + return this.loopCount && this.loopCount.text && this.currentIndex && this.currentIndex.text ? new o.ActionDetails([p.loop.loops, p.loop.index], [this.loopCount.text, this.currentIndex.text]) : null; } validate(e3) { - super.validate(e3), this.loopCount.validate(e3) && this.loopCount.isLiteralMode && parseInt(this.loopCount.config.lit.text, 10) < 1 && e3.addWarning(this, c.loop.lessThanOne), this.currentIndex.validate(e3), this.branches[0].terminatesTaskOrFlow && e3.addError(this, c.loop.terminating); + super.validate(e3), this.loopCount.validate(e3) && this.loopCount.isLiteralMode && parseInt(this.loopCount.config.lit.text, 10) < 1 && e3.addWarning(this, p.loop.lessThanOne), this.currentIndex.validate(e3), this.branches[0].terminatesTaskOrFlow && e3.addError(this, p.loop.terminating); } } - p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: r2.helpTopics.actions.loop, modelClass: i2(84111), name: c.actions.loop, scriptingName: "ArchActionLoop" }), t2.A = p; + _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: r2.helpTopics.actions.loop, modelClass: i2(84111), name: p.actions.loop, scriptingName: "ArchActionLoop", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; }, 47577: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -58440,10 +63217,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = r2; }, 47598: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(98552), s = i2(14394), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(58380)), d = n2.__importStar(i2(1115)), c = i2(12179), p = i2(13116), _ = i2(12457), h = n2.__importDefault(i2(97891)), m = n2.__importDefault(i2(5730)), g = i2(90807), f = i2(7401), T = i2(47957); - class y extends m.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(98552), s = i2(14394), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(58380)), c = n2.__importStar(i2(1115)), d = i2(12179), p = i2(13116), _ = i2(12457), h = n2.__importDefault(i2(97891)), m = n2.__importDefault(i2(5730)), g = n2.__importDefault(i2(4648)), f = i2(90807), T = i2(7401), y = i2(47957); + class S extends m.default { static get managedProperties() { - return [{ property: "slots", dataList: true, label: T.clearSlot.slotsLabel, yamlOptions: y.createYamlOptions("slots", (e3) => e3.setWrapDataPairNameAndValueInString("slot")) }]; + return [{ property: "slots", dataList: true, label: y.clearSlot.slotsLabel, yamlOptions: S.createYamlOptions("slots", (e3) => e3.setWrapDataPairNameAndValueInString("slot")) }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this.slotErrors = [], this._loadModel(t3), o.default.each(this.slots.items, (e4) => { @@ -58451,7 +63228,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }); } addSlot() { - const e3 = this.slots.add(new g({ value: new f() }), s.globalTypes.boolean); + const e3 = this.slots.add(new f({ value: new T() }), s.globalTypes.boolean); return e3.value.setConfigAndMetaData(a.expressionItems.emp(e3.value.type)), e3.value.outOfService = true, e3; } getSelectedSlots() { @@ -58459,14 +63236,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } _setupEventSinks() { this.slotListOrderChangedSink = u.createEventSinkObject(l.listOrderChanged, this, () => { - this.initializeDesignTimeCalled && d.validateAction(this, false, true); + this.initializeDesignTimeCalled && c.validateAction(this, false, true); }), u.registerEventSinkForEventEmitter(this.slots.id, this.slotListOrderChangedSink); } _clearEventSinks() { u.unregisterEventSinkForEventEmitter(this.slots.id, this.slotListOrderChangedSink), u.unregisterEventSink(this.slotListOrderChangedSink); } propertyChanged(e3) { - super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.slots && d.validateAction(this, false, true); + super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.slots && c.validateAction(this, false, true); } _initializeDesignTime() { super._initializeDesignTime(), this._setupEventSinks(); @@ -58493,18 +63270,18 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var t3; super.validate(e3), this.slotErrors.length = 0; const i3 = null === (t3 = this.slots) || void 0 === t3 ? void 0 : t3.items; - if (!i3 || 0 === i3.length) return void e3.addWarning(this, T.clearSlot.noSlotsToClearWarning); + if (!i3 || 0 === i3.length) return void e3.addWarning(this, y.clearSlot.noSlotsToClearWarning); const n3 = this.getSelectedSlots(), a2 = o.default.countBy(n3), s2 = []; this.slots.items.forEach((t4, i4) => { this.slotErrors.push(void 0); const n4 = null == t4 ? void 0 : t4.name; let o2; const l2 = this.parentFlow.getAllSlotsToSlotHandlingMap().get(n4); - n4 ? void 0 === l2 ? o2 = (0, r2.sprintf)(T.askForSlot.selectedSlotError, null == t4 ? void 0 : t4.name) : l2 !== p.SlotHandlingType.standardSlot ? o2 = (0, r2.sprintf)(T.voiceSurvey.voiceSurveySlotNotAllowedErrorMessage, n4) : a2[n4] > 1 && !s2[n4] && (o2 = (0, r2.sprintf)(T.clearSlot.specifiedMoreThanOnce, null == t4 ? void 0 : t4.name), s2[n4] = true) : o2 = T.clearSlot.mustSpecifySlot, o2 && (this.slotErrors[i4] = o2, e3.addError(this, o2)); + n4 ? void 0 === l2 ? o2 = (0, r2.sprintf)(y.askForSlot.selectedSlotError, null == t4 ? void 0 : t4.name) : l2 !== p.SlotHandlingType.standardSlot ? o2 = (0, r2.sprintf)(y.voiceSurvey.voiceSurveySlotNotAllowedErrorMessage, n4) : a2[n4] > 1 && !s2[n4] && (o2 = (0, r2.sprintf)(y.clearSlot.specifiedMoreThanOnce, null == t4 ? void 0 : t4.name), s2[n4] = true) : o2 = y.clearSlot.mustSpecifySlot, o2 && (this.slotErrors[i4] = o2, e3.addError(this, o2)); }); } } - y.info = h.default.createActionInfo({ actionClass: y, canBeInTask: true, helpTopic: c.helpTopics.actions.clearSlot, modelClass: i2(8236), name: T.clearSlot.clearSlotTitle, scriptingName: "ArchActionClearSlot" }), t2.A = y; + S.info = h.default.createActionInfo({ actionClass: S, canBeInTask: true, helpTopic: d.helpTopics.actions.clearSlot, modelClass: i2(8236), name: y.clearSlot.clearSlotTitle, scriptingName: "ArchActionClearSlot", modelFormatSupport: { flowYaml: { inProgress: true, feature: g.default.changeSetsFeaturePhase2 } } }), t2.A = S; }, 47628: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ServerActionTimeoutSettings = void 0; @@ -58634,7 +63411,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var n2; Object.defineProperty(t2, "__esModule", { value: true }); const r2 = i2(31635), o = i2(80295), a = i2(19596), s = i2(80295), l = r2.__importDefault(i2(95079)), u = r2.__importStar(i2(75800)); - class d extends a.DataContract { + class c extends a.DataContract { constructor(e3) { super(e3), (0, s.makeUnenumerable)(this, "_id"), (0, s.makeUnenumerable)(this, "_overloads"); } @@ -58651,7 +63428,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this._overloads = this.reviveMap(e3, l.default, true); } } - t2.default = d, r2.__decorate([(0, o.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [String])], d.prototype, "id", null), r2.__decorate([(0, o.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== u && u.IFlowTypeAvailabilityContainerMap) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], d.prototype, "overloads", null); + t2.default = c, r2.__decorate([(0, o.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [String])], c.prototype, "id", null), r2.__decorate([(0, o.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== u && u.IFlowTypeAvailabilityContainerMap) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], c.prototype, "overloads", null); }, 47818: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -58694,7 +63471,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 47976: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.nuanceMixIntegrationManager = t2.NuanceMixIntegrationManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(32236)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(37707), d = i2(97081), c = i2(30801), p = i2(47957), _ = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(32236)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(37707), c = i2(97081), d = i2(30801), p = i2(47957), _ = i2(27862); class h extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.integrationView; @@ -58703,10 +63480,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return _.NuanceMixIntegration; } constructor() { - super(), this.topic = a.getTopic("NuanceMixIntegrationManager"), this.apiCallList = r2.getNuanceMixIntegrations, this.apiCallSingle = r2.getIntegration, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "botIntegration", this.actionsForUsageSearch = [c.nuanceMixActionType], this.className = "NuanceMixIntegrationManager", this.defaultMatchingStyle = o.exactMatch, this.dependencyContext = p.botConnector.botIntegration, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.shouldRequestAllPages = true, this.defaultPageSize = 100, this.uiMetadataSectionName = "nuanceMixIntegrations", this.warnIfMissing = true, this._initialize(); + super(), this.topic = a.getTopic("NuanceMixIntegrationManager"), this.apiCallList = r2.getNuanceMixIntegrations, this.apiCallSingle = r2.getIntegration, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "botIntegration", this.actionsForUsageSearch = [d.nuanceMixActionType], this.className = "NuanceMixIntegrationManager", this.defaultMatchingStyle = o.exactMatch, this.dependencyContext = p.botConnector.botIntegration, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.shouldRequestAllPages = true, this.defaultPageSize = 100, this.uiMetadataSectionName = "nuanceMixIntegrations", this.warnIfMissing = true, this._initialize(); } _createItemViewModel(e3) { - return new d.IntegrationViewModel(e3); + return new c.IntegrationViewModel(e3); } get _networkModel() { return u.Integration; @@ -58803,7 +63580,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 48051: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.Observable = void 0; - var n2 = i2(2708), r2 = i2(69879), o = i2(2884), a = i2(99517), s = i2(93728), l = i2(10281), u = i2(12688), d = (function() { + var n2 = i2(2708), r2 = i2(69879), o = i2(2884), a = i2(99517), s = i2(93728), l = i2(10281), u = i2(12688), c = (function() { function e3(e4) { e4 && (this._subscribe = e4); } @@ -58826,7 +63603,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } }, e3.prototype.forEach = function(e4, t3) { var i3 = this; - return new (t3 = c(t3))(function(t4, r3) { + return new (t3 = d(t3))(function(t4, r3) { var o2 = new n2.SafeSubscriber({ next: function(t5) { try { e4(t5); @@ -58846,7 +63623,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return a.pipeFromArray(e4)(this); }, e3.prototype.toPromise = function(e4) { var t3 = this; - return new (e4 = c(e4))(function(e5, i3) { + return new (e4 = d(e4))(function(e5, i3) { var n3; t3.subscribe(function(e6) { return n3 = e6; @@ -58860,11 +63637,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return new e3(t3); }, e3; })(); - function c(e3) { + function d(e3) { var t3; return null !== (t3 = null != e3 ? e3 : s.config.Promise) && void 0 !== t3 ? t3 : Promise; } - t2.Observable = d; + t2.Observable = c; }, 48093: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "Input non valido.", noInputReceived: "Non ho ricevuto alcun input." }, askForBoolean: { noInput: `Di' "s\xEC" se desideri continuare, oppure "no" se non vuoi farlo.`, noMatch: `Per favore, di' "S\xEC" o "No". Vuoi continuare?`, question: "Vuoi continuare?", noInputDigitalBot: 'Inserisci "S\xEC" se desideri continuare, oppure "No" se non vuoi farlo.', noMatchDigitalBot: 'Inserisci "S\xEC" o "No". Vuoi continuare?' }, askForIntent: { noInput: 'Pronunci una breve frase che descriva la sua richiesta. Ad esempio "Controlla il saldo del mio conto"', noMatch: "Ripeti cosa che vuoi che faccia.", question: "Cosa vorresti fare?", noInputDigitalBot: 'Inserisci una breve frase che descriva la tua richiesta. Ad esempio, "Controlla il saldo del mio conto"' }, askForSlot: { askFor: "Chiedi il valore di: %1$s", noInput: "Per favore, pronuncia o inserisci (indica qui il nome dello slot).", noInputWithSlot: "Per favore, pronuncia o inserisci: %1$s.", noMatch: "Per favore, forniscimi di nuovo (indica qui il nome dello slot).", noMatchWithSlot: "Per favore, forniscimi di nuovo il valore di: %1$s.", question: "Qual \xE8 il valore di (indica qui il nome dello slot)?", questionWithSlot: "Qual \xE8 il valore di: %1$s?", pleaseEnterSlotNameHere: "(inserire qui il nome dello slot)", noInputDigitalBot: "Per favore, inserisci (indica qui il nome dello slot).", noInputWithSlotDigitalBot: "Inserisci %1$s.", continuationPromptWithSlot: "Finora ho {{Slot.%1$s}}, continuare." }, askForNextSlot: { noInput: `Di' "s\xEC" se hai un'altra richiesta, oppure "no" per terminare la chiamata.`, noMatch: `Di' "S\xEC" se hai un'altra richiesta, oppure "No" per terminare la sessione.`, question: "Posso aiutarti con qualche altra richiesta?", noInputDigitalBot: `Inserisci "S\xEC" se hai un'altra richiesta, oppure "No" per terminare la sessione.`, noMatchDigitalBot: `Inserisci "S\xEC" se hai un'altra richiesta, oppure "No" per terminare la sessione.` }, askForPayment: { noInputDigitalBot: "Inserire le informazioni di pagamento per continuare.", noMatchDigitalBot: "Purtroppo non ho capito la risposta. Riprovare." }, askForAuthentication: { noInputDigitalBot: "Fornire le informazioni di autenticazione per continuare.", noMatchDigitalBot: "Purtroppo non ho capito la risposta. Riprovare." }, askSurveyQuestion: { notApplicable: "Non applicabile", surveyAnswerOptionSequence: "Premere %1$s per '%2$s'.", surveyAnswerNotApplicableSequence: "Premere la stella per Non applicabile.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Premere la stella per Non applicabile.", voiceSurveyNoInputText: "Rispondere alla domanda.", voiceSurveyNoMatchText: "Non ho capito." }, commonModule: { exitCommonModule: "Esci dal modulo comune" }, form: { noInputDigitalBot: "Completare il modulo per continuare.", noMatchDigitalBot: "Completare il modulo per continuare." }, messagingTemplate: { noInputDigitalBot: "Selezionare una delle opzioni disponibili.", noMatchDigitalBot: "Selezionare una delle opzioni disponibili." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Continua", knowledgeAnswerHighlightFullArticleDefault: "Visualizza Articolo completo", knowledgeInitialResponseMulti: "Per consentirmi di capire la richiesta, scegliere un numero dal seguente elenco:", knowledgeInitialResponseMultiRetry: "Scegliere un numero, ad esempio '1'.\nEcco nuovamente l'elenco delle opzioni:", knowledgeNoMatch: "Nessuna di queste opzioni", knowledgeConfirmation: "Questo risponde alla sua domanda?", knowledgeFollowup: "Spero di aver risposto alla tua domanda. Puoi chiedermi qualsiasi cosa che vuoi sapere." }, noOverlay: { intent: { intentConfirmationStr1: "Credo che lei voglia", intentConfirmationStr2: "\xC8 corretto?" }, youSaid: { youSaidConfirmationStr1: "Ha detto", youSaidConfirmationStr2: "\xC8 corretto?", youSaidConfirmationStr1DigitalBot: "Hai inserito" }, noInput: { noInputStr1: "Dica o digiti", noInputStr1DigitalBot: "Inserisci" }, noMatch: { noMatchStr1: "La prego di fornirmi" }, whatIs: { whatIsQuestionStr1: "Qual \xE8", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Finora ho", iGotContinuationStr2: ", continuare." } }, defaultCallFlowOne: "Flusso chiamate predefinito", errorHandlingAgentEscalationConfirmation: "Desidera parlare con un consulente, corretto?", errorHandlingAgentEscalationHandover: "Attenda un momento mentre trasferisco la chiamata ad un agente.", errorHandlingErrorEventHandover: "Mi dispiace, si \xE8 verificato un errore. Attenda un momento mentre trasferisco la chiamata ad un agente che potr\xE0 aiutarla.", errorHandlingErrorEventHandoverVoiceSurvey: "Si \xE8 verificato un errore. Arrivederci.", errorHandlingRecognitionEventHandover: "Mi dispiace, purtroppo ho problemi a capirla. Attenda un momento mentre trasferisco la chiamata ad un agente che potr\xE0 aiutarla.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Purtroppo non riesco a capirti. Arrivederci.", errorHandlingTTS: "Si \xE8 verificato un errore. Riprovare a chiamare.", initialGreetingTTS: "Salve, questo \xE8 il saluto di benvenuto.", initialState: "Stato iniziale", initialBotState: "Bot predefinito", initialDigitalBotState: "Saluti iniziali", initialSurveyBotState: "Bot sondaggio", intentConfirmation: "Credo tu voglia %1$s, \xE8 corretto?", mainMenu: "Menu principale", mainMenuTTS: "Questo \xE8 il menu principale. Per uscire, premere 9.", mainTask: "Attivit\xE0", settingsConfirmationNoInputApology: "Mi dispiace, non ho sentito. Per favore, dica s\xEC o no.", settingsConfirmationNoInputApologyDigitalBot: 'Scusa, non ha ricevuto alcun input. Per favore inserisci "S\xEC" o "No".', settingsConfirmationNoMatchApology: "Mi scusi, per favore dica s\xEC o no.", settingsConfirmationNoMatchApologyDigitalBot: 'Scusa, per favore inserisci "S\xEC" o "No".', settingsNoInputApology: "Mi dispiace, non ho sentito.", settingsNoInputApologyDigitalBot: "Scusa, non ho ricevuto alcun input.", settingsEndOfSessionMessageDigitalBot: "Poich\xE9 non scrivi nulla da un po' di tempo, chiuder\xF2 questa chat. Torna a scrivere se hai di nuovo bisogno del mio aiuto, grazie.", settingsNoMatchApology: "Mi dispiace.", settingsNoToConfirmationApology: "Scusi, ho capito male.", periodicStateName: "Stato ricorrente" }; }, 48109: (e2, t2, i2) => { @@ -58967,24 +63744,24 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 48263: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(73198)), s = i2(67607), l = i2(72987), u = n2.__importDefault(i2(2318)), d = i2(92158), c = n2.__importStar(i2(36781)), p = n2.__importStar(i2(10798)), _ = n2.__importDefault(i2(77862)), h = i2(30801), m = i2(30801), g = n2.__importDefault(i2(4648)), f = n2.__importStar(i2(63352)), T = i2(12179), y = n2.__importDefault(i2(20084)), S = i2(80428), A = i2(99472), N = i2(28803), O = i2(89599), I = i2(99469), v = i2(1115), C = n2.__importDefault(i2(22917)), b = i2(12323), E = i2(47957); - class R extends y.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(73198)), s = i2(67607), l = i2(72987), u = n2.__importDefault(i2(2318)), c = i2(92158), d = n2.__importStar(i2(36781)), p = n2.__importStar(i2(10798)), _ = n2.__importDefault(i2(77862)), h = i2(30801), m = i2(30801), g = n2.__importDefault(i2(4648)), f = n2.__importStar(i2(63352)), T = i2(12179), y = n2.__importDefault(i2(20084)), S = i2(80428), A = i2(99472), N = i2(28803), v = i2(89599), O = i2(99469), I = i2(1115), C = n2.__importDefault(i2(22917)), b = i2(12323), E = i2(47957); + class w extends y.default { constructor(e3) { super(e3, "virtualAgentSettings", b), this.labelBadge = A.aiPoweredBadgeWithNoText; } static get managedProperties() { const e3 = { responsiveForm: true, hideInfoIcon: true, showInputDescription: true }; - return [{ label: E.customNodes.virtualAgentSettings.virtualAgentSettingsSummarizeConversationTitle, supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(E.customNodes.virtualAgentSettings.virtualAgentSettingsSummarizeConversationTitle, E.customNodes.virtualAgentSettings.virtualAgentSettingsSummarizeConversationDescription).setIninTestingField("summarization").setDefaultText(a.default.false).setBoolText("", "").setVirtualAgentLabelBadge().setUseToggle(true).setIsOptional(false).setFeatureConfigName(g.default.botFlowsVirtualAgentSummarization).setValueChangedCallback((e4) => { + return [{ label: E.customNodes.virtualAgentSettings.virtualAgentSettingsSummarizeConversationTitle, supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(E.customNodes.virtualAgentSettings.virtualAgentSettingsSummarizeConversationTitle, E.customNodes.virtualAgentSettings.virtualAgentSettingsSummarizeConversationDescription).setIninTestingField("summarization").setDefaultText(a.default.false).setBoolText("", "").setVirtualAgentLabelBadge().setUseToggle(true).setIsOptional(false).setFeatureConfigName(g.default.botFlowsVirtualAgentSummarization).setRuntimeValueInheritsFromCallingFlow(true).setValueChangedCallback((e4) => { e4.parent.updateSettingsDependentOnSummarization(); - }).setAllowModeLiteralOnly().setUiLayout(e3)), property: "summarization", type: S.expressionTypeNames.boolean }, { label: E.customNodes.virtualAgentSettings.assignWrapupCodesTitle, supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(E.customNodes.virtualAgentSettings.assignWrapupCodesTitle, E.customNodes.virtualAgentSettings.assignWrapupCodesDescription).setIninTestingField("assignWrapupCodes").setDefaultText(a.default.false).setBoolText("", "").setVirtualAgentLabelBadge().setUseToggle(true).setIsOptional(false).setFeatureConfigName(g.default.botFlowsDigitalBotFlowsBotSummarization).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnAssignWrapupCodes()).setAllowModeLiteralOnly().setUiLayout(e3)), property: "assignWrapupCodes", type: S.expressionTypeNames.boolean }, { label: E.customNodes.virtualAgentSettings.enabledWrapupCodes, supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], options: l.ExpressionTypeWrapupCodeOptions.create((e4) => e4.setIsCollection(true).setIninTestingField("enabledWrapupCodes").setAllowNotSet(false).setAllowModeLiteralOnly().setFeatureConfigName(g.default.botFlowsDigitalBotFlowsBotSummarization).setRequiresHasDescription(true).facets.setAllowNull(false)), property: "enabledWrapupCodes", type: S.expressionTypeNames.wrapupCode }, { label: E.customNodes.virtualAgentSettings.conversationSummarySettingsTitle, supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], options: I.ManagedPropertyOptions.create((t3) => t3.setIninTestingField("conversationSummary-selector").setFeatureConfigName(g.default.botFlowsVirtualAgentCustomSummaries).setDropdownPlaceholder(E.customNodes.virtualAgentSettings.conversationSummarySettingsDropdownPlaceholder).setIsOptional(true).setInlineDescription(E.customNodes.virtualAgentSettings.conversationSummarySettingsDescription).setDescriptionInfo(void 0, E.customNodes.virtualAgentSettings.conversationSummarySettingsToolTip).setUiLayout(Object.assign(Object.assign({}, e3), { hideInfoIcon: false }))), property: "conversationSummary", createDetails: N.NetworkBasedActionProperty.createCreateDetails("conversationSummaryId", "conversationSummaryName", O.conversationSummarySettingManager, null, E.customNodes.virtualAgentSettings.conversationSummarySettingsSummaryNotFound, void 0, void 0, (e4, t3) => { + }).setAllowModeLiteralOnly().setUiLayout(e3)), property: "summarization", type: S.expressionTypeNames.boolean }, { label: E.customNodes.virtualAgentSettings.assignWrapupCodesTitle, supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(E.customNodes.virtualAgentSettings.assignWrapupCodesTitle, E.customNodes.virtualAgentSettings.assignWrapupCodesDescription).setIninTestingField("assignWrapupCodes").setDefaultText(a.default.false).setBoolText("", "").setVirtualAgentLabelBadge().setUseToggle(true).setIsOptional(false).setFeatureConfigName(g.default.botFlowsDigitalBotFlowsBotSummarization).setRuntimeValueInheritsFromCallingFlow(true).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnAssignWrapupCodes()).setAllowModeLiteralOnly().setUiLayout(e3)), property: "assignWrapupCodes", type: S.expressionTypeNames.boolean }, { label: E.customNodes.virtualAgentSettings.enabledWrapupCodes, supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], options: l.ExpressionTypeWrapupCodeOptions.create((e4) => e4.setIsCollection(true).setIninTestingField("enabledWrapupCodes").setAllowNotSet(false).setAllowModeLiteralOnly().setFeatureConfigName(g.default.botFlowsDigitalBotFlowsBotSummarization).setRequiresHasDescription(true).facets.setAllowNull(false)), property: "enabledWrapupCodes", type: S.expressionTypeNames.wrapupCode }, { label: E.customNodes.virtualAgentSettings.conversationSummarySettingsTitle, supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], options: O.ManagedPropertyOptions.create((t3) => t3.setIninTestingField("conversationSummary-selector").setFeatureConfigName(g.default.botFlowsVirtualAgentCustomSummaries).setDropdownPlaceholder(E.customNodes.virtualAgentSettings.conversationSummarySettingsDropdownPlaceholder).setIsOptional(true).setInlineDescription(E.customNodes.virtualAgentSettings.conversationSummarySettingsDescription).setDescriptionInfo(void 0, E.customNodes.virtualAgentSettings.conversationSummarySettingsToolTip).setUiLayout(Object.assign(Object.assign({}, e3), { hideInfoIcon: false }))), property: "conversationSummary", createDetails: N.NetworkBasedActionProperty.createCreateDetails("conversationSummaryId", "conversationSummaryName", v.conversationSummarySettingManager, null, E.customNodes.virtualAgentSettings.conversationSummarySettingsSummaryNotFound, void 0, void 0, (e4, t3) => { var i3, n3; return (null === (i3 = t3.language) || void 0 === i3 ? void 0 : i3.toLowerCase()) === (null === (n3 = e4.action.parentFlow.defaultLanguage) || void 0 === n3 ? void 0 : n3.toLowerCase()); }), yamlOptions: C.default.create("conversationSummary", (e4) => e4.setSkipProperty(true)) }]; } _initializeDesignTime() { - super._initializeDesignTime(), this.conversationSummary.isOptional = true, this.addAutoCleanedUpEventListener(c.botFlowSettingChanged, (e3) => { + super._initializeDesignTime(), this.conversationSummary.isOptional = true, this.addAutoCleanedUpEventListener(d.botFlowSettingChanged, (e3) => { e3.setting === _.default.variable.virtualAgentEnabled && (this.setOutOfService(), this.setDefaultVirtualAgentActionSettings(true)); - }), this.addAutoCleanedUpEventListener(c.promptChanged, (e3) => { + }), this.addAutoCleanedUpEventListener(d.promptChanged, (e3) => { "voiceProcessingPrompt" === e3.type && this.setOutOfService(); }), this.setOutOfService(); } @@ -59010,7 +63787,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; validate(e3) { var t3, i3, n3, r3; if (super.validate(e3), !this.outOfService && !this.conversationSummary.outOfService && this.conversationSummaryId) { - const a2 = null === (i3 = null === (t3 = O.conversationSummarySettingManager.getItem(this.conversationSummaryId)) || void 0 === t3 ? void 0 : t3.language) || void 0 === i3 ? void 0 : i3.toLowerCase(); + const a2 = null === (i3 = null === (t3 = v.conversationSummarySettingManager.getItem(this.conversationSummaryId)) || void 0 === t3 ? void 0 : t3.language) || void 0 === i3 ? void 0 : i3.toLowerCase(); if (a2 && a2 !== (null === (r3 = null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.defaultLanguage) || void 0 === r3 ? void 0 : r3.toLowerCase())) { const t4 = (0, o.sprintf)(E.customNodes.virtualAgentSettings.conversationSummarySettingsSummaryNotFound, this.conversationSummaryName); e3.addError(this.conversationSummary, t4, false, true), this.conversationSummary.currentUiErrorMessage = t4; @@ -59024,7 +63801,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.enabledWrapupCodes.outOfService = this.assignWrapupCodes.outOfService || this.assignWrapupCodes.text === a.default.false; } updateSettingsDependentOnSummarization() { - this.conversationSummary.outOfService = !this.summarizationEnabled, (0, v.validateNode)(this.parentFlow.languages, true), (0, v.validateNode)(this, true); + this.conversationSummary.outOfService = !this.summarizationEnabled, (0, I.validateNode)(this.parentFlow.languages, true), (0, I.validateNode)(this, true); } get useLabelBadge() { return true; @@ -59061,7 +63838,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.getVirtualAgentAllowed() && p.isFeatureAvailable(g.default.botFlowsVirtualAgentCustomSummaries) && !this.summarization.outOfService && this.summarization.isBooleanTrue; } addEnabledWrapupCode(e3) { - d.wrapupCodeManager.addItem(e3, true), this.enabledWrapupCodes.addItem().updateFromConfigListManagerItem(e3); + c.wrapupCodeManager.addItem(e3, true), this.enabledWrapupCodes.addItem().updateFromConfigListManagerItem(e3); } removeEnabledWrapupCode(e3) { var t3, i3; @@ -59082,19 +63859,19 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; setDefaultVirtualAgentActionSettings(e3) { } } - t2.default = R; + t2.default = w; }, 48289: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(5730)), a = n2.__importDefault(i2(27203)), s = n2.__importDefault(i2(73198)), l = n2.__importDefault(i2(97891)), u = i2(12457), d = i2(24235), c = i2(87870), p = i2(47957); - class _ extends o.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(5730)), a = n2.__importDefault(i2(27203)), s = n2.__importDefault(i2(73198)), l = n2.__importDefault(i2(97891)), u = i2(12457), c = i2(24235), d = i2(87870), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends o.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.whisperAudio = null, this._loadModel(t3), this.editor_testing_tag = "SetWhisperAudioAction"; } getDetails() { if (this.whisperAudio) { const e3 = this.whisperAudio.getDescription(); - if (e3) return new u.ActionDetails([p.audio.audioLabel], [e3]); - if (this.whisperAudio.noValueMode) return new u.ActionDetails([""], [p.setWhisperAudio.noValueRuntimeEvaluationString]); + if (e3) return new u.ActionDetails([_.audio.audioLabel], [e3]); + if (this.whisperAudio.noValueMode) return new u.ActionDetails([""], [_.setWhisperAudio.noValueRuntimeEvaluationString]); } return null; } @@ -59102,10 +63879,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return a.default.successFailure; } static get managedProperties() { - return [{ audio: true, options: d.AudioViewModelOptions.create((e3) => e3.setIninTestingField("whisperAudio").setAllowSecure(false).setAllowBlankAudio(false).setLabel(p.setWhisperAudio.label).setIsOptional(true).setModeNoValueRuntimeEvaluationStr(p.setWhisperAudio.noValueRuntimeEvaluationString).setModeNoValueSelectionLabel(p.setWhisperAudio.noValueSelectionLabel).setDisallowedFunctionMap({ AudioPlayBackOptions: true }).setEmitNonConfigItemForEmptyAndNoDefault(true).setMaxDuration(3 * s.default.msPerSecond, true)), property: "whisperAudio" }, { createDetails: c.NoteActionProperty.createCreateDetails(p.setWhisperAudio.infoMessage, "info", "setWhisperNote"), property: "actionInformationalMessage", yamlOptions: _.createYamlOptions("actionInformationalMessage", (e3) => e3.setSkipProperty(true)) }]; + return [{ audio: true, options: c.AudioViewModelOptions.create((e3) => e3.setIninTestingField("whisperAudio").setAllowSecure(false).setAllowBlankAudio(false).setLabel(_.setWhisperAudio.label).setIsOptional(true).setModeNoValueRuntimeEvaluationStr(_.setWhisperAudio.noValueRuntimeEvaluationString).setModeNoValueSelectionLabel(_.setWhisperAudio.noValueSelectionLabel).setDisallowedFunctionMap({ AudioPlayBackOptions: true }).setEmitNonConfigItemForEmptyAndNoDefault(true).setMaxDuration(3 * s.default.msPerSecond, true)), property: "whisperAudio" }, { createDetails: d.NoteActionProperty.createCreateDetails(_.setWhisperAudio.infoMessage, "info", "setWhisperNote"), property: "actionInformationalMessage", yamlOptions: h.createYamlOptions("actionInformationalMessage", (e3) => e3.setSkipProperty(true)) }]; } } - _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: r2.helpTopics.actions.setWhisperAudio, modelClass: i2(40311), name: p.actions.setWhisperAudio, scriptingName: "ArchActionSetWhisperAudio" }), t2.A = _; + h.info = l.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: r2.helpTopics.actions.setWhisperAudio, modelClass: i2(40311), name: _.actions.setWhisperAudio, scriptingName: "ArchActionSetWhisperAudio", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 48303: function(e2, t2, i2) { !(function(e3) { "use strict"; @@ -59242,170 +64019,205 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 48565: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getTrackingArray = function(e3, t3) { - const i3 = g(e3); + const i3 = f(e3); if (!i3) return; let n3 = s.default.toArray(i3); return t3 && t3.removeHidden && (n3 = s.default.filter(n3, (e4) => !e4.isHidden)), t3 && t3.sortByTrackingId && (n3 = s.default.sortBy(n3, (e4) => e4.trackingId)), n3; - }, t2.registerNode = I, t2.removeNode = function(e3) { - const t3 = g(e3.parentFlow); + }, t2.setNodeTrackingId = function(e3, t3) { + if (s.default.isUndefined(t3)) return void c.warning(` Cannot set tracking ID for [${e3.toString()}] to undefined.`); + if (t3 < u.default.minTrackingId || t3 > u.default.maxTrackingId) return void c.warning(` Cannot set tracking ID for [${e3.toString()}] as new tracking ID ${t3} is outside the allowed range of ${u.default.minTrackingId} to ${u.default.maxTrackingId} for a tracking ID.`); + const i3 = T(e3); + if (!i3) return; + const n3 = e3.trackingId; + if (n3 === t3) return; + const r3 = i3[t3]; + if (r3 && r3 !== e3) { + let o2; + o2 = s.default.isUndefined(n3) || i3[n3] !== e3 ? O(e3.parentFlow) : n3, c.warning(`Tracking ID ${t3} is already used by [${r3.toString()}]. Reassigning it to ${o2} so [${e3.toString()}] can use ${t3}.`), (function(e4, t4, i4) { + const n4 = e4.trackingId; + C(e4, t4) && (n4 && delete i4[n4], i4[t4] = e4); + })(r3, o2, i3); + } + C(e3, t3) && (n3 && i3[n3] === e3 && delete i3[n3], i3[t3] = e3); + }, t2.registerNode = E, t2.removeNode = function(e3) { + const t3 = f(e3.parentFlow); t3 && !e3.isMenuChoice && delete t3[e3.trackingId]; }, t2.renumberFlow = function(e3) { - const t3 = { action: _, indent: "", wantConsoleOutput: false }; + const t3 = { action: h, indent: "", wantConsoleOutput: false }; if (!e3) { const e4 = "tracking.renumberFlow - Invalid flow passed to renumberFlow."; - throw d.error(e4), e4; + throw c.error(e4), e4; } - c[e3.instanceId] = O(e3, t3); + p[e3.instanceId] = I(e3, t3); }, t2.getValidIds = function(e3) { - const t3 = { action: h, indent: "", wantConsoleOutput: false }; + const t3 = { action: m, indent: "", wantConsoleOutput: false }; if (!e3) { const e4 = "tracking.getValidIds - Invalid flow passed to renumberFlow."; - throw d.error(e4), e4; + throw c.error(e4), e4; } - return O(e3, t3); + return I(e3, t3); }, t2.createNewTrackingId = function(e3) { - return N(e3); + return O(e3); }, t2.getNodeByTrackingId = function(e3, t3) { - const i3 = g(e3); + const i3 = f(e3); return i3 ? i3[t3] : void 0; }; - const n2 = i2(31635), r2 = i2(24032), o = i2(50474), a = n2.__importStar(i2(36781)), s = n2.__importDefault(i2(92140)), l = i2(17604), u = n2.__importDefault(i2(5024)), d = (0, r2.getTopic)("tracking"), c = {}, p = {}, _ = 1, h = 2; - function m(e3) { - delete c[e3.instanceId]; + const n2 = i2(31635), r2 = i2(24032), o = i2(50474), a = n2.__importStar(i2(36781)), s = n2.__importDefault(i2(92140)), l = i2(17604), u = n2.__importDefault(i2(5024)), c = (0, r2.getTopic)("tracking"); + function d(e3) { + return !!e3 && "object" == typeof e3 && "trackingId" in e3; } + const p = {}, _ = {}, h = 1, m = 2; function g(e3) { - if (!e3) return void d.error("Invalid flow passed to getNodeTrackingMap."); - let t3 = c[e3.instanceId]; - return t3 || (t3 = {}, c[e3.instanceId] = t3), t3; + delete p[e3.instanceId]; } function f(e3) { + if (!e3) return void c.error("Invalid flow passed to getNodeTrackingMap."); + let t3 = p[e3.instanceId]; + return t3 || (t3 = {}, p[e3.instanceId] = t3), t3; + } + function T(e3) { + if (e3) return f(e3.parentFlow); + c.error("Invalid node passed to getNodeTrackingMapForNode."); + } + function y(e3) { return s.default.assign({}, e3, { indent: e3.indent + " " }); } - function T(e3, t3, i3) { + function S(e3, t3, i3) { switch (i3.action) { - case _: - e3.trackingId = N(e3.parentFlow), t3[e3.trackingId] = e3; - break; case h: + b(e3, t3); + break; + case m: t3[e3.id] = e3; break; default: const n4 = (0, l.sprintf)("tracking.traverseAction - invalid traversal action specified of '%1$s'", i3.action); - throw d.error(n4), n4; + throw c.error(n4), n4; } - const n3 = f(i3); + const n3 = y(i3); s.default.each(e3.branches, function(e4) { - e4.topAction && T(e4.topAction, t3, n3); - }), e3.nextAction && T(e3.nextAction, t3, i3); + e4.topAction && S(e4.topAction, t3, n3); + }), e3.nextAction && S(e3.nextAction, t3, i3); } - function y(e3, t3, i3) { + function A(e3, t3, i3) { switch (i3.action) { - case _: - e3.trackingId = N(e3.parentFlow), t3[e3.trackingId] = e3; - break; case h: + b(e3, t3); + break; + case m: t3[e3.id] = e3; break; default: const n3 = (0, l.sprintf)("tracking.traverseTask - invalid traversal action specified of '%1$s'", i3.action); - throw d.error(n3), n3; + throw c.error(n3), n3; } - i3.wantConsoleOutput && console.log(i3.indent + e3.trackingId, "- task -", e3.name), e3.topAction && T(e3.topAction, t3, f(i3)); + i3.wantConsoleOutput && console.log(i3.indent + e3.trackingId, "- task -", e3.name), e3.topAction && S(e3.topAction, t3, y(i3)); } - function S(e3, t3, i3) { + function N(e3, t3, i3) { switch (i3.action) { - case _: - break; case h: + break; + case m: t3[e3.id] = e3, i3.wantConsoleOutput && console.log(i3.indent + e3.id, "- menuChoice -", e3.name); break; default: const n4 = (0, l.sprintf)("tracking.traverseMenuChoice - invalid traversal action specified of '%1$s'", i3.action); - throw d.error(n4), n4; + throw c.error(n4), n4; } - T(e3.action, t3, i3); - const n3 = f(i3); - e3.menu && e3.menu.isHidden ? A(e3.menu, t3, n3) : e3.task && e3.task.isHidden && y(e3.task, t3, n3); + S(e3.action, t3, i3); + const n3 = y(i3); + e3.menu && e3.menu.isHidden ? v(e3.menu, t3, n3) : e3.task && e3.task.isHidden && A(e3.task, t3, n3); } - function A(e3, t3, i3) { + function v(e3, t3, i3) { switch (i3.action) { - case _: - e3.trackingId = N(e3.parentFlow), t3[e3.trackingId] = e3; - break; case h: + b(e3, t3); + break; + case m: t3[e3.id] = e3; break; default: const n4 = (0, l.sprintf)("tracking.traverseMenu - invalid traversal action specified of '%1$s'", i3.action); - throw d.error(n4), n4; + throw c.error(n4), n4; } i3.wantConsoleOutput && console.log(i3.indent + e3.trackingId, "- menu -", e3.name); - const n3 = f(i3); + const n3 = y(i3); switch (i3.action) { - case _: + case h: s.default.chain(e3.choices).sortBy("uiSortStr").each(function(e4) { - S(e4, t3, n3); + N(e4, t3, n3); }); break; - case h: + case m: s.default.each(e3.choices, function(e4) { - S(e4, t3, n3); + N(e4, t3, n3); }); } } - function N(e3) { - const t3 = g(e3); + function O(e3) { + const t3 = f(e3); let i3, n3; + (!Number.isFinite(e3.nextTrackingNumber) || e3.nextTrackingNumber < u.default.minTrackingId) && (c.warning(`flow.nextTrackingNumber was invalid (${e3.nextTrackingNumber}), resetting to minTrackingId (${u.default.minTrackingId}).`), e3.nextTrackingNumber = u.default.minTrackingId); do { n3 = e3.nextTrackingNumber++, t3[n3] && (i3 || (i3 = n3), n3 = void 0); } while (!n3); - return i3 && d.warning(`next tracking number returned numbers that were in use, first dupe found: '${i3}', next unused one: '${n3}'`), n3; + return i3 && c.warning(`next tracking number returned numbers that were in use, first dupe found: '${i3}', next unused one: '${n3}'`), n3; } - function O(e3, t3) { + function I(e3, t3) { switch (t3.action) { - case _: - e3.nextTrackingNumber = u.default.minTrackingId; - break; case h: + e3.nextTrackingNumber = u.default.minTrackingId, p[e3.instanceId] = {}; + break; + case m: break; default: const i4 = (0, l.sprintf)("tracking.traverseFlow - invalid traversal action specified of '%1$s' to traverseFlow. Exiting.", t3.action); - throw d.error(i4), i4; + throw c.error(i4), i4; } t3.wantConsoleOutput && console.log("Traversing flow ( action " + t3.action + " ) - " + e3.displayName); const i3 = {}; - return e3.startUpObject && (e3.startUpObject.isTaskLike ? y(e3.startUpObject, i3, t3) : A(e3.startUpObject, i3, t3)), s.default.each(e3.menus, function(e4) { - e4.isHidden || e4.isStartUpObject || A(e4, i3, t3); + return e3.startUpObject && (e3.startUpObject.isTaskLike ? A(e3.startUpObject, i3, t3) : v(e3.startUpObject, i3, t3)), s.default.each(e3.menus, function(e4) { + e4.isHidden || e4.isStartUpObject || v(e4, i3, t3); }), s.default.each(e3.tasks, function(e4) { - e4.isHidden && !e4.parentFlow.isNluFlow || e4.isStartUpObject || y(e4, i3, t3); + e4.isHidden && !e4.parentFlow.isNluFlow || e4.isStartUpObject || A(e4, i3, t3); }), (0, o.isCommonWorkflowViewModel)(e3) && s.default.each(e3.states, (e4) => { - e4.isHidden || e4.isStartUpObject || y(e4, i3, t3); - }), t3.action === _ && a.emitter.emit(a.renumber), i3; + e4.isHidden || e4.isStartUpObject || A(e4, i3, t3); + }), t3.action === h && a.emitter.emit(a.renumber), i3; } - function I(e3) { + function C(e3, t3) { + const { model: i3 } = e3; + return d(i3) ? (i3.trackingId = t3, e3.updateTraceTopic(), true) : (c.error(`Cannot set tracking ID on node without a trackingId model property: [${e3.toString()}]`), false); + } + function b(e3, t3) { + if (!d(e3.model)) { + const t4 = (0, l.sprintf)("tracking.assignRenumberTrackingId - cannot renumber [%1$s]; model does not support trackingId.", e3.toString()); + throw c.error(t4), t4; + } + const i3 = O(e3.parentFlow); + C(e3, i3), t3[i3] = e3; + } + function E(e3) { var t3, i3; - const n3 = (function(e4) { - if (e4) return g(e4.parentFlow); - d.error("Invalid node passed to getNodeTrackingMapForNode."); - })(e3); + const n3 = T(e3); if (!n3) return; let r3 = e3.trackingId; if (r3) { if (n3[r3]) { if (!e3.parentFlow.loaded) { const t4 = e3.parentFlow.instanceId; - return p[t4] || (p[t4] = []), p[t4].push(e3), void d.warning(`Duplicate tracking number encountered. Both [${null === (i3 = n3[r3]) || void 0 === i3 ? void 0 : i3.toString()}] and [${e3.toString()}] are ${r3}. Resetting the latter after the flow loads`); + return _[t4] || (_[t4] = []), _[t4].push(e3), void c.warning(`Duplicate tracking number encountered. Both [${null === (i3 = n3[r3]) || void 0 === i3 ? void 0 : i3.toString()}] and [${e3.toString()}] are ${r3}. Resetting the latter after the flow loads`); } - r3 = e3.trackingId = N(e3.parentFlow), d.error(`Duplicate tracking number encountered. Both [${null === (t3 = n3[r3]) || void 0 === t3 ? void 0 : t3.toString()}] and [${e3.toString()}] are ${r3}. Resetting the latter to ${r3}`); + r3 = e3.trackingId = O(e3.parentFlow), c.error(`Duplicate tracking number encountered. Both [${null === (t3 = n3[r3]) || void 0 === t3 ? void 0 : t3.toString()}] and [${e3.toString()}] are ${r3}. Resetting the latter to ${r3}`); } - } else r3 = e3.trackingId = N(e3.parentFlow); + } else r3 = e3.trackingId = O(e3.parentFlow); n3[r3] = e3; } - a.serviceListen(a.cleanUpFlow, m), a.serviceListen(a.flowLoadStarted, m), a.serviceListen(a.flowLoadFailed, m), a.serviceListen(a.flowLoaded, function(e3) { - const t3 = p[e3.instanceId]; + a.serviceListen(a.cleanUpFlow, g), a.serviceListen(a.flowLoadStarted, g), a.serviceListen(a.flowLoadFailed, g), a.serviceListen(a.flowLoaded, function(e3) { + const t3 = _[e3.instanceId]; t3 && (t3.forEach((e4) => { - e4.trackingId = void 0, I(e4), d.info(`Reset tracking id for [${e4.toString()}] to ${e4.trackingId}`); - }), delete p[e3.instanceId]); + const t4 = T(e4), i3 = e4.trackingId; + i3 && t4 && delete t4[i3], C(e4, void 0), E(e4), c.info(`Reset tracking id for [${e4.toString()}] to ${e4.trackingId}`); + }), delete _[e3.instanceId]); }); }, 48584: (e2, t2, i2) => { function n2() { @@ -59464,6 +64276,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } t2.default = o; + }, 48641: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.flowYamlSupportState = void 0, t2.deriveFlowYamlSupportState = function(e3) { + return e3 ? true === e3.isDeprecated ? t2.flowYamlSupportState.deprecated : true === e3.isSupported ? t2.flowYamlSupportState.ga : e3.feature ? t2.flowYamlSupportState.conditional : true === e3.inProgress ? t2.flowYamlSupportState.inProgress : t2.flowYamlSupportState.notAvailable : t2.flowYamlSupportState.notAvailable; + }, t2.flowYamlSupportState = { conditional: "conditional", deprecated: "deprecated", ga: "ga", inProgress: "inProgress", notAvailable: "notAvailable" }; }, 48659: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -59694,8 +64511,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; e2.exports = { askCommon: { invalidInputReceived: "That is not valid.", noInputReceived: "I did not receive any input." }, askForBoolean: { noInput: `Say "yes" if you want to proceed or "no" if you don't.`, noMatch: 'Please say "yes" or "no". Do you want to proceed?', question: "Do you want to proceed?", noInputDigitalBot: `Input "Yes" if you want to proceed or "No" if you don't.`, noMatchDigitalBot: 'Please input "Yes" or "No". Do you want to proceed?' }, askForIntent: { noInput: 'Just speak a short sentence that describes your query. For example, "Check my account balance"', noMatch: "Tell me again what you would like to do.", question: "What would you like to do?", noInputDigitalBot: 'Please enter a short sentence that describes your query. For example, "Check my account balance"' }, askForSlot: { askFor: "Ask for %1$s", noInput: "Please say or enter the (please put your slot name here).", noInputWithSlot: "Please say or enter the %1$s.", noMatch: "Please give me the (please put your slot name here) again.", noMatchWithSlot: "Please give me the %1$s again.", question: "What is the (please put your slot name here)?", questionWithSlot: "What is the %1$s?", pleaseEnterSlotNameHere: "(please put your slot name here)", noInputDigitalBot: "Please enter the (please put your slot name here).", noInputWithSlotDigitalBot: "Please enter the %1$s.", continuationPromptWithSlot: "I got {{Slot.%1$s}} so far, please continue." }, askForNextSlot: { noInput: 'Say "yes" if you have another query, or "no" to end the call.', noMatch: 'Say "yes" if you have another query, or "no" to end the session.', question: "Is there anything else I can help you with?", noInputDigitalBot: 'Input "Yes" if you have another query, or "No" to end the session.', noMatchDigitalBot: 'Input "Yes" if you have another query, or "No" to end the session.' }, askForPayment: { noInputDigitalBot: "Please provide your payment information to continue.", noMatchDigitalBot: "I didn't understand your response. Please try again." }, askForAuthentication: { noInputDigitalBot: "Please provide your authentication information to continue.", noMatchDigitalBot: "I didn't understand your response. Please try again." }, askSurveyQuestion: { notApplicable: "Not Applicable", surveyAnswerOptionSequence: "Press %1$s for '%2$s'.", surveyAnswerNotApplicableSequence: "Press star for Not Applicable.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Press star for Not Applicable.", voiceSurveyNoInputText: "Please answer the question.", voiceSurveyNoMatchText: "I didn't understand you." }, commonModule: { exitCommonModule: "Exit Common Module" }, form: { noInputDigitalBot: "Please complete the form to continue.", noMatchDigitalBot: "Please complete the form to continue." }, messagingTemplate: { noInputDigitalBot: "Please select one of the available options.", noMatchDigitalBot: "Please select one of the available options." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Continue", knowledgeAnswerHighlightFullArticleDefault: "View Full Article", knowledgeInitialResponseMulti: "To help me clarify your goal, please choose a number from the following list:", knowledgeInitialResponseMultiRetry: "Please choose a number, for example '1'.\nHere's the list of options again:", knowledgeNoMatch: "None of these", knowledgeConfirmation: "Did this answer your question?", knowledgeFollowup: "I hope I answered your question. You can ask anything else you might want to know." }, noOverlay: { intent: { intentConfirmationStr1: "I think you want to", intentConfirmationStr2: "Is that correct?" }, youSaid: { youSaidConfirmationStr1: "You said", youSaidConfirmationStr2: "Is that correct?", youSaidConfirmationStr1DigitalBot: "You entered" }, noInput: { noInputStr1: "Please say or enter the", noInputStr1DigitalBot: "Please enter the" }, noMatch: { noMatchStr1: "Please give me the" }, whatIs: { whatIsQuestionStr1: "What is the", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "I got", iGotContinuationStr2: "so far, please continue." } }, defaultCallFlowOne: "Default Call Flow", errorHandlingAgentEscalationConfirmation: "You want to speak to an advisor. Is that correct?", errorHandlingAgentEscalationHandover: "One moment, please, and I will put you through to someone.", errorHandlingErrorEventHandover: "Sorry, an error occurred. One moment, please, while I put you through to someone who can help.", errorHandlingErrorEventHandoverVoiceSurvey: "Sorry, an error occurred. Goodbye.", errorHandlingRecognitionEventHandover: "Sorry, I'm having trouble understanding you. One moment, please, while I put you through to someone who can help.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Sorry, I'm having trouble understanding you. Goodbye.", errorHandlingTTS: "Sorry, an error occurred. Please try your call again.", initialGreetingTTS: "Hello, this is the initial greeting.", initialState: "Initial State", initialBotState: "Default Bot", initialDigitalBotState: "Initial Greeting", initialSurveyBotState: "Survey Bot", intentConfirmation: "I think you want to %1$s, is that correct?", mainMenu: "Main Menu", mainMenuTTS: "You are at the Main Menu, press 9 to disconnect", mainTask: "Task", settingsConfirmationNoInputApology: "Sorry, I didn't hear you. Please say yes or no.", settingsConfirmationNoInputApologyDigitalBot: `Sorry, I didn't receive any input from you. Please input "Yes" or "No".`, settingsConfirmationNoMatchApology: "Sorry, please say yes or no.", settingsConfirmationNoMatchApologyDigitalBot: 'Sorry, please input "Yes" or "No".', settingsNoInputApology: "Sorry, I didn't hear you.", settingsNoInputApologyDigitalBot: "Sorry, I didn't receive any input from you.", settingsEndOfSessionMessageDigitalBot: "I have not heard from you in a while, so I am closing this chat, please come back if you need my help again. Thank you.", settingsNoMatchApology: "Sorry.", settingsNoToConfirmationApology: "My mistake.", periodicStateName: "Recurring State" }; }, 49149: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(37830), s = i2(97678), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(37830), s = i2(97678), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -59703,7 +64520,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findQueue.nameLabel, searchResultLabel: d.findActions.findQueue.resultLabel, searchResultExpressionOptions: a.ExpressionTypeQueueOptions.create(), searchResultItemType: o.expressionTypeNames.queue }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findQueue, modelClass: s.FindQueueActionModel, name: d.actions.findQueue, scriptingName: "ArchActionFindQueue" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findQueue, modelClass: s.FindQueueActionModel, name: d.actions.findQueue, scriptingName: "ArchActionFindQueue", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 49225: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -59743,7 +64560,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 49304: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = i2(82319), l = i2(81516), u = n2.__importStar(i2(58380)), d = n2.__importDefault(i2(4648)), c = n2.__importStar(i2(81116)), p = i2(14394), _ = n2.__importDefault(i2(51695)), h = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = i2(82319), l = i2(81516), u = n2.__importStar(i2(58380)), c = n2.__importDefault(i2(4648)), d = n2.__importStar(i2(81116)), p = i2(14394), _ = n2.__importDefault(i2(51695)), h = i2(47957); class m extends _.default { constructor(e3, t3) { super(), this.model = e3, this._parentFlow = t3, this.id = (0, a.uuid)(), this.values = this.createNewValuesExpression(this.model.values), this.synonyms = this.createNewSynonymsExpression(this.model.synonyms), this.labels = this.createNewLabelsExpression(this.model.labels); @@ -59789,21 +64606,21 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } createNewValuesExpression(e3) { const t3 = e3 || null, i3 = l.ExpressionTypeStringOptions.create((e4) => { - e4.setDescriptionInfo(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesLabel, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesDescription).setFeatureConfigName(d.default.botFlowsDynamicSlotTypeFeature).setIninTestingField("slot-type-values"); + e4.setDescriptionInfo(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesLabel, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesDescription).setFeatureConfigName(c.default.botFlowsDynamicSlotTypeFeature).setIninTestingField("slot-type-values"); }); - return c.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesLabel, p.globalTypes.stringCollection, null, i3); + return d.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesLabel, p.globalTypes.stringCollection, null, i3); } createNewSynonymsExpression(e3) { const t3 = e3 || null, i3 = l.ExpressionTypeStringOptions.create((e4) => { - e4.setDescriptionInfo(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsLabel, (0, r2.sprintf)(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsDescription, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesLabel)).setFeatureConfigName(d.default.botFlowsDynamicSlotTypeFeature).setIninTestingField("slot-type-synonyms").setIsOptional(true).setDefaultToNoValue(true).setModeNoValueSelectionLabel(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsNoValueSelectionLabel).setModeNoValueRuntimeEvaluationStr(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsNoValueSelectionLabel); + e4.setDescriptionInfo(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsLabel, (0, r2.sprintf)(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsDescription, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesLabel)).setFeatureConfigName(c.default.botFlowsDynamicSlotTypeFeature).setIninTestingField("slot-type-synonyms").setIsOptional(true).setDefaultToNoValue(true).setModeNoValueSelectionLabel(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsNoValueSelectionLabel).setModeNoValueRuntimeEvaluationStr(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsNoValueSelectionLabel); }); - return c.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsLabel, p.globalTypes.stringCollection, null, i3); + return d.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsLabel, p.globalTypes.stringCollection, null, i3); } createNewLabelsExpression(e3) { const t3 = e3 || null, i3 = s.ExpressionTypeCommunicationOptions.create((e4) => { - e4.setDescriptionInfo(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsLabel, (0, r2.sprintf)(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsDescription, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesLabel)).setFeatureConfigName(d.default.botFlowsDynamicSlotTypePhase2Feature).setIninTestingField("slot-type-labels").setIsOptional(true).setDefaultToNoValue(true).setModeNoValueSelectionLabel(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsNoValueSelectionLabel).setModeNoValueRuntimeEvaluationStr(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsNoValueSelectionLabel); + e4.setDescriptionInfo(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsLabel, (0, r2.sprintf)(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsDescription, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesLabel)).setFeatureConfigName(c.default.botFlowsDynamicSlotTypePhase2Feature).setIninTestingField("slot-type-labels").setIsOptional(true).setDefaultToNoValue(true).setModeNoValueSelectionLabel(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsNoValueSelectionLabel).setModeNoValueRuntimeEvaluationStr(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsNoValueSelectionLabel); }); - return c.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsLabel, p.globalTypes.communicationCollection, null, i3); + return d.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsLabel, p.globalTypes.communicationCollection, null, i3); } get isDynamicSlotTypeViewModel() { return true; @@ -59835,10 +64652,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 49416: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(27203)), a = n2.__importDefault(i2(98114)), s = n2.__importDefault(i2(27936)), l = i2(55299), u = n2.__importStar(i2(24032)), d = i2(47957), c = u.getTopic("StringResolverService"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(27203)), a = n2.__importDefault(i2(98114)), s = n2.__importDefault(i2(27936)), l = i2(55299), u = n2.__importStar(i2(24032)), c = i2(47957), d = u.getTopic("StringResolverService"); class p extends l.BaseClass { constructor() { - super(), this._regExFlowLevelVariable = new RegExp(/{{\s?variable\.(.*?)\s?}}/), this._refExFlowType = new RegExp(/{{\s?flowType\.(.*?)\s?}}/), this._regExBranchInfo = new RegExp(/{{\s?branch\.(.*?)\s?}}/), this._regExKnowledgeSettingsMode = new RegExp(/{{\s?knowledgeSettingsMode\.(.*?)\s?}}/), this._regExSettings = new RegExp(/{{\s?settings\.(.*?)\s?}}/), this._regExLink = new RegExp(/{{link\.([^,}]+?)(?:,\s(.*?))?}}/); + super(), this._regExFlowLevelVariable = new RegExp(/{{\s?variable\.(.*?)\s?}}/), this._refExFlowType = new RegExp(/{{\s?flowType\.(.*?)\s?}}/), this._regExBranchInfo = new RegExp(/{{\s?branch\.(.*?)\s?}}/), this._regExKnowledgeSettingsMode = new RegExp(/{{\s?knowledgeSettingsMode\.(.*?)\s?}}/), this._regExSettings = new RegExp(/{{\s?settings\.(.*?)\s?}}/), this._regExActions = new RegExp(/{{\s?actions\.(.*?)\s?}}/), this._regExLink = new RegExp(/{{link\.([^,}]+?)(?:,\s(.*?))?}}/); } get className() { return "StringResolverService"; @@ -59852,17 +64669,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; let i3 = this._refExFlowType.exec(e3); for (; i3; ) { const t4 = e3, n4 = a.default.getDefinitionForFlowType(i3[1]); - n4 && (e3 = e3.replace(i3[0], n4.typeDisplayName)), t4 !== e3 ? i3 = this._refExFlowType.exec(e3) : (i3 = void 0, c.traceOnce("StringResolverService resolveString failed to find flow type", (e4) => e4.error(`Failed to find replacement for ${t4}`))); + n4 && (e3 = e3.replace(i3[0], n4.typeDisplayName)), t4 !== e3 ? i3 = this._refExFlowType.exec(e3) : (i3 = void 0, d.traceOnce("StringResolverService resolveString failed to find flow type", (e4) => e4.error(`Failed to find replacement for ${t4}`))); } let n3 = this._regExFlowLevelVariable.exec(e3); for (; n3; ) { const i4 = e3, r3 = t3.getVariable(n3[1]); - r3 && (e3 = e3.replace(n3[0], r3.name)), i4 !== e3 ? n3 = this._regExFlowLevelVariable.exec(e3) : (n3 = void 0, c.traceOnce("StringResolverService resolveString failed to find variable", (e4) => e4.error(`Failed to find replacement for ${i4}`))); + r3 && (e3 = e3.replace(n3[0], r3.name)), i4 !== e3 ? n3 = this._regExFlowLevelVariable.exec(e3) : (n3 = void 0, d.traceOnce("StringResolverService resolveString failed to find variable", (e4) => e4.error(`Failed to find replacement for ${i4}`))); } let l2 = this._regExBranchInfo.exec(e3); for (; l2; ) { const t4 = e3, i4 = o.default.outputIdsToLabels[l2[1]]; - i4 && (e3 = e3.replace(l2[0], i4)), t4 !== e3 ? l2 = this._regExBranchInfo.exec(e3) : (l2 = void 0, c.traceOnce("StringResolverService resolveString failed to find branch", (e4) => e4.error(`Failed to find replacement for ${t4}`))); + i4 && (e3 = e3.replace(l2[0], i4)), t4 !== e3 ? l2 = this._regExBranchInfo.exec(e3) : (l2 = void 0, d.traceOnce("StringResolverService resolveString failed to find branch", (e4) => e4.error(`Failed to find replacement for ${t4}`))); } let u2 = this._regExSettings.exec(e3); for (; u2; ) { @@ -59870,15 +64687,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; let i4; switch (u2[1]) { case "__INTENTS__": - i4 = d.intents.label; + i4 = c.intents.label; break; case "__KNOWLEDGE__": - i4 = d.knowledgeSettings.knowledgeLabel; + i4 = c.knowledgeSettings.knowledgeLabel; break; case "__NATURAL_LANGUAGE_UNDERSTANDING__": - i4 = d.bot.naturalLanguageUnderstanding; + i4 = c.bot.naturalLanguageUnderstanding; } - i4 && (e3 = e3.replace(u2[0], i4)), t4 !== e3 ? u2 = this._regExBranchInfo.exec(e3) : (u2 = void 0, c.traceOnce("StringResolverService resolveString failed to find setting name", (e4) => e4.error(`Failed to find replacement for ${t4}`))); + i4 && (e3 = e3.replace(u2[0], i4)), t4 !== e3 ? u2 = this._regExBranchInfo.exec(e3) : (u2 = void 0, d.traceOnce("StringResolverService resolveString failed to find setting name", (e4) => e4.error(`Failed to find replacement for ${t4}`))); } let p2 = this._regExKnowledgeSettingsMode.exec(e3); for (; p2; ) { @@ -59886,15 +64703,31 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; let i4; switch (p2[1]) { case "__STANDARD__": - i4 = d.knowledgeSettings.knowledgeSettingsModes.standard; + i4 = c.knowledgeSettings.knowledgeSettingsModes.standard; break; case "__CUSTOM__": - i4 = d.knowledgeSettings.knowledgeSettingsModes.custom; + i4 = c.knowledgeSettings.knowledgeSettingsModes.custom; } - i4 && (e3 = e3.replace(p2[0], i4)), t4 !== e3 ? p2 = this._regExKnowledgeSettingsMode.exec(e3) : (p2 = void 0, c.traceOnce("StringResolverService resolveString failed to find setting name", (e4) => e4.error(`Failed to find replacement for ${t4}`))); + i4 && (e3 = e3.replace(p2[0], i4)), t4 !== e3 ? p2 = this._regExKnowledgeSettingsMode.exec(e3) : (p2 = void 0, d.traceOnce("StringResolverService resolveString failed to find setting name", (e4) => e4.error(`Failed to find replacement for ${t4}`))); + } + let _ = this._regExActions.exec(e3); + for (; _; ) { + const t4 = e3, i4 = _[1], n4 = this._getActionDisplayName(i4); + n4 && (e3 = e3.replace(_[0], n4)), t4 !== e3 ? _ = this._regExActions.exec(e3) : (_ = void 0, d.traceOnce("StringResolverService resolveString failed to find action name", (e4) => e4.error(`Failed to find replacement for ${t4}`))); } return e3; } + _getActionDisplayName(e3) { + const t3 = e3.split("."); + let i3 = c.actions; + for (const e4 of t3) { + if (!i3 || "object" != typeof i3) return; + const t4 = Object.getOwnPropertyDescriptor(i3, e4); + if (!t4 || !("value" in t4)) return; + i3 = t4.value; + } + return "string" == typeof i3 ? i3 : void 0; + } _resolveLinks(e3, t3) { if (!r2.default.isString(e3) || e3.indexOf("{") < 0) return e3; let i3 = ""; @@ -59916,7 +64749,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (s2) { const e4 = a2 || s2.linkTitle || s2.getLinkUrl(); i3.push({ text: e4, linkInfo: s2 }); - } else c.traceOnce(`StringResolverService resolveLinkToParts - ${this.className}`, (e4) => e4.warning(`Can't resolve link with key ${o2}`)), i3.push({ text: r3 }); + } else d.traceOnce(`StringResolverService resolveLinkToParts - ${this.className}`, (e4) => e4.warning(`Can't resolve link with key ${o2}`)), i3.push({ text: r3 }); n3 = this._regExLink.exec(e3); } return i3.push({ text: e3 }), i3; @@ -59925,24 +64758,24 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = new p(); }, 49450: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(10798)), a = n2.__importStar(i2(77751)), s = n2.__importStar(i2(1115)), l = n2.__importDefault(i2(5478)), u = n2.__importDefault(i2(27203)), d = i2(21647), c = i2(60186), p = i2(80428), _ = i2(81516), h = i2(26954), m = n2.__importDefault(i2(4648)), g = i2(38296), f = i2(38296), T = i2(12179), y = n2.__importDefault(i2(97891)), S = i2(47957); - class A extends l.default { + const n2 = i2(31635), r2 = i2(80428), o = i2(21647), a = i2(60186), s = i2(81516), l = i2(26954), u = n2.__importDefault(i2(27203)), c = n2.__importStar(i2(36781)), d = i2(38296), p = n2.__importStar(i2(77751)), _ = n2.__importStar(i2(1115)), h = n2.__importDefault(i2(4648)), m = i2(12179), g = n2.__importDefault(i2(97891)), f = n2.__importDefault(i2(5478)), T = i2(47957); + class y extends f.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } _loadModel(e3) { - super._loadModel(e3), this.addAutoCleanedUpEventSinkWatch(r2.expressionValueChanged, this.notificationType, () => { + super._loadModel(e3), this.addAutoCleanedUpEventSinkWatch(c.expressionValueChanged, this.notificationType, () => { this.setOutOfService(); }), this.setOutOfService(); } static get managedProperties() { - return [{ label: S.sendNotification.notificationTypeLabel, options: _.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(S.sendNotification.notificationTypeLabel, S.sendNotification.notificationTypeDescription).setAsInput().setIsOptional(false).setDefaultText(a.typeEmail.id).setAllowModeLiteralOnly().setIninTestingField("sendNotification-notificationType").setReadOnly(o.isFeatureUnavailable(m.default.sendNotificationChatGroupFeature)).facets.setAllowableValueShowOriginalDisplayStringInPopover(true).setTrim(true).setAllowableValues(o.isFeatureAvailable(m.default.sendNotificationChatGroupFeature) ? [a.typeEmail, a.typeChat] : [a.typeEmail])), property: "notificationType", type: p.expressionTypeNames.string }, { label: S.sendNotification.notificationSubjectLabel, options: _.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDescriptionInfo(S.sendNotification.notificationSubjectLabel, S.sendNotification.notificationSubjectDescription).setModeNoValueRuntimeEvaluationStr(S.sendNotification.noNotificationSubject).setModeNoValueSelectionLabel(S.sendNotification.noNotificationSubject).setIninTestingField("sendNotification-subject")), property: "subject", type: p.expressionTypeNames.string }, { label: S.sendNotification.notificationBodyLabel, options: _.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDescriptionInfo(S.sendNotification.notificationBodyLabel, S.sendNotification.notificationBodyDescription).setModeNoValueRuntimeEvaluationStr(S.sendNotification.noNotificationBody).setModeNoValueSelectionLabel(S.sendNotification.noNotificationBody).setIninTestingField("sendNotification-body")), property: "body", type: p.expressionTypeNames.string }, { label: S.sendNotification.sendToUsersLabel, options: h.ExpressionTypeUserOptions.create((e3) => e3.setAsInput().setIsOptional(false).setDescriptionInfo(S.sendNotification.sendToUsersDescription, S.sendNotification.sendToUsersDescription).setIsCollection(true).setMinItems(1).setMaxItems(50).setIninTestingField("sendNotification-sendToUsers")), property: "sendToUsers", type: p.expressionTypeNames.userQueue }, { label: S.sendNotification.emailNotificationStyleLabel, options: _.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDescriptionInfo(S.sendNotification.emailNotificationStyleDescription, S.sendNotification.emailNotificationStyleDescription).setModeNoValueRuntimeEvaluationStr(a.emailStylePlain.displayString).setModeNoValueSelectionLabel(S.sendNotification.defaultEmailStyle).setIninTestingField("sendNotification-emailNotificationStyle").facets.setAllowableValues(a.emailStylesAll)), property: "emailNotificationStyle", type: p.expressionTypeNames.string }, { label: S.sendNotification.emailFromLabel, options: d.ExpressionTypeComplexOptions.create((e3) => e3.setAsInput().setTypeIdentifier(p.expressionTypeNames.emailAddress).setIsOptional(true).setDescriptionInfo(S.sendNotification.emailFromDescription, S.sendNotification.emailFromDescription).setModeNoValueRuntimeEvaluationStr(S.sendNotification.useDefaultEmailFromAddress).setModeNoValueSelectionLabel(S.sendNotification.defaultEmailFromAddress).setIninTestingField("sendNotification-emailFrom")), property: "emailFrom", type: p.expressionTypeNames.emailAddress }, { label: S.sendNotification.sendToGroupLabel, options: c.ExpressionTypeGroupOptions.create((e3) => e3.setFeatureConfigName(m.default.sendNotificationChatGroupFeature).setIsOptional(false).setDescriptionInfo(S.sendNotification.sendToGroupDescription, S.sendNotification.sendToGroupDescription).setIninTestingField("sendNotification-sendToGroup")), property: "sendToGroup", type: p.expressionTypeNames.group }, { label: S.sendNotification.chatMessageLabel, options: _.ExpressionTypeStringOptions.create((e3) => e3.setFeatureConfigName(m.default.sendNotificationChatGroupFeature).setAsInput().setIsOptional(false).setDescriptionInfo(S.sendNotification.chatMessageDescription, S.sendNotification.chatMessageDescription).setIninTestingField("sendNotification-chatMessage")), property: "chatMessage", type: p.expressionTypeNames.string }]; + return [{ label: T.sendNotification.notificationTypeLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(T.sendNotification.notificationTypeLabel, T.sendNotification.notificationTypeDescription).setAsInput().setIsOptional(false).setDefaultText(p.typeEmail.id).setAllowModeLiteralOnly().setIninTestingField("sendNotification-notificationType").facets.setAllowableValueShowOriginalDisplayStringInPopover(true).setTrim(true).setAllowableValues([p.typeEmail, p.typeChat])), property: "notificationType", type: r2.expressionTypeNames.string }, { label: T.sendNotification.notificationSubjectLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDescriptionInfo(T.sendNotification.notificationSubjectLabel, T.sendNotification.notificationSubjectDescription).setModeNoValueRuntimeEvaluationStr(T.sendNotification.noNotificationSubject).setModeNoValueSelectionLabel(T.sendNotification.noNotificationSubject).setIninTestingField("sendNotification-subject")), property: "subject", type: r2.expressionTypeNames.string }, { label: T.sendNotification.notificationBodyLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDescriptionInfo(T.sendNotification.notificationBodyLabel, T.sendNotification.notificationBodyDescription).setModeNoValueRuntimeEvaluationStr(T.sendNotification.noNotificationBody).setModeNoValueSelectionLabel(T.sendNotification.noNotificationBody).setIninTestingField("sendNotification-body")), property: "body", type: r2.expressionTypeNames.string }, { label: T.sendNotification.sendToUsersLabel, options: l.ExpressionTypeUserOptions.create((e3) => e3.setAsInput().setIsOptional(false).setDescriptionInfo(T.sendNotification.sendToUsersDescription, T.sendNotification.sendToUsersDescription).setIsCollection(true).setMinItems(1).setMaxItems(50).setIninTestingField("sendNotification-sendToUsers")), property: "sendToUsers", type: r2.expressionTypeNames.userQueue }, { label: T.sendNotification.emailNotificationStyleLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDescriptionInfo(T.sendNotification.emailNotificationStyleDescription, T.sendNotification.emailNotificationStyleDescription).setModeNoValueRuntimeEvaluationStr(p.emailStylePlain.displayString).setModeNoValueSelectionLabel(T.sendNotification.defaultEmailStyle).setIninTestingField("sendNotification-emailNotificationStyle").facets.setAllowableValues(p.emailStylesAll)), property: "emailNotificationStyle", type: r2.expressionTypeNames.string }, { label: T.sendNotification.emailFromLabel, options: o.ExpressionTypeComplexOptions.create((e3) => e3.setAsInput().setTypeIdentifier(r2.expressionTypeNames.emailAddress).setIsOptional(true).setDescriptionInfo(T.sendNotification.emailFromDescription, T.sendNotification.emailFromDescription).setModeNoValueRuntimeEvaluationStr(T.sendNotification.useDefaultEmailFromAddress).setModeNoValueSelectionLabel(T.sendNotification.defaultEmailFromAddress).setIninTestingField("sendNotification-emailFrom")), property: "emailFrom", type: r2.expressionTypeNames.emailAddress }, { label: T.sendNotification.sendToGroupLabel, options: a.ExpressionTypeGroupOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(T.sendNotification.sendToGroupDescription, T.sendNotification.sendToGroupDescription).setIninTestingField("sendNotification-sendToGroup")), property: "sendToGroup", type: r2.expressionTypeNames.group }, { label: T.sendNotification.chatMessageLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIsOptional(false).setDescriptionInfo(T.sendNotification.chatMessageDescription, T.sendNotification.chatMessageDescription).setIninTestingField("sendNotification-chatMessage")), property: "chatMessage", type: r2.expressionTypeNames.string }]; } static get branchInfo() { return u.default.successFailure; } _getPossibleErrors() { - return o.isFeatureAvailable(m.default.sendNotificationChatGroupFeature) ? f.sendNotificationFailureReasons : g.sendNotificationFailureReasonsNoBusy; + return d.sendNotificationFailureReasons; } setOutOfService() { switch (this.notificationType.text) { @@ -59955,7 +64788,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; default: this.setOutOfServiceForEmailProperties(false), this.setOutOfServiceForChatProperties(false); } - s.validate(this, true); + _.validate(this, true); } setOutOfServiceForChatProperties(e3) { this.sendToGroup.outOfService = !e3, this.chatMessage.outOfService = !e3; @@ -59964,7 +64797,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.subject.outOfService = !e3, this.body.outOfService = !e3, this.sendToUsers.outOfService = !e3, this.emailNotificationStyle.outOfService = !e3, this.emailFrom.outOfService = !e3, this.subject.outOfService = !e3, this.subject.outOfService = !e3; } } - A.info = y.default.createActionInfo({ actionClass: A, canBeInTask: true, helpTopic: T.helpTopics.actions.sendNotification, modelClass: i2(73322), name: S.actions.sendNotification, scriptingName: "ArchActionSendNotification" }), t2.A = A; + y.info = g.default.createActionInfo({ actionClass: y, canBeInTask: true, helpTopic: m.helpTopics.actions.sendNotification, modelClass: i2(73322), name: T.actions.sendNotification, scriptingName: "ArchActionSendNotification", modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = y; }, 49487: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -60026,14 +64859,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const n2 = i2(48584), r2 = i2(62896), o = i2(5233), a = i2(49493), s = i2(36019).default; class l { } - const u = new l(), d = { ignoreBadResponse: true }; - l.prototype.getAgents = s.request("GET", "{public-api.apps}/api/v2/integrations/speech/dialogflow/agents/", r2, d), l.prototype.getAgent = s.request("GET", "{public-api.apps}/api/v2/integrations/speech/dialogflow/agents/{id}", n2, d), l.prototype.getCxAgents = s.request("GET", "{public-api.apps}/api/v2/integrations/speech/dialogflowcx/agents/", a, d), l.prototype.getCxAgent = s.request("GET", "{public-api.apps}/api/v2/integrations/speech/dialogflowcx/agents/{id}", o, d), e2.exports = u; + const u = new l(), c = { ignoreBadResponse: true }; + l.prototype.getAgents = s.request("GET", "{public-api.apps}/api/v2/integrations/speech/dialogflow/agents/", r2, c), l.prototype.getAgent = s.request("GET", "{public-api.apps}/api/v2/integrations/speech/dialogflow/agents/{id}", n2, c), l.prototype.getCxAgents = s.request("GET", "{public-api.apps}/api/v2/integrations/speech/dialogflowcx/agents/", a, c), l.prototype.getCxAgent = s.request("GET", "{public-api.apps}/api/v2/integrations/speech/dialogflowcx/agents/{id}", o, c), e2.exports = u; }, 49661: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(71012), a = i2(28562), s = n2.__importDefault(i2(73198)), l = (n2.__importStar(i2(63352)), i2(80428)), u = i2(67607), d = i2(82319), c = i2(20083), p = n2.__importStar(i2(10798)), _ = n2.__importDefault(i2(4648)), h = i2(12179), m = i2(14187), g = n2.__importDefault(i2(97891)), f = i2(24383), T = n2.__importDefault(i2(5730)), y = (i2(21733), i2(47957)); - class S extends T.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(71012), a = i2(28562), s = n2.__importDefault(i2(73198)), l = (n2.__importStar(i2(63352)), i2(80428)), u = i2(67607), c = i2(82319), d = i2(20083), p = n2.__importStar(i2(10798)), _ = n2.__importDefault(i2(4648)), h = i2(12179), m = i2(14187), g = n2.__importDefault(i2(97891)), f = i2(24383), T = n2.__importDefault(i2(5730)), y = i2(1910), S = i2(1910), A = (i2(21733), i2(47957)); + class N extends T.default { static get managedProperties() { - return [{ label: y.askCommon.question, options: d.ExpressionTypeCommunicationOptions.create((e3) => e3.setDescriptionInfo(y.askCommon.question, y.askCommon.questionDescriptionWaitForInputAction).setIninTestingField("question").setIsOptional(true).setDefaultToBuilderId(a.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(o.askForIntentSequences.questionSequence).setUiPropertyOrder(2)), yamlOptions: S.createYamlOptions("question", (e3) => e3.setExportOrder(30).setPropertyName("question")), property: "question", type: l.expressionTypeNames.communication }, { property: "knowledgeSearchResult", label: y.cardsAndCars.knowledgeSearchResultLabel, type: l.expressionTypeNames.knowledgeBaseDocument, options: c.ExpressionTypeKnowledgeBaseDocumentOptions.create((e3) => e3.setAsOutput().setDefaultVariableScope(m.scopes.flow).setIsOptional(true).setIsCollection(true).setIninTestingField("knowledgeSearchResult").setDescriptionInfo(y.cardsAndCars.knowledgeSearchResultLabel, p.isFeatureAvailable(_.default.botFlowsAnswerGenerationMultipleArticles) ? y.cardsAndCars.knowledgeSearchResultDescriptionMultipleArticles : y.cardsAndCars.knowledgeSearchResultDescription).setFeatureConfigName(_.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature).setUiPropertyOrder(3)), yamlOptions: S.createYamlOptions("knowledgeSearchResult", (e3) => e3.setExportOrder(40)) }, { label: y.askCommon.noMatch, options: d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setUiPropertyOrder(8).setIninTestingField("noMatch").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDescriptionInfo(y.askCommon.noMatch, y.askCommon.noMatchDescription).setDefaultToBuilderId(a.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(o.askForIntentSequences.noMatchSequence).setScriptingPropertyName("noMatch")), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setUiPropertyOrder(8).setIninTestingField("noMatch").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDescriptionInfo(y.askCommon.noMatch, y.askCommon.noMatchDescription).setDefaultToBuilderId(a.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(o.askForIntentSequences.noMatchSequence).setScriptingPropertyName("noMatch")) }], yamlOptions: S.createYamlOptions("noMatch", (e3) => e3.setPropertyName("noMatch").setExportOrder(50)), property: "noMatch", type: l.expressionTypeNames.communication }, { label: y.askCommon.noMatchReprompts, options: S.createNoMatchRepromptsOptions().setDefaultToBuilderId(a.builderIds.parts.genericCommunication), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: S.createNoMatchRepromptsOptions().setDefaultToBuilderId(a.builderIds.parts.markdownCommunication) }], yamlOptions: S.createYamlOptions("noMatchReprompts", (e3) => e3.setPropertyName("noMatchReprompts").setWrappedObjectName("customizeNoMatch")), property: "noMatchReprompts", type: l.expressionTypeNames.communication }, { options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText("false").setIninTestingField("customizeNoMatchButton").setFeatureConfigName(_.default.botFlowsDigitalBotFlowsReprompts).setBoolText(y.askCommon.defaultNoMatch, y.askCommon.customizeNoMatch).setUiPropertyOrder(10)), yamlOptions: S.createYamlOptions("customizeNoMatch", (e3) => e3.setSkipProperty(true)), property: "customizeNoMatch", type: l.expressionTypeNames.boolean }]; + return [{ label: A.askCommon.question, options: c.ExpressionTypeCommunicationOptions.create((e3) => e3.setDescriptionInfo(A.askCommon.question, A.askCommon.questionDescriptionWaitForInputAction).setIninTestingField("question").setIsOptional(true).setDefaultToBuilderId(a.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(o.askForIntentSequences.questionSequence).setUiPropertyOrder(2)), yamlOptions: N.createYamlOptions("question", (e3) => e3.setExportOrder(30).setPropertyName("question")), property: "question", type: l.expressionTypeNames.communication }, { property: "knowledgeSearchResult", label: A.cardsAndCars.knowledgeSearchResultLabel, type: l.expressionTypeNames.knowledgeBaseDocument, options: d.ExpressionTypeKnowledgeBaseDocumentOptions.create((e3) => e3.setAsOutput().setDefaultVariableScope(m.scopes.flow).setIsOptional(true).setIsCollection(true).setIninTestingField("knowledgeSearchResult").setDescriptionInfo(A.cardsAndCars.knowledgeSearchResultLabel, p.isFeatureAvailable(_.default.botFlowsAnswerGenerationMultipleArticles) ? A.cardsAndCars.knowledgeSearchResultDescriptionMultipleArticles : A.cardsAndCars.knowledgeSearchResultDescription).setFeatureConfigName(_.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature).setUiPropertyOrder(3)), yamlOptions: N.createYamlOptions("knowledgeSearchResult", (e3) => e3.setExportOrder(40)) }, { label: A.askCommon.noMatch, options: c.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setUiPropertyOrder(8).setIninTestingField("noMatch").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDescriptionInfo(A.askCommon.noMatch, A.askCommon.noMatchDescription).setDefaultToBuilderId(a.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(o.askForIntentSequences.noMatchSequence).setScriptingPropertyName("noMatch")), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: c.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setUiPropertyOrder(8).setIninTestingField("noMatch").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDescriptionInfo(A.askCommon.noMatch, A.askCommon.noMatchDescription).setDefaultToBuilderId(a.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(o.askForIntentSequences.noMatchSequence).setScriptingPropertyName("noMatch")) }], yamlOptions: N.createYamlOptions("noMatch", (e3) => e3.setPropertyName("noMatch").setExportOrder(50)), property: "noMatch", type: l.expressionTypeNames.communication }, { label: A.askCommon.noMatchReprompts, options: N.createNoMatchRepromptsOptions().setDefaultToBuilderId(a.builderIds.parts.genericCommunication), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: N.createNoMatchRepromptsOptions().setDefaultToBuilderId(a.builderIds.parts.markdownCommunication) }], yamlOptions: N.createYamlOptions("noMatchReprompts", (e3) => e3.setPropertyName("noMatchReprompts").setWrappedObjectName("customizeNoMatch")), property: "noMatchReprompts", type: l.expressionTypeNames.communication }, { options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText("false").setIninTestingField("customizeNoMatchButton").setFeatureConfigName(_.default.botFlowsDigitalBotFlowsReprompts).setBoolText(A.askCommon.defaultNoMatch, A.askCommon.customizeNoMatch).setUiPropertyOrder(10)), yamlOptions: N.createYamlOptions("customizeNoMatch", (e3) => e3.setSkipProperty(true)), property: "customizeNoMatch", type: l.expressionTypeNames.boolean }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -60042,7 +64875,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super.setNewInstanceDefaults(e3); } static createNoMatchRepromptsOptions() { - return d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatchReprompts").setFeatureConfigName(_.default.botFlowsDigitalBotFlowsReprompts).setDescriptionInfo(y.askCommon.noMatchReprompts, y.askCommon.noMatchRepromptsDescription).setIsOptional(true).setScriptingPropertyName("noMatchReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(9), true); + return c.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatchReprompts").setFeatureConfigName(_.default.botFlowsDigitalBotFlowsReprompts).setDescriptionInfo(A.askCommon.noMatchReprompts, A.askCommon.noMatchRepromptsDescription).setIsOptional(true).setScriptingPropertyName("noMatchReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(9), true); } initializeDesignTime() { super.initializeDesignTime(), p.isFeatureAvailable(_.default.botFlowsDigitalBotFlowsReprompts) && (this.noMatchReprompts.outOfService = this.customizeNoMatch.model.text !== s.default.true, this.noMatch.outOfService = this.customizeNoMatch.model.text === s.default.true); @@ -60050,8 +64883,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; propertyChanged(e3) { super.propertyChanged(e3), p.isFeatureAvailable(_.default.botFlowsDigitalBotFlowsReprompts) && "customizeNoMatch" === e3.propertyName && (this.noMatch.outOfService = this.customizeNoMatch.model.text === s.default.true, this.noMatchReprompts.outOfService = this.customizeNoMatch.model.text !== s.default.true); } + _configureFromModel(e3, t3, i3) { + if ((0, y.isConfigureFromModelRecord)(e3.customizeNoMatch)) { + const n3 = e3.customizeNoMatch; + void 0 !== n3.noMatchReprompts && (0, S.hasConfigureFromModel)(this.noMatchReprompts) && (this.customizeNoMatch.configureFromModel({ lit: true }, t3, i3), this.noMatchReprompts.configureFromModel(n3.noMatchReprompts, t3, i3)); + } + super._configureFromModel(e3, t3, i3); + } } - S.info = g.default.createActionInfo({ actionClass: S, canBeInTask: true, helpTopic: h.helpTopics.actions.waitForInput, modelClass: i2(66093), name: y.actions.actionWaitForInput, scriptingName: "ArchActionWaitForInput", supportsUtteranceHistoricalData: true, termination: f.terminatesTask }), t2.A = S; + N.info = g.default.createActionInfo({ actionClass: N, canBeInTask: true, helpTopic: h.helpTopics.actions.waitForInput, modelClass: i2(66093), name: A.actions.actionWaitForInput, scriptingName: "ArchActionWaitForInput", supportsUtteranceHistoricalData: true, termination: f.terminatesTask, modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } } }), t2.A = N; }, 49706: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.SetSkillExpressionFiltersActionModel = void 0; @@ -60078,22 +64918,22 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.SetSkillExpressionFiltersActionModel = u, u.__type = o.setSkillExpressionFiltersActionType, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "skillExpressionFilters", null), u.registerType(); }, 49717: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(12179), a = n2.__importDefault(i2(78791)), s = n2.__importDefault(i2(73198)), l = n2.__importDefault(i2(97891)), u = i2(12457), d = i2(42098), c = i2(67607), p = i2(81516), _ = i2(9290), h = i2(80428), m = i2(47957); - class g extends a.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(12179), a = n2.__importDefault(i2(78791)), s = n2.__importDefault(i2(73198)), l = n2.__importDefault(i2(97891)), u = i2(12457), c = i2(42098), d = i2(67607), p = i2(81516), _ = i2(9290), h = i2(80428), m = n2.__importDefault(i2(4648)), g = i2(47957); + class f extends a.default { constructor(e3, t3) { super(e3), this.editor_testing_tag = "TransferExternalAction", this.externalNumber = null, this._loadModel(t3); } static get managedProperties() { - return [(0, d.createTransferConnectTimeoutProperty)(m.expression.noValue.selectionRuntimeEvaluation.connectTimeout.edgeTrunkTimeout), { label: m.externalTransfer.number, options: p.ExpressionTypeStringOptions.create((e3) => e3.setUiPropertyOrder(10).setIninTestingField("externalTransferExpression").setDisableSpellcheck(true).facets.setMinLength(1).setTrim(true)), yamlOptions: g.createYamlOptions("externalNumber", (e3) => e3.setPropertyName("targetNumber").setExportOrder(30)), property: "externalNumber", type: h.expressionTypeNames.string }, { label: m.externalTransfer.releaseLinkTransfer, options: c.ExpressionTypeBooleanOptions.create((e3) => e3.setUiPropertyOrder(20).setIninTestingField("releaseLinkTransfer").setDefaultText(s.default.false)), yamlOptions: g.createYamlOptions("releaseLinkTransfer", (e3) => e3.setExportOrder(80)), property: "releaseLinkTransfer", type: h.expressionTypeNames.boolean, supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgen }]; + return [(0, c.createTransferConnectTimeoutProperty)(g.expression.noValue.selectionRuntimeEvaluation.connectTimeout.edgeTrunkTimeout), { label: g.externalTransfer.number, options: p.ExpressionTypeStringOptions.create((e3) => e3.setUiPropertyOrder(10).setIninTestingField("externalTransferExpression").setDisableSpellcheck(true).facets.setMinLength(1).setTrim(true)), yamlOptions: f.createYamlOptions("externalNumber", (e3) => e3.setPropertyName("targetNumber").setExportOrder(30)), property: "externalNumber", type: h.expressionTypeNames.string }, { label: g.externalTransfer.releaseLinkTransfer, options: d.ExpressionTypeBooleanOptions.create((e3) => e3.setUiPropertyOrder(20).setIninTestingField("releaseLinkTransfer").setDefaultText(s.default.false)), yamlOptions: f.createYamlOptions("releaseLinkTransfer", (e3) => e3.setExportOrder(80)), property: "releaseLinkTransfer", type: h.expressionTypeNames.boolean, supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgen }]; } _getPossibleErrors() { return _.externalTransferFailureReasons; } getDetails() { - return this.externalNumber && this.externalNumber.text ? new u.ActionDetails([m.externalTransfer.number], [this.externalNumber.text]) : null; + return this.externalNumber && this.externalNumber.text ? new u.ActionDetails([g.externalTransfer.number], [this.externalNumber.text]) : null; } } - g.info = l.default.createActionInfo({ actionClass: g, canBeInTask: true, canBeTreeNode: true, helpTopic: o.helpTopics.actions.transferExternal, modelClass: i2(37293), name: m.actions.transfers.external, scriptingName: "ArchActionTransferToNumber" }), t2.A = g; + f.info = l.default.createActionInfo({ actionClass: f, canBeInTask: true, canBeTreeNode: true, helpTopic: o.helpTopics.actions.transferExternal, modelClass: i2(37293), modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } }, name: g.actions.transfers.external, scriptingName: "ArchActionTransferToNumber" }), t2.A = f; }, 49756: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.SmsPhoneNumber = void 0; @@ -60228,6 +65068,36 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; n2.extend(o, r2, true), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { o._super.pasteReIdOrRename.apply(this, arguments), this.name = e3.pasteGetUniqueStateName(this.name); } } }), e2.exports = o; + }, 50062: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ContextMessage = void 0; + const n2 = i2(85006); + t2.ContextMessage = class { + constructor(e3) { + this._model = e3; + } + get displayMessage() { + return this._model.displayMessage; + } + get level() { + return this._model.level; + } + get contextPath() { + return this._model.contextPath; + } + get sourcePath() { + return this._model.sourcePath; + } + get isError() { + return this._model.level === n2.LogLevel.Error; + } + get isWarning() { + return this._model.level === n2.LogLevel.Warning; + } + get isInfo() { + return this._model.level === n2.LogLevel.Info; + } + }; }, 50096: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.max = void 0; @@ -60299,8 +65169,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = s; }, 50293: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(63824)), s = i2(79467), l = i2(24235), u = n2.__importStar(i2(58380)), d = i2(12179), c = i2(12457), p = n2.__importDefault(i2(97891)), _ = n2.__importDefault(i2(5730)), h = i2(80428), m = i2(26151), g = i2(47957), f = i2(30015); - class T extends _.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(63824)), s = i2(79467), l = i2(24235), u = n2.__importStar(i2(58380)), c = i2(12179), d = i2(12457), p = n2.__importDefault(i2(97891)), _ = n2.__importDefault(i2(5730)), h = i2(80428), m = n2.__importDefault(i2(4648)), g = i2(26151), f = i2(47957), T = i2(30015); + class y extends _.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -60323,52 +65193,52 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } getDetails() { - const e3 = [g.estimatedWaitTime.estimatedWaitTime], t3 = [this.estimatedWaitTime.text]; - return this.playbackMode && this.playbackMode === m.about ? (e3.push(g.estimatedWaitTime.playbackMode), t3.push(g.estimatedWaitTime.about)) : this.playbackMode && this.playbackMode === m.exact ? (e3.push(g.estimatedWaitTime.playbackMode), t3.push(g.estimatedWaitTime.exact)) : this.playbackMode && this.playbackMode === m.lessThan ? (e3.push(g.estimatedWaitTime.playbackMode), t3.push(g.estimatedWaitTime.lessThan)) : this.playbackMode && this.playbackMode === m.range && (e3.push(g.estimatedWaitTime.playbackMode), t3.push(g.estimatedWaitTime.range)), new c.ActionDetails(e3, t3); + const e3 = [f.estimatedWaitTime.estimatedWaitTime], t3 = [this.estimatedWaitTime.text]; + return this.playbackMode && this.playbackMode === g.about ? (e3.push(f.estimatedWaitTime.playbackMode), t3.push(f.estimatedWaitTime.about)) : this.playbackMode && this.playbackMode === g.exact ? (e3.push(f.estimatedWaitTime.playbackMode), t3.push(f.estimatedWaitTime.exact)) : this.playbackMode && this.playbackMode === g.lessThan ? (e3.push(f.estimatedWaitTime.playbackMode), t3.push(f.estimatedWaitTime.lessThan)) : this.playbackMode && this.playbackMode === g.range && (e3.push(f.estimatedWaitTime.playbackMode), t3.push(f.estimatedWaitTime.range)), new d.ActionDetails(e3, t3); } initialize() { super.initialize(), u.registerEventSinkForEventEmitter(this.parentFlow.languages.id, this), this.setMode(false); } setNewInstanceDefaults() { - super.setNewInstanceDefaults(...arguments), this.playbackMode = m.lessThan, this.parentFlow.isInQueueCallFlow && this.estimatedWaitTime.setText("Call.EstimatedWaitTime", true), this.setMode(true); + super.setNewInstanceDefaults(...arguments), this.playbackMode = g.lessThan, this.parentFlow.isInQueueCallFlow && this.estimatedWaitTime.setText("Call.EstimatedWaitTime", true), this.setMode(true); } static get managedProperties() { - return [{ property: "estimatedWaitTime", label: g.estimatedWaitTime.estimatedWaitTime, type: h.expressionTypeNames.duration, options: s.ExpressionTypeDurationOptions.create((e3) => e3.setAllowModeLiteral(false).setAllowModeExpression(true).setUsedAsReplacementValueInOtherExpressions(true).facets.setMinDur(0, true)) }, { property: "roundingInterval", label: g.estimatedWaitTime.roundingInterval, type: h.expressionTypeNames.duration, options: s.ExpressionTypeDurationOptions.create((e3) => e3.setDurationStyle(a.durationStyles.mediumDuration).facets.setMinDur(0, true)) }, { property: "specificRoundingIntervals", label: g.estimatedWaitTime.specificRoundingIntervals, type: h.expressionTypeNames.duration, list: true, options: s.ExpressionTypeDurationOptions.create((e3) => e3.setDurationStyle(a.durationStyles.mediumDuration).facets.setMinDur(0, true)) }, { audio: true, generatedPromptsDetails: { dependentProperties: ["playbackMode", "estimatedWaitTime", "roundingInterval", "specificRoundingIntervals"], sequenceDefinition: f, getPlaybackMode: function() { + return [{ property: "estimatedWaitTime", label: f.estimatedWaitTime.estimatedWaitTime, type: h.expressionTypeNames.duration, options: s.ExpressionTypeDurationOptions.create((e3) => e3.setAllowModeLiteral(false).setAllowModeExpression(true).setUsedAsReplacementValueInOtherExpressions(true).facets.setMinDur(0, true)) }, { property: "roundingInterval", label: f.estimatedWaitTime.roundingInterval, type: h.expressionTypeNames.duration, options: s.ExpressionTypeDurationOptions.create((e3) => e3.setDurationStyle(a.durationStyles.mediumDuration).facets.setMinDur(0, true)) }, { property: "specificRoundingIntervals", label: f.estimatedWaitTime.specificRoundingIntervals, type: h.expressionTypeNames.duration, list: true, options: s.ExpressionTypeDurationOptions.create((e3) => e3.setDurationStyle(a.durationStyles.mediumDuration).facets.setMinDur(0, true)) }, { audio: true, generatedPromptsDetails: { dependentProperties: ["playbackMode", "estimatedWaitTime", "roundingInterval", "specificRoundingIntervals"], sequenceDefinition: T, getPlaybackMode: function() { return this.playbackMode.name.toLocaleLowerCase(); }, getReplacementValues: function() { const e3 = {}; - if (e3[f.parts.replacementDuration] = (0, r2.sprintf)("If(IsSet(%1$s), If(%1$s < MakeDuration(0, 0, 0, 0), MakeDuration(0, 0, 0, 0), %1$s), %1$s)", this.estimatedWaitTime.getEmbeddableExpressionText()), e3[f.parts.replacementRoundingInterval] = this.roundingInterval.getEmbeddableExpressionText(), this.supportsSpecificRoundingIntervals()) { + if (e3[T.parts.replacementDuration] = (0, r2.sprintf)("If(IsSet(%1$s), If(%1$s < MakeDuration(0, 0, 0, 0), MakeDuration(0, 0, 0, 0), %1$s), %1$s)", this.estimatedWaitTime.getEmbeddableExpressionText()), e3[T.parts.replacementRoundingInterval] = this.roundingInterval.getEmbeddableExpressionText(), this.supportsSpecificRoundingIntervals()) { const t3 = o.default.map(this.specificRoundingIntervals.items, function(e4) { return e4.getEmbeddableExpressionText(); }); - e3[f.parts.replacementSpecificRoundingInterval] = t3.length ? (0, r2.sprintf)("MakeList(%s)", t3.join(",")) : "MakeEmptyList(ToDuration(0))"; + e3[T.parts.replacementSpecificRoundingInterval] = t3.length ? (0, r2.sprintf)("MakeList(%s)", t3.join(",")) : "MakeEmptyList(ToDuration(0))"; } return e3; - } }, options: l.AudioViewModelOptions.create((e3) => e3.setIninTestingField("playbackModeAudio").setLabel(g.estimatedWaitTime.playbackMode)), yamlOptions: T.createYamlOptions("prompts", (e3) => e3.setSkipProperty(true)), property: "prompts" }, { property: "playbackMode", isJustForFlowYaml: true }]; + } }, options: l.AudioViewModelOptions.create((e3) => e3.setIninTestingField("playbackModeAudio").setLabel(f.estimatedWaitTime.playbackMode)), yamlOptions: y.createYamlOptions("prompts", (e3) => e3.setSkipProperty(true)), property: "prompts" }, { property: "playbackMode", isJustForFlowYaml: true }]; } objEvent_supportedLanguagesChanged() { this.generateAudioExpression(); } supportsSpecificRoundingIntervals() { - return this.playbackMode.value === m.about.value || this.playbackMode.value === m.lessThan.value; + return this.playbackMode.value === g.about.value || this.playbackMode.value === g.lessThan.value; } setMode(e3) { switch (this.supportsSpecificRoundingIntervals() && e3 && (this.roundingInterval.setAsLiteral(a.millisecondsToXSD(3e5)), this.specificRoundingIntervals.destroyChildren(), this.addSpecificInterval(a.millisecondsToXSD(3e4)), this.addSpecificInterval(a.millisecondsToXSD(6e4)), this.addSpecificInterval(a.millisecondsToXSD(12e4)), this.addSpecificInterval(a.millisecondsToXSD(3e5))), this.playbackMode.value) { - case m.exact.value: + case g.exact.value: break; - case m.range.value: - (e3 || this.roundingInterval.isBlank) && this.roundingInterval.setAsLiteral(a.millisecondsToXSD(6e4)), this.roundingInterval.label = g.estimatedWaitTime.roundingIntervalPadded; + case g.range.value: + (e3 || this.roundingInterval.isBlank) && this.roundingInterval.setAsLiteral(a.millisecondsToXSD(6e4)), this.roundingInterval.label = f.estimatedWaitTime.roundingIntervalPadded; break; default: - this.roundingInterval.label = g.estimatedWaitTime.roundingInterval; + this.roundingInterval.label = f.estimatedWaitTime.roundingInterval; } - this.roundingInterval.options.durationStyle = this.playbackMode.value === m.range.value ? a.durationStyles.minutes : a.durationStyles.mediumDuration, this.setOutOfService(), this.generateAudioExpression(); + this.roundingInterval.options.durationStyle = this.playbackMode.value === g.range.value ? a.durationStyles.minutes : a.durationStyles.mediumDuration, this.setOutOfService(), this.generateAudioExpression(); } setOutOfService() { - this.playbackMode && (this.specificRoundingIntervals.outOfService = !this.supportsSpecificRoundingIntervals(), this.roundingInterval.outOfService = this.playbackMode.value === m.exact.value); + this.playbackMode && (this.specificRoundingIntervals.outOfService = !this.supportsSpecificRoundingIntervals(), this.roundingInterval.outOfService = this.playbackMode.value === g.exact.value); } } - T.info = p.default.createActionInfo({ actionClass: T, canBeInTask: true, helpTopic: d.helpTopics.actions.playEstimatedWaitTime, modelClass: i2(50807), name: g.actions.playEstimatedWaitTime, scriptingName: "ArchActionPlayEstimatedWaitTime" }), t2.A = T; + y.info = p.default.createActionInfo({ actionClass: y, canBeInTask: true, helpTopic: c.helpTopics.actions.playEstimatedWaitTime, modelClass: i2(50807), name: f.actions.playEstimatedWaitTime, scriptingName: "ArchActionPlayEstimatedWaitTime", modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } } }), t2.A = y; }, 50304: function(e2, t2, i2) { !(function(e3) { "use strict"; @@ -60490,7 +65360,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, t2.getSchedule = u, t2.getScheduleGroups = function(e3) { const t3 = o.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getScheduleGroupsDivisionView : s.getScheduleGroups; return r2.default.build(t3).queryParams(e3.getSearchQueryParams()).call(); - }, t2.getScheduleGroup = d; + }, t2.getScheduleGroup = c; const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(10798)), a = n2.__importDefault(i2(4648)), s = n2.__importStar(i2(72738)); function l(e3) { return l.api = o.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getEmergencyGroupDivisionView : s.getEmergencyGroup, r2.default.build(l.api).templateParams({ id: e3 }).call().then((e4) => e4.entities && e4.entities[0] ? e4.entities[0] : e4); @@ -60498,15 +65368,18 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; function u(e3) { return u.api = o.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getScheduleDivisionView : s.getSchedule, r2.default.build(u.api).templateParams({ id: e3 }).call().then((e4) => e4.entities && e4.entities[0] ? e4.entities[0] : e4); } - function d(e3) { - return d.api = o.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getScheduleGroupDivisionView : s.getScheduleGroup, r2.default.build(d.api).templateParams({ id: e3 }).call().then((e4) => e4.entities && e4.entities[0] ? e4.entities[0] : e4); + function c(e3) { + return c.api = o.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getScheduleGroupDivisionView : s.getScheduleGroup, r2.default.build(c.api).templateParams({ id: e3 }).call().then((e4) => e4.entities && e4.entities[0] ? e4.entities[0] : e4); } - l.api = s.getEmergencyGroup, u.api = s.getSchedule, d.api = s.getScheduleGroup; + l.api = s.getEmergencyGroup, u.api = s.getSchedule, c.api = s.getScheduleGroup; }, 50474: (e2, t2) => { "use strict"; function i2(e3) { return void 0 === e3; } + function n2(e3) { + return "__proto__" === e3 || "constructor" === e3 || "prototype" === e3; + } Object.defineProperty(t2, "__esModule", { value: true }), t2.isCommonModuleFlow = function(e3) { return null == e3 ? void 0 : e3.isCommonModuleFlow; }, t2.isCommonWorkflowViewModel = function(e3) { @@ -60524,12 +65397,18 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, t2.isUndefined = i2, t2.isObject = function(e3) { const t3 = typeof e3; return "function" === t3 || "object" === t3 && !!e3; + }, t2.isNonArrayObject = function(e3) { + return null !== e3 && "object" == typeof e3 && !Array.isArray(e3); }, t2.isActualNumber = function(e3) { return !isNaN(e3) && "number" == typeof e3; }, t2.isNullOrUndefined = function(e3) { return null === e3 || i2(e3); }, t2.isFunction = function(e3) { return "function" == typeof e3; + }, t2.isPrototypePollutingPropertyKey = n2, t2.getSafeObjectOwnProperty = function(e3, t3) { + if (!n2(t3) && Object.prototype.hasOwnProperty.call(e3, t3)) return e3[t3]; + }, t2.getArrayElementAtIndex = function(e3, t3) { + if (!(!Number.isInteger(t3) || t3 < 0 || t3 >= e3.length)) return e3[t3]; }; }, 50479: (e2, t2, i2) => { "use strict"; @@ -60554,7 +65433,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.EngineService = void 0; const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(4648)), s = n2.__importStar(i2(74359)), l = i2(10798), u = i2(21042); - class d extends u.BootstrapListManager { + class c extends u.BootstrapListManager { constructor(e3, t3) { super(e3, t3), this._flexibleTtsSelectionEnabled = false, s.bootstrapDataLoaded.then(this._processBootstrapDataLoaded.bind(this)); } @@ -60606,7 +65485,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }); } } - t2.EngineService = d; + t2.EngineService = c; }, 50504: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -60726,7 +65605,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }; }, 50718: (e2, t2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.callAgenticVirtualAgentFailureReasons = void 0, t2.callAgenticVirtualAgentFailureReasons = ["request.too.large"]; + Object.defineProperty(t2, "__esModule", { value: true }), t2.callAgenticVirtualAgentFailureReasonsOpaqueIDFeature = t2.callAgenticVirtualAgentFailureReasons = void 0; + const i2 = "request.too.large"; + t2.callAgenticVirtualAgentFailureReasons = [i2], t2.callAgenticVirtualAgentFailureReasonsOpaqueIDFeature = [i2, "undisclosed.value.missing"]; }, 50720: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -61303,11 +66184,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (!this.children) throw new Error("indexes invalid; no children in list"); var n3, r2 = t2 - e3 + 1, o = i3, a = null; o.isNil() ? a = o.children : (a = []).push(o), n3 = a.length; - var s, l, u, d, c, p = a.length, _ = r2 - n3; + var s, l, u, c, d, p = a.length, _ = r2 - n3; if (0 === _) for (s = 0, l = e3; l <= t2; l++) u = a[s], this.children[l] = u, u.setParent(this), u.setChildIndex(l), s++; else if (_ > 0) { for (s = 0; s < p; s++) this.children[e3 + s] = a[s]; - for (c = d = e3 + p; c <= t2; c++) this.children.splice(d, 1)[0]; + for (d = c = e3 + p; d <= t2; d++) this.children.splice(c, 1)[0]; this.freshenParentAndChildIndexes(e3); } else { for (s = 0; s < r2; s++) this.children[e3 + s] = a[s]; @@ -62177,7 +67058,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 50964: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = n2.__importDefault(i2(74986)), u = i2(55909), d = i2(80428), c = i2(33951), p = n2.__importDefault(i2(65302)), _ = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = n2.__importDefault(i2(74986)), u = i2(55909), c = i2(80428), d = i2(33951), p = n2.__importDefault(i2(65302)), _ = i2(47957); class h extends l.default { static createMinMax(e3, t3, i3, n3) { const r3 = new h(); @@ -62196,10 +67077,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return true; } setMaxDur(e3, t3) { - return this._maxVal = c.ParameterValidator.expectInt(e3, () => u.ParameterInfo.createFunctionParameter(this.className, "setMaxDur", "maxDur"), true), o.default.isUndefined(t3) || this.setMaxValInclusive(t3), this; + return this._maxVal = d.ParameterValidator.expectInt(e3, () => u.ParameterInfo.createFunctionParameter(this.className, "setMaxDur", "maxDur"), true), o.default.isUndefined(t3) || this.setMaxValInclusive(t3), this; } setMinDur(e3, t3) { - return this._minVal = c.ParameterValidator.expectInt(e3, () => u.ParameterInfo.createFunctionParameter(this.className, "setMinDur", "minDur"), true), o.default.isUndefined(t3) || this.setMinValInclusive(t3), this; + return this._minVal = d.ParameterValidator.expectInt(e3, () => u.ParameterInfo.createFunctionParameter(this.className, "setMinDur", "minDur"), true), o.default.isUndefined(t3) || this.setMinValInclusive(t3), this; } _createDurationError(e3, t3, i3, n3) { return this._createErrorResult((0, r2.sprintf)(e3, this._getFacetValueForDisplay(t3), this._getFacetValueForDisplay(i3))); @@ -62210,7 +67091,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return t3.toMilliseconds(i3); } _facetGetExpressionType() { - return p.default.getGlobalTypeGroup().getType(d.expressionTypeNames.duration, this.isCollection); + return p.default.getGlobalTypeGroup().getType(c.expressionTypeNames.duration, this.isCollection); } _facetValidateValue(e3, t3) { if (void 0 !== this.minVal) { @@ -62237,7 +67118,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(78432)), o = i2(77841), a = i2(19284), s = i2(80295), l = n2.__importDefault(i2(56549)), u = n2.__importDefault(i2(8471)); - class d extends u.default { + class c extends u.default { constructor(e3) { super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreSlotSettingsViewModel"), e3), this._coreSlotSettingsViewModel = e3, (0, s.makeUnenumerable)(this, "_coreSlotSettingsViewModel"); } @@ -62321,7 +67202,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }); } } - t2.default = d; + t2.default = c; }, 51060: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.GetJourneyOutcomeActionModel = void 0; @@ -62360,25 +67241,53 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 51126: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.oAuthClientManager = t2.OAuthClientManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(14232)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(47532)), s = i2(81801), l = i2(30801), u = n2.__importDefault(i2(30068)), d = n2.__importDefault(i2(64807)), c = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(14232)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(47532)), s = i2(81801), l = i2(30801), u = n2.__importDefault(i2(30068)), c = n2.__importDefault(i2(64807)), d = i2(27862); class p extends a.default { get requiredAuth() { return s.externalAuthorizations.authStrings.oAuthClientView; } get dependencyType() { - return c.OAuthClient; + return d.OAuthClient; } constructor() { super(), this.topic = o.getTopic("OAuthClientManager"), this._rawServerCache = {}, this.apiCallSingle = r2.getOAuthClientInfo, this.apiCallList = void 0, this.className = "OAuthClientManager", this.dependencyContext = null, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "oAuthClients", this.actionsForUsageSearch = [l.extractSecureDataActionType], this.actionPropertyForUsageSearch = "", this.noApiCallList = true, this._initialize(); } _createItemViewModel(e3) { - return new d.default(e3); + return new c.default(e3); } get _networkModel() { return u.default; } } t2.OAuthClientManager = p, t2.oAuthClientManager = new p(); + }, 51162: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.LookupCache = void 0, t2.LookupCache = class { + constructor(e3) { + this._cache = e3 ? new Map(e3) : /* @__PURE__ */ new Map(); + } + get(e3, t3) { + return this._cache.get(this._buildKey(e3, t3)); + } + set(e3, t3, i2) { + this._cache.set(this._buildKey(e3, t3), i2); + } + has(e3, t3) { + return this._cache.has(this._buildKey(e3, t3)); + } + invalidate(e3, t3) { + this._cache.delete(this._buildKey(e3, t3)); + } + clear() { + this._cache.clear(); + } + get size() { + return this._cache.size; + } + _buildKey(e3, t3) { + return `${e3}:${t3}`; + } + }; }, 51236: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -62424,7 +67333,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 51306: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.outcomeManager = t2.OutcomeManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = i2(30801), a = n2.__importDefault(i2(47532)), s = i2(81801), l = n2.__importDefault(i2(4648)), u = i2(39123), d = i2(24032), c = i2(30801), p = i2(10798), _ = i2(30801), h = i2(47957), m = i2(27862), g = i2(51851); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = i2(30801), a = n2.__importDefault(i2(47532)), s = i2(81801), l = n2.__importDefault(i2(4648)), u = i2(39123), c = i2(24032), d = i2(30801), p = i2(10798), _ = i2(30801), h = i2(47957), m = i2(27862), g = i2(51851); class f extends a.default { get requiredAuth() { return (0, p.isFeatureAvailable)(l.default.divisionedFlowOutcomes) ? s.externalAuthorizations.authStrings.flowOutcomesSearch : s.externalAuthorizations.authStrings.flowOutcomesView; @@ -62433,13 +67342,345 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return m.FlowOutcome; } constructor() { - super(), this.topic = (0, d.getTopic)("OutcomeManager"), this._rawServerCache = {}, this.apiCallList = g.getOutcomes, this.apiCallSingle = g.getOutcome, this.className = "OutcomeManager", this.defaultMatchingStyle = r2.contains, this.dependencyContext = h.flowOutcomes.flowOutcome, this.searchField = "name", this.uiMetadataSectionName = "flowOutcomes", this.actionsForUsageSearch = [o.addFlowMilestoneActionType, c.initializeFlowOutcomeActionType, _.setFlowOutcomeActionType], this.actionPropertyForUsageSearch = "outcome", this.isOutcomeManager = true, this._initialize(); + super(), this.topic = (0, c.getTopic)("OutcomeManager"), this._rawServerCache = {}, this.apiCallList = g.getOutcomes, this.apiCallSingle = g.getOutcome, this.className = "OutcomeManager", this.defaultMatchingStyle = r2.contains, this.dependencyContext = h.flowOutcomes.flowOutcome, this.searchField = "name", this.searchWordSplitWildcard = true, this.uiMetadataSectionName = "flowOutcomes", this.actionsForUsageSearch = [o.addFlowMilestoneActionType, d.initializeFlowOutcomeActionType, _.setFlowOutcomeActionType], this.actionPropertyForUsageSearch = "outcome", this.isOutcomeManager = true, this._initialize(); } _createItemViewModel(e3) { return new u.FlowOutcomeViewModel(e3); } } t2.OutcomeManager = f, t2.outcomeManager = new f(); + }, 51319: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createConfigListEntityResolver = function(e3) { + return { resolve(t3, i3, O2) { + return n2.__awaiter(this, void 0, void 0, function* () { + if ("flow" === t3) return (function(e4, t4, i4) { + return n2.__awaiter(this, void 0, void 0, function* () { + const n3 = e4.trim(); + if (!n3) throw new Error("Empty flow lookup value"); + const r3 = null == i4 ? void 0 : i4.lookupValueType; + if ("identifier" === r3 || !r3 && I(n3)) { + const e5 = p.getItem(n3); + if (!e5) throw new Error(`No flow found for id '${n3}'`); + return C(e5); + } + const o2 = null == t4 ? void 0 : t4.flowTypeForListQueries; + if (!o2) throw new Error("Resolving a flow by name requires flowTypeForListQueries in createConfigListEntityResolver options"); + const a2 = p.getManagerForFlowType(o2, true); + if (!a2) throw new Error(`No flow list manager for flow type '${o2}'`); + return b(a2, n3, { lookupValueType: "name" }); + }); + })(i3, e3, O2); + if ("language" === t3) throw new Error("Entity resolution for type 'language' is not wired to config list managers"); + const E = (function(e4) { + switch (e4) { + case "agenticVirtualAgent": + return r2.agenticVirtualAgentManager; + case "audioConnectorBot": + return o.audioConnectorManager; + case "bot": + case "botConnectorBot": + return a.botConnectorManager; + case "botConnectorIntegration": + return s.botConnectorIntegrationManager; + case "dataAction": + return l.dataActionManager; + case "digitalBotConnector": + return u.digitalBotConnectorManager; + case "digitalBotConnectorIntegration": + return c.digitalBotConnectorIntegrationManager; + case "emergencyGroup": + return d.emergencyGroupManager; + case "flowMilestone": + return m.milestoneManager; + case "flowOutcome": + return T.outcomeManager; + case "group": + return _.groupManager; + case "knowledgeBase": + return h.knowledgeBaseManager; + case "nuanceMixBot": + return g.nuanceMixBotManager; + case "nuanceMixIntegration": + return f.nuanceMixIntegrationManager; + case "queue": + return y.queueManager; + case "skill": + return S.skillManager; + case "systemPrompt": + return A.systemPromptListManager; + case "user": + return N.userManager; + case "userPrompt": + return v.userPromptListManager; + default: + return; + } + })(t3); + if (!E) throw new Error(`Unsupported entity type '${t3}' for config list entity resolver`); + return b(E, i3, O2); + }); + } }; + }; + const n2 = i2(31635), r2 = i2(12361), o = i2(64437), a = i2(96950), s = i2(99835), l = i2(28264), u = i2(62902), c = i2(57467), d = i2(91674), p = n2.__importStar(i2(30260)), _ = i2(98835), h = i2(67801), m = i2(37120), g = i2(17485), f = i2(47976), T = i2(51306), y = i2(19444), S = i2(79069), A = i2(97951), N = i2(30163), v = i2(23293), O = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i; + function I(e3) { + return O.test(e3.trim()); + } + function C(e3) { + const t3 = e3.id, i3 = e3.name; + if (!t3 || !i3) throw new Error("Resolved config-list item is missing id or name"); + return { id: t3, name: i3 }; + } + function b(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const n3 = t3.trim(); + if (!n3) throw new Error("Empty entity lookup value"); + const r3 = null == i3 ? void 0 : i3.lookupValueType; + let o2; + if (o2 = "identifier" === r3 ? yield e3.getOrFetchItem(n3) : "name" === r3 ? yield e3.findOrFetchItemByName(n3) : I(n3) ? yield e3.getOrFetchItem(n3) : yield e3.findOrFetchItemByName(n3), !o2) throw new Error(`No ${e3.className} match for '${n3}'`); + return C(o2); + }); + } + }, 51335: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.PreProcessor = void 0; + const n2 = i2(31635), r2 = i2(79364), o = i2(85006), a = i2(47447), s = i2(79608), l = i2(4816), u = i2(96237), c = n2.__importStar(i2(50474)), d = i2(50474); + function p(e3) { + if (!e3.startsWith("./")) return false; + const t3 = e3.indexOf("#"); + if (t3 <= 2) return false; + const i3 = e3.substring(t3 + 1); + return i3.startsWith("/") && i3.length > 1; + } + const _ = /\{\{([^}]+)\}\}/g, h = ["actions", "bots", "cases", "choices", "menus", "states", "tasks", "untilCases"]; + t2.PreProcessor = class { + constructor(e3, t3) { + this._logger$ = new r2.ReplaySubject(), this.logger$ = this._logger$.asObservable(), this._refIdCounter = 1, this._refIdTracker = /* @__PURE__ */ new Set(), this._errors = [], this._inputProvider = e3, this._context = t3; + } + preProcess(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._log(o.LogLevel.Debug, "Pre-processing started."); + const i3 = this._deepClone(e3); + return yield this._embedExternalReferences(i3, []), this._assignRefIds(i3, []), this._resolveReferences(i3, []), t3 && Object.keys(t3).length > 0 && this._applySubstitutions(i3, t3), this._log(o.LogLevel.Debug, "Pre-processing completed."), { json: i3, errors: [...this._errors] }; + }); + } + _embedExternalReferences(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (null == e3) return; + if (Array.isArray(e3)) { + for (let i4 = 0; i4 < e3.length; i4++) { + const n4 = e3[i4]; + if ((0, d.isNonArrayObject)(n4) && "string" == typeof n4.refArray) { + const r3 = n4.refArray; + if (p(r3)) { + const n5 = yield this._resolveExternalReference(r3, [...t3, String(i4)]); + if (void 0 !== n5 && Array.isArray(n5)) { + e3.splice(i4, 1, ...n5); + for (let r4 = i4; r4 < i4 + n5.length; r4++) yield this._embedExternalReferences(e3[r4], [...t3, String(r4)]); + i4 += n5.length - 1; + continue; + } + } + } + yield this._embedExternalReferences(n4, [...t3, String(i4)]); + } + return; + } + if (!(0, d.isNonArrayObject)(e3)) return; + const i3 = e3, n3 = Object.keys(i3); + for (const e4 of n3) { + const n4 = i3[e4]; + if ("string" == typeof n4 && p(n4)) { + if ("ref" === e4) { + const r3 = yield this._resolveExternalReference(n4, [...t3, e4]); + if (void 0 !== r3 && (0, d.isNonArrayObject)(r3)) { + delete i3[e4]; + const t4 = r3; + for (const e5 of Object.keys(t4)) i3[e5] = t4[e5]; + } + continue; + } + if ("refArray" === e4) continue; + if (this._isEmbeddableRefProperty(e4)) { + void 0 !== (yield this._resolveExternalReference(n4, [...t3, e4])) && this._log(o.LogLevel.Debug, `Resolved embeddable reference '${e4}': ${n4}`); + continue; + } + } + yield this._embedExternalReferences(n4, [...t3, e4]); + } + }); + } + _resolveExternalReference(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = this._parseExternalReference(e3); + if (i3) if (this._inputProvider) try { + const n3 = yield this._inputProvider.resolve(i3.filePath); + if (!n3 || "string" != typeof n3) return void this._addError({ message: `External reference '${e3}' resolved to empty content.`, contextPath: "/" + t3.join("/"), reason: a.referenceErrorReason.notFound, fatal: false }); + let r3; + try { + r3 = (0, u.loadSingleYamlDocument)(n3, l.legacyDefaultSchema, s.architectYamlMaxDepth); + } catch (e4) { + const n4 = e4 instanceof Error ? e4.message : String(e4); + return void this._addError({ message: `Failed to parse external reference '${i3.filePath}': ${n4}`, contextPath: "/" + t3.join("/"), reason: a.referenceErrorReason.invalidFormat, fatal: false }); + } + const c2 = this._navigateToInternalPath(r3, i3.internalPath); + return void 0 === c2 ? void this._addError({ message: `Internal path '${i3.internalPath}' not found in '${i3.filePath}'.`, contextPath: "/" + t3.join("/"), reason: a.referenceErrorReason.notFound, fatal: false }) : (this._log(o.LogLevel.Debug, `Resolved external reference '${e3}'.`), this._deepClone(c2)); + } catch (i4) { + const n3 = i4 instanceof Error ? i4.message : String(i4); + return void this._addError({ message: `Failed to resolve external reference '${e3}': ${n3}`, contextPath: "/" + t3.join("/"), reason: a.referenceErrorReason.notFound, fatal: false }); + } + else this._addError({ message: `Cannot resolve external reference '${e3}': no YamlInputProvider configured.`, contextPath: "/" + t3.join("/"), reason: a.referenceErrorReason.notFound, fatal: false }); + else this._addError({ message: `Invalid external reference syntax: '${e3}'.`, contextPath: "/" + t3.join("/"), reason: a.referenceErrorReason.invalidFormat, fatal: false }); + }); + } + _parseExternalReference(e3) { + const t3 = e3.indexOf("#"); + if (-1 === t3) return null; + const i3 = e3.substring(0, t3), n3 = e3.substring(t3 + 1); + return i3 && n3 && n3.startsWith("/") ? { filePath: i3, internalPath: n3 } : null; + } + _navigateToInternalPath(e3, t3) { + if (!t3 || "/" === t3) return e3; + const i3 = t3.substring(1).split("/"); + let n3 = e3; + for (const e4 of i3) { + if (null == n3) return; + const t4 = e4.match(/^([^[]+)\[([^\]]+)\]$/); + if (t4) { + const e5 = t4[1], i4 = t4[2]; + if (c.isPrototypePollutingPropertyKey(e5)) return; + if (!(0, d.isNonArrayObject)(n3)) return; + const r3 = c.getSafeObjectOwnProperty(n3, e5); + if (!Array.isArray(r3)) { + n3 = r3; + continue; + } + n3 = r3.find((e6) => { + if (!(0, d.isNonArrayObject)(e6)) return false; + const t5 = e6; + if (t5.refId === i4) return true; + for (const e7 of Object.keys(t5)) { + const n4 = t5[e7]; + if ((0, d.isNonArrayObject)(n4) && n4.refId === i4) return true; + } + return false; + }); + } else if (Array.isArray(n3)) { + const t5 = parseInt(e4, 10); + if (isNaN(t5) || t5 < 0 || t5 >= n3.length) return; + n3 = c.getArrayElementAtIndex(n3, t5); + } else { + if (!(0, d.isNonArrayObject)(n3)) return; + n3 = c.getSafeObjectOwnProperty(n3, e4); + } + } + return n3; + } + _assignRefIds(e3, t3) { + if (null == e3) return; + if (Array.isArray(e3)) { + for (let i4 = 0; i4 < e3.length; i4++) this._assignRefIds(e3[i4], [...t3, String(i4)]); + return; + } + if (!(0, d.isNonArrayObject)(e3)) return; + const i3 = e3; + for (const e4 of Object.keys(i3)) { + const n3 = i3[e4]; + Array.isArray(n3) && -1 !== h.indexOf(e4) && this._processRefIdArray(n3, [...t3, e4], e4), this._assignRefIds(n3, [...t3, e4]); + } + } + _processRefIdArray(e3, t3, i3) { + const n3 = /* @__PURE__ */ new Map(); + for (let r3 = 0; r3 < e3.length; r3++) { + const a2 = e3[r3]; + if (!(0, d.isNonArrayObject)(a2)) continue; + const s2 = a2, l2 = this._getPickerObject(s2); + if (!l2) continue; + const { pickerName: u2, pickerValue: c2 } = l2; + if (!(0, d.isNonArrayObject)(c2)) continue; + const p2 = c2, _2 = p2.refId; + if ("string" == typeof _2 && _2.length > 0) { + const e4 = `/${t3.join("/")}/${u2}[${_2}]`; + n3.has(_2) ? (this._addError({ message: `Duplicate ref ID '${_2}' found in array '${i3}' at path '/${t3.join("/")}'.`, contextPath: "/" + t3.join("/"), reason: "duplicate_ref_id", fatal: false }), this._log(o.LogLevel.Error, `Duplicate ref ID '${_2}' in '${i3}'.`)) : n3.set(_2, r3), this._refIdTracker.has(e4) ? this._addError({ message: `Duplicate ref ID '${_2}' found at path '${e4}'.`, contextPath: e4, reason: "duplicate_ref_id", fatal: false }) : this._refIdTracker.add(e4); + } else { + const e4 = `_archy_${u2}_${this._refIdCounter}__`; + p2.refId = e4, this._refIdCounter++, this._log(o.LogLevel.Debug, `Assigned ref ID '${e4}' to object at index ${r3} in '${i3}'.`); + } + } + } + _resolveReferences(e3, t3) { + if (null == e3) return; + if (Array.isArray(e3)) { + for (let i4 = 0; i4 < e3.length; i4++) this._resolveReferences(e3[i4], [...t3, String(i4)]); + return; + } + if (!(0, d.isNonArrayObject)(e3)) return; + const i3 = e3; + for (const e4 of Object.keys(i3)) { + const n3 = i3[e4]; + if ("string" == typeof n3 && this._isReferenceProperty(e4)) { + const r3 = this._resolveRelativeReference(n3, t3); + r3 !== n3 && (i3[e4] = r3, this._log(o.LogLevel.Debug, `Resolved reference '${e4}': '${n3}' \u2192 '${r3}'.`)); + } + this._resolveReferences(n3, [...t3, e4]); + } + } + _resolveRelativeReference(e3, t3) { + if (p(e3)) return e3; + const i3 = e3.includes("..") || e3.startsWith("./"), n3 = e3.includes("?"); + return (i3 || n3) && i3 ? this._resolveRelativePath(e3, t3) : e3; + } + _resolveRelativePath(e3, t3) { + const i3 = [...t3]; + if (e3.startsWith("/")) return e3; + const n3 = e3.split("/"), r3 = [...i3]; + for (const e4 of n3) if (".." === e4) r3.pop(); + else { + if ("." === e4 || "" === e4) continue; + r3.push(e4); + } + return "/" + r3.join("/"); + } + _applySubstitutions(e3, t3) { + if (null == e3) return; + if (Array.isArray(e3)) { + for (let i4 = 0; i4 < e3.length; i4++) "string" == typeof e3[i4] ? e3[i4] = this._substituteString(e3[i4], t3) : this._applySubstitutions(e3[i4], t3); + return; + } + if (!(0, d.isNonArrayObject)(e3)) return; + const i3 = e3, n3 = Object.keys(i3); + for (const e4 of n3) { + const n4 = i3[e4], r3 = this._substituteString(e4, t3); + r3 !== e4 && (i3[r3] = n4, delete i3[e4]); + const o2 = r3 !== e4 ? r3 : e4; + "string" == typeof i3[o2] ? i3[o2] = this._substituteString(i3[o2], t3) : this._applySubstitutions(i3[o2], t3); + } + } + _substituteString(e3, t3) { + return e3.includes("{{") ? e3.replace(_, (e4, i3) => Object.prototype.hasOwnProperty.call(t3, i3) ? (this._log(o.LogLevel.Debug, `Substitution: '{{${i3}}}' \u2192 '${t3[i3]}'.`), t3[i3]) : e4) : e3; + } + _getPickerObject(e3) { + const t3 = Object.keys(e3); + if (0 === t3.length) return null; + const i3 = t3[0]; + return { pickerName: i3, pickerValue: e3[i3] }; + } + _isReferenceProperty(e3) { + return e3.endsWith("Ref") || "ref" === e3; + } + _isEmbeddableRefProperty(e3) { + return "startUpRef" === e3 || "targetTaskRef" === e3 || "targetStateRef" === e3 || "targetMenuRef" === e3; + } + _deepClone(e3) { + return JSON.parse(JSON.stringify(e3)); + } + _log(e3, t3) { + this._logger$.next({ level: e3, message: `PreProcessor: ${t3}`, contextPath: this._context.currentReferencePath }); + } + _addError(e3) { + this._errors.push(e3), this._context.addError(e3), this._logger$.next({ level: o.LogLevel.Error, message: `PreProcessor: ${e3.message}`, contextPath: e3.contextPath }); + } + }; }, 51336: (e2, t2, i2) => { const n2 = i2(28730), { clearVoicemailSnippetActionType: r2 } = i2(30801); function o() { @@ -62568,23 +67809,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.additionalParams && n2.default.keys(this.additionalParams).length > 0 && this.configListManager.topic.error("search does not support additionalParams"), e3; } getSearchQueryParams(e3) { - var t3; - let i3 = { pageNumber: this.pageNumber, pageSize: this.defaultPageSize }; - if (this.sortBy && (i3.sortBy = this.sortBy), this.sortBy && this.sortOrder && (i3.sortOrder = this.sortOrder), this.after && (i3.after = this.after), this.searchTerm) { - const e4 = false !== (null === (t3 = this.configListManager) || void 0 === t3 ? void 0 : t3.searchWildcardSupport); - switch (this.matchingStyle) { - case o.containsAssumed: - case o.exactMatch: - i3[this.searchField] = this.searchTerm; - break; - case o.startsWith: - i3[this.searchField] = e4 ? this.searchTerm + "*" : this.searchTerm; - break; - default: - i3[this.searchField] = e4 ? "*" + this.searchTerm + "*" : this.searchTerm; - } - } - return this.additionalParams && !e3 && (i3 = n2.default.extend(this.additionalParams, i3)), i3; + let t3 = { pageNumber: this.pageNumber, pageSize: this.defaultPageSize }; + return this.sortBy && (t3.sortBy = this.sortBy), this.sortBy && this.sortOrder && (t3.sortOrder = this.sortOrder), this.after && (t3.after = this.after), this.searchTerm && (t3[this.searchField] = this._createSearchTerm()), this.additionalParams && !e3 && (t3 = n2.default.extend(this.additionalParams, t3)), t3; + } + _createSearchTerm() { + var e3, t3; + const i3 = Number(this.matchingStyle); + if (i3 === o.exactMatch || i3 === o.containsAssumed) return this.searchTerm; + if (false === (null === (e3 = this.configListManager) || void 0 === e3 ? void 0 : e3.searchWildcardSupport)) return this.searchTerm; + let n3 = true === (null === (t3 = this.configListManager) || void 0 === t3 ? void 0 : t3.searchWordSplitWildcard) ? this.searchTerm.split(" ").join("* *") : this.searchTerm; + return n3 += "*", i3 === o.startsWith ? n3 : "*" + n3; } } t2.default = a; @@ -62626,7 +67860,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 51677: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.CodeParser = void 0; - const n2 = i2(31635), r2 = i2(29762), o = i2(78495), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(73198)), l = i2(26403), u = i2(17666), d = i2(17666), c = i2(17666), p = i2(38597), _ = i2(57653), h = i2(33336); + const n2 = i2(31635), r2 = i2(29762), o = i2(78495), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(73198)), l = i2(26403), u = i2(17666), c = i2(17666), d = i2(17666), p = i2(38597), _ = i2(57653), h = i2(33336); class m { constructor(e3) { this._language = e3; @@ -62635,26 +67869,26 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._language; } static get JSONParser() { - return m._jsonParser || (m._jsonParser = new m(c.CodeLanguage.jsn)), m._jsonParser; + return m._jsonParser || (m._jsonParser = new m(d.CodeLanguage.jsn)), m._jsonParser; } static get ArchitectJSONParser() { - return m._architectJSONParser || (m._architectJSONParser = new m(c.CodeLanguage.architectJson)), m._architectJSONParser; + return m._architectJSONParser || (m._architectJSONParser = new m(d.CodeLanguage.architectJson)), m._architectJSONParser; } static get ArchitectExpressionParser() { - return m._architectExpressionParser || (m._architectExpressionParser = new m(c.CodeLanguage.architectExpression)), m._architectExpressionParser; + return m._architectExpressionParser || (m._architectExpressionParser = new m(d.CodeLanguage.architectExpression)), m._architectExpressionParser; } static get ArchitectYAMLParser() { - return m._architectYAMLParser || (m._architectYAMLParser = new m(c.CodeLanguage.architectYaml)), m._architectYAMLParser; + return m._architectYAMLParser || (m._architectYAMLParser = new m(d.CodeLanguage.architectYaml)), m._architectYAMLParser; } static getParserForLanguage(e3) { switch (e3) { - case c.CodeLanguage.architectExpression: + case d.CodeLanguage.architectExpression: return m.ArchitectExpressionParser; - case c.CodeLanguage.architectJson: + case d.CodeLanguage.architectJson: return m.ArchitectJSONParser; - case c.CodeLanguage.architectYaml: + case d.CodeLanguage.architectYaml: return m.ArchitectYAMLParser; - case c.CodeLanguage.jsn: + case d.CodeLanguage.jsn: return m.JSONParser; default: return m.ArchitectJSONParser; @@ -62685,9 +67919,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const e4 = i3.quickParse ? i3.quickParseNode : void 0; let s2; switch (this._language) { - case c.CodeLanguage.architectJson: + case d.CodeLanguage.architectJson: s2 = r2.parser.parse(t3), this.traverseTree(s2, (r3) => { - var o2, s3, d2, c2, p2, f2; + var o2, s3, c2, d2, p2, f2; const T = t3.substring(r3.from, r3.to); switch (n3 && console.log(`JSON Node type name: ${r3.type.name}, Node text: ${T}`), (null == e4 ? void 0 : e4.to) === r3.to && (m2.quickResultParseItem = g.currentParseItem), r3.type.name) { case u.CodeArchitectJsonParserToken.Array: @@ -62698,7 +67932,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; case u.CodeArchitectJsonParserToken.Object: case u.CodeArchitectJsonParserToken.Property: if (a2 && 1 === g.stack.length) { - const e5 = null == t3 ? void 0 : t3.substring(r3.from, r3.to), i4 = null === (s3 = null === (o2 = null == e5 ? void 0 : e5.split(":")) || void 0 === o2 ? void 0 : o2[0]) || void 0 === s3 ? void 0 : s3.slice(1, -1), n4 = null === (c2 = null === (d2 = null == e5 ? void 0 : e5.split(":")) || void 0 === d2 ? void 0 : d2.slice(1)) || void 0 === c2 ? void 0 : c2.join(":"); + const e5 = null == t3 ? void 0 : t3.substring(r3.from, r3.to), i4 = null === (s3 = null === (o2 = null == e5 ? void 0 : e5.split(":")) || void 0 === o2 ? void 0 : o2[0]) || void 0 === s3 ? void 0 : s3.slice(1, -1), n4 = null === (d2 = null === (c2 = null == e5 ? void 0 : e5.split(":")) || void 0 === c2 ? void 0 : c2.slice(1)) || void 0 === d2 ? void 0 : d2.join(":"); h2[i4] = n4; } n3 && console.log(`Skipping ${r3.type.name}`); @@ -62752,51 +67986,51 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } }), s2 = void 0; break; - case c.CodeLanguage.architectYaml: { + case d.CodeLanguage.architectYaml: { let e5; s2 = o.parser.parse(t3), this.traverseTree(s2, (r3) => { - var o2, a3, s3, u2, c2, p2; + var o2, a3, s3, u2, d2, p2; const h3 = t3.substring(r3.from, r3.to); switch (n3 && console.log(`YAML Node type name: ${r3.type.name}, Node text: ${h3}`), r3.type.name) { - case d.CodeArchitectYamlParserToken.FlowMapping: - case d.CodeArchitectYamlParserToken.Stream: - case d.CodeArchitectYamlParserToken.Document: - case d.CodeArchitectYamlParserToken.Pair: - case d.CodeArchitectYamlParserToken.Key: - case d.CodeArchitectYamlParserToken.Item: - case d.CodeArchitectYamlParserToken.ArchitectExpression: - case d.CodeArchitectYamlParserToken.ArchitectLiteral: + case c.CodeArchitectYamlParserToken.FlowMapping: + case c.CodeArchitectYamlParserToken.Stream: + case c.CodeArchitectYamlParserToken.Document: + case c.CodeArchitectYamlParserToken.Pair: + case c.CodeArchitectYamlParserToken.Key: + case c.CodeArchitectYamlParserToken.Item: + case c.CodeArchitectYamlParserToken.ArchitectExpression: + case c.CodeArchitectYamlParserToken.ArchitectLiteral: n3 && console.log(`Skipping ${r3.type.name}`); break; - case d.CodeArchitectYamlParserToken.ArchitectExpressionContent: + case c.CodeArchitectYamlParserToken.ArchitectExpressionContent: g.addAssignArchitectExpr(r3, null === (o2 = t3.substring(r3.from, r3.to)) || void 0 === o2 ? void 0 : o2.trim()); break; - case d.CodeArchitectYamlParserToken.ArchitectLiteralContent: + case c.CodeArchitectYamlParserToken.ArchitectLiteralContent: g.addAssignArchitectLiteral(r3, null === (a3 = t3.substring(r3.from, r3.to)) || void 0 === a3 ? void 0 : a3.trim()); break; - case d.CodeArchitectYamlParserToken.BlockMapping: + case c.CodeArchitectYamlParserToken.BlockMapping: g.pushObject(r3), e5 = this._incrementYamlIndent(e5), this._checkYamlIndent(g, r3, h3, e5, t3); break; - case d.CodeArchitectYamlParserToken.BlockSequence: + case c.CodeArchitectYamlParserToken.BlockSequence: g.pushArray(r3), e5 = this._incrementYamlIndent(e5), this._checkYamlIndent(g, r3, h3, e5); break; - case d.CodeArchitectYamlParserToken.ArrayItemStartSeparator: { - const t4 = null === (c2 = null === (u2 = g.unwindToArray(null === (s3 = g.getLineAndCharPosForPosition(r3.from)) || void 0 === s3 ? void 0 : s3.charPos)) || void 0 === u2 ? void 0 : u2.lineInfo) || void 0 === c2 ? void 0 : c2.charPos; + case c.CodeArchitectYamlParserToken.ArrayItemStartSeparator: { + const t4 = null === (d2 = null === (u2 = g.unwindToArray(null === (s3 = g.getLineAndCharPosForPosition(r3.from)) || void 0 === s3 ? void 0 : s3.charPos)) || void 0 === u2 ? void 0 : u2.lineInfo) || void 0 === d2 ? void 0 : d2.charPos; void 0 !== t4 && (e5 = t4), g.addArrayItemStartSeparator(r3, h3), this._checkYamlIndent(g, r3, h3, e5); break; } - case d.CodeArchitectYamlParserToken.KeyValueSeparator: + case c.CodeArchitectYamlParserToken.KeyValueSeparator: g.addPropertyValueSeparator(r3, h3); break; - case d.CodeArchitectYamlParserToken.Literal: - case d.CodeArchitectYamlParserToken.QuotedLiteral: { - const t4 = r3.type.name === d.CodeArchitectYamlParserToken.QuotedLiteral, i4 = t4 ? h3.slice(1, -1) : h3; - let n4 = g.currentParseItem; - if (g.isParseItemObject(n4) || g.isParseItemArray(n4) && !n4.arrayItemPrefixSeparatorAdded) { + case c.CodeArchitectYamlParserToken.Literal: + case c.CodeArchitectYamlParserToken.QuotedLiteral: { + const t4 = r3.type.name === c.CodeArchitectYamlParserToken.QuotedLiteral, i4 = t4 ? h3.slice(1, -1) : h3; + let o3 = g.currentParseItem; + if (g.isParseItemObject(o3) || g.isParseItemArray(o3) && !o3.arrayItemPrefixSeparatorAdded) { const t5 = g.unwindToArrayOrObject(null === (p2 = g.getLineAndCharPosForPosition(r3.from)) || void 0 === p2 ? void 0 : p2.charPos); - t5 && (n4 = t5, e5 = t5.lineInfo.charPos), this._checkYamlIndent(g, r3, h3, e5); + t5 && (o3 = t5, e5 = t5.lineInfo.charPos), this._checkYamlIndent(g, r3, h3, e5); } - g.isParseItemObject(n4) && g.addPropertyAssignment(r3, h3), g.isParseItemObjectPropertyValue(n4) || g.isParseItemArray(n4) ? g.assignScalarValue(r3, i4, t4) : console.log(`unknown '${h3}'`); + g.isParseItemObject(o3) && g.addPropertyAssignment(r3, h3), g.isParseItemObjectPropertyValue(o3) || g.isParseItemArray(o3) ? g.assignScalarValue(r3, i4, t4) : n3 && console.log(`unknown '${h3}'`); break; } default: @@ -62988,6 +68222,91 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const t3 = n2.isFeatureAvailable(r2.divisionedFlowOutcomes) ? a.getOutcomeDivisionView : a.getOutcome; return o.build(t3).templateParams({ id: e3 }).call().then((e4) => 0 !== e4.entities?.length && void 0 !== e4.entities ? e4.entities[0] : e4); }, s.prototype.getOutcome.api = a.getOutcome, e2.exports = new s(); + }, 51857: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.strictIntType = void 0; + const n2 = i2(25074); + function r2(e3) { + return 48 <= e3 && e3 <= 57 || 65 <= e3 && e3 <= 70 || 97 <= e3 && e3 <= 102; + } + function o(e3) { + return 48 <= e3 && e3 <= 55; + } + function a(e3) { + return 48 <= e3 && e3 <= 57; + } + t2.strictIntType = (0, n2.defineScalarTag)("tag:yaml.org,2002:int", { implicit: true, implicitFirstChars: ["-", "+", ..."0123456789"], resolve: (e3) => (function(e4) { + if (-1 !== e4.indexOf("_")) return false; + const t3 = e4.length; + let i3, n3 = 0, s = false; + if (!t3) return false; + if (i3 = e4[n3], "-" !== i3 && "+" !== i3 || (i3 = e4[++n3]), "0" === i3) { + if (n3 + 1 === t3) return true; + if (i3 = e4[++n3], "b" === i3) { + for (n3++; n3 < t3; n3++) { + if (i3 = e4[n3], "0" !== i3 && "1" !== i3) return false; + s = true; + } + return s; + } + if ("x" === i3) { + for (n3++; n3 < t3; n3++) { + if (i3 = e4[n3], !r2(e4.charCodeAt(n3))) return false; + s = true; + } + return s; + } + for (; n3 < t3; n3++) { + if (i3 = e4[n3], !o(e4.charCodeAt(n3))) return false; + s = true; + } + return s; + } + if ("_" === i3) return false; + for (; n3 < t3 && (i3 = e4[n3], ":" !== i3); n3++) { + if (!a(e4.charCodeAt(n3))) return false; + s = true; + } + return !!s && (":" !== i3 || /^(:[0-5]?[0-9])+$/.test(e4.slice(n3))); + })(e3) ? (function(e4) { + const t3 = e4; + let i3, n3, r3 = 1; + const o2 = []; + if (i3 = t3[0], "-" === i3 || "+" === i3) { + "-" === i3 && (r3 = -1); + const e5 = t3.slice(1); + if (i3 = e5[0], "0" === e5) return 0; + if ("0" === i3) return "b" === e5[1] ? r3 * parseInt(e5.slice(2), 2) : "x" === e5[1] ? r3 * parseInt(e5, 16) : r3 * parseInt(e5, 8); + if (-1 !== e5.indexOf(":")) { + e5.split(":").forEach(function(e6) { + o2.unshift(parseInt(e6, 10)); + }); + let t4 = 0; + return n3 = 1, o2.forEach(function(e6) { + t4 += e6 * n3, n3 *= 60; + }), r3 * t4; + } + return r3 * parseInt(e5, 10); + } + if ("0" === t3) return 0; + if ("0" === i3) return "b" === t3[1] ? r3 * parseInt(t3.slice(2), 2) : "x" === t3[1] ? r3 * parseInt(t3, 16) : r3 * parseInt(t3, 8); + if (-1 !== t3.indexOf(":")) { + t3.split(":").forEach(function(e6) { + o2.unshift(parseInt(e6, 10)); + }); + let e5 = 0; + return n3 = 1, o2.forEach(function(t4) { + e5 += t4 * n3, n3 *= 60; + }), r3 * e5; + } + return r3 * parseInt(t3, 10); + })(e3) : n2.NOT_RESOLVED, identify: function(e3) { + return "[object Number]" === Object.prototype.toString.call(e3) && e3 % 1 == 0 && !(0 === (t3 = e3) && Number.NEGATIVE_INFINITY === 1 / t3); + var t3; + }, represent: function(e3) { + const t3 = e3.toString(10); + return t3.includes("e") ? BigInt(e3).toString() : t3; + } }); }, 51895: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -63011,8 +68330,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = r2; }, 51905: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(74359)), a = i2(51126), s = i2(30163), l = n2.__importStar(i2(17498)), u = i2(12179), d = n2.__importDefault(i2(97891)), c = i2(28803), p = n2.__importDefault(i2(86855)), _ = i2(47957); - class h extends p.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(74359)), a = i2(51126), s = i2(30163), l = n2.__importStar(i2(17498)), u = i2(12179), c = n2.__importDefault(i2(97891)), d = i2(28803), p = n2.__importDefault(i2(86855)), _ = n2.__importDefault(i2(4648)), h = i2(47957); + class m extends p.default { constructor(e3, t3) { super(e3, t3), this._acknowledgementInvalidUser = false, this.getManagerForCurrentUser().addItem(o.getConnectedUser()); } @@ -63061,17 +68380,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.acknowledgementUserId ? (l.registerNonDependencyValidationItem(this, "acknowledgementUser", this.acknowledgementUserDisplayName, this.acknowledgementUserId, this.getManagerForUserWhoAcknowledged().dependencyType.value, this.parentFlow), this.acknowledgementUser.configListManager = this.getManagerForUserWhoAcknowledged()) : this.acknowledgementUser.configListManager = this.getManagerForCurrentUser(), super.updateDependencies(); } static get managedProperties() { - return [{ property: "acknowledgementUser", createDetails: c.NetworkBasedActionProperty.createCreateDetails("acknowledgementUserId", "acknowledgementUserDisplayName", s.userManager, _.secureData.extractWarningValidationError, _.secureData.extractWarningValidationError, null), yamlOptions: h.createYamlOptions("acknowledgementUser", (e3) => e3.setPropertyName("acknowledgeSecureUsage").setShouldBeBoolIndicatingIfSet(true)) }]; + return [{ property: "acknowledgementUser", createDetails: d.NetworkBasedActionProperty.createCreateDetails("acknowledgementUserId", "acknowledgementUserDisplayName", s.userManager, h.secureData.extractWarningValidationError, h.secureData.extractWarningValidationError, null), yamlOptions: m.createYamlOptions("acknowledgementUser", (e3) => e3.setPropertyName("acknowledgeSecureUsage").setShouldBeBoolIndicatingIfSet(true)) }]; } validate(e3) { super.validate(e3); let t3 = e3.getIssues(this.id); t3 && 0 !== t3.errors.length || r2.default.find(this.variables.items, function(e4) { return !e4.expression.consumesSecureData; - }) && e3.addWarning(this, _.secureData.notUsingSecureDataWarning), t3 = e3.getIssues(this.id), t3 && 0 !== t3.errors.length || this.acknowledgementUserId || e3.addError(this, _.secureData.extractWarningValidationError); + }) && e3.addWarning(this, h.secureData.notUsingSecureDataWarning), t3 = e3.getIssues(this.id), t3 && 0 !== t3.errors.length || this.acknowledgementUserId || e3.addError(this, h.secureData.extractWarningValidationError); } } - h.info = d.default.createActionInfo({ actionClass: h, actionIsAlwaysSecure: true, canBeInTask: true, canBeTreeNode: false, helpTopic: u.helpTopics.actions.extractSecureData, modelClass: i2(24215), name: _.actions.extractSecureData, scriptingName: "ArchActionExtractSecureData" }), t2.A = h; + m.info = c.default.createActionInfo({ actionClass: m, actionIsAlwaysSecure: true, canBeInTask: true, canBeTreeNode: false, helpTopic: u.helpTopics.actions.extractSecureData, modelClass: i2(24215), modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } }, name: h.actions.extractSecureData, scriptingName: "ArchActionExtractSecureData" }), t2.A = m; }, 51913: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -63250,8 +68569,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 51971: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(81116)), o = i2(14394), a = n2.__importStar(i2(17498)), s = i2(12179), l = n2.__importDefault(i2(68460)), u = i2(20374), d = i2(47957); - class c extends l.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(81116)), o = i2(14394), a = n2.__importStar(i2(17498)), s = i2(12179), l = n2.__importDefault(i2(68460)), u = i2(20374), c = i2(47957); + class d extends l.default { constructor() { super(...arguments), this.modelPropertyName = "outboundCallSettings"; } @@ -63269,16 +68588,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; e3.outboundCallSettings || (e3.outboundCallSettings = new u()), e3.outboundCallSettings.contactList = this.contactList.getConfiguration(e3, t3), e3.outboundCallSettings.defaultWrapupCode = this.defaultWrapupCode.getConfiguration(e3, t3); } getDisplayName() { - return d.outboundCallSettings.treeLabel; + return c.outboundCallSettings.treeLabel; } get isOutboundCallSettingsNode() { return true; } loadConfiguration(e3) { - this.contactList = e3.outboundCallSettings ? r2.expression(this.parentFlow, this, e3.outboundCallSettings.contactList, d.expression.contactList, o.globalTypes.contactList, null, o.globalTypes.contactList.createExpressionOptionClass().setAsInput(true).setIninTestingField("outboundSettings-contactList")) : this.contactList ? this.contactList : r2.expression(this.parentFlow, this, null, d.expression.contactList, o.globalTypes.contactList, null, o.globalTypes.contactList.createExpressionOptionClass().setAsInput(true).setIninTestingField("outboundSettings-contactList")), this.defaultWrapupCode = e3.outboundCallSettings ? r2.expression(this.parentFlow, this, e3.outboundCallSettings.defaultWrapupCode, d.outboundCallSettings.defaultWrapupCodeLabel, o.globalTypes.wrapupCode, null, o.globalTypes.wrapupCode.createExpressionOptionClass().setAsInput(true).setIninTestingField("outboundSettings-wrapupCode")) : this.defaultWrapupCode ? this.defaultWrapupCode : r2.expression(this.parentFlow, this, null, d.outboundCallSettings.defaultWrapupCodeLabel, o.globalTypes.wrapupCode, null, o.globalTypes.wrapupCode.createExpressionOptionClass().setAsInput(true).setIninTestingField("outboundSettings-wrapupCode")); + this.contactList = e3.outboundCallSettings ? r2.expression(this.parentFlow, this, e3.outboundCallSettings.contactList, c.expression.contactList, o.globalTypes.contactList, null, o.globalTypes.contactList.createExpressionOptionClass().setAsInput(true).setIninTestingField("outboundSettings-contactList")) : this.contactList ? this.contactList : r2.expression(this.parentFlow, this, null, c.expression.contactList, o.globalTypes.contactList, null, o.globalTypes.contactList.createExpressionOptionClass().setAsInput(true).setIninTestingField("outboundSettings-contactList")), this.defaultWrapupCode = e3.outboundCallSettings ? r2.expression(this.parentFlow, this, e3.outboundCallSettings.defaultWrapupCode, c.outboundCallSettings.defaultWrapupCodeLabel, o.globalTypes.wrapupCode, null, o.globalTypes.wrapupCode.createExpressionOptionClass().setAsInput(true).setIninTestingField("outboundSettings-wrapupCode")) : this.defaultWrapupCode ? this.defaultWrapupCode : r2.expression(this.parentFlow, this, null, c.outboundCallSettings.defaultWrapupCodeLabel, o.globalTypes.wrapupCode, null, o.globalTypes.wrapupCode.createExpressionOptionClass().setAsInput(true).setIninTestingField("outboundSettings-wrapupCode")); } loadSettings(e3, t3) { - this.contactList = r2.expression(this.parentFlow, this, null, d.expression.contactList, o.globalTypes.contactList, null, o.globalTypes.contactList.createExpressionOptionClass().setAsInput(true)), this.contactList.update(e3.name, e3.id), this.defaultWrapupCode = r2.expression(this.parentFlow, this, null, d.outboundCallSettings.defaultWrapupCodeLabel, o.globalTypes.wrapupCode, null, o.globalTypes.contactList.createExpressionOptionClass().setAsInput(true)), this.defaultWrapupCode.update(t3.name, t3.id); + this.contactList = r2.expression(this.parentFlow, this, null, c.expression.contactList, o.globalTypes.contactList, null, o.globalTypes.contactList.createExpressionOptionClass().setAsInput(true)), this.contactList.update(e3.name, e3.id), this.defaultWrapupCode = r2.expression(this.parentFlow, this, null, c.outboundCallSettings.defaultWrapupCodeLabel, o.globalTypes.wrapupCode, null, o.globalTypes.contactList.createExpressionOptionClass().setAsInput(true)), this.defaultWrapupCode.update(t3.name, t3.id); } get nodeGuxIcon() { return "fa/gears-regular"; @@ -63302,12 +68621,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super._initializeDesignTime(), this.contactList.initializeDesignTime(), this.defaultWrapupCode.initializeDesignTime(); } } - t2.default = c; + t2.default = d; }, 51978: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(65485)), l = i2(25965), u = i2(71528); - class d extends s.default { + class c extends s.default { constructor(e3) { super(e3); } @@ -63372,21 +68691,21 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("selectionResultVariable", "setSelectionResultVariable"), e3, false), this.valueSelectionResult.setVariable(e3); } } - t2.default = d; + t2.default = c; }, 51998: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getScriptingTemplate = function(e3, t3, i3, n3) { const a2 = l.default.getDefinitionForFlowType(e3); if (!t3 && a2.languagesSupportDefaultLanguage) { const t4 = `no flow default language was provided, but the flow type ${e3} definition says it needs a default language.`; - throw v.error(t4), t4; + throw I.error(t4), t4; } switch (e3) { case r2.flowTypes.flowTypeVoicemail: case r2.flowTypes.flowTypeInboundCall: case r2.flowTypes.flowTypeOutboundCall: case r2.flowTypes.flowTypeSecureCall: - return (0, c.default)(t3, i3, e3); + return (0, d.default)(t3, i3, e3); case r2.flowTypes.flowTypeInQueueCall: return (0, A.default)(t3, i3, true); case r2.flowTypes.flowTypeInQueueEmail: @@ -63398,7 +68717,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return (0, u.default)(t3, i3, s.default.Disconnect); case r2.flowTypes.flowTypeBot: case r2.flowTypes.flowTypeDigitalBot: - return (0, d.default)(e3, t3, i3); + return (0, c.default)(e3, t3, i3); case r2.flowTypes.flowTypeSurveyInvite: return (0, u.default)(t3, i3); case r2.flowTypes.flowTypeEmailSend: @@ -63432,10 +68751,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; case r2.flowTypes.flowTypeInQueueShortMessage: return (0, S.default)(t3, i3, s.default.EndInQueueState); case r2.flowTypes.flowTypeSecureCall: - return (0, O.default)(t3, i3, !n3 || n3.secureCallAgentInitiated); + return (0, v.default)(t3, i3, !n3 || n3.secureCallAgentInitiated); case r2.flowTypes.flowTypeBot: case r2.flowTypes.flowTypeDigitalBot: - return (0, d.default)(e3, t3, i3); + return (0, c.default)(e3, t3, i3); case r2.flowTypes.flowTypeSurveyInvite: return (0, u.default)(t3, i3); case r2.flowTypes.flowTypeEmailSend: @@ -63447,7 +68766,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; case r2.flowTypes.flowTypeCommonModule: return (0, f.default)(t3, n3 && n3.destinationFlowTypes); case r2.flowTypes.flowTypeVoicemail: - return (0, I.default)(t3, i3); + return (0, O.default)(t3, i3); case r2.flowTypes.flowTypeVoice: return (0, p.default)(t3, i3); case r2.flowTypes.flowTypeVoiceSurvey: @@ -63456,7 +68775,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; console.error((0, o.sprintf)("Type not supported for default template: %s", e3)); } }; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(15244)), l = n2.__importDefault(i2(98114)), u = n2.__importDefault(i2(42193)), d = n2.__importDefault(i2(41366)), c = n2.__importDefault(i2(64499)), p = n2.__importDefault(i2(11749)), _ = n2.__importDefault(i2(76063)), h = n2.__importDefault(i2(48444)), m = n2.__importDefault(i2(37104)), g = n2.__importDefault(i2(27816)), f = n2.__importDefault(i2(67121)), T = n2.__importDefault(i2(61132)), y = n2.__importDefault(i2(68631)), S = n2.__importDefault(i2(80782)), A = n2.__importDefault(i2(3692)), N = n2.__importDefault(i2(91048)), O = n2.__importDefault(i2(34621)), I = n2.__importDefault(i2(24739)), v = a.getTopic("FlowTemplates"); + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(15244)), l = n2.__importDefault(i2(98114)), u = n2.__importDefault(i2(42193)), c = n2.__importDefault(i2(41366)), d = n2.__importDefault(i2(64499)), p = n2.__importDefault(i2(11749)), _ = n2.__importDefault(i2(76063)), h = n2.__importDefault(i2(48444)), m = n2.__importDefault(i2(37104)), g = n2.__importDefault(i2(27816)), f = n2.__importDefault(i2(67121)), T = n2.__importDefault(i2(61132)), y = n2.__importDefault(i2(68631)), S = n2.__importDefault(i2(80782)), A = n2.__importDefault(i2(3692)), N = n2.__importDefault(i2(91048)), v = n2.__importDefault(i2(34621)), O = n2.__importDefault(i2(24739)), I = a.getTopic("FlowTemplates"); }, 52023: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.PromiseDefer = void 0, t2.PromiseDefer = class { @@ -63529,7 +68848,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 52096: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(15745)), o = n2.__importDefault(i2(57165)), a = n2.__importDefault(i2(72883)), s = n2.__importDefault(i2(56819)), l = n2.__importDefault(i2(32829)), u = n2.__importDefault(i2(36243)), d = n2.__importDefault(i2(73697)), c = n2.__importDefault(i2(47673)), p = n2.__importDefault(i2(72188)), _ = n2.__importDefault(i2(9292)), h = n2.__importDefault(i2(88051)), m = n2.__importDefault(i2(61203)), g = n2.__importDefault(i2(34014)), f = n2.__importDefault(i2(19784)), T = n2.__importDefault(i2(67346)), y = n2.__importDefault(i2(49384)), S = n2.__importDefault(i2(50097)), A = { ArchMenu: r2.default, ArchMenuDialByExtension: o.default, ArchMenuDisconnect: a.default, ArchMenuJumpToMenu: s.default, ArchMenuJumpToTask: l.default, ArchMenuPreviousMenu: u.default, ArchMenuRepeatMenu: d.default, ArchMenuReturnToAgent: c.default, ArchMenuSubMenu: p.default, ArchMenuTask: _.default, ArchMenuTransferToAcd: h.default, ArchMenuTransferToFlow: m.default, ArchMenuTransferToFlowSecure: g.default, ArchMenuTransferToGroup: f.default, ArchMenuTransferToNumber: T.default, ArchMenuTransferToUser: y.default, ArchMenuTransferToVoicemail: S.default }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(15745)), o = n2.__importDefault(i2(57165)), a = n2.__importDefault(i2(72883)), s = n2.__importDefault(i2(56819)), l = n2.__importDefault(i2(32829)), u = n2.__importDefault(i2(36243)), c = n2.__importDefault(i2(73697)), d = n2.__importDefault(i2(47673)), p = n2.__importDefault(i2(72188)), _ = n2.__importDefault(i2(9292)), h = n2.__importDefault(i2(88051)), m = n2.__importDefault(i2(61203)), g = n2.__importDefault(i2(34014)), f = n2.__importDefault(i2(19784)), T = n2.__importDefault(i2(67346)), y = n2.__importDefault(i2(49384)), S = n2.__importDefault(i2(50097)), A = { ArchMenu: r2.default, ArchMenuDialByExtension: o.default, ArchMenuDisconnect: a.default, ArchMenuJumpToMenu: s.default, ArchMenuJumpToTask: l.default, ArchMenuPreviousMenu: u.default, ArchMenuRepeatMenu: c.default, ArchMenuReturnToAgent: d.default, ArchMenuSubMenu: p.default, ArchMenuTask: _.default, ArchMenuTransferToAcd: h.default, ArchMenuTransferToFlow: m.default, ArchMenuTransferToFlowSecure: g.default, ArchMenuTransferToGroup: f.default, ArchMenuTransferToNumber: T.default, ArchMenuTransferToUser: y.default, ArchMenuTransferToVoicemail: S.default }; t2.default = A; }, 52124: (e2, t2, i2) => { const n2 = i2(10798), r2 = i2(4648).default, o = i2(36019).default, a = i2(92737); @@ -63614,14 +68933,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.AllScriptsManager = l, t2.allScriptsManager = new l(); }, 52423: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(10798)), u = n2.__importDefault(i2(4648)), d = i2(33381), c = i2(96618), p = i2(21305), _ = i2(80428), h = i2(49892), m = i2(81516), g = i2(66381), f = n2.__importDefault(i2(98114)), T = i2(24032), y = i2(99469), S = n2.__importDefault(i2(97891)), A = i2(87870), N = n2.__importStar(i2(35711)), O = n2.__importStar(i2(89134)), I = n2.__importStar(i2(1115)), v = i2(17604), C = i2(12729), b = i2(47957), E = (0, v.sprintf)(b.errors.invalidFlowTypeCombinationError, b.actions.setPostFlow, (0, g.getListDisplayString)([b.flow.types.inboundCall, b.flow.types.outboundCall, b.flow.types.inQueueCall, b.flow.types.inboundShortMessage], void 0, void 0, true)); - class R extends a.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(10798)), u = n2.__importDefault(i2(4648)), c = i2(33381), d = i2(96618), p = i2(21305), _ = i2(80428), h = i2(49892), m = i2(81516), g = i2(66381), f = n2.__importDefault(i2(98114)), T = i2(24032), y = i2(99469), S = n2.__importDefault(i2(97891)), A = i2(87870), N = n2.__importStar(i2(35711)), v = n2.__importStar(i2(89134)), O = n2.__importStar(i2(1115)), I = i2(17604), C = i2(12729), b = i2(47957), E = (0, I.sprintf)(b.errors.invalidFlowTypeCombinationError, b.actions.setPostFlow, (0, g.getListDisplayString)([b.flow.types.inboundCall, b.flow.types.outboundCall, b.flow.types.inQueueCall, b.flow.types.inboundShortMessage], void 0, void 0, true)); + class w extends a.default { constructor(e3, t3) { var i3; super(e3.parentFlow, e3), t3 && this._loadModel(t3), this.topic = (0, T.getTopic)("SetPostFlowAction").withContext("parentFlowId", null === (i3 = null == e3 ? void 0 : e3.topParentFlow) || void 0 === i3 ? void 0 : i3.id); } static get managedProperties() { - return [{ createDetails: A.NoteActionProperty.createCreateDetails(E, "error", "commonModuleNote"), property: "commonModuleNote", options: h.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(1)), yamlOptions: R.createYamlOptions("commonModuleNote", (e3) => e3.setSkipProperty(true)) }, { label: b.setPostFlow.target, options: m.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(b.setPostFlow.target, b.setPostFlow.targetTypeDescription).setAsInput().setIsOptional(false).setDefaultText(O.caller.id).setAllowModeLiteralOnly().setIninTestingField("setPostFlowAction-target").setUiPropertyOrder(2).facets.setTrim(true).setAllowableValues(O.allPostCallFlowTargetTypes).setAllowableValuePlaceholder(b.setPostFlow.targetPlaceholder)), optionsForSpecificFlowTypes: [{ flowTypes: [c.flowTypes.flowTypeInboundShortMessage], options: m.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(b.setPostFlow.target, b.setPostFlow.targetTypeDescription).setAsInput().setIsOptional(false).setDefaultText(O.agent.id).setAllowModeLiteralOnly().setIninTestingField("setPostFlowAction-target").setUiPropertyOrder(2).setFeatureConfigName(u.default.postFlowDigitalFeature).facets.setTrim(true).setAllowableValues(O.allPostMessageFlowTargetTypes).setAllowableValuePlaceholder(b.setPostFlow.targetPlaceholder)) }], property: "target", type: _.expressionTypeNames.string }, { label: b.setPostFlow.actionType, options: m.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(b.setPostFlow.actionType, b.setPostFlow.actionDescription).setAsInput().setIsOptional(false).setDefaultText(N.inboundCallFlow.id).setAllowModeLiteralOnly().setIninTestingField("setPostFlowAction-actionType").setUiPropertyOrder(3).setReadOnly(l.isFeatureUnavailable(u.default.voiceSurveyFlows)).facets.setAllowableValues(R.getPostFlowActionTypesForFlowType(c.flowTypes.flowTypeInboundCall)).setDisplayFacetsAsInputWhenOnlyOneValueAllowed(l.isFeatureUnavailable(u.default.voiceSurveyFlows))), property: "actionType", type: _.expressionTypeNames.string, yamlOptions: R.createYamlOptions("inboundCallFlow", (e3) => e3.setExportOrder(4)), optionsForSpecificFlowTypes: [{ flowTypes: [c.flowTypes.flowTypeInboundShortMessage], options: m.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(b.setPostFlow.actionType, b.setPostFlow.actionDescription).setAsInput().setIsOptional(false).setDefaultText(N.inboundShortMessageFlow.id).setAllowModeLiteralOnly().setIninTestingField("setPostFlowAction-actionType").setFeatureConfigName(u.default.postFlowDigitalFeature).setUiPropertyOrder(4).facets.setAllowableValues(R.getPostFlowActionTypesForFlowType(c.flowTypes.flowTypeInboundShortMessage))) }] }, { createDetails: d.FlowReferenceProperty.createCreateDetails({ flowType: c.flowTypes.flowTypeInboundCall, showVersionSelection: false }), options: y.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(5).setIninTestingField("setPostFlowAction-inboundCallFlow").setCanCreateObjectInAction(true)), property: "inboundCallFlow" }, { createDetails: C.VoiceSurveyFlowReferenceProperty.createCreateDetails({ flowType: c.flowTypes.flowTypeVoiceSurvey, showVersionSelection: false, useFlowTypeSpecificModelProps: true }), options: y.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(6).setIninTestingField("setPostFlowAction-voiceSurveyFlow").setCanCreateObjectInAction(true)), property: "voiceSurveyFlow" }, { createDetails: d.FlowReferenceProperty.createCreateDetails({ flowType: c.flowTypes.flowTypeInboundShortMessage, showVersionSelection: false, useFlowTypeSpecificModelProps: true }), options: y.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(7).setIninTestingField("setPostFlowAction-inboundShortMessageFlow").setFeatureConfigName(u.default.postFlowDigitalFeature).setCanCreateObjectInAction(true)), property: "inboundShortMessageFlow" }, { label: b.transfer.invocationData, options: p.ExpressionTypeJsonOptions.create((e3) => e3.setDescriptionInfo(b.transfer.invocationData, b.setPostFlow.invocationDataDescription).setAsInput().setIninTestingField("setPostFlowAction-invocationData").setAllowModeExpression(true).setAllowModeLiteral(true).setAllowNotSet(true).setIsOptional(true)), property: "invocationData", type: _.expressionTypeNames.json }, { createDetails: A.NoteActionProperty.createCreateDetails(b.setPostFlow.postFlowActionClearedOnSecureTransfer, "warning", "setPostFlowNote"), property: "updateWarning", yamlOptions: R.createYamlOptions("updateWarning", (e3) => e3.setSkipProperty(true)) }]; + return [{ createDetails: A.NoteActionProperty.createCreateDetails(E, "error", "commonModuleNote"), property: "commonModuleNote", options: h.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(1)), yamlOptions: w.createYamlOptions("commonModuleNote", (e3) => e3.setSkipProperty(true)) }, { label: b.setPostFlow.target, options: m.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(b.setPostFlow.target, b.setPostFlow.targetTypeDescription).setAsInput().setIsOptional(false).setDefaultText(v.caller.id).setAllowModeLiteralOnly().setIninTestingField("setPostFlowAction-target").setUiPropertyOrder(2).facets.setTrim(true).setAllowableValues(v.allPostCallFlowTargetTypes).setAllowableValuePlaceholder(b.setPostFlow.targetPlaceholder)), optionsForSpecificFlowTypes: [{ flowTypes: [d.flowTypes.flowTypeInboundShortMessage], options: m.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(b.setPostFlow.target, b.setPostFlow.targetTypeDescription).setAsInput().setIsOptional(false).setDefaultText(v.agent.id).setAllowModeLiteralOnly().setIninTestingField("setPostFlowAction-target").setUiPropertyOrder(2).setFeatureConfigName(u.default.postFlowDigitalFeature).facets.setTrim(true).setAllowableValues(v.allPostMessageFlowTargetTypes).setAllowableValuePlaceholder(b.setPostFlow.targetPlaceholder)) }], property: "target", type: _.expressionTypeNames.string }, { label: b.setPostFlow.actionType, options: m.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(b.setPostFlow.actionType, b.setPostFlow.actionDescription).setAsInput().setIsOptional(false).setDefaultText(N.inboundCallFlow.id).setAllowModeLiteralOnly().setIninTestingField("setPostFlowAction-actionType").setUiPropertyOrder(3).setReadOnly(l.isFeatureUnavailable(u.default.voiceSurveyFlows)).facets.setAllowableValues(w.getPostFlowActionTypesForFlowType(d.flowTypes.flowTypeInboundCall)).setDisplayFacetsAsInputWhenOnlyOneValueAllowed(l.isFeatureUnavailable(u.default.voiceSurveyFlows))), property: "actionType", type: _.expressionTypeNames.string, yamlOptions: w.createYamlOptions("inboundCallFlow", (e3) => e3.setExportOrder(4)), optionsForSpecificFlowTypes: [{ flowTypes: [d.flowTypes.flowTypeInboundShortMessage], options: m.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(b.setPostFlow.actionType, b.setPostFlow.actionDescription).setAsInput().setIsOptional(false).setDefaultText(N.inboundShortMessageFlow.id).setAllowModeLiteralOnly().setIninTestingField("setPostFlowAction-actionType").setFeatureConfigName(u.default.postFlowDigitalFeature).setUiPropertyOrder(4).facets.setAllowableValues(w.getPostFlowActionTypesForFlowType(d.flowTypes.flowTypeInboundShortMessage))) }] }, { createDetails: c.FlowReferenceProperty.createCreateDetails({ flowType: d.flowTypes.flowTypeInboundCall, showVersionSelection: false }), options: y.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(5).setIninTestingField("setPostFlowAction-inboundCallFlow").setCanCreateObjectInAction(true)), property: "inboundCallFlow" }, { createDetails: C.VoiceSurveyFlowReferenceProperty.createCreateDetails({ flowType: d.flowTypes.flowTypeVoiceSurvey, showVersionSelection: false, useFlowTypeSpecificModelProps: true }), options: y.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(6).setIninTestingField("setPostFlowAction-voiceSurveyFlow").setCanCreateObjectInAction(true)), property: "voiceSurveyFlow" }, { createDetails: c.FlowReferenceProperty.createCreateDetails({ flowType: d.flowTypes.flowTypeInboundShortMessage, showVersionSelection: false, useFlowTypeSpecificModelProps: true }), options: y.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(7).setIninTestingField("setPostFlowAction-inboundShortMessageFlow").setFeatureConfigName(u.default.postFlowDigitalFeature).setCanCreateObjectInAction(true)), property: "inboundShortMessageFlow" }, { label: b.transfer.invocationData, options: p.ExpressionTypeJsonOptions.create((e3) => e3.setDescriptionInfo(b.transfer.invocationData, b.setPostFlow.invocationDataDescription).setAsInput().setIninTestingField("setPostFlowAction-invocationData").setAllowModeExpression(true).setAllowModeLiteral(true).setAllowNotSet(true).setIsOptional(true)), property: "invocationData", type: _.expressionTypeNames.json }, { createDetails: A.NoteActionProperty.createCreateDetails(b.setPostFlow.postFlowActionClearedOnSecureTransfer, "warning", "setPostFlowNote"), property: "updateWarning", yamlOptions: w.createYamlOptions("updateWarning", (e3) => e3.setSkipProperty(true)) }]; } get flowId() { var e3; @@ -63645,8 +68964,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; _updateOptionsForCommonModule() { var e3; if (this._updateCommonModuleNoteVisibility(), !(null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.isCommonModuleFlow)) return; - const t3 = this.parentFlow.destinationFlowTypes || [], i3 = this.parentFlow.destinationFlowTypesInclude(c.flowTypes.flowTypeInboundShortMessage); - 1 === t3.length && i3 ? (this.target && (this.target.options.facets.allowableValues = O.allPostMessageFlowTargetTypes, this.target.options.defaultText = O.agent.id, this.target.text = O.agent.id), this.actionType && (this.actionType.options.facets.allowableValues = [N.inboundShortMessageFlow], this.actionType.options.defaultText = N.inboundShortMessageFlow.id, this.actionType.text = N.inboundShortMessageFlow.id)) : (this.target && (this.target.options.facets.allowableValues = O.allPostCallFlowTargetTypes, this.target.options.defaultText = O.caller.id), this.actionType && (this.actionType.options.facets.allowableValues = l.isFeatureAvailable(u.default.voiceSurveyFlows) ? [N.inboundCallFlow, N.voiceSurveyFlow] : [N.inboundCallFlow], this.actionType.options.defaultText = N.inboundCallFlow.id)); + const t3 = this.parentFlow.destinationFlowTypes || [], i3 = this.parentFlow.destinationFlowTypesInclude(d.flowTypes.flowTypeInboundShortMessage); + 1 === t3.length && i3 ? (this.target && (this.target.options.facets.allowableValues = v.allPostMessageFlowTargetTypes, this.target.options.defaultText = v.agent.id, this.target.text = v.agent.id), this.actionType && (this.actionType.options.facets.allowableValues = [N.inboundShortMessageFlow], this.actionType.options.defaultText = N.inboundShortMessageFlow.id, this.actionType.text = N.inboundShortMessageFlow.id)) : (this.target && (this.target.options.facets.allowableValues = v.allPostCallFlowTargetTypes, this.target.options.defaultText = v.caller.id), this.actionType && (this.actionType.options.facets.allowableValues = l.isFeatureAvailable(u.default.voiceSurveyFlows) ? [N.inboundCallFlow, N.voiceSurveyFlow] : [N.inboundCallFlow], this.actionType.options.defaultText = N.inboundCallFlow.id)); } _updateOutOfService() { let e3 = true, t3 = true, i3 = true, n3 = true, r3 = false, o2 = true; @@ -63660,7 +68979,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; case N.inboundShortMessageFlow.id: i3 = false, n3 = false; } - this.inboundCallFlow.outOfService !== e3 && (this.inboundCallFlow.outOfService = e3, r3 = true), this.voiceSurveyFlow.outOfService !== t3 && (this.voiceSurveyFlow.outOfService = t3, r3 = true), this.inboundShortMessageFlow.outOfService !== i3 && (this.inboundShortMessageFlow.outOfService = i3, r3 = true), this.updateWarning.outOfService = o2, this.invocationData.outOfService !== n3 && (this.invocationData.outOfService = n3, r3 = true), r3 && I.validateAction(this, false, true); + this.inboundCallFlow.outOfService !== e3 && (this.inboundCallFlow.outOfService = e3, r3 = true), this.voiceSurveyFlow.outOfService !== t3 && (this.voiceSurveyFlow.outOfService = t3, r3 = true), this.inboundShortMessageFlow.outOfService !== i3 && (this.inboundShortMessageFlow.outOfService = i3, r3 = true), this.updateWarning.outOfService = o2, this.invocationData.outOfService !== n3 && (this.invocationData.outOfService = n3, r3 = true), r3 && O.validateAction(this, false, true); } postProcessYamlConfig(e3, t3, i3) { e3.actionType = {}; @@ -63677,31 +68996,35 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.inboundShortMessageFlow; } } + repointSelfReferencingFlow(e3, t3) { + var i3; + null === (i3 = this.getTargetFlowRefProp()) || void 0 === i3 || i3.repointSelfReference(e3, t3); + } getTargetFlowTypeForActionType() { switch (this.actionType.text) { case N.inboundCallFlow.id: - return c.flowTypes.flowTypeInboundCall; + return d.flowTypes.flowTypeInboundCall; case N.voiceSurveyFlow.id: - return c.flowTypes.flowTypeVoiceSurvey; + return d.flowTypes.flowTypeVoiceSurvey; case N.inboundShortMessageFlow.id: - return c.flowTypes.flowTypeInboundShortMessage; + return d.flowTypes.flowTypeInboundShortMessage; } } static getPostFlowActionTypesForFlowType(e3) { var t3; - (null == e3 ? void 0 : e3.length) || (e3 = c.flowTypes.flowTypeInboundCall); + (null == e3 ? void 0 : e3.length) || (e3 = d.flowTypes.flowTypeInboundCall); let i3 = null === (t3 = this._postFlowActionTypesByFlowType[e3]) || void 0 === t3 ? void 0 : t3.postFlowActionTypes; if (!i3) { switch (e3) { - case c.flowTypes.flowTypeInboundShortMessage: - this._postFlowActionTypesByFlowType[c.flowTypes.flowTypeInboundShortMessage] = { postFlowActionTypes: [N.inboundShortMessageFlow] }; + case d.flowTypes.flowTypeInboundShortMessage: + this._postFlowActionTypesByFlowType[d.flowTypes.flowTypeInboundShortMessage] = { postFlowActionTypes: [N.inboundShortMessageFlow] }; break; - case c.flowTypes.flowTypeCommonModule: - this._postFlowActionTypesByFlowType[c.flowTypes.flowTypeCommonModule] = { postFlowActionTypes: N.allPostFlowActionTypes }; + case d.flowTypes.flowTypeCommonModule: + this._postFlowActionTypesByFlowType[d.flowTypes.flowTypeCommonModule] = { postFlowActionTypes: N.allPostFlowActionTypes }; break; - case c.flowTypes.flowTypeInboundCall: - case c.flowTypes.flowTypeInQueueCall: - case c.flowTypes.flowTypeOutboundCall: + case d.flowTypes.flowTypeInboundCall: + case d.flowTypes.flowTypeInQueueCall: + case d.flowTypes.flowTypeOutboundCall: this._postFlowActionTypesByFlowType[e3] = { postFlowActionTypes: l.isFeatureAvailable(u.default.voiceSurveyFlows) ? [N.inboundCallFlow, N.voiceSurveyFlow] : [N.inboundCallFlow] }; break; default: @@ -63713,7 +69036,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } static getPostFlowActionTypesMapForFlowType(e3) { var t3; - (null == e3 ? void 0 : e3.length) || (e3 = c.flowTypes.flowTypeInboundCall); + (null == e3 ? void 0 : e3.length) || (e3 = d.flowTypes.flowTypeInboundCall); let i3 = null === (t3 = this._postFlowActionTypesMapByFlowType[e3]) || void 0 === t3 ? void 0 : t3.postFlowActionTypesMap; if (!i3) { const t4 = this.getPostFlowActionTypesForFlowType(e3); @@ -63739,8 +69062,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; _getFlowTypesWithConflictingPostFlowActionTypes() { const e3 = this.parentFlow.destinationFlowTypes; if (!e3 || e3.length <= 1) return {}; - const t3 = {}, i3 = R.getPostFlowActionTypesMapForFlowType(e3[0]), n3 = this._getAllowableValueMapKeysAsStr(i3); - for (let i4 = 1; i4 < e3.length; i4++) n3 !== this._getAllowableValueMapKeysAsStr(R.getPostFlowActionTypesMapForFlowType(e3[i4])) && (t3[e3[0]] = true, t3[e3[i4]] = true); + const t3 = {}, i3 = w.getPostFlowActionTypesMapForFlowType(e3[0]), n3 = this._getAllowableValueMapKeysAsStr(i3); + for (let i4 = 1; i4 < e3.length; i4++) n3 !== this._getAllowableValueMapKeysAsStr(w.getPostFlowActionTypesMapForFlowType(e3[i4])) && (t3[e3[0]] = true, t3[e3[i4]] = true); return t3; } _getAvailablePostFlowActionTypesMap() { @@ -63748,7 +69071,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (!e3 || e3.length <= 1) return {}; const t3 = {}; for (const i3 of e3) { - const e4 = R.getPostFlowActionTypesForFlowType(i3); + const e4 = w.getPostFlowActionTypesForFlowType(i3); if (null == e4 ? void 0 : e4.length) for (const i4 of e4) t3[i4.id] = i4; } return t3; @@ -63760,12 +69083,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (!r2.default.isEmpty(i3)) { const n3 = []; for (const e4 of Object.keys(i3)) n3.push(null === (t3 = f.default.getDefinitionForFlowType(e4)) || void 0 === t3 ? void 0 : t3.typeDisplayName); - const r3 = (0, v.sprintf)(b.errors.invalidFlowTypeCombinationError, b.actions.setPostFlow, (0, g.getListDisplayString)(n3, void 0, void 0, true)); + const r3 = (0, I.sprintf)(b.errors.invalidFlowTypeCombinationError, b.actions.setPostFlow, (0, g.getListDisplayString)(n3, void 0, void 0, true)); e3.addError(this, r3), this.commonModuleNote.note = r3; } } } - R.info = S.default.createActionInfo({ actionClass: R, canBeInTask: true, helpTopic: o.helpTopics.actions.setPostFlow, modelClass: i2(173), name: b.actions.setPostFlow, scriptingName: "ArchActionSetPostFlow" }), R._postFlowActionTypesByFlowType = {}, R._postFlowActionTypesMapByFlowType = {}, t2.A = R; + w.info = S.default.createActionInfo({ actionClass: w, canBeInTask: true, helpTopic: o.helpTopics.actions.setPostFlow, modelClass: i2(173), name: b.actions.setPostFlow, scriptingName: "ArchActionSetPostFlow", modelFormatSupport: { flowYaml: { inProgress: true, feature: u.default.changeSetsFeaturePhase2 } } }), w._postFlowActionTypesByFlowType = {}, w._postFlowActionTypesMapByFlowType = {}, t2.A = w; }, 52510: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -63928,7 +69251,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return new u(t3); } } - const d = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap(); + const c = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(); var p; t2.IterMode = void 0, (p = t2.IterMode || (t2.IterMode = {}))[p.ExcludeBuffers = 1] = "ExcludeBuffers", p[p.IncludeAnonymous = 2] = "IncludeAnonymous", p[p.IgnoreMounts = 4] = "IgnoreMounts", p[p.IgnoreOverlays = 8] = "IgnoreOverlays"; class _ { @@ -63952,19 +69275,19 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return new C(this.topNode, e3); } cursorAt(e3, t3 = 0, i3 = 0) { - let n3 = d.get(this) || this.topNode, r3 = new C(n3); - return r3.moveTo(e3, t3), d.set(this, r3._tree), r3; + let n3 = c.get(this) || this.topNode, r3 = new C(n3); + return r3.moveTo(e3, t3), c.set(this, r3._tree), r3; } get topNode() { return new y(this, 0, 0, null); } resolve(e3, t3 = 0) { - let i3 = f(d.get(this) || this.topNode, e3, t3, false); - return d.set(this, i3), i3; + let i3 = f(c.get(this) || this.topNode, e3, t3, false); + return c.set(this, i3), i3; } resolveInner(e3, t3 = 0) { - let i3 = f(c.get(this) || this.topNode, e3, t3, true); - return c.set(this, i3), i3; + let i3 = f(d.get(this) || this.topNode, e3, t3, true); + return d.set(this, i3), i3; } resolveStack(e3, t3 = 0) { return (function(e4, t4, i3) { @@ -63979,7 +69302,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; (r3 || (r3 = [n3])).push(f(a2, t4, i3, false)); } } - return r3 ? I(r3) : n3; + return r3 ? O(r3) : n3; })(this, e3, t3); } iterate(e3) { @@ -64005,55 +69328,55 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return e3; } balance(e3 = {}) { - return this.children.length <= 8 ? this : w(l.none, this.children, this.positions, 0, this.children.length, 0, this.length, (e4, t3, i3) => new _(this.type, e4, t3, i3, this.propValues), e3.makeTree || ((e4, t3, i3) => new _(l.none, e4, t3, i3))); + return this.children.length <= 8 ? this : R(l.none, this.children, this.positions, 0, this.children.length, 0, this.length, (e4, t3, i3) => new _(this.type, e4, t3, i3, this.propValues), e3.makeTree || ((e4, t3, i3) => new _(l.none, e4, t3, i3))); } static build(e3) { return (function(e4) { var t3; - let { buffer: n3, nodeSet: r3, maxBufferLength: a2 = i2, reused: s2 = [], minRepeatType: l2 = r3.types.length } = e4, u2 = Array.isArray(n3) ? new h(n3, n3.length) : n3, d2 = r3.types, c2 = 0, p2 = 0; + let { buffer: n3, nodeSet: r3, maxBufferLength: a2 = i2, reused: s2 = [], minRepeatType: l2 = r3.types.length } = e4, u2 = Array.isArray(n3) ? new h(n3, n3.length) : n3, c2 = r3.types, d2 = 0, p2 = 0; function g2(e5, t4, i3, n4, h2, A3) { - let { id: N3, start: O3, end: I2, size: v2 } = u2, C2 = p2, b2 = c2; - for (; v2 < 0; ) { - if (u2.next(), -1 == v2) { + let { id: N3, start: v3, end: O2, size: I2 } = u2, C2 = p2, b2 = d2; + for (; I2 < 0; ) { + if (u2.next(), -1 == I2) { let t5 = s2[N3]; - return i3.push(t5), void n4.push(O3 - e5); + return i3.push(t5), void n4.push(v3 - e5); } - if (-3 == v2) return void (c2 = N3); - if (-4 == v2) return void (p2 = N3); - throw new RangeError(`Unrecognized record size: ${v2}`); + if (-3 == I2) return void (d2 = N3); + if (-4 == I2) return void (p2 = N3); + throw new RangeError(`Unrecognized record size: ${I2}`); } - let E2, R2, D2 = d2[N3], P2 = O3 - e5; - if (I2 - O3 <= a2 && (R2 = (function(e6, t5) { - let i4 = u2.fork(), n5 = 0, r4 = 0, o2 = 0, s3 = i4.end - a2, d3 = { size: 0, start: 0, skip: 0 }; + let E2, w2, D2 = c2[N3], P2 = v3 - e5; + if (O2 - v3 <= a2 && (w2 = (function(e6, t5) { + let i4 = u2.fork(), n5 = 0, r4 = 0, o2 = 0, s3 = i4.end - a2, c3 = { size: 0, start: 0, skip: 0 }; e: for (let a3 = i4.pos - e6; i4.pos > a3; ) { let e7 = i4.size; if (i4.id == t5 && e7 >= 0) { - d3.size = n5, d3.start = r4, d3.skip = o2, o2 += 4, n5 += 4, i4.next(); + c3.size = n5, c3.start = r4, c3.skip = o2, o2 += 4, n5 += 4, i4.next(); continue; } let u3 = i4.pos - e7; if (e7 < 0 || u3 < a3 || i4.start < s3) break; - let c3 = i4.id >= l2 ? 4 : 0, p3 = i4.start; + let d3 = i4.id >= l2 ? 4 : 0, p3 = i4.start; for (i4.next(); i4.pos > u3; ) { if (i4.size < 0) { if (-3 != i4.size) break e; - c3 += 4; - } else i4.id >= l2 && (c3 += 4); + d3 += 4; + } else i4.id >= l2 && (d3 += 4); i4.next(); } - r4 = p3, n5 += e7, o2 += c3; + r4 = p3, n5 += e7, o2 += d3; } - return (t5 < 0 || n5 == e6) && (d3.size = n5, d3.start = r4, d3.skip = o2), d3.size > 4 ? d3 : void 0; + return (t5 < 0 || n5 == e6) && (c3.size = n5, c3.start = r4, c3.skip = o2), c3.size > 4 ? c3 : void 0; })(u2.pos - t4, h2))) { - let t5 = new Uint16Array(R2.size - R2.skip), i4 = u2.pos - R2.size, n5 = t5.length; - for (; u2.pos > i4; ) n5 = S2(R2.start, t5, n5); - E2 = new m(t5, I2 - R2.start, r3), P2 = R2.start - e5; + let t5 = new Uint16Array(w2.size - w2.skip), i4 = u2.pos - w2.size, n5 = t5.length; + for (; u2.pos > i4; ) n5 = S2(w2.start, t5, n5); + E2 = new m(t5, O2 - w2.start, r3), P2 = w2.start - e5; } else { - let e6 = u2.pos - v2; + let e6 = u2.pos - I2; u2.next(); - let t5 = [], i4 = [], n5 = N3 >= l2 ? N3 : -1, r4 = 0, s3 = I2; - for (; u2.pos > e6; ) n5 >= 0 && u2.id == n5 && u2.size >= 0 ? (u2.end <= s3 - a2 && (T2(t5, i4, O3, r4, u2.end, s3, n5, C2, b2), r4 = t5.length, s3 = u2.end), u2.next()) : A3 > 2500 ? f2(O3, e6, t5, i4) : g2(O3, e6, t5, i4, n5, A3 + 1); - if (n5 >= 0 && r4 > 0 && r4 < t5.length && T2(t5, i4, O3, r4, O3, s3, n5, C2, b2), t5.reverse(), i4.reverse(), n5 > -1 && r4 > 0) { + let t5 = [], i4 = [], n5 = N3 >= l2 ? N3 : -1, r4 = 0, s3 = O2; + for (; u2.pos > e6; ) n5 >= 0 && u2.id == n5 && u2.size >= 0 ? (u2.end <= s3 - a2 && (T2(t5, i4, v3, r4, u2.end, s3, n5, C2, b2), r4 = t5.length, s3 = u2.end), u2.next()) : A3 > 2500 ? f2(v3, e6, t5, i4) : g2(v3, e6, t5, i4, n5, A3 + 1); + if (n5 >= 0 && r4 > 0 && r4 < t5.length && T2(t5, i4, v3, r4, v3, s3, n5, C2, b2), t5.reverse(), i4.reverse(), n5 > -1 && r4 > 0) { let e7 = /* @__PURE__ */ (function(e8, t6) { return (i5, n6, r5) => { let a3, s4, l3 = 0, u3 = i5.length - 1; @@ -64064,8 +69387,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return y2(e8, i5, n6, r5, l3, t6); }; })(D2, b2); - E2 = w(D2, t5, i4, 0, t5.length, 0, I2 - O3, e7, e7); - } else E2 = y2(D2, t5, i4, I2 - O3, C2 - I2, b2); + E2 = R(D2, t5, i4, 0, t5.length, 0, O2 - v3, e7, e7); + } else E2 = y2(D2, t5, i4, O2 - v3, C2 - O2, b2); } i3.push(E2), n4.push(P2); } @@ -64086,9 +69409,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } function T2(e5, t4, i3, n4, o2, a3, s3, l3, u3) { - let d3 = [], c3 = []; - for (; e5.length > n4; ) d3.push(e5.pop()), c3.push(t4.pop() + i3 - o2); - e5.push(y2(r3.types[s3], d3, c3, a3 - o2, l3 - a3, u3)), t4.push(o2 - i3); + let c3 = [], d3 = []; + for (; e5.length > n4; ) c3.push(e5.pop()), d3.push(t4.pop() + i3 - o2); + e5.push(y2(r3.types[s3], c3, d3, a3 - o2, l3 - a3, u3)), t4.push(o2 - i3); } function y2(e5, t4, i3, n4, r4, a3, s3) { if (a3) { @@ -64110,13 +69433,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; for (; u2.pos > n5; ) i3 = S2(e5, t4, i3); } t4[--i3] = s3, t4[--i3] = o2 - e5, t4[--i3] = r4 - e5, t4[--i3] = n4; - } else -3 == a3 ? c2 = n4 : -4 == a3 && (p2 = n4); + } else -3 == a3 ? d2 = n4 : -4 == a3 && (p2 = n4); return i3; } let A2 = [], N2 = []; for (; u2.pos > 0; ) g2(e4.start || 0, e4.bufferStart || 0, A2, N2, -1, 0); - let O2 = null !== (t3 = e4.length) && void 0 !== t3 ? t3 : A2.length ? N2[0] + A2[0].length : 0; - return new _(d2[e4.topID], A2.reverse(), N2.reverse(), O2); + let v2 = null !== (t3 = e4.length) && void 0 !== t3 ? t3 : A2.length ? N2[0] + A2[0].length : 0; + return new _(c2[e4.topID], A2.reverse(), N2.reverse(), v2); })(e3); } } @@ -64262,18 +69585,18 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } nextChild(e3, i3, n3, r3, o2 = 0) { for (let s2 = this; ; ) { - for (let { children: l2, positions: u2 } = s2._tree, d2 = i3 > 0 ? l2.length : -1; e3 != d2; e3 += i3) { - let d3 = l2[e3], c2 = u2[e3] + s2.from; - if (g(r3, n3, c2, c2 + d3.length)) { - if (d3 instanceof m) { + for (let { children: l2, positions: u2 } = s2._tree, c2 = i3 > 0 ? l2.length : -1; e3 != c2; e3 += i3) { + let c3 = l2[e3], d2 = u2[e3] + s2.from; + if (g(r3, n3, d2, d2 + c3.length)) { + if (c3 instanceof m) { if (o2 & t2.IterMode.ExcludeBuffers) continue; - let a2 = d3.findChild(0, d3.buffer.length, i3, n3 - c2, r3); - if (a2 > -1) return new O(new N(s2, d3, e3, c2), null, a2); - } else if (o2 & t2.IterMode.IncludeAnonymous || !d3.type.isAnonymous || b(d3)) { + let a2 = c3.findChild(0, c3.buffer.length, i3, n3 - d2, r3); + if (a2 > -1) return new v(new N(s2, c3, e3, d2), null, a2); + } else if (o2 & t2.IterMode.IncludeAnonymous || !c3.type.isAnonymous || b(c3)) { let l3; - if (!(o2 & t2.IterMode.IgnoreMounts) && (l3 = a.get(d3)) && !l3.overlay) return new y(l3.tree, c2, e3, s2); - let u3 = new y(d3, c2, e3, s2); - return o2 & t2.IterMode.IncludeAnonymous || !u3.type.isAnonymous ? u3 : u3.nextChild(i3 < 0 ? d3.children.length - 1 : 0, i3, n3, r3); + if (!(o2 & t2.IterMode.IgnoreMounts) && (l3 = a.get(c3)) && !l3.overlay) return new y(l3.tree, d2, e3, s2); + let u3 = new y(c3, d2, e3, s2); + return o2 & t2.IterMode.IncludeAnonymous || !u3.type.isAnonymous ? u3 : u3.nextChild(i3 < 0 ? c3.children.length - 1 : 0, i3, n3, r3); } } } @@ -64351,7 +69674,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.parent = e3, this.buffer = t3, this.index = i3, this.start = n3; } } - class O extends T { + class v extends T { get name() { return this.type.name; } @@ -64366,7 +69689,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } child(e3, t3, i3) { let { buffer: n3 } = this.context, r3 = n3.findChild(this.index + 4, n3.buffer[this.index + 3], e3, t3 - this.context.start, i3); - return r3 < 0 ? null : new O(this.context, this, r3); + return r3 < 0 ? null : new v(this.context, this, r3); } get firstChild() { return this.child(1, 0, 4); @@ -64383,7 +69706,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; enter(e3, i3, n3 = 0) { if (n3 & t2.IterMode.ExcludeBuffers) return null; let { buffer: r3 } = this.context, o2 = r3.findChild(this.index + 4, r3.buffer[this.index + 3], i3 > 0 ? 1 : -1, e3 - this.context.start, i3); - return o2 < 0 ? null : new O(this.context, this, o2); + return o2 < 0 ? null : new v(this.context, this, o2); } get parent() { return this._parent || this.context.parent.nextSignificantParent(); @@ -64393,11 +69716,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } get nextSibling() { let { buffer: e3 } = this.context, t3 = e3.buffer[this.index + 3]; - return t3 < (this._parent ? e3.buffer[this._parent.index + 3] : e3.buffer.length) ? new O(this.context, this._parent, t3) : this.externalSibling(1); + return t3 < (this._parent ? e3.buffer[this._parent.index + 3] : e3.buffer.length) ? new v(this.context, this._parent, t3) : this.externalSibling(1); } get prevSibling() { let { buffer: e3 } = this.context, t3 = this._parent ? this._parent.index + 4 : 0; - return this.index == t3 ? this.externalSibling(-1) : new O(this.context, this._parent, e3.findChild(t3, this.index, -1, 0, 4)); + return this.index == t3 ? this.externalSibling(-1) : new v(this.context, this._parent, e3.findChild(t3, this.index, -1, 0, 4)); } get tree() { return null; @@ -64414,7 +69737,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.context.buffer.childString(this.index); } } - function I(e3) { + function O(e3) { if (!e3.length) return null; let t3 = 0, i3 = e3[0]; for (let n4 = 1; n4 < e3.length; n4++) { @@ -64422,14 +69745,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; (r4.from > i3.from || r4.to < i3.to) && (i3 = r4, t3 = n4); } let n3 = i3 instanceof y && i3.index < 0 ? null : i3.parent, r3 = e3.slice(); - return n3 ? r3[t3] = n3 : r3.splice(t3, 1), new v(r3, i3); + return n3 ? r3[t3] = n3 : r3.splice(t3, 1), new I(r3, i3); } - class v { + class I { constructor(e3, t3) { this.heads = e3, this.node = t3; } get next() { - return I(this.heads); + return O(this.heads); } } class C { @@ -64545,8 +69868,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } n3 = this.stack[--r3]; } - for (let e4 = i3; e4 < this.stack.length; e4++) t3 = new O(this.buffer, t3, this.stack[e4]); - return this.bufferNode = new O(this.buffer, t3, this.index); + for (let e4 = i3; e4 < this.stack.length; e4++) t3 = new v(this.buffer, t3, this.stack[e4]); + return this.bufferNode = new v(this.buffer, t3, this.index); } get tree() { return this.buffer ? null : this._tree._tree; @@ -64586,7 +69909,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return e3.children.some((e4) => e4 instanceof m || !e4.type.isAnonymous || b(e4)); } const E = /* @__PURE__ */ new WeakMap(); - function R(e3, t3) { + function w(e3, t3) { if (!e3.isAnonymous || t3 instanceof m || t3.type != e3) return 1; let i3 = E.get(t3); if (null == i3) { @@ -64596,38 +69919,38 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; i3 = 1; break; } - i3 += R(e3, n3); + i3 += w(e3, n3); } E.set(t3, i3); } return i3; } - function w(e3, t3, i3, n3, r3, o2, a2, s2, l2) { + function R(e3, t3, i3, n3, r3, o2, a2, s2, l2) { let u2 = 0; - for (let i4 = n3; i4 < r3; i4++) u2 += R(e3, t3[i4]); - let d2 = Math.ceil(1.5 * u2 / 8), c2 = [], p2 = []; + for (let i4 = n3; i4 < r3; i4++) u2 += w(e3, t3[i4]); + let c2 = Math.ceil(1.5 * u2 / 8), d2 = [], p2 = []; return (function t4(i4, n4, r4, a3, s3) { for (let u3 = r4; u3 < a3; ) { - let r5 = u3, _2 = n4[u3], h2 = R(e3, i4[u3]); + let r5 = u3, _2 = n4[u3], h2 = w(e3, i4[u3]); for (u3++; u3 < a3; u3++) { - let t5 = R(e3, i4[u3]); - if (h2 + t5 >= d2) break; + let t5 = w(e3, i4[u3]); + if (h2 + t5 >= c2) break; h2 += t5; } if (u3 == r5 + 1) { - if (h2 > d2) { + if (h2 > c2) { let e4 = i4[r5]; t4(e4.children, e4.positions, 0, e4.children.length, n4[r5] + s3); continue; } - c2.push(i4[r5]); + d2.push(i4[r5]); } else { let t5 = n4[u3 - 1] + i4[u3 - 1].length - _2; - c2.push(w(e3, i4, n4, r5, u3, _2, t5, null, l2)); + d2.push(R(e3, i4, n4, r5, u3, _2, t5, null, l2)); } p2.push(_2 + s3 - o2); } - })(t3, i3, n3, r3, 0), (s2 || l2)(c2, p2, a2); + })(t3, i3, n3, r3, 0), (s2 || l2)(d2, p2, a2); } class D { constructor(e3, t3, i3, n3, r3 = false, o2 = false) { @@ -64648,14 +69971,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (!t3.length) return e3; let n3 = [], r3 = 1, o2 = e3.length ? e3[0] : null; for (let a2 = 0, s2 = 0, l2 = 0; ; a2++) { - let u2 = a2 < t3.length ? t3[a2] : null, d2 = u2 ? u2.fromA : 1e9; - if (d2 - s2 >= i3) for (; o2 && o2.from < d2; ) { + let u2 = a2 < t3.length ? t3[a2] : null, c2 = u2 ? u2.fromA : 1e9; + if (c2 - s2 >= i3) for (; o2 && o2.from < c2; ) { let t4 = o2; - if (s2 >= t4.from || d2 <= t4.to || l2) { - let e4 = Math.max(t4.from, s2) - l2, i4 = Math.min(t4.to, d2) - l2; + if (s2 >= t4.from || c2 <= t4.to || l2) { + let e4 = Math.max(t4.from, s2) - l2, i4 = Math.min(t4.to, c2) - l2; t4 = e4 >= i4 ? null : new D(e4, i4, t4.tree, t4.offset + l2, a2 > 0, !!u2); } - if (t4 && n3.push(t4), o2.to > d2) break; + if (t4 && n3.push(t4), o2.to > c2) break; o2 = r3 < e3.length ? e3[r3++] : null; } if (!u2) break; @@ -64785,13 +70108,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; i3.push(e3.index), e3.parent(); } while (!e3.tree); let r3 = e3.tree, o2 = r3.children.indexOf(n3), a2 = r3.children[o2], s2 = a2.buffer, u2 = [o2]; - r3.children[o2] = (function e4(n4, r4, o3, l2, d2, c2) { - let p2 = i3[c2], h2 = [], m2 = []; + r3.children[o2] = (function e4(n4, r4, o3, l2, c2, d2) { + let p2 = i3[d2], h2 = [], m2 = []; U(a2, n4, p2, h2, m2, l2); let g2 = s2[p2 + 1], f2 = s2[p2 + 2]; u2.push(h2.length); - let T2 = c2 ? e4(p2 + 4, s2[p2 + 3], a2.set.types[s2[p2]], g2, f2 - g2, c2 - 1) : t3.toTree(); - return h2.push(T2), m2.push(g2 - l2), U(a2, s2[p2 + 3], r4, h2, m2, l2), new _(o3, h2, m2, d2); + let T2 = d2 ? e4(p2 + 4, s2[p2 + 3], a2.set.types[s2[p2]], g2, f2 - g2, d2 - 1) : t3.toTree(); + return h2.push(T2), m2.push(g2 - l2), U(a2, s2[p2 + 3], r4, h2, m2, l2), new _(o3, h2, m2, c2); })(0, s2.length, l.none, 0, a2.length, i3.length - 1); for (let t4 of u2) { let i4 = e3.tree.children[t4], n4 = e3.tree.positions[t4]; @@ -64865,17 +70188,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return n3; } function q(e3, t3, i3, n3) { - let o2 = 0, a2 = 0, s2 = false, l2 = false, u2 = -1e9, d2 = []; + let o2 = 0, a2 = 0, s2 = false, l2 = false, u2 = -1e9, c2 = []; for (; ; ) { - let c2 = o2 == e3.length ? 1e9 : s2 ? e3[o2].to : e3[o2].from, p2 = a2 == t3.length ? 1e9 : l2 ? t3[a2].to : t3[a2].from; + let d2 = o2 == e3.length ? 1e9 : s2 ? e3[o2].to : e3[o2].from, p2 = a2 == t3.length ? 1e9 : l2 ? t3[a2].to : t3[a2].from; if (s2 != l2) { - let e4 = Math.max(u2, i3), t4 = Math.min(c2, p2, n3); - e4 < t4 && d2.push(new r2(e4, t4)); + let e4 = Math.max(u2, i3), t4 = Math.min(d2, p2, n3); + e4 < t4 && c2.push(new r2(e4, t4)); } - if (u2 = Math.min(c2, p2), 1e9 == u2) break; - c2 == u2 && (s2 ? (s2 = false, o2++) : s2 = true), p2 == u2 && (l2 ? (l2 = false, a2++) : l2 = true); + if (u2 = Math.min(d2, p2), 1e9 == u2) break; + d2 == u2 && (s2 ? (s2 = false, o2++) : s2 = true), p2 == u2 && (l2 ? (l2 = false, a2++) : l2 = true); } - return d2; + return c2; } function Y(e3, t3) { let i3 = []; @@ -64905,10 +70228,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return i3 && i3.get(t3); } set(e3, t3) { - e3 instanceof O ? this.setBuffer(e3.context.buffer, e3.index, t3) : e3 instanceof y && this.map.set(e3.tree, t3); + e3 instanceof v ? this.setBuffer(e3.context.buffer, e3.index, t3) : e3 instanceof y && this.map.set(e3.tree, t3); } get(e3) { - return e3 instanceof O ? this.getBuffer(e3.context.buffer, e3.index) : e3 instanceof y ? this.map.get(e3.tree) : void 0; + return e3 instanceof v ? this.getBuffer(e3.context.buffer, e3.index) : e3 instanceof y ? this.map.get(e3.tree) : void 0; } cursorSet(e3, t3) { e3.buffer ? this.setBuffer(e3.buffer.buffer, e3.index, t3) : this.map.set(e3.tree, t3); @@ -65237,9 +70560,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 52910: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = n2.__importStar(i2(63352)), a = n2.__importDefault(i2(61086)), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(73198)), u = i2(79467), d = i2(47628), c = i2(80428), p = i2(40174), _ = i2(47957); + const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = n2.__importStar(i2(63352)), a = n2.__importDefault(i2(61086)), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(73198)), u = i2(79467), c = i2(47628), d = i2(80428), p = i2(1910), _ = i2(69453), h = i2(17604), m = i2(40174), g = i2(47957); i2(69823); - class h extends a.default { + class f extends a.default { constructor(e3, t3, i3) { super(e3, t3, i3), this.allowSecure = false, this.allowErrorSchema = false; } @@ -65247,32 +70570,76 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return s.default.successFailureTimeout; } static get managedProperties() { - const e3 = [{ allowSecure: true, dataList: true, isOutput: true, property: "outputs", yamlOptions: h.createYamlOptions("outputs", (e4) => e4.setPropertyName("successOutputs")) }, { label: _.bridgeServer.timeout, property: "timeout", options: u.ExpressionTypeDurationOptions.create((e4) => e4.setIninTestingField("cbaTimeout").setDurationStyle(r2.durationStyles.minutesSecondsAndMsDuration).facets.setMinDur(1, true)), yamlOptions: h.createYamlOptions("timeout", (e4) => e4.setExportOrder(40)), type: c.expressionTypeNames.duration }, { createDetails: d.ServerActionTimeoutSettings.createCreateDetails(l.default.litDurationOneMinute), property: "serverActionTimeoutSettings", yamlOptions: h.createYamlOptions("serverActionTimeoutSettings", (e4) => e4.setSkipProperty(true)) }]; + const e3 = [{ allowSecure: true, dataList: true, isOutput: true, property: "outputs", yamlOptions: f.createYamlOptions("outputs", (e4) => e4.setPropertyName("successOutputs")) }, { label: g.bridgeServer.timeout, property: "timeout", options: u.ExpressionTypeDurationOptions.create((e4) => e4.setIninTestingField("cbaTimeout").setDurationStyle(r2.durationStyles.minutesSecondsAndMsDuration).facets.setMinDur(1, true)), yamlOptions: f.createYamlOptions("timeout", (e4) => e4.setExportOrder(40)), type: d.expressionTypeNames.duration }, { createDetails: c.ServerActionTimeoutSettings.createCreateDetails(l.default.litDurationOneMinute), property: "serverActionTimeoutSettings", yamlOptions: f.createYamlOptions("serverActionTimeoutSettings", (e4) => e4.setSkipProperty(true)) }]; return e3.push(a.default.createProcessingManagedExpression()), e3; } loadDataSchemas(e3) { - return e3 ? p.getAction(e3.id).then(function(t3) { + return e3 ? m.getAction(e3.id).then(function(t3) { return e3.model = t3, e3.schemasNotLoaded = false, this.serverManager.addItem(t3, true), e3; }.bind(this)) : Promise.resolve(); } validate(e3) { switch (super.validate(e3), this.timeout.mode) { case o.expression: - this.timeout.options.literalOnly && e3.addError(this, _.expression.expressionModeNotAllowed); + this.timeout.options.literalOnly && e3.addError(this, g.expression.expressionModeNotAllowed); break; case o.builder: - this.timeout.options.literalOnly && e3.addError(this, _.expression.builderModeNotAllowed); + this.timeout.options.literalOnly && e3.addError(this, g.expression.builderModeNotAllowed); } } get yamlActionSectionName() { return "dataAction"; } + _configureFromModel(e3, t3, i3) { + var r3, o2, a2; + const s2 = this._extractCategoryPayload(e3); + let l2; + const u2 = e3[this.yamlActionSectionName]; + if (void 0 !== u2) { + if ("string" == typeof u2) l2 = u2; + else if ((0, p.isConfigureFromModelRecord)(u2)) { + const e4 = u2; + "string" == typeof e4.name && (l2 = e4.name); + } + } else (null == s2 ? void 0 : s2.actionId) && (l2 = s2.actionId); + if (l2) { + const e4 = l2, r4 = t3; + i3.registerDeferredOp({ type: `resolve_${this.yamlActionSectionName}`, execute: () => n2.__awaiter(this, void 0, void 0, function* () { + var t4, n3, o3; + try { + const a3 = this._serverManager.findItemByName(e4); + a3 ? (this.setIntegrationActionByViewModel(a3, void 0), s2 && (i3.currentPropertyName = "inputs", null === (t4 = this.inputs) || void 0 === t4 || t4.configureFromModel(s2.inputs, r4, i3), i3.currentPropertyName = "successOutputs", null === (n3 = this.outputs) || void 0 === n3 || n3.configureFromModel(s2.successOutputs, r4, i3), i3.currentPropertyName = "failureOutputs", null === (o3 = this.errorBindings) || void 0 === o3 || o3.configureFromModel(s2.failureOutputs, r4, i3), i3.currentPropertyName = void 0)) : i3.warn((0, h.sprintf)(_.configureFromModel.failedToResolve, this.yamlActionSectionName, e4)); + } catch (t5) { + const n4 = t5 instanceof Error ? t5.message : String(t5); + i3.warn((0, h.sprintf)(_.configureFromModel.entityResolutionFailed, this.yamlActionSectionName, e4, n4)); + } + }) }); + } else s2 && (i3.currentPropertyName = "inputs", null === (r3 = this.inputs) || void 0 === r3 || r3.configureFromModel(s2.inputs, t3, i3), i3.currentPropertyName = "successOutputs", null === (o2 = this.outputs) || void 0 === o2 || o2.configureFromModel(s2.successOutputs, t3, i3), i3.currentPropertyName = "failureOutputs", null === (a2 = this.errorBindings) || void 0 === a2 || a2.configureFromModel(s2.failureOutputs, t3, i3), i3.currentPropertyName = void 0); + super._configureFromModel(e3, t3, i3); + } + _extractCategoryPayload(e3) { + if (!(0, p.isConfigureFromModelRecord)(e3.category)) return; + const t3 = e3.category; + for (const e4 of Object.keys(t3)) { + const i3 = t3[e4]; + if (!(0, p.isConfigureFromModelRecord)(i3)) continue; + const n3 = i3[this.yamlActionSectionName]; + if (!(0, p.isConfigureFromModelRecord)(n3)) continue; + const r3 = n3; + for (const e5 of Object.keys(r3)) { + const t4 = r3[e5]; + if (!(0, p.isConfigureFromModelRecord)(t4)) continue; + const i4 = t4; + return { inputs: i4.inputs, successOutputs: i4.successOutputs, failureOutputs: i4.failureOutputs, actionId: e5 }; + } + } + } } - h.className = "BaseIntegrationsAction", t2.default = h; + f.className = "BaseIntegrationsAction", t2.default = f; }, 53e3: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.timeZoneService = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(24032), s = n2.__importStar(i2(74359)), l = n2.__importDefault(i2(41510)), u = i2(26031), d = (0, a.getTopic)("TimeZoneService"); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(24032), s = n2.__importStar(i2(74359)), l = n2.__importDefault(i2(41510)), u = i2(26031), c = (0, a.getTopic)("TimeZoneService"); t2.timeZoneService = new class { constructor() { this._rawTimeZoneData = {}, this._timeZones = [], (() => { @@ -65280,7 +70647,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; try { yield this._getTimeZone(); } catch (e3) { - d.exception(e3, "error caught getting time zones in timeZoneService constructor"); + c.exception(e3, "error caught getting time zones in timeZoneService constructor"); } }); })(); @@ -65295,7 +70662,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this._timeZones.push({ id: e4.id, offset: e4.offset, displayString: (0, r2.sprintf)(l.default.timezone.displayString, e4.offset < 0 ? "-" : "+", Math.trunc(t3 / 60), t3 % 60) }); }); } catch (e3) { - d.exceptionWarning(e3, "failed to get timezones"); + c.exceptionWarning(e3, "failed to get timezones"); } }); } @@ -65388,11 +70755,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; case r2.flowTypes.flowTypeBot: case r2.flowTypes.flowTypeDigitalBot: case r2.flowTypes.flowTypeVoice: - return c; + return d; case r2.flowTypes.flowTypeVoiceSurvey: return p; case r2.flowTypes.flowTypeCommonModule: - return d; + return c; case r2.flowTypes.flowTypeInboundCall: case r2.flowTypes.flowTypeOutboundCall: case r2.flowTypes.flowTypeSecureCall: @@ -65408,7 +70775,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; case r2.flowTypes.flowTypeInboundChat: return f; case r2.flowTypes.flowTypeSurveyInvite: - return d; + return c; case r2.flowTypes.flowTypeWorkflow: return T; case r2.flowTypes.flowTypeWorkitem: @@ -65425,7 +70792,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return a.default.transferToQueueErrorHandlingAutomate; } }; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(15244)), a = n2.__importDefault(i2(4648)), s = n2.__importStar(i2(12847)), l = n2.__importStar(i2(10798)), u = [o.default.AbortSend, o.default.CompleteSend, o.default.Disconnect, o.default.EndFlow, o.default.EndInQueueState, o.default.EndWorkflow, o.default.Exit, o.default.Menu, o.default.Queue, o.default.State, o.default.Task], d = [], c = [o.default.Exit, o.default.Disconnect], p = [o.default.Disconnect], _ = [o.default.EndFlow], h = [o.default.Disconnect, o.default.Queue, o.default.Menu, o.default.Task], m = [o.default.Disconnect, o.default.Queue], g = [o.default.EndInQueueState, o.default.EndFlow], f = [o.default.Disconnect, o.default.Queue], T = [o.default.EndWorkflow, o.default.State], y = [o.default.AbortSend, o.default.CompleteSend]; + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(15244)), a = n2.__importDefault(i2(4648)), s = n2.__importStar(i2(12847)), l = n2.__importStar(i2(10798)), u = [o.default.AbortSend, o.default.CompleteSend, o.default.Disconnect, o.default.EndFlow, o.default.EndInQueueState, o.default.EndWorkflow, o.default.Exit, o.default.Menu, o.default.Queue, o.default.State, o.default.Task], c = [], d = [o.default.Exit, o.default.Disconnect], p = [o.default.Disconnect], _ = [o.default.EndFlow], h = [o.default.Disconnect, o.default.Queue, o.default.Menu, o.default.Task], m = [o.default.Disconnect, o.default.Queue], g = [o.default.EndInQueueState, o.default.EndFlow], f = [o.default.Disconnect, o.default.Queue], T = [o.default.EndWorkflow, o.default.State], y = [o.default.AbortSend, o.default.CompleteSend]; }, 53197: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.publish = void 0; @@ -65499,16 +70866,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 53397: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.PromptType = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(58525), s = n2.__importStar(i2(43011)), l = n2.__importStar(i2(27854)), u = i2(80428), d = i2(94765), c = i2(47957); - function p(e3, t3, i3) { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(58525), s = n2.__importStar(i2(43011)), l = n2.__importStar(i2(27854)), u = i2(50474), c = i2(1910), d = i2(80428), p = i2(94765), _ = i2(47957); + function h(e3, t3, i3) { t3.setParseError(i3), e3.addError(t3, i3, void 0, true); } - function _(e3, t3) { + function m(e3, t3) { var i3; let n3; - return !((!t3.options || !t3.options.isOutput) && (t3.text ? (n3 = s.getItem(t3.val) || s.getItem(l.removePrefix(t3.text)), !n3 && (null === (i3 = t3.options) || void 0 === i3 ? void 0 : i3.systemPromptFilterNames) && (n3 = s.systemPromptListManager.findOrFetchItemByName(t3.text)), !n3 && (p(e3, t3, (0, r2.sprintf)(c.audio.errorPromptCouldNotBeFound, t3.text)), 1)) : (p(e3, t3, c.audio.errorNoPrompt), 1))); + return !((!t3.options || !t3.options.isOutput) && (t3.text ? (n3 = s.getItem(t3.val) || s.getItem(l.removePrefix(t3.text)), !n3 && (null === (i3 = t3.options) || void 0 === i3 ? void 0 : i3.systemPromptFilterNames) && (n3 = s.systemPromptListManager.findOrFetchItemByName(t3.text)), !n3 && (h(e3, t3, (0, r2.sprintf)(_.audio.errorPromptCouldNotBeFound, t3.text)), 1)) : (h(e3, t3, _.audio.errorNoPrompt), 1))); } - class h extends d.ExpressionType { + class g extends p.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -65521,6 +70888,19 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; get supportsLiteralEditor() { return true; } + applyLiteralFromModel(e3, t3, i3, n3) { + if (null == t3) return; + const r3 = g._resolvePromptEntityType(t3); + (0, c.applyNetworkListLiteralFromModel)(e3, t3, i3, n3, r3) || super.applyLiteralFromModel(e3, t3, i3, n3); + } + static _resolvePromptEntityType(e3) { + if ("string" == typeof e3) return l.hasSystemPromptPrefix(e3) ? "systemPrompt" : "userPrompt"; + if ((0, u.isNonArrayObject)(e3)) { + const t3 = e3.name; + if ("string" == typeof t3 && l.hasSystemPromptPrefix(t3)) return "systemPrompt"; + } + return "userPrompt"; + } canConvertLitToExpression(e3) { return true; } @@ -65533,10 +70913,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return o.default.tryWrapObject(t3, this.yamlLiteralWrapperString); } validateLiteral(e3, t3) { - return _(e3, t3); + return m(e3, t3); } validateVariable(e3, t3) { - return _(e3, t3); + return m(e3, t3); } isAvailableForFlow(e3) { return e3.isCommonModuleFlow && !e3.isEmbeddedFlow ? !!e3.destinationFlowTypes.find((e4) => this.isAvailableForFlowType(e4, true)) : super.isAvailableForFlow(e3); @@ -65545,7 +70925,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return e3.definition.hasDestinationFlowTypes && !e3.isEmbeddedFlow ? this.model.support.userCanCreate && e3.destinationFlowTypes.every((e4) => this.isAvailableForFlowType(e4, true)) : super.isUserCreatableForFlow(e3); } } - t2.PromptType = h, h.typeIdentifier = u.expressionTypeNames.prompt; + t2.PromptType = g, g.typeIdentifier = d.expressionTypeNames.prompt; }, 53474: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -65597,8 +70977,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 53482: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.digitalBotConnectorVersionManager = t2.DigitalBotConnectorVersionManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(35295)), a = n2.__importDefault(i2(58597)), s = n2.__importStar(i2(1360)), l = n2.__importStar(i2(24032)), u = i2(74267), d = n2.__importDefault(i2(47532)), c = i2(30801), p = i2(62902), _ = i2(81801), h = i2(47957), m = i2(27862); - class g extends d.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(35295)), a = n2.__importDefault(i2(58597)), s = n2.__importStar(i2(1360)), l = n2.__importStar(i2(24032)), u = i2(74267), c = n2.__importDefault(i2(47532)), d = i2(30801), p = i2(62902), _ = i2(81801), h = i2(47957), m = i2(27862); + class g extends c.default { get requiredAuth() { return _.externalAuthorizations.authStrings.botConnectorView; } @@ -65606,7 +70986,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return m.DigitalBotConnector; } constructor() { - super(), this.topic = l.getTopic("DigitalBotConnectorVersionManager"), this.apiCallList = o.getDigitalBotConnectorBotVersions, this.apiCallSingle = o.getDigitalBotConnectorBotVersion, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "version", this.actionsForUsageSearch = [c.digitalBotConnectorActionType], this.caseSensitiveIds = true, this.className = "DigitalBotConnectorVersionManager", this.defaultMatchingStyle = s.exactMatch, this.dependencyContext = h.botConnector.digitalBotConnectorVersion, this.idEquivalent = "archInternalId", this.isDependentOnCategory = true, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "digitalBotConnectorVersion", this._initialize(); + super(), this.topic = l.getTopic("DigitalBotConnectorVersionManager"), this.apiCallList = o.getDigitalBotConnectorBotVersions, this.apiCallSingle = o.getDigitalBotConnectorBotVersion, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "version", this.actionsForUsageSearch = [d.digitalBotConnectorActionType], this.caseSensitiveIds = true, this.className = "DigitalBotConnectorVersionManager", this.defaultMatchingStyle = s.exactMatch, this.dependencyContext = h.botConnector.digitalBotConnectorVersion, this.idEquivalent = "archInternalId", this.isDependentOnCategory = true, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "digitalBotConnectorVersion", this._initialize(); } addItem(e3, t3, i3) { e3.isFromAdsValidationResults && (p.digitalBotConnectorManager.createAndAddBot(e3.id, e3.name, e3.botId, e3.integrationId), e3 = o.ensureCorrectVersionProperties(e3, null, e3.id, e3.integrationId)); @@ -65641,7 +71021,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 53486: (e2, t2, i2) => { const n2 = i2(14961), r2 = { replacementLastInput: "$collectInputLastInput", subExpressions: { asDigits: { _label: "input_as_individual_digits", ids: ["Audio_ONE ToAudioPhoneNumber(String_ONE)"], value: "ToAudioPhoneNumber($collectInputLastInput)" }, asNumeric: { _label: "input_as_number", ids: ["Audio_ONE ToAudioNumber(Decimal_ONE,Long_ONE)", "Decimal_ONE toDecimal(String_ONE)"], value: "ToAudioNumber(ToDecimal($collectInputLastInput), 0)" }, asNumericWithNeuterContext: { _label: "input_as_number", ids: ["Audio_ONE ToAudioNumber(Decimal_ONE,Long_ONE,LanguageContextEnum_ONE...)", "Decimal_ONE toDecimal(String_ONE)"], value: "ToAudioNumber(ToDecimal($collectInputLastInput), 0, Language.Gender.neuter)" }, blank: { _label: "blank_500ms", ids: ["Audio_ONE ToAudioBlank(Long_ONE)"], value: "ToAudioBlank(500)" } }, systemPrompts: { collect_digits_playback: "collect_digits_playback", collect_digits_playback_2: "collect_digits_playback_2", collect_digits_verify: "collect_digits_verify", collect_digits_verify_options: "collect_digits_verify_options" }, sequenceTypes: { tts: "tts", subExpression: "subExpression", systemPrompt: "systemPrompt" } }; function o() { - o._super.constructor.call(this), Object.defineProperties(this, { _label: { value: "InputConf" }, className: { value: "CollectInputConfirmationSequences" }, parts: { value: r2 }, adsSectionName: { value: "collectInput" }, languageSequences: { value: { "da-dk": "mainSequence", "de-de": "localizedSequence3", "de-ch": "localizedSequence3", "el-gr": "mainSequence", "en-au": "mainSequence", "en-gb": "mainSequence", "en-us": "mainSequence", "es-es": "mainSequence", "es-us": "mainSequence", "fi-fi": "mainSequence", "fil-ph": "mainSequence", "fr-ca": "mainSequence", "fr-fr": "mainSequence", "it-it": "mainSequence", "ja-jp": "localizedSequence2", "ms-my": "mainSequence", "nb-no": "mainSequence", "nl-nl": "localizedSequence3", "pl-pl": "mainSequence", "pt-br": "mainSequence", "pt-pt": "mainSequence", "sv-se": "localizedSequence4", "th-th": "localizedSequence1", "zh-cn": "mainSequence", "zh-hk": "mainSequence", fallbackSequence: "fallbackSequence" } }, mainSequence: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asDigits }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asNumeric }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] } } }, localizedSequence1: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asDigits }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asNumeric }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }] }] } } }, localizedSequence2: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asDigits }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asNumeric }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] } } }, localizedSequence3: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asDigits }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback_2 }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asNumeric }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback_2 }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] } } }, localizedSequence4: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asDigits }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asNumericWithNeuterContext }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] } } }, fallbackSequence: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asDigits }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asNumeric }] }] } } } }); + o._super.constructor.call(this), Object.defineProperties(this, { _label: { value: "InputConf" }, className: { value: "CollectInputConfirmationSequences" }, parts: { value: r2 }, adsSectionName: { value: "collectInput" }, languageSequences: { value: { "da-dk": "mainSequence", "de-de": "localizedSequence3", "de-ch": "localizedSequence3", "el-gr": "mainSequence", "en-au": "mainSequence", "en-gb": "mainSequence", "en-us": "mainSequence", "es-es": "mainSequence", "es-us": "mainSequence", "fi-fi": "mainSequence", "fil-ph": "mainSequence", "fr-ca": "mainSequence", "fr-fr": "mainSequence", "he-il": "mainSequence", "it-it": "mainSequence", "ja-jp": "localizedSequence2", "ms-my": "mainSequence", "nb-no": "mainSequence", "nl-nl": "localizedSequence3", "pl-pl": "mainSequence", "pt-br": "mainSequence", "pt-pt": "mainSequence", "sv-se": "localizedSequence4", "th-th": "localizedSequence1", "zh-cn": "mainSequence", "zh-hk": "mainSequence", fallbackSequence: "fallbackSequence" } }, mainSequence: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asDigits }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asNumeric }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] } } }, localizedSequence1: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asDigits }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asNumeric }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }] }] } } }, localizedSequence2: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asDigits }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asNumeric }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] } } }, localizedSequence3: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asDigits }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback_2 }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asNumeric }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback_2 }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] } } }, localizedSequence4: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asDigits }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_playback }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asNumericWithNeuterContext }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.blank }, { type: r2.sequenceTypes.systemPrompt, value: r2.systemPrompts.collect_digits_verify_options }] }] } } }, fallbackSequence: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asDigits }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.asNumeric }] }] } } } }); } n2.extend(o), e2.exports = new o(); }, 53538: (e2, t2, i2) => { @@ -65674,10 +71054,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 53561: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.IntegerType = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(78513), s = n2.__importDefault(i2(73198)), l = i2(80428), u = i2(94765), d = (0, i2(24032).getTopic)("IntegerType"), c = i2(47957); - class p extends u.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(69453), s = i2(24032), l = i2(78513), u = n2.__importDefault(i2(73198)), c = i2(80428), d = i2(94765), p = (0, s.getTopic)("IntegerType"), _ = i2(47957); + class h extends d.ExpressionType { constructor(e3, t3, i3) { - super(e3, t3, i3), this.expressionOptionClass = a.ExpressionTypeIntegerOptions; + super(e3, t3, i3), this.expressionOptionClass = l.ExpressionTypeIntegerOptions; } get className() { return "IntegerType"; @@ -65687,35 +71067,48 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return o.default.isActualNumber(t3) ? t3.toString() : ""; } createExpressionOptionClass() { - return new a.ExpressionTypeIntegerOptions(this.isCollection); + return new l.ExpressionTypeIntegerOptions(this.isCollection); } getYamlObjectForLiteralSingleton(e3) { super.getYamlObjectForLiteralSingleton(e3); const t3 = Number(e3.text); - return o.default.isActualNumber(t3) || d.errorWithStack(null, "Invalid number parsed in IntegerType.getYamlObjectForLiteralSingleton"), t3; + return o.default.isActualNumber(t3) || p.errorWithStack(null, "Invalid number parsed in IntegerType.getYamlObjectForLiteralSingleton"), t3; + } + applyLiteralFromModel(e3, t3, i3, n3) { + if (null == t3) return; + let o2; + if ("number" == typeof t3) Number.isFinite(t3) && (o2 = Math.trunc(t3)); + else if ("string" == typeof t3) { + const i4 = t3.toLowerCase(); + if ("minint" === i4) return void e3.setAsLiteral(String(u.default.minInt)); + if ("maxint" === i4) return void e3.setAsLiteral(String(u.default.maxInt)); + const n4 = parseInt(t3, 10); + Number.isFinite(n4) && String(n4) === t3.trim() && (o2 = n4); + } + void 0 !== o2 ? this.enforceValueLimit(o2 >= u.default.minInt && o2 <= u.default.maxInt, (0, r2.sprintf)(a.configureFromModel.integerLiteralOutOfRange, o2, u.default.minInt, u.default.maxInt), n3) && e3.setAsLiteral(String(o2)) : n3 && n3.warn((0, r2.sprintf)(a.configureFromModel.unrecognizedLiteralValue, "integer", JSON.stringify(t3))); } validateLiteral(e3, t3) { if (t3.outOfService) return true; const i3 = Number(t3.text), n3 = parseInt(t3.text); if (!isNaN(i3) && i3) { let n4, o2; - if (i3 < s.default.minInt ? (n4 = c.expression.intValueLessThanMin, o2 = s.default.minInt) : i3 > s.default.maxInt && (n4 = c.expression.intValueGreaterThanMax, o2 = s.default.maxInt), n4) return t3.setParseError((0, r2.sprintf)(n4, t3.text, 1, o2)), e3.addError(t3, (0, r2.sprintf)(c.errors.invalidValue, t3.label), false, true), false; + if (i3 < u.default.minInt ? (n4 = _.expression.intValueLessThanMin, o2 = u.default.minInt) : i3 > u.default.maxInt && (n4 = _.expression.intValueGreaterThanMax, o2 = u.default.maxInt), n4) return t3.setParseError((0, r2.sprintf)(n4, t3.text, 1, o2)), e3.addError(t3, (0, r2.sprintf)(_.errors.invalidValue, t3.label), false, true), false; } - return !isNaN(i3) && !isNaN(n3) && n3.toString() === t3.text || (e3.addError(t3, (0, r2.sprintf)(c.errors.invalidValue, t3.label), false, true), false); + return !isNaN(i3) && !isNaN(n3) && n3.toString() === t3.text || (e3.addError(t3, (0, r2.sprintf)(_.errors.invalidValue, t3.label), false, true), false); } convertLitToCustomJsonStr(e3, t3, i3, n3) { return i3 || t3 || ""; } } - t2.IntegerType = p, p.typeIdentifier = l.expressionTypeNames.integer; + t2.IntegerType = h, h.typeIdentifier = c.expressionTypeNames.integer; }, 53614: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FuncOpOverload = void 0; const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(24032), a = n2.__importStar(i2(35515)), s = n2.__importStar(i2(10798)), l = n2.__importStar(i2(27099)), u = n2.__importDefault(i2(98114)); - function d(e3, t3, i3 = "span") { + function c(e3, t3, i3 = "span") { return `<${i3}${e3 ? ' class="' + e3 + '"' : ""}>${t3}`; } - function c(e3) { + function d(e3) { return e3.replace(/ /g, " "); } (0, o.getTopic)("funcOpOverload"), t2.FuncOpOverload = class { @@ -65760,31 +71153,31 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; get displayStringInHtml() { const e3 = this.operands.sort((e4, t4) => e4.helpDisplayIdx > t4.helpDisplayIdx ? 1 : -1), t3 = []; if ("function" === this.parent.type) { - t3.push(d("returnType parameterType", c(this.returnType.displayString))), t3.push(d("", " ")), t3.push(d("name", this.parent.text)), t3.push(d("paren", "( ")); + t3.push(c("returnType parameterType", d(this.returnType.displayString))), t3.push(c("", " ")), t3.push(c("name", this.parent.text)), t3.push(c("paren", "( ")); const i3 = []; e3.forEach((e4) => { const t4 = []; - t4.push(d("parameterType", c(e4.type.displayString))), t4.push(d("", " ")), t4.push(d("parameterName", e4.name)), e4.canAppearMoreThanOnce ? (t4.push(d("append-plus", " +")), i3.push(d("parameter append", t4.join("")))) : i3.push(d("parameter", t4.join(""))); - }), i3.length && t3.push(d("parameters", i3.join(d("comma", ", ")))), t3.push(d("paren", " )")); + t4.push(c("parameterType", d(e4.type.displayString))), t4.push(c("", " ")), t4.push(c("parameterName", e4.name)), e4.canAppearMoreThanOnce ? (t4.push(c("append-plus", " +")), i3.push(c("parameter append", t4.join("")))) : i3.push(c("parameter", t4.join(""))); + }), i3.length && t3.push(c("parameters", i3.join(c("comma", ", ")))), t3.push(c("paren", " )")); } else if ("operator" === this.parent.type) { const [i3, n3, r3] = e3; if (n3) { const e4 = []; - e4.push(d("parameterType", c(i3.type.displayString))), e4.push(d("", " ")), e4.push(d("", i3.name)), t3.push(d("parameter", e4.join(""))), t3.push(d("", " ")), t3.push(d("name", this.parent.text)), t3.push(d("", " ")); + e4.push(c("parameterType", d(i3.type.displayString))), e4.push(c("", " ")), e4.push(c("", i3.name)), t3.push(c("parameter", e4.join(""))), t3.push(c("", " ")), t3.push(c("name", this.parent.text)), t3.push(c("", " ")); const o2 = []; - if (o2.push(d("parameterType", c(n3.type.displayString))), o2.push(d("", " ")), o2.push(d("", n3.name)), t3.push(d("parameter", o2.join(""))), r3) { - t3.push(d("", " ")); + if (o2.push(c("parameterType", d(n3.type.displayString))), o2.push(c("", " ")), o2.push(c("", n3.name)), t3.push(c("parameter", o2.join(""))), r3) { + t3.push(c("", " ")); const i4 = []; - i4.push(d("", ": ")), i4.push(d("parameterType", c(r3.type.displayString))), i4.push(d("", " ")), i4.push(d("", r3.name)), e4.push(d("", " ")), t3.push(d("parameter", i4.join(""))); + i4.push(c("", ": ")), i4.push(c("parameterType", d(r3.type.displayString))), i4.push(c("", " ")), i4.push(c("", r3.name)), e4.push(c("", " ")), t3.push(c("parameter", i4.join(""))); } - this.parent.closingSymbol && (t3.push(d("", " ")), t3.push(d("name", this.parent.closingSymbol))); + this.parent.closingSymbol && (t3.push(c("", " ")), t3.push(c("name", this.parent.closingSymbol))); } else if (i3) { - t3.push(d("name", this.parent.text)); + t3.push(c("name", this.parent.text)); const e4 = []; - e4.push(d("parameterType", c(i3.type.displayString))), e4.push(d("", " ")), i3.identifier && e4.push(d("", i3.identifier)), t3.push(d("parameter", e4.join(""))); + e4.push(c("parameterType", d(i3.type.displayString))), e4.push(c("", " ")), i3.identifier && e4.push(c("", i3.identifier)), t3.push(c("parameter", e4.join(""))); } } - return this.__cachedSignatureAsHtml = d("expression-function-signature", t3.join("")), this.__cachedSignatureAsHtml; + return this.__cachedSignatureAsHtml = c("expression-function-signature", t3.join("")), this.__cachedSignatureAsHtml; } isAvailableForFlowType(e3) { return !(this.isUnavailable || this.supportedFlowTypes && !this.supportedFlowTypes[e3]); @@ -65796,14 +71189,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(50661), a = i2(74483), s = n2.__importDefault(i2(57606)), l = i2(47957); class u extends a.NameIdConfigurationListViewModel { constructor(e3) { - var t3, i3; - if (super(e3), this._schemasNotLoaded = false, this._model.publishedContract) { - const e4 = { properties: {}, required: [] }, n3 = { properties: {}, required: [] }; - r2.default.each(null === (t3 = this._model.publishedContract.executionInputSchema) || void 0 === t3 ? void 0 : t3.properties, (t4, i4) => { - r2.default.isObject(t4) && (e4.properties[i4] = t4, e4.required.push(i4)); - }), r2.default.each(null === (i3 = this._model.publishedContract.executionOutputSchema) || void 0 === i3 ? void 0 : i3.properties, (e5, t4) => { - r2.default.isObject(e5) && (n3.properties[t4] = e5, n3.required.push(t4)); - }), this._inputSchema = new s.default(e4, true), this._successSchema = new s.default(n3, false); + var t3, i3, n3; + super(e3), this._schemasNotLoaded = false; + const a2 = null === (t3 = this._model) || void 0 === t3 ? void 0 : t3.publishedContract; + if ((null == a2 ? void 0 : a2.executionInputSchema) && (null == a2 ? void 0 : a2.executionOutputSchema)) { + const e4 = { properties: {}, required: [] }, t4 = { properties: {}, required: [] }; + r2.default.each(null === (i3 = a2.executionInputSchema) || void 0 === i3 ? void 0 : i3.properties, (t5, i4) => { + r2.default.isObject(t5) && (e4.properties[i4] = t5, e4.required.push(i4)); + }), r2.default.each(null === (n3 = a2.executionOutputSchema) || void 0 === n3 ? void 0 : n3.properties, (e5, i4) => { + r2.default.isObject(e5) && (t4.properties[i4] = e5, t4.required.push(i4)); + }), this._inputSchema = new s.default(e4, true), this._successSchema = new s.default(t4, false); } else this._schemasNotLoaded = true; this._errorSchema = new s.default({ properties: { errorType: { allowableValues: o.callDecisionTableFailureReasons.sort(), type: "string", description: l.errorSchema.errorTypeDescription }, errorMessage: { type: "string", description: l.errorSchema.errorMessageDescription } } }, false); } @@ -65830,112 +71225,153 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 53755: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseConversationAttributeActionViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(14592)), o = n2.__importStar(i2(36781)), a = i2(79516), s = n2.__importDefault(i2(19613)), l = i2(82632), u = i2(85415), d = n2.__importDefault(i2(85499)), c = i2(66314), p = i2(79519), _ = i2(79519), h = n2.__importDefault(i2(87675)), m = n2.__importDefault(i2(65302)), g = i2(80428), f = i2(29586), T = i2(81516), y = i2(96618), S = i2(82632), A = i2(99469), N = i2(28803), O = i2(89917), I = i2(47957); - class v extends s.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(14592)), o = n2.__importStar(i2(36781)), a = i2(79516), s = n2.__importDefault(i2(19613)), l = i2(82632), u = i2(85415), c = i2(66314), d = i2(79519), p = i2(89917), _ = i2(79519), h = n2.__importDefault(i2(85499)), m = n2.__importDefault(i2(87675)), g = n2.__importDefault(i2(65302)), f = i2(29586), T = i2(80428), y = i2(81516), S = i2(82632), A = i2(96618), N = i2(99469), v = i2(28803), O = i2(47957); + class I extends s.default { get selectedItemNetworkProperty() { return this.conversationCustomAttributeSchema; } constructor(e3, t3) { super(e3, t3); } + get inputUsesSchemaDataPatch() { + return false; + } + createOrGetSchemaDataPatchInputType(e3) { + return r2.createOrGetPatchableMirrorType(this.parentFlow, e3, { mapTypeId: r2.mapSchemaDataTypeIdToPatch, entityName: this.conversationCustomAttributeSchemaName, rootDisplayNameSuffix: "Schema Data Patch" }); + } + static createRecordWrapperDataTypeDef(e3, t3, i3, n3) { + const r3 = m.default.createEmptyDataTypeDef(); + r3.id = i3.expressionTypeStr, r3.dataTypeId = i3.expressionTypeStr, r3.name = `${n3} - Record`, r3.additionalProperties = false; + const o2 = m.default.createFromPropertyParams(e3, "id", T.expressionTypeNames.string, O.conversationAttribute.recordIdDescription, { isReadOnly: true, minLength: l.conversationAttributeLimits.recordId.minLength, maxLength: l.conversationAttributeLimits.recordId.maxLength }), a2 = m.default.createFromPropertyParams(e3, "versionId", T.expressionTypeNames.integer, O.conversationAttribute.recordVersionDescription, { isReadOnly: true, minValue: l.conversationAttributeLimits.versionId.minValue, minValueInclusive: l.conversationAttributeLimits.versionId.minValueInclusive }), s2 = m.default.createFromPropertyParams(e3, "schemaVersionId", T.expressionTypeNames.integer, O.conversationAttribute.schemaVersionIdDescription, { isReadOnly: true }), u2 = m.default.createFromPropertyParams(e3, "divisions", T.expressionTypeNames.division, O.conversationAttribute.divisionsForConversationAttributeRecord, { isCollection: true, isReadOnly: true }), c2 = m.default.createFromPropertyParams(e3, "customAttributes", t3.expressionType, O.conversationAttribute.customAttributesDescription, { isReadOnly: true }); + return r3.addProperty(o2), r3.addProperty(a2), r3.addProperty(s2), r3.addProperty(u2), r3.addProperty(c2), r3; + } + static createOrGetRecordType(e3, t3, i3, n3) { + var o2; + if (!t3) return null; + if (!t3.expressionType) return null; + const a2 = p.CustomJsonIdentifierInfo.create((0, c.createCustomJsonExpressionDataTypeStr)(_.CustomJsonNamespace.conversationAttribute, n3, d.CustomJsonContext.record)), s2 = g.default.getType(e3, a2.expressionTypeStr, false); + if (s2 && s2.isCustomType) { + const t4 = e3.definitions.getCustomDataTypeDefinition(a2.expressionTypeStr); + return t4 && (t4.bindToFlow(e3), t4.registerPropertyTypeUsages()), s2; + } + const l2 = I.createRecordWrapperDataTypeDef(e3, t3, a2, i3), u2 = r2.createCustomExpressionTypesFromDataTypeDefs(e3, [l2], true); + return null !== (o2 = null == u2 ? void 0 : u2[0]) && void 0 !== o2 ? o2 : null; + } static createBaseManagedProperties() { - return [{ property: "conversationCustomAttributeSchema", label: I.conversationAttribute.schemaLabel, createDetails: N.NetworkBasedActionProperty.createCreateDetails("conversationCustomAttributeSchemaId", "conversationCustomAttributeSchemaName", u.conversationCustomAttributeSchemaManager, I.conversationAttribute.mustSelectSchema, I.conversationAttribute.schemaNotFound, null), yamlOptions: v.createYamlOptions("conversationCustomAttributeSchema", (e3) => e3.setSkipProperty(true)), options: A.ManagedPropertyOptions.create((e3) => e3.setDropdownPlaceholder(I.conversationAttribute.selectSchema).setIninTestingField("selectSchema")) }, { property: "conversationId", label: I.setConversationData.conversationLabel, options: T.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(I.setConversationData.conversationLabel, I.setConversationData.conversationDescription).setIninTestingField("conversationIdExpression").setDisableSpellcheck(true).setUiPropertyOrder(10).facets.setLengthForUuid()), type: g.expressionTypeNames.string, supportedFlowTypes: [y.flowTypes.flowTypeWorkflow] }]; + return [{ property: "conversationCustomAttributeSchema", label: O.conversationAttribute.schemaLabel, createDetails: v.NetworkBasedActionProperty.createCreateDetails("conversationCustomAttributeSchemaId", "conversationCustomAttributeSchemaName", u.conversationCustomAttributeSchemaManager, O.conversationAttribute.mustSelectSchema, O.conversationAttribute.schemaNotFound, null), yamlOptions: I.createYamlOptions("conversationCustomAttributeSchema", (e3) => e3.setSkipProperty(true)), options: N.ManagedPropertyOptions.create((e3) => e3.setDropdownPlaceholder(O.conversationAttribute.selectSchema).setIninTestingField("selectSchema")) }, { property: "conversationId", label: O.setConversationData.conversationLabel, options: y.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(O.setConversationData.conversationLabel, O.setConversationData.conversationDescription).setIninTestingField("conversationIdExpression").setDisableSpellcheck(true).setUiPropertyOrder(10).facets.setLengthForUuid()), type: T.expressionTypeNames.string, supportedFlowTypes: [A.flowTypes.flowTypeWorkflow] }]; } static createRecordIdManagedProperty() { - return { label: I.conversationAttribute.recordId, options: T.ExpressionTypeStringOptions.create((e3) => { - e3.setAsInput().setIninTestingField("recordId").setDisableSpellcheck(true).setDefaultToExpression(true).setAllowModeBuilder(false).setDescriptionInfo(I.conversationAttribute.recordId, I.conversationAttribute.recordIdDescription).facets.setMaxLength(l.conversationAttributeLimits.recordId.maxLength).setMinLength(l.conversationAttributeLimits.recordId.minLength).setLiteralPattern(l.conversationAttributeLimits.recordId.literalPattern, I.conversationAttribute.invalidRecordId); - }), property: "recordId", type: g.expressionTypeNames.string }; + return { label: O.conversationAttribute.recordId, options: y.ExpressionTypeStringOptions.create((e3) => { + e3.setAsInput().setIninTestingField("recordId").setDisableSpellcheck(true).setDefaultToExpression(true).setAllowNotSet(false).setAllowModeBuilder(false).setDescriptionInfo(O.conversationAttribute.recordId, O.conversationAttribute.recordIdDescription).facets.setAllowNull(false).setMaxLength(l.conversationAttributeLimits.recordId.maxLength).setMinLength(l.conversationAttributeLimits.recordId.minLength).setLiteralPattern(l.conversationAttributeLimits.recordId.literalPattern, O.conversationAttribute.invalidRecordId); + }), property: "recordId", type: T.expressionTypeNames.string }; } static createRecordIdsManagedProperty() { - return { label: I.conversationAttribute.recordIds, options: T.ExpressionTypeStringOptions.create((e3) => { - e3.setAsInput().setIninTestingField("recordIds").setIsCollection(true).setDisableSpellcheck(true).setDefaultToExpression(true).setAllowModeBuilder(false).setDescriptionInfo(I.conversationAttribute.recordIds, I.conversationAttribute.recordIdsDescription).facets.setMaxLength(l.conversationAttributeLimits.recordId.maxLength).setMinLength(l.conversationAttributeLimits.recordId.minLength).setLiteralPattern(l.conversationAttributeLimits.recordId.literalPattern, I.conversationAttribute.invalidRecordId); - }), property: "recordIds", type: g.expressionTypeNames.string }; + return { label: O.conversationAttribute.recordIds, options: y.ExpressionTypeStringOptions.create((e3) => { + e3.setAsInput().setIninTestingField("recordIds").setIsCollection(true).setDisableSpellcheck(true).setDefaultToExpression(true).setAllowModeBuilder(false).setDescriptionInfo(O.conversationAttribute.recordIds, O.conversationAttribute.recordIdsDescription).facets.setMaxLength(l.conversationAttributeLimits.recordId.maxLength).setMinLength(l.conversationAttributeLimits.recordId.minLength).setLiteralPattern(l.conversationAttributeLimits.recordId.literalPattern, O.conversationAttribute.invalidRecordId); + }), property: "recordIds", type: T.expressionTypeNames.string }; } static createDivisionsManagedProperty() { - return { label: I.generic.divisions, options: f.ExpressionTypeDivisionOptions.create((e3) => { - e3.setAsInput().setIninTestingField("divisions").setIsCollection(true).setDescriptionInfo(I.generic.divisions, I.conversationAttribute.divisionsForConversationAttributeRecord).setMaxItems(S.findLimits.maxBulkFindByName); - }), property: "divisions", type: g.expressionTypeNames.division }; + return { label: O.generic.divisions, options: f.ExpressionTypeDivisionOptions.create((e3) => { + e3.setAsInput().setIninTestingField("divisions").setIsCollection(true).setDescriptionInfo(O.generic.divisions, O.conversationAttribute.divisionsForConversationAttributeRecord).setMaxItems(S.findLimits.maxBulkFindByName); + }), property: "divisions", type: T.expressionTypeNames.division }; } createOrUpdateCustomJsonTypes() { return n2.__awaiter(this, void 0, void 0, function* () { - var e3, t3, i3, n3, r3, o2; - let a2 = this.conversationCustomAttributeSchema.getItem(); - if (!(null === (e3 = null == a2 ? void 0 : a2.model) || void 0 === e3 ? void 0 : e3.jsonSchema)) try { - a2 = yield u.conversationCustomAttributeSchemaManager.getOrFetchItem(this.conversationCustomAttributeSchema.idValue); + var e3, t3, i3, n3, r3, o2, a2; + let s2 = this.conversationCustomAttributeSchema.getItem(); + const l2 = null === (e3 = null == s2 ? void 0 : s2.model) || void 0 === e3 ? void 0 : e3.jsonSchema; + if (!(null == l2 ? void 0 : l2.properties)) try { + s2 = yield u.conversationCustomAttributeSchemaManager.getOrFetchItem(this.conversationCustomAttributeSchema.idValue); } catch (e4) { return void this.topic.requestError(e4, `Failed to fetch CCA schema: ${null === (t3 = this.conversationCustomAttributeSchema) || void 0 === t3 ? void 0 : t3.idValue}.`); } - this.input && (this.inputCustomJsonTypeManager = this._getOrCreateCustomJsonManager(a2)), this.output && (this.outputCustomJsonTypeManager = this._getOrCreateCustomJsonManager(a2)); - const s2 = null === (i3 = null == a2 ? void 0 : a2.model) || void 0 === i3 ? void 0 : i3.jsonSchema; - if (s2 || this.topic.error(`We did not receive the expected schemas. Here is the response object we received: ${JSON.stringify(a2)}`), this.inputCustomJsonTypeManager && this.input && this.inputCustomJsonTypeManager.tryUpdateParentExpressionPropTypeFromSchema(s2, true, this.isReadOnly, true, this.input), this.outputCustomJsonTypeManager && this.output && this.outputCustomJsonTypeManager.tryUpdateParentExpressionPropTypeFromSchema(s2, true, this.isReadOnly, true, this.output), this.input && !(null === (n3 = this.inputCustomJsonTypeManager) || void 0 === n3 ? void 0 : n3.customDataType) || this.output && !(null === (r3 = this.outputCustomJsonTypeManager) || void 0 === r3 ? void 0 : r3.customDataType)) { - const e4 = m.default.getType(this.parent, "jsn", false); - return this.input && (this.input.type = e4), this.output && (this.output.type = e4), void this.topic.error(`Custom type creation failed for schema: ${s2}. Cannot create custom types.`); + this.input && (this.inputCustomJsonTypeManager = this._getOrCreateCustomJsonManager(s2)), this.output && (this.outputCustomJsonTypeManager = this._getOrCreateCustomJsonManager(s2)); + const c2 = null === (i3 = null == s2 ? void 0 : s2.model) || void 0 === i3 ? void 0 : i3.jsonSchema; + if (c2 || this.topic.error(`We did not receive the expected schemas. Here is the response object we received: ${JSON.stringify(s2)}`), this.inputCustomJsonTypeManager && this.input && this.inputCustomJsonTypeManager.tryUpdateParentExpressionPropTypeFromSchema(c2, true, this.isReadOnly, true, this.input), this.outputCustomJsonTypeManager && this.output && this.outputCustomJsonTypeManager.tryUpdateParentExpressionPropTypeFromSchema(c2, true, this.isReadOnly, true), this.input && !(null === (n3 = this.inputCustomJsonTypeManager) || void 0 === n3 ? void 0 : n3.customDataType) || this.output && !(null === (r3 = this.outputCustomJsonTypeManager) || void 0 === r3 ? void 0 : r3.customDataType)) { + const e4 = g.default.getType(this.parent, "jsn", false); + return this.input && (this.input.type = e4), this.output && (this.output.type = e4), void this.topic.error(`Custom type creation failed for schema: ${c2}. Cannot create custom types.`); } - if (this.input && this.inputCustomJsonTypeManager && (this.input.type = this.inputCustomJsonTypeManager.customDataType, this.recordDataType = this._createRecordType(this.inputCustomJsonTypeManager.customDataType, this._recordDataTypeInfo, this.conversationCustomAttributeSchemaName), this.recordDataType)) { - const e4 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._recordDataTypeInfo.expressionTypeStr); - e4 && e4.addReader(this.input); + if (this.input && this.inputCustomJsonTypeManager) { + const e4 = this.inputCustomJsonTypeManager.customDataType; + if (this.input.type = this.inputUsesSchemaDataPatch && this.createOrGetSchemaDataPatchInputType(e4) || e4, this.recordDataType = I.createOrGetRecordType(this.parentFlow, e4, this.conversationCustomAttributeSchemaName, this.conversationCustomAttributeSchemaId), this._registerInputSchemaDataTypeReader(), this.recordDataType) { + const e5 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._recordDataTypeInfo.expressionTypeStr); + null == e5 || e5.addReader(this.input); + } + this.inputUsesSchemaDataPatch && (null === (o2 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._schemaDataPatchTypeInfo.expressionTypeStr)) || void 0 === o2 || o2.addReader(this.input)); } if (this.output && this.outputCustomJsonTypeManager) { const e4 = this.outputCustomJsonTypeManager.customDataType; - if (this.recordDataType = this._createRecordType(e4, this._recordDataTypeInfo, this.conversationCustomAttributeSchemaName), this.recordDataType) { - this.output.type = (null === (o2 = this.output.options) || void 0 === o2 ? void 0 : o2.isCollection) ? m.default.getType(this.parentFlow, this.recordDataType.expressionType, true) : this.recordDataType; - const e5 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._recordDataTypeInfo.expressionTypeStr); - e5 && e5.addReader(this.output); - } + this.recordDataType = I.createOrGetRecordType(this.parentFlow, e4, this.conversationCustomAttributeSchemaName, this.conversationCustomAttributeSchemaId), this.recordDataType && (this.output.type = (null === (a2 = this.output.options) || void 0 === a2 ? void 0 : a2.isCollection) ? g.default.getType(this.parentFlow, this.recordDataType.expressionType, true) : this.recordDataType, this._registerOutputRecordTypeReader()); } }); } setCachedCustomJsonTypesForInputOutput() { - var e3, t3, i3, n3, r3, o2; - const a2 = null === (e3 = this.parentFlow.definitions) || void 0 === e3 ? void 0 : e3.customDataTypeExpressionType; + var e3, t3, i3, n3, r3; + const o2 = null === (e3 = this.parentFlow.definitions) || void 0 === e3 ? void 0 : e3.customDataTypeExpressionType; if (this.input) { - const e4 = a2.find((e5) => e5.dataType === this._schemaDataTypeInfo.expressionTypeStr); - e4 && (this.input.type = e4), null === (t3 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._recordDataTypeInfo.expressionTypeStr)) || void 0 === t3 || t3.addReader(this.input), null === (i3 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._schemaDataTypeInfo.expressionTypeStr)) || void 0 === i3 || i3.addReader(this.input); + const e4 = this.inputUsesSchemaDataPatch ? this._schemaDataPatchTypeInfo.expressionTypeStr : this._schemaDataTypeInfo.expressionTypeStr; + let r4 = o2.find((t4) => t4.dataType === e4); + if (!r4 && this.inputUsesSchemaDataPatch) { + const e5 = o2.find((e6) => e6.dataType === this._schemaDataTypeInfo.expressionTypeStr); + e5 && (r4 = this.createOrGetSchemaDataPatchInputType(e5)); + } + r4 && (this.input.type = r4), this._registerInputSchemaDataTypeReader(), null === (t3 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._recordDataTypeInfo.expressionTypeStr)) || void 0 === t3 || t3.addReader(this.input), null === (i3 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._schemaDataTypeInfo.expressionTypeStr)) || void 0 === i3 || i3.addReader(this.input), this.inputUsesSchemaDataPatch && (null === (n3 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._schemaDataPatchTypeInfo.expressionTypeStr)) || void 0 === n3 || n3.addReader(this.input)); } if (this.output) { - const e4 = a2.find((e5) => e5.dataType === this._recordDataTypeInfo.expressionTypeStr); - e4 && (this.output.type = (null === (n3 = this.output.options) || void 0 === n3 ? void 0 : n3.isCollection) ? m.default.getType(this.parentFlow, e4.expressionType, true) : e4), null === (r3 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._recordDataTypeInfo.expressionTypeStr)) || void 0 === r3 || r3.addReader(this.output), null === (o2 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._schemaDataTypeInfo.expressionTypeStr)) || void 0 === o2 || o2.addReader(this.output); + const e4 = o2.find((e5) => e5.dataType === this._recordDataTypeInfo.expressionTypeStr); + e4 && (this.output.type = (null === (r3 = this.output.options) || void 0 === r3 ? void 0 : r3.isCollection) ? g.default.getType(this.parentFlow, e4.expressionType, true) : e4), this._registerOutputRecordTypeReader(); } } validate(e3) { var t3, i3, n3, r3, s2, l2, u2; if (super.validate(e3), null === (t3 = this.selectedItemNetworkProperty) || void 0 === t3 ? void 0 : t3.idValue) { - (null === (n3 = null === (i3 = this.selectedItemNetworkProperty) || void 0 === i3 ? void 0 : i3.getItem()) || void 0 === n3 ? void 0 : n3.disabled) && (e3.addError(this, I.conversationAttribute.disabledSchemaSelected), this.selectedItemNetworkProperty.currentUiErrorMessage = I.conversationAttribute.disabledSchemaSelected, o.emitter.emit(o.alert, { message: I.conversationAttribute.flowReferencesADisabledSchema, type: a.AlertTypeEnum.error })); - const t4 = null === (s2 = null === (r3 = this.input) || void 0 === r3 ? void 0 : r3.type) || void 0 === s2 ? void 0 : s2.isCustomType, d2 = null === (u2 = null === (l2 = this.output) || void 0 === l2 ? void 0 : l2.type) || void 0 === u2 ? void 0 : u2.isCustomType; - (this.input && !t4 || this.output && !d2) && e3.addError(this, I.conversationAttribute.unableToLoadSchema); + (null === (n3 = null === (i3 = this.selectedItemNetworkProperty) || void 0 === i3 ? void 0 : i3.getItem()) || void 0 === n3 ? void 0 : n3.disabled) && (e3.addError(this, O.conversationAttribute.disabledSchemaSelected), this.selectedItemNetworkProperty.currentUiErrorMessage = O.conversationAttribute.disabledSchemaSelected, o.emitter.emit(o.alert, { message: O.conversationAttribute.flowReferencesADisabledSchema, type: a.AlertTypeEnum.error })); + const t4 = null === (s2 = null === (r3 = this.input) || void 0 === r3 ? void 0 : r3.type) || void 0 === s2 ? void 0 : s2.isCustomType, c2 = null === (u2 = null === (l2 = this.output) || void 0 === l2 ? void 0 : l2.type) || void 0 === u2 ? void 0 : u2.isCustomType; + (this.input && !t4 || this.output && !c2) && e3.addError(this, O.conversationAttribute.unableToLoadSchema); } } _getOrCreateCustomJsonManager(e3) { var t3, i3, n3, r3; - return (null === (t3 = e3.model) || void 0 === t3 ? void 0 : t3.id) && (null === (i3 = e3.model) || void 0 === i3 ? void 0 : i3.name) ? d.default.getOrCreateConversationCustomAttributeSchemaCustomJsonManager(this.parentFlow, null === (n3 = e3.model) || void 0 === n3 ? void 0 : n3.name, null === (r3 = e3.model) || void 0 === r3 ? void 0 : r3.id) : null; + return (null === (t3 = e3.model) || void 0 === t3 ? void 0 : t3.id) && (null === (i3 = e3.model) || void 0 === i3 ? void 0 : i3.name) ? h.default.getOrCreateConversationCustomAttributeSchemaCustomJsonManager(this.parentFlow, null === (n3 = e3.model) || void 0 === n3 ? void 0 : n3.name, null === (r3 = e3.model) || void 0 === r3 ? void 0 : r3.id) : null; } get _recordDataTypeInfo() { - return O.CustomJsonIdentifierInfo.create((0, c.createCustomJsonExpressionDataTypeStr)(_.CustomJsonNamespace.conversationAttribute, this.conversationCustomAttributeSchemaId, p.CustomJsonContext.record)); + return p.CustomJsonIdentifierInfo.create((0, c.createCustomJsonExpressionDataTypeStr)(_.CustomJsonNamespace.conversationAttribute, this.conversationCustomAttributeSchemaId, d.CustomJsonContext.record)); } get _schemaDataTypeInfo() { - return O.CustomJsonIdentifierInfo.create((0, c.createCustomJsonExpressionDataTypeStr)(_.CustomJsonNamespace.conversationAttribute, this.conversationCustomAttributeSchemaId, p.CustomJsonContext.schemaData)); + return p.CustomJsonIdentifierInfo.create((0, c.createCustomJsonExpressionDataTypeStr)(_.CustomJsonNamespace.conversationAttribute, this.conversationCustomAttributeSchemaId, d.CustomJsonContext.schemaData)); } - _createRecordWrapperDataTypeDef(e3, t3, i3) { - const n3 = h.default.createEmptyDataTypeDef(), r3 = i3 || this.conversationCustomAttributeSchemaName; - n3.id = t3.expressionTypeStr, n3.dataTypeId = t3.expressionTypeStr, n3.name = `${r3} - Record`, n3.additionalProperties = false; - const o2 = h.default.createFromPropertyParams(this.parentFlow, "id", g.expressionTypeNames.string, I.conversationAttribute.recordIdDescription, { isReadOnly: true, minLength: l.conversationAttributeLimits.recordId.minLength, maxLength: l.conversationAttributeLimits.recordId.maxLength }), a2 = h.default.createFromPropertyParams(this.parentFlow, "versionId", g.expressionTypeNames.integer, I.conversationAttribute.recordVersionDescription, { isReadOnly: true, minValue: l.conversationAttributeLimits.versionId.minValue, minValueInclusive: l.conversationAttributeLimits.versionId.minValueInclusive }), s2 = h.default.createFromPropertyParams(this.parentFlow, "schemaVersionId", g.expressionTypeNames.integer, I.conversationAttribute.schemaVersionIdDescription, { isReadOnly: true }), u2 = h.default.createFromPropertyParams(this.parentFlow, "divisions", g.expressionTypeNames.division, I.conversationAttribute.divisionsForConversationAttributeRecord, { isCollection: true, isReadOnly: true }), d2 = h.default.createFromPropertyParams(this.parentFlow, "customAttributes", e3.expressionType, I.conversationAttribute.customAttributesDescription, { isReadOnly: true }); - return n3.addProperty(o2), n3.addProperty(a2), n3.addProperty(s2), n3.addProperty(u2), n3.addProperty(d2), n3; - } - _createRecordType(e3, t3, i3) { - if (!e3) return null; - if (!e3.expressionType) return this.topic.error("Schema data type missing expressionType, cannot create record wrapper"), null; - const n3 = m.default.getType(this.parentFlow, t3.expressionTypeStr, false); - if (n3 && n3.isCustomType) return n3; - const o2 = this._createRecordWrapperDataTypeDef(e3, t3, i3), a2 = r2.createCustomExpressionTypesFromDataTypeDefs(this.parentFlow, [o2], true); - return null == a2 ? void 0 : a2[0]; + get _schemaDataPatchTypeInfo() { + return p.CustomJsonIdentifierInfo.create((0, c.createCustomJsonExpressionDataTypeStr)(_.CustomJsonNamespace.conversationAttribute, this.conversationCustomAttributeSchemaId, d.CustomJsonContext.schemaDataPatch)); } _clearInputsAndOutputs() { - var e3; - this.input && this.recordDataType && this.recordDataType.getCustomDataTypeDefinition().removeUsage(this.input), this.output && this.outputCustomJsonTypeManager && (null === (e3 = this.outputCustomJsonTypeManager.customDataType.getCustomDataTypeDefinition()) || void 0 === e3 || e3.removeUsage(this.output)), super._clearInputsAndOutputs(); + this._removeInputCustomJsonTypeReaders(), this._removeOutputCustomJsonTypeReaders(), super._clearInputsAndOutputs(); } _preDestroy() { + this._removeInputCustomJsonTypeReaders(), this._removeOutputCustomJsonTypeReaders(), super._preDestroy(); + } + _getSchemaDataTypeDef() { + var e3, t3, i3, n3, r3, o2; + return null !== (o2 = null !== (i3 = null === (t3 = null === (e3 = this.inputCustomJsonTypeManager) || void 0 === e3 ? void 0 : e3.customDataType) || void 0 === t3 ? void 0 : t3.getCustomDataTypeDefinition()) && void 0 !== i3 ? i3 : null === (r3 = null === (n3 = this.outputCustomJsonTypeManager) || void 0 === n3 ? void 0 : n3.customDataType) || void 0 === r3 ? void 0 : r3.getCustomDataTypeDefinition()) && void 0 !== o2 ? o2 : this.parentFlow.definitions.getCustomDataTypeDefinition(this._schemaDataTypeInfo.expressionTypeStr); + } + _getRecordDataTypeDef() { + var e3, t3; + return null !== (t3 = null === (e3 = this.recordDataType) || void 0 === e3 ? void 0 : e3.getCustomDataTypeDefinition()) && void 0 !== t3 ? t3 : this.parentFlow.definitions.getCustomDataTypeDefinition(this._recordDataTypeInfo.expressionTypeStr); + } + _registerInputSchemaDataTypeReader() { + var e3; + this.input && (null === (e3 = this._getSchemaDataTypeDef()) || void 0 === e3 || e3.addReader(this.input)); + } + _registerOutputRecordTypeReader() { var e3; - this.input && this.recordDataType && this.recordDataType.getCustomDataTypeDefinition().removeUsage(this.input), this.output && this.outputCustomJsonTypeManager && (null === (e3 = this.outputCustomJsonTypeManager.customDataType.getCustomDataTypeDefinition()) || void 0 === e3 || e3.removeUsage(this.output)), super._preDestroy(); + this.output && (null === (e3 = this._getRecordDataTypeDef()) || void 0 === e3 || e3.addReader(this.output)); + } + _removeInputCustomJsonTypeReaders() { + var e3, t3; + this.input && (null === (e3 = this._getSchemaDataTypeDef()) || void 0 === e3 || e3.removeUsage(this.input), null === (t3 = this._getRecordDataTypeDef()) || void 0 === t3 || t3.removeUsage(this.input)); + } + _removeOutputCustomJsonTypeReaders() { + var e3, t3; + this.output && (null === (e3 = this._getRecordDataTypeDef()) || void 0 === e3 || e3.removeUsage(this.output), null === (t3 = this._getSchemaDataTypeDef()) || void 0 === t3 || t3.removeUsage(this.output)); } getConfiguration(e3, t3) { var i3; @@ -65946,8 +71382,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } return e3; } + _configureFromModel(e3, t3, i3) { + void 0 !== e3.conversationCustomAttributeSchema && this.conversationCustomAttributeSchema.configureFromModel(e3.conversationCustomAttributeSchema, t3, i3), super._configureFromModel(e3, t3, i3); + } } - t2.BaseConversationAttributeActionViewModel = v; + t2.BaseConversationAttributeActionViewModel = I; }, 53761: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -66124,10 +71563,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 53943: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(10798)), s = n2.__importDefault(i2(41510)), l = n2.__importDefault(i2(4648)), u = i2(43212), d = n2.__importDefault(i2(43277)), c = n2.__importDefault(i2(27579)), p = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(10798)), s = n2.__importDefault(i2(41510)), l = n2.__importDefault(i2(4648)), u = i2(43212), c = n2.__importDefault(i2(43277)), d = n2.__importDefault(i2(27579)), p = i2(47957); class _ extends u.BaseConfigurationListViewModel { constructor(e3) { - super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, c.default)(); + super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, d.default)(); } get className() { return "DialogflowCxAgentViewModel"; @@ -66162,8 +71601,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._model; } set model(e3) { - this._model = e3, this.environments = [new d.default(s.default.dialogflow.draftEnvironmentId, s.default.dialogflow.draftEnvironmentName)], o.default.each(this.model.environments, (e4) => { - this.environments.push(new d.default(e4.id, e4.name, null)); + this._model = e3, this.environments = [new c.default(s.default.dialogflow.draftEnvironmentId, s.default.dialogflow.draftEnvironmentName)], o.default.each(this.model.environments, (e4) => { + this.environments.push(new c.default(e4.id, e4.name, null)); }); } get name() { @@ -66234,10 +71673,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; var n2, r2, o; Object.defineProperty(t2, "__esModule", { value: true }); - const a = i2(31635), s = a.__importDefault(i2(33231)), l = i2(79364), u = i2(17604), d = a.__importDefault(i2(92140)), c = a.__importStar(i2(12847)), p = a.__importStar(i2(36781)), _ = a.__importStar(i2(97920)), h = a.__importStar(i2(24032)), m = a.__importDefault(i2(41510)), g = i2(55299), f = i2(80295), T = h.getTopic("prompts"); - class y extends g.BaseClass { + const a = i2(31635), s = a.__importDefault(i2(33231)), l = i2(79364), u = i2(17604), c = a.__importDefault(i2(92140)), d = a.__importStar(i2(12847)), p = a.__importStar(i2(36781)), _ = a.__importStar(i2(97920)), h = a.__importStar(i2(24032)), m = a.__importDefault(i2(41510)), g = i2(73250), f = i2(73250), T = i2(80295), y = a.__importDefault(i2(44552)), S = h.getTopic("prompts"); + class A extends y.default { constructor(e3, t3) { - super(), this.topic = T, this.uid = d.default.uniqueId(), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), this.isProcessing$ = new l.BehaviorSubject(false), this._parent = e3, this._loadModel(t3), (0, f.makeUnenumerable)(this, "topic"), (0, f.makeUnenumerable)(this, "uid"), (0, f.makeUnenumerable)(this, "_model"), (0, f.makeUnenumerable)(this, "_parent"); + super(g.defaultArchitectPromptResourceAudioFormat), this.topic = S, this.uid = c.default.uniqueId(), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), this.isProcessing$ = new l.BehaviorSubject(false), this._parent = e3, this._loadModel(t3), (0, T.makeUnenumerable)(this, "topic"), (0, T.makeUnenumerable)(this, "uid"), (0, T.makeUnenumerable)(this, "_model"), (0, T.makeUnenumerable)(this, "_parent"); } get className() { return "PromptResourceViewModel"; @@ -66279,6 +71718,25 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } return null; } + get audioFormat() { + return this._model.audioFormat; + } + get _sampleRate() { + var e3; + return null === (e3 = (0, f.getEffectivePromptResourceAudioFormat)(this._model.audioFormat, !!this.audioLength)) || void 0 === e3 ? void 0 : e3.sampleRate; + } + get _bitsPerSample() { + var e3; + return void 0 !== (null === (e3 = this._model.audioFormat) || void 0 === e3 ? void 0 : e3.bitsPerSample) ? this._model.audioFormat.bitsPerSample : g.defaultArchitectPromptResourceAudioFormat.bitsPerSample; + } + get _encoding() { + var e3, t3; + return null !== (t3 = null === (e3 = this._model.audioFormat) || void 0 === e3 ? void 0 : e3.encoding) && void 0 !== t3 ? t3 : g.defaultArchitectPromptResourceAudioFormat.encoding; + } + get _channels() { + var e3, t3; + return null !== (t3 = null === (e3 = this._model.audioFormat) || void 0 === e3 ? void 0 : e3.channels) && void 0 !== t3 ? t3 : g.defaultArchitectPromptResourceAudioFormat.channels; + } get hasUserUploadedAudio() { return this.isSystem && this.hasDefaultAudio ? !this.usingDefaultAudio : !!this.audioLength; } @@ -66357,17 +71815,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return _.getPromptResource(this.containerId, this.language, this.isSystem).then((e4) => { this._loadDetails(e4), t3.resolve(this); }, (e4) => { - T.errorPromise(e4, "Failed to get prompt resource details"), t3.reject(e4); + S.errorPromise(e4, "Failed to get prompt resource details"), t3.reject(e4); }), t3.promise; } get uploadStatus() { return this._model.uploadStatus; } _loadNewMediaDetails(e3) { - e3.language !== this.language && e3.id !== this.language || (this._model.mediaUri = e3.mediaUri, this._model.durationSeconds = e3.durationSeconds, this._model.uploadStatus = e3.uploadStatus); + e3.language !== this.language && e3.id !== this.language || (this._model.mediaUri = e3.mediaUri, this._model.durationSeconds = e3.durationSeconds, this._model.uploadStatus = e3.uploadStatus, void 0 !== e3.audioFormat && null !== e3.audioFormat && (this._model.audioFormat = e3.audioFormat)); } _loadModel(e3) { - e3 && (e3.isPromptResourceViewModel && (c.error(`Using PromptResourceViewModel as network model. id:${e3.id}`), e3._model && (e3 = e3._model)), this._model = e3, p.emitter.emit(p.promptResourceCreated, this)); + e3 && (e3.isPromptResourceViewModel && (d.error(`Using PromptResourceViewModel as network model. id:${e3.id}`), e3._model && (e3 = e3._model)), this._model = e3, p.emitter.emit(p.promptResourceCreated, this)); } _loadDetails(e3) { this._loadModel(e3), a.__classPrivateFieldSet(this, n2, true, "f"); @@ -66376,10 +71834,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return `PromptResource: parent: '${this._parent.toString()}' - Language: '${this.language}'`; } resetAudio() { - this._model.duration = void 0, this._model.uploadStatus = void 0, this._model.mediaUri = void 0; + this._model.duration = void 0, this._model.uploadStatus = void 0, this._model.mediaUri = void 0, this._model.audioFormat = void 0; } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = y; + n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = A; }, 54063: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -66418,17 +71876,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 54251: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.divisionManager = t2.DivisionManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(74359)), a = n2.__importStar(i2(1360)), s = n2.__importDefault(i2(51499)), l = n2.__importDefault(i2(47532)), u = i2(1234), d = i2(81801), c = n2.__importDefault(i2(4648)), p = i2(24032), _ = i2(10798), h = i2(44189), m = i2(27862); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(74359)), a = n2.__importStar(i2(1360)), s = n2.__importDefault(i2(51499)), l = n2.__importDefault(i2(47532)), u = i2(1234), c = i2(81801), d = n2.__importDefault(i2(4648)), p = i2(24032), _ = i2(10798), h = i2(44189), m = i2(27862); class g extends l.default { get requiredAuth() { - return d.externalAuthorizations.authStrings.divisionsView; + return c.externalAuthorizations.authStrings.divisionsView; } get dependencyType() { return this._featureEnabled ? m.Division : void 0; } constructor() { super(), this.topic = (0, p.getTopic)("divisionManager"), this.apiCallList = h.getDivisions, this.apiCallSingle = h.getDivision, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [], this.className = "DivisionManager", this.defaultPageSize = 499, this.dependencyContext = null, this.networkType = "divisions", this.removeDeleted = true, this.defaultMatchingStyle = a.exactMatch, this.uiMetadataSectionName = "division", this._featureEnabled = false, o.bootstrapDataLoaded.then(() => { - this._featureEnabled = (0, _.isFeatureAvailable)(c.default.customConversationAttributes), this._initialize(); + this._featureEnabled = (0, _.isFeatureAvailable)(d.default.customConversationAttributes), this._initialize(); }), o.getAuthenticatedPromise().then(() => { this.getAllDivisions().then(() => { r2.default.each(o.getConnectedUser().divisions, (e3) => { @@ -66548,7 +72006,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; var n2, r2, o, a; Object.defineProperty(t2, "__esModule", { value: true }), t2.CreateConversationAttributeActionModel = void 0; - const s = i2(31635), l = i2(70630), u = i2(30801), d = i2(80295), c = s.__importDefault(i2(7401)), p = i2(80295); + const s = i2(31635), l = i2(70630), u = i2(30801), c = i2(80295), d = s.__importDefault(i2(7401)), p = i2(80295); class _ extends l.BaseConversationAttributeActionModel { constructor(e3) { super(e3), this.__type = _.__type, (0, p.makeUnenumerable)(this, "_recordId"), (0, p.makeUnenumerable)(this, "_input"), (0, p.makeUnenumerable)(this, "_output"), (0, p.makeUnenumerable)(this, "_divisions"); @@ -66557,25 +72015,25 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._recordId; } set recordId(e3) { - this._recordId = this.reviveItem(e3, c.default); + this._recordId = this.reviveItem(e3, d.default); } get input() { return this._input; } set input(e3) { - this._input = this.reviveItem(e3, c.default); + this._input = this.reviveItem(e3, d.default); } get output() { return this._output; } set output(e3) { - this._output = this.reviveItem(e3, c.default); + this._output = this.reviveItem(e3, d.default); } get divisions() { return this._divisions; } set divisions(e3) { - this._divisions = this.reviveItem(e3, c.default); + this._divisions = this.reviveItem(e3, d.default); } pasteReIdOrRename(e3) { var t3, i3; @@ -66586,7 +72044,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super.pasteResolveOldToNewValues(e3), this.recordId.pasteResolveOldToNewValues(e3), null === (t3 = this.input) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this.output) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3), this.divisions.pasteResolveOldToNewValues(e3); } } - t2.CreateConversationAttributeActionModel = _, _.__type = u.createConversationAttributeActionType, s.__decorate([(0, d.enumerable)(true), s.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.default && c.default) ? n2 : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "recordId", null), s.__decorate([(0, d.enumerable)(true), s.__metadata("design:type", "function" == typeof (r2 = void 0 !== c.default && c.default) ? r2 : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "input", null), s.__decorate([(0, d.enumerable)(true), s.__metadata("design:type", "function" == typeof (o = void 0 !== c.default && c.default) ? o : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "output", null), s.__decorate([(0, d.enumerable)(true), s.__metadata("design:type", "function" == typeof (a = void 0 !== c.default && c.default) ? a : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "divisions", null), _.registerType(); + t2.CreateConversationAttributeActionModel = _, _.__type = u.createConversationAttributeActionType, s.__decorate([(0, c.enumerable)(true), s.__metadata("design:type", "function" == typeof (n2 = void 0 !== d.default && d.default) ? n2 : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "recordId", null), s.__decorate([(0, c.enumerable)(true), s.__metadata("design:type", "function" == typeof (r2 = void 0 !== d.default && d.default) ? r2 : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "input", null), s.__decorate([(0, c.enumerable)(true), s.__metadata("design:type", "function" == typeof (o = void 0 !== d.default && d.default) ? o : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "output", null), s.__decorate([(0, c.enumerable)(true), s.__metadata("design:type", "function" == typeof (a = void 0 !== d.default && d.default) ? a : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "divisions", null), _.registerType(); }, 54501: (e2, t2, i2) => { const n2 = i2(79238), r2 = i2(37338), o = i2(36019).default; function a() { @@ -66596,7 +72054,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 54508: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(61864)), s = i2(12179), l = n2.__importStar(i2(71004)), u = n2.__importDefault(i2(68460)), d = i2(47957), c = o.getTopic("DataViewModel"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(61864)), s = i2(12179), l = n2.__importStar(i2(71004)), u = n2.__importDefault(i2(68460)), c = i2(47957), d = o.getTopic("DataViewModel"); class p extends u.default { get id() { return "data"; @@ -66607,11 +72065,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; get flowVariables() { if (!this.parentFlow) { const e3 = "No parentFlow found on DataViewModel."; - throw c.error(e3), e3; + throw d.error(e3), e3; } if (!this.parentFlow.variableGroup) { const e3 = "No variable group found for flow " + this.parentFlow.id; - throw c.error(e3), e3; + throw d.error(e3), e3; } return this.parentFlow.variableGroup.flowVariables; } @@ -66628,7 +72086,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return r2.default.pluck(this.flowVariables, "model"); } getDisplayName() { - return d.customNodes.data; + return c.customNodes.data; } get isDataNode() { return true; @@ -66639,14 +72097,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }); } get nodeGuxIcon() { - return a.default.database.gux; + return a.default.database; } get helpTopic() { return s.helpTopics.treeNodes.dataView; } search(e3) { const t3 = this.parentFlow.variableGroup; - r2.default.each(t3.flowVariables, (t4) => e3.checkText(this, t4.description, d.search.variableDescription)), r2.default.each(t3.taskVariables, (t4) => e3.checkText(this, t4.description, d.search.variableDescription)); + r2.default.each(t3.flowVariables, (t4) => e3.checkText(this, t4.description, c.search.variableDescription)), r2.default.each(t3.taskVariables, (t4) => e3.checkText(this, t4.description, c.search.variableDescription)); } get wrappedYamlName() { return "variables"; @@ -66689,10 +72147,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; Object.defineProperty(t2, "__esModule", { value: true }), t2.VersionedNetworkBasedActionProperty = void 0, t2.isVersionedNetworkBasedActionProperty = function(e3) { return null == e3 ? void 0 : e3.isVersionedNetworkBasedActionProperty; }; - const n2 = i2(31635), r2 = i2(79364), o = n2.__importStar(i2(12847)), a = n2.__importStar(i2(36781)), s = i2(81801), l = i2(1115), u = i2(28803), d = i2(28803), c = i2(47957); - class p extends d.NetworkBasedActionProperty { - constructor(e3, t3, i3, n3, o2, a2, s2, l2, d2) { - if (super(e3, t3, i3, n3, o2, a2, s2, l2, d2, (e4, t4) => e4.idValue === t4.id), this._allowableValues = [], this._loadingReference$ = new r2.BehaviorSubject(false), this.lastApiErrors = [], !(0, u.isNetworkBasedActionProperty)(e3[l2])) throw new Error(`${l2} not found on action`); + const n2 = i2(31635), r2 = i2(79364), o = n2.__importStar(i2(12847)), a = n2.__importStar(i2(36781)), s = i2(81801), l = i2(1115), u = i2(28803), c = i2(28803), d = i2(47957); + class p extends c.NetworkBasedActionProperty { + constructor(e3, t3, i3, n3, o2, a2, s2, l2, c2) { + if (super(e3, t3, i3, n3, o2, a2, s2, l2, c2, (e4, t4) => e4.idValue === t4.id), this._allowableValues = [], this._loadingReference$ = new r2.BehaviorSubject(false), this.lastApiErrors = [], !(0, u.isNetworkBasedActionProperty)(e3[l2])) throw new Error(`${l2} not found on action`); this._dependentNetworkBasedActionProperty = e3[l2]; } initializeDesignTime() { @@ -66727,8 +72185,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } catch (e3) { if (403 === e3.status && this.configListManager.requiredAuth) { let t3; - t3 = null === e3.message ? s.externalAuthorizations.getFormattedAuthWarning(c.generic.permissions.error) : s.externalAuthorizations.getFormattedAuthWarning(this.configListManager.requiredAuth), this.lastApiErrors.push({ class: "arch-select-dropdown-message in-grid-warning", testAttr: "dropdownAuthError", text: t3 }); - } else this.currentUiErrorMessage = c.errors.serverError; + t3 = null === e3.message ? s.externalAuthorizations.getFormattedAuthWarning(d.generic.permissions.error) : s.externalAuthorizations.getFormattedAuthWarning(this.configListManager.requiredAuth), this.lastApiErrors.push({ class: "arch-select-dropdown-message in-grid-warning", testAttr: "dropdownAuthError", text: t3 }); + } else this.currentUiErrorMessage = d.errors.serverError; this.setValue(void 0); } finally { this._updateOOS(), this._loadingReference$.next(false); @@ -66737,7 +72195,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }); } _updateAllowableValues(e3) { - this._allowableValues.length = 0, e3 && this.allowableValues.push({ label: c.versions.latestPublishedVersion, id: e3 }); + this._allowableValues.length = 0, e3 && this.allowableValues.push({ label: d.versions.latestPublishedVersion, id: e3 }); } _updateOOS() { this.outOfService = !this._dependentReferenceId; @@ -66859,8 +72317,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 54822: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.GrammarType = void 0; - const n2 = i2(31635), r2 = i2(43700), o = i2(77841), a = i2(27491), s = n2.__importDefault(i2(22226)), l = i2(80428), u = i2(14394), d = i2(94765); - class c extends d.ExpressionType { + const n2 = i2(31635), r2 = i2(43700), o = i2(77841), a = i2(27491), s = n2.__importDefault(i2(22226)), l = i2(80428), u = i2(14394), c = i2(94765); + class d extends c.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -66883,7 +72341,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return true; } } - t2.GrammarType = c, c.typeIdentifier = l.expressionTypeNames.grammar; + t2.GrammarType = d, d.typeIdentifier = l.expressionTypeNames.grammar; }, 54830: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.arrRemove = void 0, t2.arrRemove = function(e3, t3) { @@ -66895,8 +72353,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 54872: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.LanguageSkillType = void 0; - const n2 = i2(31635), r2 = i2(71056), o = i2(81467), a = i2(27491), s = n2.__importDefault(i2(22226)), l = i2(80428), u = i2(14394), d = i2(94765); - class c extends d.ExpressionType { + const n2 = i2(31635), r2 = i2(71056), o = i2(81467), a = i2(27491), s = n2.__importDefault(i2(22226)), l = i2(80428), u = i2(14394), c = i2(94765); + class d extends c.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -66919,11 +72377,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return o.languageSkillManager; } } - t2.LanguageSkillType = c, c.typeIdentifier = l.expressionTypeNames.languageSkill; + t2.LanguageSkillType = d, d.typeIdentifier = l.expressionTypeNames.languageSkill; }, 54876: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ShippingOptionType = t2.PROP_PRICE = t2.PROP_DETAILS = t2.PROP_IDENTIFIER = t2.PROP_LABEL = void 0; - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(73198)), a = i2(27491), s = i2(94765), l = i2(80428), u = i2(23657), d = i2(14394), c = i2(47957); + const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(73198)), a = i2(27491), s = i2(94765), l = i2(80428), u = i2(23657), c = i2(14394), d = i2(47957); t2.PROP_LABEL = "label", t2.PROP_IDENTIFIER = "identifier", t2.PROP_DETAILS = "shippingDetails", t2.PROP_PRICE = "price"; class p extends s.ExpressionType { constructor(e3, t3, i3) { @@ -66933,7 +72391,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return "ShippingOptionType"; } canConvertLitToExpression(e3) { - return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeShippingOption", e3, [d.globalTypes.string, d.globalTypes.string, d.globalTypes.string, d.globalTypes.currency]); + return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeShippingOption", e3, [c.globalTypes.string, c.globalTypes.string, c.globalTypes.string, c.globalTypes.currency]); } convertLitToExpression(e3, t3, i3, n3) { return n3 && this.canConvertLitToExpression(e3) ? `MakeShippingOption(${n3.type.getPropLabel(n3).getEmbeddableExpressionText() || o.default.notSet}, ${n3.type.getPropIdentifier(n3).getEmbeddableExpressionText() || o.default.notSet}, ${n3.type.getPropDetails(n3).getEmbeddableExpressionText() || o.default.notSet}, ${n3.type.getPropPrice(n3).getEmbeddableExpressionText() || o.default.notSet})` : ""; @@ -66963,13 +72421,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var o2; switch (super.configurePropertyCreationParams(e3, i3, n3), n3.options.setIninTestingField(`shipping-option-${i3.name}`), n3.options.setAsInput(true), n3.options.setDefaultToNoValue(false), n3.options.setIsOptional(false), i3.name) { case t2.PROP_LABEL: - n3.options.setDescriptionInfo(c.askForPayment.askForPaymentShippingOptionLabel, c.askForPayment.askForPaymentShippingOptionLabelDesc), n3.options.facets.setMaxLength(512).setAllowNull(false).setMinLength(1); + n3.options.setDescriptionInfo(d.askForPayment.askForPaymentShippingOptionLabel, d.askForPayment.askForPaymentShippingOptionLabelDesc), n3.options.facets.setMaxLength(512).setAllowNull(false).setMinLength(1); break; case t2.PROP_IDENTIFIER: - n3.options.setDescriptionInfo(c.askForPayment.askForPaymentShippingOptionIdentifier, c.askForPayment.askForPaymentShippingOptionIdentifierDesc), n3.options.facets.setMaxLength(512).setAllowNull(false).setMinLength(1); + n3.options.setDescriptionInfo(d.askForPayment.askForPaymentShippingOptionIdentifier, d.askForPayment.askForPaymentShippingOptionIdentifierDesc), n3.options.facets.setMaxLength(512).setAllowNull(false).setMinLength(1); break; case t2.PROP_DETAILS: - n3.options.setDescriptionInfo(c.askForPayment.askForPaymentShippingOptionDetails, c.askForPayment.askForPaymentShippingOptionDetailsDesc), n3.options.facets.setMaxLength(256).setAllowNull(false).setMinLength(1); + n3.options.setDescriptionInfo(d.askForPayment.askForPaymentShippingOptionDetails, d.askForPayment.askForPaymentShippingOptionDetailsDesc), n3.options.facets.setMaxLength(256).setAllowNull(false).setMinLength(1); break; case t2.PROP_PRICE: n3.options.facets.setMinValInclusive(true).setMinDec(0).setMaxValInclusive(true).setMaxDec(1e9).setDecimalPlaces(3), (null === (o2 = e3.parent.info) || void 0 === o2 ? void 0 : o2.typeId) === r2.askForPaymentActionType && n3.options.setCurrencyAmountOnly(true); @@ -66983,10 +72441,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 54882: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importDefault(i2(96727)), l = n2.__importDefault(i2(5532)), u = n2.__importDefault(i2(45431)), d = i2(55909), c = i2(33951), p = i2(36781), _ = i2(58380), h = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importDefault(i2(96727)), l = n2.__importDefault(i2(5532)), u = n2.__importDefault(i2(45431)), c = i2(55909), d = i2(33951), p = i2(36781), _ = i2(58380), h = i2(47957); class m extends u.default { constructor(e3, t3, i3, n3, r3) { - super(t3), super.configureForBuilderViewModel(e3), c.ParameterValidator.expectObject(i3, () => d.ParameterInfo.createConstructorParameter(this.className, "builderPartModel"), true), i3 && c.ParameterValidator.expectString(i3.builderPartDefId, () => d.ParameterInfo.createConstructorParameter(this.className, "builderPartModel.builderPartDefId")), c.ParameterValidator.expectBool(r3, () => d.ParameterInfo.createConstructorParameter(this.className, "reId")), r3 && i3 && (i3.id = (0, a.uuid)()), Object.defineProperties(this, { _amBuildingExpressionGeneration: { value: false, enumerable: false, writable: true }, _builderPartDef: { value: n3, writable: true }, _builderPartModel: { value: i3, enumerable: true, writable: true }, _cannotBeDeleted: { value: false, writable: true } }); + super(t3), super.configureForBuilderViewModel(e3), d.ParameterValidator.expectObject(i3, () => c.ParameterInfo.createConstructorParameter(this.className, "builderPartModel"), true), i3 && d.ParameterValidator.expectString(i3.builderPartDefId, () => c.ParameterInfo.createConstructorParameter(this.className, "builderPartModel.builderPartDefId")), d.ParameterValidator.expectBool(r3, () => c.ParameterInfo.createConstructorParameter(this.className, "reId")), r3 && i3 && (i3.id = (0, a.uuid)()), Object.defineProperties(this, { _amBuildingExpressionGeneration: { value: false, enumerable: false, writable: true }, _builderPartDef: { value: n3, writable: true }, _builderPartModel: { value: i3, enumerable: true, writable: true }, _cannotBeDeleted: { value: false, writable: true } }); } _fireBuilderPartExpressionTextChanged() { this.parentFlow.loaded && _.fireEvent(this, p.builderPartExpressionTextChanged); @@ -67097,7 +72555,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._cannotBeDeleted; } set cannotBeDeleted(e3) { - this._cannotBeDeleted = c.ParameterValidator.expectBool(e3, () => d.ParameterInfo.createPropertySet(this.className, "cannotBeDeleted", "value")); + this._cannotBeDeleted = d.ParameterValidator.expectBool(e3, () => c.ParameterInfo.createPropertySet(this.className, "cannotBeDeleted", "value")); } get definitionId() { return this.builderPartDefId; @@ -67286,11 +72744,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 55006: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.LogLevelCharacteristic = t2.ExecutionDataType = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(74359)), o = n2.__importStar(i2(10798)), a = n2.__importDefault(i2(4648)), s = i2(96618), l = n2.__importStar(i2(24032)), u = i2(47957), d = l.getTopic("executionDataService"); - var c, p; + const n2 = i2(31635), r2 = n2.__importStar(i2(74359)), o = n2.__importStar(i2(10798)), a = n2.__importDefault(i2(4648)), s = i2(96618), l = n2.__importStar(i2(24032)), u = i2(47957), c = l.getTopic("executionDataService"); + var d, p; !(function(e3) { e3.bot = "bot", e3.dataAction = "dataAction", e3.flow = "flow"; - })(c || (t2.ExecutionDataType = c = {})), (function(e3) { + })(d || (t2.ExecutionDataType = d = {})), (function(e3) { e3.botCommunications = "botCommunications", e3.botEventError = "botEventError", e3.botExecutionItems = "botExecutionItems", e3.botInputs = "botInputs", e3.botOutputs = "botOutputs", e3.flowCommunications = "flowCommunications", e3.flowEventError = "flowEventError", e3.flowEventWarning = "flowEventWarning", e3.flowEventOther = "flowEventOther", e3.flowExecutionItems = "flowExecutionItems", e3.flowExecutionInputOutputs = "flowExecutionInputOutputs", e3.flowNames = "flowNames", e3.flowTruncateValues = "flowTruncateValues", e3.flowVariables = "flowVariables"; })(p || (t2.LogLevelCharacteristic = p = {})), t2.default = new class { constructor() { @@ -67302,19 +72760,19 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this._characteristicMap && !e3 || (this._characteristicMap = /* @__PURE__ */ new Map(), Object.values(p).forEach((e4) => { if (!e4) return; let t3; - t3 = e4.startsWith(c.bot) ? this._isExecutionDataAvailableForType(c.bot) : e4.startsWith(c.dataAction) ? this._isExecutionDataAvailableForType(c.dataAction) : !!e4.startsWith(c.flow) && this._isExecutionDataAvailableForType(c.flow), this._characteristicMap[e4] = t3; + t3 = e4.startsWith(d.bot) ? this._isExecutionDataAvailableForType(d.bot) : e4.startsWith(d.dataAction) ? this._isExecutionDataAvailableForType(d.dataAction) : !!e4.startsWith(d.flow) && this._isExecutionDataAvailableForType(d.flow), this._characteristicMap[e4] = t3; })); } get characteristicMap() { - return this._characteristicMap || (d.traceOnce("executionDataService characteristicMap", (e3) => e3.error("Code attempting to access execution data characteristic map before bootstrap data loaded.")), this.initialize()), this._characteristicMap; + return this._characteristicMap || (c.traceOnce("executionDataService characteristicMap", (e3) => e3.error("Code attempting to access execution data characteristic map before bootstrap data loaded.")), this.initialize()), this._characteristicMap; } _isExecutionDataAvailableForType(e3, t3) { switch (e3) { - case c.bot: + case d.bot: return o.isFeatureAvailable(a.default.botInstanceExecutionData); - case c.flow: + case d.flow: return t3 !== s.flowTypes.flowTypeCommonModule && (s.flowTypes.isCiceroFlowType(t3) ? o.isFeatureAvailable(a.default.flowInstanceLogLevels) : o.isFeatureAvailable(a.default.flowInstanceExecutionData) || o.isFeatureAvailable(a.default.flowInstanceLogLevelConfiguration)); - case c.dataAction: + case d.dataAction: return o.isFeatureAvailable(a.default.dataActionInstanceExecutionData); default: return false; @@ -67324,7 +72782,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._isExecutionDataAvailableForType(e3); } flowTypeSupportsExecutionData(e3) { - return this._isExecutionDataAvailableForType(c.flow, e3); + return this._isExecutionDataAvailableForType(d.flow, e3); } isLogLevelCharacteristicAvailable(e3) { return this._isLogLevelCharacteristicAvailable(e3); @@ -67425,8 +72883,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = r2; }, 55048: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(21647), a = i2(80428), s = i2(51060), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(21647), a = i2(80428), s = i2(51060), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -67434,7 +72892,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return r2.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.getJourneyOutcome.idLabel, searchResultLabel: d.findActions.getJourneyOutcome.resultLabel, searchResultExpressionOptions: o.ExpressionTypeComplexOptions.create(), searchResultItemType: a.expressionTypeNames.journeyOutcome }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.getJourneyOutcome, modelClass: s.GetJourneyOutcomeActionModel, name: d.actions.getJourneyOutcome, scriptingName: "ArchActionGetJourneyOutcome" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.getJourneyOutcome, modelClass: s.GetJourneyOutcomeActionModel, name: d.actions.getJourneyOutcome, scriptingName: "ArchActionGetJourneyOutcome", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 55050: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -67549,10 +73007,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 55420: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.dialogEngineVersionManager = t2.DialogEngineVersionManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(30801), u = i2(30888), d = n2.__importDefault(i2(6413)), c = i2(81801), p = i2(47957), _ = i2(27862), h = i2(94384); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(30801), u = i2(30888), c = n2.__importDefault(i2(6413)), d = i2(81801), p = i2(47957), _ = i2(27862), h = i2(94384); class m extends s.default { get requiredAuth() { - return c.externalAuthorizations.authStrings.integrationView; + return d.externalAuthorizations.authStrings.integrationView; } get dependencyType() { return _.DialogEngineBotVersion; @@ -67568,7 +73026,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return (null === (n3 = null == e3 ? void 0 : e3.id) || void 0 === n3 ? void 0 : n3.includes("/")) && (e3.id = r2.default.splitOn(e3.id, "/")[1]), this.items = r2.default.pick(this.items, (t4) => t4.botId !== e3.bot.id), super.addItem(e3); } _createItemViewModel(e3) { - return new d.default(e3); + return new c.default(e3); } getBotCategoryForBotRunnable(e3) { if (!r2.default.isString(e3)) return this.topic.error("Object passed to getBotCategoryForBotRunnable was not a string: " + e3), null; @@ -67599,9 +73057,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var n2 = i2(59328), r2 = i2(94708), o = i2(23506), a = i2(65212), s = i2(17214); t2.single = function(e3) { return a.operate(function(t3, i3) { - var a2, l = false, u = false, d = 0; + var a2, l = false, u = false, c = 0; t3.subscribe(s.createOperatorSubscriber(i3, function(n3) { - u = true, e3 && !e3(n3, d++, t3) || (l && i3.error(new r2.SequenceError("Too many matching values")), l = true, a2 = n3); + u = true, e3 && !e3(n3, c++, t3) || (l && i3.error(new r2.SequenceError("Too many matching values")), l = true, a2 = n3); }, function() { l ? (i3.next(a2), i3.complete()) : i3.error(u ? new o.NotFoundError("No matching values") : new n2.EmptyError()); })); @@ -67609,8 +73067,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }; }, 55510: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(80428), o = i2(78513), a = n2.__importDefault(i2(27203)), s = i2(12179), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5730)), d = i2(47957); - class c extends u.default { + const n2 = i2(31635), r2 = i2(80428), o = i2(78513), a = n2.__importDefault(i2(27203)), s = i2(12179), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5730)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends u.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.specificNumChars = null, this._loadModel(t3); } @@ -67633,7 +73091,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.model.matchingStyle = e3; } } - c.info = l.default.createActionInfo({ actionClass: c, canBeInTask: true, canBeTreeNode: true, helpTopic: s.helpTopics.actions.dialName, modelClass: i2(28126), name: d.dialName.title, scriptingName: "ArchActionDialByName" }), t2.A = c; + p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, canBeTreeNode: true, helpTopic: s.helpTopics.actions.dialName, modelClass: i2(28126), name: d.dialName.title, scriptingName: "ArchActionDialByName", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 55572: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -67656,11 +73114,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 55581: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importStar(i2(63352)), a = i2(80428), s = i2(14394), l = i2(81516), u = i2(36128), d = n2.__importStar(i2(1115)), c = n2.__importDefault(i2(98495)), p = i2(47957); - class _ extends c.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importStar(i2(63352)), a = i2(80428), s = i2(14394), l = i2(81516), u = i2(36128), c = n2.__importStar(i2(1115)), d = n2.__importDefault(i2(98495)), p = i2(47957); + class _ extends d.default { addAttribute() { const e3 = this.variables.add(null, s.globalTypes.string); - return e3.expression.mode = o.variable, e3.expression.setAsOutput(), d.validateAction(this, true, true), e3.id; + return e3.expression.mode = o.variable, e3.expression.setAsOutput(), c.validateAction(this, true, true), e3.id; } static get managedProperties() { return [{ label: p.getConversationData.conversationLabel, options: l.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(p.getConversationData.conversationLabel, p.getConversationData.conversationDescription).setDisableSpellcheck(true).setIninTestingField("ConversationIdExpression").setUiPropertyOrder(10).facets.setLengthForUuid()), property: "conversationId", supportedFlowTypes: [r2.flowTypes.flowTypeWorkflow, r2.flowTypes.flowTypeWorkitem], type: a.expressionTypeNames.string, yamlOptions: _.createYamlOptions("conversationId", (e3) => e3.setExportOrder(10)) }, { property: "variables", namedItems: true, isOutput: true, options: u.NameValuePairsOptions.create((e3) => e3.setAddButtonLabel(p.getAttributes.addAttributeLabel).setSectionLabel(p.setAttributes.attribute).setValueLabel(p.getAttributes.variableLabel).setUiPropertyOrder(11)), yamlOptions: _.createYamlOptions("variables", (e3) => e3.setPropertyName("attributes").setNameValuePairShouldUseVariableProperty(true).setWrappedCollectionItemName("attribute").setExportOrder(30)) }]; @@ -67682,7 +73140,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; u.api = o.getDataTable, l.api = o.getDataTables; }, 55656: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SCHEME_TYPES = void 0, t2.splitRawPhoneNumber = function(e3) { + Object.defineProperty(t2, "__esModule", { value: true }), t2.SCHEME_TYPES = void 0, t2.splitRawPhoneNumber = u, t2.validateLiteralString = function(e3, i3) { + const n3 = i3 ? r2.literal.phoneNumber.withExpressionLabel : r2.literal.phoneNumber.noExpressionLabel, a2 = u(e3); + return a2.schemeType ? a2.schemeType === t2.SCHEME_TYPES.SIP || a2.schemeType === t2.SCHEME_TYPES.SIPS ? e3.match(s) ? void 0 : (0, o.sprintf)(n3.errorInvalidSipUri, i3) : a2.dialingCode ? a2.number ? e3.match(l) ? void 0 : (0, o.sprintf)(n3.errorInvalidNumber, i3) : (0, o.sprintf)(n3.errorNoNumber, i3) : (0, o.sprintf)(n3.errorNoDialingCode, i3) : (0, o.sprintf)(n3.errorNoSchemeType, i3); + }; + const n2 = i2(31635), r2 = i2(47957), o = i2(17604), a = n2.__importStar(i2(85705)); + t2.SCHEME_TYPES = { TEL: "tel:", SIP: "sip:", SIPS: "sips:" }; + const s = /^sip(s)?:(.+)@(.+)$/, l = /^tel:\+\d{1,3}[\w\-\(\)\.!~\*'#%]+(;.*)?$/; + function u(e3) { const i3 = { schemeType: "", dialingCode: "", number: "" }; if (e3 && "string" == typeof e3) { let n3; @@ -67693,24 +73158,18 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; i3.number = e3; } return i3; - }, t2.validateLiteralString = function(e3, i3) { - const n3 = i3 ? r2.literal.phoneNumber.withExpressionLabel : r2.literal.phoneNumber.noExpressionLabel, a2 = this.splitRawPhoneNumber(e3); - return a2.schemeType ? a2.schemeType === t2.SCHEME_TYPES.SIP || a2.schemeType === t2.SCHEME_TYPES.SIPS ? e3.match(s) ? void 0 : (0, o.sprintf)(n3.errorInvalidSipUri, i3) : a2.dialingCode ? a2.number ? e3.match(l) ? void 0 : (0, o.sprintf)(n3.errorInvalidNumber, i3) : (0, o.sprintf)(n3.errorNoNumber, i3) : (0, o.sprintf)(n3.errorNoDialingCode, i3) : (0, o.sprintf)(n3.errorNoSchemeType, i3); - }; - const n2 = i2(31635), r2 = i2(47957), o = i2(17604), a = n2.__importStar(i2(85705)); - t2.SCHEME_TYPES = { TEL: "tel:", SIP: "sip:", SIPS: "sips:" }; - const s = /^sip(s)?:(.+)@(.+)$/, l = /^tel:\+\d{1,3}[\w\-\(\)\.!~\*'#%]+(;.*)?$/; + } }, 55678: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(24032), s = n2.__importDefault(i2(45098)), l = i2(10798), u = n2.__importDefault(i2(4648)), d = i2(62297), c = n2.__importDefault(i2(15777)), p = i2(47957), _ = (0, a.getTopic)("TTSEngineViewModel"); - class h extends d.EngineViewModel { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(24032), s = n2.__importDefault(i2(45098)), l = i2(10798), u = n2.__importDefault(i2(4648)), c = i2(62297), d = n2.__importDefault(i2(15777)), p = i2(47957), _ = (0, a.getTopic)("TTSEngineViewModel"); + class h extends c.EngineViewModel { get className() { return "TTSEngineViewModel"; } constructor(e3, t3) { super(e3, t3), this.voices = {}, e3 && o.default.isObject(e3.voices) && o.default.each(e3.voices, (e4, t4) => { - const i3 = this.getDependencyTrackingIdForVoice(t4), n3 = new c.default(e4, i3, this); + const i3 = this.getDependencyTrackingIdForVoice(t4), n3 = new d.default(e4, i3, this); s.default.items[i3] = n3, this.voices[i3] = n3; }); } @@ -67763,8 +73222,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 55705: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.QuestionSettings = void 0; - const n2 = i2(31635), r2 = i2(79364), o = (i2(92794), i2(17604)), a = n2.__importDefault(i2(92140)), s = i2(81116), l = n2.__importDefault(i2(7401)), u = i2(81516), d = i2(8532), c = i2(99918), p = n2.__importStar(i2(17498)), _ = n2.__importStar(i2(36781)), h = n2.__importDefault(i2(77862)), m = i2(58380), g = i2(2305), f = i2(56969), T = i2(56969), y = i2(56969), S = i2(56969), A = n2.__importStar(i2(47524)), N = n2.__importStar(i2(1115)), O = i2(12179), I = n2.__importStar(i2(14187)), v = n2.__importDefault(i2(71729)), C = i2(80428), b = n2.__importDefault(i2(65302)), E = i2(47957), R = i2(27862); - class w { + const n2 = i2(31635), r2 = i2(79364), o = (i2(92794), i2(17604)), a = n2.__importDefault(i2(92140)), s = i2(81116), l = n2.__importDefault(i2(7401)), u = i2(81516), c = i2(8532), d = i2(99918), p = n2.__importStar(i2(17498)), _ = n2.__importStar(i2(36781)), h = n2.__importDefault(i2(77862)), m = i2(58380), g = i2(2305), f = i2(56969), T = i2(56969), y = i2(56969), S = i2(56969), A = n2.__importStar(i2(47524)), N = n2.__importStar(i2(1115)), v = i2(12179), O = n2.__importStar(i2(14187)), I = n2.__importDefault(i2(71729)), C = i2(80428), b = n2.__importDefault(i2(65302)), E = i2(47957), w = i2(27862); + class R { constructor(e3, t3, i3, n3, r3) { this.question = e3, this.groupSettings = t3, this.surveyQuestionType = i3, this.answerOptions = n3, this.formVariable = r3; } @@ -67777,8 +73236,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.surveyQuestionType.hasError || (null === (e3 = this.answerOptions) || void 0 === e3 ? void 0 : e3.hasError); } } - t2.QuestionSettings = w; - class D extends v.default { + t2.QuestionSettings = R; + class D extends I.default { constructor(e3) { super(e3), this.editor_testing_tag = "voiceSurveyFlowSettings"; } @@ -67789,7 +73248,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this._questionIdMap = {}, this._answerOptionsExpressionIdMap = {}, this._questionGroups = []; } get helpTopic() { - return O.helpTopics.treeNodes.voiceSurveyFlowSettings; + return v.helpTopics.treeNodes.voiceSurveyFlowSettings; } get className() { return "VoiceSurveyFlowSettingsViewModel"; @@ -67847,7 +73306,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } _addFormToSlotVariableMapping(e3) { let t3; - const i3 = this.parentFlow.variableGroup.flowVariables.filter((e4) => e4.scope === I.scopes.form); + const i3 = this.parentFlow.variableGroup.flowVariables.filter((e4) => e4.scope === O.scopes.form); if (!(null == i3 ? void 0 : i3.length)) return; const n3 = i3.filter((t4) => this._getManagedSlotMappingGroup(e3.unscopedName) === t4.unscopedName); n3.length && n3.forEach((i4) => { @@ -67859,11 +73318,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; updateDependencies() { super.updateDependencies(); const e3 = this.archSurveyForm; - (null == e3 ? void 0 : e3.id) && p.registerConsumer(this, `${this.id}_SurveyForm`, e3.name, e3.id, void 0, R.SurveyForm, this.parentFlow); + (null == e3 ? void 0 : e3.id) && p.registerConsumer(this, `${this.id}_SurveyForm`, e3.name, e3.id, void 0, w.SurveyForm, this.parentFlow); } validate(e3) { super.validate(e3); - const t3 = null === c.surveyFormManager || void 0 === c.surveyFormManager ? void 0 : c.surveyFormManager.getItem(this.surveyFormInfo.archSurveyForm.id); + const t3 = null === d.surveyFormManager || void 0 === d.surveyFormManager ? void 0 : d.surveyFormManager.getItem(this.surveyFormInfo.archSurveyForm.id); if (null == t3 ? void 0 : t3.dependencyError) switch (t3.dependencyError) { case g.SurveyFormDependencyErrors.doesNotExist: e3.addError(this, E.voiceSurvey.voiceSurveyFormDoesNotExistShort); @@ -67883,7 +73342,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }); } _validateQuestionInUse(e3, t3) { - const i3 = Object.values(t3.formVariable.usages).filter((e4) => { + const i3 = t3.formVariable.getUsagesForFlow(this.parentFlow).filter((e4) => { var t4; return (null === (t4 = e4.referenceElement.parent.surveyQuestionResult) || void 0 === t4 ? void 0 : t4.id) === e4.referenceElement.id; }); @@ -67895,10 +73354,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; null === (i3 = t3.answerOptions) || void 0 === i3 || i3.collectionItems.items.forEach((i4) => { var r3, a2, s2; const l2 = i4.type.getDtmf(i4), u2 = (null === (a2 = null === (r3 = this.parentFlow.userInputSettings) || void 0 === r3 ? void 0 : r3.dtmfTerminatingCharacter) || void 0 === a2 ? void 0 : a2.isLiteralMode) ? this.parentFlow.userInputSettings.dtmfTerminatingCharacter.text : void 0; - let d2; - if (l2 && (null === (s2 = n3[l2]) || void 0 === s2 ? void 0 : s2.length) > 1 ? d2 = (0, o.sprintf)(E.voiceSurvey.voiceSurveyDuplicateDtmfError, l2) : l2 === u2 && (d2 = E.voiceSurvey.voiceSurveyNotApplicableSetAsTerminatingCharacter), d2) { + let c2; + if (l2 && (null === (s2 = n3[l2]) || void 0 === s2 ? void 0 : s2.length) > 1 ? c2 = (0, o.sprintf)(E.voiceSurvey.voiceSurveyDuplicateDtmfError, l2) : l2 === u2 && (c2 = E.voiceSurvey.voiceSurveyNotApplicableSetAsTerminatingCharacter), c2) { const n4 = (0, o.sprintf)(E.errors.invalidValueWithContext, i4.errorLabel, (0, f.getGroupQuestionName)(t3.groupSettings.questionGroup, t3.question)); - e3.addExpressionError(i4, d2, n4); + e3.addExpressionError(i4, c2, n4); } }); } @@ -67928,13 +73387,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const n3 = { questionGroup: e4, questionSettings: [] }; this._questionGroups.push(n3), e4.questions.forEach((r3, o2) => { r3.questionIndex && r3.groupIndex || (r3.questionIndex = o2 + 1, r3.groupIndex = i4 + 1); - const a2 = u.ExpressionTypeStringOptions.create((e5) => e5.setIninTestingField("surveyQuestionType").setAllowModeLiteralOnly().setDescriptionInfo(E.voiceSurvey.voiceSurveyQuestionTypeLabel, E.voiceSurvey.voiceSurveyQuestionTypeDescription).setReadOnly(true).facets.setAllowableValues(A.questionTypesAll)), c2 = b.default.getType(this.parentFlow, C.expressionTypeNames.string, false), p2 = (0, s.expression)(this.parentFlow, this, new l.default(), E.voiceSurvey.voiceSurveyQuestionTypeLabel, c2, void 0, a2); + const a2 = u.ExpressionTypeStringOptions.create((e5) => e5.setIninTestingField("surveyQuestionType").setAllowModeLiteralOnly().setDescriptionInfo(E.voiceSurvey.voiceSurveyQuestionTypeLabel, E.voiceSurvey.voiceSurveyQuestionTypeDescription).setReadOnly(true).facets.setAllowableValues(A.questionTypesAll)), d2 = b.default.getType(this.parentFlow, C.expressionTypeNames.string, false), p2 = (0, s.expression)(this.parentFlow, this, new l.default(), E.voiceSurvey.voiceSurveyQuestionTypeLabel, d2, void 0, a2); let h2; if (p2.setAsLiteral(r3.questionType), p2.initializeDesignTime(), r3.questionType === S.SurveyQuestionTypesEnum.multipleChoiceQuestion) { - const e5 = d.ExpressionTypeSurveyAnswerOptionOptions.create((e6) => e6.setDescriptionInfo(E.voiceSurvey.voiceSurveyAnswerOptionsLabel, E.voiceSurvey.voiceSurveyAnswerOptionsDescription).setIninTestingField("answerOptions").setIsCollection(true).setAllowModeLiteralOnly().setListIsLocked().setMaxItems(20)), i5 = b.default.getType(this.parentFlow, C.expressionTypeNames.surveyAnswerOption, true); + const e5 = c.ExpressionTypeSurveyAnswerOptionOptions.create((e6) => e6.setDescriptionInfo(E.voiceSurvey.voiceSurveyAnswerOptionsLabel, E.voiceSurvey.voiceSurveyAnswerOptionsDescription).setIninTestingField("answerOptions").setIsCollection(true).setAllowModeLiteralOnly().setListIsLocked().setMaxItems(20)), i5 = b.default.getType(this.parentFlow, C.expressionTypeNames.surveyAnswerOption, true); h2 = (0, s.expression)(this.parentFlow, this, new l.default(), E.voiceSurvey.voiceSurveyAnswerOptionsLabel, i5, void 0, e5), h2.singleType.populateFromSurveyAnswerOptions(h2, r3.answerOptions), h2.initializeDesignTime(), t3.push((0, m.createObservableForEvent$)(_.expressionValueChanged, h2)), t3.push((0, m.createObservableForEvent$)(_.collectionItemValueChanged, h2)); } - const g2 = (0, T.getSurveyQuestionFormVariableId)(e4.groupIndex, r3.questionIndex), f2 = this.parentFlow.variableGroup.getVariable(g2), y2 = new w(r3, n3, p2, h2, f2); + const g2 = (0, T.getSurveyQuestionFormVariableId)(e4.groupIndex, r3.questionIndex), f2 = this.parentFlow.variableGroup.getVariable(g2), y2 = new R(r3, n3, p2, h2, f2); n3.questionSettings.push(y2), this._questionIdMap[r3.id] = y2, h2 && (this._answerOptionsExpressionIdMap[h2.id] = y2); }); }); @@ -68014,11 +73473,29 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 55867: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseActionProperty = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = n2.__importStar(i2(58380)), a = n2.__importStar(i2(1115)), s = i2(55299); - class l extends s.BaseClass { + const n2 = i2(31635), r2 = i2(19206), o = n2.__importStar(i2(24032)), a = n2.__importStar(i2(58380)), s = n2.__importStar(i2(1115)), l = i2(55299); + class u extends l.BaseClass { constructor(e3, t3) { if (super(), this.supportsInitializeDesignTime = true, this._initializeDesignTimeCalled = false, this._attachedActionProperties = [], this._autoCleanedUpSinks = [], !e3) throw new Error("no action"); - this.traceTopic = r2.getTopic(this.className).copyContext(e3.topic), this.$action = e3, this.metaData = t3, this.options = t3.options; + this.traceTopic = o.getTopic(this.className).copyContext(e3.topic), this.$action = e3, this.metaData = t3, this.options = t3.options; + } + get lastActor() { + return this._lastActor; + } + get lastActorWasUser() { + return !this._lastActor; + } + get lastActorWasChangeSet() { + var e3; + return !!(null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet); + } + get lastActorWasAiChangeSet() { + var e3, t3; + return (null === (t3 = null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet) || void 0 === t3 ? void 0 : t3.type) === r2.changeSetEntityType.copilot; + } + configureFromModel(e3, t3, i3) { + const n3 = i3.changeSetResults; + n3.sourceEntityType && (this._lastActor = { changeSet: { type: n3.sourceEntityType, id: n3.sourceEntityId } }); } get action() { return this.$action; @@ -68042,7 +73519,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; destroy() { this._attachedActionProperties.forEach((e3) => { delete this.action[e3]; - }), this._attachedActionProperties.length = 0, o.cleanUpAutoCleanupWatchList(this._autoCleanedUpSinks); + }), this._attachedActionProperties.length = 0, a.cleanUpAutoCleanupWatchList(this._autoCleanedUpSinks); } setNewInstanceDefaults() { } @@ -68072,7 +73549,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; validate(e3) { } validateAction(e3) { - a.validate(this.action, e3); + s.validate(this.action, e3); } _initializeDesignTime() { } @@ -68082,10 +73559,18 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; Object.defineProperty(this.action, e3, { get: t3, set: i3, configurable: true }), this._attachedActionProperties.push(e3); } addAutoCleanedUpEventSinkWatch(e3, t3, i3) { - o.addToAutoCleanupWatchList(this._autoCleanedUpSinks, e3, t3, i3); + a.addToAutoCleanupWatchList(this._autoCleanedUpSinks, e3, t3, i3); } } - t2.BaseActionProperty = l; + t2.BaseActionProperty = u; + }, 55890: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.legacySetType = void 0; + const n2 = i2(25074); + function r2(e3) { + return "[object Object]" === Object.prototype.toString.call(e3) ? "[object Object]" : String(e3); + } + t2.legacySetType = (0, n2.defineMappingTag)("tag:yaml.org,2002:set", { create: () => ({}), addPair: (e3, t3, i3) => null !== i3 ? "cannot resolve a set item with a value" : (e3[r2(t3)] = null, ""), has: (e3, t3) => Object.prototype.hasOwnProperty.call(e3, r2(t3)), keys: (e3) => Object.keys(e3), get: (e3, t3) => e3[r2(t3)], identify: null }); }, 55892: (e2, t2, i2) => { function n2() { this.id = void 0, this.name = void 0, n2.baseConstructor.apply(this, arguments); @@ -68137,8 +73622,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 55974: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(15244)), a = n2.__importStar(i2(14187)), s = n2.__importDefault(i2(95955)), l = n2.__importDefault(i2(26519)), u = n2.__importDefault(i2(19359)), d = n2.__importDefault(i2(71824)); - class c extends d.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(15244)), a = n2.__importStar(i2(14187)), s = n2.__importDefault(i2(95955)), l = n2.__importDefault(i2(26519)), u = n2.__importDefault(i2(19359)), c = n2.__importDefault(i2(71824)); + class d extends c.default { constructor(e3) { super(e3), this.callPrompts = new s.default(this), this.errorHandling = new l.default(this), this._addToAutoManageSettings(this.callPrompts), this._addToAutoManageSettings(this.errorHandling), this.pathDiscovery = this._addToAutoManageSettings(new u.default(this)); } @@ -68165,7 +73650,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.supportsLanguages && void 0 === e3.defaultLanguage && (e3.defaultLanguage = "en-US"), super._loadConfiguration(e3); } } - t2.default = c; + t2.default = d; }, 55988: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -68189,12 +73674,22 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } t2.default = r2; + }, 56004: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.audioEncodingInfo = void 0, t2.getAudioEncodingInfo = function(e3) { + return i2.get(e3); + }, t2.encodingSupportsBitsPerSample = function(e3) { + return r2.has(e3); + }, t2.encodingSupportsFrequency = function(e3) { + return n2.has(e3); + }, t2.audioEncodingInfo = [{ id: "ULAW", supportsFrequency: true, supportsBitsPerSample: true }, { id: "ALAW", supportsFrequency: true, supportsBitsPerSample: true }, { id: "PCM", supportsFrequency: true, supportsBitsPerSample: true }]; + const i2 = new Map(t2.audioEncodingInfo.map((e3) => [e3.id, e3])), n2 = new Set(t2.audioEncodingInfo.filter((e3) => e3.supportsFrequency).map((e3) => e3.id)), r2 = new Set(t2.audioEncodingInfo.filter((e3) => e3.supportsBitsPerSample).map((e3) => e3.id)); }, 56016: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.create = function() { - h.default.addBuilderPartDef(new u.default({ categoryIdentifierOrIdentifiers: c.builderCategoryIds.toolbar, description: m.builderParts.video.videoUrlText.description, expressionDefs: [new l.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("urlExpression").setDefaultText("https://"), expressionType: s.globalTypes.string, label: m.builderParts.video.videoUrlText.name })], viewId: _.defaultWithNoLabel, generators: { expressionGenerator: d.default.create().addFuncCall("MakeVideoFromUrl").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("MakeVideoFromUrl(%1$s)") }, id: p.builderPartIds.video.videoUrl, icon: o.default.video, name: m.builderParts.video.videoUrlText.name, requiredFeatureConfig: a.default.botFlowsDigitalBotFlowsPhase2, resultExpressionType: s.globalTypes.video, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, version: 1 })); + h.default.addBuilderPartDef(new u.default({ categoryIdentifierOrIdentifiers: d.builderCategoryIds.toolbar, description: m.builderParts.video.videoUrlText.description, expressionDefs: [new l.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("urlExpression").setDefaultText("https://"), expressionType: s.globalTypes.string, label: m.builderParts.video.videoUrlText.name })], viewId: _.defaultWithNoLabel, generators: { expressionGenerator: c.default.create().addFuncCall("MakeVideoFromUrl").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("MakeVideoFromUrl(%1$s)") }, id: p.builderPartIds.video.videoUrl, icon: o.default.video, name: m.builderParts.video.videoUrlText.name, requiredFeatureConfig: a.default.botFlowsDigitalBotFlowsPhase2, resultExpressionType: s.globalTypes.video, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, version: 1 })); }; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(61864)), a = n2.__importDefault(i2(4648)), s = i2(14394), l = n2.__importDefault(i2(76486)), u = n2.__importDefault(i2(42290)), d = n2.__importDefault(i2(22599)), c = i2(73062), p = i2(69149), _ = i2(93631), h = n2.__importDefault(i2(5532)), m = i2(16958); + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(61864)), a = n2.__importDefault(i2(4648)), s = i2(14394), l = n2.__importDefault(i2(76486)), u = n2.__importDefault(i2(42290)), c = n2.__importDefault(i2(22599)), d = i2(73062), p = i2(69149), _ = i2(93631), h = n2.__importDefault(i2(5532)), m = i2(16958); }, 56131: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.repeat = void 0; @@ -68207,17 +73702,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var n3, r3 = 0, u = function() { if (null == n3 || n3.unsubscribe(), n3 = null, null != i3) { var e5 = "number" == typeof i3 ? s.timer(i3) : a.innerFrom(i3(r3)), l2 = o.createOperatorSubscriber(t4, function() { - l2.unsubscribe(), d(); + l2.unsubscribe(), c(); }); e5.subscribe(l2); - } else d(); - }, d = function() { + } else c(); + }, c = function() { var i4 = false; n3 = e4.subscribe(o.createOperatorSubscriber(t4, void 0, function() { ++r3 < l ? n3 ? u() : i4 = true : t4.complete(); })), i4 && u(); }; - d(); + c(); }); }; }, 56133: (e2, t2, i2) => { @@ -68268,8 +73763,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = s; }, 56146: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(60186), a = i2(80428), s = i2(51482), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(60186), a = i2(80428), s = i2(51482), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -68277,28 +73772,28 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findGroup.nameLabel, searchResultLabel: d.findActions.findGroup.resultLabel, searchResultExpressionOptions: o.ExpressionTypeGroupOptions.create(), searchResultItemType: a.expressionTypeNames.group }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findGroup, modelClass: s.FindGroupActionModel, name: d.actions.findGroup, scriptingName: "ArchActionFindGroup" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findGroup, modelClass: s.FindGroupActionModel, name: d.actions.findGroup, scriptingName: "ArchActionFindGroup", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 56157: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(36781)), l = i2(28562), u = i2(80428), d = i2(56240), c = i2(82319), p = i2(49892), _ = i2(99469), h = i2(91911), m = n2.__importDefault(i2(27203)), g = i2(8758), f = i2(41322), T = n2.__importDefault(i2(4648)), y = i2(12179), S = i2(12457), A = n2.__importDefault(i2(97891)), N = i2(28803), O = i2(87870), I = i2(54590), v = n2.__importDefault(i2(5478)), C = n2.__importStar(i2(10798)), b = i2(63352), E = i2(10798), R = i2(47957); - class w extends v.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(36781)), l = i2(69453), u = i2(28562), c = i2(80428), d = i2(56240), p = i2(82319), _ = i2(49892), h = i2(99469), m = i2(91911), g = n2.__importDefault(i2(27203)), f = i2(8758), T = i2(41322), y = n2.__importDefault(i2(4648)), S = i2(12179), A = i2(12457), N = n2.__importDefault(i2(97891)), v = i2(28803), O = i2(87870), I = i2(54590), C = n2.__importDefault(i2(5478)), b = n2.__importStar(i2(10798)), E = i2(63352), w = i2(10798), R = i2(1910), D = i2(1910), P = i2(47957); + class M extends C.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } static get branchInfo() { - return m.default.successFailureTimeout; + return g.default.successFailureTimeout; } get isCallGuideAction() { return true; } getDetails() { - return this.guideId ? new S.ActionDetails([R.guide.guide], [this.guideName]) : null; + return this.guideId ? new A.ActionDetails([P.guide.guide], [this.guideName]) : null; } static get managedProperties() { - return [{ createDetails: O.NoteActionProperty.createCreateDetails(R.guide.guideBillingInfoNote, "info", "guideBillingInfoNote", void 0), property: "billingAlert", options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(0)), yamlOptions: w.createYamlOptions("billingAlert", (e3) => e3.setSkipProperty(true)) }, { label: R.guide.guide, options: _.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("guide-selector").setFeatureConfigName(T.default.botFlowsVirtualAgentGuide).setDropdownPlaceholder(R.dependencies.selectGuide).setUiPropertyOrder(10)), property: "guideSetting", createDetails: N.NetworkBasedActionProperty.createCreateDetails("guideId", "guideName", g.guideManager, R.guide.mustSelectGuide, R.guide.guideNotFound, null, (e3) => e3.action._setAdditionalSearchParams()), yamlOptions: w.createYamlOptions("guideSetting", (e3) => e3.setSkipProperty(true)) }, { label: R.generic.version, options: _.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("guide-latest-version-selector").setFeatureConfigName(T.default.botFlowsVirtualAgentGuide).setDropdownPlaceholder(R.versions.selectVersion).setUiPropertyOrder(20)), property: "guideVersionSetting", createDetails: I.VersionedNetworkBasedActionProperty.createCreateDetails("guideVersionId", "guideVersion", f.guideVersionManager, R.guide.mustSelectGuideVersion, R.guide.guideVersionNotFound, "guideSetting", (e3) => { + return [{ createDetails: O.NoteActionProperty.createCreateDetails(P.guide.guideBillingInfoNote, "info", "guideBillingInfoNote", void 0), property: "billingAlert", options: _.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(0)), yamlOptions: M.createYamlOptions("billingAlert", (e3) => e3.setSkipProperty(true)) }, { label: P.guide.guide, options: h.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("guide-selector").setFeatureConfigName(y.default.botFlowsVirtualAgentGuide).setDropdownPlaceholder(P.dependencies.selectGuide).setUiPropertyOrder(10)), property: "guideSetting", createDetails: v.NetworkBasedActionProperty.createCreateDetails("guideId", "guideName", f.guideManager, P.guide.mustSelectGuide, P.guide.guideNotFound, null, (e3) => e3.action._setAdditionalSearchParams()), yamlOptions: M.createYamlOptions("guideSetting", (e3) => e3.setSkipProperty(true)) }, { label: P.generic.version, options: h.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("guide-latest-version-selector").setFeatureConfigName(y.default.botFlowsVirtualAgentGuide).setDropdownPlaceholder(P.versions.selectVersion).setUiPropertyOrder(20)), property: "guideVersionSetting", createDetails: I.VersionedNetworkBasedActionProperty.createCreateDetails("guideVersionId", "guideVersion", T.guideVersionManager, P.guide.mustSelectGuideVersion, P.guide.guideVersionNotFound, "guideSetting", (e3) => { const t3 = e3.action.guideSetting.getItem(); return (null == t3 ? void 0 : t3.version) ? { id: t3.id, version: t3.version } : void 0; - }), yamlOptions: w.createYamlOptions("guideVersionSetting", (e3) => e3.setSkipProperty(true)) }, { label: R.askCommon.voiceProcessingPrompt, options: c.ExpressionTypeCommunicationOptions.create((e3) => e3.setInheritsFromFlowLevelDefault(true, false).setAllowSecure(true).setIninTestingField("voiceProcessingPrompt").setAllowModeBuilder(true).setUiDisableOnOutOfService(false).setDefaultToBuilderId(l.builderIds.parts.genericCommunication).setFeatureConfigName(T.default.botFlowsVirtualAgentVoicePrompt).setAllowNoValueModeWithNoFallback(true).setUiPropertyOrder(30).setScriptingPropertyName("voiceProcessingPrompt")), yamlOptions: w.createYamlOptions("voiceProcessingPrompt", (e3) => e3.setSerializeOutOfService((0, E.isFeatureAvailable)(T.default.botFlowsVoiceProcessingPrompt))), supportedFlowTypes: [r2.flowTypes.flowTypeBot], property: "voiceProcessingPrompt", type: u.expressionTypeNames.communication }, { createDetails: O.NoteActionProperty.createCreateDetails((0, o.sprintf)(R.botFlowSettings.valueConfiguredInBotFlowSettingsWillBeUsed, R.askCommon.voiceProcessingPrompt), "warning", "voiceProcessingPromptWarning", void 0, true), property: "voiceProcessingPromptWarning", supportedFlowTypes: [r2.flowTypes.flowTypeBot], options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(31)), yamlOptions: w.createYamlOptions("voiceProcessingPromptWarning", (e3) => e3.setSkipProperty(true)) }, { allowSecure: false, dataList: true, label: R.inputOutputList.inputs, property: "inputs", options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(40).setIsOptional(true)) }, { label: R.inputOutputList.outputs, dataList: true, isOutput: true, property: "outputs", options: p.ExpressionTypelessOptions.create((e3) => e3.setAsOutput().setUiPropertyOrder(50)), yamlOptions: w.createYamlOptions("outputs", (e3) => e3.setPropertyName("outputs")) }]; + }), yamlOptions: M.createYamlOptions("guideVersionSetting", (e3) => e3.setSkipProperty(true)) }, { label: P.askCommon.voiceProcessingPrompt, options: p.ExpressionTypeCommunicationOptions.create((e3) => e3.setInheritsFromFlowLevelDefault(true, false).setAllowSecure(true).setIninTestingField("voiceProcessingPrompt").setAllowModeBuilder(true).setUiDisableOnOutOfService(false).setDefaultToBuilderId(u.builderIds.parts.genericCommunication).setFeatureConfigName(y.default.botFlowsVirtualAgentVoicePrompt).setAllowNoValueModeWithNoFallback(true).setUiPropertyOrder(30).setScriptingPropertyName("voiceProcessingPrompt")), yamlOptions: M.createYamlOptions("voiceProcessingPrompt", (e3) => e3.setSerializeOutOfService((0, w.isFeatureAvailable)(y.default.botFlowsVoiceProcessingPrompt))), supportedFlowTypes: [r2.flowTypes.flowTypeBot], property: "voiceProcessingPrompt", type: c.expressionTypeNames.communication }, { createDetails: O.NoteActionProperty.createCreateDetails((0, o.sprintf)(P.botFlowSettings.valueConfiguredInBotFlowSettingsWillBeUsed, P.askCommon.voiceProcessingPrompt), "warning", "voiceProcessingPromptWarning", void 0, true), property: "voiceProcessingPromptWarning", supportedFlowTypes: [r2.flowTypes.flowTypeBot], options: _.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(31)), yamlOptions: M.createYamlOptions("voiceProcessingPromptWarning", (e3) => e3.setSkipProperty(true)) }, { allowSecure: false, dataList: true, label: P.inputOutputList.inputs, property: "inputs", options: _.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(40).setIsOptional(true)) }, { label: P.inputOutputList.outputs, dataList: true, isOutput: true, property: "outputs", options: _.ExpressionTypelessOptions.create((e3) => e3.setAsOutput().setUiPropertyOrder(50)), yamlOptions: M.createYamlOptions("outputs", (e3) => e3.setPropertyName("outputs")) }]; } processYamlProperty(e3, t3, i3, n3) { var r3; @@ -68309,14 +73804,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var e3, t3; super.initializeDesignTime(), null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 || e3.clearDynamicAgenticVirtualAgentEnabledState(); const i3 = this.guideVersionSetting.getItem(); - if (i3 && this._mergeSchemaProperties(i3), C.isFeatureAvailable(T.default.botFlowsVoiceProcessingPrompt)) { + if (i3 && this._mergeSchemaProperties(i3), b.isFeatureAvailable(y.default.botFlowsVoiceProcessingPrompt)) { this.voiceProcessingPrompt.options.setUiDisableOnOutOfService(!!(null === (t3 = this.parentFlow.botFlowSettings) || void 0 === t3 ? void 0 : t3.virtualAgentEnabled)), this.addAutoCleanedUpEventListener(s.virtualAgentChanged, () => { var e5; this.voiceProcessingPrompt.options.setUiDisableOnOutOfService(!!(null === (e5 = this.parentFlow.botFlowSettings) || void 0 === e5 ? void 0 : e5.virtualAgentEnabled)); }); const e4 = this.parentFlow.botFlowSettings.voiceProcessingPrompt; if (e4) { - const t4 = e4.mode === b.ExpressionModes.literal && "" !== e4.text; + const t4 = e4.mode === E.ExpressionModes.literal && "" !== e4.text; this._setVoiceProcessingPromptOptions(t4), this.addAutoCleanedUpEventListener(s.promptChanged, (e5) => { "voiceProcessingPrompt" === e5.type && this._setVoiceProcessingPromptOptions(e5.isSet); }); @@ -68328,22 +73823,24 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; })); } getConfiguration(e3, t3) { - var i3, n3, r3, o2, s2, l2, u2, d2, c2, p2, _2, h2, m2, g2, f2; - const T2 = super.getConfiguration(e3, t3); + var i3, n3, r3, o2, s2, l2, u2, c2, d2, p2, _2, h2, m2, g2, f2, T2; + const y2 = super.getConfiguration(e3, t3); if (null == t3 ? void 0 : t3.isForFlowYaml) { - const y2 = { callGuide: { name: T2.callGuide.name } }, S2 = this._getReferencedGuideName(); - if (!S2) return a.default.ensureYamlNoneTrue(y2), y2; - y2.callGuide.guide = {}; - const A2 = y2.callGuide.guide[S2] = {}; - if (!(null === (n3 = null === (i3 = this.guideSetting) || void 0 === i3 ? void 0 : i3.getItem()) || void 0 === n3 ? void 0 : n3.version)) return a.default.ensureYamlNoneTrue(y2), y2; - const N2 = A2.ver_latestPublished = {}; - if (T2.callGuide.failureOutputs && (N2.failureOutputs = T2.callGuide.failureOutputs), T2.callGuide.voiceProcessingPrompt && (N2.voiceProcessingPrompt = T2.callGuide.voiceProcessingPrompt), T2.callGuide.outputs) { + const S2 = { callGuide: { name: y2.callGuide.name } }; + (null === (i3 = null == t3 ? void 0 : t3.yamlOptions) || void 0 === i3 ? void 0 : i3.includeTrackingIds) && this.trackingId && (S2.callGuide.trackingId = this.trackingId); + const A2 = this._getReferencedGuideName(); + if (!A2) return a.default.ensureYamlNoneTrue(S2), S2; + S2.callGuide.guide = {}; + const N2 = S2.callGuide.guide[A2] = {}; + if (!(null === (r3 = null === (n3 = this.guideSetting) || void 0 === n3 ? void 0 : n3.getItem()) || void 0 === r3 ? void 0 : r3.version)) return a.default.ensureYamlNoneTrue(S2), S2; + const v2 = N2.ver_latestPublished = {}; + if (y2.callGuide.failureOutputs && (v2.failureOutputs = y2.callGuide.failureOutputs), y2.callGuide.voiceProcessingPrompt && (v2.voiceProcessingPrompt = y2.callGuide.voiceProcessingPrompt), y2.callGuide.outputs) { const e4 = {}; - (null === (o2 = null === (r3 = T2.callGuide) || void 0 === r3 ? void 0 : r3.outputs) || void 0 === o2 ? void 0 : o2.success) && (e4.success = T2.callGuide.outputs.success), (null === (l2 = null === (s2 = T2.callGuide) || void 0 === s2 ? void 0 : s2.outputs) || void 0 === l2 ? void 0 : l2.failure) && (e4.failure = T2.callGuide.outputs.failure), (null === (d2 = null === (u2 = T2.callGuide) || void 0 === u2 ? void 0 : u2.outputs) || void 0 === d2 ? void 0 : d2.timeout) && (e4.timeout = T2.callGuide.outputs.timeout), Object.keys(e4).length > 0 && (y2.callGuide.outputs = e4); + (null === (s2 = null === (o2 = y2.callGuide) || void 0 === o2 ? void 0 : o2.outputs) || void 0 === s2 ? void 0 : s2.success) && (e4.success = y2.callGuide.outputs.success), (null === (u2 = null === (l2 = y2.callGuide) || void 0 === l2 ? void 0 : l2.outputs) || void 0 === u2 ? void 0 : u2.failure) && (e4.failure = y2.callGuide.outputs.failure), (null === (d2 = null === (c2 = y2.callGuide) || void 0 === c2 ? void 0 : c2.outputs) || void 0 === d2 ? void 0 : d2.timeout) && (e4.timeout = y2.callGuide.outputs.timeout), Object.keys(e4).length > 0 && (S2.callGuide.outputs = e4); } - return (null === (p2 = null === (c2 = this.inputs) || void 0 === c2 ? void 0 : c2.items) || void 0 === p2 ? void 0 : p2.length) || (null === (_2 = this.outputs) || void 0 === _2 ? void 0 : _2.items.length) ? ((null === (m2 = null === (h2 = this.inputs) || void 0 === h2 ? void 0 : h2.items) || void 0 === m2 ? void 0 : m2.length) && (N2.inputs = this.inputs.getConfiguration(e3, t3)), (null === (f2 = null === (g2 = this.outputs) || void 0 === g2 ? void 0 : g2.items) || void 0 === f2 ? void 0 : f2.length) && (N2.outputs = this.outputs.getConfiguration(e3, t3)), y2) : (a.default.ensureYamlNoneTrue(N2), y2); + return (null === (_2 = null === (p2 = this.inputs) || void 0 === p2 ? void 0 : p2.items) || void 0 === _2 ? void 0 : _2.length) || (null === (h2 = this.outputs) || void 0 === h2 ? void 0 : h2.items.length) ? ((null === (g2 = null === (m2 = this.inputs) || void 0 === m2 ? void 0 : m2.items) || void 0 === g2 ? void 0 : g2.length) && (v2.inputs = this.inputs.getConfiguration(e3, t3)), (null === (T2 = null === (f2 = this.outputs) || void 0 === f2 ? void 0 : f2.items) || void 0 === T2 ? void 0 : T2.length) && (v2.outputs = this.outputs.getConfiguration(e3, t3)), S2) : (a.default.ensureYamlNoneTrue(v2), S2); } - return T2; + return y2; } _getReferencedGuideName() { var e3; @@ -68362,10 +73859,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.outputs && a.default.isFunction(this.outputs.destroyChildren) && this.outputs.destroyChildren(), this.inputs && a.default.isFunction(this.inputs.destroyChildren) && this.inputs.destroyChildren(); } _setAdditionalSearchParams() { - return { status: h.AiGuideStatus.published }; + return { status: m.AiGuideStatus.published }; } _setVoiceProcessingPromptOptions(e3) { - this.voiceProcessingPrompt.outOfService = e3, this.voiceProcessingPromptWarning.outOfService = !(e3 && C.isFeatureAvailable(T.default.botFlowsVoiceProcessingPrompt)); + this.voiceProcessingPrompt.outOfService = e3, this.voiceProcessingPromptWarning.outOfService = !(e3 && b.isFeatureAvailable(y.default.botFlowsVoiceProcessingPrompt)); } validate(e3) { if (super.validate(e3), e3.isDeep) { @@ -68373,15 +73870,47 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; e4 && this._mergeSchemaProperties(e4); } } + _configureFromModel(e3, t3, i3) { + if ((0, R.isConfigureFromModelRecord)(e3.guide)) { + const r3 = e3.guide, a2 = Object.keys(r3)[0]; + if (a2) { + const e4 = t3, s2 = (0, R.isConfigureFromModelRecord)(r3[a2]) ? r3[a2] : void 0; + i3.registerDeferredOp({ type: "resolveGuide", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + try { + let t4 = f.guideManager.findItemByName(a2); + if (!t4) { + for (const e5 of Object.values(f.guideManager.items || {})) if (e5.displayName === a2 || e5.name === a2) { + t4 = e5; + break; + } + } + if (t4) { + if (this.guideSetting.setValue({ id: t4.id || t4.actionId, name: a2 }), s2) { + const t5 = Object.keys(s2)[0], n3 = t5 && (0, R.isConfigureFromModelRecord)(s2[t5]) ? s2[t5] : void 0; + n3 && this._applyVersionDataFromModel(n3, e4, i3); + } + } else i3.warn((0, o.sprintf)(l.configureFromModel.failedToResolve, "guide", a2)); + } catch (e5) { + const t4 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, o.sprintf)(l.configureFromModel.entityResolutionFailed, "guide", a2, t4)); + } + }) }); + } + } + super._configureFromModel(e3, t3, i3); + } + _applyVersionDataFromModel(e3, t3, i3) { + e3.voiceProcessingPrompt && (0, D.hasConfigureFromModel)(this.voiceProcessingPrompt) && this.voiceProcessingPrompt.configureFromModel(e3.voiceProcessingPrompt, t3, i3), e3.failureOutputs && this.errorBindings && (i3.currentPropertyName = "failureOutputs", this.errorBindings.configureFromModel(e3.failureOutputs, t3, i3), i3.currentPropertyName = void 0), e3.inputs && this.inputs && (i3.currentPropertyName = "inputs", this.inputs.configureFromModel(e3.inputs, t3, i3), i3.currentPropertyName = void 0), e3.outputs && this.outputs && (i3.currentPropertyName = "outputs", this.outputs.configureFromModel(e3.outputs, t3, i3), i3.currentPropertyName = void 0); + } _destroy() { var e3; super._destroy(), this.parentFlow.isDestroyedOrDestroying || null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 || e3.clearDynamicAgenticVirtualAgentEnabledState(); } } - w.info = A.default.createActionInfo({ actionClass: w, canBeInTask: true, helpTopic: y.helpTopics.actions.callGuide, modelClass: d.CallGuideActionModel, name: R.actions.callGuide, scriptingName: "ArchActionCallGuide", availabilityCallback: (e3, t3, i3) => { + M.info = N.default.createActionInfo({ actionClass: M, canBeInTask: true, helpTopic: S.helpTopics.actions.callGuide, modelClass: d.CallGuideActionModel, name: P.actions.callGuide, scriptingName: "ArchActionCallGuide", modelFormatSupport: { flowYaml: { inProgress: true, feature: y.default.changeSetsFeaturePhase2 } }, availabilityCallback: (e3, t3, i3) => { var n3; return null === (n3 = t3.parentFlow.botFlowSettings) || void 0 === n3 ? void 0 : n3.virtualAgentEnabled; - } }), t2.A = w; + } }), t2.A = M; }, 56191: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -68490,7 +74019,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }), t2.CallGuideActionModel = void 0; - const r2 = i2(31635), o = i2(5894), a = i2(80295), s = i2(30801), l = i2(80295), u = r2.__importDefault(i2(92140)), d = r2.__importDefault(i2(7401)), c = i2(90807); + const r2 = i2(31635), o = i2(5894), a = i2(80295), s = i2(30801), l = i2(80295), u = r2.__importDefault(i2(92140)), c = r2.__importDefault(i2(7401)), d = i2(90807); class p extends o.BaseFailureOutputsActionModel { constructor(e3) { super(e3), this.__type = p.__type, (0, l.makeUnenumerable)(this, "_inputs"), (0, l.makeUnenumerable)(this, "_outputs"), (0, l.makeUnenumerable)(this, "_voiceProcessingPrompt"), (0, l.makeUnenumerable)(this, "_guideId"), (0, l.makeUnenumerable)(this, "_guideName"), (0, l.makeUnenumerable)(this, "_guideVersion"), (0, l.makeUnenumerable)(this, "_guideLatestVersion"); @@ -68537,22 +74066,22 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._inputs; } set inputs(e3) { - this._inputs = this.reviveArray(e3, c); + this._inputs = this.reviveArray(e3, d); } get outputs() { return this._outputs; } set outputs(e3) { - this._outputs = this.reviveArray(e3, c); + this._outputs = this.reviveArray(e3, d); } get voiceProcessingPrompt() { return this._voiceProcessingPrompt; } set voiceProcessingPrompt(e3) { - this._voiceProcessingPrompt = this.reviveItem(e3, d.default); + this._voiceProcessingPrompt = this.reviveItem(e3, c.default); } } - t2.CallGuideActionModel = p, p.__type = s.callGuideActionType, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [Object])], p.prototype, "guideId", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [Object])], p.prototype, "guideName", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [Object])], p.prototype, "guideVersion", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Object])], p.prototype, "guideLatestVersion", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Object), r2.__metadata("design:paramtypes", [Object])], p.prototype, "inputs", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Object), r2.__metadata("design:paramtypes", [Object])], p.prototype, "outputs", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== d.default && d.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], p.prototype, "voiceProcessingPrompt", null), p.registerType(); + t2.CallGuideActionModel = p, p.__type = s.callGuideActionType, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [Object])], p.prototype, "guideId", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [Object])], p.prototype, "guideName", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [Object])], p.prototype, "guideVersion", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Object])], p.prototype, "guideLatestVersion", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Object), r2.__metadata("design:paramtypes", [Object])], p.prototype, "inputs", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Object), r2.__metadata("design:paramtypes", [Object])], p.prototype, "outputs", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.default && c.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], p.prototype, "voiceProcessingPrompt", null), p.registerType(); }, 56248: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -68726,11 +74255,66 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } t2.default = r2; + }, 56486: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), r2 = n2.__importDefault(i2(8471)), o = n2.__importDefault(i2(78432)); + class a extends r2.default { + constructor(e3) { + super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreExternalContactPatchChangeList"), e3), this._coreList = e3; + } + get displayTypeName() { + return "ArchValueExternalContactPatchChangeList"; + } + get logStr() { + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrPart(e3, "Length", this.length, true, true), this._createLogStrFromParts(e3); + } + get isArchValueExternalContactPatchChangeList() { + return true; + } + get length() { + return this._coreList.items.length; + } + get fieldIds() { + return this._coreList.items.map((e3) => e3.fieldId); + } + get availableFieldIds() { + return [...this._coreList.availableFields]; + } + addChange(e3, t3 = o.default.EXTERNAL_CONTACT_PATCH_CONDITIONS.update, i3 = "") { + const n3 = this._infoParm("fieldId", "addChange"); + this._checkItemIsValidLiteralString(n3, e3, false); + const r3 = this._coreList.addField(e3); + if (!r3) return; + const a2 = r3.availableConditions.map((e4) => e4.id); + this._checkItemIsValidLiteralStringEnum(n3, t3, a2, false); + const s = r3.availableConditions.find((e4) => e4.id === t3); + return s && (r3.condition = s), i3 && r3.expression.setAsExpression(i3), this.coreFactory.createArchWrapper(r3); + } + getChangeByIndex(e3) { + const t3 = this._infoParm("index", "getChangeByIndex"); + return this._checkItemIsValidLiteralInt(t3, e3, false, true), this._checkItem(t3, e3 >= this._coreList.items.length, `supplied index of ${e3} is invalid. The allowable range is 0 to ${this._coreList.items.length - 1}.`), this.coreFactory.createArchWrapper(this._coreList.items[e3]); + } + getChangeByFieldId(e3) { + const t3 = this._infoParm("fieldId", "getChangeByFieldId"); + this._checkItemIsValidLiteralString(t3, e3, false); + const i3 = this._coreList.items.find((t4) => t4.fieldId === e3); + if (i3) return this.coreFactory.createArchWrapper(i3); + } + removeChangeByFieldId(e3) { + const t3 = this._infoParm("fieldId", "removeChangeByFieldId"); + this._checkItemIsValidLiteralString(t3, e3, false); + const i3 = this._coreList.items.find((t4) => t4.fieldId === e3); + return !!i3 && (this._coreList.removeChild(i3), true); + } + } + t2.default = a; }, 56510: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(10798)), l = n2.__importStar(i2(58380)), u = n2.__importStar(i2(81116)), d = i2(14394), c = n2.__importDefault(i2(7401)), p = n2.__importDefault(i2(85247)), _ = i2(79516), h = i2(67801), m = i2(19284), g = n2.__importStar(i2(17498)), f = n2.__importStar(i2(36781)), T = n2.__importStar(i2(66381)), y = n2.__importStar(i2(98442)), S = n2.__importStar(i2(34475)), A = i2(1115), N = n2.__importDefault(i2(4648)), O = i2(12179), I = n2.__importDefault(i2(68460)), v = n2.__importDefault(i2(52816)), C = n2.__importDefault(i2(40773)), b = i2(74064), E = n2.__importDefault(i2(65449)), R = i2(63221), w = n2.__importDefault(i2(83231)), D = i2(18894), P = i2(38551), M = n2.__importDefault(i2(78982)), F = i2(89599), L = i2(47957), x = i2(88654); - class k extends I.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(10798)), l = n2.__importStar(i2(58380)), u = n2.__importStar(i2(81116)), c = i2(14394), d = n2.__importDefault(i2(7401)), p = n2.__importDefault(i2(85247)), _ = i2(79516), h = i2(67801), m = i2(19284), g = n2.__importStar(i2(17498)), f = n2.__importStar(i2(36781)), T = n2.__importStar(i2(66381)), y = n2.__importStar(i2(98442)), S = n2.__importStar(i2(34475)), A = i2(1115), N = n2.__importDefault(i2(4648)), v = i2(12179), O = n2.__importDefault(i2(68460)), I = n2.__importDefault(i2(52816)), C = n2.__importDefault(i2(40773)), b = i2(74064), E = n2.__importDefault(i2(65449)), w = i2(63221), R = n2.__importDefault(i2(83231)), D = i2(18894), P = i2(38551), M = n2.__importDefault(i2(78982)), F = i2(89599), L = i2(47957), x = i2(88654); + class k extends O.default { constructor(e3) { super(e3), this.modelPropertyName = "supportedLanguageOptions"; } @@ -68813,7 +74397,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return "fa/language-regular"; } get helpTopic() { - return O.helpTopics.treeNodes.supportedLanguages; + return v.helpTopics.treeNodes.supportedLanguages; } get outOfService() { return !this.parentFlow.supportsLanguages; @@ -68896,7 +74480,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; e3.addError(this, `The language with tag of '${t4.language}' is not valid as a supported language for a flow of type '${this.parentFlow.definition.typeDisplayName}'.`); } }), this.parentFlow.defaultLanguage ? this.isFlowSupportedLanguage(this.parentFlow.defaultLanguage) || e3.addError(this, L.setLocale.defaultLanguageError) : e3.addError(this, L.setLocale.noDefaultLanguage), o.default.each(this.supportedLanguageOptions, (t4) => { - var i4, n4, o2, a3, s3, l2, u2, d2; + var i4, n4, o2, a3, s3, l2, u2, c2; if (y.langCodeIsGeneric(t4.language) && e3.addError(this, (0, r2.sprintf)(L.setLocale.genericLanguageError, t4.language)), t4.languageSkill.validate(e3), t4.textToSpeech && t4.textToSpeech.validate(e3), t4.speechToTextEngine && t4.speechToTextEngine.validate(e3, this, t4.language), t4.speechToTextNoChoicesWarning = void 0, this.parentFlow.languagesSupportSpeechToTextSettings && 0 === t4.speechToTextEngineChoices.length) { const i5 = (0, r2.sprintf)(L.speechToText.speechToTextNoChoicesAvailable, this._getLanguageAndTerritoryStringById(t4.language)); e3.addWarning(this, i5), t4.speechToTextNoChoicesWarning = i5, t4.speechToTextEngineChoice = void 0; @@ -68918,7 +74502,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; e3.addError(this, i5), t4.knowledgeBaseError = i5; } if (!t4.knowledgeBaseError) if ((null === (s3 = t4.knowledgeBase) || void 0 === s3 ? void 0 : s3.knowledgeBaseId) || !(null === (l2 = this.parent.knowledgeSettings) || void 0 === l2 ? void 0 : l2.knowledgeBaseId) || this.isKnowledgeV3Enabled) { - if (!(null === (u2 = t4.knowledgeSetting) || void 0 === u2 ? void 0 : u2.knowledgeSettingId) && (null === (d2 = this.parent.knowledgeSettings) || void 0 === d2 ? void 0 : d2.knowledgeSettingId) && this.isKnowledgeV3Enabled) { + if (!(null === (u2 = t4.knowledgeSetting) || void 0 === u2 ? void 0 : u2.knowledgeSettingId) && (null === (c2 = this.parent.knowledgeSettings) || void 0 === c2 ? void 0 : c2.knowledgeSettingId) && this.isKnowledgeV3Enabled) { const i5 = (0, r2.sprintf)(L.knowledgeSettings.knowledgeSettingNotSelectedForLanguage, this._getLanguageAndTerritoryStringById(t4.language)); e3.addWarning(this, i5), t4.knowledgeBaseWarning = i5; } @@ -68943,7 +74527,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } const i4 = this.supportedLanguageOptions.filter((e4) => { var t6; - return (null === (t6 = e4.speechToTextEngine) || void 0 === t6 ? void 0 : t6.selection) === R.engineSelectionTypes.engineSelectionDefault && e4.hasSttEngineDefaultChanged; + return (null === (t6 = e4.speechToTextEngine) || void 0 === t6 ? void 0 : t6.selection) === w.engineSelectionTypes.engineSelectionDefault && e4.hasSttEngineDefaultChanged; }); i4.length && !this.parentFlow.isReadOnly && o.default.forEach(i4, (e4) => { e4.hasSttEngineDefaultChanged = false; @@ -68998,7 +74582,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return null === (i5 = t5.name) || void 0 === i5 ? void 0 : i5.toLocaleLowerCase().localeCompare(null === (n5 = e5.name) || void 0 === n5 ? void 0 : n5.toLocaleLowerCase()); }); return t4 ? [...n4, t4, ...r3] : [...n4, ...r3]; - }, f2 = { defaultSttEngineChoice: _2, isFlowSupportedLanguageSetting: true, isSystemSupported: y.isFlowTypeWithLanguageSupportedInSystem(e3.language, this.parentFlow.type), language: e3.language, parent: this, textToSpeech: new b.TTSDataViewModel(e3.textToSpeech || new x(), e3.language, this), _speechToTextEngine: this._loadSTTEngine(e3), _speechToTextEngineChoice: this._loadSTTEngineChoice(e3, _2), speechToTextEngineChoices: this._loadSTTEngineChoices(e3.language, _2, g2), speechToTextNoChoicesWarning: void 0, speechToTextConfigListManager: m.speechToTextEngineManager, _conversationSummarySetting: e3.conversationSummarySetting ? new M.default(e3.conversationSummarySetting) : void 0, conversationSummaryError: void 0, conversationSummaryConfigListManager: F.conversationSummarySettingManager, conversationSummaryLinkButton: p2, languageSupportsConversationSummary: false, _knowledgeBase: e3.knowledgeBase ? new v.default(e3.knowledgeBase) : void 0, _knowledgeSetting: e3.knowledgeSetting ? new w.default(e3.knowledgeSetting) : void 0, knowledgeBaseError: void 0, knowledgeBaseWarning: void 0, knowledgeBaseConfigListManager: h.knowledgeBaseManager, knowledgeSettingConfigListManager: D.knowledgeSettingManager, knowledgeBaseSearchParams: { coreLanguage: a2, published: true }, knowledgeBaseLinkButtonInfo: s2, knowledgeSettingLinkButtonInfo: l2, languageSupportsKnowledge: y.getLangSupportsKnowledgeForFlowType(e3.language, this.parentFlow.type), defaultSttEngineLabel: this._defaultSttEngineLabel(e3), defaultSttEngineChangedLabel: this._defaultSttEngineChangedLabel(e3, t3), hasSttEngineDefaultChanged: this._hasSttEngineDefaultChanged(e3, t3), sttEngineSorter: g2 }; + }, f2 = { defaultSttEngineChoice: _2, isFlowSupportedLanguageSetting: true, isSystemSupported: y.isFlowTypeWithLanguageSupportedInSystem(e3.language, this.parentFlow.type), language: e3.language, parent: this, textToSpeech: new b.TTSDataViewModel(e3.textToSpeech || new x(), e3.language, this), _speechToTextEngine: this._loadSTTEngine(e3), _speechToTextEngineChoice: this._loadSTTEngineChoice(e3, _2), speechToTextEngineChoices: this._loadSTTEngineChoices(e3.language, _2, g2), speechToTextNoChoicesWarning: void 0, speechToTextConfigListManager: m.speechToTextEngineManager, _conversationSummarySetting: e3.conversationSummarySetting ? new M.default(e3.conversationSummarySetting) : void 0, conversationSummaryError: void 0, conversationSummaryConfigListManager: F.conversationSummarySettingManager, conversationSummaryLinkButton: p2, languageSupportsConversationSummary: false, _knowledgeBase: e3.knowledgeBase ? new I.default(e3.knowledgeBase) : void 0, _knowledgeSetting: e3.knowledgeSetting ? new R.default(e3.knowledgeSetting) : void 0, knowledgeBaseError: void 0, knowledgeBaseWarning: void 0, knowledgeBaseConfigListManager: h.knowledgeBaseManager, knowledgeSettingConfigListManager: D.knowledgeSettingManager, knowledgeBaseSearchParams: { coreLanguage: a2, published: true }, knowledgeBaseLinkButtonInfo: s2, knowledgeSettingLinkButtonInfo: l2, languageSupportsKnowledge: y.getLangSupportsKnowledgeForFlowType(e3.language, this.parentFlow.type), defaultSttEngineLabel: this._defaultSttEngineLabel(e3), defaultSttEngineChangedLabel: this._defaultSttEngineChangedLabel(e3, t3), hasSttEngineDefaultChanged: this._hasSttEngineDefaultChanged(e3, t3), sttEngineSorter: g2 }; return Object.defineProperty(f2, "speechToTextEngine", { get: () => f2._speechToTextEngine, set: (e4) => { f2._speechToTextEngine = e4, (0, A.validateNode)(this, true); } }), Object.defineProperty(f2, "speechToTextEngineChoice", { get: () => f2._speechToTextEngineChoice, set: (e4) => { @@ -69014,7 +74598,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; (0, A.validateNode)(this, true); } }), Object.defineProperty(f2, "languageSupportsConversationSummary", { get: () => y.getLangSupportsConversationSummary(f2.language), enumerable: true }), Object.defineProperty(f2, "conversationSummarySetting", { get: () => f2._conversationSummarySetting, set: (e4) => { f2._conversationSummarySetting = e4, f2.conversationSummaryLinkButton = this._getSummaryLinkButtonInfo(null == e4 ? void 0 : e4.id), (0, A.validateNode)(this, true); - } }), f2.languageSkill = u.expression(this.parentFlow, this, e3.languageSkill || new c.default(), (0, r2.sprintf)(L.setLocale.skillMappingName, e3.language), d.globalTypes.languageSkill, null, d.globalTypes.languageSkill.createExpressionOptionClass().setIsOptional(true).setAllowModeLiteral(true).setAllowModeExpression(false).setAllowModeVariable(false).setLabelOverride(L.generic.value).setIninTestingField("languageSkill")), f2.isRootLanguage = e3.language.indexOf("-") < 0, this._savedSupportedLanguagesViewModels = void 0, this.supportedLanguageOptions.push(f2), this.initializeDesignTimeCalled && this._initializeLanguageViewModel(f2), this.defaultLanguage || (this.defaultLanguage = f2.language), f2; + } }), f2.languageSkill = u.expression(this.parentFlow, this, e3.languageSkill || new d.default(), (0, r2.sprintf)(L.setLocale.skillMappingName, e3.language), c.globalTypes.languageSkill, null, c.globalTypes.languageSkill.createExpressionOptionClass().setIsOptional(true).setAllowModeLiteral(true).setAllowModeExpression(false).setAllowModeVariable(false).setLabelOverride(L.generic.value).setIninTestingField("languageSkill")), f2.isRootLanguage = e3.language.indexOf("-") < 0, this._savedSupportedLanguagesViewModels = void 0, this.supportedLanguageOptions.push(f2), this.initializeDesignTimeCalled && this._initializeLanguageViewModel(f2), this.defaultLanguage || (this.defaultLanguage = f2.language), f2; } _loadSTTEngine(e3) { if (!e3.speechToText) { @@ -69026,11 +74610,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return; } const t3 = new C.default(e3.speechToText.engine); - return t3.selection = e3.speechToText.engine.selection === R.engineSelectionTypes.engineSelectionDefault ? R.engineSelectionTypes.engineSelectionDefault : R.engineSelectionTypes.engineSelectionSpecific, t3; + return t3.selection = e3.speechToText.engine.selection === w.engineSelectionTypes.engineSelectionDefault ? w.engineSelectionTypes.engineSelectionDefault : w.engineSelectionTypes.engineSelectionSpecific, t3; } _loadSTTEngineChoice(e3, t3) { var i3, n3; - return e3.speechToText ? (null === (n3 = null === (i3 = e3.speechToText) || void 0 === i3 ? void 0 : i3.engine) || void 0 === n3 ? void 0 : n3.selection) === R.engineSelectionTypes.engineSelectionDefault ? t3 : new C.default(e3.speechToText.engine) : t3; + return e3.speechToText ? (null === (n3 = null === (i3 = e3.speechToText) || void 0 === i3 ? void 0 : i3.engine) || void 0 === n3 ? void 0 : n3.selection) === w.engineSelectionTypes.engineSelectionDefault ? t3 : new C.default(e3.speechToText.engine) : t3; } _loadSTTEngineChoices(e3, t3, i3) { const n3 = o.default.filter(E.default.items, (t4) => !t4.grammarBased && t4.isLanguageSupported(e3)); @@ -69042,11 +74626,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } _defaultSttEngineChangedLabel(e3, t3) { var i3, n3, o2, a2, s2, l2; - if (t3 && (!e3.speechToText || (null === (n3 = null === (i3 = e3.speechToText) || void 0 === i3 ? void 0 : i3.engine) || void 0 === n3 ? void 0 : n3.selection) === R.engineSelectionTypes.engineSelectionDefault)) return this._hasSttEngineDefaultChanged(e3, t3) ? (null === (a2 = null === (o2 = e3.speechToText) || void 0 === o2 ? void 0 : o2.engine) || void 0 === a2 ? void 0 : a2.name) ? (0, r2.sprintf)(L.textToSpeech.defaultEngineDiffers, null === (l2 = null === (s2 = e3.speechToText) || void 0 === s2 ? void 0 : s2.engine) || void 0 === l2 ? void 0 : l2.name) : (0, r2.sprintf)(L.speechToText.defaultSpeechToTextEngineDiffersFromNotSpecified) : void 0; + if (t3 && (!e3.speechToText || (null === (n3 = null === (i3 = e3.speechToText) || void 0 === i3 ? void 0 : i3.engine) || void 0 === n3 ? void 0 : n3.selection) === w.engineSelectionTypes.engineSelectionDefault)) return this._hasSttEngineDefaultChanged(e3, t3) ? (null === (a2 = null === (o2 = e3.speechToText) || void 0 === o2 ? void 0 : o2.engine) || void 0 === a2 ? void 0 : a2.name) ? (0, r2.sprintf)(L.textToSpeech.defaultEngineDiffers, null === (l2 = null === (s2 = e3.speechToText) || void 0 === s2 ? void 0 : s2.engine) || void 0 === l2 ? void 0 : l2.name) : (0, r2.sprintf)(L.speechToText.defaultSpeechToTextEngineDiffersFromNotSpecified) : void 0; } _hasSttEngineDefaultChanged(e3, t3) { var i3, n3, r3, o2; - if (t3 && (!e3.speechToText || (null === (n3 = null === (i3 = e3.speechToText) || void 0 === i3 ? void 0 : i3.engine) || void 0 === n3 ? void 0 : n3.selection) === R.engineSelectionTypes.engineSelectionDefault)) { + if (t3 && (!e3.speechToText || (null === (n3 = null === (i3 = e3.speechToText) || void 0 === i3 ? void 0 : i3.engine) || void 0 === n3 ? void 0 : n3.selection) === w.engineSelectionTypes.engineSelectionDefault)) { const t4 = E.default.getDefaultEngineForLanguage(e3.language); return (null == t4 ? void 0 : t4.id) !== (null === (o2 = null === (r3 = e3.speechToText) || void 0 === r3 ? void 0 : r3.engine) || void 0 === o2 ? void 0 : o2.id); } @@ -69081,8 +74665,26 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 56549: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(74359)), a = n2.__importDefault(i2(78432)), s = n2.__importDefault(i2(72203)), l = n2.__importDefault(i2(66978)), u = n2.__importStar(i2(46920)), d = i2(55909), c = i2(33951), p = i2(1360), _ = n2.__importDefault(i2(8471)), h = i2(37345); - class m extends _.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(74359)), a = n2.__importDefault(i2(78432)), s = n2.__importDefault(i2(72203)), l = n2.__importDefault(i2(66978)), u = n2.__importStar(i2(46920)), c = i2(55909), d = i2(33951), p = n2.__importDefault(i2(2600)), _ = i2(2600), h = n2.__importDefault(i2(98717)), m = i2(1360), g = n2.__importDefault(i2(8471)), f = i2(37345); + function T(e3) { + if ("string" == typeof e3) return e3; + if (!e3 || "object" != typeof e3) return ""; + const t3 = e3, i3 = []; + "number" == typeof t3.status && i3.push(`status: ${t3.status}`), t3.statusText && i3.push(`statusText: ${t3.statusText}`); + const n3 = t3.headers; + if (n3) { + const e4 = n3["inin-correlation-id"] || n3["ININ-Correlation-Id"], t4 = Array.isArray(e4) ? e4[0] : e4; + t4 && i3.push(`correlationId: ${t4}`); + } + return t3.requiredAuth && i3.push(`requiredPermission: ${t3.requiredAuth}`), void 0 !== t3.code && null !== t3.code && "" !== t3.code && i3.push(`errorCode: ${t3.code}`), t3.message && t3.message.trim() && t3.message !== t3.name ? i3.push(t3.message) : t3.name && "Error" !== t3.name && i3.push(t3.name), i3.join(", "); + } + function y(e3, t3) { + const i3 = p.default.captureEnabled ? p.default.consume() : []; + let n3; + return e3 instanceof Error ? (n3 = e3, t3 && (n3.message = t3)) : n3 = "string" == typeof e3 ? new Error(t3 || e3) : new Error(t3 || "lookup failed"), n3.isLookupFailureError = true, i3.length && (Object.defineProperty(n3, "networkDiagnostics", { value: i3, enumerable: false, writable: false, configurable: true }), p.default.logEnabled && h.default.logNote(`Network diagnostics for lookup failure: +${(0, _.formatNetworkDiagnosticsForLog)(i3)}`)), n3; + } + class S extends g.default { constructor() { super(); } @@ -69094,7 +74696,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } _checkoutFlow(e3) { return n2.__awaiter(this, void 0, void 0, function* () { - const t3 = h.checkOut(e3.id); + const t3 = f.checkOut(e3.id); return yield l.default.addPromise(t3, "checkoutFlow"); }); } @@ -69106,7 +74708,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return l.default.addPromise(t4, "checkoutFlowByFlowInfoAsync"), e3; } if (i3 && t3) { - const t4 = h.unlock(e3.id); + const t4 = f.unlock(e3.id); return yield t4, this._checkoutFlow(e3); } return this._checkoutFlow(e3); @@ -69115,9 +74717,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; _loadFlowByFlowInfoAsync(e3, t3, i3, o2, s2, p2) { return n2.__awaiter(this, void 0, void 0, function* () { let n3, _2; - c.ParameterValidator.expectFlowViewModel(e3, () => d.ParameterInfo.createFunctionParameter(this.displayTypeName, "_loadFlowByFlowInfoAsync", "coreFlowViewModel"), false), this._checkItemIsValidLiteralString(this._infoParm(o2, "_loadFlowByFlowInfoAsync"), o2), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "_loadFlowByFlowInfoAsync"), i3, true), this._checkItemIsValidLiteralBool(this._infoParm("returnConfig", "_loadFlowByFlowInfoAsync"), s2, true), this._checkItemIsValidLiteralBool(this._infoParm("setVersionLatest", "_loadFlowByFlowInfoAsync"), p2, true); - const m2 = this._infoParm("flowVersion", o2); - if (i3 && !r2.default.isFunction(i3) && "string" == typeof i3 && i3.toLowerCase() === a.default.FLOW_VERSIONS.latest ? (_2 = a.default.FLOW_VERSIONS.latest, n3 = h.getConfiguration(t3.id, null == e3 ? void 0 : e3.overrideWireFlowConfiguration)) : ("string" == typeof i3 && a.default.FLOW_VERSIONS_ALL.includes(i3.toLowerCase()) ? _2 = i3 : (_2 = parseInt(String(i3)).toFixed(1), "nan" === _2.toLowerCase() && this._itemIsInvalid(m2, `the version value '${i3}' is not a valid integer value or of the following flow version strings: '${a.default.FLOW_VERSIONS_ALL.join("', '")}'.`), _2 < 0 && this._itemIsInvalid(m2, `the version value '${_2}' cannot be a negative value.`)), n3 = h.getVersionConfiguration(t3.id, _2, null == e3 ? void 0 : e3.overrideWireFlowVersionConfiguration)), s2) { + d.ParameterValidator.expectFlowViewModel(e3, () => c.ParameterInfo.createFunctionParameter(this.displayTypeName, "_loadFlowByFlowInfoAsync", "coreFlowViewModel"), false), this._checkItemIsValidLiteralString(this._infoParm(o2, "_loadFlowByFlowInfoAsync"), o2), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "_loadFlowByFlowInfoAsync"), i3, true), this._checkItemIsValidLiteralBool(this._infoParm("returnConfig", "_loadFlowByFlowInfoAsync"), s2, true), this._checkItemIsValidLiteralBool(this._infoParm("setVersionLatest", "_loadFlowByFlowInfoAsync"), p2, true); + const h2 = this._infoParm("flowVersion", o2); + if (i3 && !r2.default.isFunction(i3) && "string" == typeof i3 && i3.toLowerCase() === a.default.FLOW_VERSIONS.latest ? (_2 = a.default.FLOW_VERSIONS.latest, n3 = f.getConfiguration(t3.id, null == e3 ? void 0 : e3.overrideWireFlowConfiguration)) : ("string" == typeof i3 && a.default.FLOW_VERSIONS_ALL.includes(i3.toLowerCase()) ? _2 = i3 : (_2 = parseInt(String(i3)).toFixed(1), "nan" === _2.toLowerCase() && this._itemIsInvalid(h2, `the version value '${i3}' is not a valid integer value or of the following flow version strings: '${a.default.FLOW_VERSIONS_ALL.join("', '")}'.`), _2 < 0 && this._itemIsInvalid(h2, `the version value '${_2}' cannot be a negative value.`)), n3 = f.getVersionConfiguration(t3.id, _2, null == e3 ? void 0 : e3.overrideWireFlowVersionConfiguration)), s2) { const e4 = l.default.addPromise(n3, "loadFlowByFlowInfoAsync"); return yield e4; } @@ -69129,7 +74731,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } _unlockFlowAsync(e3) { return n2.__awaiter(this, void 0, void 0, function* () { - if (e3.lockedUser) return l.default.addPromise(h.unlock(e3.id), "unlockFlowAsync"); + if (e3.lockedUser) return l.default.addPromise(f.unlock(e3.id), "unlockFlowAsync"); { const t3 = Promise.resolve(); return l.default.addPromise(t3, "unlockFlowAsync"), e3; @@ -69139,44 +74741,53 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; findItemByIdAsync(e3, t3, i3, r3) { return n2.__awaiter(this, void 0, void 0, function* () { this._checkItemUndefinedOrNull(this._infoParm("configlistManager", "findItemByIdAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("id", "findItemByIdAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("loggingLabel", "findItemByIdAsync"), i3, false), this.logNote(`find '${i3}' by id = '${t3}'`); - try { - const n3 = s.default.generateIdCacheKey(e3, t3, i3, r3), o2 = s.default.getFromIdCache(n3, e3); - if (o2) return this.logNote(`'${i3}' by id '${t3}' was found in cache`), o2; - const a2 = e3.fetchItem(t3, false, r3), u2 = yield l.default.addPromise(a2, `findItemByIdAsync: ${i3} - ${t3}`); - return s.default.setInIdCache(n3, u2, e3), u2; - } catch (e4) { - throw this.logError(`find '${i3}' by id '${t3}' - Failed to find item with id '${t3}'`), e4; - } + const o2 = () => n2.__awaiter(this, void 0, void 0, function* () { + try { + const n3 = s.default.generateIdCacheKey(e3, t3, i3, r3), o3 = s.default.getFromIdCache(n3, e3); + if (o3) return this.logNote(`'${i3}' by id '${t3}' was found in cache`), o3; + const a2 = e3.fetchItem(t3, false, r3), u2 = yield l.default.addPromise(a2, `findItemByIdAsync: ${i3} - ${t3}`); + return s.default.setInIdCache(n3, u2, e3), u2; + } catch (e4) { + const n3 = T(e4); + throw this.logError(`find '${i3}' by id '${t3}' - Failed to find item with id '${t3}'${n3 ? ` - ${n3}` : ""}`), y(e4, n3); + } + }); + return p.default.captureEnabled ? p.default.runInScope(o2) : o2(); }); } - findItemByValueAsync(e3, t3, i3, o2, a2, u2, d2) { + findItemByValueAsync(e3, t3, i3, o2, a2, u2, c2) { return n2.__awaiter(this, void 0, void 0, function* () { - var n3; this._checkItemUndefinedOrNull(this._infoParm("configlistManager", "findItemByValueAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("value", "findItemByValueAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("loggingLabel", "findItemByValueAsync"), i3, false), this._checkItemIsValidLiteralString(this._infoParm("searchProperty", "findItemByValueAsync"), o2, true), this._checkItemIsValidLiteralString(this._infoParm("wireProperty", "findItemByValueAsync"), a2, true), o2 || (o2 = "name"), a2 || (a2 = o2), this.logNote(`find '${i3}' by property value where '${o2}' = '${t3}'`); - try { - const c2 = s.default.generateValueCacheKey(e3, t3, i3, o2, a2, u2, d2), _2 = s.default.getFromValueCache(c2, e3); - if (_2) return this.logNote(`'${i3}' by value '${t3}' was found in cache`), _2; - const h2 = e3.search(t3, o2, p.exactMatch, void 0, d2, void 0, void 0, true), m2 = yield l.default.addPromise(h2, `findItemByValueAsync: ${i3} - ${t3}`); - let g2 = []; - for (let e4 = 0; e4 < m2.length; e4++) (null === (n3 = m2[e4][a2]) || void 0 === n3 ? void 0 : n3.toLowerCase()) === t3.toLowerCase() && g2.push(m2[e4]); - if (r2.default.isObject(u2) && (g2 = r2.default.filter(g2, u2)), 1 === g2.length) { - const t4 = g2[0]; - return s.default.setInValueCache(c2, t4, e3), t4; - } - if (g2.length > 1) { - const n4 = []; - let r3; - n4.push(`find '${i3}' by value of '${t3}' - there is more than one case insensitive match (count: ${g2.length})`), n4.push(" now attempting to find a case sensitive match."); - for (let e4 = 0; e4 < g2.length; e4++) { - const i4 = ` item[${e4}] - value '${g2[e4][a2]}' - `; - g2[e4][a2] === t3 ? r3 ? (n4.push(i4 + "is another case sensitive match - unable to disambiguate network results"), this.logErrorAndThrow(n4.join("\n"))) : (n4.push(i4 + "is a case sensitive match - checking additional items to see if there are any other matches."), r3 = g2[e4]) : n4.push(i4 + "is not a case sensitive match."); + const d2 = () => n2.__awaiter(this, void 0, void 0, function* () { + var n3; + try { + const d3 = s.default.generateValueCacheKey(e3, t3, i3, o2, a2, u2, c2), p2 = s.default.getFromValueCache(d3, e3); + if (p2) return this.logNote(`'${i3}' by value '${t3}' was found in cache`), p2; + const _2 = e3.search(t3, o2, m.exactMatch, void 0, c2, void 0, void 0, true), h2 = yield l.default.addPromise(_2, `findItemByValueAsync: ${i3} - ${t3}`); + let g2 = []; + for (let e4 = 0; e4 < h2.length; e4++) (null === (n3 = h2[e4][a2]) || void 0 === n3 ? void 0 : n3.toLowerCase()) === t3.toLowerCase() && g2.push(h2[e4]); + if (r2.default.isObject(u2) && (g2 = r2.default.filter(g2, u2)), 1 === g2.length) { + const t4 = g2[0]; + return s.default.setInValueCache(d3, t4, e3), t4; + } + if (g2.length > 1) { + const n4 = []; + let r3; + n4.push(`find '${i3}' by value of '${t3}' - there is more than one case insensitive match (count: ${g2.length})`), n4.push(" now attempting to find a case sensitive match."); + for (let e4 = 0; e4 < g2.length; e4++) { + const i4 = ` item[${e4}] - value '${g2[e4][a2]}' - `; + g2[e4][a2] === t3 ? r3 ? (n4.push(i4 + "is another case sensitive match - unable to disambiguate network results"), this.logErrorAndThrow(n4.join("\n"))) : (n4.push(i4 + "is a case sensitive match - checking additional items to see if there are any other matches."), r3 = g2[e4]) : n4.push(i4 + "is not a case sensitive match."); + } + return n4.push(` found '${i3}' with value of '${t3}'.`), this.logNote(n4.join("\n")), s.default.setInValueCache(d3, r3, e3), r3; } - return n4.push(` found '${i3}' with value of '${t3}'.`), this.logNote(n4.join("\n")), s.default.setInValueCache(c2, r3, e3), r3; + throw this.logError(`find '${i3}' by value of '${t3}' - no matches for '${t3}'`), y("no matches", "no matches"); + } catch (e4) { + if (e4 && "object" == typeof e4 && e4.isLookupFailureError) throw e4; + const n4 = T(e4); + throw this.logError(`find '${i3}' by value of '${t3}' - Failed to find item ${t3}${n4 ? ` - ${n4}` : ""}`), y(e4, n4); } - throw this.logError(`find '${i3}' by value of '${t3}' - no matches for '${t3}'`), "no matches"; - } catch (e4) { - throw this.logError(`find '${i3}' by value of '${t3}' - Failed to find item ${t3}`), e4; - } + }); + return p.default.captureEnabled ? p.default.runInScope(d2) : d2(); }); } loadAllItemsAsync(e3, t3, i3, r3) { @@ -69185,7 +74796,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; try { const n3 = s.default.generateLoadAllCacheKey(e3, t3, i3, r3), o2 = s.default.getFromValueCache(n3, e3); if (o2) return this.logNote(`load all '${t3}' was found in cache`), o2; - const a2 = yield e3.search("*", i3, p.contains), l2 = []; + const a2 = yield e3.search("*", i3, m.contains), l2 = []; for (let e4 = 0; e4 < a2.length; e4++) l2.push(a2[e4]); if (1 === l2.length) { const t4 = l2[0]; @@ -69198,8 +74809,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }); } } - const g = new m(); - t2.default = g; + const A = new S(); + t2.default = A; }, 56606: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.bufferWhen = void 0; @@ -69283,8 +74894,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 56677: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(96481)), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(30801), l = i2(57467), u = i2(62902), d = i2(53482); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(96481)), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(30801), l = i2(57467), u = i2(62902), c = i2(53482); + class d extends r2.default { constructor(e3) { super(e3), e3.botResponseTimeout && (this._botResponseTimeout = this.coreFactory.createArchWrapper(e3.botResponseTimeout)), e3.sessionTimeout && (this._sessionTimeout = this.coreFactory.createArchWrapper(e3.sessionTimeout)); } @@ -69318,8 +74929,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.logNote("Found the bot integration named '" + n3.name + "' for the integration ID of '" + e3 + "'"), this._coreActionViewModel.setBotIntegrationByViewModel(n3); const s2 = yield o.default.findItemByIdAsync(u.digitalBotConnectorManager, t3, "bot connector bot", { integrationId: e3 }); this.logNote("Found the digital bot connector named '" + s2.name + "' for the bot ID of '" + t3 + "'"), this._coreActionViewModel.setBotCategoryByViewModel(s2); - const c2 = yield o.default.findItemByIdAsync(d.digitalBotConnectorVersionManager, i3, "digital bot connector version", { integrationId: e3, botId: t3 }); - return this.logNote("Found the Digital Bot Connector version named '" + c2.name + "' for the version ID of '" + i3 + "'"), this._coreActionViewModel.setBotRunnableByViewModel(c2), a.default.executeCallback(this, "setBotByIdAsync", r3, this); + const d2 = yield o.default.findItemByIdAsync(c.digitalBotConnectorVersionManager, i3, "digital bot connector version", { integrationId: e3, botId: t3 }); + return this.logNote("Found the Digital Bot Connector version named '" + d2.name + "' for the version ID of '" + i3 + "'"), this._coreActionViewModel.setBotRunnableByViewModel(d2), a.default.executeCallback(this, "setBotByIdAsync", r3, this); }); } setBotByNameAsync(e3, t3, i3, r3) { @@ -69327,9 +74938,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this._checkItemIsValidLiteralString(this._infoParm("botConnectorIntegrationName", "setBotByNameAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("botConnectorBotName", "setBotByNameAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("botConnectorBotVersionName", "setBotByNameAsync"), i3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBotByIdAsync"), r3, true); const n3 = "call digital bot connector action", s2 = yield o.default.findItemByValueAsync(l.digitalBotConnectorIntegrationManager, e3, n3, void 0, void 0); this.logNote(`Found info for the integration named '${s2.name}' for the passed integration name of '${e3}'. Getting bot details.`), this._coreActionViewModel.setBotIntegrationByViewModel(s2); - const c2 = yield o.default.findItemByValueAsync(u.digitalBotConnectorManager, t3, n3, void 0, void 0, void 0, { integrationId: s2.id }); - this.logNote(`Found info for the bot named '${c2.name}' for the passed bot name of '${t3}'. Getting bot version details.`), this._coreActionViewModel.setBotCategoryByViewModel(c2); - const p = yield o.default.findItemByIdAsync(d.digitalBotConnectorVersionManager, i3, "bot connector bot version", { integrationId: s2.id, botId: c2.id }); + const d2 = yield o.default.findItemByValueAsync(u.digitalBotConnectorManager, t3, n3, void 0, void 0, void 0, { integrationId: s2.id }); + this.logNote(`Found info for the bot named '${d2.name}' for the passed bot name of '${t3}'. Getting bot version details.`), this._coreActionViewModel.setBotCategoryByViewModel(d2); + const p = yield o.default.findItemByIdAsync(c.digitalBotConnectorVersionManager, i3, "bot connector bot version", { integrationId: s2.id, botId: d2.id }); return this._coreActionViewModel.setBotRunnableByViewModel(p), a.default.executeCallback(this, "setBotByNameAsync", r3, this); }); } @@ -69340,7 +74951,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._sessionTimeout; } } - t2.default = c; + t2.default = d; }, 56716: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(32726), { dialogflowCxActionType: o } = i2(30801), a = i2(42217); function s() { @@ -69429,7 +75040,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return true; } get supportsLiteralMode() { - return this.isCollection; + return true; } } t2.ExpressionTypeCustomerSegmentOptions = r2; @@ -69492,7 +75103,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; let n3; if (t3 && (null === (i3 = null == e3 ? void 0 : e3.questionGroups) || void 0 === i3 ? void 0 : i3.length)) for (let i4 = 0; i4 < e3.questionGroups.length && (n3 = A(e3.questionGroups[i4], t3), !n3); i4++) ; return n3; - }, t2.findSurveyQuestionInForm = O, t2.getAllQuestions = function(e3) { + }, t2.findSurveyQuestionInForm = v, t2.getAllQuestions = function(e3) { var t3, i3; const n3 = []; if (null === (t3 = null == e3 ? void 0 : e3.questionGroups) || void 0 === t3 ? void 0 : t3.length) for (let t4 = 0; t4 < e3.questionGroups.length; t4++) { @@ -69528,7 +75139,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (o3.length && "form" === o3[1] && "questiongroup" === o3[2] && o3[3]) { const e5 = parseInt(o3[3]), n4 = t3.questionGroups[e5]; if ("question" === o3[4] && o3[5]) { - const e6 = parseInt(o3[5]), r4 = n4.questions[e6], a3 = O(t3, r4.id); + const e6 = parseInt(o3[5]), r4 = n4.questions[e6], a3 = v(t3, r4.id); if (i4 = a3.variableName, "answer" === o3[6] && o3[7]) { let e7; if (a3.questionType === m.npsQuestion && Object.values(g).includes(o3[7].toLowerCase())) e7 = `GetSurveyQuestionNPSCategory(${i4}) == "${o3[7].toLowerCase()}"`; @@ -69567,13 +75178,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return n2.__awaiter(this, void 0, void 0, function* () { const t3 = {}; try { - v(yield l.surveyFormManager.apiCallSingle(e3), t3); + I(yield l.surveyFormManager.apiCallSingle(e3), t3); } catch (e4) { - I(t3, { errorType: 403 === (null == e4 ? void 0 : e4.status) ? f.formInsufficientViewPermissions : f.formInvalid }); + O(t3, { errorType: 403 === (null == e4 ? void 0 : e4.status) ? f.formInsufficientViewPermissions : f.formInvalid }); } return t3; }); - }, t2.checkSurveyForm = v, t2.getSurveyFormErrorText = function(e3) { + }, t2.checkSurveyForm = I, t2.getSurveyFormErrorText = function(e3) { var t3; if (!(null === (t3 = null == e3 ? void 0 : e3.rawErrors) || void 0 === t3 ? void 0 : t3.length)) return ""; const i3 = []; @@ -69589,7 +75200,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; i3.push(_.voiceSurvey.surveyFormDisabled); break; case f.formInsufficientViewPermissions: - i3.push((0, r2.sprintf)(_.voiceSurvey.surveyFormInsufficientPermissions, d.permissionStrings.external.externalAuthorizations.qualitySurveyFormView)); + i3.push((0, r2.sprintf)(_.voiceSurvey.surveyFormInsufficientPermissions, c.permissionStrings.external.externalAuthorizations.qualitySurveyFormView)); break; case f.multipleChoiceLimitExceeded: i3.push((0, r2.sprintf)(_.voiceSurvey.voiceSurveyFormExceedsMultipleChoiceLimit, a.voiceSurveyLimits.multipleChoiceQuestions.maxLength)); @@ -69600,13 +75211,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; o.default.each(e4.questions, (e5) => { n4.push((0, r2.sprintf)(_.voiceSurvey.voiceSurveyQuestionWithGroupAndQuestionIndex, e5.groupIndex, e5.questionIndex)); }); - const s3 = (0, c.getListDisplayString)(n4) || _.generic.unknown; + const s3 = (0, d.getListDisplayString)(n4) || _.generic.unknown; let l3; t4 === f.answerOptionExceedsMaxLength && (l3 = (0, r2.sprintf)(n4.length > 1 ? _.voiceSurvey.surveyFormQuestionAnswerExceedsLimitErrorMoreThanOne : _.voiceSurvey.surveyFormQuestionAnswerExceedsLimitError, a.voiceSurveyLimits.answerOptionTextLength.maxLength, s3)), l3 && i3.push(l3); } }), i3.length ? (n3 || (i3.unshift(_.voiceSurvey.surveyFromIncompatible), i3.push(_.voiceSurvey.surveyFormUpdateNeeded)), i3.join(" ")) : void 0; }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(82632), s = i2(13116), l = i2(99918), u = n2.__importDefault(i2(77862)), d = i2(44724), c = i2(66381), p = n2.__importDefault(i2(22226)), _ = i2(47957), h = { ar: ["ar-ae"], da: ["da-dk"], de: ["de-de", "de-ch"], "en-us": ["en-au", "en-ie", "en-gb", "en-nz", "en-us", "en-za"], es: ["es-es", "es-mx", "es-us"], fi: ["fi-fi"], fr: ["fr-ca", "fr-fr"], he: ["he-il"], hi: ["hi-in"], it: ["it-it"], ja: ["ja-jp"], ko: ["ko-kr"], nl: ["nl-nl"], no: ["nb-no"], pl: ["pl-pl"], "pt-br": ["pt-br"], "pt-pt": ["pt-pt"], ru: ["ru-ru"], sv: ["sv-se"], th: ["th-th"], tr: ["tr-tr"], uk: ["uk-ua"], "zh-cn": ["zh-cn"], "zh-tw": ["zh-tw"] }; + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(82632), s = i2(13116), l = i2(99918), u = n2.__importDefault(i2(77862)), c = i2(44724), d = i2(66381), p = n2.__importDefault(i2(22226)), _ = i2(47957), h = { ar: ["ar-ae"], da: ["da-dk"], de: ["de-de", "de-ch"], "en-us": ["en-au", "en-ie", "en-gb", "en-nz", "en-us", "en-za"], es: ["es-es", "es-mx", "es-us"], fi: ["fi-fi"], fr: ["fr-ca", "fr-fr"], he: ["he-il"], hi: ["hi-in"], it: ["it-it"], ja: ["ja-jp"], ko: ["ko-kr"], nl: ["nl-nl"], no: ["nb-no"], pl: ["pl-pl"], "pt-br": ["pt-br"], "pt-pt": ["pt-pt"], ru: ["ru-ru"], sv: ["sv-se"], th: ["th-th"], tr: ["tr-tr"], uk: ["uk-ua"], "zh-cn": ["zh-cn"], "zh-tw": ["zh-tw"] }; var m, g, f; function T(e3, t3, i3) { return i3 ? `Group${e3}_Question${t3}${u.default.variable.nameFollowUpSuffix}` : `Group${e3}_Question${t3}`; @@ -69637,22 +75248,22 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return n3 ? i3 ? (null === (o2 = e4.questionText) || void 0 === o2 ? void 0 : o2.toLowerCase()) === t3 : e4.questionText === t3 : r3 && S(e4, t3) ? e4 : i3 ? (null === (a3 = e4.id) || void 0 === a3 ? void 0 : a3.toLowerCase()) === t3 : e4.id === t3; })), s2; } - function O(e3, t3, i3, n3, r3) { + function v(e3, t3, i3, n3, r3) { var o2; let a2; if (t3 && (null === (o2 = null == e3 ? void 0 : e3.questionGroups) || void 0 === o2 ? void 0 : o2.length)) for (let o3 = 0; o3 < (null == e3 ? void 0 : e3.questionGroups.length) && (a2 = N(e3.questionGroups[o3], t3, i3, n3, r3), !a2); o3++) ; return a2; } - function I(e3, t3, i3) { + function O(e3, t3, i3) { if (!(null == t3 ? void 0 : t3.errorType) || !e3) return; e3.rawErrors || (e3.rawErrors = []), e3.rawErrors.push(t3), e3.errors || (e3.errors = {}); let n3 = e3.errors[t3.errorType]; n3 || (n3 = { questionGroups: [], questions: [], form: [] }, e3.errors[t3.errorType] = n3), void 0 !== t3.groupIndex ? (n3.questionGroups.push(t3), void 0 !== t3.questionIndex && n3.questions.push(t3), e3.isProblemInFormContents = true) : n3.form.push(t3), i3 && (e3.isProblemInFormContents = true); } - function v(e3, t3) { + function I(e3, t3) { var i3; - if (t3 || (t3 = {}), !o.default.isObject(e3)) return I(t3, { errorType: f.formInvalid }), t3; - if (e3.disabled) return I(t3, { errorType: f.formDisabled }), t3; + if (t3 || (t3 = {}), !o.default.isObject(e3)) return O(t3, { errorType: f.formInvalid }), t3; + if (e3.disabled) return O(t3, { errorType: f.formDisabled }), t3; let n3 = 0; return null === (i3 = null == e3 ? void 0 : e3.questionGroups) || void 0 === i3 || i3.forEach((e4, i4) => { var r3; @@ -69660,10 +75271,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var o2; e5.type === m.multipleChoiceQuestion && (null === (o2 = e5.answerOptions) || void 0 === o2 || o2.forEach((e6, n4) => { var o3; - (null === (o3 = e6.text) || void 0 === o3 ? void 0 : o3.length) > a.voiceSurveyLimits.answerOptionTextLength.maxLength && I(t3, { groupIndex: i4 + 1, questionIndex: r4 + 1, answerOptionIndex: n4 + 1, errorType: f.answerOptionExceedsMaxLength }); + (null === (o3 = e6.text) || void 0 === o3 ? void 0 : o3.length) > a.voiceSurveyLimits.answerOptionTextLength.maxLength && O(t3, { groupIndex: i4 + 1, questionIndex: r4 + 1, answerOptionIndex: n4 + 1, errorType: f.answerOptionExceedsMaxLength }); }), n3++); }); - }), n3 > a.voiceSurveyLimits.multipleChoiceQuestions.maxLength && I(t3, { errorType: f.multipleChoiceLimitExceeded }, true), t3; + }), n3 > a.voiceSurveyLimits.multipleChoiceQuestions.maxLength && O(t3, { errorType: f.multipleChoiceLimitExceeded }, true), t3; } t2.surveyFormSlotHandlingTypes = [s.SlotHandlingType.surveyFormQuestionSlot, s.SlotHandlingType.surveyFormQuestionFollowUpSlot], (function(e3) { e3.multipleChoiceQuestion = "multipleChoiceQuestion", e3.readOnlyQuestion = "readOnlyQuestion", e3.npsQuestion = "npsQuestion", e3.freeTextQuestion = "freeTextQuestion"; @@ -69755,6 +75366,28 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } t2.default = a; + }, 57227: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class r2 extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "externalContactCollection"; + } + get initialValue() { + return this._initialValue; + } + get displayTypeName() { + return "ArchVariableExternalContactCollection"; + } + get isArchVariableExternalContactCollection() { + return true; + } + } + t2.default = r2; }, 57247: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -69796,68 +75429,97 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = s; }, 57310: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(36781)), s = i2(28562), l = i2(80428), u = i2(32307), d = i2(82319), c = i2(81516), p = i2(49892), _ = i2(99469), h = i2(91911), m = n2.__importDefault(i2(27203)), g = i2(12361), f = i2(42139), T = n2.__importStar(i2(10798)), y = n2.__importDefault(i2(4648)), S = i2(12179), A = i2(12457), N = n2.__importDefault(i2(97891)), O = n2.__importDefault(i2(57606)), I = i2(28803), v = i2(87870), C = i2(54590), b = n2.__importDefault(i2(5730)), E = i2(50718), R = i2(47957), w = i2(3916); - class D extends b.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(36781)), s = i2(69453), l = i2(28562), u = i2(80428), c = i2(32307), d = i2(82319), p = i2(49892), _ = i2(81516), h = i2(99469), m = i2(91911), g = n2.__importDefault(i2(27203)), f = i2(12361), T = i2(42139), y = n2.__importStar(i2(10798)), S = n2.__importStar(i2(50718)), A = n2.__importDefault(i2(4648)), N = i2(12179), v = i2(12457), O = n2.__importDefault(i2(97891)), I = n2.__importDefault(i2(57606)), C = i2(1910), b = i2(1910), E = i2(1910), w = i2(28803), R = i2(87870), D = i2(54590), P = n2.__importDefault(i2(5730)), M = i2(17604), F = i2(47957), L = i2(3916); + class x extends P.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } static get branchInfo() { - return m.default.successFailureTimeout; + return g.default.successFailureTimeout; } get isCallAgenticVirtualAgentAction() { return true; } getDetails() { - return this.agenticVirtualAgentId ? new A.ActionDetails([R.agenticVirtualAgent.agenticVirtualAgent], [this.agenticVirtualAgentName]) : null; + return this.agenticVirtualAgentId ? new v.ActionDetails([F.agenticVirtualAgent.agenticVirtualAgent], [this.agenticVirtualAgentName]) : null; } static getExitReasonVals(e3) { const t3 = ["Error", "Escalation", "TriggeredByUser", "Guardrails"]; return e3 ? t3.map((e4) => `"${e4}"`) : [...t3]; } static get managedProperties() { - return [{ createDetails: v.NoteActionProperty.createCreateDetails(R.agenticVirtualAgent.agenticVirtualAgentBillingInfoNote, "info", "agenticVirtualAgentBillingInfoNote", void 0), property: "billingAlert", options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(0)), yamlOptions: D.createYamlOptions("billingAlert", (e3) => e3.setSkipProperty(true)) }, { label: R.agenticVirtualAgent.agenticVirtualAgent, options: _.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("agenticVirtualAgent-selector").setFeatureConfigName(y.default.botFlowsAgenticVirtualAgentSage).setDropdownPlaceholder(R.dependencies.selectAgenticVirtualAgent).setUiPropertyOrder(10)), property: "agenticVirtualAgentSetting", createDetails: I.NetworkBasedActionProperty.createCreateDetails("agenticVirtualAgentId", "agenticVirtualAgentName", g.agenticVirtualAgentManager, R.agenticVirtualAgent.mustSelectAgenticVirtualAgent, R.agenticVirtualAgent.agenticVirtualAgentNotFound, null, (e3) => e3.action._setAdditionalSearchParams()), yamlOptions: D.createYamlOptions("agenticVirtualAgentSetting", (e3) => e3.setSkipProperty(true)) }, { label: R.generic.version, options: _.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("agentic-virtual-agent-latest-version-selector").setFeatureConfigName(y.default.botFlowsAgenticVirtualAgentSage).setDropdownPlaceholder(R.versions.selectVersion).setUiPropertyOrder(20)), property: "agenticVirtualAgentVersionSetting", createDetails: C.VersionedNetworkBasedActionProperty.createCreateDetails("agenticVirtualAgentVersionId", "agenticVirtualAgentVersion", f.agenticVirtualAgentVersionManager, R.agenticVirtualAgent.mustSelectAgenticVirtualAgentVersion, R.agenticVirtualAgent.agenticVirtualAgentVersionNotFound, "agenticVirtualAgentSetting", (e3) => { + return [{ createDetails: R.NoteActionProperty.createCreateDetails(F.agenticVirtualAgent.agenticVirtualAgentBillingInfoNote, "info", "agenticVirtualAgentBillingInfoNote", void 0), property: "billingAlert", options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(0)), yamlOptions: x.createYamlOptions("billingAlert", (e3) => e3.setSkipProperty(true)) }, { label: F.agenticVirtualAgent.agenticVirtualAgent, options: h.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("agenticVirtualAgent-selector").setFeatureConfigName(A.default.botFlowsAgenticVirtualAgentSage).setDropdownPlaceholder(F.dependencies.selectAgenticVirtualAgent).setUiPropertyOrder(10)), property: "agenticVirtualAgentSetting", createDetails: w.NetworkBasedActionProperty.createCreateDetails("agenticVirtualAgentId", "agenticVirtualAgentName", f.agenticVirtualAgentManager, F.agenticVirtualAgent.mustSelectAgenticVirtualAgent, F.agenticVirtualAgent.agenticVirtualAgentNotFound, null, (e3) => e3.action._setAdditionalSearchParams()), yamlOptions: x.createYamlOptions("agenticVirtualAgentSetting", (e3) => e3.setSkipProperty(true)) }, { label: F.generic.version, options: h.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("agentic-virtual-agent-latest-version-selector").setFeatureConfigName(A.default.botFlowsAgenticVirtualAgentSage).setDropdownPlaceholder(F.versions.selectVersion).setUiPropertyOrder(20)), property: "agenticVirtualAgentVersionSetting", createDetails: D.VersionedNetworkBasedActionProperty.createCreateDetails("agenticVirtualAgentVersionId", "agenticVirtualAgentVersion", T.agenticVirtualAgentVersionManager, F.agenticVirtualAgent.mustSelectAgenticVirtualAgentVersion, F.agenticVirtualAgent.agenticVirtualAgentVersionNotFound, "agenticVirtualAgentSetting", (e3) => { const t3 = e3.action.agenticVirtualAgentSetting.getItem(); return (null == t3 ? void 0 : t3.version) ? { version: t3.version } : void 0; - }), yamlOptions: D.createYamlOptions("agenticVirtualAgent", (e3) => e3.setSkipProperty(true)) }, { createDetails: v.NoteActionProperty.createCreateDetails(R.agenticVirtualAgent.agenticVirtualAgentExtraConfigInfoNote, "info", "agenticVirtualAgentExtraConfigInfoNote", void 0), property: "extraConfigAlert", options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(25)), yamlOptions: D.createYamlOptions("extraConfigAlert", (e3) => e3.setSkipProperty(true)) }, { allowSecure: false, dataList: true, label: R.inputOutputList.inputs, property: "inputs", options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(40).setIsOptional(true)) }, { label: R.askCommon.voiceProcessingPrompt, options: d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("voiceProcessingPrompt").setAllowModeBuilder(true).setAllowFlowLevelDefault(false).setFlowLevelDefaultSameModes(true).setDefaultToBuilderId(s.builderIds.parts.genericCommunication).setFeatureConfigName(y.default.botFlowsAgenticVirtualAgentSage).setAntiFeatureConfigName(y.default.botFlowsVoiceProcessingPrompt).setIsOptional(true).setUiPropertyOrder(30).setScriptingPropertyName("voiceProcessingPrompt")), supportedFlowTypes: [r2.flowTypes.flowTypeBot], property: "voiceProcessingPrompt", type: l.expressionTypeNames.communication }, { label: R.inputOutputList.outputs, dataList: true, isOutput: true, property: "outputs", options: p.ExpressionTypelessOptions.create((e3) => e3.setAsOutput().setUiPropertyOrder(50).setFeatureConfigName(y.default.botFlowsAgenticVirtualAgentOutputValues)), yamlOptions: D.createYamlOptions("outputs", (e3) => e3.setPropertyName("outputs")) }, { label: R.callBotFlowAction.exitReason, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("exitReason").setFeatureConfigName(y.default.botFlowsAgenticVirtualAgentOutputValues).setUiPropertyGroup(R.callBotFlowAction.executionResults).setDescriptionInfo(R.callBotFlowAction.exitReason, R.agenticVirtualAgent.exitReasonDescription).setDescriptionAdditionalInfoSection({ title: R.callBotFlowAction.exitReasonExamplesTitle, entries: this.getExitReasonVals(true) }).setAsOutput().setIsOptional(true)), property: "exitReason", type: l.expressionTypeNames.string, yamlOptions: D.createYamlOptions("exitReason", (e3) => { + }), yamlOptions: x.createYamlOptions("agenticVirtualAgent", (e3) => e3.setSkipProperty(true)) }, { createDetails: R.NoteActionProperty.createCreateDetails(F.agenticVirtualAgent.agenticVirtualAgentExtraConfigInfoNote, "info", "agenticVirtualAgentExtraConfigInfoNote", void 0), property: "extraConfigAlert", options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(25)), yamlOptions: x.createYamlOptions("extraConfigAlert", (e3) => e3.setSkipProperty(true)) }, { allowSecure: false, dataList: true, label: F.inputOutputList.inputs, property: "inputs", options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(40).setIsOptional(true)) }, { label: F.askCommon.voiceProcessingPrompt, options: d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("voiceProcessingPrompt").setAllowModeBuilder(true).setAllowFlowLevelDefault(false).setFlowLevelDefaultSameModes(true).setDefaultToBuilderId(l.builderIds.parts.genericCommunication).setFeatureConfigName(A.default.botFlowsAgenticVirtualAgentSage).setAntiFeatureConfigName(A.default.botFlowsVoiceProcessingPrompt).setIsOptional(true).setUiPropertyOrder(30).setScriptingPropertyName("voiceProcessingPrompt")), supportedFlowTypes: [r2.flowTypes.flowTypeBot], property: "voiceProcessingPrompt", type: u.expressionTypeNames.communication }, { label: F.inputOutputList.outputs, dataList: true, isOutput: true, property: "outputs", options: p.ExpressionTypelessOptions.create((e3) => e3.setAsOutput().setUiPropertyOrder(50).setFeatureConfigName(A.default.botFlowsAgenticVirtualAgentOutputValues)), yamlOptions: x.createYamlOptions("outputs", (e3) => e3.setPropertyName("outputs")) }, { label: F.callBotFlowAction.exitReason, options: _.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("exitReason").setFeatureConfigName(A.default.botFlowsAgenticVirtualAgentOutputValues).setUiPropertyGroup(F.callBotFlowAction.executionResults).setDescriptionInfo(F.callBotFlowAction.exitReason, F.agenticVirtualAgent.exitReasonDescription).setDescriptionAdditionalInfoSection({ title: F.callBotFlowAction.exitReasonExamplesTitle, entries: this.getExitReasonVals(true) }).setAsOutput().setIsOptional(true)), property: "exitReason", type: u.expressionTypeNames.string, yamlOptions: x.createYamlOptions("exitReason", (e3) => { e3.setExportOrder(6); - }) }, { dataList: true, label: R.inputOutputList.failureOutputs, isOutput: true, property: "errorBindings", options: p.ExpressionTypelessOptions.create((e3) => e3.setAsOutput().setUiPropertyOrder(60).setFeatureConfigName(y.default.botFlowsAgenticVirtualAgentContextWindowPruning)), yamlOptions: D.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs").setExportOrder(5)) }]; + }) }, { dataList: true, label: F.inputOutputList.failureOutputs, isOutput: true, property: "errorBindings", options: p.ExpressionTypelessOptions.create((e3) => e3.setAsOutput().setUiPropertyOrder(60).setFeatureConfigName(A.default.botFlowsAgenticVirtualAgentContextWindowPruning)), yamlOptions: x.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs").setExportOrder(5)) }]; } initializeDesignTime() { var e3; - super.initializeDesignTime(), T.isFeatureAvailable(y.default.botFlowsAgenticVirtualAgentContextWindowPruning) && this._initializeErrorBindings(), null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 || e3.clearDynamicAgenticVirtualAgentEnabledState(), this.extraConfigAlert.outOfService = !T.isFeatureAvailable(y.default.botFlowsAgenticVirtualAgentEndOfSpeechTimeout), this.addAutoCleanedUpEventSinkWatch(a.valueChanged, this.agenticVirtualAgentVersionSetting, () => n2.__awaiter(this, void 0, void 0, function* () { + super.initializeDesignTime(), y.isFeatureAvailable(A.default.botFlowsAgenticVirtualAgentContextWindowPruning) && this._initializeErrorBindings(), null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 || e3.clearDynamicAgenticVirtualAgentEnabledState(), this.extraConfigAlert.outOfService = !y.isFeatureAvailable(A.default.botFlowsAgenticVirtualAgentEndOfSpeechTimeout), this.addAutoCleanedUpEventSinkWatch(a.valueChanged, this.agenticVirtualAgentVersionSetting, () => n2.__awaiter(this, void 0, void 0, function* () { const e4 = this.agenticVirtualAgentVersionSetting.getItem(); e4 ? this._mergeSchemaProperties(e4) : this._clearSchemaBindings(); })); } getConfiguration(e3, t3) { - var i3, n3, r3, a2, s2, l2, u2, d2, c2, p2, _2, h2, m2, g2, f2, T2; - const y2 = super.getConfiguration(e3, t3); + var i3, n3, r3, a2, s2, l2, u2, c2, d2, p2, _2, h2, m2, g2, f2, T2, y2; + const S2 = super.getConfiguration(e3, t3); if (null == t3 ? void 0 : t3.isForFlowYaml) { - const S2 = { callAgenticVirtualAgent: { name: y2.callAgenticVirtualAgent.name } }, A2 = this._getReferencedAgenticVirtualAgentName(); - if (!A2) return o.default.ensureYamlNoneTrue(S2), S2; - S2.callAgenticVirtualAgent.agenticVirtualAgent = {}; - const N2 = S2.callAgenticVirtualAgent.agenticVirtualAgent[A2] = {}; - if (!(null === (n3 = null === (i3 = this.agenticVirtualAgentSetting) || void 0 === i3 ? void 0 : i3.getItem()) || void 0 === n3 ? void 0 : n3.version)) return o.default.ensureYamlNoneTrue(S2), S2; - const O2 = N2.ver_latestPublished = {}; - if (y2.callAgenticVirtualAgent.voiceProcessingPrompt && (O2.voiceProcessingPrompt = y2.callAgenticVirtualAgent.voiceProcessingPrompt), y2.callAgenticVirtualAgent.outputs) { + const A2 = { callAgenticVirtualAgent: { name: S2.callAgenticVirtualAgent.name } }; + (null === (i3 = null == t3 ? void 0 : t3.yamlOptions) || void 0 === i3 ? void 0 : i3.includeTrackingIds) && this.trackingId && (A2.callAgenticVirtualAgent.trackingId = this.trackingId); + const N2 = this._getReferencedAgenticVirtualAgentName(); + if (!N2) return o.default.ensureYamlNoneTrue(A2), A2; + A2.callAgenticVirtualAgent.agenticVirtualAgent = {}; + const v2 = A2.callAgenticVirtualAgent.agenticVirtualAgent[N2] = {}; + if (!(null === (r3 = null === (n3 = this.agenticVirtualAgentSetting) || void 0 === n3 ? void 0 : n3.getItem()) || void 0 === r3 ? void 0 : r3.version)) return o.default.ensureYamlNoneTrue(A2), A2; + const O2 = v2.ver_latestPublished = {}; + if (S2.callAgenticVirtualAgent.voiceProcessingPrompt && (O2.voiceProcessingPrompt = S2.callAgenticVirtualAgent.voiceProcessingPrompt), S2.callAgenticVirtualAgent.outputs) { const e4 = {}; - (null === (a2 = null === (r3 = y2.callAgenticVirtualAgent) || void 0 === r3 ? void 0 : r3.outputs) || void 0 === a2 ? void 0 : a2.success) && (e4.success = y2.callAgenticVirtualAgent.outputs.success), (null === (l2 = null === (s2 = y2.callAgenticVirtualAgent) || void 0 === s2 ? void 0 : s2.outputs) || void 0 === l2 ? void 0 : l2.failure) && (e4.failure = y2.callAgenticVirtualAgent.outputs.failure), (null === (d2 = null === (u2 = y2.callAgenticVirtualAgent) || void 0 === u2 ? void 0 : u2.outputs) || void 0 === d2 ? void 0 : d2.timeout) && (e4.timeout = y2.callAgenticVirtualAgent.outputs.timeout), Object.keys(e4).length > 0 && (S2.callAgenticVirtualAgent.outputs = e4); + (null === (s2 = null === (a2 = S2.callAgenticVirtualAgent) || void 0 === a2 ? void 0 : a2.outputs) || void 0 === s2 ? void 0 : s2.success) && (e4.success = S2.callAgenticVirtualAgent.outputs.success), (null === (u2 = null === (l2 = S2.callAgenticVirtualAgent) || void 0 === l2 ? void 0 : l2.outputs) || void 0 === u2 ? void 0 : u2.failure) && (e4.failure = S2.callAgenticVirtualAgent.outputs.failure), (null === (d2 = null === (c2 = S2.callAgenticVirtualAgent) || void 0 === c2 ? void 0 : c2.outputs) || void 0 === d2 ? void 0 : d2.timeout) && (e4.timeout = S2.callAgenticVirtualAgent.outputs.timeout), Object.keys(e4).length > 0 && (A2.callAgenticVirtualAgent.outputs = e4); } - return (null === (p2 = null === (c2 = this.inputs) || void 0 === c2 ? void 0 : c2.items) || void 0 === p2 ? void 0 : p2.length) || (null === (h2 = null === (_2 = this.outputs) || void 0 === _2 ? void 0 : _2.items) || void 0 === h2 ? void 0 : h2.length) || y2.callAgenticVirtualAgent.exitReason || y2.callAgenticVirtualAgent.failureOutputs ? ((null === (g2 = null === (m2 = this.inputs) || void 0 === m2 ? void 0 : m2.items) || void 0 === g2 ? void 0 : g2.length) && (O2.inputs = this.inputs.getConfiguration(e3, t3)), (null === (T2 = null === (f2 = this.outputs) || void 0 === f2 ? void 0 : f2.items) || void 0 === T2 ? void 0 : T2.length) && (O2.outputs = this.outputs.getConfiguration(e3, t3)), y2.callAgenticVirtualAgent.failureOutputs && (O2.failureOutputs = y2.callAgenticVirtualAgent.failureOutputs), y2.callAgenticVirtualAgent.exitReason && (O2.exitReason = y2.callAgenticVirtualAgent.exitReason), S2) : (o.default.ensureYamlNoneTrue(O2), S2); + return (null === (_2 = null === (p2 = this.inputs) || void 0 === p2 ? void 0 : p2.items) || void 0 === _2 ? void 0 : _2.length) || (null === (m2 = null === (h2 = this.outputs) || void 0 === h2 ? void 0 : h2.items) || void 0 === m2 ? void 0 : m2.length) || S2.callAgenticVirtualAgent.exitReason || S2.callAgenticVirtualAgent.failureOutputs ? ((null === (f2 = null === (g2 = this.inputs) || void 0 === g2 ? void 0 : g2.items) || void 0 === f2 ? void 0 : f2.length) && (O2.inputs = this.inputs.getConfiguration(e3, t3)), (null === (y2 = null === (T2 = this.outputs) || void 0 === T2 ? void 0 : T2.items) || void 0 === y2 ? void 0 : y2.length) && (O2.outputs = this.outputs.getConfiguration(e3, t3)), S2.callAgenticVirtualAgent.failureOutputs && (O2.failureOutputs = S2.callAgenticVirtualAgent.failureOutputs), S2.callAgenticVirtualAgent.exitReason && (O2.exitReason = S2.callAgenticVirtualAgent.exitReason), A2) : (o.default.ensureYamlNoneTrue(O2), A2); } - return y2; + return S2; + } + _configureFromModel(e3, t3, i3) { + if ((0, C.isConfigureFromModelRecord)(e3.agenticVirtualAgent)) { + const r3 = e3.agenticVirtualAgent, o2 = Object.keys(r3)[0]; + if (o2) { + const e4 = t3, a2 = (0, C.isConfigureFromModelRecord)(r3[o2]) ? r3[o2] : void 0; + i3.registerDeferredOp({ type: "resolveAgenticVirtualAgent", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + try { + const t4 = yield (0, E.resolveNamedConfigListEntity)(i3, f.agenticVirtualAgentManager.dependencyType.value, o2, f.agenticVirtualAgentManager); + if (t4) { + if (this.agenticVirtualAgentSetting.setValue({ id: t4.id, name: o2 }), a2) { + const t5 = Object.keys(a2)[0], n3 = t5 && (0, C.isConfigureFromModelRecord)(a2[t5]) ? a2[t5] : void 0; + n3 && this._applyVersionDataFromModel(n3, e4, i3); + } + } else i3.warn((0, M.sprintf)(s.configureFromModel.failedToResolve, "agentic virtual agent", o2)); + } catch (e5) { + const t4 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, M.sprintf)(s.configureFromModel.entityResolutionFailed, "agenticVirtualAgent", o2, t4)); + } + }) }); + } + } + super._configureFromModel(e3, t3, i3); + } + _applyVersionDataFromModel(e3, t3, i3) { + e3.exitReason && (0, b.hasConfigureFromModel)(this.exitReason) && this.exitReason.configureFromModel(e3.exitReason, t3, i3), e3.voiceProcessingPrompt && (0, b.hasConfigureFromModel)(this.voiceProcessingPrompt) && this.voiceProcessingPrompt.configureFromModel(e3.voiceProcessingPrompt, t3, i3), e3.failureOutputs && this.errorBindings && (i3.currentPropertyName = "failureOutputs", this.errorBindings.configureFromModel(e3.failureOutputs, t3, i3), i3.currentPropertyName = void 0), e3.inputs && this.inputs && (i3.currentPropertyName = "inputs", this.inputs.configureFromModel(e3.inputs, t3, i3), i3.currentPropertyName = void 0), e3.outputs && this.outputs && (i3.currentPropertyName = "outputs", this.outputs.configureFromModel(e3.outputs, t3, i3), i3.currentPropertyName = void 0); } _destroy() { var e3; - super._destroy(), T.isFeatureAvailable(y.default.botFlowsAgenticVirtualAgentSage) && (this.parentFlow.isDestroyedOrDestroying || null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 || e3.clearDynamicAgenticVirtualAgentEnabledState()); + super._destroy(), y.isFeatureAvailable(A.default.botFlowsAgenticVirtualAgentSage) && (this.parentFlow.isDestroyedOrDestroying || null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 || e3.clearDynamicAgenticVirtualAgentEnabledState()); } _createErrorSchema() { - return new O.default({ properties: { errorCode: { type: "string", description: R.generic.errors.errorCodeDescription, additionalInfoSection: { title: R.generic.errors.errorCodeExamplesTitle, entries: E.callAgenticVirtualAgentFailureReasons.map((e3) => `"${e3}"`) } } } }, false); + const e3 = y.isFeatureAvailable(A.default.botFlowsAgenticVirtualAgentLinkOpaqueIDFromOptionalInput) ? S.callAgenticVirtualAgentFailureReasonsOpaqueIDFeature : S.callAgenticVirtualAgentFailureReasons; + return new I.default({ properties: { errorCode: { type: "string", description: F.generic.errors.errorCodeDescription, additionalInfoSection: { title: F.generic.errors.errorCodeExamplesTitle, entries: e3.map((e4) => `"${e4}"`) } } } }, false); } _initializeErrorBindings() { this.errorBindings && this._createErrorSchema().properties.forEach((e3) => { let t3 = this.errorBindings.items.find((t4) => t4.name === e3.name); - t3 || (t3 = w.createDataPairForSchemaProperty(this.errorBindings, e3), this.errorBindings.addItem(t3)), w.setExpressionWithSchemaProperty(t3.value, e3); + t3 || (t3 = L.createDataPairForSchemaProperty(this.errorBindings, e3), this.errorBindings.addItem(t3)), L.setExpressionWithSchemaProperty(t3.value, e3); }); } _clearSchemaBindings() { @@ -69874,10 +75536,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const n3 = null !== (i3 = null == e4 ? void 0 : e4.properties) && void 0 !== i3 ? i3 : []; this.agenticVirtualAgentSetting.configListManager.mergeSchemaProperties(n3, t4); }; - t3(null == e3 ? void 0 : e3.inputSchema, this.inputs), T.isFeatureAvailable(y.default.botFlowsAgenticVirtualAgentOutputValues) && t3(null == e3 ? void 0 : e3.outputSchema, this.outputs); + t3(null == e3 ? void 0 : e3.inputSchema, this.inputs), y.isFeatureAvailable(A.default.botFlowsAgenticVirtualAgentOutputValues) && t3(null == e3 ? void 0 : e3.outputSchema, this.outputs); } _setAdditionalSearchParams() { - return { status: h.AiGuideStatus.published }; + return { status: m.AiGuideStatus.published }; } validate(e3) { if (super.validate(e3), e3.isDeep) { @@ -69886,10 +75548,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } } - D.info = N.default.createActionInfo({ actionClass: D, canBeInTask: true, helpTopic: S.helpTopics.actions.callAgenticVirtualAgent, modelClass: u.CallAgenticVirtualAgentActionModel, name: R.actions.callAgenticVirtualAgent, scriptingName: "ArchActionCallAgenticVirtualAgent", availabilityCallback: (e3, t3, i3) => { + x.info = O.default.createActionInfo({ actionClass: x, canBeInTask: true, helpTopic: N.helpTopics.actions.callAgenticVirtualAgent, modelClass: c.CallAgenticVirtualAgentActionModel, name: F.actions.callAgenticVirtualAgent, scriptingName: "ArchActionCallAgenticVirtualAgent", modelFormatSupport: { flowYaml: { inProgress: true, feature: A.default.changeSetsFeaturePhase2 } }, availabilityCallback: (e3, t3, i3) => { var n3; return null === (n3 = t3.parentFlow.botFlowSettings) || void 0 === n3 ? void 0 : n3.virtualAgentEnabled; - } }), t2.A = D; + } }), t2.A = x; }, 57382: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -69969,10 +75631,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } t2.default = l; }, 57391: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(79042), o = i2(45421), a = i2(11475), s = i2(72529), l = i2(45214), u = i2(65302), { ParameterInfo: d } = i2(55909), { ParameterValidator: c } = i2(33951), p = i2(71004), _ = i2(14187); + const n2 = i2(92140), r2 = i2(79042), o = i2(45421), a = i2(11475), s = i2(72529), l = i2(45214), u = i2(65302), { ParameterInfo: c } = i2(55909), { ParameterValidator: d } = i2(33951), p = i2(71004), _ = i2(14187); class h extends r2 { constructor(e3, t3) { - super(t3), c.expectObject(e3, () => d.createConstructorParameter("ClipboardDependencyVariableViewModel", "variableDependencyModel"), true), Object.defineProperties(this, { _dependencyVariableModel: { writable: true } }), e3 && this.loadModel(e3); + super(t3), d.expectObject(e3, () => c.createConstructorParameter("ClipboardDependencyVariableViewModel", "variableDependencyModel"), true), Object.defineProperties(this, { _dependencyVariableModel: { writable: true } }), e3 && this.loadModel(e3); } static create(e3, t3, i3) { const n3 = new s({ variableJSON: o.cloneToRawJsonObject(e3.model), supportedFlowTypes: i3 }); @@ -70006,7 +75668,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return !!n2.isUndefined(this.supportedFlowTypes) || n2.contains(this.supportedFlowTypes, e3.destFlowViewModel.type); } applySupportedFlowTypes(e3) { - n2.isUndefined(e3) || null === e3 || (c.expectArray(e3, () => d.createFunctionParameter(this.className, "applysupportedFlowTypes", "supportedFlowTypes"), true), this._dependencyVariableModel && (this._dependencyVariableModel.supportedFlowTypes = e3)); + n2.isUndefined(e3) || null === e3 || (d.expectArray(e3, () => c.createFunctionParameter(this.className, "applysupportedFlowTypes", "supportedFlowTypes"), true), this._dependencyVariableModel && (this._dependencyVariableModel.supportedFlowTypes = e3)); } _performDestroy() { try { @@ -70028,10 +75690,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const e4 = s2.isBotState ? _.scopes.bot : s2.defaultVariableScope, t5 = _.setScope(e4, o2.name); i3.toLowerCase() !== t5.toLowerCase() && (this.log("Changing dependency model scope from " + r3 + " to " + e4 + " scoped prior to paste variable model processing. New name '" + t5 + "'."), o2.name = t5); } - const d2 = o2.name, c2 = this.removeNumericSuffixAndSpace(d2); + const c2 = o2.name, d2 = this.removeNumericSuffixAndSpace(c2); let h2, m = false; for (; !m; ) { - n2.isUndefined(h2) ? h2 = 0 : (h2++, o2.name = c2 + h2, d2 === o2.name && (h2++, o2.name = c2 + h2), this.log("Iterating. Updated paste variable model name to '" + o2.name + "' to see if it works.")), this.log("Looking for existing variable named '" + o2.name + "'"); + n2.isUndefined(h2) ? h2 = 0 : (h2++, o2.name = d2 + h2, c2 === o2.name && (h2++, o2.name = d2 + h2), this.log("Iterating. Updated paste variable model name to '" + o2.name + "' to see if it works.")), this.log("Looking for existing variable named '" + o2.name + "'"); let t5 = true; const a2 = e3.destFlowVariableGroup.getVariableByName(o2.name, s2); if (a2) { @@ -70126,13 +75788,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 57443: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(10798)), o = n2.__importDefault(i2(77862)), a = n2.__importDefault(i2(4648)), s = i2(12179), l = n2.__importDefault(i2(27377)), u = i2(47957), d = "slotSettings"; - class c extends l.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(10798)), o = n2.__importDefault(i2(77862)), a = n2.__importDefault(i2(4648)), s = i2(12179), l = n2.__importDefault(i2(27377)), u = i2(47957), c = "slotSettings"; + class d extends l.default { get id() { - return d; + return c; } static get id() { - return d; + return c; } get showInFlowSize() { return false; @@ -70165,11 +75827,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super._destroy(); } } - t2.default = c; + t2.default = d; }, 57467: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.digitalBotConnectorIntegrationManager = t2.DigitalBotConnectorIntegrationManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importStar(i2(32236)), s = n2.__importDefault(i2(47532)), l = i2(30801), u = i2(81801), d = i2(37707), c = i2(97081), p = i2(47957), _ = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importStar(i2(32236)), s = n2.__importDefault(i2(47532)), l = i2(30801), u = i2(81801), c = i2(37707), d = i2(97081), p = i2(47957), _ = i2(27862); class h extends s.default { get requiredAuth() { return u.externalAuthorizations.authStrings.integrationView; @@ -70181,10 +75843,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super(), this.topic = o.getTopic("DigitalBotConnectorIntegrationManager"), this.apiCallList = a.getDigitalBotConnectorIntegrations, this.apiCallSingle = a.getIntegration, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "botIntegration", this.actionsForUsageSearch = [l.digitalBotConnectorActionType], this.className = "DigitalBotConnectorIntegrationManager", this.defaultMatchingStyle = r2.exactMatch, this.dependencyContext = p.botConnector.digitalBotConnectorIntegration, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.shouldRequestAllPages = true, this.defaultPageSize = 100, this.uiMetadataSectionName = "digitalBotIntegration", this._initialize(); } _createItemViewModel(e3) { - return new c.IntegrationViewModel(e3); + return new d.IntegrationViewModel(e3); } get _networkModel() { - return d.Integration; + return c.Integration; } } t2.DigitalBotConnectorIntegrationManager = h, t2.digitalBotConnectorIntegrationManager = new h(); @@ -70219,7 +75881,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } get dateTimeUtc() { } - get referenceId() { + get invitationReferenceId() { } get stickers() { } @@ -70345,7 +76007,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = a; }, 57632: (e2, t2, i2) => { function n2() { - Object.defineProperty(this, "isBranchItem", { value: true, enumerable: false }), this.label = void 0, this.localizedLabel = void 0, this.outputId = void 0, n2.baseConstructor.apply(this, arguments); + Object.defineProperty(this, "isBranchItem", { value: true, enumerable: false }), this.label = void 0, this.localizedLabel = void 0, this.outputId = void 0, this.categoryId = void 0, this.isCategory = false, n2.baseConstructor.apply(this, arguments); } i2(45214).extend(n2, "BranchItem"), Object.defineProperties(n2.prototype, { getConfiguration: { value: function(e3, t3) { return t3?.isForFlowYaml ? { outputPath: { name: this.label } } : this; @@ -70358,148 +76020,170 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 57653: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.CodeParseItemMessage = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(69453)), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(66381)), u = i2(82632), d = i2(17666), c = i2(47957); - class p { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(69453)), s = n2.__importDefault(i2(73198)), l = i2(53476), u = i2(53476), c = i2(21305), d = n2.__importStar(i2(66381)), p = n2.__importDefault(i2(49416)), _ = i2(82632), h = i2(17666), m = i2(47957); + class g { constructor() { this._messageParts = [], this._suggestions = [], this._facetLabelValues = []; } static _createParseItemMessageInfo(e3, t3) { - const i3 = new p().addWhatInvalidDataType(t3); + const i3 = new g().addWhatInvalidDataType(t3); return i3._type = e3, i3; } static createExtraValue() { - return p._createParseItemMessageInfo(d.CodeParseItemMessageType.valueExtra).addWhat(c.codeEditor.parseErrors.extraValueErrorMessage); + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueExtra).addWhat(m.codeEditor.parseErrors.extraValueErrorMessage); } static createMissingValue(e3) { - const t3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.valueMissing); + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueMissing); return t3.addWhat(e3), t3; } static createInvalidTypeValue(e3) { - return p._createParseItemMessageInfo(d.CodeParseItemMessageType.invalidTypeValue, e3); + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.invalidTypeValue, e3); } static createTypesIncompatible(e3, t3) { - const i3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.typeIncompatible); - return i3.addWhat(c.codeEditor.types.incompatibleType), i3.addWhat(c.codeEditor.types.typeIncompatibilityError, [e3, t3]), i3; + const i3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.typeIncompatible); + return i3.addWhat(m.codeEditor.types.incompatibleType), i3.addWhat(m.codeEditor.types.typeIncompatibilityError, [e3, t3]), i3; } static createIncompatibleTypesValueAssignment(e3, t3, i3) { - const n3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.typeIncompatibleAssignment); - return n3.addWhat(c.codeEditor.types.incompatibleTypeAssignment), n3.addWhat(c.codeEditor.types.typeIncompatibilityAssignmentError, [e3, t3, i3]), n3; + const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.typeIncompatibleAssignment); + return n3.addWhat(m.codeEditor.types.incompatibleTypeAssignment), n3.addWhat(m.codeEditor.types.typeIncompatibilityAssignmentError, [e3, t3, i3]), n3; } static createArchitectExpressionInfo(e3) { - const t3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.architectExpression); + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.architectExpression); return t3.addWhat(e3), t3; } + static createNullPropertyValueNoOpWarning(e3) { + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.nullPropertyValueNoOpWarning); + return t3.addWhat(e3), t3; + } + static createAtLeastOnePropertyMustBeSet(e3) { + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.atLeastOnePropertyMustBeSet); + return t3.addWhat(e3), t3; + } + static _hasNullPropertyValueNoOpWarningsConfigured(e3, t3) { + return !(!(0, l.areOptionsJsonType)(e3) || !e3.nullPropertyValueNoOpWarningText) || !(!(0, u.isCustomJsonExpressionType)(t3) || !t3.nullPropertyValueNoOpWarningText); + } + static _getNullPropertyValueNoOpWarningText(e3, t3, i3, n3, o2) { + const a2 = "jsonNull" === o2 ? s.default.null : s.default.notSet, d2 = (0, r2.sprintf)(m.json.customJson.propertyValueIgnoredAtRuntime, a2); + return e3 && t3 ? d2 : (0, l.areOptionsJsonType)(i3) && i3.nullPropertyValueNoOpWarningText ? i3.nullPropertyValueNoOpWarningText === c.NULL_PROPERTY_VALUE_NO_OP_WARNING_ENABLED ? d2 : p.default.resolveString((0, r2.sprintf)(m.generic.joinTwoSentences, d2, i3.nullPropertyValueNoOpWarningText)) : ((0, u.isCustomJsonExpressionType)(n3) && n3.nullPropertyValueNoOpWarningText, p.default.resolveString(d2)); + } + static getNullPropertyValueNoOpMessage(e3, t3, i3, n3, r3 = "notSetExpression") { + return e3 && !t3 ? { messageText: "jsonNull" === r3 ? m.facets.valueCannotBeNull : m.facets.valueCannotBeNotSet, isError: true } : g._hasNullPropertyValueNoOpWarningsConfigured(i3, n3) ? { messageText: g._getNullPropertyValueNoOpWarningText(e3, t3, i3, n3, r3), isError: false } : void 0; + } static createArchitectExpressionUsageUnavailable(e3) { - const t3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.architectExpressionUnavailable); - return t3.addWhat(e3 ? c.codeEditor.architectExpressionsUnavailableForVariableInitialValue : c.codeEditor.architectExpressionsUnavailable), t3; + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.architectExpressionUnavailable); + return t3.addWhat(e3 ? m.codeEditor.architectExpressionsUnavailableForVariableInitialValue : m.codeEditor.architectExpressionsUnavailable), t3; } static createArchitectLiteralInfo(e3) { - const t3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.architectLiteral); + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.architectLiteral); return t3.addWhat(e3), t3; } static createArrayLengthTooSmall(e3, t3, i3) { - const n3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.arrayLengthTooSmall); - return n3.addWhat(c.codeEditor.parseErrors.arrayLengthTooSmall, [e3.toString()]), n3.addFacetsMinMaxItems(t3, i3), n3; + const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.arrayLengthTooSmall); + return n3.addWhat(m.codeEditor.parseErrors.arrayLengthTooSmall, [e3.toString()]), n3.addFacetsMinMaxItems(t3, i3), n3; } static createArrayLengthTooBig(e3, t3, i3) { - const n3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.arrayLengthTooBig); - return n3.addWhat(c.codeEditor.parseErrors.arrayLengthTooBig, [e3.toString()]), n3.addFacetsMinMaxItems(t3, i3), n3; + const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.arrayLengthTooBig); + return n3.addWhat(m.codeEditor.parseErrors.arrayLengthTooBig, [e3.toString()]), n3.addFacetsMinMaxItems(t3, i3), n3; } static createPropertyNotValidForType(e3, t3) { - const i3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.propertyNotValidForType); - return i3.addWhat(c.codeEditor.properties.propertyNameNotValidForType, [e3, t3]), i3; + const i3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.propertyNotValidForType); + return i3.addWhat(m.codeEditor.properties.propertyNameNotValidForType, [e3, t3]), i3; } static createPropertyIsReadOnly(e3) { - const t3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.propertyNotValidForType); - return t3.addWhat(c.codeEditor.properties.propertyIsReadOnly, [e3]), t3; + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.propertyNotValidForType); + return t3.addWhat(m.codeEditor.properties.propertyIsReadOnly, [e3]), t3; + } + static createObjectLiteralNotAllowedWhenAllPropertiesReadOnly(e3) { + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.objectLiteralNotAllowedWhenAllPropertiesReadOnly); + return t3.addWhat((0, r2.vsprintf)(m.generic.joinTwoSentences, [m.codeEditor.properties.objectLiteralNotAllowedWhenAllPropertiesReadOnly, (0, r2.vsprintf)(m.codeEditor.properties.useExpressionNotationForType, [e3])])), t3; } static createDuplicateProperty(e3) { - const t3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.duplicateProperty); - return t3.addWhat(c.codeEditor.properties.propertyIsDuplicated, [e3]), t3; + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.duplicateProperty); + return t3.addWhat(m.codeEditor.properties.propertyIsDuplicated, [e3]), t3; } static createInvalidSyntax() { - const e3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.invalidSyntax); - return e3.addWhat(c.codeEditor.parseErrors.invalidSyntax), e3; + const e3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.invalidSyntax); + return e3.addWhat(m.codeEditor.parseErrors.invalidSyntax), e3; } static createInvalidIndent(e3, t3) { - const i3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.invalidIndent); + const i3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.invalidIndent); return i3.addWhat(a.codeEditor.parseErrors.generic.invalidIndent), void 0 !== t3 ? i3.addWhat(a.codeEditor.parseErrors.generic.invalidIndentPosWithExpected, [e3.toString(), t3.toString()]) : i3.addWhat(a.codeEditor.parseErrors.generic.invalidIndentPos, [e3.toString()]), i3; } static createRequiredPropertiesMissing(e3, t3, i3) { - const n3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.requiredPropertiesMissing); - return 1 === t3.length ? n3.addWhat(c.codeEditor.properties.missingRequiredPropertySingular, [t3[0], i3]) : n3.addWhat(c.codeEditor.properties.missingRequiredPropertiesPlural, [l.getListDisplayString(t3), i3]), n3; + const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.requiredPropertiesMissing); + return 1 === t3.length ? n3.addWhat(m.codeEditor.properties.missingRequiredPropertySingular, [t3[0], i3]) : n3.addWhat(m.codeEditor.properties.missingRequiredPropertiesPlural, [d.getListDisplayString(t3), i3]), n3; } static createStringLengthTooSmall(e3, t3, i3) { - const n3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.stringLengthTooSmall); - return n3.addWhat(c.codeEditor.parseErrors.stringLengthTooSmall, [e3.toString()]), n3.addFacetsMinMaxLength(t3, i3), n3; + const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.stringLengthTooSmall); + return n3.addWhat(m.codeEditor.parseErrors.stringLengthTooSmall, [e3.toString()]), n3.addFacetsMinMaxLength(t3, i3), n3; } static createStringLengthTooBig(e3, t3, i3) { - const n3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.stringLengthTooBig); - return n3.addWhat(c.codeEditor.parseErrors.stringLengthTooBig, [e3.toString()]), n3.addFacetsMinMaxLength(t3, i3), n3; + const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.stringLengthTooBig); + return n3.addWhat(m.codeEditor.parseErrors.stringLengthTooBig, [e3.toString()]), n3.addFacetsMinMaxLength(t3, i3), n3; } static createTokenDuplicate(e3, t3) { - return p._createParseItemMessageInfo(d.CodeParseItemMessageType.tokenDuplicate, t3).addWhat(c.codeEditor.parseErrors.tokens.tokenDuplicate, [e3]); + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenDuplicate, t3).addWhat(m.codeEditor.parseErrors.tokens.tokenDuplicate, [e3]); } static createTokenInvalid(e3, t3) { - return p._createParseItemMessageInfo(d.CodeParseItemMessageType.tokenInvalid, t3).addWhat(c.codeEditor.parseErrors.tokens.tokenInvalid, [e3]); + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenInvalid, t3).addWhat(m.codeEditor.parseErrors.tokens.tokenInvalid, [e3]); } static createTokenInvalidIsNotType(e3, t3) { - return p._createParseItemMessageInfo(d.CodeParseItemMessageType.tokenInvalidType).addWhat(c.codeEditor.types.valueNotValidForTypeGeneric, [e3, t3]); + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenInvalidType).addWhat(m.codeEditor.types.valueNotValidForTypeGeneric, [e3, t3]); } static createTokenMissing(e3, t3) { - return p._createParseItemMessageInfo(d.CodeParseItemMessageType.tokenMissing, t3).addWhat(c.codeEditor.parseErrors.tokens.tokenMissing, [e3]); + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenMissing, t3).addWhat(m.codeEditor.parseErrors.tokens.tokenMissing, [e3]); } static createTokenUnexpected(e3) { - return p._createParseItemMessageInfo(d.CodeParseItemMessageType.tokenUnexpected).addWhat(c.codeEditor.parseErrors.tokens.tokenUnexpected, [e3]); + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenUnexpected).addWhat(m.codeEditor.parseErrors.tokens.tokenUnexpected, [e3]); } static createTokenUnexpectedAfterValue(e3) { - return p._createParseItemMessageInfo(d.CodeParseItemMessageType.tokenAfterEndOfValue).addWhat(c.codeEditor.parseErrors.tokenAfterEndOfValue, [e3]); + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenAfterEndOfValue).addWhat(m.codeEditor.parseErrors.tokenAfterEndOfValue, [e3]); } static createTotalTextLengthTooBig(e3) { - return p._createParseItemMessageInfo(d.CodeParseItemMessageType.totalTextLengthTooBig).addWhat(c.expression.expressionLengthToLong, [e3.toString(), s.default.maxExpressionTextLength.toString()]); + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.totalTextLengthTooBig).addWhat(m.expression.expressionLengthToLong, [e3.toString(), s.default.maxExpressionTextLength.toString()]); } static createUnnecessarySeparator(e3) { - return p._createParseItemMessageInfo(d.CodeParseItemMessageType.unnecessarySeparator).addWhat(c.codeEditor.parseErrors.separatorIsUnnecessary, [e3]); + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.unnecessarySeparator).addWhat(m.codeEditor.parseErrors.separatorIsUnnecessary, [e3]); } static createValueIncomplete(e3) { - return p._createParseItemMessageInfo(d.CodeParseItemMessageType.valueIncomplete, e3).addWhat(c.codeEditor.parseErrors.valueIncomplete); + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueIncomplete, e3).addWhat(m.codeEditor.parseErrors.valueIncomplete); } static createValueNotInAllowableValues(e3, t3) { - const i3 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.valueNotInAllowableValues); - return i3.addWhat(c.codeEditor.types.valueNotAllowed, [e3]), i3.addFacetAllowableValues(t3), i3; + const i3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueNotInAllowableValues); + return i3.addWhat(m.codeEditor.types.valueNotAllowed, [e3]), i3.addFacetAllowableValues(t3), i3; } static createValueTooBig(e3, t3, i3, n3, r3) { - const o2 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.valueTooBig); - return void 0 !== e3 ? o2.addWhat(c.codeEditor.types.codeEditorValueTooLarge, [e3.toString()]) : o2.addWhat(c.codeEditor.types.codeEditorValueTooLargeNoValue), o2.addFacetsMinMaxDetailed(t3, i3, n3, r3), o2; + const o2 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueTooBig); + return void 0 !== e3 ? o2.addWhat(m.codeEditor.types.codeEditorValueTooLarge, [e3.toString()]) : o2.addWhat(m.codeEditor.types.codeEditorValueTooLargeNoValue), o2.addFacetsMinMaxDetailed(t3, i3, n3, r3), o2; } static createValueStrTooBig(e3, t3, i3, n3, r3) { - const o2 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.valueTooBig); - return void 0 !== e3 ? o2.addWhat(c.codeEditor.types.codeEditorValueTooLarge, [e3]) : o2.addWhat(c.codeEditor.types.codeEditorValueTooLargeNoValue), o2.addFacetsMinMaxDetailed(t3, i3, n3, r3), o2; + const o2 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueTooBig); + return void 0 !== e3 ? o2.addWhat(m.codeEditor.types.codeEditorValueTooLarge, [e3]) : o2.addWhat(m.codeEditor.types.codeEditorValueTooLargeNoValue), o2.addFacetsMinMaxDetailed(t3, i3, n3, r3), o2; } static createValueStrTooSmall(e3, t3, i3, n3, r3) { - const o2 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.valueTooSmall); - return void 0 !== e3 ? o2.addWhat(c.codeEditor.types.codeEditorValueTooSmall, [e3]) : o2.addWhat(c.codeEditor.types.codeEditorValueTooSmallNoValue), o2.addFacetsMinMaxDetailed(t3, i3, n3, r3), o2; + const o2 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueTooSmall); + return void 0 !== e3 ? o2.addWhat(m.codeEditor.types.codeEditorValueTooSmall, [e3]) : o2.addWhat(m.codeEditor.types.codeEditorValueTooSmallNoValue), o2.addFacetsMinMaxDetailed(t3, i3, n3, r3), o2; } static createValueTooSmall(e3, t3, i3, n3, r3) { - const o2 = p._createParseItemMessageInfo(d.CodeParseItemMessageType.valueTooSmall); - return void 0 !== e3 ? o2.addWhat(c.codeEditor.types.codeEditorValueTooSmall, [e3.toString()]) : o2.addWhat(c.codeEditor.types.codeEditorValueTooSmallNoValue), o2.addFacetsMinMaxDetailed(t3, i3, n3, r3), o2; + const o2 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueTooSmall); + return void 0 !== e3 ? o2.addWhat(m.codeEditor.types.codeEditorValueTooSmall, [e3.toString()]) : o2.addWhat(m.codeEditor.types.codeEditorValueTooSmallNoValue), o2.addFacetsMinMaxDetailed(t3, i3, n3, r3), o2; } addWhat(e3, t3) { if (!(null == t3 ? void 0 : t3.length)) return this._messageParts.push({ rawText: e3 }), this; const i3 = { rawText: "", displayText: "" }; let n3 = false; if (t3.forEach((e4) => { - (null == e4 ? void 0 : e4.length) > u.propertyLimits.name.maxLength && (n3 = true); + (null == e4 ? void 0 : e4.length) > _.propertyLimits.name.maxLength && (n3 = true); }), n3) { const n4 = []; t3.forEach((e4) => { - n4.push(l.truncateText(e4, u.propertyLimits.name.maxLength)); + n4.push(d.truncateText(e4, _.propertyLimits.name.maxLength)); }), i3.displayText = (0, r2.vsprintf)(e3, n4); } return i3.rawText = (0, r2.vsprintf)(e3, t3), this._messageParts.push(i3), this; } addWhatInvalidDataType(e3) { - return e3 && this.addWhat(c.codeEditor.types.invalidTypeValue, [e3]), this; + return e3 && this.addWhat(m.codeEditor.types.invalidTypeValue, [e3]), this; } addSuggestion(e3) { return e3 && this._suggestions.push(e3), this; @@ -70531,37 +76215,37 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._facetInfo = e3, this; } addFacetAllowableValues(e3) { - return (null == e3 ? void 0 : e3.length) && this._facetLabelValues.push({ facetLabel: c.codeEditor.parseErrors.facets.allowableValuesFacetLabel, facetVal: l.getListDisplayString(e3, false, false, true) }), this; + return (null == e3 ? void 0 : e3.length) && this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.allowableValuesFacetLabel, facetVal: d.getListDisplayString(e3, false, false, true) }), this; } addFacetsMinMax(e3, t3) { return this.addFacetsMinMaxDetailed(e3, void 0, t3, void 0); } addFacetsMinMaxItems(e3, t3) { - void 0 !== e3 && this._facetLabelValues.push({ facetLabel: c.codeEditor.parseErrors.facets.minItemsFacetLabel, facetVal: e3 }), void 0 !== t3 && this._facetLabelValues.push({ facetLabel: c.codeEditor.parseErrors.facets.maxItemsFacetLabel, facetVal: t3 }); + void 0 !== e3 && this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.minItemsFacetLabel, facetVal: e3 }), void 0 !== t3 && this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.maxItemsFacetLabel, facetVal: t3 }); } addFacetsMinMaxLength(e3, t3) { - void 0 !== e3 && this._facetLabelValues.push({ facetLabel: c.codeEditor.parseErrors.facets.minLengthFacetLabel, facetVal: e3 }), void 0 !== t3 && this._facetLabelValues.push({ facetLabel: c.codeEditor.parseErrors.facets.maxLengthFacetLabel, facetVal: t3 }); + void 0 !== e3 && this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.minLengthFacetLabel, facetVal: e3 }), void 0 !== t3 && this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.maxLengthFacetLabel, facetVal: t3 }); } addFacetsMinMaxDetailed(e3, t3, i3, n3) { if (void 0 !== e3) switch (t3) { case true: - this._facetLabelValues.push({ facetLabel: c.codeEditor.parseErrors.facets.minFacetLabel, facetVal: e3, operator: ">=" }); + this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.minFacetLabel, facetVal: e3, operator: ">=" }); break; case false: - this._facetLabelValues.push({ facetLabel: c.codeEditor.parseErrors.facets.minFacetLabel, facetVal: e3, operator: ">" }); + this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.minFacetLabel, facetVal: e3, operator: ">" }); break; default: - this._facetLabelValues.push({ facetLabel: c.codeEditor.parseErrors.facets.minFacetLabel, facetVal: e3 }); + this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.minFacetLabel, facetVal: e3 }); } if (void 0 !== i3) switch (n3) { case true: - this._facetLabelValues.push({ facetLabel: c.codeEditor.parseErrors.facets.maxFacetLabel, facetVal: i3, operator: "<=" }); + this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.maxFacetLabel, facetVal: i3, operator: "<=" }); break; case false: - this._facetLabelValues.push({ facetLabel: c.codeEditor.parseErrors.facets.maxFacetLabel, facetVal: i3, operator: "<" }); + this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.maxFacetLabel, facetVal: i3, operator: "<" }); break; default: - this._facetLabelValues.push({ facetLabel: c.codeEditor.parseErrors.facets.maxFacetLabel, facetVal: i3 }); + this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.maxFacetLabel, facetVal: i3 }); } return this; } @@ -70569,7 +76253,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._suggestions; } } - t2.CodeParseItemMessage = p; + t2.CodeParseItemMessage = g; }, 57731: (e2, t2, i2) => { function n2(e3, t3, i3, n3) { Object.defineProperties(this, { name: { value: t3 }, _displayName: { value: i3 }, _pluralDisplayName: { value: n3 } }), this.value = e3; @@ -70591,6 +76275,28 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } }, setName: { value: function(e3) { this.name = e3; } } }), e2.exports = n2; + }, 57838: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class r2 extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "stringCollection"; + } + get displayTypeName() { + return "ArchVariableStringCollection"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableStringCollection() { + return true; + } + } + t2.default = r2; }, 57855: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -70822,6 +76528,21 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } t2.BranchItem = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "label", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "localizedLabel", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "outputId", null); + }, 58241: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.withTimeout = function(e3, t3, i3) { + const r2 = n2.defer(); + let o = false; + const a = setTimeout(() => { + o || (o = true, r2.reject(new Error(i3))); + }, t3); + return Promise.resolve(e3).then((e4) => { + o || (o = true, clearTimeout(a), r2.resolve(e4)); + }, (e4) => { + o || (o = true, clearTimeout(a), r2.reject(e4)); + }), r2.promise; + }; + const n2 = i2(33231); }, 58253: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -70841,6 +76562,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } t2.default = r2; + }, 58254: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.hasConfigureFromModel = function(e3) { + return e3 && "function" == typeof e3.configureFromModel; + }; }, 58265: (e2, t2, i2) => { const n2 = i2(59946); function r2() { @@ -70930,20 +76656,20 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return A(e3, i3, n3), T(t3, i3, n3); }, t2.addToAutoCleanupWatchList = function(e3, t3, i3, n3) { const r3 = e3.findIndex((e4) => e4.eventName === t3 && e4.eventEmitterId === i3.id); - r3 >= 0 && (S(e3[r3]), e3.splice(r3, 1)), d.ParameterValidator.expectString(t3, () => u.ParameterInfo.createFunctionParameter(c, "eventName")), d.ParameterValidator.expectObject(i3, () => u.ParameterInfo.createFunctionParameter(c, "eventEmittingObjectViewModel")), d.ParameterValidator.expectFunction(n3, () => u.ParameterInfo.createFunctionParameter(c, "eventSinkCallbackFunction")); + r3 >= 0 && (S(e3[r3]), e3.splice(r3, 1)), c.ParameterValidator.expectString(t3, () => u.ParameterInfo.createFunctionParameter(d, "eventName")), c.ParameterValidator.expectObject(i3, () => u.ParameterInfo.createFunctionParameter(d, "eventEmittingObjectViewModel")), c.ParameterValidator.expectFunction(n3, () => u.ParameterInfo.createFunctionParameter(d, "eventSinkCallbackFunction")); const o2 = Object.assign({ eventEmitterId: i3.id, eventName: t3 }, g(t3, i3, n3)); T(i3.id, o2), e3.push(o2); }, t2.cleanUpAutoCleanupWatchList = function(e3) { e3.forEach((e4) => S(e4)), e3.length = 0; }, t2.createObservableForEvent$ = function(e3, t3) { - return d.ParameterValidator.expectString(e3, () => u.ParameterInfo.createFunctionParameter(c, "eventName")), d.ParameterValidator.expectObject(t3, () => u.ParameterInfo.createFunctionParameter(c, "eventEmittingObjectViewModel")), (0, r2.fromEventPattern)((i3) => { + return c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createFunctionParameter(d, "eventName")), c.ParameterValidator.expectObject(t3, () => u.ParameterInfo.createFunctionParameter(d, "eventEmittingObjectViewModel")), (0, r2.fromEventPattern)((i3) => { const n3 = Object.assign({ eventEmitterId: t3.id, eventName: e3 }, g(e3, t3, i3)); return T(t3.id, n3), n3; }, (e4, t4) => { S(t4); }); }; - const n2 = i2(31635), r2 = i2(79364), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(12847)), l = n2.__importStar(i2(36781)), u = i2(55909), d = i2(33951), c = "ObjectEventService"; + const n2 = i2(31635), r2 = i2(79364), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(12847)), l = n2.__importStar(i2(36781)), u = i2(55909), c = i2(33951), d = "ObjectEventService"; let p = 0; const _ = {}, h = (e3) => { delete _[e3.instanceId]; @@ -70960,7 +76686,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; s.error("could not find a valid flow"); } function g(e3, t3, i3, n3) { - d.ParameterValidator.expectString(e3, () => u.ParameterInfo.createFunctionParameter(c, "eventName")), d.ParameterValidator.expectObject(t3, () => u.ParameterInfo.createFunctionParameter(c, "eventEmittingObjectViewModel")), d.ParameterValidator.expectFunction(i3, () => u.ParameterInfo.createFunctionParameter(c, "eventSinkCallbackFunction")), d.ParameterValidator.expectFlowViewModel(n3, () => u.ParameterInfo.createFunctionParameter(c, "overrideFlowViewModel"), true); + c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createFunctionParameter(d, "eventName")), c.ParameterValidator.expectObject(t3, () => u.ParameterInfo.createFunctionParameter(d, "eventEmittingObjectViewModel")), c.ParameterValidator.expectFunction(i3, () => u.ParameterInfo.createFunctionParameter(d, "eventSinkCallbackFunction")), c.ParameterValidator.expectFlowViewModel(n3, () => u.ParameterInfo.createFunctionParameter(d, "overrideFlowViewModel"), true); const r3 = m(t3, n3), o2 = { amObjectEventSink: true, id: (0, a.uuid)(), parentFlow: r3, eventName: e3 }; return o2["objEvent_" + e3] = i3, o2; } @@ -71029,7 +76755,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = s; }, 58411: (e2, t2, i2) => { "use strict"; - var n2, r2 = i2(9805), o = i2(23665), a = i2(53269), s = i2(14823), l = i2(54674), u = -2, d = 258, c = 262, p = 103, _ = 113, h = 666; + var n2, r2 = i2(9805), o = i2(23665), a = i2(53269), s = i2(14823), l = i2(54674), u = -2, c = 258, d = 262, p = 103, _ = 113, h = 666; function m(e3, t3) { return e3.msg = l[t3], t3; } @@ -71056,15 +76782,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var o2 = e3.avail_in; return o2 > n3 && (o2 = n3), 0 === o2 ? 0 : (e3.avail_in -= o2, r2.arraySet(t3, e3.input, e3.next_in, o2, i3), 1 === e3.state.wrap ? e3.adler = a(e3.adler, t3, o2, i3) : 2 === e3.state.wrap && (e3.adler = s(e3.adler, t3, o2, i3)), e3.next_in += o2, e3.total_in += o2, o2); } - function O(e3, t3) { - var i3, n3, r3 = e3.max_chain_length, o2 = e3.strstart, a2 = e3.prev_length, s2 = e3.nice_match, l2 = e3.strstart > e3.w_size - c ? e3.strstart - (e3.w_size - c) : 0, u2 = e3.window, p2 = e3.w_mask, _2 = e3.prev, h2 = e3.strstart + d, m2 = u2[o2 + a2 - 1], g2 = u2[o2 + a2]; + function v(e3, t3) { + var i3, n3, r3 = e3.max_chain_length, o2 = e3.strstart, a2 = e3.prev_length, s2 = e3.nice_match, l2 = e3.strstart > e3.w_size - d ? e3.strstart - (e3.w_size - d) : 0, u2 = e3.window, p2 = e3.w_mask, _2 = e3.prev, h2 = e3.strstart + c, m2 = u2[o2 + a2 - 1], g2 = u2[o2 + a2]; e3.prev_length >= e3.good_match && (r3 >>= 2), s2 > e3.lookahead && (s2 = e3.lookahead); do { if (u2[(i3 = t3) + a2] === g2 && u2[i3 + a2 - 1] === m2 && u2[i3] === u2[o2] && u2[++i3] === u2[o2 + 1]) { o2 += 2, i3++; do { } while (u2[++o2] === u2[++i3] && u2[++o2] === u2[++i3] && u2[++o2] === u2[++i3] && u2[++o2] === u2[++i3] && u2[++o2] === u2[++i3] && u2[++o2] === u2[++i3] && u2[++o2] === u2[++i3] && u2[++o2] === u2[++i3] && o2 < h2); - if (n3 = d - (h2 - o2), o2 = h2 - d, n3 > a2) { + if (n3 = c - (h2 - o2), o2 = h2 - c, n3 > a2) { if (e3.match_start = t3, a2 = n3, n3 >= s2) break; m2 = u2[o2 + a2 - 1], g2 = u2[o2 + a2]; } @@ -71072,10 +76798,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } while ((t3 = _2[t3 & p2]) > l2 && 0 !== --r3); return a2 <= e3.lookahead ? a2 : e3.lookahead; } - function I(e3) { + function O(e3) { var t3, i3, n3, o2, a2, s2 = e3.w_size; do { - if (o2 = e3.window_size - e3.lookahead - e3.strstart, e3.strstart >= s2 + (s2 - c)) { + if (o2 = e3.window_size - e3.lookahead - e3.strstart, e3.strstart >= s2 + (s2 - d)) { r2.arraySet(e3.window, e3.window, s2, s2, 0), e3.match_start -= s2, e3.strstart -= s2, e3.block_start -= s2, t3 = i3 = e3.hash_size; do { n3 = e3.head[--t3], e3.head[t3] = n3 >= s2 ? n3 - s2 : 0; @@ -71088,15 +76814,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } if (0 === e3.strm.avail_in) break; if (i3 = N(e3.strm, e3.window, e3.strstart + e3.lookahead, o2), e3.lookahead += i3, e3.lookahead + e3.insert >= 3) for (a2 = e3.strstart - e3.insert, e3.ins_h = e3.window[a2], e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[a2 + 1]) & e3.hash_mask; e3.insert && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[a2 + 3 - 1]) & e3.hash_mask, e3.prev[a2 & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = a2, a2++, e3.insert--, !(e3.lookahead + e3.insert < 3)); ) ; - } while (e3.lookahead < c && 0 !== e3.strm.avail_in); + } while (e3.lookahead < d && 0 !== e3.strm.avail_in); } - function v(e3, t3) { + function I(e3, t3) { for (var i3, n3; ; ) { - if (e3.lookahead < c) { - if (I(e3), e3.lookahead < c && 0 === t3) return 1; + if (e3.lookahead < d) { + if (O(e3), e3.lookahead < d && 0 === t3) return 1; if (0 === e3.lookahead) break; } - if (i3 = 0, e3.lookahead >= 3 && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + 3 - 1]) & e3.hash_mask, i3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart), 0 !== i3 && e3.strstart - i3 <= e3.w_size - c && (e3.match_length = O(e3, i3)), e3.match_length >= 3) if (n3 = o._tr_tally(e3, e3.strstart - e3.match_start, e3.match_length - 3), e3.lookahead -= e3.match_length, e3.match_length <= e3.max_lazy_match && e3.lookahead >= 3) { + if (i3 = 0, e3.lookahead >= 3 && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + 3 - 1]) & e3.hash_mask, i3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart), 0 !== i3 && e3.strstart - i3 <= e3.w_size - d && (e3.match_length = v(e3, i3)), e3.match_length >= 3) if (n3 = o._tr_tally(e3, e3.strstart - e3.match_start, e3.match_length - 3), e3.lookahead -= e3.match_length, e3.match_length <= e3.max_lazy_match && e3.lookahead >= 3) { e3.match_length--; do { e3.strstart++, e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + 3 - 1]) & e3.hash_mask, i3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart; @@ -71110,11 +76836,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } function C(e3, t3) { for (var i3, n3, r3; ; ) { - if (e3.lookahead < c) { - if (I(e3), e3.lookahead < c && 0 === t3) return 1; + if (e3.lookahead < d) { + if (O(e3), e3.lookahead < d && 0 === t3) return 1; if (0 === e3.lookahead) break; } - if (i3 = 0, e3.lookahead >= 3 && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + 3 - 1]) & e3.hash_mask, i3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart), e3.prev_length = e3.match_length, e3.prev_match = e3.match_start, e3.match_length = 2, 0 !== i3 && e3.prev_length < e3.max_lazy_match && e3.strstart - i3 <= e3.w_size - c && (e3.match_length = O(e3, i3), e3.match_length <= 5 && (1 === e3.strategy || 3 === e3.match_length && e3.strstart - e3.match_start > 4096) && (e3.match_length = 2)), e3.prev_length >= 3 && e3.match_length <= e3.prev_length) { + if (i3 = 0, e3.lookahead >= 3 && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + 3 - 1]) & e3.hash_mask, i3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart), e3.prev_length = e3.match_length, e3.prev_match = e3.match_start, e3.match_length = 2, 0 !== i3 && e3.prev_length < e3.max_lazy_match && e3.strstart - i3 <= e3.w_size - d && (e3.match_length = v(e3, i3), e3.match_length <= 5 && (1 === e3.strategy || 3 === e3.match_length && e3.strstart - e3.match_start > 4096) && (e3.match_length = 2)), e3.prev_length >= 3 && e3.match_length <= e3.prev_length) { r3 = e3.strstart + e3.lookahead - 3, n3 = o._tr_tally(e3, e3.strstart - 1 - e3.prev_match, e3.prev_length - 3), e3.lookahead -= e3.prev_length - 1, e3.prev_length -= 2; do { ++e3.strstart <= r3 && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + 3 - 1]) & e3.hash_mask, i3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart); @@ -71132,12 +76858,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; function E() { this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = 8, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new r2.Buf16(1146), this.dyn_dtree = new r2.Buf16(122), this.bl_tree = new r2.Buf16(78), f(this.dyn_ltree), f(this.dyn_dtree), f(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new r2.Buf16(16), this.heap = new r2.Buf16(573), f(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new r2.Buf16(573), f(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0; } - function R(e3) { + function w(e3) { var t3; return e3 && e3.state ? (e3.total_in = e3.total_out = 0, e3.data_type = 2, (t3 = e3.state).pending = 0, t3.pending_out = 0, t3.wrap < 0 && (t3.wrap = -t3.wrap), t3.status = t3.wrap ? 42 : _, e3.adler = 2 === t3.wrap ? 0 : 1, t3.last_flush = 0, o._tr_init(t3), 0) : m(e3, u); } - function w(e3) { - var t3, i3 = R(e3); + function R(e3) { + var t3, i3 = w(e3); return 0 === i3 && ((t3 = e3.state).window_size = 2 * t3.w_size, f(t3.head), t3.max_lazy_match = n2[t3.level].max_lazy, t3.good_match = n2[t3.level].good_length, t3.nice_match = n2[t3.level].nice_length, t3.max_chain_length = n2[t3.level].max_chain, t3.strstart = 0, t3.block_start = 0, t3.lookahead = 0, t3.insert = 0, t3.match_length = t3.prev_length = 2, t3.match_available = 0, t3.ins_h = 0), i3; } function D(e3, t3, i3, n3, o2, a2) { @@ -71146,24 +76872,24 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (-1 === t3 && (t3 = 6), n3 < 0 ? (s2 = 0, n3 = -n3) : n3 > 15 && (s2 = 2, n3 -= 16), o2 < 1 || o2 > 9 || 8 !== i3 || n3 < 8 || n3 > 15 || t3 < 0 || t3 > 9 || a2 < 0 || a2 > 4) return m(e3, u); 8 === n3 && (n3 = 9); var l2 = new E(); - return e3.state = l2, l2.strm = e3, l2.wrap = s2, l2.gzhead = null, l2.w_bits = n3, l2.w_size = 1 << l2.w_bits, l2.w_mask = l2.w_size - 1, l2.hash_bits = o2 + 7, l2.hash_size = 1 << l2.hash_bits, l2.hash_mask = l2.hash_size - 1, l2.hash_shift = ~~((l2.hash_bits + 3 - 1) / 3), l2.window = new r2.Buf8(2 * l2.w_size), l2.head = new r2.Buf16(l2.hash_size), l2.prev = new r2.Buf16(l2.w_size), l2.lit_bufsize = 1 << o2 + 6, l2.pending_buf_size = 4 * l2.lit_bufsize, l2.pending_buf = new r2.Buf8(l2.pending_buf_size), l2.d_buf = 1 * l2.lit_bufsize, l2.l_buf = 3 * l2.lit_bufsize, l2.level = t3, l2.strategy = a2, l2.method = i3, w(e3); + return e3.state = l2, l2.strm = e3, l2.wrap = s2, l2.gzhead = null, l2.w_bits = n3, l2.w_size = 1 << l2.w_bits, l2.w_mask = l2.w_size - 1, l2.hash_bits = o2 + 7, l2.hash_size = 1 << l2.hash_bits, l2.hash_mask = l2.hash_size - 1, l2.hash_shift = ~~((l2.hash_bits + 3 - 1) / 3), l2.window = new r2.Buf8(2 * l2.w_size), l2.head = new r2.Buf16(l2.hash_size), l2.prev = new r2.Buf16(l2.w_size), l2.lit_bufsize = 1 << o2 + 6, l2.pending_buf_size = 4 * l2.lit_bufsize, l2.pending_buf = new r2.Buf8(l2.pending_buf_size), l2.d_buf = 1 * l2.lit_bufsize, l2.l_buf = 3 * l2.lit_bufsize, l2.level = t3, l2.strategy = a2, l2.method = i3, R(e3); } n2 = [new b(0, 0, 0, 0, function(e3, t3) { var i3 = 65535; for (i3 > e3.pending_buf_size - 5 && (i3 = e3.pending_buf_size - 5); ; ) { if (e3.lookahead <= 1) { - if (I(e3), 0 === e3.lookahead && 0 === t3) return 1; + if (O(e3), 0 === e3.lookahead && 0 === t3) return 1; if (0 === e3.lookahead) break; } e3.strstart += e3.lookahead, e3.lookahead = 0; var n3 = e3.block_start + i3; if ((0 === e3.strstart || e3.strstart >= n3) && (e3.lookahead = e3.strstart - n3, e3.strstart = n3, y(e3, false), 0 === e3.strm.avail_out)) return 1; - if (e3.strstart - e3.block_start >= e3.w_size - c && (y(e3, false), 0 === e3.strm.avail_out)) return 1; + if (e3.strstart - e3.block_start >= e3.w_size - d && (y(e3, false), 0 === e3.strm.avail_out)) return 1; } return e3.insert = 0, 4 === t3 ? (y(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : (e3.strstart > e3.block_start && (y(e3, false), e3.strm.avail_out), 1); - }), new b(4, 4, 8, 4, v), new b(4, 5, 16, 8, v), new b(4, 6, 32, 32, v), new b(4, 4, 16, 16, C), new b(8, 16, 32, 32, C), new b(8, 16, 128, 128, C), new b(8, 32, 128, 256, C), new b(32, 128, 258, 1024, C), new b(32, 258, 258, 4096, C)], t2.deflateInit = function(e3, t3) { + }), new b(4, 4, 8, 4, I), new b(4, 5, 16, 8, I), new b(4, 6, 32, 32, I), new b(4, 4, 16, 16, C), new b(8, 16, 32, 32, C), new b(8, 16, 128, 128, C), new b(8, 32, 128, 256, C), new b(32, 128, 258, 1024, C), new b(32, 258, 258, 4096, C)], t2.deflateInit = function(e3, t3) { return D(e3, t3, 8, 15, 8, 0); - }, t2.deflateInit2 = D, t2.deflateReset = w, t2.deflateResetKeep = R, t2.deflateSetHeader = function(e3, t3) { + }, t2.deflateInit2 = D, t2.deflateReset = R, t2.deflateResetKeep = w, t2.deflateSetHeader = function(e3, t3) { return e3 && e3.state ? 2 !== e3.state.wrap ? u : (e3.state.gzhead = t3, 0) : u; }, t2.deflate = function(e3, t3) { var i3, r3, a2, l2; @@ -71171,8 +76897,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (r3 = e3.state, !e3.output || !e3.input && 0 !== e3.avail_in || r3.status === h && 4 !== t3) return m(e3, 0 === e3.avail_out ? -5 : u); if (r3.strm = e3, i3 = r3.last_flush, r3.last_flush = t3, 42 === r3.status) if (2 === r3.wrap) e3.adler = 0, S(r3, 31), S(r3, 139), S(r3, 8), r3.gzhead ? (S(r3, (r3.gzhead.text ? 1 : 0) + (r3.gzhead.hcrc ? 2 : 0) + (r3.gzhead.extra ? 4 : 0) + (r3.gzhead.name ? 8 : 0) + (r3.gzhead.comment ? 16 : 0)), S(r3, 255 & r3.gzhead.time), S(r3, r3.gzhead.time >> 8 & 255), S(r3, r3.gzhead.time >> 16 & 255), S(r3, r3.gzhead.time >> 24 & 255), S(r3, 9 === r3.level ? 2 : r3.strategy >= 2 || r3.level < 2 ? 4 : 0), S(r3, 255 & r3.gzhead.os), r3.gzhead.extra && r3.gzhead.extra.length && (S(r3, 255 & r3.gzhead.extra.length), S(r3, r3.gzhead.extra.length >> 8 & 255)), r3.gzhead.hcrc && (e3.adler = s(e3.adler, r3.pending_buf, r3.pending, 0)), r3.gzindex = 0, r3.status = 69) : (S(r3, 0), S(r3, 0), S(r3, 0), S(r3, 0), S(r3, 0), S(r3, 9 === r3.level ? 2 : r3.strategy >= 2 || r3.level < 2 ? 4 : 0), S(r3, 3), r3.status = _); else { - var c2 = 8 + (r3.w_bits - 8 << 4) << 8; - c2 |= (r3.strategy >= 2 || r3.level < 2 ? 0 : r3.level < 6 ? 1 : 6 === r3.level ? 2 : 3) << 6, 0 !== r3.strstart && (c2 |= 32), c2 += 31 - c2 % 31, r3.status = _, A(r3, c2), 0 !== r3.strstart && (A(r3, e3.adler >>> 16), A(r3, 65535 & e3.adler)), e3.adler = 1; + var d2 = 8 + (r3.w_bits - 8 << 4) << 8; + d2 |= (r3.strategy >= 2 || r3.level < 2 ? 0 : r3.level < 6 ? 1 : 6 === r3.level ? 2 : 3) << 6, 0 !== r3.strstart && (d2 |= 32), d2 += 31 - d2 % 31, r3.status = _, A(r3, d2), 0 !== r3.strstart && (A(r3, e3.adler >>> 16), A(r3, 65535 & e3.adler)), e3.adler = 1; } if (69 === r3.status) if (r3.gzhead.extra) { for (a2 = r3.pending; r3.gzindex < (65535 & r3.gzhead.extra.length) && (r3.pending !== r3.pending_buf_size || (r3.gzhead.hcrc && r3.pending > a2 && (e3.adler = s(e3.adler, r3.pending_buf, r3.pending - a2, a2)), T(e3), a2 = r3.pending, r3.pending !== r3.pending_buf_size)); ) S(r3, 255 & r3.gzhead.extra[r3.gzindex]), r3.gzindex++; @@ -71207,7 +76933,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (0 !== e3.avail_in || 0 !== r3.lookahead || 0 !== t3 && r3.status !== h) { var N2 = 2 === r3.strategy ? (function(e4, t4) { for (var i4; ; ) { - if (0 === e4.lookahead && (I(e4), 0 === e4.lookahead)) { + if (0 === e4.lookahead && (O(e4), 0 === e4.lookahead)) { if (0 === t4) return 1; break; } @@ -71216,15 +76942,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return e4.insert = 0, 4 === t4 ? (y(e4, true), 0 === e4.strm.avail_out ? 3 : 4) : e4.last_lit && (y(e4, false), 0 === e4.strm.avail_out) ? 1 : 2; })(r3, t3) : 3 === r3.strategy ? (function(e4, t4) { for (var i4, n3, r4, a3, s2 = e4.window; ; ) { - if (e4.lookahead <= d) { - if (I(e4), e4.lookahead <= d && 0 === t4) return 1; + if (e4.lookahead <= c) { + if (O(e4), e4.lookahead <= c && 0 === t4) return 1; if (0 === e4.lookahead) break; } if (e4.match_length = 0, e4.lookahead >= 3 && e4.strstart > 0 && (n3 = s2[r4 = e4.strstart - 1]) === s2[++r4] && n3 === s2[++r4] && n3 === s2[++r4]) { - a3 = e4.strstart + d; + a3 = e4.strstart + c; do { } while (n3 === s2[++r4] && n3 === s2[++r4] && n3 === s2[++r4] && n3 === s2[++r4] && n3 === s2[++r4] && n3 === s2[++r4] && n3 === s2[++r4] && n3 === s2[++r4] && r4 < a3); - e4.match_length = d - (a3 - r4), e4.match_length > e4.lookahead && (e4.match_length = e4.lookahead); + e4.match_length = c - (a3 - r4), e4.match_length > e4.lookahead && (e4.match_length = e4.lookahead); } if (e4.match_length >= 3 ? (i4 = o._tr_tally(e4, 1, e4.match_length - 3), e4.lookahead -= e4.match_length, e4.strstart += e4.match_length, e4.match_length = 0) : (i4 = o._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++), i4 && (y(e4, false), 0 === e4.strm.avail_out)) return 1; } @@ -71238,24 +76964,24 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var t3; return e3 && e3.state ? 42 !== (t3 = e3.state.status) && 69 !== t3 && 73 !== t3 && 91 !== t3 && t3 !== p && t3 !== _ && t3 !== h ? m(e3, u) : (e3.state = null, t3 === _ ? m(e3, -3) : 0) : u; }, t2.deflateSetDictionary = function(e3, t3) { - var i3, n3, o2, s2, l2, d2, c2, p2, _2 = t3.length; + var i3, n3, o2, s2, l2, c2, d2, p2, _2 = t3.length; if (!e3 || !e3.state) return u; if (2 === (s2 = (i3 = e3.state).wrap) || 1 === s2 && 42 !== i3.status || i3.lookahead) return u; - for (1 === s2 && (e3.adler = a(e3.adler, t3, _2, 0)), i3.wrap = 0, _2 >= i3.w_size && (0 === s2 && (f(i3.head), i3.strstart = 0, i3.block_start = 0, i3.insert = 0), p2 = new r2.Buf8(i3.w_size), r2.arraySet(p2, t3, _2 - i3.w_size, i3.w_size, 0), t3 = p2, _2 = i3.w_size), l2 = e3.avail_in, d2 = e3.next_in, c2 = e3.input, e3.avail_in = _2, e3.next_in = 0, e3.input = t3, I(i3); i3.lookahead >= 3; ) { + for (1 === s2 && (e3.adler = a(e3.adler, t3, _2, 0)), i3.wrap = 0, _2 >= i3.w_size && (0 === s2 && (f(i3.head), i3.strstart = 0, i3.block_start = 0, i3.insert = 0), p2 = new r2.Buf8(i3.w_size), r2.arraySet(p2, t3, _2 - i3.w_size, i3.w_size, 0), t3 = p2, _2 = i3.w_size), l2 = e3.avail_in, c2 = e3.next_in, d2 = e3.input, e3.avail_in = _2, e3.next_in = 0, e3.input = t3, O(i3); i3.lookahead >= 3; ) { n3 = i3.strstart, o2 = i3.lookahead - 2; do { i3.ins_h = (i3.ins_h << i3.hash_shift ^ i3.window[n3 + 3 - 1]) & i3.hash_mask, i3.prev[n3 & i3.w_mask] = i3.head[i3.ins_h], i3.head[i3.ins_h] = n3, n3++; } while (--o2); - i3.strstart = n3, i3.lookahead = 2, I(i3); + i3.strstart = n3, i3.lookahead = 2, O(i3); } - return i3.strstart += i3.lookahead, i3.block_start = i3.strstart, i3.insert = i3.lookahead, i3.lookahead = 0, i3.match_length = i3.prev_length = 2, i3.match_available = 0, e3.next_in = d2, e3.input = c2, e3.avail_in = l2, i3.wrap = s2, 0; + return i3.strstart += i3.lookahead, i3.block_start = i3.strstart, i3.insert = i3.lookahead, i3.lookahead = 0, i3.match_length = i3.prev_length = 2, i3.match_available = 0, e3.next_in = c2, e3.input = d2, e3.avail_in = l2, i3.wrap = s2, 0; }, t2.deflateInfo = "pako deflate (from Nodeca project)"; }, 58436: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.TimePickerType = t2.PROP_LATITUDE = t2.PROP_LONGITUDE = t2.PROP_ADDRESS = t2.PROP_SUBTITLE = t2.PROP_TITLE = t2.PROP_IMAGE = void 0; const n2 = i2(31635), r2 = i2(35730), o = i2(80428), a = i2(94765), s = n2.__importStar(i2(9345)), l = i2(14394), u = i2(47957); t2.PROP_IMAGE = "image", t2.PROP_TITLE = "title", t2.PROP_SUBTITLE = "subtitle", t2.PROP_ADDRESS = "address", t2.PROP_LONGITUDE = "longitude", t2.PROP_LATITUDE = "latitude"; - class d extends a.ExpressionType { + class c extends a.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -71329,7 +77055,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return !!(null == e3 ? void 0 : e3.parentList); } } - t2.TimePickerType = d, d.typeIdentifier = o.expressionTypeNames.timePicker; + t2.TimePickerType = c, c.typeIdentifier = o.expressionTypeNames.timePicker; }, 58467: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -71462,6 +77188,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 58611: (e2) => { "use strict"; e2.exports = require("http"); + }, 58642: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.entityLookupValueType = void 0, t2.entityLookupValueType = { identifier: "identifier", name: "name" }; }, 58649: (e2, t2, i2) => { function n2() { this.columnNames = void 0, this.phoneColumns = void 0, n2.baseConstructor.apply(this, arguments); @@ -71514,15 +77243,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const n2 = i2(31635), r2 = n2.__importStar(i2(62829)), o = i2(96618), a = n2.__importDefault(i2(97891)), s = i2(30801), l = i2(47957); class u { static get info() { - return d; + return c; } static get notRealAction() { return true; } } t2.A = u; - const d = a.default.create(s.stateActionType, false, true); - d.modelClass = i2(52030), d.name = l.actions.state, d.supportedFlowTypes = o.flowTypes.flowTypesAllAutomate, d.setActionClass(u), r2.registerAction(d); + const c = a.default.create(s.stateActionType, false, true); + c.modelClass = i2(52030), c.name = l.actions.state, c.supportedFlowTypes = o.flowTypes.flowTypesAllAutomate, c.setActionClass(u), r2.registerAction(c); }, 58799: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.defaultIfEmpty = void 0; @@ -71634,9 +77363,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 58873: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "Das ist nicht g\xFCltig.", noInputReceived: "Ich habe keine Eingaben erhalten." }, askForBoolean: { noInput: 'Sagen Sie "Ja", wenn Sie fortfahren m\xF6chten, oder "Nein", wenn Sie es nicht m\xF6chten.', noMatch: 'Bitte sagen Sie "Ja" oder "Nein". M\xF6chten Sie fortfahren?', question: "M\xF6chten Sie fortfahren?", noInputDigitalBot: 'Geben Sie "Ja" ein, wenn Sie fortfahren m\xF6chten, oder "Nein", wenn Sie dies nicht m\xF6chten.', noMatchDigitalBot: 'Bitte geben Sie "Ja" oder "Nein" ein. M\xF6chten Sie fortfahren?' }, askForIntent: { noInput: 'Sprechen Sie einfach einen kurzen Satz, der Ihre Anfrage beschreibt. Zum Beispiel: "\xDCberpr\xFCfe meinen Kontostand"', noMatch: "Sagen Sie mir noch einmal, was Sie m\xF6chten.", question: "Was m\xF6chten Sie tun?", noInputDigitalBot: 'Bitte geben Sie einen kurzen Satz ein, der Ihre Anfrage beschreibt. Zum Bespiel: "\xDCberpr\xFCfe meinen Kontostand"' }, askForSlot: { askFor: "Fragen Sie nach %1$s", noInput: "Bitte sagen oder geben Sie den (bitte geben Sie hier Ihren Slotnamen ein).", noInputWithSlot: "Bitte sagen oder geben Sie den %1$s ein.", noMatch: "Bitte geben Sie mir noch einmal den (bitte geben Sie hier den Namen Ihres Slots an).", noMatchWithSlot: "Bitte geben Sie mir die %1$s noch einmal.", question: "Was ist der (bitte geben Sie hier den Namen Ihres Slots an)?", questionWithSlot: "Was ist die %1$s?", pleaseEnterSlotNameHere: "(bitte tragen Sie hier Ihren Slotnamen ein)", noInputDigitalBot: "Bitte geben Sie den (bitte geben Sie hier Ihren Slotnamen an).", noInputWithSlotDigitalBot: "Bitte geben Sie die %1$s ein.", continuationPromptWithSlot: "Ich habe bis jetzt {{Slot.%1$s}}, bitte fahren Sie fort." }, askForNextSlot: { noInput: 'Sagen Sie "Ja", wenn Sie eine weitere Frage haben, oder "Nein", um den Anruf zu beenden.', noMatch: 'Sagen Sie "Ja", wenn Sie eine weitere Frage haben, oder "Nein", um die Sitzung zu beenden.', question: "Kann ich sonst noch etwas f\xFCr Sie tun?", noInputDigitalBot: 'Geben Sie "Ja" ein, wenn Sie eine weitere Anfrage haben, oder "Nein", um die Sitzung zu beenden.', noMatchDigitalBot: 'Geben Sie "Ja" ein, wenn Sie eine weitere Anfrage haben, oder "Nein", um die Sitzung zu beenden.' }, askForPayment: { noInputDigitalBot: "Bitte geben Sie Ihre Zahlungsinformationen ein, um fortzufahren.", noMatchDigitalBot: "Ich habe Ihre Antwort nicht verstanden. Bitte versuchen Sie es erneut." }, askForAuthentication: { noInputDigitalBot: "Bitte geben Sie Ihre Authentifizierungsinformationen ein, um fortzufahren.", noMatchDigitalBot: "Ich habe Ihre Antwort nicht verstanden. Bitte versuchen Sie es erneut." }, askSurveyQuestion: { notApplicable: "Nicht anwendbar", surveyAnswerOptionSequence: "Dr\xFCcken Sie %1$s f\xFCr %2$s", surveyAnswerNotApplicableSequence: "Dr\xFCcken Sie Stern-Taste f\xFCr Nicht anwendbar.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Dr\xFCcken Sie die Stern-Taste f\xFCr Nicht anwendbar.", voiceSurveyNoInputText: "Bitte beantworten Sie die Frage.", voiceSurveyNoMatchText: "Ich habe Sie nicht verstanden." }, commonModule: { exitCommonModule: "Gemeinsames Modul verlassen" }, form: { noInputDigitalBot: "Bitte f\xFCllen Sie das Formular aus, um fortzufahren.", noMatchDigitalBot: "Bitte f\xFCllen Sie das Formular aus, um fortzufahren." }, messagingTemplate: { noInputDigitalBot: "Bitte w\xE4hlen Sie eine der verf\xFCgbaren Optionen aus.", noMatchDigitalBot: "Bitte w\xE4hlen Sie eine der verf\xFCgbaren Optionen aus." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Fortsetzen", knowledgeAnswerHighlightFullArticleDefault: "Vollst\xE4ndigen Artikel anzeigen", knowledgeInitialResponseMulti: "Damit ich Ihr Ziel besser verstehen kann, w\xE4hlen Sie bitte eine Zahl aus der folgenden Liste:", knowledgeInitialResponseMultiRetry: "Bitte w\xE4hlen Sie eine Zahl, zum Beispiel '1'.\nHier ist die Liste der Optionen noch einmal:", knowledgeNoMatch: "Keines davon", knowledgeConfirmation: "Ist damit Ihre Frage beantwortet?", knowledgeFollowup: "Hoffentlich habe ich Ihre Frage beantwortet. Sie k\xF6nnen alles andere fragen, was Sie wissen m\xF6chten." }, noOverlay: { intent: { intentConfirmationStr1: "Ich denke, Sie m\xF6chten", intentConfirmationStr2: "Stimmt das?" }, youSaid: { youSaidConfirmationStr1: "Sie sagten", youSaidConfirmationStr2: "Stimmt das?", youSaidConfirmationStr1DigitalBot: "Sie gaben ein" }, noInput: { noInputStr1: "Bitte sagen oder schreiben Sie die", noInputStr1DigitalBot: "Bitte schreiben Sie die" }, noMatch: { noMatchStr1: "Bitte geben Sie mir die" }, whatIs: { whatIsQuestionStr1: "Was ist die", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Ich habe", iGotContinuationStr2: "bis jetzt, bitte fahren sie fort." } }, defaultCallFlowOne: "Standard-Anrufablauf", errorHandlingAgentEscalationConfirmation: "Sie m\xF6chten mit einem Berater sprechen. Ist das richtig?", errorHandlingAgentEscalationHandover: "Einen Moment, bitte, ich werde Sie mit jemandem verbinden.", errorHandlingErrorEventHandover: "Entschuldigung, es ist ein Fehler aufgetreten. Einen Moment, bitte, w\xE4hrend ich Sie mit jemandem verbinde, der Ihnen helfen kann.", errorHandlingErrorEventHandoverVoiceSurvey: "Entschuldigung, es ist ein Fehler aufgetreten. Auf Wiedersehen.", errorHandlingRecognitionEventHandover: "Tut mir leid, ich kann Sie nicht verstehen. Einen Moment, bitte, w\xE4hrend ich Sie mit jemandem verbinde, der Ihnen helfen kann.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Tut mir leid, ich habe Probleme, Sie zu verstehen. Auf Wiedersehen.", errorHandlingTTS: "Entschuldigung, ein Fehler ist aufgetreten. Bitte versuchen Sie Ihren Anruf erneut.", initialGreetingTTS: "Hallo, dies ist die erste Begr\xFCssung.", initialState: "Ausgangszustand", initialBotState: "Standard-Bot", initialDigitalBotState: "Erste Begr\xFCssung", initialSurveyBotState: "Umfrage-Bot", intentConfirmation: "Ich glaube, Sie wollen %1$s, ist das richtig?", mainMenu: "Hauptmen\xFC", mainMenuTTS: "Sie befinden sich im Hauptmen\xFC, dr\xFCcken Sie 9, um die Verbindung zu trennen.", mainTask: "Aufgabe", settingsConfirmationNoInputApology: "Entschuldigung, ich habe Sie nicht geh\xF6rt. Bitte sagen Sie Ja oder Nein.", settingsConfirmationNoInputApologyDigitalBot: 'Es tut mir leid, ich habe keine Eingabe von Ihnen erhalten. Bitte geben Sie "Ja" oder "Nein" ein.', settingsConfirmationNoMatchApology: "Entschuldigung, bitte sagen Sie Ja oder Nein.", settingsConfirmationNoMatchApologyDigitalBot: 'Entschuldigung, bitte geben Sie "Ja" oder "Nein" ein.', settingsNoInputApology: "Tut mir leid, ich habe Sie nicht geh\xF6rt.", settingsNoInputApologyDigitalBot: "Tut mir leid, ich habe keine Eingabe von Ihnen erhalten.", settingsEndOfSessionMessageDigitalBot: "Ich habe eine Weile nichts von Ihnen geh\xF6rt, deshalb schliesse ich diesen Chat. Bitte kommen Sie wieder, wenn Sie meine Hilfe ben\xF6tigen. Ich danke Ihnen.", settingsNoMatchApology: "Entschuldigung.", settingsNoToConfirmationApology: "Mein Fehler.", periodicStateName: "Wiederkehrender Zustand" }; }, 58996: (e2, t2, i2) => { - const n2 = i2(11475), r2 = i2(39938).default, o = i2(45214), a = i2(74803), s = i2(7401), l = i2(89266), u = i2(62229), d = i2(85247), c = i2(5024).default; + const n2 = i2(11475), r2 = i2(39938).default, o = i2(45214), a = i2(74803), s = i2(7401), l = i2(89266), u = i2(62229), c = i2(85247), d = i2(5024).default; function p() { - Object.defineProperties(this, { _commonModules: { writable: true }, _defaultSettings: { writable: true }, _customDefinitions: { writable: true }, _flowMetaData: { writable: true }, _flowSequenceItemList: { writable: true }, _supportedLanguageOptions: { writable: true }, _variables: { writable: true }, _systemInitialValues: { writable: true } }), this.defaultLanguage = void 0, this.description = void 0, this.initialSequence = void 0, this.name = void 0, this.nextTrackingNumber = c.minTrackingId, this.uiMetaData = void 0, this.supportedLanguages = void 0, p.baseConstructor.apply(this, arguments); + Object.defineProperties(this, { _commonModules: { writable: true }, _defaultSettings: { writable: true }, _customDefinitions: { writable: true }, _flowMetaData: { writable: true }, _flowSequenceItemList: { writable: true }, _supportedLanguageOptions: { writable: true }, _variables: { writable: true }, _systemInitialValues: { writable: true } }), this.defaultLanguage = void 0, this.description = void 0, this.initialSequence = void 0, this.name = void 0, this.nextTrackingNumber = d.minTrackingId, this.uiMetaData = void 0, this.supportedLanguages = void 0, p.baseConstructor.apply(this, arguments); } o.extend(p, "FlowConfiguration"), Object.defineProperties(p.prototype, { commonModules: { enumerable: true, get: function() { return this._commonModules; @@ -71662,7 +77391,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } }, supportedLanguageOptions: { enumerable: true, get: function() { return this._supportedLanguageOptions; }, set: function(e3) { - this._supportedLanguageOptions = this.reviveArray(e3, d); + this._supportedLanguageOptions = this.reviveArray(e3, c); } }, variables: { enumerable: true, get: function() { return this._variables; }, set: function(e3) { @@ -71760,8 +77489,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; Object.defineProperty(t2, "__esModule", { value: true }), t2.isVariableViewModel = function(e3) { return null == e3 ? void 0 : e3.isVariableViewModel; }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(8462)), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(81116)), u = i2(27491), d = n2.__importStar(i2(9345)), c = i2(14394), p = n2.__importStar(i2(24032)), _ = n2.__importStar(i2(17498)), h = n2.__importStar(i2(36781)), m = n2.__importDefault(i2(77862)), g = n2.__importStar(i2(58380)), f = i2(11201), T = n2.__importStar(i2(66381)), y = n2.__importStar(i2(1115)), S = i2(79519), A = i2(13116), N = n2.__importDefault(i2(89034)), O = n2.__importDefault(i2(22928)), I = n2.__importStar(i2(14187)), v = n2.__importDefault(i2(65302)), C = i2(85839), b = i2(7401), E = i2(18594), R = i2(47957), w = i2(79353), D = "VariableViewModel", P = p.getTopic(D); - class M extends N.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(8462)), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(81116)), u = i2(27491), c = n2.__importStar(i2(9345)), d = i2(14394), p = n2.__importStar(i2(24032)), _ = n2.__importStar(i2(17498)), h = n2.__importStar(i2(36781)), m = n2.__importDefault(i2(77862)), g = n2.__importStar(i2(58380)), f = i2(11201), T = n2.__importStar(i2(66381)), y = n2.__importStar(i2(1115)), S = i2(13116), A = n2.__importDefault(i2(89034)), N = n2.__importDefault(i2(22928)), v = n2.__importStar(i2(14187)), O = n2.__importDefault(i2(65302)), I = i2(1910), C = i2(85839), b = i2(7401), E = i2(18594), w = i2(47957), R = i2(79353), D = "VariableViewModel", P = p.getTopic(D); + class M extends A.default { constructor(e3, t3, i3) { super(), this._isUnavailable = false, this.supportsInitializeDesignTime = true, Object.defineProperties(this, { expansionList: { value: [], enumerable: false }, parent: { value: t3, enumerable: false }, parentFlow: { value: e3, enumerable: false } }), this._loadModel(i3); } @@ -71772,14 +77501,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return D; } clone() { - return new w(this); + return new R(this); } get deletionTooltip() { return this.getDeletionTooltip(); } getDeletionTooltip(e3) { let t3; - return this.isSlotVariable ? t3 = R.variable.cannotDeleteVariableReasonSlot : this.isSystemVariable ? t3 = R.variable.cannotDeleteVariableReasonIsSystem : this.isInPublishedFlowSchema ? this.isInput && this.isOutput ? t3 = R.variable.cannotDeleteVariableReasonInputOutput : this.isInput ? t3 = R.variable.cannotDeleteVariableReasonInput : this.isOutput && (t3 = R.variable.cannotDeleteVariableReasonOutput) : this.hasUsages && (t3 = R.variable.cannotDeleteVariableReasonUsages), t3 ? (0, r2.sprintf)(R.variable.variableCannotBeDeleted, t3) : e3 ? void 0 : R.variable.variableDeleteTooltip; + return this.isSlotVariable ? t3 = w.variable.cannotDeleteVariableReasonSlot : this.isSystemVariable ? t3 = w.variable.cannotDeleteVariableReasonIsSystem : this.isInPublishedFlowSchema ? this.isInput && this.isOutput ? t3 = w.variable.cannotDeleteVariableReasonInputOutput : this.isInput ? t3 = w.variable.cannotDeleteVariableReasonInput : this.isOutput && (t3 = w.variable.cannotDeleteVariableReasonOutput) : this.hasUsagesForFlow(this.parentFlow) && (t3 = w.variable.cannotDeleteVariableReasonUsages), t3 ? (0, r2.sprintf)(w.variable.variableCannotBeDeleted, t3) : e3 ? void 0 : w.variable.variableDeleteTooltip; } get allowInitialValueForReadOnly() { return this.model.allowInitialValueForReadOnly; @@ -71802,13 +77531,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } destroy() { var e3, t3, i3; - this._destroyed ? (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.validationResults) && this.parentFlow.loaded && this.parentFlow.validationResults.removeIssues(this) : (this.initValue && (this.initValue.destroy(), this.initValue.type.isCustomizablePerFlow && (null === (t3 = this.parentFlow.definitions.getCustomDataTypeDefinition(this.initValue.type.dataType)) || void 0 === t3 || t3.removeUsage(this))), this.usages = {}, this._destroyed = true, this.parent && this.parent.removeVariable && this.parent.removeVariable(this), this.isSlotVariable && (null === (i3 = this.parentFlow.nluMetaData) || void 0 === i3 || i3.removeSlotByVariableId(this.id)), h.emitter.emit(h.variableDestroyed, this), this.expansionList.length = 0, y.clearIssues(this)); + this._destroyed ? (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.validationResults) && this.parentFlow.loaded && this.parentFlow.validationResults.removeIssues(this) : (this.initValue && (this.initValue.destroy(), this.initValue.type.isCustomizablePerFlow && (null === (t3 = this.parentFlow.definitions.getCustomDataTypeDefinition(this.initValue.type.dataType)) || void 0 === t3 || t3.removeUsage(this))), this.clearUsages(), this._destroyed = true, this.parent && this.parent.removeVariable && this.parent.removeVariable(this), this.isSlotVariable && (null === (i3 = this.parentFlow.nluMetaData) || void 0 === i3 || i3.removeSlotByVariableId(this.id)), h.emitter.emit(h.variableDestroyed, this), this.expansionList.length = 0, y.clearIssues(this)); } get iconGux() { return this.type.getIconGux(); } get isNeeded() { - return this.hasUsages || this.isInPublishedFlowSchema || this.isSlotVariable || this.isFormScopedVariable; + return this.hasUsagesForFlow(this.parentFlow) || this.isInPublishedFlowSchema || this.isSlotVariable || this.isFormScopedVariable; } get isDestroyed() { return this._destroyed; @@ -71820,7 +77549,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._destroyed; } get expandedKey() { - return O.default.getExpandedKey(this.name, this.id, this.parent); + return N.default.getExpandedKey(this.name, this.id, this.parent); } get facets() { return this.model.facets; @@ -71832,21 +77561,22 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const e3 = { newVariable: this, oldVariable: { _destroyed: false, name: this.name } }; return g.fireEvent(this.parent, h.variableChanged, e3); } + configureFromModel(e3, t3, i3) { + if (super.configureFromModel(e3, t3, i3), i3) { + const n3 = "string" == typeof (null == e3 ? void 0 : e3.name) && e3.name || this.name || "unknown"; + (0, I.withModelContext)(i3, `Variable[${n3}]`, () => { + this._configureFromModel(e3, t3, i3); + }); + } else this._configureFromModel(e3, t3, i3); + } + _configureFromModel(e3, t3, i3) { + "string" == typeof e3.name && (this.name = e3.name), "string" == typeof e3.description && (this.description = e3.description), "boolean" == typeof e3.isInput && (this.isInput = e3.isInput), "boolean" == typeof e3.isOutput && (this.isOutput = e3.isOutput), "boolean" == typeof e3.isSecure && (this.isSecure = e3.isSecure), void 0 !== e3.initialValue && this.initValue && this.getInitialValueSupported() && this.initValue.configureFromModel(e3.initialValue, t3, i3); + } getConfiguration(e3, t3) { if (null == t3 ? void 0 : t3.isForFlowYaml) { if (this.isFlowManagedVariable && !this.getInitialValueSupported()) return; const i3 = { name: this.name }; - if (this.isUserCreatable && (i3.description = this.description), this.initValue.outOfService || (i3.initialValue = this._initialValue.getConfiguration(e3, t3)), this.isSecure && (i3.isSecure = true), this.canSetInputMetaData && (i3.isInput = this.isInput), this.canSetOutputMetaData && (i3.isOutput = this.isOutput), this.type.isCustomType && this.type.customTypeNamespace && (this.type.addYamlExportTypeInfo(i3), this.type.doesNamespaceSupportInputOutput)) switch (this.type.customTypeContext) { - case S.CustomJsonContext.error: - i3.type[this.type.customTypeNamespace].error = true; - break; - case S.CustomJsonContext.input: - i3.type[this.type.customTypeNamespace].input = true; - break; - case S.CustomJsonContext.output: - i3.type[this.type.customTypeNamespace].output = true; - } - return o.default.tryWrapObject(i3, `${this.type.yamlTypeName}Variable`); + return this.isUserCreatable && (i3.description = this.description), this.initValue.outOfService || (i3.initialValue = this._initialValue.getConfiguration(e3, t3)), this.isSecure && (i3.isSecure = true), this.canSetInputMetaData && (i3.isInput = this.isInput), this.canSetOutputMetaData && (i3.isOutput = this.isOutput), this.type.isCustomType && this.type.customTypeNamespace && this.type.addYamlExportTypeInfo(i3), o.default.tryWrapObject(i3, `${this.type.yamlTypeName}Variable`); } return this.model; } @@ -71941,7 +77671,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; isMatch(e3, t3, i3) { if (t3 && t3.setComparisonObjects(this, e3), !e3 || !e3.isVariableViewModel) return t3 && t3.addCompareToIncompatible(), false; let n3 = true; - if (i3 || (i3 = { matchInput: true, matchName: "caseInsensitive", matchOutput: true, matchType: d.settings.exact, shortCircuit: false }), i3.matchType) { + if (i3 || (i3 = { matchInput: true, matchName: "caseInsensitive", matchOutput: true, matchType: c.settings.exact, shortCircuit: false }), i3.matchType) { let r3; if (this.type ? this.type.isMatch(e3.type, i3.matchType) || (r3 = true) : e3.type && (r3 = true), r3) { if (t3 && t3.addDataTypeMismatch(this.type, e3.type), i3.shortCircuit) return false; @@ -71974,7 +77704,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; set isSecure(e3) { if (this.model.isSecure === e3) return; const t3 = {}; - this.getIsSecureCanSet(t3) ? (this.model.isSecure = e3, this.hasUsages && this.updateSecurityForUsages(), y.validateItem(this)) : P.errorPropertySet(this, "isSecure", e3, t3.code); + this.getIsSecureCanSet(t3) ? (this.model.isSecure = e3, this.hasUsagesForFlow(this.parentFlow) && this.updateSecurityForUsages(this.parentFlow), y.validateItem(this)) : P.errorPropertySet(this, "isSecure", e3, t3.code); } get isSystemOrFlowVariable() { return this.isSystemVariable || this.isFlowVariable; @@ -71983,7 +77713,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.model.isSystemVariable; } get isSystemScopedVariable() { - return I.hasScope(I.scopes.system, this.name); + return v.hasScope(v.scopes.system, this.name); } get isStateVariable() { return !!this.parent && !!this.parent.isStateLike; @@ -71992,11 +77722,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return !!this.parent && !!this.parent.isTaskLike; } get isSlotVariable() { - return I.hasScope(I.scopes.slot, this.name); + return v.hasScope(v.scopes.slot, this.name); } get isFlowManagedSlotVariable() { const e3 = this.slotHandling; - return e3 === A.SlotHandlingType.surveyFormQuestionFollowUpSlot || e3 === A.SlotHandlingType.surveyFormQuestionSlot; + return e3 === S.SlotHandlingType.surveyFormQuestionFollowUpSlot || e3 === S.SlotHandlingType.surveyFormQuestionSlot; } get isFlowManagedVariable() { return this.isSlotVariable || this.isFormScopedVariable; @@ -72005,13 +77735,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.isSystemVariable || this.isFlowManagedVariable; } get isStandardSlotVariable() { - return this.slotHandling === A.SlotHandlingType.standardSlot; + return this.slotHandling === S.SlotHandlingType.standardSlot; } get isFlowScopedVariable() { - return I.hasScope(I.scopes.flow, this.name); + return v.hasScope(v.scopes.flow, this.name); } get isFormScopedVariable() { - return I.hasScope(I.scopes.form, this.name); + return v.hasScope(v.scopes.form, this.name); } get slotHandling() { var e3, t3; @@ -72023,10 +77753,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; Object.values(i3 || {}).forEach((t4) => { null == t4 || t4.forEach((t5) => { var i4; - t5.variableId === this.id && ((null === (i4 = this.name) || void 0 === i4 ? void 0 : i4.endsWith(m.default.variable.nameFollowUpSuffix)) ? this._slotHandling = A.SlotHandlingType.surveyFormQuestionFollowUpSlot : this._slotHandling = A.SlotHandlingType.surveyFormQuestionSlot, e4 = true); + t5.variableId === this.id && ((null === (i4 = this.name) || void 0 === i4 ? void 0 : i4.endsWith(m.default.variable.nameFollowUpSuffix)) ? this._slotHandling = S.SlotHandlingType.surveyFormQuestionFollowUpSlot : this._slotHandling = S.SlotHandlingType.surveyFormQuestionSlot, e4 = true); }); - }), e4 || (this._slotHandling = A.SlotHandlingType.standardSlot); - } else this._slotHandling = A.SlotHandlingType.standardSlot; + }), e4 || (this._slotHandling = S.SlotHandlingType.standardSlot); + } else this._slotHandling = S.SlotHandlingType.standardSlot; } return this._slotHandling; } @@ -72044,7 +77774,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return true; } get isGlobalVariable() { - return I.getIsGlobalScope(this.scope); + return v.getIsGlobalScope(this.scope); } get lowerName() { return this._cachedLowerCaseName || (this._cachedLowerCaseName = this.name ? this.name.toLocaleLowerCase() : ""), this._cachedLowerCaseName; @@ -72064,9 +77794,6 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; get modelType() { return this.model.__type; } - get hasUsages() { - return !!this.usages && !o.default.isEmpty(this.usages); - } get name() { return this._model.name; } @@ -72082,34 +77809,34 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.parent ? this.parent.id : void 0; } get scope() { - return I.getScope(this.name); + return v.getScope(this.name); } get type() { - return "urn:inin.com:Arch:promptVar" === this.model.__type ? c.globalTypes.prompt : this.model.typeIdentifier ? v.default.resolveType(this.parentFlow, this.model.typeIdentifier) : v.default.getTypeFromIcwsType(this.parentFlow, this.model.__type, this.model.isCollection); + return "urn:inin.com:Arch:promptVar" === this.model.__type ? d.globalTypes.prompt : this.model.typeIdentifier ? O.default.resolveType(this.parentFlow, this.model.typeIdentifier) : O.default.getTypeFromIcwsType(this.parentFlow, this.model.__type, this.model.isCollection); } get unscopedName() { - return I.getUnscopedName(this.name); + return v.getUnscopedName(this.name); } validate(e3) { var t3, i3; if (!this.parentFlow || !this.parentFlow.loaded) return; e3.removeIssues(this); const n3 = {}; - if (this.name && 0 !== this.name.trim().length || this.addValidationError(R.errors.noName, e3), !this.isSystemVariable && !this.isInternal) { + if (this.name && 0 !== this.name.trim().length || this.addValidationError(w.errors.noName, e3), !this.isSystemVariable && !this.isInternal) { const t4 = u.expressionDataService.getInvalidIdentifierCharacters(this.name); - t4.length > 0 && t4.forEach((t5) => this.addValidationError((0, r2.sprintf)(R.errors.nameContainsInvalidCharacter, t5), e3)); + t4.length > 0 && t4.forEach((t5) => this.addValidationError((0, r2.sprintf)(w.errors.nameContainsInvalidCharacter, t5), e3)); } - if (this.type.isAvailableForFlow(this.parentFlow) || this.addValidationError((0, r2.sprintf)(R.expression.unavailableDataType, this.type.displayString), e3), this.initValue && !this.initValue.outOfService && (this.getInitialValueSupported() ? (this.initValue.validate(e3), this.initValue.hasError && this.addValidationError(R.variable.initialValueError, e3)) : this.addValidationError(R.variable.initialValueNotSupported, e3)), this.isOutput && !this.getIsOutputSupported(n3) && this.addValidationError(n3, e3), this.isInput && !this.getIsInputSupported(n3) && this.addValidationError(n3, e3), this.isSecure && (this.getIsSecureSupported(n3) && f.variablePropertySupportedSetService.getIsSecureOutputOk(n3, this.isOutput, true) && f.variablePropertySupportedSetService.getIsSecureInputOk(n3, this.isInput, true) || this.addValidationError(n3, e3), this.isSlotVariable && this.parentFlow.isNluFlow)) { + if (this.type.isAvailableForFlow(this.parentFlow) || this.addValidationError((0, r2.sprintf)(w.expression.unavailableDataType, this.type.displayString), e3), this.initValue && !this.initValue.outOfService && (this.getInitialValueSupported() ? (this.initValue.validate(e3), this.initValue.hasError && this.addValidationError(w.variable.initialValueError, e3)) : this.addValidationError(w.variable.initialValueNotSupported, e3)), this.isOutput && !this.getIsOutputSupported(n3) && this.addValidationError(n3, e3), this.isInput && !this.getIsInputSupported(n3) && this.addValidationError(n3, e3), this.isSecure && (this.getIsSecureSupported(n3) && f.variablePropertySupportedSetService.getIsSecureOutputOk(n3, this.isOutput, true) && f.variablePropertySupportedSetService.getIsSecureInputOk(n3, this.isInput, true) || this.addValidationError(n3, e3), this.isSlotVariable && this.parentFlow.isNluFlow)) { const n4 = null === (i3 = null === (t3 = this.parentFlow.botFlowSettings.nluDomain) || void 0 === t3 ? void 0 : t3.intents) || void 0 === i3 ? void 0 : i3.filter((e4) => { var t4; return (null === (t4 = e4.entityNameReferences) || void 0 === t4 ? void 0 : t4.length) && e4.entityNameReferences.find((e5) => e5 === this.unscopedName); }).map((e4) => "'" + e4.name + "'"); if (null == n4 ? void 0 : n4.length) { - const t4 = 1 === n4.length ? (0, r2.sprintf)(R.intents.secureSlotVariableUsedInIntentUtterance, this.name, this.unscopedName, n4[0]) : (0, r2.sprintf)(R.intents.secureSlotVariableUsedInIntentUtteranceMoreThanOne, this.name, this.unscopedName, T.getListDisplayString(n4)); + const t4 = 1 === n4.length ? (0, r2.sprintf)(w.intents.secureSlotVariableUsedInIntentUtterance, this.name, this.unscopedName, n4[0]) : (0, r2.sprintf)(w.intents.secureSlotVariableUsedInIntentUtteranceMoreThanOne, this.name, this.unscopedName, T.getListDisplayString(n4)); this.addValidationError(t4, e3); } } - this.isSystemVariable || this.isNeeded || this.addValidationWarning((0, r2.sprintf)(R.errors.unusedVariable, this.name), e3); + this.isSystemVariable || this.isNeeded || this.addValidationWarning((0, r2.sprintf)(w.errors.unusedVariable, this.name), e3); } addValidationError(e3, t3, i3) { i3 || t3.addError(this, e3.displayString ? e3.displayString : e3); @@ -72150,7 +77877,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const e4 = C.getDefaultText(this.type.dataType); this.model.initialValue || (this.model.initialValue = new b()); const t3 = this.model.initialValueOptionsCallback ? this.model.initialValueOptionsCallback() : a.buildOptions(this.type, void 0, this.parentFlow); - t3.setAsInput(true).setAllowEmptyConfig(true).setIsOptional(true).setAllowEmbeddedExpressionsInLiteralMode(false).setDefaultText(e4 || "").setDefaultToNoValue(true).setAssignablePropertiesNoExpression(true).setAllowModeLiteral(this.allowInitialValueLiteralMode).setModeNoValueSelectionLabel(t3.modeNoValueSelectionLabel || R.expression.noValue.selection.useDefault).setModeNoValueRuntimeEvaluationStr(this.type.isCollection ? R.expression.noValue.selectionRuntimeEvaluation.variableInitialValue.emptyCollection : s.default.notSet), this._initialValue = l.expression(this.parentFlow, this, this.model.initialValue, R.variable.initialValueLabel, this.type, null, t3); + t3.setAsInput(true).setAllowEmptyConfig(true).setIsOptional(true).setAllowEmbeddedExpressionsInLiteralMode(false).setDefaultText(e4 || "").setDefaultToNoValue(true).setAssignablePropertiesNoExpression(true).setAllowModeLiteral(this.allowInitialValueLiteralMode).setModeNoValueSelectionLabel(t3.modeNoValueSelectionLabel || w.expression.noValue.selection.useDefault).setModeNoValueRuntimeEvaluationStr(this.type.isCollection ? w.expression.noValue.selectionRuntimeEvaluation.variableInitialValue.emptyCollection : s.default.notSet), this._initialValue = l.expression(this.parentFlow, this, this.model.initialValue, w.variable.initialValueLabel, this.type, null, t3); } this.isUnavailable = e3.isUnavailable; } @@ -72281,10 +78008,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 59288: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.createBranchItem = function(e3, t3, i3, n3, u2) { - let d = t3; - r2.default.isString(t3) && (d = new s({ label: t3, outputId: u2 || (0, o.uuid)() })); - const c = new a.default(d, i3, n3); - return l[e3] || (l[e3] = {}), l[e3][d.outputId] = c, d; + let c = t3; + r2.default.isString(t3) && (c = new s({ label: t3, outputId: u2 || (0, o.uuid)() })); + const d = new a.default(c, i3, n3); + return l[e3] || (l[e3] = {}), l[e3][c.outputId] = d, c; }, t2.createBranchItemDynamic = function(e3, t3, i3, n3, r3) { const o2 = this.createBranchItem(e3, t3, i3, n3, r3); return o2 && (o2.isDynamicBranch = true), o2; @@ -72337,40 +78064,46 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } const a = o3.split(" "), s = a[a.length - 1], l = a[a.length - 2]; let u = ""; - const d = { errorText: null, errorPosition: null }; + const c = { errorText: null, errorPosition: null }; if (isNaN(parseInt(s)) || "position" !== l) if (u = o3, u.includes("Unexpected token")) { const e7 = u.split("Unexpected token")[1].split(", ")[0]; - d.errorText = (0, n2.sprintf)(r2.json.genericError.jsonUnexpectedToken, e7); - } else d.errorText = "SyntaxError: Unexpected end of JSON input" === u ? r2.json.genericError.unexpectedEndOfJson : r2.json.genericError.invalidJson; + c.errorText = (0, n2.sprintf)(r2.json.genericError.jsonUnexpectedToken, e7); + } else c.errorText = "SyntaxError: Unexpected end of JSON input" === u ? r2.json.genericError.unexpectedEndOfJson : r2.json.genericError.invalidJson; else { const e7 = parseInt(s); switch (u = o3.split(" at position")[0], u) { case "SyntaxError: Expected property name or '}' in JSON": - d.errorText = r2.json.positionError.jsonExpectedPropNameOrClosingCurly; + c.errorText = r2.json.positionError.jsonExpectedPropNameOrClosingCurly; break; case "SyntaxError: Unterminated string in JSON": - d.errorText = r2.json.positionError.jsonUnterminatedString; + c.errorText = r2.json.positionError.jsonUnterminatedString; break; case "SyntaxError: Expected ':' after property name in JSON": - d.errorText = r2.json.positionError.jsonExpectedColonAfterPropName; + c.errorText = r2.json.positionError.jsonExpectedColonAfterPropName; break; case "SyntaxError: Unexpected non-whitespace character after JSON": - d.errorText = r2.json.positionError.jsonExpectedNonWhitespaceCharacter; + c.errorText = r2.json.positionError.jsonExpectedNonWhitespaceCharacter; break; case "SyntaxError: Expected ',' or '}' after property value in JSON": - d.errorText = r2.json.positionError.jsonExpectedCommaOrClosingCurlyAfterPropValue; + c.errorText = r2.json.positionError.jsonExpectedCommaOrClosingCurlyAfterPropValue; break; default: - d.errorText = r2.json.positionError.jsonError; + c.errorText = r2.json.positionError.jsonError; } - d.errorPosition = e7; + c.errorPosition = e7; } - i3 = d; + i3 = c; })(e5), t4 = false; } return t4; })(o2) ? { errorText: null, errorPosition: null } : i3; var o2; + }, t2.validateLiteralJsonIsObject = function(e3) { + try { + const t3 = JSON.parse(e3); + if ("object" != typeof t3 || null === t3 || Array.isArray(t3)) return r2.json.genericError.jsonMustBeObject; + } catch (e4) { + } }, t2.getDisplayString = function(e3) { if (e3.errorText || e3.errorCoordinates) { if (!e3.errorCoordinates) return e3.errorText; @@ -72387,8 +78120,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; })(o || (t2.jsonParseItemFacet = o = {})); }, 59421: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(63824)), u = n2.__importStar(i2(63352)), d = n2.__importDefault(i2(51499)), c = i2(79467), p = i2(49892), _ = i2(81516), h = i2(99469), m = n2.__importDefault(i2(27203)), g = i2(17485), f = i2(47976), T = n2.__importStar(i2(36781)), y = i2(12179), S = n2.__importDefault(i2(97891)), A = i2(28803), N = n2.__importDefault(i2(88391)), O = i2(80428), I = n2.__importStar(i2(96347)), v = i2(47957); - class C extends N.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = i2(69453), l = n2.__importDefault(i2(73198)), u = n2.__importStar(i2(63824)), c = n2.__importStar(i2(63352)), d = i2(80428), p = n2.__importStar(i2(96347)), _ = n2.__importDefault(i2(51499)), h = i2(79467), m = i2(49892), g = i2(81516), f = i2(99469), T = n2.__importDefault(i2(27203)), y = i2(17485), S = i2(47976), A = n2.__importStar(i2(36781)), N = n2.__importDefault(i2(4648)), v = i2(12179), O = n2.__importDefault(i2(97891)), I = i2(1910), C = i2(1910), b = i2(1910), E = i2(28803), w = n2.__importDefault(i2(88391)), R = i2(47957); + class D extends w.default { constructor(e3, t3) { super(e3, t3); } @@ -72403,19 +78136,19 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.botIntegration; } static get branchInfo() { - return [m.default.failure]; + return [T.default.failure]; } get botRunnableNetworkGetCall() { - return I.getSingleBot; + return p.getSingleBot; } get isNuanceMixAction() { return true; } static get managedProperties() { - return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: C.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { property: "bot", skipNetworkPropertyDependencyUpdate: true, createDetails: A.NetworkBasedActionProperty.createCreateDetails("botId", "botName", g.nuanceMixBotManager, v.botGeneric.mustSelectBotNameGeneric, v.botGeneric.selectedBotNameNotFound, "botIntegration"), yamlOptions: C.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "botIntegration", skipNetworkPropertyDependencyUpdate: true, createDetails: A.NetworkBasedActionProperty.createCreateDetails("botIntegrationId", "botIntegrationName", f.nuanceMixIntegrationManager, v.nuanceMix.mustSelectNuanceMixBotIntegration, v.botGeneric.selectedBotIntegrationNotFound, null), yamlOptions: C.createYamlOptions("botIntegration", (e3) => e3.setSkipProperty(true)) }, { property: "outputs", dataPairListCollection: true, isOutput: true, options: h.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), yamlOptions: C.createYamlOptions("outputs", (e3) => e3.setPropertyName("intents")) }, { label: v.bot.followupResponseTimeoutLabel, type: O.expressionTypeNames.duration, options: c.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(s.default.litDurationTwelveHours).setDescriptionInfo(v.bot.followupResponseTimeoutLabel, v.bot.followupResponseTimeoutDescription).setDurationStyle(l.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true)), yamlOptions: C.createYamlOptions("followupResponseTimeout", (e3) => e3.setExportOrder(2)), property: "followupResponseTimeout", supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage] }, { property: "botVariables", options: p.ExpressionTypelessOptions.create((e3) => e3.setIsOptional(true)), dataList: true, isOutput: false, yamlOptions: C.createYamlOptions("botVariables", (e3) => e3.setPropertyName("botVariables")) }, { label: v.botGeneric.inputTextLabelGeneric, type: O.expressionTypeNames.string, options: _.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(v.botGeneric.inputTextLabelGeneric, v.botGeneric.inputTextDescriptionGeneric).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage], options: _.ExpressionTypeStringOptions.create((e3) => e3.setDefaultText(s.default.messageBodyVariable).setDefaultToExpression(true).setIninTestingField("inputTextExpression").setDoNotTransitionToNoValue(true).setIsOptional(true)) }], yamlOptions: C.createYamlOptions("inputText", (e3) => e3.setExportOrder(1)), property: "inputText", supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage] }, { property: "channelId", label: v.nuanceMix.channel, type: O.expressionTypeNames.string, options: _.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(v.nuanceMix.channel, v.nuanceMix.channelDescription).setIninTestingField("NuanceMixBotChannelExpression").facets.setTrim(true)) }]; + return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: D.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { property: "bot", skipNetworkPropertyDependencyUpdate: true, createDetails: E.NetworkBasedActionProperty.createCreateDetails("botId", "botName", y.nuanceMixBotManager, R.botGeneric.mustSelectBotNameGeneric, R.botGeneric.selectedBotNameNotFound, "botIntegration"), yamlOptions: D.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "botIntegration", skipNetworkPropertyDependencyUpdate: true, createDetails: E.NetworkBasedActionProperty.createCreateDetails("botIntegrationId", "botIntegrationName", S.nuanceMixIntegrationManager, R.nuanceMix.mustSelectNuanceMixBotIntegration, R.botGeneric.selectedBotIntegrationNotFound, null), yamlOptions: D.createYamlOptions("botIntegration", (e3) => e3.setSkipProperty(true)) }, { property: "outputs", dataPairListCollection: true, isOutput: true, options: f.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), yamlOptions: D.createYamlOptions("outputs", (e3) => e3.setPropertyName("intents")) }, { label: R.bot.followupResponseTimeoutLabel, type: d.expressionTypeNames.duration, options: h.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(l.default.litDurationTwelveHours).setDescriptionInfo(R.bot.followupResponseTimeoutLabel, R.bot.followupResponseTimeoutDescription).setDurationStyle(u.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true)), yamlOptions: D.createYamlOptions("followupResponseTimeout", (e3) => e3.setExportOrder(2)), property: "followupResponseTimeout", supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage] }, { property: "botVariables", options: m.ExpressionTypelessOptions.create((e3) => e3.setIsOptional(true)), dataList: true, isOutput: false, yamlOptions: D.createYamlOptions("botVariables", (e3) => e3.setPropertyName("botVariables")) }, { label: R.botGeneric.inputTextLabelGeneric, type: d.expressionTypeNames.string, options: g.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(R.botGeneric.inputTextLabelGeneric, R.botGeneric.inputTextDescriptionGeneric).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage], options: g.ExpressionTypeStringOptions.create((e3) => e3.setDefaultText(l.default.messageBodyVariable).setDefaultToExpression(true).setIninTestingField("inputTextExpression").setDoNotTransitionToNoValue(true).setIsOptional(true)) }], yamlOptions: D.createYamlOptions("inputText", (e3) => e3.setExportOrder(1)), property: "inputText", supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage] }, { property: "channelId", label: R.nuanceMix.channel, type: d.expressionTypeNames.string, options: g.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(R.nuanceMix.channel, R.nuanceMix.channelDescription).setIninTestingField("NuanceMixBotChannelExpression").facets.setTrim(true)) }]; } updateBotActionFromBotRunnable(e3) { - const t3 = g.nuanceMixBotManager.mergeSchemaProperties(e3 ? e3.botVariables : [], this.botVariables); + const t3 = y.nuanceMixBotManager.mergeSchemaProperties(e3 ? e3.botVariables : [], this.botVariables); return this._processMergedSchema(t3), this.channelId.outOfService = !e3, this.channelId.options.facets.setAllowableValues(this.getAllowableChannels(), true), e3 || this.channelId.setAsLiteral(""), super.updateBotActionFromBotRunnable(e3); } postProcessYamlConfig(e3, t3, i3) { @@ -72428,11 +78161,35 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const o2 = (r3[this.botName] = {})[this.applicationName] = {}; a.default.moveAndDeleteProperty(e3, o2, "channelId"), a.default.moveAndDeleteProperty(e3, o2, "botVariables"), this.commonBotPostProcessYamlConfig(e3, o2); } + _configureFromModel(e3, t3, i3) { + if ((0, I.isConfigureFromModelRecord)(e3.botIntegration)) { + const r3 = e3.botIntegration, a2 = Object.keys(r3)[0]; + if (a2) { + const e4 = (0, I.isConfigureFromModelRecord)(r3[a2]) ? r3[a2] : void 0, l2 = e4 ? Object.keys(e4)[0] : void 0, u2 = l2 && e4 && (0, I.isConfigureFromModelRecord)(e4[l2]) ? e4[l2] : void 0, c2 = u2 ? Object.keys(u2)[0] : void 0, d2 = c2 && u2 && (0, I.isConfigureFromModelRecord)(u2[c2]) ? u2[c2] : void 0; + if (a2 && l2 && c2) { + const e5 = t3; + i3.registerDeferredOp({ type: "resolveNuanceMixBot", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + try { + const t4 = yield (0, C.resolveNamedConfigListEntity)(i3, S.nuanceMixIntegrationManager.dependencyType.value, a2, S.nuanceMixIntegrationManager); + if (!t4) return void i3.warn((0, o.sprintf)(s.configureFromModel.failedToResolve, "Nuance Mix integration", a2)); + this.botIntegration.setValue({ id: t4.id, name: a2 }); + const n3 = yield (0, C.resolveNamedConfigListEntity)(i3, y.nuanceMixBotManager.dependencyType.value, l2, y.nuanceMixBotManager), r4 = n3 ? y.nuanceMixBotManager.getItem(n3.id) : void 0; + r4 ? (this.setBotRunnableByViewModel(r4), (null == d2 ? void 0 : d2.channelId) && (0, b.hasConfigureFromModel)(this.channelId) && this.channelId.configureFromModel(d2.channelId, e5, i3), (null == d2 ? void 0 : d2.failureOutputs) && this.errorBindings && (i3.currentPropertyName = "failureOutputs", this.errorBindings.configureFromModel(d2.failureOutputs, e5, i3), i3.currentPropertyName = void 0), (null == d2 ? void 0 : d2.intents) && this.outputs && (i3.currentPropertyName = "intents", this.outputs.configureFromModel(d2.intents, e5, i3), i3.currentPropertyName = void 0), (null == d2 ? void 0 : d2.botVariables) && this.botVariables && (i3.currentPropertyName = "botVariables", this.botVariables.configureFromModel(d2.botVariables, e5, i3), i3.currentPropertyName = void 0)) : i3.warn((0, o.sprintf)(s.configureFromModel.failedToResolveIn, "Nuance Mix bot", l2, "integration", a2)); + } catch (e6) { + const t4 = e6 instanceof Error ? e6.message : String(e6); + i3.warn((0, o.sprintf)(s.configureFromModel.entityResolutionFailed, "Nuance Mix bot", `${a2}/${l2}/${c2}`, t4)); + } + }) }); + } + } + } + super._configureFromModel(e3, t3, i3); + } removeYamlExportPropsThatRequireRunnable(e3) { super.removeYamlExportPropsThatRequireRunnable(e3), delete e3.channelId; } getAdditionalParams() { - return new d.default(this.botRunnableManager, { additionalParams: { integrationId: this.botCategoryProperty.idValue } }); + return new _.default(this.botRunnableManager, { additionalParams: { integrationId: this.botCategoryProperty.idValue } }); } _setBotCategoryProperties(e3) { e3 && (this.botCategoryProperty.idValue = e3.integrationId); @@ -72449,31 +78206,31 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return a.default.findIndex(e3, { localizedLabel: t3 }); } getAllowableChannels() { - const e3 = g.nuanceMixBotManager.getItem(this.botRunnableProperty.idValue); + const e3 = y.nuanceMixBotManager.getItem(this.botRunnableProperty.idValue); return e3 ? this.parentFlow.supportsDigital ? e3.textChannels : e3.audioChannels : []; } getAllChannels() { - const e3 = g.nuanceMixBotManager.getItem(this.botRunnableProperty.idValue); + const e3 = y.nuanceMixBotManager.getItem(this.botRunnableProperty.idValue); return e3 ? e3.channels : []; } validate(e3) { - super.validate(e3), this.channelId.outOfService || (0 === this.getAllowableChannels().length && (e3.addError(this, v.nuanceMix.noChannelsAvailable), this._addAdditionalChannelValidationInfo(e3)), this.channelId.hasError && this._addAdditionalChannelValidationInfo(e3)); + super.validate(e3), this.channelId.outOfService || (0 === this.getAllowableChannels().length && (e3.addError(this, R.nuanceMix.noChannelsAvailable), this._addAdditionalChannelValidationInfo(e3)), this.channelId.hasError && this._addAdditionalChannelValidationInfo(e3)); } get yamlNoBotRunnablePropName() { return "noBotIntegration"; } _initializeDesignTime() { - super._initializeDesignTime(), this.parentFlow.isCommonModuleFlow && this.addAutoCleanedUpEventSinkWatch(T.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => this._setAllowableChannels()); + super._initializeDesignTime(), this.parentFlow.isCommonModuleFlow && this.addAutoCleanedUpEventSinkWatch(A.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => this._setAllowableChannels()); } _setAllowableChannels() { const e3 = this.getAllowableChannels(); this.channelId.options.facets.setAllowableValues(e3, true); } _addAdditionalChannelValidationInfo(e3) { - this.channelId.isBlank || this.channelId.mode !== u.literal || a.default.findWhere(this.getAllChannels(), { id: this.channelId.text }) && e3.addError(this.channelId, (0, o.sprintf)(v.nuanceMix.selectedChannelNotValid, this.channelId.text), void 0, true); + this.channelId.isBlank || this.channelId.mode !== c.literal || a.default.findWhere(this.getAllChannels(), { id: this.channelId.text }) && e3.addError(this.channelId, (0, o.sprintf)(R.nuanceMix.selectedChannelNotValid, this.channelId.text), void 0, true); } } - C.info = S.default.createActionInfo({ actionClass: C, canBeInTask: true, canBeTreeNode: false, helpTopic: y.helpTopics.actions.nuanceMix, modelClass: i2(27450), name: v.actions.callNuanceMixBot, scriptingName: "ArchActionCallNuanceMixBot" }), t2.A = C; + D.info = O.default.createActionInfo({ actionClass: D, canBeInTask: true, canBeTreeNode: false, helpTopic: v.helpTopics.actions.nuanceMix, modelClass: i2(27450), name: R.actions.callNuanceMixBot, scriptingName: "ArchActionCallNuanceMixBot", modelFormatSupport: { flowYaml: { inProgress: true, feature: N.default.changeSetsFeaturePhase2 } } }), t2.A = D; }, 59424: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -72509,9 +78266,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 59426: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.create = function() { - m.default.addBuilderPartDef(new u.default({ categoryIdentifierOrIdentifiers: p.builderCategoryIds.toolbar, description: g.builderParts.image.imageUrlText.description, expressionDefs: [new s.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("urlExpression").setDefaultText("https://"), expressionType: a.globalTypes.string, label: g.builderParts.image.imageUrlText.name })], viewId: h.defaultWithNoLabel, generators: { expressionGenerator: d.default.create().addFuncCall("MakeImageFromUrl").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("MakeImageFromUrl(%1$s)") }, id: _.builderPartIds.image.imageUrl, icon: o.default.image, name: g.builderParts.image.imageUrlText.name, resultExpressionType: a.globalTypes.image, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, version: 1 })), m.default.addBuilderPartDef(new u.default({ categoryIdentifierOrIdentifiers: p.builderCategoryIds.toolbar, description: g.builderParts.image.expression.description, expressionDefs: [new s.default({ configureOptionsCallback: (e3) => e3.setAllowModeExpressionOnly(true).setIninTestingField("imageExpression"), expressionType: a.globalTypes.image, label: g.builderParts.communication.expression.name })], viewId: h.defaultWithNoLabel, generators: { expressionGenerator: c.default.singleTokenReplacementGenerator }, id: _.builderPartIds.image.expression, icon: o.default.expression, name: g.builderParts.image.expression.name, resultExpressionType: a.globalTypes.image, version: 1 })), m.default.addBuilderPartDef(new u.default({ categoryIdentifierOrIdentifiers: p.builderCategoryIds.toolbar, description: g.builderParts.image.literal.description, expressionDefs: [new s.default({ configureOptionsCallback: (e3) => e3.setAllowModeLiteralOnly().setIninTestingField("imageLiteral"), expressionType: a.globalTypes.image, label: g.builderParts.communication.expression.name })], viewId: h.defaultWithNoLabel, generators: { expressionGenerator: c.default.singleTokenReplacementGenerator }, id: _.builderPartIds.image.literal, icon: o.default.image, name: g.builderParts.image.literal.name, resultExpressionType: a.globalTypes.image, version: 1 })), m.default.addBuilderPartContainerDef(new l.default({ categoryIdentifierOrIdentifiers: [p.builderCategoryIds.container], description: g.builderParts.container.language.description, generators: { containerPartsGenerator: d.default.create().addFuncCallParmGenerationBucket("findImage", true).verifySprintfStringAndInitialize(""), languageCheckGenerator: d.default.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("findImage", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), "), wantContainerPartsGeneratorForSingleton: true }, id: _.builderPartIds.image.container.language, name: g.builderParts.container.language.name, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, resultExpressionType: a.globalTypes.image, version: 1, wantBucketOnSingleGeneration: true })); + m.default.addBuilderPartDef(new u.default({ categoryIdentifierOrIdentifiers: p.builderCategoryIds.toolbar, description: g.builderParts.image.imageUrlText.description, expressionDefs: [new s.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("urlExpression").setDefaultText("https://"), expressionType: a.globalTypes.string, label: g.builderParts.image.imageUrlText.name })], viewId: h.defaultWithNoLabel, generators: { expressionGenerator: c.default.create().addFuncCall("MakeImageFromUrl").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("MakeImageFromUrl(%1$s)") }, id: _.builderPartIds.image.imageUrl, icon: o.default.image, name: g.builderParts.image.imageUrlText.name, resultExpressionType: a.globalTypes.image, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, version: 1 })), m.default.addBuilderPartDef(new u.default({ categoryIdentifierOrIdentifiers: p.builderCategoryIds.toolbar, description: g.builderParts.image.expression.description, expressionDefs: [new s.default({ configureOptionsCallback: (e3) => e3.setAllowModeExpressionOnly(true).setIninTestingField("imageExpression"), expressionType: a.globalTypes.image, label: g.builderParts.communication.expression.name })], viewId: h.defaultWithNoLabel, generators: { expressionGenerator: d.default.singleTokenReplacementGenerator }, id: _.builderPartIds.image.expression, icon: o.default.expression, name: g.builderParts.image.expression.name, resultExpressionType: a.globalTypes.image, version: 1 })), m.default.addBuilderPartDef(new u.default({ categoryIdentifierOrIdentifiers: p.builderCategoryIds.toolbar, description: g.builderParts.image.literal.description, expressionDefs: [new s.default({ configureOptionsCallback: (e3) => e3.setAllowModeLiteralOnly().setIninTestingField("imageLiteral"), expressionType: a.globalTypes.image, label: g.builderParts.communication.expression.name })], viewId: h.defaultWithNoLabel, generators: { expressionGenerator: d.default.singleTokenReplacementGenerator }, id: _.builderPartIds.image.literal, icon: o.default.image, name: g.builderParts.image.literal.name, resultExpressionType: a.globalTypes.image, version: 1 })), m.default.addBuilderPartContainerDef(new l.default({ categoryIdentifierOrIdentifiers: [p.builderCategoryIds.container], description: g.builderParts.container.language.description, generators: { containerPartsGenerator: c.default.create().addFuncCallParmGenerationBucket("findImage", true).verifySprintfStringAndInitialize(""), languageCheckGenerator: c.default.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("findImage", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), "), wantContainerPartsGeneratorForSingleton: true }, id: _.builderPartIds.image.container.language, name: g.builderParts.container.language.name, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, resultExpressionType: a.globalTypes.image, version: 1, wantBucketOnSingleGeneration: true })); }; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(61864)), a = i2(14394), s = n2.__importDefault(i2(76486)), l = n2.__importDefault(i2(79904)), u = n2.__importDefault(i2(42290)), d = n2.__importDefault(i2(22599)), c = n2.__importDefault(i2(96727)), p = i2(73062), _ = i2(69149), h = i2(93631), m = n2.__importDefault(i2(5532)), g = i2(16958); + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(61864)), a = i2(14394), s = n2.__importDefault(i2(76486)), l = n2.__importDefault(i2(79904)), u = n2.__importDefault(i2(42290)), c = n2.__importDefault(i2(22599)), d = n2.__importDefault(i2(96727)), p = i2(73062), _ = i2(69149), h = i2(93631), m = n2.__importDefault(i2(5532)), g = i2(16958); }, 59441: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -72531,7 +78288,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 59449: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchDefinitionFlow = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(98442)), a = i2(39637), s = n2.__importDefault(i2(78432)), l = n2.__importDefault(i2(94225)), u = i2(80428), d = i2(96618), c = i2(24812), p = n2.__importDefault(i2(13523)), _ = n2.__importDefault(i2(3220)), h = n2.__importDefault(i2(8851)), m = n2.__importDefault(i2(52096)), g = n2.__importDefault(i2(65302)); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(98442)), a = i2(39637), s = n2.__importDefault(i2(78432)), l = n2.__importDefault(i2(94225)), u = i2(80428), c = i2(96618), d = i2(24812), p = n2.__importDefault(i2(13523)), _ = n2.__importDefault(i2(3220)), h = n2.__importDefault(i2(8851)), m = n2.__importDefault(i2(52096)), g = n2.__importDefault(i2(65302)); class f extends a.ArchBaseDefinition { constructor(e3) { super(e3); @@ -72544,7 +78301,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } get availablePromptMediaTypes() { const e3 = [], t3 = this._getCoreViewModel(), i3 = g.default.getGlobalTypeGroup().getType(u.expressionTypeNames.prompt); - return (this.type === d.flowTypes.flowTypeCommonModule || i3.isAvailableForFlowType(this.type) && t3.supportsAudio) && e3.push(s.default.PROMPT_MEDIA_TYPES.audio), (this.type === d.flowTypes.flowTypeCommonModule || i3.isAvailableForFlowType(this.type)) && e3.push(s.default.PROMPT_MEDIA_TYPES.tts), e3; + return (this.type === c.flowTypes.flowTypeCommonModule || i3.isAvailableForFlowType(this.type) && t3.supportsAudio) && e3.push(s.default.PROMPT_MEDIA_TYPES.audio), (this.type === c.flowTypes.flowTypeCommonModule || i3.isAvailableForFlowType(this.type)) && e3.push(s.default.PROMPT_MEDIA_TYPES.tts), e3; } get availableDataTypes() { return p.default.getFlowTypeDataTypes(this.type); @@ -72552,7 +78309,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; get availableLanguages() { if (!this.supportsSupportedLanguages) return; let e3 = this._getCoreViewModel().availableLanguageTags; - e3 || (e3 = r2.default.keys(c.isoLanguages)); + e3 || (e3 = r2.default.keys(d.isoLanguages)); const t3 = []; return r2.default.each(e3, (e4) => { t3.push(_.default.getByLanguageTag(e4)); @@ -72698,8 +78455,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.ArchDefinitionFlow = f; }, 59463: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(75255), s = i2(40971), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(75255), s = i2(40971), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -72707,13 +78464,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findScheduleGroup.findScheduleGroupNameLabel, searchResultLabel: d.findActions.findScheduleGroup.findScheduleGroupResultLabel, searchResultExpressionOptions: a.ExpressionTypeScheduleGroupOptions.create(), searchResultItemType: o.expressionTypeNames.scheduleGroup }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findScheduleGroup, modelClass: s.FindScheduleGroupActionModel, name: d.actions.findScheduleGroupActionLabel, scriptingName: "ArchActionFindScheduleGroup" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findScheduleGroup, modelClass: s.FindScheduleGroupActionModel, name: d.actions.findScheduleGroupActionLabel, scriptingName: "ArchActionFindScheduleGroup", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 59497: (e2, t2, i2) => { "use strict"; var n2, r2, o, a, s; Object.defineProperty(t2, "__esModule", { value: true }); - const l = i2(31635), u = i2(30801), d = l.__importDefault(i2(21345)); - class c extends d.default { + const l = i2(31635), u = i2(30801), c = l.__importDefault(i2(21345)); + class d extends c.default { constructor(e3) { super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), l.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.applicationName), "f"), l.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.applicationUrl), "f"), l.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.applicationImage), "f"), l.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.title), "f"), l.__classPrivateFieldSet(this, s, this.coreFactory.createArchWrapper(e3.subTitle), "f"); } @@ -72742,7 +78499,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return l.__classPrivateFieldGet(this, s, "f"); } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), t2.default = c; + n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), t2.default = d; }, 59509: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(35515), o = 6500; e2.exports = function(e3, t3, i3, a) { @@ -72776,6 +78533,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } t2.default = o; + }, 59578: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.actionLimitNames = void 0, t2.actionLimitNames = { fileAttachmentsPerResponseMax: "fileAttachmentsPerResponseMax", invocationsPerFlowMax: "invocationsPerFlowMax", loopCountMax: "loopCountMax", notificationTypeChatInvocationsPerFlowMax: "notificationTypeChatInvocationsPerFlowMax" }; }, 59618: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -72840,10 +78600,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = s; }, 59684: (e2, t2, i2) => { const n2 = i2(2210), r2 = i2(13265), o = i2(2053), a = i2(7401), s = i2(58996), l = i2(20236), u = i2(20374); - function d() { - Object.defineProperties(this, { _debugSettings: { writable: true }, _disableAsr: { writable: true }, _disableAsrCompanyDirectory: { writable: true }, _errorHandling: { writable: true }, _initialPrompts: { writable: true }, _inQueueCallFlowSettings: { writable: true }, _outboundCallSettings: { writable: true }, _speechRecCompanyDirectory: { writable: true }, _speechRecEngine: { writable: true }, _suppressRecording: { writable: true } }), d.baseConstructor.apply(this, arguments); + function c() { + Object.defineProperties(this, { _debugSettings: { writable: true }, _disableAsr: { writable: true }, _disableAsrCompanyDirectory: { writable: true }, _errorHandling: { writable: true }, _initialPrompts: { writable: true }, _inQueueCallFlowSettings: { writable: true }, _outboundCallSettings: { writable: true }, _speechRecCompanyDirectory: { writable: true }, _speechRecEngine: { writable: true }, _suppressRecording: { writable: true } }), c.baseConstructor.apply(this, arguments); } - s.extend(d, "CallFlowConfiguration"), Object.defineProperties(d.prototype, { debugSettings: { enumerable: true, get: function() { + s.extend(c, "CallFlowConfiguration"), Object.defineProperties(c.prototype, { debugSettings: { enumerable: true, get: function() { return this._debugSettings; }, set: function(e3) { this._debugSettings = new r2(e3); @@ -72883,7 +78643,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._suppressRecording; }, set: function(e3) { this._suppressRecording = this.reviveItem(e3, a); - } } }), e2.exports = d; + } } }), e2.exports = c; }, 59777: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DeflectActionModel = void 0; @@ -72927,10 +78687,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 59794: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(21569), a = n2.__importDefault(i2(40559)); + class s extends a.default { constructor(e3) { - super(e3); + super(e3, o.customerSegmentManager); } get _globalTypeName() { return "customerSegmentCollection"; @@ -72938,11 +78698,24 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; get displayTypeName() { return "ArchValueCustomerSegmentCollection"; } + get _searchByValueSearchProperty() { + return "name"; + } get isArchValueCustomerSegmentCollection() { return true; } + addLiteralByCustomerSegmentIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("customerSegmentId", "addLiteralByCustomerSegmentIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByCustomerSegmentIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "customer segment").then(() => r2.default.executeCallback(this, "addLiteralByCustomerSegmentIdAsync", t3, this)); + }); + } + addLiteralByCustomerSegmentNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("customerSegmentName", "addLiteralByCustomerSegmentNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByCustomerSegmentNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "customer segment").then(() => r2.default.executeCallback(this, "addLiteralByCustomerSegmentNameAsync", t3, this)); + }); + } } - t2.default = r2; + t2.default = s; }, 59799: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.secureActionCategoryManager = t2.SecureActionCategoryManager = void 0; @@ -72956,7 +78729,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 59805: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(24032)), s = n2.__importStar(i2(12847)), l = i2(55909), u = i2(33951), d = n2.__importDefault(i2(23106)), c = i2(47957), p = a.getTopic("validation"); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(24032)), s = n2.__importStar(i2(12847)), l = i2(55909), u = i2(33951), c = n2.__importDefault(i2(23106)), d = i2(47957), p = a.getTopic("validation"); function _(e3) { return !(!e3 || !e3.id) || (p.warning("Tried to validate an invalid item: {}", e3), false); } @@ -72989,7 +78762,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const i4 = this.issuesMap[e5]; return (null === (t4 = null == i4 ? void 0 : i4.warnings) || void 0 === t4 ? void 0 : t4.length) > 0; }) && (i3 += 1); - }), 1 === t3 ? this.addRollupError(e3, c.task.taskActionErrorsOne) : t3 > 1 && this.addRollupError(e3, (0, r2.sprintf)(c.task.taskActionErrorsMoreThanOne, t3)), 1 === i3 ? this.addRollupWarning(e3, c.task.taskActionWarningsOne) : i3 > 1 && this.addRollupWarning(e3, (0, r2.sprintf)(c.task.taskActionWarningsMoreThanOne, i3)); + }), 1 === t3 ? this.addRollupError(e3, d.task.taskActionErrorsOne) : t3 > 1 && this.addRollupError(e3, (0, r2.sprintf)(d.task.taskActionErrorsMoreThanOne, t3)), 1 === i3 ? this.addRollupWarning(e3, d.task.taskActionWarningsOne) : i3 > 1 && this.addRollupWarning(e3, (0, r2.sprintf)(d.task.taskActionWarningsMoreThanOne, i3)); } nodeHasError(e3, t3, i3) { const n3 = this.getIssues(e3); @@ -73000,7 +78773,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (n3 && n3.warnings) return n3.warnings.some((e4) => e4.text === t3 && (!i3 || e4.flowElementId === i3)); } addExpressionError(e3, t3, i3) { - e3.isTransitory || (e3.setParseError(t3), i3 || (i3 = (0, r2.sprintf)(c.errors.invalidValue, e3.errorLabel)), this.addError(e3, i3, void 0, true), this.addError(e3.parent, t3)); + e3.isTransitory || (e3.setParseError(t3), i3 || (i3 = (0, r2.sprintf)(d.errors.invalidValue, e3.errorLabel)), this.addError(e3, i3, void 0, true), this.addError(e3.parent, t3)); } addExpressionWarning(e3, t3, i3, n3) { e3.isTransitory && !n3 || (e3.setParseWarning(t3), i3 || (i3 = t3), this.addWarning(e3.parent, i3), this.addWarning(e3.parent, t3)); @@ -73080,7 +78853,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } _createOrGetIssues(e3, t3) { let i3 = this.issuesMap[t3]; - return i3 && i3.model === e3.model || (i3 = new d.default(e3, t3), this.issuesMap[t3] = i3), i3; + return i3 && i3.model === e3.model || (i3 = new c.default(e3, t3), this.issuesMap[t3] = i3), i3; } }; }, 59821: (e2, t2, i2) => { @@ -73123,7 +78896,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.utilizationLabelManager = t2.UtilizationLabelManager = void 0; const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importStar(i2(15797)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(27862); - class d extends s.default { + class c extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.utilizationLabelView; } @@ -73134,7 +78907,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super(), this.topic = o.getTopic("UtilizationLabelManager"), this.apiCallList = a.getUtilizationLabels, this.apiCallSingle = a.getUtilizationLabel, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [], this.className = "UtilizationLabelManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = null, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "utilizationLabel", this.useStartsWithKeywordForExactMatch = true, this._initialize(); } } - t2.UtilizationLabelManager = d, t2.utilizationLabelManager = new d(); + t2.UtilizationLabelManager = c, t2.utilizationLabelManager = new c(); }, 59929: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -73176,6 +78949,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.OAuthClient = void 0, n2.baseConstructor.apply(this, arguments); } i2(45214).extend(n2, "Token"), e2.exports = n2; + }, 60013: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), r2 = n2.__importDefault(i2(23516)), o = n2.__importDefault(i2(91928)), a = { ArchAudio: r2.default, ArchAudioCase: o.default }; + t2.default = a; }, 60061: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -73235,8 +79013,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = l; }, 60079: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(80428), o = i2(9446), a = i2(21305), s = i2(81516), l = n2.__importDefault(i2(27203)), u = i2(35291), d = i2(82632), c = i2(12179), p = n2.__importDefault(i2(97891)), _ = n2.__importDefault(i2(5478)), h = i2(47957); - class m extends _.default { + const n2 = i2(31635), r2 = i2(80428), o = i2(9446), a = i2(21305), s = i2(81516), l = n2.__importDefault(i2(27203)), u = i2(35291), c = i2(82632), d = i2(12179), p = n2.__importDefault(i2(97891)), _ = n2.__importDefault(i2(5478)), h = n2.__importDefault(i2(4648)), m = i2(47957); + class g extends _.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -73244,23 +79022,23 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return l.default.successFailure; } static get managedProperties() { - return [{ label: h.getEmailHeaders.emailHeaderNamesLabel, type: r2.expressionTypeNames.string, options: s.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(h.getEmailHeaders.emailHeaderNamesLabel, h.getEmailHeaders.emailHeaderNamesDescription).setIninTestingField("emailHeaderNamesExpression").setAllowModeExpression(true).setIsOptional(true).setAllowNotSet(true).setModeNoValueRuntimeEvaluationStr(h.getEmailHeaders.emailHeaderNamesNoValueLabel).setModeNoValueSelectionLabel(h.getEmailHeaders.emailHeaderNamesNoValueLabel).setEmptyMessage(h.getEmailHeaders.noEmailHeaderNames).setMaxItems(d.emailHeaderNamesLimits.maxItems.count, d.emailHeaderNamesLimits.maxItems.isSoftLimit), true), yamlOptions: m.createYamlOptions("emailHeaderNames", (e3) => e3.setExportOrder(1)), property: "emailHeaderNames" }, { label: h.getEmailHeaders.emailHeadersResultLabel, type: r2.expressionTypeNames.json, options: a.ExpressionTypeJsonOptions.create((e3) => e3.setAsOutput().setDescriptionInfo(h.getEmailHeaders.emailHeadersResultLabel, h.getEmailHeaders.emailHeadersResultDescription).setIninTestingField("emailHeadersResultExpression")), yamlOptions: m.createYamlOptions("emailHeadersResult", (e3) => e3.setExportOrder(2)), property: "emailHeadersResult" }]; + return [{ label: m.getEmailHeaders.emailHeaderNamesLabel, type: r2.expressionTypeNames.string, options: s.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(m.getEmailHeaders.emailHeaderNamesLabel, m.getEmailHeaders.emailHeaderNamesDescription).setIninTestingField("emailHeaderNamesExpression").setAllowModeExpression(true).setIsOptional(true).setAllowNotSet(true).setModeNoValueRuntimeEvaluationStr(m.getEmailHeaders.emailHeaderNamesNoValueLabel).setModeNoValueSelectionLabel(m.getEmailHeaders.emailHeaderNamesNoValueLabel).setEmptyMessage(m.getEmailHeaders.noEmailHeaderNames).setMaxItems(c.emailHeaderNamesLimits.maxItems.count, c.emailHeaderNamesLimits.maxItems.isSoftLimit), true), yamlOptions: g.createYamlOptions("emailHeaderNames", (e3) => e3.setExportOrder(1)), property: "emailHeaderNames" }, { label: m.getEmailHeaders.emailHeadersResultLabel, type: r2.expressionTypeNames.json, options: a.ExpressionTypeJsonOptions.create((e3) => e3.setAsOutput().setDescriptionInfo(m.getEmailHeaders.emailHeadersResultLabel, m.getEmailHeaders.emailHeadersResultDescription).setIninTestingField("emailHeadersResultExpression")), yamlOptions: g.createYamlOptions("emailHeadersResult", (e3) => e3.setExportOrder(2)), property: "emailHeadersResult" }]; } _getPossibleErrors() { return u.getEmailHeadersFailureReasons; } } - m.info = p.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: c.helpTopics.actions.getEmailHeaders, modelClass: o.GetEmailHeadersActionModel, name: h.actions.getEmailHeaders, scriptingName: "ArchActionGetEmailHeaders" }), t2.A = m; + g.info = p.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: d.helpTopics.actions.getEmailHeaders, modelClass: o.GetEmailHeadersActionModel, name: m.actions.getEmailHeaders, scriptingName: "ArchActionGetEmailHeaders", modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = g; }, 60094: (e2) => { e2.exports = { actions: "actions", menus: "menus", menuChoiceAny: "menuChoiceAny", menuChoiceMenu: "menuChoiceMenu", menuChoiceTask: "menuChoiceTask", states: "states", tasks: "tasks" }; }, 60137: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(17604).sprintf, o = i2(47957), a = i2(24032), { expressionDataService: s } = i2(27491), l = a.getTopic("AudioSequencing"), u = "mainSequence", d = "fallbackSequence"; - function c(e3, t3, i3) { + const n2 = i2(92140), r2 = i2(17604).sprintf, o = i2(47957), a = i2(24032), { expressionDataService: s } = i2(27491), l = a.getTopic("AudioSequencing"), u = "mainSequence", c = "fallbackSequence"; + function d(e3, t3, i3) { Object.defineProperties(this, { _action: { value: e3 }, _audioViewModel: { value: t3 }, _sequenceDefinition: { value: i3 } }); } - Object.defineProperties(c.prototype, { _getSequenceSet: { value: function(e3, t3) { + Object.defineProperties(d.prototype, { _getSequenceSet: { value: function(e3, t3) { let i3; - if (t3 !== u && this._hasSequenceSetOverride(t3) ? i3 = this._sequenceDefinition[this._sequenceDefinition.supportedLanguages[t3]][e3] : t3 === u || this._sequenceDefinition.supportedLanguages[t3] === u ? i3 = this._sequenceDefinition.mainSequence[e3] : this._sequenceDefinition.supportedLanguages[d] && (i3 = this._sequenceDefinition[d][e3]), !i3 || i3.allSequencesAppllied) return i3; + if (t3 !== u && this._hasSequenceSetOverride(t3) ? i3 = this._sequenceDefinition[this._sequenceDefinition.supportedLanguages[t3]][e3] : t3 === u || this._sequenceDefinition.supportedLanguages[t3] === u ? i3 = this._sequenceDefinition.mainSequence[e3] : this._sequenceDefinition.supportedLanguages[c] && (i3 = this._sequenceDefinition[c][e3]), !i3 || i3.allSequencesAppllied) return i3; i3.allSequencesAppllied = true; const n3 = this._sequenceDefinition.allSequences; if (!n3 || !n3.allModes || !n3.allModes.conditions) return i3; @@ -73302,14 +79080,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (s2 = e4.audioExpression, !a2._hasSequenceSetOverride(i3)) return s2.customExpressionMode = true, e4.audioExpression.setText("", true), void (e4.disabled = true); e4.disabled = false; } - const l2 = a2._getSequenceSet(e3, i3), d2 = [], c2 = []; + const l2 = a2._getSequenceSet(e3, i3), c2 = [], d2 = []; let p = 0; n2.each(l2.conditions, function(e4) { - e4.condition ? (d2.push(r2("If((%1$s), %2$s, ", a2._replaceValue(e4.condition, t3), a2._buildSequence(e4.sequence, t3))), p++) : d2.push(a2._buildSequence(e4.sequence, t3)), e4.indirectlyUsedPrompts && c2.push(...e4.indirectlyUsedPrompts); - }), s2.indirectlyUsedPrompts = c2; - for (let e4 = 0; e4 < p; e4++) d2.push(")"); + e4.condition ? (c2.push(r2("If((%1$s), %2$s, ", a2._replaceValue(e4.condition, t3), a2._buildSequence(e4.sequence, t3))), p++) : c2.push(a2._buildSequence(e4.sequence, t3)), e4.indirectlyUsedPrompts && d2.push(...e4.indirectlyUsedPrompts); + }), s2.indirectlyUsedPrompts = d2; + for (let e4 = 0; e4 < p; e4++) c2.push(")"); s2.customExpressionMode = true; - const _ = d2.join(""); + const _ = c2.join(""); return _ !== s2.text && s2.setText(_, true), true; } }, canBuildExpression: { value: function(e3, t3) { const i3 = this; @@ -73342,7 +79120,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return 1 === r3.length ? i3._setAudioExpression(e3, t3, r3[0], true) : (i3._setAudioExpression(e3, t3, u), n2.each(r3, function(n3) { i3._setAudioExpression(e3, t3, n3); })), true; - } } }), e2.exports = c; + } } }), e2.exports = d; }, 60140: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -73471,7 +79249,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.ExpressionListWithReferenceId = o; }, 60440: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = i2(17749), a = i2(45077), s = i2(12179), l = n2.__importDefault(i2(97891)), u = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = i2(17749), a = i2(45077), s = i2(12179), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(4648)), c = i2(47957); class d extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -73480,7 +79258,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return a.clearSkillExpressionFiltersFailureReasons; } } - d.info = l.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: s.helpTopics.actions.clearSkillExpressionFilters, modelClass: o.ClearSkillExpressionFiltersActionModel, name: u.actions.clearSkillExpressionFilters, scriptingName: "ArchActionClearSkillExpressionFilters" }), t2.A = d; + d.info = l.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: s.helpTopics.actions.clearSkillExpressionFilters, modelClass: o.ClearSkillExpressionFiltersActionModel, name: c.actions.clearSkillExpressionFilters, scriptingName: "ArchActionClearSkillExpressionFilters", modelFormatSupport: { flowYaml: { inProgress: true, feature: u.default.changeSetsFeaturePhase2 } } }), t2.A = d; }, 60453: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getSmsPhoneNumbers = a, t2.getSmsPhoneNumber = s; @@ -73496,8 +79274,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 60454: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.StringType = void 0; - const n2 = i2(31635), r2 = i2(81516), o = n2.__importDefault(i2(22226)), a = i2(80428), s = i2(94765); - class l extends s.ExpressionType { + const n2 = i2(31635), r2 = i2(69453), o = i2(81516), a = n2.__importDefault(i2(73198)), s = n2.__importDefault(i2(22226)), l = i2(80428), u = i2(94765), c = i2(17604); + class d extends u.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -73505,16 +79283,35 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return "StringType"; } createExpressionOptionClass() { - return new r2.ExpressionTypeStringOptions(); + return new o.ExpressionTypeStringOptions(); + } + getDesignTimeStringValue(e3) { + var t3; + if (e3.isLiteralMode) return e3.text || void 0; + const i3 = null === (t3 = e3.getEmbeddableExpressionText()) || void 0 === t3 ? void 0 : t3.trim(); + if (!(null == i3 ? void 0 : i3.length)) return; + if (!s.default.textIsExpressionStringLiteral(i3)) return; + const n3 = s.default.getUnquotedExpressionStringLiteralContents(i3); + return n3.length ? n3 : void 0; } convertLitToExpression(e3, t3) { - return o.default.getQuotedExpressionStringLiteral(t3) || ""; + return s.default.getQuotedExpressionStringLiteral(t3) || ""; } convertLitToCustomJsonStr(e3, t3, i3, n3) { return this.convertLitToExpression(e3, t3); } + applyLiteralFromModel(e3, t3, i3, n3) { + if (null == t3) return; + let o2; + if ("string" == typeof t3) o2 = t3; + else { + if ("number" != typeof t3 && "boolean" != typeof t3) return void (null == n3 || n3.warn((0, c.sprintf)(r2.configureFromModel.stringLiteralExpectedPrimitive, Array.isArray(t3) ? "array" : typeof t3))); + o2 = String(t3); + } + this.enforceValueLimit(o2.length <= a.default.maxStringLength, (0, c.sprintf)(r2.configureFromModel.stringLiteralLengthExceeded, o2.length, a.default.maxStringLength), n3) && e3.setAsLiteral(o2); + } } - t2.StringType = l, l.typeIdentifier = a.expressionTypeNames.string; + t2.StringType = d, d.typeIdentifier = l.expressionTypeNames.string; }, 60475: (e2, t2, i2) => { const n2 = i2(13240), r2 = i2(7401), o = i2(42217); function a() { @@ -73535,10 +79332,37 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, set: function(e3) { this._variables = this.reviveArray(e3, o); } } }), e2.exports = a; + }, 60526: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowTypeResolver = void 0; + const n2 = i2(96618); + class r2 { + static resolve(e3) { + return r2._yamlKeyToCanonical.get(e3); + } + static isRecognized(e3) { + return r2._yamlKeyToCanonical.has(e3); + } + static detectFromJson(e3) { + for (const t3 of Object.keys(e3)) if (r2._yamlKeyToCanonical.has(t3)) return t3; + } + static getYamlKey(e3) { + for (const [t3, i3] of r2._yamlKeyToCanonical.entries()) if (i3 === e3) return t3; + } + static _buildMap() { + const e3 = /* @__PURE__ */ new Map(); + for (const t3 of n2.flowTypes.flowTypesAll) { + const i3 = n2.flowTypes.getCamelCasedFlowTypeStr(t3); + i3 && e3.set(i3, t3); + } + return e3; + } + } + t2.FlowTypeResolver = r2, r2._yamlKeyToCanonical = r2._buildMap(), r2.YAML_FLOW_TYPE_KEYS = Array.from(r2._yamlKeyToCanonical.keys()); }, 60571: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(38416)), a = i2(10798), s = n2.__importDefault(i2(98114)), l = i2(30801), u = n2.__importDefault(i2(4648)), d = n2.__importStar(i2(14187)), c = n2.__importDefault(i2(73274)), p = n2.__importDefault(i2(95955)), _ = n2.__importDefault(i2(23208)), h = n2.__importDefault(i2(81948)), m = i2(21733), g = i2(64420); + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(38416)), a = i2(10798), s = n2.__importDefault(i2(98114)), l = i2(30801), u = n2.__importDefault(i2(4648)), c = n2.__importStar(i2(14187)), d = n2.__importDefault(i2(73274)), p = n2.__importDefault(i2(95955)), _ = n2.__importDefault(i2(23208)), h = n2.__importDefault(i2(81948)), m = i2(21733), g = i2(64420); class f extends h.default { constructor(e3, t3) { super(e3), this.commonModuleSettings = new _.default(this), this.callPrompts = new p.default(this), this._addToAutoManageSettings(this.callPrompts), this._addToAutoManageSettings(this.commonModuleSettings), this._embeddedParentFlow = t3; @@ -73557,7 +79381,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return "CommonModuleFlowViewModel"; } get builtInVariableScopes() { - return [...super.builtInVariableScopes, d.scopes.session]; + return [...super.builtInVariableScopes, c.scopes.session]; } getFlowConfigurationClass() { return o.default; @@ -73596,8 +79420,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return r2.flowTypes.flowTypeCommonModule; } _loadConfiguration(e3) { - if (this._setInitialTrackingNumberFromConfiguration(e3.nextTrackingNumber), this.commonModuleSettings.loadConfiguration(e3), super._loadConfiguration(e3), this._deleteAllTasks(), e3.flowSequenceItemList && 1 === e3.flowSequenceItemList.length && e3.flowSequenceItemList[0].__type === c.default.info.typeId) { - const t3 = new c.default(this, e3.flowSequenceItemList[0]); + if (this._setInitialTrackingNumberFromConfiguration(e3.nextTrackingNumber), this.commonModuleSettings.loadConfiguration(e3), super._loadConfiguration(e3), this.deleteAllTasks(), e3.flowSequenceItemList && 1 === e3.flowSequenceItemList.length && e3.flowSequenceItemList[0].__type === d.default.info.typeId) { + const t3 = new d.default(this, e3.flowSequenceItemList[0]); t3.initialize(), this._addTask(t3); } } @@ -73660,14 +79484,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }; }, 60599: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(53755), o = i2(21305), a = i2(12179), s = n2.__importDefault(i2(97891)), l = i2(46498), u = i2(12786), d = i2(47957); - class c extends r2.BaseConversationAttributeActionViewModel { + const n2 = i2(31635), r2 = i2(53755), o = i2(21305), a = i2(12179), s = n2.__importDefault(i2(97891)), l = i2(46498), u = i2(12786), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.BaseConversationAttributeActionViewModel { constructor(e3, t3) { super(e3, t3), this._loadModel(t3); } + get inputUsesSchemaDataPatch() { + return true; + } static createCustomJsonProperties() { return this.createManagedPropertiesFromConfig({ includeInput: true, includeOutput: true, inputOptionsFactory: () => o.ExpressionTypeJsonOptions.create((e3) => { - e3.setAsInput().setUiPropertyGroup(d.setAttributes.attribute).setIsCustomJsonType(true).setCanIgnoreRequired(true).setUiSingleItemSectionPropertyGroup(true).setHideLabel(true).setIninTestingField("customJsonInput"); + e3.setAsInput().setUiPropertyGroup(d.setAttributes.attribute).setIsCustomJsonType(true).setNullPropertyValueNoOpWarningText(d.conversationAttribute.supplyRecordDataWithPropertyOmittedToRemove).setUiSingleItemSectionPropertyGroup(true).setHideLabel(true).setIninTestingField("customJsonInput"); }), outputOptionsFactory: () => o.ExpressionTypeJsonOptions.create((e3) => { e3.setAsOutput().setIsCustomJsonType(true).setLabelOverride(d.conversationAttribute.resultLabel).setIninTestingField("customJsonOutput"); }) }); @@ -73679,17 +79506,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return u.updateConversationAttributeFailureReasons; } } - c.info = s.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: a.helpTopics.actions.updateConversationAttribute, modelClass: l.UpdateConversationAttributeActionModel, name: d.actions.updateConversationAttribute, scriptingName: "ArchActionUpdateConversationAttribute" }), t2.A = c; + p.info = s.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: a.helpTopics.actions.updateConversationAttribute, modelClass: l.UpdateConversationAttributeActionModel, modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } }, name: d.actions.updateConversationAttribute, scriptingName: "ArchActionUpdateConversationAttribute" }), t2.A = p; }, 60609: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.cannedResponseMessageTemplateTypeValues = t2.CannedResponseMessageTemplateType = t2.CannedResponseType = void 0; + Object.defineProperty(t2, "__esModule", { value: true }), t2.cannedResponseMessageCustomTemplateType = t2.cannedResponseMessageTemplateTypeValues = t2.CannedResponseMessageTemplateType = t2.CannedResponseType = void 0; const n2 = i2(31635).__importDefault(i2(61864)), r2 = i2(47957); var o, a; !(function(e3) { e3.campaignEmailTemplate = "CampaignEmailTemplate", e3.campaignSmsTemplate = "CampaignSmsTemplate", e3.messagingTemplate = "MessagingTemplate", e3.form = "Form"; })(o || (t2.CannedResponseType = o = {})), (function(e3) { e3.standard = "standard", e3.carousel = "carousel"; - })(a || (t2.CannedResponseMessageTemplateType = a = {})), t2.cannedResponseMessageTemplateTypeValues = [{ id: a.carousel, displayString: r2.cardsAndCars.carouselLabel, icon: n2.default.carouselCircled.gux }]; + })(a || (t2.CannedResponseMessageTemplateType = a = {})), t2.cannedResponseMessageTemplateTypeValues = [{ id: a.carousel, displayString: r2.cardsAndCars.mediaCarouselLabel, icon: n2.default.carouselCircled }], t2.cannedResponseMessageCustomTemplateType = { id: a.standard, displayString: r2.cardsAndCars.standardLabel, icon: n2.default.image }; }, 60628: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -73784,7 +79611,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 60776: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.UserType = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(26954), a = i2(30163), s = i2(67210), l = i2(27491), u = n2.__importDefault(i2(22226)), d = i2(80428), c = i2(14394), p = i2(94765); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(26954), a = i2(30163), s = i2(67210), l = i2(27491), u = n2.__importDefault(i2(22226)), c = i2(80428), d = i2(14394), p = i2(94765); class _ extends p.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3), this.additionLiteralProperties = ["username"]; @@ -73807,7 +79634,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } canConvertLitToExpression(e3) { - return l.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindUserById", e3, [c.globalTypes.string]); + return l.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindUserById", e3, [d.globalTypes.string]); } convertLitToExpression(e3, t3, i3) { return i3 && this.canConvertLitToExpression(e3) ? `FindUserById(${u.default.getQuotedExpressionStringLiteral(i3)})` : ""; @@ -73828,15 +79655,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return a.userManager; } } - t2.UserType = _, _.typeIdentifier = d.expressionTypeNames.userQueue; + t2.UserType = _, _.typeIdentifier = c.expressionTypeNames.userQueue; }, 60818: (e2, t2, i2) => { "use strict"; var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }), t2.GetConversationAttributesActionModel = void 0; - const o = i2(31635), a = i2(70630), s = i2(80295), l = o.__importDefault(i2(7401)), u = i2(30801), d = i2(80295); - class c extends a.BaseConversationAttributeActionModel { + const o = i2(31635), a = i2(70630), s = i2(80295), l = o.__importDefault(i2(7401)), u = i2(30801), c = i2(80295); + class d extends a.BaseConversationAttributeActionModel { constructor(e3) { - super(e3), this.__type = c.__type, (0, d.makeUnenumerable)(this, "_recordIds"), (0, d.makeUnenumerable)(this, "_output"); + super(e3), this.__type = d.__type, (0, c.makeUnenumerable)(this, "_recordIds"), (0, c.makeUnenumerable)(this, "_output"); } get recordIds() { return this._recordIds; @@ -73859,7 +79686,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super.pasteResolveOldToNewValues(e3), this.recordIds.pasteResolveOldToNewValues(e3), null === (t3 = this.output) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3); } } - t2.GetConversationAttributesActionModel = c, c.__type = u.getConversationAttributesActionType, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "recordIds", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== l.default && l.default) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "output", null), c.registerType(); + t2.GetConversationAttributesActionModel = d, d.__type = u.getConversationAttributesActionType, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "recordIds", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== l.default && l.default) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "output", null), d.registerType(); }, 60843: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -73912,7 +79739,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; Object.defineProperty(t2, "__esModule", { value: true }), t2.isAskForSlotActionViewModel = function(e3) { return null == e3 ? void 0 : e3.isAskForSlotActionViewModel; }; - const l = i2(31635), u = i2(96618), d = i2(68694), c = i2(17604), p = l.__importDefault(i2(92140)), _ = l.__importDefault(i2(83668)), h = l.__importDefault(i2(87769)), m = l.__importDefault(i2(4712)), g = l.__importDefault(i2(53474)), f = l.__importDefault(i2(33726)), T = i2(28562), y = l.__importDefault(i2(73198)), S = l.__importStar(i2(63824)), A = l.__importStar(i2(63352)), N = i2(80428), O = (l.__importStar(i2(28614)), i2(28614)), I = i2(53476), v = i2(53476), C = i2(53476), b = i2(67607), E = i2(39964), R = i2(82319), w = i2(61870), D = i2(79467), P = i2(43700), M = i2(49892), F = i2(81516), L = i2(99469), x = l.__importDefault(i2(22917)), k = l.__importDefault(i2(27203)), V = l.__importStar(i2(85020)), U = i2(19284), B = l.__importStar(i2(25301)), G = l.__importStar(i2(15721)), j = l.__importStar(i2(36781)), W = l.__importStar(i2(10798)), q = l.__importDefault(i2(41510)), Y = l.__importStar(i2(1115)), H = l.__importDefault(i2(4648)), J = i2(12179), z = i2(13116), K = l.__importDefault(i2(97891)), $ = i2(28803), Q = i2(87870), X = l.__importDefault(i2(80570)), Z = i2(95443), ee = l.__importDefault(i2(40773)), te = i2(1492), ie = l.__importDefault(i2(86833)), ne = i2(21733), re = i2(47957), oe = "2.1"; + const l = i2(31635), u = i2(96618), c = i2(68694), d = i2(17604), p = l.__importDefault(i2(92140)), _ = l.__importDefault(i2(83668)), h = l.__importDefault(i2(87769)), m = l.__importDefault(i2(4712)), g = l.__importDefault(i2(53474)), f = l.__importDefault(i2(33726)), T = i2(28562), y = l.__importDefault(i2(73198)), S = l.__importStar(i2(63824)), A = l.__importStar(i2(63352)), N = i2(80428), v = (l.__importStar(i2(28614)), i2(28614)), O = i2(53476), I = i2(53476), C = i2(53476), b = i2(67607), E = i2(39964), w = i2(82319), R = i2(61870), D = i2(79467), P = i2(43700), M = i2(49892), F = i2(81516), L = i2(99469), x = l.__importDefault(i2(22917)), k = l.__importDefault(i2(27203)), V = l.__importStar(i2(85020)), U = i2(19284), B = l.__importStar(i2(25301)), G = l.__importStar(i2(15721)), j = l.__importStar(i2(36781)), W = l.__importStar(i2(10798)), q = l.__importDefault(i2(41510)), Y = l.__importStar(i2(1115)), H = l.__importDefault(i2(4648)), J = i2(12179), $ = i2(13116), z = l.__importDefault(i2(97891)), K = i2(28803), Q = i2(87870), X = l.__importDefault(i2(80570)), Z = i2(95443), ee = l.__importDefault(i2(40773)), te = i2(1492), ie = l.__importDefault(i2(86833)), ne = i2(21733), re = i2(47957), oe = "2.1"; class ae extends X.default { static get branchInfo() { const e3 = [k.default.default, k.default.maxNoInputsOptional]; @@ -73929,7 +79756,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._doesSelectedSlotTypeSupportChooser || (e3.chooser = x.default.create(void 0, (e4) => e4.setSkipProperty(true))), e3; } static get managedProperties() { - return [{ label: re.askForSlot.slotResult, options: M.ExpressionTypelessOptions.create((e3) => e3.setIninTestingField("askResult").setAsOutput().setUiPropertyOrder(12).setDescriptionInfo(re.askForSlot.slotResult, re.askForSlot.slotResultDescription).setReadOnly(true)), yamlOptions: ae.createYamlOptions("askResult", (e3) => e3.setSkipProperty(true)), property: "askResult", type: N.expressionTypeNames.any }, { property: "chooser", label: re.cardsAndCars.askForSlotChooserLabel, type: N.expressionTypeNames.chooser, supportedFlowTypes: [u.flowTypes.flowTypeDigitalBot], options: E.ExpressionTypeChooserOptions.create((e3) => e3.setUiPropertyOrder(10).setDescriptionInfo(re.cardsAndCars.askForSlotChooserLabel, re.cardsAndCars.askForSlotChooserDescription)), yamlOptions: ae.createYamlOptions("chooser", (e3) => e3.setSerializeOutOfService(true)) }, { createDetails: Q.NoteActionProperty.createCreateDetails(void 0, "info", "askForSlotChooserNote"), options: M.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(11)), property: "chooserNote", yamlOptions: ae.createYamlOptions("chooserNote", (e3) => e3.setSkipProperty(true)) }, { label: re.askCommon.customValidation.label, options: b.ExpressionTypeBooleanOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("customValidation").setUiPropertyOrder(13).setDescriptionInfo(re.askCommon.customValidation.label, re.askCommon.customValidation.description).setUiPropertyGroup(re.generic.validation).setIsOptional(true).setAllowModeLiteral(false).setModeNoValueRuntimeEvaluationStr(re.askCommon.customValidation.noValue)), yamlOptions: ae.createYamlOptions("customValidation", (e3) => e3.setExportOrder(40)), property: "customValidation", type: N.expressionTypeNames.boolean }, { property: "selectedSlot", isJustForFlowYaml: true, yamlOptions: ae.createYamlOptions("selectedSlot", (e3) => e3.setPropertyName("slot").setWrappedValueName("name").setExportOrder(30)) }, { label: re.askForSlot.confirmationMode, options: F.ExpressionTypeStringOptions.create((e3) => e3.setAllowSecure(true).setDescriptionInfo(re.askForSlot.confirmationMode, (0, c.sprintf)(re.askForSlot.confirmationModeDescription, B.always.id, re.generic.validation, re.askForSlot.confirmationQuestion)).setIninTestingField("confirmationModeExpression").setUiPropertyGroup(re.askForSlot.verifyGroupingLabel).setUiPropertyOrder(30).setDefaultText(B.never.id).facets.setTrim(true).setAllowableValues(B.allModes)), property: "confirmationMode", type: N.expressionTypeNames.string, yamlOptions: ae.createYamlOptions("confirmationMode", (e3) => e3.setExportOrder(50)) }, { createDetails: Q.NoteActionProperty.createCreateDetails(re.askForSlot.confirmationModeUnavailableNote, "info", "confirmation-note"), options: M.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyGroup(re.askForSlot.verifyGroupingLabel).setUiSingleItemSectionPropertyGroup(true)), property: "confirmationModeNote" }, { label: re.askForSlot.confirmationQuestion, options: R.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setDescriptionInfo(re.askForSlot.confirmationQuestion, re.askForSlot.confirmationQuestionDescription).setIninTestingField("confirmationQuestionExpression").setUiPropertyGroup(re.askForSlot.verifyGroupingLabel).setUiPropertyOrder(32).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDefaultToBuilderId(T.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(m.default)), optionsForSpecificFlowTypes: [{ flowTypes: [u.flowTypes.flowTypeDigitalBot], options: R.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setDescriptionInfo(re.askForSlot.confirmationQuestion, re.askForSlot.confirmationQuestionDescription).setIninTestingField("confirmationQuestionExpression").setUiPropertyGroup(re.askForSlot.verifyGroupingLabel).setUiPropertyOrder(32).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDefaultToBuilderId(T.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(m.default)) }], property: "confirmationQuestion", type: N.expressionTypeNames.communication, yamlOptions: ae.createYamlOptions("confirmationQuestion", (e3) => e3.setExportOrder(60)) }, { label: re.grammars.grammarLabel, options: P.ExpressionTypeGrammarOptions.create((e3) => e3.setDescriptionInfo(re.grammars.grammarLabel, re.grammars.grammarSlots.grammarSlotDescriptionInfo).setModeNoValueRuntimeEvaluationStr(re.grammars.grammarSlots.useSlotConfigDescription).setModeNoValueSelectionLabel(re.grammars.grammarSlots.useSlotConfigLabel).setIninTestingField("grammar").setFeatureConfigName(H.default.orgAvailabilitySttEnginesGrammarBased).setIsOptional(true).setUiPropertyGroup(re.speechToText.recognitionParams.speechRecognitionParameters).setUiPropertyOrder(17).setDefaultToNoValue(true)), supportedFlowTypes: [u.flowTypes.flowTypeBot, u.flowTypes.flowTypeVoice, u.flowTypes.flowTypeVoiceSurvey], property: "grammar", type: N.expressionTypeNames.grammar, yamlOptions: ae.createYamlOptions("grammar", (e3) => e3.setExportOrder(70)) }, { property: "speechToTextEngine", label: re.speechToText.speechToTextEngineLabel, options: L.ManagedPropertyOptions.create((e3) => e3.setDropdownPlaceholder(re.grammars.grammarSlots.useSlotConfigDescription).setDescriptionInfo(re.speechToText.speechToTextEngineLabel, re.speechToText.speechToTextEngineForSlotDescriptionInfo).setIninTestingField("speechToTextEngine").setUiPropertyGroup(re.speechToText.recognitionParams.speechRecognitionParameters).setUiPropertyOrder(16)), createDetails: $.NetworkBasedActionProperty.createCreateDetails("speechToTextEngineId", "speechToTextEngineName", U.speechToTextEngineManager, null, re.speechToText.speechToTextEngineNotFound, null, null, (e3, t3) => null == t3 ? void 0 : t3.isBotTranscriptionConnectorTypeOrGrammarBased), supportedFlowTypes: [u.flowTypes.flowTypeBot, u.flowTypes.flowTypeVoice, u.flowTypes.flowTypeVoiceSurvey], yamlOptions: ae.createYamlOptions("speechToTextEngine", (e3) => e3.setExportOrder(71)) }, { label: re.speechToText.recognitionParams.speechToTextCompleteTimeoutLabel, options: D.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("speechToTextEngineCompleteTimeout").setDescriptionInfo(re.speechToText.recognitionParams.speechToTextCompleteTimeoutLabel, re.speechToText.recognitionParams.speechToTextCompleteTimeoutDescription).setFeatureConfigName(H.default.orgAvailabilitySttEnginesGrammarBased).setUiPropertyOrder(18).setIsOptional(true).setUiPropertyGroup(re.speechToText.recognitionParams.speechRecognitionParameters).setDurationStyle(S.durationStyles.secondsAndTenthsDuration).facets.setMinDur(0, true).setMaxDur(10 * y.default.msPerSecond, true)), supportedFlowTypes: [u.flowTypes.flowTypeBot, u.flowTypes.flowTypeVoice, u.flowTypes.flowTypeVoiceSurvey], type: N.expressionTypeNames.duration, property: "speechToTextEngineCompleteTimeout", yamlOptions: ae.createYamlOptions("speechToTextEngineCompleteTimeout", (e3) => e3.setExportOrder(80)) }, { label: re.speechToText.recognitionParams.speechToTextConfidenceLevelLabel, options: w.ExpressionTypeDecimalOptions.create((e3) => e3.setIninTestingField("speechToTextEngineConfidenceLevel").setDescriptionInfo(re.speechToText.recognitionParams.speechToTextConfidenceLevelLabel, re.speechToText.recognitionParams.speechToTextConfidenceLevelDescription).setFeatureConfigName(H.default.orgAvailabilitySttEnginesGrammarBased).setUiPropertyOrder(19).setIsOptional(true).setUiPropertyGroup(re.speechToText.recognitionParams.speechRecognitionParameters).facets.setMinDec(0).setMinValInclusive(true).setMaxDec(1).setMaxValInclusive(true)), supportedFlowTypes: [u.flowTypes.flowTypeBot, u.flowTypes.flowTypeVoice, u.flowTypes.flowTypeVoiceSurvey], type: N.expressionTypeNames.decimal, property: "speechToTextEngineConfidenceLevel", yamlOptions: ae.createYamlOptions("speechToTextEngineConfidenceLevel", (e3) => e3.setExportOrder(100)) }, { label: re.askForSlot.repromptHandling, options: F.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("repromptHandling").setUiPropertyGroup(re.askForSlot.continuationPromptGroupingLabel).setUiSingleItemSectionPropertyGroup(true).setUiPropertyOrder(14).setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(re.askForSlot.repromptHandlingOptions.repromptHandlingOptionManuallyManaged).setFeatureConfigName(H.default.botFlowsLLMPoweredSlot).facets.setAllowableValueShowOriginalDisplayStringInPopover(true).setTrim(true).setAllowableValueUseOriginalDisplayString(true).setAllowableValues(G.repromptHandlingOptions).setPreferRadioButtonsCount(2)), supportedFlowTypes: [u.flowTypes.flowTypeDigitalBot, u.flowTypes.flowTypeBot], type: N.expressionTypeNames.string, yamlOptions: ae.createYamlOptions("repromptHandling", (e3) => e3.setPropertyName("repromptHandling")), property: "repromptHandling" }, { label: re.askForSlot.continuationPrompt, options: R.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("continuationPrompt").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setScriptingPropertyName("continuationPrompt").setUiPropertyGroup(re.askForSlot.continuationPromptGroupingLabel).setUiSingleItemSectionPropertyGroup(true).setUiPropertyOrder(15).setFeatureConfigName(H.default.botFlowsLLMPoweredSlot).setDefaultToBuilderId(T.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(g.default)), optionsForSpecificFlowTypes: [{ flowTypes: [u.flowTypes.flowTypeDigitalBot], options: R.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("continuationPrompt").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setScriptingPropertyName("continuationPrompt").setUiPropertyGroup(re.askForSlot.continuationPromptGroupingLabel).setUiSingleItemSectionPropertyGroup(true).setUiPropertyOrder(15).setFeatureConfigName(H.default.botFlowsLLMPoweredSlot).setDefaultToBuilderId(T.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(g.default)) }], supportedFlowTypes: [u.flowTypes.flowTypeDigitalBot, u.flowTypes.flowTypeBot], type: N.expressionTypeNames.communication, yamlOptions: ae.createYamlOptions("continuationPrompt", (e3) => e3.setPropertyName("continuationPrompt")), property: "continuationPrompt" }, { label: re.askCommon.continuationReprompts, options: ae.createNoMatchProgressiveRepromptsOptions(T.builderIds.parts.genericCommunication), optionsForSpecificFlowTypes: [{ flowTypes: [u.flowTypes.flowTypeDigitalBot], options: ae.createNoMatchProgressiveRepromptsOptions(T.builderIds.parts.markdownCommunication) }], yamlOptions: ae.createYamlOptions("continuationReprompts", (e3) => e3.setPropertyName("continuationReprompts").setWrappedObjectName("customizeContinuation")), property: "continuationReprompts", type: N.expressionTypeNames.communication }, { options: b.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText(y.default.false).setIninTestingField("customizeContinuationNoMatchButton").setBoolText(re.askCommon.defaultContinuationPrompt, re.askCommon.customizeContinuationPrompt).setUiPropertyGroup(re.askForSlot.continuationPromptGroupingLabel).setUiPropertyOrder(28).setFeatureConfigName(H.default.botFlowsAIPoweredSlotsEnhancements)), yamlOptions: ae.createYamlOptions("customizeContinuation", (e3) => e3.setSkipProperty(true)), property: "customizeContinuation", type: N.expressionTypeNames.boolean }, (0, Z.createBargeInManagedProperty)(8, re.speechToText.recognitionParams.speechRecognitionParameters)]; + return [{ label: re.askForSlot.slotResult, options: M.ExpressionTypelessOptions.create((e3) => e3.setIninTestingField("askResult").setAsOutput().setUiPropertyOrder(12).setDescriptionInfo(re.askForSlot.slotResult, re.askForSlot.slotResultDescription).setReadOnly(true)), yamlOptions: ae.createYamlOptions("askResult", (e3) => e3.setSkipProperty(true)), property: "askResult", type: N.expressionTypeNames.any }, { property: "chooser", label: re.cardsAndCars.askForSlotChooserLabel, type: N.expressionTypeNames.chooser, supportedFlowTypes: [u.flowTypes.flowTypeDigitalBot], options: E.ExpressionTypeChooserOptions.create((e3) => e3.setUiPropertyOrder(10).setDescriptionInfo(re.cardsAndCars.askForSlotChooserLabel, re.cardsAndCars.askForSlotChooserDescription)), yamlOptions: ae.createYamlOptions("chooser", (e3) => e3.setSerializeOutOfService(true)) }, { createDetails: Q.NoteActionProperty.createCreateDetails(void 0, "info", "askForSlotChooserNote"), options: M.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(11)), property: "chooserNote", yamlOptions: ae.createYamlOptions("chooserNote", (e3) => e3.setSkipProperty(true)) }, { label: re.askCommon.customValidation.label, options: b.ExpressionTypeBooleanOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("customValidation").setUiPropertyOrder(13).setDescriptionInfo(re.askCommon.customValidation.label, re.askCommon.customValidation.description).setUiPropertyGroup(re.generic.validation).setIsOptional(true).setAllowModeLiteral(false).setModeNoValueRuntimeEvaluationStr(re.askCommon.customValidation.noValue)), yamlOptions: ae.createYamlOptions("customValidation", (e3) => e3.setExportOrder(40)), property: "customValidation", type: N.expressionTypeNames.boolean }, { property: "selectedSlot", isJustForFlowYaml: true, yamlOptions: ae.createYamlOptions("selectedSlot", (e3) => e3.setPropertyName("slot").setWrappedValueName("name").setExportOrder(30)) }, { label: re.askForSlot.confirmationMode, options: F.ExpressionTypeStringOptions.create((e3) => e3.setAllowSecure(true).setDescriptionInfo(re.askForSlot.confirmationMode, (0, d.sprintf)(re.askForSlot.confirmationModeDescription, B.always.id, re.generic.validation, re.askForSlot.confirmationQuestion)).setIninTestingField("confirmationModeExpression").setUiPropertyGroup(re.askForSlot.verifyGroupingLabel).setUiPropertyOrder(30).setDefaultText(B.never.id).facets.setTrim(true).setAllowableValues(B.allModes)), property: "confirmationMode", type: N.expressionTypeNames.string, yamlOptions: ae.createYamlOptions("confirmationMode", (e3) => e3.setExportOrder(50)) }, { createDetails: Q.NoteActionProperty.createCreateDetails(re.askForSlot.confirmationModeUnavailableNote, "info", "confirmation-note"), options: M.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyGroup(re.askForSlot.verifyGroupingLabel).setUiSingleItemSectionPropertyGroup(true)), property: "confirmationModeNote" }, { label: re.askForSlot.confirmationQuestion, options: w.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setDescriptionInfo(re.askForSlot.confirmationQuestion, re.askForSlot.confirmationQuestionDescription).setIninTestingField("confirmationQuestionExpression").setUiPropertyGroup(re.askForSlot.verifyGroupingLabel).setUiPropertyOrder(32).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDefaultToBuilderId(T.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(m.default)), optionsForSpecificFlowTypes: [{ flowTypes: [u.flowTypes.flowTypeDigitalBot], options: w.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setDescriptionInfo(re.askForSlot.confirmationQuestion, re.askForSlot.confirmationQuestionDescription).setIninTestingField("confirmationQuestionExpression").setUiPropertyGroup(re.askForSlot.verifyGroupingLabel).setUiPropertyOrder(32).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDefaultToBuilderId(T.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(m.default)) }], property: "confirmationQuestion", type: N.expressionTypeNames.communication, yamlOptions: ae.createYamlOptions("confirmationQuestion", (e3) => e3.setExportOrder(60)) }, { label: re.grammars.grammarLabel, options: P.ExpressionTypeGrammarOptions.create((e3) => e3.setDescriptionInfo(re.grammars.grammarLabel, re.grammars.grammarSlots.grammarSlotDescriptionInfo).setModeNoValueRuntimeEvaluationStr(re.grammars.grammarSlots.useSlotConfigDescription).setModeNoValueSelectionLabel(re.grammars.grammarSlots.useSlotConfigLabel).setIninTestingField("grammar").setFeatureConfigName(H.default.orgAvailabilitySttEnginesGrammarBased).setIsOptional(true).setUiPropertyGroup(re.speechToText.recognitionParams.speechRecognitionParameters).setUiPropertyOrder(17).setDefaultToNoValue(true)), supportedFlowTypes: [u.flowTypes.flowTypeBot, u.flowTypes.flowTypeVoice, u.flowTypes.flowTypeVoiceSurvey], property: "grammar", type: N.expressionTypeNames.grammar, yamlOptions: ae.createYamlOptions("grammar", (e3) => e3.setExportOrder(70)) }, { property: "speechToTextEngine", label: re.speechToText.speechToTextEngineLabel, options: L.ManagedPropertyOptions.create((e3) => e3.setDropdownPlaceholder(re.grammars.grammarSlots.useSlotConfigDescription).setDescriptionInfo(re.speechToText.speechToTextEngineLabel, re.speechToText.speechToTextEngineForSlotDescriptionInfo).setIninTestingField("speechToTextEngine").setUiPropertyGroup(re.speechToText.recognitionParams.speechRecognitionParameters).setUiPropertyOrder(16)), createDetails: K.NetworkBasedActionProperty.createCreateDetails("speechToTextEngineId", "speechToTextEngineName", U.speechToTextEngineManager, null, re.speechToText.speechToTextEngineNotFound, null, null, (e3, t3) => null == t3 ? void 0 : t3.isBotTranscriptionConnectorTypeOrGrammarBased), supportedFlowTypes: [u.flowTypes.flowTypeBot, u.flowTypes.flowTypeVoice, u.flowTypes.flowTypeVoiceSurvey], yamlOptions: ae.createYamlOptions("speechToTextEngine", (e3) => e3.setExportOrder(71)) }, { label: re.speechToText.recognitionParams.speechToTextCompleteTimeoutLabel, options: D.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("speechToTextEngineCompleteTimeout").setDescriptionInfo(re.speechToText.recognitionParams.speechToTextCompleteTimeoutLabel, re.speechToText.recognitionParams.speechToTextCompleteTimeoutDescription).setFeatureConfigName(H.default.orgAvailabilitySttEnginesGrammarBased).setUiPropertyOrder(18).setIsOptional(true).setUiPropertyGroup(re.speechToText.recognitionParams.speechRecognitionParameters).setDurationStyle(S.durationStyles.secondsAndTenthsDuration).facets.setMinDur(0, true).setMaxDur(10 * y.default.msPerSecond, true)), supportedFlowTypes: [u.flowTypes.flowTypeBot, u.flowTypes.flowTypeVoice, u.flowTypes.flowTypeVoiceSurvey], type: N.expressionTypeNames.duration, property: "speechToTextEngineCompleteTimeout", yamlOptions: ae.createYamlOptions("speechToTextEngineCompleteTimeout", (e3) => e3.setExportOrder(80)) }, { label: re.speechToText.recognitionParams.speechToTextConfidenceLevelLabel, options: R.ExpressionTypeDecimalOptions.create((e3) => e3.setIninTestingField("speechToTextEngineConfidenceLevel").setDescriptionInfo(re.speechToText.recognitionParams.speechToTextConfidenceLevelLabel, re.speechToText.recognitionParams.speechToTextConfidenceLevelDescription).setFeatureConfigName(H.default.orgAvailabilitySttEnginesGrammarBased).setUiPropertyOrder(19).setIsOptional(true).setUiPropertyGroup(re.speechToText.recognitionParams.speechRecognitionParameters).facets.setMinDec(0).setMinValInclusive(true).setMaxDec(1).setMaxValInclusive(true)), supportedFlowTypes: [u.flowTypes.flowTypeBot, u.flowTypes.flowTypeVoice, u.flowTypes.flowTypeVoiceSurvey], type: N.expressionTypeNames.decimal, property: "speechToTextEngineConfidenceLevel", yamlOptions: ae.createYamlOptions("speechToTextEngineConfidenceLevel", (e3) => e3.setExportOrder(100)) }, { label: re.askForSlot.repromptHandling, options: F.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("repromptHandling").setUiPropertyGroup(re.askForSlot.continuationPromptGroupingLabel).setUiSingleItemSectionPropertyGroup(true).setUiPropertyOrder(14).setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(re.askForSlot.repromptHandlingOptions.repromptHandlingOptionManuallyManaged).setFeatureConfigName(H.default.botFlowsLLMPoweredSlot).facets.setAllowableValueShowOriginalDisplayStringInPopover(true).setTrim(true).setAllowableValueUseOriginalDisplayString(true).setAllowableValues(G.repromptHandlingOptions).setPreferRadioButtonsCount(2)), supportedFlowTypes: [u.flowTypes.flowTypeDigitalBot, u.flowTypes.flowTypeBot], type: N.expressionTypeNames.string, yamlOptions: ae.createYamlOptions("repromptHandling", (e3) => e3.setPropertyName("repromptHandling")), property: "repromptHandling" }, { label: re.askForSlot.continuationPrompt, options: w.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("continuationPrompt").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setScriptingPropertyName("continuationPrompt").setUiPropertyGroup(re.askForSlot.continuationPromptGroupingLabel).setUiSingleItemSectionPropertyGroup(true).setUiPropertyOrder(15).setFeatureConfigName(H.default.botFlowsLLMPoweredSlot).setDefaultToBuilderId(T.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(g.default)), optionsForSpecificFlowTypes: [{ flowTypes: [u.flowTypes.flowTypeDigitalBot], options: w.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("continuationPrompt").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setScriptingPropertyName("continuationPrompt").setUiPropertyGroup(re.askForSlot.continuationPromptGroupingLabel).setUiSingleItemSectionPropertyGroup(true).setUiPropertyOrder(15).setFeatureConfigName(H.default.botFlowsLLMPoweredSlot).setDefaultToBuilderId(T.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(g.default)) }], supportedFlowTypes: [u.flowTypes.flowTypeDigitalBot, u.flowTypes.flowTypeBot], type: N.expressionTypeNames.communication, yamlOptions: ae.createYamlOptions("continuationPrompt", (e3) => e3.setPropertyName("continuationPrompt")), property: "continuationPrompt" }, { label: re.askCommon.continuationReprompts, options: ae.createNoMatchProgressiveRepromptsOptions(T.builderIds.parts.genericCommunication), optionsForSpecificFlowTypes: [{ flowTypes: [u.flowTypes.flowTypeDigitalBot], options: ae.createNoMatchProgressiveRepromptsOptions(T.builderIds.parts.markdownCommunication) }], yamlOptions: ae.createYamlOptions("continuationReprompts", (e3) => e3.setPropertyName("continuationReprompts").setWrappedObjectName("customizeContinuation")), property: "continuationReprompts", type: N.expressionTypeNames.communication }, { options: b.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText(y.default.false).setIninTestingField("customizeContinuationNoMatchButton").setBoolText(re.askCommon.defaultContinuationPrompt, re.askCommon.customizeContinuationPrompt).setUiPropertyGroup(re.askForSlot.continuationPromptGroupingLabel).setUiPropertyOrder(28).setFeatureConfigName(H.default.botFlowsAIPoweredSlotsEnhancements)), yamlOptions: ae.createYamlOptions("customizeContinuation", (e3) => e3.setSkipProperty(true)), property: "customizeContinuation", type: N.expressionTypeNames.boolean }, (0, Z.createBargeInManagedProperty)(8, re.speechToText.recognitionParams.speechRecognitionParameters)]; } constructor(e3, t3) { super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), this._needsSpeechParamOverrideError = false, this._loadModel(t3), this._setOptions(this.noInput, _.default), this._setOptions(this.noMatch, h.default), this._setOptions(this.question, f.default), this._setOptions(this.continuationPrompt, g.default), this.addAutoCleanedUpEventListener(j.branchesChanged, () => { @@ -73977,16 +79804,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.model.selectedSlotType; } static createNoMatchProgressiveRepromptsOptions(e3) { - return R.ExpressionTypeCommunicationOptions.create((t3) => t3.setAllowSecure(true).setIninTestingField("continuationReprompts").setDescriptionInfo(re.askCommon.continuationReprompts, (0, c.sprintf)(q.default.generic.twoStringsSpaceSeparator, re.askCommon.continuationRepromptsDescription, re.errors.emptyCollectionInvokesErrorHandling)).setIsOptional(true).setRequiredFlowChannelType(V.channelTypeCall).setUiPropertyGroup(re.askForSlot.continuationPromptGroupingLabel).setScriptingPropertyName("continuationReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setDefaultToBuilderId(e3).setFeatureConfigName(H.default.botFlowsAIPoweredSlotsEnhancements).setUiPropertyOrder(27), true); + return w.ExpressionTypeCommunicationOptions.create((t3) => t3.setAllowSecure(true).setIninTestingField("continuationReprompts").setDescriptionInfo(re.askCommon.continuationReprompts, (0, d.sprintf)(q.default.generic.twoStringsSpaceSeparator, re.askCommon.continuationRepromptsDescription, re.errors.emptyCollectionInvokesErrorHandling)).setIsOptional(true).setRequiredFlowChannelType(V.channelTypeCall).setUiPropertyGroup(re.askForSlot.continuationPromptGroupingLabel).setScriptingPropertyName("continuationReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setDefaultToBuilderId(e3).setFeatureConfigName(H.default.botFlowsAIPoweredSlotsEnhancements).setUiPropertyOrder(27), true); } setSelectedSlotNameAndType(e3, t3, i3) { return !this.parentFlow.isReadOnly && (!p.default.isString(t3) && p.default.isString(e3) && e3.length && (t3 = this.parentFlow.getSlotToSlotTypeMap(true, false).get(e3)), this.model.selectedSlot = e3, this._updateAskResultProperty(), this.model.selectedSlotType = t3, this._updateHasMultiSelect(), this._updateConfirmationQuestionProperty(false), this.isChooserFunctionalityAvailable && (this.chooser.type.configureForSlotBySlotName(this.chooser, e3, i3), this._updateChooser(), this.chooser.type.isSelectedSlotTypeDynamicDateTime(this.chooser)), this.setOutOfService(), this._updateContinuationPromptProperty(false), Y.validateAction(this, true, true), true); } _initializeDesignTime() { - super._initializeDesignTime(), this.isChooserFunctionalityAvailable && this.chooser.isNoValueMode && this.chooser.setModeWithTransition(A.literal), this.isChooserFunctionalityAvailable && this.uiMetaData.version !== oe && (!this.chooser.type.getPresentationModeIsCarousel(this.chooser) && this.chooser.isLiteralMode && this.chooser.type.configureForSlotBySlotName(this.chooser, this.selectedSlot), this.uiMetaData.version = oe, this.chooser.type.applyNluDiffs(this.chooser, O.slotTypeValueMergeMode.asIndividualValues)), this._updateSpeechRecognitionSettings(), this._updateNluInformation(), this.addAutoCleanedUpEventListener(j.nluUpdatedByWorkbench, () => this._updateNluInformation()), this.addAutoCleanedUpEventListener(j.slotListPickerMappingUpdated, () => this._updateNluInformation()), this.speechToTextEngine.isOptional = true, this._updateChooser(), this.setOutOfService(); + super._initializeDesignTime(), this.isChooserFunctionalityAvailable && this.chooser.isNoValueMode && this.chooser.setModeWithTransition(A.literal), this.isChooserFunctionalityAvailable && this.uiMetaData.version !== oe && (!this.chooser.type.getPresentationModeIsCarousel(this.chooser) && this.chooser.isLiteralMode && this.chooser.type.configureForSlotBySlotName(this.chooser, this.selectedSlot), this.uiMetaData.version = oe, this.chooser.type.applyNluDiffs(this.chooser, v.slotTypeValueMergeMode.asIndividualValues)), this._updateSpeechRecognitionSettings(), this._updateNluInformation(), this.addAutoCleanedUpEventListener(j.nluUpdatedByWorkbench, () => this._updateNluInformation()), this.addAutoCleanedUpEventListener(j.slotListPickerMappingUpdated, () => this._updateNluInformation()), this.speechToTextEngine.isOptional = true, this._updateChooser(), this.setOutOfService(); } setOutOfService() { - const e3 = this.repromptHandling.text === G.manual.displayString, t3 = d.EntityUtil.isEntityTypeOfTypeAI(d.EntityUtil.getEntityTypeByName(this.parentFlow.nlu, this.selectedSlotType)); + const e3 = this.repromptHandling.text === G.manual.displayString, t3 = c.EntityUtil.isEntityTypeOfTypeAI(c.EntityUtil.getEntityTypeByName(this.parentFlow.nlu, this.selectedSlotType)); this.repromptHandling.outOfService = e3 || !t3, this.continuationPrompt.outOfService = !t3, this._updateProgressivePropertiesOOS(); } _showChooserLabelAndModeSelector(e3) { @@ -74005,7 +79832,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (!this.isChooserFunctionalityAvailable) return void (this.chooser.outOfService = true); let e3, t3 = false; const i3 = this.chooser.type.isSelectedSlotTypeListOrDynamicList(this.chooser); - this.selectedSlot ? this.chooser.isLiteralMode && (this.chooser.type.totalChoiceCountIsWithinLimits(this.chooser) ? this._doesSelectedSlotTypeSupportChooser ? i3 && this._previousPresentationModeBeforeTimePicker : (t3 = true, e3 = re.cardsAndCars.noRichMediaSlotTypeNotList) : e3 = (0, c.sprintf)(re.cardsAndCars.noRichMediaTooManyChoices, this.chooser.type.getMaxChoiceCountForPresentation(this.chooser)), this._updateSkipCapture()) : (t3 = true, e3 = re.cardsAndCars.noRichMediaNoSlotSelected), this.chooser.outOfService = t3, this.chooserNote.note = e3, i3 ? this._showChooserLabelAndModeSelector(true) : this.chooser.type.isSelectedSlotTypeDynamicDateTime(this.chooser) && this._showChooserLabelAndModeSelector(false), this.chooser.type.updateNluInfo(this.chooser); + this.selectedSlot ? this.chooser.isLiteralMode && (this.chooser.type.totalChoiceCountIsWithinLimits(this.chooser) ? this._doesSelectedSlotTypeSupportChooser ? i3 && this._previousPresentationModeBeforeTimePicker : (t3 = true, e3 = re.cardsAndCars.noRichMediaSlotTypeNotList) : e3 = (0, d.sprintf)(re.cardsAndCars.noRichMediaTooManyChoices, this.chooser.type.getMaxChoiceCountForPresentation(this.chooser)), this._updateSkipCapture()) : (t3 = true, e3 = re.cardsAndCars.noRichMediaNoSlotSelected), this.chooser.outOfService = t3, this.chooserNote.note = e3, i3 ? this._showChooserLabelAndModeSelector(true) : this.chooser.type.isSelectedSlotTypeDynamicDateTime(this.chooser) && this._showChooserLabelAndModeSelector(false), this.chooser.type.updateNluInfo(this.chooser); } _updateNluInformation() { this._updateAskResultProperty(), this._updateSelectedSlotType(), this._updateConfirmationQuestionProperty(false), this._updateHasMultiSelect(), this.setOutOfService(); @@ -74013,28 +79840,28 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; _updateSkipCapture() { var e3, t3, i3, n3, r3, o2, a2, s2, l2; if (!W.isFeatureAvailable(H.default.botFlowsSupportDontKnowAnswers)) return; - const u2 = !(null === (e3 = this.getBranch(k.default.skipResponseCaptureOptional.outputId)) || void 0 === e3 ? void 0 : e3.outOfService), d2 = this.chooser.type.getPresentationModeIsQuickReplies(this.chooser), c2 = this.chooser.type.getPresentationModeIsCarousel(this.chooser); - if (!d2 && !c2) return; + const u2 = !(null === (e3 = this.getBranch(k.default.skipResponseCaptureOptional.outputId)) || void 0 === e3 ? void 0 : e3.outOfService), c2 = this.chooser.type.getPresentationModeIsQuickReplies(this.chooser), d2 = this.chooser.type.getPresentationModeIsCarousel(this.chooser); + if (!c2 && !d2) return; const p2 = this.chooser.type.getPossibleChoices(this.chooser, false, true).filter((e4) => { if ((0, C.isChoiceExpression)(e4)) return e4.type.isSkipChoice(e4); }); if (u2 && 0 === (null == p2 ? void 0 : p2.length) && this.chooser.type.getPresentationModeExpression(this.chooser).isLiteralMode) { let e4; - d2 ? e4 = null === (r3 = null === (n3 = null === (i3 = null === (t3 = this.chooser) || void 0 === t3 ? void 0 : t3.properties) || void 0 === i3 ? void 0 : i3.quickreplies) || void 0 === n3 ? void 0 : n3.properties) || void 0 === r3 ? void 0 : r3.buttons : c2 && (e4 = null === (l2 = null === (s2 = null === (a2 = null === (o2 = this.chooser) || void 0 === o2 ? void 0 : o2.properties) || void 0 === a2 ? void 0 : a2.carousel) || void 0 === s2 ? void 0 : s2.properties) || void 0 === l2 ? void 0 : l2.cards), this.skipChoice = e4.addItem(); + c2 ? e4 = null === (r3 = null === (n3 = null === (i3 = null === (t3 = this.chooser) || void 0 === t3 ? void 0 : t3.properties) || void 0 === i3 ? void 0 : i3.quickreplies) || void 0 === n3 ? void 0 : n3.properties) || void 0 === r3 ? void 0 : r3.buttons : d2 && (e4 = null === (l2 = null === (s2 = null === (a2 = null === (o2 = this.chooser) || void 0 === o2 ? void 0 : o2.properties) || void 0 === a2 ? void 0 : a2.carousel) || void 0 === s2 ? void 0 : s2.properties) || void 0 === l2 ? void 0 : l2.cards), this.skipChoice = e4.addItem(); let u3 = this.skipChoice; - c2 && (this.skipChoice.properties.title.setText(re.generic.branches.skipResponse, false, true), u3 = this.skipChoice.properties.buttons.addItem()), u3.properties.command.outOfService = false, u3.properties.command.setText(te.ChoiceTypeCommands.SKIP, false, true), u3.properties.value.setText(re.generic.branches.skipResponse, false, true); + d2 && (this.skipChoice.properties.title.setText(re.generic.branches.skipResponse, false, true), u3 = this.skipChoice.properties.buttons.addItem()), u3.properties.command.outOfService = false, u3.properties.command.setText(te.ChoiceTypeCommands.SKIP, false, true), u3.properties.value.setText(re.generic.branches.skipResponse, false, true); } !u2 && (null == p2 ? void 0 : p2.length) > 0 && p2.forEach((e4) => { var t4; const i4 = e4.type.getContainer(e4); - i4 && (e4.type.hasQuickRepliesParent(e4) ? null === (t4 = e4.parentList) || void 0 === t4 || t4.collectionItems.removeChild(e4) : e4.type.hasCarouselParent(e4) && (0, v.isCardExpression)(i4) && (0, I.isCardCollection)(i4.parentList) && i4.parentList.collectionItems.removeChild(i4)); + i4 && (e4.type.hasQuickRepliesParent(e4) ? null === (t4 = e4.parentList) || void 0 === t4 || t4.collectionItems.removeChild(e4) : e4.type.hasCarouselParent(e4) && (0, I.isCardExpression)(i4) && (0, O.isCardCollection)(i4.parentList) && i4.parentList.collectionItems.removeChild(i4)); }); } propertyChanged(e3) { super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && (e3 === this.confirmationMode && this._updateConfirmationQuestionProperty(false), e3 === this.grammar && this._updateSpeechRecognitionSettings(), e3.propertyName && "customizeContinuation" === e3.propertyName && this._updateProgressivePropertiesOOS()); } _updateProgressivePropertiesOOS() { - const e3 = d.EntityUtil.isEntityTypeOfTypeAI(d.EntityUtil.getEntityTypeByName(this.parentFlow.nlu, this.selectedSlotType)); + const e3 = c.EntityUtil.isEntityTypeOfTypeAI(c.EntityUtil.getEntityTypeByName(this.parentFlow.nlu, this.selectedSlotType)); this.customizeContinuation.outOfService = !e3, this.continuationPrompt.outOfService = this._isContinuationNoMatchOOS() || !e3, this.continuationReprompts.outOfService = this._isContinuationNoMatchRepromptsOOS() || !e3; } _isContinuationNoMatchOOS() { @@ -74046,7 +79873,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; setNewInstanceDefaults(e3) { super.setNewInstanceDefaults(e3); const t3 = ne(this.parentFlow.defaultLanguage), i3 = this.selectedSlot; - p.default.isString(i3) && i3.length ? (this.parentFlow.isDigitalBotFlow ? this.setNewInstanceNoInputText((0, c.sprintf)(t3.askForSlot.noInputWithSlotDigitalBot, i3)) : this.setNewInstanceNoInputText((0, c.sprintf)(t3.askForSlot.noInputWithSlot, i3)), this.setNewInstanceQuestionText((0, c.sprintf)(t3.askForSlot.questionWithSlot, i3)), this.setNewInstanceNoMatchText((0, c.sprintf)(t3.askForSlot.noMatchWithSlot, i3))) : (this.parentFlow.isDigitalBotFlow ? this.setNewInstanceNoInputText(t3.askForSlot.noInputDigitalBot) : this.setNewInstanceNoInputText(t3.askForSlot.noInput), this.setNewInstanceQuestionText(t3.askForSlot.question), this.setNewInstanceNoMatchText(t3.askForSlot.noMatch)), this._updateConfirmationQuestionProperty(false), this._updateContinuationPromptProperty(false), this.setBranchOutOfService(k.default.maxNoInputsOptional.outputId), this.setBranchOutOfService(k.default.maxNoMatchesOptional.outputId), this.setBranchOutOfService(k.default.skipResponseCaptureOptional.outputId), this.setBranchOutOfService(k.default.default.outputId), this.isChooserFunctionalityAvailable && (this.uiMetaData.version = oe); + p.default.isString(i3) && i3.length ? (this.parentFlow.isDigitalBotFlow ? this.setNewInstanceNoInputText((0, d.sprintf)(t3.askForSlot.noInputWithSlotDigitalBot, i3)) : this.setNewInstanceNoInputText((0, d.sprintf)(t3.askForSlot.noInputWithSlot, i3)), this.setNewInstanceQuestionText((0, d.sprintf)(t3.askForSlot.questionWithSlot, i3)), this.setNewInstanceNoMatchText((0, d.sprintf)(t3.askForSlot.noMatchWithSlot, i3))) : (this.parentFlow.isDigitalBotFlow ? this.setNewInstanceNoInputText(t3.askForSlot.noInputDigitalBot) : this.setNewInstanceNoInputText(t3.askForSlot.noInput), this.setNewInstanceQuestionText(t3.askForSlot.question), this.setNewInstanceNoMatchText(t3.askForSlot.noMatch)), this._updateConfirmationQuestionProperty(false), this._updateContinuationPromptProperty(false), this.setBranchOutOfService(k.default.maxNoInputsOptional.outputId), this.setBranchOutOfService(k.default.maxNoMatchesOptional.outputId), this.setBranchOutOfService(k.default.skipResponseCaptureOptional.outputId), this.setBranchOutOfService(k.default.default.outputId), this.isChooserFunctionalityAvailable && (this.uiMetaData.version = oe); } _updateAskResultProperty() { const e3 = this.parentFlow.nluMetaData.getSlotVariableForSlotName(this.selectedSlot); @@ -74055,7 +79882,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; _updateContinuationPromptProperty(e3) { const t3 = ne(this.parentFlow.defaultLanguage); if (!this.continuationPrompt.outOfService) { - const e4 = (0, c.sprintf)(t3.askForSlot.continuationPromptWithSlot, this.selectedSlot); + const e4 = (0, d.sprintf)(t3.askForSlot.continuationPromptWithSlot, this.selectedSlot); this.continuationPrompt.setCommunicationBuilderText(e4); } e3 && this.continuationPrompt.resetForBuilder(true, false); @@ -74077,37 +79904,37 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var t3, i3, o2, a2, s2, u2, p2, _2, h2, m2, g2, f2, T2, y2; if (this._updateChooser(), super.validate(e3), l.__classPrivateFieldSet(this, n2, false, "f"), l.__classPrivateFieldSet(this, r2, void 0, "f"), this.selectedSlot) { const e4 = this.parentFlow.getAllSlotsToSlotHandlingMap().get(this.selectedSlot); - void 0 === e4 ? l.__classPrivateFieldSet(this, r2, (0, c.sprintf)(re.askForSlot.selectedSlotError, this.selectedSlot), "f") : e4 !== z.SlotHandlingType.standardSlot && l.__classPrivateFieldSet(this, r2, (0, c.sprintf)(re.voiceSurvey.voiceSurveySlotNotAllowedErrorMessage, this.selectedSlot), "f"); + void 0 === e4 ? l.__classPrivateFieldSet(this, r2, (0, d.sprintf)(re.askForSlot.selectedSlotError, this.selectedSlot), "f") : e4 !== $.SlotHandlingType.standardSlot && l.__classPrivateFieldSet(this, r2, (0, d.sprintf)(re.voiceSurvey.voiceSurveySlotNotAllowedErrorMessage, this.selectedSlot), "f"); } else this.selectedSlot || l.__classPrivateFieldSet(this, r2, re.askForSlot.noSlotSelected, "f"); if (l.__classPrivateFieldGet(this, r2, "f") && (l.__classPrivateFieldSet(this, n2, true, "f"), e3.addError(this, l.__classPrivateFieldGet(this, r2, "f"))), this._updateSelectedSlotType(), this.selectedSlot && this.askResult.isEmpty && e3.addError(this, re.askForSlot.askForSlotInvalid), this.chooser.isLiteralMode) { const t4 = this.chooser.type.getPresentationModeIsTimePicker(this.chooser), i4 = this.chooser.type.isSelectedSlotTypeDynamicDateTime(this.chooser), n3 = this.chooser.type.getPresentationModeStr(this.chooser); if (t4 !== i4 && !this.chooser.outOfService) { - const t5 = (0, c.sprintf)(re.cardsAndCars.expression.chooserPresentationModeNotAllowedWithMismatchSlotType, n3); + const t5 = (0, d.sprintf)(re.cardsAndCars.expression.chooserPresentationModeNotAllowedWithMismatchSlotType, n3); ie.default.addError(e3, this.chooser, t5); } } if (!this.confirmationQuestion.outOfService && this.selectedSlot && this.confirmationQuestion.config) { const t4 = this.parentFlow.nluMetaData.getSlotVariableForSlotName(this.selectedSlot); - t4 && this.confirmationQuestion.variables && !this.confirmationQuestion.variables[t4.id] && ie.default.addWarning(e3, this.confirmationQuestion, (0, c.sprintf)(re.askForSlot.confirmationQuestionDoesNotReferenceSlotVariable, t4.name)); + t4 && this.confirmationQuestion.variables && !this.confirmationQuestion.variables[t4.id] && ie.default.addWarning(e3, this.confirmationQuestion, (0, d.sprintf)(re.askForSlot.confirmationQuestionDoesNotReferenceSlotVariable, t4.name)); } if (!this.continuationPrompt.outOfService && this.selectedSlot && this.continuationPrompt.config) { const t4 = this.parentFlow.nluMetaData.getSlotVariableForSlotName(this.selectedSlot); if (t4 && this.continuationPrompt.variables && !this.continuationPrompt.variables[t4.id]) { - const i4 = (0, c.sprintf)(re.askForSlot.continuationPromptDoesNotReferenceSlotVariable, t4.name); + const i4 = (0, d.sprintf)(re.askForSlot.continuationPromptDoesNotReferenceSlotVariable, t4.name); e3.addExpressionWarning(this.continuationPrompt, i4); } } if (this.selectedSlot && this.selectedSlotType && !this.confirmationMode.outOfService) { - const t4 = d.EntityUtil.hasMinLengthForEntityType(d.EntityUtil.getEntityTypeByName(this.parentFlow.nlu, this.selectedSlotType)), i4 = this.confirmationMode.isLiteralMode && this.confirmationMode.text === B.never.id; + const t4 = c.EntityUtil.hasMinLengthForEntityType(c.EntityUtil.getEntityTypeByName(this.parentFlow.nlu, this.selectedSlotType)), i4 = this.confirmationMode.isLiteralMode && this.confirmationMode.text === B.never.id; if (t4 && i4) { - const t5 = (0, c.sprintf)(re.askForSlot.confirmationModeNeverWithRangeValuesWarning, this.selectedSlot); + const t5 = (0, d.sprintf)(re.askForSlot.confirmationModeNeverWithRangeValuesWarning, this.selectedSlot); e3.addExpressionWarning(this.confirmationMode, t5); } } - if (this._needsSpeechParamOverrideError && (this.speechToTextEngineId ? (e3.addError(this, (0, c.sprintf)(re.grammars.modal.overrideSpeechRecognitionErrorMessage, re.speechToText.speechToTextEngineLabel, re.grammars.grammarLabel)), this.grammar.setParseError((0, c.sprintf)(re.grammars.modal.overrideSpeechRecognitionErrorMessageAlternative, re.grammars.grammarLabel))) : (e3.addError(this, (0, c.sprintf)(re.grammars.modal.overrideSpeechRecognitionErrorMessage, re.grammars.grammarLabel, re.speechToText.speechToTextEngineLabel)), this.speechToTextEngine.currentUiErrorMessage = (0, c.sprintf)(re.grammars.modal.overrideSpeechRecognitionErrorMessageAlternative, re.speechToText.speechToTextEngineLabel))), this.isChooserFunctionalityAvailable && this.chooser && this.chooser.type.getPresentationModeIsQuickReplies(this.chooser)) { + if (this._needsSpeechParamOverrideError && (this.speechToTextEngineId ? (e3.addError(this, (0, d.sprintf)(re.grammars.modal.overrideSpeechRecognitionErrorMessage, re.speechToText.speechToTextEngineLabel, re.grammars.grammarLabel)), this.grammar.setParseError((0, d.sprintf)(re.grammars.modal.overrideSpeechRecognitionErrorMessageAlternative, re.grammars.grammarLabel))) : (e3.addError(this, (0, d.sprintf)(re.grammars.modal.overrideSpeechRecognitionErrorMessage, re.grammars.grammarLabel, re.speechToText.speechToTextEngineLabel)), this.speechToTextEngine.currentUiErrorMessage = (0, d.sprintf)(re.grammars.modal.overrideSpeechRecognitionErrorMessageAlternative, re.speechToText.speechToTextEngineLabel))), this.isChooserFunctionalityAvailable && this.chooser && this.chooser.type.getPresentationModeIsQuickReplies(this.chooser)) { const n3 = (null === (p2 = null === (u2 = null === (s2 = null === (a2 = null === (o2 = null === (i3 = null === (t3 = this.chooser) || void 0 === t3 ? void 0 : t3.properties) || void 0 === i3 ? void 0 : i3.quickreplies) || void 0 === o2 ? void 0 : o2.properties) || void 0 === a2 ? void 0 : a2.buttons) || void 0 === s2 ? void 0 : s2.collectionItems) || void 0 === u2 ? void 0 : u2.items) || void 0 === p2 ? void 0 : p2.filter((e4) => e4.type.isSkipChoice(e4))) || []; n3.length > 1 && n3.forEach((t4) => { - e3.addExpressionError(t4, (0, c.sprintf)(re.askForSlot.tooManySkipChoicesError, n3.length)); + e3.addExpressionError(t4, (0, d.sprintf)(re.askForSlot.tooManySkipChoicesError, n3.length)); }); } if (this.isChooserFunctionalityAvailable && this.chooser && this.chooser.type.getPresentationModeIsCarousel(this.chooser)) { @@ -74116,7 +79943,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return null === (r3 = null === (n3 = null === (i4 = null === (t5 = null == e4 ? void 0 : e4.properties) || void 0 === t5 ? void 0 : t5.buttons) || void 0 === i4 ? void 0 : i4.collectionItems) || void 0 === n3 ? void 0 : n3.items) || void 0 === r3 ? void 0 : r3.filter((e5) => e5.type.isSkipChoice(e5)).length; })) || []; t4.length > 1 && t4.forEach((i4) => { - e3.addExpressionError(i4, (0, c.sprintf)(re.askForSlot.tooManySkipChoicesError, t4.length)); + e3.addExpressionError(i4, (0, d.sprintf)(re.askForSlot.tooManySkipChoicesError, t4.length)); }); } } @@ -74125,7 +79952,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return void 0 === this._isChooserFunctionalityAvailable && (this._isChooserFunctionalityAvailable = (null === (t3 = null === (e3 = this.chooser) || void 0 === e3 ? void 0 : e3.supportedFlowTypes) || void 0 === t3 ? void 0 : t3.includes(this.parentFlow.type)) && (null === (n3 = null === (i3 = this.chooser) || void 0 === i3 ? void 0 : i3.type) || void 0 === n3 ? void 0 : n3.isAvailableForFlowType(this.parentFlow.type))), this._isChooserFunctionalityAvailable; } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), ae.info = K.default.createActionInfo({ actionClass: ae, canBeInTask: true, helpTopic: J.helpTopics.actions.askForSlot, modelClass: i2(21453), name: re.actions.askForSlot, scriptingName: "ArchActionAskForSlot", supportsUtteranceHistoricalData: true }), t2.default = ae; + n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), ae.info = z.default.createActionInfo({ actionClass: ae, canBeInTask: true, helpTopic: J.helpTopics.actions.askForSlot, modelClass: i2(21453), name: re.actions.askForSlot, scriptingName: "ArchActionAskForSlot", supportsUtteranceHistoricalData: true, modelFormatSupport: { flowYaml: { inProgress: true, feature: H.default.changeSetsFeaturePhase2 } } }), t2.default = ae; }, 60885: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.lexStatuses = void 0, t2.lexStatuses = { v1: { building: "BUILDING", failed: "FAILED", notBuilt: "NOT_BUILT", ready: "READY", readyLower: "ready" }, v2: { creating: "CREATING", available: "AVAILABLE", availableLower: "available", deleting: "DELETING", failed: "FAILED" } }; @@ -74134,7 +79961,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 61086: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = i2(58525), l = i2(97951), u = n2.__importStar(i2(17498)), d = n2.__importStar(i2(1115)), c = i2(12457), p = n2.__importDefault(i2(5730)), _ = i2(80428), h = i2(81801), m = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = i2(58525), l = i2(97951), u = n2.__importStar(i2(17498)), c = n2.__importStar(i2(1115)), d = i2(12457), p = n2.__importDefault(i2(5730)), _ = i2(80428), h = i2(81801), m = i2(47957); class g extends p.default { get yamlActionSectionName() { } @@ -74142,7 +79969,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super(e3.parentFlow, e3), this._serverManager = i3, this._loadModel(t3); } getDetails() { - return this.actionName ? new c.ActionDetails([m.bridgeServer.action], [this.actionName]) : null; + return this.actionName ? new d.ActionDetails([m.bridgeServer.action], [this.actionName]) : null; } getCachedServerPropertyByName(e3, t3) { return this._serverManager.getCachedServerPropertyByName(e3, this.actionId, t3, this); @@ -74158,7 +79985,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } setIntegrationActionByViewModel(e3, t3) { const i3 = e3 ? e3.name : "", n3 = e3 ? e3.actionId ? e3.actionId : e3.id : void 0; - this.actionName && (this._serverManager.tryRemoveItemFromFlowMetadata(this, this.actionId ? this.actionId : this.actionName), u.unRegisterConsumer(this, this._serverManager.dependencyContext)), this.actionId = n3, this.actionName = i3, this.supportsCategories && this.setCategory(e3, t3), this.actionName && (this.supportsTimeout && this.resetTimeout(), this._serverManager.addItemToFlowMetadata(this, this.actionName, n3), this.mergeSchemaProperties(e3)), d.validateItem(this, false, true); + this.actionName && (this._serverManager.tryRemoveItemFromFlowMetadata(this, this.actionId ? this.actionId : this.actionName), u.unRegisterConsumer(this, this._serverManager.dependencyContext)), this.actionId = n3, this.actionName = i3, this.supportsCategories && this.setCategory(e3, t3), this.actionName && (this.supportsTimeout && this.resetTimeout(), this._serverManager.addItemToFlowMetadata(this, this.actionName, n3), this.mergeSchemaProperties(e3)), c.validateItem(this, false, true); } static get managedProperties() { return [{ property: "category", isJustForFlowYaml: true, yamlOptions: g.createYamlOptions("category", (e3) => e3.setSkipProperty(true).setExportOrder(50)) }]; @@ -74240,6 +80067,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, l = (e3) => (s(e3 |= 0), n2.subarray(r2 - e3, r2)), u = (e3, t3, i3) => { let n3 = (2 << 31 - Math.clz32(e3.length - 1 | 1)) - 1, r3 = Math.ceil(1.6 * n3 * t3 / e3.length); return (o2 = t3) => { + if (o2 <= 0) return ""; let a2 = ""; for (; ; ) { let t4 = i3(r3), s2 = r3; @@ -74319,8 +80147,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }; }, 61289: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = n2.__importStar(i2(63824)), s = i2(80428), l = i2(24032), u = i2(67607), d = i2(79467), c = i2(58525), p = n2.__importStar(i2(99434)), _ = i2(12179), h = i2(12457), m = n2.__importDefault(i2(97891)), g = n2.__importDefault(i2(5730)), f = (0, l.getTopic)("HoldMusicActionModel"), T = i2(47957); - class y extends g.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = n2.__importStar(i2(63824)), s = i2(80428), l = i2(24032), u = i2(67607), c = i2(79467), d = i2(58525), p = n2.__importStar(i2(99434)), _ = i2(12179), h = i2(12457), m = n2.__importDefault(i2(97891)), g = n2.__importDefault(i2(5730)), f = n2.__importDefault(i2(4648)), T = (0, l.getTopic)("HoldMusicActionModel"), y = i2(47957); + class S extends g.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -74329,20 +80157,20 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } getDetails() { const e3 = [], t3 = []; - if (this.prompt && this.prompt.text ? (e3.push(T.audio.sequenceTypePromptLabel), t3.push(this.prompt.text)) : this.prompt && this.prompt.defaultExpression && this.prompt.defaultExpression.text && (e3.push(T.audio.sequenceTypePromptLabel), t3.push(this.prompt.defaultExpression.text)), this.playForDuration && this.duration && this.duration.text) { + if (this.prompt && this.prompt.text ? (e3.push(y.audio.sequenceTypePromptLabel), t3.push(this.prompt.text)) : this.prompt && this.prompt.defaultExpression && this.prompt.defaultExpression.text && (e3.push(y.audio.sequenceTypePromptLabel), t3.push(this.prompt.defaultExpression.text)), this.playForDuration && this.duration && this.duration.text) { const i3 = p.getDisplayText(this.duration); - e3.push(T.holdMusic.durationLabel), t3.push(i3); + e3.push(y.holdMusic.durationLabel), t3.push(i3); } return new h.ActionDetails(e3, t3); } _initializeDesignTime() { - super._initializeDesignTime(), this.prompt.options.setAllowModeLiteral(true), this.prompt.isVariableMode && (this.prompt.setAsExpression(this.prompt.text), f.info(`Migrated hold action '${this.id} to prompt reference`)), this.prompt.options.setAllowModeVariable(false); + super._initializeDesignTime(), this.prompt.options.setAllowModeLiteral(true), this.prompt.isVariableMode && (this.prompt.setAsExpression(this.prompt.text), T.info(`Migrated hold action '${this.id} to prompt reference`)), this.prompt.options.setAllowModeVariable(false); } setOutOfService() { this.duration.outOfService = !this.model.playForDuration; } static get managedProperties() { - return [{ property: "duration", label: T.holdMusic.durationLabel, type: s.expressionTypeNames.duration, options: d.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(o.default.litDurationOneMinute).setDurationStyle(a.durationStyles.minutesSecondsAndMsDuration).setIninTestingField("durationExpression").facets.setMinDur(0, true).setMaxDur(900 * o.default.msPerSecond, true)) }, { property: "prompt", label: T.holdMusic.promptLabel, type: s.expressionTypeNames.prompt, options: c.ExpressionTypePromptOptions.create((e3) => e3.setIninTestingField("holdPrompt").setDefaultText("Flow.HoldPrompt").setDefaultToExpression(true).setAllowModeVariable(true).setAllowModeExpression(true).setAllowModeLiteral(false).setRequireAudio(true)) }, { property: "bargeInExpression", label: T.audio.bargeInExpressionLabel, type: s.expressionTypeNames.boolean, options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setIninTestingField("bargeInExpression").setAsInput(true).setUseCheckbox(true).setDefaultText(o.default.false)), yamlOptions: y.createYamlOptions("bargeInExpression", (e3) => e3.setPropertyName("bargeInEnabled")) }]; + return [{ property: "duration", label: y.holdMusic.durationLabel, type: s.expressionTypeNames.duration, options: c.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(o.default.litDurationOneMinute).setDurationStyle(a.durationStyles.minutesSecondsAndMsDuration).setIninTestingField("durationExpression").facets.setMinDur(0, true).setMaxDur(900 * o.default.msPerSecond, true)) }, { property: "prompt", label: y.holdMusic.promptLabel, type: s.expressionTypeNames.prompt, options: d.ExpressionTypePromptOptions.create((e3) => e3.setIninTestingField("holdPrompt").setDefaultText("Flow.HoldPrompt").setDefaultToExpression(true).setAllowModeVariable(true).setAllowModeExpression(true).setAllowModeLiteral(false).setRequireAudio(true)) }, { property: "bargeInExpression", label: y.audio.bargeInExpressionLabel, type: s.expressionTypeNames.boolean, options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setIninTestingField("bargeInExpression").setAsInput(true).setUseCheckbox(true).setDefaultText(o.default.false)), yamlOptions: S.createYamlOptions("bargeInExpression", (e3) => e3.setPropertyName("bargeInEnabled")) }]; } get playForDuration() { return this.model.playForDuration; @@ -74354,7 +80182,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; e3.playStyle = {}, this.playForDuration ? r2.default.moveAndDeleteProperty(e3, e3.playStyle, "duration") : (e3.playStyle.entirePrompt = true, delete e3.duration); } } - y.info = m.default.createActionInfo({ actionClass: y, canBeInTask: true, helpTopic: _.helpTopics.actions.holdMusic, modelClass: i2(44103), name: T.actions.holdMusic, scriptingName: "ArchActionHoldMusic" }), t2.A = y; + S.info = m.default.createActionInfo({ actionClass: S, canBeInTask: true, helpTopic: _.helpTopics.actions.holdMusic, modelClass: i2(44103), name: y.actions.holdMusic, scriptingName: "ArchActionHoldMusic", modelFormatSupport: { flowYaml: { inProgress: true, feature: f.default.changeSetsFeaturePhase2 } } }), t2.A = S; }, 61343: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.inboundShortMessageListManager = t2.InboundShortMessageListManager = void 0; @@ -74493,7 +80321,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 61427: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(8851)), o = n2.__importDefault(i2(82394)), a = n2.__importDefault(i2(34345)), s = n2.__importDefault(i2(76366)), l = n2.__importDefault(i2(39983)), u = n2.__importDefault(i2(86977)), d = n2.__importDefault(i2(52096)), c = n2.__importDefault(i2(97086)), p = n2.__importDefault(i2(61843)), _ = n2.__importDefault(i2(41377)), h = n2.__importDefault(i2(3596)), m = n2.__importDefault(i2(93856)), g = n2.__importDefault(i2(53538)), f = n2.__importDefault(i2(17548)), T = n2.__importDefault(i2(44542)), y = n2.__importDefault(i2(85003)), S = n2.__importDefault(i2(91734)), A = n2.__importDefault(i2(12033)), N = { actions: r2.default, audio: o.default, baseClasses: a.default, definitions: s.default, filters: l.default, flows: u.default, menus: d.default, outputs: c.default, prompts: p.default, settings: _.default, speechRec: h.default, speechToText: m.default, tasks: g.default, textToSpeech: f.default, traverse: T.default, validation: y.default, values: S.default, variables: A.default }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(8851)), o = n2.__importDefault(i2(60013)), a = n2.__importDefault(i2(34345)), s = n2.__importDefault(i2(76366)), l = n2.__importDefault(i2(39983)), u = n2.__importDefault(i2(86977)), c = n2.__importDefault(i2(52096)), d = n2.__importDefault(i2(97086)), p = n2.__importDefault(i2(61843)), _ = n2.__importDefault(i2(41377)), h = n2.__importDefault(i2(3596)), m = n2.__importDefault(i2(93856)), g = n2.__importDefault(i2(53538)), f = n2.__importDefault(i2(17548)), T = n2.__importDefault(i2(44542)), y = n2.__importDefault(i2(85003)), S = n2.__importDefault(i2(91734)), A = n2.__importDefault(i2(12033)), N = { actions: r2.default, audio: o.default, baseClasses: a.default, definitions: s.default, filters: l.default, flows: u.default, menus: c.default, outputs: d.default, prompts: p.default, settings: _.default, speechRec: h.default, speechToText: m.default, tasks: g.default, textToSpeech: f.default, traverse: T.default, validation: y.default, values: S.default, variables: A.default }; t2.default = N; }, 61510: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "\u0647\u0630\u0627 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D.", noInputReceived: "\u0644\u0645 \u0623\u062A\u0644\u0642\u0649 \u0623\u064A \u0645\u062F\u062E\u0644\u0627\u062A." }, askForBoolean: { noInput: '\u0642\u0644 "\u0646\u0639\u0645" \u0625\u0630\u0627 \u0643\u0646\u062A \u062A\u0631\u064A\u062F \u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629 \u0623\u0648 "\u0644\u0627" \u0625\u0630\u0627 \u0644\u0645 \u062A\u0643\u0646 \u062A\u0631\u064A\u062F \u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629.', noMatch: '\u064A\u0631\u062C\u0649 \u0623\u0646 \u062A\u0642\u0648\u0644 "\u0646\u0639\u0645" \u0623\u0648 "\u0644\u0627". \u0647\u0644 \u062A\u0631\u064A\u062F \u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629\u061F', question: "\u0647\u0644 \u062A\u0631\u064A\u062F \u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629\u061F", noInputDigitalBot: '\u0623\u062F\u062E\u0644 "\u0646\u0639\u0645" \u0625\u0630\u0627 \u0643\u0646\u062A \u062A\u0631\u064A\u062F \u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629 \u0623\u0648 "\u0644\u0627" \u0625\u0630\u0627 \u0643\u0646\u062A \u0644\u0627 \u062A\u0631\u064A\u062F \u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629.', noMatchDigitalBot: '\u064A\u0631\u062C\u0649 \u0625\u062F\u062E\u0627\u0644 "\u0646\u0639\u0645" \u0623\u0648 "\u0644\u0627". \u0647\u0644 \u062A\u0631\u064A\u062F \u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629\u061F' }, askForIntent: { noInput: '\u062A\u062D\u062F\u062B \u0641\u0642\u0637 \u062C\u0645\u0644\u0629 \u0642\u0635\u064A\u0631\u0629 \u062A\u0635\u0641 \u0627\u0633\u062A\u0639\u0644\u0627\u0645\u0643. \u0639\u0644\u0649 \u0633\u0628\u064A\u0644 \u0627\u0644\u0645\u062B\u0627\u0644\u060C "\u062A\u062D\u0642\u0642 \u0645\u0646 \u0631\u0635\u064A\u062F \u062D\u0633\u0627\u0628\u064A"', noMatch: "\u0623\u062E\u0628\u0631\u0646\u064A \u0645\u0631\u0629 \u0623\u062E\u0631\u0649 \u0628\u0645\u0627 \u062A\u0631\u064A\u062F \u0641\u0639\u0644\u0647.", question: "\u0645\u0627 \u0627\u0644\u0630\u064A \u062A\u0648\u062F \u0641\u0639\u0644\u0647\u061F", noInputDigitalBot: '\u064A\u0631\u062C\u0649 \u0625\u062F\u062E\u0627\u0644 \u062C\u0645\u0644\u0629 \u0642\u0635\u064A\u0631\u0629 \u062A\u0635\u0641 \u0627\u0633\u062A\u0639\u0644\u0627\u0645\u0643. \u0639\u0644\u0649 \u0633\u0628\u064A\u0644 \u0627\u0644\u0645\u062B\u0627\u0644\u060C "\u062A\u062D\u0642\u0642 \u0645\u0646 \u0631\u0635\u064A\u062F \u062D\u0633\u0627\u0628\u064A"' }, askForSlot: { askFor: "\u0627\u0637\u0644\u0628 %1$s", noInput: "\u064A\u0631\u062C\u0649 \u0623\u0646 \u062A\u0642\u0648\u0644 \u0623\u0648 \u062A\u062F\u062E\u0644 (\u064A\u0631\u062C\u0649 \u0648\u0636\u0639 \u0627\u0633\u0645 \u0645\u0646\u0641\u0630\u0643 \u0647\u0646\u0627).", noInputWithSlot: "\u064A\u0631\u062C\u0649 \u0623\u0646 \u062A\u0642\u0648\u0644 \u0623\u0648 \u062A\u062F\u062E\u0644 %1$s.", noMatch: "\u064A\u0631\u062C\u0649 \u0625\u0639\u0637\u0627\u0626\u064A (\u064A\u0631\u062C\u0649 \u0625\u062F\u062E\u0627\u0644 \u0627\u0633\u0645 \u0645\u0646\u0641\u0630\u0643 \u0647\u0646\u0627) \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.", noMatchWithSlot: "\u064A\u0631\u062C\u0649 \u0625\u0639\u0637\u0627\u0626\u064A %1$s \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.", question: "\u0645\u0627 \u0647\u0648 (\u064A\u0631\u062C\u0649 \u0625\u062F\u062E\u0627\u0644 \u0627\u0633\u0645 \u0645\u0646\u0641\u0630\u0643 \u0647\u0646\u0627)\u061F", questionWithSlot: "\u0645\u0627 \u0647\u0648 %1$s\u061F", pleaseEnterSlotNameHere: "(\u064A\u0631\u062C\u0649 \u0648\u0636\u0639 \u0627\u0633\u0645 \u0645\u0646\u0641\u0630\u0643 \u0647\u0646\u0627)", noInputDigitalBot: "\u064A\u0631\u062C\u0649 \u0625\u062F\u062E\u0627\u0644 (\u064A\u0631\u062C\u0649 \u0648\u0636\u0639 \u0627\u0633\u0645 \u0645\u0646\u0641\u0630\u0643 \u0647\u0646\u0627).", noInputWithSlotDigitalBot: "\u064A\u0631\u062C\u0649 \u0625\u062F\u062E\u0627\u0644 %1$s.", continuationPromptWithSlot: "\u0644\u0642\u062F \u062D\u0635\u0644\u062A \u0639\u0644\u0649 {{Slot.%1$s}} \u062D\u062A\u0649 \u0627\u0644\u0622\u0646\u060C \u0623\u0631\u062C\u0648 \u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629." }, askForNextSlot: { noInput: '\u0642\u0644 "\u0646\u0639\u0645" \u0625\u0630\u0627 \u0643\u0627\u0646 \u0644\u062F\u064A\u0643 \u0627\u0633\u062A\u0639\u0644\u0627\u0645 \u0622\u062E\u0631\u060C \u0623\u0648 "\u0644\u0627" \u0644\u0625\u0646\u0647\u0627\u0621 \u0627\u0644\u0645\u0643\u0627\u0644\u0645\u0629.', noMatch: '\u0642\u0644 "\u0646\u0639\u0645" \u0625\u0630\u0627 \u0643\u0627\u0646 \u0644\u062F\u064A\u0643 \u0627\u0633\u062A\u0639\u0644\u0627\u0645 \u0622\u062E\u0631\u060C \u0623\u0648 "\u0644\u0627" \u0644\u0625\u0646\u0647\u0627\u0621 \u0627\u0644\u062C\u0644\u0633\u0629.', question: "\u0647\u0644 \u0647\u0646\u0627\u0643 \u0623\u064A \u0634\u064A\u0621 \u0622\u062E\u0631 \u0623\u0633\u062A\u0637\u064A\u0639 \u0645\u0633\u0627\u0639\u062F\u062A\u0643 \u0641\u064A\u0647\u061F", noInputDigitalBot: '\u0623\u062F\u062E\u0644 "\u0646\u0639\u0645" \u0625\u0630\u0627 \u0643\u0627\u0646 \u0644\u062F\u064A\u0643 \u0627\u0633\u062A\u0639\u0644\u0627\u0645 \u0622\u062E\u0631\u060C \u0623\u0648 "\u0644\u0627" \u0644\u0625\u0646\u0647\u0627\u0621 \u0627\u0644\u062C\u0644\u0633\u0629.', noMatchDigitalBot: '\u0623\u062F\u062E\u0644 "\u0646\u0639\u0645" \u0625\u0630\u0627 \u0643\u0627\u0646 \u0644\u062F\u064A\u0643 \u0627\u0633\u062A\u0639\u0644\u0627\u0645 \u0622\u062E\u0631\u060C \u0623\u0648 "\u0644\u0627" \u0644\u0625\u0646\u0647\u0627\u0621 \u0627\u0644\u062C\u0644\u0633\u0629.' }, askForPayment: { noInputDigitalBot: "\u064A\u064F\u0631\u062C\u0649 \u062A\u0642\u062F\u064A\u0645 \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u062F\u0641\u0639 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643 \u0644\u0644\u0645\u062A\u0627\u0628\u0639\u0629.", noMatchDigitalBot: "\u0644\u0645 \u0623\u0641\u0647\u0645 \u0631\u062F\u0643. \u062A\u064F\u0631\u062C\u0649 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629." }, askForAuthentication: { noInputDigitalBot: "\u064A\u064F\u0631\u062C\u0649 \u062A\u0642\u062F\u064A\u0645 \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0645\u0635\u0627\u062F\u0642\u0629 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643 \u0644\u0644\u0645\u062A\u0627\u0628\u0639\u0629.", noMatchDigitalBot: "\u0644\u0645 \u0623\u0641\u0647\u0645 \u0631\u062F\u0643. \u062A\u064F\u0631\u062C\u0649 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629." }, askSurveyQuestion: { notApplicable: "\u063A\u064A\u0631 \u0642\u0627\u0628\u0644 \u0644\u0644\u062A\u0637\u0628\u064A\u0642", surveyAnswerOptionSequence: "\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 %1$s \u0644\u0640 '%2$s'.", surveyAnswerNotApplicableSequence: "\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0639\u0644\u0627\u0645\u0629 \u0627\u0644\u0646\u062C\u0645\u0629 \u0644\u062A\u062D\u062F\u064A\u062F \u063A\u064A\u0631 \u0642\u0627\u0628\u0644 \u0644\u0644\u062A\u0637\u0628\u064A\u0642.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. \u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0639\u0644\u0627\u0645\u0629 \u0627\u0644\u0646\u062C\u0645\u0629 \u0644\u062A\u062D\u062F\u064A\u062F \u063A\u064A\u0631 \u0642\u0627\u0628\u0644 \u0644\u0644\u062A\u0637\u0628\u064A\u0642.", voiceSurveyNoInputText: "\u064A\u064F\u0631\u062C\u0649 \u0627\u0644\u0625\u062C\u0627\u0628\u0629 \u0639\u0646 \u0627\u0644\u0633\u0624\u0627\u0644.", voiceSurveyNoMatchText: "\u0644\u0645 \u0623\u0641\u0647\u0645." }, commonModule: { exitCommonModule: "\u062E\u0631\u0648\u062C \u0645\u0646 \u0627\u0644\u0648\u062D\u062F\u0629 \u0627\u0644\u0645\u0634\u062A\u0631\u0643\u0629" }, form: { noInputDigitalBot: "\u064A\u064F\u0631\u062C\u0649 \u0625\u0643\u0645\u0627\u0644 \u0627\u0644\u0646\u0645\u0648\u0630\u062C \u0644\u0644\u0645\u062A\u0627\u0628\u0639\u0629.", noMatchDigitalBot: "\u064A\u064F\u0631\u062C\u0649 \u0625\u0643\u0645\u0627\u0644 \u0627\u0644\u0646\u0645\u0648\u0630\u062C \u0644\u0644\u0645\u062A\u0627\u0628\u0639\u0629." }, messagingTemplate: { noInputDigitalBot: "\u064A\u064F\u0631\u062C\u064A \u062A\u062D\u062F\u064A\u062F \u0623\u062D\u062F \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A \u0627\u0644\u0645\u062A\u0648\u0641\u0631\u0629.", noMatchDigitalBot: "\u064A\u064F\u0631\u062C\u064A \u062A\u062D\u062F\u064A\u062F \u0623\u062D\u062F \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A \u0627\u0644\u0645\u062A\u0648\u0641\u0631\u0629." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u0645\u062A\u0627\u0628\u0639\u0629", knowledgeAnswerHighlightFullArticleDefault: "\u0639\u0631\u0636 \u0627\u0644\u0645\u0642\u0627\u0644\u0629 \u0627\u0644\u0643\u0627\u0645\u0644\u0629", knowledgeInitialResponseMulti: "\u0644\u0645\u0633\u0627\u0639\u062F\u062A\u064A \u0641\u064A \u062A\u0648\u0636\u064A\u062D \u0647\u062F\u0641\u0643\u060C \u064A\u0631\u062C\u0649 \u0627\u062E\u062A\u064A\u0627\u0631 \u0631\u0642\u0645 \u0645\u0646 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629:", knowledgeInitialResponseMultiRetry: "\u064A\u0631\u062C\u0649 \u0627\u062E\u062A\u064A\u0627\u0631 \u0631\u0642\u0645\u060C \u0639\u0644\u0649 \u0633\u0628\u064A\u0644 \u0627\u0644\u0645\u062B\u0627\u0644 '1'.\n\u0625\u0644\u064A\u0643 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A \u0645\u0631\u0629 \u0623\u062E\u0631\u0649:", knowledgeNoMatch: "\u0644\u0627 \u0634\u064A\u0621 \u0645\u0646 \u0630\u0644\u0643", knowledgeConfirmation: "\u0647\u0644 \u0623\u062C\u0627\u0628 \u0647\u0630\u0627 \u0639\u0644\u0649 \u0633\u0624\u0627\u0644\u0643\u061F", knowledgeFollowup: "\u0623\u0631\u062C\u0648 \u0623\u0646 \u0623\u0643\u0648\u0646 \u0642\u062F \u0623\u062C\u0628\u062A \u0639\u0644\u0649 \u0633\u0624\u0627\u0644\u0643. \u064A\u0645\u0643\u0646\u0643 \u0627\u0644\u0633\u0624\u0627\u0644 \u0639\u0646 \u0623\u064A \u0634\u064A\u0621 \u0622\u062E\u0631 \u0642\u062F \u062A\u0631\u064A\u062F \u0645\u0639\u0631\u0641\u0629 \u0627\u0644\u0645\u0632\u064A\u062F \u0639\u0646\u0647." }, noOverlay: { intent: { intentConfirmationStr1: "\u0623\u0639\u062A\u0642\u062F \u0623\u0646\u0646\u064A \u0623\u0631\u064A\u062F", intentConfirmationStr2: "\u0647\u0644 \u0647\u0630\u0627 \u0635\u062D\u064A\u062D\u061F" }, youSaid: { youSaidConfirmationStr1: "\u0642\u0644\u062A", youSaidConfirmationStr2: "\u0647\u0644 \u0647\u0630\u0627 \u0635\u062D\u064A\u062D\u061F?", youSaidConfirmationStr1DigitalBot: "\u0623\u062F\u062E\u0644\u062A" }, noInput: { noInputStr1: "\u064A\u0631\u062C\u0649 \u0623\u0646 \u062A\u0642\u0648\u0644 \u0623\u0648 \u062A\u062F\u062E\u0644", noInputStr1DigitalBot: "\u064A\u0631\u062C\u0649 \u0625\u062F\u062E\u0627\u0644" }, noMatch: { noMatchStr1: "\u064A\u0631\u062C\u0649 \u0625\u0639\u0637\u0627\u0626\u064A" }, whatIs: { whatIsQuestionStr1: "\u0645\u0627 \u0647\u0648", whatIsQuestionStr2: "\u061F" }, iGotContinuation: { iGotContinuationStr1: "\u0644\u0642\u062F \u062D\u0635\u0644\u062A", iGotContinuationStr2: "\u062D\u062A\u0649 \u0627\u0644\u0622\u0646\u060C \u0623\u0631\u062C\u0648 \u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629." } }, defaultCallFlowOne: "\u062A\u062F\u0641\u0642 \u0627\u0644\u0645\u0643\u0627\u0644\u0645\u0627\u062A \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A", errorHandlingAgentEscalationConfirmation: "\u062A\u0631\u064A\u062F \u0627\u0644\u062A\u062D\u062F\u062B \u0625\u0644\u0649 \u0645\u0633\u062A\u0634\u0627\u0631. \u0647\u0644 \u0647\u0630\u0627 \u0635\u062D\u064A\u062D\u061F", errorHandlingAgentEscalationHandover: "\u0644\u062D\u0638\u0629 \u0645\u0646 \u0641\u0636\u0644\u0643\u060C \u0648\u0633\u0648\u0641 \u0623\u0648\u0635\u0644\u0643 \u0628\u0634\u062E\u0635 \u0645\u0627.", errorHandlingErrorEventHandover: "\u0645\u0639\u0630\u0631\u0629\u060C \u062D\u062F\u062B \u062E\u0637\u0623. \u0644\u062D\u0638\u0629 \u0645\u0646 \u0641\u0636\u0644\u0643 \u0628\u064A\u0646\u0645\u0627 \u0623\u0648\u0635\u0644\u0643 \u0628\u0634\u062E\u0635 \u0645\u0627 \u064A\u0633\u062A\u0637\u064A\u0639 \u0645\u0633\u0627\u0639\u062F\u062A\u0643.", errorHandlingErrorEventHandoverVoiceSurvey: "\u0639\u0630\u0631\u064B\u0627\u060C \u062D\u062F\u062B \u062E\u0637\u0623. \u0645\u0639 \u0627\u0644\u0633\u0644\u0627\u0645\u0629.", errorHandlingRecognitionEventHandover: "\u0645\u0639\u0630\u0631\u0629\u060C \u0623\u0648\u0627\u062C\u0647 \u0645\u0634\u0643\u0644\u0629 \u0641\u064A \u0641\u0647\u0645\u0643. \u0644\u062D\u0638\u0629 \u0645\u0646 \u0641\u0636\u0644\u0643 \u0648\u0633\u0648\u0641 \u0623\u0648\u0635\u0644\u0643 \u0628\u0634\u062E\u0635 \u0645\u0627 \u064A\u0633\u062A\u0637\u064A\u0639 \u0645\u0633\u0627\u0639\u062F\u062A\u0643.", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u0639\u0630\u0631\u064B\u0627\u060C \u0644\u0627 \u0623\u0633\u062A\u0637\u064A\u0639 \u0641\u0647\u0645\u0643. \u0645\u0639 \u0627\u0644\u0633\u0644\u0627\u0645\u0629.", errorHandlingTTS: "\u0645\u0639\u0630\u0631\u0629\u060C \u062D\u062F\u062B \u062E\u0637\u0623. \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.", initialGreetingTTS: "\u0645\u0631\u062D\u0628\u064B\u0627\u060C \u0647\u0630\u0647 \u0647\u064A \u0627\u0644\u062A\u062D\u064A\u0629 \u0627\u0644\u0623\u0648\u0644\u064A\u0629.", initialState: "\u0627\u0644\u062D\u0627\u0644\u0629 \u0627\u0644\u0623\u0648\u0644\u064A\u0629", initialBotState: "\u0627\u0644\u0631\u0648\u0628\u0648\u062A \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A", initialDigitalBotState: "\u0627\u0644\u062A\u062D\u064A\u0629 \u0627\u0644\u0623\u0648\u0644\u064A\u0629", initialSurveyBotState: "\u0631\u0648\u0628\u0648\u062A \u0627\u0644\u0627\u0633\u062A\u0628\u064A\u0627\u0646", intentConfirmation: "\u0623\u0639\u062A\u0642\u062F \u0623\u0646\u0643 \u062A\u0631\u064A\u062F %1$s, \u0647\u0644 \u0647\u0630\u0627 \u0635\u062D\u064A\u062D\u061F", mainMenu: "\u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629", mainMenuTTS: "\u0623\u0646\u062A \u0641\u064A \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629\u060C \u064A\u0631\u062C\u0649 \u0627\u0644\u0636\u063A\u0637 \u0639\u0644\u0649 9 \u0644\u0644\u0625\u0646\u0647\u0627\u0621", mainTask: "\u0627\u0644\u0645\u0647\u0645\u0629", settingsConfirmationNoInputApology: "\u0645\u0639\u0630\u0631\u0629\u060C \u0644\u0645 \u0623\u0633\u0645\u0639\u0643. \u064A\u0631\u062C\u0649 \u0627\u0644\u0646\u0637\u0642 \u0628\u0643\u0644\u0645\u0629 \u0646\u0639\u0645 \u0623\u0648 \u0644\u0627.", settingsConfirmationNoInputApologyDigitalBot: '\u0645\u0639\u0630\u0631\u0629\u060C \u0644\u0645 \u0623\u0633\u062A\u0644\u0645 \u0631\u062F\u064B\u0627 \u0645\u0646\u0643. \u064A\u0631\u062C\u0649 \u0625\u062F\u062E\u0627\u0644 "\u0646\u0639\u0645" \u0623\u0648 "\u0644\u0627".', settingsConfirmationNoMatchApology: "\u0645\u0639\u0630\u0631\u0629\u060C \u064A\u0631\u062C\u0649 \u0623\u0646 \u062A\u0642\u0648\u0644 \u0646\u0639\u0645 \u0623\u0648 \u0644\u0627.", settingsConfirmationNoMatchApologyDigitalBot: '\u0645\u0639\u0630\u0631\u0629\u060C \u064A\u0631\u062C\u0649 \u0625\u062F\u062E\u0627\u0644 "\u0646\u0639\u0645" \u0623\u0648 "\u0644\u0627".', settingsNoInputApology: "\u0645\u0639\u0630\u0631\u0629\u060C \u0644\u0645 \u0623\u0633\u0645\u0639\u0643.", settingsNoInputApologyDigitalBot: "\u0645\u0639\u0630\u0631\u0629\u060C \u0644\u0645 \u0623\u062A\u0644\u0642 \u0631\u062F\u064B\u0627 \u0645\u0646\u0643.", settingsEndOfSessionMessageDigitalBot: "\u0644\u0645 \u0623\u0633\u0645\u0639 \u0645\u0646\u0643 \u0645\u0646\u0630 \u0641\u062A\u0631\u0629\u060C \u0644\u0630\u0627 \u0633\u0623\u063A\u0644\u0642 \u0627\u0644\u062F\u0631\u062F\u0634\u0629\u060C \u064A\u0631\u062C\u0649 \u0627\u0644\u0631\u062C\u0648\u0639 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649 \u0625\u0630\u0627 \u0643\u0646\u062A \u062A\u0631\u064A\u062F \u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629 \u062B\u0627\u0646\u064A\u0629. \u0634\u0643\u0631\u064B\u0627 \u0644\u0643.", settingsNoMatchApology: "\u0645\u0639\u0630\u0631\u0629.", settingsNoToConfirmationApology: "\u062E\u0637\u0626\u064A.", periodicStateName: "\u0627\u0644\u062D\u0627\u0644\u0629 \u0627\u0644\u0645\u062A\u0643\u0631\u0631\u0629" }; @@ -74568,15 +80396,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }; }, 61610: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isTaskLike = T, t2.hasTaskLikeProperty = function(e3) { - return "object" == typeof e3 && null !== e3 && T(e3.task); + Object.defineProperty(t2, "__esModule", { value: true }), t2.isTaskLike = I, t2.hasTaskLikeProperty = function(e3) { + return "object" == typeof e3 && null !== e3 && I(e3.task); }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(22917)), s = n2.__importDefault(i2(33139)), l = n2.__importStar(i2(36781)), u = n2.__importDefault(i2(61864)), d = n2.__importStar(i2(62829)), c = n2.__importStar(i2(58380)), p = n2.__importStar(i2(48565)), _ = n2.__importStar(i2(71004)), h = n2.__importStar(i2(14187)), m = n2.__importDefault(i2(97400)), g = n2.__importStar(i2(43773)), f = i2(47957); - function T(e3) { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(69453)), s = n2.__importDefault(i2(22917)), l = n2.__importDefault(i2(33139)), u = n2.__importStar(i2(36781)), c = n2.__importStar(i2(43773)), d = n2.__importDefault(i2(61864)), p = n2.__importStar(i2(62829)), _ = n2.__importStar(i2(58380)), h = n2.__importStar(i2(48565)), m = n2.__importStar(i2(71004)), g = n2.__importStar(i2(14187)), f = i2(1910), T = i2(1910), y = i2(1910), S = i2(1910), A = i2(1910), N = i2(1910), v = n2.__importDefault(i2(97400)), O = i2(47957); + function I(e3) { return e3 && e3.isTaskLike; } i2(92330); - class y extends m.default { + class C extends v.default { constructor(e3) { super(e3, e3), this.variables = []; } @@ -74584,24 +80412,24 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return "BaseTaskViewModel"; } get nodeGuxIcon() { - return u.default.task.gux; + return d.default.task; } get resources() { - return { startUpDisplayName: f.startUpTaskDisplayName }; + return { startUpDisplayName: O.startUpTaskDisplayName }; } get defaultVariableScope() { - return h.scopes.task; + return g.scopes.task; } get localVariableScope() { - return h.scopes.task; + return g.scopes.task; } get uiMetaDataSectionName() { return "task"; } _loadModel(e3) { if (!e3) return; - super._loadModel(e3), p.registerNode(this), e3.variables = e3.variables || [], o.default.each(e3.variables, (e4) => { - this.variables.push(_.createVariable(e4, this)); + super._loadModel(e3), h.registerNode(this), e3.variables = e3.variables || [], o.default.each(e3.variables, (e4) => { + this.variables.push(m.createVariable(e4, this)); }), this.model.actionList || (this.model.actionList = []), this.actions.length = 0; const t3 = this._topActionId || null, i3 = {}; this.model.actionList = o.default.uniq(this.model.actionList); @@ -74610,13 +80438,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (i3[n3.id]) this.model.actionList.splice(e4, 1), e4--, this.topic.errorWithErrorObjectInfo("Actions with the same id.", this, false); else { i3[n3.id] = true; - const e5 = d.createActionWithModel(this, n3); + const e5 = p.createActionWithModel(this, n3); this.actions.push(e5), t3 && e5.id === t3 && (this.topAction = e5); } } } addVariable(e3) { - e3 && !o.default.contains(this.variables, e3) && (this.variables.push(e3), this.model.variables.push(e3.model), c.fireEvent(this, l.variableAdded, e3)); + e3 && !o.default.contains(this.variables, e3) && (this.variables.push(e3), this.model.variables.push(e3.model), _.fireEvent(this, u.variableAdded, e3)); } get amObjectEventEmitter() { return true; @@ -74630,7 +80458,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return false; } _preDestroy() { - super._preDestroy(), c.fireEvent(this, l.actionContainerDeleted); + super._preDestroy(), _.fireEvent(this, u.actionContainerDeleted); } _destroy() { super._destroy(), o.default.each(o.default.clone(this.variables), (e3) => { @@ -74640,10 +80468,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; getConfiguration(e3, t3) { var i3; let n3 = this.model.getConfiguration(e3, t3); - const r3 = [], l2 = (null == t3 ? void 0 : t3.isForFlowYaml) ? this.getMainPathActions() : this.actions; - return o.default.each(l2, (i4) => { + const r3 = [], a2 = (null == t3 ? void 0 : t3.isForFlowYaml) ? this.getMainPathActions() : this.actions; + return o.default.each(a2, (i4) => { r3.push(i4.getConfiguration(e3, t3)); - }), (r3.length || !(null == t3 ? void 0 : t3.isForFlowYaml)) && (n3[(null == t3 ? void 0 : t3.isForFlowYaml) ? s.default.actions : s.default.actionList] = r3), (null == t3 ? void 0 : t3.isForComparison) ? g.removePropertiesForComparison(n3) : (null == t3 ? void 0 : t3.isForFlowYaml) ? (this.isInlineTask || (n3.refId = this.getRefId()), (null === (i3 = null == t3 ? void 0 : t3.yamlOptions) || void 0 === i3 ? void 0 : i3.includeTrackingIds) && this.trackingId && (n3.trackingId = this.trackingId), this.isStartUpObject && (e3.startUpRef = this.yamlPath), this.variables.length && (n3.variables = o.default.map(this.variables, (i4) => i4.getConfiguration(e3, t3)), o.default.sortMapByNameProperty(n3.variables)), n3 = a.default.sortObjectByPropertyMap(n3, this.yamlPropertyOrderMap), o.default.tryWrapObject(n3, this.wrappedYamlName)) : n3; + }), (r3.length || !(null == t3 ? void 0 : t3.isForFlowYaml)) && (n3[(null == t3 ? void 0 : t3.isForFlowYaml) ? l.default.actions : l.default.actionList] = r3), (null == t3 ? void 0 : t3.isForComparison) ? c.removePropertiesForComparison(n3) : (null == t3 ? void 0 : t3.isForFlowYaml) ? (this.isInlineTask || (n3.refId = this.getRefId()), (null === (i3 = null == t3 ? void 0 : t3.yamlOptions) || void 0 === i3 ? void 0 : i3.includeTrackingIds) && this.trackingId && (n3.trackingId = this.trackingId), this.isStartUpObject && (e3.startUpRef = this.yamlPath), this.variables.length && (n3.variables = o.default.map(this.variables, (i4) => i4.getConfiguration(e3, t3)), o.default.sortMapByNameProperty(n3.variables)), n3 = s.default.sortObjectByPropertyMap(n3, this.yamlPropertyOrderMap), o.default.tryWrapObject(n3, this.wrappedYamlName)) : n3; } getVariableById(e3) { return o.default.find(this.variables, (t3) => t3.id === e3); @@ -74675,10 +80503,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.actions && this.actions.length > 0; } get containerLabel() { - return f.task.label; + return O.task.label; } get containerLabelAndName() { - return (0, r2.sprintf)(f.labelAndName, this.containerLabel, this.getDisplayName()); + return (0, r2.sprintf)(O.labelAndName, this.containerLabel, this.getDisplayName()); } get supportsScopedData() { return true; @@ -74691,10 +80519,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } removeVariable(e3) { let t3 = this.variables.indexOf(e3); - t3 > -1 && this.variables.splice(t3, 1), t3 = this.model.variables.indexOf(e3.model), t3 > -1 && this.model.variables.splice(t3, 1), c.fireEvent(this, l.variableRemoved, e3); + t3 > -1 && this.variables.splice(t3, 1), t3 = this.model.variables.indexOf(e3.model), t3 > -1 && this.model.variables.splice(t3, 1), _.fireEvent(this, u.variableRemoved, e3); } search(e3) { - e3.checkId(this, this.id, this.name), e3.checkTrackingId(this, this.trackingId, this.name), e3.checkName(this, this.name, f.task.label), o.default.each(this.actions, e3.addToQueue.bind(e3)); + e3.checkId(this, this.id, this.name), e3.checkTrackingId(this, this.trackingId, this.name), e3.checkName(this, this.name, O.task.label), o.default.each(this.actions, e3.addToQueue.bind(e3)); } traverse(e3) { if (!e3 || e3.isCanceled) return; @@ -74709,7 +80537,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.model.trackingId; } set trackingId(e3) { - this.model.trackingId = e3; + h.setNodeTrackingId(this, e3); } updateDependencies() { o.default.each(this.actions, (e3) => { @@ -74728,8 +80556,47 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; get yamlPropertyOrderMap() { return o.default.extend(super.yamlPropertyOrderMap, { trackingId: 15, variables: 20, actions: 30 }); } + configureFromModel(e3, t3, i3, o2) { + const s2 = Object.create(null, { configureFromModel: { get: () => super.configureFromModel } }); + return n2.__awaiter(this, void 0, void 0, function* () { + s2.configureFromModel.call(this, e3, t3, i3), yield (0, N.withModelContextAsync)(i3, `task[${e3.refId || e3.name || "unknown"}]`, () => n2.__awaiter(this, void 0, void 0, function* () { + const n3 = (0, y.getStringValue)(e3, "name", i3); + void 0 !== n3 && (this.name = n3); + const s3 = (0, f.getConfigureFromModelRecords)(e3.actions, i3, `task[${this.name || "unnamed"}].actions`); + if (s3 && (yield this.appendActionsFromModel(void 0, s3, i3, `task[${this.name || "unnamed"}]`, o2)), Array.isArray(e3.variables)) { + const n4 = e3.variables; + (0, A.withModelContext)(i3, "variables", () => { + for (const e4 of n4) { + if (!(0, T.isConfigureFromModelRecord)(e4)) continue; + const n5 = e4, o3 = Object.keys(n5); + if (0 === o3.length) continue; + const s4 = o3[0], l2 = n5[s4]; + if (!(0, T.isConfigureFromModelRecord)(l2)) continue; + const u2 = l2, c2 = "string" == typeof u2.name ? u2.name : s4; + (0, A.withModelContext)(i3, `${s4}[${c2}]`, () => { + try { + const e5 = s4.replace("Variable", ""), n6 = "boolean" == typeof u2.isCollection && u2.isCollection; + if (i3.variableManager && this.parentFlow.dataTypes) { + const o4 = this.parentFlow.dataTypes[e5]; + if (o4) { + const e6 = new o4({ name: c2, isCollection: n6 }), r3 = i3.variableManager.createVariable(e6, this); + (0, S.hasConfigureFromModel)(r3) && r3.configureFromModel(u2, t3); + } else i3.warn((0, r2.sprintf)(a.configureFromModel.unknownVariableDataType, e5, c2)); + } else i3.registerDeferredOp({ type: "createTaskVariable", execute: () => { + } }); + } catch (e5) { + const t4 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, r2.sprintf)(a.configureFromModel.variableCreationFailedInTask, c2, this.name, t4)); + } + }); + } + }); + } + })); + }); + } } - t2.default = y; + t2.default = C; }, 61684: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ScheduleViewModel = void 0; @@ -74782,18 +80649,18 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var r2 = i2(69879), o = i2(65212), a = i2(19724), s = i2(17214), l = i2(5717), u = i2(54830); t2.bufferToggle = function(e3, t3) { return o.operate(function(i3, o2) { - var d = []; + var c = []; a.innerFrom(e3).subscribe(s.createOperatorSubscriber(o2, function(e4) { var i4 = []; - d.push(i4); + c.push(i4); var n3 = new r2.Subscription(); n3.add(a.innerFrom(t3(e4)).subscribe(s.createOperatorSubscriber(o2, function() { - u.arrRemove(d, i4), o2.next(i4), n3.unsubscribe(); + u.arrRemove(c, i4), o2.next(i4), n3.unsubscribe(); }, l.noop))); }, l.noop)), i3.subscribe(s.createOperatorSubscriber(o2, function(e4) { var t4, i4; try { - for (var r3 = n2(d), o3 = r3.next(); !o3.done; o3 = r3.next()) o3.value.push(e4); + for (var r3 = n2(c), o3 = r3.next(); !o3.done; o3 = r3.next()) o3.value.push(e4); } catch (e5) { t4 = { error: e5 }; } finally { @@ -74804,20 +80671,20 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } }, function() { - for (; d.length > 0; ) o2.next(d.shift()); + for (; c.length > 0; ) o2.next(c.shift()); o2.complete(); })); }); }; }, 61781: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = i2(47957); - class u extends s.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = n2.__importDefault(i2(4648)), u = i2(47957); + class c extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } } - u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: false, canBeTreeNode: true, helpTopic: r2.helpTopics.actions.repeatMenu, modelClass: i2(87129), name: l.actions.repeatMenu, scriptingName: "ArchActionRepeatMenu", termination: a.terminatesTask }), t2.A = u; + c.info = o.default.createActionInfo({ actionClass: c, canBeInTask: false, canBeTreeNode: true, helpTopic: r2.helpTopics.actions.repeatMenu, modelClass: i2(87129), name: u.actions.repeatMenu, scriptingName: "ArchActionRepeatMenu", termination: a.terminatesTask, modelFormatSupport: { flowYaml: { inProgress: true, feature: l.default.changeSetsFeaturePhase2 } } }), t2.A = c; }, 61828: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -74883,19 +80750,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const t3 = n2.build(r2.getLanguageSkill); return t3.templateParams({ id: e3 }), t3.call(); }, o.prototype.getLanguageSkill.api = r2.getLanguageSkill, e2.exports = new o(); - }, 61864: (e2, t2, i2) => { + }, 61864: (e2, t2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.guxIconNameMap = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = { alertInfo: { gux: "fa/circle-info-solid" }, aiStudio: { gux: "restricted/custom/sparkles-solid" }, ask: { gux: "fa/messages-regular" }, assignedCustomerIntent: { gux: "fa/folder-plus-regular" }, assignedCustomerSegment: { gux: "cjv-segment" }, audioCounter: { gux: "deprecated/fa/volume-regular" }, boolean: { gux: "deprecated/fa/circle-check-regular" }, book: { gux: "fa/book-regular" }, bot: { gux: "fa/robot-regular" }, button: { gux: "fa/square-list-regular" }, change: { gux: "fa/shuffle-regular" }, card: { gux: "fa/square-regular" }, carousel: { gux: "fa/copy-regular" }, carouselCircled: { gux: "custom/carousel" }, communication: { gux: "fa/message-lines-regular" }, complex: { gux: "fa/cube-regular" }, contact: { gux: "fa/road-regular" }, conversation: { gux: "fa/messages-regular" }, conversationCustomAttribute: { gux: "fa/diagram-nested-regular" }, currency: { gux: "fa/money-bill-regular" }, customerIntent: { gux: "fa/folder-plus-regular" }, customerSegment: { gux: "cjv-segment" }, database: { gux: "fa/database-regular" }, date: { gux: "fa/calendar-days-regular" }, datetime: { gux: "fa/calendar-clock-regular" }, decimal: { gux: "fa/00-regular" }, decision: { gux: "fa/diamond-regular" }, decisionTable: { gux: "fa/table-regular" }, deflectURL: { gux: "fa/globe-regular" }, dial: { gux: "fa/hashtag-regular" }, digitalAudio: { gux: "deprecated/fa/volume-regular" }, disconnect: { gux: "fa/link-slash-regular" }, division: { gux: "fa/code-branch-regular" }, dtmf: { gux: "fa/grid-regular" }, duration: { gux: "fa/hourglass-start-regular" }, emailEnvelope: { gux: "fa/envelope-regular" }, file: { gux: "fa/paperclip-regular" }, find: { gux: "fa/magnifying-glass-regular" }, emergencyGroup: { gux: "fa/fire-regular" }, grammar: { gux: "fa/code-regular" }, group: { gux: "fa/people-group-regular" }, hold: { gux: "fa/music-regular" }, image: { gux: "fa/image-regular" }, integer: { gux: "fa/1-regular" }, journey: { gux: "fa/location-dot-regular" }, json: { gux: "fa/border-all-regular" }, knowledgeBaseDocument: { gux: "fa/file-lines-regular" }, label: { gux: "fa/tag-regular" }, laptop: { gux: "fa/laptop-regular" }, lineItem: { gux: "fa/list-ul-regular" }, listPicker: { gux: "fa/rectangle-history-regular" }, listPickerItem: { gux: "fa/memo-circle-check-regular" }, listPickerSection: { gux: "fa/folder-regular" }, lock: { gux: "fa/lock-regular" }, loop: { gux: "fa/infinity-regular" }, menu: { gux: "fa/bars-regular" }, playAudio: { gux: "fa/circle-play-regular" }, record: { gux: "fa/waveform-lines-regular" }, recording: { gux: "fa/waveform-lines-regular" }, send: { gux: "send" }, sendReply: { gux: "custom/reply-regular" }, speechRec: { gux: "fa/microphone-regular" }, survey: { gux: "fa/clipboard-regular" }, task: { gux: "fa/sitemap-regular" }, timePicker: { gux: "fa/calendar-plus-regular" }, transfer: { gux: "fa/arrow-up-right-from-square-regular" }, languageSkill: { gux: "fa/messages-regular" }, link: { gux: "fa/link-regular" }, mailbox: { gux: "fa/inbox-regular" }, modifyIntents: { gux: "fa/pen-regular" }, phone: { gux: "fa/phone-regular" }, prompt: { gux: "fa/message-regular" }, responseAsset: { gux: "fa/paperclip-regular" }, secureData: { gux: "fa/key-regular" }, schedule: { gux: "fa/map-regular" }, scheduleGroup: { gux: "fa/map-solid" }, shippingOption: { gux: "fa/truck-regular" }, skill: { gux: "fa/graduation-cap-regular" }, string: { gux: "fa/font-regular" }, terminator: { gux: "fa/head-side-headphones-regular" }, time: { gux: "fa/clock-nine-regular" }, user: { gux: "fa/user-regular" }, queue: { gux: "fa/people-group-regular" }, quickReplyCircled: { gux: "custom/quick-reply" }, road: { gux: "fa/road-regular" }, state: { gux: "fa/location-dot-regular" }, video: { gux: "fa/video-regular" }, wrapupCode: { gux: "fa/tag-regular" }, wrench: { gux: "fa/gear-regular" }, any: { gux: "fa/shapes-regular" }, enum: { gux: "fa/cube-regular" }, enumContainer: { gux: "fa/cube-regular" }, expression: { gux: "fa/sigma-regular" }, stringMethods: { gux: "fa/font-regular" }, common: { gux: "fa/puzzle-piece-regular" }, breakpoint: { gux: "fa/bug-regular" }, unknown: { gux: "deprecated/fa/life-ring-regular" }, delete: { gux: "fa/trash-regular" }, ban: { gux: "deprecated/fa/ban-regular" }, blankAudio: { gux: "fa/volume-xmark-regular" }, contextMenu: { gux: "fa/ellipsis-vertical-regular" }, utilizationLabel: { gux: "fa/arrows-down-to-people-regular" }, workitem: { gux: "fa/clipboard-list-regular" } }; - t2.default = r2, t2.guxIconNameMap = {}, n2.default.each(r2, function(e3) { - t2.guxIconNameMap[e3.gux] = e3; - }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { alertInfo: "fa/circle-info-solid", aiStudio: "restricted/custom/sparkles-solid", ask: "fa/messages-regular", assignedCustomerIntent: "fa/folder-plus-regular", assignedCustomerSegment: "cjv-segment", audioCounter: "deprecated/fa/volume-regular", boolean: "deprecated/fa/circle-check-regular", book: "fa/book-regular", bot: "fa/robot-regular", button: "fa/square-list-regular", change: "fa/shuffle-regular", card: "fa/square-regular", carousel: "fa/copy-regular", carouselCircled: "custom/carousel", changeSet: "fa/gem-regular", changeSetAi: "restricted/custom/sparkles-solid", communication: "fa/message-lines-regular", complex: "fa/cube-regular", contact: "fa/road-regular", conversation: "fa/messages-regular", conversationCustomAttribute: "fa/diagram-nested-regular", currency: "fa/money-bill-regular", customerIntent: "fa/folder-plus-regular", customerSegment: "cjv-segment", database: "fa/database-regular", date: "fa/calendar-days-regular", datetime: "fa/calendar-clock-regular", decimal: "fa/00-regular", decision: "fa/diamond-regular", decisionTable: "fa/table-regular", deflectURL: "fa/globe-regular", dial: "fa/hashtag-regular", digitalAudio: "deprecated/fa/volume-regular", disconnect: "fa/link-slash-regular", division: "fa/code-branch-regular", dtmf: "fa/grid-regular", duration: "fa/hourglass-start-regular", emailEnvelope: "fa/envelope-regular", file: "fa/paperclip-regular", find: "fa/magnifying-glass-regular", emergencyGroup: "fa/fire-regular", grammar: "fa/code-regular", group: "fa/people-group-regular", hold: "fa/music-regular", image: "fa/image-regular", integer: "fa/1-regular", journey: "fa/location-dot-regular", json: "fa/border-all-regular", knowledgeBaseDocument: "fa/file-lines-regular", label: "fa/tag-regular", laptop: "fa/laptop-regular", lineItem: "fa/list-ul-regular", listPicker: "fa/rectangle-history-regular", listPickerItem: "fa/memo-circle-check-regular", listPickerSection: "fa/folder-regular", lock: "fa/lock-regular", loop: "fa/infinity-regular", menu: "fa/bars-regular", playAudio: "fa/circle-play-regular", record: "fa/waveform-lines-regular", recording: "fa/waveform-lines-regular", send: "send", sendReply: "custom/reply-regular", speechRec: "fa/microphone-regular", survey: "fa/clipboard-regular", task: "fa/sitemap-regular", timePicker: "fa/calendar-plus-regular", transfer: "fa/arrow-up-right-from-square-regular", languageSkill: "fa/messages-regular", link: "fa/link-regular", mailbox: "fa/inbox-regular", modifyIntents: "fa/pen-regular", phone: "fa/phone-regular", prompt: "fa/message-regular", responseAsset: "fa/paperclip-regular", secureData: "fa/key-regular", schedule: "fa/map-regular", scheduleGroup: "fa/map-solid", shippingOption: "fa/truck-regular", skill: "fa/graduation-cap-regular", string: "fa/font-regular", terminator: "fa/head-side-headphones-regular", time: "fa/clock-nine-regular", user: "fa/user-regular", queue: "fa/people-group-regular", quickReplyCircled: "custom/quick-reply", road: "fa/road-regular", state: "fa/location-dot-regular", video: "fa/video-regular", wrapupCode: "fa/tag-regular", wrench: "fa/gear-regular", any: "fa/shapes-regular", enum: "fa/cube-regular", enumContainer: "fa/cube-regular", expression: "fa/sigma-regular", stringMethods: "fa/font-regular", common: "fa/puzzle-piece-regular", breakpoint: "fa/bug-regular", unknown: "deprecated/fa/life-ring-regular", delete: "fa/trash-regular", ban: "deprecated/fa/ban-regular", blankAudio: "fa/volume-xmark-regular", contextMenu: "fa/ellipsis-vertical-regular", utilizationLabel: "fa/arrows-down-to-people-regular", workitem: "fa/clipboard-list-regular" }; }, 61870: (e2, t2, i2) => { "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeDecimalOptions = void 0; const r2 = i2(31635), o = r2.__importDefault(i2(63005)), a = i2(80295), s = i2(65615), l = i2(55909), u = i2(33951); - class d extends s.BaseExpressionTypeCollectionOptions { + class c extends s.BaseExpressionTypeCollectionOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -74918,7 +80781,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; void 0 !== e3.minVal && this.facets.setMinDec(e3.min), void 0 !== e3.maxVal && this.facets.setMaxDec(e3.max), void 0 !== e3.disallowZero && this.facets.setDisallowZero(e3.disallowZero); } } - t2.ExpressionTypeDecimalOptions = d, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], d.prototype, "facets", null); + t2.ExpressionTypeDecimalOptions = c, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], c.prototype, "facets", null); }, 61897: (e2, t2, i2) => { "use strict"; var n2, r2, o, a = i2(81452), s = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-"; @@ -74937,7 +80800,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } else n2 !== s && (n2 = s, l()); } - function d() { + function c() { return o || (o = (function() { n2 || u(s); for (var e3, t3 = n2.split(""), i3 = [], r3 = a.nextValue(); t3.length > 0; ) r3 = a.nextValue(), e3 = Math.floor(r3 * t3.length), i3.push(t3.splice(e3, 1)[0]); @@ -74951,14 +80814,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, seed: function(e3) { a.seed(e3), r2 !== e3 && (l(), r2 = e3); }, lookup: function(e3) { - return d()[e3]; - }, shuffled: d }; + return c()[e3]; + }, shuffled: c }; }, 62017: (e2, t2, i2) => { "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeAudioOptions = void 0; - const r2 = i2(31635), o = r2.__importDefault(i2(50964)), a = i2(80295), s = i2(19507), l = i2(55909), u = i2(33951), d = r2.__importDefault(i2(92140)); - class c extends s.BaseExpressionTypeOptions { + const r2 = i2(31635), o = r2.__importDefault(i2(50964)), a = i2(80295), s = i2(19507), l = i2(55909), u = i2(33951), c = r2.__importDefault(i2(92140)); + class d extends s.BaseExpressionTypeOptions { static create(e3) { return new this().invokeOptionsCallback(e3); } @@ -74969,7 +80832,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super._setFromOptions(e3), this._setOptionIfSet(this.setAllowBlankAudio, e3.allowBlankAudio), this._setOptionIfSet(this.setEmitNonConfigItemForEmptyAndNoDefault, e3.emitNonConfigItemForEmptyAndNoDefault), this._setOptionIfSet(this.setAllowSecure, e3.allowSecure), this._setOptionIfSet(this.setAllowBlankAudio, e3.allowBlankAudio); } _setFacetsFromOptions(e3) { - super._setFacetsFromOptions(e3), e3.isAudioViewModelOptions && d.default.isActualNumber(e3.maxDuration) && this.durationFacets.setMaxDur(e3.maxDuration, e3.maxDurInclusive); + super._setFacetsFromOptions(e3), e3.isAudioViewModelOptions && c.default.isActualNumber(e3.maxDuration) && this.durationFacets.setMaxDur(e3.maxDuration, e3.maxDurInclusive); } get isExpressionTypeAudioOptions() { return true; @@ -74993,12 +80856,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.allowBlankAudio = e3, this; } } - t2.ExpressionTypeAudioOptions = c, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Object])], c.prototype, "allowBlankAudio", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], c.prototype, "durationFacets", null); + t2.ExpressionTypeAudioOptions = d, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Object])], d.prototype, "allowBlankAudio", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], d.prototype, "durationFacets", null); }, 62028: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = i2(30801), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(42175)); - class l extends s.default { + const n2 = i2(31635), r2 = i2(30801), o = i2(30801), a = n2.__importDefault(i2(42175)); + class s extends a.default { constructor(e3) { super(e3), this._coreMenuChoiceViewModel = e3, this._archAction = this.coreFactory.createArchActionFromCoreAction(e3.action), this._archSpeechRecTermContainers = this.coreFactory.createArchWrapper(e3.speechRecTerms); } @@ -75060,14 +80923,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; get trackingId() { return this._coreMenuChoiceViewModel.trackingId; } - set trackingId(e3) { - const t3 = this._infoPropSet("value", "trackingId"); - this._ensureCanSetTrackingIds(t3, a.default, e3); - const i3 = this._getCoreViewModel(), n3 = i3.trackingId; - n3 !== e3 && (i3.trackingId = e3, this.logItemVerboseNote(t3, `updated tracking ID from ${n3} to ${i3.trackingId}.`)); - } } - t2.default = l; + t2.default = s; }, 62061: (e2, t2, i2) => { const n2 = i2(75458), r2 = i2(7401), { getRawSIPHeadersActionType: o } = i2(30801); function a() { @@ -75250,16 +81107,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }; }, 62279: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = n2.__importDefault(i2(97891)), s = n2.__importDefault(i2(33644)), l = i2(47957); - class u extends s.default { + const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = n2.__importDefault(i2(97891)), s = n2.__importDefault(i2(33644)), l = n2.__importDefault(i2(4648)), u = i2(47957); + class c extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } getDetails() { - return this.outcomeId ? new o.ActionDetails([l.flowOutcomes.flowOutcome], [this.outcomeName]) : null; + return this.outcomeId ? new o.ActionDetails([u.flowOutcomes.flowOutcome], [this.outcomeName]) : null; } } - u.info = a.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: r2.helpTopics.actions.initializeFlowOutcome, modelClass: i2(76573), name: l.actions.initializeFlowOutcome, scriptingName: "ArchActionInitializeFlowOutcome" }), t2.A = u; + c.info = a.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: r2.helpTopics.actions.initializeFlowOutcome, modelClass: i2(76573), name: u.actions.initializeFlowOutcome, scriptingName: "ArchActionInitializeFlowOutcome", modelFormatSupport: { flowYaml: { feature: l.default.changeSetsFeaturePhase1 } } }), t2.A = c; }, 62297: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.EngineViewModel = void 0; @@ -75352,6 +81209,61 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; Object.defineProperty(t2, "__esModule", { value: true }), t2.async = t2.asyncScheduler = void 0; var n2 = i2(64772), r2 = i2(19533); t2.asyncScheduler = new r2.AsyncScheduler(n2.AsyncAction), t2.async = t2.asyncScheduler; + }, 62390: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.VIDEO_SUPPORTED_EXTENSIONS = t2.IMAGE_SUPPORTED_EXTENSIONS = t2.FILE_SUPPORTED_EXTENSIONS = t2.AUDIO_SUPPORTED_EXTENSIONS = t2.ALL_SUPPORTED_EXTENSIONS = t2.VIDEO_MIME_TYPES_SET = t2.IMAGE_MIME_TYPES_SET = t2.FILE_MIME_TYPES_SET = t2.AUDIO_MIME_TYPES_SET = t2.ALL_MIME_TYPES_SET = t2.MIME_TOP_LEVEL_TYPE_VIDEO = t2.MIME_TOP_LEVEL_TYPE_TEXT = t2.MIME_TOP_LEVEL_TYPE_IMAGE = t2.MIME_TOP_LEVEL_TYPE_AUDIO = t2.MIME_TOP_LEVEL_TYPE_APPLICATION = t2.SUPPORTED_MIME_TYPES = void 0, t2.getTopLevelMimeTypeStrsForDataType = h, t2.getUploadAcceptTypesForDataType = function(e3) { + switch (e3) { + case r2.expressionTypeNames.image: + case r2.expressionTypeNames.file: + case r2.expressionTypeNames.responseAsset: + case r2.expressionTypeNames.digitalAudio: + case r2.expressionTypeNames.video: + return h(e3, "*"); + default: + return []; + } + }, t2.isImageMimeType = function(e3) { + return !!(null == e3 ? void 0 : e3.startsWith(t2.MIME_TOP_LEVEL_TYPE_IMAGE)); + }, t2.isVideoMimeType = function(e3) { + return !!(null == e3 ? void 0 : e3.startsWith(t2.MIME_TOP_LEVEL_TYPE_VIDEO)); + }, t2.isAudioMimeType = function(e3) { + return !!(null == e3 ? void 0 : e3.startsWith(t2.MIME_TOP_LEVEL_TYPE_AUDIO)); + }, t2.isFileMimeType = function(e3) { + return !(!(null == e3 ? void 0 : e3.startsWith(t2.MIME_TOP_LEVEL_TYPE_APPLICATION)) && !(null == e3 ? void 0 : e3.startsWith(t2.MIME_TOP_LEVEL_TYPE_TEXT))); + }; + const n2 = i2(31635), r2 = i2(80428), o = i2(10798), a = n2.__importDefault(i2(4648)); + t2.SUPPORTED_MIME_TYPES = Object.freeze({ "image/jpeg": "jpg", "image/jpg": "jpg", "image/png": "png", "image/gif": "gif", "image/bmp": "bmp", "image/x-ms-bmp": "bmp", "image/x-bmp": "bmp", "image/tiff": "tiff", "image/x-tiff": "tiff", "image/svg+xml": "svg", "image/svg": "svg", "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "docx", "application/pdf": "pdf", "text/plain": "txt", "application/msword": "doc", "application/x-msword": "doc", "application/vnd.ms-word": "doc", "application/x-ms-word": "doc", "application/CDFV2": "doc", "application/vnd.ms-excel": "xls", "application/x-msexcel": "xls", "application/x-ms-excel": "xls", "application/x-excel": "xls", "application/x-dos_ms_excel": "xls", "application/xls": "xls", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "xlsx", "text/csv": "csv", "text/x-csv": "csv", "application/csv": "csv", "application/x-csv": "csv", "text/comma-separated-values": "csv", "text/x-comma-separated-values": "csv", "application/xml": "xml", "text/xml": "xml", "application/x-xml": "xml", "application/json": "json", "text/json": "json", "application/x-json": "json", "text/vcard": "vcf", "text/x-vcard": "vcf", "text/calendar": "ics", "application/ics": "ics", "video/mp4": "mp4", "video/quicktime": "mov", "video/webm": "webm", "video/mpeg": "mpeg", "video/x-mpeg": "mpeg", "video/mpg": "mpg", "video/x-mpg": "mpg", "video/3gpp": "3gp", "video/3gpp2": "3gp", "audio/mp4": "m4a", "audio/x-m4a": "m4a", "audio/aac": "aac", "audio/x-aac": "aac", "audio/aacp": "aac", "audio/3gpp": "aac", "audio/3gpp2": "aac", "audio/mp4a-latm": "aac", "audio/mpeg4-generic": "aac", "audio/x-hx-aac-adts": "aac", "audio/mpeg": "mp3", "audio/mp3": "mp3", "audio/x-mpeg": "mp3", "audio/x-mp3": "mp3", "audio/mpeg3": "mp3", "audio/x-mpeg3": "mp3", "audio/wav": "wav", "audio/x-wav": "wav", "audio/wave": "wav", "audio/x-pn-wav": "wav" }); + const s = Object.freeze(Object.keys(t2.SUPPORTED_MIME_TYPES)); + function l(e3) { + return Object.freeze(s.filter((t3) => e3.some((e4) => t3.startsWith(e4)))); + } + function u(e3, t3) { + const i3 = Object.entries(e3), n3 = (null == t3 ? void 0 : t3.length) ? i3.filter(([e4]) => t3.some((t4) => e4.startsWith(t4))) : i3; + return [...new Set(n3.map(([, e4]) => e4.toUpperCase()))].sort().join(", "); + } + t2.MIME_TOP_LEVEL_TYPE_APPLICATION = "application/", t2.MIME_TOP_LEVEL_TYPE_AUDIO = "audio/", t2.MIME_TOP_LEVEL_TYPE_IMAGE = "image/", t2.MIME_TOP_LEVEL_TYPE_TEXT = "text/", t2.MIME_TOP_LEVEL_TYPE_VIDEO = "video/"; + const c = l([t2.MIME_TOP_LEVEL_TYPE_IMAGE]), d = l([t2.MIME_TOP_LEVEL_TYPE_AUDIO]), p = l([t2.MIME_TOP_LEVEL_TYPE_VIDEO]), _ = l([t2.MIME_TOP_LEVEL_TYPE_TEXT, t2.MIME_TOP_LEVEL_TYPE_APPLICATION]); + function h(e3, i3) { + let n3 = []; + switch (e3) { + case r2.expressionTypeNames.image: + n3 = [t2.MIME_TOP_LEVEL_TYPE_IMAGE]; + break; + case r2.expressionTypeNames.responseAsset: + (0, o.isFeatureAvailable)(a.default.cannedResponseAttachmentsFeature) && (n3 = [t2.MIME_TOP_LEVEL_TYPE_IMAGE, t2.MIME_TOP_LEVEL_TYPE_APPLICATION, t2.MIME_TOP_LEVEL_TYPE_TEXT, t2.MIME_TOP_LEVEL_TYPE_VIDEO, t2.MIME_TOP_LEVEL_TYPE_AUDIO]); + break; + case r2.expressionTypeNames.file: + (0, o.isFeatureAvailable)(a.default.botFlowsAttachmentsFeature) && (n3 = [t2.MIME_TOP_LEVEL_TYPE_APPLICATION, t2.MIME_TOP_LEVEL_TYPE_TEXT]); + break; + case r2.expressionTypeNames.digitalAudio: + (0, o.isFeatureAvailable)(a.default.botFlowsAttachmentsFeature) && (n3 = [t2.MIME_TOP_LEVEL_TYPE_AUDIO]); + break; + case r2.expressionTypeNames.video: + (0, o.isFeatureAvailable)(a.default.botFlowsAttachmentsFeature) && (n3 = [t2.MIME_TOP_LEVEL_TYPE_VIDEO]); + } + return i3 ? n3.map((e4) => e4 + i3) : n3; + } + t2.ALL_MIME_TYPES_SET = new Set(s), t2.AUDIO_MIME_TYPES_SET = new Set(d), t2.FILE_MIME_TYPES_SET = new Set(_), t2.IMAGE_MIME_TYPES_SET = new Set(c), t2.VIDEO_MIME_TYPES_SET = new Set(p), t2.ALL_SUPPORTED_EXTENSIONS = u(t2.SUPPORTED_MIME_TYPES), t2.AUDIO_SUPPORTED_EXTENSIONS = u(t2.SUPPORTED_MIME_TYPES, [t2.MIME_TOP_LEVEL_TYPE_AUDIO]), t2.FILE_SUPPORTED_EXTENSIONS = u(t2.SUPPORTED_MIME_TYPES, [t2.MIME_TOP_LEVEL_TYPE_TEXT, t2.MIME_TOP_LEVEL_TYPE_APPLICATION]), t2.IMAGE_SUPPORTED_EXTENSIONS = u(t2.SUPPORTED_MIME_TYPES, [t2.MIME_TOP_LEVEL_TYPE_IMAGE]), t2.VIDEO_SUPPORTED_EXTENSIONS = u(t2.SUPPORTED_MIME_TYPES, [t2.MIME_TOP_LEVEL_TYPE_VIDEO]); }, 62416: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.allPromoteExternalContactFailureReasons = t2.promoteExternalContactFailureReasons = void 0; @@ -75441,18 +81353,21 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } }, enumValues: { get: function() { return this.model.type.enum; } } }), e2.exports = r2; + }, 62795: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); }, 62829: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.actionDefs = void 0, t2._getActionTypeMap = function() { return m; }, t2.registerAction = function(e3) { - d.ParameterValidator.expectNodeInformation(e3, () => u.ParameterInfo.createFunctionParameter(_, "registerAction", "actionNodeInfo")), d.ParameterValidator.expectObject(e3.actionClass, () => u.ParameterInfo.createFunctionParameter(_, "registerAction", "actionNodeInfo.actionClass")), d.ParameterValidator.expectString(e3.typeId, () => u.ParameterInfo.createFunctionParameter(_, "registerAction", "actionNodeInfo.typeId")), h[e3.typeId] = e3, m[e3.typeId] = e3.actionClass; + c.ParameterValidator.expectNodeInformation(e3, () => u.ParameterInfo.createFunctionParameter(_, "registerAction", "actionNodeInfo")), c.ParameterValidator.expectObject(e3.actionClass, () => u.ParameterInfo.createFunctionParameter(_, "registerAction", "actionNodeInfo.actionClass")), c.ParameterValidator.expectString(e3.typeId, () => u.ParameterInfo.createFunctionParameter(_, "registerAction", "actionNodeInfo.typeId")), h[e3.typeId] = e3, m[e3.typeId] = e3.actionClass; }, t2.unregisterAction = function(e3) { delete h[e3], delete m[e3], delete g[e3]; }, t2.registerActionIntoCategory = function(e3) { - d.ParameterValidator.expectNodeInformation(e3, () => u.ParameterInfo.createFunctionParameter(_, "registerActionIntoCategory", "actionNodeInfo")), d.ParameterValidator.expectObject(e3.actionCategory, () => u.ParameterInfo.createFunctionParameter(_, "registerActionIntoCategory", "actionNodeInfo.actionCategory")), d.ParameterValidator.expectObject(e3.actionClass, () => u.ParameterInfo.createFunctionParameter(_, "registerActionIntoCategory", "actionNodeInfo.actionClass")), d.ParameterValidator.expectString(e3.typeId, () => u.ParameterInfo.createFunctionParameter(_, "registerActionIntoCategory", "actionNodeInfo.typeId")), g[e3.typeId] = e3.actionCategory, e3.actionCategory.addActionClass(e3.actionClass); + c.ParameterValidator.expectNodeInformation(e3, () => u.ParameterInfo.createFunctionParameter(_, "registerActionIntoCategory", "actionNodeInfo")), c.ParameterValidator.expectObject(e3.actionCategory, () => u.ParameterInfo.createFunctionParameter(_, "registerActionIntoCategory", "actionNodeInfo.actionCategory")), c.ParameterValidator.expectObject(e3.actionClass, () => u.ParameterInfo.createFunctionParameter(_, "registerActionIntoCategory", "actionNodeInfo.actionClass")), c.ParameterValidator.expectString(e3.typeId, () => u.ParameterInfo.createFunctionParameter(_, "registerActionIntoCategory", "actionNodeInfo.typeId")), g[e3.typeId] = e3.actionCategory, e3.actionCategory.addActionClass(e3.actionClass); }, t2.registerReusableObject = function(e3) { - d.ParameterValidator.expectNodeInformation(e3, () => u.ParameterInfo.createFunctionParameter(_, "registerReusableObject", "reusableObjectNodeInfo")), d.ParameterValidator.expectObject(e3.actionClass, () => u.ParameterInfo.createFunctionParameter(_, "registerAction", "reusableObjectNodeInfo.actionClass")), d.ParameterValidator.expectString(e3.typeId, () => u.ParameterInfo.createFunctionParameter(_, "registerAction", "reusableObjectNodeInfo.typeId")), h[e3.typeId] = e3, m[e3.typeId] = e3.actionClass; + c.ParameterValidator.expectNodeInformation(e3, () => u.ParameterInfo.createFunctionParameter(_, "registerReusableObject", "reusableObjectNodeInfo")), c.ParameterValidator.expectObject(e3.actionClass, () => u.ParameterInfo.createFunctionParameter(_, "registerAction", "reusableObjectNodeInfo.actionClass")), c.ParameterValidator.expectString(e3.typeId, () => u.ParameterInfo.createFunctionParameter(_, "registerAction", "reusableObjectNodeInfo.typeId")), h[e3.typeId] = e3, m[e3.typeId] = e3.actionClass; }, t2.registerActionCategory = function(e3) { f.push(e3); }, t2.getGuxIcon = function(e3) { @@ -75466,7 +81381,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var t4, i3; return (null === (t4 = null == e4 ? void 0 : e4.info) || void 0 === t4 ? void 0 : t4.category) ? e4.info.category : g[null === (i3 = null == e4 ? void 0 : e4.info) || void 0 === i3 ? void 0 : i3.typeId]; })(e3); - return (null == t3 ? void 0 : t3.guxIcon) ? t3.guxIcon : l.default.unknown.gux; + return (null == t3 ? void 0 : t3.iconName) ? t3.iconName : l.default.unknown; }, t2.createActionWithModel = T, t2.getActionConstructor = function(e3) { return e3 ? m[e3.__type] : null; }, t2.createAction = function(e3, t3, i3) { @@ -75489,7 +81404,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (!r3) return null; for (let e4 = 0; e4 < r3.actions.length; e4++) if (r3.actions[e4].info.getAvailability(t3, i3, n3)) return r3.actions[e4]; }, t2._processBootstrapData = y; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(12847)), l = n2.__importDefault(i2(61864)), u = i2(55909), d = i2(33951), c = n2.__importStar(i2(74359)), p = i2(43096), _ = "NodeManager", h = {}, m = {}, g = {}, f = []; + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(12847)), l = n2.__importDefault(i2(61864)), u = i2(55909), c = i2(33951), d = n2.__importStar(i2(74359)), p = i2(43096), _ = "NodeManager", h = {}, m = {}, g = {}, f = []; function T(e3, t3, i3) { if (!t3) return null; const n3 = m[t3.__type]; @@ -75509,7 +81424,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; i3.needsServerInfo && !e3.actions[i3.typeId] && (t3[i3.typeId] = "none!!"); }), s.table("Bootstrap action data support", t3); } - t2.actionDefs = h, c.bootstrapDataLoaded.then(function(e3) { + t2.actionDefs = h, d.bootstrapDataLoaded.then(function(e3) { y(e3); }); }, 62893: function(e2, t2, i2) { @@ -75532,12 +81447,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; o2.next(s[0].asObservable()), t4.subscribe(a.createOperatorSubscriber(o2, function(t5) { var a2, u; try { - for (var d = n2(s), c = d.next(); !c.done; c = d.next()) c.value.next(t5); + for (var c = n2(s), d = c.next(); !d.done; d = c.next()) d.value.next(t5); } catch (e4) { a2 = { error: e4 }; } finally { try { - c && !c.done && (u = d.return) && u.call(d); + d && !d.done && (u = c.return) && u.call(c); } finally { if (a2) throw a2.error; } @@ -75571,7 +81486,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 62902: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.digitalBotConnectorManager = t2.DigitalBotConnectorManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(35295)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(24032)), l = i2(33143), u = n2.__importDefault(i2(47532)), d = i2(30801), c = i2(57467), p = i2(81801), _ = i2(47957), h = i2(75601), m = i2(27862); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(35295)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(24032)), l = i2(33143), u = n2.__importDefault(i2(47532)), c = i2(30801), d = i2(57467), p = i2(81801), _ = i2(47957), h = i2(75601), m = i2(27862); class g extends u.default { get requiredAuth() { return p.externalAuthorizations.authStrings.botConnectorView; @@ -75580,7 +81495,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return m.DigitalBotConnector; } constructor() { - super(), this.topic = s.getTopic("DigitalBotConnectorManager"), this.apiCallList = o.getDigitalBotConnectorBots, this.apiCallSingle = o.getDigitalBotConnectorBot, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "bot", this.actionsForUsageSearch = [d.digitalBotConnectorActionType], this.className = "DigitalBotConnectorManager", this.defaultMatchingStyle = a.exactMatch, this.dependencyContext = _.botConnector.digitalBotName, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "digitalBotConnector", this._initialize(); + super(), this.topic = s.getTopic("DigitalBotConnectorManager"), this.apiCallList = o.getDigitalBotConnectorBots, this.apiCallSingle = o.getDigitalBotConnectorBot, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "bot", this.actionsForUsageSearch = [c.digitalBotConnectorActionType], this.className = "DigitalBotConnectorManager", this.defaultMatchingStyle = a.exactMatch, this.dependencyContext = _.botConnector.digitalBotName, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "digitalBotConnector", this._initialize(); } areServerItemViewModelsEqual(e3, t3) { return e3 === t3 || r2.default.isEqual(e3, t3); @@ -75603,7 +81518,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; getBotIntegrationForBotCategory(e3) { if (!r2.default.isString(e3)) return this.topic.error("Object passed to getBotIntegrationForBotCategory was not a string: " + e3), null; const t3 = this.items[e3.toLowerCase()]; - return t3 ? c.digitalBotConnectorIntegrationManager.getItem(t3.integrationId) : null; + return t3 ? d.digitalBotConnectorIntegrationManager.getItem(t3.integrationId) : null; } getItem(e3, t3) { const i3 = t3, n3 = r2.default.isFunction(null == i3 ? void 0 : i3.getUniqueBotCategoryId) ? i3.getUniqueBotCategoryId() : e3; @@ -75750,23 +81665,23 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "tableId", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "publishedContract", null); }, 63003: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = i2(21305), a = i2(80428), s = i2(12179), l = n2.__importDefault(i2(97891)), u = i2(82632), d = i2(49706), c = i2(45077), p = i2(47957); - class _ extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = i2(21305), a = i2(80428), s = i2(12179), l = n2.__importDefault(i2(97891)), u = i2(82632), c = i2(49706), d = i2(45077), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } static get managedProperties() { - return [{ label: p.skillExpressionFilters.skillExpressionFiltersLabel, property: "skillExpressionFilters", options: o.ExpressionTypeJsonOptions.create((e3) => e3.setAsInput().setIsOptional(false).setIsCollection(true).setMinItems(u.setSkillExpressionFilters.skillExpressionFilters.minItems).setMaxItems(u.setSkillExpressionFilters.skillExpressionFilters.maxItems).setIsCustomJsonType(true).setIninTestingField("skillExpressionFilters").setDescriptionInfo(null, p.skillExpressionFilters.setSkillExpressionFiltersTooltipInfo)), type: a.expressionTypeNames.skillExpressionFilter, typeOfJsonShouldBeCustom: true, yamlOptions: _.createYamlOptions("skillExpressionFilters", (e3) => e3.setPropertyName("skillExpressionFilters")) }]; + return [{ label: _.skillExpressionFilters.skillExpressionFiltersLabel, property: "skillExpressionFilters", options: o.ExpressionTypeJsonOptions.create((e3) => e3.setAsInput().setIsOptional(false).setIsCollection(true).setMinItems(u.setSkillExpressionFilters.skillExpressionFilters.minItems).setMaxItems(u.setSkillExpressionFilters.skillExpressionFilters.maxItems).setIsCustomJsonType(true).setIninTestingField("skillExpressionFilters").setDescriptionInfo(null, _.skillExpressionFilters.setSkillExpressionFiltersTooltipInfo)), type: a.expressionTypeNames.skillExpressionFilter, typeOfJsonShouldBeCustom: true, yamlOptions: h.createYamlOptions("skillExpressionFilters", (e3) => e3.setPropertyName("skillExpressionFilters")) }]; } _getPossibleErrors() { - return c.setSkillExpressionFiltersFailureReasons; + return d.setSkillExpressionFiltersFailureReasons; } } - _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: s.helpTopics.actions.setSkillExpressionFilters, modelClass: d.SetSkillExpressionFiltersActionModel, name: p.actions.setSkillExpressionFilters, scriptingName: "ArchActionSetSkillExpressionFilters" }), t2.A = _; + h.info = l.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: s.helpTopics.actions.setSkillExpressionFilters, modelClass: c.SetSkillExpressionFiltersActionModel, name: _.actions.setSkillExpressionFilters, scriptingName: "ArchActionSetSkillExpressionFilters", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 63005: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(80295), a = n2.__importDefault(i2(74986)), s = i2(55909), l = i2(80428), u = i2(33951), d = n2.__importDefault(i2(65302)), c = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(80295), a = n2.__importDefault(i2(74986)), s = i2(55909), l = i2(80428), u = i2(33951), c = n2.__importDefault(i2(65302)), d = i2(47957); class p extends a.default { constructor() { super(), this._disallowZero = false, (0, o.makeUnenumerable)(this, "_disallowZero"); @@ -75785,7 +81700,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return true; } addDescriptionInfo(e3, t3) { - super.addDescriptionInfo(e3, t3), true === this.disallowZero && t3.push(c.expressionsHelp.parameters.notAllowedZero); + super.addDescriptionInfo(e3, t3), true === this.disallowZero && t3.push(d.expressionsHelp.parameters.notAllowedZero); } get hasDescriptionInfo() { return !!super.hasDescriptionInfo || this.disallowZero; @@ -75818,7 +81733,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return e3.getLitAsFloat(); } _facetGetExpressionType() { - return d.default.getGlobalTypeGroup().getType(l.expressionTypeNames.decimal, this.isCollection); + return c.default.getGlobalTypeGroup().getType(l.expressionTypeNames.decimal, this.isCollection); } } t2.default = p, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Object])], p.prototype, "decimalPlaces", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], p.prototype, "disallowZero", null); @@ -75867,17 +81782,17 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 63145: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(98114)), a = n2.__importDefault(i2(61864)), s = n2.__importStar(i2(81858)), l = i2(12179), u = i2(14394), d = n2.__importDefault(i2(82619)), c = n2.__importDefault(i2(35050)), p = n2.__importDefault(i2(91935)), _ = n2.__importDefault(i2(32756)), h = n2.__importDefault(i2(22599)), m = n2.__importDefault(i2(96727)), g = i2(73062), f = i2(28562), T = i2(69149), y = n2.__importDefault(i2(39041)), S = i2(16958); + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(98114)), a = n2.__importDefault(i2(61864)), s = n2.__importStar(i2(81858)), l = i2(12179), u = i2(14394), c = n2.__importDefault(i2(82619)), d = n2.__importDefault(i2(35050)), p = n2.__importDefault(i2(91935)), _ = n2.__importDefault(i2(32756)), h = n2.__importDefault(i2(22599)), m = n2.__importDefault(i2(96727)), g = i2(73062), f = i2(28562), T = i2(69149), y = n2.__importDefault(i2(39041)), S = i2(16958); class A { constructor() { Object.defineProperties(this, { _builderDefinitions: { value: {} } }); } initialize() { - y.default.addBuilderDef(new d.default({ id: f.builderIds.parts.email, name: S.builders.partsBooleanEmail.name, description: S.builders.partsBooleanEmail.description, generators: { noOrDisabledPartsGenerator: m.default.falseLiteralGenerator, expressionGenerator: h.default.create().addLogicalAndParmGenerationBucket("parts_and", true).verifySprintfStringAndInitialize("") }, version: 1, resultExpressionType: u.globalTypes.boolean, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeInboundEmail, categoryIdentifierOrIdentifiers: g.builderCategoryIds.email, builderPartDefCategoryIdentifierOrIdentifiers: g.builderCategoryIds.email, icon: a.default.emailEnvelope, helpTopic: null })), y.default.addBuilderDef(new d.default({ id: f.builderIds.parts.genericBoolean, name: S.builders.partsGenericBoolean.name, description: S.builders.partsGenericBoolean.description, generators: { noOrDisabledPartsGenerator: m.default.falseLiteralGenerator, expressionGenerator: h.default.create().addLogicalAndParmGenerationBucket("parts_and", true).verifySprintfStringAndInitialize("") }, minMaxInfo: { warnOnNoParts: true }, version: 1, resultExpressionType: u.globalTypes.boolean, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: l.helpTopics.builders.boolean })), y.default.addBuilderDef(new p.default({ id: f.builderIds.parts.genericCommunication, name: S.builders.partsGenericCommunication.name, description: S.builders.partsGenericCommunication.description, generators: { containerPartsGenerator: h.default.create().addFuncCall("MakeCommunication").addFuncCallParmGenerationBucket("make_communication", true).addFuncCallEnd().verifySprintfStringAndInitialize("MakeCommunication()"), noOrDisabledPartsGenerator: m.default.notSetCommunicationGenerator }, version: 1, minMaxInfo: { warnOnNoParts: true }, resultExpressionType: u.globalTypes.communication, builderPartTypes: [u.globalTypes.communication], restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: a.default.complex, helpTopic: l.helpTopics.builders.communication, builderManagesContainerOrder: true })), y.default.addBuilderDef(new p.default({ id: f.builderIds.parts.markdownCommunication, name: S.builders.partMarkdownCommunication.name, description: S.builders.partMarkdownCommunication.description, generators: { containerPartsGenerator: h.default.create().addFuncCall("MakeCommunication").addFuncCallParmGenerationBucket("make_communication", true).addFuncCallEnd().verifySprintfStringAndInitialize("MakeCommunication()"), noOrDisabledPartsGenerator: m.default.emptyStringLiteralGenerator }, version: 1, minMaxInfo: { maxBuilderPartCount: 1, minBuilderPartCount: 1, fixedBuilderPart: true }, resultExpressionType: u.globalTypes.communication, builderPartTypes: [u.globalTypes.communication], defaultBuilderPartId: T.builderPartIds.communication.markdown, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: g.builderCategoryIds.markdown, icon: a.default.string, helpTopic: l.helpTopics.builders.communication, builderManagesContainerOrder: true })), y.default.addBuilderDef(new _.default({ id: f.builderIds.parts.genericString, name: S.builders.partsGenericString.name, description: S.builders.partsGenericString.description, generators: A.genericStringAndLabelStringBuilderDefGenerators, minMaxInfo: { warnOnNoParts: true }, version: 1, resultExpressionType: u.globalTypes.string, restrictToFlowTypeOrTypes: o.default.getFlowTypesThatSupportLanguages(), categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: l.helpTopics.builders.string })), y.default.addBuilderDef(new _.default({ id: f.builderIds.parts.labelString, name: S.builders.partsLabelString.name, description: S.builders.partsLabelString.description, generators: A.genericStringAndLabelStringBuilderDefGenerators, minMaxInfo: { warnOnNoParts: true }, version: 1, resultExpressionType: u.globalTypes.string, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, categoryIdentifierOrIdentifiers: [g.builderCategoryIds.labelString, g.builderCategoryIds.toolbar], builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: l.helpTopics.builders.string })), y.default.addBuilderDef(new _.default({ id: f.builderIds.parts.markdownString, name: S.builders.partMarkdownString.name, description: S.builders.partMarkdownString.description, generators: { containerPartsGenerator: h.default.create().addFuncCall("Append").addFuncCallParmGenerationBucket("append", true).addFuncCallEnd().verifySprintfStringAndInitialize("Append()").setAboutToAddGenerationCallback((e3, t3, i3, n3) => { + y.default.addBuilderDef(new c.default({ id: f.builderIds.parts.email, name: S.builders.partsBooleanEmail.name, description: S.builders.partsBooleanEmail.description, generators: { noOrDisabledPartsGenerator: m.default.falseLiteralGenerator, expressionGenerator: h.default.create().addLogicalAndParmGenerationBucket("parts_and", true).verifySprintfStringAndInitialize("") }, version: 1, resultExpressionType: u.globalTypes.boolean, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeInboundEmail, categoryIdentifierOrIdentifiers: g.builderCategoryIds.email, builderPartDefCategoryIdentifierOrIdentifiers: g.builderCategoryIds.email, icon: a.default.emailEnvelope, helpTopic: null })), y.default.addBuilderDef(new c.default({ id: f.builderIds.parts.genericBoolean, name: S.builders.partsGenericBoolean.name, description: S.builders.partsGenericBoolean.description, generators: { noOrDisabledPartsGenerator: m.default.falseLiteralGenerator, expressionGenerator: h.default.create().addLogicalAndParmGenerationBucket("parts_and", true).verifySprintfStringAndInitialize("") }, minMaxInfo: { warnOnNoParts: true }, version: 1, resultExpressionType: u.globalTypes.boolean, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: l.helpTopics.builders.boolean })), y.default.addBuilderDef(new p.default({ id: f.builderIds.parts.genericCommunication, name: S.builders.partsGenericCommunication.name, description: S.builders.partsGenericCommunication.description, generators: { containerPartsGenerator: h.default.create().addFuncCall("MakeCommunication").addFuncCallParmGenerationBucket("make_communication", true).addFuncCallEnd().verifySprintfStringAndInitialize("MakeCommunication()"), noOrDisabledPartsGenerator: m.default.notSetCommunicationGenerator }, version: 1, minMaxInfo: { warnOnNoParts: true }, resultExpressionType: u.globalTypes.communication, builderPartTypes: [u.globalTypes.communication], restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: a.default.complex, helpTopic: l.helpTopics.builders.communication, builderManagesContainerOrder: true })), y.default.addBuilderDef(new p.default({ id: f.builderIds.parts.markdownCommunication, name: S.builders.partMarkdownCommunication.name, description: S.builders.partMarkdownCommunication.description, generators: { containerPartsGenerator: h.default.create().addFuncCall("MakeCommunication").addFuncCallParmGenerationBucket("make_communication", true).addFuncCallEnd().verifySprintfStringAndInitialize("MakeCommunication()"), noOrDisabledPartsGenerator: m.default.emptyStringLiteralGenerator }, version: 1, minMaxInfo: { maxBuilderPartCount: 1, minBuilderPartCount: 1, fixedBuilderPart: true }, resultExpressionType: u.globalTypes.communication, builderPartTypes: [u.globalTypes.communication], defaultBuilderPartId: T.builderPartIds.communication.markdown, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: g.builderCategoryIds.markdown, icon: a.default.string, helpTopic: l.helpTopics.builders.communication, builderManagesContainerOrder: true })), y.default.addBuilderDef(new _.default({ id: f.builderIds.parts.genericString, name: S.builders.partsGenericString.name, description: S.builders.partsGenericString.description, generators: A.genericStringAndLabelStringBuilderDefGenerators, minMaxInfo: { warnOnNoParts: true }, version: 1, resultExpressionType: u.globalTypes.string, restrictToFlowTypeOrTypes: o.default.getFlowTypesThatSupportLanguages(), categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: l.helpTopics.builders.string })), y.default.addBuilderDef(new _.default({ id: f.builderIds.parts.labelString, name: S.builders.partsLabelString.name, description: S.builders.partsLabelString.description, generators: A.genericStringAndLabelStringBuilderDefGenerators, minMaxInfo: { warnOnNoParts: true }, version: 1, resultExpressionType: u.globalTypes.string, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, categoryIdentifierOrIdentifiers: [g.builderCategoryIds.labelString, g.builderCategoryIds.toolbar], builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: l.helpTopics.builders.string })), y.default.addBuilderDef(new _.default({ id: f.builderIds.parts.markdownString, name: S.builders.partMarkdownString.name, description: S.builders.partMarkdownString.description, generators: { containerPartsGenerator: h.default.create().addFuncCall("Append").addFuncCallParmGenerationBucket("append", true).addFuncCallEnd().verifySprintfStringAndInitialize("Append()").setAboutToAddGenerationCallback((e3, t3, i3, n3) => { if (!n3 || "append" !== t3 || 0 === i3.length) return; const r3 = i3[i3.length - 1]; r3 && (r3.willGenerateNotSetOrStringLiteral ? e3.addGenerationToBucket(m.default.singleSpaceStringLiteralGenerator.createGeneration()) : e3.addGenerationToBucket(m.default.lastGenNotSetOrEmptySpaceSepGenerator.createGeneration())); - }), noOrDisabledPartsGenerator: m.default.emptyStringLiteralGenerator }, minMaxInfo: { maxBuilderPartCount: 1, minBuilderPartCount: 1, fixedBuilderPart: true, warnOnNoParts: true }, version: 1, defaultBuilderPartId: T.builderPartIds.string.markdown, resultExpressionType: u.globalTypes.string, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: g.builderCategoryIds.markdown, icon: a.default.string, helpTopic: null, builderManagesContainerOrder: true })), y.default.addBuilderDef(new _.default({ id: f.builderIds.parts.genericAudio, name: S.builders.partsGenericAudio.name, description: S.builders.partsGenericAudio.description, generators: { containerPartsGenerator: h.default.create().addFuncCall("Append").addFuncCallParmGenerationBucket("append", true).addFuncCallEnd().verifySprintfStringAndInitialize("Append()"), noOrDisabledPartsGenerator: m.default.notSetAudioGenerator }, minMaxInfo: { warnOnNoParts: true }, version: 1, resultExpressionType: u.globalTypes.audio, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllVxmlgen, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: l.helpTopics.builders.audio, requiredFeatureToggle: s.archExpressionBuilders })), y.default.addBuilderDef(new c.default({ id: f.builderIds.parts.genericDateTime, name: S.builders.genericDateTime.name, description: S.builders.genericDateTime.description, generators: { noOrDisabledPartsGenerator: m.default.notSetDateTimeGenerator }, version: 1, resultExpressionType: u.globalTypes.dateTime, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: null, requiredFeatureToggle: s.archExpressionBuilders })), y.default.addBuilderDef(new c.default({ id: f.builderIds.parts.genericDuration, name: S.builders.genericDuration.name, description: S.builders.genericDuration.description, generators: { noOrDisabledPartsGenerator: m.default.notSetDurationGenerator }, version: 1, resultExpressionType: u.globalTypes.duration, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: null })), y.default.addBuilderDef(new c.default({ id: f.builderIds.parts.genericPrompt, name: S.builders.partsGenericPrompt.name, description: S.builders.partsGenericPrompt.description, generators: { noOrDisabledPartsGenerator: m.default.notSetPromptGenerator }, version: 1, resultExpressionType: u.globalTypes.prompt, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: null })), y.default.addBuilderDef(new c.default({ id: f.builderIds.parts.genericImage, name: S.builders.genericImage.name, description: S.builders.genericImage.description, generators: { noOrDisabledPartsGenerator: m.default.notSetImageGenerator }, version: 1, resultExpressionType: u.globalTypes.image, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: a.default.image, helpTopic: l.helpTopics.builders.image })), y.default.addBuilderDef(new c.default({ id: f.builderIds.parts.genericVideo, name: S.builders.genericVideo.name, description: S.builders.genericVideo.description, generators: { noOrDisabledPartsGenerator: m.default.notSetVideoGenerator }, version: 1, resultExpressionType: u.globalTypes.video, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: a.default.video, helpTopic: null })), y.default.addBuilderDef(new c.default({ id: f.builderIds.parts.genericAudio, name: S.builders.partsGenericAudio.name, description: S.builders.partsGenericAudio.description, generators: { noOrDisabledPartsGenerator: m.default.notSetAudioGenerator }, version: 1, resultExpressionType: u.globalTypes.audio, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllVxmlgen, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: l.helpTopics.builders.audio })), y.default.addBuilderDef(new c.default({ id: f.builderIds.parts.genericAgentScorePair, name: S.builders.genericAgentScorePair.name, description: S.builders.genericAgentScorePair.description, generators: { noOrDisabledPartsGenerator: m.default.notSetAgentScorePairGenerator }, version: 1, resultExpressionType: u.globalTypes.agentScorePair, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: null })), y.default.addBuilderDef(new c.default({ id: f.builderIds.parts.genericInteger, name: S.builders.genericInteger.name, description: S.builders.genericInteger.description, generators: { noOrDisabledPartsGenerator: m.default.notSetIntegerGenerator }, version: 1, resultExpressionType: u.globalTypes.integer, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: null })); + }), noOrDisabledPartsGenerator: m.default.emptyStringLiteralGenerator }, minMaxInfo: { maxBuilderPartCount: 1, minBuilderPartCount: 1, fixedBuilderPart: true, warnOnNoParts: true }, version: 1, defaultBuilderPartId: T.builderPartIds.string.markdown, resultExpressionType: u.globalTypes.string, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: g.builderCategoryIds.markdown, icon: a.default.string, helpTopic: null, builderManagesContainerOrder: true })), y.default.addBuilderDef(new _.default({ id: f.builderIds.parts.genericAudio, name: S.builders.partsGenericAudio.name, description: S.builders.partsGenericAudio.description, generators: { containerPartsGenerator: h.default.create().addFuncCall("Append").addFuncCallParmGenerationBucket("append", true).addFuncCallEnd().verifySprintfStringAndInitialize("Append()"), noOrDisabledPartsGenerator: m.default.notSetAudioGenerator }, minMaxInfo: { warnOnNoParts: true }, version: 1, resultExpressionType: u.globalTypes.audio, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllVxmlgen, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: l.helpTopics.builders.audio, requiredFeatureToggle: s.archExpressionBuilders })), y.default.addBuilderDef(new d.default({ id: f.builderIds.parts.genericDateTime, name: S.builders.genericDateTime.name, description: S.builders.genericDateTime.description, generators: { noOrDisabledPartsGenerator: m.default.notSetDateTimeGenerator }, version: 1, resultExpressionType: u.globalTypes.dateTime, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: null, requiredFeatureToggle: s.archExpressionBuilders })), y.default.addBuilderDef(new d.default({ id: f.builderIds.parts.genericDuration, name: S.builders.genericDuration.name, description: S.builders.genericDuration.description, generators: { noOrDisabledPartsGenerator: m.default.notSetDurationGenerator }, version: 1, resultExpressionType: u.globalTypes.duration, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: null })), y.default.addBuilderDef(new d.default({ id: f.builderIds.parts.genericPrompt, name: S.builders.partsGenericPrompt.name, description: S.builders.partsGenericPrompt.description, generators: { noOrDisabledPartsGenerator: m.default.notSetPromptGenerator }, version: 1, resultExpressionType: u.globalTypes.prompt, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: null })), y.default.addBuilderDef(new d.default({ id: f.builderIds.parts.genericImage, name: S.builders.genericImage.name, description: S.builders.genericImage.description, generators: { noOrDisabledPartsGenerator: m.default.notSetImageGenerator }, version: 1, resultExpressionType: u.globalTypes.image, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: a.default.image, helpTopic: l.helpTopics.builders.image })), y.default.addBuilderDef(new d.default({ id: f.builderIds.parts.genericVideo, name: S.builders.genericVideo.name, description: S.builders.genericVideo.description, generators: { noOrDisabledPartsGenerator: m.default.notSetVideoGenerator }, version: 1, resultExpressionType: u.globalTypes.video, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: a.default.video, helpTopic: null })), y.default.addBuilderDef(new d.default({ id: f.builderIds.parts.genericAudio, name: S.builders.partsGenericAudio.name, description: S.builders.partsGenericAudio.description, generators: { noOrDisabledPartsGenerator: m.default.notSetAudioGenerator }, version: 1, resultExpressionType: u.globalTypes.audio, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllVxmlgen, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: l.helpTopics.builders.audio })), y.default.addBuilderDef(new d.default({ id: f.builderIds.parts.genericAgentScorePair, name: S.builders.genericAgentScorePair.name, description: S.builders.genericAgentScorePair.description, generators: { noOrDisabledPartsGenerator: m.default.notSetAgentScorePairGenerator }, version: 1, resultExpressionType: u.globalTypes.agentScorePair, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: null })), y.default.addBuilderDef(new d.default({ id: f.builderIds.parts.genericInteger, name: S.builders.genericInteger.name, description: S.builders.genericInteger.description, generators: { noOrDisabledPartsGenerator: m.default.notSetIntegerGenerator }, version: 1, resultExpressionType: u.globalTypes.integer, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: null })); } get className() { return "BuilderDefsBootstrap"; @@ -75897,7 +81812,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = N; }, 63150: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(12457), a = n2.__importDefault(i2(5730)), s = i2(80428), l = i2(98364), u = i2(81516), d = n2.__importDefault(i2(4648)), c = i2(96618), p = i2(12179), _ = n2.__importDefault(i2(97891)), h = i2(82632), m = i2(88276), g = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(12457), a = n2.__importDefault(i2(5730)), s = i2(80428), l = i2(98364), u = i2(81516), c = n2.__importDefault(i2(4648)), d = i2(96618), p = i2(12179), _ = n2.__importDefault(i2(97891)), h = i2(82632), m = i2(88276), g = i2(47957); class f extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -75917,10 +81832,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return new o.ActionDetails(e3, t3); } static get managedProperties() { - return [{ label: g.sendResponse.messageBodyStyleLabel, supportedFlowTypes: [c.flowTypes.flowTypeInboundChat], options: u.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("messageBodyStyleExpression").setDefaultText("notice").setAllowModeExpression(true).setDescriptionInfo(g.sendResponse.messageBodyStyleLabel, g.sendResponse.messageBodyStyleDescription).facets.setAllowableValues(m)), property: "messageBodyStyle", type: s.expressionTypeNames.string }, { label: g.sendResponse.sendBody, options: u.ExpressionTypeStringOptions.create((e3) => e3.setDefaultToExpression(true).setIninTestingField("send-body").setDescriptionInfo(g.sendResponse.sendBody, g.sendResponse.sendBodyDescription).facets.setMinLength(1)), property: "messageBody", type: s.expressionTypeNames.string }, { label: g.responseAsset.responseAssetAttachmentsLabel, options: l.ExpressionTypeResponseAssetOptions.create((e3) => e3.setIninTestingField("send-attachments").setDescriptionInfo(g.responseAsset.responseAssetAttachmentsLabel, g.responseAsset.responseAssetAttachmentsDescription).setIsOptional(true).setIsCollection(true).setMaxItems(h.sendResponseAction.attachments.maxItems).setFeatureConfigName(d.default.cannedResponseAttachmentsFeature)), property: "attachments", type: s.expressionTypeNames.responseAsset }]; + return [{ label: g.sendResponse.messageBodyStyleLabel, supportedFlowTypes: [d.flowTypes.flowTypeInboundChat], options: u.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("messageBodyStyleExpression").setDefaultText("notice").setAllowModeExpression(true).setDescriptionInfo(g.sendResponse.messageBodyStyleLabel, g.sendResponse.messageBodyStyleDescription).facets.setAllowableValues(m)), property: "messageBodyStyle", type: s.expressionTypeNames.string }, { label: g.sendResponse.sendBody, options: u.ExpressionTypeStringOptions.create((e3) => e3.setDefaultToExpression(true).setIninTestingField("send-body").setDescriptionInfo(g.sendResponse.sendBody, g.sendResponse.sendBodyDescription).facets.setMinLength(1)), property: "messageBody", type: s.expressionTypeNames.string }, { label: g.responseAsset.responseAssetAttachmentsLabel, options: l.ExpressionTypeResponseAssetOptions.create((e3) => e3.setIninTestingField("send-attachments").setDescriptionInfo(g.responseAsset.responseAssetAttachmentsLabel, g.responseAsset.responseAssetAttachmentsDescription).setIsOptional(true).setIsCollection(true).setMaxItems(h.sendResponseAction.attachments.maxItems).setFeatureConfigName(c.default.cannedResponseAttachmentsFeature)), property: "attachments", type: s.expressionTypeNames.responseAsset }]; } } - f.info = _.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: p.helpTopics.actions.sendResponse, modelClass: i2(8538), name: g.actions.sendResponse, scriptingName: "ArchActionSendResponse" }), t2.A = f; + f.info = _.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: p.helpTopics.actions.sendResponse, modelClass: i2(8538), name: g.actions.sendResponse, scriptingName: "ArchActionSendResponse", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = f; }, 63164: function(e2, t2, i2) { !(function(e3) { "use strict"; @@ -76004,12 +81919,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var i3 = n2.deflateInit2(this.strm, t3.level, t3.method, t3.windowBits, t3.memLevel, t3.strategy); if (0 !== i3) throw new Error(a[i3]); if (t3.header && n2.deflateSetHeader(this.strm, t3.header), t3.dictionary) { - var d2; - if (d2 = "string" == typeof t3.dictionary ? o.string2buf(t3.dictionary) : "[object ArrayBuffer]" === l.call(t3.dictionary) ? new Uint8Array(t3.dictionary) : t3.dictionary, 0 !== (i3 = n2.deflateSetDictionary(this.strm, d2))) throw new Error(a[i3]); + var c2; + if (c2 = "string" == typeof t3.dictionary ? o.string2buf(t3.dictionary) : "[object ArrayBuffer]" === l.call(t3.dictionary) ? new Uint8Array(t3.dictionary) : t3.dictionary, 0 !== (i3 = n2.deflateSetDictionary(this.strm, c2))) throw new Error(a[i3]); this._dict_set = true; } } - function d(e3, t3) { + function c(e3, t3) { var i3 = new u(t3); if (i3.push(e3, true), i3.err) throw i3.msg || a[i3.err]; return i3.result; @@ -76027,10 +81942,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.chunks.push(e3); }, u.prototype.onEnd = function(e3) { 0 === e3 && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = r2.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg; - }, t2.Deflate = u, t2.deflate = d, t2.deflateRaw = function(e3, t3) { - return (t3 = t3 || {}).raw = true, d(e3, t3); + }, t2.Deflate = u, t2.deflate = c, t2.deflateRaw = function(e3, t3) { + return (t3 = t3 || {}).raw = true, c(e3, t3); }, t2.gzip = function(e3, t3) { - return (t3 = t3 || {}).gzip = true, d(e3, t3); + return (t3 = t3 || {}).gzip = true, c(e3, t3); }; }, 63338: (e2, t2, i2) => { "use strict"; @@ -76054,16 +81969,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 63345: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.responseAssetManager = t2.ResponseAssetManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(90891)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(67432)), d = i2(47957), c = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(90891)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(67432)), c = i2(47957), d = i2(27862); class p extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.responseAssetView; } get dependencyType() { - return c.ResponseAsset; + return d.ResponseAsset; } constructor() { - super(), this.topic = a.getTopic("ResponseAssetManager"), this.apiCallList = o.getResponseAssets, this.apiCallSingle = o.getResponseAsset, this._rawServerCache = {}, this.className = "ResponseAssetManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = d.responseAsset.responseAsset, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "responseAssets", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); + super(), this.topic = a.getTopic("ResponseAssetManager"), this.apiCallList = o.getResponseAssets, this.apiCallSingle = o.getResponseAsset, this._rawServerCache = {}, this.className = "ResponseAssetManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = c.responseAsset.responseAsset, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "responseAssets", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); } _createItemViewModel(e3) { return new u.default(e3); @@ -76333,13 +82248,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 63689: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.nluDomainManager = t2.NLUDomainManager = void 0; - const n2 = i2(31635), r2 = i2(68694), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(24601)), l = n2.__importStar(i2(24032)), u = n2.__importStar(i2(36781)), d = n2.__importStar(i2(1360)), c = n2.__importDefault(i2(42048)), p = n2.__importDefault(i2(47532)), _ = i2(27862); + const n2 = i2(31635), r2 = i2(68694), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(24601)), l = n2.__importStar(i2(24032)), u = n2.__importStar(i2(36781)), c = n2.__importStar(i2(1360)), d = n2.__importDefault(i2(42048)), p = n2.__importDefault(i2(47532)), _ = i2(27862); class h extends p.default { get dependencyType() { return _.NLUDomain; } constructor() { - super(), this.topic = l.getTopic("NLUDomainManager"), this._rawServerCache = {}, this.apiCallList = s.getNluDomains, this.apiCallSingle = s.getNluDomain, this.className = "NLUDomainManager", this.defaultMatchingStyle = d.exactMatch, this.dependencyContext = "NLU", this.securityError = true, this.suppressSearch = true, this._initialize(), u.serviceListen(u.cleanUpFlow, (e3) => { + super(), this.topic = l.getTopic("NLUDomainManager"), this._rawServerCache = {}, this.apiCallList = s.getNluDomains, this.apiCallSingle = s.getNluDomain, this.className = "NLUDomainManager", this.defaultMatchingStyle = c.exactMatch, this.dependencyContext = "NLU", this.securityError = true, this.suppressSearch = true, this._initialize(), u.serviceListen(u.cleanUpFlow, (e3) => { e3.isNluFlow && (this.items = o.default.omit(this.items, (e4) => e4.isFromWorkbench)); }); } @@ -76367,7 +82282,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return "__fake_nlu_domain_version__"; } _createItemViewModel(e3) { - return new c.default(e3); + return new d.default(e3); } checkNluDomainVersionJson(e3, t3) { if (!o.default.isObject(e3)) return null; @@ -76442,7 +82357,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const t3 = (e3 = e3 || "").match(/^MakeDuration\(\s*(\d+)\s*,\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*((-?\d+))?\)$/i); return t3 ? h([t3[1] ? parseInt(t3[1], 10) : 0, t3[2] ? parseInt(t3[2], 10) : 0, t3[3] ? parseInt(t3[3], 10) : 0, t3[4] ? parseInt(t3[4], 10) : 0, t3[6] ? parseInt(t3[6], 10) : 0]) : t3; }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = i2(17604), s = n2.__importStar(i2(74359)), l = i2(85306), u = i2(76123), d = i2(47957), c = r2.default.findWhere(l.isoLanguagesUiData, { id: s.getCurrentLanguage() }).humanizeDuration || "en", p = { days: { display: d.duration.days, type: "D", scale: o.default.secsPerDay }, hours: { display: d.duration.hours, type: "H", scale: o.default.secsPerHour }, minutes: { display: d.duration.minutes, type: "M", scale: o.default.secsPerMinute }, seconds: { display: d.duration.seconds, type: "S", scale: 1 }, milliseconds: { display: d.duration.milliseconds, type: "F", scale: 1e-3 } }, _ = { secondsAndTenthsDuration: { timeFormat: "ss.S", defaultUnit: p.seconds.type, supportedUnits: [p.seconds, p.milliseconds], maxSeconds: o.default.secsPerMinute - 0.1 }, minutesSecondsAndMsDuration: { timeFormat: "mm:ss.SSS", defaultUnit: p.minutes.type, supportedUnits: [p.minutes, p.seconds, p.milliseconds], maxSeconds: o.default.secsPerHour - 1e-3 }, veryShortDuration: { timeFormat: "mm:ss", defaultUnit: p.minutes.type, supportedUnits: [p.minutes, p.seconds], maxSeconds: o.default.secsPerHour - 1 }, shortDuration: { timeFormat: "HH:mm", defaultUnit: p.minutes.type, supportedUnits: [p.hours, p.minutes], maxSeconds: o.default.secsPerDay - o.default.secsPerMinute }, mediumDuration: { timeFormat: "HH:mm:ss", defaultUnit: p.minutes.type, supportedUnits: [p.hours, p.minutes, p.seconds], maxSeconds: o.default.secsPerDay - 1 }, mediumAndMsDuration: { timeFormat: "HH:mm:ss.SSS", defaultUnit: p.minutes.type, supportedUnits: [p.hours, p.minutes, p.seconds, p.milliseconds], maxSeconds: o.default.secsPerDay - 1e-3 }, longDuration: { timeFormat: "d-HH:mm", defaultUnit: p.minutes.type, supportedUnits: [p.days, p.hours, p.minutes], maxSeconds: o.default.maxDurationSecs }, fullDuration: { timeFormat: "d-HH:mm:ss", defaultUnit: p.minutes.type, supportedUnits: [p.days, p.hours, p.minutes, p.seconds], maxSeconds: o.default.maxDurationSecs }, minutes: { timeFormat: "mm", defaultUnit: p.minutes.type, supportedUnits: [p.minutes], maxSeconds: o.default.secsPerHour }, fullAndMsDuration: { timeFormat: "d-HH:mm:ss.SSS", defaultUnit: p.minutes.type, supportedUnits: [p.days, p.hours, p.minutes, p.seconds, p.milliseconds], maxSeconds: o.default.maxDurationSecs } }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = i2(17604), s = n2.__importStar(i2(74359)), l = i2(85306), u = i2(76123), c = i2(47957), d = r2.default.findWhere(l.isoLanguagesUiData, { id: s.getCurrentLanguage() }).humanizeDuration || "en", p = { days: { display: c.duration.days, type: "D", scale: o.default.secsPerDay }, hours: { display: c.duration.hours, type: "H", scale: o.default.secsPerHour }, minutes: { display: c.duration.minutes, type: "M", scale: o.default.secsPerMinute }, seconds: { display: c.duration.seconds, type: "S", scale: 1 }, milliseconds: { display: c.duration.milliseconds, type: "F", scale: 1e-3 } }, _ = { secondsAndTenthsDuration: { timeFormat: "ss.S", defaultUnit: p.seconds.type, supportedUnits: [p.seconds, p.milliseconds], maxSeconds: o.default.secsPerMinute - 0.1 }, minutesSecondsAndMsDuration: { timeFormat: "mm:ss.SSS", defaultUnit: p.minutes.type, supportedUnits: [p.minutes, p.seconds, p.milliseconds], maxSeconds: o.default.secsPerHour - 1e-3 }, veryShortDuration: { timeFormat: "mm:ss", defaultUnit: p.minutes.type, supportedUnits: [p.minutes, p.seconds], maxSeconds: o.default.secsPerHour - 1 }, shortDuration: { timeFormat: "HH:mm", defaultUnit: p.minutes.type, supportedUnits: [p.hours, p.minutes], maxSeconds: o.default.secsPerDay - o.default.secsPerMinute }, mediumDuration: { timeFormat: "HH:mm:ss", defaultUnit: p.minutes.type, supportedUnits: [p.hours, p.minutes, p.seconds], maxSeconds: o.default.secsPerDay - 1 }, mediumAndMsDuration: { timeFormat: "HH:mm:ss.SSS", defaultUnit: p.minutes.type, supportedUnits: [p.hours, p.minutes, p.seconds, p.milliseconds], maxSeconds: o.default.secsPerDay - 1e-3 }, longDuration: { timeFormat: "d-HH:mm", defaultUnit: p.minutes.type, supportedUnits: [p.days, p.hours, p.minutes], maxSeconds: o.default.maxDurationSecs }, fullDuration: { timeFormat: "d-HH:mm:ss", defaultUnit: p.minutes.type, supportedUnits: [p.days, p.hours, p.minutes, p.seconds], maxSeconds: o.default.maxDurationSecs }, minutes: { timeFormat: "mm", defaultUnit: p.minutes.type, supportedUnits: [p.minutes], maxSeconds: o.default.secsPerHour }, fullAndMsDuration: { timeFormat: "d-HH:mm:ss.SSS", defaultUnit: p.minutes.type, supportedUnits: [p.days, p.hours, p.minutes, p.seconds, p.milliseconds], maxSeconds: o.default.maxDurationSecs } }; function h(e3) { const t3 = [0, 0, 0, 0, 0]; if (!e3) return t3; @@ -76452,9 +82367,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } function m(e3) { let t3; - if (e3 < 0 && (t3 = true, e3 *= -1), e3.toString().includes("0.")) return u(e3 *= 1e3, { language: c, units: ["s"] }); - let i3 = u(e3, { language: c, units: ["d", "h", "m", "s", "ms"] }); - return t3 && (i3 = (0, a.sprintf)(d.expression.facets.negativeDuration, i3)), i3; + if (e3 < 0 && (t3 = true, e3 *= -1), e3.toString().includes("0.")) return u(e3 *= 1e3, { language: d, units: ["s"] }); + let i3 = u(e3, { language: d, units: ["d", "h", "m", "s", "ms"] }); + return t3 && (i3 = (0, a.sprintf)(c.expression.facets.negativeDuration, i3)), i3; } function g(e3) { if (!e3) return; @@ -76490,28 +82405,74 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; let a2 = t3[5], s2 = t3[6]; if (a2 && !s2 && e3.includes(".")) { const e4 = a2.match(/(\d+)/gi); - "0" !== e4[0] ? (a2 = e4[0], s2 = e4[1], 1 === s2.length ? s2 += "00" : 2 === s2.length && (s2 += "0")) : "0" === e4[0] && (a2 = e4[1], 3 === a2.length && (a2 = "0." + a2)); + "0" !== e4[0] ? (a2 = e4[0], s2 = e4[1], 1 === s2.length ? s2 += "00" : 2 === s2.length && (s2 += "0")) : "0" === e4[0] && e4[1] && (a2 = "0." + e4[1]); } return h([n3 ? i3 * parseInt(n3, 10) : 0, r3 ? i3 * parseInt(r3, 10) : 0, o2 ? i3 * parseInt(o2, 10) : 0, a2 ? i3 * parseFloat(a2) : 0, s2 ? i3 * parseInt(s2, 10) : 0]); } t2.durationStyles = _; + }, 63854: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(8471)); + class r2 extends n2.default { + constructor(e3) { + super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreExternalContactPatchChangeItemViewModel"), e3), this._coreItem = e3; + } + get displayTypeName() { + return "ArchValueExternalContactPatchChange"; + } + get logStr() { + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrPart(e3, "FieldId", this.fieldId, false, true), this._createLogStrFromParts(e3); + } + get isArchValueExternalContactPatchChange() { + return true; + } + get fieldId() { + return this._coreItem.fieldId; + } + get condition() { + return this._coreItem.condition.id; + } + set condition(e3) { + const t3 = this._infoPropSet("conditionId", "condition"); + this._checkItemIsValidLiteralStringEnum(t3, e3, this.availableConditionIds, false); + const i3 = this._coreItem.availableConditions.find((t4) => t4.id === e3); + i3 && (this._coreItem.condition = i3); + } + get availableConditionIds() { + return this._coreItem.availableConditions.map((e3) => e3.id); + } + get value() { + return this.coreFactory.createArchWrapper(this._coreItem.expression); + } + } + t2.default = r2; }, 63883: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.MenuChoiceViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(25021)), s = n2.__importStar(i2(62829)), l = n2.__importStar(i2(58380)), u = n2.__importStar(i2(1115)), d = i2(19384), c = n2.__importDefault(i2(76155)), p = i2(30801), _ = i2(84663), h = i2(17604), m = i2(30801), g = i2(30801), f = i2(30801), T = n2.__importDefault(i2(22917)), y = i2(31178), S = i2(27359), A = i2(47957), N = [y.One, y.Two, y.Three, y.Four, y.Five, y.Six, y.Seven, y.Eight, y.Nine, y.Zero], O = { dtmf: T.default.create(), globalDtmf: T.default.create(), globalSpeech: T.default.create(null, (e3) => e3.setPropertyName("globalSpeechRecTerms")), speechRecTerms: T.default.create() }; - class I extends c.default { + Object.defineProperty(t2, "__esModule", { value: true }), t2.MenuChoiceViewModel = void 0, t2.flowYamlDtmfFromDigit = function(e3) { + if (e3 && "string" == typeof e3.name) for (const t3 of Object.keys(E)) { + if (!t3.startsWith("digit_")) continue; + const i3 = E[t3]; + if ((null == i3 ? void 0 : i3.name) === e3.name) return t3; + } + }, t2.isMenuChoice = function(e3) { + return null == e3 ? void 0 : e3.isMenuChoice; + }; + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(69453)), l = n2.__importDefault(i2(22917)), u = i2(19384), c = n2.__importStar(i2(25021)), d = n2.__importStar(i2(62829)), p = n2.__importStar(i2(58380)), _ = n2.__importStar(i2(1115)), h = i2(30801), m = i2(30801), g = i2(30801), f = i2(30801), T = i2(1910), y = i2(1910), S = i2(1910), A = n2.__importDefault(i2(76155)), N = i2(84663), v = i2(31178), O = i2(27359), I = i2(47957), C = [v.One, v.Two, v.Three, v.Four, v.Five, v.Six, v.Seven, v.Eight, v.Nine, v.Zero], b = { dtmf: l.default.create(), globalDtmf: l.default.create(), globalSpeech: l.default.create(null, (e3) => e3.setPropertyName("globalSpeechRecTerms")), speechRecTerms: l.default.create() }, E = { digit_0: v.Zero, digit_1: v.One, digit_2: v.Two, digit_3: v.Three, digit_4: v.Four, digit_5: v.Five, digit_6: v.Six, digit_7: v.Seven, digit_8: v.Eight, digit_9: v.Nine, digit_star: v.Star, digit_pound: v.Pound, 0: v.Zero, 1: v.One, 2: v.Two, 3: v.Three, 4: v.Four, 5: v.Five, 6: v.Six, 7: v.Seven, 8: v.Eight, 9: v.Nine, "*": v.Star, "#": v.Pound }; + class w extends A.default { constructor(e3, t3) { super(e3, t3), this.hasSpeechRecOrDtmfError = false, this.hasSpeechRecOrDtmfWarning = false; } static loadMenuChoice(e3, t3) { - const i3 = new I(e3.parentFlow, e3); + const i3 = new w(e3.parentFlow, e3); return i3._loadModel(t3), i3; } static createMenuChoice(e3, t3) { - const i3 = new I(e3.parentFlow, e3); - i3._loadModel(new S()); - const n3 = s.createAction(t3, i3); - return i3.action = n3, i3.name = n3.info.name, e3 && e3.initializeDesignTimeCalled && i3.initializeDesignTime(), u.validateItem(i3, true), i3; + const i3 = new w(e3.parentFlow, e3); + i3._loadModel(new O()); + const n3 = d.createAction(t3, i3); + return i3.action = n3, i3.name = n3.info.name, e3 && e3.initializeDesignTimeCalled && i3.initializeDesignTime(), _.validateItem(i3, true), i3; } _initializeDesignTime() { super._initializeDesignTime(), this.action && !this.action.initializeDesignTimeCalled && this.action.initializeDesignTime(); @@ -76523,34 +82484,34 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.action ? this.action.trackingId : void 0; } addClipboardDependencies(e3) { - super.addClipboardDependencies(e3), e3.copyCutProcessMenuChoiceViewModel(this), this.action.addClipboardDependencies(e3), r2.default.each(this.choices, function(t3) { + super.addClipboardDependencies(e3), e3.copyCutProcessMenuChoiceViewModel(this), this.action.addClipboardDependencies(e3), o.default.each(this.choices, function(t3) { t3.addClipboardDependencies(e3); }); } _loadModel(e3) { - e3 && (super._loadModel(e3), this.model.action && (this.action = s.createActionWithModel(this, this.model.action)), this.model.speechRecTerms = this.model.speechRecTerms || {}, this.speechRecTerms = new _.SpeechRecViewModel(this.parentFlow, this, this.model.speechRecTerms), this._updateGlobalSpeech(), this._updateGlobalDtmf()); + e3 && (super._loadModel(e3), this.model.action && (this.action = d.createActionWithModel(this, this.model.action)), this.model.speechRecTerms = this.model.speechRecTerms || {}, this.speechRecTerms = new N.SpeechRecViewModel(this.parentFlow, this, this.model.speechRecTerms), this._updateGlobalSpeech(), this._updateGlobalDtmf()); } _isInlineTask() { return !!this.action && this.action.info.typeId === m.taskActionActionType; } _isMenuAction() { - return !!this.action && (this.action.info.typeId === p.menuActionActionType || this.action.info.typeId === g.transferMenuActionType); + return !!this.action && (this.action.info.typeId === h.menuActionActionType || this.action.info.typeId === g.transferMenuActionType); } _isTaskAction() { return !!this.action && (this.action.info.typeId === m.taskActionActionType || this.action.info.typeId === f.transferTaskActionType); } _updateGlobalDtmf() { - this.globalDtmf ? a.addGlobalDtmfTracking(this.parentFlow, this) : a.removeGlobalDtmfTracking(this.parentFlow, this); + this.globalDtmf ? c.addGlobalDtmfTracking(this.parentFlow, this) : c.removeGlobalDtmfTracking(this.parentFlow, this); } _updateGlobalSpeech() { - this.globalSpeech ? a.addGlobalSpeechTracking(this.parentFlow, this.speechRecTerms) : a.removeGlobalSpeechTracking(this.parentFlow, this.speechRecTerms); + this.globalSpeech ? c.addGlobalSpeechTracking(this.parentFlow, this.speechRecTerms) : c.removeGlobalSpeechTracking(this.parentFlow, this.speechRecTerms); } resetDtmfToUniqueDtmf() { - const e3 = a.getGlobalDtmfForFlow(this.parentFlow); - if (!r2.default.isUndefined(this.dtmf) && r2.default.isUndefined(r2.default.find(e3, (e4) => e4.dtmf === this.dtmf)) && r2.default.isUndefined(r2.default.find(this.parent.choices, (e4) => e4 !== this && e4.dtmf === this.dtmf))) return true; + const e3 = c.getGlobalDtmfForFlow(this.parentFlow); + if (!o.default.isUndefined(this.dtmf) && o.default.isUndefined(o.default.find(e3, (e4) => e4.dtmf === this.dtmf)) && o.default.isUndefined(o.default.find(this.parent.choices, (e4) => e4 !== this && e4.dtmf === this.dtmf))) return true; this.dtmf = void 0; - const t3 = r2.default.find(N, (t4) => !r2.default.find(e3, (e4) => e4.dtmf === t4) && !r2.default.find(this.parent.choices, (e4) => e4.dtmf === t4)); - return !r2.default.isUndefined(t3) && (this.dtmf = t3, true); + const t3 = o.default.find(C, (t4) => !o.default.find(e3, (e4) => e4.dtmf === t4) && !o.default.find(this.parent.choices, (e4) => e4.dtmf === t4)); + return !o.default.isUndefined(t3) && (this.dtmf = t3, true); } get canCollapse() { return this.action.canCollapse; @@ -76559,7 +82520,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.action && this.action.collapsed; } set collapsed(e3) { - this.action.collapsed = e3, o.emitter.emit(o.collapseExpand, this); + this.action.collapsed = e3, a.emitter.emit(a.collapseExpand, this); } checkVersion(e3) { this.action.checkVersion(e3); @@ -76579,38 +82540,38 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.model.digit; } set dtmf(e3) { - r2.default.find(this.parent.choices, (t3) => { + o.default.find(this.parent.choices, (t3) => { if (t3.dtmf && t3 !== this && t3.dtmf === e3) { const e4 = this.dtmf; return this.model.digit = void 0, t3.dtmf = e4, true; } return false; - }), this.model.digit = e3, e3 || (this.globalDtmf = false), this._updateGlobalDtmf(), u.validateItem(this, false, true), this.invokeMenuChoicesChanged(); + }), this.model.digit = e3, e3 || (this.globalDtmf = false), this._updateGlobalDtmf(), _.validateItem(this, false, true), this.invokeMenuChoicesChanged(); } getYamlOptionsMap() { - return O; + return b; } getConfiguration(e3, t3) { var i3, n3; if (null == t3 ? void 0 : t3.isForFlowYaml) { - let o2 = super.getConfiguration(e3, t3); + let r3 = super.getConfiguration(e3, t3); if (this.action) { - const a2 = this.action.getConfiguration(e3, t3), s2 = r2.default.getFirstPropertyValueInObj(a2); + const a2 = this.action.getConfiguration(e3, t3), s2 = o.default.getFirstPropertyValueInObj(a2); if (this.isDefaultMenuChoice && (s2.refId = this.action.getRefId()), this.action.isSubMenuActionViewModel && this.action.menu) { - const i4 = this.action.menu.getConfiguration(e3, t3), n4 = r2.default.getFirstPropertyValueInObj(i4); - r2.default.extend(s2, n4); + const i4 = this.action.menu.getConfiguration(e3, t3), n4 = o.default.getFirstPropertyValueInObj(i4); + o.default.extend(s2, n4); } else if (this.action.isInlineTaskAction && (null === (i3 = this.action.task) || void 0 === i3 ? void 0 : i3.actions.length)) { const i4 = this.action.task.getConfiguration(e3, t3); - delete r2.default.getFirstPropertyValueInObj(i4).name, r2.default.extend(s2, i4); + delete o.default.getFirstPropertyValueInObj(i4).name, o.default.extend(s2, i4); } - r2.default.extend(s2, o2), (null === (n3 = null == t3 ? void 0 : t3.yamlOptions) || void 0 === n3 ? void 0 : n3.includeTrackingIds) && this.trackingId && (s2.trackingId = this.trackingId), a2[r2.default.getFirstPropertyKeyInObj(a2)] = T.default.sortObjectByPropertyMap(s2, this.yamlPropertyOrderMap), o2 = a2; + o.default.extend(s2, r3), (null === (n3 = null == t3 ? void 0 : t3.yamlOptions) || void 0 === n3 ? void 0 : n3.includeTrackingIds) && this.trackingId && (s2.trackingId = this.trackingId), a2[o.default.getFirstPropertyKeyInObj(a2)] = l.default.sortObjectByPropertyMap(s2, this.yamlPropertyOrderMap), r3 = a2; } - return o2; + return r3; } return this.action && (this.model.action = this.action.getConfiguration(e3, t3)), this.model; } getUsesSpeechRec() { - return !r2.default.isUndefined(this.speechRecTerms.hasTermsAny()); + return !o.default.isUndefined(this.speechRecTerms.hasTermsAny()); } get globalDtmf() { return !!this.model.globalDtmf; @@ -76625,10 +82586,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; e3 = !!e3, this.model.globalSpeech !== e3 && (this.model.globalSpeech = e3, this._updateGlobalSpeech(), this.invokeMenuChoicesChanged()); } invokeMenuChoicesChanged() { - l.fireEvent(this.parent, o.menuChoicesChanged); + p.fireEvent(this.parent, a.menuChoicesChanged); } hasDuplicateDtmf() { - return !!r2.default.find(a.getGlobalDtmfForFlow(this.parentFlow), (e3) => e3 !== this && e3.dtmf === this.dtmf); + return !!o.default.find(c.getGlobalDtmfForFlow(this.parentFlow), (e3) => e3 !== this && e3.dtmf === this.dtmf); } get hasChildren() { return this.choices && this.choices.length > 0 || this.task && this.task.hasChildren || this.menu && this.menu.hasChildren; @@ -76646,14 +82607,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const t3 = this.action.menuReference; if (!t3) return; if (!e3) return; - const i3 = d.flowElementRegistrationService.getItemById(this.parentFlow, t3); + const i3 = u.flowElementRegistrationService.getItemById(this.parentFlow, t3); this.linkMenu(i3); } else if (this._isTaskAction()) { if (this.task) return; const t3 = this.action.taskReference; if (!t3) return; if (!e3) return; - const i3 = d.flowElementRegistrationService.getItemById(this.parentFlow, t3); + const i3 = u.flowElementRegistrationService.getItemById(this.parentFlow, t3); this.linkTask(i3); } } @@ -76666,7 +82627,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; getInlineTaskViewModel() { if (this.action && this.parentFlow) { const e3 = this.action.taskReference; - if (e3) return d.flowElementRegistrationService.getItemById(this.parentFlow, e3); + if (e3) return u.flowElementRegistrationService.getItemById(this.parentFlow, e3); } } get isMenuChoice() { @@ -76676,12 +82637,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.menu ? this.menu.isNameUnique() : !this.task || this.task.isNameUnique(); } get isSubMenu() { - return !!this.action && this.action.info.typeId === p.menuActionActionType; + return !!this.action && this.action.info.typeId === h.menuActionActionType; } getSubMenuMenuViewModel() { if (this.action && this.parentFlow) { const e3 = this.action.menuReference; - if (e3) return d.flowElementRegistrationService.getItemById(this.parentFlow, e3); + if (e3) return u.flowElementRegistrationService.getItemById(this.parentFlow, e3); } } linkMenu(e3) { @@ -76697,7 +82658,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super.name = e3, this._isInlineTask() && this.task && (this.task.name = e3), this.action.name = e3, this.menu && (this.menu.name = e3); } search(e3) { - this.dtmf && e3.checkText(this, String(this.dtmf.value), A.menuChoice.dtmfSelector), e3.addToQueue(this.speechRecTerms), e3.addToQueue(this.action); + this.dtmf && e3.checkText(this, String(this.dtmf.value), I.menuChoice.dtmfSelector), e3.addToQueue(this.speechRecTerms), e3.addToQueue(this.action); } traverse(e3) { if (!e3 || e3.isCanceled) return; @@ -76715,7 +82676,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this.model.uiMetaData = e3; } get uiSortStr() { - return (this.dtmf ? (0, h.sprintf)("%2d", this.dtmf.value) : "AA") + this.name; + return (this.dtmf ? (0, r2.sprintf)("%2d", this.dtmf.value) : "AA") + this.name; } unlinkAction() { this.isSubMenu && this.menu && (this.menu.isHidden = false), this.menu = null, this.choices = null, this._isInlineTask() && this.task && (this.task.isHidden = false), this.task = null; @@ -76723,7 +82684,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; validate(e3) { super.validate(e3); const t3 = this.speechRecTerms.hasTermsAny(), i3 = !!t3 && !this.speechRecTerms.hasTermsFull(), n3 = this.dtmf; - if (this.hasSpeechRecOrDtmfError = false, this.hasSpeechRecOrDtmfWarning = false, t3 || n3 || !this.parentFlow.speechRecEnabled() ? n3 || this.parentFlow.speechRecEnabled() ? n3 && i3 ? (e3.addWarning(this, A.speechRec.missingSpeechRec), this.hasSpeechRecOrDtmfWarning = true) : i3 && (e3.addError(this, A.speechRec.missingSpeechRec), this.hasSpeechRecOrDtmfError = true) : (e3.addError(this, A.menuChoice.noDtmfWithDisabledSpeechRec), this.hasSpeechRecOrDtmfError = true) : (e3.addError(this, A.menuChoice.noDtmfOrSpeechRec), this.hasSpeechRecOrDtmfError = true), this.speechRecTerms.hasUnsupportedSpeechRecLangContainer && (e3.addError(this, this.speechRecTerms.getUnsupportedSpeechRecLangContainersStr()), this.hasSpeechRecOrDtmfError = true), this.hasDuplicateDtmf() && (e3.addError(this, (0, h.sprintf)(A.menuChoice.duplicateDtmfGlobal, this.dtmf.value)), this.hasSpeechRecOrDtmfError = true), this.globalSpeech) { + if (this.hasSpeechRecOrDtmfError = false, this.hasSpeechRecOrDtmfWarning = false, t3 || n3 || !this.parentFlow.speechRecEnabled() ? n3 || this.parentFlow.speechRecEnabled() ? n3 && i3 ? (e3.addWarning(this, I.speechRec.missingSpeechRec), this.hasSpeechRecOrDtmfWarning = true) : i3 && (e3.addError(this, I.speechRec.missingSpeechRec), this.hasSpeechRecOrDtmfError = true) : (e3.addError(this, I.menuChoice.noDtmfWithDisabledSpeechRec), this.hasSpeechRecOrDtmfError = true) : (e3.addError(this, I.menuChoice.noDtmfOrSpeechRec), this.hasSpeechRecOrDtmfError = true), this.speechRecTerms.hasUnsupportedSpeechRecLangContainer && (e3.addError(this, this.speechRecTerms.getUnsupportedSpeechRecLangContainersStr()), this.hasSpeechRecOrDtmfError = true), this.hasDuplicateDtmf() && (e3.addError(this, (0, r2.sprintf)(I.menuChoice.duplicateDtmfGlobal, this.dtmf.value)), this.hasSpeechRecOrDtmfError = true), this.globalSpeech) { const t4 = this.speechRecTerms.getGlobalSpeechSpeechRecDisabledError(); t4 && (e3.addError(this, t4), this.hasSpeechRecOrDtmfError = true); } @@ -76742,7 +82703,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.task && this._isInlineTask() ? this.task.userCreatableVariableScopes : super.userCreatableVariableScopes; } get yamlPropertyOrderMap() { - return r2.default.extend(super.yamlPropertyOrderMap, { dtmf: 20, globalDtmf: 30, globalSpeechRecTerms: 40 }); + return o.default.extend(super.yamlPropertyOrderMap, { dtmf: 20, globalDtmf: 30, globalSpeechRecTerms: 40 }); } toString() { return `MenuChoice: ${super.toString()}`; @@ -76752,16 +82713,59 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } get nodeGuxIcon() { var e3, t3; - return null === (t3 = null === (e3 = this.action) || void 0 === e3 ? void 0 : e3.info) || void 0 === t3 ? void 0 : t3.category.guxIcon; + return null === (t3 = null === (e3 = this.action) || void 0 === e3 ? void 0 : e3.info) || void 0 === t3 ? void 0 : t3.category.iconName; } get containerLabel() { - return A.menu.label; + return I.menu.label; } get containerLabelAndName() { - return (0, h.sprintf)(A.labelAndName, this.containerLabel, this.getDisplayName()); + return (0, r2.sprintf)(I.labelAndName, this.containerLabel, this.getDisplayName()); + } + configureFromModel(e3, t3, i3) { + super.configureFromModel(e3, t3, i3), (0, y.withModelContext)(i3, `menuChoice[${e3.refId || e3.name || "unknown"}]`, () => { + var n3; + const r3 = (0, y.getStringValue)(e3, "name", i3); + void 0 !== r3 && (this.name = r3); + const o2 = (0, y.getStringValue)(e3, "dtmf", i3); + if (void 0 !== o2) { + const e4 = E[o2]; + void 0 !== e4 && (this.model.digit = e4); + } + const a2 = (0, y.getBooleanValue)(e3, "globalDtmf", i3); + void 0 !== a2 && (this.globalDtmf = a2); + const s2 = null !== (n3 = (0, y.getBooleanValue)(e3, "globalSpeech", i3)) && void 0 !== n3 ? n3 : (0, y.getBooleanValue)(e3, "globalSpeechRecTerms", i3); + void 0 !== s2 && (this.globalSpeech = s2), (0, T.isConfigureFromModelRecord)(e3.speechRecTerms) && this._configureSpeechRecTermsFromModel(e3.speechRecTerms, i3); + const l2 = (0, y.getStringValue)(e3, "refId", i3); + if (void 0 !== l2 && i3.refIdMap.set(l2, this), (0, S.hasConfigureFromModel)(this.action)) { + const n4 = Object.assign({}, e3); + delete n4.dtmf, delete n4.globalDtmf, delete n4.globalSpeech, delete n4.globalSpeechRecTerms, delete n4.refId, delete n4.speechRecTerms, delete n4.task, this.action.configureFromModel(n4, t3, i3); + } + if (this.task && (0, T.isConfigureFromModelRecord)(e3.task)) { + const n4 = e3.task; + (0, S.hasConfigureFromModel)(this.task) && this.task.configureFromModel(n4, t3, i3); + } + }); + } + _configureSpeechRecTermsFromModel(e3, t3) { + this.speechRecTerms.refreshContainers(); + const i3 = this.parentFlow.languages.supportedLanguages; + for (const n3 of Object.keys(e3)) { + const o2 = i3.find((e4) => e4.toLowerCase() === n3.toLowerCase()); + if (!o2) { + t3.warn((0, r2.sprintf)(s.configureFromModel.speechRecTermsUnsupportedLanguage, n3, this.name)); + continue; + } + const a2 = e3[n3], l2 = Array.isArray(a2) ? a2 : (0, T.isConfigureFromModelRecord)(a2) ? a2.terms : void 0; + if (!Array.isArray(l2)) { + t3.warn((0, r2.sprintf)(s.configureFromModel.speechRecTermsMustBeStringArray, n3)); + continue; + } + const u2 = l2.filter((e4) => "string" == typeof e4 && e4.length > 0), c2 = this.speechRecTerms.getContainer(o2); + c2 && (c2.terms = u2); + } } } - t2.MenuChoiceViewModel = I; + t2.MenuChoiceViewModel = w; }, 64015: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseFlowItem = void 0; @@ -76844,8 +82848,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 64229: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.SurveyQuestionType = void 0; - const n2 = i2(31635), r2 = i2(17604), o = i2(33237), a = i2(94765), s = n2.__importStar(i2(63352)), l = i2(56969), u = i2(80428), d = i2(47957); - class c extends a.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = i2(33237), a = i2(94765), s = n2.__importStar(i2(63352)), l = i2(56969), u = i2(80428), c = i2(47957); + class d extends a.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -76858,7 +82862,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; validateLiteral(e3, t3) { if (t3.outOfService) return true; const i3 = this.getArchSurveyForm(t3); - return !(!i3 || !(0, l.findSurveyQuestionInForm)(i3, t3.val, true)) || (e3.addError(t3, (0, r2.sprintf)(d.errors.invalidValue, t3.label), false, true), false); + return !(!i3 || !(0, l.findSurveyQuestionInForm)(i3, t3.val, true)) || (e3.addError(t3, (0, r2.sprintf)(c.errors.invalidValue, t3.label), false, true), false); } get supportsLiteralEditor() { return true; @@ -76897,12 +82901,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; r3 && (0, l.findSurveyQuestionInForm)(r3, t3, i3, true); } } - t2.SurveyQuestionType = c, c.typeIdentifier = u.expressionTypeNames.surveyQuestion; + t2.SurveyQuestionType = d, d.typeIdentifier = u.expressionTypeNames.surveyQuestion; }, 64287: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ComplexType = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(14394), s = i2(24032), l = i2(21647), u = (n2.__importStar(i2(12847)), i2(71874)), d = i2(71874), c = i2(27491), p = i2(80428), _ = i2(94765), h = i2(47957), m = (0, s.getTopic)("ComplexType"); - class g extends _.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(14394), s = i2(24032), l = i2(21647), u = (n2.__importStar(i2(12847)), i2(21569)), c = i2(71874), d = i2(71874), p = i2(27491), _ = i2(80428), h = i2(94765), m = i2(47957), g = (0, s.getTopic)("ComplexType"); + class f extends h.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3), this.typeIdentifier = t3.support.expressionDataType, this.model.additionalProperties && (this.additionLiteralProperties = o.default.isArray(this.model.additionalProperties) ? this.model.additionalProperties : [this.model.additionalProperties]); } @@ -76910,13 +82914,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return "ComplexType"; } canConvertLitToExpression(e3) { - return this.expressionType === p.expressionTypeNames.worktypeStatus ? c.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindWorktypeStatus", e3, [a.globalTypes.string]) : (this.allowLiteralSelect, false); + return this.expressionType === _.expressionTypeNames.worktypeStatus ? p.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindWorktypeStatus", e3, [a.globalTypes.string]) : (this.allowLiteralSelect, false); } _getLiteralValueOfExpression() { return ""; } convertLitToExpression(e3, t3) { - return this.canConvertLitToExpression(e3) && this.expressionType === p.expressionTypeNames.worktypeStatus && t3 ? `FindWorktypeStatus("${t3}")` : ""; + return this.canConvertLitToExpression(e3) && this.expressionType === _.expressionTypeNames.worktypeStatus && t3 ? `FindWorktypeStatus("${t3}")` : ""; } createExpressionOptionClass() { return new l.ExpressionTypeComplexOptions(this.isCollection).setTypeIdentifier(this.typeIdentifier); @@ -76932,13 +82936,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } validateLiteral(e3, t3) { const i3 = super.validateLiteral(e3, t3, true); - return i3 && t3.isLiteralMode && this.allowLiteralSelect && (this.getLiteralValues(t3).find((e4) => e4.id === t3.val) || e3.addExpressionError(t3, (0, r2.sprintf)(h.errors.invalidValue, t3.label))), i3; + return i3 && t3.isLiteralMode && this.allowLiteralSelect && (this.getLiteralValues(t3).find((e4) => e4.id === t3.val) || e3.addExpressionError(t3, (0, r2.sprintf)(m.errors.invalidValue, t3.label))), i3; } setPropertiesAsLiteral(e3, t3) { this.allowLiteralSelect ? Object.entries(t3).forEach(([t4, i3]) => { const n3 = e3.getProperty(t4); n3 && n3.setAsLiteral(i3); - }) : m.errorWithStack(null, `Unable to call setPropertiesAsLiteral on type ${this.expressionType} as type does not allow literalSelect.`); + }) : g.errorWithStack(null, `Unable to call setPropertiesAsLiteral on type ${this.expressionType} as type does not allow literalSelect.`); } setPropertiesAsLiteralById(e3, t3) { this._setPropertiesAsLiteralInternal(e3, t3, false); @@ -76949,13 +82953,21 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; _setPropertiesAsLiteralInternal(e3, t3, i3) { if (!this.allowLiteralSelect) return; const n3 = i3 ? "setPropertiesAsLiteralByName" : "setPropertiesAsLiteralById"; - if (this.expressionType === p.expressionTypeNames.worktypeStatus) { - const r3 = i3 ? "name" : "id", o2 = i3 ? (0, d.getWorktypeStatusByName)(t3, e3.parentFlow) : (0, u.getWorktypeStatusById)(t3, e3.parentFlow); - o2.id ? (e3.update(o2.name, o2.id), this.setPropertiesAsLiteral(e3, o2)) : (m.errorWithStack(null, `Error processing ${n3} on type ${this.expressionType}. No match found for worktype status with ${r3} ${t3}.`), e3.setAsNoValue()); - } else m.errorWithStack(null, `Unable to call ${n3} on type ${this.expressionType}`); + switch (this.expressionType) { + case _.expressionTypeNames.worktypeStatus: + const r3 = i3 ? "name" : "id", o2 = i3 ? (0, d.getWorktypeStatusByName)(t3, e3.parentFlow) : (0, c.getWorktypeStatusById)(t3, e3.parentFlow); + o2.id ? (e3.update(o2.name, o2.id), this.setPropertiesAsLiteral(e3, o2)) : (g.errorWithStack(null, `Error processing ${n3} on type ${this.expressionType}. No match found for worktype status with ${r3} ${t3}.`), e3.setAsNoValue()); + break; + case _.expressionTypeNames.customerSegment: + const a2 = i3 ? "name" : "id", s2 = u.customerSegmentManager.getBriefManagerWithFallback(), l2 = i3 ? s2.findItemByName(t3) : s2.getItem(t3); + l2 && l2.id ? (e3.update(l2.name, l2.id), this.setPropertiesAsLiteral(e3, l2)) : (g.errorWithStack(null, `Error processing ${n3} on type ${this.expressionType}. No match found for customer segment with ${a2} ${t3}.`), e3.setAsNoValue()); + break; + default: + return void g.errorWithStack(null, `Unable to call ${n3} on type ${this.expressionType}`); + } } } - t2.ComplexType = g; + t2.ComplexType = f; }, 64288: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.UtilizationLabel = void 0; @@ -77011,10 +83023,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, n2 = /* @__PURE__ */ new WeakMap(); }, 64315: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = n2.__importDefault(i2(27203)), a = i2(80428), s = i2(29505), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(67483), c = i2(67483), p = i2(47957); - class _ extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = n2.__importDefault(i2(27203)), a = i2(80428), s = i2(29505), l = i2(12179), u = n2.__importDefault(i2(97891)), c = i2(67483), d = i2(67483), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends r2.default { static get managedProperties() { - return [{ label: p.utilizationLabel.utilizationLabelLabel, options: s.ExpressionTypeUtilizationLabelOptions.create((e3) => e3.setAsInput().setDescriptionInfo(p.actions.setUtilizationLabel, p.utilizationLabel.setUtilizationLabelDescription).setIninTestingField("setUtilizationLabel")), property: "utilizationLabel", type: a.expressionTypeNames.utilizationLabel }]; + return [{ label: _.utilizationLabel.utilizationLabelLabel, options: s.ExpressionTypeUtilizationLabelOptions.create((e3) => e3.setAsInput().setDescriptionInfo(_.actions.setUtilizationLabel, _.utilizationLabel.setUtilizationLabelDescription).setIninTestingField("setUtilizationLabel")), property: "utilizationLabel", type: a.expressionTypeNames.utilizationLabel }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -77023,10 +83035,54 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return o.default.successFailure; } _getPossibleErrors() { - return this.parentFlow.isWorkitemFlow ? c.setUtilizationLabelFailureReasonsWithWorkitem : d.setUtilizationLabelFailureReasons; - } + return this.parentFlow.isWorkitemFlow ? d.setUtilizationLabelFailureReasonsWithWorkitem : c.setUtilizationLabelFailureReasons; + } + } + h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: l.helpTopics.actions.setUtilizationLabel, modelClass: i2(94449), name: _.actions.setUtilizationLabel, scriptingName: "ArchActionSetUtilizationLabel", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; + }, 64359: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.applyEntityResolutionToNetworkLiteral = c, t2.registerDeferredNetworkLiteralResolution = function(e3, t3) { + var i3, s2, l2, d; + if (!e3.entityResolver) return; + const p = t3.lookupValue.trim(); + if (!p) return; + const { entityType: _, lookupValueType: h, targetExpression: m, onResolved: g } = t3, f = (function(e4, t4) { + return `${e4}:${t4.trim()}`; + })(h, p), T = e3.registerLookup(_, p, h), y = t3.targetObjectId || (null === (i3 = e3.currentActionContext) || void 0 === i3 ? void 0 : i3.objectId), S = t3.targetObjectType || (null === (s2 = e3.currentActionContext) || void 0 === s2 ? void 0 : s2.objectType) || "unknown", A = t3.targetObjectName || (null === (l2 = e3.currentActionContext) || void 0 === l2 ? void 0 : l2.objectName) || "", N = t3.targetProperty || e3.currentPropertyName, v = t3.targetSubPath, O = null === (d = e3.currentActionContext) || void 0 === d ? void 0 : d.viewModel, I = e3.currentChangeIndex, C = () => { + if (!y || !N) return; + const t4 = e3.buildPropertyLookupFailedMessage(N, p, h, u(N, S, O)); + e3.reportActivity({ type: "lookupFailed", objectType: S, objectName: A, objectId: y, viewModel: O, changeIndex: I, property: N, propertyValue: p, lookupEntityType: _, lookupValue: p, lookupValueType: h, message: { template: "%1$s", params: [{ value: t4 }] } }); + }; + N && (e3.setDeferSyncPropertySetActivity(true), y && e3.markDeferredPropertyActivity(y)), e3.registerDeferredOp({ type: `resolveNetworkLiteral:${_}`, execute: () => n2.__awaiter(this, void 0, void 0, function* () { + let t4 = false, i4 = false; + try { + let n3 = e3.lookupCache.get(_, f); + if (n3 ? t4 = true : (n3 = yield e3.entityResolver.resolve(_, p, { lookupValueType: h }), n3 && e3.lookupCache.set(_, f, n3)), n3) if (m ? i4 = c(m, n3) : g && (g(n3), i4 = true), i4) { + if (e3.resolveLookup(T), y && N && T.targets.push({ objectId: y, objectType: S, objectName: A, property: N, subPath: v }), y && N) { + const t5 = "string" == typeof n3.name && n3.name.trim().length > 0 ? n3.name.trim() : n3.id, i5 = u(N, S, O); + e3.reportActivity((0, a.buildPropertySetActivityEvent)({ objectType: S, objectName: null != A ? A : "", objectId: y, viewModel: O, changeIndex: null != I ? I : 0, property: N, propertyDisplayName: i5, propertyValue: t5 })); + } + } else e3.warn((0, r2.sprintf)(o.configureFromModel.networkLiteralNotUpdatable, _, h, p)), e3.failLookup(T), C(); + else e3.warn((0, r2.sprintf)(o.configureFromModel.failedToResolveNetworkLiteral, _, h, p)), y && N && T.targets.push({ objectId: y, objectType: S, objectName: A, property: N, subPath: v }), e3.failLookup(T), C(); + } catch (t5) { + const i5 = t5 instanceof Error ? t5.message : String(t5); + e3.warn((0, r2.sprintf)(o.configureFromModel.entityResolutionFailedNetworkLiteral, _, h, p, i5)), e3.failLookup(T), C(); + } finally { + y && e3.completeDeferredPropertyActivity(y), e3.recordNetworkLiteralLookup({ entityType: _, lookupValue: p, lookupValueType: h, resolvedFromCache: t4, resolutionSucceeded: i4 }); + } + }) }); + }; + const n2 = i2(31635), r2 = i2(17604), o = n2.__importStar(i2(69453)), a = i2(8712), s = i2(8712), l = i2(8712); + function u(e3, t3, i3) { + return "statements" === e3 ? (0, s.getUpdateDataStatementValueDisplayName)() : (0, l.resolvePropertyDisplayName)(e3, t3, i3); + } + function c(e3, t3) { + if (!e3 || !t3) return false; + const i3 = "string" == typeof t3.id ? t3.id.trim() : ""; + if (!i3) return false; + const n3 = "string" == typeof t3.name ? t3.name.trim() : "", r3 = n3.length > 0 ? n3 : i3; + return e3.updateFromConfigListManagerItem({ id: i3, label: r3 }), true; } - _.info = u.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: l.helpTopics.actions.setUtilizationLabel, modelClass: i2(94449), name: p.actions.setUtilizationLabel, scriptingName: "ArchActionSetUtilizationLabel" }), t2.A = _; }, 64410: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.digitalBotFlowListManager = t2.DigitalBotFlowListManager = void 0; @@ -77041,26 +83097,26 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } t2.DigitalBotFlowListManager = s, t2.digitalBotFlowListManager = new s(); }, 64420: (e2, t2, i2) => { - const n2 = i2(44250), r2 = i2(24893), o = i2(93161), a = i2(59684), s = i2(38416).default, l = i2(68374), u = i2(49804), d = i2(17848), c = i2(69770), p = i2(17599), _ = i2(62228), h = i2(35635), m = i2(98962), g = i2(6022), f = i2(69773), T = i2(36019).default, y = i2(23695), S = i2(88), A = i2(19098), N = i2(69946); - function O() { + const n2 = i2(44250), r2 = i2(24893), o = i2(93161), a = i2(59684), s = i2(38416).default, l = i2(68374), u = i2(49804), c = i2(17848), d = i2(69770), p = i2(17599), _ = i2(62228), h = i2(35635), m = i2(98962), g = i2(6022), f = i2(69773), T = i2(36019).default, y = i2(23695), S = i2(88), A = i2(19098), N = i2(69946); + function v() { } - const I = new O(); - O.prototype.checkIn = T.request("POST", "{public-api.apps}/api/v2/flows/actions/checkin?flow={id}", d), O.prototype.checkOut = T.request("POST", "{public-api.apps}/api/v2/flows/actions/checkOut?flow={id}", d), O.prototype.createFlow = T.request("POST", "{public-api.apps}/api/v2/flows", d), O.prototype.deactivate = T.request("POST", "{public-api.apps}/api/v2/flows/actions/deactivate?flow={id}", d), O.prototype.deleteFlow = T.request("DELETE", "{public-api.apps}/api/v2/flows/{id}", null), O.prototype.deleteBulkFlows = T.request("DELETE", "{public-api.apps}/api/v2/flows", null), O.prototype.getConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", a), O.prototype.getBotFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", r2), O.prototype.getCommonModuleFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", s), O.prototype.getEmailFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", l), O.prototype.getEmailSendFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", u), O.prototype.getWorkflowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", y), O.prototype.getVoiceFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", S), O.prototype.getVoiceSurveyFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", A), O.prototype.getWorkitemFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", N), O.prototype.getFlow = T.request("GET", "{public-api.apps}/api/v2/flows/{id}", d), O.prototype.getFlowInfoForVersion = T.request("GET", "{public-api.apps}/api/v2/flows/{flowId}/versions/{flowVersion}", d), O.prototype.getFlows = T.request("GET", "{public-api.apps}/api/v2/flows?includeSchemas=true", _), O.prototype.getFlowsDivisionViews = T.request("GET", "{public-api.apps}/api/v2/flows/divisionViews?includeSchemas=true", o), O.prototype.postFlowLaunch = T.request("POST", "{public-api.apps}/api/v2/flows/executions", c), O.prototype.postDigitalBotFlowLaunch = T.request("POST", "{public-api.apps}/api/v2/textbots/botflows/sessions", p), O.prototype.postHistoryRequest = T.request("POST", "{public-api.apps}/api/v2/flows/{id}/history", h), O.prototype.getHistoryResults = T.request("GET", "{public-api.apps}/api/v2/flows/{flowId}/history/{operationId}", n2), O.prototype.getVersionConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", a), O.prototype.getVersionBotFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", r2), O.prototype.getVersionCommonModuleConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", s), O.prototype.getVersionEmailFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", l), O.prototype.getVersionEmailSendFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", u), O.prototype.getVersionWorkflowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", y), O.prototype.getVersionVoiceFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", S), O.prototype.getVersionVoiceSurveyFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", A), O.prototype.getVersionWorkitemFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", N), O.prototype.getFlowVersions = T.request("GET", "{public-api.apps}/api/v2/flows/{flowId}/versions", g), O.prototype.getFlowInfoForVersion = T.request("GET", "{public-api.apps}/api/v2/flows/{flowId}/versions/{flowVersion}", d), O.prototype.publishAsync = T.request("POST", "{public-api.apps}/api/v2/flows/actions/publish?flow={id}", h), O.prototype.enableFlowDebug = T.request("POST", "{public-api.apps}/api/v2/flows/actions/debug?flow={id}&version={version} ", d), O.prototype.revert = T.request("POST", "{public-api.apps}/api/v2/flows/actions/revert?flow={id}", d), O.prototype.saveConfiguration = T.request("POST", "{public-api.apps}/api/v2/flows/{id}/versions", m), O.prototype.unlock = T.request("POST", "{public-api.apps}/api/v2/flows/actions/unlock?flow={id}", d), O.prototype.updateMetaData = T.request("PUT", "{public-api.apps}/api/v2/flows/{id}", d), I.createFlow.ignore([f.ARCHITECT_FLOW_ALREADY_EXISTS.code, f.ARCHITECT_FLOW_CANNOT_CREATE_TYPE_MAX_EXCEEDED.code, f.ARCHITECT_FLOW_EXCEEDED_MAX_AMOUNT.code]), I.checkIn.addOptions({ ignoreBadResponse: true }), [I.getConfiguration, I.getBotFlowConfiguration, I.getCommonModuleFlowConfiguration, I.getEmailFlowConfiguration, I.getEmailSendFlowConfiguration, I.getWorkflowConfiguration, I.getVoiceFlowConfiguration, I.getVoiceSurveyFlowConfiguration, I.getWorkitemFlowConfiguration, I.getVersionConfiguration, I.getVersionBotFlowConfiguration, I.getVersionCommonModuleConfiguration, I.getVersionEmailFlowConfiguration, I.getVersionEmailSendFlowConfiguration, I.getVersionWorkflowConfiguration, I.getVersionVoiceFlowConfiguration, I.getVersionVoiceSurveyFlowConfiguration, I.getVersionWorkitemFlowConfiguration].forEach((e3) => { + const O = new v(); + v.prototype.checkIn = T.request("POST", "{public-api.apps}/api/v2/flows/actions/checkin?flow={id}", c), v.prototype.checkOut = T.request("POST", "{public-api.apps}/api/v2/flows/actions/checkOut?flow={id}", c), v.prototype.createFlow = T.request("POST", "{public-api.apps}/api/v2/flows", c), v.prototype.deactivate = T.request("POST", "{public-api.apps}/api/v2/flows/actions/deactivate?flow={id}", c), v.prototype.deleteFlow = T.request("DELETE", "{public-api.apps}/api/v2/flows/{id}", null), v.prototype.deleteBulkFlows = T.request("DELETE", "{public-api.apps}/api/v2/flows", null), v.prototype.getConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", a), v.prototype.getBotFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", r2), v.prototype.getCommonModuleFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", s), v.prototype.getEmailFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", l), v.prototype.getEmailSendFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", u), v.prototype.getWorkflowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", y), v.prototype.getVoiceFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", S), v.prototype.getVoiceSurveyFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", A), v.prototype.getWorkitemFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/latestConfiguration", N), v.prototype.getFlow = T.request("GET", "{public-api.apps}/api/v2/flows/{id}", c), v.prototype.getFlowInfoForVersion = T.request("GET", "{public-api.apps}/api/v2/flows/{flowId}/versions/{flowVersion}", c), v.prototype.getFlows = T.request("GET", "{public-api.apps}/api/v2/flows?includeSchemas=true", _), v.prototype.getFlowsDivisionViews = T.request("GET", "{public-api.apps}/api/v2/flows/divisionViews?includeSchemas=true", o), v.prototype.postFlowLaunch = T.request("POST", "{public-api.apps}/api/v2/flows/executions", d), v.prototype.postDigitalBotFlowLaunch = T.request("POST", "{public-api.apps}/api/v2/textbots/botflows/sessions", p), v.prototype.postHistoryRequest = T.request("POST", "{public-api.apps}/api/v2/flows/{id}/history", h), v.prototype.getHistoryResults = T.request("GET", "{public-api.apps}/api/v2/flows/{flowId}/history/{operationId}", n2), v.prototype.getVersionConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", a), v.prototype.getVersionBotFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", r2), v.prototype.getVersionCommonModuleConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", s), v.prototype.getVersionEmailFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", l), v.prototype.getVersionEmailSendFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", u), v.prototype.getVersionWorkflowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", y), v.prototype.getVersionVoiceFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", S), v.prototype.getVersionVoiceSurveyFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", A), v.prototype.getVersionWorkitemFlowConfiguration = T.request("GET", "{public-api.apps}/api/v2/flows/{id}/versions/{version}/configuration", N), v.prototype.getFlowVersions = T.request("GET", "{public-api.apps}/api/v2/flows/{flowId}/versions", g), v.prototype.getFlowInfoForVersion = T.request("GET", "{public-api.apps}/api/v2/flows/{flowId}/versions/{flowVersion}", c), v.prototype.publishAsync = T.request("POST", "{public-api.apps}/api/v2/flows/actions/publish?flow={id}", h), v.prototype.enableFlowDebug = T.request("POST", "{public-api.apps}/api/v2/flows/actions/debug?flow={id}&version={version} ", c), v.prototype.revert = T.request("POST", "{public-api.apps}/api/v2/flows/actions/revert?flow={id}", c), v.prototype.saveConfiguration = T.request("POST", "{public-api.apps}/api/v2/flows/{id}/versions", m), v.prototype.unlock = T.request("POST", "{public-api.apps}/api/v2/flows/actions/unlock?flow={id}", c), v.prototype.updateMetaData = T.request("PUT", "{public-api.apps}/api/v2/flows/{id}", c), O.createFlow.ignore([f.ARCHITECT_FLOW_ALREADY_EXISTS.code, f.ARCHITECT_FLOW_CANNOT_CREATE_TYPE_MAX_EXCEEDED.code, f.ARCHITECT_FLOW_EXCEEDED_MAX_AMOUNT.code]), O.checkIn.addOptions({ ignoreBadResponse: true }), [O.getConfiguration, O.getBotFlowConfiguration, O.getCommonModuleFlowConfiguration, O.getEmailFlowConfiguration, O.getEmailSendFlowConfiguration, O.getWorkflowConfiguration, O.getVoiceFlowConfiguration, O.getVoiceSurveyFlowConfiguration, O.getWorkitemFlowConfiguration, O.getVersionConfiguration, O.getVersionBotFlowConfiguration, O.getVersionCommonModuleConfiguration, O.getVersionEmailFlowConfiguration, O.getVersionEmailSendFlowConfiguration, O.getVersionWorkflowConfiguration, O.getVersionVoiceFlowConfiguration, O.getVersionVoiceSurveyFlowConfiguration, O.getVersionWorkitemFlowConfiguration].forEach((e3) => { e3.ignore(f.FLOW_NO_CONFIG_AVAILABLE.code), e3.ignore(f.NOT_FOUND.code); - }), I.getFlow.ignore(f.ARCHITECT_FLOW_DELETED.code), I.updateMetaData.ignore(f.ARCHITECT_FLOW_ALREADY_EXISTS.code), I.getFlows.addOptions({ allowRequestChunking: true, chunkingNumber: 25, chunkingParamName: "id", ignoreBadResponse: true }), I.deleteBulkFlows.addOptions({ allowRequestChunking: true, chunkingParamName: "id", chunkResultsHandling: "chunkResponseToArray", ignoreBadResponse: true }), I.getFlow.addOptions({ ignoreBadResponse: true }), I.getFlowsDivisionViews.addOptions({ ignoreBadResponse: true }), I.getFlowVersions.addOptions({ ignoreBadResponse: true }), I.getFlowInfoForVersion.addOptions({ ignoreBadResponse: true }), e2.exports = I; + }), O.getFlow.ignore(f.ARCHITECT_FLOW_DELETED.code), O.updateMetaData.ignore(f.ARCHITECT_FLOW_ALREADY_EXISTS.code), O.getFlows.addOptions({ allowRequestChunking: true, chunkingNumber: 25, chunkingParamName: "id", ignoreBadResponse: true }), O.deleteBulkFlows.addOptions({ allowRequestChunking: true, chunkingParamName: "id", chunkResultsHandling: "chunkResponseToArray", ignoreBadResponse: true }), O.getFlow.addOptions({ ignoreBadResponse: true }), O.getFlowsDivisionViews.addOptions({ ignoreBadResponse: true }), O.getFlowVersions.addOptions({ ignoreBadResponse: true }), O.getFlowInfoForVersion.addOptions({ ignoreBadResponse: true }), e2.exports = O; }, 64437: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.audioConnectorManager = t2.AudioConnectorManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(21270)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(58668)), l = i2(30801), u = n2.__importDefault(i2(47532)), d = i2(81801), c = i2(47957), p = i2(55892), _ = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(21270)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(58668)), l = i2(30801), u = n2.__importDefault(i2(47532)), c = i2(81801), d = i2(47957), p = i2(55892), _ = i2(27862); class h extends u.default { get requiredAuth() { - return d.externalAuthorizations.authStrings.integrationView; + return c.externalAuthorizations.authStrings.integrationView; } get dependencyType() { return _.AudioConnectorBot; } constructor() { - super(), this.topic = a.getTopic("AudioConnectorManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "botIntegration", this.actionsForUsageSearch = [l.callAudioConnectorActionType], this.apiCallList = r2.getAudioConnectorBots, this.apiCallSingle = r2.getAudioConnectorBot, this.className = "AudioConnectorManager", this.defaultMatchingStyle = o.exactMatch, this.dependencyContext = c.actions.callAudioConnector, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.shouldRequestAllPages = true, this.defaultPageSize = 100, this.uiMetadataSectionName = "audioConnector", this._initialize(); + super(), this.topic = a.getTopic("AudioConnectorManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "botIntegration", this.actionsForUsageSearch = [l.callAudioConnectorActionType], this.apiCallList = r2.getAudioConnectorBots, this.apiCallSingle = r2.getAudioConnectorBot, this.className = "AudioConnectorManager", this.defaultMatchingStyle = o.exactMatch, this.dependencyContext = d.actions.callAudioConnector, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.shouldRequestAllPages = true, this.defaultPageSize = 100, this.uiMetadataSectionName = "audioConnector", this._initialize(); } _createItemViewModel(e3) { return new s.default(e3); @@ -77106,9 +83162,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { t3 || (t3 = e3); const n3 = a.supportsTTSPlaybackForFlowType(e3, i3) && a.hasFlowCreationLocalizedText(e3), h = new u(); - return h.defaultLanguage = e3, h.initialPrompts = s.emptyAudio, h.variables = [], h.errorHandling = new d(), h.errorHandling.handlingType = o.default.Disconnect, h.errorHandling.audio = n3 ? (0, l.toAudioTtsJson)(p(e3).errorHandlingTTS) : s.emptyAudio, h.errorHandling.queue = new r2.default({ config: { emp: { pos: 1, text: "", type: "que" } }, text: "", uiMetaData: { mode: 1 } }), h.speechRecCompanyDirectory = _(), h.disableAsr = _(), h.disableAsrCompanyDirectory = new r2.default({ config: { lit: { pos: 1, text: "true", type: "bln" } }, text: "true", uiMetaData: { mode: 1 } }), h.speechRecEngine = new r2.default({ config: { lit: { pos: 1, text: "", type: "str" } }, uiMetaData: { mode: 1 } }), h.flowMetaData = new c({ flowDocumentVersion: "1.0", minimumServerVersion: "1.0", features: [], ttsDataVersion: "1.0" }), h.flowSequenceItemList = [], h; + return h.defaultLanguage = e3, h.initialPrompts = s.emptyAudio, h.variables = [], h.errorHandling = new c(), h.errorHandling.handlingType = o.default.Disconnect, h.errorHandling.audio = n3 ? (0, l.toAudioTtsJson)(p(e3).errorHandlingTTS) : s.emptyAudio, h.errorHandling.queue = new r2.default({ config: { emp: { pos: 1, text: "", type: "que" } }, text: "", uiMetaData: { mode: 1 } }), h.speechRecCompanyDirectory = _(), h.disableAsr = _(), h.disableAsrCompanyDirectory = new r2.default({ config: { lit: { pos: 1, text: "true", type: "bln" } }, text: "true", uiMetaData: { mode: 1 } }), h.speechRecEngine = new r2.default({ config: { lit: { pos: 1, text: "", type: "str" } }, uiMetaData: { mode: 1 } }), h.flowMetaData = new d({ flowDocumentVersion: "1.0", minimumServerVersion: "1.0", features: [], ttsDataVersion: "1.0" }), h.flowSequenceItemList = [], h; }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(7401)), o = n2.__importDefault(i2(15244)), a = n2.__importStar(i2(98442)), s = i2(12104), l = i2(46503), u = i2(59684), d = i2(2053), c = i2(89266), p = i2(21733); + const n2 = i2(31635), r2 = n2.__importDefault(i2(7401)), o = n2.__importDefault(i2(15244)), a = n2.__importStar(i2(98442)), s = i2(12104), l = i2(46503), u = i2(59684), c = i2(2053), d = i2(89266), p = i2(21733); function _() { return new r2.default({ config: { lit: { pos: 1, text: "false", type: "bln" } }, text: "false", uiMetaData: { mode: 1 } }); } @@ -77149,28 +83205,28 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 64584: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(35882)), a = n2.__importDefault(i2(22599)), s = a.default.create().addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().verifySprintfStringAndInitialize("AreEqual(true, %1$s, %2$s)"), l = a.default.create().addOperatorNot().addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().verifySprintfStringAndInitialize("!AreEqual(true, %1$s, %2$s)"), u = a.default.create().addTokenReplacement(0).addOperatorAnd().addTokenReplacement(1).verifySprintfStringAndInitialize("%1$s And %2$s"), d = a.default.create().addFuncCall("If").addFuncCallParmGenerationBucket("condition").addFuncParameterSeparator().addFuncCallParmGenerationBucket("true").addFuncParameterSeparator().addFuncCallParmGenerationBucket("false").verifySprintfStringAndInitialize("If(, , "); - class c { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(35882)), a = n2.__importDefault(i2(22599)), s = a.default.create().addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().verifySprintfStringAndInitialize("AreEqual(true, %1$s, %2$s)"), l = a.default.create().addOperatorNot().addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().verifySprintfStringAndInitialize("!AreEqual(true, %1$s, %2$s)"), u = a.default.create().addTokenReplacement(0).addOperatorAnd().addTokenReplacement(1).verifySprintfStringAndInitialize("%1$s And %2$s"), c = a.default.create().addFuncCall("If").addFuncCallParmGenerationBucket("condition").addFuncParameterSeparator().addFuncCallParmGenerationBucket("true").addFuncParameterSeparator().addFuncCallParmGenerationBucket("false").verifySprintfStringAndInitialize("If(, , "); + class d { constructor(e3) { Object.defineProperties(this, { _languageVarName: { writable: true, enumerable: false }, _sortValue: { writable: true, enumerable: false }, _json: { value: r2.default.isObject(e3) ? e3 : {}, writable: false, enumerable: false } }); } static get NO_CRITERIA() { - return c.__NO_CRITERIA__; + return d.__NO_CRITERIA__; } static createForLanguageTag(e3) { - return new c().setLanguageTag(e3); + return new d().setLanguageTag(e3); } static createForLanguageTagAndOutputMode(e3, t3) { - return new c().setLanguageTag(e3).setOutputMode(t3); + return new d().setLanguageTag(e3).setOutputMode(t3); } static createForOutputMode(e3) { - return new c().setOutputMode(e3); + return new d().setOutputMode(e3); } static createFromBuilderPartContainerCriteria(e3) { - return new c().setFromJsonObject(e3.json); + return new d().setFromJsonObject(e3.json); } static createFromJsonObject(e3) { - return new c().setFromJsonObject(e3); + return new d().setFromJsonObject(e3); } _resetCriteriaPieces() { this.setLanguageTag(void 0), this.setOutputMode(void 0), this._sortValue = void 0; @@ -77182,7 +83238,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._resetCriteriaPieces(), r2.default.isObject(e3) ? this.setLanguageTag(e3.languageTag).setOutputMode(e3.outputMode) : this; } getGeneration(e3) { - if (this === c.__NO_CRITERIA__) return new o.default(); + if (this === d.__NO_CRITERIA__) return new o.default(); const t3 = []; let i3; if (this._json.languageTag) { @@ -77191,11 +83247,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } switch (this._json.outputMode && (i3 = "voice" === this._json.outputMode ? s.createGeneration() : l.createGeneration(), i3.setReplacementTokens(["Session.ChannelType", '"call"']), t3.push(i3)), t3.length) { case 1: { - const e4 = d.createGeneration(); + const e4 = c.createGeneration(); return e4.addGenerationToBucket(t3[0], "condition"), e4; } case 2: { - const e4 = d.createGeneration(), i4 = u.createGeneration(); + const e4 = c.createGeneration(), i4 = u.createGeneration(); return i4.setReplacementTokens([t3[0].generate(), t3[1].generate()]), e4.addGenerationToBucket(i4, "condition"), e4; } default: { @@ -77235,7 +83291,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this._languageVarName = void 0, this._resetCriteriaPieces(); } } - c.__NO_CRITERIA__ = new c(), t2.default = c; + d.__NO_CRITERIA__ = new d(), t2.default = d; }, 64599: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseFindSystemObjectsByIdActionModel = void 0; @@ -77260,22 +83316,22 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.BaseFindSystemObjectsByIdActionModel = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "findIds", null); }, 64647: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(73198)), o = n2.__importStar(i2(63824)), a = i2(79467), s = i2(81516), l = i2(81562), u = i2(12179), d = i2(12457), c = n2.__importDefault(i2(97891)), p = n2.__importDefault(i2(84568)), _ = i2(80428), h = i2(47957); - class m extends p.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(73198)), o = n2.__importStar(i2(63824)), a = i2(79467), s = i2(81516), l = i2(81562), u = i2(12179), c = i2(12457), d = n2.__importDefault(i2(97891)), p = n2.__importDefault(i2(84568)), _ = i2(80428), h = n2.__importDefault(i2(4648)), m = i2(47957); + class g extends p.default { constructor(e3, t3) { - super(e3), this.flowListManager = l.secureCallFlowListManager.getBriefManagerWithFallback(), this.flowTypeResource = h.flow.types.secureCall, this._loadModel(t3); + super(e3), this.flowListManager = l.secureCallFlowListManager.getBriefManagerWithFallback(), this.flowTypeResource = m.flow.types.secureCall, this._loadModel(t3); } get className() { return "FlowSecureTransferAction"; } static get managedProperties() { - return [{ label: h.transfer.connectTimeout, options: a.ExpressionTypeDurationOptions.create((e3) => e3.setAllowEmptyConfig(true).setAllowFlowLevelDefault(true).setScriptingPropertyName("connectTimeout").setFlowLevelDefaultHasDefault(false).setAsInput(true).setDurationStyle(o.durationStyles.secondsAndTenthsDuration).setDefaultText(r2.default.litDurationFifteenSeconds).setIsOptional(true).setIninTestingField("connect-timeout-expression").facets.setMinDur(10 * r2.default.msPerSecond, true).setMaxDur(r2.default.msPerMinute, true)), yamlOptions: m.createYamlOptions("connTimeout", (e3) => e3.setPropertyName("connectTimeout").setExportOrder(50)), property: "connTimeout", type: _.expressionTypeNames.duration }, { property: "invocationData", label: h.transfer.invocationData, type: _.expressionTypeNames.string, options: s.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setIninTestingField("flow-transfer-invocationdata").setDisableSpellcheck(true)), yamlOptions: m.createYamlOptions("invocationData", (e3) => e3.setExportOrder(60)) }]; + return [{ label: m.transfer.connectTimeout, options: a.ExpressionTypeDurationOptions.create((e3) => e3.setAllowEmptyConfig(true).setAllowFlowLevelDefault(true).setScriptingPropertyName("connectTimeout").setFlowLevelDefaultHasDefault(false).setAsInput(true).setDurationStyle(o.durationStyles.secondsAndTenthsDuration).setDefaultText(r2.default.litDurationFifteenSeconds).setIsOptional(true).setIninTestingField("connect-timeout-expression").facets.setMinDur(10 * r2.default.msPerSecond, true).setMaxDur(r2.default.msPerMinute, true)), yamlOptions: g.createYamlOptions("connTimeout", (e3) => e3.setPropertyName("connectTimeout").setExportOrder(50)), property: "connTimeout", type: _.expressionTypeNames.duration }, { property: "invocationData", label: m.transfer.invocationData, type: _.expressionTypeNames.string, options: s.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setIninTestingField("flow-transfer-invocationdata").setDisableSpellcheck(true)), yamlOptions: g.createYamlOptions("invocationData", (e3) => e3.setExportOrder(60)) }]; } getDetails() { - return this.flowId ? new d.ActionDetails([h.flow.flow], [this.flowName]) : null; + return this.flowId ? new c.ActionDetails([m.flow.flow], [this.flowName]) : null; } } - m.info = c.default.createActionInfo({ actionClass: m, canBeInTask: true, canBeTreeNode: true, helpTopic: u.helpTopics.actions.transferFlowSecure, modelClass: i2(44951), name: h.actions.transfers.secureFlow, scriptingName: "ArchActionTransferToFlowSecure", actionIsAlwaysSecure: true }), t2.A = m; + g.info = d.default.createActionInfo({ actionClass: g, canBeInTask: true, canBeTreeNode: true, helpTopic: u.helpTopics.actions.transferFlowSecure, modelClass: i2(44951), modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } }, name: m.actions.transfers.secureFlow, scriptingName: "ArchActionTransferToFlowSecure", actionIsAlwaysSecure: true }), t2.A = g; }, 64718: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseIntegrationsActionCategoryManager = void 0; @@ -77527,11 +83583,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return e3; }; Object.defineProperty(t2, "__esModule", { value: true }), t2.combineLatest = void 0; - var o = i2(88246), a = i2(65212), s = i2(7652), l = i2(13916), u = i2(99517), d = i2(26404); + var o = i2(88246), a = i2(65212), s = i2(7652), l = i2(13916), u = i2(99517), c = i2(26404); t2.combineLatest = function e3() { for (var t3 = [], i3 = 0; i3 < arguments.length; i3++) t3[i3] = arguments[i3]; - var c = d.popResultSelector(t3); - return c ? u.pipe(e3.apply(void 0, r2([], n2(t3))), l.mapOneOrManyArgs(c)) : a.operate(function(e4, i4) { + var d = c.popResultSelector(t3); + return d ? u.pipe(e3.apply(void 0, r2([], n2(t3))), l.mapOneOrManyArgs(d)) : a.operate(function(e4, i4) { o.combineLatestInit(r2([e4], n2(s.argsOrArgArray(t3))))(i4); }); }; @@ -77655,7 +83711,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(66978)), l = n2.__importDefault(i2(11210)), u = i2(79963); - class d extends l.default { + class c extends l.default { constructor(e3) { super(e3), this._calleeName = this.coreFactory.createArchWrapper(e3.calleeName), this._callbackNumbers = this.coreFactory.createArchWrapper(e3.callbackNumbers), this._queue = this.coreFactory.createArchWrapper(e3.queue); } @@ -77698,20 +83754,20 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }.bind(this)); } } - t2.default = d; + t2.default = c; }, 65220: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.fileManager = t2.FileManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(90891)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(92533)), d = i2(47957), c = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(90891)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(92533)), c = i2(47957), d = i2(27862); class p extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.responseAssetView; } get dependencyType() { - return c.File; + return d.File; } constructor() { - super(), this.topic = a.getTopic("FileManager"), this.apiCallList = o.getFileResponseAssets, this.apiCallSingle = o.getResponseAsset, this._rawServerCache = {}, this.className = "FileManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = d.file.file, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "files", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); + super(), this.topic = a.getTopic("FileManager"), this.apiCallList = o.getFileResponseAssets, this.apiCallSingle = o.getResponseAsset, this._rawServerCache = {}, this.className = "FileManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = c.file.file, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "files", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); } _createItemViewModel(e3) { return new u.default(e3); @@ -77761,7 +83817,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }; }, 65287: (e2, t2, i2) => { "use strict"; - var n2, r2, o, a, s, l, u, d, c; + var n2, r2, o, a, s, l, u, c, d; Object.defineProperty(t2, "__esModule", { value: true }), t2.botFlowUserInputSettingsSequences = void 0; const p = i2(31635), _ = i2(28562), h = i2(697), m = i2(80295), g = i2(64306); class f extends g.BaseBotSettingsSequence { @@ -77802,7 +83858,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.generateLanguageSequenceConfig("SettingsNoToConfirmationApology", _.builderIds.parts.genericCommunication, e3, t3); } } - p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (n2 = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? n2 : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsConfirmationNoInputApologySequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (r2 = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? r2 : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsConfirmationNoInputApologyDigitalBotSequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (o = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? o : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsConfirmationNoMatchApologySequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (a = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? a : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsConfirmationNoMatchApologyDigitalBotSequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (s = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? s : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsNoInputApologySequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (l = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? l : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsNoInputApologyDigitalBotSequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (u = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? u : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsEndOfSessionMessageDigitalBotSequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (d = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? d : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsNoMatchApologySequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (c = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? c : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsNoToConfirmationApologySequence", null), t2.botFlowUserInputSettingsSequences = new f(); + p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (n2 = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? n2 : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsConfirmationNoInputApologySequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (r2 = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? r2 : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsConfirmationNoInputApologyDigitalBotSequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (o = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? o : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsConfirmationNoMatchApologySequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (a = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? a : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsConfirmationNoMatchApologyDigitalBotSequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (s = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? s : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsNoInputApologySequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (l = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? l : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsNoInputApologyDigitalBotSequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (u = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? u : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsEndOfSessionMessageDigitalBotSequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (c = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? c : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsNoMatchApologySequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (d = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? d : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsNoToConfirmationApologySequence", null), t2.botFlowUserInputSettingsSequences = new f(); }, 65294: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -77824,13 +83880,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.default = r2; }, 65302: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getGlobalTypeGroup = d, t2.getGlobalMatchingTypes = c, t2.getTypeGroup = p, t2.getTypeFromIcwsType = _, t2.resolveType = m, t2.getType = g, t2.getTypeFromDisplayString = f, t2.createType = T, t2.destroyGroup = y; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getGlobalTypeGroup = c, t2.getGlobalMatchingTypes = d, t2.getTypeGroup = p, t2.getTypeFromIcwsType = _, t2.resolveType = m, t2.getType = g, t2.getTypeFromDisplayString = f, t2.createType = T, t2.destroyGroup = y; const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importDefault(i2(2384)), s = i2(34005), l = {}, u = new a.default(); - function d() { + function c() { return u; } - function c(e3, t3) { - return d()._getMatchingTypes(e3, t3); + function d(e3, t3) { + return c()._getMatchingTypes(e3, t3); } function p(e3) { if (!e3) return u; @@ -77875,7 +83931,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const t3 = l[e3.instanceId]; delete l[e3.instanceId], t3 && t3.destroy(); } - o.serviceListen(o.cleanUpFlow, y), t2.default = { getGlobalTypeGroup: d, getGlobalMatchingTypes: c, getTypeGroup: p, getTypeFromIcwsType: _, resolveType: m, getType: g, getTypeFromDisplayString: f, createType: T, destroyGroup: y }; + o.serviceListen(o.cleanUpFlow, y), t2.default = { getGlobalTypeGroup: c, getGlobalMatchingTypes: d, getTypeGroup: p, getTypeFromIcwsType: _, resolveType: m, getType: g, getTypeFromDisplayString: f, createType: T, destroyGroup: y }; }, 65305: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -77898,23 +83954,23 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 65307: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DateType = void 0; - const n2 = i2(31635).__importDefault(i2(95093)), r2 = i2(17604), o = i2(44023), a = i2(90342), s = i2(80428); - class l extends a.BaseTypeWithDate { + const n2 = i2(31635), r2 = n2.__importDefault(i2(95093)), o = i2(17604), a = i2(69453), s = i2(44023), l = i2(1910), u = n2.__importDefault(i2(73198)), c = i2(90342), d = i2(80428); + class p extends c.BaseTypeWithDate { constructor(e3, t3, i3) { - super(e3, t3, i3), this.expressionOptionClass = o.ExpressionTypeDateOptions; + super(e3, t3, i3), this.expressionOptionClass = s.ExpressionTypeDateOptions; } get className() { return "DateType"; } createExpressionOptionClass() { - return new o.ExpressionTypeDateOptions(this.isCollection); + return new s.ExpressionTypeDateOptions(this.isCollection); } get supportsLiteralEditor() { return true; } convertLitToExpression(e3, t3) { const i3 = this.getParsedDate(t3, null, false); - return i3 ? (0, r2.sprintf)("MakeDate(%s, %s, %s)", i3.year, i3.month, i3.date) : t3; + return i3 ? (0, o.sprintf)("MakeDate(%s, %s, %s)", i3.year, i3.month, i3.date) : t3; } _getLiteralValueOfExpression() { return ""; @@ -77925,24 +83981,36 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return { year: t3.year, month: t3.month, day: t3.date }; } searchExpression(e3, t3) { - const i3 = n2.default.utc(t3.text); + const i3 = r2.default.utc(t3.text); if (t3.isLiteralMode && i3) { - const n3 = (0, r2.sprintf)("%s-%02d-%02d", i3.year(), i3.month() + 1, i3.date()); + const n3 = (0, o.sprintf)("%s-%02d-%02d", i3.year(), i3.month() + 1, i3.date()); e3.checkText(t3, n3, t3.label); } else super.searchExpression(e3, t3); } convertLitToCustomJsonStr(e3, t3, i3, n3) { return `"${i3 || t3 || ""}"`; } + applyLiteralFromModel(e3, t3, i3, n3) { + if (null == t3) return; + if ("string" == typeof t3) return void e3.setAsLiteral(t3); + if ("object" != typeof t3 || Array.isArray(t3)) return void (n3 && n3.warn((0, o.sprintf)(a.configureFromModel.dateLiteralExpectedObjectOrString, Array.isArray(t3) ? "array" : typeof t3))); + const r3 = t3; + if ("number" != typeof r3.year || "number" != typeof r3.month || "number" != typeof r3.day) return void (n3 && n3.warn(a.configureFromModel.dateLiteralRequiresParts)); + const s2 = r3.year, c2 = r3.month, d2 = r3.day; + if (this.enforceValueLimit(s2 >= u.default.minDateYear && s2 <= u.default.maxDateYear, (0, o.sprintf)(a.configureFromModel.dateLiteralPartOutOfRange, "year", s2, u.default.minDateYear, u.default.maxDateYear), n3) && this.enforceValueLimit(c2 >= 1 && c2 <= 12, (0, o.sprintf)(a.configureFromModel.dateLiteralPartOutOfRange, "month", c2, 1, 12), n3) && this.enforceValueLimit(d2 >= 1 && d2 <= 31, (0, o.sprintf)(a.configureFromModel.dateLiteralPartOutOfRange, "day", d2, 1, 31), n3) && (e3.setAsLiteral((0, o.sprintf)("%04d-%02d-%02d", s2, c2, d2)), n3)) { + const e4 = /* @__PURE__ */ new Set(["year", "month", "day"]), t4 = this.dataType || "date"; + for (const i4 of Object.keys(r3)) e4.has(i4) || (0, l.reportAdditionalProperty)(i4, t4, n3); + } + } } - t2.DateType = l, l.typeIdentifier = s.expressionTypeNames.date; + t2.DateType = p, p.typeIdentifier = d.expressionTypeNames.date; }, 65449: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(24032), a = n2.__importStar(i2(75773)), s = i2(21042), l = n2.__importDefault(i2(40773)), u = n2.__importStar(i2(74359)), d = i2(27862), c = i2(73303), p = (0, o.getTopic)("sttEngineService"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(24032), a = n2.__importStar(i2(75773)), s = i2(21042), l = n2.__importDefault(i2(40773)), u = n2.__importStar(i2(74359)), c = i2(27862), d = i2(73303), p = (0, o.getTopic)("sttEngineService"); class _ extends s.BootstrapListManager { constructor() { - super(d.SpeechToTextEngine, c), u.bootstrapDataLoaded.then(this._processBootstrapDataLoaded.bind(this)); + super(c.SpeechToTextEngine, d), u.bootstrapDataLoaded.then(this._processBootstrapDataLoaded.bind(this)); } _processBootstrapDataLoaded(e3) { var t3; @@ -78119,7 +84187,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseExpressionTypeCollectionOptions = void 0; const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(55909), a = i2(33951), s = i2(80295), l = i2(80295), u = i2(19507); - class d extends u.BaseExpressionTypeOptions { + class c extends u.BaseExpressionTypeOptions { constructor(e3) { super(), this._isCollection = false, this._maxItemsIsSoftLimit = false, this._allowAdd = true, this._allowRemove = true, this._allowReorder = true, this._createMinItemsByDefault = false, (0, l.makeUnenumerable)(this, "_emptyMessage"), (0, l.makeUnenumerable)(this, "_isCollection"), (0, l.makeUnenumerable)(this, "_maxItems"), (0, l.makeUnenumerable)(this, "_maxItemsIsSoftLimit"), (0, l.makeUnenumerable)(this, "_minItems"), (0, l.makeUnenumerable)(this, "_createMinItemsByDefault"), (0, l.makeUnenumerable)(this, "_itemAddedCallback"), (0, l.makeUnenumerable)(this, "_uiCanMoveItemCallback"), a.ParameterValidator.expectBool(e3, () => o.ParameterInfo.createConstructorParameter(this.className, "isCollection"), true), r2.default.isBoolean(e3) && this.setIsCollection(e3); } @@ -78247,20 +84315,20 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this.uiCanMoveItemCallback = e3, this; } } - t2.BaseExpressionTypeCollectionOptions = d, n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], d.prototype, "emptyMessage", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], d.prototype, "isCollection", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], d.prototype, "maxItems", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], d.prototype, "maxItemsIsSoftLimit", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], d.prototype, "minItems", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], d.prototype, "createMinItemsByDefault", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], d.prototype, "allowAdd", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], d.prototype, "allowRemove", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], d.prototype, "allowReorder", null); + t2.BaseExpressionTypeCollectionOptions = c, n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "emptyMessage", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "isCollection", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], c.prototype, "maxItems", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "maxItemsIsSoftLimit", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], c.prototype, "minItems", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "createMinItemsByDefault", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "allowAdd", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "allowRemove", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "allowReorder", null); }, 65641: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(59441)), s = n2.__importDefault(i2(15244)), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(46920)), d = n2.__importStar(i2(14187)), c = n2.__importDefault(i2(95955)), p = n2.__importDefault(i2(26519)), _ = n2.__importDefault(i2(7830)), h = n2.__importDefault(i2(19359)), m = n2.__importDefault(i2(12360)), g = n2.__importDefault(i2(71824)), f = i2(68374), T = i2(64420); + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(59441)), s = n2.__importDefault(i2(15244)), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(46920)), c = n2.__importStar(i2(14187)), d = n2.__importDefault(i2(95955)), p = n2.__importDefault(i2(26519)), _ = n2.__importDefault(i2(7830)), h = n2.__importDefault(i2(19359)), m = n2.__importDefault(i2(12360)), g = n2.__importDefault(i2(71824)), f = i2(68374), T = i2(64420); class y extends g.default { constructor(e3) { - super(e3), this.callPrompts = this._addToAutoManageSettings(new c.default(this)), this.errorHandling = this._addToAutoManageSettings(new p.default(this)), this.inboundEmailSettings = this._addToAutoManageSettings(new _.default(this)), this.nluCortexMetaData = this._addToAutoManageSettings(new m.default(this)), this.pathDiscovery = this._addToAutoManageSettings(new h.default(this)); + super(e3), this.callPrompts = this._addToAutoManageSettings(new d.default(this)), this.errorHandling = this._addToAutoManageSettings(new p.default(this)), this.inboundEmailSettings = this._addToAutoManageSettings(new _.default(this)), this.nluCortexMetaData = this._addToAutoManageSettings(new m.default(this)), this.pathDiscovery = this._addToAutoManageSettings(new h.default(this)); } get className() { return "InboundEmailViewModel"; } get builtInVariableScopes() { - return [...super.builtInVariableScopes, d.scopes.email, d.scopes.message]; + return [...super.builtInVariableScopes, c.scopes.email, c.scopes.message]; } get isInboundEmail() { return true; @@ -78444,12 +84512,41 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; })); }); }; + }, 65782: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getVariableContainerDisplayName = function(e3, t3) { + const { scopes: i3 } = o; + if ((t3 === i3.task || t3 === i3.state) && (0, r2.isTaskLike)(e3)) { + const t4 = e3.name; + if ("string" == typeof t4 && t4.trim().length > 0) return t4.trim(); + } + }, t2.formatVariableDisplayNames = a, t2.applyVariableDisplayNamesToOperationObjects = function(e3) { + return a(e3).map(({ displayName: e4, containerName: t3, id: i3, trackingId: n3, icon: r3 }) => Object.assign(Object.assign({ id: i3, name: e4 }, void 0 !== n3 ? { trackingId: n3 } : {}), void 0 !== r3 ? { icon: r3 } : {})); + }; + const n2 = i2(31635), r2 = i2(61610), o = n2.__importStar(i2(14187)); + function a(e3) { + var t3; + if (0 === e3.length) return []; + const i3 = [...e3].sort((e4, t4) => { + var i4, n4; + const r3 = e4.name.localeCompare(t4.name); + if (0 !== r3) return r3; + const o2 = null !== (i4 = e4.containerName) && void 0 !== i4 ? i4 : "", a2 = null !== (n4 = t4.containerName) && void 0 !== n4 ? n4 : ""; + return o2.localeCompare(a2); + }), n3 = /* @__PURE__ */ new Map(); + for (const e4 of i3) n3.set(e4.name, (null !== (t3 = n3.get(e4.name)) && void 0 !== t3 ? t3 : 0) + 1); + return i3.map((e4) => { + var t4; + const i4 = (null !== (t4 = n3.get(e4.name)) && void 0 !== t4 ? t4 : 0) > 1 && "string" == typeof e4.containerName && e4.containerName.length > 0 ? `${e4.name} ( ${e4.containerName} )` : e4.name; + return Object.assign(Object.assign({}, e4), { displayName: i4 }); + }); + } }, 65824: (e2, t2, i2) => { "use strict"; e2.exports = i2(43276); }, 65878: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = i2(3219), u = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = i2(3219), u = n2.__importDefault(i2(4648)), c = i2(47957); class d extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -78461,7 +84558,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return l.terminateWorkitemFailureReasons; } } - d.info = s.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: a.helpTopics.actions.terminateWorkitem, modelClass: i2(89016), name: u.actions.terminateWorkitem, scriptingName: "ArchActionTerminateWorkitem" }), t2.A = d; + d.info = s.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: a.helpTopics.actions.terminateWorkitem, modelClass: i2(89016), name: c.actions.terminateWorkitem, scriptingName: "ArchActionTerminateWorkitem", modelFormatSupport: { flowYaml: { inProgress: true, feature: u.default.changeSetsFeaturePhase2 } } }), t2.A = d; }, 65881: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.Scheduler = void 0; @@ -78548,8 +84645,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }; }, 66033: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(21647), s = i2(81516), l = n2.__importDefault(i2(27203)), u = n2.__importStar(i2(99434)), d = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(5730)), p = i2(80428), _ = i2(47957); - class h extends c.default { + const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(21647), s = i2(81516), l = n2.__importDefault(i2(27203)), u = n2.__importStar(i2(99434)), c = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(5730)), p = i2(80428), _ = n2.__importDefault(i2(4648)), h = i2(47957); + class m extends d.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.externalId = null, this.externalResult = null, this._loadModel(t3); } @@ -78557,13 +84654,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return l.default.foundNotFound; } getDetails() { - return this.externalId ? new o.ActionDetails([_.getExternalOrganization.nameLabel], [u.getDisplayText(this.externalId)]) : null; + return this.externalId ? new o.ActionDetails([h.getExternalOrganization.nameLabel], [u.getDisplayText(this.externalId)]) : null; } static get managedProperties() { - return [{ label: _.getExternalOrganization.nameLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalIdExpression").setDisableSpellcheck(true).facets.setMinLength(1)), property: "externalId", type: p.expressionTypeNames.string }, { label: _.getExternalOrganization.externalOrganizationResult, options: a.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(p.expressionTypeNames.externalOrganization).setAsOutput().setAllowSecure(true).setIninTestingField("ExternalOrganizationExpression")), property: "externalResult", type: p.expressionTypeNames.externalOrganization }]; + return [{ label: h.getExternalOrganization.nameLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalIdExpression").setDisableSpellcheck(true).facets.setMinLength(1)), property: "externalId", type: p.expressionTypeNames.string }, { label: h.getExternalOrganization.externalOrganizationResult, options: a.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(p.expressionTypeNames.externalOrganization).setAsOutput().setAllowSecure(true).setIninTestingField("ExternalOrganizationExpression")), property: "externalResult", type: p.expressionTypeNames.externalOrganization }]; } } - h.info = d.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: r2.helpTopics.actions.getExternalOrganization, modelClass: i2(70691), name: _.actions.getExternalOrganization, scriptingName: "ArchActionGetExternalOrganization" }), t2.A = h; + m.info = c.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: r2.helpTopics.actions.getExternalOrganization, modelClass: i2(70691), name: h.actions.getExternalOrganization, scriptingName: "ArchActionGetExternalOrganization", modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } } }), t2.A = m; }, 66063: (e2, t2, i2) => { const n2 = i2(82149), { dialogEngineActionType: r2 } = i2(30801), o = i2(7401); function a() { @@ -78675,30 +84772,30 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this._attachments = this.reviveItem(e3, r2); } } }), e2.exports = a; }, 66273: (e2, t2, i2) => { - const n2 = i2(17604).sprintf, { callTaskActionType: r2 } = i2(30801), { decisionActionType: o } = i2(30801), { endTaskActionType: a } = i2(30801), { exitLoopActionType: s } = i2(30801), l = i2(63352), u = i2(10798), d = i2(4648).default, { findQueueActionType: c } = i2(30801), { findQueueByIdActionType: p } = i2(30801), { globalTypes: _ } = i2(14394), { loopActionType: h } = i2(30801), { outputIds: m } = i2(26847), g = i2(47957), f = i2(24032), { transferPureMatchActionType: T } = i2(30801), { updateVariableActionType: y } = i2(30801), S = i2(71004), A = f.getTopic("addLegacyRoutingTaskToChatFlow"); + const n2 = i2(17604).sprintf, { callTaskActionType: r2 } = i2(30801), { decisionActionType: o } = i2(30801), { endTaskActionType: a } = i2(30801), { exitLoopActionType: s } = i2(30801), l = i2(63352), u = i2(10798), c = i2(4648).default, { findQueueActionType: d } = i2(30801), { findQueueByIdActionType: p } = i2(30801), { globalTypes: _ } = i2(14394), { loopActionType: h } = i2(30801), { outputIds: m } = i2(26847), g = i2(47957), f = i2(24032), { transferPureMatchActionType: T } = i2(30801), { updateVariableActionType: y } = i2(30801), S = i2(71004), A = f.getTopic("addLegacyRoutingTaskToChatFlow"); e2.exports = function(e3) { const t3 = e3.createTask(); t3.name = g.legacyRouting.taskName; - const i3 = u.isFeatureAvailable(d.dynamicQueueById); - let f2 = "Task.targetQueueName", N = g.legacyRouting.actionUpdateDataQueueStringName, O = g.legacyRouting.actionDecisionFoundQueueStringName; - i3 && (f2 = "Task.targetQueueIdOrName", N = g.legacyRouting.actionUpdateDataQueueStringIdOrName, O = g.legacyRouting.actionDecisionFoundQueueStringIdOrName); - const I = t3.addAction(h); - I.name = g.legacyRouting.actionLoopName, I.loopCount.setAsExpression("Count(Chat.Guest.customFields)"), S.addVariable("Task.chatGuestCustomFieldsIndex", I.currentIndex, t3); - const v = I.getBranch(m.loop).addAction(o); - v.name = g.legacyRouting.actionDecisionFoundFieldName, v.expression.setAsExpression('AreEqual("context.genesys.legacyRoutingTargetQueueAddress", Chat.Guest.customFields[Task.chatGuestCustomFieldsIndex].key) or AreEqual("genesys.legacyRoutingTargetQueueAddress", Chat.Guest.customFields[Task.chatGuestCustomFieldsIndex].key)'); - const C = v.getBranch(m.yes), b = C.addAction(y); + const i3 = u.isFeatureAvailable(c.dynamicQueueById); + let f2 = "Task.targetQueueName", N = g.legacyRouting.actionUpdateDataQueueStringName, v = g.legacyRouting.actionDecisionFoundQueueStringName; + i3 && (f2 = "Task.targetQueueIdOrName", N = g.legacyRouting.actionUpdateDataQueueStringIdOrName, v = g.legacyRouting.actionDecisionFoundQueueStringIdOrName); + const O = t3.addAction(h); + O.name = g.legacyRouting.actionLoopName, O.loopCount.setAsExpression("Count(Chat.Guest.customFields)"), S.addVariable("Task.chatGuestCustomFieldsIndex", O.currentIndex, t3); + const I = O.getBranch(m.loop).addAction(o); + I.name = g.legacyRouting.actionDecisionFoundFieldName, I.expression.setAsExpression('AreEqual("context.genesys.legacyRoutingTargetQueueAddress", Chat.Guest.customFields[Task.chatGuestCustomFieldsIndex].key) or AreEqual("genesys.legacyRoutingTargetQueueAddress", Chat.Guest.customFields[Task.chatGuestCustomFieldsIndex].key)'); + const C = I.getBranch(m.yes), b = C.addAction(y); b.name = N; const E = b.variables.add(null, _.string, null); S.addVariable(f2, E.expression, t3), E.variable.mode = l.variable, E.variable.setText(f2), E.expression.setAsExpression("Chat.Guest.customFields[Task.chatGuestCustomFieldsIndex].value"), C.addAction(s, b); - const R = t3.addAction(o, I); - let w; - if (R.name = O, R.expression.setAsExpression(n2("!IsNotSetOrEmpty(%1$s)", f2)), i3) { - const t4 = R.getBranch(m.yes).addAction(p); - t4.name = g.legacyRouting.actionFindQueueId, t4.findId.setAsExpression(f2), S.addVariable("Flow.legacyQueue", t4.findResult, e3), t4.findResult.mode = l.variable, t4.findResult.setText("Flow.legacyQueue"), w = t4.getBranch(m.notFound); - } else w = R.getBranch(m.yes); - const D = w.addAction(c); + const w = t3.addAction(o, O); + let R; + if (w.name = v, w.expression.setAsExpression(n2("!IsNotSetOrEmpty(%1$s)", f2)), i3) { + const t4 = w.getBranch(m.yes).addAction(p); + t4.name = g.legacyRouting.actionFindQueueId, t4.findId.setAsExpression(f2), S.addVariable("Flow.legacyQueue", t4.findResult, e3), t4.findResult.mode = l.variable, t4.findResult.setText("Flow.legacyQueue"), R = t4.getBranch(m.notFound); + } else R = w.getBranch(m.yes); + const D = R.addAction(d); D.name = g.legacyRouting.actionFindQueueName, D.findName.setAsExpression(f2), i3 || S.addVariable("Flow.legacyQueue", D.findResult, e3), D.findResult.mode = l.variable, D.findResult.setText("Flow.legacyQueue"); - const P = t3.addAction(a, R), M = P.parent.getBranches(); + const P = t3.addAction(a, w), M = P.parent.getBranches(); M.length ? P.linkPath(M[0]) : A.errorWithErrorObjectInfo("Legacy chat routing task has no branches", e3, false); const F = e3.states[0], L = F.addAction(r2); L.name = g.legacyRouting.actionCallTask, L.linkTask(t3); @@ -78714,7 +84811,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t2.getOAuthClientInfo = o.default.request("GET", "{public-api.apps}/api/v2/oauth/clients/{clientId}", r2.default); }, 66314: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.CUSTOM_JSON_PREFIX_LENGTH = t2.CUSTOM_JSON_PREFIX = void 0, t2.isCustomJsonExpressionDataType = c, t2.createCustomJsonExpressionDataTypeStr = function(e3, i3, n3) { + Object.defineProperty(t2, "__esModule", { value: true }), t2.CUSTOM_JSON_PREFIX_LENGTH = t2.CUSTOM_JSON_PREFIX = void 0, t2.isCustomJsonExpressionDataType = d, t2.createCustomJsonExpressionDataTypeStr = function(e3, i3, n3) { return e3 ? n3 ? `${t2.CUSTOM_JSON_PREFIX}${e3}::${i3 || (0, r2.uuid)()}_${n3}` : `${t2.CUSTOM_JSON_PREFIX}${e3}::${i3 || (0, r2.uuid)()}` : ""; }, t2.namespaceSupportsInputOutput = function(e3) { return e3 === s.CustomJsonNamespace.decisionTable; @@ -78726,15 +84823,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; case s.CustomJsonNamespace.architectFlow: return o.architect.architectFlowLabel; case s.CustomJsonNamespace.botConnector: - return d.botConnector.botConnector; + return c.botConnector.botConnector; case s.CustomJsonNamespace.composerScript: - return d.createCallback.script; + return c.createCallback.script; case s.CustomJsonNamespace.conversationAttribute: - return d.conversationAttribute.conversationAttributeLabel; + return c.conversationAttribute.conversationAttributeLabel; case s.CustomJsonNamespace.dataAction: - return d.dataTable.dataTable; + return c.dataTable.dataTable; case s.CustomJsonNamespace.decisionTable: - return d.decisionTable.decisionTableLabel; + return c.decisionTable.decisionTableLabel; case s.CustomJsonNamespace.externalContact: return o.externalContact.label; case s.CustomJsonNamespace.structuredParticipantData: @@ -78742,31 +84839,31 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; case s.CustomJsonNamespace.userDefined: return o.architect.userDefinedLabel; case s.CustomJsonNamespace.worktype: - return d.workitem.worktypeLabel; + return c.workitem.worktypeLabel; default: return `*${e3}`; } }, t2.getCustomJsonNamespaceSupportsContext = p, t2.getCustomJsonInfoForDataTypeStr = function(e3) { var i3; let n3, r3; - const o2 = c(e3); - let u2, d2; + const o2 = d(e3); + let u2, c2; const _ = null == e3 ? void 0 : e3.endsWith(l.default.exprDataTypeSuffixCollection); let h; if (h = _ ? e3.substring(0, e3.length - l.default.exprDataTypeSuffixCollection.length) : e3, o2) { const e4 = null === (i3 = h.substring(t2.CUSTOM_JSON_PREFIX_LENGTH)) || void 0 === i3 ? void 0 : i3.split("::"); if (u2 = s.CustomJsonNamespace[e4[0]], u2 && p(u2)) { const t3 = e4[1].indexOf("_"); - -1 === t3 ? d2 = e4[1] : (d2 = e4[1].substring(0, t3), n3 = a.CustomJsonContext[e4[1].substring(t3 + 1)]); - } else d2 = e4[1]; + -1 === t3 ? c2 = e4[1] : (c2 = e4[1].substring(0, t3), n3 = a.CustomJsonContext[e4[1].substring(t3 + 1)]); + } else c2 = e4[1]; r3 = e4[1]; } - return { context: n3 || a.CustomJsonContext.none, dataTypeStr: h, expressionDataTypeStr: e3, identifier: r3, isCollection: _, isCustomJsonType: o2, namespace: u2, subIdentifier: d2 }; + return { context: n3 || a.CustomJsonContext.none, dataTypeStr: h, expressionDataTypeStr: e3, identifier: r3, isCollection: _, isCustomJsonType: o2, namespace: u2, subIdentifier: c2 }; }; const n2 = i2(31635), r2 = i2(9456), o = n2.__importStar(i2(69453)), a = i2(79519), s = i2(79519), l = n2.__importDefault(i2(73198)), u = i2(80428); t2.CUSTOM_JSON_PREFIX = `${u.expressionTypeNames.json}__`, t2.CUSTOM_JSON_PREFIX_LENGTH = t2.CUSTOM_JSON_PREFIX.length; - const d = i2(47957); - function c(e3) { + const c = i2(47957); + function d(e3) { return (null == e3 ? void 0 : e3.startsWith(t2.CUSTOM_JSON_PREFIX)) && e3.indexOf("::") > 0; } function p(e3) { @@ -78780,8 +84877,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } }, 66347: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(21647), a = i2(80428), s = i2(89343), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(21647), a = i2(80428), s = i2(89343), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -78789,11 +84886,11 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return r2.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.getJourneySessionsByExternalContact.idLabel, searchResultLabel: d.findActions.getJourneySessionsByExternalContact.resultsLabel, searchResultExpressionOptions: o.ExpressionTypeComplexOptions.create((e3) => e3.setIsCollection(true)), searchResultItemType: a.expressionTypeNames.journeySession }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.getJourneySessionsByExternalContact, modelClass: s.GetJourneySessionsByExternalContactActionModel, name: d.actions.getJourneySessionsByExternalContact, scriptingName: "ArchActionGetJourneySessionsByExternalContact" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.getJourneySessionsByExternalContact, modelClass: s.GetJourneySessionsByExternalContactActionModel, name: d.actions.getJourneySessionsByExternalContact, scriptingName: "ArchActionGetJourneySessionsByExternalContact", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 66350: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(68694), a = n2.__importDefault(i2(92140)), s = (i2(94110), i2(56969)), l = i2(56969), u = i2(56969), d = n2.__importStar(i2(14187)), c = n2.__importDefault(i2(66700)), p = n2.__importDefault(i2(99025)), _ = n2.__importDefault(i2(55705)), h = i2(31145), m = i2(64420), g = i2(19098); + const n2 = i2(31635), r2 = i2(96618), o = i2(68694), a = n2.__importDefault(i2(92140)), s = (i2(94110), i2(56969)), l = i2(56969), u = i2(56969), c = n2.__importStar(i2(14187)), d = n2.__importDefault(i2(66700)), p = n2.__importDefault(i2(99025)), _ = n2.__importDefault(i2(55705)), h = i2(31145), m = i2(64420), g = i2(19098); class f extends h.NluFlowViewModel { constructor(e3) { super(e3), this.speechRecognition = new p.default(this), this._addToAutoManageSettings(this.speechRecognition), this.voiceSurveyFlowSettings = this.botFlowSettings; @@ -78818,7 +84915,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return super.buildConfiguration(e3, t3, i3), (null == i3 ? void 0 : i3.isForFlowYaml) && (null === (n3 = this.voiceSurveyFlowSettings) || void 0 === n3 ? void 0 : n3.archSurveyForm) && (e3.surveyForm = { name: this.voiceSurveyFlowSettings.archSurveyForm.name }), e3; } get stateViewModel() { - return c.default; + return d.default; } get type() { return r2.flowTypes.flowTypeVoiceSurvey; @@ -78835,7 +84932,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return "bots"; } get builtInVariableScopes() { - return [...super.builtInVariableScopes, d.scopes.form]; + return [...super.builtInVariableScopes, c.scopes.form]; } get surveyForm() { return this.voiceSurveyFlowSettings.archSurveyForm; @@ -78850,23 +84947,23 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var i3, n3, r3; const u2 = null === (i3 = this.voiceSurveyFlowSettings) || void 0 === i3 ? void 0 : i3.archSurveyForm; if (!u2) return false; - const d2 = (0, l.findSurveyQuestionInForm)(u2, e3, true, false, true); - if (!d2) return false; - const c2 = (0, s.findAnswerOptionInQuestion)(d2, e3); + const c2 = (0, l.findSurveyQuestionInForm)(u2, e3, true, false, true); if (!c2) return false; + const d2 = (0, s.findAnswerOptionInQuestion)(c2, e3); + if (!d2) return false; const p2 = null === (n3 = this.voiceSurveyFlowSettings.surveyFormInfo) || void 0 === n3 ? void 0 : n3.formToSlotVariableMappings; if (!p2) return false; - const _2 = p2[null == d2 ? void 0 : d2.variableId]; + const _2 = p2[null == c2 ? void 0 : c2.variableId]; if (!(null == _2 ? void 0 : _2.length)) return false; const h2 = _2[0].slotType; if (!h2) return false; const m2 = this.nlu; if (!m2) return false; - const g2 = o.EntityUtil.getEntityTypeItemFromEntityTypeByName(m2, h2, c2.text); + const g2 = o.EntityUtil.getEntityTypeItemFromEntityTypeByName(m2, h2, d2.text); if (!g2) return false; t3 = t3 || "", a.default.isArray(g2.synonyms) ? g2.synonyms.length = 0 : g2.synonyms = []; let f2 = true; - return t3.length && ((null === (r3 = parseInt(t3)) || void 0 === r3 ? void 0 : r3.toString()) === t3 || "*" === t3 || "#" === t3 ? g2.synonyms.push(t3) : f2 = false), c2.dtmf = t3, f2; + return t3.length && ((null === (r3 = parseInt(t3)) || void 0 === r3 ? void 0 : r3.toString()) === t3 || "*" === t3 || "#" === t3 ? g2.synonyms.push(t3) : f2 = false), d2.dtmf = t3, f2; } } t2.default = f; @@ -78891,7 +84988,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getConversationCustomAttributeSchema = t2.getConversationCustomAttributeSchemas = void 0; const n2 = i2(31635), r2 = i2(82675), o = i2(55279), a = n2.__importDefault(i2(36019)); - t2.getConversationCustomAttributeSchemas = a.default.request("GET", "{public-api.apps}/api/v2/conversations/customattributes/schemas", o.ConversationCustomAttributeSchemaList, { ignoreBadResponse: true }), t2.getConversationCustomAttributeSchema = a.default.request("GET", "{public-api.apps}/api/v2/conversations/customattributes/schemas/{id}", r2.ConversationCustomAttributeSchema, { ignoreBadResponse: true }); + t2.getConversationCustomAttributeSchemas = a.default.request("GET", "{public-api.apps}/api/v2/conversations/customattributes/schemas/search", o.ConversationCustomAttributeSchemaList, { ignoreBadResponse: true }), t2.getConversationCustomAttributeSchema = a.default.request("GET", "{public-api.apps}/api/v2/conversations/customattributes/schemas/{id}", r2.ConversationCustomAttributeSchema, { ignoreBadResponse: true }); }, 66381: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getListDisplayString = void 0, t2.getSentenceListDisplayString = function(e3, t3) { @@ -78924,9 +85021,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const t3 = o.default.pluck(e3, "id"); return (0, l.getListDisplayString)(t3, false); }, t2.utf8EncodedSizeExceedsMax = function(e3, t3) { - return d.ParameterValidator.expectString(e3, () => u.ParameterInfo.createFunctionParameter(_, "utf8EncodedSizeExceedsMax", "stringValueToCheck"), true), d.ParameterValidator.expectInt(t3, () => u.ParameterInfo.createFunctionParameter(_, "utf8EncodedSizeExceedsMax", "maxSizeInclusive")), !!o.default.isString(e3) && (function(e4, t4) { + return c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createFunctionParameter(_, "utf8EncodedSizeExceedsMax", "stringValueToCheck"), true), c.ParameterValidator.expectInt(t3, () => u.ParameterInfo.createFunctionParameter(_, "utf8EncodedSizeExceedsMax", "maxSizeInclusive")), !!o.default.isString(e3) && (function(e4, t4) { const i3 = e4.length; - return 0 !== i3 && (i3 > t4 || !(3 * i3 <= t4) && (0, c.utf8EncodedSizeCalc)(e4, t4) > t4); + return 0 !== i3 && (i3 > t4 || !(3 * i3 <= t4) && (0, d.utf8EncodedSizeCalc)(e4, t4) > t4); })(e3, t3); }, t2.escapeWhitespaceChars = function(e3) { return e3.contains("\n") && (e3 = e3.replace(/\n/g, "\\n")), e3.contains("\r") && (e3 = e3.replace(/\r/g, "\\r")), e3.contains(" ") && (e3 = e3.replace(/\t/g, "\\t")), e3; @@ -78936,12 +85033,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return CSS.escape("_" + e3); }, t2.truncateText = function(e3, t3) { if (e3) return e3.length <= t3 || t3 < 0 ? e3 : (0, r2.sprintf)(p.generic.truncatedText, e3.substring(0, t3 - 3)); + }, t2.ensureStringEndsWithPeriod = function(e3) { + return o.default.isNullOrUndefined(e3) || !o.default.isString(e3) || e3.endsWith(".") ? e3 : e3 + "."; }; const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(98114)), s = n2.__importDefault(i2(41510)), l = i2(48109); Object.defineProperty(t2, "getListDisplayString", { enumerable: true, get: function() { return l.getListDisplayString; } }); - const u = i2(55909), d = i2(33951), c = i2(29269), p = i2(47957), _ = "stringUtilities"; + const u = i2(55909), c = i2(33951), d = i2(29269), p = i2(47957), _ = "stringUtilities"; }, 66418: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -78990,13 +85089,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } }, isKnowledgeSettingModel: { get: () => true } }), e2.exports = n2; }, 66590: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = i2(63391), u = i2(47957); + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = i2(63391), u = n2.__importDefault(i2(4648)), c = i2(47957); class d extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } } - d.info = o.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: r2.helpTopics.actions.completeSend, modelClass: l.CompleteSendActionModel, name: u.actions.completeSend, scriptingName: "ArchActionCompleteSend", termination: a.terminatesFlow }), t2.A = d; + d.info = o.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: r2.helpTopics.actions.completeSend, modelClass: l.CompleteSendActionModel, name: c.actions.completeSend, scriptingName: "ArchActionCompleteSend", termination: a.terminatesFlow, modelFormatSupport: { flowYaml: { inProgress: true, feature: u.default.changeSetsFeaturePhase2 } } }), t2.A = d; }, 66593: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "T\xE4m\xE4 sy\xF6te on virheellinen.", noInputReceived: "Sy\xF6tett\xE4 ei saatu." }, askForBoolean: { noInput: 'Vastaa "kyll\xE4", jos haluat jatkaa tai "ei", jos et halua.', noMatch: 'Vastaa "kyll\xE4" tai "ei". Haluatko jatkaa?', question: "Haluatko jatkaa?", noInputDigitalBot: 'Kirjoita "kyll\xE4", jos haluat jatkaa, tai "ei", jos et halua.', noMatchDigitalBot: 'Kirjoita "kyll\xE4" tai "ei". Haluatko jatkaa?' }, askForIntent: { noInput: 'Sano lyhyt lause, joka kuvailee kysely\xE4si. Esimerkiksi "Tarkista tilini saldo"', noMatch: "Kerro uudelleen, mit\xE4 haluat tehd\xE4.", question: "Mit\xE4 haluat tehd\xE4?", noInputDigitalBot: 'Kirjoita lyhyt lause, joka kuvailee kysely\xE4si. Esimerkiksi "Tarkista tilini saldo"' }, askForSlot: { askFor: "Pyyd\xE4 seuraavaa: %1$s", noInput: "Sano tai kirjoita (lis\xE4\xE4 paikan nimi t\xE4h\xE4n).", noInputWithSlot: "Sano tai kirjoita %1$s.", noMatch: "Anna minulle (lis\xE4\xE4 paikan nimi t\xE4h\xE4n) uudelleen.", noMatchWithSlot: "Anna minulle %1$s uudelleen.", question: "Mik\xE4 on (lis\xE4\xE4 paikan nimi t\xE4h\xE4n)?", questionWithSlot: "Mik\xE4 on %1$s?", pleaseEnterSlotNameHere: "(lis\xE4\xE4 paikan nimi t\xE4h\xE4n)", noInputDigitalBot: "Kirjoita (lis\xE4\xE4 paikan nimi t\xE4h\xE4n).", noInputWithSlotDigitalBot: "Kirjoita %1$s.", continuationPromptWithSlot: "Sain {{Slot.%1$s}} t\xE4h\xE4n menness\xE4, ole hyv\xE4 ja jatka." }, askForNextSlot: { noInput: 'Sano "kyll\xE4", jos sinulla on toinen kysely, tai lopeta puhelu sanomalla "ei".', noMatch: 'Sano "kyll\xE4", jos sinulla on toinen kysely, tai lopeta istunto sanomalla "ei".', question: "Voinko auttaa sinua jonkin muun asian kanssa?", noInputDigitalBot: 'Kirjoita "kyll\xE4", jos sinulla on toinen kysely, tai lopeta istunto kirjoittamalla "ei".', noMatchDigitalBot: 'Kirjoita "kyll\xE4", jos sinulla on toinen kysely, tai lopeta istunto kirjoittamalla "ei".' }, askForPayment: { noInputDigitalBot: "Anna maksutietosi jatkaaksesi.", noMatchDigitalBot: "En ymm\xE4rt\xE4nyt vastaustasi. Yrit\xE4 uudelleen." }, askForAuthentication: { noInputDigitalBot: "Anna tunnistustietosi jatkaaksesi.", noMatchDigitalBot: "En ymm\xE4rt\xE4nyt vastaustasi. Yrit\xE4 uudelleen." }, askSurveyQuestion: { notApplicable: "Ei sovellu", surveyAnswerOptionSequence: "Paina %1$s, jos haluat kohteen '%2$s'.", surveyAnswerNotApplicableSequence: "Paina t\xE4hte\xE4, jos haluat vaihtoehdon Ei sovellu.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Paina t\xE4hte\xE4, jos haluat vaihtoehdon Ei sovellu.", voiceSurveyNoInputText: "Vastaa kysymykseen.", voiceSurveyNoMatchText: "En ymm\xE4rt\xE4nyt mit\xE4 tarkoitat." }, commonModule: { exitCommonModule: "Poistu Yhteisest\xE4 moduulista" }, form: { noInputDigitalBot: "T\xE4yt\xE4 lomake jatkaaksesi.", noMatchDigitalBot: "T\xE4yt\xE4 lomake jatkaaksesi." }, messagingTemplate: { noInputDigitalBot: "Valitse jokin vaihtoehdoista.", noMatchDigitalBot: "Valitse jokin vaihtoehdoista." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Jatka", knowledgeAnswerHighlightFullArticleDefault: "N\xE4yt\xE4 koko artikkeli", knowledgeInitialResponseMulti: "Auta minua ymm\xE4rt\xE4m\xE4\xE4n tavoitteesi valitsemalla numero seuraavasta luettelosta:", knowledgeInitialResponseMultiRetry: "Valitse numero, esimerkiksi '1'.\nT\xE4ss\xE4 on vaihtoehtoluettelo uudelleen:", knowledgeNoMatch: "Ei mik\xE4\xE4n n\xE4ist\xE4", knowledgeConfirmation: "Vastasiko t\xE4m\xE4 kysymykseesi?", knowledgeFollowup: "Toivottavasti sait vastauksen kysymykseesi. Voit kysy\xE4 jotain muutakin, mit\xE4 haluat tiet\xE4\xE4." }, noOverlay: { intent: { intentConfirmationStr1: "Luulen, ett\xE4 haluat:", intentConfirmationStr2: "Onko t\xE4m\xE4 oikein?" }, youSaid: { youSaidConfirmationStr1: "Sanoit", youSaidConfirmationStr2: "Onko t\xE4m\xE4 oikein?", youSaidConfirmationStr1DigitalBot: "Kirjoitit" }, noInput: { noInputStr1: "Sano tai kirjoita", noInputStr1DigitalBot: "Kirjoita" }, noMatch: { noMatchStr1: "Anna minulle" }, whatIs: { whatIsQuestionStr1: "Mik\xE4 on", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Sain", iGotContinuationStr2: "t\xE4h\xE4n menness\xE4, ole hyv\xE4 ja jatka." } }, defaultCallFlowOne: "Oletuspuhelunohjaus", errorHandlingAgentEscalationConfirmation: "Haluat puhua neuvonantajalle. Onko t\xE4m\xE4 oikein?", errorHandlingAgentEscalationHandover: "Pieni hetki, niin yhdist\xE4n sinut henkil\xF6n puheille.", errorHandlingErrorEventHandover: "Pahoittelut, tapahtui virhe. Pieni hetki, niin yhdist\xE4n sinut henkil\xF6lle, joka voi auttaa.", errorHandlingErrorEventHandoverVoiceSurvey: "Pahoittelut, tapahtui virhe. Hei hei.", errorHandlingRecognitionEventHandover: "Pahoittelut, mutta en ymm\xE4rr\xE4 sinua. Pieni hetki, niin yhdist\xE4n sinut henkil\xF6lle, joka voi auttaa.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Pahoittelut, mutta en ymm\xE4rr\xE4 sinua. Hei hei.", errorHandlingTTS: "Pahoittelut, tapahtui virhe. Yrit\xE4 soittaa uudelleen.", initialGreetingTTS: "Hei, t\xE4m\xE4 on ensimm\xE4inen tervehdys.", initialState: "Alkuper\xE4inen tila", initialBotState: "Oletusbotti", initialDigitalBotState: "Ensimm\xE4inen tervehdys", initialSurveyBotState: "Kyselybotti", intentConfirmation: "Luulen, ett\xE4 haluat seuraavan: %1$s. Onko t\xE4m\xE4 oikein?", mainMenu: "P\xE4\xE4valikko", mainMenuTTS: "T\xE4m\xE4 on p\xE4\xE4valikko. Voit katkaista yhteyden painamalla 9", mainTask: "Teht\xE4v\xE4", settingsConfirmationNoInputApology: "Pahoittelut, en kuullut sinua. Sano kyll\xE4 tai ei.", settingsConfirmationNoInputApologyDigitalBot: 'Pahoittelut, en saanut sinulta sy\xF6tett\xE4.Kirjoita "Kyll\xE4" tai "Ei".', settingsConfirmationNoMatchApology: "Pahoittelut, sano kyll\xE4 tai ei.", settingsConfirmationNoMatchApologyDigitalBot: 'Pahoittelut, kirjoita "Kyll\xE4" tai "Ei".', settingsNoInputApology: "Pahoittelut, en kuullut sinua.", settingsNoInputApologyDigitalBot: "Pahoittelut, en saanut sinulta sy\xF6tett\xE4.", settingsEndOfSessionMessageDigitalBot: "En ole kuullut sinusta hetkeen, joten suljen chatin. Palaa t\xE4nne, jos tarvitset taas apuani. Kiitos.", settingsNoMatchApology: "Pahoittelut.", settingsNoToConfirmationApology: "Minun virheeni.", periodicStateName: "Toistuva tila" }; }, 66632: (e2, t2, i2) => { @@ -79038,7 +85137,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; i3.expression.setAsExpression(`Workitem.EventType == "${s.FlowInvokingEvent.workitemCreated}"`), i3.name = h.workitem.workitemEventQuestionCreated; const r3 = i3.branches.find((e5) => e5.id === u.outputIds.yes); g(e4, n2.callTaskActionType, r3, (e5) => { - e5.name = (0, d.sprintf)(h.workitem.worktypeCallTaskLabel, s.FlowInvokingEvent.workitemCreated), e5.containerActionProperty.setReference(t4); + e5.name = (0, c.sprintf)(h.workitem.worktypeCallTaskLabel, s.FlowInvokingEvent.workitemCreated), e5.containerActionProperty.setReference(t4); }); }); })(e3), e3.definition.supportsFlowInvokingEvent(s.FlowInvokingEvent.workitemStatusChanged) && (function(e4) { @@ -79051,7 +85150,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; })), g(e4, r2.decisionActionType, e4.startUpObject, (t5) => { t5.expression.setAsExpression(`Workitem.EventType == "${s.FlowInvokingEvent.workitemStatusChanged}"`), t5.name = h.workitem.workitemEventQuestionStatusChanged; const r3 = t5.branches.find((e5) => e5.id === u.outputIds.yes); - g(e4, c.switchActionActionType, r3, (t6) => { + g(e4, d.switchActionActionType, r3, (t6) => { t6.name = h.workitem.worktypeMatchStatus, t6.switchStyle = _.SwitchStyles.matchExpression, t6.expression.setAsExpression("Workitem.Workitem.status.name"), t6.updateCaseTypes(t6.expression.type, true), t6.cases.items.forEach((e5) => t6.deleteCase(e5)); for (let r4 = 0; r4 < i3.length; r4++) { if (r4 > p.switchActionCaseLimits.numMaxCases - 1) { @@ -79067,8 +85166,8 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; })(e3), e3.definition.supportsFlowInvokingEvent(s.FlowInvokingEvent.workitemDateBasedEvent) && (function(e4) { const t4 = e4.workitemFlowSettings.worktype.dateBasedRules; if (!(null == t4 ? void 0 : t4.length)) return; - const i3 = (0, d.sprintf)(h.workitem.worktypeNameWithEventTypePrefix, s.FlowInvokingEvent.workitemDateBasedEvent), a2 = e4.createTask(i3); - g(e4, c.switchActionActionType, a2, (i4) => { + const i3 = (0, c.sprintf)(h.workitem.worktypeNameWithEventTypePrefix, s.FlowInvokingEvent.workitemDateBasedEvent), a2 = e4.createTask(i3); + g(e4, d.switchActionActionType, a2, (i4) => { i4.name = h.workitem.worktypeMatchDateBasedEvent, i4.switchStyle = _.SwitchStyles.matchExpression, i4.expression.setAsExpression("If(IsSet(Workitem.EventData) and IsSet(WorkItem.EventData.rule), Workitem.EventData.rule.name, NOT_SET)"), i4.updateCaseTypes(i4.expression.type, true), i4.cases.items.forEach((e5) => i4.deleteCase(e5)); for (let e5 = 0; e5 < t4.length; e5++) { if (e5 > p.switchActionCaseLimits.numMaxCases - 1) { @@ -79078,7 +85177,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; e5 > 0 && i4.addCase(false), i4.cases.items[e5].value.setAsLiteral(t4[e5].name); } g(e4, o.endTaskActionType, a2, (e5) => { - e5.name = (0, d.sprintf)(h.workitem.worktypeEndStatusTask, s.FlowInvokingEvent.workitemDateBasedEvent); + e5.name = (0, c.sprintf)(h.workitem.worktypeEndStatusTask, s.FlowInvokingEvent.workitemDateBasedEvent); const t5 = a2.getBranchByOutputId(u.outputIds.default); e5.linkPath(t5); }); @@ -79086,12 +85185,12 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; t5.expression.setAsExpression(`Workitem.EventType == "${s.FlowInvokingEvent.workitemDateBasedEvent}"`), t5.name = h.workitem.workitemDateBasedRulePresent; const i4 = t5.getBranch(u.outputIds.yes); g(e4, n2.callTaskActionType, i4, (e5) => { - e5.name = (0, d.sprintf)(h.workitem.worktypeCallTaskLabel, s.FlowInvokingEvent.workitemDateBasedEvent), e5.containerActionProperty.setReference(a2); + e5.name = (0, c.sprintf)(h.workitem.worktypeCallTaskLabel, s.FlowInvokingEvent.workitemDateBasedEvent), e5.containerActionProperty.setReference(a2); }); }); })(e3), g(e3, a.exitWorkitemFlowActionType, e3.startUpObject); }; - const n2 = i2(30801), r2 = i2(30801), o = i2(30801), a = i2(30801), s = i2(67018), l = i2(24032), u = i2(26847), d = i2(17604), c = i2(30801), p = i2(82632), _ = i2(68038), h = i2(47957), m = (0, l.getTopic)("buildWorkitemFlow"); + const n2 = i2(30801), r2 = i2(30801), o = i2(30801), a = i2(30801), s = i2(67018), l = i2(24032), u = i2(26847), c = i2(17604), d = i2(30801), p = i2(82632), _ = i2(68038), h = i2(47957), m = (0, l.getTopic)("buildWorkitemFlow"); function g(e3, t3, i3, n3) { try { const r3 = i3.addAction(t3, i3.lastAction); @@ -79105,9 +85204,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } } function f(e3, t3, i3, n3) { - const r3 = n3 ? t3 : (0, d.sprintf)(i3 ? h.workitem.worktypeNameWithEventTypePrefix : h.workitem.worktypeNameWithStatusPrefix, t3), a2 = e3.createTask(r3); + const r3 = n3 ? t3 : (0, c.sprintf)(i3 ? h.workitem.worktypeNameWithEventTypePrefix : h.workitem.worktypeNameWithStatusPrefix, t3), a2 = e3.createTask(r3); return g(e3, o.endTaskActionType, a2, (e4) => { - e4.name = (0, d.sprintf)(h.workitem.worktypeEndStatusTask, t3); + e4.name = (0, c.sprintf)(h.workitem.worktypeEndStatusTask, t3); const i4 = a2.getBranches().find((e5) => e5.outputId === u.outputIds.default); e4.linkPath(i4); }), a2; @@ -79129,15 +85228,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 66700: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(50474), o = n2.__importStar(i2(14187)), a = n2.__importDefault(i2(61610)), s = i2(30801), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(30801), c = i2(47957), p = i2(50029); - class _ extends a.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(4648)), o = i2(50474), a = n2.__importStar(i2(14187)), s = n2.__importDefault(i2(61610)), l = i2(30801), u = i2(12179), c = n2.__importDefault(i2(97891)), d = i2(30801), p = i2(47957), _ = i2(50029); + class h extends s.default { constructor(e3, t3) { - super(e3), t3.__type !== s.botStateActionType && (t3 = new p(t3)), this._loadModel(t3); + super(e3), t3.__type !== l.botStateActionType && (t3 = new _(t3)), this._loadModel(t3); } static loadSequenceItemListForModel(e3, t3) { if (t3) { - if (t3.__type === s.botStateActionType) return true; - if (t3.__type === d.stateActionType) return (0, r2.isCommonWorkflowViewModel)(e3) && e3.hasStates ? (console.error("can not load state model, only 1 bot state allowed currently"), false) : (console.warn("migrating state model to bot state model"), true); + if (t3.__type === l.botStateActionType) return true; + if (t3.__type === d.stateActionType) return (0, o.isCommonWorkflowViewModel)(e3) && e3.hasStates ? (console.error("can not load state model, only 1 bot state allowed currently"), false) : (console.warn("migrating state model to bot state model"), true); } return false; } @@ -79151,19 +85250,19 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return true; } get resources() { - return { noTerminatingAction: c.botStates.noTerminatingAction, startUpDisplayName: c.startUpBotStateDisplayName }; + return { noTerminatingAction: p.botStates.noTerminatingAction, startUpDisplayName: p.startUpBotStateDisplayName }; } get defaultVariableScope() { - return o.scopes.flow; + return a.scopes.flow; } get localVariableScope() { - return o.scopes.bot; + return a.scopes.bot; } get isAllowedAsStartupNode() { return true; } get containerLabel() { - return c.actions.botState; + return p.actions.botState; } get supportsInputVariables() { return false; @@ -79178,7 +85277,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super.addClipboardDependencies(e3), e3.copyCutProcessStateViewModel(this); } } - _.info = u.default.createReusableNodeInfo({ actionType: s.botStateActionType, actionClass: _, helpTopic: l.helpTopics.tasks.botState, name: c.actions.botState }), t2.default = _; + h.info = c.default.createReusableNodeInfo({ actionType: l.botStateActionType, actionClass: h, helpTopic: u.helpTopics.tasks.botState, name: p.actions.botState, modelFormatSupport: { flowYaml: { inProgress: true, feature: r2.default.changeSetsFeaturePhase2 } } }), t2.default = h; }, 66740: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -79223,13 +85322,13 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; "use strict"; var n2, r2, o, a, s, l, u; Object.defineProperty(t2, "__esModule", { value: true }); - const d = i2(31635), c = i2(30801), p = d.__importDefault(i2(21345)); + const c = i2(31635), d = i2(30801), p = c.__importDefault(i2(21345)); class _ extends p.default { constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), l.set(this, void 0), u.set(this, void 0), d.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.headerType), "f"), d.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.headerText), "f"), d.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.headerImage), "f"), d.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.body), "f"), d.__classPrivateFieldSet(this, s, this.coreFactory.createArchWrapper(e3.footer), "f"), d.__classPrivateFieldSet(this, l, this.coreFactory.createArchWrapper(e3.urlValue), "f"), d.__classPrivateFieldSet(this, u, this.coreFactory.createArchWrapper(e3.urlLabel), "f"); + super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), l.set(this, void 0), u.set(this, void 0), c.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.headerType), "f"), c.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.headerText), "f"), c.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.headerImage), "f"), c.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.body), "f"), c.__classPrivateFieldSet(this, s, this.coreFactory.createArchWrapper(e3.footer), "f"), c.__classPrivateFieldSet(this, l, this.coreFactory.createArchWrapper(e3.urlValue), "f"), c.__classPrivateFieldSet(this, u, this.coreFactory.createArchWrapper(e3.urlLabel), "f"); } get _actionTypeId() { - return c.sendRichLinkActionType; + return d.sendRichLinkActionType; } get displayTypeName() { return this._scriptingName; @@ -79238,28 +85337,28 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return true; } get body() { - return d.__classPrivateFieldGet(this, a, "f"); + return c.__classPrivateFieldGet(this, a, "f"); } get footer() { - return d.__classPrivateFieldGet(this, s, "f"); + return c.__classPrivateFieldGet(this, s, "f"); } get headerType() { - return d.__classPrivateFieldGet(this, n2, "f"); + return c.__classPrivateFieldGet(this, n2, "f"); } get headerText() { - return d.__classPrivateFieldGet(this, r2, "f"); + return c.__classPrivateFieldGet(this, r2, "f"); } get headerImage() { - return d.__classPrivateFieldGet(this, o, "f"); + return c.__classPrivateFieldGet(this, o, "f"); } get sendRichLinkOutputsFailure() { return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; } get urlLabel() { - return d.__classPrivateFieldGet(this, u, "f"); + return c.__classPrivateFieldGet(this, u, "f"); } get urlValue() { - return d.__classPrivateFieldGet(this, l, "f"); + return c.__classPrivateFieldGet(this, l, "f"); } } n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), t2.default = _; @@ -79296,16 +85395,16 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 66800: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.digitalAudioManager = t2.DigitalAudioManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importStar(i2(90891)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(41633)), d = i2(47957), c = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importStar(i2(90891)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(41633)), c = i2(47957), d = i2(27862); class p extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.responseAssetView; } get dependencyType() { - return c.DigitalAudio; + return d.DigitalAudio; } constructor() { - super(), this.topic = o.getTopic("DigitalAudioManager"), this.apiCallList = a.getDigitalAudioResponseAssets, this.apiCallSingle = a.getResponseAsset, this._rawServerCache = {}, this.className = "DigitalAudioManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = d.generic.digitalAudio, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "digitalAudios", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); + super(), this.topic = o.getTopic("DigitalAudioManager"), this.apiCallList = a.getDigitalAudioResponseAssets, this.apiCallSingle = a.getResponseAsset, this._rawServerCache = {}, this.className = "DigitalAudioManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = c.generic.digitalAudio, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "digitalAudios", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); } _createItemViewModel(e3) { return new u.default(e3); @@ -79369,14 +85468,14 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }, 66872: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(56549)), o = n2.__importDefault(i2(96875)), a = n2.__importDefault(i2(73198)), s = n2.__importDefault(i2(98114)), l = n2.__importDefault(i2(90396)), u = n2.__importDefault(i2(5024)), d = n2.__importDefault(i2(78432)), c = i2(48565), p = n2.__importDefault(i2(94225)), _ = i2(63689), h = i2(87675), m = i2(46920), g = i2(46920), f = i2(46920), T = i2(46920), y = i2(83563), S = i2(2560), A = i2(50474), N = i2(19312), O = i2(35515), I = i2(97340), v = i2(14592), C = i2(14592), b = n2.__importDefault(i2(66978)), E = n2.__importDefault(i2(13523)), R = n2.__importDefault(i2(78641)), w = n2.__importDefault(i2(98717)), D = n2.__importDefault(i2(37873)); - let P; - P = i2(79896); - const M = i2(16928), F = i2(37345); - class L extends D.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(20850), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(96875)), l = n2.__importDefault(i2(73198)), u = n2.__importDefault(i2(98114)), c = i2(17498), d = n2.__importDefault(i2(92859)), p = i2(30801), _ = i2(30801), h = n2.__importDefault(i2(90396)), m = n2.__importDefault(i2(5024)), g = n2.__importDefault(i2(78432)), f = i2(48565), T = n2.__importDefault(i2(94225)), y = i2(63689), S = i2(87675), A = i2(46920), N = i2(46920), v = i2(46920), O = i2(46920), I = i2(83563), C = i2(2560), b = i2(1910), E = i2(1910), w = i2(1910), R = i2(1910), D = i2(50474), P = i2(19312), M = i2(35515), F = i2(97340), L = i2(14592), x = i2(14592), k = i2(79519), V = n2.__importDefault(i2(4648)), U = n2.__importStar(i2(10798)), B = n2.__importDefault(i2(66978)), G = n2.__importDefault(i2(13523)), j = n2.__importDefault(i2(78641)), W = n2.__importDefault(i2(98717)), q = n2.__importDefault(i2(37873)); + let Y; + Y = i2(79896); + const H = i2(16928), J = i2(37345); + class $ extends q.default { static get definition() { const e3 = this.prototype; - return e3._ensureSessionIsConnected(e3._infoPropGet("definition"), p.default), e3.coreFactory.createArchWrapper(s.default.getDefinitionForFlowType(e3._flowType)); + return e3._ensureSessionIsConnected(e3._infoPropGet("definition"), T.default), e3.coreFactory.createArchWrapper(u.default.getDefinitionForFlowType(e3._flowType)); } constructor(e3) { super(e3), this.isArchBaseFlow = true, this._coreFlowViewModel = e3; @@ -79388,7 +85487,7 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; if (!e3) return void this.logWarning("not logging asynchronous operation update because the notification is invalid."); if (!e3.currentOperation) return void this.logWarning("not logging asynchronous operation update because there is no current operation on the notification."); const t3 = " ActionName: '" + e3.currentOperation.actionName + "', ActionStatus: '" + e3.currentOperation.actionStatus + "'"; - this.id !== e3.id ? this.logErrorAndThrow("received incorrect operation notification." + t3 + ", NotificationFlowId: '" + e3.id + "' does not equal this flow's id of '" + this.id + "'") : this.logNote("received operation notification." + t3); + this.id !== e3.id ? this.logWarning("ignoring operation notification for a different flow." + t3 + ", NotificationFlowId: '" + e3.id + "' does not equal this flow's id of '" + this.id + "'") : this.logNote("received operation notification." + t3); } _logUrl() { this.logNote("flow url: " + this.url); @@ -79404,27 +85503,27 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return n2.__awaiter(this, void 0, void 0, function* () { if (!this.isCreated) { const e4 = this._infoMethod("checkoutAsync"); - w.default.itemInvalid(e4, `The flow '${this.name} has not yet been created.`, this.logStr, this.displayTypeName); + W.default.itemInvalid(e4, `The flow '${this.name} has not yet been created.`, this.logStr, this.displayTypeName); } this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutAsync"), e3, true); - const i3 = yield r2.default._checkoutFlowByFlowInfoAsync(this._getCoreViewModel().info, e3); - return this._getCoreViewModel().info.loadModel(i3._model), p.default.executeCallback(this, "checkoutAsync", t3); + const i3 = yield a.default._checkoutFlowByFlowInfoAsync(this._getCoreViewModel().info, e3); + return this._getCoreViewModel().info.loadModel(i3._model), T.default.executeCallback(this, "checkoutAsync", t3); }); } get displayTypeName() { return "ArchBaseFlow"; } get division() { - if (p.default.orgInfo.areDivisionsAvailable) return this.coreFactory.createArchWrapper(this._getCoreViewModel() && this._getCoreViewModel().info ? this._getCoreViewModel().info.divisionViewModel : void 0); + if (T.default.orgInfo.areDivisionsAvailable) return this.coreFactory.createArchWrapper(this._getCoreViewModel() && this._getCoreViewModel().info ? this._getCoreViewModel().info.divisionViewModel : void 0); } loadAsync(e3, t3) { return n2.__awaiter(this, void 0, void 0, function* () { if (!this.isCreated) { const e4 = this._infoMethod("loadAsync"); - w.default.itemInvalid(e4, `The flow '${this.name} has not yet been created.`, this.logStr, this.displayTypeName); + W.default.itemInvalid(e4, `The flow '${this.name} has not yet been created.`, this.logStr, this.displayTypeName); } - const i3 = yield r2.default._loadFlowByFlowInfoAsync(this._getCoreViewModel(), this._getCoreViewModel().info, e3, "loadAsync", true); - return this._getCoreViewModel().loadConfiguration(i3), p.default.executeCallback(this, "loadAsync", t3); + const i3 = yield a.default._loadFlowByFlowInfoAsync(this._getCoreViewModel(), this._getCoreViewModel().info, e3, "loadAsync", true); + return this._getCoreViewModel().loadConfiguration(i3), T.default.executeCallback(this, "loadAsync", t3); }); } get logStr() { @@ -79432,17 +85531,63 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const e3 = []; return this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this.isCreated && this._appendLogStrId(e3, this.id), this._createLogStrFromParts(e3); } - _importFlowContentAsync(e3, t3, i3) { + _importFlowContentAsync(e3, t3, i3, r3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this.logNote("the content to import is " + e3.length + " characters."), r3 === g.default.FLOW_FORMAT_TYPES.yaml || !r3 && this._isYamlFlowContent(e3) ? (this._checkMethodCallFeatureIsAvailable(this._infoMethod(t3), V.default.changeSetsFeaturePhase2), this.logNote("using YamlProcessor pipeline for YAML flow content."), yield this._importYamlFlowContent(e3)) : yield (0, O.importFlow)(this._coreFlowViewModel, e3, "", this.flowType, true), this.logNote("flow import complete."), T.default.executeCallback(this, t3, i3, this); + }); + } + _isYamlFlowContent(e3) { + var t3; + const i3 = (null === (t3 = e3.trimStart().split("\n")[0]) || void 0 === t3 ? void 0 : t3.trim()) || "", n3 = i3.indexOf(":"); + if (n3 <= 0) return false; + const r3 = i3.substring(0, n3).trim(); + return E.FlowTypeResolver.isRecognized(r3); + } + _importYamlFlowContent(e3) { return n2.__awaiter(this, void 0, void 0, function* () { - return this.logNote("the content to import is " + e3.length + " characters."), yield (0, T.importFlow)(this._coreFlowViewModel, e3, "", this.flowType, true), this.logNote("flow import complete."), p.default.executeCallback(this, t3, i3, this); + this.isReadOnly && this.logErrorAndThrow((0, w.readOnlyFlowConfigureFromModelMessage)()); + const t3 = i2(62829), n3 = i2(36781), r3 = (0, v.getStringifiedConfiguration)(this._coreFlowViewModel); + this._coreFlowViewModel.loaded && n3.emitter.emit(n3.cleanUpFlow, this._coreFlowViewModel), this._coreFlowViewModel.tasks && this._coreFlowViewModel.deleteAllTasks(), this._coreFlowViewModel.menus && this._coreFlowViewModel.deleteAllMenus(), this._coreFlowViewModel.loaded = false; + const o2 = new R.YamlProcessor({ existingFlowViewModel: this._coreFlowViewModel, entityResolver: (0, b.createConfigListEntityResolver)({ flowTypeForListQueries: this.flowType }), nodeManager: { _getActionTypeMap: () => t3.actionDefs } }); + o2.logger$.subscribe((e4) => { + const t4 = `${e4.contextPath ? `[${e4.contextPath}] ` : ""}${e4.message}`; + switch (e4.level) { + case "error": + this.logError(t4); + break; + case "warning": + this.logWarning(t4); + break; + case "info": + default: + this.logNote(t4); + break; + case "debug": + this.logNoteVerbose(t4); + } + }); + const a2 = yield o2.process(e3); + if (!a2.success) { + let e4; + this.logWarning("YAML import failed. Restoring previous flow configuration."); + try { + yield (0, O.importFlow)(this._coreFlowViewModel, r3, "", this.flowType, true); + } catch (t5) { + this.logError("Failed to restore previous flow configuration after YAML import failure."), e4 = t5 instanceof Error ? t5.message : String(t5); + } + const t4 = a2.errors.map((e5) => e5.message).join("; "); + return e4 ? void this.logErrorAndThrow(`YAML import failed: ${t4}. Additionally, restoring the previous flow configuration failed: ${e4}`) : void this.logErrorAndThrow(`YAML import failed: ${t4}`); + } + if (this._coreFlowViewModel.loaded = true, a2.warnings.length > 0) for (const e4 of a2.warnings) this.logWarning(`YAML import warning: ${e4.message}`); + this.logNote(`YAML import processed ${a2.metadata.actionsProcessed} action(s) in ${a2.metadata.durationMs}ms.`); }); } _saveInternalAsync(e3) { return n2.__awaiter(this, void 0, void 0, function* () { this.isCreated || this.logErrorAndThrow("saveAsync - flow not created. Unable to save."), this.logNote("saveAsync - saving flow..."); try { - yield b.default.allSettled(); - const t3 = (0, f.getStringifiedConfiguration)(this._coreFlowViewModel), i3 = yield F.saveConfiguration(this.id, t3); + yield B.default.allSettled(); + const t3 = (0, v.getStringifiedConfiguration)(this._coreFlowViewModel), i3 = yield J.saveConfiguration(this.id, t3); return yield this._coreFlowViewModel.postSave(i3, e3), this.logNote("saveAsync - save successful."), this._logUrl(), this; } catch (e4) { this.logErrorAndThrow("saveAsync - failed to save\n" + e4); @@ -79453,49 +85598,178 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return n2.__awaiter(this, void 0, void 0, function* () { if (!this.isCreated) { const e4 = this._infoCalledObject(this, "unlockAsync"); - w.default.itemInvalid(e4, "This flow is not created so it is not possible to unlock.", this.logStr, this.displayTypeName); + W.default.itemInvalid(e4, "This flow is not created so it is not possible to unlock.", this.logStr, this.displayTypeName); } - const t3 = yield r2.default._unlockFlowAsync(this._getCoreViewModel().info); - return this._getCoreViewModel().info.loadModel(t3._model ? t3._model : t3), p.default.executeCallback(this, "unlockAsync", e3); + const t3 = yield a.default._unlockFlowAsync(this._getCoreViewModel().info); + return this._getCoreViewModel().info.loadModel(t3._model ? t3._model : t3), T.default.executeCallback(this, "unlockAsync", e3); }); } _deleteExistingFlowByNameAsync() { - const e3 = this.name ? this.name.trim() : this.name, t3 = this._infoParm("this.name", "_deleteExistingFlowByNameAsync"); - this._checkItemIsValidLiteralString(t3, e3), this._checkItem(t3, 0 === e3.length, "you must pass in a non blank flow name"); - const i3 = { name: e3 ? "*" + e3.split(" ").join("* *") + "*" : "", pageSize: 50, pageNumber: 1, type: this._coreFlowViewModel.type }, r3 = (() => n2.__awaiter(this, void 0, void 0, function* () { - var t4, n3, r4, s2; - let u2; + const e3 = this.name ? this.name.trim() : this.name; + this._checkItemIsValidLiteralString(void 0, e3), this._checkItem(void 0, 0 === e3.length, "you must pass in a non blank flow name"); + const t3 = { name: e3 ? "*" + e3.split(" ").join("* *") + "*" : "", pageSize: 50, pageNumber: 1, type: this._coreFlowViewModel.type }, i3 = (() => n2.__awaiter(this, void 0, void 0, function* () { + var i4, n3, r3, o2; + let a2; try { - const e4 = yield F.getFlows(i3); + const e4 = yield J.getFlows(t3); if (this.name) { - const t5 = this.name.toLowerCase(); - u2 = e4.entities.find((e5) => e5.name && e5.name.toLowerCase() === t5); + const t4 = this.name.toLowerCase(); + a2 = e4.entities.find((e5) => e5.name && e5.name.toLowerCase() === t4); } - u2 ? this.logNote("there is a flow named '" + this.name + "' (id: '" + u2.id + "'). Will attempt to delete.") : this.logNote("there is no flow named '" + this.name + "'."); - } catch (t5) { - this.logErrorAndThrow("failed to lookup flow by name '" + e3 + "'\n" + t5); + a2 ? this.logNote("there is a flow named '" + this.name + "' (id: '" + a2.id + "'). Will attempt to delete.") : this.logNote("there is no flow named '" + this.name + "'."); + } catch (t4) { + this.logErrorAndThrow("failed to lookup flow by name '" + e3 + "'\n" + t4); } - if (!u2) return false; - const d2 = [new l.default(u2)]; + if (!a2) return false; + const u2 = [new h.default(a2)]; try { - yield o.default.deleteFlows(d2); + yield s.default.deleteFlows(u2); const e4 = 3; - this.logNote("successfully posted request to delete the existing flow named '" + u2.name + "' (id: '" + u2.id + "'). Post delete handling will pause for " + e4 + " seconds."); - const t5 = () => (this.logNote("post delete pause complete. Continuing."), true); - return new R.default().beginAsyncPolling(1, e4 * a.default.msPerSecond, t5, "_deleteExistingFlowByNameAsync"); + this.logNote("successfully posted request to delete the existing flow named '" + a2.name + "' (id: '" + a2.id + "'). Post delete handling will pause for " + e4 + " seconds."); + const t4 = () => (this.logNote("post delete pause complete. Continuing."), true); + return new j.default().beginAsyncPolling(1, e4 * l.default.msPerSecond, t4, "_deleteExistingFlowByNameAsync"); } catch (e4) { - const i4 = null !== (s2 = null === (r4 = null === (n3 = null === (t4 = null == e4 ? void 0 : e4.response) || void 0 === t4 ? void 0 : t4.errors) || void 0 === n3 ? void 0 : n3[0]) || void 0 === r4 ? void 0 : r4.code) && void 0 !== s2 ? s2 : ""; - this.logErrorAndThrow("could not delete the existing flow named '" + u2.name + "' (id: '" + u2.id + "')\n - Error Code: " + i4); + const t4 = null !== (o2 = null === (r3 = null === (n3 = null === (i4 = null == e4 ? void 0 : e4.response) || void 0 === i4 ? void 0 : i4.errors) || void 0 === n3 ? void 0 : n3[0]) || void 0 === r3 ? void 0 : r3.code) && void 0 !== o2 ? o2 : ""; + this.logErrorAndThrow("could not delete the existing flow named '" + a2.name + "' (id: '" + a2.id + "')\n - Error Code: " + t4); } }))(); - return b.default.addPromise(r3, "deleteExistingFlowByNameAsync"), r3; + return B.default.addPromise(i3, "deleteExistingFlowByNameAsync"), i3; + } + _repairSelfReferencingFlowDependencies() { + const e3 = this.name, t3 = this.id; + if (!e3 || !t3) return false; + const i3 = u.default.getDependencyTypeForFlowType(this.flowType); + if (!i3) return false; + let n3 = false; + const r3 = e3.toLowerCase(), o2 = (0, c.getDependenciesForFlow)(this._coreFlowViewModel); + for (const a2 of o2) { + if (a2.type !== i3 || a2.id === t3 || !a2.name) continue; + const o3 = a2.consumer; + "function" == typeof (null == o3 ? void 0 : o3.repointSelfReferencingFlow) && a2.name.toLowerCase() === r3 && (this.logNote(`createAsync - repairing self-referencing flow reference for '${e3}' to use this flow's id '${t3}'.`), o3.repointSelfReferencingFlow(t3, e3), n3 = true); + } + return n3; + } + _getSelfReferencingBaseCallBotFlowActions(e3) { + var t3, i3, n3; + const o2 = this._coreFlowViewModel, a2 = o2.type; + if (a2 !== r2.flowTypes.flowTypeBot && a2 !== r2.flowTypes.flowTypeDigitalBot) return []; + if (e3 && (null === (t3 = o2.info) || void 0 === t3 ? void 0 : t3.isPublished)) return []; + const s2 = a2 === r2.flowTypes.flowTypeBot ? p.callBotFlowActionType : _.callDigitalBotFlowActionType, l2 = o2.id, u2 = null === (n3 = null === (i3 = o2.info) || void 0 === i3 ? void 0 : i3.displayName) || void 0 === n3 ? void 0 : n3.toLowerCase(), c2 = []; + return o2.traverse(new d.default({ actionCallback: (e4) => { + var t4, i4; + if ((null === (t4 = e4.model) || void 0 === t4 ? void 0 : t4.__type) !== s2) return; + const n4 = e4, r3 = n4.botFlow; + if (!r3 || r3.outOfService) return; + if (!r3.flowId && !r3.flowName) return; + if (r3.flowType && r3.flowType !== a2) return; + const o3 = !!l2 && r3.flowId === l2, d2 = !!u2 && (null === (i4 = r3.flowName) || void 0 === i4 ? void 0 : i4.toLowerCase()) === u2; + (o3 || d2) && c2.push(n4); + } })), c2; + } + _exportFlowContentForDeferredSelfReferencePublishAsync() { + return n2.__awaiter(this, void 0, void 0, function* () { + yield B.default.allSettled(); + const e3 = I.FlowExportSettings.create((0, C.toFlowFileFormat)(g.default.FLOW_FORMAT_TYPES.architect), false), t3 = yield (0, A.exportFlowAsync)(this._coreFlowViewModel, e3, false); + return (null == t3 ? void 0 : t3.content) || this.logErrorAndThrow("publishAsync - unable to export flow content for deferred self-reference publish."), t3.content; + }); + } + _getStubCreationInfoForDeferredSelfReferencePublish() { + var e3, t3, i3; + const n3 = null === (e3 = this.division) || void 0 === e3 ? void 0 : e3.name; + n3 || this.logErrorAndThrow("publishAsync - cannot publish a flow with deferred self-references without a division."); + const r3 = this.settingsSupportedLanguages; + r3 || this.logErrorAndThrow("publishAsync - cannot publish a flow with deferred self-references without supported language settings."); + const o2 = null === (t3 = r3.getDefaultSupportedLanguageSettings().language) || void 0 === t3 ? void 0 : t3.tag; + o2 || this.logErrorAndThrow("publishAsync - cannot publish a flow with deferred self-references without a default language."); + const a2 = { division: n3, defaultLanguage: o2, description: null !== (i3 = this.description) && void 0 !== i3 ? i3 : "" }, s2 = this._getInputOutputVariablesForDeferredSelfReferenceStub(); + return (null == s2 ? void 0 : s2.length) && (a2.variables = s2), a2; + } + _getInputOutputVariablesForDeferredSelfReferenceStub() { + const e3 = this.flowType; + return this.variables.filter((e4) => e4.isInput || e4.isOutput).map((t3) => { + const i3 = t3.dataType, n3 = !!t3.isInput && !!(null == i3 ? void 0 : i3.isAvailableAsInputForFlowType(e3)), r3 = !!t3.isOutput && !!(null == i3 ? void 0 : i3.isAvailableAsOutputForFlowType(e3)); + return { name: t3.name, type: i3, isInput: n3, isOutput: r3 }; + }).filter((e4) => e4.isInput || e4.isOutput); + } + _canPublishDeferredSelfReferencesViaStubImport() { + return !this.isCreated && o.archFlowStubbing.canStubFlowType(this.flowType); + } + _checkoutAndLoadLatestConfigurationIntoThisFlowAsync() { + return n2.__awaiter(this, void 0, void 0, function* () { + var e3; + this._getArchFactoryFlows().invalidateFlowLookupCache(this.flowType); + const t3 = yield this._getArchFactoryFlows().getFlowInfoByFlowNameAsync(this.name, this.flowType, void 0); + t3 || this.logErrorAndThrow(`publishAsync - could not find flow '${this.name}' after stub publish.`); + const i3 = t3._getCoreViewModel(), n3 = yield a.default._checkoutFlowByFlowInfoAsync(i3, true); + this._coreFlowViewModel.info.loadModel(null !== (e3 = n3._model) && void 0 !== e3 ? e3 : n3), this._getArchFactoryFlows().unregisterInMemoryAuthoringFlow(this.name, this.flowType), yield a.default._loadFlowByFlowInfoAsync(this._coreFlowViewModel, this._coreFlowViewModel.info, g.default.FLOW_VERSIONS.latest, "publishAsync", void 0, true); + }); + } + _applyExportedAuthoringConfigurationAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + yield this._checkoutAndLoadLatestConfigurationIntoThisFlowAsync(), this.logNote("publishAsync - importing the full authoring configuration onto the checked-out flow..."), yield (0, O.importFlow)(this._coreFlowViewModel, e3, "", this.flowType, true); + const t3 = this._getSelfReferencingBaseCallBotFlowActions(false); + this.logNote(`publishAsync - repointing ${t3.length} self-referencing Call Bot / Call Digital Bot Flow action(s) after import.`), yield this._repointSelfReferencingBaseCallBotFlowActions(t3); + }); + } + _repointSelfReferencingBaseCallBotFlowActions(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + for (const t3 of e3) yield t3.setBotFlowReferenceToCallByFlowId(this.id); + }); + } + _restoreAuthoringConfigurationAfterDeferredPublishFailureAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this.logNote("publishAsync - restoring the in-memory authoring configuration after a deferred self-reference publish failure..."), yield this._applyExportedAuthoringConfigurationAsync(e3); + }); + } + _saveValidateAndPublishAfterDeferredSelfReferenceImportAsync() { + return n2.__awaiter(this, void 0, void 0, function* () { + (yield this.validateAsync()).hasErrors && this.logErrorAndThrow("publishAsync - cannot publish due to flow validation errors after importing self-referencing configuration :("); + try { + yield this._saveAsyncWithOptions({ shouldAwaitNluTraining: false }); + } catch (e3) { + this._logErrorWithContextAndThrow(`publishAsync - could not save the flow named '${this.name}' (id: '${this.id}') after importing self-referencing configuration`, e3); + } + this.logNote("publishAsync - save complete after importing self-referencing configuration. publishing..."); + try { + yield s.default.publishFlow(this._coreFlowViewModel, this._logAsyncOperationNotification.bind(this), false); + } catch (e3) { + throw this.logError(`publishAsync - could not publish the flow named '${this.name}' (id: '${this.id}') after importing self-referencing configuration +${this._formatErrorForTracing(e3)}`), e3; + } + }); + } + _completePublishAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return e3 ? (this.logNote("publishAsync - publish successful. making sure the flow is searchable..."), yield this._getFlowIsSearchable("publishAsync", 20, 3e3, (e4) => (e4 || this.logErrorAndThrow("publishAsync - publish succeeded but published flow is not searchable."), this._logUrl(), this)), this) : (this.logNote("publishAsync - publish successful."), this._logUrl(), this); + }); + } + _publishDeferredBaseCallBotSelfReferencesAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const t3 = yield this._exportFlowContentForDeferredSelfReferencePublishAsync(), i3 = this._canPublishDeferredSelfReferencesViaStubImport(); + let n3 = false; + try { + if (i3) { + const e4 = this._getStubCreationInfoForDeferredSelfReferencePublish(); + this.logNote(`publishAsync - publishing a basic stub flow '${this.name}' before importing the full authoring configuration.`), yield o.archFlowStubbing.createStubFlowAsync(this.flowType, this.name, e4.division, e4.defaultLanguage, e4), n3 = true; + } + yield this._applyExportedAuthoringConfigurationAsync(t3), yield this._saveValidateAndPublishAfterDeferredSelfReferenceImportAsync(); + } catch (e4) { + if (n3) try { + yield this._restoreAuthoringConfigurationAfterDeferredPublishFailureAsync(t3); + } catch (t4) { + this.logErrorAndThrow(`publishAsync - deferred self-reference publish failed, and restoring the authoring configuration also failed. Restore error: ${this._formatErrorForTracing(t4)}. Original error: ${this._formatErrorForTracing(e4)}`); + } + throw e4; + } + return this._completePublishAsync(e3); + }); } _getFlowIsSearchable(e3, t3, i3, r3) { return n2.__awaiter(this, void 0, void 0, function* () { try { - return yield new R.default().beginAsyncPolling(t3, i3, this._isFlowSearchableAsync.bind(this), e3), this.logNote(e3 + " - the flow is searchable."), p.default.executeCallback(this, e3, r3, true); + return yield new j.default().beginAsyncPolling(t3, i3, this._isFlowSearchableAsync.bind(this), e3), this.logNote(e3 + " - the flow is searchable."), T.default.executeCallback(this, e3, r3, true); } catch (t4) { - return this.logNote(e3 + " - the flow is not searchable."), p.default.executeCallback(this, e3, r3, false); + return this.logNote(e3 + " - the flow is not searchable."), T.default.executeCallback(this, e3, r3, false); } }); } @@ -79530,9 +85804,9 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; } checkInAsync(e3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkCreationAllowed("checkInAsync"), this._checkItemIsValidLiteralBool(this._infoParm("ensureSearchable", "checkInAsync"), e3, true), yield b.default.allSettled(), yield this.saveAsync(), this.logNote("checkInAsync - checking in..."); + this._checkCreationAllowed("checkInAsync"), this._checkItemIsValidLiteralBool(this._infoParm("ensureSearchable", "checkInAsync"), e3, true), yield B.default.allSettled(), yield this.saveAsync(), this.logNote("checkInAsync - checking in..."); try { - yield o.default.checkInFlow(this._coreFlowViewModel, this._logAsyncOperationNotification.bind(this)); + yield s.default.checkInFlow(this._coreFlowViewModel, this._logAsyncOperationNotification.bind(this)); } catch (e4) { this.logErrorAndThrow(`checkInAsync - check in failed. Error details: ${JSON.stringify(e4)}`); } @@ -79552,13 +85826,15 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; var t3, i3, n3, r3, o2, a2, s2, l2; this._checkCreationAllowed("createAsync"), e3 = e3 || this._coreFlowViewModel.cachedCreationDataFromScripting, this.logNote("createAsync - creating flow..."), this.isCreated && this.logErrorAndThrow("createAsync - unable to create because the flow is already created"), this.logNote("createAsync - deleting any existing flow with the name '" + this.name + "' if it exists first..."), this._deleteExistingFlowByNameAsync(); try { - let u2, d2; - if (yield b.default.allSettled(), this._wantValidateBeforeCreate && (yield this._validateAsync(true)), p.default.orgInfo.areDivisionsAvailable) { + let u2, c2; + if (yield B.default.allSettled(), this._wantValidateBeforeCreate && (yield this._validateAsync(true)), T.default.orgInfo.areDivisionsAvailable) { this.logNote("createAsync - getting division information for the new flow"); const e4 = this.division; e4 || this.logErrorAndThrow("there is no division specified in which to create the flow!"), this.logNote("createAsync - new flow's division will be " + e4.logStr), u2 = e4.id; } - this.logNote("createAsync - delete processing done, now attempting to create flow with the name '" + this.name + "'"), d2 = this.isArchFlowWorkitem ? yield F.createFlow(this.flowType, this.name, this.description, u2, this._coreFlowViewModel.defaultLanguage, e3.worktypeId) : yield F.createFlow(this.flowType, this.name, this.description, u2, this._coreFlowViewModel.languageForFlowCreation), this.isArchBaseFlowBot && (null === (i3 = null === (t3 = d2.nluInfo) || void 0 === t3 ? void 0 : t3.domain) || void 0 === i3 ? void 0 : i3.id) && ((null === (r3 = null === (n3 = null == e3 ? void 0 : e3.nluVersionTemplate) || void 0 === n3 ? void 0 : n3.templateObject) || void 0 === r3 ? void 0 : r3.id) === _.nluDomainManager.getFakeNonCreatedNluDomainId(this._getCoreViewModel()) && (e3.nluVersionTemplate.templateObject.id = d2.nluInfo.domain.id), (null == e3 ? void 0 : e3.nluVersionTemplate) && e3.nluVersionTemplate.templateObject && void 0 === (null === (a2 = null === (o2 = e3.nluVersionTemplate) || void 0 === o2 ? void 0 : o2.templateObject) || void 0 === a2 ? void 0 : a2.id) && (e3.nluVersionTemplate.templateObject.id = d2.nluInfo.domain.id), (null === (l2 = null === (s2 = this._getCoreViewModel().nluMetaData) || void 0 === s2 ? void 0 : s2.archNlu) || void 0 === l2 ? void 0 : l2.id) === _.nluDomainManager.getFakeNonCreatedNluDomainId(this._getCoreViewModel()) && (this._getCoreViewModel().nluMetaData.archNlu.id = d2.nluInfo.domain.id), e3.createdNluDomainId = d2.nluInfo.domain.id, e3.createdEngineVersion = d2.nluInfo.engineVersion), this.logNote(`createAsync - transitioning flow id from '${this._coreFlowViewModel.id}' to '${d2.id}'`), this._coreFlowViewModel.info.loadModel(d2), this.logNote("createAsync - successfully created flow name '" + this.name + "' (id: '" + this.id + "')"), yield this._coreFlowViewModel.postCreate(e3), this.logNote("createAsync - now saving..."); + this.logNote("createAsync - delete processing done, now attempting to create flow with the name '" + this.name + "'"), c2 = this.isArchFlowWorkitem ? yield J.createFlow(this.flowType, this.name, this.description, u2, this._coreFlowViewModel.defaultLanguage, e3.worktypeId) : yield J.createFlow(this.flowType, this.name, this.description, u2, this._coreFlowViewModel.languageForFlowCreation), this.isArchBaseFlowBot && (null === (i3 = null === (t3 = c2.nluInfo) || void 0 === t3 ? void 0 : t3.domain) || void 0 === i3 ? void 0 : i3.id) && ((null === (r3 = null === (n3 = null == e3 ? void 0 : e3.nluVersionTemplate) || void 0 === n3 ? void 0 : n3.templateObject) || void 0 === r3 ? void 0 : r3.id) === y.nluDomainManager.getFakeNonCreatedNluDomainId(this._getCoreViewModel()) && (e3.nluVersionTemplate.templateObject.id = c2.nluInfo.domain.id), (null == e3 ? void 0 : e3.nluVersionTemplate) && e3.nluVersionTemplate.templateObject && void 0 === (null === (a2 = null === (o2 = e3.nluVersionTemplate) || void 0 === o2 ? void 0 : o2.templateObject) || void 0 === a2 ? void 0 : a2.id) && (e3.nluVersionTemplate.templateObject.id = c2.nluInfo.domain.id), (null === (l2 = null === (s2 = this._getCoreViewModel().nluMetaData) || void 0 === s2 ? void 0 : s2.archNlu) || void 0 === l2 ? void 0 : l2.id) === y.nluDomainManager.getFakeNonCreatedNluDomainId(this._getCoreViewModel()) && (this._getCoreViewModel().nluMetaData.archNlu.id = c2.nluInfo.domain.id), e3.createdNluDomainId = c2.nluInfo.domain.id, e3.createdEngineVersion = c2.nluInfo.engineVersion), this.logNote(`createAsync - transitioning flow id from '${this._coreFlowViewModel.id}' to '${c2.id}'`), this._coreFlowViewModel.info.loadModel(c2), this._getArchFactoryFlows().unregisterInMemoryAuthoringFlow(this.name, this.flowType), this.logNote("createAsync - successfully created flow name '" + this.name + "' (id: '" + this.id + "')"); + const d2 = this._repairSelfReferencingFlowDependencies(); + yield this._coreFlowViewModel.postCreate(e3), d2 && (yield this._validateAsync(true)), this.logNote("createAsync - now saving..."); try { return yield this._saveInternalAsync(); } catch (e4) { @@ -79570,10 +85846,10 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; }); } get dataTypes() { - return E.default.getFlowDataTypes(this); + return G.default.getFlowDataTypes(this); } get definition() { - return this.coreFactory.createArchWrapper(s.default.getDefinitionForFlowType(this.flowType)); + return this.coreFactory.createArchWrapper(u.default.getDefinitionForFlowType(this.flowType)); } get description() { return this._coreFlowViewModel.info.description; @@ -79581,56 +85857,64 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; set description(e3) { this._coreFlowViewModel.description = e3; } - exportToDirAsync(e3, t3, i3, r3, o2) { + exportToDirAsync(e3, t3, i3, r3, o2, a2) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", "exportToDirAsync"), i3, d.default.FLOW_FORMAT_TYPES_ALL, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "exportToDirAsync"), t3, true); + this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", "exportToDirAsync"), i3, g.default.FLOW_FORMAT_TYPES_ALL, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "exportToDirAsync"), t3, true), o2 = this._resolveExportIncludeTrackingIdsForYaml("exportToDirAsync", o2), a2 = this._resolveExportSkipFlowValidation("exportToDirAsync", a2); const n3 = this._getExportFilePath("exportToDirAsync", e3, i3, r3); - yield b.default.allSettled(); - const a2 = (0, S.toFlowFileFormat)(null != i3 ? i3 : d.default.FLOW_FORMAT_TYPES.architect), s2 = y.FlowExportSettings.create(a2, o2), l2 = yield (0, m.exportFlowAsync)(this._coreFlowViewModel, s2, false); - return l2 || this.logErrorAndThrow("unable to get flow export content."), this.logNote("flow export content successfully generated."), P.writeFileSync(n3, l2.content, { encoding: "utf8" }), this.logNote("flow export successfully saved to '" + n3 + "'"), p.default.executeCallback(this, "exportToDirAsync", t3, n3); + yield B.default.allSettled(); + const s2 = (0, C.toFlowFileFormat)(null != i3 ? i3 : g.default.FLOW_FORMAT_TYPES.architect), l2 = I.FlowExportSettings.create(s2, o2), u2 = yield (0, A.exportFlowAsync)(this._coreFlowViewModel, l2, a2); + return u2 || this.logErrorAndThrow("unable to get flow export content."), this.logNote("flow export content successfully generated."), Y.writeFileSync(n3, u2.content, { encoding: "utf8" }), this.logNote("flow export successfully saved to '" + n3 + "'"), T.default.executeCallback(this, "exportToDirAsync", t3, n3); }); } - exportToObjectAsync(e3, t3, i3) { + exportToObjectAsync(e3, t3, i3, r3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidFunction(this._infoParm("callbackFunction", "exportToObjectAsync"), e3, true), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", "exportToObjectAsync"), t3, d.default.FLOW_FORMAT_TYPES_ALL, true), yield b.default.allSettled(); - const n3 = (0, S.toFlowFileFormat)(null != t3 ? t3 : d.default.FLOW_FORMAT_TYPES.architect), r3 = y.FlowExportSettings.create(n3, i3), o2 = yield (0, m.exportFlowAsync)(this._coreFlowViewModel, r3, false); - return o2 || this.logErrorAndThrow("unable to get flow export content."), this.logNote("flow export content successfully generated."), p.default.executeCallback(this, "exportToObjectAsync", e3, { content: o2.content, fileName: o2.fileName }); + this._checkItemIsValidFunction(this._infoParm("callbackFunction", "exportToObjectAsync"), e3, true), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", "exportToObjectAsync"), t3, g.default.FLOW_FORMAT_TYPES_ALL, true), i3 = this._resolveExportIncludeTrackingIdsForYaml("exportToObjectAsync", i3), r3 = this._resolveExportSkipFlowValidation("exportToObjectAsync", r3), yield B.default.allSettled(); + const n3 = (0, C.toFlowFileFormat)(null != t3 ? t3 : g.default.FLOW_FORMAT_TYPES.architect), o2 = I.FlowExportSettings.create(n3, i3), a2 = yield (0, A.exportFlowAsync)(this._coreFlowViewModel, o2, r3); + return a2 || this.logErrorAndThrow("unable to get flow export content."), this.logNote("flow export content successfully generated."), T.default.executeCallback(this, "exportToObjectAsync", e3, { content: a2.content, fileName: a2.fileName }); }); } get flowType() { return this._coreFlowViewModel.type; } _resolveValidatedScriptFileSystemPath(e3, t3) { - const i3 = e3.split("\0").join(""), n3 = M.normalize(i3), r3 = M.resolve(process.cwd()), o2 = M.resolve(r3, n3); - if (!M.isAbsolute(n3)) { - const e4 = M.relative(r3, o2); + const i3 = e3.split("\0").join(""), n3 = H.normalize(i3), r3 = H.resolve(process.cwd()), o2 = H.resolve(r3, n3); + if (!H.isAbsolute(n3)) { + const e4 = H.relative(r3, o2); "" !== e4 && e4.startsWith("..") && this.logErrorAndThrow(`${t3}: path must stay within the current working directory, or use an absolute path.`); } return o2; } + _resolveExportIncludeTrackingIdsForYaml(e3, t3) { + const i3 = this._infoParm("includeTrackingIdsForYaml", e3); + return this._checkItemIsValidLiteralBool(i3, t3, true), (t3 = !!t3) && !U.isFeatureAvailable(V.default.yamlTrackingIdFeature) ? (this.logNote(`${e3} - includeTrackingIdsForYaml was true but is being treated as false because including tracking IDs in YAML exports is not available for this organization.`), false) : t3; + } + _resolveExportSkipFlowValidation(e3, t3) { + const i3 = this._infoParm("skipValidation", e3); + return this._checkItemIsValidLiteralBool(i3, t3, true), (t3 = !!t3) && !U.isFeatureAvailable(V.default.flowOutcomesAndMilestonesAISuggestions) ? (this.logNote(`${e3} - skipValidation was true but is being treated as false because skipping flow validation on export is not available for this organization.`), false) : t3; + } _getExportFilePath(e3, t3, i3, n3) { var r3, o2; - this._checkItemIsValidLiteralString(this._infoParm("destinationDir", e3), t3, true), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", e3), i3, d.default.FLOW_FORMAT_TYPES_ALL, true), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", e3), i3, d.default.FLOW_FORMAT_TYPES_ALL, true), t3 || (this.logNote(`using default directory value of '.' for destinationDir parameter in ${e3}.`), t3 = "."); - const a2 = i3 === d.default.FLOW_FORMAT_TYPES.yaml, l2 = this._resolveValidatedScriptFileSystemPath(t3, `${e3} destinationDir`), u2 = this._getCoreViewModel(); + this._checkItemIsValidLiteralString(this._infoParm("destinationDir", e3), t3, true), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", e3), i3, g.default.FLOW_FORMAT_TYPES_ALL, true), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", e3), i3, g.default.FLOW_FORMAT_TYPES_ALL, true), t3 || (this.logNote(`using default directory value of '.' for destinationDir parameter in ${e3}.`), t3 = "."); + const a2 = i3 === g.default.FLOW_FORMAT_TYPES.yaml, s2 = this._resolveValidatedScriptFileSystemPath(t3, `${e3} destinationDir`), l2 = this._getCoreViewModel(); if (n3) { - const t4 = M.parse(n3); + const t4 = H.parse(n3); this._checkItem(this._infoParm("fileName", e3), (null === (r3 = t4.root) || void 0 === r3 ? void 0 : r3.length) || (null === (o2 = t4.dir) || void 0 === o2 ? void 0 : o2.length), "cannot specify file path information in the fileName parameter. The fileName should be just the desired file name and can additionally include an optional extension."); - const i4 = M.extname(n3), l3 = a2 ? ".yaml" : s.default.getFileExtensionForFlowType(u2.type); - i4 !== l3 && (n3 += l3); - } else n3 = (0, g.getExportFilePath)(u2, a2); - this.logNote(`flow export destination directory resolved to '${l2}'`); - const c2 = M.basename(n3); + const i4 = H.extname(n3), s3 = a2 ? ".yaml" : u.default.getFileExtensionForFlowType(l2.type); + i4 !== s3 && (n3 += s3); + } else n3 = (0, N.getExportFilePath)(l2, a2); + this.logNote(`flow export destination directory resolved to '${s2}'`); + const c2 = H.basename(n3); c2 && "." !== c2 && ".." !== c2 || this.logErrorAndThrow(`${e3}: invalid file name after resolving to base name '${c2}'.`); - const p2 = M.join(l2, c2); - return this.logNote(`saving flow export to path '${p2}'`), p2; + const d2 = H.join(s2, c2); + return this.logNote(`saving flow export to path '${d2}'`), d2; } getExportFilePath(e3, t3, i3) { return this._getExportFilePath("getExportFilePath", e3, t3, i3); } getObjectForTrackingId(e3) { const t3 = this._infoParm("trackingId", e3); - this._checkItemIsValidLiteralIntInRange(t3, e3, u.default.minTrackingId, u.default.maxTrackingId); - const i3 = (0, c.getNodeByTrackingId)(this._getCoreViewModel(), e3); + this._checkItemIsValidLiteralIntInRange(t3, e3, m.default.minTrackingId, m.default.maxTrackingId); + const i3 = (0, f.getNodeByTrackingId)(this._getCoreViewModel(), e3); if (i3) return this._getArchCoreFactory().createArchWrapper(i3, true); } getVariableById(e3) { @@ -79643,16 +85927,20 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; const t3 = this._coreFlowViewModel.variableGroup.getVariableByName(e3, this._coreFlowViewModel); if (t3) return this.coreFactory.createArchWrapper(t3); } - importFromContentAsync(e3, t3) { + importFromContentAsync(e3, t3, i3) { return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("exportContent", "importFromContentAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "importFromContentAsync"), t3, true), yield b.default.allSettled(), this._importFlowContentAsync(e3, "importFromContentAsync", t3); + return this._checkItemIsValidLiteralString(this._infoParm("exportContent", "importFromContentAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "importFromContentAsync"), t3, true), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", "importFromContentAsync"), i3, g.default.FLOW_FORMAT_TYPES_ALL, true), yield B.default.allSettled(), this._importFlowContentAsync(e3, "importFromContentAsync", t3, i3); }); } - importFromFileAsync(e3, t3) { + importFromFileAsync(e3, t3, i3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowExportFilePath", "importFromFileAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "importFromFileAsync"), t3, true), yield b.default.allSettled(), e3 = this._resolveValidatedScriptFileSystemPath(e3, "importFromFileAsync flowExportFilePath"), this.logNote("reading contents of flow export file '" + e3 + "' for import."); - const i3 = P.readFileSync(e3); - return this.logNote("contents of flow export file '" + e3 + "' successfully read."), this._importFlowContentAsync(i3.toString(), "importFromFileAsync", t3); + this._checkItemIsValidLiteralString(this._infoParm("flowExportFilePath", "importFromFileAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "importFromFileAsync"), t3, true), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", "importFromFileAsync"), i3, g.default.FLOW_FORMAT_TYPES_ALL, true), yield B.default.allSettled(), e3 = this._resolveValidatedScriptFileSystemPath(e3, "importFromFileAsync flowExportFilePath"), this.logNote("reading contents of flow export file '" + e3 + "' for import."); + const n3 = Y.readFileSync(e3); + if (this.logNote("contents of flow export file '" + e3 + "' successfully read."), !i3) { + const t4 = H.extname(e3).toLowerCase(); + ".yaml" !== t4 && ".yml" !== t4 || (i3 = g.default.FLOW_FORMAT_TYPES.yaml); + } + return this._importFlowContentAsync(n3.toString(), "importFromFileAsync", t3, i3); }); } get isCreated() { @@ -79676,25 +85964,32 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; set name(e3) { const t3 = this._infoPropSet("newValue", "name"); this._checkItemIsValidLiteralString(t3, e3); - const i3 = (0, N.flowNameIsInvalidMessage)(e3); + const i3 = (0, P.flowNameIsInvalidMessage)(e3); this._checkItem(t3, null != i3, i3), this._coreFlowViewModel.displayName = e3; } publishAsync(e3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkPublishAllowed("publishAsync"), this._checkCreationAllowed("publishAsync"), this._checkItemIsValidLiteralBool(this._infoParm("ensureSearchable", "publishAsync"), e3, true), this.logNote("publishAsync - will validate first..."), (yield this.validateAsync()).hasErrors && this.logErrorAndThrow("publishAsync - cannot publish due to flow validation errors :("), this.logNote("publishAsync - no validation errors. now saving..."); + this._checkPublishAllowed("publishAsync"), this._checkCreationAllowed("publishAsync"), this._checkItemIsValidLiteralBool(this._infoParm("ensureSearchable", "publishAsync"), e3, true); + const t3 = this._getSelfReferencingBaseCallBotFlowActions(true); + if (t3.length > 0) { + if (this.logNote(`publishAsync - deferring ${t3.length} self-referencing Call Bot / Call Digital Bot Flow action(s) using export/import after a basic publish.`), this._canPublishDeferredSelfReferencesViaStubImport() || this.isCreated) return this._publishDeferredBaseCallBotSelfReferencesAsync(e3); + this.logErrorAndThrow(`publishAsync - cannot publish flow '${this.name}' of type '${this.flowType}' with ${t3.length} self-referencing Call Bot / Call Digital Bot Flow action(s): the flow is not yet created on the server and this flow type cannot be stubbed (required to establish a published target before applying the full configuration). Ensure bot/digital-bot flow stubbing is available, or create and publish the flow without the self-reference first, then add the Call Bot / Call Digital Bot self-call and publish again.`); + } + const i3 = !this.isCreated; + i3 ? this.logNote("publishAsync - flow is not yet created; saving first (self-references will be repaired during create)...") : (this.logNote("publishAsync - will validate first..."), (yield this.validateAsync()).hasErrors && this.logErrorAndThrow("publishAsync - cannot publish due to flow validation errors :("), this.logNote("publishAsync - no validation errors. now saving...")); try { yield this._saveAsyncWithOptions({ shouldAwaitNluTraining: true }); } catch (e4) { this._logErrorWithContextAndThrow(`publishAsync - could not save the flow named '${this.name}' (id: '${this.id}')`, e4); } - this.logNote("publishAsync - save complete. now publishing..."); + i3 ? (this.logNote("publishAsync - save complete. validating before publishing..."), (yield this.validateAsync()).hasErrors && this.logErrorAndThrow("publishAsync - cannot publish due to flow validation errors :("), this.logNote("publishAsync - no validation errors. now publishing...")) : this.logNote("publishAsync - save complete. now publishing..."); try { - yield o.default.publishFlow(this._coreFlowViewModel, this._logAsyncOperationNotification.bind(this), false); + yield s.default.publishFlow(this._coreFlowViewModel, this._logAsyncOperationNotification.bind(this), false); } catch (e4) { - this.logErrorAndThrow(`publishAsync - could not publish the flow named '${this.name}' (id: '${this.id}') -${(null == e4 ? void 0 : e4.message) || e4}`); + throw this.logError(`publishAsync - could not publish the flow named '${this.name}' (id: '${this.id}') +${this._formatErrorForTracing(e4)}`), e4; } - return e3 ? (this.logNote("publishAsync - publish successful. making sure the flow is searchable..."), yield this._getFlowIsSearchable("publishAsync", 20, 3e3, (e4) => (e4 || this.logErrorAndThrow("publishAsync - publish succeeded but published flow is not searchable."), this._logUrl(), this)), this) : (this.logNote("publishAsync - publish successful."), this._logUrl(), this); + return this._completePublishAsync(e3); }); } saveAsync() { @@ -79705,7 +86000,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); if (!this.isCreated) { this._checkCreationAllowed("saveAsync"), this.logNote("saveAsync - flow is not created. now creating..."); try { - return yield this.createAsync(); + return yield this._internalCreateAsync(); } catch (e4) { this._logErrorWithContextAndThrow("saveAsync - creation failed.", e4); } @@ -79717,6 +86012,23 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); } }); } + _formatErrorForTracing(e3) { + var t3; + if (null == e3) return String(e3); + if ("string" == typeof e3) return e3; + if (e3 instanceof Error) return e3.message || e3.name || String(e3); + if ("object" == typeof e3) { + const i3 = e3, n3 = []; + if (i3.message && n3.push(i3.message), i3.code && n3.push(`code=${i3.code}`), "number" == typeof i3.status && n3.push(`status=${i3.status}`), (null === (t3 = i3.response) || void 0 === t3 ? void 0 : t3.contextId) && n3.push(`contextId=${i3.response.contextId}`), n3.length > 0) return n3.join("; "); + try { + const t4 = JSON.stringify(e3); + if (t4 && "{}" !== t4) return t4; + } catch (e4) { + } + return Object.prototype.toString.call(e3); + } + return String(e3); + } _logErrorWithContextAndThrow(e3, t3) { var i3; let n3 = e3; @@ -79746,7 +86058,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); get url() { if (!this.isCreated || !this._getCoreViewModel().startUpObject) return ""; const e3 = this.coreFactory.createArchWrapper(this._getCoreViewModel().startUpObject); - return I.UrlBuilder.create(`https://${O.values.host}`).addSegment("architect").addSegment("#").addSegment(`${this._getCoreViewModel().type}/flows/${this.id}/latest`).addSegment(`menu/${e3.id}`).render(); + return F.UrlBuilder.create(`https://${M.values.host}`).addSegment("architect").addSegment("#").addSegment(`${this._getCoreViewModel().type}/flows/${this.id}/latest`).addSegment(`menu/${e3.id}`).render(); } validateAsync() { return this._validateAsync(); @@ -79754,19 +86066,19 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); _validateAsync(e3) { return n2.__awaiter(this, void 0, void 0, function* () { try { - yield b.default.allSettled(), this.logNote("validateAsync - async flow operation manager validate..."); + yield B.default.allSettled(), this.logNote("validateAsync - async flow operation manager validate..."); try { yield this._coreFlowViewModel.queuedAsyncValidate(); } catch (e4) { this.logErrorAndThrow("validateAsync - async flow operation manager validate failed.\n" + e4); } - const t3 = e3 ? w.default._suppressLogging() : void 0; + const t3 = e3 ? W.default._suppressLogging() : void 0; try { this.logNote("validateAsync - processing validation results summary..."); const e4 = this.coreFactory.createArchWrapper(this._coreFlowViewModel.validationResults), t4 = "Validation Summary\n" + e4.getSummaryStr(true) + "\n - Validation Summary Done"; return e4.hasErrors ? this.logError(t4) : e4.hasWarnings ? this.logWarning(t4) : this.logNote(t4), e4; } finally { - t3 && w.default._restoreLoggingSettings(t3); + t3 && W.default._restoreLoggingSettings(t3); } } catch (e4) { this.logErrorAndThrow("validateAsync - could not validate the flow named '" + this.name + "' (id: '" + this.id + "')\n" + e4); @@ -79779,18 +86091,41 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); e3.push(this.coreFactory.createArchWrapper(t3)); }), e3; } + findCustomJsonDataType(e3, t3, i3) { + this._checkItemIsValidLiteralStringEnum(this._infoParm("customJsonNamespace", "findCustomJsonDataType"), e3, g.default.CUSTOM_JSON_TYPE_NAMESPACES_ALL), this._checkItemIsValidLiteralString(this._infoParm("entityName", "findCustomJsonDataType"), t3); + const n3 = g.default.getCustomJsonSchemaTypesForNamespace(e3); + return this._checkItemIsValidLiteralStringEnum(this._infoParm("customJsonDataTypeSchemaType", "findCustomJsonDataType"), i3, n3), Object.values(this.dataTypes).find((n4) => { + const r3 = n4._getCoreViewModel(); + if (n4.isCustomJsonType && r3.customTypeNamespace === e3) { + if ((r3.customTypeNamespace === k.CustomJsonNamespace.decisionTable || r3.customTypeNamespace === k.CustomJsonNamespace.conversationAttribute) && r3.customTypeNameWithoutContext !== t3) return false; + switch (i3) { + case g.default.CUSTOM_JSON_SCHEMA_TYPES.input: + return !!r3.isCustomTypeContextInput; + case g.default.CUSTOM_JSON_SCHEMA_TYPES.output: + return !!r3.isCustomTypeContextOutput; + case g.default.CUSTOM_JSON_SCHEMA_TYPES.record: + return !!r3.isCustomTypeContextRecord; + case g.default.CUSTOM_JSON_SCHEMA_TYPES.schemaData: + return !!r3.isCustomTypeContextSchemaData; + case g.default.CUSTOM_JSON_SCHEMA_TYPES.schemaDataPatch: + return !!r3.isCustomTypeContextSchemaDataPatch; + } + } + return false; + }); + } _validateCustomJsonTypeSchemas(e3) { var t3, i3, n3, r3, o2; - const a2 = (0, v.canCreateCustomExpressionTypesFromDataTypeDefs)(this._getCoreViewModel(), e3); + const a2 = (0, L.canCreateCustomExpressionTypesFromDataTypeDefs)(this._getCoreViewModel(), e3); if (null === (t3 = a2.errors) || void 0 === t3 ? void 0 : t3.length) { const e4 = []; for (const t4 of a2.errors) { const a3 = ["invalid schema."]; switch (t4.customDataTypeDef && (a3.push(`Schema Name: ${t4.customDataTypeDef.name}`), a3.push(`Schema Id: ${t4.customDataTypeDef.id}`)), t4.error) { - case h.DataTypeDefValidationError.propDataTypeIdInvalid: + case S.DataTypeDefValidationError.propDataTypeIdInvalid: a3.push(`Property: ${null === (i3 = t4.propDataTypeDef) || void 0 === i3 ? void 0 : i3.id} - The property data type identifier '${null === (n3 = t4.propDataTypeDef) || void 0 === n3 ? void 0 : n3.dataTypeId}' is invalid. There is no data type with that identifier.`); break; - case h.DataTypeDefValidationError.propDataTypeNotAvailableInFlow: + case S.DataTypeDefValidationError.propDataTypeNotAvailableInFlow: a3.push(`Property: ${null === (r3 = t4.propDataTypeDef) || void 0 === r3 ? void 0 : r3.id} - The data type '${null === (o2 = t4.propDataType) || void 0 === o2 ? void 0 : o2.displayString}' configured on this property is not available for use in this flow.`); } e4.push(a3.join(", ")); @@ -79801,18 +86136,18 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); addUpdateCustomJsonTypeFromSchema(e3) { const t3 = this._infoParm("archCustomJsonTypeSchema", "addUpdateCustomJsonTypeFromSchema"); this._checkItem(t3, !(null == e3 ? void 0 : e3.isArchDataTypeJsonCustomSchema), "you must pass in a valid ArchDataTypeJsonCustomSchema instance."), this._validateCustomJsonTypeSchemas([e3._getCoreViewModel()]); - const i3 = (0, C.createCustomExpressionTypesFromDataTypeDefs)(this._getCoreViewModel(), [e3._getCoreViewModel()], true); + const i3 = (0, x.createCustomExpressionTypesFromDataTypeDefs)(this._getCoreViewModel(), [e3._getCoreViewModel()], true); return this.coreFactory.createArchWrapper(i3[0]); } addUpdateCustomJsonTypesFromSchemas(e3) { const t3 = this._infoParm("archCustomJsonTypeSchemas", "addUpdateCustomJsonTypesFromSchemas"); - this._checkItem(t3, !(0, A.isArray)(e3), "you must pass in an array of ArchCustomJsonTypeSchema values when calling addUpdateCustomJsonTypesFromSchemas. Use addUpdateCustomJsonTypeFromSchema if you want to process just one schema."); + this._checkItem(t3, !(0, D.isArray)(e3), "you must pass in an array of ArchCustomJsonTypeSchema values when calling addUpdateCustomJsonTypesFromSchemas. Use addUpdateCustomJsonTypeFromSchema if you want to process just one schema."); let i3 = 0; const n3 = []; e3.forEach((e4) => { this._checkItem(t3, !(null == e4 ? void 0 : e4.isArchDataTypeJsonCustomSchema), `archCustomJsonTypeSchemas[${i3}] - this item in the array is not a valid ArchDataTypeJsonCustomSchema value.`), n3.push(e4._getCoreViewModel()), i3++; }), this._validateCustomJsonTypeSchemas(n3); - const r3 = (0, C.createCustomExpressionTypesFromDataTypeDefs)(this._getCoreViewModel(), n3, true), o2 = []; + const r3 = (0, x.createCustomExpressionTypesFromDataTypeDefs)(this._getCoreViewModel(), n3, true), o2 = []; return r3.forEach((e4) => { o2.push(this.coreFactory.createArchWrapper(e4)); }), o2; @@ -79824,7 +86159,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); return false; } } - t2.default = L; + t2.default = $; }, 66882: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DynamicTimeslotTypeList = void 0; @@ -79879,7 +86214,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.audioRegistrationService = void 0; const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(56673), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(1115)), l = i2(55909), u = i2(33951); - class d extends o.BaseRegistrationService { + class c extends o.BaseRegistrationService { constructor() { super(); } @@ -79908,7 +86243,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); }); } } - t2.audioRegistrationService = new d(); + t2.audioRegistrationService = new c(); }, 66959: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -79980,21 +86315,21 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); return e3; }; Object.defineProperty(t2, "__esModule", { value: true }), t2.withLatestFrom = void 0; - var o = i2(65212), a = i2(17214), s = i2(19724), l = i2(87699), u = i2(5717), d = i2(26404); + var o = i2(65212), a = i2(17214), s = i2(19724), l = i2(87699), u = i2(5717), c = i2(26404); t2.withLatestFrom = function() { for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = d.popResultSelector(e3); + var i3 = c.popResultSelector(e3); return o.operate(function(t4, o2) { - for (var d2 = e3.length, c = new Array(d2), p = e3.map(function() { + for (var c2 = e3.length, d = new Array(c2), p = e3.map(function() { return false; }), _ = false, h = function(t5) { s.innerFrom(e3[t5]).subscribe(a.createOperatorSubscriber(o2, function(e4) { - c[t5] = e4, _ || p[t5] || (p[t5] = true, (_ = p.every(l.identity)) && (p = null)); + d[t5] = e4, _ || p[t5] || (p[t5] = true, (_ = p.every(l.identity)) && (p = null)); }, u.noop)); - }, m = 0; m < d2; m++) h(m); + }, m = 0; m < c2; m++) h(m); t4.subscribe(a.createOperatorSubscriber(o2, function(e4) { if (_) { - var t5 = r2([e4], n2(c)); + var t5 = r2([e4], n2(d)); o2.next(i3 ? i3.apply(void 0, r2([], n2(t5))) : t5); } })); @@ -80021,7 +86356,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); if (this._checkItem(this._infoParm("promise", "addPromise"), !o.default.isPromiseAlike(e3), "not a valid promise"), e3.isFulfilled || (e3 = (0, o.default)(e3)), !e3.isFulfilled()) { const i3 = { promise: e3, name: t3 || "unknown", id: (0, a.uuid)() }; this.logNoteVerbose(`adding new promise with name '${i3.name}' and id ${i3.id}`), this._asyncPromises.push(i3), this._archPromiseAdded = true, e3.catch(function(e4) { - this.logNoteVerbose(`promise with name '${i3.name}' and id '${i3.id}' threw an exception`), this.logErrorAndThrow("promise unhandled exception caught. Error: " + e4); + this.logNoteVerbose(`promise with name '${i3.name}' and id '${i3.id}' threw an exception`), this.logError(`promise tracked by async tracker rejected. Error: ${e4}`); }.bind(this)), e3.finally(function() { this.logNoteVerbose(`promise with name '${i3.name}' and id ${i3.id} was resolved`), this._asyncPromises = r2.default.without(this._asyncPromises, i3); }.bind(this)); @@ -80032,7 +86367,9 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); e3 = parseInt(String(e3)), isNaN(e3) && (e3 = 1), e3 < 0 ? e3 = 1 : e3 >= 50 && this.logErrorAndThrow("allSettled called more than 50 times waiting for async operation(s) to complete. Not going to wait anymore."), this._asyncPromises.length > 0 ? (this.logNoteVerbose("iteration " + e3 + ": Waiting for " + this._asyncPromises.length + " async operation(s) to complete..."), o.default.allSettled(this._asyncPromises.map((e4) => e4.promise)).then(function() { var i3; this._asyncPromises.length > 0 && this.logNoteVerbose("need to wait for more async operations(s) to complete..."), this._archPromiseAdded ? (this._archPromiseAdded = false, (null === (i3 = this._asyncPromises) || void 0 === i3 ? void 0 : i3.length) && (this.logNoteVerbose("a promise was added, resetting count to 1."), e3 = 1)) : ++e3, this._allSettled(e3, t3); - }.bind(this))) : t3.resolve(); + }.bind(this)).catch((e4) => { + t3.reject(e4); + })) : t3.resolve(); } allSettled() { const e3 = o.default.defer(); @@ -80089,12 +86426,12 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); function u() { u.baseConstructor.apply(this, arguments); } - function d() { - d.baseConstructor.apply(this, arguments); - } function c() { c.baseConstructor.apply(this, arguments); } + function d() { + d.baseConstructor.apply(this, arguments); + } function p() { p.baseConstructor.apply(this, arguments); } @@ -80104,12 +86441,12 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); function h() { h.baseConstructor.apply(this, arguments); } - i2(16200), n2.extend(r2, "BaseFormatEnumContainerVariable", true), Object.defineProperty(r2.prototype, "isFormatEnumVariable", { value: true }), r2.extend(o, "BoolFormatEnumContainerVariable", true), r2.extend(a, "CurrencyFormatEnumContainerVariable", true), r2.extend(s, "DateFormatEnumContainerVariable", true), r2.extend(l, "DateTimeFormatEnumContainerVariable", true), r2.extend(u, "NumberFormatEnumContainerVariable", true), r2.extend(d, "PhoneNumberFormatEnumContainerVariable", true), r2.extend(c, "LanguageSkillEnumContainerVariable", true), r2.extend(p, "StringFormatEnumContainerVariable", true), r2.extend(_, "TimeFormatEnumContainerVariable", true), r2.extend(h, "TimePartEnumContainerVariable", true), e2.exports = { BoolFormatEnumContainerVariable: o, CurrencyFormatEnumContainerVariable: a, DateFormatEnumContainerVariable: s, DateTimeFormatEnumContainerVariable: l, LanguageSkillEnumContainerVariable: c, NumberFormatEnumContainerVariable: u, PhoneNumberFormatEnumContainerVariable: d, StringFormatEnumContainerVariable: p, TimeFormatEnumContainerVariable: _, TimePartEnumContainerVariable: h }; + i2(16200), n2.extend(r2, "BaseFormatEnumContainerVariable", true), Object.defineProperty(r2.prototype, "isFormatEnumVariable", { value: true }), r2.extend(o, "BoolFormatEnumContainerVariable", true), r2.extend(a, "CurrencyFormatEnumContainerVariable", true), r2.extend(s, "DateFormatEnumContainerVariable", true), r2.extend(l, "DateTimeFormatEnumContainerVariable", true), r2.extend(u, "NumberFormatEnumContainerVariable", true), r2.extend(c, "PhoneNumberFormatEnumContainerVariable", true), r2.extend(d, "LanguageSkillEnumContainerVariable", true), r2.extend(p, "StringFormatEnumContainerVariable", true), r2.extend(_, "TimeFormatEnumContainerVariable", true), r2.extend(h, "TimePartEnumContainerVariable", true), e2.exports = { BoolFormatEnumContainerVariable: o, CurrencyFormatEnumContainerVariable: a, DateFormatEnumContainerVariable: s, DateTimeFormatEnumContainerVariable: l, LanguageSkillEnumContainerVariable: d, NumberFormatEnumContainerVariable: u, PhoneNumberFormatEnumContainerVariable: c, StringFormatEnumContainerVariable: p, TimeFormatEnumContainerVariable: _, TimePartEnumContainerVariable: h }; }, 67114: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(80295), s = i2(80295), l = n2.__importDefault(i2(87921)), u = i2(55909), d = i2(33951), c = i2(47957); - class p extends l.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(80295), s = i2(80295), l = n2.__importDefault(i2(87921)), u = i2(55909), c = i2(33951), d = n2.__importStar(i2(12847)), p = i2(47957); + class _ extends l.default { constructor() { super(), this._allowableValueShowOriginalDisplayStringInPopover = false, this._allowableValueUseOriginalDisplayString = false, this._allowableValues = void 0, this._allowableValuePlaceholder = void 0, this._allowableValuesUseInlineSelect = false, this._caseSensitiveAllowableValues = false, this._validationAllowableValues = void 0, this._validationAllowableValuesExpr = void 0, (0, s.makeUnenumerable)(this, "_allowableValueShowOriginalDisplayStringInPopover"), (0, s.makeUnenumerable)(this, "_allowableValueUseOriginalDisplayString"), (0, s.makeUnenumerable)(this, "_allowableValues"), (0, s.makeUnenumerable)(this, "_allowableValuePlaceholder"), (0, s.makeUnenumerable)(this, "_allowableValuesUseInlineSelect"), (0, s.makeUnenumerable)(this, "_allowableValuesDisabledCallback"), (0, s.makeUnenumerable)(this, "_caseSensitiveAllowableValues"), (0, s.makeUnenumerable)(this, "_validationAllowableValues"), (0, s.makeUnenumerable)(this, "_validationAllowableValuesExpr"), (0, s.makeUnenumerable)(this, "_lastAllowableValueSelectedStorageKey"); } @@ -80126,61 +86463,61 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); if (!o.default.isArray(this._allowableValues) || 0 === this._allowableValues.length) return this._validationAllowableValues = void 0, void (this._validationAllowableValuesExpr = void 0); this._validationAllowableValues ? this._validationAllowableValues.clear() : this._validationAllowableValues = /* @__PURE__ */ new Map(), this._validationAllowableValuesExpr = [], o.default.each(this._allowableValues, (e3) => { const t3 = o.default.isObject(e3) ? e3.idExpressionText ? e3.idExpressionText : e3.id : e3; - this._validationAllowableValues.set(this._caseSensitiveAllowableValues ? t3 : t3.toLowerCase(), true), this._validationAllowableValuesExpr.push(t3); + t3 ? (this._validationAllowableValues.set(this._caseSensitiveAllowableValues ? t3 : t3.toLowerCase(), true), this._validationAllowableValuesExpr.push(t3)) : d.error(`invalid allowable value ${e3}`); }); } _facetValidateValue(e3, t3) { var i3, n3; const a2 = (null === (n3 = null === (i3 = null == t3 ? void 0 : t3.propertyParent) || void 0 === i3 ? void 0 : i3.type) || void 0 === n3 ? void 0 : n3.additionalPropertiesAreManaged) || false; - if (this._validationAllowableValues && !a2 && !this._validationAllowableValues.get(this._caseSensitiveAllowableValues ? e3 : e3 && e3.toLowerCase())) return this._createErrorResult((0, r2.sprintf)(1 === this._allowableValues.length ? c.facets.valueNotInAllowableListOne : c.facets.valueNotInAllowableListMoreThanOne, this._stringUtilities.getListDisplayString(o.default.clone(this._validationAllowableValuesExpr), false, true))); + if (this._validationAllowableValues && !a2 && !this._validationAllowableValues.get(this._caseSensitiveAllowableValues ? e3 : e3 && e3.toLowerCase())) return this._createErrorResult((0, r2.sprintf)(1 === this._allowableValues.length ? p.facets.valueNotInAllowableListOne : p.facets.valueNotInAllowableListMoreThanOne, this._stringUtilities.getListDisplayString(o.default.clone(this._validationAllowableValuesExpr), false, true))); } get allowableValues() { return this._allowableValues; } set allowableValues(e3) { - this._allowableValues = d.ParameterValidator.expectArray(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValues", "value"), true), this._buildValidationAllowableValues(); + this._allowableValues = c.ParameterValidator.expectArray(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValues", "value"), true), this._buildValidationAllowableValues(); } get lastAllowableValueSelectedStorageKey() { return this._lastAllowableValueSelectedStorageKey; } set lastAllowableValueSelectedStorageKey(e3) { - this._lastAllowableValueSelectedStorageKey = d.ParameterValidator.expectString(e3, () => u.ParameterInfo.createPropertySet(this.className, "lastAllowableValueSelectedStorageKey", "value")); + this._lastAllowableValueSelectedStorageKey = c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createPropertySet(this.className, "lastAllowableValueSelectedStorageKey", "value")); } get allowableValuePlaceholder() { return this._allowableValuePlaceholder; } set allowableValuePlaceholder(e3) { - this._allowableValuePlaceholder = d.ParameterValidator.expectString(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValuePlaceholder", "value")); + this._allowableValuePlaceholder = c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValuePlaceholder", "value")); } get allowableValuesUseInlineSelect() { return this._allowableValuesUseInlineSelect; } set allowableValuesUseInlineSelect(e3) { - this._allowableValuesUseInlineSelect = d.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValuesUseInlineSelect", "value")); + this._allowableValuesUseInlineSelect = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValuesUseInlineSelect", "value")); } get allowableValuesDisabledCallback() { return this._allowableValuesDisabledCallback; } set allowableValuesDisabledCallback(e3) { - this._allowableValuesDisabledCallback = d.ParameterValidator.expectFunction(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValuesDisabledCallback", "value")); + this._allowableValuesDisabledCallback = c.ParameterValidator.expectFunction(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValuesDisabledCallback", "value")); } get allowableValueShowOriginalDisplayStringInPopover() { return this._allowableValueShowOriginalDisplayStringInPopover; } set allowableValueShowOriginalDisplayStringInPopover(e3) { - this._allowableValueShowOriginalDisplayStringInPopover = d.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValueShowOriginalDisplayStringInPopover", "value")); + this._allowableValueShowOriginalDisplayStringInPopover = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValueShowOriginalDisplayStringInPopover", "value")); } get allowableValueUseOriginalDisplayString() { return this._allowableValueUseOriginalDisplayString; } set allowableValueUseOriginalDisplayString(e3) { - this._allowableValueUseOriginalDisplayString = d.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValueUseOriginalDisplayString", "value")); + this._allowableValueUseOriginalDisplayString = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValueUseOriginalDisplayString", "value")); } get caseSensitiveAllowableValues() { return this._caseSensitiveAllowableValues; } set caseSensitiveAllowableValues(e3) { - d.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "caseSensitiveAllowableValues", "value"), true), this._caseSensitiveAllowableValues = true === e3, this._buildValidationAllowableValues(); + c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "caseSensitiveAllowableValues", "value"), true), this._caseSensitiveAllowableValues = true === e3, this._buildValidationAllowableValues(); } setAllowableValues(e3, t3) { return o.default.isBoolean(t3) && (this.caseSensitiveAllowableValues = t3), this.allowableValues = e3, this; @@ -80207,7 +86544,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); super.addDescriptionInfo(e3, t3); const i3 = this._allowableValues; if (o.default.isArray(i3) && i3.length > 0) { - const t4 = { title: 1 === i3.length ? c.expression.facets.allowableValue : c.expression.facets.allowableValues, entries: [] }; + const t4 = { title: 1 === i3.length ? p.expression.facets.allowableValue : p.expression.facets.allowableValues, entries: [] }; e3.additionalInfoSections.push(t4), o.default.each(i3, (e4) => { o.default.isString(e4) ? t4.entries.push(e4) : this.allowableValueUseOriginalDisplayString && this.allowableValueShowOriginalDisplayStringInPopover && o.default.isString(e4.displayString) ? t4.entries.push(e4.displayString) : o.default.isString(e4.idExpressionText) ? t4.entries.push(e4.idExpressionText) : o.default.isString(e4.id) && t4.entries.push(e4.id); }); @@ -80239,7 +86576,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); } } } - t2.default = p, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Object])], p.prototype, "allowableValues", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], p.prototype, "lastAllowableValueSelectedStorageKey", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], p.prototype, "allowableValuePlaceholder", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], p.prototype, "allowableValuesUseInlineSelect", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Function), n2.__metadata("design:paramtypes", [Object])], p.prototype, "allowableValuesDisabledCallback", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], p.prototype, "allowableValueShowOriginalDisplayStringInPopover", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], p.prototype, "allowableValueUseOriginalDisplayString", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], p.prototype, "caseSensitiveAllowableValues", null); + t2.default = _, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Object])], _.prototype, "allowableValues", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], _.prototype, "lastAllowableValueSelectedStorageKey", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], _.prototype, "allowableValuePlaceholder", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], _.prototype, "allowableValuesUseInlineSelect", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Function), n2.__metadata("design:paramtypes", [Object])], _.prototype, "allowableValuesDisabledCallback", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], _.prototype, "allowableValueShowOriginalDisplayStringInPopover", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], _.prototype, "allowableValueUseOriginalDisplayString", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], _.prototype, "caseSensitiveAllowableValues", null); }, 67121: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { @@ -80283,7 +86620,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); }, 67210: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.permissionService = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(74359)), s = n2.__importStar(i2(12847)), l = i2(24032), u = i2(54251), d = n2.__importStar(i2(97591)), c = n2.__importDefault(i2(87719)), p = i2(31736), _ = i2(44724), h = (0, l.getTopic)("PermissionService"), m = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(74359)), s = n2.__importStar(i2(12847)), l = i2(24032), u = i2(54251), c = n2.__importStar(i2(97591)), d = n2.__importDefault(i2(87719)), p = i2(31736), _ = i2(44724), h = (0, l.getTopic)("PermissionService"), m = i2(47957); let g; t2.permissionService = new class { constructor() { @@ -80308,16 +86645,16 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); } checkDivisionHasPermission(e3, t3) { const i3 = o.default.extEnsureArray(t3); - if (0 === i3.length) return s.error("not a DivisionViewModel"), new c.default(false); + if (0 === i3.length) return s.error("not a DivisionViewModel"), new d.default(false); let n3; if (e3 && e3.permissions && e3.permissions.length > 0) { - if (n3 = o.default.find(i3, (t4) => !o.default.find(e3.permissions, (e4) => e4.hasPermission(t4))), o.default.isUndefined(n3)) return new c.default(true, i3[0].toString(), void 0); + if (n3 = o.default.find(i3, (t4) => !o.default.find(e3.permissions, (e4) => e4.hasPermission(t4))), o.default.isUndefined(n3)) return new d.default(true, i3[0].toString(), void 0); } else n3 = i3[0]; if (!(null == e3 ? void 0 : e3.isStarDivision)) { - const e4 = this.checkDivisionHasPermission(a.getConnectedUser().divisions[d.starDivision], t3); + const e4 = this.checkDivisionHasPermission(a.getConnectedUser().divisions[c.starDivision], t3); if (e4.hasPermission) return e4; } - return e3 ? (null == e3 ? void 0 : e3.isStarDivision) ? new c.default(false, n3.toString(), (0, r2.sprintf)(m.generic.permissions.missingPermission, n3.toString())) : new c.default(false, n3.toString(), (0, r2.sprintf)(m.generic.permissions.missingPermissionWithDivision, n3.toString(), (null == e3 ? void 0 : e3.name) || "unknown")) : new c.default(false); + return e3 ? (null == e3 ? void 0 : e3.isStarDivision) ? new d.default(false, n3.toString(), (0, r2.sprintf)(m.generic.permissions.missingPermission, n3.toString())) : new d.default(false, n3.toString(), (0, r2.sprintf)(m.generic.permissions.missingPermissionWithDivision, n3.toString(), (null == e3 ? void 0 : e3.name) || "unknown")) : new d.default(false); } getDivisionsForPermission(e3, t3, i3) { if (!t3) return h.error("No permission to check was passed in."), []; @@ -80325,21 +86662,21 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); if (i3) { const i4 = o.default.find(e3.divisions, (e4) => this.checkDivisionHasPermission(e4, t3).hasPermission); i4 && n3.push(i4); - } else this.checkDivisionHasPermission(a.getConnectedUser().divisions[d.starDivision], t3).hasPermission ? n3.push(...Object.values(u.divisionManager.items)) : o.default.each(e3.divisions, (e4) => { + } else this.checkDivisionHasPermission(a.getConnectedUser().divisions[c.starDivision], t3).hasPermission ? n3.push(...Object.values(u.divisionManager.items)) : o.default.each(e3.divisions, (e4) => { this.checkDivisionHasPermission(e4, t3).hasPermission && n3.push(e4); }); return n3; } checkHasPermissionInAtLeastOneDivision(e3, t3) { - return this.getDivisionsForPermission(e3, t3, true).length > 0 ? new c.default(true, t3.toString(), void 0) : new c.default(false, t3.toString(), t3.displayErrorString); + return this.getDivisionsForPermission(e3, t3, true).length > 0 ? new d.default(true, t3.toString(), void 0) : new d.default(false, t3.toString(), t3.displayErrorString); } checkFlowHasPermission(e3, t3, i3) { - if (!t3) return h.error((0, r2.sprintf)("No user to check for permission %s", i3)), new c.default(false, i3, m.generic.permissions.error); - if (!i3) return h.error("No permission to check was passed in "), new c.default(false, i3, m.generic.permissions.error); - if (!e3) return h.error((0, r2.sprintf)("No flow to check for permission %s", i3)), new c.default(false, i3, m.generic.permissions.error); - if (!e3.division) return h.errorWithErrorObjectInfo("A flowInfoViewModel does not have a division.", e3, false), new c.default(false, i3, m.generic.permissions.error); + if (!t3) return h.error((0, r2.sprintf)("No user to check for permission %s", i3)), new d.default(false, i3, m.generic.permissions.error); + if (!i3) return h.error("No permission to check was passed in "), new d.default(false, i3, m.generic.permissions.error); + if (!e3) return h.error((0, r2.sprintf)("No flow to check for permission %s", i3)), new d.default(false, i3, m.generic.permissions.error); + if (!e3.division) return h.errorWithErrorObjectInfo("A flowInfoViewModel does not have a division.", e3, false), new d.default(false, i3, m.generic.permissions.error); const n3 = this.checkDivisionHasPermission(t3.divisions[e3.division.id], this.staticPermissions[i3]); - return n3.hasPermission ? n3 : new c.default(false, i3, m.generic.permissions.missing.flow.noSpecificDivision.view); + return n3.hasPermission ? n3 : new d.default(false, i3, m.generic.permissions.missing.flow.noSpecificDivision.view); } getDivisionListFromDivisionsErrorString(e3) { if (!o.default.isString(e3)) return null; @@ -80402,7 +86739,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); }, 67336: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(37819)), a = n2.__importDefault(i2(93078)), s = n2.__importDefault(i2(64079)), l = n2.__importDefault(i2(8471)), u = n2.__importDefault(i2(60645)), d = n2.__importDefault(i2(94225)), c = { languageSettings: true, orgId: true, orgName: true }, p = { actionFirst: true, actionLast: true, definition: true, flowLevelDefault: true, menuDefault: true, targetMenu: true, targetState: true, targetTask: true }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(37819)), a = n2.__importDefault(i2(93078)), s = n2.__importDefault(i2(64079)), l = n2.__importDefault(i2(8471)), u = n2.__importDefault(i2(60645)), c = n2.__importDefault(i2(94225)), d = { languageSettings: true, orgId: true, orgName: true }, p = { actionFirst: true, actionLast: true, definition: true, flowLevelDefault: true, menuDefault: true, targetMenu: true, targetState: true, targetTask: true }; function _(e3) { const t3 = null === e3 ? "" : String(e3); return "__proto__" === t3 || "constructor" === t3 || "prototype" === t3 ? "\u200B" + t3 : t3; @@ -80430,10 +86767,10 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); if (i3 && i3[n3]) return false; if (!this.isFilterMatch(e3.archSettings.filter)) return false; const r3 = a.default.create(this, t3, e3.archSettings); - return e3.archSettings.incrementCallbackCount(), d.default.executeCallback(this, "traverse", e3.archSettings.callbackFunction, r3, false, "traverse callback -"), i3 || (i3 = {}, e3.calledBackObjects[this.displayTypeName] = i3), i3[n3] = true, true; + return e3.archSettings.incrementCallbackCount(), c.default.executeCallback(this, "traverse", e3.archSettings.callbackFunction, r3, false, "traverse callback -"), i3 || (i3 = {}, e3.calledBackObjects[this.displayTypeName] = i3), i3[n3] = true, true; } get _deprecatedPropertyNames() { - return c; + return d; } _getCoreViewModel() { return this._coreViewModel; @@ -80614,7 +86951,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); return this.context ? this.context.length : 0; } } - function d(e3, t3) { + function c(e3, t3) { let i3 = /* @__PURE__ */ Object.create(null); for (let t4 of e3) if (Array.isArray(t4.tag)) for (let e4 of t4.tag) i3[e4.id] = t4.class; else i3[t4.tag.id] = t4.class; @@ -80631,7 +86968,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); return t4; }, scope: n3 }; } - function c(e3, t3, i3, n3 = 0, r3 = e3.length) { + function d(e3, t3, i3, n3 = 0, r3 = e3.length) { let o2 = new p(n3, Array.isArray(t3) ? t3 : [t3], i3); o2.highlightRange(e3.cursor(), n3, r3, "", o2.highlighters), o2.flush(r3); } @@ -80650,23 +86987,23 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); let { type: a2, from: s2, to: l2 } = e3; if (s2 >= i3 || l2 <= t3) return; a2.isTop && (o2 = this.highlighters.filter((e4) => !e4.scope || e4.scope(a2))); - let d2 = r3, c2 = _(e3) || u.empty, p2 = (function(e4, t4) { + let c2 = r3, d2 = _(e3) || u.empty, p2 = (function(e4, t4) { let i4 = null; for (let n3 of e4) { let e5 = n3.style(t4); e5 && (i4 = i4 ? i4 + " " + e5 : e5); } return i4; - })(o2, c2.tags); - if (p2 && (d2 && (d2 += " "), d2 += p2, 1 == c2.mode && (r3 += (r3 ? " " : "") + p2)), this.startSpan(Math.max(t3, s2), d2), c2.opaque) return; + })(o2, d2.tags); + if (p2 && (c2 && (c2 += " "), c2 += p2, 1 == d2.mode && (r3 += (r3 ? " " : "") + p2)), this.startSpan(Math.max(t3, s2), c2), d2.opaque) return; let h2 = e3.tree && e3.tree.prop(n2.NodeProp.mounted); if (h2 && h2.overlay) { let n3 = e3.node.enter(h2.overlay[0].from + s2, 1), a3 = this.highlighters.filter((e4) => !e4.scope || e4.scope(h2.tree.type)), u2 = e3.firstChild(); - for (let c3 = 0, p3 = s2; ; c3++) { - let _2 = c3 < h2.overlay.length ? h2.overlay[c3] : null, m2 = _2 ? _2.from + s2 : l2, g2 = Math.max(t3, p3), f2 = Math.min(i3, m2); - if (g2 < f2 && u2) for (; e3.from < f2 && (this.highlightRange(e3, g2, f2, r3, o2), this.startSpan(Math.min(f2, e3.to), d2), !(e3.to >= m2) && e3.nextSibling()); ) ; + for (let d3 = 0, p3 = s2; ; d3++) { + let _2 = d3 < h2.overlay.length ? h2.overlay[d3] : null, m2 = _2 ? _2.from + s2 : l2, g2 = Math.max(t3, p3), f2 = Math.min(i3, m2); + if (g2 < f2 && u2) for (; e3.from < f2 && (this.highlightRange(e3, g2, f2, r3, o2), this.startSpan(Math.min(f2, e3.to), c2), !(e3.to >= m2) && e3.nextSibling()); ) ; if (!_2 || m2 > i3) break; - p3 = _2.to + s2, p3 > t3 && (this.highlightRange(n3.cursor(), Math.max(t3, _2.from + s2), Math.min(i3, p3), "", a3), this.startSpan(Math.min(i3, p3), d2)); + p3 = _2.to + s2, p3 > t3 && (this.highlightRange(n3.cursor(), Math.max(t3, _2.from + s2), Math.min(i3, p3), "", a3), this.startSpan(Math.min(i3, p3), c2)); } u2 && e3.parent(); } else if (e3.firstChild()) { @@ -80674,7 +87011,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); do { if (!(e3.to <= t3)) { if (e3.from >= i3) break; - this.highlightRange(e3, t3, i3, r3, o2), this.startSpan(Math.min(i3, e3.to), d2); + this.highlightRange(e3, t3, i3, r3, o2), this.startSpan(Math.min(i3, e3.to), c2); } } while (e3.nextSibling()); e3.parent(); @@ -80686,13 +87023,13 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); for (; t3 && t3.context && !e3.matchContext(t3.context); ) t3 = t3.next; return t3 || null; } - const h = o.define, m = h(), g = h(), f = h(g), T = h(g), y = h(), S = h(y), A = h(y), N = h(), O = h(N), I = h(), v = h(), C = h(), b = h(C), E = h(), R = { comment: m, lineComment: h(m), blockComment: h(m), docComment: h(m), name: g, variableName: h(g), typeName: f, tagName: h(f), propertyName: T, attributeName: h(T), className: h(g), labelName: h(g), namespace: h(g), macroName: h(g), literal: y, string: S, docString: h(S), character: h(S), attributeValue: h(S), number: A, integer: h(A), float: h(A), bool: h(y), regexp: h(y), escape: h(y), color: h(y), url: h(y), keyword: I, self: h(I), null: h(I), atom: h(I), unit: h(I), modifier: h(I), operatorKeyword: h(I), controlKeyword: h(I), definitionKeyword: h(I), moduleKeyword: h(I), operator: v, derefOperator: h(v), arithmeticOperator: h(v), logicOperator: h(v), bitwiseOperator: h(v), compareOperator: h(v), updateOperator: h(v), definitionOperator: h(v), typeOperator: h(v), controlOperator: h(v), punctuation: C, separator: h(C), bracket: b, angleBracket: h(b), squareBracket: h(b), paren: h(b), brace: h(b), content: N, heading: O, heading1: h(O), heading2: h(O), heading3: h(O), heading4: h(O), heading5: h(O), heading6: h(O), contentSeparator: h(N), list: h(N), quote: h(N), emphasis: h(N), strong: h(N), link: h(N), monospace: h(N), strikethrough: h(N), inserted: h(), deleted: h(), changed: h(), invalid: h(), meta: E, documentMeta: h(E), annotation: h(E), processingInstruction: h(E), definition: o.defineModifier("definition"), constant: o.defineModifier("constant"), function: o.defineModifier("function"), standard: o.defineModifier("standard"), local: o.defineModifier("local"), special: o.defineModifier("special") }; - for (let e3 in R) { - let t3 = R[e3]; + const h = o.define, m = h(), g = h(), f = h(g), T = h(g), y = h(), S = h(y), A = h(y), N = h(), v = h(N), O = h(), I = h(), C = h(), b = h(C), E = h(), w = { comment: m, lineComment: h(m), blockComment: h(m), docComment: h(m), name: g, variableName: h(g), typeName: f, tagName: h(f), propertyName: T, attributeName: h(T), className: h(g), labelName: h(g), namespace: h(g), macroName: h(g), literal: y, string: S, docString: h(S), character: h(S), attributeValue: h(S), number: A, integer: h(A), float: h(A), bool: h(y), regexp: h(y), escape: h(y), color: h(y), url: h(y), keyword: O, self: h(O), null: h(O), atom: h(O), unit: h(O), modifier: h(O), operatorKeyword: h(O), controlKeyword: h(O), definitionKeyword: h(O), moduleKeyword: h(O), operator: I, derefOperator: h(I), arithmeticOperator: h(I), logicOperator: h(I), bitwiseOperator: h(I), compareOperator: h(I), updateOperator: h(I), definitionOperator: h(I), typeOperator: h(I), controlOperator: h(I), punctuation: C, separator: h(C), bracket: b, angleBracket: h(b), squareBracket: h(b), paren: h(b), brace: h(b), content: N, heading: v, heading1: h(v), heading2: h(v), heading3: h(v), heading4: h(v), heading5: h(v), heading6: h(v), contentSeparator: h(N), list: h(N), quote: h(N), emphasis: h(N), strong: h(N), link: h(N), monospace: h(N), strikethrough: h(N), inserted: h(), deleted: h(), changed: h(), invalid: h(), meta: E, documentMeta: h(E), annotation: h(E), processingInstruction: h(E), definition: o.defineModifier("definition"), constant: o.defineModifier("constant"), function: o.defineModifier("function"), standard: o.defineModifier("standard"), local: o.defineModifier("local"), special: o.defineModifier("special") }; + for (let e3 in w) { + let t3 = w[e3]; t3 instanceof o && (t3.name = e3); } - const w = d([{ tag: R.link, class: "tok-link" }, { tag: R.heading, class: "tok-heading" }, { tag: R.emphasis, class: "tok-emphasis" }, { tag: R.strong, class: "tok-strong" }, { tag: R.keyword, class: "tok-keyword" }, { tag: R.atom, class: "tok-atom" }, { tag: R.bool, class: "tok-bool" }, { tag: R.url, class: "tok-url" }, { tag: R.labelName, class: "tok-labelName" }, { tag: R.inserted, class: "tok-inserted" }, { tag: R.deleted, class: "tok-deleted" }, { tag: R.literal, class: "tok-literal" }, { tag: R.string, class: "tok-string" }, { tag: R.number, class: "tok-number" }, { tag: [R.regexp, R.escape, R.special(R.string)], class: "tok-string2" }, { tag: R.variableName, class: "tok-variableName" }, { tag: R.local(R.variableName), class: "tok-variableName tok-local" }, { tag: R.definition(R.variableName), class: "tok-variableName tok-definition" }, { tag: R.special(R.variableName), class: "tok-variableName2" }, { tag: R.definition(R.propertyName), class: "tok-propertyName tok-definition" }, { tag: R.typeName, class: "tok-typeName" }, { tag: R.namespace, class: "tok-namespace" }, { tag: R.className, class: "tok-className" }, { tag: R.macroName, class: "tok-macroName" }, { tag: R.propertyName, class: "tok-propertyName" }, { tag: R.operator, class: "tok-operator" }, { tag: R.comment, class: "tok-comment" }, { tag: R.meta, class: "tok-meta" }, { tag: R.invalid, class: "tok-invalid" }, { tag: R.punctuation, class: "tok-punctuation" }]); - t2.Tag = o, t2.classHighlighter = w, t2.getStyleTags = _, t2.highlightCode = function(e3, t3, i3, n3, r3, o2 = 0, a2 = e3.length) { + const R = c([{ tag: w.link, class: "tok-link" }, { tag: w.heading, class: "tok-heading" }, { tag: w.emphasis, class: "tok-emphasis" }, { tag: w.strong, class: "tok-strong" }, { tag: w.keyword, class: "tok-keyword" }, { tag: w.atom, class: "tok-atom" }, { tag: w.bool, class: "tok-bool" }, { tag: w.url, class: "tok-url" }, { tag: w.labelName, class: "tok-labelName" }, { tag: w.inserted, class: "tok-inserted" }, { tag: w.deleted, class: "tok-deleted" }, { tag: w.literal, class: "tok-literal" }, { tag: w.string, class: "tok-string" }, { tag: w.number, class: "tok-number" }, { tag: [w.regexp, w.escape, w.special(w.string)], class: "tok-string2" }, { tag: w.variableName, class: "tok-variableName" }, { tag: w.local(w.variableName), class: "tok-variableName tok-local" }, { tag: w.definition(w.variableName), class: "tok-variableName tok-definition" }, { tag: w.special(w.variableName), class: "tok-variableName2" }, { tag: w.definition(w.propertyName), class: "tok-propertyName tok-definition" }, { tag: w.typeName, class: "tok-typeName" }, { tag: w.namespace, class: "tok-namespace" }, { tag: w.className, class: "tok-className" }, { tag: w.macroName, class: "tok-macroName" }, { tag: w.propertyName, class: "tok-propertyName" }, { tag: w.operator, class: "tok-operator" }, { tag: w.comment, class: "tok-comment" }, { tag: w.meta, class: "tok-meta" }, { tag: w.invalid, class: "tok-invalid" }, { tag: w.punctuation, class: "tok-punctuation" }]); + t2.Tag = o, t2.classHighlighter = R, t2.getStyleTags = _, t2.highlightCode = function(e3, t3, i3, n3, r3, o2 = 0, a2 = e3.length) { let s2 = o2; function l2(t4, i4) { if (!(t4 <= s2)) { @@ -80704,10 +87041,10 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); s2 = t4; } } - c(t3, i3, (e4, t4, i4) => { + d(t3, i3, (e4, t4, i4) => { l2(e4, ""), l2(t4, i4); }, o2, a2), l2(a2, ""); - }, t2.highlightTree = c, t2.styleTags = function(e3) { + }, t2.highlightTree = d, t2.styleTags = function(e3) { let t3 = /* @__PURE__ */ Object.create(null); for (let i3 in e3) { let n3 = e3[i3]; @@ -80737,7 +87074,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); } } return l.add(t3); - }, t2.tagHighlighter = d, t2.tags = R; + }, t2.tagHighlighter = c, t2.tags = w; }, 67377: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -80808,8 +87145,8 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); t2.default = r2; }, 67444: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(58525), s = i2(21030), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(58525), s = i2(21030), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -80817,7 +87154,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findUserPrompt.nameLabel, searchResultLabel: d.findActions.findUserPrompt.resultLabel, searchResultExpressionOptions: a.ExpressionTypePromptOptions.create(), searchResultItemType: o.expressionTypeNames.prompt }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findUserPrompt, modelClass: s.FindUserPromptActionModel, name: d.actions.findUserPrompt, scriptingName: "ArchActionFindUserPrompt" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findUserPrompt, modelClass: s.FindUserPromptActionModel, name: d.actions.findUserPrompt, scriptingName: "ArchActionFindUserPrompt", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 67477: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -80975,8 +87312,8 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); }, 67644: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.CurrencyType = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(97930), s = i2(30879), l = n2.__importDefault(i2(73198)), u = i2(38809), d = i2(98552), c = i2(80428), p = i2(94765), _ = (0, i2(24032).getTopic)("CurrencyType"), h = i2(47957); - class m extends p.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(69453), s = i2(24032), l = i2(97930), u = i2(30879), c = i2(1910), d = n2.__importDefault(i2(73198)), p = i2(83855), _ = i2(83855), h = i2(83855), m = i2(83855), g = i2(80428), f = i2(94765), T = (0, s.getTopic)("CurrencyType"), y = i2(47957); + class S extends f.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -80984,45 +87321,87 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); return "CurrencyType"; } createExpressionOptionClass() { - return new a.ExpressionTypeCurrencyOptions(); + return new l.ExpressionTypeCurrencyOptions(); } convertLitToExpression(e3, t3) { return `ToCurrency("${t3}")`; } + convertLitToCustomJsonStr(e3, t3, i3) { + const n3 = t3 || i3 || "", r3 = n3.indexOf("|"); + return r3 >= 0 && n3.substring(r3 + 1) === d.default.notSet ? `"${n3.substring(0, r3)}|"` : `"${n3}"`; + } _getLiteralValueOfExpression(e3) { var t3; const i3 = null == e3 ? void 0 : e3.getFunctionsForCharPosition(0, false); if (1 === (null == i3 ? void 0 : i3.length)) { const e4 = i3[0], n3 = e4.parameterStrings; if (e4.isValidFunctionCall && "ToCurrency" === e4.functionText && 1 === n3.length) { - const e5 = null === (t3 = n3[0].match(/"([^"]*)"/)) || void 0 === t3 ? void 0 : t3[1], [i4, r3] = e5.split("|"); - if (!isNaN(Number(i4)) && d.expressionItems.checkDecimalStr(i4, true) && r3) { - const e6 = (0, s.getCurrencyEntryFromCode)(r3); + const e5 = null === (t3 = n3[0].match(/"([^"]*)"/)) || void 0 === t3 ? void 0 : t3[1], { amount: i4, code: r3 } = S.splitCurrencyLiteralParts(e5); + if (true === (0, _.validateDecimalString)(i4, p.VALIDATE_ALLOW_INTEGER_FORM).ok && r3) { + const e6 = (0, u.getCurrencyEntryFromCode)(r3); if (i4 && e6) return this.createCurrencyExpressionValue(i4, r3); - if (r3 === l.default.notSet) return this.createCurrencyExpressionValue(i4, l.default.notSet); + if (r3 === d.default.notSet) return this.createCurrencyExpressionValue(i4, d.default.notSet); } } } return ""; } createCurrencyExpressionValue(e3, t3) { - return t3 && t3 !== l.default.notSet ? `${e3}|${t3 || ""}` : `${e3}`; + return t3 === d.default.notSet && (t3 = ""), (null == t3 ? void 0 : t3.length) ? (null == e3 ? void 0 : e3.length) ? `${e3}|${t3}` : `|${t3}` : (null == e3 ? void 0 : e3.length) ? `${e3}|` : "|"; + } + static splitCurrencyLiteralParts(e3) { + if (null == e3 || "" === e3) return { amount: "", hasTooManyParts: false }; + const t3 = e3.split("|"); + return t3.length > 2 ? { amount: t3[0], code: t3[1], hasTooManyParts: true } : 2 === t3.length ? { amount: t3[0], code: t3[1], hasTooManyParts: false } : { amount: t3[0], hasTooManyParts: false }; } getYamlObjectForLiteralSingleton(e3) { super.getYamlObjectForLiteralSingleton(e3); - const t3 = e3.text.split("|"); - if (2 !== t3.length || !o.default.isString(t3[0]) || !o.default.isString(t3[1])) return _.errorWithStack(null, "Invalid string passed to CurrencyType.getYamlObjectForLiteralSingleton"), e3.text; - const i3 = Number(t3[0]); - return o.default.isActualNumber(i3) ? { amount: i3, code: t3[1] } : (_.errorWithStack(null, "Invalid number parsed in CurrencyType.getYamlObjectForLiteralSingleton"), e3.text); + const { amount: t3, code: i3, hasTooManyParts: n3 } = S.splitCurrencyLiteralParts(e3.text); + if (n3 || void 0 === i3 || !o.default.isString(t3) || !o.default.isString(i3)) return T.errorWithStack(null, "Invalid string passed to CurrencyType.getYamlObjectForLiteralSingleton"), e3.text; + const r3 = Number(t3); + return o.default.isActualNumber(r3) ? { amount: r3, code: i3 } : (T.errorWithStack(null, "Invalid number parsed in CurrencyType.getYamlObjectForLiteralSingleton"), e3.text); } - validateLiteral(e3, t3) { + parseLiteral(e3, t3) { var i3, n3; + const o2 = null === (n3 = null === (i3 = null == t3 ? void 0 : t3.options) || void 0 === i3 ? void 0 : i3.facets) || void 0 === n3 ? void 0 : n3.decimalPlaces; + if (!e3 || /\s/.test(e3)) return { errorString: (0, r2.sprintf)(y.errors.invalidValue, this.displayString) }; + const { amount: a2, code: s2, hasTooManyParts: l2 } = S.splitCurrencyLiteralParts(e3); + if (l2) return { errorString: (0, r2.sprintf)(y.errors.invalidValue, this.displayString) }; + if ("" !== a2) { + const e4 = (0, _.validateDecimalString)(a2, (0, m.validateIntegerFormOptions)(o2)); + if (false === e4.ok) switch (e4.reason) { + case h.ValidateDecimalStringReason.tooMuchPrecision: + return { errorString: (0, r2.sprintf)(y.expression.decimalValueTooMuchPrecision, a2, 1, d.default.maxPrecision) }; + case h.ValidateDecimalStringReason.tooManyDecimalPlaces: + return { errorString: (0, r2.sprintf)(y.codeEditor.parseErrors.tokens.tooManyDecimalPlaces, e4.decimalPlaces, e4.allowedDecimalPlaces) }; + case h.ValidateDecimalStringReason.empty: + case h.ValidateDecimalStringReason.invalid: + default: + return { errorString: (0, r2.sprintf)(y.errors.invalidValue, this.displayString) }; + } + } + return void 0 === s2 || "" === s2 || s2 === d.default.notSet || (0, u.getCurrencyEntryFromCode)(s2) ? { resultString: this.createCurrencyExpressionValue(a2, s2) } : { errorString: y.expressionsHelp.parameters.valueMustBeLiteralISO4217 }; + } + validateLiteral(e3, t3) { if (t3.outOfService) return true; - const o2 = t3.text.split("|"), a2 = o2[0]; - return isNaN(Number(a2)) ? (t3.setParseError((0, r2.sprintf)(h.errors.invalidValue, t3.label)), e3.addError(t3, (0, r2.sprintf)(h.errors.invalidValue, t3.label), false, true), false) : a2 || 0 === a2 ? "" === a2 || 0 === parseFloat(a2) || d.expressionItems.checkDecimalStr(o2[0], true) ? (0, u.validateDecimalPlaces)(a2, null === (n3 = null === (i3 = t3.options) || void 0 === i3 ? void 0 : i3.facets) || void 0 === n3 ? void 0 : n3.decimalPlaces, t3, e3) : (t3.setParseError((0, r2.sprintf)(h.expression.decimalValueTooMuchPrecision, o2[0], 1, l.default.maxPrecision)), e3.addError(t3, (0, r2.sprintf)(h.errors.invalidValue, t3.label), false, true), false) : (t3.setParseError(h.facets.valueStringMinLengthOne), e3.addError(t3, (0, r2.sprintf)(h.errors.invalidValue, t3.label), false, true), false); + const i3 = this.parseLiteral(t3.text, t3); + return !i3.errorString || (t3.setParseError(i3.errorString), e3.addError(t3, (0, r2.sprintf)(y.errors.invalidValue, t3.label), false, true), false); + } + applyLiteralFromModel(e3, t3, i3, n3) { + if (null == t3) return; + if ("string" == typeof t3) return void e3.setAsLiteral(t3); + if ("object" != typeof t3 || Array.isArray(t3)) return void (n3 && n3.warn((0, r2.sprintf)(a.configureFromModel.currencyLiteralExpectedObjectOrString, Array.isArray(t3) ? "array" : typeof t3))); + const o2 = t3; + let s2; + if ("number" == typeof o2.amount && Number.isFinite(o2.amount) ? s2 = String(o2.amount) : "string" == typeof o2.amount && (s2 = o2.amount), void 0 === s2) return void (n3 && n3.warn(a.configureFromModel.currencyLiteralRequiresAmount)); + const l2 = "string" == typeof o2.code ? o2.code : ""; + if (e3.setAsLiteral(this.createCurrencyExpressionValue(s2, l2)), n3) { + const e4 = /* @__PURE__ */ new Set(["amount", "code"]), t4 = this.dataType || "currency"; + for (const i4 of Object.keys(o2)) e4.has(i4) || (0, c.reportAdditionalProperty)(i4, t4, n3); + } } } - t2.CurrencyType = m, m.typeIdentifier = c.expressionTypeNames.currency; + t2.CurrencyType = S, S.typeIdentifier = g.expressionTypeNames.currency; }, 67692: (e2, t2, i2) => { function n2() { n2.baseConstructor.apply(this, arguments); @@ -81031,7 +87410,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); }, 67801: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.knowledgeBaseManager = t2.KnowledgeBaseManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(11097)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(47532)), u = i2(81801), d = n2.__importDefault(i2(52816)), c = i2(47957), p = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(11097)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(47532)), u = i2(81801), c = n2.__importDefault(i2(52816)), d = i2(47957), p = i2(27862); class _ extends l.default { get requiredAuth() { return u.externalAuthorizations.authStrings.knowledgeBaseView; @@ -81040,10 +87419,10 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); return p.KnowledgeBase; } constructor() { - super(), this.topic = s.getTopic("KnowledgeBaseManager"), this._rawServerCache = {}, this.apiCallList = o.getKnowledgeBases, this.apiCallSingle = o.getKnowledgeBase, this.className = "KnowledgeBaseManager", this.defaultMatchingStyle = a.exactMatch, this.defaultPageSize = 100, this.dependencyContext = c.knowledgeSettings.knowledgeBaseDocument, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "knowledgeBases", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(), r2.serviceListen(r2.cleanUpFlow, () => this.resetState()); + super(), this.topic = s.getTopic("KnowledgeBaseManager"), this._rawServerCache = {}, this.apiCallList = o.getKnowledgeBases, this.apiCallSingle = o.getKnowledgeBase, this.className = "KnowledgeBaseManager", this.defaultMatchingStyle = a.exactMatch, this.defaultPageSize = 100, this.dependencyContext = d.knowledgeSettings.knowledgeBaseDocument, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "knowledgeBases", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(), r2.serviceListen(r2.cleanUpFlow, () => this.resetState()); } _createItemViewModel(e3) { - return new d.default(e3); + return new c.default(e3); } } t2.KnowledgeBaseManager = _, t2.knowledgeBaseManager = new _(); @@ -81075,7 +87454,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); }, 67829: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(17498)), a = i2(28031), s = i2(12179), l = n2.__importDefault(i2(20084)), u = i2(27862), d = i2(47957), c = i2(64420), p = i2(69946), _ = i2(87392); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(17498)), a = i2(28031), s = i2(12179), l = n2.__importDefault(i2(20084)), u = i2(27862), c = i2(47957), d = i2(64420), p = i2(69946), _ = i2(87392); class h extends l.default { constructor(e3) { super(e3, "workitemFlowSettings", _), this.editor_testing_tag = "workitem-flow-settings"; @@ -81090,10 +87469,10 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); return "WorkitemFlowSettingsViewModel"; } getDisplayName() { - return d.workitemFlowSettings.titleWithSettings; + return c.workitemFlowSettings.titleWithSettings; } getNodeName() { - return d.flow.types.workItem; + return c.flow.types.workItem; } get isWorkitemFlowSettingsNode() { return true; @@ -81114,10 +87493,10 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); return p; } get overrideWireFlowConfiguration() { - return c.getWorkitemFlowConfiguration; + return d.getWorkitemFlowConfiguration; } get overrideWireFlowVersionConfiguration() { - return c.getVersionWorkitemFlowConfiguration; + return d.getVersionWorkitemFlowConfiguration; } loadConfiguration(e3) { const t3 = Object.create(null, { loadConfiguration: { get: () => super.loadConfiguration } }); @@ -81242,8 +87621,8 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); }; }, 68108: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(43700), a = i2(80428), s = i2(48388), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(43700), a = i2(80428), s = i2(48388), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -81251,7 +87630,7 @@ ${(null == e4 ? void 0 : e4.message) || e4}`); return r2.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.findGrammar.findGrammarIdLabel, searchResultLabel: d.findActions.findGrammar.findGrammarResultLabel, searchResultExpressionOptions: o.ExpressionTypeGrammarOptions.create(), searchResultItemType: a.expressionTypeNames.grammar }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findGrammarById, modelClass: s.FindGrammarByIdActionModel, name: d.actions.findGrammarById, scriptingName: "ArchActionFindGrammarById" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findGrammarById, modelClass: s.FindGrammarByIdActionModel, name: d.actions.findGrammarById, scriptingName: "ArchActionFindGrammarById", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 68128: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.dataActionCategoryManager = t2.DataActionCategoryManager = void 0; @@ -81414,17 +87793,17 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 68223: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getSubscriptions = t2.reset = void 0, t2.addNgZone = function(e3) { - w = (t3, i3) => { + R = (t3, i3) => { e3.run(() => { D(t3, i3); }); }; }, t2.addSubscription = function(e3, t3, i3) { - const n3 = (0, c.isArray)(e3) ? e3 : [e3]; + const n3 = (0, d.isArray)(e3) ? e3 : [e3]; if (G(), A) { const e4 = []; if (o.default.each(n3, function(n4) { - O[n4] ? o.default.findWhere(O[n4], { subscriberId: t3 }) ? m.warning("Duplicate subscribe for {} - topic: {}", t3, n4) : O[n4].push({ subscriberId: t3, cb: i3 }) : (e4.push(n4), O[n4] = [{ subscriberId: t3, cb: i3 }]); + v[n4] ? o.default.findWhere(v[n4], { subscriberId: t3 }) ? m.warning("Duplicate subscribe for {} - topic: {}", t3, n4) : v[n4].push({ subscriberId: t3, cb: i3 }) : (e4.push(n4), v[n4] = [{ subscriberId: t3, cb: i3 }]); }), e4.length) { const t4 = s.default.build(h.addSubscription); return t4.templateParams({ id: y.channelId }), t4.content(o.default.map(e4, function(e5) { @@ -81443,12 +87822,12 @@ ${e3.stack}`, n3 = [this].concat(i3); }, t2.setTestKillNotificationMode = function(e3) { N = e3, A = !e3; }, t2.getInitialConnected = function() { - return I.promise; + return O.promise; }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(73198)), s = n2.__importDefault(i2(36019)), l = n2.__importStar(i2(74359)), u = n2.__importStar(i2(36781)), d = i2(52023), c = i2(50474), p = i2(24032), _ = i2(77886), h = i2(73369), m = (0, p.getTopic)("notifications"), g = 0.25 * a.default.msPerSecond, f = 7 * a.default.msPerSecond, T = 5 * a.default.msPerSecond; - let y, S = 0, A = false, N = false, O = {}; - const I = new d.PromiseDefer(); - let v = false, C = {}; + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(73198)), s = n2.__importDefault(i2(36019)), l = n2.__importStar(i2(74359)), u = n2.__importStar(i2(36781)), c = i2(52023), d = i2(50474), p = i2(24032), _ = i2(77886), h = i2(73369), m = (0, p.getTopic)("notifications"), g = 0.25 * a.default.msPerSecond, f = 7 * a.default.msPerSecond, T = 5 * a.default.msPerSecond; + let y, S = 0, A = false, N = false, v = {}; + const O = new c.PromiseDefer(); + let I = false, C = {}; function b() { A = false, S < 5 ? (S++, setTimeout(L, T)) : m.warning("Reconnection to notification socket failed after 5 attempts. Falling back to polling."); } @@ -81456,15 +87835,15 @@ ${e3.stack}`, n3 = [this].concat(i3); const t3 = null == e3 ? void 0 : e3.code; void 0 !== t3 && ("number" != typeof t3 || t3 < 0 || t3 > 4294967295) ? m.warning((0, r2.sprintf)("Websocket connection closed with invalid close code: %1$s (type: %2$s). Treating as abnormal closure.", t3, typeof t3)) : m.info((0, r2.sprintf)("Websocket connection closed with code: %1$s", t3)), b(); } - function R(e3) { + function w(e3) { 0 === (null == e3 ? void 0 : e3.status) ? S = 0 : m.errorPromise(e3, (0, r2.sprintf)("Create channel API failed.")), b(); } - let w = (e3, t3) => { + let R = (e3, t3) => { D(e3, t3); }; function D(e3, t3) { if (N) return; - const i3 = O[e3]; + const i3 = v[e3]; if (i3) for (let e4 = 0; e4 < i3.length; ++e4) i3[e4].cb(t3); } function P(e3) { @@ -81482,10 +87861,10 @@ ${e3.stack}`, n3 = [this].concat(i3); if ((n3 = i3) && n3 && n3.topicName === (l.getConnectedUser() ? (0, _.getSystemTokenRevokedTopic)(l.getConnectedUser().id) : (m.errorWithStack(null, "Tried to _getSystemTopicTokenRevoked without a connectedUser"), "")) && (u.emitter.emit(u.tokenRevoked), u.emitter.emit(u.connectionLost), 1)) return; var n3; const r3 = i3.eventBody.message ? i3.eventBody.message : i3.eventBody; - "WebSocket Heartbeat" !== r3 && w(i3.topicName, r3); + "WebSocket Heartbeat" !== r3 && R(i3.topicName, r3); } function M() { - S = 0, A = true, m.info("Carrier Pigeon Socket connected."), v || (v = true, I.resolve()); + S = 0, A = true, m.info("Carrier Pigeon Socket connected."), I || (I = true, O.resolve()); } function F(e3) { m.errorWithStack(e3, "Websocket connection error occurred"), b(); @@ -81498,10 +87877,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return t3 = new (i2(15086))(e4.connectUri), t3; })(e3); } catch (e4) { - return void R(e4); + return void w(e4); } y.channelId = e3.id, "function" == typeof y.addEventListener ? (y.addEventListener("open", M), y.addEventListener("close", (e4) => E({ code: null == e4 ? void 0 : e4.code })), y.addEventListener("message", P), y.addEventListener("error", F)) : (y.onopen = M, y.onclose = (e4, t3) => E({ code: e4 }), y.onmessage = P, y.onerror = F); - }, R); + }, w); } t2.reset = void 0; const x = []; @@ -81510,7 +87889,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return new Promise((t3) => setTimeout(t3, e3)); } function U(e3) { - const t3 = new d.PromiseDefer(); + const t3 = new c.PromiseDefer(); return (function(e4, t4) { x.push({ serverCall: e4, defer: t4 }), (function() { n2.__awaiter(this, void 0, void 0, function* () { @@ -81538,20 +87917,23 @@ ${e3.stack}`, n3 = [this].concat(i3); const B = o.default.debounce(function() { if (A) { o.default.each(C, function(e4, t3) { - O[t3] && (O[t3] = o.default.reject(O[t3], function(t4) { + v[t3] && (v[t3] = o.default.reject(v[t3], function(t4) { return o.default.contains(e4, t4.subscriberId); - }), O[t3].length || delete O[t3]); + }), v[t3].length || delete v[t3]); }), C = {}; - const e3 = o.default.keys(O); + const e3 = o.default.keys(v); if (0 === e3.length) { const e4 = s.default.build(h.removeAllSubscriptions); - return e4.templateParams({ id: y.channelId }), U(e4); - } - { + e4.templateParams({ id: y.channelId }), U(e4).catch((e5) => { + m.requestError(e5, "debounced removeSubscription removeAllSubscriptions failed"); + }); + } else { const t3 = s.default.build(h.updateSubscription); - return t3.templateParams({ id: y.channelId }), t3.content(o.default.map(e3, function(e4) { + t3.templateParams({ id: y.channelId }), t3.content(o.default.map(e3, function(e4) { return { id: e4 }; - })), U(t3); + })), U(t3).catch((e4) => { + m.requestError(e4, "debounced removeSubscription updateSubscription failed"); + }); } } }, f); @@ -81568,24 +87950,28 @@ ${e3.stack}`, n3 = [this].concat(i3); } A = false; } - O = {}; + v = {}; }), t2.getSubscriptions = void 0; }, 68227: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "Dat is niet geldig.", noInputReceived: "Ik heb geen input ontvangen." }, askForBoolean: { noInput: 'Zeg "ja" als u wilt doorgaan of "nee" als u dat niet wilt.', noMatch: 'Zeg "Ja" of "Nee". Wilt u doorgaan?', question: "Wilt u doorgaan?", noInputDigitalBot: 'Voer "Ja" in als u wilt doorgaan of "Nee" als u dat niet wilt.', noMatchDigitalBot: 'Voer "Ja" of "Nee" in. Wilt u doorgaan?' }, askForIntent: { noInput: 'Zeg een korte zin om uw query te beschrijven, bijvoorbeeld "Mijn rekeningsaldo controleren"', noMatch: "Vertel opnieuw wat u wilt doen.", question: "Wat wilt u doen?", noInputDigitalBot: 'Voer een korte zin in om uw query te beschrijven, bijvoorbeeld "Mijn rekeningsaldo controleren"' }, askForSlot: { askFor: "Vragen om %1$s", noInput: "Zeg uw (vul hier de naam van het slot in) of voer de informatie in.", noInputWithSlot: "Zeg uw %1$s of voer de informatie in.", noMatch: "Geef uw (vul hier de naam van het slot in) opnieuw door.", noMatchWithSlot: "Geef uw %1$s opnieuw door.", question: "Wat is uw (vul hier de naam van het slot in)?", questionWithSlot: "Wat is uw %1$s?", pleaseEnterSlotNameHere: "(voer hier uw slotnaam in)", noInputDigitalBot: "Voer uw (vul hier de naam van het slot in) in.", noInputWithSlotDigitalBot: "Voer de %1$s in.", continuationPromptWithSlot: "Ik heb tot dusver {{Slot.%1$s}}, ga door." }, askForNextSlot: { noInput: 'Zeg "ja" als u nog een query hebt of zeg "nee" om het gesprek te be\xEBindigen.', noMatch: 'Zeg "Ja" als u nog een query hebt of zeg "Nee" om de sessie te be\xEBindigen.', question: "Kan ik u nog ergens anders mee helpen?", noInputDigitalBot: 'Voer "Ja" in als u nog een query hebt of "Nee" om de sessie te be\xEBindigen.', noMatchDigitalBot: 'Voer "Ja" in als u nog een query hebt of "Nee" om de sessie te be\xEBindigen.' }, askForPayment: { noInputDigitalBot: "Geef uw betalingsgegevens op om door te gaan.", noMatchDigitalBot: "Ik heb uw respons niet begrepen. Probeer het opnieuw." }, askForAuthentication: { noInputDigitalBot: "Geef uw authenticatiegegevens op om door te gaan.", noMatchDigitalBot: "Ik heb uw respons niet begrepen. Probeer het opnieuw." }, askSurveyQuestion: { notApplicable: "Niet van toepassing", surveyAnswerOptionSequence: "Druk op %1$s voor '%2$s'.", surveyAnswerNotApplicableSequence: "Druk op het sterretje voor Niet van toepassing.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Druk op het sterretje voor Niet van toepassing.", voiceSurveyNoInputText: "Beantwoord alstublieft de vraag.", voiceSurveyNoMatchText: "Ik heb u niet begrepen." }, commonModule: { exitCommonModule: "Algemene module afsluiten" }, form: { noInputDigitalBot: "Vul het formulier in om door te gaan.", noMatchDigitalBot: "Vul het formulier in om door te gaan." }, messagingTemplate: { noInputDigitalBot: "Selecteer een van de beschikbare opties.", noMatchDigitalBot: "Selecteer een van de beschikbare opties." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Doorgaan", knowledgeAnswerHighlightFullArticleDefault: "Volledig artikel weergeven", knowledgeInitialResponseMulti: "Kies een cijfer in de volgende lijst, zodat ik een duidelijker beeld krijg van wat u wilt doen:", knowledgeInitialResponseMultiRetry: "Kies een cijfer, bijvoorbeeld '1'.\nHier is de lijst met opties nog een keer:", knowledgeNoMatch: "Geen van deze antwoorden", knowledgeConfirmation: "Is uw vraag hiermee beantwoord?", knowledgeFollowup: "Ik hoop dat ik uw vraag heb beantwoord. Wilt u nog iets anders weten, vraag het dan gerust." }, noOverlay: { intent: { intentConfirmationStr1: "Ik denk dat u het volgende wilt:", intentConfirmationStr2: "Klopt dat?" }, youSaid: { youSaidConfirmationStr1: "U zei", youSaidConfirmationStr2: "Klopt dat?", youSaidConfirmationStr1DigitalBot: "U hebt het volgende ingevoerd:" }, noInput: { noInputStr1: "Zeg of voer de volgende informatie in:", noInputStr1DigitalBot: "Voer het volgende in:" }, noMatch: { noMatchStr1: "Laat me het volgende weten:" }, whatIs: { whatIsQuestionStr1: "Wat is", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Ik heb tot dusver", iGotContinuationStr2: ", ga door." } }, defaultCallFlowOne: "Standaard call flow", errorHandlingAgentEscalationConfirmation: "U wilt een adviseur spreken, klopt dat?", errorHandlingAgentEscalationHandover: "Een ogenblik geduld. Ik verbind u door.", errorHandlingErrorEventHandover: "Er is een fout opgetreden. Een ogenblik geduld. Ik verbind u door met iemand die u kan helpen.", errorHandlingErrorEventHandoverVoiceSurvey: "Sorry, er is een fout opgetreden. Tot ziens.", errorHandlingRecognitionEventHandover: "Ik heb u niet begrepen. Een ogenblik geduld. Ik verbind u door met iemand die u kan helpen.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Sorry, ik kan u moeilijk verstaan. Tot ziens.", errorHandlingTTS: "Er is helaas een fout opgetreden. Probeer opnieuw te bellen.", initialGreetingTTS: "Hallo, dit is de welkomstgroet", initialState: "Initi\xEBle status", initialBotState: "Standaardbot", initialDigitalBotState: "Eerste begroeting", initialSurveyBotState: "Enqu\xEAtebot", intentConfirmation: "Ik denk dat u het volgende wilt doen: %1$s. Klopt dat?", mainMenu: "Hoofdmenu", mainMenuTTS: "U bent in het hoofdmenu. Toets 9 om de verbinding te verbreken.", mainTask: "Taak", settingsConfirmationNoInputApology: "Ik heb u niet verstaan. Zeg ja of nee.", settingsConfirmationNoInputApologyDigitalBot: 'Ik heb geen invoer van u ontvangen. Voer "Ja" of "Nee" in.', settingsConfirmationNoMatchApology: "Zeg ja of nee.", settingsConfirmationNoMatchApologyDigitalBot: 'Voer "Ja" of "Nee" in.', settingsNoInputApology: "Ik heb u niet verstaan.", settingsNoInputApologyDigitalBot: "Ik heb geen invoer van u ontvangen.", settingsEndOfSessionMessageDigitalBot: "Ik heb al even niets van u gehoord, daarom sluit ik deze chat. Kom terug als u mijn hulp weer nodig hebt. Dank u.", settingsNoMatchApology: "Excuses.", settingsNoToConfirmationApology: "Mijn fout.", periodicStateName: "Terugkerende status" }; }, 68259: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(80295), a = n2.__importDefault(i2(63005)), s = i2(80428), l = n2.__importDefault(i2(65302)); - class u extends a.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(80295), s = n2.__importDefault(i2(63005)), l = i2(80428), u = n2.__importDefault(i2(65302)), c = i2(83855), d = i2(83855), p = n2.__importDefault(i2(41510)), _ = i2(47957); + class h extends s.default { constructor() { - super(), (0, o.makeUnenumerable)(this, "_decimalPlaces"); + super(), (0, a.makeUnenumerable)(this, "_decimalPlaces"), (0, a.makeUnenumerable)(this, "_maxValStr"), (0, a.makeUnenumerable)(this, "_minValStr"), (0, a.makeUnenumerable)(this, "_minValParsed"), (0, a.makeUnenumerable)(this, "_maxValParsed"); } static createMinMax(e3, t3, i3, n3) { - const o2 = new u(); - return r2.default.isUndefined(e3) || o2.setMinDec(e3).setMinValInclusive(true === t3), r2.default.isUndefined(i3) || o2.setMaxDec(i3).setMaxValInclusive(true === n3), o2; + const r3 = new h(); + return o.default.isUndefined(e3) || r3.setMinDec(e3).setMinValInclusive(true === t3), o.default.isUndefined(i3) || r3.setMaxDec(i3).setMaxValInclusive(true === n3), r3; + } + static createMinMaxFromDecimalStrings(e3, t3, i3, n3) { + const r3 = new h(); + return o.default.isUndefined(e3) || r3.setMinValStr(e3).setMinValInclusive(true === t3), o.default.isUndefined(i3) || r3.setMaxValStr(i3).setMaxValInclusive(true === n3), r3; } _setFromFacets(e3) { - super._setFromFacets(e3); + super._setFromFacets(e3), this._setFacetIfSet(this.setMinValStr, e3.minValStr, "_minValStr"), this._setFacetIfSet(this.setMaxValStr, e3.maxValStr, "_maxValStr"); } get className() { return "CurrencyFacets"; @@ -81593,19 +87979,59 @@ ${e3.stack}`, n3 = [this].concat(i3); get isCurrencyFacets() { return true; } + get minValStr() { + return this._minValStr; + } + get maxValStr() { + return this._maxValStr; + } + setMinValStr(e3) { + return this._minValStr = e3, this._minValParsed = (0, c.getParsedDecimal)(e3, d.VALIDATE_ALLOW_INTEGER_FORM), this; + } + setMaxValStr(e3) { + return this._maxValStr = e3, this._maxValParsed = (0, c.getParsedDecimal)(e3, d.VALIDATE_ALLOW_INTEGER_FORM), this; + } + get _hasStringBounds() { + return void 0 !== this._minValStr || void 0 !== this._maxValStr; + } + addDescriptionInfo(e3, t3) { + super.addDescriptionInfo(e3, t3), void 0 !== this._minValStr && t3.push((0, r2.sprintf)(p.default.itemColonValue, _.expressionsHelp.parameters.minValue, this._minValStr)), void 0 !== this._maxValStr && t3.push((0, r2.sprintf)(p.default.itemColonValue, _.expressionsHelp.parameters.maxValue, this._maxValStr)); + } + get hasDescriptionInfo() { + return !!this._hasStringBounds || super.hasDescriptionInfo; + } _facetGetExpressionItemLitValue(e3) { let t3 = e3.getLitAsString(); if (t3) { const e4 = t3.indexOf("|"); e4 >= 0 && (t3 = t3.substring(0, e4)); } - if (t3) return parseFloat(t3); + if (t3) return this._hasStringBounds ? t3 : parseFloat(t3); + } + _facetValidateValue(e3, t3) { + if (this._hasStringBounds) { + if (null == e3 || "" === e3) return; + const t4 = String(e3), i3 = (0, c.getParsedDecimal)(t4, d.VALIDATE_ALLOW_INTEGER_FORM); + if (void 0 === i3) return; + if (void 0 !== this._minValStr && void 0 !== this._minValParsed) { + if (this.minValInclusive) { + if (i3.isLessThan(this._minValParsed)) return this._createErrorResult((0, r2.sprintf)(_.facets.valueMustBeGreaterThanOrEqualTo, t4, this._minValStr)); + } else if (i3.isLessThanOrEqualTo(this._minValParsed)) return this._createErrorResult((0, r2.sprintf)(_.facets.valueMustBeGreaterThan, t4, this._minValStr)); + } + if (void 0 !== this._maxValStr && void 0 !== this._maxValParsed) { + if (this.maxValInclusive) { + if (i3.isGreaterThan(this._maxValParsed)) return this._createErrorResult((0, r2.sprintf)(_.facets.valueMustBeLessThanOrEqualTo, t4, this._maxValStr)); + } else if (i3.isGreaterThanOrEqualTo(this._maxValParsed)) return this._createErrorResult((0, r2.sprintf)(_.facets.valueMustBeLessThan, t4, this._maxValStr)); + } + return; + } + return super._facetValidateValue(e3, t3); } _facetGetExpressionType() { - return l.default.getGlobalTypeGroup().getType(s.expressionTypeNames.currency, this.isCollection); + return u.default.getGlobalTypeGroup().getType(l.expressionTypeNames.currency, this.isCollection); } } - t2.default = u; + t2.default = h; }, 68268: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -81750,7 +88176,7 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; var n2, r2, o, a; Object.defineProperty(t2, "__esModule", { value: true }); - const s = i2(31635), l = s.__importDefault(i2(92140)), u = s.__importDefault(i2(92859)), d = s.__importStar(i2(24032)), c = i2(84250), p = s.__importDefault(i2(17102)), _ = d.getTopic("DataReporter"); + const s = i2(31635), l = s.__importDefault(i2(92140)), u = s.__importDefault(i2(92859)), c = s.__importStar(i2(24032)), d = i2(84250), p = s.__importDefault(i2(17102)), _ = c.getTopic("DataReporter"); class h extends p.default { constructor(e3, t3) { super(e3, t3), n2.set(this, false), r2.set(this, void 0), o.set(this, false), a.set(this, false); @@ -81829,7 +88255,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.traverse(r3), this.consumesSecureData = r3.data.consumesSecureData, this.hasValidationError = r3.data.hasValidationError, this.hasValidationWarning = r3.data.hasValidationWarning, true; } _processConsumeSecureDataChange() { - this.parent && this.parent.childUpdated && this.parent.childUpdated(this), c.groupedFlowSecureService.processGroupedObject(this); + this.parent && this.parent.childUpdated && this.parent.childUpdated(this), d.groupedFlowSecureService.processGroupedObject(this); } } n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), t2.default = h; @@ -81897,15 +88323,15 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { t3 || (t3 = e3); const i3 = o.supportsTTSPlaybackForFlowType(e3, r2.flowTypes.flowTypeInboundCall), n3 = (0, a.default)(e3, t3, r2.flowTypes.flowTypeInboundCall); - n3.variables = [], n3.initialPrompts = i3 ? (0, l.toAudioTtsJson)(c(e3).initialGreetingTTS) : s.emptyAudio; + n3.variables = [], n3.initialPrompts = i3 ? (0, l.toAudioTtsJson)(d(e3).initialGreetingTTS) : s.emptyAudio; const m = new p(); - m.name = c(t3).mainMenu, m.prompts = i3 ? (0, l.toAudioTtsJson)(c(e3).mainMenuTTS) : s.emptyAudio; + m.name = d(t3).mainMenu, m.prompts = i3 ? (0, l.toAudioTtsJson)(d(e3).mainMenuTTS) : s.emptyAudio; const g = new _(); g.name = h.actions.disconnect, g.digit = u.Nine; - const f = new d(); + const f = new c(); return f.name = h.actions.disconnect, g.action = f, m.menuChoiceList = [g], n3.flowSequenceItemList = [m], n3.initialSequence = m.id, n3; }; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importStar(i2(98442)), a = n2.__importDefault(i2(64499)), s = i2(12104), l = i2(46503), u = i2(31178), d = i2(44095), c = i2(21733), p = i2(85160), _ = i2(27359), h = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = n2.__importStar(i2(98442)), a = n2.__importDefault(i2(64499)), s = i2(12104), l = i2(46503), u = i2(31178), c = i2(44095), d = i2(21733), p = i2(85160), _ = i2(27359), h = i2(47957); }, 68657: (e2, t2, i2) => { const n2 = i2(7401), r2 = i2(14075), { transferUserActionType: o } = i2(30801); function a() { @@ -81955,12 +88381,12 @@ ${e3.stack}`, n3 = [this].concat(i3); }; }, 68783: (e2, t2, i2) => { "use strict"; - var n2, r2, o, a, s, l, u, d, c, p, _; + var n2, r2, o, a, s, l, u, c, d, p, _; Object.defineProperty(t2, "__esModule", { value: true }); const h = i2(31635), m = i2(30801), g = h.__importDefault(i2(13002)); class f extends g.default { constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), l.set(this, void 0), u.set(this, void 0), d.set(this, void 0), c.set(this, void 0), p.set(this, void 0), _.set(this, void 0), h.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.currency), "f"), h.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.countryCode), "f"), h.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.paymentPlatform), "f"), h.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.lineItems), "f"), h.__classPrivateFieldSet(this, s, this.coreFactory.createArchWrapper(e3.shippingOptions), "f"), h.__classPrivateFieldSet(this, l, this.coreFactory.createArchWrapper(e3.totalPrice), "f"), h.__classPrivateFieldSet(this, u, this.coreFactory.createArchWrapper(e3.receivedMessageImage), "f"), h.__classPrivateFieldSet(this, d, this.coreFactory.createArchWrapper(e3.receivedMessageTitle), "f"), h.__classPrivateFieldSet(this, c, this.coreFactory.createArchWrapper(e3.replyMessageTitle), "f"), h.__classPrivateFieldSet(this, p, this.coreFactory.createArchWrapper(e3.requiredContactInformation), "f"), h.__classPrivateFieldSet(this, _, this.coreFactory.createArchWrapper(e3.paymentCompletionTimeout), "f"); + super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.set(this, void 0), l.set(this, void 0), u.set(this, void 0), c.set(this, void 0), d.set(this, void 0), p.set(this, void 0), _.set(this, void 0), h.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.currency), "f"), h.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.countryCode), "f"), h.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.paymentPlatform), "f"), h.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.lineItems), "f"), h.__classPrivateFieldSet(this, s, this.coreFactory.createArchWrapper(e3.shippingOptions), "f"), h.__classPrivateFieldSet(this, l, this.coreFactory.createArchWrapper(e3.totalPrice), "f"), h.__classPrivateFieldSet(this, u, this.coreFactory.createArchWrapper(e3.receivedMessageImage), "f"), h.__classPrivateFieldSet(this, c, this.coreFactory.createArchWrapper(e3.receivedMessageTitle), "f"), h.__classPrivateFieldSet(this, d, this.coreFactory.createArchWrapper(e3.replyMessageTitle), "f"), h.__classPrivateFieldSet(this, p, this.coreFactory.createArchWrapper(e3.requiredContactInformation), "f"), h.__classPrivateFieldSet(this, _, this.coreFactory.createArchWrapper(e3.paymentCompletionTimeout), "f"); } get _actionTypeId() { return m.askForPaymentActionType; @@ -81993,10 +88419,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return h.__classPrivateFieldGet(this, u, "f"); } get receivedMessageTitle() { - return h.__classPrivateFieldGet(this, d, "f"); + return h.__classPrivateFieldGet(this, c, "f"); } get replyMessageTitle() { - return h.__classPrivateFieldGet(this, c, "f"); + return h.__classPrivateFieldGet(this, d, "f"); } get requiredContactInformation() { return h.__classPrivateFieldGet(this, p, "f"); @@ -82005,7 +88431,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return h.__classPrivateFieldGet(this, _, "f"); } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap(), p = /* @__PURE__ */ new WeakMap(), _ = /* @__PURE__ */ new WeakMap(), t2.default = f; + n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), p = /* @__PURE__ */ new WeakMap(), _ = /* @__PURE__ */ new WeakMap(), t2.default = f; }, 68794: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ActionOutput = void 0; @@ -82117,8 +88543,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = a; }, 69038: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(78513), s = i2(24235), l = n2.__importStar(i2(58380)), u = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(5730)), c = i2(80428), p = i2(96946), _ = i2(77450), h = i2(47957); - class m extends d.default { + const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(78513), s = i2(24235), l = n2.__importStar(i2(58380)), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(5730)), d = i2(80428), p = n2.__importDefault(i2(4648)), _ = i2(96946), h = i2(77450), m = i2(47957); + class g extends c.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -82132,32 +88558,32 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } getDetails() { - const e3 = [h.positionInQueue.positionInQueue], t3 = [this.positionInQueue.text]; - return this.playbackMode && this.playbackMode === p.ahead ? (e3.push(h.positionInQueue.playbackMode), t3.push(h.positionInQueue.ahead)) : this.playbackMode && this.playbackMode === p.number ? (e3.push(h.positionInQueue.playbackMode), t3.push(h.positionInQueue.number)) : this.playbackMode && this.playbackMode === p.ordinal && (e3.push(h.positionInQueue.playbackMode), t3.push(h.positionInQueue.ordinal)), new o.ActionDetails(e3, t3); + const e3 = [m.positionInQueue.positionInQueue], t3 = [this.positionInQueue.text]; + return this.playbackMode && this.playbackMode === _.ahead ? (e3.push(m.positionInQueue.playbackMode), t3.push(m.positionInQueue.ahead)) : this.playbackMode && this.playbackMode === _.number ? (e3.push(m.positionInQueue.playbackMode), t3.push(m.positionInQueue.number)) : this.playbackMode && this.playbackMode === _.ordinal && (e3.push(m.positionInQueue.playbackMode), t3.push(m.positionInQueue.ordinal)), new o.ActionDetails(e3, t3); } initialize() { super.initialize(), l.registerEventSinkForEventEmitter(this.parentFlow.languages.id, this); } setNewInstanceDefaults() { - super.setNewInstanceDefaults(...arguments), this.playbackMode = p.number, this.parentFlow.isInQueueCallFlow && this.positionInQueue.setText("Call.PositionInQueue", true), this.generateAudioExpression(); + super.setNewInstanceDefaults(...arguments), this.playbackMode = _.number, this.parentFlow.isInQueueCallFlow && this.positionInQueue.setText("Call.PositionInQueue", true), this.generateAudioExpression(); } static get managedProperties() { - return [{ label: h.positionInQueue.positionInQueue, options: a.ExpressionTypeIntegerOptions.create((e3) => e3.setAllowModeExpression(true).setAllowModeLiteral(false).setUsedAsReplacementValueInOtherExpressions(true)), property: "positionInQueue", type: c.expressionTypeNames.integer }, { audio: true, generatedPromptsDetails: { dependentProperties: ["positionInQueue"], sequenceDefinition: _, getPlaybackMode: function() { + return [{ label: m.positionInQueue.positionInQueue, options: a.ExpressionTypeIntegerOptions.create((e3) => e3.setAllowModeExpression(true).setAllowModeLiteral(false).setUsedAsReplacementValueInOtherExpressions(true)), property: "positionInQueue", type: d.expressionTypeNames.integer }, { audio: true, generatedPromptsDetails: { dependentProperties: ["positionInQueue"], sequenceDefinition: h, getPlaybackMode: function() { return this.playbackMode.name.toLocaleLowerCase(); }, getReplacementValues: function() { const e3 = {}; - return e3[_.parts.replacementId] = this.positionInQueue.getEmbeddableExpressionText(), e3; - } }, options: s.AudioViewModelOptions.create((e3) => e3.setIninTestingField("playbackModeAudio").setLabel(h.positionInQueue.playbackMode)), yamlOptions: m.createYamlOptions("playbackMode", (e3) => e3.setSkipProperty(true)), property: "prompts" }, { property: "playbackMode", isJustForFlowYaml: true }]; + return e3[h.parts.replacementId] = this.positionInQueue.getEmbeddableExpressionText(), e3; + } }, options: s.AudioViewModelOptions.create((e3) => e3.setIninTestingField("playbackModeAudio").setLabel(m.positionInQueue.playbackMode)), yamlOptions: g.createYamlOptions("playbackMode", (e3) => e3.setSkipProperty(true)), property: "prompts" }, { property: "playbackMode", isJustForFlowYaml: true }]; } objEvent_supportedLanguagesChanged() { this.generateAudioExpression(); } } - m.info = u.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: r2.helpTopics.actions.playPositionInQueue, modelClass: i2(38752), name: h.actions.playPositionInQueue, scriptingName: "ArchActionPlayPositionInQueue" }), t2.A = m; + g.info = u.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: r2.helpTopics.actions.playPositionInQueue, modelClass: i2(38752), name: m.actions.playPositionInQueue, scriptingName: "ArchActionPlayPositionInQueue", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = g; }, 69078: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.knowledgeBaseDocumentManager = t2.KnowledgeBaseDocumentManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(11097)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(47532)), u = i2(81801), d = i2(96583), c = i2(47957), p = i2(27862), _ = i2(66848); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(11097)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(47532)), u = i2(81801), c = i2(96583), d = i2(47957), p = i2(27862), _ = i2(66848); class h extends l.default { get requiredAuth() { return u.externalAuthorizations.authStrings.knowledgeBaseDocumentView; @@ -82166,7 +88592,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return p.KnowledgeBaseDocument; } constructor() { - super(), this.topic = s.getTopic("KnowledgeBaseDocumentManager"), this.apiCallList = a.getKnowledgeBaseDocuments, this.apiCallSingle = a.getKnowledgeBaseDocument, this._rawServerCache = {}, this.className = "KnowledgeBaseDocumentManager", this.defaultPageSize = 100, this.dependencyContext = c.knowledgeSettings.knowledgeBaseDocument, this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "knowledgeBaseDocuments", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this.hasDependencyTrackingId = true, this._initialize(), o.serviceListen(o.cleanUpFlow, () => this.resetState()); + super(), this.topic = s.getTopic("KnowledgeBaseDocumentManager"), this.apiCallList = a.getKnowledgeBaseDocuments, this.apiCallSingle = a.getKnowledgeBaseDocument, this._rawServerCache = {}, this.className = "KnowledgeBaseDocumentManager", this.defaultPageSize = 100, this.dependencyContext = d.knowledgeSettings.knowledgeBaseDocument, this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "knowledgeBaseDocuments", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this.hasDependencyTrackingId = true, this._initialize(), o.serviceListen(o.cleanUpFlow, () => this.resetState()); } addItem(e3, t3, i3) { if (e3.id.includes("/")) { @@ -82176,13 +88602,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return super.addItem(e3, t3, i3); } _createItemViewModel(e3) { - return new d.KnowledgeBaseDocumentViewModel(e3); + return new c.KnowledgeBaseDocumentViewModel(e3); } } t2.KnowledgeBaseDocumentManager = h, t2.knowledgeBaseDocumentManager = new h(); }, 69091: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(59799), a = i2(72475), s = n2.__importStar(i2(10798)), l = n2.__importDefault(i2(4648)), u = i2(12179), d = n2.__importDefault(i2(97891)), c = i2(28803), p = i2(5426), _ = n2.__importDefault(i2(52910)), h = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = i2(59799), a = i2(72475), s = n2.__importStar(i2(10798)), l = n2.__importDefault(i2(4648)), u = i2(12179), c = n2.__importDefault(i2(97891)), d = i2(28803), p = i2(5426), _ = n2.__importDefault(i2(52910)), h = i2(47957); class m extends _.default { constructor(e3, t3) { super(e3, t3, a.secureActionManager), this.allowSecure = true, this.allowErrorSchema = s.isFeatureAvailable(l.default.callDataActionFailureResponsesFeature) && r2.flowTypes.flowTypesAllVxmlgen.includes(this.parentFlow.type), this.resources = { actionLabel: h.secureAction.secureAction, actionNotFound: h.secureAction.actionNotFound, noActionsAvailable: h.secureAction.noActionsAvailable, savedVersionOfAction: h.secureAction.savedVersionOfAction, selectAction: h.dependencies.selectSecureAction }; @@ -82191,16 +88617,16 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } static get managedProperties() { - return [{ property: "actionSetting", createDetails: c.NetworkBasedActionProperty.createCreateDetails("actionId", "actionName", a.secureActionManager, h.secureAction.mustSelectAction, h.secureAction.actionNotFound, "categorySetting"), yamlOptions: m.createYamlOptions("actionSetting", (e3) => e3.setSkipProperty(true)) }, { allowSecure: true, dataList: true, property: "inputs" }, { createDetails: p.ServerActionSchemaCategoryReference.createCreateDetails(o.secureActionCategoryManager), property: "categorySetting", yamlOptions: m.createYamlOptions("categorySetting", (e3) => e3.setSkipProperty(true)) }, { property: "errorBindings", dataList: true, isOutput: true, yamlOptions: m.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }]; - } - postProcessYamlConfig(e3, t3, i3) { - this.commonServerActionPostProcessYamlConfig(e3, t3, i3); + return [{ property: "actionSetting", createDetails: d.NetworkBasedActionProperty.createCreateDetails("actionId", "actionName", a.secureActionManager, h.secureAction.mustSelectAction, h.secureAction.actionNotFound, "categorySetting"), yamlOptions: m.createYamlOptions("actionSetting", (e3) => e3.setSkipProperty(true)) }, { allowSecure: true, dataList: true, property: "inputs" }, { createDetails: p.ServerActionSchemaCategoryReference.createCreateDetails(o.secureActionCategoryManager), property: "categorySetting", yamlOptions: m.createYamlOptions("categorySetting", (e3) => e3.setSkipProperty(true)) }, { property: "errorBindings", dataList: true, isOutput: true, yamlOptions: m.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }]; } get yamlActionSectionName() { return "secureDataAction"; } + postProcessYamlConfig(e3, t3, i3) { + this.commonServerActionPostProcessYamlConfig(e3, t3, i3); + } } - m.info = d.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: u.helpTopics.actions.secure, modelClass: i2(95774), name: h.actions.secureAction, scriptingName: "ArchActionCallDataSecure", actionIsAlwaysSecure: true }), t2.A = m; + m.info = c.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: u.helpTopics.actions.secure, modelClass: i2(95774), name: h.actions.secureAction, scriptingName: "ArchActionCallDataSecure", actionIsAlwaysSecure: true, modelFormatSupport: { flowYaml: { inProgress: true, feature: l.default.changeSetsFeaturePhase2 } } }), t2.A = m; }, 69109: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -82240,7 +88666,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 69215: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = i2(12179), s = i2(99772), l = n2.__importDefault(i2(96727)), u = i2(69149), d = n2.__importDefault(i2(5532)), c = i2(22599).default, p = c.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("to_multimodal_generation", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), "), _ = c.create().addFuncCall("ToMultimodalCommunication").addFuncCallParmGenerationBucket("specific_output_mode_generation", true).addFuncCallEnd().verifySprintfStringAndInitialize("ToMultimodalCommunication()"); + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = i2(12179), s = i2(99772), l = n2.__importDefault(i2(96727)), u = i2(69149), c = n2.__importDefault(i2(5532)), d = i2(22599).default, p = d.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("to_multimodal_generation", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), "), _ = d.create().addFuncCall("ToMultimodalCommunication").addFuncCallParmGenerationBucket("specific_output_mode_generation", true).addFuncCallEnd().verifySprintfStringAndInitialize("ToMultimodalCommunication()"); class h extends s.BaseBuilderWithBuilderPartsViewModel { constructor({ owningExpression: e3, model: t3, reId: i3 }) { super(e3, t3, void 0, i3, true); @@ -82267,7 +88693,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const i3 = this.parentFlow.type === r2.flowTypes.flowTypeDigitalBot ? u.builderPartIds.communication.markdown : u.builderPartIds.communication.text; let n3, a2; if (t3 ? (n3 = this.getLanguageContainerPart(t3, true), (null == n3 ? void 0 : n3.hasParts) && (a2 = n3.parts[0])) : (this.mainSequenceEnabled = true, n3 = this, n3.builderPartsManager.hasParts && (a2 = n3.builderParts[0])), !a2) { - const e4 = d.default.getBuilderPartDefById(i3); + const e4 = c.default.getBuilderPartDefById(i3); a2 = n3.createAndAddPartFromBuilderPartDef(e4); } const s2 = a2.builderPartExpressions[0]; @@ -82305,7 +88731,7 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = h; }, 69453: (e2, t2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.stringFacets = t2.emailSend = t2.exportYaml = t2.customDataTypes = t2.callGuide = t2.deflect = t2.codeEditor = t2.jsonSchemaProcessing = t2.debug = t2.executionData = t2.flowVisualizationModal = t2.replaySearchHistory = t2.makeTestCall = t2.replayFlow = t2.previewFlow = t2.structuredParticipantData = t2.externalContact = t2.executionHistory = t2.architect = void 0, t2.architect = { architectFlowLabel: "*Architect Flow", requiredPropertyMissing: "Missing required property '%1$s'.", userDefinedLabel: "*User Defined" }, t2.executionHistory = { generateQuery: "DEBUG: Show Query" }, t2.externalContact = { label: "*External Contact" }, t2.structuredParticipantData = { label: "*Structured Participant Data" }, t2.previewFlow = { botSessionIdLabel: "Bot Session ID", collaborateDial: "Phone Number", conversationIdLabel: "Conversation ID", dialString: "Collaborate Dial String", flowVersionDebug: "Debug Version", flowVersionShort: "Ver. %1$s", flowVersionUnknown: "Ver. Unknown", launchIdLabel: "Launch ID", workitemIdLabel: "Workitem ID", makeTestCallLabel: "Make Test Call", makeTestCallLabelWithVersion: "Make Test Call (Ver. %1$s)", makeTestCallTitle: "Make a test call to the last published call flow. Before making a test call, make sure that you have Collaborate open and have enabled the placing calls with another app setting so Architect can place a test call.", pressShiftToReset: "Press Shift when opening to reset payload.", flowInstanceIdLabel: "Flow Instance ID", flowNameLabel: "Flow Name", flowIdLabel: "Flow ID", flowDebugPublishedVersionLabel: "Debug Published Version", flowPublishedVersionLabel: "Published Version", flowVersionLabel: "Flow Version", flowCharacteristics: { callable: { callInProgressLabel: "Call in Progress", previewLabelDebug: "Make Debug Test Call", previewLabelPublished: "Make Test Call", previewDescriptionDebug: "Make a test call to the latest debug publish of this flow.", previewDescriptionPublished: "Make a test call to the latest published version of this flow." }, digitalBot: { botSessionInProgress: "Bot Session in Progress", previewLabelDebug: "Preview Debug Published Bot", previewLabelPublished: "Preview Bot", previewDescriptionDebug: "Preview the latest debug publish of this digital bot flow.", previewDescriptionPublished: "Preview the latest published version of this digital bot flow.", launchPayloadTitle: "Digital Bot Preview Input Data", launchPayloadSubTitle: "Enter the digital bot flow input data below." }, workflow: { launchInProgressLabel: "Test Launch in Progress", previewLabelPublished: "Test Launch", previewDescriptionPublished: "Launch the latest published version of this workflow.", launchPayloadTitle: "Workflow Input Data", launchPayloadSubTitle: "Enter the workflow input data below." }, workitem: { launchInProgressLabel: "Workitem in Progress", previewLabelPublished: "Preview Workitem", previewDescriptionPublished: "Preview the latest published version of this workitem flow.", launchPayloadTitle: "Workitem Input Data", launchPayloadSubTitle: "Enter the workitem input data below.", firstTimeMessage: "When performing a preview of a workitem, remember:
\n 1. The latest published version of the workitem flow is run.
\n 2. You need to have an onCreate rule specified on the worktype.
\n 3. You need to ensure that flow rules are enabled and that there is an onCreate rule specified on the worktype for preview to work." }, default: { previewLabelPublished: "Test the Flow", previewDescriptionPublished: "Test the currently published version of the flow.", previewLabelDebug: "Test the Flow", previewDescriptionDebug: "Test the currently debug published version of the flow." } }, payloadModalTitle: "Input Data", payloadModalSubTitle: "Enter the input data to supply for the launch below.", flowInformationSectionLabel: "Flow Information", unableToStartTitle: "Preview Failed", unableToStartMessage: "Unable to start the flow preview.", unableToBeginReplayTitle: "Replay Failed", unableToBeginReplayMessage: "Unable to open the replay.", voiceSurveyLaunchPayloadTitle: "Voice Survey Invocation Data", voiceSurveyLaunchPayloadSubTitle: "Enter the voice survey invocation input data below." }, t2.replayFlow = { cancelMessage: "Do you wish to stop waiting for the flow to complete?", flowReplayType: { default: { replayLabelLastTest: "Replay Last Test" } }, itemCompute: "Item Compute", itemDuration: "Item Duration", itemNetworkCalls: "Item Network Calls", itemRuntime: "Item Runtime", overallCompute: "Overall Compute", overallDuration: "Overall Duration", overallNetworkCalls: "Overall Network Calls", overallRuntime: "Overall Runtime", replayLabelUnavailable: "Replay Unavailable", replayLabelWaiting: "Replay Waiting...", replayPreview: "Replay Preview", replayTitleLastTest: "Replay the last test flow execution in the Replayer.", replayInformation: "Last test flow information:", replayTitleUnavailableCallable: "Replay will be available after the flow launched for the test call completes.", replayTitleUnavailableDefault: "Replay will be available after the flow launched for the test completes.", replayTitleUnavailableDigitalBot: "Replay will be available after the flow launched for the bot session completes.", replayTitleUnavailableLaunchable: "Replay will be available after the flow launched for the test launch completes.", replayWaiting: "Replay waiting on:", secondsSuffix: "s", showVisualizationModal: "Show the Visualization Modal" }, t2.makeTestCall = { makeTestCallLabel: "Make Test Call", makeTestCallTitle: "Make a test call to the last published flow" }, t2.replaySearchHistory = { searchActionHistory: "Find flows that ran this action", searchActionPathHistory: "Find flows that took this output", searchMenuHistory: "Find flows that ran this Menu", searchTaskHistory: "Find flows that ran this Task", searchBotStateHistory: "Find flows that ran this Bot", searchStateHistory: "Find flows that ran this State" }, t2.flowVisualizationModal = { compute: "Compute", containers: "Containers", duration: "Duration (ms)", itemCompute: "Item Compute", itemDurationMs: "Item Duration (ms)", itemNetworkCalls: "Item Network Calls", menuChoice: "Menu Choice", networkCalls: "Network Calls", other: "Other", overallCompute: "Overall Compute", overallDurationMs: "Overall Duration (ms)", overallNetworkCalls: "Overall Network Calls", percentOfFlow: "% of Flow", size: "Flow Object Size", title: "Flow Size Visualization", titleReplay: "Flow Replay Visualization", visualization: "Visualization", visualizationBarChart: "Bar Chart", visualizationCirclePackChart: "Circle Pack Chart", visualizationList: "List", visualizationStarburstChart: "Starburst Chart", parentColumn: "Container", filterPlaceholder: "Filter...", weightProperty: "Weight Property" }, t2.executionData = { bot: "Bot", botTurn: "Bot Turn", dtmf: "dtmf", fromParticipant: "From Participant", noCommunicationData: "No communication data", prompt: "prompt", toParticipant: "To Participant" }, t2.debug = { darkMode: "(DEBUG) Dark Mode", actionSupport: "(DEBUG) Action Support", flowDefinitions: "(DEBUG) Flow Definitions" }, t2.jsonSchemaProcessing = { noSchemaToProcess: "There is no schema to process.", referencedSchemaHasNoProperties: "The referenced schema contains no properties.", schemaHasNoName: "The schema has no naming information such as a title property from which Architect can generate a data type name.", schemaReferenceNotFound: "The schema refers to a definition named '%1$s' that does not exist.", schemaTypeMapsToUnavailableDataType: "'%1$s' ( type '%2$s', isCollection: %3$s ) maps to the Architect data type '%4$s' which is not available for the flow type '$5%s'.", schemasNotComparable: "The schemas could not be compared.", schemaUnableToDetermineRootType: "Unable to determine the root data type from the schema.", schemaUnableToMapPropertyToType: "Unable to map '%1$s' ( type '%2$s', isCollection: %3$s ) to an Architect data type.", schemaUnableToProcess: "Unable to process the schema.", schemaUnsupportedDssSchemaVersion: "The schema version %1$s is not supported by this version of Architect." }, t2.codeEditor = { yamlEditor: "YAML Editor", parseErrors: { generic: { invalidIndent: "Invalid indent.", invalidIndentPos: "Indent position %1$s.", invalidIndentPosWithExpected: "Indent position is %1$s, expected %2$s." } } }, t2.deflect = { deflect: "Deflect", sms: "SMS", url: "Deflection URL", deflectToLabel: "Deflect To", deflectToDescription: "This specifies the type of message that should be sent.", messageLabel: "Message", messageDescription: "The contents to use for the deflect. For example, if the deflect target is 'SMS' this will be the message that is sent.", noMessage: "No message", smsFromLabel: "SMS From", smsFromDescription: "The phone number to use for sending the message.", smsToLabel: "SMS To", smsToDescription: "The phone number to use for receiving the message. Defaults to the incoming phone number.", selectSmsPhoneNumber: "Select a SMS Phone Number" }, t2.callGuide = { selectedGuideNotPublished: "The selected guide is not published." }, t2.customDataTypes = { deleteCustomDataTypeTooltip: "Remove custom data type from flow", customTypesNodeTitle: "Custom Types (debug)", showBuiltinCustomTypes: "Show Built-in Custom Types" }, t2.exportYaml = { exportYamlWithTrackingIds: { text: "With tracking IDs", tooltip: "Export flow configuration in YAML format with tracking IDs included" }, exportYamlWithoutTrackingIds: { text: "Without tracking IDs", tooltip: "Export flow configuration in YAML format without including tracking IDs" } }, t2.emailSend = { settings: { defaultAbortSendMessageDescription: "Fallback abort message used when the abort message configured on an '%1$s' action or error event handler evaluates to a NOT_SET or empty String value." }, variables: { agentUiLanguageDescription: "The Architect language tag for the sender's Genesys Cloud user interface language." } }, t2.stringFacets = { truncationBehavior: { literalStringLongerThanOneCharacterNotAllowed: "Literal string values longer than 1 character will fail validation.", literalStringLongerThanMaxLengthNotAllowed: "Literal string values longer than %1$s characters will fail validation.", dynamicStringTruncatedToOneCharacterAtRuntime: "Dynamic string values generated from an expression or returned to the flow in an output that are over 1 character in length will be truncated to 1 character.", dynamicStringTruncatedToMaxLengthAtRuntime: "Dynamic string values generated from an expression or returned to the flow in an output that are over %1$s characters in length will be truncated to %1$s characters." } }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createFromModel = t2.createNewFlowFromYaml = t2.exportFlowModal = t2.stringFacets = t2.emailSend = t2.customDataTypes = t2.deflect = t2.codeEditor = t2.changeSet = t2.configureFromModel = t2.jsonSchemaProcessing = t2.debug = t2.executionData = t2.flowVisualizationModal = t2.replaySearchHistory = t2.replayFlow = t2.previewFlow = t2.structuredParticipantData = t2.externalContact = t2.executionHistory = t2.architect = void 0, t2.architect = { architectFlowLabel: "*Architect Flow", requiredPropertyMissing: "Missing required property '%1$s'.", userDefinedLabel: "*User Defined" }, t2.executionHistory = { generateQuery: "DEBUG: Show Query" }, t2.externalContact = { label: "*External Contact" }, t2.structuredParticipantData = { label: "*Structured Participant Data" }, t2.previewFlow = { botSessionIdLabel: "Bot Session ID", collaborateDial: "Phone Number", conversationIdLabel: "Conversation ID", dialString: "Collaborate Dial String", flowVersionDebug: "Debug Version", flowVersionShort: "Ver. %1$s", flowVersionUnknown: "Ver. Unknown", launchIdLabel: "Launch ID", workitemIdLabel: "Workitem ID", pressShiftToReset: "Press Shift when opening to reset payload.", flowInstanceIdLabel: "Flow Instance ID", flowNameLabel: "Flow Name", flowIdLabel: "Flow ID", flowPublishedVersionLabel: "Published Version", flowVersionLabel: "Flow Version", flowCharacteristics: { callable: { callInProgressLabel: "Call in Progress", previewLabelDebug: "Make Debug Test Call", previewLabelPublished: "Make Test Call", previewDescriptionDebug: "Make a test call to the latest debug publish of this flow.", previewDescriptionPublished: "Make a test call to the latest published version of this flow." }, digitalBot: { botSessionInProgress: "Bot Session in Progress", previewLabelDebug: "Preview Debug Published Bot", previewLabelPublished: "Preview Bot", previewDescriptionDebug: "Preview the latest debug publish of this digital bot flow.", previewDescriptionPublished: "Preview the latest published version of this digital bot flow.", launchPayloadTitle: "Digital Bot Preview Input Data", launchPayloadSubTitle: "Enter the digital bot flow input data below." }, workflow: { launchInProgressLabel: "Test Launch in Progress", previewLabelPublished: "Test Launch", previewDescriptionPublished: "Launch the latest published version of this workflow.", launchPayloadTitle: "Workflow Input Data", launchPayloadSubTitle: "Enter the workflow input data below." }, workitem: { launchInProgressLabel: "Workitem in Progress", previewLabelPublished: "Preview Workitem", previewDescriptionPublished: "Preview the latest published version of this workitem flow.", launchPayloadTitle: "Workitem Input Data", launchPayloadSubTitle: "Enter the workitem input data below.", firstTimeMessage: "When performing a preview of a workitem, remember:
\n 1. The latest published version of the workitem flow is run.
\n 2. You need to have an onCreate rule specified on the worktype.
\n 3. You need to ensure that flow rules are enabled and that there is an onCreate rule specified on the worktype for preview to work." } }, payloadModalTitle: "Input Data", payloadModalSubTitle: "Enter the input data to supply for the launch below.", flowInformationSectionLabel: "Flow Information", unableToStartTitle: "Preview Failed", unableToStartMessage: "Unable to start the flow preview.", voiceSurveyLaunchPayloadTitle: "Voice Survey Invocation Data", voiceSurveyLaunchPayloadSubTitle: "Enter the voice survey invocation input data below." }, t2.replayFlow = { cancelMessage: "Do you wish to stop waiting for the flow to complete?", flowReplayType: { default: { replayLabelLastTest: "Replay Last Test" } }, itemCompute: "Item Compute", itemDuration: "Item Duration", itemNetworkCalls: "Item Network Calls", itemRuntime: "Item Runtime", overallCompute: "Overall Compute", overallDuration: "Overall Duration", overallNetworkCalls: "Overall Network Calls", overallRuntime: "Overall Runtime", replayLabelUnavailable: "Replay Unavailable", replayLabelWaiting: "Replay Waiting...", replayPreview: "Replay Preview", replayTitleLastTest: "Replay the last test flow execution in the Replayer.", replayInformation: "Last test flow information:", replayTitleUnavailableCallable: "Replay will be available after the flow launched for the test call completes.", replayTitleUnavailableDefault: "Replay will be available after the flow launched for the test completes.", replayTitleUnavailableDigitalBot: "Replay will be available after the flow launched for the bot session completes.", replayTitleUnavailableLaunchable: "Replay will be available after the flow launched for the test launch completes.", replayWaiting: "Replay waiting on:", secondsSuffix: "s", showVisualizationModal: "Show the Visualization Modal" }, t2.replaySearchHistory = { searchActionHistory: "Find flows that ran this action", searchActionPathHistory: "Find flows that took this output", searchMenuHistory: "Find flows that ran this Menu", searchTaskHistory: "Find flows that ran this Task", searchBotStateHistory: "Find flows that ran this Bot", searchStateHistory: "Find flows that ran this State" }, t2.flowVisualizationModal = { compute: "Compute", containers: "Containers", duration: "Duration (ms)", itemCompute: "Item Compute", itemDurationMs: "Item Duration (ms)", itemNetworkCalls: "Item Network Calls", menuChoice: "Menu Choice", networkCalls: "Network Calls", other: "Other", overallCompute: "Overall Compute", overallDurationMs: "Overall Duration (ms)", overallNetworkCalls: "Overall Network Calls", percentOfFlow: "% of Flow", size: "Flow Object Size", title: "Flow Size Visualization", titleReplay: "Flow Replay Visualization", visualizationBarChart: "Bar Chart", visualizationCirclePackChart: "Circle Pack Chart", visualizationList: "List", visualizationStarburstChart: "Starburst Chart", parentColumn: "Container", filterPlaceholder: "Filter...", weightProperty: "Weight Property" }, t2.executionData = { bot: "Bot", botTurn: "Bot Turn", dtmf: "dtmf", fromParticipant: "From Participant", prompt: "prompt", toParticipant: "To Participant" }, t2.debug = { actionSupport: "(DEBUG) Action Support", flowDefinitions: "(DEBUG) Flow Definitions" }, t2.jsonSchemaProcessing = { noSchemaToProcess: "There is no schema to process.", referencedSchemaHasNoProperties: "The referenced schema contains no properties.", schemaHasNoName: "The schema has no naming information such as a title property from which Architect can generate a data type name.", schemaReferenceNotFound: "The schema refers to a definition named '%1$s' that does not exist.", schemaTypeMapsToUnavailableDataType: "'%1$s' ( type '%2$s', isCollection: %3$s ) maps to the Architect data type '%4$s' which is not available for the flow type '$5%s'.", schemaUnableToDetermineRootType: "Unable to determine the root data type from the schema.", schemaUnableToMapPropertyToType: "Unable to map '%1$s' ( type '%2$s', isCollection: %3$s ) to an Architect data type.", schemaUnableToProcess: "Unable to process the schema.", schemaUnsupportedDssSchemaVersion: "The schema version %1$s is not supported by this version of Architect." }, t2.configureFromModel = { readOnlyFlow: "Flow YAML cannot be imported because this flow is read-only.", expectedArray: "Expected array for '%1$s' but got %2$s.", expectedBoolean: "Expected boolean for '%1$s' but got %2$s.", expectedNumber: "Expected number for '%1$s' but got %2$s.", expectedObject: "Expected object for '%1$s' but got %2$s.", expectedObjectAtIndex: "Expected object at %1$s[%2$s]; got %3$s.", expectedString: "Expected string for '%1$s' but got %2$s.", outOfServiceNotWritable: "the property '%1$s' is not writable (expression is out of service)%2$s.", unknownProperty: "Unknown property '%1$s' on %2$s \u2014 skipping.", actionDeprecatedForFormat: "Action '%1$s' is deprecated and does not support configuration from format '%2$s'.", actionFormatNotSupported: "Action '%1$s' does not support configuration from format '%2$s'.", actionRequiresFeature: "Action '%1$s' requires feature '%2$s' for format '%3$s', but it is not enabled.", intentsUnderOutputsUnsupported: "'intents' under 'outputs' is not supported on this action; ignoring on '%1$s'.", outputCouldNotResolve: "Output '%1$s' could not be resolved on action '%2$s'.", outputToggleReadOnly: "Output '%1$s' on '%2$s' cannot be toggled on a read-only flow; ignoring 'enabled: %3$s'.", outputUnavailableCannotEnable: "Output '%1$s' on '%2$s' is unavailable and cannot be enabled; ignoring 'enabled: true'.", propertyConfigureFailed: "Property '%1$s' configuration failed on '%2$s': %3$s", unrecognizedYamlProperty: "Unrecognized YAML property '%1$s' on action '%2$s'.", entityResolutionFailed: "Entity resolution failed for %1$s '%2$s': %3$s", entityResolutionFailedNetworkLiteral: "Entity resolution failed for %1$s (%2$s) '%3$s': %4$s", failedToResolve: "Failed to resolve %1$s '%2$s'.", failedToResolveFor: "Failed to resolve %1$s '%2$s' for %3$s '%4$s'.", failedToResolveIn: "Failed to resolve %1$s '%2$s' in %3$s '%4$s'.", failedToResolveNetworkLiteral: "Failed to resolve %1$s (%2$s) '%3$s'.", networkLiteralNotUpdatable: "Resolved %1$s (%2$s) '%3$s' could not be applied (expression not updatable).", deferredOpFailed: "Deferred operation '%1$s' failed: %2$s", deferredOpRejected: "Deferred operation '%1$s' rejected: %2$s", autoCreateFailed: "Unable to auto-create variable '%1$s'.", autoCreateInvalidIdentifier: "Unable to auto-create variable '%1$s': '%2$s' is not a valid identifier.", autoCreateNeedsScopePrefix: "Unable to auto-create variable '%1$s': name must include a recognized scope prefix.", autoCreateNoNameAfterPrefix: "Unable to auto-create variable '%1$s': no variable name after scope prefix.", autoCreateNoTaskContainer: "Unable to auto-create variable '%1$s' because it is a '%2$s' scoped variable and there is no task-like container available.", autoCreateScopeNotCreatable: "Unable to auto-create variable '%1$s' because scope '%2$s.' is not creatable in the destination container.", autoCreateTypeNotUserCreatable: "Unable to auto-create variable '%1$s' because type '%2$s' is not user-creatable.", autoCreateUnrecognizedScope: "Unable to auto-create variable '%1$s': unrecognized scope '%2$s'.", unknownVariableDataType: "Unknown variable data type '%1$s' for variable '%2$s'.", variableCannotAutoCreateScope: "Variable '%1$s' does not exist and cannot be auto-created for scope '%2$s'.", variableCreationFailed: "Variable '%1$s' creation failed: %2$s", variableCreationFailedInTask: "Variable '%1$s' creation failed in task '%2$s': %3$s", variableTypeMismatch: "Variable '%1$s' exists but its type does not match the output expression type.", invalidSwitchStyle: "Invalid switchStyle %1$s; expected 0 (first true) or 1 (match expression).", switchCaseCountMismatch: "Switch has %1$s case(s) but YAML specified %2$s (maximum %3$s).", switchCaseMustBeObject: "Switch cases[%1$s] must be an object.", switchCasesMustBeArray: "Switch `cases` must be a JSON array.", collectionLitMustBeArray: "Expected an array for collection 'lit'; got %1$s.", collectionLiteralItemCap: "Collection literal has %1$s items; maximum allowed is %2$s.", dataPairListCollectionItemMustBeObject: "DataPairListCollection item '%1$s' YAML value must be an object.", dataPairListCollectionMustBeObject: "DataPairListCollection YAML value must be an object.", dataPairListConfigureFailed: "Failed to configure %1$s: %2$s", dataPairListMustBeObject: "DataPairList YAML value must be an object.", updateDataCustomJsonRequiresArchitectName: "Update Data `customJson` statement requires `type.architect.name`.", updateDataStatementFailed: "Update Data statements[%1$s] (%2$s) failed: %3$s", updateDataStatementInnerMustBeObject: "Update Data statements[%1$s].%2$s must be an object with variable and value.", updateDataStatementMustBeObject: "Update Data statements[%1$s] must be an object.", updateDataStatementOneTypeWrapper: "Update Data statements[%1$s] must have exactly one type wrapper property; got %2$s: %3$s.", updateDataStatementsMustBeArray: "Update Data `statements` must be a JSON array.", updateDataUnknownCustomJsonType: "Update Data: unknown Architect custom JSON type '%1$s'.", updateDataUnsupportedStatementWrapper: "Update Data: unsupported statement wrapper '%1$s'.", currencyLiteralExpectedObjectOrString: "Currency literal expected an object with amount/code or a string; got %1$s.", currencyLiteralRequiresAmount: "Currency literal requires a numeric or string 'amount' part.", dateLiteralExpectedObjectOrString: "Date literal expected an object with year/month/day or a string; got %1$s.", dateLiteralPartOutOfRange: "Date literal %1$s %2$s is outside the supported range [%3$s, %4$s].", dateLiteralRequiresParts: "Date literal requires numeric 'year', 'month', and 'day' parts.", dateTimeLiteralExpectedObjectOrString: "DateTime literal expected an object with year/month/day/hour/minute/second or a string; got %1$s.", dateTimeLiteralPartOutOfRange: "DateTime literal %1$s %2$s is outside the supported range [%3$s, %4$s].", dateTimeLiteralRequiresYear: "DateTime literal requires a numeric 'year' part.", decimalLiteralMagnitudeExceeded: 'Decimal literal "%1$s" exceeds maximum allowed magnitude of %2$s', decimalScientificNotationUnsupported: "Scientific notation is not supported for decimal literals: %1$s", durationLiteralComponentMustBeNumber: 'Duration literal "%1$s" must be a JSON number; got %2$s. Treating as 0.', durationLiteralExpectedObjectOrString: "Duration literal expected an object with days/hours/minutes/seconds/ms or a string; got %1$s.", durationLiteralMustBePlainObject: "Duration literal `lit` must be a plain object with numeric duration components when present.", durationLiteralOutOfRange: "Duration literal of %1$s ms is outside the supported range [%2$s, %3$s].", integerLiteralOutOfRange: "Integer literal %1$s is outside the allowed range [%2$s, %3$s]", jsonLiteralExpectedValue: "JSON literal expected a JSON value (object, array, string, number, boolean, or null); got %1$s.", jsonLiteralLengthExceeded: "JSON literal stringified length %1$s exceeds maximum allowed length of %2$s characters", jsonLiteralStringifyFailed: "JSON literal could not be stringified (e.g. cyclic structure); value ignored.", literalExpectedStringNumberOrBoolean: "Literal expected a string, number, or boolean; got %1$s.", literalExpectedStringNumberOrBooleanForListSelect: "Literal expected a string, number, or boolean for list/select type; got %1$s.", stringLiteralExpectedPrimitive: "String literal expected a string, number, or boolean; got %1$s.", stringLiteralLengthExceeded: "String literal length %1$s exceeds maximum allowed length of %2$s characters", timeLiteralExpectedObjectOrString: "Time literal expected an object with hour/minute/second or a string; got %1$s.", timeLiteralPartOutOfRange: "Time literal %1$s %2$s is outside the supported range [%3$s, %4$s].", unrecognizedLiteralValue: "Unrecognized %1$s literal value: %2$s", defaultMenuChoiceUnresolved: "defaultMenuChoice: could not resolve choice '%1$s' by id, name, or trackingId.", intentMissingName: "Intent at index %1$s on '%2$s' is missing a name; skipping.", intentNotDefinedOnNluDomain: "Intent '%1$s' is not defined on the NLU domain; skipping (declared 'enabled: false').", menuChoiceActionNotValid: "Action '%1$s' (lookup: '%2$s') not valid in menu '%3$s'.", menuChoiceCreationFailed: "Menu choice '%1$s' creation failed in menu '%2$s': %3$s", menuCreationFailed: "Menu '%1$s' creation failed: %2$s", outputPathNotFoundOnParentTask: "Output path '%1$s' not found on parent task '%2$s'.", skipAlternateSequenceUnsupportedLanguage: "Skipping alternateSequence for language '%1$s' because it is not in the flow's supported languages.", speechRecTermsMustBeStringArray: "speechRecTerms for '%1$s' must be a string array or { terms: string[] }.", speechRecTermsUnsupportedLanguage: "speechRecTerms: unsupported language '%1$s' on menu choice '%2$s'.", startUpRefCouldNotBeResolved: "startUpRef '%1$s' could not be resolved.", targetTaskRefCouldNotBeResolved: "targetTaskRef '%1$s' could not be resolved.", unrecognizedMenuChoiceType: "Unrecognized menu choice type '%1$s' (lookup: '%2$s') in menu '%3$s'." }, t2.changeSet = { apply: { unableToApplyReadOnlyFlow: "Changes cannot be applied because this flow is read-only.", unableToApplyUnavailableActions: "Changes cannot be applied to the '%1$s' flow because they include adding action types that are not available: %2$s", invalidActionType: "Action type '%1$s' is not a valid Architect action.", actionNotAvailableAtLocation: "Action '%1$s' is not available for use in the '%2$s' flow at the current location.", actionCreationFailed: "Action '%1$s' could not be added: %2$s", addMenuChoiceCreateFailed: "applyChangeSet: add.menuChoice failed to create choice.", addMenuChoiceToMenuChoiceNotSubMenu: "applyChangeSet: add.menuChoice toMenuChoice target is not a sub-menu and cannot contain choices.", addMenuChoiceWhereUnrecognized: "applyChangeSet: add.menuChoice where has unrecognized shape.", addMenuMenuToAddMustBeObject: "applyChangeSet: add.menu.menuToAdd must be an object.", addMenuNotSupported: "applyChangeSet: add.menu is not supported for this flow type.", addStateNotSupported: "applyChangeSet: add.state is not supported for this flow type.", addStateStateToAddMustBeObject: "applyChangeSet: add.state.stateToAdd must be an object.", addTaskNotSupported: "applyChangeSet: add.task is not supported for this flow type.", addTaskTaskToAddMustBeObject: "applyChangeSet: add.task.taskToAdd must be an object.", addVariablesNotImplemented: "applyChangeSet: add.variables is not implemented yet.", containerConfigurationFailed: "%1$s '%2$s' configuration failed: %3$s", containerCreationFailed: "%1$s '%2$s' creation failed: %3$s", objectConfigurationFailed: "%1$s '%2$s' configuration failed: %3$s", ofActionContainerSelectorByName: "Selector by name is not yet supported when resolving an action container placement.", ofActionContainerNotResolved: "The target did not resolve to a task, state, or menu choice with an inline task.", ofActionOutputTargetNotFound: "Could not find the target action for the output path placement.", ofActionOutputPathNotFound: "For the target action, the output path '%1$s' could not be found.", flowHasNoStartupObject: "This flow has no startup object. Cannot use ofStartupTask or ofStartupState placement.", ofStartupTaskIsMenu: "The flow startup object must be a task.", ofStartupTaskIsState: "ofStartupTask cannot be used because the startup object is a state or bot state. Use ofStartupState instead.", ofStartupTaskNotATask: "ofStartupTask requires the startup object to be a task.", ofStartupStateNotAState: "ofStartupState requires the startup object to be a state or bot state.", ofPeriodicStateNotAvailable: "ofPeriodicState requires a periodic state on the flow. Periodic states are available in digital in-queue flows (in-queue message, in-queue email).", afterActionSelectorByName: "Selector by name is not yet supported when resolving an afterAction placement.", afterActionNotFound: "Could not find the predecessor action specified in the afterAction placement.", afterActionOutputPathNotFound: "For the predecessor action, the output path '%1$s' could not be found.", afterActionNoContainerParent: "The predecessor action has no action container parent.", beforeActionSelectorByName: "Selector by name is not yet supported when resolving a beforeAction placement.", beforeActionNotFound: "Could not find the successor action specified in the beforeAction placement.", beforeActionOutputPathNotFound: "For the successor action, the output path '%1$s' could not be found.", beforeActionNoContainerParent: "The successor action has no action container parent.", createRefTargetNotFound: "createRef could not resolve target '%2$s' for refId '%1$s'.", createRefReassigned: "refId '%1$s' was reassigned to a different object.", ofStartupMenuNotAMenu: "startupMenu requires the startup object to be a menu.", deleteItemMustHaveTypeKey: "Each delete item must have exactly one type key with an identifier selector value.", deleteSelectorMissingIdentifier: "Each delete selector must supply at least one of id, name, refId, or trackingId.", deleteSelectorByNameNotSupported: "Selector by name alone is not yet supported for delete operations.", deleteTypeNotImplemented: "Delete is not yet implemented for type '%1$s'.", deleteActionNotFound: "No action found matching the selector %1$s.", deleteVariableNotFound: "No variable found matching the selector %1$s.", deleteActionNotOwnedByFlow: "The resolved action is not owned by this flow.", deleteActionNoContainerParent: "Action '%1$s' has no action container parent and cannot be deleted.", updateActionNotFound: "No action found matching the selector %1$s for the update operation.", updateMissingAction: "The update operation requires a target selector (action, task, state, menu, menuChoice, or flow: true).", updateMissingProperties: "The update operation requires a 'properties' object with the action type and values to set.", updateFlowInitialGreetingNotSupported: "This flow type does not support an initial greeting.", updateFlowUnsupportedProperty: "The update flow operation does not support property '%1$s'.", updateFlowInitialGreetingInvalid: 'The update initialGreeting value must be an object (e.g. { tts: "..." }).', updatePropertiesNotObject: "The update 'properties' value for action type '%1$s' must be an object.", unexpectedFormat: "Expected format '%1$s' but received '%2$s'.", unrecognizedChangeShape: "Unrecognized change shape. Expected one of: add, createRef, delete, update, or setStartupObject.", setStartupObjectExistingNotImplemented: "applyChangeSet: setStartupObject.existing is not implemented yet.", setStartupObjectNewMenuNotImplemented: "applyChangeSet: setStartupObject.newMenu is not implemented yet.", setStartupObjectNewStateNotImplemented: "applyChangeSet: setStartupObject.newState is not implemented yet.", setStartupObjectNewTaskNotImplemented: "applyChangeSet: setStartupObject.newTask is not implemented yet.", setStartupObjectUnrecognizedShape: "applyChangeSet: setStartupObject has unrecognized payload shape.", addMenuChoiceRequiresFeature: "Add operations on menu choices require feature '%1$s' which is not enabled.", deleteActionsRequireFeature: "Delete operations on actions require feature '%1$s' which is not enabled.", deleteReusableNodesRequireFeature: "Delete operations on tasks, states, menus, or variables require feature '%1$s' which is not enabled.", reusableNodeNotAvailableForFlowType: "Reusable node '%1$s' is not available for flow type '%2$s'.", reusableNodeNotAvailableForFormat: "Reusable node '%1$s' is not available for format 'FlowYaml'.", reusableNodeRequiresFeature: "Reusable node '%1$s' requires feature '%2$s' which is not enabled.", updateActionsRequireFeature: "Update operations on actions require feature '%1$s' which is not enabled.", updateFlowPropertiesRequireFeature: "Update operations on flow properties require feature '%1$s' which is not enabled.", updateReusableNodesRequireFeature: "Update operations on tasks, states, menus, or menu choices require feature '%1$s' which is not enabled.", filterCriteriaNotMet: "This changeset cannot be applied to this flow because it does not meet the required filter criteria. The flow must meet one of the following: %1$s.", filterCriteriaName: 'name="%1$s"', filterCriteriaType: 'type="%1$s"', filterCriteriaId: 'id="%1$s"', filterCriteriaVersion: 'version="%1$s"', whenExistsNotMet: "Expected %1$s to exist in the flow, but it was not found.", whenNotClauseFailed: "Negated condition was satisfied: %1$s", whenOrClauseNotMet: "None of the or conditions were satisfied.", whenUnrecognizedShape: "The when expression has an unrecognized shape." }, userActions: { applyChangeSet: 'Apply changeset "%1$s" to this flow?', applyChangeSetWithBotExperience: "Apply with Bot Experience", cannotApplyChangeSet: "This changeset cannot be applied:", changeSets: "Change Sets", clearChangeSets: "Clear Change Sets", exampleChangeSet: "Example Changeset %1$s", noChangeSetToApply: "No changeset to apply.", openChangeSet: "Open Change Set ...", redoChangeSet: "Redo", redoOfChangeSet: "Redo of %1$s", stopApplyChangeSet: "Are you sure you want to stop applying this changeset? You can accept or revert the changes made so far.", undoChangeSet: "Undo", undoOfChangeSet: "Undo of %1$s", undoOfRedoOfChangeSet: "Undo of redo of %1$s" }, botExperience: { additionalInformation: "Additional Information", botWorkingAlt: "Bot working", complete: "Complete", configurationDonePlural: "Configuration Done (%1$s properties) \u2713", configurationDoneSingular: "Configuration Done (1 property) \u2713", configurationErrorsPlural: "Configuration completed with errors (%1$s properties) \u2717", configurationErrorsSingular: "Configuration completed with errors (1 property) \u2717", discard: "Discard", elapsedTime: "Elapsed time: %1$ss", elapsedTimeStopped: "Elapsed time: %1$ss (stopped)", keep: "Keep", lookupFailed: "Lookup failed: %1$s: %2$s", lookupResolved: "Found %1$s: %2$s \u2713", lookupStarted: "Looking up %1$s: %2$s\u2026", objectConfigured: "Configured %1$s \u2713", objectConfiguring: "Configuring %1$s\u2026", objectCreated: "Created %1$s", objectCreatedWithTrackingId: "Created %1$s (tracking ID %2$s)", objectCreating: "Creating %1$s\u2026", objectDeleted: "Deleted %1$s \u2713", objectDeleting: "Deleting %1$s\u2026", pause: "Pause", paused: "Paused...", placementFailed: "Placement failed", placementResolved: "Placement resolved: %1$s", processingTitle: "Changeset Processing", propertySet: "Set %1$s = %2$s", resume: "Resume", reverted: "Reverted", starting: "Starting...", stop: "Stop", stopped: "Stopped", summary: "Summary", summaryWithCount: "Summary \u2014 %1$s objects", unknownEventType: "%1$s: %2$s", working: "Working" }, import: { cannotApply: "Change set cannot be applied to this flow.", modalTitle: "Open Change Set", noFileSelected: "No file selected", selectFile: "Select a YAML change set file", unexpectedError: "An unexpected error occurred.", validatedReady: "Changeset validated successfully and is ready to apply." }, lookupDonut: { byEntityTypeAria: "Lookup progress by entity type", entityTooltip: "%1$s: %2$s ok, %3$s failed, %4$s pending", failed: "Failed", failedCount: "Failed (%1$s)", failedCountTooltip: "%1$s failed", overallProgressAria: "Overall lookup progress", pending: "Pending", pendingCount: "Pending (%1$s)", pendingCountTooltip: "%1$s pending", resolvedCountTooltip: "%1$s resolved", success: "Success", successCount: "Success (%1$s)" }, progressLog: { added: "Added", completedNoResults: "Change set completed with no results.", deleted: "Deleted", lookupFailed: "Lookup failed for %1$s - type: %2$s", lookupFinished: "Finished: Queue lookup for %1$s - type: %2$s", lookupQueued: "Queue lookup for %1$s - type: %2$s", objectTypeAction: "actions", objectTypeFlow: "flow settings", objectTypeMenu: "menus", objectTypeMenuChoice: "menu choices", objectTypeState: "states", objectTypeTask: "tasks", objectTypeVariable: "variables", phaseProgress: "Phase %1$s \u2014 %2$s", phaseProgressWithItem: "Phase %1$s \u2014 %2$s (%3$s)", resultLine: "%1$s %2$s %3$s", summaryHeader: "\u2500\u2500 Change Set Summary \u2500\u2500", summaryLine: "%1$s %2$s %3$s", totalOperations: "Total: %1$s operations", unsupportedResult: "Unsupported result %1$s" }, source: { architect: "Architect", createdBy: "Created by: %1$s", copilot: "Copilot", pinkfish: "Pinkfish", user: "User" }, defaultName: "Changeset %1$s", unnamedChangeSet: "Changeset", activity: { actionCreated: "Created {0} action", actionUpdated: "Updated {0} action", taskUpdated: "Updated {0} task", stateUpdated: "Updated {0} state", menuUpdated: "Updated {0} menu", menuChoiceUpdated: "Updated {0} menu choice", flowUpdated: "Updated {0} flow settings", actionConfiguring: "Configuring {0} action\u2026", actionConfigured: "Configured {0} action ({1}) \u2713", propertyConfiguredSingular: "Configured %1$s property.", propertyConfiguredPlural: "Configured %1$s properties.", taskCreated: "Created {0} task", taskConfiguring: "Configuring {0} task\u2026", stateCreated: "Created {0} state", stateConfiguring: "Configuring {0} state\u2026", propertySet: "Configured property {0} to '{1}'", propertySetNoValue: "Configured property {0}", propertyConfiguring: "Configuring property {0}\u2026", variableAutoCreated: "Created variable {0} ({1}) required by this action", variableAutoCreatedFallback: "Created variable '%1$s'", updateStatementLookupFailed: "Update statement %1$s: lookup failed for '%2$s'.", unknownLabel: "unknown", propertyConfigureFailed: "Unable to configure property '%1$s' to '%2$s'.", entityLookupFailedByName: "The object could not be looked up by name.", entityLookupFailedById: "The object could not be looked up by id.", changeSkipped: "Skipped {0} \u2014 {1}", changeSkippedFallback: "Change skipped \u2014 when precondition not satisfied", whenSummary: "When: %1$s", entityLookupNotFound: "Could not look up '%1$s' named '%2$s'", errorConfiguringProperty: "Error configuring {0} on {1}", errorOnObject: "Error on {0}" }, summary: { objectsCreatedSingular: "%1$s object created", objectsCreatedPlural: "%1$s objects created", objectsDeletedSingular: "%1$s object deleted", objectsDeletedPlural: "%1$s objects deleted", objectsUpdatedSingular: "%1$s object updated", objectsUpdatedPlural: "%1$s objects updated", tasksCreatedSingular: "%1$s task created", tasksCreatedPlural: "%1$s tasks created", tasksDeletedSingular: "%1$s task deleted", tasksDeletedPlural: "%1$s tasks deleted", statesCreatedSingular: "%1$s state created", statesCreatedPlural: "%1$s states created", statesDeletedSingular: "%1$s state deleted", statesDeletedPlural: "%1$s states deleted", menusCreatedSingular: "%1$s menu created", menusCreatedPlural: "%1$s menus created", menusDeletedSingular: "%1$s menu deleted", menusDeletedPlural: "%1$s menus deleted", actionsCreatedSingular: "%1$s action created", actionsCreatedPlural: "%1$s actions created", actionsDeletedSingular: "%1$s action deleted", actionsDeletedPlural: "%1$s actions deleted", variablesCreatedSingular: "%1$s variable created", variablesCreatedPlural: "%1$s variables created", variablesDeletedSingular: "%1$s variable deleted", variablesDeletedPlural: "%1$s variables deleted", actionTypeCreatedSingular: "%1$s '%2$s' action created", actionTypeCreatedPlural: "%1$s '%2$s' actions created" } }, t2.codeEditor = { yamlEditor: "YAML Editor", parseErrors: { generic: { invalidIndent: "Invalid indent.", invalidIndentPos: "Indent position %1$s.", invalidIndentPosWithExpected: "Indent position is %1$s, expected %2$s." } } }, t2.deflect = { deflect: "Deflect", sms: "SMS", url: "Deflection URL", deflectToLabel: "Deflect To", deflectToDescription: "This specifies the type of message that should be sent.", messageLabel: "Message", messageDescription: "The contents to use for the deflect. For example, if the deflect target is 'SMS' this will be the message that is sent.", smsFromLabel: "SMS From", smsFromDescription: "The phone number to use for sending the message.", smsToLabel: "SMS To", smsToDescription: "The phone number to use for receiving the message. Defaults to the incoming phone number." }, t2.customDataTypes = { deleteCustomDataTypeTooltip: "Remove custom data type from flow", customTypesNodeTitle: "Custom Types (debug)", showBuiltinCustomTypes: "Show Built-in Custom Types" }, t2.emailSend = { settings: { defaultAbortSendMessageDescription: "Fallback abort message used when the abort message configured on an '%1$s' action or error event handler evaluates to a NOT_SET or empty String value." }, variables: { agentUiLanguageDescription: "The Architect language tag for the sender's Genesys Cloud user interface language." } }, t2.stringFacets = { truncationBehavior: { literalStringLongerThanOneCharacterNotAllowed: "Literal string values longer than 1 character will fail validation.", literalStringLongerThanMaxLengthNotAllowed: "Literal string values longer than %1$s characters will fail validation.", dynamicStringTruncatedToOneCharacterAtRuntime: "Dynamic string values generated from an expression or returned to the flow in an output that are over 1 character in length will be truncated to 1 character.", dynamicStringTruncatedToMaxLengthAtRuntime: "Dynamic string values generated from an expression or returned to the flow in an output that are over %1$s characters in length will be truncated to %1$s characters." } }, t2.exportFlowModal = { exportFlowModalUserAction: { label: "Export flow", shortLabel: "Export", tooltip: "Opens the export flow modal to choose file format and export options" }, title: "Export flow", description: "Export the selected flow\u2019s configuration file for download. When you confirm, Architect will generate the file for download, allowing you to store, share, or reuse the flow outside of Architect.", includeTrackingIdsLabel: "Include tracking ID details", includeTrackingIdsTooltip: "When enabled, tracking IDs are included in the exported YAML file.", yaml: "YAML", format: "Format" }, t2.createNewFlowFromYaml = { buttonLabel: "Create New Flow from YAML", creatingFlow: "Creating flow...", creatingFlowInfo: "Creating flow info...", defaultFlowName: "Imported Flow", division: "Division %1$s", errorNoDivision: "No division available for flow creation.", errorNoFlowType: "No recognized flow type found in YAML content.", errorParseYaml: "Failed to parse YAML: %s", errorUnrecognizedFlowType: "Unrecognized flow type '%s'.", errorUnsupportedLanguage: "Language '%s' is not supported for flow type '%s'.", errorYamlImportFailed: "YAML import failed: %s", executingOperation: "Executing operation %1$s - type: %2$s", findingDivision: "Finding division...", flowDefaultLanguage: "Flow default language: %1$s", flowNameDescription: "Flow name: %1$s, description: %2$s", flowType: "Flow type %1$s", jsonToggleLabel: "JSON", loadingFlowTemplate: "Loading flow template...", loadingFlowYaml: "Loading flow yaml...", modalTitle: "Create New Flow from YAML", noFileSelected: "No file selected", openFlow: "Open Flow", parsingYaml: "Parsing yaml...", runningOperations: "Running %1$s operations", savingFlow: "Saving flow...", selectYamlFile: "Select YAML file", successMessage: "Flow created and saved successfully.", tempFlowName: "Temp Flow", unexpectedError: "An unexpected error occurred." }, t2.createFromModel = { yamlParseFailure: "Failed to parse YAML content: %1$s", noFlowTypeDetected: "No recognized flow type found in model. The model must have a top-level key that is a recognized flow type (e.g., inboundCall, workflow, bot).", unrecognizedFlowType: "Unrecognized flow type '%1$s'.", invalidFlowBody: "The value under '%1$s' must be an object.", flowTypeUnavailable: "Flow type '%1$s' (%2$s) is not available for this organization.", divisionNotFound: "Division '%1$s' was not found for this organization.", unableToCreateFlow: "Unable to create the flow." }; }, 69517: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.UnsubscriptionError = void 0; @@ -82375,24 +88801,11 @@ ${e3.stack}`, n3 = [this].concat(i3); var n2 = this && this.__importDefault || function(e3) { return e3 && e3.__esModule ? e3 : { default: e3 }; }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isFlowType = t2.getCamelCasedFlowTypeStr = t2.hasCiceroFlowType = t2.hasAutomateFlowType = t2.hasVxmlgenFlowType = t2.resolveCasedFlowTypeOrTypesString = t2.isFlowTypeStrings = t2.isFlowTypeGroupName = t2.isShortMessageFlowType = t2.isInQueueAutomateFlowType = t2.isEmailFlowType = t2.isVxmlgenFlowType = t2.isAutomateOrCiceroFlowType = t2.isCiceroFlowType = t2.isAutomateFlowType = t2.flowTypesAllVxmlgen = t2.flowTypesAllCicero = t2.flowTypesAllAutomate = t2.flowTypesAllVxmlgenAndVoice = t2.flowTypesAll = t2.flowTypeWorkitem = t2.flowTypeWorkflow = t2.flowTypeVoiceSurvey = t2.flowTypeVoicemail = t2.flowTypeVoice = t2.flowTypeSurveyInvite = t2.flowTypeSecureCall = t2.flowTypeOutboundCall = t2.flowTypeInQueueShortMessage = t2.flowTypeInQueueEmail = t2.flowTypeInQueueCall = t2.flowTypeInboundShortMessage = t2.flowTypeInboundEmail = t2.flowTypeInboundChat = t2.flowTypeInboundCall = t2.flowTypeEmailSend = t2.flowTypeDigitalBot = t2.flowTypeCommonModule = t2.flowTypeBot = void 0; - const r2 = n2(i2(92140)), o = { bot: "bot", commonModule: "commonmodule", digitalBot: "digitalbot", emailSend: "emailsend", inboundCall: "inboundcall", inboundChat: "inboundchat", inboundEmail: "inboundemail", inboundShortMessage: "inboundshortmessage", inQueueCall: "inqueuecall", inQueueEmail: "inqueueemail", inQueueShortMessage: "inqueueshortmessage", outboundCall: "outboundcall", secureCall: "securecall", surveyInvite: "surveyinvite", voice: "voice", voicemail: "voicemail", voiceSurvey: "voicesurvey", workflow: "workflow", workitem: "workitem" }, a = {}; - r2.default.each(o, (e3, t3) => { - a[e3] = t3; - }); - const s = { all: "all", allautomate: "allAutomate", allbot: "allBot", allcall: "allCall" }, l = [o.emailSend, o.inboundChat, o.inboundEmail, o.inboundShortMessage, o.inQueueEmail, o.inQueueShortMessage, o.surveyInvite, o.workflow, o.workitem], u = [o.inboundCall, o.inQueueCall, o.outboundCall, o.secureCall, o.voicemail], d = [o.bot, o.digitalBot, o.voice, o.voiceSurvey], c = [o.commonModule], p = r2.default.union(u, l, d, c), _ = r2.default.union(u, [o.voice]), h = {}; - function m(e3) { - return !!r2.default.isString(e3) && r2.default.contains(t2.flowTypesAllAutomate, e3); - } - function g(e3) { - return !!r2.default.isString(e3) && r2.default.contains(t2.flowTypesAllCicero, e3); - } - function f(e3) { - return !!r2.default.isString(e3) && r2.default.contains(t2.flowTypesAllVxmlgen, e3); - } - r2.default.each(o, (e3) => h[e3] = e3), h.all = p, h.allcall = u, h.allautomate = l, h.allbot = d, t2.flowTypeBot = o.bot, t2.flowTypeCommonModule = o.commonModule, t2.flowTypeDigitalBot = o.digitalBot, t2.flowTypeEmailSend = o.emailSend, t2.flowTypeInboundCall = o.inboundCall, t2.flowTypeInboundChat = o.inboundChat, t2.flowTypeInboundEmail = o.inboundEmail, t2.flowTypeInboundShortMessage = o.inboundShortMessage, t2.flowTypeInQueueCall = o.inQueueCall, t2.flowTypeInQueueEmail = o.inQueueEmail, t2.flowTypeInQueueShortMessage = o.inQueueShortMessage, t2.flowTypeOutboundCall = o.outboundCall, t2.flowTypeSecureCall = o.secureCall, t2.flowTypeSurveyInvite = o.surveyInvite, t2.flowTypeVoice = o.voice, t2.flowTypeVoicemail = o.voicemail, t2.flowTypeVoiceSurvey = o.voiceSurvey, t2.flowTypeWorkflow = o.workflow, t2.flowTypeWorkitem = o.workitem, t2.flowTypesAll = p, t2.flowTypesAllVxmlgenAndVoice = _, t2.flowTypesAllAutomate = l, t2.flowTypesAllCicero = d, t2.flowTypesAllVxmlgen = u, t2.isAutomateFlowType = m, t2.isCiceroFlowType = g, t2.isAutomateOrCiceroFlowType = function(e3) { - return !!r2.default.isString(e3) && (g(e3) || m(e3)); - }, t2.isVxmlgenFlowType = f, t2.isEmailFlowType = function(e3) { + Object.defineProperty(t2, "__esModule", { value: true }), t2.yamlFlowTypesToFlowTypesMap = t2.yamlFlowTypes = t2.flowTypesToYamlFlowTypesMap = t2.isFlowTypeStrings = t2.flowTypesAllVxmlgen = t2.flowTypesAllCicero = t2.flowTypesAllAutomate = t2.flowTypesAllVxmlgenAndVoice = t2.flowTypesAll = t2.flowTypeWorkitem = t2.flowTypeWorkflow = t2.flowTypeVoiceSurvey = t2.flowTypeVoicemail = t2.flowTypeVoice = t2.flowTypeSurveyInvite = t2.flowTypeSecureCall = t2.flowTypeOutboundCall = t2.flowTypeInQueueShortMessage = t2.flowTypeInQueueEmail = t2.flowTypeInQueueCall = t2.flowTypeInboundShortMessage = t2.flowTypeInboundEmail = t2.flowTypeInboundChat = t2.flowTypeInboundCall = t2.flowTypeEmailSend = t2.flowTypeDigitalBot = t2.flowTypeCommonModule = t2.flowTypeBot = t2.FlowTypeOrTypeGroupId = t2.FlowTypeGroupId = t2.FlowTypeId = void 0, t2.isFlowTypeId = c, t2.isFlowTypeGroupId = d, t2.isFlowTypeOrTypeGroupId = function(e3) { + return c(e3) || d(e3); + }, t2.isAutomateFlowType = y, t2.isCiceroFlowType = S, t2.isAutomateOrCiceroFlowType = function(e3) { + return !!r2.default.isString(e3) && (S(e3) || y(e3)); + }, t2.isVxmlgenFlowType = A, t2.isEmailFlowType = function(e3) { return !!r2.default.isString(e3) && (e3 === o.inboundEmail || e3 === o.inQueueEmail || e3 === o.emailSend); }, t2.isInQueueAutomateFlowType = function(e3) { return !!r2.default.isString(e3) && (e3 === o.inQueueEmail || e3 === o.inQueueShortMessage); @@ -82400,19 +88813,89 @@ ${e3.stack}`, n3 = [this].concat(i3); return !!r2.default.isString(e3) && (e3 === o.inboundShortMessage || e3 === o.inQueueShortMessage); }, t2.isFlowTypeGroupName = function(e3) { return !!r2.default.isString(e3) && !r2.default.isUndefined(s[e3.toLowerCase()]); - }, t2.isFlowTypeStrings = true, t2.resolveCasedFlowTypeOrTypesString = function(e3) { - if (r2.default.isString(e3)) return h[e3.toLowerCase()]; + }, t2.resolveCasedFlowTypeOrTypesString = function(e3) { + if (r2.default.isString(e3)) return T[e3.toLowerCase()]; }, t2.hasVxmlgenFlowType = function(e3) { - return e3.some((e4) => f(e4)); + return e3.some((e4) => A(e4)); }, t2.hasAutomateFlowType = function(e3) { - return e3.some((e4) => m(e4)); + return e3.some((e4) => y(e4)); }, t2.hasCiceroFlowType = function(e3) { - return e3.some((e4) => g(e4)); + return e3.some((e4) => S(e4)); + }, t2.getFlowTypeIdFromYamlFlowTypeId = function(e3) { + const i3 = t2.yamlFlowTypesToFlowTypesMap[e3]; + if (void 0 !== i3 && c(i3)) return i3; }, t2.getCamelCasedFlowTypeStr = function(e3) { return a[null == e3 ? void 0 : e3.toLowerCase()]; }, t2.isFlowType = function(e3, ...t3) { return !(!(null == e3 ? void 0 : e3.length) || !t3) && t3.includes(e3); + }, t2.setOrgFlowTypeExpansions = function(e3) { + v = e3; + }, t2.clearOrgFlowTypeExpansions = function() { + v = void 0; + }, t2.expandToFlowTypeIds = function(e3, t3 = false) { + if (c(e3)) return [e3]; + if (!d(e3)) return []; + const i3 = I(t3)[e3]; + return i3 ? [...i3] : []; + }, t2.getFlowTypeGroupIdsForFlowTypeId = function(e3, t3 = false) { + const i3 = I(t3); + return C.filter((t4) => { + var n3; + return null === (n3 = i3[t4]) || void 0 === n3 ? void 0 : n3.includes(e3); + }); + }, t2.haveOrgFlowTypeExpansionsBeenSet = function() { + return void 0 !== v; }; + const r2 = n2(i2(92140)); + t2.FlowTypeId = { bot: "bot", commonModule: "commonmodule", digitalBot: "digitalbot", emailSend: "emailsend", inboundCall: "inboundcall", inboundChat: "inboundchat", inboundEmail: "inboundemail", inboundShortMessage: "inboundshortmessage", inQueueCall: "inqueuecall", inQueueEmail: "inqueueemail", inQueueShortMessage: "inqueueshortmessage", outboundCall: "outboundcall", secureCall: "securecall", surveyInvite: "surveyinvite", voice: "voice", voicemail: "voicemail", voiceSurvey: "voicesurvey", workflow: "workflow", workitem: "workitem" }; + const o = t2.FlowTypeId, a = {}; + r2.default.each(o, (e3, t3) => { + a[e3] = t3; + }), t2.FlowTypeGroupId = { all: "all", allAutomate: "allAutomate", allBot: "allBot", allCall: "allCall" }, t2.FlowTypeOrTypeGroupId = Object.assign(Object.assign({}, t2.FlowTypeId), t2.FlowTypeGroupId); + const s = { all: t2.FlowTypeGroupId.all, allautomate: t2.FlowTypeGroupId.allAutomate, allbot: t2.FlowTypeGroupId.allBot, allcall: t2.FlowTypeGroupId.allCall }, l = new Set(Object.values(t2.FlowTypeId)), u = new Set(Object.values(t2.FlowTypeGroupId)); + function c(e3) { + return "string" == typeof e3 && l.has(e3); + } + function d(e3) { + return "string" == typeof e3 && u.has(e3); + } + const p = [o.emailSend, o.inboundChat, o.inboundEmail, o.inboundShortMessage, o.inQueueEmail, o.inQueueShortMessage, o.surveyInvite, o.workflow, o.workitem], _ = [o.inboundCall, o.inQueueCall, o.outboundCall, o.secureCall, o.voicemail], h = [o.bot, o.digitalBot, o.voice, o.voiceSurvey], m = [o.commonModule], g = r2.default.union(_, p, h, m), f = r2.default.union(_, [o.voice]), T = {}; + function y(e3) { + return !!r2.default.isString(e3) && r2.default.contains(t2.flowTypesAllAutomate, e3); + } + function S(e3) { + return !!r2.default.isString(e3) && r2.default.contains(t2.flowTypesAllCicero, e3); + } + function A(e3) { + return !!r2.default.isString(e3) && r2.default.contains(t2.flowTypesAllVxmlgen, e3); + } + r2.default.each(o, (e3) => { + T[e3] = e3; + }), T.all = g, T.allcall = _, T.allautomate = p, T.allbot = h, t2.flowTypeBot = o.bot, t2.flowTypeCommonModule = o.commonModule, t2.flowTypeDigitalBot = o.digitalBot, t2.flowTypeEmailSend = o.emailSend, t2.flowTypeInboundCall = o.inboundCall, t2.flowTypeInboundChat = o.inboundChat, t2.flowTypeInboundEmail = o.inboundEmail, t2.flowTypeInboundShortMessage = o.inboundShortMessage, t2.flowTypeInQueueCall = o.inQueueCall, t2.flowTypeInQueueEmail = o.inQueueEmail, t2.flowTypeInQueueShortMessage = o.inQueueShortMessage, t2.flowTypeOutboundCall = o.outboundCall, t2.flowTypeSecureCall = o.secureCall, t2.flowTypeSurveyInvite = o.surveyInvite, t2.flowTypeVoice = o.voice, t2.flowTypeVoicemail = o.voicemail, t2.flowTypeVoiceSurvey = o.voiceSurvey, t2.flowTypeWorkflow = o.workflow, t2.flowTypeWorkitem = o.workitem, t2.flowTypesAll = g, t2.flowTypesAllVxmlgenAndVoice = f, t2.flowTypesAllAutomate = p, t2.flowTypesAllCicero = h, t2.flowTypesAllVxmlgen = _, t2.isFlowTypeStrings = true; + const N = { inqueuecall: "inqueueCall", inqueueemail: "inqueueEmail", inqueueshortmessage: "inqueueShortMessage" }; + let v; + function O() { + return { [t2.FlowTypeGroupId.allCall]: t2.flowTypesAllVxmlgen, [t2.FlowTypeGroupId.allAutomate]: t2.flowTypesAllAutomate, [t2.FlowTypeGroupId.allBot]: t2.flowTypesAllCicero, [t2.FlowTypeGroupId.all]: t2.flowTypesAll }; + } + function I(e3 = false) { + return e3 ? O() : Object.assign(Object.assign({}, O()), v); + } + t2.flowTypesToYamlFlowTypesMap = (() => { + const e3 = {}; + return r2.default.each(o, (t3, i3) => { + var n3; + const r3 = "bot" === i3 ? "botFlow" : null !== (n3 = N[t3]) && void 0 !== n3 ? n3 : i3; + e3[t3] = r3; + }), e3; + })(), t2.yamlFlowTypes = Object.values(t2.flowTypesToYamlFlowTypesMap), t2.yamlFlowTypesToFlowTypesMap = (() => { + const e3 = {}; + return r2.default.each(o, (t3, i3) => { + var n3; + const r3 = "bot" === i3 ? "botFlow" : null !== (n3 = N[t3]) && void 0 !== n3 ? n3 : i3; + e3[r3] = t3; + }), e3; + })(); + const C = [t2.FlowTypeGroupId.allCall, t2.FlowTypeGroupId.allAutomate, t2.FlowTypeGroupId.allBot, t2.FlowTypeGroupId.all]; }, 69770: (e2, t2, i2) => { function n2() { this.id = void 0, this.name = void 0, n2.baseConstructor.apply(this, arguments); @@ -82421,8 +88904,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 69772: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionItem = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(55299), a = n2.__importDefault(i2(73198)), s = i2(27491), l = n2.__importDefault(i2(22226)), u = i2(80428), d = i2(14394); - function c(e3, t3, i3) { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(55299), a = n2.__importDefault(i2(73198)), s = i2(27491), l = n2.__importDefault(i2(22226)), u = i2(80428), c = i2(14394); + function d(e3, t3, i3) { e3[t3] || Object.defineProperty(e3, t3, { enumerable: !i3, writable: true }); } class p extends o.BaseClass { @@ -82436,7 +88919,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.root.items; } set items(e3) { - c(this.root, "items"), this.root.items = e3 || []; + d(this.root, "items"), this.root.items = e3 || []; } get isBracketArrayAccess() { var e3; @@ -82543,13 +89026,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.root.val; } set opOrFunc(e3) { - c(this.root, "opOrFunc", true), this.root.opOrFunc = e3, e3 && (c(this.root, "operands"), this.root.operands = []); + d(this.root, "opOrFunc", true), this.root.opOrFunc = e3, e3 && (d(this.root, "operands"), this.root.operands = []); } get position() { return this.root.pos; } set position(e3) { - c(this.root, "pos"), this.root.pos = e3; + d(this.root, "pos"), this.root.pos = e3; } get root() { return this[this._root]; @@ -82569,19 +89052,19 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.root.text; } set text(e3) { - c(this.root, "text"), this.root.text = e3 || ""; + d(this.root, "text"), this.root.text = e3 || ""; } get type() { return this._type; } set type(e3) { - c(this.root, "type"), r2.default.isString(e3) ? this.root.type = e3 : (this._type = e3, this.root.type = e3.expressionType); + d(this.root, "type"), r2.default.isString(e3) ? this.root.type = e3 : (this._type = e3, this.root.type = e3.expressionType); } get val() { return this.root.val; } set val(e3) { - c(this.root, "val"), this.root.val = e3; + d(this.root, "val"), this.root.val = e3; } addAdditionalProperties(e3) { e3 && r2.default.defaults(this.root, e3); @@ -82645,7 +89128,7 @@ ${e3.stack}`, n3 = [this].concat(i3); case 2: if (i4 = this.isPropAccess, n3 = !i4 && this.isBracketAccess, i4 || n3) { let t4 = e3[0].getText(false, true, true); - if (e3[0].type.isMatch(d.globalTypes.string)) if (s.expressionDataService.isValidIdentifierName(t4)) n3 && (t4 = `"${t4}"`); + if (e3[0].type.isMatch(c.globalTypes.string)) if (s.expressionDataService.isValidIdentifierName(t4)) n3 && (t4 = `"${t4}"`); else { const i5 = e3[0].getText(false, true); t4 = `"${i5.substring(3, i5.length - 3)}"`; @@ -82725,7 +89208,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 69850: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.SurveyDispositions = t2.Regions = t2.MessageBodyStyles = t2.Languages = t2.Currencies = t2.ConversationTypes = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(2899), a = n2.__importStar(i2(85705)), s = i2(92669), l = i2(19502), u = i2(19819), d = i2(88276), c = i2(47957), p = i2(4059); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(2899), a = n2.__importStar(i2(85705)), s = i2(92669), l = i2(19502), u = i2(19819), c = i2(88276), d = i2(47957), p = i2(4059); function _(e3, t3, i3, n3, r3, o2, a2, s2) { return { description: e3 || "", descriptionId: t3 || "", id: i3, isCollection: n3, name: r3, propertyToLiteralResolvers: a2, type: o2, version: s2 || "1.0" }; } @@ -82736,7 +89219,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const e3 = [], t3 = {}; return r2.default.each(s, function(e4) { h(t3, e4.id, o.propertyToLiteralResolverNames.propIDToConversationType, e4.id); - }), e3.push(_(c.surveyInviteFlowVariables.conversationTypes, null, "Types", false, "Types", "cte", t3, null)), e3; + }), e3.push(_(d.surveyInviteFlowVariables.conversationTypes, null, "Types", false, "Types", "cte", t3, null)), e3; })(), t2.Currencies = (function() { const e3 = []; for (const t3 in l) if (l.hasOwnProperty(t3)) { @@ -82753,9 +89236,9 @@ ${e3.stack}`, n3 = [this].concat(i3); return e3; })(), t2.MessageBodyStyles = (function() { const e3 = [], t3 = {}; - return r2.default.each(d, function(e4) { + return r2.default.each(c, function(e4) { h(t3, e4.id, o.propertyToLiteralResolverNames.propIDToMessageBodyStyle, e4.id); - }), e3.push(_(c.sendResponse.messageBodyStyles, null, "MessageBodyStyles", false, "MessageBodyStyles", "mbe", t3, null)), e3; + }), e3.push(_(d.sendResponse.messageBodyStyles, null, "MessageBodyStyles", false, "MessageBodyStyles", "mbe", t3, null)), e3; })(), t2.Regions = (function() { const e3 = []; for (const t3 in a.countryMap) if (a.countryMap.hasOwnProperty(t3)) { @@ -82767,7 +89250,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const e3 = [], t3 = {}; return r2.default.each(p, function(e4) { h(t3, e4.id, o.propertyToLiteralResolverNames.propIDToSurveyDisposition, e4.id); - }), e3.push(_(c.surveyInviteFlowVariables.surveyDispositions, null, "Dispositions", false, "Dispositions", "sde", t3, null)), e3; + }), e3.push(_(d.surveyInviteFlowVariables.surveyDispositions, null, "Dispositions", false, "Dispositions", "sde", t3, null)), e3; })(); }, 69879: function(e2, t2, i2) { "use strict"; @@ -82808,9 +89291,9 @@ ${e3.stack}`, n3 = [this].concat(i3); var e4, t4, i3, l2, u2; if (!this.closed) { this.closed = true; - var c = this._parentage; - if (c) if (this._parentage = null, Array.isArray(c)) try { - for (var p = n2(c), _ = p.next(); !_.done; _ = p.next()) _.value.remove(this); + var d = this._parentage; + if (d) if (this._parentage = null, Array.isArray(d)) try { + for (var p = n2(d), _ = p.next(); !_.done; _ = p.next()) _.value.remove(this); } catch (t5) { e4 = { error: t5 }; } finally { @@ -82820,7 +89303,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (e4) throw e4.error; } } - else c.remove(this); + else d.remove(this); var h = this.initialTeardown; if (a.isFunction(h)) try { h(); @@ -82834,7 +89317,7 @@ ${e3.stack}`, n3 = [this].concat(i3); for (var g = n2(m), f = g.next(); !f.done; f = g.next()) { var T = f.value; try { - d(T); + c(T); } catch (e5) { u2 = null != u2 ? u2 : [], e5 instanceof s.UnsubscriptionError ? u2 = o(o([], r2(u2)), r2(e5.errors)) : u2.push(e5); } @@ -82853,7 +89336,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } }, e3.prototype.add = function(t4) { var i3; - if (t4 && t4 !== this) if (this.closed) d(t4); + if (t4 && t4 !== this) if (this.closed) c(t4); else { if (t4 instanceof e3) { if (t4.closed || t4._hasParent(this)) return; @@ -82875,7 +89358,7 @@ ${e3.stack}`, n3 = [this].concat(i3); i3 && l.arrRemove(i3, t4), t4 instanceof e3 && t4._removeParent(this); }, e3.EMPTY = ((t3 = new e3()).closed = true, t3), e3; })(); - function d(e3) { + function c(e3) { a.isFunction(e3) ? e3() : e3.unsubscribe(); } t2.Subscription = u, t2.EMPTY_SUBSCRIPTION = u.EMPTY, t2.isSubscription = function(e3) { @@ -82933,8 +89416,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 70131: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.KnowledgeBaseDocumentType = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(20083), a = i2(69078), s = i2(27491), l = n2.__importDefault(i2(22226)), u = i2(80428), d = i2(14394), c = i2(94765), p = i2(47957); - class _ extends c.ExpressionType { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(20083), a = i2(69078), s = i2(27491), l = n2.__importDefault(i2(22226)), u = i2(80428), c = i2(14394), d = i2(94765), p = i2(47957); + class _ extends d.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -82948,7 +89431,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return a.knowledgeBaseDocumentManager.getBriefManagerWithFallback(); } canConvertLitToExpression(e3) { - return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindKnowledgeBaseDocument", e3, [d.globalTypes.string]); + return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindKnowledgeBaseDocument", e3, [c.globalTypes.string]); } convertLitToExpression(e3, t3) { return t3 && this.canConvertLitToExpression(e3) ? `FindKnowledgeBaseDocument(${l.default.getQuotedExpressionStringLiteral(t3)})` : ""; @@ -83026,10 +89509,10 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 70310: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(69453)), s = n2.__importStar(i2(12847)), l = n2.__importDefault(i2(73198)), u = n2.__importDefault(i2(41510)), d = i2(80295), c = n2.__importDefault(i2(67114)), p = i2(55909), _ = i2(80428), h = i2(33951), m = n2.__importDefault(i2(65302)), g = i2(47957); - class f extends c.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(69453)), s = n2.__importStar(i2(12847)), l = n2.__importDefault(i2(73198)), u = n2.__importDefault(i2(41510)), c = i2(80295), d = n2.__importDefault(i2(67114)), p = i2(55909), _ = i2(80428), h = i2(33951), m = n2.__importDefault(i2(65302)), g = i2(47957); + class f extends d.default { constructor() { - super(), this._disallowedValues = {}, this._maxLength = void 0, this._minLength = void 0, this._preferRadioButtonsCount = void 0, this._trim = false, this._warnOnEmpty = false, this._isAddressField = false, this._truncatesToMaxLength = false, this._patternString = void 0, this._literalPatternRegexp = void 0, this._literalPatternMismatchMessage = void 0, this._useButtonSwitcher = false, (0, d.makeUnenumerable)(this, "_disallowedValues"), (0, d.makeUnenumerable)(this, "_maxLength"), (0, d.makeUnenumerable)(this, "_minLength"), (0, d.makeUnenumerable)(this, "_preferRadioButtonsCount"), (0, d.makeUnenumerable)(this, "_trim"), (0, d.makeUnenumerable)(this, "_warnOnEmpty"), (0, d.makeUnenumerable)(this, "_isAddressField"), (0, d.makeUnenumerable)(this, "_patternString"), (0, d.makeUnenumerable)(this, "_literalPatternRegexp"), (0, d.makeUnenumerable)(this, "_literalPatternMismatchMessage"), (0, d.makeUnenumerable)(this, "_useButtonSwitcher"); + super(), this._disallowedValues = {}, this._maxLength = void 0, this._minLength = void 0, this._preferRadioButtonsCount = void 0, this._trim = false, this._warnOnEmpty = false, this._isAddressField = false, this._truncatesToMaxLength = false, this._patternString = void 0, this._literalPatternRegexp = void 0, this._literalPatternMismatchMessage = void 0, this._useButtonSwitcher = false, (0, c.makeUnenumerable)(this, "_disallowedValues"), (0, c.makeUnenumerable)(this, "_maxLength"), (0, c.makeUnenumerable)(this, "_minLength"), (0, c.makeUnenumerable)(this, "_preferRadioButtonsCount"), (0, c.makeUnenumerable)(this, "_trim"), (0, c.makeUnenumerable)(this, "_warnOnEmpty"), (0, c.makeUnenumerable)(this, "_isAddressField"), (0, c.makeUnenumerable)(this, "_patternString"), (0, c.makeUnenumerable)(this, "_literalPatternRegexp"), (0, c.makeUnenumerable)(this, "_literalPatternMismatchMessage"), (0, c.makeUnenumerable)(this, "_useButtonSwitcher"); } _setFromFacets(e3) { super._setFromFacets(e3), this._setFacetIfSet(this.setMaxLength, e3.maxLength, "_maxLength"), this._setFacetIfSet(this.setMinLength, e3.minLength, "_minLength"), this._setFacetIfSet(this.setTruncatesToMaxLength, e3._truncatesToMaxLength, "_truncatesToMaxLength"), this._setFacetIfSet(this.setTrim, e3.trim), this._setFacetIfSet(this.setPreferRadioButtonsCount, e3.preferRadioButtonsCount, "_preferRadioButtonsCount"), this._setFacetIfSet(this.setWarnOnEmpty, e3.warnOnEmpty), this._setFacetIfSet(this.setIsAddressField, e3.isAddressField), this._setFacetIfSet(this.setUseButtonSwitcher, e3.useButtonSwitcher, "_useButtonSwitcher"), e3._disallowedValues && e3._disallowedValues.warning && this.setDisallowedCharactersWarning(e3._disallowedValues.warning.characters, e3._disallowedValues.warning.message), void 0 !== e3._patternString && void 0 !== e3._literalPatternMismatchMessage ? this.setLiteralPattern(e3._patternString, e3._literalPatternMismatchMessage) : (this._patternString = void 0, this._literalPatternRegexp = void 0, this._literalPatternMismatchMessage = void 0); @@ -83179,7 +89662,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._literalPatternRegexp = i3, this._literalPatternMismatchMessage = h.ParameterValidator.expectString(t3, () => p.ParameterInfo.createPropertySet(this.className, "setLiteralPattern", "literalMismatchMessage")), this; } } - t2.default = f, n2.__decorate([(0, d.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [])], f.prototype, "allowEmpty", null), n2.__decorate([(0, d.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Object])], f.prototype, "maxLength", null), n2.__decorate([(0, d.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Object])], f.prototype, "minLength", null), n2.__decorate([(0, d.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], f.prototype, "preferRadioButtonsCount", null), n2.__decorate([(0, d.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [])], f.prototype, "useButtonSwitcher", null), n2.__decorate([(0, d.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], f.prototype, "trim", null), n2.__decorate([(0, d.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], f.prototype, "warnOnEmpty", null), n2.__decorate([(0, d.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [])], f.prototype, "isAddressField", null), n2.__decorate([(0, d.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], f.prototype, "truncatesToMaxLength", null), n2.__decorate([(0, d.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [])], f.prototype, "patternString", null); + t2.default = f, n2.__decorate([(0, c.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [])], f.prototype, "allowEmpty", null), n2.__decorate([(0, c.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Object])], f.prototype, "maxLength", null), n2.__decorate([(0, c.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Object])], f.prototype, "minLength", null), n2.__decorate([(0, c.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], f.prototype, "preferRadioButtonsCount", null), n2.__decorate([(0, c.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [])], f.prototype, "useButtonSwitcher", null), n2.__decorate([(0, c.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], f.prototype, "trim", null), n2.__decorate([(0, c.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], f.prototype, "warnOnEmpty", null), n2.__decorate([(0, c.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [])], f.prototype, "isAddressField", null), n2.__decorate([(0, c.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], f.prototype, "truncatesToMaxLength", null), n2.__decorate([(0, c.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [])], f.prototype, "patternString", null); }, 70339: (e2, t2, i2) => { const n2 = i2(2210), r2 = i2(13240), { collectInputActionType: o } = i2(30801), a = i2(31178), s = i2(7401), l = i2(35966); function u() { @@ -83298,10 +89781,10 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 70570: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(21569), a = n2.__importDefault(i2(45894)); + class s extends a.default { constructor(e3) { - super(e3); + super(e3, o.customerSegmentManager); } get _globalTypeName() { return "customerSegment"; @@ -83315,8 +89798,18 @@ ${e3.stack}`, n3 = [this].concat(i3); get isArchValueCustomerSegment() { return true; } + setLiteralByCustomerSegmentIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("customerSegmentId", "setLiteralByCustomerSegmentIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByCustomerSegmentIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByCustomerSegmentIdAsync", t3, this)); + }); + } + setLiteralByCustomerSegmentNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("customerSegmentName", "setLiteralByCustomerSegmentNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByCustomerSegmentNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByCustomerSegmentNameAsync", t3, this)); + }); + } } - t2.default = r2; + t2.default = s; }, 70610: (e2, t2, i2) => { const n2 = i2(47957), r2 = i2(17604).sprintf, o = {}, a = {}; e2.exports = { addUnknownUser: function(e3, t3) { @@ -83437,8 +89930,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.ExpressionTypeLineItemOptions = r2; }, 70826: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(75255), o = i2(81516), a = n2.__importDefault(i2(27203)), s = i2(32282), l = i2(12179), u = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(36825)), c = i2(80428), p = i2(47957); - class _ extends d.default { + const n2 = i2(31635), r2 = i2(75255), o = i2(81516), a = n2.__importDefault(i2(27203)), s = i2(32282), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(36825)), d = i2(80428), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends c.default { constructor(e3, t3) { super(e3), this.scheduleGroupManager = s.scheduleGroupManager, this._loadModel(t3); } @@ -83452,13 +89945,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return a.default.openClosedHolidayEmergency; } _initializeDesignTime() { - super._initializeDesignTime(), !this.scheduleGroupName && !this.scheduleGroupId || this.scheduleGroup.text || (this.scheduleGroup.update(this.scheduleGroupName, this.scheduleGroupId), this.scheduleGroupName = void 0, this.scheduleGroupId = void 0), this.emergencyGroup.options.setDescriptionInfo(p.evaluateSchedules.emergencyGroup, p.evaluateSchedules.emergencyGroupDescription).setDescriptionAdditionalInfoSection({ title: void 0, entries: [p.generic.optional] }); + super._initializeDesignTime(), !this.scheduleGroupName && !this.scheduleGroupId || this.scheduleGroup.text || (this.scheduleGroup.update(this.scheduleGroupName, this.scheduleGroupId), this.scheduleGroupName = void 0, this.scheduleGroupId = void 0), this.emergencyGroup.options.setDescriptionInfo(_.evaluateSchedules.emergencyGroup, _.evaluateSchedules.emergencyGroupDescription).setDescriptionAdditionalInfoSection({ title: void 0, entries: [_.generic.optional] }); } getConfiguration(e3, t3) { return e3 = super.getConfiguration(e3, t3), this.scheduleGroup.isLiteralMode && this.scheduleGroup.text ? (this.scheduleGroupId = this.scheduleGroup.val, this.scheduleGroupName = this.scheduleGroup.text) : (this.scheduleGroupId = void 0, this.scheduleGroupName = void 0), e3; } static get managedProperties() { - return [{ description: p.evaluateSchedules.inServiceSchedulesDescription, label: p.evaluateSchedules.inServiceSchedules, options: o.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("inServiceSchedules").setIsOptional(true).setIsCollection(true).setAsOutput()), yamlOptions: _.createYamlOptions("inServiceSchedules", (e3) => e3.setExportOrder(50)), property: "inServiceSchedules", type: c.expressionTypeNames.string }, { property: "scheduleGroup", label: p.evaluateSchedules.scheduleGroup, type: c.expressionTypeNames.scheduleGroup, options: r2.ExpressionTypeScheduleGroupOptions.create((e3) => e3.setIninTestingField("scheduleGroup")) }]; + return [{ description: _.evaluateSchedules.inServiceSchedulesDescription, label: _.evaluateSchedules.inServiceSchedules, options: o.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("inServiceSchedules").setIsOptional(true).setIsCollection(true).setAsOutput()), yamlOptions: h.createYamlOptions("inServiceSchedules", (e3) => e3.setExportOrder(50)), property: "inServiceSchedules", type: d.expressionTypeNames.string }, { property: "scheduleGroup", label: _.evaluateSchedules.scheduleGroup, type: d.expressionTypeNames.scheduleGroup, options: r2.ExpressionTypeScheduleGroupOptions.create((e3) => e3.setIninTestingField("scheduleGroup")) }]; } postProcessYamlConfig(e3, t3, i3) { var n3, r3, o2, a2; @@ -83471,7 +89964,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (this.scheduleGroupId) return this.scheduleGroupManager.getItem(this.scheduleGroupId); } } - _.info = u.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: l.helpTopics.actions.evaluateScheduleGroup, modelClass: i2(41188), name: p.actions.evaluateScheduleGroup, scriptingName: "ArchActionEvaluateScheduleGroup" }), t2.A = _; + h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: l.helpTopics.actions.evaluateScheduleGroup, modelClass: i2(41188), modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } }, name: _.actions.evaluateScheduleGroup, scriptingName: "ArchActionEvaluateScheduleGroup" }), t2.A = h; }, 70838: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -83496,28 +89989,28 @@ ${e3.stack}`, n3 = [this].concat(i3); e2.exports = require("os"); }, 71002: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(80428), o = i2(81516), a = i2(1115), s = i2(12179), l = i2(12457), u = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(5730)), c = i2(47957), p = i2(89720); - class _ extends d.default { + const n2 = i2(31635), r2 = i2(80428), o = i2(81516), a = i2(1115), s = i2(12179), l = i2(12457), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(5730)), d = n2.__importDefault(i2(4648)), p = i2(47957), _ = i2(89720); + class h extends c.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.uuiData = null, this._loadModel(t3); } _loadModel(e3) { - super._loadModel(e3), this.mode || (this.mode = p.transfer); + super._loadModel(e3), this.mode || (this.mode = _.transfer); } getDetails() { - const e3 = 0 === this.mode.value ? c.setUUIData.transferDropDownText : c.setUUIData.disconnectDropDownText; - return new l.ActionDetails([null, c.setUUIData.mode], [e3, this.uuiData.text]); + const e3 = 0 === this.mode.value ? p.setUUIData.transferDropDownText : p.setUUIData.disconnectDropDownText; + return new l.ActionDetails([null, p.setUUIData.mode], [e3, this.uuiData.text]); } static get managedProperties() { - return [{ label: c.transfer.uuiData, options: o.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("uuiData").setIsOptional(false).setModeNoValueRuntimeEvaluationStr(c.setUUIData.noUUIData, void 0).setDisableSpellcheck(true)), yamlOptions: _.createYamlOptions("uuiData", (e3) => e3.setExportOrder(40)), property: "uuiData", type: r2.expressionTypeNames.string }, { property: "mode", isJustForFlowYaml: true, yamlOptions: _.createYamlOptions("mode", (e3) => e3.setExportOrder(30)) }]; + return [{ label: p.transfer.uuiData, options: o.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("uuiData").setIsOptional(false).setModeNoValueRuntimeEvaluationStr(p.setUUIData.noUUIData, void 0).setDisableSpellcheck(true)), yamlOptions: h.createYamlOptions("uuiData", (e3) => e3.setExportOrder(40)), property: "uuiData", type: r2.expressionTypeNames.string }, { property: "mode", isJustForFlowYaml: true, yamlOptions: h.createYamlOptions("mode", (e3) => e3.setExportOrder(30)) }]; } get mode() { return this.model.mode; } set mode(e3) { switch (e3) { - case p.transfer: - case p.disconnect: + case _.transfer: + case _.disconnect: this.model.mode = e3, (0, a.validateAction)(this, true, true); } } @@ -83526,7 +90019,7 @@ ${e3.stack}`, n3 = [this].concat(i3); (null === (n3 = this.mode) || void 0 === n3 ? void 0 : n3.name) && (e3.mode = this.mode.name); } } - _.info = u.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: s.helpTopics.actions.setUUIData, modelClass: i2(58602), name: c.actions.setUUIData, scriptingName: "ArchActionSetUUIData" }), t2.A = _; + h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: s.helpTopics.actions.setUUIData, modelClass: i2(58602), name: p.actions.setUUIData, scriptingName: "ArchActionSetUUIData", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 71004: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.createVariable = y, t2.createFlowVariableViewModel = function(e3, t3) { @@ -83544,13 +90037,13 @@ ${e3.stack}`, n3 = [this].concat(i3); if (!e3 || !i3) return; if (!t3 || o.default.isEmpty(t3)) { if (e3.parent !== n3 && e3.parent.isFlowViewModel && n3) return void s.error("Can not rename variable with no usages to a variable with a different parent"); - if (!o.default.isString(i3)) return e3.deleteItem(), i3; + if (!o.default.isString(i3)) return e3.deleteItem(e3.parentFlow), i3; e3.parentFlow.variableGroup.clearOldName(e3.parent, e3.name, e3.id); const t4 = m.getScope(i3); if (t4 !== m.getScope(e3.name)) { if (t4 === m.scopes.flow) { const t5 = A(e3, i3, e3.parent.parentFlow); - return e3.deleteItem(), t5; + return e3.deleteItem(e3.parentFlow), t5; } s.error(`Unexpected condition, change scope of a variable to something other than flow. old name: ${e3.name} -- new name: ${i3}`); } @@ -83564,7 +90057,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } i3 = A(e3, i3, n3); } else if (e3.type !== i3.type) return; - e3.transferUsages(i3, t3), e3 && e3.deleteItem(); + e3.transferUsages(i3, t3), e3 && e3.deleteItem(e3.parentFlow); const r3 = { originalVariable: e3, oldName: e3.name, newName: i3.name }; return u.emitter.emit(u.variableRename, r3), i3; }, t2.isVariableAllowedForExpression = N, t2.cleanseVariableNameWithProps = function(e3, t3, i3) { @@ -83587,16 +90080,16 @@ ${e3.stack}`, n3 = [this].concat(i3); t3 && t3[i3.id] && ((i3 = i3.clone()).initialValue = t3[i3.id]); const n3 = new g.default(e3, null, i3); if (i3.featureConfig) { - if (o.default.isString(i3.featureConfig)) n3.isUnavailable = d.isFeatureUnavailable(i3.featureConfig); + if (o.default.isString(i3.featureConfig)) n3.isUnavailable = c.isFeatureUnavailable(i3.featureConfig); else if (o.default.isObject(i3.featureConfig)) { const t4 = i3.featureConfig[e3.type]; - n3.isUnavailable = o.default.isString(t4) && d.isFeatureUnavailable(t4); + n3.isUnavailable = o.default.isString(t4) && c.isFeatureUnavailable(t4); } - } else i3.featureToggleName && (o.default.isString(i3.featureToggleName) ? n3.isUnavailable = c.isDisabled(i3.featureToggleName) : o.default.isObject(i3.featureToggleName) && console.error("featureToggleName does not support the flow type syntax")); + } else i3.featureToggleName && (o.default.isString(i3.featureToggleName) ? n3.isUnavailable = d.isDisabled(i3.featureToggleName) : o.default.isObject(i3.featureToggleName) && console.error("featureToggleName does not support the flow type syntax")); i3.isFormatEnumVariable ? e3.variableGroup.addFormatVariable(n3) : i3.isLanguageEnumVariable ? e3.variableGroup.addLanguageVariable(n3) : e3.variableGroup.addSystemVariable(n3); }); }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(12847)), l = i2(27491), u = n2.__importStar(i2(36781)), d = n2.__importStar(i2(10798)), c = n2.__importStar(i2(27099)), p = n2.__importDefault(i2(98114)), _ = n2.__importStar(i2(1115)), h = n2.__importDefault(i2(22928)), m = n2.__importStar(i2(14187)), g = n2.__importDefault(i2(59061)), f = i2(43096); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(12847)), l = i2(27491), u = n2.__importStar(i2(36781)), c = n2.__importStar(i2(10798)), d = n2.__importStar(i2(27099)), p = n2.__importDefault(i2(98114)), _ = n2.__importStar(i2(1115)), h = n2.__importDefault(i2(22928)), m = n2.__importStar(i2(14187)), g = n2.__importDefault(i2(59061)), f = i2(43096); function T(e3, t3) { return new (0, f[e3.icwsType])({ name: t3, id: (0, a.uuid)(), isCollection: e3.isCollection, typeIdentifier: e3.expressionType }); } @@ -83605,11 +90098,11 @@ ${e3.stack}`, n3 = [this].concat(i3); const i3 = t3.parentFlow || t3, n3 = new g.default(i3, t3, e3); return i3 && i3.isFlowViewModel && !n3.type.isAvailableForFlow(i3) && s.error(`Creating variable with whose type (${n3.type.displayString}) is not available for use in a flows of type ${i3.destinationFlowTypes.join(",")}`), n3.type.isCustomizablePerFlow && e3.typeIdentifier && i3.definitions.getCustomDataTypeDefinition(n3.type.dataType).addReader(n3), i3.variableGroup.addVariable(n3), n3; } - function S(e3, t3, i3, n3, a2, l2, u2, d2) { + function S(e3, t3, i3, n3, a2, l2, u2, c2) { if (!e3 || !t3 || !l2) return s.error((0, r2.sprintf)(`Missing parameter for name (not logged), parentTaskOrFlow: '${e3}', or type: '${l2}'`)), null; - let c2 = m.getScope(t3); - if (i3 && c2 && i3 !== c2) return s.error("Unable to add variable. The variable name has a scope of '" + c2 + "' but the scope parameter has '" + i3 + "'."), null; - if (c2 || (t3 = m.setScope(i3, t3), c2 = i3), !d2 && !o.default.contains(e3.userCreatableVariableScopes, c2)) return s.error("Unable to add variable. The variable scope of '" + c2 + "' for the name '" + t3 + "' is not valid for the submitted parent task or flow."), null; + let d2 = m.getScope(t3); + if (i3 && d2 && i3 !== d2) return s.error("Unable to add variable. The variable name has a scope of '" + d2 + "' but the scope parameter has '" + i3 + "'."), null; + if (d2 || (t3 = m.setScope(i3, t3), d2 = i3), !c2 && !o.default.contains(e3.userCreatableVariableScopes, d2)) return s.error("Unable to add variable. The variable scope of '" + d2 + "' for the name '" + t3 + "' is not valid for the submitted parent task or flow."), null; if (e3.isFlowViewModel) { if (n3 && !l2.isAvailableAsInputForFlowType(e3.type)) return s.error("Unable to add variable. The type '" + l2.displayString + "' is not valid for use as an input in parentTaskOrFlow type of '" + e3.type + "'."), null; if (a2 && !l2.isAvailableAsOutputForFlowType(e3.type)) return s.error("Unable to add variable. The type '" + l2.displayString + "' is not valid for use as an output in parentTaskOrFlow type of '" + e3.type + "'. name: '" + t3 + "'"), null; @@ -83657,18 +90150,18 @@ ${e3.stack}`, n3 = [this].concat(i3); n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noInputSequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noInputDigitalBotSequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noMatchSequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "questionSequence", null), t2.askForIntentSequences = new s(); }, 71020: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = (i2(92794), i2(17604)), o = n2.__importDefault(i2(92140)), a = i2(28562), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(63352)), u = i2(80428), d = i2(67607), c = i2(82319), p = i2(49892), _ = i2(81516), h = i2(33237), m = n2.__importDefault(i2(27203)), g = n2.__importStar(i2(36781)), f = i2(58380), T = i2(66381), y = i2(44351), S = i2(56969), A = i2(56969), N = i2(56969), O = i2(56969), I = i2(56969), v = n2.__importStar(i2(1115)), C = i2(12179), b = n2.__importDefault(i2(97891)), E = i2(41500), R = n2.__importDefault(i2(80570)), w = i2(95443), D = i2(21733), P = i2(47957); - class M extends R.default { + const n2 = i2(31635), r2 = (i2(92794), i2(17604)), o = n2.__importDefault(i2(92140)), a = i2(28562), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(63352)), u = i2(80428), c = i2(67607), d = i2(82319), p = i2(49892), _ = i2(81516), h = i2(33237), m = n2.__importDefault(i2(27203)), g = n2.__importStar(i2(36781)), f = i2(58380), T = i2(66381), y = i2(44351), S = i2(56969), A = i2(56969), N = i2(56969), v = i2(56969), O = i2(56969), I = n2.__importStar(i2(1115)), C = i2(12179), b = n2.__importDefault(i2(97891)), E = i2(41500), w = n2.__importDefault(i2(80570)), R = i2(95443), D = n2.__importDefault(i2(4648)), P = i2(21733), M = i2(47957); + class F extends w.default { constructor(e3, t3) { super(e3), this._loadModel(t3); } setNewInstanceDefaults(e3) { super.setNewInstanceDefaults(e3); - const t3 = D(this.parentFlow.defaultLanguage); + const t3 = P(this.parentFlow.defaultLanguage); this.setNewInstanceNoInputText(t3.askSurveyQuestion.voiceSurveyNoInputText), this.setNewInstanceNoMatchText(t3.askSurveyQuestion.voiceSurveyNoMatchText), this.setBranchOutOfService(m.default.maxNoInputsOptional.outputId); } initializeDesignTime() { - super.initializeDesignTime(), this.updateSurveyFormQuestionDynamicProps(), this.addAutoCleanedUpSubscription((0, f.createObservableForEvent$)(g.expressionValueChanged, this.notApplicable).subscribe(() => v.validateAction(this, false, true))); + super.initializeDesignTime(), this.updateSurveyFormQuestionDynamicProps(), this.addAutoCleanedUpSubscription((0, f.createObservableForEvent$)(g.expressionValueChanged, this.notApplicable).subscribe(() => I.validateAction(this, false, true))); } get supportsCustomOutputPaths() { return true; @@ -83689,18 +90182,18 @@ ${e3.stack}`, n3 = [this].concat(i3); return e3.parentFlow.voiceSurveyFlowSettings.getAnswerOptionsExpressionForQuestionId(e3.surveyFormQuestionId); } static _disableDTMFChoiceForNACallback(e3, t3) { - var i3, n3; - const r3 = e3.parent; - if (r3) { - const o2 = null === (n3 = null === (i3 = e3.parentFlow.userInputSettings) || void 0 === i3 ? void 0 : i3.dtmfTerminatingCharacter) || void 0 === n3 ? void 0 : n3.getStringTypeDesignTimeValue(); + var i3; + const n3 = e3.parent; + if (n3) { + const r3 = null === (i3 = e3.parentFlow.userInputSettings) || void 0 === i3 ? void 0 : i3.dtmfTerminatingCharacter, o2 = null == r3 ? void 0 : r3.type.getDesignTimeStringValue(r3); if (o2 && o2 === t3.id) return true; - const a2 = r3.parentFlow.voiceSurveyFlowSettings.getAnswerOptionsExpressionForQuestionId(r3.surveyFormQuestionId); + const a2 = n3.parentFlow.voiceSurveyFlowSettings.getAnswerOptionsExpressionForQuestionId(n3.surveyFormQuestionId); if (a2) return !!a2.collectionItems.items.find((e4) => e4.type.getDtmf(e4) === t3.id); } return false; } static get managedProperties() { - return [{ property: "surveyQuestion", type: u.expressionTypeNames.surveyQuestion, label: P.voiceSurvey.voiceSurveyQuestionLabel, options: h.ExpressionTypeSurveyQuestionOptions.create((e3) => e3.setIninTestingField("surveyQuestion").setUiPropertyOrder(4).setAllowModeLiteralOnly().setDescriptionInfo(P.voiceSurvey.voiceSurveyQuestionLabel, P.voiceSurvey.voiceSurveyQuestionDescription)), yamlOptions: M.createYamlOptions("surveyQuestion", (e3) => e3.setSkipProperty(true)) }, { property: "surveyQuestionResult", type: u.expressionTypeNames.surveyQuestion, label: P.voiceSurvey.voiceSurveyQuestionResultLabel, options: h.ExpressionTypeSurveyQuestionOptions.create((e3) => e3.setIninTestingField("surveyQuestionResult").setUiPropertyOrder(12).setDescriptionInfo(P.voiceSurvey.voiceSurveyQuestionResultLabel, P.voiceSurvey.voiceSurveyQuestionResultDescription).setAsOutputExpressionOnly().setOutputExprTextAllowsReadOnlyVarType(true).setReadOnly(true)), yamlOptions: M.createYamlOptions("surveyQuestionResult", (e3) => e3.setSkipProperty(true)) }, { property: "questionCondition", type: u.expressionTypeNames.boolean, label: P.voiceSurvey.voiceSurveyQuestionConditionLabel, options: d.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(P.voiceSurvey.voiceSurveyQuestionConditionLabel, P.voiceSurvey.voiceSurveyQuestionConditionDescription).setIninTestingField("questionCondition").setReadOnly(true).setIsOptional(true).setUiPropertyOrder(18)), yamlOptions: M.createYamlOptions("questionCondition", (e3) => e3.setSkipProperty(true)) }, { property: "mirroredQuestionType", label: P.voiceSurvey.voiceSurveyQuestionTypeLabel, createDetails: E.MirroredExpressionActionProperty.createCreateDetails(M.getSurveyQuestionType, M.getSurveyQuestionExpression), options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(11)), yamlOptions: M.createYamlOptions("surveyQuestionType", (e3) => e3.setSkipProperty(true)), hideFromModel: true }, { property: "mirroredAnswerOptions", label: P.voiceSurvey.voiceSurveyAnswerOptionsLabel, createDetails: E.MirroredExpressionActionProperty.createCreateDetails(M.getQuestionAnswerOptions, M.getSurveyQuestionExpression), options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(14)), yamlOptions: M.createYamlOptions("mirroredAnswerOptions", (e3) => e3.setSkipProperty(true)), hideFromModel: true }, { property: "notApplicable", label: P.voiceSurvey.voiceSurveyNotApplicableLabel, type: u.expressionTypeNames.string, options: _.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("notApplicable").setUiPropertyOrder(16).setAllowModeLiteralOnly().setDescriptionInfo(P.voiceSurvey.voiceSurveyNotApplicableLabel, P.voiceSurvey.voiceSurveyNotApplicableDescription).facets.setAllowableValues(y.surveyFormDtmfTerminatingValues).setAllowableValuesUseInlineSelect(true).setAllowableValuesDisabledCallback(M._disableDTMFChoiceForNACallback).setAllowableValueUseOriginalDisplayString(true).setAllowableValuePlaceholder(P.voiceSurvey.voiceSurveyAnswerOptionDtmfLabel)) }, { property: "answer", label: P.voiceSurvey.voiceSurveyAnswerLabel, type: u.expressionTypeNames.communication, options: c.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("answer").setDescriptionInfo(P.voiceSurvey.voiceSurveyAnswerLabel, P.voiceSurvey.voiceSurveyAnswerDescription).setIsOptional(true).setUiPropertyOrder(13).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDefaultToBuilderId(a.builderIds.parts.genericCommunication)) }, { property: "followUpQuestion", label: P.voiceSurvey.voiceSurveyFollowUpQuestionLabel, type: u.expressionTypeNames.communication, options: c.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("followUpQuestion").setDescriptionInfo(P.voiceSurvey.voiceSurveyFollowUpQuestionLabel, P.voiceSurvey.voiceSurveyFollowUpQuestionDescription).setIsOptional(true).setUiPropertyOrder(15).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDefaultToBuilderId(a.builderIds.parts.genericCommunication)) }, (0, w.createBargeInManagedProperty)(8, P.speechToText.recognitionParams.speechRecognitionParameters)]; + return [{ property: "surveyQuestion", type: u.expressionTypeNames.surveyQuestion, label: M.voiceSurvey.voiceSurveyQuestionLabel, options: h.ExpressionTypeSurveyQuestionOptions.create((e3) => e3.setIninTestingField("surveyQuestion").setUiPropertyOrder(4).setAllowModeLiteralOnly().setDescriptionInfo(M.voiceSurvey.voiceSurveyQuestionLabel, M.voiceSurvey.voiceSurveyQuestionDescription)), yamlOptions: F.createYamlOptions("surveyQuestion", (e3) => e3.setSkipProperty(true)) }, { property: "surveyQuestionResult", type: u.expressionTypeNames.surveyQuestion, label: M.voiceSurvey.voiceSurveyQuestionResultLabel, options: h.ExpressionTypeSurveyQuestionOptions.create((e3) => e3.setIninTestingField("surveyQuestionResult").setUiPropertyOrder(12).setDescriptionInfo(M.voiceSurvey.voiceSurveyQuestionResultLabel, M.voiceSurvey.voiceSurveyQuestionResultDescription).setAsOutputExpressionOnly().setOutputExprTextAllowsReadOnlyVarType(true).setReadOnly(true)), yamlOptions: F.createYamlOptions("surveyQuestionResult", (e3) => e3.setSkipProperty(true)) }, { property: "questionCondition", type: u.expressionTypeNames.boolean, label: M.voiceSurvey.voiceSurveyQuestionConditionLabel, options: c.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(M.voiceSurvey.voiceSurveyQuestionConditionLabel, M.voiceSurvey.voiceSurveyQuestionConditionDescription).setIninTestingField("questionCondition").setReadOnly(true).setIsOptional(true).setUiPropertyOrder(18)), yamlOptions: F.createYamlOptions("questionCondition", (e3) => e3.setSkipProperty(true)) }, { property: "mirroredQuestionType", label: M.voiceSurvey.voiceSurveyQuestionTypeLabel, createDetails: E.MirroredExpressionActionProperty.createCreateDetails(F.getSurveyQuestionType, F.getSurveyQuestionExpression), options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(11)), yamlOptions: F.createYamlOptions("surveyQuestionType", (e3) => e3.setSkipProperty(true)), hideFromModel: true }, { property: "mirroredAnswerOptions", label: M.voiceSurvey.voiceSurveyAnswerOptionsLabel, createDetails: E.MirroredExpressionActionProperty.createCreateDetails(F.getQuestionAnswerOptions, F.getSurveyQuestionExpression), options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(14)), yamlOptions: F.createYamlOptions("mirroredAnswerOptions", (e3) => e3.setSkipProperty(true)), hideFromModel: true }, { property: "notApplicable", label: M.voiceSurvey.voiceSurveyNotApplicableLabel, type: u.expressionTypeNames.string, options: _.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("notApplicable").setUiPropertyOrder(16).setAllowModeLiteralOnly().setDescriptionInfo(M.voiceSurvey.voiceSurveyNotApplicableLabel, M.voiceSurvey.voiceSurveyNotApplicableDescription).facets.setAllowableValues(y.surveyFormDtmfTerminatingValues).setAllowableValuesUseInlineSelect(true).setAllowableValuesDisabledCallback(F._disableDTMFChoiceForNACallback).setAllowableValueUseOriginalDisplayString(true).setAllowableValuePlaceholder(M.voiceSurvey.voiceSurveyAnswerOptionDtmfLabel)) }, { property: "answer", label: M.voiceSurvey.voiceSurveyAnswerLabel, type: u.expressionTypeNames.communication, options: d.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("answer").setDescriptionInfo(M.voiceSurvey.voiceSurveyAnswerLabel, M.voiceSurvey.voiceSurveyAnswerDescription).setIsOptional(true).setUiPropertyOrder(13).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDefaultToBuilderId(a.builderIds.parts.genericCommunication)) }, { property: "followUpQuestion", label: M.voiceSurvey.voiceSurveyFollowUpQuestionLabel, type: u.expressionTypeNames.communication, options: d.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("followUpQuestion").setDescriptionInfo(M.voiceSurvey.voiceSurveyFollowUpQuestionLabel, M.voiceSurvey.voiceSurveyFollowUpQuestionDescription).setIsOptional(true).setUiPropertyOrder(15).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDefaultToBuilderId(a.builderIds.parts.genericCommunication)) }, (0, R.createBargeInManagedProperty)(8, M.speechToText.recognitionParams.speechRecognitionParameters)]; } get isAskSurveyQuestionAction() { return true; @@ -83724,7 +90217,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } clearSurveyQuestion() { const e3 = this._clearArchSurveyQuestion(); - return this._updatePropertiesOOS(), v.validateAction(this, true, true), e3; + return this._updatePropertiesOOS(), I.validateAction(this, true, true), e3; } configureFromArchSurveyQuestionId(e3, t3) { const i3 = (0, N.findSurveyQuestionInForm)(this.surveyForm, e3, true); @@ -83743,22 +90236,22 @@ ${e3.stack}`, n3 = [this].concat(i3); this.surveyQuestion.type.setFromArchSurveyQuestion(this.surveyQuestion, e3), this.updateSurveyFormQuestionDynamicProps(), this._setQuestionProperty(e3); const t3 = (0, A.getVisibilityConditionExprText)(e3.visibilityCondition, this.parentFlow.voiceSurveyFlowSettings.archSurveyForm); switch (t3 ? this.questionCondition.setAsExpression(t3) : this.questionCondition.setAsExpression(s.default.notSet), e3.questionType) { - case O.SurveyQuestionTypesEnum.freeTextQuestion: - case O.SurveyQuestionTypesEnum.readOnlyQuestion: + case v.SurveyQuestionTypesEnum.freeTextQuestion: + case v.SurveyQuestionTypesEnum.readOnlyQuestion: break; - case O.SurveyQuestionTypesEnum.npsQuestion: - if (e3.followUpQuestionText) if (this.followUpQuestion.options.setAllowModeBuilder(true), this.followUpQuestion.options.setDefaultToBuilderId(a.builderIds.parts.genericCommunication), (0, I.surveyQuestionHasNa)(e3)) { - const t4 = D(this.parentFlow.defaultLanguage), i3 = (0, r2.sprintf)(t4.askSurveyQuestion.surveyAnswerNotApplicableWithQuestionSequence, e3.followUpQuestionText); + case v.SurveyQuestionTypesEnum.npsQuestion: + if (e3.followUpQuestionText) if (this.followUpQuestion.options.setAllowModeBuilder(true), this.followUpQuestion.options.setDefaultToBuilderId(a.builderIds.parts.genericCommunication), (0, O.surveyQuestionHasNa)(e3)) { + const t4 = P(this.parentFlow.defaultLanguage), i3 = (0, r2.sprintf)(t4.askSurveyQuestion.surveyAnswerNotApplicableWithQuestionSequence, e3.followUpQuestionText); this.followUpQuestion.setCommunicationBuilderText(i3, true); } else this.followUpQuestion.setCommunicationBuilderText(e3.followUpQuestionText, true); break; default: this.answer.options.setAllowModeBuilder(true), this.answer.options.setDefaultToBuilderId(a.builderIds.parts.genericCommunication), this.answer.setCommunicationBuilderText(this._generateAnswerOutputText(e3.answerOptions, e3.naEnabled), true); } - return (0, I.surveyQuestionHasNa)(this.surveyFormQuestion) && (this.notApplicable.setModeWithTransition(l.literal, void 0), this.notApplicable.setAsLiteral(s.default.star)), this._updatePropertiesOOS(), v.validateAction(this, true, true), v.validateNode(this.parentFlow.voiceSurveyFlowSettings, true), true; + return (0, O.surveyQuestionHasNa)(this.surveyFormQuestion) && (this.notApplicable.setModeWithTransition(l.literal, void 0), this.notApplicable.setAsLiteral(s.default.star)), this._updatePropertiesOOS(), I.validateAction(this, true, true), I.validateNode(this.parentFlow.voiceSurveyFlowSettings, true), true; } destroy() { - return this.parentFlow.isDestroyedOrDestroying || v.validateNode(this.parentFlow.voiceSurveyFlowSettings, true), super.destroy(); + return this.parentFlow.isDestroyedOrDestroying || I.validateNode(this.parentFlow.voiceSurveyFlowSettings, true), super.destroy(); } updateSurveyFormQuestionDynamicProps() { this.surveyFormQuestion ? this.surveyQuestionResult.setAsExpression(this.surveyFormQuestion.variableName) : this.surveyQuestionResult.setAsExpression(""); @@ -83767,10 +90260,10 @@ ${e3.stack}`, n3 = [this].concat(i3); var e3, t3, i3; super._updatePropertiesOOS(); const n3 = !!(null === (t3 = null === (e3 = this.surveyFormQuestion) || void 0 === e3 ? void 0 : e3.answerOptions) || void 0 === t3 ? void 0 : t3.length); - this.surveyQuestion.outOfService = false, this.answer.outOfService = !n3, this.mirroredAnswerOptions.outOfService = !n3, this.followUpQuestion.outOfService = !(null === (i3 = this.surveyFormQuestion) || void 0 === i3 ? void 0 : i3.followUpQuestionText), this.question.outOfService = !this.surveyFormQuestion, this.questionCondition.outOfService = !this.surveyFormQuestion, this.mirroredQuestionType.outOfService = !this.surveyFormQuestion, this.surveyQuestionResult.outOfService = !this.surveyFormQuestion, this.notApplicable.outOfService = !(0, I.surveyQuestionHasNa)(this.surveyFormQuestion), this.customizeNoInput.outOfService = this._isNoneOrReadOnlyQuestion, this.customizeNoMatch.outOfService = this._isNoneOrReadOnlyQuestion, this.voiceEndOfInputTimeout.outOfService = this._isNoneOrReadOnlyQuestion; + this.surveyQuestion.outOfService = false, this.answer.outOfService = !n3, this.mirroredAnswerOptions.outOfService = !n3, this.followUpQuestion.outOfService = !(null === (i3 = this.surveyFormQuestion) || void 0 === i3 ? void 0 : i3.followUpQuestionText), this.question.outOfService = !this.surveyFormQuestion, this.questionCondition.outOfService = !this.surveyFormQuestion, this.mirroredQuestionType.outOfService = !this.surveyFormQuestion, this.surveyQuestionResult.outOfService = !this.surveyFormQuestion, this.notApplicable.outOfService = !(0, O.surveyQuestionHasNa)(this.surveyFormQuestion), this.customizeNoInput.outOfService = this._isNoneOrReadOnlyQuestion, this.customizeNoMatch.outOfService = this._isNoneOrReadOnlyQuestion, this.voiceEndOfInputTimeout.outOfService = this._isNoneOrReadOnlyQuestion; } get _isNoneOrReadOnlyQuestion() { - return !this.surveyFormQuestion || this.surveyFormQuestion.questionType === O.SurveyQuestionTypesEnum.readOnlyQuestion; + return !this.surveyFormQuestion || this.surveyFormQuestion.questionType === v.SurveyQuestionTypesEnum.readOnlyQuestion; } _isNoInputOOS() { return this._isNoneOrReadOnlyQuestion || super._isNoInputOOS(); @@ -83785,7 +90278,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._isNoneOrReadOnlyQuestion || super._isNoMatchRepromptsOOS(); } _generateAnswerOutputText(e3, t3) { - const i3 = D(this.parentFlow.defaultLanguage), n3 = []; + const i3 = P(this.parentFlow.defaultLanguage), n3 = []; return e3.length ? (e3.forEach((e4) => { n3.push((0, r2.sprintf)(i3.askSurveyQuestion.surveyAnswerOptionSequence, e4.dtmf, e4.text)); }), t3 && n3.push(i3.askSurveyQuestion.surveyAnswerNotApplicableSequence), (0, T.getSentenceListDisplayString)(n3)) : ""; @@ -83799,11 +90292,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return o.default.extend(super.yamlPropertyOrderMap, { surveyQuestion: 15 }); } _validateDuplicateDTMF(e3) { - var t3; - const i3 = this.notApplicable.getStringTypeDesignTimeValue(); - if (i3) { - const n3 = null === (t3 = this.parentFlow.userInputSettings.dtmfTerminatingCharacter) || void 0 === t3 ? void 0 : t3.getStringTypeDesignTimeValue(); - (0, S.getQuestionDtmfAnswerOptionMap)(this.surveyFormQuestion)[i3] ? e3.addExpressionError(this.notApplicable, (0, r2.sprintf)(P.voiceSurvey.voiceSurveyDuplicateDtmfError, i3)) : i3 === n3 && e3.addExpressionError(this.notApplicable, P.voiceSurvey.voiceSurveyNotApplicableSetAsTerminatingCharacter); + const t3 = this.notApplicable.type.getDesignTimeStringValue(this.notApplicable); + if (t3) { + const i3 = this.parentFlow.userInputSettings.dtmfTerminatingCharacter, n3 = null == i3 ? void 0 : i3.type.getDesignTimeStringValue(i3); + (0, S.getQuestionDtmfAnswerOptionMap)(this.surveyFormQuestion)[t3] ? e3.addExpressionError(this.notApplicable, (0, r2.sprintf)(M.voiceSurvey.voiceSurveyDuplicateDtmfError, t3)) : t3 === n3 && e3.addExpressionError(this.notApplicable, M.voiceSurvey.voiceSurveyNotApplicableSetAsTerminatingCharacter); } } validate(e3) { @@ -83811,10 +90303,10 @@ ${e3.stack}`, n3 = [this].concat(i3); } _setQuestionProperty(e3) { switch (this.question.mode = l.noValue, e3.questionType) { - case O.SurveyQuestionTypesEnum.freeTextQuestion: - case O.SurveyQuestionTypesEnum.readOnlyQuestion: - if ((0, I.surveyQuestionHasNa)(e3)) { - const t3 = D(this.parentFlow.defaultLanguage), i3 = (0, r2.sprintf)(t3.askSurveyQuestion.surveyAnswerNotApplicableWithQuestionSequence, e3.questionText); + case v.SurveyQuestionTypesEnum.freeTextQuestion: + case v.SurveyQuestionTypesEnum.readOnlyQuestion: + if ((0, O.surveyQuestionHasNa)(e3)) { + const t3 = P(this.parentFlow.defaultLanguage), i3 = (0, r2.sprintf)(t3.askSurveyQuestion.surveyAnswerNotApplicableWithQuestionSequence, e3.questionText); this.question.setCommunicationBuilderText(i3, true); } else this.question.setCommunicationBuilderText(e3.questionText, true); break; @@ -83823,7 +90315,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } } } - M.info = b.default.createActionInfo({ actionClass: M, canBeInTask: true, helpTopic: C.helpTopics.actions.askSurveyQuestion, modelClass: i2(44900), name: P.actions.askSurveyQuestion, scriptingName: "ArchActionAskSurveyQuestion", supportsUtteranceHistoricalData: true }), t2.A = M; + F.info = b.default.createActionInfo({ actionClass: F, canBeInTask: true, helpTopic: C.helpTopics.actions.askSurveyQuestion, modelClass: i2(44900), name: M.actions.askSurveyQuestion, scriptingName: "ArchActionAskSurveyQuestion", supportsUtteranceHistoricalData: true, modelFormatSupport: { flowYaml: { inProgress: true, feature: D.default.changeSetsFeaturePhase2 } } }), t2.A = F; }, 71056: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeNetworkObjectOptions = void 0; @@ -83846,9 +90338,9 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 71071: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(61610)), o = i2(96618), a = i2(12179), s = i2(30801), l = n2.__importDefault(i2(97891)), u = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(4648)), o = n2.__importDefault(i2(61610)), a = i2(96618), s = i2(12179), l = i2(30801), u = n2.__importDefault(i2(97891)), c = i2(47957); i2(85148); - class d extends r2.default { + class d extends o.default { constructor(e3, t3) { super(e3), this._loadModel(t3); } @@ -83865,13 +90357,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return false; } validate(e3) { - this.isNameUnique() || e3.addError(this, u.task.multipleNames), 0 === this.actions.length && e3.addError(this, u.task.containsNoActions); + this.isNameUnique() || e3.addError(this, c.task.multipleNames), 0 === this.actions.length && e3.addError(this, c.task.containsNoActions); } } - d.info = l.default.createReusableNodeInfo({ actionType: s.loopTaskActionType, actionClass: d, helpTopic: a.helpTopics.tasks.task, name: u.loopTask, supportedFlowTypes: [o.flowTypes.flowTypeInQueueCall] }), t2.default = d; + d.info = u.default.createReusableNodeInfo({ actionType: l.loopTaskActionType, actionClass: d, helpTopic: s.helpTopics.tasks.task, name: c.loopTask, supportedFlowTypes: [a.flowTypes.flowTypeInQueueCall], modelFormatSupport: { flowYaml: { inProgress: true, feature: r2.default.changeSetsFeaturePhase2 } } }), t2.default = d; }, 71075: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(36932), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(80428), u = i2(79467), d = i2(49892), c = i2(99469), p = n2.__importDefault(i2(27203)), _ = i2(87889), h = n2.__importStar(i2(36781)), m = n2.__importStar(i2(10798)), g = n2.__importStar(i2(75669)), f = i2(60609), T = i2(96546), y = i2(1115), S = n2.__importDefault(i2(4648)), A = i2(12179), N = i2(12457), O = n2.__importDefault(i2(97891)), I = i2(54057), v = i2(28803), C = i2(87870), b = i2(24338), E = n2.__importDefault(i2(80570)), R = i2(47957), w = i2(21733); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(36932), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(80428), u = i2(79467), c = i2(49892), d = i2(99469), p = n2.__importDefault(i2(27203)), _ = i2(87889), h = n2.__importStar(i2(36781)), m = n2.__importStar(i2(10798)), g = n2.__importStar(i2(75669)), f = i2(60609), T = i2(96546), y = i2(1115), S = n2.__importDefault(i2(4648)), A = i2(12179), N = i2(12457), v = n2.__importDefault(i2(97891)), O = i2(54057), I = i2(28803), C = i2(87870), b = i2(24338), E = n2.__importDefault(i2(80570)), w = i2(47957), R = i2(21733); class D extends E.default { constructor(e3, t3) { super(e3), this.responseManager = _.formResponseManager, this._loadModel(t3), this.noInput.options.setBuilderLanguagesSequenceConfig(o.formSequences.noInputDigitalBotSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(o.formSequences.noMatchDigitalBotSequence); @@ -83909,18 +90401,18 @@ ${e3.stack}`, n3 = [this].concat(i3); return m.isFeatureAvailable(S.default.botFlowsEnhancedRecognitionFailureHandling) ? [...e3, p.default.maxNoMatchesOptional] : e3; } setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3), this.setNewInstanceNoInputText(w(this.parentFlow.defaultLanguage).form.noInputDigitalBot), this.setNewInstanceNoMatchText(w(this.parentFlow.defaultLanguage).form.noMatchDigitalBot); + super.setNewInstanceDefaults(e3), this.setNewInstanceNoInputText(R(this.parentFlow.defaultLanguage).form.noInputDigitalBot), this.setNewInstanceNoMatchText(R(this.parentFlow.defaultLanguage).form.noMatchDigitalBot); } getDetails() { var e3; - if ((null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.name) && this.formName) return new N.ActionDetails([R.form.formActionLibrary, R.form.formLabel], [this.responseLibrary.name, this.formName]); + if ((null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.name) && this.formName) return new N.ActionDetails([w.form.formActionLibrary, w.form.formLabel], [this.responseLibrary.name, this.formName]); } static get managedProperties() { - return [{ createDetails: C.NoteActionProperty.createCreateDetails(m.isFeatureAvailable(S.default.botFlowsWebMessagingForm) ? R.form.formChannelNoteWithWebMessaging : R.form.formChannelNote, "info", "formChannelNote"), options: d.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(1)), property: "channelAlert", yamlOptions: D.createYamlOptions("channelAlert", (e3) => e3.setSkipProperty(true)) }, { label: R.form.formActionLibrary, options: c.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("library").setUiPropertyOrder(2).setDropdownPlaceholder(R.form.formActionSelectLibrary).setDescriptionInfo(R.form.formActionLibrary, R.form.formActionLibraryDescription)), property: "library", createDetails: b.ResponseLibraryProperty.createCreateDetails(R.form.formResponseLibraryDoesNotContainForm, R.form.formNoResponseLibrariesContainForm, R.form.formActionMustSelectLibrary), yamlOptions: D.createYamlOptions("library", (e3) => e3) }, { label: R.form.formLabel, options: c.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("form").setUiPropertyOrder(3).setDropdownPlaceholder(R.form.selectForm)), property: "form", createDetails: v.NetworkBasedActionProperty.createCreateDetails("formId", "formName", _.formResponseManager, R.form.formActionMustSelectForm, R.form.formNotFound, null, (e3) => e3.action._getAdditionalSearchParams(), (e3, t3) => e3.action._searchFilterCallback(t3)), yamlOptions: D.createYamlOptions("form", (e3) => e3.setSkipProperty(true)) }, { label: R.form.formCompletionTimeout, options: u.ExpressionTypeDurationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("formCompletionTimeout").setDescriptionInfo(R.form.formCompletionTimeout, R.form.formCompletionTimeoutDescription).setDefaultText(a.default.litDurationThreeMinutes).setUiPropertyOrder(4).setDurationStyle(s.durationStyles.fullDuration).facets.setMinDur(30 * a.default.msPerSecond, true).setMaxDur(3 * a.default.msPerDay, true)), property: "formCompletionTimeout", type: l.expressionTypeNames.duration }, { dataList: true, isOutput: true, label: R.form.formPages, options: d.ExpressionTypelessOptions.create((e3) => e3.setAsOutput().setUiPropertyOrder(6).setIsOptional(true)), property: "outputs", yamlOptions: D.createYamlOptions("outputs", (e3) => e3.setPropertyName("formOutputs")) }]; + return [{ createDetails: C.NoteActionProperty.createCreateDetails(m.isFeatureAvailable(S.default.botFlowsWebMessagingForm) ? w.form.formChannelNoteWithWebMessaging : w.form.formChannelNote, "info", "formChannelNote"), options: c.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(1)), property: "channelAlert", yamlOptions: D.createYamlOptions("channelAlert", (e3) => e3.setSkipProperty(true)) }, { label: w.form.formActionLibrary, options: d.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("library").setUiPropertyOrder(2).setDropdownPlaceholder(w.form.formActionSelectLibrary).setDescriptionInfo(w.form.formActionLibrary, w.form.formActionLibraryDescription)), property: "library", createDetails: b.ResponseLibraryProperty.createCreateDetails(w.form.formResponseLibraryDoesNotContainForm, w.form.formNoResponseLibrariesContainForm, w.form.formActionMustSelectLibrary), yamlOptions: D.createYamlOptions("library", (e3) => e3) }, { label: w.form.formLabel, options: d.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("form").setUiPropertyOrder(3).setDropdownPlaceholder(w.form.selectForm)), property: "form", createDetails: I.NetworkBasedActionProperty.createCreateDetails("formId", "formName", _.formResponseManager, w.form.formActionMustSelectForm, w.form.formNotFound, null, (e3) => e3.action._getAdditionalSearchParams(), (e3, t3) => e3.action._searchFilterCallback(t3)), yamlOptions: D.createYamlOptions("form", (e3) => e3.setSkipProperty(true)) }, { label: w.form.formCompletionTimeout, options: u.ExpressionTypeDurationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("formCompletionTimeout").setDescriptionInfo(w.form.formCompletionTimeout, w.form.formCompletionTimeoutDescription).setDefaultText(a.default.litDurationThreeMinutes).setUiPropertyOrder(4).setDurationStyle(s.durationStyles.fullDuration).facets.setMinDur(30 * a.default.msPerSecond, true).setMaxDur(3 * a.default.msPerDay, true)), property: "formCompletionTimeout", type: l.expressionTypeNames.duration }, { dataList: true, isOutput: true, label: w.form.formPages, options: c.ExpressionTypelessOptions.create((e3) => e3.setAsOutput().setUiPropertyOrder(6).setIsOptional(true)), property: "outputs", yamlOptions: D.createYamlOptions("outputs", (e3) => e3.setPropertyName("formOutputs")) }]; } _getAdditionalSearchParams() { var e3; - if (null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.id) return { filters: (0, I.createResponseLibrarySearchFilters)(this.responseLibrary.id) }; + if (null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.id) return { filters: (0, O.createResponseLibrarySearchFilters)(this.responseLibrary.id) }; } _searchFilterCallback(e3) { var t3; @@ -83954,7 +90446,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return e3.formOutputs ? r2.default.moveAndDeleteProperty(e3, a2, "formOutputs") : r2.default.ensureYamlNoneTrue(a2), true; } } - D.info = O.default.createActionInfo({ actionClass: D, canBeInTask: true, helpTopic: A.helpTopics.actions.form, modelClass: i2(94335), name: R.actions.form, scriptingName: "ArchActionForm", supportedSessionSources: T.appleBusinessOnly, supportsUtteranceHistoricalData: true }), t2.A = D; + D.info = v.default.createActionInfo({ actionClass: D, canBeInTask: true, helpTopic: A.helpTopics.actions.form, modelClass: i2(94335), modelFormatSupport: { flowYaml: { inProgress: true, feature: S.default.changeSetsFeaturePhase2 } }, name: w.actions.form, scriptingName: "ArchActionForm", supportedSessionSources: T.appleBusinessOnly, supportsUtteranceHistoricalData: true }), t2.A = D; }, 71111: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.WrapupCodeType = void 0; @@ -84008,6 +90500,11 @@ ${e3.stack}`, n3 = [this].concat(i3); }, set: function(e3) { this._languageCode = this.reviveItem(e3, r2); } } }), e2.exports = a; + }, 71157: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.allAssignedCustomerSegmentsFailureReasons = t2.getAssignedCustomerSegmentsFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), r2 = { actionInvocationLimitExceeded: "ActionInvocationLimitExceeded", generalError: "GeneralError", invalidExternalContact: "InvalidExternalContact", customerSegmentsCollectionLimitExceeded: "CustomerSegmentsCollectionLimitExceeded" }, o = [r2.generalError]; + t2.getAssignedCustomerSegmentsFailureReasons = n2.default.uniq(o.concat([r2.actionInvocationLimitExceeded, r2.invalidExternalContact, r2.customerSegmentsCollectionLimitExceeded])), t2.allAssignedCustomerSegmentsFailureReasons = r2; }, 71191: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -84035,8 +90532,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = l; }, 71222: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(27203)), o = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(97891)), l = i2(81516), u = i2(20083), d = i2(99769), c = i2(80428), p = i2(38551), _ = n2.__importStar(i2(36781)), h = n2.__importDefault(i2(92140)), m = i2(87870), g = i2(47957); - class f extends a.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(27203)), o = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(97891)), l = i2(81516), u = i2(20083), c = i2(99769), d = i2(80428), p = i2(38551), _ = n2.__importStar(i2(36781)), h = n2.__importDefault(i2(92140)), m = i2(87870), g = n2.__importDefault(i2(4648)), f = i2(47957); + class T extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -84052,7 +90549,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.default.successFailure; } static get managedProperties() { - return [{ label: g.sendKnowledgeFeedback.knowledgeArticleLabel, options: u.ExpressionTypeKnowledgeBaseDocumentOptions.create((e3) => e3.setDescriptionInfo(g.sendKnowledgeFeedback.knowledgeArticleLabel, g.sendKnowledgeFeedback.knowledgeArticleDescription).setAllowModeExpressionOnly(false).setUiDisableOnOutOfService(true).setIninTestingField("knowledge-feedback-article")), property: "knowledgeArticle", type: c.expressionTypeNames.knowledgeBaseDocument }, { label: g.sendKnowledgeFeedback.knowledgeSearchIdLabel, options: l.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setIninTestingField("knowledge-feedback-search-id").setDefaultText("Session.LastKnowledgeSearchId").setUiDisableOnOutOfService(true).setDefaultToExpression(true)), property: "knowledgeSearchId", type: c.expressionTypeNames.string }, { label: g.sendKnowledgeFeedback.knowledgeFeedbackLabel, options: l.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(g.sendKnowledgeFeedback.knowledgeFeedbackLabel, g.sendKnowledgeFeedback.knowledgeFeedbackDescription).setIninTestingField("knowledge-feedback-values").setUiDisableOnOutOfService(true).setAllowModeBuilder(false).facets.setAllowableValues(d.allKnowledgeFeedbackValues)), property: "knowledgeFeedback", type: c.expressionTypeNames.string }, { createDetails: m.NoteActionProperty.createCreateDetails(g.sendKnowledgeFeedback.knowledgeSettingAlert, "info", "knowledgeFeedbackV3Alert", void 0), property: "knowledgeFeedbackV3Alert", yamlOptions: f.createYamlOptions("knowledgeFeedbackV3Alert", (e3) => e3.setSkipProperty(true)) }]; + return [{ label: f.sendKnowledgeFeedback.knowledgeArticleLabel, options: u.ExpressionTypeKnowledgeBaseDocumentOptions.create((e3) => e3.setDescriptionInfo(f.sendKnowledgeFeedback.knowledgeArticleLabel, f.sendKnowledgeFeedback.knowledgeArticleDescription).setAllowModeExpressionOnly(false).setUiDisableOnOutOfService(true).setIninTestingField("knowledge-feedback-article")), property: "knowledgeArticle", type: d.expressionTypeNames.knowledgeBaseDocument }, { label: f.sendKnowledgeFeedback.knowledgeSearchIdLabel, options: l.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setIninTestingField("knowledge-feedback-search-id").setDefaultText("Session.LastKnowledgeSearchId").setUiDisableOnOutOfService(true).setDefaultToExpression(true)), property: "knowledgeSearchId", type: d.expressionTypeNames.string }, { label: f.sendKnowledgeFeedback.knowledgeFeedbackLabel, options: l.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(f.sendKnowledgeFeedback.knowledgeFeedbackLabel, f.sendKnowledgeFeedback.knowledgeFeedbackDescription).setIninTestingField("knowledge-feedback-values").setUiDisableOnOutOfService(true).setAllowModeBuilder(false).facets.setAllowableValues(c.allKnowledgeFeedbackValues)), property: "knowledgeFeedback", type: d.expressionTypeNames.string }, { createDetails: m.NoteActionProperty.createCreateDetails(f.sendKnowledgeFeedback.knowledgeSettingAlert, "info", "knowledgeFeedbackV3Alert", void 0), property: "knowledgeFeedbackV3Alert", yamlOptions: T.createYamlOptions("knowledgeFeedbackV3Alert", (e3) => e3.setSkipProperty(true)) }]; } _setKnowledgeVersionSettings(e3) { e3 === p.KnowledgeVersionValues.v3 ? (h.default.each(this.managedPropertyViewModels, (e4) => { @@ -84062,7 +90559,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }), this.knowledgeFeedbackV3Alert.outOfService = true); } } - f.info = s.default.createActionInfo({ actionClass: f, canBeInTask: true, canBeTreeNode: false, helpTopic: o.helpTopics.actions.sendKnowledgeFeedback, modelClass: i2(53548), name: g.actions.sendKnowledgeFeedback, scriptingName: "ArchActionSendKnowledgeFeedback" }), t2.A = f; + T.info = s.default.createActionInfo({ actionClass: T, canBeInTask: true, canBeTreeNode: false, helpTopic: o.helpTopics.actions.sendKnowledgeFeedback, modelClass: i2(53548), name: f.actions.sendKnowledgeFeedback, scriptingName: "ArchActionSendKnowledgeFeedback", modelFormatSupport: { flowYaml: { inProgress: true, feature: g.default.changeSetsFeaturePhase2 } } }), t2.A = T; }, 71240: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.IntentUtil = void 0; @@ -84155,7 +90652,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 71439: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.lexV2AliasManager = t2.LexV2AliasManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(30801), d = n2.__importDefault(i2(44374)), c = i2(9485), p = i2(47957), _ = i2(27862), h = i2(44931); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(30801), c = n2.__importDefault(i2(44374)), d = i2(9485), p = i2(47957), _ = i2(27862), h = i2(44931); class m extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.integrationView; @@ -84167,19 +90664,19 @@ ${e3.stack}`, n3 = [this].concat(i3); super(), this.topic = a.getTopic("LexV2AliasManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [u.lexV2ActionType], this.actionPropertyForUsageSearch = "alias", this.apiCallList = h.getV2Aliases, this.apiCallSingle = h.getV2Alias, this.className = "LexV2AliasManager", this.defaultMatchingStyle = o.exactMatch, this.dependencyContext = p.lex.lexV2BotAlias, this.isDependentOnCategory = true, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "lexV2BotAliases", this._initialize(); } _createItemViewModel(e3) { - return new d.default(e3); + return new c.default(e3); } getBotCategoryForBotRunnable(e3) { if (!r2.default.isString(e3)) return this.topic.error("Object passed to getBotCategoryForBotRunnable was not a string: " + e3), null; const t3 = this.items[e3.toLowerCase()]; - return t3 ? c.lexV2BotNameManager.getItem(t3.botId) : null; + return t3 ? d.lexV2BotNameManager.getItem(t3.botId) : null; } } t2.LexV2AliasManager = m, t2.lexV2AliasManager = new m(); }, 71447: (e2, t2, i2) => { "use strict"; - var n2 = i2(9805), r2 = i2(53269), o = i2(14823), a = i2(47293), s = i2(21998), l = -2, u = 12, d = 30; - function c(e3) { + var n2 = i2(9805), r2 = i2(53269), o = i2(14823), a = i2(47293), s = i2(21998), l = -2, u = 12, c = 30; + function d(e3) { return (e3 >>> 24 & 255) + (e3 >>> 8 & 65280) + ((65280 & e3) << 8) + ((255 & e3) << 24); } function p() { @@ -84221,9 +90718,9 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.inflateReset = h, t2.inflateReset2 = m, t2.inflateResetKeep = _, t2.inflateInit = function(e3) { return g(e3, 15); }, t2.inflateInit2 = g, t2.inflate = function(e3, t3) { - var i3, p2, _2, h2, m2, g2, f2, T2, y2, N, O, I, v, C, b, E, R, w, D, P, M, F, L, x, k = 0, V = new n2.Buf8(4), U = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]; + var i3, p2, _2, h2, m2, g2, f2, T2, y2, N, v, O, I, C, b, E, w, R, D, P, M, F, L, x, k = 0, V = new n2.Buf8(4), U = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]; if (!e3 || !e3.state || !e3.output || !e3.input && 0 !== e3.avail_in) return l; - (i3 = e3.state).mode === u && (i3.mode = 13), m2 = e3.next_out, _2 = e3.output, f2 = e3.avail_out, h2 = e3.next_in, p2 = e3.input, g2 = e3.avail_in, T2 = i3.hold, y2 = i3.bits, N = g2, O = f2, F = 0; + (i3 = e3.state).mode === u && (i3.mode = 13), m2 = e3.next_out, _2 = e3.output, f2 = e3.avail_out, h2 = e3.next_in, p2 = e3.input, g2 = e3.avail_in, T2 = i3.hold, y2 = i3.bits, N = g2, v = f2, F = 0; e: for (; ; ) switch (i3.mode) { case 1: if (0 === i3.wrap) { @@ -84239,16 +90736,16 @@ ${e3.stack}`, n3 = [this].concat(i3); break; } if (i3.flags = 0, i3.head && (i3.head.done = false), !(1 & i3.wrap) || (((255 & T2) << 8) + (T2 >> 8)) % 31) { - e3.msg = "incorrect header check", i3.mode = d; + e3.msg = "incorrect header check", i3.mode = c; break; } if (8 != (15 & T2)) { - e3.msg = "unknown compression method", i3.mode = d; + e3.msg = "unknown compression method", i3.mode = c; break; } if (y2 -= 4, M = 8 + (15 & (T2 >>>= 4)), 0 === i3.wbits) i3.wbits = M; else if (M > i3.wbits) { - e3.msg = "invalid window size", i3.mode = d; + e3.msg = "invalid window size", i3.mode = c; break; } i3.dmax = 1 << M, e3.adler = i3.check = 1, i3.mode = 512 & T2 ? 10 : u, T2 = 0, y2 = 0; @@ -84259,11 +90756,11 @@ ${e3.stack}`, n3 = [this].concat(i3); g2--, T2 += p2[h2++] << y2, y2 += 8; } if (i3.flags = T2, 8 != (255 & i3.flags)) { - e3.msg = "unknown compression method", i3.mode = d; + e3.msg = "unknown compression method", i3.mode = c; break; } if (57344 & i3.flags) { - e3.msg = "unknown header flags set", i3.mode = d; + e3.msg = "unknown header flags set", i3.mode = c; break; } i3.head && (i3.head.text = T2 >> 8 & 1), 512 & i3.flags && (V[0] = 255 & T2, V[1] = T2 >>> 8 & 255, i3.check = o(i3.check, V, 2, 0)), T2 = 0, y2 = 0, i3.mode = 3; @@ -84289,26 +90786,26 @@ ${e3.stack}`, n3 = [this].concat(i3); } else i3.head && (i3.head.extra = null); i3.mode = 6; case 6: - if (1024 & i3.flags && ((I = i3.length) > g2 && (I = g2), I && (i3.head && (M = i3.head.extra_len - i3.length, i3.head.extra || (i3.head.extra = new Array(i3.head.extra_len)), n2.arraySet(i3.head.extra, p2, h2, I, M)), 512 & i3.flags && (i3.check = o(i3.check, p2, I, h2)), g2 -= I, h2 += I, i3.length -= I), i3.length)) break e; + if (1024 & i3.flags && ((O = i3.length) > g2 && (O = g2), O && (i3.head && (M = i3.head.extra_len - i3.length, i3.head.extra || (i3.head.extra = new Array(i3.head.extra_len)), n2.arraySet(i3.head.extra, p2, h2, O, M)), 512 & i3.flags && (i3.check = o(i3.check, p2, O, h2)), g2 -= O, h2 += O, i3.length -= O), i3.length)) break e; i3.length = 0, i3.mode = 7; case 7: if (2048 & i3.flags) { if (0 === g2) break e; - I = 0; + O = 0; do { - M = p2[h2 + I++], i3.head && M && i3.length < 65536 && (i3.head.name += String.fromCharCode(M)); - } while (M && I < g2); - if (512 & i3.flags && (i3.check = o(i3.check, p2, I, h2)), g2 -= I, h2 += I, M) break e; + M = p2[h2 + O++], i3.head && M && i3.length < 65536 && (i3.head.name += String.fromCharCode(M)); + } while (M && O < g2); + if (512 & i3.flags && (i3.check = o(i3.check, p2, O, h2)), g2 -= O, h2 += O, M) break e; } else i3.head && (i3.head.name = null); i3.length = 0, i3.mode = 8; case 8: if (4096 & i3.flags) { if (0 === g2) break e; - I = 0; + O = 0; do { - M = p2[h2 + I++], i3.head && M && i3.length < 65536 && (i3.head.comment += String.fromCharCode(M)); - } while (M && I < g2); - if (512 & i3.flags && (i3.check = o(i3.check, p2, I, h2)), g2 -= I, h2 += I, M) break e; + M = p2[h2 + O++], i3.head && M && i3.length < 65536 && (i3.head.comment += String.fromCharCode(M)); + } while (M && O < g2); + if (512 & i3.flags && (i3.check = o(i3.check, p2, O, h2)), g2 -= O, h2 += O, M) break e; } else i3.head && (i3.head.comment = null); i3.mode = 9; case 9: @@ -84318,7 +90815,7 @@ ${e3.stack}`, n3 = [this].concat(i3); g2--, T2 += p2[h2++] << y2, y2 += 8; } if (T2 !== (65535 & i3.check)) { - e3.msg = "header crc mismatch", i3.mode = d; + e3.msg = "header crc mismatch", i3.mode = c; break; } T2 = 0, y2 = 0; @@ -84330,7 +90827,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (0 === g2) break e; g2--, T2 += p2[h2++] << y2, y2 += 8; } - e3.adler = i3.check = c(T2), T2 = 0, y2 = 0, i3.mode = 11; + e3.adler = i3.check = d(T2), T2 = 0, y2 = 0, i3.mode = 11; case 11: if (0 === i3.havedict) return e3.next_out = m2, e3.avail_out = f2, e3.next_in = h2, e3.avail_in = g2, i3.hold = T2, i3.bits = y2, 2; e3.adler = i3.check = 1, i3.mode = u; @@ -84359,7 +90856,7 @@ ${e3.stack}`, n3 = [this].concat(i3); i3.mode = 17; break; case 3: - e3.msg = "invalid block type", i3.mode = d; + e3.msg = "invalid block type", i3.mode = c; } T2 >>>= 2, y2 -= 2; break; @@ -84369,16 +90866,16 @@ ${e3.stack}`, n3 = [this].concat(i3); g2--, T2 += p2[h2++] << y2, y2 += 8; } if ((65535 & T2) != (T2 >>> 16 ^ 65535)) { - e3.msg = "invalid stored block lengths", i3.mode = d; + e3.msg = "invalid stored block lengths", i3.mode = c; break; } if (i3.length = 65535 & T2, T2 = 0, y2 = 0, i3.mode = 15, 6 === t3) break e; case 15: i3.mode = 16; case 16: - if (I = i3.length) { - if (I > g2 && (I = g2), I > f2 && (I = f2), 0 === I) break e; - n2.arraySet(_2, p2, h2, I, m2), g2 -= I, h2 += I, f2 -= I, m2 += I, i3.length -= I; + if (O = i3.length) { + if (O > g2 && (O = g2), O > f2 && (O = f2), 0 === O) break e; + n2.arraySet(_2, p2, h2, O, m2), g2 -= O, h2 += O, f2 -= O, m2 += O, i3.length -= O; break; } i3.mode = u; @@ -84389,7 +90886,7 @@ ${e3.stack}`, n3 = [this].concat(i3); g2--, T2 += p2[h2++] << y2, y2 += 8; } if (i3.nlen = 257 + (31 & T2), T2 >>>= 5, y2 -= 5, i3.ndist = 1 + (31 & T2), T2 >>>= 5, y2 -= 5, i3.ncode = 4 + (15 & T2), T2 >>>= 4, y2 -= 4, i3.nlen > 286 || i3.ndist > 30) { - e3.msg = "too many length or distance symbols", i3.mode = d; + e3.msg = "too many length or distance symbols", i3.mode = c; break; } i3.have = 0, i3.mode = 18; @@ -84403,59 +90900,59 @@ ${e3.stack}`, n3 = [this].concat(i3); } for (; i3.have < 19; ) i3.lens[U[i3.have++]] = 0; if (i3.lencode = i3.lendyn, i3.lenbits = 7, L = { bits: i3.lenbits }, F = s(0, i3.lens, 0, 19, i3.lencode, 0, i3.work, L), i3.lenbits = L.bits, F) { - e3.msg = "invalid code lengths set", i3.mode = d; + e3.msg = "invalid code lengths set", i3.mode = c; break; } i3.have = 0, i3.mode = 19; case 19: for (; i3.have < i3.nlen + i3.ndist; ) { - for (; E = (k = i3.lencode[T2 & (1 << i3.lenbits) - 1]) >>> 16 & 255, R = 65535 & k, !((b = k >>> 24) <= y2); ) { + for (; E = (k = i3.lencode[T2 & (1 << i3.lenbits) - 1]) >>> 16 & 255, w = 65535 & k, !((b = k >>> 24) <= y2); ) { if (0 === g2) break e; g2--, T2 += p2[h2++] << y2, y2 += 8; } - if (R < 16) T2 >>>= b, y2 -= b, i3.lens[i3.have++] = R; + if (w < 16) T2 >>>= b, y2 -= b, i3.lens[i3.have++] = w; else { - if (16 === R) { + if (16 === w) { for (x = b + 2; y2 < x; ) { if (0 === g2) break e; g2--, T2 += p2[h2++] << y2, y2 += 8; } if (T2 >>>= b, y2 -= b, 0 === i3.have) { - e3.msg = "invalid bit length repeat", i3.mode = d; + e3.msg = "invalid bit length repeat", i3.mode = c; break; } - M = i3.lens[i3.have - 1], I = 3 + (3 & T2), T2 >>>= 2, y2 -= 2; - } else if (17 === R) { + M = i3.lens[i3.have - 1], O = 3 + (3 & T2), T2 >>>= 2, y2 -= 2; + } else if (17 === w) { for (x = b + 3; y2 < x; ) { if (0 === g2) break e; g2--, T2 += p2[h2++] << y2, y2 += 8; } - y2 -= b, M = 0, I = 3 + (7 & (T2 >>>= b)), T2 >>>= 3, y2 -= 3; + y2 -= b, M = 0, O = 3 + (7 & (T2 >>>= b)), T2 >>>= 3, y2 -= 3; } else { for (x = b + 7; y2 < x; ) { if (0 === g2) break e; g2--, T2 += p2[h2++] << y2, y2 += 8; } - y2 -= b, M = 0, I = 11 + (127 & (T2 >>>= b)), T2 >>>= 7, y2 -= 7; + y2 -= b, M = 0, O = 11 + (127 & (T2 >>>= b)), T2 >>>= 7, y2 -= 7; } - if (i3.have + I > i3.nlen + i3.ndist) { - e3.msg = "invalid bit length repeat", i3.mode = d; + if (i3.have + O > i3.nlen + i3.ndist) { + e3.msg = "invalid bit length repeat", i3.mode = c; break; } - for (; I--; ) i3.lens[i3.have++] = M; + for (; O--; ) i3.lens[i3.have++] = M; } } - if (i3.mode === d) break; + if (i3.mode === c) break; if (0 === i3.lens[256]) { - e3.msg = "invalid code -- missing end-of-block", i3.mode = d; + e3.msg = "invalid code -- missing end-of-block", i3.mode = c; break; } if (i3.lenbits = 9, L = { bits: i3.lenbits }, F = s(1, i3.lens, 0, i3.nlen, i3.lencode, 0, i3.work, L), i3.lenbits = L.bits, F) { - e3.msg = "invalid literal/lengths set", i3.mode = d; + e3.msg = "invalid literal/lengths set", i3.mode = c; break; } if (i3.distbits = 6, i3.distcode = i3.distdyn, L = { bits: i3.distbits }, F = s(2, i3.lens, i3.nlen, i3.ndist, i3.distcode, 0, i3.work, L), i3.distbits = L.bits, F) { - e3.msg = "invalid distances set", i3.mode = d; + e3.msg = "invalid distances set", i3.mode = c; break; } if (i3.mode = 20, 6 === t3) break e; @@ -84463,21 +90960,21 @@ ${e3.stack}`, n3 = [this].concat(i3); i3.mode = 21; case 21: if (g2 >= 6 && f2 >= 258) { - e3.next_out = m2, e3.avail_out = f2, e3.next_in = h2, e3.avail_in = g2, i3.hold = T2, i3.bits = y2, a(e3, O), m2 = e3.next_out, _2 = e3.output, f2 = e3.avail_out, h2 = e3.next_in, p2 = e3.input, g2 = e3.avail_in, T2 = i3.hold, y2 = i3.bits, i3.mode === u && (i3.back = -1); + e3.next_out = m2, e3.avail_out = f2, e3.next_in = h2, e3.avail_in = g2, i3.hold = T2, i3.bits = y2, a(e3, v), m2 = e3.next_out, _2 = e3.output, f2 = e3.avail_out, h2 = e3.next_in, p2 = e3.input, g2 = e3.avail_in, T2 = i3.hold, y2 = i3.bits, i3.mode === u && (i3.back = -1); break; } - for (i3.back = 0; E = (k = i3.lencode[T2 & (1 << i3.lenbits) - 1]) >>> 16 & 255, R = 65535 & k, !((b = k >>> 24) <= y2); ) { + for (i3.back = 0; E = (k = i3.lencode[T2 & (1 << i3.lenbits) - 1]) >>> 16 & 255, w = 65535 & k, !((b = k >>> 24) <= y2); ) { if (0 === g2) break e; g2--, T2 += p2[h2++] << y2, y2 += 8; } if (E && !(240 & E)) { - for (w = b, D = E, P = R; E = (k = i3.lencode[P + ((T2 & (1 << w + D) - 1) >> w)]) >>> 16 & 255, R = 65535 & k, !(w + (b = k >>> 24) <= y2); ) { + for (R = b, D = E, P = w; E = (k = i3.lencode[P + ((T2 & (1 << R + D) - 1) >> R)]) >>> 16 & 255, w = 65535 & k, !(R + (b = k >>> 24) <= y2); ) { if (0 === g2) break e; g2--, T2 += p2[h2++] << y2, y2 += 8; } - T2 >>>= w, y2 -= w, i3.back += w; + T2 >>>= R, y2 -= R, i3.back += R; } - if (T2 >>>= b, y2 -= b, i3.back += b, i3.length = R, 0 === E) { + if (T2 >>>= b, y2 -= b, i3.back += b, i3.length = w, 0 === E) { i3.mode = 26; break; } @@ -84486,7 +90983,7 @@ ${e3.stack}`, n3 = [this].concat(i3); break; } if (64 & E) { - e3.msg = "invalid literal/length code", i3.mode = d; + e3.msg = "invalid literal/length code", i3.mode = c; break; } i3.extra = 15 & E, i3.mode = 22; @@ -84500,22 +90997,22 @@ ${e3.stack}`, n3 = [this].concat(i3); } i3.was = i3.length, i3.mode = 23; case 23: - for (; E = (k = i3.distcode[T2 & (1 << i3.distbits) - 1]) >>> 16 & 255, R = 65535 & k, !((b = k >>> 24) <= y2); ) { + for (; E = (k = i3.distcode[T2 & (1 << i3.distbits) - 1]) >>> 16 & 255, w = 65535 & k, !((b = k >>> 24) <= y2); ) { if (0 === g2) break e; g2--, T2 += p2[h2++] << y2, y2 += 8; } if (!(240 & E)) { - for (w = b, D = E, P = R; E = (k = i3.distcode[P + ((T2 & (1 << w + D) - 1) >> w)]) >>> 16 & 255, R = 65535 & k, !(w + (b = k >>> 24) <= y2); ) { + for (R = b, D = E, P = w; E = (k = i3.distcode[P + ((T2 & (1 << R + D) - 1) >> R)]) >>> 16 & 255, w = 65535 & k, !(R + (b = k >>> 24) <= y2); ) { if (0 === g2) break e; g2--, T2 += p2[h2++] << y2, y2 += 8; } - T2 >>>= w, y2 -= w, i3.back += w; + T2 >>>= R, y2 -= R, i3.back += R; } if (T2 >>>= b, y2 -= b, i3.back += b, 64 & E) { - e3.msg = "invalid distance code", i3.mode = d; + e3.msg = "invalid distance code", i3.mode = c; break; } - i3.offset = R, i3.extra = 15 & E, i3.mode = 24; + i3.offset = w, i3.extra = 15 & E, i3.mode = 24; case 24: if (i3.extra) { for (x = i3.extra; y2 < x; ) { @@ -84525,23 +91022,23 @@ ${e3.stack}`, n3 = [this].concat(i3); i3.offset += T2 & (1 << i3.extra) - 1, T2 >>>= i3.extra, y2 -= i3.extra, i3.back += i3.extra; } if (i3.offset > i3.dmax) { - e3.msg = "invalid distance too far back", i3.mode = d; + e3.msg = "invalid distance too far back", i3.mode = c; break; } i3.mode = 25; case 25: if (0 === f2) break e; - if (I = O - f2, i3.offset > I) { - if ((I = i3.offset - I) > i3.whave && i3.sane) { - e3.msg = "invalid distance too far back", i3.mode = d; + if (O = v - f2, i3.offset > O) { + if ((O = i3.offset - O) > i3.whave && i3.sane) { + e3.msg = "invalid distance too far back", i3.mode = c; break; } - I > i3.wnext ? (I -= i3.wnext, v = i3.wsize - I) : v = i3.wnext - I, I > i3.length && (I = i3.length), C = i3.window; - } else C = _2, v = m2 - i3.offset, I = i3.length; - I > f2 && (I = f2), f2 -= I, i3.length -= I; + O > i3.wnext ? (O -= i3.wnext, I = i3.wsize - O) : I = i3.wnext - O, O > i3.length && (O = i3.length), C = i3.window; + } else C = _2, I = m2 - i3.offset, O = i3.length; + O > f2 && (O = f2), f2 -= O, i3.length -= O; do { - _2[m2++] = C[v++]; - } while (--I); + _2[m2++] = C[I++]; + } while (--O); 0 === i3.length && (i3.mode = 21); break; case 26: @@ -84554,8 +91051,8 @@ ${e3.stack}`, n3 = [this].concat(i3); if (0 === g2) break e; g2--, T2 |= p2[h2++] << y2, y2 += 8; } - if (O -= f2, e3.total_out += O, i3.total += O, O && (e3.adler = i3.check = i3.flags ? o(i3.check, _2, O, m2 - O) : r2(i3.check, _2, O, m2 - O)), O = f2, (i3.flags ? T2 : c(T2)) !== i3.check) { - e3.msg = "incorrect data check", i3.mode = d; + if (v -= f2, e3.total_out += v, i3.total += v, v && (e3.adler = i3.check = i3.flags ? o(i3.check, _2, v, m2 - v) : r2(i3.check, _2, v, m2 - v)), v = f2, (i3.flags ? T2 : d(T2)) !== i3.check) { + e3.msg = "incorrect data check", i3.mode = c; break; } T2 = 0, y2 = 0; @@ -84568,7 +91065,7 @@ ${e3.stack}`, n3 = [this].concat(i3); g2--, T2 += p2[h2++] << y2, y2 += 8; } if (T2 !== (4294967295 & i3.total)) { - e3.msg = "incorrect length check", i3.mode = d; + e3.msg = "incorrect length check", i3.mode = c; break; } T2 = 0, y2 = 0; @@ -84577,7 +91074,7 @@ ${e3.stack}`, n3 = [this].concat(i3); case 29: F = 1; break e; - case d: + case c: F = -3; break e; case 31: @@ -84585,7 +91082,7 @@ ${e3.stack}`, n3 = [this].concat(i3); default: return l; } - return e3.next_out = m2, e3.avail_out = f2, e3.next_in = h2, e3.avail_in = g2, i3.hold = T2, i3.bits = y2, (i3.wsize || O !== e3.avail_out && i3.mode < d && (i3.mode < 27 || 4 !== t3)) && A(e3, e3.output, e3.next_out, O - e3.avail_out) ? (i3.mode = 31, -4) : (N -= e3.avail_in, O -= e3.avail_out, e3.total_in += N, e3.total_out += O, i3.total += O, i3.wrap && O && (e3.adler = i3.check = i3.flags ? o(i3.check, _2, O, e3.next_out - O) : r2(i3.check, _2, O, e3.next_out - O)), e3.data_type = i3.bits + (i3.last ? 64 : 0) + (i3.mode === u ? 128 : 0) + (20 === i3.mode || 15 === i3.mode ? 256 : 0), (0 === N && 0 === O || 4 === t3) && 0 === F && (F = -5), F); + return e3.next_out = m2, e3.avail_out = f2, e3.next_in = h2, e3.avail_in = g2, i3.hold = T2, i3.bits = y2, (i3.wsize || v !== e3.avail_out && i3.mode < c && (i3.mode < 27 || 4 !== t3)) && A(e3, e3.output, e3.next_out, v - e3.avail_out) ? (i3.mode = 31, -4) : (N -= e3.avail_in, v -= e3.avail_out, e3.total_in += N, e3.total_out += v, i3.total += v, i3.wrap && v && (e3.adler = i3.check = i3.flags ? o(i3.check, _2, v, e3.next_out - v) : r2(i3.check, _2, v, e3.next_out - v)), e3.data_type = i3.bits + (i3.last ? 64 : 0) + (i3.mode === u ? 128 : 0) + (20 === i3.mode || 15 === i3.mode ? 256 : 0), (0 === N && 0 === v || 4 === t3) && 0 === F && (F = -5), F); }, t2.inflateEnd = function(e3) { if (!e3 || !e3.state) return l; var t3 = e3.state; @@ -84624,8 +91121,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 71514: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionList = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(59263), o = i2(39168), a = i2(44703), s = i2(7401); - class l extends a.ExpressionContainer { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(69453), a = i2(1910), s = i2(1910), l = i2(1910), u = i2(1910), c = n2.__importDefault(i2(73198)), d = i2(59263), p = i2(39168), _ = i2(44703), h = i2(17604), m = i2(7401); + class g extends _.ExpressionContainer { constructor(e3, t3, i3, n3, r3, o2, a2, s2) { super(e3.isFlowViewModel ? e3 : e3.parentFlow, e3, t3, o2, a2), this._transitory = s2, this.label = i3, this.isOptional = false, this.type = n3, this._initialize(); } @@ -84652,12 +91149,12 @@ ${e3.stack}`, n3 = [this].concat(i3); } validate(e3) { let t3; - this._extraValidator && (t3 = n2.default.where(this.expressions, { isLiteralMode: true })), this.expressions.forEach((i3) => { + this._extraValidator && (t3 = r2.default.where(this.expressions, { isLiteralMode: true })), this.expressions.forEach((i3) => { i3.validate(e3) && i3.isLiteralMode && t3 && this._extraValidator(e3, i3, t3); }); } _initialize() { - n2.default.each(this.model, (e3) => { + r2.default.each(this.model, (e3) => { const t3 = this.createItem(e3, void 0, this.options); this.items.push(t3); }); @@ -84668,11 +91165,11 @@ ${e3.stack}`, n3 = [this].concat(i3); }); } createItem(e3, t3, i3) { - e3 = e3 || new s(); - const n3 = this.getLabel(this.items.length), a2 = new r2.ExpressionParameters(this.parentFlow, this.parent, e3, n3); - a2.type = this.type, a2.transitory = this._transitory, a2.propertyName = this.propertyName, a2.options = this.type.createExpressionOptionClass(), a2.options.setCollectionItemFromCollectionOptions(this.options); - const l2 = new o.NormalExpression(a2); - return e3.options && e3.options.facets && (l2.options.facets = e3.options.facets), l2; + e3 = e3 || new m(); + const n3 = this.getLabel(this.items.length), r3 = new d.ExpressionParameters(this.parentFlow, this.parent, e3, n3); + r3.type = this.type, r3.transitory = this._transitory, r3.propertyName = this.propertyName, r3.options = this.type.createExpressionOptionClass(), r3.options.applyDefaultCollectionItemOptions(this.options); + const o2 = new p.NormalExpression(r3); + return e3.options && e3.options.facets && (o2.options.facets = e3.options.facets), o2; } getLabel(e3) { if (!this.addIndexSuffixToSingleItemLists && this.expressions.length <= 1 && !this.isZeroBasedList && !this.shouldUseBracketsInLabel) return this.label; @@ -84690,11 +91187,64 @@ ${e3.stack}`, n3 = [this].concat(i3); get className() { return "ExpressionList"; } + configureFromModel(e3, t3, i3) { + super.configureFromModel(e3, t3, i3); + const n3 = () => { + this._configureFromModelForYaml(e3, t3, i3); + }; + if (i3) { + const e4 = this.label || this.propertyName || "items"; + (0, l.withModelContext)(i3, `ExpressionList[${e4}]`, n3); + } else n3(); + } + _configureFromModelForYaml(e3, t3, i3) { + var n3; + if (null == e3) return; + const r3 = (e4) => { + this.destroyChildren(); + const n4 = this.add(); + (0, u.hasConfigureFromModel)(n4) && (i3 ? (0, l.withModelContext)(i3, "[0]", () => { + n4.configureFromModel(e4, t3, i3); + }) : n4.configureFromModel(e4, t3, i3)); + }; + let d2; + if (Array.isArray(e3)) d2 = e3; + else if ((0, a.isConfigureFromModelRecord)(e3)) { + const t4 = e3; + if ("exp" in t4 && null !== t4.exp && void 0 !== t4.exp) return void r3(t4); + if ("var" in t4 && "string" == typeof t4.var) return void r3(t4); + if ("noValue" in t4 && true === t4.noValue) return void r3(t4); + if ("noValueWithNoFallback" in t4 && true === t4.noValueWithNoFallback) return void r3(t4); + if ("lit" in t4) { + const e4 = t4.lit; + if (Array.isArray(e4)) d2 = e4; + else { + if (null == e4) return void this.destroyChildren(); + if (!(null === (n3 = this.yamlOptions) || void 0 === n3 ? void 0 : n3.convertToSingleItem)) return void (i3 && i3.warn((0, h.sprintf)(o.configureFromModel.collectionLitMustBeArray, typeof e4))); + d2 = [e4]; + } + } + } + if (void 0 === d2) return; + const p2 = c.default.defaultCollectionItemsMax; + if ((0, s.enforceValueLimit)(d2.length <= p2, (0, h.sprintf)(o.configureFromModel.collectionLiteralItemCap, d2.length, p2), i3)) { + this.destroyChildren(); + for (let e4 = 0; e4 < d2.length; e4++) { + const n4 = d2[e4], r4 = this._wrapCollectionLiteralItemIfNeeded(n4), o2 = this.add(); + (0, u.hasConfigureFromModel)(o2) && (i3 ? (0, l.withModelContext)(i3, `[${e4}]`, () => { + o2.configureFromModel(r4, t3, i3); + }) : o2.configureFromModel(r4, t3, i3)); + } + } + } + _wrapCollectionLiteralItemIfNeeded(e3) { + return null == e3 ? e3 : (0, a.isConfigureFromModelRecord)(e3) ? "exp" in e3 || "var" in e3 || "lit" in e3 || "noValue" in e3 || "noValueWithNoFallback" in e3 ? e3 : { lit: e3 } : e3; + } } - t2.ExpressionList = l; + t2.ExpressionList = g; }, 71516: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(12457), a = n2.__importDefault(i2(5730)), s = i2(21647), l = i2(80428), u = i2(98364), d = i2(81516), c = n2.__importDefault(i2(4648)), p = i2(12179), _ = n2.__importDefault(i2(97891)), h = n2.__importDefault(i2(15928)), m = i2(82632), g = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(12457), a = n2.__importDefault(i2(5730)), s = i2(21647), l = i2(80428), u = i2(98364), c = i2(81516), d = n2.__importDefault(i2(4648)), p = i2(12179), _ = n2.__importDefault(i2(97891)), h = n2.__importDefault(i2(15928)), m = i2(82632), g = i2(47957); class f extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -84715,35 +91265,35 @@ ${e3.stack}`, n3 = [this].concat(i3); this.model.replyToSenderOnly = e3; } static get managedProperties() { - return [{ label: g.sendAutoReply.sendFrom, options: s.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(l.expressionTypeNames.emailAddress).setIninTestingField("sendFrom").setIsOptional(true).setDescriptionInfo(g.sendAutoReply.sendFrom, g.sendAutoReply.sendFromDescription).setModeNoValueRuntimeEvaluationStr(g.expression.noValue.selectionRuntimeEvaluation.noOverride).setModeNoValueSelectionLabelToDefault()), property: "from", type: l.expressionTypeNames.emailAddress }, { label: g.sendAutoReply.sendReplyTo, options: s.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(l.expressionTypeNames.emailAddress).setIninTestingField("sendReplyTo").setIsOptional(true).setDescriptionInfo(g.sendAutoReply.sendReplyTo, g.sendAutoReply.sendReplyToDescription).setModeNoValueRuntimeEvaluationStr(g.expression.noValue.selectionRuntimeEvaluation.noOverride).setModeNoValueSelectionLabelToDefault()), property: "replyTo", type: l.expressionTypeNames.emailAddress }, { label: g.sendAutoReply.sendCc, options: s.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(l.expressionTypeNames.email).setIninTestingField("sendCc").setIsOptional(true).setIsCollection(true).setDescriptionInfo(g.sendAutoReply.sendCc, g.sendAutoReply.sendCcDescription).setModeNoValueRuntimeEvaluationStr(g.expression.noValue.selectionRuntimeEvaluation.none).setModeNoValueSelectionLabelToDefault()), property: "cc", type: l.expressionTypeNames.emailAddress }, { label: g.sendAutoReply.sendBcc, options: s.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(l.expressionTypeNames.emailAddress).setIninTestingField("sendBcc").setIsOptional(true).setIsCollection(true).setDescriptionInfo(g.sendAutoReply.sendBcc, g.sendAutoReply.sendBccDescription).setModeNoValueRuntimeEvaluationStr(g.expression.noValue.selectionRuntimeEvaluation.none).setModeNoValueSelectionLabelToDefault()), property: "bcc", type: l.expressionTypeNames.emailAddress }, { label: g.sendAutoReply.sendBody, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("sendBody").setDefaultToExpression(true).setDescriptionInfo(g.sendAutoReply.sendBody, g.sendAutoReply.sendBodyDescription).facets.setMinLength(1)), property: "messageBody", type: l.expressionTypeNames.string }, { label: g.responseAsset.responseAssetAttachmentsLabel, options: u.ExpressionTypeResponseAssetOptions.create((e3) => e3.setIninTestingField("sendAttachments").setDescriptionInfo(g.responseAsset.responseAssetAttachmentsLabel, g.responseAsset.responseAssetAttachmentsDescription).setIsOptional(true).setIsCollection(true).setMaxItems(m.sendAutoReplyAction.attachments.maxItems).setFeatureConfigName(c.default.cannedResponseAttachmentsFeature)), property: "attachments", type: l.expressionTypeNames.responseAsset }]; + return [{ label: g.sendAutoReply.sendFrom, options: s.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(l.expressionTypeNames.emailAddress).setIninTestingField("sendFrom").setIsOptional(true).setDescriptionInfo(g.sendAutoReply.sendFrom, g.sendAutoReply.sendFromDescription).setModeNoValueRuntimeEvaluationStr(g.expression.noValue.selectionRuntimeEvaluation.noOverride).setModeNoValueSelectionLabelToDefault()), property: "from", type: l.expressionTypeNames.emailAddress }, { label: g.sendAutoReply.sendReplyTo, options: s.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(l.expressionTypeNames.emailAddress).setIninTestingField("sendReplyTo").setIsOptional(true).setDescriptionInfo(g.sendAutoReply.sendReplyTo, g.sendAutoReply.sendReplyToDescription).setModeNoValueRuntimeEvaluationStr(g.expression.noValue.selectionRuntimeEvaluation.noOverride).setModeNoValueSelectionLabelToDefault()), property: "replyTo", type: l.expressionTypeNames.emailAddress }, { label: g.sendAutoReply.sendCc, options: s.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(l.expressionTypeNames.email).setIninTestingField("sendCc").setIsOptional(true).setIsCollection(true).setDescriptionInfo(g.sendAutoReply.sendCc, g.sendAutoReply.sendCcDescription).setModeNoValueRuntimeEvaluationStr(g.expression.noValue.selectionRuntimeEvaluation.none).setModeNoValueSelectionLabelToDefault()), property: "cc", type: l.expressionTypeNames.emailAddress }, { label: g.sendAutoReply.sendBcc, options: s.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(l.expressionTypeNames.emailAddress).setIninTestingField("sendBcc").setIsOptional(true).setIsCollection(true).setDescriptionInfo(g.sendAutoReply.sendBcc, g.sendAutoReply.sendBccDescription).setModeNoValueRuntimeEvaluationStr(g.expression.noValue.selectionRuntimeEvaluation.none).setModeNoValueSelectionLabelToDefault()), property: "bcc", type: l.expressionTypeNames.emailAddress }, { label: g.sendAutoReply.sendBody, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("sendBody").setDefaultToExpression(true).setDescriptionInfo(g.sendAutoReply.sendBody, g.sendAutoReply.sendBodyDescription).facets.setMinLength(1)), property: "messageBody", type: l.expressionTypeNames.string }, { label: g.responseAsset.responseAssetAttachmentsLabel, options: u.ExpressionTypeResponseAssetOptions.create((e3) => e3.setIninTestingField("sendAttachments").setDescriptionInfo(g.responseAsset.responseAssetAttachmentsLabel, g.responseAsset.responseAssetAttachmentsDescription).setIsOptional(true).setIsCollection(true).setMaxItems(m.sendAutoReplyAction.attachments.maxItems).setFeatureConfigName(d.default.cannedResponseAttachmentsFeature)), property: "attachments", type: l.expressionTypeNames.responseAsset }]; } postProcessYamlConfig(e3, t3, i3) { e3.replyMode = this.replyToSenderOnly ? h.default.replyToSender : h.default.replyToAll; } } - f.info = _.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: p.helpTopics.actions.sendAutoReply, modelClass: i2(66182), name: g.actions.sendAutoReply, scriptingName: "ArchActionSendAutoReply" }), t2.A = f; + f.info = _.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: p.helpTopics.actions.sendAutoReply, modelClass: i2(66182), name: g.actions.sendAutoReply, scriptingName: "ArchActionSendAutoReply", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = f; }, 71528: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.responseLibraryManager = t2.ResponseLibraryManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(90891)), o = n2.__importDefault(i2(47532)), a = i2(81801), s = i2(30801), l = i2(24032), u = i2(54057), d = i2(30801), c = i2(30801); - class p extends o.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(90891)), o = n2.__importDefault(i2(47532)), a = i2(81801), s = i2(30801), l = i2(24032), u = i2(54057), c = i2(30801), d = i2(30801), p = i2(10798), _ = n2.__importDefault(i2(4648)); + class h extends o.default { get requiredAuth() { - return a.externalAuthorizations.authStrings.responseLibraryView; + return (0, p.isFeatureAvailable)(_.default.divisionedCannedResponses) ? a.externalAuthorizations.authStrings.responseLibrarySearch : a.externalAuthorizations.authStrings.responseLibraryView; } constructor() { - super(), this.topic = (0, l.getTopic)("ResponseLibraryManager"), this.apiCallList = r2.getResponseLibraries, this.apiCallSingle = r2.getResponseLibrary, this._rawServerCache = {}, this.dependencyContext = null, this.uiMetadataSectionName = "responseLibrary", this.actionsForUsageSearch = [d.formActionType, s.getResponseActionType, c.sendDigitalContentActionType], this.actionPropertyForUsageSearch = "libraryId", this.className = "ResponseLibraryManager", this.suppressSearch = true, this._initialize(); + super(), this.topic = (0, l.getTopic)("ResponseLibraryManager"), this.apiCallList = r2.getResponseLibraries, this.apiCallSingle = r2.getResponseLibrary, this._rawServerCache = {}, this.dependencyContext = null, this.uiMetadataSectionName = "responseLibrary", this.actionsForUsageSearch = [c.formActionType, s.getResponseActionType, d.sendDigitalContentActionType], this.actionPropertyForUsageSearch = "libraryId", this.className = "ResponseLibraryManager", this.suppressSearch = true, this._initialize(); } _createItemViewModel(e3) { return new u.ResponseLibraryViewModel(e3); } } - t2.ResponseLibraryManager = p, t2.responseLibraryManager = new p(); + t2.ResponseLibraryManager = h, t2.responseLibraryManager = new h(); }, 71530: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(28562), a = i2(80428), s = i2(82319), l = i2(95443), u = i2(12179), d = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(5730)), p = i2(47957); - class _ extends c.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(28562), a = i2(80428), s = i2(82319), l = i2(95443), u = i2(12179), c = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(5730)), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends d.default { static get managedProperties() { - return [{ label: p.communicate.communication, options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("communication").setDefaultToBuilderId(o.builderIds.parts.genericCommunication).setUiPropertyOrder(0)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("communication").setDefaultToBuilderId(o.builderIds.parts.markdownCommunication).setUiPropertyOrder(0)) }], property: "communication", type: a.expressionTypeNames.communication }, (0, l.createBargeInManagedProperty)(1)]; + return [{ label: _.communicate.communication, options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("communication").setDefaultToBuilderId(o.builderIds.parts.genericCommunication).setUiPropertyOrder(0)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("communication").setDefaultToBuilderId(o.builderIds.parts.markdownCommunication).setUiPropertyOrder(0)) }], property: "communication", type: a.expressionTypeNames.communication }, (0, l.createBargeInManagedProperty)(1)]; } constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -84752,7 +91302,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return super.setNewInstanceDefaults(); } } - _.info = d.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: u.helpTopics.actions.communicate, modelClass: i2(40812), name: p.actions.communicate, scriptingName: "ArchActionCommunicate" }), t2.A = _; + h.info = c.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: u.helpTopics.actions.communicate, modelClass: i2(40812), name: _.actions.communicate, scriptingName: "ArchActionCommunicate", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 71535: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.NameIdDescriptionModelList = void 0; @@ -84772,13 +91322,13 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 71538: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(19596), a = i2(80295), s = i2(80295); - class l extends o.DataContract { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(19596), a = i2(80295), s = i2(80295), l = i2(83855), u = i2(83855); + class c extends o.DataContract { constructor(e3) { - super(e3), (0, s.makeUnenumerable)(this, "_additionalProperties"), (0, s.makeUnenumerable)(this, "_allowableValues"), (0, s.makeUnenumerable)(this, "_dataTypeId"), (0, s.makeUnenumerable)(this, "_description"), (0, s.makeUnenumerable)(this, "_id"), (0, s.makeUnenumerable)(this, "_isColl"), (0, s.makeUnenumerable)(this, "_isRequired"), (0, s.makeUnenumerable)(this, "_name"), (0, s.makeUnenumerable)(this, "_minItems"), (0, s.makeUnenumerable)(this, "_maxItems"), (0, s.makeUnenumerable)(this, "_minLength"), (0, s.makeUnenumerable)(this, "_maxLength"), (0, s.makeUnenumerable)(this, "_maxValue"), (0, s.makeUnenumerable)(this, "_maxValueInclusive"), (0, s.makeUnenumerable)(this, "_minValue"), (0, s.makeUnenumerable)(this, "_minValueInclusive"), (0, s.makeUnenumerable)(this, "_properties"), (0, s.makeUnenumerable)(this, "_readOnly"), (0, s.makeUnenumerable)(this, "_patchable"), (0, s.makeUnenumerable)(this, "_items"); + super(e3), this._maxValueParsedDecimal = null, this._minValueParsedDecimal = null, (0, s.makeUnenumerable)(this, "_additionalProperties"), (0, s.makeUnenumerable)(this, "_allowableValues"), (0, s.makeUnenumerable)(this, "_dataTypeId"), (0, s.makeUnenumerable)(this, "_description"), (0, s.makeUnenumerable)(this, "_title"), (0, s.makeUnenumerable)(this, "_id"), (0, s.makeUnenumerable)(this, "_isColl"), (0, s.makeUnenumerable)(this, "_isRequired"), (0, s.makeUnenumerable)(this, "_name"), (0, s.makeUnenumerable)(this, "_minItems"), (0, s.makeUnenumerable)(this, "_maxItems"), (0, s.makeUnenumerable)(this, "_minLength"), (0, s.makeUnenumerable)(this, "_maxLength"), (0, s.makeUnenumerable)(this, "_maxValue"), (0, s.makeUnenumerable)(this, "_maxValueInclusive"), (0, s.makeUnenumerable)(this, "_maxValueStr"), (0, s.makeUnenumerable)(this, "_maxValueParsedDecimal"), (0, s.makeUnenumerable)(this, "_minValue"), (0, s.makeUnenumerable)(this, "_minValueInclusive"), (0, s.makeUnenumerable)(this, "_minValueStr"), (0, s.makeUnenumerable)(this, "_minValueParsedDecimal"), (0, s.makeUnenumerable)(this, "_properties"), (0, s.makeUnenumerable)(this, "_readOnly"), (0, s.makeUnenumerable)(this, "_patchable"), (0, s.makeUnenumerable)(this, "_items"); } static createFromJsonSchema(e3) { - const t3 = new l(); + const t3 = new c(); return t3.populateRootPropertiesFromJsonSchema(e3), t3; } get additionalProperties() { @@ -84843,6 +91393,24 @@ ${e3.stack}`, n3 = [this].concat(i3); set minValueInclusive(e3) { (r2.default.isBoolean(e3) || void 0 === e3) && (this._minValueInclusive = e3); } + get minValueStr() { + return this._minValueStr; + } + set minValueStr(e3) { + (r2.default.isString(e3) || void 0 === e3) && (this._minValueStr = e3, this._minValueParsedDecimal = null); + } + get minValueParsedDecimal() { + return null === this._minValueParsedDecimal && (this._minValueParsedDecimal = (0, l.getParsedDecimal)(this._minValueStr, u.VALIDATE_ALLOW_INTEGER_FORM)), this._minValueParsedDecimal; + } + get maxValueStr() { + return this._maxValueStr; + } + set maxValueStr(e3) { + (r2.default.isString(e3) || void 0 === e3) && (this._maxValueStr = e3, this._maxValueParsedDecimal = null); + } + get maxValueParsedDecimal() { + return null === this._maxValueParsedDecimal && (this._maxValueParsedDecimal = (0, l.getParsedDecimal)(this._maxValueStr, u.VALIDATE_ALLOW_INTEGER_FORM)), this._maxValueParsedDecimal; + } get name() { return this._name; } @@ -84855,6 +91423,12 @@ ${e3.stack}`, n3 = [this].concat(i3); set description(e3) { this._description = e3; } + get title() { + return this._title; + } + set title(e3) { + this._title = e3 || void 0; + } get dataTypeId() { return this._dataTypeId; } @@ -84871,7 +91445,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._properties; } set properties(e3) { - this._properties = this.reviveArray(e3, l); + this._properties = this.reviveArray(e3, c); } get allowableValues() { return this._allowableValues; @@ -84898,17 +91472,22 @@ ${e3.stack}`, n3 = [this].concat(i3); (r2.default.isBoolean(e3) || void 0 === e3) && (this._patchable = e3); } reset() { - this._additionalProperties = void 0, this._allowableValues = void 0, this._isColl = void 0, this._isRequired = void 0, this._minItems = void 0, this._maxItems = void 0, this._minLength = void 0, this._maxLength = void 0, this._minValue = void 0, this._maxValue = void 0, this._minValueInclusive = void 0, this._maxValueInclusive = void 0, this._properties = void 0, this._readOnly = void 0, this._patchable = void 0, this._items = void 0; + this._additionalProperties = void 0, this._allowableValues = void 0, this._isColl = void 0, this._isRequired = void 0, this._minItems = void 0, this._maxItems = void 0, this._minLength = void 0, this._maxLength = void 0, this._minValue = void 0, this._maxValue = void 0, this._minValueInclusive = void 0, this._maxValueInclusive = void 0, this._minValueStr = void 0, this._maxValueStr = void 0, this._minValueParsedDecimal = null, this._maxValueParsedDecimal = null, this._properties = void 0, this._readOnly = void 0, this._patchable = void 0, this._items = void 0; } populateRootPropertiesFromJsonSchema(e3, t3) { - e3 && r2.default.isObject(e3) ? (this.additionalProperties = e3.additionalProperties, this.allowableValues = e3.enum, this.isCollection = "array" === e3.type, this._items = e3.items, this.minItems = e3.minItems, this.maxItems = e3.maxItems, this.minLength = e3.minLength, this.maxLength = e3.maxLength, this.minValue = e3.minimum, this.maxValue = e3.maximum, e3.exclusiveMinimum || (this.minValueInclusive = true), e3.exclusiveMaximum || (this.maxValueInclusive = true)) : t3 && this.reset(); + e3 && r2.default.isObject(e3) ? (this.additionalProperties = e3.additionalProperties, this.allowableValues = e3.enum, this.isCollection = "array" === e3.type, this._items = e3.items, this.minItems = e3.minItems, this.maxItems = e3.maxItems, this.minLength = e3.minLength, this.maxLength = e3.maxLength, this.minValue = e3.minimum, this.maxValue = e3.maximum, e3.exclusiveMinimum || (this.minValueInclusive = true), e3.exclusiveMaximum || (this.maxValueInclusive = true), e3.properties && r2.default.isObject(e3.properties) && r2.default.isArray(e3.allOf) && e3.allOf.length && (this._properties = [], r2.default.each(e3.properties, (e4, t4) => { + if (e4 && r2.default.isObject(e4)) { + const i3 = new c(); + i3.name = t4, i3.id = t4, void 0 !== e4._minValue && (i3.minValueStr = e4._minValue), void 0 !== e4._maxValue && (i3.maxValueStr = e4._maxValue), void 0 !== e4.minLength && (i3.minLength = e4.minLength), void 0 !== e4.maxLength && (i3.maxLength = e4.maxLength), this._properties.push(i3); + } + }))) : t3 && this.reset(); } } - t2.default = l, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "additionalProperties", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "id", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], l.prototype, "maxItems", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], l.prototype, "minItems", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], l.prototype, "maxLength", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], l.prototype, "minLength", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], l.prototype, "maxValue", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "maxValueInclusive", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], l.prototype, "minValue", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "minValueInclusive", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "name", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "description", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "dataTypeId", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "isCollection", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "properties", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], l.prototype, "allowableValues", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "isRequired", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "readOnly", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "patchable", null); + t2.default = c, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "additionalProperties", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "id", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], c.prototype, "maxItems", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], c.prototype, "minItems", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], c.prototype, "maxLength", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], c.prototype, "minLength", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], c.prototype, "maxValue", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "maxValueInclusive", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], c.prototype, "minValue", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "minValueInclusive", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "minValueStr", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "maxValueStr", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "name", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "description", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "title", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "dataTypeId", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "isCollection", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], c.prototype, "properties", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], c.prototype, "allowableValues", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "isRequired", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "readOnly", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], c.prototype, "patchable", null); }, 71549: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(36781)), l = n2.__importDefault(i2(87333)), u = n2.__importStar(i2(58380)), d = n2.__importDefault(i2(59805)), c = n2.__importStar(i2(63352)), p = n2.__importDefault(i2(2315)), _ = n2.__importDefault(i2(39041)), h = n2.__importDefault(i2(43221)), m = n2.__importDefault(i2(45431)), g = i2(55909), f = i2(33951), T = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(36781)), l = n2.__importDefault(i2(87333)), u = n2.__importStar(i2(58380)), c = n2.__importDefault(i2(59805)), d = n2.__importStar(i2(63352)), p = n2.__importDefault(i2(2315)), _ = n2.__importDefault(i2(39041)), h = n2.__importDefault(i2(43221)), m = n2.__importDefault(i2(45431)), g = i2(55909), f = i2(33951), T = i2(47957); class y extends m.default { constructor(e3, t3, i3, n3) { if (super(e3), f.ParameterValidator.expectObject(t3, () => g.ParameterInfo.createConstructorParameter(this.className, "builderModel")), f.ParameterValidator.expectBool(n3, () => g.ParameterInfo.createConstructorParameter(this.className, "reId")), n3 && t3 && (t3.id = (0, a.uuid)()), Object.defineProperties(this, { _amBuildingExpressionText: { value: false, enumerable: false, writable: true }, _availableBuilderPartDefinitions: { value: [], writable: true }, _availableBuilderPartContainerDefinitions: { value: [], writable: true }, _builderDef: { value: i3, writable: true }, _builderModel: { value: t3, enumerable: true, writable: true }, _builderValidationResultsOrganizer: { value: h.default.create(this), writable: true }, _suppressEventFiring: { value: false, writable: true }, _queuedUpdateOwningExpression: { writable: true }, _queuedConfigureForFlowStateCallback: { writable: true }, _queuedValidate: { writable: true } }), !this.builderDef) { @@ -85041,7 +91620,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this.parentFlow.loaded && this.initializeDesignTimeCalled && this._shouldUpdateOwningExpression && this.owningExpression.setText(this.buildExpressionText()); } get _shouldUpdateOwningExpression() { - return this.owningExpression.mode === c.builder; + return this.owningExpression.mode === d.builder; } processValidateBuilder() { this._queuedValidate = this._destroyIdleCallback(this._queuedValidate), this.validateBuilder(); @@ -85059,7 +91638,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } validateBuilder(e3) { let t3 = true; - const i3 = new d.default(this.parentFlow, !!o.default.isBoolean(e3) && e3); + const i3 = new c.default(this.parentFlow, !!o.default.isBoolean(e3) && e3); try { this.parentFlow.loaded && this.initializeDesignTimeCalled && (this._builderValidationResultsOrganizer.reset(), this._preValidateConfigureResultsOrganizer(this._builderValidationResultsOrganizer), t3 = this.validateBuilderObject(this._builderValidationResultsOrganizer, i3)); } catch (e4) { @@ -85184,17 +91763,17 @@ ${e3.stack}`, n3 = [this].concat(i3); } _resolveNSameTypeOperands(e3, t3, i3, n3) { const r3 = t3.getOperands(); - let u2, d = null, c = null; - for (let e4 = 0; e4 < r3.length; e4++) if (u2 = r3[e4], !u2.isNotSet) if (d) { - if (!u2.type.isMatch(d, a.settings.exact)) return this._errorResultWithPosAndOperand(t3, l.expression.functions.mustBeSameType, c.position, c.getErrorDisplayText(), u2.position, u2.getErrorDisplayText()); - } else c = u2, d = u2.type; - if (!d) { + let u2, c = null, d = null; + for (let e4 = 0; e4 < r3.length; e4++) if (u2 = r3[e4], !u2.isNotSet) if (c) { + if (!u2.type.isMatch(c, a.settings.exact)) return this._errorResultWithPosAndOperand(t3, l.expression.functions.mustBeSameType, d.position, d.getErrorDisplayText(), u2.position, u2.getErrorDisplayText()); + } else d = u2, c = u2.type; + if (!c) { if (!i3) return this._errorResultWithPosAndOperand(t3, l.expression.functions.mustHaveAtLeastOneNotSetOperand, t3.getTextWithFuncOpTextFallback(), t3.position); - d = s.globalTypes.string; + c = s.globalTypes.string; } - for (let e4 = 0; e4 < r3.length; e4++) u2 = r3[e4], u2.isNotSet && (u2.type = d); - const p = n3 ? d.collectionType : d; - return o.default.isNullOrUndefined(p) ? n3 ? this._errorResultWithPosAndOperand(t3, l.expression.functions.returnDataTypeAsCollectionNotAvailable, d.displayString) : this._errorResultWithPosAndOperand(t3, l.expression.functions.returnDataTypeCouldNotBeDetermined) : this._typeResult(p); + for (let e4 = 0; e4 < r3.length; e4++) u2 = r3[e4], u2.isNotSet && (u2.type = c); + const p = n3 ? c.collectionType : c; + return o.default.isNullOrUndefined(p) ? n3 ? this._errorResultWithPosAndOperand(t3, l.expression.functions.returnDataTypeAsCollectionNotAvailable, c.displayString) : this._errorResultWithPosAndOperand(t3, l.expression.functions.returnDataTypeCouldNotBeDetermined) : this._typeResult(p); } resolveNSameTypeOperands(e3, t3) { return this._resolveNSameTypeOperands(e3, t3, false, false); @@ -85364,11 +91943,11 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 71729: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(94453)), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(17498)), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(9345)), d = n2.__importStar(i2(24032)), c = n2.__importStar(i2(71004)), p = n2.__importStar(i2(14187)), _ = n2.__importStar(i2(63352)), h = n2.__importStar(i2(10798)), m = i2(84464), g = n2.__importDefault(i2(20084)), f = i2(30801), T = i2(30801), y = i2(27491), S = i2(59263), A = n2.__importDefault(i2(4648)), N = i2(96618), O = i2(14394), I = i2(77841), v = i2(12179), C = i2(10798), b = i2(10798), E = n2.__importDefault(i2(77862)), R = i2(63689), w = i2(39168), D = i2(19284), P = i2(58525), M = (i2(13804), i2(13804), i2(13804)), F = i2(80428), L = i2(79467), x = n2.__importDefault(i2(73198)), k = n2.__importStar(i2(63824)), V = n2.__importDefault(i2(7401)), U = i2(47957), B = i2(42515), G = i2(27862); - d.getTopic("BotFlowSettingsViewModel"); - class j extends g.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(94453)), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(17498)), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(9345)), c = n2.__importStar(i2(24032)), d = n2.__importStar(i2(71004)), p = n2.__importStar(i2(14187)), _ = n2.__importStar(i2(63352)), h = n2.__importStar(i2(10798)), m = i2(84464), g = n2.__importDefault(i2(20084)), f = i2(30801), T = i2(30801), y = i2(85415), S = i2(27491), A = i2(59263), N = n2.__importDefault(i2(4648)), v = i2(96618), O = i2(14394), I = i2(77841), C = i2(12179), b = i2(10798), E = i2(10798), w = i2(82632), R = i2(82632), D = i2(99469), P = i2(28803), M = n2.__importDefault(i2(22917)), F = n2.__importDefault(i2(77862)), L = i2(63689), x = i2(39168), k = i2(19284), V = i2(58525), U = i2(81516), B = i2(29586), G = (i2(13804), i2(13804), i2(13804)), j = i2(80428), W = i2(79467), q = n2.__importDefault(i2(73198)), Y = n2.__importStar(i2(63824)), H = n2.__importDefault(i2(7401)), J = i2(47957), $ = i2(42515), z = i2(27862); + c.getTopic("BotFlowSettingsViewModel"); + class K extends g.default { constructor(e3) { - super(e3, "botFlowSettings", B); + super(e3, "botFlowSettings", $); } get id() { return "botFlowSettings"; @@ -85377,63 +91956,67 @@ ${e3.stack}`, n3 = [this].concat(i3); return "BotFlowSettingsViewModel"; } static get managedProperties() { - return [{ label: U.askCommon.voiceProcessingPrompt, options: P.ExpressionTypePromptOptions.create((e3) => e3.setIninTestingField("voiceProcessingPrompt").setIsOptional(true).setAllowModeExpression(false).setDefaultToNoValue(true).setDescriptionInfo(U.askCommon.voiceProcessingPrompt, U.askCommon.voiceProcessingPromptDescription).setFeatureConfigName(A.default.botFlowsVoiceProcessingPrompt).setSystemPromptFilterNames(M.voiceProcessingPromptFilterNames).setUiPropertyOrder(1).setScriptingPropertyName("voiceProcessingPrompt")), supportedFlowTypes: [N.flowTypes.flowTypeBot], property: "voiceProcessingPrompt", type: F.expressionTypeNames.prompt }, { label: U.askCommon.initialPlaybackDelay, options: L.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("initialPlaybackDelay").setDefaultText(x.default.litDurationOneHundredMs).setScriptingPropertyName("initialPlaybackDelay").setDurationStyle(k.durationStyles.secondsAndTenthsDuration).setFeatureConfigName(A.default.botFlowsVoiceProcessingPrompt).setAllowModeLiteralOnly().setUiPropertyOrder(2).facets.setMinDur(100, true).setMaxDur(10 * x.default.msPerSecond, true)), supportedFlowTypes: [N.flowTypes.flowTypeBot], property: "initialPlaybackDelay", type: F.expressionTypeNames.duration }, { label: U.askCommon.minimumPlaybackTime, options: L.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("minimumPlaybackTime").setDefaultText(x.default.litDurationOneSecond).setScriptingPropertyName("minimumPlaybackTime").setDurationStyle(k.durationStyles.secondsAndTenthsDuration).setFeatureConfigName(A.default.botFlowsVoiceProcessingPrompt).setAllowModeLiteralOnly().setUiPropertyOrder(3).facets.setMinDur(x.default.msPerSecond, true).setMaxDur(10 * x.default.msPerSecond, true)), supportedFlowTypes: [N.flowTypes.flowTypeBot], property: "minimumPlaybackTime", type: F.expressionTypeNames.duration }]; + return [{ label: J.askCommon.voiceProcessingPrompt, options: V.ExpressionTypePromptOptions.create((e3) => e3.setIninTestingField("voiceProcessingPrompt").setIsOptional(true).setAllowModeExpression(false).setDefaultToNoValue(true).setDescriptionInfo(J.askCommon.voiceProcessingPrompt, J.askCommon.voiceProcessingPromptDescription).setFeatureConfigName(N.default.botFlowsVoiceProcessingPrompt).setSystemPromptFilterNames(G.voiceProcessingPromptFilterNames).setUiPropertyOrder(1).setRuntimeValueInheritsFromCallingFlow(true).setScriptingPropertyName("voiceProcessingPrompt")), supportedFlowTypes: [v.flowTypes.flowTypeBot], property: "voiceProcessingPrompt", type: j.expressionTypeNames.prompt }, { label: J.askCommon.initialPlaybackDelay, options: W.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("initialPlaybackDelay").setDefaultText(q.default.litDurationTwoHundredFiftyMs).setScriptingPropertyName("initialPlaybackDelay").setDurationStyle(Y.durationStyles.secondsAndTenthsDuration).setFeatureConfigName(N.default.botFlowsVoiceProcessingPrompt).setAllowModeLiteralOnly().setUiPropertyOrder(2).facets.setMinDur(100, true).setMaxDur(10 * q.default.msPerSecond, true)), supportedFlowTypes: [v.flowTypes.flowTypeBot], property: "initialPlaybackDelay", type: j.expressionTypeNames.duration }, { label: J.askCommon.minimumPlaybackTime, options: W.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("minimumPlaybackTime").setDefaultText(q.default.litDurationOneSecond).setScriptingPropertyName("minimumPlaybackTime").setDurationStyle(Y.durationStyles.secondsAndTenthsDuration).setFeatureConfigName(N.default.botFlowsVoiceProcessingPrompt).setAllowModeLiteralOnly().setUiPropertyOrder(3).facets.setMinDur(q.default.msPerSecond, true).setMaxDur(10 * q.default.msPerSecond, true)), supportedFlowTypes: [v.flowTypes.flowTypeBot], property: "minimumPlaybackTime", type: j.expressionTypeNames.duration }, { label: J.conversationAttribute.schemaLabel, options: D.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("conversationSchema-selector").setFeatureConfigName(N.default.botFlowsLLMPoweredFrontDoor).setDropdownPlaceholder(J.conversationAttribute.selectSchema).setIsOptional(true)), property: "conversationSchema", yamlOptions: M.default.create("conversationSchema", (e3) => e3.setSkipProperty(true)), createDetails: P.NetworkBasedActionProperty.createCreateDetails("conversationSchemaId", "conversationSchemaName", y.conversationCustomAttributeSchemaManager, J.conversationAttribute.mustSelectSchema, J.conversationAttribute.schemaNotFound, void 0) }, { label: J.conversationAttribute.recordId, options: U.ExpressionTypeStringOptions.create((e3) => { + e3.setAsInput().setIninTestingField("conversationSchemaRecordId").setDisableSpellcheck(true).setDefaultToExpression(true).setDefaultToNoValue(true).setAllowModeBuilder(false).setFeatureConfigName(N.default.botFlowsLLMPoweredFrontDoor).setDescriptionInfo(J.conversationAttribute.recordId, J.conversationAttribute.recordIdDescription).facets.setMaxLength(w.conversationAttributeLimits.recordId.maxLength).setMinLength(w.conversationAttributeLimits.recordId.minLength).setLiteralPattern(w.conversationAttributeLimits.recordId.literalPattern, J.conversationAttribute.invalidRecordId); + }), property: "conversationSchemaRecordId", type: j.expressionTypeNames.string, yamlOptions: M.default.create("conversationSchemaRecordId", (e3) => e3.setSkipProperty(true)) }, { label: J.generic.divisions, options: B.ExpressionTypeDivisionOptions.create((e3) => { + e3.setAsInput().setIninTestingField("conversationSchemaDivisions").setIsCollection(true).setIsOptional(true).setDefaultToExpression(true).setDescriptionInfo(J.generic.divisions, J.conversationAttribute.divisionsForConversationAttributeRecord).setMaxItems(R.findLimits.maxBulkFindByName).setFeatureConfigName(N.default.botFlowsLLMPoweredFrontDoor); + }), property: "conversationSchemaDivisions", type: j.expressionTypeNames.division, yamlOptions: M.default.create("conversationSchemaDivisions", (e3) => e3.setSkipProperty(true)) }]; } getConfiguration(e3, t3) { - var i3; + var i3, n3, o2; this.clearDynamicAgenticVirtualAgentEnabledState(); - const n3 = super.getConfiguration(e3, t3); + const a2 = super.getConfiguration(e3, t3); if (null == t3 ? void 0 : t3.isForFlowYaml) { - const o3 = this.parent.nluMetaData.intentSettingsMap, a2 = n3; - Object.keys(o3).length && (a2.intentSettings = [], r2.default.each(o3, (i4) => { + const s3 = this.parent.nluMetaData.intentSettingsMap, l2 = a2; + Object.keys(s3).length && (l2.intentSettings = [], r2.default.each(s3, (i4) => { var n4; - const o4 = { intent: {} }; - if (o4.intent.confirmation = i4.confirmationExpression.getConfiguration(e3, t3), o4.intent.name = i4.name, i4.parentFlow.isDigitalBotFlow) { + const o3 = { intent: {} }; + if (o3.intent.confirmation = i4.confirmationExpression.getConfiguration(e3, t3), o3.intent.name = i4.name, i4.parentFlow.isDigitalBotFlow) { const e4 = null === (n4 = i4.parent.intentsToReusableTasksMapping[i4.name]) || void 0 === n4 ? void 0 : n4.id; if (r2.default.isString(e4)) { const t4 = i4.parentFlow.getTaskById(e4); - t4 && (o4.intent.task = {}, o4.intent.task.name = t4.name); + t4 && (o3.intent.task = {}, o3.intent.task.name = t4.name); } } - a2.intentSettings.push(o4); + l2.intentSettings.push(o3); })); - const s2 = this.parent.nluMetaData.slotsToGrammarsMapping; - if (!r2.default.isNullOrUndefined(s2)) { - const e4 = Object.keys(s2); - e4.length > 0 && (a2.slotSettings = e4.map((e5) => { + const u2 = this.parent.nluMetaData.slotsToGrammarsMapping; + if (!r2.default.isNullOrUndefined(u2)) { + const e4 = Object.keys(u2); + e4.length > 0 && (l2.slotSettings = e4.map((e5) => { var t4; - const i4 = { slot: { name: e5, speechToTextEngine: {} } }, n4 = s2[e5]; + const i4 = { slot: { name: e5, speechToTextEngine: {} } }, n4 = u2[e5]; if (r2.default.isString(null == n4 ? void 0 : n4.id)) { const e6 = {}, t5 = I.grammarManager.getItem(n4.id); (null == t5 ? void 0 : t5.name) ? e6.name = t5.name : e6.id = n4.id, i4.slot.grammar = e6; } if (r2.default.isString(null === (t4 = null == n4 ? void 0 : n4.sttEngine) || void 0 === t4 ? void 0 : t4.id)) { - const e6 = {}, t5 = D.speechToTextEngineManager.getItem(n4.sttEngine.id); + const e6 = {}, t5 = k.speechToTextEngineManager.getItem(n4.sttEngine.id); (null == t5 ? void 0 : t5.name) ? e6.name = t5.name : e6.id = n4.sttEngine.id, i4.slot.speechToTextEngine = e6; } return i4; })); } - const l2 = this.parent.nluMetaData.listPickerMappings; - if (!r2.default.isNullOrUndefined(l2)) { - const e4 = Object.keys(l2); - e4.length > 0 && (a2.slotSettings = e4.map((e5) => ({ slot: { name: e5, listPickerType: l2[e5] } }))); + const c2 = this.parent.nluMetaData.listPickerMappings; + if (!r2.default.isNullOrUndefined(c2)) { + const e4 = Object.keys(c2); + e4.length > 0 && (l2.slotSettings = e4.map((e5) => ({ slot: { name: e5, listPickerType: c2[e5] } }))); } - const u2 = this.parent.nluMetaData.dynamicSlotTypesMap; - u2.outOfService || Object.keys(u2.items).length && (a2.dynamicSlotTypes = [], r2.default.each(u2.items, (i4) => { + const d2 = this.parent.nluMetaData.dynamicSlotTypesMap; + d2.outOfService || Object.keys(d2.items).length && (l2.dynamicSlotTypes = [], r2.default.each(d2.items, (i4) => { const n4 = { dynamicSlotType: {} }; - n4.dynamicSlotType.name = i4.name, n4.dynamicSlotType.values = i4.values.getConfiguration(e3, t3), n4.dynamicSlotType.synonyms = i4.synonyms.getConfiguration(e3, t3), i4.labels.outOfService || (n4.dynamicSlotType.labels = i4.labels.getConfiguration(e3, t3)), a2.dynamicSlotTypes.push(n4); + n4.dynamicSlotType.name = i4.name, n4.dynamicSlotType.values = i4.values.getConfiguration(e3, t3), n4.dynamicSlotType.synonyms = i4.synonyms.getConfiguration(e3, t3), i4.labels.outOfService || (n4.dynamicSlotType.labels = i4.labels.getConfiguration(e3, t3)), l2.dynamicSlotTypes.push(n4); })); - const d2 = this.parent.nluMetaData.dynamicTimeslotTypeList; - if (!d2.outOfService && (null === (i3 = d2.items) || void 0 === i3 ? void 0 : i3.length)) { - const i4 = d2.items.map((i5) => ({ dynamicTimeslot: { name: i5.name, timeslots: i5.timeslots.getConfiguration(e3, t3) } })); - a2.dynamicTimeslots = [...i4]; + const p2 = this.parent.nluMetaData.dynamicTimeslotTypeList; + if (!p2.outOfService && (null === (i3 = p2.items) || void 0 === i3 ? void 0 : i3.length)) { + const i4 = p2.items.map((i5) => ({ dynamicTimeslot: { name: i5.name, timeslots: i5.timeslots.getConfiguration(e3, t3) } })); + l2.dynamicTimeslots = [...i4]; } - return this.virtualAgentEnabled && (a2.virtualAgentEnabled = this.virtualAgentEnabled), r2.default.ensureYamlNoneTrue(a2), a2; + return this.virtualAgentEnabled && (l2.virtualAgentEnabled = this.virtualAgentEnabled), (0, b.isFeatureAvailable)(N.default.botFlowsLLMPoweredFrontDoor) && this.conversationSchemaId && (l2.conversationAttribute = { name: this.conversationSchemaName, recordId: null === (n3 = this.conversationSchemaRecordId) || void 0 === n3 ? void 0 : n3.getConfiguration(e3, t3), divisions: null === (o2 = this.conversationSchemaDivisions) || void 0 === o2 ? void 0 : o2.getConfiguration(e3, t3) }), r2.default.ensureYamlNoneTrue(l2), l2; } - e3.botFlowSettings.nluDomainId = this.nluDomainId, e3.botFlowSettings.engineVersion = this.engineVersion, e3.botFlowSettings.nluDomainVersionId = this.nluDomainVersionId, e3.botFlowSettings.virtualAgentEnabled = this.virtualAgentEnabled; - const o2 = this.agenticVirtualAgentEnabled; - void 0 !== o2 && (e3.botFlowSettings.agenticVirtualAgentEnabled = o2); + e3.botFlowSettings.nluDomainId = this.nluDomainId, e3.botFlowSettings.engineVersion = this.engineVersion, e3.botFlowSettings.nluDomainVersionId = this.nluDomainVersionId, e3.botFlowSettings.virtualAgentEnabled = this.virtualAgentEnabled, (0, b.isFeatureAvailable)(N.default.botFlowsLLMPoweredFrontDoor) && (e3.botFlowSettings.intentClassifierId = this.intentClassifierId, e3.botFlowSettings.conversationSchemaId = this.conversationSchemaId, e3.botFlowSettings.conversationSchemaName = this.conversationSchemaName); + const s2 = this.agenticVirtualAgentEnabled; + void 0 !== s2 && (e3.botFlowSettings.agenticVirtualAgentEnabled = s2); } get engineVersion() { return this._engineVersion; @@ -85442,13 +92025,13 @@ ${e3.stack}`, n3 = [this].concat(i3); this._engineVersion = e3; } getDisplayName() { - return this.parentFlow.type === N.flowTypes.flowTypeVoiceSurvey ? U.voiceSurvey.voiceSurveyTitleWithSettings : U.botFlowSettings.titleWithSettings; + return this.parentFlow.type === v.flowTypes.flowTypeVoiceSurvey ? J.voiceSurvey.voiceSurveyTitleWithSettings : J.botFlowSettings.titleWithSettings; } getNodeName() { - return U.flow.types.bot; + return J.flow.types.bot; } get helpTopic() { - return v.helpTopics.treeNodes.botFlowSettings; + return C.helpTopics.treeNodes.botFlowSettings; } get isBotFlowSettingsNode() { return true; @@ -85456,13 +92039,13 @@ ${e3.stack}`, n3 = [this].concat(i3); loadConfiguration(e3) { super.loadConfiguration(e3); const t3 = e3.botFlowSettings; - t3.nluDomainId && this.setNluDomainInfo(t3.nluDomainId, t3.engineVersion), t3.nluDomainVersionId && (this.nluDomainVersionId = t3.nluDomainVersionId), this.virtualAgentEnabled = t3.virtualAgentEnabled, (0, C.isFeatureAvailable)(A.default.botFlowsAgenticVirtualAgent) && (this._agenticVirtualAgentEnabledFlowLoadState = t3.agenticVirtualAgentEnabled); + t3.nluDomainId && this.setNluDomainInfo(t3.nluDomainId, t3.engineVersion), t3.nluDomainVersionId && (this.nluDomainVersionId = t3.nluDomainVersionId), this.virtualAgentEnabled = t3.virtualAgentEnabled, (0, b.isFeatureAvailable)(N.default.botFlowsLLMPoweredFrontDoor) && (this.intentClassifierId = t3.intentClassifierId, t3.conversationSchemaId && (this.conversationSchemaId = t3.conversationSchemaId, this.conversationSchemaName = t3.conversationSchemaName), this._updateConversationSchemaFieldsOutOfService()), (0, b.isFeatureAvailable)(N.default.botFlowsAgenticVirtualAgent) && (this._agenticVirtualAgentEnabledFlowLoadState = t3.agenticVirtualAgentEnabled); } loadSettings(e3, t3, i3) { this.setNluDomainInfo(e3, i3), this.nluDomainVersionId = t3; } get nluDomain() { - return this.nluDomainId ? R.nluDomainManager.getItem(this.nluDomainId) || R.nluDomainManager.getItemFromFlowMetadata(this, this.nluDomainId) : null; + return this.nluDomainId ? L.nluDomainManager.getItem(this.nluDomainId) || L.nluDomainManager.getItemFromFlowMetadata(this, this.nluDomainId) : null; } get nluDomainIntents() { return this.nluDomain && this.nluDomain.intents ? this.nluDomain.intents : []; @@ -85491,27 +92074,33 @@ ${e3.stack}`, n3 = [this].concat(i3); const t3 = this._nluDomainVersionId; this._nluDomainVersionId = e3, this._nluDomainVersionVerifiedForOrg = void 0, t3 !== this._nluDomainVersionId && (this.updateDependencies(), l.emitter.emit(l.nluDomainVersionCreated, this.parentFlow)); } + get intentClassifierId() { + return this._intentClassifierId; + } + set intentClassifierId(e3) { + this._intentClassifierId = e3; + } get virtualAgentEnabled() { return !!this._virtualAgentEnabled; } set virtualAgentEnabled(e3) { - this._virtualAgentEnabled = e3, this.parentFlow.loaded && l.emitter.emit(l.botFlowSettingChanged, { setting: E.default.variable.virtualAgentEnabled }); + this._virtualAgentEnabled = e3, this.parentFlow.loaded && ((0, b.isFeatureAvailable)(N.default.botFlowsLLMPoweredFrontDoor) && this._updateConversationSchemaFieldsOutOfService(), l.emitter.emit(l.botFlowSettingChanged, { setting: F.default.variable.virtualAgentEnabled })); } get hasCallAVAAction() { return void 0 === this._hasCallAVAAction && (this._hasCallAVAAction = m.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, f.callAgenticVirtualAgentActionType)), this._hasCallAVAAction; } get agenticVirtualAgentEnabled() { - if (!(0, b.isFeatureUnavailable)(A.default.botFlowsAgenticVirtualAgent)) return !((0, C.isFeatureAvailable)(A.default.botFlowsVirtualAgentGuideBillingDowngrade) || !this._agenticVirtualAgentEnabledFlowLoadState) || (void 0 === this._agenticVirtualAgentEnabledFlowCurrentState && ((0, C.isFeatureAvailable)(A.default.botFlowsVirtualAgentGuideBillingDowngrade) ? this._agenticVirtualAgentEnabledFlowCurrentState = m.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, f.callAgenticVirtualAgentActionType) : (0, C.isFeatureAvailable)(A.default.botFlowsAgenticVirtualAgentSage) ? this._agenticVirtualAgentEnabledFlowCurrentState = m.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, f.callAgenticVirtualAgentActionType) || m.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, T.callGuideActionType) : this._agenticVirtualAgentEnabledFlowCurrentState = m.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, T.callGuideActionType)), this._agenticVirtualAgentEnabledFlowCurrentState); + if (!(0, E.isFeatureUnavailable)(N.default.botFlowsAgenticVirtualAgent)) return !((0, b.isFeatureAvailable)(N.default.botFlowsVirtualAgentGuideBillingDowngrade) || !this._agenticVirtualAgentEnabledFlowLoadState) || (void 0 === this._agenticVirtualAgentEnabledFlowCurrentState && ((0, b.isFeatureAvailable)(N.default.botFlowsVirtualAgentGuideBillingDowngrade) ? this._agenticVirtualAgentEnabledFlowCurrentState = m.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, f.callAgenticVirtualAgentActionType) : (0, b.isFeatureAvailable)(N.default.botFlowsAgenticVirtualAgentSage) ? this._agenticVirtualAgentEnabledFlowCurrentState = m.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, f.callAgenticVirtualAgentActionType) || m.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, T.callGuideActionType) : this._agenticVirtualAgentEnabledFlowCurrentState = m.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, T.callGuideActionType)), this._agenticVirtualAgentEnabledFlowCurrentState); } getIsNluDomainCreated() { - return R.nluDomainManager.getIsNluIdentifierCreated(this.nluDomainId); + return L.nluDomainManager.getIsNluIdentifierCreated(this.nluDomainId); } getIsNluDomainVersionCreated() { - return R.nluDomainManager.getIsNluIdentifierCreated(this._nluDomainVersionId); + return L.nluDomainManager.getIsNluIdentifierCreated(this._nluDomainVersionId); } getIsNluDomainVersionValidForThisOrg() { return n2.__awaiter(this, void 0, void 0, function* () { - return r2.default.isBoolean(this._nluDomainVersionVerifiedForOrg) || (this._nluDomainVersionVerifiedForOrg = R.nluDomainManager.getIsNluDomainVersionValidForThisOrg(this.nluDomainId, this._nluDomainVersionId)), this._nluDomainVersionVerifiedForOrg; + return r2.default.isBoolean(this._nluDomainVersionVerifiedForOrg) || (this._nluDomainVersionVerifiedForOrg = L.nluDomainManager.getIsNluDomainVersionValidForThisOrg(this.nluDomainId, this._nluDomainVersionId)), this._nluDomainVersionVerifiedForOrg; }); } get nodeGuxIcon() { @@ -85522,23 +92111,23 @@ ${e3.stack}`, n3 = [this].concat(i3); } updateDependencies() { var e3, t3; - super.updateDependencies(), this.nluDomainId && !(null === (e3 = this.nluDomain) || void 0 === e3 ? void 0 : e3.isFake) && s.registerConsumer(this, this.id, null === (t3 = this.nluDomain) || void 0 === t3 ? void 0 : t3.name, this.nluDomainId, this.nluDomainVersionId, G.NLUDomain, this.parentFlow); + super.updateDependencies(), this.nluDomainId && !(null === (e3 = this.nluDomain) || void 0 === e3 ? void 0 : e3.isFake) && s.registerConsumer(this, this.id, null === (t3 = this.nluDomain) || void 0 === t3 ? void 0 : t3.name, this.nluDomainId, this.nluDomainVersionId, z.NLUDomain, this.parentFlow); } setNluDomainInfo(e3, t3) { this.nluDomainId = e3, this.engineVersion = t3; } validate(e3) { var t3; - super.validate(e3), !this.nluDomainId && this.parentFlow.isCreated && e3.addError(this, U.bot.nluConfigurationUnavailable), this.parentFlow.isCreated && !this.parentFlow.botFlowSettings.virtualAgentEnabled && this.parentFlow.hasAISlotType && e3.addError(this.parentFlow.slotTypeSettings, U.bot.unsupportedAISlotTypeError), (null === (t3 = this.parentFlow.nluMetaData) || void 0 === t3 ? void 0 : t3.dynamicTimeslotTypeList) && !this.parentFlow.nluMetaData.dynamicTimeslotTypeList.outOfService && this.parentFlow.nluMetaData.dynamicTimeslotTypeList.validate(e3); + super.validate(e3), !this.nluDomainId && this.parentFlow.isCreated && e3.addError(this, J.bot.nluConfigurationUnavailable), this.parentFlow.isCreated && !this.parentFlow.botFlowSettings.virtualAgentEnabled && this.parentFlow.hasAISlotType && e3.addError(this.parentFlow.slotTypeSettings, J.bot.unsupportedAISlotTypeError), (null === (t3 = this.parentFlow.nluMetaData) || void 0 === t3 ? void 0 : t3.dynamicTimeslotTypeList) && !this.parentFlow.nluMetaData.dynamicTimeslotTypeList.outOfService && this.parentFlow.nluMetaData.dynamicTimeslotTypeList.validate(e3); } get wrappedYamlName() { - return this.parentFlow.type === N.flowTypes.flowTypeVoice ? "settingsBot" : "settingsBotFlow"; + return this.parentFlow.type === v.flowTypes.flowTypeVoice ? "settingsBot" : "settingsBotFlow"; } _destroy() { super._destroy(); } getSlotVariableNameForSlotName(e3, t3) { - return e3 ? (t3 && (e3 += `_${U.expression.collectionSingular}`), y.expressionDataService.cleanseForIdentifierName(e3, "_", true)) : "slot_"; + return e3 ? (t3 && (e3 += `_${J.expression.collectionSingular}`), S.expressionDataService.cleanseForIdentifierName(e3, "_", true)) : "slot_"; } createSlotVarForSlotName(e3, t3, i3, n3) { const r3 = this.parentFlow; @@ -85550,31 +92139,32 @@ ${e3.stack}`, n3 = [this].concat(i3); if (l2.type.isMatch(o.getArchitectTypeForNluType(t3, i3, n3), u.settings.exact)) return r3.nluMetaData.addSlot(e3, l2, t3), l2; s2 = r3._getUniqueName(r3.variableGroup.flowVariables, s2); } - const d2 = this.createExpressionForNLUDataType(s2, t3, i3, n3), _2 = c.addVariable(s2, d2, r3, `Variable for the '${e3}' slot.`, true); - d2.processText(true); + const c2 = this.createExpressionForNLUDataType(s2, t3, i3, n3), _2 = d.addVariable(s2, c2, r3, `Variable for the '${e3}' slot.`, true); + c2.processText(true); const h2 = {}; - return _2.getIsOutputCanSet(h2) && (_2.isOutput = true), _2.getIsInputCanSet(h2) && (_2.isInput = true), r3.nluMetaData.addSlot(e3, _2, t3), d2.destroy(), _2; + return _2.getIsOutputCanSet(h2) && (_2.isOutput = true), _2.getIsInputCanSet(h2) && (_2.isInput = true), r3.nluMetaData.addSlot(e3, _2, t3), c2.destroy(), _2; } createExpressionForNLUDataType(e3, t3, i3, n3) { let r3 = o.getArchitectTypeForNluType(t3, i3, n3); r3.isAvailableForFlow(this.parentFlow) || (a.warn(`The data nluDataType: ${r3} is not available for flow ${this.parentFlow.type}. Falling back to String.`), r3 = O.globalTypes.string); const s2 = r3.createExpressionOptionClass(); s2.setDefaultToExpression(true); - const l2 = new V.default({}), u2 = new S.ExpressionParameters(this.parentFlow, this.parent, l2, e3, true, s2); - return u2.type = r3, new w.NormalExpression(u2); + const l2 = new H.default({}), u2 = new A.ExpressionParameters(this.parentFlow, this.parent, l2, e3, true, s2); + return u2.type = r3, new x.NormalExpression(u2); } get allowsMoreThanOneSupportedLanguage() { const e3 = parseFloat(this.engineVersion); return !!isNaN(e3) || !!r2.default.isActualNumber(e3) && e3 >= 3; } clearDynamicAgenticVirtualAgentEnabledState() { - this._agenticVirtualAgentEnabledFlowCurrentState = void 0, this._hasCallAVAAction = void 0; + var e3; + this._agenticVirtualAgentEnabledFlowCurrentState = void 0, this._hasCallAVAAction = void 0, (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.loaded) && this._updateConversationSchemaFieldsOutOfService(); } setNewInstanceDefaults() { - super.setNewInstanceDefaults(), this.parent.isBotFlow && h.isFeatureAvailable(A.default.botFlowsVoiceProcessingPrompt); + super.setNewInstanceDefaults(), this.parent.isBotFlow && h.isFeatureAvailable(N.default.botFlowsVoiceProcessingPrompt); } initializeDesignTime() { - if (super.initializeDesignTime(), this.parent.isBotFlow && h.isFeatureAvailable(A.default.botFlowsVoiceProcessingPrompt)) { + if (super.initializeDesignTime(), this.parent.isBotFlow && h.isFeatureAvailable(N.default.botFlowsVoiceProcessingPrompt)) { const e3 = this.voiceProcessingPrompt; if (e3) { const t3 = e3.mode === _.literal && !!e3.text; @@ -85584,13 +92174,44 @@ ${e3.stack}`, n3 = [this].concat(i3); }); } } + (0, b.isFeatureAvailable)(N.default.botFlowsLLMPoweredFrontDoor) && (this.conversationSchema && (this.conversationSchema.isOptional = true, this.addAutoCleanedUpEventSinkWatch(l.valueChanged, this.conversationSchema, () => { + this._updateConversationSchemaFieldsOutOfService(); + })), this._updateConversationSchemaFieldsOutOfService()); + } + _updateConversationSchemaFieldsOutOfService() { + const e3 = !!this.virtualAgentEnabled, t3 = !!this.conversationSchemaId; + this.conversationSchema && (this.conversationSchema.outOfService = !e3), this.conversationSchemaRecordId && (this.conversationSchemaRecordId.outOfService = !e3 || !t3), this.conversationSchemaDivisions && (this.conversationSchemaDivisions.outOfService = !e3 || !t3); } updateAgenticVirtualAgentEnabledFromFlowInfo() { var e3, t3, i3; - (0, C.isFeatureAvailable)(A.default.botFlowsVirtualAgentGuideBillingDowngrade) && (this._agenticVirtualAgentEnabledFlowLoadState = null === (t3 = null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.info) || void 0 === t3 ? void 0 : t3.agenticVirtualAgentEnabled, this.clearDynamicAgenticVirtualAgentEnabledState(), (null === (i3 = this.parentFlow) || void 0 === i3 ? void 0 : i3.loaded) && l.emitter.emit(l.botFlowSettingChanged, { setting: "agenticVirtualAgentEnabled" })); + (0, b.isFeatureAvailable)(N.default.botFlowsVirtualAgentGuideBillingDowngrade) && (this._agenticVirtualAgentEnabledFlowLoadState = null === (t3 = null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.info) || void 0 === t3 ? void 0 : t3.agenticVirtualAgentEnabled, this.clearDynamicAgenticVirtualAgentEnabledState(), (null === (i3 = this.parentFlow) || void 0 === i3 ? void 0 : i3.loaded) && l.emitter.emit(l.botFlowSettingChanged, { setting: "agenticVirtualAgentEnabled" })); } } - t2.default = j; + t2.default = K; + }, 71765: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.applyFlowYamlSubstitutions = function(e3, t3) { + if (!t3 || n2.default.isEmpty(t3)) return e3; + const i3 = JSON.parse(JSON.stringify(e3)), r2 = (e4) => { + if (n2.default.isString(e4)) return ((e5) => { + let i4 = e5; + return n2.default.each(t3, (e6, t4) => { + const n3 = `{{${t4}}}`; + i4 = i4.split(n3).join(e6); + }), i4; + })(e4); + if (n2.default.isArray(e4)) return n2.default.map(e4, r2); + if (n2.default.isObject(e4)) { + const t4 = {}; + return n2.default.each(e4, (e5, i4) => { + t4[i4] = r2(e5); + }), t4; + } + return e4; + }; + return r2(i3); + }; + const n2 = i2(31635).__importDefault(i2(92140)); }, 71814: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -85613,8 +92234,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 71824: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(12847)), a = n2.__importDefault(i2(33139)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(58380)), u = n2.__importStar(i2(1115)), d = n2.__importDefault(i2(96651)), c = n2.__importDefault(i2(81948)), p = i2(47957), _ = i2(69674), h = i2(64420), m = i2(23695); - class g extends c.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(12847)), a = n2.__importDefault(i2(33139)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(58380)), u = n2.__importStar(i2(1115)), c = n2.__importDefault(i2(96651)), d = n2.__importDefault(i2(81948)), p = i2(47957), _ = i2(69674), h = i2(64420), m = i2(23695); + class g extends d.default { constructor(e3) { super(e3), this._statesMap = {}; } @@ -85678,7 +92299,7 @@ ${e3.stack}`, n3 = [this].concat(i3); createState(e3) { const t3 = new _(); t3.name = e3 || this._getUniqueName(this.states, p.task.newDefaultStateName); - const i3 = new d.default(this, t3); + const i3 = new c.default(this, t3); return this.addNewChild(i3), i3; } addNewChild(e3) { @@ -85710,7 +92331,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this._setInitialTrackingNumberFromConfiguration(e3.nextTrackingNumber), this._deleteAllStates(), this._extractSequenceItemViewModels(e3, this._statesMap, this.stateViewModel), this._statesArray = void 0, this.definition.supportsPeriodicState && (this._periodicState = void 0, this._periodicStateId = e3.periodicStateId), super._loadConfiguration(e3); } get stateViewModel() { - return d.default; + return c.default; } _destroy() { super._destroy(), this._deleteAllStates(); @@ -85809,31 +92430,31 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 71901: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = i2(65287), l = i2(4333), u = i2(13110), d = i2(28562), c = n2.__importDefault(i2(73198)), p = n2.__importStar(i2(63824)), _ = n2.__importStar(i2(63352)), h = i2(80428), m = n2.__importDefault(i2(15244)), g = i2(67607), f = i2(82319), T = i2(61870), y = i2(79467), S = i2(78513), A = i2(81516), N = i2(99469), O = n2.__importStar(i2(85020)), I = n2.__importStar(i2(10798)), v = i2(44351), C = i2(44351), b = i2(44351), E = n2.__importStar(i2(1115)), R = n2.__importDefault(i2(4648)), w = i2(12179), D = n2.__importDefault(i2(20084)), P = i2(21556), M = i2(21733), F = i2(47957); - class L extends D.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = i2(65287), l = i2(4333), u = i2(13110), c = i2(28562), d = n2.__importDefault(i2(73198)), p = n2.__importStar(i2(63824)), _ = n2.__importStar(i2(63352)), h = i2(80428), m = n2.__importDefault(i2(15244)), g = i2(67607), f = i2(82319), T = i2(61870), y = i2(79467), S = i2(78513), A = i2(81516), N = i2(21305), v = i2(99469), O = n2.__importStar(i2(85020)), I = n2.__importStar(i2(10798)), C = i2(44351), b = i2(44351), E = i2(44351), w = n2.__importStar(i2(1115)), R = n2.__importDefault(i2(4648)), D = i2(12179), P = n2.__importDefault(i2(20084)), M = i2(21556), F = i2(21733), L = i2(47957); + class x extends P.default { static get managedProperties() { - return [{ label: F.customNodes.botFlowUserInputSettings.quickRepliesLabel, options: g.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(F.customNodes.botFlowUserInputSettings.quickRepliesLabel, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.quickRepliesDescription, F.actions.askForBoolean, F.actions.askAnythingElse, F.actions.askForSlot)).setIninTestingField("enableAutomaticQuickReplies").setDefaultText(c.default.false).setHideDefaultTextDescription(true).setIsOptional(false).setFeatureConfigName(R.default.botFlowsAutomaticQuickRepliesFeature).setRequiresFlowQuickRepliesSetting(true).setBoolText(F.generic.genericOn, F.generic.genericOff).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.generalUserInputSettings)), property: "enableAutomaticQuickReplies", type: h.expressionTypeNames.boolean }, { label: F.customNodes.botFlowUserInputSettings.voiceBargeInSettingLabel, options: g.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(F.customNodes.botFlowUserInputSettings.voiceBargeInSettingLabel, F.customNodes.botFlowUserInputSettings.voiceBargeInSettingDescription).setIninTestingField("enableBargeIn").setDefaultText(c.default.false).setRequiredFlowChannelType(O.channelTypeCall).setHideDefaultTextDescription(true).setIsOptional(false).setBoolText(F.generic.genericOn, F.generic.genericOff).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.generalUserInputSettings)), property: "enableBargeIn", type: h.expressionTypeNames.boolean }, { label: F.customNodes.botFlowUserInputSettings.noMatchesMax, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("noMatchesMax").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.noMatchesMax, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.userInputSettingNoMatchesMaxDescription, F.actions.askForActionGeneric, F.customNodes.eventHandling.recognitionFailureEvent, F.generic.branches.noIntent)).setIsOptional(false).setDefaultText("3").setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.noMatches).facets.setMinInt(0, true).setMaxInt(20, true)), property: "noMatchesMax", type: h.expressionTypeNames.integer }, { label: F.customNodes.botFlowUserInputSettings.noInputsMax, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("noInputsMax").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.noInputsMax, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.userInputSettingsNoInputsMaxDescription, F.actions.askForActionGeneric, F.customNodes.eventHandling.recognitionFailureEvent, F.generic.branches.noIntent)).setIsOptional(false).setDefaultText("3").setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.noInputs).facets.setMinInt(0, true).setMaxInt(20, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("noInputsMax").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.noInputsMax, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.userInputSettingsNoInputsDigitalMaxDescription, F.actions.askForActionGeneric, F.customNodes.eventHandling.recognitionFailureEvent, F.generic.branches.noIntent)).setIsOptional(false).setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setDefaultText("3").setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.noInputs).facets.setMinInt(0, true).setMaxInt(20, true)) }], property: "noInputsMax", type: h.expressionTypeNames.integer }, { list: true, label: F.customNodes.botFlowUserInputSettings.noInputsApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setDescriptionInfo(F.customNodes.botFlowUserInputSettings.noInputsApology, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.userInputSettingsNoInputsApologyDescription, F.actions.askForActionGeneric, F.askCommon.noInput)).setCollectionItemsWantCollectionDescriptionInfo(true).setIninTestingField("noInputsApologies").setIsOptional(false).setDefaultToBuilderId(d.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoInputApologySequence).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.noInputs)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setDescriptionInfo(F.customNodes.botFlowUserInputSettings.noInputsApology, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.userInputSettingsNoInputsApologyDescription, F.actions.askForActionGeneric, F.askCommon.noInput)).setCollectionItemsWantCollectionDescriptionInfo(true).setIninTestingField("noInputsApologies").setIsOptional(false).setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setDefaultToBuilderId(d.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoInputApologyDigitalBotSequence).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.noInputs)) }], property: "noInputsApologies", type: h.expressionTypeNames.communication }, { label: F.customNodes.botFlowUserInputSettings.noInputsTimeout, options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("noInputsTimeout").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.noInputsTimeout, F.customNodes.botFlowUserInputSettings.userInputSettingsNoInputTimeoutDescription).setIsOptional(false).setDefaultText(c.default.litDurationSevenSeconds).setRequiredFlowChannelType(O.channelTypeCall).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.noInputs).setDurationStyle(p.durationStyles.secondsAndTenthsDuration).facets.setMinDur(0, true).setMaxDur(10 * c.default.msPerSecond, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("noInputsTimeout").setLabelOverride(F.customNodes.botFlowUserInputSettings.noInputsDigitalTimeout).setDescriptionInfo(F.customNodes.botFlowUserInputSettings.noInputsDigitalTimeout, F.customNodes.botFlowUserInputSettings.userInputSettingsNoInputDigitalTimeoutDescription).setIsOptional(false).setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setDefaultText(c.default.litDurationOneMinute).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.noInputs).setDurationStyle(p.durationStyles.fullDuration).facets.setMinDur(10 * c.default.msPerSecond, true).setMaxDur(3 * c.default.msPerDay, true)) }], property: "noInputsTimeout", type: h.expressionTypeNames.duration }, { label: F.customNodes.botFlowUserInputSettings.noInputsMaxExceeded, createDetails: u.EventHandlingTypeProperty.createCreateDetails(I.isFeatureAvailable("botFlowEscalationRecognitionHandlingV2") ? [m.default.Continue, m.default.Disconnect, m.default.Exit, m.default.Task] : [m.default.Continue, m.default.Disconnect, m.default.Exit], "noInputsMaxExceededHandlingType", m.default.Continue, true), options: N.ManagedPropertyOptions.create((e3) => e3.setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.noInputs).setDescriptionInfo(F.customNodes.botFlowUserInputSettings.noInputsMaxExceeded, F.customNodes.botFlowUserInputSettings.noInputsMaxExceededDescription)), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], property: "noInputsMaxExceededHandling" }, { createDetails: l.ContainerActionProperty.createCreateDetails({ modelIdPropName: "noInputsMaxExceededTaskId", modelNamePropName: "noInputsMaxExceededTaskName", itemDoesNotExistBaseString: F.task.label, noReferenceString: F.task.noReference, referencesTasks: true, validReferenceCallback: (e3) => e3 && !e3.isTransferable && e3.hasBranchTerminatingWithEndTask ? { error: F.task.invalidReferenceTaskTransfer } : e3 && e3.isTask && e3.isTransferable ? void 0 : { error: F.task.invalidReference } }), options: N.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("noInputsMaxExceededTask").setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.noInputs).setFeatureConfigName(R.default.botFlowEscalationRecognitionHandlingV2)), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], property: "noInputsMaxExceededTask" }, { label: F.customNodes.botFlowUserInputSettings.confirmationRejectionsMax, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("confirmationRejectionsMax").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.confirmationRejectionsMax, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.userInputSettingsConfirmationRejectionsMaxDescription, F.actions.askForActionGeneric, F.customNodes.eventHandling.recognitionFailureEvent, F.generic.branches.noIntent)).setIsOptional(false).setDefaultText("3").setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.confirmationErrors).facets.setMinInt(0, true).setMaxInt(20, true)), property: "confirmationRejectionsMax", type: h.expressionTypeNames.integer }, { label: F.customNodes.botFlowUserInputSettings.collectionLowConfidenceThreshold, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("collectionLowConfidenceThreshold").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.collectionLowConfidenceThreshold, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.userSettingsCollectionLowConfidenceThresholdDescription, F.customNodes.botFlowUserInputSettings.collectionHighConfidenceThreshold)).setIsOptional(false).setDefaultText("20").setSubLabel(F.speechRec.minConfidenceLevelRange).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.confidenceThresholds).setCustomLiteralValidator((e4) => x(e4)).facets.setMinInt(0, true).setMaxInt(100, true)), property: "collectionLowConfidenceThreshold", type: h.expressionTypeNames.integer }, { label: F.customNodes.botFlowUserInputSettings.collectionHighConfidenceThreshold, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("collectionHighConfidenceThreshold").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.collectionHighConfidenceThreshold, F.customNodes.botFlowUserInputSettings.userSettingsCollectionHighConfidenceThresholdDescription).setIsOptional(false).setDefaultText("70").setSubLabel(F.speechRec.minConfidenceLevelRange).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.confidenceThresholds).setCustomLiteralValidator((e4) => x(e4)).facets.setMinInt(0, true).setMaxInt(100, true)), property: "collectionHighConfidenceThreshold", type: h.expressionTypeNames.integer }, { label: F.customNodes.botFlowUserInputSettings.confirmationLowConfidenceThreshold, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("confirmationLowConfidenceThreshold").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.confirmationLowConfidenceThreshold, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.userSettingsConfirmationLowConfidenceThresholdDescription, F.actions.askForBoolean, F.actions.askForNLUNextIntentAction)).setIsOptional(false).setDefaultText("40").setSubLabel(F.speechRec.minConfidenceLevelRange).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.confidenceThresholds).facets.setMinInt(0, true).setMaxInt(100, true)), property: "confirmationLowConfidenceThreshold", type: h.expressionTypeNames.integer }, { label: F.speechToText.recognitionParams.speechToTextSpeechDetectionSensitivity, options: T.ExpressionTypeDecimalOptions.create((e3) => e3.setIninTestingField("speechToTextSpeechDetectionSensitivity").setDescriptionInfo(F.speechToText.recognitionParams.speechToTextSpeechDetectionSensitivity, (0, o.sprintf)(F.generic.joinTwoSentences, F.customNodes.botFlowUserInputSettings.userSettingsSttSpeechDetectionSensitivity, F.customNodes.botFlowUserInputSettings.userSettingsSttSpeechDetectionSensitivityNuanceSupport)).setFeatureConfigName(R.default.orgAvailabilityGrammars).setUiPropertyGroup(F.speechToText.recognitionParams.speechRecognitionParameters).setIsOptional(true).facets.setMinDec(0).setMinValInclusive(true).setMaxDec(1).setMaxValInclusive(true)), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoice, r2.flowTypes.flowTypeVoiceSurvey], property: "speechToTextSpeechDetectionSensitivity", type: h.expressionTypeNames.decimal }, { label: F.speechToText.recognitionParams.speechToTextMaxSpeechTimeout, options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("speechToTextMaxSpeechTimeout").setDescriptionInfo(F.speechToText.recognitionParams.speechToTextMaxSpeechTimeout, F.customNodes.botFlowUserInputSettings.userSettingsSttMaxSpeechTimeout).setFeatureConfigName(R.default.orgAvailabilityGrammars).setUiPropertyGroup(F.speechToText.recognitionParams.speechRecognitionParameters).setDurationStyle(p.durationStyles.secondsAndTenthsDuration).setIsOptional(true).facets.setMinDur(0, true).setMaxDur(30 * c.default.msPerSecond, true)), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoice, r2.flowTypes.flowTypeVoiceSurvey], property: "speechToTextMaxSpeechTimeout", type: h.expressionTypeNames.duration }, { label: F.customNodes.botFlowUserInputSettings.intentClassificationHintingLabel, supportedFlowTypes: [r2.flowTypes.flowTypeBot], options: g.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(F.customNodes.botFlowUserInputSettings.intentClassificationHintingLabel, F.customNodes.botFlowUserInputSettings.intentClassificationHintingDescription).setIninTestingField("enableIntentClassificationHinting").setBoolText("", "").setDefaultText(c.default.false).setUseToggle(true).setIsOptional(false).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.automaticSpeechRecognition).setUiSingleItemSectionPropertyGroup(true).setFeatureConfigName(R.default.botFlowsIntentClassificationHintingAsr).setAllowModeLiteralOnly()), property: "enableIntentClassificationHinting", type: h.expressionTypeNames.boolean }, { label: F.collectInput.interDigitTimeout, options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("interDigitTimeout").setDefaultText(c.default.litDurationThreeSeconds).setUiPropertyGroup(F.voiceSurvey.voiceSurveyDtmfSettingsLabel).setDurationStyle(p.durationStyles.minutesSecondsAndMsDuration).facets.setMinDur(1e3, true).setMaxDur(99e3, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeBot], options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("interDigitTimeout").setDefaultText(c.default.litDurationThreeSeconds).setUiPropertyGroup(F.voiceSurvey.voiceSurveyDtmfSettingsLabel).setDurationStyle(p.durationStyles.minutesSecondsAndMsDuration).setFeatureConfigName(R.default.botFlowsInterDigitTimeout).facets.setMinDur(1e3, true).setMaxDur(99e3, true)) }], property: "interDigitTimeout", type: h.expressionTypeNames.duration, supportedFlowTypes: [r2.flowTypes.flowTypeVoiceSurvey, r2.flowTypes.flowTypeBot] }, { label: F.voiceSurvey.voiceSurveyTerminatingCharacterLabel, options: A.ExpressionTypeStringOptions.create((e3) => { - e3.setIninTestingField("dtmfTerminatingCharacter").setUiPropertyGroup(F.voiceSurvey.voiceSurveyDtmfSettingsLabel).setDescriptionInfo(F.voiceSurvey.voiceSurveyTerminatingCharacterLabel, F.voiceSurvey.voiceSurveyTerminatingCharacterDescription).facets.setAllowableValues(b.surveyFormDtmfTerminatingValues).setAllowableValueUseOriginalDisplayString(true), I.isFeatureAvailable(R.default.botFlowsProgrammaticTerminatingCharacters) ? e3.setIsOptional(true).setDefaultToNoValue(true).setAllowModeExpression(true).setAllowModeBuilder(false) : e3.setAllowModeLiteralOnly().setDefaultText(C.dtmfPound); - }), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeBot], options: A.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("dtmfTerminatingCharacter").setUiPropertyGroup(F.voiceSurvey.voiceSurveyDtmfSettingsLabel).setIsOptional(true).setDefaultToNoValue(true).setAllowModeExpression(I.isFeatureAvailable(R.default.botFlowsProgrammaticTerminatingCharacters)).setAllowModeBuilder(false).setFeatureConfigName(R.default.botFlowsInterDigitTimeout).setDescriptionInfo(F.voiceSurvey.voiceSurveyTerminatingCharacterLabel, F.voiceSurvey.voiceSurveyTerminatingCharacterDescription).facets.setAllowableValues(v.botFormDtmfTerminatingValues).setAllowableValueUseOriginalDisplayString(true)) }], property: "dtmfTerminatingCharacter", type: h.expressionTypeNames.string, supportedFlowTypes: [r2.flowTypes.flowTypeVoiceSurvey, r2.flowTypes.flowTypeBot] }, { list: true, label: F.customNodes.botFlowUserInputSettings.noMatchApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("noMatchApologies").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.noMatchApology, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.userInputSettingNoMatchApologyDescription, F.actions.askForActionGeneric, F.askCommon.noMatch)).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(d.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoMatchApologySequence).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.noMatches)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("noMatchApologies").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.noMatchApology, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.userInputSettingNoMatchApologyDescription, F.actions.askForActionGeneric, F.askCommon.noMatch)).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(d.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoMatchApologySequence).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.noMatches)) }], property: "noMatchApologies", type: h.expressionTypeNames.communication }, { label: F.customNodes.botFlowUserInputSettings.endOfSessionMessage, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("endOfSessionMessage").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.endOfSessionMessage, F.customNodes.botFlowUserInputSettings.endOfSessionMessageDescription).setIsOptional(true).setDefaultToBuilderId(d.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsEndOfSessionMessageDigitalBotSequence).setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.noInputs)), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], property: "endOfSessionMessage", type: h.expressionTypeNames.communication }, { list: true, label: F.customNodes.botFlowUserInputSettings.noToConfirmationApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("noToConfirmationApologies").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.noToConfirmationApology, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.userInputSettingsNoToConfirmationApologyDescription, F.actions.askForActionGeneric, F.askCommon.noMatch)).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(d.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoToConfirmationApologySequence).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.confirmationErrors)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("noToConfirmationApologies").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.noToConfirmationApology, (0, o.sprintf)(F.customNodes.botFlowUserInputSettings.userInputSettingsNoToConfirmationApologyDescription, F.actions.askForActionGeneric, F.askCommon.noMatch)).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(d.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoToConfirmationApologySequence).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.confirmationErrors)) }], property: "noToConfirmationApologies", type: h.expressionTypeNames.communication }, { list: true, label: F.customNodes.botFlowUserInputSettings.confirmationNoMatchApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("confirmationNoMatchApologies").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.confirmationNoMatchApology, F.customNodes.botFlowUserInputSettings.userSettingsConfirmationNoMatchApologyDescription).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(d.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsConfirmationNoMatchApologySequence).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.confirmationErrors)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("confirmationNoMatchApologies").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.confirmationNoMatchApology, F.customNodes.botFlowUserInputSettings.userSettingsConfirmationNoMatchApologyDescription).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(d.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsConfirmationNoMatchApologyDigitalBotSequence).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.confirmationErrors)) }], property: "confirmationNoMatchApologies", type: h.expressionTypeNames.communication }, { list: true, label: F.customNodes.botFlowUserInputSettings.confirmationNoInputApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("confirmationNoInputApologies").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.confirmationNoInputApology, F.customNodes.botFlowUserInputSettings.userSettingsConfirmationNoInputApology).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(d.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsConfirmationNoInputApologySequence).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.confirmationErrors)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("confirmationNoInputApologies").setDescriptionInfo(F.customNodes.botFlowUserInputSettings.confirmationNoInputApology, F.customNodes.botFlowUserInputSettings.userSettingsConfirmationNoInputApology).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(d.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsConfirmationNoInputApologyDigitalBotSequence).setUiPropertyGroup(F.customNodes.botFlowUserInputSettings.confirmationErrors)) }], property: "confirmationNoInputApologies", type: h.expressionTypeNames.communication }]; + return [{ label: L.customNodes.botFlowUserInputSettings.quickRepliesLabel, options: g.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(L.customNodes.botFlowUserInputSettings.quickRepliesLabel, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.quickRepliesDescription, L.actions.askForBoolean, L.actions.askAnythingElse, L.actions.askForSlot)).setIninTestingField("enableAutomaticQuickReplies").setDefaultText(d.default.false).setHideDefaultTextDescription(true).setIsOptional(false).setFeatureConfigName(R.default.botFlowsAutomaticQuickRepliesFeature).setRequiresFlowQuickRepliesSetting(true).setBoolText(L.generic.genericOn, L.generic.genericOff).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.generalUserInputSettings)), property: "enableAutomaticQuickReplies", type: h.expressionTypeNames.boolean }, { label: L.customNodes.botFlowUserInputSettings.voiceBargeInSettingLabel, options: g.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(L.customNodes.botFlowUserInputSettings.voiceBargeInSettingLabel, L.customNodes.botFlowUserInputSettings.voiceBargeInSettingDescription).setIninTestingField("enableBargeIn").setDefaultText(d.default.false).setRequiredFlowChannelType(O.channelTypeCall).setHideDefaultTextDescription(true).setIsOptional(false).setBoolText(L.generic.genericOn, L.generic.genericOff).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.generalUserInputSettings)), property: "enableBargeIn", type: h.expressionTypeNames.boolean }, { label: L.customNodes.botFlowUserInputSettings.noMatchesMax, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("noMatchesMax").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.noMatchesMax, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.userInputSettingNoMatchesMaxDescription, L.actions.askForActionGeneric, L.customNodes.eventHandling.recognitionFailureEvent, L.generic.branches.noIntent)).setIsOptional(false).setDefaultText("3").setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.noMatches).facets.setMinInt(0, true).setMaxInt(20, true)), property: "noMatchesMax", type: h.expressionTypeNames.integer }, { label: L.customNodes.botFlowUserInputSettings.noInputsMax, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("noInputsMax").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.noInputsMax, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.userInputSettingsNoInputsMaxDescription, L.actions.askForActionGeneric, L.customNodes.eventHandling.recognitionFailureEvent, L.generic.branches.noIntent)).setIsOptional(false).setDefaultText("3").setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.noInputs).facets.setMinInt(0, true).setMaxInt(20, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("noInputsMax").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.noInputsMax, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.userInputSettingsNoInputsDigitalMaxDescription, L.actions.askForActionGeneric, L.customNodes.eventHandling.recognitionFailureEvent, L.generic.branches.noIntent)).setIsOptional(false).setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setDefaultText("3").setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.noInputs).facets.setMinInt(0, true).setMaxInt(20, true)) }], property: "noInputsMax", type: h.expressionTypeNames.integer }, { list: true, label: L.customNodes.botFlowUserInputSettings.noInputsApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setDescriptionInfo(L.customNodes.botFlowUserInputSettings.noInputsApology, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.userInputSettingsNoInputsApologyDescription, L.actions.askForActionGeneric, L.askCommon.noInput)).setCollectionItemsWantCollectionDescriptionInfo(true).setIninTestingField("noInputsApologies").setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoInputApologySequence).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.noInputs)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setDescriptionInfo(L.customNodes.botFlowUserInputSettings.noInputsApology, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.userInputSettingsNoInputsApologyDescription, L.actions.askForActionGeneric, L.askCommon.noInput)).setCollectionItemsWantCollectionDescriptionInfo(true).setIninTestingField("noInputsApologies").setIsOptional(false).setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoInputApologyDigitalBotSequence).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.noInputs)) }], property: "noInputsApologies", type: h.expressionTypeNames.communication }, { label: L.customNodes.botFlowUserInputSettings.noInputsTimeout, options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("noInputsTimeout").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.noInputsTimeout, L.customNodes.botFlowUserInputSettings.userInputSettingsNoInputTimeoutDescription).setIsOptional(false).setDefaultText(d.default.litDurationSevenSeconds).setRequiredFlowChannelType(O.channelTypeCall).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.noInputs).setDurationStyle(p.durationStyles.secondsAndTenthsDuration).facets.setMinDur(0, true).setMaxDur(10 * d.default.msPerSecond, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("noInputsTimeout").setLabelOverride(L.customNodes.botFlowUserInputSettings.noInputsDigitalTimeout).setDescriptionInfo(L.customNodes.botFlowUserInputSettings.noInputsDigitalTimeout, L.customNodes.botFlowUserInputSettings.userInputSettingsNoInputDigitalTimeoutDescription).setIsOptional(false).setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setDefaultText(d.default.litDurationOneMinute).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.noInputs).setDurationStyle(p.durationStyles.fullDuration).facets.setMinDur(10 * d.default.msPerSecond, true).setMaxDur(3 * d.default.msPerDay, true)) }], property: "noInputsTimeout", type: h.expressionTypeNames.duration }, { label: L.customNodes.botFlowUserInputSettings.noInputsMaxExceeded, createDetails: u.EventHandlingTypeProperty.createCreateDetails(I.isFeatureAvailable("botFlowEscalationRecognitionHandlingV2") ? [m.default.Continue, m.default.Disconnect, m.default.Exit, m.default.Task] : [m.default.Continue, m.default.Disconnect, m.default.Exit], "noInputsMaxExceededHandlingType", m.default.Continue, true), options: v.ManagedPropertyOptions.create((e3) => e3.setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.noInputs).setDescriptionInfo(L.customNodes.botFlowUserInputSettings.noInputsMaxExceeded, L.customNodes.botFlowUserInputSettings.noInputsMaxExceededDescription)), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], property: "noInputsMaxExceededHandling" }, { createDetails: l.ContainerActionProperty.createCreateDetails({ modelIdPropName: "noInputsMaxExceededTaskId", modelNamePropName: "noInputsMaxExceededTaskName", itemDoesNotExistBaseString: L.task.label, noReferenceString: L.task.noReference, referencesTasks: true, validReferenceCallback: (e3) => e3 && !e3.isTransferable && e3.hasBranchTerminatingWithEndTask ? { error: L.task.invalidReferenceTaskTransfer } : e3 && e3.isTask && e3.isTransferable ? void 0 : { error: L.task.invalidReference } }), options: v.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("noInputsMaxExceededTask").setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.noInputs).setFeatureConfigName(R.default.botFlowEscalationRecognitionHandlingV2)), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], property: "noInputsMaxExceededTask" }, { label: L.customNodes.botFlowUserInputSettings.confirmationRejectionsMax, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("confirmationRejectionsMax").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.confirmationRejectionsMax, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.userInputSettingsConfirmationRejectionsMaxDescription, L.actions.askForActionGeneric, L.customNodes.eventHandling.recognitionFailureEvent, L.generic.branches.noIntent)).setIsOptional(false).setDefaultText("3").setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.confirmationErrors).facets.setMinInt(0, true).setMaxInt(20, true)), property: "confirmationRejectionsMax", type: h.expressionTypeNames.integer }, { label: L.customNodes.botFlowUserInputSettings.collectionLowConfidenceThreshold, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("collectionLowConfidenceThreshold").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.collectionLowConfidenceThreshold, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.userSettingsCollectionLowConfidenceThresholdDescription, L.customNodes.botFlowUserInputSettings.collectionHighConfidenceThreshold)).setIsOptional(false).setDefaultText("20").setSubLabel(L.speechRec.minConfidenceLevelRange).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.confidenceThresholds).setCustomLiteralValidator((e4) => k(e4)).facets.setMinInt(0, true).setMaxInt(100, true)), property: "collectionLowConfidenceThreshold", type: h.expressionTypeNames.integer }, { label: L.customNodes.botFlowUserInputSettings.collectionHighConfidenceThreshold, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("collectionHighConfidenceThreshold").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.collectionHighConfidenceThreshold, L.customNodes.botFlowUserInputSettings.userSettingsCollectionHighConfidenceThresholdDescription).setIsOptional(false).setDefaultText("70").setSubLabel(L.speechRec.minConfidenceLevelRange).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.confidenceThresholds).setCustomLiteralValidator((e4) => k(e4)).facets.setMinInt(0, true).setMaxInt(100, true)), property: "collectionHighConfidenceThreshold", type: h.expressionTypeNames.integer }, { label: L.customNodes.botFlowUserInputSettings.confirmationLowConfidenceThreshold, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("confirmationLowConfidenceThreshold").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.confirmationLowConfidenceThreshold, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.userSettingsConfirmationLowConfidenceThresholdDescription, L.actions.askForBoolean, L.actions.askForNLUNextIntentAction)).setIsOptional(false).setDefaultText("40").setSubLabel(L.speechRec.minConfidenceLevelRange).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.confidenceThresholds).facets.setMinInt(0, true).setMaxInt(100, true)), property: "confirmationLowConfidenceThreshold", type: h.expressionTypeNames.integer }, { label: L.speechToText.recognitionParams.speechToTextSpeechDetectionSensitivity, options: T.ExpressionTypeDecimalOptions.create((e3) => e3.setIninTestingField("speechToTextSpeechDetectionSensitivity").setDescriptionInfo(L.speechToText.recognitionParams.speechToTextSpeechDetectionSensitivity, (0, o.sprintf)(L.generic.joinTwoSentences, L.customNodes.botFlowUserInputSettings.userSettingsSttSpeechDetectionSensitivity, L.customNodes.botFlowUserInputSettings.userSettingsSttSpeechDetectionSensitivityNuanceSupport)).setFeatureConfigName(R.default.orgAvailabilityGrammars).setUiPropertyGroup(L.speechToText.recognitionParams.speechRecognitionParameters).setIsOptional(true).facets.setMinDec(0).setMinValInclusive(true).setMaxDec(1).setMaxValInclusive(true)), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoice, r2.flowTypes.flowTypeVoiceSurvey], property: "speechToTextSpeechDetectionSensitivity", type: h.expressionTypeNames.decimal }, { label: L.speechToText.recognitionParams.speechToTextMaxSpeechTimeout, options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("speechToTextMaxSpeechTimeout").setDescriptionInfo(L.speechToText.recognitionParams.speechToTextMaxSpeechTimeout, L.customNodes.botFlowUserInputSettings.userSettingsSttMaxSpeechTimeout).setFeatureConfigName(R.default.orgAvailabilityGrammars).setUiPropertyGroup(L.speechToText.recognitionParams.speechRecognitionParameters).setDurationStyle(p.durationStyles.secondsAndTenthsDuration).setIsOptional(true).facets.setMinDur(0, true).setMaxDur(30 * d.default.msPerSecond, true)), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoice, r2.flowTypes.flowTypeVoiceSurvey], property: "speechToTextMaxSpeechTimeout", type: h.expressionTypeNames.duration }, { label: L.customNodes.botFlowUserInputSettings.speechToTextAdvancedConfiguration, options: N.ExpressionTypeJsonOptions.create((e3) => e3.setIsOptional(true).setDefaultToNoValue(true).setAllowModeLiteralOnly().setRequireObjectLiteral(true).setFeatureConfigName(R.default.botFlowsSTTTuning).setDescriptionInfo(L.customNodes.botFlowUserInputSettings.speechToTextAdvancedConfiguration, L.customNodes.botFlowUserInputSettings.speechToTextAdvancedConfigurationDescription).setIninTestingField("speechToTextAdvancedConfiguration").setUiPropertyGroup(L.speechToText.recognitionParams.speechRecognitionParameters)), supportedFlowTypes: [r2.flowTypes.flowTypeBot], property: "speechToTextAdvancedConfiguration", type: h.expressionTypeNames.json }, { label: L.customNodes.botFlowUserInputSettings.intentClassificationHintingLabel, supportedFlowTypes: [r2.flowTypes.flowTypeBot], options: g.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(L.customNodes.botFlowUserInputSettings.intentClassificationHintingLabel, L.customNodes.botFlowUserInputSettings.intentClassificationHintingDescription).setIninTestingField("enableIntentClassificationHinting").setBoolText("", "").setDefaultText(d.default.false).setUseToggle(true).setIsOptional(false).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.automaticSpeechRecognition).setUiSingleItemSectionPropertyGroup(true).setFeatureConfigName(R.default.botFlowsIntentClassificationHintingAsr).setAllowModeLiteralOnly()), property: "enableIntentClassificationHinting", type: h.expressionTypeNames.boolean }, { label: L.collectInput.interDigitTimeout, options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("interDigitTimeout").setDefaultText(d.default.litDurationThreeSeconds).setUiPropertyGroup(L.voiceSurvey.voiceSurveyDtmfSettingsLabel).setDurationStyle(p.durationStyles.minutesSecondsAndMsDuration).facets.setMinDur(1e3, true).setMaxDur(99e3, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeBot], options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("interDigitTimeout").setDefaultText(d.default.litDurationThreeSeconds).setUiPropertyGroup(L.voiceSurvey.voiceSurveyDtmfSettingsLabel).setDurationStyle(p.durationStyles.minutesSecondsAndMsDuration).setFeatureConfigName(R.default.botFlowsInterDigitTimeout).facets.setMinDur(1e3, true).setMaxDur(99e3, true)) }], property: "interDigitTimeout", type: h.expressionTypeNames.duration, supportedFlowTypes: [r2.flowTypes.flowTypeVoiceSurvey, r2.flowTypes.flowTypeBot] }, { label: L.voiceSurvey.voiceSurveyTerminatingCharacterLabel, options: A.ExpressionTypeStringOptions.create((e3) => { + e3.setIninTestingField("dtmfTerminatingCharacter").setUiPropertyGroup(L.voiceSurvey.voiceSurveyDtmfSettingsLabel).setDescriptionInfo(L.voiceSurvey.voiceSurveyTerminatingCharacterLabel, L.voiceSurvey.voiceSurveyTerminatingCharacterDescription).setDefaultText(b.dtmfPound).setDoNotTransitionToNoValue(true).facets.setAllowableValues(E.surveyFormDtmfTerminatingValues).setAllowableValueUseOriginalDisplayString(true), I.isFeatureAvailable(R.default.botFlowsProgrammaticTerminatingCharacters) ? e3.setIsOptional(true).setAllowModeExpression(true).setAllowModeBuilder(false) : e3.setAllowModeLiteralOnly(); + }), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeBot], options: A.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("dtmfTerminatingCharacter").setUiPropertyGroup(L.voiceSurvey.voiceSurveyDtmfSettingsLabel).setIsOptional(true).setDefaultToNoValue(true).setAllowModeExpression(I.isFeatureAvailable(R.default.botFlowsProgrammaticTerminatingCharacters)).setAllowModeBuilder(false).setFeatureConfigName(R.default.botFlowsInterDigitTimeout).setDescriptionInfo(L.voiceSurvey.voiceSurveyTerminatingCharacterLabel, L.voiceSurvey.voiceSurveyTerminatingCharacterDescription).facets.setAllowableValues(C.botFormDtmfTerminatingValues).setAllowableValueUseOriginalDisplayString(true)) }], property: "dtmfTerminatingCharacter", type: h.expressionTypeNames.string, supportedFlowTypes: [r2.flowTypes.flowTypeVoiceSurvey, r2.flowTypes.flowTypeBot] }, { list: true, label: L.customNodes.botFlowUserInputSettings.noMatchApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("noMatchApologies").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.noMatchApology, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.userInputSettingNoMatchApologyDescription, L.actions.askForActionGeneric, L.askCommon.noMatch)).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoMatchApologySequence).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.noMatches)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("noMatchApologies").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.noMatchApology, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.userInputSettingNoMatchApologyDescription, L.actions.askForActionGeneric, L.askCommon.noMatch)).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoMatchApologySequence).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.noMatches)) }], property: "noMatchApologies", type: h.expressionTypeNames.communication }, { label: L.customNodes.botFlowUserInputSettings.endOfSessionMessage, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("endOfSessionMessage").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.endOfSessionMessage, L.customNodes.botFlowUserInputSettings.endOfSessionMessageDescription).setIsOptional(true).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsEndOfSessionMessageDigitalBotSequence).setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.noInputs)), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], property: "endOfSessionMessage", type: h.expressionTypeNames.communication }, { list: true, label: L.customNodes.botFlowUserInputSettings.noToConfirmationApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("noToConfirmationApologies").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.noToConfirmationApology, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.userInputSettingsNoToConfirmationApologyDescription, L.actions.askForActionGeneric, L.askCommon.noMatch)).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoToConfirmationApologySequence).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.confirmationErrors)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("noToConfirmationApologies").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.noToConfirmationApology, (0, o.sprintf)(L.customNodes.botFlowUserInputSettings.userInputSettingsNoToConfirmationApologyDescription, L.actions.askForActionGeneric, L.askCommon.noMatch)).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoToConfirmationApologySequence).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.confirmationErrors)) }], property: "noToConfirmationApologies", type: h.expressionTypeNames.communication }, { list: true, label: L.customNodes.botFlowUserInputSettings.confirmationNoMatchApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("confirmationNoMatchApologies").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.confirmationNoMatchApology, L.customNodes.botFlowUserInputSettings.userSettingsConfirmationNoMatchApologyDescription).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsConfirmationNoMatchApologySequence).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.confirmationErrors)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("confirmationNoMatchApologies").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.confirmationNoMatchApology, L.customNodes.botFlowUserInputSettings.userSettingsConfirmationNoMatchApologyDescription).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsConfirmationNoMatchApologyDigitalBotSequence).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.confirmationErrors)) }], property: "confirmationNoMatchApologies", type: h.expressionTypeNames.communication }, { list: true, label: L.customNodes.botFlowUserInputSettings.confirmationNoInputApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("confirmationNoInputApologies").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.confirmationNoInputApology, L.customNodes.botFlowUserInputSettings.userSettingsConfirmationNoInputApology).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsConfirmationNoInputApologySequence).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.confirmationErrors)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("confirmationNoInputApologies").setDescriptionInfo(L.customNodes.botFlowUserInputSettings.confirmationNoInputApology, L.customNodes.botFlowUserInputSettings.userSettingsConfirmationNoInputApology).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsConfirmationNoInputApologyDigitalBotSequence).setUiPropertyGroup(L.customNodes.botFlowUserInputSettings.confirmationErrors)) }], property: "confirmationNoInputApologies", type: h.expressionTypeNames.communication }]; } constructor(e3) { - super(e3, "userInputSettings", P); + super(e3, "userInputSettings", M); } get id() { return "userInputSettings"; } get helpTopic() { - return this.parentFlow.isVoiceSurveyFlow ? w.helpTopics.treeNodes.userInputSettingsVoiceSurvey : w.helpTopics.treeNodes.userInputSettings; + return this.parentFlow.isVoiceSurveyFlow ? D.helpTopics.treeNodes.userInputSettingsVoiceSurvey : D.helpTopics.treeNodes.userInputSettings; } get className() { return "BotFlowUserInputSettingsViewModel"; } getDisplayName() { - return F.customNodes.userInputSettings.title; + return L.customNodes.userInputSettings.title; } getConfiguration(e3, t3) { if (null == t3 ? void 0 : t3.isForFlowYaml) { - const i3 = { enableBargeIn: this.enableBargeIn.getConfiguration(e3, t3), enableAutomaticQuickReplies: this.enableAutomaticQuickReplies.getConfiguration(e3, t3), noMatchesMax: this.noMatchesMax.getConfiguration(e3, t3), noInputsMax: this.noInputsMax.getConfiguration(e3, t3), noInputsMaxExceededHandling: this.noInputsMaxExceededHandling.getConfiguration(e3, t3), noInputsTimeout: this.noInputsTimeout.getConfiguration(e3, t3), speechToTextSpeechDetectionSensitivity: this.speechToTextSpeechDetectionSensitivity.getConfiguration(e3, t3), speechToTextMaxSpeechTimeout: this.speechToTextMaxSpeechTimeout.getConfiguration(e3, t3), enableIntentClassificationHinting: this.enableIntentClassificationHinting.getConfiguration(e3, t3), interDigitTimeout: this.interDigitTimeout.getConfiguration(e3, t3), dtmfTerminatingCharacter: this.dtmfTerminatingCharacter.getConfiguration(e3, t3), endOfSessionMessage: this.endOfSessionMessage.getConfiguration(e3, t3), confirmationRejectionsMax: this.confirmationRejectionsMax.getConfiguration(e3, t3), collectionLowConfidenceThreshold: this.collectionLowConfidenceThreshold.getConfiguration(e3, t3), collectionHighConfidenceThreshold: this.collectionHighConfidenceThreshold.getConfiguration(e3, t3), confirmationLowConfidenceThreshold: this.confirmationLowConfidenceThreshold.getConfiguration(e3, t3), noMatchApology: this.noMatchApologies.getConfiguration(e3, t3)[0], noInputApology: this.noInputsApologies.getConfiguration(e3, t3)[0], noToConfirmationApology: this.noToConfirmationApologies.getConfiguration(e3, t3)[0], confirmationNoMatchApology: this.confirmationNoMatchApologies.getConfiguration(e3, t3)[0], confirmationNoInputApology: this.confirmationNoInputApologies.getConfiguration(e3, t3)[0] }; + const i3 = { enableBargeIn: this.enableBargeIn.getConfiguration(e3, t3), enableAutomaticQuickReplies: this.enableAutomaticQuickReplies.getConfiguration(e3, t3), noMatchesMax: this.noMatchesMax.getConfiguration(e3, t3), noInputsMax: this.noInputsMax.getConfiguration(e3, t3), noInputsMaxExceededHandling: this.noInputsMaxExceededHandling.getConfiguration(e3, t3), noInputsTimeout: this.noInputsTimeout.getConfiguration(e3, t3), speechToTextSpeechDetectionSensitivity: this.speechToTextSpeechDetectionSensitivity.getConfiguration(e3, t3), speechToTextMaxSpeechTimeout: this.speechToTextMaxSpeechTimeout.getConfiguration(e3, t3), speechToTextAdvancedConfiguration: this.speechToTextAdvancedConfiguration.getConfiguration(e3, t3), enableIntentClassificationHinting: this.enableIntentClassificationHinting.getConfiguration(e3, t3), interDigitTimeout: this.interDigitTimeout.getConfiguration(e3, t3), dtmfTerminatingCharacter: this.dtmfTerminatingCharacter.getConfiguration(e3, t3), endOfSessionMessage: this.endOfSessionMessage.getConfiguration(e3, t3), confirmationRejectionsMax: this.confirmationRejectionsMax.getConfiguration(e3, t3), collectionLowConfidenceThreshold: this.collectionLowConfidenceThreshold.getConfiguration(e3, t3), collectionHighConfidenceThreshold: this.collectionHighConfidenceThreshold.getConfiguration(e3, t3), confirmationLowConfidenceThreshold: this.confirmationLowConfidenceThreshold.getConfiguration(e3, t3), noMatchApology: this.noMatchApologies.getConfiguration(e3, t3)[0], noInputApology: this.noInputsApologies.getConfiguration(e3, t3)[0], noToConfirmationApology: this.noToConfirmationApologies.getConfiguration(e3, t3)[0], confirmationNoMatchApology: this.confirmationNoMatchApologies.getConfiguration(e3, t3)[0], confirmationNoInputApology: this.confirmationNoInputApologies.getConfiguration(e3, t3)[0] }; for (const e4 in i3) a.default.isNullOrUndefined(i3[e4]) && delete i3[e4]; if (!a.default.isNullOrUndefined(this.noInputsMaxExceededHandling.handlingType) && this.noInputsMaxExceededHandling.handlingType !== m.default.Continue) { const e4 = this.noInputsMaxExceededHandling.getConfigurationForHandlingProperty(this.noInputsMaxExceededHandling.handlingType, this.noInputsMaxExceededTask), t4 = a.default.tryWrapObject(e4, "noInputsMaxExceededHandling"); @@ -85851,16 +92472,16 @@ ${e3.stack}`, n3 = [this].concat(i3); if (!e3.userInputSettings) { const e4 = (e5, t4) => { const i4 = this[e5].isNormalExpression ? this[e5] : this[e5].add(); - i4 && (i4.setModeWithTransition(_.builder, this.parentFlow.type === r2.flowTypes.flowTypeDigitalBot ? d.builderIds.parts.markdownCommunication : d.builderIds.parts.genericCommunication), i4.builder.addOrSetStringLiteralBuilderPart(t4), i4.builder.owningExpression.setText(i4.builder.buildExpressionText())); - }, i3 = M(this.parentFlow.defaultLanguage); + i4 && (i4.setModeWithTransition(_.builder, this.parentFlow.type === r2.flowTypes.flowTypeDigitalBot ? c.builderIds.parts.markdownCommunication : c.builderIds.parts.genericCommunication), i4.builder.addOrSetStringLiteralBuilderPart(t4), i4.builder.owningExpression.setText(i4.builder.buildExpressionText())); + }, i3 = F(this.parentFlow.defaultLanguage); this.parentFlow.isDigitalBotFlow ? (t3.push(e4.bind(this, "noInputsApologies", i3.settingsNoInputApologyDigitalBot)), t3.push(e4.bind(this, "endOfSessionMessage", i3.settingsEndOfSessionMessageDigitalBot)), t3.push(e4.bind(this, "confirmationNoMatchApologies", i3.settingsConfirmationNoMatchApologyDigitalBot)), t3.push(e4.bind(this, "confirmationNoInputApologies", i3.settingsConfirmationNoInputApologyDigitalBot))) : (t3.push(e4.bind(this, "noInputsApologies", i3.settingsNoInputApology)), t3.push(e4.bind(this, "confirmationNoMatchApologies", i3.settingsConfirmationNoMatchApology)), t3.push(e4.bind(this, "confirmationNoInputApologies", i3.settingsConfirmationNoInputApology))), t3.push(e4.bind(this, "noMatchApologies", i3.settingsNoMatchApology)), t3.push(e4.bind(this, "noToConfirmationApologies", i3.settingsNoToConfirmationApology)); } super.loadConfiguration(e3), t3.forEach((e4) => e4()); } initializeDesignTime() { super.initializeDesignTime(), this.parentFlow.definition.supportsNluIntents || (this.collectionHighConfidenceThreshold.outOfService = true, this.collectionLowConfidenceThreshold.outOfService = true, this.confirmationLowConfidenceThreshold.outOfService = true), this.showTaskPropertyBasedOnHandlingType(this.noInputsMaxExceededTask, this.noInputsMaxExceededHandling.handlingType), this.addAutoCleanedUpSubscription(this.noInputsMaxExceededHandling.valueChanged$.subscribe(() => { - this.showTaskPropertyBasedOnHandlingType(this.noInputsMaxExceededTask, this.noInputsMaxExceededHandling.handlingType), E.validateNode(this, true); - })), "" === this.enableIntentClassificationHinting.displayValue && this.parentFlow.definition.supportsEnableIntentClassificationHinting && (this.enableIntentClassificationHinting.setAsLiteral(c.default.true), E.validateNode(this, true)); + this.showTaskPropertyBasedOnHandlingType(this.noInputsMaxExceededTask, this.noInputsMaxExceededHandling.handlingType), w.validateNode(this, true); + })), "" === this.enableIntentClassificationHinting.displayValue && this.parentFlow.definition.supportsEnableIntentClassificationHinting && (this.enableIntentClassificationHinting.setAsLiteral(d.default.true), w.validateNode(this, true)); } get currentUiVersion() { return 2; @@ -85885,13 +92506,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return I.isFeatureAvailable(R.default.botFlowEscalationRecognitionHandlingV2) ? [m.default.Continue, m.default.Disconnect, m.default.Exit, m.default.Task] : [m.default.Continue, m.default.Disconnect, m.default.Exit]; } } - t2.default = L; - const x = (e3) => { + t2.default = x; + const k = (e3) => { if (e3.parent.collectionLowConfidenceThreshold.isLiteralMode && e3.parent.collectionHighConfidenceThreshold.isLiteralMode) { - const t3 = parseInt(e3.parent.collectionLowConfidenceThreshold.text), i3 = parseInt(e3.parent.collectionHighConfidenceThreshold.text), n3 = !isNaN(t3) && !isNaN(i3) && t3 >= i3 ? F.customNodes.botFlowUserInputSettings.collectionConfidenceThresholdsError : void 0; + const t3 = parseInt(e3.parent.collectionLowConfidenceThreshold.text), i3 = parseInt(e3.parent.collectionHighConfidenceThreshold.text), n3 = !isNaN(t3) && !isNaN(i3) && t3 >= i3 ? L.customNodes.botFlowUserInputSettings.collectionConfidenceThresholdsError : void 0; if (!e3.parent.isValidating) { - const t4 = e3 === e3.parent.collectionLowConfidenceThreshold ? e3.parent.collectionHighConfidenceThreshold : e3.parent.collectionLowConfidenceThreshold, i4 = e3.parentFlow.validationResults.nodeHasError(t4.parent.id, F.customNodes.botFlowUserInputSettings.collectionConfidenceThresholdsError, t4.id); - (n3 && !i4 || !n3 && i4) && E.validateItem(t4, true, true); + const t4 = e3 === e3.parent.collectionLowConfidenceThreshold ? e3.parent.collectionHighConfidenceThreshold : e3.parent.collectionLowConfidenceThreshold, i4 = e3.parentFlow.validationResults.nodeHasError(t4.parent.id, L.customNodes.botFlowUserInputSettings.collectionConfidenceThresholdsError, t4.id); + (n3 && !i4 || !n3 && i4) && w.validateItem(t4, true, true); } return n3; } @@ -85907,9 +92528,11 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = { getBootstrappingDataV2: s }; }, 71960: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = (n2.__importStar(i2(12847)), i2(80295)), o = i2(19596), a = i2(32595), s = /* @__PURE__ */ new Set(["agentOutput"]); - class l extends o.DataContract { + Object.defineProperty(t2, "__esModule", { value: true }), t2.agenticVirtualAgentPropertyTargetType = void 0; + const n2 = i2(31635), r2 = (n2.__importStar(i2(12847)), n2.__importStar(i2(10798))), o = i2(80295), a = n2.__importDefault(i2(4648)), s = i2(19596), l = i2(32595); + t2.agenticVirtualAgentPropertyTargetType = { customConversationAttributes: "CustomConversationAttributes", request: "Request", response: "Response" }; + const u = /* @__PURE__ */ new Set(["agentOutput", "AgentOutput"]); + class c extends s.DataContract { get id() { var e3; return this._id ? this._id : `${null === (e3 = this._virtualAgent) || void 0 === e3 ? void 0 : e3.id}~${this._version}`; @@ -85939,24 +92562,29 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._definition; } set definition(e3) { - var t3, i3; - this._definition = e3; - const n3 = null === (t3 = this._definition.types) || void 0 === t3 ? void 0 : t3.find((e4) => "InputData" === e4.name), r3 = (null == n3 ? void 0 : n3.properties) || []; - this.inputs = r3.map((e4) => { + this._definition = e3, this._processDefinition(); + } + _isCustomConversationAttributesOnly(e3) { + return !!r2.isFeatureAvailable(a.default.botFlowsLLMPoweredFrontDoor) && !(!e3.targets || 0 === e3.targets.length) && e3.targets.every((e4) => e4.type === t2.agenticVirtualAgentPropertyTargetType.customConversationAttributes); + } + _processDefinition() { + var e3, t3; + const i3 = null === (e3 = this._definition.types) || void 0 === e3 ? void 0 : e3.find((e4) => "InputData" === e4.name), n3 = ((null == i3 ? void 0 : i3.properties) || []).filter((e4) => !this._isCustomConversationAttributesOnly(e4)); + this.inputs = n3.map((e4) => { var t4; let i4 = e4.type; - if (!a.schemaTypeHelper.isAgenticVirtualAgentPrimitiveType(i4)) { - const e5 = null === (t4 = this._definition.types) || void 0 === t4 ? void 0 : t4.find((e6) => e6.name === i4 && !s.has(e6.direction)); + if (!l.schemaTypeHelper.isAgenticVirtualAgentPrimitiveType(i4)) { + const e5 = null === (t4 = this._definition.types) || void 0 === t4 ? void 0 : t4.find((e6) => e6.name === i4 && !u.has(e6.direction)); e5 && (i4 = e5.type); } return Object.assign(Object.assign({}, e4), { type: i4 }); }); - const o2 = null === (i3 = this._definition.types) || void 0 === i3 ? void 0 : i3.find((e4) => "OutputData" === e4.name && "agentOutput" === e4.direction), l2 = (null == o2 ? void 0 : o2.properties) || []; - this.outputs = l2.map((e4) => { + const r3 = null === (t3 = this._definition.types) || void 0 === t3 ? void 0 : t3.find((e4) => "OutputData" === e4.name && u.has(e4.direction)), o2 = ((null == r3 ? void 0 : r3.properties) || []).filter((e4) => !this._isCustomConversationAttributesOnly(e4)); + this.outputs = o2.map((e4) => { var t4; let i4 = e4.type; - if (!a.schemaTypeHelper.isAgenticVirtualAgentPrimitiveType(i4)) { - const e5 = null === (t4 = this._definition.types) || void 0 === t4 ? void 0 : t4.find((e6) => e6.name === i4 && !s.has(e6.direction)); + if (!l.schemaTypeHelper.isAgenticVirtualAgentPrimitiveType(i4)) { + const e5 = null === (t4 = this._definition.types) || void 0 === t4 ? void 0 : t4.find((e6) => e6.name === i4 && !u.has(e6.direction)); e5 && (i4 = e5.type); } return { name: e4.name, type: i4 }; @@ -85975,7 +92603,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this._outputs = e3; } } - t2.default = l, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "id", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "name", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "version", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "virtualAgent", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "definition", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], l.prototype, "inputs", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], l.prototype, "outputs", null); + t2.default = c, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "id", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "name", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "version", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], c.prototype, "virtualAgent", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], c.prototype, "definition", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], c.prototype, "inputs", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], c.prototype, "outputs", null); }, 72012: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeAssignedCustomerSegmentOptions = void 0; @@ -86000,19 +92628,19 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.ExpressionTypeAssignedCustomerSegmentOptions = r2; }, 72040: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(81516), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(73753)), u = i2(80428), d = i2(47957); - class c extends l.default { + const n2 = i2(31635), r2 = i2(81516), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(73753)), u = i2(80428), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends l.default { constructor(e3, t3) { super(e3), this._loadModel(t3); } static get managedProperties() { - return [{ label: d.setConversationData.participantLabel, options: r2.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(d.setConversationData.participantLabel, d.setConversationData.participantDescription).setIsOptional(true).setIninTestingField("ParticipantIdExpression").setDisableSpellcheck(true).setUiPropertyOrder(20).facets.setLengthForUuid()), property: "participantId", type: u.expressionTypeNames.string, yamlOptions: c.createYamlOptions("participantId", (e3) => e3.setExportOrder(20)) }]; + return [{ label: d.setConversationData.participantLabel, options: r2.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(d.setConversationData.participantLabel, d.setConversationData.participantDescription).setIsOptional(true).setIninTestingField("ParticipantIdExpression").setDisableSpellcheck(true).setUiPropertyOrder(20).facets.setLengthForUuid()), property: "participantId", type: u.expressionTypeNames.string, yamlOptions: p.createYamlOptions("participantId", (e3) => e3.setExportOrder(20)) }]; } static get branchInfo() { return o.default.successFailure; } } - c.info = s.default.createActionInfo({ actionClass: c, canBeInTask: true, canBeTreeNode: false, helpTopic: a.helpTopics.actions.setConversationData, modelClass: i2(1102), name: d.actions.setConversationData, scriptingName: "ArchActionSetConversationData" }), t2.A = c; + p.info = s.default.createActionInfo({ actionClass: p, canBeInTask: true, canBeTreeNode: false, helpTopic: a.helpTopics.actions.setConversationData, modelClass: i2(1102), name: d.actions.setConversationData, scriptingName: "ArchActionSetConversationData", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 72124: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.downloadGrammarFile = t2.uploadGrammarFile = t2.deleteGrammarFile = t2.createGrammarFileUploadUrl = t2.removeLanguageFromGrammar = t2.addLanguageToGrammar = t2.createGrammar = t2.updateGrammarLanguage = t2.updateGrammar = t2.deleteGrammar = t2.getGrammarLanguage = t2.getGrammarWithStatus = t2.getGrammar = t2.getGrammars = void 0; @@ -86116,10 +92744,10 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = s; }, 72194: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(27203)), a = n2.__importStar(i2(36781)), s = i2(19384), l = i2(12179), u = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(20030)), c = i2(47957); - class p extends d.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(27203)), a = n2.__importStar(i2(36781)), s = i2(19384), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(20030)), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends c.default { static get managedProperties() { - return d.default.createManagedProperties({ validReferenceCallback: (e3) => e3 && e3.isTask && e3.isStartUpObject ? { error: c.task.invalidReferenceStartUpTask } : e3 && e3.isTask && e3.isCallable ? void 0 : { error: c.task.invalidReference } }); + return c.default.createManagedProperties({ validReferenceCallback: (e3) => e3 && e3.isTask && e3.isStartUpObject ? { error: p.task.invalidReferenceStartUpTask } : e3 && e3.isTask && e3.isCallable ? void 0 : { error: p.task.invalidReference } }); } constructor(e3, t3) { super(e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), this.addAutoCleanedUpEventSinkWatch(a.lastPathActionRemoved, this, this.removeUnusedOutput.bind(this)); @@ -86163,7 +92791,7 @@ ${e3.stack}`, n3 = [this].concat(i3); i3 && r2.default.findIndex(i3.getBranches(), { outputId: t3.id }) >= 0 || this.removeOptionalBranchInfoById(t3.id, false); } } - p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.callTask, modelClass: i2(97038), name: c.actions.callTask, scriptingName: "ArchActionCallTask" }), t2.A = p; + _.info = u.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: l.helpTopics.actions.callTask, modelClass: i2(97038), name: p.actions.callTask, scriptingName: "ArchActionCallTask", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; }, 72203: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchNetworkValueCache = void 0; @@ -86275,10 +92903,10 @@ ${e3.stack}`, n3 = [this].concat(i3); l.size >= this._maxCacheSizePerType && this._runCleanup(() => this._cleanupCacheForType(s, o2)), this._getTotalCacheSize() >= this._maxTotalCacheSize && this._runCleanup(() => this._cleanupGlobalCache()); const u = this._estimateBytes(t3); if (this._currentMemoryBytes + u > this._maxTotalMemoryBytes && this._runCleanup(() => this._cleanupByMemoryPressure()), this._currentMemoryBytes + u > this._maxTotalMemoryBytes) return void (this._showDiagnostics && this.logNote(`Cache memory limit reached (${(this._currentMemoryBytes / 1024 / 1024).toFixed(1)} MB / ${(this._maxTotalMemoryBytes / 1024 / 1024).toFixed(1)} MB). New entry skipped to stay within bounds.`)); - const d = l.get(e3); - d && (this._currentMemoryBytes -= d.estimatedBytes); - const c = { data: t3, timestamp: Date.now(), ttl: a2 || this._defaultTTL, estimatedBytes: u }; - l.set(e3, c), this._currentMemoryBytes += u; + const c = l.get(e3); + c && (this._currentMemoryBytes -= c.estimatedBytes); + const d = { data: t3, timestamp: Date.now(), ttl: a2 || this._defaultTTL, estimatedBytes: u }; + l.set(e3, d), this._currentMemoryBytes += u; } _cleanupCacheForType(e3, t3) { if (!this._cacheEnabled) return; @@ -86428,7 +93056,7 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(24032), a = i2(74483), s = n2.__importDefault(i2(57606)), l = (0, o.getTopic)("DataTableViewModel"), u = i2(47957); - class d extends a.NameIdConfigurationListViewModel { + class c extends a.NameIdConfigurationListViewModel { constructor(e3) { if (super(e3), this._schemasNotLoaded = false, this._model.schema && this._model.schema.properties) { this._schemasNotLoaded = false; @@ -86464,7 +93092,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._errorSchema; } } - t2.default = d; + t2.default = c; }, 72336: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -86494,8 +93122,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = r2; }, 72378: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(5730)), s = i2(47957); - class l extends a.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(4648)), l = i2(47957); + class u extends a.default { static get managedProperties() { return []; } @@ -86503,16 +93131,16 @@ ${e3.stack}`, n3 = [this].concat(i3); super(e3.parentFlow, e3), this._loadModel(t3); } } - l.info = o.default.createActionInfo({ actionClass: l, canBeInTask: true, helpTopic: r2.helpTopics.actions.clearActiveIntent, modelClass: i2(67504), name: s.actions.clearActiveIntent, scriptingName: "ArchActionClearActiveIntent" }), t2.A = l; + u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: r2.helpTopics.actions.clearActiveIntent, modelClass: i2(67504), name: l.actions.clearActiveIntent, scriptingName: "ArchActionClearActiveIntent", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; }, 72426: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(89181)), a = n2.__importDefault(i2(97891)), s = i2(47957); - class l extends o.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(89181)), a = n2.__importDefault(i2(97891)), s = n2.__importDefault(i2(4648)), l = i2(47957); + class u extends o.default { constructor(e3, t3) { super(e3), this._loadModel(t3); } } - l.info = a.default.createActionInfo({ actionClass: l, canBeInTask: true, helpTopic: r2.helpTopics.actions.getAttributes, modelClass: i2(48944), name: s.actions.getAttributes, scriptingName: "ArchActionGetParticipantData" }), t2.A = l; + u.info = a.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: r2.helpTopics.actions.getAttributes, modelClass: i2(48944), name: l.actions.getAttributes, scriptingName: "ArchActionGetParticipantData", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; }, 72448: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.MessagingTemplate = void 0; @@ -86552,20 +93180,20 @@ ${e3.stack}`, n3 = [this].concat(i3); i2(88732).extend(n2, "ClipboardDependencyVariableModel", true), e2.exports = n2; }, 72577: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(20030)), l = i2(47957); - class u extends s.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(20030)), l = n2.__importDefault(i2(4648)), u = i2(47957); + class c extends s.default { static get managedProperties() { - return s.default.createManagedProperties({ suppressOutputs: true, validReferenceCallback: (e3) => e3 && !e3.isTransferable && e3.hasBranchTerminatingWithEndTask ? { error: l.task.invalidReferenceTaskTransfer } : e3 && e3.isTask && e3.isTransferable ? void 0 : { error: l.task.invalidReference } }); + return s.default.createManagedProperties({ suppressOutputs: true, validReferenceCallback: (e3) => e3 && !e3.isTransferable && e3.hasBranchTerminatingWithEndTask ? { error: u.task.invalidReferenceTaskTransfer } : e3 && e3.isTask && e3.isTransferable ? void 0 : { error: u.task.invalidReference } }); } constructor(e3, t3) { super(e3), this._loadModel(t3); } } - u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: true, canBeTreeNode: true, helpTopic: r2.helpTopics.actions.jumpToTask, modelClass: i2(68475), name: l.actions.taskTransfer, scriptingName: "ArchActionJumpToTask", termination: a.terminatesTask }), t2.A = u; + c.info = o.default.createActionInfo({ actionClass: c, canBeInTask: true, canBeTreeNode: true, helpTopic: r2.helpTopics.actions.jumpToTask, modelClass: i2(68475), name: u.actions.taskTransfer, scriptingName: "ArchActionJumpToTask", termination: a.terminatesTask, modelFormatSupport: { flowYaml: { inProgress: true, feature: l.default.changeSetsFeaturePhase2 } } }), t2.A = c; }, 72627: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = i2(12179), a = i2(12457), s = i2(21647), l = i2(81516), u = n2.__importDefault(i2(27203)), d = n2.__importStar(i2(99434)), c = n2.__importDefault(i2(97891)), p = i2(87870), _ = n2.__importDefault(i2(5730)), h = i2(80428), m = i2(47957); - class g extends _.default { + const n2 = i2(31635), r2 = i2(17604), o = i2(12179), a = i2(12457), s = i2(21647), l = i2(81516), u = n2.__importDefault(i2(27203)), c = n2.__importStar(i2(99434)), d = n2.__importDefault(i2(97891)), p = i2(87870), _ = n2.__importDefault(i2(5730)), h = i2(80428), m = n2.__importDefault(i2(4648)), g = i2(47957); + class f extends _.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.externalId = null, this.externalResult = null, this._loadModel(t3); } @@ -86573,20 +93201,20 @@ ${e3.stack}`, n3 = [this].concat(i3); return u.default.matchExactMultipleNotFound; } static get managedProperties() { - return [{ label: m.generic.searchTerm, options: l.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalIdExpression").setDescriptionInfo(m.generic.searchTerm, m.searchExternalContacts.searchTermDescription).setDisableSpellcheck(true).facets.setMinLength(1)), yamlOptions: g.createYamlOptions("externalId", (e3) => e3.setPropertyName("searchTerm")), property: "externalId", type: h.expressionTypeNames.string }, { label: m.searchExternalContacts.externalContactResults, options: s.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(h.expressionTypeNames.externalContact).setIsCollection(true).setAsOutput().setIninTestingField("ExternalContactsExpression")), property: "externalResult", type: h.expressionTypeNames.externalContact, yamlOptions: g.createYamlOptions("externalResult", (e3) => e3.setPropertyName("externalResults")) }, { createDetails: p.NoteActionProperty.createCreateDetails((0, r2.sprintf)(m.searchExternalContacts.actionInformationalMessage, m.generic.branches.matchExact), "info", "searchExternalContactsNote"), property: "actionInformationalMessage", yamlOptions: g.createYamlOptions("actionInformationalMessage", (e3) => e3.setSkipProperty(true)) }]; + return [{ label: g.generic.searchTerm, options: l.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalIdExpression").setDescriptionInfo(g.generic.searchTerm, g.searchExternalContacts.searchTermDescription).setDisableSpellcheck(true).facets.setMinLength(1)), yamlOptions: f.createYamlOptions("externalId", (e3) => e3.setPropertyName("searchTerm")), property: "externalId", type: h.expressionTypeNames.string }, { label: g.searchExternalContacts.externalContactResults, options: s.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(h.expressionTypeNames.externalContact).setIsCollection(true).setAsOutput().setIninTestingField("ExternalContactsExpression")), property: "externalResult", type: h.expressionTypeNames.externalContact, yamlOptions: f.createYamlOptions("externalResult", (e3) => e3.setPropertyName("externalResults")) }, { createDetails: p.NoteActionProperty.createCreateDetails((0, r2.sprintf)(g.searchExternalContacts.actionInformationalMessage, g.generic.branches.matchExact), "info", "searchExternalContactsNote"), property: "actionInformationalMessage", yamlOptions: f.createYamlOptions("actionInformationalMessage", (e3) => e3.setSkipProperty(true)) }]; } getDetails() { - return this.externalId ? new a.ActionDetails([m.generic.searchTerm], [d.getDisplayText(this.externalId)]) : null; + return this.externalId ? new a.ActionDetails([g.generic.searchTerm], [c.getDisplayText(this.externalId)]) : null; } } - g.info = c.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: o.helpTopics.actions.searchExternalContacts, modelClass: i2(9275), name: m.actions.searchExternalContacts, scriptingName: "ArchActionSearchExternalContacts" }), t2.A = g; + f.info = d.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: o.helpTopics.actions.searchExternalContacts, modelClass: i2(9275), name: g.actions.searchExternalContacts, scriptingName: "ArchActionSearchExternalContacts", modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } } }), t2.A = f; }, 72683: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635).__importDefault(i2(21345)), r2 = i2(30801); class o extends n2.default { constructor(e3) { - super(e3), this._externalContactId = this.coreFactory.createArchWrapper(e3.externalContactId), this._externalContact = this.coreFactory.createArchWrapper(e3.externalContact); + super(e3), this._externalContactId = this.coreFactory.createArchWrapper(e3.externalContactId), this._externalContact = this.coreFactory.createArchWrapper(e3.externalContact), this._patchChanges = this.coreFactory.createArchWrapper(e3.patchChanges); } get _actionTypeId() { return r2.updateExternalContactActionType; @@ -86606,14 +93234,17 @@ ${e3.stack}`, n3 = [this].concat(i3); get externalContact() { return this._externalContact; } + get changes() { + return this._patchChanges; + } } t2.default = o; }, 72698: (e2, t2, i2) => { - const { builderCategoryIds: n2 } = i2(73062), r2 = i2(79904).default, o = i2(81818).default, a = i2(41568).default, s = i2(5532).default, { builderPartIds: l } = i2(69149), u = i2(42290).default, d = i2(16958), c = i2(76486).default, p = i2(22599).default, { globalTypes: _ } = i2(14394), h = i2(61864).default, { defaultWithNoLabel: m } = i2(93631), g = i2(96727).default; + const { builderCategoryIds: n2 } = i2(73062), r2 = i2(79904).default, o = i2(81818).default, a = i2(41568).default, s = i2(5532).default, { builderPartIds: l } = i2(69149), u = i2(42290).default, c = i2(16958), d = i2(76486).default, p = i2(22599).default, { globalTypes: _ } = i2(14394), h = i2(61864).default, { defaultWithNoLabel: m } = i2(93631), g = i2(96727).default; e2.exports = { create: function() { - s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.toolbar, description: d.builderParts.duration.literal.description, expressionDefs: [new c({ configureOptionsCallback: (e3) => { + s.addBuilderPartDef(new u({ categoryIdentifierOrIdentifiers: n2.toolbar, description: c.builderParts.duration.literal.description, expressionDefs: [new d({ configureOptionsCallback: (e3) => { e3.setAllowModeLiteralOnly().setIninTestingField("durationLiteral"); - }, expressionType: _.duration, label: d.builderParts.duration.literal.name })], generators: { expressionGenerator: g.singleTokenReplacementGenerator }, viewId: m, id: l.duration.literal, icon: h.duration, name: d.builderParts.duration.literal.name, resultExpressionType: _.duration, version: 1 })), s.addBuilderPartContainerDef(new r2({ categoryIdentifierOrIdentifiers: n2.container, description: d.builderParts.container.language.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("durationValue", true).verifySprintfStringAndInitialize(""), languageCheckGenerator: p.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("durationValue", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), "), wantContainerPartsGeneratorForSingleton: true }, id: l.duration.container.language, name: d.builderParts.container.language.name, resultExpressionType: _.duration, version: 1, wantBucketOnSingleGeneration: true })), s.addBuilderPartContainerDef(new o({ categoryIdentifierOrIdentifiers: n2.container, description: d.builderParts.container.languageAndOutputMode.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("durationValue", true).verifySprintfStringAndInitialize(""), wantContainerPartsGeneratorForSingleton: true }, id: l.duration.container.languageAndOutputMode, name: d.builderParts.container.languageAndOutputMode.name, resultExpressionType: _.duration, version: 1, wantBucketOnSingleGeneration: true })), s.addBuilderPartContainerDef(new a({ categoryIdentifierOrIdentifiers: n2.container, description: d.builderParts.container.outputMode.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("durationValue", true).verifySprintfStringAndInitialize(""), wantContainerPartsGeneratorForSingleton: true }, id: l.duration.container.outputMode, name: d.builderParts.container.outputMode.name, resultExpressionType: _.duration, version: 1 })); + }, expressionType: _.duration, label: c.builderParts.duration.literal.name })], generators: { expressionGenerator: g.singleTokenReplacementGenerator }, viewId: m, id: l.duration.literal, icon: h.duration, name: c.builderParts.duration.literal.name, resultExpressionType: _.duration, version: 1 })), s.addBuilderPartContainerDef(new r2({ categoryIdentifierOrIdentifiers: n2.container, description: c.builderParts.container.language.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("durationValue", true).verifySprintfStringAndInitialize(""), languageCheckGenerator: p.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("durationValue", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), "), wantContainerPartsGeneratorForSingleton: true }, id: l.duration.container.language, name: c.builderParts.container.language.name, resultExpressionType: _.duration, version: 1, wantBucketOnSingleGeneration: true })), s.addBuilderPartContainerDef(new o({ categoryIdentifierOrIdentifiers: n2.container, description: c.builderParts.container.languageAndOutputMode.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("durationValue", true).verifySprintfStringAndInitialize(""), wantContainerPartsGeneratorForSingleton: true }, id: l.duration.container.languageAndOutputMode, name: c.builderParts.container.languageAndOutputMode.name, resultExpressionType: _.duration, version: 1, wantBucketOnSingleGeneration: true })), s.addBuilderPartContainerDef(new a({ categoryIdentifierOrIdentifiers: n2.container, description: c.builderParts.container.outputMode.description, generators: { containerPartsGenerator: p.create().addFuncCallParmGenerationBucket("durationValue", true).verifySprintfStringAndInitialize(""), wantContainerPartsGeneratorForSingleton: true }, id: l.duration.container.outputMode, name: c.builderParts.container.outputMode.name, resultExpressionType: _.duration, version: 1 })); } }; }, 72719: (e2, t2, i2) => { "use strict"; @@ -86630,8 +93261,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 72738: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getScheduleGroupDivisionView = t2.getScheduleGroup = t2.getScheduleGroupsDivisionView = t2.getScheduleGroups = t2.getScheduleDivisionView = t2.getSchedule = t2.getSchedulesDivisionView = t2.getSchedules = t2.getEmergencyGroupDivisionView = t2.getEmergencyGroup = t2.getEmergencyGroupsDivisionView = t2.getEmergencyGroups = void 0; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(80259), o = i2(34763), a = i2(94886), s = i2(98643), l = i2(88027), u = i2(40122), d = { ignoreBadResponse: true }; - t2.getEmergencyGroups = n2.default.request("GET", "{public-api.apps}/api/v2/architect/emergencygroups", o, d), t2.getEmergencyGroupsDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/emergencygroups/divisionviews", o, d), t2.getEmergencyGroup = n2.default.request("GET", "{public-api.apps}/api/v2/architect/emergencygroups/{id}", r2, d), t2.getEmergencyGroupDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/emergencygroups/divisionviews?id={id}", o, d), t2.getSchedules = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedules", u, d), t2.getSchedulesDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedules/divisionviews", u, d), t2.getSchedule = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedules/{id}", a, d), t2.getScheduleDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedules/divisionviews?id={id}", u, d), t2.getScheduleGroups = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedulegroups", l, d), t2.getScheduleGroupsDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedulegroups/divisionviews", l, d), t2.getScheduleGroup = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedulegroups/{id}", s, d), t2.getScheduleGroupDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedulegroups/divisionviews?id={id}", l, d); + const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(80259), o = i2(34763), a = i2(94886), s = i2(98643), l = i2(88027), u = i2(40122), c = { ignoreBadResponse: true }; + t2.getEmergencyGroups = n2.default.request("GET", "{public-api.apps}/api/v2/architect/emergencygroups", o, c), t2.getEmergencyGroupsDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/emergencygroups/divisionviews", o, c), t2.getEmergencyGroup = n2.default.request("GET", "{public-api.apps}/api/v2/architect/emergencygroups/{id}", r2, c), t2.getEmergencyGroupDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/emergencygroups/divisionviews?id={id}", o, c), t2.getSchedules = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedules", u, c), t2.getSchedulesDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedules/divisionviews", u, c), t2.getSchedule = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedules/{id}", a, c), t2.getScheduleDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedules/divisionviews?id={id}", u, c), t2.getScheduleGroups = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedulegroups", l, c), t2.getScheduleGroupsDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedulegroups/divisionviews", l, c), t2.getScheduleGroup = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedulegroups/{id}", s, c), t2.getScheduleGroupDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/schedulegroups/divisionviews?id={id}", l, c); }, 72746: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getDecisionTable = t2.getDecisionTables = void 0; @@ -86639,8 +93270,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.getDecisionTables = n2.default.request("GET", "{public-api.apps}/api/v2/businessrules/decisiontables/search", r2), t2.getDecisionTable = n2.default.request("GET", "{public-api.apps}/api/v2/businessrules/decisiontables/search?withPublishedVersion=true&expand=ExecutionInputSchema,ExecutionOutputSchema&ids={tableId}", r2); }, 72749: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(72987), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5730)), d = i2(80428), c = i2(47957); - class p extends u.default { + const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(72987), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5730)), c = i2(80428), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends u.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.wrapupCode = null, this._loadModel(t3), this.editor_testing_tag = "SetWrapupCodeAction"; } @@ -86648,20 +93279,20 @@ ${e3.stack}`, n3 = [this].concat(i3); return s.default.successFailure; } getDetails() { - return this.wrapupCode && this.wrapupCode.text ? new o.ActionDetails([c.setWrapupCode.wrapupCode], [this.wrapupCode.text]) : null; + return this.wrapupCode && this.wrapupCode.text ? new o.ActionDetails([p.setWrapupCode.wrapupCode], [this.wrapupCode.text]) : null; } static get managedProperties() { - return [{ label: c.setWrapupCode.wrapupCode, options: a.ExpressionTypeWrapupCodeOptions.create((e3) => e3.setIninTestingField("wrapupCodeExpression").setAllowNotSet(false).facets.setAllowNull(false)), property: "wrapupCode", type: d.expressionTypeNames.wrapupCode }]; + return [{ label: p.setWrapupCode.wrapupCode, options: a.ExpressionTypeWrapupCodeOptions.create((e3) => e3.setIninTestingField("wrapupCodeExpression").setAllowNotSet(false).facets.setAllowNull(false)), property: "wrapupCode", type: c.expressionTypeNames.wrapupCode }]; } get informationalMessage() { - return this.parentFlow.isCallFlowType ? c.setWrapupCode.applyWarning : ""; + return this.parentFlow.isCallFlowType ? p.setWrapupCode.applyWarning : ""; } } - p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: r2.helpTopics.actions.setWrapupCode, modelClass: i2(75151), name: c.actions.setWrapupCode, scriptingName: "ArchActionSetWrapupCode" }), t2.A = p; + _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: r2.helpTopics.actions.setWrapupCode, modelClass: i2(75151), name: p.actions.setWrapupCode, scriptingName: "ArchActionSetWrapupCode", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; }, 72830: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(61870), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5730)), d = i2(80428), c = i2(47957); - class p extends u.default { + const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = i2(61870), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5730)), c = i2(80428), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends u.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.confidence = null, this._loadModel(t3); } @@ -86669,16 +93300,16 @@ ${e3.stack}`, n3 = [this].concat(i3); return s.default.processedTimeoutFailure; } getDetails() { - return this.confidence ? new o.ActionDetails([c.voiceBiometrics.confidence], [this.confidence.text]) : null; + return this.confidence ? new o.ActionDetails([p.voiceBiometrics.confidence], [this.confidence.text]) : null; } static get managedProperties() { - return [{ label: c.voiceBiometrics.confidence, options: a.ExpressionTypeDecimalOptions.create((e3) => e3.setAsOutput()), property: "confidence", type: d.expressionTypeNames.decimal }]; + return [{ label: p.voiceBiometrics.confidence, options: a.ExpressionTypeDecimalOptions.create((e3) => e3.setAsOutput()), property: "confidence", type: c.expressionTypeNames.decimal }]; } validate(e3) { super.validate(e3); } } - p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, canBeTreeNode: false, helpTopic: r2.helpTopics.actions.voiceBiometrics, modelClass: i2(47140), name: c.actions.voiceBiometrics, scriptingName: "ArchActionVoiceBiometrics" }), t2.A = p; + _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, canBeTreeNode: false, helpTopic: r2.helpTopics.actions.voiceBiometrics, modelClass: i2(47140), name: p.actions.voiceBiometrics, scriptingName: "ArchActionVoiceBiometrics", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; }, 72883: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -86758,7 +93389,7 @@ ${e3.stack}`, n3 = [this].concat(i3); var n2; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeWrapupCodeOptions = void 0; const r2 = i2(31635), o = r2.__importDefault(i2(45532)), a = i2(80295), s = i2(71056), l = i2(55909), u = i2(33951); - class d extends s.ExpressionTypeNetworkObjectOptions { + class c extends s.ExpressionTypeNetworkObjectOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -86768,8 +93399,8 @@ ${e3.stack}`, n3 = [this].concat(i3); _setFromOptions(e3) { super._setFromOptions(e3), this._setOptionIfSet(this.setRequiresHasDescription, e3.requiresHasDescription); } - setCollectionItemFromCollectionOptions(e3) { - return super.setCollectionItemFromCollectionOptions(e3), this.requiresHasDescription = e3._requiresHasDescription, this; + applyDefaultCollectionItemOptions(e3) { + return super.applyDefaultCollectionItemOptions(e3), this.requiresHasDescription = e3._requiresHasDescription, this; } get className() { return "ExpressionTypeWrapupCodeOptions"; @@ -86793,30 +93424,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.requiresHasDescription = e3, this; } } - t2.ExpressionTypeWrapupCodeOptions = d, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], d.prototype, "facets", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Boolean])], d.prototype, "requiresHasDescription", null); + t2.ExpressionTypeWrapupCodeOptions = c, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], c.prototype, "facets", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Boolean])], c.prototype, "requiresHasDescription", null); }, 73062: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.builderCategoryIds = void 0, t2.builderCategoryIds = { agentScorePair: "__BUILDER_CATEGORY_AGENT_SCORE_PAIR__", communication: "__BUILDER_CATEGORY_COMMUNICATION__", container: "__BUILDER_CATEGORY_CONTAINER__", dateTime: "__BUILDER_CATEGORY_DATE_TIME__", email: "__BUILDER_CATEGORY_EMAIL__", labelString: "__BUILDER_CATEGORY_LABEL_STRING__", markdown: "__BUILDER_CATEGORY_MARKDOWN__", phoneNumber: "__BUILDER_CATEGORY_PHONE_NUMBER__", prompt: "__BUILDER_CATEGORY_PROMPT__", stringParsing: "__BUILDER_CATEGORY_STRING_PARSING__", toolbar: "__BUILDER_CATEGORY_TOOLBAR__" }; - }, 73078: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.conversationSummaryLanguageSupport = void 0; - const n2 = i2(31635), r2 = i2(36556), o = n2.__importDefault(i2(4648)), a = i2(74359), s = n2.__importStar(i2(10798)); - t2.conversationSummaryLanguageSupport = new class { - constructor() { - this.supportedLanguages = /* @__PURE__ */ new Set(), this.ready = a.bootstrapDataLoaded.then(() => { - if (s.isFeatureAvailable(o.default.botFlowsVirtualAgentCustomSummaries)) return (0, r2.getAssistantsCopilotFeatureSupport)().then((e3) => { - e3.languages.forEach((e4) => { - this.supportedLanguages.add(e4.language.toLowerCase()); - }); - }).catch((e3) => { - console.error("Failed to load conversation summary supported languages", e3); - }); - }); - } - isLanguageSupported(e3) { - return this.supportedLanguages.has(e3.toLowerCase()); - } - }(); }, 73080: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -86884,12 +93495,17 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 73198: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const i2 = { blank: "__BLANK__", defaultCollectionItemsMax: 2e3, dateFormat: "YYYY-MM-DD", dateTimeFormat: "YYYY-MM-DDTHH:mm:ss.SSS", exprDataTypePrefixComplex: "cpx", exprDataTypePrefixJson: "jsn", exprDataTypePrefixJsonArch: "jsn__architect", exprDataTypeSuffixCollection: "_coll", false: "false", hoursPerDay: 24, litDurationFifteenHundredMs: "P0D0H0M0S1500F", litDurationFifteenSeconds: "P0D0H0M15S0F", litDurationFiveMinutes: "P0D0H5M0S0F", litDurationFiveSeconds: "P0D0H0M5S0F", litDurationFortySeconds: "P0D0H0M40S0F", litDurationOneHundredMs: "P0D0H0M0S100F", litDurationOneMinute: "P0D0H1M0S0F", litDurationOneSecond: "P0D0H0M1S0F", litDurationSevenSeconds: "P0D0H0M7S0F", litDurationSixHours: "P0D6H0M0S0F", litDurationSixSeconds: "P0D0H0M6S0F", litDurationTenHours: "P0D10H0M0S0F", litDurationTenSeconds: "P0D0H0M10S0F", litDurationThreeMinutes: "P0D0H3M0S0F", litDurationThreeSeconds: "P0D0H0M3S0F", litDurationThirtySeconds: "P0D0H0M30S0F", litDurationTwelveHours: "P0D12H0M0S0F", litDurationTwentySeconds: "P0D0H0M20S0F", maxActionNameLength: 200, maxConversationPriority: 25e6, maxDecimalAsStr: "9999999999999999999999999999999999999999.0", maxDateTime: new Date(Date.UTC(2200, 12, 31, 23, 59, 59, 999)), maxDateTimeNoMs: new Date(Date.UTC(2200, 12, 31, 23, 59, 59)), maxDateYear: 2200, maxDurationMs: 999999999999999, maxDurationSecs: 999999999999, maxEmailSubjectLength: 998, maxExpressionCallStack: 60, maxExpressionTextLength: 32e3, maxFlowSizeToStopPublish: 0.98, maxFlowInformationDisplay: 10, maxInt: 999999999999999, maxIntAsStr: "999999999999999", maxPrecision: 40, maxSmsMessageLength: 160, maxStringLength: 32e3, maxVariableDescriptionLength: 1e3, messageBodyVariable: "Message.Message.body", minConversationPriority: -25e6, minDecimalAsStr: "-9999999999999999999999999999999999999999.0", minDateTime: new Date(Date.UTC(1800, 0, 1, 0, 0, 0, 0)), minDateYear: 1800, minDurationMs: -999999999999999, minDurationSecs: -999999999999, minInt: -999999999999999, minutesPerDay: 1440, minutesPerHour: 60, msPerDay: 864e5, msPerHour: 36e5, msPerMinute: 6e4, msPerSecond: 1e3, msWaitPartsChanged: 50, notSet: "NOT_SET", null: "null", oneMegabyte: 1048576, operatorAnd: "And", operatorOr: "Or", secsPerDay: 86400, secsPerHour: 3600, secsPerMinute: 60, star: "*", true: "true", uuidStrLen: 36 }; + const i2 = { blank: "__BLANK__", defaultCollectionItemsMax: 2e3, currencyLiteralFormat: "[amount]|[code]", dateFormat: "YYYY-MM-DD", dateTimeFormat: "YYYY-MM-DDTHH:mm:ss.SSS", exprDataTypePrefixComplex: "cpx", exprDataTypePrefixJson: "jsn", exprDataTypePrefixJsonArch: "jsn__architect", exprDataTypeSuffixCollection: "_coll", false: "false", hoursPerDay: 24, leftCurlies: "{{", leftCurliesLen: 2, litDurationFifteenHundredMs: "P0D0H0M0S1500F", litDurationFifteenSeconds: "P0D0H0M15S0F", litDurationFiveMinutes: "P0D0H5M0S0F", litDurationFiveSeconds: "P0D0H0M5S0F", litDurationFortySeconds: "P0D0H0M40S0F", litDurationOneHundredMs: "P0D0H0M0S100F", litDurationTwoHundredFiftyMs: "P0D0H0M0S250F", litDurationOneMinute: "P0D0H1M0S0F", litDurationOneSecond: "P0D0H0M1S0F", litDurationSevenSeconds: "P0D0H0M7S0F", litDurationSixHours: "P0D6H0M0S0F", litDurationSixSeconds: "P0D0H0M6S0F", litDurationTenHours: "P0D10H0M0S0F", litDurationTenSeconds: "P0D0H0M10S0F", litDurationThreeMinutes: "P0D0H3M0S0F", litDurationThreeSeconds: "P0D0H0M3S0F", litDurationThirtySeconds: "P0D0H0M30S0F", litDurationTwelveHours: "P0D12H0M0S0F", litDurationTwentySeconds: "P0D0H0M20S0F", maxActionNameLength: 200, maxConversationPriority: 25e6, maxDecimalAsStr: "9999999999999999999999999999999999999999.0", maxDateTime: new Date(Date.UTC(2200, 12, 31, 23, 59, 59, 999)), maxDateTimeNoMs: new Date(Date.UTC(2200, 12, 31, 23, 59, 59)), maxDateYear: 2200, maxDurationMs: 999999999999999, maxDurationSecs: 999999999999, maxEmailSubjectLength: 998, maxExpressionCallStack: 60, maxExpressionTextLength: 32e3, maxFlowSizeToStopPublish: 0.98, maxFlowInformationDisplay: 10, maxInt: 999999999999999, maxIntAsStr: "999999999999999", maxPrecision: 40, maxSmsMessageLength: 160, maxStringLength: 32e3, maxVariableNameLength: 256, maxVariableDescriptionLength: 1e3, messageBodyVariable: "Message.Message.body", minConversationPriority: -25e6, minDecimalAsStr: "-9999999999999999999999999999999999999999.0", minDateTime: new Date(Date.UTC(1800, 0, 1, 0, 0, 0, 0)), minDateYear: 1800, minDurationMs: -999999999999999, minDurationSecs: -999999999999, minInt: -999999999999999, minutesPerDay: 1440, minutesPerHour: 60, msPerDay: 864e5, msPerHour: 36e5, msPerMinute: 6e4, msPerSecond: 1e3, msWaitPartsChanged: 50, notSet: "NOT_SET", null: "null", oneMegabyte: 1048576, operatorAnd: "And", operatorOr: "Or", rightCurlies: "}}", rightCurliesLen: 2, secsPerDay: 86400, secsPerHour: 3600, secsPerMinute: 60, star: "*", true: "true", uuidStrLen: 36 }; t2.default = i2; + }, 73250: (e2, t2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.defaultArchitectPromptResourceAudioFormat = t2.defaultPromptResourceAudioSampleRateHz = void 0, t2.getEffectivePromptResourceAudioFormat = function(e3, i2) { + if (i2) return e3 || Object.assign(Object.assign({}, t2.defaultArchitectPromptResourceAudioFormat), { sampleRate: t2.defaultPromptResourceAudioSampleRateHz }); + }, t2.defaultPromptResourceAudioSampleRateHz = 8e3, t2.defaultArchitectPromptResourceAudioFormat = { channels: 1, bitsPerSample: 8, encoding: "ULAW" }; }, 73266: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DefaultSettingsViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(81116)), a = n2.__importDefault(i2(65302)), s = n2.__importStar(i2(9345)), l = n2.__importStar(i2(63352)), u = i2(14394), d = n2.__importDefault(i2(90178)), c = n2.__importStar(i2(17498)), p = i2(30801), _ = i2(12179), h = n2.__importDefault(i2(68460)), m = i2(33231), g = i2(74803), f = i2(7401), T = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(81116)), a = n2.__importDefault(i2(65302)), s = n2.__importStar(i2(9345)), l = n2.__importStar(i2(63352)), u = i2(14394), c = n2.__importDefault(i2(90178)), d = n2.__importStar(i2(17498)), p = i2(30801), _ = i2(12179), h = n2.__importDefault(i2(68460)), m = i2(33231), g = i2(74803), f = i2(7401), T = i2(47957); class y extends h.default { constructor(e3) { super(e3), this._actionDefaults = [], this.modelPropertyName = "defaultSettings", this._initialize(); @@ -86913,8 +93529,8 @@ ${e3.stack}`, n3 = [this].concat(i3); if (s2 && !l2) return; const u2 = s2 ? (null == a2 ? void 0 : a2.serializeOutOfService) && l2 : null == a2 ? void 0 : a2.serializeOutOfService; if (n3.defaultExpression.outOfService && !u2) return; - const d2 = s2 ? Object.assign({}, a2, { serializeOutOfService: u2 }) : a2, c2 = (null == a2 ? void 0 : a2.propertyName) || n3.managedPropertyMetadata.property, _2 = n3.defaultExpression.getConfiguration(e3, t3, d2); - r2.default.isNullOrUndefined(_2) || (e3[n3.wrappedYamlName] || (i3[n3.wrappedYamlName] = {}), i3[n3.wrappedYamlName][c2] = _2); + const c2 = s2 ? Object.assign({}, a2, { serializeOutOfService: u2 }) : a2, d2 = (null == a2 ? void 0 : a2.propertyName) || n3.managedPropertyMetadata.property, _2 = n3.defaultExpression.getConfiguration(e3, t3, c2); + r2.default.isNullOrUndefined(_2) || (i3[n3.wrappedYamlName] || (i3[n3.wrappedYamlName] = {}), i3[n3.wrappedYamlName][d2] = _2); }), i3; } e3.defaultSettings || (e3.defaultSettings = new g()), r2.default.each(this._actionDefaults, (i3) => { @@ -86976,7 +93592,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }); } updateDependencies() { - this._getAllActionDefaultExpressions().forEach((e3) => c.registerExpression(e3)); + this._getAllActionDefaultExpressions().forEach((e3) => d.registerExpression(e3)); } get nodeGuxIcon() { return "globe"; @@ -87009,7 +93625,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return n3[t3] || (n3[t3] = {}), n3[t3][i3] && !r2.default.isEmpty(n3[t3][i3]) || (n3[t3][i3] = new f()), n3[t3][i3]; } _initialize() { - this._actionDefaults.length = 0, r2.default.each(d.default, (e3) => { + this._actionDefaults.length = 0, r2.default.each(c.default, (e3) => { r2.default.each(e3.actions, (e4) => { e4.getManagedProperties && r2.default.each(e4.getManagedProperties(e4), (t3) => { t3.options && t3.options.allowFlowLevelDefault && (e4.prototype.info.supportedFlowTypes && !r2.default.contains(e4.prototype.info.supportedFlowTypes, this.parentFlow.type) || (this.parentFlow.isCommonModuleFlow || !t3.supportedFlowTypes || r2.default.contains(t3.supportedFlowTypes, this.parentFlow.type)) && this._actionDefaults.push({ actionType: e4.info.typeId, wrappedYamlName: e4.info.getWrappedYamlName(false, false), managedPropertyMetadata: t3, propertyName: t3.property, info: e4.info })); @@ -87045,8 +93661,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 73274: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = i2(30801), a = i2(96618), s = i2(12179), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(12889)), d = i2(47957); - class c extends u.default { + const n2 = i2(31635), r2 = i2(17604), o = i2(30801), a = i2(96618), s = n2.__importDefault(i2(4648)), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(12889)), d = i2(47957); + class p extends c.default { static get notRealAction() { return false; } @@ -87071,7 +93687,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return super.getDisplayName(); } } - c.info = l.default.createReusableNodeInfo({ actionType: o.commonModuleTaskActionType, actionClass: c, helpTopic: s.helpTopics.tasks.task, name: d.commonModule.hardcodedTaskName, supportedFlowTypes: [a.flowTypes.flowTypeCommonModule] }), t2.default = c; + p.info = u.default.createReusableNodeInfo({ actionType: o.commonModuleTaskActionType, actionClass: p, helpTopic: l.helpTopics.tasks.task, name: d.commonModule.hardcodedTaskName, supportedFlowTypes: [a.flowTypes.flowTypeCommonModule], modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.default = p; }, 73303: (e2, t2, i2) => { function n2() { this.grammarBased = void 0, this.isDefault = void 0, this.selection = void 0, this.supportedLanguages = void 0, n2.baseConstructor.apply(this, arguments); @@ -87296,19 +93912,19 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.AudioType = o, o.typeIdentifier = r2.expressionTypeNames.audio; }, 73578: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(12179), a = n2.__importDefault(i2(97891)), s = i2(33381), l = n2.__importDefault(i2(9183)), u = i2(99469), d = i2(47957); - class c extends l.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(12179), a = n2.__importDefault(i2(97891)), s = i2(33381), l = n2.__importDefault(i2(9183)), u = i2(99469), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends l.default { constructor(e3, t3) { super(e3, t3); } static get managedProperties() { - return [{ createDetails: s.FlowReferenceProperty.createCreateDetails({ flowType: r2.flowTypes.flowTypeBot, supportsSpecificVersion: false }), options: u.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(1).setCanCreateObjectInAction(true)), property: "botFlow", yamlOptions: c.createYamlOptions("botFlow", (e3) => e3.setExportOrder(6)) }]; + return [{ createDetails: s.FlowReferenceProperty.createCreateDetails({ flowType: r2.flowTypes.flowTypeBot, supportsSpecificVersion: false }), options: u.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(1).setCanCreateObjectInAction(true)), property: "botFlow", yamlOptions: p.createYamlOptions("botFlow", (e3) => e3.setExportOrder(6)) }]; } get targetFlowType() { return this.botFlow; } } - c.className = "CallBotFlowAction", c.info = a.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: o.helpTopics.actions.callBotFlow, modelClass: i2(37852), name: d.actions.callBotFlow, scriptingName: "ArchActionCallBotFlow" }), t2.A = c; + p.className = "CallBotFlowAction", p.info = a.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: o.helpTopics.actions.callBotFlow, modelClass: i2(37852), name: d.actions.callBotFlow, scriptingName: "ArchActionCallBotFlow", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 73583: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -87437,10 +94053,10 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 73753: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(80428), a = i2(14394), s = i2(81516), l = i2(36128), u = n2.__importStar(i2(1115)), d = n2.__importDefault(i2(98495)), c = i2(47957); - class p extends d.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(80428), a = i2(14394), s = i2(81516), l = i2(36128), u = n2.__importStar(i2(1115)), c = n2.__importDefault(i2(98495)), d = i2(47957); + class p extends c.default { static get managedProperties() { - return [{ label: c.setConversationData.conversationLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(c.setConversationData.conversationLabel, c.setConversationData.conversationDescription).setIninTestingField("ConversationIdExpression").setDisableSpellcheck(true).setUiPropertyOrder(10).facets.setLengthForUuid()), property: "conversationId", supportedFlowTypes: [r2.flowTypes.flowTypeWorkflow, r2.flowTypes.flowTypeWorkitem], type: o.expressionTypeNames.string, yamlOptions: p.createYamlOptions("conversationId", (e3) => e3.setExportOrder(10)) }, { property: "variables", namedItems: true, isOutput: false, options: l.NameValuePairsOptions.create((e3) => e3.setAddButtonLabel(c.setAttributes.addAttributeButton).setUiPropertyOrder(11)), yamlOptions: p.createYamlOptions("attributes", (e3) => e3.setPropertyName("attributes").setWrappedCollectionItemName("attribute").setExportOrder(30)) }]; + return [{ label: d.setConversationData.conversationLabel, options: s.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(d.setConversationData.conversationLabel, d.setConversationData.conversationDescription).setIninTestingField("ConversationIdExpression").setDisableSpellcheck(true).setUiPropertyOrder(10).facets.setLengthForUuid()), property: "conversationId", supportedFlowTypes: [r2.flowTypes.flowTypeWorkflow, r2.flowTypes.flowTypeWorkitem], type: o.expressionTypeNames.string, yamlOptions: p.createYamlOptions("conversationId", (e3) => e3.setExportOrder(10)) }, { property: "variables", namedItems: true, isOutput: false, options: l.NameValuePairsOptions.create((e3) => e3.setAddButtonLabel(d.setAttributes.addAttributeButton).setUiPropertyOrder(11)), yamlOptions: p.createYamlOptions("attributes", (e3) => e3.setPropertyName("attributes").setWrappedCollectionItemName("attribute").setExportOrder(30)) }]; } addAttribute() { const e3 = this.variables.add(null, a.globalTypes.string); @@ -87529,6 +94145,71 @@ ${e3.stack}`, n3 = [this].concat(i3); } } t2.default = s; + }, 73950: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.resolveOrCreateVariableFromModel = function(e3, t3, i3) { + var n3, h, m, g; + const f = t3.trim(); + if (!f) return null; + const T = (function(e4, t4, i4) { + const n4 = t4.parentFlow, r3 = u.getScope(e4); + if (!r3) return i4.warn((0, p.sprintf)(c.configureFromModel.autoCreateNeedsScopePrefix, e4)), null; + let o2, a2, s2 = false, l2 = n4; + switch (r3) { + case _.call: + case _.chat: + case _.email: + case _.form: + case _.interaction: + case _.menu: + case _.message: + case _.prompt: + case _.promptSystem: + case _.session: + case _.slot: + case _.survey: + case _.workflow: + case _.workitem: + s2 = true, o2 = _[r3], a2 = u.getUnscopedName(e4); + break; + case _.common: + case _.flow: + o2 = _[r3], a2 = u.getUnscopedName(e4), l2 = n4; + break; + case _.bot: + case _.state: + case _.task: { + o2 = _[r3], a2 = u.getUnscopedName(e4); + const n5 = t4.getParentTask(); + if (!n5) return i4.warn((0, p.sprintf)(c.configureFromModel.autoCreateNoTaskContainer, e4, r3)), null; + l2 = n5; + break; + } + default: + return i4.warn((0, p.sprintf)(c.configureFromModel.autoCreateUnrecognizedScope, e4, r3)), null; + } + return { doNotCreate: s2, variablePrefix: o2, variableName: a2, destinationContainer: l2 }; + })(f, e3, i3); + if (!T) return null; + const { doNotCreate: y, variablePrefix: S, variableName: A, destinationContainer: N } = T, v = u.setScope(S, A); + if (!A) return i3.warn((0, p.sprintf)(c.configureFromModel.autoCreateNoNameAfterPrefix, f)), null; + if (A !== r2.expressionDataService.cleanseForIdentifierName(A)) return i3.warn((0, p.sprintf)(c.configureFromModel.autoCreateInvalidIdentifier, f, A)), null; + const O = e3.parentFlow.variableGroup.getVariableByName(v, N); + if (O) return e3.type && !(0, o.isMatch)(O.type, e3.type, a.settings.exact) && i3.warn((0, p.sprintf)(c.configureFromModel.variableTypeMismatch, v)), O; + if (y) return i3.warn((0, p.sprintf)(c.configureFromModel.variableCannotAutoCreateScope, v, S)), null; + if (!N.userCreatableVariableScopes.includes(S)) return i3.warn((0, p.sprintf)(c.configureFromModel.autoCreateScopeNotCreatable, v, S)), null; + if (!(null === (n3 = e3.type) || void 0 === n3 ? void 0 : n3.isUserCreatableForFlow(e3.parentFlow))) return i3.warn((0, p.sprintf)(c.configureFromModel.autoCreateTypeNotUserCreatable, v, e3.type.displayString)), null; + const I = l.addVariable(v, e3, N); + if (!I) return i3.warn((0, p.sprintf)(c.configureFromModel.autoCreateFailed, v)), null; + const C = { name: I.name, scope: S, dataType: e3.type.displayString, changeIndex: i3.currentChangeIndex, objectId: null === (h = i3.currentActionContext) || void 0 === h ? void 0 : h.objectId, objectType: null === (m = i3.currentActionContext) || void 0 === m ? void 0 : m.objectType, objectName: null === (g = i3.currentActionContext) || void 0 === g ? void 0 : g.objectName, property: i3.currentPropertyName, containerName: (0, d.getVariableContainerDisplayName)(N, S) }; + return i3.registerAutoCreatedVariable(C), i3.undoChangeSet && i3.undoChangeSet.recordUndoDeleteByObjectId("variable", I.id), i3.changeSetResults.addResult({ path: `/changes[${i3.currentChangeIndex}]/autoCreatedVariable`, added: { variable: new s.ChangeSetResultObject(I.id, I.name, void 0, void 0, C.containerName) } }), (function(e4, t4, i4) { + var n4, r3; + if (!i4.currentActionContext) return; + const o2 = null !== (r3 = null === (n4 = t4.type) || void 0 === n4 ? void 0 : n4.displayString) && void 0 !== r3 ? r3 : e4.type.displayString, a2 = i4.currentActionContext; + i4.reportActivity({ type: "variableAutoCreated", objectType: "variable", objectName: e4.name, objectId: a2.objectId, viewModel: a2.viewModel, changeIndex: i4.currentChangeIndex, property: i4.currentPropertyName, message: { template: c.changeSet.activity.variableAutoCreated, params: [{ value: e4.name, link: { objectId: e4.id, objectType: "variable", viewModel: e4 } }, { value: o2 }] } }); + })(I, e3, i3), I; + }; + const n2 = i2(31635), r2 = i2(27491), o = i2(9345), a = i2(9345), s = i2(90205), l = n2.__importStar(i2(71004)), u = n2.__importStar(i2(14187)), c = n2.__importStar(i2(69453)), d = i2(65782), p = i2(17604), { scopes: _ } = u; }, 73954: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(28730), { updateVariableActionType: o } = i2(30801), a = i2(42217); function s() { @@ -87566,7 +94247,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 74064: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.TTSDataViewModel = void 0; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(27862)), l = n2.__importStar(i2(17498)), u = n2.__importStar(i2(36781)), d = i2(79516), c = n2.__importDefault(i2(6953)), p = i2(10798), _ = n2.__importDefault(i2(4648)), h = i2(91941), m = i2(63221), g = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(27862)), l = n2.__importStar(i2(17498)), u = n2.__importStar(i2(36781)), c = i2(79516), d = n2.__importDefault(i2(6953)), p = i2(10798), _ = n2.__importDefault(i2(4648)), h = i2(91941), m = i2(63221), g = i2(47957); class f extends h.SpeechDataViewModel { constructor(e3, t3, i3) { super(e3, t3, i3), this._flexibleTtsSelectionEnabled = (0, p.isFeatureAvailable)(_.default.flexibleTtsSelection); @@ -87596,7 +94277,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this.engine.id || this.hasEngineNoneSelection ? this.updateDefaultEngineAndVoice() : this.parent.parentFlow.flowMetaData.ttsDataVersion ? this.setInitialValues() : this.migrateOldValues(), super.initializeDesignTime(); } get engineService() { - return c.default; + return d.default; } get id() { return this.languageId + "-tts"; @@ -87622,7 +94303,7 @@ ${e3.stack}`, n3 = [this].concat(i3); migrateOldValues() { var e3; const t3 = this.engineService.getGenesysEngine(); - if (t3 && c.default.isEngineSupportedForLanguageAndFlowTypeOrTypes(t3.id, this.languageId, null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.destinationFlowTypes)) { + if (t3 && d.default.isEngineSupportedForLanguageAndFlowTypeOrTypes(t3.id, this.languageId, null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.destinationFlowTypes)) { this.setEngine(t3, false); const e4 = t3.getVoicesForLanguage(this.languageId); e4.length && this.setVoice(e4[0], false); @@ -87664,7 +94345,7 @@ ${e3.stack}`, n3 = [this].concat(i3); updateDefaultEngineAndVoice() { var e3; if (this.isReadOnly) return; - const t3 = { type: d.AlertTypeEnum.info, message: "" }; + const t3 = { type: c.AlertTypeEnum.info, message: "" }; let i3; if (this.hasDefaultEngineSelected) { const t4 = this.engineService.getDefaultEngineForLanguageAndFlowTypeOrTypes(this.languageId, null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.type); @@ -87735,7 +94416,7 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(74359)), a = i2(54251), s = n2.__importStar(i2(10798)), l = n2.__importDefault(i2(4648)), u = n2.__importDefault(i2(8471)); - class d extends u.default { + class c extends u.default { constructor(e3) { super(), this._archSession = e3; } @@ -87819,6 +94500,9 @@ ${e3.stack}`, n3 = [this].concat(i3); get botFlowsAgenticVirtualAgentContextWindowPruningAvailable() { return this._ensureSessionIsConnected(this._infoPropGet("botFlowsAgenticVirtualAgentContextWindowPruningAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsAgenticVirtualAgentContextWindowPruning); } + get botFlowsAgenticVirtualAgentPublicAPIAvailable() { + return this._ensureSessionIsConnected(this._infoPropGet("botFlowsAgenticVirtualAgentPublicAPIAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsAgenticVirtualAgentPublicAPI); + } get botFlowsLLMPoweredSlot() { return this._ensureSessionIsConnected(this._infoPropGet("botFlowsLLMPoweredSlot"), this._archSession), s.isFeatureAvailable(l.default.botFlowsLLMPoweredSlot); } @@ -87844,7 +94528,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._getCanSetTrackingIds(this._infoPropGet("canSetTrackingIds"), this._archSession); } get supportsSendNotificationChatGroup() { - return this._ensureSessionIsConnected(this._infoPropGet("supportsSendNotificationChatGroup"), this._archSession), s.isFeatureAvailable(l.default.sendNotificationChatGroupFeature); + return this._ensureSessionIsConnected(this._infoPropGet("supportsSendNotificationChatGroup"), this._archSession), true; } get defaultSttEngineSelection() { return this._ensureSessionIsConnected(this._infoPropGet("defaultSttEngineSelection"), this._archSession), true; @@ -87858,11 +94542,14 @@ ${e3.stack}`, n3 = [this].concat(i3); get orgSupportsFullFlowStubbing() { return this._ensureSessionIsConnected(this._infoPropGet("orgSupportsFullFlowStubbing"), this._archSession), s.isFeatureAvailable(l.default.flowStubbing); } + get botFlowsLLMPoweredNavigatorAvailable() { + return this._ensureSessionIsConnected(this._infoPropGet("botFlowsLLMPoweredNavigatorAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsLLMPoweredFrontDoor); + } get orgSupportsYamlTrackingId() { return this._ensureSessionIsConnected(this._infoPropGet("orgSupportsYamlTrackingId"), this._archSession), s.isFeatureAvailable(l.default.yamlTrackingIdFeature); } } - t2.default = d; + t2.default = c; }, 74156: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DataTableList = void 0; @@ -87884,6 +94571,115 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }), t2.getDomainVersion = t2.getDomain = t2.getDomains = t2.createDomain = void 0; const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(25760), o = i2(68040), a = i2(16926), s = { ignoreBadResponse: true }; t2.createDomain = n2.default.request("POST", "{public-api.apps}/api/v2/languageunderstanding/domains", r2, s), t2.getDomains = n2.default.request("GET", "{public-api.apps}/api/v2/languageunderstanding/domains", o, s), t2.getDomain = n2.default.request("GET", "{public-api.apps}/api/v2/languageunderstanding/domains/{domainId}", r2, s), t2.getDomainVersion = n2.default.request("GET", "{public-api.apps}/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}?includeUtterances=true", a, s); + }, 74188: (e2, t2, i2) => { + "use strict"; + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(80428), u = i2(24801), c = i2(79467), d = i2(84464), p = n2.__importDefault(i2(27203)), _ = n2.__importStar(i2(85020)), h = n2.__importStar(i2(36781)), m = n2.__importStar(i2(33230)), g = i2(12179), f = n2.__importDefault(i2(97891)), T = i2(95443), y = n2.__importDefault(i2(5730)), S = i2(47957); + class A extends y.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), this.addAutoCleanedUpEventListener(h.intentClassifierUpdated, this.updateAgenticIntentPaths.bind(this)); + } + static get branchInfo() { + return [p.default.failure, p.default.timeout, p.default.maxNoInputsOptional, p.default.maxNoMatchesOptional]; + } + get isAgenticAskForIntentAction() { + return true; + } + get supportsCustomOutputPaths() { + return true; + } + static get managedProperties() { + return [(0, T.createBargeInManagedProperty)(10, S.speechToText.recognitionParams.speechRecognitionParameters), { label: S.askCommon.voiceEndOfInputTimeout, options: c.ExpressionTypeDurationOptions.create((e3) => e3.setRequiredFlowChannelType(_.channelTypeCall).setIninTestingField("voiceEndOfInputTimeout").setDefaultText(a.default.litDurationOneSecond).setAllowFlowLevelDefault(true).setFlowLevelDefaultSameModes(true).setScriptingPropertyName("voiceEndOfInputTimeout").setUiPropertyOrder(20).setUiPropertyGroup(S.speechToText.recognitionParams.speechRecognitionParameters).setDurationStyle(s.durationStyles.secondsAndTenthsDuration).facets.setMinDur(100, true).setMaxDur(10 * a.default.msPerSecond, true)), supportedFlowTypes: [r2.flowTypes.flowTypeBot], property: "voiceEndOfInputTimeout", type: l.expressionTypeNames.duration }]; + } + initializeDesignTime() { + super.initializeDesignTime(), this.updateAgenticIntentPaths(); + } + getConfiguration(e3, t3) { + const i3 = super.getConfiguration(e3, t3); + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const n3 = i3.agenticAskForIntent, r3 = { agenticAskForIntent: { name: n3.name } }, a2 = r3.agenticAskForIntent; + n3.enableBargeIn && !n3.enableBargeIn.noValue && (a2.enableBargeIn = n3.enableBargeIn), n3.voiceEndOfInputTimeout && !n3.voiceEndOfInputTimeout.noValue && (a2.voiceEndOfInputTimeout = n3.voiceEndOfInputTimeout); + const s2 = {}; + for (const i4 of this.branches) if (i4.isDynamicBranch && i4.isCategory) { + const n4 = {}; + for (const r4 of this.branches) if (r4.categoryId === i4.id) { + const i5 = r4.getConfiguration(e3, t3) || {}; + o.default.ensureYamlNoneTrue(i5), n4[r4.label] = i5; + } + o.default.ensureYamlNoneTrue(n4), s2[i4.label] = n4; + } else if (i4.isDynamicBranch && !i4.categoryId) { + const n4 = i4.getConfiguration(e3, t3); + s2[i4.label] = n4 || {}, o.default.ensureYamlNoneTrue(s2[i4.label]); + } + for (const i4 of this.branches) if (i4.isBuiltInBranch) { + const n4 = i4.getConfiguration(e3, t3); + s2[i4.getYamlOutputId(i4.id)] = n4 || {}, o.default.ensureYamlNoneTrue(s2[i4.getYamlOutputId(i4.id)]); + } + for (const i4 of this.branches) if (!i4.isDynamicBranch && !i4.isBuiltInBranch) { + const n4 = i4.getConfiguration(e3, t3); + n4 && (s2[i4.getYamlOutputId(i4.id)] = n4); + } + return Object.keys(s2).length > 0 && (a2.outputs = s2), o.default.ensureYamlNoneTrue(r3), r3; + } + return i3; + } + updateAgenticIntentPaths() { + var e3, t3; + const i3 = null === (t3 = null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.intentClassifierData) || void 0 === t3 ? void 0 : t3.intentClassifier, n3 = null == i3 ? void 0 : i3.categories; + if (!n3) return; + const r3 = m.translateHierarchicalRoutesToBranchItems(this, n3); + m.switchToNewAgenticIntentPaths(this, r3); + } + validate(e3) { + var t3; + if (super.validate(e3), e3.isDeep && this.updateAgenticIntentPaths(), this.isDisabled) return; + const i3 = d.actionRegistrationService.getActionIdsForActionType(this.parentFlow, this.info.typeId); + if (i3 && i3.length > 1) return void e3.addError(this, S.agenticAskForIntent.onlyOneAllowedPerFlow); + const n3 = null === (t3 = this.parentFlow) || void 0 === t3 ? void 0 : t3.intentClassifierData, r3 = null == n3 ? void 0 : n3.categories; + r3 && 0 !== r3.length ? this.branches.some((e4) => e4.isDynamicBranch && !e4.isDisabled) || e3.addError(this, S.agenticAskForIntent.mustEnableOneCategoryOrIntent) : e3.addError(this, S.agenticAskForIntent.mustHaveOneCategory); + } + } + A.info = f.default.createActionInfo({ actionClass: A, canBeInTask: true, helpTopic: g.helpTopics.actions.agenticAskForIntent, modelClass: u.AgenticAskForIntentActionModel, name: S.actions.agenticAskForIntent, scriptingName: "ArchActionAgenticAskForIntent", availabilityCallback: (e3, t3, i3) => { + var n3; + return null === (n3 = t3.parentFlow.botFlowSettings) || void 0 === n3 ? void 0 : n3.virtualAgentEnabled; + } }), t2.A = A; + }, 74246: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), r2 = n2.__importDefault(i2(17102)), o = n2.__importStar(i2(36781)), a = i2(10798), s = n2.__importDefault(i2(4648)); + class l extends r2.default { + constructor() { + super(...arguments), this.modelPropertyName = "intentClassifierData"; + } + get intentClassifier() { + return this._intentClassifier; + } + set intentClassifier(e3) { + this._intentClassifier = e3; + } + get categories() { + var e3; + return null === (e3 = this._intentClassifier) || void 0 === e3 ? void 0 : e3.categories; + } + get id() { + return "intentClassifierData"; + } + get className() { + return "IntentClassifierDataViewModel"; + } + getDisplayName() { + return "intentClassifierData"; + } + getConfiguration(e3, t3) { + this._intentClassifier && (0, a.isFeatureAvailable)(s.default.botFlowsLLMPoweredFrontDoor) && (e3.intentClassifierData = this._intentClassifier); + } + loadConfiguration(e3) { + this._intentClassifier = e3.intentClassifierData || void 0; + } + updateIntentClassifier(e3) { + this._intentClassifier = e3.intentClassifierData, o.emitter.emit(o.intentClassifierUpdated); + } + } + t2.default = l; }, 74260: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -87986,62 +94782,64 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 74359: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.autoResolveBootstrapLanguageDataLoadedPromise = t2.autoResolveBootstrapDataLoadedPromise = t2.orgInfoLoaded = t2.loaded = t2.featureTogglesLoaded = t2.divisionsLoaded = t2.bootstrapLanguageDataLoaded = t2.bootstrapDataLoaded = void 0, t2.getAuthenticatedPromise = function() { - return p.promise; - }, t2.getAuthorizedPromise = T, t2.getConnectedUser = function() { - return h; + return _.promise; + }, t2.getAuthorizedPromise = y, t2.getConnectedUser = function() { + return m; }, t2.setConnectedUser = function(e3) { throw "not valid here"; }, t2.isCurrentUserAuthorized = function() { - return true === f; + return true === T; }, t2.isCurrentUserUnauthorized = function() { - return false === f; + return false === T; }, t2.setCurrentUserAuthorized = function(e3) { - f = e3; + T = e3; }, t2.getCurrentLanguage = function() { - return S; + return N; }, t2.setCurrentLanguage = function(e3) { - S = e3; + A && a.error(`setCurrentLanguage being called a second time during startup -- current value: ${N} -- new value: ${e3}`), N = e3, A = true; + }, t2.hasCurrentLanguageBeenSet = function() { + return A; }, t2.getRegionalLocale = function() { - return y || S; + return S || N; }, t2.setRegionalLocale = function(e3) { - y = e3; + S = e3; }, t2.usingRegionalLocale = function() { - return !!y; + return !!S; }, t2.getOrgInfo = function() { - return m; - }, t2.getUserTokenInfo = function() { return g; + }, t2.getUserTokenInfo = function() { + return f; }, t2.authenticatedUser = function(e3) { - h = e3, g = new o.UserTokenViewModel(e3.token), p.resolve(e3); + m = e3, f = new o.UserTokenViewModel(e3.token), _.resolve(e3); }, t2.resolveUserAsAuthorized = function() { - _.resolve(); + h.resolve(); }, t2.finishedLoading = function() { - a.resolve(); - }, t2.setDivisionsLoaded = function() { s.resolve(); + }, t2.setDivisionsLoaded = function() { + l.resolve(); }, t2.isRunningInBrowser = function() { return "undefined" != typeof window; }, t2.resetAuthPromise = function() { - "fulfilled" === this.getAuthenticatedPromise().inspect().state && (p = r2.default.defer()), "fulfilled" === this.getAuthorizedPromise().inspect().state && (_ = r2.default.defer()); + "fulfilled" === this.getAuthenticatedPromise().inspect().state && (_ = r2.default.defer()), "fulfilled" === this.getAuthorizedPromise().inspect().state && (h = r2.default.defer()); }, t2.setOrgInfo = function(e3) { - m = e3, l.resolve(); + g = e3, u.resolve(); }, t2.resolveUserAsUnauthorized = function(e3) { - p.reject(e3), _.reject(e3); + _.reject(e3), h.reject(e3); }, t2.setFeatureTogglesLoaded = function(e3) { - u.resolve(e3); + c.resolve(e3); }, t2.startupDataLoadedAndAuthorized = function() { return n2.__awaiter(this, void 0, void 0, function* () { - yield Promise.all([t2.bootstrapLanguageDataLoaded, t2.featureTogglesLoaded, t2.divisionsLoaded, T(), t2.bootstrapDataLoaded]); + yield Promise.all([t2.bootstrapLanguageDataLoaded, t2.featureTogglesLoaded, t2.divisionsLoaded, y(), t2.bootstrapDataLoaded]); }); }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(33231)), o = i2(46447), a = r2.default.defer(), s = r2.default.defer(), l = r2.default.defer(), u = r2.default.defer(), d = r2.default.defer(), c = r2.default.defer(); - let p = r2.default.defer(), _ = r2.default.defer(), h = null, m = null, g = null, f = false; - function T() { - return _.promise; + const n2 = i2(31635), r2 = n2.__importDefault(i2(33231)), o = i2(46447), a = n2.__importStar(i2(12847)), s = r2.default.defer(), l = r2.default.defer(), u = r2.default.defer(), c = r2.default.defer(), d = r2.default.defer(), p = r2.default.defer(); + let _ = r2.default.defer(), h = r2.default.defer(), m = null, g = null, f = null, T = false; + function y() { + return h.promise; } - t2.bootstrapDataLoaded = d.promise, t2.bootstrapLanguageDataLoaded = c.promise; - let y, S = "en-us"; - function A(e3, t3) { + t2.bootstrapDataLoaded = d.promise, t2.bootstrapLanguageDataLoaded = p.promise; + let S, A = false, N = "en-us"; + function v(e3, t3) { return (i3) => { try { const n3 = i3(); @@ -88055,7 +94853,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } }; } - t2.divisionsLoaded = s.promise, t2.featureTogglesLoaded = u.promise, t2.loaded = a.promise, t2.orgInfoLoaded = l.promise, t2.autoResolveBootstrapDataLoadedPromise = A(d, "bootstrapDataLoaded"), t2.autoResolveBootstrapLanguageDataLoadedPromise = A(c, "bootstrapLanguageDataLoaded"); + t2.divisionsLoaded = l.promise, t2.featureTogglesLoaded = c.promise, t2.loaded = s.promise, t2.orgInfoLoaded = u.promise, t2.autoResolveBootstrapDataLoadedPromise = v(d, "bootstrapDataLoaded"), t2.autoResolveBootstrapLanguageDataLoadedPromise = v(p, "bootstrapLanguageDataLoaded"); }, 74369: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -88079,8 +94877,8 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; var n2, r2, o, a; Object.defineProperty(t2, "__esModule", { value: true }); - const s = i2(31635), l = s.__importDefault(i2(92140)), u = i2(80295), d = i2(80295), c = s.__importDefault(i2(55015)), p = s.__importDefault(i2(95079)), _ = s.__importDefault(i2(69796)), h = s.__importDefault(i2(29463)), m = s.__importDefault(i2(17954)), g = s.__importStar(i2(75800)); - class f extends c.default { + const s = i2(31635), l = s.__importDefault(i2(92140)), u = i2(80295), c = i2(80295), d = s.__importDefault(i2(55015)), p = s.__importDefault(i2(95079)), _ = s.__importDefault(i2(69796)), h = s.__importDefault(i2(29463)), m = s.__importDefault(i2(17954)), g = s.__importStar(i2(75800)); + class f extends d.default { constructor(e3) { super(e3), (0, u.makeUnenumerable)(this, "_debug"), (0, u.makeUnenumerable)(this, "_contexts"), (0, u.makeUnenumerable)(this, "_features"), (0, u.makeUnenumerable)(this, "_functions"), (0, u.makeUnenumerable)(this, "_isDefault"); } @@ -88120,7 +94918,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this._isDefault = e3; } } - t2.default = f, s.__decorate([(0, d.enumerable)(true), s.__metadata("design:type", "function" == typeof (n2 = void 0 !== g && g.IFlowTypeAvailabilityContainerMap) ? n2 : Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "debug", null), s.__decorate([(0, d.enumerable)(true), s.__metadata("design:type", "function" == typeof (r2 = void 0 !== g && g.IObjectMap) ? r2 : Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "contexts", null), s.__decorate([(0, d.enumerable)(true), s.__metadata("design:type", "function" == typeof (o = void 0 !== g && g.ILanguageFeaturesSupportMap) ? o : Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "features", null), s.__decorate([(0, d.enumerable)(true), s.__metadata("design:type", "function" == typeof (a = void 0 !== g && g.ILanguageFunctionSupportMap) ? a : Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "functions", null), s.__decorate([(0, d.enumerable)(true), s.__metadata("design:type", Boolean), s.__metadata("design:paramtypes", [Boolean])], f.prototype, "isDefault", null); + t2.default = f, s.__decorate([(0, c.enumerable)(true), s.__metadata("design:type", "function" == typeof (n2 = void 0 !== g && g.IFlowTypeAvailabilityContainerMap) ? n2 : Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "debug", null), s.__decorate([(0, c.enumerable)(true), s.__metadata("design:type", "function" == typeof (r2 = void 0 !== g && g.IObjectMap) ? r2 : Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "contexts", null), s.__decorate([(0, c.enumerable)(true), s.__metadata("design:type", "function" == typeof (o = void 0 !== g && g.ILanguageFeaturesSupportMap) ? o : Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "features", null), s.__decorate([(0, c.enumerable)(true), s.__metadata("design:type", "function" == typeof (a = void 0 !== g && g.ILanguageFunctionSupportMap) ? a : Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "functions", null), s.__decorate([(0, c.enumerable)(true), s.__metadata("design:type", Boolean), s.__metadata("design:paramtypes", [Boolean])], f.prototype, "isDefault", null); }, 74385: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.range = void 0; @@ -88386,32 +95184,47 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = a; }, 74731: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isLoaded = a, t2.loadFlowTypeExpansions = function(e3 = {}) { - r2 = e3, s.length && (s.forEach((e4) => o(e4.unexpandedFlowTypes, e4.callback)), s.length = 0); + Object.defineProperty(t2, "__esModule", { value: true }), t2.expandLimitFlowTypeMapAsync = function(e3, t3) { + c() ? u(e3, t3) : l.push({ unexpandedFlowTypes: e3, callback: t3 }); + }, t2.loadFlowTypeExpansions = function(e3 = {}) { + s.length && (s.forEach((e4) => a(e4.unexpandedFlowTypes, e4.callback)), s.length = 0), l.length && (l.forEach((e4) => u(e4.unexpandedFlowTypes, e4.callback)), l.length = 0); }, t2.expandFlowTypeMapAsync = function(e3, t3) { - a() ? o(e3, t3) : s.push({ unexpandedFlowTypes: e3, callback: t3 }); + c() ? a(e3, t3) : s.push({ unexpandedFlowTypes: e3, callback: t3 }); }; - const n2 = i2(96618); - let r2; - function o(e3, t3) { + const n2 = i2(96618), r2 = i2(96618), o = i2(96618); + function a(e3, t3) { try { const i3 = {}; e3 && Object.entries(e3).forEach(([e4, t4]) => { - var n3; - (n3 = e4, r2[n3] ? r2[n3] : [n3]).forEach((e5) => { + (function(e5) { + const t5 = (0, n2.expandToFlowTypeIds)(e5); + return t5.length > 0 ? t5 : [e5]; + })(e4).forEach((e5) => { i3[e5] = Object.assign(t4, { id: e5 }); }); - }), n2.flowTypes.flowTypesAll.forEach((e4) => { + }), r2.flowTypes.flowTypesAll.forEach((e4) => { i3[e4] || (i3[e4] = { id: e4, isAvailable: false }); }), t3(i3); } catch (e4) { console.error(e4); } } - function a() { - return !!r2; + const s = [], l = []; + function u(e3, t3) { + try { + const i3 = {}; + e3 && Object.entries(e3).forEach(([e4, t4]) => { + (0, n2.expandToFlowTypeIds)(e4).forEach((e5) => { + i3[e5] = t4; + }); + }), t3(i3); + } catch (e4) { + console.error(e4); + } + } + function c() { + return (0, o.haveOrgFlowTypeExpansionsBeenSet)(); } - const s = []; }, 74761: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -88499,8 +95312,8 @@ ${e3.stack}`, n3 = [this].concat(i3); } } }), e2.exports = o; }, 74884: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(73198)), u = n2.__importDefault(i2(97891)), d = i2(24235), c = i2(79467), p = i2(78513), _ = i2(81516), h = i2(80428), m = i2(47957); - class g extends a.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(73198)), u = n2.__importDefault(i2(97891)), c = i2(24235), d = i2(79467), p = i2(78513), _ = i2(81516), h = i2(80428), m = n2.__importDefault(i2(4648)), g = i2(47957); + class f extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.editor_testing_tag = "dialByExtensionController", this.digitTimeout = null, this.numReprompts = null, this.repromptAudio = null, this.resultData = null, this._loadModel(t3); } @@ -88508,10 +95321,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return [s.default.fake, s.default.failure, s.default.timeout]; } static get managedProperties() { - return [{ label: m.collectInput.interDigitTimeout, options: c.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(l.default.litDurationSixSeconds).setAllowFlowLevelDefault(true).setScriptingPropertyName("interDigitTimeout").setDurationStyle(r2.durationStyles.secondsAndTenthsDuration).setAsInput(true).setIninTestingField("digitTimeoutControl").setUiPropertyOrder(20).facets.setMinDur(1e3, true)), yamlOptions: g.createYamlOptions("digitTimeout", (e3) => e3.setPropertyName("interDigitTimeout")), property: "digitTimeout", type: h.expressionTypeNames.duration }, { audio: true, options: d.AudioViewModelOptions.create((e3) => e3.setUiPropertyOrder(30).setIninTestingField("audioToPlay").setLabel(m.dialExtension.audioToPlay)), property: "repromptAudio" }, { label: m.dialExtension.extensionVariable, options: _.ExpressionTypeStringOptions.create((e3) => e3.setUiPropertyOrder(10).setAsOutput().setIsOptional(true).setBlankWarningText(m.errors.noVariableSpecified)), yamlOptions: g.createYamlOptions("resultData", (e3) => e3.setPropertyName("extensionVariable").setExportOrder(20)), property: "resultData", type: h.expressionTypeNames.string }, { label: m.dialExtension.numReprompts, property: "numReprompts", type: h.expressionTypeNames.integer, options: p.ExpressionTypeIntegerOptions.create((e3) => e3.setUiPropertyOrder(40).setDefaultText("0").setIninTestingField("numRepromptsControl").facets.setMinInt(0, true)), yamlOptions: g.createYamlOptions("numReprompts", (e3) => e3.setPropertyName("repromptCount")) }]; + return [{ label: g.collectInput.interDigitTimeout, options: d.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(l.default.litDurationSixSeconds).setAllowFlowLevelDefault(true).setScriptingPropertyName("interDigitTimeout").setDurationStyle(r2.durationStyles.secondsAndTenthsDuration).setAsInput(true).setIninTestingField("digitTimeoutControl").setUiPropertyOrder(20).facets.setMinDur(1e3, true)), yamlOptions: f.createYamlOptions("digitTimeout", (e3) => e3.setPropertyName("interDigitTimeout")), property: "digitTimeout", type: h.expressionTypeNames.duration }, { audio: true, options: c.AudioViewModelOptions.create((e3) => e3.setUiPropertyOrder(30).setIninTestingField("audioToPlay").setLabel(g.dialExtension.audioToPlay)), property: "repromptAudio" }, { label: g.dialExtension.extensionVariable, options: _.ExpressionTypeStringOptions.create((e3) => e3.setUiPropertyOrder(10).setAsOutput().setIsOptional(true).setBlankWarningText(g.errors.noVariableSpecified)), yamlOptions: f.createYamlOptions("resultData", (e3) => e3.setPropertyName("extensionVariable").setExportOrder(20)), property: "resultData", type: h.expressionTypeNames.string }, { label: g.dialExtension.numReprompts, property: "numReprompts", type: h.expressionTypeNames.integer, options: p.ExpressionTypeIntegerOptions.create((e3) => e3.setUiPropertyOrder(40).setDefaultText("0").setIninTestingField("numRepromptsControl").facets.setMinInt(0, true)), yamlOptions: f.createYamlOptions("numReprompts", (e3) => e3.setPropertyName("repromptCount")) }]; } } - g.info = u.default.createActionInfo({ actionClass: g, canBeInTask: true, canBeTreeNode: true, helpTopic: o.helpTopics.actions.dialExtension, modelClass: i2(77170), name: m.dialExtension.title, scriptingName: "ArchActionDialByExtension" }), t2.A = g; + f.info = u.default.createActionInfo({ actionClass: f, canBeInTask: true, canBeTreeNode: true, helpTopic: o.helpTopics.actions.dialExtension, modelClass: i2(77170), name: g.dialExtension.title, scriptingName: "ArchActionDialByExtension", modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } } }), t2.A = f; }, 74920: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -88546,7 +95359,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 74986: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(41510)), s = i2(80295), l = n2.__importDefault(i2(67114)), u = i2(55909), d = i2(33951), c = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(41510)), s = i2(80295), l = n2.__importDefault(i2(67114)), u = i2(55909), c = i2(33951), d = i2(47957); class p extends l.default { constructor() { super(), this._maxValInclusive = false, this._minValInclusive = false, (0, s.makeUnenumerable)(this, "_maxVal"), (0, s.makeUnenumerable)(this, "_maxValInclusive"), (0, s.makeUnenumerable)(this, "_minVal"), (0, s.makeUnenumerable)(this, "_minValInclusive"); @@ -88557,17 +95370,17 @@ ${e3.stack}`, n3 = [this].concat(i3); _facetValidateValue(e3, t3) { if (void 0 !== this.minVal) { if (this.minValInclusive) { - if (e3 < this.minVal) return this._createErrorResult((0, r2.sprintf)(c.facets.valueMustBeGreaterThanOrEqualTo, e3, this.minVal)); - } else if (e3 <= this.minVal) return this._createErrorResult((0, r2.sprintf)(c.facets.valueMustBeGreaterThan, e3, this.minVal)); + if (e3 < this.minVal) return this._createErrorResult((0, r2.sprintf)(d.facets.valueMustBeGreaterThanOrEqualTo, e3, this.minVal)); + } else if (e3 <= this.minVal) return this._createErrorResult((0, r2.sprintf)(d.facets.valueMustBeGreaterThan, e3, this.minVal)); } if (void 0 !== this.maxVal) { if (this.maxValInclusive) { - if (e3 > this.maxVal) return this._createErrorResult((0, r2.sprintf)(c.facets.valueMustBeLessThanOrEqualTo, e3, this.maxVal)); - } else if (e3 >= this.maxVal) return this._createErrorResult((0, r2.sprintf)(c.facets.valueMustBeLessThan, e3, this.maxVal)); + if (e3 > this.maxVal) return this._createErrorResult((0, r2.sprintf)(d.facets.valueMustBeLessThanOrEqualTo, e3, this.maxVal)); + } else if (e3 >= this.maxVal) return this._createErrorResult((0, r2.sprintf)(d.facets.valueMustBeLessThan, e3, this.maxVal)); } } addDescriptionInfo(e3, t3) { - super.addDescriptionInfo(e3, t3), o.default.isActualNumber(this.minVal) && t3.push((0, r2.sprintf)(a.default.itemColonValue, c.expressionsHelp.parameters.minValue, this._getFacetValueForDisplay(this.minVal))), o.default.isActualNumber(this.maxVal) && t3.push((0, r2.sprintf)(a.default.itemColonValue, c.expressionsHelp.parameters.maxValue, this._getFacetValueForDisplay(this.maxVal))); + super.addDescriptionInfo(e3, t3), o.default.isActualNumber(this.minVal) && t3.push((0, r2.sprintf)(a.default.itemColonValue, d.expressionsHelp.parameters.minValue, this._getFacetValueForDisplay(this.minVal))), o.default.isActualNumber(this.maxVal) && t3.push((0, r2.sprintf)(a.default.itemColonValue, d.expressionsHelp.parameters.maxValue, this._getFacetValueForDisplay(this.maxVal))); } _getFacetValueForDisplay(e3) { return e3; @@ -88588,7 +95401,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._maxValInclusive; } set maxValInclusive(e3) { - this._maxValInclusive = d.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "maxValInclusive", "value")); + this._maxValInclusive = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "maxValInclusive", "value")); } setMaxValInclusive(e3) { return this.maxValInclusive = e3, this; @@ -88600,7 +95413,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._minValInclusive; } set minValInclusive(e3) { - this._minValInclusive = d.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "minValInclusive", "value")); + this._minValInclusive = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "minValInclusive", "value")); } setMinValInclusive(e3) { return this.minValInclusive = e3, this; @@ -88660,16 +95473,16 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 75228: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(77862)), s = n2.__importDefault(i2(49416)), l = i2(12179), u = n2.__importDefault(i2(27377)), d = i2(47957), c = "intentsSettings"; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(77862)), s = n2.__importDefault(i2(49416)), l = i2(12179), u = n2.__importDefault(i2(27377)), c = i2(47957), d = "intentsSettings"; class p extends u.default { constructor() { super(...arguments), this.topic = o.getTopic("IntentsSettingsViewModel"); } get id() { - return c; + return d; } static get id() { - return c; + return d; } get className() { return "IntentsSettingsViewModel"; @@ -88678,7 +95491,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return false; } getDisplayName() { - return d.intents.label; + return c.intents.label; } get isIntentsSettingsNode() { return true; @@ -88706,7 +95519,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const i4 = this.parentFlow.getTaskById(t4.id); return !i4 || i4 && !i4.isReusableTask; }); - n3 && e3.addError(this, s.default.resolveString(d.digitalBot.intentNotMappedToTask)), r3 && e3.addError(this, s.default.resolveString(d.digitalBot.intentMappedToInvalidTask)); + n3 && e3.addError(this, s.default.resolveString(c.digitalBot.intentNotMappedToTask)), r3 && e3.addError(this, s.default.resolveString(c.digitalBot.intentMappedToInvalidTask)); } } } @@ -88736,11 +95549,11 @@ ${e3.stack}`, n3 = [this].concat(i3); var n2 = i2(48051), r2 = i2(50439), o = i2(19724), a = i2(26404), s = i2(17214), l = i2(13916), u = i2(15810); t2.forkJoin = function() { for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = a.popResultSelector(e3), d = r2.argsArgArrayOrObject(e3), c = d.args, p = d.keys, _ = new n2.Observable(function(e4) { - var t4 = c.length; + var i3 = a.popResultSelector(e3), c = r2.argsArgArrayOrObject(e3), d = c.args, p = c.keys, _ = new n2.Observable(function(e4) { + var t4 = d.length; if (t4) for (var i4 = new Array(t4), n3 = t4, r3 = t4, a2 = function(t5) { var a3 = false; - o.innerFrom(c[t5]).subscribe(s.createOperatorSubscriber(e4, function(e5) { + o.innerFrom(d[t5]).subscribe(s.createOperatorSubscriber(e4, function(e5) { a3 || (a3 = true, r3--), i4[t5] = e5; }, function() { return n3--; @@ -88779,13 +95592,13 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = s; }, 75374: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importStar(i2(1115)), o = i2(81063), a = n2.__importDefault(i2(5478)), s = i2(81063), l = i2(21305), u = i2(80428), d = i2(81516), c = i2(12179), p = n2.__importDefault(i2(97891)), _ = i2(17604), h = i2(47957); - class m extends a.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(1115)), o = i2(81063), a = n2.__importDefault(i2(5478)), s = i2(81063), l = i2(21305), u = i2(80428), c = i2(81516), d = i2(12179), p = n2.__importDefault(i2(97891)), _ = i2(17604), h = n2.__importDefault(i2(4648)), m = i2(47957); + class g extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } static get managedProperties() { - return [{ label: h.encryptData.dataToEncryptLabel, options: l.ExpressionTypeJsonOptions.create((e3) => e3.setAsInput().setIninTestingField("DataToEncrypt").setAllowModeExpression(true).setAllowModeLiteral(true).setAllowNotSet(true).setAllowSecure(true).setDescriptionInfo(h.encryptData.dataToEncryptLabel, (0, _.sprintf)(h.encryptData.dataToEncryptDescription, h.generic.branches.failure, o.allEncryptDecryptFailureReasons.noDataSupplied, o.allEncryptDecryptFailureReasons.maximumDataSizeExceeded))), property: "dataToEncrypt", type: u.expressionTypeNames.json }, { label: h.encryptData.encryptedDataOutputLabel, options: d.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setIninTestingField("EncryptedDataOutput").setDefaultToVariable(true).setDescriptionInfo(h.encryptData.encryptedDataOutputLabel, h.encryptData.encryptedDataOutputDescription)), property: "encryptedDataOutput", yamlOptions: m.createYamlOptions("encryptedDataOutput", (e3) => e3.setPropertyName("encryptedData")), type: u.expressionTypeNames.string }]; + return [{ label: m.encryptData.dataToEncryptLabel, options: l.ExpressionTypeJsonOptions.create((e3) => e3.setAsInput().setIninTestingField("DataToEncrypt").setAllowModeExpression(true).setAllowModeLiteral(true).setAllowNotSet(true).setAllowSecure(true).setDescriptionInfo(m.encryptData.dataToEncryptLabel, (0, _.sprintf)(m.encryptData.dataToEncryptDescription, m.generic.branches.failure, o.allEncryptDecryptFailureReasons.noDataSupplied, o.allEncryptDecryptFailureReasons.maximumDataSizeExceeded))), property: "dataToEncrypt", type: u.expressionTypeNames.json }, { label: m.encryptData.encryptedDataOutputLabel, options: c.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setIninTestingField("EncryptedDataOutput").setDefaultToVariable(true).setDescriptionInfo(m.encryptData.encryptedDataOutputLabel, m.encryptData.encryptedDataOutputDescription)), property: "encryptedDataOutput", yamlOptions: g.createYamlOptions("encryptedDataOutput", (e3) => e3.setPropertyName("encryptedData")), type: u.expressionTypeNames.string }]; } _getPossibleErrors() { return s.encryptDataFailureReasons; @@ -88795,11 +95608,11 @@ ${e3.stack}`, n3 = [this].concat(i3); } _initializeDesignTime() { super._initializeDesignTime(), this.encryptedDataOutput.attachValidator((e3) => { - this.dataToEncrypt.consumesSecureData && !this.encryptedDataOutput.consumesSecureData && (e3.addError(this.encryptedDataOutput, (0, _.sprintf)(h.securedActions.variableMustBeMadeSecure, h.encryptData.encryptedDataOutputLabel)), this.encryptedDataOutput.setParseError((0, _.sprintf)(h.securedActions.outputMustBeSecureIfInputIsSecure, h.encryptData.encryptedDataOutputLabel, h.encryptData.dataToEncryptLabel))); + this.dataToEncrypt.consumesSecureData && !this.encryptedDataOutput.consumesSecureData && (e3.addError(this.encryptedDataOutput, (0, _.sprintf)(m.securedActions.variableMustBeMadeSecure, m.encryptData.encryptedDataOutputLabel)), this.encryptedDataOutput.setParseError((0, _.sprintf)(m.securedActions.outputMustBeSecureIfInputIsSecure, m.encryptData.encryptedDataOutputLabel, m.encryptData.dataToEncryptLabel))); }); } } - m.info = p.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: c.helpTopics.actions.encryptData, modelClass: i2(14300), name: h.actions.encryptData, scriptingName: "ArchActionEncryptData" }), t2.A = m; + g.info = p.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: d.helpTopics.actions.encryptData, modelClass: i2(14300), name: m.actions.encryptData, scriptingName: "ArchActionEncryptData", modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = g; }, 75458: (e2, t2, i2) => { const n2 = i2(13240), r2 = i2(90807); function o() { @@ -88894,8 +95707,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 75679: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DynamicSlotTypeList = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(7401)), a = n2.__importStar(i2(10798)), s = n2.__importDefault(i2(4648)), l = i2(44703), u = n2.__importDefault(i2(49304)), d = i2(81161); - class c extends l.ExpressionContainer { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(7401)), a = n2.__importStar(i2(10798)), s = n2.__importDefault(i2(4648)), l = i2(44703), u = n2.__importDefault(i2(49304)), c = i2(81161); + class d extends l.ExpressionContainer { constructor(e3, t3) { super(e3.parentFlow, e3, t3), this._initialize(); const i3 = []; @@ -88922,13 +95735,13 @@ ${e3.stack}`, n3 = [this].concat(i3); }), n3; } createItem(e3, t3) { - return (e3 = "object" == typeof e3 ? new d(e3) : e3).name = t3, e3.values = new o.default(e3.values), e3.synonyms = new o.default(e3.synonyms), e3.labels = new o.default(e3.labels), new u.default(e3, this.parentFlow); + return (e3 = "object" == typeof e3 ? new c(e3) : e3).name = t3, e3.values = new o.default(e3.values), e3.synonyms = new o.default(e3.synonyms), e3.labels = new o.default(e3.labels), new u.default(e3, this.parentFlow); } getItem(e3) { return r2.default.findWhere(this.items, { name: e3 }); } } - t2.DynamicSlotTypeList = c; + t2.DynamicSlotTypeList = d; }, 75700: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -88979,19 +95792,19 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 75755: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.schemaManager = t2.SchemaManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importStar(i2(73270)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(67377)), d = i2(61730), c = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(24032)), a = n2.__importStar(i2(73270)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(67377)), c = i2(61730), d = i2(27862); class p extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.worktypesView; } get dependencyType() { - return c.Schema; + return d.Schema; } constructor() { super(), this.topic = o.getTopic("SchemaManager"), this.apiCallSingle = a.getSchema, this.apiCallList = void 0, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [], this.className = "SchemaManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = null, this.securityError = true, this.suppressSearch = false, this.sortNotSupported = true, this.uiMetadataSectionName = "schema", this.useStartsWithKeywordForExactMatch = true, this.noApiCallList = true, this._initialize(); } _createItemViewModel(e3) { - return new d.SchemaViewModel(e3); + return new c.SchemaViewModel(e3); } get _networkModel() { return u.default; @@ -89012,6 +95825,30 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.isFeatureAvailable(o.default.orgAvailabilityMediaAudio); }; const n2 = i2(31635), r2 = n2.__importStar(i2(10798)), o = n2.__importDefault(i2(4648)); + }, 75778: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.strictFloatType = void 0; + const n2 = i2(25074), r2 = /^[-+]?[0-9]+e/; + function o(e3) { + return 0 === e3 && Number.NEGATIVE_INFINITY === 1 / e3; + } + const a = new RegExp("^(?:[-+]?(?:0|[1-9][0-9]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"); + t2.strictFloatType = (0, n2.defineScalarTag)("tag:yaml.org,2002:float", { implicit: true, implicitFirstChars: ["-", "+", ".", ..."0123456789"], resolve: (e3) => (function(e4) { + return (-1 === e4.indexOf("_") || -1 === e4.split(".")[0].split(/[eE]/)[0].replace(/^[-+]/, "").indexOf("_")) && !(!a.test(e4) || "_" === e4[e4.length - 1]); + })(e3) ? (function(e4) { + let t3 = e4.toLowerCase(); + const i3 = "-" === t3[0] ? -1 : 1; + return "+-".indexOf(t3[0]) >= 0 && (t3 = t3.slice(1)), ".inf" === t3 ? 1 === i3 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : ".nan" === t3 ? NaN : i3 * parseFloat(t3); + })(e3) : n2.NOT_RESOLVED, identify: function(e3) { + return "[object Number]" === Object.prototype.toString.call(e3) && (e3 % 1 != 0 || o(e3)); + }, represent: function(e3) { + if (isNaN(e3)) return ".nan"; + if (e3 === Number.POSITIVE_INFINITY) return ".inf"; + if (e3 === Number.NEGATIVE_INFINITY) return "-.inf"; + if (o(e3)) return "-0.0"; + const t3 = e3.toString(10); + return r2.test(t3) ? t3.replace("e", ".e") : t3; + } }); }, 75800: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -89094,8 +95931,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 75983: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(94225)), l = i2(69078), u = i2(67801), d = i2(18894), c = n2.__importDefault(i2(66978)), p = n2.__importDefault(i2(67336)), _ = i2(50474); - class h extends p.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(94225)), l = i2(69078), u = i2(67801), c = i2(18894), d = n2.__importStar(i2(98442)), p = n2.__importDefault(i2(66978)), _ = n2.__importDefault(i2(67336)), h = i2(50474); + class m extends _.default { constructor(e3) { super(e3), this._coreKnowledgeSettingsViewModel = e3; } @@ -89206,22 +96043,26 @@ ${e3.stack}`, n3 = [this].concat(i3); _setKnowledgeBaseByIdAsync(e3, t3, i3) { this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseId", e3), t3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", e3), i3, true); const n3 = this._coreKnowledgeSettingsViewModel.getAdditionalKnowledgeParams(); - return a.default.findItemByIdAsync(u.knowledgeBaseManager, t3, "knowledgeBaseId", n3).then((n4) => (this.logNote(`found the knowledge base named '${n4.name}' for the knowledge base ID of '${t3}'`), this._coreKnowledgeSettingsViewModel.knowledge.setValue(n4), s.default.executeCallback(this, e3, i3, this))); + return a.default.findItemByIdAsync(u.knowledgeBaseManager, t3, "knowledgeBaseId", n3).then((n4) => { + this.logNote(`found the knowledge base named '${n4.name}' for the knowledge base ID of '${t3}'`); + const r3 = d.getLangKnowledgeBaseLanguageTag(this._coreKnowledgeSettingsViewModel.parentFlow.defaultLanguageLCase); + return n4.coreLanguage && r3 && n4.coreLanguage.toLowerCase() !== r3.toLowerCase() && this.logWarning(`The knowledge base '${n4.name}' has core language '${n4.coreLanguage}' which does not match the flow's default language '${r3}'. This may cause unexpected behavior at runtime.`), this._coreKnowledgeSettingsViewModel.knowledge.setValue(n4), s.default.executeCallback(this, e3, i3, this); + }); } _setKnowledgeSettingByIdAsync(e3, t3, i3) { - return this._checkItemIsValidLiteralString(this._infoParm("knowledgeSettingId", e3), t3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", e3), i3, true), a.default.findItemByIdAsync(d.knowledgeSettingManager, t3, "knowledgeSettingId").then((n3) => (this.logNote(`found the knowledge setting named '${n3.name}' for the knowledge setting ID of '${t3}'`), this._coreKnowledgeSettingsViewModel.knowledge_v3.setValue(n3), s.default.executeCallback(this, e3, i3, this))); + return this._checkItemIsValidLiteralString(this._infoParm("knowledgeSettingId", e3), t3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", e3), i3, true), a.default.findItemByIdAsync(c.knowledgeSettingManager, t3, "knowledgeSettingId").then((n3) => (this.logNote(`found the knowledge setting named '${n3.name}' for the knowledge setting ID of '${t3}'`), this._coreKnowledgeSettingsViewModel.knowledge_v3.setValue(n3), s.default.executeCallback(this, e3, i3, this))); } setKnowledgeBaseByIdAsync(e3, t3) { return this._setKnowledgeBaseByIdAsync("setKnowledgeBaseByIdAsync", e3, t3); } setKnowledgeBaseByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseName", "setKnowledgeBaseByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setKnowledgeBaseByNameAsync"), t3, true), a.default.findItemByValueAsync(u.knowledgeBaseManager, e3, "knowledge base", "name", "name").then((i3) => (this.logNote(`Found partial info for the knowledge base named '${i3.name}' for the passed knowledge base name of '${e3}'. Getting full knowledge base details.`), c.default.addPromise(this._setKnowledgeBaseByIdAsync("setKnowledgeBaseByNameAsync", i3.id, t3), "setKnowledgeBaseByNameAsync"))); + return this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseName", "setKnowledgeBaseByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setKnowledgeBaseByNameAsync"), t3, true), a.default.findItemByValueAsync(u.knowledgeBaseManager, e3, "knowledge base", "name", "name").then((i3) => (this.logNote(`Found partial info for the knowledge base named '${i3.name}' for the passed knowledge base name of '${e3}'. Getting full knowledge base details.`), p.default.addPromise(this._setKnowledgeBaseByIdAsync("setKnowledgeBaseByNameAsync", i3.id, t3), "setKnowledgeBaseByNameAsync"))); } setKnowledgeSettingByIdAsync(e3, t3) { return this._setKnowledgeSettingByIdAsync("setKnowledgeSettingByIdAsync", e3, t3); } setKnowledgeSettingByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("knowledgeSettingName", "setKnowledgeSettingByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setKnowledgeSettingByNameAsync"), t3, true), a.default.findItemByValueAsync(d.knowledgeSettingManager, e3, "knowledge setting", "name", "name").then((i3) => (this.logNote(`Found partial info for the knowledge setting named '${i3.name}' for the passed knowledge setting name of '${e3}'. Getting full knowledge setting details.`), c.default.addPromise(this._setKnowledgeSettingByIdAsync("setKnowledgeSettingByNameAsync", i3.id, t3), "setKnowledgeSettingByNameAsync"))); + return this._checkItemIsValidLiteralString(this._infoParm("knowledgeSettingName", "setKnowledgeSettingByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setKnowledgeSettingByNameAsync"), t3, true), a.default.findItemByValueAsync(c.knowledgeSettingManager, e3, "knowledge setting", "name", "name").then((i3) => (this.logNote(`Found partial info for the knowledge setting named '${i3.name}' for the passed knowledge setting name of '${e3}'. Getting full knowledge setting details.`), p.default.addPromise(this._setKnowledgeSettingByIdAsync("setKnowledgeSettingByNameAsync", i3.id, t3), "setKnowledgeSettingByNameAsync"))); } _setWelcomeArticleByIdAsync(e3, t3, i3) { return this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentId", e3), t3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", e3), i3, true), this.knowledgeBaseId || this.logErrorAndThrow("a knowledge base must be set on this action before the welcome article document can be set"), a.default.findItemByIdAsync(l.knowledgeBaseDocumentManager, t3, "knowledgeBaseDocumentId", { knowledgeId: this.knowledgeBaseId }).then((n3) => (this.logNote(`found the knowledge base document named '${n3.name}' for the knowledge base document identifier of '${t3}'`), n3.knowledgeBase.id !== this.knowledgeBaseId && this.logErrorAndThrow(`cannot set welcome article '${n3.knowledgeBase.id}' because the document does not belong to the knowledge base with the id '${this.knowledgeBaseId}'`), this._coreKnowledgeSettingsViewModel.welcomeArticle.setValue(n3), s.default.executeCallback(this, e3, i3, this))); @@ -89230,7 +96071,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._setWelcomeArticleByIdAsync("setWelcomeArticleByIdAsync", e3, t3); } setWelcomeArticleByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentName", "setWelcomeArticleByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setWelcomeArticleByNameAsync"), t3, true), this.knowledgeBaseId || this.logErrorAndThrow("a knowledge base must be set on this action before the welcome article document can be set"), a.default.findItemByValueAsync(l.knowledgeBaseDocumentManager, e3, "knowledge base document", "name", "name", void 0, { knowledgeId: this.knowledgeBaseId }).then((i3) => (this.logNote(`Found partial info for the knowledge base document named '${i3.name}' for the passed knowledge base document name of '${e3}'. Getting full knowledge base document details.`), c.default.addPromise(this._setWelcomeArticleByIdAsync("setWelcomeArticleByNameAsync", i3.id, t3), "setWelcomeArticleByNameAsync"))); + return this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentName", "setWelcomeArticleByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setWelcomeArticleByNameAsync"), t3, true), this.knowledgeBaseId || this.logErrorAndThrow("a knowledge base must be set on this action before the welcome article document can be set"), a.default.findItemByValueAsync(l.knowledgeBaseDocumentManager, e3, "knowledge base document", "name", "name", void 0, { knowledgeId: this.knowledgeBaseId }).then((i3) => (this.logNote(`Found partial info for the knowledge base document named '${i3.name}' for the passed knowledge base document name of '${e3}'. Getting full knowledge base document details.`), p.default.addPromise(this._setWelcomeArticleByIdAsync("setWelcomeArticleByNameAsync", i3.id, t3), "setWelcomeArticleByNameAsync"))); } get knowledgeTargetTask() { if (r2.default.isUndefined(this._targetArchTask) && (this._targetArchTask = this._findTaskById(this._coreKnowledgeSettingsViewModel.knowledgeFollowupTaskId)), this._targetArchTask) return this._targetArchTask; @@ -89240,7 +96081,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (this._checkItem(t3, "task" !== this.knowledgePathMode.valueText, "the knowledgePathMode must be set to 'task' to set the task."), !e3) return this._targetArchTask = null, this.logNote("setting the knowledge task to null"), void this._coreKnowledgeSettingsViewModel.knowledgeFollowupTask.setReference(null); this._checkItem(t3, !e3 || !e3.isArchTask, "you cannot set the knowledge task to an object that is not an Architect task"); const i3 = this._coreKnowledgeSettingsViewModel.knowledgeFollowupTask.getInvalidReferenceReason(e3.coreTaskViewModel); - this._checkItem(this._infoPropSet("archTaskTarget", "knowledgeTargetTask"), !(0, _.isNullOrUndefined)(i3), `targetTask is not valid as the knowledge task, reason: ${i3}`), this._targetArchTask = e3, this.logNote("setting the knowledge task to " + e3.logStr), this._coreKnowledgeSettingsViewModel.knowledgeFollowupTask.setReference(e3.coreTaskViewModel); + this._checkItem(this._infoPropSet("archTaskTarget", "knowledgeTargetTask"), !(0, h.isNullOrUndefined)(i3), `targetTask is not valid as the knowledge task, reason: ${i3}`), this._targetArchTask = e3, this.logNote("setting the knowledge task to " + e3.logStr), this._coreKnowledgeSettingsViewModel.knowledgeFollowupTask.setReference(e3.coreTaskViewModel); } get knowledgeCustomTask() { if (r2.default.isUndefined(this._targetCustomTask) && (this._targetCustomTask = this._findTaskById(this._coreKnowledgeSettingsViewModel.knowledgeCustomHandlerTaskId)), this._targetCustomTask) return this._targetCustomTask; @@ -89250,7 +96091,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (this._checkItem(t3, "custom" !== this.knowledgeSettingsMode.valueText, "the knowledgeSettingsMode must be set to 'custom' to set the task."), !e3) return this._targetCustomTask = null, this.logNote("setting the knowledge custom task to null"), void this._coreKnowledgeSettingsViewModel.knowledgeCustomHandlerTask.setReference(null); this._checkItem(t3, !e3 || !e3.isArchTask, "you cannot set the knowledge custom task to an object that is not an Architect task"); const i3 = this._coreKnowledgeSettingsViewModel.knowledgeCustomHandlerTask.getInvalidReferenceReason(e3.coreTaskViewModel); - this._checkItem(this._infoPropSet("archTaskTarget", "knowledgeCustomTask"), !(0, _.isNullOrUndefined)(i3), `targetTask is not valid as the knowledge custom task, reason: ${i3}`), this._targetCustomTask = e3, this.logNote("setting the knowledge custom task to " + e3.logStr), this._coreKnowledgeSettingsViewModel.knowledgeCustomHandlerTask.setReference(e3.coreTaskViewModel); + this._checkItem(this._infoPropSet("archTaskTarget", "knowledgeCustomTask"), !(0, h.isNullOrUndefined)(i3), `targetTask is not valid as the knowledge custom task, reason: ${i3}`), this._targetCustomTask = e3, this.logNote("setting the knowledge custom task to " + e3.logStr), this._coreKnowledgeSettingsViewModel.knowledgeCustomHandlerTask.setReference(e3.coreTaskViewModel); } _findTaskById(e3) { const t3 = this._coreKnowledgeSettingsViewModel.parentFlow; @@ -89261,7 +96102,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return null; } } - t2.default = h; + t2.default = m; }, 75992: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -89444,21 +96285,21 @@ ${e3.stack}`, n3 = [this].concat(i3); }, ms: function(e3) { return 1 === e3 ? "\u062C\u0632\u0621 \u0645\u0646 \u0627\u0644\u062B\u0627\u0646\u064A\u0629" : "\u0623\u062C\u0632\u0627\u0621 \u0645\u0646 \u0627\u0644\u062B\u0627\u0646\u064A\u0629"; }, decimal: "," }, bg: { y: function(e3) { - return ["\u0433\u043E\u0434\u0438\u043D\u0438", "\u0433\u043E\u0434\u0438\u043D\u0430", "\u0433\u043E\u0434\u0438\u043D\u0438"][d(e3)]; + return ["\u0433\u043E\u0434\u0438\u043D\u0438", "\u0433\u043E\u0434\u0438\u043D\u0430", "\u0433\u043E\u0434\u0438\u043D\u0438"][c(e3)]; }, mo: function(e3) { - return ["\u043C\u0435\u0441\u0435\u0446\u0430", "\u043C\u0435\u0441\u0435\u0446", "\u043C\u0435\u0441\u0435\u0446\u0430"][d(e3)]; + return ["\u043C\u0435\u0441\u0435\u0446\u0430", "\u043C\u0435\u0441\u0435\u0446", "\u043C\u0435\u0441\u0435\u0446\u0430"][c(e3)]; }, w: function(e3) { - return ["\u0441\u0435\u0434\u043C\u0438\u0446\u0438", "\u0441\u0435\u0434\u043C\u0438\u0446\u0430", "\u0441\u0435\u0434\u043C\u0438\u0446\u0438"][d(e3)]; + return ["\u0441\u0435\u0434\u043C\u0438\u0446\u0438", "\u0441\u0435\u0434\u043C\u0438\u0446\u0430", "\u0441\u0435\u0434\u043C\u0438\u0446\u0438"][c(e3)]; }, d: function(e3) { - return ["\u0434\u043D\u0438", "\u0434\u0435\u043D", "\u0434\u043D\u0438"][d(e3)]; + return ["\u0434\u043D\u0438", "\u0434\u0435\u043D", "\u0434\u043D\u0438"][c(e3)]; }, h: function(e3) { - return ["\u0447\u0430\u0441\u0430", "\u0447\u0430\u0441", "\u0447\u0430\u0441\u0430"][d(e3)]; + return ["\u0447\u0430\u0441\u0430", "\u0447\u0430\u0441", "\u0447\u0430\u0441\u0430"][c(e3)]; }, m: function(e3) { - return ["\u043C\u0438\u043D\u0443\u0442\u0438", "\u043C\u0438\u043D\u0443\u0442\u0430", "\u043C\u0438\u043D\u0443\u0442\u0438"][d(e3)]; + return ["\u043C\u0438\u043D\u0443\u0442\u0438", "\u043C\u0438\u043D\u0443\u0442\u0430", "\u043C\u0438\u043D\u0443\u0442\u0438"][c(e3)]; }, s: function(e3) { - return ["\u0441\u0435\u043A\u0443\u043D\u0434\u0438", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][d(e3)]; + return ["\u0441\u0435\u043A\u0443\u043D\u0434\u0438", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][c(e3)]; }, ms: function(e3) { - return ["\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0438", "\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][d(e3)]; + return ["\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0438", "\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][c(e3)]; }, decimal: "," }, ca: { y: function(e3) { return "any" + (1 === e3 ? "" : "s"); }, mo: function(e3) { @@ -89476,21 +96317,21 @@ ${e3.stack}`, n3 = [this].concat(i3); }, ms: function(e3) { return "milisegon" + (1 === e3 ? "" : "s"); }, decimal: "," }, cs: { y: function(e3) { - return ["rok", "roku", "roky", "let"][c(e3)]; + return ["rok", "roku", "roky", "let"][d(e3)]; }, mo: function(e3) { - return ["m\u011Bs\xEDc", "m\u011Bs\xEDce", "m\u011Bs\xEDce", "m\u011Bs\xEDc\u016F"][c(e3)]; + return ["m\u011Bs\xEDc", "m\u011Bs\xEDce", "m\u011Bs\xEDce", "m\u011Bs\xEDc\u016F"][d(e3)]; }, w: function(e3) { - return ["t\xFDden", "t\xFDdne", "t\xFDdny", "t\xFDdn\u016F"][c(e3)]; + return ["t\xFDden", "t\xFDdne", "t\xFDdny", "t\xFDdn\u016F"][d(e3)]; }, d: function(e3) { - return ["den", "dne", "dny", "dn\xED"][c(e3)]; + return ["den", "dne", "dny", "dn\xED"][d(e3)]; }, h: function(e3) { - return ["hodina", "hodiny", "hodiny", "hodin"][c(e3)]; + return ["hodina", "hodiny", "hodiny", "hodin"][d(e3)]; }, m: function(e3) { - return ["minuta", "minuty", "minuty", "minut"][c(e3)]; + return ["minuta", "minuty", "minuty", "minut"][d(e3)]; }, s: function(e3) { - return ["sekunda", "sekundy", "sekundy", "sekund"][c(e3)]; + return ["sekunda", "sekundy", "sekundy", "sekund"][d(e3)]; }, ms: function(e3) { - return ["milisekunda", "milisekundy", "milisekundy", "milisekund"][c(e3)]; + return ["milisekunda", "milisekundy", "milisekundy", "milisekund"][d(e3)]; }, decimal: "," }, da: { y: "\xE5r", mo: function(e3) { return "m\xE5ned" + (1 === e3 ? "" : "er"); }, w: function(e3) { @@ -89704,37 +96545,37 @@ ${e3.stack}`, n3 = [this].concat(i3); }, ms: function(e3) { return "milissegundo" + (1 === e3 ? "" : "s"); }, decimal: "," }, ru: { y: function(e3) { - return ["\u043B\u0435\u0442", "\u0433\u043E\u0434", "\u0433\u043E\u0434\u0430"][d(e3)]; + return ["\u043B\u0435\u0442", "\u0433\u043E\u0434", "\u0433\u043E\u0434\u0430"][c(e3)]; }, mo: function(e3) { - return ["\u043C\u0435\u0441\u044F\u0446\u0435\u0432", "\u043C\u0435\u0441\u044F\u0446", "\u043C\u0435\u0441\u044F\u0446\u0430"][d(e3)]; + return ["\u043C\u0435\u0441\u044F\u0446\u0435\u0432", "\u043C\u0435\u0441\u044F\u0446", "\u043C\u0435\u0441\u044F\u0446\u0430"][c(e3)]; }, w: function(e3) { - return ["\u043D\u0435\u0434\u0435\u043B\u044C", "\u043D\u0435\u0434\u0435\u043B\u044F", "\u043D\u0435\u0434\u0435\u043B\u0438"][d(e3)]; + return ["\u043D\u0435\u0434\u0435\u043B\u044C", "\u043D\u0435\u0434\u0435\u043B\u044F", "\u043D\u0435\u0434\u0435\u043B\u0438"][c(e3)]; }, d: function(e3) { - return ["\u0434\u043D\u0435\u0439", "\u0434\u0435\u043D\u044C", "\u0434\u043D\u044F"][d(e3)]; + return ["\u0434\u043D\u0435\u0439", "\u0434\u0435\u043D\u044C", "\u0434\u043D\u044F"][c(e3)]; }, h: function(e3) { - return ["\u0447\u0430\u0441\u043E\u0432", "\u0447\u0430\u0441", "\u0447\u0430\u0441\u0430"][d(e3)]; + return ["\u0447\u0430\u0441\u043E\u0432", "\u0447\u0430\u0441", "\u0447\u0430\u0441\u0430"][c(e3)]; }, m: function(e3) { - return ["\u043C\u0438\u043D\u0443\u0442", "\u043C\u0438\u043D\u0443\u0442\u0430", "\u043C\u0438\u043D\u0443\u0442\u044B"][d(e3)]; + return ["\u043C\u0438\u043D\u0443\u0442", "\u043C\u0438\u043D\u0443\u0442\u0430", "\u043C\u0438\u043D\u0443\u0442\u044B"][c(e3)]; }, s: function(e3) { - return ["\u0441\u0435\u043A\u0443\u043D\u0434", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u044B"][d(e3)]; + return ["\u0441\u0435\u043A\u0443\u043D\u0434", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u044B"][c(e3)]; }, ms: function(e3) { - return ["\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434", "\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u044B"][d(e3)]; + return ["\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434", "\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u044B"][c(e3)]; }, decimal: "," }, uk: { y: function(e3) { - return ["\u0440\u043E\u043A\u0456\u0432", "\u0440\u0456\u043A", "\u0440\u043E\u043A\u0438"][d(e3)]; + return ["\u0440\u043E\u043A\u0456\u0432", "\u0440\u0456\u043A", "\u0440\u043E\u043A\u0438"][c(e3)]; }, mo: function(e3) { - return ["\u043C\u0456\u0441\u044F\u0446\u0456\u0432", "\u043C\u0456\u0441\u044F\u0446\u044C", "\u043C\u0456\u0441\u044F\u0446\u0456"][d(e3)]; + return ["\u043C\u0456\u0441\u044F\u0446\u0456\u0432", "\u043C\u0456\u0441\u044F\u0446\u044C", "\u043C\u0456\u0441\u044F\u0446\u0456"][c(e3)]; }, w: function(e3) { - return ["\u0442\u0438\u0436\u043D\u0456\u0432", "\u0442\u0438\u0436\u0434\u0435\u043D\u044C", "\u0442\u0438\u0436\u043D\u0456"][d(e3)]; + return ["\u0442\u0438\u0436\u043D\u0456\u0432", "\u0442\u0438\u0436\u0434\u0435\u043D\u044C", "\u0442\u0438\u0436\u043D\u0456"][c(e3)]; }, d: function(e3) { - return ["\u0434\u043D\u0456\u0432", "\u0434\u0435\u043D\u044C", "\u0434\u043D\u0456"][d(e3)]; + return ["\u0434\u043D\u0456\u0432", "\u0434\u0435\u043D\u044C", "\u0434\u043D\u0456"][c(e3)]; }, h: function(e3) { - return ["\u0433\u043E\u0434\u0438\u043D", "\u0433\u043E\u0434\u0438\u043D\u0430", "\u0433\u043E\u0434\u0438\u043D\u0438"][d(e3)]; + return ["\u0433\u043E\u0434\u0438\u043D", "\u0433\u043E\u0434\u0438\u043D\u0430", "\u0433\u043E\u0434\u0438\u043D\u0438"][c(e3)]; }, m: function(e3) { - return ["\u0445\u0432\u0438\u043B\u0438\u043D", "\u0445\u0432\u0438\u043B\u0438\u043D\u0430", "\u0445\u0432\u0438\u043B\u0438\u043D\u0438"][d(e3)]; + return ["\u0445\u0432\u0438\u043B\u0438\u043D", "\u0445\u0432\u0438\u043B\u0438\u043D\u0430", "\u0445\u0432\u0438\u043B\u0438\u043D\u0438"][c(e3)]; }, s: function(e3) { - return ["\u0441\u0435\u043A\u0443\u043D\u0434", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][d(e3)]; + return ["\u0441\u0435\u043A\u0443\u043D\u0434", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][c(e3)]; }, ms: function(e3) { - return ["\u043C\u0456\u043B\u0456\u0441\u0435\u043A\u0443\u043D\u0434", "\u043C\u0456\u043B\u0456\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0456\u043B\u0456\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][d(e3)]; + return ["\u043C\u0456\u043B\u0456\u0441\u0435\u043A\u0443\u043D\u0434", "\u043C\u0456\u043B\u0456\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0456\u043B\u0456\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][c(e3)]; }, decimal: "," }, ur: { y: "\u0633\u0627\u0644", mo: function(e3) { return 1 === e3 ? "\u0645\u06C1\u06CC\u0646\u06C1" : "\u0645\u06C1\u06CC\u0646\u06D2"; }, w: function(e3) { @@ -89742,21 +96583,21 @@ ${e3.stack}`, n3 = [this].concat(i3); }, d: "\u062F\u0646", h: function(e3) { return 1 === e3 ? "\u06AF\u06BE\u0646\u0679\u06C1" : "\u06AF\u06BE\u0646\u0679\u06D2"; }, m: "\u0645\u0646\u0679", s: "\u0633\u06CC\u06A9\u0646\u0688", ms: "\u0645\u0644\u06CC \u0633\u06CC\u06A9\u0646\u0688", decimal: "." }, sk: { y: function(e3) { - return ["rok", "roky", "roky", "rokov"][c(e3)]; + return ["rok", "roky", "roky", "rokov"][d(e3)]; }, mo: function(e3) { - return ["mesiac", "mesiace", "mesiace", "mesiacov"][c(e3)]; + return ["mesiac", "mesiace", "mesiace", "mesiacov"][d(e3)]; }, w: function(e3) { - return ["t\xFD\u017Ede\u0148", "t\xFD\u017Edne", "t\xFD\u017Edne", "t\xFD\u017Ed\u0148ov"][c(e3)]; + return ["t\xFD\u017Ede\u0148", "t\xFD\u017Edne", "t\xFD\u017Edne", "t\xFD\u017Ed\u0148ov"][d(e3)]; }, d: function(e3) { - return ["de\u0148", "dni", "dni", "dn\xED"][c(e3)]; + return ["de\u0148", "dni", "dni", "dn\xED"][d(e3)]; }, h: function(e3) { - return ["hodina", "hodiny", "hodiny", "hod\xEDn"][c(e3)]; + return ["hodina", "hodiny", "hodiny", "hod\xEDn"][d(e3)]; }, m: function(e3) { - return ["min\xFAta", "min\xFAty", "min\xFAty", "min\xFAt"][c(e3)]; + return ["min\xFAta", "min\xFAty", "min\xFAty", "min\xFAt"][d(e3)]; }, s: function(e3) { - return ["sekunda", "sekundy", "sekundy", "sek\xFAnd"][c(e3)]; + return ["sekunda", "sekundy", "sekundy", "sek\xFAnd"][d(e3)]; }, ms: function(e3) { - return ["milisekunda", "milisekundy", "milisekundy", "milisek\xFAnd"][c(e3)]; + return ["milisekunda", "milisekundy", "milisekundy", "milisek\xFAnd"][d(e3)]; }, decimal: "," }, sv: { y: "\xE5r", mo: function(e3) { return "m\xE5nad" + (1 === e3 ? "" : "er"); }, w: function(e3) { @@ -89779,16 +96620,16 @@ ${e3.stack}`, n3 = [this].concat(i3); e5 = Math.abs(e5); var a2 = t4.languages[t4.language] || r2[t4.language]; if (!a2) throw new Error("No language " + a2 + "."); - var l2, u2, d2, c2 = []; - for (i4 = 0, n3 = t4.units.length; i4 < n3; i4++) l2 = t4.units[i4], u2 = t4.unitMeasures[l2], d2 = i4 + 1 === n3 ? e5 / u2 : Math.floor(e5 / u2), c2.push({ unitCount: d2, unitName: l2 }), e5 -= d2 * u2; + var l2, u2, c2, d2 = []; + for (i4 = 0, n3 = t4.units.length; i4 < n3; i4++) l2 = t4.units[i4], u2 = t4.unitMeasures[l2], c2 = i4 + 1 === n3 ? e5 / u2 : Math.floor(e5 / u2), d2.push({ unitCount: c2, unitName: l2 }), e5 -= c2 * u2; var p2, _, h = 0; - for (i4 = 0; i4 < c2.length; i4++) if (c2[i4].unitCount) { + for (i4 = 0; i4 < d2.length; i4++) if (d2[i4].unitCount) { h = i4; break; } - if (t4.round) for (i4 = c2.length - 1; i4 >= 0 && ((o2 = c2[i4]).unitCount = Math.round(o2.unitCount), 0 !== i4); i4--) _ = c2[i4 - 1], p2 = t4.unitMeasures[_.unitName] / t4.unitMeasures[o2.unitName], (o2.unitCount % p2 === 0 || t4.largest && t4.largest - 1 < i4 - h) && (_.unitCount += o2.unitCount / p2, o2.unitCount = 0); + if (t4.round) for (i4 = d2.length - 1; i4 >= 0 && ((o2 = d2[i4]).unitCount = Math.round(o2.unitCount), 0 !== i4); i4--) _ = d2[i4 - 1], p2 = t4.unitMeasures[_.unitName] / t4.unitMeasures[o2.unitName], (o2.unitCount % p2 === 0 || t4.largest && t4.largest - 1 < i4 - h) && (_.unitCount += o2.unitCount / p2, o2.unitCount = 0); var m = []; - for (i4 = 0, c2.length; i4 < n3 && ((o2 = c2[i4]).unitCount && m.push(s(o2.unitCount, o2.unitName, a2, t4)), m.length !== t4.largest); i4++) ; + for (i4 = 0, d2.length; i4 < n3 && ((o2 = d2[i4]).unitCount && m.push(s(o2.unitCount, o2.unitName, a2, t4)), m.length !== t4.largest); i4++) ; return m.length ? t4.conjunction && 1 !== m.length ? 2 === m.length ? m.join(t4.conjunction) : m.length > 2 ? m.slice(0, -1).join(t4.delimiter) + (t4.serialComma ? "," : "") + t4.conjunction + m.slice(-1) : void 0 : m.join(t4.delimiter) : s(0, t4.units[t4.units.length - 1], a2, t4); })(e4, l({}, t3, i3 || {})); }; @@ -89808,10 +96649,10 @@ ${e3.stack}`, n3 = [this].concat(i3); function u(e3) { return 1 === e3 ? 0 : Math.floor(e3) !== e3 ? 1 : e3 % 10 >= 2 && e3 % 10 <= 4 && !(e3 % 100 > 10 && e3 % 100 < 20) ? 2 : 3; } - function d(e3) { + function c(e3) { return Math.floor(e3) !== e3 ? 2 : e3 % 100 >= 5 && e3 % 100 <= 20 || e3 % 10 >= 5 && e3 % 10 <= 9 || e3 % 10 == 0 ? 0 : e3 % 10 == 1 ? 1 : e3 > 1 ? 2 : 0; } - function c(e3) { + function d(e3) { return 1 === e3 ? 0 : Math.floor(e3) !== e3 ? 1 : e3 % 10 >= 2 && e3 % 10 <= 4 && e3 % 100 < 10 ? 2 : 3; } function p(e3) { @@ -89853,10 +96694,10 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 76155: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(62829)), s = n2.__importStar(i2(58380)), l = n2.__importStar(i2(24032)), u = n2.__importStar(i2(48565)), d = n2.__importStar(i2(14187)), c = i2(1115), p = n2.__importDefault(i2(68460)), _ = n2.__importDefault(i2(73198)), h = i2(19384), m = i2(30801), g = i2(30801), f = i2(80295), T = i2(26847), y = i2(55909), S = i2(33951), A = i2(17604), N = n2.__importDefault(i2(41510)), O = n2.__importDefault(i2(22465)), I = n2.__importDefault(i2(22917)), v = i2(47957), C = r2.default.invert(T.outputIds), b = l.getTopic("FlowElementWithNodeInformation"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(62829)), s = n2.__importStar(i2(58380)), l = n2.__importStar(i2(24032)), u = n2.__importStar(i2(48565)), c = n2.__importStar(i2(14187)), d = i2(1115), p = n2.__importDefault(i2(68460)), _ = n2.__importDefault(i2(73198)), h = i2(19384), m = i2(30801), g = i2(30801), f = i2(80295), T = i2(26847), y = i2(55909), S = i2(33951), A = i2(17604), N = n2.__importDefault(i2(41510)), v = n2.__importDefault(i2(22465)), O = n2.__importDefault(i2(22917)), I = i2(47957), C = r2.default.invert(T.outputIds), b = l.getTopic("FlowElementWithNodeInformation"); class E extends p.default { constructor(e3, t3) { - super(e3, t3), this._nameStringFacet = O.default.createMinMaxLength(void 0, _.default.maxActionNameLength), this.characterToReplace = /* @__PURE__ */ new Map([["[", "_LBRACKET_"], ["#", "_POUND_"], ["]", "_RBRACKET_"], ["/", "_SLASH_"], ["~", "_TILDE_"]]), (0, f.makeUnenumerable)(this, "_model"), S.ParameterValidator.expectFlowViewModel(e3, () => y.ParameterInfo.createConstructorParameter(this.className, "parentFlowViewModel")), this.updateTraceTopic(); + super(e3, t3), this._nameStringFacet = v.default.createMinMaxLength(void 0, _.default.maxActionNameLength), this.characterToReplace = /* @__PURE__ */ new Map([["[", "_LBRACKET_"], ["#", "_POUND_"], ["]", "_RBRACKET_"], ["/", "_SLASH_"], ["~", "_TILDE_"]]), (0, f.makeUnenumerable)(this, "_model"), S.ParameterValidator.expectFlowViewModel(e3, () => y.ParameterInfo.createConstructorParameter(this.className, "parentFlowViewModel")), this.updateTraceTopic(); } get amObjectEventEmitter() { return true; @@ -89885,8 +96726,8 @@ ${e3.stack}`, n3 = [this].concat(i3); if (e3) { const t4 = this._nameStringFacet._facetValidateValue(e3); !t4 || t4.isValid ? i3 = void 0 : (i3 = t4.message, n3 = true); - } else i3 = v.errors.noName; - return t3 && this.nameFacetError && t3.addError(this, n3 ? (0, A.sprintf)(N.default.facets.errorWithExpressionLabel, i3, v.generic.name) : i3), i3; + } else i3 = I.errors.noName; + return t3 && this.nameFacetError && t3.addError(this, n3 ? (0, A.sprintf)(N.default.facets.errorWithExpressionLabel, i3, I.generic.name) : i3), i3; } getParentingFlowElementByIdOrNodeInfoId(e3, t3) { let i3 = t3 ? this.parent : this; @@ -89912,7 +96753,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.localVariableScope; } get localVariableScope() { - return d.scopes.flow; + return c.scopes.flow; } get builtInVariableScopes() { return this.parentFlow.builtInVariableScopes; @@ -90013,7 +96854,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const s2 = {}; return r2.default.each(a2, (e4, t4) => { e4 && r2.default.isActualNumber(e4.exportOrder) && (s2[e4.propertyName || t4] = e4.exportOrder); - }), n3 = I.default.sortObjectByPropertyMap(n3, r2.default.extend(this.yamlPropertyOrderMap, s2)), r2.default.tryWrapObject(n3, this.wrappedYamlName); + }), n3 = O.default.sortObjectByPropertyMap(n3, r2.default.extend(this.yamlPropertyOrderMap, s2)), r2.default.tryWrapObject(n3, this.wrappedYamlName); } getYamlOutputId(e3) { return C[e3]; @@ -90034,7 +96875,7 @@ ${e3.stack}`, n3 = [this].concat(i3); e3 && (this._model = e3, this.updateTraceTopic(), h.flowElementRegistrationService.registerItem(this)); } _preDestroy() { - super._preDestroy(), u.removeNode(this), (0, c.clearIssues)(this), h.flowElementRegistrationService.unregisterItem(this); + super._preDestroy(), u.removeNode(this), (0, d.clearIssues)(this), h.flowElementRegistrationService.unregisterItem(this); } toString() { var e3, t3; @@ -90135,25 +96976,25 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = r2; }, 76218: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importStar(i2(63352)), o = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(73198)), l = i2(80428), u = n2.__importDefault(i2(97891)), d = i2(12457), c = i2(81516), p = i2(24383), _ = i2(47957); - class h extends a.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(63352)), o = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(73198)), l = i2(80428), u = n2.__importDefault(i2(97891)), c = i2(12457), d = i2(81516), p = i2(24383), _ = n2.__importDefault(i2(4648)), h = i2(47957); + class m extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3), this.setTargetAddressType(); } getDetails() { - return this.targetAddress ? new d.ActionDetails([_.completeSurvey.targetAddressLabel], [this.targetAddress.text]) : null; + return this.targetAddress ? new c.ActionDetails([h.completeSurvey.targetAddressLabel], [this.targetAddress.text]) : null; } static get managedProperties() { - return [{ label: _.completeSurvey.targetAddressLabel, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("completeSurveyTargetAddressExpression").setDescriptionInfo(_.completeSurvey.targetAddressLabel, _.completeSurvey.targetAddressDescription).facets.setMinLength(1).setTrim(true)), property: "targetAddress", type: l.expressionTypeNames.string }, { label: _.completeSurvey.targetAddressTypeLabel, options: c.ExpressionTypeStringOptions.create((e3) => e3.facets.setMinLength(1).setTrim(true)), property: "targetAddressType", type: l.expressionTypeNames.string }, { label: _.completeSurvey.inviteSubjectLabel, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("completeSurveyInviteSubjectExpression").setDescriptionInfo(_.completeSurvey.inviteSubjectLabel, _.completeSurvey.inviteSubjectDescription).facets.setMinLength(1).setTrim(true).setMaxLength(s.default.maxEmailSubjectLength)), property: "inviteSubject", type: l.expressionTypeNames.string }, { label: _.completeSurvey.inviteBodyLabel, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("completeSurveyInviteBodyExpression").setDefaultToExpression(true).setDescriptionInfo(_.completeSurvey.inviteBodyLabel, _.completeSurvey.inviteBodyDescription).facets.setMinLength(1).setTrim(true)), property: "inviteBody", type: l.expressionTypeNames.string }, { label: _.completeSurvey.reminderSubject.label, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("completeSurveyReminderSubjectExpression").setDescriptionInfo(_.completeSurvey.reminderSubject.label, _.completeSurvey.reminderSubject.description).setIsOptional(true).setModeNoValueRuntimeEvaluationStr(_.completeSurvey.reminderSubject.noValue.runtimeStr).setModeNoValueSelectionLabel(_.completeSurvey.reminderSubject.noValue.selectionLabel).facets.setMinLength(1).setTrim(true)), property: "reminderSubject", type: l.expressionTypeNames.string }, { label: _.completeSurvey.reminderBody.label, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("completeSurveyReminderBodyExpression").setDescriptionInfo(_.completeSurvey.reminderBody.label, _.completeSurvey.reminderBody.description).setIsOptional(true).setModeNoValueSelectionLabel(_.completeSurvey.reminderBody.noValue.selectionLabel).setModeNoValueRuntimeEvaluationStr(_.completeSurvey.reminderBody.noValue.runtimeStr).facets.setMinLength(1).setTrim(true)), property: "reminderBody", type: l.expressionTypeNames.string }]; + return [{ label: h.completeSurvey.targetAddressLabel, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("completeSurveyTargetAddressExpression").setDescriptionInfo(h.completeSurvey.targetAddressLabel, h.completeSurvey.targetAddressDescription).facets.setMinLength(1).setTrim(true)), property: "targetAddress", type: l.expressionTypeNames.string }, { label: h.completeSurvey.targetAddressTypeLabel, options: d.ExpressionTypeStringOptions.create((e3) => e3.facets.setMinLength(1).setTrim(true)), property: "targetAddressType", type: l.expressionTypeNames.string }, { label: h.completeSurvey.inviteSubjectLabel, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("completeSurveyInviteSubjectExpression").setDescriptionInfo(h.completeSurvey.inviteSubjectLabel, h.completeSurvey.inviteSubjectDescription).facets.setMinLength(1).setTrim(true).setMaxLength(s.default.maxEmailSubjectLength)), property: "inviteSubject", type: l.expressionTypeNames.string }, { label: h.completeSurvey.inviteBodyLabel, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("completeSurveyInviteBodyExpression").setDefaultToExpression(true).setDescriptionInfo(h.completeSurvey.inviteBodyLabel, h.completeSurvey.inviteBodyDescription).facets.setMinLength(1).setTrim(true)), property: "inviteBody", type: l.expressionTypeNames.string }, { label: h.completeSurvey.reminderSubject.label, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("completeSurveyReminderSubjectExpression").setDescriptionInfo(h.completeSurvey.reminderSubject.label, h.completeSurvey.reminderSubject.description).setIsOptional(true).setModeNoValueRuntimeEvaluationStr(h.completeSurvey.reminderSubject.noValue.runtimeStr).setModeNoValueSelectionLabel(h.completeSurvey.reminderSubject.noValue.selectionLabel).facets.setMinLength(1).setTrim(true)), property: "reminderSubject", type: l.expressionTypeNames.string }, { label: h.completeSurvey.reminderBody.label, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("completeSurveyReminderBodyExpression").setDescriptionInfo(h.completeSurvey.reminderBody.label, h.completeSurvey.reminderBody.description).setIsOptional(true).setModeNoValueSelectionLabel(h.completeSurvey.reminderBody.noValue.selectionLabel).setModeNoValueRuntimeEvaluationStr(h.completeSurvey.reminderBody.noValue.runtimeStr).facets.setMinLength(1).setTrim(true)), property: "reminderBody", type: l.expressionTypeNames.string }]; } setTargetAddressType() { this.targetAddressType.outOfService = true, this.targetAddressType.setAsLiteral("Email"); } validate(e3) { - super.validate(e3), (this.reminderSubject.mode === r2.noValue && this.reminderBody.mode !== r2.noValue || this.reminderSubject.mode !== r2.noValue && this.reminderBody.mode === r2.noValue) && e3.addError(this, _.completeSurvey.validation.reminderMustHaveSubjectAndBody); + super.validate(e3), (this.reminderSubject.mode === r2.noValue && this.reminderBody.mode !== r2.noValue || this.reminderSubject.mode !== r2.noValue && this.reminderBody.mode === r2.noValue) && e3.addError(this, h.completeSurvey.validation.reminderMustHaveSubjectAndBody); } } - h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: o.helpTopics.actions.completeSurvey, modelClass: i2(5138), name: _.actions.completeSurvey, scriptingName: "ArchActionCompleteSurveyInvite", termination: p.terminatesFlow }), t2.A = h; + m.info = u.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: o.helpTopics.actions.completeSurvey, modelClass: i2(5138), name: h.actions.completeSurvey, scriptingName: "ArchActionCompleteSurveyInvite", termination: p.terminatesFlow, modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } } }), t2.A = m; }, 76319: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.CommunicationType = void 0; @@ -90185,7 +97026,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const n2 = i2(7635), r2 = i2(59449), o = i2(25054), a = i2(76171), s = i2(21601), l = { ArchDefinitionAction: n2.ArchDefinitionAction, ArchDefinitionFlow: r2.ArchDefinitionFlow, ArchDefinitionMenu: o.ArchDefinitionMenu, ArchDefinitionValue: a.ArchDefinitionValue, ArchDefinitionVariable: s.ArchDefinitionVariable }; t2.default = l; }, 76395: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(25088), o = i2(45421), a = i2(13126), s = i2(85160), l = i2(27359), u = i2(92330), d = "rawJsonToModels", c = "pasteReIdOrRename", p = "performPasteResolveOldToNewValues", _ = "modelsToViewModels"; + const n2 = i2(92140), r2 = i2(25088), o = i2(45421), a = i2(13126), s = i2(85160), l = i2(27359), u = i2(92330), c = "rawJsonToModels", d = "pasteReIdOrRename", p = "performPasteResolveOldToNewValues", _ = "modelsToViewModels"; class h extends r2 { constructor(e3, t3) { super(e3, t3); @@ -90240,7 +97081,7 @@ ${e3.stack}`, n3 = [this].concat(i3); _iterateModelsAndProcess(e3, t3, i3, r3, o2, a2) { let h2, m; const g = t3.menuChoice, f = t3.menuChoiceModel, T = t3.menu, y = t3.menuModel, S = t3.task, A = t3.taskModel; - let N, O, I; + let N, v, O; if (!n2.isUndefined(y) && r3 === _) { this.pushLogHeader("menu - name " + this._getNameAndIdStr(y)); try { @@ -90254,7 +97095,7 @@ ${e3.stack}`, n3 = [this].concat(i3); try { this.log("Adding view model for task " + this._getNameAndIdStr(A) + " to flow tasks that currently has " + e3.destFlowViewModel.tasks.length + " task(s)."); const t4 = this._pasteAddTaskViewModelForTaskModel(e3, A); - a2 && (this.pastedMenuOrTaskOrActionViewModel = t4), O = t4; + a2 && (this.pastedMenuOrTaskOrActionViewModel = t4), v = t4; } finally { this.popLogHeader(); } @@ -90265,17 +97106,17 @@ ${e3.stack}`, n3 = [this].concat(i3); this.pushLogHeader("menu choice - name " + this._getNameAndIdStr(g)); try { switch (r3) { - case d: + case c: t3.menuChoiceModel = new l(g); break; - case c: + case d: f.pasteReIdOrRename(e3.clipboardObject); break; case p: f.pasteResolveOldToNewValues(e3.clipboardObject); break; case _: - a2 && (this.shouldPasteAsReusableMenu(e3) || this.shouldPasteAsReusableTask(e3) || this.shouldPasteAsDownConvertAction(e3)) ? this.shouldPasteAsDownConvertAction(e3) && (h2 = this._pasteAddActionViewModelForActionModel(e3, o2, f.action, e3.destViewModel.isAction ? e3.destViewModel : void 0)) : h2 = this._pasteAddMenuChoiceViewModelForMenuChoiceModel(e3, o2, f), a2 && !this.pastedMenuOrTaskOrActionViewModel && (this.pastedMenuOrTaskOrActionViewModel = h2), I = h2; + a2 && (this.shouldPasteAsReusableMenu(e3) || this.shouldPasteAsReusableTask(e3) || this.shouldPasteAsDownConvertAction(e3)) ? this.shouldPasteAsDownConvertAction(e3) && (h2 = this._pasteAddActionViewModelForActionModel(e3, o2, f.action, e3.destViewModel.isAction ? e3.destViewModel : void 0)) : h2 = this._pasteAddMenuChoiceViewModelForMenuChoiceModel(e3, o2, f), a2 && !this.pastedMenuOrTaskOrActionViewModel && (this.pastedMenuOrTaskOrActionViewModel = h2), O = h2; } } finally { this.popLogHeader(); @@ -90285,10 +97126,10 @@ ${e3.stack}`, n3 = [this].concat(i3); this.pushLogHeader("menu - name " + this._getNameAndIdStr(T)); try { switch (r3) { - case d: + case c: t3.menuModel = new s(T); break; - case c: + case d: y.pasteReIdOrRename(e3.clipboardObject); break; case p: @@ -90302,10 +97143,10 @@ ${e3.stack}`, n3 = [this].concat(i3); this.pushLogHeader("task - name " + this._getNameAndIdStr(S)); try { switch (r3) { - case d: + case c: t3.taskModel = new u(S); break; - case c: + case d: A.pasteReIdOrRename(e3.clipboardObject); break; case p: @@ -90315,7 +97156,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this.popLogHeader(); } } - if (a2 && !this._destUpconvertMenuChoiceViewModel && (I || N || O) && e3.additionalInfo && e3.additionalInfo.addNotableObject(I || N || O), n2.isArray(t3.menuChoices)) for (let i4 = 0; i4 < t3.menuChoices.length; i4++) { + if (a2 && !this._destUpconvertMenuChoiceViewModel && (O || N || v) && e3.additionalInfo && e3.additionalInfo.addNotableObject(O || N || v), n2.isArray(t3.menuChoices)) for (let i4 = 0; i4 < t3.menuChoices.length; i4++) { const n3 = this._iterateModelsAndProcess(e3, t3.menuChoices[i4], true, r3, h2 || m, false); if (n3.isFailure) return n3; } @@ -90328,8 +97169,8 @@ ${e3.stack}`, n3 = [this].concat(i3); let t3; try { const i3 = this.clipboardContentType === a.menuChoice; - if (t3 = this._iterateModelsAndProcess(e3, this._pasteJsonObjects.content, i3, d), t3.isFailure) return t3; if (t3 = this._iterateModelsAndProcess(e3, this._pasteJsonObjects.content, i3, c), t3.isFailure) return t3; + if (t3 = this._iterateModelsAndProcess(e3, this._pasteJsonObjects.content, i3, d), t3.isFailure) return t3; if (t3 = this._iterateModelsAndProcess(e3, this._pasteJsonObjects.content, i3, p), t3.isFailure) return t3; t3 = this._iterateModelsAndProcess(e3, this._pasteJsonObjects.content, i3, _, e3.destViewModel, true), this._destUpconvertMenuChoiceViewModel && e3.additionalInfo && e3.additionalInfo.addNotableObject(this._destUpconvertMenuChoiceViewModel); } catch (e4) { @@ -90417,7 +97258,7 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(77862)), o = i2(12179), a = n2.__importDefault(i2(27377)), s = n2.__importDefault(i2(4406)), l = i2(47957), u = "learningSettings"; - class d extends a.default { + class c extends a.default { get id() { return u; } @@ -90452,7 +97293,106 @@ ${e3.stack}`, n3 = [this].concat(i3); super._destroy(); } } - t2.default = d; + t2.default = c; + }, 76565: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ChangeSetResults = void 0; + const n2 = i2(31635), r2 = i2(79364), o = n2.__importDefault(i2(92140)), a = i2(65782), s = i2(19206); + t2.ChangeSetResults = class { + constructor() { + this.id = o.default.uniqueId("crResults"), this.isUndoRedo = false, this._byPath = /* @__PURE__ */ new Map(), this._byRefId = /* @__PURE__ */ new Map(), this._results = [], this._results$ = new r2.Subject(), this.results$ = this._results$.asObservable(), this._lookupStats = /* @__PURE__ */ new Map(); + } + get sourceIconName() { + return this.sourceEntityType === s.changeSetEntityType.copilot ? "fa/wand-magic-sparkles-regular" : "settings"; + } + recordLookupRegistered(e3) { + const t3 = this._getOrCreateLookupStats(e3); + t3.total++, t3.inProgress++; + } + recordLookupResolved(e3) { + const t3 = this._getOrCreateLookupStats(e3); + t3.succeeded++, t3.inProgress--; + } + recordLookupFailed(e3) { + const t3 = this._getOrCreateLookupStats(e3); + t3.failed++, t3.inProgress--; + } + get lookupStats() { + return this._lookupStats; + } + _getOrCreateLookupStats(e3) { + let t3 = this._lookupStats.get(e3); + return t3 || (t3 = { total: 0, succeeded: 0, failed: 0, inProgress: 0 }, this._lookupStats.set(e3, t3)), t3; + } + get results() { + return this._results; + } + addResult(e3) { + this._results.push(e3), this._byPath.set(e3.path, e3), void 0 !== e3.refId && this._byRefId.set(e3.refId, e3), this._results$.next(e3); + } + getResultByPath(e3) { + return this._byPath.get(e3); + } + getResultByRefId(e3) { + return this._byRefId.get(e3); + } + mergeFrom(e3) { + for (const t3 of e3.results) this.addResult(t3); + } + getSummaryInfo(e3 = false, t3) { + const i3 = [], n3 = [], r3 = [], o2 = { action: [], task: [], state: [], menu: [], menuChoice: [], variable: [] }, s2 = { action: [], task: [], state: [], menu: [], menuChoice: [], variable: [] }, l = { action: [], task: [], state: [], menu: [], menuChoice: [], variable: [] }, u = {}, c = {}; + for (const e4 of this._results) { + if (e4.added) { + for (const [t4, n4] of Object.entries(e4.added)) if (null == n4 ? void 0 : n4.id) { + const e5 = Object.assign({ id: n4.id, name: n4.name, trackingId: n4.trackingId }, "variable" === t4 && n4.containerName ? { containerName: n4.containerName } : {}); + i3.push(e5), (o2[t4] || (o2[t4] = [])).push(e5), "action" === t4 && n4.actionTypeName && (u[n4.actionTypeName] || (u[n4.actionTypeName] = [])).push(e5); + } + } + if (e4.deleted) { + for (const [t4, i4] of Object.entries(e4.deleted)) if (null == i4 ? void 0 : i4.id) { + const e5 = Object.assign({ id: i4.id, name: i4.name, trackingId: i4.trackingId }, "variable" === t4 && i4.containerName ? { containerName: i4.containerName } : {}); + n3.push(e5), (s2[t4] || (s2[t4] = [])).push(e5); + } + } + if (e4.updated) { + for (const [t4, i4] of Object.entries(e4.updated)) if (null == i4 ? void 0 : i4.id) { + const e5 = { id: i4.id, name: i4.name, trackingId: i4.trackingId }; + r3.push(e5), (l[t4] || (l[t4] = [])).push(e5), "action" === t4 && i4.actionTypeName && (c[i4.actionTypeName] || (c[i4.actionTypeName] = [])).push(e5); + } + } + } + if (e3) { + o2.variable = (0, a.applyVariableDisplayNamesToOperationObjects)(o2.variable), s2.variable = (0, a.applyVariableDisplayNamesToOperationObjects)(s2.variable), l.variable = (0, a.applyVariableDisplayNamesToOperationObjects)(l.variable); + const e4 = new Map(o2.variable.map((e5) => [e5.id, e5.name])); + for (const t5 of i3) { + const i4 = e4.get(t5.id); + void 0 !== i4 && (t5.name = i4); + } + const t4 = new Map(s2.variable.map((e5) => [e5.id, e5.name])); + for (const e5 of n3) { + const i4 = t4.get(e5.id); + void 0 !== i4 && (e5.name = i4); + } + } + const d = (t4) => { + const i4 = { count: t4.length }; + return e3 && (i4.objects = t4), i4; + }, p = (e4) => ({ created: d(o2[e4] || []), deleted: d(s2[e4] || []), updated: d(l[e4] || []) }), _ = Object.assign(Object.assign({}, p("action")), { actions: {} }); + for (const [e4, i4] of Object.entries(u)) { + const n4 = (null == t3 ? void 0 : t3[e4]) || e4, r4 = { created: d(i4), deleted: d([]), updated: d(c[e4] || []), displayName: n4 }; + _.actions[e4] = r4; + } + for (const [e4, i4] of Object.entries(c)) if (!_.actions[e4]) { + const n4 = (null == t3 ? void 0 : t3[e4]) || e4; + _.actions[e4] = { created: d([]), deleted: d([]), updated: d(i4), displayName: n4 }; + } + const h = { created: d(i3), deleted: d(n3), updated: d(r3), objects: { allTasks: p("task"), allStates: p("state"), allMenus: p("menu"), allMenuChoices: p("menuChoice"), allVariables: p("variable"), allActions: _ } }; + let m = 0, g = 0, f = 0, T = 0; + const y = {}; + for (const [e4, t4] of this._lookupStats) m += t4.total, g += t4.succeeded, f += t4.failed, T += t4.inProgress, y[e4] = { total: t4.total, succeeded: t4.succeeded, failed: t4.failed, inProgress: t4.inProgress }; + return { allObjects: h, allLookups: { total: m, succeeded: g, failed: f, inProgress: T, lookups: y } }; + } + }; }, 76573: (e2, t2, i2) => { const n2 = i2(5410), { initializeFlowOutcomeActionType: r2 } = i2(30801); function o() { @@ -90521,8 +97461,8 @@ ${e3.stack}`, n3 = [this].concat(i3); e2.exports = { askCommon: { invalidInputReceived: "\u041D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435.", noInputReceived: "\u0412\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u043D\u0435 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u044B." }, askForBoolean: { noInput: '\u0415\u0441\u043B\u0438 \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C, \u0441\u043A\u0430\u0436\u0438\u0442\u0435 "\u0434\u0430". \u0415\u0441\u043B\u0438 \u043D\u0435 \u0445\u043E\u0442\u0438\u0442\u0435, \u0441\u043A\u0430\u0436\u0438\u0442\u0435 "\u043D\u0435\u0442".', noMatch: '\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043A\u0430\u0436\u0438\u0442\u0435 "\u0414\u0430" \u0438\u043B\u0438 "\u041D\u0435\u0442". \u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C?', question: "\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C?", noInputDigitalBot: '\u0415\u0441\u043B\u0438 \u0445\u043E\u0442\u0438\u0442\u0435 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 "\u0414\u0430". \u0415\u0441\u043B\u0438 \u043D\u0435 \u0445\u043E\u0442\u0438\u0442\u0435, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 "\u041D\u0435\u0442".', noMatchDigitalBot: '\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 "\u0414\u0430" \u0438\u043B\u0438 "\u041D\u0435\u0442". \u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C?' }, askForIntent: { noInput: '\u041F\u0440\u043E\u0438\u0437\u043D\u0435\u0441\u0438\u0442\u0435 \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435, \u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u043E\u043F\u0438\u0441\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0448 \u0437\u0430\u043F\u0440\u043E\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043E\u0441\u0442\u0430\u0442\u043E\u043A \u043D\u0430 \u0441\u0447\u0435\u0442\u0435"', noMatch: "\u0421\u043A\u0430\u0436\u0438\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437, \u0447\u0442\u043E \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u0434\u0435\u043B\u0430\u0442\u044C.", question: "\u0427\u0442\u043E \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u0434\u0435\u043B\u0430\u0442\u044C?", noInputDigitalBot: '\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435, \u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u043E\u043F\u0438\u0441\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0448 \u0437\u0430\u043F\u0440\u043E\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043E\u0441\u0442\u0430\u0442\u043E\u043A \u043D\u0430 \u0441\u0447\u0435\u0442\u0435"' }, askForSlot: { askFor: "\u0423\u0437\u043D\u0430\u0442\u044C %1$s", noInput: "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u043E\u0438\u0437\u043D\u0435\u0441\u0438\u0442\u0435 \u0438\u043B\u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 (\u0443\u043A\u0430\u0436\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0438\u043C\u044F \u0441\u043B\u043E\u0442\u0430).", noInputWithSlot: "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u043E\u0438\u0437\u043D\u0435\u0441\u0438\u0442\u0435 \u0438\u043B\u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 %1$s.", noMatch: "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u043E\u0431\u0449\u0438\u0442\u0435 (\u0443\u043A\u0430\u0436\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0438\u043C\u044F \u0441\u043B\u043E\u0442\u0430) \u0435\u0449\u0435 \u0440\u0430\u0437.", noMatchWithSlot: "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u043E\u0431\u0449\u0438\u0442\u0435 %1$s \u0435\u0449\u0435 \u0440\u0430\u0437.", question: "\u041D\u0430\u0437\u043E\u0432\u0438\u0442\u0435 (\u0443\u043A\u0430\u0436\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0438\u043C\u044F \u0441\u043B\u043E\u0442\u0430).", questionWithSlot: "\u041D\u0430\u0437\u043E\u0432\u0438\u0442\u0435 %1$s.", pleaseEnterSlotNameHere: "(\u0443\u043A\u0430\u0436\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0438\u043C\u044F \u0441\u043B\u043E\u0442\u0430)", noInputDigitalBot: "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 (\u0443\u043A\u0430\u0436\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0438\u043C\u044F \u0441\u043B\u043E\u0442\u0430).", noInputWithSlotDigitalBot: "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 %1$s.", continuationPromptWithSlot: "\u041D\u0430 \u0434\u0430\u043D\u043D\u044B\u0439 \u043C\u043E\u043C\u0435\u043D\u0442 \u0443 \u043C\u0435\u043D\u044F {{Slot.%1$s}} \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0435." }, askForNextSlot: { noInput: '\u0415\u0441\u043B\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u0435\u0449\u0435 \u043E\u0434\u0438\u043D \u0437\u0430\u043F\u0440\u043E\u0441, \u0441\u043A\u0430\u0436\u0438\u0442\u0435 "\u0434\u0430". \u0427\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0437\u0432\u043E\u043D\u043E\u043A, \u0441\u043A\u0430\u0436\u0438\u0442\u0435 "\u043D\u0435\u0442".', noMatch: '\u0415\u0441\u043B\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u0435\u0449\u0435 \u043E\u0434\u0438\u043D \u0437\u0430\u043F\u0440\u043E\u0441, \u0441\u043A\u0430\u0436\u0438\u0442\u0435 "\u0414\u0430". \u0427\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0441\u0435\u0430\u043D\u0441, \u0441\u043A\u0430\u0436\u0438\u0442\u0435 "\u041D\u0435\u0442".', question: "\u0427\u0435\u043C \u0435\u0449\u0435 \u044F \u043C\u043E\u0433\u0443 \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C?", noInputDigitalBot: '\u0415\u0441\u043B\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u0435\u0449\u0435 \u043E\u0434\u0438\u043D \u0437\u0430\u043F\u0440\u043E\u0441, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 "\u0414\u0430". \u0427\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0441\u0435\u0430\u043D\u0441, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 "\u041D\u0435\u0442".', noMatchDigitalBot: '\u0415\u0441\u043B\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u0435\u0449\u0435 \u043E\u0434\u0438\u043D \u0437\u0430\u043F\u0440\u043E\u0441, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 "\u0414\u0430". \u0427\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0441\u0435\u0430\u043D\u0441, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 "\u041D\u0435\u0442".' }, askForPayment: { noInputDigitalBot: "\u0414\u043B\u044F \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u044F \u0443\u043A\u0430\u0436\u0438\u0442\u0435 \u043F\u043B\u0430\u0442\u0435\u0436\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435.", noMatchDigitalBot: "\u041C\u043D\u0435 \u043D\u0435\u043F\u043E\u043D\u044F\u0442\u0435\u043D \u0432\u0430\u0448 \u043E\u0442\u0432\u0435\u0442. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437." }, askForAuthentication: { noInputDigitalBot: "\u0414\u043B\u044F \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u044F \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438.", noMatchDigitalBot: "\u041C\u043D\u0435 \u043D\u0435\u043F\u043E\u043D\u044F\u0442\u0435\u043D \u0432\u0430\u0448 \u043E\u0442\u0432\u0435\u0442. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437." }, askSurveyQuestion: { notApplicable: "\u041D\u0435\u043F\u0440\u0438\u043C\u0435\u043D\u0438\u043C\u043E", surveyAnswerOptionSequence: "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 %1$s \u0434\u043B\u044F '%2$s'.", surveyAnswerNotApplicableSequence: "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0437\u0432\u0435\u0437\u0434\u043E\u0447\u043A\u0443 \u0434\u043B\u044F \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \xAB\u041D\u0435\u043F\u0440\u0438\u043C\u0435\u043D\u0438\u043C\u043E\xBB", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0437\u0432\u0435\u0437\u0434\u043E\u0447\u043A\u0443 \u0434\u043B\u044F \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \xAB\u041D\u0435\u043F\u0440\u0438\u043C\u0435\u043D\u0438\u043C\u043E\xBB.", voiceSurveyNoInputText: "\u0414\u0430\u0442\u0435 \u043E\u0442\u0432\u0435\u0442 \u043D\u0430 \u0432\u043E\u043F\u0440\u043E\u0441.", voiceSurveyNoMatchText: "\u041D\u0435 \u043F\u043E\u043D\u0438\u043C\u0430\u044E \u0432\u0430\u0441." }, commonModule: { exitCommonModule: "\u0412\u044B\u0445\u043E\u0434 \u0438\u0437 \u043E\u0431\u0449\u0435\u0433\u043E \u043C\u043E\u0434\u0443\u043B\u044F" }, form: { noInputDigitalBot: "\u0414\u043B\u044F \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0435 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u0444\u043E\u0440\u043C\u044B.", noMatchDigitalBot: "\u0414\u043B\u044F \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0435 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u0444\u043E\u0440\u043C\u044B." }, messagingTemplate: { noInputDigitalBot: "\xAB\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0434\u0438\u043D \u0438\u0437 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432.\xBB", noMatchDigitalBot: "\xAB\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0434\u0438\u043D \u0438\u0437 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432.\xBB." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C", knowledgeAnswerHighlightFullArticleDefault: "\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043F\u043E\u043B\u043D\u0443\u044E \u0441\u0442\u0430\u0442\u044C\u044E", knowledgeInitialResponseMulti: "\u0427\u0442\u043E\u0431\u044B \u043F\u043E\u043C\u043E\u0447\u044C \u043C\u043D\u0435 \u0431\u043E\u043B\u0435\u0435 \u0447\u0435\u0442\u043A\u043E \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0432\u0430\u0448\u0443 \u0446\u0435\u043B\u044C, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u043E\u0442\u0432\u0435\u0442\u0430 \u0438\u0437 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u0441\u043F\u0438\u0441\u043A\u0430:", knowledgeInitialResponseMultiRetry: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043D\u043E\u043C\u0435\u0440 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0430 \u043E\u0442\u0432\u0435\u0442\u0430, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, '1'.\n\u0412\u043E\u0442 \u0435\u0449\u0435 \u0440\u0430\u0437 \u0441\u043F\u0438\u0441\u043E\u043A \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432 \u043E\u0442\u0432\u0435\u0442\u043E\u0432:", knowledgeNoMatch: "\u041D\u0438 \u043E\u0434\u0438\u043D \u0438\u0437 \u044D\u0442\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432", knowledgeConfirmation: "\u041F\u043E\u043B\u0443\u0447\u0438\u043B\u0438 \u043B\u0438 \u0432\u044B \u043E\u0442\u0432\u0435\u0442 \u043D\u0430 \u0441\u0432\u043E\u0439 \u0432\u043E\u043F\u0440\u043E\u0441?", knowledgeFollowup: "\u041D\u0430\u0434\u0435\u044E\u0441\u044C, \u0432\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u043B\u0438 \u043E\u0442\u0432\u0435\u0442 \u043D\u0430 \u0441\u0432\u043E\u0439 \u0432\u043E\u043F\u0440\u043E\u0441. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u0434\u0430\u0442\u044C \u0434\u0440\u0443\u0433\u043E\u0439 \u0432\u043E\u043F\u0440\u043E\u0441, \u0435\u0441\u043B\u0438 \u043E\u043D \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C." }, noOverlay: { intent: { intentConfirmationStr1: "\u041F\u043E-\u043C\u043E\u0435\u043C\u0443, \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435", intentConfirmationStr2: "\u042D\u0442\u043E \u0432\u0435\u0440\u043D\u043E?" }, youSaid: { youSaidConfirmationStr1: "\u0412\u044B \u0441\u043A\u0430\u0437\u0430\u043B\u0438", youSaidConfirmationStr2: "\u042D\u0442\u043E \u0432\u0435\u0440\u043D\u043E?", youSaidConfirmationStr1DigitalBot: "\u0412\u044B \u0432\u0432\u0435\u043B\u0438" }, noInput: { noInputStr1: "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u043E\u0438\u0437\u043D\u0435\u0441\u0438\u0442\u0435 \u0438\u043B\u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435", noInputStr1DigitalBot: "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435" }, noMatch: { noMatchStr1: "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u043E\u0431\u0449\u0438\u0442\u0435" }, whatIs: { whatIsQuestionStr1: "\u041D\u0430\u0437\u043E\u0432\u0438\u0442\u0435", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u041D\u0430 \u0434\u0430\u043D\u043D\u044B\u0439 \u043C\u043E\u043C\u0435\u043D\u0442 \u0443 \u043C\u0435\u043D\u044F", iGotContinuationStr2: ", \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0435." } }, defaultCallFlowOne: "\u041F\u043E\u0442\u043E\u043A \u0437\u0432\u043E\u043D\u043A\u043E\u0432 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E", errorHandlingAgentEscalationConfirmation: "\u0412\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043F\u043E\u0433\u043E\u0432\u043E\u0440\u0438\u0442\u044C \u0441 \u043A\u043E\u043D\u0441\u0443\u043B\u044C\u0442\u0430\u043D\u0442\u043E\u043C. \u042D\u0442\u043E \u0432\u0435\u0440\u043D\u043E?", errorHandlingAgentEscalationHandover: "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435 \u043D\u0435\u043C\u043D\u043E\u0433\u043E, \u044F \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0443 \u0432\u0430\u0441 \u043D\u0430 \u0434\u0440\u0443\u0433\u0443\u044E \u043B\u0438\u043D\u0438\u044E.", errorHandlingErrorEventHandover: "\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u043F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435 \u043D\u0435\u043C\u043D\u043E\u0433\u043E, \u044F \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0443 \u0432\u0430\u0441 \u043D\u0430 \u043B\u0438\u043D\u0438\u044E, \u0433\u0434\u0435 \u0432\u0430\u043C \u043F\u043E\u043C\u043E\u0433\u0443\u0442.", errorHandlingErrorEventHandoverVoiceSurvey: "\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u043F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430. \u0412\u0441\u0435\u0433\u043E \u0445\u043E\u0440\u043E\u0448\u0435\u0433\u043E.", errorHandlingRecognitionEventHandover: "\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u043C\u043D\u0435 \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u0430\u0441 \u043F\u043E\u043D\u044F\u0442\u044C. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435 \u043D\u0435\u043C\u043D\u043E\u0433\u043E, \u044F \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0443 \u0432\u0430\u0441 \u043D\u0430 \u043B\u0438\u043D\u0438\u044E, \u0433\u0434\u0435 \u0432\u0430\u043C \u043F\u043E\u043C\u043E\u0433\u0443\u0442.", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u043D\u0435 \u043F\u043E\u043D\u0438\u043C\u0430\u044E \u0432\u0430\u0441. \u0412\u0441\u0435\u0433\u043E \u0445\u043E\u0440\u043E\u0448\u0435\u0433\u043E.", errorHandlingTTS: "\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u043F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0432\u043E\u043D\u0438\u0442\u044C \u0435\u0449\u0435 \u0440\u0430\u0437.", initialGreetingTTS: "\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435, \u044D\u0442\u043E \u0438\u0441\u0445\u043E\u0434\u043D\u043E\u0435 \u043F\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435.", initialState: "\u0418\u0441\u0445\u043E\u0434\u043D\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435", initialBotState: "\u0411\u043E\u0442 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E", initialDigitalBotState: "\u0418\u0441\u0445\u043E\u0434\u043D\u043E\u0435 \u043F\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435", initialSurveyBotState: "\u0411\u043E\u0442 \u043E\u043F\u0440\u043E\u0441\u0430", intentConfirmation: "\u041F\u043E-\u043C\u043E\u0435\u043C\u0443, \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 %1$s. \u042D\u0442\u043E \u0432\u0435\u0440\u043D\u043E?", mainMenu: "\u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043C\u0435\u043D\u044E", mainMenuTTS: "\u0412\u044B \u0432 \u0433\u043B\u0430\u0432\u043D\u043E\u043C \u043C\u0435\u043D\u044E; \u0434\u043B\u044F \u043E\u0442\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043D\u0430\u0436\u043C\u0438\u0442\u0435 9", mainTask: "\u0417\u0430\u0434\u0430\u0447\u0430", settingsConfirmationNoInputApology: "\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u043C\u043D\u0435 \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u0430\u0441 \u0443\u0441\u043B\u044B\u0448\u0430\u0442\u044C. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043A\u0430\u0436\u0438\u0442\u0435 \xAB\u0434\u0430\xBB \u0438\u043B\u0438 \xAB\u043D\u0435\u0442\xBB.", settingsConfirmationNoInputApologyDigitalBot: '\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0432\u044B \u043D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u0432\u0432\u0435\u043B\u0438. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 "\u0414\u0430" \u0438\u043B\u0438 "\u041D\u0435\u0442".', settingsConfirmationNoMatchApology: "\u041F\u0440\u043E\u0441\u0442\u0438\u0442\u0435. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043A\u0430\u0436\u0438\u0442\u0435 \xAB\u0434\u0430\xBB \u0438\u043B\u0438 \xAB\u043D\u0435\u0442\xBB.", settingsConfirmationNoMatchApologyDigitalBot: '\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 "\u0414\u0430"\u0438\u043B\u0438 "\u041D\u0435\u0442".', settingsNoInputApology: "\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u043C\u043D\u0435 \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u0430\u0441 \u0443\u0441\u043B\u044B\u0448\u0430\u0442\u044C.", settingsNoInputApologyDigitalBot: "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0432\u044B \u043D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u0432\u0432\u0435\u043B\u0438.", settingsEndOfSessionMessageDigitalBot: "\u0412\u044B \u0434\u0430\u0432\u043D\u043E \u043D\u0435 \u043F\u0438\u0441\u0430\u043B\u0438, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u044F \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u044E \u044D\u0442\u043E\u0442 \u0447\u0430\u0442. \u041E\u0431\u0440\u0430\u0449\u0430\u0439\u0442\u0435\u0441\u044C \u0441\u043D\u043E\u0432\u0430, \u0435\u0441\u043B\u0438 \u0412\u0430\u043C \u043F\u043E\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u043C\u043E\u044F \u043F\u043E\u043C\u043E\u0449\u044C. \u0421\u043F\u0430\u0441\u0438\u0431\u043E.", settingsNoMatchApology: "\u041F\u0440\u043E\u0441\u0442\u0438\u0442\u0435.", settingsNoToConfirmationApology: "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435 \u043C\u0435\u043D\u044F.", periodicStateName: "\u041F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0435\u0435\u0441\u044F \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435" }; }, 76657: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(80428), o = i2(64720), a = i2(81516), s = n2.__importDefault(i2(27203)), l = i2(96546), u = i2(12179), d = i2(82632), c = n2.__importDefault(i2(97891)), p = i2(87870), _ = n2.__importDefault(i2(5730)), h = i2(47957); - class m extends _.default { + const n2 = i2(31635), r2 = i2(80428), o = i2(64720), a = i2(81516), s = n2.__importDefault(i2(27203)), l = i2(96546), u = i2(12179), c = i2(82632), d = n2.__importDefault(i2(97891)), p = i2(87870), _ = n2.__importDefault(i2(5730)), h = n2.__importDefault(i2(4648)), m = i2(47957); + class g extends _.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -90530,10 +97470,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return s.default.successFailure; } static get managedProperties() { - return [{ createDetails: p.NoteActionProperty.createCreateDetails(h.sendInteractiveApplication.sendApplicationSupportNoteApple, "info", "showAppleNote"), property: "appleInfo", yamlOptions: m.createYamlOptions("appleInfo", (e3) => e3.setSkipProperty(true)) }, { label: h.sendInteractiveApplication.applicationName, options: a.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setAllowModeBuilder(false).setIninTestingField("applicationName").setAllowNotSet(false).facets.setAllowableValuePlaceholder(h.sendInteractiveApplication.applicationNamePlaceholder).setMinLength(d.interactiveApplicationLimits.application.name.minLength).setAllowNull(false)), property: "applicationName", type: r2.expressionTypeNames.string }, { label: h.sendInteractiveApplication.applicationUrl, options: a.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setIninTestingField("applicationUrl").setAllowModeBuilder(false).setAllowNotSet(false).facets.setAllowableValuePlaceholder(h.sendInteractiveApplication.applicationUrlPlaceholder).setMinLength(d.interactiveApplicationLimits.application.url.minLength).setAllowNull(false)), property: "applicationUrl", type: r2.expressionTypeNames.string }, { label: h.image.image, options: o.ExpressionTypeImageOptions.create((e3) => e3.setIsOptional(true).setAllowModeLiteralOnly().setUiPropertyGroup(h.sendInteractiveApplication.receivedMessage).setIninTestingField("applicationImage")), property: "applicationImage", type: r2.expressionTypeNames.image }, { label: h.cardsAndCars.buttonTitlePlaceholder, options: a.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setIninTestingField("title").setUiPropertyGroup(h.sendInteractiveApplication.receivedMessage).setDefaultToNoValue(true).facets.setAllowableValuePlaceholder(h.sendInteractiveApplication.titlePlaceholder).setMaxLength(d.interactiveApplicationLimits.receivedMessage.title.maxLength)), property: "title", type: r2.expressionTypeNames.string }, { label: h.cardsAndCars.timePickerType.subtitlePlaceHolder, options: a.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setIninTestingField("subTitle").setUiPropertyGroup(h.sendInteractiveApplication.receivedMessage).setDefaultToNoValue(true).facets.setMaxLength(d.interactiveApplicationLimits.receivedMessage.subTitle.maxLength)), property: "subTitle", type: r2.expressionTypeNames.string }]; + return [{ createDetails: p.NoteActionProperty.createCreateDetails(m.sendInteractiveApplication.sendApplicationSupportNoteApple, "info", "showAppleNote"), property: "appleInfo", yamlOptions: g.createYamlOptions("appleInfo", (e3) => e3.setSkipProperty(true)) }, { label: m.sendInteractiveApplication.applicationName, options: a.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setAllowModeBuilder(false).setIninTestingField("applicationName").setAllowNotSet(false).facets.setAllowableValuePlaceholder(m.sendInteractiveApplication.applicationNamePlaceholder).setMinLength(c.interactiveApplicationLimits.application.name.minLength).setAllowNull(false)), property: "applicationName", type: r2.expressionTypeNames.string }, { label: m.sendInteractiveApplication.applicationUrl, options: a.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setIninTestingField("applicationUrl").setAllowModeBuilder(false).setAllowNotSet(false).facets.setAllowableValuePlaceholder(m.sendInteractiveApplication.applicationUrlPlaceholder).setMinLength(c.interactiveApplicationLimits.application.url.minLength).setAllowNull(false)), property: "applicationUrl", type: r2.expressionTypeNames.string }, { label: m.image.image, options: o.ExpressionTypeImageOptions.create((e3) => e3.setIsOptional(true).setAllowModeLiteralOnly().setUiPropertyGroup(m.sendInteractiveApplication.receivedMessage).setIninTestingField("applicationImage")), property: "applicationImage", type: r2.expressionTypeNames.image }, { label: m.cardsAndCars.buttonTitlePlaceholder, options: a.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setIninTestingField("title").setUiPropertyGroup(m.sendInteractiveApplication.receivedMessage).setDefaultToNoValue(true).facets.setAllowableValuePlaceholder(m.sendInteractiveApplication.titlePlaceholder).setMaxLength(c.interactiveApplicationLimits.receivedMessage.title.maxLength)), property: "title", type: r2.expressionTypeNames.string }, { label: m.cardsAndCars.timePickerType.subtitlePlaceHolder, options: a.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setIninTestingField("subTitle").setUiPropertyGroup(m.sendInteractiveApplication.receivedMessage).setDefaultToNoValue(true).facets.setMaxLength(c.interactiveApplicationLimits.receivedMessage.subTitle.maxLength)), property: "subTitle", type: r2.expressionTypeNames.string }]; } } - m.info = c.default.createActionInfo({ actionClass: m, canBeInTask: true, canBeTreeNode: false, helpTopic: u.helpTopics.actions.sendInteractiveApplication, modelClass: i2(4009), name: h.actions.sendInteractiveApplication, scriptingName: "ArchActionSendInteractiveApplication", supportedSessionSources: l.appleBusinessOnly }), t2.A = m; + g.info = d.default.createActionInfo({ actionClass: g, canBeInTask: true, canBeTreeNode: false, helpTopic: u.helpTopics.actions.sendInteractiveApplication, modelClass: i2(4009), name: m.actions.sendInteractiveApplication, scriptingName: "ArchActionSendInteractiveApplication", supportedSessionSources: l.appleBusinessOnly, modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = g; }, 76692: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.buildWorkitemFlowSettingConfig = function(e3) { @@ -90542,11 +97482,11 @@ ${e3.stack}`, n3 = [this].concat(i3); return n3.customFieldsSchemaId = null === (t3 = e3.schema) || void 0 === t3 ? void 0 : t3.id, n3.customFieldsSchemaName = null === (i3 = e3.schema) || void 0 === i3 ? void 0 : i3.name, n3; }, t2.createWorkitemFlow = function(e3, t3, i3, s2) { return n2.__awaiter(this, void 0, void 0, function* () { - const n3 = yield o.worktypeManager.apiCallSingle(e3), c = new r2.default(i3), p = a.getFullFlow(c); - return yield u.loadTemplate(p, t3), d.info(`Calling configureForWorktype with a value of '${s2}' for createInitialActionsBasedOnWorktypeConfig. Worktype id: ${e3}`), yield p.configureForWorktype(n3, s2), yield l.default.initializeDesignTimeAndValidate(p), p; + const n3 = yield o.worktypeManager.apiCallSingle(e3), d = new r2.default(i3), p = a.getFullFlow(d); + return yield u.loadTemplate(p, t3), c.info(`Calling configureForWorktype with a value of '${s2}' for createInitialActionsBasedOnWorktypeConfig. Worktype id: ${e3}`), yield p.configureForWorktype(n3, s2), yield l.default.initializeDesignTimeAndValidate(p), p; }); }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(90396)), o = i2(38725), a = n2.__importStar(i2(89884)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(96875)), u = n2.__importStar(i2(46920)), d = s.getTopic("WorkitemFlowCreation"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(90396)), o = i2(38725), a = n2.__importStar(i2(89884)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(96875)), u = n2.__importStar(i2(46920)), c = s.getTopic("WorkitemFlowCreation"); }, 76768: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(24005), { uuid: o } = i2(9456); function a() { @@ -90616,7 +97556,7 @@ ${e3.stack}`, n3 = [this].concat(i3); throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); }; Object.defineProperty(t2, "__esModule", { value: true }), t2.AnonymousSubject = t2.Subject = void 0; - var a = i2(48051), s = i2(69879), l = i2(50839), u = i2(54830), d = i2(12688), c = (function(e3) { + var a = i2(48051), s = i2(69879), l = i2(50839), u = i2(54830), c = i2(12688), d = (function(e3) { function t3() { var t4 = e3.call(this) || this; return t4.closed = false, t4.currentObservers = null, t4.observers = [], t4.isStopped = false, t4.hasError = false, t4.thrownError = null, t4; @@ -90628,7 +97568,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (this.closed) throw new l.ObjectUnsubscribedError(); }, t3.prototype.next = function(e4) { var t4 = this; - d.errorContext(function() { + c.errorContext(function() { var i3, n3; if (t4._throwIfClosed(), !t4.isStopped) { t4.currentObservers || (t4.currentObservers = Array.from(t4.observers)); @@ -90647,7 +97587,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }); }, t3.prototype.error = function(e4) { var t4 = this; - d.errorContext(function() { + c.errorContext(function() { if (t4._throwIfClosed(), !t4.isStopped) { t4.hasError = t4.isStopped = true, t4.thrownError = e4; for (var i3 = t4.observers; i3.length; ) i3.shift().error(e4); @@ -90655,7 +97595,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }); }, t3.prototype.complete = function() { var e4 = this; - d.errorContext(function() { + c.errorContext(function() { if (e4._throwIfClosed(), !e4.isStopped) { e4.isStopped = true; for (var t4 = e4.observers; t4.length; ) t4.shift().complete(); @@ -90685,7 +97625,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return new p(e4, t4); }, t3; })(a.Observable); - t2.Subject = c; + t2.Subject = d; var p = (function(e3) { function t3(t4, i3) { var n3 = e3.call(this) || this; @@ -90704,7 +97644,7 @@ ${e3.stack}`, n3 = [this].concat(i3); var t4, i3; return null !== (i3 = null === (t4 = this.source) || void 0 === t4 ? void 0 : t4.subscribe(e4)) && void 0 !== i3 ? i3 : s.EMPTY_SUBSCRIPTION; }, t3; - })(c); + })(d); t2.AnonymousSubject = p; }, 76827: (e2, t2, i2) => { "use strict"; @@ -90899,18 +97839,18 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 77105: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.PropertyDefinition = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(22917)), a = n2.__importStar(i2(12847)), s = i2(10798), l = i2(10798), u = i2(55299), d = n2.__importDefault(i2(87675)), c = i2(27491), p = n2.__importDefault(i2(65302)), _ = i2(7098), h = { isComputed: "boolean", isOptional: "boolean", isReadOnly: "boolean", isRequired: "boolean", isPatchable: "boolean", isUnavailable: "boolean", literalOnly: "boolean", minItems: "integer", maxItems: "integer", maxItemsIsSoftLimit: "boolean", minLength: "integer", maxLength: "integer", minValue: "number", minValueInclusive: "boolean", maxValue: "number", maxValueInclusive: "boolean" }; - class m extends u.BaseClass { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(12847)), a = i2(55299), s = n2.__importDefault(i2(87675)), l = i2(27491), u = n2.__importDefault(i2(65302)), c = i2(10798), d = i2(10798), p = n2.__importDefault(i2(22917)), _ = i2(7098), h = { isComputed: "boolean", isOptional: "boolean", isReadOnly: "boolean", isRequired: "boolean", isPatchable: "boolean", isUnavailable: "boolean", literalOnly: "boolean", minItems: "integer", maxItems: "integer", maxItemsIsSoftLimit: "boolean", minLength: "integer", maxLength: "integer", minValue: "number", minValueInclusive: "boolean", maxValue: "number", maxValueInclusive: "boolean" }; + class m extends a.BaseClass { constructor(e3, t3, i3) { let n3; - super(), this.allowableValuesMap = {}, this._typeGroup = p.default.getTypeGroup(e3), this.model = t3, this.defaultValue = t3.defaultValue, this.description = i3, this.displayValue = t3.displayValue ? _.expression[t3.displayValue] : "", this.expressionText = c.expressionDataService.getExpressionIdentifier(t3.name), this.group = t3.group, this.id = t3.id, this.isRequired = t3.isRequired, this.literalOnly = t3.literalOnly, this.minItems = t3.minItems, this.minLength = t3.minLength, this.minValue = t3.minValue, this.minValueInclusive = t3.minValueInclusive, this.maxItems = t3.maxItems, this.maxLength = t3.maxLength, this.maxValue = t3.maxValue, this.maxValueInclusive = t3.maxValueInclusive, this.name = t3.name, this.parentFlow = e3, this.usageValidation = t3.usageValidation, this.version = t3.version, this.featureConfigName = t3.featureConfigName, this._supportedSessionSources = t3.supportedSessionSources, this.yamlSerializeIfOutOfService = t3.yamlSerializeIfOutOfService, r2.default.isUndefined(t3.maxItemsIsSoftLimit) || (this.maxItemsIsSoftLimit = !!t3.maxItemsIsSoftLimit), r2.default.isArray(t3.allowableValuesRaw) && t3.allowableValuesRaw.length ? n3 = t3.allowableValuesRaw : r2.default.isString(t3.allowableValues) && (n3 = t3.allowableValues.split(",")), r2.default.isArray(n3) && (null == n3 ? void 0 : n3.length) && (this.allowableValues = n3.map((e4) => { + super(), this.allowableValuesMap = {}, this._typeGroup = u.default.getTypeGroup(e3), this.model = t3, this.defaultValue = t3.defaultValue, this.description = i3, this.displayValue = t3.displayValue ? _.expression[t3.displayValue] : "", this.schemaTitle = t3.schemaTitle, this.expressionText = l.expressionDataService.getExpressionIdentifier(t3.name), this.group = t3.group, this.id = t3.id, this.isRequired = t3.isRequired, this.literalOnly = t3.literalOnly, this.minItems = t3.minItems, this.minLength = t3.minLength, this.minValue = t3.minValue, this.minValueInclusive = t3.minValueInclusive, this.maxItems = t3.maxItems, this.maxLength = t3.maxLength, this.maxValue = t3.maxValue, this.maxValueInclusive = t3.maxValueInclusive, this.name = t3.name, this.parentFlow = e3, this.usageValidation = t3.usageValidation, this.version = t3.version, this.featureConfigName = t3.featureConfigName, this._supportedSessionSources = t3.supportedSessionSources, this.yamlSerializeIfOutOfService = t3.yamlSerializeIfOutOfService, r2.default.isUndefined(t3.maxItemsIsSoftLimit) || (this.maxItemsIsSoftLimit = !!t3.maxItemsIsSoftLimit), r2.default.isArray(t3.allowableValuesRaw) && t3.allowableValuesRaw.length ? n3 = t3.allowableValuesRaw : r2.default.isString(t3.allowableValues) && (n3 = t3.allowableValues.split(",")), r2.default.isArray(n3) && (null == n3 ? void 0 : n3.length) && (this.allowableValues = n3.map((e4) => { let t4; return t4 = (null == e4 ? void 0 : e4.displayString) && (null == e4 ? void 0 : e4.id) ? { id: e4.id, displayString: e4.displayString } : { id: e4, displayString: null == e4 ? void 0 : e4.toString() }, this.allowableValuesMap[t4.displayString] = true, t4; - })), t3.noValueRuntimeStr && (this.noValueRuntimeStr = t3.noValueRuntimeStr), t3.propertyToLiteralResolvers && (this.propertyToLiteralResolvers = t3.propertyToLiteralResolvers), t3.propertyResolvedLiteralValue && (this.propertyResolvedLiteralValue = t3.propertyResolvedLiteralValue), t3.isComputed && (this.isComputed = t3.isComputed), t3.isOptional && (this.isOptional = t3.isOptional), this.isReadOnly = !(false === t3.readOnly), t3.patchable && (this.isPatchable = t3.patchable), this.yamlSerializeIfOutOfService && (this.yamlOptions = o.default.create(this.name, (e4) => e4.setSerializeOutOfService(true))); + })), t3.noValueRuntimeStr && (this.noValueRuntimeStr = t3.noValueRuntimeStr), t3.propertyToLiteralResolvers && (this.propertyToLiteralResolvers = t3.propertyToLiteralResolvers), t3.propertyResolvedLiteralValue && (this.propertyResolvedLiteralValue = t3.propertyResolvedLiteralValue), t3.isComputed && (this.isComputed = t3.isComputed), t3.isOptional && (this.isOptional = t3.isOptional), this.isReadOnly = !(false === t3.readOnly), t3.patchable && (this.isPatchable = t3.patchable), t3.patchableSettings && this.isPatchable && (this.patchableSettings = t3.patchableSettings), this.yamlSerializeIfOutOfService && (this.yamlOptions = p.default.create(this.name, (e4) => e4.setSerializeOutOfService(true))); } _applyOverrides() { if (this.model.overrides) { - for (const e3 of this.model.overrides) if (e3.featureConfigName && (0, l.isFeatureAvailable)(e3.featureConfigName)) if (h[e3.propertyName]) { + for (const e3 of this.model.overrides) if (e3.featureConfigName && (0, c.isFeatureAvailable)(e3.featureConfigName)) if (h[e3.propertyName]) { let t3; switch (h[e3.propertyName]) { case "integer": @@ -90922,8 +97862,8 @@ ${e3.stack}`, n3 = [this].concat(i3); case "boolean": t3 = true === e3.newValue || "true" === e3.newValue; } - r2.default.isNullOrUndefined(t3) ? a.error(`an override value for the property facet '${e3.propertyName}' on property with id '${this.model.id}' could not be set because the override value ${e3.newValue} when converted to the appropriate typed value for the facet was either undefined, null or NaN. Skipping.`) : (this[e3.propertyName] = t3, this.model[e3.propertyName] = t3); - } else a.error(`an override value for the property facet '${e3.propertyName}' on property with id '${this.model.id}' could not be set because there is no type associated with the facet so do not know how to convert the desired override value. Skipping.`); + r2.default.isNullOrUndefined(t3) ? o.error(`an override value for the property facet '${e3.propertyName}' on property with id '${this.model.id}' could not be set because the override value ${e3.newValue} when converted to the appropriate typed value for the facet was either undefined, null or NaN. Skipping.`) : (this[e3.propertyName] = t3, this.model[e3.propertyName] = t3); + } else o.error(`an override value for the property facet '${e3.propertyName}' on property with id '${this.model.id}' could not be set because there is no type associated with the facet so do not know how to convert the desired override value. Skipping.`); } } get typeGroup() { @@ -90933,7 +97873,11 @@ ${e3.stack}`, n3 = [this].concat(i3); return "PropertyDefinition"; } createDataTypeDef() { - return d.default.createFromPropertyDefinition(this); + return s.default.createFromPropertyDefinition(this); + } + getAllowableValuesForDataTypeDef() { + var e3, t3; + return Array.isArray(null === (e3 = this.model) || void 0 === e3 ? void 0 : e3.allowableValuesRaw) && this.model.allowableValuesRaw.length ? [...this.model.allowableValuesRaw] : "string" == typeof (null === (t3 = this.model) || void 0 === t3 ? void 0 : t3.allowableValues) ? this.model.allowableValues.split(",") : Array.isArray(this.allowableValues) && this.allowableValues.length ? this.allowableValues.map((e4) => e4.id) : void 0; } get type() { const e3 = this._typeGroup.getType(this.model.type, this.model.isCollection); @@ -90949,13 +97893,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._supportedSessionSources || []; } setJsonExpressionType(e3) { - return e3 ? e3.isJsonType ? (e3.model.support.expressionDataType === this.model.type && e3.model.support.expressionBaseDataType === this.model.baseType && !!e3.isCollection === this.model.isCollection || (a.info(`setting custom expression type on property '${this.name}' to '${e3.model.support.expressionDataType}'`), this.model.type = e3.model.support.expressionDataType, this.model.baseType = e3.model.support.expressionBaseDataType, this.model.isCollection = !!e3.isCollection), true) : (a.info(`a non JSON expression type was passed in to setCustomExpressionType for property '${this.name}'. Exiting.`), false) : (a.info(`no JSON expression type passed in when setting a custom expression type on property '${this.name}'. Exiting.`), false); + return e3 ? e3.isJsonType ? (e3.model.support.expressionDataType === this.model.type && e3.model.support.expressionBaseDataType === this.model.baseType && !!e3.isCollection === this.model.isCollection || (o.info(`setting custom expression type on property '${this.name}' to '${e3.model.support.expressionDataType}'`), this.model.type = e3.model.support.expressionDataType, this.model.baseType = e3.model.support.expressionBaseDataType, this.model.isCollection = !!e3.isCollection), true) : (o.info(`a non JSON expression type was passed in to setCustomExpressionType for property '${this.name}'. Exiting.`), false) : (o.info(`no JSON expression type passed in when setting a custom expression type on property '${this.name}'. Exiting.`), false); } checkVersion(e3) { e3.checkVersion(this.version), e3.checkVersion(this.type.version); } startupConnectedAndReady(e3) { - e3 ? (this.isUnavailable = !e3.availability.isAvailable, this._applyOverrides()) : this.featureConfigName && (this.isUnavailable = (0, s.isFeatureUnavailable)(this.featureConfigName)); + e3 ? (this.isUnavailable = !e3.availability.isAvailable, this._applyOverrides()) : this.featureConfigName && (this.isUnavailable = (0, d.isFeatureUnavailable)(this.featureConfigName)); } } t2.PropertyDefinition = m; @@ -90963,7 +97907,7 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.briefCommonModuleFlowListManager = void 0; const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(24032)), a = i2(70726), s = i2(30801), l = i2(96618), u = i2(27862); - class d extends a.BriefFlowListManager { + class c extends a.BriefFlowListManager { get dependencyType() { return u.CommonModuleFlow; } @@ -90973,7 +97917,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }); } } - t2.briefCommonModuleFlowListManager = new d(); + t2.briefCommonModuleFlowListManager = new c(); }, 77114: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -90999,7 +97943,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 77147: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.promptHasRequiredMedia = a, t2.promptLanguageResourceHasAudio = s, t2.getPromptGridLanguageError = function(e3, t3) { - return a(e3, t3, t3.languageUsages); + return a(e3, t3, t3.languageUsagesForFlow(e3)); }; const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(98442)); function a(e3, t3, i3) { @@ -91024,8 +97968,8 @@ ${e3.stack}`, n3 = [this].concat(i3); } }, 77152: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(8136), s = i2(42170), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(8136), s = i2(42170), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -91033,7 +97977,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findSchedule.findScheduleNameLabel, searchResultLabel: d.findActions.findSchedule.findScheduleResultLabel, searchResultExpressionOptions: a.ExpressionTypeScheduleOptions.create(), searchResultItemType: o.expressionTypeNames.schedule }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findSchedule, modelClass: s.FindScheduleActionModel, name: d.actions.findScheduleActionLabel, scriptingName: "ArchActionFindSchedule" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findSchedule, modelClass: s.FindScheduleActionModel, name: d.actions.findScheduleActionLabel, scriptingName: "ArchActionFindSchedule", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 77170: (e2, t2, i2) => { const n2 = i2(2210), r2 = i2(13240), { dialExtensionActionType: o } = i2(30801), a = i2(7401); function s() { @@ -91060,6 +98004,41 @@ ${e3.stack}`, n3 = [this].concat(i3); }, set: function(e3) { this._resultData = this.reviveItem(e3, a); } } }), e2.exports = s; + }, 77235: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ModelSchemaRegistry = void 0; + const n2 = i2(31635), r2 = i2(82632), o = i2(79519), a = n2.__importDefault(i2(99006)), s = i2(14592), l = i2(43330), u = i2(60526); + class c { + static getJsonSchema(e3, t3) { + const i3 = `${e3}::${t3}`; + let n3 = c._jsonSchemaCache.get(i3); + return n3 || (n3 = c._buildJsonSchema(e3, t3), c._jsonSchemaCache.set(i3, n3)), n3; + } + static getCustomJsonType(e3, t3, i3) { + try { + const n3 = c.getJsonSchema(e3, t3), r3 = t3 === l.ModelFormat.ChangeSet ? "changeSetModel" : `flowModel_${u.FlowTypeResolver.getYamlKey(e3) || e3}`, d = new a.default(r3, n3, o.CustomJsonNamespace.architect).createDataTypeDefViewModelsForJsonSchema(i3); + if (d.failure || !d.rootDataTypeDefId) return; + if (!d.customDataTypeDefs[d.rootDataTypeDefId]) return; + const p = Object.values(d.customDataTypeDefs), _ = (0, s.createCustomExpressionTypesFromDataTypeDefs)(i3, p, true); + return _.find((e4) => e4.dataType === d.rootDataTypeDefId) || _[0]; + } catch (e4) { + return; + } + } + static clear() { + c._jsonSchemaCache.clear(); + } + static _buildJsonSchema(e3, t3) { + var i3; + if (t3 === l.ModelFormat.ChangeSet) return c._buildChangeSetJsonSchema(); + const n3 = u.FlowTypeResolver.getYamlKey(e3) || e3, o2 = { type: "object", required: ["name"], properties: { name: { type: "string", minLength: r2.flowLimits.name.minLength, maxLength: r2.flowLimits.name.maxLength, description: "The flow name." }, description: { type: "string", maxLength: null === (i3 = r2.flowLimits.description) || void 0 === i3 ? void 0 : i3.maxLength, description: "The flow description." }, division: { type: "string", description: "The division name for the flow." }, defaultLanguage: { type: "string", description: "The default language tag (e.g., en-us)." } }, additionalProperties: true }; + return { type: "object", title: `FlowYaml_${n3}`, description: `Flow YAML model schema for flow type '${e3}'. Root property is '${n3}'.`, required: [n3], properties: { [n3]: o2 }, additionalProperties: false }; + } + static _buildChangeSetJsonSchema() { + return { type: "object", title: "ChangeSetDocument", description: "Architect changeset document. Contains a version and an ordered array of changes (add, remove, update, setStartupObject).", required: ["version", "changes"], properties: { version: { type: "string", description: 'The changeset document version. Currently must be "1.0".', enum: ["1.0"] }, changes: { type: "array", description: "Ordered list of change operations to apply. Each entry is an object with exactly one key: add, remove, update, or setStartupObject.", items: { type: "object", description: "A single change operation. Exactly one of: add (insert actions/tasks/states/menus/variables), remove (delete by selector), update (modify properties), or setStartupObject (change startup task/state/menu).", properties: { add: { type: "object", description: "Add operation: insert new actions, tasks, states, menus, menu choices, or variables into the flow. Exactly one sub-key specifies what to add." }, remove: { type: "object", description: "Remove operation: delete flow objects by selector (task, state, action, menu, menuChoice, or variable with id/name/trackingId)." }, update: { type: "object", description: "Update operation: modify properties on existing flow objects (placeholder for future support)." }, setStartupObject: { type: "object", description: "Set startup object: change the flow's startup task, state, or menu to an existing object or a new inline definition." } } } } }, additionalProperties: false }; + } + } + t2.ModelSchemaRegistry = c, c._jsonSchemaCache = /* @__PURE__ */ new Map(); }, 77315: (e2, t2, i2) => { const n2 = i2(28730), { endWorkflowActionType: r2 } = i2(30801), o = i2(7401); function a() { @@ -91076,20 +98055,20 @@ ${e3.stack}`, n3 = [this].concat(i3); } } }), e2.exports = a; }, 77372: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = i2(52357), a = i2(32773), s = i2(91035), l = i2(28443), u = i2(44612), d = i2(12179), c = i2(12457), p = n2.__importDefault(i2(97891)), _ = i2(77415), h = n2.__importDefault(i2(5730)), m = i2(47957); - class g extends h.default { + const n2 = i2(31635), r2 = i2(17604), o = i2(52357), a = i2(32773), s = i2(91035), l = i2(28443), u = i2(44612), c = i2(12179), d = i2(12457), p = n2.__importDefault(i2(97891)), _ = i2(77415), h = n2.__importDefault(i2(5730)), m = n2.__importDefault(i2(4648)), g = i2(47957); + class f extends h.default { constructor(e3, t3) { let i3, n3; - super(e3.parentFlow, e3), this._allScriptsManager = o.allScriptsManager, e3.parentFlow.isInboundEmail || e3.parentFlow.isInQueueEmailFlow ? (this._scriptManager = s.emailScriptManager, n3 = m.screenPop.scriptProperties.scriptPropertyEmail, i3 = m.screenPop.emailScript) : e3.parentFlow.isInboundShortMessage || e3.parentFlow.isInQueueShortMessageFlow ? (this._scriptManager = u.shortMessageScriptManager, n3 = m.screenPop.scriptProperties.scriptPropertyMessage, i3 = m.screenPop.shortMessageScript) : e3.parentFlow.isInboundChat ? (this._scriptManager = a.chatScriptManager, n3 = m.screenPop.scriptProperties.scriptPropertyChat, i3 = m.screenPop.chatScript) : e3.parentFlow.isOutboundCallFlow ? (this._scriptManager = o.allScriptsManager, n3 = m.screenPop.scriptProperties.scriptPropertyScreenPop, i3 = m.screenPop.screenPopScript) : (this._scriptManager = l.screenPopManager, n3 = m.screenPop.scriptProperties.scriptPropertyScreenPop, i3 = m.screenPop.screenPopScript), this.resources = { mustSelectScript: (0, r2.sprintf)(m.screenPop.mustSelectScript, i3), noInputs: (0, r2.sprintf)(m.screenPop.noInputs, i3), savedVersionOfScript: (0, r2.sprintf)(m.screenPop.savedVersionOfScript, i3), scriptMissingFeature: (0, r2.sprintf)(m.screenPop.scriptMissingFeature, i3, n3), scriptNotFound: (0, r2.sprintf)(m.screenPop.scriptNotFound, i3), selectedScript: this._scriptManager.dependencyContext, selectScript: (0, r2.sprintf)(m.screenPop.selectScript, i3) }, this._loadModel(t3); + super(e3.parentFlow, e3), this._allScriptsManager = o.allScriptsManager, e3.parentFlow.isInboundEmail || e3.parentFlow.isInQueueEmailFlow ? (this._scriptManager = s.emailScriptManager, n3 = g.screenPop.scriptProperties.scriptPropertyEmail, i3 = g.screenPop.emailScript) : e3.parentFlow.isInboundShortMessage || e3.parentFlow.isInQueueShortMessageFlow ? (this._scriptManager = u.shortMessageScriptManager, n3 = g.screenPop.scriptProperties.scriptPropertyMessage, i3 = g.screenPop.shortMessageScript) : e3.parentFlow.isInboundChat ? (this._scriptManager = a.chatScriptManager, n3 = g.screenPop.scriptProperties.scriptPropertyChat, i3 = g.screenPop.chatScript) : e3.parentFlow.isOutboundCallFlow ? (this._scriptManager = o.allScriptsManager, n3 = g.screenPop.scriptProperties.scriptPropertyScreenPop, i3 = g.screenPop.screenPopScript) : (this._scriptManager = l.screenPopManager, n3 = g.screenPop.scriptProperties.scriptPropertyScreenPop, i3 = g.screenPop.screenPopScript), this.resources = { mustSelectScript: (0, r2.sprintf)(g.screenPop.mustSelectScript, i3), noInputs: (0, r2.sprintf)(g.screenPop.noInputs, i3), savedVersionOfScript: (0, r2.sprintf)(g.screenPop.savedVersionOfScript, i3), scriptMissingFeature: (0, r2.sprintf)(g.screenPop.scriptMissingFeature, i3, n3), scriptNotFound: (0, r2.sprintf)(g.screenPop.scriptNotFound, i3), selectedScript: this._scriptManager.dependencyContext, selectScript: (0, r2.sprintf)(g.screenPop.selectScript, i3) }, this._loadModel(t3); } get result() { return this.model.result; } getDetails() { - return this.scriptName ? new c.ActionDetails([this.resources.selectedScript], [this.scriptName]) : null; + return this.scriptName ? new d.ActionDetails([this.resources.selectedScript], [this.scriptName]) : null; } static get managedProperties() { - return [{ createDetails: _.ScriptProperties.createCreateDetails("screenPopId", "screenPopName"), yamlOptions: g.createYamlOptions("scriptSettings", (e3) => e3.setPropertyName("screenPopScript")), property: "scriptSettings" }]; + return [{ createDetails: _.ScriptProperties.createCreateDetails("screenPopId", "screenPopName"), yamlOptions: f.createYamlOptions("scriptSettings", (e3) => e3.setPropertyName("screenPopScript")), property: "scriptSettings" }]; } get scriptManager() { return this._scriptManager; @@ -91101,7 +98080,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.scriptManager.getCachedServerPropertyById(e3, this.scriptId, t3, this); } } - g.info = p.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: d.helpTopics.actions.screenPop, modelClass: i2(55422), name: m.actions.screenPop, scriptingName: "ArchActionSetScreenPop" }), t2.A = g; + f.info = p.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: c.helpTopics.actions.screenPop, modelClass: i2(55422), name: g.actions.screenPop, scriptingName: "ArchActionSetScreenPop", modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } } }), t2.A = f; }, 77373: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -91135,7 +98114,7 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ScriptProperties = void 0; const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(9456), a = n2.__importDefault(i2(22917)), s = n2.__importStar(i2(17498)), l = i2(55867), u = i2(47957); - class d extends l.BaseActionProperty { + class c extends l.BaseActionProperty { constructor(e3, t3, i3, n3, r3, a2) { super(e3, t3), this.id = (0, o.uuid)(), this.scriptManager = i3, this._outOfService = false, this._scriptIdPropName = n3 || "scriptId", this._scriptNamePropName = r3 || "scriptName", this.isOptional = a2, this.parent = e3, Object.defineProperties(e3, { scriptId: { get: () => this.scriptId }, scriptName: { get: () => this.scriptName, set: (e4) => { this.scriptName = e4; @@ -91215,26 +98194,26 @@ ${e3.stack}`, n3 = [this].concat(i3); } static createCreateDetails(e3, t3, i3) { return { modelProperties: [], create: function(n3, r3) { - return new d(n3, r3, n3.scriptManager, e3, t3, i3); + return new c(n3, r3, n3.scriptManager, e3, t3, i3); }, getCreateClass: function() { - return d; + return c; } }; } get isScriptProperties() { return true; } } - t2.ScriptProperties = d; + t2.ScriptProperties = c; }, 77450: (e2, t2, i2) => { const n2 = i2(14961), r2 = { replacementId: "$positionInQueueInt", subExpressions: { toAudioBlank: { ids: ["Audio_ONE ToAudioBlank(Long_ONE)"], _label: "blank_0ms", value: "ToAudioBlank(0)" }, toAudioNumber: { ids: ["Audio_ONE ToAudioNumber(Long_ONE)"], _label: "position_in_queue_as_number", value: "ToAudioNumber($positionInQueueInt)" }, toAudioNumberMinusOne: { ids: ["Audio_ONE ToAudioNumber(Long_ONE)"], _label: "position_in_queue_minus_one_as_number", value: "ToAudioNumber(($positionInQueueInt) - 1)" }, toAudioNumberOrdinal: { ids: ["Audio_ONE ToAudioNumberOrdinal(Long_ONE)"], _label: "position_in_queue_as_ordinal_number", value: "ToAudioNumberOrdinal($positionInQueueInt)" }, toAudioNumberOrdinalFeminine: { ids: ["Audio_ONE ToAudioNumberOrdinal(Long_ONE,LanguageContextEnum_ONE...)"], _label: "position_in_queue_as_ordinal_number_feminine", value: "ToAudioNumberOrdinal($positionInQueueInt, Language.Gender.feminine, Language.Quantity.singular)" } }, systemPrompts: { position_in_queue_many_ahead: "position_in_queue_many_ahead", position_in_queue_many_ahead_2: "position_in_queue_many_ahead_2", position_in_queue_next_caller: "position_in_queue_next_caller", position_in_queue_one_caller_ahead: "position_in_queue_one_caller_ahead", position_in_queue_ordinal: "position_in_queue_ordinal", position_in_queue_ordinal_2: "position_in_queue_ordinal_2", position_in_queue_your_position_is: "position_in_queue_your_position_is", position_in_queue_your_position_is_2: "position_in_queue_your_position_is_2" }, sequenceTypes: { tts: "tts", subExpression: "subExpression", systemPrompt: "systemPrompt" } }; function o() { - o._super.constructor.call(this), Object.defineProperties(this, { _label: { value: "PIQ" }, className: { value: "PositionInQueueSequences" }, parts: { value: r2 }, adsSectionName: { value: "positionInQueue" }, languageSequences: { value: { "da-dk": "mainSequence", "de-de": "mainSequence", "de-ch": "mainSequence", "el-gr": "mainSequence", "en-au": "mainSequence", "en-gb": "mainSequence", "en-us": "mainSequence", "es-es": "localizedSequence2", "es-us": "localizedSequence2", "fi-fi": "localizedSequence3", "fil-ph": "mainSequence", "fr-ca": "mainSequence", "fr-fr": "mainSequence", "it-it": "localizedSequence1", "ja-jp": "localizedSequence1", "ms-my": "mainSequence", "nb-no": "mainSequence", "nl-nl": "mainSequence", "pl-pl": "mainSequence", "pt-br": "mainSequence", "pt-pt": "mainSequence", "sv-se": "localizedSequence1", "th-th": "mainSequence", "zh-cn": "mainSequence", "zh-hk": "mainSequence" } }, allSequences: { value: { allModes: { _label: "mode_all_no_pos", conditions: [{ _label: "caller_pos_not_set", condition: "IsNotSetOrEmpty($positionInQueueInt)", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioBlank }] }] } } }, mainSequence: { value: { number: { _label: "mode_pos_number", conditions: [{ condition: "$positionInQueueInt <= 1", _label: "caller_pos <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumber }] }] }, ordinal: { _label: "mode_pos_ordinal", conditions: [{ condition: "$positionInQueueInt <= 1", _label: "caller_pos <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberOrdinal }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal_2" }] }] }, ahead: { _label: "mode_pos_ahead", conditions: [{ _label: "caller_pos == 2", condition: "$positionInQueueInt == 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_one_caller_ahead" }] }, { _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberMinusOne }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead_2" }] }] } } }, localizedSequence1: { value: { number: { _label: "mode_pos_number", conditions: [{ _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumber }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is_2" }] }] }, ordinal: { _label: "mode_pos_ordinal", conditions: [{ _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberOrdinal }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal_2" }] }] }, ahead: { _label: "mode_pos_ahead", conditions: [{ _label: "caller_pos == 2", condition: "$positionInQueueInt == 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_one_caller_ahead" }] }, { _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberMinusOne }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead_2" }] }] } } }, localizedSequence2: { value: { number: { _label: "mode_pos_number", conditions: [{ _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumber }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is_2" }] }] }, ordinal: { _label: "mode_pos_ordinal", conditions: [{ _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberOrdinalFeminine }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal_2" }] }] }, ahead: { _label: "mode_pos_ahead", conditions: [{ _label: "caller_pos == 2", condition: "$positionInQueueInt == 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_one_caller_ahead" }] }, { _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberMinusOne }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead_2" }] }] } } }, localizedSequence3: { value: { number: { _label: "mode_pos_number", conditions: [{ condition: "$positionInQueueInt <= 1", _label: "caller_pos <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumber }] }] }, ordinal: { _label: "mode_pos_ordinal", conditions: [{ condition: "$positionInQueueInt <= 1", _label: "caller_pos <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberOrdinal }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal_2" }] }] }, ahead: { _label: "mode_pos_ahead", conditions: [{ _label: "caller_pos == 2", condition: "$positionInQueueInt == 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_one_caller_ahead" }] }, { _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 2", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberMinusOne }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead" }] }] } } } }); + o._super.constructor.call(this), Object.defineProperties(this, { _label: { value: "PIQ" }, className: { value: "PositionInQueueSequences" }, parts: { value: r2 }, adsSectionName: { value: "positionInQueue" }, languageSequences: { value: { "da-dk": "mainSequence", "de-de": "mainSequence", "de-ch": "mainSequence", "el-gr": "mainSequence", "en-au": "mainSequence", "en-gb": "mainSequence", "en-us": "mainSequence", "es-es": "localizedSequence2", "es-us": "localizedSequence2", "fi-fi": "localizedSequence3", "fil-ph": "mainSequence", "fr-ca": "mainSequence", "fr-fr": "mainSequence", "he-il": "mainSequence", "it-it": "localizedSequence1", "ja-jp": "localizedSequence1", "ms-my": "mainSequence", "nb-no": "mainSequence", "nl-nl": "mainSequence", "pl-pl": "mainSequence", "pt-br": "mainSequence", "pt-pt": "mainSequence", "sv-se": "localizedSequence1", "th-th": "mainSequence", "zh-cn": "mainSequence", "zh-hk": "mainSequence" } }, allSequences: { value: { allModes: { _label: "mode_all_no_pos", conditions: [{ _label: "caller_pos_not_set", condition: "IsNotSetOrEmpty($positionInQueueInt)", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioBlank }] }] } } }, mainSequence: { value: { number: { _label: "mode_pos_number", conditions: [{ condition: "$positionInQueueInt <= 1", _label: "caller_pos <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumber }] }] }, ordinal: { _label: "mode_pos_ordinal", conditions: [{ condition: "$positionInQueueInt <= 1", _label: "caller_pos <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberOrdinal }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal_2" }] }] }, ahead: { _label: "mode_pos_ahead", conditions: [{ _label: "caller_pos == 2", condition: "$positionInQueueInt == 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_one_caller_ahead" }] }, { _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberMinusOne }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead_2" }] }] } } }, localizedSequence1: { value: { number: { _label: "mode_pos_number", conditions: [{ _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumber }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is_2" }] }] }, ordinal: { _label: "mode_pos_ordinal", conditions: [{ _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberOrdinal }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal_2" }] }] }, ahead: { _label: "mode_pos_ahead", conditions: [{ _label: "caller_pos == 2", condition: "$positionInQueueInt == 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_one_caller_ahead" }] }, { _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberMinusOne }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead_2" }] }] } } }, localizedSequence2: { value: { number: { _label: "mode_pos_number", conditions: [{ _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumber }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is_2" }] }] }, ordinal: { _label: "mode_pos_ordinal", conditions: [{ _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberOrdinalFeminine }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal_2" }] }] }, ahead: { _label: "mode_pos_ahead", conditions: [{ _label: "caller_pos == 2", condition: "$positionInQueueInt == 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_one_caller_ahead" }] }, { _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberMinusOne }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead_2" }] }] } } }, localizedSequence3: { value: { number: { _label: "mode_pos_number", conditions: [{ condition: "$positionInQueueInt <= 1", _label: "caller_pos <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumber }] }] }, ordinal: { _label: "mode_pos_ordinal", conditions: [{ condition: "$positionInQueueInt <= 1", _label: "caller_pos <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal" }, { type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberOrdinal }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal_2" }] }] }, ahead: { _label: "mode_pos_ahead", conditions: [{ _label: "caller_pos == 2", condition: "$positionInQueueInt == 2", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_one_caller_ahead" }] }, { _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 2", sequence: [{ type: r2.sequenceTypes.subExpression, value: r2.subExpressions.toAudioNumberMinusOne }, { type: r2.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead" }] }] } } } }); } n2.extend(o), e2.exports = new o(); }, 77479: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(5478)), a = n2.__importDefault(i2(27203)), s = n2.__importDefault(i2(97891)), l = i2(21305), u = i2(81516), d = i2(70283), c = i2(80428), p = i2(82632), _ = i2(47957); - class h extends o.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(5478)), a = n2.__importDefault(i2(27203)), s = n2.__importDefault(i2(97891)), l = i2(21305), u = i2(81516), c = i2(70283), d = i2(80428), p = i2(82632), _ = n2.__importDefault(i2(4648)), h = i2(47957); + class m extends o.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -91242,17 +98221,17 @@ ${e3.stack}`, n3 = [this].concat(i3); return a.default.successFailure; } static get managedProperties() { - return [{ label: _.getSIPHeaders.sipHeaderNamesLabel, type: c.expressionTypeNames.string, options: u.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(_.getSIPHeaders.sipHeaderNamesLabel, _.getSIPHeaders.sipHeaderNamesDescription).setIninTestingField("sipHeaderNamesExpression").setAllowModeExpression(true).setIsOptional(true).setAllowNotSet(true).setModeNoValueRuntimeEvaluationStr(_.getSIPHeaders.sipHeaderNamesNoValueLabel).setModeNoValueSelectionLabel(_.getSIPHeaders.sipHeaderNamesNoValueLabel).setEmptyMessage(_.getSIPHeaders.noSipHeaderNames).setMaxItems(p.sipHeaderNamesLimits.maxItems.count, p.sipHeaderNamesLimits.maxItems.isSoftLimit), true), yamlOptions: h.createYamlOptions("sipHeaderNames", (e3) => e3.setExportOrder(1)), property: "sipHeaderNames" }, { label: _.getSIPHeaders.sipHeadersResultLabel, type: c.expressionTypeNames.json, options: l.ExpressionTypeJsonOptions.create((e3) => e3.setAsOutput().setDescriptionInfo(_.getSIPHeaders.sipHeadersResultLabel, _.getSIPHeaders.sipHeadersResultDescription).setIninTestingField("sipHeadersResultExpression")), yamlOptions: h.createYamlOptions("sipHeadersResult", (e3) => e3.setExportOrder(2)), property: "sipHeadersResult" }]; + return [{ label: h.getSIPHeaders.sipHeaderNamesLabel, type: d.expressionTypeNames.string, options: u.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(h.getSIPHeaders.sipHeaderNamesLabel, h.getSIPHeaders.sipHeaderNamesDescription).setIninTestingField("sipHeaderNamesExpression").setAllowModeExpression(true).setIsOptional(true).setAllowNotSet(true).setModeNoValueRuntimeEvaluationStr(h.getSIPHeaders.sipHeaderNamesNoValueLabel).setModeNoValueSelectionLabel(h.getSIPHeaders.sipHeaderNamesNoValueLabel).setEmptyMessage(h.getSIPHeaders.noSipHeaderNames).setMaxItems(p.sipHeaderNamesLimits.maxItems.count, p.sipHeaderNamesLimits.maxItems.isSoftLimit), true), yamlOptions: m.createYamlOptions("sipHeaderNames", (e3) => e3.setExportOrder(1)), property: "sipHeaderNames" }, { label: h.getSIPHeaders.sipHeadersResultLabel, type: d.expressionTypeNames.json, options: l.ExpressionTypeJsonOptions.create((e3) => e3.setAsOutput().setDescriptionInfo(h.getSIPHeaders.sipHeadersResultLabel, h.getSIPHeaders.sipHeadersResultDescription).setIninTestingField("sipHeadersResultExpression")), yamlOptions: m.createYamlOptions("sipHeadersResult", (e3) => e3.setExportOrder(2)), property: "sipHeadersResult" }]; } _getPossibleErrors() { - return d.getSipHeadersFailureReasons; + return c.getSipHeadersFailureReasons; } } - h.info = s.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: r2.helpTopics.actions.getSIPHeaders, modelClass: i2(60633), name: _.actions.getSIPHeaders, scriptingName: "ArchActionGetSIPHeaders" }), t2.A = h; + m.info = s.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: r2.helpTopics.actions.getSIPHeaders, modelClass: i2(60633), name: h.actions.getSIPHeaders, scriptingName: "ArchActionGetSIPHeaders", modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } } }), t2.A = m; }, 77667: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.lexAliasManager = t2.LexAliasManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(1360)), a = n2.__importDefault(i2(47532)), s = i2(81801), l = i2(24032), u = i2(30801), d = i2(34490), c = i2(77681), p = i2(27862), _ = i2(44931), h = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(1360)), a = n2.__importDefault(i2(47532)), s = i2(81801), l = i2(24032), u = i2(30801), c = i2(34490), d = i2(77681), p = i2(27862), _ = i2(44931), h = i2(47957); class m extends a.default { get requiredAuth() { return s.externalAuthorizations.authStrings.integrationView; @@ -91264,12 +98243,12 @@ ${e3.stack}`, n3 = [this].concat(i3); super(), this.topic = (0, l.getTopic)("LexAliasManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [u.lexActionType], this.actionPropertyForUsageSearch = "alias", this.apiCallList = _.getAliases, this.apiCallSingle = _.getAlias, this.defaultMatchingStyle = o.exactMatch, this.dependencyContext = h.lex.lexBotAlias, this.isDependentOnCategory = true, this.searchField = "name", this.uiMetadataSectionName = "lexBotAliases", this.className = "LexAliasManager", this._initialize(); } _createItemViewModel(e3) { - return new d.LexAliasViewModel(e3); + return new c.LexAliasViewModel(e3); } getBotCategoryForBotRunnable(e3) { if (!r2.default.isString(e3)) return this.topic.error("Object passed to getBotCategoryForBotRunnable was not a string: " + e3), null; const t3 = this.items[e3.toLowerCase()]; - return t3 ? c.lexBotNameManager.getItem(t3.botId) : null; + return t3 ? d.lexBotNameManager.getItem(t3.botId) : null; } } t2.LexAliasManager = m, t2.lexAliasManager = new m(); @@ -91295,16 +98274,16 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 77681: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.lexBotNameManager = t2.LexBotNameManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importDefault(i2(47532)), a = i2(81801), s = i2(24032), l = i2(30801), u = i2(11865), d = i2(30801), c = i2(27862), p = i2(44931), _ = i2(24171), h = i2(47957); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importDefault(i2(47532)), a = i2(81801), s = i2(24032), l = i2(30801), u = i2(11865), c = i2(30801), d = i2(27862), p = i2(44931), _ = i2(24171), h = i2(47957); class m extends o.default { get requiredAuth() { return a.externalAuthorizations.authStrings.integrationView; } get dependencyType() { - return c.LexBot; + return d.LexBot; } constructor() { - super(), this.topic = (0, s.getTopic)("LexBotNameManager"), this._rawServerCache = {}, this.apiCallList = p.getBots, this.apiCallSingle = void 0, this.className = "LexBotNameManager", this.defaultMatchingStyle = r2.exactMatch, this.dependencyContext = h.lex.botName, this.noApiCallSingle = true, this.searchField = "name", this.uiMetadataSectionName = "lexBotNames", this.actionsForUsageSearch = [l.lexActionType, d.lexV2ActionType], this.actionPropertyForUsageSearch = "bot", this._initialize(); + super(), this.topic = (0, s.getTopic)("LexBotNameManager"), this._rawServerCache = {}, this.apiCallList = p.getBots, this.apiCallSingle = void 0, this.className = "LexBotNameManager", this.defaultMatchingStyle = r2.exactMatch, this.dependencyContext = h.lex.botName, this.noApiCallSingle = true, this.searchField = "name", this.uiMetadataSectionName = "lexBotNames", this.actionsForUsageSearch = [l.lexActionType, c.lexV2ActionType], this.actionPropertyForUsageSearch = "bot", this._initialize(); } get _networkModel() { return this.apiCallList.api ? this.apiCallList.api.DataContract : _; @@ -91314,47 +98293,6 @@ ${e3.stack}`, n3 = [this].concat(i3); } } t2.LexBotNameManager = m, t2.lexBotNameManager = new m(); - }, 77685: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.activeHelpTopic$ = t2.showHelpTopic$ = t2.toggleExpressionHelp$ = t2.themeUrlSuffix = void 0, t2.getHelpUrl = d, t2.openHelpSystemArticleInNewWindow = function(e3) { - let t3; - t3 = e3 ? c(e3) : (0, o.getHelpUrlRoot)((0, u.getCurrentLanguage)()), window.open(t3, "_blank"); - }, t2.getHelpSystemArticleUrl = c, t2.toggleExpressionHelp = function() { - p.next(void 0); - }, t2.openExpressionHelp = function(e3) { - p.next(e3); - }, t2.getOpenHelpParams = function() { - return h; - }, t2.openHelpTopic = function(e3, t3) { - const i3 = t3 || {}; - h = i3, i3.forceNewWindow ? window.open(d(e3), "_blank") : _.next(e3); - }, t2.advertiseHelpTopic = function(e3, t3) { - f(e3, true), m.push({ owner: e3, helpTopic: t3 }), g(); - }, t2.removeAdvertisedHelpTopic = f; - const n2 = i2(79364), r2 = i2(79364), o = i2(12179), a = i2(12179), s = i2(12179), l = i2(12179), u = i2(74359); - function d(e3, i3) { - return e3 || (e3 = "main"), e3 === l.helpTopics.articles.resourceCenter ? (0, o.getHelpUrlRoot)((0, u.getCurrentLanguage)()) : `${(0, a.getArchitectHelpPrefix)((0, u.getCurrentLanguage)())}/${e3}${i3 ? t2.themeUrlSuffix : ""}`; - } - function c(e3) { - return e3 ? `${(0, s.getSystemArticlePrefix)((0, u.getCurrentLanguage)())}/${e3}` : (0, o.getHelpUrlRoot)((0, u.getCurrentLanguage)()); - } - t2.themeUrlSuffix = "?theme=simplified"; - const p = new n2.BehaviorSubject(void 0); - t2.toggleExpressionHelp$ = p.asObservable(); - const _ = new r2.Subject(); - t2.showHelpTopic$ = _.asObservable(); - let h = {}; - t2.activeHelpTopic$ = new n2.BehaviorSubject(void 0); - const m = []; - function g() { - var e3; - const i3 = m[m.length - 1]; - (null === (e3 = t2.activeHelpTopic$.value) || void 0 === e3 ? void 0 : e3.helpTopic) !== (null == i3 ? void 0 : i3.helpTopic) && t2.activeHelpTopic$.next(i3); - } - function f(e3, t3) { - const i3 = m.findIndex((t4) => t4.owner === e3); - i3 >= 0 && m.splice(i3, 1), t3 || g(); - } }, 77697: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -91439,10 +98377,10 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }), t2.GetConversationAttributeActionModel = void 0; - const o = i2(31635), a = i2(70630), s = i2(80295), l = o.__importDefault(i2(7401)), u = i2(30801), d = i2(80295); - class c extends a.BaseConversationAttributeActionModel { + const o = i2(31635), a = i2(70630), s = i2(80295), l = o.__importDefault(i2(7401)), u = i2(30801), c = i2(80295); + class d extends a.BaseConversationAttributeActionModel { constructor(e3) { - super(e3), this.__type = c.__type, (0, d.makeUnenumerable)(this, "_recordId"), (0, d.makeUnenumerable)(this, "_output"); + super(e3), this.__type = d.__type, (0, c.makeUnenumerable)(this, "_recordId"), (0, c.makeUnenumerable)(this, "_output"); } get recordId() { return this._recordId; @@ -91465,7 +98403,7 @@ ${e3.stack}`, n3 = [this].concat(i3); super.pasteResolveOldToNewValues(e3), this.recordId.pasteResolveOldToNewValues(e3), null === (t3 = this.output) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3); } } - t2.GetConversationAttributeActionModel = c, c.__type = u.getConversationAttributeActionType, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "recordId", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== l.default && l.default) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "output", null), c.registerType(); + t2.GetConversationAttributeActionModel = d, d.__type = u.getConversationAttributeActionType, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "recordId", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== l.default && l.default) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "output", null), d.registerType(); }, 77838: (e2, t2, i2) => { let n2 = null; if (i2(6697)) n2 = i2(92421); @@ -91483,7 +98421,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 77841: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.grammarManager = t2.GrammarManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(95873)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = i2(30801), l = n2.__importDefault(i2(47532)), u = i2(81801), d = n2.__importDefault(i2(43933)), c = i2(57416), p = i2(27862), _ = i2(47957); + const n2 = i2(31635), r2 = n2.__importStar(i2(95873)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = i2(30801), l = n2.__importDefault(i2(47532)), u = i2(81801), c = n2.__importDefault(i2(43933)), d = i2(57416), p = i2(27862), _ = i2(47957); class h extends l.default { get requiredAuth() { return u.externalAuthorizations.authStrings.grammarView; @@ -91495,10 +98433,10 @@ ${e3.stack}`, n3 = [this].concat(i3); super(), this.topic = a.getTopic("GrammarManager"), this.apiCallList = r2.getGrammars, this.apiCallSingle = r2.getGrammar, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [s.askForSlotActionType], this.className = "GrammarManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = _.grammars.grammarLabel, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "grammars", this.useStartsWithKeywordForExactMatch = true, this._initialize(); } _createItemViewModel(e3) { - return new c.GrammarViewModel(e3); + return new d.GrammarViewModel(e3); } get _networkModel() { - return d.default; + return c.default; } } t2.GrammarManager = h, t2.grammarManager = new h(); @@ -91572,7 +98510,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const n2 = (0, i2(24032).getTopic)("subscriptionTopics"); }, 77953: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = i2(27667), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(27203)), l = i2(64720), u = i2(80428), d = i2(81516), c = i2(27667), p = i2(27667), _ = i2(12179), h = i2(99469), m = n2.__importDefault(i2(97891)), g = i2(87870), f = i2(82632), T = i2(61568), y = i2(29626), S = i2(17604), A = n2.__importDefault(i2(41510)), N = i2(47957); + const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = i2(27667), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(27203)), l = i2(64720), u = i2(80428), c = i2(81516), d = i2(27667), p = i2(27667), _ = i2(12179), h = i2(99469), m = n2.__importDefault(i2(97891)), g = i2(87870), f = i2(82632), T = i2(61568), y = i2(29626), S = i2(17604), A = n2.__importDefault(i2(41510)), N = n2.__importDefault(i2(4648)), v = i2(47957); class O extends a.default { static get branchInfo() { return s.default.successFailure; @@ -91581,7 +98519,7 @@ ${e3.stack}`, n3 = [this].concat(i3); super(e3.parentFlow, e3), this._loadModel(t3); } static get managedProperties() { - return [{ createDetails: g.NoteActionProperty.createCreateDetails(N.sendRichLink.showNote, "info", "showNote"), options: h.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(0)), property: "showNote", yamlOptions: O.createYamlOptions("showNote", (e3) => e3.setSkipProperty(true)) }, { label: N.sendRichLink.headerType, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setDescriptionInfo(N.sendRichLink.headerType, N.sendRichLink.headerTypeDescription).setIninTestingField("headerType").setUiPropertyCardGroup(N.sendRichLink.uiPanelName, void 0, false).setModeNoValueSelectionLabel(N.sendRichLink.headerTypeNoValueSelectionLabel).setModeNoValueRuntimeEvaluationStr(N.sendRichLink.headerTypeNoValueRuntimeEvalStr).setUiPropertyOrder(1).facets.setAllowableValues(o.allHeaderTypeChoices, true).setAllowableValuePlaceholder(N.sendRichLink.headerTypePlaceholder)), property: "headerType", type: u.expressionTypeNames.string }, { label: N.sendRichLink.headerText, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(N.sendRichLink.headerText, N.sendRichLink.headerTextDescription).setIninTestingField("headerText").setUiPropertyCardGroup(N.sendRichLink.uiPanelName, void 0, false).setUiPropertyOrder(2).facets.setMinLength(f.richLink.header.minLength).setMaxLength(f.richLink.header.maxLength)), property: "headerText", type: u.expressionTypeNames.string }, { label: N.sendRichLink.headerImage, options: l.ExpressionTypeImageOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(N.sendRichLink.headerImage, N.sendRichLink.headerImageDescription).setIninTestingField("headerImage").setUiPropertyCardGroup(N.sendRichLink.uiPanelName, void 0, false).setUiPropertyOrder(3)), property: "headerImage", type: u.expressionTypeNames.image }, { label: N.sendRichLink.body, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(N.sendRichLink.body, N.sendRichLink.bodyDescription).setIninTestingField("body").setUiPropertyCardGroup(N.sendRichLink.uiPanelName, "title", false).setUiPropertyOrder(4).facets.setMinLength(f.richLink.body.minLength).setMaxLength(f.richLink.body.maxLength)), property: "body", type: u.expressionTypeNames.string }, { label: N.sendRichLink.footer, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setDescriptionInfo(N.sendRichLink.footer, N.sendRichLink.footerDescription).setIninTestingField("footer").setUiPropertyCardGroup(N.sendRichLink.uiPanelName, "subtitle", false).setModeNoValueSelectionLabel(N.sendRichLink.footerNoValueSelectionLabel).setModeNoValueRuntimeEvaluationStr(N.sendRichLink.footerNoValueRuntimeEvalStr).setUiPropertyOrder(5).facets.setMinLength(f.richLink.footer.minLength).setMaxLength(f.richLink.footer.maxLength)), property: "footer", type: u.expressionTypeNames.string }, { label: N.sendRichLink.urlValue, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(N.sendRichLink.urlValue, (0, S.sprintf)(A.default.generic.threeStringsSpaceSeparator, N.sendRichLink.urlValueDescription, N.generic.urlFormat, N.sendRichLink.urlInvalidWarning)).setIninTestingField("urlValue").setUiPropertyCardGroup(N.sendRichLink.uiPanelName, void 0, false).setUiPropertyOrder(6).facets.setMinLength(f.richLink.url.minLength)), property: "urlValue", type: u.expressionTypeNames.string }, { label: N.sendRichLink.urlLabel, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(N.sendRichLink.urlLabel, N.sendRichLink.urlLabelDescription).setIninTestingField("urlLabel").setUiPropertyCardGroup(N.sendRichLink.uiPanelName, void 0, false).setUiPropertyOrder(7).facets.setMinLength(f.richLink.urlLabel.minLength).setMaxLength(f.richLink.urlLabel.maxLength)), property: "urlLabel", type: u.expressionTypeNames.string }]; + return [{ createDetails: g.NoteActionProperty.createCreateDetails(v.sendRichLink.showNote, "info", "showNote"), options: h.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(0)), property: "showNote", yamlOptions: O.createYamlOptions("showNote", (e3) => e3.setSkipProperty(true)) }, { label: v.sendRichLink.headerType, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setDescriptionInfo(v.sendRichLink.headerType, v.sendRichLink.headerTypeDescription).setIninTestingField("headerType").setUiPropertyCardGroup(v.sendRichLink.uiPanelName, void 0, false).setModeNoValueSelectionLabel(v.sendRichLink.headerTypeNoValueSelectionLabel).setModeNoValueRuntimeEvaluationStr(v.sendRichLink.headerTypeNoValueRuntimeEvalStr).setUiPropertyOrder(1).facets.setAllowableValues(o.allHeaderTypeChoices, true).setAllowableValuePlaceholder(v.sendRichLink.headerTypePlaceholder)), property: "headerType", type: u.expressionTypeNames.string }, { label: v.sendRichLink.headerText, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(v.sendRichLink.headerText, v.sendRichLink.headerTextDescription).setIninTestingField("headerText").setUiPropertyCardGroup(v.sendRichLink.uiPanelName, void 0, false).setUiPropertyOrder(2).facets.setMinLength(f.richLink.header.minLength).setMaxLength(f.richLink.header.maxLength)), property: "headerText", type: u.expressionTypeNames.string }, { label: v.sendRichLink.headerImage, options: l.ExpressionTypeImageOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(v.sendRichLink.headerImage, v.sendRichLink.headerImageDescription).setIninTestingField("headerImage").setUiPropertyCardGroup(v.sendRichLink.uiPanelName, void 0, false).setUiPropertyOrder(3)), property: "headerImage", type: u.expressionTypeNames.image }, { label: v.sendRichLink.body, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(v.sendRichLink.body, v.sendRichLink.bodyDescription).setIninTestingField("body").setUiPropertyCardGroup(v.sendRichLink.uiPanelName, "title", false).setUiPropertyOrder(4).facets.setMinLength(f.richLink.body.minLength).setMaxLength(f.richLink.body.maxLength)), property: "body", type: u.expressionTypeNames.string }, { label: v.sendRichLink.footer, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setDescriptionInfo(v.sendRichLink.footer, v.sendRichLink.footerDescription).setIninTestingField("footer").setUiPropertyCardGroup(v.sendRichLink.uiPanelName, "subtitle", false).setModeNoValueSelectionLabel(v.sendRichLink.footerNoValueSelectionLabel).setModeNoValueRuntimeEvaluationStr(v.sendRichLink.footerNoValueRuntimeEvalStr).setUiPropertyOrder(5).facets.setMinLength(f.richLink.footer.minLength).setMaxLength(f.richLink.footer.maxLength)), property: "footer", type: u.expressionTypeNames.string }, { label: v.sendRichLink.urlValue, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(v.sendRichLink.urlValue, (0, S.sprintf)(A.default.generic.threeStringsSpaceSeparator, v.sendRichLink.urlValueDescription, v.generic.urlFormat, v.sendRichLink.urlInvalidWarning)).setIninTestingField("urlValue").setUiPropertyCardGroup(v.sendRichLink.uiPanelName, void 0, false).setUiPropertyOrder(6).facets.setMinLength(f.richLink.url.minLength)), property: "urlValue", type: u.expressionTypeNames.string }, { label: v.sendRichLink.urlLabel, options: c.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(v.sendRichLink.urlLabel, v.sendRichLink.urlLabelDescription).setIninTestingField("urlLabel").setUiPropertyCardGroup(v.sendRichLink.uiPanelName, void 0, false).setUiPropertyOrder(7).facets.setMinLength(f.richLink.urlLabel.minLength).setMaxLength(f.richLink.urlLabel.maxLength)), property: "urlLabel", type: u.expressionTypeNames.string }]; } initializeDesignTime() { super.initializeDesignTime(), this.addAutoCleanedUpEventSinkWatch(r2.expressionValueChanged, this.headerType, () => { @@ -91591,16 +98529,19 @@ ${e3.stack}`, n3 = [this].concat(i3); }), this._updateState(); } _updateOutOfService() { - this.headerText.outOfService = this._shouldOOSHeaderType(p.headerTypeTextChoice.id), this.headerImage.outOfService = this._shouldOOSHeaderType(c.headerTypeImageChoice.id); + this.headerText.outOfService = this._shouldOOSHeaderType(p.headerTypeTextChoice.id), this.headerImage.outOfService = this._shouldOOSHeaderType(d.headerTypeImageChoice.id); } _shouldOOSHeaderType(e3) { var t3; if (!(null === (t3 = this.headerType.text) || void 0 === t3 ? void 0 : t3.length)) return true; - const i3 = this.headerType.getStringTypeDesignTimeAllowableValue(); - return i3 && i3.id !== e3; + if (!this.headerType.options.hasAllowableValues) return false; + const i3 = this.headerType.type.getDesignTimeStringValue(this.headerType); + if (!(null == i3 ? void 0 : i3.length)) return false; + const n3 = this.headerType.options.getAllowableValueForValue(i3); + return "string" != typeof n3 && !!n3 && n3.id !== e3; } _updateCardProperties() { - this.headerText.outOfService && this.headerImage.outOfService ? (this.body.options.setUiPropertyCardGroup(N.sendRichLink.uiPanelName, "title", false), this.footer.options.setUiPropertyCardGroup(N.sendRichLink.uiPanelName, "subtitle", false), this.headerText.options.setUiPropertyCardGroup(N.sendRichLink.uiPanelName, void 0, false), this.headerImage.options.setUiPropertyCardGroup(N.sendRichLink.uiPanelName, void 0, false)) : this.headerImage.outOfService ? (this.headerText.options.setUiPropertyCardGroup(N.sendRichLink.uiPanelName, "title", false), this.body.options.setUiPropertyCardGroup(N.sendRichLink.uiPanelName, "subtitle", false), this.headerImage.options.setUiPropertyCardGroup(N.sendRichLink.uiPanelName, void 0, false), this.footer.options.setUiPropertyCardGroup(N.sendRichLink.uiPanelName, void 0, false)) : (this.headerImage.options.setUiPropertyCardGroup(N.sendRichLink.uiPanelName, "image", false), this.body.options.setUiPropertyCardGroup(N.sendRichLink.uiPanelName, "title", false), this.footer.options.setUiPropertyCardGroup(N.sendRichLink.uiPanelName, "subtitle", false), this.headerText.options.setUiPropertyCardGroup(N.sendRichLink.uiPanelName, void 0, false)); + this.headerText.outOfService && this.headerImage.outOfService ? (this.body.options.setUiPropertyCardGroup(v.sendRichLink.uiPanelName, "title", false), this.footer.options.setUiPropertyCardGroup(v.sendRichLink.uiPanelName, "subtitle", false), this.headerText.options.setUiPropertyCardGroup(v.sendRichLink.uiPanelName, void 0, false), this.headerImage.options.setUiPropertyCardGroup(v.sendRichLink.uiPanelName, void 0, false)) : this.headerImage.outOfService ? (this.headerText.options.setUiPropertyCardGroup(v.sendRichLink.uiPanelName, "title", false), this.body.options.setUiPropertyCardGroup(v.sendRichLink.uiPanelName, "subtitle", false), this.headerImage.options.setUiPropertyCardGroup(v.sendRichLink.uiPanelName, void 0, false), this.footer.options.setUiPropertyCardGroup(v.sendRichLink.uiPanelName, void 0, false)) : (this.headerImage.options.setUiPropertyCardGroup(v.sendRichLink.uiPanelName, "image", false), this.body.options.setUiPropertyCardGroup(v.sendRichLink.uiPanelName, "title", false), this.footer.options.setUiPropertyCardGroup(v.sendRichLink.uiPanelName, "subtitle", false), this.headerText.options.setUiPropertyCardGroup(v.sendRichLink.uiPanelName, void 0, false)); } _updateState() { this._updateOutOfService(), this._updateCardProperties(); @@ -91609,7 +98550,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return y.sendRichLinkFailureReasons; } } - O.info = m.default.createActionInfo({ actionClass: O, canBeInTask: true, canBeTreeNode: false, helpTopic: _.helpTopics.actions.sendRichLink, modelClass: T.SendRichLinkActionModel, name: N.actions.sendRichLink, scriptingName: "ArchActionSendRichLink" }), t2.A = O; + O.info = m.default.createActionInfo({ actionClass: O, canBeInTask: true, canBeTreeNode: false, helpTopic: _.helpTopics.actions.sendRichLink, modelClass: T.SendRichLinkActionModel, name: v.actions.sendRichLink, scriptingName: "ArchActionSendRichLink", modelFormatSupport: { flowYaml: { inProgress: true, feature: N.default.changeSetsFeaturePhase2 } } }), t2.A = O; }, 78051: function(e2, t2, i2) { "use strict"; var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { @@ -91665,8 +98606,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }; }, 78091: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(20083), a = i2(80428), s = i2(9311), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(20083), a = i2(80428), s = i2(9311), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -91674,7 +98615,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.findKnowledgeBaseDocument.findKnowledgeBaseDocumentIdLabel, searchResultLabel: d.findActions.findKnowledgeBaseDocument.findKnowledgeBaseDocumentResultLabel, searchResultExpressionOptions: o.ExpressionTypeKnowledgeBaseDocumentOptions.create(), searchResultItemType: a.expressionTypeNames.knowledgeBaseDocument }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findKnowledgeBaseDocumentById, modelClass: s.FindKnowledgeBaseDocumentByIdActionModel, name: d.actions.findKnowledgeBaseDocumentById, scriptingName: "ArchActionFindKnowledgeBaseDocumentById" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findKnowledgeBaseDocumentById, modelClass: s.FindKnowledgeBaseDocumentByIdActionModel, name: d.actions.findKnowledgeBaseDocumentById, scriptingName: "ArchActionFindKnowledgeBaseDocumentById", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 78102: (e2, t2, i2) => { const n2 = i2(62979).default; function r2() { @@ -91691,20 +98632,20 @@ ${e3.stack}`, n3 = [this].concat(i3); } } }), e2.exports = r2; }, 78105: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(97891)), o = i2(81516), a = i2(80428), s = i2(96546), l = n2.__importDefault(i2(27203)), u = i2(79537), d = i2(12179), c = i2(81904), p = i2(49892), _ = i2(79467), h = n2.__importDefault(i2(73198)), m = n2.__importStar(i2(63824)), g = i2(82632), f = n2.__importDefault(i2(47163)), T = i2(87870), y = i2(47957), S = i2(21733); - class A extends f.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(97891)), o = i2(81516), a = i2(80428), s = i2(96546), l = n2.__importDefault(i2(27203)), u = i2(79537), c = i2(12179), d = i2(81904), p = i2(49892), _ = i2(79467), h = n2.__importDefault(i2(73198)), m = n2.__importStar(i2(63824)), g = i2(82632), f = n2.__importDefault(i2(47163)), T = i2(87870), y = n2.__importDefault(i2(4648)), S = i2(47957), A = i2(21733); + class N extends f.default { constructor(e3, t3) { super(e3), this._loadModel(t3); } setNewInstanceDefaults(e3) { super.setNewInstanceDefaults(e3); - const t3 = S(this.parentFlow.defaultLanguage).askForAuthentication.noInputDigitalBot; + const t3 = A(this.parentFlow.defaultLanguage).askForAuthentication.noInputDigitalBot; this.setNewInstanceNoInputText(t3); - const i3 = S(this.parentFlow.defaultLanguage).askForAuthentication.noMatchDigitalBot; + const i3 = A(this.parentFlow.defaultLanguage).askForAuthentication.noMatchDigitalBot; this.setNewInstanceNoMatchText(i3), this.setBranchOutOfService(l.default.maxNoInputsOptional.outputId), this.setBranchOutOfService(l.default.maxNoMatchesOptional.outputId); } static get managedProperties() { - return [{ createDetails: T.NoteActionProperty.createCreateDetails(y.askForAuthentication.askForAuthChannelNote, "info", "askForAuthenticationChannelNote"), property: "channelAlert", options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(1)), yamlOptions: A.createYamlOptions("channelAlert", (e3) => e3.setSkipProperty(true)) }, { label: y.askForAuthentication.askForAuthSignInMessage, options: o.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDefaultText(y.askForAuthentication.askForAuthSignInMessageDefault).setIninTestingField("signInMessage").setUiPropertyOrder(2).setAllowNotSet(false).facets.setAllowNull(false).setMinLength(g.askForAuthentication.signInMessage.minLength).setMaxLength(g.askForAuthentication.signInMessage.maxLength)), property: "signInMessage", type: a.expressionTypeNames.string }, { label: y.askForAuthentication.askForAuthSuccessMessage, options: o.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDefaultText(y.askForAuthentication.askForAuthSuccessMessageDefault).setIninTestingField("successMessage").setUiPropertyOrder(3).setAllowNotSet(false).facets.setAllowNull(false).setMinLength(g.askForAuthentication.successMessage.minLength).setMaxLength(g.askForAuthentication.successMessage.maxLength)), property: "successMessage", type: a.expressionTypeNames.string }, { label: y.askForAuthentication.askForAuthCompletionTimeout, options: _.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("authenticationCompletionTimeout").setDescriptionInfo(y.askForAuthentication.askForAuthCompletionTimeout, y.askForAuthentication.askForAuthCompletionTimeoutDesc).setDefaultText(h.default.litDurationThreeMinutes).setDurationStyle(m.durationStyles.fullDuration).setUiPropertyOrder(4).facets.setMinDur(g.askForAuthentication.authenticationCompletionTimeout.minDuration, g.askForAuthentication.authenticationCompletionTimeout.minDurationInclusive).setMaxDur(g.askForAuthentication.authenticationCompletionTimeout.maxDuration, g.askForAuthentication.authenticationCompletionTimeout.maxDurationInclusive)), property: "authenticationCompletionTimeout", type: a.expressionTypeNames.duration }]; + return [{ createDetails: T.NoteActionProperty.createCreateDetails(S.askForAuthentication.askForAuthChannelNote, "info", "askForAuthenticationChannelNote"), property: "channelAlert", options: p.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyOrder(1)), yamlOptions: N.createYamlOptions("channelAlert", (e3) => e3.setSkipProperty(true)) }, { label: S.askForAuthentication.askForAuthSignInMessage, options: o.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDefaultText(S.askForAuthentication.askForAuthSignInMessageDefault).setIninTestingField("signInMessage").setUiPropertyOrder(2).setAllowNotSet(false).facets.setAllowNull(false).setMinLength(g.askForAuthentication.signInMessage.minLength).setMaxLength(g.askForAuthentication.signInMessage.maxLength)), property: "signInMessage", type: a.expressionTypeNames.string }, { label: S.askForAuthentication.askForAuthSuccessMessage, options: o.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDefaultText(S.askForAuthentication.askForAuthSuccessMessageDefault).setIninTestingField("successMessage").setUiPropertyOrder(3).setAllowNotSet(false).facets.setAllowNull(false).setMinLength(g.askForAuthentication.successMessage.minLength).setMaxLength(g.askForAuthentication.successMessage.maxLength)), property: "successMessage", type: a.expressionTypeNames.string }, { label: S.askForAuthentication.askForAuthCompletionTimeout, options: _.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("authenticationCompletionTimeout").setDescriptionInfo(S.askForAuthentication.askForAuthCompletionTimeout, S.askForAuthentication.askForAuthCompletionTimeoutDesc).setDefaultText(h.default.litDurationThreeMinutes).setDurationStyle(m.durationStyles.fullDuration).setUiPropertyOrder(4).facets.setMinDur(g.askForAuthentication.authenticationCompletionTimeout.minDuration, g.askForAuthentication.authenticationCompletionTimeout.minDurationInclusive).setMaxDur(g.askForAuthentication.authenticationCompletionTimeout.maxDuration, g.askForAuthentication.authenticationCompletionTimeout.maxDurationInclusive)), property: "authenticationCompletionTimeout", type: a.expressionTypeNames.duration }]; } get supportsCustomOutputPaths() { return true; @@ -91719,7 +98660,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return u.askForAuthenticationFailureReasons; } } - A.info = r2.default.createActionInfo({ actionClass: A, canBeInTask: true, helpTopic: d.helpTopics.actions.askForAuthentication, modelClass: c.AskForAuthenticationActionModel, name: y.actions.askForAuthentication, scriptingName: "ArchActionAskForAuthentication", supportedSessionSources: s.appleBusinessOnly, supportsUtteranceHistoricalData: true }), t2.A = A; + N.info = r2.default.createActionInfo({ actionClass: N, canBeInTask: true, helpTopic: c.helpTopics.actions.askForAuthentication, modelClass: d.AskForAuthenticationActionModel, name: S.actions.askForAuthentication, scriptingName: "ArchActionAskForAuthentication", supportedSessionSources: s.appleBusinessOnly, supportsUtteranceHistoricalData: true, modelFormatSupport: { flowYaml: { inProgress: true, feature: y.default.changeSetsFeaturePhase2 } } }), t2.A = N; }, 78234: (e2, t2, i2) => { function n2() { this.dataTypeDef = void 0, n2.baseConstructor.apply(this, arguments); @@ -91775,7 +98716,8 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }), t2.getConversationCustomAttributeSchemas = a, t2.getConversationCustomAttributeSchema = s; const n2 = i2(31635), r2 = n2.__importStar(i2(66359)), o = n2.__importDefault(i2(36019)); function a(e3) { - return o.default.build(r2.getConversationCustomAttributeSchemas).call(); + const t3 = o.default.build(r2.getConversationCustomAttributeSchemas), i3 = Object.assign(Object.assign({}, e3.additionalParams), { pageSize: e3.defaultPageSize }); + return e3.searchTerm && (i3.query = e3.searchTerm), e3.after && (i3.after = e3.after), t3.queryParams(i3), t3.call(); } function s(e3) { return o.default.build(r2.getConversationCustomAttributeSchema).templateParams({ id: e3 }).call(); @@ -91783,8 +98725,8 @@ ${e3.stack}`, n3 = [this].concat(i3); a.api = r2.getConversationCustomAttributeSchemas, s.api = r2.getConversationCustomAttributeSchema; }, 78306: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(81516), a = i2(99469), s = i2(36128), l = n2.__importDefault(i2(27203)), u = i2(64437), d = i2(12179), c = n2.__importDefault(i2(97891)), p = i2(28803), _ = n2.__importDefault(i2(88391)), h = i2(80428), m = i2(47957); - class g extends _.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(69453), a = i2(80428), s = i2(81516), l = i2(99469), u = i2(36128), c = n2.__importDefault(i2(27203)), d = i2(64437), p = n2.__importDefault(i2(4648)), _ = i2(12179), h = n2.__importDefault(i2(97891)), m = i2(1910), g = i2(1910), f = i2(28803), T = n2.__importDefault(i2(88391)), y = i2(17604), S = i2(47957); + class A extends T.default { constructor(e3, t3) { super(e3, t3); } @@ -91793,10 +98735,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return null == e3 ? void 0 : e3.applicationName; } static get branchInfo() { - return l.default.successFailure; + return c.default.successFailure; } static get managedProperties() { - return [{ property: "botIntegration", skipNetworkPropertyDependencyUpdate: true, createDetails: p.NetworkBasedActionProperty.createCreateDetails("integrationId", "integrationName", u.audioConnectorManager, m.callAudioConnector.mustSelectAudioConnectorIntegration, m.botGeneric.selectedBotIntegrationNotFound, null), yamlOptions: g.createYamlOptions("botIntegration", (e3) => e3.setSkipProperty(true)), label: m.callAudioConnector.audioConnectorType, options: a.ManagedPropertyOptions.create((e3) => e3.setDescriptionInfo(m.integration.name, m.callAudioConnector.audioConnectorIntegrationDescription)) }, { property: "connectorId", label: m.callAudioConnector.connectorId, type: h.expressionTypeNames.string, options: o.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("connectorId").setAllowNotSet(false).setIsOptional(false).facets.setMinLength(1).setAllowNull(false)) }, { property: "sessionVariables", namedItems: true, isOutput: false, options: s.NameValuePairsOptions.create((e3) => e3.setNameLabel(m.updateVariables.variableName).setValueLabel(m.updateVariables.variableValue).setAllowLiteralModeOnlyOnName(true)), yamlOptions: g.createYamlOptions("sessionVariables", (e3) => e3.setWrappedCollectionItemName("sessionVariable")) }, { property: "outputSessionVariables", namedItems: true, isOutput: true, options: s.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(m.dialogflow.sessionKeyLabel).setValueLabel(m.getAttributes.variableLabel)), yamlOptions: g.createYamlOptions("outputSessionVariables", (e3) => e3.setWrappedCollectionItemName("outputSessionVariable").setNameValuePairShouldUseVariableProperty(true)) }, { dataList: true, isOutput: true, property: "errorBindings", yamlOptions: g.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }]; + return [{ property: "botIntegration", skipNetworkPropertyDependencyUpdate: true, createDetails: f.NetworkBasedActionProperty.createCreateDetails("integrationId", "integrationName", d.audioConnectorManager, S.callAudioConnector.mustSelectAudioConnectorIntegration, S.botGeneric.selectedBotIntegrationNotFound, null), yamlOptions: A.createYamlOptions("botIntegration", (e3) => e3.setSkipProperty(true)), label: S.callAudioConnector.audioConnectorType, options: l.ManagedPropertyOptions.create((e3) => e3.setDescriptionInfo(S.integration.name, S.callAudioConnector.audioConnectorIntegrationDescription)) }, { property: "connectorId", label: S.callAudioConnector.connectorId, type: a.expressionTypeNames.string, options: s.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("connectorId").setAllowNotSet(false).setIsOptional(false).facets.setMinLength(1).setAllowNull(false)) }, { property: "sessionVariables", namedItems: true, isOutput: false, options: u.NameValuePairsOptions.create((e3) => e3.setNameLabel(S.updateVariables.variableName).setValueLabel(S.updateVariables.variableValue).setAllowLiteralModeOnlyOnName(true)), yamlOptions: A.createYamlOptions("sessionVariables", (e3) => e3.setWrappedCollectionItemName("sessionVariable")) }, { property: "outputSessionVariables", namedItems: true, isOutput: true, options: u.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(S.dialogflow.sessionKeyLabel).setValueLabel(S.getAttributes.variableLabel)), yamlOptions: A.createYamlOptions("outputSessionVariables", (e3) => e3.setWrappedCollectionItemName("outputSessionVariable").setNameValuePairShouldUseVariableProperty(true)) }, { dataList: true, isOutput: true, property: "errorBindings", yamlOptions: A.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }]; } get botRunnableProperty() { return this.botIntegration; @@ -91816,6 +98758,24 @@ ${e3.stack}`, n3 = [this].concat(i3); get shouldSkipLanguageValidation() { return true; } + _configureFromModel(e3, t3, i3) { + if ((0, m.isConfigureFromModelRecord)(e3.integration)) { + const r3 = e3.integration, a2 = Object.keys(r3)[0]; + if (a2) { + const e4 = t3, s2 = (0, m.isConfigureFromModelRecord)(r3[a2]) ? r3[a2] : void 0; + i3.registerDeferredOp({ type: "resolveAudioConnectorIntegration", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + try { + const t4 = yield (0, g.resolveNamedConfigListEntity)(i3, d.audioConnectorManager.dependencyType.value, a2, d.audioConnectorManager); + t4 ? (this.botIntegration.setValue({ id: t4.id, name: a2 }), s2 && (s2.connectorId && this.connectorId && this.connectorId.configureFromModel(s2.connectorId, e4, i3), s2.failureOutputs && this.errorBindings && (i3.currentPropertyName = "failureOutputs", this.errorBindings.configureFromModel(s2.failureOutputs, e4, i3), i3.currentPropertyName = void 0))) : i3.warn((0, y.sprintf)(o.configureFromModel.failedToResolve, "audio connector integration", a2)); + } catch (e5) { + const t4 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, y.sprintf)(o.configureFromModel.entityResolutionFailed, "audio connector", a2, t4)); + } + }) }); + } + } + super._configureFromModel(e3, t3, i3); + } postProcessYamlConfig(e3, t3, i3) { if (this.botRunnableProperty.idValue || (this.removeYamlExportPropsThatRequireRunnable(e3), delete e3.connectorId), !this.botIntegration.nameValue) return; e3.integration = {}; @@ -91823,12 +98783,12 @@ ${e3.stack}`, n3 = [this].concat(i3); r2.default.moveAndDeleteProperty(e3, n3, "connectorId"), this.commonBotPostProcessYamlConfig(e3, n3); } } - g.info = c.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: d.helpTopics.actions.callAudioConnector, modelClass: i2(19886), name: m.actions.callAudioConnector, scriptingName: "ArchActionCallAudioConnector" }), t2.A = g; + A.info = h.default.createActionInfo({ actionClass: A, canBeInTask: true, helpTopic: _.helpTopics.actions.callAudioConnector, modelClass: i2(19886), name: S.actions.callAudioConnector, scriptingName: "ArchActionCallAudioConnector", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = A; }, 78322: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(3220)), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(56549)), l = i2(63221), u = i2(67801), d = i2(18894), c = n2.__importDefault(i2(67336)), p = n2.__importStar(i2(10798)), _ = n2.__importDefault(i2(4648)), h = n2.__importDefault(i2(65449)), m = n2.__importDefault(i2(6953)), g = i2(89599); - class f extends c.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(3220)), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(56549)), l = i2(63221), u = i2(67801), c = i2(18894), d = n2.__importDefault(i2(67336)), p = n2.__importStar(i2(10798)), _ = n2.__importDefault(i2(4648)), h = n2.__importDefault(i2(65449)), m = n2.__importDefault(i2(6953)), g = i2(89599); + class f extends d.default { constructor(e3) { super(e3); } @@ -91983,14 +98943,14 @@ ${e3.stack}`, n3 = [this].concat(i3); setKnowledgeSettingByIdAsync(e3, t3) { return n2.__awaiter(this, void 0, void 0, function* () { this._checkItemIsValidLiteralString(this._infoParm("knowledgeSettingId", "setKnowledgeSettingByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setKnowledgeSettingByIdAsync"), t3, true); - const i3 = yield s.default.findItemByIdAsync(d.knowledgeSettingManager, e3, "knowledgeSettingId"); + const i3 = yield s.default.findItemByIdAsync(c.knowledgeSettingManager, e3, "knowledgeSettingId"); return this.logNote(`found the knowledge setting named '${i3.name}' for the knowledge base ID of '${e3}'`), yield this._setKnowledgeSettingAsync("setKnowledgeSettingByIdAsync", i3, t3); }); } setKnowledgeSettingByNameAsync(e3, t3) { return n2.__awaiter(this, void 0, void 0, function* () { this._checkItemIsValidLiteralString(this._infoParm("knowledgeSettingName", "setKnowledgeSettingByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setKnowledgeSettingByNameAsync"), t3, true); - const i3 = yield s.default.findItemByValueAsync(d.knowledgeSettingManager, e3, "knowledge setting", "name", "name"); + const i3 = yield s.default.findItemByValueAsync(c.knowledgeSettingManager, e3, "knowledge setting", "name", "name"); return this.logNote(`found the knowledge setting named '${i3.name}'`), yield this._setKnowledgeSettingAsync("setKnowledgeSettingByNameAsync", i3, t3); }); } @@ -92034,16 +98994,16 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 78350: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.TimeType = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(24032), s = i2(74636), l = i2(94765), u = i2(80428), d = (0, a.getTopic)("TimeType"); - class c extends l.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(69453), s = i2(24032), l = i2(74636), u = i2(1910), c = i2(94765), d = i2(80428), p = (0, s.getTopic)("TimeType"); + class _ extends c.ExpressionType { constructor(e3, t3, i3) { - super(e3, t3, i3), this.expressionOptionClass = s.ExpressionTypeTimeOptions; + super(e3, t3, i3), this.expressionOptionClass = l.ExpressionTypeTimeOptions; } get className() { return "TimeType"; } createExpressionOptionClass() { - return new s.ExpressionTypeTimeOptions(this.isCollection); + return new l.ExpressionTypeTimeOptions(this.isCollection); } get supportsLiteralEditor() { return true; @@ -92064,7 +99024,7 @@ ${e3.stack}`, n3 = [this].concat(i3); getYamlObjectForLiteralSingleton(e3) { if (super.getYamlObjectForLiteralSingleton(e3), !this._getIsTimeExpressionTextValid(e3.text)) { const t4 = `Invalid time parsed in TimeType.getYamlObjectForLiteralSingleton for expression text '${e3.text}'`; - throw d.exceptionWithErrorObjectInfo(null, t4, e3, true), t4; + throw p.exceptionWithErrorObjectInfo(null, t4, e3, true), t4; } const t3 = this._parseTimeString(e3.text); return { hour: t3.hours, minute: t3.minutes, second: t3.seconds }; @@ -92085,8 +99045,18 @@ ${e3.stack}`, n3 = [this].concat(i3); convertLitToCustomJsonStr(e3, t3, i3, n3) { return `"${i3 || t3 || ""}"`; } + applyLiteralFromModel(e3, t3, i3, n3) { + if (null == t3) return; + if ("string" == typeof t3) return void e3.setAsLiteral(t3); + if ("object" != typeof t3 || Array.isArray(t3)) return void (n3 && n3.warn((0, r2.sprintf)(a.configureFromModel.timeLiteralExpectedObjectOrString, Array.isArray(t3) ? "array" : typeof t3))); + const o2 = t3, s2 = "number" == typeof o2.hour ? o2.hour : 0, l2 = "number" == typeof o2.minute ? o2.minute : 0, c2 = "number" == typeof o2.second ? o2.second : 0; + if (this.enforceValueLimit(s2 >= 0 && s2 <= 23, (0, r2.sprintf)(a.configureFromModel.timeLiteralPartOutOfRange, "hour", s2, 0, 23), n3) && this.enforceValueLimit(l2 >= 0 && l2 <= 59, (0, r2.sprintf)(a.configureFromModel.timeLiteralPartOutOfRange, "minute", l2, 0, 59), n3) && this.enforceValueLimit(c2 >= 0 && c2 <= 59, (0, r2.sprintf)(a.configureFromModel.timeLiteralPartOutOfRange, "second", c2, 0, 59), n3) && (e3.setAsLiteral((0, r2.sprintf)("%02d:%02d:%02d", s2, l2, c2)), n3)) { + const e4 = /* @__PURE__ */ new Set(["hour", "minute", "second"]), t4 = this.dataType || "time"; + for (const i4 of Object.keys(o2)) e4.has(i4) || (0, u.reportAdditionalProperty)(i4, t4, n3); + } + } } - t2.TimeType = c, c.typeIdentifier = u.expressionTypeNames.time; + t2.TimeType = _, _.typeIdentifier = d.expressionTypeNames.time; }, 78354: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.TimeslotType = t2.PROP_DURATION = t2.PROP_DATETIME = void 0; @@ -92134,12 +99104,12 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 78432: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchEnums = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(96618), a = i2(17666), s = i2(97111), l = n2.__importStar(i2(18325)), u = i2(35711), d = i2(89134), c = i2(32108), p = n2.__importDefault(i2(15928)), _ = n2.__importStar(i2(77751)), h = n2.__importDefault(i2(86531)), m = i2(44351), g = i2(79519), f = i2(24237), T = i2(30065), y = ["error", "optOut"], S = ["continue", "disconnect"], A = ["always", "never"], N = ["single", "multiple"], O = ["postback", "url"], I = ["carousel", "quickReplies", "timePicker", "listPicker"], v = [a.CodeLanguage.architectJson, a.CodeLanguage.architectYaml], C = ["input", "output", "error"], b = g.CustomJsonNamespace.architect, E = g.CustomJsonNamespace.decisionTable, R = g.CustomJsonNamespace.userDefined, w = g.CustomJsonNamespace.worktype, D = [b, g.CustomJsonNamespace.conversationAttribute, E, R, w], P = m.surveyFormDtmfTerminatingValues.map((e3) => e3.id), M = ["SMS"], F = ["intents", "knowledge", "neutral"], L = ["and", "or"], x = ["dev", "test", "prod"], k = ["DataTablesInternalServerError", "DataTablesServerTooBusyException", "DataTablesSyntaxError", "DataTablesTableNotFoundException"], V = ["FeatureNotEnabledError", "InternalServerError", "NoInputError", "NoMatchError", "NoResourceError", "VersionMismatchError"], U = "abortSend", B = "state", G = "completeSend", j = "continue", W = "disconnect", q = "endFlow", Y = "endInQueueState", H = "endWorkflow", J = "exit", z = "menu", K = "queue", $ = "task", Q = [U, B, G, j, W, q, Y, H, J, z, K, $], X = [l.debug, l.latest, l.published], Z = ["architect", "yaml"], ee = ["prompt", "duration"], te = ["individualDigits", "none", "numeric"], ie = ["positive", "negative"], ne = ["statement", "task"], re = ["standard", "highlight", "generative"], oe = ["standard", "custom"], ae = ["error", "info", "warning"], se = ["standard", "carousel"], le = ["convertToHtml", "convertToMarkdown", "none", "removeAllFormatting"], ue = ["active", "canceled", "closed", "conditionsNotMet", "default", "disconnect", "emergency", "error", "event", "failure", "formOutputs", "found", "holiday", "inactive", "invalid", "knowledge", "loop", "loopNext", "loopsMax", "matchExact", "matchMultiple", "maxNoInputs", "maxNoMatches", "no", "noInput", "noIntent", "notFound", "open", "partiallyFound", "skipResponseCapture", "success", "timeout", "valid", "voicemail", "yes"], de = f.all.map((e3) => e3.id), ce = T.all.map((e3) => e3.id), pe = ["about", "exact", "lessThan", "range"], _e = ["ahead", "number", "ordinal"], he = u.allPostFlowActionTypes.map((e3) => e3.id), me = d.allPostFlowTargetTypes.map((e3) => e3.id), ge = ["end", "endWithLogout"], fe = ["ended", "notStarted", "running"], Te = [h.default.entireFlow, h.default.none, h.default.startUpObject], ye = "notice", Se = "standard", Ae = [ye, Se], Ne = ["image", "text"], Oe = ["transfer", "disconnect"], Ie = ["matchExpression", "matchFirstTrue"], ve = ["Exit", "ExecuteTask"], Ce = []; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(96618), a = i2(17666), s = i2(97111), l = n2.__importStar(i2(18325)), u = i2(35711), c = i2(89134), d = i2(32108), p = n2.__importDefault(i2(15928)), _ = n2.__importStar(i2(77751)), h = n2.__importDefault(i2(86531)), m = i2(44351), g = i2(79519), f = i2(24237), T = i2(30065), y = i2(10231), S = ["error", "optOut"], A = ["continue", "disconnect"], N = ["always", "never"], v = ["single", "multiple"], O = ["postback", "url"], I = ["carousel", "quickReplies", "timePicker", "listPicker"], C = [a.CodeLanguage.architectJson, a.CodeLanguage.architectYaml], b = "input", E = "output", w = "record", R = "schemaData", D = "schemaDataPatch", P = [b, E, "error", w, R, D], M = [b, E], F = [w, R, D], L = g.CustomJsonNamespace.architect, x = g.CustomJsonNamespace.decisionTable, k = g.CustomJsonNamespace.userDefined, V = g.CustomJsonNamespace.worktype, U = g.CustomJsonNamespace.conversationAttribute, B = [L, U, x, k, V], G = m.surveyFormDtmfTerminatingValues.map((e3) => e3.id), j = ["SMS"], W = ["intents", "knowledge", "neutral"], q = ["and", "or"], Y = ["dev", "test", "prod"], H = ["DataTablesInternalServerError", "DataTablesServerTooBusyException", "DataTablesSyntaxError", "DataTablesTableNotFoundException"], J = ["FeatureNotEnabledError", "InternalServerError", "NoInputError", "NoMatchError", "NoResourceError", "VersionMismatchError"], $ = "abortSend", z = "state", K = "completeSend", Q = "continue", X = "disconnect", Z = "endFlow", ee = "endInQueueState", te = "endWorkflow", ie = "exit", ne = "menu", re = "queue", oe = "task", ae = [$, z, K, Q, X, Z, ee, te, ie, ne, re, oe], se = [l.debug, l.latest, l.published], le = ["architect", "yaml"], ue = ["prompt", "duration"], ce = ["individualDigits", "none", "numeric"], de = ["positive", "negative"], pe = ["statement", "task"], _e = ["standard", "highlight", "generative"], he = ["standard", "custom"], me = ["error", "info", "warning"], ge = ["standard", "carousel"], fe = ["convertToHtml", "convertToMarkdown", "none", "removeAllFormatting"], Te = ["active", "canceled", "closed", "conditionsNotMet", "default", "disconnect", "emergency", "error", "event", "failure", "formOutputs", "found", "holiday", "inactive", "invalid", "knowledge", "loop", "loopNext", "loopsMax", "matchExact", "matchMultiple", "maxNoInputs", "maxNoMatches", "no", "noInput", "noIntent", "notFound", "open", "partiallyFound", "skipResponseCapture", "success", "timeout", "valid", "voicemail", "yes"], ye = f.all.map((e3) => e3.id), Se = T.all.map((e3) => e3.id), Ae = ["about", "exact", "lessThan", "range"], Ne = ["ahead", "number", "ordinal"], ve = u.allPostFlowActionTypes.map((e3) => e3.id), Oe = c.allPostFlowTargetTypes.map((e3) => e3.id), Ie = ["end", "endWithLogout"], Ce = ["ended", "notStarted", "running"], be = [h.default.entireFlow, h.default.none, h.default.startUpObject], Ee = "notice", we = "standard", Re = [Ee, we], De = ["image", "text"], Pe = ["transfer", "disconnect"], Me = ["matchExpression", "matchFirstTrue"], Fe = ["Exit", "ExecuteTask"], Le = []; s.environmentList.forEach((e3) => { - e3.host.includes("app-regional") || ("dev" === e3.env || "test" === e3.env ? Ce.push(e3.env) : Ce.push(`${e3.env}_${e3.region}`.replace(/-/g, "_"))); - }), Ce.sort(); - const be = ["bot", "call", "chat", "common", "email", "flow", "interaction", "menu", "message", "session", "slot", "state", "survey", "task", "workflow", "workitem"], Ee = ["voiceSnippetService", "voicemailService"], Re = ["queue", "group", "user"], we = ["emergencyGroup", "schedule"], De = ["SUCCESS", "FAILURE"], Pe = [p.default.replyToAll, p.default.replyToSender], Me = [_.typeEmail.id, _.typeChat.id], Fe = [_.emailStyleHtml.id, _.emailStylePlain.id], Le = c.promptMediaTypes.audio, xe = c.promptMediaTypes.text, ke = [Le, "none", c.promptMediaTypes.tts, xe]; - class Ve { + e3.host.includes("app-regional") || ("dev" === e3.env || "test" === e3.env ? Le.push(e3.env) : Le.push(`${e3.env}_${e3.region}`.replace(/-/g, "_"))); + }), Le.sort(); + const xe = ["bot", "call", "chat", "common", "email", "flow", "interaction", "menu", "message", "session", "slot", "state", "survey", "task", "workflow", "workitem"], ke = ["voiceSnippetService", "voicemailService"], Ve = ["queue", "group", "user"], Ue = ["emergencyGroup", "schedule"], Be = ["SUCCESS", "FAILURE"], Ge = [p.default.replyToAll, p.default.replyToSender], je = [_.typeEmail.id, _.typeChat.id], We = [_.emailStyleHtml.id, _.emailStylePlain.id], qe = d.promptMediaTypes.audio, Ye = d.promptMediaTypes.text, He = [qe, "none", d.promptMediaTypes.tts, Ye]; + class Je { constructor() { this._cache = /* @__PURE__ */ new Map(); } @@ -92155,28 +99125,28 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._scriptingName; } get ABORT_SURVEY_INVITE_DISPOSITIONS() { - return this.arrayToMap(y, "_abort_survey_invite_dispositions"); + return this.arrayToMap(S, "_abort_survey_invite_dispositions"); } get ABORT_SURVEY_INVITE_DISPOSITIONS_ALL() { - return y; + return S; } get AUTO_GENERATED_EMAIL_HANDLING() { - return this.arrayToMap(S, "_auto_generated_email_handling"); + return this.arrayToMap(A, "_auto_generated_email_handling"); } get AUTO_GENERATED_EMAIL_HANDLING_ALL() { - return S; + return A; } get BOT_CONFIRMATION_MODES() { - return this.arrayToMap(A, "_bot_confirmation_modes"); + return this.arrayToMap(N, "_bot_confirmation_modes"); } get BOT_CONFIRMATION_MODES_ALL() { - return A; + return N; } get CAPTURE_TYPES() { - return this.arrayToMap(N, "_capture_types"); + return this.arrayToMap(v, "_capture_types"); } get CAPTURE_TYPES_ALL() { - return N; + return v; } get CHOICE_TYPES() { return this.arrayToMap(O, "_choice_types"); @@ -92194,67 +99164,89 @@ ${e3.stack}`, n3 = [this].concat(i3); return { archJson: a.CodeLanguage.architectJson, archYaml: a.CodeLanguage.architectYaml }; } get CODE_LANGUAGES_ALL() { - return v; + return C; } get CUSTOM_JSON_SCHEMA_TYPES() { - return this.arrayToMap(C, "_custom_json_schema_types"); + return this.arrayToMap(P, "_custom_json_schema_types"); } get CUSTOM_JSON_SCHEMA_TYPES_ALL() { - return C; + return P; + } + get CUSTOM_JSON_DECISION_TABLE_SCHEMA_TYPES_ALL() { + return M; + } + get CUSTOM_JSON_CONVERSATION_ATTRIBUTE_SCHEMA_TYPES_ALL() { + return F; + } + getCustomJsonSchemaTypesForNamespace(e3) { + switch (e3) { + case x: + return M; + case U: + return F; + default: + return P; + } } get CUSTOM_JSON_TYPE_NAMESPACES() { - return this.arrayToMap(D, "_custom_json_type_namespaces"); + return this.arrayToMap(B, "_custom_json_type_namespaces"); } get CUSTOM_JSON_TYPE_NAMESPACES_ALL() { - return D; + return B; } get DEFLECT_TYPES() { - return this.arrayToMap(M, "_deflect_types"); + return this.arrayToMap(j, "_deflect_types"); } get DEFLECT_TYPES_ALL() { - return M; + return j; } get DTMF_TERMINATING_CHARACTERS_ALL() { - return P; + return G; } get DTMF_TERMINATING_CHARACTERS() { - return this.arrayToMap(P, "_dtmf_terminating_characters"); + return this.arrayToMap(G, "_dtmf_terminating_characters"); } get ENVIRONMENTS() { - return this.arrayToMap(x, "_environments"); + return this.arrayToMap(Y, "_environments"); } get ENVIRONMENTS_ALL() { - return x; + return Y; } get ERROR_TYPE_DATA_TABLE_VALUES() { - return this.arrayToMap(k, "_error_type_data_table_values", (e3) => 0 === e3.indexOf("DataTables") ? e3.slice(10).charAt(0).toLowerCase() + e3.slice(11) : e3); + return this.arrayToMap(H, "_error_type_data_table_values", (e3) => 0 === e3.indexOf("DataTables") ? e3.slice(10).charAt(0).toLowerCase() + e3.slice(11) : e3); } get ERROR_TYPE_DATA_TABLE_VALUES_ALL() { - return k; + return H; } get ERROR_TYPE_LEX_BOT_VALUES() { - return this.arrayToMap(V, "_error_type_lex_bot_values"); + return this.arrayToMap(J, "_error_type_lex_bot_values"); } get ERROR_TYPE_LEX_BOT_VALUES_ALL() { - return V; + return J; } get EVENTS_FLOW_ERROR_HANDLING() { - return { abortSend: U, changeState: B, completeSend: G, continue: j, disconnect: W, endFlow: q, endInQueueState: Y, endWorkflow: H, exit: J, jumpToMenu: z, transferToQueue: K, jumpToTask: $ }; + return { abortSend: $, changeState: z, completeSend: K, continue: Q, disconnect: X, endFlow: Z, endInQueueState: ee, endWorkflow: te, exit: ie, jumpToMenu: ne, transferToQueue: re, jumpToTask: oe }; } get EVENTS_FLOW_ERROR_HANDLING_ALL() { - return Q; + return ae; + } + get EXTERNAL_CONTACT_PATCH_CONDITIONS() { + return this.arrayToMap(y.externalContactPatchConditions.map((e3) => e3.id), "_external_contact_patch_conditions"); + } + get EXTERNAL_CONTACT_PATCH_CONDITIONS_ALL() { + return y.externalContactPatchConditions.map((e3) => e3.id); } get FILTER_CONTAINER_OPERATORS() { return { and: "and", or: "or" }; } get FILTER_CONTAINER_OPERATORS_ALL() { - return L; + return q; } get FLOW_OUTCOMES() { - return this.arrayToMap(De, "_flow_outcomes", (e3) => e3.toLowerCase()); + return this.arrayToMap(Be, "_flow_outcomes", (e3) => e3.toLowerCase()); } get FLOW_OUTCOMES_ALL() { - return De; + return Be; } get FLOW_TYPES() { return { bot: o.flowTypes.flowTypeBot, commonModule: o.flowTypes.flowTypeCommonModule, digitalBot: o.flowTypes.flowTypeDigitalBot, emailSend: o.flowTypes.flowTypeEmailSend, inboundCall: o.flowTypes.flowTypeInboundCall, inboundChat: o.flowTypes.flowTypeInboundChat, inboundEmail: o.flowTypes.flowTypeInboundEmail, inboundShortMessage: o.flowTypes.flowTypeInboundShortMessage, inqueueCall: o.flowTypes.flowTypeInQueueCall, inqueueEmail: o.flowTypes.flowTypeInQueueEmail, inqueueShortMessage: o.flowTypes.flowTypeInQueueShortMessage, outboundCall: o.flowTypes.flowTypeOutboundCall, secureCall: o.flowTypes.flowTypeSecureCall, surveyInvite: o.flowTypes.flowTypeSurveyInvite, voice: o.flowTypes.flowTypeVoice, voiceSurvey: o.flowTypes.flowTypeVoiceSurvey, voicemail: o.flowTypes.flowTypeVoicemail, workflow: o.flowTypes.flowTypeWorkflow, workitem: o.flowTypes.flowTypeWorkitem }; @@ -92263,222 +99255,222 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.default.without(o.flowTypes.flowTypesAll); } get FLOW_VERSIONS() { - return this.arrayToMap(X, "_flow_versions"); + return this.arrayToMap(se, "_flow_versions"); } get FLOW_VERSIONS_ALL() { - return X; + return se; } get FLOW_FORMAT_TYPES() { - return this.arrayToMap(Z, "_format_types"); + return this.arrayToMap(le, "_format_types"); } get FLOW_FORMAT_TYPES_ALL() { - return Z; + return le; } get HOLD_MUSIC_PLAY_STYLES() { - return this.arrayToMap(ee, "_hold_music_play_styles"); + return this.arrayToMap(ue, "_hold_music_play_styles"); } get HOLD_MUSIC_PLAY_STYLES_ALL() { - return ee; + return ue; } get INPUT_VERIFICATION_TYPES() { - return this.arrayToMap(te, "_input_verification_types"); + return this.arrayToMap(ce, "_input_verification_types"); } get INPUT_VERIFICATION_TYPES_ALL() { - return te; + return ce; } get KNOWLEDGE_FEEDBACK_TYPES() { - return this.arrayToMap(ie, "_knowledge_feedback_types"); + return this.arrayToMap(de, "_knowledge_feedback_types"); } get KNOWLEDGE_FEEDBACK_TYPES_ALL() { - return ie; + return de; } get KNOWLEDGE_PATH_MODES() { - return this.arrayToMap(ne, "_knowledge_path_modes"); + return this.arrayToMap(pe, "_knowledge_path_modes"); } get KNOWLEDGE_PATH_MODES_ALL() { - return ne; + return pe; } get KNOWLEDGE_ANSWER_CONTENT_TYPES() { - return this.arrayToMap(re, "_knowledge_answer_content_types"); + return this.arrayToMap(_e, "_knowledge_answer_content_types"); } get KNOWLEDGE_ANSWER_CONTENT_TYPES_ALL() { - return re; + return _e; } get KNOWLEDGE_SETTINGS_MODES() { - return this.arrayToMap(oe, "_knowledge_settings_modes"); + return this.arrayToMap(he, "_knowledge_settings_modes"); } get KNOWLEDGE_SETTINGS_MODES_ALL() { - return oe; + return he; } get LOCATIONS() { - return this.arrayToMap(Ce, "_runtime_locations"); + return this.arrayToMap(Le, "_runtime_locations"); } get LOCATIONS_ALL() { - return Ce; + return Le; } get LOG_TYPES() { - return this.arrayToMap(ae, "_log_types"); + return this.arrayToMap(me, "_log_types"); } get LOG_TYPES_ALL() { - return ae; + return me; } get CANNED_RESPONSE_MESSAGE_TEMPLATE_TYPES() { - return this.arrayToMap(se, "_canned_response_message_template_types"); + return this.arrayToMap(ge, "_canned_response_message_template_types"); } get STRING_BODY_HANDLING_TYPES() { - return this.arrayToMap(le, "_string_body_handling_types"); + return this.arrayToMap(fe, "_string_body_handling_types"); } get STRING_BODY_HANDLING_TYPES_ALL() { - return le; + return fe; } get NLU_RESPONSE_BIAS_MODES() { - return this.arrayToMap(F, "_nlu_response_bias_modes"); + return this.arrayToMap(W, "_nlu_response_bias_modes"); } get NLU_RESPONSE_BIAS_MODES_ALL() { - return F; + return W; } get OUTPUT_IDS() { - return this.arrayToMap(ue, "_output_ids"); + return this.arrayToMap(Te, "_output_ids"); } get OUTPUT_IDS_ALL() { - return ue; + return Te; } get PAYMENT_CONTACT_INFORMATION_TYPES() { - return this.arrayToMap(de, "_payment_contact_information_types"); + return this.arrayToMap(ye, "_payment_contact_information_types"); } get PAYMENT_CONTACT_INFORMATION_TYPES_ALL() { - return de; + return ye; } get PAYMENT_PLATFORMS_TYPES() { - return this.arrayToMap(ce, "_payment_platforms_types"); + return this.arrayToMap(Se, "_payment_platforms_types"); } get PAYMENT_PLATFORMS_TYPES_ALL() { - return ce; + return Se; } get PLAY_ESTIMATED_WAIT_STYLES() { - return this.arrayToMap(pe, "_play_estimated_wait_styles"); + return this.arrayToMap(Ae, "_play_estimated_wait_styles"); } get PLAY_ESTIMATED_WAIT_STYLES_ALL() { - return pe; + return Ae; } get PLAY_POSITION_STYLES() { - return this.arrayToMap(_e, "_play_position_styles"); + return this.arrayToMap(Ne, "_play_position_styles"); } get PLAY_POSITION_STYLES_ALL() { - return _e; + return Ne; } get POST_FLOW_ACTION_TYPES() { - return this.arrayToMap(he, "_post_flow_action_types"); + return this.arrayToMap(ve, "_post_flow_action_types"); } get POST_FLOW_ACTION_TYPES_ALL() { - return he; + return ve; } get POST_FLOW_TARGET_TYPES() { - return this.arrayToMap(me, "_post_flow_target_types"); + return this.arrayToMap(Oe, "_post_flow_target_types"); } get POST_FLOW_TARGET_TYPES_ALL() { - return me; + return Oe; } get SCHEDULE_EVALUATION_TYPES() { - return this.arrayToMap(we, "_schedule_evaluation_type"); + return this.arrayToMap(Ue, "_schedule_evaluation_type"); } get SCHEDULE_EVALUATION_TYPES_ALL() { - return we; + return Ue; } get SEND_AUTO_REPLY_MODES() { - return this.arrayToMap(Pe, "_send_auto_reply_modes"); + return this.arrayToMap(Ge, "_send_auto_reply_modes"); } get SEND_AUTO_REPLY_MODES_ALL() { - return Pe; + return Ge; } get SEND_NOTIFICATION_TYPES() { - return this.arrayToMap(Me, "_send_notification"); + return this.arrayToMap(je, "_send_notification"); } get SEND_NOTIFICATION_TYPES_ALL() { - return Me; + return je; } get EMAIL_STYLES() { - return this.arrayToMap(Fe, "_send_notification"); + return this.arrayToMap(We, "_send_notification"); } get EMAIL_STYLES_ALL() { - return Fe; + return We; } get PROMPT_MEDIA_TYPES() { - return this.arrayToMap(ke, "_prompt_media_types"); + return this.arrayToMap(He, "_prompt_media_types"); } get PROMPT_MEDIA_TYPES_ALL() { - return ke; + return He; } get SESSION_END_MODES() { - return this.arrayToMap(ge, "_session_end_modes"); + return this.arrayToMap(Ie, "_session_end_modes"); } get SESSION_END_MODES_ALL() { - return ge; + return Ie; } get SESSION_STATUSES() { - return this.arrayToMap(fe, "_session_statuses"); + return this.arrayToMap(Ce, "_session_statuses"); } get SESSION_STATUSES_ALL() { - return fe; + return Ce; } get SPEECH_REC_COMPANY_MODES() { - return this.arrayToMap(Te, "_speech_rec_company_modes"); + return this.arrayToMap(be, "_speech_rec_company_modes"); } get SPEECH_REC_COMPANY_MODES_ALL() { - return Te; + return be; } get MESSAGE_BODY_STYLES() { - return { notice: ye, standard: Se }; + return { notice: Ee, standard: we }; } get MESSAGE_BODY_STYLES_ALL() { - return Ae; + return Re; } get RICH_LINK_HEADER_TYPES() { - return this.arrayToMap(Ne, "_rich_link_header_types"); + return this.arrayToMap(De, "_rich_link_header_types"); } get RICH_LINK_HEADER_TYPES_ALL() { - return Ne; + return De; } get SET_UUI_DATA_MODES() { - return this.arrayToMap(Oe, "set_uui_data_mode_all"); + return this.arrayToMap(Pe, "set_uui_data_mode_all"); } get SET_UUI_DATA_MODES_ALL() { - return Oe; + return Pe; } get SWITCH_EVALUATION_STYLES() { - return this.arrayToMap(Ie, "_switch_evaluation_styles"); + return this.arrayToMap(Me, "_switch_evaluation_styles"); } get SWITCH_EVALUATION_STYLES_ALL() { - return Ie; + return Me; } get SUBSEQUENT_RECOGNITION_FAILURES_HANDLING() { - return this.arrayToMap(ve, "_subsequent_recognition_failures_modes"); + return this.arrayToMap(Fe, "_subsequent_recognition_failures_modes"); } get SUBSEQUENT_RECOGNITION_FAILURES_HANDLING_ALL() { - return ve; + return Fe; } get VARIABLE_SCOPES() { - return this.arrayToMap(be, "_variable_scopes"); + return this.arrayToMap(xe, "_variable_scopes"); } get VARIABLE_SCOPES_ALL() { - return be; + return xe; } get VOICE_SNIPPET_DESTINATION_VALUES() { - return this.arrayToMap(Ee, "_voice_snippet_destination_values"); + return this.arrayToMap(ke, "_voice_snippet_destination_values"); } get VOICE_SNIPPET_DESTINATION_VALUES_ALL() { - return Ee; + return ke; } get VOICEMAIL_TRANSFER_TARGET_TYPES() { - return this.arrayToMap(Re, "_voicemail_transfer_target_type"); + return this.arrayToMap(Ve, "_voicemail_transfer_target_type"); } get VOICEMAIL_TRANSFER_TARGET_TYPES_ALL() { - return Re; + return Ve; } } - t2.ArchEnums = Ve; - const Ue = new Ve(); - t2.default = Ue; + t2.ArchEnums = Je; + const $e = new Je(); + t2.default = $e; }, 78446: (e2, t2, i2) => { const n2 = i2(45421), r2 = i2(13126); e2.exports = class extends n2 { @@ -92616,11 +99608,11 @@ ${e3.stack}`, n3 = [this].concat(i3); function u(e3) { return 10 == e3 || 13 == e3; } - function d(e3) { + function c(e3) { return l(e3) || u(e3); } - function c(e3) { - return e3 < 0 || d(e3); + function d(e3) { + return e3 < 0 || c(e3); } a.top = new a(null, -1, 0); const p = new n2.ContextTracker({ start: a.top, reduce: (e3, t3) => 3 != e3.type || 20 != t3 && 34 != t3 ? e3 : e3.parent, shift(e3, t3, i3, n3) { @@ -92636,7 +99628,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return e3; }, hash: (e3) => e3.hash }); function _(e3, t3, i3 = 0) { - return e3.peek(i3) == t3 && e3.peek(i3 + 1) == t3 && e3.peek(i3 + 2) == t3 && c(e3.peek(i3 + 3)); + return e3.peek(i3) == t3 && e3.peek(i3 + 1) == t3 && e3.peek(i3 + 2) == t3 && d(e3.peek(i3 + 3)); } const h = new n2.ExternalTokenizer((e3, t3) => { if (-1 == e3.next && t3.canShift(69)) return e3.acceptToken(69); @@ -92652,11 +99644,11 @@ ${e3.stack}`, n3 = [this].concat(i3); } let i4 = 0; for (; 32 == e3.next; ) i4++, e3.advance(); - !(i4 < t3.context.depth) && (i4 != t3.context.depth || 1 != t3.context.type || 45 == e3.next && c(e3.peek(1))) || -1 == e3.next || u(e3.next) || 35 == e3.next || e3.acceptToken(o, -i4); + !(i4 < t3.context.depth) && (i4 != t3.context.depth || 1 != t3.context.type || 45 == e3.next && d(e3.peek(1))) || -1 == e3.next || u(e3.next) || 35 == e3.next || e3.acceptToken(o, -i4); } }, { contextual: true }), m = new n2.ExternalTokenizer((e3, t3) => { - if (3 != t3.context.type) if (45 == e3.next) e3.advance(), c(e3.next) && e3.acceptToken(1 == t3.context.type && t3.context.depth == s(e3, e3.pos - 1) ? 4 : 3); - else if (63 == e3.next) e3.advance(), c(e3.next) && e3.acceptToken(2 == t3.context.type && t3.context.depth == s(e3, e3.pos - 1) ? 6 : 5); + if (3 != t3.context.type) if (45 == e3.next) e3.advance(), d(e3.next) && e3.acceptToken(1 == t3.context.type && t3.context.depth == s(e3, e3.pos - 1) ? 4 : 3); + else if (63 == e3.next) e3.advance(), d(e3.next) && e3.acceptToken(2 == t3.context.type && t3.context.depth == s(e3, e3.pos - 1) ? 6 : 5); else { let i3 = e3.pos; for (; ; ) if (l(e3.next)) { @@ -92677,7 +99669,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (!A(e3)) return; break; } - v(e3, true, false, 0); + I(e3, true, false, 0); break; } y(e3); @@ -92685,10 +99677,10 @@ ${e3.stack}`, n3 = [this].concat(i3); for (; l(e3.next); ) e3.advance(); if (58 == e3.next) { if (e3.pos == i3 && t3.canShift(29)) return; - c(e3.peek(1)) && e3.acceptTokenTo(2 == t3.context.type && t3.context.depth == s(e3, i3) ? 71 : 70, i3); + d(e3.peek(1)) && e3.acceptTokenTo(2 == t3.context.type && t3.context.depth == s(e3, i3) ? 71 : 70, i3); } } - else 63 == e3.next && (e3.advance(), c(e3.next) && e3.acceptToken(7)); + else 63 == e3.next && (e3.advance(), d(e3.next) && e3.acceptToken(7)); }, { contextual: true }); function g(e3) { return e3 >= 48 && e3 <= 57 || e3 >= 97 && e3 <= 102 || e3 >= 65 && e3 <= 70; @@ -92706,7 +99698,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } else for (; f(e3, false); ) ; } function y(e3) { - for (e3.advance(); !c(e3.next) && "f" != O(e3.tag); ) e3.advance(); + for (e3.advance(); !d(e3.next) && "f" != v(e3.tag); ) e3.advance(); } function S(e3, t3) { let i3 = e3.next, n3 = false, r3 = e3.pos; @@ -92738,28 +99730,28 @@ ${e3.stack}`, n3 = [this].concat(i3); } } const N = "iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif"; - function O(e3) { + function v(e3) { return e3 < 33 ? "u" : e3 > 125 ? "s" : N[e3 - 33]; } - function I(e3, t3) { - let i3 = O(e3); + function O(e3, t3) { + let i3 = v(e3); return "u" != i3 && !(t3 && "f" == i3); } - function v(e3, t3, i3, n3) { - if ("s" != O(e3.next) && (63 != e3.next && 58 != e3.next && 45 != e3.next || !I(e3.peek(1), i3))) return false; + function I(e3, t3, i3, n3) { + if ("s" != v(e3.next) && (63 != e3.next && 58 != e3.next && 45 != e3.next || !O(e3.peek(1), i3))) return false; e3.advance(); let r3 = e3.pos; for (; ; ) { let o2 = e3.next, a2 = 0, s2 = n3 + 1; - for (; d(o2); ) { + for (; c(o2); ) { if (u(o2)) { if (t3) return false; s2 = 0; } else s2++; o2 = e3.peek(++a2); } - if (!(o2 >= 0 && (58 == o2 ? I(e3.peek(a2 + 1), i3) : 35 == o2 ? 32 != e3.peek(a2 - 1) : I(o2, i3))) || !i3 && s2 <= n3 || 0 == s2 && !i3 && (_(e3, 45, a2) || _(e3, 46, a2))) break; - if (t3 && "f" == O(o2)) return false; + if (!(o2 >= 0 && (58 == o2 ? O(e3.peek(a2 + 1), i3) : 35 == o2 ? 32 != e3.peek(a2 - 1) : O(o2, i3))) || !i3 && s2 <= n3 || 0 == s2 && !i3 && (_(e3, 45, a2) || _(e3, 46, a2))) break; + if (t3 && "f" == v(o2)) return false; for (let t4 = a2; t4 >= 0; t4--) e3.advance(); if (t3 && e3.pos > r3 + 1024) return false; } @@ -92770,7 +99762,7 @@ ${e3.stack}`, n3 = [this].concat(i3); else if (38 == e3.next || 42 == e3.next) { let t4 = 38 == e3.next ? 10 : 11; y(e3), e3.acceptToken(t4); - } else 39 == e3.next || 34 == e3.next ? (S(e3, false), e3.acceptToken(9)) : v(e3, false, 3 == t3.context.type, t3.context.depth) && e3.acceptToken(8); + } else 39 == e3.next || 34 == e3.next ? (S(e3, false), e3.acceptToken(9)) : I(e3, false, 3 == t3.context.type, t3.context.depth) && e3.acceptToken(8); }), b = new n2.ExternalTokenizer((e3, t3) => { let i3 = 4 == t3.context.type ? t3.context.depth : -1, n3 = e3.pos; e: for (; ; ) { @@ -92786,14 +99778,14 @@ ${e3.stack}`, n3 = [this].concat(i3); } } e3.acceptTokenTo(13, n3); - }), E = r2.styleTags({ DirectiveName: r2.tags.keyword, DirectiveContent: r2.tags.attributeValue, "DirectiveEnd DocEnd": r2.tags.meta, QuotedLiteral: r2.tags.string, BlockLiteralHeader: r2.tags.special(r2.tags.string), BlockLiteralContent: r2.tags.content, Literal: r2.tags.content, "Key/Literal Key/QuotedLiteral": r2.tags.definition(r2.tags.propertyName), "Anchor Alias": r2.tags.labelName, Tag: r2.tags.typeName, Comment: r2.tags.lineComment, ": , -": r2.tags.separator, "?": r2.tags.punctuation, "[ ]": r2.tags.squareBracket, "{ }": r2.tags.brace }), R = n2.LRParser.deserialize({ version: 14, states: "6zQ!aQgOOO#VQfO'#CpO#{QfO'#DOOOQR'#D{'#D{O$}QgO'#DRO%sQdO'#DUO%zQgO'#DUO&_OaO'#D[OOQR'#Dz'#DzO'XQgO'#D^O(OQgO'#D`O(uQpO'#DbO(}QpO'#DdOOQR'#Dy'#DyO)VO!cO'#DfOOQP'#Do'#DoO)hQaO'#CmO)vQgO'#CmOOQP'#Cm'#CmQ*WQaOOQ*cQgOOQ]QgOOO*mQdO'#CrO+[QdO'#CtOOQO'#D|'#D|O+yQ`O'#CxO,UQdO'#CwO,`Q`O'#CwOOQO'#Cv'#CvO,eQdO'#CvOOQO'#Cq'#CqO,rQ`O,59[O,zQfO,59[OOQR,59[,59[OOQO'#Cx'#CxO-RQ`O'#DPO-^QdO'#DPOOQO'#D}'#D}O-hQdO'#D}O-uQ`O,59jO-}QfO,59jOOQR,59j,59jOOQR'#DS'#DSO.UQcO,59mO.aQgO'#DVO.qQ`O'#DVO.vQcO,59pOOQR'#DX'#DXO$SQfO'#DWO/UQcO'#DWOOQR,59v,59vO/gOWO,59vO/lOaO,59vO/tOaO,59vO0PQgO'#D_OOQR,59x,59xO0sQgO'#DaOOQR,59z,59zOOQO'#Dn'#DnO1gQpO'#DcO1oQpO,59|O1tQpO'#DeO1|QpO,5:OOOQP,5:Q,5:QO2ROaO,5:QO2ZOaO,5:QO2iO!cO,5:QOOQP-E7m-E7mO2wQgO,59XOOQP,59X,59XO3XQaO'#DiO3gQgO'#DiO3wQgO'#DpOOQP'#Dp'#DpQ*WQaOOO4XQdO'#CsOOQO,59^,59^O4sQdO'#CuOOQO,59`,59`OOQO,59c,59cO5_QdO,59cO5iQdO'#CzO5sQ`O'#CzOOQO,59b,59bOOQU,5:U,5:UOOQR1G.v1G.vO5xQ`O1G.vOOQU-E7h-E7hO6QQdO,59kOOQO,59k,59kO6[QdO'#DQO6fQ`O'#DQOOQO,5:i,5:iOOQU,5:V,5:VOOQR1G/U1G/UO6kQ`O1G/UOOQU-E7i-E7iO6sQgO'#DlO7QQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO7]QgO,59qO7mQdO'#DmO7tQgO'#DmO8XQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO$SQfO,59rOOQR1G/b1G/bO8gOWO1G/bO8lOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQO-E7l-E7lOOQR1G/h1G/hOOQR1G/j1G/jOOQP1G/l1G/lO8tOaO1G/lO8|OaO1G/lO9XOaO1G/lOOQP1G.s1G.sO9gQgO,5:TOOQP,5:T,5:TOOQP,5:[,5:[OOQP-E7n-E7nOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO9wQdO,59fOOQR7+$b7+$bP,uQ`O'#DjOOQO1G/V1G/VOOQO,59l,59lO:RQdO,59lOOQR7+$p7+$pP:]Q`O'#DkOOQR'#DT'#DTOOQR,5:W,5:WOOQR-E7j-E7jOOQR7+$s7+$sOOQR1G/]1G/]O:bQgO'#DYO:rQ`O'#DYOOQR,5:X,5:XO$SQfO'#DZO:wQcO'#DZOOQR-E7k-E7kOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O;YOWO7+$|OOQP7+%W7+%WO;_OaO7+%WO;gOaO7+%WOOQP1G/o1G/oOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO;rQgO,59tOOQR,59u,59uO$SQfO,59uOOQR<^AN>^", stateData: "^AN>^", stateData: " { "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeIntegerOptions = void 0; const r2 = i2(31635), o = r2.__importDefault(i2(15508)), a = i2(80295), s = i2(65615), l = i2(55909), u = i2(33951); - class d extends s.BaseExpressionTypeCollectionOptions { + class c extends s.BaseExpressionTypeCollectionOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -92825,16 +99817,16 @@ ${e3.stack}`, n3 = [this].concat(i3); void 0 !== e3.min && this.facets.setMinInt(e3.min, true), void 0 !== e3.max && this.facets.setMaxInt(e3.max, true), void 0 !== e3.disallowZero && this.facets.setDisallowZero(e3.disallowZero); } } - t2.ExpressionTypeIntegerOptions = d, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], d.prototype, "facets", null); + t2.ExpressionTypeIntegerOptions = c, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], c.prototype, "facets", null); }, 78531: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.scanInternals = void 0; var n2 = i2(17214); t2.scanInternals = function(e3, t3, i3, r2, o) { return function(a, s) { - var l = i3, u = t3, d = 0; + var l = i3, u = t3, c = 0; a.subscribe(n2.createOperatorSubscriber(s, function(t4) { - var i4 = d++; + var i4 = c++; u = l ? e3(u, t4, i4) : (l = true, t4), r2 && s.next(u); }, o && function() { l && s.next(u), s.complete(); @@ -92843,8 +99835,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }; }, 78534: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(58525), s = i2(83620), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(58525), s = i2(83620), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -92852,12 +99844,12 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findSystemPrompt.nameLabel, searchResultLabel: d.findActions.findSystemPrompt.resultLabel, searchResultExpressionOptions: a.ExpressionTypePromptOptions.create(), searchResultItemType: o.expressionTypeNames.prompt }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findSystemPrompt, modelClass: s.FindSystemPromptActionModel, name: d.actions.findSystemPrompt, scriptingName: "ArchActionFindSystemPrompt" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findSystemPrompt, modelClass: s.FindSystemPromptActionModel, name: d.actions.findSystemPrompt, scriptingName: "ArchActionFindSystemPrompt", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 78616: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(14820)), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(64437), l = i2(30801), u = i2(26847); - class d extends r2.default { + class c extends r2.default { constructor(e3) { super(e3), this._manager = s.audioConnectorManager, this._connectorId = this.coreFactory.createArchWrapper(e3.connectorId); } @@ -92893,7 +99885,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._getOutputById(u.outputIds.success, true); } } - t2.default = d; + t2.default = c; }, 78641: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -92970,10 +99962,41 @@ ${e3.stack}`, n3 = [this].concat(i3); }, set: function(e3) { this._entities = this.reviveArray(e3, n2); } } }), e2.exports = r2; + }, 78778: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.resolveScriptingDivisionByName = function(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + try { + const t3 = yield c.default.findItemByValueAsync(u.divisionManager, e3, "divisions", "name"); + return t3 ? { id: t3.id, name: t3.name } : null; + } catch (e4) { + if ("no matches" === e4 || e4 instanceof Error && "no matches" === e4.message) return null; + throw e4; + } + }); + }, t2.createScriptingCreateFlowFromModelContext = function(e3) { + const t3 = new o.ActionTypeRegistry(); + return t3.initialize(r2.actionDefs), new a.ConfigureFromModelContext({ actionTypeRegistry: t3, entityResolver: void 0, flowType: e3, lookupCache: new s.LookupCache(), settings: {} }); + }, t2.withCreateFlowFromModelErrorCapture = function(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = [], n3 = e3.logger$.subscribe((e4) => { + var t4; + if (e4.level !== l.LogLevel.Error) return; + const n4 = null === (t4 = e4.metadata) || void 0 === t4 ? void 0 : t4.rawMessage; + "string" == typeof n4 && n4.length > 0 ? i3.push(n4) : i3.push(e4.message); + }); + try { + return { result: yield t3(), errorMessages: i3 }; + } finally { + n3.unsubscribe(); + } + }); + }; + const n2 = i2(31635), r2 = n2.__importStar(i2(62829)), o = i2(1910), a = i2(1910), s = i2(1910), l = i2(1910), u = i2(54251), c = n2.__importDefault(i2(56549)); }, 78785: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(29505), s = i2(63619), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(29505), s = i2(63619), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -92981,11 +100004,11 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findUtilizationLabel.nameLabel, searchResultLabel: d.findActions.findUtilizationLabel.resultLabel, searchResultExpressionOptions: a.ExpressionTypeUtilizationLabelOptions.create(), searchResultItemType: o.expressionTypeNames.utilizationLabel }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findUtilizationLabel, modelClass: s.FindUtilizationLabelActionModel, name: d.actions.findUtilizationLabel, scriptingName: "ArchActionFindUtilizationLabel" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findUtilizationLabel, modelClass: s.FindUtilizationLabelActionModel, name: d.actions.findUtilizationLabel, scriptingName: "ArchActionFindUtilizationLabel", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 78791: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(28562), a = i2(80428), s = i2(82319), l = i2(24235), u = n2.__importDefault(i2(27203)), d = n2.__importStar(i2(85020)), c = i2(9290), p = n2.__importDefault(i2(57606)), _ = n2.__importDefault(i2(5730)), h = i2(47957), m = i2(3916); + const n2 = i2(31635), r2 = i2(96618), o = i2(28562), a = i2(80428), s = i2(82319), l = i2(24235), u = n2.__importDefault(i2(27203)), c = n2.__importStar(i2(85020)), d = i2(9290), p = n2.__importDefault(i2(57606)), _ = n2.__importDefault(i2(5730)), h = i2(47957), m = i2(3916); class g extends _.default { constructor(e3) { super(e3.parentFlow, e3); @@ -92994,7 +100017,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return u.default.fakeFailure; } _getPossibleErrors() { - return c.defaultTransferFailureReasons; + return d.defaultTransferFailureReasons; } _createErrorSchema() { return new p.default({ properties: { errorType: { allowableValues: this._getPossibleErrors().sort(), type: "string", description: h.errorSchema.errorTypeDescription }, errorMessage: { type: "string", description: h.errorSchema.errorMessageDescription } } }, false); @@ -93009,22 +100032,22 @@ ${e3.stack}`, n3 = [this].concat(i3); }); } static get managedProperties() { - return [{ audio: true, supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgen, options: l.AudioViewModelOptions.create((e3) => e3.setUiPropertyGroup(h.audio.audioLabel).setAssumeOosIfTypeUnavailable(true).setIninTestingField("preTransferAudio").setLabel(h.transfer.preTransferAudio)), property: "preTransferAudio", yamlOptions: g.createYamlOptions("preTransferAudio", (e3) => e3.setExportOrder(50)) }, { audio: true, supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgen, options: l.AudioViewModelOptions.create((e3) => e3.setUiPropertyGroup(h.audio.audioLabel).setAssumeOosIfTypeUnavailable(true).setIninTestingField("failedTransferAudio").setLabel(h.transfer.failureTransferAudio)), property: "failureTransferAudio", yamlOptions: g.createYamlOptions("failureTransferAudio", (e3) => e3.setExportOrder(60)) }, { label: h.transfer.preTransferCommunication, property: "preTransferCommunication", supportedFlowTypes: r2.flowTypes.flowTypesAllCicero, type: a.expressionTypeNames.communication, options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("preTransferCommunication").setDescriptionInfo(h.transfer.preTransferCommunication, h.transfer.preTransferCommunicationDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(d.channelTypeCall).setDefaultToBuilderId(o.builderIds.parts.genericCommunication).setUiPropertyGroup(h.communicate.communication).setScriptingPropertyName("preTransferCommunication").setUiPropertyOrder(21)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("preTransferCommunication").setDescriptionInfo(h.transfer.preTransferCommunication, h.transfer.preTransferCommunicationDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(d.channelTypeChat).setDefaultToBuilderId(o.builderIds.parts.markdownCommunication).setUiPropertyGroup(h.communicate.communication).setScriptingPropertyName("preTransferCommunication").setUiPropertyOrder(22)) }], yamlOptions: g.createYamlOptions("preTransferCommunication", (e3) => e3.setExportOrder(50)) }, { label: h.transfer.failureTransferCommunication, property: "failureTransferCommunication", supportedFlowTypes: r2.flowTypes.flowTypesAllCicero, type: a.expressionTypeNames.communication, options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("failureTransferCommunication").setDescriptionInfo(h.transfer.failureTransferCommunication, h.transfer.failureTransferCommunicationDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(d.channelTypeCall).setDefaultToBuilderId(o.builderIds.parts.genericCommunication).setUiPropertyGroup(h.communicate.communication).setScriptingPropertyName("failureTransferCommunication").setUiPropertyOrder(23)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("failureTransferCommunication").setDescriptionInfo(h.transfer.failureTransferCommunication, h.transfer.failureTransferCommunicationDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(d.channelTypeChat).setDefaultToBuilderId(o.builderIds.parts.markdownCommunication).setUiPropertyGroup(h.communicate.communication).setScriptingPropertyName("failureTransferCommunication").setUiPropertyOrder(24)) }], yamlOptions: g.createYamlOptions("failureTransferCommunication", (e3) => e3.setExportOrder(50)) }, { dataList: true, label: h.inputOutputList.failureOutputs, isOutput: true, property: "errorBindings", supportedFlowTypes: [...r2.flowTypes.flowTypesAllVxmlgen, ...r2.flowTypes.flowTypesAllCicero, r2.flowTypes.flowTypeWorkitem], yamlOptions: g.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs").setExportOrder(120)) }]; + return [{ audio: true, supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgen, options: l.AudioViewModelOptions.create((e3) => e3.setUiPropertyGroup(h.audio.audioLabel).setAssumeOosIfTypeUnavailable(true).setIninTestingField("preTransferAudio").setLabel(h.transfer.preTransferAudio)), property: "preTransferAudio", yamlOptions: g.createYamlOptions("preTransferAudio", (e3) => e3.setExportOrder(50)) }, { audio: true, supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgen, options: l.AudioViewModelOptions.create((e3) => e3.setUiPropertyGroup(h.audio.audioLabel).setAssumeOosIfTypeUnavailable(true).setIninTestingField("failedTransferAudio").setLabel(h.transfer.failureTransferAudio)), property: "failureTransferAudio", yamlOptions: g.createYamlOptions("failureTransferAudio", (e3) => e3.setExportOrder(60)) }, { label: h.transfer.preTransferCommunication, property: "preTransferCommunication", supportedFlowTypes: r2.flowTypes.flowTypesAllCicero, type: a.expressionTypeNames.communication, options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("preTransferCommunication").setDescriptionInfo(h.transfer.preTransferCommunication, h.transfer.preTransferCommunicationDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(c.channelTypeCall).setDefaultToBuilderId(o.builderIds.parts.genericCommunication).setUiPropertyGroup(h.communicate.communication).setScriptingPropertyName("preTransferCommunication").setUiPropertyOrder(21)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("preTransferCommunication").setDescriptionInfo(h.transfer.preTransferCommunication, h.transfer.preTransferCommunicationDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(c.channelTypeChat).setDefaultToBuilderId(o.builderIds.parts.markdownCommunication).setUiPropertyGroup(h.communicate.communication).setScriptingPropertyName("preTransferCommunication").setUiPropertyOrder(22)) }], yamlOptions: g.createYamlOptions("preTransferCommunication", (e3) => e3.setExportOrder(50)) }, { label: h.transfer.failureTransferCommunication, property: "failureTransferCommunication", supportedFlowTypes: r2.flowTypes.flowTypesAllCicero, type: a.expressionTypeNames.communication, options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("failureTransferCommunication").setDescriptionInfo(h.transfer.failureTransferCommunication, h.transfer.failureTransferCommunicationDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(c.channelTypeCall).setDefaultToBuilderId(o.builderIds.parts.genericCommunication).setUiPropertyGroup(h.communicate.communication).setScriptingPropertyName("failureTransferCommunication").setUiPropertyOrder(23)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("failureTransferCommunication").setDescriptionInfo(h.transfer.failureTransferCommunication, h.transfer.failureTransferCommunicationDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(c.channelTypeChat).setDefaultToBuilderId(o.builderIds.parts.markdownCommunication).setUiPropertyGroup(h.communicate.communication).setScriptingPropertyName("failureTransferCommunication").setUiPropertyOrder(24)) }], yamlOptions: g.createYamlOptions("failureTransferCommunication", (e3) => e3.setExportOrder(50)) }, { dataList: true, label: h.inputOutputList.failureOutputs, isOutput: true, property: "errorBindings", supportedFlowTypes: [...r2.flowTypes.flowTypesAllVxmlgen, ...r2.flowTypes.flowTypesAllCicero, r2.flowTypes.flowTypeWorkitem], yamlOptions: g.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs").setExportOrder(120)) }]; } } g.className = "BaseTransferAction", t2.default = g; }, 78830: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(77667), a = i2(77681), s = i2(12179), l = n2.__importDefault(i2(97891)), u = i2(28803), d = n2.__importDefault(i2(87951)), c = i2(60885), p = i2(47957); - class _ extends d.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(77667), a = i2(77681), s = i2(12179), l = n2.__importDefault(i2(97891)), u = i2(28803), c = n2.__importDefault(i2(87951)), d = i2(60885), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends c.default { static get managedProperties() { - return [{ property: "alias", createDetails: u.NetworkBasedActionProperty.createCreateDetails("aliasId", "aliasName", o.lexAliasManager, p.lex.mustSelectAlias, p.lex.aliasNotFound, "bot"), yamlOptions: _.createYamlOptions("alias", (e3) => e3.setSkipProperty(true)) }, { property: "bot", createDetails: u.NetworkBasedActionProperty.createCreateDetails("botId", "botName", a.lexBotNameManager, p.lex.mustSelectBotName, p.lex.botNameNotFound, null), yamlOptions: _.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }]; + return [{ property: "alias", createDetails: u.NetworkBasedActionProperty.createCreateDetails("aliasId", "aliasName", o.lexAliasManager, _.lex.mustSelectAlias, _.lex.aliasNotFound, "bot"), yamlOptions: h.createYamlOptions("alias", (e3) => e3.setSkipProperty(true)) }, { property: "bot", createDetails: u.NetworkBasedActionProperty.createCreateDetails("botId", "botName", a.lexBotNameManager, _.lex.mustSelectBotName, _.lex.botNameNotFound, null), yamlOptions: h.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }]; } get aliasReadyStatus() { - return c.lexStatuses.v1.ready; + return d.lexStatuses.v1.ready; } get aliasReadyStatusLower() { - return c.lexStatuses.v1.readyLower; + return d.lexStatuses.v1.readyLower; } _postProcessYamlConfig(e3, t3, i3) { e3.lexBot = {}; @@ -93040,7 +100063,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } } - _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: s.helpTopics.actions.lex, modelClass: i2(47380), name: p.actions.lex, scriptingName: "ArchActionCallLexBot" }), t2.A = _; + h.info = l.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: s.helpTopics.actions.lex, modelClass: i2(47380), name: _.actions.lex, scriptingName: "ArchActionCallLexBot", modelFormatSupport: { flowYaml: { isDeprecated: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 78858: (e2, t2, i2) => { var n2 = { "./cs-cz/currency.js": [50548, 548], "./de-de/currency.js": [35707, 5707], "./en-us/currency.js": [17186], "./es-us/currency.js": [81041, 1041], "./fr-ca/currency.js": [27165, 7165], "./it-it/currency.js": [83179, 3179], "./ja-jp/currency.js": [8938, 8938], "./ko-kr/currency.js": [31384, 1384], "./nb-no/currency.js": [36372, 6372], "./nl-nl/currency.js": [43853, 3853], "./pl-pl/currency.js": [5633, 5633], "./pt-br/currency.js": [27201, 7201], "./ru-ru/currency.js": [78879, 8879], "./sv-se/currency.js": [89440, 9440], "./tr-tr/currency.js": [74113, 4113], "./zh-cn/currency.js": [55692, 5692], "./zh-tw/currency.js": [83108, 3108] }; function r2(e3) { @@ -93267,10 +100290,10 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 79159: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(33231)), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(68223)), s = i2(24032), l = i2(27283), u = i2(55299), d = n2.__importStar(i2(36781)), c = (0, s.getTopic)("asyncOperationManager"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(33231)), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(68223)), s = i2(24032), l = i2(27283), u = i2(55299), c = n2.__importStar(i2(36781)), d = (0, s.getTopic)("asyncOperationManager"); function p(e3, t3) { const i3 = e3.constructor.name + "does not implement asyncOperationManager function: " + t3; - throw c.error(i3), new Error(i3); + throw d.error(i3), new Error(i3); } class _ extends u.BaseClass { constructor() { @@ -93311,7 +100334,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } } _finished(e3) { - this._removeEventNotifications(e3), e3.operationStillInProgress = false, this._clearTimeouts(e3), e3.stateChangedCallBack && d.emitter.removeListener(d.stateChangeStarted, e3.stateChangedCallBack); + this._removeEventNotifications(e3), e3.operationStillInProgress = false, this._clearTimeouts(e3), e3.stateChangedCallBack && c.emitter.removeListener(c.stateChangeStarted, e3.stateChangedCallBack); const t3 = this._operations.indexOf(e3); t3 >= 0 && this._operations.splice(t3, 1); } @@ -93352,7 +100375,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t4(e4); } } - return e3.stateChangedCallBack && d.emitter.on(d.stateChangeStarted, e3.stateChangedCallBack), e3.deferredOperation.promise.finally(() => { + return e3.stateChangedCallBack && c.emitter.on(c.stateChangeStarted, e3.stateChangedCallBack), e3.deferredOperation.promise.catch(() => { + }).finally(() => { this._finished(e3); }), e3.deferredOperation.promise; } @@ -93360,7 +100384,7 @@ ${e3.stack}`, n3 = [this].concat(i3); p(this, "_processNotification"); } _abandonProcessing(e3) { - l.queuedNetworkCallService.rateLimitRestricted ? e3.startAbandonProcessingTimeout() : (e3._abandonTimeoutId = void 0, e3.operationStillInProgress && (e3.logTopic.error("Abandoning operation. The operation did not complete in total allowed time of " + e3.abandonProcessingTimeout + " seconds."), e3.operationStillInProgress = false, e3.deferredOperation.reject())); + l.queuedNetworkCallService.rateLimitRestricted ? e3.startAbandonProcessingTimeout() : (e3._abandonTimeoutId = void 0, e3.operationStillInProgress && (e3.logTopic.error("Abandoning operation. The operation did not complete in total allowed time of " + e3.abandonProcessingTimeout + " seconds."), e3.operationStillInProgress = false, e3.deferredOperation.isPending() && e3.deferredOperation.reject())); } _removeEventNotifications(e3) { e3 && (e3.subscribedToNotifications = false, a.removeSubscription(e3.subscriptionTopics, e3.subscriberId)); @@ -93526,8 +100550,8 @@ ${e3.stack}`, n3 = [this].concat(i3); } } }), e2.exports = n2; }, 79348: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(81516), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(55581)), u = i2(80428), d = i2(47957); - class c extends l.default { + const n2 = i2(31635), r2 = i2(81516), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(55581)), u = i2(80428), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends l.default { constructor(e3, t3) { super(e3), this._loadModel(t3); } @@ -93535,10 +100559,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return o.default.foundNotFound; } static get managedProperties() { - return [{ label: d.getConversationData.participantLabel, options: r2.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(d.getConversationData.participantLabel, d.getConversationData.participantDescription).setIsOptional(true).setIninTestingField("ParticipantIdExpression").setDisableSpellcheck(true).setUiPropertyOrder(20).facets.setLengthForUuid()), property: "participantId", type: u.expressionTypeNames.string, yamlOptions: c.createYamlOptions("participantId", (e3) => e3.setExportOrder(20)) }]; + return [{ label: d.getConversationData.participantLabel, options: r2.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(d.getConversationData.participantLabel, d.getConversationData.participantDescription).setIsOptional(true).setIninTestingField("ParticipantIdExpression").setDisableSpellcheck(true).setUiPropertyOrder(20).facets.setLengthForUuid()), property: "participantId", type: u.expressionTypeNames.string, yamlOptions: p.createYamlOptions("participantId", (e3) => e3.setExportOrder(20)) }]; } } - c.info = s.default.createActionInfo({ actionClass: c, canBeInTask: true, canBeTreeNode: false, helpTopic: a.helpTopics.actions.getConversationData, modelClass: i2(40762), name: d.actions.getConversationData, scriptingName: "ArchActionGetConversationData" }), t2.A = c; + p.info = s.default.createActionInfo({ actionClass: p, canBeInTask: true, canBeTreeNode: false, helpTopic: a.helpTopics.actions.getConversationData, modelClass: i2(40762), name: d.actions.getConversationData, scriptingName: "ArchActionGetConversationData", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 79353: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(81086), o = i2(65302), a = i2(22928).default, s = i2(14187); function l(e3) { @@ -93604,8 +100628,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.typeIdentifier ? o.resolveType(this.parentFlow, this.typeIdentifier) : o.getTypeFromIcwsType(this.parentFlow, this.__type, this.isCollection); } }, unscopedName: { get: function() { return s.getUnscopedName(this.name); - } }, usages: { get: function() { - return this.realVariable.usages; + } }, hasUsagesForFlow: { value: function(e3) { + return this.realVariable.hasUsagesForFlow(e3); + } }, getUsagesForFlow: { value: function(e3) { + return this.realVariable.getUsagesForFlow(e3); } }, isPartOfEnum: { get: function() { return this.realVariable.isPartOfEnum; } } }), e2.exports = l; @@ -93641,13 +100667,13 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "Subject", { enumerable: true, get: function() { return u.Subject; } }); - var d = i2(97314); + var c = i2(97314); Object.defineProperty(t2, "BehaviorSubject", { enumerable: true, get: function() { - return d.BehaviorSubject; + return c.BehaviorSubject; } }); - var c = i2(10381); + var d = i2(10381); Object.defineProperty(t2, "ReplaySubject", { enumerable: true, get: function() { - return c.ReplaySubject; + return d.ReplaySubject; } }); var p = i2(5130); Object.defineProperty(t2, "AsyncSubject", { enumerable: true, get: function() { @@ -93705,17 +100731,17 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "pipe", { enumerable: true, get: function() { return N.pipe; } }); - var O = i2(5717); + var v = i2(5717); Object.defineProperty(t2, "noop", { enumerable: true, get: function() { - return O.noop; + return v.noop; } }); - var I = i2(87699); + var O = i2(87699); Object.defineProperty(t2, "identity", { enumerable: true, get: function() { - return I.identity; + return O.identity; } }); - var v = i2(62560); + var I = i2(62560); Object.defineProperty(t2, "isObservable", { enumerable: true, get: function() { - return v.isObservable; + return I.isObservable; } }); var C = i2(85761); Object.defineProperty(t2, "lastValueFrom", { enumerable: true, get: function() { @@ -93729,13 +100755,13 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "ArgumentOutOfRangeError", { enumerable: true, get: function() { return E.ArgumentOutOfRangeError; } }); - var R = i2(59328); + var w = i2(59328); Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() { - return R.EmptyError; + return w.EmptyError; } }); - var w = i2(23506); + var R = i2(23506); Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() { - return w.NotFoundError; + return R.NotFoundError; } }); var D = i2(50839); Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() { @@ -93805,17 +100831,17 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "iif", { enumerable: true, get: function() { return J.iif; } }); - var z = i2(62275); + var $ = i2(62275); Object.defineProperty(t2, "interval", { enumerable: true, get: function() { - return z.interval; + return $.interval; } }); - var K = i2(95936); + var z = i2(95936); Object.defineProperty(t2, "merge", { enumerable: true, get: function() { - return K.merge; + return z.merge; } }); - var $ = i2(11934); + var K = i2(11934); Object.defineProperty(t2, "never", { enumerable: true, get: function() { - return $.never; + return K.never; } }); var Q = i2(61587); Object.defineProperty(t2, "of", { enumerable: true, get: function() { @@ -93869,13 +100895,13 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "NEVER", { enumerable: true, get: function() { return ue.NEVER; } }), r2(i2(96153), t2); - var de = i2(93728); + var ce = i2(93728); Object.defineProperty(t2, "config", { enumerable: true, get: function() { - return de.config; + return ce.config; } }); - var ce = i2(88877); + var de = i2(88877); Object.defineProperty(t2, "audit", { enumerable: true, get: function() { - return ce.audit; + return de.audit; } }); var pe = i2(51608); Object.defineProperty(t2, "auditTime", { enumerable: true, get: function() { @@ -93921,17 +100947,17 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "concatAll", { enumerable: true, get: function() { return Ne.concatAll; } }); - var Oe = i2(29512); + var ve = i2(29512); Object.defineProperty(t2, "concatMap", { enumerable: true, get: function() { - return Oe.concatMap; + return ve.concatMap; } }); - var Ie = i2(19913); + var Oe = i2(19913); Object.defineProperty(t2, "concatMapTo", { enumerable: true, get: function() { - return Ie.concatMapTo; + return Oe.concatMapTo; } }); - var ve = i2(98032); + var Ie = i2(98032); Object.defineProperty(t2, "concatWith", { enumerable: true, get: function() { - return ve.concatWith; + return Ie.concatWith; } }); var Ce = i2(17812); Object.defineProperty(t2, "connect", { enumerable: true, get: function() { @@ -93945,13 +100971,13 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "debounce", { enumerable: true, get: function() { return Ee.debounce; } }); - var Re = i2(21762); + var we = i2(21762); Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() { - return Re.debounceTime; + return we.debounceTime; } }); - var we = i2(58799); + var Re = i2(58799); Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() { - return we.defaultIfEmpty; + return Re.defaultIfEmpty; } }); var De = i2(5797); Object.defineProperty(t2, "delay", { enumerable: true, get: function() { @@ -94021,17 +101047,17 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "findIndex", { enumerable: true, get: function() { return Je.findIndex; } }); - var ze = i2(19980); + var $e = i2(19980); Object.defineProperty(t2, "first", { enumerable: true, get: function() { - return ze.first; + return $e.first; } }); - var Ke = i2(5128); + var ze = i2(5128); Object.defineProperty(t2, "groupBy", { enumerable: true, get: function() { - return Ke.groupBy; + return ze.groupBy; } }); - var $e = i2(2959); + var Ke = i2(2959); Object.defineProperty(t2, "ignoreElements", { enumerable: true, get: function() { - return $e.ignoreElements; + return Ke.ignoreElements; } }); var Qe = i2(69915); Object.defineProperty(t2, "isEmpty", { enumerable: true, get: function() { @@ -94085,13 +101111,13 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "min", { enumerable: true, get: function() { return ut.min; } }); - var dt = i2(18464); + var ct = i2(18464); Object.defineProperty(t2, "multicast", { enumerable: true, get: function() { - return dt.multicast; + return ct.multicast; } }); - var ct = i2(32071); + var dt = i2(32071); Object.defineProperty(t2, "observeOn", { enumerable: true, get: function() { - return ct.observeOn; + return dt.observeOn; } }); var pt = i2(95513); Object.defineProperty(t2, "onErrorResumeNextWith", { enumerable: true, get: function() { @@ -94137,17 +101163,17 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "repeatWhen", { enumerable: true, get: function() { return Nt.repeatWhen; } }); - var Ot = i2(3352); + var vt = i2(3352); Object.defineProperty(t2, "retry", { enumerable: true, get: function() { - return Ot.retry; + return vt.retry; } }); - var It = i2(73956); + var Ot = i2(73956); Object.defineProperty(t2, "retryWhen", { enumerable: true, get: function() { - return It.retryWhen; + return Ot.retryWhen; } }); - var vt = i2(79224); + var It = i2(79224); Object.defineProperty(t2, "refCount", { enumerable: true, get: function() { - return vt.refCount; + return It.refCount; } }); var Ct = i2(43434); Object.defineProperty(t2, "sample", { enumerable: true, get: function() { @@ -94161,13 +101187,13 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "scan", { enumerable: true, get: function() { return Et.scan; } }); - var Rt = i2(73929); + var wt = i2(73929); Object.defineProperty(t2, "sequenceEqual", { enumerable: true, get: function() { - return Rt.sequenceEqual; + return wt.sequenceEqual; } }); - var wt = i2(93405); + var Rt = i2(93405); Object.defineProperty(t2, "share", { enumerable: true, get: function() { - return wt.share; + return Rt.share; } }); var Dt = i2(17782); Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() { @@ -94237,17 +101263,17 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "tap", { enumerable: true, get: function() { return Jt.tap; } }); - var zt = i2(44880); + var $t = i2(44880); Object.defineProperty(t2, "throttle", { enumerable: true, get: function() { - return zt.throttle; + return $t.throttle; } }); - var Kt = i2(7245); + var zt = i2(7245); Object.defineProperty(t2, "throttleTime", { enumerable: true, get: function() { - return Kt.throttleTime; + return zt.throttleTime; } }); - var $t = i2(30632); + var Kt = i2(30632); Object.defineProperty(t2, "throwIfEmpty", { enumerable: true, get: function() { - return $t.throwIfEmpty; + return Kt.throwIfEmpty; } }); var Qt = i2(32508); Object.defineProperty(t2, "timeInterval", { enumerable: true, get: function() { @@ -94307,8 +101333,8 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeDurationOptions = void 0; - const o = i2(31635), a = o.__importStar(i2(63824)), s = i2(63824), l = o.__importDefault(i2(50964)), u = i2(80295), d = i2(65615), c = i2(55909), p = i2(33951); - class _ extends d.BaseExpressionTypeCollectionOptions { + const o = i2(31635), a = o.__importStar(i2(63824)), s = i2(63824), l = o.__importDefault(i2(50964)), u = i2(80295), c = i2(65615), d = i2(55909), p = i2(33951); + class _ extends c.BaseExpressionTypeCollectionOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -94328,7 +101354,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._durationFacets; } set facets(e3) { - this._durationFacets = p.ParameterValidator.expectTrue(e3 && true === e3.isDurationFacets, e3, "DurationFacets", () => c.ParameterInfo.createPropertySet(this.className, "facets", "value")); + this._durationFacets = p.ParameterValidator.expectTrue(e3 && true === e3.isDurationFacets, e3, "DurationFacets", () => d.ParameterInfo.createPropertySet(this.className, "facets", "value")); } _getDefaultTextForDisplay() { return this.defaultText && !this.defaultToExpression ? a.getSearchStringFromLiteral(this.defaultText) : this.defaultText; @@ -94343,7 +101369,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._durationStyle; } set durationStyle(e3) { - this._durationStyle = p.ParameterValidator.expectObject(e3, () => c.ParameterInfo.createPropertySet(this.className, "durationStyle", "value")); + this._durationStyle = p.ParameterValidator.expectObject(e3, () => d.ParameterInfo.createPropertySet(this.className, "durationStyle", "value")); } setDurationStyle(e3) { return this.durationStyle = e3, this; @@ -94362,7 +101388,7 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }), t2.SchemaSource = t2.JsonSchemaProcessingWarning = t2.JsonSchemaProcessingFailure = t2.JsonSchemaUsage = t2.CustomJsonContext = t2.CustomJsonNamespace = void 0, (function(e3) { e3.architect = "architect", e3.architectFlow = "architectFlow", e3.botConnector = "botConnector", e3.composerScript = "composerScript", e3.conversationAttribute = "conversationAttribute", e3.dataAction = "dataAction", e3.decisionTable = "decisionTable", e3.externalContact = "externalContact", e3.structuredParticipantData = "structuredParticipantData", e3.userDefined = "userDefined", e3.worktype = "worktype"; })(i2 || (t2.CustomJsonNamespace = i2 = {})), (function(e3) { - e3.error = "error", e3.input = "input", e3.none = "none", e3.output = "output", e3.record = "record", e3.schemaData = "schemaData"; + e3.error = "error", e3.input = "input", e3.none = "none", e3.output = "output", e3.record = "record", e3.schemaData = "schemaData", e3.schemaDataPatch = "schemaDataPatch"; })(n2 || (t2.CustomJsonContext = n2 = {})), (function(e3) { e3[e3.none = 0] = "none", e3[e3.error = 1] = "error", e3[e3.input = 2] = "input", e3[e3.output = 4] = "output"; })(r2 || (t2.JsonSchemaUsage = r2 = {})), (function(e3) { @@ -94390,28 +101416,9 @@ ${e3.stack}`, n3 = [this].concat(i3); }, s.prototype.getWrapupCode.api = o.getWrapupCode, s.prototype.getWrapupCodesListView = function(e3) { return a.build(o.getWrapupCodes).queryParams(e3 || {}).call(); }, e2.exports = new s(); - }, 79608: (e2, t2, i2) => { + }, 79608: (e2, t2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "externalContactCollection"; - } - get initialValue() { - return this._initialValue; - } - get displayTypeName() { - return "ArchVariableExternalContactCollection"; - } - get isArchVariableExternalContactCollection() { - return true; - } - } - t2.default = r2; + Object.defineProperty(t2, "__esModule", { value: true }), t2.architectYamlMaxDepth = void 0, t2.architectYamlMaxDepth = 1e3; }, 79627: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.GuideVersionViewModel = void 0; @@ -94664,7 +101671,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const n2 = i2(31635), r2 = n2.__importDefault(i2(78432)), o = i2(38249), a = n2.__importDefault(i2(67336)), s = i2(50474); class l extends a.default { constructor(e3) { - super(e3), this._coreUserInputSettingsViewModel = e3, this._collectionHighConfidenceThreshold = this.coreFactory.createArchWrapper(e3.collectionHighConfidenceThreshold), this._collectionLowConfidenceThreshold = this.coreFactory.createArchWrapper(e3.collectionLowConfidenceThreshold), this._confirmationLowConfidenceThreshold = this.coreFactory.createArchWrapper(e3.confirmationLowConfidenceThreshold), this._confirmationRejectionsMax = this.coreFactory.createArchWrapper(e3.confirmationRejectionsMax), this._enableBargeIn = this.coreFactory.createArchWrapper(e3.enableBargeIn), this._enableAutomaticQuickReplies = this.coreFactory.createArchWrapper(e3.enableAutomaticQuickReplies), this._noInputsMax = this.coreFactory.createArchWrapper(e3.noInputsMax), this._noMatchesMax = this.coreFactory.createArchWrapper(e3.noMatchesMax), this._noInputsTimeout = this.coreFactory.createArchWrapper(e3.noInputsTimeout), this._speechToTextSpeechDetectionSensitivity = this.coreFactory.createArchWrapper(e3.speechToTextSpeechDetectionSensitivity), this._enableIntentClassificationHinting = this.coreFactory.createArchWrapper(e3.enableIntentClassificationHinting), this._speechToTextMaxSpeechTimeout = this.coreFactory.createArchWrapper(e3.speechToTextMaxSpeechTimeout), this._interDigitTimeout = this.coreFactory.createArchWrapper(e3.interDigitTimeout), this._dtmfTerminatingCharacter = this.coreFactory.createArchWrapper(e3.dtmfTerminatingCharacter), this._confirmationNoInputApology = this.coreFactory.createArchWrapper(e3.confirmationNoInputApologies.items[0]), this._confirmationNoMatchApology = this.coreFactory.createArchWrapper(e3.confirmationNoMatchApologies.items[0]), this._noInputApology = this.coreFactory.createArchWrapper(e3.noInputsApologies.items[0]), this._endOfSessionMessage = this.coreFactory.createArchWrapper(e3.endOfSessionMessage), this._noMatchApology = this.coreFactory.createArchWrapper(e3.noMatchApologies.items[0]), this._noToConfirmationApology = this.coreFactory.createArchWrapper(e3.noToConfirmationApologies.items[0]); + super(e3), this._coreUserInputSettingsViewModel = e3, this._collectionHighConfidenceThreshold = this.coreFactory.createArchWrapper(e3.collectionHighConfidenceThreshold), this._collectionLowConfidenceThreshold = this.coreFactory.createArchWrapper(e3.collectionLowConfidenceThreshold), this._confirmationLowConfidenceThreshold = this.coreFactory.createArchWrapper(e3.confirmationLowConfidenceThreshold), this._confirmationRejectionsMax = this.coreFactory.createArchWrapper(e3.confirmationRejectionsMax), this._enableBargeIn = this.coreFactory.createArchWrapper(e3.enableBargeIn), this._enableAutomaticQuickReplies = this.coreFactory.createArchWrapper(e3.enableAutomaticQuickReplies), this._noInputsMax = this.coreFactory.createArchWrapper(e3.noInputsMax), this._noMatchesMax = this.coreFactory.createArchWrapper(e3.noMatchesMax), this._noInputsTimeout = this.coreFactory.createArchWrapper(e3.noInputsTimeout), this._speechToTextSpeechDetectionSensitivity = this.coreFactory.createArchWrapper(e3.speechToTextSpeechDetectionSensitivity), this._enableIntentClassificationHinting = this.coreFactory.createArchWrapper(e3.enableIntentClassificationHinting), this._speechToTextMaxSpeechTimeout = this.coreFactory.createArchWrapper(e3.speechToTextMaxSpeechTimeout), this._speechToTextAdvancedConfiguration = this.coreFactory.createArchWrapper(e3.speechToTextAdvancedConfiguration), this._interDigitTimeout = this.coreFactory.createArchWrapper(e3.interDigitTimeout), this._dtmfTerminatingCharacter = this.coreFactory.createArchWrapper(e3.dtmfTerminatingCharacter), this._confirmationNoInputApology = this.coreFactory.createArchWrapper(e3.confirmationNoInputApologies.items[0]), this._confirmationNoMatchApology = this.coreFactory.createArchWrapper(e3.confirmationNoMatchApologies.items[0]), this._noInputApology = this.coreFactory.createArchWrapper(e3.noInputsApologies.items[0]), this._endOfSessionMessage = this.coreFactory.createArchWrapper(e3.endOfSessionMessage), this._noMatchApology = this.coreFactory.createArchWrapper(e3.noMatchApologies.items[0]), this._noToConfirmationApology = this.coreFactory.createArchWrapper(e3.noToConfirmationApologies.items[0]); } get displayTypeName() { return "ArchSettingsUserInput"; @@ -94745,6 +101752,9 @@ ${e3.stack}`, n3 = [this].concat(i3); get speechToTextMaxSpeechTimeout() { return this._speechToTextMaxSpeechTimeout; } + get speechToTextAdvancedConfiguration() { + return this._speechToTextAdvancedConfiguration; + } get enableIntentClassificationHinting() { return this._enableIntentClassificationHinting; } @@ -94787,8 +101797,8 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(39732)), o = n2.__importDefault(i2(41800)), a = n2.__importDefault(i2(83630)); class s extends r2.default { - constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, partConfigurators: o2, resultExpressionType: a2, type: s2, expressionDefs: l, restrictToFlowTypeOrTypes: u, categoryIdentifierOrIdentifiers: d }) { - super(e3, t3, i3, n3, r3, o2, a2 = a2 || s2, { languageTag: "lower-case ietf language-tag" }, u, d, a2.getArchIcon()); + constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, partConfigurators: o2, resultExpressionType: a2, type: s2, expressionDefs: l, restrictToFlowTypeOrTypes: u, categoryIdentifierOrIdentifiers: c }) { + super(e3, t3, i3, n3, r3, o2, a2 = a2 || s2, { languageTag: "lower-case ietf language-tag" }, u, c, a2.getArchIcon()); } get className() { return "BuilderPartContainerLanguageDef"; @@ -94812,16 +101822,21 @@ ${e3.stack}`, n3 = [this].concat(i3); } } t2.default = s; + }, 79924: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.flowYamlJsYamlSchema = void 0; + const n2 = i2(55890), r2 = i2(75778), o = i2(51857), a = i2(25074); + t2.flowYamlJsYamlSchema = a.FAILSAFE_SCHEMA.withTags(a.nullCoreTag, a.boolCoreTag, o.strictIntType, r2.strictFloatType, a.mergeTag, a.binaryTag, a.legacyMapTag, a.omapTag, a.pairsTag, n2.legacySetType); }, 79963: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.callbackManager = t2.CallbackManager = void 0; const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(30801), o = i2(24032), a = i2(82915), s = i2(47957), l = i2(52124), u = i2(28195); - class d extends a.ScriptManager { + class c extends a.ScriptManager { constructor() { super("CallbackManager"), this.topic = (0, o.getTopic)("AllScriptsManager"), this.actionsForUsageSearch = [r2.createCallbackActionType], this.apiCallList = n2.default.partial(l.getScriptsForFeature, u.callback), this.dependencyContext = s.createCallback.selectedScript, this.scriptFeatureType = u.callback; } } - t2.CallbackManager = d, t2.callbackManager = new d(); + t2.CallbackManager = c, t2.callbackManager = new c(); }, 80101: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.CustomerSegment = void 0; @@ -94839,6 +101854,9 @@ ${e3.stack}`, n3 = [this].concat(i3); get name() { return this._name; } + set name(e3) { + this._name = e3; + } get label() { return this._name; } @@ -94852,7 +101870,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this._name = e3; } } - t2.CustomerSegment = a, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "id", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [])], a.prototype, "name", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "label", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "displayName", null); + t2.CustomerSegment = a, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "id", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "name", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "label", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "displayName", null); }, 80133: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -94931,8 +101949,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = l; }, 80251: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(21647), a = i2(80428), s = i2(85251), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(21647), a = i2(80428), s = i2(85251), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -94940,7 +101958,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.getJourneySegment.idLabel, searchResultLabel: d.findActions.getJourneySegment.resultLabel, searchResultExpressionOptions: o.ExpressionTypeComplexOptions.create(), searchResultItemType: a.expressionTypeNames.journeySegment }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.getJourneySegment, modelClass: s.GetJourneySegmentActionModel, name: d.actions.getJourneySegment, scriptingName: "ArchActionGetJourneySegment" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.getJourneySegment, modelClass: s.GetJourneySegmentActionModel, name: d.actions.getJourneySegment, scriptingName: "ArchActionGetJourneySegment", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 80259: (e2, t2, i2) => { function n2() { this.id = void 0, this.name = void 0, n2.baseConstructor.apply(this, arguments); @@ -95096,32 +102114,32 @@ ${e3.stack}`, n3 = [this].concat(i3); }, t2.resolveParametersAndGetText = o, t2.resolveParametersAndSetExpressionValue = function(e3, t3, i3, o2) { var a, s, l, u; if (!(null == i3 ? void 0 : i3.parameters)) return false; - let d = i3.parameters.text; - if (n2.default.isString(d)) return t3.setAsLiteral(d), true; + let c = i3.parameters.text; + if (n2.default.isString(c)) return t3.setAsLiteral(c), true; if (o2) { const e4 = i3.parameters.templateNoOverlaySection; if (e4) { const a2 = i3.parameters.templateNoOverlaySectionKey; if (a2) { const i4 = r2(o2.idExpressionText).noOverlay; - if (i4 && i4[e4] && (d = i4[e4][a2], n2.default.isString(d))) return t3.setAsLiteral(d), true; + if (i4 && i4[e4] && (c = i4[e4][a2], n2.default.isString(c))) return t3.setAsLiteral(c), true; } } else if (1 === Object.keys(i3.parameters).length && "reference" !== Object.keys(i3.parameters)[0]) { const e5 = Object.keys(i3.parameters)[0]; if (e5) { const a2 = r2(o2.idExpressionText)[e5]; - if (n2.default.isString(a2)) return d = a2, t3.setAsLiteral(d), true; + if (n2.default.isString(a2)) return c = a2, t3.setAsLiteral(c), true; const s2 = a2[i3.parameters[e5]]; - if (s2 && (d = s2, n2.default.isString(d))) return t3.setAsLiteral(d), true; + if (s2 && (c = s2, n2.default.isString(c))) return t3.setAsLiteral(c), true; } } } switch (i3.parameters.reference) { case "$askResultVariable": - if (d = null === (l = null === (s = null === (a = e3.owningExpression.parent) || void 0 === a ? void 0 : a.askResult) || void 0 === s ? void 0 : s.variableReference) || void 0 === l ? void 0 : l.text, n2.default.isString(d)) return t3.text = d, true; + if (c = null === (l = null === (s = null === (a = e3.owningExpression.parent) || void 0 === a ? void 0 : a.askResult) || void 0 === s ? void 0 : s.variableReference) || void 0 === l ? void 0 : l.text, n2.default.isString(c)) return t3.text = c, true; break; case "$selectedSlotName": - if (d = (null === (u = e3.owningExpression.parent) || void 0 === u ? void 0 : u.selectedSlot) || r2(e3.owningExpression.parentFlow.defaultLanguage).askForSlot.pleaseEnterSlotNameHere, n2.default.isString(d)) return t3.setAsLiteral(d), true; + if (c = (null === (u = e3.owningExpression.parent) || void 0 === u ? void 0 : u.selectedSlot) || r2(e3.owningExpression.parentFlow.defaultLanguage).askForSlot.pleaseEnterSlotNameHere, n2.default.isString(c)) return t3.setAsLiteral(c), true; } return false; }; @@ -95129,15 +102147,15 @@ ${e3.stack}`, n3 = [this].concat(i3); function o(e3, t3, i3, o2) { var a, s, l, u; if (!(null == t3 ? void 0 : t3.parameters)) return; - let d = t3.parameters.text; - if (n2.default.isString(d)) return d; + let c = t3.parameters.text; + if (n2.default.isString(c)) return c; if (i3) { const e4 = t3.parameters.templateNoOverlaySection; if (e4) { const o3 = t3.parameters.templateNoOverlaySectionKey; if (o3) { const t4 = r2(i3.idExpressionText).noOverlay; - if (t4 && t4[e4] && (d = t4[e4][o3], n2.default.isString(d))) return d; + if (t4 && t4[e4] && (c = t4[e4][o3], n2.default.isString(c))) return c; } } else if (1 === Object.keys(t3.parameters).length && "reference" !== Object.keys(t3.parameters)[0]) { const e5 = Object.keys(t3.parameters)[0]; @@ -95145,25 +102163,25 @@ ${e3.stack}`, n3 = [this].concat(i3); const o3 = r2(i3.idExpressionText)[e5]; if (n2.default.isString(o3)) return o3; const a2 = o3[t3.parameters[e5]]; - if (a2 && (d = a2, n2.default.isString(d))) return d; + if (a2 && (c = a2, n2.default.isString(c))) return c; } } } switch (t3.parameters.reference) { case "$askResultVariable": - if (d = null === (l = null === (s = null === (a = e3.owningExpression.parent) || void 0 === a ? void 0 : a.askResult) || void 0 === s ? void 0 : s.variableReference) || void 0 === l ? void 0 : l.text, n2.default.isString(d)) return o2 ? `{{${d}}}` : d; + if (c = null === (l = null === (s = null === (a = e3.owningExpression.parent) || void 0 === a ? void 0 : a.askResult) || void 0 === s ? void 0 : s.variableReference) || void 0 === l ? void 0 : l.text, n2.default.isString(c)) return o2 ? `{{${c}}}` : c; break; case "$selectedSlotName": - if (d = (null === (u = e3.owningExpression.parent) || void 0 === u ? void 0 : u.selectedSlot) || r2(e3.owningExpression.parentFlow.defaultLanguage).askForSlot.pleaseEnterSlotNameHere, n2.default.isString(d)) return d; + if (c = (null === (u = e3.owningExpression.parent) || void 0 === u ? void 0 : u.selectedSlot) || r2(e3.owningExpression.parentFlow.defaultLanguage).askForSlot.pleaseEnterSlotNameHere, n2.default.isString(c)) return c; } } }, 80570: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(28562), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(80428), u = i2(67607), d = i2(82319), c = i2(79467), p = n2.__importStar(i2(85020)), _ = n2.__importDefault(i2(81823)), h = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = i2(28562), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(80428), u = i2(67607), c = i2(82319), d = i2(79467), p = n2.__importStar(i2(85020)), _ = n2.__importDefault(i2(81823)), h = i2(47957); class m extends _.default { static get managedProperties() { - return [{ label: h.askCommon.noInput, options: m.createNoInputOptions().setDefaultToBuilderId(o.builderIds.parts.genericCommunication), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("noInput", (e3) => e3.setPropertyName("noInput")), property: "noInput", type: l.expressionTypeNames.communication }, { label: h.askCommon.noInputReprompts, options: d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noInputReprompts").setDescriptionInfo(h.askCommon.noInputReprompts, h.askCommon.noInputRepromptsDescription).setIsOptional(true).setRequiredFlowChannelType(p.channelTypeCall).setUiPropertyGroup(h.askCommon.invalidResponse).setScriptingPropertyName("noInputReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(21), true).setDefaultToBuilderId(o.builderIds.parts.genericCommunication), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("noInputReprompts", (e3) => e3.setPropertyName("noInputReprompts").setWrappedObjectName("customizeNoInput")), property: "noInputReprompts", type: l.expressionTypeNames.communication }, { options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText("false").setIninTestingField("customizeNoInputButton").setBoolText(h.askCommon.defaultNoInput, h.askCommon.customizeNoInput).setUiPropertyGroup(h.askCommon.invalidResponse).setUiPropertyOrder(22)), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("customizeNoInput", (e3) => e3.setSkipProperty(true)), property: "customizeNoInput", type: l.expressionTypeNames.boolean }, { label: h.askCommon.noMatch, options: m.createNoMatchOptions().setDefaultToBuilderId(o.builderIds.parts.genericCommunication), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: m.createNoMatchOptions().setDefaultToBuilderId(o.builderIds.parts.markdownCommunication) }], yamlOptions: m.createYamlOptions("noMatch", (e3) => e3.setPropertyName("noMatch")), property: "noMatch", type: l.expressionTypeNames.communication }, { label: h.askCommon.noMatchReprompts, options: m.createNoMatchRepromptsOptions().setDefaultToBuilderId(o.builderIds.parts.genericCommunication), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: m.createNoMatchRepromptsOptions().setDefaultToBuilderId(o.builderIds.parts.markdownCommunication) }], yamlOptions: m.createYamlOptions("noMatchReprompts", (e3) => e3.setPropertyName("noMatchReprompts").setWrappedObjectName("customizeNoMatch")), property: "noMatchReprompts", type: l.expressionTypeNames.communication }, { options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText("false").setIninTestingField("customizeNoMatchButton").setBoolText(h.askCommon.defaultNoMatch, h.askCommon.customizeNoMatch).setUiPropertyGroup(h.askCommon.invalidResponse).setUiPropertyOrder(25)), yamlOptions: m.createYamlOptions("customizeNoMatch", (e3) => e3.setSkipProperty(true)), property: "customizeNoMatch", type: l.expressionTypeNames.boolean }, { label: h.askCommon.voiceEndOfInputTimeout, options: c.ExpressionTypeDurationOptions.create((e3) => e3.setAllowSecure(true).setRequiredFlowChannelType(p.channelTypeCall).setIninTestingField("voiceEndOfInputTimeout").setDescriptionInfo(h.askCommon.voiceEndOfInputTimeout, h.askCommon.voiceEndOfInputTimeoutDescriptionAskActions).setDefaultText(a.default.litDurationOneSecond).setAllowFlowLevelDefault(true).setFlowLevelDefaultSameModes(true).setUiPropertyOrder(9).setUiPropertyGroup(h.speechToText.recognitionParams.speechRecognitionParameters).setScriptingPropertyName("voiceEndOfInputTimeout").setDurationStyle(s.durationStyles.secondsAndTenthsDuration).facets.setMinDur(100, true).setMaxDur(10 * a.default.msPerSecond, true)), property: "voiceEndOfInputTimeout", type: l.expressionTypeNames.duration }]; + return [{ label: h.askCommon.noInput, options: m.createNoInputOptions().setDefaultToBuilderId(o.builderIds.parts.genericCommunication), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("noInput", (e3) => e3.setPropertyName("noInput")), property: "noInput", type: l.expressionTypeNames.communication }, { label: h.askCommon.noInputReprompts, options: c.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noInputReprompts").setDescriptionInfo(h.askCommon.noInputReprompts, h.askCommon.noInputRepromptsDescription).setIsOptional(true).setRequiredFlowChannelType(p.channelTypeCall).setUiPropertyGroup(h.askCommon.invalidResponse).setScriptingPropertyName("noInputReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(21), true).setDefaultToBuilderId(o.builderIds.parts.genericCommunication), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("noInputReprompts", (e3) => e3.setPropertyName("noInputReprompts").setWrappedObjectName("customizeNoInput")), property: "noInputReprompts", type: l.expressionTypeNames.communication }, { options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText("false").setIninTestingField("customizeNoInputButton").setBoolText(h.askCommon.defaultNoInput, h.askCommon.customizeNoInput).setUiPropertyGroup(h.askCommon.invalidResponse).setUiPropertyOrder(22)), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("customizeNoInput", (e3) => e3.setSkipProperty(true)), property: "customizeNoInput", type: l.expressionTypeNames.boolean }, { label: h.askCommon.noMatch, options: m.createNoMatchOptions().setDefaultToBuilderId(o.builderIds.parts.genericCommunication), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: m.createNoMatchOptions().setDefaultToBuilderId(o.builderIds.parts.markdownCommunication) }], yamlOptions: m.createYamlOptions("noMatch", (e3) => e3.setPropertyName("noMatch")), property: "noMatch", type: l.expressionTypeNames.communication }, { label: h.askCommon.noMatchReprompts, options: m.createNoMatchRepromptsOptions().setDefaultToBuilderId(o.builderIds.parts.genericCommunication), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: m.createNoMatchRepromptsOptions().setDefaultToBuilderId(o.builderIds.parts.markdownCommunication) }], yamlOptions: m.createYamlOptions("noMatchReprompts", (e3) => e3.setPropertyName("noMatchReprompts").setWrappedObjectName("customizeNoMatch")), property: "noMatchReprompts", type: l.expressionTypeNames.communication }, { options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText("false").setIninTestingField("customizeNoMatchButton").setBoolText(h.askCommon.defaultNoMatch, h.askCommon.customizeNoMatch).setUiPropertyGroup(h.askCommon.invalidResponse).setUiPropertyOrder(25)), yamlOptions: m.createYamlOptions("customizeNoMatch", (e3) => e3.setSkipProperty(true)), property: "customizeNoMatch", type: l.expressionTypeNames.boolean }, { label: h.askCommon.voiceEndOfInputTimeout, options: d.ExpressionTypeDurationOptions.create((e3) => e3.setAllowSecure(true).setRequiredFlowChannelType(p.channelTypeCall).setIninTestingField("voiceEndOfInputTimeout").setDescriptionInfo(h.askCommon.voiceEndOfInputTimeout, h.askCommon.voiceEndOfInputTimeoutDescriptionAskActions).setDefaultText(a.default.litDurationOneSecond).setAllowFlowLevelDefault(true).setFlowLevelDefaultSameModes(true).setUiPropertyOrder(9).setUiPropertyGroup(h.speechToText.recognitionParams.speechRecognitionParameters).setScriptingPropertyName("voiceEndOfInputTimeout").setDurationStyle(s.durationStyles.secondsAndTenthsDuration).facets.setMinDur(100, true).setMaxDur(10 * a.default.msPerSecond, true)), property: "voiceEndOfInputTimeout", type: l.expressionTypeNames.duration }]; } constructor(e3) { super(e3); @@ -95205,13 +102223,13 @@ ${e3.stack}`, n3 = [this].concat(i3); super.propertyChanged(e3), !e3.propertyName || e3.propertyName !== (null === (t3 = this.customizeNoInput) || void 0 === t3 ? void 0 : t3.propertyName) && e3.propertyName !== (null === (i3 = this.customizeNoMatch) || void 0 === i3 ? void 0 : i3.propertyName) || this._updatePropertiesOOS(); } static createNoInputOptions() { - return d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noInput").setDescriptionInfo(h.askCommon.noInput, h.askCommon.noInputDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(p.channelTypeCall).setUiPropertyGroup(h.askCommon.invalidResponse).setScriptingPropertyName("noInput").setUiPropertyOrder(20)); + return c.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noInput").setDescriptionInfo(h.askCommon.noInput, h.askCommon.noInputDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(p.channelTypeCall).setUiPropertyGroup(h.askCommon.invalidResponse).setScriptingPropertyName("noInput").setUiPropertyOrder(20)); } static createNoMatchOptions() { - return d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatch").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDescriptionInfo(h.askCommon.noMatch, h.askCommon.noMatchDescription).setScriptingPropertyName("noMatch").setUiPropertyGroup(h.askCommon.invalidResponse).setUiPropertyOrder(23)); + return c.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatch").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDescriptionInfo(h.askCommon.noMatch, h.askCommon.noMatchDescription).setScriptingPropertyName("noMatch").setUiPropertyGroup(h.askCommon.invalidResponse).setUiPropertyOrder(23)); } static createNoMatchRepromptsOptions() { - return d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatchReprompts").setDescriptionInfo(h.askCommon.noMatchReprompts, h.askCommon.noMatchRepromptsDescription).setIsOptional(true).setRequiredFlowChannelType(p.channelTypeCall).setUiPropertyGroup(h.askCommon.invalidResponse).setScriptingPropertyName("noMatchReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(24), true); + return c.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatchReprompts").setDescriptionInfo(h.askCommon.noMatchReprompts, h.askCommon.noMatchRepromptsDescription).setIsOptional(true).setRequiredFlowChannelType(p.channelTypeCall).setUiPropertyGroup(h.askCommon.invalidResponse).setScriptingPropertyName("noMatchReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(24), true); } } t2.default = m, m.className = "BaseAskActionNoInputNoMatchViewModel"; @@ -95224,16 +102242,16 @@ ${e3.stack}`, n3 = [this].concat(i3); }; }, 80632: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(5730)), a = i2(12179), s = i2(30801), l = i2(30801), u = n2.__importDefault(i2(97891)), d = i2(24383), c = i2(47957); - class p extends o.default { + const n2 = i2(31635), r2 = i2(30801), o = i2(30801), a = n2.__importDefault(i2(5730)), s = i2(12179), l = i2(30801), u = i2(30801), c = n2.__importDefault(i2(97891)), d = i2(24383), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } validate(e3) { - super.validate(e3), this.getParentingFlowElementByIdOrNodeInfoId([s.loopActionType, l.loopUntilActionType, r2.askForNLUNextIntentActionActionType]) || e3.addError(this, c.loop.notInLoop); + super.validate(e3), this.getParentingFlowElementByIdOrNodeInfoId([l.loopActionType, u.loopUntilActionType, o.askForNLUNextIntentActionActionType, r2.agenticAnythingElseActionType]) || e3.addError(this, _.loop.notInLoop); } } - p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: a.helpTopics.actions.nextLoop, modelClass: i2(30276), name: c.actions.nextLoop, scriptingName: "ArchActionLoopNext", termination: d.terminatesNextLoop }), t2.A = p; + h.info = c.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: s.helpTopics.actions.nextLoop, modelClass: i2(30276), name: _.actions.nextLoop, scriptingName: "ArchActionLoopNext", termination: d.terminatesNextLoop, modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 80644: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -95271,8 +102289,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.briefInboundFlowListManager = new u(); }, 80684: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(19384), o = i2(12179), a = i2(12457), s = n2.__importDefault(i2(97891)), l = i2(24383), u = i2(4333), d = n2.__importDefault(i2(5730)), c = i2(47957); - class p extends d.default { + const n2 = i2(31635), r2 = i2(19384), o = i2(12179), a = i2(12457), s = n2.__importDefault(i2(97891)), l = i2(24383), u = i2(4333), c = n2.__importDefault(i2(5730)), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends c.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -95282,7 +102300,7 @@ ${e3.stack}`, n3 = [this].concat(i3); getDetails() { if (!this.menuReference) return null; const e3 = r2.flowElementRegistrationService.getItemById(this.parentFlow, this.menuReference); - return e3 ? new a.ActionDetails([c.menu.label], [e3.name]) : null; + return e3 ? new a.ActionDetails([p.menu.label], [e3.name]) : null; } addClipboardDependencies(e3) { super.addClipboardDependencies(e3); @@ -95297,15 +102315,15 @@ ${e3.stack}`, n3 = [this].concat(i3); } else this.menuReference = void 0, this.menuName = void 0; } static get managedProperties() { - return [{ property: "menu", createDetails: u.ContainerActionProperty.createCreateDetails({ modelIdPropName: "menuReference", modelNamePropName: "menuName", itemDoesNotExistBaseString: c.menu.label, noReferenceString: c.menu.noReference, referencesMenus: true, validReferenceCallback: (e3) => { - if (!e3 || !e3.isMenu && !e3.isSubMenu) return { error: c.menu.invalidReference }; - } }), yamlOptions: p.createYamlOptions("menu", (e3) => e3.setPropertyName("targetMenuRef")) }]; + return [{ property: "menu", createDetails: u.ContainerActionProperty.createCreateDetails({ modelIdPropName: "menuReference", modelNamePropName: "menuName", itemDoesNotExistBaseString: p.menu.label, noReferenceString: p.menu.noReference, referencesMenus: true, validReferenceCallback: (e3) => { + if (!e3 || !e3.isMenu && !e3.isSubMenu) return { error: p.menu.invalidReference }; + } }), yamlOptions: _.createYamlOptions("menu", (e3) => e3.setPropertyName("targetMenuRef")) }]; } validate(e3) { super.validate(e3); } } - p.info = s.default.createActionInfo({ actionClass: p, canBeInTask: true, canBeTreeNode: true, helpTopic: o.helpTopics.actions.menuJump, modelClass: i2(31061), name: c.actions.menuJump, scriptingName: "ArchActionJumpToMenu", termination: l.terminatesTask }), t2.A = p; + _.info = s.default.createActionInfo({ actionClass: _, canBeInTask: true, canBeTreeNode: true, helpTopic: o.helpTopics.actions.menuJump, modelClass: i2(31061), name: p.actions.menuJump, scriptingName: "ArchActionJumpToMenu", termination: l.terminatesTask, modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; }, 80693: (e2, t2, i2) => { const n2 = i2(92140), { ParameterInfo: r2 } = i2(55909), { ParameterValidator: o } = i2(33951); e2.exports = class { @@ -95358,8 +102376,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }; }, 80700: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(55720), s = i2(17512), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(55720), s = i2(17512), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -95367,7 +102385,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findSkill.nameLabel, searchResultLabel: d.findActions.findSkill.resultLabel, searchResultExpressionOptions: a.ExpressionTypeSkillOptions.create(), searchResultItemType: o.expressionTypeNames.skill }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findSkill, modelClass: s.FindSkillActionModel, name: d.actions.findSkill, scriptingName: "ArchActionFindSkill" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findSkill, modelClass: s.FindSkillActionModel, name: d.actions.findSkill, scriptingName: "ArchActionFindSkill", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 80719: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.joinAllInternals = void 0; @@ -95394,6 +102412,42 @@ ${e3.stack}`, n3 = [this].concat(i3); return s.name = r2(t3).periodicStateName, s.variables = [], a.periodicStateId = s.id, a.flowSequenceItemList.push(s), a; }; const n2 = i2(31635).__importDefault(i2(42193)), r2 = (i2(83051), i2(21733)), o = (i2(47957), i2(69674)); + }, 80794: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.GetAssignedCustomerSegmentsActionModel = void 0; + const n2 = i2(31635), r2 = i2(30801), o = i2(5894), a = i2(80295), s = i2(80295), l = n2.__importDefault(i2(7401)); + class u extends o.BaseFailureOutputsActionModel { + constructor(e3) { + super(e3), this.__type = u.__type, (0, s.makeUnenumerable)(this, "_externalContactId"), (0, s.makeUnenumerable)(this, "_segmentsToCheck"), (0, s.makeUnenumerable)(this, "_assignedCustomerSegmentsResult"); + } + get externalContactId() { + return this._externalContactId; + } + set externalContactId(e3) { + this._externalContactId = this.reviveItem(e3, l.default); + } + get segmentsToCheck() { + return this._segmentsToCheck; + } + set segmentsToCheck(e3) { + this._segmentsToCheck = this.reviveItem(e3, l.default); + } + get assignedCustomerSegmentsResult() { + return this._assignedCustomerSegmentsResult; + } + set assignedCustomerSegmentsResult(e3) { + this._assignedCustomerSegmentsResult = this.reviveItem(e3, l.default); + } + pasteReIdOrRename(e3) { + var t3; + super.pasteReIdOrRename(e3), this._externalContactId.pasteReIdOrRename(e3), null === (t3 = this._segmentsToCheck) || void 0 === t3 || t3.pasteReIdOrRename(e3), this._assignedCustomerSegmentsResult.pasteReIdOrRename(e3); + } + pasteResolveOldToNewValues(e3) { + var t3; + super.pasteResolveOldToNewValues(e3), this._externalContactId.pasteResolveOldToNewValues(e3), null === (t3 = this._segmentsToCheck) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), this._assignedCustomerSegmentsResult.pasteResolveOldToNewValues(e3); + } + } + t2.GetAssignedCustomerSegmentsActionModel = u, u.__type = r2.getAssignedCustomerSegmentsActionType, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "externalContactId", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "segmentsToCheck", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "assignedCustomerSegmentsResult", null), u.registerType(); }, 80800: (e2, t2, i2) => { const n2 = i2(92140); function r2() { @@ -95435,7 +102489,7 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(84783)), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(97951), l = i2(23293), u = n2.__importStar(i2(27854)); - class d extends r2.default { + class c extends r2.default { get displayTypeName() { return "ArchFactoryPrompts"; } @@ -95452,11 +102506,11 @@ ${e3.stack}`, n3 = [this].concat(i3); }); } } - t2.default = new d(); + t2.default = new c(); }, 80911: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getBotConnectorBots = h, t2.getBotConnectorBotVersions = m, t2.getBotConnectorBotVersion = g, t2.getBotConnectorBot = f, t2.ensureCorrectVersionProperties = T; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = i2(80428), s = n2.__importDefault(i2(36019)), l = i2(29795), u = n2.__importStar(i2(8818)), d = (0, i2(24032).getTopic)("botConnectorApi"), c = "collection", p = c.length, _ = {}; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = i2(80428), s = n2.__importDefault(i2(36019)), l = i2(29795), u = n2.__importStar(i2(8818)), c = (0, i2(24032).getTopic)("botConnectorApi"), d = "collection", p = d.length, _ = {}; function h(e3) { const t3 = e3.additionalParams.integrationId, i3 = e3.getSearchQueryParams(true); return s.default.build(u.getBotConnectorBots).templateParams({ integrationId: t3 }).queryParams(i3).call().then((e4) => (r2.default.each(e4.entities, (e5) => { @@ -95498,18 +102552,18 @@ ${e3.stack}`, n3 = [this].concat(i3); r2.default.each(null == e4 ? void 0 : e4.slots, (e5) => { var t4; if (r2.default.isString(null == e5 ? void 0 : e5.type)) { - if (e5.archDataTypeId = _[e5.type], !e5.archDataTypeId && e5.type === l.jsonSchemaTypeNames.array && (null === (t4 = e5.items) || void 0 === t4 ? void 0 : t4.type) && (e5.archDataTypeId = _[e5.items.type]), r2.default.isUndefined(e5.archDataTypeId)) d.error(`invalid architect data type for slot. type: '${e5.type}'`); - else if (e5.type.endsWith(c)) { + if (e5.archDataTypeId = _[e5.type], !e5.archDataTypeId && e5.type === l.jsonSchemaTypeNames.array && (null === (t4 = e5.items) || void 0 === t4 ? void 0 : t4.type) && (e5.archDataTypeId = _[e5.items.type]), r2.default.isUndefined(e5.archDataTypeId)) c.error(`invalid architect data type for slot. type: '${e5.type}'`); + else if (e5.type.endsWith(d)) { const t5 = e5.type.slice(0, -p); - e5.archDataTypeId = _[t5], r2.default.isUndefined(e5.archDataTypeId) ? d.error(`invalid architect data type for collection slot. name:${e5.name} type:${e5.type}`) : (e5.items = { type: t5 }, e5.type = l.jsonSchemaTypeNames.array); + e5.archDataTypeId = _[t5], r2.default.isUndefined(e5.archDataTypeId) ? c.error(`invalid architect data type for collection slot. name:${e5.name} type:${e5.type}`) : (e5.items = { type: t5 }, e5.type = l.jsonSchemaTypeNames.array); } - } else d.error("missing type for slot"); + } else c.error("missing type for slot"); }); }), o2; } r2.default.each(["boolean", "currency", "dateTime", "decimal", "duration", "integer", "string"], (e3) => { const t3 = e3.toLowerCase(); - _[t3] = a.expressionTypeNames[e3], _[`${t3}${c}`] = `${a.expressionTypeNames[e3]}${o.default.exprDataTypeSuffixCollection}`; + _[t3] = a.expressionTypeNames[e3], _[`${t3}${d}`] = `${a.expressionTypeNames[e3]}${o.default.exprDataTypeSuffixCollection}`; }), h.api = u.getBotConnectorBots, m.api = u.getBotConnectorBotVersions, g.api = u.getBotConnectorBot, f.api = u.getBotConnectorBot; }, 80934: (e2, t2, i2) => { "use strict"; @@ -95611,17 +102665,17 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 81116: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.audioExpression = function(e3, t3, i3, n3, r3, o2) { - const a2 = new d.ExpressionParameters(e3, t3, i3, n3, r3, o2); + const a2 = new c.ExpressionParameters(e3, t3, i3, n3, r3, o2); return new l.AudioExpression(a2); }, t2.doNotTrackExpression = function(e3, t3, i3, n3, r3, o2, a2) { return h(e3, t3, i3, n3, r3, o2, a2, true); }, t2.expression = h, t2.cloneExpression = function(e3) { if (!e3) return; - const t3 = new d.ExpressionParameters(e3.parentFlow, e3.parent, new o.default(r2.default.deepClone(e3.model)), e3.label); + const t3 = new c.ExpressionParameters(e3.parentFlow, e3.parent, new o.default(r2.default.deepClone(e3.model)), e3.label); let i3; - return t3.options = e3.options, t3.type = e3.type, i3 = t3.type && t3.type.isCollection ? new u.CollectionExpression(t3) : new c.NormalExpression(t3), e3.initializeDesignTimeCalled && i3.initializeDesignTime(), i3; + return t3.options = e3.options, t3.type = e3.type, i3 = t3.type && t3.type.isCollection ? new u.CollectionExpression(t3) : new d.NormalExpression(t3), e3.initializeDesignTimeCalled && i3.initializeDesignTime(), i3; }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(7401)), a = i2(55909), s = i2(33951), l = i2(18637), u = i2(91491), d = i2(59263), c = i2(39168), p = n2.__importDefault(i2(65302)), _ = i2(50474); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(7401)), a = i2(55909), s = i2(33951), l = i2(18637), u = i2(91491), c = i2(59263), d = i2(39168), p = n2.__importDefault(i2(65302)), _ = i2(50474); function h(e3, t3, i3, n3, r3, o2, l2, h2) { var m; s.ParameterValidator.expectFlowViewModel(e3, function() { @@ -95641,8 +102695,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }.bind(this), true), s.ParameterValidator.expectBool(h2, function() { return a.ParameterInfo.createConstructorParameter("expressionCreator", "transitory"); }.bind(this), true); - const g = new d.ExpressionParameters(e3, t3, i3, n3); - return g.propertyName = o2, g.options = l2, (0, _.isString)(r3) && (r3 = p.default.resolveType(e3, r3, void 0)), i3 && (i3.config || i3.type) && (!r3 || r3.isAny && (null === (m = i3.config) || void 0 === m ? void 0 : m.ref)) ? g.type = p.default.resolveType(e3, i3.type, i3.config) : g.type = r3, h2 && (g.transitory = true), g.type && g.type.isCollection ? new u.CollectionExpression(g) : new c.NormalExpression(g); + const g = new c.ExpressionParameters(e3, t3, i3, n3); + return g.propertyName = o2, g.options = l2, (0, _.isString)(r3) && (r3 = p.default.resolveType(e3, r3, void 0)), i3 && (i3.config || i3.type) && (!r3 || r3.isAny && (null === (m = i3.config) || void 0 === m ? void 0 : m.ref)) ? g.type = p.default.resolveType(e3, i3.type, i3.config) : g.type = r3, h2 && (g.transitory = true), g.type && g.type.isCollection ? new u.CollectionExpression(g) : new d.NormalExpression(g); } }, 81120: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(33231); @@ -95718,6 +102772,22 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 81176: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.allInputCollectionModes = t2.inputMode = void 0, t2.inputMode = { dtmf: "dtmf", speech: "speech", text: "text" }, t2.allInputCollectionModes = [t2.inputMode.dtmf, t2.inputMode.speech, t2.inputMode.text]; + }, 81391: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeBaseResponseAsset = void 0; + const n2 = i2(82632), r2 = i2(94765); + class o extends r2.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); + } + get supportsPlutusResponseAssets() { + return true; + } + getPlutusMaxUploadSizeMegabytes() { + return n2.responseAssetLimits.size.maxSizeMegabytes; + } + } + t2.ExpressionTypeBaseResponseAsset = o; }, 81452: (e2) => { "use strict"; var t2 = 1; @@ -95728,35 +102798,35 @@ ${e3.stack}`, n3 = [this].concat(i3); } }; }, 81453: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(1115)), l = i2(15364), u = i2(60186), d = i2(48112), c = i2(37830), p = i2(81516), _ = i2(26954), h = i2(24235), m = i2(89876), g = n2.__importStar(i2(36781)), f = i2(44724), T = i2(9290), y = n2.__importStar(i2(66381)), S = n2.__importStar(i2(98442)), A = i2(12179), N = i2(12457), O = n2.__importDefault(i2(97891)), I = i2(77415), v = n2.__importDefault(i2(78791)), C = i2(80428), b = i2(47957), E = i2(80748); - class R extends v.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(1115)), l = i2(15364), u = i2(60186), c = i2(48112), d = i2(37830), p = i2(81516), _ = i2(26954), h = i2(24235), m = i2(89876), g = n2.__importStar(i2(36781)), f = i2(44724), T = i2(9290), y = n2.__importStar(i2(66381)), S = n2.__importStar(i2(98442)), A = i2(12179), N = i2(12457), v = n2.__importDefault(i2(97891)), O = i2(77415), I = n2.__importDefault(i2(78791)), C = i2(80428), b = i2(1910), E = n2.__importDefault(i2(4648)), w = i2(47957), R = i2(80748); + class D extends I.default { constructor(e3, t3) { - super(e3), this._loadModel(t3), this.resources = { scriptNotFound: b.createCallback.callbackScriptNotFound }, this.parentFlow.isCommonModuleFlow && this.addAutoCleanedUpEventSinkWatch(g.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => this.setOutOfService()); + super(e3), this._loadModel(t3), this.resources = { scriptNotFound: w.createCallback.callbackScriptNotFound }, this.parentFlow.isCommonModuleFlow && this.addAutoCleanedUpEventSinkWatch(g.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => this.setOutOfService()); } static get managedProperties() { - return [{ label: b.createCallback.calleeName, options: p.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setDefaultToExpression(true).setIninTestingField("calleeName")), property: "calleeName", type: C.expressionTypeNames.string }, { label: b.createCallback.callbackNumber, list: true, property: "callbackNumbers", type: C.expressionTypeNames.phoneNumber, options: d.ExpressionTypePhoneNumberOptions.create((e3) => e3.setIsCollection(true).setIninTestingField("callbackNumber")), yamlOptions: R.createYamlOptions("callbackNumbers", (e3) => e3.setPropertyName("callbackNumber").setConvertToSingleItem(true)) }, { property: "destination", isJustForFlowYaml: true, yamlOptions: R.createYamlOptions("destination", (e3) => e3.setExportOrder(30)) }, { label: b.user.label, options: _.ExpressionTypeUserOptions.create((e3) => e3.addAuthToCheck(f.permissionStrings.external.externalAuthorizations.voicemailReceive, true).setIninTestingField("transferTargetExpression")), yamlOptions: R.createYamlOptions("transferTarget", (e3) => e3.setPropertyName("targetUser")), property: "transferTarget", type: C.expressionTypeNames.userQueue }, { label: b.transferPureMatch.queue, options: c.ExpressionTypeQueueOptions.create((e3) => e3.setIninTestingField("transferTargetExpressionQueue")), yamlOptions: R.createYamlOptions("transferTargetQueue", (e3) => e3.setPropertyName("targetQueue")), property: "transferTargetQueue", type: C.expressionTypeNames.queue }, { label: b.group.label, options: u.ExpressionTypeGroupOptions.create((e3) => e3.setIninTestingField("transferTargetExpressionGroup")), yamlOptions: R.createYamlOptions("transferTargetGroup", (e3) => e3.setPropertyName("targetGroup")), property: "transferTargetGroup", type: C.expressionTypeNames.group }, { audio: true, options: h.AudioViewModelOptions.create((e3) => e3.setIninTestingField("voicemailGreeting").setLabel(b.transferVoicemail.voicemailGreeting)), property: "voicemailGreeting", type: C.expressionTypeNames.audio }, { createDetails: I.ScriptProperties.createCreateDetails(void 0, void 0, true), property: "scriptSettings", yamlOptions: R.createYamlOptions("scriptSettings", (e3) => e3.setPropertyName("voicemailScript").setUseNoneTrueForExpressionContainerClass(l.DataPairList.className)) }]; + return [{ label: w.createCallback.calleeName, options: p.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setDefaultToExpression(true).setIninTestingField("calleeName")), property: "calleeName", type: C.expressionTypeNames.string }, { label: w.createCallback.callbackNumber, list: true, property: "callbackNumbers", type: C.expressionTypeNames.phoneNumber, options: c.ExpressionTypePhoneNumberOptions.create((e3) => e3.setIsCollection(true).setIninTestingField("callbackNumber")), yamlOptions: D.createYamlOptions("callbackNumbers", (e3) => e3.setPropertyName("callbackNumber").setConvertToSingleItem(true)) }, { property: "destination", isJustForFlowYaml: true, yamlOptions: D.createYamlOptions("destination", (e3) => e3.setExportOrder(30)) }, { label: w.user.label, options: _.ExpressionTypeUserOptions.create((e3) => e3.addAuthToCheck(f.permissionStrings.external.externalAuthorizations.voicemailReceive, true).setIninTestingField("transferTargetExpression")), yamlOptions: D.createYamlOptions("transferTarget", (e3) => e3.setPropertyName("targetUser")), property: "transferTarget", type: C.expressionTypeNames.userQueue }, { label: w.transferPureMatch.queue, options: d.ExpressionTypeQueueOptions.create((e3) => e3.setIninTestingField("transferTargetExpressionQueue")), yamlOptions: D.createYamlOptions("transferTargetQueue", (e3) => e3.setPropertyName("targetQueue")), property: "transferTargetQueue", type: C.expressionTypeNames.queue }, { label: w.group.label, options: u.ExpressionTypeGroupOptions.create((e3) => e3.setIninTestingField("transferTargetExpressionGroup")), yamlOptions: D.createYamlOptions("transferTargetGroup", (e3) => e3.setPropertyName("targetGroup")), property: "transferTargetGroup", type: C.expressionTypeNames.group }, { audio: true, options: h.AudioViewModelOptions.create((e3) => e3.setIninTestingField("voicemailGreeting").setLabel(w.transferVoicemail.voicemailGreeting)), property: "voicemailGreeting", type: C.expressionTypeNames.audio }, { createDetails: O.ScriptProperties.createCreateDetails(void 0, void 0, true), property: "scriptSettings", yamlOptions: D.createYamlOptions("scriptSettings", (e3) => e3.setPropertyName("voicemailScript").setUseNoneTrueForExpressionContainerClass(l.DataPairList.className)) }]; } _getPossibleErrors() { return T.voicemailTransferFailureReasons; } _loadModel(e3) { - super._loadModel(e3), this.transferTargetType || (this.transferTargetType = E.User), 0 === this.callbackNumbers.items.length && (this.callbackNumbers.add(), this.callbackNumbers.items[0].setAsExpression("ToPhoneNumber(Call.Ani)")), this.callbackNumbers.items[0].options.isOptional = true, this.setOutOfService(); + super._loadModel(e3), this.transferTargetType || (this.transferTargetType = R.User), 0 === this.callbackNumbers.items.length && (this.callbackNumbers.add(), this.callbackNumbers.items[0].setAsExpression("ToPhoneNumber(Call.Ani)")), this.callbackNumbers.items[0].options.isOptional = true, this.setOutOfService(); } getCachedServerPropertyById(e3, t3) { return this.scriptManager.getCachedServerPropertyById(e3, this.scriptId, t3, this); } getDetails() { const e3 = [], t3 = []; - return this.isQueueTransfer ? (this.transferTargetQueue.outOfService || (e3.push(this.transferTargetQueue.label), t3.push(this.transferTargetQueue.text)), this.scriptName && (e3.push(b.transferVoicemail.voicemailScript), t3.push(this.scriptName)), this.calleeName.text && (e3.push(this.calleeName.label), t3.push(this.calleeName.text)), this.callbackNumbers.items && this.callbackNumbers.items.length > 0 && this.callbackNumbers.items[0].text && (e3.push(this.callbackNumbers.label), t3.push(this.callbackNumbers.items[0].text))) : this.isUserTransfer ? (e3.push(this.transferTargetUser.label), t3.push(this.transferTargetUser.text)) : this.isGroupTransfer && (e3.push(this.transferTargetGroup.label), t3.push(this.transferTargetGroup.text)), new N.ActionDetails(e3, t3); + return this.isQueueTransfer ? (this.transferTargetQueue.outOfService || (e3.push(this.transferTargetQueue.label), t3.push(this.transferTargetQueue.text)), this.scriptName && (e3.push(w.transferVoicemail.voicemailScript), t3.push(this.scriptName)), this.calleeName.text && (e3.push(this.calleeName.label), t3.push(this.calleeName.text)), this.callbackNumbers.items && this.callbackNumbers.items.length > 0 && this.callbackNumbers.items[0].text && (e3.push(this.callbackNumbers.label), t3.push(this.callbackNumbers.items[0].text))) : this.isUserTransfer ? (e3.push(this.transferTargetUser.label), t3.push(this.transferTargetUser.text)) : this.isGroupTransfer && (e3.push(this.transferTargetGroup.label), t3.push(this.transferTargetGroup.text)), new N.ActionDetails(e3, t3); } get isQueueTransfer() { - return this.transferTargetType === E.Queue; + return this.transferTargetType === R.Queue; } get isUserTransfer() { - return this.transferTargetType === E.User; + return this.transferTargetType === R.User; } get isGroupTransfer() { - return this.transferTargetType === E.Group; + return this.transferTargetType === R.Group; } get scriptManager() { return m.voicemailScriptManager; @@ -95767,8 +102837,19 @@ ${e3.stack}`, n3 = [this].concat(i3); const n3 = e3.destination[this.transferTargetType.name] = {}; a.default.moveAndDeleteProperty(e3, n3, "targetUser"), a.default.moveAndDeleteProperty(e3, n3, "targetQueue"), a.default.moveAndDeleteProperty(e3, n3, "targetGroup"), a.default.moveAndDeleteProperty(e3, n3, "callbackNumber"), a.default.moveAndDeleteProperty(e3, n3, "calleeName"), a.default.moveAndDeleteProperty(e3, n3, "voicemailGreeting"), a.default.moveAndDeleteProperty(e3, n3, "voicemailScript"); } + _preProcessYamlConfig(e3, t3, i3) { + const n3 = e3.destination; + if ((0, b.isConfigureFromModelRecord)(n3)) { + const t4 = n3, i4 = [R.User, R.Group, R.Queue].find((e4) => a.default.has(t4, e4.name)), r3 = i4 && t4[i4.name]; + if (i4 && (0, b.isConfigureFromModelRecord)(r3)) { + this.transferTargetType = i4; + const t5 = r3; + e3.targetUser = t5.targetUser, e3.targetQueue = t5.targetQueue, e3.targetGroup = t5.targetGroup, e3.callbackNumber = t5.callbackNumber, e3.calleeName = t5.calleeName, e3.voicemailGreeting = t5.voicemailGreeting, e3.voicemailScript = t5.voicemailScript; + } + } + } setOutOfService() { - this.transferTargetUser.outOfService = !this.isUserTransfer, this.transferTargetGroup.outOfService = !this.isGroupTransfer, this.transferTargetQueue.outOfService = !this.isQueueTransfer || this.doesQueueTransferToCurrentQueueVoicemail, this.voicemailGreeting.outOfService = !this.isQueueTransfer, this.calleeName.outOfService = !this.isQueueTransfer, this.callbackNumbers.outOfService = !this.isQueueTransfer, this.scriptSettings.outOfService = !this.isQueueTransfer, this.shouldShowDescriptionTooltip ? this.transferTargetQueue.options.setDescriptionInfo(b.transferVoicemail.transferTarget, (0, o.sprintf)(b.transferVoicemail.noQueueTooltip, y.getFlowTypesDisplayString([r2.flowTypes.flowTypeInQueueCall]))) : this.transferTargetQueue.options.clearDescriptionInfo(); + this.transferTargetUser.outOfService = !this.isUserTransfer, this.transferTargetGroup.outOfService = !this.isGroupTransfer, this.transferTargetQueue.outOfService = !this.isQueueTransfer || this.doesQueueTransferToCurrentQueueVoicemail, this.voicemailGreeting.outOfService = !this.isQueueTransfer, this.calleeName.outOfService = !this.isQueueTransfer, this.callbackNumbers.outOfService = !this.isQueueTransfer, this.scriptSettings.outOfService = !this.isQueueTransfer, this.shouldShowDescriptionTooltip ? this.transferTargetQueue.options.setDescriptionInfo(w.transferVoicemail.transferTarget, (0, o.sprintf)(w.transferVoicemail.noQueueTooltip, y.getFlowTypesDisplayString([r2.flowTypes.flowTypeInQueueCall]))) : this.transferTargetQueue.options.clearDescriptionInfo(); } get shouldShowDescriptionTooltip() { var e3; @@ -95787,9 +102868,9 @@ ${e3.stack}`, n3 = [this].concat(i3); } set transferTargetType(e3) { switch (e3) { - case E.User: - case E.Group: - case E.Queue: + case R.User: + case R.Group: + case R.Queue: this.model.transferTargetType = e3, this.setOutOfService(), s.validate(this, true); } } @@ -95801,18 +102882,18 @@ ${e3.stack}`, n3 = [this].concat(i3); if (t3.length > 0) { const i3 = y.getListDisplayString(a.default.map(t3, function(e4) { return S.getLanguageNameAndCodeDisplay(e4.language); - })), n3 = t3.length > 1 ? b.transferVoicemail.voicemailTypeNonVocalByLangs : b.transferVoicemail.voicemailTypeNonVocalByLang; + })), n3 = t3.length > 1 ? w.transferVoicemail.voicemailTypeNonVocalByLangs : w.transferVoicemail.voicemailTypeNonVocalByLang; e3.addWarning(this, (0, o.sprintf)(n3, this.transferTargetType.displayName, i3)); } super.validate(e3); } } - R.info = O.default.createActionInfo({ actionClass: R, canBeInTask: true, canBeTreeNode: true, helpTopic: A.helpTopics.actions.transferVoicemail, modelClass: i2(63207), name: b.actions.transfers.voicemail, scriptingName: "ArchActionTransferToVoicemail" }), t2.A = R; + D.info = v.default.createActionInfo({ actionClass: D, canBeInTask: true, canBeTreeNode: true, helpTopic: A.helpTopics.actions.transferVoicemail, modelClass: i2(63207), modelFormatSupport: { flowYaml: { inProgress: true, feature: E.default.changeSetsFeaturePhase2 } }, name: w.actions.transfers.voicemail, scriptingName: "ArchActionTransferToVoicemail" }), t2.A = D; }, 81467: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.languageSkillManager = t2.LanguageSkillManager = void 0; const n2 = i2(31635), r2 = i2(24032), o = n2.__importStar(i2(1360)), a = n2.__importDefault(i2(47532)), s = i2(81801), l = i2(27862), u = i2(61846); - class d extends a.default { + class c extends a.default { get requiredAuth() { return s.externalAuthorizations.authStrings.languageSkillsView; } @@ -95823,7 +102904,7 @@ ${e3.stack}`, n3 = [this].concat(i3); super(), this.topic = (0, r2.getTopic)("languageSkills"), this.apiCallList = u.getLanguageSkills, this.apiCallSingle = u.getLanguageSkill, this.className = "LanguageSkillManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = null, this.suppressSearch = false, this._initialize(); } } - t2.LanguageSkillManager = d, t2.languageSkillManager = new d(); + t2.LanguageSkillManager = c, t2.languageSkillManager = new c(); }, 81500: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -95850,8 +102931,8 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeStringOptions = void 0; - const r2 = i2(31635), o = r2.__importDefault(i2(22465)), a = i2(80295), s = i2(65615), l = r2.__importDefault(i2(22226)), u = i2(55909), d = i2(33951); - class c extends s.BaseExpressionTypeCollectionOptions { + const r2 = i2(31635), o = r2.__importDefault(i2(22465)), a = i2(80295), s = i2(65615), l = r2.__importDefault(i2(22226)), u = i2(55909), c = i2(33951); + class d extends s.BaseExpressionTypeCollectionOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -95874,31 +102955,31 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._blankDeterminationShouldNotTrim; } set blankDeterminationShouldNotTrim(e3) { - this._blankDeterminationShouldNotTrim = d.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "blankDeterminationShouldNotTrim", "value")); + this._blankDeterminationShouldNotTrim = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "blankDeterminationShouldNotTrim", "value")); } get blankWarningText() { return this._blankWarningText; } set blankWarningText(e3) { - this._blankWarningText = d.ParameterValidator.expectString(e3, () => u.ParameterInfo.createPropertySet(this.className, "blankWarningText", "value")); + this._blankWarningText = c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createPropertySet(this.className, "blankWarningText", "value")); } get disableSpellcheck() { return this._disableSpellcheck; } set disableSpellcheck(e3) { - this._disableSpellcheck = d.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "disableSpellcheck", "value")); + this._disableSpellcheck = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "disableSpellcheck", "value")); } get wantLowerCaseStringLiteralValue() { return this._wantLowerCaseStringLiteralValue; } set wantLowerCaseStringLiteralValue(e3) { - this._wantLowerCaseStringLiteralValue = d.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "wantLowerCaseStringLiteralValue", "value")); + this._wantLowerCaseStringLiteralValue = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "wantLowerCaseStringLiteralValue", "value")); } get facets() { return this._stringFacets; } set facets(e3) { - this._stringFacets = d.ParameterValidator.expectTrue(e3 && true === e3.isStringFacets, e3, "StringFacets", () => u.ParameterInfo.createPropertySet(this.className, "facets", "value")), this._stringFacets = e3; + this._stringFacets = c.ParameterValidator.expectTrue(e3 && true === e3.isStringFacets, e3, "StringFacets", () => u.ParameterInfo.createPropertySet(this.className, "facets", "value")), this._stringFacets = e3; } _getDefaultTextForDisplay() { return this.defaultToExpression ? this.defaultText : this.hasDefaultText ? l.default.getQuotedExpressionStringLiteral(this.defaultText) : void 0; @@ -95916,12 +102997,12 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.wantLowerCaseStringLiteralValue = e3, this; } } - t2.ExpressionTypeStringOptions = c, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Object])], c.prototype, "blankDeterminationShouldNotTrim", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [Object])], c.prototype, "blankWarningText", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Object])], c.prototype, "disableSpellcheck", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Boolean])], c.prototype, "wantLowerCaseStringLiteralValue", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], c.prototype, "facets", null); + t2.ExpressionTypeStringOptions = d, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Object])], d.prototype, "blankDeterminationShouldNotTrim", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [Object])], d.prototype, "blankWarningText", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Object])], d.prototype, "disableSpellcheck", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Boolean])], d.prototype, "wantLowerCaseStringLiteralValue", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], d.prototype, "facets", null); }, 81526: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(96481)), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(30801), l = i2(30888), u = i2(26847), d = n2.__importDefault(i2(66978)); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(96481)), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(30801), l = i2(30888), u = i2(26847), c = n2.__importDefault(i2(66978)); + class d extends r2.default { constructor(e3) { super(e3), this._terminationState = this.coreFactory.createArchWrapper(e3.terminationState); } @@ -95959,7 +103040,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } setDialogEngineBotByIdAsync(e3, t3) { return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("dialogEngineBotId", "setDialogEngineBotByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogEngineBotByIdAsync"), t3, true), o.default.findItemByIdAsync(l.dialogEngineBotManager, e3, "dialog engine bot").then((i3) => (this.logNote(`Found partial info for the Dialog Engine named '${i3.name}' for the bot ID of '${e3}'. Getting full bot details.`), d.default.addPromise(this._setDialogEngineBotByIdAsync(i3.id, t3), "setDialogEngineBotByIdAsync"))); + return this._checkItemIsValidLiteralString(this._infoParm("dialogEngineBotId", "setDialogEngineBotByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogEngineBotByIdAsync"), t3, true), o.default.findItemByIdAsync(l.dialogEngineBotManager, e3, "dialog engine bot").then((i3) => (this.logNote(`Found partial info for the Dialog Engine named '${i3.name}' for the bot ID of '${e3}'. Getting full bot details.`), c.default.addPromise(this._setDialogEngineBotByIdAsync(i3.id, t3), "setDialogEngineBotByIdAsync"))); }); } setDialogEngineBotByNameAsync(e3, t3) { @@ -95977,7 +103058,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._terminationState; } } - t2.default = c; + t2.default = d; }, 81562: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.secureCallFlowListManager = t2.SecureCallFlowListManager = void 0; @@ -96018,16 +103099,16 @@ ${e3.stack}`, n3 = [this].concat(i3); } t2.default = a; }, 81621: (e2, t2, i2) => { - const { Response: n2 } = i2(4251), { ResponseLibrary: r2 } = i2(23436), { ResponseAsset: o } = i2(23343), { ResponseAssetList: a } = i2(82699), { ResponseLibraryList: s } = i2(89240), { ResponseList: l } = i2(24247), u = i2(36019).default; - function d() { + const { Response: n2 } = i2(4251), { ResponseLibrary: r2 } = i2(23436), { ResponseAsset: o } = i2(23343), { ResponseAssetList: a } = i2(5080), { ResponseLibraryList: s } = i2(89240), { ResponseList: l } = i2(24247), u = i2(36019).default; + function c() { } - const c = new d(); - d.prototype.getLibraries = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/libraries", s), d.prototype.getLibrary = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/libraries/{id}", r2), d.prototype.getResponses = u.request("POST", "{public-api.apps}/api/v2/responsemanagement/responses/query", l), d.prototype.getResponse = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/responses/{id}", n2), d.prototype.getResponseAsset = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/responseassets/{id}", o), d.prototype.getResponseAssets = u.request("POST", "{public-api.apps}/api/v2/responsemanagement/responseassets/search", a), d.prototype.getResponseAssetUploadURL = u.request("POST", "{public-api.apps}/api/v2/responsemanagement/responseassets/uploads"), d.prototype.getResponseAssetUploadStatus = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/responseassets/status/{statusId}"), d.prototype.uploadResponseAsset = u.request("PUT"), c.getResponseAssets.addOptions({ ignoreBadResponse: true }), c.getResponseAsset.addOptions({ ignoreBadResponse: true }), c.getResponse.addOptions({ ignoreBadResponse: true }), c.uploadResponseAsset.addOptions({ ignoreBadResponse: true }), c.getResponseAssetUploadURL.addOptions({ ignoreBadResponse: true }), c.getResponseAssetUploadStatus.addOptions({ ignoreBadResponse: true }), e2.exports = c; + const d = new c(); + c.prototype.getLibraries = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/libraries", s), c.prototype.getLibrariesDivisionView = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/libraries/divisionviews", s), c.prototype.getLibrary = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/libraries/{id}", r2), c.prototype.getLibraryDivisionView = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/libraries/divisionviews/{id}", r2), c.prototype.getResponses = u.request("POST", "{public-api.apps}/api/v2/responsemanagement/responses/query", l), c.prototype.getResponse = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/responses/{id}", n2), c.prototype.getResponseAsset = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/responseassets/{id}", o), c.prototype.getResponseAssets = u.request("POST", "{public-api.apps}/api/v2/responsemanagement/responseassets/search", a), c.prototype.getResponseAssetUploadURL = u.request("POST", "{public-api.apps}/api/v2/responsemanagement/responseassets/uploads"), c.prototype.getResponseAssetUploadStatus = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/responseassets/status/{statusId}"), c.prototype.uploadResponseAsset = u.request("PUT"), c.prototype.getResponseDivisionView = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/responses/divisionViews/{id}", n2), c.prototype.getResponsesDivisionView = u.request("POST", "{public-api.apps}/api/v2/responsemanagement/responses/divisionViews/query", l), d.getResponseAssets.addOptions({ ignoreBadResponse: true }), d.getResponseAsset.addOptions({ ignoreBadResponse: true }), d.getResponse.addOptions({ ignoreBadResponse: true }), d.uploadResponseAsset.addOptions({ ignoreBadResponse: true }), d.getResponseAssetUploadURL.addOptions({ ignoreBadResponse: true }), d.getResponseAssetUploadStatus.addOptions({ ignoreBadResponse: true }), d.getResponseDivisionView.addOptions({ ignoreBadResponse: true }), d.getResponsesDivisionView.addOptions({ ignoreBadResponse: true }), d.getLibrariesDivisionView.addOptions({ ignoreBadResponse: true }), d.getLibraryDivisionView.addOptions({ ignoreBadResponse: true }), e2.exports = d; }, 81713: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.timeout = t2.TimeoutError = void 0; var n2 = i2(62326), r2 = i2(85345), o = i2(65212), a = i2(19724), s = i2(9619), l = i2(17214), u = i2(28619); - function d(e3) { + function c(e3) { throw new t2.TimeoutError(e3); } t2.TimeoutError = s.createErrorClass(function(e3) { @@ -96035,10 +103116,10 @@ ${e3.stack}`, n3 = [this].concat(i3); void 0 === t3 && (t3 = null), e3(this), this.message = "Timeout has occurred", this.name = "TimeoutError", this.info = t3; }; }), t2.timeout = function(e3, t3) { - var i3 = r2.isValidDate(e3) ? { first: e3 } : "number" == typeof e3 ? { each: e3 } : e3, s2 = i3.first, c = i3.each, p = i3.with, _ = void 0 === p ? d : p, h = i3.scheduler, m = void 0 === h ? null != t3 ? t3 : n2.asyncScheduler : h, g = i3.meta, f = void 0 === g ? null : g; - if (null == s2 && null == c) throw new TypeError("No timeout provided."); + var i3 = r2.isValidDate(e3) ? { first: e3 } : "number" == typeof e3 ? { each: e3 } : e3, s2 = i3.first, d = i3.each, p = i3.with, _ = void 0 === p ? c : p, h = i3.scheduler, m = void 0 === h ? null != t3 ? t3 : n2.asyncScheduler : h, g = i3.meta, f = void 0 === g ? null : g; + if (null == s2 && null == d) throw new TypeError("No timeout provided."); return o.operate(function(e4, t4) { - var i4, n3, r3 = null, o2 = 0, d2 = function(e5) { + var i4, n3, r3 = null, o2 = 0, c2 = function(e5) { n3 = u.executeSchedule(t4, m, function() { try { i4.unsubscribe(), a.innerFrom(_({ meta: f, lastValue: r3, seen: o2 })).subscribe(t4); @@ -96048,17 +103129,17 @@ ${e3.stack}`, n3 = [this].concat(i3); }, e5); }; i4 = e4.subscribe(l.createOperatorSubscriber(t4, function(e5) { - null == n3 || n3.unsubscribe(), o2++, t4.next(r3 = e5), c > 0 && d2(c); + null == n3 || n3.unsubscribe(), o2++, t4.next(r3 = e5), d > 0 && c2(d); }, void 0, void 0, function() { (null == n3 ? void 0 : n3.closed) || null == n3 || n3.unsubscribe(), r3 = null; - })), !o2 && d2(null != s2 ? "number" == typeof s2 ? s2 : +s2 - m.now() : c); + })), !o2 && c2(null != s2 ? "number" == typeof s2 ? s2 : +s2 - m.now() : d); }); }; }, 81778: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ScheduleType = void 0; - const n2 = i2(31635), r2 = i2(14394), o = i2(71056), a = i2(4861), s = i2(27491), l = n2.__importDefault(i2(22226)), u = i2(80428), d = i2(94765); - class c extends d.ExpressionType { + const n2 = i2(31635), r2 = i2(14394), o = i2(71056), a = i2(4861), s = i2(27491), l = n2.__importDefault(i2(22226)), u = i2(80428), c = i2(94765); + class d extends c.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -96078,11 +103159,11 @@ ${e3.stack}`, n3 = [this].concat(i3); return t3 && this.canConvertLitToExpression(e3) ? `FindSchedule(${l.default.getQuotedExpressionStringLiteral(t3)})` : ""; } } - t2.ScheduleType = c, c.typeIdentifier = u.expressionTypeNames.schedule; + t2.ScheduleType = d, d.typeIdentifier = u.expressionTypeNames.schedule; }, 81801: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.externalAuthorizations = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(17604), o = i2(47957), a = (o.externalAuths.agenticVirtualAgentView.displayTitle, o.externalAuths.agenticVirtualAgentVersionView.displayTitle, o.externalAuths.auditView.displayTitle, o.externalAuths.botConnectorView.displayTitle, o.externalAuths.bridgeActionView.displayTitle, o.externalAuths.conversationConferenceAdd.displayTitle, o.externalAuths.conversationCustomAttributesSchemaView.conversationCustomAttributesSchemaViewDisplayTitle, o.externalAuths.contactListsView.displayTitle, o.externalAuths.customerIntentsView.customerIntentsViewDisplayTitle, o.externalAuths.customerSegmentsView.customerSegmentsViewDisplayTitle, o.externalAuths.dataTablesView.displayTitle, o.externalAuths.decisionTablesSearch.decisionTablesSearchDisplayTitle, o.externalAuths.divisionsView.divisionsViewDisplayTitle, o.externalAuths.emergencyGroupView.displayTitle, o.externalAuths.flowLaunch.displayTitle, o.externalAuths.flowMilestonesView.displayTitle, o.externalAuths.flowOutcomesView.displayTitle, o.externalAuths.flowView.displayTitle, o.externalAuths.grammarView.displayTitle, o.externalAuths.guideView.displayTitle, o.externalAuths.guideVersionView.displayTitle, o.externalAuths.integrationsActionView.displayTitle, o.externalAuths.integrationView.displayTitle, o.externalAuths.knowledgeBaseView.knowledgeBaseViewDisplayTitle, o.externalAuths.knowledgeBaseDocumentView.knowledgeBaseDocumentViewDisplayTitle, o.externalAuths.languageSkillsView.displayTitle, o.externalAuths.messagingIntegrationView.messagingIntegrationViewDisplayTitle, o.externalAuths.nluView.displayTitle, o.externalAuths.oAuthClientView.oAuthClientViewDisplayTitle, o.externalAuths.promptsSystemView.displayTitle, o.externalAuths.promptsUserView.displayTitle, o.externalAuths.processAutomationTriggerView.displayTitle, o.externalAuths.queuesView.displayTitle, o.externalAuths.responseAssetAdd.displayTitle, o.externalAuths.responseAssetView.displayTitle, o.externalAuths.responseLibraryView.displayTitle, o.externalAuths.responseView.displayTitle, o.externalAuths.schedulesView.displayTitle, o.externalAuths.scheduleGroupView.displayTitle, o.externalAuths.scriptsView.displayTitle, o.externalAuths.smsPhoneNumberView.smsPhoneNumberViewDisplayTitle, o.externalAuths.surveyFormView.displayTitle, o.externalAuths.utilizationLabelView.utilizationLabelViewDisplayTitle, o.externalAuths.voicemailReceive.displayTitle, o.externalAuths.wrapupCodesView.displayTitle, o.externalAuths.worktypesView.displayTitle, { contactListsSearch: { permissionInfo: { domain: "outbound", entityName: "contactList", action: "search", displayText: "outbound:contactList:search" }, commonResourceKey: "contactListsView" }, contactListsView: { permissionInfo: { domain: "outbound", entityName: "contactList", action: "view", displayText: "outbound:contactList:view" } }, agenticVirtualAgentView: { permissionInfo: { domain: "agentic", entityName: "virtualAgent", action: "view", displayText: "agentic:virtualAgent:view" } }, agenticVirtualAgentVersionView: { permissionInfo: { domain: "agentic", entityName: "virtualAgentVersion", action: "view", displayText: "agentic:virtualAgentVersion:view" } }, auditView: { permissionInfo: { domain: "outbound", entityName: "audit", action: "view", displayText: "outbound:audit:view" } }, botConnectorView: { permissionInfo: { domain: "integration", entityName: "botConnector", action: "view", displayText: "integration:botConnector:view" } }, bridgeActionView: { permissionInfo: { domain: "bridge", entityName: "actions", action: "view", displayText: "bridge:actions:view" } }, conversationConferenceAdd: { permissionInfo: { domain: "conversation", entityName: "conference", action: "add", displayText: "conversation:conference:add" } }, conversationCustomAttributesSchemaView: { permissionInfo: { domain: "conversation", entityName: "customAttributes", action: "schemaView", displayText: "conversation:customAttributes:schemaView" } }, customerSegmentsView: { permissionInfo: { domain: "journey", entityName: "segment", action: "view", displayText: "journey:segment:view" } }, dataTablesSearch: { permissionInfo: { domain: "architect", entityName: "datatable", action: "search", displayText: "architect:datatable:search" }, commonResourceKey: "dataTablesView" }, dataTablesView: { permissionInfo: { domain: "architect", entityName: "datatable", action: "view", displayText: "architect:datatable:view" } }, decisionTablesSearch: { permissionInfo: { domain: "businessrules", entityName: "decisiontable", action: "search", displayText: "businessrules:decisionTable:search" } }, divisionsView: { permissionInfo: { domain: "authorization", entityName: "division", action: "view", displayText: "authorization:division:view" } }, emergencyGroupSearch: { permissionInfo: { domain: "routing", entityName: "emergencyGroup", action: "search", displayText: "routing:emergencyGroup:search" }, commonResourceKey: "emergencyGroupView" }, emergencyGroupView: { permissionInfo: { domain: "routing", entityName: "emergencyGroup", action: "view", displayText: "routing:emergencyGroup:view" } }, flowSearch: { permissionInfo: { domain: "architect", entityName: "flow", action: "search", displayText: "architect:flow:search" }, commonResourceKey: "flowView" }, flowLaunch: { permissionInfo: { domain: "architect", entityName: "flow", action: "launch", displayText: "architect:flow:launch" } }, flowView: { permissionInfo: { domain: "architect", entityName: "flow", action: "view", displayText: "architect:flow:view" } }, flowMilestonesSearch: { permissionInfo: { domain: "architect", entityName: "flowMilestone", action: "search", displayText: "architect:flowMilestone:search" }, commonResourceKey: "flowMilestonesView" }, flowMilestonesView: { permissionInfo: { domain: "architect", entityName: "flowMilestone", action: "view", displayText: "architect:flowMilestone:view" } }, flowOutcomesSearch: { permissionInfo: { domain: "architect", entityName: "flowOutcome", action: "search", displayText: "architect:flowOutcome:search" }, commonResourceKey: "flowOutcomesView" }, flowOutcomesView: { permissionInfo: { domain: "architect", entityName: "flowOutcome", action: "view", displayText: "architect:flowOutcome:view" } }, grammarView: { permissionInfo: { domain: "architect", entityName: "grammars", action: "view", displayText: "architect:grammar:view" } }, guideView: { permissionInfo: { domain: "aiStudio", entityName: "guide", action: "view", displayText: "aiStudio:guide:view" } }, guideVersionView: { permissionInfo: { domain: "aiStudio", entityName: "guideVersion", action: "view", displayText: "aiStudio:guideVersion:view" } }, integrationsActionView: { permissionInfo: { domain: "integrations", entityName: "action", action: "view", displayText: "integrations:action:view" } }, integrationView: { permissionInfo: { domain: "integrations", entityName: "integration", action: "view", displayText: "integrations:integration:view" } }, knowledgeBaseView: { permissionInfo: { domain: "knowledge", entityName: "knowledgeBase", action: "view", displayText: "knowledge:knowledgebase:view" } }, knowledgeBaseDocumentView: { permissionInfo: { domain: "knowledge", entityName: "document", action: "view", displayText: "knowledge:document:view" } }, languageSkillsView: { permissionInfo: { domain: "routing", entityName: "skill", action: "manage", displayText: "routing:skill:manage" } }, messagingIntegrationView: { permissionInfo: { domain: "integrations", entityName: "messaging", action: "view", displayText: "integrations:messaging:view" } }, nluView: { permissionInfo: { domain: "languageUnderstanding", entityName: "nluDomain", action: "view", displayText: "languageUnderstanding:nluDomain:view" } }, oAuthClientView: { permissionInfo: { domain: "oauth", entityName: "client", action: "view", displayText: "oauth:client:view" } }, promptsSystemView: { permissionInfo: { domain: "architect", entityName: "systemPrompt", action: "view", displayText: "architect:systemPrompt:view" } }, promptsUserView: { permissionInfo: { domain: "architect", entityName: "userPrompt", action: "view", displayText: "architect:userPrompt:view" } }, queuesSearch: { permissionInfo: { domain: "routing", entityName: "queue", action: "search", displayText: "routing:queue:search" }, commonResourceKey: "queuesView" }, queuesView: { permissionInfo: { domain: "routing", entityName: "queue", action: "view", displayText: "routing:queue:view" } }, responseAssetAdd: { permissionInfo: { domain: "responseAssets", entityName: "asset", action: "add", displayText: "responseAssets:asset:add" } }, responseAssetView: { permissionInfo: { domain: "responseAssets", entityName: "asset", action: "view", displayText: "responseAssets:asset:view" } }, responseLibraryView: { permissionInfo: { domain: "responses", entityName: "library", action: "view", displayText: "responses:library:view" } }, responseView: { permissionInfo: { domain: "responses", entityName: "response", action: "view", displayText: "responses:response:view" } }, schedulesSearch: { permissionInfo: { domain: "routing", entityName: "schedule", action: "search", displayText: "routing:schedule:search" }, commonResourceKey: "schedulesView" }, schedulesView: { permissionInfo: { domain: "routing", entityName: "schedule", action: "view", displayText: "routing:schedule:view" } }, scheduleGroupSearch: { permissionInfo: { domain: "routing", entityName: "scheduleGroup", action: "search", displayText: "routing:scheduleGroup:search" }, commonResourceKey: "scheduleGroupView" }, scheduleGroupView: { permissionInfo: { domain: "routing", entityName: "scheduleGroup", action: "view", displayText: "routing:scheduleGroup:view" } }, scriptsView: { permissionInfo: { domain: "scripter", entityName: "publishedScript", action: "view", displayText: "scripter:publishedScript:view" } }, scriptsSearch: { permissionInfo: { domain: "scripter", entityName: "publishedScript", action: "search", displayText: "scripter:publishedScript:search" }, commonResourceKey: "scriptsView" }, smsPhoneNumberView: { permissionInfo: { domain: "sms", entityName: "smsPhoneNumber", action: "view", displayText: "sms:phoneNumber:view" } }, surveyFormView: { permissionInfo: { domain: "quality", entityName: "surveyForm", action: "view", displayText: "quality:surveyForm:view" } }, utilizationLabelView: { permissionInfo: { domain: "routing", entityName: "utilizationLabel", action: "view", displayText: "routing:utilizationLabel:view" } }, voicemailReceive: { permissionInfo: { domain: "voicemail", entityName: "voicemail", action: "receive", displayText: "voicemail:voicemail:receive" } }, processAutomationTriggerView: { permissionInfo: { domain: "processautomation", entityName: "trigger", action: "view", displayText: "processautomation:trigger:view" } }, wrapupCodesSearch: { permissionInfo: { domain: "routing", entityName: "wrapupCode", action: "search", displayText: "routing:wrapupCode:search" }, commonResourceKey: "wrapupCodesView" }, wrapupCodesView: { permissionInfo: { domain: "routing", entityName: "wrapupCode", action: "view", displayText: "routing:wrapupCode:view" } }, worktypesView: { permissionInfo: { domain: "workitems", entityName: "worktype", action: "view", displayText: "workitems:worktype:view" } } }), s = { agenticVirtualAgentView: "agenticVirtualAgentView", agenticVirtualAgentVersionView: "agenticVirtualAgentVersionView", auditView: "auditView", botConnectorView: "botConnectorView", bridgeActionView: "bridgeActionView", contactListsSearch: "contactListsSearch", contactListsView: "contactListsView", conversationConferenceAdd: "conversationConferenceAdd", conversationCustomAttributesSchemaView: "conversationCustomAttributesSchemaView", customerSegmentsView: "customerSegmentsView", dataTablesSearch: "dataTablesSearch", dataTablesView: "dataTablesView", decisionTablesSearch: "decisionTablesSearch", divisionsView: "divisionsView", emergencyGroupSearch: "emergencyGroupSearch", emergencyGroupView: "emergencyGroupView", flowLaunch: "flowLaunch", flowSearch: "flowSearch", flowView: "flowView", flowMilestonesSearch: "flowMilestonesSearch", flowMilestonesView: "flowMilestonesView", flowOutcomesSearch: "flowOutcomesSearch", flowOutcomesView: "flowOutcomesView", grammarView: "grammarView", guideView: "guideView", guideVersionView: "guideVersionView", integrationsActionView: "integrationsActionView", integrationView: "integrationView", knowledgeBaseView: "knowledgeBaseView", knowledgeBaseDocumentView: "knowledgeBaseDocumentView", languageSkillsView: "languageSkillsView", messagingIntegrationView: "messagingIntegrationView", nluView: "nluView", oAuthClientView: "oAuthClientView", processAutomationTriggerView: "processAutomationTriggerView", promptsSystemView: "promptsSystemView", promptsUserView: "promptsUserView", queuesView: "queuesView", queuesSearch: "queuesSearch", responseAssetAdd: "responseAssetAdd", responseAssetView: "responseAssetView", responseLibraryView: "responseLibraryView", responseView: "responseView", schedulesSearch: "schedulesSearch", schedulesView: "schedulesView", scheduleGroupSearch: "scheduleGroupSearch", scheduleGroupView: "scheduleGroupView", scriptsView: "scriptsView", scriptsSearch: "scriptsSearch", smsPhoneNumberView: "smsPhoneNumberView", surveyFormView: "surveyFormView", utilizationLabelView: "utilizationLabelView", voicemailReceive: "voicemailReceive", wrapupCodesSearch: "wrapupCodesSearch", wrapupCodesView: "wrapupCodesView", worktypesView: "worktypesView" }, l = { agenticVirtualAgentView: { havePermission: true }, agenticVirtualAgentVersionView: { havePermission: true }, auditView: { havePermission: true }, botConnectorView: { havePermission: true }, bridgeActionView: { havePermission: true }, contactListsSearch: { havePermission: true }, contactListsView: { havePermission: true }, conversationConferenceAdd: { havePermission: true }, conversationCustomAttributesSchemaView: { havePermission: true }, customerSegmentsView: { havePermission: true }, dataTablesView: { havePermission: true }, dataTablesSearch: { havePermission: true }, decisionTablesSearch: { havePermission: true }, divisionsView: { havePermission: true }, emergencyGroupSearch: { havePermission: true }, emergencyGroupView: { havePermission: true }, flowLaunch: { havePermission: true }, flowSearch: { havePermission: true }, flowView: { havePermission: true }, flowMilestonesSearch: { havePermission: true }, flowMilestonesView: { havePermission: true }, flowOutcomesSearch: { havePermission: true }, flowOutcomesView: { havePermission: true }, grammarView: { havePermission: true }, guideView: { havePermission: true }, guideVersionView: { havePermission: true }, integrationsActionView: { havePermission: true }, integrationView: { havePermission: true }, knowledgeBaseView: { havePermission: true }, knowledgeBaseDocumentView: { havePermission: true }, languageSkillsView: { havePermission: true }, messagingIntegrationView: { havePermission: true }, nluView: { havePermission: true }, oAuthClientView: { havePermission: true }, responseAssetAdd: { havePermission: true }, responseAssetView: { havePermission: true }, responseLibraryView: { havePermission: true }, responseView: { havePermission: true }, processAutomationTriggerView: { havePermission: true }, promptsUserView: { havePermission: true }, promptsSystemView: { havePermission: true }, schedulesSearch: { havePermission: true }, schedulesView: { havePermission: true }, scheduleGroupSearch: { havePermission: true }, scheduleGroupView: { havePermission: true }, scriptsSearch: { havePermission: true }, scriptsView: { havePermission: true }, smsPhoneNumberView: { havePermission: true }, surveyFormView: { havePermission: true }, queuesSearch: { havePermission: true }, queuesView: { havePermission: true }, utilizationLabelView: { havePermission: true }, voicemailReceive: { havePermission: true }, wrapupCodesSearch: { havePermission: true }, wrapupCodesView: { havePermission: true }, worktypesView: { havePermission: true } }; + const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(17604), o = i2(47957), a = (o.externalAuths.agenticVirtualAgentView.displayTitle, o.externalAuths.agenticVirtualAgentVersionView.displayTitle, o.externalAuths.auditView.displayTitle, o.externalAuths.botConnectorView.displayTitle, o.externalAuths.bridgeActionView.displayTitle, o.externalAuths.conversationConferenceAdd.displayTitle, o.externalAuths.conversationCustomAttributesSchemaView.conversationCustomAttributesSchemaViewDisplayTitle, o.externalAuths.contactListsView.displayTitle, o.externalAuths.customerIntentsView.customerIntentsViewDisplayTitle, o.externalAuths.customerSegmentsView.customerSegmentsViewDisplayTitle, o.externalAuths.dataTablesView.displayTitle, o.externalAuths.decisionTablesSearch.decisionTablesSearchDisplayTitle, o.externalAuths.divisionsView.divisionsViewDisplayTitle, o.externalAuths.emergencyGroupView.displayTitle, o.externalAuths.flowLaunch.displayTitle, o.externalAuths.flowMilestonesView.displayTitle, o.externalAuths.flowOutcomesView.displayTitle, o.externalAuths.flowView.displayTitle, o.externalAuths.grammarView.displayTitle, o.externalAuths.guideView.displayTitle, o.externalAuths.guideVersionView.displayTitle, o.externalAuths.integrationsActionView.displayTitle, o.externalAuths.integrationView.displayTitle, o.externalAuths.knowledgeBaseView.knowledgeBaseViewDisplayTitle, o.externalAuths.knowledgeBaseDocumentView.knowledgeBaseDocumentViewDisplayTitle, o.externalAuths.languageSkillsView.displayTitle, o.externalAuths.messagingIntegrationView.messagingIntegrationViewDisplayTitle, o.externalAuths.nluView.displayTitle, o.externalAuths.oAuthClientView.oAuthClientViewDisplayTitle, o.externalAuths.promptsSystemView.displayTitle, o.externalAuths.promptsUserView.displayTitle, o.externalAuths.processAutomationTriggerView.displayTitle, o.externalAuths.queuesView.displayTitle, o.externalAuths.responseAssetAdd.displayTitle, o.externalAuths.responseAssetView.displayTitle, o.externalAuths.responseLibraryView.displayTitle, o.externalAuths.responseLibraryView.displayTitle, o.externalAuths.responseView.displayTitle, o.externalAuths.schedulesView.displayTitle, o.externalAuths.scheduleGroupView.displayTitle, o.externalAuths.scriptsView.displayTitle, o.externalAuths.smsPhoneNumberView.smsPhoneNumberViewDisplayTitle, o.externalAuths.surveyFormView.displayTitle, o.externalAuths.utilizationLabelView.utilizationLabelViewDisplayTitle, o.externalAuths.voicemailReceive.displayTitle, o.externalAuths.wrapupCodesView.displayTitle, o.externalAuths.worktypesView.displayTitle, { contactListsSearch: { permissionInfo: { domain: "outbound", entityName: "contactList", action: "search", displayText: "outbound:contactList:search" }, commonResourceKey: "contactListsView" }, contactListsView: { permissionInfo: { domain: "outbound", entityName: "contactList", action: "view", displayText: "outbound:contactList:view" } }, agenticVirtualAgentView: { permissionInfo: { domain: "agentic", entityName: "virtualAgent", action: "view", displayText: "agentic:virtualAgent:view" } }, agenticVirtualAgentVersionView: { permissionInfo: { domain: "agentic", entityName: "virtualAgentVersion", action: "view", displayText: "agentic:virtualAgentVersion:view" } }, auditView: { permissionInfo: { domain: "outbound", entityName: "audit", action: "view", displayText: "outbound:audit:view" } }, botConnectorView: { permissionInfo: { domain: "integration", entityName: "botConnector", action: "view", displayText: "integration:botConnector:view" } }, bridgeActionView: { permissionInfo: { domain: "bridge", entityName: "actions", action: "view", displayText: "bridge:actions:view" } }, conversationConferenceAdd: { permissionInfo: { domain: "conversation", entityName: "conference", action: "add", displayText: "conversation:conference:add" } }, conversationCustomAttributesSchemaView: { permissionInfo: { domain: "conversation", entityName: "customAttributes", action: "schemaView", displayText: "conversation:customAttributes:schemaView" } }, customerSegmentsView: { permissionInfo: { domain: "journey", entityName: "segment", action: "view", displayText: "journey:segment:view" } }, dataTablesSearch: { permissionInfo: { domain: "architect", entityName: "datatable", action: "search", displayText: "architect:datatable:search" }, commonResourceKey: "dataTablesView" }, dataTablesView: { permissionInfo: { domain: "architect", entityName: "datatable", action: "view", displayText: "architect:datatable:view" } }, decisionTablesSearch: { permissionInfo: { domain: "businessrules", entityName: "decisiontable", action: "search", displayText: "businessrules:decisionTable:search" } }, divisionsView: { permissionInfo: { domain: "authorization", entityName: "division", action: "view", displayText: "authorization:division:view" } }, emergencyGroupSearch: { permissionInfo: { domain: "routing", entityName: "emergencyGroup", action: "search", displayText: "routing:emergencyGroup:search" }, commonResourceKey: "emergencyGroupView" }, emergencyGroupView: { permissionInfo: { domain: "routing", entityName: "emergencyGroup", action: "view", displayText: "routing:emergencyGroup:view" } }, flowSearch: { permissionInfo: { domain: "architect", entityName: "flow", action: "search", displayText: "architect:flow:search" }, commonResourceKey: "flowView" }, flowLaunch: { permissionInfo: { domain: "architect", entityName: "flow", action: "launch", displayText: "architect:flow:launch" } }, flowView: { permissionInfo: { domain: "architect", entityName: "flow", action: "view", displayText: "architect:flow:view" } }, flowMilestonesSearch: { permissionInfo: { domain: "architect", entityName: "flowMilestone", action: "search", displayText: "architect:flowMilestone:search" }, commonResourceKey: "flowMilestonesView" }, flowMilestonesView: { permissionInfo: { domain: "architect", entityName: "flowMilestone", action: "view", displayText: "architect:flowMilestone:view" } }, flowOutcomesSearch: { permissionInfo: { domain: "architect", entityName: "flowOutcome", action: "search", displayText: "architect:flowOutcome:search" }, commonResourceKey: "flowOutcomesView" }, flowOutcomesView: { permissionInfo: { domain: "architect", entityName: "flowOutcome", action: "view", displayText: "architect:flowOutcome:view" } }, grammarView: { permissionInfo: { domain: "architect", entityName: "grammars", action: "view", displayText: "architect:grammar:view" } }, guideView: { permissionInfo: { domain: "aiStudio", entityName: "guide", action: "view", displayText: "aiStudio:guide:view" } }, guideVersionView: { permissionInfo: { domain: "aiStudio", entityName: "guideVersion", action: "view", displayText: "aiStudio:guideVersion:view" } }, integrationsActionView: { permissionInfo: { domain: "integrations", entityName: "action", action: "view", displayText: "integrations:action:view" } }, integrationView: { permissionInfo: { domain: "integrations", entityName: "integration", action: "view", displayText: "integrations:integration:view" } }, knowledgeBaseView: { permissionInfo: { domain: "knowledge", entityName: "knowledgeBase", action: "view", displayText: "knowledge:knowledgebase:view" } }, knowledgeBaseDocumentView: { permissionInfo: { domain: "knowledge", entityName: "document", action: "view", displayText: "knowledge:document:view" } }, languageSkillsView: { permissionInfo: { domain: "routing", entityName: "skill", action: "manage", displayText: "routing:skill:manage" } }, messagingIntegrationView: { permissionInfo: { domain: "integrations", entityName: "messaging", action: "view", displayText: "integrations:messaging:view" } }, nluView: { permissionInfo: { domain: "languageUnderstanding", entityName: "nluDomain", action: "view", displayText: "languageUnderstanding:nluDomain:view" } }, oAuthClientView: { permissionInfo: { domain: "oauth", entityName: "client", action: "view", displayText: "oauth:client:view" } }, promptsSystemView: { permissionInfo: { domain: "architect", entityName: "systemPrompt", action: "view", displayText: "architect:systemPrompt:view" } }, promptsUserView: { permissionInfo: { domain: "architect", entityName: "userPrompt", action: "view", displayText: "architect:userPrompt:view" } }, queuesSearch: { permissionInfo: { domain: "routing", entityName: "queue", action: "search", displayText: "routing:queue:search" }, commonResourceKey: "queuesView" }, queuesView: { permissionInfo: { domain: "routing", entityName: "queue", action: "view", displayText: "routing:queue:view" } }, responseAssetAdd: { permissionInfo: { domain: "responseAssets", entityName: "asset", action: "add", displayText: "responseAssets:asset:add" } }, responseAssetView: { permissionInfo: { domain: "responseAssets", entityName: "asset", action: "view", displayText: "responseAssets:asset:view" } }, responseLibrarySearch: { permissionInfo: { domain: "responses", entityName: "library", action: "search", displayText: "responses:library:search" }, commonResourceKey: "responseLibraryView" }, responseLibraryView: { permissionInfo: { domain: "responses", entityName: "library", action: "view", displayText: "responses:library:view" } }, responseSearch: { permissionInfo: { domain: "responses", entityName: "response", action: "search", displayText: "responses:response:search" }, commonResourceKey: "responseView" }, responseView: { permissionInfo: { domain: "responses", entityName: "response", action: "view", displayText: "responses:response:view" } }, schedulesSearch: { permissionInfo: { domain: "routing", entityName: "schedule", action: "search", displayText: "routing:schedule:search" }, commonResourceKey: "schedulesView" }, schedulesView: { permissionInfo: { domain: "routing", entityName: "schedule", action: "view", displayText: "routing:schedule:view" } }, scheduleGroupSearch: { permissionInfo: { domain: "routing", entityName: "scheduleGroup", action: "search", displayText: "routing:scheduleGroup:search" }, commonResourceKey: "scheduleGroupView" }, scheduleGroupView: { permissionInfo: { domain: "routing", entityName: "scheduleGroup", action: "view", displayText: "routing:scheduleGroup:view" } }, scriptsView: { permissionInfo: { domain: "scripter", entityName: "publishedScript", action: "view", displayText: "scripter:publishedScript:view" } }, scriptsSearch: { permissionInfo: { domain: "scripter", entityName: "publishedScript", action: "search", displayText: "scripter:publishedScript:search" }, commonResourceKey: "scriptsView" }, smsPhoneNumberView: { permissionInfo: { domain: "sms", entityName: "smsPhoneNumber", action: "view", displayText: "sms:phoneNumber:view" } }, surveyFormView: { permissionInfo: { domain: "quality", entityName: "surveyForm", action: "view", displayText: "quality:surveyForm:view" } }, utilizationLabelView: { permissionInfo: { domain: "routing", entityName: "utilizationLabel", action: "view", displayText: "routing:utilizationLabel:view" } }, voicemailReceive: { permissionInfo: { domain: "voicemail", entityName: "voicemail", action: "receive", displayText: "voicemail:voicemail:receive" } }, processAutomationTriggerView: { permissionInfo: { domain: "processautomation", entityName: "trigger", action: "view", displayText: "processautomation:trigger:view" } }, wrapupCodesSearch: { permissionInfo: { domain: "routing", entityName: "wrapupCode", action: "search", displayText: "routing:wrapupCode:search" }, commonResourceKey: "wrapupCodesView" }, wrapupCodesView: { permissionInfo: { domain: "routing", entityName: "wrapupCode", action: "view", displayText: "routing:wrapupCode:view" } }, worktypesView: { permissionInfo: { domain: "workitems", entityName: "worktype", action: "view", displayText: "workitems:worktype:view" } } }), s = { agenticVirtualAgentView: "agenticVirtualAgentView", agenticVirtualAgentVersionView: "agenticVirtualAgentVersionView", auditView: "auditView", botConnectorView: "botConnectorView", bridgeActionView: "bridgeActionView", contactListsSearch: "contactListsSearch", contactListsView: "contactListsView", conversationConferenceAdd: "conversationConferenceAdd", conversationCustomAttributesSchemaView: "conversationCustomAttributesSchemaView", customerSegmentsView: "customerSegmentsView", dataTablesSearch: "dataTablesSearch", dataTablesView: "dataTablesView", decisionTablesSearch: "decisionTablesSearch", divisionsView: "divisionsView", emergencyGroupSearch: "emergencyGroupSearch", emergencyGroupView: "emergencyGroupView", flowLaunch: "flowLaunch", flowSearch: "flowSearch", flowView: "flowView", flowMilestonesSearch: "flowMilestonesSearch", flowMilestonesView: "flowMilestonesView", flowOutcomesSearch: "flowOutcomesSearch", flowOutcomesView: "flowOutcomesView", grammarView: "grammarView", guideView: "guideView", guideVersionView: "guideVersionView", integrationsActionView: "integrationsActionView", integrationView: "integrationView", knowledgeBaseView: "knowledgeBaseView", knowledgeBaseDocumentView: "knowledgeBaseDocumentView", languageSkillsView: "languageSkillsView", messagingIntegrationView: "messagingIntegrationView", nluView: "nluView", oAuthClientView: "oAuthClientView", processAutomationTriggerView: "processAutomationTriggerView", promptsSystemView: "promptsSystemView", promptsUserView: "promptsUserView", queuesView: "queuesView", queuesSearch: "queuesSearch", responseAssetAdd: "responseAssetAdd", responseAssetView: "responseAssetView", responseLibrarySearch: "responseLibrarySearch", responseLibraryView: "responseLibraryView", responseSearch: "responseSearch", responseView: "responseView", schedulesSearch: "schedulesSearch", schedulesView: "schedulesView", scheduleGroupSearch: "scheduleGroupSearch", scheduleGroupView: "scheduleGroupView", scriptsView: "scriptsView", scriptsSearch: "scriptsSearch", smsPhoneNumberView: "smsPhoneNumberView", surveyFormView: "surveyFormView", utilizationLabelView: "utilizationLabelView", voicemailReceive: "voicemailReceive", wrapupCodesSearch: "wrapupCodesSearch", wrapupCodesView: "wrapupCodesView", worktypesView: "worktypesView" }, l = { agenticVirtualAgentView: { havePermission: true }, agenticVirtualAgentVersionView: { havePermission: true }, auditView: { havePermission: true }, botConnectorView: { havePermission: true }, bridgeActionView: { havePermission: true }, contactListsSearch: { havePermission: true }, contactListsView: { havePermission: true }, conversationConferenceAdd: { havePermission: true }, conversationCustomAttributesSchemaView: { havePermission: true }, customerSegmentsView: { havePermission: true }, dataTablesView: { havePermission: true }, dataTablesSearch: { havePermission: true }, decisionTablesSearch: { havePermission: true }, divisionsView: { havePermission: true }, emergencyGroupSearch: { havePermission: true }, emergencyGroupView: { havePermission: true }, flowLaunch: { havePermission: true }, flowSearch: { havePermission: true }, flowView: { havePermission: true }, flowMilestonesSearch: { havePermission: true }, flowMilestonesView: { havePermission: true }, flowOutcomesSearch: { havePermission: true }, flowOutcomesView: { havePermission: true }, grammarView: { havePermission: true }, guideView: { havePermission: true }, guideVersionView: { havePermission: true }, integrationsActionView: { havePermission: true }, integrationView: { havePermission: true }, knowledgeBaseView: { havePermission: true }, knowledgeBaseDocumentView: { havePermission: true }, languageSkillsView: { havePermission: true }, messagingIntegrationView: { havePermission: true }, nluView: { havePermission: true }, oAuthClientView: { havePermission: true }, responseAssetAdd: { havePermission: true }, responseAssetView: { havePermission: true }, responseLibrarySearch: { havePermission: true }, responseLibraryView: { havePermission: true }, responseSearch: { havePermission: true }, responseView: { havePermission: true }, processAutomationTriggerView: { havePermission: true }, promptsUserView: { havePermission: true }, promptsSystemView: { havePermission: true }, schedulesSearch: { havePermission: true }, schedulesView: { havePermission: true }, scheduleGroupSearch: { havePermission: true }, scheduleGroupView: { havePermission: true }, scriptsSearch: { havePermission: true }, scriptsView: { havePermission: true }, smsPhoneNumberView: { havePermission: true }, surveyFormView: { havePermission: true }, queuesSearch: { havePermission: true }, queuesView: { havePermission: true }, utilizationLabelView: { havePermission: true }, voicemailReceive: { havePermission: true }, wrapupCodesSearch: { havePermission: true }, wrapupCodesView: { havePermission: true }, worktypesView: { havePermission: true } }; t2.externalAuthorizations = new class { constructor() { this.authStrings = s, this.currentAuthorizations = l, this.externalAuthorizations = a; @@ -96126,8 +103207,8 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(39732)), o = n2.__importDefault(i2(4778)), a = n2.__importDefault(i2(22456)); class s extends r2.default { - constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, partConfigurators: o2, resultExpressionType: a2, type: s2, expressionDefs: l, restrictToFlowTypeOrTypes: u, categoryIdentifierOrIdentifiers: d }) { - super(e3, t3, i3, n3, r3, o2, a2 = a2 || s2, { languageTag: "", outputMode: "" }, u, d, a2.getArchIcon()); + constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, partConfigurators: o2, resultExpressionType: a2, type: s2, expressionDefs: l, restrictToFlowTypeOrTypes: u, categoryIdentifierOrIdentifiers: c }) { + super(e3, t3, i3, n3, r3, o2, a2 = a2 || s2, { languageTag: "", outputMode: "" }, u, c, a2.getArchIcon()); } get className() { return "BuilderPartContainerLanguageOutputModeDef"; @@ -96158,9 +103239,9 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = i2(96618), o = i2(28562), a = i2(80428), s = i2(82319), l = n2.__importDefault(i2(5730)), u = i2(47957); - class d extends l.default { + class c extends l.default { static get managedProperties() { - return [{ label: u.askCommon.question, options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setDescriptionInfo(u.askCommon.question, u.askCommon.questionDescriptionAskActions).setIninTestingField("question").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDefaultToBuilderId(o.builderIds.parts.genericCommunication).setUiPropertyOrder(5)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setDescriptionInfo(u.askCommon.question, u.askCommon.questionDescriptionAskActions).setIninTestingField("question").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDefaultToBuilderId(o.builderIds.parts.markdownCommunication).setUiPropertyOrder(5)) }], yamlOptions: d.createYamlOptions("question", (e3) => e3.setExportOrder(30).setPropertyName("question")), property: "question", type: a.expressionTypeNames.communication }]; + return [{ label: u.askCommon.question, options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setDescriptionInfo(u.askCommon.question, u.askCommon.questionDescriptionAskActions).setIninTestingField("question").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDefaultToBuilderId(o.builderIds.parts.genericCommunication).setUiPropertyOrder(5)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setDescriptionInfo(u.askCommon.question, u.askCommon.questionDescriptionAskActions).setIninTestingField("question").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDefaultToBuilderId(o.builderIds.parts.markdownCommunication).setUiPropertyOrder(5)) }], yamlOptions: c.createYamlOptions("question", (e3) => e3.setExportOrder(30).setPropertyName("question")), property: "question", type: a.expressionTypeNames.communication }]; } constructor(e3) { super(e3.parentFlow, e3); @@ -96179,7 +103260,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.getDetailsForProperties([this.question]); } } - t2.default = d, d.className = "BaseAskActionViewModel"; + t2.default = c, c.className = "BaseAskActionViewModel"; }, 81832: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -96229,7 +103310,7 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(13720)), a = n2.__importDefault(i2(78432)), s = n2.__importDefault(i2(67222)), l = n2.__importDefault(i2(93229)), u = n2.__importDefault(i2(46422)); - class d extends o.default { + class c extends o.default { constructor(e3) { super(), this._archFilterClausesOrContainers = [], r2.default.isUndefined(e3) ? e3 = a.default.FILTER_CONTAINER_OPERATORS.and : this._checkItemIsValidLiteralStringEnum(this._infoParmCtor("operator"), e3, a.default.FILTER_CONTAINER_OPERATORS_ALL), this.operator = e3; } @@ -96250,7 +103331,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } addFilterClauseContainer(e3) { (r2.default.isUndefined(e3) || null === e3) && (e3 = a.default.FILTER_CONTAINER_OPERATORS.and), this._checkItemIsValidLiteralStringEnum(this._infoParm("operator", "addFilterClauseContainer"), e3, a.default.FILTER_CONTAINER_OPERATORS_ALL); - const t3 = new d(e3); + const t3 = new c(e3); return this._archFilterClausesOrContainers.push(t3), t3; } get displayTypeName() { @@ -96277,7 +103358,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } } } - t2.default = d; + t2.default = c; }, 81904: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.AskForAuthenticationActionModel = void 0; @@ -96314,13 +103395,13 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.AskForAuthenticationActionModel = u, u.__type = r2.askForAuthenticationActionType, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "signInMessage", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "successMessage", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "authenticationCompletionTimeout", null), u.registerType(); }, 81907: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = i2(47957); - class u extends s.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = n2.__importDefault(i2(4648)), u = i2(47957); + class c extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } } - u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: true, canBeTreeNode: true, helpTopic: r2.helpTopics.actions.disconnect, modelClass: i2(44095), name: l.actions.disconnect, scriptingName: "ArchActionDisconnect", termination: a.terminatesFlow }), t2.A = u; + c.info = o.default.createActionInfo({ actionClass: c, canBeInTask: true, canBeTreeNode: true, helpTopic: r2.helpTopics.actions.disconnect, modelClass: i2(44095), name: u.actions.disconnect, scriptingName: "ArchActionDisconnect", termination: a.terminatesFlow, modelFormatSupport: { flowYaml: { inProgress: true, feature: l.default.changeSetsFeaturePhase2 } } }), t2.A = c; }, 81912: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -96346,18 +103427,18 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 81948: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.TEST_getFlowCount = function() { - return Object.keys(le).length; + return Object.keys(De).length; }, t2.TEST_getFlowWithName = function(e3) { - return Object.values(le).find((t3) => t3.displayName === e3); + return Object.values(De).find((t3) => t3.displayName === e3); }, t2.isFlowViewModel = function(e3) { return null == e3 ? void 0 : e3.isFlowViewModel; }; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(33231)), a = i2(79364), s = i2(79364), l = i2(92794), u = i2(17604), d = n2.__importDefault(i2(92140)), c = n2.__importDefault(i2(96875)), p = n2.__importStar(i2(71004)), _ = n2.__importDefault(i2(64584)), h = n2.__importDefault(i2(73198)), m = n2.__importDefault(i2(65302)), g = i2(66314), f = i2(14394), T = n2.__importDefault(i2(85499)), y = i2(84464), S = i2(66942), A = i2(16321), N = n2.__importDefault(i2(33139)), O = n2.__importStar(i2(12847)), I = i2(12847), v = n2.__importStar(i2(36781)), C = n2.__importDefault(i2(55006)), b = n2.__importStar(i2(27099)), E = n2.__importStar(i2(46920)), R = n2.__importDefault(i2(98114)), w = i2(19384), D = n2.__importStar(i2(19312)), P = n2.__importStar(i2(1638)), M = n2.__importStar(i2(18325)), F = n2.__importStar(i2(58380)), L = n2.__importStar(i2(32108)), x = n2.__importStar(i2(98442)), k = n2.__importStar(i2(1115)), V = n2.__importDefault(i2(92859)), U = n2.__importDefault(i2(59805)), B = n2.__importStar(i2(14187)), G = n2.__importDefault(i2(12889)), j = i2(32854), W = n2.__importDefault(i2(54508)), q = n2.__importDefault(i2(92346)), Y = i2(73266), H = n2.__importDefault(i2(31151)), J = i2(6099), z = n2.__importDefault(i2(56510)), K = n2.__importDefault(i2(29102)), $ = n2.__importDefault(i2(68460)), Q = i2(1782), X = n2.__importDefault(i2(60571)), Z = i2(32531), ee = n2.__importDefault(i2(90396)), te = i2(37345), ie = i2(89266), ne = i2(81120), re = i2(47957), oe = i2(25015), ae = i2(85160), se = i2(92330), le = {}; - class ue extends $.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(33231)), a = i2(79364), s = i2(79364), l = i2(92794), u = i2(17604), c = n2.__importDefault(i2(92140)), d = n2.__importDefault(i2(96875)), p = n2.__importStar(i2(71004)), _ = n2.__importStar(i2(69453)), h = i2(44494), m = i2(19206), g = i2(19206), f = i2(19206), T = i2(19206), y = n2.__importDefault(i2(64584)), S = n2.__importDefault(i2(73198)), A = n2.__importDefault(i2(65302)), N = i2(66314), v = i2(14394), O = n2.__importDefault(i2(85499)), I = i2(84464), C = i2(66942), b = i2(16321), E = n2.__importDefault(i2(33139)), w = n2.__importStar(i2(12847)), R = i2(12847), D = n2.__importStar(i2(36781)), P = n2.__importDefault(i2(55006)), M = n2.__importStar(i2(27099)), F = n2.__importStar(i2(46920)), L = n2.__importDefault(i2(98114)), x = i2(19384), k = n2.__importStar(i2(19312)), V = n2.__importStar(i2(1638)), U = n2.__importStar(i2(18325)), B = n2.__importStar(i2(58380)), G = n2.__importStar(i2(32108)), j = n2.__importStar(i2(98442)), W = n2.__importStar(i2(1115)), q = n2.__importDefault(i2(92859)), Y = n2.__importDefault(i2(59805)), H = n2.__importStar(i2(14187)), J = i2(1910), $ = i2(1910), z = i2(1910), K = i2(1910), Q = i2(1910), X = i2(1910), Z = i2(1910), ee = i2(1910), te = i2(1910), ie = i2(1910), ne = n2.__importDefault(i2(12889)), re = i2(32854), oe = n2.__importDefault(i2(54508)), ae = n2.__importDefault(i2(92346)), se = i2(73266), le = n2.__importDefault(i2(31151)), ue = i2(6099), ce = n2.__importDefault(i2(56510)), de = n2.__importDefault(i2(29102)), pe = n2.__importDefault(i2(68460)), _e = i2(1782), he = n2.__importDefault(i2(60571)), me = i2(84852), ge = i2(84852), fe = i2(84852), Te = i2(84852), ye = i2(84852), Se = i2(84852), Ae = i2(84852), Ne = i2(32531), ve = n2.__importDefault(i2(90396)), Oe = i2(37345), Ie = i2(89266), Ce = i2(81120), be = i2(47957), Ee = i2(25015), we = i2(85160), Re = i2(92330), De = {}; + class Pe extends pe.default { get wrappedYamlName() { } constructor(e3) { - super(void 0), this.nextTrackingNumber = void 0, this.flowNotLockedError = false, this.isImporting = false, this.discardChanges = false, this._receivedInitialValidationData = false, this._supportedLanguageOptions = [], this._commonModules = [], this._autoManagedSettings = [], this._uninitializedObjects = [], this._tasksMap = {}, this._menusMap = {}, this.loaded$ = new s.BehaviorSubject(false), this.info = e3, this.topic = e3.topic, this._validationResults = new U.default(this, false), this._validationComplete$ = new a.Subject(), this._singleItemValidated$ = new a.Subject(), this.validationComplete$ = this._validationComplete$.pipe((0, l.filter)((e4) => !!e4)), this.singleItemValidated$ = this._singleItemValidated$.pipe((0, l.filter)(({ validationResults: e4, validatedItem: t3 }) => t3 && e4 && !this.isDestroyedOrDestroying && this.loaded && !t3.isDestroyedOrDestroying)), this.data = new W.default(this), this.debugging = this._addToAutoManageSettings(new q.default(this)), this.defaultSettings = this._addToAutoManageSettings(new Y.DefaultSettingsViewModel(this)), this.definitions = this._addToAutoManageSettings(new Z.FlowCustomDefinitionsViewModel(this)), this.dependencies = this._addToAutoManageSettings(new H.default(this)), this.languages = this._addToAutoManageSettings(new z.default(this)), this.flowSize = this._addToAutoManageSettings(new J.FlowSizeViewModel(this)), this.customTypes = this._addToAutoManageSettings(new j.CustomTypesViewModel(this)), this.supportsReusableMenus && (this.menuSettings = this._addToAutoManageSettings(new K.default(this))); + super(void 0), this.nextTrackingNumber = void 0, this.flowNotLockedError = false, this.isImporting = false, this.discardChanges = false, this._receivedInitialValidationData = false, this._supportedLanguageOptions = [], this._commonModules = [], this._autoManagedSettings = [], this._uninitializedObjects = [], this._tasksMap = {}, this._menusMap = {}, this.loaded$ = new s.BehaviorSubject(false), this.info = e3, this.topic = e3.topic, this._validationResults = new Y.default(this, false), this._validationComplete$ = new a.Subject(), this._singleItemValidated$ = new a.Subject(), this.validationComplete$ = this._validationComplete$.pipe((0, l.filter)((e4) => !!e4)), this.singleItemValidated$ = this._singleItemValidated$.pipe((0, l.filter)(({ validationResults: e4, validatedItem: t3 }) => t3 && e4 && !this.isDestroyedOrDestroying && this.loaded && !t3.isDestroyedOrDestroying)), this.data = new oe.default(this), this.debugging = this._addToAutoManageSettings(new ae.default(this)), this.defaultSettings = this._addToAutoManageSettings(new se.DefaultSettingsViewModel(this)), this.definitions = this._addToAutoManageSettings(new Ne.FlowCustomDefinitionsViewModel(this)), this.dependencies = this._addToAutoManageSettings(new le.default(this)), this.languages = this._addToAutoManageSettings(new ce.default(this)), this.flowSize = this._addToAutoManageSettings(new ue.FlowSizeViewModel(this)), this.customTypes = this._addToAutoManageSettings(new re.CustomTypesViewModel(this)), this.supportsReusableMenus && (this.menuSettings = this._addToAutoManageSettings(new de.default(this))); } get tasks() { return void 0 === this._tasksArray && (this._tasksArray = Object.values(this._tasksMap)), this._tasksArray; @@ -96366,8 +103447,8 @@ ${e3.stack}`, n3 = [this].concat(i3); var e3; return (null === (e3 = this.tasks) || void 0 === e3 ? void 0 : e3.length) >= 1; } - _deleteAllTasks() { - d.default.destroyContents(this._tasksMap), this._tasksArray = void 0; + deleteAllTasks() { + c.default.destroyContents(this._tasksMap), this._tasksArray = void 0; } getTaskById(e3) { return this._tasksMap[e3]; @@ -96385,8 +103466,8 @@ ${e3.stack}`, n3 = [this].concat(i3); var e3; return (null === (e3 = this.menus) || void 0 === e3 ? void 0 : e3.length) >= 1; } - _deleteAllMenus() { - d.default.destroyContents(this._menusMap), this._menusArray = void 0; + deleteAllMenus() { + c.default.destroyContents(this._menusMap), this._menusArray = void 0; } getMenuById(e3) { return this._menusMap[e3]; @@ -96421,25 +103502,25 @@ ${e3.stack}`, n3 = [this].concat(i3); } buildConfiguration(e3, t3, i3) { var n3; - e3.name = this.displayName, e3.description = this.description, this.supportsLanguages && (!(null == i3 ? void 0 : i3.isForFlowYaml) || (null == i3 ? void 0 : i3.isForFlowYaml) && this.languagesSupportDefaultLanguage) && (e3.defaultLanguage = this.defaultLanguage), this.writeTasksToConfig(i3, e3), this.writeMenusToConfig(i3, e3), d.default.each(this._autoManagedSettings, (n4) => { + e3.name = this.displayName, e3.description = this.description, this.supportsLanguages && (!(null == i3 ? void 0 : i3.isForFlowYaml) || (null == i3 ? void 0 : i3.isForFlowYaml) && this.languagesSupportDefaultLanguage) && (e3.defaultLanguage = this.defaultLanguage), this.writeTasksToConfig(i3, e3), this.writeMenusToConfig(i3, e3), c.default.each(this._autoManagedSettings, (n4) => { if (t3 && n4.isDependenciesNode) return; if ((null == i3 ? void 0 : i3.isForFlowYaml) && !n4.wrappedYamlName) return; const r4 = n4.getConfiguration(e3, i3); - (null == i3 ? void 0 : i3.isForFlowYaml) && r4 && !d.default.isEmpty(r4) && (e3[n4.wrappedYamlName] = r4); + (null == i3 ? void 0 : i3.isForFlowYaml) && r4 && !c.default.isEmpty(r4) && (e3[n4.wrappedYamlName] = r4); }); const r3 = this.data.getConfiguration(e3, i3); (null == i3 ? void 0 : i3.isForFlowYaml) && !r3.length || (e3.variables = r3); const o2 = this.variableGroup.getSystemVariablesWithInitialValues(); if (null == i3 ? void 0 : i3.isForFlowYaml) { - if (e3.division = this.info.division.name, (null === (n3 = this.initialPrompts) || void 0 === n3 ? void 0 : n3.hasAudioSet) && (e3.initialGreeting = this.initialPrompts.getConfiguration(e3, i3)), d.default.isString(e3.defaultLanguage) && (e3.defaultLanguage = e3.defaultLanguage.toLowerCase()), null == o2 ? void 0 : o2.length) { + if (e3.division = this.info.division.name, (null === (n3 = this.initialPrompts) || void 0 === n3 ? void 0 : n3.hasAudioSet) && (e3.initialGreeting = this.initialPrompts.getConfiguration(e3, i3)), c.default.isString(e3.defaultLanguage) && (e3.defaultLanguage = e3.defaultLanguage.toLowerCase()), null == o2 ? void 0 : o2.length) { const t4 = o2.filter((e4) => !e4.initValue.isNoValueMode).map((t5) => t5.getConfiguration(e3, i3)); t4.length && (e3.variables || (e3.variables = []), e3.variables.push(...t4)); } return e3; } (null == o2 ? void 0 : o2.length) && (e3.systemInitialValues = o2.reduce((e4, t4) => (e4[t4.id] = t4.initValue.model, e4), {})), e3.nextTrackingNumber = this.nextTrackingNumber, e3.initialSequence = this.initialSequence, e3.type = this.type; - const a2 = oe.getVersionInfo(this); - return e3.flowMetaData.flowDocumentVersion = a2.version, e3.flowMetaData.features = a2.featureToggles, this.uiMetaData && (e3.uiMetaData = d.default.clone(this.uiMetaData)), e3.uiMetaData.bridgeServerActions || (e3.uiMetaData.bridgeServerActions = []), e3.uiMetaData.screenPops || (e3.uiMetaData.screenPops = []), this._commonModules.length && (e3.commonModules = this._commonModules.map((e4) => ({ actionReferences: e4.actionReferences, id: e4.id, model: e4.viewModel ? E.getConfiguration(e4.viewModel) : void 0, name: e4.name, version: e4.version }))), e3; + const a2 = Ee.getVersionInfo(this); + return e3.flowMetaData.flowDocumentVersion = a2.version, e3.flowMetaData.features = a2.featureToggles, this.uiMetaData && (e3.uiMetaData = c.default.clone(this.uiMetaData)), e3.uiMetaData.bridgeServerActions || (e3.uiMetaData.bridgeServerActions = []), e3.uiMetaData.screenPops || (e3.uiMetaData.screenPops = []), this._commonModules.length && (e3.commonModules = this._commonModules.map((e4) => ({ actionReferences: e4.actionReferences, id: e4.id, model: e4.viewModel ? F.getConfiguration(e4.viewModel) : void 0, name: e4.name, version: e4.version }))), e3; } writeTasksToConfig(e3, t3) { var i3; @@ -96447,16 +103528,16 @@ ${e3.stack}`, n3 = [this].concat(i3); const n3 = this.tasks[0].getConfiguration(t3, e3); t3.startUpTaskActions = n3.task.actions, (null === (i3 = n3.task.variables) || void 0 === i3 ? void 0 : i3.length) && (t3.startUpTaskVariables = n3.task.variables), delete t3.startUpRef; } else { - const i4 = (null == e3 ? void 0 : e3.isForFlowYaml) ? N.default.tasks : N.default.flowSequenceItemList; - d.default.isArray(t3[i4]) || (t3[i4] = []), d.default.each(this.tasks, (n3) => { + const i4 = (null == e3 ? void 0 : e3.isForFlowYaml) ? E.default.tasks : E.default.flowSequenceItemList; + c.default.isArray(t3[i4]) || (t3[i4] = []), c.default.each(this.tasks, (n3) => { (null == e3 ? void 0 : e3.isForFlowYaml) && n3.isInlineTask || t3[i4].push(n3.getConfiguration(t3, e3)); }), (null == e3 ? void 0 : e3.isForFlowYaml) && !t3[i4].length && delete t3[i4]; } } writeMenusToConfig(e3, t3) { if (this.supportsReusableMenus && this.menus && (this.hasMenus || !(null == e3 ? void 0 : e3.isForFlowYaml))) { - const i3 = (null == e3 ? void 0 : e3.isForFlowYaml) ? N.default.menus : N.default.flowSequenceItemList; - d.default.isArray(t3[i3]) || (t3[i3] = []), d.default.each(this.menus, (n3) => { + const i3 = (null == e3 ? void 0 : e3.isForFlowYaml) ? E.default.menus : E.default.flowSequenceItemList; + c.default.isArray(t3[i3]) || (t3[i3] = []), c.default.each(this.menus, (n3) => { (null == e3 ? void 0 : e3.isForFlowYaml) && n3.isHidden || t3[i3].push(n3.getConfiguration(t3, e3)); }); } @@ -96465,9 +103546,9 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.loaded && this._receivedInitialValidationData && !this.isDestroyedOrDestroying && this.initializeDesignTimeCalled; } checkVersion(e3) { - d.default.each(this.tasks, (t3) => { + c.default.each(this.tasks, (t3) => { t3.checkVersion(e3); - }), d.default.each(this.menus, (t3) => { + }), c.default.each(this.menus, (t3) => { t3.checkVersion(e3); }); } @@ -96476,38 +103557,38 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.menus && (e3 = e3.concat(...this.menus)), e3; } createMenu(e3) { - if (!this.supportsReusableMenus) return void O.error(`Flow type ${this.type} does not support menus`); - const t3 = new ae(), i3 = new Q.MenuViewModel(this, t3); - return i3.name = e3 || this._getUniqueName(this.menus, re.menu.newDefaultName), this.addNewChild(i3), i3; + if (!this.supportsReusableMenus) return void w.error(`Flow type ${this.type} does not support menus`); + const t3 = new we(), i3 = new _e.MenuViewModel(this, t3); + return i3.name = e3 || this._getUniqueName(this.menus, be.menu.newDefaultName), this.addNewChild(i3), i3; } createTask(e3) { - const t3 = new se(); - t3.name = e3 || this._getUniqueName(this.tasks, re.task.newDefaultName); - const i3 = new G.default(this, t3); + const t3 = new Re(); + t3.name = e3 || this._getUniqueName(this.tasks, be.task.newDefaultName); + const i3 = new ne.default(this, t3); return this.addNewChild(i3), i3; } deleteNode(e3, t3) { if (!e3) return null; if (this.initialSequence === e3.id) return null; const i3 = e3.parent; - return t3 && e3.isMenuChoice && (e3.task ? (e3.task.isHidden = false, e3.task = null) : e3.menu && (e3.menu.isHidden = false, e3.menu = null)), t3 || (e3.isMenu ? this._deleteMenu(e3) : this._deleteTask(e3)), e3.destroy(), k.validateNode(i3, true), F.fireEvent(this, v.containerListChanged, e3), i3; + return t3 && e3.isMenuChoice && (e3.task ? (e3.task.isHidden = false, e3.task = null) : e3.menu && (e3.menu.isHidden = false, e3.menu = null)), t3 || (e3.isMenu ? this._deleteMenu(e3) : this._deleteTask(e3)), e3.destroy(), W.validateNode(i3, true), B.fireEvent(this, D.containerListChanged, e3), i3; } getOrderedMenusForPrint() { const e3 = [], t3 = (i3) => { - if (!i3 || d.default.findWhere(e3, { id: i3.id })) return; + if (!i3 || c.default.findWhere(e3, { id: i3.id })) return; e3.push(i3); const n3 = i3.getOrderedChoices(); - d.default.each(n3, (e4) => { + c.default.each(n3, (e4) => { e4.isSubMenu && t3(e4.menu); }); }; - return t3(d.default.findWhere(this.menus, { isStartUpObject: true })), d.default.each(this.menus, t3), e3; + return t3(c.default.findWhere(this.menus, { isStartUpObject: true })), c.default.each(this.menus, t3), e3; } get defaultLanguageLCase() { - if (d.default.isString(this.defaultLanguage)) return this.defaultLanguage.toLowerCase(); + if (c.default.isString(this.defaultLanguage)) return this.defaultLanguage.toLowerCase(); } getFlowConfigurationClass() { - O.error("getFlowConfigurationClass should be implemented by a FlowViewModel class"); + w.error("getFlowConfigurationClass should be implemented by a FlowViewModel class"); } createFlowConfiguration(e3, t3) { if (null == t3 ? void 0 : t3.isForFlowYaml) return {}; @@ -96516,7 +103597,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } get availableVariableScopes() { const e3 = []; - return f.globalTypes.prompt.isAvailableForFlow(this) && (e3.push(B.scopes.prompt), e3.push(B.scopes.promptSystem)), d.default.union(this.userCreatableVariableScopes, this.builtInVariableScopes, e3); + return v.globalTypes.prompt.isAvailableForFlow(this) && (e3.push(H.scopes.prompt), e3.push(H.scopes.promptSystem)), c.default.union(this.userCreatableVariableScopes, this.builtInVariableScopes, e3); } get defaultVariableScope() { return this.localVariableScope; @@ -96525,7 +103606,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.definition.variableScope; } get builtInVariableScopes() { - return [B.scopes.system]; + return [H.scopes.system]; } get channelTypes() { return this.definition.channelTypes; @@ -96546,7 +103627,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.userCreatableVariableScopes; } get definition() { - return this._definition || (this._definition = R.default.getDefinitionForFlowType(this.type)), this._definition; + return this._definition || (this._definition = L.default.getDefinitionForFlowType(this.type)), this._definition; } get deleted() { var e3; @@ -96568,50 +103649,50 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.containerLabel; } get containerLabel() { - return re.flow.flow; + return be.flow.flow; } get containerLabelAndName() { - return (0, u.sprintf)(re.labelAndName, this.containerLabel, this.displayName); + return (0, u.sprintf)(be.labelAndName, this.containerLabel, this.displayName); } get ensureAudioInPrompts() { return this.validateHasAudioOnly; } set ensureAudioInPrompts(e3) { - this.promptMediaToValidate = e3 ? L.audioOnly : L.audioAndTTS; + this.promptMediaToValidate = e3 ? G.audioOnly : G.audioAndTTS; } get flowTypeDisplayName() { - return R.default.getDefinitionForFlowType(this.type).typeDisplayName; + return L.default.getDefinitionForFlowType(this.type).typeDisplayName; } get flowSequenceItemList() { return this._flowSequenceItemList; } get validateHasAudio() { - return L.hasMediaType(this.promptMediaToValidate, L.promptMediaTypes.audio); + return G.hasMediaType(this.promptMediaToValidate, G.promptMediaTypes.audio); } get validateHasTTS() { - return L.hasMediaType(this.promptMediaToValidate, L.promptMediaTypes.tts); + return G.hasMediaType(this.promptMediaToValidate, G.promptMediaTypes.tts); } get validateHasAudioOnly() { return this.validateHasAudio && !this.validateHasTTS; } get promptMediaToValidate() { var e3, t3; - return this.supportsAudio ? (null === (e3 = this.uiMetaData) || void 0 === e3 ? void 0 : e3.promptMediaToValidate) ? d.default.isString(this.uiMetaData.promptMediaToValidate) ? this.uiMetaData.promptMediaToValidate.toString().split(/,\s*/) : this.uiMetaData.promptMediaToValidate : (null === (t3 = this.uiMetaData) || void 0 === t3 ? void 0 : t3.ensureAudioInPrompts) ? L.audioOnly : L.audioAndTTS : []; + return this.supportsAudio ? (null === (e3 = this.uiMetaData) || void 0 === e3 ? void 0 : e3.promptMediaToValidate) ? c.default.isString(this.uiMetaData.promptMediaToValidate) ? this.uiMetaData.promptMediaToValidate.toString().split(/,\s*/) : this.uiMetaData.promptMediaToValidate : (null === (t3 = this.uiMetaData) || void 0 === t3 ? void 0 : t3.ensureAudioInPrompts) ? G.audioOnly : G.audioAndTTS : []; } set promptMediaToValidate(e3) { this.supportsAudio ? (this.uiMetaData || (this.uiMetaData = {}), this.uiMetaData.promptMediaToValidate = e3, this.uiMetaData.ensureAudioInPrompts = this.validateHasAudioOnly) : this.topic.error(`can't set promptMediaToValidate to ${e3} because it doesn't support audio`); } flowNameIsInvalidMessage(e3) { - return e3 ? e3.trim().match(/-debug$/i) ? re.editFlow.noDebugPostfix : e3.indexOf("/") > -1 ? re.editFlow.flowNameInvalidCharacter : null : re.editFlow.flowNameCannotBeBlank; + return e3 ? e3.trim().match(/-debug$/i) ? be.editFlow.noDebugPostfix : e3.indexOf("/") > -1 ? be.editFlow.flowNameInvalidCharacter : null : be.editFlow.flowNameCannotBeBlank; } getAllowableFlowInputTypes() { - return m.default.getTypeGroup(this)._getFlowInputTypes(this.type); + return A.default.getTypeGroup(this)._getFlowInputTypes(this.type); } getAllowableFlowOutputTypes() { - return m.default.getTypeGroup(this)._getFlowOutputTypes(this.type); + return A.default.getTypeGroup(this)._getFlowOutputTypes(this.type); } getCreatableDataTypes() { - return m.default.getTypeGroup(this)._getFlowCreatableDataTypes(this); + return A.default.getTypeGroup(this)._getFlowCreatableDataTypes(this); } getTopLevelChild(e3) { return e3 && (this.getTopLevelTaskLikeChild(e3) || this._menusMap[e3]) || null; @@ -96633,10 +103714,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return null; } addNewChild(e3) { - e3.isTask ? this._addTask(e3) : e3.isMenu && this._addMenu(e3), e3.initialize(), this.initializeDesignTimeCalled && (e3.initializeDesignTime(), k.validateNode(e3, true), F.fireEvent(this, v.containerListChanged, e3)); + e3.isTask ? this._addTask(e3) : e3.isMenu && this._addMenu(e3), e3.initialize(), this.initializeDesignTimeCalled && (e3.initializeDesignTime(), W.validateNode(e3, true), B.fireEvent(this, D.containerListChanged, e3)); } getUiMetadataInfo(e3, t3) { - if (this.uiMetaData) return d.default.findWhere(this.uiMetaData[e3], t3); + if (this.uiMetaData) return c.default.findWhere(this.uiMetaData[e3], t3); } getUiMetadataInfoById(e3, t3) { return this.getUiMetadataInfo(e3, { id: t3 }); @@ -96645,7 +103726,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return !!this.definition.supportsSpeechRec && this._getUsesSpeechRec(); } getSiblings(e3) { - return e3 && !e3.isTopLevelNode && e3.parent ? d.default.reject(e3.parent.children, (t3) => t3.id === e3.id) : null; + return e3 && !e3.isTopLevelNode && e3.parent ? c.default.reject(e3.parent.children, (t3) => t3.id === e3.id) : null; } getVariable(e3) { if (this.variableGroup) return this.variableGroup.getVariable(e3); @@ -96657,7 +103738,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.info.id; } get instanceId() { - return this._instanceId || (this.id ? this._instanceId = d.default.uniqueId(`${this.id}-`) : (O.warn("instance id being generated before there is a flow id"), this._instanceId = d.default.uniqueId("unknown-"))), this._instanceId; + return this._instanceId || (this.id ? this._instanceId = c.default.uniqueId(`${this.id}-`) : (w.warn("instance id being generated before there is a flow id"), this._instanceId = c.default.uniqueId("unknown-"))), this._instanceId; } get isCreated() { return "__" !== this.id.slice(0, 2); @@ -96669,12 +103750,12 @@ ${e3.stack}`, n3 = [this].concat(i3); return !this.info || this.info.isReadOnly; } loadConfiguration(e3) { - return this._finishLoadTimeCallback = O.time(`${this.type} flow was loaded in: `, 1e4), this.nextTrackingNumber = void 0, this._startUpObject = void 0, this.requiresFeatures && d.default.each(this.requiresFeatures, (e4) => { - if (b.isDisabled(e4)) { + return this._finishLoadTimeCallback = w.time(`${this.type} flow was loaded in: `, 1e4), this.nextTrackingNumber = void 0, this._startUpObject = void 0, this.requiresFeatures && c.default.each(this.requiresFeatures, (e4) => { + if (M.isDisabled(e4)) { const t3 = "Unable to load flow configuration because the feature toggle '" + e4 + "' is not available."; throw this.topic.error(t3), t3; } - }), this.uiMetaData = e3.uiMetaData, p.createVariableGroupForFlow(this, e3.systemInitialValues), d.default.each(this._autoManagedSettings, (t3) => { + }), this.uiMetaData = e3.uiMetaData, p.createVariableGroupForFlow(this, e3.systemInitialValues), c.default.each(this._autoManagedSettings, (t3) => { "flowDefinitions" === t3.id && t3.loadConfiguration(e3); }), this._loadConfiguration(e3); } @@ -96685,7 +103766,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this._validationResults = e3; } queuedAsyncValidate() { - return this._queuedAsyncValidate || (this._queuedAsyncValidate = ne(c.default.validateFlow.bind(c.default, this))), this._queuedAsyncValidate(); + return this._queuedAsyncValidate || (this._queuedAsyncValidate = Ce(d.default.validateFlow.bind(d.default, this))), this._queuedAsyncValidate(); } get isAutomateFlowType() { return this.definition.isAutomateFlowType; @@ -96715,7 +103796,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.definition.supportsErrorAudio; } get supportsAudio() { - return !!this.destinationFlowTypes.find((e3) => R.default.getOrgAndFlowTypeSupportAudio(e3)); + return !!this.destinationFlowTypes.find((e3) => L.default.getOrgAndFlowTypeSupportAudio(e3)); } get supportsDigital() { return !!this.destinationFlowTypes.find((e3) => r2.flowTypes.isAutomateOrCiceroFlowType(e3)); @@ -96742,13 +103823,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.definition.supportsLanguages; } get supportsAddRemoveLanguages() { - return this.destinationFlowTypes.every((e3) => R.default.doesFlowTypeSupportLanguageAddRemove(e3)); + return this.destinationFlowTypes.every((e3) => L.default.doesFlowTypeSupportLanguageAddRemove(e3)); } get languageChangesAreImmediate() { - return this.destinationFlowTypes.every((e3) => R.default.areLanguageChangesImmediate(e3)); + return this.destinationFlowTypes.every((e3) => L.default.areLanguageChangesImmediate(e3)); } get supportsMoreThanOneLanguage() { - return this.destinationFlowTypes.every((e3) => R.default.doesFlowTypeSupportMoreThanOneLanguage(e3)); + return this.destinationFlowTypes.every((e3) => L.default.doesFlowTypeSupportMoreThanOneLanguage(e3)); } canAddLanguage() { const e3 = !!this.supportedLanguageOptions.length; @@ -96803,7 +103884,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.definition.supportsReusableMenus; } get supportsSpeechRec() { - return !!this.definition.supportsSpeechRec && d.default.some(this.destinationFlowTypes, (e3) => R.default.getDefinitionForFlowType(e3).supportsSpeechRec); + return !!this.definition.supportsSpeechRec && c.default.some(this.destinationFlowTypes, (e3) => L.default.getDefinitionForFlowType(e3).supportsSpeechRec); } get supportsReusableTasks() { return this.definition.supportsReusableTasks; @@ -96842,10 +103923,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return !!this._variableGroup; } get variableGroup() { - return this._variableGroup || O.error("trying to get variableGroup before it was set"), this._variableGroup; + return this._variableGroup || w.error("trying to get variableGroup before it was set"), this._variableGroup; } set variableGroup(e3) { - this._variableGroup && (O.error("trying to get reset the variable group, you probably want to be calling variableGroup.reset instead"), this._variableGroup.destroy()), this._variableGroup = e3; + this._variableGroup && (w.error("trying to get reset the variable group, you probably want to be calling variableGroup.reset instead"), this._variableGroup.destroy()), this._variableGroup = e3; } cleanUiMetadataInfoSection(e3, t3, i3) { try { @@ -96854,7 +103935,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (!n3) return; const r3 = []; t3.forEach((e4) => { - y.actionRegistrationService.getActionIdsForActionType(this.parentFlow, e4).forEach((e5) => { + I.actionRegistrationService.getActionIdsForActionType(this.parentFlow, e4).forEach((e5) => { const t4 = e5[i3]; t4 && r3.indexOf(t4) < 0 && r3.push(t4); }); @@ -96868,9 +103949,9 @@ ${e3.stack}`, n3 = [this].concat(i3); if (!(e3 && t3 && i3 && n3 && this.loaded)) return; if (!o2) { let t4 = []; - if (this.traverse(new V.default({ actionCallback: (e4, t5) => { - d.default.contains(n3, e4.model.__type) && e4[r3] === i3 && t5.data.push(e4); - }, data: t4 })), t4 = d.default.reject(t4, (t5) => t5.id === e3.id), t4.length > 0) return; + if (this.traverse(new q.default({ actionCallback: (e4, t5) => { + c.default.contains(n3, e4.model.__type) && e4[r3] === i3 && t5.data.push(e4); + }, data: t4 })), t4 = c.default.reject(t4, (t5) => t5.id === e3.id), t4.length > 0) return; } const a2 = this.uiMetaData && this.uiMetaData[t3]; if (a2) { @@ -96892,8 +103973,8 @@ ${e3.stack}`, n3 = [this].concat(i3); try { const n3 = this.versions.convertVersionUrl(e3); if (!t3 && this.versions.alreadyLoaded(n3)) return this; - const r3 = i3 ? { ignoreBadResponse: true } : void 0, o2 = n3 === M.latest ? yield te.getConfiguration(this.id, this.overrideWireFlowConfiguration, r3) : yield te.getVersionConfiguration(this.id, n3, this.overrideWireFlowVersionConfiguration, r3); - return this.versions.loadedConfigurationVersion(n3), i3 ? yield E.loadConfigForEmbedding(this, o2) : yield E.tryLoadConfig(this, o2), this; + const r3 = i3 ? { ignoreBadResponse: true } : void 0, o2 = n3 === U.latest ? yield Oe.getConfiguration(this.id, this.overrideWireFlowConfiguration, r3) : yield Oe.getVersionConfiguration(this.id, n3, this.overrideWireFlowVersionConfiguration, r3); + return this.versions.loadedConfigurationVersion(n3), i3 ? yield F.loadConfigForEmbedding(this, o2) : yield F.tryLoadConfig(this, o2), this; } catch (e4) { throw i3 || (this.topic.errorPromise(e4, "Failure during requestConfiguration"), this.versions.loadedConfigurationVersion(void 0)), e4; } @@ -96904,12 +103985,12 @@ ${e3.stack}`, n3 = [this].concat(i3); get overrideWireFlowVersionConfiguration() { } search(e3) { - e3.checkId(null, this.id, this.displayName), e3.checkName(null, this.displayName, re.flow.flow), e3.checkText(null, this.description, re.search.flowDescription), d.default.each(this.tasks, e3.addToQueue.bind(e3)), d.default.each(this.menus, e3.addToQueue.bind(e3)), d.default.each(this._autoManagedSettings, (t3) => { + e3.checkId(null, this.id, this.displayName), e3.checkName(null, this.displayName, be.flow.flow), e3.checkText(null, this.description, be.search.flowDescription), c.default.each(this.tasks, e3.addToQueue.bind(e3)), c.default.each(this.menus, e3.addToQueue.bind(e3)), c.default.each(this._autoManagedSettings, (t3) => { t3.isDisplayableNode && e3.addToQueue(t3); }), e3.addToQueue(this.data); } setReceivedInitialValidationData() { - this._receivedInitialValidationData = true, d.default.each(this._commonModules, (e3) => { + this._receivedInitialValidationData = true, c.default.each(this._commonModules, (e3) => { var t3; null === (t3 = e3.viewModel) || void 0 === t3 || t3.setReceivedInitialValidationData(); }); @@ -96933,13 +104014,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return "file"; } get startUpObject() { - if (this.initialSequence) return this._startUpObject && !this._startUpObject.isDestroyed && this.initialSequence === this._startUpObject.id || (this._startUpObject = w.flowElementRegistrationService.getItemById(this, this.initialSequence)), this._startUpObject || this.isDestroyedOrDestroying || !this.loaded || this.topic.traceOnce("noStartUpObject", (e3) => e3.errorWithErrorObjectInfo("Failed to get startUpObject", this, true)), this._startUpObject; + if (this.initialSequence) return this._startUpObject && !this._startUpObject.isDestroyed && this.initialSequence === this._startUpObject.id || (this._startUpObject = x.flowElementRegistrationService.getItemById(this, this.initialSequence)), this._startUpObject || this.isDestroyedOrDestroying || !this.loaded || this.topic.traceOnce("noStartUpObject", (e3) => e3.errorWithErrorObjectInfo("Failed to get startUpObject", this, true)), this._startUpObject; } set startUpObject(e3) { - this._startUpObject && k.validateNode(this._startUpObject, true), e3 && e3.isTopLevelNode && (this.initialSequence = e3.id, this._startUpObject = this.initialSequence ? this.getTopLevelChild(this.initialSequence) : void 0, F.fireEvent(this, v.startUpObjectChanged)), this._startUpObject ? k.validateNode(this._startUpObject, true) : this.topic.errorWithErrorObjectInfo(`Failed to set startUpObject with className: "${null == e3 ? void 0 : e3.className}"`, e3, true); + this._startUpObject && W.validateNode(this._startUpObject, true), e3 && e3.isTopLevelNode && (this.initialSequence = e3.id, this._startUpObject = this.initialSequence ? this.getTopLevelChild(this.initialSequence) : void 0, B.fireEvent(this, D.startUpObjectChanged)), this._startUpObject ? W.validateNode(this._startUpObject, true) : this.topic.errorWithErrorObjectInfo(`Failed to set startUpObject with className: "${null == e3 ? void 0 : e3.className}"`, e3, true); } calcFlowSizeAsync() { - this.isEmbeddedFlow || this.isDestroyedOrDestroying || this.loaded && !this.isReadOnly && (this._callFlowSizeTimerId && clearTimeout(this._callFlowSizeTimerId), this._callFlowSizeTimerId = setTimeout(() => v.emitter.emit(v.checkSize), 2.5 * h.default.msPerSecond)); + this.isEmbeddedFlow || this.isDestroyedOrDestroying || this.loaded && !this.isReadOnly && (this._callFlowSizeTimerId && clearTimeout(this._callFlowSizeTimerId), this._callFlowSizeTimerId = setTimeout(() => D.emitter.emit(D.checkSize), 2.5 * S.default.msPerSecond)); } traverse(e3) { e3 && !e3.isCanceled && [this.tasks, this.menus].forEach((t3) => { @@ -96949,13 +104030,13 @@ ${e3.stack}`, n3 = [this].concat(i3); }); } get supportsFlowExecutionData() { - return C.default.flowTypeSupportsExecutionData(this.type); + return P.default.flowTypeSupportsExecutionData(this.type); } get type() { return this.info.type; } getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime(e3) { - const t3 = this.destinationFlowTypes.filter((e4) => R.default.doesFlowTypeLanguagesSupportTtsAndAsrRuntime(e4)); + const t3 = this.destinationFlowTypes.filter((e4) => L.default.doesFlowTypeLanguagesSupportTtsAndAsrRuntime(e4)); return e3 || t3 && t3.length ? t3 : [this.info.type]; } getAllDestinationFlowTypesSupportAudioDataPlaybackForLang(e3) { @@ -96968,7 +104049,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime(true).length > 0; } getUnsupportedFlowTypes(e3) { - return d.default.isArray(e3) ? d.default.without(this.destinationFlowTypes, ...e3) : []; + return c.default.isArray(e3) ? c.default.without(this.destinationFlowTypes, ...e3) : []; } get destinationFlowTypes() { return [this.info.type]; @@ -96980,26 +104061,26 @@ ${e3.stack}`, n3 = [this].concat(i3); return !!this.destinationFlowTypeMap[e3]; } updateInitialValueDependencies() { - d.default.each(this.variableGroup.flowVariables, (e3) => { + c.default.each(this.variableGroup.flowVariables, (e3) => { e3.updateDependencies(); - }), d.default.each(this.variableGroup.taskVariables, (e3) => { + }), c.default.each(this.variableGroup.taskVariables, (e3) => { e3.updateDependencies(); }), this.variableGroup.getSystemVariablesWithInitialValues().forEach((e3) => e3.updateDependencies()); } updateDependencies() { - d.default.each(this.tasks, (e3) => { + c.default.each(this.tasks, (e3) => { e3.updateDependencies(); - }), d.default.each(this.menus, (e3) => { + }), c.default.each(this.menus, (e3) => { e3.updateDependencies(); - }), d.default.each(this._autoManagedSettings, (e3) => e3.updateDependencies()), this._cleanUpCommonModulesWithInvalidActionReference(), d.default.each(this._commonModules, (e3) => { + }), c.default.each(this._autoManagedSettings, (e3) => e3.updateDependencies()), this._cleanUpCommonModulesWithInvalidActionReference(), c.default.each(this._commonModules, (e3) => { var t3; return null === (t3 = e3.viewModel) || void 0 === t3 ? void 0 : t3.updateDependencies(); }), this.updateInitialValueDependencies(); } validate(e3) { - A.bootstrapService.flowTypes[this.type] && A.bootstrapService.flowTypes[this.type].isAvailable || e3.addError(this, (0, u.sprintf)(re.missingRequiredProducts.flowType.unavailable, this.type), true); - const t3 = D.flowNameIsInvalidMessage(this.displayName); - t3 && e3.addError(this, t3, true), this.startUpObject || e3.addError(this, re.flow.noStartUpObject, true), !this.defaultLanguage && this.definition.languagesSupportDefaultLanguage && e3.addError(this, re.flow.noDefaultLanguage, true), this.flowSize.validateSize(e3); + b.bootstrapService.flowTypes[this.type] && b.bootstrapService.flowTypes[this.type].isAvailable || e3.addError(this, (0, u.sprintf)(be.missingRequiredProducts.flowType.unavailable, this.type), true); + const t3 = k.flowNameIsInvalidMessage(this.displayName); + t3 && e3.addError(this, t3, true), this.startUpObject || e3.addError(this, be.flow.noStartUpObject, true), !this.defaultLanguage && this.definition.languagesSupportDefaultLanguage && e3.addError(this, be.flow.noDefaultLanguage, true), this.flowSize.validateSize(e3); } get versions() { return this.info.versions; @@ -97012,8 +104093,8 @@ ${e3.stack}`, n3 = [this].concat(i3); } setNewInstanceDefaults(e3) { const t3 = []; - return d.default.each(this._autoManagedSettings, (e4) => { - if (d.default.isFunction(e4.setNewInstanceDefaults)) { + return c.default.each(this._autoManagedSettings, (e4) => { + if (c.default.isFunction(e4.setNewInstanceDefaults)) { const i3 = e4.setNewInstanceDefaults(); o.default.isPromiseAlike(i3) && t3.push(i3); } @@ -97022,7 +104103,7 @@ ${e3.stack}`, n3 = [this].concat(i3); createInitialActions() { return n2.__awaiter(this, void 0, void 0, function* () { const e3 = yield this._createInitialActions(); - return k.validateFlow(this), e3; + return W.validateFlow(this), e3; }); } addCommonModuleActionReference(e3, t3, i3, n3) { @@ -97056,7 +104137,7 @@ ${e3.stack}`, n3 = [this].concat(i3); _cleanUpCommonModulesWithInvalidActionReference() { const { valid: e3, invalid: t3 } = this._commonModules.reduce((e4, t4) => { var i3; - return ((null === (i3 = t4.actionReferences) || void 0 === i3 ? void 0 : i3.length) && t4.actionReferences.some((e5) => y.actionRegistrationService.getActionById(this, e5)) ? e4.valid : e4.invalid).push(t4), e4; + return ((null === (i3 = t4.actionReferences) || void 0 === i3 ? void 0 : i3.length) && t4.actionReferences.some((e5) => I.actionRegistrationService.getActionById(this, e5)) ? e4.valid : e4.invalid).push(t4), e4; }, { valid: [], invalid: [] }); this._commonModules = e3, (null == t3 ? void 0 : t3.length) && t3.forEach((e4) => { this.topic.traceOnce("no action reference for common module", (t4) => t4.errorWithErrorObjectInfo(`Common module ${e4.id} removed from flow, due to no valid action references.`, this, true)); @@ -97081,7 +104162,7 @@ ${e3.stack}`, n3 = [this].concat(i3); })), r3 ? null !== (n3 = r3.viewModel.getTopLevelChild(t3)) && void 0 !== n3 ? n3 : r3.viewModel.getChild(t3) : void 0; } addDefaultConfigSections(e3) { - e3 && (e3.flowMetaData = new ie(this.flowMetaData), e3.flowMetaData.minimumServerVersion || (e3.flowMetaData.minimumServerVersion = "1.0"), e3.uiMetaData = {}, e3.variables = [], e3.flowSequenceItemList = []); + e3 && (e3.flowMetaData = new Ie(this.flowMetaData), e3.flowMetaData.minimumServerVersion || (e3.flowMetaData.minimumServerVersion = "1.0"), e3.uiMetaData = {}, e3.variables = [], e3.flowSequenceItemList = []); } _addToAutoManageSettings(e3) { return this._autoManagedSettings.push(e3), e3; @@ -97093,15 +104174,15 @@ ${e3.stack}`, n3 = [this].concat(i3); return o.default.resolve(this); } _setInitialTrackingNumberFromConfiguration(e3) { - d.default.isUndefined(this.nextTrackingNumber) ? this.nextTrackingNumber = e3 : this.nextTrackingNumber !== e3 && this.nextTrackingNumber < e3 && (this.topic.error(`something amiss, the tracking number is being set again from ${this.nextTrackingNumber} to ${e3}.`), this.nextTrackingNumber = e3); + c.default.isUndefined(this.nextTrackingNumber) ? this.nextTrackingNumber = e3 : this.nextTrackingNumber !== e3 && this.nextTrackingNumber < e3 && (this.topic.error(`something amiss, the tracking number is being set again from ${this.nextTrackingNumber} to ${e3}.`), this.nextTrackingNumber = e3); } _getUniqueName(e3, t3, i3, n3) { let r3, o2; - const a2 = (e4) => e4.name.toLowerCase() === o2, s2 = (e4, t4) => n3 ? d.default.find(e4, (e5) => d.default.find(e5, t4)) : d.default.find(e4, t4); + const a2 = (e4) => e4.name.toLowerCase() === o2, s2 = (e4, t4) => n3 ? c.default.find(e4, (e5) => c.default.find(e5, t4)) : c.default.find(e4, t4); t3.includes("%1") || (t3 += "%1$s"); for (let n4 = 1; n4 < 1e3; n4++) if (r3 = (0, u.sprintf)(t3, n4.toString()), o2 = r3.toLowerCase(), !s2(e3, a2)) { - if (!d.default.isArray(i3)) break; - if (!d.default.find(i3, (e4) => { + if (!c.default.isArray(i3)) break; + if (!c.default.find(i3, (e4) => { if (e4) return o2 === e4.toLowerCase(); })) break; } @@ -97110,7 +104191,7 @@ ${e3.stack}`, n3 = [this].concat(i3); _extractSequenceItemViewModels(e3, t3, i3) { if (e3.flowSequenceItemList) for (let n3 = 0; n3 < e3.flowSequenceItemList.length; n3++) { const r3 = e3.flowSequenceItemList[n3]; - if (d.default.isFunction(i3.loadSequenceItemListForModel) ? i3.loadSequenceItemListForModel(this, r3) : r3.__type === i3.info.typeId) { + if (c.default.isFunction(i3.loadSequenceItemListForModel) ? i3.loadSequenceItemListForModel(this, r3) : r3.__type === i3.info.typeId) { const e4 = new i3(this, r3); t3[e4.id] = e4, this._uninitializedObjects.push(e4); } @@ -97118,24 +104199,24 @@ ${e3.stack}`, n3 = [this].concat(i3); } _destroy() { super._destroy(); - const e3 = O.time(`destroying '${this.toString()}'`); - P.clearPreviewerForFlow(this), delete this._validationResults, d.default.each(this._autoManagedSettings, (e4) => e4.destroy()), d.default.each(this._commonModules, (e4) => { + const e3 = w.time(`destroying '${this.toString()}'`); + V.clearPreviewerForFlow(this), delete this._validationResults, c.default.each(this._autoManagedSettings, (e4) => e4.destroy()), c.default.each(this._commonModules, (e4) => { var t3; return null === (t3 = e4.viewModel) || void 0 === t3 ? void 0 : t3.destroy(); - }), this._deleteAllTasks(), this._deleteAllMenus(), this.variableGroup && this.variableGroup.destroy(), this._callFlowSizeTimerId && (clearTimeout(this._callFlowSizeTimerId), this._callFlowSizeTimerId = void 0), e3(); + }), this.deleteAllTasks(), this.deleteAllMenus(), this.variableGroup && this.variableGroup.destroy(), this._callFlowSizeTimerId && (clearTimeout(this._callFlowSizeTimerId), this._callFlowSizeTimerId = void 0), e3(); } _postDestroy() { - super._postDestroy(), y.actionRegistrationService.flowDestroyed(this), S.audioRegistrationService.flowDestroyed(this), v.emitter.emit(v.cleanUpFlow, this), this.amObjectEventEmitter && F.removeEventEmitter(this); + super._postDestroy(), I.actionRegistrationService.flowDestroyed(this), C.audioRegistrationService.flowDestroyed(this), D.emitter.emit(D.cleanUpFlow, this), this.amObjectEventEmitter && B.removeEventEmitter(this); } _loadConfiguration(e3) { - e3 && (d.default.isUndefined(this.nextTrackingNumber) && (this.topic.error("nextTrackingNumber should have been set in a derived class"), this._setInitialTrackingNumberFromConfiguration(e3.nextTrackingNumber)), this.supportsReusableMenus && (this._deleteAllMenus(), this._extractSequenceItemViewModels(e3, this._menusMap, Q.MenuViewModel), this._menusArray = void 0), this.supportsReusableTasks && (this._deleteAllTasks(), this._extractSequenceItemViewModels(e3, this._tasksMap, G.default), this._tasksArray = void 0), this._flowSequenceItemList = e3.flowSequenceItemList, this.initialSequence = e3.initialSequence, this.data.loadVariables(e3.variables), this.supportsLanguages && (e3.defaultLanguage ? this.defaultLanguage = e3.defaultLanguage : this.definition.languagesSupportDefaultLanguage ? this.defaultLanguage = x.getDefaultFlowLanguageCode() : this.defaultLanguage = void 0), this.flowMetaData = e3.flowMetaData, d.default.each(this._autoManagedSettings, (t3) => { + e3 && (c.default.isUndefined(this.nextTrackingNumber) && (this.topic.error("nextTrackingNumber should have been set in a derived class"), this._setInitialTrackingNumberFromConfiguration(e3.nextTrackingNumber)), this.supportsReusableMenus && (this.deleteAllMenus(), this._extractSequenceItemViewModels(e3, this._menusMap, _e.MenuViewModel), this._menusArray = void 0), this.supportsReusableTasks && (this.deleteAllTasks(), this._extractSequenceItemViewModels(e3, this._tasksMap, ne.default), this._tasksArray = void 0), this._flowSequenceItemList = e3.flowSequenceItemList, this.initialSequence = e3.initialSequence, this.data.loadVariables(e3.variables), this.supportsLanguages && (e3.defaultLanguage ? this.defaultLanguage = e3.defaultLanguage : this.definition.languagesSupportDefaultLanguage ? this.defaultLanguage = j.getDefaultFlowLanguageCode() : this.defaultLanguage = void 0), this.flowMetaData = e3.flowMetaData, c.default.each(this._autoManagedSettings, (t3) => { "flowDefinitions" !== t3.id && t3.loadConfiguration(e3); }), this._commonModules.length = 0, e3.commonModules && this._commonModules.push(...e3.commonModules.map((e4) => { try { - const t3 = new ee.default({ displayName: e4.name, id: e4.id, type: r2.flowTypes.flowTypeCommonModule }); + const t3 = new ve.default({ displayName: e4.name, id: e4.id, type: r2.flowTypes.flowTypeCommonModule }); let i3; if (e4.model) { - i3 = new X.default(t3, this); + i3 = new he.default(t3, this); const n3 = i3.createFlowConfiguration(e4.model); i3.loadConfiguration(n3); } @@ -97143,20 +104224,20 @@ ${e3.stack}`, n3 = [this].concat(i3); } catch (t3) { this.topic.exception(t3, `failed to load config for common module ${e4.id}`); } - }).filter((e4) => e4)), d.default.invoke(this._uninitializedObjects, "initialize"), this._uninitializedObjects.length = 0); + }).filter((e4) => e4)), c.default.invoke(this._uninitializedObjects, "initialize"), this._uninitializedObjects.length = 0); } _initializeDesignTime() { - super._initializeDesignTime(), d.default.each(this.tasks, (e3) => { + super._initializeDesignTime(), c.default.each(this.tasks, (e3) => { e3.initializeDesignTime(); - }), this.menus && d.default.each(this.menus, (e3) => { + }), this.menus && c.default.each(this.menus, (e3) => { e3.initializeDesignTime(); - }), d.default.each(this._autoManagedSettings, (e3) => e3.initializeDesignTime()), d.default.each(this._commonModules, (e3) => { + }), c.default.each(this._autoManagedSettings, (e3) => e3.initializeDesignTime()), c.default.each(this._commonModules, (e3) => { var t3; return null === (t3 = e3.viewModel) || void 0 === t3 ? void 0 : t3.initializeDesignTime(); }), this.variableGroup.initializeDesignTime(), this.flowMetaData.ttsDataVersion || (this.flowMetaData.ttsDataVersion = "1.0"); } _postInitializeDesignTime() { - super._postInitializeDesignTime(), this.loaded = true, this.isEmbeddedFlow || v.emitter.emit(v.flowLoaded, this), this._finishLoadTimeCallback && (this._finishLoadTimeCallback(), delete this._finishLoadTimeCallback); + super._postInitializeDesignTime(), this.loaded = true, this.isEmbeddedFlow || D.emitter.emit(D.flowLoaded, this), this._finishLoadTimeCallback && (this._finishLoadTimeCallback(), delete this._finishLoadTimeCallback); } _getUsesSpeechRec() { return false; @@ -97171,7 +104252,7 @@ ${e3.stack}`, n3 = [this].concat(i3); var t3, i3, r3; return null === (t3 = this.definitions) || void 0 === t3 || t3.loadConfiguration(e3), yield Promise.all(null === (r3 = null === (i3 = e3.variables) || void 0 === i3 ? void 0 : i3.map) || void 0 === r3 ? void 0 : r3.call(i3, (e4) => n2.__awaiter(this, void 0, void 0, function* () { var t4; - return (0, g.isCustomJsonExpressionDataType)(null == e4 ? void 0 : e4.typeIdentifier) && !(null === (t4 = this.definitions) || void 0 === t4 ? void 0 : t4.getCustomDataTypeDefinition(null == e4 ? void 0 : e4.typeIdentifier)) ? yield T.default.resolveTypeFromId(this, e4.typeIdentifier) : Promise.resolve(); + return (0, N.isCustomJsonExpressionDataType)(null == e4 ? void 0 : e4.typeIdentifier) && !(null === (t4 = this.definitions) || void 0 === t4 ? void 0 : t4.getCustomDataTypeDefinition(null == e4 ? void 0 : e4.typeIdentifier)) ? yield O.default.resolveTypeFromId(this, e4.typeIdentifier) : Promise.resolve(); }))); }); } @@ -97191,7 +104272,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } getSaveAsConfig(e3) { return n2.__awaiter(this, void 0, void 0, function* () { - return { newConfig: E.getStringifiedConfiguration(this) }; + return { newConfig: F.getStringifiedConfiguration(this) }; }); } toString() { @@ -97214,7 +104295,7 @@ ${e3.stack}`, n3 = [this].concat(i3); getFlowFilterPreviewOptionsExpressionDisplayOptions(e3) { if (!this.areFlowFilterPreviewOptionsAvailable) return; let t3; - return e3.isBuilderMode && (t3 = { richSummary: true }, this.areFlowFilterPreviewOptionsActive && (this.flowViewFilterOptions.outputMode && this.flowViewFilterOptions.language ? t3.criteria = _.default.createForLanguageTagAndOutputMode(this.flowViewFilterOptions.language, this.flowViewFilterOptions.outputMode) : this.flowViewFilterOptions.language ? t3.criteria = _.default.createForLanguageTag(this.flowViewFilterOptions.language) : t3.criteria = _.default.createForOutputMode(this.flowViewFilterOptions.outputMode))), t3; + return e3.isBuilderMode && (t3 = { richSummary: true }, this.areFlowFilterPreviewOptionsActive && (this.flowViewFilterOptions.outputMode && this.flowViewFilterOptions.language ? t3.criteria = y.default.createForLanguageTagAndOutputMode(this.flowViewFilterOptions.language, this.flowViewFilterOptions.outputMode) : this.flowViewFilterOptions.language ? t3.criteria = y.default.createForLanguageTag(this.flowViewFilterOptions.language) : t3.criteria = y.default.createForOutputMode(this.flowViewFilterOptions.outputMode))), t3; } getComplexTypeLiteralValues(e3) { } @@ -97229,22 +104310,132 @@ ${e3.stack}`, n3 = [this].concat(i3); } } if (!t3) { - if ((0, I.error)(`did not find variable for name:${e3.name} - id:${e3.id}`), !e3.id.startsWith("__")) return; + if ((0, R.error)(`did not find variable for name:${e3.name} - id:${e3.id}`), !e3.id.startsWith("__")) return; if (t3 = this.variableGroup.getVariable(e3.id.toUpperCase()), !t3) return; - (0, I.error)("found it using uppercase id"); + (0, R.error)("found it using uppercase id"); } return t3; } + configureFromModel(e3, t3, i3) { + const r3 = Object.create(null, { configureFromModel: { get: () => super.configureFromModel } }); + return n2.__awaiter(this, void 0, void 0, function* () { + r3.configureFromModel.call(this, e3, t3, i3), (0, Z.canConfigureFlowFromModel)(this, i3) && (yield (0, te.withModelContextAsync)(i3, `flow[${e3.name || "unknown"}]`, () => n2.__awaiter(this, void 0, void 0, function* () { + const n3 = (0, X.getStringValue)(e3, "name", i3); + void 0 !== n3 && (this.displayName = n3); + const r4 = (0, X.getStringValue)(e3, "description", i3); + void 0 !== r4 && (this.description = r4); + const o2 = (0, X.getStringValue)(e3, "defaultLanguage", i3); + if (void 0 !== o2 && (this.defaultLanguage = o2), Array.isArray(e3.variables)) { + const n4 = e3.variables; + (0, ee.withModelContext)(i3, "variables", () => { + for (const e4 of n4) { + if (!(0, J.isConfigureFromModelRecord)(e4)) continue; + const n5 = e4, r5 = Object.keys(n5); + if (0 === r5.length) continue; + const o3 = r5[0], a2 = n5[o3]; + if (!(0, J.isConfigureFromModelRecord)(a2)) continue; + const s2 = a2, l2 = "string" == typeof s2.name ? s2.name : o3; + (0, ee.withModelContext)(i3, `${o3}[${l2}]`, () => { + try { + const e5 = o3.replace("Variable", ""), n6 = "boolean" == typeof s2.isCollection && s2.isCollection; + if (i3.variableManager && this.dataTypes) { + const r6 = this.dataTypes[e5]; + if (r6) { + const o4 = new r6({ name: l2, isCollection: n6 }), a3 = i3.variableManager.createVariable(o4, this); + (0, z.hasConfigureFromModel)(a3) && (i3.debug(`Creating variable '${l2}' (type: ${e5}, collection: ${n6}).`), a3.configureFromModel(s2, t3)); + } else i3.warn((0, u.sprintf)(_.configureFromModel.unknownVariableDataType, e5, l2)); + } else i3.registerDeferredOp({ type: "createFlowVariable", execute: () => { + } }); + } catch (e5) { + const t4 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, u.sprintf)(_.configureFromModel.variableCreationFailed, l2, t4)); + } + }); + } + }); + } + if (yield (0, Ae.configureTaskLikeContainersFromModel)(this, e3, t3, i3), Array.isArray(e3.menus)) { + const n4 = e3.menus; + (0, ee.withModelContext)(i3, "menus", () => { + for (const e4 of n4) { + if (!(0, J.isConfigureFromModelRecord)(e4)) continue; + const n5 = e4, r5 = Object.keys(n5); + if (0 === r5.length) continue; + const o3 = n5[r5[0]]; + if (!(0, J.isConfigureFromModelRecord)(o3)) continue; + const a2 = o3, s2 = "string" == typeof a2.name ? a2.name : void 0, l2 = "string" == typeof a2.refId ? a2.refId : `_menu_${s2}`; + (0, ee.withModelContext)(i3, `menu[${l2}]`, () => { + try { + const e5 = this.createMenu(s2); + e5 && ("string" == typeof a2.refId && i3.refIdMap.set(a2.refId, e5), i3.debug(`Creating menu '${s2 || "unnamed"}' (refId: ${l2}).`), e5.configureFromModel(a2, t3, i3)); + } catch (e5) { + const t4 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, u.sprintf)(_.configureFromModel.menuCreationFailed, s2 || l2, t4)); + } + }); + } + }); + } + if ("string" == typeof e3.startUpRef) { + const t4 = e3.startUpRef, n4 = t4.lastIndexOf("["), r5 = t4.lastIndexOf("]"), o3 = n4 >= 0 && r5 > n4 ? t4.substring(n4 + 1, r5) : t4; + i3.debug(`Registering deferred startUpRef resolution for '${o3}'.`), i3.registerDeferredOp({ type: "resolveStartUpRef", execute: () => { + const e4 = i3.refIdMap.get(o3); + e4 && "string" == typeof e4.id ? this.initialSequence = e4.id : i3.warn((0, u.sprintf)(_.configureFromModel.startUpRefCouldNotBeResolved, o3)); + } }); + } + }))); + }); + } + canApplyChangeSet(e3, t3, i3) { + return (0, Se.canApplyChangeSet)(this, e3, t3, i3); + } + applyChangeSet(e3, t3, i3, r3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (t3 !== $.ModelFormat.ChangeSet) return void i3.addErrorMessage((0, u.sprintf)(_.changeSet.apply.unexpectedFormat, $.ModelFormat.ChangeSet, String(t3))); + if (!this.canApplyChangeSet(e3, i3, r3)) return; + const o2 = e3.changes, a2 = []; + i3.startDateTime = /* @__PURE__ */ new Date(), i3.setProcessingState(ie.processingState.processing), (0, ee.withModelContext)(i3, `flow[${this.displayName || "unknown"}]`, () => { + i3.reportProgress({ phase: K.progressPhase.changeSet, status: Q.progressStatus.started, totalItems: o2.length, currentItem: "applyChangeSet" }); + }); + const s2 = i3.settings.animatedProcessing && !!i3.onStepComplete, l2 = s2 ? (0, h.clampStepDelay)(i3.settings.stepDelayMs) : 0; + let c2 = 0; + for (let e4 = 0; e4 < o2.length && i3.continueProcessing && !i3.isCancelled; e4++) { + const t4 = o2[e4], r4 = Object.keys(t4)[0]; + if (i3.reportProgress({ phase: K.progressPhase.changeSet, status: Q.progressStatus.inProgress, itemsProcessed: e4, totalItems: o2.length, currentItem: r4 }), (0, ee.withModelContext)(i3, `flow[${this.displayName || "unknown"}]`, () => { + "createRef" in t4 ? (0, ge.applyChangeSetCreateRef)(this, t4.createRef, i3, e4) : (0, g.isDeleteChange)(t4) ? (0, fe.applyChangeSetDelete)(this, t4.delete, i3, e4) : (0, f.isSetStartupObjectChange)(t4) ? (0, Te.applyChangeSetSetStartupObject)(this, t4.setStartupObject, i3) : (0, m.isAddChange)(t4) || (0, T.isUpdateChange)(t4) || i3.addWarningMessage(_.changeSet.apply.unrecognizedChangeShape); + }), (0, m.isAddChange)(t4) && (yield (0, te.withModelContextAsync)(i3, `flow[${this.displayName || "unknown"}]`, () => n2.__awaiter(this, void 0, void 0, function* () { + yield (0, me.applyChangeSetAdd)(this, t4.add, i3, e4); + }))), (0, T.isUpdateChange)(t4) && (yield (0, te.withModelContextAsync)(i3, `flow[${this.displayName || "unknown"}]`, () => n2.__awaiter(this, void 0, void 0, function* () { + yield (0, ye.applyChangeSetUpdate)(this, t4.update, i3, e4); + }))), s2) { + const t5 = i3.onStepComplete({ type: "objectConfigured", objectType: "action", changeIndex: e4, objectName: r4 }), n3 = new Promise((e5) => setTimeout(e5, l2)); + yield Promise.race([t5, n3]), i3.isPaused && (yield i3.waitForResume()); + } + c2 = e4 + 1; + } + if (i3.continueProcessing && !i3.isCancelled) for (const e4 of [...i3.deferredOps]) try { + const t4 = e4.execute(); + t4 && "function" == typeof t4.then && a2.push(t4.catch((t5) => { + const n3 = t5 instanceof Error ? t5.message : String(t5); + i3.warn((0, u.sprintf)(_.configureFromModel.deferredOpRejected, e4.type, n3)); + })); + } catch (t4) { + const n3 = t4 instanceof Error ? t4.message : String(t4); + i3.warn((0, u.sprintf)(_.configureFromModel.deferredOpFailed, e4.type, n3)); + } + yield Promise.allSettled(a2), i3.endDateTime = /* @__PURE__ */ new Date(), i3.setProcessingState(i3.isCancelled ? ie.processingState.cancelled : ie.processingState.complete), i3.reportProgress({ phase: K.progressPhase.changeSet, status: Q.progressStatus.completed, itemsProcessed: c2, totalItems: o2.length }); + }); + } } - t2.default = ue; + t2.default = Pe; }, 81993: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.JsonType = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = n2.__importStar(i2(66314)), s = n2.__importStar(i2(10798)), l = i2(89917), u = i2(79519), d = n2.__importDefault(i2(73198)), c = i2(94765), p = i2(21305), _ = i2(80428), h = n2.__importDefault(i2(4648)), m = n2.__importDefault(i2(98114)), g = i2(10798), f = i2(77105), T = n2.__importDefault(i2(41510)), y = n2.__importStar(i2(59393)), S = i2(47957), A = { id: T.default.expression.genericJsonPropertyDefModelPropId, name: "*", description: "", type: _.expressionTypeNames.json, isCollection: false, isComputed: false, version: "1.0", readOnly: false }; - let N; - class O extends c.ExpressionType { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(66314)), a = n2.__importStar(i2(10798)), s = n2.__importStar(i2(59393)), l = i2(53476), u = i2(69453), c = i2(79519), d = i2(89917), p = i2(79519), _ = n2.__importDefault(i2(73198)), h = i2(94765), m = i2(21305), g = i2(80428), f = n2.__importDefault(i2(4648)), T = n2.__importDefault(i2(98114)), y = i2(10798), S = i2(77105), A = i2(17604), N = n2.__importDefault(i2(41510)), v = i2(92908), O = i2(47957), I = { id: N.default.expression.genericJsonPropertyDefModelPropId, name: "*", description: "", type: g.expressionTypeNames.json, isCollection: false, isComputed: false, version: "1.0", readOnly: false }; + let C; + class b extends h.ExpressionType { constructor(e3, t3, i3, n3) { - super(e3, t3, i3, n3), this.typeIdentifier = _.expressionTypeNames.json, this.additionalProperties = true, void 0 !== n3 && (this.additionalProperties = n3), t3.support.expressionDataType.startsWith(d.default.exprDataTypePrefixJsonArch) && (this.typeIdentifier = t3.support.expressionDataType), this._customJsonIdentifierInfo = l.CustomJsonIdentifierInfo.create(this.dataType), this.isCustomTypeArchitectBuiltIn && (this.schemaName = this.customTypeName); + super(e3, t3, i3, n3), this.typeIdentifier = g.expressionTypeNames.json, this.additionalProperties = true, void 0 !== n3 && (this.additionalProperties = n3), t3.support.expressionDataType.startsWith(_.default.exprDataTypePrefixJsonArch) && (this.typeIdentifier = t3.support.expressionDataType), this._customJsonIdentifierInfo = d.CustomJsonIdentifierInfo.create(this.dataType), this.isCustomTypeArchitectBuiltIn && (this.schemaName = this.customTypeName); } get yamlName() { return this.isCustomTypeArchitectBuiltIn && this.isCustomType && this.isCollection ? `${this.customTypeNameWithoutContext}Collection` : this.customTypeNameWithoutContext; @@ -97263,27 +104454,18 @@ ${e3.stack}`, n3 = [this].concat(i3); return -1 !== i3 ? t3.substring(i3 + 2).split("_").map((e4) => e4.charAt(0).toUpperCase() + e4.slice(1)).join("") : void 0; } get customTypeNameWithoutContext() { - return this.customTypeNamespace === u.CustomJsonNamespace.decisionTable ? this.decisionTableName : this.customTypeName; - } - get decisionTableName() { var e3; - if (this.customTypeNamespace === u.CustomJsonNamespace.decisionTable) { - if (this.schemaName) { - const t3 = this.customTypeName.split("-"); - return t3.pop(), null === (e3 = t3.join("-")) || void 0 === e3 ? void 0 : e3.trim(); - } - return this._customJsonIdentifierInfo.subIdentifier; - } + return (null === (e3 = this._customJsonIdentifierInfo) || void 0 === e3 ? void 0 : e3.namespaceSupportsContext) ? this._customJsonIdentifierInfo.getEntityNameWithoutContext(this.schemaName) : this.customTypeName; } get displayString() { if (!this.isCustomType) return super.displayString; - const e3 = this.isCollection ? this.singletonType.customTypeName : this.customTypeName, t3 = this.customTypeNamespaceLabel, i3 = (null == t3 ? void 0 : t3.length) && this.customTypeNamespace !== u.CustomJsonNamespace.architect; + const e3 = this.isCollection ? this.singletonType.customTypeName : this.customTypeName, t3 = this.customTypeNamespaceLabel, i3 = (null == t3 ? void 0 : t3.length) && this.customTypeNamespace !== p.CustomJsonNamespace.architect; let n3 = ""; if (null == e3 ? void 0 : e3.length) if (i3) { - if (this.doesNamespaceSupportInputOutput) return this.isCustomTypeContextOutput ? `${S.json.input.outputsLabel} - ${e3.replace(/\s-\sOutput$/, "")} (${this.customTypeNamespaceLabel})` : `${S.json.input.inputsLabel} - ${e3.replace(/\s-\sInput$/, "")} (${this.customTypeNamespaceLabel})`; + if (this.doesNamespaceSupportInputOutput) return this.isCustomTypeContextOutput ? `${O.json.input.outputsLabel} - ${e3.replace(/\s-\sOutput$/, "")} (${this.customTypeNamespaceLabel})` : `${O.json.input.inputsLabel} - ${e3.replace(/\s-\sInput$/, "")} (${this.customTypeNamespaceLabel})`; n3 = `${e3} (${this.customTypeNamespaceLabel})`; } else n3 = `${e3}`; - return n3 || (n3 = S.json.general.customJSONLabel), this.isCollection ? i3 ? (0, o.sprintf)(S.expression.collection, e3) + ` (${this.customTypeNamespaceLabel})` : (0, o.sprintf)(S.expression.collection, n3) : n3; + return n3 || (n3 = O.json.general.customJSONLabel), this.isCollection ? i3 ? (0, A.sprintf)(O.expression.collection, e3) + ` (${this.customTypeNamespaceLabel})` : (0, A.sprintf)(O.expression.collection, n3) : n3; } getDisplayString(e3) { return !this.isCustomType || e3 ? super.getDisplayString(e3) : this.customTypeName; @@ -97292,21 +104474,69 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } createExpressionOptionClass() { - const e3 = new p.ExpressionTypeJsonOptions(this.isCollection); - return this.isCustomType && (e3.setIsCustomJsonType(true), this.typeIdentifier && this.typeIdentifier !== _.expressionTypeNames.json && e3.setTypeIdentifier(this.typeIdentifier)), e3; + const e3 = new m.ExpressionTypeJsonOptions(this.isCollection); + return this.isCustomType && (e3.setIsCustomJsonType(true), this.typeIdentifier && this.typeIdentifier !== g.expressionTypeNames.json && e3.setTypeIdentifier(this.typeIdentifier), this.nullPropertyValueNoOpWarningText && e3.setNullPropertyValueNoOpWarningText(this.nullPropertyValueNoOpWarningText), this.atLeastOnePropertyMustBeSetErrorText && e3.setAtLeastOnePropertyMustBeSetErrorText(this.atLeastOnePropertyMustBeSetErrorText)), e3; + } + get atLeastOnePropertyMustBeSetErrorText() { + return this._atLeastOnePropertyMustBeSetErrorText; + } + set atLeastOnePropertyMustBeSetErrorText(e3) { + this._atLeastOnePropertyMustBeSetErrorText = e3; + } + resolveAtLeastOnePropertyMustBeSetErrorText(e3) { + if (!r2.default.isEmpty(this.properties)) return (0, l.areOptionsJsonType)(e3) && e3.atLeastOnePropertyMustBeSetErrorText ? e3.atLeastOnePropertyMustBeSetErrorText : this.atLeastOnePropertyMustBeSetErrorText || void 0; + } + static hasAnyCustomJsonPropertyIncludedAtRuntime(e3) { + const t3 = null == e3 ? void 0 : e3.json; + return !(!t3 || "object" != typeof t3 || Array.isArray(t3)) && Object.keys(t3).some((i3) => !b.isCustomJsonPropertyIgnoredAtRuntime(t3[i3], null == e3 ? void 0 : e3.exprs)); + } + static isCustomJsonPropertyIgnoredAtRuntime(e3, t3) { + var i3, n3; + if (null == e3) return true; + if ("object" == typeof e3 && e3.__isArchExpr) { + const r3 = e3, o2 = r3.expressionId ? null == t3 ? void 0 : t3[r3.expressionId] : void 0, a2 = null === (n3 = null === (i3 = null == o2 ? void 0 : o2.expression) || void 0 === i3 ? void 0 : i3.text) || void 0 === n3 ? void 0 : n3.trim(); + return !a2 || a2 === _.default.notSet; + } + return false; + } + static hasAnyStandardModeSubExpressionIncludedAtRuntime(e3) { + return !!e3.length && e3.some((e4) => !b.isStandardModeSubExpressionIgnoredAtRuntime(e4)); + } + static isStandardModeSubExpressionIgnoredAtRuntime(e3) { + var t3; + const i3 = e3.expression; + if (!i3.isExpressionMode && !i3.isLiteralMode) return true; + if (i3.isExpressionMode) { + if (i3.getUiMetaData(v.uiMetaDataKey.cameFromNull)) return true; + const e4 = null === (t3 = i3.text) || void 0 === t3 ? void 0 : t3.trim(); + return !e4 || e4 === _.default.notSet; + } + return false; + } + static isWholeValueArchitectExpressionText(e3) { + const t3 = null == e3 ? void 0 : e3.trim(); + return !!t3 && t3.startsWith(_.default.leftCurlies) && t3.endsWith(_.default.rightCurlies); + } + isLiteralWholeValueArchitectExpression(e3) { + var t3; + return !!(null == e3 ? void 0 : e3.isLiteralMode) && !(!this.isCustomType && !(null === (t3 = e3.options) || void 0 === t3 ? void 0 : t3.isCustomJsonType)) && b.isWholeValueArchitectExpressionText(e3.text); } getPropertyDefinition(e3, t3) { if (!e3) return; let i3 = super.getPropertyDefinition(e3, t3); - return !i3 && this.additionalProperties && (N || (N = new f.PropertyDefinition(null, A, A.description)), i3 = N), i3; + return !i3 && this.additionalProperties && (C || (C = new S.PropertyDefinition(null, I, I.description)), i3 = C), i3; } get supportsLiteralEditor() { return true; } validateLiteral(e3, t3) { if (!this.isCustomType && !t3.options.isCustomJsonType) { - const i3 = y.validateLiteralJson(t3.text, t3), n3 = y.getDisplayString(i3); - if (i3.errorText) return t3.setParseError(n3), e3.addError(t3, (0, o.sprintf)(T.default.expression.returnValueWithString, S.json.genericError.invalidJson, n3), false, true), false; + const i3 = s.validateLiteralJson(t3.text, t3), n3 = s.getDisplayString(i3); + if (i3.errorText) return t3.setParseError(n3), e3.addError(t3, (0, A.sprintf)(N.default.expression.returnValueWithString, O.json.genericError.invalidJson, n3), false, true), false; + if ((0, l.areOptionsJsonType)(t3.options) && t3.options.requireObjectLiteral) { + const i4 = s.validateLiteralJsonIsObject(t3.text); + if (i4) return t3.setParseError(i4), e3.addError(t3, (0, A.sprintf)(N.default.expression.returnValueWithString, O.json.genericError.invalidJson, i4), false, true), false; + } } return true; } @@ -97328,11 +104558,20 @@ ${e3.stack}`, n3 = [this].concat(i3); get isCustomTypeContextOutput() { return this._customJsonIdentifierInfo.isContextOutput; } + get isCustomTypeContextRecord() { + return this._customJsonIdentifierInfo.isContextRecord; + } + get isCustomTypeContextSchemaData() { + return this._customJsonIdentifierInfo.isContextSchemaData; + } + get isCustomTypeContextSchemaDataPatch() { + return this._customJsonIdentifierInfo.isContextSchemaDataPatch; + } get customTypeContext() { return this._customJsonIdentifierInfo.context; } get doesNamespaceSupportInputOutput() { - return a.namespaceSupportsInputOutput(this.customTypeNamespace); + return o.namespaceSupportsInputOutput(this.customTypeNamespace); } get customTypeNamespaceLabel() { if (this.isCustomType) return this._customJsonIdentifierInfo.namespaceLabel || this._customJsonIdentifierInfo.namespace; @@ -97349,6 +104588,16 @@ ${e3.stack}`, n3 = [this].concat(i3); get schemaName() { return this._schemaName; } + get nullPropertyValueNoOpWarningText() { + return this._nullPropertyValueNoOpWarningText; + } + set nullPropertyValueNoOpWarningText(e3) { + this._nullPropertyValueNoOpWarningText = e3; + } + get isConversationAttributeSchemaDataType() { + var e3, t3, i3; + return this.isCustomType && (null === (e3 = this._customJsonIdentifierInfo) || void 0 === e3 ? void 0 : e3.isNamespaceConversationAttribute) && ((null === (t3 = this._customJsonIdentifierInfo) || void 0 === t3 ? void 0 : t3.isContextSchemaData) || (null === (i3 = this._customJsonIdentifierInfo) || void 0 === i3 ? void 0 : i3.isContextSchemaDataPatch)); + } getYamlObjectForLiteralSingleton(e3) { let t3; super.getYamlObjectForLiteralSingleton(e3); @@ -97358,19 +104607,35 @@ ${e3.stack}`, n3 = [this].concat(i3); } return r2.default.isObject(t3) || r2.default.isUndefined(t3) ? e3.text : t3; } + applyLiteralFromModel(e3, t3, i3, n3) { + if (void 0 === t3) return; + let r3; + if (null === t3) r3 = "null"; + else if ("object" == typeof t3) try { + r3 = JSON.stringify(t3); + } catch (e4) { + return void (null == n3 || n3.warn(u.configureFromModel.jsonLiteralStringifyFailed)); + } + else if ("string" == typeof t3) r3 = t3; + else { + if ("number" != typeof t3 && "boolean" != typeof t3) return void (null == n3 || n3.warn((0, A.sprintf)(u.configureFromModel.jsonLiteralExpectedValue, typeof t3))); + r3 = String(t3); + } + this.enforceValueLimit(r3.length <= _.default.maxStringLength, (0, A.sprintf)(u.configureFromModel.jsonLiteralLengthExceeded, r3.length, _.default.maxStringLength), n3) && e3.setAsLiteral(r3); + } isUserCreatableForFlow(e3) { return this.isCustomType ? this.isCustomTypeArchitectBuiltIn ? super.isUserCreatableForFlow(e3) : !!e3.destinationFlowTypes.every((e4) => { var t3; - return !!(null === (t3 = m.default.getDefinitionForFlowType(e4)) || void 0 === t3 ? void 0 : t3.supportsCustomJsonTypeUserCreatedVariables); + return !!(null === (t3 = T.default.getDefinitionForFlowType(e4)) || void 0 === t3 ? void 0 : t3.supportsCustomJsonTypeUserCreatedVariables); }) && (this.model.support.isCustomizablePerFlow && this.doesNamespaceSupportInputOutput ? (this.parentFlow.definitions.getCustomDataTypeDefinition(this.dataType), this.isAvailableForFlow(e3)) : this.isAvailableForFlow(e3)) : super.isUserCreatableForFlow(e3); } isUserCreatableForFlowType(e3) { var t3; - return this.isCustomType ? this.isCustomTypeArchitectBuiltIn ? super.isUserCreatableForFlowType(e3) : !!(null === (t3 = m.default.getDefinitionForFlowType(e3)) || void 0 === t3 ? void 0 : t3.supportsCustomJsonTypeUserCreatedVariables) : super.isUserCreatableForFlowType(e3); + return this.isCustomType ? this.isCustomTypeArchitectBuiltIn ? super.isUserCreatableForFlowType(e3) : !!(null === (t3 = T.default.getDefinitionForFlowType(e3)) || void 0 === t3 ? void 0 : t3.supportsCustomJsonTypeUserCreatedVariables) : super.isUserCreatableForFlowType(e3); } convertLitToExpression(e3, t3) { if (r2.default.isUndefined(t3)) return ""; - const i3 = y.validateLiteralJson(t3); + const i3 = s.validateLiteralJson(t3); if (i3 && i3.errorText) { if ("" === t3) return ""; const e4 = JSON.stringify(t3); @@ -97391,29 +104656,29 @@ ${e3.stack}`, n3 = [this].concat(i3); get _isCustomTypeFeatureAvailable() { if (!this.isCustomType) return false; if (void 0 === this._featureAvailabilityCheckResult) switch (this.customTypeNamespace) { - case u.CustomJsonNamespace.architect: - this._featureAvailabilityCheckResult = !(this.featureConfigName && !(0, g.isFeatureAvailable)(this.featureConfigName)), this.featureConfigName2 && this._featureAvailabilityCheckResult && (this._featureAvailabilityCheckResult = !(this.featureConfigName2 && !(0, g.isFeatureAvailable)(this.featureConfigName2))); + case p.CustomJsonNamespace.architect: + this._featureAvailabilityCheckResult = !(this.featureConfigName && !(0, y.isFeatureAvailable)(this.featureConfigName)), this.featureConfigName2 && this._featureAvailabilityCheckResult && (this._featureAvailabilityCheckResult = !(this.featureConfigName2 && !(0, y.isFeatureAvailable)(this.featureConfigName2))); break; - case u.CustomJsonNamespace.architectFlow: - this._featureAvailabilityCheckResult = s.isFeatureAvailable(h.default.customJSONV2); + case p.CustomJsonNamespace.architectFlow: + this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.customJSONV2); break; - case u.CustomJsonNamespace.conversationAttribute: - this._featureAvailabilityCheckResult = s.isFeatureAvailable(h.default.customConversationAttributes); + case p.CustomJsonNamespace.conversationAttribute: + this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.customConversationAttributes); break; - case u.CustomJsonNamespace.decisionTable: - this._featureAvailabilityCheckResult = s.isFeatureAvailable(h.default.ruleBasedDecisionsFeature); + case p.CustomJsonNamespace.decisionTable: + this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.ruleBasedDecisionsFeature); break; - case u.CustomJsonNamespace.userDefined: - this._featureAvailabilityCheckResult = s.isFeatureAvailable(h.default.customJSONUserDefinedTypes); + case p.CustomJsonNamespace.userDefined: + this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.customJSONUserDefinedTypes); break; - case u.CustomJsonNamespace.worktype: - this._featureAvailabilityCheckResult = s.isFeatureAvailable(h.default.workItemFlows); + case p.CustomJsonNamespace.worktype: + this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.workItemFlows); break; - case u.CustomJsonNamespace.botConnector: - case u.CustomJsonNamespace.composerScript: - case u.CustomJsonNamespace.dataAction: - case u.CustomJsonNamespace.externalContact: - case u.CustomJsonNamespace.structuredParticipantData: + case p.CustomJsonNamespace.botConnector: + case p.CustomJsonNamespace.composerScript: + case p.CustomJsonNamespace.dataAction: + case p.CustomJsonNamespace.externalContact: + case p.CustomJsonNamespace.structuredParticipantData: default: this._featureAvailabilityCheckResult = false; } @@ -97439,13 +104704,39 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._customJsonIdentifierInfo; } addYamlExportTypeInfo(e3) { - this.isCustomType && (e3.type = {}, e3.type[this.customTypeNamespace] = { name: this.yamlName }); + if (this.isCustomType) { + e3.type = {}; + const t3 = { name: this.yamlName }; + switch (this.customTypeNamespace) { + case p.CustomJsonNamespace.decisionTable: + switch (this.customTypeContext) { + case c.CustomJsonContext.input: + t3.input = true; + break; + case c.CustomJsonContext.output: + t3.output = true; + } + break; + case p.CustomJsonNamespace.conversationAttribute: + switch (this.customTypeContext) { + case c.CustomJsonContext.record: + t3.record = true; + break; + case c.CustomJsonContext.schemaData: + t3.schemaData = true; + break; + case c.CustomJsonContext.schemaDataPatch: + t3.schemaDataPatch = true; + } + } + e3.type[this.customTypeNamespace] = t3; + } } get hasRichLiteralEditor() { return this.isCustomType; } } - t2.JsonType = O; + t2.JsonType = b; }, 82044: function(e2, t2, i2) { "use strict"; var n2 = this && this.__read || function(e3, t3) { @@ -97477,7 +104768,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 82118: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(21345)), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(66978)), u = i2(30801), d = i2(640), c = i2(71528); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(21345)), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(66978)), u = i2(30801), c = i2(640), d = i2(71528); class p extends o.default { constructor(e3) { super(e3), this._responseBodyHandling = this.coreFactory.createArchWrapper(e3.responseBodyHandling), this._responseSubstitutions = void 0, this._responseBody = this.coreFactory.createArchWrapper(e3.responseBody), this._attachments = this.coreFactory.createArchWrapper(e3.attachments); @@ -97510,20 +104801,20 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._responseBodyHandling; } setResponseByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("responseId", "setResponseByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseByIdAsync"), t3, true), a.default.findItemByIdAsync(d.nonFormResponseManager, e3, "response").then((i3) => (this.logNote("found the response named '" + i3.name + "' by the response Id '" + e3 + "'"), l.default.addPromise(this._setResponseDataAsync(i3, "setResponseByIdAsync", t3), "setResponseByIdAsync"))); + return this._checkItemIsValidLiteralString(this._infoParm("responseId", "setResponseByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseByIdAsync"), t3, true), a.default.findItemByIdAsync(c.nonFormResponseManager, e3, "response").then((i3) => (this.logNote("found the response named '" + i3.name + "' by the response Id '" + e3 + "'"), l.default.addPromise(this._setResponseDataAsync(i3, "setResponseByIdAsync", t3), "setResponseByIdAsync"))); } setResponseByNameAsync(e3, t3, i3) { let n3; return this._checkItemIsValidLiteralString(this._infoParm("responseName", "setResponseByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseByNameAsync"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("responseLibraryName", "setResponseByNameAsync"), i3, true), r2.default.isString(i3) && i3.length && (n3 = (e4) => { var t4; return (null === (t4 = e4.library) || void 0 === t4 ? void 0 : t4.name) === i3; - }), a.default.findItemByValueAsync(d.nonFormResponseManager, e3, "response", null, null, n3, { queryPhrase: e3 }).then((i4) => (this.logNote(`Resolved response named '${e3}' to '${i4.model.name} (id: ${i4.model.id})'.`), l.default.addPromise(this._setResponseDataAsync(i4, "setResponseByNameAsync", t3), "setResponseByNameAsync"))); + }), a.default.findItemByValueAsync(c.nonFormResponseManager, e3, "response", null, null, n3, { queryPhrase: e3 }).then((i4) => (this.logNote(`Resolved response named '${e3}' to '${i4.model.name} (id: ${i4.model.id})'.`), l.default.addPromise(this._setResponseDataAsync(i4, "setResponseByNameAsync", t3), "setResponseByNameAsync"))); } _setResponseDataAsync(e3, t3, i3) { return this._coreActionViewModel.setResponseDataAsync(e3).then(() => (this._clearResponseSubstitutions(), s.default.executeCallback(this, t3, i3, this))); } setResponseLibraryByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("responseLibraryName", "setResponseLibraryByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseLibraryByNameAsync"), t3, true), a.default.findItemByValueAsync(c.responseLibraryManager, e3, "response library", "name").then((e4) => (this.logNote("found the response library named '" + e4.name + "'."), this._coreActionViewModel.setResponseLibrary(e4), s.default.executeCallback(this, "setResponseLibraryByNameAsync", t3, this))); + return this._checkItemIsValidLiteralString(this._infoParm("responseLibraryName", "setResponseLibraryByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseLibraryByNameAsync"), t3, true), a.default.findItemByValueAsync(d.responseLibraryManager, e3, "response library", "name").then((e4) => (this.logNote("found the response library named '" + e4.name + "'."), this._coreActionViewModel.setResponseLibrary(e4), s.default.executeCallback(this, "setResponseLibraryByNameAsync", t3, this))); } setResponseBodyVariable(e3) { this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("responseBodyVariable", "setResponseBodyVariable"), e3, false), this.valueResponseBody.setVariable(e3); @@ -97561,14 +104852,14 @@ ${e3.stack}`, n3 = [this].concat(i3); var n2 = i2(19724), r2 = i2(76808), o = i2(65212), a = i2(17214); t2.repeatWhen = function(e3) { return o.operate(function(t3, i3) { - var o2, s, l = false, u = false, d = false, c = function() { - return d && u && (i3.complete(), true); + var o2, s, l = false, u = false, c = false, d = function() { + return c && u && (i3.complete(), true); }, p = function() { - d = false, o2 = t3.subscribe(a.createOperatorSubscriber(i3, void 0, function() { - d = true, !c() && (s || (s = new r2.Subject(), n2.innerFrom(e3(s)).subscribe(a.createOperatorSubscriber(i3, function() { + c = false, o2 = t3.subscribe(a.createOperatorSubscriber(i3, void 0, function() { + c = true, !d() && (s || (s = new r2.Subject(), n2.innerFrom(e3(s)).subscribe(a.createOperatorSubscriber(i3, function() { o2 ? p() : l = true; }, function() { - u = true, c(); + u = true, d(); }))), s).next(); })), l && (o2.unsubscribe(), o2 = null, l = false, p()); }; @@ -97699,7 +104990,7 @@ ${e3.stack}`, n3 = [this].concat(i3); var n2; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeCommunicationOptions = void 0; const r2 = i2(31635), o = r2.__importDefault(i2(59046)), a = i2(80295), s = i2(65615), l = i2(55909), u = i2(33951); - class d extends s.BaseExpressionTypeCollectionOptions { + class c extends s.BaseExpressionTypeCollectionOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -97729,23 +105020,61 @@ ${e3.stack}`, n3 = [this].concat(i3); setAsOutput() { return this._configureInputOutputState(false, false, true, false); } - setCollectionItemFromCollectionOptions(e3) { - return super.setCollectionItemFromCollectionOptions(e3), this.defaultToBuilderId = e3._defaultToBuilderId, this; + applyDefaultCollectionItemOptions(e3) { + return super.applyDefaultCollectionItemOptions(e3), this.defaultToBuilderId = e3._defaultToBuilderId, this; } } - t2.ExpressionTypeCommunicationOptions = d, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], d.prototype, "facets", null); + t2.ExpressionTypeCommunicationOptions = c, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], c.prototype, "facets", null); + }, 82345: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.applyOrgFlowTypeExpansionsFromBootstrap = function(e3) { + if (!e3) return; + const t3 = {}; + try { + n2.clearOrgFlowTypeExpansions(), Object.entries(e3).forEach(([e4, i3]) => { + n2.isFlowTypeGroupId(e4) && (t3[e4] = i3.filter(n2.isFlowTypeId)); + }); + } finally { + n2.setOrgFlowTypeExpansions(t3); + } + }; + const n2 = i2(31635).__importStar(i2(96618)); }, 82394: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(23516)), o = n2.__importDefault(i2(91928)), a = { ArchAudio: r2.default, ArchAudioCase: o.default }; - t2.default = a; + var n2, r2; + Object.defineProperty(t2, "__esModule", { value: true }), t2.AgenticAnythingElseActionModel = void 0; + const o = i2(31635), a = i2(30801), s = i2(80295), l = i2(80295), u = i2(80934), c = o.__importDefault(i2(7401)); + class d extends u.BaseActionWithOutputsModel { + constructor(e3) { + super(e3), this.__type = d.__type, (0, l.makeUnenumerable)(this, "_currentIndex"), (0, l.makeUnenumerable)(this, "_voiceEndOfInputTimeout"); + } + get currentIndex() { + return this._currentIndex; + } + set currentIndex(e3) { + this._currentIndex = this.reviveItem(e3, c.default); + } + get voiceEndOfInputTimeout() { + return this._voiceEndOfInputTimeout; + } + set voiceEndOfInputTimeout(e3) { + this._voiceEndOfInputTimeout = this.reviveItem(e3, c.default); + } + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._currentIndex && this._currentIndex.pasteResolveOldToNewValues(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteResolveOldToNewValues(e3); + } + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this._currentIndex && this._currentIndex.pasteReIdOrRename(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteReIdOrRename(e3); + } + } + t2.AgenticAnythingElseActionModel = d, d.__type = a.agenticAnythingElseActionType, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.default && c.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "currentIndex", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== c.default && c.default) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "voiceEndOfInputTimeout", null), d.registerType(); }, 82453: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getUnsupportedDestinationFlowTypes = function(e3) { - return c(e3).unsupportedFlowTypes; + return d(e3).unsupportedFlowTypes; }, t2.needsConflictingInQueueFlowTypes = function(e3) { if (e3.isCommonModuleFlow) { - const { inQueueCall: t3, inQueueEmail: i3, inQueueShortMessage: n3 } = c(e3); + const { inQueueCall: t3, inQueueEmail: i3, inQueueShortMessage: n3 } = d(e3); return [t3, i3, n3].filter(Boolean).length >= 2; } return false; @@ -97755,8 +105084,8 @@ ${e3.stack}`, n3 = [this].concat(i3); const t3 = p(e3); return r2.flowTypes.isShortMessageFlowType(t3) ? l.inqueueShortMessageFlowListManager.getBriefManagerWithFallback() : r2.flowTypes.isEmailFlowType(t3) ? s.inqueueEmailFlowListManager.getBriefManagerWithFallback() : a.inqueueCallFlowListManager.getBriefManagerWithFallback(); }, t2.botFlowsAlignTransferActions = _; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(98114)), a = i2(4085), s = i2(36843), l = i2(33690), u = n2.__importStar(i2(10798)), d = n2.__importDefault(i2(4648)); - function c(e3) { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(98114)), a = i2(4085), s = i2(36843), l = i2(33690), u = n2.__importStar(i2(10798)), c = n2.__importDefault(i2(4648)); + function d(e3) { let t3 = false, i3 = false, n3 = false; const a2 = []; return e3.destinationFlowTypes.forEach((e4) => { @@ -97764,11 +105093,11 @@ ${e3.stack}`, n3 = [this].concat(i3); }), { inQueueCall: t3, inQueueEmail: i3, inQueueShortMessage: n3, unsupportedFlowTypes: a2 }; } function p(e3) { - const { inQueueCall: t3, inQueueEmail: i3, inQueueShortMessage: n3 } = c(e3); + const { inQueueCall: t3, inQueueEmail: i3, inQueueShortMessage: n3 } = d(e3); return !t3 || i3 || n3 ? t3 || i3 || !n3 ? t3 || !i3 || n3 ? void 0 : r2.flowTypes.flowTypeInQueueEmail : r2.flowTypes.flowTypeInQueueShortMessage : r2.flowTypes.flowTypeInQueueCall; } function _() { - return u.isFeatureAvailable(d.default.botFlowsAlignTransferActions); + return u.isFeatureAvailable(c.default.botFlowsAlignTransferActions); } }, 82472: (e2, t2, i2) => { "use strict"; @@ -97845,13 +105174,13 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.VersionItem = s; }, 82490: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(81516), a = i2(36128), s = i2(71439), l = i2(9485), u = n2.__importStar(i2(1115)), d = i2(12179), c = n2.__importDefault(i2(97891)), p = i2(28803), _ = n2.__importDefault(i2(87951)), h = i2(60885), m = i2(80428), g = i2(44931), f = i2(47957); - class T extends _.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(81516), a = i2(36128), s = i2(71439), l = i2(9485), u = n2.__importStar(i2(1115)), c = i2(12179), d = n2.__importDefault(i2(97891)), p = i2(28803), _ = n2.__importDefault(i2(87951)), h = i2(60885), m = i2(80428), g = i2(1910), f = i2(1910), T = i2(69453), y = n2.__importDefault(i2(4648)), S = i2(17604), A = i2(44931), N = i2(47957); + class v extends _.default { _initializeDesignTime() { super._initializeDesignTime(), this.prompts.outOfService = true, this._configureInitialIntentAllowableValues(); } get botRunnableNetworkGetCall() { - return g.getV2Alias; + return A.getV2Alias; } get isLexV2Action() { return true; @@ -97866,7 +105195,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return h.lexStatuses.v2.availableLower; } static get managedProperties() { - return [{ property: "alias", createDetails: p.NetworkBasedActionProperty.createCreateDetails("aliasId", "aliasName", s.lexV2AliasManager, f.lex.mustSelectAlias, f.lex.aliasNotFound, "bot"), yamlOptions: T.createYamlOptions("alias", (e3) => e3.setSkipProperty(true)) }, { property: "bot", createDetails: p.NetworkBasedActionProperty.createCreateDetails("botId", "botName", l.lexV2BotNameManager, f.lex.mustSelectBotName, f.lex.botNameNotFound, null), yamlOptions: T.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "outputSessionVariables", namedItems: true, isOutput: true, options: a.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(f.dialogflow.sessionKeyLabel).setValueLabel(f.getAttributes.variableLabel)), yamlOptions: T.createYamlOptions("outputSessionVariables", (e3) => e3.setWrappedCollectionItemName("outputSessionVariable").setNameValuePairShouldUseVariableProperty(true)) }, { label: f.lex.initialIntentLabel, options: o.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setAllowNotSet(false).setIninTestingField("initialIntentExpression")), yamlOptions: T.createYamlOptions("initialIntent", (e3) => e3.setPropertyName("aliasInitialIntentName")), property: "initialIntent", type: m.expressionTypeNames.string }]; + return [{ property: "alias", createDetails: p.NetworkBasedActionProperty.createCreateDetails("aliasId", "aliasName", s.lexV2AliasManager, N.lex.mustSelectAlias, N.lex.aliasNotFound, "bot"), yamlOptions: v.createYamlOptions("alias", (e3) => e3.setSkipProperty(true)) }, { property: "bot", createDetails: p.NetworkBasedActionProperty.createCreateDetails("botId", "botName", l.lexV2BotNameManager, N.lex.mustSelectBotName, N.lex.botNameNotFound, null), yamlOptions: v.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "outputSessionVariables", namedItems: true, isOutput: true, options: a.NameValuePairsOptions.create((e3) => e3.setAllowLiteralModeOnlyOnName(true).setNameLabel(N.dialogflow.sessionKeyLabel).setValueLabel(N.getAttributes.variableLabel)), yamlOptions: v.createYamlOptions("outputSessionVariables", (e3) => e3.setWrappedCollectionItemName("outputSessionVariable").setNameValuePairShouldUseVariableProperty(true)) }, { label: N.lex.initialIntentLabel, options: o.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setAllowNotSet(false).setIninTestingField("initialIntentExpression")), yamlOptions: v.createYamlOptions("initialIntent", (e3) => e3.setPropertyName("aliasInitialIntentName")), property: "initialIntent", type: m.expressionTypeNames.string }]; } _postProcessYamlConfig(e3, t3, i3) { e3.lexBot = {}; @@ -97909,13 +105238,48 @@ ${e3.stack}`, n3 = [this].concat(i3); get supportsInputsOutputs() { return true; } + _configureFromModel(e3, t3, i3) { + if ((0, g.isConfigureFromModelRecord)(e3.lexBot)) { + const r3 = e3.lexBot, o2 = Object.keys(r3)[0]; + if (o2) { + const e4 = (0, g.isConfigureFromModelRecord)(r3[o2]) ? r3[o2] : void 0, a2 = e4 ? Object.keys(e4)[0] : void 0, u2 = a2 && e4 && (0, g.isConfigureFromModelRecord)(e4[a2]) ? e4[a2] : void 0, c2 = u2 ? Object.keys(u2)[0] : void 0, d2 = c2 && u2 && (0, g.isConfigureFromModelRecord)(u2[c2]) ? u2[c2] : void 0, p2 = d2 ? Object.keys(d2)[0] : void 0, _2 = p2 && d2 && (0, g.isConfigureFromModelRecord)(d2[p2]) ? d2[p2] : void 0; + if (a2 && p2) { + const e5 = t3; + i3.registerDeferredOp({ type: "resolveLexV2Bot", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + try { + let t4 = l.lexV2BotNameManager.findItemByName(a2); + if (!t4) { + for (const e6 of Object.values(l.lexV2BotNameManager.items || {})) if (e6.displayName === a2 || e6.name === a2) { + t4 = e6; + break; + } + } + t4 && this.setBotCategoryByViewModel(t4); + let n3 = s.lexV2AliasManager.findItemByName(p2); + if (!n3) { + for (const e6 of Object.values(s.lexV2AliasManager.items || {})) if (e6.displayName === p2 || e6.name === p2) { + n3 = e6; + break; + } + } + n3 ? (this.setBotRunnableByViewModel(n3), (null == _2 ? void 0 : _2.aliasInitialIntentName) && (0, f.hasConfigureFromModel)(this.initialIntent) && this.initialIntent.configureFromModel(_2.aliasInitialIntentName, e5, i3), (null == _2 ? void 0 : _2.failureOutputs) && this.errorBindings && (i3.currentPropertyName = "failureOutputs", this.errorBindings.configureFromModel(_2.failureOutputs, e5, i3), i3.currentPropertyName = void 0), (null == _2 ? void 0 : _2.intents) && this.outputs && (i3.currentPropertyName = "intents", this.outputs.configureFromModel(_2.intents, e5, i3), i3.currentPropertyName = void 0)) : i3.warn((0, S.sprintf)(T.configureFromModel.failedToResolveFor, "Lex V2 alias", p2, "bot", a2)); + } catch (e6) { + const t4 = e6 instanceof Error ? e6.message : String(e6); + i3.warn((0, S.sprintf)(T.configureFromModel.entityResolutionFailed, "Lex V2 bot", `${a2}/${p2}`, t4)); + } + }) }); + } + } + } + super._configureFromModel(e3, t3, i3); + } _configureInitialIntentAllowableValues(e3) { e3 || (e3 = s.lexV2AliasManager.getItem(this.aliasId)); const t3 = ((null == e3 ? void 0 : e3.intents) || []).filter((e4) => "FALLBCKINT" !== e4.model.intentId); this.initialIntent.options.facets.setAllowableValues(t3), u.validateAction(this, false, true); } } - T.info = c.default.createActionInfo({ actionClass: T, canBeInTask: true, helpTopic: d.helpTopics.actions.lexV2, modelClass: i2(12044), name: f.actions.lexV2, scriptingName: "ArchActionCallLexV2Bot" }), t2.A = T; + v.info = d.default.createActionInfo({ actionClass: v, canBeInTask: true, helpTopic: c.helpTopics.actions.lexV2, modelClass: i2(12044), name: N.actions.lexV2, scriptingName: "ArchActionCallLexV2Bot", modelFormatSupport: { flowYaml: { inProgress: true, feature: y.default.changeSetsFeaturePhase2 } } }), t2.A = v; }, 82584: (e2, t2, i2) => { const n2 = i2(11475), { expressionTypeNames: r2 } = i2(80428); function o() { @@ -97927,8 +105291,8 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(23581)), o = n2.__importDefault(i2(66959)); class a extends r2.default { - constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, resultExpressionType: o2, restrictToFlowTypeOrTypes: a2, categoryIdentifierOrIdentifiers: s, builderPartDefCategoryIdentifierOrIdentifiers: l, defaultBuilderPartId: u, icon: d, helpTopic: c, requiredFeatureToggle: p, requiredFeatureConfig: _, requiredChannelTypeOrTypes: h, minMaxInfo: m }) { - super(e3, t3, i3, n3, r3, o2, a2, s, l, u, d, c, p, _, h, m); + constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, resultExpressionType: o2, restrictToFlowTypeOrTypes: a2, categoryIdentifierOrIdentifiers: s, builderPartDefCategoryIdentifierOrIdentifiers: l, defaultBuilderPartId: u, icon: c, helpTopic: d, requiredFeatureToggle: p, requiredFeatureConfig: _, requiredChannelTypeOrTypes: h, minMaxInfo: m }) { + super(e3, t3, i3, n3, r3, o2, a2, s, l, u, c, d, p, _, h, m); } get className() { return "BooleanBuilderWithBuilderPartsDef"; @@ -98002,7 +105366,7 @@ ${e3.stack}`, n3 = [this].concat(i3); var a = i2(35648); Object.defineProperty(t2, "dataTypeLimits", { enumerable: true, get: function() { return n2.__importDefault(a).default; - } }), t2.grammarLimits = { name: { maxLength: 64 }, description: { maxLength: 500 }, gram: { maxSizeBytes: 25 * r2.default.oneMegabyte }, grxml: { maxSizeBytes: r2.default.oneMegabyte } }, t2.flowLimits = { name: { maxLength: 200 }, description: { maxLength: 500 } }, t2.system = { maxPubApiRequestSize: 6 * r2.default.oneMegabyte }, t2.flowSizeLimits = { maxFlowSize: t2.system.maxPubApiRequestSize, maxFlowSizeEmail: Math.round(t2.system.maxPubApiRequestSize / 2), maxFlowSizeCommonModule: Math.round(t2.system.maxPubApiRequestSize / 4), maxFlowSizeToStopPublish: 0.98 }, t2.imageLimits = { size: { maxSizeMegabytes: 25 } }, t2.promptLimits = { name: { maxLength: 200 } }, t2.propertyLimits = { name: { maxLength: 128 }, description: { maxLength: 128 } }, t2.responseAssetLimits = { size: { maxSizeMegabytes: 100 } }, t2.sendResponseAction = { attachments: { maxItems: 5 } }, t2.sendAutoReplyAction = { attachments: { maxItems: 5 } }, t2.emailHeaderNamesLimits = { maxItems: { count: 5, isSoftLimit: false } }, t2.sipHeaderNamesLimits = { maxItems: { count: 10, isSoftLimit: false } }, t2.voiceSurveyLimits = { answerOptionTextLength: { maxLength: o.default.entityType.maxListEntityItemValueStrLen }, multipleChoiceQuestions: { maxLength: o.default.entityType.maxListEntityTypes } }, t2.switchActionCaseLimits = { numDefaultCases: 3, numMaxCases: 64 }, t2.findLimits = { maxBulkFindByName: 50, findName: { minLength: 1, maxLength: 256 } }, t2.interactiveApplicationLimits = { application: { name: { minLength: 1 }, url: { minLength: 1 } }, receivedMessage: { subTitle: { maxLength: 256 }, title: { maxLength: 256 } } }, t2.askForPaymentLimits = { lineItems: { maxItems: 10 }, shippingOptions: { maxItems: 4 }, totalPrice: { minValue: 1e-3, maxValue: 1e9, decimalPlaces: 3 }, title: { minLength: 1, maxLength: 256 }, contactInformation: { maxItems: 4 } }, t2.collectInput = { maxDigits_40: 40, maxDigits_32: 32 }, t2.evaluateSkillExpressionFilters = { skillExpressionFilters: { minItems: 1, maxItems: 1, items: { minLength: 1, maxLength: 1024 } } }, t2.askForAuthentication = { authenticationCompletionTimeout: { maxDuration: 3 * r2.default.msPerDay, maxDurationInclusive: true, minDuration: 30 * r2.default.msPerSecond, minDurationInclusive: true }, signInMessage: { maxLength: 256, minLength: 1 }, successMessage: { maxLength: 256, minLength: 1 } }, t2.abortSend = { message: { minLength: 1, maxLength: 300 } }, t2.richLink = { body: { maxLength: 1024, minLength: 1 }, footer: { maxLength: 60, minLength: 1 }, header: { maxLength: 60, minLength: 1 }, url: { minLength: 12 }, urlLabel: { maxLength: 20, minLength: 1 } }, t2.setSkillExpressionFilters = { skillExpressionFilters: { minItems: 1, maxItems: 1 } }, t2.conversationAttributeLimits = { recordId: { minLength: 1, maxLength: 50, literalPattern: "^[a-zA-Z0-9_-]+$" }, versionId: { minValue: 1, minValueInclusive: true } }, t2.updateExternalContact = { patchChanges: { maxItems: 15 } }, t2.transferToAcd = { preferredAgents: { maxItems: 20 }, skillExpressionFilters: { minItems: 1, maxItems: 1 } }; + } }), t2.grammarLimits = { name: { maxLength: 64 }, description: { maxLength: 500 }, gram: { maxSizeBytes: 25 * r2.default.oneMegabyte }, grxml: { maxSizeBytes: r2.default.oneMegabyte } }, t2.flowLimits = { name: { minLength: 1, maxLength: 200 }, description: { maxLength: 500 } }, t2.system = { maxPubApiRequestSize: 6 * r2.default.oneMegabyte }, t2.flowSizeLimits = { maxFlowSize: t2.system.maxPubApiRequestSize, maxFlowSizeEmail: Math.round(t2.system.maxPubApiRequestSize / 2), maxFlowSizeCommonModule: Math.round(t2.system.maxPubApiRequestSize / 4), maxFlowSizeToStopPublish: 0.98 }, t2.imageLimits = { size: { maxSizeMegabytes: 25 } }, t2.promptLimits = { name: { maxLength: 200 } }, t2.propertyLimits = { name: { maxLength: 128 }, description: { maxLength: 128 } }, t2.responseAssetLimits = { size: { maxSizeMegabytes: 100 } }, t2.sendResponseAction = { attachments: { maxItems: 5 } }, t2.sendAutoReplyAction = { attachments: { maxItems: 5 } }, t2.emailHeaderNamesLimits = { maxItems: { count: 5, isSoftLimit: false } }, t2.sipHeaderNamesLimits = { maxItems: { count: 10, isSoftLimit: false } }, t2.voiceSurveyLimits = { answerOptionTextLength: { maxLength: o.default.entityType.maxListEntityItemValueStrLen }, multipleChoiceQuestions: { maxLength: o.default.entityType.maxListEntityTypes } }, t2.switchActionCaseLimits = { numDefaultCases: 3, numMaxCases: 64 }, t2.findLimits = { maxBulkFindByName: 50, findName: { minLength: 1, maxLength: 256 } }, t2.interactiveApplicationLimits = { application: { name: { minLength: 1 }, url: { minLength: 1 } }, receivedMessage: { subTitle: { maxLength: 256 }, title: { maxLength: 256 } } }, t2.askForPaymentLimits = { lineItems: { maxItems: 10 }, shippingOptions: { maxItems: 4 }, totalPrice: { minValue: 1e-3, maxValue: 1e9, decimalPlaces: 3 }, title: { minLength: 1, maxLength: 256 }, contactInformation: { maxItems: 4 } }, t2.collectInput = { maxDigits_40: 40, maxDigits_32: 32 }, t2.evaluateSkillExpressionFilters = { skillExpressionFilters: { minItems: 1, maxItems: 1, items: { minLength: 1, maxLength: 1024 } } }, t2.askForAuthentication = { authenticationCompletionTimeout: { maxDuration: 3 * r2.default.msPerDay, maxDurationInclusive: true, minDuration: 30 * r2.default.msPerSecond, minDurationInclusive: true }, signInMessage: { maxLength: 256, minLength: 1 }, successMessage: { maxLength: 256, minLength: 1 } }, t2.abortSend = { message: { minLength: 1, maxLength: 300 } }, t2.richLink = { body: { maxLength: 1024, minLength: 1 }, footer: { maxLength: 60, minLength: 1 }, header: { maxLength: 60, minLength: 1 }, url: { minLength: 12 }, urlLabel: { maxLength: 20, minLength: 1 } }, t2.setSkillExpressionFilters = { skillExpressionFilters: { minItems: 1, maxItems: 1 } }, t2.conversationAttributeLimits = { recordId: { minLength: 1, maxLength: 50, literalPattern: "^[a-zA-Z0-9_-]+$" }, versionId: { minValue: 1, minValueInclusive: true } }, t2.updateExternalContact = { patchChanges: { maxItems: 15 } }, t2.transferToAcd = { preferredAgents: { maxItems: 20 }, skillExpressionFilters: { minItems: 1, maxItems: 1 } }; }, 82675: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ConversationCustomAttributeSchema = void 0; @@ -98039,25 +105403,14 @@ ${e3.stack}`, n3 = [this].concat(i3); } t2.ConversationCustomAttributeSchema = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "name", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], s.prototype, "version", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "enabled", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "jsonSchema", null); }, 82699: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseAssetList = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(15116), a = i2(23343); - class s extends o.PagedList { - constructor(e3) { - super(e3); - } - get entities() { - return this._entities; - } - set entities(e3) { - this._entities = this.reviveArray(e3, a.ResponseAsset); - } + function n2() { + this.schema = void 0, this.arrayProperties = void 0, n2.baseConstructor.apply(this, arguments); } - t2.ResponseAssetList = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + i2(45214).extend(n2, "HedwigActionSchema"), e2.exports = n2; }, 82915: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ScriptManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(24032), a = n2.__importDefault(i2(4648)), s = i2(10798), l = n2.__importDefault(i2(47532)), u = i2(86050), d = n2.__importStar(i2(1360)), c = n2.__importDefault(i2(33231)), p = i2(81801), _ = i2(27862), h = i2(52124); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(24032), a = n2.__importDefault(i2(4648)), s = i2(10798), l = n2.__importDefault(i2(47532)), u = i2(86050), c = n2.__importStar(i2(1360)), d = n2.__importDefault(i2(33231)), p = i2(81801), _ = i2(27862), h = i2(52124); class m extends l.default { get requiredAuth() { return (0, s.isFeatureAvailable)(a.default.divisionedScriptsV2) ? p.externalAuthorizations.authStrings.scriptsSearch : p.externalAuthorizations.authStrings.scriptsView; @@ -98066,7 +105419,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return _.ScreenPop; } constructor(e3) { - super(), this.topic = (0, o.getTopic)("scriptManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "scriptId", this.defaultMatchingStyle = d.exactMatch, this.apiCallList = h.getScripts, this.apiCallSingle = h.getScript, this.isScriptManager = true, this.uiMetadataSectionName = "scripts", this.className = e3 || "ScriptManager", this._initialize(); + super(), this.topic = (0, o.getTopic)("scriptManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "scriptId", this.defaultMatchingStyle = c.exactMatch, this.apiCallList = h.getScripts, this.apiCallSingle = h.getScript, this.isScriptManager = true, this.uiMetadataSectionName = "scripts", this.className = e3 || "ScriptManager", this._initialize(); } _createItemViewModel(e3) { return new u.ScreenPopViewModel(e3); @@ -98083,7 +105436,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.items[e3]; } getScriptInputs(e3) { - return e3.isFlowCachedVersion ? c.default.fcall(function() { + return e3.isFlowCachedVersion ? d.default.fcall(function() { e3.loadVariables(e3.model.variables); }) : h.getScriptVariables(e3.id).then((t3) => { e3.loadVariables(t3); @@ -98417,10 +105770,10 @@ ${e3.stack}`, n3 = [this].concat(i3); } } }), e2.exports = l; }, 83516: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(81516), o = i2(91546), a = n2.__importDefault(i2(27203)), s = i2(12179), l = n2.__importDefault(i2(66753)), u = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(5730)), c = i2(80428), p = i2(47957), _ = i2(17604); - class h extends d.default { + const n2 = i2(31635), r2 = i2(81516), o = i2(91546), a = n2.__importDefault(i2(27203)), s = i2(12179), l = n2.__importDefault(i2(66753)), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(5730)), d = i2(80428), p = i2(47957), _ = i2(17604), h = n2.__importDefault(i2(4648)); + class m extends c.default { static get managedProperties() { - return [{ label: p.submitVoiceSnippet.voiceSnippetToSubmitLabel, options: o.ExpressionTypeVoiceSnippetOptions.create((e3) => e3.setAsInput().setDescriptionInfo(p.submitVoiceSnippet.voiceSnippetToSubmitLabel, (0, _.sprintf)(p.submitVoiceSnippet.voiceSnippetToSubmitDescription, p.generic.branches.failure)).setIninTestingField("snippet")), property: "snippet", type: c.expressionTypeNames.voiceSnippet }, { label: p.submitVoiceSnippet.voiceSnippetDestinationLabel, options: r2.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setAllowModeLiteralOnly().setDescriptionInfo(p.submitVoiceSnippet.voiceSnippetDestinationLabel, p.submitVoiceSnippet.voiceSnippetDestinationDescription).setIninTestingField("destination").facets.setTrim(true)), yamlOptions: h.createYamlOptions("destination", (e3) => e3.setPropertyName("destination")), property: "destination", type: c.expressionTypeNames.string }, { label: p.submitVoiceSnippet.destinationVoiceSnippetIdLabel, options: r2.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setIsOptional(true).setDescriptionInfo(p.submitVoiceSnippet.destinationVoiceSnippetIdLabel, p.submitVoiceSnippet.destinationVoiceSnippetIdDescription).setIninTestingField("destinationSnippetId")), property: "destinationSnippetId", type: c.expressionTypeNames.string }]; + return [{ label: p.submitVoiceSnippet.voiceSnippetToSubmitLabel, options: o.ExpressionTypeVoiceSnippetOptions.create((e3) => e3.setAsInput().setDescriptionInfo(p.submitVoiceSnippet.voiceSnippetToSubmitLabel, (0, _.sprintf)(p.submitVoiceSnippet.voiceSnippetToSubmitDescription, p.generic.branches.failure)).setIninTestingField("snippet")), property: "snippet", type: d.expressionTypeNames.voiceSnippet }, { label: p.submitVoiceSnippet.voiceSnippetDestinationLabel, options: r2.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setAllowModeLiteralOnly().setDescriptionInfo(p.submitVoiceSnippet.voiceSnippetDestinationLabel, p.submitVoiceSnippet.voiceSnippetDestinationDescription).setIninTestingField("destination").facets.setTrim(true)), yamlOptions: m.createYamlOptions("destination", (e3) => e3.setPropertyName("destination")), property: "destination", type: d.expressionTypeNames.string }, { label: p.submitVoiceSnippet.destinationVoiceSnippetIdLabel, options: r2.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setIsOptional(true).setDescriptionInfo(p.submitVoiceSnippet.destinationVoiceSnippetIdLabel, p.submitVoiceSnippet.destinationVoiceSnippetIdDescription).setIninTestingField("destinationSnippetId")), property: "destinationSnippetId", type: d.expressionTypeNames.string }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -98435,7 +105788,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return a.default.successFailure; } } - h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: s.helpTopics.actions.submitVoiceSnippet, modelClass: i2(50736), name: p.actions.submitVoiceSnippet, scriptingName: "ArchActionSubmitVoiceSnippet" }), t2.A = h; + m.info = u.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: s.helpTopics.actions.submitVoiceSnippet, modelClass: i2(50736), name: p.actions.submitVoiceSnippet, scriptingName: "ArchActionSubmitVoiceSnippet", modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = m; }, 83563: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowExportSettings = void 0; @@ -98505,8 +105858,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 83630: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(58380)), s = n2.__importStar(i2(98442)), l = n2.__importDefault(i2(76117)), u = i2(24812), d = i2(47957); - class c extends l.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(58380)), s = n2.__importStar(i2(98442)), l = n2.__importDefault(i2(76117)), u = i2(24812), c = i2(47957); + class d extends l.default { constructor({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: n3 }) { super(e3, t3, i3, void 0, n3), a.registerEventSinkForEventEmitter(t3.parentFlow.languages.id, this); } @@ -98541,9 +105894,9 @@ ${e3.stack}`, n3 = [this].concat(i3); const n3 = this.parentFlow; if (n3 && n3.definition && n3.definition.supportsLanguages && n3.languages && n3.languages.supportedLanguages) { const a2 = u.isoLanguages[t4]; - a2 ? o.default.contains(n3.languages.supportedLanguagesLCase, t4) || (e3.addError(this, (0, r2.sprintf)(d.builders.containerParts.language.languageNotInFlowSupportedLanguages, a2.displayString)), i3 = false) : (e3.addError(this, (0, r2.sprintf)(d.builders.containerParts.language.languageTagNotValid, t4)), i3 = false); - } else e3.addError(this, d.builders.containerParts.language.noFlowSupportedLanguages), i3 = false; - } else e3.addError(this, d.builders.containerParts.language.languageTagNotString), i3 = false; + a2 ? o.default.contains(n3.languages.supportedLanguagesLCase, t4) || (e3.addError(this, (0, r2.sprintf)(c.builders.containerParts.language.languageNotInFlowSupportedLanguages, a2.displayString)), i3 = false) : (e3.addError(this, (0, r2.sprintf)(c.builders.containerParts.language.languageTagNotValid, t4)), i3 = false); + } else e3.addError(this, c.builders.containerParts.language.noFlowSupportedLanguages), i3 = false; + } else e3.addError(this, c.builders.containerParts.language.languageTagNotString), i3 = false; } return i3; } @@ -98551,7 +105904,7 @@ ${e3.stack}`, n3 = [this].concat(i3); a.unregisterEventSinkForEventEmitter(this.parentFlow.languages.id, this), super._destroy(); } } - t2.default = c; + t2.default = d; }, 83645: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.AssignedCustomerIntentType = void 0; @@ -98609,6 +105962,243 @@ ${e3.stack}`, n3 = [this].concat(i3); n2.then && n2.then((t3) => { e2.exports = t3; }), e2.exports = n2; + }, 83701: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.validateChangeSetDocument = function(e3, t3, i3) { + const r3 = [], o2 = i3 ? (0, n2.buildAvailabilityContext)(i3) : void 0; + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return r3.push(s("/", `Expected changeset document to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })), r3; + const p2 = e3; + return (function(e4, t4) { + for (const i4 of Object.keys(e4)) _.has(i4) || t4.push(s("/", `Unexpected property '${i4}'`, "unexpectedProperty", { property: i4, expected: `one of: ${[..._].join(", ")}` })); + return "version" in e4 ? "string" != typeof e4.version ? (t4.push(s("/version", `Expected 'version' to be a string, got ${l(e4.version)}`, "invalidType", { property: "version", expected: "string", actual: l(e4.version) })), false) : u.has(e4.version) ? "changes" in e4 ? Array.isArray(e4.changes) ? ("name" in e4 && void 0 !== e4.name && ("string" != typeof e4.name ? t4.push(s("/name", `Expected 'name' to be a string, got ${l(e4.name)}`, "invalidType", { property: "name", expected: "string", actual: l(e4.name) })) : (e4.name.length < 1 && t4.push(s("/name", "Property 'name' must be at least 1 character", "stringTooShort", { property: "name", expected: "minLength 1", actual: "0" })), e4.name.length > 128 && t4.push(s("/name", `Property 'name' exceeds maximum length of 128 (got ${e4.name.length})`, "stringTooLong", { property: "name", expected: "maxLength 128", actual: String(e4.name.length) })))), "description" in e4 && void 0 !== e4.description && ("string" != typeof e4.description ? t4.push(s("/description", `Expected 'description' to be a string, got ${l(e4.description)}`, "invalidType", { property: "description", expected: "string", actual: l(e4.description) })) : (e4.description.length < 1 && t4.push(s("/description", "Property 'description' must be at least 1 character", "stringTooShort", { property: "description", expected: "minLength 1", actual: "0" })), e4.description.length > 512 && t4.push(s("/description", `Property 'description' exceeds maximum length of 512 (got ${e4.description.length})`, "stringTooLong", { property: "description", expected: "maxLength 512", actual: String(e4.description.length) })))), "source" in e4 && void 0 !== e4.source && (function(e5, t5) { + const i4 = "/source"; + if ("object" != typeof e5 || null === e5 || Array.isArray(e5)) return void t5.push(s(i4, `Expected 'source' to be an object, got ${l(e5)}`, "invalidType", { property: "source", expected: "object", actual: l(e5) })); + const n3 = e5; + "entityType" in n3 ? "string" != typeof n3.entityType ? t5.push(s(`${i4}/entityType`, `Expected 'entityType' to be a string, got ${l(n3.entityType)}`, "invalidType", { property: "entityType", expected: "string", actual: l(n3.entityType) })) : c.has(n3.entityType) || t5.push(s(`${i4}/entityType`, `Invalid entityType '${n3.entityType}' \u2014 expected one of: ${[...c].join(", ")}`, "invalidValue", { property: "entityType", expected: [...c].join(", "), actual: n3.entityType })) : t5.push(s(`${i4}/entityType`, "Required property 'entityType' is missing in source", "missingRequired", { property: "entityType" })), "entityId" in n3 && void 0 !== n3.entityId && h(n3.entityId, `${i4}/entityId`, "entityId", 1, 256, t5), "externalId" in n3 && void 0 !== n3.externalId && h(n3.externalId, `${i4}/externalId`, "externalId", 1, 256, t5), "creationDateTime" in n3 && void 0 !== n3.creationDateTime && "string" != typeof n3.creationDateTime && t5.push(s(`${i4}/creationDateTime`, `Expected 'creationDateTime' to be a string, got ${l(n3.creationDateTime)}`, "invalidType", { property: "creationDateTime", expected: "string (ISO 8601 date-time)", actual: l(n3.creationDateTime) })); + })(e4.source, t4), true) : (t4.push(s("/changes", `Expected 'changes' to be an array, got ${l(e4.changes)}`, "invalidType", { property: "changes", expected: "array", actual: l(e4.changes) })), false) : (t4.push(s("/changes", "Required property 'changes' is missing", "missingRequired", { property: "changes" })), false) : (t4.push(s("/version", `Invalid version '${e4.version}' \u2014 expected one of: ${[...u].join(", ")}`, "invalidValue", { property: "version", expected: [...u].join(", "), actual: e4.version })), false) : (t4.push(s("/version", "Required property 'version' is missing", "missingRequired", { property: "version" })), false); + })(p2, r3) ? ((function(e4, t4, i4, n3) { + for (let r4 = 0; r4 < e4.length; r4++) { + const o3 = e4[r4], u2 = `/changes[${r4}]`; + if ("object" != typeof o3 || null === o3 || Array.isArray(o3)) { + n3.push(s(u2, `Expected change entry to be an object, got ${l(o3)}`, "invalidType", { expected: "object", actual: l(o3) })); + continue; + } + const c2 = Object.keys(o3); + if (0 === c2.length) { + n3.push(s(u2, "Change entry must have exactly one operation (add, createRef, delete, update, setStartupObject)", "missingOneOf", { expected: "exactly 1 property", actual: "0 properties" })); + continue; + } + if (c2.length > 1) { + n3.push(s(u2, `Change entry must have exactly one operation, found ${c2.length}: ${c2.join(", ")}`, "mutuallyExclusive", { expected: "exactly 1 property", actual: `${c2.length} properties` })); + continue; + } + const p3 = c2[0]; + if (!d.has(p3)) { + n3.push(s(u2, `Unknown operation '${p3}' \u2014 expected one of: ${[...d].join(", ")}`, "invalidValue", { property: p3, expected: [...d].join(", "), actual: p3 })); + continue; + } + const _2 = o3[p3]; + a("change", p3, `${u2}/${p3}`, i4, n3), "add" === p3 ? k(_2, `${u2}/add`, t4, i4, n3) : "delete" === p3 ? B(_2, `${u2}/delete`, i4, n3) : "createRef" === p3 ? y(_2, `${u2}/createRef`, i4, n3) : "update" === p3 && g(_2, `${u2}/update`, i4, n3); + } + })(p2.changes, t3, o2, r3), r3) : r3; + }; + const n2 = i2(39426), r2 = i2(20422), o = i2(19206); + function a(e3, t3, i3, o2, a2) { + if (!o2) return true; + const l2 = `${e3}.${t3}`, u2 = r2.CHANGE_SET_PROPERTY_AVAILABILITY[l2]; + return !u2 || !!(0, n2.evaluateAvailabilityCondition)(u2, o2) || (a2.push(s(i3, `Property '${t3}' is not available with the current feature configuration`, "featureNotEnabled", { property: t3 })), false); + } + function s(e3, t3, i3, n3) { + return Object.assign({ category: "schema", path: e3, message: t3, code: i3 }, n3); + } + function l(e3) { + return null === e3 ? "null" : Array.isArray(e3) ? "array" : typeof e3; + } + const u = /* @__PURE__ */ new Set(["1.0"]), c = /* @__PURE__ */ new Set([o.changeSetEntityType.architect, o.changeSetEntityType.copilot, o.changeSetEntityType.user]), d = /* @__PURE__ */ new Set(["add", "createRef", "delete", "update", "setStartupObject"]), p = /* @__PURE__ */ new Set(["actions", "task", "state", "menu", "menuChoice", "variables"]), _ = /* @__PURE__ */ new Set(["version", "changes", "name", "description", "source"]); + function h(e3, t3, i3, n3, r3, o2) { + "string" == typeof e3 ? (e3.length < n3 && o2.push(s(t3, `Property '${i3}' must be at least ${n3} character(s)`, "stringTooShort", { property: i3, expected: `minLength ${n3}`, actual: String(e3.length) })), e3.length > r3 && o2.push(s(t3, `Property '${i3}' exceeds maximum length of ${r3} (got ${e3.length})`, "stringTooLong", { property: i3, expected: `maxLength ${r3}`, actual: String(e3.length) }))) : o2.push(s(t3, `Expected '${i3}' to be a string, got ${l(e3)}`, "invalidType", { property: i3, expected: "string", actual: l(e3) })); + } + const m = /* @__PURE__ */ new Set(["action", "task", "state", "menu", "menuChoice", "flow"]); + function g(e3, t3, i3, n3) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void n3.push(s(t3, `Expected update to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })); + const r3 = e3, o2 = Object.keys(r3).filter((e4) => m.has(e4)); + if (0 === o2.length) n3.push(s(t3, `Update operation must have at least one target selector (${[...m].join(", ")})`, "missingRequired", { expected: [...m].join(", ") })); + else if (o2.length > 1) n3.push(s(t3, `Update operation must have exactly one target selector, got: ${o2.join(", ")}`, "invalidValue", { expected: "exactly one target selector", actual: o2.join(", ") })); + else { + const e4 = o2[0]; + a("update", e4, `${t3}/${e4}`, i3, n3), "flow" === e4 ? true !== r3.flow && n3.push(s(`${t3}/flow`, "Expected 'flow' to be true when updating flow-level properties", "invalidValue", { property: "flow", expected: "true", actual: l(r3.flow) })) : v(r3[e4], `${t3}/${e4}`, n3, i3); + } + "properties" in r3 ? ("object" != typeof r3.properties || null === r3.properties || Array.isArray(r3.properties)) && n3.push(s(`${t3}/properties`, `Expected 'properties' to be an object, got ${l(r3.properties)}`, "invalidType", { expected: "object", actual: l(r3.properties) })) : n3.push(s(`${t3}/properties`, "Required property 'properties' is missing in update operation", "missingRequired", { property: "properties" })); + } + const f = /* @__PURE__ */ new Set(["action", "menu", "menuChoice", "periodicState", "startupMenu", "startupState", "startupTask", "state", "task"]), T = /* @__PURE__ */ new Set(["periodicState", "startupMenu", "startupState", "startupTask"]); + function y(e3, t3, i3, n3) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void n3.push(s(t3, `Expected createRef to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })); + const r3 = e3; + "refId" in r3 ? I(r3.refId, `${t3}/refId`, "refId", n3) : n3.push(s(`${t3}/refId`, "Required property 'refId' is missing in createRef operation", "missingRequired", { property: "refId" })); + const o2 = Object.keys(r3).filter((e4) => "refId" !== e4 && f.has(e4)); + if (0 === o2.length) n3.push(s(t3, `createRef must have exactly one target selector or startup flag (${[...f].join(", ")})`, "missingRequired", { expected: [...f].join(", ") })); + else if (o2.length > 1) n3.push(s(t3, `createRef must have exactly one target key, got: ${o2.join(", ")}`, "invalidValue", { expected: "exactly one target key", actual: o2.join(", ") })); + else { + const e4 = o2[0]; + a("createRefPayload", e4, `${t3}/${e4}`, i3, n3); + const s2 = r3[e4]; + T.has(e4) ? F(s2, `${t3}/${e4}`, n3) : v(s2, `${t3}/${e4}`, n3, i3); + } + } + const S = /* @__PURE__ */ new Set(["and", "or", "not", "exists"]), A = /* @__PURE__ */ new Set(["task", "state", "menu", "startupTask", "startupState", "periodicState"]), N = /* @__PURE__ */ new Set(["startupTask", "startupState", "periodicState"]); + function v(e3, t3, i3, n3) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void i3.push(s(t3, `Expected selector to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })); + const r3 = e3; + if (0 === Object.keys(r3).length) return void i3.push(s(t3, "Selector must have at least one identifier (id, name, refId, or trackingId)", "missingRequired", { expected: "at least one of: id, name, refId, trackingId" })); + "refId" in r3 && (I(r3.refId, `${t3}/refId`, "refId", i3), a("identifierSelector", "refId", `${t3}/refId`, n3, i3)), "id" in r3 && I(r3.id, `${t3}/id`, "id", i3), "name" in r3 && I(r3.name, `${t3}/name`, "name", i3), "trackingId" in r3 && ("number" == typeof r3.trackingId && Number.isInteger(r3.trackingId) ? a("identifierSelector", "trackingId", `${t3}/trackingId`, n3, i3) : i3.push(s(`${t3}/trackingId`, `Expected 'trackingId' to be an integer, got ${l(r3.trackingId)}`, "invalidType", { property: "trackingId", expected: "integer", actual: l(r3.trackingId) }))); + const o2 = "id" in r3 && "string" == typeof r3.id && r3.id.length > 0, u2 = "name" in r3 && "string" == typeof r3.name && r3.name.length > 0, c2 = "refId" in r3 && "string" == typeof r3.refId && r3.refId.length > 0, d2 = "trackingId" in r3 && "number" == typeof r3.trackingId && Number.isInteger(r3.trackingId); + o2 || u2 || c2 || d2 || i3.push(s(t3, "Selector must have at least one identifier (id, name, refId, or trackingId)", "missingRequired", { expected: "at least one of: id, name, refId, trackingId" })); + } + function O(e3, t3, i3, n3, r3) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return; + const o2 = e3; + "refId" in o2 && I(o2.refId, `${t3}/refId`, "refId", r3), "trackingId" in o2 && ("number" == typeof o2.trackingId && Number.isInteger(o2.trackingId) ? a(i3, "trackingId", `${t3}/trackingId`, n3, r3) : r3.push(s(`${t3}/trackingId`, `Expected 'trackingId' to be an integer, got ${l(o2.trackingId)}`, "invalidType", { property: "trackingId", expected: "integer", actual: l(o2.trackingId) }))); + } + function I(e3, t3, i3, n3) { + "string" == typeof e3 ? e3.length < 1 && n3.push(s(t3, `Property '${i3}' must be at least 1 character`, "stringTooShort", { property: i3, expected: "minLength 1", actual: "0" })) : n3.push(s(t3, `Expected '${i3}' to be a string, got ${l(e3)}`, "invalidType", { property: i3, expected: "string", actual: l(e3) })); + } + function C(e3, t3, i3, n3, r3) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void r3.push(s(t3, `Expected ${n3} to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })); + const o2 = Object.keys(e3); + if (1 !== o2.length) return void r3.push(s(t3, `${n3} must have exactly one key, found ${o2.length}`, 0 === o2.length ? "missingOneOf" : "mutuallyExclusive", { expected: `exactly 1 of: ${[...i3].join(", ")}`, actual: `${o2.length} properties` })); + const a2 = o2[0]; + if (i3.has(a2)) return a2; + r3.push(s(t3, `Unknown ${n3} key '${a2}' \u2014 expected one of: ${[...i3].join(", ")}`, "invalidValue", { property: a2, expected: [...i3].join(", "), actual: a2 })); + } + function b(e3, t3, i3) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void i3.push(s(t3, `Expected 'when' to be an object, got ${l(e3)}`, "invalidType", { property: "when", expected: "object", actual: l(e3) })); + const n3 = Object.keys(e3); + if (1 !== n3.length) return void i3.push(s(t3, `'when' must have exactly one key (and, or, not, or exists), found ${n3.length}`, 0 === n3.length ? "missingOneOf" : "mutuallyExclusive", { expected: `exactly 1 of: ${[...S].join(", ")}`, actual: `${n3.length} properties` })); + const r3 = n3[0]; + if (!S.has(r3)) return void i3.push(s(t3, `Unknown when key '${r3}' \u2014 expected one of: ${[...S].join(", ")}`, "invalidValue", { property: r3, expected: [...S].join(", "), actual: r3 })); + const o2 = e3[r3]; + if ("exists" !== r3) if ("not" !== r3) if (Array.isArray(o2)) if (0 !== o2.length) for (let e4 = 0; e4 < o2.length; e4++) b(o2[e4], `${t3}/${r3}[${e4}]`, i3); + else i3.push(s(`${t3}/${r3}`, `'${r3}' must contain at least one when expression`, "invalidValue", { property: r3, expected: "non-empty array" })); + else i3.push(s(`${t3}/${r3}`, `Expected '${r3}' to be an array, got ${l(o2)}`, "invalidType", { property: r3, expected: "array", actual: l(o2) })); + else b(o2, `${t3}/not`, i3); + else !(function(e4, t4, i4) { + if ("object" != typeof e4 || null === e4 || Array.isArray(e4)) return void i4.push(s(t4, `Expected existence target to be an object, got ${l(e4)}`, "invalidType", { expected: "object", actual: l(e4) })); + const n4 = Object.keys(e4); + if (1 !== n4.length) return void i4.push(s(t4, `Existence target must have exactly one key, found ${n4.length}`, 0 === n4.length ? "missingOneOf" : "mutuallyExclusive", { expected: `exactly 1 of: ${[...A].join(", ")}`, actual: `${n4.length} properties` })); + const r4 = n4[0]; + if (!A.has(r4)) return void i4.push(s(t4, `Unknown existence target '${r4}' \u2014 expected one of: ${[...A].join(", ")}`, "invalidValue", { property: r4, expected: [...A].join(", "), actual: r4 })); + const o3 = e4[r4]; + N.has(r4) ? true !== o3 && i4.push(s(`${t4}/${r4}`, `'${r4}' must be true`, "invalidValue", { property: r4, expected: "true", actual: String(o3) })) : v(o3, `${t4}/${r4}`, i4); + })(o2, `${t3}/exists`, i3); + } + function E(e3, t3, i3) { + "when" in e3 && b(e3.when, `${t3}/when`, i3); + } + const w = /* @__PURE__ */ new Set(["afterAction", "beforeAction", "toTheEndOf", "toTheBeginningOf"]), R = /* @__PURE__ */ new Set(["actionOutput", "periodicState", "startupState", "startupTask", "state", "task"]), D = /* @__PURE__ */ new Set(["toMenu", "toMenuChoice"]); + function P(e3, t3, i3, n3) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void i3.push(s(t3, `Expected outputPath to be an object, got ${l(e3)}`, "invalidType", { property: "outputPath", expected: "object", actual: l(e3) })); + const r3 = e3; + 0 !== Object.keys(r3).length ? ("id" in r3 ? I(r3.id, `${t3}/id`, "id", i3) : n3 && i3.push(s(`${t3}/id`, "Required property 'id' is missing in outputPath", "missingRequired", { property: "id" })), "name" in r3 && I(r3.name, `${t3}/name`, "name", i3)) : i3.push(s(t3, "outputPath must have at least one of id or name", "missingRequired", { expected: "at least one of: id, name" })); + } + function M(e3, t3, i3, n3, r3) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void n3.push(s(t3, `Expected ${i3} placement to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })); + const o2 = e3; + "action" in o2 ? v(o2.action, `${t3}/action`, n3, r3) : n3.push(s(`${t3}/action`, `Required property 'action' is missing in ${i3} placement`, "missingRequired", { property: "action" })), "outputPath" in o2 && void 0 !== o2.outputPath && P(o2.outputPath, `${t3}/outputPath`, n3, false); + } + function F(e3, t3, i3) { + true !== e3 && i3.push(s(t3, "Expected placement flag to be true", "invalidValue", { expected: "true", actual: l(e3) })); + } + function L(e3, t3, i3, n3) { + const r3 = C(e3, t3, w, "where", n3); + if (!r3) return; + a("addActionsWhere", r3, `${t3}/${r3}`, i3, n3); + const o2 = e3; + "afterAction" !== r3 ? "beforeAction" !== r3 ? (function(e4, t4, i4, n4) { + const r4 = C(e4, t4, R, "edge placement", n4); + if (!r4) return; + a("edgePlacement", r4, `${t4}/${r4}`, i4, n4); + const o3 = e4[r4]; + "startupTask" !== r4 && "startupState" !== r4 && "periodicState" !== r4 ? "task" !== r4 && "state" !== r4 ? "actionOutput" === r4 && (function(e5, t5, i5, n5) { + if ("object" != typeof e5 || null === e5 || Array.isArray(e5)) return void n5.push(s(t5, `Expected actionOutput container reference to be an object, got ${l(e5)}`, "invalidType", { expected: "object", actual: l(e5) })); + const r5 = e5; + "action" in r5 ? v(r5.action, `${t5}/action`, n5, i5) : n5.push(s(`${t5}/action`, "Required property 'action' is missing in actionOutput", "missingRequired", { property: "action" })), "outputPath" in r5 ? P(r5.outputPath, `${t5}/outputPath`, n5, true) : n5.push(s(`${t5}/outputPath`, "Required property 'outputPath' is missing in actionOutput", "missingRequired", { property: "outputPath" })); + })(o3, `${t4}/actionOutput`, i4, n4) : v(o3, `${t4}/${r4}`, n4, i4) : F(o3, `${t4}/${r4}`, n4); + })(o2[r3], `${t3}/${r3}`, i3, n3) : (function(e4, t4, i4, n4) { + M(e4, t4, "beforeAction", i4, n4); + })(o2.beforeAction, `${t3}/beforeAction`, n3, i3) : (function(e4, t4, i4, n4) { + M(e4, t4, "afterAction", i4, n4); + })(o2.afterAction, `${t3}/afterAction`, n3, i3); + } + function x(e3, t3, i3) { + "where" in e3 && (function(e4, t4, i4) { + if ("object" != typeof e4 || null === e4 || Array.isArray(e4)) return void i4.push(s(t4, `Expected 'where' to be an object, got ${l(e4)}`, "invalidType", { property: "where", expected: "object", actual: l(e4) })); + const n3 = e4, r3 = Object.keys(n3); + 0 !== r3.length ? 1 === r3.length && "toFlow" === r3[0] ? (function(e5, t5, i5, n4) { + true !== e5 && n4.push(s(t5, `'${i5}' must be true`, "invalidValue", { property: i5, expected: "true", actual: String(e5) })); + })(n3.toFlow, `${t4}/toFlow`, "toFlow", i4) : i4.push(s(t4, `Optional where must contain only 'toFlow', found: ${r3.join(", ")}`, "mutuallyExclusive", { expected: "toFlow", actual: r3.join(", ") })) : i4.push(s(t4, "Optional where must contain toFlow when present", "missingRequired", { property: "toFlow" })); + })(e3.where, `${t3}/where`, i3); + } + function k(e3, t3, i3, n3, r3) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void r3.push(s(t3, `Expected 'add' to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })); + const o2 = Object.keys(e3); + if (0 === o2.length) return void r3.push(s(t3, `'add' must have exactly one target (${[...p].join(", ")})`, "missingOneOf", { expected: "exactly 1 property", actual: "0 properties" })); + if (o2.length > 1) return void r3.push(s(t3, `'add' must have exactly one target, found ${o2.length}: ${o2.join(", ")}`, "mutuallyExclusive", { expected: "exactly 1 property", actual: `${o2.length} properties` })); + const u2 = o2[0]; + if (!p.has(u2)) return void r3.push(s(t3, `Unknown add target '${u2}' \u2014 expected one of: ${[...p].join(", ")}`, "invalidValue", { property: u2, expected: [...p].join(", "), actual: u2 })); + const c2 = e3[u2]; + a("addOperation", u2, `${t3}/${u2}`, n3, r3), "actions" === u2 ? (function(e4, t4, i4, n4, r4) { + if ("object" != typeof e4 || null === e4 || Array.isArray(e4)) return void r4.push(s(t4, `Expected actions body to be an object, got ${l(e4)}`, "invalidType", { expected: "object", actual: l(e4) })); + const o3 = e4; + if (E(o3, t4, r4), "where" in o3 ? L(o3.where, `${t4}/where`, n4, r4) : r4.push(s(`${t4}/where`, "Required property 'where' is missing", "missingRequired", { property: "where" })), "actionsToAdd" in o3) if (Array.isArray(o3.actionsToAdd)) for (let e5 = 0; e5 < o3.actionsToAdd.length; e5++) V(o3.actionsToAdd[e5], `${t4}/actionsToAdd[${e5}]`, i4, n4, r4); + else r4.push(s(`${t4}/actionsToAdd`, `Expected 'actionsToAdd' to be an array, got ${l(o3.actionsToAdd)}`, "invalidType", { property: "actionsToAdd", expected: "array", actual: l(o3.actionsToAdd) })); + else r4.push(s(`${t4}/actionsToAdd`, "Required property 'actionsToAdd' is missing", "missingRequired", { property: "actionsToAdd" })); + })(c2, `${t3}/actions`, i3, n3, r3) : "task" === u2 ? (function(e4, t4, i4, n4) { + if ("object" != typeof e4 || null === e4 || Array.isArray(e4)) return void n4.push(s(t4, `Expected task body to be an object, got ${l(e4)}`, "invalidType", { expected: "object", actual: l(e4) })); + const r4 = e4; + E(r4, t4, n4), x(r4, t4, n4), "taskToAdd" in r4 ? "object" != typeof r4.taskToAdd || null === r4.taskToAdd || Array.isArray(r4.taskToAdd) ? n4.push(s(`${t4}/taskToAdd`, `Expected 'taskToAdd' to be an object, got ${l(r4.taskToAdd)}`, "invalidType", { property: "taskToAdd", expected: "object", actual: l(r4.taskToAdd) })) : O(r4.taskToAdd, `${t4}/taskToAdd`, "flowYamlTask", i4, n4) : n4.push(s(`${t4}/taskToAdd`, "Required property 'taskToAdd' is missing", "missingRequired", { property: "taskToAdd" })); + })(c2, `${t3}/task`, n3, r3) : "state" === u2 ? (function(e4, t4, i4, n4) { + if ("object" != typeof e4 || null === e4 || Array.isArray(e4)) return void n4.push(s(t4, `Expected state body to be an object, got ${l(e4)}`, "invalidType", { expected: "object", actual: l(e4) })); + const r4 = e4; + E(r4, t4, n4), x(r4, t4, n4), "stateToAdd" in r4 ? "object" != typeof r4.stateToAdd || null === r4.stateToAdd || Array.isArray(r4.stateToAdd) ? n4.push(s(`${t4}/stateToAdd`, `Expected 'stateToAdd' to be an object, got ${l(r4.stateToAdd)}`, "invalidType", { property: "stateToAdd", expected: "object", actual: l(r4.stateToAdd) })) : O(r4.stateToAdd, `${t4}/stateToAdd`, "flowYamlState", i4, n4) : n4.push(s(`${t4}/stateToAdd`, "Required property 'stateToAdd' is missing", "missingRequired", { property: "stateToAdd" })); + })(c2, `${t3}/state`, n3, r3) : "variables" === u2 ? (function(e4, t4, i4) { + if ("object" != typeof e4 || null === e4 || Array.isArray(e4)) return void i4.push(s(t4, `Expected variables body to be an object, got ${l(e4)}`, "invalidType", { expected: "object", actual: l(e4) })); + const n4 = e4; + E(n4, t4, i4), "variablesToAdd" in n4 ? Array.isArray(n4.variablesToAdd) || i4.push(s(`${t4}/variablesToAdd`, `Expected 'variablesToAdd' to be an array, got ${l(n4.variablesToAdd)}`, "invalidType", { property: "variablesToAdd", expected: "array", actual: l(n4.variablesToAdd) })) : i4.push(s(`${t4}/variablesToAdd`, "Required property 'variablesToAdd' is missing", "missingRequired", { property: "variablesToAdd" })); + })(c2, `${t3}/variables`, r3) : "menu" === u2 ? (function(e4, t4, i4, n4) { + if ("object" != typeof e4 || null === e4 || Array.isArray(e4)) return void n4.push(s(t4, `Expected menu body to be an object, got ${l(e4)}`, "invalidType", { expected: "object", actual: l(e4) })); + const r4 = e4; + E(r4, t4, n4), x(r4, t4, n4), "menuToAdd" in r4 ? "object" != typeof r4.menuToAdd || null === r4.menuToAdd || Array.isArray(r4.menuToAdd) ? n4.push(s(`${t4}/menuToAdd`, `Expected 'menuToAdd' to be an object, got ${l(r4.menuToAdd)}`, "invalidType", { property: "menuToAdd", expected: "object", actual: l(r4.menuToAdd) })) : O(r4.menuToAdd, `${t4}/menuToAdd`, "flowYamlMenu", i4, n4) : n4.push(s(`${t4}/menuToAdd`, "Required property 'menuToAdd' is missing", "missingRequired", { property: "menuToAdd" })); + })(c2, `${t3}/menu`, n3, r3) : "menuChoice" === u2 && (function(e4, t4, i4, n4) { + if ("object" != typeof e4 || null === e4 || Array.isArray(e4)) return void n4.push(s(t4, `Expected menuChoice body to be an object, got ${l(e4)}`, "invalidType", { expected: "object", actual: l(e4) })); + const r4 = e4; + E(r4, t4, n4), "menuChoiceToAdd" in r4 ? "object" != typeof r4.menuChoiceToAdd || null === r4.menuChoiceToAdd || Array.isArray(r4.menuChoiceToAdd) ? n4.push(s(`${t4}/menuChoiceToAdd`, `Expected 'menuChoiceToAdd' to be an object, got ${l(r4.menuChoiceToAdd)}`, "invalidType", { property: "menuChoiceToAdd", expected: "object", actual: l(r4.menuChoiceToAdd) })) : O(r4.menuChoiceToAdd, `${t4}/menuChoiceToAdd`, "flowYamlMenuChoice", i4, n4) : n4.push(s(`${t4}/menuChoiceToAdd`, "Required property 'menuChoiceToAdd' is missing", "missingRequired", { property: "menuChoiceToAdd" })), "where" in r4 ? (function(e5, t5, i5, n5) { + const r5 = C(e5, t5, D, "where", n5); + r5 && v(e5[r5], `${t5}/${r5}`, n5, i5); + })(r4.where, `${t4}/where`, i4, n4) : n4.push(s(`${t4}/where`, "Required property 'where' is missing", "missingRequired", { property: "where" })); + })(c2, `${t3}/menuChoice`, n3, r3); + } + function V(e3, t3, i3, n3, r3) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void r3.push(s(t3, `Expected action wrapper to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })); + const o2 = Object.keys(e3); + if (1 !== o2.length) return void r3.push(s(t3, `Action wrapper must have exactly one key (the action type), found ${o2.length}`, 0 === o2.length ? "missingOneOf" : "mutuallyExclusive", { expected: "exactly 1 property", actual: `${o2.length} properties` })); + const u2 = o2[0]; + a("flowYamlSingleActionItem", u2, t3, n3, r3), i3 && !i3.actions[u2] && r3.push(s(t3, `Unknown action type '${u2}'`, "unknownActionKey", { property: u2, expected: "a recognized action YAML key", actual: u2 })); + } + const U = /* @__PURE__ */ new Set(["action", "task", "state", "menu", "menuChoice", "variable"]); + function B(e3, t3, i3, n3) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void n3.push(s(t3, `Expected 'delete' to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })); + const r3 = e3; + if ("items" in r3) if (Array.isArray(r3.items)) for (let e4 = 0; e4 < r3.items.length; e4++) G(r3.items[e4], `${t3}/items[${e4}]`, i3, n3); + else n3.push(s(`${t3}/items`, `Expected 'items' to be an array, got ${l(r3.items)}`, "invalidType", { property: "items", expected: "array", actual: l(r3.items) })); + else n3.push(s(`${t3}/items`, "Required property 'items' is missing", "missingRequired", { property: "items" })); + } + function G(e3, t3, i3, n3) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void n3.push(s(t3, `Expected delete item to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })); + const r3 = Object.keys(e3); + if (1 !== r3.length) return void n3.push(s(t3, `Delete item must have exactly one type key, found ${r3.length}`, 0 === r3.length ? "missingOneOf" : "mutuallyExclusive", { expected: `exactly 1 of: ${[...U].join(", ")}`, actual: `${r3.length} properties` })); + const o2 = r3[0]; + U.has(o2) ? (a("typedDeleteItem", o2, `${t3}/${o2}`, i3, n3), v(e3[o2], `${t3}/${o2}`, n3, i3)) : n3.push(s(t3, `Unknown delete item type '${o2}' \u2014 expected one of: ${[...U].join(", ")}`, "invalidValue", { property: o2, expected: [...U].join(", "), actual: o2 })); + } }, 83726: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -98628,10 +106218,11 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 83735: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(23488)), o = i2(19596), a = n2.__importDefault(i2(40974)), s = n2.__importDefault(i2(66973)), l = n2.__importStar(i2(74731)), u = n2.__importDefault(i2(14166)), d = n2.__importDefault(i2(94164)), c = n2.__importDefault(i2(88417)), p = n2.__importDefault(i2(47782)), _ = n2.__importDefault(i2(74384)); - class h extends o.DataContract { + const n2 = i2(31635), r2 = n2.__importDefault(i2(23488)), o = i2(19596), a = n2.__importDefault(i2(40974)), s = n2.__importDefault(i2(66973)), l = n2.__importStar(i2(74731)), u = n2.__importDefault(i2(14166)), c = n2.__importDefault(i2(94164)), d = n2.__importDefault(i2(88417)), p = n2.__importDefault(i2(47782)), _ = n2.__importDefault(i2(74384)), h = i2(82345); + class m extends o.DataContract { constructor(e3) { - super(e3); + var t3; + e3 && "object" == typeof e3 && (null === (t3 = e3.expansions) || void 0 === t3 ? void 0 : t3.flowTypes) && ((0, h.applyOrgFlowTypeExpansionsFromBootstrap)(e3.expansions.flowTypes), l.loadFlowTypeExpansions(e3.expansions.flowTypes)), super(e3); } get actions() { return this._actions; @@ -98667,7 +106258,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._featureSupport; } set featureSupport(e3) { - this._featureSupport = this.reviveItem(e3, d.default); + this._featureSupport = this.reviveItem(e3, c.default); } get functions() { return this._functions; @@ -98680,7 +106271,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } set flowTypes(e3) { l.expandFlowTypeMapAsync(e3, (e4) => { - this._flowTypes = this.reviveMap(e4, c.default, true); + this._flowTypes = this.reviveMap(e4, d.default, true); }); } get languages() { @@ -98689,11 +106280,14 @@ ${e3.stack}`, n3 = [this].concat(i3); set languages(e3) { this._languages = this.reviveMap(e3, _.default, true); } + get expansionsFlowTypes() { + return this._expansionsFlowTypes; + } set expansions(e3) { - l.loadFlowTypeExpansions(e3.flowTypes); + this._expansionsFlowTypes = null == e3 ? void 0 : e3.flowTypes, (0, h.applyOrgFlowTypeExpansionsFromBootstrap)(null == e3 ? void 0 : e3.flowTypes), l.loadFlowTypeExpansions(null == e3 ? void 0 : e3.flowTypes); } } - t2.default = h; + t2.default = m; }, 83737: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -98742,6 +106336,59 @@ ${e3.stack}`, n3 = [this].concat(i3); } } t2.default = r2; + }, 83855: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.VALIDATE_STRICT_DECIMAL = t2.VALIDATE_ALLOW_INTEGER_FORM = t2.ValidateDecimalStringReason = t2.ParsedDecimal = void 0, t2.validateIntegerFormOptions = function(e3) { + return void 0 === e3 ? t2.VALIDATE_ALLOW_INTEGER_FORM : { allowIntegerForm: true, allowedDecimalPlaces: e3 }; + }, t2.validateDecimalString = s, t2.getParsedDecimal = l, t2.getDecimalPlacesFromString = function(e3) { + if (!e3) return 0; + const t3 = e3.indexOf("."); + return t3 < 0 ? 0 : e3.length - t3 - 1; + }, t2.compareDecimalStrings = function(e3, i3) { + const n3 = l(e3, t2.VALIDATE_ALLOW_INTEGER_FORM), r3 = l(i3, t2.VALIDATE_ALLOW_INTEGER_FORM); + if (void 0 === n3 || void 0 === r3) return 0; + const o2 = n3.compareTo(r3); + return void 0 === o2 ? 0 : o2; + }; + const n2 = i2(31635).__importDefault(i2(73198)), r2 = i2(44018); + var o, a = i2(44018); + function s(e3, t3) { + if (null == e3) return { ok: false, reason: o.empty }; + const i3 = e3.trim(); + if (0 === i3.length) return { ok: false, reason: o.empty }; + const a2 = i3.search(/\s/); + if (a2 >= 0) return { ok: false, reason: o.invalid, errorPos: a2 }; + const s2 = !!(null == t3 ? void 0 : t3.allowIntegerForm), l2 = null == t3 ? void 0 : t3.allowedDecimalPlaces, u = "-" === i3[0] ? 1 : 0; + if (1 === u && 1 === i3.length) return { ok: false, reason: o.invalid, errorPos: 0 }; + const c = i3.length; + let d = c - 1; + for (; d >= 0 && "0" === i3[d]; ) d--; + let p = d !== c - 1, _ = false, h = 0, m = 0; + const g = i3.indexOf("."); + g >= 0 && (m = c - g - 1); + for (let e4 = u; e4 <= d; e4++) { + const t4 = i3[e4]; + if ("0" !== t4) if ("." !== t4) { + if (!(t4 >= "1" && t4 <= "9")) return { ok: false, reason: o.invalid, errorPos: e4 }; + if (h === n2.default.maxPrecision) return { ok: false, reason: o.tooMuchPrecision, errorPos: e4, significantDigits: n2.default.maxPrecision + 1, maxPrecision: n2.default.maxPrecision }; + h++; + } else { + if (_) return { ok: false, reason: o.invalid, errorPos: e4 }; + _ = true; + } + else 0 !== h || p ? h++ : p = true; + } + return (s2 || _) && (h > 0 || p) ? void 0 !== l2 && m > l2 ? { ok: false, reason: o.tooManyDecimalPlaces, errorPos: g + 1 + l2, decimalPlaces: m, allowedDecimalPlaces: l2 } : { ok: true, parsedDecimal: r2.ParsedDecimal.fromValidatedParts(i3, h, m) } : /^-?[0-9]+(\.[0-9]*)?$/.test(i3) || /^-?\.[0-9]+$/.test(i3) ? { ok: false, reason: o.tooMuchPrecision, errorPos: 0, significantDigits: h, maxPrecision: n2.default.maxPrecision } : { ok: false, reason: o.invalid, errorPos: g >= 0 ? g : 0 }; + } + function l(e3, t3) { + const i3 = s(e3, t3); + if (true === i3.ok) return i3.parsedDecimal; + } + Object.defineProperty(t2, "ParsedDecimal", { enumerable: true, get: function() { + return a.ParsedDecimal; + } }), (function(e3) { + e3.empty = "empty", e3.invalid = "invalid", e3.tooMuchPrecision = "tooMuchPrecision", e3.tooManyDecimalPlaces = "tooManyDecimalPlaces"; + })(o || (t2.ValidateDecimalStringReason = o = {})), t2.VALIDATE_ALLOW_INTEGER_FORM = { allowIntegerForm: true }, t2.VALIDATE_STRICT_DECIMAL = { allowIntegerForm: false }; }, 83959: (e2, t2, i2) => { const n2 = i2(26063); function r2() { @@ -98904,8 +106551,8 @@ ${e3.stack}`, n3 = [this].concat(i3); e2.exports = n2; }, 84378: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(81516), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(5730)), u = i2(80428), d = i2(47957); - class c extends l.default { + const n2 = i2(31635), r2 = i2(81516), o = n2.__importDefault(i2(27203)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = n2.__importDefault(i2(5730)), u = i2(80428), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends l.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -98916,22 +106563,22 @@ ${e3.stack}`, n3 = [this].concat(i3); return o.default.successFailure; } } - c.info = s.default.createActionInfo({ actionClass: c, canBeInTask: true, canBeTreeNode: false, helpTopic: a.helpTopics.actions.setExternalTag, modelClass: i2(60232), name: d.actions.setExternalTag, scriptingName: "ArchActionSetExternalTag" }), t2.A = c; + p.info = s.default.createActionInfo({ actionClass: p, canBeInTask: true, canBeTreeNode: false, helpTopic: a.helpTopics.actions.setExternalTag, modelClass: i2(60232), name: d.actions.setExternalTag, scriptingName: "ArchActionSetExternalTag", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 84415: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(12179), a = n2.__importDefault(i2(97891)), s = i2(33381), l = n2.__importDefault(i2(9183)), u = i2(99469), d = i2(47957); - class c extends l.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(12179), a = n2.__importDefault(i2(97891)), s = i2(33381), l = n2.__importDefault(i2(9183)), u = i2(99469), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends l.default { constructor(e3, t3) { super(e3, t3); } static get managedProperties() { - return [{ createDetails: s.FlowReferenceProperty.createCreateDetails({ flowType: r2.flowTypes.flowTypeVoice, supportsSpecificVersion: false }), options: u.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(1).setCanCreateObjectInAction(true)), property: "voiceFlow", yamlOptions: c.createYamlOptions("voiceFlow", (e3) => e3.setExportOrder(6)) }]; + return [{ createDetails: s.FlowReferenceProperty.createCreateDetails({ flowType: r2.flowTypes.flowTypeVoice, supportsSpecificVersion: false }), options: u.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(1).setCanCreateObjectInAction(true)), property: "voiceFlow", yamlOptions: p.createYamlOptions("voiceFlow", (e3) => e3.setExportOrder(6)) }]; } get targetFlowType() { return this.voiceFlow; } } - c.className = "CallVoiceFlowAction", c.info = a.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: o.helpTopics.actions.callVoiceFlow, modelClass: i2(55817), name: d.actions.callVoiceFlow, scriptingName: "ArchActionCallVoiceFlow" }), t2.A = c; + p.className = "CallVoiceFlowAction", p.info = a.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: o.helpTopics.actions.callVoiceFlow, modelClass: i2(55817), name: d.actions.callVoiceFlow, scriptingName: "ArchActionCallVoiceFlow", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 84424: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FindUserByIdActionModel = void 0; @@ -99017,6 +106664,16 @@ ${e3.stack}`, n3 = [this].concat(i3); if (i3[e4][t3]) return n3 = i3[e4][t3], true; }), n3; } + getActionByTrackingId(e3, t3) { + if (!e3 || !e3.id || "number" != typeof t3) return; + const i3 = this._getFlowSpecificMap(e3); + if (i3) for (const e4 of Object.keys(i3)) { + const n3 = i3[e4]; + if (n3) { + for (const e5 of Object.values(n3)) if (e5.trackingId === t3) return e5; + } + } + } getActionIdsForActionType(e3, t3) { if (l.ParameterValidator.expectFlowViewModel(e3, () => s.ParameterInfo.createFunctionParameter(this.className, "getActionIdsForActionType", "flowViewModel")), l.ParameterValidator.expectActionType(t3, () => s.ParameterInfo.createFunctionParameter(this.className, "getActionIdsForActionType", "actionType")), !e3 || !e3.id || !t3) return []; const i3 = this._getFlowSpecificMap(e3); @@ -99072,17 +106729,17 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 84568: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = i2(24032), a = i2(90480), s = n2.__importStar(i2(17498)), l = i2(9290), u = i2(12179), d = i2(12457), c = n2.__importDefault(i2(97891)), p = n2.__importDefault(i2(78791)), _ = n2.__importStar(i2(19859)), h = i2(47957); - class m extends p.default { + const n2 = i2(31635), r2 = i2(17604), o = i2(69453), a = i2(24032), s = i2(90480), l = n2.__importStar(i2(17498)), u = n2.__importStar(i2(19859)), c = i2(9290), d = n2.__importDefault(i2(4648)), p = i2(12179), _ = i2(12457), h = n2.__importDefault(i2(97891)), m = i2(1910), g = n2.__importDefault(i2(78791)), f = i2(47957); + class T extends g.default { constructor(e3, t3) { var i3; - super(e3), this.flowListManager = a.inboundFlowListManager.getBriefManagerWithFallback(), this.flowTypeResource = h.flow.types.inboundCall, t3 && this._loadModel(t3), this.topic = (0, o.getTopic)("transferToFlowAction").withContext("parentFlowId", null === (i3 = null == e3 ? void 0 : e3.topParentFlow) || void 0 === i3 ? void 0 : i3.id); + super(e3), this.flowListManager = s.inboundFlowListManager.getBriefManagerWithFallback(), this.flowTypeResource = f.flow.types.inboundCall, t3 && this._loadModel(t3), this.topic = (0, a.getTopic)("transferToFlowAction").withContext("parentFlowId", null === (i3 = null == e3 ? void 0 : e3.topParentFlow) || void 0 === i3 ? void 0 : i3.id); } get className() { return "TransferFlowActionViewModel"; } _getPossibleErrors() { - return l.flowTransferFailureReasons; + return c.flowTransferFailureReasons; } get flowId() { return this.model.flowId; @@ -99091,30 +106748,63 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.model.flowName; } getDetails() { - return this.flowId ? new d.ActionDetails([h.flow.flow], [this.flowName]) : null; + return this.flowId ? new _.ActionDetails([f.flow.flow], [this.flowName]) : null; } static get managedProperties() { - return [{ property: "flowName", isJustForFlowYaml: true, yamlOptions: m.createYamlOptions("flowName", (e3) => e3.setExportOrder(20).setPropertyName("targetFlow").setWrappedValueName("name")) }]; + return [{ property: "flowName", isJustForFlowYaml: true, yamlOptions: T.createYamlOptions("flowName", (e3) => e3.setExportOrder(20).setPropertyName("targetFlow").setWrappedValueName("name")) }]; } search(e3) { - super.search(e3), e3.checkText(this, this.flowName, h.flow.flow); + super.search(e3), e3.checkText(this, this.flowName, f.flow.flow); } setTransferToFlowInfo(e3, t3) { this.model.flowId = e3, e3 || this.topic.infoWithStack(null, `No flow id specified for flow transfer to ( flowId: '${e3}' )`), this.model.flowName = t3, this.updateDependencies(); } + repointSelfReferencingFlow(e3, t3) { + u.repointSelfReferenceIfMatch(this.flowId, this.flowName, e3, t3, (e4, t4) => { + this.setTransferToFlowInfo(e4, t4); + }); + } updateDependencies() { - super.updateDependencies(), this.flowName && this.flowId ? this.flowListManager.registerConsumer(this, this.flowName, this.flowId) : s.unRegisterConsumer(this, "flow"); + super.updateDependencies(), this.flowName && this.flowId ? this.flowListManager.registerConsumer(this, this.flowName, this.flowId) : l.unRegisterConsumer(this, "flow"); } validate(e3) { - if (super.validate(e3), !this.flowId) return void e3.addError(this, (0, r2.sprintf)(h.expression.notSetWithContext, this.flowTypeResource)); + if (super.validate(e3), !this.flowId) return void e3.addError(this, (0, r2.sprintf)(f.expression.notSetWithContext, this.flowTypeResource)); let t3 = this.flowListManager.getItem(this.flowId); - t3 || (t3 = this.flowListManager.getItemFromFullManager(this.flowId)), !t3 || t3.deleted ? e3.addError(this, (0, r2.sprintf)(h.expression.literalDropDownValueDoesNotExist, this.flowTypeResource, this.flowName)) : (this.flowName !== t3.displayName && this.setTransferToFlowInfo(this.flowId, t3.displayName), _.flowHasUnpublishedWarning(t3, this.parentFlow) && e3.addWarning(this, _.getUnpublishedWarning(t3, this.parentFlow))); + t3 || (t3 = this.flowListManager.getItemFromFullManager(this.flowId)), !t3 || t3.deleted ? e3.addError(this, (0, r2.sprintf)(f.expression.literalDropDownValueDoesNotExist, this.flowTypeResource, this.flowName)) : (this.flowName !== t3.displayName && this.setTransferToFlowInfo(this.flowId, t3.displayName), u.flowHasUnpublishedWarning(t3, this.parentFlow) && e3.addWarning(this, u.getUnpublishedWarning(t3, this.parentFlow))); } get isTransferFlowAction() { return true; } + _configureFromModel(e3, t3, i3) { + if (void 0 !== e3.targetFlow) { + const t4 = e3.targetFlow; + let a2; + if ("string" == typeof t4) a2 = t4; + else if ((0, m.isConfigureFromModelRecord)(t4)) { + const e4 = t4; + "string" == typeof e4.name && (a2 = e4.name); + } + if (a2 && i3.entityResolver) { + const e4 = a2; + i3.registerDeferredOp({ type: "resolveTargetFlow", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + try { + const t5 = i3.lookupCache.get("flow", e4); + if (t5) this.setTransferToFlowInfo(t5.id, t5.name); + else { + const t6 = yield i3.entityResolver.resolve("flow", e4); + t6 ? (i3.lookupCache.set("flow", e4, t6), this.setTransferToFlowInfo(t6.id, t6.name)) : i3.warn((0, r2.sprintf)(o.configureFromModel.failedToResolve, "target flow", e4)); + } + } catch (t5) { + const n3 = t5 instanceof Error ? t5.message : String(t5); + i3.warn((0, r2.sprintf)(o.configureFromModel.entityResolutionFailed, "targetFlow", e4, n3)); + } + }) }); + } else a2 && this.setTransferToFlowInfo(void 0, a2); + } + super._configureFromModel(e3, t3, i3); + } } - m.info = c.default.createActionInfo({ actionClass: m, canBeInTask: true, canBeTreeNode: true, helpTopic: u.helpTopics.actions.transferFlow, modelClass: i2(54668), name: h.actions.transfers.flow, scriptingName: "ArchActionTransferToFlow" }), t2.default = m; + T.info = h.default.createActionInfo({ actionClass: T, canBeInTask: true, canBeTreeNode: true, helpTopic: p.helpTopics.actions.transferFlow, modelClass: i2(54668), name: f.actions.transfers.flow, scriptingName: "ArchActionTransferToFlow", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.default = T; }, 84584: (e2, t2, i2) => { const n2 = i2(45214), r2 = i2(29374); function o() { @@ -99148,7 +106838,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 84663: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.SpeechRecViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(62829)), a = n2.__importStar(i2(98442)), s = i2(84464), l = i2(30801), u = i2(30801), d = i2(30801), c = i2(30801), p = i2(65888), _ = i2(17604), h = n2.__importDefault(i2(41510)), m = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(62829)), a = n2.__importStar(i2(98442)), s = i2(84464), l = i2(30801), u = i2(30801), c = i2(30801), d = i2(30801), p = i2(65888), _ = i2(17604), h = n2.__importDefault(i2(41510)), m = i2(47957); t2.SpeechRecViewModel = class { constructor(e3, t3, i3) { this.parentFlow = e3, this.menuChoice = t3, this.model = i3, this._allContainers = {}, this._duplicates = [], this._initialize(); @@ -99232,7 +106922,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } getGlobalSpeechSpeechRecDisabledError() { - const e3 = [d.lexActionType, c.lexV2ActionType, l.dialogflowActionType, u.dialogflowCxActionType]; + const e3 = [c.lexActionType, d.lexV2ActionType, l.dialogflowActionType, u.dialogflowCxActionType]; let t3; for (let i3 = 0; i3 < e3.length; i3++) { const n3 = e3[i3]; @@ -99278,8 +106968,8 @@ ${e3.stack}`, n3 = [this].concat(i3); } } }), e2.exports = n2; }, 84684: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(21647), a = i2(80428), s = i2(27244), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(21647), a = i2(80428), s = i2(27244), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -99287,11 +106977,11 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.getJourneySession.idLabel, searchResultLabel: d.findActions.getJourneySession.resultLabel, searchResultExpressionOptions: o.ExpressionTypeComplexOptions.create(), searchResultItemType: a.expressionTypeNames.journeySession }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.getJourneySession, modelClass: s.GetJourneySessionActionModel, name: d.actions.getJourneySession, scriptingName: "ArchActionGetJourneySession" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.getJourneySession, modelClass: s.GetJourneySessionActionModel, name: d.actions.getJourneySession, scriptingName: "ArchActionGetJourneySession", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 84693: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(79364), a = i2(17604), s = n2.__importDefault(i2(92140)), l = i2(33380), u = i2(4333), d = i2(28803), c = n2.__importDefault(i2(20030)), p = i2(73062), _ = i2(28562), h = n2.__importDefault(i2(73198)), m = (n2.__importStar(i2(63352)), i2(80428)), g = n2.__importStar(i2(24032)), f = i2(67607), T = i2(82319), y = i2(78513), S = i2(81516), A = i2(99469), N = n2.__importDefault(i2(22917)), O = n2.__importDefault(i2(2318)), I = i2(99472), v = i2(69078), C = i2(67801), b = i2(18894), E = n2.__importStar(i2(36781)), R = n2.__importStar(i2(10798)), w = n2.__importDefault(i2(77862)), D = n2.__importStar(i2(13436)), P = n2.__importStar(i2(98442)), M = n2.__importDefault(i2(4648)), F = i2(37647), L = i2(14240), x = i2(56872), k = i2(56872), V = i2(38551), U = i2(12179), B = n2.__importDefault(i2(20084)), G = i2(18685), j = i2(21733), W = i2(47957), q = "knowledgeSettings", Y = g.getTopic(q); + const n2 = i2(31635), r2 = i2(96618), o = i2(79364), a = i2(17604), s = n2.__importDefault(i2(92140)), l = i2(33380), u = i2(4333), c = i2(28803), d = n2.__importDefault(i2(20030)), p = i2(73062), _ = i2(28562), h = n2.__importDefault(i2(73198)), m = (n2.__importStar(i2(63352)), i2(80428)), g = n2.__importStar(i2(24032)), f = i2(67607), T = i2(82319), y = i2(78513), S = i2(81516), A = i2(99469), N = n2.__importDefault(i2(22917)), v = n2.__importDefault(i2(2318)), O = i2(99472), I = i2(69078), C = i2(67801), b = i2(18894), E = n2.__importStar(i2(36781)), w = n2.__importStar(i2(10798)), R = n2.__importDefault(i2(77862)), D = n2.__importStar(i2(13436)), P = n2.__importStar(i2(98442)), M = n2.__importDefault(i2(4648)), F = i2(37647), L = i2(14240), x = i2(56872), k = i2(56872), V = i2(38551), U = i2(12179), B = n2.__importDefault(i2(20084)), G = i2(18685), j = i2(21733), W = i2(47957), q = "knowledgeSettings", Y = g.getTopic(q); class H extends B.default { get knowledgeBaseModel() { return this.knowledgeBaseModel$.value; @@ -99300,14 +106990,14 @@ ${e3.stack}`, n3 = [this].concat(i3); this.knowledgeBaseModel$.next(e3); } constructor(e3) { - super(e3, q, G), this.knowledgeBaseModel$ = new o.BehaviorSubject(void 0), this.labelBadge = I.aiPoweredBadgeWithNoText; + super(e3, q, G), this.knowledgeBaseModel$ = new o.BehaviorSubject(void 0), this.labelBadge = O.aiPoweredBadgeWithNoText; } static get managedProperties() { const e3 = { responsiveForm: true, hideInfoIcon: true, showInputDescription: true }; - return [{ label: W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherDescription).setIninTestingField("knowledgeVersion").setAllowModeLiteralOnly().setIsOptional(true).setFeatureConfigName(M.default.botFlowsVirtualAgentKnowledgeV3).setValueChangedCallback((e4) => e4.parent.updateKnowledgeVersionSetting()).setUiLayout(Object.assign({}, e3)).facets.setAllowableValues([V.KnowledgeVersionValues.v2, V.KnowledgeVersionValues.v3])), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot], property: "knowledgeVersion", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.defaultKnowledgeBase, options: A.ManagedPropertyOptions.create((t3) => t3.setIninTestingField("knowledge-selector").setFeatureConfigName(M.default.botFlowsKnowledge).setDropdownPlaceholder(W.knowledgeSettings.knowledgeBasePlaceholder).setDescriptionInfo(W.knowledgeSettings.knowledgeBase, W.knowledgeSettings.knowledgeBaseDescription).setUiLayout(Object.assign({}, e3))), property: "knowledge", createDetails: d.NetworkBasedActionProperty.createCreateDetails("knowledgeBaseId", "knowledgeBaseName", C.knowledgeBaseManager, W.knowledgeSettings.knowledgeBasePlaceholder, W.knowledgeSettings.knowledgeBaseNotFound, null, (e4) => e4.action.getAdditionalKnowledgeParams(), (e4, t3) => { + return [{ label: W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherDescription).setIninTestingField("knowledgeVersion").setAllowModeLiteralOnly().setIsOptional(true).setFeatureConfigName(M.default.botFlowsVirtualAgentKnowledgeV3).setValueChangedCallback((e4) => e4.parent.updateKnowledgeVersionSetting()).setUiLayout(Object.assign({}, e3)).facets.setAllowableValues([V.KnowledgeVersionValues.v2, V.KnowledgeVersionValues.v3])), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot], property: "knowledgeVersion", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.defaultKnowledgeBase, options: A.ManagedPropertyOptions.create((t3) => t3.setIninTestingField("knowledge-selector").setFeatureConfigName(M.default.botFlowsKnowledge).setDropdownPlaceholder(W.knowledgeSettings.knowledgeBasePlaceholder).setDescriptionInfo(W.knowledgeSettings.knowledgeBase, W.knowledgeSettings.knowledgeBaseDescription).setUiLayout(Object.assign({}, e3))), property: "knowledge", createDetails: c.NetworkBasedActionProperty.createCreateDetails("knowledgeBaseId", "knowledgeBaseName", C.knowledgeBaseManager, W.knowledgeSettings.knowledgeBasePlaceholder, W.knowledgeSettings.knowledgeBaseNotFound, null, (e4) => e4.action.getAdditionalKnowledgeParams(), (e4, t3) => { const i3 = P.getLangKnowledgeBaseLanguageTag(e4.action.parentFlow.defaultLanguageLCase); - return (O.default.currentUserCanUseContentSearchEnabledKnowledge || !t3.contentSearchEnabled) && t3.coreLanguage.toLowerCase() === i3; - }), yamlOptions: N.default.create("knowledge", (e4) => e4.setSkipProperty(true)) }, { label: W.knowledgeSettings.defaultKnowledgeBase, options: A.ManagedPropertyOptions.create((t3) => t3.setIninTestingField("knowledge-selector-v3").setFeatureConfigName(M.default.botFlowsVirtualAgentKnowledgeV3).setDropdownPlaceholder(W.knowledgeSettings.knowledgeSettingPlaceHolder).setDescriptionInfo(W.knowledgeSettings.knowledgeSetting, W.knowledgeSettings.knowledgeSettingDescription).setUiLayout(Object.assign({}, e3))), property: "knowledge_v3", createDetails: d.NetworkBasedActionProperty.createCreateDetails("knowledgeSettingId", "knowledgeSettingName", b.knowledgeSettingManager, W.knowledgeSettings.knowledgeSettingPlaceHolder, W.knowledgeSettings.knowledgeSettingNotFound, null), yamlOptions: N.default.create("knowledge_v3", (e4) => e4.setSkipProperty(true)) }, { label: W.knowledgeSettings.welcomeArticle, options: A.ManagedPropertyOptions.create((t3) => t3.setIninTestingField("knowledge-document-selector").setDropdownPlaceholder(W.knowledgeSettings.knowledgeBaseDocumentPlaceholder).setFeatureConfigName(M.default.botFlowsDxBotSupportFeature).setDescriptionInfo(W.knowledgeSettings.welcomeArticle, W.knowledgeSettings.welcomeArticleDescription).setUiLayout(Object.assign({}, e3))), property: "welcomeArticle", createDetails: d.NetworkBasedActionProperty.createCreateDetails("knowledgeBaseWelcomeDocumentId", "knowledgeBaseWelcomeDocumentName", v.knowledgeBaseDocumentManager, W.knowledgeSettings.knowledgeBaseDocumentPlaceholder, W.knowledgeSettings.knowledgeBaseDocumentNotFound, "knowledge", (e4) => e4.action.getAdditionalKnowledgeArticleParams(), (e4, t3) => e4.action.knowledgeDocumentSearchFilter(t3)), supportedFlowTypes: [r2.flowTypes.flowTypeBot], yamlOptions: N.default.create("welcomeArticle", (e4) => e4.setPropertyName("welcomeArticle")) }, { label: W.knowledgeSettings.knowledgeMaxNumAnswersReturned, options: y.ExpressionTypeIntegerOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeMaxNumAnswersReturned, W.knowledgeSettings.knowledgeMaxNumAnswersReturnedDescription).setIninTestingField("maxNumOfAnswersReturned").setIsOptional(false).setDefaultText("3").setFeatureConfigName(M.default.botFlowsKnowledge).setUiDisableOnOutOfService(true).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnMaxNumOfAnswers()).setUiLayout(Object.assign({}, e3)).facets.setMinInt(1, true).setMaxInt(20, true)), property: "maxNumOfAnswersReturned", type: m.expressionTypeNames.integer }, { label: W.knowledgeSettings.knowledgeFollowUpStatement, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeFollowUpStatement, W.knowledgeSettings.knowledgeInitialResponseFollowupDescription).setIninTestingField("knowledgeInitialResponseFollowup").setIsOptional(true).setDefaultToNoValue(true).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeFollowupSequence).setUiLayout(Object.assign({}, e3))), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], property: "knowledgeInitialResponseFollowup", type: m.expressionTypeNames.communication, yamlOptions: N.default.create("knowledgeInitialResponseFollowup", (e4) => e4.setSerializeOutOfService(R.isFeatureAvailable(M.default.botFlowsDigitalBotFlowsKnowledgePathFeature)).setDoNotExportForFlowTypes([r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoice])) }, { label: W.knowledgeSettings.knowledgeFollowUpSwitcherLabel, options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeFollowUpSwitcherLabel, W.knowledgeSettings.knowledgeFollowUpSwitcherDescription).setIninTestingField("knowledgePathMode").setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(L.KnowledgeMode.statement).setFeatureConfigName(M.default.botFlowsDigitalBotFlowsKnowledgePathFeature).setUiDisableOnOutOfService(true).setValueChangedCallback((e4) => e4.parent.updateSettingsKnowledgePaths()).setUiLayout(Object.assign({}, e3)).facets.setAllowableValues([L.KnowledgeMode.statement, L.KnowledgeMode.task])), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], property: "knowledgePathMode", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.knowledgeFollowUpTaskLabel, createDetails: u.ContainerActionProperty.createCreateDetails({ modelIdPropName: "knowledgeFollowupTaskId", modelNamePropName: "knowledgeFollowupTaskName", itemDoesNotExistBaseString: W.task.label, noReferenceString: W.knowledgeSettings.knowledgeFollowUpTaskErrorMessage, referencesTasks: true, isForFollowUpKnowledgeTask: true, validReferenceCallback: (e4) => e4 && !e4.isTransferable && e4.hasBranchTerminatingWithEndTask ? { error: W.task.invalidReferenceTaskTransfer } : e4 && e4.isTask && e4.isTransferable ? void 0 : { error: W.task.invalidReference } }), options: A.ManagedPropertyOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeFollowUpTaskLabel, W.knowledgeSettings.knowledgeFollowUpTaskDescription).setIninTestingField("knowledgeFollowupTask").setFeatureConfigName(M.default.botFlowsDigitalBotFlowsKnowledgePathFeature).setUiLayout(Object.assign({}, e3))), property: "knowledgeFollowupTask", supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], yamlOptions: c.default.createYamlOptions("knowledgeFollowupTask", (e4) => e4.setSerializeOutOfService(R.isFeatureAvailable(M.default.botFlowsDigitalBotFlowsKnowledgePathFeature)).setPropertyName("targetTaskRef").setWrappedObjectName("knowledgePath")) }, { label: W.knowledgeSettings.knowledgeInitialResponseSingleLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeInitialResponseSingleLabel, W.knowledgeSettings.knowledgeInitialResponseSingleDescription).setIninTestingField("knowledgeInitialResponseSingle").setIsOptional(true).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToNoValue(true).setUiDisableOnOutOfService(true).setUiLayout(Object.assign({}, e3))), property: "knowledgeInitialResponseSingle", type: m.expressionTypeNames.communication }, { label: W.knowledgeSettings.knowledgeContextSearchLabel, options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeContextSearchLabel, W.knowledgeSettings.knowledgeContextSearchDescription).setIninTestingField("knowledgeContextSearch").setUseToggle(true).setDefaultText(h.default.true).setFeatureConfigName(M.default.botFlowsVirtualAgentKnowledgeV3).setAllowModeLiteralOnly().setDescriptionNote(W.knowledgeSettings.knowledgeContextSearchDescriptionNote).setBoolText(W.knowledgeSettings.knowledgeContextSearchEnabled, W.knowledgeSettings.knowledgeContextSearchDisabled).setUiLayout(Object.assign({}, e3))), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot], property: "knowledgeContextSearch", type: m.expressionTypeNames.boolean }, { label: W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherDescription).setIninTestingField("knowledgeAnswerContentType").setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(F.KnowledgeAnswerContentType.standard).setFeatureConfigName(M.default.botFlowsAnswerGeneration).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnAnswerContentTypeMode()).setUiLayout(Object.assign({}, e3)).facets.setAllowableValues([F.KnowledgeAnswerContentType.standard, F.KnowledgeAnswerContentType.highlight, F.KnowledgeAnswerContentType.generative])), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeBot], options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherDescription).setIninTestingField("knowledgeAnswerContentType").setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(F.KnowledgeAnswerContentType.standard).setFeatureConfigName(M.default.botFlowsAnswerGenerationMultipleArticles).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnAnswerContentTypeMode()).setUiLayout(Object.assign({}, e3)).facets.setAllowableValues([F.KnowledgeAnswerContentType.standard, F.KnowledgeAnswerContentType.generative])) }], supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot], property: "knowledgeAnswerContentType", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.knowledgeAnswerHighlightLabel, supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeAnswerHighlightLabel, W.knowledgeSettings.knowledgeAnswerHighlightDescription).setIninTestingField("knowledgeAnswerHighlight").setDefaultText(h.default.false).setVirtualAgentLabelBadge().setUseToggle(true).setIsOptional(false).setFeatureConfigName(M.default.botFlowsAnswerHighlight).setAllowModeLiteralOnly().setBoolText(W.knowledgeSettings.knowledgeAnswerHighlightEnabled, W.knowledgeSettings.knowledgeAnswerHighlightDisabled).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnAnswerHighlight()).setUiLayout(Object.assign({}, e3))), property: "knowledgeAnswerHighlight", type: m.expressionTypeNames.boolean }, { label: W.knowledgeSettings.knowledgeMultiArticleLabel, options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeMultiArticleLabel, W.knowledgeSettings.knowledgeMultiArticleDescription).setIninTestingField("knowledgeMultiArticleSource").setUseToggle(true).setDefaultText(h.default.false).setFeatureConfigName(M.default.botFlowsAnswerGenerationMultipleArticles).setAllowModeLiteralOnly().setBoolText(W.knowledgeSettings.knowledgeMultiArticleEnabled, W.knowledgeSettings.knowledgeMultiArticleDisabled).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnMultiArticle()).setUiDisabledTooltip(W.knowledgeSettings.knowledgeMultiArticleDisabledBotFlowTooltip).setUiLayout(Object.assign({}, e3))), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot], property: "knowledgeMultiArticleSource", type: m.expressionTypeNames.boolean }, { label: W.knowledgeSettings.knowledgeAnswerHighlightFullArticleLabel, supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeAnswerHighlightFullArticleLabel, W.knowledgeSettings.knowledgeAnswerHighlightFullArticleDescription).setIninTestingField("knowledgeAnswerHighlightFullArticle").setIsOptional(true).setAllowedBuilderCategoryIdFilter(p.builderCategoryIds.labelString).setDefaultToBuilderId(_.builderIds.parts.labelString).setFeatureConfigName(M.default.botFlowsAnswerHighlight).setUiLayout(Object.assign({}, e3))), property: "knowledgeAnswerHighlightFullArticle", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.knowledgeAnswerHighlightFlowProgressionLabel, supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeAnswerHighlightFlowProgressionLabel, W.knowledgeSettings.knowledgeAnswerHighlightFlowProgressionDescription).setIninTestingField("knowledgeAnswerHighlightFlowProgression").setIsOptional(true).setAllowedBuilderCategoryIdFilter(p.builderCategoryIds.labelString).setDefaultToBuilderId(_.builderIds.parts.labelString).setFeatureConfigName(M.default.botFlowsAnswerHighlight).setUiLayout(Object.assign({}, e3))), property: "knowledgeAnswerHighlightFlowProgression", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.knowledgeInitialResponseMultiLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeInitialResponseMultiLabel, W.knowledgeSettings.knowledgeInitialResponseMultiDescription).setIninTestingField("knowledgeInitialResponseMulti").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeInitialResponseMultiSequence).setUiLayout(Object.assign({}, e3))), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeInitialResponseMultiLabel, W.knowledgeSettings.knowledgeInitialResponseMultiDescription).setIninTestingField("knowledgeInitialResponseMulti").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeInitialResponseMultiSequence).setUiLayout(Object.assign({}, e3))) }], property: "knowledgeInitialResponseMulti", type: m.expressionTypeNames.communication }, { label: W.knowledgeSettings.knowledgeInitialResponseMultiRetryLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeInitialResponseMultiRetryLabel, W.knowledgeSettings.knowledgeInitialResponseMultiRetryDescription).setIninTestingField("knowledgeInitialResponseMultiRetry").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeInitialResponseMultiRetrySequence).setUiLayout(Object.assign({}, e3))), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeInitialResponseMultiRetryLabel, W.knowledgeSettings.knowledgeInitialResponseMultiRetryDescription).setIninTestingField("knowledgeInitialResponseMultiRetry").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeInitialResponseMultiRetrySequence).setUiLayout(Object.assign({}, e3))) }], property: "knowledgeInitialResponseMultiRetry", type: m.expressionTypeNames.communication }, { label: W.knowledgeSettings.knowledgeNoMatchLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeNoMatchLabel, W.knowledgeSettings.knowledgeNoMatchDescription).setIninTestingField("knowledgeNoMatch").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeNoMatchSequence).setDoNotWantBlankRuntimeOutput(true).setAllowNotSet(false).setUiLayout(Object.assign({}, e3)).facets.setAllowNull(false)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeNoMatchLabel, W.knowledgeSettings.knowledgeNoMatchDescription).setIninTestingField("knowledgeNoMatch").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeNoMatchSequence).setDoNotWantBlankRuntimeOutput(true).setAllowNotSet(false).setUiLayout(Object.assign({}, e3)).facets.setAllowNull(false)) }], property: "knowledgeNoMatch", type: m.expressionTypeNames.communication }, { label: W.knowledgeSettings.knowledgeConfirmationToggleLabel, options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeConfirmationToggleLabel, (0, a.sprintf)(W.knowledgeSettings.knowledgeConfirmationToggleDescription, W.knowledgeSettings.knowledgeConfirmationLabel)).setIninTestingField("sendKnowledgeFeedback").setDefaultText(h.default.true).setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setAllowModeLiteralOnly().setUiDisableOnOutOfService(true).setBoolText(W.generic.genericOn, W.generic.genericOff).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnKnowledgeFeedback()).setUiLayout(Object.assign({}, e3))), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeConfirmationToggleLabel, (0, a.sprintf)(W.knowledgeSettings.knowledgeConfirmationToggleDescription, W.knowledgeSettings.knowledgeConfirmationLabel)).setIninTestingField("sendKnowledgeFeedback").setUseToggle(R.isFeatureAvailable(M.default.botFlowsAnswerHighlight)).setDefaultText(h.default.false).setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledgeFeedback).setAllowModeLiteralOnly().setUiDisableOnOutOfService(true).setBoolText(R.isFeatureAvailable(M.default.botFlowsAnswerHighlight) ? W.knowledgeSettings.knowledgeSendFeedbackEnabled : W.generic.genericOn, R.isFeatureAvailable(M.default.botFlowsAnswerHighlight) ? W.knowledgeSettings.knowledgeSendFeedbackDisabled : W.generic.genericOff).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnKnowledgeFeedback()).setUiLayout(Object.assign({}, e3))) }], supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], property: "sendKnowledgeFeedback", type: m.expressionTypeNames.boolean }, { label: W.knowledgeSettings.knowledgeConfirmationLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeConfirmationLabel, W.knowledgeSettings.knowledgeConfirmationDescription).setIninTestingField("knowledgeConfirmation").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeConfirmationSequence).setUiLayout(Object.assign({}, e3))), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeConfirmationLabel, W.knowledgeSettings.knowledgeConfirmationDescription).setIninTestingField("knowledgeConfirmation").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledgeFeedback).setDefaultToBuilderId(_.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeConfirmationSequence).setUiLayout(Object.assign({}, e3))) }], supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], property: "knowledgeConfirmation", type: m.expressionTypeNames.communication }, { label: W.knowledgeSettings.knowledgeResponseBias, options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeResponseBias, W.knowledgeSettings.responseBiasDescription).setIninTestingField("responseBias").setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(D.neutral.id).setFeatureConfigName(M.default.botFlowsKnowledge).setUiDisableOnOutOfService(true).setUiLayout(Object.assign({}, e3)).facets.setAllowableValues(D.allModes).setPreferRadioButtonsCount(3)), property: "responseBias", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.knowledgeSettingsModeLabel, options: S.ExpressionTypeStringOptions.create((e4) => e4.setDescriptionInfo(W.knowledgeSettings.knowledgeSettingsModeLabel, W.knowledgeSettings.knowledgeSettingsModeDescription).setIninTestingField("knowledgeSettingsMode").setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(x.KnowledgeSettingsModeValues.standard.id).setFeatureConfigName(M.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature).setValueChangedCallback((e5) => e5.parent.setOutOfService(!e5.parent.knowledgeId)).facets.setAllowableValues([x.KnowledgeSettingsModeValues.standard, x.KnowledgeSettingsModeValues.custom])), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeBot], options: S.ExpressionTypeStringOptions.create((e4) => e4.setDescriptionInfo(W.knowledgeSettings.knowledgeSettingsModeLabel, W.knowledgeSettings.knowledgeSettingsModeDescription).setIninTestingField("knowledgeSettingsMode").setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(x.KnowledgeSettingsModeValues.standard.id).setFeatureConfigName(M.default.botFlowsAdvancedKnowledgeHandling).setValueChangedCallback((e5) => e5.parent.setOutOfService(!e5.parent.knowledgeId)).facets.setAllowableValues([x.KnowledgeSettingsModeValues.standard, x.KnowledgeSettingsModeValues.custom])) }], supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], property: "knowledgeSettingsMode", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.knowledgeCustomHandlerTaskLabel, createDetails: u.ContainerActionProperty.createCreateDetails({ modelIdPropName: "knowledgeCustomHandlerTaskId", modelNamePropName: "knowledgeCustomHandlerTaskName", itemDoesNotExistBaseString: W.task.label, noReferenceString: W.knowledgeSettings.knowledgeCustomHandlerTaskErrorMessage, referencesTasks: true, isForCustomKnowledgeHandlingTask: true, validReferenceCallback: (e4) => e4 && !e4.isTransferable && e4.hasBranchTerminatingWithEndTask ? { error: W.task.invalidReferenceTaskTransfer } : e4 && e4.isTask && e4.isTransferable ? void 0 : { error: W.task.invalidReference } }), options: A.ManagedPropertyOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeCustomHandlerTaskLabel, W.knowledgeSettings.knowledgeCustomHandlerTaskDescription).setIninTestingField("knowledgeCustomHandlerTask").setFeatureConfigName(M.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature).setUiLayout(Object.assign({}, e3))), property: "knowledgeCustomHandlerTask", supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], yamlOptions: c.default.createYamlOptions("knowledgeCustomHandlerTask", (e4) => e4.setPropertyName("targetTaskRef").setWrappedObjectName("knowledgeCustomTask")) }]; + return (v.default.currentUserCanUseContentSearchEnabledKnowledge || !t3.contentSearchEnabled) && t3.coreLanguage.toLowerCase() === i3; + }), yamlOptions: N.default.create("knowledge", (e4) => e4.setSkipProperty(true)) }, { label: W.knowledgeSettings.defaultKnowledgeBase, options: A.ManagedPropertyOptions.create((t3) => t3.setIninTestingField("knowledge-selector-v3").setFeatureConfigName(M.default.botFlowsVirtualAgentKnowledgeV3).setDropdownPlaceholder(W.knowledgeSettings.knowledgeSettingPlaceHolder).setDescriptionInfo(W.knowledgeSettings.knowledgeSetting, W.knowledgeSettings.knowledgeSettingDescription).setUiLayout(Object.assign({}, e3))), property: "knowledge_v3", createDetails: c.NetworkBasedActionProperty.createCreateDetails("knowledgeSettingId", "knowledgeSettingName", b.knowledgeSettingManager, W.knowledgeSettings.knowledgeSettingPlaceHolder, W.knowledgeSettings.knowledgeSettingNotFound, null), yamlOptions: N.default.create("knowledge_v3", (e4) => e4.setSkipProperty(true)) }, { label: W.knowledgeSettings.welcomeArticle, options: A.ManagedPropertyOptions.create((t3) => t3.setIninTestingField("knowledge-document-selector").setDropdownPlaceholder(W.knowledgeSettings.knowledgeBaseDocumentPlaceholder).setFeatureConfigName(M.default.botFlowsDxBotSupportFeature).setDescriptionInfo(W.knowledgeSettings.welcomeArticle, W.knowledgeSettings.welcomeArticleDescription).setUiLayout(Object.assign({}, e3))), property: "welcomeArticle", createDetails: c.NetworkBasedActionProperty.createCreateDetails("knowledgeBaseWelcomeDocumentId", "knowledgeBaseWelcomeDocumentName", I.knowledgeBaseDocumentManager, W.knowledgeSettings.knowledgeBaseDocumentPlaceholder, W.knowledgeSettings.knowledgeBaseDocumentNotFound, "knowledge", (e4) => e4.action.getAdditionalKnowledgeArticleParams(), (e4, t3) => e4.action.knowledgeDocumentSearchFilter(t3)), supportedFlowTypes: [r2.flowTypes.flowTypeBot], yamlOptions: N.default.create("welcomeArticle", (e4) => e4.setPropertyName("welcomeArticle")) }, { label: W.knowledgeSettings.knowledgeMaxNumAnswersReturned, options: y.ExpressionTypeIntegerOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeMaxNumAnswersReturned, W.knowledgeSettings.knowledgeMaxNumAnswersReturnedDescription).setIninTestingField("maxNumOfAnswersReturned").setIsOptional(false).setDefaultText("3").setFeatureConfigName(M.default.botFlowsKnowledge).setUiDisableOnOutOfService(true).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnMaxNumOfAnswers()).setUiLayout(Object.assign({}, e3)).facets.setMinInt(1, true).setMaxInt(20, true)), property: "maxNumOfAnswersReturned", type: m.expressionTypeNames.integer }, { label: W.knowledgeSettings.knowledgeFollowUpStatement, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeFollowUpStatement, W.knowledgeSettings.knowledgeInitialResponseFollowupDescription).setIninTestingField("knowledgeInitialResponseFollowup").setIsOptional(true).setDefaultToNoValue(true).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeFollowupSequence).setUiLayout(Object.assign({}, e3))), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], property: "knowledgeInitialResponseFollowup", type: m.expressionTypeNames.communication, yamlOptions: N.default.create("knowledgeInitialResponseFollowup", (e4) => e4.setSerializeOutOfService(w.isFeatureAvailable(M.default.botFlowsDigitalBotFlowsKnowledgePathFeature)).setDoNotExportForFlowTypes([r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoice])) }, { label: W.knowledgeSettings.knowledgeFollowUpSwitcherLabel, options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeFollowUpSwitcherLabel, W.knowledgeSettings.knowledgeFollowUpSwitcherDescription).setIninTestingField("knowledgePathMode").setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(L.KnowledgeMode.statement).setFeatureConfigName(M.default.botFlowsDigitalBotFlowsKnowledgePathFeature).setUiDisableOnOutOfService(true).setValueChangedCallback((e4) => e4.parent.updateSettingsKnowledgePaths()).setUiLayout(Object.assign({}, e3)).facets.setAllowableValues([L.KnowledgeMode.statement, L.KnowledgeMode.task])), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], property: "knowledgePathMode", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.knowledgeFollowUpTaskLabel, createDetails: u.ContainerActionProperty.createCreateDetails({ modelIdPropName: "knowledgeFollowupTaskId", modelNamePropName: "knowledgeFollowupTaskName", itemDoesNotExistBaseString: W.task.label, noReferenceString: W.knowledgeSettings.knowledgeFollowUpTaskErrorMessage, referencesTasks: true, isForFollowUpKnowledgeTask: true, validReferenceCallback: (e4) => e4 && !e4.isTransferable && e4.hasBranchTerminatingWithEndTask ? { error: W.task.invalidReferenceTaskTransfer } : e4 && e4.isTask && e4.isTransferable ? void 0 : { error: W.task.invalidReference } }), options: A.ManagedPropertyOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeFollowUpTaskLabel, W.knowledgeSettings.knowledgeFollowUpTaskDescription).setIninTestingField("knowledgeFollowupTask").setFeatureConfigName(M.default.botFlowsDigitalBotFlowsKnowledgePathFeature).setUiLayout(Object.assign({}, e3))), property: "knowledgeFollowupTask", supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], yamlOptions: d.default.createYamlOptions("knowledgeFollowupTask", (e4) => e4.setSerializeOutOfService(w.isFeatureAvailable(M.default.botFlowsDigitalBotFlowsKnowledgePathFeature)).setPropertyName("targetTaskRef").setWrappedObjectName("knowledgePath")) }, { label: W.knowledgeSettings.knowledgeInitialResponseSingleLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeInitialResponseSingleLabel, W.knowledgeSettings.knowledgeInitialResponseSingleDescription).setIninTestingField("knowledgeInitialResponseSingle").setIsOptional(true).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToNoValue(true).setUiDisableOnOutOfService(true).setUiLayout(Object.assign({}, e3))), property: "knowledgeInitialResponseSingle", type: m.expressionTypeNames.communication }, { label: W.knowledgeSettings.knowledgeContextSearchLabel, options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeContextSearchLabel, W.knowledgeSettings.knowledgeContextSearchDescription).setIninTestingField("knowledgeContextSearch").setUseToggle(true).setDefaultText(h.default.true).setFeatureConfigName(M.default.botFlowsVirtualAgentKnowledgeV3).setAllowModeLiteralOnly().setDescriptionNote(W.knowledgeSettings.knowledgeContextSearchDescriptionNote).setBoolText(W.knowledgeSettings.knowledgeContextSearchEnabled, W.knowledgeSettings.knowledgeContextSearchDisabled).setUiLayout(Object.assign({}, e3))), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot], property: "knowledgeContextSearch", type: m.expressionTypeNames.boolean }, { label: W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherDescription).setIninTestingField("knowledgeAnswerContentType").setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(F.KnowledgeAnswerContentType.standard).setFeatureConfigName(M.default.botFlowsAnswerGeneration).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnAnswerContentTypeMode()).setUiLayout(Object.assign({}, e3)).facets.setAllowableValues([F.KnowledgeAnswerContentType.standard, F.KnowledgeAnswerContentType.highlight, F.KnowledgeAnswerContentType.generative])), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeBot], options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, W.knowledgeSettings.knowledgeAnswerContentTypeSwitcherDescription).setIninTestingField("knowledgeAnswerContentType").setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(F.KnowledgeAnswerContentType.standard).setFeatureConfigName(M.default.botFlowsAnswerGenerationMultipleArticles).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnAnswerContentTypeMode()).setUiLayout(Object.assign({}, e3)).facets.setAllowableValues([F.KnowledgeAnswerContentType.standard, F.KnowledgeAnswerContentType.generative])) }], supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot], property: "knowledgeAnswerContentType", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.knowledgeAnswerHighlightLabel, supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeAnswerHighlightLabel, W.knowledgeSettings.knowledgeAnswerHighlightDescription).setIninTestingField("knowledgeAnswerHighlight").setDefaultText(h.default.false).setVirtualAgentLabelBadge().setUseToggle(true).setIsOptional(false).setFeatureConfigName(M.default.botFlowsAnswerHighlight).setAllowModeLiteralOnly().setBoolText(W.knowledgeSettings.knowledgeAnswerHighlightEnabled, W.knowledgeSettings.knowledgeAnswerHighlightDisabled).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnAnswerHighlight()).setUiLayout(Object.assign({}, e3))), property: "knowledgeAnswerHighlight", type: m.expressionTypeNames.boolean }, { label: W.knowledgeSettings.knowledgeMultiArticleLabel, options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeMultiArticleLabel, W.knowledgeSettings.knowledgeMultiArticleDescription).setIninTestingField("knowledgeMultiArticleSource").setUseToggle(true).setDefaultText(h.default.false).setFeatureConfigName(M.default.botFlowsAnswerGenerationMultipleArticles).setAllowModeLiteralOnly().setBoolText(W.knowledgeSettings.knowledgeMultiArticleEnabled, W.knowledgeSettings.knowledgeMultiArticleDisabled).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnMultiArticle()).setUiDisabledTooltip(W.knowledgeSettings.knowledgeMultiArticleDisabledBotFlowTooltip).setUiLayout(Object.assign({}, e3))), supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot, r2.flowTypes.flowTypeBot], property: "knowledgeMultiArticleSource", type: m.expressionTypeNames.boolean }, { label: W.knowledgeSettings.knowledgeAnswerHighlightFullArticleLabel, supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeAnswerHighlightFullArticleLabel, W.knowledgeSettings.knowledgeAnswerHighlightFullArticleDescription).setIninTestingField("knowledgeAnswerHighlightFullArticle").setIsOptional(true).setAllowedBuilderCategoryIdFilter(p.builderCategoryIds.labelString).setDefaultToBuilderId(_.builderIds.parts.labelString).setFeatureConfigName(M.default.botFlowsAnswerHighlight).setUiLayout(Object.assign({}, e3))), property: "knowledgeAnswerHighlightFullArticle", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.knowledgeAnswerHighlightFlowProgressionLabel, supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeAnswerHighlightFlowProgressionLabel, W.knowledgeSettings.knowledgeAnswerHighlightFlowProgressionDescription).setIninTestingField("knowledgeAnswerHighlightFlowProgression").setIsOptional(true).setAllowedBuilderCategoryIdFilter(p.builderCategoryIds.labelString).setDefaultToBuilderId(_.builderIds.parts.labelString).setFeatureConfigName(M.default.botFlowsAnswerHighlight).setUiLayout(Object.assign({}, e3))), property: "knowledgeAnswerHighlightFlowProgression", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.knowledgeInitialResponseMultiLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeInitialResponseMultiLabel, W.knowledgeSettings.knowledgeInitialResponseMultiDescription).setIninTestingField("knowledgeInitialResponseMulti").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeInitialResponseMultiSequence).setUiLayout(Object.assign({}, e3))), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeInitialResponseMultiLabel, W.knowledgeSettings.knowledgeInitialResponseMultiDescription).setIninTestingField("knowledgeInitialResponseMulti").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeInitialResponseMultiSequence).setUiLayout(Object.assign({}, e3))) }], property: "knowledgeInitialResponseMulti", type: m.expressionTypeNames.communication }, { label: W.knowledgeSettings.knowledgeInitialResponseMultiRetryLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeInitialResponseMultiRetryLabel, W.knowledgeSettings.knowledgeInitialResponseMultiRetryDescription).setIninTestingField("knowledgeInitialResponseMultiRetry").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeInitialResponseMultiRetrySequence).setUiLayout(Object.assign({}, e3))), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeInitialResponseMultiRetryLabel, W.knowledgeSettings.knowledgeInitialResponseMultiRetryDescription).setIninTestingField("knowledgeInitialResponseMultiRetry").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeInitialResponseMultiRetrySequence).setUiLayout(Object.assign({}, e3))) }], property: "knowledgeInitialResponseMultiRetry", type: m.expressionTypeNames.communication }, { label: W.knowledgeSettings.knowledgeNoMatchLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeNoMatchLabel, W.knowledgeSettings.knowledgeNoMatchDescription).setIninTestingField("knowledgeNoMatch").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeNoMatchSequence).setDoNotWantBlankRuntimeOutput(true).setAllowNotSet(false).setUiLayout(Object.assign({}, e3)).facets.setAllowNull(false)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeNoMatchLabel, W.knowledgeSettings.knowledgeNoMatchDescription).setIninTestingField("knowledgeNoMatch").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeNoMatchSequence).setDoNotWantBlankRuntimeOutput(true).setAllowNotSet(false).setUiLayout(Object.assign({}, e3)).facets.setAllowNull(false)) }], property: "knowledgeNoMatch", type: m.expressionTypeNames.communication }, { label: W.knowledgeSettings.knowledgeConfirmationToggleLabel, options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeConfirmationToggleLabel, (0, a.sprintf)(W.knowledgeSettings.knowledgeConfirmationToggleDescription, W.knowledgeSettings.knowledgeConfirmationLabel)).setIninTestingField("sendKnowledgeFeedback").setDefaultText(h.default.true).setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setAllowModeLiteralOnly().setUiDisableOnOutOfService(true).setBoolText(W.generic.genericOn, W.generic.genericOff).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnKnowledgeFeedback()).setUiLayout(Object.assign({}, e3))), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeConfirmationToggleLabel, (0, a.sprintf)(W.knowledgeSettings.knowledgeConfirmationToggleDescription, W.knowledgeSettings.knowledgeConfirmationLabel)).setIninTestingField("sendKnowledgeFeedback").setUseToggle(w.isFeatureAvailable(M.default.botFlowsAnswerHighlight)).setDefaultText(h.default.false).setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledgeFeedback).setAllowModeLiteralOnly().setUiDisableOnOutOfService(true).setBoolText(w.isFeatureAvailable(M.default.botFlowsAnswerHighlight) ? W.knowledgeSettings.knowledgeSendFeedbackEnabled : W.generic.genericOn, w.isFeatureAvailable(M.default.botFlowsAnswerHighlight) ? W.knowledgeSettings.knowledgeSendFeedbackDisabled : W.generic.genericOff).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnKnowledgeFeedback()).setUiLayout(Object.assign({}, e3))) }], supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], property: "sendKnowledgeFeedback", type: m.expressionTypeNames.boolean }, { label: W.knowledgeSettings.knowledgeConfirmationLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeConfirmationLabel, W.knowledgeSettings.knowledgeConfirmationDescription).setIninTestingField("knowledgeConfirmation").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeConfirmationSequence).setUiLayout(Object.assign({}, e3))), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeConfirmationLabel, W.knowledgeSettings.knowledgeConfirmationDescription).setIninTestingField("knowledgeConfirmation").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledgeFeedback).setDefaultToBuilderId(_.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeConfirmationSequence).setUiLayout(Object.assign({}, e3))) }], supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], property: "knowledgeConfirmation", type: m.expressionTypeNames.communication }, { label: W.knowledgeSettings.knowledgeResponseBias, options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeResponseBias, W.knowledgeSettings.responseBiasDescription).setIninTestingField("responseBias").setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(D.neutral.id).setFeatureConfigName(M.default.botFlowsKnowledge).setUiDisableOnOutOfService(true).setUiLayout(Object.assign({}, e3)).facets.setAllowableValues(D.allModes).setPreferRadioButtonsCount(3)), property: "responseBias", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.knowledgeSettingsModeLabel, options: S.ExpressionTypeStringOptions.create((e4) => e4.setDescriptionInfo(W.knowledgeSettings.knowledgeSettingsModeLabel, W.knowledgeSettings.knowledgeSettingsModeDescription).setIninTestingField("knowledgeSettingsMode").setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(x.KnowledgeSettingsModeValues.standard.id).setFeatureConfigName(M.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature).setValueChangedCallback((e5) => e5.parent.setOutOfService(!e5.parent.knowledgeId)).facets.setAllowableValues([x.KnowledgeSettingsModeValues.standard, x.KnowledgeSettingsModeValues.custom])), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeBot], options: S.ExpressionTypeStringOptions.create((e4) => e4.setDescriptionInfo(W.knowledgeSettings.knowledgeSettingsModeLabel, W.knowledgeSettings.knowledgeSettingsModeDescription).setIninTestingField("knowledgeSettingsMode").setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(x.KnowledgeSettingsModeValues.standard.id).setFeatureConfigName(M.default.botFlowsAdvancedKnowledgeHandling).setValueChangedCallback((e5) => e5.parent.setOutOfService(!e5.parent.knowledgeId)).facets.setAllowableValues([x.KnowledgeSettingsModeValues.standard, x.KnowledgeSettingsModeValues.custom])) }], supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeDigitalBot], property: "knowledgeSettingsMode", type: m.expressionTypeNames.string }, { label: W.knowledgeSettings.knowledgeCustomHandlerTaskLabel, createDetails: u.ContainerActionProperty.createCreateDetails({ modelIdPropName: "knowledgeCustomHandlerTaskId", modelNamePropName: "knowledgeCustomHandlerTaskName", itemDoesNotExistBaseString: W.task.label, noReferenceString: W.knowledgeSettings.knowledgeCustomHandlerTaskErrorMessage, referencesTasks: true, isForCustomKnowledgeHandlingTask: true, validReferenceCallback: (e4) => e4 && !e4.isTransferable && e4.hasBranchTerminatingWithEndTask ? { error: W.task.invalidReferenceTaskTransfer } : e4 && e4.isTask && e4.isTransferable ? void 0 : { error: W.task.invalidReference } }), options: A.ManagedPropertyOptions.create((t3) => t3.setDescriptionInfo(W.knowledgeSettings.knowledgeCustomHandlerTaskLabel, W.knowledgeSettings.knowledgeCustomHandlerTaskDescription).setIninTestingField("knowledgeCustomHandlerTask").setFeatureConfigName(M.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature).setUiLayout(Object.assign({}, e3))), property: "knowledgeCustomHandlerTask", supportedFlowTypes: [r2.flowTypes.flowTypeDigitalBot], yamlOptions: d.default.createYamlOptions("knowledgeCustomHandlerTask", (e4) => e4.setPropertyName("targetTaskRef").setWrappedObjectName("knowledgeCustomTask")) }]; } _updateKnowledgeOutOfService() { P.getLangSupportsKnowledgeForFlowType(this.parentFlow.defaultLanguage, this.parentFlow.type) ? (this.knowledge.outOfService = this.outOfService, this.knowledge.currentUiInfoMessage = "") : (this.knowledge.outOfService = true, this.knowledge.currentUiInfoMessage = (0, a.sprintf)(W.knowledgeSettings.knowledgeBaseNotSupportedForLanguage, P.getLanguageNameAndCodeDisplay(this.parentFlow.defaultLanguage, true))); @@ -99315,12 +107005,12 @@ ${e3.stack}`, n3 = [this].concat(i3); _initializeDesignTime() { super._initializeDesignTime(), this.parentFlow.definition.supportsKnowledgeConfirmation || this.sendKnowledgeFeedback.options.setUiDisableOnOutOfService(false), this._updateKnowledgeOutOfService(), this.knowledge.isOptional = true, this.knowledge_v3.isOptional = true, this.welcomeArticle.isOptional = true, this.setOutOfService(!this.knowledgeId), this.canGenerateAnswers && this.knowledgeAnswerHighlight.isBooleanTrue && (this.knowledgeAnswerContentType.setAsLiteral(F.KnowledgeAnswerContentType.highlight), this.knowledgeAnswerHighlight.setAsLiteral(null)), this.parentFlow.isBotFlow && !this.parentFlow.definition.supportsAdvancedKnowledgeHandling && this.updateKnowledgeSettingsModeValue(k.KnowledgeSettingsMode.standard), this.virtualAgentEnabled && this.initialiseAnswerHighlightValues(), this.isKnowledgeV3AvailableInOrg && (this.knowledge.options.descriptionInfo.description = W.knowledgeSettings.knowledgeBaseV3Description, this.addAutoCleanedUpEventSinkWatch(E.valueChanged, this.knowledge_v3, () => { this.knowledgeSettingId && this._setKnowledgeVersionWithFallback(), this.setOutOfService(!this.knowledgeSettingId), this.knowledgeBaseModel = this.knowledge_v3.getItem(); - })), this.isKnowledgeV3AvailableInFlow && (this.clearKnowledgeHeader(), this._setKnowledgeVersionWithFallback()), O.default.currentUserCanUseKnowledge && this.addAutoCleanedUpEventSinkWatch(E.valueChanged, this.knowledge, () => { + })), this.isKnowledgeV3AvailableInFlow && (this.clearKnowledgeHeader(), this._setKnowledgeVersionWithFallback()), v.default.currentUserCanUseKnowledge && this.addAutoCleanedUpEventSinkWatch(E.valueChanged, this.knowledge, () => { var e3; const t3 = this.welcomeArticle.getItem(); (!this.knowledgeBaseId || t3 && (null === (e3 = t3.knowledgeBase) || void 0 === e3 ? void 0 : e3.id) !== this.knowledgeBaseId) && this.welcomeArticle.setValue(void 0), this.setOutOfService(!this.knowledgeBaseId), this.knowledgeBaseModel = this.knowledge.getItem(); }), this.addAutoCleanedUpEventListener(E.botFlowSettingChanged, (e3) => { - e3.setting === w.default.variable.virtualAgentEnabled && (this.setOutOfService(!this.knowledgeId), this.isKnowledgeV3AvailableInOrg && (this.clearKnowledgeHeader(), this._setKnowledgeVersionWithFallback())); + e3.setting === R.default.variable.virtualAgentEnabled && (this.setOutOfService(!this.knowledgeId), this.isKnowledgeV3AvailableInOrg && (this.clearKnowledgeHeader(), this._setKnowledgeVersionWithFallback())); }), this.addAutoCleanedUpEventSinkWatch(E.supportedLanguagesChanged, this.parentFlow.languages, () => this._updateKnowledgeOutOfService()), this.addAutoCleanedUpEventSinkWatch(E.containerListChanged, this.parentFlow, () => { this.knowledgeFollowupTaskId && !this.parentFlow.getTaskById(this.knowledgeFollowupTaskId) && this.knowledgeFollowupTask.setReference(null), this.knowledgeCustomHandlerTaskId && !this.parentFlow.getTaskById(this.knowledgeCustomHandlerTaskId) && this.knowledgeCustomHandlerTask.setReference(null); }); @@ -99357,7 +107047,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } updateSettingsDependentOnAnswerContentTypeMode() { var e3, t3, i3, n3; - if (this.knowledgeMultiArticleSource.outOfService = !O.default.currentUserCanUseContentSearchEnabledKnowledge || !this.knowledgeBaseId || this.knowledgeAnswerContentType.text !== F.KnowledgeAnswerContentType.generative || !(null === (t3 = null === (e3 = this.knowledge) || void 0 === e3 ? void 0 : e3.getItem()) || void 0 === t3 ? void 0 : t3.contentSearchEnabled), this.updateDisambiguationFeedbackSettings(), this.isKnowledgeV3EnabledInFlow ? this.knowledgeAnswerContentType.outOfService = this.isCustomKnowledgeSettingsMode || !this.canGenerateAnswers : this.knowledgeAnswerContentType.outOfService = this.isCustomKnowledgeSettingsMode || !this.canGenerateAnswers || this.parentFlow.isBotFlow && !(null === (n3 = null === (i3 = this.knowledge) || void 0 === i3 ? void 0 : i3.getItem()) || void 0 === n3 ? void 0 : n3.contentSearchEnabled), !this.canGenerateAnswers) return; + if (this.knowledgeMultiArticleSource.outOfService = !v.default.currentUserCanUseContentSearchEnabledKnowledge || !this.knowledgeBaseId || this.knowledgeAnswerContentType.text !== F.KnowledgeAnswerContentType.generative || !(null === (t3 = null === (e3 = this.knowledge) || void 0 === e3 ? void 0 : e3.getItem()) || void 0 === t3 ? void 0 : t3.contentSearchEnabled), this.updateDisambiguationFeedbackSettings(), this.isKnowledgeV3EnabledInFlow ? this.knowledgeAnswerContentType.outOfService = this.isCustomKnowledgeSettingsMode || !this.canGenerateAnswers : this.knowledgeAnswerContentType.outOfService = this.isCustomKnowledgeSettingsMode || !this.canGenerateAnswers || this.parentFlow.isBotFlow && !(null === (n3 = null === (i3 = this.knowledge) || void 0 === i3 ? void 0 : i3.getItem()) || void 0 === n3 ? void 0 : n3.contentSearchEnabled), !this.canGenerateAnswers) return; const r3 = this.knowledgeAnswerContentType.text === F.KnowledgeAnswerContentType.standard || this.knowledgeAnswerContentType.outOfService; this.knowledgeAnswerHighlightFlowProgression.outOfService = this.knowledgeAnswerHighlightFullArticle.outOfService = r3 || this.isKnowledgeV3EnabledInFlow, this.updateSettingsDependentOnMultiArticle(), r3 || this.initialiseAnswerHighlightValues(); } @@ -99379,7 +107069,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } get isMultiSourceEnabled() { var e3, t3; - return !R.isFeatureUnavailable(M.default.botFlowsAnswerGenerationMultipleArticles) && !(null === (e3 = this.knowledgeMultiArticleSource) || void 0 === e3 ? void 0 : e3.outOfService) && (null === (t3 = this.knowledgeMultiArticleSource) || void 0 === t3 ? void 0 : t3.text) === h.default.true; + return !w.isFeatureUnavailable(M.default.botFlowsAnswerGenerationMultipleArticles) && !(null === (e3 = this.knowledgeMultiArticleSource) || void 0 === e3 ? void 0 : e3.outOfService) && (null === (t3 = this.knowledgeMultiArticleSource) || void 0 === t3 ? void 0 : t3.text) === h.default.true; } get isCustomKnowledgeSettingsMode() { var e3; @@ -99469,7 +107159,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } get outOfService() { var e3, t3; - return !O.default.currentUserCanUseKnowledge || !P.getLangSupportsKnowledgeForFlowType(null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.defaultLanguageLCase, null === (t3 = this.parentFlow) || void 0 === t3 ? void 0 : t3.type); + return !v.default.currentUserCanUseKnowledge || !P.getLangSupportsKnowledgeForFlowType(null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.defaultLanguageLCase, null === (t3 = this.parentFlow) || void 0 === t3 ? void 0 : t3.type); } get wrappedYamlName() { return "settingsKnowledge"; @@ -99485,7 +107175,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.isFlowCurrentKnowledgeVersionV3 && this.isKnowledgeV3AvailableInFlow; } get isKnowledgeV3AvailableInOrg() { - return R.isFeatureAvailable(M.default.botFlowsVirtualAgentKnowledgeV3); + return w.isFeatureAvailable(M.default.botFlowsVirtualAgentKnowledgeV3); } get isFlowCurrentKnowledgeVersionV3() { return this.currentKnowledgeVersion === V.KnowledgeVersionValues.v3; @@ -99514,7 +107204,17 @@ ${e3.stack}`, n3 = [this].concat(i3); this.knowledgeAnswerHighlightFlowProgression.text || this.knowledgeAnswerHighlightFlowProgression.setAsLiteral(e3.knowledgeSettings.knowledgeAnswerHighlightFlowProgressionDefault), this.knowledgeAnswerHighlightFullArticle.text || this.knowledgeAnswerHighlightFullArticle.setAsLiteral(e3.knowledgeSettings.knowledgeAnswerHighlightFullArticleDefault); } validate(e3) { - if (super.validate(e3), this.parentFlow.supportsMultilingualKnowledge) { + if (super.validate(e3), this.hasKnowledgeBaseConfigured && this.currentKnowledgeVersion === V.KnowledgeVersionValues.v2) { + const t3 = this.knowledge.configListManager.getItem(this.knowledgeBaseId); + if (null == t3 ? void 0 : t3.coreLanguage) { + const i3 = P.getLangKnowledgeBaseLanguageTag(this.parentFlow.defaultLanguageLCase); + if (i3 && t3.coreLanguage.toLowerCase() !== i3.toLowerCase()) { + const i4 = (0, a.sprintf)(W.knowledgeSettings.knowledgeBaseLanguageMismatch, P.getLanguageNameAndCodeDisplay(t3.coreLanguage, true), P.getLanguageNameAndCodeDisplay(this.parentFlow.defaultLanguage, true)); + e3.addWarning(this, i4); + } + } + } + if (this.parentFlow.supportsMultilingualKnowledge) { if (this.knowledgeVersion.text === V.KnowledgeVersionValues.v2) { const t3 = this.parentFlow.languages.supportedLanguageOptions.some((e4) => { var t4; @@ -99668,9 +107368,9 @@ ${e3.stack}`, n3 = [this].concat(i3); return i3 ? i3.category : null; } addItem(e3, t3, i3) { - var n3, r3, o2, a2, s2, l2, u2, d, c, p, _, h; + var n3, r3, o2, a2, s2, l2, u2, c, d, p, _, h; const m = super.addItem(e3, t3); - return m ? (m.inputSchemaInError = this.schemaHasEmptyAttribute(null === (r3 = null === (n3 = m.model) || void 0 === n3 ? void 0 : n3.inputSchema) || void 0 === r3 ? void 0 : r3.properties), m.successOutputSchemaInError = this.schemaHasEmptyAttribute(null === (a2 = null === (o2 = m.model) || void 0 === o2 ? void 0 : o2.successSchema) || void 0 === a2 ? void 0 : a2.properties), m.failureOutputSchemaInError = this.schemaHasEmptyAttribute(null === (l2 = null === (s2 = m.model) || void 0 === s2 ? void 0 : s2.errorSchema) || void 0 === l2 ? void 0 : l2.properties), m.schemaInError = false, m.inputSchemaMixedTypeWarning = this.schemaHasArrayWithMixedTypes(null === (d = null === (u2 = m.model) || void 0 === u2 ? void 0 : u2.inputSchema) || void 0 === d ? void 0 : d.properties), m.successOutputSchemaMixedTypeWarning = this.schemaHasArrayWithMixedTypes(null === (p = null === (c = m.model) || void 0 === c ? void 0 : c.successSchema) || void 0 === p ? void 0 : p.properties), m.failureOutputSchemaMixedTypeWarning = this.schemaHasArrayWithMixedTypes(null === (h = null === (_ = m.model) || void 0 === _ ? void 0 : _.errorSchema) || void 0 === h ? void 0 : h.properties), (m.inputSchemaInError || m.successOutputSchemaInError || m.failureOutputSchemaInError) && (this.topic.error(`Invalid data action schema returned from Hedwig with id: '${m.id}'. The 'name' attributes in the inputs and outputs schema must not be empty.`), m.schemaInError = true), m) : m; + return m ? (m.inputSchemaInError = this.schemaHasEmptyAttribute(null === (r3 = null === (n3 = m.model) || void 0 === n3 ? void 0 : n3.inputSchema) || void 0 === r3 ? void 0 : r3.properties), m.successOutputSchemaInError = this.schemaHasEmptyAttribute(null === (a2 = null === (o2 = m.model) || void 0 === o2 ? void 0 : o2.successSchema) || void 0 === a2 ? void 0 : a2.properties), m.failureOutputSchemaInError = this.schemaHasEmptyAttribute(null === (l2 = null === (s2 = m.model) || void 0 === s2 ? void 0 : s2.errorSchema) || void 0 === l2 ? void 0 : l2.properties), m.schemaInError = false, m.inputSchemaMixedTypeWarning = this.schemaHasArrayWithMixedTypes(null === (c = null === (u2 = m.model) || void 0 === u2 ? void 0 : u2.inputSchema) || void 0 === c ? void 0 : c.properties), m.successOutputSchemaMixedTypeWarning = this.schemaHasArrayWithMixedTypes(null === (p = null === (d = m.model) || void 0 === d ? void 0 : d.successSchema) || void 0 === p ? void 0 : p.properties), m.failureOutputSchemaMixedTypeWarning = this.schemaHasArrayWithMixedTypes(null === (h = null === (_ = m.model) || void 0 === _ ? void 0 : _.errorSchema) || void 0 === h ? void 0 : h.properties), (m.inputSchemaInError || m.successOutputSchemaInError || m.failureOutputSchemaInError) && (this.topic.error(`Invalid data action schema returned from Hedwig with id: '${m.id}'. The 'name' attributes in the inputs and outputs schema must not be empty.`), m.schemaInError = true), m) : m; } schemaHasEmptyAttribute(e3) { return !!r2.default.find(e3, (e4) => r2.default.isEmpty(e4.name)); @@ -99690,21 +107390,796 @@ ${e3.stack}`, n3 = [this].concat(i3); } } t2.BaseIntegrationsActionManager = u; + }, 84852: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.resolveAddActionsPlacement = le, t2.actionContainerPathLabel = Ne, t2.applyChangeSetDelete = function(e3, t3, i3, n3) { + var o2; + if (!(null === (o2 = null == t3 ? void 0 : t3.items) || void 0 === o2 ? void 0 : o2.length)) return; + const s2 = i3.undoChangeSet, l2 = /* @__PURE__ */ new Set(), u2 = [], c2 = /* @__PURE__ */ new Set(); + (0, te.withModelContext)(i3, "delete", () => { + for (let r3 = 0; r3 < t3.items.length; r3++) { + const o3 = Ie(t3.items[r3], i3); + if (!o3) continue; + const { typeKey: a2, selector: l3 } = o3; + "task" === a2 || "state" === a2 ? (0, te.withModelContext)(i3, `items[${r3}]`, () => { + Ce(e3, a2, l3, s2, c2, i3, n3, r3); + }) : "menu" === a2 ? (0, te.withModelContext)(i3, `items[${r3}]`, () => { + be(e3, l3, s2, c2, i3, n3, r3); + }) : "menuChoice" === a2 && (0, te.withModelContext)(i3, `items[${r3}]`, () => { + Ee(e3, l3, s2, c2, i3, n3, r3); + }); + } + for (let o3 = 0; o3 < t3.items.length; o3++) { + const d2 = Ie(t3.items[o3], i3); + if (!d2) continue; + const { typeKey: p2, selector: _2 } = d2; + "task" !== p2 && "state" !== p2 && "menu" !== p2 && "menuChoice" !== p2 && (0, te.withModelContext)(i3, `items[${o3}]`, () => { + "action" === p2 ? we(e3, _2, s2, c2, u2, l2, i3, n3, o3) : "variable" === p2 ? Re(e3, _2, i3, n3, o3) : i3.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.deleteTypeNotImplemented, p2)); + }); + } + }), s2 && u2.length && (function(e4, t4, i4) { + const n4 = /* @__PURE__ */ new Map(), r3 = []; + for (const { action: i5, parent: o3 } of e4) { + let a2, s3, l3 = i5.previousAction; + for (; l3 && t4.has(l3.trackingId); ) l3 = l3.previousAction; + if (l3) { + const e5 = l3.trackingId; + a2 = { afterAction: { action: { trackingId: e5 } } }, s3 = `after:${e5}`; + } else { + const e5 = o3.trackingId; + if (void 0 !== e5) a2 = { toTheBeginningOf: { task: { trackingId: e5 } } }, s3 = `begin:tid:${e5}`; + else { + const e6 = o3.id; + e6 ? (a2 = { toTheBeginningOf: { task: { id: e6 } } }, s3 = `begin:id:${e6}`) : (a2 = { toTheBeginningOf: { startupTask: true } }, s3 = "begin:startup"); + } + } + n4.has(s3) || (n4.set(s3, { where: a2, actionsToAdd: [] }), r3.push(s3)), n4.get(s3).actionsToAdd.push(e4.find((e5) => e5.action === i5).yamlSnapshot); + } + for (let e5 = r3.length - 1; e5 >= 0; e5--) { + const { where: t5, actionsToAdd: o3 } = n4.get(r3[e5]); + i4.addActions(t5, o3); + } + })(u2, l2, s2); + }, t2.applyChangeSetUpdate = function(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + if ("properties" in t3 && t3.properties && "object" == typeof t3.properties) { + if ((0, d.isActionUpdatePayload)(t3)) { + const s2 = he(e3, t3.action.id, t3.action.trackingId, t3.action.name); + return s2 ? void (yield (function(e4, t4, i4, o3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const s3 = Object.keys(t4); + if (0 === s3.length) return void i4.addWarningMessage(a.changeSet.apply.updateMissingProperties); + const l2 = s3[0], u2 = t4[l2]; + if (!l2 || !(0, Z.isConfigureFromModelRecord)(u2)) return void i4.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.updatePropertiesNotObject, l2)); + const d2 = Oe(e4), p2 = e4.id, _2 = e4.trackingId; + i4.reportActivity({ type: "objectConfiguring", objectType: "action", objectName: e4.name || e4.className, objectId: p2, trackingId: _2, viewModel: e4, changeIndex: o3, message: { template: a.changeSet.activity.actionUpdated, params: [{ value: e4.name || e4.className, link: { objectId: p2 || "", objectType: "action", trackingId: _2, viewModel: e4 } }] } }), yield (0, ie.withModelContextAsync)(i4, `update[${e4.name || e4.className}]`, () => n2.__awaiter(this, void 0, void 0, function* () { + i4.propertySetCount = 0, i4.currentChangeIndex = o3, i4.currentActionContext = { objectId: p2 || "", objectType: "action", objectName: e4.name || e4.className, viewModel: e4 }; + try { + yield e4.configureFromModel(u2, ee.ModelFormat.ChangeSet, i4); + } finally { + i4.currentActionContext = void 0; + } + })); + const h2 = i4.propertySetCount, m2 = i4.getPendingDeferredPropertyActivityCount(p2 || ""); + if (i4.reportActivity({ type: "objectConfigured", objectType: "action", objectName: e4.name || e4.className, objectId: p2, trackingId: _2, viewModel: e4, changeIndex: o3, propertiesConfigured: h2, pendingDeferredPropertyLookups: m2 }), i4.undoChangeSet && d2) { + const e5 = { action: { trackingId: null != _2 ? _2 : void 0, id: p2 }, properties: Ve(d2, u2) }; + i4.undoChangeSet.addUpdate(e5); + } + i4.changeSetResults.addResult({ path: `/changes[${o3}]/update`, updated: { action: new c.ChangeSetResultObject(p2 || "", e4.name || e4.className, _2) } }); + }); + })(s2, t3.properties, i3, o2)) : void i3.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.updateActionNotFound, (0, E.describeSelector)(t3.action))); + } + if ((0, v.isTaskUpdatePayload)(t3)) { + const n3 = (0, w.findFlowElementBySelector)(e3, t3.task); + return n3 && (0, re.isTaskLike)(n3) ? void (yield De(n3, "task", t3.properties, t3.task, i3, o2)) : void i3.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.updateActionNotFound, (0, E.describeSelector)(t3.task))); + } + if ((0, A.isStateUpdatePayload)(t3)) { + const n3 = (0, w.findFlowElementBySelector)(e3, t3.state); + return n3 && (0, re.isTaskLike)(n3) ? void (yield De(n3, "state", t3.properties, t3.state, i3, o2)) : void i3.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.updateActionNotFound, (0, E.describeSelector)(t3.state))); + } + if ((0, y.isMenuUpdatePayload)(t3)) { + const n3 = (0, w.findFlowElementBySelector)(e3, t3.menu); + return n3 && (0, se.isMenu)(n3) ? void (yield De(n3, "menu", t3.properties, t3.menu, i3, o2)) : void i3.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.updateActionNotFound, (0, E.describeSelector)(t3.menu))); + } + if ((0, T.isMenuChoiceUpdatePayload)(t3)) { + const n3 = (0, w.findFlowElementBySelector)(e3, t3.menuChoice); + return n3 && (0, ae.isMenuChoice)(n3) ? void (function(e4, t4, i4, n4, r3) { + const o3 = e4.id, s2 = e4.trackingId, l2 = Object.keys(t4)[0], u2 = t4[l2]; + if (!l2 || !(0, Z.isConfigureFromModelRecord)(u2)) return void n4.addWarningMessage(a.changeSet.apply.updateMissingProperties); + const d2 = Le(e4, u2); + if (n4.reportActivity({ type: "objectConfiguring", objectType: "menuChoice", objectName: e4.name || "menuChoice", objectId: o3, trackingId: s2, viewModel: e4, changeIndex: r3, message: { template: a.changeSet.activity.menuChoiceUpdated, params: [{ value: e4.name || "menuChoice", link: { objectId: o3 || "", objectType: "menuChoice", trackingId: s2, viewModel: e4 } }] } }), (0, te.withModelContext)(n4, `update[${e4.name || "menuChoice"}]`, () => { + e4.configureFromModel(u2, ee.ModelFormat.ChangeSet, n4); + }), ke(u2, "menuChoice", e4, n4, r3), n4.reportActivity({ type: "objectConfigured", objectType: "menuChoice", objectName: e4.name || "menuChoice", objectId: o3, trackingId: s2, viewModel: e4, changeIndex: r3 }), n4.undoChangeSet && d2) { + const e5 = { menuChoice: { trackingId: null != s2 ? s2 : void 0, id: o3 }, properties: { [l2]: d2 } }; + n4.undoChangeSet.addUpdate(e5); + } + n4.changeSetResults.addResult({ path: `/changes[${r3}]/update`, updated: { menuChoice: new c.ChangeSetResultObject(o3 || "", e4.name || "menuChoice", s2) } }); + })(n3, t3.properties, t3.menuChoice, i3, o2) : void i3.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.updateActionNotFound, (0, E.describeSelector)(t3.menuChoice))); + } + (0, m.isFlowUpdatePayload)(t3) ? yield (function(e4, t4, i4, o3) { + return n2.__awaiter(this, void 0, void 0, function* () { + var u2; + if (!("initialGreeting" in t4)) { + const e5 = null !== (u2 = Object.keys(t4)[0]) && void 0 !== u2 ? u2 : "unknown"; + return void i4.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.updateFlowUnsupportedProperty, e5)); + } + if (!(function(e5) { + return "initialPrompts" in e5 && null !== e5.initialPrompts && void 0 !== e5.initialPrompts; + })(e4)) return void i4.addWarningMessage(a.changeSet.apply.updateFlowInitialGreetingNotSupported); + const d2 = t4.initialGreeting; + if (!(0, Z.isConfigureFromModelRecord)(d2)) return void i4.addWarningMessage(a.changeSet.apply.updateFlowInitialGreetingInvalid); + const p2 = { initialGreeting: Fe(e4.initialPrompts) }; + i4.reportActivity({ type: "objectConfiguring", objectType: "flow", objectName: e4.displayName, objectId: e4.id, viewModel: e4, changeIndex: o3, message: { template: a.changeSet.activity.flowUpdated, params: [{ value: e4.displayName, link: { objectId: e4.id, objectType: "flow", viewModel: e4 } }] } }), yield (0, ie.withModelContextAsync)(i4, "update[initialGreeting]", () => n2.__awaiter(this, void 0, void 0, function* () { + yield e4.initialPrompts.configureFromModel(d2, ee.ModelFormat.ChangeSet, i4); + })); + const _2 = "string" == typeof d2.tts ? d2.tts : void 0; + i4.reportActivity((0, s.buildPropertySetActivityEvent)({ objectType: "flow", objectName: e4.displayName, objectId: e4.id, viewModel: e4, changeIndex: o3, property: "initialGreeting", propertyDisplayName: (0, l.getFlowObjectPropertyDisplayName)("flow", "initialGreeting"), propertyValue: _2 ? `'${_2}'` : void 0 })), i4.reportActivity({ type: "objectConfigured", objectType: "flow", objectName: e4.displayName, objectId: e4.id, viewModel: e4, changeIndex: o3 }), i4.undoChangeSet && i4.undoChangeSet.addUpdate({ flow: true, properties: p2 }), i4.changeSetResults.addResult({ path: `/changes[${o3}]/update`, updated: { flow: new c.ChangeSetResultObject(e4.id, e4.displayName) } }); + }); + })(e3, t3.properties, i3, o2) : i3.addWarningMessage(a.changeSet.apply.updateMissingAction); + } else i3.addWarningMessage(a.changeSet.apply.updateMissingProperties); + }); + }, t2.applyChangeSetCreateRef = Ue, t2.applyChangeSetSetStartupObject = function(e3, t3, i3) { + "existing" in t3 ? i3.warn(a.changeSet.apply.setStartupObjectExistingNotImplemented) : "newTask" in t3 ? i3.warn(a.changeSet.apply.setStartupObjectNewTaskNotImplemented) : "newState" in t3 ? i3.warn(a.changeSet.apply.setStartupObjectNewStateNotImplemented) : "newMenu" in t3 ? i3.warn(a.changeSet.apply.setStartupObjectNewMenuNotImplemented) : i3.warn(a.changeSet.apply.setStartupObjectUnrecognizedShape); + }, t2.configureTaskLikeContainersFromModel = function(e3, t3, i3, r3) { + return n2.__awaiter(this, void 0, void 0, function* () { + yield Be(t3, i3, r3, { propertyKey: "tasks", wrapperKey: "task", createContainer: (t4) => e3.createTask(t4) }), (0, K.isCommonWorkflowViewModel)(e3) && (yield Be(t3, i3, r3, { propertyKey: "states", wrapperKey: "state", createContainer: (t4) => e3.createState(t4) }), yield Be(t3, i3, r3, { propertyKey: "bots", wrapperKey: "bot", createContainer: (t4) => e3.createState(t4) })); + }); + }, t2.applyChangeSetAdd = function(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + var n3, s2; + const l2 = (function(e4) { + return "actions" in e4 && e4.actions.when ? { when: e4.actions.when, pathSegment: "actions", label: "add actions", objectType: "action" } : "task" in e4 && e4.task.when ? { when: e4.task.when, pathSegment: "task", label: "add task", objectType: "task" } : "state" in e4 && e4.state.when ? { when: e4.state.when, pathSegment: "state", label: "add state", objectType: "state" } : "menu" in e4 && e4.menu.when ? { when: e4.menu.when, pathSegment: "menu", label: "add menu", objectType: "menu" } : "menuChoice" in e4 && e4.menuChoice.when ? { when: e4.menuChoice.when, pathSegment: "menuChoice", label: "add menu choice", objectType: "menuChoice" } : "variables" in e4 && e4.variables.when ? { when: e4.variables.when, pathSegment: "variables", label: "add variables", objectType: "variable" } : void 0; + })(t3); + if (null == l2 ? void 0 : l2.when) { + const t4 = (0, C.evaluateChangeSetWhenForFlow)(e3, l2.when, i3); + if (!t4.satisfied) return void (function(e4, t5, i4, n4, r3, o3) { + var s3; + const l3 = null !== (s3 = o3.reason) && void 0 !== s3 ? s3 : a.changeSet.apply.whenUnrecognizedShape, u2 = (0, I.describeChangeSetWhen)(r3), c2 = `/changes[${t5}]/add/${i4}`; + e4.changeSetResults.addResult({ path: c2, skipped: { reason: l3, whenSummary: u2 } }), e4.reportActivity({ type: "changeSkipped", changeIndex: t5, whenSummary: u2, message: { template: a.changeSet.activity.changeSkipped, params: [{ value: n4 }, { value: l3 }] } }); + })(i3, o2, l2.pathSegment, l2.label, l2.when, t4); + } + if ("actions" in t3) { + const r3 = le(e3, t3.actions, i3); + if (!r3) return; + null === (n3 = i3.undoChangeSet) || void 0 === n3 || n3.beginUndoDeleteGroup(); + try { + yield r3.container.appendActionsFromModel(r3.previous, t3.actions.actionsToAdd, i3, Ne(r3.container), o2); + } finally { + null === (s2 = i3.undoChangeSet) || void 0 === s2 || s2.endUndoDeleteGroup(); + } + return; + } + if ("menu" in t3) { + if (!e3.definition.supportsReusableMenus) return void i3.warn(a.changeSet.apply.addMenuNotSupported); + const n4 = t3.menu.menuToAdd; + if (!(0, Z.isConfigureFromModelRecord)(n4)) return void i3.warn(a.changeSet.apply.addMenuMenuToAddMustBeObject); + const r3 = (0, X.isString)(n4.name) ? n4.name : void 0, s3 = e3.createMenu(r3); + return void (yield Ge(s3, n4, i3, o2, "menu")); + } + if ("menuChoice" in t3) !(function(e4, t4, i4, n4) { + var o3, s3, l3; + const u2 = (function(e5, t5, i5) { + if ("toMenu" in t5) { + const n5 = t5.toMenu; + return (0, M.resolveFromList)(e5.menus || [], n5) || void i5.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.deleteActionNotFound, JSON.stringify({ menu: n5 }))); + } + if ("toMenuChoice" in t5) { + const n5 = t5.toMenuChoice; + let o4; + if (void 0 !== n5.trackingId) { + const t6 = me(e5, n5.trackingId); + (0, ae.isMenuChoice)(t6) && (o4 = t6); + } else if (n5.id) { + const t6 = U.flowElementRegistrationService.getItemById(e5, n5.id); + (0, ae.isMenuChoice)(t6) && (o4 = t6); + } + return o4 ? o4.menu && o4.isSubMenu ? o4.menu : void i5.warn(a.changeSet.apply.addMenuChoiceToMenuChoiceNotSubMenu) : void i5.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.deleteActionNotFound, JSON.stringify({ menuChoice: n5 }))); + } + i5.warn(a.changeSet.apply.addMenuChoiceWhereUnrecognized); + })(e4, t4.where, i4); + if (u2) { + null === (o3 = i4.undoChangeSet) || void 0 === o3 || o3.beginUndoDeleteGroup(); + try { + const e5 = u2.addChoiceFromModel(t4.menuChoiceToAdd, i4); + if (!e5) return void i4.warn(a.changeSet.apply.addMenuChoiceCreateFailed); + null === (s3 = i4.undoChangeSet) || void 0 === s3 || s3.recordUndoDeleteByTrackingId("menuChoice", e5.trackingId), i4.changeSetResults.addResult({ path: `/changes[${n4}]/add/menuChoice`, added: { menuChoice: new c.ChangeSetResultObject(e5.id, e5.name, e5.trackingId) } }); + } finally { + null === (l3 = i4.undoChangeSet) || void 0 === l3 || l3.endUndoDeleteGroup(); + } + } + })(e3, t3.menuChoice, i3, o2); + else if ("variables" in t3) i3.warn(a.changeSet.apply.addVariablesNotImplemented); + else { + if ("task" in t3) { + if (!e3.definition.supportsReusableTasks) return void i3.warn(a.changeSet.apply.addTaskNotSupported); + const n4 = t3.task.taskToAdd; + if (!(0, Z.isConfigureFromModelRecord)(n4)) return void i3.warn(a.changeSet.apply.addTaskTaskToAddMustBeObject); + const r3 = "string" == typeof n4.name ? n4.name : void 0, s3 = e3.createTask(r3); + return void (yield Ge(s3, n4, i3, o2, "task")); + } + if ("state" in t3) { + if (!e3.definition.supportsStates && !(0, K.isCommonWorkflowViewModel)(e3)) return void i3.warn(a.changeSet.apply.addStateNotSupported); + if ((0, K.isCommonWorkflowViewModel)(e3)) { + const n4 = t3.state.stateToAdd; + if (!(0, Z.isConfigureFromModelRecord)(n4)) return void i3.warn(a.changeSet.apply.addStateStateToAddMustBeObject); + const r3 = "string" == typeof n4.name ? n4.name : void 0, s3 = e3.createState(r3); + yield Ge(s3, n4, i3, o2, "state"); + } + } + } + }); + }, t2.validateChangeSetFilter = We, t2.canApplyChangeSet = function(e3, t3, i3, n3) { + var o2; + if (e3.isReadOnly) return i3.addErrorMessage(a.changeSet.apply.unableToApplyReadOnlyFlow), i3.continueProcessing = false, false; + if (!n3) { + const e4 = (0, F.validateChangeSetDocument)(t3, void 0, (0, L.buildChangeSetValidationOptionsFromFeatureConfig)()); + if (e4.length > 0) { + for (const t4 of e4) i3.pushSourcePath(t4.path), i3.addErrorMessage(t4.message), i3.popSourcePath(); + return i3.continueProcessing = false, false; + } + } + if (!We(e3, t3.filter, i3)) return false; + const s2 = u.ChangeSet.fromModel(t3).getActionTypesToAdd(); + if (s2.size > 0) { + const e4 = []; + if (s2.forEach((t4) => { + var n4; + const r3 = i3.actionTypeRegistry.getNodeInfo(t4); + if (r3 && r3.isAvailableForFlowType(i3.flowType)) { + const t5 = null === (n4 = r3.modelFormatSupport) || void 0 === n4 ? void 0 : n4.flowYaml, i4 = (0, J.deriveFlowYamlSupportState)(t5); + (i4 === $.flowYamlSupportState.notAvailable || i4 === $.flowYamlSupportState.deprecated || i4 === $.flowYamlSupportState.conditional && (null == t5 ? void 0 : t5.feature) && k.isFeatureUnavailable(t5.feature)) && e4.push(r3.name); + } else e4.push(r3 ? r3.name : t4); + }), e4.length > 0) { + const t4 = V.default.getFlowTypeDisplayName(i3.flowType), n4 = (0, G.getListDisplayString)(e4, false, false, true); + return i3.addErrorMessage((0, r2.sprintf)(a.changeSet.apply.unableToApplyUnavailableActions, t4, n4)), i3.continueProcessing = false, false; + } + } + const l2 = []; + for (const e4 of t3.changes) (0, _.isAddChange)(e4) && ((0, N.isTaskAddOperation)(e4.add) && l2.push({ nodeInfo: j.getInfo(Y.taskActionType), label: "Task" }), (0, S.isStateAddOperation)(e4.add) && l2.push({ nodeInfo: j.getInfo(q.stateActionType), label: "State" }), (0, g.isMenuAddOperation)(e4.add) && l2.push({ nodeInfo: j.getInfo(W.menuActionType), label: "Menu" })); + for (const { nodeInfo: e4, label: t4 } of l2) { + if (!e4) continue; + const n4 = null === (o2 = e4.modelFormatSupport) || void 0 === o2 ? void 0 : o2.flowYaml, s3 = (0, J.deriveFlowYamlSupportState)(n4); + if (s3 === $.flowYamlSupportState.notAvailable || s3 === $.flowYamlSupportState.deprecated) return i3.addErrorMessage((0, r2.sprintf)(a.changeSet.apply.reusableNodeNotAvailableForFormat, t4)), i3.continueProcessing = false, false; + if (s3 === $.flowYamlSupportState.conditional && (null == n4 ? void 0 : n4.feature) && k.isFeatureUnavailable(n4.feature)) return i3.addErrorMessage((0, r2.sprintf)(a.changeSet.apply.reusableNodeRequiresFeature, t4, n4.feature)), i3.continueProcessing = false, false; + if (!e4.needsServerInfo && !e4.isAvailableForFlowType(i3.flowType)) return i3.addErrorMessage((0, r2.sprintf)(a.changeSet.apply.reusableNodeNotAvailableForFlowType, t4, i3.flowType)), i3.continueProcessing = false, false; + } + for (const e4 of t3.changes) { + if ((0, h.isDeleteChange)(e4)) for (const t4 of e4.delete.items) { + if (("task" in t4 || "state" in t4 || "menu" in t4 || "menuChoice" in t4 || "variable" in t4) && !k.isFeatureAvailable(H.default.changeSetsFeaturePhase2)) return i3.addErrorMessage((0, r2.sprintf)(a.changeSet.apply.deleteReusableNodesRequireFeature, H.default.changeSetsFeaturePhase2)), i3.continueProcessing = false, false; + if ("action" in t4 && !k.isFeatureAvailable(H.default.changeSetsFeaturePhase1)) return i3.addErrorMessage((0, r2.sprintf)(a.changeSet.apply.deleteActionsRequireFeature, H.default.changeSetsFeaturePhase1)), i3.continueProcessing = false, false; + } + if ((0, O.isUpdateChange)(e4)) { + const t4 = e4.update; + if (((0, v.isTaskUpdatePayload)(t4) || (0, A.isStateUpdatePayload)(t4) || (0, y.isMenuUpdatePayload)(t4) || (0, T.isMenuChoiceUpdatePayload)(t4)) && !k.isFeatureAvailable(H.default.changeSetsFeaturePhase2)) return i3.addErrorMessage((0, r2.sprintf)(a.changeSet.apply.updateReusableNodesRequireFeature, H.default.changeSetsFeaturePhase2)), i3.continueProcessing = false, false; + if ((0, d.isActionUpdatePayload)(t4) && !k.isFeatureAvailable(H.default.changeSetsFeaturePhase1)) return i3.addErrorMessage((0, r2.sprintf)(a.changeSet.apply.updateActionsRequireFeature, H.default.changeSetsFeaturePhase1)), i3.continueProcessing = false, false; + if ((0, m.isFlowUpdatePayload)(t4) && !k.isFeatureAvailable(H.default.changeSetsFeaturePhase2)) return i3.addErrorMessage((0, r2.sprintf)(a.changeSet.apply.updateFlowPropertiesRequireFeature, H.default.changeSetsFeaturePhase2)), i3.continueProcessing = false, false; + } + if ((0, _.isAddChange)(e4) && (0, f.isMenuChoiceAddOperation)(e4.add) && !k.isFeatureAvailable(H.default.changeSetsFeaturePhase2)) return i3.addErrorMessage((0, r2.sprintf)(a.changeSet.apply.addMenuChoiceRequiresFeature, H.default.changeSetsFeaturePhase2)), i3.continueProcessing = false, false; + } + !(function(e4, t4, i4) { + for (let n4 = 0; n4 < t4.length; n4++) { + const r3 = t4[n4]; + "createRef" in r3 && Ue(e4, r3.createRef, i4, n4); + } + })(e3, t3.changes, i3); + for (const n4 of t3.changes) if ((0, _.isAddChange)(n4) && (0, p.isActionsAddOperation)(n4.add) && !le(e3, n4.add.actions, i3)) { + if (ce(n4.add.actions, i3)) continue; + return false; + } + return true; + }; + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(69453)), s = i2(8712), l = i2(8712), u = i2(10751), c = i2(90205), d = i2(19206), p = i2(19206), _ = i2(19206), h = i2(19206), m = i2(19206), g = i2(19206), f = i2(19206), T = i2(19206), y = i2(19206), S = i2(19206), A = i2(19206), N = i2(19206), v = i2(19206), O = i2(19206), I = i2(18573), C = i2(18573), b = i2(18573), E = i2(17914), w = i2(17914), R = i2(17914), D = i2(17914), P = i2(17914), M = i2(17914), F = i2(4652), L = i2(18732), x = i2(84464), k = n2.__importStar(i2(10798)), V = n2.__importDefault(i2(98114)), U = i2(19384), B = i2(63698), G = i2(48109), j = n2.__importStar(i2(62829)), W = i2(30801), q = i2(30801), Y = i2(30801), H = n2.__importDefault(i2(4648)), J = i2(48641), $ = i2(48641), z = i2(50474), K = i2(50474), Q = i2(50474), X = i2(50474), Z = i2(1910), ee = i2(1910), te = i2(1910), ie = i2(1910), ne = i2(97400), re = i2(61610), oe = i2(63883), ae = i2(63883), se = i2(1782); + function le(e3, t3, i3) { + const n3 = t3.where; + if ("afterAction" in n3) return (function(e4, t4, i4) { + const n4 = t4.action; + if (n4.name && !n4.refId && !n4.id && void 0 === n4.trackingId) return void i4.addWarningMessage(a.changeSet.apply.afterActionSelectorByName); + const o3 = Se(e4, n4, i4); + if (o3) { + if (t4.outputPath) { + const e5 = t4.outputPath; + let n5; + if (e5.id && (n5 = o3.getBranch(e5.id)), !n5 && e5.name && (n5 = o3.getBranchByLabel(e5.name)), !n5) { + const t5 = e5.id || e5.name || "unknown"; + return void i4.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.afterActionOutputPathNotFound, t5)); + } + return { container: n5, previous: Ae(n5) }; + } + if ((0, ne.isActionContainerViewModel)(o3.parent)) return { container: o3.parent, previous: o3 }; + i4.addWarningMessage(a.changeSet.apply.afterActionNoContainerParent); + } else i4.addWarningMessage(a.changeSet.apply.afterActionNotFound); + })(e3, n3.afterAction, i3); + if ("beforeAction" in n3) return (function(e4, t4, i4) { + const n4 = t4.action; + if (n4.name && !n4.refId && !n4.id && void 0 === n4.trackingId) return void i4.addWarningMessage(a.changeSet.apply.beforeActionSelectorByName); + const o3 = Se(e4, n4, i4); + if (!o3) return void i4.addWarningMessage(a.changeSet.apply.beforeActionNotFound); + if (t4.outputPath) { + const e5 = t4.outputPath; + let n5; + if (e5.id && (n5 = o3.getBranch(e5.id)), !n5 && e5.name && (n5 = o3.getBranchByLabel(e5.name)), !n5) { + const t5 = e5.id || e5.name || "unknown"; + return void i4.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.beforeActionOutputPathNotFound, t5)); + } + return { container: n5, previous: void 0 }; + } + if (!(0, ne.isActionContainerViewModel)(o3.parent)) return void i4.addWarningMessage(a.changeSet.apply.beforeActionNoContainerParent); + const s2 = o3.previousAction; + return { container: o3.parent, previous: null != s2 ? s2 : void 0 }; + })(e3, n3.beforeAction, i3); + const o2 = (function(e4, t4, i4) { + if ("startupTask" in t4) return fe(e4, i4); + if ("startupState" in t4) return Te(e4, i4); + if ("periodicState" in t4) return ye(e4, i4); + if ("task" in t4) return ge(e4, t4.task, i4); + if ("state" in t4) return ge(e4, t4.state, i4); + if ("actionOutput" in t4) { + const { action: n4, outputPath: o3 } = t4.actionOutput, s2 = n4.trackingId, l2 = he(e4, n4.id, s2); + if (!l2) return void i4.addWarningMessage(a.changeSet.apply.ofActionOutputTargetNotFound); + return l2.getBranch(o3.id) || void i4.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.ofActionOutputPathNotFound, o3.id)); + } + })(e3, "toTheBeginningOf" in n3 ? n3.toTheBeginningOf : n3.toTheEndOf, i3); + return o2 ? "toTheBeginningOf" in n3 ? { container: o2, previous: void 0 } : { container: o2, previous: Ae(o2) } : void 0; + } + function ue(e3, t3) { + return (function(e4) { + return !!("string" == typeof e4.refId && e4.refId.length > 0) && void 0 === e4.id && void 0 === e4.name && void 0 === e4.trackingId; + })(e3) && !t3.refIdMap.has(e3.refId); + } + function ce(e3, t3) { + const i3 = e3.where; + if ("afterAction" in i3 && ue(i3.afterAction.action, t3)) return true; + if ("beforeAction" in i3 && ue(i3.beforeAction.action, t3)) return true; + const n3 = "toTheBeginningOf" in i3 ? i3.toTheBeginningOf : "toTheEndOf" in i3 ? i3.toTheEndOf : void 0; + if (n3) { + if ("task" in n3 && ue(n3.task, t3)) return true; + if ("state" in n3 && ue(n3.state, t3)) return true; + } + return false; + } + function de(e3) { + const t3 = e3.states; + return (0, z.isArray)(t3) ? t3 : []; + } + function pe(e3, t3) { + o.default.each(e3, (e4) => { + var i3; + t3(e4), (null === (i3 = e4.choices) || void 0 === i3 ? void 0 : i3.length) && pe(e4.choices, t3); + }); + } + function _e(e3, t3) { + let i3 = e3; + for (; i3; ) t3(i3), o.default.each(i3.branches, (e4) => { + _e(e4.topAction, t3); + }), i3 = i3.nextAction; + } + function he(e3, t3, i3, n3) { + let r3; + const a2 = (e4) => { + r3 || (o.default.isNullOrUndefined(t3) || e4.id !== t3) && (o.default.isNullOrUndefined(i3) || e4.trackingId !== i3) && (o.default.isNullOrUndefined(n3) || e4.name !== n3) || (r3 = e4); + }, s2 = (e4) => { + _e(e4.topAction, a2); + }; + return o.default.each(e3.tasks, (e4) => { + (0, re.isTaskLike)(e4) && s2(e4); + }), o.default.each(de(e3), (e4) => { + (0, re.isTaskLike)(e4) && s2(e4); + }), o.default.each(e3.menus || [], (e4) => { + pe(e4.choices, (e5) => { + (0, re.isTaskLike)(e5.task) && s2(e5.task); + }); + }), r3; + } + function me(e3, t3) { + for (const i3 of e3.tasks || []) if (i3.trackingId === t3) return i3; + for (const i3 of de(e3)) if (i3.trackingId === t3) return i3; + for (const i3 of e3.menus || []) { + if (i3.trackingId === t3) return i3; + let e4; + if (pe(i3.choices, (i4) => { + e4 || i4.trackingId === t3 && (e4 = i4); + }), e4) return e4; + } + } + function ge(e3, t3, i3) { + let n3; + if (t3.refId) n3 = i3.refIdMap.get(t3.refId); + else if (t3.id) n3 = U.flowElementRegistrationService.getItemById(e3, t3.id); + else if (void 0 !== t3.trackingId) n3 = me(e3, t3.trackingId); + else if (t3.name) return void i3.addWarningMessage(a.changeSet.apply.ofActionContainerSelectorByName); + const r3 = (function(e4) { + if (e4 && "object" == typeof e4) return (0, ne.isActionContainerViewModel)(e4) ? e4 : (0, ae.isMenuChoice)(e4) && (0, re.isTaskLike)(e4.task) ? e4.task : void 0; + })(n3); + return !r3 && n3 && i3.addWarningMessage(a.changeSet.apply.ofActionContainerNotResolved), r3; + } + function fe(e3, t3) { + const i3 = e3.startUpObject; + if (i3) if (i3.isMenu) t3.addWarningMessage(a.changeSet.apply.ofStartupTaskIsMenu); + else { + if (!(0, b.isStartupStateLike)(i3)) return (0, re.isTaskLike)(i3) ? i3 : void t3.addWarningMessage(a.changeSet.apply.ofStartupTaskNotATask); + t3.addWarningMessage(a.changeSet.apply.ofStartupTaskIsState); + } + else t3.addWarningMessage(a.changeSet.apply.flowHasNoStartupObject); + } + function Te(e3, t3) { + const i3 = e3.startUpObject; + if (i3) { + if ((0, b.isStartupStateLike)(i3)) return (0, re.isTaskLike)(i3) ? i3 : void 0; + t3.addWarningMessage(a.changeSet.apply.ofStartupStateNotAState); + } else t3.addWarningMessage(a.changeSet.apply.flowHasNoStartupObject); + } + function ye(e3, t3) { + const i3 = e3.periodicState; + if (i3) return (0, re.isTaskLike)(i3) ? i3 : void 0; + t3.addWarningMessage(a.changeSet.apply.ofPeriodicStateNotAvailable); + } + function Se(e3, t3, i3) { + if (t3.refId) { + const e4 = i3.refIdMap.get(t3.refId); + return e4 && "function" == typeof e4.getBranch ? e4 : void 0; + } + return t3.name ? he(e3, t3.id, t3.trackingId, t3.name) : he(e3, t3.id, t3.trackingId); + } + function Ae(e3) { + let t3 = e3.topAction; + if (t3) { + for (; t3.nextAction; ) t3 = t3.nextAction; + return t3; + } + } + function Ne(e3) { + return `changeSetTarget[${e3.refId || e3.name || e3.id || "actions"}]`; + } + const ve = (0, B.createNewGetConfigOperationSettings)(false, true, false, true); + function Oe(e3) { + try { + const t3 = e3.getConfiguration({}, ve); + return (0, Z.isConfigureFromModelRecord)(t3) ? t3 : void 0; + } catch (e4) { + return; + } + } + function Ie(e3, t3) { + const i3 = Object.keys(e3)[0]; + if (!i3) return void t3.addWarningMessage(a.changeSet.apply.deleteItemMustHaveTypeKey); + const n3 = e3[i3]; + if (!n3) return void t3.addWarningMessage(a.changeSet.apply.deleteItemMustHaveTypeKey); + const r3 = void 0 !== n3.trackingId, o2 = void 0 !== n3.id, s2 = void 0 !== n3.name, l2 = void 0 !== n3.refId; + if (r3 || o2 || s2 || l2) { + if (!s2 || r3 || o2 || l2) return { typeKey: i3, selector: n3 }; + t3.addWarningMessage(a.changeSet.apply.deleteSelectorByNameNotSupported); + } else t3.addWarningMessage(a.changeSet.apply.deleteSelectorMissingIdentifier); + } + function Ce(e3, t3, i3, n3, o2, s2, l2, u2) { + let d2; + if (d2 = "task" === t3 ? (0, P.findTaskBySelector)(e3, i3, s2) : (0, D.findStateBySelector)(e3, i3, s2), d2) { + if (n3) { + const e4 = (function(e5) { + try { + const t4 = e5.getConfiguration({}, ve); + if (!(0, Z.isConfigureFromModelRecord)(t4)) return; + const i4 = t4[e5.wrappedYamlName]; + return (0, Z.isConfigureFromModelRecord)(i4) ? i4 : t4; + } catch (e6) { + return; + } + })(d2); + e4 && ("task" === t3 ? n3.addTask(e4) : n3.addState(e4)); + } + o2.add(d2.id), s2.changeSetResults.addResult({ path: `/changes[${l2}]/delete/items[${u2}]`, deleted: { [t3]: new c.ChangeSetResultObject(d2.id, d2.name, d2.trackingId) } }), _e(d2.topAction, (e4) => { + s2.changeSetResults.addResult({ path: `/changes[${l2}]/delete/items[${u2}]/actions`, deleted: { action: new c.ChangeSetResultObject(e4.id, e4.name, e4.trackingId) } }); + }), e3.deleteNode(d2); + } else s2.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.deleteActionNotFound, JSON.stringify({ [t3]: i3 }))); + } + function be(e3, t3, i3, n3, o2, s2, l2) { + let u2; + if (void 0 !== t3.trackingId) { + const i4 = me(e3, t3.trackingId); + (0, se.isMenu)(i4) && (u2 = i4); + } else void 0 !== t3.id && (u2 = e3.getMenuById(t3.id)); + if (u2) { + if (i3) { + const e4 = (function(e5) { + try { + const t4 = e5.getConfiguration({}, ve); + if (!(0, Z.isConfigureFromModelRecord)(t4)) return; + const i4 = t4[e5.wrappedYamlName]; + return (0, Z.isConfigureFromModelRecord)(i4) ? i4 : t4; + } catch (e6) { + return; + } + })(u2); + e4 && i3.addMenu(e4); + } + n3.add(u2.id), o2.changeSetResults.addResult({ path: `/changes[${s2}]/delete/items[${l2}]`, deleted: { menu: new c.ChangeSetResultObject(u2.id, u2.name, u2.trackingId) } }), pe(u2.choices, (e4) => { + o2.changeSetResults.addResult({ path: `/changes[${s2}]/delete/items[${l2}]/choices`, deleted: { menuChoice: new c.ChangeSetResultObject(e4.id, e4.name, e4.trackingId) } }); + }), e3.deleteNode(u2); + } else o2.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.deleteActionNotFound, JSON.stringify({ menu: t3 }))); + } + function Ee(e3, t3, i3, n3, o2, s2, l2) { + let u2; + if (void 0 !== t3.trackingId) { + const i4 = me(e3, t3.trackingId); + (0, ae.isMenuChoice)(i4) && (u2 = i4); + } else if (void 0 !== t3.id) { + const i4 = U.flowElementRegistrationService.getItemById(e3, t3.id); + (0, ae.isMenuChoice)(i4) && (u2 = i4); + } + if (!u2) return void (n3.size || o2.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.deleteActionNotFound, JSON.stringify({ menuChoice: t3 })))); + if (i3) { + const e4 = (function(e5) { + try { + const t4 = e5.getConfiguration({}, ve); + return (0, Z.isConfigureFromModelRecord)(t4) ? t4 : void 0; + } catch (e6) { + return; + } + })(u2); + if (e4) { + const t4 = u2.parent; + let n4; + if ((0, se.isMenu)(t4)) { + const e5 = t4; + n4 = e5.trackingId ? { toMenu: { trackingId: e5.trackingId } } : { toMenu: { id: e5.id } }; + } else { + const e5 = t4; + n4 = e5.trackingId ? { toMenuChoice: { trackingId: e5.trackingId } } : { toMenuChoice: { id: e5.id } }; + } + i3.addMenuChoice(e4, n4); + } + } + n3.add(u2.id), o2.changeSetResults.addResult({ path: `/changes[${s2}]/delete/items[${l2}]`, deleted: { menuChoice: new c.ChangeSetResultObject(u2.id, u2.name, u2.trackingId) } }); + const d2 = u2.parent; + u2.task && (0, re.isTaskLike)(u2.task) && u2.task.isHidden && e3.deleteNode(u2.task), d2 && "function" == typeof d2.deleteChild && d2.deleteChild(u2); + } + function we(e3, t3, i3, n3, o2, s2, l2, u2, d2) { + let p2; + if (void 0 !== t3.trackingId ? p2 = x.actionRegistrationService.getActionByTrackingId(e3, t3.trackingId) : void 0 !== t3.id && (p2 = x.actionRegistrationService.getActionById(e3, t3.id)), p2) if (p2.parentFlow === e3) if ((0, ne.isActionContainerViewModel)(p2.parent)) { + if (i3) { + const e4 = Oe(p2); + e4 && (o2.push({ action: p2, parent: p2.parent, yamlSnapshot: e4 }), s2.add(p2.trackingId)); + } + l2.changeSetResults.addResult({ path: `/changes[${u2}]/delete/items[${d2}]`, deleted: { action: new c.ChangeSetResultObject(p2.id, p2.name, p2.trackingId) } }), p2.parent.deleteChild(p2); + } else l2.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.deleteActionNoContainerParent, p2.id)); + else l2.addWarningMessage(a.changeSet.apply.deleteActionNotOwnedByFlow); + else n3.size || l2.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.deleteActionNotFound, JSON.stringify({ action: t3 }))); + } + function Re(e3, t3, i3, n3, o2) { + if (void 0 === t3.id) return void i3.addWarningMessage(a.changeSet.apply.deleteSelectorMissingIdentifier); + const s2 = e3.getVariable(t3.id); + if (!s2 || s2.isDestroyed) return void i3.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.deleteVariableNotFound, JSON.stringify({ variable: t3 }))); + const l2 = s2.name, u2 = s2.id; + i3.changeSetResults.addResult({ path: `/changes[${n3}]/delete/items[${o2}]`, deleted: { variable: new c.ChangeSetResultObject(u2, l2) } }), s2.destroy(); + } + function De(e3, t3, i3, r3, o2, s2) { + return n2.__awaiter(this, void 0, void 0, function* () { + const r4 = e3.id, l2 = e3.trackingId, u2 = "task" === t3 ? a.changeSet.activity.taskUpdated : "state" === t3 ? a.changeSet.activity.stateUpdated : a.changeSet.activity.menuUpdated, d2 = Le(e3, i3); + if (o2.reportActivity({ type: "objectConfiguring", objectType: t3, objectName: e3.name || t3, objectId: r4, trackingId: l2, viewModel: e3, changeIndex: s2, message: { template: u2, params: [{ value: e3.name || t3, link: { objectId: r4 || "", objectType: t3, trackingId: l2, viewModel: e3 } }] } }), yield (0, ie.withModelContextAsync)(o2, `update[${e3.name || t3}]`, () => n2.__awaiter(this, void 0, void 0, function* () { + yield e3.configureFromModel(i3, ee.ModelFormat.ChangeSet, o2); + })), ke(i3, t3, e3, o2, s2), o2.reportActivity({ type: "objectConfigured", objectType: t3, objectName: e3.name || t3, objectId: r4, trackingId: l2, viewModel: e3, changeIndex: s2 }), o2.undoChangeSet && d2) { + const e4 = { trackingId: null != l2 ? l2 : void 0, id: r4 }; + let i4; + i4 = "task" === t3 ? { task: e4, properties: d2 } : "state" === t3 ? { state: e4, properties: d2 } : { menu: e4, properties: d2 }, o2.undoChangeSet.addUpdate(i4); + } + o2.changeSetResults.addResult({ path: `/changes[${s2}]/update`, updated: { [t3]: new c.ChangeSetResultObject(r4 || "", e3.name || t3, l2) } }); + }); + } + function Pe(e3) { + return (0, oe.flowYamlDtmfFromDigit)(e3.dtmf); + } + function Me(e3) { + var t3, i3, n3, r3; + const o2 = null === (r3 = null === (n3 = null === (i3 = null === (t3 = e3.prompts) || void 0 === t3 ? void 0 : t3.defaultAudio) || void 0 === i3 ? void 0 : i3.sequenceItems) || void 0 === n3 ? void 0 : n3[0]) || void 0 === r3 ? void 0 : r3.parameter; + if ("string" == typeof o2 && o2.length > 0) return { tts: o2 }; + } + function Fe(e3) { + var t3, i3, n3, r3; + if (null === (t3 = e3.defaultAudio) || void 0 === t3 ? void 0 : t3.isTTSOnly) { + const t4 = null === (n3 = null === (i3 = e3.defaultAudio.sequenceItems) || void 0 === i3 ? void 0 : i3[0]) || void 0 === n3 ? void 0 : n3.parameter; + if ("string" == typeof t4 && t4.length > 0) return { tts: t4 }; + } + const o2 = null === (r3 = e3.defaultAudio) || void 0 === r3 ? void 0 : r3.text; + if ("string" == typeof o2 && o2.length > 0) return { exp: o2 }; + const a2 = e3.getConfiguration({}, ve); + return (0, Z.isConfigureFromModelRecord)(a2) && Object.keys(a2).length > 0 ? a2 : {}; + } + function Le(e3, t3) { + const i3 = {}; + for (const n3 of Object.keys(t3)) { + if ("name" === n3 && (i3.name = e3.name), "defaultMenuChoice" === n3 && (0, se.isMenu)(e3)) { + const t4 = e3.defaultMenuChoice; + i3.defaultMenuChoice = t4 ? { id: t4 } : null; + } + if ("audio" === n3 && (0, se.isMenu)(e3)) { + const t4 = Me(e3); + t4 && (i3.audio = t4); + } + if ("dtmf" === n3 && (0, ae.isMenuChoice)(e3)) { + const t4 = Pe(e3); + t4 && (i3.dtmf = t4); + } + } + return !("name" in i3) && e3.name && (i3.name = e3.name), i3; + } + const xe = /* @__PURE__ */ new Set(["refId", "trackingId"]); + function ke(e3, t3, i3, n3, r3) { + const o2 = i3.id, a2 = i3.trackingId, u2 = i3.name || t3; + for (const c2 of Object.keys(e3)) { + if (xe.has(c2)) return; + const d2 = e3[c2]; + let p2; + p2 = "string" == typeof d2 ? d2 : "number" == typeof d2 || "boolean" == typeof d2 ? String(d2) : d2 && "object" == typeof d2 && "tts" in d2 ? String(d2.tts) : JSON.stringify(d2), p2.length > 64 && (p2 = p2.substring(0, 64) + "\u2026"), n3.reportActivity((0, s.buildPropertySetActivityEvent)({ objectType: t3, objectName: u2, objectId: o2, trackingId: a2, viewModel: i3, changeIndex: r3, property: c2, propertyDisplayName: (0, l.getFlowObjectPropertyDisplayName)(t3, c2), propertyValue: p2 })); + } + } + function Ve(e3, t3) { + const i3 = Object.keys(e3)[0], n3 = Object.keys(t3); + if (!i3 || 0 === n3.length) return e3; + const r3 = e3[i3]; + if (!(0, Q.isNonArrayObject)(r3)) return e3; + const o2 = {}; + for (const e4 of n3) e4 in r3 && (o2[e4] = r3[e4]); + return "name" in r3 && !("name" in o2) && (o2.name = r3.name), { [i3]: o2 }; + } + function Ue(e3, t3, i3, n3) { + const o2 = t3, s2 = o2.refId; + if ("string" != typeof s2 || 0 === s2.length) return; + const l2 = Object.keys(o2).filter((e4) => "refId" !== e4); + if (1 !== l2.length) return; + const u2 = l2[0]; + let d2; + switch (u2) { + case "task": + d2 = (0, P.findTaskBySelector)(e3, o2.task, i3); + break; + case "state": + d2 = (0, D.findStateBySelector)(e3, o2.state, i3); + break; + case "menu": + d2 = (0, R.findMenuBySelector)(e3, o2.menu, i3); + break; + case "action": + d2 = Se(e3, o2.action, i3); + break; + case "menuChoice": { + const t4 = (0, w.findFlowElementBySelector)(e3, o2.menuChoice, i3); + (0, ae.isMenuChoice)(t4) && (d2 = t4); + break; + } + case "startupTask": + d2 = fe(e3, i3); + break; + case "startupState": + d2 = Te(e3, i3); + break; + case "periodicState": + d2 = ye(e3, i3); + break; + case "startupMenu": + d2 = (function(e4, t4) { + const i4 = e4.startUpObject; + if (i4) { + if (i4.isMenu && (0, se.isMenu)(i4)) return i4; + t4.addWarningMessage(a.changeSet.apply.ofStartupMenuNotAMenu); + } else t4.addWarningMessage(a.changeSet.apply.flowHasNoStartupObject); + })(e3, i3); + } + if (!d2 || !d2.id) return void i3.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.createRefTargetNotFound, s2, u2)); + const p2 = i3.refIdMap.get(s2); + p2 && p2 !== d2 && i3.addWarningMessage((0, r2.sprintf)(a.changeSet.apply.createRefReassigned, s2)), i3.refIdMap.set(s2, d2); + const _2 = (function(e4) { + switch (e4) { + case "action": + return "action"; + case "menu": + case "startupMenu": + return "menu"; + case "menuChoice": + return "menuChoice"; + case "state": + case "startupState": + case "periodicState": + return "state"; + default: + return "task"; + } + })(u2); + i3.changeSetResults.addResult({ path: `/changes[${n3}]/createRef`, refId: s2, updated: { [_2]: new c.ChangeSetResultObject(d2.id, d2.name, d2.trackingId) } }); + } + function Be(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + const s2 = e3[o2.propertyKey]; + (0, z.isArray)(s2) && (yield (0, ie.withModelContextAsync)(i3, o2.propertyKey, () => n2.__awaiter(this, void 0, void 0, function* () { + const e4 = []; + for (const t4 of s2) { + if (!(0, Z.isConfigureFromModelRecord)(t4)) continue; + const n3 = t4, s3 = Object.keys(n3); + if (0 === s3.length) continue; + const l2 = n3[s3[0]]; + if (!(0, Z.isConfigureFromModelRecord)(l2)) continue; + const u2 = l2, c2 = (0, X.isString)(u2.name) ? u2.name : void 0, d2 = (0, X.isString)(u2.refId) ? u2.refId : `_${o2.wrapperKey}_${e4.length}`; + try { + const t5 = o2.createContainer(c2); + if (!t5) continue; + i3.refIdMap.set(d2, t5), i3.debug(`Creating ${o2.wrapperKey} '${c2 || "unnamed"}' (refId: ${d2}).`), e4.push({ refId: d2, containerVm: t5, containerYaml: u2 }); + } catch (e5) { + const t5 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, r2.sprintf)(a.changeSet.apply.containerCreationFailed, o2.wrapperKey, c2 || d2, t5)); + } + } + for (const { refId: s3, containerVm: l2, containerYaml: u2 } of e4) yield (0, ie.withModelContextAsync)(i3, `${o2.wrapperKey}[${s3}]`, () => n2.__awaiter(this, void 0, void 0, function* () { + try { + yield l2.configureFromModel(u2, t3, i3); + } catch (e5) { + const t4 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, r2.sprintf)(a.changeSet.apply.containerConfigurationFailed, o2.wrapperKey, s3, t4)); + } + })); + }))); + }); + } + function Ge(e3, t3, i3, o2, s2) { + return n2.__awaiter(this, void 0, void 0, function* () { + var l2, u2, d2; + const p2 = (0, X.isString)(t3.name) ? t3.name : void 0, _2 = (0, X.isString)(t3.refId) ? t3.refId : void 0; + _2 && i3.refIdMap.set(_2, e3), null === (l2 = i3.undoChangeSet) || void 0 === l2 || l2.beginUndoDeleteGroup(); + try { + null === (u2 = i3.undoChangeSet) || void 0 === u2 || u2.recordUndoDeleteByTrackingId(s2, e3.trackingId), yield (0, ie.withModelContextAsync)(i3, `${s2}[${e3.name || "unnamed"}]`, () => n2.__awaiter(this, void 0, void 0, function* () { + try { + yield e3.configureFromModel(t3, ee.ModelFormat.FlowYaml, i3, o2); + } catch (e4) { + const t4 = e4 instanceof Error ? e4.message : String(e4); + i3.warn((0, r2.sprintf)(a.changeSet.apply.objectConfigurationFailed, s2, p2 || "unnamed", t4)); + } + })); + } finally { + null === (d2 = i3.undoChangeSet) || void 0 === d2 || d2.endUndoDeleteGroup(); + } + i3.changeSetResults.addResult({ path: `/changes[${o2}]/add/${s2}`, added: { [s2]: new c.ChangeSetResultObject(e3.id, e3.name, e3.trackingId) } }); + }); + } + function je(e3, t3) { + return !(void 0 !== t3.name && e3.displayName !== t3.name || void 0 !== t3.type && e3.type !== t3.type || void 0 !== t3.id && e3.id !== t3.id || void 0 !== t3.version && !(function(e4, t4) { + var i3; + const n3 = e4.versions; + switch (t4.toLowerCase()) { + case "latest": + return n3.isLatestVersion; + case "published": { + const e5 = null === (i3 = n3.publishedVersion) || void 0 === i3 ? void 0 : i3.name; + return !!e5 && n3.currentVersionNumber === e5; + } + default: + return n3.currentVersionNumber === t4; + } + })(e3, t3.version)); + } + function We(e3, t3, i3) { + if (!t3) return true; + if (je(e3, t3.flow)) return true; + if (t3.otherFlows) { + for (const i4 of t3.otherFlows) if (je(e3, i4)) return true; + } + const n3 = [t3.flow, ...t3.otherFlows || []].map((e4) => `(${(function(e5) { + const t4 = []; + return void 0 !== e5.name && t4.push((0, r2.sprintf)(a.changeSet.apply.filterCriteriaName, e5.name)), void 0 !== e5.type && t4.push((0, r2.sprintf)(a.changeSet.apply.filterCriteriaType, e5.type)), void 0 !== e5.id && t4.push((0, r2.sprintf)(a.changeSet.apply.filterCriteriaId, e5.id)), void 0 !== e5.version && t4.push((0, r2.sprintf)(a.changeSet.apply.filterCriteriaVersion, e5.version)), t4.join(" and "); + })(e4)})`).join(" or "); + return i3.error((0, r2.sprintf)(a.changeSet.apply.filterCriteriaNotMet, n3)), i3.continueProcessing = false, false; + } }, 84896: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(99469), o = i2(37120), a = i2(12179), s = i2(12457), l = n2.__importDefault(i2(97891)), u = i2(28803), d = n2.__importDefault(i2(33644)), c = i2(47957); - class p extends d.default { + const n2 = i2(31635), r2 = i2(99469), o = i2(37120), a = i2(12179), s = i2(12457), l = n2.__importDefault(i2(97891)), u = i2(28803), c = n2.__importDefault(i2(33644)), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends c.default { getDetails() { - return new s.ActionDetails([c.flowOutcomes.flowOutcome, c.flowOutcomes.flowMilestone], [this.outcomeName, this.milestoneName]); + return new s.ActionDetails([p.flowOutcomes.flowOutcome, p.flowOutcomes.flowMilestone], [this.outcomeName, this.milestoneName]); } static get managedProperties() { - return [{ property: "milestone", label: c.flowOutcomes.flowMilestone, options: r2.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("milestone-selector").setDropdownPlaceholder(c.flowOutcomes.selectFlowMilestone).setUiPropertyOrder(1)), createDetails: u.NetworkBasedActionProperty.createCreateDetails("milestoneId", "milestoneName", o.milestoneManager, c.flowOutcomes.mustSelectFlowMilestone, c.flowOutcomes.flowMilestoneNotFound, null) }]; + return [{ property: "milestone", label: p.flowOutcomes.flowMilestone, options: r2.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("milestone-selector").setDropdownPlaceholder(p.flowOutcomes.selectFlowMilestone).setUiPropertyOrder(1)), createDetails: u.NetworkBasedActionProperty.createCreateDetails("milestoneId", "milestoneName", o.milestoneManager, p.flowOutcomes.mustSelectFlowMilestone, p.flowOutcomes.flowMilestoneNotFound, null) }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } } - p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: a.helpTopics.actions.addFlowMilestone, modelClass: i2(1080), name: c.actions.addFlowMilestone, scriptingName: "ArchActionAddFlowMilestone" }), t2.A = p; + _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: a.helpTopics.actions.addFlowMilestone, modelClass: i2(1080), name: p.actions.addFlowMilestone, scriptingName: "ArchActionAddFlowMilestone", modelFormatSupport: { flowYaml: { feature: d.default.changeSetsFeaturePhase1 } } }), t2.A = _; }, 84940: (e2, t2, i2) => { const n2 = i2(92140); function r2(e3) { @@ -99747,6 +108222,12 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(51953)), o = n2.__importDefault(i2(9436)), a = { ArchValidationIssue: r2.default, ArchValidationResults: o.default }; t2.default = a; + }, 85006: (e2, t2) => { + "use strict"; + var i2; + Object.defineProperty(t2, "__esModule", { value: true }), t2.LogLevel = void 0, (function(e3) { + e3.Debug = "debug", e3.Info = "info", e3.Warning = "warning", e3.Error = "error"; + })(i2 || (t2.LogLevel = i2 = {})); }, 85020: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.channelTypesAll = t2.channelTypeChat = t2.channelTypeCall = void 0, t2.getChannelTypeForChannelId = function(e3) { @@ -99756,71 +108237,80 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.channelTypeCall = a("call", r2.channelTypes.call), t2.channelTypeChat = a("chat", r2.channelTypes.chat), t2.channelTypesAll = Object.values(o); }, 85047: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getAllExternalContactPatchFields = c, t2.getExternalContactFieldDef = function(e3) { - if (e3) return c().includes(e3) ? e3 : void 0; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getExternalContactPatchCollectionConstraints = function(e3) { + const t3 = f(e3), i3 = t3 ? h(t3) : void 0; + if (void 0 !== (null == i3 ? void 0 : i3.minItems) && void 0 !== (null == i3 ? void 0 : i3.maxItems)) return { minItems: i3.minItems, maxItems: i3.maxItems }; + }, t2.getAllExternalContactPatchFieldGroups = m, t2.getAllExternalContactPatchFields = g, t2.getExternalContactFieldDef = function(e3) { + if (e3) return g().includes(e3) ? e3 : void 0; }, t2.resolveExternalContactFieldType = function(e3, t3) { var i3; if (!e3) return; - const n3 = (function(e4) { - var t4; - const i4 = e4.split("."); - let n4 = s.globalTypes.externalContact; - for (let e5 = 0; e5 < i4.length; e5++) { - const r4 = null == n4 ? void 0 : n4.getPropertyDefinition(i4[e5]); - if (!r4) return; - if (e5 === i4.length - 1) return r4; - n4 = (null === (t4 = r4.type) || void 0 === t4 ? void 0 : t4.isCollection) ? r4.type.singletonType : r4.type; - } - })(e3); + const n3 = f(e3); if (!n3) return; const r3 = n3.type, o2 = !!n3.isCollection; let a2 = r3; return ((null == r3 ? void 0 : r3.hasProperties()) || (null == r3 ? void 0 : r3.isCollection)) && (a2 = null !== (i3 = (function(e4, t4, i4) { - const n4 = `jsn__architect::${l}_${t4.replace(/\./g, "_")}`, r4 = i4.isCollection ? i4.singletonType : i4; - if (r4) return p(e4, n4, r4, i4.isCollection); + const n4 = `jsn__architect::${d}_${t4.replace(/\./g, "_")}`, r4 = i4.isCollection ? i4.singletonType : i4; + if (r4) return T(e4, n4, r4, i4.isCollection); })(t3, e3, r3)) && void 0 !== i3 ? i3 : r3), { id: e3, valueType: a2, isCollection: o2 }; }; - const n2 = i2(31635), r2 = n2.__importStar(i2(14592)), o = n2.__importDefault(i2(87675)), a = n2.__importDefault(i2(65302)), s = i2(14394), l = "extContact_patch"; - let u; - function d(e3) { + const n2 = i2(31635), r2 = n2.__importStar(i2(14592)), o = n2.__importDefault(i2(87675)), a = n2.__importDefault(i2(65302)), s = n2.__importDefault(i2(41510)), l = i2(14394), u = i2(17604), c = i2(47957), d = "extContact_patch"; + let p; + function _(e3) { return Object.values(e3.properties).filter((e4) => e4.isPatchable); } - function c() { - var e3, t3; - if (u) return u; - if (!(null === (e3 = s.globalTypes.externalContact) || void 0 === e3 ? void 0 : e3.hasProperties())) return u = [], []; - u = []; - for (const e4 of d(s.globalTypes.externalContact)) { - u.push(e4.id); - const i3 = (null === (t3 = e4.type) || void 0 === t3 ? void 0 : t3.isCollection) ? e4.type.singletonType : e4.type; - if (null == i3 ? void 0 : i3.hasProperties()) for (const t4 of d(i3)) u.push(`${e4.id}.${t4.name}`); + function h(e3) { + return e3.isPatchable ? e3.patchableSettings : void 0; + } + function m() { + var e3, t3, i3, n3; + if (p) return p; + if (!(null === (e3 = l.globalTypes.externalContact) || void 0 === e3 ? void 0 : e3.hasProperties())) return {}; + p = {}; + for (const e4 of _(l.globalTypes.externalContact)) if (p[e4.id] = { id: e4.id, childIds: [] }, !(null === (t3 = e4.type) || void 0 === t3 ? void 0 : t3.isCollection) && (null === (i3 = e4.type) || void 0 === i3 ? void 0 : i3.hasProperties())) for (const t4 of _(e4.type)) "display" === t4.id && (null === (n3 = e4.type) || void 0 === n3 ? void 0 : n3.isMatch(l.globalTypes.externalPhoneNumber)) || p[e4.id].childIds.push(`${e4.id}.${t4.id}`); + return p; + } + function g() { + const e3 = m(); + return Object.values(e3).flatMap((e4) => [e4.id, ...e4.childIds]); + } + function f(e3) { + var t3; + const i3 = e3.split("."); + let n3 = l.globalTypes.externalContact; + for (let e4 = 0; e4 < i3.length; e4++) { + const r3 = null == n3 ? void 0 : n3.getPropertyDefinition(i3[e4]); + if (!r3) return; + if (e4 === i3.length - 1) return r3; + if (null === (t3 = r3.type) || void 0 === t3 ? void 0 : t3.isCollection) return; + n3 = r3.type; } - return u; } - function p(e3, t3, i3, n3) { - const s2 = a.default.getType(e3, t3, n3); - if (s2) return s2; - const u2 = (function(e4, t4, i4) { - var n4, r3; - const a2 = o.default.createEmptyDataTypeDef(); - a2.id = t4, a2.dataTypeId = t4, a2.name = i4.displayString, a2.additionalProperties = false; - const s3 = d(i4); - if (s3.length) { - for (const t5 of s3) { + function T(e3, t3, i3, n3) { + const l2 = a.default.getType(e3, t3, n3); + if (l2) return l2; + const p2 = (function(e4, t4, i4) { + var n4, r3, a2, l3, p3, m2; + const g2 = o.default.createEmptyDataTypeDef(); + g2.id = t4, g2.dataTypeId = t4, g2.name = (0, u.sprintf)(s.default.externalContacts.patchTypeNameFormat, i4.displayString, c.generic.patch), g2.additionalProperties = false; + const f2 = _(i4); + if (f2.length) { + for (const t5 of f2) { const i5 = null !== (r3 = null === (n4 = t5.type) || void 0 === n4 ? void 0 : n4.singletonType) && void 0 !== r3 ? r3 : t5.type; if (!i5) continue; - let s4 = i5.expressionType; + let s2 = i5.expressionType; if (i5.hasProperties()) { - const t6 = p(e4, `jsn__architect::${l}_type_${i5.expressionType}`, i5, false); + const t6 = T(e4, `jsn__architect::${d}_type_${i5.expressionType}`, i5, false); if (!t6) continue; - s4 = t6.expressionType; + s2 = t6.expressionType; } - a2.addProperty(o.default.createFromPropertyParams(e4, t5.name, s4, t5.description || "", { isCollection: t5.isCollection, isReadOnly: false, minLength: t5.minLength, maxLength: t5.maxLength, minValue: t5.minValue, maxValue: t5.maxValue })); + const u2 = h(t5); + g2.addProperty(o.default.createFromPropertyParams(e4, t5.name, s2, t5.description || "", { isCollection: t5.isCollection, isReadOnly: false, isRequired: null !== (a2 = null == u2 ? void 0 : u2.isRequired) && void 0 !== a2 && a2, minItems: null !== (l3 = null == u2 ? void 0 : u2.minItems) && void 0 !== l3 ? l3 : t5.minItems, maxItems: null !== (p3 = null == u2 ? void 0 : u2.maxItems) && void 0 !== p3 ? p3 : t5.maxItems, minLength: null !== (m2 = null == u2 ? void 0 : u2.minLength) && void 0 !== m2 ? m2 : t5.minLength, maxLength: t5.maxLength, minValue: t5.minValue, maxValue: t5.maxValue })); } - return a2.hasProperties ? a2 : void 0; + return g2.hasProperties ? g2 : void 0; } })(e3, t3, i3); - return u2 ? (r2.createCustomExpressionTypesFromDataTypeDefs(e3, [u2], true), a.default.getType(e3, t3, n3)) : void 0; + return p2 ? (r2.createCustomExpressionTypesFromDataTypeDefs(e3, [p2], true), a.default.getType(e3, t3, n3)) : void 0; } }, 85080: (e2, t2, i2) => { "use strict"; @@ -99874,15 +108364,15 @@ ${e3.stack}`, n3 = [this].concat(i3); i2(92330).extend(r2, n2, true), e2.exports = r2; }, 85160: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(2210), o = i2(7401), a = i2(62229), { menuActionType: s } = i2(30801), l = i2(27359), { uuid: u } = i2(9456); - function d() { - Object.defineProperties(this, { _extensionDialingDelay: { writable: true }, _expression: { writable: true }, _menuChoiceList: { writable: true }, _promptRepeatCount: { writable: true }, _promptRepeatDelay: { writable: true }, _prompts: { writable: true }, _speechRecMinConfidence: { writable: true }, _speechRecTimeoutComplete: { writable: true }, _speechRecTimeoutIncomplete: { writable: true }, _speechRecTimeoutTotal: { writable: true }, _useExtensionDialing: { writable: true } }), this.defaultMenuChoice = void 0, d.baseConstructor.apply(this, arguments), this.id || (this.id = u()); + function c() { + Object.defineProperties(this, { _extensionDialingDelay: { writable: true }, _expression: { writable: true }, _menuChoiceList: { writable: true }, _promptRepeatCount: { writable: true }, _promptRepeatDelay: { writable: true }, _prompts: { writable: true }, _speechRecMinConfidence: { writable: true }, _speechRecTimeoutComplete: { writable: true }, _speechRecTimeoutIncomplete: { writable: true }, _speechRecTimeoutTotal: { writable: true }, _useExtensionDialing: { writable: true } }), this.defaultMenuChoice = void 0, c.baseConstructor.apply(this, arguments), this.id || (this.id = u()); } - a.extend(d, s, true), Object.defineProperties(d.prototype, { pasteReIdOrRename: { value: function(e3) { - d._super.pasteReIdOrRename.apply(this, arguments), this.name = e3.pasteGetUniqueMenuName(this.name), this.extensionDialingDelay.pasteReIdOrRename(e3), n2.each(this.menuChoiceList, function(t3) { + a.extend(c, s, true), Object.defineProperties(c.prototype, { pasteReIdOrRename: { value: function(e3) { + c._super.pasteReIdOrRename.apply(this, arguments), this.name = e3.pasteGetUniqueMenuName(this.name), this.extensionDialingDelay.pasteReIdOrRename(e3), n2.each(this.menuChoiceList, function(t3) { t3.pasteReIdOrRename(e3); }), this.promptRepeatCount.pasteReIdOrRename(e3), this.promptRepeatDelay.pasteReIdOrRename(e3), this.speechRecMinConfidence.pasteReIdOrRename(e3), this.speechRecTimeoutComplete.pasteReIdOrRename(e3), this.speechRecTimeoutIncomplete.pasteReIdOrRename(e3), this.speechRecTimeoutTotal.pasteReIdOrRename(e3), this.useExtensionDialing.pasteReIdOrRename(e3), this.prompts.pasteReIdOrRename(e3); } }, pasteResolveOldToNewValues: { value: function(e3) { - d._super.pasteResolveOldToNewValues.apply(this, arguments), this.extensionDialingDelay.pasteResolveOldToNewValues(e3), n2.each(this.menuChoiceList, function(t3) { + c._super.pasteResolveOldToNewValues.apply(this, arguments), this.extensionDialingDelay.pasteResolveOldToNewValues(e3), n2.each(this.menuChoiceList, function(t3) { t3.pasteResolveOldToNewValues(e3); }), this.promptRepeatCount.pasteResolveOldToNewValues(e3), this.promptRepeatDelay.pasteResolveOldToNewValues(e3), this.speechRecMinConfidence.pasteResolveOldToNewValues(e3), this.speechRecTimeoutComplete.pasteResolveOldToNewValues(e3), this.speechRecTimeoutIncomplete.pasteResolveOldToNewValues(e3), this.speechRecTimeoutTotal.pasteResolveOldToNewValues(e3), this.useExtensionDialing.pasteResolveOldToNewValues(e3), this.prompts.pasteResolveOldToNewValues(e3); } }, extensionDialingDelay: { enumerable: true, get: function() { @@ -99925,18 +108415,18 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._useExtensionDialing; }, set: function(e3) { this._useExtensionDialing = this.reviveItem(e3, o); - } } }), e2.exports = d; + } } }), e2.exports = c; }, 85167: (e2, t2, i2) => { - const n2 = i2(4495), r2 = i2(43278), o = i2(43278), a = i2(95803), s = i2(36179), l = i2(72698), u = i2(30218), d = i2(59426), c = i2(42091), p = i2(10236), _ = i2(46575), h = i2(56016); + const n2 = i2(4495), r2 = i2(43278), o = i2(43278), a = i2(95803), s = i2(36179), l = i2(72698), u = i2(30218), c = i2(59426), d = i2(42091), p = i2(10236), _ = i2(46575), h = i2(56016); i2(5532).default, e2.exports = { initialize: () => { - n2.create(), r2.create(), o.create(), a.create(), s.create(), l.create(), u.create(), d.create(), c.create(), _.create(), p.create(), h.create(); + n2.create(), r2.create(), o.create(), a.create(), s.create(), l.create(), u.create(), c.create(), d.create(), _.create(), p.create(), h.create(); } }; }, 85247: (e2, t2, i2) => { const n2 = i2(45214), r2 = i2(7401), o = i2(24710), a = i2(88654), s = i2(66848), l = i2(66445), u = i2(32798); - function d() { - Object.defineProperties(this, { _languageSkill: { writable: true }, _textToSpeech: { writable: true }, _speechToText: { writable: true }, _knowledgeBase: { writable: true }, _knowledgeSetting: { writable: true }, _conversationSummarySetting: { writable: true } }), this.language = void 0, d.baseConstructor.apply(this, arguments); + function c() { + Object.defineProperties(this, { _languageSkill: { writable: true }, _textToSpeech: { writable: true }, _speechToText: { writable: true }, _knowledgeBase: { writable: true }, _knowledgeSetting: { writable: true }, _conversationSummarySetting: { writable: true } }), this.language = void 0, c.baseConstructor.apply(this, arguments); } - n2.extend(d, "LanguageOptions"), Object.defineProperties(d.prototype, { languageSkill: { enumerable: true, get: function() { + n2.extend(c, "LanguageOptions"), Object.defineProperties(c.prototype, { languageSkill: { enumerable: true, get: function() { return this._languageSkill; }, set: function(e3) { this._languageSkill = this.reviveItem(e3, r2); @@ -99960,7 +108450,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._conversationSummarySetting; }, set: function(e3) { this._conversationSummarySetting = this.reviveItem(e3, u); - } } }), e2.exports = d; + } } }), e2.exports = c; }, 85251: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.GetJourneySegmentActionModel = void 0; @@ -100058,16 +108548,16 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 85415: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.conversationCustomAttributeSchemaManager = t2.ConversationCustomAttributeSchemaManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(78280)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(82675), u = i2(86750), d = i2(30801), c = i2(81801), p = i2(30801), _ = i2(30801), h = i2(30801), m = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(78280)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(82675), u = i2(86750), c = i2(30801), d = i2(81801), p = i2(30801), _ = i2(30801), h = i2(30801), m = i2(27862); class g extends s.default { get dependencyType() { return m.ConversationCustomAttributeSchema; } get requiredAuth() { - return c.externalAuthorizations.authStrings.conversationCustomAttributesSchemaView; + return d.externalAuthorizations.authStrings.conversationCustomAttributesSchemaView; } constructor() { - super(), this.topic = a.getTopic("ConversationCustomAttributeSchemaManager"), this.apiCallList = r2.getConversationCustomAttributeSchemas, this.apiCallSingle = r2.getConversationCustomAttributeSchema, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [d.createConversationAttributeActionType, p.getConversationAttributeActionType, _.getConversationAttributesActionType, h.updateConversationAttributeActionType], this.className = "ConversationCustomAttributeSchemaManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = null, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "conversationCustomAttributeSchema", this.useStartsWithKeywordForExactMatch = true, this._initialize(); + super(), this.topic = a.getTopic("ConversationCustomAttributeSchemaManager"), this.apiCallList = r2.getConversationCustomAttributeSchemas, this.apiCallSingle = r2.getConversationCustomAttributeSchema, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [c.createConversationAttributeActionType, p.getConversationAttributeActionType, _.getConversationAttributesActionType, h.updateConversationAttributeActionType], this.additionalQueryParams = { schemaDetails: "SCHEMA_INFO_ONLY" }, this.className = "ConversationCustomAttributeSchemaManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = null, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "conversationCustomAttributeSchema", this.useStartsWithKeywordForExactMatch = true, this.defaultPageSize = 100, this._initialize(); } _createItemViewModel(e3) { return new u.ConversationCustomAttributeSchemaViewModel(e3); @@ -100093,7 +108583,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 85499: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(12847)), o = n2.__importStar(i2(14592)), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(24032)), l = i2(79516), u = i2(85415), d = i2(66314), c = i2(79519), p = i2(79519), _ = i2(89917), h = i2(33264), m = n2.__importDefault(i2(99006)), g = i2(17604), f = n2.__importDefault(i2(65302)), T = i2(80428), y = i2(47957), S = s.getTopic("CustomJsonTypeManager"); + const n2 = i2(31635), r2 = n2.__importStar(i2(12847)), o = n2.__importStar(i2(14592)), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(24032)), l = i2(79516), u = i2(85415), c = i2(66314), d = i2(79519), p = i2(79519), _ = i2(89917), h = i2(33264), m = n2.__importDefault(i2(99006)), g = i2(17604), f = n2.__importDefault(i2(65302)), T = i2(80428), y = i2(47957), S = s.getTopic("CustomJsonTypeManager"); class A { static getCustomJsonTypeManagerByDataTypeId(e3) { return A.instances.get(e3); @@ -100144,16 +108634,16 @@ ${e3.stack}`, n3 = [this].concat(i3); this._updateSchemaDiffResults = void 0, this._updateSchemaProcessingResult = void 0, this._schemaNotUsable = void 0, this._schemaChangeNotUsable = void 0, this._schemaChangeMoreRestrictive = void 0; } tryUpdateParentExpressionPropTypeFromSchema(e3, t3, i3, n3, r3) { - var s2, u2, d2, c2, p2, _2, h2; + var s2, u2, c2, d2, p2, _2, h2; if (this._clearProcessingResults(), !this._parentFlow.info.currentUserCanEdit && !i3) return true; const m2 = this.hasSchema; try { const i4 = this.createDataTypeDefsAndCheckParentExpressionTypePropCompatibility(e3, n3); if (null == i4 ? void 0 : i4.canUse) { if (null === (u2 = i4.schemaDiffResult) || void 0 === u2 ? void 0 : u2.isDiffResultMoreRestrictiveThan()) this._schemaChangeMoreRestrictive = true; - else if (m2 && !(null === (d2 = i4.schemaDiffResult) || void 0 === d2 ? void 0 : d2.isDiffResultLessRestrictiveThan())) return r3 && this._flow.definitions.getCustomDataTypeDefinition(this.dataTypeId).addReader(r3), false; + else if (m2 && !(null === (c2 = i4.schemaDiffResult) || void 0 === c2 ? void 0 : c2.isDiffResultLessRestrictiveThan())) return r3 && this._flow.definitions.getCustomDataTypeDefinition(this.dataTypeId).addReader(r3), false; } else m2 ? (null === (s2 = i4.schemaDiffResult) || void 0 === s2 ? void 0 : s2.isDiffResultMoreRestrictiveThan()) ? this._schemaChangeMoreRestrictive = true : this._schemaChangeNotUsable = true : this._schemaNotUsable = true; - if (this._updateSchemaDiffResults = i4.schemaDiffResult, this._updateSchemaProcessingResult = i4.schemaProcessingResult, this._schemaNotUsable) return S.warning(`Not usable schema for flow (ID: '${null === (c2 = this._parentFlow) || void 0 === c2 ? void 0 : c2.id}')`, i4.schemaDiffResult.individualDiffs), a.emitter.emit(a.alert, { message: this.formatResources(this._resources.schemaNotUsable), type: l.AlertTypeEnum.error }), false; + if (this._updateSchemaDiffResults = i4.schemaDiffResult, this._updateSchemaProcessingResult = i4.schemaProcessingResult, this._schemaNotUsable) return S.warning(`Not usable schema for flow (ID: '${null === (d2 = this._parentFlow) || void 0 === d2 ? void 0 : d2.id}')`, i4.schemaDiffResult.individualDiffs), a.emitter.emit(a.alert, { message: this.formatResources(this._resources.schemaNotUsable), type: l.AlertTypeEnum.error }), false; if (this._schemaChangeNotUsable) return S.warning(`Not usable schema change to flow (ID: '${null === (p2 = this._parentFlow) || void 0 === p2 ? void 0 : p2.id}')`, i4.schemaDiffResult.individualDiffs), a.emitter.emit(a.alert, { message: this.formatResources(this._resources.schemaChanged, this._resources.schemaNotUsable, this._resources.schemaChangeNotApplied), type: l.AlertTypeEnum.error }), false; if (this._schemaChangeMoreRestrictive && (S.warning(`More restrictive schema change to flow (ID: '${null === (_2 = this._parentFlow) || void 0 === _2 ? void 0 : _2.id}')`, i4.schemaDiffResult.individualDiffs), !n3)) return a.emitter.emit(a.alert, { message: this.formatResources(this._resources.schemaChanged, this._resources.schemaChangeMoreRestrictive, this._resources.schemaChangeNotApplied), type: l.AlertTypeEnum.error }), false; this.dataTypeId = i4.schemaProcessingResult.rootDataTypeDefId; @@ -100242,7 +108732,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return u2 ? u2._parentFlow.id === e3.id ? (r2.info(`Reusing pre-existing custom Json type manager: ${u2.dataTypeId}`), u2) : (r2.info(`Deleting manager for another flow (custom Json type manager: ${l2})`), this.instances.delete(u2._dataTypeId), r2.info(`Creating new custom Json type manager: ${l2}`), new A({ dataTypeId: l2, jsonSchemaIdBase: l2, jsonSchemaSource: p.CustomJsonNamespace.decisionTable, parentExpressionPropName: null, schemaName: s2, flow: e3 })) : (r2.info(`Creating new custom Json type manager: ${l2}`), new A({ dataTypeId: l2, jsonSchemaIdBase: l2, jsonSchemaSource: p.CustomJsonNamespace.decisionTable, parentExpressionPropName: null, schemaName: s2, flow: e3 })); } static getOrCreateConversationCustomAttributeSchemaCustomJsonManager(e3, t3, i3) { - const n3 = `${t3} - Schema Data`, o2 = _.CustomJsonIdentifierInfo.create((0, d.createCustomJsonExpressionDataTypeStr)(p.CustomJsonNamespace.conversationAttribute, i3, c.CustomJsonContext.schemaData)), a2 = A.getCustomJsonTypeManagerByDataTypeId(o2.expressionTypeStr); + const n3 = `${t3} - Schema Data`, o2 = _.CustomJsonIdentifierInfo.create((0, c.createCustomJsonExpressionDataTypeStr)(p.CustomJsonNamespace.conversationAttribute, i3, d.CustomJsonContext.schemaData)), a2 = A.getCustomJsonTypeManagerByDataTypeId(o2.expressionTypeStr); return a2 ? a2._parentFlow.id === e3.id ? (r2.info(`Reusing pre-existing custom Json type manager: ${a2.dataTypeId}`), a2) : (r2.info(`Deleting manager for another flow (custom Json type manager: ${o2.expressionTypeStr})`), this.instances.delete(a2._dataTypeId), r2.info(`Creating new custom Json type manager: ${o2.expressionTypeStr}`), new A({ dataTypeId: o2.expressionTypeStr, jsonSchemaIdBase: o2.identifier, jsonSchemaSource: p.CustomJsonNamespace.conversationAttribute, parentExpressionPropName: null, schemaName: n3, flow: e3 })) : (r2.info(`Creating new custom Json type manager: ${o2.expressionTypeStr}`), new A({ dataTypeId: o2.expressionTypeStr, jsonSchemaIdBase: o2.identifier, jsonSchemaSource: p.CustomJsonNamespace.conversationAttribute, parentExpressionPropName: null, schemaName: n3, flow: e3 })); } } @@ -100269,18 +108759,40 @@ ${e3.stack}`, n3 = [this].concat(i3); } } t2.default = r2; + }, 85534: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.processBootstrapActionLimits = function(e3) { + for (const t3 of n2.actionMaxItemsLimitBindings) a(t3, e3); + }, t2.getActionLimitIntValue = s, t2.getActionLimitStrValue = function(e3, t3, i3, n3) { + var r3, a2, s2, l; + const u = null === (s2 = null === (a2 = null === (r3 = o.bootstrapService.actions) || void 0 === r3 ? void 0 : r3[e3]) || void 0 === a2 ? void 0 : a2.limits) || void 0 === s2 ? void 0 : s2.getLimitCondition(t3); + return null !== (l = null == u ? void 0 : u.getStrValue(i3, n3)) && void 0 !== l ? l : i3; + }, t2.getFileAttachmentsPerResponseMax = function(e3, t3, i3) { + return s(e3, r2.actionLimitNames.fileAttachmentsPerResponseMax, t3, i3); + }; + const n2 = i2(42837), r2 = i2(59578), o = i2(16321); + function a(e3, t3, i3) { + var n3, r3, o2; + const a2 = null === (r3 = null === (n3 = null == t3 ? void 0 : t3[e3.actionTypeId]) || void 0 === n3 ? void 0 : n3.limits) || void 0 === r3 ? void 0 : r3.getLimitCondition(e3.limitName); + e3.target.maxItems = null !== (o2 = null == a2 ? void 0 : a2.getIntValue(e3.target.maxItems, i3)) && void 0 !== o2 ? o2 : e3.target.maxItems; + } + function s(e3, t3, i3, n3) { + var r3, a2, s2, l; + const u = null === (s2 = null === (a2 = null === (r3 = o.bootstrapService.actions) || void 0 === r3 ? void 0 : r3[e3]) || void 0 === a2 ? void 0 : a2.limits) || void 0 === s2 ? void 0 : s2.getLimitCondition(t3); + return null !== (l = null == u ? void 0 : u.getIntValue(i3, n3)) && void 0 !== l ? l : i3; + } }, 85660: (e2, t2, i2) => { "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }), t2.isPromptContainerViewModel = function(e3) { - return e3 instanceof v; + return e3 instanceof I; }; - const r2 = i2(31635), o = i2(79364), a = i2(79364), s = r2.__importDefault(i2(92140)), l = r2.__importStar(i2(63352)), u = i2(14394), d = r2.__importStar(i2(24032)), c = r2.__importStar(i2(36781)), p = r2.__importStar(i2(15717)), _ = i2(18638), h = r2.__importStar(i2(97920)), m = r2.__importStar(i2(77147)), g = r2.__importStar(i2(27854)), f = i2(82632), T = i2(52023), y = i2(80295), S = i2(80295), A = r2.__importDefault(i2(89034)), N = r2.__importDefault(i2(54061)), O = i2(27862), I = d.getTopic("prompt"); - class v extends A.default { + const r2 = i2(31635), o = i2(79364), a = i2(79364), s = r2.__importDefault(i2(92140)), l = r2.__importStar(i2(63352)), u = i2(14394), c = r2.__importStar(i2(24032)), d = r2.__importStar(i2(36781)), p = r2.__importStar(i2(15717)), _ = i2(18638), h = r2.__importStar(i2(97920)), m = r2.__importStar(i2(77147)), g = r2.__importStar(i2(27854)), f = i2(82632), T = i2(52023), y = i2(80295), S = i2(80295), A = r2.__importDefault(i2(89034)), N = r2.__importDefault(i2(54061)), v = i2(27862), O = c.getTopic("prompt"); + class I extends A.default { constructor(e3, t3) { - super(), this.topic = I, this._promptResources = /* @__PURE__ */ new Map(), this.promptResources$ = (0, o.from)(this._promptResources), n2.set(this, void 0), this.promptContainerSaved$ = new a.Subject(), this.isUser = !t3, this.isSystem = t3, (0, S.makeUnenumerable)(this, "isUser"), (0, S.makeUnenumerable)(this, "isSystem"), (0, S.makeUnenumerable)(this, "topic"), (0, S.makeUnenumerable)(this, "_model"), this.loadModel(e3); + super(), this.topic = O, this._promptResources = /* @__PURE__ */ new Map(), this.promptResources$ = (0, o.from)(this._promptResources), n2.set(this, void 0), this.promptContainerSaved$ = new a.Subject(), this.isUser = !t3, this.isSystem = t3, (0, S.makeUnenumerable)(this, "isUser"), (0, S.makeUnenumerable)(this, "isSystem"), (0, S.makeUnenumerable)(this, "topic"), (0, S.makeUnenumerable)(this, "_model"), this.loadModel(e3); } - canDelete() { + canDelete(e3) { return false; } get canEdit() { @@ -100331,17 +108843,17 @@ ${e3.stack}`, n3 = [this].concat(i3); get text() { return this.displayName; } - get languageUsages() { - let e3 = []; - return s.default.each(this.usages, (t3) => { - t3.referenceElement.languages && (e3 = s.default.union(e3, t3.referenceElement.languages)); - }), e3; + languageUsagesForFlow(e3) { + let t3 = []; + return s.default.each(this.getUsagesForFlow(e3), (e4) => { + e4.referenceElement.languages && (t3 = s.default.union(t3, e4.referenceElement.languages)); + }), t3; } clearResourceAudio(e3) { return h.clearOrRevertAudio(this.id, e3.language, this.isSystem).then(() => { - if (!this.isSystem || e3.hasDefaultAudio) return h.getPromptResource(this.id, e3.language, this.isSystem).then((e4) => this.setPromptResource(new N.default(this, e4), e4.language.toLowerCase())).catch((t3) => I.requestError(t3, `Failed to refresh prompt resource for ${e3.language}, ${this.id}`)); + if (!this.isSystem || e3.hasDefaultAudio) return h.getPromptResource(this.id, e3.language, this.isSystem).then((e4) => this.setPromptResource(new N.default(this, e4), e4.language.toLowerCase())).catch((t3) => O.requestError(t3, `Failed to refresh prompt resource for ${e3.language}, ${this.id}`)); e3.textAvailable || e3.ttsAvailable ? e3.resetAudio() : this.deletePromptResourceForKey(e3.language.toLowerCase()); - }).catch((t3) => I.requestError(t3, `Failed to clear\revert prompt resource for ${e3.language}, ${this.id}`)); + }).catch((t3) => O.requestError(t3, `Failed to clear\revert prompt resource for ${e3.language}, ${this.id}`)); } getTtsExceedsMaxLengthError(e3) { if (!e3 || !e3.languages || !e3.parentFlow.definition.supportsAudio) return null; @@ -100359,7 +108871,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } savePromptContainer(e3, t3) { return h.updatePromptContainer(this.id, this.displayName, this.description).then(() => { - if (this.isUser && e3 && c.emitter.emit(c.promptChanged, this, e3), !t3) { + if (this.isUser && e3 && d.emitter.emit(d.promptChanged, this, e3), !t3) { const e4 = []; return this._promptResources.forEach((t4) => { t4.changed && e4.push(t4.saveResource()); @@ -100368,7 +108880,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }).then(() => { this.promptContainerSaved$.next(); }).catch((e4) => { - I.requestError(e4, "Failed to update the prompt container: " + this.id); + O.requestError(e4, "Failed to update the prompt container: " + this.id); }); } createPromptResource(e3, t3, i3) { @@ -100377,7 +108889,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const t4 = e4.language.toLowerCase(), i4 = new N.default(this, e4); this.setPromptResource(i4, t4), n3.resolve(i4); }, (t4) => { - I.errorPromise(t4, "Failed to create a {} prompt resource for {}:", e3, this.id), n3.reject(t4); + O.errorPromise(t4, "Failed to create a {} prompt resource for {}:", e3, this.id), n3.reject(t4); }), n3.promise; } setPromptResource(e3, t3) { @@ -100392,9 +108904,9 @@ ${e3.stack}`, n3 = [this].concat(i3); return h.deletePromptResource(this.id, e3.language).then(() => { this.deletePromptResourceForKey(e3.language.toLowerCase()); for (let t4 = 0; t4 < this._model.resources.length; t4++) this._model.resources[t4].language === e3.language.toLowerCase() && this._model.resources.splice(t4, 1); - c.emitter.emit(c.promptResourceDeleted, this), t3.resolve(this); + d.emitter.emit(d.promptResourceDeleted, this), t3.resolve(this); }, (i3) => { - I.requestError(i3, `Failed to delete prompt resource '${e3.language}' from prompt '${this.id}'`), t3.reject(i3); + O.requestError(i3, `Failed to delete prompt resource '${e3.language}' from prompt '${this.id}'`), t3.reject(i3); }), t3.promise; }); } @@ -100402,7 +108914,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return u.globalTypes.prompt; } get dependencyType() { - return this.isSystem ? O.SystemPrompt : O.UserPrompt; + return this.isSystem ? v.SystemPrompt : v.UserPrompt; } get nodeGuxIcon() { return "roster-chat"; @@ -100447,7 +108959,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } } } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = v, r2.__decorate([(0, y.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [Object])], v.prototype, "description", null), r2.__decorate([(0, y.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [Object])], v.prototype, "displayName", null); + n2 = /* @__PURE__ */ new WeakMap(), t2.default = I, r2.__decorate([(0, y.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [Object])], I.prototype, "description", null), r2.__decorate([(0, y.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [Object])], I.prototype, "displayName", null); }, 85697: (e2, t2, i2) => { "use strict"; var n2 = i2(61897), r2 = i2(84346), o = i2(61154).customRandom; @@ -100471,8 +108983,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }); }, 85714: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = n2.__importDefault(i2(27203)), a = i2(82632), s = i2(20815), l = i2(45077), u = i2(21305), d = i2(80428), c = i2(81516), p = i2(12179), _ = n2.__importDefault(i2(97891)), h = i2(47957); - class m extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = n2.__importDefault(i2(27203)), a = i2(82632), s = i2(20815), l = i2(45077), u = i2(21305), c = i2(80428), d = i2(81516), p = i2(12179), _ = n2.__importDefault(i2(97891)), h = n2.__importDefault(i2(4648)), m = i2(47957); + class g extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -100480,19 +108992,19 @@ ${e3.stack}`, n3 = [this].concat(i3); return o.default.validInvalidFailure; } static get managedProperties() { - return [{ label: h.skillExpressionFilters.skillExpressionFiltersLabel, property: "skillExpressionFilters", options: c.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIsOptional(false).setIsCollection(true).setIninTestingField("skillExpressionFilters").setDescriptionInfo(null, h.skillExpressionFilters.evaluateSkillExpressionFiltersTooltipInfo).setMaxItems(a.evaluateSkillExpressionFilters.skillExpressionFilters.maxItems).setMinItems(a.evaluateSkillExpressionFilters.skillExpressionFilters.minItems).facets.setMinLength(a.evaluateSkillExpressionFilters.skillExpressionFilters.items.minLength).setMaxLength(a.evaluateSkillExpressionFilters.skillExpressionFilters.items.maxLength)), type: d.expressionTypeNames.string, yamlOptions: m.createYamlOptions("skillExpressionFilters", (e3) => e3.setPropertyName("skillExpressionFilters")) }, { label: h.skillExpressionFilters.skillExpressionFiltersResult, options: u.ExpressionTypeJsonOptions.create((e3) => e3.setIsCustomJsonType(true).setTypeIdentifier(d.expressionTypeNames.skillExpressionFilter).setIninTestingField("skillExpressionFiltersResult").setIsCollection(true).setAsOutput().setDescriptionInfo(null, h.skillExpressionFilters.evaluateSkillExpressionFiltersResultTooltipInfo)), property: "skillExpressionFiltersResult", type: d.expressionTypeNames.skillExpressionFilter, typeOfJsonShouldBeCustom: true, yamlOptions: m.createYamlOptions("skillExpressionFiltersResult", (e3) => e3.setPropertyName("skillExpressionFiltersResult").setExportOrder(100)) }]; + return [{ label: m.skillExpressionFilters.skillExpressionFiltersLabel, property: "skillExpressionFilters", options: d.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIsOptional(false).setIsCollection(true).setIninTestingField("skillExpressionFilters").setDescriptionInfo(null, m.skillExpressionFilters.evaluateSkillExpressionFiltersTooltipInfo).setMaxItems(a.evaluateSkillExpressionFilters.skillExpressionFilters.maxItems).setMinItems(a.evaluateSkillExpressionFilters.skillExpressionFilters.minItems).facets.setMinLength(a.evaluateSkillExpressionFilters.skillExpressionFilters.items.minLength).setMaxLength(a.evaluateSkillExpressionFilters.skillExpressionFilters.items.maxLength)), type: c.expressionTypeNames.string, yamlOptions: g.createYamlOptions("skillExpressionFilters", (e3) => e3.setPropertyName("skillExpressionFilters")) }, { label: m.skillExpressionFilters.skillExpressionFiltersResult, options: u.ExpressionTypeJsonOptions.create((e3) => e3.setIsCustomJsonType(true).setTypeIdentifier(c.expressionTypeNames.skillExpressionFilter).setIninTestingField("skillExpressionFiltersResult").setIsCollection(true).setAsOutput().setDescriptionInfo(null, m.skillExpressionFilters.evaluateSkillExpressionFiltersResultTooltipInfo)), property: "skillExpressionFiltersResult", type: c.expressionTypeNames.skillExpressionFilter, typeOfJsonShouldBeCustom: true, yamlOptions: g.createYamlOptions("skillExpressionFiltersResult", (e3) => e3.setPropertyName("skillExpressionFiltersResult").setExportOrder(100)) }]; } _initializeDesignTime() { var e3, t3, i3; super._initializeDesignTime(); const n3 = (null === (i3 = null === (t3 = null === (e3 = this.skillExpressionFiltersResult) || void 0 === e3 ? void 0 : e3.options) || void 0 === t3 ? void 0 : t3.issueInfoTypes) || void 0 === i3 ? void 0 : i3.sort()) || []; - n3.length > 0 && this.skillExpressionFiltersResult.options.setDescriptionAdditionalInfoSection({ title: h.skillExpressionFilters.exampleErrorResultsTitle, entries: n3 }); + n3.length > 0 && this.skillExpressionFiltersResult.options.setDescriptionAdditionalInfoSection({ title: m.skillExpressionFilters.exampleErrorResultsTitle, entries: n3 }); } _getPossibleErrors() { return l.evaluateSkillExpressionFiltersFailureReasons; } } - m.info = _.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: p.helpTopics.actions.evaluateSkillExpressionFilters, modelClass: s.EvaluateSkillExpressionFiltersActionModel, name: h.actions.evaluateSkillExpressionFilters, scriptingName: "ArchActionEvaluateSkillExpressionFilters" }), t2.A = m; + g.info = _.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: p.helpTopics.actions.evaluateSkillExpressionFilters, modelClass: s.EvaluateSkillExpressionFiltersActionModel, modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } }, name: m.actions.evaluateSkillExpressionFilters, scriptingName: "ArchActionEvaluateSkillExpressionFilters" }), t2.A = g; }, 85761: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.lastValueFrom = void 0; @@ -100538,6 +109050,63 @@ ${e3.stack}`, n3 = [this].concat(i3); r2[n2.boolean] = "false", r2[n2.currency] = "0.0|USD", r2[n2.decimal] = "0.0", r2[n2.duration] = "P0D0H0M0S0F", r2[n2.integer] = "0", r2[n2.string] = "", e2.exports = { defaultTextMap: r2, getDefaultText: function(e3) { return r2[e3]; } }; + }, 85863: (e2, t2, i2) => { + "use strict"; + var n2, r2, o, a, s, l, u, c; + Object.defineProperty(t2, "__esModule", { value: true }); + const d = i2(31635), p = d.__importDefault(i2(11374)), _ = i2(59578), h = i2(24032), m = i2(19596), g = i2(80295), f = i2(80295), T = (0, h.getTopic)("ActionLimits"); + class y extends m.DataContract { + constructor(e3) { + super(e3), (0, f.makeUnenumerable)(this, "_fileAttachmentsPerResponseMax"), (0, f.makeUnenumerable)(this, "_invocationsPerFlowMax"), (0, f.makeUnenumerable)(this, "_loopCountMax"), (0, f.makeUnenumerable)(this, "_notificationTypeChatInvocationsPerFlowMax"); + } + get fileAttachmentsPerResponseMax() { + return this._fileAttachmentsPerResponseMax; + } + set fileAttachmentsPerResponseMax(e3) { + this._fileAttachmentsPerResponseMax = this.reviveItem(e3, p.default); + } + get invocationsPerFlowMax() { + return this._invocationsPerFlowMax; + } + set invocationsPerFlowMax(e3) { + this._invocationsPerFlowMax = this.reviveItem(e3, p.default); + } + get loopCountMax() { + return this._loopCountMax; + } + set loopCountMax(e3) { + this._loopCountMax = this.reviveItem(e3, p.default); + } + get notificationTypeChatInvocationsPerFlowMax() { + return this._notificationTypeChatInvocationsPerFlowMax; + } + set notificationTypeChatInvocationsPerFlowMax(e3) { + this._notificationTypeChatInvocationsPerFlowMax = this.reviveItem(e3, p.default); + } + getLimitCondition(e3) { + switch (e3) { + case _.actionLimitNames.fileAttachmentsPerResponseMax: + return this.fileAttachmentsPerResponseMax; + case _.actionLimitNames.invocationsPerFlowMax: + return this.invocationsPerFlowMax; + case _.actionLimitNames.loopCountMax: + return this.loopCountMax; + case _.actionLimitNames.notificationTypeChatInvocationsPerFlowMax: + return this.notificationTypeChatInvocationsPerFlowMax; + default: + return void T.traceOnce(`unknownActionLimitName:${String(e3)}`, (t3) => t3.warning(`Unknown action limit name: '${String(e3)}'`)); + } + } + getIntLimitValue(e3, t3, i3) { + var n3, r3; + return null !== (r3 = null === (n3 = this.getLimitCondition(e3)) || void 0 === n3 ? void 0 : n3.getIntValue(t3, i3)) && void 0 !== r3 ? r3 : t3; + } + getStrLimitValue(e3, t3, i3) { + var n3, r3; + return null !== (r3 = null === (n3 = this.getLimitCondition(e3)) || void 0 === n3 ? void 0 : n3.getStrValue(t3, i3)) && void 0 !== r3 ? r3 : t3; + } + } + t2.default = y, d.__decorate([(0, g.enumerable)(true), d.__metadata("design:type", "function" == typeof (n2 = void 0 !== p.default && p.default) ? n2 : Object), d.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== p.default && p.default) ? r2 : Object])], y.prototype, "fileAttachmentsPerResponseMax", null), d.__decorate([(0, g.enumerable)(true), d.__metadata("design:type", "function" == typeof (o = void 0 !== p.default && p.default) ? o : Object), d.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== p.default && p.default) ? a : Object])], y.prototype, "invocationsPerFlowMax", null), d.__decorate([(0, g.enumerable)(true), d.__metadata("design:type", "function" == typeof (s = void 0 !== p.default && p.default) ? s : Object), d.__metadata("design:paramtypes", ["function" == typeof (l = void 0 !== p.default && p.default) ? l : Object])], y.prototype, "loopCountMax", null), d.__decorate([(0, g.enumerable)(true), d.__metadata("design:type", "function" == typeof (u = void 0 !== p.default && p.default) ? u : Object), d.__metadata("design:paramtypes", ["function" == typeof (c = void 0 !== p.default && p.default) ? c : Object])], y.prototype, "notificationTypeChatInvocationsPerFlowMax", null); }, 85867: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -100560,7 +109129,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 85889: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.CarouselType = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = n2.__importStar(i2(12847)), s = i2(44521), l = i2(82632), u = i2(28033), d = n2.__importStar(i2(36781)), c = n2.__importStar(i2(63352)), p = n2.__importStar(i2(58380)), _ = i2(28614), h = i2(80428), m = i2(47957), g = "cards", f = l.dataTypeLimits.carouselDataType.properties.cards.maxItems.count, T = l.dataTypeLimits.carouselDataType.properties.cards.minItems.count; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = n2.__importStar(i2(12847)), s = i2(44521), l = i2(82632), u = i2(28033), c = n2.__importStar(i2(36781)), d = n2.__importStar(i2(63352)), p = n2.__importStar(i2(58380)), _ = i2(28614), h = i2(80428), m = i2(47957), g = "cards", f = l.dataTypeLimits.carouselDataType.properties.cards.maxItems.count, T = l.dataTypeLimits.carouselDataType.properties.cards.minItems.count; class y extends s.BasedOnChoicesType { constructor(e3, t3, i3) { super(e3, t3, i3); @@ -100636,14 +109205,14 @@ ${e3.stack}`, n3 = [this].concat(i3); } resetCards(e3) { const t3 = e3.getProperty(g); - if (t3) return t3.mode = c.literal, t3.removeAll(), t3; + if (t3) return t3.mode = d.literal, t3.removeAll(), t3; } _ensureCardsIsLiteral(e3, t3, i3) { const n3 = e3.getProperty(g); if (n3) { - if (n3.mode !== c.literal) { + if (n3.mode !== d.literal) { if (!t3) return; - n3.mode = c.literal, n3.removeAll(); + n3.mode = d.literal, n3.removeAll(); } if (!(i3 && n3.collectionItems.items.length >= f)) return n3; } @@ -100656,10 +109225,10 @@ ${e3.stack}`, n3 = [this].concat(i3); } configureFromChoices(e3, t3, i3, n3, o2) { if (!this.resetCards(e3)) return; - let s2, u2 = 0, d2 = 0; - const c2 = o2 === _.slotTypeValueMergeMode.asIndividualValues ? 1 : l.dataTypeLimits.cardDataType.properties.buttons.maxItems.count; + let s2, u2 = 0, c2 = 0; + const d2 = o2 === _.slotTypeValueMergeMode.asIndividualValues ? 1 : l.dataTypeLimits.cardDataType.properties.buttons.maxItems.count; r2.default.each(t3, (t4) => { - u2 >= f || ((d2 >= c2 || !s2) && (u2++, d2 = 0, s2 = this.addCard(e3, `${i3 || m.cardsAndCars.cardType.label} ${u2}`)), s2 ? (d2++, s2.type.addChoiceClonedFromChoice(s2, t4)) : a.error(`Card could not be created for carousel expression: ${null == e3 ? void 0 : e3.toString()}`)); + u2 >= f || ((c2 >= d2 || !s2) && (u2++, c2 = 0, s2 = this.addCard(e3, `${i3 || m.cardsAndCars.cardType.label} ${u2}`)), s2 ? (c2++, s2.type.addChoiceClonedFromChoice(s2, t4)) : a.error(`Card could not be created for carousel expression: ${null == e3 ? void 0 : e3.toString()}`)); }); } applyNluDiffs(e3, t3, i3, n3) { @@ -100711,7 +109280,7 @@ ${e3.stack}`, n3 = [this].concat(i3); initializeDesignTime(e3) { super.initializeDesignTime(e3); const t3 = this.getPropCards(e3); - t3 && (e3.addAutoCleanedUpSubscription(p.createObservableForEvent$(d.listOrderChanged, t3).subscribe(() => this._setCardCount(e3))), e3.addAutoCleanedUpSubscription(p.createObservableForEvent$(d.expressionModeChanged, e3).subscribe(() => this._setCardCount(e3)))), this._setCardCount(e3); + t3 && (e3.addAutoCleanedUpSubscription(p.createObservableForEvent$(c.listOrderChanged, t3).subscribe(() => this._setCardCount(e3))), e3.addAutoCleanedUpSubscription(p.createObservableForEvent$(c.expressionModeChanged, e3).subscribe(() => this._setCardCount(e3)))), this._setCardCount(e3); } validateLiteral(e3, t3) { let i3 = super.validateLiteral(e3, t3); @@ -100747,8 +109316,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 86015: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(37603)), u = i2(4861), d = i2(26847); - class c extends l.default { + const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(37603)), u = i2(4861), c = i2(26847); + class d extends l.default { constructor(e3) { super(e3), this._scheduleTimeZone = this.coreFactory.createArchWrapper(e3.timeZone), this._schedule = this.coreFactory.createArchWrapper(e3.schedule); } @@ -100781,13 +109350,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._scheduleTimeZone; } get outputActive() { - return this._getOutputById(d.outputIds.active, true); + return this._getOutputById(c.outputIds.active, true); } get outputInactive() { - return this._getOutputById(d.outputIds.inactive, true); + return this._getOutputById(c.outputIds.inactive, true); } } - t2.default = c; + t2.default = d; }, 86042: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -100955,8 +109524,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }; }, 86332: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importStar(i2(17498)), o = n2.__importStar(i2(69453)), a = n2.__importDefault(i2(5478)), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(5532)), u = i2(69149), d = i2(59777), c = i2(58132), p = n2.__importDefault(i2(73198)), _ = i2(80428), h = i2(48112), m = i2(81516), g = i2(12179), f = n2.__importDefault(i2(97891)), T = i2(27862); - class y extends a.default { + const n2 = i2(31635), r2 = n2.__importStar(i2(17498)), o = n2.__importStar(i2(69453)), a = n2.__importDefault(i2(5478)), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(5532)), u = i2(69149), c = i2(59777), d = i2(58132), p = n2.__importDefault(i2(73198)), _ = i2(80428), h = i2(48112), m = i2(81516), g = i2(12179), f = n2.__importDefault(i2(97891)), T = n2.__importDefault(i2(4648)), y = i2(27862); + class S extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -100967,14 +109536,14 @@ ${e3.stack}`, n3 = [this].concat(i3); return s.default.successFailure; } _getPossibleErrors() { - return c.deflectFailureReasons; + return d.deflectFailureReasons; } updateDependencies() { var e3, t3, i3, n3; - super.updateDependencies(), (null === (e3 = this.smsFrom) || void 0 === e3 ? void 0 : e3.id) && (null === (n3 = null === (i3 = null === (t3 = this.smsFrom) || void 0 === t3 ? void 0 : t3.model) || void 0 === i3 ? void 0 : i3.config) || void 0 === n3 ? void 0 : n3.val) && r2.registerConsumer(this, "smsPhoneNumber", this.smsFrom.model.config.val, this.smsFrom.model.config.val, r2.NO_VERSION, T.SmsPhoneNumber, this.parentFlow); + super.updateDependencies(), (null === (e3 = this.smsFrom) || void 0 === e3 ? void 0 : e3.id) && (null === (n3 = null === (i3 = null === (t3 = this.smsFrom) || void 0 === t3 ? void 0 : t3.model) || void 0 === i3 ? void 0 : i3.config) || void 0 === n3 ? void 0 : n3.val) && r2.registerConsumer(this, "smsPhoneNumber", this.smsFrom.model.config.val, this.smsFrom.model.config.val, r2.NO_VERSION, y.SmsPhoneNumber, this.parentFlow); } } - y.info = f.default.createActionInfo({ actionClass: y, canBeInTask: true, helpTopic: g.helpTopics.actions.deflect, modelClass: d.DeflectActionModel, name: o.deflect.deflect, scriptingName: "ArchActionDeflect" }), t2.A = y; + S.info = f.default.createActionInfo({ actionClass: S, canBeInTask: true, helpTopic: g.helpTopics.actions.deflect, modelClass: c.DeflectActionModel, name: o.deflect.deflect, scriptingName: "ArchActionDeflect", modelFormatSupport: { flowYaml: { inProgress: true, feature: T.default.changeSetsFeaturePhase2 } } }), t2.A = S; }, 86473: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -101028,8 +109597,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = r2; }, 86527: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = n2.__importDefault(i2(5730)), s = i2(26954), l = n2.__importDefault(i2(97891)), u = i2(80428), d = i2(47957); - class c extends a.default { + const n2 = i2(31635), r2 = i2(12179), o = i2(12457), a = n2.__importDefault(i2(5730)), s = i2(26954), l = n2.__importDefault(i2(97891)), u = i2(80428), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.user = null, this._loadModel(t3); } @@ -101038,10 +109607,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return (null === (e3 = this.user) || void 0 === e3 ? void 0 : e3.isLiteralMode) && this.user.text ? new o.ActionDetails([d.user.label], [this.user.text]) : super.getDetails(); } static get managedProperties() { - return [{ label: d.user.label, options: s.ExpressionTypeUserOptions.create((e3) => e3.setUiPropertyOrder(10).setIninTestingField("userTransferExpression")), yamlOptions: c.createYamlOptions("user", (e3) => e3.setPropertyName("targetUser").setExportOrder(20)), property: "user", type: u.expressionTypeNames.userQueue }]; + return [{ label: d.user.label, options: s.ExpressionTypeUserOptions.create((e3) => e3.setUiPropertyOrder(10).setIninTestingField("userTransferExpression")), yamlOptions: p.createYamlOptions("user", (e3) => e3.setPropertyName("targetUser").setExportOrder(20)), property: "user", type: u.expressionTypeNames.userQueue }]; } } - c.info = l.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: r2.helpTopics.actions.playUserName, modelClass: i2(36955), name: d.actions.playUserName, scriptingName: "ArchActionPlayUserName" }), t2.A = c; + p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: r2.helpTopics.actions.playUserName, modelClass: i2(36955), name: d.actions.playUserName, scriptingName: "ArchActionPlayUserName", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 86531: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { entireFlow: "entireFlow", none: "none", startUpObject: "startUpObject" }; @@ -101134,10 +109703,11 @@ ${e3.stack}`, n3 = [this].concat(i3); const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(74483), a = n2.__importDefault(i2(57606)), s = i2(47957); class l extends o.NameIdConfigurationListViewModel { constructor(e3) { - if (super(e3), this._schemasNotLoaded = false, this._model.jsonSchema) { + var t3; + if (super(e3), this._schemasNotLoaded = false, null === (t3 = this._model.jsonSchema) || void 0 === t3 ? void 0 : t3.properties) { const e4 = { properties: {}, required: [] }; - r2.default.each(this._model.jsonSchema.properties, (t3, i3) => { - r2.default.isObject(t3) && (e4.properties[i3] = t3, e4.required.push(i3)); + r2.default.each(this._model.jsonSchema.properties, (t4, i3) => { + r2.default.isObject(t4) && (e4.properties[i3] = t4, e4.required.push(i3)); }), this._successSchema = new a.default(e4, false); } else this._schemasNotLoaded = true; } @@ -101160,8 +109730,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.ConversationCustomAttributeSchemaViewModel = l; }, 86758: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(37830), s = i2(30502), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(80428), a = i2(37830), s = i2(30502), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -101169,11 +109739,11 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.findQueue.idLabel, searchResultLabel: d.findActions.findQueue.resultLabel, searchResultExpressionOptions: a.ExpressionTypeQueueOptions.create(), searchResultItemType: o.expressionTypeNames.queue }); } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.findQueueById, modelClass: s.FindQueueByIdActionModel, name: d.actions.findQueueById, scriptingName: "ArchActionFindQueueById" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.findQueueById, modelClass: s.FindQueueByIdActionModel, name: d.actions.findQueueById, scriptingName: "ArchActionFindQueueById", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 86767: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(68694)), o = i2(68694), a = i2(17604), s = n2.__importDefault(i2(92140)), l = i2(75679), u = i2(66882), d = n2.__importStar(i2(24032)), c = i2(79516), p = i2(63689), _ = n2.__importStar(i2(36781)), h = n2.__importStar(i2(10798)), m = n2.__importDefault(i2(77862)), g = n2.__importStar(i2(66381)), f = n2.__importStar(i2(94453)), T = n2.__importDefault(i2(4648)), y = n2.__importDefault(i2(68460)), S = n2.__importDefault(i2(33050)), A = n2.__importDefault(i2(32224)), N = n2.__importDefault(i2(40773)), O = i2(16926), I = i2(96563), v = i2(47957), C = d.getTopic("NluMetaDataViewModel"); + const n2 = i2(31635), r2 = n2.__importStar(i2(68694)), o = i2(68694), a = i2(17604), s = n2.__importDefault(i2(92140)), l = i2(75679), u = i2(66882), c = n2.__importStar(i2(24032)), d = i2(79516), p = i2(63689), _ = n2.__importStar(i2(36781)), h = n2.__importStar(i2(10798)), m = n2.__importDefault(i2(77862)), g = n2.__importStar(i2(66381)), f = n2.__importStar(i2(94453)), T = n2.__importDefault(i2(4648)), y = n2.__importDefault(i2(68460)), S = n2.__importDefault(i2(33050)), A = n2.__importDefault(i2(32224)), N = n2.__importDefault(i2(40773)), v = i2(16926), O = i2(96563), I = i2(47957), C = c.getTopic("NluMetaDataViewModel"); class b extends y.default { constructor() { super(...arguments), this.intentSettingsMap = {}, this.slotSettingsMap = {}, this._allowableIntentValues = [], this.modelPropertyName = "nluMetaData"; @@ -101242,7 +109812,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return s.default.each(this.intentSettingsMap, (e4) => e4.destroy()), s.default.each(this.slotSettingsMap, (e4) => e4.destroy()), null === (e3 = this.dynamicSlotTypesMap) || void 0 === e3 || e3.destroy(), null === (t3 = this.dynamicTimeslotTypeList) || void 0 === t3 || t3.destroy(), super.destroy(); } getConfiguration(e3, t3) { - e3.nluMetaData = s.default.clone(this._model), e3.nluMetaData.intents = {}, this.rawNlu && this.setRawNluAndCompressionFormat(this.rawNlu, m.default.compressionFormats.none, e3.nluMetaData), (null == t3 ? void 0 : t3.isArchitectFormatExport) && (e3.nluMetaData.archNlu = this.getArchNluWithFallback()), s.default.each(this.intentSettingsMap, (i3) => i3.getConfiguration(e3, t3)), e3.nluMetaData.mappings.dynamicSlotTypes = this.dynamicSlotTypesMap.getConfiguration(e3, t3), e3.nluMetaData.mappings.dynamicTimeslots = this.dynamicTimeslotTypeList.getConfiguration(e3, t3); + e3.nluMetaData = s.default.clone(this._model), e3.nluMetaData.intents = {}, this.rawNlu && this.setRawNluAndCompressionFormat(this.rawNlu, m.default.compressionFormats.none, e3.nluMetaData), (null == t3 ? void 0 : t3.isArchitectFormatExport) ? e3.nluMetaData.archNlu = this.getArchNluWithFallback() : delete e3.nluMetaData.archNlu, s.default.each(this.intentSettingsMap, (i3) => i3.getConfiguration(e3, t3)), e3.nluMetaData.mappings.dynamicSlotTypes = this.dynamicSlotTypesMap.getConfiguration(e3, t3), e3.nluMetaData.mappings.dynamicTimeslots = this.dynamicTimeslotTypeList.getConfiguration(e3, t3); } getEntityTypeAllowableValues(e3) { return o.EntityUtil.getListTypeEntityTypeByNameAllowableValues(this.rawNluAsINluDomainVersion, e3); @@ -101268,7 +109838,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } loadConfiguration(e3) { var t3, i3, n3; - this._model = e3.nluMetaData || new I(), this.intentSettingsMap = s.default.mapObject(this._model.intents, (t4, i4) => { + this._model = e3.nluMetaData || new O(), this.intentSettingsMap = s.default.mapObject(this._model.intents, (t4, i4) => { const n4 = new S.default(i4, this.parentFlow, this); return n4.loadConfiguration(e3), n4; }), Object.keys(this._model.slots || {}).forEach((e4) => { @@ -101276,7 +109846,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }), this.dynamicSlotTypesMap = new l.DynamicSlotTypeList(this.parent, null === (t3 = this._model.mappings) || void 0 === t3 ? void 0 : t3.dynamicSlotTypes), this.updateDynamicSlotTypes(), this.dynamicTimeslotTypeList = new u.DynamicTimeslotTypeList(this.parent, Object.values((null === (i3 = this._model.mappings) || void 0 === i3 ? void 0 : i3.dynamicTimeslots) || {})), this.updateDynamicTimeslotTypes(), this.updateAllowableIntentValues(Object.keys(this._model.intents || {})); const r3 = this.unpackRawNlu(null == e3 ? void 0 : e3.nluMetaData); if (r3 && (this.rawNlu = r3), null === (n3 = this.archNlu) || void 0 === n3 ? void 0 : n3.id) { - const e4 = new O(this.archNlu); + const e4 = new v(this.archNlu); e4.isFromWorkbench = true, p.nluDomainManager.addItem(e4, true); } } @@ -101383,8 +109953,8 @@ ${e3.stack}`, n3 = [this].concat(i3); { const t4 = e3.getSlotsWithSameNameButDiffType(); if (t4.length) { - const e4 = 1 === t4.length ? v.bot.sameNamedSlotsWithDifferentSlotTypes : v.bot.sameNamedSlotsWithDifferentSlotTypesMultiple, i4 = g.getListDisplayString(t4, false, false), n4 = (0, a.sprintf)(e4, i4); - throw _.emitter.emit(_.alert, { message: n4, type: c.AlertTypeEnum.info }), n4; + const e4 = 1 === t4.length ? I.bot.sameNamedSlotsWithDifferentSlotTypes : I.bot.sameNamedSlotsWithDifferentSlotTypesMultiple, i4 = g.getListDisplayString(t4, false, false), n4 = (0, a.sprintf)(e4, i4); + throw _.emitter.emit(_.alert, { message: n4, type: d.AlertTypeEnum.info }), n4; } } this.intentSettingsMap = s.default.pick(this.intentSettingsMap, (t4, i4) => s.default.findWhere(e3.intents, { name: i4 })), this.updateAllowableIntentValues(null === (t3 = e3.intents) || void 0 === t3 ? void 0 : t3.map((e4) => e4.name)), this._model.mappings.slotToReferencingIntents = {}, this._model.mappings.slotToEntityTypes = {}; @@ -101414,7 +109984,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const t4 = this.slotToSlotVariablesMapping[e4]; if (t4) { const e5 = this.parentFlow.variableGroup.getExpandedVariable(t4); - e5 && (e5.isInPublishedFlowSchema ? (e5.doNotCleanupIfOrphanedSlot && delete e5.model.doNotCleanupIfOrphanedSlot, e5.setSlotVariableDescription(v.variable.slotVariableNotUsedButInPublishedSignature, true)) : e5.doNotCleanupIfOrphanedSlot || (this.parentFlow.variableGroup.removeVariable(e5), this.removeSlotByVariableId(t4))); + e5 && (e5.isInPublishedFlowSchema ? (e5.doNotCleanupIfOrphanedSlot && delete e5.model.doNotCleanupIfOrphanedSlot, e5.setSlotVariableDescription(I.variable.slotVariableNotUsedButInPublishedSignature, true)) : e5.doNotCleanupIfOrphanedSlot || (this.parentFlow.variableGroup.removeVariable(e5), this.removeSlotByVariableId(t4))); } } }); @@ -101433,7 +110003,7 @@ ${e3.stack}`, n3 = [this].concat(i3); var n3, r3, o2, s2; if ((null === (n3 = t3.id) || void 0 === n3 ? void 0 : n3.length) && !(null === (r3 = t3.sttEngine) || void 0 === r3 ? void 0 : r3.id)) e3.addError(this.parentFlow, `Must have a speech to text engine associated with the slot '${i3}' in order to associate a grammar.`); else if (!(null === (o2 = t3.id) || void 0 === o2 ? void 0 : o2.length) && (null === (s2 = t3.sttEngine) || void 0 === s2 ? void 0 : s2.id) && !N.default.isSttIdBotTranscriptionConnectorType(t3.sttEngine.id)) { - const t4 = (0, a.sprintf)(v.errors.grammarOnSlotError, i3); + const t4 = (0, a.sprintf)(I.errors.grammarOnSlotError, i3); e3.addError(this.parentFlow, t4); } }); @@ -101479,7 +110049,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 86833: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.expressionParser = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(24032)), s = n2.__importStar(i2(43011)), l = n2.__importDefault(i2(41510)), u = n2.__importStar(i2(66381)), d = i2(53476), c = i2(53476), p = i2(44076), _ = i2(26403), h = i2(98552), m = n2.__importStar(i2(9345)), g = i2(14394), f = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(24032)), s = n2.__importStar(i2(43011)), l = n2.__importDefault(i2(41510)), u = n2.__importStar(i2(66381)), c = i2(53476), d = i2(53476), p = i2(44076), _ = i2(26403), h = i2(98552), m = n2.__importStar(i2(9345)), g = i2(14394), f = i2(47957); a.getTopic("expressionParser"), t2.expressionParser = new class { _addErrorOrWarning(e3, t3, i3, n3, r3) { var a2; @@ -101520,7 +110090,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (t3.clearParseResult(), n3.isLiteralMode) if (n3.typeHasAssignableProperties && !t3.type.isCustomType) ; else { if (n3.shouldBeNoValue) return t3.options.inheritsFromFlowLevelDefaultExpression ? this._addErrorOrWarning(e3, t3, f.facets.valueShouldBeUseFlowDefault, (0, r2.sprintf)(f.expression.invalidLiteralContext, t3.label)) : this._addErrorOrWarning(e3, t3, f.facets.valueShouldBeNoValue, (0, r2.sprintf)(f.expression.invalidLiteralContext, t3.label)); - if (!(0, c.areOptionsStringType)(t3.options) || !t3.options.allowEmpty) return t3.options.isOptional ? ((0, c.areOptionsStringType)(t3.options) && o.default.isString(t3.options.blankWarningText) && t3.options.blankWarningText.length && this._addErrorOrWarning(e3, t3, t3.options.blankWarningText, (0, r2.sprintf)(f.expression.invalidLiteralContext, t3.label), true), true) : this._addErrorOrWarning(e3, t3, f.facets.valueStringMinLengthOne, (0, r2.sprintf)(f.expression.invalidLiteralContext, t3.label)); + if (!(0, d.areOptionsStringType)(t3.options) || !t3.options.allowEmpty) return t3.options.isOptional ? ((0, d.areOptionsStringType)(t3.options) && o.default.isString(t3.options.blankWarningText) && t3.options.blankWarningText.length && this._addErrorOrWarning(e3, t3, t3.options.blankWarningText, (0, r2.sprintf)(f.expression.invalidLiteralContext, t3.label), true), true) : this._addErrorOrWarning(e3, t3, f.facets.valueStringMinLengthOne, (0, r2.sprintf)(f.expression.invalidLiteralContext, t3.label)); } else if (n3.isVariableMode) { if (n3.shouldBeNoValue || !t3.options.isOptional) return this._addErrorOrWarning(e3, t3, f.expression.noVariableSet, (0, r2.sprintf)(f.expression.notSetWithContext, t3.label)); @@ -101544,7 +110114,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } if (t3.options && t3.options.customLiteralValidator) { const i4 = t3.options.customLiteralValidator(t3); - i4 && ((0, d.areOptionsBooleanType)(t3.options) && t3.options.useCustomWarning ? this._addErrorOrWarning(e3, t3, null, i4, true) : this._addErrorOrWarning(e3, t3, i4, null)); + i4 && ((0, c.areOptionsBooleanType)(t3.options) && t3.options.useCustomWarning ? this._addErrorOrWarning(e3, t3, null, i4, true) : this._addErrorOrWarning(e3, t3, i4, null)); } if (n3.val && t3.type.isMatch(g.globalTypes.prompt, m.settings.exact)) { const e4 = s.getItem(n3.val); @@ -101580,8 +110150,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 86855: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(99434)), a = i2(12457), s = n2.__importDefault(i2(5730)), l = i2(12179), u = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(41510)), c = i2(17604), p = i2(76869), _ = i2(47957); - class h extends s.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(99434)), a = i2(12457), s = n2.__importDefault(i2(5730)), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(41510)), d = i2(17604), p = i2(76869), _ = n2.__importDefault(i2(4648)), h = i2(47957); + class m extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -101592,26 +110162,26 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.default.each(e3, (e4, n3) => { if (!e4.variable || !e4.expression) return; const r3 = o.getDisplayText(e4.expression); - t3.push(n3 + 1), i3.push((0, c.sprintf)(d.default.updateVariables.labelValue, e4.variable.text, r3)); + t3.push(n3 + 1), i3.push((0, d.sprintf)(c.default.updateVariables.labelValue, e4.variable.text, r3)); }), new a.ActionDetails(t3, i3); } return null; } static get managedProperties() { - return [{ property: "variables", variables: true, options: p.VariableOptions.create(), yamlOptions: h.createYamlOptions("variables", (e3) => e3.setPropertyName("statements")) }]; + return [{ property: "variables", label: h.updateVariables.updateStatements, variables: true, options: p.VariableOptions.create(), yamlOptions: m.createYamlOptions("variables", (e3) => e3.setPropertyName("statements")) }]; } validate(e3) { const t3 = this.variables ? this.variables.items : null; - t3 && 0 !== t3.length || e3.addWarning(this, _.updateVariables.noStatementError), super.validate(e3); + t3 && 0 !== t3.length || e3.addWarning(this, h.updateVariables.noStatementError), super.validate(e3); } } - h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, canBeTreeNode: false, helpTopic: l.helpTopics.actions.updateVariables, modelClass: i2(73954), name: _.actions.updateVariables, scriptingName: "ArchActionUpdateData" }), t2.default = h; + m.info = u.default.createActionInfo({ actionClass: m, canBeInTask: true, canBeTreeNode: false, helpTopic: l.helpTopics.actions.updateVariables, modelClass: i2(73954), name: h.actions.updateVariables, scriptingName: "ArchActionUpdateData", modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } } }), t2.default = m; }, 86875: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "Ce n'est pas valide.", noInputReceived: "Je n'ai re\xE7u aucune entr\xE9e." }, askForBoolean: { noInput: 'Dites "oui" pour continuer ou "non" pour quitter.', noMatch: 'R\xE9pondez par "Oui" ou "Non". Voulez-vous continuer ?', question: "Voulez-vous continuer ?", noInputDigitalBot: 'Saisissez "Yes" si vous souhaitez continuer ou "No" si vous ne le souhaitez pas.', noMatchDigitalBot: 'Saisissez "Yes" ou "No". Souhaitez-vous continuer\xA0?' }, askForIntent: { noInput: 'Dites simplement une phrase courte d\xE9crivant votre requ\xEAte, p. ex. "Check my account balance"', noMatch: "Dites-moi de nouveau ce que vous souhaitez faire.", question: "Que souhaitez-vous faire ?", noInputDigitalBot: 'Saisissez une courte phrase d\xE9crivant votre requ\xEAte. Par exemple, "Check my account balance"' }, askForSlot: { askFor: "Demander %1$s", noInput: "Dites ou entrez (sp\xE9cifier le nom de l'emplacement ici).", noInputWithSlot: "Dites ou entrez %1$s.", noMatch: "Donnez de nouveau (entrer le nom de l'emplacement ici).", noMatchWithSlot: "Donnez-moi %1$s de nouveau.", question: "Qu'est-ce que (entrer le nom de l'emplacement ici) ?", questionWithSlot: "Qu'est-ce que %1$s ?", pleaseEnterSlotNameHere: "(entrer le nom de l'emplacement ici)", noInputDigitalBot: "Saisissez (indiquez votre nom d'emplacement ici).", noInputWithSlotDigitalBot: "Saisissez %1$s.", continuationPromptWithSlot: "J'ai {{Slot.%1$s}} pour le moment. Continuez" }, askForNextSlot: { noInput: `Dites "oui" si vous avez une autre demande ou "non" pour terminer l'appel.`, noMatch: 'Dites "Oui" si vous avez une autre demande ou "Non" pour terminer la session.', question: "Y a-t-il autre chose que je puisse faire pour vous\xA0?", noInputDigitalBot: 'Saisissez "Yes" si vous avez une autre requ\xEAte ou "No" pour terminer la session.', noMatchDigitalBot: 'Saisissez "Yes" si vous avez une autre requ\xEAte ou "No" pour terminer la session.' }, askForPayment: { noInputDigitalBot: "Fournissez vos informations de paiement pour continuer.", noMatchDigitalBot: "Je n'ai pas compris votre r\xE9ponse. R\xE9essayez." }, askForAuthentication: { noInputDigitalBot: "Fournissez vos informations d'authentification pour continuer.", noMatchDigitalBot: "Je n'ai pas compris votre r\xE9ponse. R\xE9essayez." }, askSurveyQuestion: { notApplicable: "Non applicable", surveyAnswerOptionSequence: "Appuyez sur %1$s pour %2$s", surveyAnswerNotApplicableSequence: "Appuyez sur \xC9toile pour Non applicable.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Appuyez sur \xC9toile pour Non applicable.", voiceSurveyNoInputText: "R\xE9pondez \xE0 la question.", voiceSurveyNoMatchText: "Je n'ai pas compris." }, commonModule: { exitCommonModule: "Quitter le module commun" }, form: { noInputDigitalBot: "Renseignez le formulaire pour continuer.", noMatchDigitalBot: "Renseignez le formulaire pour continuer." }, messagingTemplate: { noInputDigitalBot: "S\xE9lectionnez une des options disponibles.", noMatchDigitalBot: "S\xE9lectionnez une des options disponibles." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Continuer", knowledgeAnswerHighlightFullArticleDefault: "Afficher l'article complet", knowledgeInitialResponseMulti: "Pour m'aider \xE0 mieux comprendre votre objectif, choisissez un num\xE9ro dans la liste suivante\xA0:", knowledgeInitialResponseMultiRetry: "Choisissez un num\xE9ro, par exemple '1'.\nVoici la liste des options\xA0:", knowledgeNoMatch: "Aucun(e)", knowledgeConfirmation: "Est-ce la r\xE9ponse \xE0 votre question\xA0?", knowledgeFollowup: "J'esp\xE8re que j'ai r\xE9pondu \xE0 votre question. Vous pouvez demander quoi que ce soit d'autre que vous souhaitiez savoir." }, noOverlay: { intent: { intentConfirmationStr1: "Voulez-vous vraiment", intentConfirmationStr2: "Est-ce correct ?" }, youSaid: { youSaidConfirmationStr1: "Vous avez dit", youSaidConfirmationStr2: "Est-ce correct ?", youSaidConfirmationStr1DigitalBot: "Vous avez saisi" }, noInput: { noInputStr1: "Dites ou entrez", noInputStr1DigitalBot: "Saisissez" }, noMatch: { noMatchStr1: "Donnez-moi" }, whatIs: { whatIsQuestionStr1: "Qu'est-ce", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "J'ai", iGotContinuationStr2: "pour le moment. Continuez" } }, defaultCallFlowOne: "Flux d'appel par d\xE9faut", errorHandlingAgentEscalationConfirmation: "Vous voulez parler \xE0 un conseiller, c'est exact ?", errorHandlingAgentEscalationHandover: "Merci de patienter pendant que je vous transf\xE8re \xE0 un agent.", errorHandlingErrorEventHandover: "Une erreur s'est produite. Merci de patienter pendant que je vous transf\xE8re \xE0 un agent.", errorHandlingErrorEventHandoverVoiceSurvey: "Une erreur s'est produite. Au revoir\xA0!", errorHandlingRecognitionEventHandover: "D\xE9sol\xE9, j'ai du mal \xE0 vous comprendre. Merci de patienter pendant que je vous transf\xE8re \xE0 un agent.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Je n'arrive pas \xE0 vous comprendre. Toutes nos excuses. Au revoir\xA0!", errorHandlingTTS: "Une erreur s'est produite. Veuillez r\xE9essayer.", initialGreetingTTS: "Bonjour. Ceci est l'annonce initiale.", initialState: "Statut initial", initialBotState: "Bot par d\xE9faut", initialDigitalBotState: "Annonce d'accueil", initialSurveyBotState: "Bot d'enqu\xEAte", intentConfirmation: "Je pense que vous souhaitez %1$s. Est-ce correct ?", mainMenu: "Menu principal", mainMenuTTS: "Vous \xEAtes au menu principal. Faites le 9 pour vous d\xE9connecter.", mainTask: "T\xE2che", settingsConfirmationNoInputApology: "D\xE9sol\xE9, je n'ai pas entendu ce que vous avez dit. R\xE9pondez par oui ou non.", settingsConfirmationNoInputApologyDigitalBot: `D\xE9sol\xE9, je n'ai re\xE7u aucune entr\xE9e de votre part. Saisissez "Yes" ou "No".`, settingsConfirmationNoMatchApology: "D\xE9sol\xE9, r\xE9pondez par oui ou non.", settingsConfirmationNoMatchApologyDigitalBot: 'D\xE9sol\xE9, saisissez "Yes" ou "No".', settingsNoInputApology: "D\xE9sol\xE9, je n'ai pas entendu ce que vous avez dit.", settingsNoInputApologyDigitalBot: "D\xE9sol\xE9, je n'ai re\xE7u aucune entr\xE9e de votre part.", settingsEndOfSessionMessageDigitalBot: "Cela fait un moment que je n'ai pas eu de vos nouvelles. Je ferme donc ce chat. Si vous avez de nouveau besoin de mon aide, n'h\xE9sitez pas \xE0 revenir. Merci.", settingsNoMatchApology: "D\xE9sol\xE9 !", settingsNoToConfirmationApology: "C'est une erreur de ma part.", periodicStateName: "Statut r\xE9current" }; }, 86977: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(81104)), o = n2.__importDefault(i2(4612)), a = n2.__importDefault(i2(18184)), s = n2.__importDefault(i2(74299)), l = n2.__importDefault(i2(57612)), u = n2.__importDefault(i2(24886)), d = n2.__importDefault(i2(21273)), c = n2.__importDefault(i2(14517)), p = n2.__importDefault(i2(74535)), _ = n2.__importDefault(i2(26567)), h = n2.__importDefault(i2(55167)), m = n2.__importDefault(i2(67010)), g = n2.__importDefault(i2(10673)), f = n2.__importDefault(i2(12384)), T = n2.__importDefault(i2(5482)), y = n2.__importDefault(i2(40721)), S = n2.__importDefault(i2(18381)), A = n2.__importDefault(i2(93975)), N = n2.__importDefault(i2(45524)), O = n2.__importDefault(i2(25609)), I = n2.__importDefault(i2(19496)), v = n2.__importDefault(i2(50419)), C = { ArchFlowBot: r2.default, ArchFlowCommonModule: o.default, ArchFlowDigitalBot: a.default, ArchFlowEmailSend: s.default, ArchFlowInboundCall: l.default, ArchFlowInboundChat: u.default, ArchFlowInfo: d.default, ArchFlowInfoVersion: c.default, ArchFlowInfoBasic: p.default, ArchFlowInQueueCall: _.default, ArchFlowInQueueEmail: h.default, ArchFlowInQueueShortMessage: m.default, ArchFlowOutboundCall: g.default, ArchFlowSecureCall: f.default, ArchFlowInboundEmail: T.default, ArchFlowInboundShortMessage: y.default, ArchFlowSurveyInvite: S.default, ArchFlowVoice: A.default, ArchFlowVoicemail: N.default, ArchFlowVoiceSurvey: O.default, ArchFlowWorkflow: I.default, ArchFlowWorkitem: v.default }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(81104)), o = n2.__importDefault(i2(4612)), a = n2.__importDefault(i2(18184)), s = n2.__importDefault(i2(74299)), l = n2.__importDefault(i2(57612)), u = n2.__importDefault(i2(24886)), c = n2.__importDefault(i2(21273)), d = n2.__importDefault(i2(14517)), p = n2.__importDefault(i2(74535)), _ = n2.__importDefault(i2(26567)), h = n2.__importDefault(i2(55167)), m = n2.__importDefault(i2(67010)), g = n2.__importDefault(i2(10673)), f = n2.__importDefault(i2(12384)), T = n2.__importDefault(i2(5482)), y = n2.__importDefault(i2(40721)), S = n2.__importDefault(i2(18381)), A = n2.__importDefault(i2(93975)), N = n2.__importDefault(i2(45524)), v = n2.__importDefault(i2(25609)), O = n2.__importDefault(i2(19496)), I = n2.__importDefault(i2(50419)), C = { ArchFlowBot: r2.default, ArchFlowCommonModule: o.default, ArchFlowDigitalBot: a.default, ArchFlowEmailSend: s.default, ArchFlowInboundCall: l.default, ArchFlowInboundChat: u.default, ArchFlowInfo: c.default, ArchFlowInfoVersion: d.default, ArchFlowInfoBasic: p.default, ArchFlowInQueueCall: _.default, ArchFlowInQueueEmail: h.default, ArchFlowInQueueShortMessage: m.default, ArchFlowOutboundCall: g.default, ArchFlowSecureCall: f.default, ArchFlowInboundEmail: T.default, ArchFlowInboundShortMessage: y.default, ArchFlowSurveyInvite: S.default, ArchFlowVoice: A.default, ArchFlowVoicemail: N.default, ArchFlowVoiceSurvey: v.default, ArchFlowWorkflow: O.default, ArchFlowWorkitem: I.default }; t2.default = C; }, 86991: (e2, t2, i2) => { const n2 = i2(92289), r2 = i2(36019).default; @@ -101625,8 +110195,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 87022: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.SkillType = void 0; - const n2 = i2(31635), r2 = i2(71056), o = i2(79069), a = i2(27491), s = n2.__importDefault(i2(22226)), l = i2(80428), u = i2(14394), d = i2(94765); - class c extends d.ExpressionType { + const n2 = i2(31635).__importDefault(i2(22226)), r2 = i2(71056), o = i2(79069), a = i2(1910), s = i2(27491), l = i2(80428), u = i2(14394), c = i2(94765); + class d extends c.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -101637,47 +110207,50 @@ ${e3.stack}`, n3 = [this].concat(i3); return new r2.ExpressionTypeNetworkObjectOptions(this.isCollection); } canConvertLitToExpression(e3) { - return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindSkill", e3, [u.globalTypes.string]); + return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindSkill", e3, [u.globalTypes.string]); } convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindSkill(${s.default.getQuotedExpressionStringLiteral(t3)})` : ""; + return t3 && this.canConvertLitToExpression(e3) ? `FindSkill(${n2.default.getQuotedExpressionStringLiteral(t3)})` : ""; + } + applyLiteralFromModel(e3, t3, i3, n3) { + (0, a.applyNetworkListLiteralFromModel)(e3, t3, i3, n3, d.entityResolverEntityType) || super.applyLiteralFromModel(e3, t3, i3, n3); } get listManager() { return o.skillManager; } } - t2.SkillType = c, c.typeIdentifier = l.expressionTypeNames.skill; + t2.SkillType = d, d.typeIdentifier = l.expressionTypeNames.skill, d.entityResolverEntityType = "skill"; }, 87083: (e2, t2, i2) => { "use strict"; - var n2 = i2(71447), r2 = i2(9805), o = i2(41996), a = i2(19681), s = i2(54674), l = i2(44442), u = i2(37414), d = Object.prototype.toString; - function c(e3) { - if (!(this instanceof c)) return new c(e3); + var n2 = i2(71447), r2 = i2(9805), o = i2(41996), a = i2(19681), s = i2(54674), l = i2(44442), u = i2(37414), c = Object.prototype.toString; + function d(e3) { + if (!(this instanceof d)) return new d(e3); this.options = r2.assign({ chunkSize: 16384, windowBits: 0, to: "" }, e3 || {}); var t3 = this.options; t3.raw && t3.windowBits >= 0 && t3.windowBits < 16 && (t3.windowBits = -t3.windowBits, 0 === t3.windowBits && (t3.windowBits = -15)), !(t3.windowBits >= 0 && t3.windowBits < 16) || e3 && e3.windowBits || (t3.windowBits += 32), t3.windowBits > 15 && t3.windowBits < 48 && (15 & t3.windowBits || (t3.windowBits |= 15)), this.err = 0, this.msg = "", this.ended = false, this.chunks = [], this.strm = new l(), this.strm.avail_out = 0; var i3 = n2.inflateInit2(this.strm, t3.windowBits); if (i3 !== a.Z_OK) throw new Error(s[i3]); - if (this.header = new u(), n2.inflateGetHeader(this.strm, this.header), t3.dictionary && ("string" == typeof t3.dictionary ? t3.dictionary = o.string2buf(t3.dictionary) : "[object ArrayBuffer]" === d.call(t3.dictionary) && (t3.dictionary = new Uint8Array(t3.dictionary)), t3.raw && (i3 = n2.inflateSetDictionary(this.strm, t3.dictionary)) !== a.Z_OK)) throw new Error(s[i3]); + if (this.header = new u(), n2.inflateGetHeader(this.strm, this.header), t3.dictionary && ("string" == typeof t3.dictionary ? t3.dictionary = o.string2buf(t3.dictionary) : "[object ArrayBuffer]" === c.call(t3.dictionary) && (t3.dictionary = new Uint8Array(t3.dictionary)), t3.raw && (i3 = n2.inflateSetDictionary(this.strm, t3.dictionary)) !== a.Z_OK)) throw new Error(s[i3]); } function p(e3, t3) { - var i3 = new c(t3); + var i3 = new d(t3); if (i3.push(e3, true), i3.err) throw i3.msg || s[i3.err]; return i3.result; } - c.prototype.push = function(e3, t3) { - var i3, s2, l2, u2, c2, p2 = this.strm, _ = this.options.chunkSize, h = this.options.dictionary, m = false; + d.prototype.push = function(e3, t3) { + var i3, s2, l2, u2, d2, p2 = this.strm, _ = this.options.chunkSize, h = this.options.dictionary, m = false; if (this.ended) return false; - s2 = t3 === ~~t3 ? t3 : true === t3 ? a.Z_FINISH : a.Z_NO_FLUSH, "string" == typeof e3 ? p2.input = o.binstring2buf(e3) : "[object ArrayBuffer]" === d.call(e3) ? p2.input = new Uint8Array(e3) : p2.input = e3, p2.next_in = 0, p2.avail_in = p2.input.length; + s2 = t3 === ~~t3 ? t3 : true === t3 ? a.Z_FINISH : a.Z_NO_FLUSH, "string" == typeof e3 ? p2.input = o.binstring2buf(e3) : "[object ArrayBuffer]" === c.call(e3) ? p2.input = new Uint8Array(e3) : p2.input = e3, p2.next_in = 0, p2.avail_in = p2.input.length; do { if (0 === p2.avail_out && (p2.output = new r2.Buf8(_), p2.next_out = 0, p2.avail_out = _), (i3 = n2.inflate(p2, a.Z_NO_FLUSH)) === a.Z_NEED_DICT && h && (i3 = n2.inflateSetDictionary(this.strm, h)), i3 === a.Z_BUF_ERROR && true === m && (i3 = a.Z_OK, m = false), i3 !== a.Z_STREAM_END && i3 !== a.Z_OK) return this.onEnd(i3), this.ended = true, false; - p2.next_out && (0 !== p2.avail_out && i3 !== a.Z_STREAM_END && (0 !== p2.avail_in || s2 !== a.Z_FINISH && s2 !== a.Z_SYNC_FLUSH) || ("string" === this.options.to ? (l2 = o.utf8border(p2.output, p2.next_out), u2 = p2.next_out - l2, c2 = o.buf2string(p2.output, l2), p2.next_out = u2, p2.avail_out = _ - u2, u2 && r2.arraySet(p2.output, p2.output, l2, u2, 0), this.onData(c2)) : this.onData(r2.shrinkBuf(p2.output, p2.next_out)))), 0 === p2.avail_in && 0 === p2.avail_out && (m = true); + p2.next_out && (0 !== p2.avail_out && i3 !== a.Z_STREAM_END && (0 !== p2.avail_in || s2 !== a.Z_FINISH && s2 !== a.Z_SYNC_FLUSH) || ("string" === this.options.to ? (l2 = o.utf8border(p2.output, p2.next_out), u2 = p2.next_out - l2, d2 = o.buf2string(p2.output, l2), p2.next_out = u2, p2.avail_out = _ - u2, u2 && r2.arraySet(p2.output, p2.output, l2, u2, 0), this.onData(d2)) : this.onData(r2.shrinkBuf(p2.output, p2.next_out)))), 0 === p2.avail_in && 0 === p2.avail_out && (m = true); } while ((p2.avail_in > 0 || 0 === p2.avail_out) && i3 !== a.Z_STREAM_END); return i3 === a.Z_STREAM_END && (s2 = a.Z_FINISH), s2 === a.Z_FINISH ? (i3 = n2.inflateEnd(this.strm), this.onEnd(i3), this.ended = true, i3 === a.Z_OK) : s2 !== a.Z_SYNC_FLUSH || (this.onEnd(a.Z_OK), p2.avail_out = 0, true); - }, c.prototype.onData = function(e3) { + }, d.prototype.onData = function(e3) { this.chunks.push(e3); - }, c.prototype.onEnd = function(e3) { + }, d.prototype.onEnd = function(e3) { e3 === a.Z_OK && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = r2.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg; - }, t2.Inflate = c, t2.inflate = p, t2.inflateRaw = function(e3, t3) { + }, t2.Inflate = d, t2.inflate = p, t2.inflateRaw = function(e3, t3) { return (t3 = t3 || {}).raw = true, p(e3, t3); }, t2.ungzip = p; }, 87115: (e2, t2, i2) => { @@ -101783,7 +110356,7 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }), t2.generate = void 0; var r2 = i2(87699), o = i2(68596), a = i2(35884), s = i2(36805); t2.generate = function(e3, t3, i3, l, u) { - var d, c, p, _; + var c, d, p, _; function h() { var e4; return n2(this, function(n3) { @@ -101801,7 +110374,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } }); } - return 1 === arguments.length ? (_ = (d = e3).initialState, t3 = d.condition, i3 = d.iterate, c = d.resultSelector, p = void 0 === c ? r2.identity : c, u = d.scheduler) : (_ = e3, !l || o.isScheduler(l) ? (p = r2.identity, u = l) : p = l), a.defer(u ? function() { + return 1 === arguments.length ? (_ = (c = e3).initialState, t3 = c.condition, i3 = c.iterate, d = c.resultSelector, p = void 0 === d ? r2.identity : d, u = c.scheduler) : (_ = e3, !l || o.isScheduler(l) ? (p = r2.identity, u = l) : p = l), a.defer(u ? function() { return s.scheduleIterable(h(), u); } : h); }; @@ -101816,10 +110389,10 @@ ${e3.stack}`, n3 = [this].concat(i3); } } }), e2.exports = n2; }, 87321: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(17604), o = i2(67607), a = n2.__importStar(i2(98442)), s = i2(12179), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5730)), d = i2(80428), c = i2(47957); - class p extends u.default { + const n2 = i2(31635), r2 = i2(17604), o = i2(67607), a = n2.__importStar(i2(98442)), s = i2(12179), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(5730)), c = i2(80428), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends u.default { static get managedProperties() { - return [{ label: c.transcription.enableTranscription, options: o.ExpressionTypeBooleanOptions.create((e3) => e3.setDefaultText("true").setDescriptionInfo(c.transcription.enableTranscription, c.transcription.enableTranscriptionDescription).setIninTestingField("enableTranscription").setBoolText(c.boolean.enabled, c.boolean.disabled)), property: "enableTranscription", type: d.expressionTypeNames.boolean }]; + return [{ label: p.transcription.enableTranscription, options: o.ExpressionTypeBooleanOptions.create((e3) => e3.setDefaultText("true").setDescriptionInfo(p.transcription.enableTranscription, p.transcription.enableTranscriptionDescription).setIninTestingField("enableTranscription").setBoolText(p.boolean.enabled, p.boolean.disabled)), property: "enableTranscription", type: c.expressionTypeNames.boolean }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -101828,10 +110401,10 @@ ${e3.stack}`, n3 = [this].concat(i3); const t3 = []; Object.values(this.parentFlow.supportedLanguageOptions).forEach((e4) => { this.parentFlow.destinationFlowTypes.some((t4) => !a.supportsTranscriptionForFlowType(e4.language, t4)) && t3.push(e4.language); - }), t3.length > 0 && e3.addWarning(this, (0, r2.sprintf)(c.transcription.notValidForLanguages, a.getLanguageNameAndCodeDisplay(t3))), super.validate(e3); + }), t3.length > 0 && e3.addWarning(this, (0, r2.sprintf)(p.transcription.notValidForLanguages, a.getLanguageNameAndCodeDisplay(t3))), super.validate(e3); } } - p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: s.helpTopics.actions.transcription, modelClass: i2(84195), name: c.actions.transcription, scriptingName: "ArchActionTranscription" }), t2.A = p; + _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: s.helpTopics.actions.transcription, modelClass: i2(84195), name: p.actions.transcription, scriptingName: "ArchActionTranscription", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; }, 87333: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -101949,49 +110522,87 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = r2; }, 87675: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DataTypeDefValidationError = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(77105), a = n2.__importDefault(i2(71538)), s = n2.__importDefault(i2(89034)), l = n2.__importDefault(i2(65498)), u = n2.__importDefault(i2(13140)), d = i2(13140), c = i2(13140), p = i2(13140), _ = i2(89917), h = n2.__importDefault(i2(65302)); + Object.defineProperty(t2, "__esModule", { value: true }), t2.DataTypeDefValidationError = void 0, t2.isDataTypeDefViewModel = function(e3) { + return !!(null == e3 ? void 0 : e3.isDataTypeDefViewModel); + }; + const n2 = i2(31635), r2 = i2(89917), o = n2.__importDefault(i2(71538)), a = n2.__importDefault(i2(65498)), s = n2.__importDefault(i2(13140)), l = i2(13140), u = i2(13140), c = i2(13140), d = n2.__importDefault(i2(65302)), p = i2(47040), _ = i2(77105), h = n2.__importDefault(i2(89034)); var m; !(function(e3) { e3.propDataTypeIdInvalid = "propDataTypeIdInvalid", e3.propDataTypeNotAvailableInFlow = "propDataTypeNotAvailableInFlow"; })(m || (t2.DataTypeDefValidationError = m = {})); - class g extends s.default { + class g extends h.default { constructor(e3) { - super(), this._dataTypeDef = e3; + super(), this._registeredPropertyTypeTargetIds = /* @__PURE__ */ new Set(), this.isDestroyed = false, this._dataTypeDef = e3; + } + bindToFlow(e3) { + e3 && (this.parentFlow = e3, this.parent = e3, this.isDestroyed = false); + } + getDisplayName() { + return this.name; + } + registerPropertyTypeUsages() { + var e3; + if (this.parentFlow && this.dataTypeId && !this.isDestroyed) for (const t3 of (0, p.getReferencedCustomTypeIds)(this)) { + if (this._registeredPropertyTypeTargetIds.has(t3)) continue; + const i3 = null === (e3 = this.parentFlow.definitions) || void 0 === e3 ? void 0 : e3.getCustomDataTypeDefinition(t3); + i3 && (i3.addReader(this), this._registeredPropertyTypeTargetIds.add(t3)); + } + } + unregisterPropertyTypeUsages() { + var e3; + if (!this.parentFlow) return this._registeredPropertyTypeTargetIds.clear(), void (this.isDestroyed = true); + for (const t3 of this._registeredPropertyTypeTargetIds) { + const i3 = null === (e3 = this.parentFlow.definitions) || void 0 === e3 ? void 0 : e3.getCustomDataTypeDefinition(t3); + null == i3 || i3.removeUsage(this); + } + this._registeredPropertyTypeTargetIds.clear(), this.isDestroyed = true; } get className() { return "DataTypeDefViewModel"; } _canDelete() { - return !this.hasUsages; + return true; } - get hasUsages() { - return !!this.usages && !r2.default.isEmpty(this.usages); + canDelete(e3) { + return !this.hasUsagesForFlow(e3); } - isInUse() { - return !this.canDelete(); + isInUse(e3) { + return !this.canDelete(e3); } static createEmptyDataTypeDef() { - return new g(new a.default()); + return new g(new o.default()); } static createAndPopulateRootPropertiesFromJsonSchema(e3) { const t3 = g.createEmptyDataTypeDef(); return t3._dataTypeDef.populateRootPropertiesFromJsonSchema(e3), t3; } static createFromPropertyDefinition(e3) { - var t3, i3, n3; - const r3 = new a.default(); - return r3.id = e3.id, r3.dataTypeId = (null === (i3 = null === (t3 = e3.type) || void 0 === t3 ? void 0 : t3.singletonType) || void 0 === i3 ? void 0 : i3.expressionType) || (null === (n3 = e3.type) || void 0 === n3 ? void 0 : n3.expressionType), r3.allowableValues = e3.allowableValues, r3.description = e3.description, r3.isCollection = e3.isCollection, r3.isRequired = e3.isRequired, r3.readOnly = e3.isReadOnly, r3.patchable = e3.isPatchable, r3.minLength = e3.minLength, r3.maxLength = e3.maxLength, r3.minValue = e3.minValue, r3.minValueInclusive = e3.minValueInclusive, r3.maxValue = e3.maxValue, r3.maxValueInclusive = e3.maxValueInclusive, r3.minItems = e3.minItems, r3.maxItems = e3.maxItems, r3.name = e3.name, new g(r3); + var t3, i3, n3, r3; + const a2 = new o.default(); + a2.id = e3.id, a2.dataTypeId = (null === (i3 = null === (t3 = e3.type) || void 0 === t3 ? void 0 : t3.singletonType) || void 0 === i3 ? void 0 : i3.expressionType) || (null === (n3 = e3.type) || void 0 === n3 ? void 0 : n3.expressionType); + const s2 = e3.getAllowableValuesForDataTypeDef(); + s2 && (a2.allowableValues = s2), a2.description = e3.description, e3.schemaTitle && (a2.title = e3.schemaTitle), a2.isCollection = e3.isCollection, a2.isRequired = e3.isRequired, a2.readOnly = e3.isReadOnly, a2.patchable = e3.isPatchable, a2.minLength = e3.minLength, a2.maxLength = e3.maxLength, a2.minValue = e3.minValue, a2.minValueInclusive = e3.minValueInclusive, a2.maxValue = e3.maxValue, a2.maxValueInclusive = e3.maxValueInclusive, a2.minItems = e3.minItems, a2.maxItems = e3.maxItems, a2.name = e3.name; + const l2 = null === (r3 = e3.model) || void 0 === r3 ? void 0 : r3.properties; + if (l2 && "object" == typeof l2) { + const e4 = []; + for (const t4 of Object.values(l2)) { + if (!t4) continue; + const i4 = new o.default(); + i4.id = t4.id, i4.name = t4.name, i4.minValue = t4.minValue, i4.minValueInclusive = t4.minValueInclusive, i4.maxValue = t4.maxValue, i4.maxValueInclusive = t4.maxValueInclusive, i4.minValueStr = t4.minValueStr, i4.maxValueStr = t4.maxValueStr, i4.minLength = t4.minLength, i4.maxLength = t4.maxLength, e4.push(i4); + } + e4.length && (a2.properties = e4); + } + return new g(a2); } static createFromPropertyParams(e3, t3, i3, n3, r3) { - var a2, s2, l2; - const u2 = { id: t3, name: t3, type: i3, isCollection: null !== (a2 = null == r3 ? void 0 : r3.isCollection) && void 0 !== a2 && a2, isRequired: null !== (s2 = null == r3 ? void 0 : r3.isRequired) && void 0 !== s2 && s2, readOnly: null !== (l2 = null == r3 ? void 0 : r3.isReadOnly) && void 0 !== l2 && l2, patchable: null == r3 ? void 0 : r3.isPatchable, minLength: null == r3 ? void 0 : r3.minLength, maxLength: null == r3 ? void 0 : r3.maxLength, minValue: null == r3 ? void 0 : r3.minValue, minValueInclusive: null == r3 ? void 0 : r3.minValueInclusive, maxValue: null == r3 ? void 0 : r3.maxValue, maxValueInclusive: null == r3 ? void 0 : r3.maxValueInclusive, minItems: null == r3 ? void 0 : r3.minItems, maxItems: null == r3 ? void 0 : r3.maxItems, allowableValues: null == r3 ? void 0 : r3.allowableValues }, d2 = new o.PropertyDefinition(e3, u2, n3); - return g.createFromPropertyDefinition(d2); + var o2, a2, s2; + const l2 = { id: t3, name: t3, type: i3, isCollection: null !== (o2 = null == r3 ? void 0 : r3.isCollection) && void 0 !== o2 && o2, isRequired: null !== (a2 = null == r3 ? void 0 : r3.isRequired) && void 0 !== a2 && a2, readOnly: null !== (s2 = null == r3 ? void 0 : r3.isReadOnly) && void 0 !== s2 && s2, patchable: null == r3 ? void 0 : r3.isPatchable, minLength: null == r3 ? void 0 : r3.minLength, maxLength: null == r3 ? void 0 : r3.maxLength, minValue: null == r3 ? void 0 : r3.minValue, minValueInclusive: null == r3 ? void 0 : r3.minValueInclusive, maxValue: null == r3 ? void 0 : r3.maxValue, maxValueInclusive: null == r3 ? void 0 : r3.maxValueInclusive, minItems: null == r3 ? void 0 : r3.minItems, maxItems: null == r3 ? void 0 : r3.maxItems, allowableValuesRaw: Array.isArray(null == r3 ? void 0 : r3.allowableValues) && r3.allowableValues.length ? r3.allowableValues : void 0 }, u2 = new _.PropertyDefinition(e3, l2, n3); + return g.createFromPropertyDefinition(u2); } static validateDataTypeDefsForCreation(e3, t3) { const i3 = { errors: [] }, n3 = {}; for (const e4 of t3) n3[e4.id] = true; - const r3 = h.default.getTypeGroup(e3); + const r3 = d.default.getTypeGroup(e3); for (const o2 of t3) for (const t4 of o2.propertiesSnapshot) if (n3[t4.dataTypeId]) ; else { const n4 = r3.getType(t4.dataTypeId, t4.isCollection); @@ -102020,6 +110631,12 @@ ${e3.stack}`, n3 = [this].concat(i3); set description(e3) { this._dataTypeDef.description = e3; } + get title() { + return this._dataTypeDef.title; + } + set title(e3) { + this._dataTypeDef.title = e3; + } get id() { return this._dataTypeDef.id; } @@ -102033,7 +110650,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this._dataTypeDef.name = e3; } get customJsonIdentifierInfo() { - return this._customJsonIdentifierInfo || (this._customJsonIdentifierInfo = _.CustomJsonIdentifierInfo.create(this.dataTypeId)), this._customJsonIdentifierInfo; + return this._customJsonIdentifierInfo || (this._customJsonIdentifierInfo = r2.CustomJsonIdentifierInfo.create(this.dataTypeId)), this._customJsonIdentifierInfo; } get namespace() { return this.customJsonIdentifierInfo.namespace; @@ -102128,6 +110745,24 @@ ${e3.stack}`, n3 = [this].concat(i3); set maxValueInclusive(e3) { this._dataTypeDef.maxValueInclusive = e3; } + get minValueStr() { + return this._dataTypeDef.minValueStr; + } + set minValueStr(e3) { + this._dataTypeDef.minValueStr = e3; + } + get minValueParsedDecimal() { + return this._dataTypeDef.minValueParsedDecimal; + } + get maxValueStr() { + return this._dataTypeDef.maxValueStr; + } + set maxValueStr(e3) { + this._dataTypeDef.maxValueStr = e3; + } + get maxValueParsedDecimal() { + return this._dataTypeDef.maxValueParsedDecimal; + } get hasProperties() { var e3, t3; return (null === (t3 = null === (e3 = this._dataTypeDef) || void 0 === e3 ? void 0 : e3.properties) || void 0 === t3 ? void 0 : t3.length) > 0; @@ -102156,91 +110791,91 @@ ${e3.stack}`, n3 = [this].concat(i3); for (const e4 of this._dataTypeDef.properties) t3[e4.name] = new g(e4); return t3; } - _addItemDiffResult(e3, t3, i3, n3, r3, o2, a2, s2, l2) { - const d2 = new u.default(e3.currentPath.join("/"), n3, i3, r3, t3, o2, s2, a2, l2); + _addItemDiffResult(e3, t3, i3, n3, r3, o2, a2, l2, c2) { + const d2 = new s.default(e3.currentPath.join("/"), n3, i3, r3, t3, o2, l2, a2, c2); switch (e3.diffResult.addDiff(d2), d2.diffResult) { - case c.DiffResult.doesNotMatch: - case c.DiffResult.moreRestrictive: + case u.DiffResult.doesNotMatch: + case u.DiffResult.moreRestrictive: if (e3.diffResult.diffSettings.shortCircuitOnFirstMoreRestrictiveDiff) return false; } return true; } _compareBooleanFacets(e3, t3, i3, n3, r3) { - return n3 === r3 || this._addItemDiffResult(e3, i3, p.DiffType.isNotEqual, c.DiffResult.doesNotMatch, t3, n3, r3); + return n3 === r3 || this._addItemDiffResult(e3, i3, c.DiffType.isNotEqual, u.DiffResult.doesNotMatch, t3, n3, r3); } _compareStringFacets(e3, t3, i3, n3, r3) { - return n3 === r3 || this._addItemDiffResult(e3, i3, p.DiffType.isNotEqual, c.DiffResult.moreRestrictive, t3, n3, r3); + return n3 === r3 || this._addItemDiffResult(e3, i3, c.DiffType.isNotEqual, u.DiffResult.moreRestrictive, t3, n3, r3); } _compareNumericRangeFacets(e3, t3, i3, n3, r3, o2, a2, s2) { - if (void 0 === r3) return void 0 === n3 || this._addItemDiffResult(e3, i3, p.DiffType.valueNoLongerDefined, c.DiffResult.lessRestrictive, t3, n3, r3, a2, s2); - if (void 0 === n3) return this._addItemDiffResult(e3, i3, p.DiffType.valueNowDefined, c.DiffResult.moreRestrictive, t3, n3, r3, a2, s2); + if (void 0 === r3) return void 0 === n3 || this._addItemDiffResult(e3, i3, c.DiffType.valueNoLongerDefined, u.DiffResult.lessRestrictive, t3, n3, r3, a2, s2); + if (void 0 === n3) return this._addItemDiffResult(e3, i3, c.DiffType.valueNowDefined, u.DiffResult.moreRestrictive, t3, n3, r3, a2, s2); if (n3 === r3) if (o2) { - if (s2 && !a2) return this._addItemDiffResult(e3, i3, p.DiffType.minValueIsLessThanInclusive, c.DiffResult.lessRestrictive, t3, n3, r3, a2, s2); - if (!s2 && a2) return this._addItemDiffResult(e3, i3, p.DiffType.minValueIsGreaterThanInclusive, c.DiffResult.moreRestrictive, t3, n3, r3, a2, s2); + if (s2 && !a2) return this._addItemDiffResult(e3, i3, c.DiffType.minValueIsLessThanInclusive, u.DiffResult.lessRestrictive, t3, n3, r3, a2, s2); + if (!s2 && a2) return this._addItemDiffResult(e3, i3, c.DiffType.minValueIsGreaterThanInclusive, u.DiffResult.moreRestrictive, t3, n3, r3, a2, s2); } else { - if (s2 && !a2) return this._addItemDiffResult(e3, i3, p.DiffType.maxValueIsGreaterThanInclusive, c.DiffResult.lessRestrictive, t3, n3, r3, a2, s2); - if (!s2 && a2) return this._addItemDiffResult(e3, i3, p.DiffType.maxValueIsLessThanInclusive, c.DiffResult.moreRestrictive, t3, n3, r3, a2, s2); + if (s2 && !a2) return this._addItemDiffResult(e3, i3, c.DiffType.maxValueIsGreaterThanInclusive, u.DiffResult.lessRestrictive, t3, n3, r3, a2, s2); + if (!s2 && a2) return this._addItemDiffResult(e3, i3, c.DiffType.maxValueIsLessThanInclusive, u.DiffResult.moreRestrictive, t3, n3, r3, a2, s2); } else if (o2) { - if (r3 < n3) return this._addItemDiffResult(e3, i3, p.DiffType.minValueIsLessThan, c.DiffResult.lessRestrictive, t3, n3, r3, a2, s2); - if (r3 > n3) return this._addItemDiffResult(e3, i3, p.DiffType.minValueIsGreaterThan, c.DiffResult.moreRestrictive, t3, n3, r3, a2, s2); + if (r3 < n3) return this._addItemDiffResult(e3, i3, c.DiffType.minValueIsLessThan, u.DiffResult.lessRestrictive, t3, n3, r3, a2, s2); + if (r3 > n3) return this._addItemDiffResult(e3, i3, c.DiffType.minValueIsGreaterThan, u.DiffResult.moreRestrictive, t3, n3, r3, a2, s2); } else { - if (r3 > n3) return this._addItemDiffResult(e3, i3, p.DiffType.maxValueIsGreaterThan, c.DiffResult.lessRestrictive, t3, n3, r3, a2, s2); - if (r3 < n3) return this._addItemDiffResult(e3, i3, p.DiffType.maxValueIsLessThan, c.DiffResult.moreRestrictive, t3, n3, r3, a2, s2); + if (r3 > n3) return this._addItemDiffResult(e3, i3, c.DiffType.maxValueIsGreaterThan, u.DiffResult.lessRestrictive, t3, n3, r3, a2, s2); + if (r3 < n3) return this._addItemDiffResult(e3, i3, c.DiffType.maxValueIsLessThan, u.DiffResult.moreRestrictive, t3, n3, r3, a2, s2); } return true; } _getDataTypeDefDiffs(e3, t3) { const i3 = e3.diffResult.diffSettings; - if (i3.diffIds && !this._compareStringFacets(e3, d.DiffItem.property, "id", this.id, t3.id)) return false; - if (i3.diffDataTypeIds && !this._compareStringFacets(e3, d.DiffItem.property, "dataTypeId", this.dataTypeId, t3.dataTypeId)) return false; - if (!this._compareBooleanFacets(e3, d.DiffItem.property, "isCollection", this.isCollection, t3.isCollection)) return false; - if (!this._compareEnumFacets(e3, d.DiffItem.property, "isEnum", this.allowableValues, t3.allowableValues)) return false; - if (!this._compareNumericRangeFacets(e3, d.DiffItem.property, "minValue", this.minValue, t3.minValue, true, this.minValueInclusive, t3.minValueInclusive)) return false; - if (!this._compareNumericRangeFacets(e3, d.DiffItem.property, "maxValue", this.maxValue, t3.maxValue, false, this.maxValueInclusive, t3.maxValueInclusive)) return false; - if (!this._compareNumericRangeFacets(e3, d.DiffItem.property, "minLength", this.minLength, t3.minLength, true)) return false; - if (!this._compareNumericRangeFacets(e3, d.DiffItem.property, "maxLength", this.maxLength, t3.maxLength, false)) return false; - if (!this._compareNumericRangeFacets(e3, d.DiffItem.property, "minItems", this.minItems, t3.minItems, true)) return false; - if (!this._compareNumericRangeFacets(e3, d.DiffItem.property, "maxItems", this.maxItems, t3.maxItems, false)) return false; + if (i3.diffIds && !this._compareStringFacets(e3, l.DiffItem.property, "id", this.id, t3.id)) return false; + if (i3.diffDataTypeIds && !this._compareStringFacets(e3, l.DiffItem.property, "dataTypeId", this.dataTypeId, t3.dataTypeId)) return false; + if (!this._compareBooleanFacets(e3, l.DiffItem.property, "isCollection", this.isCollection, t3.isCollection)) return false; + if (!this._compareEnumFacets(e3, l.DiffItem.property, "isEnum", this.allowableValues, t3.allowableValues)) return false; + if (!this._compareNumericRangeFacets(e3, l.DiffItem.property, "minValue", this.minValue, t3.minValue, true, this.minValueInclusive, t3.minValueInclusive)) return false; + if (!this._compareNumericRangeFacets(e3, l.DiffItem.property, "maxValue", this.maxValue, t3.maxValue, false, this.maxValueInclusive, t3.maxValueInclusive)) return false; + if (!this._compareNumericRangeFacets(e3, l.DiffItem.property, "minLength", this.minLength, t3.minLength, true)) return false; + if (!this._compareNumericRangeFacets(e3, l.DiffItem.property, "maxLength", this.maxLength, t3.maxLength, false)) return false; + if (!this._compareNumericRangeFacets(e3, l.DiffItem.property, "minItems", this.minItems, t3.minItems, true)) return false; + if (!this._compareNumericRangeFacets(e3, l.DiffItem.property, "maxItems", this.maxItems, t3.maxItems, false)) return false; const n3 = this.propertiesMap, r3 = t3.propertiesMap, o2 = Object.keys(n3).length, a2 = Object.keys(r3).length; if (o2 > a2) { - if (!this._addItemDiffResult(e3, "", p.DiffType.removed, c.DiffResult.moreRestrictive, d.DiffItem.propertyCount, o2, a2)) return false; - } else if (o2 < a2 && !this._addItemDiffResult(e3, "", p.DiffType.addition, c.DiffResult.lessRestrictive, d.DiffItem.propertyCount, o2, a2)) return false; + if (!this._addItemDiffResult(e3, "", c.DiffType.removed, u.DiffResult.moreRestrictive, l.DiffItem.propertyCount, o2, a2)) return false; + } else if (o2 < a2 && !this._addItemDiffResult(e3, "", c.DiffType.addition, u.DiffResult.lessRestrictive, l.DiffItem.propertyCount, o2, a2)) return false; const s2 = {}; - let l2 = 0; + let d2 = 0; for (const [t4, i4] of Object.entries(n3)) { - s2[t4] = true, l2++; + s2[t4] = true, d2++; const n4 = r3[t4]; - if (!n4 && !this._addItemDiffResult(e3, t4, p.DiffType.removed, c.DiffResult.moreRestrictive, d.DiffItem.property, void 0, void 0)) return false; + if (!n4 && !this._addItemDiffResult(e3, t4, c.DiffType.removed, u.DiffResult.moreRestrictive, l.DiffItem.property, void 0, void 0)) return false; try { if (e3.currentPath.push(t4), !i4._getDataTypeDefDiffs(e3, n4)) return false; } finally { e3.currentPath.pop(); } } - if (l2 < a2) { - for (const t4 of Object.keys(r3)) if (!s2[t4] && !this._addItemDiffResult(e3, t4, p.DiffType.addition, c.DiffResult.lessRestrictive, d.DiffItem.property, void 0, void 0)) return false; + if (d2 < a2) { + for (const t4 of Object.keys(r3)) if (!s2[t4] && !this._addItemDiffResult(e3, t4, c.DiffType.addition, u.DiffResult.lessRestrictive, l.DiffItem.property, void 0, void 0)) return false; } return true; } _compareEnumFacets(e3, t3, i3, n3, r3) { - if (void 0 === n3) return void 0 === r3 || this._addItemDiffResult(e3, i3, p.DiffType.valueNowDefined, c.DiffResult.lessRestrictive, t3, n3, r3); - if (void 0 === r3) return this._addItemDiffResult(e3, i3, p.DiffType.valueNoLongerDefined, c.DiffResult.moreRestrictive, t3, n3, r3); - if (n3.length > r3.length) return this._addItemDiffResult(e3, i3, p.DiffType.removed, c.DiffResult.moreRestrictive, t3, n3, r3); - if (n3.length < r3.length) return this._addItemDiffResult(e3, i3, p.DiffType.addition, c.DiffResult.lessRestrictive, t3, n3, r3); - for (let o2 = 0; o2 < n3.length; o2++) if (!r3.includes(n3[o2])) return this._addItemDiffResult(e3, i3, p.DiffType.removed, c.DiffResult.moreRestrictive, t3, n3, r3); + if (void 0 === n3) return void 0 === r3 || this._addItemDiffResult(e3, i3, c.DiffType.valueNowDefined, u.DiffResult.lessRestrictive, t3, n3, r3); + if (void 0 === r3) return this._addItemDiffResult(e3, i3, c.DiffType.valueNoLongerDefined, u.DiffResult.moreRestrictive, t3, n3, r3); + if (n3.length > r3.length) return this._addItemDiffResult(e3, i3, c.DiffType.removed, u.DiffResult.moreRestrictive, t3, n3, r3); + if (n3.length < r3.length) return this._addItemDiffResult(e3, i3, c.DiffType.addition, u.DiffResult.lessRestrictive, t3, n3, r3); + for (let o2 = 0; o2 < n3.length; o2++) if (!r3.includes(n3[o2])) return this._addItemDiffResult(e3, i3, c.DiffType.removed, u.DiffResult.moreRestrictive, t3, n3, r3); } compareToAndGetDiffs(e3, t3) { if (!e3) { - const t4 = new l.default(this, e3, void 0); + const t4 = new a.default(this, e3, void 0); return t4.setNotComparableTo(), t4; } - const i3 = { diffResult: new l.default(this, e3, t3 || { diffIds: true, diffDataTypeIds: true, shortCircuitOnFirstMoreRestrictiveDiff: true }), currentPath: ["#"] }; + const i3 = { diffResult: new a.default(this, e3, t3 || { diffIds: true, diffDataTypeIds: true, shortCircuitOnFirstMoreRestrictiveDiff: true }), currentPath: ["#"] }; return this._getDataTypeDefDiffs(i3, e3), i3.diffResult; } getExpressionTypeForFlow(e3) { if (!e3) return; - const t3 = h.default.getTypeGroup(e3); + const t3 = d.default.getTypeGroup(e3); return t3 ? t3.getType(this.id, this.isCollection) : void 0; } } @@ -102299,15 +110934,15 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = r2; }, 87759: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = i2(47957); - class u extends s.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = n2.__importDefault(i2(4648)), u = i2(47957); + class c extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } } - u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: r2.helpTopics.actions.endState, modelClass: i2(83051), name: l.actions.endState, scriptingName: "ArchActionEndState", termination: a.terminatesState, availabilityCallback: function(e3, t3, i3) { + c.info = o.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: r2.helpTopics.actions.endState, modelClass: i2(83051), name: u.actions.endState, scriptingName: "ArchActionEndState", modelFormatSupport: { flowYaml: { inProgress: true, feature: l.default.changeSetsFeaturePhase2 } }, termination: a.terminatesState, availabilityCallback: function(e3, t3, i3) { return !(!i3 || !t3.isState); - } }), t2.A = u; + } }), t2.A = c; }, 87769: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -102424,7 +111059,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 87921: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(9345)), s = i2(19596), l = i2(80295), u = i2(80295), d = i2(98126), c = i2(55909), p = i2(33951), _ = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(9345)), s = i2(19596), l = i2(80295), u = i2(80295), c = i2(98126), d = i2(55909), p = i2(33951), _ = i2(47957); class h extends s.DataContract { constructor() { super(), this._allowNull = true, this._isCollection = false, (0, u.makeUnenumerable)(this, "_allowNull"), (0, u.makeUnenumerable)(this, "_isCollection"); @@ -102436,10 +111071,10 @@ ${e3.stack}`, n3 = [this].concat(i3); e3 && this._setFromFacets(e3); } _setFromFacets(e3) { - p.ParameterValidator.expectObject(e3, () => c.ParameterInfo.createFunctionParameter(this.className, "_setFromFacets", "baseFacets"), false), this._setFacetIfSet(this.setAllowNull, e3.allowNull), this._setFacetIfSet(this.setIsCollection, e3.isCollection); + p.ParameterValidator.expectObject(e3, () => d.ParameterInfo.createFunctionParameter(this.className, "_setFromFacets", "baseFacets"), false), this._setFacetIfSet(this.setAllowNull, e3.allowNull), this._setFacetIfSet(this.setIsCollection, e3.isCollection); } _setFacetIfSet(e3, t3, i3) { - p.ParameterValidator.expectFunction(e3, () => c.ParameterInfo.createFunctionParameter(this.className, "_setFromFacets", "setter"), false), o.default.isUndefined(t3) ? i3 && (p.ParameterValidator.expectTrue(i3 in this, i3, "property exists on this", () => c.ParameterInfo.createFunctionParameter(this.className, "_setFromFacets", "propertyName"), false), this[i3] = void 0) : e3.call(this, t3); + p.ParameterValidator.expectFunction(e3, () => d.ParameterInfo.createFunctionParameter(this.className, "_setFromFacets", "setter"), false), o.default.isUndefined(t3) ? i3 && (p.ParameterValidator.expectTrue(i3 in this, i3, "property exists on this", () => d.ParameterInfo.createFunctionParameter(this.className, "_setFromFacets", "propertyName"), false), this[i3] = void 0) : e3.call(this, t3); } _createValidationResult(e3, t3, i3) { return { isValid: e3, isWarning: true === i3, message: t3 }; @@ -102465,7 +111100,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._allowNull; } set allowNull(e3) { - this._allowNull = p.ParameterValidator.expectBool(e3, () => c.ParameterInfo.createPropertySet(this.className, "isCollection", "value")); + this._allowNull = p.ParameterValidator.expectBool(e3, () => d.ParameterInfo.createPropertySet(this.className, "isCollection", "value")); } setAllowNull(e3) { return this.allowNull = e3, this; @@ -102474,7 +111109,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._isCollection; } set isCollection(e3) { - this._isCollection = p.ParameterValidator.expectBool(e3, () => c.ParameterInfo.createPropertySet(this.className, "isCollection", "value")); + this._isCollection = p.ParameterValidator.expectBool(e3, () => d.ParameterInfo.createPropertySet(this.className, "isCollection", "value")); } setIsCollection(e3) { return this.isCollection = e3, this; @@ -102486,15 +111121,15 @@ ${e3.stack}`, n3 = [this].concat(i3); return n3.isMatch(i3, a.settings.typeOf) ? e3.isNotSet ? this.allowNull ? this._createSuccessResult() : this._createErrorResult(_.facets.valueCannotBeNotSet) : e3.isLit ? this._validateValue(this._facetGetExpressionItemLitValue(e3), t3) : this._createSuccessResult() : this._createErrorResult((0, r2.sprintf)(_.facets.incorrectType, n3.displayString, i3.displayString)); } clone() { - return (0, d.clone)(this); + return (0, c.clone)(this); } } t2.default = h, n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], h.prototype, "allowNull", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], h.prototype, "isCollection", null); }, 87951: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(15364), u = i2(79467), d = i2(81516), c = i2(99469), p = i2(24235), _ = i2(36128), h = n2.__importStar(i2(10798)), m = n2.__importDefault(i2(4648)), g = n2.__importDefault(i2(88391)), f = i2(80428), T = i2(44931), y = i2(47957); - class S extends g.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = i2(1910), s = i2(1910), l = n2.__importDefault(i2(73198)), u = n2.__importStar(i2(63824)), c = i2(15364), d = i2(79467), p = i2(81516), _ = i2(99469), h = i2(24235), m = i2(36128), g = n2.__importStar(i2(10798)), f = n2.__importDefault(i2(4648)), T = n2.__importStar(i2(50474)), y = n2.__importDefault(i2(88391)), S = i2(80428), A = i2(44931), N = i2(47957); + class v extends y.default { constructor(e3, t3) { super(e3, t3); } @@ -102510,7 +111145,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.bot; } get botRunnableNetworkGetCall() { - return T.getAlias; + return A.getAlias; } get languagesProperty() { return this.model.aliasLanguages; @@ -102522,7 +111157,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } static get managedProperties() { - return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: S.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { property: "sessionVariables", namedItems: true, isOutput: false, options: _.NameValuePairsOptions.create((e3) => e3.setNameLabel(y.updateVariables.variableName).setValueLabel(y.updateVariables.variableValue).setAllowLiteralModeOnlyOnName(true)), yamlOptions: S.createYamlOptions("sessionVariables", (e3) => e3.setWrappedCollectionItemName("sessionVariable")) }, { property: "outputs", dataPairListCollection: true, isOutput: true, options: c.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), yamlOptions: S.createYamlOptions("outputs", (e3) => e3.setPropertyName("intents").setUseNoneTrueForExpressionContainerClass(l.DataPairList.className)) }, { label: y.bot.followupResponseTimeoutLabel, type: f.expressionTypeNames.duration, supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage, r2.flowTypes.flowTypeInboundChat], options: u.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationTwelveHours).setDescriptionInfo(y.bot.followupResponseTimeoutLabel, y.bot.followupResponseTimeoutDescription).setDurationStyle(s.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundChat], options: u.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationFiveMinutes).setDescriptionInfo(y.bot.followupResponseTimeoutLabel, y.bot.followupResponseTimeoutDescription).setDurationStyle(s.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true).setMaxDur(10 * a.default.msPerHour, true)) }], property: "followupResponseTimeout" }, { label: y.lex.inputTextLabel, supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage, r2.flowTypes.flowTypeInboundChat], type: f.expressionTypeNames.string, options: d.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setDescriptionInfo(y.lex.inputTextLabel, y.lex.inputTextDescriptionForChat).setIninTestingField("inputTextExpression")), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage], options: d.ExpressionTypeStringOptions.create((e3) => e3.setDefaultToExpression(true).setDefaultText(a.default.messageBodyVariable).setDescriptionInfo(y.lex.inputTextLabel, y.lex.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(h.isFeatureAvailable(m.default.autoStartConversations)).setDoNotTransitionToNoValue(true)) }], property: "inputText" }, { property: "prompts", audio: true, supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgen, options: p.AudioViewModelOptions.create((e3) => e3.setLabel(y.lex.startingAudio).setIninTestingField("startingAudio")), yamlOptions: S.createYamlOptions("prompts", (e3) => e3.setPropertyName("startAudio")) }]; + return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: v.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { property: "sessionVariables", namedItems: true, isOutput: false, options: m.NameValuePairsOptions.create((e3) => e3.setNameLabel(N.updateVariables.variableName).setValueLabel(N.updateVariables.variableValue).setAllowLiteralModeOnlyOnName(true)), yamlOptions: v.createYamlOptions("sessionVariables", (e3) => e3.setWrappedCollectionItemName("sessionVariable")) }, { property: "outputs", dataPairListCollection: true, isOutput: true, options: _.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), yamlOptions: v.createYamlOptions("outputs", (e3) => e3.setPropertyName("intents").setUseNoneTrueForExpressionContainerClass(c.DataPairList.className)) }, { label: N.bot.followupResponseTimeoutLabel, type: S.expressionTypeNames.duration, supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage, r2.flowTypes.flowTypeInboundChat], options: d.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(l.default.litDurationTwelveHours).setDescriptionInfo(N.bot.followupResponseTimeoutLabel, N.bot.followupResponseTimeoutDescription).setDurationStyle(u.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundChat], options: d.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(l.default.litDurationFiveMinutes).setDescriptionInfo(N.bot.followupResponseTimeoutLabel, N.bot.followupResponseTimeoutDescription).setDurationStyle(u.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true).setMaxDur(10 * l.default.msPerHour, true)) }], property: "followupResponseTimeout" }, { label: N.lex.inputTextLabel, supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage, r2.flowTypes.flowTypeInboundChat], type: S.expressionTypeNames.string, options: p.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setDescriptionInfo(N.lex.inputTextLabel, N.lex.inputTextDescriptionForChat).setIninTestingField("inputTextExpression")), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage], options: p.ExpressionTypeStringOptions.create((e3) => e3.setDefaultToExpression(true).setDefaultText(l.default.messageBodyVariable).setDescriptionInfo(N.lex.inputTextLabel, N.lex.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(g.isFeatureAvailable(f.default.autoStartConversations)).setDoNotTransitionToNoValue(true)) }], property: "inputText" }, { property: "prompts", audio: true, supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgen, options: h.AudioViewModelOptions.create((e3) => e3.setLabel(N.lex.startingAudio).setIninTestingField("startingAudio")), yamlOptions: v.createYamlOptions("prompts", (e3) => e3.setPropertyName("startAudio")) }]; } postProcessYamlConfig(e3, t3, i3) { this.botRunnableProperty.idValue || this.removeYamlExportPropsThatRequireRunnable(e3), this.botName && this._postProcessYamlConfig(e3, t3, i3); @@ -102534,13 +111169,37 @@ ${e3.stack}`, n3 = [this].concat(i3); var t3; super.validate(e3); const i3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue); - i3 && (null === (t3 = i3.status) || void 0 === t3 ? void 0 : t3.toLowerCase()) !== this.aliasReadyStatus.toLowerCase() && e3.addError(this, (0, o.sprintf)(y.lex.lexAliasNotReady, i3.status, this.aliasReadyStatus)); + i3 && (null === (t3 = i3.status) || void 0 === t3 ? void 0 : t3.toLowerCase()) !== this.aliasReadyStatus.toLowerCase() && e3.addError(this, (0, o.sprintf)(N.lex.lexAliasNotReady, i3.status, this.aliasReadyStatus)); } get yamlNoBotRunnablePropName() { return "noLexBot"; } + _configureNestedActionsFromModel(e3, t3, i3) { + const r3 = Object.create(null, { _configureNestedActionsFromModel: { get: () => super._configureNestedActionsFromModel } }); + return n2.__awaiter(this, void 0, void 0, function* () { + if (yield r3._configureNestedActionsFromModel.call(this, e3, t3, i3), t3 !== a.ModelFormat.FlowYaml && t3 !== a.ModelFormat.ChangeSet) return; + const n3 = this._findLexBotAliasYamlRef(e3), o2 = null == n3 ? void 0 : n3.outputs; + if (!(0, s.isConfigureFromModelRecord)(o2)) return; + for (const [e4, t4] of Object.entries(o2)) "intents" !== e4 && (0, s.isConfigureFromModelRecord)(t4) && (yield this._processOutputBranch(e4, t4, i3, `outputs[${e4}]`)); + const l2 = o2.intents; + if ((0, s.isConfigureFromModelRecord)(l2)) for (const [e4, t4] of Object.entries(l2)) (0, s.isConfigureFromModelRecord)(t4) && (yield this._processOutputBranch(e4, t4, i3, `outputs[intents][${e4}]`)); + }); + } + _claimsNestedOutputKey(e3) { + return "intents" === e3 || super._claimsNestedOutputKey(e3); + } + _findLexBotAliasYamlRef(e3) { + let t3 = (0, s.isConfigureFromModelRecord)(null == e3 ? void 0 : e3.lexBot) ? e3.lexBot : void 0; + for (; (0, s.isConfigureFromModelRecord)(t3); ) { + if ("outputs" in t3 || "intents" in t3 || "failureOutputs" in t3 || "aliasInitialIntentName" in t3) return t3; + const e4 = Object.keys(t3).filter((e5) => !T.isPrototypePollutingPropertyKey(e5)); + if (0 === e4.length) return; + const i3 = T.getSafeObjectOwnProperty(t3, e4[0]); + t3 = (0, s.isConfigureFromModelRecord)(i3) ? i3 : void 0; + } + } } - S.className = "BaseLexAction", t2.default = S; + v.className = "BaseLexAction", t2.default = v; }, 87964: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -102694,34 +111353,34 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 88246: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.combineLatestInit = t2.combineLatest = void 0; - var n2 = i2(48051), r2 = i2(50439), o = i2(47058), a = i2(87699), s = i2(13916), l = i2(26404), u = i2(15810), d = i2(17214), c = i2(28619); + var n2 = i2(48051), r2 = i2(50439), o = i2(47058), a = i2(87699), s = i2(13916), l = i2(26404), u = i2(15810), c = i2(17214), d = i2(28619); function p(e3, t3, i3) { return void 0 === i3 && (i3 = a.identity), function(n3) { _(t3, function() { for (var r3 = e3.length, a2 = new Array(r3), s2 = r3, l2 = r3, u2 = function(r4) { _(t3, function() { - var u3 = o.from(e3[r4], t3), c3 = false; - u3.subscribe(d.createOperatorSubscriber(n3, function(e4) { - a2[r4] = e4, c3 || (c3 = true, l2--), l2 || n3.next(i3(a2.slice())); + var u3 = o.from(e3[r4], t3), d3 = false; + u3.subscribe(c.createOperatorSubscriber(n3, function(e4) { + a2[r4] = e4, d3 || (d3 = true, l2--), l2 || n3.next(i3(a2.slice())); }, function() { --s2 || n3.complete(); })); }, n3); - }, c2 = 0; c2 < r3; c2++) u2(c2); + }, d2 = 0; d2 < r3; d2++) u2(d2); }, n3); }; } function _(e3, t3, i3) { - e3 ? c.executeSchedule(i3, e3, t3) : t3(); + e3 ? d.executeSchedule(i3, e3, t3) : t3(); } t2.combineLatest = function() { for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = l.popScheduler(e3), d2 = l.popResultSelector(e3), c2 = r2.argsArgArrayOrObject(e3), _2 = c2.args, h = c2.keys; + var i3 = l.popScheduler(e3), c2 = l.popResultSelector(e3), d2 = r2.argsArgArrayOrObject(e3), _2 = d2.args, h = d2.keys; if (0 === _2.length) return o.from([], i3); var m = new n2.Observable(p(_2, i3, h ? function(e4) { return u.createObject(h, e4); } : a.identity)); - return d2 ? m.pipe(s.mapOneOrManyArgs(d2)) : m; + return c2 ? m.pipe(s.mapOneOrManyArgs(c2)) : m; }, t2.combineLatestInit = p; }, 88269: (e2, t2, i2) => { "use strict"; @@ -102799,8 +111458,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 88391: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(63352)), s = i2(14394), l = n2.__importStar(i2(24032)), u = n2.__importDefault(i2(51499)), d = n2.__importDefault(i2(27203)), c = n2.__importStar(i2(12847)), p = n2.__importStar(i2(17498)), _ = n2.__importStar(i2(36781)), h = n2.__importStar(i2(33230)), m = n2.__importDefault(i2(41510)), g = n2.__importStar(i2(98442)), f = i2(1115), T = i2(12457), y = n2.__importDefault(i2(5730)), S = i2(47957), A = l.getTopic("BaseBotActionViewModel"); - class N extends y.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(63352)), s = i2(14394), l = n2.__importStar(i2(24032)), u = n2.__importDefault(i2(51499)), c = n2.__importDefault(i2(27203)), d = n2.__importStar(i2(12847)), p = n2.__importStar(i2(17498)), _ = n2.__importStar(i2(36781)), h = n2.__importStar(i2(58380)), m = n2.__importStar(i2(33230)), g = n2.__importDefault(i2(41510)), f = n2.__importStar(i2(98442)), T = i2(1115), y = i2(12457), S = n2.__importDefault(i2(5730)), A = i2(47957), N = l.getTopic("BaseBotActionViewModel"); + class v extends S.default { get hasAutoSelectedBotRunnable() { return false; } @@ -102841,12 +111500,12 @@ ${e3.stack}`, n3 = [this].concat(i3); } addAttribute() { const e3 = this.sessionVariables.add(null, s.globalTypes.string); - return (0, f.validateAction)(this, true, true), e3.id; + return (0, T.validateAction)(this, true, true), e3.id; } addOutputSessionVariablesAttribute() { if (!this.outputSessionVariables) return; const e3 = this.outputSessionVariables.add(null, s.globalTypes.string); - return e3.expression.mode = a.variable, e3.expression.setAsOutput(), (0, f.validateAction)(this, true, true), e3.id; + return e3.expression.mode = a.variable, e3.expression.setAsOutput(), (0, T.validateAction)(this, true, true), e3.id; } getLanguageWarning(e3) { if (!o.default.isArray(e3) || !e3.length) return null; @@ -102854,12 +111513,12 @@ ${e3.stack}`, n3 = [this].concat(i3); if (1 === (e3 = e3.map((e4) => `'${e4}'`)).length) t3 = e3[0]; else { const i3 = e3.pop(); - t3 = e3.join(m.default.itemListing.itemSeparator).concat(S.itemListing.lastItemAndSeparator + i3); + t3 = e3.join(g.default.itemListing.itemSeparator).concat(A.itemListing.lastItemAndSeparator + i3); } - return (0, r2.sprintf)(S.bot.languageWarning, this.botRunnableManager.dependencyType.displayName, t3); + return (0, r2.sprintf)(A.bot.languageWarning, this.botRunnableManager.dependencyType.displayName, t3); } static get branchInfo() { - return [d.default.failure]; + return [c.default.failure]; } get languagesProperty() { return this.model.languages; @@ -102883,7 +111542,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.botIntegrationProperty ? this.botIntegrationProperty.configListManager : null; } get botRunnableNetworkGetCall() { - return c.error("botRunnableNetworkGetCall not implemented!"), null; + return d.error("botRunnableNetworkGetCall not implemented!"), null; } commonBotPostProcessYamlConfig(e3, t3) { o.default.moveAndDeleteProperty(e3, t3, "intents"), o.default.moveAndDeleteProperty(e3, t3, "outputs"), o.default.moveAndDeleteProperty(e3, t3, "failureOutputs"); @@ -102908,16 +111567,16 @@ ${e3.stack}`, n3 = [this].concat(i3); if (this.botIntegrationProperty && !this.botIntegrationProperty.nameValue) return null; if (this.botCategoryProperty && !this.botCategoryProperty.nameValue) return null; const e3 = [], t3 = []; - return this.botIntegrationProperty && (e3.push(this.botIntegrationManager.dependencyType.displayName), t3.push(this.botIntegrationProperty.nameValue)), this.botCategoryProperty && (e3.push(this.botCategoryManager.dependencyType.displayName), t3.push(this.botCategoryProperty.nameValue)), this.hasAutoSelectedBotRunnable || (e3.push(this.botRunnableManager.dependencyType.displayName), t3.push(this.botRunnableProperty.nameValue)), o.default.isFunction(this.getEnvironmentName) && (e3.push(S.dialogflow.environment), t3.push(this.getEnvironmentName())), new T.ActionDetails(e3, t3); + return this.botIntegrationProperty && (e3.push(this.botIntegrationManager.dependencyType.displayName), t3.push(this.botIntegrationProperty.nameValue)), this.botCategoryProperty && (e3.push(this.botCategoryManager.dependencyType.displayName), t3.push(this.botCategoryProperty.nameValue)), this.hasAutoSelectedBotRunnable || (e3.push(this.botRunnableManager.dependencyType.displayName), t3.push(this.botRunnableProperty.nameValue)), o.default.isFunction(this.getEnvironmentName) && (e3.push(A.dialogflow.environment), t3.push(this.getEnvironmentName())), new y.ActionDetails(e3, t3); } getUnsupportedLanguageInfo(e3) { if (this.shouldSkipLanguageValidation) return null; if (e3 || (e3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this)), !e3) return null; - const t3 = o.default.filter(e3.languages, (e4) => g.isValidLanguageCode(e4)); - if (!t3.length) return { message: (0, r2.sprintf)(S.bot.noSupportedLanguages, this.botRunnableManager.dependencyType.displayName) }; + const t3 = o.default.filter(e3.languages, (e4) => f.isValidLanguageCode(e4)); + if (!t3.length) return { message: (0, r2.sprintf)(A.bot.noSupportedLanguages, this.botRunnableManager.dependencyType.displayName) }; const i3 = t3.map((e4) => e4.toLowerCase()); if (o.default.filter(this.parentFlow.languages.supportedLanguages, (e4) => !i3.includes(e4.toLowerCase())).length) { - const t4 = o.default.map(e3.languages, (e4) => g.isValidLanguageCode(e4) ? g.getLanguageNameAndCodeDisplay(e4) : e4); + const t4 = o.default.map(e3.languages, (e4) => f.isValidLanguageCode(e4) ? f.getLanguageNameAndCodeDisplay(e4) : e4); return { message: this.getLanguageWarning(t4), isWarning: true }; } return null; @@ -102933,7 +111592,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (i3.slots) { let n3 = o.default.findWhere(this.outputs.items, { name: i3.name }); const r3 = o.default.find(this.branches, (e4) => !(!i3.builtInPathId || e4.id !== i3.builtInPathId) || !(e4.label !== i3.name && e4.label !== i3.localizedLabel || !e4.isDynamicBranch)); - r3 && r3.id || A.errorWithErrorObjectInfo(`${this.info.name}: No matching branch or branch ID was found for bot '${e3.id}'. Intent id: ${i3.id},`, this, true), n3 ? (n3.referenceId = r3 ? r3.id : null, n3.referenceId || A.errorWithErrorObjectInfo(`${this.info.name}: No matching branch found for data list with ID '${n3.id}', intent id: '${i3.id}'`, this, true)) : (n3 = this.outputs.createItem({ name: i3.name, referenceId: r3 ? r3.id : null }), this.outputs.addItem(n3), this.initializeDesignTimeCalled && n3.initializeDesignTime()); + r3 && r3.id || N.errorWithErrorObjectInfo(`${this.info.name}: No matching branch or branch ID was found for bot '${e3.id}'. Intent id: ${i3.id},`, this, true), n3 ? (n3.referenceId = r3 ? r3.id : null, n3.referenceId || N.errorWithErrorObjectInfo(`${this.info.name}: No matching branch found for data list with ID '${n3.id}', intent id: '${i3.id}'`, this, true)) : (n3 = this.outputs.createItem({ name: i3.name, referenceId: r3 ? r3.id : null }), this.outputs.addItem(n3), this.initializeDesignTimeCalled && n3.initializeDesignTime()); const a2 = this.botRunnableManager.mergeSchemaProperties(i3.slots, n3.value); this._processMergedSchema(a2), t3.push({ name: i3.localizedLabel || i3.name, value: a2, description: i3.description, secondaryHeader: i3.secondaryHeader }); } @@ -102965,22 +111624,22 @@ ${e3.stack}`, n3 = [this].concat(i3); this.languagesProperty = e3; } setBotCategoryByViewModel(e3) { - this.botCategoryProperty && (this.botCategoryProperty.nameValue = e3 ? e3.name : null, this.botCategoryProperty.idValue = e3 ? e3.id : null); + this.botCategoryProperty && this.botCategoryProperty.setValue(e3 ? { id: e3.id, name: e3.name } : void 0); } setBotIntegrationByViewModel(e3) { - this.botIntegrationProperty && (this.botIntegrationProperty.nameValue = null == e3 ? void 0 : e3.name, this.botIntegrationProperty.idValue = null == e3 ? void 0 : e3.id); + this.botIntegrationProperty && this.botIntegrationProperty.setValue(e3 ? { id: e3.id, name: e3.name } : void 0); } setBotRunnableByViewModel(e3) { const t3 = e3 ? e3.id : ""; - this.botIntegrationProperty && this.botIntegrationProperty.idValue && p.unRegisterConsumer(this, this.botIntegrationManager.dependencyContext), this.botCategoryProperty && this.botCategoryProperty.idValue && p.unRegisterConsumer(this, this.botCategoryManager.dependencyContext), this.botRunnableProperty.idValue && p.unRegisterConsumer(this, this.botRunnableManager.dependencyContext), this.botRunnableProperty.idValue = t3, this.botRunnableProperty.nameValue = e3 ? e3.name : "", this.setBotLanguages(e3 ? e3.languages || e3.language : void 0), this._setBotIntegrationProperties(e3), this._setBotCategoryProperties(e3), this.botRunnableProperty.idValue && this.botRunnableManager.addItemToFlowMetadata(this, null, this.botRunnableProperty.idValue), this.updateBotActionFromBotRunnable(e3), (0, f.validateAction)(this, false, true); + this.botIntegrationProperty && this.botIntegrationProperty.idValue && p.unRegisterConsumer(this, this.botIntegrationManager.dependencyContext), this.botCategoryProperty && this.botCategoryProperty.idValue && p.unRegisterConsumer(this, this.botCategoryManager.dependencyContext), this.botRunnableProperty.idValue && p.unRegisterConsumer(this, this.botRunnableManager.dependencyContext), this.botRunnableProperty.idValue = t3, this.botRunnableProperty.nameValue = e3 ? e3.name : "", this.setBotLanguages(e3 ? e3.languages || e3.language : void 0), this._setBotIntegrationProperties(e3), this._setBotCategoryProperties(e3), this.botRunnableProperty.idValue && this.botRunnableManager.addItemToFlowMetadata(this, null, this.botRunnableProperty.idValue), this.updateBotActionFromBotRunnable(e3), (0, T.validateAction)(this, false, true), h.fireEvent(this.botRunnableProperty, _.valueChanged); } _getLocalAutoSelectedBotRunnable() { - if (!this.hasAutoSelectedBotRunnable) return A.error("Tried to getAutoSelectedBotRunnable in an unsupported action"), null; - if (!this.botCategoryProperty) return A.error("Tried to getAutoSelectedBotRunnable in an action without a botCategoryProperty"), null; + if (!this.hasAutoSelectedBotRunnable) return N.error("Tried to getAutoSelectedBotRunnable in an unsupported action"), null; + if (!this.botCategoryProperty) return N.error("Tried to getAutoSelectedBotRunnable in an action without a botCategoryProperty"), null; const e3 = this.botCategoryProperty.idValue; - if (!e3) return A.error("Tried to getAutoSelectedBotRunnable in an action without a botCategory id set"), null; + if (!e3) return N.error("Tried to getAutoSelectedBotRunnable in an action without a botCategory id set"), null; const t3 = this.botCategoryManager.getItem(e3); - return t3 ? t3.activeVersion ? this.botRunnableManager.getItem(t3.activeVersion) : (A.error(`No activeVersion set on bot category for category ID '${e3}'`), null) : (c.error(`Could not get bot category for category ID '${e3}'`), null); + return t3 ? t3.activeVersion ? this.botRunnableManager.getItem(t3.activeVersion) : (N.error(`No activeVersion set on bot category for category ID '${e3}'`), null) : (d.error(`Could not get bot category for category ID '${e3}'`), null); } getAdditionalParams() { return this.hasAutoSelectedBotRunnable ? new u.default(this.botRunnableManager, { additionalParams: { botId: this.botCategoryProperty.idValue } }) : null; @@ -102993,16 +111652,16 @@ ${e3.stack}`, n3 = [this].concat(i3); const e3 = this._getLocalAutoSelectedBotRunnable(); if (e3) return Promise.resolve(e3); const t3 = this.botCategoryManager.getItem(this.botCategoryProperty.idValue); - return this.botRunnableManager.fetchItem(t3.activeVersion, null, this.getAdditionalParams()).then((e4) => e4 && e4.isDialogEngineVersionViewModel ? (e4.fullBotNotLoaded = false, e4) : (A.error(`Received incorrect or no dialogEngineVersionViewModel: '${JSON.stringify(e4)}'`), Promise.reject())); + return this.botRunnableManager.fetchItem(t3.activeVersion, null, this.getAdditionalParams()).then((e4) => e4 && e4.isDialogEngineVersionViewModel ? (e4.fullBotNotLoaded = false, e4) : (N.error(`Received incorrect or no dialogEngineVersionViewModel: '${JSON.stringify(e4)}'`), Promise.reject())); } get supportsIntents() { return true; } switchToNewBotPaths(e3) { - return h.switchToNewIntentPaths(this, e3); + return m.switchToNewIntentPaths(this, e3); } translateIntentsToBranchItems(e3) { - return h.translateIntentsToBranchItems(this, e3); + return m.translateIntentsToBranchItems(this, e3); } updateBotActionFromBotRunnable(e3) { const t3 = this.translateIntentsToBranchItems(e3 ? e3.intents : []); @@ -103024,14 +111683,14 @@ ${e3.stack}`, n3 = [this].concat(i3); } validate(e3) { let t3; - if (super.validate(e3), this.requiresSpeechRec && (this.parentFlow.isCommonModuleFlow ? this.parentFlow.isEmbeddedFlow && !this.topParentFlow.speechRecEnabled() && this.topParentFlow.supportsSpeechRec && this.topParentFlow.validationResults.addError(this.topParentFlow.speechRecognition, (0, r2.sprintf)(S.lex.speechRecMustBeEnabledBecauseCommonModuleNeedsIt, this.parentFlow.displayName)) : this.parentFlow && !this.parentFlow.speechRecEnabled() && this.parentFlow.definition.supportsSpeechRec && e3.addError(this, S.lex.speechRecMustBeEnabled)), t3 = e3.isDeep && this.hasAutoSelectedBotRunnable && this.botCategoryProperty.idValue ? this._getLocalAutoSelectedBotRunnable() : this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this), t3 && !this.isReadOnly) { + if (super.validate(e3), this.requiresSpeechRec && (this.parentFlow.isCommonModuleFlow ? this.parentFlow.isEmbeddedFlow && !this.topParentFlow.speechRecEnabled() && this.topParentFlow.supportsSpeechRec && this.topParentFlow.validationResults.addError(this.topParentFlow.speechRecognition, (0, r2.sprintf)(A.lex.speechRecMustBeEnabledBecauseCommonModuleNeedsIt, this.parentFlow.displayName)) : this.parentFlow && !this.parentFlow.speechRecEnabled() && this.parentFlow.definition.supportsSpeechRec && e3.addError(this, A.lex.speechRecMustBeEnabled)), t3 = e3.isDeep && this.hasAutoSelectedBotRunnable && this.botCategoryProperty.idValue ? this._getLocalAutoSelectedBotRunnable() : this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this), t3 && !this.isReadOnly) { if (e3.isDeep) { const e4 = this.translateIntentsToBranchItems(t3 ? t3.intents : []); this.switchToNewBotPaths(e4); } if (this.mergeSlotSchemas(t3), this.outputs) { for (const t4 of this.outputs.items) if (!t4.referenceId) { - e3.addError(this, (0, r2.sprintf)(S.bot.internalErrReferenceId, this.botRunnableManager.dependencyType.displayName)); + e3.addError(this, (0, r2.sprintf)(A.bot.internalErrReferenceId, this.botRunnableManager.dependencyType.displayName)); break; } } @@ -103046,13 +111705,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return false; } } - N.className = "BaseBotActionViewModel", t2.default = N; + v.className = "BaseBotActionViewModel", t2.default = v; }, 88417: (e2, t2, i2) => { "use strict"; var n2, r2, o, a; Object.defineProperty(t2, "__esModule", { value: true }); - const s = i2(31635), l = s.__importDefault(i2(55015)), u = i2(80295), d = s.__importDefault(i2(14e3)); - class c extends l.default { + const s = i2(31635), l = s.__importDefault(i2(55015)), u = i2(80295), c = s.__importDefault(i2(14e3)); + class d extends l.default { constructor(e3) { super(e3), (0, u.makeUnenumerable)(this, "_components"), (0, u.makeUnenumerable)(this, "_supportsLanguages"), (0, u.makeUnenumerable)(this, "_userCreatable"), (0, u.makeUnenumerable)(this, "_maxSize"); } @@ -103066,7 +111725,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._supportsLanguages; } set supportsLanguages(e3) { - this._supportsLanguages = this.reviveItem(e3, d.default); + this._supportsLanguages = this.reviveItem(e3, c.default); } get userCreatable() { return this._userCreatable; @@ -103081,7 +111740,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this._maxSize = e3; } } - t2.default = c, s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", Object), s.__metadata("design:paramtypes", [Object])], c.prototype, "components", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (n2 = void 0 !== d.default && d.default) ? n2 : Object), s.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== d.default && d.default) ? r2 : Object])], c.prototype, "supportsLanguages", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (o = void 0 !== l.default && l.default) ? o : Object), s.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== l.default && l.default) ? a : Object])], c.prototype, "userCreatable", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", Number), s.__metadata("design:paramtypes", [Object])], c.prototype, "maxSize", null); + t2.default = d, s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", Object), s.__metadata("design:paramtypes", [Object])], d.prototype, "components", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.default && c.default) ? n2 : Object), s.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== c.default && c.default) ? r2 : Object])], d.prototype, "supportsLanguages", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (o = void 0 !== l.default && l.default) ? o : Object), s.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== l.default && l.default) ? a : Object])], d.prototype, "userCreatable", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", Number), s.__metadata("design:paramtypes", [Object])], d.prototype, "maxSize", null); }, 88439: (e2) => { e2.exports = { askCommon: { invalidInputReceived: "Esa acci\xF3n no es v\xE1lida.", noInputReceived: "No recib\xED ninguna entrada." }, askForBoolean: { noInput: 'Responda "s\xED" si desea continuar o, caso contrario, "no".', noMatch: 'Responda "S\xED" o "No". \xBFDesea continuar?', question: "\xBFDesea continuar?", noInputDigitalBot: 'Seleccione "S\xED" si desea continuar o, de lo contrario, "No".', noMatchDigitalBot: '\xBFDesea continuar? Seleccione "S\xED" o "No".' }, askForIntent: { noInput: 'Describa su consulta con una oraci\xF3n corta, por ejemplo, "Revisar mi saldo"', noMatch: "D\xEDgame una vez m\xE1s lo que quiere hacer.", question: "\xBFQu\xE9 le gustar\xEDa hacer?", noInputDigitalBot: 'Escriba una oraci\xF3n corta que describa su consulta. Por ejemplo, "Revisar mi saldo de cuenta"' }, askForSlot: { askFor: "Solicitar %1$s", noInput: "Pronuncie o escriba (coloque el nombre de la ranura aqu\xED).", noInputWithSlot: "Pronuncie o escriba %1$s.", noMatch: "Vuelva a proporcionar (coloque el nombre de la ranura aqu\xED).", noMatchWithSlot: "Vuelva a proporcionar %1$s.", question: "\xBFQu\xE9 es (coloque el nombre de la ranura aqu\xED)?", questionWithSlot: "\xBFQu\xE9 es %1$s?", pleaseEnterSlotNameHere: "(ponga el nombre de su ranura aqu\xED)", noInputDigitalBot: "Escriba (coloque aqu\xED el nombre de la ranura).", noInputWithSlotDigitalBot: "Escriba %1$s.", continuationPromptWithSlot: "De momento tengo {{Slot.%1$s}}, contin\xFAe." }, askForNextSlot: { noInput: 'Responda "s\xED", en caso de que tenga otra consulta, o "no" para finalizar la llamada.', noMatch: 'Responda "S\xED", en caso de que tenga otra consulta, o "No", para finalizar la sesi\xF3n.', question: "\xBFPuedo serle \xFAtil en algo m\xE1s?", noInputDigitalBot: 'Seleccione "S\xED" si tiene otra consulta o "No" para finalizar la sesi\xF3n.', noMatchDigitalBot: 'Seleccione "S\xED" si tiene otra consulta o "No" para finalizar la sesi\xF3n.' }, askForPayment: { noInputDigitalBot: "Proporcione su informaci\xF3n de pago para continuar.", noMatchDigitalBot: "No he entendido su respuesta. Vuelva a intentarlo." }, askForAuthentication: { noInputDigitalBot: "Proporcione su informaci\xF3n de autenticaci\xF3n para continuar.", noMatchDigitalBot: "No he entendido su respuesta. Vuelva a intentarlo." }, askSurveyQuestion: { notApplicable: "No aplicable", surveyAnswerOptionSequence: "Pulse %1$s para %2$s.", surveyAnswerNotApplicableSequence: "Pulse la estrella para No aplicable.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Pulse la estrella para No aplicable.", voiceSurveyNoInputText: "Responda la pregunta.", voiceSurveyNoMatchText: "No le entend\xED." }, commonModule: { exitCommonModule: "Salir del m\xF3dulo com\xFAn" }, form: { noInputDigitalBot: "Complete el formulario para continuar.", noMatchDigitalBot: "Complete el formulario para continuar." }, messagingTemplate: { noInputDigitalBot: "Seleccione una de las opciones disponibles.", noMatchDigitalBot: "Seleccione una de las opciones disponibles." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Continuar", knowledgeAnswerHighlightFullArticleDefault: "Ver art\xEDculo completo", knowledgeInitialResponseMulti: "Para ayudarme a entender su meta, elija un n\xFAmero de la siguiente lista:", knowledgeInitialResponseMultiRetry: "Elija un n\xFAmero, por ejemplo '1'.\nEsta es la lista de opciones:", knowledgeNoMatch: "Ninguna de estas", knowledgeConfirmation: "\xBFEsto responde a su pregunta?", knowledgeFollowup: "Espero haber respondido su pregunta. Puede preguntar sobre cualquier otro tema que desee." }, noOverlay: { intent: { intentConfirmationStr1: "Creo que quiero", intentConfirmationStr2: "\xBFEs correcto?" }, youSaid: { youSaidConfirmationStr1: "Usted dijo", youSaidConfirmationStr2: "\xBFEs correcto?", youSaidConfirmationStr1DigitalBot: "Escribi\xF3" }, noInput: { noInputStr1: "Pronuncie o escriba", noInputStr1DigitalBot: "Escriba el" }, noMatch: { noMatchStr1: "Proporcione" }, whatIs: { whatIsQuestionStr1: "\xBFQu\xE9 es", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "De momento tengo", iGotContinuationStr2: ", contin\xFAe." } }, defaultCallFlowOne: "Flujo de llamadas predeterminado", errorHandlingAgentEscalationConfirmation: "\xBFDesea hablar con un asesor?", errorHandlingAgentEscalationHandover: "Espere un momento. Lo pondr\xE9 en contacto con alguien.", errorHandlingErrorEventHandover: "Se produjo un error. Espere un momento mientras lo pongo en contacto con alguien que lo pueda ayudar.", errorHandlingErrorEventHandoverVoiceSurvey: "Lo siento, se produjo un error. Hasta luego.", errorHandlingRecognitionEventHandover: "No logro comprender lo que dice. Espere un momento mientras lo pongo en contacto con alguien que lo pueda ayudar.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Lo siento, no entiendo lo que dice. Hasta luego.", errorHandlingTTS: "Se produjo un error. Intente llamar de nuevo.", initialGreetingTTS: "Hola, este es el saludo inicial.", initialState: "Estado inicial", initialBotState: "Bot predeterminado", initialDigitalBotState: "Saludo inicial", initialSurveyBotState: "Bot de encuesta", intentConfirmation: "Creo que quiere %1$s, \xBFes correcto?", mainMenu: "Men\xFA principal", mainMenuTTS: "Se encuentra en el men\xFA principal; presione 9 para desconectar", mainTask: "Tarea", settingsConfirmationNoInputApology: "No logro escucharlo. Responda s\xED o no.", settingsConfirmationNoInputApologyDigitalBot: 'No se registr\xF3 ninguna entrada. Seleccione "S\xED" o "No".', settingsConfirmationNoMatchApology: "Responda s\xED o no.", settingsConfirmationNoMatchApologyDigitalBot: 'Seleccione "S\xED" o "No".', settingsNoInputApology: "No logro escucharlo.", settingsNoInputApologyDigitalBot: "No se registr\xF3 ninguna entrada.", settingsEndOfSessionMessageDigitalBot: "No he tenido noticias suyas por un tiempo. Por lo tanto, voy a cerrar este chat. No dude en regresar si vuelve a necesitar mi ayuda. Gracias.", settingsNoMatchApology: "Lo siento.", settingsNoToConfirmationApology: "Fue mi error.", periodicStateName: "Estado recurrente" }; }, 88473: (e2, t2, i2) => { @@ -103089,7 +111748,7 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }), t2.OutOfServiceProvider = void 0, t2.addOutOfServiceProperties = function(e3, t3) { return new y(e3, t3); }; - const n2 = i2(31635), r2 = i2(79364), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(10798)), l = n2.__importStar(i2(81858)), u = i2(69212), d = i2(50474), c = i2(50474), p = i2(50474), _ = i2(36781), h = n2.__importStar(i2(27099)), m = n2.__importDefault(i2(98114)), g = i2(58380), f = i2(55909), T = i2(33951); + const n2 = i2(31635), r2 = i2(79364), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(10798)), l = n2.__importStar(i2(81858)), u = i2(69212), c = i2(50474), d = i2(50474), p = i2(50474), _ = i2(36781), h = n2.__importStar(i2(27099)), m = n2.__importDefault(i2(98114)), g = i2(58380), f = i2(55909), T = i2(33951); class y { constructor(e3, t3) { this._target = e3, this.storeOnModel = t3, this._allSupportedFlowTypesMustBeAvailableInFlow = false, this._outOfServiceChangedSubject = new r2.Subject(), this.outOfServiceChanged$ = this._outOfServiceChangedSubject.asObservable(), e3.parentFlow, Object.defineProperties(this._target, { featureFlags: { get: () => this.featureFlags, set: (e4) => { @@ -103117,7 +111776,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } _checkParentsForOOS() { var e3, t3; - return !(!(0, c.isNormalExpression)(this._target) || !(null === (e3 = this._target.propertyParent) || void 0 === e3 ? void 0 : e3.outOfService) && !(null === (t3 = this._target.parentList) || void 0 === t3 ? void 0 : t3.outOfService)); + return !(!(0, d.isNormalExpression)(this._target) || !(null === (e3 = this._target.propertyParent) || void 0 === e3 ? void 0 : e3.outOfService) && !(null === (t3 = this._target.parentList) || void 0 === t3 ? void 0 : t3.outOfService)); } _checkTargetOptions() { if ((0, p.isBaseExpression)(this._target) && this._target.options.featureConfigName && s.isFeatureUnavailable(this._target.options.featureConfigName)) return true; @@ -103129,7 +111788,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (this.antiFeatureConfigName && s.isFeatureAvailable(this.antiFeatureConfigName)) return true; } _checkExpressionType() { - if ((0, c.isNormalExpression)(this._target) && this._target.parentFlow && this._target.options.assumeOosIfTypeUnavailable && !this._target.type.isAvailableForExpressionsFlowTypes(this._target)) return true; + if ((0, d.isNormalExpression)(this._target) && this._target.parentFlow && this._target.options.assumeOosIfTypeUnavailable && !this._target.type.isAvailableForExpressionsFlowTypes(this._target)) return true; } _checkSupportedFlowTypes() { var e3; @@ -103187,7 +111846,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._supportedFlowTypes; } set supportedFlowTypes(e3) { - T.ParameterValidator.expectArray(e3, () => f.ParameterInfo.createPropertySet(this.className, "supportedFlowTypes", "value")), o.default.isArray(e3) && (!e3.length || o.default.find(e3, (e4) => m.default.getIsValidFlowType(e4)) ? (this._supportedFlowTypes = e3, this._destinationFlowTypesSubscription || (0, d.isCommonModuleFlow)(this._target.parentFlow) && (this._destinationFlowTypesSubscription = (0, g.createObservableForEvent$)(_.destinationFlowTypesChanged, this._target.parentFlow.commonModuleSettings).subscribe(() => { + T.ParameterValidator.expectArray(e3, () => f.ParameterInfo.createPropertySet(this.className, "supportedFlowTypes", "value")), o.default.isArray(e3) && (!e3.length || o.default.find(e3, (e4) => m.default.getIsValidFlowType(e4)) ? (this._supportedFlowTypes = e3, this._destinationFlowTypesSubscription || (0, c.isCommonModuleFlow)(this._target.parentFlow) && (this._destinationFlowTypesSubscription = (0, g.createObservableForEvent$)(_.destinationFlowTypesChanged, this._target.parentFlow.commonModuleSettings).subscribe(() => { this._resetProductFeatureRulesCache(); })), this._resetProductFeatureRulesCache()) : a.error("not a valid flow type")); } @@ -103208,7 +111867,7 @@ ${e3.stack}`, n3 = [this].concat(i3); var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }); const o = i2(31635), a = i2(80295), s = i2(80295), l = i2(19596), u = o.__importDefault(i2(7401)); - class d extends l.DataContract { + class c extends l.DataContract { constructor(e3) { super(e3), (0, s.makeUnenumerable)(this, "_defaultAbortMessage"); } @@ -103225,7 +111884,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this._defaultAbortMessage = this.reviveItem(e3, u.default); } } - t2.default = d, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.default && u.default) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== u.default && u.default) ? r2 : Object])], d.prototype, "defaultAbortMessage", null); + t2.default = c, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.default && u.default) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== u.default && u.default) ? r2 : Object])], c.prototype, "defaultAbortMessage", null); }, 88589: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.count = void 0; @@ -103255,7 +111914,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return a2; }; Object.defineProperty(t2, "__esModule", { value: true }), t2.fromEvent = void 0; - var r2 = i2(19724), o = i2(48051), a = i2(67478), s = i2(94975), l = i2(10281), u = i2(13916), d = ["addListener", "removeListener"], c = ["addEventListener", "removeEventListener"], p = ["on", "off"]; + var r2 = i2(19724), o = i2(48051), a = i2(67478), s = i2(94975), l = i2(10281), u = i2(13916), c = ["addListener", "removeListener"], d = ["addEventListener", "removeEventListener"], p = ["on", "off"]; function _(e3, t3) { return function(i3) { return function(n3) { @@ -103267,13 +111926,13 @@ ${e3.stack}`, n3 = [this].concat(i3); if (l.isFunction(h) && (m = h, h = void 0), m) return e3(t3, i3, h).pipe(u.mapOneOrManyArgs(m)); var g = n2((function(e4) { return l.isFunction(e4.addEventListener) && l.isFunction(e4.removeEventListener); - })(t3) ? c.map(function(e4) { + })(t3) ? d.map(function(e4) { return function(n3) { return t3[e4](i3, n3, h); }; }) : (function(e4) { return l.isFunction(e4.addListener) && l.isFunction(e4.removeListener); - })(t3) ? d.map(_(t3, i3)) : (function(e4) { + })(t3) ? c.map(_(t3, i3)) : (function(e4) { return l.isFunction(e4.on) && l.isFunction(e4.off); })(t3) ? p.map(_(t3, i3)) : [], 2), f = g[0], T = g[1]; if (!f && s.isArrayLike(t3)) return a.mergeMap(function(t4) { @@ -103338,8 +111997,8 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }), t2.isIsoLanguageViewModel = function(e3) { return true === (null == e3 ? void 0 : e3.isIsoLanguageViewModel); }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(6953)), s = i2(10798), l = n2.__importDefault(i2(98114)), u = n2.__importDefault(i2(41510)), d = i2(55299), c = n2.__importDefault(i2(4648)); - class p extends d.BaseClass { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(6953)), s = i2(10798), l = n2.__importDefault(i2(98114)), u = n2.__importDefault(i2(41510)), c = i2(55299), d = n2.__importDefault(i2(4648)); + class p extends c.BaseClass { constructor(e3) { super(), this.contexts = { case: [], gender: [], quantity: [] }, this.debug = {}, this.features = {}, this.functions = {}, this.id = e3.id, this._lowerId = e3.id.toLowerCase(), this.hasFlowCreationTTS = e3.hasFlowCreationTTS, this.hasFlowDebugTTS = e3.hasFlowDebugTTS, this.isAutomateFlowCreateSuggestion = e3.isAutomateFlowCreateSuggestion, this.needsServerInfo = e3.needsServerInfo, this.text = e3.text; } @@ -103360,6 +112019,10 @@ ${e3.stack}`, n3 = [this].concat(i3); var e3, t3; return null === (t3 = null === (e3 = this.features) || void 0 === e3 ? void 0 : e3.knowledgeBase) || void 0 === t3 ? void 0 : t3.language; } + get supportsCopilot() { + var e3, t3; + return !!(null === (t3 = null === (e3 = this.features) || void 0 === e3 ? void 0 : e3.copilot) || void 0 === t3 ? void 0 : t3.enabled); + } getSupportsRdpSpeechRecAndTtsForFlow(e3) { const t3 = e3.getAllDestinationFlowTypesSupportAudioDataPlaybackForLang(this), i3 = e3.getAllDestinationFlowTypesSupportSpeechRecForLang(this), n3 = this.getSupportsTTSPlaybackForFlow(e3); return t3 && i3 && n3; @@ -103391,7 +112054,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (!t4.languagesSupportTtsAndAsrRuntime) return false; } } - if ((0, s.isFeatureAvailable)(c.default.flexibleTtsSelection) && t3) { + if ((0, s.isFeatureAvailable)(d.default.flexibleTtsSelection) && t3) { const i3 = t3.topParentFlow; return !l.default.getDefinitionForFlowType(i3.type).languagesSupportTtsAndAsrSettings && i3.isCommonModuleFlow ? i3.destinationFlowTypes.every((e4) => l.default.getDefinitionForFlowType(e4).languagesSupportTtsAndAsrSettings) : a.default.getSelectableEnginesForLanguageAndFlowTypeOrTypes(this._lowerId, e3).length > 0; } @@ -103455,8 +112118,8 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(62121)), a = n2.__importDefault(i2(16945)); class s extends a.default { - constructor(e3, t3, i3, n3, o2, a2, s2, l, u, d, c, p, _, h, m, g) { - super(e3, t3, i3, n3, s2, l, u, d, c, p, _, h, m), Object.defineProperties(this, { _generators: { value: r2.default.isObject(o2) ? o2 : {} }, _partConfigurators: { value: r2.default.isObject(a2) ? a2 : {} } }), this.displayStringOverride = g; + constructor(e3, t3, i3, n3, o2, a2, s2, l, u, c, d, p, _, h, m, g) { + super(e3, t3, i3, n3, s2, l, u, c, d, p, _, h, m), Object.defineProperties(this, { _generators: { value: r2.default.isObject(o2) ? o2 : {} }, _partConfigurators: { value: r2.default.isObject(a2) ? a2 : {} } }), this.displayStringOverride = g; } get generators() { return this._generators; @@ -103520,11 +112183,11 @@ ${e3.stack}`, n3 = [this].concat(i3); a = null, i3.next(e4); } l && i3.complete(); - }, d = function() { + }, c = function() { s = null, l && i3.complete(); }; t3.subscribe(o.createOperatorSubscriber(i3, function(t4) { - n3 = true, a = t4, s || r2.innerFrom(e3(t4)).subscribe(s = o.createOperatorSubscriber(i3, u, d)); + n3 = true, a = t4, s || r2.innerFrom(e3(t4)).subscribe(s = o.createOperatorSubscriber(i3, u, c)); }, function() { l = true, (!n3 || !s || s.closed) && i3.complete(); })); @@ -103533,10 +112196,10 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 88878: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(92794), o = i2(92794), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(7401)), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(58380)), d = n2.__importDefault(i2(73198)), c = n2.__importStar(i2(81116)), p = n2.__importDefault(i2(22226)), _ = n2.__importStar(i2(63352)), h = i2(14394), m = i2(26403), g = i2(69149), f = n2.__importDefault(i2(16864)), T = i2(24032).getTopic("MarkdownPartWithExpressionsViewModel"), y = i2(47957), S = "{{", A = "markdownText"; - class N extends f.default { + const n2 = i2(31635), r2 = i2(92794), o = i2(92794), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(7401)), l = n2.__importStar(i2(36781)), u = n2.__importStar(i2(58380)), c = n2.__importDefault(i2(73198)), d = n2.__importStar(i2(81116)), p = n2.__importDefault(i2(22226)), _ = n2.__importStar(i2(63352)), h = i2(14394), m = i2(26403), g = i2(69149), f = n2.__importDefault(i2(16864)), T = i2(24032).getTopic("MarkdownPartWithExpressionsViewModel"), y = i2(47957), S = "markdownText"; + class A extends f.default { get curlyExpression() { - return this._curlyExpression || (this._curlyExpression = c.doNotTrackExpression(this.parentFlow, this.owningExpression.parent, new s.default(), "", h.globalTypes.any, ""), this._curlyExpression.setModeWithTransition(_.expression), this._curlyExpression.initializeDesignTime(), this.clearCurlyExpressionResult()), this._curlyExpression; + return this._curlyExpression || (this._curlyExpression = d.doNotTrackExpression(this.parentFlow, this.owningExpression.parent, new s.default(), "", h.globalTypes.any, ""), this._curlyExpression.setModeWithTransition(_.expression), this._curlyExpression.initializeDesignTime(), this.clearCurlyExpressionResult()), this._curlyExpression; } constructor({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, overrideBuilderPartDef: n3, reId: r3 }) { super({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, overrideBuilderPartDef: n3, reId: r3 }), this._hasNoClosingCurlyBraces = false, this._hasNestedCurlyBraces = false, this._processMarkdownTextCalled = false; @@ -103603,13 +112266,13 @@ ${e3.stack}`, n3 = [this].concat(i3); } getSavedMarkdownText() { var e3; - return null === (e3 = this.markdownExpression) || void 0 === e3 ? void 0 : e3.getUiMetaData(A); + return null === (e3 = this.markdownExpression) || void 0 === e3 ? void 0 : e3.getUiMetaData(S); } _validateBuilderObject(e3, t3) { return !!super._validateBuilderObject(e3, t3) && (this._updateBracesWarnings(this._hasNoClosingCurlyBraces, this._hasNestedCurlyBraces), this._hasNoClosingCurlyBraces && e3.addWarning(this, y.markdownEditor.missingClosingCurlyBraces), this._hasNestedCurlyBraces && e3.addWarning(this, y.markdownEditor.nestedCurlyBraces), true); } checkCurlyBraceWarnings(e3) { - const t3 = ((e3 = e3 || "").match(/\{\{[^}]*}}/g) || []).some((e4) => /\{\{/.test(e4.slice(2, -2))), i3 = e3.replace(/\{\{[^}]*}}/g, "").includes(S); + const t3 = ((e3 = e3 || "").match(/\{\{[^}]*}}/g) || []).some((e4) => /\{\{/.test(e4.slice(c.default.leftCurliesLen, -c.default.rightCurliesLen))), i3 = e3.replace(/\{\{[^}]*}}/g, "").includes(c.default.leftCurlies); this._hasNestedCurlyBraces = t3, this._hasNoClosingCurlyBraces = !t3 && i3; } _processMarkdownText() { @@ -103617,8 +112280,8 @@ ${e3.stack}`, n3 = [this].concat(i3); this._processMarkdownTextCalled = true; const t3 = this.markdownExpression; if (!t3) return; - this._markdownTextToSet = this._markdownTextToSet || "", t3.setUiMetaData(A, this._markdownTextToSet), this.clearCurlyExpressionResult(), this.checkCurlyBraceWarnings(this._markdownTextToSet); - const i3 = this._markdownTextToSet.split(S); + this._markdownTextToSet = this._markdownTextToSet || "", t3.setUiMetaData(S, this._markdownTextToSet), this.clearCurlyExpressionResult(), this.checkCurlyBraceWarnings(this._markdownTextToSet); + const i3 = this._markdownTextToSet.split(c.default.leftCurlies); if (this._markdownTextToSet = void 0, 0 === i3.length) return void t3.setAsExpression('""'); const n3 = []; let r3 = 0; @@ -103626,26 +112289,26 @@ ${e3.stack}`, n3 = [this].concat(i3); else for (let t4 = 0; t4 < i3.length; t4++) { const o3 = i3[t4], a2 = t4 > 0; if (0 === o3.length) { - if (a2 && (r3 += this.generateExpressionTextForMarkdownPart(S, false, n3, r3), null === (e3 = this.curlyExpression._parseResult) || void 0 === e3 ? void 0 : e3.resultType)) break; + if (a2 && (r3 += this.generateExpressionTextForMarkdownPart(c.default.leftCurlies, false, n3, r3), null === (e3 = this.curlyExpression._parseResult) || void 0 === e3 ? void 0 : e3.resultType)) break; } else if (a2) { - const e4 = o3.split("}}"); + const e4 = o3.split(c.default.rightCurlies); if (1 === e4.length) { - if (r3 += this.generateExpressionTextForMarkdownPart(`${S}${e4[0]}`, false, n3, r3), this.curlyExpressionHasError) break; - r3 += 2; + if (r3 += this.generateExpressionTextForMarkdownPart(`${c.default.leftCurlies}${e4[0]}`, false, n3, r3), this.curlyExpressionHasError) break; + r3 += c.default.rightCurliesLen; } else { - if (r3 += this.generateExpressionTextForMarkdownPart(e4[0], true, n3, r3 + 2), this.curlyExpressionHasError) break; - r3 += 2; - for (let t5 = 1; t5 < e4.length && (r3 += this.generateExpressionTextForMarkdownPart(e4[t5], false, n3, r3 + 2), !this.curlyExpressionHasError); t5++) r3 += 2; + if (r3 += this.generateExpressionTextForMarkdownPart(e4[0], true, n3, r3 + c.default.leftCurliesLen), this.curlyExpressionHasError) break; + r3 += c.default.rightCurliesLen; + for (let t5 = 1; t5 < e4.length && (r3 += this.generateExpressionTextForMarkdownPart(e4[t5], false, n3, r3 + c.default.leftCurliesLen), !this.curlyExpressionHasError); t5++) r3 += c.default.rightCurliesLen; } } else { - if (r3 += this.generateExpressionTextForMarkdownPart(o3, false, n3, r3 + 2), this.curlyExpressionHasError) break; - r3 += 2; + if (r3 += this.generateExpressionTextForMarkdownPart(o3, false, n3, r3 + c.default.leftCurliesLen), this.curlyExpressionHasError) break; + r3 += c.default.rightCurliesLen; } } const o2 = () => { this._updateBracesWarnings(this._hasNoClosingCurlyBraces, this._hasNestedCurlyBraces); }; - 0 === n3.length ? t3.setAsExpression(d.default.notSet, void 0, o2) : 1 === n3.length ? t3.setAsExpression(n3[0], void 0, o2) : this.isStringPart ? t3.setAsExpression(`Append(${n3.join(", ")})`, void 0, o2) : this.isCommunicationPart && t3.setAsExpression(`MakeCommunication(${n3.join(", ")})`, void 0, o2); + 0 === n3.length ? t3.setAsExpression(c.default.notSet, void 0, o2) : 1 === n3.length ? t3.setAsExpression(n3[0], void 0, o2) : this.isStringPart ? t3.setAsExpression(`Append(${n3.join(", ")})`, void 0, o2) : this.isCommunicationPart && t3.setAsExpression(`MakeCommunication(${n3.join(", ")})`, void 0, o2); } _initializeDesignTime() { super._initializeDesignTime(); @@ -103676,7 +112339,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } } - t2.default = N; + t2.default = A; }, 88911: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -103712,12 +112375,8 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = r2.__importDefault(i2(92140)), a = r2.__importDefault(i2(61864)), s = r2.__importStar(i2(1115)), l = i2(55299), u = i2(50474), d = i2(50474), c = i2(80295), p = i2(47957), _ = "reader", h = "writer"; - function m(e3, t3, i3) { - const n3 = { expression: t3, referenceElement: t3, isReader: i3 === _, isWriter: i3 === h, icon: i3 === _ ? a.default.book : a.default.modifyIntents, titleText: i3 === _ ? p.dataView.usageReaderTitle : p.dataView.usageWriterTitle }; - return !e3.usages[t3.id] && (e3.usages[t3.id] = n3, true); - } - class g extends l.BaseClass { + const r2 = i2(31635), o = r2.__importDefault(i2(92140)), a = i2(19206), s = r2.__importDefault(i2(61864)), l = r2.__importStar(i2(1115)), u = i2(55299), c = i2(80295), d = i2(50474), p = i2(50474), _ = i2(47957), h = "reader", m = "writer"; + class g extends u.BaseClass { _canDelete() { } get name() { @@ -103731,7 +112390,25 @@ ${e3.stack}`, n3 = [this].concat(i3); get initializeDesignTimeCalled() { } constructor() { - super(), this.usages = {}, n2.set(this, void 0), (0, c.makeUnenumerable)(this, "transferring"); + super(), this._usages = {}, n2.set(this, void 0), (0, c.makeUnenumerable)(this, "transferring"); + } + get lastActor() { + return this._lastActor; + } + get lastActorWasUser() { + return !this._lastActor; + } + get lastActorWasChangeSet() { + var e3; + return !!(null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet); + } + get lastActorWasAiChangeSet() { + var e3, t3; + return (null === (t3 = null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet) || void 0 === t3 ? void 0 : t3.type) === a.changeSetEntityType.copilot; + } + configureFromModel(e3, t3, i3) { + const n3 = i3.changeSetResults; + n3.sourceEntityType && (this._lastActor = { changeSet: { type: n3.sourceEntityType, id: n3.sourceEntityId } }); } get className() { return "UsageItem"; @@ -103739,47 +112416,52 @@ ${e3.stack}`, n3 = [this].concat(i3); get isUsageItem() { return true; } - get hasVisibleUsages() { - return this.visibleUsages && !o.default.isEmpty(this.visibleUsages); + hasVisibleUsages(e3) { + return !o.default.isEmpty(this.visibleUsages(e3)); } - get outOfServiceUsages() { - return o.default.filter(this.usages, (e3) => e3.referenceElement.outOfService); + outOfServiceUsages(e3) { + return o.default.filter(this.getUsagesForFlow(e3), (e4) => e4.referenceElement.outOfService); } - get visibleUsages() { - return this._visibleUsages; + visibleUsages(e3) { + return this._visibleUsages(e3); } - canDelete() { - return !(this._canDelete && !this._canDelete() || this._hasWriters()); + canDelete(e3) { + return !(this._canDelete && !this._canDelete() || this._hasWriters(e3)); } addReader(e3) { - e3 && (m(this, e3, _), this.initializeDesignTimeCalled && s.validateItem(this, true)); + e3 && (this._addUsage(e3, h), this.initializeDesignTimeCalled && l.validateItem(this, true)); } addWriter(e3) { - e3 && m(this, e3, h) && (o.default.isBoolean(this.isSecure) && this._updateExpressionSecurity(e3), this.initializeDesignTimeCalled && s.validateItem(this, true)); + e3 && this._addUsage(e3, m) && (o.default.isBoolean(this.isSecure) && this._updateExpressionSecurity(e3), this.initializeDesignTimeCalled && l.validateItem(this, true)); } - deleteItem(e3) { - this.canDelete() && (e3 && this.parentFlow.supportsAutoDeletingVariablesWithNoUsages ? this.destroy() : e3 || this.destroy()); + deleteItem(e3, t3) { + this.canDelete(e3) && (t3 && this.parentFlow.supportsAutoDeletingVariablesWithNoUsages ? this.destroy() : t3 || this.destroy()); } deleteReference(e3) { - this.removeUsage(e3) && (this.isSecure && this._updateExpressionSecurity(e3), (0, u.isBaseExpression)(e3) && e3.variables && this.id && e3.variables[this.id] && delete e3.variables[this.id]); + var t3; + const i3 = !!(null === (t3 = e3.parentFlow) || void 0 === t3 ? void 0 : t3.isDestroyedOrDestroying); + this.removeUsage(e3, i3) && (this.isSecure && this._updateExpressionSecurity(e3), (0, d.isBaseExpression)(e3) && e3.variables && this.id && e3.variables[this.id] && delete e3.variables[this.id]); } removeUsage(e3, t3) { - return !!this.usages[e3.id] && (delete this.usages[e3.id], t3 || s.validateItem(this), true); + var i3; + const n3 = e3.parentFlow.instanceId; + return !!(null === (i3 = this._usages[n3]) || void 0 === i3 ? void 0 : i3[e3.id]) && (delete this._usages[n3][e3.id], o.default.isEmpty(this._usages[n3]) && delete this._usages[n3], t3 || l.validateItem(this), true); } removeUsageForFlow(e3) { - o.default.each(this.usages, (t3) => { - t3.referenceElement.parentFlow.id === e3.id && this.removeUsage(t3.referenceElement); + const t3 = o.default.clone(this._usages[e3.instanceId]); + t3 && o.default.each(t3, (t4) => { + this.removeUsage(t4.referenceElement, e3.isDestroyedOrDestroying); }); } transferUsages(e3, t3) { this.transferring = true; try { if (!e3 || !t3 || o.default.isEmpty(t3)) return; - const i3 = this.name, n3 = (0, d.isString)(e3) ? e3 : e3.name; + const i3 = this.name, n3 = (0, p.isString)(e3) ? e3 : e3.name; o.default.each(t3, (t4) => { - t4.isReader && (0, u.isBaseExpression)(t4.referenceElement) && t4.referenceElement.replaceUsages(i3, n3, e3); + t4.isReader && (0, d.isBaseExpression)(t4.referenceElement) && t4.referenceElement.replaceUsages(i3, n3, e3); }), o.default.each(t3, (e4) => { - if (e4.isWriter && (0, u.isBaseExpression)(e4.referenceElement)) { + if (e4.isWriter && (0, d.isBaseExpression)(e4.referenceElement)) { const t4 = e4.referenceElement.text; e4.referenceElement.setText((t4 || "").replace(i3, n3), true), this.deleteReference(e4.referenceElement); } @@ -103788,26 +112470,26 @@ ${e3.stack}`, n3 = [this].concat(i3); this.transferring = false; } } - updateSecurityForUsages() { - const e3 = o.default.clone(this.usages); + updateSecurityForUsages(e3) { + const t3 = o.default.clone(this.getUsagesForFlow(e3)); if (o.default.isBoolean(this.isSecure)) { - const t3 = []; - o.default.each(e3, (e4) => { - (0, u.isBaseExpression)(e4.referenceElement) && this._updateExpressionSecurity(e4.referenceElement, t3); - }), o.default.each(t3, (e4) => { - s.validateNode(e4); + const e4 = []; + o.default.each(t3, (t4) => { + (0, d.isBaseExpression)(t4.referenceElement) && this._updateExpressionSecurity(t4.referenceElement, e4); + }), o.default.each(e4, (e5) => { + l.validateNode(e5); }); } } - get _visibleUsages() { - return o.default.reject(this.usages, (e3) => e3.referenceElement.outOfService || e3.referenceElement.isDestroyed); + _visibleUsages(e3) { + return o.default.reject(this.getUsagesForFlow(e3), (e4) => e4.referenceElement.outOfService || e4.referenceElement.isDestroyed); } _updateExpressionSecurity(e3, t3) { if (!e3) return; if (r2.__classPrivateFieldGet(this, n2, "f") === e3) return; if (this.isSecure === e3.consumesSecureData) return; if (this.isDestroyedOrDestroying) return; - if (!(0, u.isBaseExpression)(e3)) return; + if (!(0, d.isBaseExpression)(e3)) return; const i3 = r2.__classPrivateFieldGet(this, n2, "f"); r2.__classPrivateFieldSet(this, n2, e3, "f"); try { @@ -103816,37 +112498,60 @@ ${e3.stack}`, n3 = [this].concat(i3); r2.__classPrivateFieldSet(this, n2, i3, "f"); } } - _hasWriters() { - return o.default.where(this.usages, { isWriter: true }).length > 0; + _hasWriters(e3) { + return o.default.where(this.getUsagesForFlow(e3), { isWriter: true }).length > 0; + } + _addUsage(e3, t3) { + var i3; + const n3 = { expression: e3, referenceElement: e3, isReader: t3 === h, isWriter: t3 === m, icon: t3 === h ? s.default.book : s.default.modifyIntents, titleText: t3 === h ? _.dataView.usageReaderTitle : _.dataView.usageWriterTitle }, r3 = e3.parentFlow.instanceId; + return !(null === (i3 = this._usages[r3]) || void 0 === i3 ? void 0 : i3[e3.id]) && (this._usages[r3] || (this._usages[r3] = {}), this._usages[r3][e3.id] = n3, true); + } + hasUsagesForFlow(e3) { + return e3 ? !o.default.isEmpty(this._usages[e3.instanceId]) : !o.default.isEmpty(this._usages); + } + clearUsages() { + this._usages = {}; + } + transferUsagesFrom(e3) { + this._usages = o.default.mapObject(e3._usages, (e4) => o.default.clone(e4)); + } + cloneUsages() { + return o.default.clone(this._usages); + } + getUsagesForFlow(e3) { + const t3 = []; + return o.default.each(this._usages[e3.instanceId], (e4) => { + t3.push(e4); + }), t3; } } n2 = /* @__PURE__ */ new WeakMap(), t2.default = g; }, 89059: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchFactoryFlows = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(33231)), o = n2.__importStar(i2(74359)), a = i2(94110), s = i2(66663), l = i2(27491), u = i2(96618), d = i2(68694), c = i2(24812), p = i2(17894), _ = i2(56969), h = i2(17894), m = i2(17894), g = i2(56969), f = i2(99918), T = i2(9456), y = i2(38725), S = n2.__importStar(i2(27099)), A = n2.__importStar(i2(46920)), N = n2.__importDefault(i2(98114)), O = n2.__importDefault(i2(17848)), I = n2.__importDefault(i2(90396)), v = n2.__importStar(i2(19312)), C = n2.__importStar(i2(51998)), b = n2.__importStar(i2(44392)), E = n2.__importStar(i2(98442)), R = n2.__importStar(i2(97591)), w = n2.__importDefault(i2(78432)), D = n2.__importDefault(i2(3220)), P = n2.__importDefault(i2(98717)), M = n2.__importDefault(i2(56549)), F = n2.__importDefault(i2(41714)), L = n2.__importDefault(i2(94225)), x = n2.__importDefault(i2(84433)), k = n2.__importDefault(i2(60571)), V = n2.__importDefault(i2(31375)), U = n2.__importDefault(i2(37824)), B = n2.__importDefault(i2(54625)), G = n2.__importDefault(i2(22999)), j = n2.__importDefault(i2(65641)), W = n2.__importDefault(i2(55974)), q = n2.__importDefault(i2(24212)), Y = n2.__importDefault(i2(44130)), H = n2.__importDefault(i2(58407)), J = n2.__importDefault(i2(40192)), z = n2.__importDefault(i2(44231)), K = n2.__importDefault(i2(83737)), $ = n2.__importDefault(i2(98253)), Q = n2.__importDefault(i2(66350)), X = n2.__importDefault(i2(74920)), Z = n2.__importDefault(i2(71191)), ee = n2.__importDefault(i2(43314)), te = i2(50474), ie = i2(50474), ne = i2(50474), re = i2(50474), oe = i2(50474), ae = i2(20850), se = n2.__importDefault(i2(84783)); - class le extends se.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(33231)), o = n2.__importStar(i2(74359)), a = i2(94110), s = i2(66663), l = i2(27491), u = i2(96618), c = i2(96618), d = i2(68694), p = i2(24812), _ = i2(17894), h = i2(56969), m = i2(17894), g = i2(17894), f = i2(56969), T = i2(99918), y = i2(9456), S = i2(38725), A = n2.__importStar(i2(27099)), N = n2.__importDefault(i2(4648)), v = n2.__importStar(i2(46920)), O = n2.__importDefault(i2(98114)), I = n2.__importDefault(i2(17848)), C = n2.__importDefault(i2(90396)), b = n2.__importStar(i2(19312)), E = n2.__importStar(i2(51998)), w = n2.__importStar(i2(44392)), R = n2.__importStar(i2(98442)), D = i2(43315), P = i2(94930), M = i2(7399), F = i2(13821), L = i2(1910), x = i2(1910), k = n2.__importStar(i2(97591)), V = i2(78778), U = i2(78778), B = i2(78778), G = n2.__importDefault(i2(78432)), j = n2.__importDefault(i2(3220)), W = n2.__importDefault(i2(98717)), q = n2.__importDefault(i2(56549)), Y = n2.__importDefault(i2(72203)), H = n2.__importDefault(i2(41714)), J = n2.__importDefault(i2(94225)), $ = n2.__importDefault(i2(84433)), z = n2.__importDefault(i2(60571)), K = n2.__importDefault(i2(31375)), Q = n2.__importDefault(i2(37824)), X = n2.__importDefault(i2(54625)), Z = n2.__importDefault(i2(22999)), ee = n2.__importDefault(i2(65641)), te = n2.__importDefault(i2(55974)), ie = n2.__importDefault(i2(24212)), ne = n2.__importDefault(i2(44130)), re = n2.__importDefault(i2(58407)), oe = n2.__importDefault(i2(40192)), ae = n2.__importDefault(i2(44231)), se = n2.__importDefault(i2(83737)), le = n2.__importDefault(i2(98253)), ue = n2.__importDefault(i2(66350)), ce = n2.__importDefault(i2(74920)), de = n2.__importDefault(i2(71191)), pe = n2.__importDefault(i2(43314)), _e = i2(50474), he = i2(50474), me = i2(50474), ge = i2(50474), fe = i2(50474), Te = i2(50474), ye = i2(1910), Se = i2(1910), Ae = i2(20850), Ne = n2.__importDefault(i2(84783)), ve = i2(28691); + class Oe extends Ne.default { constructor() { - super(), Object.defineProperties(this, { _defaultCreationDivision: { writable: true } }), r2.default.all([o.bootstrapLanguageDataLoaded, o.featureTogglesLoaded, o.divisionsLoaded]).then(() => { - if (this.logNote("ArchFactoryFlows startup initialization - begin."), L.default.orgInfo.areDivisionsAvailable) { + super(), this._inMemoryAuthoringFlows = /* @__PURE__ */ new Map(), Object.defineProperties(this, { _defaultCreationDivision: { writable: true } }), r2.default.all([o.bootstrapLanguageDataLoaded, o.featureTogglesLoaded, o.divisionsLoaded]).then(() => { + if (this.logNote("ArchFactoryFlows startup initialization - begin."), J.default.orgInfo.areDivisionsAvailable) { this.logNote("Divisions are available for this organization. Now processing division information to determine the default flow creation division to set on the flow factory."); const e3 = this.getDefaultDivisionWhereUserCanAdd(); this.defaultFlowCreationDivision = e3, this.logNote(e3 ? `The default flow creation division is '${e3.logStr}'.` : "The currently logged in user will not be able to create any flows. While division support is enabled, there are no divisions in which the currently logged in user has ability to add flows. This error often happens when you are missing architect:flow permissions such as add, edit, or view in at least one division."); } - this.logNote("ArchFactoryFlows startup initialization - end."), L.default._setFactoryFlowStartupComplete(); + this.logNote("ArchFactoryFlows startup initialization - end."), J.default._setFactoryFlowStartupComplete(); }); } getDefaultDivisionWhereUserCanAdd() { var e3; - let t3 = L.default.orgInfo.getHomeDivision(); - return t3 && t3.canAddFlow || (t3 = null === (e3 = L.default.orgInfo.getAllDivisions()) || void 0 === e3 ? void 0 : e3.find((e4) => e4 && e4.canAddFlow)), t3; + let t3 = J.default.orgInfo.getHomeDivision(); + return t3 && t3.canAddFlow || (t3 = null === (e3 = J.default.orgInfo.getAllDivisions()) || void 0 === e3 ? void 0 : e3.find((e4) => e4 && e4.canAddFlow)), t3; } get defaultFlowCreationDivision() { - if (L.default.orgInfo.areDivisionsAvailable) return this._defaultCreationDivision; + if (J.default.orgInfo.areDivisionsAvailable) return this._defaultCreationDivision; } set defaultFlowCreationDivision(e3) { const t3 = this._infoPropSet("newValue", "defaultFlowCreationDivision"); - if (this._ensureSessionIsConnected(t3, L.default), L.default.orgInfo.areDivisionsAvailable || this._itemIsInvalid(t3, "divisions are not supported for the current organization."), (0, oe.isUndefined)(e3) || null === e3) return this._defaultCreationDivision = void 0, void this.logNote("the default flow creation division successfully set to undefined. In order for flow creation calls to succeed, a division will need to be passed in for the division override parameter."); + if (this._ensureSessionIsConnected(t3, J.default), J.default.orgInfo.areDivisionsAvailable || this._itemIsInvalid(t3, "divisions are not supported for the current organization."), (0, Te.isUndefined)(e3) || null === e3) return this._defaultCreationDivision = void 0, void this.logNote("the default flow creation division successfully set to undefined. In order for flow creation calls to succeed, a division will need to be passed in for the division override parameter."); this._checkItem(t3, !e3 || !e3.isArchDivision, "the default flow creation division must be an ArchDivision instance."), this._checkItem(t3, !e3.canAddFlow, "attempting to set the default flow creation division to a division whose canAddFlow property is false. " + e3.logStr), this._defaultCreationDivision = e3, this.logNote("the default flow creation division successfully set to " + e3.logStr); } get displayTypeName() { @@ -103861,63 +112566,63 @@ ${e3.stack}`, n3 = [this].concat(i3); _createFlowViewModel(e3, t3, i3) { const n3 = this._infoParm("flowType", i3); let r3; - switch (t3.isFlowInfoViewModel || (t3 = new I.default(t3)), e3) { + switch (t3.isFlowInfoViewModel || (t3 = new C.default(t3)), e3) { case u.flowTypes.flowTypeBot: - r3 = x.default; + r3 = $.default; break; case u.flowTypes.flowTypeCommonModule: - r3 = k.default; + r3 = z.default; break; case u.flowTypes.flowTypeInboundCall: - r3 = B.default; + r3 = X.default; break; case u.flowTypes.flowTypeDigitalBot: - r3 = V.default; + r3 = K.default; break; case u.flowTypes.flowTypeEmailSend: - r3 = U.default; + r3 = Q.default; break; case u.flowTypes.flowTypeInboundChat: - r3 = G.default; + r3 = Z.default; break; case u.flowTypes.flowTypeInQueueCall: - r3 = q.default; + r3 = ie.default; break; case u.flowTypes.flowTypeInQueueEmail: - r3 = Y.default; + r3 = ne.default; break; case u.flowTypes.flowTypeInQueueShortMessage: - r3 = H.default; + r3 = re.default; break; case u.flowTypes.flowTypeOutboundCall: - r3 = J.default; + r3 = oe.default; break; case u.flowTypes.flowTypeSecureCall: - r3 = z.default; + r3 = ae.default; break; case u.flowTypes.flowTypeInboundEmail: - r3 = j.default; + r3 = ee.default; break; case u.flowTypes.flowTypeInboundShortMessage: - r3 = W.default; + r3 = te.default; break; case u.flowTypes.flowTypeSurveyInvite: - r3 = K.default; + r3 = se.default; break; case u.flowTypes.flowTypeVoice: - r3 = X.default; + r3 = ce.default; break; case u.flowTypes.flowTypeVoicemail: - r3 = $.default; + r3 = le.default; break; case u.flowTypes.flowTypeVoiceSurvey: - r3 = Q.default; + r3 = ue.default; break; case u.flowTypes.flowTypeWorkflow: - r3 = Z.default; + r3 = de.default; break; case u.flowTypes.flowTypeWorkitem: - r3 = ee.default; + r3 = pe.default; break; default: this._itemIsInvalid(n3, "INTERNAL ERROR - the flow type '" + e3 + "' is not supported."); @@ -103925,17 +112630,17 @@ ${e3.stack}`, n3 = [this].concat(i3); return new r3(t3); } verifyNluCreationDataSlotNames(e3) { - if (!(0, ne.isObject)(e3)) return void this.logNote("no slot names to validate - there is no natural language understanding meta data defined."); + if (!(0, ge.isObject)(e3)) return void this.logNote("no slot names to validate - there is no natural language understanding meta data defined."); const t3 = null == e3 ? void 0 : e3.intents; - if (!(0, ie.isArray)(t3) || !t3.length) return void this.logNote("no slot names to validate - there are no intents defined in the natural language understanding meta data."); + if (!(0, he.isArray)(t3) || !t3.length) return void this.logNote("no slot names to validate - there are no intents defined in the natural language understanding meta data."); let i3 = 0; t3.forEach((e4, t4) => { const n3 = null == e4 ? void 0 : e4.entityTypeBindings; - (0, ie.isArray)(n3) && n3.length && n3.forEach((e5, n4) => { + (0, he.isArray)(n3) && n3.length && n3.forEach((e5, n4) => { const r3 = null == e5 ? void 0 : e5.entityName; - if ((0, re.isString)(r3)) { + if ((0, fe.isString)(r3)) { const e6 = l.expressionDataService.getInvalidIdentifierCharPos(r3); - if ((0, te.isActualNumber)(e6)) { + if ((0, _e.isActualNumber)(e6)) { let i4 = `invalid natural language understanding creation data. Entity (slot) names must be a valid Architect variable name because Architect creates slot variables in a bot flow using those names. creationData.intents[${t4}].entityTypeBindings[${n4}].entityName - `; i4 += -1 === e6 ? "cannot be blank." : `invalid character at position ${e6}.`, this.logErrorAndThrow(i4); } else i3++; @@ -103944,135 +112649,161 @@ ${e3.stack}`, n3 = [this].concat(i3); }), this.logNote(`processed a total of ${i3} entity / slot name(s) across ${t3.length} intent(s) and did not find any invalid names.`); } verifyInboundEmailIntentDetectionCreationData(e3) { - if (!(0, ne.isObject)(e3)) return void this.logNote("no intent names to validate - there is no natural language understanding meta data defined."); + if (!(0, ge.isObject)(e3)) return void this.logNote("no intent names to validate - there is no natural language understanding meta data defined."); const t3 = null == e3 ? void 0 : e3.intents; - if ((0, ie.isArray)(t3) && t3.length) return e3.intents = t3.reduce((e4, t4) => (e4.some((e5) => e5.name === t4.name || t4.id && e5.id === t4.id) || e4.push(t4), e4), []), e3.intents.map((e4) => { - e4.id || (e4.id = (0, T.uuid)()); + if ((0, he.isArray)(t3) && t3.length) return e3.intents = t3.reduce((e4, t4) => (e4.some((e5) => e5.name === t4.name || t4.id && e5.id === t4.id) || e4.push(t4), e4), []), e3.intents.map((e4) => { + e4.id || (e4.id = (0, y.uuid)()); }), e3; this.logNote("no intent names to validate - there are no intents defined in the natural language understanding meta data."); } _getFlowInfoByFlowIdAsync(e3, t3, i3) { const n3 = this._infoParm("flowType", i3); - return this._checkItemIsValidLiteralStringEnum(n3, t3, w.default.FLOW_TYPES_ALL), M.default.findItemByIdAsync(F.default.getConfigListManagerForFlowType(this, n3, t3), e3, "flow id"); + return this._checkItemIsValidLiteralStringEnum(n3, t3, G.default.FLOW_TYPES_ALL), q.default.findItemByIdAsync(H.default.getConfigListManagerForFlowType(this, n3, t3), e3, "flow id"); } _getFlowInfoByFlowNameAsync(e3, t3, i3) { const n3 = this._infoParm("flowType", i3); - return this._checkItemIsValidLiteralStringEnum(n3, t3, w.default.FLOW_TYPES_ALL), M.default.findItemByValueAsync(F.default.getConfigListManagerForFlowType(this, n3, t3), e3, "flow name", "name", "displayName"); + return this._checkItemIsValidLiteralStringEnum(n3, t3, G.default.FLOW_TYPES_ALL), q.default.findItemByValueAsync(H.default.getConfigListManagerForFlowType(this, n3, t3), e3, "flow name", "name", "displayName"); + } + invalidateFlowLookupCache(e3) { + var t3; + const i3 = this._infoParm("flowType", "invalidateFlowLookupCache"); + this._checkItemIsValidLiteralStringEnum(i3, e3, G.default.FLOW_TYPES_ALL); + const n3 = H.default.getConfigListManagerForFlowType(this, i3, e3), r3 = null === (t3 = null == n3 ? void 0 : n3.dependencyType) || void 0 === t3 ? void 0 : t3.name; + r3 && (Y.default.clearCacheForDependencyType(r3), this.logNote(`invalidateFlowLookupCache - cleared network value cache for dependency type '${r3}'.`)); } - createFlowAsync(e3, t3, i3, r3, o2, l2, R2, F2, x2, k2, V2) { + _inMemoryAuthoringFlowKey(e3, t3) { + return `${t3.toLowerCase()}:${e3.toLowerCase()}`; + } + _registerInMemoryAuthoringFlow(e3, t3, i3) { + this._inMemoryAuthoringFlows.set(this._inMemoryAuthoringFlowKey(e3, t3), i3); + } + _unregisterInMemoryAuthoringFlow(e3, t3) { + this._inMemoryAuthoringFlows.delete(this._inMemoryAuthoringFlowKey(e3, t3)); + } + unregisterInMemoryAuthoringFlow(e3, t3) { + this._unregisterInMemoryAuthoringFlow(e3, t3); + } + _findInMemoryAuthoringFlow(e3, t3) { + const i3 = this._inMemoryAuthoringFlows.get(this._inMemoryAuthoringFlowKey(e3, t3)); + if (i3) { + if (!i3.isCreated) return i3; + this._unregisterInMemoryAuthoringFlow(e3, t3); + } + } + createFlowAsync(e3, t3, i3, r3, o2, l2, c2, N2, P2, M2, F2, L2) { return n2.__awaiter(this, void 0, void 0, function* () { - var n3, U2, B2, G2, j2, W2, q2, Y2, H2, J2, z2, K2, $2, Q2, X2, Z2; + var n3, x2, k2, V2, U2, B2, Y2, H2, $2, z2, K2, Q2, X2, Z2, ee2, te2; this._checkItem(this._infoParm("flowName", o2), !e3, "no flow name specified"), this._checkItemIsValidLiteralString(this._infoParm("flowDescription", o2), t3, true); - const ee2 = this._infoParm("flowType", o2); - this._checkItem(ee2, !N.default.getIsValidFlowType(r3), "invalid flow type of '" + r3 + "' specified for new flow"); - const te2 = N.default.getDefinitionForFlowType(r3); - this._checkItemIsValidLiteralStringOrStringArray(this._infoParm("compatibleFlowTypes", o2), x2, true), x2 && x2.forEach((e4) => { - this._checkItemIsValidLiteralStringEnum(this._infoParm("compatibleFlowTypes", o2), e4, w.default.FLOW_TYPES_ALL); - const t4 = N.default.getDefinitionForFlowType(e4); - this._checkItem(this._infoParm("compatibleFlowTypes", o2), !t4 || !t4.isEmbeddable, `the flow type '${e4}' cannot be used as a compatible flow type when creating a flow of type '${r3}'`), this._checkItem(this._infoParm("compatibleFlowTypes", o2), !N.default.getFlowTypeIsAvailable(e4), `the flow type '${e4}' is not available in this organization and cannot be used as a compatible flow type when creating a flow of type '${r3}'`); - }), this._checkItem(this._infoParm("compatibleFlowTypes", o2), x2 && x2.length && !N.default.doesFlowTypeHaveDestinationFlowTypes(r3), `supported flow types were specified for the creation of flow '${e3}' but are not supported for flow type '${r3}'.`); - const ie2 = this._infoParm("flowDivision", o2); - L.default.orgInfo.areDivisionsAvailable ? (((0, oe.isUndefined)(R2) || null === R2) && (this.defaultFlowCreationDivision ? (this.logItemNote(ie2, "No flow division passed in on create call. Using the division specified in the defaultFlowCreationDivision property. Division: " + this.defaultFlowCreationDivision.logStr), R2 = this.defaultFlowCreationDivision) : this._itemIsInvalid(ie2, "When creating a flow, you must either pass an ArchDivision instance in the flowDivision parameter or have an ArchDivision instance set for the ArchFactoryFlows defaultFlowCreationDivision property.")), this._checkItem(ie2, !R2, "there is no flow creation division specified for the flow creation."), this._checkItem(ie2, !(null == R2 ? void 0 : R2.isArchDivision), "the flow creation division must be an ArchDivision instance."), this._checkItem(ie2, !(null == R2 ? void 0 : R2.canAddFlow), "the flow creation division must be a division whose canAddFlow property has a value of true. Division: " + (null == R2 ? void 0 : R2.logStr)), this.logItemNote(ie2, `flow will be created in the division ${null == R2 ? void 0 : R2.logStr}`)) : ((0, oe.isUndefined)(R2) || null === R2 || this._itemIsInvalid(ie2, "A value was specified for the flow creation division but divisions are not enabled for this organization."), R2 = void 0), this._checkItemIsValidLiteralBool(this._infoParm("generateFlowLogic", o2), V2, true); - const re2 = this._infoParm("creationData", o2); + const ie2 = this._infoParm("flowType", o2); + this._checkItem(ie2, !O.default.getIsValidFlowType(r3), "invalid flow type of '" + r3 + "' specified for new flow"); + const ne2 = O.default.getDefinitionForFlowType(r3); + this._checkItemIsValidLiteralStringOrStringArray(this._infoParm("compatibleFlowTypes", o2), P2, true), P2 && P2.forEach((e4) => { + this._checkItemIsValidLiteralStringEnum(this._infoParm("compatibleFlowTypes", o2), e4, G.default.FLOW_TYPES_ALL); + const t4 = O.default.getDefinitionForFlowType(e4); + this._checkItem(this._infoParm("compatibleFlowTypes", o2), !t4 || !t4.isEmbeddable, `the flow type '${e4}' cannot be used as a compatible flow type when creating a flow of type '${r3}'`), this._checkItem(this._infoParm("compatibleFlowTypes", o2), !O.default.getFlowTypeIsAvailable(e4), `the flow type '${e4}' is not available in this organization and cannot be used as a compatible flow type when creating a flow of type '${r3}'`); + }), this._checkItem(this._infoParm("compatibleFlowTypes", o2), P2 && P2.length && !O.default.doesFlowTypeHaveDestinationFlowTypes(r3), `supported flow types were specified for the creation of flow '${e3}' but are not supported for flow type '${r3}'.`); + const re2 = this._infoParm("flowDivision", o2); + J.default.orgInfo.areDivisionsAvailable ? (((0, Te.isUndefined)(c2) || null === c2) && (this.defaultFlowCreationDivision ? (this.logItemNote(re2, "No flow division passed in on create call. Using the division specified in the defaultFlowCreationDivision property. Division: " + this.defaultFlowCreationDivision.logStr), c2 = this.defaultFlowCreationDivision) : this._itemIsInvalid(re2, "When creating a flow, you must either pass an ArchDivision instance in the flowDivision parameter or have an ArchDivision instance set for the ArchFactoryFlows defaultFlowCreationDivision property.")), this._checkItem(re2, !c2, "there is no flow creation division specified for the flow creation."), this._checkItem(re2, !(null == c2 ? void 0 : c2.isArchDivision), "the flow creation division must be an ArchDivision instance."), this._checkItem(re2, !(null == c2 ? void 0 : c2.canAddFlow), "the flow creation division must be a division whose canAddFlow property has a value of true. Division: " + (null == c2 ? void 0 : c2.logStr)), this.logItemNote(re2, `flow will be created in the division ${null == c2 ? void 0 : c2.logStr}`)) : ((0, Te.isUndefined)(c2) || null === c2 || this._itemIsInvalid(re2, "A value was specified for the flow creation division but divisions are not enabled for this organization."), c2 = void 0), this._checkItemIsValidLiteralBool(this._infoParm("generateFlowLogic", o2), F2, true); + const oe2 = this._infoParm("creationData", o2); let ae2, se2; switch (r3) { case u.flowTypes.flowTypeBot: case u.flowTypes.flowTypeDigitalBot: case u.flowTypes.flowTypeVoice: { let e4; - if (this._checkItemIsValidJsonObject(re2, F2, true), (0, ne.isObject)(F2)) this._checkItemIsValidJsonObject(this._infoVal("creationData.nluDomainVersion", o2), F2.nluDomainVersion), e4 = F2.nluDomainVersion || {}, this.verifyNluCreationDataSlotNames(e4), !te2.supportsNluIntents && d.IntentUtil.hasIntents(e4) && this.logErrorAndThrow(`the flow type '${r3}' does not support intents to be defined within the natural language configuration supplied from caller creation data.`), this.logNote("using natural language configuration supplied from caller for bot flow creation."); + if (this._checkItemIsValidJsonObject(oe2, N2, true), (0, ge.isObject)(N2)) this._checkItemIsValidJsonObject(this._infoVal("creationData.nluDomainVersion", o2), N2.nluDomainVersion), e4 = N2.nluDomainVersion || {}, this.verifyNluCreationDataSlotNames(e4), !ne2.supportsNluIntents && d.IntentUtil.hasIntents(e4) && this.logErrorAndThrow(`the flow type '${r3}' does not support intents to be defined within the natural language configuration supplied from caller creation data.`), this.logNote("using natural language configuration supplied from caller for bot flow creation."); else { - const t5 = b.templates.find((e5) => e5.id === b.nluVersionIds.blankBot); - (0, ne.isObject)(t5) || this.logErrorAndThrow("unable to load the default blank natural language understanding configuration to create the bot flow."), this.logNote("since no creation data JSON object was passed in, using a default blank natural language configuration for bot flow creation."), e4 = null == t5 ? void 0 : t5.templateObject; + const t5 = w.templates.find((e5) => e5.id === w.nluVersionIds.blankBot); + (0, ge.isObject)(t5) || this.logErrorAndThrow("unable to load the default blank natural language understanding configuration to create the bot flow."), this.logNote("since no creation data JSON object was passed in, using a default blank natural language configuration for bot flow creation."), e4 = null == t5 ? void 0 : t5.templateObject; } - const t4 = ((null == F2 ? void 0 : F2.mutedUtterances) || []).filter((e5) => d.IntentUtil.isUtteranceInNluDomainVersion((null == F2 ? void 0 : F2.nluDomainVersion) || {}, e5.id)); - F2 = { nluVersionTemplate: { templateObject: e4 } }, t4.length && (F2.mutedUtterances = t4); + const t4 = ((null == N2 ? void 0 : N2.mutedUtterances) || []).filter((e5) => d.IntentUtil.isUtteranceInNluDomainVersion((null == N2 ? void 0 : N2.nluDomainVersion) || {}, e5.id)); + N2 = { nluVersionTemplate: { templateObject: e4 } }, t4.length && (N2.mutedUtterances = t4); break; } case u.flowTypes.flowTypeVoiceSurvey: - if (this._checkItemIsValidJsonObject(re2, F2, true), (0, ne.isObject)(F2)) { - this._checkItemIsValidJsonObject(this._infoVal("creationData.surveyForm", o2), F2.surveyForm); - const e4 = null == F2 ? void 0 : F2.surveyForm; - if (null == e4 ? void 0 : e4.id) ae2 = yield f.surveyFormManager.apiCallSingle(null == e4 ? void 0 : e4.id), ae2 || this.logErrorAndThrow(`unable to find survey form with id '${e4.id}'`); + if (this._checkItemIsValidJsonObject(oe2, N2, true), (0, ge.isObject)(N2)) { + this._checkItemIsValidJsonObject(this._infoVal("creationData.surveyForm", o2), N2.surveyForm); + const e4 = null == N2 ? void 0 : N2.surveyForm; + if (null == e4 ? void 0 : e4.id) ae2 = yield T.surveyFormManager.apiCallSingle(null == e4 ? void 0 : e4.id), ae2 || this.logErrorAndThrow(`unable to find survey form with id '${e4.id}'`); else if (null == e4 ? void 0 : e4.name) { - const t5 = yield M.default.findItemByValueAsync(f.surveyFormManager, e4.name, "survey forms", "name"); - t5 ? ae2 = yield M.default.findItemByIdAsync(f.surveyFormManager, t5.id, "survey form") : this.logErrorAndThrow(`unable to find survey form with name '${e4.name}'`); - const i4 = (0, g.getSurveyFormErrorText)((0, _.checkSurveyForm)(ae2._model)); + const t5 = yield q.default.findItemByValueAsync(T.surveyFormManager, e4.name, "survey forms", "name"); + t5 ? ae2 = yield q.default.findItemByIdAsync(T.surveyFormManager, t5.id, "survey form") : this.logErrorAndThrow(`unable to find survey form with name '${e4.name}'`); + const i4 = (0, f.getSurveyFormErrorText)((0, h.checkSurveyForm)(ae2._model)); i4 && this.logErrorAndThrow(`unable to create flow for survey form with name '${e4.name}'. ${i4}`); } let t4; - (null == F2 ? void 0 : F2.nluDomainVersion) && (this._checkItemIsValidJsonObject(this._infoVal("creationData.nluDomainVersion", o2), F2.nluDomainVersion, true), t4 = F2.nluDomainVersion, this.verifyNluCreationDataSlotNames(t4), !te2.supportsNluIntents && d.IntentUtil.hasIntents(t4) && this.logErrorAndThrow(`the flow type '${r3}' does not support intents to be defined within the natural language configuration supplied from caller creation data.`), this.logNote("using natural language configuration supplied from caller for bot flow creation.")), F2.nluVersionTemplate = { templateObject: t4 }; + (null == N2 ? void 0 : N2.nluDomainVersion) && (this._checkItemIsValidJsonObject(this._infoVal("creationData.nluDomainVersion", o2), N2.nluDomainVersion, true), t4 = N2.nluDomainVersion, this.verifyNluCreationDataSlotNames(t4), !ne2.supportsNluIntents && d.IntentUtil.hasIntents(t4) && this.logErrorAndThrow(`the flow type '${r3}' does not support intents to be defined within the natural language configuration supplied from caller creation data.`), this.logNote("using natural language configuration supplied from caller for bot flow creation.")), N2.nluVersionTemplate = { templateObject: t4 }; } break; case u.flowTypes.flowTypeWorkitem: - if (this._checkItemIsValidJsonObject(re2, F2, true), (0, ne.isObject)(F2)) { - this._checkItemIsValidJsonObject(this._infoVal("creationData.worktype", o2), F2.worktype); - const e4 = null == F2 ? void 0 : F2.worktype; - if (null == e4 ? void 0 : e4.id) se2 = yield y.worktypeManager.apiCallSingle(null == e4 ? void 0 : e4.id), se2 || this.logErrorAndThrow(`unable to find worktype with id '${e4.id}'`); + if (this._checkItemIsValidJsonObject(oe2, N2, true), (0, ge.isObject)(N2)) { + this._checkItemIsValidJsonObject(this._infoVal("creationData.worktype", o2), N2.worktype); + const e4 = null == N2 ? void 0 : N2.worktype; + if (null == e4 ? void 0 : e4.id) se2 = yield S.worktypeManager.apiCallSingle(null == e4 ? void 0 : e4.id), se2 || this.logErrorAndThrow(`unable to find worktype with id '${e4.id}'`); else if (null == e4 ? void 0 : e4.name) { - const t4 = yield M.default.findItemByValueAsync(y.worktypeManager, e4.name, "worktype", "name"); - t4 ? se2 = yield M.default.findItemByIdAsync(y.worktypeManager, t4.id, "worktype") : this.logErrorAndThrow(`unable to find worktype with name '${e4.name}'`); + const t4 = yield q.default.findItemByValueAsync(S.worktypeManager, e4.name, "worktype", "name"); + t4 ? se2 = yield q.default.findItemByIdAsync(S.worktypeManager, t4.id, "worktype") : this.logErrorAndThrow(`unable to find worktype with name '${e4.name}'`); } } break; case u.flowTypes.flowTypeInboundEmail: - this._checkItemIsValidJsonObject(re2, F2, true), (0, ne.isObject)(F2) && (this._checkItemIsValidJsonObject(this._infoVal("creationData.intentDetection", o2), F2.intentDetection), te2.supportsNluCortex && te2.supportsNluCortexIntents || this.logErrorAndThrow(`the flow type '${r3}' does not support detection job intents to be defined within the natural language configuration supplied from caller creation data.`), F2.intentDetection = this.verifyInboundEmailIntentDetectionCreationData(F2.intentDetection || {})); + this._checkItemIsValidJsonObject(oe2, N2, true), (0, ge.isObject)(N2) && (this._checkItemIsValidJsonObject(this._infoVal("creationData.intentDetection", o2), N2.intentDetection), ne2.supportsNluCortex && ne2.supportsNluCortexIntents || this.logErrorAndThrow(`the flow type '${r3}' does not support detection job intents to be defined within the natural language configuration supplied from caller creation data.`), N2.intentDetection = this.verifyInboundEmailIntentDetectionCreationData(N2.intentDetection || {})); break; default: - this.isUndefinedOrNull(F2) || this._logErrorInternalAndThrow(`the Architect flow factory code needs updating to handle flow creation data for the flow type '${r3}'. A creation call is being made which internally we see creation data being passed in but the factory does not know what to do with it. :(`); + this.isUndefinedOrNull(N2) || this._logErrorInternalAndThrow(`the Architect flow factory code needs updating to handle flow creation data for the flow type '${r3}'. A creation call is being made which internally we see creation data being passed in but the factory does not know what to do with it. :(`); } - const le2 = v.flowNameIsInvalidMessage(e3); + const le2 = b.flowNameIsInvalidMessage(e3); this._checkItem(this._infoParm("flowName", o2), null !== le2, le2); - const ue = this._infoParm("defaultSupportedLanguage", o2); - N.default.doesFlowTypeSupportLanguages(r3) ? i3 ? this._checkItem(ue, !i3 || !i3.isArchLanguage, "the default language specified for a flow must be a valid ArchLanguage this.") : te2.languagesSupportDefaultLanguage && (this.logNote("no language specified for creation of flow '" + e3 + "' ( type: " + r3 + " ). Defaulting default language to US English"), i3 = D.default.englishUnitedStates) : (i3 && this.logNote("a default language was specified for the creation of flow '" + e3 + "' ( type: " + r3 + " ). It is being ignored since the flow type does not have supported languages."), i3 = D.default.englishUnitedStates), i3 && (this._checkItem(ue, E.langCodeIsGeneric(i3.tag), "the language " + i3.logStr + " cannot be used as a flow supported language because it does not have a region sub-tag."), E.hasFlowCreationLocalizedText(i3.tag) || this.logItemNote(ue, "The language '" + i3.tag + "' does not have localized text so the created flow will not have any localized configuration names, text to speech, etc. etc.")), this._checkItemIsValidFunction(this._infoParm("callbackFunction", o2), l2, true); - const de = new O.default(); - de.description = t3, de.name = e3, de.type = r3, de.id = "__script_flow__" + (0, T.uuid)(), L.default.orgInfo.areDivisionsAvailable && (de.division = null == R2 ? void 0 : R2._getCoreViewModel().model); - const ce = C.getScriptingTemplate(r3, null == i3 ? void 0 : i3.tag, null, x2 || []), pe = this._createFlowViewModel(r3, new I.default(de), "createFlowAsync"), _e = this._infoParm("flowType", o2); - switch (pe.requiresFeatures && pe.requiresFeatures.forEach((e4) => { - S.isDisabled(e4) && this._itemIsInvalid(_e, "the flow type '" + r3 + "' cannot be created because it requires the feature '" + e4 + "' which is not enabled."); + const ue2 = this._infoParm("defaultSupportedLanguage", o2); + O.default.doesFlowTypeSupportLanguages(r3) ? i3 ? this._checkItem(ue2, !i3 || !i3.isArchLanguage, "the default language specified for a flow must be a valid ArchLanguage this.") : ne2.languagesSupportDefaultLanguage && (this.logNote("no language specified for creation of flow '" + e3 + "' ( type: " + r3 + " ). Defaulting default language to US English"), i3 = j.default.englishUnitedStates) : (i3 && this.logNote("a default language was specified for the creation of flow '" + e3 + "' ( type: " + r3 + " ). It is being ignored since the flow type does not have supported languages."), i3 = j.default.englishUnitedStates), i3 && (this._checkItem(ue2, R.langCodeIsGeneric(i3.tag), "the language " + i3.logStr + " cannot be used as a flow supported language because it does not have a region sub-tag."), R.hasFlowCreationLocalizedText(i3.tag) || this.logItemNote(ue2, "The language '" + i3.tag + "' does not have localized text so the created flow will not have any localized configuration names, text to speech, etc. etc.")), this._checkItemIsValidFunction(this._infoParm("callbackFunction", o2), l2, true); + const ce2 = new I.default(); + ce2.description = t3, ce2.name = e3, ce2.type = r3, ce2.id = "__script_flow__" + (0, y.uuid)(), J.default.orgInfo.areDivisionsAvailable && (ce2.division = null == c2 ? void 0 : c2._getCoreViewModel().model); + const de2 = E.getScriptingTemplate(r3, null == i3 ? void 0 : i3.tag, null, P2 || []), pe2 = this._createFlowViewModel(r3, new C.default(ce2), "createFlowAsync"), _e2 = this._infoParm("flowType", o2); + switch (pe2.requiresFeatures && pe2.requiresFeatures.forEach((e4) => { + A.isDisabled(e4) && this._itemIsInvalid(_e2, "the flow type '" + r3 + "' cannot be created because it requires the feature '" + e4 + "' which is not enabled."); }), r3) { case u.flowTypes.flowTypeBot: - F2.defaultLanguage = i3._getCoreViewModel(); + N2.defaultLanguage = i3._getCoreViewModel(); break; case u.flowTypes.flowTypeVoiceSurvey: { - const e4 = c.isoLanguages[i3.tag.toLowerCase()]; + const e4 = p.isoLanguages[i3.tag.toLowerCase()]; let t4; - const r4 = (0, p.buildFlowEntitiesFromSurveyForm)(ae2, e4); - if ((null === (n3 = r4.flowVariables) || void 0 === n3 ? void 0 : n3.length) && ce.variables.push(...r4.flowVariables), k2) { + const r4 = (0, _.buildFlowEntitiesFromSurveyForm)(ae2, e4); + if ((null === (n3 = r4.flowVariables) || void 0 === n3 ? void 0 : n3.length) && de2.variables.push(...r4.flowVariables), M2) { const e5 = { nluDomainVersion: { language: "", entities: [], entityTypes: [] } }; - (null === (U2 = null == F2 ? void 0 : F2.nluDomainVersion) || void 0 === U2 ? void 0 : U2.language) ? e5.nluDomainVersion.language = F2.nluDomainVersion.language : (this.logNote(`Using language from surveyForm ${r4.nluDomainVersion.language}`), e5.nluDomainVersion.language = r4.nluDomainVersion.language), null === (G2 = null === (B2 = null == r4 ? void 0 : r4.nluDomainVersion) || void 0 === B2 ? void 0 : B2.entities) || void 0 === G2 || G2.forEach((t5) => { + (null === (x2 = null == N2 ? void 0 : N2.nluDomainVersion) || void 0 === x2 ? void 0 : x2.language) ? e5.nluDomainVersion.language = N2.nluDomainVersion.language : (this.logNote(`Using language from surveyForm ${r4.nluDomainVersion.language}`), e5.nluDomainVersion.language = r4.nluDomainVersion.language), null === (V2 = null === (k2 = null == r4 ? void 0 : r4.nluDomainVersion) || void 0 === k2 ? void 0 : k2.entities) || void 0 === V2 || V2.forEach((t5) => { var i4; (null !== (i4 = e5.nluDomainVersion.entities) && void 0 !== i4 ? i4 : []).push(t5); - }), (null === (W2 = null === (j2 = null == F2 ? void 0 : F2.nluDomainVersion) || void 0 === j2 ? void 0 : j2.entities) || void 0 === W2 ? void 0 : W2.length) && F2.nluDomainVersion.entities.length > 0 && F2.nluDomainVersion.entities.forEach((t5) => { + }), (null === (B2 = null === (U2 = null == N2 ? void 0 : N2.nluDomainVersion) || void 0 === U2 ? void 0 : U2.entities) || void 0 === B2 ? void 0 : B2.length) && N2.nluDomainVersion.entities.length > 0 && N2.nluDomainVersion.entities.forEach((t5) => { var i4, n4, o3; (null !== (n4 = null === (i4 = null == r4 ? void 0 : r4.nluDomainVersion) || void 0 === i4 ? void 0 : i4.entities) && void 0 !== n4 ? n4 : []).filter((e6) => e6.name === t5.name).length > 0 && this.logErrorAndThrow(`an entity with the name ${t5.name} exists in both the supplied nluDomainVersion and what is being generated from the survey form.`), (null !== (o3 = e5.nluDomainVersion.entities) && void 0 !== o3 ? o3 : []).push(t5); - }), null === (Y2 = null === (q2 = null == r4 ? void 0 : r4.nluDomainVersion) || void 0 === q2 ? void 0 : q2.entityTypes) || void 0 === Y2 || Y2.forEach((t5) => { + }), null === (H2 = null === (Y2 = null == r4 ? void 0 : r4.nluDomainVersion) || void 0 === Y2 ? void 0 : Y2.entityTypes) || void 0 === H2 || H2.forEach((t5) => { var i4; (null !== (i4 = e5.nluDomainVersion.entityTypes) && void 0 !== i4 ? i4 : []).push(t5); - }), (null === (J2 = null === (H2 = null == F2 ? void 0 : F2.nluDomainVersion) || void 0 === H2 ? void 0 : H2.entityTypes) || void 0 === J2 ? void 0 : J2.length) && F2.nluDomainVersion.entityTypes.length > 0 && F2.nluDomainVersion.entityTypes.forEach((t5) => { + }), (null === (z2 = null === ($2 = null == N2 ? void 0 : N2.nluDomainVersion) || void 0 === $2 ? void 0 : $2.entityTypes) || void 0 === z2 ? void 0 : z2.length) && N2.nluDomainVersion.entityTypes.length > 0 && N2.nluDomainVersion.entityTypes.forEach((t5) => { var i4, n4, o3; (null !== (n4 = null === (i4 = null == r4 ? void 0 : r4.nluDomainVersion) || void 0 === i4 ? void 0 : i4.entityTypes) && void 0 !== n4 ? n4 : []).filter((e6) => e6.name === t5.name).length > 0 && this.logErrorAndThrow(`an entity type with the name ${t5.name} exists in both the supplied nluDomainVersion and what is being generated from the survey form.`), (null !== (o3 = e5.nluDomainVersion.entityTypes) && void 0 !== o3 ? o3 : []).push(t5); }), e5.surveyInfo = r4.surveyInfo, t4 = e5; } else { - const e5 = (null === (z2 = null == F2 ? void 0 : F2.nluDomainVersion) || void 0 === z2 ? void 0 : z2.entities) || []; + const e5 = (null === (K2 = null == N2 ? void 0 : N2.nluDomainVersion) || void 0 === K2 ? void 0 : K2.entities) || []; e5 || this.logErrorAndThrow("cannot create the flow as the supplied nluDomainVersion does not contain any entities required for the survey form."); - const i4 = (0, h.getFirstEntityErrorInfo)(e5, null !== ($2 = null === (K2 = null == r4 ? void 0 : r4.nluDomainVersion) || void 0 === K2 ? void 0 : K2.entities) && void 0 !== $2 ? $2 : []); + const i4 = (0, m.getFirstEntityErrorInfo)(e5, null !== (X2 = null === (Q2 = null == r4 ? void 0 : r4.nluDomainVersion) || void 0 === Q2 ? void 0 : Q2.entities) && void 0 !== X2 ? X2 : []); i4.name && (i4.namesMatch ? i4.typesMatch || this.logErrorAndThrow(`cannot create the flow as the configuration for the entity named ${i4.name} has an invalid type. This slot must be of type ${i4.type}`) : this.logErrorAndThrow(`cannot create the flow as the supplied nluDomainVersion does not contain all entities required for the survey form. You must provide an entity named ${i4.name}.`)); - const n4 = (null === (Q2 = null == F2 ? void 0 : F2.nluDomainVersion) || void 0 === Q2 ? void 0 : Q2.entityTypes) || []; + const n4 = (null === (Z2 = null == N2 ? void 0 : N2.nluDomainVersion) || void 0 === Z2 ? void 0 : Z2.entityTypes) || []; n4 || this.logErrorAndThrow("cannot create the flow as the supplied nluDomainVersion does not contain any entityTypes required for the survey form."); - const o3 = (0, m.getFirstEntityTypeErrorInfo)(n4, null !== (Z2 = null === (X2 = null == r4 ? void 0 : r4.nluDomainVersion) || void 0 === X2 ? void 0 : X2.entityTypes) && void 0 !== Z2 ? Z2 : []); - o3.name && (o3.namesMatch ? o3.mechanismsMatch || this.logErrorAndThrow(`cannot create the flow as the configuration for the entity typed named ${o3.name} contains a mechanism which is incompatible with the type required by the survey form.`) : this.logErrorAndThrow(`cannot create the flow as the supplied nluDomainVersion does not contain all entity types required for the survey form. You must provide an entity type named ${o3.name}.`)), t4 = { nluDomainVersion: null == F2 ? void 0 : F2.nluDomainVersion, surveyInfo: r4.surveyInfo }; + const o3 = (0, g.getFirstEntityTypeErrorInfo)(n4, null !== (te2 = null === (ee2 = null == r4 ? void 0 : r4.nluDomainVersion) || void 0 === ee2 ? void 0 : ee2.entityTypes) && void 0 !== te2 ? te2 : []); + o3.name && (o3.namesMatch ? o3.mechanismsMatch || this.logErrorAndThrow(`cannot create the flow as the configuration for the entity typed named ${o3.name} contains a mechanism which is incompatible with the type required by the survey form.`) : this.logErrorAndThrow(`cannot create the flow as the supplied nluDomainVersion does not contain all entity types required for the survey form. You must provide an entity type named ${o3.name}.`)), t4 = { nluDomainVersion: null == N2 ? void 0 : N2.nluDomainVersion, surveyInfo: r4.surveyInfo }; } - pe.voiceSurveyFlowSettings.surveyFormInfo = t4.surveyInfo, F2.nluVersionTemplate = { templateObject: t4.nluDomainVersion }; + pe2.voiceSurveyFlowSettings.surveyFormInfo = t4.surveyInfo, N2.nluVersionTemplate = { templateObject: t4.nluDomainVersion }; break; } case u.flowTypes.flowTypeWorkitem: - yield pe.configureForWorktype(se2), F2.worktypeId = se2.id; + yield pe2.configureForWorktype(se2), N2.worktypeId = se2.id; } - const he = yield A.loadTemplate(pe, ce), me = yield he.setNewInstanceDefaults(); - r3 === u.flowTypes.flowTypeVoiceSurvey && me.isVoiceSurveyFlow && V2 ? (0, a.buildSurveyFlow)(me) : r3 === u.flowTypes.flowTypeWorkitem && me.isWorkitemFlow && V2 && (0, s.buildWorkitemFlow)(me); - const ge = this.coreFactory.createArchWrapper(me); - return me.postScriptingCreateFlowAsync(F2), P.default.logNotesVerbose && me.definition.supportsLanguages && me.defaultLanguage && ge.settingsSupportedLanguages.getDefaultSupportedLanguageSettings().logNoteVerbose("flow default language settings information."), L.default.executeCallback(this, o2, l2, ge); + const he2 = yield v.loadTemplate(pe2, de2), me2 = yield he2.setNewInstanceDefaults(); + r3 === u.flowTypes.flowTypeVoiceSurvey && me2.isVoiceSurveyFlow && F2 ? (0, a.buildSurveyFlow)(me2) : r3 === u.flowTypes.flowTypeWorkitem && me2.isWorkitemFlow && F2 && (0, s.buildWorkitemFlow)(me2), L2 && (yield (0, D.importMergedYamlBodyIntoFlowViewModel)(me2, L2, r3)); + const fe2 = this.coreFactory.createArchWrapper(me2); + return me2.postScriptingCreateFlowAsync(N2), this._registerInMemoryAuthoringFlow(e3, r3, me2), W.default.logNotesVerbose && me2.definition.supportsLanguages && me2.defaultLanguage && fe2.settingsSupportedLanguages.getDefaultSupportedLanguageSettings().logNoteVerbose("flow default language settings information."), J.default.executeCallback(this, o2, l2, fe2); }); } createFlowBotAsync(e3, t3, i3, n3, r3, o2) { @@ -104120,9 +112851,9 @@ ${e3.stack}`, n3 = [this].concat(i3); createFlowVoicemailAsync(e3, t3, i3, n3, r3) { return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeVoicemail, "createFlowVoicemailAsync", n3, r3); } - createFlowVoiceSurveyAsync(e3, t3, i3, n3, r3, o2, a2, s2, l2, d2) { - var c2, p2, _2, h2, m2, g2, f2, T2; - return a2 && this._checkItemIsValidLiteralString(this._infoParm("surveyFormName", "createFlowVoiceSurveyAsync"), a2), s2 && this._checkItemIsValidLiteralString(this._infoParm("surveyFormId", "createFlowVoiceSurveyAsync"), s2), o2 = null != o2 ? o2 : {}, (a2 && s2 || !a2 && !s2 && (null === (c2 = o2.surveyForm) || void 0 === c2 ? void 0 : c2.name) && (null === (p2 = o2.surveyForm) || void 0 === p2 ? void 0 : p2.id)) && this.logErrorAndThrow("Cannot create the flow if both name and ID are provided for the survey form. Please choose one or the other."), a2 || s2 || (null === (_2 = o2.surveyForm) || void 0 === _2 ? void 0 : _2.name) || (null === (h2 = o2.surveyForm) || void 0 === h2 ? void 0 : h2.id) || this.logErrorAndThrow("Cannot create the flow if no value is specified for the survey form name or ID."), ((null === (m2 = o2.surveyForm) || void 0 === m2 ? void 0 : m2.name) || (null === (g2 = o2.surveyForm) || void 0 === g2 ? void 0 : g2.id) && a2) && this.logWarning(`Creation data is being ignored. Using surveyFormName ${a2}`), ((null === (f2 = o2.surveyForm) || void 0 === f2 ? void 0 : f2.name) || (null === (T2 = o2.surveyForm) || void 0 === T2 ? void 0 : T2.id) && s2) && this.logWarning(`Creation data is being ignored. Using surveyFormId ${s2}`), a2 ? o2.surveyForm = { name: a2 } : s2 && (o2.surveyForm = { id: s2 }), this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeVoiceSurvey, "createFlowVoiceSurveyAsync", n3, r3, o2, void 0, l2, d2); + createFlowVoiceSurveyAsync(e3, t3, i3, n3, r3, o2, a2, s2, l2, c2) { + var d2, p2, _2, h2, m2, g2, f2, T2; + return a2 && this._checkItemIsValidLiteralString(this._infoParm("surveyFormName", "createFlowVoiceSurveyAsync"), a2), s2 && this._checkItemIsValidLiteralString(this._infoParm("surveyFormId", "createFlowVoiceSurveyAsync"), s2), o2 = null != o2 ? o2 : {}, (a2 && s2 || !a2 && !s2 && (null === (d2 = o2.surveyForm) || void 0 === d2 ? void 0 : d2.name) && (null === (p2 = o2.surveyForm) || void 0 === p2 ? void 0 : p2.id)) && this.logErrorAndThrow("Cannot create the flow if both name and ID are provided for the survey form. Please choose one or the other."), a2 || s2 || (null === (_2 = o2.surveyForm) || void 0 === _2 ? void 0 : _2.name) || (null === (h2 = o2.surveyForm) || void 0 === h2 ? void 0 : h2.id) || this.logErrorAndThrow("Cannot create the flow if no value is specified for the survey form name or ID."), ((null === (m2 = o2.surveyForm) || void 0 === m2 ? void 0 : m2.name) || (null === (g2 = o2.surveyForm) || void 0 === g2 ? void 0 : g2.id) && a2) && this.logWarning(`Creation data is being ignored. Using surveyFormName ${a2}`), ((null === (f2 = o2.surveyForm) || void 0 === f2 ? void 0 : f2.name) || (null === (T2 = o2.surveyForm) || void 0 === T2 ? void 0 : T2.id) && s2) && this.logWarning(`Creation data is being ignored. Using surveyFormId ${s2}`), a2 ? o2.surveyForm = { name: a2 } : s2 && (o2.surveyForm = { id: s2 }), this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeVoiceSurvey, "createFlowVoiceSurveyAsync", n3, r3, o2, void 0, l2, c2); } createFlowWorkflowAsync(e3, t3, i3, n3, r3) { return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeWorkflow, "createFlowWorkflowAsync", n3, r3); @@ -104131,28 +112862,38 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeEmailSend, "createFlowEmailSendAsync", n3, r3); } createFlowWorkitemAsync(e3, t3, i3, n3, r3, o2, a2, s2, l2) { - var d2, c2, p2, _2, h2, m2, g2, f2; - return a2 && this._checkItemIsValidLiteralString(this._infoParm("worktypeName", "createFlowWorkitemAsync"), a2), s2 && this._checkItemIsValidLiteralString(this._infoParm("worktypeId", "createFlowWorkitemAsync"), s2), o2 = null != o2 ? o2 : {}, (a2 && s2 || !a2 && !s2 && (null === (d2 = o2.worktype) || void 0 === d2 ? void 0 : d2.name) && (null === (c2 = o2.worktype) || void 0 === c2 ? void 0 : c2.id)) && this.logErrorAndThrow("Cannot create the flow if both worktypeName and worktypeId are provided. Please choose one or the other."), a2 || s2 || (null === (p2 = o2.worktype) || void 0 === p2 ? void 0 : p2.name) || (null === (_2 = o2.worktype) || void 0 === _2 ? void 0 : _2.id) || this.logErrorAndThrow("Cannot create the flow if no value is specified for the worktypeName or worktypeId."), ((null === (h2 = o2.worktype) || void 0 === h2 ? void 0 : h2.name) || (null === (m2 = o2.worktype) || void 0 === m2 ? void 0 : m2.id) && a2) && this.logWarning(`Creation data is being ignored. Using worktypeName ${a2}`), ((null === (g2 = o2.worktype) || void 0 === g2 ? void 0 : g2.name) || (null === (f2 = o2.worktype) || void 0 === f2 ? void 0 : f2.id) && s2) && this.logWarning(`Creation data is being ignored. Using worktypeId ${s2}`), a2 ? o2.worktype = { name: a2 } : s2 && (o2.worktype = { id: s2 }), this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeWorkitem, "createFlowWorkitemAsync", n3, r3, o2, void 0, void 0, l2); + var c2, d2, p2, _2, h2, m2, g2, f2; + return a2 && this._checkItemIsValidLiteralString(this._infoParm("worktypeName", "createFlowWorkitemAsync"), a2), s2 && this._checkItemIsValidLiteralString(this._infoParm("worktypeId", "createFlowWorkitemAsync"), s2), o2 = null != o2 ? o2 : {}, (a2 && s2 || !a2 && !s2 && (null === (c2 = o2.worktype) || void 0 === c2 ? void 0 : c2.name) && (null === (d2 = o2.worktype) || void 0 === d2 ? void 0 : d2.id)) && this.logErrorAndThrow("Cannot create the flow if both worktypeName and worktypeId are provided. Please choose one or the other."), a2 || s2 || (null === (p2 = o2.worktype) || void 0 === p2 ? void 0 : p2.name) || (null === (_2 = o2.worktype) || void 0 === _2 ? void 0 : _2.id) || this.logErrorAndThrow("Cannot create the flow if no value is specified for the worktypeName or worktypeId."), ((null === (h2 = o2.worktype) || void 0 === h2 ? void 0 : h2.name) || (null === (m2 = o2.worktype) || void 0 === m2 ? void 0 : m2.id) && a2) && this.logWarning(`Creation data is being ignored. Using worktypeName ${a2}`), ((null === (g2 = o2.worktype) || void 0 === g2 ? void 0 : g2.name) || (null === (f2 = o2.worktype) || void 0 === f2 ? void 0 : f2.id) && s2) && this.logWarning(`Creation data is being ignored. Using worktypeId ${s2}`), a2 ? o2.worktype = { name: a2 } : s2 && (o2.worktype = { id: s2 }), this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeWorkitem, "createFlowWorkitemAsync", n3, r3, o2, void 0, void 0, l2); } getFlowInfoByFlowIdAsync(e3, t3, i3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowId", "getFlowInfoByFlowIdAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "getFlowInfoByFlowIdAsync"), t3, w.default.FLOW_TYPES_ALL), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "getFlowInfoByFlowIdAsync"), i3, true); + this._checkItemIsValidLiteralString(this._infoParm("flowId", "getFlowInfoByFlowIdAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "getFlowInfoByFlowIdAsync"), t3, G.default.FLOW_TYPES_ALL), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "getFlowInfoByFlowIdAsync"), i3, true); const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "getFlowInfoByFlowIdAsync"), r3 = this.coreFactory.createArchWrapper(n3); - return L.default.executeCallback(this, "getFlowInfoByFlowIdAsync", i3, r3); + return J.default.executeCallback(this, "getFlowInfoByFlowIdAsync", i3, r3); }); } getFlowInfoByFlowNameAsync(e3, t3, i3, r3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowName", "getFlowInfoByFlowNameAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "getFlowInfoByFlowNameAsync"), t3, w.default.FLOW_TYPES_ALL), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "getFlowInfoByFlowNameAsync"), i3, true); - let n3 = false; - r3 && (n3 = ae.archFlowStubbing.canStubFlowType(t3)); + var n3; + this._checkItemIsValidLiteralString(this._infoParm("flowName", "getFlowInfoByFlowNameAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "getFlowInfoByFlowNameAsync"), t3, G.default.FLOW_TYPES_ALL), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "getFlowInfoByFlowNameAsync"), i3, true); + let o2 = false; + if (r3 && (o2 = Ae.archFlowStubbing.canStubFlowType(t3)), r3 && o2) { + const o3 = this._findInMemoryAuthoringFlow(e3, t3); + if (o3) { + this.logNote(`getFlowInfoByFlowNameAsync - returning the in-memory authoring flow '${e3}' (id: '${o3.id}') instead of looking up or creating a stub flow.`); + const t4 = this.coreFactory.createArchWrapper(o3); + (null === (n3 = r3.variables) || void 0 === n3 ? void 0 : n3.length) && Ae.archFlowStubbing.applyStubVariablesToFlow(t4, r3.variables), (0, ve.refreshFlowInfoSchemasFromVariables)(o3); + const a2 = this.coreFactory.createArchWrapper(o3.info); + return J.default.executeCallback(this, "getFlowInfoByFlowNameAsync", i3, a2); + } + } try { const n4 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "getFlowInfoByFlowNameAsync"), r4 = this.coreFactory.createArchWrapper(n4); - return L.default.executeCallback(this, "getFlowInfoByFlowNameAsync", i3, r4); - } catch (o2) { - if (r3 && n3) { - const n4 = r3.defaultLanguage ? r3 : Object.assign(Object.assign({}, r3), { defaultLanguage: "en-us" }); - return yield ae.archFlowStubbing.createStubFlowAsync(t3, e3, n4.division, n4.defaultLanguage, n4), this.getFlowInfoByFlowNameAsync(e3, t3, i3); + return J.default.executeCallback(this, "getFlowInfoByFlowNameAsync", i3, r4); + } catch (n4) { + if (r3 && o2) { + const n5 = r3.defaultLanguage ? r3 : Object.assign(Object.assign({}, r3), { defaultLanguage: "en-us" }); + return yield Ae.archFlowStubbing.createStubFlowAsync(t3, e3, n5.division, n5.defaultLanguage, n5), this.getFlowInfoByFlowNameAsync(e3, t3, i3); } return; } @@ -104160,100 +112901,120 @@ ${e3.stack}`, n3 = [this].concat(i3); } loadFlowByFlowNameAsync(e3, t3, i3, r3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowName", "loadFlowByFlowNameAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "loadFlowByFlowNameAsync"), t3, w.default.FLOW_TYPES_ALL), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "loadFlowByFlowNameAsync"), i3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "loadFlowByFlowNameAsync"), r3, true), (0, oe.isUndefined)(i3) && (i3 = w.default.FLOW_VERSIONS.latest); - const n3 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "loadFlowByFlowNameAsync"), o2 = yield M.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(n3.type, n3, "loadFlowByFlowNameAsync"), n3, i3, "loadFlowByFlowNameAsync"); - return L.default.executeCallback(this, "loadFlowByFlowNameAsync", r3, this.coreFactory.createArchWrapper(o2)); + this._checkItemIsValidLiteralString(this._infoParm("flowName", "loadFlowByFlowNameAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "loadFlowByFlowNameAsync"), t3, G.default.FLOW_TYPES_ALL), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "loadFlowByFlowNameAsync"), i3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "loadFlowByFlowNameAsync"), r3, true), (0, Te.isUndefined)(i3) && (i3 = G.default.FLOW_VERSIONS.latest); + const n3 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "loadFlowByFlowNameAsync"), o2 = yield q.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(n3.type, n3, "loadFlowByFlowNameAsync"), n3, i3, "loadFlowByFlowNameAsync"); + return J.default.executeCallback(this, "loadFlowByFlowNameAsync", r3, this.coreFactory.createArchWrapper(o2)); }); } loadFlowByFlowIdAsync(e3, t3, i3, r3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowId", "loadFlowByFlowIdAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "loadFlowByFlowIdAsync"), t3, w.default.FLOW_TYPES_ALL), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "loadFlowByFlowIdAsync"), i3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "loadFlowByFlowIdAsync"), r3, true), (0, oe.isUndefined)(i3) && (i3 = w.default.FLOW_VERSIONS.latest); - const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "loadFlowByFlowIdAsync"), o2 = yield M.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(n3.type, n3, "loadFlowByFlowIdAsync"), n3, i3, "loadFlowByFlowIdAsync"); - return L.default.executeCallback(this, "loadFlowByFlowIdAsync", r3, this.coreFactory.createArchWrapper(o2)); + this._checkItemIsValidLiteralString(this._infoParm("flowId", "loadFlowByFlowIdAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "loadFlowByFlowIdAsync"), t3, G.default.FLOW_TYPES_ALL), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "loadFlowByFlowIdAsync"), i3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "loadFlowByFlowIdAsync"), r3, true), (0, Te.isUndefined)(i3) && (i3 = G.default.FLOW_VERSIONS.latest); + const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "loadFlowByFlowIdAsync"), o2 = yield q.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(n3.type, n3, "loadFlowByFlowIdAsync"), n3, i3, "loadFlowByFlowIdAsync"); + return J.default.executeCallback(this, "loadFlowByFlowIdAsync", r3, this.coreFactory.createArchWrapper(o2)); }); } loadFlowDefaultInQueueCallAsync(e3, t3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "loadFlowDefaultInQueueCallAsync"), e3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "loadFlowDefaultInQueueCallAsync"), t3, true), (0, oe.isUndefined)(e3) && (e3 = w.default.FLOW_VERSIONS.latest); - const i3 = yield this._getFlowInfoByFlowIdAsync(R.defaultInQueueFlowId, u.flowTypes.flowTypeInQueueCall, "loadFlowDefaultInQueueCallAsync"), n3 = yield M.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(i3.type, i3, "loadFlowDefaultInQueueCallAsync"), i3, e3, "loadFlowDefaultInQueueCallAsync"); - return L.default.executeCallback(this, "loadFlowDefaultInQueueCallAsync", t3, this.coreFactory.createArchWrapper(n3)); + this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "loadFlowDefaultInQueueCallAsync"), e3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "loadFlowDefaultInQueueCallAsync"), t3, true), (0, Te.isUndefined)(e3) && (e3 = G.default.FLOW_VERSIONS.latest); + const i3 = yield this._getFlowInfoByFlowIdAsync(k.defaultInQueueFlowId, u.flowTypes.flowTypeInQueueCall, "loadFlowDefaultInQueueCallAsync"), n3 = yield q.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(i3.type, i3, "loadFlowDefaultInQueueCallAsync"), i3, e3, "loadFlowDefaultInQueueCallAsync"); + return J.default.executeCallback(this, "loadFlowDefaultInQueueCallAsync", t3, this.coreFactory.createArchWrapper(n3)); }); } loadFlowDefaultVoicemailAsync(e3, t3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "loadFlowDefaultVoicemailAsync"), e3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "loadFlowDefaultVoicemailAsync"), t3, true), (0, oe.isUndefined)(e3) && (e3 = w.default.FLOW_VERSIONS.latest); - const i3 = yield this._getFlowInfoByFlowIdAsync(R.defaultVoicemailFlowId, u.flowTypes.flowTypeVoicemail, "loadFlowDefaultVoicemailAsync"), n3 = yield M.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(i3.type, i3, "loadFlowDefaultVoicemailAsync"), i3, e3, "loadFlowDefaultVoicemailAsync"); - return L.default.executeCallback(this, "loadFlowDefaultVoicemailAsync", t3, this.coreFactory.createArchWrapper(n3)); + this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "loadFlowDefaultVoicemailAsync"), e3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "loadFlowDefaultVoicemailAsync"), t3, true), (0, Te.isUndefined)(e3) && (e3 = G.default.FLOW_VERSIONS.latest); + const i3 = yield this._getFlowInfoByFlowIdAsync(k.defaultVoicemailFlowId, u.flowTypes.flowTypeVoicemail, "loadFlowDefaultVoicemailAsync"), n3 = yield q.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(i3.type, i3, "loadFlowDefaultVoicemailAsync"), i3, e3, "loadFlowDefaultVoicemailAsync"); + return J.default.executeCallback(this, "loadFlowDefaultVoicemailAsync", t3, this.coreFactory.createArchWrapper(n3)); }); } loadFlowByFlowInfoAsync(e3, t3, i3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsArchFlowInfo(this._infoParm("flowInfo", "loadFlowByFlowInfoAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "loadFlowByFlowInfoAsync"), t3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "loadFlowByFlowInfoAsync"), i3, true), (0, oe.isUndefined)(t3) && (t3 = w.default.FLOW_VERSIONS.latest); - const n3 = e3._getCoreViewModel(), r3 = yield M.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(n3.type, n3, "loadFlowByFlowInfoAsync"), n3, t3, "loadFlowByFlowInfoAsync"); - return L.default.executeCallback(this, "loadFlowByFlowInfoAsync", i3, this.coreFactory.createArchWrapper(r3)); + this._checkItemIsArchFlowInfo(this._infoParm("flowInfo", "loadFlowByFlowInfoAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "loadFlowByFlowInfoAsync"), t3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "loadFlowByFlowInfoAsync"), i3, true), (0, Te.isUndefined)(t3) && (t3 = G.default.FLOW_VERSIONS.latest); + const n3 = e3._getCoreViewModel(), r3 = yield q.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(n3.type, n3, "loadFlowByFlowInfoAsync"), n3, t3, "loadFlowByFlowInfoAsync"); + return J.default.executeCallback(this, "loadFlowByFlowInfoAsync", i3, this.coreFactory.createArchWrapper(r3)); }); } checkoutFlowByFlowNameAsync(e3, t3, i3, r3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowName", "checkoutFlowByFlowNameAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "checkoutFlowByFlowNameAsync"), t3, w.default.FLOW_TYPES_ALL), this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutFlowByFlowNameAsync"), i3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "checkoutFlowByFlowNameAsync"), r3, true); - const n3 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "checkoutFlowByFlowNameAsync"), o2 = yield M.default._checkoutFlowByFlowInfoAsync(n3, i3, "checkoutFlowByFlowNameAsync"); - return L.default.executeCallback(this, "checkoutFlowByFlowNameAsync", r3, this.coreFactory.createArchWrapper(o2)); + this._checkItemIsValidLiteralString(this._infoParm("flowName", "checkoutFlowByFlowNameAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "checkoutFlowByFlowNameAsync"), t3, G.default.FLOW_TYPES_ALL), this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutFlowByFlowNameAsync"), i3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "checkoutFlowByFlowNameAsync"), r3, true); + const n3 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "checkoutFlowByFlowNameAsync"), o2 = yield q.default._checkoutFlowByFlowInfoAsync(n3, i3, "checkoutFlowByFlowNameAsync"); + return J.default.executeCallback(this, "checkoutFlowByFlowNameAsync", r3, this.coreFactory.createArchWrapper(o2)); }); } checkoutFlowByFlowIdAsync(e3, t3, i3, r3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowId", "checkoutFlowByFlowIdAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "checkoutFlowByFlowIdAsync"), t3, w.default.FLOW_TYPES_ALL), this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutFlowByFlowIdAsync"), i3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "checkoutFlowByFlowIdAsync"), r3, true); - const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "checkoutFlowByFlowIdAsync"), o2 = yield M.default._checkoutFlowByFlowInfoAsync(n3, i3, "checkoutFlowByFlowIdAsync"); - return L.default.executeCallback(this, "checkoutFlowByFlowIdAsync", r3, this.coreFactory.createArchWrapper(o2)); + this._checkItemIsValidLiteralString(this._infoParm("flowId", "checkoutFlowByFlowIdAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "checkoutFlowByFlowIdAsync"), t3, G.default.FLOW_TYPES_ALL), this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutFlowByFlowIdAsync"), i3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "checkoutFlowByFlowIdAsync"), r3, true); + const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "checkoutFlowByFlowIdAsync"), o2 = yield q.default._checkoutFlowByFlowInfoAsync(n3, i3, "checkoutFlowByFlowIdAsync"); + return J.default.executeCallback(this, "checkoutFlowByFlowIdAsync", r3, this.coreFactory.createArchWrapper(o2)); }); } checkoutFlowByFlowInfoAsync(e3, t3, i3) { return n2.__awaiter(this, void 0, void 0, function* () { this._checkItemIsArchFlowInfo(this._infoParm("archFlowInfo", "checkoutFlowByFlowInfoAsync"), e3), this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutFlowByFlowInfoAsync"), t3, true); - const n3 = e3._getCoreViewModel(), r3 = yield M.default._checkoutFlowByFlowInfoAsync(n3, t3, "checkoutFlowByFlowInfoAsync"); - return L.default.executeCallback(this, "checkoutFlowByFlowInfoAsync", i3, this.coreFactory.createArchWrapper(r3)); + const n3 = e3._getCoreViewModel(), r3 = yield q.default._checkoutFlowByFlowInfoAsync(n3, t3, "checkoutFlowByFlowInfoAsync"); + return J.default.executeCallback(this, "checkoutFlowByFlowInfoAsync", i3, this.coreFactory.createArchWrapper(r3)); }); } unlockFlowByFlowNameAsync(e3, t3, i3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowName", "unlockFlowByFlowNameAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "unlockFlowByFlowNameAsync"), t3, w.default.FLOW_TYPES_ALL), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "unlockFlowByFlowNameAsync"), i3, true); - const n3 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "unlockFlowByFlowNameAsync"), r3 = yield M.default._unlockFlowAsync(n3); - return L.default.executeCallback(this, "unlockFlowByFlowNameAsync", i3, this.coreFactory.createArchWrapper(r3)); + this._checkItemIsValidLiteralString(this._infoParm("flowName", "unlockFlowByFlowNameAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "unlockFlowByFlowNameAsync"), t3, G.default.FLOW_TYPES_ALL), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "unlockFlowByFlowNameAsync"), i3, true); + const n3 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "unlockFlowByFlowNameAsync"), r3 = yield q.default._unlockFlowAsync(n3); + return J.default.executeCallback(this, "unlockFlowByFlowNameAsync", i3, this.coreFactory.createArchWrapper(r3)); }); } unlockFlowByFlowIdAsync(e3, t3, i3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowId", "unlockFlowByFlowIdAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "unlockFlowByFlowIdAsync"), t3, w.default.FLOW_TYPES_ALL), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "unlockFlowByFlowIdAsync"), i3, true); - const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "unlockFlowByFlowIdAsync"), r3 = yield M.default._unlockFlowAsync(n3); - return L.default.executeCallback(this, "unlockFlowByFlowIdAsync", i3, this.coreFactory.createArchWrapper(r3)); + this._checkItemIsValidLiteralString(this._infoParm("flowId", "unlockFlowByFlowIdAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "unlockFlowByFlowIdAsync"), t3, G.default.FLOW_TYPES_ALL), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "unlockFlowByFlowIdAsync"), i3, true); + const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "unlockFlowByFlowIdAsync"), r3 = yield q.default._unlockFlowAsync(n3); + return J.default.executeCallback(this, "unlockFlowByFlowIdAsync", i3, this.coreFactory.createArchWrapper(r3)); }); } unlockFlowByFlowInfoAsync(e3, t3) { return n2.__awaiter(this, void 0, void 0, function* () { this._checkItemIsArchFlowInfo(this._infoParm("archFlowInfo", "unlockFlowByFlowInfoAsync"), e3); - const i3 = e3._getCoreViewModel(), n3 = yield M.default._unlockFlowAsync(i3); - return L.default.executeCallback(this, "unlockFlowByFlowInfoAsync", t3, this.coreFactory.createArchWrapper(n3)); + const i3 = e3._getCoreViewModel(), n3 = yield q.default._unlockFlowAsync(i3); + return J.default.executeCallback(this, "unlockFlowByFlowInfoAsync", t3, this.coreFactory.createArchWrapper(n3)); }); } checkoutAndLoadFlowByFlowNameAsync(e3, t3, i3, r3, o2) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowName", "checkoutAndLoadFlowByFlowNameAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "checkoutAndLoadFlowByFlowNameAsync"), t3, w.default.FLOW_TYPES_ALL), this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutAndLoadFlowByFlowNameAsync"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "checkoutAndLoadFlowByFlowNameAsync"), r3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "checkoutAndLoadFlowByFlowNameAsync"), o2, true), (0, oe.isUndefined)(i3) && (i3 = false), (0, oe.isUndefined)(r3) && (r3 = w.default.FLOW_VERSIONS.latest); - const n3 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "checkoutAndLoadFlowByFlowNameAsync"), a2 = yield M.default._checkoutFlowByFlowInfoAsync(n3, i3, "checkoutAndLoadFlowByFlowNameAsync"), s2 = yield M.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(a2.type.toLowerCase(), a2, "checkoutAndLoadFlowByFlowNameAsync"), a2, r3, "checkoutAndLoadFlowByFlowNameAsync", void 0, true); - return L.default.executeCallback(this, "checkoutAndLoadFlowByFlowNameAsync", o2, this.coreFactory.createArchWrapper(s2)); + this._checkItemIsValidLiteralString(this._infoParm("flowName", "checkoutAndLoadFlowByFlowNameAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "checkoutAndLoadFlowByFlowNameAsync"), t3, G.default.FLOW_TYPES_ALL), this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutAndLoadFlowByFlowNameAsync"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "checkoutAndLoadFlowByFlowNameAsync"), r3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "checkoutAndLoadFlowByFlowNameAsync"), o2, true), (0, Te.isUndefined)(i3) && (i3 = false), (0, Te.isUndefined)(r3) && (r3 = G.default.FLOW_VERSIONS.latest); + const n3 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "checkoutAndLoadFlowByFlowNameAsync"), a2 = yield q.default._checkoutFlowByFlowInfoAsync(n3, i3, "checkoutAndLoadFlowByFlowNameAsync"), s2 = yield q.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(a2.type.toLowerCase(), a2, "checkoutAndLoadFlowByFlowNameAsync"), a2, r3, "checkoutAndLoadFlowByFlowNameAsync", void 0, true); + return J.default.executeCallback(this, "checkoutAndLoadFlowByFlowNameAsync", o2, this.coreFactory.createArchWrapper(s2)); }); } checkoutAndLoadFlowByFlowIdAsync(e3, t3, i3, r3, o2) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("flowId", "checkoutAndLoadFlowByFlowIdAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "checkoutAndLoadFlowByFlowIdAsync"), t3, w.default.FLOW_TYPES_ALL), this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutAndLoadFlowByFlowIdAsync"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "checkoutAndLoadFlowByFlowIdAsync"), r3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "checkoutAndLoadFlowByFlowIdAsync"), o2, true), (0, oe.isUndefined)(i3) && (i3 = false), (0, oe.isUndefined)(r3) && (r3 = w.default.FLOW_VERSIONS.latest); - const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "checkoutAndLoadFlowByFlowIdAsync"), a2 = yield M.default._checkoutFlowByFlowInfoAsync(n3, i3, "checkoutAndLoadFlowByFlowIdAsync"), s2 = yield M.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(a2.type.toLowerCase(), a2, "checkoutAndLoadFlowByFlowIdAsync"), a2, r3, "checkoutAndLoadFlowByFlowIdAsync", void 0, true); - return L.default.executeCallback(this, "checkoutAndLoadFlowByFlowIdAsync", o2, this.coreFactory.createArchWrapper(s2)); + this._checkItemIsValidLiteralString(this._infoParm("flowId", "checkoutAndLoadFlowByFlowIdAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "checkoutAndLoadFlowByFlowIdAsync"), t3, G.default.FLOW_TYPES_ALL), this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutAndLoadFlowByFlowIdAsync"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "checkoutAndLoadFlowByFlowIdAsync"), r3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "checkoutAndLoadFlowByFlowIdAsync"), o2, true), (0, Te.isUndefined)(i3) && (i3 = false), (0, Te.isUndefined)(r3) && (r3 = G.default.FLOW_VERSIONS.latest); + const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "checkoutAndLoadFlowByFlowIdAsync"), a2 = yield q.default._checkoutFlowByFlowInfoAsync(n3, i3, "checkoutAndLoadFlowByFlowIdAsync"), s2 = yield q.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(a2.type.toLowerCase(), a2, "checkoutAndLoadFlowByFlowIdAsync"), a2, r3, "checkoutAndLoadFlowByFlowIdAsync", void 0, true); + return J.default.executeCallback(this, "checkoutAndLoadFlowByFlowIdAsync", o2, this.coreFactory.createArchWrapper(s2)); }); } checkoutAndLoadFlowByFlowInfoAsync(e3, t3, i3, r3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsArchFlowInfo(this._infoParm("flowInfo", "checkoutAndLoadFlowByFlowInfoAsync"), e3), this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutAndLoadFlowByFlowInfoAsync"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "checkoutAndLoadFlowByFlowInfoAsync"), i3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "loadFlowByFlowInfoAsync"), r3, true), (0, oe.isUndefined)(t3) && (t3 = false), (0, oe.isUndefined)(i3) && (i3 = w.default.FLOW_VERSIONS.latest); - const n3 = e3._getCoreViewModel(), o2 = yield M.default._checkoutFlowByFlowInfoAsync(n3, t3, "checkoutAndLoadFlowByFlowInfoAsync"), a2 = yield M.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(o2.type.toLowerCase(), o2, "checkoutAndLoadFlowByFlowInfoAsync"), o2, i3, "checkoutAndLoadFlowByFlowInfoAsync", void 0, true); - return L.default.executeCallback(this, "checkoutAndLoadFlowByFlowInfoAsync", r3, this.coreFactory.createArchWrapper(a2)); + this._checkItemIsArchFlowInfo(this._infoParm("flowInfo", "checkoutAndLoadFlowByFlowInfoAsync"), e3), this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutAndLoadFlowByFlowInfoAsync"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("flowVersion", "checkoutAndLoadFlowByFlowInfoAsync"), i3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "loadFlowByFlowInfoAsync"), r3, true), (0, Te.isUndefined)(t3) && (t3 = false), (0, Te.isUndefined)(i3) && (i3 = G.default.FLOW_VERSIONS.latest); + const n3 = e3._getCoreViewModel(), o2 = yield q.default._checkoutFlowByFlowInfoAsync(n3, t3, "checkoutAndLoadFlowByFlowInfoAsync"), a2 = yield q.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(o2.type.toLowerCase(), o2, "checkoutAndLoadFlowByFlowInfoAsync"), o2, i3, "checkoutAndLoadFlowByFlowInfoAsync", void 0, true); + return J.default.executeCallback(this, "checkoutAndLoadFlowByFlowInfoAsync", r3, this.coreFactory.createArchWrapper(a2)); + }); + } + createFromFlowYamlFile(e3, t3, r3, o2, a2) { + return n2.__awaiter(this, void 0, void 0, function* () { + const n3 = "createFromFlowYamlFile"; + this._checkMethodCallFeatureIsAvailable(this._infoMethod(n3), N.default.changeSetsFeaturePhase2); + const s2 = this._infoParm("filePath", n3); + this._checkItemIsValidLiteralString(s2, e3), this._checkItem(s2, !e3.trim().length, "the filePath parameter must contain at least one character after trimming whitespace."); + const l2 = i2(79896), u2 = i2(16928), d2 = (0, M.resolveFlowYamlFilePath)(e3); + this.logItemNote(s2, `Resolved flow YAML file path: ${d2}`), l2.existsSync(d2) || this._itemIsInvalid(s2, `the flow YAML file does not exist at path '${d2}'.`); + const p2 = l2.readFileSync(d2, "utf8"), _2 = (0, P.parseFlowYamlAndSubstitute)(p2, a2), h2 = Object.keys(_2); + 1 !== h2.length && this._itemIsInvalid(s2, `flow YAML must contain exactly one top-level flow wrapper key; found: ${h2.join(", ")}.`); + const m2 = h2[0], g2 = (0, c.getFlowTypeIdFromYamlFlowTypeId)(m2); + g2 || this._itemIsInvalid(s2, `unsupported or unknown flow YAML wrapper key '${m2}'.`); + const f2 = _2[m2]; + (0, me.isNonArrayObject)(f2) || this._itemIsInvalid(s2, `flow YAML wrapper '${m2}' must map to an object body.`); + const T2 = f2; + "string" == typeof T2.name && T2.name.trim().length || (T2.name = u2.basename(d2, u2.extname(d2))); + const y2 = r3 || j.default.englishUnitedStates; + return this._createFlowFromParsedYamlModelAsync(_2, m2, g2, n3, t3, y2, o2); }); } createFlowFromDefinitionAsync(e3, t3, i3, n3, r3, o2, a2, s2, l2) { @@ -104264,8 +113025,46 @@ ${e3.stack}`, n3 = [this].concat(i3); } return this.createFlowAsync(t3, i3, n3, e3.type, "createFlowFromDefinitionAsync", r3, o2, a2, s2, l2); } + createFlowFromContentAsync(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i4 = "createFlowFromContentAsync"; + this._checkMethodCallFeatureIsAvailable(this._infoMethod(i4), N.default.changeSetsFeaturePhase2), this._checkItemIsValidLiteralString(this._infoParm("content", i4), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", i4), t3, true); + const n3 = new Se.Parser().parse(e3); + if (n3.errors.length > 0) { + const e4 = n3.errors.map((e5) => e5.message).join("; "); + this.logErrorAndThrow(`createFlowFromContentAsync: Failed to parse content: ${e4}`); + } + const r3 = ye.FlowTypeResolver.detectFromJson(n3.json); + r3 || this.logErrorAndThrow("createFlowFromContentAsync: No recognized flow type found in content. The content must have a top-level key that is a recognized flow type (e.g., inboundCall, workflow, bot)."); + const o2 = ye.FlowTypeResolver.resolve(r3); + o2 || this.logErrorAndThrow(`createFlowFromContentAsync: Unrecognized flow type '${r3}'.`); + const a2 = n3.json[r3]; + (0, me.isNonArrayObject)(a2) || this.logErrorAndThrow(`createFlowFromContentAsync: flow YAML wrapper '${r3}' must map to an object body.`); + const s2 = a2; + return "string" == typeof s2.name && s2.name.trim().length || (s2.name = "Imported Flow"), this._createFlowFromParsedYamlModelAsync(n3.json, r3, o2, i4, t3, void 0, void 0); + }); + } + _createFlowFromParsedYamlModelAsync(e3, t3, i3, r3, o2, a2, s2) { + return n2.__awaiter(this, void 0, void 0, function* () { + const l2 = e3[t3], u2 = this.defaultFlowCreationDivision ? { id: this.defaultFlowCreationDivision.id, name: this.defaultFlowCreationDivision._getCoreViewModel().name } : void 0, c2 = yield (0, F.validateTopLevelFlowYaml)({ canonicalFlowType: i3, defaultFlowCreationDivision: u2, flowBody: l2, mode: "create", resolveArchitectLanguageTag: (e4) => R.langCodeIsGeneric(e4) ? null : R.getProperCasedLangCode(e4), resolveDivision: U.resolveScriptingDivisionByName, yamlFlowTypeKey: t3 }); + c2.errors.length && this.logErrorAndThrow(c2.errors[0].message); + const d2 = (0, V.createScriptingCreateFlowFromModelContext)(t3), p2 = { isFlowTypeAvailable: (e4) => O.default.getFlowTypeIsAvailable(e4), resolveDivision: U.resolveScriptingDivisionByName, defaultDivision: u2, createFlow: (e4) => n2.__awaiter(this, [e4], void 0, function* ({ canonicalFlowType: e5, name: t4, description: i4, divisionId: n3 }) { + let o3 = s2; + return !o3 && n3 && (o3 = J.default.orgInfo.getDivisionById(n3)), this.createFlowAsync(t4, i4, a2, e5, r3, void 0, o3); + }), configureFlowFromModel: (e4, t4) => n2.__awaiter(this, void 0, void 0, function* () { + const n3 = e4; + yield (0, D.importMergedYamlBodyIntoFlowViewModel)(n3._getCoreViewModel(), t4, i3); + }) }, { result: _2, errorMessages: h2 } = yield (0, B.withCreateFlowFromModelErrorCapture)(d2, () => (0, L.createFlowFromModel)(e3, x.ModelFormat.FlowYaml, d2, p2)); + if (!_2.success || !_2.flow) { + const e4 = h2[0] || `${r3}: unable to create flow from YAML model.`; + this.logErrorAndThrow(e4); + } + const m2 = _2.flow; + return J.default.executeCallback(this, r3, o2, m2); + }); + } } - t2.ArchFactoryFlows = le, t2.default = new le(); + t2.ArchFactoryFlows = Oe, t2.default = new Oe(); }, 89069: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -104362,7 +113161,7 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importStar(i2(63352)), o = i2(14394), a = i2(36128), s = n2.__importStar(i2(1115)), l = n2.__importDefault(i2(49487)), u = i2(47957); - class d extends l.default { + class c extends l.default { constructor(e3) { super(e3); } @@ -104371,10 +113170,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return e3.expression.mode = r2.variable, e3.expression.setAsOutput(), s.validateAction(this, true, true), e3.id; } static get managedProperties() { - return [{ property: "variables", namedItems: true, isOutput: true, options: a.NameValuePairsOptions.create((e3) => e3.setAddButtonLabel(u.getAttributes.addAttributeLabel).setSectionLabel(u.setAttributes.attribute).setValueLabel(u.getAttributes.variableLabel)), yamlOptions: d.createYamlOptions("variables", (e3) => e3.setPropertyName("attributes").setNameValuePairShouldUseVariableProperty(true).setWrappedCollectionItemName("attribute")) }]; + return [{ property: "variables", namedItems: true, isOutput: true, options: a.NameValuePairsOptions.create((e3) => e3.setAddButtonLabel(u.getAttributes.addAttributeLabel).setSectionLabel(u.setAttributes.attribute).setValueLabel(u.getAttributes.variableLabel)), yamlOptions: c.createYamlOptions("variables", (e3) => e3.setPropertyName("attributes").setNameValuePairShouldUseVariableProperty(true).setWrappedCollectionItemName("attribute")) }]; } } - t2.default = d; + t2.default = c; }, 89240: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseLibraryList = void 0; @@ -104441,13 +113240,13 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 89599: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.conversationSummarySettingManager = t2.ConversationSummarySettingManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(84556)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(47532)), u = n2.__importDefault(i2(78982)), d = i2(47957), c = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(84556)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(47532)), u = n2.__importDefault(i2(78982)), c = i2(47957), d = i2(27862); class p extends l.default { get dependencyType() { - return c.ConversationSummarySetting; + return d.ConversationSummarySetting; } constructor() { - super(), this.topic = s.getTopic("ConversationSummarySettingManager"), this.apiCallList = r2.getConversationSummarySettings, this.apiCallSingle = r2.getConversationSummarySetting, this._rawServerCache = {}, this.className = "ConversationSummarySettingManager", this.defaultMatchingStyle = a.startsWith, this.defaultPageSize = 100, this.dependencyContext = d.customNodes.virtualAgentSettings.conversationSummarySettingsTitle, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "ConversationSummarySetting", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this.searchField = "nameContains", this.searchWildcardSupport = false, this._initialize(), o.serviceListen(o.cleanUpFlow, () => this.resetState()); + super(), this.topic = s.getTopic("ConversationSummarySettingManager"), this.apiCallList = r2.getConversationSummarySettings, this.apiCallSingle = r2.getConversationSummarySetting, this._rawServerCache = {}, this.className = "ConversationSummarySettingManager", this.defaultMatchingStyle = a.startsWith, this.defaultPageSize = 100, this.dependencyContext = c.customNodes.virtualAgentSettings.conversationSummarySettingsTitle, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "ConversationSummarySetting", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this.searchField = "nameContains", this.searchWildcardSupport = false, this._initialize(), o.serviceListen(o.cleanUpFlow, () => this.resetState()); } _createItemViewModel(e3) { return new u.default(e3); @@ -104456,8 +113255,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.ConversationSummarySettingManager = p, t2.conversationSummarySettingManager = new p(); }, 89690: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(19384), a = i2(12179), s = i2(12457), l = n2.__importDefault(i2(97891)), u = i2(24383), d = i2(4333), c = n2.__importDefault(i2(5730)), p = i2(47957); - class _ extends c.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(19384), a = i2(12179), s = i2(12457), l = n2.__importDefault(i2(97891)), u = i2(24383), c = i2(4333), d = n2.__importDefault(i2(5730)), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends d.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -104471,7 +113270,7 @@ ${e3.stack}`, n3 = [this].concat(i3); super.initialize(); } getDetails() { - return this.stateName ? new s.ActionDetails([p.state.label], [this.stateName]) : null; + return this.stateName ? new s.ActionDetails([_.state.label], [this.stateName]) : null; } linkState(e3) { this.parentFlow.tryRemoveUiMetadataInfo(this, "state", this.stateReference, [this.model.__type], "stateReference", false), e3 ? (this.parentFlow.setUiMetadataInfo("state", { id: e3.id, name: e3.name }), this.stateName = e3.name, this.stateReference = e3.id) : (this.stateName = void 0, this.stateReference = void 0); @@ -104479,20 +113278,20 @@ ${e3.stack}`, n3 = [this].concat(i3); search(e3) { super.search(e3); const t3 = o.flowElementRegistrationService.getItemById(this.parentFlow, this.stateReference); - t3 && e3.checkText(this, t3.name, p.state.label); + t3 && e3.checkText(this, t3.name, _.state.label); } static get managedProperties() { - return [{ property: "state", createDetails: d.ContainerActionProperty.createCreateDetails({ modelIdPropName: "stateReference", modelNamePropName: "stateName", itemDoesNotExistBaseString: p.state.label, invalidStringText: p.state.invalidReference, noReferenceString: p.state.noReference, referencesStates: true, validReferenceCallback: (e3) => { - if (!e3 || !e3.isState) return { error: p.state.invalidReference }; - } }), yamlOptions: _.createYamlOptions("state", (e3) => e3.setPropertyName("targetStateRef")) }]; + return [{ property: "state", createDetails: c.ContainerActionProperty.createCreateDetails({ modelIdPropName: "stateReference", modelNamePropName: "stateName", itemDoesNotExistBaseString: _.state.label, invalidStringText: _.state.invalidReference, noReferenceString: _.state.noReference, referencesStates: true, validReferenceCallback: (e3) => { + if (!e3 || !e3.isState) return { error: _.state.invalidReference }; + } }), yamlOptions: h.createYamlOptions("state", (e3) => e3.setPropertyName("targetStateRef")) }]; } validate(e3) { super.validate(e3); } } - _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: a.helpTopics.actions.changeState, modelClass: i2(15948), name: p.actions.changeState, scriptingName: "ArchActionChangeState", availabilityCallback: function(e3, t3, i3) { + h.info = l.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: a.helpTopics.actions.changeState, modelClass: i2(15948), name: _.actions.changeState, scriptingName: "ArchActionChangeState", availabilityCallback: function(e3, t3, i3) { return !(!i3 || !t3.isState || t3.isStartUpObject && r2.flowTypes.isInQueueAutomateFlowType(e3)); - }, termination: u.terminatesState }), t2.A = _; + }, termination: u.terminatesState, modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 89720: (e2, t2, i2) => { const n2 = i2(57731), r2 = i2(47957), o = {}; function a(e3, t3) { @@ -104570,29 +113369,29 @@ ${e3.stack}`, n3 = [this].concat(i3); return n3.topic.info(`Received flow info - type:'${i3.type}', id: '${i3.id}'`), n3; }); }, t2.getFullFlow = function(e3) { - return e3.type === a.flowTypes.flowTypeBot ? new s.default(e3) : e3.type === a.flowTypes.flowTypeCommonModule ? new l.default(e3) : e3.type === a.flowTypes.flowTypeDigitalBot ? new u.default(e3) : e3.type === a.flowTypes.flowTypeEmailSend ? new c.default(e3) : e3.type === a.flowTypes.flowTypeOutboundCall ? new S.default(e3) : e3.type === a.flowTypes.flowTypeInQueueCall ? new f.default(e3) : e3.type === a.flowTypes.flowTypeSecureCall ? new A.default(e3) : e3.type === a.flowTypes.flowTypeInboundEmail ? new m.default(e3) : e3.type === a.flowTypes.flowTypeSurveyInvite ? new N.default(e3) : e3.type === a.flowTypes.flowTypeInboundCall ? new _.default(e3) : e3.type === a.flowTypes.flowTypeInboundChat ? new h.default(e3) : e3.type === a.flowTypes.flowTypeInboundShortMessage ? new g.default(e3) : e3.type === a.flowTypes.flowTypeWorkflow ? new C.default(e3) : e3.type === a.flowTypes.flowTypeWorkitem ? new b.default(e3) : e3.type === a.flowTypes.flowTypeInQueueEmail ? new T.default(e3) : e3.type === a.flowTypes.flowTypeInQueueShortMessage ? new y.default(e3) : e3.type === a.flowTypes.flowTypeVoice ? new O.default(e3) : e3.type === a.flowTypes.flowTypeVoiceSurvey ? new v.default(e3) : e3.type === a.flowTypes.flowTypeVoicemail ? new I.default(e3) : e3.type === a.flowTypes.flowTypeVoiceSurvey ? new v.default(e3) : void console.error((0, r2.sprintf)("Type not supported for flow retrieval: %s", e3.type)); + return e3.type === a.flowTypes.flowTypeBot ? new s.default(e3) : e3.type === a.flowTypes.flowTypeCommonModule ? new l.default(e3) : e3.type === a.flowTypes.flowTypeDigitalBot ? new u.default(e3) : e3.type === a.flowTypes.flowTypeEmailSend ? new d.default(e3) : e3.type === a.flowTypes.flowTypeOutboundCall ? new S.default(e3) : e3.type === a.flowTypes.flowTypeInQueueCall ? new f.default(e3) : e3.type === a.flowTypes.flowTypeSecureCall ? new A.default(e3) : e3.type === a.flowTypes.flowTypeInboundEmail ? new m.default(e3) : e3.type === a.flowTypes.flowTypeSurveyInvite ? new N.default(e3) : e3.type === a.flowTypes.flowTypeInboundCall ? new _.default(e3) : e3.type === a.flowTypes.flowTypeInboundChat ? new h.default(e3) : e3.type === a.flowTypes.flowTypeInboundShortMessage ? new g.default(e3) : e3.type === a.flowTypes.flowTypeWorkflow ? new C.default(e3) : e3.type === a.flowTypes.flowTypeWorkitem ? new b.default(e3) : e3.type === a.flowTypes.flowTypeInQueueEmail ? new T.default(e3) : e3.type === a.flowTypes.flowTypeInQueueShortMessage ? new y.default(e3) : e3.type === a.flowTypes.flowTypeVoice ? new v.default(e3) : e3.type === a.flowTypes.flowTypeVoiceSurvey ? new I.default(e3) : e3.type === a.flowTypes.flowTypeVoicemail ? new O.default(e3) : e3.type === a.flowTypes.flowTypeVoiceSurvey ? new I.default(e3) : void console.error((0, r2.sprintf)("Type not supported for flow retrieval: %s", e3.type)); }, t2.makeReplayUrlFromFlowInstanceData = function(e3, t3, i3, n3) { - return R.ParameterValidator.expectString(e3, () => E.ParameterInfo.createFunctionParameter(M, "makeReplayUrlFromFlowInstanceData", "flowInstanceId")), R.ParameterValidator.expectString(t3, () => E.ParameterInfo.createFunctionParameter(M, "makeReplayUrlFromFlowInstanceData", "flowVersion")), R.ParameterValidator.expectString(i3, () => E.ParameterInfo.createFunctionParameter(M, "makeReplayUrlFromFlowInstanceData", "flowId")), R.ParameterValidator.expectFlowType(n3, () => E.ParameterInfo.createFunctionParameter(M, "makeReplayUrlFromFlowInstanceData", "flowType")), F(e3, t3, i3, n3); + return w.ParameterValidator.expectString(e3, () => E.ParameterInfo.createFunctionParameter(M, "makeReplayUrlFromFlowInstanceData", "flowInstanceId")), w.ParameterValidator.expectString(t3, () => E.ParameterInfo.createFunctionParameter(M, "makeReplayUrlFromFlowInstanceData", "flowVersion")), w.ParameterValidator.expectString(i3, () => E.ParameterInfo.createFunctionParameter(M, "makeReplayUrlFromFlowInstanceData", "flowId")), w.ParameterValidator.expectFlowType(n3, () => E.ParameterInfo.createFunctionParameter(M, "makeReplayUrlFromFlowInstanceData", "flowType")), F(e3, t3, i3, n3); }, t2.makeReplayUrlFromFlowPreview = function(e3) { const t3 = null == e3 ? void 0 : e3.previewedFlowInfo; if (t3) return F(t3.executionId, t3.flowVersion, t3.flowId, t3.flowType); }; - const n2 = i2(31635), r2 = i2(17604), o = i2(24032), a = i2(96618), s = n2.__importDefault(i2(84433)), l = n2.__importDefault(i2(60571)), u = n2.__importDefault(i2(31375)), d = n2.__importStar(i2(35515)), c = n2.__importDefault(i2(37824)), p = n2.__importDefault(i2(90396)), _ = n2.__importDefault(i2(54625)), h = n2.__importDefault(i2(22999)), m = n2.__importDefault(i2(65641)), g = n2.__importDefault(i2(55974)), f = n2.__importDefault(i2(24212)), T = n2.__importDefault(i2(44130)), y = n2.__importDefault(i2(58407)), S = n2.__importDefault(i2(40192)), A = n2.__importDefault(i2(44231)), N = n2.__importDefault(i2(83737)), O = n2.__importDefault(i2(74920)), I = n2.__importDefault(i2(98253)), v = n2.__importDefault(i2(66350)), C = n2.__importDefault(i2(71191)), b = n2.__importDefault(i2(43314)), E = i2(55909), R = i2(33951), w = i2(97340), D = i2(37345), P = (0, o.getTopic)("flowListHelper"), M = "flowHelper"; + const n2 = i2(31635), r2 = i2(17604), o = i2(24032), a = i2(96618), s = n2.__importDefault(i2(84433)), l = n2.__importDefault(i2(60571)), u = n2.__importDefault(i2(31375)), c = n2.__importStar(i2(35515)), d = n2.__importDefault(i2(37824)), p = n2.__importDefault(i2(90396)), _ = n2.__importDefault(i2(54625)), h = n2.__importDefault(i2(22999)), m = n2.__importDefault(i2(65641)), g = n2.__importDefault(i2(55974)), f = n2.__importDefault(i2(24212)), T = n2.__importDefault(i2(44130)), y = n2.__importDefault(i2(58407)), S = n2.__importDefault(i2(40192)), A = n2.__importDefault(i2(44231)), N = n2.__importDefault(i2(83737)), v = n2.__importDefault(i2(74920)), O = n2.__importDefault(i2(98253)), I = n2.__importDefault(i2(66350)), C = n2.__importDefault(i2(71191)), b = n2.__importDefault(i2(43314)), E = i2(55909), w = i2(33951), R = i2(97340), D = i2(37345), P = (0, o.getTopic)("flowListHelper"), M = "flowHelper"; function F(e3, t3, i3, n3) { if (!(n3 && i3 && e3 && t3)) return; - const r3 = `https://${d.values.host}${window.location.pathname}`; - return w.UrlBuilder.create(r3).addSegment("#").addSegment("flowInstance").addSegment(e3).render(); + const r3 = `https://${c.values.host}${window.location.pathname}`; + return R.UrlBuilder.create(r3).addSegment("#").addSegment("flowInstance").addSegment(e3).render(); } }, 89917: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.CustomJsonIdentifierInfo = void 0; const n2 = i2(31635), r2 = i2(79519), o = i2(79519), a = n2.__importDefault(i2(73198)), s = i2(66314), l = i2(66314), u = i2(66314); - class d { + class c { constructor(e3) { this._model = e3; } static create(e3) { - return new d((0, l.getCustomJsonInfoForDataTypeStr)(e3)); + return new c((0, l.getCustomJsonInfoForDataTypeStr)(e3)); } static createFromDataTypeDef(e3) { return this.create(null == e3 ? void 0 : e3.dataTypeId); @@ -104640,6 +113439,9 @@ ${e3.stack}`, n3 = [this].concat(i3); get isContextSchemaData() { return this.context === r2.CustomJsonContext.schemaData; } + get isContextSchemaDataPatch() { + return this.context === r2.CustomJsonContext.schemaDataPatch; + } get isContextNone() { return this.context === r2.CustomJsonContext.none; } @@ -104670,11 +113472,19 @@ ${e3.stack}`, n3 = [this].concat(i3); get subIdentifier() { return this._model.subIdentifier; } + getEntityNameWithoutContext(e3) { + var t3; + if (e3) { + const i3 = e3.split("-"); + return i3.pop(), null === (t3 = i3.join("-")) || void 0 === t3 ? void 0 : t3.trim(); + } + return this.subIdentifier; + } get worktypeSchemaId() { if (this.isNamespaceWorktype) return this.identifier; } } - t2.CustomJsonIdentifierInfo = d; + t2.CustomJsonIdentifierInfo = c; }, 89965: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -104718,25 +113528,25 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 90037: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.windowTime = void 0; - var n2 = i2(76808), r2 = i2(62326), o = i2(69879), a = i2(65212), s = i2(17214), l = i2(54830), u = i2(26404), d = i2(28619); + var n2 = i2(76808), r2 = i2(62326), o = i2(69879), a = i2(65212), s = i2(17214), l = i2(54830), u = i2(26404), c = i2(28619); t2.windowTime = function(e3) { - for (var t3, i3, c = [], p = 1; p < arguments.length; p++) c[p - 1] = arguments[p]; - var _ = null !== (t3 = u.popScheduler(c)) && void 0 !== t3 ? t3 : r2.asyncScheduler, h = null !== (i3 = c[0]) && void 0 !== i3 ? i3 : null, m = c[1] || 1 / 0; + for (var t3, i3, d = [], p = 1; p < arguments.length; p++) d[p - 1] = arguments[p]; + var _ = null !== (t3 = u.popScheduler(d)) && void 0 !== t3 ? t3 : r2.asyncScheduler, h = null !== (i3 = d[0]) && void 0 !== i3 ? i3 : null, m = d[1] || 1 / 0; return a.operate(function(t4, i4) { var r3 = [], a2 = false, u2 = function(e4) { var t5 = e4.window, i5 = e4.subs; - t5.complete(), i5.unsubscribe(), l.arrRemove(r3, e4), a2 && c2(); - }, c2 = function() { + t5.complete(), i5.unsubscribe(), l.arrRemove(r3, e4), a2 && d2(); + }, d2 = function() { if (r3) { var t5 = new o.Subscription(); i4.add(t5); var a3 = new n2.Subject(), s2 = { window: a3, subs: t5, seen: 0 }; - r3.push(s2), i4.next(a3.asObservable()), d.executeSchedule(t5, _, function() { + r3.push(s2), i4.next(a3.asObservable()), c.executeSchedule(t5, _, function() { return u2(s2); }, e3); } }; - null !== h && h >= 0 ? d.executeSchedule(i4, _, c2, h, true) : a2 = true, c2(); + null !== h && h >= 0 ? c.executeSchedule(i4, _, d2, h, true) : a2 = true, d2(); var p2 = function(e4) { return r3.slice().forEach(e4); }, g = function(e4) { @@ -104866,10 +113676,10 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 90178: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(28130)), o = n2.__importDefault(i2(61864)), a = n2.__importStar(i2(62829)), s = n2.__importDefault(i2(41510)), l = n2.__importDefault(i2(92140)), u = i2(47957), d = { aiStudio: r2.default.create("category.aiStudio", s.default.genesys.aiStudio, o.default.aiStudio), userInput: r2.default.create("category.userInput", u.actions.ask, o.default.ask), audio: r2.default.create("category.audio", u.audio.audioLabel, o.default.playAudio), bot: r2.default.create("category.bot", u.actions.botState, o.default.bot), common: r2.default.create("category.common", u.actions.common, o.default.common), communication: r2.default.create("category.communication", u.actions.communicate, o.default.communication), conversation: r2.default.create("category.conversation", u.actions.conversation, o.default.conversation), customerSecureData: r2.default.create("category.customerSecuredData", u.categories.customerSecuredData, o.default.lock), data: r2.default.create("category.data", u.actions.data, o.default.database), dial: r2.default.create("category.dial", u.actions.dial, o.default.dial), disconnect: r2.default.create("category.disconnect", u.actions.disconnect, o.default.disconnect), email: r2.default.create("category.email", u.actions.email, o.default.sendReply), external: r2.default.create("category.external", u.actions.external, o.default.road), find: r2.default.create("category.find", u.categories.find, o.default.find), flow: r2.default.create("category.flow", u.categories.flow, o.default.change), holdMusic: r2.default.create("category.holdMusic", u.actions.holdMusic, o.default.hold), journey: r2.default.create("category.journey", u.categories.journey, o.default.journey), logical: r2.default.create("category.logical", u.actions.logical, o.default.decision), loop: r2.default.create("category.loop", u.actions.loop, o.default.loop), media: r2.default.create("category.media", u.actions.media, o.default.mailbox), menu: r2.default.create("category.menu", u.actions.menu, o.default.menu), returnToAgent: r2.default.create("category.returnToAgent", u.actions.returnToAgent, o.default.terminator), send: r2.default.create("category.send", u.actions.send, o.default.send), state: r2.default.create("category.state", u.actions.state, o.default.state), surveyInvite: r2.default.create("category.surveyInvite", u.actions.surveyInvite, o.default.survey), task: r2.default.create("category.task", u.actions.task, o.default.task), transfer: r2.default.create("category.transfer", u.actions.transfer, o.default.transfer), unknown: r2.default.create("category.unknown", u.actions.unknown, o.default.unknown), wait: r2.default.create("category.wait", u.actions.wait, o.default.duration), workitem: r2.default.create("category.workitem", u.actions.workitem, o.default.workitem) }; - l.default.each(d, function(e3) { + const n2 = i2(31635), r2 = n2.__importDefault(i2(28130)), o = n2.__importDefault(i2(61864)), a = n2.__importStar(i2(62829)), s = n2.__importDefault(i2(41510)), l = n2.__importDefault(i2(92140)), u = i2(47957), c = { aiStudio: r2.default.create("category.aiStudio", s.default.genesys.aiStudio, o.default.aiStudio), userInput: r2.default.create("category.userInput", u.actions.ask, o.default.ask), audio: r2.default.create("category.audio", u.audio.audioLabel, o.default.playAudio), bot: r2.default.create("category.bot", u.actions.botState, o.default.bot), common: r2.default.create("category.common", u.actions.common, o.default.common), communication: r2.default.create("category.communication", u.actions.communicate, o.default.communication), conversation: r2.default.create("category.conversation", u.actions.conversation, o.default.conversation), customerSecureData: r2.default.create("category.customerSecuredData", u.categories.customerSecuredData, o.default.lock), data: r2.default.create("category.data", u.actions.data, o.default.database), dial: r2.default.create("category.dial", u.actions.dial, o.default.dial), disconnect: r2.default.create("category.disconnect", u.actions.disconnect, o.default.disconnect), email: r2.default.create("category.email", u.actions.email, o.default.sendReply), external: r2.default.create("category.external", u.actions.external, o.default.road), find: r2.default.create("category.find", u.categories.find, o.default.find), flow: r2.default.create("category.flow", u.categories.flow, o.default.change), holdMusic: r2.default.create("category.holdMusic", u.actions.holdMusic, o.default.hold), journey: r2.default.create("category.journey", u.categories.journey, o.default.journey), logical: r2.default.create("category.logical", u.actions.logical, o.default.decision), loop: r2.default.create("category.loop", u.actions.loop, o.default.loop), media: r2.default.create("category.media", u.actions.media, o.default.mailbox), menu: r2.default.create("category.menu", u.actions.menu, o.default.menu), returnToAgent: r2.default.create("category.returnToAgent", u.actions.returnToAgent, o.default.terminator), send: r2.default.create("category.send", u.actions.send, o.default.send), state: r2.default.create("category.state", u.actions.state, o.default.state), surveyInvite: r2.default.create("category.surveyInvite", u.actions.surveyInvite, o.default.survey), task: r2.default.create("category.task", u.actions.task, o.default.task), transfer: r2.default.create("category.transfer", u.actions.transfer, o.default.transfer), unknown: r2.default.create("category.unknown", u.actions.unknown, o.default.unknown), wait: r2.default.create("category.wait", u.actions.wait, o.default.duration), workitem: r2.default.create("category.workitem", u.actions.workitem, o.default.workitem) }; + l.default.each(c, function(e3) { a.registerActionCategory(e3); - }), t2.default = d; + }), t2.default = c; }, 90196: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -104892,6 +113702,24 @@ ${e3.stack}`, n3 = [this].concat(i3); } } t2.default = r2; + }, 90205: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ChangeSetResultObject = void 0, t2.isChangeSetResultObject = function(e3) { + return e3 instanceof r2; + }; + const n2 = i2(84464); + class r2 { + constructor(e3, t3, i3, n3, r3) { + this.id = e3, this.name = t3, this.trackingId = i3, this.actionTypeName = n3, this.containerName = r3; + } + getAction(e3) { + return n2.actionRegistrationService.getActionById(e3, this.id); + } + } + t2.ChangeSetResultObject = r2; + }, 90290: (e2) => { + "use strict"; + e2.exports = require("async_hooks"); }, 90342: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseTypeWithDate = void 0; @@ -104948,9 +113776,11 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = r2; }, 90396: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(74359)), o = n2.__importStar(i2(62241)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(92140)), l = n2.__importDefault(i2(55006)), u = n2.__importDefault(i2(98114)), d = n2.__importDefault(i2(57606)), c = i2(55299), p = i2(79364), _ = i2(1234), h = i2(96618), m = i2(19975), g = i2(80295), f = i2(18638), T = i2(47957), y = i2(70610); - class S extends c.BaseClass { + Object.defineProperty(t2, "__esModule", { value: true }), t2.isFlowInfoViewModel = function(e3) { + return e3.isFlowInfo; + }; + const n2 = i2(31635), r2 = n2.__importStar(i2(74359)), o = n2.__importStar(i2(62241)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(92140)), l = n2.__importDefault(i2(55006)), u = n2.__importDefault(i2(98114)), c = n2.__importDefault(i2(57606)), d = i2(55299), p = i2(79364), _ = i2(1234), h = i2(96618), m = i2(19975), g = i2(80295), f = i2(18638), T = i2(47957), y = i2(70610); + class S extends d.BaseClass { constructor(e3) { super(), this._alternateInputSchemas = {}, this._alternateOutputSchemas = {}, this.newModelLoaded$ = new p.BehaviorSubject(null), this._topic = a.getTopic(e3.type).withMultipleContext({ flowId: e3.id || e3.flowId, flowType: e3.type }), this._versions = new m.FlowVersionManager(this), (0, g.makeUnenumerable)(this, "_alternateInputSchemas"), (0, g.makeUnenumerable)(this, "_alternateOutputSchemas"), (0, g.makeUnenumerable)(this, "_currentUserHasLock"), (0, g.makeUnenumerable)(this, "_definition"), (0, g.makeUnenumerable)(this, "_inputSchema"), (0, g.makeUnenumerable)(this, "_model"), (0, g.makeUnenumerable)(this, "_outputSchema"), (0, g.makeUnenumerable)(this, "_topic"), (0, g.makeUnenumerable)(this, "_versions"), this.loadModel(e3); } @@ -104960,13 +113790,16 @@ ${e3.stack}`, n3 = [this].concat(i3); const e4 = r2.getConnectedUser().id.toLocaleLowerCase(), t3 = this.lockedUser.id.toLocaleLowerCase(); this._currentUserHasLock = t3 === e4; } else this._currentUserHasLock = false; - this.resetCurrentUserCanEdit(), this.lockedUser && !this.lockedUser.displayName && y.addUnknownUser(this.lockedUser.id), this._model.inputSchema && (this._inputSchema = new d.default(this._model.inputSchema, true)), this._model.outputSchema && (this._outputSchema = new d.default(this._model.outputSchema, false)), s.default.isArray(this._model.alternateFlowInfos) && this._model.alternateFlowInfos.forEach((e4) => { + this.resetCurrentUserCanEdit(), this.lockedUser && !this.lockedUser.displayName && y.addUnknownUser(this.lockedUser.id), this._model.inputSchema && (this._inputSchema = new c.default(this._model.inputSchema, true)), this._model.outputSchema && (this._outputSchema = new c.default(this._model.outputSchema, false)), s.default.isArray(this._model.alternateFlowInfos) && this._model.alternateFlowInfos.forEach((e4) => { e4.version && this.loadAlternateSchema(e4.version, e4); }), this.newModelLoaded$.next(this._model); } } loadAlternateSchema(e3, t3) { - t3.inputSchema && (this._alternateInputSchemas[e3] = new d.default(t3.inputSchema, true)), t3.outputSchema && (this._alternateOutputSchemas[e3] = new d.default(t3.outputSchema, false)); + t3.inputSchema && (this._alternateInputSchemas[e3] = new c.default(t3.inputSchema, true)), t3.outputSchema && (this._alternateOutputSchemas[e3] = new c.default(t3.outputSchema, false)); + } + applyInputOutputSchemas(e3, t3) { + this._model.inputSchema = e3, this._model.outputSchema = t3, this._inputSchema = e3 ? new c.default(e3, true) : void 0, this._outputSchema = t3 ? new c.default(t3, false) : void 0; } get topic() { return this._topic; @@ -105235,17 +114068,17 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 90436: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(41510)), s = i2(43212), l = n2.__importDefault(i2(56133)), u = n2.__importDefault(i2(25154)), d = n2.__importDefault(i2(27579)), c = i2(47957), p = i2(3916); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(41510)), s = i2(43212), l = n2.__importDefault(i2(56133)), u = n2.__importDefault(i2(25154)), c = n2.__importDefault(i2(27579)), d = i2(47957), p = i2(3916); function _(e3) { - const t3 = o.default.isUndefined(e3.complexGenericVariableInfo) ? (0, r2.sprintf)(c.nuanceMix.externalDataTypeLabel, e3.simpleVariableInfo) : o.default.isUndefined(e3.complexGenericVariableInfo.name) ? (0, r2.sprintf)(c.nuanceMix.externalComplexDataTypeLabel) : (0, r2.sprintf)(c.nuanceMix.externalDataTypeLabel, e3.complexGenericVariableInfo.name); - return { title: c.nuanceMix.externalDataTypeTitle, entries: [t3] }; + const t3 = o.default.isUndefined(e3.complexGenericVariableInfo) ? (0, r2.sprintf)(d.nuanceMix.externalDataTypeLabel, e3.simpleVariableInfo) : o.default.isUndefined(e3.complexGenericVariableInfo.name) ? (0, r2.sprintf)(d.nuanceMix.externalComplexDataTypeLabel) : (0, r2.sprintf)(d.nuanceMix.externalDataTypeLabel, e3.complexGenericVariableInfo.name); + return { title: d.nuanceMix.externalDataTypeTitle, entries: [t3] }; } function h(e3) { return { nuanceExternalDataType: e3 }; } class m extends s.BaseConfigurationListViewModel { constructor(e3) { - super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, d.default)(); + super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, c.default)(); } get className() { return "NuanceMixBotViewModel"; @@ -105363,9 +114196,9 @@ ${e3.stack}`, n3 = [this].concat(i3); }; i3.subscribe(o.createOperatorSubscriber(r3, function(i4) { null == a || a.unsubscribe(); - var l2 = 0, d = s++; - n2.innerFrom(e3(i4, d)).subscribe(a = o.createOperatorSubscriber(r3, function(e4) { - return r3.next(t3 ? t3(i4, e4, d, l2++) : e4); + var l2 = 0, c = s++; + n2.innerFrom(e3(i4, c)).subscribe(a = o.createOperatorSubscriber(r3, function(e4) { + return r3.next(t3 ? t3(i4, e4, c, l2++) : e4); }, function() { a = null, u(); })); @@ -105426,13 +114259,13 @@ ${e3.stack}`, n3 = [this].concat(i3); } t2.IntegrationType = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "id", null); }, 90729: (e2, t2, i2) => { - const n2 = i2(63416), r2 = i2(83276), o = i2(99552), a = i2(5080), s = i2(36019).default; + const n2 = i2(63416), r2 = i2(83276), o = i2(99552), a = i2(82699), s = i2(36019).default; function l() { } const u = new l(); l.prototype.getCategoryList = s.request("GET", "{public-api.apps}/api/v2/integrations/actions/categories", r2), l.prototype.getActionList = s.request("GET", "{public-api.apps}/api/v2/integrations/actions", o), l.prototype.getAction = s.request("GET", "{public-api.apps}/api/v2/integrations/actions/{id}", n2), l.prototype.getSchema = s.request("GET", "{public-api.apps}{schema_uri}", a); - const d = { ignoreBadResponse: true }; - u.getCategoryList.addOptions(d), u.getActionList.addOptions(d), e2.exports = u; + const c = { ignoreBadResponse: true }; + u.getCategoryList.addOptions(c), u.getActionList.addOptions(c), e2.exports = u; }, 90733: (e2, t2, i2) => { "use strict"; var n2, r2; @@ -105496,55 +114329,58 @@ ${e3.stack}`, n3 = [this].concat(i3); n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noInputDigitalBotSequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noMatchDigitalBotSequence", null), t2.messagingTemplateSequences = new s(); }, 90891: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getResponseLibraries = o, t2.getResponseLibrary = a, t2.getResponses = s, t2.getResponseAsset = l, t2.getResponseAssets = u, t2.getDigitalAudioResponseAssets = d, t2.getFileResponseAssets = c, t2.getImageResponseAssets = p, t2.getVideoResponseAssets = _, t2.getResponse = h, t2.getResponseAssetUploadURL = m, t2.getResponseAssetUploadStatus = g, t2.uploadResponseAsset = function(e3, t3, i3) { - const r3 = n2.default.build(n2.default.request("PUT", e3)); - return r3.headers = t3, r3.imageFile(i3).call(); + Object.defineProperty(t2, "__esModule", { value: true }), t2.getResponseLibraries = l, t2.getResponseLibrary = u, t2.getResponses = c, t2.getResponseAsset = d, t2.getResponseAssets = p, t2.getDigitalAudioResponseAssets = _, t2.getFileResponseAssets = h, t2.getImageResponseAssets = m, t2.getVideoResponseAssets = g, t2.getResponse = f, t2.getResponseAssetUploadURL = T, t2.getResponseAssetUploadStatus = y, t2.uploadResponseAsset = function(e3, t3, i3) { + const n3 = r2.default.build(r2.default.request("PUT", e3)); + return n3.headers = t3, n3.imageFile(i3).call(); }; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(81621); - function o(e3) { - return n2.default.build(r2.getLibraries).queryParams(e3.getSearchQueryParams()).call(); + const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(10798)), a = n2.__importDefault(i2(4648)), s = i2(81621); + function l(e3) { + const t3 = o.isFeatureAvailable(a.default.divisionedCannedResponses) ? s.getLibrariesDivisionView : s.getLibraries; + return r2.default.build(t3).queryParams(e3.getSearchQueryParams()).call(); } - function a(e3) { - return n2.default.build(r2.getLibrary).templateParams({ id: e3 }).call(); + function u(e3) { + const t3 = o.isFeatureAvailable(a.default.divisionedCannedResponses) ? s.getLibraryDivisionView : s.getLibrary; + return r2.default.build(t3).templateParams({ id: e3 }).call(); } - function s(e3) { - const t3 = n2.default.build(r2.getResponses), i3 = e3.getSearchQueryParams(); - return t3.content(i3), t3.call(); + function c(e3) { + const t3 = o.isFeatureAvailable(a.default.divisionedCannedResponses) ? s.getResponsesDivisionView : s.getResponses, i3 = r2.default.build(t3), n3 = e3.getSearchQueryParams(); + return i3.content(n3), i3.call(); } - function l(e3) { - return n2.default.build(r2.getResponseAsset).templateParams({ id: e3 }).call(); + function d(e3) { + return r2.default.build(s.getResponseAsset).templateParams({ id: e3 }).call(); } - function u(e3) { - const t3 = n2.default.build(r2.getResponseAssets), i3 = e3.get_q64searchContent(); + function p(e3) { + const t3 = r2.default.build(s.getResponseAssets), i3 = e3.get_q64searchContent(); return t3.content(i3), t3.call(); } - function d(e3) { - const t3 = n2.default.build(r2.getResponseAssets), i3 = e3.get_q64searchContent(); + function _(e3) { + const t3 = r2.default.build(s.getResponseAssets), i3 = e3.get_q64searchContent(); return i3.query || (i3.query = []), i3.query.push({ fields: ["contentType"], value: "audio", type: "STARTS_WITH" }), t3.content(i3), t3.call(); } - function c(e3) { - const t3 = n2.default.build(r2.getResponseAssets), i3 = e3.get_q64searchContent(); + function h(e3) { + const t3 = r2.default.build(s.getResponseAssets), i3 = e3.get_q64searchContent(); return i3.query || (i3.query = []), i3.query.push({ fields: ["contentType"], value: "application", type: "STARTS_WITH" }), t3.content(i3), t3.call(); } - function p(e3) { - const t3 = n2.default.build(r2.getResponseAssets), i3 = e3.get_q64searchContent(); + function m(e3) { + const t3 = r2.default.build(s.getResponseAssets), i3 = e3.get_q64searchContent(); return i3.query || (i3.query = []), i3.query.push({ fields: ["contentType"], value: "image", type: "STARTS_WITH" }), t3.content(i3), t3.call(); } - function _(e3) { - const t3 = n2.default.build(r2.getResponseAssets), i3 = e3.get_q64searchContent(); + function g(e3) { + const t3 = r2.default.build(s.getResponseAssets), i3 = e3.get_q64searchContent(); return i3.query || (i3.query = []), i3.query.push({ fields: ["contentType"], value: "video", type: "STARTS_WITH" }), t3.content(i3), t3.call(); } - function h(e3) { - return n2.default.build(r2.getResponse).queryParams({ expand: "substitutionsSchema" }).templateParams({ id: e3 }).call(); + function f(e3) { + const t3 = o.isFeatureAvailable(a.default.divisionedCannedResponses) ? s.getResponseDivisionView : s.getResponse; + return r2.default.build(t3).queryParams({ expand: "substitutionsSchema" }).templateParams({ id: e3 }).call(); } - function m(e3) { - const t3 = n2.default.build(r2.getResponseAssetUploadURL); + function T(e3) { + const t3 = r2.default.build(s.getResponseAssetUploadURL); return t3.content(e3), t3.call(); } - function g(e3) { - return n2.default.build(r2.getResponseAssetUploadStatus).templateParams({ statusId: e3 }).call(); + function y(e3) { + return r2.default.build(s.getResponseAssetUploadStatus).templateParams({ statusId: e3 }).call(); } - o.api = r2.getLibraries, a.api = r2.getLibrary, s.api = r2.getResponses, l.api = r2.getResponseAsset, u.api = r2.getResponseAssets, d.api = r2.getResponseAssets, c.api = r2.getResponseAssets, p.api = r2.getResponseAssets, _.api = r2.getResponseAssets, h.api = r2.getResponse, m.api = r2.getResponseAssetUploadURL, g.api = r2.getResponseAssetUploadStatus; + l.api = s.getLibraries, u.api = s.getLibrary, c.api = s.getResponses, d.api = s.getResponseAsset, p.api = s.getResponseAssets, _.api = s.getResponseAssets, h.api = s.getResponseAssets, m.api = s.getResponseAssets, g.api = s.getResponseAssets, f.api = s.getResponse, T.api = s.getResponseAssetUploadURL, y.api = s.getResponseAssetUploadStatus; }, 90897: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -105752,12 +114588,12 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.emailScriptManager = t2.EmailScriptManager = void 0; const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(24032), o = i2(30801), a = i2(82915), s = i2(47957), l = i2(52124), u = i2(28195); - class d extends a.ScriptManager { + class c extends a.ScriptManager { constructor() { super("EmailScriptManager"), this.topic = (0, r2.getTopic)("emailScriptManager"), this.actionsForUsageSearch = [o.screenPopActionType], this.apiCallList = n2.default.partial(l.getScriptsForFeature, u.email), this.dependencyContext = s.screenPop.selectedEmailScript, this.scriptFeatureType = u.email; } } - t2.EmailScriptManager = d, t2.emailScriptManager = new d(); + t2.EmailScriptManager = c, t2.emailScriptManager = new c(); }, 91048: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { @@ -105855,23 +114691,23 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 91491: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.CollectionExpression = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(7401)), l = n2.__importStar(i2(35515)), u = n2.__importStar(i2(36781)), d = n2.__importStar(i2(58380)), c = i2(1115), p = i2(50474), _ = i2(50474), h = i2(98552), m = n2.__importStar(i2(63352)), g = i2(94486), f = i2(39168), T = i2(26403), y = n2.__importDefault(i2(65302)), S = i2(47957), A = a.getTopic("CollectionExpression"); - class N extends f.NormalExpression { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(69453), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(7401)), u = n2.__importStar(i2(35515)), c = n2.__importStar(i2(36781)), d = n2.__importStar(i2(58380)), p = i2(1115), _ = i2(50474), h = i2(50474), m = i2(1910), g = i2(1910), f = i2(1910), T = i2(1910), y = n2.__importDefault(i2(73198)), S = n2.__importDefault(i2(65302)), A = i2(98552), N = n2.__importStar(i2(63352)), v = i2(94486), O = i2(39168), I = i2(26403), C = i2(47957), b = s.getTopic("CollectionExpression"); + class E extends O.NormalExpression { constructor(e3) { super(e3); } copyExpressionValue(e3) { var t3; - e3.isCollectionExpression && (e3.isLiteralMode ? (this.mode = e3.mode, this.config = e3.config, this.processCollection(true), this.initializeDesignTimeCalled && (null === (t3 = this.collectionItems) || void 0 === t3 ? void 0 : t3.items) && o.default.each(this.collectionItems.items, (e4) => e4.initializeDesignTime()), this._fireEvent(u.expressionValueChanged)) : super.copyExpressionValue(e3)); + e3.isCollectionExpression && (e3.isLiteralMode ? (this.mode = e3.mode, this.config = e3.config, this.processCollection(true), this.initializeDesignTimeCalled && (null === (t3 = this.collectionItems) || void 0 === t3 ? void 0 : t3.items) && o.default.each(this.collectionItems.items, (e4) => e4.initializeDesignTime()), this._fireEvent(c.expressionValueChanged)) : super.copyExpressionValue(e3)); } get className() { return "CollectionExpression"; } get displayValue() { - return this.collectionItems && this.isLiteralMode ? 1 === this.collectionItems.length ? (0, r2.sprintf)(S.collectionEditor.itemsInCollectionOne, this.type.displayString) : (0, r2.sprintf)(S.collectionEditor.itemsInCollection, this.collectionItems.length, this.type.displayString) : super.displayValue; + return this.collectionItems && this.isLiteralMode ? 1 === this.collectionItems.length ? (0, r2.sprintf)(C.collectionEditor.itemsInCollectionOne, this.type.displayString) : (0, r2.sprintf)(C.collectionEditor.itemsInCollection, this.collectionItems.length, this.type.displayString) : super.displayValue; } get errorMessage() { - return this.hasError ? this.isLiteralMode ? this.hasParseError ? this._parseResult.resultMessage : S.errors.collectionError : this.resultMessage : null; + return this.hasError ? this.isLiteralMode ? this.hasParseError ? this._parseResult.resultMessage : C.errors.collectionError : this.resultMessage : null; } get hasError() { return this.isLiteralMode ? this.collectionItems && this.collectionItems.hasError || this.hasParseError : this._getHasError(); @@ -105884,10 +114720,10 @@ ${e3.stack}`, n3 = [this].concat(i3); this._label = e3, this.collectionItems && this.collectionItems.orderChanged && this.collectionItems.orderChanged(); } get resultMessage() { - return this.isLiteralMode && this.hasError ? this.hasParseError ? this._parseResult.resultMessage : S.errors.collectionError : this._parseResult ? this._parseResult.resultMessage : ""; + return this.isLiteralMode && this.hasError ? this.hasParseError ? this._parseResult.resultMessage : C.errors.collectionError : this._parseResult ? this._parseResult.resultMessage : ""; } get resultType() { - return this.isLiteralMode && this.hasError ? T.ParseResultTypes.error : this._parseResult ? this._parseResult.resultType : void 0; + return this.isLiteralMode && this.hasError ? I.ParseResultTypes.error : this._parseResult ? this._parseResult.resultType : void 0; } get type() { return this._type; @@ -105903,42 +114739,70 @@ ${e3.stack}`, n3 = [this].concat(i3); this.collectionItems.removeAll(), o.default.isArray(null === (i3 = null === (t3 = null === (e3 = this.model) || void 0 === e3 ? void 0 : e3.config) || void 0 === t3 ? void 0 : t3.lit) || void 0 === i3 ? void 0 : i3.items) && (this.model.config.lit.items.length = 0); } setLiteralEmptyCollection() { - this.mode = m.literal, this.removeAll(); + this.mode = N.literal, this.removeAll(); } get amObjectEventSink() { return true; } objEvent_listOrderChanged() { - d.fireEvent(this, u.listOrderChanged), (0, c.validateItem)(this, true, true); + d.fireEvent(this, c.listOrderChanged), (0, p.validateItem)(this, true, true); } _initialize() { - this.singleType = y.default.getType(this.parentFlow, this.type.dataType, false), this.config || (this.config = {}, this._ensureUiMetaData()), this.model.type = this.type.expressionType, this._needsDefaultTextSet && (this.text = this.options.defaultText), this.processText(); + this.singleType = S.default.getType(this.parentFlow, this.type.dataType, false), this.config || (this.config = {}, this._ensureUiMetaData()), this.model.type = this.type.expressionType, this._needsDefaultTextSet && (this.text = this.options.defaultText), this.processText(); } get isCollectionExpression() { return true; } processCollection(e3) { if (this.collectionItems && !e3 && this.config) return; - this.config && this.config.lit && this.config.lit.items || this.setConfigAndMetaData(h.expressionItems.litColl(this.type)); + this.config && this.config.lit && this.config.lit.items || this.setConfigAndMetaData(A.expressionItems.litColl(this.type)); const t3 = this.config.lit.items; - for (let e4 = 0; e4 < t3.length; e4++) t3[e4] instanceof s.default || (t3[e4] = new s.default(t3[e4])); - this.collectionItems = new g.CollectionExpressionList(this, this.parent, this.model.config.lit.items, this.label, this.singleType, this.options, this.isTransitory), this.collectionItems.isOptional = this.isOptional, this.collectionItems.isZeroBasedList = true, this.collectionItems.shouldUseBracketsInLabel = true, d.registerEventSinkForEventEmitter(this.collectionItems.id, this); + for (let e4 = 0; e4 < t3.length; e4++) t3[e4] instanceof l.default || (t3[e4] = new l.default(t3[e4])); + this.collectionItems = new v.CollectionExpressionList(this, this.parent, this.model.config.lit.items, this.label, this.singleType, this.options, this.isTransitory), this.collectionItems.isOptional = this.isOptional, this.collectionItems.isZeroBasedList = true, this.collectionItems.shouldUseBracketsInLabel = true, d.registerEventSinkForEventEmitter(this.collectionItems.id, this); } setAsLiteral(e3) { - if (this.mode = m.literal, (0, p.isCollectionExpression)(e3)) { + if (this.mode = N.literal, (0, _.isCollectionExpression)(e3)) { const t3 = e3; - (null == t3 ? void 0 : t3.isLiteralMode) ? (A.errorWithStack(null, `Invalid CollectionExpression parameter value passed to '${this.className}::setAsLiteral'. We will process it but the calling method should not do this.`), o.default.each(t3.collectionItems.items, (e4) => { + (null == t3 ? void 0 : t3.isLiteralMode) ? (b.errorWithStack(null, `Invalid CollectionExpression parameter value passed to '${this.className}::setAsLiteral'. We will process it but the calling method should not do this.`), o.default.each(t3.collectionItems.items, (e4) => { this.collectionItems.addItem(this.collectionItems.createItem(e4.model, null, e4.options)); - })) : A.errorWithStack(null, `Invalid CollectionExpression parameter value passed to '${this.className}::setAsLiteral'. Not processing because value is not a literal collection.`); + })) : b.errorWithStack(null, `Invalid CollectionExpression parameter value passed to '${this.className}::setAsLiteral'. Not processing because value is not a literal collection.`); } else { - if (!e3 || (0, _.isString)(e3) && !e3.length) return; - A.errorWithStack(null, `Invalid value passed to '${this.className}::setAsLiteral'. CollectionExpression cannot process a string value.`); + if (!e3 || (0, h.isString)(e3) && !e3.length) return; + b.errorWithStack(null, `Invalid value passed to '${this.className}::setAsLiteral'. CollectionExpression cannot process a string value.`); } } addItem() { - const e3 = this.collectionItems.type.createExpressionOptionClass().setCollectionItemFromCollectionOptions(this.options), t3 = this.collectionItems.createItem(null, null, e3); + const e3 = this.collectionItems.type.createExpressionOptionClass().applyDefaultCollectionItemOptions(this.options), t3 = this.collectionItems.createItem(null, null, e3); return this.collectionItems.addItem(t3), t3; } + _configureFromModel(e3, t3, i3) { + if (null == e3) return; + let n3; + if (Array.isArray(e3)) n3 = e3; + else if ((0, m.isConfigureFromModelRecord)(e3)) { + const t4 = e3; + if ("exp" in t4 && null !== t4.exp && void 0 !== t4.exp) return void this.setAsExpression(String(t4.exp)); + if ("var" in t4 && "string" == typeof t4.var) return void this.setAsExpression(t4.var); + if ("noValue" in t4 && true === t4.noValue) return void this.setAsNoValue(); + if ("noValueWithNoFallback" in t4 && true === t4.noValueWithNoFallback) return void ("function" == typeof this.setAsNoValueNoFallback ? this.setAsNoValueNoFallback() : this.setAsNoValue()); + if ("lit" in t4) { + const e4 = t4.lit; + if (!Array.isArray(e4)) return null == e4 ? void this.setLiteralEmptyCollection() : void (i3 && i3.warn((0, r2.sprintf)(a.configureFromModel.collectionLitMustBeArray, typeof e4))); + n3 = e4; + } + } + if (void 0 === n3) return; + const o2 = y.default.defaultCollectionItemsMax; + if ((0, f.enforceValueLimit)(n3.length <= o2, (0, r2.sprintf)(a.configureFromModel.collectionLiteralItemCap, n3.length, o2), i3)) { + this.setLiteralEmptyCollection(); + for (let e4 = 0; e4 < n3.length; e4++) { + const r3 = n3[e4], o3 = this.addItem(); + (0, g.hasConfigureFromModel)(o3) && (i3 ? (0, T.withModelContext)(i3, `[${e4}]`, () => { + o3.configureFromModel(r3, t3, i3); + }) : o3.configureFromModel(r3, t3, i3)); + } + } + } _clearCollectionItems() { this.collectionItems && (d.unregisterEventSinkForEventEmitter(this.collectionItems.id, this), this.collectionItems.destroy(), this.collectionItems = void 0); } @@ -105946,7 +114810,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return super.mode; } set mode(e3) { - this.isLiteralMode && e3 !== m.literal && this._clearCollectionItems(), super.mode = e3, this.createDefaultItems(); + this.isLiteralMode && e3 !== N.literal && this._clearCollectionItems(), super.mode = e3, this.createDefaultItems(); } createDefaultItems() { } @@ -105955,7 +114819,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } setModeWithTransition(e3, t3) { if (this.mode !== e3) { - if (this.isLiteralMode && e3 === m.expression) { + if (this.isLiteralMode && e3 === N.expression) { if (this.collectionItems.length > 0) this.model.text = this.getEmbeddableExpressionText(); else { const e4 = this.type.getConversionText(); @@ -105972,17 +114836,17 @@ ${e3.stack}`, n3 = [this].concat(i3); let t3 = true; const i3 = this.collectionItems.items && this.collectionItems.items.length; let n3; - if (i3 > l.limits.collectionItemsMax) n3 = (0, r2.sprintf)(S.expression.collectionItemsMaxExceeded, this.collectionItems.items.length, l.limits.collectionItemsMax), this.setParseError(n3), t3 = false; - else if (this.optionsAs().maxItems && i3 > this.optionsAs().maxItems) this.optionsAs().maxItemsIsSoftLimit ? (n3 = (0, r2.sprintf)(S.expression.collectionItemsMaxRecommendedExceeded, this.collectionItems.items.length, this.optionsAs().maxItems), this.setParseWarning(n3)) : (n3 = (0, r2.sprintf)(S.expression.collectionItemsMaxExceeded, this.collectionItems.items.length, this.optionsAs().maxItems), this.setParseError(n3), t3 = false); - else if (1 === this.optionsAs().minItems && 0 === i3) n3 = S.expression.collectionItemsEmpty, this.setParseError(n3), t3 = false; - else if (this.optionsAs() && i3 < this.optionsAs().minItems) n3 = (0, r2.sprintf)(S.expression.collectionItemsMinNotExceeded, this.collectionItems.items.length, this.optionsAs().minItems), this.setParseError(n3), t3 = false; + if (i3 > u.limits.collectionItemsMax) n3 = (0, r2.sprintf)(C.expression.collectionItemsMaxExceeded, this.collectionItems.items.length, u.limits.collectionItemsMax), this.setParseError(n3), t3 = false; + else if (this.optionsAs().maxItems && i3 > this.optionsAs().maxItems) this.optionsAs().maxItemsIsSoftLimit ? (n3 = (0, r2.sprintf)(C.expression.collectionItemsMaxRecommendedExceeded, this.collectionItems.items.length, this.optionsAs().maxItems), this.setParseWarning(n3)) : (n3 = (0, r2.sprintf)(C.expression.collectionItemsMaxExceeded, this.collectionItems.items.length, this.optionsAs().maxItems), this.setParseError(n3), t3 = false); + else if (1 === this.optionsAs().minItems && 0 === i3) n3 = C.expression.collectionItemsEmpty, this.setParseError(n3), t3 = false; + else if (this.optionsAs() && i3 < this.optionsAs().minItems) n3 = (0, r2.sprintf)(C.expression.collectionItemsMinNotExceeded, this.collectionItems.items.length, this.optionsAs().minItems), this.setParseError(n3), t3 = false; else { const e4 = this.type.singletonType.validateLiteralCollection(this); e4 ? (n3 = e4.issueText, e4.isError ? (t3 = false, this.setParseError(n3)) : this.setParseWarning(n3)) : this.clearParseResult(); } if (t3) n3 && (e3.nodeHasWarning(this.parent.id, n3) || (e3.addWarning(this.parent, n3), e3.addWarning(this.parent, n3))); else { - const t4 = (0, r2.sprintf)(S.errors.invalidValue, this.errorLabel); + const t4 = (0, r2.sprintf)(C.errors.invalidValue, this.errorLabel); e3.nodeHasError(this.parent.id, t4) || (e3.addError(this.parent, t4), e3.addError(this.parent, n3)); } return o.default.each(this.collectionItems.items, function(i4) { @@ -106005,8 +114869,10 @@ ${e3.stack}`, n3 = [this].concat(i3); } getEmbeddableExpressionText() { if (this.isLiteralMode && this.type.canConvertLitToExpression(this.parentFlow.type)) { - const e3 = o.default.map(this.collectionItems.items, (e4) => e4.getEmbeddableExpressionText()).join(", "); - return (0, r2.sprintf)("MakeList(%s)", e3); + const e3 = o.default.map(this.collectionItems.items, (e4) => this.singleType.getCollectionItemLiteralText(e4)), t3 = this.singleType.convertCollectionLiteralToExpression(this.parentFlow.type, e3); + if (null !== t3) return t3; + const i3 = e3.join(", "); + return (0, r2.sprintf)("MakeList(%s)", i3); } return super.getEmbeddableExpressionText(); } @@ -106019,7 +114885,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return `{{ ${this.getEmbeddableExpressionText()} }}`; } } - t2.CollectionExpression = N, f.NormalExpression.CollectionExpression = N; + t2.CollectionExpression = E, O.NormalExpression.CollectionExpression = E; }, 91546: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeVoiceSnippetOptions = void 0; @@ -106052,19 +114918,72 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.ExpressionTypeVoiceSnippetOptions = a; }, 91606: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(21647), a = i2(80428), s = i2(81516), l = i2(76632), u = i2(12179), d = n2.__importDefault(i2(97891)), c = i2(47957); - class p extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(942)), o = i2(21647), a = i2(80428), s = i2(81516), l = i2(76632), u = i2(12179), c = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(4648)), p = i2(47957); + class _ extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } static get managedProperties() { - const e3 = r2.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e4) => e4.facets.setLengthForUuid(), searchFieldLabel: c.findActions.getJourneySessionsByCustomer.idLabel, searchResultLabel: c.findActions.getJourneySessionsByCustomer.resultsLabel, searchResultExpressionOptions: o.ExpressionTypeComplexOptions.create((e4) => e4.setIsCollection(true)), searchResultItemType: a.expressionTypeNames.journeySession }); - return e3.push({ label: c.findActions.getJourneySessionsByCustomer.idTypeLabel, options: s.ExpressionTypeStringOptions.create((e4) => { + const e3 = r2.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e4) => e4.facets.setLengthForUuid(), searchFieldLabel: p.findActions.getJourneySessionsByCustomer.idLabel, searchResultLabel: p.findActions.getJourneySessionsByCustomer.resultsLabel, searchResultExpressionOptions: o.ExpressionTypeComplexOptions.create((e4) => e4.setIsCollection(true)), searchResultItemType: a.expressionTypeNames.journeySession }); + return e3.push({ label: p.findActions.getJourneySessionsByCustomer.idTypeLabel, options: s.ExpressionTypeStringOptions.create((e4) => { e4.setAsInput().setUiPropertyOrder(11).setIninTestingField("findIdType").setDisableSpellcheck(true).setDefaultToExpression(true).facets.setMaxLength(256).setMinLength(1); }), property: "findIdType", type: a.expressionTypeNames.string }), e3; } } - p.info = d.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: u.helpTopics.actions.getJourneySessionsByCustomer, modelClass: l.GetJourneySessionsByCustomerActionModel, name: c.actions.getJourneySessionsByCustomer, scriptingName: "ArchActionGetJourneySessionsByCustomer" }), t2.A = p; + _.info = c.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: u.helpTopics.actions.getJourneySessionsByCustomer, modelClass: l.GetJourneySessionsByCustomerActionModel, name: p.actions.getJourneySessionsByCustomer, scriptingName: "ArchActionGetJourneySessionsByCustomer", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; + }, 91613: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.OrchestrationEngine = void 0; + const n2 = i2(31635), r2 = i2(43330), o = i2(43330), a = i2(43330), s = i2(85006), l = i2(58254), u = i2(14553), c = i2(79364), d = n2.__importStar(i2(69453)), p = i2(17604); + t2.OrchestrationEngine = class { + constructor(e3, t3, i3, n3) { + this._logger$ = new c.ReplaySubject(), this.logger$ = this._logger$.asObservable(), this._actionsProcessed = 0, this._warnings = [], this._entityResolver = e3, this._lookupCache = t3, this._context = i3, this._actionTypeRegistry = n3; + } + _buildOrchestrationResult(e3 = {}) { + var t3; + const i3 = { actionsProcessed: null !== (t3 = e3.actionsProcessed) && void 0 !== t3 ? t3 : this._actionsProcessed, warnings: [...this._warnings] }; + return e3.halted && (i3.halted = true), i3; + } + orchestrate(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._actionsProcessed = 0, this._warnings.length = 0, this._log(s.LogLevel.Info, "Orchestration started."), this.orchestrateViaConfigureFromModel(e3, t3); + }); + } + orchestrateViaConfigureFromModel(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._actionsProcessed = 0, this._warnings.length = 0, this._log(s.LogLevel.Info, "Orchestration (configureFromModel) started."); + const i3 = this._detectFlowType(e3); + if (!i3) return this._log(s.LogLevel.Error, "No recognized flow type found in JSON."), this._buildOrchestrationResult({ actionsProcessed: 0 }); + if (this._log(s.LogLevel.Debug, `Detected flow type: '${i3}'.`), void 0 !== t3 && t3.isReadOnly) { + const e4 = (0, u.readOnlyFlowConfigureFromModelMessage)(); + return this._log(s.LogLevel.Error, e4), this._warnings.push({ message: e4, contextPath: "/" }), this._buildOrchestrationResult({ actionsProcessed: 0, halted: true }); + } + const n3 = e3[i3]; + if (!(0, a.isConfigureFromModelRecord)(n3)) return this._buildOrchestrationResult({ actionsProcessed: 0 }); + const c2 = n3, _ = new r2.ConfigureFromModelContext({ entityResolver: this._entityResolver, lookupCache: this._lookupCache, flowType: i3, actionTypeRegistry: this._actionTypeRegistry, settings: {} }); + if (_.logger$.subscribe((e4) => this._logger$.next(e4)), (0, l.hasConfigureFromModel)(t3) && (yield t3.configureFromModel(c2, o.ModelFormat.FlowYaml, _)), !_.continueProcessing) return this._log(s.LogLevel.Warning, "Orchestration halted before draining deferred operations (context.continueProcessing === false)."), this._buildOrchestrationResult({ halted: true }); + for (const e4 of _.deferredOps) try { + yield e4.execute(); + } catch (t4) { + const i4 = t4 instanceof Error ? t4.message : String(t4); + _.warn((0, p.sprintf)(d.configureFromModel.deferredOpFailed, e4.type, i4)); + } + return this._log(s.LogLevel.Info, "Orchestration (configureFromModel) completed."), this._buildOrchestrationResult(); + }); + } + _detectFlowType(e3) { + try { + const { FlowTypeResolver: t3 } = i2(60526); + for (const i3 of Object.keys(e3)) if (t3.isRecognized(i3)) return i3; + } catch (t3) { + const i3 = /* @__PURE__ */ new Set(["inboundCall", "outboundCall", "inQueueCall", "secureCall", "bot", "digitalBot", "workflow", "commonModule", "inboundEmail", "inboundMessage", "inboundShortMessage", "voiceSurvey", "voicemail"]); + for (const t4 of Object.keys(e3)) if (i3.has(t4)) return t4; + } + } + _log(e3, t3) { + this._logger$.next({ level: e3, message: `OrchestrationEngine: ${t3}`, contextPath: this._context.currentReferencePath }); + } + }; }, 91625: (e2, t2, i2) => { const n2 = i2(28730), r2 = i2(7401); function o() { @@ -106082,16 +115001,16 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 91674: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.emergencyGroupManager = t2.EmergencyGroupManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(50461)), o = n2.__importDefault(i2(47532)), a = i2(78235), s = i2(30801), l = i2(30801), u = i2(81801), d = n2.__importDefault(i2(4648)), c = i2(24032), p = i2(10798), _ = i2(47957), h = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(50461)), o = n2.__importDefault(i2(47532)), a = i2(78235), s = i2(30801), l = i2(30801), u = i2(81801), c = n2.__importDefault(i2(4648)), d = i2(24032), p = i2(10798), _ = i2(47957), h = i2(27862); class m extends o.default { get requiredAuth() { - return (0, p.isFeatureAvailable)(d.default.divisionedRoutingObjects) ? u.externalAuthorizations.authStrings.emergencyGroupSearch : u.externalAuthorizations.authStrings.emergencyGroupView; + return (0, p.isFeatureAvailable)(c.default.divisionedRoutingObjects) ? u.externalAuthorizations.authStrings.emergencyGroupSearch : u.externalAuthorizations.authStrings.emergencyGroupView; } get dependencyType() { return h.EmergencyGroup; } constructor() { - super(), this.topic = (0, c.getTopic)("emergencyGroupManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [l.evaluateScheduleGroupActionType, s.evaluateScheduleActionType], this.actionPropertyForUsageSearch = "emergencyGroupId", this.apiCallList = r2.getEmergencyGroups, this.apiCallSingle = r2.getEmergencyGroup, this.uiMetadataSectionName = "emergencyGroups", this.dependencyContext = _.evaluateSchedules.emergencyGroup, this.className = "EmergencyGroupManager", this._initialize(); + super(), this.topic = (0, d.getTopic)("emergencyGroupManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [l.evaluateScheduleGroupActionType, s.evaluateScheduleActionType], this.actionPropertyForUsageSearch = "emergencyGroupId", this.apiCallList = r2.getEmergencyGroups, this.apiCallSingle = r2.getEmergencyGroup, this.uiMetadataSectionName = "emergencyGroups", this.dependencyContext = _.evaluateSchedules.emergencyGroup, this.className = "EmergencyGroupManager", this._initialize(); } _createItemViewModel(e3) { return new a.EmergencyGroupViewModel(e3); @@ -106150,8 +115069,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 91734: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(97847)), o = n2.__importDefault(i2(85510)), a = n2.__importDefault(i2(74705)), s = n2.__importDefault(i2(77858)), l = n2.__importDefault(i2(7946)), u = n2.__importDefault(i2(76501)), d = n2.__importDefault(i2(67817)), c = n2.__importDefault(i2(41857)), p = n2.__importDefault(i2(58253)), _ = n2.__importDefault(i2(20498)), h = n2.__importDefault(i2(56474)), m = n2.__importDefault(i2(69581)), g = n2.__importDefault(i2(9283)), f = n2.__importDefault(i2(39635)), T = n2.__importDefault(i2(59193)), y = n2.__importDefault(i2(80133)), S = n2.__importDefault(i2(40549)), A = n2.__importDefault(i2(24629)), N = n2.__importDefault(i2(17769)), O = n2.__importDefault(i2(47016)), I = n2.__importDefault(i2(39148)), v = n2.__importDefault(i2(7658)), C = n2.__importDefault(i2(59123)), b = n2.__importDefault(i2(41187)), E = n2.__importDefault(i2(64751)), R = n2.__importDefault(i2(54280)), w = n2.__importDefault(i2(94380)), D = n2.__importDefault(i2(40057)), P = n2.__importDefault(i2(52901)), M = n2.__importDefault(i2(70570)), F = n2.__importDefault(i2(59794)), L = n2.__importDefault(i2(38863)), x = n2.__importDefault(i2(55031)), k = n2.__importDefault(i2(16598)), V = n2.__importDefault(i2(63446)), U = n2.__importDefault(i2(55072)), B = n2.__importDefault(i2(86500)), G = n2.__importDefault(i2(42237)), j = n2.__importDefault(i2(23217)), W = n2.__importDefault(i2(51236)), q = n2.__importDefault(i2(35520)), Y = n2.__importDefault(i2(2583)), H = n2.__importDefault(i2(99423)), J = n2.__importDefault(i2(63463)), z = n2.__importDefault(i2(50447)), K = n2.__importDefault(i2(76919)), $ = n2.__importDefault(i2(93218)), Q = n2.__importDefault(i2(31485)), X = n2.__importDefault(i2(72943)), Z = n2.__importDefault(i2(29651)), ee = n2.__importDefault(i2(14115)), te = n2.__importDefault(i2(2812)), ie = n2.__importDefault(i2(61272)), ne = n2.__importDefault(i2(52510)), re = n2.__importDefault(i2(90366)), oe = n2.__importDefault(i2(70518)), ae = n2.__importDefault(i2(38422)), se = n2.__importDefault(i2(43190)), le = n2.__importDefault(i2(21046)), ue = n2.__importDefault(i2(92993)), de = n2.__importDefault(i2(65165)), ce = n2.__importDefault(i2(91292)), pe = n2.__importDefault(i2(48312)), _e = n2.__importDefault(i2(60577)), he = n2.__importDefault(i2(33805)), me = n2.__importDefault(i2(64042)), ge = n2.__importDefault(i2(78258)), fe = n2.__importDefault(i2(1607)), Te = n2.__importDefault(i2(50479)), ye = n2.__importDefault(i2(51895)), Se = n2.__importDefault(i2(62527)), Ae = n2.__importDefault(i2(3022)), Ne = n2.__importDefault(i2(83566)), Oe = n2.__importDefault(i2(56248)), Ie = n2.__importDefault(i2(87964)), ve = n2.__importDefault(i2(23399)), Ce = n2.__importDefault(i2(25679)), be = n2.__importDefault(i2(79163)), Ee = n2.__importDefault(i2(88779)), Re = n2.__importDefault(i2(91013)), we = n2.__importDefault(i2(59929)), De = n2.__importDefault(i2(29925)), Pe = n2.__importDefault(i2(39865)), Me = n2.__importDefault(i2(23206)), Fe = n2.__importDefault(i2(73510)), Le = n2.__importDefault(i2(60341)), xe = n2.__importDefault(i2(56617)), ke = n2.__importDefault(i2(74617)), Ve = n2.__importDefault(i2(84986)), Ue = n2.__importDefault(i2(24962)), Be = n2.__importDefault(i2(52828)), Ge = n2.__importDefault(i2(22488)), je = n2.__importDefault(i2(75342)), We = n2.__importDefault(i2(18126)), qe = n2.__importDefault(i2(12861)), Ye = n2.__importDefault(i2(33169)), He = n2.__importDefault(i2(96713)), Je = n2.__importDefault(i2(46999)), ze = n2.__importDefault(i2(74400)), Ke = n2.__importDefault(i2(98631)), $e = n2.__importDefault(i2(62905)), Qe = n2.__importDefault(i2(58108)), Xe = n2.__importDefault(i2(48467)), Ze = n2.__importDefault(i2(18759)), et = n2.__importDefault(i2(40904)), tt = n2.__importDefault(i2(2092)), it = n2.__importDefault(i2(53908)), nt = n2.__importDefault(i2(8784)), rt = n2.__importDefault(i2(48349)), ot = n2.__importDefault(i2(12298)), at = n2.__importDefault(i2(33286)), st = n2.__importDefault(i2(20695)), lt = n2.__importDefault(i2(14175)), ut = n2.__importDefault(i2(93421)), dt = n2.__importDefault(i2(45422)), ct = n2.__importDefault(i2(96776)), pt = n2.__importDefault(i2(64792)), _t = n2.__importDefault(i2(42268)), ht = n2.__importDefault(i2(28850)), mt = n2.__importDefault(i2(48730)), gt = n2.__importDefault(i2(12199)), ft = n2.__importDefault(i2(80815)), Tt = n2.__importDefault(i2(27368)), yt = n2.__importDefault(i2(50924)), St = n2.__importDefault(i2(28071)), At = n2.__importDefault(i2(63439)), Nt = n2.__importDefault(i2(60061)), Ot = n2.__importDefault(i2(28817)), It = n2.__importDefault(i2(8311)), vt = n2.__importDefault(i2(57247)), Ct = n2.__importDefault(i2(93348)), bt = n2.__importDefault(i2(59424)), Et = n2.__importDefault(i2(44502)), Rt = n2.__importDefault(i2(70838)), wt = n2.__importDefault(i2(6085)), Dt = n2.__importDefault(i2(66418)), Pt = n2.__importDefault(i2(30042)), Mt = n2.__importDefault(i2(4266)), Ft = n2.__importDefault(i2(18322)), Lt = n2.__importDefault(i2(35786)), xt = n2.__importDefault(i2(92498)), kt = n2.__importDefault(i2(69109)), Vt = n2.__importDefault(i2(90601)), Ut = n2.__importDefault(i2(7302)), Bt = n2.__importDefault(i2(71814)), Gt = n2.__importDefault(i2(8833)), jt = n2.__importDefault(i2(28333)), Wt = n2.__importDefault(i2(45964)), qt = n2.__importDefault(i2(40776)), Yt = n2.__importDefault(i2(76150)), Ht = n2.__importDefault(i2(95250)), Jt = n2.__importDefault(i2(73946)), zt = n2.__importDefault(i2(20846)), Kt = n2.__importDefault(i2(59630)), $t = n2.__importDefault(i2(903)), Qt = n2.__importDefault(i2(64847)), Xt = n2.__importDefault(i2(82926)), Zt = n2.__importDefault(i2(64576)), ei = n2.__importDefault(i2(58308)), ti = n2.__importDefault(i2(57498)), ii = n2.__importDefault(i2(15138)), ni = n2.__importDefault(i2(50202)), ri = n2.__importDefault(i2(89154)), oi = n2.__importDefault(i2(18818)), ai = n2.__importDefault(i2(95338)), si = n2.__importDefault(i2(23906)), li = n2.__importDefault(i2(55050)), ui = n2.__importDefault(i2(13442)), di = n2.__importDefault(i2(21770)), ci = n2.__importDefault(i2(4219)), pi = n2.__importDefault(i2(44633)), _i = n2.__importDefault(i2(11909)), hi = n2.__importDefault(i2(68322)), mi = n2.__importDefault(i2(88874)), gi = n2.__importDefault(i2(64986)), fi = n2.__importDefault(i2(13730)), Ti = n2.__importDefault(i2(29304)), yi = n2.__importDefault(i2(53318)), Si = n2.__importDefault(i2(99622)), Ai = n2.__importDefault(i2(93260)), Ni = n2.__importDefault(i2(50504)), Oi = n2.__importDefault(i2(60725)), Ii = n2.__importDefault(i2(85321)), vi = n2.__importDefault(i2(28912)), Ci = n2.__importDefault(i2(63668)), bi = n2.__importDefault(i2(71840)), Ei = n2.__importDefault(i2(39554)), Ri = n2.__importDefault(i2(51837)), wi = n2.__importDefault(i2(90961)), Di = n2.__importDefault(i2(27381)), Pi = n2.__importDefault(i2(53097)), Mi = n2.__importDefault(i2(39729)), Fi = n2.__importDefault(i2(56961)), Li = n2.__importDefault(i2(57855)), xi = n2.__importDefault(i2(48880)), ki = n2.__importDefault(i2(29268)), Vi = n2.__importDefault(i2(99163)), Ui = n2.__importDefault(i2(60843)), Bi = { ArchChoice: r2.default, ArchValueAgentScorePair: s.default, ArchValueAgentScorePairCollection: l.default, ArchNamedValue: o.default, ArchNamedValueList: a.default, ArchValueAny: u.default, ArchValueAnyCollection: d.default, ArchValueCustomerIntent: D.default, ArchValueCustomerIntentCollection: P.default, ArchValueCustomerSegment: M.default, ArchValueCustomerSegmentCollection: F.default, ArchValueAssignedCustomerIntent: c.default, ArchValueAssignedCustomerIntentCollection: p.default, ArchValueAssignedCustomerSegment: _.default, ArchValueAssignedCustomerSegmentCollection: h.default, ArchValueAudio: m.default, ArchValueBoolean: g.default, ArchValueBooleanCollection: f.default, ArchValueCard: T.default, ArchValueCardCollection: y.default, ArchValueCarousel: S.default, ArchValueChooser: v.default, ArchValueContactList: E.default, ArchValueChatGuest: A.default, ArchValueChatGuestCollection: N.default, ArchValueChoice: O.default, ArchValueChoiceCollection: I.default, ArchValueCommunication: C.default, ArchValueCommunicationCollection: b.default, ArchValueCurrency: R.default, ArchValueCurrencyCollection: w.default, ArchValueDate: L.default, ArchValueDateCollection: x.default, ArchValueDateTime: k.default, ArchValueDateTimeCollection: V.default, ArchValueDecimal: U.default, ArchValueDecimalCollection: B.default, ArchValueDigitalAudio: G.default, ArchValueDigitalAudioCollection: j.default, ArchValueDivision: W.default, ArchValueDivisionCollection: q.default, ArchValueDuration: Y.default, ArchValueDurationCollection: H.default, ArchValueEmail: J.default, ArchValueEmailCollection: X.default, ArchValueEmailAddress: z.default, ArchValueEmailAddressCollection: K.default, ArchValueEmailAttachment: $.default, ArchValueEmailAttachmentCollection: Q.default, ArchValueEmergencyGroup: Z.default, ArchValueEmergencyGroupCollection: ee.default, ArchValueEmptyJson: te.default, ArchValueEmptyJsonCollection: ie.default, ArchValueExternalAddress: ne.default, ArchValueExternalAddressCollection: re.default, ArchValueExternalAppleInfo: oe.default, ArchValueExternalAppleInfoCollection: ae.default, ArchValueExternalContact: se.default, ArchValueExternalContactCollection: le.default, ArchValueExternalFacebookId: ue.default, ArchValueExternalFacebookIdCollection: de.default, ArchValueExternalFacebookInfo: ce.default, ArchValueExternalFacebookInfoCollection: pe.default, ArchValueExternalIdInfo: _e.default, ArchValueExternalIdInfoCollection: he.default, ArchValueExternalInstagramInfo: me.default, ArchValueExternalInstagramInfoCollection: ge.default, ArchValueExternalInstagramScopedId: fe.default, ArchValueExternalInstagramScopedIdCollection: Te.default, ArchValueExternalLineId: ye.default, ArchValueExternalLineIdCollection: Se.default, ArchValueExternalLineInfo: Ae.default, ArchValueExternalLineInfoCollection: Ne.default, ArchValueExternalOrganization: ve.default, ArchValueExternalOrganizationCollection: Ce.default, ArchValueExternalTwitterInfo: De.default, ArchValueExternalTwitterInfoCollection: Pe.default, ArchValueExternalPhoneNumber: be.default, ArchValueExternalPhoneNumberCollection: Ee.default, ArchValueExternalSource: Re.default, ArchValueExternalSourceCollection: we.default, ArchValueExternalLinkConfiguration: Oe.default, ArchValueExternalLinkConfigurationCollection: Ie.default, ArchValueFile: Le.default, ArchValueFileCollection: xe.default, ArchValueFormInput: ke.default, ArchValueGrammar: Ve.default, ArchValueGrammarCollection: Ue.default, ArchValueGroup: Be.default, ArchValueGroupCollection: Ge.default, ArchValueImage: je.default, ArchValueImageCollection: We.default, ArchValueInteger: qe.default, ArchValueIntegerCollection: Ye.default, ArchValueJourneyAction: He.default, ArchValueJourneyActionMap: Je.default, ArchValueJourneyApp: ze.default, ArchValueJourneyBrowser: Ke.default, ArchValueJourneyCampaign: $e.default, ArchValueJourneyContext: Qe.default, ArchValueJourneyCustomer: Xe.default, ArchValueJourneyCustomerSession: Ze.default, ArchValueJourneyCustomEventAttribute: et.default, ArchValueJourneyCustomEventAttributeCollection: tt.default, ArchValueJourneyCustomEventAttributeList: it.default, ArchValueJourneyCustomEventAttributeListCollection: nt.default, ArchValueJourneyDevice: rt.default, ArchValueJourneyGeolocation: ot.default, ArchValueJourneyNetworkConnectivity: at.default, ArchValueJourneyOutcome: st.default, ArchValueJourneyOutcomeCollection: lt.default, ArchValueJourneyOutcomeScore: ut.default, ArchValueJourneyOutcomeScoreCollection: dt.default, ArchValueJourneySdkLibrary: _t.default, ArchValueJourneySegment: ht.default, ArchValueJourneySegmentCollection: mt.default, ArchValueJourneySessionOutcomeAchievement: Tt.default, ArchValueJourneySessionOutcomeAchievementCollection: yt.default, ArchValueJourneyPage: ct.default, ArchValueJourneyReferrer: pt.default, ArchValueJourneySessionSegmentAssignment: St.default, ArchValueJourneySessionSegmentAssignmentCollection: At.default, ArchValueJourneySession: gt.default, ArchValueJourneySessionCollection: ft.default, ArchValueJson: Nt.default, ArchValueJsonCollection: Ot.default, ArchValueKnowledgeBaseDocument: It.default, ArchValueKnowledgeBaseDocumentCollection: vt.default, ArchValueLanguageSkill: Ct.default, ArchValueLanguageSkillCollection: bt.default, ArchValueLineItem: Et.default, ArchValueLineItemCollection: Rt.default, ArchValueListPicker: wt.default, ArchValueListPickerItem: Dt.default, ArchValueListPickerItemCollection: Pt.default, ArchValueListPickerSection: Mt.default, ArchValueListPickerSectionCollection: Ft.default, ArchValueMessageAddressInfo: Lt.default, ArchValueMessageAddressInfoCollection: xt.default, ArchValueMessageStickerInfo: kt.default, ArchValueMessageStickerInfoCollection: Vt.default, ArchValuePhoneNumber: Ut.default, ArchValuePhoneNumberCollection: Bt.default, ArchValuePrompt: Gt.default, ArchValuePromptCollection: jt.default, ArchValueQueue: Wt.default, ArchValueQueueCollection: qt.default, ArchValueQuickReplies: Yt.default, ArchValueResponseAsset: Ht.default, ArchValueResponseAssetCollection: Jt.default, ArchValueSchedule: zt.default, ArchValueScheduleCollection: Kt.default, ArchValueScheduleGroup: $t.default, ArchValueScheduleGroupCollection: Qt.default, ArchValueSettings: Xt.default, ArchValueShippingOption: Zt.default, ArchValueShippingOptionCollection: ei.default, ArchValueShortMessage: ti.default, ArchValueShortMessageCollection: ii.default, ArchValueSkill: ni.default, ArchValueSkillCollection: ri.default, ArchValueString: oi.default, ArchValueStringCollection: ai.default, ArchValueStringKeyValuePair: si.default, ArchValueStringKeyValuePairCollection: li.default, ArchValueSurveyAnswerOption: ui.default, ArchValueSurveyAnswerOptionCollection: di.default, ArchValueSurveyForm: ci.default, ArchValueSurveyQuestion: pi.default, ArchValueSurveyQuestionCollection: _i.default, ArchValueSurveyQuestionGroup: hi.default, ArchValueSurveyQuestionGroupCollection: mi.default, ArchValueTime: gi.default, ArchValueTimeCollection: fi.default, ArchValueTimePicker: Ti.default, ArchValueTimeslot: yi.default, ArchValueTimeslotCollection: Si.default, ArchValueUser: Ai.default, ArchValueUserCollection: Ni.default, ArchValueUtilizationLabel: Oi.default, ArchValueUtilizationLabelCollection: Ii.default, ArchValueVideo: vi.default, ArchValueVideoCollection: Ci.default, ArchValueVoiceSnippet: bi.default, ArchValueExternalWhatsAppInfo: Me.default, ArchValueExternalWhatsAppInfoCollection: Fe.default, ArchValueWheelPicker: Ei.default, ArchValueWheelPickerItem: Ri.default, ArchValueWheelPickerItemCollection: wi.default, ArchValueWorkbin: Di.default, ArchValueWorkbinCollection: Pi.default, ArchValueWorkitem: Mi.default, ArchValueWorkitemEventData: Fi.default, ArchValueWorkitemEventRule: Li.default, ArchValueWorktypeStatus: xi.default, ArchValueWorktypeStatusCollection: ki.default, ArchValueWrapupCode: Vi.default, ArchValueWrapupCodeCollection: Ui.default }; - t2.default = Bi; + const n2 = i2(31635), r2 = n2.__importDefault(i2(97847)), o = n2.__importDefault(i2(85510)), a = n2.__importDefault(i2(74705)), s = n2.__importDefault(i2(77858)), l = n2.__importDefault(i2(7946)), u = n2.__importDefault(i2(76501)), c = n2.__importDefault(i2(67817)), d = n2.__importDefault(i2(41857)), p = n2.__importDefault(i2(58253)), _ = n2.__importDefault(i2(20498)), h = n2.__importDefault(i2(56474)), m = n2.__importDefault(i2(69581)), g = n2.__importDefault(i2(9283)), f = n2.__importDefault(i2(39635)), T = n2.__importDefault(i2(59193)), y = n2.__importDefault(i2(80133)), S = n2.__importDefault(i2(40549)), A = n2.__importDefault(i2(24629)), N = n2.__importDefault(i2(17769)), v = n2.__importDefault(i2(47016)), O = n2.__importDefault(i2(39148)), I = n2.__importDefault(i2(7658)), C = n2.__importDefault(i2(59123)), b = n2.__importDefault(i2(41187)), E = n2.__importDefault(i2(64751)), w = n2.__importDefault(i2(54280)), R = n2.__importDefault(i2(94380)), D = n2.__importDefault(i2(40057)), P = n2.__importDefault(i2(52901)), M = n2.__importDefault(i2(70570)), F = n2.__importDefault(i2(59794)), L = n2.__importDefault(i2(38863)), x = n2.__importDefault(i2(55031)), k = n2.__importDefault(i2(16598)), V = n2.__importDefault(i2(63446)), U = n2.__importDefault(i2(55072)), B = n2.__importDefault(i2(86500)), G = n2.__importDefault(i2(42237)), j = n2.__importDefault(i2(23217)), W = n2.__importDefault(i2(51236)), q = n2.__importDefault(i2(35520)), Y = n2.__importDefault(i2(2583)), H = n2.__importDefault(i2(99423)), J = n2.__importDefault(i2(63463)), $ = n2.__importDefault(i2(50447)), z = n2.__importDefault(i2(76919)), K = n2.__importDefault(i2(93218)), Q = n2.__importDefault(i2(31485)), X = n2.__importDefault(i2(72943)), Z = n2.__importDefault(i2(29651)), ee = n2.__importDefault(i2(14115)), te = n2.__importDefault(i2(2812)), ie = n2.__importDefault(i2(61272)), ne = n2.__importDefault(i2(52510)), re = n2.__importDefault(i2(90366)), oe = n2.__importDefault(i2(70518)), ae = n2.__importDefault(i2(38422)), se = n2.__importDefault(i2(43190)), le = n2.__importDefault(i2(21046)), ue = n2.__importDefault(i2(63854)), ce = n2.__importDefault(i2(56486)), de = n2.__importDefault(i2(92993)), pe = n2.__importDefault(i2(65165)), _e = n2.__importDefault(i2(91292)), he = n2.__importDefault(i2(48312)), me = n2.__importDefault(i2(60577)), ge = n2.__importDefault(i2(33805)), fe = n2.__importDefault(i2(64042)), Te = n2.__importDefault(i2(78258)), ye = n2.__importDefault(i2(1607)), Se = n2.__importDefault(i2(50479)), Ae = n2.__importDefault(i2(51895)), Ne = n2.__importDefault(i2(62527)), ve = n2.__importDefault(i2(3022)), Oe = n2.__importDefault(i2(83566)), Ie = n2.__importDefault(i2(56248)), Ce = n2.__importDefault(i2(87964)), be = n2.__importDefault(i2(23399)), Ee = n2.__importDefault(i2(25679)), we = n2.__importDefault(i2(79163)), Re = n2.__importDefault(i2(88779)), De = n2.__importDefault(i2(91013)), Pe = n2.__importDefault(i2(59929)), Me = n2.__importDefault(i2(29925)), Fe = n2.__importDefault(i2(39865)), Le = n2.__importDefault(i2(23206)), xe = n2.__importDefault(i2(73510)), ke = n2.__importDefault(i2(60341)), Ve = n2.__importDefault(i2(56617)), Ue = n2.__importDefault(i2(74617)), Be = n2.__importDefault(i2(84986)), Ge = n2.__importDefault(i2(24962)), je = n2.__importDefault(i2(52828)), We = n2.__importDefault(i2(22488)), qe = n2.__importDefault(i2(75342)), Ye = n2.__importDefault(i2(18126)), He = n2.__importDefault(i2(12861)), Je = n2.__importDefault(i2(33169)), $e = n2.__importDefault(i2(96713)), ze = n2.__importDefault(i2(46999)), Ke = n2.__importDefault(i2(74400)), Qe = n2.__importDefault(i2(98631)), Xe = n2.__importDefault(i2(62905)), Ze = n2.__importDefault(i2(58108)), et = n2.__importDefault(i2(48467)), tt = n2.__importDefault(i2(18759)), it = n2.__importDefault(i2(40904)), nt = n2.__importDefault(i2(2092)), rt = n2.__importDefault(i2(53908)), ot = n2.__importDefault(i2(8784)), at = n2.__importDefault(i2(48349)), st = n2.__importDefault(i2(12298)), lt = n2.__importDefault(i2(33286)), ut = n2.__importDefault(i2(20695)), ct = n2.__importDefault(i2(14175)), dt = n2.__importDefault(i2(93421)), pt = n2.__importDefault(i2(45422)), _t = n2.__importDefault(i2(96776)), ht = n2.__importDefault(i2(64792)), mt = n2.__importDefault(i2(42268)), gt = n2.__importDefault(i2(28850)), ft = n2.__importDefault(i2(48730)), Tt = n2.__importDefault(i2(12199)), yt = n2.__importDefault(i2(80815)), St = n2.__importDefault(i2(27368)), At = n2.__importDefault(i2(50924)), Nt = n2.__importDefault(i2(28071)), vt = n2.__importDefault(i2(63439)), Ot = n2.__importDefault(i2(60061)), It = n2.__importDefault(i2(28817)), Ct = n2.__importDefault(i2(8311)), bt = n2.__importDefault(i2(57247)), Et = n2.__importDefault(i2(93348)), wt = n2.__importDefault(i2(59424)), Rt = n2.__importDefault(i2(44502)), Dt = n2.__importDefault(i2(70838)), Pt = n2.__importDefault(i2(6085)), Mt = n2.__importDefault(i2(66418)), Ft = n2.__importDefault(i2(30042)), Lt = n2.__importDefault(i2(4266)), xt = n2.__importDefault(i2(18322)), kt = n2.__importDefault(i2(35786)), Vt = n2.__importDefault(i2(92498)), Ut = n2.__importDefault(i2(69109)), Bt = n2.__importDefault(i2(90601)), Gt = n2.__importDefault(i2(7302)), jt = n2.__importDefault(i2(71814)), Wt = n2.__importDefault(i2(8833)), qt = n2.__importDefault(i2(28333)), Yt = n2.__importDefault(i2(45964)), Ht = n2.__importDefault(i2(40776)), Jt = n2.__importDefault(i2(76150)), $t = n2.__importDefault(i2(95250)), zt = n2.__importDefault(i2(73946)), Kt = n2.__importDefault(i2(20846)), Qt = n2.__importDefault(i2(59630)), Xt = n2.__importDefault(i2(903)), Zt = n2.__importDefault(i2(64847)), ei = n2.__importDefault(i2(82926)), ti = n2.__importDefault(i2(64576)), ii = n2.__importDefault(i2(58308)), ni = n2.__importDefault(i2(57498)), ri = n2.__importDefault(i2(15138)), oi = n2.__importDefault(i2(50202)), ai = n2.__importDefault(i2(89154)), si = n2.__importDefault(i2(18818)), li = n2.__importDefault(i2(95338)), ui = n2.__importDefault(i2(23906)), ci = n2.__importDefault(i2(55050)), di = n2.__importDefault(i2(13442)), pi = n2.__importDefault(i2(21770)), _i = n2.__importDefault(i2(4219)), hi = n2.__importDefault(i2(44633)), mi = n2.__importDefault(i2(11909)), gi = n2.__importDefault(i2(68322)), fi = n2.__importDefault(i2(88874)), Ti = n2.__importDefault(i2(64986)), yi = n2.__importDefault(i2(13730)), Si = n2.__importDefault(i2(29304)), Ai = n2.__importDefault(i2(53318)), Ni = n2.__importDefault(i2(99622)), vi = n2.__importDefault(i2(93260)), Oi = n2.__importDefault(i2(50504)), Ii = n2.__importDefault(i2(60725)), Ci = n2.__importDefault(i2(85321)), bi = n2.__importDefault(i2(28912)), Ei = n2.__importDefault(i2(63668)), wi = n2.__importDefault(i2(71840)), Ri = n2.__importDefault(i2(39554)), Di = n2.__importDefault(i2(51837)), Pi = n2.__importDefault(i2(90961)), Mi = n2.__importDefault(i2(27381)), Fi = n2.__importDefault(i2(53097)), Li = n2.__importDefault(i2(39729)), xi = n2.__importDefault(i2(56961)), ki = n2.__importDefault(i2(57855)), Vi = n2.__importDefault(i2(48880)), Ui = n2.__importDefault(i2(29268)), Bi = n2.__importDefault(i2(99163)), Gi = n2.__importDefault(i2(60843)), ji = { ArchChoice: r2.default, ArchValueAgentScorePair: s.default, ArchValueAgentScorePairCollection: l.default, ArchNamedValue: o.default, ArchNamedValueList: a.default, ArchValueAny: u.default, ArchValueAnyCollection: c.default, ArchValueCustomerIntent: D.default, ArchValueCustomerIntentCollection: P.default, ArchValueCustomerSegment: M.default, ArchValueCustomerSegmentCollection: F.default, ArchValueAssignedCustomerIntent: d.default, ArchValueAssignedCustomerIntentCollection: p.default, ArchValueAssignedCustomerSegment: _.default, ArchValueAssignedCustomerSegmentCollection: h.default, ArchValueAudio: m.default, ArchValueBoolean: g.default, ArchValueBooleanCollection: f.default, ArchValueCard: T.default, ArchValueCardCollection: y.default, ArchValueCarousel: S.default, ArchValueChooser: I.default, ArchValueContactList: E.default, ArchValueChatGuest: A.default, ArchValueChatGuestCollection: N.default, ArchValueChoice: v.default, ArchValueChoiceCollection: O.default, ArchValueCommunication: C.default, ArchValueCommunicationCollection: b.default, ArchValueCurrency: w.default, ArchValueCurrencyCollection: R.default, ArchValueDate: L.default, ArchValueDateCollection: x.default, ArchValueDateTime: k.default, ArchValueDateTimeCollection: V.default, ArchValueDecimal: U.default, ArchValueDecimalCollection: B.default, ArchValueDigitalAudio: G.default, ArchValueDigitalAudioCollection: j.default, ArchValueDivision: W.default, ArchValueDivisionCollection: q.default, ArchValueDuration: Y.default, ArchValueDurationCollection: H.default, ArchValueEmail: J.default, ArchValueEmailCollection: X.default, ArchValueEmailAddress: $.default, ArchValueEmailAddressCollection: z.default, ArchValueEmailAttachment: K.default, ArchValueEmailAttachmentCollection: Q.default, ArchValueEmergencyGroup: Z.default, ArchValueEmergencyGroupCollection: ee.default, ArchValueEmptyJson: te.default, ArchValueEmptyJsonCollection: ie.default, ArchValueExternalAddress: ne.default, ArchValueExternalAddressCollection: re.default, ArchValueExternalAppleInfo: oe.default, ArchValueExternalAppleInfoCollection: ae.default, ArchValueExternalContact: se.default, ArchValueExternalContactCollection: le.default, ArchValueExternalContactPatchChange: ue.default, ArchValueExternalContactPatchChangeList: ce.default, ArchValueExternalFacebookId: de.default, ArchValueExternalFacebookIdCollection: pe.default, ArchValueExternalFacebookInfo: _e.default, ArchValueExternalFacebookInfoCollection: he.default, ArchValueExternalIdInfo: me.default, ArchValueExternalIdInfoCollection: ge.default, ArchValueExternalInstagramInfo: fe.default, ArchValueExternalInstagramInfoCollection: Te.default, ArchValueExternalInstagramScopedId: ye.default, ArchValueExternalInstagramScopedIdCollection: Se.default, ArchValueExternalLineId: Ae.default, ArchValueExternalLineIdCollection: Ne.default, ArchValueExternalLineInfo: ve.default, ArchValueExternalLineInfoCollection: Oe.default, ArchValueExternalOrganization: be.default, ArchValueExternalOrganizationCollection: Ee.default, ArchValueExternalTwitterInfo: Me.default, ArchValueExternalTwitterInfoCollection: Fe.default, ArchValueExternalPhoneNumber: we.default, ArchValueExternalPhoneNumberCollection: Re.default, ArchValueExternalSource: De.default, ArchValueExternalSourceCollection: Pe.default, ArchValueExternalLinkConfiguration: Ie.default, ArchValueExternalLinkConfigurationCollection: Ce.default, ArchValueFile: ke.default, ArchValueFileCollection: Ve.default, ArchValueFormInput: Ue.default, ArchValueGrammar: Be.default, ArchValueGrammarCollection: Ge.default, ArchValueGroup: je.default, ArchValueGroupCollection: We.default, ArchValueImage: qe.default, ArchValueImageCollection: Ye.default, ArchValueInteger: He.default, ArchValueIntegerCollection: Je.default, ArchValueJourneyAction: $e.default, ArchValueJourneyActionMap: ze.default, ArchValueJourneyApp: Ke.default, ArchValueJourneyBrowser: Qe.default, ArchValueJourneyCampaign: Xe.default, ArchValueJourneyContext: Ze.default, ArchValueJourneyCustomer: et.default, ArchValueJourneyCustomerSession: tt.default, ArchValueJourneyCustomEventAttribute: it.default, ArchValueJourneyCustomEventAttributeCollection: nt.default, ArchValueJourneyCustomEventAttributeList: rt.default, ArchValueJourneyCustomEventAttributeListCollection: ot.default, ArchValueJourneyDevice: at.default, ArchValueJourneyGeolocation: st.default, ArchValueJourneyNetworkConnectivity: lt.default, ArchValueJourneyOutcome: ut.default, ArchValueJourneyOutcomeCollection: ct.default, ArchValueJourneyOutcomeScore: dt.default, ArchValueJourneyOutcomeScoreCollection: pt.default, ArchValueJourneySdkLibrary: mt.default, ArchValueJourneySegment: gt.default, ArchValueJourneySegmentCollection: ft.default, ArchValueJourneySessionOutcomeAchievement: St.default, ArchValueJourneySessionOutcomeAchievementCollection: At.default, ArchValueJourneyPage: _t.default, ArchValueJourneyReferrer: ht.default, ArchValueJourneySessionSegmentAssignment: Nt.default, ArchValueJourneySessionSegmentAssignmentCollection: vt.default, ArchValueJourneySession: Tt.default, ArchValueJourneySessionCollection: yt.default, ArchValueJson: Ot.default, ArchValueJsonCollection: It.default, ArchValueKnowledgeBaseDocument: Ct.default, ArchValueKnowledgeBaseDocumentCollection: bt.default, ArchValueLanguageSkill: Et.default, ArchValueLanguageSkillCollection: wt.default, ArchValueLineItem: Rt.default, ArchValueLineItemCollection: Dt.default, ArchValueListPicker: Pt.default, ArchValueListPickerItem: Mt.default, ArchValueListPickerItemCollection: Ft.default, ArchValueListPickerSection: Lt.default, ArchValueListPickerSectionCollection: xt.default, ArchValueMessageAddressInfo: kt.default, ArchValueMessageAddressInfoCollection: Vt.default, ArchValueMessageStickerInfo: Ut.default, ArchValueMessageStickerInfoCollection: Bt.default, ArchValuePhoneNumber: Gt.default, ArchValuePhoneNumberCollection: jt.default, ArchValuePrompt: Wt.default, ArchValuePromptCollection: qt.default, ArchValueQueue: Yt.default, ArchValueQueueCollection: Ht.default, ArchValueQuickReplies: Jt.default, ArchValueResponseAsset: $t.default, ArchValueResponseAssetCollection: zt.default, ArchValueSchedule: Kt.default, ArchValueScheduleCollection: Qt.default, ArchValueScheduleGroup: Xt.default, ArchValueScheduleGroupCollection: Zt.default, ArchValueSettings: ei.default, ArchValueShippingOption: ti.default, ArchValueShippingOptionCollection: ii.default, ArchValueShortMessage: ni.default, ArchValueShortMessageCollection: ri.default, ArchValueSkill: oi.default, ArchValueSkillCollection: ai.default, ArchValueString: si.default, ArchValueStringCollection: li.default, ArchValueStringKeyValuePair: ui.default, ArchValueStringKeyValuePairCollection: ci.default, ArchValueSurveyAnswerOption: di.default, ArchValueSurveyAnswerOptionCollection: pi.default, ArchValueSurveyForm: _i.default, ArchValueSurveyQuestion: hi.default, ArchValueSurveyQuestionCollection: mi.default, ArchValueSurveyQuestionGroup: gi.default, ArchValueSurveyQuestionGroupCollection: fi.default, ArchValueTime: Ti.default, ArchValueTimeCollection: yi.default, ArchValueTimePicker: Si.default, ArchValueTimeslot: Ai.default, ArchValueTimeslotCollection: Ni.default, ArchValueUser: vi.default, ArchValueUserCollection: Oi.default, ArchValueUtilizationLabel: Ii.default, ArchValueUtilizationLabelCollection: Ci.default, ArchValueVideo: bi.default, ArchValueVideoCollection: Ei.default, ArchValueVoiceSnippet: wi.default, ArchValueExternalWhatsAppInfo: Le.default, ArchValueExternalWhatsAppInfoCollection: xe.default, ArchValueWheelPicker: Ri.default, ArchValueWheelPickerItem: Di.default, ArchValueWheelPickerItemCollection: Pi.default, ArchValueWorkbin: Mi.default, ArchValueWorkbinCollection: Fi.default, ArchValueWorkitem: Li.default, ArchValueWorkitemEventData: xi.default, ArchValueWorkitemEventRule: ki.default, ArchValueWorktypeStatus: Vi.default, ArchValueWorktypeStatusCollection: Ui.default, ArchValueWrapupCode: Bi.default, ArchValueWrapupCodeCollection: Gi.default }; + t2.default = ji; }, 91911: (e2, t2) => { "use strict"; var i2; @@ -106161,8 +115080,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 91919: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.EmergencyGroupType = void 0; - const n2 = i2(31635), r2 = i2(14394), o = i2(71056), a = i2(91674), s = i2(27491), l = n2.__importDefault(i2(22226)), u = i2(80428), d = i2(94765); - class c extends d.ExpressionType { + const n2 = i2(31635).__importDefault(i2(22226)), r2 = i2(71056), o = i2(91674), a = i2(1910), s = i2(27491), l = i2(80428), u = i2(14394), c = i2(94765); + class d extends c.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -106170,19 +115089,22 @@ ${e3.stack}`, n3 = [this].concat(i3); return "EmergencyGroupType"; } createExpressionOptionClass() { - return new o.ExpressionTypeNetworkObjectOptions(this.isCollection); + return new r2.ExpressionTypeNetworkObjectOptions(this.isCollection); } get listManager() { - return a.emergencyGroupManager.getBriefManagerWithFallback(); + return o.emergencyGroupManager.getBriefManagerWithFallback(); + } + applyLiteralFromModel(e3, t3, i3, n3) { + (0, a.applyNetworkListLiteralFromModel)(e3, t3, i3, n3, d.entityResolverEntityType) || super.applyLiteralFromModel(e3, t3, i3, n3); } canConvertLitToExpression(e3) { - return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindEmergencyGroup", e3, [r2.globalTypes.string]); + return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindEmergencyGroup", e3, [u.globalTypes.string]); } convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindEmergencyGroup(${l.default.getQuotedExpressionStringLiteral(t3)})` : ""; + return t3 && this.canConvertLitToExpression(e3) ? `FindEmergencyGroup(${n2.default.getQuotedExpressionStringLiteral(t3)})` : ""; } } - t2.EmergencyGroupType = c, c.typeIdentifier = u.expressionTypeNames.emergencyGroup; + t2.EmergencyGroupType = d, d.typeIdentifier = l.expressionTypeNames.emergencyGroup, d.entityResolverEntityType = "emergencyGroup"; }, 91928: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -106229,8 +115151,8 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635), r2 = n2.__importDefault(i2(23581)), o = n2.__importDefault(i2(69215)); class a extends r2.default { - constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, resultExpressionType: o2, restrictToFlowTypeOrTypes: a2, categoryIdentifierOrIdentifiers: s, builderPartDefCategoryIdentifierOrIdentifiers: l, defaultBuilderPartId: u, icon: d, helpTopic: c, requiredFeatureToggle: p, requiredFeatureConfig: _, requiredChannelTypeOrTypes: h, minMaxInfo: m, builderPartTypes: g, builderManagesContainerOrder: f }) { - super(e3, t3, i3, n3, r3, o2, a2, s, l, u, d, c, p, _, h, m, g, f); + constructor({ id: e3, name: t3, description: i3, version: n3, generators: r3, resultExpressionType: o2, restrictToFlowTypeOrTypes: a2, categoryIdentifierOrIdentifiers: s, builderPartDefCategoryIdentifierOrIdentifiers: l, defaultBuilderPartId: u, icon: c, helpTopic: d, requiredFeatureToggle: p, requiredFeatureConfig: _, requiredChannelTypeOrTypes: h, minMaxInfo: m, builderPartTypes: g, builderManagesContainerOrder: f }) { + super(e3, t3, i3, n3, r3, o2, a2, s, l, u, c, d, p, _, h, m, g, f); } get className() { return "CommunicationBuilderWithBuilderPartsDef"; @@ -106358,7 +115280,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 92140: function(e2) { var t2; t2 = function() { - var e3 = "1.13.8", t3 = "object" == typeof self && self.self === self && self || "object" == typeof global && global.global === global && global || Function("return this")() || {}, i2 = Array.prototype, n2 = Object.prototype, r2 = "undefined" != typeof Symbol ? Symbol.prototype : null, o = i2.push, a = i2.slice, s = n2.toString, l = n2.hasOwnProperty, u = "undefined" != typeof ArrayBuffer, d = "undefined" != typeof DataView, c = Array.isArray, p = Object.keys, _ = Object.create, h = u && ArrayBuffer.isView, m = isNaN, g = isFinite, f = !{ toString: null }.propertyIsEnumerable("toString"), T = ["valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], y = Math.pow(2, 53) - 1; + var e3 = "1.13.8", t3 = "object" == typeof self && self.self === self && self || "object" == typeof global && global.global === global && global || Function("return this")() || {}, i2 = Array.prototype, n2 = Object.prototype, r2 = "undefined" != typeof Symbol ? Symbol.prototype : null, o = i2.push, a = i2.slice, s = n2.toString, l = n2.hasOwnProperty, u = "undefined" != typeof ArrayBuffer, c = "undefined" != typeof DataView, d = Array.isArray, p = Object.keys, _ = Object.create, h = u && ArrayBuffer.isView, m = isNaN, g = isFinite, f = !{ toString: null }.propertyIsEnumerable("toString"), T = ["valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], y = Math.pow(2, 53) - 1; function S(e4, t4) { return t4 = null == t4 ? e4.length - 1 : +t4, function() { for (var i3 = Math.max(arguments.length - t4, 0), n3 = Array(i3), r3 = 0; r3 < i3; r3++) n3[r3] = arguments[r3 + t4]; @@ -106382,26 +115304,26 @@ ${e3.stack}`, n3 = [this].concat(i3); function N(e4) { return void 0 === e4; } - function O(e4) { + function v(e4) { return true === e4 || false === e4 || "[object Boolean]" === s.call(e4); } - function I(e4) { + function O(e4) { var t4 = "[object " + e4 + "]"; return function(e5) { return s.call(e5) === t4; }; } - var v = I("String"), C = I("Number"), b = I("Date"), E = I("RegExp"), R = I("Error"), w = I("Symbol"), D = I("ArrayBuffer"), P = I("Function"), M = t3.document && t3.document.childNodes; + var I = O("String"), C = O("Number"), b = O("Date"), E = O("RegExp"), w = O("Error"), R = O("Symbol"), D = O("ArrayBuffer"), P = O("Function"), M = t3.document && t3.document.childNodes; "object" != typeof Int8Array && "function" != typeof M && (P = function(e4) { return "function" == typeof e4 || false; }); - var F = P, L = I("Object"), x = d && (!/\[native code\]/.test(String(DataView)) || L(new DataView(new ArrayBuffer(8)))), k = "undefined" != typeof Map && L(/* @__PURE__ */ new Map()), V = I("DataView"), U = x ? function(e4) { + var F = P, L = O("Object"), x = c && (!/\[native code\]/.test(String(DataView)) || L(new DataView(new ArrayBuffer(8)))), k = "undefined" != typeof Map && L(/* @__PURE__ */ new Map()), V = O("DataView"), U = x ? function(e4) { return null != e4 && F(e4.getInt8) && D(e4.buffer); - } : V, B = c || I("Array"); + } : V, B = d || O("Array"); function G(e4, t4) { return null != e4 && l.call(e4, t4); } - var j = I("Arguments"); + var j = O("Arguments"); !(function() { j(arguments) || (j = function(e4) { return G(e4, "callee"); @@ -106427,8 +115349,8 @@ ${e3.stack}`, n3 = [this].concat(i3); return null == t4 ? void 0 : t4[e4]; }; } - var z = J("byteLength"), K = H(z), $ = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/, Q = u ? function(e4) { - return h ? h(e4) && !U(e4) : K(e4) && $.test(s.call(e4)); + var $ = J("byteLength"), z = H($), K = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/, Q = u ? function(e4) { + return h ? h(e4) && !U(e4) : z(e4) && K.test(s.call(e4)); } : Y(false), X = J("length"); function Z(e4, t4) { t4 = (function(e5) { @@ -106462,7 +115384,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return e4 instanceof ie ? e4 : this instanceof ie ? void (this._wrapped = e4) : new ie(e4); } function ne(e4) { - return new Uint8Array(e4.buffer || e4, e4.byteOffset || 0, z(e4)); + return new Uint8Array(e4.buffer || e4, e4.byteOffset || 0, $(e4)); } ie.VERSION = e3, ie.prototype.value = function() { return this._wrapped; @@ -106483,10 +115405,10 @@ ${e3.stack}`, n3 = [this].concat(i3); var n3 = oe(i3); if (X(n3)) return false; for (var r3 = 0; r3 < t4; r3++) if (!F(i3[e4[r3]])) return false; - return e4 !== ce || !F(i3[se]); + return e4 !== de || !F(i3[se]); }; } - var se = "forEach", le = ["clear", "delete"], ue = ["get", "has", "set"], de = le.concat(se, ue), ce = le.concat(ue), pe = ["add"].concat(le, se, "has"), _e = k ? ae(de) : I("Map"), he = k ? ae(ce) : I("WeakMap"), me = k ? ae(pe) : I("Set"), ge = I("WeakSet"); + var se = "forEach", le = ["clear", "delete"], ue = ["get", "has", "set"], ce = le.concat(se, ue), de = le.concat(ue), pe = ["add"].concat(le, se, "has"), _e = k ? ae(ce) : O("Map"), he = k ? ae(de) : O("WeakMap"), me = k ? ae(pe) : O("Set"), ge = O("WeakSet"); function fe(e4) { for (var t4 = ee(e4), i3 = t4.length, n3 = Array(i3), r3 = 0; r3 < i3; r3++) n3[r3] = e4[t4[r3]]; return n3; @@ -106511,8 +115433,8 @@ ${e3.stack}`, n3 = [this].concat(i3); return i3; }; } - var Ae = Se(oe), Ne = Se(ee), Oe = Se(oe, true); - function Ie(e4) { + var Ae = Se(oe), Ne = Se(ee), ve = Se(oe, true); + function Oe(e4) { if (!A(e4)) return {}; if (_) return _(e4); var t4 = function() { @@ -106521,7 +115443,7 @@ ${e3.stack}`, n3 = [this].concat(i3); var i3 = new t4(); return t4.prototype = null, i3; } - function ve(e4) { + function Ie(e4) { return B(e4) ? e4 : [e4]; } function Ce(e4) { @@ -106538,10 +115460,10 @@ ${e3.stack}`, n3 = [this].concat(i3); var n3 = be(e4, Ce(t4)); return N(n3) ? i3 : n3; } - function Re(e4) { + function we(e4) { return e4; } - function we(e4) { + function Re(e4) { return e4 = Ne({}, e4), function(t4) { return te(t4, e4); }; @@ -106572,7 +115494,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }; } function Me(e4, t4, i3) { - return null == e4 ? Re : F(e4) ? Pe(e4, t4, i3) : A(e4) && !B(e4) ? we(e4) : De(e4); + return null == e4 ? we : F(e4) ? Pe(e4, t4, i3) : A(e4) && !B(e4) ? Re(e4) : De(e4); } function Fe(e4, t4) { return Me(e4, t4, 1 / 0); @@ -106585,7 +115507,7 @@ ${e3.stack}`, n3 = [this].concat(i3); function ke(e4, t4) { return null == t4 && (t4 = e4, e4 = 0), e4 + Math.floor(Math.random() * (t4 - e4 + 1)); } - ie.toPath = ve, ie.iteratee = Fe; + ie.toPath = Ie, ie.iteratee = Fe; var Ve = Date.now || function() { return (/* @__PURE__ */ new Date()).getTime(); }; @@ -106601,17 +115523,17 @@ ${e3.stack}`, n3 = [this].concat(i3); function Je(e4) { return "\\" + Ye[e4]; } - var ze = /^\s*(\w|\$)+\s*$/, Ke = 0; - function $e(e4, t4, i3, n3, r3) { + var $e = /^\s*(\w|\$)+\s*$/, ze = 0; + function Ke(e4, t4, i3, n3, r3) { if (!(n3 instanceof t4)) return e4.apply(i3, r3); - var o2 = Ie(e4.prototype), a2 = e4.apply(o2, r3); + var o2 = Oe(e4.prototype), a2 = e4.apply(o2, r3); return A(a2) ? a2 : o2; } var Qe = S(function(e4, t4) { var i3 = Qe.placeholder, n3 = function() { for (var r3 = 0, o2 = t4.length, a2 = Array(o2), s2 = 0; s2 < o2; s2++) a2[s2] = t4[s2] === i3 ? arguments[r3++] : t4[s2]; for (; r3 < arguments.length; ) a2.push(arguments[r3++]); - return $e(e4, n3, this, this, a2); + return Ke(e4, n3, this, this, a2); }; return n3; }); @@ -106619,7 +115541,7 @@ ${e3.stack}`, n3 = [this].concat(i3); var Xe = S(function(e4, t4, i3) { if (!F(e4)) throw new TypeError("Bind must be called on a function"); var n3 = S(function(r3) { - return $e(e4, n3, t4, this, i3.concat(r3)); + return Ke(e4, n3, t4, this, i3.concat(r3)); }); return n3; }), Ze = H(X); @@ -106671,8 +115593,8 @@ ${e3.stack}`, n3 = [this].concat(i3); return -1; }; } - var ut = lt(1), dt = lt(-1); - function ct(e4, t4, i3, n3) { + var ut = lt(1), ct = lt(-1); + function dt(e4, t4, i3, n3) { for (var r3 = (i3 = Le(i3, n3, 1))(t4), o2 = 0, a2 = X(e4); o2 < a2; ) { var s2 = Math.floor((o2 + a2) / 2); i3(e4[s2]) < r3 ? o2 = s2 + 1 : a2 = s2; @@ -106689,7 +115611,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return -1; }; } - var _t = pt(1, ut, ct), ht = pt(-1, dt); + var _t = pt(1, ut, dt), ht = pt(-1, ct); function mt(e4, t4, i3) { var n3 = (Ze(e4) ? ut : st)(e4, t4, i3); if (void 0 !== n3 && -1 !== n3) return e4[n3]; @@ -106739,7 +115661,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } return true; } - function Ot(e4, t4, i3) { + function vt(e4, t4, i3) { t4 = Le(t4, i3); for (var n3 = !Ze(e4) && ee(e4), r3 = (n3 || e4).length, o2 = 0; o2 < r3; o2++) { var a2 = n3 ? n3[o2] : o2; @@ -106747,10 +115669,10 @@ ${e3.stack}`, n3 = [this].concat(i3); } return false; } - function It(e4, t4, i3, n3) { + function Ot(e4, t4, i3, n3) { return Ze(e4) || (e4 = fe(e4)), ("number" != typeof i3 || n3) && (i3 = 0), _t(e4, t4, i3) >= 0; } - var vt = S(function(e4, t4, i3) { + var It = S(function(e4, t4, i3) { var n3, r3; return F(t4) ? r3 = t4 : (t4 = Ce(t4), n3 = t4.slice(0, -1), t4 = t4[t4.length - 1]), ft(e4, function(e5) { var o2 = r3; @@ -106773,12 +115695,12 @@ ${e3.stack}`, n3 = [this].concat(i3); return o2; } var Et = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; - function Rt(e4) { - return e4 ? B(e4) ? a.call(e4) : v(e4) ? e4.match(Et) : Ze(e4) ? ft(e4, Re) : fe(e4) : []; + function wt(e4) { + return e4 ? B(e4) ? a.call(e4) : I(e4) ? e4.match(Et) : Ze(e4) ? ft(e4, we) : fe(e4) : []; } - function wt(e4, t4, i3) { + function Rt(e4, t4, i3) { if (null == t4 || i3) return Ze(e4) || (e4 = fe(e4)), e4[ke(e4.length - 1)]; - var n3 = Rt(e4), r3 = X(n3); + var n3 = wt(e4), r3 = X(n3); t4 = Math.max(Math.min(t4, r3), 0); for (var o2 = r3 - 1, a2 = 0; a2 < t4; a2++) { var s2 = ke(a2, o2), l2 = n3[a2]; @@ -106819,7 +115741,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }), Vt = S(function(e4, t4) { var i3, n3 = t4[0]; return F(n3) ? (n3 = rt(n3), t4.length > 1 && (i3 = t4[1])) : (t4 = ft(et(t4, false, false), String), n3 = function(e5, i4) { - return !It(t4, i4); + return !Ot(t4, i4); }), kt(e4, n3, i3); }); function Ut(e4, t4, i3) { @@ -106833,16 +115755,16 @@ ${e3.stack}`, n3 = [this].concat(i3); } var jt = S(function(e4, t4) { return t4 = et(t4, true, true), At(e4, function(e5) { - return !It(t4, e5); + return !Ot(t4, e5); }); }), Wt = S(function(e4, t4) { return jt(e4, t4); }); function qt(e4, t4, i3, n3) { - O(t4) || (n3 = i3, i3 = t4, t4 = false), null != i3 && (i3 = Le(i3, n3)); + v(t4) || (n3 = i3, i3 = t4, t4 = false), null != i3 && (i3 = Le(i3, n3)); for (var r3 = [], o2 = [], a2 = 0, s2 = X(e4); a2 < s2; a2++) { var l2 = e4[a2], u2 = i3 ? i3(l2, a2, e4) : l2; - t4 && !i3 ? (a2 && o2 === u2 || r3.push(l2), o2 = u2) : i3 ? It(o2, u2) || (o2.push(u2), r3.push(l2)) : It(r3, l2) || r3.push(l2); + t4 && !i3 ? (a2 && o2 === u2 || r3.push(l2), o2 = u2) : i3 ? Ot(o2, u2) || (o2.push(u2), r3.push(l2)) : Ot(r3, l2) || r3.push(l2); } return r3; } @@ -106854,15 +115776,15 @@ ${e3.stack}`, n3 = [this].concat(i3); return i3; } var Jt = S(Ht); - function zt(e4, t4) { + function $t(e4, t4) { return e4._chain ? ie(t4).chain() : t4; } - function Kt(e4) { + function zt(e4) { return gt(ye(e4), function(t4) { var i3 = ie[t4] = e4[t4]; ie.prototype[t4] = function() { var e5 = [this._wrapped]; - return o.apply(e5, arguments), zt(this, i3.apply(ie, e5)); + return o.apply(e5, arguments), $t(this, i3.apply(ie, e5)); }; }), ie; } @@ -106870,25 +115792,25 @@ ${e3.stack}`, n3 = [this].concat(i3); var t4 = i2[e4]; ie.prototype[e4] = function() { var i3 = this._wrapped; - return null != i3 && (t4.apply(i3, arguments), "shift" !== e4 && "splice" !== e4 || 0 !== i3.length || delete i3[0]), zt(this, i3); + return null != i3 && (t4.apply(i3, arguments), "shift" !== e4 && "splice" !== e4 || 0 !== i3.length || delete i3[0]), $t(this, i3); }; }), gt(["concat", "join", "slice"], function(e4) { var t4 = i2[e4]; ie.prototype[e4] = function() { var e5 = this._wrapped; - return null != e5 && (e5 = t4.apply(e5, arguments)), zt(this, e5); + return null != e5 && (e5 = t4.apply(e5, arguments)), $t(this, e5); }; }); - var $t = { __proto__: null, VERSION: e3, restArguments: S, isObject: A, isNull: function(e4) { + var Kt = { __proto__: null, VERSION: e3, restArguments: S, isObject: A, isNull: function(e4) { return null === e4; - }, isUndefined: N, isBoolean: O, isElement: function(e4) { + }, isUndefined: N, isBoolean: v, isElement: function(e4) { return !(!e4 || 1 !== e4.nodeType); - }, isString: v, isNumber: C, isDate: b, isRegExp: E, isError: R, isSymbol: w, isArrayBuffer: D, isDataView: U, isArray: B, isFunction: F, isArguments: W, isFinite: function(e4) { - return !w(e4) && g(e4) && !isNaN(parseFloat(e4)); + }, isString: I, isNumber: C, isDate: b, isRegExp: E, isError: w, isSymbol: R, isArrayBuffer: D, isDataView: U, isArray: B, isFunction: F, isArguments: W, isFinite: function(e4) { + return !R(e4) && g(e4) && !isNaN(parseFloat(e4)); }, isNaN: q, isTypedArray: Q, isEmpty: function(e4) { if (null == e4) return true; var t4 = X(e4); - return "number" == typeof t4 && (B(e4) || v(e4) || W(e4)) ? 0 === t4 : 0 === X(ee(e4)); + return "number" == typeof t4 && (B(e4) || I(e4) || W(e4)) ? 0 === t4 : 0 === X(ee(e4)); }, isMatch: te, isEqual: function(e4, t4) { for (var i3 = [{ a: e4, b: t4 }], n3 = [], o2 = []; i3.length; ) { var a2 = i3.pop(); @@ -106931,22 +115853,22 @@ ${e3.stack}`, n3 = [this].concat(i3); i3.push({ a: ne(e4), b: ne(t4) }); continue; } - var d2 = "[object Array]" === u2; - if (!d2 && Q(e4)) { - if (z(e4) !== z(t4)) return false; + var c2 = "[object Array]" === u2; + if (!c2 && Q(e4)) { + if ($(e4) !== $(t4)) return false; if (e4.buffer === t4.buffer && e4.byteOffset === t4.byteOffset) continue; - d2 = true; + c2 = true; } - if (!d2) { + if (!c2) { if ("object" != typeof e4 || "object" != typeof t4) return false; - var c2 = e4.constructor, p2 = t4.constructor; - if (c2 !== p2 && !(F(c2) && c2 instanceof c2 && F(p2) && p2 instanceof p2) && "constructor" in e4 && "constructor" in t4) return false; + var d2 = e4.constructor, p2 = t4.constructor; + if (d2 !== p2 && !(F(d2) && d2 instanceof d2 && F(p2) && p2 instanceof p2) && "constructor" in e4 && "constructor" in t4) return false; } for (var _2 = n3.length; _2--; ) if (n3[_2] === e4) { if (o2[_2] === t4) break; return false; } - if (!(_2 >= 0)) if (n3.push(e4), o2.push(t4), i3.push(true), d2) { + if (!(_2 >= 0)) if (n3.push(e4), o2.push(t4), i3.push(true), c2) { if ((_2 = e4.length) !== t4.length) return false; for (; _2--; ) i3.push({ a: e4[_2], b: t4[_2] }); } else { @@ -106963,8 +115885,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, isMap: _e, isWeakMap: he, isSet: me, isWeakSet: ge, keys: ee, allKeys: oe, values: fe, pairs: function(e4) { for (var t4 = ee(e4), i3 = t4.length, n3 = Array(i3), r3 = 0; r3 < i3; r3++) n3[r3] = [t4[r3], e4[t4[r3]]]; return n3; - }, invert: Te, functions: ye, methods: ye, extend: Ae, extendOwn: Ne, assign: Ne, defaults: Oe, create: function(e4, t4) { - var i3 = Ie(e4); + }, invert: Te, functions: ye, methods: ye, extend: Ae, extendOwn: Ne, assign: Ne, defaults: ve, create: function(e4, t4) { + var i3 = Oe(e4); return t4 && Ne(i3, t4), i3; }, clone: function(e4) { return A(e4) ? B(e4) ? e4.slice() : Ae({}, e4) : e4; @@ -106984,24 +115906,24 @@ ${e3.stack}`, n3 = [this].concat(i3); o2[s2] = t4(e4[s2], s2, e4); } return o2; - }, identity: Re, constant: Y, noop: xe, toPath: ve, property: De, propertyOf: function(e4) { + }, identity: we, constant: Y, noop: xe, toPath: Ie, property: De, propertyOf: function(e4) { return null == e4 ? xe : function(t4) { return Ee(e4, t4); }; - }, matcher: we, matches: we, times: function(e4, t4, i3) { + }, matcher: Re, matches: Re, times: function(e4, t4, i3) { var n3 = Array(Math.max(0, e4)); t4 = Pe(t4, i3, 1); for (var r3 = 0; r3 < e4; r3++) n3[r3] = t4(r3); return n3; }, random: ke, now: Ve, escape: Ge, unescape: je, templateSettings: We, template: function(e4, t4, i3) { - !t4 && i3 && (t4 = i3), t4 = Oe({}, t4, ie.templateSettings); + !t4 && i3 && (t4 = i3), t4 = ve({}, t4, ie.templateSettings); var n3 = RegExp([(t4.escape || qe).source, (t4.interpolate || qe).source, (t4.evaluate || qe).source].join("|") + "|$", "g"), r3 = 0, o2 = "__p+='"; e4.replace(n3, function(t5, i4, n4, a3, s3) { return o2 += e4.slice(r3, s3).replace(He, Je), r3 = s3 + t5.length, i4 ? o2 += "'+\n((__t=(" + i4 + "))==null?'':_.escape(__t))+\n'" : n4 ? o2 += "'+\n((__t=(" + n4 + "))==null?'':__t)+\n'" : a3 && (o2 += "';\n" + a3 + "\n__p+='"), t5; }), o2 += "';\n"; var a2, s2 = t4.variable; if (s2) { - if (!ze.test(s2)) throw new Error("variable is not a bare identifier: " + s2); + if (!$e.test(s2)) throw new Error("variable is not a bare identifier: " + s2); } else o2 = "with(obj||{}){\n" + o2 + "}\n", s2 = "obj"; o2 = "var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n" + o2 + "return __p;\n"; try { @@ -107022,7 +115944,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } return e4; }, uniqueId: function(e4) { - var t4 = ++Ke + ""; + var t4 = ++ze + ""; return e4 ? e4 + t4 : t4; }, chain: function(e4) { var t4 = ie(e4); @@ -107041,8 +115963,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, u2 = function() { var u3 = Ve(); s2 || false !== i3.leading || (s2 = u3); - var d2 = t4 - (u3 - s2); - return r3 = this, o2 = arguments, d2 <= 0 || d2 > t4 ? (n3 && (clearTimeout(n3), n3 = null), s2 = u3, a2 = e4.apply(r3, o2), n3 || (r3 = o2 = null)) : n3 || false === i3.trailing || (n3 = setTimeout(l2, d2)), a2; + var c2 = t4 - (u3 - s2); + return r3 = this, o2 = arguments, c2 <= 0 || c2 > t4 ? (n3 && (clearTimeout(n3), n3 = null), s2 = u3, a2 = e4.apply(r3, o2), n3 || (r3 = o2 = null)) : n3 || false === i3.trailing || (n3 = setTimeout(l2, c2)), a2; }; return u2.cancel = function() { clearTimeout(n3), s2 = 0, n3 = r3 = o2 = null; @@ -107069,12 +115991,12 @@ ${e3.stack}`, n3 = [this].concat(i3); return function() { if (--e4 < 1) return t4.apply(this, arguments); }; - }, before: ot, once: at, findKey: st, findIndex: ut, findLastIndex: dt, sortedIndex: ct, indexOf: _t, lastIndexOf: ht, find: mt, detect: mt, findWhere: function(e4, t4) { - return mt(e4, we(t4)); + }, before: ot, once: at, findKey: st, findIndex: ut, findLastIndex: ct, sortedIndex: dt, indexOf: _t, lastIndexOf: ht, find: mt, detect: mt, findWhere: function(e4, t4) { + return mt(e4, Re(t4)); }, each: gt, forEach: gt, map: ft, collect: ft, reduce: yt, foldl: yt, inject: yt, reduceRight: St, foldr: St, filter: At, select: At, reject: function(e4, t4, i3) { return At(e4, rt(Le(t4)), i3); - }, every: Nt, all: Nt, some: Ot, any: Ot, contains: It, includes: It, include: It, invoke: vt, pluck: Ct, where: function(e4, t4) { - return At(e4, we(t4)); + }, every: Nt, all: Nt, some: vt, any: vt, contains: Ot, includes: Ot, include: Ot, invoke: It, pluck: Ct, where: function(e4, t4) { + return At(e4, Re(t4)); }, max: bt, min: function(e4, t4, i3) { var n3, r3, o2 = 1 / 0, a2 = 1 / 0; if (null == t4 || "number" == typeof t4 && "object" != typeof e4[0] && null != e4) for (var s2 = 0, l2 = (e4 = Ze(e4) ? e4 : fe(e4)).length; s2 < l2; s2++) null != (n3 = e4[s2]) && n3 < o2 && (o2 = n3); @@ -107083,8 +116005,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }); return o2; }, shuffle: function(e4) { - return wt(e4, 1 / 0); - }, sample: wt, sortBy: function(e4, t4, i3) { + return Rt(e4, 1 / 0); + }, sample: Rt, sortBy: function(e4, t4, i3) { var n3 = 0; return t4 = Le(t4, i3), Ct(ft(e4, function(e5, i4, r3) { return { value: e5, index: n3++, criteria: t4(e5, i4, r3) }; @@ -107096,7 +116018,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } return e5.index - t5.index; }), "value"); - }, groupBy: Pt, indexBy: Mt, countBy: Ft, partition: Lt, toArray: Rt, size: function(e4) { + }, groupBy: Pt, indexBy: Mt, countBy: Ft, partition: Lt, toArray: wt, size: function(e4) { return null == e4 ? 0 : Ze(e4) ? e4.length : ee(e4).length; }, pick: kt, omit: Vt, first: Bt, head: Bt, take: Bt, initial: Ut, last: function(e4, t4, i3) { return null == e4 || e4.length < 1 ? null == t4 || i3 ? void 0 : [] : null == t4 || i3 ? e4[e4.length - 1] : Gt(e4, Math.max(0, e4.length - t4)); @@ -107107,9 +116029,9 @@ ${e3.stack}`, n3 = [this].concat(i3); }, without: Wt, uniq: qt, unique: qt, union: Yt, intersection: function(e4) { for (var t4 = [], i3 = arguments.length, n3 = 0, r3 = X(e4); n3 < r3; n3++) { var o2 = e4[n3]; - if (!It(t4, o2)) { + if (!Ot(t4, o2)) { var a2; - for (a2 = 1; a2 < i3 && It(arguments[a2], o2); a2++) ; + for (a2 = 1; a2 < i3 && Ot(arguments[a2], o2); a2++) ; a2 === i3 && t4.push(o2); } } @@ -107125,14 +116047,14 @@ ${e3.stack}`, n3 = [this].concat(i3); if (null == t4 || t4 < 1) return []; for (var i3 = [], n3 = 0, r3 = e4.length; n3 < r3; ) i3.push(a.call(e4, n3, n3 += t4)); return i3; - }, mixin: Kt, default: ie }, Qt = Kt($t); + }, mixin: zt, default: ie }, Qt = zt(Kt); return Qt._ = Qt, Qt; }, e2.exports = t2(); }, 92158: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.wrapupCodeManager = t2.WrapupCodeManager = void 0; - const n2 = i2(31635), r2 = i2(24032), o = n2.__importDefault(i2(4648)), a = i2(10798), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(27862), d = i2(79585); - class c extends s.default { + const n2 = i2(31635), r2 = i2(24032), o = n2.__importDefault(i2(4648)), a = i2(10798), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(27862), c = i2(79585); + class d extends s.default { get requiredAuth() { return (0, a.isFeatureAvailable)(o.default.divisionedWrapupCodes) ? l.externalAuthorizations.authStrings.wrapupCodesSearch : l.externalAuthorizations.authStrings.wrapupCodesView; } @@ -107140,15 +116062,15 @@ ${e3.stack}`, n3 = [this].concat(i3); return u.WrapupCode; } constructor() { - super(), this.topic = (0, r2.getTopic)("wrapupCodeManager"), this.apiCallList = d.getWrapupCodes, this.apiCallSingle = d.getWrapupCode, this.className = "WrapupCodeManager", this.dependencyContext = null, this._initialize(); + super(), this.topic = (0, r2.getTopic)("wrapupCodeManager"), this.apiCallList = c.getWrapupCodes, this.apiCallSingle = c.getWrapupCode, this.className = "WrapupCodeManager", this.dependencyContext = null, this._initialize(); } } - t2.WrapupCodeManager = c, t2.wrapupCodeManager = new c(); + t2.WrapupCodeManager = d, t2.wrapupCodeManager = new d(); }, 92217: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.UtilizationLabelType = void 0; - const n2 = i2(31635), r2 = i2(29505), o = i2(59912), a = i2(27491), s = n2.__importDefault(i2(22226)), l = i2(80428), u = i2(14394), d = i2(94765); - class c extends d.ExpressionType { + const n2 = i2(31635), r2 = i2(29505), o = i2(59912), a = i2(27491), s = n2.__importDefault(i2(22226)), l = i2(80428), u = i2(14394), c = i2(94765); + class d extends c.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } @@ -107174,16 +116096,16 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } } - t2.UtilizationLabelType = c, c.typeIdentifier = l.expressionTypeNames.utilizationLabel; + t2.UtilizationLabelType = d, d.typeIdentifier = l.expressionTypeNames.utilizationLabel; }, 92244: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(5730)), s = i2(47957); - class l extends a.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(4648)), l = i2(47957); + class u extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } } - l.info = o.default.createActionInfo({ actionClass: l, canBeInTask: true, helpTopic: r2.helpTopics.actions.clearVoicemailSnippet, modelClass: i2(51336), name: s.actions.clearVoicemailSnippetActionLabel, scriptingName: "ArchActionClearVoicemailSnippet" }), t2.A = l; + u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: r2.helpTopics.actions.clearVoicemailSnippet, modelClass: i2(51336), name: l.actions.clearVoicemailSnippetActionLabel, scriptingName: "ArchActionClearVoicemailSnippet", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; }, 92257: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -107211,6 +116133,34 @@ ${e3.stack}`, n3 = [this].concat(i3); this.authorizations = void 0, this.id = void 0, this.primaryAuthorization = void 0, this.thirdPartyOrgName = void 0, this.username = void 0, this.userId = void 0, n2.baseConstructor.apply(this, arguments); } i2(45214).extend(n2, "ConnectionInfo"), e2.exports = n2; + }, 92299: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(21345)); + class a extends o.default { + constructor(e3) { + super(e3), this._externalContactId = this.coreFactory.createArchWrapper(e3.externalContactId), this._customerSegment = this.coreFactory.createArchWrapper(e3.customerSegment); + } + get _actionTypeId() { + return r2.assignCustomerSegmentActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get assignCustomerSegmentOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + get isArchActionAssignCustomerSegment() { + return true; + } + get externalContactId() { + return this._externalContactId; + } + get customerSegment() { + return this._customerSegment; + } + } + t2.default = a; }, 92314: (e2, t2, i2) => { const n2 = i2(22124), r2 = i2(83462); function o() { @@ -107346,7 +116296,7 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchBaseDefinitionActionMenu = void 0; const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(39637), a = n2.__importDefault(i2(78432)), s = n2.__importDefault(i2(98114)), l = i2(30801), u = i2(30801); - class d extends o.ArchBaseDefinition { + class c extends o.ArchBaseDefinition { constructor(e3) { super(e3), this._coreNodeInformationArray = [], e3.isNodeInformation ? this.coreNodeInformationArray.push(e3) : (this.coreNodeInformationArray.push(e3.coreActionNodeInformation), this.coreNodeInformationArray.push(e3.coreMenuNodeInformation)); } @@ -107393,11 +116343,11 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "isAvailableForFlowType"), e3, a.default.FLOW_TYPES_ALL), !r2.default.find(this.coreNodeInformationArray, (t3) => t3.id === l.menuActionType ? !s.default.getDefinitionForFlowType(e3).supportsReusableMenus : !(t3.isAvailableForFlowType(e3, true) && !t3.isDeprecatedForFlowType(e3))); } } - t2.ArchBaseDefinitionActionMenu = d; + t2.ArchBaseDefinitionActionMenu = c; }, 92457: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ListPickerType = t2.PROP_REPLY_MESSAGE_SUBTITLE = t2.PROP_REPLY_MESSAGE_IMAGE = t2.PROP_RECEIVED_MESSAGE_BUTTON_TEXT = t2.PROP_RECEIVED_MESSAGE_SUBTITLE = t2.PROP_RECEIVED_MESSAGE_TITLE = t2.PROP_RECEIVED_MESSAGE_IMAGE = t2.PROP_SECTIONS = void 0; - const n2 = i2(31635), r2 = i2(17785), o = n2.__importStar(i2(10798)), a = n2.__importDefault(i2(4648)), s = i2(28562), l = n2.__importDefault(i2(73198)), u = i2(27491), d = n2.__importStar(i2(9345)), c = n2.__importStar(i2(63352)), p = i2(80428), _ = i2(14394), h = i2(94765), m = i2(98598), g = i2(47957); + const n2 = i2(31635), r2 = i2(17785), o = n2.__importStar(i2(10798)), a = n2.__importDefault(i2(4648)), s = i2(28562), l = n2.__importDefault(i2(73198)), u = i2(27491), c = n2.__importStar(i2(9345)), d = n2.__importStar(i2(63352)), p = i2(80428), _ = i2(14394), h = i2(94765), m = i2(98598), g = i2(47957); t2.PROP_SECTIONS = "sections", t2.PROP_RECEIVED_MESSAGE_IMAGE = "receivedmessageimage", t2.PROP_RECEIVED_MESSAGE_TITLE = "receivedmessagetitle", t2.PROP_RECEIVED_MESSAGE_SUBTITLE = "receivedmessagesubtitle", t2.PROP_RECEIVED_MESSAGE_BUTTON_TEXT = "receivedmessagebuttontext", t2.PROP_REPLY_MESSAGE_IMAGE = "replymessageimage", t2.PROP_REPLY_MESSAGE_SUBTITLE = "replymessagesubtitle"; class f extends h.ExpressionType { constructor(e3, t3, i3) { @@ -107413,10 +116363,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return u.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeListPicker", e3, [_.globalTypes.listPickerSectionCollection, _.globalTypes.image, _.globalTypes.string, _.globalTypes.string, _.globalTypes.image, _.globalTypes.string]) || u.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeListPicker", e3, [_.globalTypes.listPickerSectionCollection, _.globalTypes.image, _.globalTypes.string, _.globalTypes.string, _.globalTypes.image, _.globalTypes.string, _.globalTypes.string]); } convertLitToExpression(e3, t3, i3, n3) { - var r3, o2, a2, s2, u2, d2; + var r3, o2, a2, s2, u2, c2; if (n3 && this.canConvertLitToExpression(e3)) { - const e4 = (null === (r3 = this.getPropSections(n3)) || void 0 === r3 ? void 0 : r3.getEmbeddableExpressionText()) || l.default.notSet, t4 = (null === (o2 = this.getPropReceivedMessageImage(n3)) || void 0 === o2 ? void 0 : o2.getEmbeddableExpressionText()) || l.default.notSet, i4 = (null === (a2 = this.getPropReceivedMessageTitle(n3)) || void 0 === a2 ? void 0 : a2.getEmbeddableExpressionText()) || l.default.notSet, c2 = (null === (s2 = this.getPropReceivedMessageSubtitle(n3)) || void 0 === s2 ? void 0 : s2.getEmbeddableExpressionText()) || l.default.notSet, p2 = (null === (u2 = this.getPropReplyMessageImage(n3)) || void 0 === u2 ? void 0 : u2.getEmbeddableExpressionText()) || l.default.notSet, _2 = (null === (d2 = this.getPropReplyMessageSubtitle(n3)) || void 0 === d2 ? void 0 : d2.getEmbeddableExpressionText()) || l.default.notSet, h2 = this.getPropReceivedMessageButtonText(n3); - return (null == h2 ? void 0 : h2.isNoValueMode) ? `MakeListPicker(${e4}, ${t4}, ${i4}, ${c2}, ${p2}, ${_2})` : `MakeListPicker(${e4}, ${t4}, ${i4}, ${c2}, ${p2}, ${_2}, ${(null == h2 ? void 0 : h2.getEmbeddableExpressionText()) || l.default.notSet})`; + const e4 = (null === (r3 = this.getPropSections(n3)) || void 0 === r3 ? void 0 : r3.getEmbeddableExpressionText()) || l.default.notSet, t4 = (null === (o2 = this.getPropReceivedMessageImage(n3)) || void 0 === o2 ? void 0 : o2.getEmbeddableExpressionText()) || l.default.notSet, i4 = (null === (a2 = this.getPropReceivedMessageTitle(n3)) || void 0 === a2 ? void 0 : a2.getEmbeddableExpressionText()) || l.default.notSet, d2 = (null === (s2 = this.getPropReceivedMessageSubtitle(n3)) || void 0 === s2 ? void 0 : s2.getEmbeddableExpressionText()) || l.default.notSet, p2 = (null === (u2 = this.getPropReplyMessageImage(n3)) || void 0 === u2 ? void 0 : u2.getEmbeddableExpressionText()) || l.default.notSet, _2 = (null === (c2 = this.getPropReplyMessageSubtitle(n3)) || void 0 === c2 ? void 0 : c2.getEmbeddableExpressionText()) || l.default.notSet, h2 = this.getPropReceivedMessageButtonText(n3); + return (null == h2 ? void 0 : h2.isNoValueMode) ? `MakeListPicker(${e4}, ${t4}, ${i4}, ${d2}, ${p2}, ${_2})` : `MakeListPicker(${e4}, ${t4}, ${i4}, ${d2}, ${p2}, ${_2}, ${(null == h2 ? void 0 : h2.getEmbeddableExpressionText()) || l.default.notSet})`; } return ""; } @@ -107434,7 +116384,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } getChooser(e3) { var t3; - if (null === (t3 = e3.propertyParent) || void 0 === t3 ? void 0 : t3.type.isMatch(_.globalTypes.chooser, d.settings.exact)) return e3.propertyParent; + if (null === (t3 = e3.propertyParent) || void 0 === t3 ? void 0 : t3.type.isMatch(_.globalTypes.chooser, c.settings.exact)) return e3.propertyParent; } getPropSections(e3) { return e3.getProperty(t2.PROP_SECTIONS); @@ -107524,7 +116474,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } reset(e3) { const t3 = this.getPropSections(e3); - t3 && (t3.mode = c.literal, t3.removeAll()); + t3 && (t3.mode = d.literal, t3.removeAll()); } initializeDesignTime(e3) { super.initializeDesignTime(e3), this.updatePropertiesOutOfServiceStatus(e3); @@ -107623,13 +116573,13 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 92566: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(10798)), s = n2.__importStar(i2(1115)), l = n2.__importDefault(i2(92140)), u = n2.__importDefault(i2(88391)), d = n2.__importDefault(i2(73198)), c = n2.__importDefault(i2(4648)), p = n2.__importDefault(i2(41510)), _ = i2(79467), h = i2(81516), m = i2(96618), g = i2(80428), f = i2(47957); - class T extends u.default { + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(92140)), a = i2(69453), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(63824)), u = i2(80428), c = i2(79467), d = i2(81516), p = n2.__importStar(i2(36781)), _ = n2.__importStar(i2(10798)), h = n2.__importDefault(i2(41510)), m = n2.__importStar(i2(1115)), g = n2.__importDefault(i2(4648)), f = i2(1910), T = n2.__importDefault(i2(88391)), y = i2(17604), S = i2(47957); + class A extends T.default { constructor(e3, t3) { super(e3, t3); } _initializeDesignTime() { - super._initializeDesignTime(), this.addAutoCleanedUpEventSinkWatch(o.listOrderChanged, this.sessionVariables, () => this.validateIfNoSessionVariables()); + super._initializeDesignTime(), this.addAutoCleanedUpEventSinkWatch(p.listOrderChanged, this.sessionVariables, () => this.validateIfNoSessionVariables()); } get botRunnableProperty() { return this.bot; @@ -107644,7 +116594,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.model.environmentName; } getEnvironmentName() { - return this.environmentId === p.default.dialogflow.draftEnvironmentId ? p.default.dialogflow.draftEnvironmentName : this.environmentName || this.environmentId; + return this.environmentId === h.default.dialogflow.draftEnvironmentId ? h.default.dialogflow.draftEnvironmentName : this.environmentName || this.environmentId; } get integrationName() { return this.model.integrationName; @@ -107662,7 +116612,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } static get managedProperties() { - return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: T.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { label: f.dialogflow.initialEventNameLabel, options: h.ExpressionTypeStringOptions.create((e3) => e3.setDefaultToNoValue(true).setIsOptional(true).setIninTestingField("eventNameExpression").setDescriptionInfo(f.dialogflow.initialEventNameLabel, f.dialogflow.initialEventNameDescription)), property: "eventName", type: g.expressionTypeNames.string, yamlOptions: T.createYamlOptions("eventName", (e3) => e3.setExportOrder(3)) }, { label: f.bot.followupResponseTimeoutLabel, options: _.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(d.default.litDurationTwelveHours).setDescriptionInfo(f.bot.followupResponseTimeoutLabel, f.bot.followupResponseTimeoutDescription).setDurationStyle(r2.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true)), optionsForSpecificFlowTypes: [{ flowTypes: [m.flowTypes.flowTypeInboundChat], options: _.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(d.default.litDurationFiveMinutes).setDescriptionInfo(f.bot.followupResponseTimeoutLabel, f.bot.followupResponseTimeoutDescription).setDurationStyle(r2.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true).setMaxDur(10 * d.default.msPerHour, true)) }], property: "followupResponseTimeout", supportedFlowTypes: [m.flowTypes.flowTypeInboundShortMessage, m.flowTypes.flowTypeInQueueShortMessage, m.flowTypes.flowTypeInboundChat], type: g.expressionTypeNames.duration, yamlOptions: T.createYamlOptions("followupResponseTimeout", (e3) => e3.setExportOrder(2)) }, { label: f.dialogflow.inputTextLabel, options: h.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(f.dialogflow.inputTextLabel, f.dialogflow.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [m.flowTypes.flowTypeInboundShortMessage, m.flowTypes.flowTypeInQueueShortMessage], options: h.ExpressionTypeStringOptions.create((e3) => e3.setDefaultToExpression(true).setDefaultText(d.default.messageBodyVariable).setIsOptional(a.isFeatureAvailable(c.default.autoStartConversations)).setDoNotTransitionToNoValue(true).setDescriptionInfo(f.dialogflow.inputTextLabel, f.dialogflow.inputTextDescriptionForChat).setIninTestingField("inputTextExpression")) }], property: "inputText", supportedFlowTypes: [m.flowTypes.flowTypeInboundShortMessage, m.flowTypes.flowTypeInQueueShortMessage, m.flowTypes.flowTypeInboundChat], type: g.expressionTypeNames.string, yamlOptions: T.createYamlOptions("inputText", (e3) => e3.setExportOrder(1)) }]; + return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: A.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { label: S.dialogflow.initialEventNameLabel, options: d.ExpressionTypeStringOptions.create((e3) => e3.setDefaultToNoValue(true).setIsOptional(true).setIninTestingField("eventNameExpression").setDescriptionInfo(S.dialogflow.initialEventNameLabel, S.dialogflow.initialEventNameDescription)), property: "eventName", type: u.expressionTypeNames.string, yamlOptions: A.createYamlOptions("eventName", (e3) => e3.setExportOrder(3)) }, { label: S.bot.followupResponseTimeoutLabel, options: c.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(s.default.litDurationTwelveHours).setDescriptionInfo(S.bot.followupResponseTimeoutLabel, S.bot.followupResponseTimeoutDescription).setDurationStyle(l.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundChat], options: c.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(s.default.litDurationFiveMinutes).setDescriptionInfo(S.bot.followupResponseTimeoutLabel, S.bot.followupResponseTimeoutDescription).setDurationStyle(l.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true).setMaxDur(10 * s.default.msPerHour, true)) }], property: "followupResponseTimeout", supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage, r2.flowTypes.flowTypeInboundChat], type: u.expressionTypeNames.duration, yamlOptions: A.createYamlOptions("followupResponseTimeout", (e3) => e3.setExportOrder(2)) }, { label: S.dialogflow.inputTextLabel, options: d.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(S.dialogflow.inputTextLabel, S.dialogflow.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage], options: d.ExpressionTypeStringOptions.create((e3) => e3.setDefaultToExpression(true).setDefaultText(s.default.messageBodyVariable).setIsOptional(_.isFeatureAvailable(g.default.autoStartConversations)).setDoNotTransitionToNoValue(true).setDescriptionInfo(S.dialogflow.inputTextLabel, S.dialogflow.inputTextDescriptionForChat).setIninTestingField("inputTextExpression")) }], property: "inputText", supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage, r2.flowTypes.flowTypeInboundChat], type: u.expressionTypeNames.string, yamlOptions: A.createYamlOptions("inputText", (e3) => e3.setExportOrder(1)) }]; } postProcessYamlConfig(e3, t3, i3) { if (!this.botRunnableProperty.idValue) return void this.removeYamlExportPropsThatRequireRunnable(e3); @@ -107673,8 +116623,35 @@ ${e3.stack}`, n3 = [this].concat(i3); const o2 = e3.dialogflow[r3][this.botName || "unknownBotName"] = {}; o2.environment = this.getEnvironmentName(), this.commonBotPostProcessYamlConfig(e3, o2); } + _configureFromModel(e3, t3, i3) { + if ((0, f.isConfigureFromModelRecord)(e3.dialogflow)) { + const r3 = e3.dialogflow, o2 = Object.keys(r3)[0]; + if (o2) { + const e4 = (0, f.isConfigureFromModelRecord)(r3[o2]) ? r3[o2] : void 0, s2 = e4 ? Object.keys(e4)[0] : void 0; + if (s2 && e4) { + const r4 = t3, l2 = (0, f.isConfigureFromModelRecord)(e4[s2]) ? e4[s2] : void 0; + i3.registerDeferredOp({ type: "resolveDialogflowBot", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + try { + let e5 = this.botRunnableManager.findItemByName(s2); + if (!e5) { + for (const t4 of Object.values(this.botRunnableManager.items || {})) if (t4.displayName === s2 || t4.name === s2) { + e5 = t4; + break; + } + } + e5 ? (this.setBotRunnableByViewModel(e5), (null == l2 ? void 0 : l2.failureOutputs) && this.errorBindings && (i3.currentPropertyName = "failureOutputs", this.errorBindings.configureFromModel(l2.failureOutputs, r4, i3), i3.currentPropertyName = void 0), (null == l2 ? void 0 : l2.intents) && this.outputs && (i3.currentPropertyName = "intents", this.outputs.configureFromModel(l2.intents, r4, i3), i3.currentPropertyName = void 0)) : i3.warn((0, y.sprintf)(a.configureFromModel.failedToResolveIn, "dialogflow bot", s2, "project", o2)); + } catch (e5) { + const t4 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, y.sprintf)(a.configureFromModel.entityResolutionFailed, "dialogflow bot", s2, t4)); + } + }) }); + } + } + } + super._configureFromModel(e3, t3, i3); + } setBotRunnableByViewModel(e3) { - this.environmentId = e3 ? p.default.dialogflow.draftEnvironmentId : null, this.integrationId = null == e3 ? void 0 : e3.integrationId, this.integrationName = null == e3 ? void 0 : e3.integrationName, super.setBotRunnableByViewModel(e3); + this.environmentId = e3 ? h.default.dialogflow.draftEnvironmentId : null, this.integrationId = null == e3 ? void 0 : e3.integrationId, this.integrationName = null == e3 ? void 0 : e3.integrationName, super.setBotRunnableByViewModel(e3); } get shouldSkipLanguageValidation() { return true; @@ -107688,7 +116665,7 @@ ${e3.stack}`, n3 = [this].concat(i3); get sessionInputsWarning() { if (this.parentFlow.definition && !this.parentFlow.definition.supportsAudio && this.supportsInputsOutputs) { const e3 = this.sessionVariables && this.sessionVariables.items.length > 0, t3 = this.eventName && (this.eventName.isNotSet || this.eventName.isBlank); - return e3 && t3 ? f.dialogflow.sessionInputsWarning : ""; + return e3 && t3 ? S.dialogflow.sessionInputsWarning : ""; } return ""; } @@ -107696,23 +116673,23 @@ ${e3.stack}`, n3 = [this].concat(i3); this.environmentId = null == e3 ? void 0 : e3.id; } validate(e3) { - if (super.validate(e3), !l.default.isNullOrUndefined(this.environmentId)) { + if (super.validate(e3), !o.default.isNullOrUndefined(this.environmentId)) { const t3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue); - t3 && !l.default.findWhere(t3.environments, { id: this.environmentId }) && e3.addError(this, f.dialogflow.environmentNotFound); + t3 && !o.default.findWhere(t3.environments, { id: this.environmentId }) && e3.addError(this, S.dialogflow.environmentNotFound); } - l.default.isEmpty(this.sessionInputsWarning) || e3.addWarning(this, this.sessionInputsWarning); + o.default.isEmpty(this.sessionInputsWarning) || e3.addWarning(this, this.sessionInputsWarning); } propertyChanged(e3) { - super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.eventName && s.validateAction(this, false, true); + super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.eventName && m.validateAction(this, false, true); } validateIfNoSessionVariables() { - this.sessionVariables && 0 === this.sessionVariables.length && s.validateAction(this, true, true); + this.sessionVariables && 0 === this.sessionVariables.length && m.validateAction(this, true, true); } get yamlNoBotRunnablePropName() { return "noDialogflowBot"; } } - T.className = "BaseDialogflowActionViewModel", t2.default = T; + A.className = "BaseDialogflowActionViewModel", t2.default = A; }, 92572: function(e2, t2, i2) { !(function(e3) { "use strict"; @@ -107810,13 +116787,13 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "bufferWhen", { enumerable: true, get: function() { return u.bufferWhen; } }); - var d = i2(72719); + var c = i2(72719); Object.defineProperty(t2, "catchError", { enumerable: true, get: function() { - return d.catchError; + return c.catchError; } }); - var c = i2(89244); + var d = i2(89244); Object.defineProperty(t2, "combineAll", { enumerable: true, get: function() { - return c.combineAll; + return d.combineAll; } }); var p = i2(67933); Object.defineProperty(t2, "combineLatestAll", { enumerable: true, get: function() { @@ -107862,17 +116839,17 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "debounce", { enumerable: true, get: function() { return N.debounce; } }); - var O = i2(21762); + var v = i2(21762); Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() { - return O.debounceTime; + return v.debounceTime; } }); - var I = i2(58799); + var O = i2(58799); Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() { - return I.defaultIfEmpty; + return O.defaultIfEmpty; } }); - var v = i2(5797); + var I = i2(5797); Object.defineProperty(t2, "delay", { enumerable: true, get: function() { - return v.delay; + return I.delay; } }); var C = i2(72885); Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() { @@ -107886,13 +116863,13 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "distinct", { enumerable: true, get: function() { return E.distinct; } }); - var R = i2(22044); + var w = i2(22044); Object.defineProperty(t2, "distinctUntilChanged", { enumerable: true, get: function() { - return R.distinctUntilChanged; + return w.distinctUntilChanged; } }); - var w = i2(76035); + var R = i2(76035); Object.defineProperty(t2, "distinctUntilKeyChanged", { enumerable: true, get: function() { - return w.distinctUntilKeyChanged; + return R.distinctUntilKeyChanged; } }); var D = i2(61279); Object.defineProperty(t2, "elementAt", { enumerable: true, get: function() { @@ -107962,17 +116939,17 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "map", { enumerable: true, get: function() { return J.map; } }); - var z = i2(13337); + var $ = i2(13337); Object.defineProperty(t2, "mapTo", { enumerable: true, get: function() { - return z.mapTo; + return $.mapTo; } }); - var K = i2(75019); + var z = i2(75019); Object.defineProperty(t2, "materialize", { enumerable: true, get: function() { - return K.materialize; + return z.materialize; } }); - var $ = i2(50096); + var K = i2(50096); Object.defineProperty(t2, "max", { enumerable: true, get: function() { - return $.max; + return K.max; } }); var Q = i2(9330); Object.defineProperty(t2, "merge", { enumerable: true, get: function() { @@ -108026,13 +117003,13 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "partition", { enumerable: true, get: function() { return ue.partition; } }); - var de = i2(66355); + var ce = i2(66355); Object.defineProperty(t2, "pluck", { enumerable: true, get: function() { - return de.pluck; + return ce.pluck; } }); - var ce = i2(53197); + var de = i2(53197); Object.defineProperty(t2, "publish", { enumerable: true, get: function() { - return ce.publish; + return de.publish; } }); var pe = i2(82955); Object.defineProperty(t2, "publishBehavior", { enumerable: true, get: function() { @@ -108078,17 +117055,17 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "refCount", { enumerable: true, get: function() { return Ne.refCount; } }); - var Oe = i2(43434); + var ve = i2(43434); Object.defineProperty(t2, "sample", { enumerable: true, get: function() { - return Oe.sample; + return ve.sample; } }); - var Ie = i2(44143); + var Oe = i2(44143); Object.defineProperty(t2, "sampleTime", { enumerable: true, get: function() { - return Ie.sampleTime; + return Oe.sampleTime; } }); - var ve = i2(35565); + var Ie = i2(35565); Object.defineProperty(t2, "scan", { enumerable: true, get: function() { - return ve.scan; + return Ie.scan; } }); var Ce = i2(73929); Object.defineProperty(t2, "sequenceEqual", { enumerable: true, get: function() { @@ -108102,13 +117079,13 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() { return Ee.shareReplay; } }); - var Re = i2(55440); + var we = i2(55440); Object.defineProperty(t2, "single", { enumerable: true, get: function() { - return Re.single; + return we.single; } }); - var we = i2(23079); + var Re = i2(23079); Object.defineProperty(t2, "skip", { enumerable: true, get: function() { - return we.skip; + return Re.skip; } }); var De = i2(92359); Object.defineProperty(t2, "skipLast", { enumerable: true, get: function() { @@ -108178,17 +117155,17 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "throwIfEmpty", { enumerable: true, get: function() { return Je.throwIfEmpty; } }); - var ze = i2(32508); + var $e = i2(32508); Object.defineProperty(t2, "timeInterval", { enumerable: true, get: function() { - return ze.timeInterval; + return $e.timeInterval; } }); - var Ke = i2(81713); + var ze = i2(81713); Object.defineProperty(t2, "timeout", { enumerable: true, get: function() { - return Ke.timeout; + return ze.timeout; } }); - var $e = i2(50597); + var Ke = i2(50597); Object.defineProperty(t2, "timeoutWith", { enumerable: true, get: function() { - return $e.timeoutWith; + return Ke.timeoutWith; } }); var Qe = i2(53866); Object.defineProperty(t2, "timestamp", { enumerable: true, get: function() { @@ -108286,7 +117263,7 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = o; }, 92908: (e2, t2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.uiMetaDataKey = void 0, t2.uiMetaDataKey = { builder: "builder", builderVariableFormattingOptions: "builderVariableFormattingOptions", cameFromNull: "cameFromNull", isJsonViewMode: "isJsonViewMode", customJsonSubFieldModes: "customJsonSubFieldModes", litLanguage: "litLanguage", mode: "mode", nestedJson: "nestedJson" }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.uiMetaDataKey = void 0, t2.uiMetaDataKey = { builder: "builder", builderVariableFormattingOptions: "builderVariableFormattingOptions", cameFromNull: "cameFromNull", cameFromEmptyString: "cameFromEmptyString", isJsonViewMode: "isJsonViewMode", litLanguage: "litLanguage", mode: "mode", nestedJson: "nestedJson" }; }, 92944: (e2) => { e2.exports = { tasks: "tasks", states: "states" }; }, 92993: (e2, t2, i2) => { @@ -108344,8 +117321,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = r2; }, 93087: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(27203)), o = n2.__importStar(i2(10798)), a = n2.__importDefault(i2(4648)), s = i2(12179), l = n2.__importDefault(i2(97891)), u = i2(87870), d = n2.__importDefault(i2(5730)), c = i2(47957); - class p extends d.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(27203)), o = n2.__importStar(i2(10798)), a = n2.__importDefault(i2(4648)), s = i2(12179), l = n2.__importDefault(i2(97891)), u = i2(87870), c = n2.__importDefault(i2(5730)), d = i2(47957); + class p extends c.default { static get managedProperties() { return [{ createDetails: u.NoteActionProperty.createCreateDetails(p.voicemailInputInfoMessage, "info", "processVoicemailInput"), property: "processVoicemailInputInfoMessage" }]; } @@ -108353,26 +117330,38 @@ ${e3.stack}`, n3 = [this].concat(i3); super(e3.parentFlow, e3), this._loadModel(t3); } static get voicemailInputInfoMessage() { - return o.isFeatureAvailable(a.default.voicemailRecordingMaxTime) ? c.processVoicemailInput.processVoicemailInputInfoMessageWithMaxRecordingTime : c.processVoicemailInput.processVoicemailInputInfoMessage; + return o.isFeatureAvailable(a.default.voicemailRecordingMaxTime) ? d.processVoicemailInput.processVoicemailInputInfoMessageWithMaxRecordingTime : d.processVoicemailInput.processVoicemailInputInfoMessage; } static get branchInfo() { return r2.default.faxProcessedVoicemailNoInputFailure; } } - p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: s.helpTopics.actions.processVoicemailInput, modelClass: i2(13462), name: c.actions.processVoicemailInput, scriptingName: "ArchActionProcessVoicemailInput" }), t2.A = p; + p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: s.helpTopics.actions.processVoicemailInput, modelClass: i2(13462), name: d.actions.processVoicemailInput, scriptingName: "ArchActionProcessVoicemailInput", modelFormatSupport: { flowYaml: { inProgress: true, feature: a.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 93105: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.DigitalAudioType = void 0; - const n2 = i2(31635), r2 = i2(66800), o = i2(27491), a = i2(94765), s = i2(29017), l = i2(80428), u = n2.__importDefault(i2(4648)), d = i2(14394), c = i2(10798), p = n2.__importDefault(i2(22226)); - class _ extends a.ExpressionType { + const n2 = i2(31635), r2 = i2(17604), o = i2(66800), a = i2(29017), s = i2(10798), l = n2.__importDefault(i2(4648)), u = i2(62390), c = i2(62390), d = i2(27491), p = n2.__importDefault(i2(22226)), _ = i2(80428), h = i2(14394), m = i2(81391), g = i2(47957); + class f extends m.ExpressionTypeBaseResponseAsset { constructor(e3, t3, i3) { super(e3, t3, i3); } get className() { return "DigitalAudioType"; } + getPlutusMimeTypes() { + return u.AUDIO_MIME_TYPES_SET; + } + getPlutusSupportedFileExtensions() { + return c.AUDIO_SUPPORTED_EXTENSIONS; + } + getPlutusMediaPlaceholderText() { + return g.digitalAudio.digitalAudioPlaceholder; + } + getPlutusSupportedFileTypesText() { + return (0, r2.sprintf)(g.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()); + } canConvertLitToExpression(e3) { - return o.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("ToDigitalAudio", e3, [d.globalTypes.responseAsset, d.globalTypes.digitalAudio]) && o.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [d.globalTypes.string]); + return d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("ToDigitalAudio", e3, [h.globalTypes.responseAsset, h.globalTypes.digitalAudio]) && d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [h.globalTypes.string]); } convertLitToExpression(e3, t3) { return t3 && this.canConvertLitToExpression(e3) ? `ToDigitalAudio(FindResponseAsset(${p.default.getQuotedExpressionStringLiteral(t3)}), NOT_SET)` : ""; @@ -108381,16 +117370,16 @@ ${e3.stack}`, n3 = [this].concat(i3); return ""; } get supportsLiteralEditor() { - return (0, c.isFeatureAvailable)(u.default.cannedResponseAttachmentsPostGaFeature); + return (0, s.isFeatureAvailable)(l.default.cannedResponseAttachmentsPostGaFeature); } get listManager() { - return r2.digitalAudioManager; + return o.digitalAudioManager; } createExpressionOptionClass() { - return new s.ExpressionTypeDigitalAudioOptions(); + return new a.ExpressionTypeDigitalAudioOptions(); } } - t2.DigitalAudioType = _, _.typeIdentifier = l.expressionTypeNames.digitalAudio; + t2.DigitalAudioType = f, f.typeIdentifier = _.expressionTypeNames.digitalAudio; }, 93161: (e2, t2, i2) => { const n2 = i2(36370), r2 = i2(65029); function o() { @@ -108403,10 +117392,10 @@ ${e3.stack}`, n3 = [this].concat(i3); } } }), e2.exports = o; }, 93213: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(73198)), u = n2.__importDefault(i2(97891)), d = i2(78513), c = i2(80428), p = i2(47957); - class _ extends a.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(27203)), l = n2.__importDefault(i2(73198)), u = n2.__importDefault(i2(97891)), c = i2(78513), d = i2(80428), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends a.default { static get managedProperties() { - return [{ label: p.setPriority.setPriorityLabel, options: d.ExpressionTypeIntegerOptions.create((e3) => e3.setAsInput().setIninTestingField("priority").setIsOptional(false).setDefaultText("0").setDescriptionInfo(p.setPriority.setPriorityLabel, p.setPriority.setPriorityDescription).facets.setMaxInt(l.default.maxConversationPriority, true).setMinInt(l.default.minConversationPriority, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeWorkitem], options: d.ExpressionTypeIntegerOptions.create((e3) => e3.setAsInput().setIninTestingField("priority").setIsOptional(false).setDefaultText("0").setDescriptionInfo(p.setPriority.setPriorityLabel, p.setPriority.setPriorityDescriptionWorkitemFlow).facets.setMaxInt(l.default.maxConversationPriority, true).setMinInt(l.default.minConversationPriority, true)) }], property: "priority", type: c.expressionTypeNames.integer }]; + return [{ label: _.setPriority.setPriorityLabel, options: c.ExpressionTypeIntegerOptions.create((e3) => e3.setAsInput().setIninTestingField("priority").setIsOptional(false).setDefaultText("0").setDescriptionInfo(_.setPriority.setPriorityLabel, _.setPriority.setPriorityDescription).facets.setMaxInt(l.default.maxConversationPriority, true).setMinInt(l.default.minConversationPriority, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeWorkitem], options: c.ExpressionTypeIntegerOptions.create((e3) => e3.setAsInput().setIninTestingField("priority").setIsOptional(false).setDefaultText("0").setDescriptionInfo(_.setPriority.setPriorityLabel, _.setPriority.setPriorityDescriptionWorkitemFlow).facets.setMaxInt(l.default.maxConversationPriority, true).setMinInt(l.default.minConversationPriority, true)) }], property: "priority", type: d.expressionTypeNames.integer }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -108415,7 +117404,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return s.default.successFailure; } } - _.info = u.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: o.helpTopics.actions.setPriority, modelClass: i2(371), name: p.actions.setPriority, scriptingName: "ArchActionSetPriority" }), t2.A = _; + h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: o.helpTopics.actions.setPriority, modelClass: i2(371), name: _.actions.setPriority, scriptingName: "ArchActionSetPriority", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 93218: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -108569,9 +117558,9 @@ ${e3.stack}`, n3 = [this].concat(i3); void 0 === e3 && (e3 = {}); var t3 = e3.connector, i3 = void 0 === t3 ? function() { return new a.Subject(); - } : t3, n3 = e3.resetOnError, r3 = void 0 === n3 || n3, d = e3.resetOnComplete, c = void 0 === d || d, p = e3.resetOnRefCountZero, _ = void 0 === p || p; + } : t3, n3 = e3.resetOnError, r3 = void 0 === n3 || n3, c = e3.resetOnComplete, d = void 0 === c || c, p = e3.resetOnRefCountZero, _ = void 0 === p || p; return function(e4) { - var t4, n4, a2, d2 = 0, p2 = false, h = false, m = function() { + var t4, n4, a2, c2 = 0, p2 = false, h = false, m = function() { null == n4 || n4.unsubscribe(), n4 = void 0; }, g = function() { m(), t4 = a2 = void 0, p2 = h = false; @@ -108580,16 +117569,16 @@ ${e3.stack}`, n3 = [this].concat(i3); g(), null == e5 || e5.unsubscribe(); }; return l.operate(function(e5, l2) { - d2++, h || p2 || m(); + c2++, h || p2 || m(); var T = a2 = null != a2 ? a2 : i3(); l2.add(function() { - 0 !== --d2 || h || p2 || (n4 = u(f, _)); - }), T.subscribe(l2), !t4 && d2 > 0 && (t4 = new s.SafeSubscriber({ next: function(e6) { + 0 !== --c2 || h || p2 || (n4 = u(f, _)); + }), T.subscribe(l2), !t4 && c2 > 0 && (t4 = new s.SafeSubscriber({ next: function(e6) { return T.next(e6); }, error: function(e6) { h = true, m(), n4 = u(g, r3, e6), T.error(e6); }, complete: function() { - p2 = true, m(), n4 = u(g, c), T.complete(); + p2 = true, m(), n4 = u(g, d), T.complete(); } }), o.innerFrom(e5).subscribe(t4)); })(e4); }; @@ -108677,8 +117666,8 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = r2; }, 93619: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(79467), u = i2(81516), d = i2(99469), c = n2.__importDefault(i2(27203)), p = i2(30888), _ = i2(55420), h = n2.__importStar(i2(10798)), m = n2.__importStar(i2(34475)), g = n2.__importDefault(i2(4648)), f = i2(12179), T = n2.__importDefault(i2(97891)), y = i2(28803), S = n2.__importDefault(i2(88391)), A = i2(80428), N = i2(94384), O = i2(47957), I = [(0, o.sprintf)(O.dialogEngine.terminationStateDescription, "AgentEscalation", O.generic.branches.noIntent), (0, o.sprintf)(O.dialogEngine.terminationStateDescription, "Error", O.generic.branches.failure), (0, o.sprintf)(O.dialogEngine.terminationStateDescription, "Expired", O.generic.branches.failure), (0, o.sprintf)(O.dialogEngine.terminationStateDescription, "Failure", O.generic.branches.failure), (0, o.sprintf)(O.dialogEngine.terminationStateDescriptionIntentOutput, "GoalReached")]; - class v extends S.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(79467), u = i2(81516), c = i2(99469), d = n2.__importDefault(i2(27203)), p = i2(30888), _ = i2(55420), h = n2.__importStar(i2(10798)), m = n2.__importStar(i2(34475)), g = n2.__importDefault(i2(4648)), f = i2(12179), T = n2.__importDefault(i2(97891)), y = i2(28803), S = n2.__importDefault(i2(88391)), A = i2(80428), N = i2(94384), v = i2(47957), O = [(0, o.sprintf)(v.dialogEngine.terminationStateDescription, "AgentEscalation", v.generic.branches.noIntent), (0, o.sprintf)(v.dialogEngine.terminationStateDescription, "Error", v.generic.branches.failure), (0, o.sprintf)(v.dialogEngine.terminationStateDescription, "Expired", v.generic.branches.failure), (0, o.sprintf)(v.dialogEngine.terminationStateDescription, "Failure", v.generic.branches.failure), (0, o.sprintf)(v.dialogEngine.terminationStateDescriptionIntentOutput, "GoalReached")]; + class I extends S.default { constructor(e3, t3) { super(e3, t3); } @@ -108689,7 +117678,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.bot; } static get branchInfo() { - return [c.default.noIntent, c.default.failure]; + return [d.default.noIntent, d.default.failure]; } getDependencyTrackingId() { if (!this.botRunnableProperty.idValue) return null; @@ -108707,10 +117696,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } get linkButtonInfo() { - return { text: O.dialogEngine.openDialogEngineUI, url: m.getDialogEngineWorkbenchUrl() }; + return { text: v.dialogEngine.openDialogEngineUI, url: m.getDialogEngineWorkbenchUrl() }; } static get managedProperties() { - return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: v.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { createDetails: y.NetworkBasedActionProperty.createCreateDetails("botId", "botName", p.dialogEngineBotManager, O.dialogEngine.mustSelectBot, O.dialogEngine.botNotFound, null), property: "bot", yamlOptions: v.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { createDetails: y.NetworkBasedActionProperty.createCreateDetails("versionId", "versionName", _.dialogEngineVersionManager, O.bot.informationCouldNotBeLoaded, O.bot.informationCouldNotBeLoaded, "bot"), property: "botVersion", yamlOptions: v.createYamlOptions("botVersion", (e3) => e3.setSkipProperty(true)) }, { dataPairListCollection: true, isOutput: true, options: d.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), property: "outputs", yamlOptions: v.createYamlOptions("outputs", (e3) => e3.setPropertyName("intents")) }, { label: O.dialogEngine.terminationState, options: u.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setIsOptional(true).setIninTestingField("terminationStateExpression").setExamples(I)), property: "terminationState", type: A.expressionTypeNames.string }, { label: O.bot.followupResponseTimeoutLabel, options: l.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationTwelveHours).setDescriptionInfo(O.bot.followupResponseTimeoutLabel, O.bot.followupResponseTimeoutDescription).setDurationStyle(s.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundChat], options: l.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationFiveMinutes).setDescriptionInfo(O.bot.followupResponseTimeoutLabel, O.bot.followupResponseTimeoutDescription).setDurationStyle(s.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true).setMaxDur(10 * a.default.msPerHour, true)) }], property: "followupResponseTimeout", supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInboundChat], type: A.expressionTypeNames.duration }, { label: O.dialogEngine.inputTextLabel, options: u.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(O.dialogEngine.inputTextLabel, O.dialogEngine.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundShortMessage], options: u.ExpressionTypeStringOptions.create((e3) => e3.setDefaultToExpression(true).setDefaultText(a.default.messageBodyVariable).setIsOptional(h.isFeatureAvailable(g.default.autoStartConversations)).setDoNotTransitionToNoValue(true).setDescriptionInfo(O.dialogEngine.inputTextLabel, O.dialogEngine.inputTextDescriptionForChat).setIninTestingField("inputTextExpression")) }], property: "inputText", supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInboundChat], type: A.expressionTypeNames.string }]; + return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: I.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { createDetails: y.NetworkBasedActionProperty.createCreateDetails("botId", "botName", p.dialogEngineBotManager, v.dialogEngine.mustSelectBot, v.dialogEngine.botNotFound, null), property: "bot", yamlOptions: I.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { createDetails: y.NetworkBasedActionProperty.createCreateDetails("versionId", "versionName", _.dialogEngineVersionManager, v.bot.informationCouldNotBeLoaded, v.bot.informationCouldNotBeLoaded, "bot"), property: "botVersion", yamlOptions: I.createYamlOptions("botVersion", (e3) => e3.setSkipProperty(true)) }, { dataPairListCollection: true, isOutput: true, options: c.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), property: "outputs", yamlOptions: I.createYamlOptions("outputs", (e3) => e3.setPropertyName("intents")) }, { label: v.dialogEngine.terminationState, options: u.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setIsOptional(true).setIninTestingField("terminationStateExpression").setExamples(O)), property: "terminationState", type: A.expressionTypeNames.string }, { label: v.bot.followupResponseTimeoutLabel, options: l.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationTwelveHours).setDescriptionInfo(v.bot.followupResponseTimeoutLabel, v.bot.followupResponseTimeoutDescription).setDurationStyle(s.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundChat], options: l.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(a.default.litDurationFiveMinutes).setDescriptionInfo(v.bot.followupResponseTimeoutLabel, v.bot.followupResponseTimeoutDescription).setDurationStyle(s.durationStyles.fullDuration).setIninTestingField("followupResponseTimeoutExpression").facets.setMinDur(0, true).setMaxDur(10 * a.default.msPerHour, true)) }], property: "followupResponseTimeout", supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInboundChat], type: A.expressionTypeNames.duration }, { label: v.dialogEngine.inputTextLabel, options: u.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(v.dialogEngine.inputTextLabel, v.dialogEngine.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeInboundShortMessage], options: u.ExpressionTypeStringOptions.create((e3) => e3.setDefaultToExpression(true).setDefaultText(a.default.messageBodyVariable).setIsOptional(h.isFeatureAvailable(g.default.autoStartConversations)).setDoNotTransitionToNoValue(true).setDescriptionInfo(v.dialogEngine.inputTextLabel, v.dialogEngine.inputTextDescriptionForChat).setIninTestingField("inputTextExpression")) }], property: "inputText", supportedFlowTypes: [r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInboundChat], type: A.expressionTypeNames.string }]; } postProcessYamlConfig(e3, t3, i3) { if (!this.botRunnableProperty.idValue) return void this.removeYamlExportPropsThatRequireRunnable(e3); @@ -108722,7 +117711,7 @@ ${e3.stack}`, n3 = [this].concat(i3); e3 && (this.botCategoryProperty.nameValue = e3.botName, this.botCategoryProperty.idValue = e3.botId); } } - v.info = T.default.createActionInfo({ actionClass: v, canBeInTask: true, canBeTreeNode: false, helpTopic: f.helpTopics.actions.dialogEngine, modelClass: i2(66063), name: O.actions.dialogEngine, scriptingName: "ArchActionCallDialogEngineBot" }), t2.A = v; + I.info = T.default.createActionInfo({ actionClass: I, canBeInTask: true, canBeTreeNode: false, helpTopic: f.helpTopics.actions.dialogEngine, modelClass: i2(66063), name: v.actions.dialogEngine, scriptingName: "ArchActionCallDialogEngineBot", modelFormatSupport: { flowYaml: { isDeprecated: true, feature: g.default.changeSetsFeaturePhase2 } } }), t2.A = I; }, 93631: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.markdown = t2.variableWithFormatting = t2.defaultWithNoLabel = t2.selectAndAddText = t2.selectAndAddPrompt = void 0, t2.selectAndAddPrompt = "__SELECT_AND_ADD_PROMPT__", t2.selectAndAddText = "__SELECT_AND_ADD_TEXT__", t2.defaultWithNoLabel = "__DEFAULT_WITH_NO_LABEL__", t2.variableWithFormatting = "__VARIABLE_WITH_FORMATTING__", t2.markdown = "__MARKDOWN__"; @@ -108945,13 +117934,13 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = r2; }, 94053: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(98114)), o = i2(14394), a = n2.__importDefault(i2(76486)), s = n2.__importDefault(i2(22599)), l = i2(73062), u = n2.__importDefault(i2(16864)), d = n2.__importDefault(i2(42290)), c = i2(16958); - class p extends d.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(98114)), o = i2(14394), a = n2.__importDefault(i2(76486)), s = n2.__importDefault(i2(22599)), l = i2(73062), u = n2.__importDefault(i2(16864)), c = n2.__importDefault(i2(42290)), d = i2(16958); + class p extends c.default { constructor({ isSystem: e3, resultType: t3, id: i3 }) { - const n3 = e3 ? "FindSystemPrompt" : "FindUserPrompt", u2 = t3.isMatch(o.globalTypes.prompt), d2 = t3.isMatch(o.globalTypes.audio); - if (!d2 && !u2) throw "Unsupported result type for a find prompt part definition"; - const p2 = s.default.create(), _ = { categoryIdentifierOrIdentifiers: l.builderCategoryIds.prompt, description: e3 ? c.builderParts.findPrompt.system.description : c.builderParts.findPrompt.user.description, expressionDefs: [new a.default({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("promptName").facets.setMaxLength(256), expressionType: o.globalTypes.string, label: e3 ? c.builderParts.findPrompt.system.findLabel : c.builderParts.findPrompt.user.findLabel }), new a.default({ configureOptionsCallback: (e4) => e4.setAllowModeLiteralOnly(true).setIninTestingField("promptFallback"), expressionType: o.globalTypes.prompt, label: c.builderParts.findPrompt.fallbackLabel })], generators: { expressionGenerator: p2 }, id: i3, name: e3 ? c.builderParts.findPrompt.system.name : c.builderParts.findPrompt.user.name, resultExpressionType: t3, restrictToFlowTypeOrTypes: r2.default.getFlowTypesThatSupportLanguages(), version: 1 }; - d2 && p2.addFuncCall("ToAudio"), p2.addFuncCall("If").addFuncCall("IsSet").addFuncCall(n3).addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addFuncCall(n3).addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncCallEnd(), d2 ? p2.addFuncCallEnd().verifySprintfStringAndInitialize(`ToAudio(If(IsSet(${n3}(%1$s)), ${n3}(%1$s), %2$s))`) : p2.verifySprintfStringAndInitialize(`If(IsSet(${n3}(%1$s)), ${n3}(%1$s), %2$s)`), super(_); + const n3 = e3 ? "FindSystemPrompt" : "FindUserPrompt", u2 = t3.isMatch(o.globalTypes.prompt), c2 = t3.isMatch(o.globalTypes.audio); + if (!c2 && !u2) throw "Unsupported result type for a find prompt part definition"; + const p2 = s.default.create(), _ = { categoryIdentifierOrIdentifiers: l.builderCategoryIds.prompt, description: e3 ? d.builderParts.findPrompt.system.description : d.builderParts.findPrompt.user.description, expressionDefs: [new a.default({ configureOptionsCallback: (e4) => e4.setDefaultToExpression(true).setIninTestingField("promptName").facets.setMaxLength(256), expressionType: o.globalTypes.string, label: e3 ? d.builderParts.findPrompt.system.findLabel : d.builderParts.findPrompt.user.findLabel }), new a.default({ configureOptionsCallback: (e4) => e4.setAllowModeLiteralOnly(true).setIninTestingField("promptFallback"), expressionType: o.globalTypes.prompt, label: d.builderParts.findPrompt.fallbackLabel })], generators: { expressionGenerator: p2 }, id: i3, name: e3 ? d.builderParts.findPrompt.system.name : d.builderParts.findPrompt.user.name, resultExpressionType: t3, restrictToFlowTypeOrTypes: r2.default.getFlowTypesThatSupportLanguages(), version: 1 }; + c2 && p2.addFuncCall("ToAudio"), p2.addFuncCall("If").addFuncCall("IsSet").addFuncCall(n3).addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().addFuncParameterSeparator().addFuncCall(n3).addTokenReplacement(0).addFuncCallEnd().addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncCallEnd(), c2 ? p2.addFuncCallEnd().verifySprintfStringAndInitialize(`ToAudio(If(IsSet(${n3}(%1$s)), ${n3}(%1$s), %2$s))`) : p2.verifySprintfStringAndInitialize(`If(IsSet(${n3}(%1$s)), ${n3}(%1$s), %2$s)`), super(_); } get className() { return "FindPromptPartDef"; @@ -109012,8 +118001,8 @@ ${e3.stack}`, n3 = [this].concat(i3); !(function(e4, t5, i4, r4) { var a2; const l2 = e4.createTask(i4); - let d2 = l2; - const m2 = (0, c.getVisibilityConditionExprText)(t5.visibilityCondition, e4.voiceSurveyFlowSettings.archSurveyForm); + let c2 = l2; + const m2 = (0, d.getVisibilityConditionExprText)(t5.visibilityCondition, e4.voiceSurveyFlowSettings.archSurveyForm); m2 && g(s.decisionActionType, l2, (e5) => { e5.expression.setAsExpression(m2), e5.name = (0, _.sprintf)(h.voiceSurvey.voiceSurveyQuestionGroupVisibilityActionName, r4 + 1); const t6 = e5.branches.find((e6) => e6.id === p.outputIds.no); @@ -109021,9 +118010,9 @@ ${e3.stack}`, n3 = [this].concat(i3); e6.name = (0, _.sprintf)(h.voiceSurvey.voiceSurveyQuestionGroupNotApplicable, r4 + 1); const t7 = l2.createBranch(h.voiceSurvey.voiceSurveyNotApplicableLabel); e6.linkPath(t7); - }), d2 = e5.branches.find((e6) => e6.id === p.outputIds.yes); + }), c2 = e5.branches.find((e6) => e6.id === p.outputIds.yes); }), (null === (a2 = t5.questions) || void 0 === a2 ? void 0 : a2.length) && t5.questions.forEach((e5, t6) => { - g(n2.askSurveyQuestionActionType, d2, (i5) => { + g(n2.askSurveyQuestionActionType, c2, (i5) => { i5.name = (0, _.sprintf)(h.voiceSurvey.voiceSurveyQuestionWithIndex, t6 + 1), i5.configureFromArchSurveyQuestionId(e5.id); }); }), g(u.endTaskActionType, l2, (e5) => { @@ -109038,7 +118027,7 @@ ${e3.stack}`, n3 = [this].concat(i3); t4.name = h.voiceSurvey.voiceSurveyFooterLabel, t4.communication.options.setAllowModeBuilder(true), t4.communication.options.setDefaultToBuilderId(r2.builderIds.parts.genericCommunication), t4.communication.setCommunicationBuilderText(e3.voiceSurveyFlowSettings.archSurveyForm.footer, true); }), g(l.disconnectActionType, e3.startUpObject); }; - const n2 = i2(30801), r2 = i2(28562), o = i2(30801), a = i2(30801), s = i2(30801), l = i2(30801), u = i2(30801), d = i2(24032), c = i2(56969), p = i2(26847), _ = i2(17604), h = i2(47957), m = (0, d.getTopic)("buildSurveyFlow"); + const n2 = i2(30801), r2 = i2(28562), o = i2(30801), a = i2(30801), s = i2(30801), l = i2(30801), u = i2(30801), c = i2(24032), d = i2(56969), p = i2(26847), _ = i2(17604), h = i2(47957), m = (0, c.getTopic)("buildSurveyFlow"); function g(e3, t3, i3) { try { const n3 = t3.addAction(e3, t3.lastAction); @@ -109105,7 +118094,7 @@ ${e3.stack}`, n3 = [this].concat(i3); var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }); const o = i2(31635), a = i2(19596), s = i2(80295), l = i2(80295), u = i2(75800); - class d extends a.DataContract { + class c extends a.DataContract { constructor(e3) { super(e3), (0, l.makeUnenumerable)(this, "_textToSpeech"), (0, l.makeUnenumerable)(this, "_speechToText"), (0, l.makeUnenumerable)(this, "_naturalLanguageUnderstanding"), (0, l.makeUnenumerable)(this, "_workitems"); } @@ -109134,110 +118123,110 @@ ${e3.stack}`, n3 = [this].concat(i3); this._workitems = e3; } } - t2.default = d, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "textToSpeech", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "speechToText", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.INaturalLanguageUnderstandingData && u.INaturalLanguageUnderstandingData) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== u.INaturalLanguageUnderstandingData && u.INaturalLanguageUnderstandingData) ? r2 : Object])], d.prototype, "naturalLanguageUnderstanding", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "workitems", null); + t2.default = c, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "textToSpeech", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "speechToText", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.INaturalLanguageUnderstandingData && u.INaturalLanguageUnderstandingData) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = void 0 !== u.INaturalLanguageUnderstandingData && u.INaturalLanguageUnderstandingData) ? r2 : Object])], c.prototype, "naturalLanguageUnderstanding", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "workitems", null); }, 94225: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchSession = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(74359)), a = n2.__importStar(i2(35515)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(68223)), u = n2.__importStar(i2(14232)), d = n2.__importDefault(i2(78432)), c = n2.__importDefault(i2(72203)), p = n2.__importDefault(i2(74142)), _ = i2(54251), h = i2(97111), m = i2(50474), g = i2(67210), f = i2(44724), T = n2.__importDefault(i2(36019)), y = n2.__importDefault(i2(66978)), S = n2.__importDefault(i2(98717)), A = n2.__importStar(i2(53919)), N = i2(58611), O = i2(33231); - let I; - I = i2(42714); - const v = i2(36479), C = i2(26031), b = i2(33588), E = n2.__importDefault(i2(8471)); - let R = O.defer(); - function w(e3, t3, i3, n3, r3) { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(74359)), a = n2.__importStar(i2(35515)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(68223)), u = n2.__importStar(i2(14232)), c = n2.__importDefault(i2(78432)), d = n2.__importDefault(i2(73198)), p = n2.__importDefault(i2(72203)), _ = n2.__importDefault(i2(74142)), h = i2(54251), m = i2(97111), g = i2(50474), f = i2(67210), T = i2(44724), y = n2.__importDefault(i2(36019)), S = n2.__importDefault(i2(66978)), A = n2.__importDefault(i2(2600)), N = n2.__importDefault(i2(98717)), v = n2.__importStar(i2(53919)), O = i2(58241), I = i2(58611), C = i2(33231), b = d.default.msPerMinute; + let E; + E = i2(42714); + const w = i2(36479), R = i2(26031), D = i2(33588), P = n2.__importDefault(i2(8471)); + let M = C.defer(); + function F(e3, t3, i3, n3, r3) { e3[t3] = { env: i3, host: n3, region: r3 }; } - function D(e3) { + function L(e3) { return n2.__awaiter(this, void 0, void 0, function* () { o.authenticatedUser(e3), this.logNote(`authenticated name: '${e3.name}', id: '${e3.id}', OAuth type: '${e3.isOAuthClient ? "client" : "user"}'`); try { yield o.getAuthorizedPromise(); - const e4 = yield C.orgInfo(); + const e4 = yield R.orgInfo(); e4 ? (o.setOrgInfo(e4), this.logNote(`obtained organization information. organization name: '${e4.name}', id: '${e4.id}'`)) : this.logWarning("no organization information obtained - Architect Scripting will continue execution but organization information will not be available."); } catch (e4) { let t3 = "error during authentication and authorization: "; - if ((0, m.isString)(e4)) t3 += e4; + if ((0, g.isString)(e4)) t3 += e4; else try { t3 += JSON.stringify(e4); } catch (e5) { } this.logError(t3), this._endSessionWithReservedError("error encountered during authentication and authorization. Check logging for additional error information."); } finally { - g.permissionService.checkHasPermissionInAtLeastOneDivision(o.getConnectedUser(), g.permissionService.staticPermissions[f.permissionStrings.architect.application.use]).lacksPermission && this._endSessionWithReservedError("in order to use Architect Scripting, the 'architect:ui:view' permission is required."), o.finishedLoading(); + f.permissionService.checkHasPermissionInAtLeastOneDivision(o.getConnectedUser(), f.permissionService.staticPermissions[T.permissionStrings.architect.application.use]).lacksPermission && this._endSessionWithReservedError("in order to use Architect Scripting, the 'architect:ui:view' permission is required."), o.finishedLoading(); } }); } - function P(e3, t3, i3) { + function x(e3, t3, i3) { e3(t3).then((e4) => { this.logNote("setting auth token '" + e4.access_token + "'"), a.setAuthToken(e4.access_token), i3.resolve(); }, (e4) => { this.logError("error getting auth token:", e4), i3.reject(); }); } - class M extends E.default { + class k extends P.default { constructor() { - super(), this._boundTokenRevoked = null, this._coreConfigured = false, this._endExitCode = 0, this._endMode = d.default.SESSION_END_MODES.end, this._endTerminatesProcess = true, this._locations = {}, this._organizationInfo = new p.default(this), this._sessionStartDeferred = O.defer(), this._sessionEnded = false, this._status = d.default.SESSION_STATUSES.notStarted, this._useRegionalHost = false; - for (const e3 of h.environmentList) { + super(), this._boundTokenRevoked = null, this._coreConfigured = false, this._endExitCode = 0, this._endMode = c.default.SESSION_END_MODES.end, this._endRequested = false, this._endTerminatesProcess = true, this._locations = {}, this._organizationInfo = new _.default(this), this._sessionStartDeferred = C.defer(), this._sessionEnded = false, this._status = c.default.SESSION_STATUSES.notStarted, this._useRegionalHost = false; + for (const e3 of m.environmentList) { if (e3.host.includes("app-regional")) continue; if ("dev" === e3.env || "test" === e3.env) { - w(this._locations, d.default.LOCATIONS[e3.env], e3.env, e3.host, e3.region); + F(this._locations, c.default.LOCATIONS[e3.env], e3.env, e3.host, e3.region); continue; } const t3 = `${e3.env}_${e3.region}`.replace(/-/g, "_"); - d.default.LOCATIONS[t3] && w(this._locations, d.default.LOCATIONS[t3], e3.env, e3.host, e3.region); + c.default.LOCATIONS[t3] && F(this._locations, c.default.LOCATIONS[t3], e3.env, e3.host, e3.region); } - process && r2.default.isFunction(process.exit) || (this.logNote("defaulting endTerminatesProcess property to false because there is no process or process.exit method available to call when the session ends."), this._endTerminatesProcess = false), _.divisionManager.defaultPageSize, this._boundTtsEngineChanged = this._ttsEngineChanged.bind(this), this._boundTtsEngineVoiceChanged = this._ttsEngineVoiceChanged.bind(this), s.serviceListen(s.ttsEngineChanged, this._boundTtsEngineChanged), s.serviceListen(s.ttsEngineVoiceChanged, this._boundTtsEngineVoiceChanged); + process && r2.default.isFunction(process.exit) || (this.logNote("defaulting endTerminatesProcess property to false because there is no process or process.exit method available to call when the session ends."), this._endTerminatesProcess = false), h.divisionManager.defaultPageSize, this._boundTtsEngineChanged = this._ttsEngineChanged.bind(this), this._boundTtsEngineVoiceChanged = this._ttsEngineVoiceChanged.bind(this), s.serviceListen(s.ttsEngineChanged, this._boundTtsEngineChanged), s.serviceListen(s.ttsEngineVoiceChanged, this._boundTtsEngineVoiceChanged); } _coreAuthenticate(e3, t3) { - const r3 = O.defer(), s2 = [o.getAuthenticatedPromise(), o.bootstrapLanguageDataLoaded, o.featureTogglesLoaded, o.divisionsLoaded, R.promise]; + const r3 = C.defer(), s2 = (0, O.withTimeout)(o.bootstrapDataLoaded, b, `bootstrap data was not received within ${b / d.default.msPerSecond} seconds.`), l2 = [o.getAuthenticatedPromise(), o.bootstrapLanguageDataLoaded, o.featureTogglesLoaded, o.divisionsLoaded, s2, M.promise]; if (this.logNote("core environment initialized. Now logging in..."), a.getAuthToken()) r3.resolve(); - else if (e3.isClientCredentialsClient) P.call(this, C.getAuthTokenClientCredentials, null, r3); + else if (e3.isClientCredentialsClient) x.call(this, R.getAuthTokenClientCredentials, null, r3); else { - const e4 = N.createServer((t5, n3) => { + const e4 = I.createServer((t5, n3) => { if (t5.url.match(/callback/)) { const o2 = i2(87016).parse(t5.url, true).query; - o2 && o2.code ? P.call(this, C.getAuthToken, o2.code, r3) : r3.reject(), n3.end("You may close this window now."), e4.close(); + o2 && o2.code ? x.call(this, R.getAuthToken, o2.code, r3) : r3.reject(), n3.end("You may close this window now."), e4.close(); } }).listen(9001), t4 = a.getConnectUrl(null, a.values.coreRedirectUri, true); - I.open(t4); + E.open(t4); } - const l2 = r3.promise.then(() => n2.__awaiter(this, void 0, void 0, function* () { + const c2 = r3.promise.then(() => n2.__awaiter(this, void 0, void 0, function* () { var i3; if (e3.isClientCredentialsAuthToken) try { - const e4 = yield b.getCurrentToken(), t4 = null === (i3 = null == e4 ? void 0 : e4.OAuthClient) || void 0 === i3 ? void 0 : i3.id; + const e4 = yield D.getCurrentToken(), t4 = null === (i3 = null == e4 ? void 0 : e4.OAuthClient) || void 0 === i3 ? void 0 : i3.id; t4 || this._endSessionWithReservedError("an OAuth client ID was not found."), a.values.client = t4; } catch (e4) { this.logPromiseError(this._infoMethod(t3), e4, "error getting OAuth Client ID from auth token info"), this._endSessionWithReservedError("an OAuth client ID could not be obtained. Check logging for additional error information."); } - return e3.isClientCredentialsClient || e3.isClientCredentialsAuthToken ? u.getOAuthClientInfo(a.values.client).then((e4) => b.getUserRolesAndPermissions(e4.id).then((t4) => { - e4.permissions = t4.permissions, D.call(this, e4); + return e3.isClientCredentialsClient || e3.isClientCredentialsAuthToken ? u.getOAuthClientInfo(a.values.client).then((e4) => D.getUserRolesAndPermissions(e4.id).then((t4) => { + e4.permissions = t4.permissions, L.call(this, e4); }, (e5) => { throw this.logPromiseError(this._infoMethod(t3), e5, "error getting oauth client roles and permissions info"), e5; }), (e4) => { throw this.logPromiseError(this._infoMethod(t3), e4, "error getting client credentials info"), e4; - }) : b.getCurrentUser().then(D.bind(this), (e4) => { + }) : D.getCurrentUser().then(L.bind(this), (e4) => { throw this.logPromiseError(this._infoMethod(t3), e4, "error getting user info"), e4; }); })); - return s2.push(l2), O.all(s2).catch(() => { - this._endSessionWithReservedError("error encountered with startup processing. Check logging for additional error information."); + return l2.push(c2), C.all(l2).catch((e4) => { + throw this.logPromiseError(this._infoMethod(t3), e4, "error encountered with session startup processing"), e4; }); } _coreInitializeEnvironment(e3) { return a.initialize(e3.env, e3.host, e3.region), "env: '" + e3.env + "', host: '" + e3.host + "', region: '" + e3.region + "'"; } _determineEndPromiseToResolve(e3) { - if (e3) return this.logNote("waiting for any pending work to complete before ending the session"), y.default.allSettled(); + if (e3) return this.logNote("waiting for any pending work to complete before ending the session"), S.default.allSettled(); { - const e4 = O.defer(); + const e4 = C.defer(); return e4.resolve(), e4.promise; } } _endSession() { switch (this._endMode) { - case d.default.SESSION_END_MODES.end: + case c.default.SESSION_END_MODES.end: this.end(true); break; - case d.default.SESSION_END_MODES.endWithLogout: + case c.default.SESSION_END_MODES.endWithLogout: this.endWithLogout(); break; default: @@ -109245,7 +118234,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } } _endSessionWithReservedError(e3, t3) { - this._endExitCode = 99, e3 || (e3 = ""), t3 && (t3 instanceof Error ? e3 += " Exception info: " + t3.message + (t3.stack ? " Stack: " + t3.stack : "") : e3 += "string" == typeof t3 ? " Exception info: " + t3 : " Exception info: " + JSON.stringify(t3)), this.logError((e3 && (r2.default.isUndefined(S.default.lastError) || S.default.lastError && -1 === S.default.lastError.indexOf(e3)) ? e3 + " " : "") + "ending the Session. Setting the exit code to 99."), this._endSession(); + this._endExitCode = 99, e3 || (e3 = ""), t3 && (t3 instanceof Error ? e3 += " Exception info: " + t3.message + (t3.stack ? " Stack: " + t3.stack : "") : e3 += "string" == typeof t3 ? " Exception info: " + t3 : " Exception info: " + JSON.stringify(t3)), this.logError((e3 && (r2.default.isUndefined(N.default.lastError) || N.default.lastError && -1 === N.default.lastError.indexOf(e3)) ? e3 + " " : "") + "ending the Session. Setting the exit code to 99."), this._endSession(); } _removeTtsListeners() { s.emitter.removeListener(s.ttsEngineChanged, this._boundTtsEngineChanged), s.emitter.removeListener(s.ttsEngineVoiceChanged, this._boundTtsEngineVoiceChanged); @@ -109257,12 +118246,12 @@ ${e3.stack}`, n3 = [this].concat(i3); this.logError("error removing event listeners during session cleanup: " + e3); } try { - c.default.destroy(); + p.default.destroy(); } catch (e3) { this.logError("error destroying network value cache during session cleanup: " + e3); } try { - y.default.reset(); + S.default.reset(); } catch (e3) { this.logError("error resetting async tracker during session cleanup: " + e3); } @@ -109285,7 +118274,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this._ttsInfoChanged(e3, true); } _ttsInfoChanged(e3, t3) { - if (S.default.logNotesVerbose) try { + if (N.default.logNotesVerbose) try { const i3 = e3.parent, n3 = e3.languageId.toLowerCase(), o2 = r2.default.find(i3.supportedLanguageOptions, (e4) => r2.default.isString(e4.language) && e4.language.toLowerCase() === n3); o2 && this.coreFactory.createArchWrapper(o2).logNoteVerbose(`language tts engine${t3 ? " voice" : ""} updated.`); } catch (e4) { @@ -109296,7 +118285,7 @@ ${e3.stack}`, n3 = [this].concat(i3); t3 && (n3 += `${t3.displayTypeName}.`), i3 && (n3 += `${i3} `), n3 += " - Caught unhandled exception during callback function execution. Ending session.", e3 && (n3 += " Exception info: ", r2.default.isObject(e3) ? e3.message ? n3 += e3.message : r2.default.isString(e3.text) ? n3 += e3.text : n3 += JSON.stringify(e3) : n3 += e3), t3.logError(n3), this._endSessionWithReservedError(n3); } _processCallbackResult(e3, t3, i3, n3, r3) { - return O.isPromiseAlike(n3) ? (e3.logNoteVerbose(r3 + " Callback function returned a promise. Waiting until it resolves."), n3.then((n4) => (e3.logNoteVerbose(r3 + " Callback function returned promise successfully resolved."), O.isPromiseAlike(n4) ? (e3.logNoteVerbose(r3 + " The result value from the returned promise is another promise. Will begin the process of waiting for it to resolve."), this._processCallbackResult(e3, t3, i3, n4, r3)) : n4)).catch((i4) => { + return C.isPromiseAlike(n3) ? (e3.logNoteVerbose(r3 + " Callback function returned a promise. Waiting until it resolves."), n3.then((n4) => (e3.logNoteVerbose(r3 + " Callback function returned promise successfully resolved."), C.isPromiseAlike(n4) ? (e3.logNoteVerbose(r3 + " The result value from the returned promise is another promise. Will begin the process of waiting for it to resolve."), this._processCallbackResult(e3, t3, i3, n4, r3)) : n4)).catch((i4) => { e3.logError(r3 + " Caught unhandled exception waiting for callback function returned promise to resolve."), this._unhandledCallbackException(i4, this, t3); }).finally(() => { i3 && this._endSession(); @@ -109315,39 +118304,41 @@ ${e3.stack}`, n3 = [this].concat(i3); _getDiscoveryProperties() { return n2.__awaiter(this, void 0, void 0, function* () { this.logNote("getting discovery properties..."), this._coreConfigured = true; - const e3 = a.values.host + "/services/discovery.properties", t3 = yield T.default.makeRequest("GET", e3, void 0, void 0, true); + const e3 = a.values.host + "/services/discovery.properties", t3 = yield y.default.makeRequest("GET", e3, void 0, void 0, true); a.loadProperties(t3), this.logNote("core environment discovery properties loaded."); }); } _getLocationInfo(e3, t3) { - this._checkItemIsValidLiteralStringEnum(this._infoParm("orgLocation", t3), e3, d.default.LOCATIONS_ALL); + this._checkItemIsValidLiteralStringEnum(this._infoParm("orgLocation", t3), e3, c.default.LOCATIONS_ALL); const i3 = this._locations[e3]; return i3 || this._logErrorInternalAndThrow("the location of '" + e3 + "' is valid in the Architect enums but not available in the session object."), this.useRegionalHost && (i3.host = i3.host.replace("apps", "app-regional")), i3; } _setFactoryFlowStartupComplete() { - R.resolve(); + M.resolve(); } - _startAndRun(e3, t3, i3, n3, u2, p2) { - var _2, h2; + _startAndRun(e3, t3, i3, n3, u2, d2) { + var _2, h2, m2, g2; switch (this._status) { - case d.default.SESSION_STATUSES.running: - this._itemIsInvalid(this._infoCalledObject(this, u2), "'" + u2 + "' called when the session status is in the status of '" + d.default.SESSION_STATUSES.running + "' which is not allowed."); + case c.default.SESSION_STATUSES.running: + this._itemIsInvalid(this._infoCalledObject(this, u2), "'" + u2 + "' called when the session status is in the status of '" + c.default.SESSION_STATUSES.running + "' which is not allowed."); break; - case d.default.SESSION_STATUSES.ended: + case c.default.SESSION_STATUSES.ended: this.logNoteVerbose("restarting previously ended session."), o.resetAuthPromise(); } - let m2; - return R = O.defer(), this._status === d.default.SESSION_STATUSES.ended && O.all([o.bootstrapLanguageDataLoaded, o.featureTogglesLoaded, o.divisionsLoaded]).then(() => { + M = C.defer(), this._status === c.default.SESSION_STATUSES.ended && C.all([o.bootstrapLanguageDataLoaded, o.featureTogglesLoaded, o.divisionsLoaded]).then(() => { this._setFactoryFlowStartupComplete(); - }), this._removeTtsListeners(), s.serviceListen(s.ttsEngineChanged, this._boundTtsEngineChanged), s.serviceListen(s.ttsEngineVoiceChanged, this._boundTtsEngineVoiceChanged), this.logNote("starting session authorization."), A.authorize(), this.logNoteVerbose("setting session status to '" + d.default.SESSION_STATUSES.running + "'."), this._status = d.default.SESSION_STATUSES.running, this._sessionStartDeferred = O.defer(), c.default.cacheEnabled = null !== (_2 = null == p2 ? void 0 : p2.cacheEnabled) && void 0 !== _2 && _2, c.default.showDiagnostics = null !== (h2 = null == p2 ? void 0 : p2.showCacheDiagnostics) && void 0 !== h2 && h2, n3.authToken ? (m2 = this._coreInitializeEnvironment(e3) + ", authToken: '" + n3.authToken + "'", a.setAuthToken(n3.authToken)) : (a.overrideProperties({ client: n3.clientId, client_secret: n3.clientSecret }), m2 = `${this._coreInitializeEnvironment(e3)}, clientId: '${n3.clientId}', clientSecret: '${n3.clientSecret}', isClientCredentialsOAuthClient: '${n3.isClientCredentialsClient}'`), this.logNote("architect scripting version: 0.66.6"), this.logNote("core environment configuration. " + m2), r2.default.isFunction(i3) && (this.logNote("end session callback function specified."), this._endCallbackFunction = i3), this._sessionEnded = false, this._endExitCode = 0, this._getDiscoveryProperties().then(() => { + }), this._removeTtsListeners(), s.serviceListen(s.ttsEngineChanged, this._boundTtsEngineChanged), s.serviceListen(s.ttsEngineVoiceChanged, this._boundTtsEngineVoiceChanged), this.logNote("starting session authorization."), v.authorize(), this.logNoteVerbose("setting session status to '" + c.default.SESSION_STATUSES.running + "'."), this._status = c.default.SESSION_STATUSES.running, this._sessionStartDeferred = C.defer(), p.default.cacheEnabled = null !== (_2 = null == d2 ? void 0 : d2.cacheEnabled) && void 0 !== _2 && _2, p.default.showDiagnostics = null !== (h2 = null == d2 ? void 0 : d2.showCacheDiagnostics) && void 0 !== h2 && h2; + const f2 = null !== (m2 = null == d2 ? void 0 : d2.captureNetworkDiagnosticsOnFailure) && void 0 !== m2 && m2; + let T2; + return A.default.captureEnabled = f2, A.default.logEnabled = null !== (g2 = null == d2 ? void 0 : d2.logNetworkDiagnosticsOnFailure) && void 0 !== g2 ? g2 : f2, n3.authToken ? (T2 = this._coreInitializeEnvironment(e3) + ", authToken: '" + n3.authToken + "'", a.setAuthToken(n3.authToken)) : (a.overrideProperties({ client: n3.clientId, client_secret: n3.clientSecret }), T2 = `${this._coreInitializeEnvironment(e3)}, clientId: '${n3.clientId}', clientSecret: '${n3.clientSecret}', isClientCredentialsOAuthClient: '${n3.isClientCredentialsClient}'`), this.logNote("architect scripting version: 0.68.3"), this.logNote("core environment configuration. " + T2), r2.default.isFunction(i3) && (this.logNote("end session callback function specified."), this._endCallbackFunction = i3), this._sessionEnded = false, this._endRequested = false, this._endExitCode = 0, this._getDiscoveryProperties().then(() => { this._coreAuthenticate(n3, u2).then(() => { this.logNote(`starting session startup initialization for '${u2}'.`); const e4 = new Promise((e5) => setTimeout(e5, 5e3)); Promise.race([e4, l.getInitialConnected()]).finally(() => { const e5 = "session startup initialization for " + u2 + " complete."; - t3 ? this.executeCallback(this, u2, t3, this, true, e5) : this.logNote(e5 + " No callback function supplied so nothing to do."); + this._endRequested ? this.logError(e5 + " The session was asked to end while startup initialization was still in progress, so the '" + u2 + "' callback function will not be invoked.") : t3 ? this.executeCallback(this, u2, t3, this, true, e5) : this.logNote(e5 + " No callback function supplied so nothing to do."); }); - }).catch((e4) => this._endSessionWithReservedError("Unable to authenticate.", e4)); + }).catch((e4) => this._endSessionWithReservedError("error encountered with startup processing. Check logging for additional error information.", e4)); }).catch((e4) => this._endSessionWithReservedError("Unable to read discovery properties.", e4)), this._boundTokenRevoked = this._endSessionWithReservedError.bind(this, "User has been logged out."), s.serviceListen(s.tokenRevoked, this._boundTokenRevoked), this._sessionStartDeferred.promise; } get archSessionId() { @@ -109360,11 +118351,11 @@ ${e3.stack}`, n3 = [this].concat(i3); return "ArchSession"; } end(e3) { - this._sessionEnded ? this.logItemWarning(this._infoMethod("end"), "the end method is being called and the session status already ended. Exiting end call.") : (r2.default.isUndefined(e3) ? e3 = false : r2.default.isBoolean(e3) || (this.logItemWarning(this._infoParm("processPendingAsyncWork", "end"), "a non-boolean value was specified for processPendingAsyncWork. Architect Scripting will use the value false for processPendingAsyncWork."), e3 = false), this._cleanupSessionResources(), this._determineEndPromiseToResolve(e3).then(() => { - this._sessionEnded = true, this._invokeSessionEndingCallback(), this.logNoteVerbose("setting session status to '" + d.default.SESSION_STATUSES.ended + "'."), this._status = d.default.SESSION_STATUSES.ended, this._determineEndPromiseToResolve(e3).then(() => { + this._sessionEnded ? this.logItemWarning(this._infoMethod("end"), "the end method is being called and the session status already ended. Exiting end call.") : (this._endRequested = true, r2.default.isUndefined(e3) ? e3 = false : r2.default.isBoolean(e3) || (this.logItemWarning(this._infoParm("processPendingAsyncWork", "end"), "a non-boolean value was specified for processPendingAsyncWork. Architect Scripting will use the value false for processPendingAsyncWork."), e3 = false), this._cleanupSessionResources(), this._determineEndPromiseToResolve(e3).then(() => { + this._sessionEnded = true, this._invokeSessionEndingCallback(), this.logNoteVerbose("setting session status to '" + c.default.SESSION_STATUSES.ended + "'."), this._status = c.default.SESSION_STATUSES.ended, this._determineEndPromiseToResolve(e3).then(() => { this.logNote("ending with exit code: " + this.endExitCode), this._endTerminatesProcess ? (this.logNote("session is configured to terminate the process when ending."), process && r2.default.isFunction(process.exit) ? (this.logNote("now exiting the process with exit code: " + this.endExitCode), process.exit(this.endExitCode)) : this.logError("unable to exit the process because unable to determine the process or find an exit method to call.")) : this.logNote("the session is ending but is not configured to terminate the process in which it is running."); }).finally(() => { - this._sessionStartDeferred && (this.logNote("resolving session start promise."), this._sessionStartDeferred.resolve(), this._sessionStartDeferred = void 0, c.default.cacheEnabled && c.default.showDiagnostics && c.default.logCacheStats()); + this._sessionStartDeferred && (this.logNote("resolving session start promise."), this._sessionStartDeferred.resolve(), this._sessionStartDeferred = void 0, p.default.cacheEnabled && p.default.showDiagnostics && p.default.logCacheStats()); }); })); } @@ -109385,7 +118376,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._endMode; } set endMode(e3) { - this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newEndMode", "endMode"), e3, d.default.SESSION_END_MODES_ALL), this.logNote("setting the session end mode to '" + e3 + "'"), this._endMode = e3; + this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newEndMode", "endMode"), e3, c.default.SESSION_END_MODES_ALL), this.logNote("setting the session end mode to '" + e3 + "'"), this._endMode = e3; } get endTerminatesProcess() { return this._endTerminatesProcess; @@ -109394,15 +118385,15 @@ ${e3.stack}`, n3 = [this].concat(i3); this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "endTerminatesProcess"), e3), this.logNote("setting the endTerminatesProcess to " + e3), this._endTerminatesProcess = e3; } endWithLogout(e3) { - r2.default.isUndefined(e3) ? e3 = false : r2.default.isBoolean(e3) || (this.logItemWarning(this._infoParm("processPendingAsyncWork", "endWithLogout"), "a non-boolean value was specified for processPendingAsyncWork. Architect Scripting will use the value false for processPendingAsyncWork."), e3 = false), this._determineEndPromiseToResolve(e3).then(() => { + this._sessionEnded ? this.logItemWarning(this._infoMethod("endWithLogout"), "the endWithLogout method is being called and the session status already ended. Exiting endWithLogout call.") : (this._endRequested = true, r2.default.isUndefined(e3) ? e3 = false : r2.default.isBoolean(e3) || (this.logItemWarning(this._infoParm("processPendingAsyncWork", "endWithLogout"), "a non-boolean value was specified for processPendingAsyncWork. Architect Scripting will use the value false for processPendingAsyncWork."), e3 = false), this._determineEndPromiseToResolve(e3).then(() => { this._invokeSessionEndingCallback(), this._determineEndPromiseToResolve(e3).then(() => { - a.getAuthToken() ? (this.logNote("logging out..."), v.disconnect(a.getAuthToken()).then(() => { + a.getAuthToken() ? (this.logNote("logging out..."), w.disconnect(a.getAuthToken()).then(() => { a.setAuthToken(void 0); const e4 = a.getDisconnectUrl(); - I.open(e4), this.logNote("logged out."); + E.open(e4), this.logNote("logged out."); }).catch((e4) => this.logError("logout failure. Error: " + e4)).finally(() => this.end())) : this.end(); }); - }); + })); } get environment() { return this._coreConfigured ? a.values.env : void 0; @@ -109452,25 +118443,25 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._status; } get cacheStats() { - return c.default.getCacheStats(); + return p.default.getCacheStats(); } get isCacheEnabled() { - return c.default.cacheEnabled; + return p.default.cacheEnabled; } get isShowCacheDiagnosticsEnabled() { - return c.default.showDiagnostics; + return p.default.showDiagnostics; } } - t2.ArchSession = M; - const F = new M(); - t2.default = F; + t2.ArchSession = k; + const V = new k(); + t2.default = V; }, 94241: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(94225)), s = i2(80428), l = n2.__importDefault(i2(4648)), u = i2(53476), d = i2(79519), c = i2(66381), p = n2.__importDefault(i2(67336)), _ = r2.default.invert(s.expressionTypeNames); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(94225)), s = i2(80428), l = n2.__importDefault(i2(4648)), u = i2(53476), c = i2(79519), d = i2(66381), p = n2.__importDefault(i2(67336)), _ = r2.default.invert(s.expressionTypeNames); class h extends p.default { constructor(e3, t3) { - super(e3), t3 || (this._checkItem(this._infoParmCtor("coreExpressionType.model"), !e3.model, "the core expression type does not have a model property"), this._checkItem(this._infoParmCtor("coreExpressionType.model.support"), !e3.model.support, "the core expression type model does not have a support property"), this._checkItem(this._infoParmCtor("coreExpressionType.model.support.expressionDataType"), !e3.model.support.expressionDataType, "the core expression type model's support property does not have an expression data type"), (0, u.isCustomJsonExpressionType)(e3) ? (t3 = e3.customTypeName.replace(/[\s-]+/g, ""), (null == e3 ? void 0 : e3.customTypeNamespace) === d.CustomJsonNamespace.architect && (null == t3 ? void 0 : t3.length) > 0 && (t3 = (0, c.convertPascalToCamelCase)(t3))) : t3 = _[e3.model.support.expressionDataType], this._checkItem(this._infoParmCtor("coreExpressionType.model.support.expressionDataType"), !t3, "data type name could be determined")), this._name = t3 + (e3.isCollection && !t3.endsWith("Collection") ? "Collection" : ""); + super(e3), t3 || (this._checkItem(this._infoParmCtor("coreExpressionType.model"), !e3.model, "the core expression type does not have a model property"), this._checkItem(this._infoParmCtor("coreExpressionType.model.support"), !e3.model.support, "the core expression type model does not have a support property"), this._checkItem(this._infoParmCtor("coreExpressionType.model.support.expressionDataType"), !e3.model.support.expressionDataType, "the core expression type model's support property does not have an expression data type"), (0, u.isCustomJsonExpressionType)(e3) ? (t3 = e3.customTypeName.replace(/[\s-]+/g, ""), (null == e3 ? void 0 : e3.customTypeNamespace) === c.CustomJsonNamespace.architect && (null == t3 ? void 0 : t3.length) > 0 && (t3 = (0, d.convertPascalToCamelCase)(t3))) : t3 = _[e3.model.support.expressionDataType], this._checkItem(this._infoParmCtor("coreExpressionType.model.support.expressionDataType"), !t3, "data type name could be determined")), this._name = t3 + (e3.isCollection && !t3.endsWith("Collection") ? "Collection" : ""); } _getCoreViewModelTyped() { return this._getCoreViewModel(); @@ -109691,9 +118682,9 @@ ${e3.stack}`, n3 = [this].concat(i3); h(i3, e4.branchItem, e4.intent); })), t3.addAction(e3.isDigitalBotFlow ? p.waitForInputActionType : u.exitBotFlowActionType, i3); }, t2.addAskForSlotActionsToAskForNluIntentBranch = h, t2.getArchitectTypeForNluType = g, t2.getNluTypeForArchitectType = function(e3, t3) { - return r2.isMatch(e3, d.globalTypes.currencyCollection, r2.settings.exact) || r2.isMatch(e3, d.globalTypes.currency, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInAmountOfMoney } : r2.isMatch(e3, d.globalTypes.dateCollection, r2.settings.exact) || r2.isMatch(e3, d.globalTypes.date, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInDate } : r2.isMatch(e3, d.globalTypes.dateTimeCollection, r2.settings.exact) || r2.isMatch(e3, d.globalTypes.dateTime, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInDateTime } : r2.isMatch(e3, d.globalTypes.durationCollection, r2.settings.exact) || r2.isMatch(e3, d.globalTypes.duration, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInDuration } : r2.isMatch(e3, d.globalTypes.integerCollection, r2.settings.exact) || r2.isMatch(e3, d.globalTypes.integer, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInInteger } : r2.isMatch(e3, d.globalTypes.decimalCollection, r2.settings.exact) || r2.isMatch(e3, d.globalTypes.decimal, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInNumber } : r2.isMatch(e3, d.globalTypes.timeCollection, r2.settings.exact) || r2.isMatch(e3, d.globalTypes.time, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInTime } : r2.isMatch(e3, d.globalTypes.timeslotCollection, r2.settings.exact) || r2.isMatch(e3, d.globalTypes.timeslot, r2.settings.exact) ? { nluDataType: t3 || "", mechanism: l.EntityTypeMechanismType.DynamicDateTime } : { nluDataType: l.BuiltInEntityType.BuiltInAny }; + return r2.isMatch(e3, c.globalTypes.currencyCollection, r2.settings.exact) || r2.isMatch(e3, c.globalTypes.currency, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInAmountOfMoney } : r2.isMatch(e3, c.globalTypes.dateCollection, r2.settings.exact) || r2.isMatch(e3, c.globalTypes.date, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInDate } : r2.isMatch(e3, c.globalTypes.dateTimeCollection, r2.settings.exact) || r2.isMatch(e3, c.globalTypes.dateTime, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInDateTime } : r2.isMatch(e3, c.globalTypes.durationCollection, r2.settings.exact) || r2.isMatch(e3, c.globalTypes.duration, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInDuration } : r2.isMatch(e3, c.globalTypes.integerCollection, r2.settings.exact) || r2.isMatch(e3, c.globalTypes.integer, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInInteger } : r2.isMatch(e3, c.globalTypes.decimalCollection, r2.settings.exact) || r2.isMatch(e3, c.globalTypes.decimal, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInNumber } : r2.isMatch(e3, c.globalTypes.timeCollection, r2.settings.exact) || r2.isMatch(e3, c.globalTypes.time, r2.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInTime } : r2.isMatch(e3, c.globalTypes.timeslotCollection, r2.settings.exact) || r2.isMatch(e3, c.globalTypes.timeslot, r2.settings.exact) ? { nluDataType: t3 || "", mechanism: l.EntityTypeMechanismType.DynamicDateTime } : { nluDataType: l.BuiltInEntityType.BuiltInAny }; }, t2.getVariableForNluEntity = f; - const n2 = i2(31635), r2 = n2.__importStar(i2(9345)), o = i2(30801), a = i2(30801), s = n2.__importDefault(i2(60873)), l = i2(68694), u = i2(30801), d = i2(14394), c = i2(17604), p = i2(30801), _ = i2(21733); + const n2 = i2(31635), r2 = n2.__importStar(i2(9345)), o = i2(30801), a = i2(30801), s = n2.__importDefault(i2(60873)), l = i2(68694), u = i2(30801), c = i2(14394), d = i2(17604), p = i2(30801), _ = i2(21733); function h(e3, t3, i3) { var n3; if (s.default.info.isAvailableForFlow(e3.parentFlow)) { @@ -109715,7 +118706,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } function m(e3, t3) { const i3 = _(e3.parentFlow.defaultLanguage); - e3.name = (0, c.sprintf)(i3.askForSlot.askFor, t3.name); + e3.name = (0, d.sprintf)(i3.askForSlot.askFor, t3.name); const n3 = f(e3.parentFlow, t3.name, t3.type); e3.askResult.type = n3.type, e3.askResult.setText(n3.name, true, true), e3.setSelectedSlotNameAndType(t3.name, t3.type), e3.setNewInstanceDefaults(null); } @@ -109723,28 +118714,28 @@ ${e3.stack}`, n3 = [this].concat(i3); let n3; switch (e3) { case l.BuiltInEntityType.BuiltInAmountOfMoney: - n3 = i3 ? d.globalTypes.currencyCollection : d.globalTypes.currency; + n3 = i3 ? c.globalTypes.currencyCollection : c.globalTypes.currency; break; case l.BuiltInEntityType.BuiltInDate: - n3 = i3 ? d.globalTypes.dateCollection : d.globalTypes.date; + n3 = i3 ? c.globalTypes.dateCollection : c.globalTypes.date; break; case l.BuiltInEntityType.BuiltInDateTime: - n3 = i3 ? d.globalTypes.dateTimeCollection : d.globalTypes.dateTime; + n3 = i3 ? c.globalTypes.dateTimeCollection : c.globalTypes.dateTime; break; case l.BuiltInEntityType.BuiltInDuration: - n3 = i3 ? d.globalTypes.durationCollection : d.globalTypes.duration; + n3 = i3 ? c.globalTypes.durationCollection : c.globalTypes.duration; break; case l.BuiltInEntityType.BuiltInInteger: - n3 = i3 ? d.globalTypes.integerCollection : d.globalTypes.integer; + n3 = i3 ? c.globalTypes.integerCollection : c.globalTypes.integer; break; case l.BuiltInEntityType.BuiltInNumber: - n3 = i3 ? d.globalTypes.decimalCollection : d.globalTypes.decimal; + n3 = i3 ? c.globalTypes.decimalCollection : c.globalTypes.decimal; break; case l.BuiltInEntityType.BuiltInTime: - n3 = i3 ? d.globalTypes.timeCollection : d.globalTypes.time; + n3 = i3 ? c.globalTypes.timeCollection : c.globalTypes.time; break; default: - n3 = t3 && t3.toLowerCase() === l.EntityTypeMechanismType.DynamicDateTime ? i3 ? d.globalTypes.timeslotCollection : d.globalTypes.timeslot : i3 ? d.globalTypes.stringCollection : d.globalTypes.string; + n3 = t3 && t3.toLowerCase() === l.EntityTypeMechanismType.DynamicDateTime ? i3 ? c.globalTypes.timeslotCollection : c.globalTypes.timeslot : i3 ? c.globalTypes.stringCollection : c.globalTypes.string; } return n3; } @@ -109776,8 +118767,8 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }), t2.CollectionExpressionList = void 0, t2.isCollectionExpressionList = function(e3) { return e3 instanceof p; }; - const n2 = i2(31635), r2 = i2(79364), o = i2(92794), a = i2(36781), s = i2(36781), l = i2(36781), u = n2.__importStar(i2(58380)), d = i2(58380), c = i2(71514); - class p extends c.ExpressionList { + const n2 = i2(31635), r2 = i2(79364), o = i2(92794), a = i2(36781), s = i2(36781), l = i2(36781), u = n2.__importStar(i2(58380)), c = i2(58380), d = i2(71514); + class p extends d.ExpressionList { constructor(e3, t3, i3, n3, r3, o2, a2) { super(t3, i3, n3, r3, null, o2, void 0, a2), this._collectionParent = e3, this._subscriptions = {}, this.items.forEach((e4) => this._newCollectionItemAdded(e4)); } @@ -109789,7 +118780,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } _newCollectionItemAdded(e3) { e3.parentList = this._collectionParent; - const t3 = (e4, t4) => (0, d.createObservableForEvent$)(e4, t4).pipe((0, o.map)((t5) => t5 ? e4 : null)); + const t3 = (e4, t4) => (0, c.createObservableForEvent$)(e4, t4).pipe((0, o.map)((t5) => t5 ? e4 : null)); this._subscriptions[e3.id] = (0, r2.merge)(t3(s.listOrderChanged, e3), t3(a.collectionItemValueChanged, e3), t3(l.expressionValueChanged, e3)).subscribe((e4) => u.fireEvent(this._collectionParent, e4)); } destroyChild(e3) { @@ -109954,7 +118945,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const o = i2(31635), a = i2(19596), s = i2(80295), l = i2(80295); class u extends a.DataContract { constructor(e3) { - super(e3), (0, l.makeUnenumerable)(this, "_durationSeconds"), (0, l.makeUnenumerable)(this, "_hasDefault"), (0, l.makeUnenumerable)(this, "_language"), (0, l.makeUnenumerable)(this, "_mediaUri"), (0, l.makeUnenumerable)(this, "_name"), (0, l.makeUnenumerable)(this, "_promptId"), (0, l.makeUnenumerable)(this, "_text"), (0, l.makeUnenumerable)(this, "_ttsString"), (0, l.makeUnenumerable)(this, "_tags"), (0, l.makeUnenumerable)(this, "_uploadStatus"), (0, l.makeUnenumerable)(this, "_uploadUri"); + super(e3), (0, l.makeUnenumerable)(this, "_durationSeconds"), (0, l.makeUnenumerable)(this, "_hasDefault"), (0, l.makeUnenumerable)(this, "_language"), (0, l.makeUnenumerable)(this, "_mediaUri"), (0, l.makeUnenumerable)(this, "_name"), (0, l.makeUnenumerable)(this, "_promptId"), (0, l.makeUnenumerable)(this, "_text"), (0, l.makeUnenumerable)(this, "_ttsString"), (0, l.makeUnenumerable)(this, "_tags"), (0, l.makeUnenumerable)(this, "_uploadStatus"), (0, l.makeUnenumerable)(this, "_uploadUri"), (0, l.makeUnenumerable)(this, "_audioFormat"); } get durationSeconds() { return this._durationSeconds; @@ -110037,8 +119028,14 @@ ${e3.stack}`, n3 = [this].concat(i3); set uploadUri(e3) { this._uploadUri = e3; } + get audioFormat() { + return this._audioFormat; + } + set audioFormat(e3) { + this._audioFormat = e3; + } } - t2.PromptResource = u, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Number), o.__metadata("design:paramtypes", [Number])], u.prototype, "durationSeconds", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Boolean])], u.prototype, "hasDefault", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "language", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "mediaUri", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "name", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "promptId", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "text", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "ttsString", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = "undefined" != typeof Map && Map) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = "undefined" != typeof Map && Map) ? r2 : Object])], u.prototype, "tags", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "uploadStatus", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "uploadUri", null); + t2.PromptResource = u, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Number), o.__metadata("design:paramtypes", [Number])], u.prototype, "durationSeconds", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Boolean])], u.prototype, "hasDefault", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "language", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "mediaUri", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "name", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "promptId", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "text", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "ttsString", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = "undefined" != typeof Map && Map) ? n2 : Object), o.__metadata("design:paramtypes", ["function" == typeof (r2 = "undefined" != typeof Map && Map) ? r2 : Object])], u.prototype, "tags", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "uploadStatus", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "uploadUri", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], u.prototype, "audioFormat", null); }, 94745: (e2, t2, i2) => { const n2 = i2(57731), r2 = {}; function o(e3, t3) { @@ -110054,13 +119051,13 @@ ${e3.stack}`, n3 = [this].concat(i3); }, t2.isSingletonType = function(e3) { return e3.isExpressionType && !e3.isCollection; }; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(12847)), l = i2(24032), u = i2(55352), d = i2(49892), c = i2(16321), p = n2.__importStar(i2(10798)), _ = n2.__importStar(i2(27099)), h = n2.__importDefault(i2(61864)), m = i2(55299), g = n2.__importDefault(i2(87675)), f = n2.__importDefault(i2(39041)), T = n2.__importDefault(i2(73198)), y = n2.__importDefault(i2(7342)), S = i2(27491), A = n2.__importDefault(i2(22226)), N = n2.__importStar(i2(9345)), O = i2(80428), I = i2(14394), v = i2(77105), C = i2(53476), b = n2.__importDefault(i2(65302)), E = i2(47957), R = i2(34005), w = (0, l.getTopic)("ExpressionType"), D = a.default.invert(O.expressionTypeNames); - D.usr = "user"; - class P extends m.BaseClass { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(12847)), l = i2(69453), u = i2(24032), c = i2(55352), d = i2(49892), p = i2(16321), _ = n2.__importStar(i2(10798)), h = n2.__importStar(i2(27099)), m = n2.__importDefault(i2(61864)), g = i2(55299), f = n2.__importDefault(i2(87675)), T = i2(50474), y = n2.__importDefault(i2(39041)), S = n2.__importDefault(i2(73198)), A = n2.__importDefault(i2(7342)), N = i2(27491), v = n2.__importDefault(i2(22226)), O = n2.__importStar(i2(9345)), I = i2(80428), C = i2(14394), b = i2(77105), E = i2(53476), w = n2.__importDefault(i2(65302)), R = i2(1910), D = i2(1910), P = i2(1910), M = i2(1910), F = i2(47957), L = i2(34005), x = (0, u.getTopic)("ExpressionType"), k = a.default.invert(I.expressionTypeNames); + k.usr = "user"; + class V extends g.BaseClass { constructor(e3, t3, i3, n3) { var r3; - super(), this._isAvailableForFlowTypeCheckResult = {}, this.singletonProperties = {}, this.expressionTextPropToName = {}, this.expressionOptionClass = void 0, this._customJsonTypeIcon = { worktype: h.default.workitem, decisionTable: h.default.decisionTable, conversationCustomAttribute: h.default.conversationCustomAttribute }, this._model = t3, this.parentFlow = e3, this.isCollection = i3, this.additionalProperties = n3, ((r3 = this).model.nativeProperties || r3.model.propertiesAllowAssignment) && a.default.each(r3.model.nativeProperties, function(e4) { - const t4 = new v.PropertyDefinition(r3.parentFlow, e4, y.default[e4.descriptionId] || e4.description); + super(), this._isAvailableForFlowTypeCheckResult = {}, this.singletonProperties = {}, this.expressionTextPropToName = {}, this.expressionOptionClass = void 0, this._customJsonTypeIcon = { worktype: m.default.workitem, decisionTable: m.default.decisionTable, conversationCustomAttribute: m.default.conversationCustomAttribute }, this._model = t3, this.parentFlow = e3, this.isCollection = i3, this.additionalProperties = n3, ((r3 = this).model.nativeProperties || r3.model.propertiesAllowAssignment) && a.default.each(r3.model.nativeProperties, function(e4) { + const t4 = new b.PropertyDefinition(r3.parentFlow, e4, A.default[e4.descriptionId] || e4.description); r3.singletonProperties[t4.name.toLocaleLowerCase()] = t4; }), this._syncHasPropertyAndReadOnlyFromProperties(), Object.freeze(this._model); } @@ -110105,23 +119102,23 @@ ${e3.stack}`, n3 = [this].concat(i3); } _getIsEnabledForFeatureConfigInfo(e3) { if (!a.default.isObject(e3)) return false; - const t3 = !e3.featureConfigName || p.isFeatureAvailable(e3.featureConfigName); + const t3 = !e3.featureConfigName || _.isFeatureAvailable(e3.featureConfigName); if (!e3.hasOwnProperty("featureConfigName2")) return t3; if (true === e3.featureConfigsAllOf) { if (!t3) return false; } else if (t3) return true; - return !e3.featureConfigName2 || p.isFeatureAvailable(e3.featureConfigName2); + return !e3.featureConfigName2 || _.isFeatureAvailable(e3.featureConfigName2); } _getStaticSupportedFlowTypes(e3) { if (!e3 || !this.model.support.supportedFlowTypes) return; - if (this.model.support.featureToggleName && _.isDisabled(this.model.support.featureToggleName) || !this._getIsEnabledForFeatureConfigInfo(this.model.support)) return; + if (this.model.support.featureToggleName && h.isDisabled(this.model.support.featureToggleName) || !this._getIsEnabledForFeatureConfigInfo(this.model.support)) return; const t3 = this.model.support.supportedFlowTypes[e3]; - return t3 && (t3.featureToggleName && _.isDisabled(t3.featureToggleName) || !this._getIsEnabledForFeatureConfigInfo(t3)) ? void 0 : this.model.support.supportedFlowTypes[e3]; + return t3 && (t3.featureToggleName && h.isDisabled(t3.featureToggleName) || !this._getIsEnabledForFeatureConfigInfo(t3)) ? void 0 : this.model.support.supportedFlowTypes[e3]; } isAvailableAsInputOrOutputForFlowType(e3, t3) { var i3; - if (c.bootstrapService.dataTypes) { - const n3 = null === (i3 = c.bootstrapService.dataTypes[this.dataType]) || void 0 === i3 ? void 0 : i3.direction; + if (p.bootstrapService.dataTypes) { + const n3 = null === (i3 = p.bootstrapService.dataTypes[this.dataType]) || void 0 === i3 ? void 0 : i3.direction; if (!a.default.isObject(n3)) return false; const r3 = n3.flow; if (!a.default.isObject(r3)) return false; @@ -110139,7 +119136,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } } get collectionType() { - return this.isCollection ? this : b.default.getType(this.parentFlow, this.dataType, true); + return this.isCollection ? this : w.default.getType(this.parentFlow, this.dataType, true); } getLiteralValueOfExpression(e3) { return (null == e3 ? void 0 : e3.isExpressionMode) || (null == e3 ? void 0 : e3.isBuilderMode) ? this._getLiteralValueOfExpression(e3) : ""; @@ -110148,10 +119145,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return (null == e3 ? void 0 : e3.text) || ""; } get expressionType() { - return this.isCollection ? this.dataType + T.default.exprDataTypeSuffixCollection : this.dataType; + return this.isCollection ? this.dataType + S.default.exprDataTypeSuffixCollection : this.dataType; } get expressionTypeBase() { - return (this.isCollection ? this.dataTypeBase + T.default.exprDataTypeSuffixCollection : this.dataTypeBase) || this.dataType; + return (this.isCollection ? this.dataTypeBase + S.default.exprDataTypeSuffixCollection : this.dataTypeBase) || this.dataType; } createExpressionOptionClass() { return this === this.collectionType && this !== this.singletonType ? this.singletonType.createExpressionOptionClass().setIsCollection(true) : new d.ExpressionTypelessOptions(this.isCollection); @@ -110167,8 +119164,8 @@ ${e3.stack}`, n3 = [this].concat(i3); } get displayString() { if (void 0 === this._displayString) { - const e3 = y.default[this.typeCode]; - this._displayString = this.isCollection ? (0, o.sprintf)(E.expression.collection, e3) : e3; + const e3 = A.default[this.typeCode]; + this._displayString = this.isCollection ? (0, o.sprintf)(F.expression.collection, e3) : e3; } return this._displayString; } @@ -110186,28 +119183,28 @@ ${e3.stack}`, n3 = [this].concat(i3); } get inheritedType() { const e3 = this.model.support.expressionBaseDataType || this.dataType; - return b.default.getType(this.parentFlow, e3); + return w.default.getType(this.parentFlow, e3); } get isAbstract() { return !!this.model.isAbstract; } get allowLiteralSelect() { - return !!this.model.allowLiteralSelect && (!this.model.allowLiteralSelectFeatureConfig || p.isFeatureAvailable(this.model.allowLiteralSelectFeatureConfig)); + return !!this.model.allowLiteralSelect && (!this.model.allowLiteralSelectFeatureConfig || _.isFeatureAvailable(this.model.allowLiteralSelectFeatureConfig)); } get isAny() { - return this.dataType === I.globalTypes.any.dataType; + return this.dataType === C.globalTypes.any.dataType; } get isAnyComplex() { - return this.dataType === I.globalTypes.anyComplex.dataType; + return this.dataType === C.globalTypes.anyComplex.dataType; } get isAnyPromptOrAudio() { return "apa" === this.dataType; } get isComplex() { - return this.dataType.substring(0, 3) === T.default.exprDataTypePrefixComplex; + return this.dataType.substring(0, 3) === S.default.exprDataTypePrefixComplex; } isAvailableForFlowType(e3, t3) { - let i3 = !!c.bootstrapService.dataTypes; + let i3 = !!p.bootstrapService.dataTypes; if (e3 === r2.flowTypes.flowTypeCommonModule && (i3 = false), i3) { let i4 = this._isAvailableForFlowTypeCheckResult[e3]; return void 0 === i4 && (i4 = this._isAvailableForFlowType(e3, t3), this._isAvailableForFlowTypeCheckResult[e3] = i4), i4; @@ -110215,9 +119212,9 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._isAvailableForFlowType(e3, t3); } _isAvailableForFlowType(e3, t3) { - if (!c.bootstrapService.dataTypes) return void 0 !== this._getStaticSupportedFlowTypes(e3); + if (!p.bootstrapService.dataTypes) return void 0 !== this._getStaticSupportedFlowTypes(e3); { - const t4 = this.bootstrapDataType, i3 = c.bootstrapService.dataTypes[t4]; + const t4 = this.bootstrapDataType, i3 = p.bootstrapService.dataTypes[t4]; if (i3) return i3.flowTypes[e3] && i3.flowTypes[e3].isAvailable; } } @@ -110254,7 +119251,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } get isNotSet() { - return this.dataType === I.globalTypes.notSet.dataType; + return this.dataType === C.globalTypes.notSet.dataType; } get isSupportedByAny() { return this.model.support.isSupportedByAny; @@ -110276,24 +119273,37 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.isCollection ? {} : this.singletonProperties; } globalMatchingTypes() { - return b.default.getGlobalMatchingTypes(this); + return w.default.getGlobalMatchingTypes(this); } get singletonType() { - return this.isCollection ? b.default.getType(this.parentFlow, this.dataType, false) : this; + return this.isCollection ? w.default.getType(this.parentFlow, this.dataType, false) : this; } startupConnectedAndReady() { - if (c.bootstrapService.dataTypes) { - const e3 = c.bootstrapService.dataTypes[this.dataType]; + if (p.bootstrapService.dataTypes) { + const e3 = p.bootstrapService.dataTypes[this.dataType]; e3 && (this.model.support.isSupportedByAny = e3.isAnAnyType.isAvailable, this.model.support.userCanCreate = e3.userCreatable.isAvailable, Object.values(this.properties).forEach((t3) => { t3.startupConnectedAndReady(e3.properties.find((e4) => e4.name === t3.name)); })); - } else this.model.support.isSupportedByAny && this.model.support.anySupportFeatureToggleName && (this.model.support.isSupportedByAny = _.isEnabled(this.model.support.anySupportFeatureToggleName)), this.model.support.userCanCreate && this.model.support.userCanCreateFeatureToggleName && (this.model.support.userCanCreate = _.isEnabled(this.model.support.userCanCreateFeatureToggleName)), Object.values(this.properties).forEach((e3) => { + } else this.model.support.isSupportedByAny && this.model.support.anySupportFeatureToggleName && (this.model.support.isSupportedByAny = h.isEnabled(this.model.support.anySupportFeatureToggleName)), this.model.support.userCanCreate && this.model.support.userCanCreateFeatureToggleName && (this.model.support.userCanCreate = h.isEnabled(this.model.support.userCanCreateFeatureToggleName)), Object.values(this.properties).forEach((e3) => { e3.startupConnectedAndReady(); }); } get supportsLiteralEditor() { return true; } + get supportsPlutusResponseAssets() { + return false; + } + getPlutusMaxUploadSizeMegabytes() { + } + getPlutusMimeTypes() { + } + getPlutusSupportedFileExtensions() { + } + getPlutusMediaPlaceholderText() { + } + getPlutusSupportedFileTypesText() { + } get typeCode() { return this.model.name; } @@ -110304,12 +119314,12 @@ ${e3.stack}`, n3 = [this].concat(i3); return "name"; } get yamlTypeName() { - const e3 = D[this.singletonType.expressionType]; - return e3 ? this.isCollection ? e3 + "Collection" : e3 : (w.errorWithStack(null, `yamlTypeName could not be created for type '${this.displayString}'`), null); + const e3 = k[this.singletonType.expressionType]; + return e3 ? this.isCollection ? e3 + "Collection" : e3 : (x.errorWithStack(null, `yamlTypeName could not be created for type '${this.displayString}'`), null); } _addPropertyFromModel(e3, t3) { if (!e3) return; - const i3 = new v.PropertyDefinition(this.parentFlow, e3, t3); + const i3 = new b.PropertyDefinition(this.parentFlow, e3, t3); return this.properties[i3.name.toLocaleLowerCase()] = i3, this.expressionTextPropToName[i3.expressionText.toLocaleLowerCase()] = i3.name, i3; } hasProperties() { @@ -110333,7 +119343,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } hydratePropertyFromDataTypeDefViewModel(e3) { if (!e3) return; - const t3 = { id: e3.id, isCollection: !!e3.isCollection, name: e3.name || e3.id, allowableValuesRaw: a.default.isArray(e3.allowableValues) && e3.allowableValues.length ? e3.allowableValues : void 0, minItems: e3.minItems, maxItems: e3.maxItems, minLength: e3.minLength, maxLength: e3.maxLength, minValue: e3.minValue, minValueInclusive: e3.minValueInclusive, maxValue: e3.maxValue, maxValueInclusive: e3.maxValueInclusive, isRequired: e3.isRequired, type: e3.dataTypeId, readOnly: true === e3.readOnly, version: "1.0" }; + const t3 = { id: e3.id, isCollection: !!e3.isCollection, name: e3.name || e3.id, schemaTitle: e3.title || void 0, allowableValuesRaw: a.default.isArray(e3.allowableValues) && e3.allowableValues.length ? e3.allowableValues : void 0, minItems: e3.minItems, maxItems: e3.maxItems, minLength: e3.minLength, maxLength: e3.maxLength, minValue: e3.minValue, minValueInclusive: e3.minValueInclusive, maxValue: e3.maxValue, maxValueInclusive: e3.maxValueInclusive, isRequired: e3.isRequired, type: e3.dataTypeId, properties: e3.propertiesMap, readOnly: true === e3.readOnly, patchable: true === e3.patchable, version: "1.0" }; return this._addPropertyFromModel(t3, e3.description); } canConvertLitToExpression(e3) { @@ -110342,6 +119352,12 @@ ${e3.stack}`, n3 = [this].concat(i3); convertLitToExpression(e3, t3, i3, n3) { return t3 || ""; } + convertCollectionLiteralToExpression(e3, t3) { + return null; + } + getCollectionItemLiteralText(e3) { + return e3.getEmbeddableExpressionText(); + } convertLitToCustomJsonStr(e3, t3, i3, n3) { if (this.listManager) return `[[${t3 || i3 || ""}]]`; if (this.canConvertLitToExpression(e3)) { @@ -110355,49 +119371,49 @@ ${e3.stack}`, n3 = [this].concat(i3); destroyInstance(e3) { } getAvailableExpressionBuilders(e3, t3, i3) { - return f.default.getAvailableBuilderDefinitions(this, e3, t3, i3); + return y.default.getAvailableBuilderDefinitions(this, e3, t3, i3); } getConversionText() { - const e3 = this.singletonType.getDefaultImplicitConversionFunc(I.globalTypes.notSet); + const e3 = this.singletonType.getDefaultImplicitConversionFunc(C.globalTypes.notSet); return e3 ? e3.text : ""; } getDefaultImplicitConversionFunc(e3) { if (!e3) return null; this._defaultImplicitTypeCastFuncs || (function(e4) { e4._defaultImplicitTypeCastFuncs = {}; - const t3 = S.expressionDataService.getFunctionsForCategory(S.expressionDataService.expressionFuncOpCategories.cast); + const t3 = N.expressionDataService.getFunctionsForCategory(N.expressionDataService.expressionFuncOpCategories.cast); for (let i3 = 0; i3 < t3.length; i3++) { let n3 = false; for (let r3 = 0; r3 < t3[i3].overloads.length; r3++) { const o2 = t3[i3].overloads[r3]; if (o2 && o2.operands && 1 === o2.operands.length && !o2.disallowAsDefaultCast) { - if (!n3 && !o2.returnType.isMatch(e4, N.settings.exact)) break; + if (!n3 && !o2.returnType.isMatch(e4, O.settings.exact)) break; n3 = true, e4._defaultImplicitTypeCastFuncs[o2.operands[0].type.expressionType] = t3[i3]; } } } })(this); - return this._defaultImplicitTypeCastFuncs[e3.dataTypeBase] || this._defaultImplicitTypeCastFuncs[e3.expressionType] || (e3.isSupportedByAny ? this._defaultImplicitTypeCastFuncs[e3.isCollection ? I.globalTypes.any.collectionType.expressionType : I.globalTypes.any.expressionType] : null); + return this._defaultImplicitTypeCastFuncs[e3.dataTypeBase] || this._defaultImplicitTypeCastFuncs[e3.expressionType] || (e3.isSupportedByAny ? this._defaultImplicitTypeCastFuncs[e3.isCollection ? C.globalTypes.any.collectionType.expressionType : C.globalTypes.any.expressionType] : null); } getDisplayStrForExpressionDataType(e3) { if (!a.default.isString(e3) || 0 === e3.length) return; let t3 = false; - e3.endsWith(T.default.exprDataTypeSuffixCollection) && (t3 = true, e3 = e3.substring(0, e3.length - T.default.exprDataTypeSuffixCollection.length)); - const i3 = a.default.find(R.type, function(t4) { + e3.endsWith(S.default.exprDataTypeSuffixCollection) && (t3 = true, e3 = e3.substring(0, e3.length - S.default.exprDataTypeSuffixCollection.length)); + const i3 = a.default.find(L.type, function(t4) { return t4.support && t4.support.expressionDataType === e3; }); if (!i3) return; - const n3 = y.default[i3.name]; - return a.default.isString(n3) && 0 !== n3.length ? t3 ? (0, o.sprintf)(E.expression.collection, n3) : n3 : void 0; + const n3 = A.default[i3.name]; + return a.default.isString(n3) && 0 !== n3.length ? t3 ? (0, o.sprintf)(F.expression.collection, n3) : n3 : void 0; } getIconGux() { - return this.getArchIcon().gux; + return this.getArchIcon(); } _getCustomDataTypeDefinition(e3, t3) { if (!this.isCustomType) return; if (e3[this.dataType]) return; - const i3 = g.default.createEmptyDataTypeDef(); - i3.id = this.dataType, i3.dataTypeId = this.expressionType, i3.name = (0, C.isCustomJsonExpressionType)(this) ? this.customTypeName : void 0, e3[this.dataType] = i3; + const i3 = f.default.createEmptyDataTypeDef(); + i3.id = this.dataType, i3.dataTypeId = this.expressionType, i3.name = (0, E.isCustomJsonExpressionType)(this) ? this.customTypeName : void 0, e3[this.dataType] = i3; const n3 = this.properties; n3 && Object.entries(n3).forEach(([n4, r3]) => { var o2; @@ -110408,8 +119424,8 @@ ${e3.stack}`, n3 = [this].concat(i3); getCustomDataTypeDefinition() { var e3; if (this.isCollection) { - const e4 = g.default.createEmptyDataTypeDef(); - return e4.id = this.dataType, e4.dataTypeId = this.expressionType, e4.name = (0, C.isCustomJsonExpressionType)(this) ? this.customTypeName : void 0, e4; + const e4 = f.default.createEmptyDataTypeDef(); + return e4.id = this.dataType, e4.dataTypeId = this.expressionType, e4.name = (0, E.isCustomJsonExpressionType)(this) ? this.customTypeName : void 0, e4; } if (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.definitions) { const e4 = this.parentFlow.definitions.getCustomDataTypeDefinition(this.dataType); @@ -110431,145 +119447,145 @@ ${e3.stack}`, n3 = [this].concat(i3); getArchIcon() { switch (this.dataType) { case "btn": - return h.default.button; + return m.default.button; case "mbx": - return h.default.mailbox; + return m.default.mailbox; case "rcd": - return h.default.recording; + return m.default.recording; case "vsn": - return h.default.record; - case O.expressionTypeNames.any: - return h.default.any; - case O.expressionTypeNames.assignedCustomerIntent: - return h.default.assignedCustomerIntent; - case O.expressionTypeNames.assignedCustomerSegment: - return h.default.assignedCustomerSegment; - case O.expressionTypeNames.customerIntent: - return h.default.customerIntent; - case O.expressionTypeNames.customerSegment: - return h.default.customerSegment; - case O.expressionTypeNames.audio: - return h.default.prompt; - case O.expressionTypeNames.boolean: - return h.default.boolean; - case O.expressionTypeNames.campaign: - return h.default.contact; - case O.expressionTypeNames.card: - return h.default.card; - case O.expressionTypeNames.carousel: - return h.default.carousel; - case O.expressionTypeNames.choice: - return h.default.button; - case O.expressionTypeNames.chooser: - return h.default.complex; - case O.expressionTypeNames.communication: - return h.default.communication; - case O.expressionTypeNames.contact: - case O.expressionTypeNames.contactList: - return h.default.contact; - case O.expressionTypeNames.currency: - return h.default.currency; - case O.expressionTypeNames.date: - return h.default.date; - case O.expressionTypeNames.dateTime: - return h.default.datetime; - case O.expressionTypeNames.decimal: - return h.default.decimal; - case O.expressionTypeNames.division: - return h.default.division; - case O.expressionTypeNames.digitalAudio: - return h.default.digitalAudio; - case O.expressionTypeNames.duration: - return h.default.duration; - case O.expressionTypeNames.emergencyGroup: - return h.default.emergencyGroup; - case O.expressionTypeNames.file: - return h.default.file; - case O.expressionTypeNames.formInput: - return h.default.string; - case O.expressionTypeNames.grammar: - return h.default.grammar; - case O.expressionTypeNames.group: - return h.default.group; - case O.expressionTypeNames.image: - return h.default.image; - case O.expressionTypeNames.integer: - return h.default.integer; - case O.expressionTypeNames.json: - return h.default.json; - case O.expressionTypeNames.knowledgeBaseDocument: - return h.default.knowledgeBaseDocument; - case O.expressionTypeNames.languageSkill: - return h.default.languageSkill; - case O.expressionTypeNames.lineItem: - return h.default.lineItem; - case O.expressionTypeNames.listPicker: - return h.default.listPicker; - case O.expressionTypeNames.listPickerItem: - return h.default.listPickerItem; - case O.expressionTypeNames.listPickerSection: - return h.default.listPickerSection; - case O.expressionTypeNames.phoneNumber: - return h.default.phone; - case O.expressionTypeNames.prompt: - return h.default.prompt; - case O.expressionTypeNames.queue: - return h.default.queue; - case O.expressionTypeNames.quickReplies: - return h.default.button; - case O.expressionTypeNames.responseAsset: - return h.default.responseAsset; - case O.expressionTypeNames.schedule: - return h.default.schedule; - case O.expressionTypeNames.scheduleGroup: - return h.default.scheduleGroup; - case O.expressionTypeNames.shippingOption: - return h.default.shippingOption; - case O.expressionTypeNames.skill: - return h.default.skill; - case O.expressionTypeNames.string: - return h.default.string; - case O.expressionTypeNames.surveyAnswerOption: - case O.expressionTypeNames.surveyForm: - case O.expressionTypeNames.surveyQuestion: - case O.expressionTypeNames.surveyQuestionGroup: - return h.default.complex; - case O.expressionTypeNames.time: - return h.default.time; - case O.expressionTypeNames.timePicker: - return h.default.timePicker; - case O.expressionTypeNames.timeslot: - return h.default.datetime; - case O.expressionTypeNames.userQueue: - return h.default.user; - case O.expressionTypeNames.utilizationLabel: - return h.default.utilizationLabel; - case O.expressionTypeNames.video: - return h.default.video; - case O.expressionTypeNames.wheelPicker: - case O.expressionTypeNames.wheelPickerItem: - return h.default.enum; - case O.expressionTypeNames.wrapupCode: - return h.default.wrapupCode; - } - if (this.isEnumContainer) return h.default.enumContainer; - if (this.isEnum) return h.default.enum; - if (this.dataType.contains("journey")) return h.default.journey; - if (this.dataType.substring(0, 3) === T.default.exprDataTypePrefixComplex) return h.default.complex; - if (this.dataType.substring(0, 3) === T.default.exprDataTypePrefixJson) { + return m.default.record; + case I.expressionTypeNames.any: + return m.default.any; + case I.expressionTypeNames.assignedCustomerIntent: + return m.default.assignedCustomerIntent; + case I.expressionTypeNames.assignedCustomerSegment: + return m.default.assignedCustomerSegment; + case I.expressionTypeNames.customerIntent: + return m.default.customerIntent; + case I.expressionTypeNames.customerSegment: + return m.default.customerSegment; + case I.expressionTypeNames.audio: + return m.default.prompt; + case I.expressionTypeNames.boolean: + return m.default.boolean; + case I.expressionTypeNames.campaign: + return m.default.contact; + case I.expressionTypeNames.card: + return m.default.card; + case I.expressionTypeNames.carousel: + return m.default.carousel; + case I.expressionTypeNames.choice: + return m.default.button; + case I.expressionTypeNames.chooser: + return m.default.complex; + case I.expressionTypeNames.communication: + return m.default.communication; + case I.expressionTypeNames.contact: + case I.expressionTypeNames.contactList: + return m.default.contact; + case I.expressionTypeNames.currency: + return m.default.currency; + case I.expressionTypeNames.date: + return m.default.date; + case I.expressionTypeNames.dateTime: + return m.default.datetime; + case I.expressionTypeNames.decimal: + return m.default.decimal; + case I.expressionTypeNames.division: + return m.default.division; + case I.expressionTypeNames.digitalAudio: + return m.default.digitalAudio; + case I.expressionTypeNames.duration: + return m.default.duration; + case I.expressionTypeNames.emergencyGroup: + return m.default.emergencyGroup; + case I.expressionTypeNames.file: + return m.default.file; + case I.expressionTypeNames.formInput: + return m.default.string; + case I.expressionTypeNames.grammar: + return m.default.grammar; + case I.expressionTypeNames.group: + return m.default.group; + case I.expressionTypeNames.image: + return m.default.image; + case I.expressionTypeNames.integer: + return m.default.integer; + case I.expressionTypeNames.json: + return m.default.json; + case I.expressionTypeNames.knowledgeBaseDocument: + return m.default.knowledgeBaseDocument; + case I.expressionTypeNames.languageSkill: + return m.default.languageSkill; + case I.expressionTypeNames.lineItem: + return m.default.lineItem; + case I.expressionTypeNames.listPicker: + return m.default.listPicker; + case I.expressionTypeNames.listPickerItem: + return m.default.listPickerItem; + case I.expressionTypeNames.listPickerSection: + return m.default.listPickerSection; + case I.expressionTypeNames.phoneNumber: + return m.default.phone; + case I.expressionTypeNames.prompt: + return m.default.prompt; + case I.expressionTypeNames.queue: + return m.default.queue; + case I.expressionTypeNames.quickReplies: + return m.default.button; + case I.expressionTypeNames.responseAsset: + return m.default.responseAsset; + case I.expressionTypeNames.schedule: + return m.default.schedule; + case I.expressionTypeNames.scheduleGroup: + return m.default.scheduleGroup; + case I.expressionTypeNames.shippingOption: + return m.default.shippingOption; + case I.expressionTypeNames.skill: + return m.default.skill; + case I.expressionTypeNames.string: + return m.default.string; + case I.expressionTypeNames.surveyAnswerOption: + case I.expressionTypeNames.surveyForm: + case I.expressionTypeNames.surveyQuestion: + case I.expressionTypeNames.surveyQuestionGroup: + return m.default.complex; + case I.expressionTypeNames.time: + return m.default.time; + case I.expressionTypeNames.timePicker: + return m.default.timePicker; + case I.expressionTypeNames.timeslot: + return m.default.datetime; + case I.expressionTypeNames.userQueue: + return m.default.user; + case I.expressionTypeNames.utilizationLabel: + return m.default.utilizationLabel; + case I.expressionTypeNames.video: + return m.default.video; + case I.expressionTypeNames.wheelPicker: + case I.expressionTypeNames.wheelPickerItem: + return m.default.enum; + case I.expressionTypeNames.wrapupCode: + return m.default.wrapupCode; + } + if (this.isEnumContainer) return m.default.enumContainer; + if (this.isEnum) return m.default.enum; + if (this.dataType.contains("journey")) return m.default.journey; + if (this.dataType.substring(0, 3) === S.default.exprDataTypePrefixComplex) return m.default.complex; + if (this.dataType.substring(0, 3) === S.default.exprDataTypePrefixJson) { for (const e3 in this._customJsonTypeIcon) if (this.dataType.contains(e3)) return this._customJsonTypeIcon[e3]; - return h.default.json; + return m.default.json; } - return s.warn(`no icon set for dataType:${this.dataType}`), h.default.complex; + return s.warn(`no icon set for dataType:${this.dataType}`), m.default.complex; } getPropertyDefinition(e3, t3) { if (!e3) return; - t3 && (e3 = A.default.getUnquotedExpressionStringLiteralContents(e3)); + t3 && (e3 = v.default.getUnquotedExpressionStringLiteralContents(e3)); const i3 = e3.toLowerCase(); return this.properties[i3] || this.properties[this.expressionTextPropToName[i3]]; } getYamlObjectForLiteralSingleton(e3, t3, i3, n3) { - if (this.isCollection && w.errorWithStack(null, "Tried to access getYamlObjectForLiteralSingleton on a collection type"), this.listManager || this.allowLiteralSelect) return a.default.tryWrapObject(e3.text, this.yamlLiteralWrapperString); + if (this.isCollection && x.errorWithStack(null, "Tried to access getYamlObjectForLiteralSingleton on a collection type"), this.listManager || this.allowLiteralSelect) return a.default.tryWrapObject(e3.text, this.yamlLiteralWrapperString); if (this.propertiesAllowAssignment) { const r3 = {}; return a.default.each(this.singletonProperties, (o2) => { @@ -110579,11 +119595,33 @@ ${e3.stack}`, n3 = [this].concat(i3); } return e3.text; } + applyLiteralFromModel(e3, t3, i3, n3) { + this.isCollection || null != t3 && (this.propertiesAllowAssignment && (0, T.isNonArrayObject)(t3) ? this.configureLiteralSingletonFromModel(e3, t3, i3, n3) : this.listManager || this.allowLiteralSelect ? "string" == typeof t3 ? e3.setAsLiteral(t3) : "number" == typeof t3 || "boolean" == typeof t3 ? e3.setAsLiteral(String(t3)) : null == n3 || n3.warn((0, o.sprintf)(l.configureFromModel.literalExpectedStringNumberOrBooleanForListSelect, Array.isArray(t3) ? "array" : typeof t3)) : "string" != typeof t3 ? "boolean" != typeof t3 && "number" != typeof t3 ? null == n3 || n3.warn((0, o.sprintf)(l.configureFromModel.literalExpectedStringNumberOrBoolean, Array.isArray(t3) ? "array" : typeof t3)) : e3.setAsLiteral(String(t3)) : e3.setAsLiteral(t3)); + } + enforceValueLimit(e3, t3, i3) { + return (0, R.enforceValueLimit)(e3, t3, i3); + } + configureLiteralSingletonFromModel(e3, t3, i3, n3) { + const r3 = /* @__PURE__ */ new Set(); + if (a.default.each(this.singletonProperties, (o2) => { + const a2 = o2.name; + if (r3.add(a2), !(a2 in t3)) return; + const s2 = e3.getProperty(a2); + if (!(0, M.hasConfigureFromModel)(s2)) return; + const l2 = t3[a2]; + n3 ? (0, P.withModelContext)(n3, a2, () => { + s2.configureFromModel(l2, i3, n3); + }) : s2.configureFromModel(l2, i3, n3); + }), n3) { + const e4 = this.dataType || this.expressionType || "unknown type"; + for (const i4 of Object.keys(t3)) r3.has(i4) || (0, D.reportAdditionalProperty)(i4, e4, n3); + } + } isBidirectionalMatch(e3, t3) { - return N.isBidirectionalMatch(this, e3, t3); + return O.isBidirectionalMatch(this, e3, t3); } isMatch(e3, t3) { - return N.isMatch(this, e3, t3 || (this.isAny ? N.settings.typeOfOrAny : this.isAnyComplex ? N.settings.anyComplex : N.settings.typeOf)); + return O.isMatch(this, e3, t3 || (this.isAny ? O.settings.typeOfOrAny : this.isAnyComplex ? O.settings.anyComplex : O.settings.typeOf)); } searchExpression(e3, t3) { e3.checkText(t3, t3.text, t3.label); @@ -110595,8 +119633,8 @@ ${e3.stack}`, n3 = [this].concat(i3); const n3 = this.getListManagerForExpression(t3); if (!n3) return true; let r3 = n3.getItem(t3.val); - if (r3 || (r3 = n3.getItemFromFullManager(t3.val)), t3.type.listManager && void 0 === i3 && (i3 = true), !r3 || r3.state && r3.state === u.ConfigurationListItemStatuses.deleted) { - let n4 = r3 && r3.state === u.ConfigurationListItemStatuses.deleted ? E.expression.literalDropDownValueIsDeleted : E.expression.literalDropDownValueDoesNotExist; + if (r3 || (r3 = n3.getItemFromFullManager(t3.val)), t3.type.listManager && void 0 === i3 && (i3 = true), !r3 || r3.state && r3.state === c.ConfigurationListItemStatuses.deleted) { + let n4 = r3 && r3.state === c.ConfigurationListItemStatuses.deleted ? F.expression.literalDropDownValueIsDeleted : F.expression.literalDropDownValueDoesNotExist; return n4 = (0, o.sprintf)(n4, t3.type.displayString, t3.text), e3.addError(t3, n4, void 0, true), t3.setLiteralError(true), i3 && t3.setParseError(n4), false; } return t3.text !== r3.label && (t3.text = r3.label), t3.parentFlow && !t3.parentFlow.isReadOnly && t3.config && t3.config.lit && t3.type.additionLiteralProperties && a.default.each(t3.type.additionLiteralProperties, function(e4) { @@ -110628,14 +119666,17 @@ ${e3.stack}`, n3 = [this].concat(i3); getLiteralValues(e3) { } setPropertiesAsLiteral(e3, t3) { - w.errorWithStack(null, `setPropertiesAsLiteral should not be called for type '${this.displayString}'`); + x.errorWithStack(null, `setPropertiesAsLiteral should not be called for type '${this.displayString}'`); } copyExpressionValue(e3, t3) { } addYamlExportTypeInfo(e3) { } + parseLiteral(e3, t3) { + return {}; + } } - t2.ExpressionType = P; + t2.ExpressionType = V; }, 94808: function(e2, t2) { "use strict"; var i2 = this && this.__read || function(e3, t3) { @@ -110742,6 +119783,21 @@ ${e3.stack}`, n3 = [this].concat(i3); }, set: function(e3) { this.name = e3; } } }), e2.exports = n2; + }, 94930: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.parseFlowYamlAndSubstitute = function(e3, t3) { + let i3; + try { + i3 = (0, a.loadSingleYamlDocument)(e3, o.flowYamlJsYamlSchema, r2.architectYamlMaxDepth); + } catch (e4) { + const t4 = e4 instanceof Error ? e4.message : String(e4); + throw new Error(`Unable to parse flow YAML: ${t4}`); + } + if (!i3 || "object" != typeof i3 || Array.isArray(i3)) throw new Error("Flow YAML must parse to a non-array JSON object."); + const s = i3; + return (0, n2.applyFlowYamlSubstitutions)(s, t3); + }; + const n2 = i2(71765), r2 = i2(79608), o = i2(79924), a = i2(96237); }, 94975: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.isArrayLike = void 0, t2.isArrayLike = function(e3) { @@ -110751,8 +119807,8 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = r2.__importDefault(i2(55015)), a = r2.__importStar(i2(74731)), s = r2.__importStar(i2(75800)), l = i2(80295), u = i2(80295), d = i2(84050); - class c extends d.NameIdDescriptionModel { + const r2 = i2(31635), o = r2.__importDefault(i2(55015)), a = r2.__importStar(i2(74731)), s = r2.__importStar(i2(75800)), l = i2(80295), u = i2(80295), c = i2(84050); + class d extends c.NameIdDescriptionModel { constructor(e3) { super(e3), (0, u.makeUnenumerable)(this, "_debugIdType"), (0, u.makeUnenumerable)(this, "_flowTypes"); } @@ -110768,7 +119824,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }); } } - t2.default = c, r2.__decorate([(0, l.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== s && s.IAvailabilitySupportMap) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], c.prototype, "flowTypes", null); + t2.default = d, r2.__decorate([(0, l.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== s && s.IAvailabilitySupportMap) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], d.prototype, "flowTypes", null); }, 95085: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -110835,10 +119891,10 @@ ${e3.stack}`, n3 = [this].concat(i3); function u(e3) { return void 0 === e3; } - function d(e3) { + function c(e3) { return "number" == typeof e3 || "[object Number]" === Object.prototype.toString.call(e3); } - function c(e3) { + function d(e3) { return e3 instanceof Date || "[object Date]" === Object.prototype.toString.call(e3); } function p(e3, t4) { @@ -110887,10 +119943,10 @@ ${e3.stack}`, n3 = [this].concat(i3); function N(e3) { return e3 instanceof A || null != e3 && null != e3._isAMomentObject; } - function O(e3) { + function v(e3) { false === r2.suppressDeprecationWarnings && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + e3); } - function I(e3, t4) { + function O(e3, t4) { var i3 = true; return _(function() { if (null != r2.deprecationHandler && r2.deprecationHandler(null, e3), i3) { @@ -110902,28 +119958,28 @@ ${e3.stack}`, n3 = [this].concat(i3); } else n3 = arguments[o2]; l2.push(n3); } - O(e3 + "\nArguments: " + Array.prototype.slice.call(l2).join("") + "\n" + new Error().stack), i3 = false; + v(e3 + "\nArguments: " + Array.prototype.slice.call(l2).join("") + "\n" + new Error().stack), i3 = false; } return t4.apply(this, arguments); }, t4); } - var v, C = {}; + var I, C = {}; function b(e3, t4) { - null != r2.deprecationHandler && r2.deprecationHandler(e3, t4), C[e3] || (O(t4), C[e3] = true); + null != r2.deprecationHandler && r2.deprecationHandler(e3, t4), C[e3] || (v(t4), C[e3] = true); } function E(e3) { return "undefined" != typeof Function && e3 instanceof Function || "[object Function]" === Object.prototype.toString.call(e3); } - function R(e3, t4) { + function w(e3, t4) { var i3, n3 = _({}, e3); for (i3 in t4) s(t4, i3) && (a(e3[i3]) && a(t4[i3]) ? (n3[i3] = {}, _(n3[i3], e3[i3]), _(n3[i3], t4[i3])) : null != t4[i3] ? n3[i3] = t4[i3] : delete n3[i3]); for (i3 in e3) s(e3, i3) && !s(t4, i3) && a(e3[i3]) && (n3[i3] = _({}, n3[i3])); return n3; } - function w(e3) { + function R(e3) { null != e3 && this.set(e3); } - r2.suppressDeprecationWarnings = false, r2.deprecationHandler = null, v = Object.keys ? Object.keys : function(e3) { + r2.suppressDeprecationWarnings = false, r2.deprecationHandler = null, I = Object.keys ? Object.keys : function(e3) { var t4, i3 = []; for (t4 in e3) s(e3, t4) && i3.push(t4); return i3; @@ -110988,22 +120044,22 @@ ${e3.stack}`, n3 = [this].concat(i3); function J(e3) { return e3 < 0 ? Math.ceil(e3) || 0 : Math.floor(e3); } - function z(e3) { + function $(e3) { var t4 = +e3, i3 = 0; return 0 !== t4 && isFinite(t4) && (i3 = J(t4)), i3; } - function K(e3, t4) { + function z(e3, t4) { return function(i3) { - return null != i3 ? (Q(this, e3, i3), r2.updateOffset(this, t4), this) : $(this, e3); + return null != i3 ? (Q(this, e3, i3), r2.updateOffset(this, t4), this) : K(this, e3); }; } - function $(e3, t4) { + function K(e3, t4) { return e3.isValid() ? e3._d["get" + (e3._isUTC ? "UTC" : "") + t4]() : NaN; } function Q(e3, t4, i3) { - e3.isValid() && !isNaN(i3) && ("FullYear" === t4 && H(e3.year()) && 1 === e3.month() && 29 === e3.date() ? (i3 = z(i3), e3._d["set" + (e3._isUTC ? "UTC" : "") + t4](i3, e3.month(), Pe(i3, e3.month()))) : e3._d["set" + (e3._isUTC ? "UTC" : "") + t4](i3)); + e3.isValid() && !isNaN(i3) && ("FullYear" === t4 && H(e3.year()) && 1 === e3.month() && 29 === e3.date() ? (i3 = $(i3), e3._d["set" + (e3._isUTC ? "UTC" : "") + t4](i3, e3.month(), Pe(i3, e3.month()))) : e3._d["set" + (e3._isUTC ? "UTC" : "") + t4](i3)); } - var X, Z = /\d/, ee = /\d\d/, te = /\d{3}/, ie = /\d{4}/, ne = /[+-]?\d{6}/, re = /\d\d?/, oe = /\d\d\d\d?/, ae = /\d\d\d\d\d\d?/, se = /\d{1,3}/, le = /\d{1,4}/, ue = /[+-]?\d{1,6}/, de = /\d+/, ce = /[+-]?\d+/, pe = /Z|[+-]\d\d:?\d\d/gi, _e = /Z|[+-]\d\d(?::?\d\d)?/gi, he = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i; + var X, Z = /\d/, ee = /\d\d/, te = /\d{3}/, ie = /\d{4}/, ne = /[+-]?\d{6}/, re = /\d\d?/, oe = /\d\d\d\d?/, ae = /\d\d\d\d\d\d?/, se = /\d{1,3}/, le = /\d{1,4}/, ue = /[+-]?\d{1,6}/, ce = /\d+/, de = /[+-]?\d+/, pe = /Z|[+-]\d\d:?\d\d/gi, _e = /Z|[+-]\d\d(?::?\d\d)?/gi, he = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i; function me(e3, t4, i3) { X[e3] = E(t4) ? t4 : function(e4, n3) { return e4 && i3 ? i3 : t4; @@ -111021,8 +120077,8 @@ ${e3.stack}`, n3 = [this].concat(i3); var Te = {}; function ye(e3, t4) { var i3, n3, r3 = t4; - for ("string" == typeof e3 && (e3 = [e3]), d(t4) && (r3 = function(e4, i4) { - i4[t4] = z(e4); + for ("string" == typeof e3 && (e3 = [e3]), c(t4) && (r3 = function(e4, i4) { + i4[t4] = $(e4); }), n3 = e3.length, i3 = 0; i3 < n3; i3++) Te[e3[i3]] = r3; } function Se(e3, t4) { @@ -111033,7 +120089,7 @@ ${e3.stack}`, n3 = [this].concat(i3); function Ae(e3, t4, i3) { null != t4 && s(Te, e3) && Te[e3](t4, i3._a, i3, e3); } - var Ne, Oe = 0, Ie = 1, ve = 2, Ce = 3, be = 4, Ee = 5, Re = 6, we = 7, De = 8; + var Ne, ve = 0, Oe = 1, Ie = 2, Ce = 3, be = 4, Ee = 5, we = 6, Re = 7, De = 8; function Pe(e3, t4) { if (isNaN(e3) || isNaN(t4)) return NaN; var i3, n3 = (t4 % (i3 = 12) + i3) % i3; @@ -111054,10 +120110,10 @@ ${e3.stack}`, n3 = [this].concat(i3); }), me("MMMM", function(e3, t4) { return t4.monthsRegex(e3); }), ye(["M", "MM"], function(e3, t4) { - t4[Ie] = z(e3) - 1; + t4[Oe] = $(e3) - 1; }), ye(["MMM", "MMMM"], function(e3, t4, i3, n3) { var r3 = i3._locale.monthsParse(e3, n3, i3._strict); - null != r3 ? t4[Ie] = r3 : m(i3).invalidMonth = e3; + null != r3 ? t4[Oe] = r3 : m(i3).invalidMonth = e3; }); var Me = "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), Fe = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Le = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, xe = he, ke = he; function Ve(e3, t4, i3) { @@ -111069,13 +120125,13 @@ ${e3.stack}`, n3 = [this].concat(i3); var i3; if (!e3.isValid()) return e3; if ("string" == typeof t4) { - if (/^\d+$/.test(t4)) t4 = z(t4); - else if (!d(t4 = e3.localeData().monthsParse(t4))) return e3; + if (/^\d+$/.test(t4)) t4 = $(t4); + else if (!c(t4 = e3.localeData().monthsParse(t4))) return e3; } return i3 = Math.min(e3.date(), Pe(e3.year(), t4)), e3._d["set" + (e3._isUTC ? "UTC" : "") + "Month"](t4, i3), e3; } function Be(e3) { - return null != e3 ? (Ue(this, e3), r2.updateOffset(this, true), this) : $(this, "Month"); + return null != e3 ? (Ue(this, e3), r2.updateOffset(this, true), this) : K(this, "Month"); } function Ge() { function e3(e4, t5) { @@ -111095,16 +120151,16 @@ ${e3.stack}`, n3 = [this].concat(i3); return e3 <= 9999 ? D(e3, 4) : "+" + e3; }), x(0, ["YY", 2], 0, function() { return this.year() % 100; - }), x(0, ["YYYY", 4], 0, "year"), x(0, ["YYYYY", 5], 0, "year"), x(0, ["YYYYYY", 6, true], 0, "year"), G("year", "y"), Y("year", 1), me("Y", ce), me("YY", re, ee), me("YYYY", le, ie), me("YYYYY", ue, ne), me("YYYYYY", ue, ne), ye(["YYYYY", "YYYYYY"], Oe), ye("YYYY", function(e3, t4) { - t4[Oe] = 2 === e3.length ? r2.parseTwoDigitYear(e3) : z(e3); + }), x(0, ["YYYY", 4], 0, "year"), x(0, ["YYYYY", 5], 0, "year"), x(0, ["YYYYYY", 6, true], 0, "year"), G("year", "y"), Y("year", 1), me("Y", de), me("YY", re, ee), me("YYYY", le, ie), me("YYYYY", ue, ne), me("YYYYYY", ue, ne), ye(["YYYYY", "YYYYYY"], ve), ye("YYYY", function(e3, t4) { + t4[ve] = 2 === e3.length ? r2.parseTwoDigitYear(e3) : $(e3); }), ye("YY", function(e3, t4) { - t4[Oe] = r2.parseTwoDigitYear(e3); + t4[ve] = r2.parseTwoDigitYear(e3); }), ye("Y", function(e3, t4) { - t4[Oe] = parseInt(e3, 10); + t4[ve] = parseInt(e3, 10); }), r2.parseTwoDigitYear = function(e3) { - return z(e3) + (z(e3) > 68 ? 1900 : 2e3); + return $(e3) + ($(e3) > 68 ? 1900 : 2e3); }; - var We = K("FullYear", true); + var We = z("FullYear", true); function qe(e3, t4, i3, n3, r3, o2, a2) { var s2; return e3 < 100 && e3 >= 0 ? (s2 = new Date(e3 + 400, t4, i3, n3, r3, o2, a2), isFinite(s2.getFullYear()) && s2.setFullYear(e3)) : s2 = new Date(e3, t4, i3, n3, r3, o2, a2), s2; @@ -111121,18 +120177,18 @@ ${e3.stack}`, n3 = [this].concat(i3); var o2, a2, s2 = 1 + 7 * (t4 - 1) + (7 + i3 - n3) % 7 + He(e3, n3, r3); return s2 <= 0 ? a2 = je(o2 = e3 - 1) + s2 : s2 > je(e3) ? (o2 = e3 + 1, a2 = s2 - je(e3)) : (o2 = e3, a2 = s2), { year: o2, dayOfYear: a2 }; } - function ze(e3, t4, i3) { + function $e(e3, t4, i3) { var n3, r3, o2 = He(e3.year(), t4, i3), a2 = Math.floor((e3.dayOfYear() - o2 - 1) / 7) + 1; - return a2 < 1 ? n3 = a2 + Ke(r3 = e3.year() - 1, t4, i3) : a2 > Ke(e3.year(), t4, i3) ? (n3 = a2 - Ke(e3.year(), t4, i3), r3 = e3.year() + 1) : (r3 = e3.year(), n3 = a2), { week: n3, year: r3 }; + return a2 < 1 ? n3 = a2 + ze(r3 = e3.year() - 1, t4, i3) : a2 > ze(e3.year(), t4, i3) ? (n3 = a2 - ze(e3.year(), t4, i3), r3 = e3.year() + 1) : (r3 = e3.year(), n3 = a2), { week: n3, year: r3 }; } - function Ke(e3, t4, i3) { + function ze(e3, t4, i3) { var n3 = He(e3, t4, i3), r3 = He(e3 + 1, t4, i3); return (je(e3) - n3 + r3) / 7; } x("w", ["ww", 2], "wo", "week"), x("W", ["WW", 2], "Wo", "isoWeek"), G("week", "w"), G("isoWeek", "W"), Y("week", 5), Y("isoWeek", 5), me("w", re), me("ww", re, ee), me("W", re), me("WW", re, ee), Se(["w", "ww", "W", "WW"], function(e3, t4, i3, n3) { - t4[n3.substr(0, 1)] = z(e3); + t4[n3.substr(0, 1)] = $(e3); }); - function $e(e3, t4) { + function Ke(e3, t4) { return e3.slice(t4, 7).concat(e3.slice(0, t4)); } x("d", 0, "do", "day"), x("dd", 0, 0, function(e3) { @@ -111151,7 +120207,7 @@ ${e3.stack}`, n3 = [this].concat(i3); var r3 = i3._locale.weekdaysParse(e3, n3, i3._strict); null != r3 ? t4.d = r3 : m(i3).invalidWeekday = e3; }), Se(["d", "e", "E"], function(e3, t4, i3, n3) { - t4[n3] = z(e3); + t4[n3] = $(e3); }); var Qe = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Xe = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Ze = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), et = he, tt = he, it = he; function nt(e3, t4, i3) { @@ -111189,27 +120245,27 @@ ${e3.stack}`, n3 = [this].concat(i3); }), x("Hmmss", 0, 0, function() { return "" + this.hours() + D(this.minutes(), 2) + D(this.seconds(), 2); }), at("a", true), at("A", false), G("hour", "h"), Y("hour", 13), me("a", st), me("A", st), me("H", re), me("h", re), me("k", re), me("HH", re, ee), me("hh", re, ee), me("kk", re, ee), me("hmm", oe), me("hmmss", ae), me("Hmm", oe), me("Hmmss", ae), ye(["H", "HH"], Ce), ye(["k", "kk"], function(e3, t4, i3) { - var n3 = z(e3); + var n3 = $(e3); t4[Ce] = 24 === n3 ? 0 : n3; }), ye(["a", "A"], function(e3, t4, i3) { i3._isPm = i3._locale.isPM(e3), i3._meridiem = e3; }), ye(["h", "hh"], function(e3, t4, i3) { - t4[Ce] = z(e3), m(i3).bigHour = true; + t4[Ce] = $(e3), m(i3).bigHour = true; }), ye("hmm", function(e3, t4, i3) { var n3 = e3.length - 2; - t4[Ce] = z(e3.substr(0, n3)), t4[be] = z(e3.substr(n3)), m(i3).bigHour = true; + t4[Ce] = $(e3.substr(0, n3)), t4[be] = $(e3.substr(n3)), m(i3).bigHour = true; }), ye("hmmss", function(e3, t4, i3) { var n3 = e3.length - 4, r3 = e3.length - 2; - t4[Ce] = z(e3.substr(0, n3)), t4[be] = z(e3.substr(n3, 2)), t4[Ee] = z(e3.substr(r3)), m(i3).bigHour = true; + t4[Ce] = $(e3.substr(0, n3)), t4[be] = $(e3.substr(n3, 2)), t4[Ee] = $(e3.substr(r3)), m(i3).bigHour = true; }), ye("Hmm", function(e3, t4, i3) { var n3 = e3.length - 2; - t4[Ce] = z(e3.substr(0, n3)), t4[be] = z(e3.substr(n3)); + t4[Ce] = $(e3.substr(0, n3)), t4[be] = $(e3.substr(n3)); }), ye("Hmmss", function(e3, t4, i3) { var n3 = e3.length - 4, r3 = e3.length - 2; - t4[Ce] = z(e3.substr(0, n3)), t4[be] = z(e3.substr(n3, 2)), t4[Ee] = z(e3.substr(r3)); + t4[Ce] = $(e3.substr(0, n3)), t4[be] = $(e3.substr(n3, 2)), t4[Ee] = $(e3.substr(r3)); }); - var lt = K("Hours", true); - var ut, dt = { calendar: { sameDay: "[Today at] LT", nextDay: "[Tomorrow at] LT", nextWeek: "dddd [at] LT", lastDay: "[Yesterday at] LT", lastWeek: "[Last] dddd [at] LT", sameElse: "L" }, longDateFormat: { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, invalidDate: "Invalid date", ordinal: "%d", dayOfMonthOrdinalParse: /\d{1,2}/, relativeTime: { future: "in %s", past: "%s ago", s: "a few seconds", ss: "%d seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", w: "a week", ww: "%d weeks", M: "a month", MM: "%d months", y: "a year", yy: "%d years" }, months: Me, monthsShort: Fe, week: { dow: 0, doy: 6 }, weekdays: Qe, weekdaysMin: Ze, weekdaysShort: Xe, meridiemParse: /[ap]\.?m?\.?/i }, ct = {}, pt = {}; + var lt = z("Hours", true); + var ut, ct = { calendar: { sameDay: "[Today at] LT", nextDay: "[Tomorrow at] LT", nextWeek: "dddd [at] LT", lastDay: "[Yesterday at] LT", lastWeek: "[Last] dddd [at] LT", sameElse: "L" }, longDateFormat: { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, invalidDate: "Invalid date", ordinal: "%d", dayOfMonthOrdinalParse: /\d{1,2}/, relativeTime: { future: "in %s", past: "%s ago", s: "a few seconds", ss: "%d seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", w: "a week", ww: "%d weeks", M: "a month", MM: "%d months", y: "a year", yy: "%d years" }, months: Me, monthsShort: Fe, week: { dow: 0, doy: 6 }, weekdays: Qe, weekdaysMin: Ze, weekdaysShort: Xe, meridiemParse: /[ap]\.?m?\.?/i }, dt = {}, pt = {}; function _t(e3, t4) { var i3, n3 = Math.min(e3.length, t4.length); for (i3 = 0; i3 < n3; i3 += 1) if (e3[i3] !== t4[i3]) return i3; @@ -111220,14 +120276,14 @@ ${e3.stack}`, n3 = [this].concat(i3); } function mt(t4) { var n3 = null; - if (void 0 === ct[t4] && e2 && e2.exports && (function(e3) { + if (void 0 === dt[t4] && e2 && e2.exports && (function(e3) { return null != e3.match("^[^/\\\\]*$"); })(t4)) try { n3 = ut._abbr, i2(35133)("./" + t4), gt(n3); } catch (e3) { - ct[t4] = null; + dt[t4] = null; } - return ct[t4]; + return dt[t4]; } function gt(e3, t4) { var i3; @@ -111235,18 +120291,18 @@ ${e3.stack}`, n3 = [this].concat(i3); } function ft(e3, t4) { if (null !== t4) { - var i3, n3 = dt; - if (t4.abbr = e3, null != ct[e3]) b("defineLocaleOverride", "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."), n3 = ct[e3]._config; - else if (null != t4.parentLocale) if (null != ct[t4.parentLocale]) n3 = ct[t4.parentLocale]._config; + var i3, n3 = ct; + if (t4.abbr = e3, null != dt[e3]) b("defineLocaleOverride", "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."), n3 = dt[e3]._config; + else if (null != t4.parentLocale) if (null != dt[t4.parentLocale]) n3 = dt[t4.parentLocale]._config; else { if (null == (i3 = mt(t4.parentLocale))) return pt[t4.parentLocale] || (pt[t4.parentLocale] = []), pt[t4.parentLocale].push({ name: e3, config: t4 }), null; n3 = i3._config; } - return ct[e3] = new w(R(n3, t4)), pt[e3] && pt[e3].forEach(function(e4) { + return dt[e3] = new R(w(n3, t4)), pt[e3] && pt[e3].forEach(function(e4) { ft(e4.name, e4.config); - }), gt(e3), ct[e3]; + }), gt(e3), dt[e3]; } - return delete ct[e3], null; + return delete dt[e3], null; } function Tt(e3) { var t4; @@ -111269,20 +120325,20 @@ ${e3.stack}`, n3 = [this].concat(i3); } function yt(e3) { var t4, i3 = e3._a; - return i3 && -2 === m(e3).overflow && (t4 = i3[Ie] < 0 || i3[Ie] > 11 ? Ie : i3[ve] < 1 || i3[ve] > Pe(i3[Oe], i3[Ie]) ? ve : i3[Ce] < 0 || i3[Ce] > 24 || 24 === i3[Ce] && (0 !== i3[be] || 0 !== i3[Ee] || 0 !== i3[Re]) ? Ce : i3[be] < 0 || i3[be] > 59 ? be : i3[Ee] < 0 || i3[Ee] > 59 ? Ee : i3[Re] < 0 || i3[Re] > 999 ? Re : -1, m(e3)._overflowDayOfYear && (t4 < Oe || t4 > ve) && (t4 = ve), m(e3)._overflowWeeks && -1 === t4 && (t4 = we), m(e3)._overflowWeekday && -1 === t4 && (t4 = De), m(e3).overflow = t4), e3; + return i3 && -2 === m(e3).overflow && (t4 = i3[Oe] < 0 || i3[Oe] > 11 ? Oe : i3[Ie] < 1 || i3[Ie] > Pe(i3[ve], i3[Oe]) ? Ie : i3[Ce] < 0 || i3[Ce] > 24 || 24 === i3[Ce] && (0 !== i3[be] || 0 !== i3[Ee] || 0 !== i3[we]) ? Ce : i3[be] < 0 || i3[be] > 59 ? be : i3[Ee] < 0 || i3[Ee] > 59 ? Ee : i3[we] < 0 || i3[we] > 999 ? we : -1, m(e3)._overflowDayOfYear && (t4 < ve || t4 > Ie) && (t4 = Ie), m(e3)._overflowWeeks && -1 === t4 && (t4 = Re), m(e3)._overflowWeekday && -1 === t4 && (t4 = De), m(e3).overflow = t4), e3; } - var St = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, At = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Nt = /Z|[+-]\d\d(?::?\d\d)?/, Ot = [["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/], ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/], ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/], ["GGGG-[W]WW", /\d{4}-W\d\d/, false], ["YYYY-DDD", /\d{4}-\d{3}/], ["YYYY-MM", /\d{4}-\d\d/, false], ["YYYYYYMMDD", /[+-]\d{10}/], ["YYYYMMDD", /\d{8}/], ["GGGG[W]WWE", /\d{4}W\d{3}/], ["GGGG[W]WW", /\d{4}W\d{2}/, false], ["YYYYDDD", /\d{7}/], ["YYYYMM", /\d{6}/, false], ["YYYY", /\d{4}/, false]], It = [["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/], ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/], ["HH:mm:ss", /\d\d:\d\d:\d\d/], ["HH:mm", /\d\d:\d\d/], ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/], ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/], ["HHmmss", /\d\d\d\d\d\d/], ["HHmm", /\d\d\d\d/], ["HH", /\d\d/]], vt = /^\/?Date\((-?\d+)/i, Ct = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, bt = { UT: 0, GMT: 0, EDT: -240, EST: -300, CDT: -300, CST: -360, MDT: -360, MST: -420, PDT: -420, PST: -480 }; + var St = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, At = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Nt = /Z|[+-]\d\d(?::?\d\d)?/, vt = [["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/], ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/], ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/], ["GGGG-[W]WW", /\d{4}-W\d\d/, false], ["YYYY-DDD", /\d{4}-\d{3}/], ["YYYY-MM", /\d{4}-\d\d/, false], ["YYYYYYMMDD", /[+-]\d{10}/], ["YYYYMMDD", /\d{8}/], ["GGGG[W]WWE", /\d{4}W\d{3}/], ["GGGG[W]WW", /\d{4}W\d{2}/, false], ["YYYYDDD", /\d{7}/], ["YYYYMM", /\d{6}/, false], ["YYYY", /\d{4}/, false]], Ot = [["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/], ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/], ["HH:mm:ss", /\d\d:\d\d:\d\d/], ["HH:mm", /\d\d:\d\d/], ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/], ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/], ["HHmmss", /\d\d\d\d\d\d/], ["HHmm", /\d\d\d\d/], ["HH", /\d\d/]], It = /^\/?Date\((-?\d+)/i, Ct = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, bt = { UT: 0, GMT: 0, EDT: -240, EST: -300, CDT: -300, CST: -360, MDT: -360, MST: -420, PDT: -420, PST: -480 }; function Et(e3) { - var t4, i3, n3, r3, o2, a2, s2 = e3._i, l2 = St.exec(s2) || At.exec(s2), u2 = Ot.length, d2 = It.length; + var t4, i3, n3, r3, o2, a2, s2 = e3._i, l2 = St.exec(s2) || At.exec(s2), u2 = vt.length, c2 = Ot.length; if (l2) { - for (m(e3).iso = true, t4 = 0, i3 = u2; t4 < i3; t4++) if (Ot[t4][1].exec(l2[1])) { - r3 = Ot[t4][0], n3 = false !== Ot[t4][2]; + for (m(e3).iso = true, t4 = 0, i3 = u2; t4 < i3; t4++) if (vt[t4][1].exec(l2[1])) { + r3 = vt[t4][0], n3 = false !== vt[t4][2]; break; } if (null == r3) return void (e3._isValid = false); if (l2[3]) { - for (t4 = 0, i3 = d2; t4 < i3; t4++) if (It[t4][1].exec(l2[3])) { - o2 = (l2[2] || " ") + It[t4][0]; + for (t4 = 0, i3 = c2; t4 < i3; t4++) if (Ot[t4][1].exec(l2[3])) { + o2 = (l2[2] || " ") + Ot[t4][0]; break; } if (null == o2) return void (e3._isValid = false); @@ -111295,14 +120351,14 @@ ${e3.stack}`, n3 = [this].concat(i3); e3._f = r3 + (o2 || "") + (a2 || ""), Mt(e3); } else e3._isValid = false; } - function Rt(e3) { + function wt(e3) { var t4 = parseInt(e3, 10); return t4 <= 49 ? 2e3 + t4 : t4 <= 999 ? 1900 + t4 : t4; } - function wt(e3) { + function Rt(e3) { var t4, i3, n3, r3, o2, a2, s2, l2, u2 = Ct.exec(e3._i.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "")); if (u2) { - if (i3 = u2[4], n3 = u2[3], r3 = u2[2], o2 = u2[5], a2 = u2[6], s2 = u2[7], l2 = [Rt(i3), Fe.indexOf(n3), parseInt(r3, 10), parseInt(o2, 10), parseInt(a2, 10)], s2 && l2.push(parseInt(s2, 10)), t4 = l2, !(function(e4, t5, i4) { + if (i3 = u2[4], n3 = u2[3], r3 = u2[2], o2 = u2[5], a2 = u2[6], s2 = u2[7], l2 = [wt(i3), Fe.indexOf(n3), parseInt(r3, 10), parseInt(o2, 10), parseInt(a2, 10)], s2 && l2.push(parseInt(s2, 10)), t4 = l2, !(function(e4, t5, i4) { return !e4 || Xe.indexOf(e4) === new Date(t5[0], t5[1], t5[2]).getDay() || (m(i4).weekdayMismatch = true, i4._isValid = false, false); })(u2[1], t4, e3)) return; e3._a = t4, e3._tzm = (function(e4, t5, i4) { @@ -111322,38 +120378,38 @@ ${e3.stack}`, n3 = [this].concat(i3); for (n3 = (function(e4) { var t5 = new Date(r2.now()); return e4._useUTC ? [t5.getUTCFullYear(), t5.getUTCMonth(), t5.getUTCDate()] : [t5.getFullYear(), t5.getMonth(), t5.getDate()]; - })(e3), e3._w && null == e3._a[ve] && null == e3._a[Ie] && (function(e4) { + })(e3), e3._w && null == e3._a[Ie] && null == e3._a[Oe] && (function(e4) { var t5, i4, n4, r3, o3, a3, s3, l2, u2; - null != (t5 = e4._w).GG || null != t5.W || null != t5.E ? (o3 = 1, a3 = 4, i4 = Dt(t5.GG, e4._a[Oe], ze(xt(), 1, 4).year), n4 = Dt(t5.W, 1), ((r3 = Dt(t5.E, 1)) < 1 || r3 > 7) && (l2 = true)) : (o3 = e4._locale._week.dow, a3 = e4._locale._week.doy, u2 = ze(xt(), o3, a3), i4 = Dt(t5.gg, e4._a[Oe], u2.year), n4 = Dt(t5.w, u2.week), null != t5.d ? ((r3 = t5.d) < 0 || r3 > 6) && (l2 = true) : null != t5.e ? (r3 = t5.e + o3, (t5.e < 0 || t5.e > 6) && (l2 = true)) : r3 = o3), n4 < 1 || n4 > Ke(i4, o3, a3) ? m(e4)._overflowWeeks = true : null != l2 ? m(e4)._overflowWeekday = true : (s3 = Je(i4, n4, r3, o3, a3), e4._a[Oe] = s3.year, e4._dayOfYear = s3.dayOfYear); - })(e3), null != e3._dayOfYear && (a2 = Dt(e3._a[Oe], n3[Oe]), (e3._dayOfYear > je(a2) || 0 === e3._dayOfYear) && (m(e3)._overflowDayOfYear = true), i3 = Ye(a2, 0, e3._dayOfYear), e3._a[Ie] = i3.getUTCMonth(), e3._a[ve] = i3.getUTCDate()), t4 = 0; t4 < 3 && null == e3._a[t4]; ++t4) e3._a[t4] = s2[t4] = n3[t4]; + null != (t5 = e4._w).GG || null != t5.W || null != t5.E ? (o3 = 1, a3 = 4, i4 = Dt(t5.GG, e4._a[ve], $e(xt(), 1, 4).year), n4 = Dt(t5.W, 1), ((r3 = Dt(t5.E, 1)) < 1 || r3 > 7) && (l2 = true)) : (o3 = e4._locale._week.dow, a3 = e4._locale._week.doy, u2 = $e(xt(), o3, a3), i4 = Dt(t5.gg, e4._a[ve], u2.year), n4 = Dt(t5.w, u2.week), null != t5.d ? ((r3 = t5.d) < 0 || r3 > 6) && (l2 = true) : null != t5.e ? (r3 = t5.e + o3, (t5.e < 0 || t5.e > 6) && (l2 = true)) : r3 = o3), n4 < 1 || n4 > ze(i4, o3, a3) ? m(e4)._overflowWeeks = true : null != l2 ? m(e4)._overflowWeekday = true : (s3 = Je(i4, n4, r3, o3, a3), e4._a[ve] = s3.year, e4._dayOfYear = s3.dayOfYear); + })(e3), null != e3._dayOfYear && (a2 = Dt(e3._a[ve], n3[ve]), (e3._dayOfYear > je(a2) || 0 === e3._dayOfYear) && (m(e3)._overflowDayOfYear = true), i3 = Ye(a2, 0, e3._dayOfYear), e3._a[Oe] = i3.getUTCMonth(), e3._a[Ie] = i3.getUTCDate()), t4 = 0; t4 < 3 && null == e3._a[t4]; ++t4) e3._a[t4] = s2[t4] = n3[t4]; for (; t4 < 7; t4++) e3._a[t4] = s2[t4] = null == e3._a[t4] ? 2 === t4 ? 1 : 0 : e3._a[t4]; - 24 === e3._a[Ce] && 0 === e3._a[be] && 0 === e3._a[Ee] && 0 === e3._a[Re] && (e3._nextDay = true, e3._a[Ce] = 0), e3._d = (e3._useUTC ? Ye : qe).apply(null, s2), o2 = e3._useUTC ? e3._d.getUTCDay() : e3._d.getDay(), null != e3._tzm && e3._d.setUTCMinutes(e3._d.getUTCMinutes() - e3._tzm), e3._nextDay && (e3._a[Ce] = 24), e3._w && void 0 !== e3._w.d && e3._w.d !== o2 && (m(e3).weekdayMismatch = true); + 24 === e3._a[Ce] && 0 === e3._a[be] && 0 === e3._a[Ee] && 0 === e3._a[we] && (e3._nextDay = true, e3._a[Ce] = 0), e3._d = (e3._useUTC ? Ye : qe).apply(null, s2), o2 = e3._useUTC ? e3._d.getUTCDay() : e3._d.getDay(), null != e3._tzm && e3._d.setUTCMinutes(e3._d.getUTCMinutes() - e3._tzm), e3._nextDay && (e3._a[Ce] = 24), e3._w && void 0 !== e3._w.d && e3._w.d !== o2 && (m(e3).weekdayMismatch = true); } } function Mt(e3) { if (e3._f !== r2.ISO_8601) if (e3._f !== r2.RFC_2822) { e3._a = [], m(e3).empty = true; - var t4, i3, n3, o2, a2, s2, l2, u2 = "" + e3._i, d2 = u2.length, c2 = 0; - for (l2 = (n3 = U(e3._f, e3._locale).match(P) || []).length, t4 = 0; t4 < l2; t4++) o2 = n3[t4], (i3 = (u2.match(ge(o2, e3)) || [])[0]) && ((a2 = u2.substr(0, u2.indexOf(i3))).length > 0 && m(e3).unusedInput.push(a2), u2 = u2.slice(u2.indexOf(i3) + i3.length), c2 += i3.length), L[o2] ? (i3 ? m(e3).empty = false : m(e3).unusedTokens.push(o2), Ae(o2, i3, e3)) : e3._strict && !i3 && m(e3).unusedTokens.push(o2); - m(e3).charsLeftOver = d2 - c2, u2.length > 0 && m(e3).unusedInput.push(u2), e3._a[Ce] <= 12 && true === m(e3).bigHour && e3._a[Ce] > 0 && (m(e3).bigHour = void 0), m(e3).parsedDateParts = e3._a.slice(0), m(e3).meridiem = e3._meridiem, e3._a[Ce] = (function(e4, t5, i4) { + var t4, i3, n3, o2, a2, s2, l2, u2 = "" + e3._i, c2 = u2.length, d2 = 0; + for (l2 = (n3 = U(e3._f, e3._locale).match(P) || []).length, t4 = 0; t4 < l2; t4++) o2 = n3[t4], (i3 = (u2.match(ge(o2, e3)) || [])[0]) && ((a2 = u2.substr(0, u2.indexOf(i3))).length > 0 && m(e3).unusedInput.push(a2), u2 = u2.slice(u2.indexOf(i3) + i3.length), d2 += i3.length), L[o2] ? (i3 ? m(e3).empty = false : m(e3).unusedTokens.push(o2), Ae(o2, i3, e3)) : e3._strict && !i3 && m(e3).unusedTokens.push(o2); + m(e3).charsLeftOver = c2 - d2, u2.length > 0 && m(e3).unusedInput.push(u2), e3._a[Ce] <= 12 && true === m(e3).bigHour && e3._a[Ce] > 0 && (m(e3).bigHour = void 0), m(e3).parsedDateParts = e3._a.slice(0), m(e3).meridiem = e3._meridiem, e3._a[Ce] = (function(e4, t5, i4) { var n4; return null == i4 ? t5 : null != e4.meridiemHour ? e4.meridiemHour(t5, i4) : null != e4.isPM ? ((n4 = e4.isPM(i4)) && t5 < 12 && (t5 += 12), n4 || 12 !== t5 || (t5 = 0), t5) : t5; - })(e3._locale, e3._a[Ce], e3._meridiem), null !== (s2 = m(e3).era) && (e3._a[Oe] = e3._locale.erasConvertYear(s2, e3._a[Oe])), Pt(e3), yt(e3); - } else wt(e3); + })(e3._locale, e3._a[Ce], e3._meridiem), null !== (s2 = m(e3).era) && (e3._a[ve] = e3._locale.erasConvertYear(s2, e3._a[ve])), Pt(e3), yt(e3); + } else Rt(e3); else Et(e3); } function Ft(e3) { var t4 = e3._i, i3 = e3._f; - return e3._locale = e3._locale || Tt(e3._l), null === t4 || void 0 === i3 && "" === t4 ? f({ nullInput: true }) : ("string" == typeof t4 && (e3._i = t4 = e3._locale.preparse(t4)), N(t4) ? new A(yt(t4)) : (c(t4) ? e3._d = t4 : o(i3) ? (function(e4) { + return e3._locale = e3._locale || Tt(e3._l), null === t4 || void 0 === i3 && "" === t4 ? f({ nullInput: true }) : ("string" == typeof t4 && (e3._i = t4 = e3._locale.preparse(t4)), N(t4) ? new A(yt(t4)) : (d(t4) ? e3._d = t4 : o(i3) ? (function(e4) { var t5, i4, n3, r3, o2, a2, s2 = false, l2 = e4._f.length; if (0 === l2) return m(e4).invalidFormat = true, void (e4._d = /* @__PURE__ */ new Date(NaN)); for (r3 = 0; r3 < l2; r3++) o2 = 0, a2 = false, t5 = S({}, e4), null != e4._useUTC && (t5._useUTC = e4._useUTC), t5._f = e4._f[r3], Mt(t5), g(t5) && (a2 = true), o2 += m(t5).charsLeftOver, o2 += 10 * m(t5).unusedTokens.length, m(t5).score = o2, s2 ? o2 < n3 && (n3 = o2, i4 = t5) : (null == n3 || o2 < n3 || a2) && (n3 = o2, i4 = t5, a2 && (s2 = true)); _(e4, i4 || t5); })(e3) : i3 ? Mt(e3) : (function(e4) { var t5 = e4._i; - u(t5) ? e4._d = new Date(r2.now()) : c(t5) ? e4._d = new Date(t5.valueOf()) : "string" == typeof t5 ? (function(e5) { - var t6 = vt.exec(e5._i); - null === t6 ? (Et(e5), false === e5._isValid && (delete e5._isValid, wt(e5), false === e5._isValid && (delete e5._isValid, e5._strict ? e5._isValid = false : r2.createFromInputFallback(e5)))) : e5._d = /* @__PURE__ */ new Date(+t6[1]); + u(t5) ? e4._d = new Date(r2.now()) : d(t5) ? e4._d = new Date(t5.valueOf()) : "string" == typeof t5 ? (function(e5) { + var t6 = It.exec(e5._i); + null === t6 ? (Et(e5), false === e5._isValid && (delete e5._isValid, Rt(e5), false === e5._isValid && (delete e5._isValid, e5._strict ? e5._isValid = false : r2.createFromInputFallback(e5)))) : e5._d = /* @__PURE__ */ new Date(+t6[1]); })(e4) : o(t5) ? (e4._a = p(t5.slice(0), function(e5) { return parseInt(e5, 10); }), Pt(e4)) : a(t5) ? (function(e5) { @@ -111363,7 +120419,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return e6 && parseInt(e6, 10); }), Pt(e5); } - })(e4) : d(t5) ? e4._d = new Date(t5) : r2.createFromInputFallback(e4); + })(e4) : c(t5) ? e4._d = new Date(t5) : r2.createFromInputFallback(e4); })(e3), g(e3) || (e3._d = null), e3)); } function Lt(e3, t4, i3, n3, r3) { @@ -111373,15 +120429,15 @@ ${e3.stack}`, n3 = [this].concat(i3); function xt(e3, t4, i3, n3) { return Lt(e3, t4, i3, n3, false); } - r2.createFromInputFallback = I("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.", function(e3) { + r2.createFromInputFallback = O("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.", function(e3) { e3._d = /* @__PURE__ */ new Date(e3._i + (e3._useUTC ? " UTC" : "")); }), r2.ISO_8601 = function() { }, r2.RFC_2822 = function() { }; - var kt = I("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", function() { + var kt = O("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", function() { var e3 = xt.apply(null, arguments); return this.isValid() && e3.isValid() ? e3 < this ? this : e3 : f(); - }), Vt = I("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", function() { + }), Vt = O("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", function() { var e3 = xt.apply(null, arguments); return this.isValid() && e3.isValid() ? e3 > this ? this : e3 : f(); }); @@ -111393,16 +120449,16 @@ ${e3.stack}`, n3 = [this].concat(i3); } var Bt = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"]; function Gt(e3) { - var t4 = W(e3), i3 = t4.year || 0, n3 = t4.quarter || 0, r3 = t4.month || 0, o2 = t4.week || t4.isoWeek || 0, a2 = t4.day || 0, l2 = t4.hour || 0, u2 = t4.minute || 0, d2 = t4.second || 0, c2 = t4.millisecond || 0; + var t4 = W(e3), i3 = t4.year || 0, n3 = t4.quarter || 0, r3 = t4.month || 0, o2 = t4.week || t4.isoWeek || 0, a2 = t4.day || 0, l2 = t4.hour || 0, u2 = t4.minute || 0, c2 = t4.second || 0, d2 = t4.millisecond || 0; this._isValid = (function(e4) { var t5, i4, n4 = false, r4 = Bt.length; for (t5 in e4) if (s(e4, t5) && (-1 === Ne.call(Bt, t5) || null != e4[t5] && isNaN(e4[t5]))) return false; for (i4 = 0; i4 < r4; ++i4) if (e4[Bt[i4]]) { if (n4) return false; - parseFloat(e4[Bt[i4]]) !== z(e4[Bt[i4]]) && (n4 = true); + parseFloat(e4[Bt[i4]]) !== $(e4[Bt[i4]]) && (n4 = true); } return true; - })(t4), this._milliseconds = +c2 + 1e3 * d2 + 6e4 * u2 + 1e3 * l2 * 60 * 60, this._days = +a2 + 7 * o2, this._months = +r3 + 3 * n3 + 12 * i3, this._data = {}, this._locale = Tt(), this._bubble(); + })(t4), this._milliseconds = +d2 + 1e3 * c2 + 6e4 * u2 + 1e3 * l2 * 60 * 60, this._days = +a2 + 7 * o2, this._months = +r3 + 3 * n3 + 12 * i3, this._data = {}, this._locale = Tt(), this._bubble(); } function jt(e3) { return e3 instanceof Gt; @@ -111422,24 +120478,24 @@ ${e3.stack}`, n3 = [this].concat(i3); var Yt = /([\+\-]|\d\d)/gi; function Ht(e3, t4) { var i3, n3, r3 = (t4 || "").match(e3); - return null === r3 ? null : 0 === (n3 = 60 * (i3 = ((r3[r3.length - 1] || []) + "").match(Yt) || ["-", 0, 0])[1] + z(i3[2])) ? 0 : "+" === i3[0] ? n3 : -n3; + return null === r3 ? null : 0 === (n3 = 60 * (i3 = ((r3[r3.length - 1] || []) + "").match(Yt) || ["-", 0, 0])[1] + $(i3[2])) ? 0 : "+" === i3[0] ? n3 : -n3; } function Jt(e3, t4) { var i3, n3; - return t4._isUTC ? (i3 = t4.clone(), n3 = (N(e3) || c(e3) ? e3.valueOf() : xt(e3).valueOf()) - i3.valueOf(), i3._d.setTime(i3._d.valueOf() + n3), r2.updateOffset(i3, false), i3) : xt(e3).local(); + return t4._isUTC ? (i3 = t4.clone(), n3 = (N(e3) || d(e3) ? e3.valueOf() : xt(e3).valueOf()) - i3.valueOf(), i3._d.setTime(i3._d.valueOf() + n3), r2.updateOffset(i3, false), i3) : xt(e3).local(); } - function zt(e3) { + function $t(e3) { return -Math.round(e3._d.getTimezoneOffset()); } - function Kt() { + function zt() { return !!this.isValid() && this._isUTC && 0 === this._offset; } r2.updateOffset = function() { }; - var $t = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Qt = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; + var Kt = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Qt = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; function Xt(e3, t4) { - var i3, n3, r3, o2, a2, l2, u2 = e3, c2 = null; - return jt(e3) ? u2 = { ms: e3._milliseconds, d: e3._days, M: e3._months } : d(e3) || !isNaN(+e3) ? (u2 = {}, t4 ? u2[t4] = +e3 : u2.milliseconds = +e3) : (c2 = $t.exec(e3)) ? (i3 = "-" === c2[1] ? -1 : 1, u2 = { y: 0, d: z(c2[ve]) * i3, h: z(c2[Ce]) * i3, m: z(c2[be]) * i3, s: z(c2[Ee]) * i3, ms: z(Wt(1e3 * c2[Re])) * i3 }) : (c2 = Qt.exec(e3)) ? (i3 = "-" === c2[1] ? -1 : 1, u2 = { y: Zt(c2[2], i3), M: Zt(c2[3], i3), w: Zt(c2[4], i3), d: Zt(c2[5], i3), h: Zt(c2[6], i3), m: Zt(c2[7], i3), s: Zt(c2[8], i3) }) : null == u2 ? u2 = {} : "object" == typeof u2 && ("from" in u2 || "to" in u2) && (o2 = xt(u2.from), a2 = xt(u2.to), r3 = o2.isValid() && a2.isValid() ? (a2 = Jt(a2, o2), o2.isBefore(a2) ? l2 = ei(o2, a2) : ((l2 = ei(a2, o2)).milliseconds = -l2.milliseconds, l2.months = -l2.months), l2) : { milliseconds: 0, months: 0 }, (u2 = {}).ms = r3.milliseconds, u2.M = r3.months), n3 = new Gt(u2), jt(e3) && s(e3, "_locale") && (n3._locale = e3._locale), jt(e3) && s(e3, "_isValid") && (n3._isValid = e3._isValid), n3; + var i3, n3, r3, o2, a2, l2, u2 = e3, d2 = null; + return jt(e3) ? u2 = { ms: e3._milliseconds, d: e3._days, M: e3._months } : c(e3) || !isNaN(+e3) ? (u2 = {}, t4 ? u2[t4] = +e3 : u2.milliseconds = +e3) : (d2 = Kt.exec(e3)) ? (i3 = "-" === d2[1] ? -1 : 1, u2 = { y: 0, d: $(d2[Ie]) * i3, h: $(d2[Ce]) * i3, m: $(d2[be]) * i3, s: $(d2[Ee]) * i3, ms: $(Wt(1e3 * d2[we])) * i3 }) : (d2 = Qt.exec(e3)) ? (i3 = "-" === d2[1] ? -1 : 1, u2 = { y: Zt(d2[2], i3), M: Zt(d2[3], i3), w: Zt(d2[4], i3), d: Zt(d2[5], i3), h: Zt(d2[6], i3), m: Zt(d2[7], i3), s: Zt(d2[8], i3) }) : null == u2 ? u2 = {} : "object" == typeof u2 && ("from" in u2 || "to" in u2) && (o2 = xt(u2.from), a2 = xt(u2.to), r3 = o2.isValid() && a2.isValid() ? (a2 = Jt(a2, o2), o2.isBefore(a2) ? l2 = ei(o2, a2) : ((l2 = ei(a2, o2)).milliseconds = -l2.milliseconds, l2.months = -l2.months), l2) : { milliseconds: 0, months: 0 }, (u2 = {}).ms = r3.milliseconds, u2.M = r3.months), n3 = new Gt(u2), jt(e3) && s(e3, "_locale") && (n3._locale = e3._locale), jt(e3) && s(e3, "_isValid") && (n3._isValid = e3._isValid), n3; } function Zt(e3, t4) { var i3 = e3 && parseFloat(e3.replace(",", ".")); @@ -111457,7 +120513,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } function ii(e3, t4, i3, n3) { var o2 = t4._milliseconds, a2 = Wt(t4._days), s2 = Wt(t4._months); - e3.isValid() && (n3 = n3 ?? true, s2 && Ue(e3, $(e3, "Month") + s2 * i3), a2 && Q(e3, "Date", $(e3, "Date") + a2 * i3), o2 && e3._d.setTime(e3._d.valueOf() + o2 * i3), n3 && r2.updateOffset(e3, a2 || s2)); + e3.isValid() && (n3 = n3 ?? true, s2 && Ue(e3, K(e3, "Month") + s2 * i3), a2 && Q(e3, "Date", K(e3, "Date") + a2 * i3), o2 && e3._d.setTime(e3._d.valueOf() + o2 * i3), n3 && r2.updateOffset(e3, a2 || s2)); } Xt.fn = Gt.prototype, Xt.invalid = function() { return Xt(NaN); @@ -111467,10 +120523,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return "string" == typeof e3 || e3 instanceof String; } function ai(e3) { - return N(e3) || c(e3) || oi(e3) || d(e3) || (function(e4) { + return N(e3) || d(e3) || oi(e3) || c(e3) || (function(e4) { var t4 = o(e4), i3 = false; return t4 && (i3 = 0 === e4.filter(function(t5) { - return !d(t5) && oi(e4); + return !c(t5) && oi(e4); }).length), t4 && i3; })(e3) || (function(e4) { var t4, i3, n3 = a(e4) && !l(e4), r3 = false, o2 = ["years", "year", "y", "months", "month", "M", "days", "day", "d", "dates", "date", "D", "hours", "hour", "h", "minutes", "minute", "m", "seconds", "second", "s", "milliseconds", "millisecond", "ms"], u2 = o2.length; @@ -111488,13 +120544,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return void 0 === e3 ? this._locale._abbr : (null != (t4 = Tt(e3)) && (this._locale = t4), this); } r2.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", r2.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]"; - var ui = I("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.", function(e3) { + var ui = O("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.", function(e3) { return void 0 === e3 ? this.localeData() : this.locale(e3); }); - function di() { + function ci() { return this._locale; } - var ci = 1e3, pi = 6e4, _i = 36e5, hi = 126227808e5; + var di = 1e3, pi = 6e4, _i = 36e5, hi = 126227808e5; function mi(e3, t4) { return (e3 % t4 + t4) % t4; } @@ -111517,7 +120573,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } function Ai(e3, t4, i3, n3, r3) { var o2; - return null == e3 ? ze(this, n3, r3).year : (t4 > (o2 = Ke(e3, n3, r3)) && (t4 = o2), Ni.call(this, e3, t4, i3, n3, r3)); + return null == e3 ? $e(this, n3, r3).year : (t4 > (o2 = ze(e3, n3, r3)) && (t4 = o2), Ni.call(this, e3, t4, i3, n3, r3)); } function Ni(e3, t4, i3, n3, r3) { var o2 = Je(e3, t4, i3, n3, r3), a2 = Ye(o2.year, 0, o2.dayOfYear); @@ -111530,33 +120586,33 @@ ${e3.stack}`, n3 = [this].concat(i3); }), ye(["N", "NN", "NNN", "NNNN", "NNNNN"], function(e3, t4, i3, n3) { var r3 = i3._locale.erasParse(e3, n3, i3._strict); r3 ? m(i3).era = r3 : m(i3).invalidEra = e3; - }), me("y", de), me("yy", de), me("yyy", de), me("yyyy", de), me("yo", function(e3, t4) { - return t4._eraYearOrdinalRegex || de; - }), ye(["y", "yy", "yyy", "yyyy"], Oe), ye(["yo"], function(e3, t4, i3, n3) { + }), me("y", ce), me("yy", ce), me("yyy", ce), me("yyyy", ce), me("yo", function(e3, t4) { + return t4._eraYearOrdinalRegex || ce; + }), ye(["y", "yy", "yyy", "yyyy"], ve), ye(["yo"], function(e3, t4, i3, n3) { var r3; - i3._locale._eraYearOrdinalRegex && (r3 = e3.match(i3._locale._eraYearOrdinalRegex)), i3._locale.eraYearOrdinalParse ? t4[Oe] = i3._locale.eraYearOrdinalParse(e3, r3) : t4[Oe] = parseInt(e3, 10); + i3._locale._eraYearOrdinalRegex && (r3 = e3.match(i3._locale._eraYearOrdinalRegex)), i3._locale.eraYearOrdinalParse ? t4[ve] = i3._locale.eraYearOrdinalParse(e3, r3) : t4[ve] = parseInt(e3, 10); }), x(0, ["gg", 2], 0, function() { return this.weekYear() % 100; }), x(0, ["GG", 2], 0, function() { return this.isoWeekYear() % 100; - }), Si("gggg", "weekYear"), Si("ggggg", "weekYear"), Si("GGGG", "isoWeekYear"), Si("GGGGG", "isoWeekYear"), G("weekYear", "gg"), G("isoWeekYear", "GG"), Y("weekYear", 1), Y("isoWeekYear", 1), me("G", ce), me("g", ce), me("GG", re, ee), me("gg", re, ee), me("GGGG", le, ie), me("gggg", le, ie), me("GGGGG", ue, ne), me("ggggg", ue, ne), Se(["gggg", "ggggg", "GGGG", "GGGGG"], function(e3, t4, i3, n3) { - t4[n3.substr(0, 2)] = z(e3); + }), Si("gggg", "weekYear"), Si("ggggg", "weekYear"), Si("GGGG", "isoWeekYear"), Si("GGGGG", "isoWeekYear"), G("weekYear", "gg"), G("isoWeekYear", "GG"), Y("weekYear", 1), Y("isoWeekYear", 1), me("G", de), me("g", de), me("GG", re, ee), me("gg", re, ee), me("GGGG", le, ie), me("gggg", le, ie), me("GGGGG", ue, ne), me("ggggg", ue, ne), Se(["gggg", "ggggg", "GGGG", "GGGGG"], function(e3, t4, i3, n3) { + t4[n3.substr(0, 2)] = $(e3); }), Se(["gg", "GG"], function(e3, t4, i3, n3) { t4[n3] = r2.parseTwoDigitYear(e3); }), x("Q", 0, "Qo", "quarter"), G("quarter", "Q"), Y("quarter", 7), me("Q", Z), ye("Q", function(e3, t4) { - t4[Ie] = 3 * (z(e3) - 1); + t4[Oe] = 3 * ($(e3) - 1); }), x("D", ["DD", 2], "Do", "date"), G("date", "D"), Y("date", 9), me("D", re), me("DD", re, ee), me("Do", function(e3, t4) { return e3 ? t4._dayOfMonthOrdinalParse || t4._ordinalParse : t4._dayOfMonthOrdinalParseLenient; - }), ye(["D", "DD"], ve), ye("Do", function(e3, t4) { - t4[ve] = z(e3.match(re)[0]); + }), ye(["D", "DD"], Ie), ye("Do", function(e3, t4) { + t4[Ie] = $(e3.match(re)[0]); }); - var Oi = K("Date", true); + var vi = z("Date", true); x("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), G("dayOfYear", "DDD"), Y("dayOfYear", 4), me("DDD", se), me("DDDD", te), ye(["DDD", "DDDD"], function(e3, t4, i3) { - i3._dayOfYear = z(e3); + i3._dayOfYear = $(e3); }), x("m", ["mm", 2], 0, "minute"), G("minute", "m"), Y("minute", 14), me("m", re), me("mm", re, ee), ye(["m", "mm"], be); - var Ii = K("Minutes", false); + var Oi = z("Minutes", false); x("s", ["ss", 2], 0, "second"), G("second", "s"), Y("second", 15), me("s", re), me("ss", re, ee), ye(["s", "ss"], Ee); - var vi, Ci, bi = K("Seconds", false); + var Ii, Ci, bi = z("Seconds", false); for (x("S", 0, 0, function() { return ~~(this.millisecond() / 100); }), x(0, ["SS", 2], 0, function() { @@ -111573,17 +120629,17 @@ ${e3.stack}`, n3 = [this].concat(i3); return 1e5 * this.millisecond(); }), x(0, ["SSSSSSSSS", 9], 0, function() { return 1e6 * this.millisecond(); - }), G("millisecond", "ms"), Y("millisecond", 16), me("S", se, Z), me("SS", se, ee), me("SSS", se, te), vi = "SSSS"; vi.length <= 9; vi += "S") me(vi, de); + }), G("millisecond", "ms"), Y("millisecond", 16), me("S", se, Z), me("SS", se, ee), me("SSS", se, te), Ii = "SSSS"; Ii.length <= 9; Ii += "S") me(Ii, ce); function Ei(e3, t4) { - t4[Re] = z(1e3 * ("0." + e3)); + t4[we] = $(1e3 * ("0." + e3)); } - for (vi = "S"; vi.length <= 9; vi += "S") ye(vi, Ei); - Ci = K("Milliseconds", false), x("z", 0, 0, "zoneAbbr"), x("zz", 0, 0, "zoneName"); - var Ri = A.prototype; - function wi(e3) { + for (Ii = "S"; Ii.length <= 9; Ii += "S") ye(Ii, Ei); + Ci = z("Milliseconds", false), x("z", 0, 0, "zoneAbbr"), x("zz", 0, 0, "zoneName"); + var wi = A.prototype; + function Ri(e3) { return e3; } - Ri.add = ni, Ri.calendar = function(e3, t4) { + wi.add = ni, wi.calendar = function(e3, t4) { 1 === arguments.length && (arguments[0] ? ai(arguments[0]) ? (e3 = arguments[0], t4 = void 0) : (function(e4) { var t5, i4 = a(e4) && !l(e4), n4 = false, r3 = ["sameDay", "nextDay", "lastDay", "nextWeek", "lastWeek", "sameElse"]; for (t5 = 0; t5 < r3.length; t5 += 1) n4 = n4 || s(e4, r3[t5]); @@ -111591,9 +120647,9 @@ ${e3.stack}`, n3 = [this].concat(i3); })(arguments[0]) && (t4 = arguments[0], e3 = void 0) : (e3 = void 0, t4 = void 0)); var i3 = e3 || xt(), n3 = Jt(i3, this).startOf("day"), o2 = r2.calendarFormat(this, n3) || "sameElse", u2 = t4 && (E(t4[o2]) ? t4[o2].call(this, i3) : t4[o2]); return this.format(u2 || this.localeData().calendar(o2, this, xt(i3))); - }, Ri.clone = function() { + }, wi.clone = function() { return new A(this); - }, Ri.diff = function(e3, t4, i3) { + }, wi.diff = function(e3, t4, i3) { var n3, r3, o2; if (!this.isValid()) return NaN; if (!(n3 = Jt(e3, this)).isValid()) return NaN; @@ -111626,7 +120682,7 @@ ${e3.stack}`, n3 = [this].concat(i3); o2 = this - n3; } return i3 ? o2 : J(o2); - }, Ri.endOf = function(e3) { + }, wi.endOf = function(e3) { var t4, i3; if (void 0 === (e3 = j(e3)) || "millisecond" === e3 || !this.isValid()) return this; switch (i3 = this._isUTC ? fi : gi, e3) { @@ -111656,46 +120712,46 @@ ${e3.stack}`, n3 = [this].concat(i3); t4 = this._d.valueOf(), t4 += pi - mi(t4, pi) - 1; break; case "second": - t4 = this._d.valueOf(), t4 += ci - mi(t4, ci) - 1; + t4 = this._d.valueOf(), t4 += di - mi(t4, di) - 1; } return this._d.setTime(t4), r2.updateOffset(this, true), this; - }, Ri.format = function(e3) { + }, wi.format = function(e3) { e3 || (e3 = this.isUtc() ? r2.defaultFormatUtc : r2.defaultFormat); var t4 = V(this, e3); return this.localeData().postformat(t4); - }, Ri.from = function(e3, t4) { + }, wi.from = function(e3, t4) { return this.isValid() && (N(e3) && e3.isValid() || xt(e3).isValid()) ? Xt({ to: this, from: e3 }).locale(this.locale()).humanize(!t4) : this.localeData().invalidDate(); - }, Ri.fromNow = function(e3) { + }, wi.fromNow = function(e3) { return this.from(xt(), e3); - }, Ri.to = function(e3, t4) { + }, wi.to = function(e3, t4) { return this.isValid() && (N(e3) && e3.isValid() || xt(e3).isValid()) ? Xt({ from: this, to: e3 }).locale(this.locale()).humanize(!t4) : this.localeData().invalidDate(); - }, Ri.toNow = function(e3) { + }, wi.toNow = function(e3) { return this.to(xt(), e3); - }, Ri.get = function(e3) { + }, wi.get = function(e3) { return E(this[e3 = j(e3)]) ? this[e3]() : this; - }, Ri.invalidAt = function() { + }, wi.invalidAt = function() { return m(this).overflow; - }, Ri.isAfter = function(e3, t4) { + }, wi.isAfter = function(e3, t4) { var i3 = N(e3) ? e3 : xt(e3); return !(!this.isValid() || !i3.isValid()) && ("millisecond" === (t4 = j(t4) || "millisecond") ? this.valueOf() > i3.valueOf() : i3.valueOf() < this.clone().startOf(t4).valueOf()); - }, Ri.isBefore = function(e3, t4) { + }, wi.isBefore = function(e3, t4) { var i3 = N(e3) ? e3 : xt(e3); return !(!this.isValid() || !i3.isValid()) && ("millisecond" === (t4 = j(t4) || "millisecond") ? this.valueOf() < i3.valueOf() : this.clone().endOf(t4).valueOf() < i3.valueOf()); - }, Ri.isBetween = function(e3, t4, i3, n3) { + }, wi.isBetween = function(e3, t4, i3, n3) { var r3 = N(e3) ? e3 : xt(e3), o2 = N(t4) ? t4 : xt(t4); return !!(this.isValid() && r3.isValid() && o2.isValid()) && ("(" === (n3 = n3 || "()")[0] ? this.isAfter(r3, i3) : !this.isBefore(r3, i3)) && (")" === n3[1] ? this.isBefore(o2, i3) : !this.isAfter(o2, i3)); - }, Ri.isSame = function(e3, t4) { + }, wi.isSame = function(e3, t4) { var i3, n3 = N(e3) ? e3 : xt(e3); return !(!this.isValid() || !n3.isValid()) && ("millisecond" === (t4 = j(t4) || "millisecond") ? this.valueOf() === n3.valueOf() : (i3 = n3.valueOf(), this.clone().startOf(t4).valueOf() <= i3 && i3 <= this.clone().endOf(t4).valueOf())); - }, Ri.isSameOrAfter = function(e3, t4) { + }, wi.isSameOrAfter = function(e3, t4) { return this.isSame(e3, t4) || this.isAfter(e3, t4); - }, Ri.isSameOrBefore = function(e3, t4) { + }, wi.isSameOrBefore = function(e3, t4) { return this.isSame(e3, t4) || this.isBefore(e3, t4); - }, Ri.isValid = function() { + }, wi.isValid = function() { return g(this); - }, Ri.lang = ui, Ri.locale = li, Ri.localeData = di, Ri.max = Vt, Ri.min = kt, Ri.parsingFlags = function() { + }, wi.lang = ui, wi.locale = li, wi.localeData = ci, wi.max = Vt, wi.min = kt, wi.parsingFlags = function() { return _({}, m(this)); - }, Ri.set = function(e3, t4) { + }, wi.set = function(e3, t4) { if ("object" == typeof e3) { var i3, n3 = (function(e4) { var t5, i4 = []; @@ -111707,7 +120763,7 @@ ${e3.stack}`, n3 = [this].concat(i3); for (i3 = 0; i3 < r3; i3++) this[n3[i3].unit](e3[n3[i3].unit]); } else if (E(this[e3 = j(e3)])) return this[e3](t4); return this; - }, Ri.startOf = function(e3) { + }, wi.startOf = function(e3) { var t4, i3; if (void 0 === (e3 = j(e3)) || "millisecond" === e3 || !this.isValid()) return this; switch (i3 = this._isUTC ? fi : gi, e3) { @@ -111737,99 +120793,99 @@ ${e3.stack}`, n3 = [this].concat(i3); t4 = this._d.valueOf(), t4 -= mi(t4, pi); break; case "second": - t4 = this._d.valueOf(), t4 -= mi(t4, ci); + t4 = this._d.valueOf(), t4 -= mi(t4, di); } return this._d.setTime(t4), r2.updateOffset(this, true), this; - }, Ri.subtract = ri, Ri.toArray = function() { + }, wi.subtract = ri, wi.toArray = function() { var e3 = this; return [e3.year(), e3.month(), e3.date(), e3.hour(), e3.minute(), e3.second(), e3.millisecond()]; - }, Ri.toObject = function() { + }, wi.toObject = function() { var e3 = this; return { years: e3.year(), months: e3.month(), date: e3.date(), hours: e3.hours(), minutes: e3.minutes(), seconds: e3.seconds(), milliseconds: e3.milliseconds() }; - }, Ri.toDate = function() { + }, wi.toDate = function() { return new Date(this.valueOf()); - }, Ri.toISOString = function(e3) { + }, wi.toISOString = function(e3) { if (!this.isValid()) return null; var t4 = true !== e3, i3 = t4 ? this.clone().utc() : this; return i3.year() < 0 || i3.year() > 9999 ? V(i3, t4 ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ") : E(Date.prototype.toISOString) ? t4 ? this.toDate().toISOString() : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3).toISOString().replace("Z", V(i3, "Z")) : V(i3, t4 ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"); - }, Ri.inspect = function() { + }, wi.inspect = function() { if (!this.isValid()) return "moment.invalid(/* " + this._i + " */)"; var e3, t4, i3, n3 = "moment", r3 = ""; return this.isLocal() || (n3 = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone", r3 = "Z"), e3 = "[" + n3 + '("]', t4 = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", i3 = r3 + '[")]', this.format(e3 + t4 + "-MM-DD[T]HH:mm:ss.SSS" + i3); - }, "undefined" != typeof Symbol && null != Symbol.for && (Ri[Symbol.for("nodejs.util.inspect.custom")] = function() { + }, "undefined" != typeof Symbol && null != Symbol.for && (wi[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = function() { return "Moment<" + this.format() + ">"; - }), Ri.toJSON = function() { + }), wi.toJSON = function() { return this.isValid() ? this.toISOString() : null; - }, Ri.toString = function() { + }, wi.toString = function() { return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ"); - }, Ri.unix = function() { + }, wi.unix = function() { return Math.floor(this.valueOf() / 1e3); - }, Ri.valueOf = function() { + }, wi.valueOf = function() { return this._d.valueOf() - 6e4 * (this._offset || 0); - }, Ri.creationData = function() { + }, wi.creationData = function() { return { input: this._i, format: this._f, locale: this._locale, isUTC: this._isUTC, strict: this._strict }; - }, Ri.eraName = function() { + }, wi.eraName = function() { var e3, t4, i3, n3 = this.localeData().eras(); for (e3 = 0, t4 = n3.length; e3 < t4; ++e3) { if (i3 = this.clone().startOf("day").valueOf(), n3[e3].since <= i3 && i3 <= n3[e3].until) return n3[e3].name; if (n3[e3].until <= i3 && i3 <= n3[e3].since) return n3[e3].name; } return ""; - }, Ri.eraNarrow = function() { + }, wi.eraNarrow = function() { var e3, t4, i3, n3 = this.localeData().eras(); for (e3 = 0, t4 = n3.length; e3 < t4; ++e3) { if (i3 = this.clone().startOf("day").valueOf(), n3[e3].since <= i3 && i3 <= n3[e3].until) return n3[e3].narrow; if (n3[e3].until <= i3 && i3 <= n3[e3].since) return n3[e3].narrow; } return ""; - }, Ri.eraAbbr = function() { + }, wi.eraAbbr = function() { var e3, t4, i3, n3 = this.localeData().eras(); for (e3 = 0, t4 = n3.length; e3 < t4; ++e3) { if (i3 = this.clone().startOf("day").valueOf(), n3[e3].since <= i3 && i3 <= n3[e3].until) return n3[e3].abbr; if (n3[e3].until <= i3 && i3 <= n3[e3].since) return n3[e3].abbr; } return ""; - }, Ri.eraYear = function() { + }, wi.eraYear = function() { var e3, t4, i3, n3, o2 = this.localeData().eras(); for (e3 = 0, t4 = o2.length; e3 < t4; ++e3) if (i3 = o2[e3].since <= o2[e3].until ? 1 : -1, n3 = this.clone().startOf("day").valueOf(), o2[e3].since <= n3 && n3 <= o2[e3].until || o2[e3].until <= n3 && n3 <= o2[e3].since) return (this.year() - r2(o2[e3].since).year()) * i3 + o2[e3].offset; return this.year(); - }, Ri.year = We, Ri.isLeapYear = function() { + }, wi.year = We, wi.isLeapYear = function() { return H(this.year()); - }, Ri.weekYear = function(e3) { + }, wi.weekYear = function(e3) { return Ai.call(this, e3, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy); - }, Ri.isoWeekYear = function(e3) { + }, wi.isoWeekYear = function(e3) { return Ai.call(this, e3, this.isoWeek(), this.isoWeekday(), 1, 4); - }, Ri.quarter = Ri.quarters = function(e3) { + }, wi.quarter = wi.quarters = function(e3) { return null == e3 ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e3 - 1) + this.month() % 3); - }, Ri.month = Be, Ri.daysInMonth = function() { + }, wi.month = Be, wi.daysInMonth = function() { return Pe(this.year(), this.month()); - }, Ri.week = Ri.weeks = function(e3) { + }, wi.week = wi.weeks = function(e3) { var t4 = this.localeData().week(this); return null == e3 ? t4 : this.add(7 * (e3 - t4), "d"); - }, Ri.isoWeek = Ri.isoWeeks = function(e3) { - var t4 = ze(this, 1, 4).week; + }, wi.isoWeek = wi.isoWeeks = function(e3) { + var t4 = $e(this, 1, 4).week; return null == e3 ? t4 : this.add(7 * (e3 - t4), "d"); - }, Ri.weeksInYear = function() { + }, wi.weeksInYear = function() { var e3 = this.localeData()._week; - return Ke(this.year(), e3.dow, e3.doy); - }, Ri.weeksInWeekYear = function() { + return ze(this.year(), e3.dow, e3.doy); + }, wi.weeksInWeekYear = function() { var e3 = this.localeData()._week; - return Ke(this.weekYear(), e3.dow, e3.doy); - }, Ri.isoWeeksInYear = function() { - return Ke(this.year(), 1, 4); - }, Ri.isoWeeksInISOWeekYear = function() { - return Ke(this.isoWeekYear(), 1, 4); - }, Ri.date = Oi, Ri.day = Ri.days = function(e3) { + return ze(this.weekYear(), e3.dow, e3.doy); + }, wi.isoWeeksInYear = function() { + return ze(this.year(), 1, 4); + }, wi.isoWeeksInISOWeekYear = function() { + return ze(this.isoWeekYear(), 1, 4); + }, wi.date = vi, wi.day = wi.days = function(e3) { if (!this.isValid()) return null != e3 ? this : NaN; var t4 = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); return null != e3 ? (e3 = (function(e4, t5) { return "string" != typeof e4 ? e4 : isNaN(e4) ? "number" == typeof (e4 = t5.weekdaysParse(e4)) ? e4 : null : parseInt(e4, 10); })(e3, this.localeData()), this.add(e3 - t4, "d")) : t4; - }, Ri.weekday = function(e3) { + }, wi.weekday = function(e3) { if (!this.isValid()) return null != e3 ? this : NaN; var t4 = (this.day() + 7 - this.localeData()._week.dow) % 7; return null == e3 ? t4 : this.add(e3 - t4, "d"); - }, Ri.isoWeekday = function(e3) { + }, wi.isoWeekday = function(e3) { if (!this.isValid()) return null != e3 ? this : NaN; if (null != e3) { var t4 = (function(e4, t5) { @@ -111838,66 +120894,66 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.day(this.day() % 7 ? t4 : t4 - 7); } return this.day() || 7; - }, Ri.dayOfYear = function(e3) { + }, wi.dayOfYear = function(e3) { var t4 = Math.round((this.clone().startOf("day") - this.clone().startOf("year")) / 864e5) + 1; return null == e3 ? t4 : this.add(e3 - t4, "d"); - }, Ri.hour = Ri.hours = lt, Ri.minute = Ri.minutes = Ii, Ri.second = Ri.seconds = bi, Ri.millisecond = Ri.milliseconds = Ci, Ri.utcOffset = function(e3, t4, i3) { + }, wi.hour = wi.hours = lt, wi.minute = wi.minutes = Oi, wi.second = wi.seconds = bi, wi.millisecond = wi.milliseconds = Ci, wi.utcOffset = function(e3, t4, i3) { var n3, o2 = this._offset || 0; if (!this.isValid()) return null != e3 ? this : NaN; if (null != e3) { if ("string" == typeof e3) { if (null === (e3 = Ht(_e, e3))) return this; } else Math.abs(e3) < 16 && !i3 && (e3 *= 60); - return !this._isUTC && t4 && (n3 = zt(this)), this._offset = e3, this._isUTC = true, null != n3 && this.add(n3, "m"), o2 !== e3 && (!t4 || this._changeInProgress ? ii(this, Xt(e3 - o2, "m"), 1, false) : this._changeInProgress || (this._changeInProgress = true, r2.updateOffset(this, true), this._changeInProgress = null)), this; + return !this._isUTC && t4 && (n3 = $t(this)), this._offset = e3, this._isUTC = true, null != n3 && this.add(n3, "m"), o2 !== e3 && (!t4 || this._changeInProgress ? ii(this, Xt(e3 - o2, "m"), 1, false) : this._changeInProgress || (this._changeInProgress = true, r2.updateOffset(this, true), this._changeInProgress = null)), this; } - return this._isUTC ? o2 : zt(this); - }, Ri.utc = function(e3) { + return this._isUTC ? o2 : $t(this); + }, wi.utc = function(e3) { return this.utcOffset(0, e3); - }, Ri.local = function(e3) { - return this._isUTC && (this.utcOffset(0, e3), this._isUTC = false, e3 && this.subtract(zt(this), "m")), this; - }, Ri.parseZone = function() { + }, wi.local = function(e3) { + return this._isUTC && (this.utcOffset(0, e3), this._isUTC = false, e3 && this.subtract($t(this), "m")), this; + }, wi.parseZone = function() { if (null != this._tzm) this.utcOffset(this._tzm, false, true); else if ("string" == typeof this._i) { var e3 = Ht(pe, this._i); null != e3 ? this.utcOffset(e3) : this.utcOffset(0, true); } return this; - }, Ri.hasAlignedHourOffset = function(e3) { + }, wi.hasAlignedHourOffset = function(e3) { return !!this.isValid() && (e3 = e3 ? xt(e3).utcOffset() : 0, (this.utcOffset() - e3) % 60 == 0); - }, Ri.isDST = function() { + }, wi.isDST = function() { return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset(); - }, Ri.isLocal = function() { + }, wi.isLocal = function() { return !!this.isValid() && !this._isUTC; - }, Ri.isUtcOffset = function() { + }, wi.isUtcOffset = function() { return !!this.isValid() && this._isUTC; - }, Ri.isUtc = Kt, Ri.isUTC = Kt, Ri.zoneAbbr = function() { + }, wi.isUtc = zt, wi.isUTC = zt, wi.zoneAbbr = function() { return this._isUTC ? "UTC" : ""; - }, Ri.zoneName = function() { + }, wi.zoneName = function() { return this._isUTC ? "Coordinated Universal Time" : ""; - }, Ri.dates = I("dates accessor is deprecated. Use date instead.", Oi), Ri.months = I("months accessor is deprecated. Use month instead", Be), Ri.years = I("years accessor is deprecated. Use year instead", We), Ri.zone = I("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/", function(e3, t4) { + }, wi.dates = O("dates accessor is deprecated. Use date instead.", vi), wi.months = O("months accessor is deprecated. Use month instead", Be), wi.years = O("years accessor is deprecated. Use year instead", We), wi.zone = O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/", function(e3, t4) { return null != e3 ? ("string" != typeof e3 && (e3 = -e3), this.utcOffset(e3, t4), this) : -this.utcOffset(); - }), Ri.isDSTShifted = I("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information", function() { + }), wi.isDSTShifted = O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information", function() { if (!u(this._isDSTShifted)) return this._isDSTShifted; var e3, t4 = {}; return S(t4, this), (t4 = Ft(t4))._a ? (e3 = t4._isUTC ? h(t4._a) : xt(t4._a), this._isDSTShifted = this.isValid() && (function(e4, t5, i3) { var n3, r3 = Math.min(e4.length, t5.length), o2 = Math.abs(e4.length - t5.length), a2 = 0; - for (n3 = 0; n3 < r3; n3++) (i3 && e4[n3] !== t5[n3] || !i3 && z(e4[n3]) !== z(t5[n3])) && a2++; + for (n3 = 0; n3 < r3; n3++) (i3 && e4[n3] !== t5[n3] || !i3 && $(e4[n3]) !== $(t5[n3])) && a2++; return a2 + o2; })(t4._a, e3.toArray()) > 0) : this._isDSTShifted = false, this._isDSTShifted; }); - var Di = w.prototype; + var Di = R.prototype; function Pi(e3, t4, i3, n3) { var r3 = Tt(), o2 = h().set(n3, t4); return r3[i3](o2, e3); } function Mi(e3, t4, i3) { - if (d(e3) && (t4 = e3, e3 = void 0), e3 = e3 || "", null != t4) return Pi(e3, t4, i3, "month"); + if (c(e3) && (t4 = e3, e3 = void 0), e3 = e3 || "", null != t4) return Pi(e3, t4, i3, "month"); var n3, r3 = []; for (n3 = 0; n3 < 12; n3++) r3[n3] = Pi(e3, n3, i3, "month"); return r3; } function Fi(e3, t4, i3, n3) { - "boolean" == typeof e3 ? (d(t4) && (i3 = t4, t4 = void 0), t4 = t4 || "") : (i3 = t4 = e3, e3 = false, d(t4) && (i3 = t4, t4 = void 0), t4 = t4 || ""); + "boolean" == typeof e3 ? (c(t4) && (i3 = t4, t4 = void 0), t4 = t4 || "") : (i3 = t4 = e3, e3 = false, c(t4) && (i3 = t4, t4 = void 0), t4 = t4 || ""); var r3, o2 = Tt(), a2 = e3 ? o2._week.dow : 0, s2 = []; if (null != i3) return Pi(t4, (i3 + a2) % 7, n3, "day"); for (r3 = 0; r3 < 7; r3++) s2[r3] = Pi(t4, (r3 + a2) % 7, n3, "day"); @@ -111915,7 +120971,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._invalidDate; }, Di.ordinal = function(e3) { return this._ordinal.replace("%d", e3); - }, Di.preparse = wi, Di.postformat = wi, Di.relativeTime = function(e3, t4, i3, n3) { + }, Di.preparse = Ri, Di.postformat = Ri, Di.relativeTime = function(e3, t4, i3, n3) { var r3 = this._relativeTime[i3]; return E(r3) ? r3(e3, t4, i3, n3) : r3.replace(/%d/i, e3); }, Di.pastFuture = function(e3, t4) { @@ -111976,18 +121032,18 @@ ${e3.stack}`, n3 = [this].concat(i3); }, Di.monthsShortRegex = function(e3) { return this._monthsParseExact ? (s(this, "_monthsRegex") || Ge.call(this), e3 ? this._monthsShortStrictRegex : this._monthsShortRegex) : (s(this, "_monthsShortRegex") || (this._monthsShortRegex = xe), this._monthsShortStrictRegex && e3 ? this._monthsShortStrictRegex : this._monthsShortRegex); }, Di.week = function(e3) { - return ze(e3, this._week.dow, this._week.doy).week; + return $e(e3, this._week.dow, this._week.doy).week; }, Di.firstDayOfYear = function() { return this._week.doy; }, Di.firstDayOfWeek = function() { return this._week.dow; }, Di.weekdays = function(e3, t4) { var i3 = o(this._weekdays) ? this._weekdays : this._weekdays[e3 && true !== e3 && this._weekdays.isFormat.test(t4) ? "format" : "standalone"]; - return true === e3 ? $e(i3, this._week.dow) : e3 ? i3[e3.day()] : i3; + return true === e3 ? Ke(i3, this._week.dow) : e3 ? i3[e3.day()] : i3; }, Di.weekdaysMin = function(e3) { - return true === e3 ? $e(this._weekdaysMin, this._week.dow) : e3 ? this._weekdaysMin[e3.day()] : this._weekdaysMin; + return true === e3 ? Ke(this._weekdaysMin, this._week.dow) : e3 ? this._weekdaysMin[e3.day()] : this._weekdaysMin; }, Di.weekdaysShort = function(e3) { - return true === e3 ? $e(this._weekdaysShort, this._week.dow) : e3 ? this._weekdaysShort[e3.day()] : this._weekdaysShort; + return true === e3 ? Ke(this._weekdaysShort, this._week.dow) : e3 ? this._weekdaysShort[e3.day()] : this._weekdaysShort; }, Di.weekdaysParse = function(e3, t4, i3) { var n3, r3, o2; if (this._weekdaysParseExact) return nt.call(this, e3, t4, i3); @@ -112009,8 +121065,8 @@ ${e3.stack}`, n3 = [this].concat(i3); return e3 > 11 ? i3 ? "pm" : "PM" : i3 ? "am" : "AM"; }, gt("en", { eras: [{ since: "0001-01-01", until: 1 / 0, offset: 1, name: "Anno Domini", narrow: "AD", abbr: "AD" }, { since: "0000-12-31", until: -1 / 0, offset: 1, name: "Before Christ", narrow: "BC", abbr: "BC" }], dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, ordinal: function(e3) { var t4 = e3 % 10; - return e3 + (1 === z(e3 % 100 / 10) ? "th" : 1 === t4 ? "st" : 2 === t4 ? "nd" : 3 === t4 ? "rd" : "th"); - } }), r2.lang = I("moment.lang is deprecated. Use moment.locale instead.", gt), r2.langData = I("moment.langData is deprecated. Use moment.localeData instead.", Tt); + return e3 + (1 === $(e3 % 100 / 10) ? "th" : 1 === t4 ? "st" : 2 === t4 ? "nd" : 3 === t4 ? "rd" : "th"); + } }), r2.lang = O("moment.lang is deprecated. Use moment.locale instead.", gt), r2.langData = O("moment.langData is deprecated. Use moment.localeData instead.", Tt); var Li = Math.abs; function xi(e3, t4, i3, n3) { var r3 = Xt(t4, i3); @@ -112030,13 +121086,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.as(e3); }; } - var Gi = Bi("ms"), ji = Bi("s"), Wi = Bi("m"), qi = Bi("h"), Yi = Bi("d"), Hi = Bi("w"), Ji = Bi("M"), zi = Bi("Q"), Ki = Bi("y"); - function $i(e3) { + var Gi = Bi("ms"), ji = Bi("s"), Wi = Bi("m"), qi = Bi("h"), Yi = Bi("d"), Hi = Bi("w"), Ji = Bi("M"), $i = Bi("Q"), zi = Bi("y"); + function Ki(e3) { return function() { return this.isValid() ? this._data[e3] : NaN; }; } - var Qi = $i("milliseconds"), Xi = $i("seconds"), Zi = $i("minutes"), en = $i("hours"), tn = $i("days"), nn = $i("months"), rn = $i("years"); + var Qi = Ki("milliseconds"), Xi = Ki("seconds"), Zi = Ki("minutes"), en = Ki("hours"), tn = Ki("days"), nn = Ki("months"), rn = Ki("years"); var on = Math.round, an = { ss: 44, s: 45, m: 45, h: 22, d: 26, w: null, M: 11 }; function sn(e3, t4, i3, n3, r3) { return r3.relativeTime(t4 || 1, !!i3, e3, n3); @@ -112045,22 +121101,22 @@ ${e3.stack}`, n3 = [this].concat(i3); function un(e3) { return (e3 > 0) - (e3 < 0) || +e3; } - function dn() { + function cn() { if (!this.isValid()) return this.localeData().invalidDate(); - var e3, t4, i3, n3, r3, o2, a2, s2, l2 = ln(this._milliseconds) / 1e3, u2 = ln(this._days), d2 = ln(this._months), c2 = this.asSeconds(); - return c2 ? (e3 = J(l2 / 60), t4 = J(e3 / 60), l2 %= 60, e3 %= 60, i3 = J(d2 / 12), d2 %= 12, n3 = l2 ? l2.toFixed(3).replace(/\.?0+$/, "") : "", r3 = c2 < 0 ? "-" : "", o2 = un(this._months) !== un(c2) ? "-" : "", a2 = un(this._days) !== un(c2) ? "-" : "", s2 = un(this._milliseconds) !== un(c2) ? "-" : "", r3 + "P" + (i3 ? o2 + i3 + "Y" : "") + (d2 ? o2 + d2 + "M" : "") + (u2 ? a2 + u2 + "D" : "") + (t4 || e3 || l2 ? "T" : "") + (t4 ? s2 + t4 + "H" : "") + (e3 ? s2 + e3 + "M" : "") + (l2 ? s2 + n3 + "S" : "")) : "P0D"; + var e3, t4, i3, n3, r3, o2, a2, s2, l2 = ln(this._milliseconds) / 1e3, u2 = ln(this._days), c2 = ln(this._months), d2 = this.asSeconds(); + return d2 ? (e3 = J(l2 / 60), t4 = J(e3 / 60), l2 %= 60, e3 %= 60, i3 = J(c2 / 12), c2 %= 12, n3 = l2 ? l2.toFixed(3).replace(/\.?0+$/, "") : "", r3 = d2 < 0 ? "-" : "", o2 = un(this._months) !== un(d2) ? "-" : "", a2 = un(this._days) !== un(d2) ? "-" : "", s2 = un(this._milliseconds) !== un(d2) ? "-" : "", r3 + "P" + (i3 ? o2 + i3 + "Y" : "") + (c2 ? o2 + c2 + "M" : "") + (u2 ? a2 + u2 + "D" : "") + (t4 || e3 || l2 ? "T" : "") + (t4 ? s2 + t4 + "H" : "") + (e3 ? s2 + e3 + "M" : "") + (l2 ? s2 + n3 + "S" : "")) : "P0D"; } - var cn = Gt.prototype; - return cn.isValid = function() { + var dn = Gt.prototype; + return dn.isValid = function() { return this._isValid; - }, cn.abs = function() { + }, dn.abs = function() { var e3 = this._data; return this._milliseconds = Li(this._milliseconds), this._days = Li(this._days), this._months = Li(this._months), e3.milliseconds = Li(e3.milliseconds), e3.seconds = Li(e3.seconds), e3.minutes = Li(e3.minutes), e3.hours = Li(e3.hours), e3.months = Li(e3.months), e3.years = Li(e3.years), this; - }, cn.add = function(e3, t4) { + }, dn.add = function(e3, t4) { return xi(this, e3, t4, 1); - }, cn.subtract = function(e3, t4) { + }, dn.subtract = function(e3, t4) { return xi(this, e3, t4, -1); - }, cn.as = function(e3) { + }, dn.as = function(e3) { if (!this.isValid()) return NaN; var t4, i3, n3 = this._milliseconds; if ("month" === (e3 = j(e3)) || "quarter" === e3 || "year" === e3) switch (t4 = this._days + n3 / 864e5, i3 = this._months + Vi(t4), e3) { @@ -112087,29 +121143,29 @@ ${e3.stack}`, n3 = [this].concat(i3); default: throw new Error("Unknown unit " + e3); } - }, cn.asMilliseconds = Gi, cn.asSeconds = ji, cn.asMinutes = Wi, cn.asHours = qi, cn.asDays = Yi, cn.asWeeks = Hi, cn.asMonths = Ji, cn.asQuarters = zi, cn.asYears = Ki, cn.valueOf = function() { - return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * z(this._months / 12) : NaN; - }, cn._bubble = function() { + }, dn.asMilliseconds = Gi, dn.asSeconds = ji, dn.asMinutes = Wi, dn.asHours = qi, dn.asDays = Yi, dn.asWeeks = Hi, dn.asMonths = Ji, dn.asQuarters = $i, dn.asYears = zi, dn.valueOf = function() { + return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * $(this._months / 12) : NaN; + }, dn._bubble = function() { var e3, t4, i3, n3, r3, o2 = this._milliseconds, a2 = this._days, s2 = this._months, l2 = this._data; return o2 >= 0 && a2 >= 0 && s2 >= 0 || o2 <= 0 && a2 <= 0 && s2 <= 0 || (o2 += 864e5 * ki(Ui(s2) + a2), a2 = 0, s2 = 0), l2.milliseconds = o2 % 1e3, e3 = J(o2 / 1e3), l2.seconds = e3 % 60, t4 = J(e3 / 60), l2.minutes = t4 % 60, i3 = J(t4 / 60), l2.hours = i3 % 24, a2 += J(i3 / 24), s2 += r3 = J(Vi(a2)), a2 -= ki(Ui(r3)), n3 = J(s2 / 12), s2 %= 12, l2.days = a2, l2.months = s2, l2.years = n3, this; - }, cn.clone = function() { + }, dn.clone = function() { return Xt(this); - }, cn.get = function(e3) { + }, dn.get = function(e3) { return e3 = j(e3), this.isValid() ? this[e3 + "s"]() : NaN; - }, cn.milliseconds = Qi, cn.seconds = Xi, cn.minutes = Zi, cn.hours = en, cn.days = tn, cn.weeks = function() { + }, dn.milliseconds = Qi, dn.seconds = Xi, dn.minutes = Zi, dn.hours = en, dn.days = tn, dn.weeks = function() { return J(this.days() / 7); - }, cn.months = nn, cn.years = rn, cn.humanize = function(e3, t4) { + }, dn.months = nn, dn.years = rn, dn.humanize = function(e3, t4) { if (!this.isValid()) return this.localeData().invalidDate(); var i3, n3, r3 = false, o2 = an; return "object" == typeof e3 && (t4 = e3, e3 = false), "boolean" == typeof e3 && (r3 = e3), "object" == typeof t4 && (o2 = Object.assign({}, an, t4), null != t4.s && null == t4.ss && (o2.ss = t4.s - 1)), n3 = (function(e4, t5, i4, n4) { - var r4 = Xt(e4).abs(), o3 = on(r4.as("s")), a2 = on(r4.as("m")), s2 = on(r4.as("h")), l2 = on(r4.as("d")), u2 = on(r4.as("M")), d2 = on(r4.as("w")), c2 = on(r4.as("y")), p2 = o3 <= i4.ss && ["s", o3] || o3 < i4.s && ["ss", o3] || a2 <= 1 && ["m"] || a2 < i4.m && ["mm", a2] || s2 <= 1 && ["h"] || s2 < i4.h && ["hh", s2] || l2 <= 1 && ["d"] || l2 < i4.d && ["dd", l2]; - return null != i4.w && (p2 = p2 || d2 <= 1 && ["w"] || d2 < i4.w && ["ww", d2]), (p2 = p2 || u2 <= 1 && ["M"] || u2 < i4.M && ["MM", u2] || c2 <= 1 && ["y"] || ["yy", c2])[2] = t5, p2[3] = +e4 > 0, p2[4] = n4, sn.apply(null, p2); + var r4 = Xt(e4).abs(), o3 = on(r4.as("s")), a2 = on(r4.as("m")), s2 = on(r4.as("h")), l2 = on(r4.as("d")), u2 = on(r4.as("M")), c2 = on(r4.as("w")), d2 = on(r4.as("y")), p2 = o3 <= i4.ss && ["s", o3] || o3 < i4.s && ["ss", o3] || a2 <= 1 && ["m"] || a2 < i4.m && ["mm", a2] || s2 <= 1 && ["h"] || s2 < i4.h && ["hh", s2] || l2 <= 1 && ["d"] || l2 < i4.d && ["dd", l2]; + return null != i4.w && (p2 = p2 || c2 <= 1 && ["w"] || c2 < i4.w && ["ww", c2]), (p2 = p2 || u2 <= 1 && ["M"] || u2 < i4.M && ["MM", u2] || d2 <= 1 && ["y"] || ["yy", d2])[2] = t5, p2[3] = +e4 > 0, p2[4] = n4, sn.apply(null, p2); })(this, !r3, o2, i3 = this.localeData()), r3 && (n3 = i3.pastFuture(+this, n3)), i3.postformat(n3); - }, cn.toISOString = dn, cn.toString = dn, cn.toJSON = dn, cn.locale = li, cn.localeData = di, cn.toIsoString = I("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", dn), cn.lang = ui, x("X", 0, 0, "unix"), x("x", 0, 0, "valueOf"), me("x", ce), me("X", /[+-]?\d+(\.\d{1,3})?/), ye("X", function(e3, t4, i3) { + }, dn.toISOString = cn, dn.toString = cn, dn.toJSON = cn, dn.locale = li, dn.localeData = ci, dn.toIsoString = O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", cn), dn.lang = ui, x("X", 0, 0, "unix"), x("x", 0, 0, "valueOf"), me("x", de), me("X", /[+-]?\d+(\.\d{1,3})?/), ye("X", function(e3, t4, i3) { i3._d = new Date(1e3 * parseFloat(e3)); }), ye("x", function(e3, t4, i3) { - i3._d = new Date(z(e3)); - }), r2.version = "2.29.4", t3 = xt, r2.fn = Ri, r2.min = function() { + i3._d = new Date($(e3)); + }), r2.version = "2.29.4", t3 = xt, r2.fn = wi, r2.min = function() { return Ut("isBefore", [].slice.call(arguments, 0)); }, r2.max = function() { return Ut("isAfter", [].slice.call(arguments, 0)); @@ -112119,7 +121175,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return xt(1e3 * e3); }, r2.months = function(e3, t4) { return Mi(e3, t4, "months"); - }, r2.isDate = c, r2.locale = gt, r2.invalid = f, r2.duration = Xt, r2.isMoment = N, r2.weekdays = function(e3, t4, i3) { + }, r2.isDate = d, r2.locale = gt, r2.invalid = f, r2.duration = Xt, r2.isMoment = N, r2.weekdays = function(e3, t4, i3) { return Fi(e3, t4, i3, "weekdays"); }, r2.parseZone = function() { return xt.apply(null, arguments).parseZone(); @@ -112129,12 +121185,12 @@ ${e3.stack}`, n3 = [this].concat(i3); return Fi(e3, t4, i3, "weekdaysMin"); }, r2.defineLocale = ft, r2.updateLocale = function(e3, t4) { if (null != t4) { - var i3, n3, r3 = dt; - null != ct[e3] && null != ct[e3].parentLocale ? ct[e3].set(R(ct[e3]._config, t4)) : (null != (n3 = mt(e3)) && (r3 = n3._config), t4 = R(r3, t4), null == n3 && (t4.abbr = e3), (i3 = new w(t4)).parentLocale = ct[e3], ct[e3] = i3), gt(e3); - } else null != ct[e3] && (null != ct[e3].parentLocale ? (ct[e3] = ct[e3].parentLocale, e3 === gt() && gt(e3)) : null != ct[e3] && delete ct[e3]); - return ct[e3]; + var i3, n3, r3 = ct; + null != dt[e3] && null != dt[e3].parentLocale ? dt[e3].set(w(dt[e3]._config, t4)) : (null != (n3 = mt(e3)) && (r3 = n3._config), t4 = w(r3, t4), null == n3 && (t4.abbr = e3), (i3 = new R(t4)).parentLocale = dt[e3], dt[e3] = i3), gt(e3); + } else null != dt[e3] && (null != dt[e3].parentLocale ? (dt[e3] = dt[e3].parentLocale, e3 === gt() && gt(e3)) : null != dt[e3] && delete dt[e3]); + return dt[e3]; }, r2.locales = function() { - return v(ct); + return I(dt); }, r2.weekdaysShort = function(e3, t4, i3) { return Fi(e3, t4, i3, "weekdaysShort"); }, r2.normalizeUnits = j, r2.relativeTimeRounding = function(e3) { @@ -112144,7 +121200,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, r2.calendarFormat = function(e3, t4) { var i3 = e3.diff(t4, "days", true); return i3 < -6 ? "sameElse" : i3 < -1 ? "lastWeek" : i3 < 0 ? "lastDay" : i3 < 1 ? "sameDay" : i3 < 2 ? "nextDay" : i3 < 7 ? "nextWeek" : "sameElse"; - }, r2.prototype = Ri, r2.HTML5_FMT = { DATETIME_LOCAL: "YYYY-MM-DDTHH:mm", DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss", DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS", DATE: "YYYY-MM-DD", TIME: "HH:mm", TIME_SECONDS: "HH:mm:ss", TIME_MS: "HH:mm:ss.SSS", WEEK: "GGGG-[W]WW", MONTH: "YYYY-MM" }, r2; + }, r2.prototype = wi, r2.HTML5_FMT = { DATETIME_LOCAL: "YYYY-MM-DDTHH:mm", DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss", DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS", DATE: "YYYY-MM-DD", TIME: "HH:mm", TIME_SECONDS: "HH:mm:ss", TIME_MS: "HH:mm:ss.SSS", WEEK: "GGGG-[W]WW", MONTH: "YYYY-MM" }, r2; })(); }, 95142: (e2, t2, i2) => { let n2 = null; @@ -112265,8 +121321,8 @@ ${e3.stack}`, n3 = [this].concat(i3); } } }), e2.exports = n2; }, 95320: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = n2.__importDefault(i2(27203)), a = i2(67483), s = i2(67483), l = i2(12179), u = n2.__importDefault(i2(97891)), d = i2(47957); - class c extends r2.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(5478)), o = n2.__importDefault(i2(27203)), a = i2(67483), s = i2(67483), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(4648)), d = i2(47957); + class p extends r2.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -112277,7 +121333,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.parentFlow.isWorkitemFlow ? s.clearUtilizationLabelFailureReasonsWithWorkitem : a.clearUtilizationLabelFailureReasons; } } - c.info = u.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: l.helpTopics.actions.clearUtilizationLabel, modelClass: i2(76122), name: d.actions.clearUtilizationLabel, scriptingName: "ArchActionClearUtilizationLabel" }), t2.A = c; + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.clearUtilizationLabel, modelClass: i2(76122), name: d.actions.clearUtilizationLabel, scriptingName: "ArchActionClearUtilizationLabel", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; }, 95338: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -112327,11 +121383,11 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 95443: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.createBargeInManagedProperty = function(e3, t3) { - return { label: d.askCommon.voiceBargeInSettingLabel, options: s.ExpressionTypeBooleanOptions.create((i3) => { - i3.setInheritsFromFlowLevelDefault(true).setIsOptional(false).setDescriptionInfo(d.askCommon.voiceBargeInSettingLabel, d.askCommon.voiceBargeInSettingTooltip).setIninTestingField("enableBargeIn").setDefaultText(o.default.false).setRequiredFlowChannelType(l.channelTypeCall).setHideDefaultTextDescription(true).setBoolText(d.generic.genericOn, d.generic.genericOff).setFeatureConfigName(u.default.botFlowsBargeInActionLevel).setScriptingPropertyName("enableBargeIn").setUiPropertyOrder(e3), t3 && i3.setUiPropertyGroup(t3); + return { label: c.askCommon.voiceBargeInSettingLabel, options: s.ExpressionTypeBooleanOptions.create((i3) => { + i3.setInheritsFromFlowLevelDefault(true).setIsOptional(false).setDescriptionInfo(c.askCommon.voiceBargeInSettingLabel, c.askCommon.voiceBargeInSettingTooltip).setIninTestingField("enableBargeIn").setDefaultText(o.default.false).setRequiredFlowChannelType(l.channelTypeCall).setHideDefaultTextDescription(true).setBoolText(c.generic.genericOn, c.generic.genericOff).setFeatureConfigName(u.default.botFlowsBargeInActionLevel).setScriptingPropertyName("enableBargeIn").setUiPropertyOrder(e3), t3 && i3.setUiPropertyGroup(t3); }), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], property: "enableBargeIn", type: a.expressionTypeNames.boolean }; }; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(73198)), a = i2(80428), s = i2(67607), l = n2.__importStar(i2(85020)), u = n2.__importDefault(i2(4648)), d = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(73198)), a = i2(80428), s = i2(67607), l = n2.__importStar(i2(85020)), u = n2.__importDefault(i2(4648)), c = i2(47957); }, 95462: function(e2, t2, i2) { "use strict"; var n2 = this && this.__generator || function(e3, t3) { @@ -112409,19 +121465,19 @@ ${e3.stack}`, n3 = [this].concat(i3); } function l(e4, t4) { try { - (i4 = o2[e4](t4)).value instanceof r2 ? Promise.resolve(i4.value.v).then(u, d) : c(a2[0][2], i4); + (i4 = o2[e4](t4)).value instanceof r2 ? Promise.resolve(i4.value.v).then(u, c) : d(a2[0][2], i4); } catch (e5) { - c(a2[0][3], e5); + d(a2[0][3], e5); } var i4; } function u(e4) { l("next", e4); } - function d(e4) { + function c(e4) { l("throw", e4); } - function c(e4, t4) { + function d(e4, t4) { e4(t4), a2.shift(), a2.length && l(a2[0][0], a2[0][1]); } }; @@ -112460,6 +121516,20 @@ ${e3.stack}`, n3 = [this].concat(i3); }, t2.isReadableStreamLike = function(e3) { return a.isFunction(null == e3 ? void 0 : e3.getReader); }; + }, 95465: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowModelSchemaService = void 0; + const n2 = i2(82632); + class r2 { + static getSchema(e3) { + let t3 = r2._schemaCache.get(e3); + return t3 || (t3 = r2._buildSchema(e3), r2._schemaCache.set(e3, t3)), t3; + } + static _buildSchema(e3) { + return { flowType: e3, properties: { name: { type: "string", required: true, minLength: n2.flowLimits.name.minLength, maxLength: n2.flowLimits.name.maxLength, description: "The flow name" }, description: { type: "string", required: false, maxLength: n2.flowLimits.description.maxLength, description: "The flow description" }, division: { type: "string", required: false, description: "The division name for the flow" }, defaultLanguage: { type: "string", required: false, description: "The default language tag (e.g., en-us)" } }, additionalProperties: true }; + } + } + t2.FlowModelSchemaService = r2, r2._schemaCache = /* @__PURE__ */ new Map(); }, 95513: function(e2, t2, i2) { "use strict"; var n2 = this && this.__read || function(e3, t3) { @@ -112495,7 +121565,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 95682: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.QuickRepliesType = t2.PROP_QUICK_REPLY_SUMMARY = t2.PROP_BUTTONS = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(19360), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(58380)), u = i2(82632), d = n2.__importStar(i2(9345)), c = i2(80428), p = i2(14394), _ = i2(44521), h = i2(1492), m = i2(53476), g = n2.__importStar(i2(10798)), f = n2.__importDefault(i2(4648)), T = n2.__importStar(i2(63352)); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(19360), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(36781)), l = n2.__importStar(i2(58380)), u = i2(82632), c = n2.__importStar(i2(9345)), d = i2(80428), p = i2(14394), _ = i2(44521), h = i2(1492), m = i2(53476), g = n2.__importStar(i2(10798)), f = n2.__importDefault(i2(4648)), T = n2.__importStar(i2(63352)); t2.PROP_BUTTONS = "buttons", t2.PROP_QUICK_REPLY_SUMMARY = "quickreplysummary"; const y = u.dataTypeLimits.quickRepliesDataType.properties.buttons.maxItems.count; class S extends _.BasedOnChoicesType { @@ -112519,7 +121589,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } getChooser(e3) { var t3; - if (null === (t3 = e3.propertyParent) || void 0 === t3 ? void 0 : t3.type.isMatch(p.globalTypes.chooser, d.settings.exact)) return e3.propertyParent; + if (null === (t3 = e3.propertyParent) || void 0 === t3 ? void 0 : t3.type.isMatch(p.globalTypes.chooser, c.settings.exact)) return e3.propertyParent; } getPropButtons(e3) { return null == e3 ? void 0 : e3.getProperty(t2.PROP_BUTTONS); @@ -112668,11 +121738,11 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } } - t2.QuickRepliesType = S, S.typeIdentifier = c.expressionTypeNames.quickReplies; + t2.QuickRepliesType = S, S.typeIdentifier = d.expressionTypeNames.quickReplies; }, 95689: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(5730)), s = i2(47957); - class l extends a.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(4648)), l = i2(47957); + class u extends a.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } @@ -112680,7 +121750,7 @@ ${e3.stack}`, n3 = [this].concat(i3); super.validate(e3); } } - l.info = o.default.createActionInfo({ actionClass: l, canBeInTask: true, helpTopic: r2.helpTopics.actions.participantRecord, modelClass: i2(11343), name: s.actions.enableParticipantRecording, scriptingName: "ArchActionEnableParticipantRecord" }), t2.A = l; + u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: r2.helpTopics.actions.participantRecord, modelClass: i2(11343), name: l.actions.enableParticipantRecording, scriptingName: "ArchActionEnableParticipantRecord", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; }, 95712: (e2, t2, i2) => { const n2 = i2(36019).default, r2 = i2(54557), o = i2(48481); function a() { @@ -112696,11 +121766,11 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 95803: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.create = function() { - D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: I.builderCategoryIds.toolbar, description: M.builderParts.communication.prompt.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("promptCommunication"), expressionType: h.globalTypes.prompt, label: M.builderParts.communication.prompt.name }), new m.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("addPromptCommunicationType").setDefaultText("auto").setAllowModeLiteralOnly(true).facets.setTrim(true).setAllowableValues([{ id: "auto", displayString: F.editPrompt.automaticForOutputMode }, { id: "tts", displayString: F.editPrompt.ttsLabel }, { id: "text", displayString: F.editPrompt.textLabel }]), expressionType: h.globalTypes.string, label: M.builderParts.string.prompt.name })], generators: { promptGenerator: A.default.create().addFuncCall("ToCommunication").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(%1$s)"), promptGeneratorGenericBuilder: N.default.singleTokenReplacementGenerator, promptTextGenerator: A.default.create().addFuncCall("ToCommunication").addFuncCall("GetPromptText").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(GetPromptText(%1$s))"), promptTextGeneratorGenericBuilder: A.default.create().addFuncCall("GetPromptText").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("GetPromptText(%1$s)"), promptTtsGenerator: A.default.create().addFuncCall("ToCommunication").addFuncCall("GetPromptTextToSpeech").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(GetPromptTextToSpeech(%1$s))"), promptTtsGeneratorGenericBuilder: A.default.create().addFuncCall("GetPromptTextToSpeech").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("GetPromptTextToSpeech(%1$s)"), getExpressionGenerator: (e3, t3) => { + D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: O.builderCategoryIds.toolbar, description: M.builderParts.communication.prompt.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("promptCommunication"), expressionType: h.globalTypes.prompt, label: M.builderParts.communication.prompt.name }), new m.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("addPromptCommunicationType").setDefaultText("auto").setAllowModeLiteralOnly(true).facets.setTrim(true).setAllowableValues([{ id: "auto", displayString: F.editPrompt.automaticForOutputMode }, { id: "tts", displayString: F.editPrompt.ttsLabel }, { id: "text", displayString: F.editPrompt.textLabel }]), expressionType: h.globalTypes.string, label: M.builderParts.string.prompt.name })], generators: { promptGenerator: A.default.create().addFuncCall("ToCommunication").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(%1$s)"), promptGeneratorGenericBuilder: N.default.singleTokenReplacementGenerator, promptTextGenerator: A.default.create().addFuncCall("ToCommunication").addFuncCall("GetPromptText").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(GetPromptText(%1$s))"), promptTextGeneratorGenericBuilder: A.default.create().addFuncCall("GetPromptText").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("GetPromptText(%1$s)"), promptTtsGenerator: A.default.create().addFuncCall("ToCommunication").addFuncCall("GetPromptTextToSpeech").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(GetPromptTextToSpeech(%1$s))"), promptTtsGeneratorGenericBuilder: A.default.create().addFuncCall("GetPromptTextToSpeech").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("GetPromptTextToSpeech(%1$s)"), getExpressionGenerator: (e3, t3) => { let i3; try { if (e3 && e3.builderPartExpressions && e3.builderPartExpressions.length > 1) { - const n3 = e3.builderViewModel.builderDef.id === v.builderIds.parts.genericCommunication ? "GenericBuilder" : ""; + const n3 = e3.builderViewModel.builderDef.id === I.builderIds.parts.genericCommunication ? "GenericBuilder" : ""; switch (e3.builderPartExpressions[1].text) { case "auto": i3 = t3[`promptGenerator${n3}`]; @@ -112715,26 +121785,26 @@ ${e3.stack}`, n3 = [this].concat(i3); } catch (e4) { } return i3 || t3.promptGenerator; - } }, requiredFeatureConfig: p.default.botFlowsPromptFeature, viewId: R.selectAndAddPrompt, id: C.builderPartIds.communication.prompt, icon: d.default.communication, name: M.builderParts.communication.prompt.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: I.builderCategoryIds.toolbar, description: M.builderParts.string.text.description, partConfigurators: { configureWithLanguageContext: (e3, t3, i3) => { - O.resolveParametersAndSetExpressionValue(e3, e3.builderPartExpressions[0], t3, i3); + } }, requiredFeatureConfig: p.default.botFlowsPromptFeature, viewId: w.selectAndAddPrompt, id: C.builderPartIds.communication.prompt, icon: c.default.communication, name: M.builderParts.communication.prompt.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: O.builderCategoryIds.toolbar, description: M.builderParts.string.text.description, partConfigurators: { configureWithLanguageContext: (e3, t3, i3) => { + v.resolveParametersAndSetExpressionValue(e3, e3.builderPartExpressions[0], t3, i3); } }, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => { e3.setAllowModeLiteralOnly().setBlankDeterminationShouldNotTrim(true).setBlankWarningText(F.facets.valueIsBlank).setIninTestingField("stringLiteral").facets.setWarnOnEmpty(true); }, expressionType: h.globalTypes.string, label: M.builderParts.string.text.name })], generators: { expressionGenerator: A.default.create().addFuncCall("ToCommunication").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(%1$s)"), rawExpressionGenerator: N.default.singleTokenReplacementGenerator, getExpressionGenerator: (e3, t3) => { let i3 = t3.expressionGenerator; try { - e3.builderViewModel.builderDef.id === v.builderIds.parts.genericCommunication && (i3 = t3.rawExpressionGenerator); + e3.builderViewModel.builderDef.id === I.builderIds.parts.genericCommunication && (i3 = t3.rawExpressionGenerator); } catch (e4) { } return i3; - } }, viewId: b.defaultWithNoLabel, id: C.builderPartIds.communication.text, icon: d.default.string, name: M.builderParts.communication.text.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoice, r2.flowTypes.flowTypeVoiceSurvey], version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: [I.builderCategoryIds.toolbar, I.builderCategoryIds.markdown], description: M.builderParts.communication.markdown.description, displayStringOverride: (e3, t3) => ({ displayString: (null == e3 ? void 0 : e3.getSavedMarkdownText()) || e3.markdownExpression.text, shouldTokenizeDisplayString: false }), expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setDefaultToExpression(true).setIninTestingField("communicationMarkdown").setIsOptional(true), expressionType: h.globalTypes.communication, label: M.builderParts.communication.markdown.name })], generators: { blankGenerator: N.default.notSetCommunicationGenerator, expressionGenerator: A.default.create().addFuncCall("ToCommunication").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(%1$s)"), getExpressionGenerator: (e3, t3) => { + } }, viewId: b.defaultWithNoLabel, id: C.builderPartIds.communication.text, icon: c.default.string, name: M.builderParts.communication.text.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoice, r2.flowTypes.flowTypeVoiceSurvey], version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: [O.builderCategoryIds.toolbar, O.builderCategoryIds.markdown], description: M.builderParts.communication.markdown.description, displayStringOverride: (e3, t3) => ({ displayString: (null == e3 ? void 0 : e3.getSavedMarkdownText()) || e3.markdownExpression.text, shouldTokenizeDisplayString: false }), expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setDefaultToExpression(true).setIninTestingField("communicationMarkdown").setIsOptional(true), expressionType: h.globalTypes.communication, label: M.builderParts.communication.markdown.name })], generators: { blankGenerator: N.default.notSetCommunicationGenerator, expressionGenerator: A.default.create().addFuncCall("ToCommunication").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(%1$s)"), getExpressionGenerator: (e3, t3) => { var i3; return (null === (i3 = e3.builderPartExpressions[0]) || void 0 === i3 ? void 0 : i3.text) ? t3.expressionGenerator : t3.blankGenerator; } }, partConfigurators: { configureWithLanguageContexts: (e3, t3, i3) => { - const n3 = O.resolvePartsParametersAndGetText(e3, t3, i3, true); + const n3 = v.resolvePartsParametersAndGetText(e3, t3, i3, true); if (!n3.length) return; const r3 = n3.join(" "); e3.setMarkdownTextImmediate(r3); - } }, viewId: E.markdown, id: C.builderPartIds.communication.markdown, icon: d.default.modifyIntents, name: M.builderParts.communication.markdown.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, version: 1 })), D.default.addBuilderPartDef(new S.default({ categoryIdentifierOrIdentifiers: I.builderCategoryIds.toolbar, description: M.builderParts.communication.data.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setAsVariableInput().setIninTestingField("dataToCommunication"), expressionType: h.globalTypes.any, label: M.builderParts.communication.data.name })], generators: { toDisplayStringGenerator: A.default.create().addFuncCall("ToDisplayString").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToDisplayString(%1$s)"), toStringGenerator: A.default.create().addFuncCall("ToString").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToString(%1$s)"), formattingGenerator: (e3, t3) => { + } }, viewId: E.markdown, id: C.builderPartIds.communication.markdown, icon: c.default.modifyIntents, name: M.builderParts.communication.markdown.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, version: 1 })), D.default.addBuilderPartDef(new S.default({ categoryIdentifierOrIdentifiers: O.builderCategoryIds.toolbar, description: M.builderParts.communication.data.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setAsVariableInput().setIninTestingField("dataToCommunication"), expressionType: h.globalTypes.any, label: M.builderParts.communication.data.name })], generators: { toDisplayStringGenerator: A.default.create().addFuncCall("ToDisplayString").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToDisplayString(%1$s)"), toStringGenerator: A.default.create().addFuncCall("ToString").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToString(%1$s)"), formattingGenerator: (e3, t3) => { const i3 = e3.getVariableFormattingMetadataForExpression(t3); if (!(null == i3 ? void 0 : i3.overloadId)) return; const n3 = _.expressionDataService.expressionFuncOpsByOverloadId[i3.overloadId]; @@ -112743,7 +121813,7 @@ ${e3.stack}`, n3 = [this].concat(i3); let r3, o2, s2, l2; if (null == t3 ? void 0 : t3.isVariableMode) { const i4 = t3.variables[Object.keys(t3.variables)[0]]; - o2 = _.expressionDataService.expressionFuncOpsByOverloadId[c.default.any_ResolveSlot_any], (null == i4 ? void 0 : i4.isSlotVariable) && (null == o2 ? void 0 : o2.isAvailableForFlowType(e3.parentFlowType)) && (r3 = true); + o2 = _.expressionDataService.expressionFuncOpsByOverloadId[d.default.any_ResolveSlot_any], (null == i4 ? void 0 : i4.isSlotVariable) && (null == o2 ? void 0 : o2.isAvailableForFlowType(e3.parentFlowType)) && (r3 = true); } return r3 && o2 ? (s2 = A.default.create().addFuncCall(n3.parent.text).addFuncCall(o2.parent.text).addTokenReplacement(0).addFuncCallEnd(), l2 = `${n3.parent.text}(${o2.parent.text}(%1$s)`) : (s2 = A.default.create().addFuncCall(n3.parent.text).addTokenReplacement(0), l2 = `${n3.parent.text}(%1$s`), n3.operands.forEach((e4, t4) => { 0 !== t4 && (i3.operandValues[e4.name] ? a.default.extEnsureArray(i3.operandValues[e4.name]).forEach((e5) => { @@ -112759,15 +121829,15 @@ ${e3.stack}`, n3 = [this].concat(i3); } } return N.default.singleTokenReplacementGenerator; - } }, id: C.builderPartIds.communication.data, icon: d.default.database, viewId: w.variableWithFormatting, name: M.builderParts.communication.data.name, partConfigurators: { configureWithLanguageContext: (e3, t3, i3) => { - O.resolveParametersAndSetExpressionValue(e3, e3.builderPartExpressions[0], t3, i3); - } }, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: u.default.getFlowTypesThatSupportLanguages(), version: 1 })), D.default.addBuilderPartContainerDef(new g.default({ categoryIdentifierOrIdentifiers: [I.builderCategoryIds.container, I.builderCategoryIds.markdown], description: M.builderParts.container.language.description, generators: { containerPartsGenerator: A.default.create().addFuncCall("MakeCommunication").addFuncCallParmGenerationBucket("makeCommunication", true).addFuncCallEnd().verifySprintfStringAndInitialize("MakeCommunication()"), languageCheckGenerator: A.default.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("makeCommunication", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), "), wantContainerPartsGeneratorForSingleton: true }, id: C.builderPartIds.communication.container.language, name: M.builderParts.container.language.name, resultExpressionType: h.globalTypes.communication, version: 1, wantBucketOnSingleGeneration: true })), D.default.addBuilderPartContainerDef(new f.default({ categoryIdentifierOrIdentifiers: [I.builderCategoryIds.container, I.builderCategoryIds.markdown], description: M.builderParts.container.languageAndOutputMode.description, generators: { containerPartsGenerator: A.default.create().addFuncCall("MakeCommunication").addFuncCallParmGenerationBucket("makeCommunication", true).addFuncCallEnd().verifySprintfStringAndInitialize("MakeCommunication()"), wantContainerPartsGeneratorForSingleton: true }, id: C.builderPartIds.communication.container.languageAndOutputMode, name: M.builderParts.container.languageAndOutputMode.name, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, resultExpressionType: h.globalTypes.communication, version: 1, wantBucketOnSingleGeneration: true })), D.default.addBuilderPartContainerDef(new T.default({ categoryIdentifierOrIdentifiers: [I.builderCategoryIds.container, I.builderCategoryIds.markdown], description: M.builderParts.container.outputMode.description, generators: { containerPartsGenerator: A.default.create().addFuncCall("MakeCommunication").addFuncCallParmGenerationBucket("makeCommunication", true).addFuncCallEnd().verifySprintfStringAndInitialize("MakeCommunication()"), wantContainerPartsGeneratorForSingleton: true }, id: C.builderPartIds.communication.container.outputMode, name: M.builderParts.container.outputMode.name, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, resultExpressionType: h.globalTypes.communication, version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: I.builderCategoryIds.toolbar, description: M.builderParts.communication.expression.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setAllowModeExpressionOnly(true).setIninTestingField("communicationExpression"), expressionType: h.globalTypes.communication, label: M.builderParts.communication.expression.name })], viewId: b.defaultWithNoLabel, generators: { expressionGenerator: N.default.singleTokenReplacementGenerator }, id: C.builderPartIds.communication.expression, icon: d.default.expression, name: M.builderParts.communication.expression.name, resultExpressionType: h.globalTypes.communication, version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: I.builderCategoryIds.toolbar, description: M.builderParts.communication.imageUrlText.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("urlExpression").setDefaultText("https://"), expressionType: h.globalTypes.string, label: M.builderParts.communication.imageUrlText.name })], viewId: b.defaultWithNoLabel, generators: { expressionGenerator: A.default.create().addFuncCall("ToCommunication").addFuncCall("MakeImageFromUrl").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(MakeImageFromUrl(%1$s))") }, id: C.builderPartIds.communication.imageUrl, icon: d.default.image, name: M.builderParts.communication.imageUrlText.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: I.builderCategoryIds.toolbar, description: M.builderParts.communication.videoUrlText.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("urlExpression").setDefaultText("https://"), expressionType: h.globalTypes.string, label: M.builderParts.communication.videoUrlText.name })], viewId: b.defaultWithNoLabel, generators: { expressionGenerator: A.default.create().addFuncCall("ToCommunication").addFuncCall("MakeVideoFromUrl").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(MakeVideoFromUrl(%1$s))") }, id: C.builderPartIds.communication.videoUrl, icon: d.default.video, name: M.builderParts.communication.videoUrlText.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, requiredFeatureConfig: p.default.botFlowsAttachmentsFeature, version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: I.builderCategoryIds.toolbar, description: M.builderParts.communication.digitalAudioUrlText.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("urlExpression").setDefaultText("https://"), expressionType: h.globalTypes.string, label: M.builderParts.communication.digitalAudioUrlText.name })], viewId: b.defaultWithNoLabel, generators: { expressionGenerator: A.default.create().addFuncCall("ToCommunication").addFuncCall("MakeDigitalAudioFromUrl").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(MakeDigitalAudioFromUrl(%1$s))") }, id: C.builderPartIds.communication.digitalAudioUrl, icon: d.default.digitalAudio, name: M.builderParts.communication.digitalAudioUrlText.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, requiredFeatureConfig: p.default.botFlowsAttachmentsFeature, sortValue: "rjd", version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: I.builderCategoryIds.toolbar, description: M.builderParts.communication.fileUrlText.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("urlExpression").setDefaultText("https://"), expressionType: h.globalTypes.string, label: M.builderParts.communication.fileUrlText.name })], viewId: b.defaultWithNoLabel, generators: { expressionGenerator: A.default.create().addFuncCall("ToCommunication").addFuncCall("MakeFileFromUrl").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(MakeFileFromUrl(%1$s))") }, id: C.builderPartIds.communication.fileUrl, icon: d.default.file, name: M.builderParts.communication.fileUrlText.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, requiredFeatureConfig: p.default.botFlowsAttachmentsFeature, sortValue: "rjf", version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: I.builderCategoryIds.toolbar, description: M.builderParts.communication.blank.blankCommunicationDescription, partConfigurators: { configureWithLanguageContext: (e3, t3, i3) => { - O.resolveParametersAndSetExpressionValue(e3, e3.builderPartExpressions[0], t3, i3); + } }, id: C.builderPartIds.communication.data, icon: c.default.database, viewId: R.variableWithFormatting, name: M.builderParts.communication.data.name, partConfigurators: { configureWithLanguageContext: (e3, t3, i3) => { + v.resolveParametersAndSetExpressionValue(e3, e3.builderPartExpressions[0], t3, i3); + } }, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: u.default.getFlowTypesThatSupportLanguages(), version: 1 })), D.default.addBuilderPartContainerDef(new g.default({ categoryIdentifierOrIdentifiers: [O.builderCategoryIds.container, O.builderCategoryIds.markdown], description: M.builderParts.container.language.description, generators: { containerPartsGenerator: A.default.create().addFuncCall("MakeCommunication").addFuncCallParmGenerationBucket("makeCommunication", true).addFuncCallEnd().verifySprintfStringAndInitialize("MakeCommunication()"), languageCheckGenerator: A.default.create().addFuncCall("If").addFuncCall("AreEqual").addTokenBooleanTrue().addFuncParameterSeparator().addTokenReplacement(0).addFuncParameterSeparator().addTokenReplacement(1).addFuncCallEnd().addFuncParameterSeparator().addFuncCallParmGenerationBucket("makeCommunication", true).verifySprintfStringAndInitialize("If(AreEqual(true, %1$s, %2$s), "), wantContainerPartsGeneratorForSingleton: true }, id: C.builderPartIds.communication.container.language, name: M.builderParts.container.language.name, resultExpressionType: h.globalTypes.communication, version: 1, wantBucketOnSingleGeneration: true })), D.default.addBuilderPartContainerDef(new f.default({ categoryIdentifierOrIdentifiers: [O.builderCategoryIds.container, O.builderCategoryIds.markdown], description: M.builderParts.container.languageAndOutputMode.description, generators: { containerPartsGenerator: A.default.create().addFuncCall("MakeCommunication").addFuncCallParmGenerationBucket("makeCommunication", true).addFuncCallEnd().verifySprintfStringAndInitialize("MakeCommunication()"), wantContainerPartsGeneratorForSingleton: true }, id: C.builderPartIds.communication.container.languageAndOutputMode, name: M.builderParts.container.languageAndOutputMode.name, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, resultExpressionType: h.globalTypes.communication, version: 1, wantBucketOnSingleGeneration: true })), D.default.addBuilderPartContainerDef(new T.default({ categoryIdentifierOrIdentifiers: [O.builderCategoryIds.container, O.builderCategoryIds.markdown], description: M.builderParts.container.outputMode.description, generators: { containerPartsGenerator: A.default.create().addFuncCall("MakeCommunication").addFuncCallParmGenerationBucket("makeCommunication", true).addFuncCallEnd().verifySprintfStringAndInitialize("MakeCommunication()"), wantContainerPartsGeneratorForSingleton: true }, id: C.builderPartIds.communication.container.outputMode, name: M.builderParts.container.outputMode.name, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypesAllCicero, resultExpressionType: h.globalTypes.communication, version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: O.builderCategoryIds.toolbar, description: M.builderParts.communication.expression.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setAllowModeExpressionOnly(true).setIninTestingField("communicationExpression"), expressionType: h.globalTypes.communication, label: M.builderParts.communication.expression.name })], viewId: b.defaultWithNoLabel, generators: { expressionGenerator: N.default.singleTokenReplacementGenerator }, id: C.builderPartIds.communication.expression, icon: c.default.expression, name: M.builderParts.communication.expression.name, resultExpressionType: h.globalTypes.communication, version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: O.builderCategoryIds.toolbar, description: M.builderParts.communication.imageUrlText.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("urlExpression").setDefaultText("https://"), expressionType: h.globalTypes.string, label: M.builderParts.communication.imageUrlText.name })], viewId: b.defaultWithNoLabel, generators: { expressionGenerator: A.default.create().addFuncCall("ToCommunication").addFuncCall("MakeImageFromUrl").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(MakeImageFromUrl(%1$s))") }, id: C.builderPartIds.communication.imageUrl, icon: c.default.image, name: M.builderParts.communication.imageUrlText.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: O.builderCategoryIds.toolbar, description: M.builderParts.communication.videoUrlText.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("urlExpression").setDefaultText("https://"), expressionType: h.globalTypes.string, label: M.builderParts.communication.videoUrlText.name })], viewId: b.defaultWithNoLabel, generators: { expressionGenerator: A.default.create().addFuncCall("ToCommunication").addFuncCall("MakeVideoFromUrl").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(MakeVideoFromUrl(%1$s))") }, id: C.builderPartIds.communication.videoUrl, icon: c.default.video, name: M.builderParts.communication.videoUrlText.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, requiredFeatureConfig: p.default.botFlowsAttachmentsFeature, version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: O.builderCategoryIds.toolbar, description: M.builderParts.communication.digitalAudioUrlText.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("urlExpression").setDefaultText("https://"), expressionType: h.globalTypes.string, label: M.builderParts.communication.digitalAudioUrlText.name })], viewId: b.defaultWithNoLabel, generators: { expressionGenerator: A.default.create().addFuncCall("ToCommunication").addFuncCall("MakeDigitalAudioFromUrl").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(MakeDigitalAudioFromUrl(%1$s))") }, id: C.builderPartIds.communication.digitalAudioUrl, icon: c.default.digitalAudio, name: M.builderParts.communication.digitalAudioUrlText.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, requiredFeatureConfig: p.default.botFlowsAttachmentsFeature, sortValue: "rjd", version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: O.builderCategoryIds.toolbar, description: M.builderParts.communication.fileUrlText.description, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => e3.setIninTestingField("urlExpression").setDefaultText("https://"), expressionType: h.globalTypes.string, label: M.builderParts.communication.fileUrlText.name })], viewId: b.defaultWithNoLabel, generators: { expressionGenerator: A.default.create().addFuncCall("ToCommunication").addFuncCall("MakeFileFromUrl").addTokenReplacement(0).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(MakeFileFromUrl(%1$s))") }, id: C.builderPartIds.communication.fileUrl, icon: c.default.file, name: M.builderParts.communication.fileUrlText.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: r2.flowTypes.flowTypeDigitalBot, requiredFeatureConfig: p.default.botFlowsAttachmentsFeature, sortValue: "rjf", version: 1 })), D.default.addBuilderPartDef(new y.default({ categoryIdentifierOrIdentifiers: O.builderCategoryIds.toolbar, description: M.builderParts.communication.blank.blankCommunicationDescription, partConfigurators: { configureWithLanguageContext: (e3, t3, i3) => { + v.resolveParametersAndSetExpressionValue(e3, e3.builderPartExpressions[0], t3, i3); } }, expressionDefs: [new m.default({ configureOptionsCallback: (e3) => { e3.setIninTestingField("addBlankCommunicationType").setAllowModeLiteralOnly().facets.setAllowableValueUseOriginalDisplayString(true).setAllowableValues([{ id: 100, displayString: (0, o.sprintf)(F.blankAudio.msContext, "100") }, { id: 250, displayString: (0, o.sprintf)(F.blankAudio.msContext, "250") }, { id: 500, displayString: (0, o.sprintf)(F.blankAudio.msContext, "500") }, { id: 750, displayString: (0, o.sprintf)(F.blankAudio.msContext, "750") }, { id: 1e3, displayString: F.blankAudio.oneSecond }, { id: 2e3, displayString: (0, o.sprintf)(F.blankAudio.secondsContext, "2") }, { id: 3e3, displayString: (0, o.sprintf)(F.blankAudio.secondsContext, "3") }, { id: 5e3, displayString: (0, o.sprintf)(F.blankAudio.secondsContext, "5") }], true); - }, expressionType: h.globalTypes.integer, label: M.builderParts.communication.blank.blankCommunicationName, requiredFuncOpOverloadIds: ["Communication_ONE ToCommunicationBlank(Long_ONE)"] })], generators: { blankGenerator: A.default.create().addFuncCall("ToCommunicationBlank").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunicationBlank(%1$s)"), getExpressionGenerator: (e3, t3) => t3.blankGenerator }, viewId: b.defaultWithNoLabel, id: C.builderPartIds.communication.blank, icon: d.default.blankAudio, name: M.builderParts.communication.blank.blankCommunicationName, resultExpressionType: h.globalTypes.communication, requiredChannelTypeOrTypes: l.channelTypeCall, version: 1, sortValue: "z", displayStringOverride: (e3, t3) => ({ displayString: (0, o.sprintf)(F.blankAudio.blankAudioLabel, t3 || F.literal.empty), shouldTokenizeDisplayString: true }) })); + }, expressionType: h.globalTypes.integer, label: M.builderParts.communication.blank.blankCommunicationName, requiredFuncOpOverloadIds: ["Communication_ONE ToCommunicationBlank(Long_ONE)"] })], generators: { blankGenerator: A.default.create().addFuncCall("ToCommunicationBlank").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunicationBlank(%1$s)"), getExpressionGenerator: (e3, t3) => t3.blankGenerator }, viewId: b.defaultWithNoLabel, id: C.builderPartIds.communication.blank, icon: c.default.blankAudio, name: M.builderParts.communication.blank.blankCommunicationName, resultExpressionType: h.globalTypes.communication, requiredChannelTypeOrTypes: l.channelTypeCall, version: 1, sortValue: "z", displayStringOverride: (e3, t3) => ({ displayString: (0, o.sprintf)(F.blankAudio.blankAudioLabel, t3 || F.literal.empty), shouldTokenizeDisplayString: true }) })); }; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(24032)), l = n2.__importStar(i2(85020)), u = n2.__importDefault(i2(98114)), d = n2.__importDefault(i2(61864)), c = n2.__importDefault(i2(80145)), p = n2.__importDefault(i2(4648)), _ = i2(27491), h = i2(14394), m = n2.__importDefault(i2(76486)), g = n2.__importDefault(i2(79904)), f = n2.__importDefault(i2(81818)), T = n2.__importDefault(i2(41568)), y = n2.__importDefault(i2(42290)), S = n2.__importDefault(i2(34875)), A = n2.__importDefault(i2(22599)), N = n2.__importDefault(i2(96727)), O = n2.__importStar(i2(80568)), I = i2(73062), v = i2(28562), C = i2(69149), b = i2(93631), E = i2(93631), R = i2(93631), w = i2(93631), D = n2.__importDefault(i2(5532)), P = s.getTopic("communicationPartDefs"), M = i2(16958), F = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(24032)), l = n2.__importStar(i2(85020)), u = n2.__importDefault(i2(98114)), c = n2.__importDefault(i2(61864)), d = n2.__importDefault(i2(80145)), p = n2.__importDefault(i2(4648)), _ = i2(27491), h = i2(14394), m = n2.__importDefault(i2(76486)), g = n2.__importDefault(i2(79904)), f = n2.__importDefault(i2(81818)), T = n2.__importDefault(i2(41568)), y = n2.__importDefault(i2(42290)), S = n2.__importDefault(i2(34875)), A = n2.__importDefault(i2(22599)), N = n2.__importDefault(i2(96727)), v = n2.__importStar(i2(80568)), O = i2(73062), I = i2(28562), C = i2(69149), b = i2(93631), E = i2(93631), w = i2(93631), R = i2(93631), D = n2.__importDefault(i2(5532)), P = s.getTopic("communicationPartDefs"), M = i2(16958), F = i2(47957); }, 95812: (e2, t2, i2) => { const n2 = i2(76768), r2 = i2(7401), { uuid: o } = i2(9456); function a() { @@ -112811,7 +121881,7 @@ ${e3.stack}`, n3 = [this].concat(i3); "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.getGrammars = a, t2.getGrammar = s, t2.getGrammarWithStatus = function(e3, t3) { return o.default.build(r2.getGrammarWithStatus).templateParams({ id: e3, includeFileUrls: !!t3 }).call(); - }, t2.getGrammarLanguage = l, t2.deleteGrammar = u, t2.updateGrammar = d, t2.updateGrammarLanguage = c, t2.createGrammar = p, t2.addLanguageToGrammar = _, t2.removeLanguageFromGrammar = h, t2.createGrammarFileUploadUrl = m, t2.deleteGrammarFile = g, t2.uploadGrammarFile = f, t2.downloadGrammarFile = T; + }, t2.getGrammarLanguage = l, t2.deleteGrammar = u, t2.updateGrammar = c, t2.updateGrammarLanguage = d, t2.createGrammar = p, t2.addLanguageToGrammar = _, t2.removeLanguageFromGrammar = h, t2.createGrammarFileUploadUrl = m, t2.deleteGrammarFile = g, t2.uploadGrammarFile = f, t2.downloadGrammarFile = T; const n2 = i2(31635), r2 = n2.__importStar(i2(72124)), o = n2.__importDefault(i2(36019)); function a(e3) { const t3 = o.default.build(r2.getGrammars); @@ -112827,13 +121897,13 @@ ${e3.stack}`, n3 = [this].concat(i3); const t3 = o.default.build(r2.deleteGrammar); return t3.templateParams({ id: e3 }), t3.call(); } - function d(e3, t3, i3) { + function c(e3, t3, i3) { const n3 = o.default.build(r2.updateGrammar); n3.templateParams({ id: e3 }); const a2 = { name: t3, description: i3 }; return n3.content(a2), n3.headers["Content-Type"] = "application/json", n3.call(); } - function c(e3, t3, i3, n3) { + function d(e3, t3, i3, n3) { const a2 = o.default.build(r2.updateGrammarLanguage).templateParams({ grammarId: e3, languageCode: t3 }), s2 = {}; return null !== i3 && (s2.dtmfFileMetadata = i3), null !== n3 && (s2.voiceFileMetadata = n3), a2.content(s2), a2.headers["Content-Type"] = "application/json", a2.call(); } @@ -112865,13 +121935,13 @@ ${e3.stack}`, n3 = [this].concat(i3); const t3 = o.default.build(r2.downloadGrammarFile); return t3.templateParams({ url: e3 }), t3.headers = "raw-file", t3.call(); } - a.api = r2.getGrammars, s.api = r2.getGrammar, s.api = r2.getGrammarWithStatus, l.api = r2.getGrammarLanguage, u.api = r2.deleteGrammar, d.api = r2.updateGrammar, c.api = r2.updateGrammarLanguage, p.api = r2.createGrammar, _.api = r2.addLanguageToGrammar, h.api = r2.removeLanguageFromGrammar, m.api = r2.createGrammarFileUploadUrl, g.api = r2.deleteGrammarFile, f.api = r2.uploadGrammarFile, T.api = r2.downloadGrammarFile; + a.api = r2.getGrammars, s.api = r2.getGrammar, s.api = r2.getGrammarWithStatus, l.api = r2.getGrammarLanguage, u.api = r2.deleteGrammar, c.api = r2.updateGrammar, d.api = r2.updateGrammarLanguage, p.api = r2.createGrammar, _.api = r2.addLanguageToGrammar, h.api = r2.removeLanguageFromGrammar, m.api = r2.createGrammarFileUploadUrl, g.api = r2.deleteGrammarFile, f.api = r2.uploadGrammarFile, T.api = r2.downloadGrammarFile; }, 95934: (e2, t2, i2) => { "use strict"; var n2, r2, o, a; Object.defineProperty(t2, "__esModule", { value: true }); - const s = i2(31635), l = s.__importDefault(i2(78432)), u = i2(30801), d = s.__importDefault(i2(21345)); - class c extends d.default { + const s = i2(31635), l = s.__importDefault(i2(78432)), u = i2(30801), c = s.__importDefault(i2(21345)); + class d extends c.default { constructor(e3) { super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.set(this, void 0), s.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.deflectTo), "f"), s.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.message), "f"), s.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.smsFrom), "f"), s.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.smsTo), "f"); } @@ -112904,7 +121974,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), t2.default = c; + n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), t2.default = d; }, 95936: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.merge = void 0; @@ -112917,8 +121987,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 95955: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(43011)), s = n2.__importStar(i2(98442)), l = i2(14394), u = i2(1115), d = i2(12179), c = n2.__importDefault(i2(68460)), p = i2(47957), _ = i2(33948); - class h extends c.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(43011)), s = n2.__importStar(i2(98442)), l = i2(14394), u = i2(1115), c = i2(12179), d = n2.__importDefault(i2(68460)), p = i2(47957), _ = i2(33948); + class h extends d.default { get className() { return "CallPromptsViewModel"; } @@ -112938,8 +122008,10 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.parentFlow.promptMediaToValidate; } set promptMediaToValidate(e3) { - this.parentFlow.promptMediaToValidate = e3, (0, u.validateItem)(this, true), Object.values(a.getAllPrompts()).forEach((e4) => { - e4.visibleUsages && e4.visibleUsages.length > 0 && Object.values(e4.usages).forEach((e5) => { + this.parentFlow.promptMediaToValidate = e3, (0, u.validateItem)(this, true); + const t3 = this.parentFlow; + Object.values(a.getAllPrompts()).forEach((e4) => { + e4.visibleUsages(t3) && e4.visibleUsages(t3).length > 0 && e4.getUsagesForFlow(t3).forEach((e5) => { (0, u.validateItem)(e5.referenceElement.parent, true); }); }); @@ -112964,21 +122036,21 @@ ${e3.stack}`, n3 = [this].concat(i3); return "roster-chat"; } get helpTopic() { - return d.helpTopics.treeNodes.promptsView; + return c.helpTopics.treeNodes.promptsView; } get outOfService() { return !l.globalTypes.prompt.isAvailableForFlow(this.parentFlow); } search(e3) { o.default.each(a.getAllPrompts(), (t3) => { - o.default.isEmpty(t3.usages) || (e3.checkName(t3, t3.displayName, t3.type.displayString), e3.checkText(t3, t3.description, p.search.promptDescription)); + o.default.isEmpty(t3.getUsagesForFlow(this.parentFlow)) || (e3.checkName(t3, t3.displayName, t3.type.displayString), e3.checkText(t3, t3.description, p.search.promptDescription)); }); } validate(e3) { if (!this.parentFlow.validateHasAudioOnly) return; - const t3 = Object.values(a.getAllPrompts()).filter((e4) => Object.keys(e4.usages).length > 0 && Object.values(e4.usages).some((e5) => e5.referenceElement.parentFlow === this.parentFlow)); + const t3 = Object.values(a.getAllPrompts()).filter((e4) => e4.getUsagesForFlow(this.parentFlow).length > 0); o.default.each(t3, (t4) => { - o.default.each(t4.languageUsages, (i3) => { + o.default.each(t4.languageUsagesForFlow(this.parentFlow), (i3) => { const n3 = t4.getResource(i3.id); n3 && n3.mediaUri || (n3 && n3.uploadStatus === _.uploaded && !n3.mediaUri ? e3.addError(this, (0, r2.sprintf)(t4.isSystem ? p.audio.promptBeingUploadedSystem : p.audio.promptBeingUploadedUser, t4.displayName, s.getLanguageNameAndCodeDisplay(i3.id))) : e3.addError(this, (0, r2.sprintf)(t4.isSystem ? p.audio.noPromptRecordedSystem : p.audio.noPromptRecordedUser, t4.displayName, s.getLanguageNameAndCodeDisplay(i3.id)))); }); @@ -112992,7 +122064,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 96060: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(73198)), a = i2(80428), s = n2.__importStar(i2(69453)), l = i2(48109), u = n2.__importDefault(i2(4648)), d = n2.__importStar(i2(81858)), c = i2(81176), p = i2(99923), _ = i2(99923), h = i2(99923), m = i2(99923), g = i2(67093), f = i2(14134), T = i2(3172), y = i2(35825), S = i2(47957), A = new y.BoolVariable({ name: "Flow.IsTest", id: "__FLOW_IS_TEST__", description: S.systemVariables.flowIsTest, isReadOnly: true, isSystemVariable: true, version: "1.0" }), N = [new y.DateTimeVariable({ name: "Flow.StartDateTimeUtc", id: "__FLOW_START_TIME__", description: S.systemVariables.flowStartTime, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Flow.Version", id: "__FLOW_VERSION__", description: S.systemVariables.flowVersion, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "System.MaxInt", id: "__MAX_INT__", description: (0, r2.sprintf)(S.systemVariables.maxInt, o.default.maxInt), isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DateTimeVariable({ name: "System.MaxDateTime", id: "__MAX_DATETIME__", description: S.systemVariables.maxDateTime, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DurationVariable({ name: "System.MaxDuration", id: "__MAX_DURATION__", description: S.systemVariables.maxDuration, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "System.MinInt", id: "__MIN_INT__", description: (0, r2.sprintf)(S.systemVariables.minInt, o.default.minInt), isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DateTimeVariable({ name: "System.MinDateTime", id: "__MIN_DATETIME__", description: S.systemVariables.minDateTime, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DurationVariable({ name: "System.MinDuration", id: "__MIN_DURATION__", description: S.systemVariables.minDuration, isReadOnly: true, isSystemVariable: true, version: "1.0" })], O = [A, ...N], I = { digitalBotFlowVariables: [new y.StringVariable({ name: "Session.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.StringVariable({ name: "Session.LastKnowledgeGeneratedAnswer", id: "__SESSION_LAST_KNOWLEDGE_GENERATION__", description: S.systemVariables.sessionLastKnowledgeGenerated, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.botFlowsAnswerGenerationMultipleArticles, version: "1.0" }), new y.StringVariable({ name: "Session.LastKnowledgeSearchId", id: "__SESSION_LAST_KNOWLEDGE_SEARCH_ID__", description: S.systemVariables.sessionLastKnowledgeSearchId, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature, version: "1.0" }), new y.BoolVariable({ name: "Session.IsAuthenticated", id: "__MESSAGE_IS_AUTHENTICATED__", description: S.systemVariables.messagingIsAuthenticated, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.botFlowsAuthentication })], botFlowVariables: [new y.StringVariable({ name: "Session.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.StringVariable({ name: "Session.LastKnowledgeGeneratedAnswer", id: "__SESSION_LAST_KNOWLEDGE_GENERATION__", description: S.systemVariables.sessionLastKnowledgeGenerated, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.botFlowsAnswerGenerationMultipleArticles, version: "1.0" }), new y.StringVariable({ name: "Session.LastKnowledgeSearchId", id: "__SESSION_LAST_KNOWLEDGE_SEARCH_ID__", description: S.systemVariables.sessionLastKnowledgeSearchId, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.botFlowsAdvancedKnowledgeHandling, version: "1.0" }), new y.StringVariable({ name: "Session.LastCollectionMode", id: "__LAST_COLLECTION_MODE__", description: (0, r2.sprintf)(S.systemVariables.lastCollectionModeDescription, (0, l.getListDisplayString)([c.inputMode.speech, c.inputMode.dtmf, c.inputMode.text], false, false, true)), isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.lastCollectionModeVariable })], internalFlowVariables: [new y.StringVariable({ name: "Flow.$lastInput", id: "__LAST_INPUT__", isInternal: true, isReadOnly: true, isSystemVariable: true, version: "1.0" })], commonCallVariables: [new y.StringVariable({ name: "Call.Ani", id: "__CALL_ANI__", description: S.systemVariables.callAni, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.CalledAddress", id: "__CALL_DNIS__", description: S.systemVariables.callCalledAddress, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.CalledAddressOriginal", id: "__CALL_DNIS_ORIGINAL__", description: S.systemVariables.callCalledAddressOriginal, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.StringVariable({ name: "Call.ExternalTag", id: "__EXTERNAL_TAG__", description: S.systemVariables.callExternalTag, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.RemoteName", id: "__CALL_REMOTE_NAME__", description: S.systemVariables.callRemoteName, isReadOnly: true, isSystemVariable: true, version: "1.0" })], callFlowVariables: [new y.StringVariable({ name: "Call.ConversationId", id: "__CALL_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.systemVariables.callConversationId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Interaction.Id", id: "__INTERACTION_ID__", description: S.systemVariables.interactionId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.Language", id: "__INTERACTION_LANGUAGE__", deprecatedName: "interaction.language", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.LastCollectionMode", id: "__LAST_COLLECTION_MODE__", description: (0, r2.sprintf)(S.systemVariables.lastCollectionModeDescription, (0, l.getListDisplayString)([c.inputMode.speech, c.inputMode.dtmf], false, false, true)), isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.lastCollectionModeVariable })], dateOnlyAndTimeOnlySystemVariables: [new y.DateVariable({ name: "System.MaxDate", id: "__MAX_DATE__", description: S.systemVariables.maxDate, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DateVariable({ name: "System.MinDate", id: "__MIN_DATE__", description: S.systemVariables.minDate, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.TimeVariable({ name: "System.MaxTime", id: "__MAX_TIME__", description: S.systemVariables.maxTime, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.TimeVariable({ name: "System.MinTime", id: "__MIN_TIME__", description: S.systemVariables.minTime, isReadOnly: true, isSystemVariable: true, version: "1.0" })], formatVariables: [new g.BoolFormatEnumContainerVariable({ name: "Format.Bool", id: "__FORMAT_BOOL__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true }), new g.CurrencyFormatEnumContainerVariable({ name: "Format.Currency", id: "__FORMAT_CURRENCY__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true }), new g.DateFormatEnumContainerVariable({ name: "Format.Date", id: "__FORMAT_DATE__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true }), new g.TimePartEnumContainerVariable({ name: "Format.TimePart", id: "__FORMAT_TIME_PART__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true }), new g.NumberFormatEnumContainerVariable({ name: "Format.Number", id: "__FORMAT_NUMBER__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true }), new g.PhoneNumberFormatEnumContainerVariable({ name: "Format.PhoneNumber", id: "__FORMAT_PHONE_NUMBER__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true, featureToggleName: d.archPhoneNumberPhase2 }), new g.StringFormatEnumContainerVariable({ name: "Format.String", id: "__FORMAT_STRING__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true }), new g.TimeFormatEnumContainerVariable({ name: "Format.Time", id: "__FORMAT_TIME__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true })], languageVariables: [new T.LanguageCaseEnumContainerVariable({ name: "Language.Case", id: "__LANGUAGE_CASE__", isReadOnly: true, isSystemVariable: true, version: "1.0" }), new T.LanguageGenderEnumContainerVariable({ name: "Language.Gender", id: "__LANGUAGE_GENDER__", isReadOnly: true, isSystemVariable: true, version: "1.0" }), new T.LanguageQuantityEnumContainerVariable({ name: "Language.Quantity", id: "__LANGUAGE_QUANTITY__", isReadOnly: true, isSystemVariable: true, version: "1.0" })], lookupVariables: [new f.DateTimeEnumContainerVariable({ name: "System.DateTime", id: "__SYSINFO_DATETIME__", description: S.systemVariables.infoDateTimes, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new f.CurrenciesEnumContainerVariable({ name: "System.Currencies", id: "__SYSINFO_CURRENCIES__", description: S.systemVariables.infoCurrencies, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new f.LanguagesEnumContainerVariable({ name: "System.Languages", id: "__SYSINFO_LANGUAGES__", description: S.systemVariables.infoLanguages, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new f.RegionsEnumContainerVariable({ name: "System.Regions", id: "__SYSINFO_REGIONS__", description: S.systemVariables.infoRegions, isReadOnly: true, isSystemVariable: true, version: "1.0" })], menuVariables: [new y.BoolVariable({ name: "Menu.LastCollectionNoInput", id: "__MENU_LAST_COLLECTION_NO_INPUT__", description: S.systemVariables.menuLastCollectionNoInput, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.voicemailFlows }), new y.BoolVariable({ name: "Menu.LastCollectionNoMatch", id: "__MENU_LAST_COLLECTION_NO_MATCH__", description: S.systemVariables.menuLastCollectionNoMatch, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.voicemailFlows })], nluBasedCommonFlowVariables: [new y.StringVariable({ name: "Session.ChannelType", id: "__SESSION_CHANNEL_TYPE__", description: S.systemVariables.sessionChannelType, descriptionOverrides: { voicesurvey: S.systemVariables.sessionChannelTypeVoiceSurvey }, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Session.ConversationId", id: "__SESSION_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.systemVariables.sessionConversationId, descriptionOverrides: { voicesurvey: S.systemVariables.sessionConversationIdVoiceSurvey }, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Session.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DecimalVariable({ name: "Session.LastCollectionConfidence", id: "__SESSION_LAST_COLLECTION_CONFIDENCE__", description: (0, r2.sprintf)(S.systemVariables.sessionLastCollectionConfidence, S.actions.askForActionGeneric), descriptionOverrides: { voicesurvey: (0, r2.sprintf)(S.systemVariables.sessionLastCollectionConfidenceVoiceSurvey, S.actions.askForActionGeneric) }, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Session.LastCollectionUtterance", id: "__SESSION_LAST_COLLECTION_UTTERANCE__", description: (0, r2.sprintf)(S.systemVariables.sessionLastCollectionUtterance, S.actions.askForActionGeneric), descriptionOverrides: { voicesurvey: (0, r2.sprintf)(S.systemVariables.sessionLastCollectionUtteranceVoiceSurvey, S.actions.askForActionGeneric) }, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DecimalVariable({ name: "Session.LastNLUCollectionConfidence", id: "__SESSION_LAST_NLU_COLLECTION_CONFIDENCE__", description: (0, r2.sprintf)(S.systemVariables.sessionLastNLUCollectionConfidence, S.actions.askForActionGeneric), featureConfig: u.default.botFlowsLastNLUCollectionConfidence, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Session.Source", id: "__SESSION_SOURCE__", description: S.systemVariables.sessionSource, descriptionOverrides: { voicesurvey: S.systemVariables.sessionSourceVoiceSurvey }, isReadOnly: true, isSystemVariable: true, version: "1.0" })], nluBasedIntentVariables: [new y.StringVariable({ name: "Session.ActiveIntent", id: "__SESSION_ACTIVE_INTENT__", description: S.systemVariables.sessionActiveIntent, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Session.LastCompletedIntent", id: "__SESSION_LAST_COMPLETED_INTENT__", description: (0, r2.sprintf)(S.systemVariables.sessionLastCompletedIntent, S.actions.askForIntent), isReadOnly: true, isSystemVariable: true, version: "1.0" })], nluBasedKnowledgeVariables: [new y.StringVariable({ name: "Session.LastKnowledgeAnswer", id: "__SESSION_LAST_KNOWLEDGE_ANSWER__", description: S.systemVariables.sessionLastKnowledgeAnswer, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.botFlowsKnowledge, version: "1.0" }), new y.StringVariable({ name: "Session.LastKnowledgeQuestion", id: "__SESSION_LAST_KNOWLEDGE_QUESTION__", description: S.systemVariables.sessionLastKnowledgeQuestion, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.botFlowsKnowledge, version: "1.0" })], automateLookupVariables: [new f.ConversationTypesEnumContainerVariable({ name: "System.Conversation", id: "__SYSINFO_CONVERSATION__", description: S.surveyInviteFlowVariables.conversation, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new f.SurveyDispositionsEnumContainerVariable({ name: "System.Survey", id: "__SYSINFO_SURVEY__", description: S.surveyInviteFlowVariables.survey, isReadOnly: true, isSystemVariable: true, version: "1.0" })], systemVariablesNoIsTest: N, systemVariables: O, uuiDataVariable: [new y.StringVariable({ name: "Call.UUIData", id: "__CALL_UUIDATA__", description: S.inboundOutboundAndInQueueCallFlowVariables.uuiData, isReadOnly: true, isSystemVariable: true, version: "1.0", initialValue: false })], outboundCallFlowVariables: [new y.CampaignVariable({ name: "Call.Campaign", id: "__FLOW_CAMPAIGN__", deprecatedName: "flow.campaign", description: S.systemVariables.flowCampaign, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ContactListVariable({ name: "Call.ContactList", id: "__FLOW_CONTACT_LIST__", deprecatedName: "flow.contactlist", description: S.systemVariables.flowContactList, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.WrapupCodeVariable({ name: "Flow.WrapupCode", id: "__FLOW_WRAPUP_CODE__", description: S.systemVariables.flowWrapupCode, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.ContactId", id: "__CALL_CONTACT_ID__", description: S.systemVariables.callContactId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ContactVariable({ name: "Call.Contact", id: "__FLOW_CONTACT__", deprecatedName: "flow.contact", description: S.systemVariables.flowContact, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 })], emailSendFlowVariables: [new y.StringVariable({ name: "Email.ConversationId", id: "__EMAIL_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.systemVariables.emailDraftConversationId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.QueueVariable({ name: "Email.CurrentQueue", id: "__CALL_CURRENT_QUEUE__", description: S.systemVariables.emailDraftCurrentQueueVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.JsonVariable({ name: "Email.Draft", id: "__EMAIL_DRAFT__", description: S.systemVariables.emailDraftVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", typeIdentifier: a.expressionTypeNames.draftEmail }), new y.StringVariable({ name: "Email.ExternalTag", id: "__EXTERNAL_TAG__", description: S.systemVariables.emailExternalTag, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Email.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Flow.AgentUiLanguage", id: "__AGENT_UI_LANGUAGE__", description: s.emailSend.variables.agentUiLanguageDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" })], inboundEmailFlowVariables: [new y.CampaignVariable({ name: "Email.Campaign", id: "__FLOW_CAMPAIGN__", description: S.systemVariables.flowCampaign, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.outboundEmailCampaigns }), new y.ContactListVariable({ name: "Email.ContactList", id: "__FLOW_CONTACT_LIST__", description: S.systemVariables.flowContactList, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.outboundEmailCampaigns }), new y.StringVariable({ name: "Email.ContactId", id: "__CALL_CONTACT_ID__", description: S.systemVariables.callContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.outboundEmailCampaigns }), new y.StringVariable({ name: "Email.ExternalTag", id: "__EXTERNAL_TAG__", description: S.systemVariables.emailExternalTag, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Email.Message", id: "__EMAIL_MESSAGE__", description: S.systemVariables.emailMessage, typeIdentifier: a.expressionTypeNames.email, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Email.ConversationId", id: "__EMAIL_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.systemVariables.emailConversationId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Email.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.StringVariable({ name: "Email.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.LanguageSkillVariable({ name: "Email.LanguageSkill", id: "__CONVERSATION_LANGUAGE_SKILL__", deprecatedId: "__EMAIL_LANGUAGE_SKILL__", description: S.systemVariables.emailLanguageSkill, isReadOnly: true, isSystemVariable: true, version: "1.0" })], inboundShortMessageFlowVariables: [new y.ComplexVariable({ name: "Message.Message", id: "__MESSAGE_MESSAGE__", description: S.systemVariables.messageMessage, typeIdentifier: a.expressionTypeNames.shortMessage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Message.ConversationId", id: "__MESSAGE_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.systemVariables.messagingConversationId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Message.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.StringVariable({ name: "Message.ExternalTag", id: "__EXTERNAL_TAG__", description: S.systemVariables.messageExternalTag, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.BoolVariable({ name: "Message.IsAuthenticated", id: "__MESSAGE_IS_AUTHENTICATED__", description: S.systemVariables.messagingIsAuthenticated, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.authorizedWebMessaging }), new y.BoolVariable({ name: "Message.IsNewConversation", id: "__MESSAGE_IS_NEW_CONVERSATION__", description: S.systemVariables.messagingIsNewConversation, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Message.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.CampaignVariable({ name: "Message.Campaign", id: "__FLOW_CAMPAIGN__", description: S.systemVariables.flowCampaign, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ContactListVariable({ name: "Message.ContactList", id: "__FLOW_CONTACT_LIST__", description: S.systemVariables.flowContactList, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Message.ContactId", id: "__CALL_CONTACT_ID__", description: S.systemVariables.callContactId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Message.JourneyContext", id: "__CHAT_JOURNEY_CONTEXT__", description: S.systemVariables.messageJourneyContextVariableDescription, typeIdentifier: a.expressionTypeNames.journeyContext, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.inboundShortMessageFlows_Journey }), new y.JsonVariable({ name: "Message.InvocationData", id: "__MESSAGE_INVOCATION_DATA__", description: S.systemVariables.invocationData, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.postFlowDigitalFeature })], inboundChatFlowVariables: [new y.ComplexVariable({ name: "Chat.Guest", id: "__CHAT_GUEST__", description: S.systemVariables.chatGuest, typeIdentifier: a.expressionTypeNames.chatGuest, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Chat.ConversationId", id: "__CHAT_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.systemVariables.chatConversationId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Chat.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Chat.JourneyContext", id: "__CHAT_JOURNEY_CONTEXT__", description: S.systemVariables.chatJourneyContext, typeIdentifier: a.expressionTypeNames.journeyContext, isReadOnly: true, isSystemVariable: true, version: "1.0" })], inQueueCallFlowVariables: [new y.SkillVariable({ name: "Call.ACDSkills", id: "__CONVERSATION_ACD_SKILLS__", description: S.systemVariables.conversationACDSkillsVariableDescription, isReadOnly: true, isSystemVariable: true, isCollection: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.QueueVariable({ name: "Call.CurrentQueue", id: "__CALL_CURRENT_QUEUE__", description: S.systemVariables.callCurrentQueue, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DurationVariable({ name: "Call.EstimatedWaitTime", id: "__CALL_ESTIMATED_WAIT_TIME__", description: S.systemVariables.callEstimatedWaitTime, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.LanguageSkillVariable({ name: "Call.LanguageSkill", id: "__CONVERSATION_LANGUAGE_SKILL__", description: S.systemVariables.conversationLanguageSkillVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.PromptVariable({ name: "Flow.HoldPrompt", id: "__FLOW_HOLD_PROMPT__", description: S.inQueueFlowVariables.flowHoldPrompt, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "Call.PositionInQueue", id: "__CALL_POSITION_IN_QUEUE__", description: S.systemVariables.callPositionInQueue, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "Call.Priority", id: "__CONVERSATION_PRIORITY__", description: S.systemVariables.conversationPriorityVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature })], inQueueEmailFlowVariables: [new y.SkillVariable({ name: "Email.ACDSkills", id: "__CONVERSATION_ACD_SKILLS__", description: S.systemVariables.conversationACDSkillsVariableDescription, isReadOnly: true, isSystemVariable: true, isCollection: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.QueueVariable({ name: "Email.CurrentQueue", id: "__CALL_CURRENT_QUEUE__", description: S.systemVariables.emailCurrentQueueVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DurationVariable({ name: "Email.EstimatedWaitTime", id: "__CALL_ESTIMATED_WAIT_TIME__", description: S.systemVariables.emailEstimatedWaitTimeVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "Email.PositionInQueue", id: "__CALL_POSITION_IN_QUEUE__", description: S.systemVariables.emailPositionInQueueVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "Email.Priority", id: "__CONVERSATION_PRIORITY__", description: S.systemVariables.conversationPriorityVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature })], inQueueShortMessageFlowVariables: [new y.SkillVariable({ name: "Message.ACDSkills", id: "__CONVERSATION_ACD_SKILLS__", description: S.systemVariables.conversationACDSkillsVariableDescription, isReadOnly: true, isSystemVariable: true, isCollection: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.QueueVariable({ name: "Message.CurrentQueue", id: "__CALL_CURRENT_QUEUE__", description: S.systemVariables.messageCurrentQueueVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DurationVariable({ name: "Message.EstimatedWaitTime", id: "__CALL_ESTIMATED_WAIT_TIME__", description: S.systemVariables.messageEstimatedWaitTimeVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.LanguageSkillVariable({ name: "Message.LanguageSkill", id: "__CONVERSATION_LANGUAGE_SKILL__", description: S.systemVariables.conversationLanguageSkillVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.IntegerVariable({ name: "Message.PositionInQueue", id: "__CALL_POSITION_IN_QUEUE__", description: S.systemVariables.messagePositionInQueueVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "Message.Priority", id: "__CONVERSATION_PRIORITY__", description: S.systemVariables.conversationPriorityVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature })], invocationDataVariable: [new y.JsonVariable({ name: "Call.InvocationData", id: "__CALL_INVOCATION_DATA__", description: S.systemVariables.invocationData, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.postCallActionFeature })], secureCallFlowVariables: [new y.StringVariable({ name: "Flow.InvocationData", id: "__FLOW_INVOCATION_DATA__", description: S.systemVariables.flowInvocationData, isReadOnly: true, isSystemVariable: true, version: "1.0" })], surveyInviteFlowVariables: [new y.ComplexVariable({ name: "Survey.CustomerContact", id: "__SURVEY_CUSTOMER_CONTACT__", typeIdentifier: a.expressionTypeNames.externalContact, description: S.surveyInviteFlowVariables.customerContact, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Survey.CustomerOrganization", id: "__SURVEY_CUSTOMER_ORGANIZATION__", typeIdentifier: a.expressionTypeNames.externalOrganization, description: S.surveyInviteFlowVariables.customerOrganization, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Survey.ConversationId", id: "__SURVEY_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.surveyInviteFlowVariables.conversationId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Survey.Url", id: "__SURVEY_URL__", description: S.surveyInviteFlowVariables.url, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Survey.ConversationType", id: "__SURVEY_CONVERSATION_TYPE__", description: S.surveyInviteFlowVariables.conversationType, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Survey.CustomerAddress", id: "__SURVEY_CUSTOMER_ADDRESS__", description: S.surveyInviteFlowVariables.customerAddress, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DateTimeVariable({ name: "Survey.ConversationStartDateTimeUtc", id: "__SURVEY_CONVERSATION_START_DATETIME__", description: S.surveyInviteFlowVariables.conversationStartDateTime, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DateTimeVariable({ name: "Survey.ConversationEndDateTimeUtc", id: "__SURVEY_CONVERSATION_END_DATETIME__", description: S.surveyInviteFlowVariables.conversationEndDateTime, isReadOnly: true, isSystemVariable: true, version: "1.0" })], voicemailFlowVariables: [new y.StringVariable({ name: "Voicemail.DebugEntityType", id: "__VOICEMAIL_DEBUG_ENTITY_TYPE__", description: (0, r2.sprintf)(S.systemVariables.voicemailDebugEntityTypeDescription, p.vmEntityTypeGroup.id, _.vmEntityTypeQueue.id, h.vmEntityTypeUser.id), isReadOnly: true, allowInitialValueForReadOnly: true, isSystemVariable: true, version: "1.0", initialValueOptionsCallback: () => { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(73198)), a = i2(80428), s = n2.__importStar(i2(69453)), l = i2(48109), u = n2.__importDefault(i2(4648)), c = n2.__importStar(i2(81858)), d = i2(81176), p = i2(99923), _ = i2(99923), h = i2(99923), m = i2(99923), g = i2(67093), f = i2(14134), T = i2(3172), y = i2(35825), S = i2(47957), A = new y.BoolVariable({ name: "Flow.IsTest", id: "__FLOW_IS_TEST__", description: S.systemVariables.flowIsTest, isReadOnly: true, isSystemVariable: true, version: "1.0" }), N = [new y.DateTimeVariable({ name: "Flow.StartDateTimeUtc", id: "__FLOW_START_TIME__", description: S.systemVariables.flowStartTime, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Flow.Version", id: "__FLOW_VERSION__", description: S.systemVariables.flowVersion, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "System.MaxInt", id: "__MAX_INT__", description: (0, r2.sprintf)(S.systemVariables.maxInt, o.default.maxInt), isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DateTimeVariable({ name: "System.MaxDateTime", id: "__MAX_DATETIME__", description: S.systemVariables.maxDateTime, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DurationVariable({ name: "System.MaxDuration", id: "__MAX_DURATION__", description: S.systemVariables.maxDuration, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "System.MinInt", id: "__MIN_INT__", description: (0, r2.sprintf)(S.systemVariables.minInt, o.default.minInt), isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DateTimeVariable({ name: "System.MinDateTime", id: "__MIN_DATETIME__", description: S.systemVariables.minDateTime, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DurationVariable({ name: "System.MinDuration", id: "__MIN_DURATION__", description: S.systemVariables.minDuration, isReadOnly: true, isSystemVariable: true, version: "1.0" })], v = [A, ...N], O = { digitalBotFlowVariables: [new y.StringVariable({ name: "Session.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.StringVariable({ name: "Session.LastKnowledgeGeneratedAnswer", id: "__SESSION_LAST_KNOWLEDGE_GENERATION__", description: S.systemVariables.sessionLastKnowledgeGenerated, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.botFlowsAnswerGenerationMultipleArticles, version: "1.0" }), new y.StringVariable({ name: "Session.LastKnowledgeSearchId", id: "__SESSION_LAST_KNOWLEDGE_SEARCH_ID__", description: S.systemVariables.sessionLastKnowledgeSearchId, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature, version: "1.0" }), new y.BoolVariable({ name: "Session.IsAuthenticated", id: "__MESSAGE_IS_AUTHENTICATED__", description: S.systemVariables.messagingIsAuthenticated, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.botFlowsAuthentication })], botFlowVariables: [new y.StringVariable({ name: "Session.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.StringVariable({ name: "Session.LastKnowledgeGeneratedAnswer", id: "__SESSION_LAST_KNOWLEDGE_GENERATION__", description: S.systemVariables.sessionLastKnowledgeGenerated, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.botFlowsAnswerGenerationMultipleArticles, version: "1.0" }), new y.StringVariable({ name: "Session.LastKnowledgeSearchId", id: "__SESSION_LAST_KNOWLEDGE_SEARCH_ID__", description: S.systemVariables.sessionLastKnowledgeSearchId, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.botFlowsAdvancedKnowledgeHandling, version: "1.0" }), new y.StringVariable({ name: "Session.LastCollectionMode", id: "__LAST_COLLECTION_MODE__", description: (0, r2.sprintf)(S.systemVariables.lastCollectionModeDescription, (0, l.getListDisplayString)([d.inputMode.speech, d.inputMode.dtmf, d.inputMode.text], false, false, true)), isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.lastCollectionModeVariable })], internalFlowVariables: [new y.StringVariable({ name: "Flow.$lastInput", id: "__LAST_INPUT__", isInternal: true, isReadOnly: true, isSystemVariable: true, version: "1.0" })], commonCallVariables: [new y.StringVariable({ name: "Call.Ani", id: "__CALL_ANI__", description: S.systemVariables.callAni, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.CalledAddress", id: "__CALL_DNIS__", description: S.systemVariables.callCalledAddress, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.CalledAddressOriginal", id: "__CALL_DNIS_ORIGINAL__", description: S.systemVariables.callCalledAddressOriginal, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.StringVariable({ name: "Call.ExternalTag", id: "__EXTERNAL_TAG__", description: S.systemVariables.callExternalTag, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.RemoteName", id: "__CALL_REMOTE_NAME__", description: S.systemVariables.callRemoteName, isReadOnly: true, isSystemVariable: true, version: "1.0" })], callFlowVariables: [new y.StringVariable({ name: "Call.ConversationId", id: "__CALL_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.systemVariables.callConversationId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Interaction.Id", id: "__INTERACTION_ID__", description: S.systemVariables.interactionId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.Language", id: "__INTERACTION_LANGUAGE__", deprecatedName: "interaction.language", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.LastCollectionMode", id: "__LAST_COLLECTION_MODE__", description: (0, r2.sprintf)(S.systemVariables.lastCollectionModeDescription, (0, l.getListDisplayString)([d.inputMode.speech, d.inputMode.dtmf], false, false, true)), isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.lastCollectionModeVariable })], dateOnlyAndTimeOnlySystemVariables: [new y.DateVariable({ name: "System.MaxDate", id: "__MAX_DATE__", description: S.systemVariables.maxDate, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DateVariable({ name: "System.MinDate", id: "__MIN_DATE__", description: S.systemVariables.minDate, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.TimeVariable({ name: "System.MaxTime", id: "__MAX_TIME__", description: S.systemVariables.maxTime, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.TimeVariable({ name: "System.MinTime", id: "__MIN_TIME__", description: S.systemVariables.minTime, isReadOnly: true, isSystemVariable: true, version: "1.0" })], formatVariables: [new g.BoolFormatEnumContainerVariable({ name: "Format.Bool", id: "__FORMAT_BOOL__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true }), new g.CurrencyFormatEnumContainerVariable({ name: "Format.Currency", id: "__FORMAT_CURRENCY__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true }), new g.DateFormatEnumContainerVariable({ name: "Format.Date", id: "__FORMAT_DATE__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true }), new g.TimePartEnumContainerVariable({ name: "Format.TimePart", id: "__FORMAT_TIME_PART__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true }), new g.NumberFormatEnumContainerVariable({ name: "Format.Number", id: "__FORMAT_NUMBER__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true }), new g.PhoneNumberFormatEnumContainerVariable({ name: "Format.PhoneNumber", id: "__FORMAT_PHONE_NUMBER__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true, featureToggleName: c.archPhoneNumberPhase2 }), new g.StringFormatEnumContainerVariable({ name: "Format.String", id: "__FORMAT_STRING__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true }), new g.TimeFormatEnumContainerVariable({ name: "Format.Time", id: "__FORMAT_TIME__", isReadOnly: true, isSystemVariable: true, version: "1.0", hideFromAutocomplete: true })], languageVariables: [new T.LanguageCaseEnumContainerVariable({ name: "Language.Case", id: "__LANGUAGE_CASE__", isReadOnly: true, isSystemVariable: true, version: "1.0" }), new T.LanguageGenderEnumContainerVariable({ name: "Language.Gender", id: "__LANGUAGE_GENDER__", isReadOnly: true, isSystemVariable: true, version: "1.0" }), new T.LanguageQuantityEnumContainerVariable({ name: "Language.Quantity", id: "__LANGUAGE_QUANTITY__", isReadOnly: true, isSystemVariable: true, version: "1.0" })], lookupVariables: [new f.DateTimeEnumContainerVariable({ name: "System.DateTime", id: "__SYSINFO_DATETIME__", description: S.systemVariables.infoDateTimes, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new f.CurrenciesEnumContainerVariable({ name: "System.Currencies", id: "__SYSINFO_CURRENCIES__", description: S.systemVariables.infoCurrencies, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new f.LanguagesEnumContainerVariable({ name: "System.Languages", id: "__SYSINFO_LANGUAGES__", description: S.systemVariables.infoLanguages, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new f.RegionsEnumContainerVariable({ name: "System.Regions", id: "__SYSINFO_REGIONS__", description: S.systemVariables.infoRegions, isReadOnly: true, isSystemVariable: true, version: "1.0" })], menuVariables: [new y.BoolVariable({ name: "Menu.LastCollectionNoInput", id: "__MENU_LAST_COLLECTION_NO_INPUT__", description: S.systemVariables.menuLastCollectionNoInput, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.voicemailFlows }), new y.BoolVariable({ name: "Menu.LastCollectionNoMatch", id: "__MENU_LAST_COLLECTION_NO_MATCH__", description: S.systemVariables.menuLastCollectionNoMatch, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.voicemailFlows })], nluBasedCommonFlowVariables: [new y.StringVariable({ name: "Session.ChannelType", id: "__SESSION_CHANNEL_TYPE__", description: S.systemVariables.sessionChannelType, descriptionOverrides: { voicesurvey: S.systemVariables.sessionChannelTypeVoiceSurvey }, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Session.ConversationId", id: "__SESSION_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.systemVariables.sessionConversationId, descriptionOverrides: { voicesurvey: S.systemVariables.sessionConversationIdVoiceSurvey }, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Session.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DecimalVariable({ name: "Session.LastCollectionConfidence", id: "__SESSION_LAST_COLLECTION_CONFIDENCE__", description: (0, r2.sprintf)(S.systemVariables.sessionLastCollectionConfidence, S.actions.askForActionGeneric), descriptionOverrides: { voicesurvey: (0, r2.sprintf)(S.systemVariables.sessionLastCollectionConfidenceVoiceSurvey, S.actions.askForActionGeneric) }, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Session.LastCollectionUtterance", id: "__SESSION_LAST_COLLECTION_UTTERANCE__", description: (0, r2.sprintf)(S.systemVariables.sessionLastCollectionUtterance, S.actions.askForActionGeneric), descriptionOverrides: { voicesurvey: (0, r2.sprintf)(S.systemVariables.sessionLastCollectionUtteranceVoiceSurvey, S.actions.askForActionGeneric) }, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DecimalVariable({ name: "Session.LastNLUCollectionConfidence", id: "__SESSION_LAST_NLU_COLLECTION_CONFIDENCE__", description: (0, r2.sprintf)(S.systemVariables.sessionLastNLUCollectionConfidence, S.actions.askForActionGeneric), featureConfig: u.default.botFlowsLastNLUCollectionConfidence, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Session.Source", id: "__SESSION_SOURCE__", description: S.systemVariables.sessionSource, descriptionOverrides: { voicesurvey: S.systemVariables.sessionSourceVoiceSurvey }, isReadOnly: true, isSystemVariable: true, version: "1.0" })], nluBasedIntentVariables: [new y.StringVariable({ name: "Session.ActiveIntent", id: "__SESSION_ACTIVE_INTENT__", description: S.systemVariables.sessionActiveIntent, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Session.LastCompletedIntent", id: "__SESSION_LAST_COMPLETED_INTENT__", description: (0, r2.sprintf)(S.systemVariables.sessionLastCompletedIntent, S.actions.askForIntent), isReadOnly: true, isSystemVariable: true, version: "1.0" })], nluBasedKnowledgeVariables: [new y.StringVariable({ name: "Session.LastKnowledgeAnswer", id: "__SESSION_LAST_KNOWLEDGE_ANSWER__", description: S.systemVariables.sessionLastKnowledgeAnswer, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.botFlowsKnowledge, version: "1.0" }), new y.StringVariable({ name: "Session.LastKnowledgeQuestion", id: "__SESSION_LAST_KNOWLEDGE_QUESTION__", description: S.systemVariables.sessionLastKnowledgeQuestion, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.botFlowsKnowledge, version: "1.0" })], automateLookupVariables: [new f.ConversationTypesEnumContainerVariable({ name: "System.Conversation", id: "__SYSINFO_CONVERSATION__", description: S.surveyInviteFlowVariables.conversation, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new f.SurveyDispositionsEnumContainerVariable({ name: "System.Survey", id: "__SYSINFO_SURVEY__", description: S.surveyInviteFlowVariables.survey, isReadOnly: true, isSystemVariable: true, version: "1.0" })], systemVariablesNoIsTest: N, systemVariables: v, uuiDataVariable: [new y.StringVariable({ name: "Call.UUIData", id: "__CALL_UUIDATA__", description: S.inboundOutboundAndInQueueCallFlowVariables.uuiData, isReadOnly: true, isSystemVariable: true, version: "1.0", initialValue: false })], outboundCallFlowVariables: [new y.CampaignVariable({ name: "Call.Campaign", id: "__FLOW_CAMPAIGN__", deprecatedName: "flow.campaign", description: S.systemVariables.flowCampaign, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ContactListVariable({ name: "Call.ContactList", id: "__FLOW_CONTACT_LIST__", deprecatedName: "flow.contactlist", description: S.systemVariables.flowContactList, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.WrapupCodeVariable({ name: "Flow.WrapupCode", id: "__FLOW_WRAPUP_CODE__", description: S.systemVariables.flowWrapupCode, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.ContactId", id: "__CALL_CONTACT_ID__", description: S.systemVariables.callContactId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ContactVariable({ name: "Call.Contact", id: "__FLOW_CONTACT__", deprecatedName: "flow.contact", description: S.systemVariables.flowContact, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 })], emailSendFlowVariables: [new y.StringVariable({ name: "Email.ConversationId", id: "__EMAIL_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.systemVariables.emailDraftConversationId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.QueueVariable({ name: "Email.CurrentQueue", id: "__CALL_CURRENT_QUEUE__", description: S.systemVariables.emailDraftCurrentQueueVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.JsonVariable({ name: "Email.Draft", id: "__EMAIL_DRAFT__", description: S.systemVariables.emailDraftVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", typeIdentifier: a.expressionTypeNames.draftEmail }), new y.StringVariable({ name: "Email.ExternalTag", id: "__EXTERNAL_TAG__", description: S.systemVariables.emailExternalTag, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Email.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Flow.AgentUiLanguage", id: "__AGENT_UI_LANGUAGE__", description: s.emailSend.variables.agentUiLanguageDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" })], inboundEmailFlowVariables: [new y.CampaignVariable({ name: "Email.Campaign", id: "__FLOW_CAMPAIGN__", description: S.systemVariables.flowCampaign, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.outboundEmailCampaigns }), new y.ContactListVariable({ name: "Email.ContactList", id: "__FLOW_CONTACT_LIST__", description: S.systemVariables.flowContactList, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.outboundEmailCampaigns }), new y.StringVariable({ name: "Email.ContactId", id: "__CALL_CONTACT_ID__", description: S.systemVariables.callContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.outboundEmailCampaigns }), new y.StringVariable({ name: "Email.ExternalTag", id: "__EXTERNAL_TAG__", description: S.systemVariables.emailExternalTag, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Email.Message", id: "__EMAIL_MESSAGE__", description: S.systemVariables.emailMessage, typeIdentifier: a.expressionTypeNames.email, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Email.ConversationId", id: "__EMAIL_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.systemVariables.emailConversationId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Email.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.StringVariable({ name: "Email.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.LanguageSkillVariable({ name: "Email.LanguageSkill", id: "__CONVERSATION_LANGUAGE_SKILL__", deprecatedId: "__EMAIL_LANGUAGE_SKILL__", description: S.systemVariables.emailLanguageSkill, isReadOnly: true, isSystemVariable: true, version: "1.0" })], inboundShortMessageFlowVariables: [new y.ComplexVariable({ name: "Message.Message", id: "__MESSAGE_MESSAGE__", description: S.systemVariables.messageMessage, typeIdentifier: a.expressionTypeNames.shortMessage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Message.ConversationId", id: "__MESSAGE_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.systemVariables.messagingConversationId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Message.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.StringVariable({ name: "Message.ExternalTag", id: "__EXTERNAL_TAG__", description: S.systemVariables.messageExternalTag, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.BoolVariable({ name: "Message.IsAuthenticated", id: "__MESSAGE_IS_AUTHENTICATED__", description: S.systemVariables.messagingIsAuthenticated, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.authorizedWebMessaging }), new y.BoolVariable({ name: "Message.IsNewConversation", id: "__MESSAGE_IS_NEW_CONVERSATION__", description: S.systemVariables.messagingIsNewConversation, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Message.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.CampaignVariable({ name: "Message.Campaign", id: "__FLOW_CAMPAIGN__", description: S.systemVariables.flowCampaign, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ContactListVariable({ name: "Message.ContactList", id: "__FLOW_CONTACT_LIST__", description: S.systemVariables.flowContactList, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Message.ContactId", id: "__CALL_CONTACT_ID__", description: S.systemVariables.callContactId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Message.JourneyContext", id: "__CHAT_JOURNEY_CONTEXT__", description: S.systemVariables.messageJourneyContextVariableDescription, typeIdentifier: a.expressionTypeNames.journeyContext, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.inboundShortMessageFlows_Journey }), new y.JsonVariable({ name: "Message.InvocationData", id: "__MESSAGE_INVOCATION_DATA__", description: S.systemVariables.invocationData, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.postFlowDigitalFeature })], inboundChatFlowVariables: [new y.ComplexVariable({ name: "Chat.Guest", id: "__CHAT_GUEST__", description: S.systemVariables.chatGuest, typeIdentifier: a.expressionTypeNames.chatGuest, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Chat.ConversationId", id: "__CHAT_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.systemVariables.chatConversationId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Chat.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Chat.JourneyContext", id: "__CHAT_JOURNEY_CONTEXT__", description: S.systemVariables.chatJourneyContext, typeIdentifier: a.expressionTypeNames.journeyContext, isReadOnly: true, isSystemVariable: true, version: "1.0" })], inQueueCallFlowVariables: [new y.SkillVariable({ name: "Call.ACDSkills", id: "__CONVERSATION_ACD_SKILLS__", description: S.systemVariables.conversationACDSkillsVariableDescription, isReadOnly: true, isSystemVariable: true, isCollection: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.QueueVariable({ name: "Call.CurrentQueue", id: "__CALL_CURRENT_QUEUE__", description: S.systemVariables.callCurrentQueue, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DurationVariable({ name: "Call.EstimatedWaitTime", id: "__CALL_ESTIMATED_WAIT_TIME__", description: S.systemVariables.callEstimatedWaitTime, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Call.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.LanguageSkillVariable({ name: "Call.LanguageSkill", id: "__CONVERSATION_LANGUAGE_SKILL__", description: S.systemVariables.conversationLanguageSkillVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.PromptVariable({ name: "Flow.HoldPrompt", id: "__FLOW_HOLD_PROMPT__", description: S.inQueueFlowVariables.flowHoldPrompt, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "Call.PositionInQueue", id: "__CALL_POSITION_IN_QUEUE__", description: S.systemVariables.callPositionInQueue, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "Call.Priority", id: "__CONVERSATION_PRIORITY__", description: S.systemVariables.conversationPriorityVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature })], inQueueEmailFlowVariables: [new y.SkillVariable({ name: "Email.ACDSkills", id: "__CONVERSATION_ACD_SKILLS__", description: S.systemVariables.conversationACDSkillsVariableDescription, isReadOnly: true, isSystemVariable: true, isCollection: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.QueueVariable({ name: "Email.CurrentQueue", id: "__CALL_CURRENT_QUEUE__", description: S.systemVariables.emailCurrentQueueVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DurationVariable({ name: "Email.EstimatedWaitTime", id: "__CALL_ESTIMATED_WAIT_TIME__", description: S.systemVariables.emailEstimatedWaitTimeVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "Email.PositionInQueue", id: "__CALL_POSITION_IN_QUEUE__", description: S.systemVariables.emailPositionInQueueVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "Email.Priority", id: "__CONVERSATION_PRIORITY__", description: S.systemVariables.conversationPriorityVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature })], inQueueShortMessageFlowVariables: [new y.SkillVariable({ name: "Message.ACDSkills", id: "__CONVERSATION_ACD_SKILLS__", description: S.systemVariables.conversationACDSkillsVariableDescription, isReadOnly: true, isSystemVariable: true, isCollection: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.QueueVariable({ name: "Message.CurrentQueue", id: "__CALL_CURRENT_QUEUE__", description: S.systemVariables.messageCurrentQueueVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DurationVariable({ name: "Message.EstimatedWaitTime", id: "__CALL_ESTIMATED_WAIT_TIME__", description: S.systemVariables.messageEstimatedWaitTimeVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.LanguageSkillVariable({ name: "Message.LanguageSkill", id: "__CONVERSATION_LANGUAGE_SKILL__", description: S.systemVariables.conversationLanguageSkillVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.IntegerVariable({ name: "Message.PositionInQueue", id: "__CALL_POSITION_IN_QUEUE__", description: S.systemVariables.messagePositionInQueueVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.IntegerVariable({ name: "Message.Priority", id: "__CONVERSATION_PRIORITY__", description: S.systemVariables.conversationPriorityVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature })], invocationDataVariable: [new y.JsonVariable({ name: "Call.InvocationData", id: "__CALL_INVOCATION_DATA__", description: S.systemVariables.invocationData, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.postCallActionFeature })], secureCallFlowVariables: [new y.StringVariable({ name: "Flow.InvocationData", id: "__FLOW_INVOCATION_DATA__", description: S.systemVariables.flowInvocationData, isReadOnly: true, isSystemVariable: true, version: "1.0" })], surveyInviteFlowVariables: [new y.ComplexVariable({ name: "Survey.CustomerContact", id: "__SURVEY_CUSTOMER_CONTACT__", typeIdentifier: a.expressionTypeNames.externalContact, description: S.surveyInviteFlowVariables.customerContact, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Survey.CustomerOrganization", id: "__SURVEY_CUSTOMER_ORGANIZATION__", typeIdentifier: a.expressionTypeNames.externalOrganization, description: S.surveyInviteFlowVariables.customerOrganization, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Survey.ConversationId", id: "__SURVEY_CONVERSATION_ID__", copyPasteId: "__CONVERSATION_ID__", description: S.surveyInviteFlowVariables.conversationId, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Survey.Url", id: "__SURVEY_URL__", description: S.surveyInviteFlowVariables.url, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Survey.ConversationType", id: "__SURVEY_CONVERSATION_TYPE__", description: S.surveyInviteFlowVariables.conversationType, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Survey.CustomerAddress", id: "__SURVEY_CUSTOMER_ADDRESS__", description: S.surveyInviteFlowVariables.customerAddress, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DateTimeVariable({ name: "Survey.ConversationStartDateTimeUtc", id: "__SURVEY_CONVERSATION_START_DATETIME__", description: S.surveyInviteFlowVariables.conversationStartDateTime, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.DateTimeVariable({ name: "Survey.ConversationEndDateTimeUtc", id: "__SURVEY_CONVERSATION_END_DATETIME__", description: S.surveyInviteFlowVariables.conversationEndDateTime, isReadOnly: true, isSystemVariable: true, version: "1.0" })], voicemailFlowVariables: [new y.StringVariable({ name: "Voicemail.DebugEntityType", id: "__VOICEMAIL_DEBUG_ENTITY_TYPE__", description: (0, r2.sprintf)(S.systemVariables.voicemailDebugEntityTypeDescription, p.vmEntityTypeGroup.id, _.vmEntityTypeQueue.id, h.vmEntityTypeUser.id), isReadOnly: true, allowInitialValueForReadOnly: true, isSystemVariable: true, version: "1.0", initialValueOptionsCallback: () => { const { ExpressionTypeStringOptions: e3 } = i2(81516); return e3.create((e4) => e4.setDefaultText(h.vmEntityTypeUser.id).setDescriptionInfo(S.variable.initialValueLabel, (0, r2.sprintf)(S.systemVariables.voicemailDebugEntityTypeDescription, p.vmEntityTypeGroup.id, _.vmEntityTypeQueue.id, h.vmEntityTypeUser.id)).setModeNoValueSelectionLabel(S.systemVariables.voicemailDebugEntityTypeNoValueLabel).facets.setTrim(true).setAllowableValues(m.vmEntityTypesAll)); } }), new y.GroupVariable({ name: "Voicemail.DebugGroup", id: "__VOICEMAIL_DEBUG_GROUP__", description: (0, r2.sprintf)(S.systemVariables.voicemailDebugGroupDescription, p.vmEntityTypeGroup.id), isReadOnly: true, allowInitialValueForReadOnly: true, isSystemVariable: true, version: "1.0", initialValueOptionsCallback: () => { @@ -113004,8 +122076,8 @@ ${e3.stack}`, n3 = [this].concat(i3); } }), new y.UserVariable({ name: "Voicemail.DebugUser", id: "__VOICEMAIL_DEBUG_USER__", description: (0, r2.sprintf)(S.systemVariables.voicemailDebugUserDescription, h.vmEntityTypeUser.id), isReadOnly: true, allowInitialValueForReadOnly: true, isSystemVariable: true, version: "1.0", initialValueOptionsCallback: () => { const { ExpressionTypeUserOptions: e3 } = i2(26954); return e3.create((e4) => e4.setDescriptionInfo(S.variable.initialValueLabel, (0, r2.sprintf)(S.systemVariables.voicemailDebugUserDescription, h.vmEntityTypeUser.id))); - } }), new y.AudioVariable({ name: "Voicemail.EntityGreetingAudio", id: "__VOICEMAIL_ENTITY_GREETING_AUDIO__", description: S.systemVariables.voicemailEntityGreetingAudioDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.AudioVariable({ name: "Voicemail.EntityNameAudio", id: "__VOICEMAIL_ENTITY_NAME_AUDIO__", description: S.systemVariables.voicemailEntityNameAudioDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.BoolVariable({ name: "Voicemail.Enabled", id: "__VOICEMAIL_ENABLED__", description: S.systemVariables.voicemailEnabledDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Voicemail.EntityName", id: "__VOICEMAIL_ENTITY_NAME__", description: S.systemVariables.voicemailEntityNameDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Voicemail.EntityType", id: "__VOICEMAIL_ENTITY_TYPE__", description: S.systemVariables.voicemailEntityTypeDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Voicemail.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.GroupVariable({ name: "Voicemail.Group", id: "__VOICEMAIL_GROUP__", description: S.systemVariables.voicemailGroupDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.QueueVariable({ name: "Voicemail.Queue", id: "__VOICEMAIL_QUEUE__", description: S.systemVariables.voicemailQueueDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.UserVariable({ name: "Voicemail.User", id: "__VOICEMAIL_USER__", description: S.systemVariables.voicemailUserDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Voicemail.VoicemailSnippet", id: "__VOICEMAIL_VOICEMAIL_SNIPPET__", typeIdentifier: a.expressionTypeNames.voicemailSnippet, description: S.systemVariables.voicemailVoicemailSnippet, isReadOnly: true, isSystemVariable: true, version: "1.0" })], voiceSurveyFlowVariables: [new y.JsonVariable({ name: "Session.InvocationData", id: "__CALL_INVOCATION_DATA__", description: S.systemVariables.invocationData, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Session.LastCollectionMode", id: "__LAST_COLLECTION_MODE__", description: (0, r2.sprintf)(S.systemVariables.lastCollectionModeDescription, (0, l.getListDisplayString)([c.inputMode.speech, c.inputMode.dtmf], false, false, true)), isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.lastCollectionModeVariable })], workflowVariables: [new y.StringVariable({ name: "Workflow.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" })], commonModuleVariables: [new y.StringVariable({ name: "Session.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.SkillVariable({ name: "Session.ACDSkills", id: "__CONVERSATION_ACD_SKILLS__", description: S.systemVariables.conversationACDSkillsVariableDescription, isReadOnly: true, isSystemVariable: true, isCollection: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.LanguageSkillVariable({ name: "Session.LanguageSkill", id: "__CONVERSATION_LANGUAGE_SKILL__", description: S.systemVariables.conversationLanguageSkillVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.IntegerVariable({ name: "Session.Priority", id: "__CONVERSATION_PRIORITY__", description: S.systemVariables.conversationPriorityVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature })], workitemFlowVariables: [new y.JsonVariable({ name: "Workitem.EventData", id: "__EVENT_DATA__", description: S.workitem.workitemEventData, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.workitemDateAutomationFeature, version: "1.0", typeIdentifier: a.expressionTypeNames.workitemEventData }), new y.StringVariable({ name: "Workitem.EventType", id: "__EVENT_TYPE__", description: S.systemVariables.workitemEventType, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Workitem.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Workitem.Workitem", id: "__WORKITEM_WORKITEM__", description: S.systemVariables.workitem, typeIdentifier: a.expressionTypeNames.workitem, isReadOnly: false, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Workitem.WorkitemOriginal", id: "__WORKITEM_WORKITEM_ORIGINAL__", description: S.systemVariables.workitemOriginal, typeIdentifier: a.expressionTypeNames.workitem, isReadOnly: true, isSystemVariable: true, version: "1.0" })] }; - t2.default = I; + } }), new y.AudioVariable({ name: "Voicemail.EntityGreetingAudio", id: "__VOICEMAIL_ENTITY_GREETING_AUDIO__", description: S.systemVariables.voicemailEntityGreetingAudioDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.AudioVariable({ name: "Voicemail.EntityNameAudio", id: "__VOICEMAIL_ENTITY_NAME_AUDIO__", description: S.systemVariables.voicemailEntityNameAudioDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.BoolVariable({ name: "Voicemail.Enabled", id: "__VOICEMAIL_ENABLED__", description: S.systemVariables.voicemailEnabledDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Voicemail.EntityName", id: "__VOICEMAIL_ENTITY_NAME__", description: S.systemVariables.voicemailEntityNameDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Voicemail.EntityType", id: "__VOICEMAIL_ENTITY_TYPE__", description: S.systemVariables.voicemailEntityTypeDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Voicemail.ExternalContactId", id: "__EXTERNAL_CONTACT_ID__", description: S.systemVariables.externalContactId, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.externalContactIdentityResolutionPhase1 }), new y.GroupVariable({ name: "Voicemail.Group", id: "__VOICEMAIL_GROUP__", description: S.systemVariables.voicemailGroupDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.QueueVariable({ name: "Voicemail.Queue", id: "__VOICEMAIL_QUEUE__", description: S.systemVariables.voicemailQueueDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.UserVariable({ name: "Voicemail.User", id: "__VOICEMAIL_USER__", description: S.systemVariables.voicemailUserDescription, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Voicemail.VoicemailSnippet", id: "__VOICEMAIL_VOICEMAIL_SNIPPET__", typeIdentifier: a.expressionTypeNames.voicemailSnippet, description: S.systemVariables.voicemailVoicemailSnippet, isReadOnly: true, isSystemVariable: true, version: "1.0" })], voiceSurveyFlowVariables: [new y.JsonVariable({ name: "Session.InvocationData", id: "__CALL_INVOCATION_DATA__", description: S.systemVariables.invocationData, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Session.LastCollectionMode", id: "__LAST_COLLECTION_MODE__", description: (0, r2.sprintf)(S.systemVariables.lastCollectionModeDescription, (0, l.getListDisplayString)([d.inputMode.speech, d.inputMode.dtmf], false, false, true)), isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.lastCollectionModeVariable })], workflowVariables: [new y.StringVariable({ name: "Workflow.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" })], commonModuleVariables: [new y.StringVariable({ name: "Session.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.SkillVariable({ name: "Session.ACDSkills", id: "__CONVERSATION_ACD_SKILLS__", description: S.systemVariables.conversationACDSkillsVariableDescription, isReadOnly: true, isSystemVariable: true, isCollection: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.LanguageSkillVariable({ name: "Session.LanguageSkill", id: "__CONVERSATION_LANGUAGE_SKILL__", description: S.systemVariables.conversationLanguageSkillVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature }), new y.IntegerVariable({ name: "Session.Priority", id: "__CONVERSATION_PRIORITY__", description: S.systemVariables.conversationPriorityVariableDescription, isReadOnly: true, isSystemVariable: true, version: "1.0", featureConfig: u.default.setPrioritySkillsFeature })], workitemFlowVariables: [new y.JsonVariable({ name: "Workitem.EventData", id: "__EVENT_DATA__", description: S.workitem.workitemEventData, isReadOnly: true, isSystemVariable: true, featureConfig: u.default.workitemDateAutomationFeature, version: "1.0", typeIdentifier: a.expressionTypeNames.workitemEventData }), new y.StringVariable({ name: "Workitem.EventType", id: "__EVENT_TYPE__", description: S.systemVariables.workitemEventType, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.StringVariable({ name: "Workitem.Language", id: "__INTERACTION_LANGUAGE__", description: S.systemVariables.interactionLanguage, isReadOnly: true, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Workitem.Workitem", id: "__WORKITEM_WORKITEM__", description: S.systemVariables.workitem, typeIdentifier: a.expressionTypeNames.workitem, isReadOnly: false, isSystemVariable: true, version: "1.0" }), new y.ComplexVariable({ name: "Workitem.WorkitemOriginal", id: "__WORKITEM_WORKITEM_ORIGINAL__", description: S.systemVariables.workitemOriginal, typeIdentifier: a.expressionTypeNames.workitem, isReadOnly: true, isSystemVariable: true, version: "1.0" })] }; + t2.default = O; }, 96128: (e2, t2, i2) => { const n2 = i2(38416).default; function r2() { @@ -113048,13 +122120,39 @@ ${e3.stack}`, n3 = [this].concat(i3); } t2.default = o; }, 96237: (e2, t2, i2) => { - const n2 = i2(57731), r2 = {}; - function o(e3, t3) { - r2[e3] = this, r2[t3] = this, o.baseConstructor.apply(this, arguments); + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.loadSingleYamlDocument = function(e3, t3, i3) { + const r2 = (0, n2.loadAll)(e3, { schema: t3, maxDepth: i3 }); + if (r2.length > 1) throw new n2.YAMLException("expected a single document in the stream, but found more"); + return 0 === r2.length ? null : r2[0]; + }; + const n2 = i2(25074); + }, 96275: (e2, t2, i2) => { + "use strict"; + const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(73198)), a = n2.__importStar(i2(63824)), s = i2(80428), l = i2(82394), u = i2(79467), c = i2(78513), d = i2(84464), p = n2.__importDefault(i2(27203)), _ = n2.__importStar(i2(85020)), h = i2(12179), m = n2.__importDefault(i2(97891)), g = n2.__importDefault(i2(5730)), f = i2(47957); + class T extends g.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); + } + get isAgenticAnythingElseAction() { + return true; + } + static get branchInfo() { + return [p.default.loop]; + } + static get managedProperties() { + return [{ label: f.loop.indexDataName, options: c.ExpressionTypeIntegerOptions.create((e3) => e3.setAllowSecure(true).setAsOutput().setIsOptional(true).setModeNoValueRuntimeEvaluationStr(f.loopUntil.noLoopIndexVariableSpecified).setUiPropertyOrder(1).setIninTestingField("currentLoopIndex")), property: "currentIndex", type: s.expressionTypeNames.integer }, { label: f.askCommon.voiceEndOfInputTimeout, options: u.ExpressionTypeDurationOptions.create((e3) => e3.setRequiredFlowChannelType(_.channelTypeCall).setIninTestingField("voiceEndOfInputTimeout").setDefaultText(o.default.litDurationOneSecond).setAllowFlowLevelDefault(true).setFlowLevelDefaultSameModes(true).setScriptingPropertyName("voiceEndOfInputTimeout").setUiPropertyOrder(2).setDurationStyle(a.durationStyles.secondsAndTenthsDuration).facets.setMinDur(100, true).setMaxDur(10 * o.default.msPerSecond, true)), supportedFlowTypes: [r2.flowTypes.flowTypeBot], property: "voiceEndOfInputTimeout", type: s.expressionTypeNames.duration }]; + } + validate(e3) { + if (super.validate(e3), this.isDisabled) return; + const t3 = d.actionRegistrationService.getActionIdsForActionType(this.parentFlow, this.info.typeId); + t3 && t3.length > 1 && e3.addError(this, f.agenticAnythingElse.onlyOneAllowedPerFlow); + } } - n2.extend(o, "SubsequentRecognitionFailuresEnum"), o.getInstance = function(e3) { - return r2[e3 || 0]; - }, o.Exit = new o(0, "Exit"), o.ExecuteTask = new o(1, "ExecuteTask"), e2.exports = o; + T.info = m.default.createActionInfo({ actionClass: T, canBeInTask: true, canBeTreeNode: false, helpTopic: h.helpTopics.actions.agenticAnythingElse, modelClass: l.AgenticAnythingElseActionModel, name: f.actions.agenticAnythingElse, scriptingName: "ArchActionAgenticAnythingElse", availabilityCallback: (e3, t3, i3) => { + var n3; + return null === (n3 = t3.parentFlow.botFlowSettings) || void 0 === n3 ? void 0 : n3.virtualAgentEnabled; + } }), t2.A = T; }, 96328: function(e2, t2, i2) { "use strict"; var n2 = this && this.__read || function(e3, t3) { @@ -113113,7 +122211,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } }); }; - const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = n2.__importStar(i2(74828)), a = n2.__importDefault(i2(36019)), s = n2.__importStar(i2(22717)), l = n2.__importDefault(i2(92140)), u = r2.getTopic("nuanceApi"), d = 150, c = 2e3, p = "Running"; + const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = n2.__importStar(i2(74828)), a = n2.__importDefault(i2(36019)), s = n2.__importStar(i2(22717)), l = n2.__importDefault(i2(92140)), u = r2.getTopic("nuanceApi"), c = 150, d = 2e3, p = "Running"; function _(e3, t3) { const i3 = { integrationId: e3 }; return a.default.build(o.startGetAllNuanceMixBots).templateParams(i3).queryParams(t3.getSearchQueryParams()).call(); @@ -113144,7 +122242,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return e3(t3, i3, r3); }), (e4) => { if (l.default.isObject(e4)) return e4.state !== p; - }, c, d); + }, d, c); }); } _.api = o.startGetAllNuanceMixBots, h.api = o.getAllNuanceMixBotsJobStatus, m.api = o.getAllNuanceMixBotsJobResults, g.api = o.startGetSingleNuanceMixBot, f.api = o.getSingleNuanceMixBotJobStatus, T.api = o.getSingleNuanceMixBotJobResults; @@ -113186,10 +122284,10 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 96353: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.AudioViewModel = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(42989)), u = n2.__importStar(i2(81116)), d = i2(14394), c = n2.__importDefault(i2(7401)), p = i2(62017), _ = i2(24235), h = i2(66942), m = n2.__importStar(i2(12847)), g = n2.__importStar(i2(17498)), f = i2(88473), T = n2.__importStar(i2(43011)), y = n2.__importStar(i2(27854)), S = n2.__importDefault(i2(41510)), A = n2.__importStar(i2(98442)), N = n2.__importStar(i2(1115)), O = i2(73381), I = n2.__importDefault(i2(17102)), v = n2.__importStar(i2(43773)), C = i2(84133), b = i2(27862), E = i2(47957); - class R extends I.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importDefault(i2(73198)), l = n2.__importStar(i2(42989)), u = n2.__importStar(i2(81116)), c = i2(14394), d = n2.__importDefault(i2(7401)), p = i2(62017), _ = i2(24235), h = i2(66942), m = n2.__importStar(i2(12847)), g = n2.__importStar(i2(36781)), f = n2.__importStar(i2(58380)), T = n2.__importStar(i2(17498)), y = i2(88473), S = n2.__importStar(i2(43011)), A = n2.__importStar(i2(27854)), N = n2.__importDefault(i2(41510)), v = n2.__importStar(i2(98442)), O = n2.__importStar(i2(1115)), I = i2(73381), C = n2.__importDefault(i2(17102)), b = n2.__importStar(i2(43773)), E = i2(1910), w = i2(1910), R = i2(1910), D = i2(1910), P = i2(1910), M = i2(1910), F = i2(1910), L = n2.__importStar(i2(69453)), x = i2(84133), k = i2(27862), V = i2(47957); + class U extends C.default { constructor(e3, t3, i3, n3) { - super(e3, t3), this.model = i3, this.options = n3, this._id = (0, a.uuid)(), this.cases = [], this.options && this.options.isAudioViewModelOptions || (m.error("did not get a AudioViewModelOptions instance"), this.options = _.AudioViewModelOptions.create()), this._isInternal = this.options.isInternal, !this.model.uiMetaData && this.options.noValueSelectionLabel && (this.noValueMode = true), this._initialize(), this._outOfServiceProvider = (0, f.addOutOfServiceProperties)(this), h.audioRegistrationService.registerItem(this); + super(e3, t3), this.model = i3, this.options = n3, this._id = (0, a.uuid)(), this.cases = [], this.options && this.options.isAudioViewModelOptions || (m.error("did not get a AudioViewModelOptions instance"), this.options = _.AudioViewModelOptions.create()), this._isInternal = this.options.isInternal, !this.model.uiMetaData && this.options.noValueSelectionLabel && (this.noValueMode = true), this._initialize(), this._outOfServiceProvider = (0, y.addOutOfServiceProperties)(this), h.audioRegistrationService.registerItem(this); } get id() { return this._id; @@ -113202,26 +122300,26 @@ ${e3.stack}`, n3 = [this].concat(i3); const t3 = u.audioExpression(this.parentFlow, this.parent, e3.audioExpression, this.getExpressionLabel(e3.langCode), this._isInternal, p.ExpressionTypeAudioOptions.create((e4) => { e4.setFromOptions(this.options), e4.setIsOptional(true); })); - return new O.AudioCaseViewModel(this.parentFlow, this, e3, t3); + return new I.AudioCaseViewModel(this.parentFlow, this, e3, t3); } _prepareModel(e3, t3) { - return e3[t3] && !o.default.isEmpty(e3[t3]) || (e3[t3] = new c.default()), e3[t3]; + return e3[t3] && !o.default.isEmpty(e3[t3]) || (e3[t3] = new d.default()), e3[t3]; } _initialize() { this.model.cases || (this.model.cases = []), o.default.each(this.model.cases, (e4) => { const t3 = this._createAudioCase(e4); this.cases.push(t3), this.initializeDesignTimeCalled && t3.initializeDesignTime(); }); - const e3 = this.label + " (" + E.audio.defaultAudio + ")"; + const e3 = this.label + " (" + V.audio.defaultAudio + ")"; this._defaultAudio = u.audioExpression(this.parentFlow, this.parent, this._prepareModel(this.model, "defaultAudio"), e3, this._isInternal, p.ExpressionTypeAudioOptions.create((e4) => { e4.setFromOptions(this.options); - })), this._defaultAudio.parentAudio = this, this.options.supportsBargeInExpression && (this.bargeInExpression = u.expression(this.parentFlow, this.parent, this._prepareModel(this.model, "bargeInExpression"), E.audio.bargeInExpressionLabel, d.globalTypes.boolean, "bargeInExpression", d.globalTypes.boolean.createExpressionOptionClass().setAsInput(true).setUseCheckbox(true).setDefaultText(s.default.true).setDescriptionInfo(E.audio.bargeInExpressionLabel, E.audio.bargeInExpressionTooltip))), this.flushExpression = u.expression(this.parentFlow, this.parent, this._prepareModel(this.model, "flushExpression"), E.audio.flushAudio, d.globalTypes.boolean, "flushExpression", d.globalTypes.boolean.createExpressionOptionClass().setAsInput(true).setUseCheckbox(true).setDefaultText(s.default.false)), this.flushExpression.outOfService = true; + })), this._defaultAudio.parentAudio = this, this.options.supportsBargeInExpression && (this.bargeInExpression = u.expression(this.parentFlow, this.parent, this._prepareModel(this.model, "bargeInExpression"), V.audio.bargeInExpressionLabel, c.globalTypes.boolean, "bargeInExpression", c.globalTypes.boolean.createExpressionOptionClass().setAsInput(true).setUseCheckbox(true).setDefaultText(s.default.true).setDescriptionInfo(V.audio.bargeInExpressionLabel, V.audio.bargeInExpressionTooltip))), this.flushExpression = u.expression(this.parentFlow, this.parent, this._prepareModel(this.model, "flushExpression"), V.audio.flushAudio, c.globalTypes.boolean, "flushExpression", c.globalTypes.boolean.createExpressionOptionClass().setAsInput(true).setUseCheckbox(true).setDefaultText(s.default.false)), this.flushExpression.outOfService = true; } initializeDesignTime() { this._defaultAudio.initializeDesignTime(), this.flushExpression.initializeDesignTime(), this.bargeInExpression && this.bargeInExpression.initializeDesignTime(), this.cases.forEach((e3) => e3.initializeDesignTime()), super.initializeDesignTime(); } addAudioCase(e3) { - const t3 = new C(); + const t3 = new x(); t3.langCode = e3, t3.disabled = true; const i3 = this._createAudioCase(t3); return this.cases.push(i3), this.model.cases.push(i3.model), this.initializeDesignTimeCalled && i3.initializeDesignTime(), i3; @@ -113267,10 +122365,10 @@ ${e3.stack}`, n3 = [this].concat(i3); if (0 === this.cases.length) { const t3 = this.parentFlow ? this.parentFlow.topParentFlow.languages.supportedLanguages : []; o.default.each(t3, (t4) => { - e3.push(A.getLanguageEntry(t4)); + e3.push(v.getLanguageEntry(t4)); }); } else o.default.each(this.cases, (t3) => { - t3.disabled && this.parentFlow.topParentFlow.languages.getSupportedLanguageOption(t3.langCode) && e3.push(A.getLanguageEntry(t3.langCode)); + t3.disabled && this.parentFlow.topParentFlow.languages.getSupportedLanguageOption(t3.langCode) && e3.push(v.getLanguageEntry(t3.langCode)); }); return e3; } @@ -113287,18 +122385,18 @@ ${e3.stack}`, n3 = [this].concat(i3); return t3 || i3 || (i3 = this.defaultAudio), i3; } getExpressionDescription() { - if (this.hasError) return E.audio.advancedAudioInError; + if (this.hasError) return V.audio.advancedAudioInError; { let e3 = 0; return o.default.each(this.cases, (t3) => { t3.hasAudioSet && !t3.disabled && e3++; - }), 0 === e3 ? this.defaultAudio.customExpressionMode ? E.audio.customAudioExpressionInUse : this.defaultAudio.hasSequenceItems ? E.audio.advancedAudioInUseSingle : this.defaultAudio.isBlank ? "" : E.audio.advancedAudioInUseSingle : (this.defaultAudio.hasAudioSet && e3++, 1 === e3 ? E.audio.advancedAudioInUseSingle : (0, r2.sprintf)(E.audio.advancedAudioInUse, e3)); + }), 0 === e3 ? this.defaultAudio.customExpressionMode ? V.audio.customAudioExpressionInUse : this.defaultAudio.hasSequenceItems ? V.audio.advancedAudioInUseSingle : this.defaultAudio.isBlank ? "" : V.audio.advancedAudioInUseSingle : (this.defaultAudio.hasAudioSet && e3++, 1 === e3 ? V.audio.advancedAudioInUseSingle : (0, r2.sprintf)(V.audio.advancedAudioInUse, e3)); } } getDescription() { if (this.isBasicMode) { if (this.defaultAudio.isPromptOnly) { - const e3 = T.getItem(this.defaultAudio.sequenceItems[0].parameter); + const e3 = S.getItem(this.defaultAudio.sequenceItems[0].parameter); return e3 ? e3.expressionName : ""; } if (this.defaultAudio.isPromptVariableOnly) { @@ -113312,10 +122410,10 @@ ${e3.stack}`, n3 = [this].concat(i3); getEditPromptSaveCallback() { let e3; const t3 = this.parent && this.parent.startUpObject || null; - return t3 && t3.validate ? e3 = N.validateNode.bind(this, t3, false) : this.parent && this.parent.validate && (e3 = N.validateNode.bind(this, this.parent, false)), e3; + return t3 && t3.validate ? e3 = O.validateNode.bind(this, t3, false) : this.parent && this.parent.validate && (e3 = O.validateNode.bind(this, this.parent, false)), e3; } getExpressionLabel(e3) { - return (0, r2.sprintf)(S.default.audio.languageLabel, this.label, e3); + return (0, r2.sprintf)(N.default.audio.languageLabel, this.label, e3); } getAllPrompts() { let e3 = this.getPromptsUsedForLang(); @@ -113324,7 +122422,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }), e3; } getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForComparison) return v.removePropertiesForComparison(this.model); + if (null == t3 ? void 0 : t3.isForComparison) return b.removePropertiesForComparison(this.model); if (null == t3 ? void 0 : t3.isForFlowYaml) { if (!this.hasAudioSet) return null; const i3 = {}; @@ -113453,7 +122551,7 @@ ${e3.stack}`, n3 = [this].concat(i3); break; case l.prompt: const t4 = e4; - g.registerPrompt(y.removePrefix(t4.name), t4.isSystem ? b.SystemPrompt : b.UserPrompt, this._defaultAudio.parentFlow, t4.parameter); + T.registerPrompt(A.removePrefix(t4.name), t4.isSystem ? k.SystemPrompt : k.UserPrompt, this._defaultAudio.parentFlow, t4.parameter); break; case l.expression: e4.expression.registerDependencies(); @@ -113468,15 +122566,103 @@ ${e3.stack}`, n3 = [this].concat(i3); validate(e3) { this.outOfService || (this.updateCases(), this.defaultAudio.validate(e3), this.options.supportsBargeInExpression && this.bargeInExpression.validate(e3), this.flushExpression.validate(e3), o.default.each(this.cases, (t3) => { t3.disabled || t3.validate(e3); - }), this.isEmpty && !this.noValueMode && this.options.allowBlankAudio && e3.addWarning(this, (0, r2.sprintf)(E.audio.blankMainSeqWarningContext, this.label), void 0, true)); + }), this.isEmpty && !this.noValueMode && this.options.allowBlankAudio && e3.addWarning(this, (0, r2.sprintf)(V.audio.blankMainSeqWarningContext, this.label), void 0, true)); } willMainSequenceRun() { return 0 === this.cases.length || !o.default.every(this.cases, (e3) => !e3.disabled && e3.hasAudioSet); } + configureFromModel(e3, t3, i3) { + super.configureFromModel(e3, t3, i3), (0, P.withModelContext)(i3, `Audio[${this.label || "unknown"}]`, () => { + (0, D.shouldProceedWithOosAssignment)(this, i3) && this._configureFromModel(e3, t3, i3); + }); + } + _configureFromModel(e3, t3, i3) { + if (!(0, E.isConfigureFromModelRecord)(e3)) return; + if (!this.defaultAudio) return; + const n3 = e3; + if (this._applySequenceToAudioExpression(n3, this.defaultAudio, i3), void 0 !== n3.alternateSequences && null !== n3.alternateSequences && this._configureAlternateSequencesFromModel(n3, i3), i3) for (const e4 of Object.keys(n3)) U.AUDIO_TOP_LEVEL_KEYS.has(e4) || (0, R.reportAdditionalProperty)(e4, "Audio", i3); + } + _configureAlternateSequencesFromModel(e3, t3) { + var i3; + i3 = () => { + const i4 = t3 ? (0, w.getObjectValue)(e3, "alternateSequences", t3) : (0, E.isConfigureFromModelRecord)(e3.alternateSequences) ? e3.alternateSequences : void 0; + if (i4) for (const e4 of Object.keys(i4)) ((i5) => { + t3 ? (0, P.withModelContext)(t3, e4, i5) : i5(); + })(() => { + const n3 = i4[e4]; + if (!(0, E.isConfigureFromModelRecord)(n3)) return void (t3 && t3.warn((0, r2.sprintf)(L.configureFromModel.expectedObject, `alternateSequences['${e4}']`, Array.isArray(n3) ? "array" : typeof n3))); + const o2 = this._findOrCreateAudioCaseForLanguage(e4, t3); + if (!o2) return; + if (!(0, D.shouldProceedWithOosAssignment)(o2.audioExpression, t3)) return; + const a2 = n3; + if (this._applySequenceToAudioExpression(a2, o2.audioExpression, t3) && (o2.disabled = false), t3) for (const e5 of Object.keys(a2)) U.AUDIO_ALTERNATE_SEQUENCE_KEYS.has(e5) || (0, R.reportAdditionalProperty)(e5, "Audio.alternateSequence", t3); + }); + }, t3 ? (0, P.withModelContext)(t3, "alternateSequences", i3) : i3(); + } + _findOrCreateAudioCaseForLanguage(e3, t3) { + var i3, n3, a2; + const s2 = (e3 || "").toLowerCase(), l2 = o.default.find(this.cases, (e4) => (e4.langCode || "").toLowerCase() === s2); + if (l2) return l2; + const u2 = null === (n3 = null === (i3 = this.parentFlow) || void 0 === i3 ? void 0 : i3.topParentFlow) || void 0 === n3 ? void 0 : n3.languages, c2 = null === (a2 = null == u2 ? void 0 : u2.getSupportedLanguageOption) || void 0 === a2 ? void 0 : a2.call(u2, e3); + if (c2) return this.addAudioCase(c2.language); + t3 && t3.warn((0, r2.sprintf)(L.configureFromModel.skipAlternateSequenceUnsupportedLanguage, e3)); + } + _applySequenceToAudioExpression(e3, t3, i3) { + var n3; + let r3 = false; + if ("string" == typeof e3.tts) t3.setTTSOnly(e3.tts), r3 = true; + else if ("string" == typeof e3.exp) t3.setExpressionOnly(e3.exp), r3 = true; + else if ("string" == typeof e3.prompt) { + const o2 = e3.prompt; + if (t3.setExpressionOnly(o2), (null == i3 ? void 0 : i3.entityResolver) && o2.trim().length > 0) { + const e4 = A.hasSystemPromptPrefix(o2) ? "systemPrompt" : "userPrompt", r4 = null === (n3 = t3.sequenceItems[0]) || void 0 === n3 ? void 0 : n3.expression; + r4 && (0, M.registerDeferredNetworkLiteralResolution)(i3, { entityType: e4, lookupValue: A.removePrefix(o2.trim()), lookupValueType: F.entityLookupValueType.name, targetExpression: r4 }); + } + r3 = true; + } + return r3 && f.fireEvent(t3, g.sequenceItemsUpdated), r3; + } getExpressions() { } } - t2.AudioViewModel = R; + t2.AudioViewModel = U, U.AUDIO_TOP_LEVEL_KEYS = /* @__PURE__ */ new Set(["tts", "exp", "prompt", "alternateSequences"]), U.AUDIO_ALTERNATE_SEQUENCE_KEYS = /* @__PURE__ */ new Set(["tts", "exp", "prompt"]); + }, 96366: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), r2 = i2(30801), o = i2(26847), a = n2.__importDefault(i2(57382)); + class s extends a.default { + constructor(e3) { + super(e3), this._enableBargeIn = this.coreFactory.createArchWrapper(e3.enableBargeIn), this._voiceEndOfInputTimeout = this.coreFactory.createArchWrapper(e3.voiceEndOfInputTimeout); + } + get _actionTypeId() { + return r2.agenticAskForIntentActionType; + } + get isArchActionAgenticAskForIntent() { + return true; + } + get displayTypeName() { + return this._scriptingName; + } + get enableBargeIn() { + return this._enableBargeIn; + } + get voiceEndOfInputTimeout() { + return this._voiceEndOfInputTimeout; + } + get outputFailure() { + return this._getOutputById(o.outputIds.failure, true); + } + get outputTimeout() { + return this._getOutputById(o.outputIds.timeout, true); + } + get outputMaxNoInputs() { + return this._getOutputById(o.outputIds.maxNoInputs, true); + } + get outputMaxNoMatches() { + return this._getOutputById(o.outputIds.maxNoMatches, true); + } + } + t2.default = s; }, 96390: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -113501,13 +122687,13 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = r2; }, 96422: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = n2.__importStar(i2(99434)), a = i2(12179), s = n2.__importDefault(i2(5730)), l = n2.__importDefault(i2(73198)), u = n2.__importDefault(i2(4648)), d = n2.__importDefault(i2(97891)), c = i2(12457), p = i2(67607), _ = i2(79467), h = i2(96618), m = i2(80428), g = i2(47957); + const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = n2.__importStar(i2(99434)), a = i2(12179), s = n2.__importDefault(i2(5730)), l = n2.__importDefault(i2(73198)), u = n2.__importDefault(i2(4648)), c = n2.__importDefault(i2(97891)), d = i2(12457), p = i2(67607), _ = i2(79467), h = i2(96618), m = i2(80428), g = i2(47957); class f extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this.duration = null, this._loadModel(t3); } getDetails() { - return this.duration ? new c.ActionDetails([g.wait.durationLabel], [o.getDisplayText(this.duration)]) : null; + return this.duration ? new d.ActionDetails([g.wait.durationLabel], [o.getDisplayText(this.duration)]) : null; } static get managedProperties() { return [{ label: g.wait.durationLabel, type: m.expressionTypeNames.duration, options: _.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(l.default.litDurationOneMinute).setDurationStyle(r2.durationStyles.fullDuration).setIninTestingField("durationExpression").facets.setMinDur(0, true)), property: "duration", yamlOptions: f.createYamlOptions("duration", (e3) => e3.setExportOrder(30)) }, { label: g.wait.trimDurationLabel, supportedFlowTypes: h.flowTypes.flowTypesAllAutomate, options: p.ExpressionTypeBooleanOptions.create((e3) => e3.setIninTestingField("trimDurationExpression").setFeatureConfigName(u.default.workflowWaitActionUpdatesPhase1).setDescriptionInfo(g.wait.trimDurationLabel, g.wait.trimDurationDescription)), property: "trimDurationNearMaxRunningTime", type: m.expressionTypeNames.boolean, yamlOptions: f.createYamlOptions("trimDurationNearMaxRunningTime", (e3) => e3.setExportOrder(20)) }]; @@ -113519,7 +122705,7 @@ ${e3.stack}`, n3 = [this].concat(i3); super.validate(e3), this.duration || e3.addError(this, g.wait.noDurationSet); } } - f.info = d.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: a.helpTopics.actions.wait, modelClass: i2(590), name: g.actions.wait, scriptingName: "ArchActionWait" }), t2.A = f; + f.info = c.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: a.helpTopics.actions.wait, modelClass: i2(590), name: g.actions.wait, scriptingName: "ArchActionWait", modelFormatSupport: { flowYaml: { inProgress: true, feature: u.default.changeSetsFeaturePhase2 } } }), t2.A = f; }, 96481: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -113618,7 +122804,55 @@ ${e3.stack}`, n3 = [this].concat(i3); if (null != e3) for (var i3 in e3) "default" !== i3 && Object.prototype.hasOwnProperty.call(e3, i3) && n2(t3, e3, i3); return r2(t3, e3), t3; }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.flowTypes = void 0, t2.flowTypes = o(i2(69706)); + Object.defineProperty(t2, "__esModule", { value: true }), t2.setOrgFlowTypeExpansions = t2.isFlowTypeOrTypeGroupId = t2.isFlowTypeId = t2.isFlowTypeGroupId = t2.haveOrgFlowTypeExpansionsBeenSet = t2.getFlowTypeIdFromYamlFlowTypeId = t2.getFlowTypeGroupIdsForFlowTypeId = t2.expandToFlowTypeIds = t2.clearOrgFlowTypeExpansions = t2.FlowTypeOrTypeGroupId = t2.FlowTypeGroupId = t2.FlowTypeId = t2.flowTypes = void 0, t2.flowTypes = o(i2(69706)); + var a = i2(69706); + Object.defineProperty(t2, "FlowTypeId", { enumerable: true, get: function() { + return a.FlowTypeId; + } }); + var s = i2(69706); + Object.defineProperty(t2, "FlowTypeGroupId", { enumerable: true, get: function() { + return s.FlowTypeGroupId; + } }); + var l = i2(69706); + Object.defineProperty(t2, "FlowTypeOrTypeGroupId", { enumerable: true, get: function() { + return l.FlowTypeOrTypeGroupId; + } }); + var u = i2(69706); + Object.defineProperty(t2, "clearOrgFlowTypeExpansions", { enumerable: true, get: function() { + return u.clearOrgFlowTypeExpansions; + } }); + var c = i2(69706); + Object.defineProperty(t2, "expandToFlowTypeIds", { enumerable: true, get: function() { + return c.expandToFlowTypeIds; + } }); + var d = i2(69706); + Object.defineProperty(t2, "getFlowTypeGroupIdsForFlowTypeId", { enumerable: true, get: function() { + return d.getFlowTypeGroupIdsForFlowTypeId; + } }); + var p = i2(69706); + Object.defineProperty(t2, "getFlowTypeIdFromYamlFlowTypeId", { enumerable: true, get: function() { + return p.getFlowTypeIdFromYamlFlowTypeId; + } }); + var _ = i2(69706); + Object.defineProperty(t2, "haveOrgFlowTypeExpansionsBeenSet", { enumerable: true, get: function() { + return _.haveOrgFlowTypeExpansionsBeenSet; + } }); + var h = i2(69706); + Object.defineProperty(t2, "isFlowTypeGroupId", { enumerable: true, get: function() { + return h.isFlowTypeGroupId; + } }); + var m = i2(69706); + Object.defineProperty(t2, "isFlowTypeId", { enumerable: true, get: function() { + return m.isFlowTypeId; + } }); + var g = i2(69706); + Object.defineProperty(t2, "isFlowTypeOrTypeGroupId", { enumerable: true, get: function() { + return g.isFlowTypeOrTypeGroupId; + } }); + var f = i2(69706); + Object.defineProperty(t2, "setOrgFlowTypeExpansions", { enumerable: true, get: function() { + return f.setOrgFlowTypeExpansions; + } }); }, 96629: (e2, t2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -113657,9 +122891,9 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 96651: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(14187)), o = n2.__importDefault(i2(61610)), a = i2(12179), s = n2.__importDefault(i2(97891)), l = i2(30801), u = i2(47957); + const n2 = i2(31635), r2 = n2.__importDefault(i2(4648)), o = n2.__importStar(i2(14187)), a = n2.__importDefault(i2(61610)), s = i2(12179), l = n2.__importDefault(i2(97891)), u = i2(30801), c = i2(47957); i2(69674); - class d extends o.default { + class d extends a.default { constructor(e3, t3) { super(e3), this._loadModel(t3); } @@ -113676,13 +122910,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return !(!this.parentFlow.definition.startUpStateMustTerminate && this.isStartUpObject) && super.shouldBeTerminated; } get resources() { - return { deleteTitle: u.deleteState, edit: u.states.editState, multipleNameError: u.states.multipleNames, noTerminatingAction: u.states.noTerminatingAction, setAsStartup: u.setStateAsStartup, startUpDisplayName: u.startUpStateDisplayName }; + return { deleteTitle: c.deleteState, edit: c.states.editState, multipleNameError: c.states.multipleNames, noTerminatingAction: c.states.noTerminatingAction, setAsStartup: c.setStateAsStartup, startUpDisplayName: c.startUpStateDisplayName }; } get defaultVariableScope() { - return r2.scopes.state; + return o.scopes.state; } get localVariableScope() { - return r2.scopes.state; + return o.scopes.state; } get isAllowedAsStartupNode() { return this.parentFlow.isAutomateFlowType && !this.isStartUpObject && this.parentFlow.periodicState !== this; @@ -113697,7 +122931,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.parentFlow.periodicState === this; } get containerLabel() { - return u.state.label; + return c.state.label; } get supportsInputVariables() { return this.parentFlow.supportsStateInputVariables; @@ -113712,7 +122946,7 @@ ${e3.stack}`, n3 = [this].concat(i3); super.addClipboardDependencies(e3), e3.copyCutProcessStateViewModel(this); } } - d.info = s.default.createReusableNodeInfo({ actionType: l.stateActionType, actionClass: d, helpTopic: a.helpTopics.tasks.state, name: u.actions.state }), t2.default = d; + d.info = l.default.createReusableNodeInfo({ actionType: u.stateActionType, actionClass: d, helpTopic: s.helpTopics.tasks.state, name: c.actions.state, modelFormatSupport: { flowYaml: { inProgress: true, feature: r2.default.changeSetsFeaturePhase2 } } }), t2.default = d; }, 96684: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.FindUserActionModel = void 0; @@ -113879,15 +123113,15 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 96875: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(30260)), s = n2.__importStar(i2(24032)), l = n2.__importStar(i2(62241)), u = i2(51830), d = (n2.__importStar(i2(12847)), n2.__importStar(i2(33909))), c = n2.__importStar(i2(66381)), p = n2.__importStar(i2(1115)), _ = n2.__importDefault(i2(82190)), h = n2.__importDefault(i2(35583)), m = n2.__importDefault(i2(79159)), g = i2(77886), f = i2(37345), T = i2(47957), y = i2(38297), S = s.getTopic("asyncFlowOperationManager"), A = function(e3) { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(30260)), s = n2.__importStar(i2(24032)), l = n2.__importStar(i2(62241)), u = i2(90396), c = i2(51830), d = (n2.__importStar(i2(12847)), n2.__importStar(i2(33909))), p = n2.__importStar(i2(66381)), _ = n2.__importStar(i2(1115)), h = n2.__importDefault(i2(82190)), m = n2.__importDefault(i2(35583)), g = n2.__importDefault(i2(79159)), f = i2(77886), T = i2(37345), y = i2(47957), S = i2(38297), A = s.getTopic("asyncFlowOperationManager"), N = function(e3) { return { code: e3.currentOperation.errorCode, entityId: e3.id, details: e3.currentOperation.errorDetails, message: e3.currentOperation.errorMessage, messageParams: e3.currentOperation.errorMessageParams ? e3.currentOperation.errorMessageParams.additionalProperties || e3.currentOperation.errorMessageParams : "" }; }; - class N extends m.default { + class v extends g.default { _cleanOperation(e3, t3, i3) { - if (this._removeEventNotifications(t3), t3.operationStillInProgress = false, i3 && i3.isRequestError && (i3 = new _.default(i3, t3)), t3.isValidate && !e3 && (o.default.isString(i3) || (i3 = T.errors.validateFailed), p.validateFlowFailed(t3.flowViewModel, i3)), e3) { + if (this._removeEventNotifications(t3), t3.operationStillInProgress = false, i3 && i3.isRequestError && (i3 = new h.default(i3, t3)), t3.isValidate && !e3 && (o.default.isString(i3) || (i3 = y.errors.validateFailed), _.validateFlowFailed(t3.flowViewModel, i3)), e3) { let e4; - t3.logTopic.info("operation completed with success"), e4 = t3.isGetHistory ? t3.firstOperationId : t3.flowViewModel && t3.flowViewModel.isFlowViewModel ? t3.flowViewModel.info._model : t3.flowInfoModel, t3.deferredOperation.resolve(e4); - } else t3.logTopic.info("operation completed with error"), t3.deferredOperation.reject(i3); + t3.logTopic.info("operation completed with success"), e4 = t3.isGetHistory ? t3.firstOperationId : t3.flowViewModel && t3.flowViewModel.isFlowViewModel ? t3.flowViewModel.info._model : t3.flowInfoModel, t3.deferredOperation.isPending() && t3.deferredOperation.resolve(e4); + } else t3.logTopic.info("operation completed with error"), t3.deferredOperation.isPending() && t3.deferredOperation.reject(i3); } _emergencyPollProcessing(e3, t3) { t3.isDelete ? o.default.each(e3.entities, (e4) => { @@ -113898,16 +123132,16 @@ ${e3.stack}`, n3 = [this].concat(i3); if (!e3.operationIds) return e3.logTopic.error("No operation id set, can not do emergency polling"), void this._cleanOperation(false, e3); if (e3.isDelete) { const t3 = o.default.keys(e3.remainingFlowsInfoViewModels); - return f.getFlows({ id: t3 }); + return T.getFlows({ id: t3 }); } - return e3.isPublish || e3.isCheckIn ? f.getFlow(e3.flowId, false) : e3.isValidate || e3.initializeDesignTime ? y.getValidationResults(e3.flowViewModel.id, e3.firstOperationId) : e3.isGetHistory ? f.getHistoryResults(e3.flowId, e3.firstOperationId, 1) : void 0; + return e3.isPublish || e3.isCheckIn ? T.getFlow(e3.flowId, false) : e3.isValidate || e3.initializeDesignTime ? S.getValidationResults(e3.flowViewModel.id, e3.firstOperationId) : e3.isGetHistory ? T.getHistoryResults(e3.flowId, e3.firstOperationId, 1) : void 0; } _getSubscriptionTopic(e3) { - return (0, g.getFlowOperationsTopic)(e3); + return (0, f.getFlowOperationsTopic)(e3); } _loadNewModelDetails(e3, t3) { try { - t3.flowInfoModel = e3, t3.flowViewModel && (t3.flowViewModel.isFlowInfo ? t3.flowViewModel : t3.flowViewModel.info).loadModel(e3); + t3.flowInfoModel = e3, t3.flowViewModel && ((0, u.isFlowInfoViewModel)(t3.flowViewModel) ? t3.flowViewModel : t3.flowViewModel.info).loadModel(e3); const i3 = a.getItem(e3.id); i3 && (i3.isFlowInfo ? i3 : i3.info).loadModel(e3); } catch (e4) { @@ -113918,7 +123152,7 @@ ${e3.stack}`, n3 = [this].concat(i3); t3 && t3.currentOperation && !t3.currentOperation.operationId ? t3.currentOperation.actionName !== l.actionName.stateChange && (e3.matchesOperationId(t3.currentOperation.id) ? (e3.loggingCallback && e3.loggingCallback(t3), t3.currentOperation.complete && (e3.isPublish ? this._checkPublishFinished(e3, t3) : e3.isDelete ? this._checkDeleteFinished(e3, t3) : e3.isValidate || e3.initializeDesignTime ? this._checkValidationFinished(e3, t3) : e3.isCheckIn ? this._checkCheckInFinished(e3, t3) : e3.isGetHistory && this._checkGetHistoryFinished(e3, t3))) : e3.logCurrentOperation(t3, "unknown operation id: " + t3.currentOperation.id, false)) : e3.logCurrentOperation(t3, "missing operation id", true); } _refreshFlowInfoAndFinish(e3, t3) { - t3.isFlowInfo ? (this._loadNewModelDetails(t3, e3), this._cleanOperation(true, e3)) : f.getFlow(e3.flowId, false).then((t4) => { + t3.isFlowInfo ? (this._loadNewModelDetails(t3, e3), this._cleanOperation(true, e3)) : T.getFlow(e3.flowId, false).then((t4) => { this._loadNewModelDetails(t4, e3), this._cleanOperation(true, e3); }, (t4) => { e3.logTopic.errorPromise(t4, "_refreshFlowInfoAndFinish getFlow failed"), this._cleanOperation(false, e3); @@ -113927,21 +123161,21 @@ ${e3.stack}`, n3 = [this].concat(i3); _checkCheckInFinished(e3, t3) { if (t3.currentOperation.actionStatus === l.actionStatus.success && t3.checkedInVersion) this._refreshFlowInfoAndFinish(e3, t3); else { - const i3 = A(t3), n3 = new _.default(i3, null); + const i3 = N(t3), n3 = new h.default(i3, null); d.log(e3.logTopic, i3, "Failed Checkin: "), this._cleanOperation(false, e3, n3); } } _checkGetHistoryFinished(e3, t3) { if (t3 && t3.currentOperation && t3.currentOperation.actionStatus === l.actionStatus.success) this._cleanOperation(true, e3); else { - const i3 = A(t3); + const i3 = N(t3); d.log(e3.logTopic, i3, "Failed History: "), this._cleanOperation(false, e3); } } _checkPublishFinished(e3, t3) { if (t3.currentOperation.actionStatus === l.actionStatus.success && (e3.isDebugPublish || t3.publishedVersion)) this._refreshFlowInfoAndFinish(e3, t3); else { - const i3 = A(t3); + const i3 = N(t3); d.log(e3.logTopic, i3, "Failed Publish: "), this._cleanOperation(false, e3, i3); } } @@ -113949,7 +123183,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (!e3.remainingFlowsInfoViewModels[t3.id]) return void e3.logTopic.error("Notified about {} again", t3.id); if (t3 && t3.currentOperation || e3.logTopic.error("Unable to check flow deletion state. No current operation information available."), t3.currentOperation.actionStatus === l.actionStatus.success) a.removeItem(e3.remainingFlowsInfoViewModels[t3.id]); else { - const i4 = A(t3), n3 = (0, r2.sprintf)("Failed to delete flow {%1$s}", i4.entityId); + const i4 = N(t3), n3 = (0, r2.sprintf)("Failed to delete flow {%1$s}", i4.entityId); d.log(e3.logTopic, i4, n3), e3.errors || (e3.errors = []), e3.errors.push(i4); } const i3 = this._getSubscriptionTopic(t3.id); @@ -113959,7 +123193,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } } _checkValidationFinished(e3, t3) { - if (t3 && t3.currentOperation && t3.currentOperation.actionStatus === l.actionStatus.success) y.getValidationResults(e3.flowViewModel.id, e3.firstOperationId).then((t4) => { + if (t3 && t3.currentOperation && t3.currentOperation.actionStatus === l.actionStatus.success) S.getValidationResults(e3.flowViewModel.id, e3.firstOperationId).then((t4) => { this._processManifestResults(e3, t4, true); }).catch((t4) => { e3.logTopic.exception(t4, "Could not get flow validation results"), this._cleanOperation(false, e3); @@ -113970,12 +123204,12 @@ ${e3.stack}`, n3 = [this].concat(i3); } } _processManifestResults(e3, t3, i3) { - var n3, r3, a2, s2, d2; + var n3, r3, a2, s2, u2; if (!e3.operationStillInProgress || o.default.isFunction(null === (n3 = e3.deferredOperation) || void 0 === n3 ? void 0 : n3.isFulfilled) && e3.deferredOperation.isFulfilled()) e3.logTopic.warning("operation is complete, no need to _processManifestResults again"); else { if (t3.actionStatus !== l.actionStatus.success) return i3 && e3.logTopic.error("manifest results not ready yet but we received notification saying it was"), t3.actionStatus === l.actionStatus.failure ? (e3.logTopic.error("manifest results is marked as failed.", t3.errorMessage), void this._cleanOperation(false, e3, t3.errorMessage)) : void 0; if (!t3.results) return e3.logTopic.error("missing manifest results"), void this._cleanOperation(false, e3); - e3.isGetHistory || (new u.ConfigListManagerSeeder(t3).seedListManagers(), e3.flowViewModel.setReceivedInitialValidationData()), e3.initializeDesignTime && e3.flowViewModel.initializeDesignTime(), e3.isValidate && (p.validateFlow(e3.flowViewModel, e3.initializeDesignTime), e3.flowViewModel.isNluFlow && (null === (r3 = t3.results) || void 0 === r3 ? void 0 : r3.nluDomain) && N._checkNluEngineVersion(e3.flowViewModel, null === (a2 = Object.values(t3.results.nluDomain)) || void 0 === a2 ? void 0 : a2[0])), e3.isValidate && e3.firstValidate && (null === (s2 = e3.flowViewModel.validationResults) || void 0 === s2 ? void 0 : s2.needsRevalidate) ? this._retryAsyncAdsValidationResults(e3) : (e3.isValidate && !e3.firstValidate && (null === (d2 = e3.flowViewModel.validationResults) || void 0 === d2 ? void 0 : d2.needsRevalidate) && e3.logTopic.error("A third validate was triggered, will not be doing it"), this._cleanOperation(true, e3)); + e3.isGetHistory || (new c.ConfigListManagerSeeder(t3).seedListManagers(), e3.flowViewModel.setReceivedInitialValidationData()), e3.initializeDesignTime && e3.flowViewModel.initializeDesignTime(), e3.isValidate && (_.validateFlow(e3.flowViewModel, e3.initializeDesignTime), e3.flowViewModel.isNluFlow && (null === (r3 = t3.results) || void 0 === r3 ? void 0 : r3.nluDomain) && v._checkNluEngineVersion(e3.flowViewModel, null === (a2 = Object.values(t3.results.nluDomain)) || void 0 === a2 ? void 0 : a2[0])), e3.isValidate && e3.firstValidate && (null === (s2 = e3.flowViewModel.validationResults) || void 0 === s2 ? void 0 : s2.needsRevalidate) ? this._retryAsyncAdsValidationResults(e3) : (e3.isValidate && !e3.firstValidate && (null === (u2 = e3.flowViewModel.validationResults) || void 0 === u2 ? void 0 : u2.needsRevalidate) && e3.logTopic.error("A third validate was triggered, will not be doing it"), this._cleanOperation(true, e3)); } } static _checkNluEngineVersion(e3, t3) { @@ -113983,29 +123217,29 @@ ${e3.stack}`, n3 = [this].concat(i3); i3 && (!e3.botFlowSettings.engineVersion || parseFloat(e3.botFlowSettings.engineVersion) < parseFloat(i3)) && e3.updateNluEngineVersion(i3); } fallback(e3, t3) { - const i3 = S.withMultipleContext({ flowId: e3.id, opName: l.actionName.publish }); + const i3 = A.withMultipleContext({ flowId: e3.id, opName: l.actionName.publish }); i3.info("starting fallback publish flow"); const n3 = this._createPublishOperationInfo(e3.id, void 0, t3, i3); - return e3.checkCanPublish.lacksPermission ? this._permissionErrorHandling(e3, n3, e3.checkCanPublish.noPermissionDisplayString) : (n3.operationToPerform = () => f.publish(e3.id, true), this._performOperation(n3)); + return e3.checkCanPublish.lacksPermission ? this._permissionErrorHandling(e3, n3, e3.checkCanPublish.noPermissionDisplayString) : (n3.operationToPerform = () => T.publish(e3.id, true), this._performOperation(n3)); } _permissionErrorHandling(e3, t3, i3) { const n3 = { response: {} }; - return n3.response.errors = [], n3.response.errors.push({ entityId: null == e3 ? void 0 : e3.id, errorDisplayString: i3 }), S.errorWithErrorObjectInfo(i3, e3, false), t3.deferredOperation.reject(n3), t3.deferredOperation.promise; + return n3.response.errors = [], n3.response.errors.push({ entityId: null == e3 ? void 0 : e3.id, errorDisplayString: i3 }), A.errorWithErrorObjectInfo(i3, e3, false), t3.deferredOperation.reject(n3), t3.deferredOperation.promise; } checkInFlow(e3, t3) { - const i3 = S.withMultipleContext({ flowId: e3.id, opName: l.actionName.checkin }); + const i3 = A.withMultipleContext({ flowId: e3.id, opName: l.actionName.checkin }); i3.info("starting checkin flow"); - const n3 = new h.default("asyncCheckin", this._getSubscriptionTopic(e3.id), i3, this.stateChangedCheck, this); - n3.flowId = e3.id, n3.flowViewModel = e3.isFlowViewModel ? e3 : null, n3.loggingCallback = t3, n3.isCheckIn = true, n3.operationToPerform = f.checkIn.bind(f, e3.id); + const n3 = new m.default("asyncCheckin", this._getSubscriptionTopic(e3.id), i3, this.stateChangedCheck, this); + n3.flowId = e3.id, n3.flowViewModel = e3.isFlowViewModel ? e3 : null, n3.loggingCallback = t3, n3.isCheckIn = true, n3.operationToPerform = T.checkIn.bind(T, e3.id); const r3 = e3.isFlowViewModel ? e3.info : e3, o2 = r3.currentUserHasLock ? r3.checkCanEdit : r3.checkCanUnlock; return o2.lacksPermission ? this._permissionErrorHandling(r3, n3, o2.noPermissionDisplayString) : this._performOperation(n3); } postFlowHistoryRequest(e3, t3) { - const i3 = S.withMultipleContext({ flowId: e3, pageNum: t3, opName: l.actionName.history }), n3 = new h.default("AsyncHistoryManager", this._getSubscriptionTopic(e3), i3); - return n3.flowId = e3, n3.operationToPerform = f.postHistoryRequest.bind(f, e3, t3), n3.isGetHistory = true, this._performOperation(n3); + const i3 = A.withMultipleContext({ flowId: e3, pageNum: t3, opName: l.actionName.history }), n3 = new m.default("AsyncHistoryManager", this._getSubscriptionTopic(e3), i3); + return n3.flowId = e3, n3.operationToPerform = T.postHistoryRequest.bind(T, e3, t3), n3.isGetHistory = true, this._performOperation(n3); } _createPublishOperationInfo(e3, t3, i3, n3) { - const r3 = new h.default("asyncPublish", this._getSubscriptionTopic(e3), n3, this.stateChangedCheck, this); + const r3 = new m.default("asyncPublish", this._getSubscriptionTopic(e3), n3, this.stateChangedCheck, this); r3.flowId = e3, r3.flowViewModel = t3, r3.loggingCallback = i3, r3.isPublish = true; let a2 = 30; try { @@ -114019,30 +123253,30 @@ ${e3.stack}`, n3 = [this].concat(i3); return r3.emergencyPollingTimeout = a2, r3; } publishFlow(e3, t3, i3) { - const n3 = S.withMultipleContext({ flowId: e3.id, opName: l.actionName.publish }); + const n3 = A.withMultipleContext({ flowId: e3.id, opName: l.actionName.publish }); n3.info("starting publish flow"); const r3 = this._createPublishOperationInfo(e3.id, e3, t3, n3); - return e3.info.checkCanPublish.lacksPermission ? this._permissionErrorHandling(e3.info, r3, e3.info.checkCanPublish.noPermissionDisplayString) : (r3.operationToPerform = () => f.publish(e3.id, i3), this._performOperation(r3)); + return e3.info.checkCanPublish.lacksPermission ? this._permissionErrorHandling(e3.info, r3, e3.info.checkCanPublish.noPermissionDisplayString) : (r3.operationToPerform = () => T.publish(e3.id, i3), this._performOperation(r3)); } debugPublishFlow(e3, t3, i3) { - const n3 = S.withMultipleContext({ flowId: e3.id, opName: l.actionName.debugPublish }); + const n3 = A.withMultipleContext({ flowId: e3.id, opName: l.actionName.debugPublish }); n3.info("starting debug publish flow"); const r3 = this._createPublishOperationInfo(e3.id, e3, t3, n3); - return r3.isDebugPublish = true, r3.flowViewModel.info.checkCanPublish.lacksPermission ? this._permissionErrorHandling(r3.flowViewModel.info, r3, r3.flowViewModel.info.checkCanPublish.noPermissionDisplayString) : (r3.operationToPerform = () => f.enableFlowDebug(e3.id, i3), this._performOperation(r3)); + return r3.isDebugPublish = true, r3.flowViewModel.info.checkCanPublish.lacksPermission ? this._permissionErrorHandling(r3.flowViewModel.info, r3, r3.flowViewModel.info.checkCanPublish.noPermissionDisplayString) : (r3.operationToPerform = () => T.enableFlowDebug(e3.id, i3), this._performOperation(r3)); } deleteFlows(e3) { - S.info("starting bulk delete of flows:{}", c.getListOfFlowIds(e3)); + A.info("starting bulk delete of flows:{}", p.getListOfFlowIds(e3)); const t3 = o.default.pluck(e3, "id"), i3 = {}, n3 = []; o.default.each(e3, (e4) => { const t4 = e4.isFlowViewModel ? e4.info : e4, r4 = t4.checkCanDelete; - r4.lacksPermission ? (S.errorWithErrorObjectInfo("Current user does not have permissions to delete this flow.", t4, false), n3.push({ entityId: t4.id, errorDisplayString: r4.noPermissionDisplayString })) : i3[t4.id] = t4; + r4.lacksPermission ? (A.errorWithErrorObjectInfo("Current user does not have permissions to delete this flow.", t4, false), n3.push({ entityId: t4.id, errorDisplayString: r4.noPermissionDisplayString })) : i3[t4.id] = t4; }); const r3 = []; o.default.each(t3, (e4) => { r3.push(this._getSubscriptionTopic(e4)); }); - const a2 = new h.default("asyncDelete", r3, S, this.stateChangedCheck, this); - return a2.remainingFlowsInfoViewModels = i3, a2.isDelete = true, a2.operationToPerform = f.deleteBulkFlows.bind(f, t3), n3.length > 0 ? (a2.deferredOperation.reject({ response: { errors: n3 } }), a2.deferredOperation.promise) : this._performOperation(a2); + const a2 = new m.default("asyncDelete", r3, A, this.stateChangedCheck, this); + return a2.remainingFlowsInfoViewModels = i3, a2.isDelete = true, a2.operationToPerform = T.deleteBulkFlows.bind(T, t3), n3.length > 0 ? (a2.deferredOperation.reject({ response: { errors: n3 } }), a2.deferredOperation.promise) : this._performOperation(a2); } validateFlow(e3) { return e3 ? this._getAsyncAdsValidationResults(e3, true, false, e3.topic.withMultipleContext({ opName: l.actionName.validate })) : Promise.reject("flowViewModel:validateFlow - no flow view model specified to validate."); @@ -114053,8 +123287,8 @@ ${e3.stack}`, n3 = [this].concat(i3); _createAsyncAdsValidationResultsOperationInfo(e3, t3, i3, n3) { const r3 = e3.dependencies.getValidationManifest(); n3.info("starting flow validation"); - const o2 = e3.isEmbeddedFlow ? void 0 : this.stateChangedCheck, a2 = new h.default("asyncValidate", this._getSubscriptionTopic(e3.id), n3, o2, this); - return a2.flowId = e3.id, a2.isValidate = t3, a2.firstValidate = true, a2.initializeDesignTime = i3, a2.flowViewModel = e3, a2.operationToPerform = y.postValidationManifest.bind(y, e3, r3), a2.emergencyPollingTimeout = 5, a2.retryEmergencyPollOn404 = true, a2; + const o2 = e3.isEmbeddedFlow ? void 0 : this.stateChangedCheck, a2 = new m.default("asyncValidate", this._getSubscriptionTopic(e3.id), n3, o2, this); + return a2.flowId = e3.id, a2.isValidate = t3, a2.firstValidate = true, a2.initializeDesignTime = i3, a2.flowViewModel = e3, a2.operationToPerform = S.postValidationManifest.bind(S, e3, r3), a2.emergencyPollingTimeout = 5, a2.retryEmergencyPollOn404 = true, a2; } _retryAsyncAdsValidationResults(e3) { return n2.__awaiter(this, void 0, void 0, function* () { @@ -114078,7 +123312,7 @@ ${e3.stack}`, n3 = [this].concat(i3); t3 && e3.flowId && e3.flowId === t3.flow || (e3.logTopic.info("Switched to a different flow, ending operation"), this._cleanOperation(true, e3)); } } - const O = new N(); + const O = new v(); t2.default = O; }, 96946: (e2, t2, i2) => { const n2 = i2(92140), r2 = i2(57731), o = {}; @@ -114093,8 +123327,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 96950: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.botConnectorManager = t2.BotConnectorManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(80911)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(24032)), l = i2(30801), u = i2(99835), d = i2(33143), c = n2.__importDefault(i2(47532)), p = i2(81801), _ = i2(47957), h = i2(75601), m = i2(27862); - class g extends c.default { + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(80911)), a = n2.__importStar(i2(1360)), s = n2.__importStar(i2(24032)), l = i2(30801), u = i2(99835), c = i2(33143), d = n2.__importDefault(i2(47532)), p = i2(81801), _ = i2(47957), h = i2(75601), m = i2(27862); + class g extends d.default { get requiredAuth() { return p.externalAuthorizations.authStrings.botConnectorView; } @@ -114112,7 +123346,7 @@ ${e3.stack}`, n3 = [this].concat(i3); this.addItem(r3); } _createItemViewModel(e3) { - return new d.BotConnectorViewModel(e3); + return new c.BotConnectorViewModel(e3); } get _networkModel() { return h; @@ -114215,6 +123449,11 @@ ${e3.stack}`, n3 = [this].concat(i3); } } t2.default = a; + }, 97229: (e2, t2, i2) => { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.allAssignCustomerSegmentFailureReasons = t2.assignCustomerSegmentFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), r2 = { actionInvocationLimitExceeded: "ActionInvocationLimitExceeded", generalError: "GeneralError", invalidExternalContact: "InvalidExternalContact", invalidCustomerSegment: "InvalidCustomerSegment", customerSegmentsCollectionLimitExceeded: "CustomerSegmentsCollectionLimitExceeded" }, o = [r2.generalError]; + t2.assignCustomerSegmentFailureReasons = n2.default.uniq(o.concat([r2.actionInvocationLimitExceeded, r2.invalidExternalContact, r2.invalidCustomerSegment, r2.customerSegmentsCollectionLimitExceeded])), t2.allAssignCustomerSegmentFailureReasons = r2; }, 97314: function(e2, t2, i2) { "use strict"; var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { @@ -114337,9 +123576,18 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 97400: (e2, t2, i2) => { "use strict"; var n2, r2; - Object.defineProperty(t2, "__esModule", { value: true }); - const o = i2(31635), a = o.__importDefault(i2(92140)), s = o.__importStar(i2(24032)), l = o.__importStar(i2(62829)), u = i2(26847), d = o.__importStar(i2(1115)), c = o.__importDefault(i2(41197)), p = o.__importStar(i2(36781)), _ = o.__importStar(i2(58380)), h = i2(47957), m = s.getTopic("ActionContainerViewModel"); - class g extends c.default { + Object.defineProperty(t2, "__esModule", { value: true }), t2.isActionContainerViewModel = function(e3) { + return e3.isActionContainerViewModel; + }; + const o = i2(31635), a = i2(17604), s = o.__importDefault(i2(92140)), l = o.__importStar(i2(69453)), u = i2(90205), c = i2(40478), d = o.__importStar(i2(24032)), p = o.__importStar(i2(36781)), _ = o.__importDefault(i2(98114)), h = o.__importStar(i2(62829)), m = o.__importStar(i2(58380)), g = i2(26847), f = o.__importStar(i2(1115)), T = i2(1910), y = i2(1910), S = i2(1910), A = i2(1910), N = o.__importDefault(i2(41197)), v = i2(47957); + function O(e3, t3, i3) { + const n3 = (0, T.getStringValue)(t3, "targetTaskRef", i3); + if (!n3) return; + const r3 = (0, c.extractRefIdFromPath)(n3), o2 = i3.refIdMap.get(r3), s2 = e3.linkTask; + "function" == typeof s2 && o2 ? s2.call(e3, o2) : o2 || i3.warn((0, a.sprintf)(l.configureFromModel.targetTaskRefCouldNotBeResolved, r3)); + } + const I = d.getTopic("ActionContainerViewModel"); + class C extends N.default { constructor(e3, t3) { super(e3, t3), this.actions = [], this.hasBranchTerminatingWithEndTask = false, this.isHidden = false, this.isTerminating = false, n2.set(this, false), r2.set(this, void 0); } @@ -114347,14 +123595,65 @@ ${e3.stack}`, n3 = [this].concat(i3); return o.__classPrivateFieldGet(this, n2, "f"); } addAction(e3, t3) { - const i3 = l.createAction(e3, this); + const i3 = h.createAction(e3, this); return this._insertAction(i3, t3), this.parentFlow.calcFlowSizeAsync(), p.emitter.emit(p.actionsChanged), i3; } addClipboardDependencies(e3) { - a.default.each(this.actions, (t3) => { + s.default.each(this.actions, (t3) => { t3.addClipboardDependencies(e3); }); } + appendActionsFromModel(e3, t3, i3, n3, r3) { + return o.__awaiter(this, void 0, void 0, function* () { + let s2 = e3; + const { currentNode: c2, inTaskMode: d2 } = this._resolveAvailabilityContext(), p2 = _.default.getFlowTypeDisplayName(i3.flowType); + yield (0, A.withModelContextAsync)(i3, n3, () => o.__awaiter(this, void 0, void 0, function* () { + yield (0, A.withModelContextAsync)(i3, "actions", () => o.__awaiter(this, void 0, void 0, function* () { + for (let e4 = 0; e4 < t3.length && !i3.isCancelled && i3.continueProcessing; e4++) { + const _2 = t3[e4]; + if (!(0, y.isConfigureFromModelRecord)(_2)) continue; + const h2 = _2, m2 = Object.keys(h2); + if (0 === m2.length) continue; + const g2 = m2[0], f2 = h2[g2]; + if (!(0, y.isConfigureFromModelRecord)(f2)) continue; + const T2 = "string" == typeof f2.refId ? f2.refId : g2; + yield (0, A.withModelContextAsync)(i3, `${g2}[${T2}]`, () => o.__awaiter(this, void 0, void 0, function* () { + var t4; + try { + const o2 = i3.actionTypeRegistry.getNodeInfo(g2); + if (!o2) return void this._reportAppendActionError(i3, (0, a.sprintf)(l.changeSet.apply.invalidActionType, g2)); + if (!o2.getAvailability(c2, d2, this.parentFlow)) return void this._reportAppendActionError(i3, (0, a.sprintf)(l.changeSet.apply.actionNotAvailableAtLocation, o2.name, p2)); + const _3 = this.addAction(o2.id, s2); + if (_3) { + null === (t4 = i3.undoChangeSet) || void 0 === t4 || t4.recordUndoDeleteByTrackingId("action", _3.trackingId), s2 = _3, "string" == typeof f2.refId && i3.refIdMap.set(f2.refId, _3), void 0 !== r3 && (i3.changeSetResultIndex = r3); + const c3 = null != r3 ? r3 : i3.changeSetResultIndex, d3 = null != c3 ? c3 : 0; + if (i3.reportActivity({ type: "objectCreated", objectType: "action", objectName: _3.name || o2.name, actionTypeName: g2, trackingId: _3.trackingId, objectId: _3.id, viewModel: _3, changeIndex: d3, message: { template: l.changeSet.activity.actionCreated, params: [{ value: _3.name || o2.name, link: { objectId: _3.id, objectType: "action", trackingId: _3.trackingId, viewModel: _3 } }] } }), i3.onStepComplete && (yield i3.onStepComplete({ type: "objectCreated", objectType: "action", objectName: _3.name || o2.name, actionTypeName: g2, trackingId: _3.trackingId, objectId: _3.id, viewModel: _3, changeIndex: d3 }), i3.isCancelled)) return; + if (i3.reportActivity({ type: "objectConfiguring", objectType: "action", objectName: _3.name || o2.name, actionTypeName: g2, trackingId: _3.trackingId, objectId: _3.id, viewModel: _3, changeIndex: d3, message: { template: l.changeSet.activity.actionConfiguring, params: [{ value: _3.name || o2.name, link: { objectId: _3.id, objectType: "action", trackingId: _3.trackingId, viewModel: _3 } }] } }), i3.propertySetCount = 0, i3.currentChangeIndex = d3, i3.currentActionContext = { objectId: _3.id, objectType: "action", objectName: _3.name || o2.name, viewModel: _3 }, yield _3.configureFromModel(f2, S.ModelFormat.FlowYaml, i3), !i3.continueProcessing || i3.isCancelled) return; + O(_3, f2, i3), i3.currentActionContext = void 0; + const p3 = i3.propertySetCount, h3 = i3.getPendingDeferredPropertyActivityCount(_3.id), m3 = 1 === p3 ? (0, a.sprintf)(l.changeSet.activity.propertyConfiguredSingular, String(p3)) : (0, a.sprintf)(l.changeSet.activity.propertyConfiguredPlural, String(p3)); + if (i3.reportActivity({ type: "objectConfigured", objectType: "action", objectName: _3.name, actionTypeName: g2, trackingId: _3.trackingId, objectId: _3.id, viewModel: _3, changeIndex: d3, propertiesConfigured: p3, pendingDeferredPropertyLookups: h3, message: { template: l.changeSet.activity.actionConfigured, params: [{ value: _3.name, link: { objectId: _3.id, objectType: "action", trackingId: _3.trackingId, viewModel: _3 } }, { value: m3 }] } }), i3.onStepComplete && (yield i3.onStepComplete({ type: "objectConfigured", objectType: "action", objectName: _3.name, actionTypeName: g2, trackingId: _3.trackingId, objectId: _3.id, viewModel: _3, changeIndex: d3 }), i3.isCancelled)) return; + if (void 0 !== c3) { + const t5 = "string" == typeof f2.refId ? f2.refId : void 0, o3 = void 0 !== r3 ? `/changes[${c3}]/add/actionsToAdd[${e4}]` : `/changes[${c3}]/${n3}/actions[${e4}]`; + i3.changeSetResults.addResult({ path: o3, refId: t5, added: { action: new u.ChangeSetResultObject(_3.id, _3.name, _3.trackingId, g2) } }); + } + } + } catch (e5) { + const t5 = e5 instanceof Error ? e5.message : String(e5); + this._reportAppendActionError(i3, (0, a.sprintf)(l.changeSet.apply.actionCreationFailed, g2, t5)); + } + })); + } + })); + })); + }); + } + _resolveAvailabilityContext() { + const e3 = this.topParent || this; + return { currentNode: e3, inTaskMode: !e3.isMenu && !e3.isMenuChoice }; + } + _reportAppendActionError(e3, t3) { + e3.error(t3), e3.continueProcessing = false; + } get amObjectEventSink() { return false; } @@ -114367,7 +123666,7 @@ ${e3.stack}`, n3 = [this].concat(i3); get containedActionCount() { if (!this.actions || 0 === this.actions.length) return 0; let e3 = this.actions.length; - return a.default.each(this.actions, (t3) => { + return s.default.each(this.actions, (t3) => { e3 += t3.containedActionCount; }), e3; } @@ -114375,7 +123674,7 @@ ${e3.stack}`, n3 = [this].concat(i3); e3 && (this._removeAction(e3), e3.isDestroyedOrDestroying || e3.destroy(), p.emitter.emit(p.actionsChanged), this.parentFlow.calcFlowSizeAsync()); } destroyChildren() { - a.default.each(a.default.clone(this.children), (e3) => { + s.default.each(s.default.clone(this.children), (e3) => { this.deleteChild(e3); }), o.__classPrivateFieldSet(this, r2, null, "f"); } @@ -114412,7 +123711,7 @@ ${e3.stack}`, n3 = [this].concat(i3); let i3 = false; if (this.collapsed !== e3 && (this.collapsed = e3, i3 = true), t3) { const t4 = this.parent; - t4 && a.default.isFunction(t4.expandOrCollapse) && t4.expandOrCollapse(e3, true) && (i3 = true); + t4 && s.default.isFunction(t4.expandOrCollapse) && t4.expandOrCollapse(e3, true) && (i3 = true); } return i3; } @@ -114449,7 +123748,7 @@ ${e3.stack}`, n3 = [this].concat(i3); o.__classPrivateFieldSet(this, n2, false, "f"), this.terminatingAction = null, this.isTerminating = false, this.hasBranchTerminatingWithEndTask = false; } get terminatingLabel() { - return this.terminatingAction ? this.terminatingAction.terminatingLabel : this.isFake ? h.task.endFlow : void 0; + return this.terminatingAction ? this.terminatingAction.terminatingLabel : this.isFake ? v.task.endFlow : void 0; } get topAction() { return o.__classPrivateFieldGet(this, r2, "f"); @@ -114470,14 +123769,14 @@ ${e3.stack}`, n3 = [this].concat(i3); this.resetTermination(); const o2 = []; for (; t3; ) this._processActionTermination(t3), o2.push(t3), t3 = t3.nextAction; - a.default.each(o2, (e4) => { - a.default.each(e4.branches, (e5) => { + s.default.each(o2, (e4) => { + s.default.each(e4.branches, (e5) => { e5.updateTermination(); }); - }), (e3 || this.isTerminating !== i3 || this.terminatesLoop !== n3 || this.hasBranchTerminatingWithEndTask !== r3) && (this.parent && this.parent.updateTermination && this.parent.updateTermination(), _.fireEvent(this, p.terminatingStateChanged)); + }), (e3 || this.isTerminating !== i3 || this.terminatesLoop !== n3 || this.hasBranchTerminatingWithEndTask !== r3) && (this.parent && this.parent.updateTermination && this.parent.updateTermination(), m.fireEvent(this, p.terminatingStateChanged)); } _postDestroy() { - super._postDestroy(), this.amObjectEventSink && _.unregisterEventSink(this), this.amObjectEventEmitter && _.removeEventEmitter(this); + super._postDestroy(), this.amObjectEventSink && m.unregisterEventSink(this), this.amObjectEventEmitter && m.removeEventEmitter(this); } get _topActionId() { return this.model.startAction; @@ -114495,10 +123794,10 @@ ${e3.stack}`, n3 = [this].concat(i3); } _processActionTermination(e3) { let t3, i3; - (e3.isEndTask || e3.hasBranchTerminatingWithEndTask) && (this.hasBranchTerminatingWithEndTask = true), this.terminatingAction || this.terminatesLoop && e3.getParentingFlowElementByIdOrNodeInfoId([u.outputIds.loop, u.outputIds.loopNext]) ? (t3 = true, i3 = false) : (e3.terminatesTaskOrFlow && (this.terminatingAction = e3, this.isTerminating = true), e3.terminatesLoop && o.__classPrivateFieldSet(this, n2, true, "f"), t3 = this.isDisabled, i3 = this.outOfService), e3.isDisabled === t3 && e3.isContainerOutOfService === i3 || (e3.isDisabled = t3, e3.isContainerOutOfService = i3, e3.initializeDesignTimeCalled && d.validateAction(e3, false, true)); + (e3.isEndTask || e3.hasBranchTerminatingWithEndTask) && (this.hasBranchTerminatingWithEndTask = true), this.terminatingAction || this.terminatesLoop && e3.getParentingFlowElementByIdOrNodeInfoId([g.outputIds.loop, g.outputIds.loopNext]) ? (t3 = true, i3 = false) : (e3.terminatesTaskOrFlow && (this.terminatingAction = e3, this.isTerminating = true), e3.terminatesLoop && o.__classPrivateFieldSet(this, n2, true, "f"), t3 = this.isDisabled, i3 = this.outOfService), e3.isDisabled === t3 && e3.isContainerOutOfService === i3 || (e3.isDisabled = t3, e3.isContainerOutOfService = i3, e3.initializeDesignTimeCalled && f.validateAction(e3, false, true)); } _pushAction(e3) { - a.default.findWhere(this.actions, { id: e3.id }) ? m.errorWithErrorObjectInfo("Tried to double add action.", e3, false) : this.actions.push(e3); + s.default.findWhere(this.actions, { id: e3.id }) ? I.errorWithErrorObjectInfo("Tried to double add action.", e3, false) : this.actions.push(e3); } _removeAction(e3) { if (!this._spliceAction(e3)) return; @@ -114511,13 +123810,13 @@ ${e3.stack}`, n3 = [this].concat(i3); return t3 >= 0 && (this.actions.splice(t3, 1), true); } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), t2.default = g; + n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), t2.default = C; }, 97505: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(5730)), a = n2.__importDefault(i2(27203)), s = n2.__importDefault(i2(73198)), l = n2.__importDefault(i2(97891)), u = i2(79467), d = i2(91546), c = i2(80428), p = i2(47957), _ = "maxSnippetTime", h = "snippet"; - class m extends o.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(5730)), a = n2.__importDefault(i2(27203)), s = n2.__importDefault(i2(73198)), l = n2.__importDefault(i2(97891)), u = i2(79467), c = i2(91546), d = i2(80428), p = n2.__importDefault(i2(4648)), _ = i2(47957), h = "maxSnippetTime", m = "snippet"; + class g extends o.default { static get managedProperties() { - return [{ label: p.collectVoiceSnippet.maxVoiceSnippetTimeLabel, options: u.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField(_).setScriptingPropertyName(_).setAllowFlowLevelDefault(true).setDefaultText(s.default.litDurationThirtySeconds).setModeNoValueSelectionLabel(p.expression.noValue.selection.default).setAllowModeLiteralOnly().setDescriptionInfo(p.collectVoiceSnippet.maxVoiceSnippetTimeLabel, p.collectVoiceSnippet.maxVoiceSnippetTimeDescription).facets.setMinDur(1 * s.default.msPerSecond, true).setMaxDur(1 * s.default.msPerMinute, true)), property: _, type: c.expressionTypeNames.duration }, { label: p.collectVoiceSnippet.voiceSnippetLabel, options: d.ExpressionTypeVoiceSnippetOptions.create((e3) => e3.setIninTestingField(h).setScriptingPropertyName(h).setAsOutput().setIsOptional(true).setDescriptionInfo(p.collectVoiceSnippet.voiceSnippetLabel, p.collectVoiceSnippet.voiceSnippetDescription)), property: h, type: c.expressionTypeNames.voiceSnippet }]; + return [{ label: _.collectVoiceSnippet.maxVoiceSnippetTimeLabel, options: u.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField(h).setScriptingPropertyName(h).setAllowFlowLevelDefault(true).setDefaultText(s.default.litDurationThirtySeconds).setModeNoValueSelectionLabel(_.expression.noValue.selection.default).setAllowModeLiteralOnly().setDescriptionInfo(_.collectVoiceSnippet.maxVoiceSnippetTimeLabel, _.collectVoiceSnippet.maxVoiceSnippetTimeDescription).facets.setMinDur(1 * s.default.msPerSecond, true).setMaxDur(1 * s.default.msPerMinute, true)), property: h, type: d.expressionTypeNames.duration }, { label: _.collectVoiceSnippet.voiceSnippetLabel, options: c.ExpressionTypeVoiceSnippetOptions.create((e3) => e3.setIninTestingField(m).setScriptingPropertyName(m).setAsOutput().setIsOptional(true).setDescriptionInfo(_.collectVoiceSnippet.voiceSnippetLabel, _.collectVoiceSnippet.voiceSnippetDescription)), property: m, type: d.expressionTypeNames.voiceSnippet }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -114526,7 +123825,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return a.default.successNoInputFailure; } } - m.info = l.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: r2.helpTopics.actions.collectVoiceSnippet, modelClass: i2(92372), name: p.actions.collectVoiceSnippet, scriptingName: "ArchActionCollectVoiceSnippet" }), t2.A = m; + g.info = l.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: r2.helpTopics.actions.collectVoiceSnippet, modelClass: i2(92372), name: _.actions.collectVoiceSnippet, scriptingName: "ArchActionCollectVoiceSnippet", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = g; }, 97534: (e2, t2, i2) => { const n2 = i2(28730), { clearPostFlowActionType: r2 } = i2(30801), o = i2(7401); function a() { @@ -114558,16 +123857,16 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 97629: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.imageManager = t2.ImageManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(90891)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(64836)), d = i2(47957), c = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(1360)), o = n2.__importStar(i2(90891)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(64836)), c = i2(47957), d = i2(27862); class p extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.responseAssetView; } get dependencyType() { - return c.Image; + return d.Image; } constructor() { - super(), this.topic = a.getTopic("ImageManager"), this.apiCallList = o.getImageResponseAssets, this.apiCallSingle = o.getResponseAsset, this._rawServerCache = {}, this.className = "ImageManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = d.image.image, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "images", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); + super(), this.topic = a.getTopic("ImageManager"), this.apiCallList = o.getImageResponseAssets, this.apiCallSingle = o.getResponseAsset, this._rawServerCache = {}, this.className = "ImageManager", this.defaultMatchingStyle = r2.startsWith, this.dependencyContext = c.image.image, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "images", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); } _createItemViewModel(e3) { return new u.default(e3); @@ -114576,10 +123875,10 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.ImageManager = p, t2.imageManager = new p(); }, 97643: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(17466), a = i2(55720), s = n2.__importDefault(i2(27203)), l = i2(12179), u = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(5730)), c = i2(80428), p = i2(47957); - class _ extends d.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(17466), a = i2(55720), s = n2.__importDefault(i2(27203)), l = i2(12179), u = n2.__importDefault(i2(97891)), c = n2.__importDefault(i2(5730)), d = i2(80428), p = n2.__importDefault(i2(4648)), _ = i2(47957); + class h extends c.default { static get managedProperties() { - return [{ label: p.setSkills.setACDSkillsLabel, options: a.ExpressionTypeSkillOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToExpression(true).setDoNotTransitionToNoValue(true).setDefaultText("{{variable.__CONVERSATION_ACD_SKILLS__}}").setIsCollection(true).setMaxItems(32).setDescriptionInfo(p.setSkills.setACDSkillsLabel, p.setSkills.setACDSkillsDescription).setIninTestingField("acdSkills")).setModeNoValueRuntimeEvaluationStr(p.setSkills.noValueACDSkills), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeWorkitem], options: a.ExpressionTypeSkillOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToExpression(true).setDoNotTransitionToNoValue(true).setDefaultText("Workitem.Workitem.skills").setIsCollection(true).setMaxItems(32).setDescriptionInfo(p.setSkills.setACDSkillsLabel, p.setSkills.setACDSkillsDescriptionWorkitemFlow).setIninTestingField("acdSkills")).setModeNoValueRuntimeEvaluationStr(p.setSkills.noValueACDSkills) }], property: "acdSkills", type: c.expressionTypeNames.skill }, { label: p.setSkills.setLanguageSkillLabel, options: o.ExpressionTypeLanguageSkillOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToExpression(true).setDoNotTransitionToNoValue(true).setDefaultText("{{variable.__CONVERSATION_LANGUAGE_SKILL__}}").setDescriptionInfo(p.setSkills.setLanguageSkillLabel, p.setSkills.setLanguageSkillDescription).setIninTestingField("languageSkill").setModeNoValueRuntimeEvaluationStr(p.setSkills.noValueLanagugeSkill)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeWorkitem], options: o.ExpressionTypeLanguageSkillOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToExpression(true).setDoNotTransitionToNoValue(true).setDefaultText("Workitem.Workitem.languageSkill").setDescriptionInfo(p.setSkills.setLanguageSkillLabel, p.setSkills.setLanguageSkillDescriptionWorkitemFlow).setIninTestingField("languageSkill").setModeNoValueRuntimeEvaluationStr(p.setSkills.noValueLanagugeSkill)) }], property: "languageSkill", type: c.expressionTypeNames.languageSkill }]; + return [{ label: _.setSkills.setACDSkillsLabel, options: a.ExpressionTypeSkillOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToExpression(true).setDoNotTransitionToNoValue(true).setDefaultText("{{variable.__CONVERSATION_ACD_SKILLS__}}").setIsCollection(true).setMaxItems(32).setDescriptionInfo(_.setSkills.setACDSkillsLabel, _.setSkills.setACDSkillsDescription).setIninTestingField("acdSkills")).setModeNoValueRuntimeEvaluationStr(_.setSkills.noValueACDSkills), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeWorkitem], options: a.ExpressionTypeSkillOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToExpression(true).setDoNotTransitionToNoValue(true).setDefaultText("Workitem.Workitem.skills").setIsCollection(true).setMaxItems(32).setDescriptionInfo(_.setSkills.setACDSkillsLabel, _.setSkills.setACDSkillsDescriptionWorkitemFlow).setIninTestingField("acdSkills")).setModeNoValueRuntimeEvaluationStr(_.setSkills.noValueACDSkills) }], property: "acdSkills", type: d.expressionTypeNames.skill }, { label: _.setSkills.setLanguageSkillLabel, options: o.ExpressionTypeLanguageSkillOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToExpression(true).setDoNotTransitionToNoValue(true).setDefaultText("{{variable.__CONVERSATION_LANGUAGE_SKILL__}}").setDescriptionInfo(_.setSkills.setLanguageSkillLabel, _.setSkills.setLanguageSkillDescription).setIninTestingField("languageSkill").setModeNoValueRuntimeEvaluationStr(_.setSkills.noValueLanagugeSkill)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeWorkitem], options: o.ExpressionTypeLanguageSkillOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToExpression(true).setDoNotTransitionToNoValue(true).setDefaultText("Workitem.Workitem.languageSkill").setDescriptionInfo(_.setSkills.setLanguageSkillLabel, _.setSkills.setLanguageSkillDescriptionWorkitemFlow).setIninTestingField("languageSkill").setModeNoValueRuntimeEvaluationStr(_.setSkills.noValueLanagugeSkill)) }], property: "languageSkill", type: d.expressionTypeNames.languageSkill }]; } constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); @@ -114588,7 +123887,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return s.default.successFailure; } } - _.info = u.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: l.helpTopics.actions.setSkills, modelClass: i2(92825), name: p.actions.setSkills, scriptingName: "ArchActionSetSkills" }), t2.A = _; + h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: l.helpTopics.actions.setSkills, modelClass: i2(92825), name: _.actions.setSkills, scriptingName: "ArchActionSetSkills", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; }, 97650: function(e2, t2, i2) { !(function(e3) { "use strict"; @@ -114610,7 +123909,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 97675: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = i2(80428), s = n2.__importDefault(i2(37752)), l = n2.__importDefault(i2(15244)), u = i2(81516), d = n2.__importStar(i2(53128)), c = i2(82632), p = i2(12179), _ = i2(10016), h = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = i2(80428), s = n2.__importDefault(i2(37752)), l = n2.__importDefault(i2(15244)), u = i2(81516), c = n2.__importStar(i2(53128)), d = i2(82632), p = i2(12179), _ = i2(10016), h = i2(47957); class m extends _.BaseEventHandlingViewModel { constructor(e3) { super(e3, s.default); @@ -114622,7 +123921,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return p.helpTopics.treeNodes.eventHandling; } get handlingTypes() { - return d.getHandlingTypesForFlowType(this.parentFlow.type); + return c.getHandlingTypesForFlowType(this.parentFlow.type); } get isEmailErrorHandlingNode() { return true; @@ -114637,7 +123936,7 @@ ${e3.stack}`, n3 = [this].concat(i3); super.initializeDesignTime(), this._updateOutOfService(); } static get managedProperties() { - return [{ label: h.actions.abortSendErrorEventMessageSettingLabel, options: u.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(h.actions.abortSendErrorEventMessageSettingLabel, h.actions.abortSendActionMessageSettingDescription).setIninTestingField("abortSendMessage").setDefaultToNoValue(false).setIsOptional(false).setUiPropertyOrder(1).facets.setMinLength(0).setMaxLength(c.abortSend.message.maxLength).setTruncatesToMaxLength(true)), property: "abortMessage", supportedFlowTypes: [r2.flowTypes.flowTypeEmailSend], type: a.expressionTypeNames.string }]; + return [{ label: h.actions.abortSendErrorEventMessageSettingLabel, options: u.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(h.actions.abortSendErrorEventMessageSettingLabel, h.actions.abortSendActionMessageSettingDescription).setIninTestingField("abortSendMessage").setDefaultToNoValue(false).setIsOptional(false).setUiPropertyOrder(1).facets.setMinLength(0).setMaxLength(d.abortSend.message.maxLength).setTruncatesToMaxLength(true)), property: "abortMessage", supportedFlowTypes: [r2.flowTypes.flowTypeEmailSend], type: a.expressionTypeNames.string }]; } validate(e3) { var t3, i3, n3, r3; @@ -114664,7 +123963,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const n2 = i2(31635).__importDefault(i2(8471)); class r2 extends n2.default { get version() { - return "0.66.6"; + return "0.68.3"; } get isArchScriptingInfo() { return true; @@ -114795,10 +124094,10 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 97883: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(28562), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(80428), u = i2(67607), d = i2(82319), c = i2(79467), p = n2.__importStar(i2(85020)), _ = n2.__importDefault(i2(5730)), h = i2(47957); + const n2 = i2(31635), r2 = i2(96618), o = i2(28562), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = i2(80428), u = i2(67607), c = i2(82319), d = i2(79467), p = n2.__importStar(i2(85020)), _ = n2.__importDefault(i2(5730)), h = i2(47957); class m extends _.default { static get managedProperties() { - return [{ label: h.askCommon.noInput, options: m.createNoInputOptions().setDefaultToBuilderId(o.builderIds.parts.genericCommunication), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("noInput", (e3) => e3.setPropertyName("noInput")), property: "noInput", type: l.expressionTypeNames.communication }, { label: h.askCommon.noInputReprompts, options: d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noInputReprompts").setDescriptionInfo(h.askCommon.noInputReprompts, h.askCommon.noInputRepromptsDescription).setIsOptional(true).setRequiredFlowChannelType(p.channelTypeCall).setUiPropertyGroup(h.askCommon.invalidResponse).setScriptingPropertyName("noInputReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(21), true).setDefaultToBuilderId(o.builderIds.parts.genericCommunication), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("noInputReprompts", (e3) => e3.setPropertyName("noInputReprompts").setWrappedObjectName("customizeNoInput")), property: "noInputReprompts", type: l.expressionTypeNames.communication }, { options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText("false").setIninTestingField("customizeNoInputButton").setBoolText(h.askCommon.defaultNoInput, h.askCommon.customizeNoInput).setUiPropertyGroup(h.askCommon.invalidResponse).setUiPropertyOrder(22)), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("customizeNoInput", (e3) => e3.setSkipProperty(true)), property: "customizeNoInput", type: l.expressionTypeNames.boolean }, { label: h.askCommon.noMatch, options: m.createNoMatchOptions().setDefaultToBuilderId(o.builderIds.parts.genericCommunication).setUiPropertyGroup(h.askCommon.invalidResponse), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: m.createNoMatchOptions().setDefaultToBuilderId(o.builderIds.parts.markdownCommunication).setUiPropertyGroup(h.askCommon.invalidResponse) }], yamlOptions: m.createYamlOptions("noMatch", (e3) => e3.setPropertyName("noMatch")), property: "noMatch", type: l.expressionTypeNames.communication }, { label: h.askCommon.noMatchReprompts, options: m.createNoMatchRepromptsOptions().setDefaultToBuilderId(o.builderIds.parts.genericCommunication).setUiPropertyGroup(h.askCommon.invalidResponse), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: m.createNoMatchRepromptsOptions().setDefaultToBuilderId(o.builderIds.parts.markdownCommunication).setUiPropertyGroup(h.askCommon.invalidResponse) }], yamlOptions: m.createYamlOptions("noMatchReprompts", (e3) => e3.setPropertyName("noMatchReprompts").setWrappedObjectName("customizeNoMatch")), property: "noMatchReprompts", type: l.expressionTypeNames.communication }, { options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText("false").setIninTestingField("customizeNoMatchButton").setBoolText(h.askCommon.defaultNoMatch, h.askCommon.customizeNoMatch).setUiPropertyGroup(h.askCommon.invalidResponse).setUiPropertyOrder(25)), yamlOptions: m.createYamlOptions("customizeNoMatch", (e3) => e3.setSkipProperty(true)), property: "customizeNoMatch", type: l.expressionTypeNames.boolean }, { label: h.askCommon.voiceEndOfInputTimeout, options: c.ExpressionTypeDurationOptions.create((e3) => e3.setAllowSecure(true).setRequiredFlowChannelType(p.channelTypeCall).setIninTestingField("voiceEndOfInputTimeout").setDescriptionInfo(h.askCommon.voiceEndOfInputTimeout, h.askCommon.voiceEndOfInputTimeoutDescriptionAskActions).setDefaultText(a.default.litDurationOneSecond).setAllowFlowLevelDefault(true).setFlowLevelDefaultSameModes(true).setUiPropertyOrder(19).setUiPropertyGroup(h.speechToText.recognitionParams.speechRecognitionParameters).setScriptingPropertyName("voiceEndOfInputTimeout").setDurationStyle(s.durationStyles.secondsAndTenthsDuration).facets.setMinDur(100, true).setMaxDur(10 * a.default.msPerSecond, true)), property: "voiceEndOfInputTimeout", type: l.expressionTypeNames.duration }]; + return [{ label: h.askCommon.noInput, options: m.createNoInputOptions().setDefaultToBuilderId(o.builderIds.parts.genericCommunication), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("noInput", (e3) => e3.setPropertyName("noInput")), property: "noInput", type: l.expressionTypeNames.communication }, { label: h.askCommon.noInputReprompts, options: c.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noInputReprompts").setDescriptionInfo(h.askCommon.noInputReprompts, h.askCommon.noInputRepromptsDescription).setIsOptional(true).setRequiredFlowChannelType(p.channelTypeCall).setUiPropertyGroup(h.askCommon.invalidResponse).setScriptingPropertyName("noInputReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(21), true).setDefaultToBuilderId(o.builderIds.parts.genericCommunication), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("noInputReprompts", (e3) => e3.setPropertyName("noInputReprompts").setWrappedObjectName("customizeNoInput")), property: "noInputReprompts", type: l.expressionTypeNames.communication }, { options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText("false").setIninTestingField("customizeNoInputButton").setBoolText(h.askCommon.defaultNoInput, h.askCommon.customizeNoInput).setUiPropertyGroup(h.askCommon.invalidResponse).setUiPropertyOrder(22)), supportedFlowTypes: [r2.flowTypes.flowTypeBot, r2.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("customizeNoInput", (e3) => e3.setSkipProperty(true)), property: "customizeNoInput", type: l.expressionTypeNames.boolean }, { label: h.askCommon.noMatch, options: m.createNoMatchOptions().setDefaultToBuilderId(o.builderIds.parts.genericCommunication).setUiPropertyGroup(h.askCommon.invalidResponse), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: m.createNoMatchOptions().setDefaultToBuilderId(o.builderIds.parts.markdownCommunication).setUiPropertyGroup(h.askCommon.invalidResponse) }], yamlOptions: m.createYamlOptions("noMatch", (e3) => e3.setPropertyName("noMatch")), property: "noMatch", type: l.expressionTypeNames.communication }, { label: h.askCommon.noMatchReprompts, options: m.createNoMatchRepromptsOptions().setDefaultToBuilderId(o.builderIds.parts.genericCommunication).setUiPropertyGroup(h.askCommon.invalidResponse), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeDigitalBot], options: m.createNoMatchRepromptsOptions().setDefaultToBuilderId(o.builderIds.parts.markdownCommunication).setUiPropertyGroup(h.askCommon.invalidResponse) }], yamlOptions: m.createYamlOptions("noMatchReprompts", (e3) => e3.setPropertyName("noMatchReprompts").setWrappedObjectName("customizeNoMatch")), property: "noMatchReprompts", type: l.expressionTypeNames.communication }, { options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setUseButton(true).setAllowModeLiteralOnly().setDefaultText("false").setIninTestingField("customizeNoMatchButton").setBoolText(h.askCommon.defaultNoMatch, h.askCommon.customizeNoMatch).setUiPropertyGroup(h.askCommon.invalidResponse).setUiPropertyOrder(25)), yamlOptions: m.createYamlOptions("customizeNoMatch", (e3) => e3.setSkipProperty(true)), property: "customizeNoMatch", type: l.expressionTypeNames.boolean }, { label: h.askCommon.voiceEndOfInputTimeout, options: d.ExpressionTypeDurationOptions.create((e3) => e3.setAllowSecure(true).setRequiredFlowChannelType(p.channelTypeCall).setIninTestingField("voiceEndOfInputTimeout").setDescriptionInfo(h.askCommon.voiceEndOfInputTimeout, h.askCommon.voiceEndOfInputTimeoutDescriptionAskActions).setDefaultText(a.default.litDurationOneSecond).setAllowFlowLevelDefault(true).setFlowLevelDefaultSameModes(true).setUiPropertyOrder(19).setUiPropertyGroup(h.speechToText.recognitionParams.speechRecognitionParameters).setScriptingPropertyName("voiceEndOfInputTimeout").setDurationStyle(s.durationStyles.secondsAndTenthsDuration).facets.setMinDur(100, true).setMaxDur(10 * a.default.msPerSecond, true)), property: "voiceEndOfInputTimeout", type: l.expressionTypeNames.duration }]; } constructor(e3) { super(e3.parentFlow, e3); @@ -114840,13 +124139,13 @@ ${e3.stack}`, n3 = [this].concat(i3); super.propertyChanged(e3), !e3.propertyName || e3.propertyName !== (null === (t3 = this.customizeNoInput) || void 0 === t3 ? void 0 : t3.propertyName) && e3.propertyName !== (null === (i3 = this.customizeNoMatch) || void 0 === i3 ? void 0 : i3.propertyName) || this._updatePropertiesOOS(); } static createNoInputOptions() { - return d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noInput").setDescriptionInfo(h.askCommon.noInput, h.askCommon.noInputDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(p.channelTypeCall).setUiPropertyGroup(h.askCommon.invalidResponse).setScriptingPropertyName("noInput").setUiPropertyOrder(20)); + return c.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noInput").setDescriptionInfo(h.askCommon.noInput, h.askCommon.noInputDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(p.channelTypeCall).setUiPropertyGroup(h.askCommon.invalidResponse).setScriptingPropertyName("noInput").setUiPropertyOrder(20)); } static createNoMatchOptions() { - return d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatch").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDescriptionInfo(h.askCommon.noMatch, h.askCommon.noMatchDescription).setScriptingPropertyName("noMatch").setUiPropertyGroup(h.askCommon.invalidResponse).setUiPropertyOrder(23)); + return c.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatch").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setDescriptionInfo(h.askCommon.noMatch, h.askCommon.noMatchDescription).setScriptingPropertyName("noMatch").setUiPropertyGroup(h.askCommon.invalidResponse).setUiPropertyOrder(23)); } static createNoMatchRepromptsOptions() { - return d.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatchReprompts").setDescriptionInfo(h.askCommon.noMatchReprompts, h.askCommon.noMatchRepromptsDescription).setIsOptional(true).setRequiredFlowChannelType(p.channelTypeCall).setUiPropertyGroup(h.askCommon.invalidResponse).setScriptingPropertyName("noMatchReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(24), true); + return c.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatchReprompts").setDescriptionInfo(h.askCommon.noMatchReprompts, h.askCommon.noMatchRepromptsDescription).setIsOptional(true).setRequiredFlowChannelType(p.channelTypeCall).setUiPropertyGroup(h.askCommon.invalidResponse).setScriptingPropertyName("noMatchReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(24), true); } } t2.default = m, m.className = "BaseActionNoInputNoMatchViewModel"; @@ -114857,23 +124156,23 @@ ${e3.stack}`, n3 = [this].concat(i3); var t3; return null === (t3 = null == e3 ? void 0 : e3.info) || void 0 === t3 ? void 0 : t3.isNodeInformation; }; - const o = i2(31635), a = i2(96618), s = o.__importDefault(i2(92140)), l = o.__importStar(i2(24032)), u = o.__importDefault(i2(90178)), d = o.__importStar(i2(12847)), c = o.__importStar(i2(62829)), p = i2(55909), _ = i2(33951), h = i2(24383), m = "NodeInformation", g = l.getTopic("NodeInformation"); - class f { + const o = i2(31635), a = i2(96618), s = o.__importDefault(i2(92140)), l = o.__importStar(i2(24032)), u = o.__importDefault(i2(90178)), c = o.__importStar(i2(12847)), d = o.__importStar(i2(62829)), p = i2(55909), _ = i2(33951), h = o.__importDefault(i2(4648)), m = i2(24383), g = "NodeInformation", f = l.getTopic("NodeInformation"); + class T { static create(e3, t3, i3, n3) { - return new f(e3, t3, i3, n3); + return new T(e3, t3, i3, n3); } static createReusableNodeInfo(e3) { - const t3 = "createReusableNodeInfo", i3 = _.ParameterValidator.expectActionType(e3.actionType, () => p.ParameterInfo.createFunctionParameter(m, t3, "actionType")), n3 = new f(i3, false, true, (e4, t4, i4) => t4.parentFlow.definition.supportsReusableMenus); - return e3.needsServerInfo && (n3.needsServerInfo = _.ParameterValidator.expectBool(e3.needsServerInfo, () => p.ParameterInfo.createFunctionParameter(m, t3, "needsServerInfo"))), n3.name = _.ParameterValidator.expectString(e3.name, () => p.ParameterInfo.createFunctionParameter(m, t3, "name")), n3.helpTopic = e3.helpTopic, n3.setActionClass(_.ParameterValidator.expectFunction(e3.actionClass, () => p.ParameterInfo.createFunctionParameter(m, t3, "actionClass"))), e3.supportedFlowTypes && (n3.supportedFlowTypes = e3.supportedFlowTypes), e3.categoryId && n3.setActionCategoryInfo({ categoryId: _.ParameterValidator.expectString(e3.categoryId, () => p.ParameterInfo.createFunctionParameter(m, t3, "categoryId")), displayIndex: -1 }), c.registerReusableObject(n3), n3; + const t3 = "createReusableNodeInfo", i3 = _.ParameterValidator.expectActionType(e3.actionType, () => p.ParameterInfo.createFunctionParameter(g, t3, "actionType")), n3 = new T(i3, false, true, (e4, t4, i4) => t4.parentFlow.definition.supportsReusableMenus); + return e3.needsServerInfo && (n3.needsServerInfo = _.ParameterValidator.expectBool(e3.needsServerInfo, () => p.ParameterInfo.createFunctionParameter(g, t3, "needsServerInfo"))), n3.name = _.ParameterValidator.expectString(e3.name, () => p.ParameterInfo.createFunctionParameter(g, t3, "name")), n3.helpTopic = e3.helpTopic, n3.setActionClass(_.ParameterValidator.expectFunction(e3.actionClass, () => p.ParameterInfo.createFunctionParameter(g, t3, "actionClass"))), e3.supportedFlowTypes && (n3.supportedFlowTypes = e3.supportedFlowTypes), e3.categoryId && n3.setActionCategoryInfo({ categoryId: _.ParameterValidator.expectString(e3.categoryId, () => p.ParameterInfo.createFunctionParameter(g, t3, "categoryId")), displayIndex: -1 }), e3.modelFormatSupport && (n3.modelFormatSupport = e3.modelFormatSupport), d.registerReusableObject(n3), n3; } static createActionInfo(e3) { - const { canBeInTask: t3 = false, canBeTreeNode: i3 = false, helpTopic: n3, name: r3, actionClass: o2, modelClass: a2, termination: s2, terminationInfoForFlowTypes: l2, scriptingName: u2, supportsUtteranceHistoricalData: d2 = false, supportedSessionSources: h2, availabilityCallback: g2, actionIsAlwaysSecure: T = false } = e3, y = "createActionInfo"; - _.ParameterValidator.expectFunction(a2, () => p.ParameterInfo.createFunctionParameter(m, y, "modelClass")); - const S = new f(_.ParameterValidator.expectActionType(a2.__type, () => p.ParameterInfo.createFunctionParameter(m, y, "modelClass.__type")), _.ParameterValidator.expectBool(t3, () => p.ParameterInfo.createFunctionParameter(m, y, "canBeInTask")), _.ParameterValidator.expectBool(i3, () => p.ParameterInfo.createFunctionParameter(m, y, "canBeTreeNode")), g2); - return S.modelClass = a2, S.helpTopic = n3, S.name = _.ParameterValidator.expectString(r3, () => p.ParameterInfo.createFunctionParameter(m, y, "name")), S.needsServerInfo = true, S.scriptingName = u2, S.actionIsAlwaysSecure = T, S.setActionClass(_.ParameterValidator.expectFunction(o2, () => p.ParameterInfo.createFunctionParameter(m, y, "actionClass"))), s2 && (_.ParameterValidator.expectBool(s2.isTerminationInfo, () => p.ParameterInfo.createFunctionParameter(m, y, "termination")), S.setTermination(s2)), l2 && l2.forEach((e4) => S.setTerminationForFlowTypes(e4.flowTypes, e4.terminationInfo)), S.supportsUtteranceHistoricalData = _.ParameterValidator.expectBool(d2, () => p.ParameterInfo.createFunctionParameter(m, y, "supportsUtteranceHistoricalData"), true), S.supportedSessionSources = h2, c.registerAction(S), S; + const { canBeInTask: t3 = false, canBeTreeNode: i3 = false, helpTopic: n3, name: r3, actionClass: o2, modelClass: a2, termination: s2, terminationInfoForFlowTypes: l2, scriptingName: u2, supportsUtteranceHistoricalData: c2 = false, supportedSessionSources: h2, availabilityCallback: m2, actionIsAlwaysSecure: f2 = false } = e3, y = "createActionInfo"; + _.ParameterValidator.expectFunction(a2, () => p.ParameterInfo.createFunctionParameter(g, y, "modelClass")); + const S = new T(_.ParameterValidator.expectActionType(a2.__type, () => p.ParameterInfo.createFunctionParameter(g, y, "modelClass.__type")), _.ParameterValidator.expectBool(t3, () => p.ParameterInfo.createFunctionParameter(g, y, "canBeInTask")), _.ParameterValidator.expectBool(i3, () => p.ParameterInfo.createFunctionParameter(g, y, "canBeTreeNode")), m2); + return S.modelClass = a2, S.helpTopic = n3, S.name = _.ParameterValidator.expectString(r3, () => p.ParameterInfo.createFunctionParameter(g, y, "name")), S.needsServerInfo = true, S.scriptingName = u2, S.actionIsAlwaysSecure = f2, e3.modelFormatSupport && (S.modelFormatSupport = e3.modelFormatSupport), S.setActionClass(_.ParameterValidator.expectFunction(o2, () => p.ParameterInfo.createFunctionParameter(g, y, "actionClass"))), s2 && (_.ParameterValidator.expectBool(s2.isTerminationInfo, () => p.ParameterInfo.createFunctionParameter(g, y, "termination")), S.setTermination(s2)), l2 && l2.forEach((e4) => S.setTerminationForFlowTypes(e4.flowTypes, e4.terminationInfo)), S.supportsUtteranceHistoricalData = _.ParameterValidator.expectBool(c2, () => p.ParameterInfo.createFunctionParameter(g, y, "supportsUtteranceHistoricalData"), true), S.supportedSessionSources = h2, d.registerAction(S), S; } constructor(e3, t3, i3, o2) { - this._terminationInfos = {}, this.className = m, this.bootStrapInfoProcessed = false, n2.set(this, false), r2.set(this, a.flowTypes.flowTypesAll), this.availabilityCallback = o2, this.canBeInTask = t3 || false, this.canBeTreeNode = i3 || false, this.helpTopic = void 0, this.name = "", this.requirements = { products: null }, this.typeId = e3, this.traceTopic = g.withContext("id", e3); + this.modelFormatSupport = { flowYaml: { isSupported: false, feature: h.default.changeSetsFeaturePhase2, inProgress: false, isDeprecated: false } }, this._terminationInfos = {}, this.className = g, this.bootStrapInfoProcessed = false, n2.set(this, false), r2.set(this, a.flowTypes.flowTypesAll), this.availabilityCallback = o2, this.canBeInTask = t3 || false, this.canBeTreeNode = i3 || false, this.helpTopic = void 0, this.name = "", this.requirements = { products: null }, this.typeId = e3, this.traceTopic = f.withContext("id", e3); } get category() { return this.actionCategory; @@ -114885,7 +124184,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return this._deprecatedFlowTypes; } set deprecatedFlowTypes(e3) { - this.needsServerInfo && this.traceTopic.error("needsServerInfo trumps deprecatedFlowTypes"), this._deprecatedFlowTypes = e3; + this.needsServerInfo && this.traceTopic.error("needsServerInfo trumps deprecatedFlowTypes"); } get needsServerInfo() { return o.__classPrivateFieldGet(this, n2, "f"); @@ -114932,13 +124231,13 @@ ${e3.stack}`, n3 = [this].concat(i3); const i3 = []; s.default.each(e3.flowTypesDeprecated, (e4, t4) => { s.default.contains(a.flowTypes.flowTypesAll, t4) && e4.isAvailable && i3.push(t4); - }), this._deprecatedFlowTypes = i3, this.setActionCategoryInfo(e3.categoryInfo), c.registerAction(this); + }), this.setActionCategoryInfo(e3.categoryInfo), d.registerAction(this); } passesAvailabilityCallback(e3, t3, i3) { return !this.availabilityCallback || this.availabilityCallback(e3, t3, i3); } getTerminationInfo(e3) { - return this._terminationInfos[e3] || h.terminatesNone; + return this._terminationInfos[e3] || m.terminatesNone; } setTerminationForFlowTypes(e3, t3) { s.default.each(e3, (e4) => { @@ -114956,10 +124255,10 @@ ${e3.stack}`, n3 = [this].concat(i3); let t3 = s.default.findWhere(u.default, { id: e3.categoryId }); t3 || (t3 = u.default.unknown); let i3 = e3.displayIndex; - s.default.isUndefined(i3) && (this.traceTopic.error("No display index found for category id " + e3.categoryId), i3 = 256), this.actionCategory = _.ParameterValidator.expectObject(t3, () => p.ParameterInfo.createConstructorParameter(this.className, "actionCategory")), this.displayIndex = _.ParameterValidator.expectInt(i3, () => p.ParameterInfo.createConstructorParameter(this.className, "displayIndex")), c.registerActionIntoCategory(this); + s.default.isUndefined(i3) && (this.traceTopic.error("No display index found for category id " + e3.categoryId), i3 = 256), this.actionCategory = _.ParameterValidator.expectObject(t3, () => p.ParameterInfo.createConstructorParameter(this.className, "actionCategory")), this.displayIndex = _.ParameterValidator.expectInt(i3, () => p.ParameterInfo.createConstructorParameter(this.className, "displayIndex")), d.registerActionIntoCategory(this); } getWrappedYamlName(e3, t3) { - if (!this.scriptingName) return d.error(`No scriptingName defined for action ${this.className}`), "unsupportedAction"; + if (!this.scriptingName) return c.error(`No scriptingName defined for action ${this.className}`), "unsupportedAction"; let i3 = this.scriptingName.replace("ArchAction", ""); if (e3) { if (t3) return "menuSubMenu"; @@ -114968,11 +124267,11 @@ ${e3.stack}`, n3 = [this].concat(i3); return i3; } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), t2.default = f; + n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), t2.default = T; }, 97920: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createPromptContainer = o, t2.createPromptResource = a, t2.deletePromptContainer = s, t2.deletePromptResource = l, t2.clearOrRevertAudio = u, t2.getPromptContainer = d, t2.getUserPromptContainer_ignoreBadResponse = _, t2.getSystemPromptContainer_ignoreBadResponse = h, t2.getSystemPromptContainer = function(e3) { - return d(e3, true, { includeMediaUris: true }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.createPromptContainer = o, t2.createPromptResource = a, t2.deletePromptContainer = s, t2.deletePromptResource = l, t2.clearOrRevertAudio = u, t2.getPromptContainer = c, t2.getUserPromptContainer_ignoreBadResponse = _, t2.getSystemPromptContainer_ignoreBadResponse = h, t2.getSystemPromptContainer = function(e3) { + return c(e3, true, { includeMediaUris: true }); }, t2.getPromptContainers = m, t2.getBulkUserPromptContainers = g, t2.getBulkSystemPromptContainers = f, t2.getPromptContainers_ignoreBadResponse = S, t2.getSystemPromptContainers = function(e3) { return m(e3, true); }, t2.getSystemPromptContainers_ignoreBadResponse = function(e3) { @@ -114981,7 +124280,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return m(e3, false); }, t2.getUserPromptContainers_ignoreBadResponse = function(e3) { return S(e3, false); - }, t2.getPromptResource = A, t2.getPromptResources = N, t2.updatePromptContainer = O, t2.updatePromptResource = I, t2.uploadAudio = v, t2.getPromptUploadPresignedUrl = C, t2.uploadAudioViaPresignedUrl = b; + }, t2.getPromptResource = A, t2.getPromptResources = N, t2.updatePromptContainer = v, t2.updatePromptResource = O, t2.uploadAudio = I, t2.getPromptUploadPresignedUrl = C, t2.uploadAudioViaPresignedUrl = b; const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(10954); function o(e3, t3) { const i3 = n2.default.build(r2.createPromptContainer); @@ -115003,18 +124302,18 @@ ${e3.stack}`, n3 = [this].concat(i3); const o2 = i3 ? n2.default.build(r2.revertSystemPromptResourceAudio) : n2.default.build(r2.clearUserPromptAudio); return o2.templateParams({ promptId: e3, language: t3 }), o2.call(); } - function d(e3, t3, i3) { + function c(e3, t3, i3) { const o2 = t3 ? n2.default.build(r2.getSystemPromptContainer) : n2.default.build(r2.getPromptContainer); return o2.templateParams({ id: e3 }), o2.queryParams(i3), o2.call(); } - o.api = r2.createPromptContainer, a.api = (e3) => e3 ? r2.createSystemPromptResource : r2.createPromptResource, s.api = r2.deletePromptContainer, l.api = r2.deletePromptResource, u.api = (e3) => e3 ? r2.revertSystemPromptResourceAudio : r2.clearUserPromptAudio, d.api = (e3) => e3 ? r2.getSystemPromptContainer : r2.getPromptContainer; - const c = r2.getSystemPromptContainer.clone({ ignoreBadResponse: true }), p = r2.getPromptContainer.clone({ ignoreBadResponse: true }); + o.api = r2.createPromptContainer, a.api = (e3) => e3 ? r2.createSystemPromptResource : r2.createPromptResource, s.api = r2.deletePromptContainer, l.api = r2.deletePromptResource, u.api = (e3) => e3 ? r2.revertSystemPromptResourceAudio : r2.clearUserPromptAudio, c.api = (e3) => e3 ? r2.getSystemPromptContainer : r2.getPromptContainer; + const d = r2.getSystemPromptContainer.clone({ ignoreBadResponse: true }), p = r2.getPromptContainer.clone({ ignoreBadResponse: true }); function _(e3) { const t3 = n2.default.build(p); return t3.templateParams({ id: e3 }), t3.call(); } function h(e3) { - const t3 = n2.default.build(c); + const t3 = n2.default.build(d); return t3.templateParams({ id: e3 }), t3.call(); } function m(e3, t3) { @@ -115029,7 +124328,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const t3 = n2.default.build(r2.getSystemPromptContainers); return t3.queryParams({ pageSize: e3.length, name: e3 }), t3.call(); } - _.api = p, h.api = c, m.api = (e3) => e3 ? r2.getSystemPromptContainers : r2.getPromptContainers, g.api = r2.getPromptContainers, f.api = r2.getSystemPromptContainers; + _.api = p, h.api = d, m.api = (e3) => e3 ? r2.getSystemPromptContainers : r2.getPromptContainers, g.api = r2.getPromptContainers, f.api = r2.getSystemPromptContainers; const T = r2.getSystemPromptContainers.clone({ ignoreBadResponse: true }), y = r2.getPromptContainers.clone({ ignoreBadResponse: true }); function S(e3, t3) { const i3 = t3 ? n2.default.build(T) : n2.default.build(y); @@ -115043,15 +124342,15 @@ ${e3.stack}`, n3 = [this].concat(i3); const o2 = i3 ? n2.default.build(r2.getSystemPromptResources) : n2.default.build(r2.getPromptResources); return o2.templateParams({ promptId: e3 }).queryParams(t3), o2.call(); } - function O(e3, t3, i3) { + function v(e3, t3, i3) { const o2 = n2.default.build(r2.updatePromptContainer); return o2.content({ name: t3, description: i3 || "" }).templateParams({ id: e3 }), o2.call(); } - function I(e3, t3) { + function O(e3, t3) { const i3 = n2.default.build(r2.updatePromptResource), o2 = { durationSeconds: "durationSeconds" in t3 ? t3.durationSeconds : "audioLength" in t3 ? t3.audioLength : 0, language: t3.language || "", mediaUri: t3.mediaUri, name: "name" in t3 ? t3.name : "", ttsString: t3.ttsString || "", text: t3.text || "" }; return t3.tags && (o2.tags = t3.tags), i3.templateParams({ promptId: e3, language: t3.language }).content(o2).call(); } - function v(e3, t3) { + function I(e3, t3) { const i3 = n2.default.build(r2.audioUpload); return i3.url = t3, delete i3.headers.Accept, delete i3.headers["Content-Type"], delete i3.headers["Genesys-App"], i3.file(e3).call(); } @@ -115063,13 +124362,13 @@ ${e3.stack}`, n3 = [this].concat(i3); const i3 = n2.default.build(r2.audioUploadViaPresignedUrl); return i3.url = t3.url, i3.headers = Object.assign(Object.assign({}, i3.headers), t3.headers), delete i3.headers.Accept, delete i3.headers["Content-Type"], delete i3.headers.Authorization, i3.audioFile(e3).call(); } - S.api = (e3) => e3 ? T : y, A.api = (e3) => e3 ? r2.getSystemPromptResource : r2.getPromptResource, N.api = (e3) => e3 ? r2.getSystemPromptResources : r2.getPromptResources, O.api = r2.updatePromptContainer, I.api = r2.updatePromptResource, v.api = r2.audioUpload, C.api = (e3) => e3 ? r2.getSystemPromptUploadPresignedUrl : r2.getUserPromptUploadPresignedUrl, b.api = r2.audioUploadViaPresignedUrl; + S.api = (e3) => e3 ? T : y, A.api = (e3) => e3 ? r2.getSystemPromptResource : r2.getPromptResource, N.api = (e3) => e3 ? r2.getSystemPromptResources : r2.getPromptResources, v.api = r2.updatePromptContainer, O.api = r2.updatePromptResource, I.api = r2.audioUpload, C.api = (e3) => e3 ? r2.getSystemPromptUploadPresignedUrl : r2.getUserPromptUploadPresignedUrl, b.api = r2.audioUploadViaPresignedUrl; }, 97930: (e2, t2, i2) => { "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeCurrencyOptions = void 0; const r2 = i2(31635), o = r2.__importDefault(i2(68259)), a = i2(80295), s = i2(61870), l = i2(55909), u = i2(33951); - class d extends s.ExpressionTypeDecimalOptions { + class c extends s.ExpressionTypeDecimalOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -115101,14 +124400,14 @@ ${e3.stack}`, n3 = [this].concat(i3); return true; } } - t2.ExpressionTypeCurrencyOptions = d, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], d.prototype, "facets", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Object])], d.prototype, "currencyAmountOnly", null); + t2.ExpressionTypeCurrencyOptions = c, r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], c.prototype, "facets", null), r2.__decorate([(0, a.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Object])], c.prototype, "currencyAmountOnly", null); }, 97951: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.systemPromptListManager = t2.SystemPromptListManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(97920)), s = n2.__importStar(i2(27854)), l = n2.__importDefault(i2(47532)), u = i2(24032), d = n2.__importDefault(i2(85660)), c = i2(81801), p = i2(47957), _ = i2(27862), h = { name: p.sectionSystemPrompts, singularName: p.audio.promptSystem }; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(36781)), a = n2.__importStar(i2(97920)), s = n2.__importStar(i2(27854)), l = n2.__importDefault(i2(47532)), u = i2(24032), c = n2.__importDefault(i2(85660)), d = i2(81801), p = i2(47957), _ = i2(27862), h = { name: p.sectionSystemPrompts, singularName: p.audio.promptSystem }; class m extends l.default { get requiredAuth() { - return c.externalAuthorizations.authStrings.promptsSystemView; + return d.externalAuthorizations.authStrings.promptsSystemView; } get dependencyType() { return _.SystemPrompt; @@ -115121,7 +124420,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }), this._initialize(); } _createItemViewModel(e3) { - return new d.default(e3, true); + return new c.default(e3, true); } getBulkPromptContainers(e3) { return a.getBulkSystemPromptContainers(e3).then((e4) => { @@ -115154,7 +124453,7 @@ ${e3.stack}`, n3 = [this].concat(i3); refreshSinglePrompt(e3) { return a.getSystemPromptContainer(e3).then((e4) => { const t3 = this._createItemViewModel(e4); - return this.items[e4.id] && (t3.usages = this.items[e4.id].usages, this.items[e4.id] = t3), t3; + return this.items[e4.id] && (t3.transferUsagesFrom(this.items[e4.id]), this.items[e4.id] = t3), t3; }); } removeItemWithName(e3) { @@ -115250,10 +124549,10 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 98114: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = n2.__importStar(i2(74359)), a = i2(82632), s = i2(36494), l = n2.__importStar(i2(85020)), u = n2.__importStar(i2(12847)), d = n2.__importStar(i2(53128)), c = n2.__importStar(i2(10798)), p = n2.__importDefault(i2(3465)), _ = i2(3465), h = i2(96618), m = n2.__importStar(i2(75773)), g = n2.__importStar(i2(15717)), f = n2.__importDefault(i2(96060)), T = n2.__importDefault(i2(92140)), y = n2.__importStar(i2(14187)), S = n2.__importDefault(i2(4648)), A = i2(27862), N = i2(47957), O = r2.getTopic("FlowDefinitionService"), I = {}; - I[h.flowTypes.flowTypeBot] = A.BotFlow, I[h.flowTypes.flowTypeCommonModule] = A.CommonModuleFlow, I[h.flowTypes.flowTypeDigitalBot] = A.DigitalBotFlow, I[h.flowTypes.flowTypeInboundCall] = A.InboundCallFlow, I[h.flowTypes.flowTypeInboundEmail] = A.InboundEmailFlow, I[h.flowTypes.flowTypeInboundShortMessage] = A.InboundShortMessageFlow, I[h.flowTypes.flowTypeInboundChat] = A.InboundChatFlow, I[h.flowTypes.flowTypeInQueueCall] = A.InqueueCallFlow, I[h.flowTypes.flowTypeInQueueEmail] = A.InqueueEmailFlow, I[h.flowTypes.flowTypeInQueueShortMessage] = A.InqueueShortMessageFlow, I[h.flowTypes.flowTypeOutboundCall] = A.OutboundCallFlow, I[h.flowTypes.flowTypeSecureCall] = A.SecureCallFlow, I[h.flowTypes.flowTypeSurveyInvite] = A.SurveyInviteFlow, I[h.flowTypes.flowTypeVoice] = A.VoiceFlow, I[h.flowTypes.flowTypeVoicemail] = A.VoicemailFlow, I[h.flowTypes.flowTypeVoiceSurvey] = A.VoiceSurveyFlow, I[h.flowTypes.flowTypeEmailSend] = A.EmailSendFlow, I[h.flowTypes.flowTypeWorkflow] = A.Workflow, I[h.flowTypes.flowTypeWorkitem] = A.WorkItemFlow; - const v = {}; - T.default.each(I, (e3, t3) => v[e3.value.toLowerCase()] = t3); + const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = n2.__importStar(i2(74359)), a = i2(82632), s = i2(36494), l = n2.__importStar(i2(85020)), u = n2.__importStar(i2(12847)), c = n2.__importStar(i2(53128)), d = n2.__importStar(i2(10798)), p = n2.__importDefault(i2(3465)), _ = i2(3465), h = i2(96618), m = n2.__importStar(i2(75773)), g = n2.__importStar(i2(15717)), f = n2.__importDefault(i2(96060)), T = n2.__importDefault(i2(92140)), y = n2.__importStar(i2(14187)), S = n2.__importDefault(i2(4648)), A = i2(27862), N = i2(47957), v = r2.getTopic("FlowDefinitionService"), O = {}; + O[h.flowTypes.flowTypeBot] = A.BotFlow, O[h.flowTypes.flowTypeCommonModule] = A.CommonModuleFlow, O[h.flowTypes.flowTypeDigitalBot] = A.DigitalBotFlow, O[h.flowTypes.flowTypeInboundCall] = A.InboundCallFlow, O[h.flowTypes.flowTypeInboundEmail] = A.InboundEmailFlow, O[h.flowTypes.flowTypeInboundShortMessage] = A.InboundShortMessageFlow, O[h.flowTypes.flowTypeInboundChat] = A.InboundChatFlow, O[h.flowTypes.flowTypeInQueueCall] = A.InqueueCallFlow, O[h.flowTypes.flowTypeInQueueEmail] = A.InqueueEmailFlow, O[h.flowTypes.flowTypeInQueueShortMessage] = A.InqueueShortMessageFlow, O[h.flowTypes.flowTypeOutboundCall] = A.OutboundCallFlow, O[h.flowTypes.flowTypeSecureCall] = A.SecureCallFlow, O[h.flowTypes.flowTypeSurveyInvite] = A.SurveyInviteFlow, O[h.flowTypes.flowTypeVoice] = A.VoiceFlow, O[h.flowTypes.flowTypeVoicemail] = A.VoicemailFlow, O[h.flowTypes.flowTypeVoiceSurvey] = A.VoiceSurveyFlow, O[h.flowTypes.flowTypeEmailSend] = A.EmailSendFlow, O[h.flowTypes.flowTypeWorkflow] = A.Workflow, O[h.flowTypes.flowTypeWorkitem] = A.WorkItemFlow; + const I = {}; + T.default.each(O, (e3, t3) => I[e3.value.toLowerCase()] = t3); const C = new class { constructor() { this._flowDefinitions = {}, this._isInitialized = false, this._lookupCache = {}, this._createInitialFlowDefinitions(), o.bootstrapDataLoaded.then((e3) => this._processBootstrapDataLoaded(e3)); @@ -115268,25 +124567,25 @@ ${e3.stack}`, n3 = [this].concat(i3); } _createAutomateFlowDefinition(e3, t3, i3) { const n3 = [h.flowTypes.flowTypeEmailSend, h.flowTypes.flowTypeInboundChat, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundShortMessage, h.flowTypes.flowTypeInQueueEmail, h.flowTypes.flowTypeInQueueShortMessage, h.flowTypes.flowTypeWorkflow, h.flowTypes.flowTypeWorkitem]; - return this._addFlowDefinition(p.default.createForFlowType(e3).setIsDeprecated(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundChat)).setChannelTypes(e3 === h.flowTypes.flowTypeInboundChat ? [l.channelTypeChat] : []).setOutputModes(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundChat, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundShortMessage) ? [g.outputModeText] : []).setDependencyType(I[e3]).setFileExtension(i3).setStartupObjectCanBeState(true).setSupportsAddVariablesInDataView(true).setIsCreatable(true).setSupportsComplexTypes(true).setSupportsCustomJsonTypes(true).setCanSaveAs(e3 !== h.flowTypes.flowTypeWorkitem).setSupportsDataViewFiltering(true).setSupportsErrorHandlingQueueRouting(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundChat, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundShortMessage)).setSupportsFlowInputVariables(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeWorkflow, h.flowTypes.flowTypeWorkitem, h.flowTypes.flowTypeDigitalBot, h.flowTypes.flowTypeBot)).setIsReferenceableFromOtherFlows(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInQueueEmail, h.flowTypes.flowTypeInQueueShortMessage)).setSupportsFlowOutputVariables(true).setSupportsLanguages(n3.includes(e3)).setSupportsLogLevelConfiguration(true).setLanguagesSupportDefaultLanguage(n3.includes(e3)).setSupportsMoreThanOneLanguage(n3.includes(e3)).setSupportsLanguageAddRemove(n3.includes(e3)).setSupportsLanguageDefaultChange(n3.includes(e3)).setLanguagesSupportDefaultLanguageSkill(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundChat, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundShortMessage, h.flowTypes.flowTypeInQueueEmail, h.flowTypes.flowTypeInQueueShortMessage, h.flowTypes.flowTypeWorkitem)).setIsTestLaunchable(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeWorkflow, h.flowTypes.flowTypeWorkitem)).setSupportsFlowCreationData(e3 === h.flowTypes.flowTypeWorkitem).setSupportsAudio(false).setSupportsReusableTasks(true).setSupportsStates(true).setSupportsMultipleStates(true).setStartupStateMustTerminate(true).setSupportsPeriodicState(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInQueueEmail, h.flowTypes.flowTypeInQueueShortMessage)).setSupportsTaskInputVariables(true).setSupportsTaskOutputVariables(true).setSupportsTasksWithOutputPaths(true).setTypeDisplayName(t3).setSystemVariableModels(this._getSystemVariableModelsForFlowType(e3)).setMaxFlowSize(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeEmailSend) ? a.flowSizeLimits.maxFlowSizeEmail : a.flowSizeLimits.maxFlowSize).setFlowTypeCategory(this._flowTypeCategoryForAutomateFlowType(e3))); + return this._addFlowDefinition(p.default.createForFlowType(e3).setIsDeprecated(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundChat)).setChannelTypes(e3 === h.flowTypes.flowTypeInboundChat ? [l.channelTypeChat] : []).setOutputModes(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundChat, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundShortMessage) ? [g.outputModeText] : []).setDependencyType(O[e3]).setFileExtension(i3).setStartupObjectCanBeState(true).setSupportsAddVariablesInDataView(true).setIsCreatable(true).setSupportsComplexTypes(true).setSupportsCustomJsonTypes(true).setCanSaveAs(e3 !== h.flowTypes.flowTypeWorkitem).setSupportsDataViewFiltering(true).setSupportsErrorHandlingQueueRouting(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundChat, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundShortMessage)).setSupportsFlowInputVariables(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeWorkflow, h.flowTypes.flowTypeWorkitem, h.flowTypes.flowTypeDigitalBot, h.flowTypes.flowTypeBot)).setIsReferenceableFromOtherFlows(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInQueueEmail, h.flowTypes.flowTypeInQueueShortMessage)).setSupportsFlowOutputVariables(true).setSupportsLanguages(n3.includes(e3)).setSupportsLogLevelConfiguration(true).setLanguagesSupportDefaultLanguage(n3.includes(e3)).setSupportsMoreThanOneLanguage(n3.includes(e3)).setSupportsLanguageAddRemove(n3.includes(e3)).setSupportsLanguageDefaultChange(n3.includes(e3)).setLanguagesSupportDefaultLanguageSkill(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundChat, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundShortMessage, h.flowTypes.flowTypeInQueueEmail, h.flowTypes.flowTypeInQueueShortMessage, h.flowTypes.flowTypeWorkitem)).setIsTestLaunchable(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeWorkflow, h.flowTypes.flowTypeWorkitem)).setSupportsFlowCreationData(e3 === h.flowTypes.flowTypeWorkitem).setSupportsAudio(false).setSupportsReusableTasks(true).setSupportsStates(true).setSupportsMultipleStates(true).setStartupStateMustTerminate(true).setSupportsPeriodicState(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInQueueEmail, h.flowTypes.flowTypeInQueueShortMessage)).setSupportsTaskInputVariables(true).setSupportsTaskOutputVariables(true).setSupportsTasksWithOutputPaths(true).setTypeDisplayName(t3).setSystemVariableModels(this._getSystemVariableModelsForFlowType(e3)).setMaxFlowSize(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeEmailSend) ? a.flowSizeLimits.maxFlowSizeEmail : a.flowSizeLimits.maxFlowSize).setFlowTypeCategory(this._flowTypeCategoryForAutomateFlowType(e3))); } _flowTypeSupportsMenus(e3) { return h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeOutboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeVoicemail); } _createCallFlowDefinition(e3, t3, i3) { - return this._addFlowDefinition(p.default.createForFlowType(e3).setChannelTypes([l.channelTypeCall]).setOutputModes([g.outputModeVoice]).setDependencyType(I[e3]).setFileExtension(i3).setIsReferenceableFromOtherFlows(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInQueueCall, h.flowTypes.flowTypeSecureCall)).setIsCreatable(e3 !== h.flowTypes.flowTypeVoicemail).setSupportsDebugPublish(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeVoicemail)).setSupportsAutoDeletingVariablesWithNoUsages(true).setLanguagesSupportTtsAndAsrSettings(true).setLanguagesSupportTtsAndAsrRuntime(true).setSupportsContactDataType(e3 === h.flowTypes.flowTypeOutboundCall).setSupportsErrorAudio(true).setSupportsLanguages(true).setSupportsLogLevelConfiguration(true).setLanguagesSupportDefaultLanguage(true).setSupportsMoreThanOneLanguage(true).setLanguageChangesAreImmediate(false).setSupportsLanguageAddRemove(true).setSupportsLanguageDefaultChange(true).setLanguagesSupportDefaultLanguageSkill(true).setSupportsAudio(true).setSupportsSpeechRec(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeOutboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeVoicemail)).setSupportsReusableMenus(this._flowTypeSupportsMenus(e3)).setSupportsReusableTasks(e3 !== h.flowTypes.flowTypeInQueueCall).setSupportsSecureVariables(e3 === h.flowTypes.flowTypeSecureCall).setStartupObjectCanBeMenu(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeOutboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeVoicemail)).setStartupObjectCanBeTask(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeOutboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeVoicemail)).setStartupObjectCanBeRepeatingTask(e3 === h.flowTypes.flowTypeInQueueCall).setTypeDisplayName(t3).setIsTestCallable(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeVoicemail)).setSystemVariableModels(this._getSystemVariableModelsForFlowType(e3)).setFlowTypeCategory(this._flowTypeCategoryForCallFlowType(e3))); + return this._addFlowDefinition(p.default.createForFlowType(e3).setChannelTypes([l.channelTypeCall]).setOutputModes([g.outputModeVoice]).setDependencyType(O[e3]).setFileExtension(i3).setIsReferenceableFromOtherFlows(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInQueueCall, h.flowTypes.flowTypeSecureCall)).setIsCreatable(e3 !== h.flowTypes.flowTypeVoicemail).setSupportsDebugPublish(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeVoicemail)).setSupportsAutoDeletingVariablesWithNoUsages(true).setLanguagesSupportTtsAndAsrSettings(true).setLanguagesSupportTtsAndAsrRuntime(true).setSupportsContactDataType(e3 === h.flowTypes.flowTypeOutboundCall).setSupportsErrorAudio(true).setSupportsLanguages(true).setSupportsLogLevelConfiguration(true).setLanguagesSupportDefaultLanguage(true).setSupportsMoreThanOneLanguage(true).setLanguageChangesAreImmediate(false).setSupportsLanguageAddRemove(true).setSupportsLanguageDefaultChange(true).setLanguagesSupportDefaultLanguageSkill(true).setSupportsAudio(true).setSupportsSpeechRec(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeOutboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeVoicemail)).setSupportsReusableMenus(this._flowTypeSupportsMenus(e3)).setSupportsReusableTasks(e3 !== h.flowTypes.flowTypeInQueueCall).setSupportsSecureVariables(e3 === h.flowTypes.flowTypeSecureCall).setStartupObjectCanBeMenu(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeOutboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeVoicemail)).setStartupObjectCanBeTask(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeOutboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeVoicemail)).setStartupObjectCanBeRepeatingTask(e3 === h.flowTypes.flowTypeInQueueCall).setTypeDisplayName(t3).setIsTestCallable(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeVoicemail)).setSystemVariableModels(this._getSystemVariableModelsForFlowType(e3)).setFlowTypeCategory(this._flowTypeCategoryForCallFlowType(e3))); } _createBotFlowDefinition(e3, t3, i3) { - return this._addFlowDefinition(p.default.createForFlowType(e3).addAdditionalInfoSection("exitReasons", "This is a list of example exit reason strings and is *not* all possible values.", s.botFlowExitReasons).setChannelTypes(e3 === h.flowTypes.flowTypeBot ? [l.channelTypeCall, l.channelTypeChat] : [l.channelTypeChat]).setChannelTypeVariableName("Session.ChannelType").setOutputModes(e3 === h.flowTypes.flowTypeBot ? [g.outputModeVoice, g.outputModeText] : [g.outputModeText]).setSupportsQuickRepliesFlowLevelSetting(e3 === h.flowTypes.flowTypeBot).setSupportsAgentEscalation(true).setSupportsLogLevelConfiguration(true).setSupportsNlu(true).setSupportsNluIntents(true).setOutputModeVariableName("Session.ChannelType").setDependencyType(I[e3]).setIsCreatable(true).setIsReferenceableFromOtherFlows(true).setFileExtension(i3).setStartupObjectCanBeState(true).setStartupObjectCanBeTask(false).setSupportsAddVariablesInDataView(true).setSupportsComplexTypes(true).setSupportsDataViewFiltering(true).setSupportsFlowCreationData(true).setSupportsFlowInputVariables(true).setSupportsFlowOutputVariables(true).setSupportsLanguages(true).setLanguagesSupportDefaultLanguage(true).setSupportsMoreThanOneLanguage(false).setSupportsLanguageAddRemove(false).setSupportsLanguageDefaultChange(false).setSupportsAudio(false).setSupportsReusableTasks(true).setSupportsStates(true).setSupportsMultipleStates(false).setSupportsTaskInputVariables(true).setSupportsTaskOutputVariables(true).setSupportsTasksWithOutputPaths(true).setSupportsVoiceProcessingPrompt(true).setTypeDisplayName(t3).setSystemVariableModels(this._getSystemVariableModelsForFlowType(e3)).setFlowTypeCategory(_.FlowTypeCategory.supporting)); + return this._addFlowDefinition(p.default.createForFlowType(e3).addAdditionalInfoSection("exitReasons", "This is a list of example exit reason strings and is *not* all possible values.", s.botFlowExitReasons).setChannelTypes(e3 === h.flowTypes.flowTypeBot ? [l.channelTypeCall, l.channelTypeChat] : [l.channelTypeChat]).setChannelTypeVariableName("Session.ChannelType").setOutputModes(e3 === h.flowTypes.flowTypeBot ? [g.outputModeVoice, g.outputModeText] : [g.outputModeText]).setSupportsQuickRepliesFlowLevelSetting(e3 === h.flowTypes.flowTypeBot).setSupportsAgentEscalation(true).setSupportsLogLevelConfiguration(true).setSupportsNlu(true).setSupportsNluIntents(true).setOutputModeVariableName("Session.ChannelType").setDependencyType(O[e3]).setIsCreatable(true).setIsReferenceableFromOtherFlows(true).setFileExtension(i3).setStartupObjectCanBeState(true).setStartupObjectCanBeTask(false).setSupportsAddVariablesInDataView(true).setSupportsComplexTypes(true).setSupportsDataViewFiltering(true).setSupportsFlowCreationData(true).setSupportsFlowInputVariables(true).setSupportsFlowOutputVariables(true).setSupportsLanguages(true).setLanguagesSupportDefaultLanguage(true).setSupportsMoreThanOneLanguage(false).setSupportsLanguageAddRemove(false).setSupportsLanguageDefaultChange(false).setSupportsAudio(false).setSupportsReusableTasks(true).setSupportsStates(true).setSupportsMultipleStates(false).setSupportsTaskInputVariables(true).setSupportsTaskOutputVariables(true).setSupportsTasksWithOutputPaths(true).setSupportsVoiceProcessingPrompt(true).setTypeDisplayName(t3).setSystemVariableModels(this._getSystemVariableModelsForFlowType(e3)).setFlowTypeCategory(_.FlowTypeCategory.supporting)); } _createVoiceFlowDefinition(e3, t3, i3) { - return this._addFlowDefinition(p.default.createForFlowType(h.flowTypes.flowTypeVoice).addAdditionalInfoSection("exitReasons", "This is a list of example exit reason strings and is *not* all possible values.", s.botFlowExitReasons).setChannelTypes([l.channelTypeCall]).setChannelTypeVariableName("Session.ChannelType").setOutputModes([g.outputModeVoice]).setSupportsQuickRepliesFlowLevelSetting(false).setDependencyType(I[h.flowTypes.flowTypeVoice]).setIsCreatable(true).setSupportsLogLevelConfiguration(true).setSupportsNlu(true).setSupportsNluIntents(true).setIsReferenceableFromOtherFlows(true).setFileExtension(i3).setLanguagesSupportSttSetting(true).setLanguagesSupportTtsAndAsrSettings(true).setLanguagesSupportTtsAndAsrRuntime(true).setStartupObjectCanBeState(true).setStartupObjectCanBeTask(false).setSupportsAddVariablesInDataView(true).setSupportsAgentEscalation(true).setSupportsComplexTypes(true).setSupportsDataViewFiltering(true).setSupportsFlowCreationData(true).setSupportsFlowInputVariables(true).setSupportsFlowOutputVariables(true).setSupportsKnowledge(true).setSupportsLanguages(true).setLanguagesSupportDefaultLanguage(true).setLanguagesSupportDefaultLanguageSkill(true).setStartupStateMustTerminate(true).setSupportsMoreThanOneLanguage(true).setSupportsLanguageAddRemove(true).setSupportsLanguageDefaultChange(false).setSupportsAudio(false).setSupportsReusableTasks(true).setSupportsStates(true).setSupportsMultipleStates(true).setSupportsTaskInputVariables(true).setSupportsTaskOutputVariables(true).setSupportsTasksWithOutputPaths(true).setTypeDisplayName(t3).setSystemVariableModels(this._getSystemVariableModelsForFlowType(h.flowTypes.flowTypeVoice)).setFlowTypeCategory(_.FlowTypeCategory.supporting)); + return this._addFlowDefinition(p.default.createForFlowType(h.flowTypes.flowTypeVoice).addAdditionalInfoSection("exitReasons", "This is a list of example exit reason strings and is *not* all possible values.", s.botFlowExitReasons).setChannelTypes([l.channelTypeCall]).setChannelTypeVariableName("Session.ChannelType").setOutputModes([g.outputModeVoice]).setSupportsQuickRepliesFlowLevelSetting(false).setDependencyType(O[h.flowTypes.flowTypeVoice]).setIsCreatable(true).setSupportsLogLevelConfiguration(true).setSupportsNlu(true).setSupportsNluIntents(true).setIsReferenceableFromOtherFlows(true).setFileExtension(i3).setLanguagesSupportSttSetting(true).setLanguagesSupportTtsAndAsrSettings(true).setLanguagesSupportTtsAndAsrRuntime(true).setStartupObjectCanBeState(true).setStartupObjectCanBeTask(false).setSupportsAddVariablesInDataView(true).setSupportsAgentEscalation(true).setSupportsComplexTypes(true).setSupportsDataViewFiltering(true).setSupportsFlowCreationData(true).setSupportsFlowInputVariables(true).setSupportsFlowOutputVariables(true).setSupportsKnowledge(true).setSupportsLanguages(true).setLanguagesSupportDefaultLanguage(true).setLanguagesSupportDefaultLanguageSkill(true).setStartupStateMustTerminate(true).setSupportsMoreThanOneLanguage(true).setSupportsLanguageAddRemove(true).setSupportsLanguageDefaultChange(false).setSupportsAudio(false).setSupportsReusableTasks(true).setSupportsStates(true).setSupportsMultipleStates(true).setSupportsTaskInputVariables(true).setSupportsTaskOutputVariables(true).setSupportsTasksWithOutputPaths(true).setTypeDisplayName(t3).setSystemVariableModels(this._getSystemVariableModelsForFlowType(h.flowTypes.flowTypeVoice)).setFlowTypeCategory(_.FlowTypeCategory.supporting)); } _createVoiceSurveyFlowDefinition(e3, t3, i3) { - return this._addFlowDefinition(p.default.createForFlowType(h.flowTypes.flowTypeVoiceSurvey).addAdditionalInfoSection("exitReasons", "This is a list of example exit reason strings and is *not* all possible values.", s.botFlowExitReasons).setChannelTypes([l.channelTypeCall]).setChannelTypeVariableName("Session.ChannelType").setOutputModes([g.outputModeVoice]).setCanSuppressCallRecordings(true).setSuppressCallRecordingsDefaultValue(false).setSupportsQuickRepliesFlowLevelSetting(false).setDependencyType(I[h.flowTypes.flowTypeVoiceSurvey]).setIsCreatable(true).setSupportsLogLevelConfiguration(true).setSupportsNlu(true).setSupportsNluIntents(false).setIsReferenceableFromOtherFlows(false).setFileExtension(i3).setLanguagesSupportSttSetting(true).setLanguagesSupportTtsAndAsrSettings(true).setLanguagesRequireTts(true).setLanguagesSupportTtsAndAsrRuntime(true).setStartupObjectCanBeState(true).setStartupObjectCanBeTask(true).setSupportsAddVariablesInDataView(true).setSupportsComplexTypes(true).setSupportsDataViewFiltering(true).setSupportsFlowCreationData(true).setIsTestCallable(true).setSupportsFlowInputVariables(false).setSupportsFlowOutputVariables(false).setSupportsKnowledge(false).setSupportsLanguages(true).setLanguagesSupportDefaultLanguage(true).setLanguagesSupportDefaultLanguageSkill(false).setStartupStateMustTerminate(true).setSupportsMoreThanOneLanguage(false).setSupportsLanguageAddRemove(false).setSupportsLanguageDefaultChange(false).setSupportsAudio(true).setSupportsReusableTasks(true).setSupportsStates(true).setSupportsMultipleStates(false).setSupportsTaskInputVariables(true).setSupportsTaskOutputVariables(true).setSupportsTasksWithOutputPaths(true).setTypeDisplayName(t3).setSystemVariableModels(this._getSystemVariableModelsForFlowType(h.flowTypes.flowTypeVoiceSurvey)).setFlowTypeCategory(_.FlowTypeCategory.postInteraction)); + return this._addFlowDefinition(p.default.createForFlowType(h.flowTypes.flowTypeVoiceSurvey).addAdditionalInfoSection("exitReasons", "This is a list of example exit reason strings and is *not* all possible values.", s.botFlowExitReasons).setChannelTypes([l.channelTypeCall]).setChannelTypeVariableName("Session.ChannelType").setOutputModes([g.outputModeVoice]).setCanSuppressCallRecordings(true).setSuppressCallRecordingsDefaultValue(false).setSupportsQuickRepliesFlowLevelSetting(false).setDependencyType(O[h.flowTypes.flowTypeVoiceSurvey]).setIsCreatable(true).setSupportsLogLevelConfiguration(true).setSupportsNlu(true).setSupportsNluIntents(false).setIsReferenceableFromOtherFlows(false).setFileExtension(i3).setLanguagesSupportSttSetting(true).setLanguagesSupportTtsAndAsrSettings(true).setLanguagesRequireTts(true).setLanguagesSupportTtsAndAsrRuntime(true).setStartupObjectCanBeState(true).setStartupObjectCanBeTask(true).setSupportsAddVariablesInDataView(true).setSupportsComplexTypes(true).setSupportsDataViewFiltering(true).setSupportsFlowCreationData(true).setIsTestCallable(true).setSupportsFlowInputVariables(false).setSupportsFlowOutputVariables(false).setSupportsKnowledge(false).setSupportsLanguages(true).setLanguagesSupportDefaultLanguage(true).setLanguagesSupportDefaultLanguageSkill(false).setStartupStateMustTerminate(true).setSupportsMoreThanOneLanguage(false).setSupportsLanguageAddRemove(false).setSupportsLanguageDefaultChange(false).setSupportsAudio(true).setSupportsReusableTasks(true).setSupportsStates(true).setSupportsMultipleStates(false).setSupportsTaskInputVariables(true).setSupportsTaskOutputVariables(true).setSupportsTasksWithOutputPaths(true).setTypeDisplayName(t3).setSystemVariableModels(this._getSystemVariableModelsForFlowType(h.flowTypes.flowTypeVoiceSurvey)).setFlowTypeCategory(_.FlowTypeCategory.postInteraction)); } _createCommonModuleDefinition(e3, t3, i3) { - return this._addFlowDefinition(p.default.createForFlowType(e3).setChannelTypes(l.channelTypesAll).setOutputModes(g.outputModesAll).setDependencyType(I[e3]).setFileExtension(i3).setIsCreatable(true).setIsReferenceableFromOtherFlows(true).setMaxFlowSize(a.flowSizeLimits.maxFlowSizeCommonModule).setSupportsAutoDeletingVariablesWithNoUsages(false).setLanguagesSupportTtsAndAsrSettings(false).setLanguagesSupportTtsAndAsrRuntime(true).setHasDestinationFlowTypes(true).setSupportsAddVariablesInDataView(true).setSupportsContactDataType(true).setSupportsFlowInputVariables(true).setSupportsFlowOutputVariables(true).setSupportsLanguages(true).setLanguagesSupportDefaultLanguage(false).setSupportsMoreThanOneLanguage(true).setSupportsLanguageAddRemove(true).setSupportsLanguageDefaultChange(true).setLanguagesSupportDefaultLanguageSkill(false).setSupportsAudio(true).setSupportsSpeechRec(true).setSupportsSecureVariables(false).setStartupObjectCanBeTask(true).setTypeDisplayName(t3).setVariableScope(y.scopes.common).setSystemVariableModels(this._getSystemVariableModelsForFlowType(e3)).setFlowTypeCategory(_.FlowTypeCategory.supporting)); + return this._addFlowDefinition(p.default.createForFlowType(e3).setChannelTypes(l.channelTypesAll).setOutputModes(g.outputModesAll).setDependencyType(O[e3]).setFileExtension(i3).setIsCreatable(true).setIsReferenceableFromOtherFlows(true).setMaxFlowSize(a.flowSizeLimits.maxFlowSizeCommonModule).setSupportsAutoDeletingVariablesWithNoUsages(false).setLanguagesSupportTtsAndAsrSettings(false).setLanguagesSupportTtsAndAsrRuntime(true).setHasDestinationFlowTypes(true).setSupportsAddVariablesInDataView(true).setSupportsContactDataType(true).setSupportsFlowInputVariables(true).setSupportsFlowOutputVariables(true).setSupportsLanguages(true).setLanguagesSupportDefaultLanguage(false).setSupportsMoreThanOneLanguage(true).setSupportsLanguageAddRemove(true).setSupportsLanguageDefaultChange(true).setLanguagesSupportDefaultLanguageSkill(false).setSupportsAudio(true).setSupportsSpeechRec(true).setSupportsSecureVariables(false).setStartupObjectCanBeTask(true).setTypeDisplayName(t3).setVariableScope(y.scopes.common).setSystemVariableModels(this._getSystemVariableModelsForFlowType(e3)).setFlowTypeCategory(_.FlowTypeCategory.supporting)); } _getSystemVariableModelsForFlowType(e3) { const t3 = [e3 === h.flowTypes.flowTypeEmailSend ? f.default.systemVariablesNoIsTest : f.default.systemVariables], i3 = h.flowTypes.isVxmlgenFlowType(e3), n3 = h.flowTypes.isAutomateFlowType(e3), r3 = h.flowTypes.isCiceroFlowType(e3), o2 = e3 === h.flowTypes.flowTypeCommonModule; @@ -115366,36 +124665,41 @@ ${e3.stack}`, n3 = [this].concat(i3); T.default.isActualNumber(o2) && Number.isFinite(o2) && o2 > 0 ? r3.setMaxFlowSize(o2) : u.error(`no valid max size specified for flow ${e4.id} - ${o2}`); } } catch (t5) { - O.exception(t5, `error processing bootstrap flow type '${e4.id}' - this flow type may not be available when it should be.`); + v.exception(t5, `error processing bootstrap flow type '${e4.id}' - this flow type may not be available when it should be.`); } - }), c.isFeatureAvailable(S.default.botFlowsPromptFeature) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsAudio(true).setLanguagesSupportTtsAndAsrRuntime(true), c.isFeatureAvailable(S.default.emailBotsFeature) && this._flowDefinitions[h.flowTypes.flowTypeInboundEmail].setSupportsNluCortex(true).setSupportsNluCortexIntents(true).setSupportsFlowCreationData(true); + }), d.isFeatureAvailable(S.default.botFlowsPromptFeature) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsAudio(true).setLanguagesSupportTtsAndAsrRuntime(true), d.isFeatureAvailable(S.default.emailBotsFeature) && this._flowDefinitions[h.flowTypes.flowTypeInboundEmail].setSupportsNluCortex(true).setSupportsNluCortexIntents(true).setSupportsFlowCreationData(true); for (const e4 of h.flowTypes.flowTypesAll) { const t4 = this._flowDefinitions[e4]; - t4 && t4.setErrorHandlingTypes(d.getHandlingTypesForFlowType(e4)); - } - if (c.isFeatureAvailable(S.default.customJSONV2)) for (const e4 of h.flowTypes.flowTypesAllVxmlgen) this._flowDefinitions[e4].setSupportsCustomJsonTypes(true); - if (c.isFeatureAvailable(S.default.customJSONUserDefinedTypes) || c.isFeatureAvailable(S.default.ruleBasedDecisionsFeature)) for (const e4 of h.flowTypes.flowTypesAllVxmlgen) this._flowDefinitions[e4].setSupportsCustomJsonTypeUserCreatedVariables(true); - if (c.isFeatureAvailable(S.default.customJSONUserDefinedTypes) || c.isFeatureAvailable(S.default.ruleBasedDecisionsDigitalFeature)) for (const e4 of h.flowTypes.flowTypesAllAutomate) this._flowDefinitions[e4].setSupportsCustomJsonTypeUserCreatedVariables(true); - if (c.isFeatureAvailable(S.default.ruleBasedDecisionsDigitalFeature)) for (const e4 of h.flowTypes.flowTypesAllAutomate) this._flowDefinitions[e4].setSupportsCustomJsonTypes(true); - if (c.isFeatureAvailable(S.default.previewDigitalBotFlowTestWidgetFeature) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsPreview(true).setSupportsDebugPublish(true), c.isFeatureAvailable(S.default.previewInboundCallFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeInboundCall].setSupportsPreview(true).setPreviewsAreReplayable(true), c.isFeatureAvailable(S.default.previewVoicemailFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeVoicemail].setSupportsPreview(true).setPreviewsAreReplayable(true), c.isFeatureAvailable(S.default.previewVoiceSurveyFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeVoiceSurvey].setSupportsPreview(true).setPreviewsAreReplayable(true), c.isFeatureAvailable(S.default.previewWorkflowFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeWorkflow].setSupportsPreview(true).setPreviewsAreReplayable(true).setPreviewAcceptsJsonPayload(true), c.isFeatureAvailable(S.default.previewWorkitemFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeWorkitem].setSupportsPreview(true).setPreviewsAreReplayable(true).setPreviewAcceptsJsonPayload(true), c.isFeatureAvailable(S.default.botFlowsDigitalBotFlowsReprompts)) { + t4 && t4.setErrorHandlingTypes(c.getHandlingTypesForFlowType(e4)); + } + if (d.isFeatureAvailable(S.default.customJSONV2)) for (const e4 of h.flowTypes.flowTypesAllVxmlgen) this._flowDefinitions[e4].setSupportsCustomJsonTypes(true); + if (d.isFeatureAvailable(S.default.customJSONUserDefinedTypes) || d.isFeatureAvailable(S.default.ruleBasedDecisionsFeature)) for (const e4 of h.flowTypes.flowTypesAllVxmlgen) this._flowDefinitions[e4].setSupportsCustomJsonTypeUserCreatedVariables(true); + if (d.isFeatureAvailable(S.default.customJSONUserDefinedTypes) || d.isFeatureAvailable(S.default.ruleBasedDecisionsDigitalFeature)) for (const e4 of h.flowTypes.flowTypesAllAutomate) this._flowDefinitions[e4].setSupportsCustomJsonTypeUserCreatedVariables(true); + if (d.isFeatureAvailable(S.default.ruleBasedDecisionsDigitalFeature)) for (const e4 of h.flowTypes.flowTypesAllAutomate) this._flowDefinitions[e4].setSupportsCustomJsonTypes(true); + if (d.isFeatureAvailable(S.default.customConversationAttributes)) { + for (const e4 of h.flowTypes.flowTypesAllVxmlgen) this._flowDefinitions[e4].setSupportsCustomJsonTypeUserCreatedVariables(true); + for (const e4 of [h.flowTypes.flowTypeEmailSend, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundShortMessage, h.flowTypes.flowTypeInQueueEmail, h.flowTypes.flowTypeInQueueShortMessage, h.flowTypes.flowTypeSurveyInvite, h.flowTypes.flowTypeWorkflow]) this._flowDefinitions[e4].setSupportsCustomJsonTypes(true), this._flowDefinitions[e4].setSupportsCustomJsonTypeUserCreatedVariables(true); + if (d.isFeatureAvailable(S.default.botFlowsCustomConversationAttributes)) for (const e4 of h.flowTypes.flowTypesAllCicero) this._flowDefinitions[e4].setSupportsCustomJsonTypes(true), this._flowDefinitions[e4].setSupportsCustomJsonTypeUserCreatedVariables(true); + } + if (d.isFeatureAvailable(S.default.previewDigitalBotFlowTestWidgetFeature) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsPreview(true).setSupportsDebugPublish(true), d.isFeatureAvailable(S.default.previewInboundCallFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeInboundCall].setSupportsPreview(true).setPreviewsAreReplayable(true), d.isFeatureAvailable(S.default.previewVoicemailFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeVoicemail].setSupportsPreview(true).setPreviewsAreReplayable(true), d.isFeatureAvailable(S.default.previewVoiceSurveyFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeVoiceSurvey].setSupportsPreview(true).setPreviewsAreReplayable(true), d.isFeatureAvailable(S.default.previewWorkflowFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeWorkflow].setSupportsPreview(true).setPreviewsAreReplayable(true).setPreviewAcceptsJsonPayload(true), d.isFeatureAvailable(S.default.previewWorkitemFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeWorkitem].setSupportsPreview(true).setPreviewsAreReplayable(true).setPreviewAcceptsJsonPayload(true), d.isFeatureAvailable(S.default.botFlowsDigitalBotFlowsReprompts)) { const e4 = s.botFlowExitReasons.filter((e5) => "RecognitionFailure.MaxTurns" !== e5); this._flowDefinitions[h.flowTypes.flowTypeBot].additionalInfo.exitReasons.value = e4, this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].additionalInfo.exitReasons.value = e4; } - if (c.isFeatureAvailable(S.default.botFlowsPciPhase1Feature) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsSecureVariables(true), c.isFeatureAvailable(S.default.botFlowsKnowledge)) { + if (d.isFeatureAvailable(S.default.botFlowsPciPhase1Feature) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsSecureVariables(true), d.isFeatureAvailable(S.default.botFlowsKnowledge)) { const e4 = this._flowDefinitions[h.flowTypes.flowTypeBot]; e4.setSupportsKnowledge(true), e4.setSupportsKnowledgeConfirmation(true), e4.setSupportsKnowledgeWelcomeArticle(true); const t4 = this._flowDefinitions[h.flowTypes.flowTypeDigitalBot]; - t4.setSupportsKnowledge(true), c.isFeatureAvailable(S.default.botFlowsKnowledgeFeedback) && t4.setSupportsKnowledgeConfirmation(true); + t4.setSupportsKnowledge(true), d.isFeatureAvailable(S.default.botFlowsKnowledgeFeedback) && t4.setSupportsKnowledgeConfirmation(true); } - if (c.isFeatureAvailable(S.default.flowOptimizationFrequencyFeature) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsFlowOptimizationData(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsFlowOptimizationData(true)), c.isFeatureAvailable(S.default.flowOptimizationFrequencyAllFlowTypesFeature) && T.default.each([h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundShortMessage, h.flowTypes.flowTypeInQueueCall, h.flowTypes.flowTypeInQueueEmail, h.flowTypes.flowTypeInQueueShortMessage, h.flowTypes.flowTypeOutboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeSurveyInvite, h.flowTypes.flowTypeVoiceSurvey, h.flowTypes.flowTypeVoicemail, h.flowTypes.flowTypeWorkflow], (e4) => { + if (d.isFeatureAvailable(S.default.flowOptimizationFrequencyFeature) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsFlowOptimizationData(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsFlowOptimizationData(true)), d.isFeatureAvailable(S.default.flowOptimizationFrequencyAllFlowTypesFeature) && T.default.each([h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundShortMessage, h.flowTypes.flowTypeInQueueCall, h.flowTypes.flowTypeInQueueEmail, h.flowTypes.flowTypeInQueueShortMessage, h.flowTypes.flowTypeOutboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeSurveyInvite, h.flowTypes.flowTypeVoiceSurvey, h.flowTypes.flowTypeVoicemail, h.flowTypes.flowTypeWorkflow], (e4) => { this._flowDefinitions[e4].setSupportsFlowOptimizationData(true); - }), c.isFeatureAvailable(S.default.botFlowsDigitalBotFlowsKnowledgePathFeature) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsKnowledgePaths(true), c.isFeatureAvailable(S.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsEndToEndKnowledgeHandling(true), c.isFeatureAvailable(S.default.botFlowsAdvancedKnowledgeHandling) && c.isFeatureAvailable(S.default.botFlowsKnowledge) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsEndToEndKnowledgeHandling(true), c.isFeatureAvailable(S.default.botFlowsAdvancedKnowledgeHandling) && c.isFeatureAvailable(S.default.botFlowsKnowledge) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsAdvancedKnowledgeHandling(true), c.isFeatureAvailable(S.default.pathDiscoveryFeature) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsPathDiscovery(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsPathDiscovery(true)), c.isFeatureAvailable(S.default.pathDiscoveryCallFlowsFeature) && (this._flowDefinitions[h.flowTypes.flowTypeInboundCall].setSupportsPathDiscovery(true), this._flowDefinitions[h.flowTypes.flowTypeSecureCall].setSupportsPathDiscovery(true)), c.isFeatureAvailable(S.default.pathDiscoveryV3Feature) && (this._flowDefinitions[h.flowTypes.flowTypeInboundEmail].setSupportsPathDiscovery(true), this._flowDefinitions[h.flowTypes.flowTypeInboundShortMessage].setSupportsPathDiscovery(true), this._flowDefinitions[h.flowTypes.flowTypeOutboundCall].setSupportsPathDiscovery(true)), c.isFeatureAvailable(S.default.botFlowsDigitalBotFlowsMultiLingualFeature)) { + }), d.isFeatureAvailable(S.default.botFlowsDigitalBotFlowsKnowledgePathFeature) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsKnowledgePaths(true), d.isFeatureAvailable(S.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsEndToEndKnowledgeHandling(true), d.isFeatureAvailable(S.default.botFlowsAdvancedKnowledgeHandling) && d.isFeatureAvailable(S.default.botFlowsKnowledge) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsEndToEndKnowledgeHandling(true), d.isFeatureAvailable(S.default.botFlowsAdvancedKnowledgeHandling) && d.isFeatureAvailable(S.default.botFlowsKnowledge) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsAdvancedKnowledgeHandling(true), d.isFeatureAvailable(S.default.pathDiscoveryFeature) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsPathDiscovery(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsPathDiscovery(true)), d.isFeatureAvailable(S.default.pathDiscoveryCallFlowsFeature) && (this._flowDefinitions[h.flowTypes.flowTypeInboundCall].setSupportsPathDiscovery(true), this._flowDefinitions[h.flowTypes.flowTypeSecureCall].setSupportsPathDiscovery(true)), d.isFeatureAvailable(S.default.pathDiscoveryV3Feature) && (this._flowDefinitions[h.flowTypes.flowTypeInboundEmail].setSupportsPathDiscovery(true), this._flowDefinitions[h.flowTypes.flowTypeInboundShortMessage].setSupportsPathDiscovery(true), this._flowDefinitions[h.flowTypes.flowTypeOutboundCall].setSupportsPathDiscovery(true)), d.isFeatureAvailable(S.default.botFlowsDigitalBotFlowsMultiLingualFeature)) { const e4 = this._flowDefinitions[h.flowTypes.flowTypeBot]; e4.setSupportsMoreThanOneLanguage(true), e4.setSupportsLanguageAddRemove(true), e4.setSupportsMultilingualKnowledge(true); const t4 = this._flowDefinitions[h.flowTypes.flowTypeDigitalBot]; t4.setSupportsMoreThanOneLanguage(true), t4.setSupportsLanguageAddRemove(true), t4.setSupportsMultilingualKnowledge(true); } - if (c.isFeatureAvailable(S.default.botFlowsQueueSupportFeature) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setLanguagesSupportDefaultLanguageSkill(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setLanguagesSupportDefaultLanguageSkill(true)), c.isFeatureAvailable(S.default.workItemFlows)) { + if (d.isFeatureAvailable(S.default.botFlowsQueueSupportFeature) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setLanguagesSupportDefaultLanguageSkill(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setLanguagesSupportDefaultLanguageSkill(true)), d.isFeatureAvailable(S.default.workItemFlows)) { const n3 = this._flowDefinitions[h.flowTypes.flowTypeWorkitem]; n3.setOutputValuesSupportVariableExpressions(true); const r3 = null === (i3 = null === (t3 = e3.featureSupport) || void 0 === t3 ? void 0 : t3.workitems) || void 0 === i3 ? void 0 : i3.events; @@ -115413,24 +124717,24 @@ ${e3.stack}`, n3 = [this].concat(i3); e4.setSupportsDefaultSpeechSettings(true), e4.setSupportsDisableASR(true), e4.setSupportsCompanyDirectory(true); } }), T.default.each(this._flowDefinitions, (e4) => { - h.flowTypes.flowTypesAllCicero.includes(e4.type) ? e4.isEmbeddable = c.isFeatureAvailable(S.default.botFlowsPhase2) : e4.isEmbeddable = e4.type !== h.flowTypes.flowTypeCommonModule; + h.flowTypes.flowTypesAllCicero.includes(e4.type) ? e4.isEmbeddable = d.isFeatureAvailable(S.default.botFlowsPhase2) : e4.isEmbeddable = e4.type !== h.flowTypes.flowTypeCommonModule; }), T.default.each(this._flowDefinitions, (e4) => { switch (e4.type) { case h.flowTypes.flowTypeInboundCall: case h.flowTypes.flowTypeOutboundCall: case h.flowTypes.flowTypeVoicemail: - e4.canSuppressCallRecordings = c.isFeatureAvailable(S.default.suppressCallRecordingsFeature); + e4.canSuppressCallRecordings = d.isFeatureAvailable(S.default.suppressCallRecordingsFeature); break; case h.flowTypes.flowTypeSecureCall: - e4.canSuppressCallRecordings = c.isFeatureAvailable(S.default.suppressCallRecordingsSecureCallFeature); + e4.canSuppressCallRecordings = d.isFeatureAvailable(S.default.suppressCallRecordingsSecureCallFeature); } }), this._flowDefinitions[h.flowTypes.flowTypeVoice].setCanSuppressCallRecordings(true), T.default.each(this._flowDefinitions, (e4) => { - e4.type === h.flowTypes.flowTypeBot && (e4.languagesSupportSttSetting = c.isFeatureAvailable(S.default.botFlowsThirdPartySttFeature)); - }), c.isFeatureAvailable(S.default.orgAvailabilityGrammars) && T.default.each(this._flowDefinitions, (e4) => { + e4.type === h.flowTypes.flowTypeBot && (e4.languagesSupportSttSetting = d.isFeatureAvailable(S.default.botFlowsThirdPartySttFeature)); + }), d.isFeatureAvailable(S.default.orgAvailabilityGrammars) && T.default.each(this._flowDefinitions, (e4) => { switch (e4.type) { case h.flowTypes.flowTypeBot: case h.flowTypes.flowTypeVoice: - e4.supportsGrammars = c.isFeatureAvailable(S.default.orgAvailabilityGrammars); + e4.supportsGrammars = d.isFeatureAvailable(S.default.orgAvailabilityGrammars); } }), this._isInitialized = true, T.default.each(this._flowDefinitions, (e4) => { e4.isInitialized = true; @@ -115452,7 +124756,7 @@ ${e3.stack}`, n3 = [this].concat(i3); t5.length && (a2 = t5); } this._flowDefinitions[t4].setAvailableLanguageTags(a2); - }), c.isFeatureAvailable(S.default.botFlowsVirtualAgentOffering) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsVirtualAgent(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsVirtualAgent(true)), c.isFeatureAvailable(S.default.botFlowsMessagingDatePicker) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsDynamicTimeslots(true), c.isFeatureAvailable(S.default.botFlowsAnswerGeneration) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsAnswerGeneration(true), c.isFeatureAvailable(S.default.botFlowsAnswerGenerationMultipleArticles) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsAnswerGeneration(true), c.isFeatureAvailable(S.default.botFlowsIntentClassificationHintingAsr) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsEnableIntentClassificationHinting(true), c.isFeatureAvailable(S.default.botFlowsIntentDescriptions) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsIntentDescriptions(true), c.isFeatureAvailable(S.default.botFlowsVirtualAgentCustomSummaries) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsConversationSummary(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsConversationSummary(true)); + }), d.isFeatureAvailable(S.default.botFlowsVirtualAgentOffering) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsVirtualAgent(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsVirtualAgent(true)), d.isFeatureAvailable(S.default.botFlowsMessagingDatePicker) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsDynamicTimeslots(true), d.isFeatureAvailable(S.default.botFlowsAnswerGeneration) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsAnswerGeneration(true), d.isFeatureAvailable(S.default.botFlowsAnswerGenerationMultipleArticles) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsAnswerGeneration(true), d.isFeatureAvailable(S.default.botFlowsIntentClassificationHintingAsr) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsEnableIntentClassificationHinting(true), d.isFeatureAvailable(S.default.botFlowsIntentDescriptions) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsIntentDescriptions(true), d.isFeatureAvailable(S.default.botFlowsVirtualAgentCustomSummaries) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsConversationSummary(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsConversationSummary(true)); } _getFlowTypesForPropertyValue(e3, t3) { const i3 = []; @@ -115538,7 +124842,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return t3 ? t3.typeDisplayName : (u.error(`flowDefinitionService::getFlowTypeDisplayName - Unknown flowType '${e3}'`), N.flow.types.inboundCall); } getFlowTypeForDependencyType(e3) { - if (e3) return v[e3.toLowerCase()]; + if (e3) return I[e3.toLowerCase()]; } getFlowTypeIsAvailable(e3) { this._isInitialized || u.error("Asking for a flow type's availability prior to the flow definition service having bootstrap data loaded. Bad!"); @@ -115610,13 +124914,13 @@ ${e3.stack}`, n3 = [this].concat(i3); } } }); }, 98151: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(25234)), s = i2(47957); - class l extends a.default { + const n2 = i2(31635), r2 = i2(12179), o = n2.__importDefault(i2(97891)), a = n2.__importDefault(i2(25234)), s = n2.__importDefault(i2(4648)), l = i2(47957); + class u extends a.default { constructor(e3, t3) { super(e3), this._loadModel(t3); } } - l.info = o.default.createActionInfo({ actionClass: l, canBeInTask: true, helpTopic: r2.helpTopics.actions.detectSilence, modelClass: i2(39533), name: s.actions.detectSilence, scriptingName: "ArchActionDetectSilence" }), t2.A = l; + u.info = o.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: r2.helpTopics.actions.detectSilence, modelClass: i2(39533), name: l.actions.detectSilence, scriptingName: "ArchActionDetectSilence", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; }, 98183: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.createFind = t2.find = void 0; @@ -115683,8 +124987,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 98364: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeResponseAssetOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { + const n2 = i2(31635), r2 = i2(65615), o = i2(10798), a = n2.__importDefault(i2(4648)); + class s extends r2.BaseExpressionTypeCollectionOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -115697,8 +125001,11 @@ ${e3.stack}`, n3 = [this].concat(i3); get isExpressionTypeResponseAssetOptions() { return true; } + get supportsLiteralMode() { + return this.isCollection ? (0, o.isFeatureAvailable)(a.default.cannedResponseAttachmentsPostGaFeature) : super.supportsLiteralMode; + } } - t2.ExpressionTypeResponseAssetOptions = r2; + t2.ExpressionTypeResponseAssetOptions = s; }, 98368: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -115723,53 +125030,55 @@ ${e3.stack}`, n3 = [this].concat(i3); t2.default = r2; }, 98442: (e2, t2, i2) => { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.NluFlowLanguageStatus = t2.nonGenericLangs = t2.allLangs = void 0, t2.langCodeIsGeneric = T, t2.getDefaultFlowLanguageCode = function() { + Object.defineProperty(t2, "__esModule", { value: true }), t2.NluFlowLanguageStatus = t2.nonGenericLangs = t2.allLangs = void 0, t2.langCodeIsGeneric = f, t2.getDefaultFlowLanguageCode = function() { var e3; const i3 = (null === (e3 = u.getCurrentLanguage()) || void 0 === e3 ? void 0 : e3.toLowerCase()) || "en-us", n3 = t2.allLangs[i3]; return n3 ? n3.id : null; - }, t2.getDisplayName = y, t2.getDefaultFlowCreationLangs = function(e3) { + }, t2.getDisplayName = T, t2.getDefaultFlowCreationLangs = function(e3) { const i3 = s.default.getDefinitionForFlowType(e3); - return (null == i3 ? void 0 : i3.supportsNlu) ? v(i3.availableLanguageTags) : r2.flowTypes.isAutomateFlowType(e3) ? a.default.filter(t2.nonGenericLangs, function(e4) { + return (null == i3 ? void 0 : i3.supportsNlu) ? O(i3.availableLanguageTags) : r2.flowTypes.isAutomateFlowType(e3) ? a.default.filter(t2.nonGenericLangs, function(e4) { return e4.isAutomateFlowCreateSuggestion; }) : a.default.filter(t2.nonGenericLangs, function(t3) { return t3.getSupportsAudioDataPlaybackForFlowType(e3) && t3.getSupportsTTSPlaybackForFlowType(e3) && t3.hasFlowCreationTTS; }); - }, t2.getDefaultSystemPromptLangs = A, t2.getFlowTypesThatSupportLanguages = function() { + }, t2.getDefaultSystemPromptLangs = S, t2.getFlowTypesThatSupportLanguages = function() { return s.default.getFlowTypesThatSupportLanguages(); - }, t2.getTtsSupportedLangs = N, t2.getLanguageListDisplayStr = function(e3, t3, i3) { + }, t2.getTtsSupportedLangs = A, t2.getLanguageListDisplayStr = function(e3, t3, i3) { if (!e3) return ""; - const n3 = S(e3, i3); + const n3 = y(e3, i3); return _.getListDisplayString(n3, t3); }, t2.getSystemPromptLangList = function(e3, t3) { - return S(A(t3), e3); + return y(S(t3), e3); }, t2.getTTSSupportedLangList = function(e3, t3) { - return S(N(t3), e3); - }, t2.getLanguageDisplayName = O, t2.getLanguageNameAndCodeDisplay = function(e3, t3) { + return y(A(t3), e3); + }, t2.getLanguageDisplayName = N, t2.getLanguageNameAndCodeDisplay = function(e3, t3) { if (!e3) return null; const i3 = a.default.isArray(e3) ? e3 : [e3]; return _.getListDisplayString(i3.reduce((e4, i4) => { - const n3 = I(i4); + const n3 = v(i4); if (n3) { - const r3 = t3 ? y(i4) : O(i4); + const r3 = t3 ? T(i4) : N(i4); e4.push((0, o.sprintf)(p.default.language.formatDisplayStringAndCode, r3, n3.idExpressionText)); - } else f.error(`Language entry not found for code '${i4}'`); + } else g.error(`Language entry not found for code '${i4}'`); return e4; }, [])); - }, t2.getLanguageEntry = I, t2.getLanguageEntries = v, t2.getLanguageObjectForCurrentLocale = function() { + }, t2.getLanguageEntry = v, t2.getLanguageEntries = O, t2.getLanguageObjectForCurrentLocale = function() { return a.default.findWhere(m.isoLanguagesUiData, { id: u.getCurrentLanguage() }); }, t2.getProperCasedLangCode = function(e3) { - const i3 = t2.allLangs[e3.toLowerCase()]; + const i3 = t2.allLangs[null == e3 ? void 0 : e3.toLowerCase()]; return i3 ? i3.id : null; }, t2.getLangKnowledgeBaseLanguageTag = function(e3) { - const i3 = t2.allLangs[e3.toLowerCase()]; + const i3 = t2.allLangs[null == e3 ? void 0 : e3.toLowerCase()]; return null == i3 ? void 0 : i3.knowledgeBaseLanguageTag; }, t2.getLangSupportsConversationSummary = function(e3) { - return g.conversationSummaryLanguageSupport.isLanguageSupported(e3); + if (!d.isFeatureAvailable(l.default.botFlowsVirtualAgentCustomSummaries)) return false; + const i3 = t2.allLangs[null == e3 ? void 0 : e3.toLowerCase()]; + return !!(null == i3 ? void 0 : i3.supportsCopilot); }, t2.getLangSupportsKnowledgeForFlowType = function(e3, i3) { const n3 = t2.allLangs[e3.toLowerCase()]; return !!(null == n3 ? void 0 : n3.getSupportsKnowledgeForFlowType(i3)); }, t2.getTerritoryDisplayName = function(e3) { - const t3 = y(e3), i3 = t3.search(/\(/g); + const t3 = T(e3), i3 = t3.search(/\(/g); return i3 >= 0 ? t3.substring(i3 + 1, t3.length - 1) : ""; }, t2.hasFlowDebugTTS = function(e3) { const i3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; @@ -115777,14 +125086,14 @@ ${e3.stack}`, n3 = [this].concat(i3); }, t2.hasFlowCreationLocalizedText = function(e3) { const i3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; return !!i3 && true === i3.hasFlowCreationTTS; - }, t2.supportsShowLanguagePreviewForNluFlowType = E, t2.getLanguagePreviewStatusForNluFlowType = function(e3, t3) { + }, t2.supportsShowLanguagePreviewForNluFlowType = b, t2.getLanguagePreviewStatusForNluFlowType = function(e3, t3) { var i3; - if (!E(e3)) return C.None; - const n3 = d.bootstrapService.featureSupport.naturalLanguageUnderstanding.supportedLanguages.find((e4) => e4.language === t3); - return (null == n3 ? void 0 : n3.status) ? b.get(null === (i3 = n3.status) || void 0 === i3 ? void 0 : i3.toLowerCase()) : C.None; + if (!b(e3)) return I.None; + const n3 = c.bootstrapService.featureSupport.naturalLanguageUnderstanding.supportedLanguages.find((e4) => e4.language === t3); + return (null == n3 ? void 0 : n3.status) ? C.get(null === (i3 = n3.status) || void 0 === i3 ? void 0 : i3.toLowerCase()) : I.None; }, t2.isFlowTypeWithLanguageSupportedInSystem = function(e3, t3) { - return t3 === r2.flowTypes.flowTypeInboundShortMessage || t3 === r2.flowTypes.flowTypeInboundEmail || t3 === r2.flowTypes.flowTypeInboundChat || R(e3, t3); - }, t2.supportsAudioDataAndTTSPlaybackAndSpeechRecForFlowType = R, t2.supportsFlowDebugForFlowType = function(e3, i3) { + return t3 === r2.flowTypes.flowTypeInboundShortMessage || t3 === r2.flowTypes.flowTypeInboundEmail || t3 === r2.flowTypes.flowTypeInboundChat || E(e3, t3); + }, t2.supportsAudioDataAndTTSPlaybackAndSpeechRecForFlowType = E, t2.supportsFlowDebugForFlowType = function(e3, i3) { if (i3 === r2.flowTypes.flowTypeVoicemail) return true; const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; return !!n3 && (true === n3.getSupportsTTSPlaybackForFlowType(i3) && true === n3.hasFlowDebugTTS); @@ -115806,59 +125115,59 @@ ${e3.stack}`, n3 = [this].concat(i3); }, t2.isValidLanguageCode = function(e3) { return !(!e3 || !e3.toLowerCase) && !!t2.allLangs[e3.toLowerCase()]; }; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(98114)), l = n2.__importDefault(i2(4648)), u = n2.__importStar(i2(74359)), d = i2(16321), c = n2.__importStar(i2(10798)), p = n2.__importDefault(i2(41510)), _ = n2.__importStar(i2(66381)), h = i2(24812), m = i2(85306), g = i2(73078), f = (0, i2(24032).getTopic)("supportedLanguageManager"); - function T(e3) { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(98114)), l = n2.__importDefault(i2(4648)), u = n2.__importStar(i2(74359)), c = i2(16321), d = n2.__importStar(i2(10798)), p = n2.__importDefault(i2(41510)), _ = n2.__importStar(i2(66381)), h = i2(24812), m = i2(85306), g = (0, i2(24032).getTopic)("supportedLanguageManager"); + function f(e3) { return e3 && -1 === e3.indexOf("-"); } - function y(e3) { + function T(e3) { if (!e3) return null; const i3 = t2.allLangs[e3.toLowerCase()]; return i3 ? i3.text : e3; } - function S(e3, t3) { + function y(e3, t3) { let i3; return t3 ? (i3 = [], a.default.each(e3, function(e4) { t3[e4.id] && i3.push(e4.text); })) : i3 = a.default.pluck(e3, "text"), i3; } - function A(e3) { + function S(e3) { const i3 = s.default.getDefinitionForFlowType(e3); - return (null == i3 ? void 0 : i3.supportsNlu) ? v(i3.availableLanguageTags) : e3 === r2.flowTypes.flowTypeInboundEmail || e3 === r2.flowTypes.flowTypeInboundShortMessage || e3 === r2.flowTypes.flowTypeInboundChat || e3 === r2.flowTypes.flowTypeWorkflow || e3 === r2.flowTypes.flowTypeWorkitem || e3 === r2.flowTypes.flowTypeInQueueEmail || e3 === r2.flowTypes.flowTypeInQueueShortMessage ? a.default.filter(t2.nonGenericLangs, function(e4) { + return (null == i3 ? void 0 : i3.supportsNlu) ? O(i3.availableLanguageTags) : e3 === r2.flowTypes.flowTypeInboundEmail || e3 === r2.flowTypes.flowTypeInboundShortMessage || e3 === r2.flowTypes.flowTypeInboundChat || e3 === r2.flowTypes.flowTypeWorkflow || e3 === r2.flowTypes.flowTypeWorkitem || e3 === r2.flowTypes.flowTypeInQueueEmail || e3 === r2.flowTypes.flowTypeInQueueShortMessage ? a.default.filter(t2.nonGenericLangs, function(e4) { return e4.isAutomateFlowCreateSuggestion; }) : a.default.filter(t2.nonGenericLangs, function(t3) { return t3.getSupportsAudioDataPlaybackForFlowType(e3); }); } - function N(e3) { + function A(e3) { return a.default.filter(h.isoLanguages, function(t3) { return t3.getSupportsTTSPlaybackForFlowType(e3); }); } - function O(e3) { + function N(e3) { if (!e3) return null; - const t3 = y(e3), i3 = t3.search(/\(/g); + const t3 = T(e3), i3 = t3.search(/\(/g); return i3 >= 0 ? t3.substring(0, i3).trim() : t3.trim(); } - function I(e3) { + function v(e3) { return e3 ? t2.allLangs[e3.toLowerCase()] : null; } - function v(e3) { + function O(e3) { const t3 = []; return e3 && a.default.each(e3, function(e4) { - const i3 = I(e4); - i3 ? t3.push(i3) : f.error("Language entry was not found for code: " + e4); + const i3 = v(e4); + i3 ? t3.push(i3) : g.error("Language entry was not found for code: " + e4); }.bind(this)), t3; } - var C; - t2.allLangs = h.isoLanguages, t2.nonGenericLangs = a.default.reject(h.isoLanguages, (e3) => T(e3.id)), (function(e3) { + var I; + t2.allLangs = h.isoLanguages, t2.nonGenericLangs = a.default.reject(h.isoLanguages, (e3) => f(e3.id)), (function(e3) { e3[e3.None = 0] = "None", e3[e3.Ga = 1] = "Ga", e3[e3.Preview = 2] = "Preview", e3[e3.EarlyPreview = 3] = "EarlyPreview"; - })(C || (t2.NluFlowLanguageStatus = C = {})); - const b = /* @__PURE__ */ new Map([["preview", C.Preview], ["earlypreview", C.EarlyPreview], ["ga", C.Ga]]); - function E(e3) { + })(I || (t2.NluFlowLanguageStatus = I = {})); + const C = /* @__PURE__ */ new Map([["preview", I.Preview], ["earlypreview", I.EarlyPreview], ["ga", I.Ga]]); + function b(e3) { var t3; - return c.isFeatureAvailable(l.default.nluLanguageStatus) && (null === (t3 = s.default.getDefinitionForFlowType(e3)) || void 0 === t3 ? void 0 : t3.supportsNlu); + return d.isFeatureAvailable(l.default.nluLanguageStatus) && (null === (t3 = s.default.getDefinitionForFlowType(e3)) || void 0 === t3 ? void 0 : t3.supportsNlu); } - function R(e3, i3) { + function E(e3, i3) { const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; return !!n3 && n3.getSupportsTTSPlaybackForFlowType(i3) && n3.getSupportsAudioDataPlaybackForFlowType(i3) && n3.getSupportsSpeechRecForFlowType(i3); } @@ -115897,7 +125206,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 98552: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.expressionItems = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(73198)), a = i2(69772), s = i2(27491), l = n2.__importStar(i2(9345)), u = i2(80428), d = i2(14394); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(69772), a = i2(83855), s = i2(83855), l = i2(83855), u = i2(27491), c = n2.__importStar(i2(9345)), d = i2(80428), p = i2(14394); t2.expressionItems = new class { constructor() { this.makeListExpressionItem = this.funcOp(-1, "MakeList", "MakeList"); @@ -115906,25 +125215,11 @@ ${e3.stack}`, n3 = [this].concat(i3); return e3 && "__" === e3.substring(0, 2); } accessor(e3) { - const t3 = new a.ExpressionItem(".", e3, null); + const t3 = new o.ExpressionItem(".", e3, null); return t3.type = ".", t3.opOrFunc = true, t3; } checkDecimalStr(e3, t3) { - if (!e3 || 0 === e3.length) return false; - const i3 = "-" === e3[0] ? 1 : 0, n3 = e3.length; - let r3 = n3 - 1; - for (; r3 >= 0 && "0" === e3[r3]; ) r3--; - let a2, s2 = r3 !== n3 - 1, l2 = false, u2 = 0; - for (let t4 = i3; t4 <= r3; t4++) if (a2 = e3[t4], "0" !== a2) if ("." !== a2) { - if (!(a2 >= "1" && a2 <= "9")) return false; - if (u2 === o.default.maxPrecision) return false; - u2++; - } else { - if (l2) return false; - l2 = true; - } - else 0 !== u2 || s2 ? u2++ : s2 = true; - return (t3 || l2) && (u2 > 0 || s2); + return !(!r2.default.isString(e3) || 0 === e3.length) && e3.trim() === e3 && true === (0, l.validateDecimalString)(e3, t3 ? a.VALIDATE_ALLOW_INTEGER_FORM : s.VALIDATE_STRICT_DECIMAL).ok; } checkIntStr(e3) { return e3 && e3.match(/^[-]?[0-9]+$/) && (e3.length <= 15 || 16 === e3.length && "-" === e3[0]); @@ -115932,24 +125227,24 @@ ${e3.stack}`, n3 = [this].concat(i3); isCollectionCreatableFromMakeList(e3, t3) { if (!t3.isCollection) return false; if (e3.type.isCollection) return false; - if (!t3.isMatch(e3.type.collectionType, l.settings.exact)) return false; - const i3 = s.expressionDataService.makeListFunc, n3 = s.expressionDataService.evaluateRegisteredFuncOp(this.makeListExpressionItem, i3, [e3], [], e3); + if (!t3.isMatch(e3.type.collectionType, c.settings.exact)) return false; + const i3 = u.expressionDataService.makeListFunc, n3 = u.expressionDataService.evaluateRegisteredFuncOp(this.makeListExpressionItem, i3, [e3], [], e3); return !!n3 && !!n3.success; } conversionFuncWrapper(e3, t3) { const i3 = e3.type, n3 = t3.getDefaultImplicitConversionFunc(i3); if (!n3) return null; - const r3 = new a.ExpressionItem(n3.text, e3.position, n3.display); + const r3 = new o.ExpressionItem(n3.text, e3.position, n3.display); return r3.opOrFunc = "fn", r3.getOperands().push(e3), r3; } emp(e3) { if (!e3) return null; - const t3 = new a.ExpressionItem("emp", 1, null); + const t3 = new o.ExpressionItem("emp", 1, null); return t3.type = e3, t3; } enf(e3) { if (!e3) return null; - const t3 = new a.ExpressionItem("enf", 1, null); + const t3 = new o.ExpressionItem("enf", 1, null); return t3.type = e3, t3; } empOrEnf(e3, t3) { @@ -115957,14 +125252,14 @@ ${e3.stack}`, n3 = [this].concat(i3); } getPromptsFromExpressionMetadata(e3) { if (!e3.isOutput) return e3.metaData && e3.metaData.references && e3.metaData.references.length > 0 ? r2.default.filter(e3.metaData.references, function(e4) { - return e4.type === u.expressionTypeNames.prompt; + return e4.type === d.expressionTypeNames.prompt; }) : []; } getUniquePromptIds(e3, t3, i3) { return t3 || (t3 = []), r2.default.each(e3, function(e4, n3) { if (e4.operands && r2.default.each(e4.operands, function(e5) { this.getUniquePromptIds(e5, t3, i3); - }.bind(this)), e4.type === u.expressionTypeNames.prompt && (!i3 || "sysref" !== n3 || "ref" === n3)) { + }.bind(this)), e4.type === d.expressionTypeNames.prompt && (!i3 || "sysref" !== n3 || "ref" === n3)) { const i4 = e4.val; r2.default.find(t3, function(e5) { return e5.id === i4; @@ -115973,49 +125268,49 @@ ${e3.stack}`, n3 = [this].concat(i3); }.bind(this)), t3; } intLiteral(e3, t3, i3) { - return this.literal(e3, t3.toString(), d.globalTypes.integer, i3); + return this.literal(e3, t3.toString(), p.globalTypes.integer, i3); } litColl(e3) { if (!e3) return null; - const t3 = new a.ExpressionItem("lit", 1, ""); + const t3 = new o.ExpressionItem("lit", 1, ""); return t3.type = e3, t3.items = [], t3; } literal(e3, t3, i3, n3) { if (!i3) return null; - const r3 = new a.ExpressionItem("lit", e3, t3); + const r3 = new o.ExpressionItem("lit", e3, t3); return r3.type = i3, n3 && r3.addAdditionalProperties(n3), r3; } nul(e3, t3) { - const i3 = new a.ExpressionItem("nul", e3, null); - return i3.type = t3 || d.globalTypes.notSet, i3; + const i3 = new o.ExpressionItem("nul", e3, null); + return i3.type = t3 || p.globalTypes.notSet, i3; } fieldAccess(e3) { - const t3 = new a.ExpressionItem(".", e3, null); + const t3 = new o.ExpressionItem(".", e3, null); return t3.opOrFunc = "op", t3; } funcOp(e3, t3, i3) { - const n3 = new a.ExpressionItem(t3, e3, i3); + const n3 = new o.ExpressionItem(t3, e3, i3); return n3.opOrFunc = "fn", n3; } getStringLiteralText(e3) { - return this.stringLiteral(1, e3, d.globalTypes.string).getText(); + return this.stringLiteral(1, e3, p.globalTypes.string).getText(); } op(e3, t3, i3) { - const n3 = new a.ExpressionItem(t3, e3, i3); + const n3 = new o.ExpressionItem(t3, e3, i3); return n3.opOrFunc = "op", n3; } root() { - const e3 = new a.ExpressionItem("root", -1, "**ROOT**"); + const e3 = new o.ExpressionItem("root", -1, "**ROOT**"); return e3.opOrFunc = "rt", e3; } reference(e3, t3, i3) { - const n3 = new a.ExpressionItem(this.isSystemId(t3.id) || t3.isSystem ? "sysref" : "ref", e3, i3); + const n3 = new o.ExpressionItem(this.isSystemId(t3.id) || t3.isSystem ? "sysref" : "ref", e3, i3); n3.type = t3.type, n3.val = t3.id; const r3 = t3.expressionText; return r3 && i3 !== r3 && (n3.knownExprText = r3), n3; } stringWrapper(e3) { - const t3 = new a.ExpressionItem("tostring", e3.position, "ToString"); + const t3 = new o.ExpressionItem("tostring", e3.position, "ToString"); return t3.opOrFunc = "fn", t3.getOperands().push(e3), t3; } stringLiteral(e3, t3, i3, n3) { @@ -116050,7 +125345,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } propAccessLiteral(e3, t3, i3, n3) { t3 = t3.replace(/\\"/g, '"').replace(/\\\\/g, "\\").replace(/\r/g, "\r").replace(/\n/g, "\n").replace(/\f/g, "\f").replace(/\t/g, " "); - const r3 = this.literal(e3, t3, d.globalTypes.string); + const r3 = this.literal(e3, t3, p.globalTypes.string); return r3.lit.val = i3, n3 && (r3.lit.propGroup = n3), r3; } }(); @@ -116062,21 +125357,21 @@ ${e3.stack}`, n3 = [this].concat(i3); }, resetOnDisconnect: true }; t2.connectable = function(e3, t3) { void 0 === t3 && (t3 = a); - var i3 = null, n3 = t3.connector, s = t3.resetOnDisconnect, l = void 0 === s || s, u = n3(), d = new r2.Observable(function(e4) { + var i3 = null, n3 = t3.connector, s = t3.resetOnDisconnect, l = void 0 === s || s, u = n3(), c = new r2.Observable(function(e4) { return u.subscribe(e4); }); - return d.connect = function() { + return c.connect = function() { return i3 && !i3.closed || (i3 = o.defer(function() { return e3; }).subscribe(u), l && i3.add(function() { return u = n3(); })), i3; - }, d; + }, c; }; }, 98598: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ListPickerSectionType = t2.PROP_ITEMS = t2.PROP_MULTI_SELECT_ENABLED = t2.PROP_TITLE = void 0; - const n2 = i2(31635), r2 = i2(53476), o = i2(28562), a = n2.__importDefault(i2(73198)), s = i2(27491), l = i2(94765), u = i2(2584), d = i2(80428), c = n2.__importDefault(i2(4648)), p = i2(66381), _ = i2(14394), h = i2(60873), m = i2(10798), g = i2(17604), f = n2.__importDefault(i2(41510)), T = i2(47957); + const n2 = i2(31635), r2 = i2(53476), o = i2(28562), a = n2.__importDefault(i2(73198)), s = i2(27491), l = i2(94765), u = i2(2584), c = i2(80428), d = n2.__importDefault(i2(4648)), p = i2(66381), _ = i2(14394), h = i2(60873), m = i2(10798), g = i2(17604), f = n2.__importDefault(i2(41510)), T = i2(47957); t2.PROP_TITLE = "title", t2.PROP_MULTI_SELECT_ENABLED = "multiselectenabled", t2.PROP_ITEMS = "items"; class y extends l.ExpressionType { constructor(e3, t3, i3) { @@ -116157,7 +125452,7 @@ ${e3.stack}`, n3 = [this].concat(i3); validateLiteralCollection(e3) { if (e3.collectionItems.length > 1 && (0, h.isAskForSlotActionViewModel)(e3.parent) && e3.parent.hasSingleSelectSlot) { let e4; - return e4 = (0, m.isFeatureAvailable)(c.default.whatsAppListPickerFeature) ? (0, g.sprintf)(T.cardsAndCars.listPickerType.invalidMultipleSectionsWarningMessage, (0, p.getListDisplayString)(f.default.sessionSources.applebusinesschat), (0, p.getListDisplayString)(f.default.sessionSources.whatsapp)) : T.cardsAndCars.listPickerType.invalidMultipleSectionsWarning, { issueText: e4, isError: false }; + return e4 = (0, m.isFeatureAvailable)(d.default.whatsAppListPickerFeature) ? (0, g.sprintf)(T.cardsAndCars.listPickerType.invalidMultipleSectionsWarningMessage, (0, p.getListDisplayString)(f.default.sessionSources.applebusinesschat), (0, p.getListDisplayString)(f.default.sessionSources.whatsapp)) : T.cardsAndCars.listPickerType.invalidMultipleSectionsWarning, { issueText: e4, isError: false }; } return super.validateLiteralCollection(e3); } @@ -116169,7 +125464,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return t3 || (t3 = e3.collectionItems.add(), t3.type.getPropTitle(t3).text = T.cardsAndCars.listPickerType.missingValuesSectionLabel), t3; } } - t2.ListPickerSectionType = y, y.typeIdentifier = d.expressionTypeNames.listPickerSection; + t2.ListPickerSectionType = y, y.typeIdentifier = c.expressionTypeNames.listPickerSection; }, 98631: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -116240,7 +125535,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 98717: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchLogging = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = n2.__importDefault(i2(78432)), s = n2.__importStar(i2(12847)), l = n2.__importStar(i2(36781)), u = i2(55909), d = i2(33951), c = i2(15896), p = "noThrow", _ = "throwMessageFullText", h = "throwMessageText", m = "'ArchLogging'", g = "[" + m + "]"; + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = n2.__importDefault(i2(78432)), s = n2.__importStar(i2(12847)), l = n2.__importStar(i2(36781)), u = i2(55909), c = i2(33951), d = i2(15896), p = "noThrow", _ = "throwMessageFullText", h = "throwMessageText", m = "'ArchLogging'", g = "[" + m + "]"; function f() { let e3 = ""; r2.default.each(arguments, function() { @@ -116270,9 +125565,9 @@ ${e3.stack}`, n3 = [this].concat(i3); } constructor() { this.logErrors = true, this.logNotes = true, this.logNotesVerbose = false, this.logNetworkActivity = false, this.logWarnings = true, l.serviceListen(l.rateLimited, function(e3) { - this.logNote(c.inverse(`Currently rate limited, please wait ${e3 / 1e3} seconds...`)); + this.logNote(d.inverse(`Currently rate limited, please wait ${e3 / 1e3} seconds...`)); const t3 = setInterval(() => { - (e3 -= 5e3) > 0 ? this.logNote(c.inverse(`Currently rate limited, please wait ${e3 / 1e3} seconds...`)) : clearInterval(t3); + (e3 -= 5e3) > 0 ? this.logNote(d.inverse(`Currently rate limited, please wait ${e3 / 1e3} seconds...`)) : clearInterval(t3); }, 5e3); }.bind(this)); } @@ -116308,23 +125603,23 @@ ${e3.stack}`, n3 = [this].concat(i3); s.warnAlways(...e3); } _logItemCommon(e3, t3, i3, n3, r3, o2, s2, l2, p2) { - d.ParameterValidator.expectBool(e3, function() { + c.ParameterValidator.expectBool(e3, function() { return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "shouldLog"); - }.bind(this)), d.ParameterValidator.expectString(t3, function() { + }.bind(this)), c.ParameterValidator.expectString(t3, function() { return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "logType"); - }.bind(this)), d.ParameterValidator.expectObject(i3, function() { + }.bind(this)), c.ParameterValidator.expectObject(i3, function() { return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "itemInfo"); - }.bind(this)), d.ParameterValidator.expectString(n3, function() { + }.bind(this)), c.ParameterValidator.expectString(n3, function() { return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "itemMessage"); - }.bind(this)), d.ParameterValidator.expectString(r3, function() { + }.bind(this)), c.ParameterValidator.expectString(r3, function() { return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "logHeader"); - }.bind(this)), d.ParameterValidator.expectString(o2, function() { + }.bind(this)), c.ParameterValidator.expectString(o2, function() { return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "displayTypeName"); - }.bind(this)), d.ParameterValidator.expectBool(s2, function() { + }.bind(this)), c.ParameterValidator.expectBool(s2, function() { return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "wantInvalidMessage"); - }.bind(this)), d.ParameterValidator.expectString(l2, function() { + }.bind(this)), c.ParameterValidator.expectString(l2, function() { return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "throwType"); - }.bind(this), true), d.ParameterValidator.expectBool(p2, function() { + }.bind(this), true), c.ParameterValidator.expectBool(p2, function() { return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "wantInErrorMessage"); }.bind(this), true); let m2 = ""; @@ -116337,7 +125632,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } const f2 = (function(e4, t4, i4, n4, r4, o3, a2) { let s3 = "", l3 = false; - return "Called Object" !== e4.title && (s3 += `- ${e4.title}`, l3 = true, "Method" !== e4.title && e4.label && (s3 += ` '${e4.label}'`), e4.methodName && (s3 += " in '", n4 && (s3 += `${n4}.`), s3 += `${e4.methodName}'`)), r4 && l3 ? s3 += " is invalid. Reason: " : a2 && l3 && (s3 += " is in error. Reason: "), l3 || (s3 += "- "), s3.endsWith(" ") || (s3 += " "), o3 && (s3 += `${o3} `), s3 += t4, t4.length && !t4.endsWith(".") && (s3 += "."), i4 === g && (i4 = void 0), i4 && (s3 += c.cyan(` -- ${i4}`)), s3; + return "Called Object" !== e4.title && (s3 += `- ${e4.title}`, l3 = true, "Method" !== e4.title && e4.label && (s3 += ` '${e4.label}'`), e4.methodName && (s3 += " in '", n4 && (s3 += `${n4}.`), s3 += `${e4.methodName}'`)), r4 && l3 ? s3 += " is invalid. Reason: " : a2 && l3 && (s3 += " is in error. Reason: "), l3 || (s3 += "- "), s3.endsWith(" ") || (s3 += " "), o3 && (s3 += `${o3} `), s3 += t4, t4.length && !t4.endsWith(".") && (s3 += "."), i4 === g && (i4 = void 0), i4 && (s3 += d.cyan(` -- ${i4}`)), s3; })(i3, n3, r3, o2, s2, m2, p2); if (e3) switch (this._invokeCallbackLoggingHook(t3, f2, i3, n3, r3, o2) || (t3 === a.default.LOG_TYPES.error ? this._errorToConsole(f2) : t3 === a.default.LOG_TYPES.warning ? this._warningToConsole(f2) : this._logToConsole(f2)), t3) { case a.default.LOG_TYPES.error: @@ -116428,10 +125723,10 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 99006: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = n2.__importStar(i2(12847)), s = n2.__importDefault(i2(87675)), l = i2(79519), u = i2(79519), d = i2(79519), c = i2(79519), p = n2.__importStar(i2(24032)), _ = n2.__importStar(i2(69453)), h = n2.__importStar(i2(66314)), m = i2(80428), g = n2.__importDefault(i2(65302)), f = p.getTopic("JsonSchemaWrapper"); + const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = n2.__importStar(i2(12847)), s = n2.__importDefault(i2(87675)), l = i2(79519), u = i2(79519), c = i2(79519), d = i2(79519), p = n2.__importStar(i2(24032)), _ = n2.__importStar(i2(69453)), h = n2.__importStar(i2(66314)), m = i2(80428), g = n2.__importDefault(i2(65302)), f = "#/$defs/", T = p.getTopic("JsonSchemaWrapper"); t2.default = class { constructor(e3, t3, i3, n3, r3) { - this._baseJsonSchemaIdNoNamespace = e3, this._rawJsonSchema = t3, this._schemaSource = i3, this._schemaUsage = n3 || c.JsonSchemaUsage.none, this._baseJsonSchemaIdFull = e3 ? `${this._schemaSource}::${e3}` : this._schemaSource, this._displayName = r3; + this._baseJsonSchemaIdNoNamespace = e3, this._rawJsonSchema = t3, this._schemaSource = i3, this._schemaUsage = n3 || d.JsonSchemaUsage.none, this._baseJsonSchemaIdFull = e3 ? `${this._schemaSource}::${e3}` : this._schemaSource, this._displayName = r3; } get rawJsonSchema() { return this._rawJsonSchema; @@ -116451,20 +125746,20 @@ ${e3.stack}`, n3 = [this].concat(i3); return r2.default.isObject(null === (e3 = this._rawJsonSchema) || void 0 === e3 ? void 0 : e3.properties) && !r2.default.isEmpty(null === (t3 = this.rawJsonSchema) || void 0 === t3 ? void 0 : t3.properties); } get definitions() { - var e3; - if (r2.default.isObject(null === (e3 = this._rawJsonSchema) || void 0 === e3 ? void 0 : e3.definitions)) return this._rawJsonSchema.definitions; + var e3, t3; + return r2.default.isObject(null === (e3 = this._rawJsonSchema) || void 0 === e3 ? void 0 : e3.definitions) ? this._rawJsonSchema.definitions : r2.default.isObject(null === (t3 = this._rawJsonSchema) || void 0 === t3 ? void 0 : t3.$defs) ? this._rawJsonSchema.$defs : void 0; } get isJsonSchemaWrapper() { return true; } get isErrorSchema() { - return (this._schemaUsage | c.JsonSchemaUsage.error) !== c.JsonSchemaUsage.none; + return (this._schemaUsage | d.JsonSchemaUsage.error) !== d.JsonSchemaUsage.none; } get isInputSchema() { - return (this._schemaUsage | c.JsonSchemaUsage.input) !== c.JsonSchemaUsage.none; + return (this._schemaUsage | d.JsonSchemaUsage.input) !== d.JsonSchemaUsage.none; } get isOutputSchema() { - return (this._schemaUsage | c.JsonSchemaUsage.output) !== c.JsonSchemaUsage.none; + return (this._schemaUsage | d.JsonSchemaUsage.output) !== d.JsonSchemaUsage.none; } get schemaSource() { return this._schemaSource; @@ -116511,72 +125806,69 @@ ${e3.stack}`, n3 = [this].concat(i3); this.setProcessingFailure(e3, u.JsonSchemaProcessingFailure.failureMappedDataTypeUnavailableToFlowType, (0, o.sprintf)(_.jsonSchemaProcessing.schemaTypeMapsToUnavailableDataType, r3, i3.dataTypeId, i3.isCollection, a2.displayString, t3.flowTypeDisplayName)); } else this.setProcessingFailure(e3, u.JsonSchemaProcessingFailure.failureUnableToMapSchemaPropertyToDataType, (0, o.sprintf)(_.jsonSchemaProcessing.schemaUnableToMapPropertyToType, r3, i3.dataTypeId, i3.isCollection)); } - processDataTypeDefinitionsForSchema(e3, t3, i3, n3, l2, c2, p2, g2, f2) { - var T, y, S; + processDataTypeDefinitionsForSchema(e3, t3, i3, n3, l2, d2, p2, g2, T2) { + var y, S, A; if (l2 && !e3.failure) try { e3.jsonSchemaPropertyHierarchy.push(i3); - const A = e3.jsonSchemaPropertyHierarchy.join("/"); - a.info(`Processing JSON schema path: ${A}`); - const N = s.default.createAndPopulateRootPropertiesFromJsonSchema(l2); + const N = e3.jsonSchemaPropertyHierarchy.join("/"); + a.info(`Processing JSON schema path: ${N}`); + const v = s.default.createAndPopulateRootPropertiesFromJsonSchema(l2); if (this.trustArchitectTypeHints && g2) { const n4 = l2.archDataTypeId; - if (r2.default.isString(n4) && n4.length) return n4.endsWith("_coll") ? (N.dataTypeId = n4.substring(0, n4.length - 5), N.isCollection = true) : (N.dataTypeId = n4, N.isCollection = false), this.checkParsedReturnType(e3, t3, N, c2, i3); + if (r2.default.isString(n4) && n4.length) return n4.endsWith("_coll") ? (v.dataTypeId = n4.substring(0, n4.length - 5), v.isCollection = true) : (v.dataTypeId = n4, v.isCollection = false), this.checkParsedReturnType(e3, t3, v, d2, i3); } - if (!N.dataTypeId && this.trustGCTypeHints && g2) { - const n4 = this._getTypeDefinitionForDssRef(f2, e3, c2, t3, this.dynamicSchemaServiceSchemaVersion); - if (void 0 !== n4.dataTypeId && (N.dataTypeId = n4.dataTypeId), void 0 !== n4.isCollection && (N.isCollection = n4.isCollection), N.dataTypeId) return N.isCollection = "array" === (null == l2 ? void 0 : l2.type), this.checkParsedReturnType(e3, t3, N, c2, i3); + if (!v.dataTypeId && this.trustGCTypeHints && g2) { + const n4 = this._getTypeDefinitionForDssRef(T2, e3, d2, t3, this.dynamicSchemaServiceSchemaVersion); + if (void 0 !== n4.dataTypeId && (v.dataTypeId = n4.dataTypeId), void 0 !== n4.isCollection && (v.isCollection = n4.isCollection), v.dataTypeId) return v.isCollection = "array" === (null == l2 ? void 0 : l2.type), this.checkParsedReturnType(e3, t3, v, d2, i3); } if (r2.default.isArray(l2.allOf) && l2.allOf.length) { - const i4 = this.processDataTypeDefinitionsForSchema(e3, t3, "allOf", n3, l2.allOf[0], c2, p2, g2); - return i4 && (N.dataTypeId = i4.dataTypeId, N.isCollection = N.isCollection || i4.isCollection), N; + const i4 = this.processDataTypeDefinitionsForSchema(e3, t3, "allOf", n3, l2.allOf[0], d2, p2, g2); + return i4 && (v.dataTypeId = i4.dataTypeId, v.isCollection = v.isCollection || i4.isCollection), v; } if (r2.default.isArray(l2.oneOf) && l2.oneOf.length) { - const i4 = this.processDataTypeDefinitionsForSchema(e3, t3, "oneOf", n3, l2.oneOf[0], c2, p2, g2); - return i4 && (N.dataTypeId = i4.dataTypeId, N.isCollection = N.isCollection || i4.isCollection), N; + const i4 = this.processDataTypeDefinitionsForSchema(e3, t3, "oneOf", n3, l2.oneOf[0], d2, p2, g2); + return i4 && (v.dataTypeId = i4.dataTypeId, v.isCollection = v.isCollection || i4.isCollection), v; } const O = l2.$ref; - if (r2.default.isString(O) && O.startsWith("#/definitions/")) { - const i4 = O.slice(14), n4 = r2.default.isObject(this.definitions) ? this.definitions[i4] : void 0; + if (r2.default.isString(O) && (O.startsWith("#/definitions/") || O.startsWith(f))) { + const i4 = O.startsWith(f) ? O.slice(8) : O.slice(14), n4 = r2.default.isObject(this.definitions) ? this.definitions[i4] : void 0; if (!n4) return void this.setProcessingFailure(e3, u.JsonSchemaProcessingFailure.failureDefinitionNameNotFound, (0, o.sprintf)(_.jsonSchemaProcessing.schemaReferenceNotFound, i4)); - const a2 = this.processDataTypeDefinitionsForSchema(e3, t3, ` >> $ref >> #/definitions/${i4}`, i4, n4, c2, p2, true, `#/definitions/${i4}`); - return a2 && (N.dataTypeId = a2.dataTypeId, N.isCollection = N.isCollection || a2.isCollection), N; + const a2 = this.processDataTypeDefinitionsForSchema(e3, t3, ` >> $ref >> ${O}`, i4, n4, d2, p2, true, O); + return a2 && (v.dataTypeId = a2.dataTypeId, v.isCollection = v.isCollection || a2.isCollection), v; } - if (!N.dataTypeId) { + if (!v.dataTypeId) { switch (l2.type) { case "boolean": - N.dataTypeId = m.expressionTypeNames.boolean; + v.dataTypeId = m.expressionTypeNames.boolean; break; case "number": - N.dataTypeId = m.expressionTypeNames.decimal; + v.dataTypeId = m.expressionTypeNames.decimal; break; case "string": - N.dataTypeId = m.expressionTypeNames.string; + v.dataTypeId = m.expressionTypeNames.string; break; case "integer": - N.dataTypeId = (null === (T = e3.settings) || void 0 === T ? void 0 : T.convertGCTypesToArchitectTypes) ? m.expressionTypeNames.integer : m.expressionTypeNames.decimal; + v.dataTypeId = (null === (y = e3.settings) || void 0 === y ? void 0 : y.convertGCTypesToArchitectTypes) ? m.expressionTypeNames.integer : m.expressionTypeNames.decimal; break; case "array": - N.isCollection = true, l2.items ? N.dataTypeId = null === (y = this.processDataTypeDefinitionsForSchema(e3, t3, "items", n3, l2.items, c2, p2, g2)) || void 0 === y ? void 0 : y.dataTypeId : N.dataTypeId = m.expressionTypeNames.json; + v.isCollection = true, l2.items ? v.dataTypeId = null === (S = this.processDataTypeDefinitionsForSchema(e3, t3, "items", n3, l2.items, d2, p2, g2)) || void 0 === S ? void 0 : S.dataTypeId : v.dataTypeId = m.expressionTypeNames.json; } - if (N.dataTypeId) return this.checkParsedReturnType(e3, t3, N, c2, i3); + if (v.dataTypeId) return this.checkParsedReturnType(e3, t3, v, d2, i3); } - const I = this._getDataTypeDefViewModelForObject(l2, e3, t3, i3, n3, c2, p2); + const I = this._getDataTypeDefViewModelForObject(l2, e3, t3, i3, n3, d2, p2); if (I) return I; - let v = h.createCustomJsonExpressionDataTypeStr(this.schemaSource, this.baseJsonSchemaIdNoNamespace); + let C = h.createCustomJsonExpressionDataTypeStr(this.schemaSource, this.baseJsonSchemaIdNoNamespace); if ("object" === l2.type) { - let e4 = null === (S = l2.title) || void 0 === S ? void 0 : S.replace(/ /g, "_SPACE_"); - e4 = e4 || n3, v += `_${e4}`; + let e4 = null === (A = l2.title) || void 0 === A ? void 0 : A.replace(/ /g, "_SPACE_"); + e4 = e4 || n3, C += `_${e4}`; } - return N.dataTypeId = v, N.id = v, N.name = n3.length > 0 ? n3 : this.displayName, !!e3.customDataTypeDefs[v] || (a.info(`Creating a new JSON expression data type with name '${n3}' (id: '${v}').`), N.name = n3, N.additionalProperties = false !== l2.additionalProperties, (null == l2 ? void 0 : l2.properties) ? r2.default.each(null == l2 ? void 0 : l2.properties, (i4, n4) => { + return v.dataTypeId = C, v.id = C, v.name = n3.length > 0 ? n3 : this.displayName, !!e3.customDataTypeDefs[C] || (a.info(`Creating a new JSON expression data type with name '${n3}' (id: '${C}').`), v.name = n3, v.additionalProperties = false !== l2.additionalProperties, (null == l2 ? void 0 : l2.properties) ? r2.default.each(null == l2 ? void 0 : l2.properties, (i4, n4) => { var r3; if (e3.failure) return; a.info(`Processing JSON schema property '${n4}'.`); - const o2 = i4.title || "", s2 = i4.description || ""; - let u2; - u2 = o2 ? s2 ? `${o2} - ${s2}` : o2 : s2 || ""; - const d2 = this.processDataTypeDefinitionsForSchema(e3, t3, `properties/${n4}`, `${p2} ${n4}`, i4, c2, p2, g2); - d2.name = n4, d2.id = n4, d2.description = u2, d2.isRequired = null === (r3 = l2.required) || void 0 === r3 ? void 0 : r3.includes(n4), N.addProperty(d2), a.info(`Property added '${n4}' with type '${d2.dataTypeId}'.`); - }) : this.setProcessingWarning(e3, d.JsonSchemaProcessingWarning.warningNoProperties, _.jsonSchemaProcessing.referencedSchemaHasNoProperties), e3.customDataTypeDefs[N.dataTypeId] = N), N; + const o2 = i4.title || "", s2 = i4.description || "", u2 = this.processDataTypeDefinitionsForSchema(e3, t3, `properties/${n4}`, `${p2} ${n4}`, i4, d2, p2, g2); + u2.name = n4, u2.id = n4, o2 && (u2.title = o2), u2.description = s2, u2.isRequired = null === (r3 = l2.required) || void 0 === r3 ? void 0 : r3.includes(n4), v.addProperty(u2), a.info(`Property added '${n4}' with type '${u2.dataTypeId}'.`); + }) : this.setProcessingWarning(e3, c.JsonSchemaProcessingWarning.warningNoProperties, _.jsonSchemaProcessing.referencedSchemaHasNoProperties), e3.customDataTypeDefs[v.dataTypeId] = v), v; } finally { e3.jsonSchemaPropertyHierarchy.pop(); } @@ -116585,7 +125877,7 @@ ${e3.stack}`, n3 = [this].concat(i3); var n3; const r3 = { customDataTypeDefs: {}, jsonSchemaPropertyHierarchy: [], rootDataTypeDefId: void 0, settings: i3 || { convertGCTypesToArchitectTypes: true } }; let o2; - if (r3.settings.convertGCTypesToArchitectTypes && !e3 && this.setProcessingWarning(r3, d.JsonSchemaProcessingWarning.warningGeneric, "processing will be performed in a flow agnostic manner."), (null == this ? void 0 : this.hasSchema) || this.setProcessingFailure(r3, u.JsonSchemaProcessingFailure.failureNoSchema, _.jsonSchemaProcessing.noSchemaToProcess), !r3.failure) { + if (r3.settings.convertGCTypesToArchitectTypes && !e3 && this.setProcessingWarning(r3, c.JsonSchemaProcessingWarning.warningGeneric, "processing will be performed in a flow agnostic manner."), (null == this ? void 0 : this.hasSchema) || this.setProcessingFailure(r3, u.JsonSchemaProcessingFailure.failureNoSchema, _.jsonSchemaProcessing.noSchemaToProcess), !r3.failure) { let e4; e4 = t3 ? "" : this.title, void 0 === e4 ? (r3.jsonSchemaPropertyHierarchy = ["#"], this.setProcessingFailure(r3, u.JsonSchemaProcessingFailure.failureUnableToDetermineIdentifierSuffix, _.jsonSchemaProcessing.schemaHasNoName)) : o2 = e4, this.schemaSource !== l.CustomJsonNamespace.decisionTable && this.schemaSource !== l.CustomJsonNamespace.conversationAttribute || (o2 = this.displayName); } @@ -116593,7 +125885,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const t4 = g.default.getTypeGroup(e3); r3.rootDataTypeDefId = null === (n3 = this.processDataTypeDefinitionsForSchema(r3, e3, "#", o2, this.rawJsonSchema, t4, o2, false)) || void 0 === n3 ? void 0 : n3.dataTypeId, r3.rootDataTypeDefId || r3.failure || this.setProcessingFailure(r3, u.JsonSchemaProcessingFailure.failureUnableToDetermineRootType, _.jsonSchemaProcessing.schemaUnableToDetermineRootType); } catch (e4) { - f.exception(e4, "Exception caught processing a JSON schema with the JSON schema wrapper."), r3.failure || this.setProcessingFailure(r3, u.JsonSchemaProcessingFailure.failureGeneric, _.jsonSchemaProcessing.schemaUnableToProcess); + T.exception(e4, "Exception caught processing a JSON schema with the JSON schema wrapper."), r3.failure || this.setProcessingFailure(r3, u.JsonSchemaProcessingFailure.failureGeneric, _.jsonSchemaProcessing.schemaUnableToProcess); } return delete r3.jsonSchemaPropertyHierarchy, r3; } @@ -116611,21 +125903,21 @@ ${e3.stack}`, n3 = [this].concat(i3); if (!l2) return; const u2 = e3.properties[l2]; if (!u2) return void a.warn(`Unable to resolve propertyValue: ${u2} for propertyName: ${l2}. Are you sure you should be calling _resolveNestedArchitectType with this schema?`); - const d2 = this._extractDssRefPathValue(u2); - if (!d2) return void a.warn(`Unable to extract reference for property ${l2}`); - const c2 = d2.split("/"); - if (!(null == c2 ? void 0 : c2.length) || c2.length < 3) return void a.warn(`Type not found in '${d2}'. No valid path. Expected -> #/definitions/`); - if ("#" !== c2[0] || "definitions" !== c2[1]) return void a.warn(`Type not found in '${d2}'. Path does not begin with '#/definitions'`); + const c2 = this._extractDssRefPathValue(u2); + if (!c2) return void a.warn(`Unable to extract reference for property ${l2}`); + const d2 = c2.split("/"); + if (!(null == d2 ? void 0 : d2.length) || d2.length < 3) return void a.warn(`Type not found in '${c2}'. No valid path. Expected -> #/definitions/`); + if ("#" !== d2[0] || "definitions" !== d2[1]) return void a.warn(`Type not found in '${c2}'. Path does not begin with '#/definitions'`); let p2 = this.definitions; - c2.splice(0, 2); - for (const e4 of c2) { + d2.splice(0, 2); + for (const e4 of d2) { const t4 = p2[e4]; - if ("object" != typeof t4) return void a.warn(`Type not found in '${d2}'. Property name '${e4}' in path does not reference an object.`); + if ("object" != typeof t4) return void a.warn(`Type not found in '${c2}'. Property name '${e4}' in path does not reference an object.`); p2 = t4; } - const _2 = this.processDataTypeDefinitionsForSchema(t3, i3, `${n3}/${l2}`, `${r3}_${l2}`, p2, o2, s2, true, d2); + const _2 = this.processDataTypeDefinitionsForSchema(t3, i3, `${n3}/${l2}`, `${r3}_${l2}`, p2, o2, s2, true, c2); if (_2) return this.checkParsedReturnType(t3, i3, _2, o2, n3); - a.warn(`Failed to resolve data type for referenced type '#/definitions/${c2.join("/")}'`); + a.warn(`Failed to resolve data type for referenced type '#/definitions/${d2.join("/")}'`); } _getFirstPropertyNameIfOnlyOneProperty(e3) { const t3 = Object.keys(e3.properties); @@ -116635,8 +125927,8 @@ ${e3.stack}`, n3 = [this].concat(i3); if (e3 && "object" == typeof e3 && Array.isArray(e3.allOf) && 1 === e3.allOf.length && "object" == typeof e3.allOf[0] && e3.allOf[0].$ref) return e3.allOf[0].$ref; } _getTypeDefinitionForDssRef(e3, t3, i3, n3, r3) { - var s2, l2, d2; - if (1 !== r3 && 2 !== r3 && void 0 !== this.dynamicSchemaServiceSchemaVersion) return f.traceOnce("Unsupported dynamic schema service version being processed", (e4) => e4.error(`Dynamic schema service schema version ${this.dynamicSchemaServiceSchemaVersion} is not supported. Architect needs to be updated.`)), void this.setProcessingFailure(t3, u.JsonSchemaProcessingFailure.failureUnsupportedDssSchemaVersion, (0, o.sprintf)(_.jsonSchemaProcessing.schemaUnsupportedDssSchemaVersion, this.dynamicSchemaServiceSchemaVersion)); + var s2, l2, c2; + if (1 !== r3 && 2 !== r3 && void 0 !== this.dynamicSchemaServiceSchemaVersion) return T.traceOnce("Unsupported dynamic schema service version being processed", (e4) => e4.error(`Dynamic schema service schema version ${this.dynamicSchemaServiceSchemaVersion} is not supported. Architect needs to be updated.`)), void this.setProcessingFailure(t3, u.JsonSchemaProcessingFailure.failureUnsupportedDssSchemaVersion, (0, o.sprintf)(_.jsonSchemaProcessing.schemaUnsupportedDssSchemaVersion, this.dynamicSchemaServiceSchemaVersion)); switch (e3) { case "#/definitions/checkbox": return { dataTypeId: m.expressionTypeNames.boolean }; @@ -116653,7 +125945,7 @@ ${e3.stack}`, n3 = [this].concat(i3); case "#/definitions/url": return { dataTypeId: m.expressionTypeNames.string }; case "#/definitions/integer": - return { dataTypeId: (null === (d2 = t3.settings) || void 0 === d2 ? void 0 : d2.convertGCTypesToArchitectTypes) ? m.expressionTypeNames.integer : m.expressionTypeNames.decimal }; + return { dataTypeId: (null === (c2 = t3.settings) || void 0 === c2 ? void 0 : c2.convertGCTypesToArchitectTypes) ? m.expressionTypeNames.integer : m.expressionTypeNames.decimal }; case "#/definitions/number": return { dataTypeId: m.expressionTypeNames.decimal }; case "#/definitions/tag": @@ -116670,7 +125962,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 99025: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = n2.__importStar(i2(81116)), u = i2(14394), d = i2(81516), c = n2.__importDefault(i2(61864)), p = n2.__importDefault(i2(86531)), _ = n2.__importStar(i2(66381)), h = n2.__importStar(i2(98442)), m = i2(1115), g = i2(12179), f = n2.__importDefault(i2(68460)), T = i2(74803), y = i2(7401), S = i2(47957); + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(73198)), s = n2.__importStar(i2(63824)), l = n2.__importStar(i2(81116)), u = i2(14394), c = i2(81516), d = n2.__importDefault(i2(61864)), p = n2.__importDefault(i2(86531)), _ = n2.__importStar(i2(66381)), h = n2.__importStar(i2(98442)), m = i2(1115), g = i2(12179), f = n2.__importDefault(i2(68460)), T = i2(74803), y = i2(7401), S = i2(47957); class A extends f.default { constructor(e3, t3) { super(e3, t3), this._canSuppressCallRecordings = this.parentFlow.definition.canSuppressCallRecordings, this._suppressCallRecordingsDefaultValue = this.parentFlow.definition.suppressCallRecordingsDefaultValue, this._supportsCompanyDirectory = this.parentFlow.definition.supportsCompanyDirectory, this._supportsDefaultSpeechSettings = this.parentFlow.definition.supportsDefaultSpeechSettings, this._supportsDisableASR = this.parentFlow.definition.supportsDisableASR, this.modelPropertyName = "defaultSettings.SpeechRec", t3 || this._resetParent(this), Object.defineProperties(this, { isFlowSettings: { value: !t3 } }); @@ -116708,12 +126000,12 @@ ${e3.stack}`, n3 = [this].concat(i3); } loadConfiguration(e3) { const t3 = (e4) => e4.setAllowFlowLevelDefault(true).setIsOptional(true).setDefaultToExpression(true); - this.isFlowSettings && (e3.speechRecCompanyDirectory || (e3.speechRecCompanyDirectory = new y()), this.speechRecCompanyDirectory = l.expression(this.parentFlow, this, e3.speechRecCompanyDirectory, S.speechRec.enableCompanyDirectory, u.globalTypes.boolean, null, u.globalTypes.boolean.createExpressionOptionClass().setAllowModeLiteralOnly().setDefaultText(a.default.false).setCustomLiteralValidator(this.getUnsupportedLanguageError.bind(this))), this.speechRecCompanyDirectory.outOfService = !this._supportsCompanyDirectory, e3.disableAsr || (e3.disableAsr = new y()), this.disableAsr = l.expression(this.parentFlow, this, e3.disableAsr, S.speechRec.enableAllSpeechRec, u.globalTypes.boolean, null, u.globalTypes.boolean.createExpressionOptionClass().setAllowModeLiteralOnly().setCustomLiteralValidator(this._getDisableWithSpeechRecError.bind(this)).setDefaultText(a.default.false).setBoolText(S.boolean.enabled, S.boolean.disabled).setUseCustomWarning(true)), this.disableAsr.outOfService = !this._supportsDisableASR, e3.disableAsrCompanyDirectory || (e3.disableAsrCompanyDirectory = new y()), this.disableAsrCompanyDirectory = l.expression(this.parentFlow, this, e3.disableAsrCompanyDirectory, S.speechRec.disableAllCompanyDirectory, u.globalTypes.boolean, null, u.globalTypes.boolean.createExpressionOptionClass().setAllowModeLiteralOnly().setCustomLiteralValidator(this._getDisableEnableError.bind(this)).setDefaultText(a.default.false).setBoolText(S.boolean.enabled, S.boolean.disabled).setUseCustomWarning(true)), this.disableAsrCompanyDirectory.outOfService = !this._supportsCompanyDirectory, e3.suppressRecording || (e3.suppressRecording = new y()), this.suppressRecording = l.expression(this.parentFlow, this, e3.suppressRecording, S.speechRec.suppressCallRecordingsSpeechRec, u.globalTypes.boolean, null, u.globalTypes.boolean.createExpressionOptionClass().setIninTestingField("suppressRecording").setAllowModeLiteralOnly().setHideDefaultTextDescription(true).setDefaultText(a.default.false).setUseCheckbox(true)), this.suppressRecording.outOfService = !this._canSuppressCallRecordings, e3.speechRecEngine || (e3.speechRecEngine = new y()), this.speechRecEngine = l.expression(this.parentFlow, this, e3.speechRecEngine, S.speechRec.engineLabel, u.globalTypes.string, null, new d.ExpressionTypeStringOptions().setDefaultText("")), e3.defaultSettings || (e3.defaultSettings = new T())); + this.isFlowSettings && (e3.speechRecCompanyDirectory || (e3.speechRecCompanyDirectory = new y()), this.speechRecCompanyDirectory = l.expression(this.parentFlow, this, e3.speechRecCompanyDirectory, S.speechRec.enableCompanyDirectory, u.globalTypes.boolean, null, u.globalTypes.boolean.createExpressionOptionClass().setAllowModeLiteralOnly().setDefaultText(a.default.false).setCustomLiteralValidator(this.getUnsupportedLanguageError.bind(this))), this.speechRecCompanyDirectory.outOfService = !this._supportsCompanyDirectory, e3.disableAsr || (e3.disableAsr = new y()), this.disableAsr = l.expression(this.parentFlow, this, e3.disableAsr, S.speechRec.enableAllSpeechRec, u.globalTypes.boolean, null, u.globalTypes.boolean.createExpressionOptionClass().setAllowModeLiteralOnly().setCustomLiteralValidator(this._getDisableWithSpeechRecError.bind(this)).setDefaultText(a.default.false).setBoolText(S.boolean.enabled, S.boolean.disabled).setUseCustomWarning(true)), this.disableAsr.outOfService = !this._supportsDisableASR, e3.disableAsrCompanyDirectory || (e3.disableAsrCompanyDirectory = new y()), this.disableAsrCompanyDirectory = l.expression(this.parentFlow, this, e3.disableAsrCompanyDirectory, S.speechRec.disableAllCompanyDirectory, u.globalTypes.boolean, null, u.globalTypes.boolean.createExpressionOptionClass().setAllowModeLiteralOnly().setCustomLiteralValidator(this._getDisableEnableError.bind(this)).setDefaultText(a.default.false).setBoolText(S.boolean.enabled, S.boolean.disabled).setUseCustomWarning(true)), this.disableAsrCompanyDirectory.outOfService = !this._supportsCompanyDirectory, e3.suppressRecording || (e3.suppressRecording = new y()), this.suppressRecording = l.expression(this.parentFlow, this, e3.suppressRecording, S.speechRec.suppressCallRecordingsSpeechRec, u.globalTypes.boolean, null, u.globalTypes.boolean.createExpressionOptionClass().setIninTestingField("suppressRecording").setAllowModeLiteralOnly().setHideDefaultTextDescription(true).setDefaultText(a.default.false).setUseCheckbox(true)), this.suppressRecording.outOfService = !this._canSuppressCallRecordings, e3.speechRecEngine || (e3.speechRecEngine = new y()), this.speechRecEngine = l.expression(this.parentFlow, this, e3.speechRecEngine, S.speechRec.engineLabel, u.globalTypes.string, null, new c.ExpressionTypeStringOptions().setDefaultText("")), e3.defaultSettings || (e3.defaultSettings = new T())); const i3 = u.globalTypes.integer.expressionOptionClass.create((e4) => e4.setSubLabel(S.speechRec.minConfidenceLevelRange).setAllowModeLiteralOnly().facets.setMinInt(0, true).setMaxInt(100, true)), n3 = u.globalTypes.duration.expressionOptionClass.create((e4) => e4.setDurationStyle(s.durationStyles.secondsAndTenthsDuration).setAllowModeLiteralOnly().facets.setMinDur(100, true).setMaxDur(2e4, true)), r3 = u.globalTypes.duration.expressionOptionClass.create((e4) => e4.setDurationStyle(s.durationStyles.secondsAndTenthsDuration).setAllowModeLiteralOnly().facets.setMinDur(100, true).setMaxDur(2e4, true)), o2 = u.globalTypes.duration.expressionOptionClass.create((e4) => e4.setDurationStyle(s.durationStyles.secondsAndTenthsDuration).setAllowModeLiteralOnly().facets.setMinDur(100, true).setMaxDur(4e4, true)); this.isFlowSettings ? (i3.setDefaultText("50"), n3.setDefaultText(a.default.litDurationOneHundredMs), r3.setDefaultText(a.default.litDurationFifteenHundredMs), o2.setDefaultText(a.default.litDurationTwentySeconds)) : (t3(i3), t3(n3), t3(r3), t3(o2)), this.speechRecMinConfidence = l.expression(this.parentFlow, this.parent, this._prepareModel(e3, "speechRecMinConfidence"), S.speechRec.minConfidenceLevel, u.globalTypes.integer, null, i3), this.speechRecMinConfidence.outOfService = !this._supportsDefaultSpeechSettings, this.speechRecTimeoutComplete = l.expression(this.parentFlow, this.parent, this._prepareModel(e3, "speechRecTimeoutComplete"), S.speechRec.timeoutComplete, u.globalTypes.duration, null, n3), this.speechRecTimeoutComplete.outOfService = !this._supportsDefaultSpeechSettings, this.speechRecTimeoutIncomplete = l.expression(this.parentFlow, this.parent, this._prepareModel(e3, "speechRecTimeoutIncomplete"), S.speechRec.timeoutIncomplete, u.globalTypes.duration, null, r3), this.speechRecTimeoutIncomplete.outOfService = !this._supportsDefaultSpeechSettings, this.speechRecTimeoutTotal = l.expression(this.parentFlow, this.parent, this._prepareModel(e3, "speechRecTimeoutTotal"), S.speechRec.timeoutMaxSpeech, u.globalTypes.duration, null, o2), this.speechRecTimeoutTotal.outOfService = !this._supportsDefaultSpeechSettings; } get nodeGuxIcon() { - return this.hasRecordingSettingsOnly ? c.default.record.gux : c.default.speechRec.gux; + return this.hasRecordingSettingsOnly ? d.default.record : d.default.speechRec; } get helpTopic() { return this.parentFlow.isVoiceSurveyFlow ? g.helpTopics.treeNodes.speechRecConfigVoiceSurvey : g.helpTopics.treeNodes.speechRecConfig; @@ -116906,7 +126198,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (t4) { const e5 = t4 ? _[t4[3]] : void 0; if (t4[1] && e5) try { - return Number(t4[1]).toLocaleString(c.getCurrentLanguage() || "en-us", { style: "currency", currency: e5.code, currencyDisplay: "symbol" }); + return Number(t4[1]).toLocaleString(d.getCurrentLanguage() || "en-us", { style: "currency", currency: e5.code, currencyDisplay: "symbol" }); } catch (e6) { m.exception(e6, "Error encountered when creating currency text."); } @@ -116929,7 +126221,7 @@ ${e3.stack}`, n3 = [this].concat(i3); if (e4.isLiteralMode && e4.val) { const n4 = r2.getItem(e4.val); if (n4) { - if ((null == t4 ? void 0 : t4.richSummary) && (null === (i4 = null == t4 ? void 0 : t4.criteria) || void 0 === i4 ? void 0 : i4.languageTag) && (0, p.isFeatureAvailable)(d.default.botFlowsDigitalBotFlowsMultiLingualFeature)) { + if ((null == t4 ? void 0 : t4.richSummary) && (null === (i4 = null == t4 ? void 0 : t4.criteria) || void 0 === i4 ? void 0 : i4.languageTag) && (0, p.isFeatureAvailable)(c.default.botFlowsDigitalBotFlowsMultiLingualFeature)) { const e5 = n4.getResourceForLanguageTag(t4); if (e5) return e5; } @@ -116957,7 +126249,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } return t3.text; }; - const n2 = i2(31635), r2 = n2.__importStar(i2(43011)), o = n2.__importDefault(i2(73198)), a = n2.__importStar(i2(63824)), s = n2.__importStar(i2(9345)), l = i2(14394), u = n2.__importStar(i2(24032)), d = n2.__importDefault(i2(4648)), c = n2.__importStar(i2(74359)), p = i2(10798), _ = i2(19502), h = i2(47957), m = u.getTopic("notifications"); + const n2 = i2(31635), r2 = n2.__importStar(i2(43011)), o = n2.__importDefault(i2(73198)), a = n2.__importStar(i2(63824)), s = n2.__importStar(i2(9345)), l = i2(14394), u = n2.__importStar(i2(24032)), c = n2.__importDefault(i2(4648)), d = n2.__importStar(i2(74359)), p = i2(10798), _ = i2(19502), h = i2(47957), m = u.getTopic("notifications"); }, 99469: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.ManagedPropertyOptions = void 0; @@ -117102,8 +126394,8 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 99621: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(79364), o = i2(79364), a = i2(8758), s = i2(30801), l = n2.__importDefault(i2(94225)), u = n2.__importDefault(i2(56549)), d = n2.__importDefault(i2(95085)); - class c extends d.default { + const n2 = i2(31635), r2 = i2(79364), o = i2(79364), a = i2(8758), s = i2(30801), l = n2.__importDefault(i2(94225)), u = n2.__importDefault(i2(56549)), c = n2.__importDefault(i2(95085)); + class d extends c.default { constructor(e3) { super(e3); } @@ -117151,7 +126443,7 @@ ${e3.stack}`, n3 = [this].concat(i3); e3.version || this.logErrorAndThrow(`Guide '${e3.name}' is not published. Only published guides can be used in Call Guide action.`); } } - t2.default = c; + t2.default = d; }, 99622: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); @@ -117194,8 +126486,8 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseBuilderWithBuilderPartsViewModel = void 0, t2.isBaseBuilderWithBuilderPartsViewModel = function(e3) { return null == e3 ? void 0 : e3.isBaseBuilderWithBuilderPartsViewModel; }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importDefault(i2(61864)), l = i2(55909), u = i2(33951), d = n2.__importStar(i2(98442)), c = i2(12179), p = n2.__importDefault(i2(73198)), _ = n2.__importDefault(i2(96727)), h = i2(73062), m = n2.__importDefault(i2(99131)), g = n2.__importDefault(i2(5532)), f = n2.__importDefault(i2(16864)), T = n2.__importDefault(i2(64584)), y = n2.__importDefault(i2(71549)), S = n2.__importDefault(i2(43693)), A = i2(16958), N = i2(12847), O = i2(58380), I = i2(47957); - class v extends y.default { + const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importDefault(i2(61864)), l = i2(55909), u = i2(33951), c = n2.__importStar(i2(98442)), d = i2(12179), p = n2.__importDefault(i2(73198)), _ = n2.__importDefault(i2(96727)), h = i2(73062), m = n2.__importDefault(i2(99131)), g = n2.__importDefault(i2(5532)), f = n2.__importDefault(i2(16864)), T = n2.__importDefault(i2(64584)), y = n2.__importDefault(i2(71549)), S = n2.__importDefault(i2(43693)), A = i2(16958), N = i2(12847), v = i2(58380), O = i2(47957); + class I extends y.default { constructor(e3, t3, i3, n3, r3) { super(e3, t3, i3, n3), Object.defineProperties(this, { _builderPartsManager: { value: new S.default({ builderViewModel: this, containerPartViewModel: void 0, owningExpression: e3, parentModel: t3, isManagingPartContainers: false, reId: n3 }), writable: true, enumerable: false }, _builderContainerPartsManager: { value: new S.default({ builderViewModel: this, containerPartViewModel: void 0, owningExpression: e3, parentModel: t3, isManagingPartContainers: true, reId: n3, sortParts: r3 }), writable: true, enumerable: false } }); } @@ -117206,7 +126498,7 @@ ${e3.stack}`, n3 = [this].concat(i3); } } get helpTopic() { - return this.builderDef.helpTopic || c.helpTopics.builders.builder; + return this.builderDef.helpTopic || d.helpTopics.builders.builder; } _addClipboardDependencies(e3) { super._addClipboardDependencies(e3), this.builderPartsManager.addClipboardDependencies(e3), this.builderContainerPartsManager.addClipboardDependencies(e3); @@ -117215,6 +126507,7 @@ ${e3.stack}`, n3 = [this].concat(i3); super._initializeDesignTime(), this._builderPartsManager.initializeDesignTime(), this._builderContainerPartsManager.initializeDesignTime(), this.parentFlowIsReadOnly || this.supportsLanguageContainersOnly && !this.partAndPartsOutOfService && this.hasEnabledLanguageContainerPartsForAllSupportedLanguages && (this.partAndPartsOutOfService = true); } getInternalExpressions() { + if (this.isDestroyed) return []; const e3 = this._builderPartsManager.getInternalExpressions(), t3 = this._builderContainerPartsManager.getInternalExpressions(); return o.default.union(e3, t3); } @@ -117228,7 +126521,7 @@ ${e3.stack}`, n3 = [this].concat(i3); super._processLanguagesChanged(), this.supportsLanguageContainersOnly && (this.hasEnabledLanguageContainerPartsForAllSupportedLanguages ? this.mainSequenceEnabled && (this.mainSequenceEnabled = false) : this.mainSequenceEnabled = true); } objEvent_idAboutToChange(e3, t3) { - O.updateEventEmitterIdentifier(e3.id, t3, this); + v.updateEventEmitterIdentifier(e3.id, t3, this); } get className() { return "BaseBuilderWithBuilderPartsViewModel"; @@ -117247,26 +126540,26 @@ ${e3.stack}`, n3 = [this].concat(i3); if (!l2) return; let u2; e3.flowTypeOverrides && (u2 = e3.flowTypeOverrides[this.parentFlow.type]), u2 || (u2 = e3); - const d2 = u2.languageSequences[l2]; - if (!d2) return; - let c2; - if (i4.idExpressionText === s2) c2 = this.builderPartsManager; + const c2 = u2.languageSequences[l2]; + if (!c2) return; + let d2; + if (i4.idExpressionText === s2) d2 = this.builderPartsManager; else { const e4 = this.getLanguageContainerPart(i4.idExpressionText, true); - c2 = e4.builderPartsManager; + d2 = e4.builderPartsManager; } - if ((null === (n4 = c2.parts) || void 0 === n4 ? void 0 : n4.length) && t3) return; + if ((null === (n4 = d2.parts) || void 0 === n4 ? void 0 : n4.length) && t3) return; const p2 = this.builderDef; - if (!(null === (r4 = c2.parts) || void 0 === r4 ? void 0 : r4.length) && p2.defaultBuilderPartId) { + if (!(null === (r4 = d2.parts) || void 0 === r4 ? void 0 : r4.length) && p2.defaultBuilderPartId) { const e4 = o.default.find(this.availableBuilderPartDefinitions, (e5) => e5.id === p2.defaultBuilderPartId); - c2.createAndAddPartFromBuilderPartDef(e4, void 0); + d2.createAndAddPartFromBuilderPartDef(e4, void 0); } - d2.partContents ? 1 === (null === (a3 = c2.parts) || void 0 === a3 ? void 0 : a3.length) ? c2.parts[0].configureWithLanguageContexts(d2.partContents, i4) : o.default.each(d2.partContents, (e4) => { + c2.partContents ? 1 === (null === (a3 = d2.parts) || void 0 === a3 ? void 0 : a3.length) ? d2.parts[0].configureWithLanguageContexts(c2.partContents, i4) : o.default.each(c2.partContents, (e4) => { const t4 = g.default.getBuilderPartDefById(e4.builderPartId); - c2.createAndAddPartFromBuilderPartDef(t4).configureWithLanguageContext(e4, i4); - }) : o.default.each(d2.parts, (e4) => { + d2.createAndAddPartFromBuilderPartDef(t4).configureWithLanguageContext(e4, i4); + }) : o.default.each(c2.parts, (e4) => { const t4 = g.default.getBuilderPartDefById(e4.builderPartId); - c2.createAndAddPartFromBuilderPartDef(t4).configureWithLanguageContext(e4, i4); + d2.createAndAddPartFromBuilderPartDef(t4).configureWithLanguageContext(e4, i4); }); }); } @@ -117301,14 +126594,14 @@ ${e3.stack}`, n3 = [this].concat(i3); const s2 = this.builderContainerPartsManager.getMissingFlowSupportedLanguages(); if (o.default.isArray(s2) && s2.length) { let t4; - t4 = 1 === s2.length ? (0, r2.sprintf)(I.builders.builderSupportedLanguageMissing, s2[0].text) : (0, r2.sprintf)(I.builders.builderSupportedLanguageMissingMoreThanOne, d.getLanguageListDisplayStr(s2)), e3.addError(this, t4), n3 = false; - } else this.supportsLanguageContainersOnly && !this.partAndPartsOutOfService && this.hasEnabledLanguageContainerPartsForAllSupportedLanguages && e3.addWarning(this, I.builders.builderMainSequenceWillNotBeRun); + t4 = 1 === s2.length ? (0, r2.sprintf)(O.builders.builderSupportedLanguageMissing, s2[0].text) : (0, r2.sprintf)(O.builders.builderSupportedLanguageMissingMoreThanOne, c.getLanguageListDisplayStr(s2)), e3.addError(this, t4), n3 = false; + } else this.supportsLanguageContainersOnly && !this.partAndPartsOutOfService && this.hasEnabledLanguageContainerPartsForAllSupportedLanguages && e3.addWarning(this, O.builders.builderMainSequenceWillNotBeRun); return n3; } _validateSequenceRuntimeNotBlank(e3, t3, i3) { let n3 = true; if ((null == t3 ? void 0 : t3.length) && (o.default.isUndefined(o.default.find(t3, (e4) => e4 instanceof f.default && !o.default.isUndefined(o.default.find(e4.getInternalExpressions(), (e5) => !e5.isBlankOrNotSetOrEmpty)))) || (n3 = false)), n3) try { - e3 !== this && i3.setContextIsContainerRelated(), i3.addError(e3, I.expression.builderOrContainerErrorRuntimeOutputBlank); + e3 !== this && i3.setContextIsContainerRelated(), i3.addError(e3, O.expression.builderOrContainerErrorRuntimeOutputBlank); } finally { e3 !== this && i3.clearContextIsContainerRelated(); } @@ -117480,26 +126773,30 @@ ${e3.stack}`, n3 = [this].concat(i3); return this.builderContainerPartsManager.findBestContainerPartForCriteria(e3) || this.builderPartsManager.findBestContainerPartForCriteria(e3); } } - t2.BaseBuilderWithBuilderPartsViewModel = v; + t2.BaseBuilderWithBuilderPartsViewModel = I; }, 99831: (e2, t2, i2) => { "use strict"; - const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(73198)), l = i2(67607), u = i2(21647), d = i2(78513), c = i2(17466), p = i2(37830), _ = i2(26954), h = i2(99469), m = n2.__importDefault(i2(27203)), g = n2.__importStar(i2(36781)), f = n2.__importStar(i2(10798)), T = n2.__importStar(i2(82453)), y = n2.__importStar(i2(66381)), S = n2.__importStar(i2(98442)), A = n2.__importStar(i2(1115)), N = n2.__importDefault(i2(4648)), O = i2(12179), I = i2(12457), v = n2.__importDefault(i2(97891)), C = i2(24383), b = i2(30028), E = i2(87870), R = n2.__importDefault(i2(78791)), w = i2(9290), D = i2(9290), P = i2(9290), M = i2(9290), F = i2(9290), L = i2(9290), x = i2(9290), k = i2(9290), V = i2(80428), U = i2(21305), B = i2(82632), G = i2(47957), j = [r2.flowTypes.flowTypeInboundEmail, r2.flowTypes.flowTypeInQueueEmail], W = r2.flowTypes.flowTypesAllVxmlgen.concat(r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage, r2.flowTypes.flowTypeInboundEmail, r2.flowTypes.flowTypeInQueueEmail), q = [r2.flowTypes.flowTypeInboundChat, r2.flowTypes.flowTypeInboundEmail, r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueEmail, r2.flowTypes.flowTypeInQueueShortMessage, r2.flowTypes.flowTypeSurveyInvite, r2.flowTypes.flowTypeWorkflow], Y = m.default.setSupportedFlowTypes(a.default.clone(m.default.fakeFailure), [...r2.flowTypes.flowTypesAllVxmlgen, r2.flowTypes.flowTypeCommonModule, ...r2.flowTypes.flowTypesAllCicero, r2.flowTypes.flowTypeWorkitem]); - class H extends R.default { + const n2 = i2(31635), r2 = i2(96618), o = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(73198)), l = i2(67607), u = i2(21647), c = i2(78513), d = i2(17466), p = i2(37830), _ = i2(26954), h = i2(99469), m = n2.__importDefault(i2(27203)), g = n2.__importStar(i2(36781)), f = n2.__importStar(i2(10798)), T = n2.__importStar(i2(82453)), y = n2.__importStar(i2(66381)), S = n2.__importStar(i2(98442)), A = n2.__importStar(i2(1115)), N = n2.__importDefault(i2(4648)), v = i2(12179), O = i2(12457), I = n2.__importDefault(i2(97891)), C = i2(24383), b = i2(30028), E = i2(87870), w = n2.__importDefault(i2(78791)), R = i2(9290), D = i2(9290), P = i2(9290), M = i2(9290), F = i2(9290), L = i2(9290), x = i2(9290), k = i2(9290), V = i2(80428), U = i2(21305), B = i2(82632), G = i2(47957), j = [r2.flowTypes.flowTypeInboundEmail, r2.flowTypes.flowTypeInQueueEmail], W = r2.flowTypes.flowTypesAllVxmlgen.concat(r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueShortMessage, r2.flowTypes.flowTypeInboundEmail, r2.flowTypes.flowTypeInQueueEmail), q = [r2.flowTypes.flowTypeInboundChat, r2.flowTypes.flowTypeInboundEmail, r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeInQueueEmail, r2.flowTypes.flowTypeInQueueShortMessage, r2.flowTypes.flowTypeSurveyInvite, r2.flowTypes.flowTypeWorkflow], Y = m.default.setSupportedFlowTypes(a.default.clone(m.default.fakeFailure), [...r2.flowTypes.flowTypesAllVxmlgen, r2.flowTypes.flowTypeCommonModule, ...r2.flowTypes.flowTypesAllCicero, r2.flowTypes.flowTypeWorkitem]); + class H extends w.default { constructor(e3, t3) { super(e3), this._loadModel(t3); } get isTransferPureMatchAction() { return true; } + repointSelfReferencingFlow(e3, t3) { + var i3; + null === (i3 = this.inQueueFlow) || void 0 === i3 || i3.repointSelfReference(e3, t3); + } static get branchInfo() { return Y; } static get managedProperties() { - return [{ label: G.transferPureMatch.languageSkill, options: c.ExpressionTypeLanguageSkillOptions.create((e3) => e3.setIsOptional(true).setDefaultToNoValue(true).setModeNoValueSelectionLabel(G.expression.noValue.selection.useDefault).setDescriptionInfo(G.transferPureMatch.languageSkill, G.transferPureMatch.languageSkillDescription).setUseDefaultValueNodeIcons(true).setModeNoValueRuntimeEvaluationStr(G.transferPureMatch.languageSkillDefault, S.getFlowTypesThatSupportLanguages()).setIninTestingField("pureMatchLanguageSkill")), property: "languageSkill", type: V.expressionTypeNames.languageSkill, yamlOptions: H.createYamlOptions("languageSkill", (e3) => e3.setExportOrder(90)) }, { label: G.transferPureMatch.priority, options: d.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("priorityVSC").facets.setMinInt(0, true).setMaxInt(10, true)), property: "priority", type: V.expressionTypeNames.integer, yamlOptions: H.createYamlOptions("priority", (e3) => e3.setExportOrder(70)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeWorkitem], options: d.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("priorityVSC").setDescriptionInfo(G.transferPureMatch.priority, G.transferPureMatch.workitemPriorityDescription).facets.setMinInt(0, true).setMaxInt(10, true)) }] }, { label: G.configurations.queue, list: true, property: "queues", type: V.expressionTypeNames.queue, options: p.ExpressionTypeQueueOptions.create((e3) => e3.setIninTestingField("pureMatchTransferExpression")), yamlOptions: H.createYamlOptions("queues", (e3) => e3.setPropertyName("targetQueue").setConvertToSingleItem(true).setExportOrder(20)) }, { property: "skills", skills: true, yamlOptions: H.createYamlOptions("skills", (e3) => e3.setPropertyName("acdSkills").setExportOrder(30)) }, { createDetails: b.InqueueFlowActionProperty.createCreateDetails("inQueueFlowId", "inQueueFlowName"), options: h.ManagedPropertyOptions.create(), property: "inQueueFlow", yamlOptions: H.createYamlOptions("inQueueFlow", (e3) => e3.setPropertyName("overrideInQueueFlow").setExportOrder(40)) }, { createDetails: E.NoteActionProperty.createCreateDetails(G.transferPureMatch.transferACDInCommonModuleWarning, "info", "inQueueFlowWarning"), property: "inQueueFlowWarning", yamlOptions: H.createYamlOptions("inQueueFlowWarning", (e3) => e3.setSkipProperty(true)) }, { label: G.transferPureMatch.appendSkills, supportedFlowTypes: j, options: l.ExpressionTypeBooleanOptions.create((e3) => e3.setIninTestingField("appendSkillsExpression").setDescriptionInfo(G.transferPureMatch.appendSkillsHeader, G.transferPureMatch.appendSkillsDescription)), property: "appendSkills", type: V.expressionTypeNames.boolean, yamlOptions: H.createYamlOptions("appendSkills", (e3) => e3.setExportOrder(100)) }, { property: "preferredAgents", label: G.transferPureMatch.preferredAgents, type: V.expressionTypeNames.agentScorePair, options: u.ExpressionTypeComplexOptions.create((e3) => e3.setFeatureConfigName(N.default.knownAgentRouting).setAssumeOosIfTypeUnavailable(true).setAllowModeLiteral(false).setDescriptionInfo(null, G.transferPureMatch.preferredAgentsDescription).setIsOptional(true).setDefaultToNoValue(true).setIninTestingField("preferred-agents"), true).setMaxItems(B.transferToAcd.preferredAgents.maxItems), yamlOptions: H.createYamlOptions("preferredAgents", (e3) => e3.setExportOrder(80)) }, { property: "directAgent", label: G.transferPureMatch.directAgent, supportedFlowTypes: [...W, ...f.isFeatureAvailable(N.default.botFlowsAlignTransferActions) ? [r2.flowTypes.flowTypeDigitalBot] : []], type: V.expressionTypeNames.userQueue, options: _.ExpressionTypeUserOptions.create((e3) => e3.setFeatureConfigName(N.default.vipExperience).setDescriptionInfo(null, G.transferPureMatch.directAgentDescription).setIsOptional(true).setDefaultToNoValue(true).setIninTestingField("direct-agent")), yamlOptions: H.createYamlOptions("directAgent", (e3) => e3.setExportOrder(100)) }, { createDetails: E.NoteActionProperty.createCreateDetails((0, o.sprintf)(G.commonModule.actionOutputExecutableOnlyIfEmbeddingFlowIsCallFlow, G.generic.branches.failure), "info", "branch-warning"), property: "branchExecutionRestriction" }, { label: G.skillExpressionFilters.skillExpressionFiltersLabel, property: "skillExpressionFilters", type: V.expressionTypeNames.skillExpressionFilter, supportedFlowTypes: [r2.flowTypes.flowTypeInboundCall, r2.flowTypes.flowTypeInboundEmail, r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeOutboundCall, r2.flowTypes.flowTypeInQueueCall, r2.flowTypes.flowTypeInQueueEmail, r2.flowTypes.flowTypeInQueueShortMessage, r2.flowTypes.flowTypeSecureCall, r2.flowTypes.flowTypeVoicemail, r2.flowTypes.flowTypeCommonModule], options: U.ExpressionTypeJsonOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToNoValue(true).setIsCollection(true).setMinItems(B.transferToAcd.skillExpressionFilters.minItems).setMaxItems(B.transferToAcd.skillExpressionFilters.maxItems).setFeatureConfigName(N.default.routingSkillExpressionsFeature).setIninTestingField("skillExpressionFilters").setDescriptionInfo(null, (0, o.sprintf)(G.generic.joinTwoSentences, G.skillExpressionFilters.transferToAcdSkillExpressionFiltersTooltipInfoPrefix, G.skillExpressionFilters.transferToAcdSkillExpressionFiltersTooltipInfoNonAutomateSuffix))), optionsForSpecificFlowTypes: [{ flowTypes: r2.flowTypes.flowTypesAllAutomate, options: U.ExpressionTypeJsonOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToNoValue(true).setIsCollection(true).setMinItems(B.transferToAcd.skillExpressionFilters.minItems).setMaxItems(B.transferToAcd.skillExpressionFilters.maxItems).setFeatureConfigName(N.default.routingSkillExpressionsFeature).setIninTestingField("skillExpressionFilters").setDescriptionInfo(null, (0, o.sprintf)(G.generic.joinTwoSentences, G.skillExpressionFilters.transferToAcdSkillExpressionFiltersTooltipInfoPrefix, G.skillExpressionFilters.transferToAcdSkillExpressionFiltersTooltipInfoAutomateSuffix))) }], yamlOptions: H.createYamlOptions("skillExpressionFilters", (e3) => e3.setPropertyName("skillExpressionFilters")) }]; + return [{ label: G.transferPureMatch.languageSkill, options: d.ExpressionTypeLanguageSkillOptions.create((e3) => e3.setIsOptional(true).setDefaultToNoValue(true).setModeNoValueSelectionLabel(G.expression.noValue.selection.useDefault).setDescriptionInfo(G.transferPureMatch.languageSkill, G.transferPureMatch.languageSkillDescription).setUseDefaultValueNodeIcons(true).setModeNoValueRuntimeEvaluationStr(G.transferPureMatch.languageSkillDefault, S.getFlowTypesThatSupportLanguages()).setIninTestingField("pureMatchLanguageSkill")), property: "languageSkill", type: V.expressionTypeNames.languageSkill, yamlOptions: H.createYamlOptions("languageSkill", (e3) => e3.setExportOrder(90)) }, { label: G.transferPureMatch.priority, options: c.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("priorityVSC").facets.setMinInt(0, true).setMaxInt(10, true)), property: "priority", type: V.expressionTypeNames.integer, yamlOptions: H.createYamlOptions("priority", (e3) => e3.setExportOrder(70)), optionsForSpecificFlowTypes: [{ flowTypes: [r2.flowTypes.flowTypeWorkitem], options: c.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("priorityVSC").setDescriptionInfo(G.transferPureMatch.priority, G.transferPureMatch.workitemPriorityDescription).facets.setMinInt(0, true).setMaxInt(10, true)) }] }, { label: G.configurations.queue, list: true, property: "queues", type: V.expressionTypeNames.queue, options: p.ExpressionTypeQueueOptions.create((e3) => e3.setIninTestingField("pureMatchTransferExpression")), yamlOptions: H.createYamlOptions("queues", (e3) => e3.setPropertyName("targetQueue").setConvertToSingleItem(true).setExportOrder(20)) }, { property: "skills", skills: true, yamlOptions: H.createYamlOptions("skills", (e3) => e3.setPropertyName("acdSkills").setExportOrder(30)) }, { createDetails: b.InqueueFlowActionProperty.createCreateDetails("inQueueFlowId", "inQueueFlowName"), options: h.ManagedPropertyOptions.create(), property: "inQueueFlow", yamlOptions: H.createYamlOptions("inQueueFlow", (e3) => e3.setPropertyName("overrideInQueueFlow").setExportOrder(40)) }, { createDetails: E.NoteActionProperty.createCreateDetails(G.transferPureMatch.transferACDInCommonModuleWarning, "info", "inQueueFlowWarning"), property: "inQueueFlowWarning", yamlOptions: H.createYamlOptions("inQueueFlowWarning", (e3) => e3.setSkipProperty(true)) }, { label: G.transferPureMatch.appendSkills, supportedFlowTypes: j, options: l.ExpressionTypeBooleanOptions.create((e3) => e3.setIninTestingField("appendSkillsExpression").setDescriptionInfo(G.transferPureMatch.appendSkillsHeader, G.transferPureMatch.appendSkillsDescription)), property: "appendSkills", type: V.expressionTypeNames.boolean, yamlOptions: H.createYamlOptions("appendSkills", (e3) => e3.setExportOrder(100)) }, { property: "preferredAgents", label: G.transferPureMatch.preferredAgents, type: V.expressionTypeNames.agentScorePair, options: u.ExpressionTypeComplexOptions.create((e3) => e3.setFeatureConfigName(N.default.knownAgentRouting).setAssumeOosIfTypeUnavailable(true).setAllowModeLiteral(false).setDescriptionInfo(null, G.transferPureMatch.preferredAgentsDescription).setIsOptional(true).setDefaultToNoValue(true).setIninTestingField("preferred-agents"), true).setMaxItems(B.transferToAcd.preferredAgents.maxItems), yamlOptions: H.createYamlOptions("preferredAgents", (e3) => e3.setExportOrder(80)) }, { property: "directAgent", label: G.transferPureMatch.directAgent, supportedFlowTypes: [...W, ...f.isFeatureAvailable(N.default.botFlowsAlignTransferActions) ? [r2.flowTypes.flowTypeDigitalBot] : []], type: V.expressionTypeNames.userQueue, options: _.ExpressionTypeUserOptions.create((e3) => e3.setFeatureConfigName(N.default.vipExperience).setDescriptionInfo(null, G.transferPureMatch.directAgentDescription).setIsOptional(true).setDefaultToNoValue(true).setIninTestingField("direct-agent")), yamlOptions: H.createYamlOptions("directAgent", (e3) => e3.setExportOrder(100)) }, { createDetails: E.NoteActionProperty.createCreateDetails((0, o.sprintf)(G.commonModule.actionOutputExecutableOnlyIfEmbeddingFlowIsCallFlow, G.generic.branches.failure), "info", "branch-warning"), property: "branchExecutionRestriction" }, { label: G.skillExpressionFilters.skillExpressionFiltersLabel, property: "skillExpressionFilters", type: V.expressionTypeNames.skillExpressionFilter, supportedFlowTypes: [r2.flowTypes.flowTypeInboundCall, r2.flowTypes.flowTypeInboundEmail, r2.flowTypes.flowTypeInboundShortMessage, r2.flowTypes.flowTypeOutboundCall, r2.flowTypes.flowTypeInQueueCall, r2.flowTypes.flowTypeInQueueEmail, r2.flowTypes.flowTypeInQueueShortMessage, r2.flowTypes.flowTypeSecureCall, r2.flowTypes.flowTypeVoicemail, r2.flowTypes.flowTypeCommonModule], options: U.ExpressionTypeJsonOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToNoValue(true).setIsCollection(true).setMinItems(B.transferToAcd.skillExpressionFilters.minItems).setMaxItems(B.transferToAcd.skillExpressionFilters.maxItems).setFeatureConfigName(N.default.routingSkillExpressionsFeature).setIninTestingField("skillExpressionFilters").setDescriptionInfo(null, (0, o.sprintf)(G.generic.joinTwoSentences, G.skillExpressionFilters.transferToAcdSkillExpressionFiltersTooltipInfoPrefix, G.skillExpressionFilters.transferToAcdSkillExpressionFiltersTooltipInfoNonAutomateSuffix))), optionsForSpecificFlowTypes: [{ flowTypes: r2.flowTypes.flowTypesAllAutomate, options: U.ExpressionTypeJsonOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToNoValue(true).setIsCollection(true).setMinItems(B.transferToAcd.skillExpressionFilters.minItems).setMaxItems(B.transferToAcd.skillExpressionFilters.maxItems).setFeatureConfigName(N.default.routingSkillExpressionsFeature).setIninTestingField("skillExpressionFilters").setDescriptionInfo(null, (0, o.sprintf)(G.generic.joinTwoSentences, G.skillExpressionFilters.transferToAcdSkillExpressionFiltersTooltipInfoPrefix, G.skillExpressionFilters.transferToAcdSkillExpressionFiltersTooltipInfoAutomateSuffix))) }], yamlOptions: H.createYamlOptions("skillExpressionFilters", (e3) => e3.setPropertyName("skillExpressionFilters")) }]; } _getPossibleErrors() { const e3 = f.isFeatureAvailable(N.default.knownAgentRouting), t3 = f.isFeatureAvailable(N.default.routingSkillExpressionsFeature); - return e3 && t3 ? this.parentFlow.isWorkitemFlow ? L.transferToAcdWorkitemFailureReasonsAll : P.transferToAcdFailureReasonsAll : e3 ? this.parentFlow.isWorkitemFlow ? x.transferToAcdWorkitemFailureReasonsKnownAgentRoutingFeature : M.transferToAcdFailureReasonsKnownAgentRoutingFeature : t3 ? this.parentFlow.isWorkitemFlow ? k.transferToAcdWorkitemFailureReasonsRoutingSkillExpressionsFeature : F.transferToAcdFailureReasonsRoutingSkillExpressionsFeature : this.parentFlow.isWorkitemFlow ? D.baseTransferToAcdWorkitemFailureReasons : w.baseTransferToAcdFailureReasons; + return e3 && t3 ? this.parentFlow.isWorkitemFlow ? L.transferToAcdWorkitemFailureReasonsAll : P.transferToAcdFailureReasonsAll : e3 ? this.parentFlow.isWorkitemFlow ? x.transferToAcdWorkitemFailureReasonsKnownAgentRoutingFeature : M.transferToAcdFailureReasonsKnownAgentRoutingFeature : t3 ? this.parentFlow.isWorkitemFlow ? k.transferToAcdWorkitemFailureReasonsRoutingSkillExpressionsFeature : F.transferToAcdFailureReasonsRoutingSkillExpressionsFeature : this.parentFlow.isWorkitemFlow ? D.baseTransferToAcdWorkitemFailureReasons : R.baseTransferToAcdFailureReasons; } _loadModel(e3) { super._loadModel(e3), this.useDefaultHandling = void 0 === this.useDefaultHandling || this.useDefaultHandling, this.languageSkill.isEmpty && this.languageSkill.isExpressionMode && this.languageSkill.setAsNoValue(); @@ -117524,7 +126821,7 @@ ${e3.stack}`, n3 = [this].concat(i3); return e4.text; }) : this.topic.errorWithErrorObjectInfo(`Blank queues property found in TransferPureMatchActionViewModel. Action info: ${this.toString()}`, this, true), this.skills ? i3(this.skills.items, G.transferPureMatch.skill, function(e4) { return e4.skill.text; - }) : this.topic.errorWithErrorObjectInfo(`Blank skills property found in TransferPureMatchActionViewModel. Action info: ${this.toString()}`, this, true), this.supportedInQueueFlowType && !this.model.useDefaultHandling && (e3.push(this.inQueueFlow.configListManager.dependencyType.name), t3.push(this.inQueueFlowName)), new I.ActionDetails(e3, t3); + }) : this.topic.errorWithErrorObjectInfo(`Blank skills property found in TransferPureMatchActionViewModel. Action info: ${this.toString()}`, this, true), this.supportedInQueueFlowType && !this.model.useDefaultHandling && (e3.push(this.inQueueFlow.configListManager.dependencyType.name), t3.push(this.inQueueFlowName)), new O.ActionDetails(e3, t3); } setNewInstanceDefaults() { super.setNewInstanceDefaults(), this.queues.add(), this.priority.setAsLiteral("0"), this.appendSkills.setAsLiteral(this.supportsAppendSkills.toString()); @@ -117568,11 +126865,11 @@ ${e3.stack}`, n3 = [this].concat(i3); e3 !== this.model.useDefaultHandling && (this.model.useDefaultHandling = e3, this.initializeDesignTimeCalled && A.validateNode(this)); } } - H.info = v.default.createActionInfo({ actionClass: H, canBeInTask: true, canBeTreeNode: true, helpTopic: O.helpTopics.actions.transferPureMatch, modelClass: i2(24421), name: G.actions.transfers.acd, scriptingName: "ArchActionTransferToAcd", terminationInfoForFlowTypes: [{ flowTypes: q, terminationInfo: C.terminatesFlow }] }), t2.A = H; + H.info = I.default.createActionInfo({ actionClass: H, canBeInTask: true, canBeTreeNode: true, helpTopic: v.helpTopics.actions.transferPureMatch, modelClass: i2(24421), name: G.actions.transfers.acd, scriptingName: "ArchActionTransferToAcd", terminationInfoForFlowTypes: [{ flowTypes: q, terminationInfo: C.terminatesFlow }], modelFormatSupport: { flowYaml: { inProgress: true, feature: N.default.changeSetsFeaturePhase2 } } }), t2.A = H; }, 99835: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.botConnectorIntegrationManager = t2.BotConnectorIntegrationManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(32236)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = i2(30801), l = n2.__importDefault(i2(47532)), u = i2(81801), d = i2(37707), c = i2(97081), p = i2(47957), _ = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(32236)), o = n2.__importStar(i2(1360)), a = n2.__importStar(i2(24032)), s = i2(30801), l = n2.__importDefault(i2(47532)), u = i2(81801), c = i2(37707), d = i2(97081), p = i2(47957), _ = i2(27862); class h extends l.default { get requiredAuth() { return u.externalAuthorizations.authStrings.integrationView; @@ -117584,10 +126881,10 @@ ${e3.stack}`, n3 = [this].concat(i3); super(), this.topic = a.getTopic("BotConnectorIntegrationManager"), this.apiCallList = r2.getBotConnectorIntegrations, this.apiCallSingle = r2.getIntegration, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "botIntegration", this.actionsForUsageSearch = [s.botConnectorActionType], this.className = "BotConnectorIntegrationManager", this.defaultMatchingStyle = o.exactMatch, this.dependencyContext = p.botConnector.botIntegration, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.shouldRequestAllPages = true, this.defaultPageSize = 100, this.uiMetadataSectionName = "botIntegration", this._initialize(); } _createItemViewModel(e3) { - return new c.IntegrationViewModel(e3); + return new d.IntegrationViewModel(e3); } get _networkModel() { - return d.Integration; + return c.Integration; } } t2.BotConnectorIntegrationManager = h, t2.botConnectorIntegrationManager = new h(); @@ -117618,8 +126915,9 @@ ${e3.stack}`, n3 = [this].concat(i3); Object.defineProperty(t2, "__esModule", { value: true }), t2.getCustomerSegments = a, t2.getCustomerSegment = s; const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(1849)); function a(e3) { - const t3 = r2.default.build(o.getCustomerSegments), i3 = { pageSize: e3.defaultPageSize, pageNumber: e3.pageNumber, sortBy: "displayName" }; - return e3.searchTerm && (i3.queryValue = e3.searchTerm, i3.queryFields = "displayName"), t3.queryParams(i3), t3.call(); + var t3; + const i3 = r2.default.build(o.getCustomerSegments), n3 = { pageSize: e3.defaultPageSize, pageNumber: e3.pageNumber, sortBy: "displayName" }; + return e3.searchTerm && (n3.queryValue = e3.searchTerm, n3.queryFields = "displayName"), void 0 !== (null === (t3 = e3.additionalParams) || void 0 === t3 ? void 0 : t3.isActive) && (n3.isActive = e3.additionalParams.isActive), i3.queryParams(n3), i3.call(); } function s(e3) { return r2.default.build(o.getCustomerSegment).templateParams({ id: e3 }).call(); @@ -117628,7 +126926,7 @@ ${e3.stack}`, n3 = [this].concat(i3); }, 99918: (e2, t2, i2) => { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }), t2.surveyFormManager = t2.SurveyFormManager = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(62241)), o = n2.__importStar(i2(87995)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(1360)), d = n2.__importDefault(i2(1735)), c = i2(2305), p = i2(78863), _ = i2(27862); + const n2 = i2(31635), r2 = n2.__importStar(i2(62241)), o = n2.__importStar(i2(87995)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = n2.__importDefault(i2(1360)), c = n2.__importDefault(i2(1735)), d = i2(2305), p = i2(78863), _ = i2(27862); class h extends s.default { get requiredAuth() { return l.externalAuthorizations.authStrings.surveyFormView; @@ -117640,10 +126938,10 @@ ${e3.stack}`, n3 = [this].concat(i3); super(), this.topic = a.getTopic("SurveyFormManager"), this.apiCallList = o.getSurveyForms, this.apiCallSingle = o.getSurveyForm, this._rawServerCache = {}, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this.className = "SurveyFormManager", this.defaultMatchingStyle = u.default.containsAssumed, this.dependencyContext = null, this.securityError = true, this.sortNotSupported = true, this.suppressSearch = false, this.uiMetadataSectionName = "surveyForms", this.defaultPageSize = 100, this.keepDeletedItems = true, this._initialize(); } _createItemViewModel(e3) { - return (null == e3 ? void 0 : e3.result) === r2.results.doesNotExist ? e3.dependencyError = c.SurveyFormDependencyErrors.doesNotExist : (null == e3 ? void 0 : e3.disabled) ? e3.dependencyError = c.SurveyFormDependencyErrors.disabled : false === (null == e3 ? void 0 : e3.latestPublishedVersion) ? e3.dependencyError = c.SurveyFormDependencyErrors.notLatest : e3.dependencyError = c.SurveyFormDependencyErrors.none, new p.SurveyFormViewModel(e3); + return (null == e3 ? void 0 : e3.result) === r2.results.doesNotExist ? e3.dependencyError = d.SurveyFormDependencyErrors.doesNotExist : (null == e3 ? void 0 : e3.disabled) ? e3.dependencyError = d.SurveyFormDependencyErrors.disabled : false === (null == e3 ? void 0 : e3.latestPublishedVersion) ? e3.dependencyError = d.SurveyFormDependencyErrors.notLatest : e3.dependencyError = d.SurveyFormDependencyErrors.none, new p.SurveyFormViewModel(e3); } get _networkModel() { - return d.default; + return c.default; } get isSurveyFormManager() { return true; @@ -117656,7 +126954,7 @@ ${e3.stack}`, n3 = [this].concat(i3); const t3 = []; return e3.forEach((e4) => { const i3 = t3.find((t4) => t4.contextId === e4.contextId); - e4.dependencyError !== c.SurveyFormDependencyErrors.doesNotExist && (i3 ? i3 && this._publishedFormDateIsNewerThanPrevious(e4, i3) && Object.assign(i3, e4) : t3.push(e4)); + e4.dependencyError !== d.SurveyFormDependencyErrors.doesNotExist && (i3 ? i3 && this._publishedFormDateIsNewerThanPrevious(e4, i3) && Object.assign(i3, e4) : t3.push(e4)); }), t3.sort(function(e4, t4) { return e4.name.localeCompare(t4.name); }); diff --git a/biome.json b/biome.json index 99f9ae7..aa5dc99 100644 --- a/biome.json +++ b/biome.json @@ -1,12 +1,12 @@ { - "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json", + "$schema": "https://biomejs.dev/schemas/2.5.8/schema.json", "files": { "includes": ["src/**"] }, "linter": { "enabled": true, "rules": { - "recommended": true + "preset": "recommended" } }, "formatter": { diff --git a/package.json b/package.json index 933d21e..994ea50 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,18 @@ "version": "1.0.6", "private": true, "packageManager": "pnpm@11.1.3+sha512.c85357fe17ca12dd23dd7071822666dfd7e3cb76fe214e3370b5ea2fb34f2a231185509b63e717f3cd0acb38dd3f8d82bcd5e8172400ae678b70ea4fbed0896d", + "author": { + "name": "Lucas Woodward", + "url": "https://makingchatbots.com" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/MakingChatbots/genesys-cloud-plugins.git" + }, + "bugs": { + "url": "https://github.com/MakingChatbots/genesys-cloud-plugins/issues" + }, + "homepage": "https://makingchatbots.com", "scripts": { "build": "pnpm run build:mcp-server && pnpm run build:deploy-runner", "build:mcp-server": "esbuild src/mcp-server/index.ts --bundle --platform=node --target=node22 --format=cjs --minify --tree-shaking=true --define:process.env.npm_package_version=\\\"$npm_package_version\\\" --outfile=servers/genesys-cloud-architect-mcp.js", @@ -14,20 +26,21 @@ "inspect-mcp": "pnpm dlx @modelcontextprotocol/inspector node servers/genesys-cloud-architect-mcp.js", "mcp-server": "node --experimental-strip-types src/mcp-server/index.ts", "mcp-server-with-op": "op run --env-file='./.env' -- node --experimental-strip-types src/mcp-server/index.ts", + "mcp-server-with-op-test": "op run --env-file='./.env' -- node --experimental-strip-types src/mcp-server/http-server.dev.ts", "prepare": "husky" }, "dependencies": { - "@modelcontextprotocol/sdk": "^1.12.0", - "purecloud-flow-scripting-api-sdk-javascript": "^0.66.1", - "purecloud-platform-client-v2": "^252.1.0", + "@modelcontextprotocol/sdk": "^1.30.0", + "purecloud-flow-scripting-api-sdk-javascript": "^0.68.3", + "purecloud-platform-client-v2": "^258.2.0", "zod": "^4.0.0" }, "devDependencies": { - "@biomejs/biome": "2.4.15", + "@biomejs/biome": "2.5.8", "@makingchatbots/genesys-cloud-architect-diagram-lib": "^1.3.0", "@types/node": "^25.8.0", - "esbuild": "^0.25.0", + "esbuild": "^0.28.2", "husky": "^9.1.7", - "typescript": "^5.8.0" + "typescript": "^7.0.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 70aa16a..dddd285 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,21 +9,21 @@ importers: .: dependencies: '@modelcontextprotocol/sdk': - specifier: ^1.12.0 + specifier: ^1.30.0 version: 1.30.0(zod@4.4.3) purecloud-flow-scripting-api-sdk-javascript: - specifier: ^0.66.1 - version: 0.66.6 + specifier: ^0.68.3 + version: 0.68.3 purecloud-platform-client-v2: - specifier: ^252.1.0 - version: 252.1.0 + specifier: ^258.2.0 + version: 258.2.0 zod: specifier: ^4.0.0 version: 4.4.3 devDependencies: '@biomejs/biome': - specifier: 2.4.15 - version: 2.4.15 + specifier: 2.5.8 + version: 2.5.8 '@makingchatbots/genesys-cloud-architect-diagram-lib': specifier: ^1.3.0 version: 1.3.0 @@ -31,70 +31,70 @@ importers: specifier: ^25.8.0 version: 25.9.5 esbuild: - specifier: ^0.25.0 - version: 0.25.12 + specifier: ^0.28.2 + version: 0.28.2 husky: specifier: ^9.1.7 version: 9.1.7 typescript: - specifier: ^5.8.0 - version: 5.9.3 + specifier: ^7.0.2 + version: 7.0.2 packages: - '@biomejs/biome@2.4.15': - resolution: {integrity: sha512-j5VH3a/h/HXTKBM50MDMxRCzkeLv9S2XJcW2WgnZT1+xyisi+0bISrXR82gCX+8S9lvK0skEvHJRN+3Ktr2hlw==} + '@biomejs/biome@2.5.8': + resolution: {integrity: sha512-aeAeeJB9fSDc7Gq+2GqpQxA0qBj6gj1k2R6L1cYqGePKP/baIq1WX8y6B+D+nRsO5ViQL22K/8IwbqERW0q1nw==} engines: {node: '>=14.21.3'} hasBin: true - '@biomejs/cli-darwin-arm64@2.4.15': - resolution: {integrity: sha512-rF3PPqLq1yoST79zaQbDjVJwsuIeci/O+9bgNmC5QpgOqz6aqYuzA4abyAGx+mgyiDXn4A049xAN8gijbuR1Qg==} + '@biomejs/cli-darwin-arm64@2.5.8': + resolution: {integrity: sha512-mk1QON9PHllvvLN5gU3f4rMxeh4syK5p9OvKyWH6/W8ueh04uaC8TUXXByhGufWf/y5mQc03ZLM45zU+cmqMjA==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [darwin] - '@biomejs/cli-darwin-x64@2.4.15': - resolution: {integrity: sha512-/5KHXYMfSJs1fNXiX30xFtI8JcCFV6zaVVLxOa0M2sfqBKHkpQhRTv94yxQWxeTY2lzo2OuTlNvPC+hDQt2wcQ==} + '@biomejs/cli-darwin-x64@2.5.8': + resolution: {integrity: sha512-bsGwFMBNyHPyiLSsQcZJxdoRrg1V4JL+d7wEsvUBczlP9U9lwM+7mzQHxI4o1mhBsTmdOBbAb6fHU3Z3snN45w==} engines: {node: '>=14.21.3'} cpu: [x64] os: [darwin] - '@biomejs/cli-linux-arm64-musl@2.4.15': - resolution: {integrity: sha512-ZPcxznxm0pogHBLZhYntyR3sR+MrZjqJIKEr7ZqVen0Rl+P/4upVmfYXjftizi9RoqZntg33fv/1fbdhbYXpEQ==} + '@biomejs/cli-linux-arm64-musl@2.5.8': + resolution: {integrity: sha512-VcJNbstduTHx83NGAdhp78/JOcP45BZHXL7yNsfI1uGzdUgegAz2s+mSoT7wK6PBNzLoqG0zDOXaz/RQYVtSiw==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] libc: [musl] - '@biomejs/cli-linux-arm64@2.4.15': - resolution: {integrity: sha512-owaAMZD/T4LrD0ELNCk0Km3qrRHuM0X6EAyVE1FSqGY0rbLoiDLrO4Us2tllm6cAeB2Ioa9C2C08NZPdr8+0Ug==} + '@biomejs/cli-linux-arm64@2.5.8': + resolution: {integrity: sha512-XmFiA0WPYFC+uiUDC8WRFzAIH9bo7vwQLav38Uoq4ETC+T/+uBi0TsYGJECkugY3r8USl3jc+Ae2/irAF6F2lQ==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] libc: [glibc] - '@biomejs/cli-linux-x64-musl@2.4.15': - resolution: {integrity: sha512-CNq/9W38SYSH023lfcQ4KKU8K0YX8T//FZUhcgtMMRABDojx5XsMV7jlweAvGSl389wJQB29Qo6Zb/a+jdvt+w==} + '@biomejs/cli-linux-x64-musl@2.5.8': + resolution: {integrity: sha512-kKmiyokeISRGq2FLwvr+TzsgBusfxaZ0FZNLcOYOpCK/78tRrEjeEBLvq3xLZMpqbANgJdRPI7vZX8ZL37u9/w==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] libc: [musl] - '@biomejs/cli-linux-x64@2.4.15': - resolution: {integrity: sha512-0jj7THz12GbUOLmMibktK6DZjqz2zV64KFxyBtcFTKPiiOIY0a7vns1elpO1dERvxpsZ5ik0oFfz0oGwFde1+g==} + '@biomejs/cli-linux-x64@2.5.8': + resolution: {integrity: sha512-S5wcm9OBDvLHodD4PUaN488hCpco9QD/9ZxuYJiw4euWtr/oQvLR72z2ixItH8Wd5BCm6FZaeb+YNvOoM1xHtQ==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] libc: [glibc] - '@biomejs/cli-win32-arm64@2.4.15': - resolution: {integrity: sha512-ouhkYdlhp/1GghEJPdWwD/Vi3gQ1nFxuSpMolWsbq3Lsq3QUR4jl6UdhhscdCugKU5vOEuMiJhvKj66O0OCq+w==} + '@biomejs/cli-win32-arm64@2.5.8': + resolution: {integrity: sha512-nILH0mzm3Hi3iEdd7o7GpB8kBR/mSQwfQG/tyBqyNrY2GFtcgwfV9nV8xLmbtUpMNY/Oi0Ml1XgfR4flOdq+AA==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [win32] - '@biomejs/cli-win32-x64@2.4.15': - resolution: {integrity: sha512-zBrGq5mx5wwpnow4+2BxUvleDM+GNd4sLbPaMapsSLQLD0NGRCquqPBTgN+7XkUteHvj7M+BstuI8tmnV7+HgQ==} + '@biomejs/cli-win32-x64@2.5.8': + resolution: {integrity: sha512-I2czzXTY61f3nFJxXoMDq80t7MivxDEnCjE+8sDKoFfcKMaoQdkqhIFQ3KyY0XLzeSpUBYeNAXgD+iOV/BU0VA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [win32] @@ -106,158 +106,158 @@ packages: '@dabh/diagnostics@2.0.8': resolution: {integrity: sha512-R4MSXTVnuMzGD7bzHdW2ZhhdPC/igELENcq5IjEverBvq5hn1SXCWcsi6eSsdWP0/Ur+SItRRjAktmdoX/8R/Q==} - '@esbuild/aix-ppc64@0.25.12': - resolution: {integrity: sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==} + '@esbuild/aix-ppc64@0.28.2': + resolution: {integrity: sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==} engines: {node: '>=18'} cpu: [ppc64] os: [aix] - '@esbuild/android-arm64@0.25.12': - resolution: {integrity: sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==} + '@esbuild/android-arm64@0.28.2': + resolution: {integrity: sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==} engines: {node: '>=18'} cpu: [arm64] os: [android] - '@esbuild/android-arm@0.25.12': - resolution: {integrity: sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==} + '@esbuild/android-arm@0.28.2': + resolution: {integrity: sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==} engines: {node: '>=18'} cpu: [arm] os: [android] - '@esbuild/android-x64@0.25.12': - resolution: {integrity: sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==} + '@esbuild/android-x64@0.28.2': + resolution: {integrity: sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==} engines: {node: '>=18'} cpu: [x64] os: [android] - '@esbuild/darwin-arm64@0.25.12': - resolution: {integrity: sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==} + '@esbuild/darwin-arm64@0.28.2': + resolution: {integrity: sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==} engines: {node: '>=18'} cpu: [arm64] os: [darwin] - '@esbuild/darwin-x64@0.25.12': - resolution: {integrity: sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==} + '@esbuild/darwin-x64@0.28.2': + resolution: {integrity: sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==} engines: {node: '>=18'} cpu: [x64] os: [darwin] - '@esbuild/freebsd-arm64@0.25.12': - resolution: {integrity: sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==} + '@esbuild/freebsd-arm64@0.28.2': + resolution: {integrity: sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==} engines: {node: '>=18'} cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-x64@0.25.12': - resolution: {integrity: sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==} + '@esbuild/freebsd-x64@0.28.2': + resolution: {integrity: sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==} engines: {node: '>=18'} cpu: [x64] os: [freebsd] - '@esbuild/linux-arm64@0.25.12': - resolution: {integrity: sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==} + '@esbuild/linux-arm64@0.28.2': + resolution: {integrity: sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==} engines: {node: '>=18'} cpu: [arm64] os: [linux] - '@esbuild/linux-arm@0.25.12': - resolution: {integrity: sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==} + '@esbuild/linux-arm@0.28.2': + resolution: {integrity: sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==} engines: {node: '>=18'} cpu: [arm] os: [linux] - '@esbuild/linux-ia32@0.25.12': - resolution: {integrity: sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==} + '@esbuild/linux-ia32@0.28.2': + resolution: {integrity: sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==} engines: {node: '>=18'} cpu: [ia32] os: [linux] - '@esbuild/linux-loong64@0.25.12': - resolution: {integrity: sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==} + '@esbuild/linux-loong64@0.28.2': + resolution: {integrity: sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==} engines: {node: '>=18'} cpu: [loong64] os: [linux] - '@esbuild/linux-mips64el@0.25.12': - resolution: {integrity: sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==} + '@esbuild/linux-mips64el@0.28.2': + resolution: {integrity: sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==} engines: {node: '>=18'} cpu: [mips64el] os: [linux] - '@esbuild/linux-ppc64@0.25.12': - resolution: {integrity: sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==} + '@esbuild/linux-ppc64@0.28.2': + resolution: {integrity: sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==} engines: {node: '>=18'} cpu: [ppc64] os: [linux] - '@esbuild/linux-riscv64@0.25.12': - resolution: {integrity: sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==} + '@esbuild/linux-riscv64@0.28.2': + resolution: {integrity: sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==} engines: {node: '>=18'} cpu: [riscv64] os: [linux] - '@esbuild/linux-s390x@0.25.12': - resolution: {integrity: sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==} + '@esbuild/linux-s390x@0.28.2': + resolution: {integrity: sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==} engines: {node: '>=18'} cpu: [s390x] os: [linux] - '@esbuild/linux-x64@0.25.12': - resolution: {integrity: sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==} + '@esbuild/linux-x64@0.28.2': + resolution: {integrity: sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==} engines: {node: '>=18'} cpu: [x64] os: [linux] - '@esbuild/netbsd-arm64@0.25.12': - resolution: {integrity: sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==} + '@esbuild/netbsd-arm64@0.28.2': + resolution: {integrity: sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==} engines: {node: '>=18'} cpu: [arm64] os: [netbsd] - '@esbuild/netbsd-x64@0.25.12': - resolution: {integrity: sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==} + '@esbuild/netbsd-x64@0.28.2': + resolution: {integrity: sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==} engines: {node: '>=18'} cpu: [x64] os: [netbsd] - '@esbuild/openbsd-arm64@0.25.12': - resolution: {integrity: sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==} + '@esbuild/openbsd-arm64@0.28.2': + resolution: {integrity: sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==} engines: {node: '>=18'} cpu: [arm64] os: [openbsd] - '@esbuild/openbsd-x64@0.25.12': - resolution: {integrity: sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==} + '@esbuild/openbsd-x64@0.28.2': + resolution: {integrity: sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==} engines: {node: '>=18'} cpu: [x64] os: [openbsd] - '@esbuild/openharmony-arm64@0.25.12': - resolution: {integrity: sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==} + '@esbuild/openharmony-arm64@0.28.2': + resolution: {integrity: sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==} engines: {node: '>=18'} cpu: [arm64] os: [openharmony] - '@esbuild/sunos-x64@0.25.12': - resolution: {integrity: sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==} + '@esbuild/sunos-x64@0.28.2': + resolution: {integrity: sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==} engines: {node: '>=18'} cpu: [x64] os: [sunos] - '@esbuild/win32-arm64@0.25.12': - resolution: {integrity: sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==} + '@esbuild/win32-arm64@0.28.2': + resolution: {integrity: sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==} engines: {node: '>=18'} cpu: [arm64] os: [win32] - '@esbuild/win32-ia32@0.25.12': - resolution: {integrity: sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==} + '@esbuild/win32-ia32@0.28.2': + resolution: {integrity: sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==} engines: {node: '>=18'} cpu: [ia32] os: [win32] - '@esbuild/win32-x64@0.25.12': - resolution: {integrity: sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==} + '@esbuild/win32-x64@0.28.2': + resolution: {integrity: sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==} engines: {node: '>=18'} cpu: [x64] os: [win32] @@ -291,6 +291,126 @@ packages: '@types/triple-beam@1.3.5': resolution: {integrity: sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==} + '@typescript/typescript-aix-ppc64@7.0.2': + resolution: {integrity: sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==} + engines: {node: '>=16.20.0'} + cpu: [ppc64] + os: [aix] + + '@typescript/typescript-darwin-arm64@7.0.2': + resolution: {integrity: sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [darwin] + + '@typescript/typescript-darwin-x64@7.0.2': + resolution: {integrity: sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [darwin] + + '@typescript/typescript-freebsd-arm64@7.0.2': + resolution: {integrity: sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [freebsd] + + '@typescript/typescript-freebsd-x64@7.0.2': + resolution: {integrity: sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [freebsd] + + '@typescript/typescript-linux-arm64@7.0.2': + resolution: {integrity: sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [linux] + + '@typescript/typescript-linux-arm@7.0.2': + resolution: {integrity: sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==} + engines: {node: '>=16.20.0'} + cpu: [arm] + os: [linux] + + '@typescript/typescript-linux-loong64@7.0.2': + resolution: {integrity: sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==} + engines: {node: '>=16.20.0'} + cpu: [loong64] + os: [linux] + + '@typescript/typescript-linux-mips64el@7.0.2': + resolution: {integrity: sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==} + engines: {node: '>=16.20.0'} + cpu: [mips64el] + os: [linux] + + '@typescript/typescript-linux-ppc64@7.0.2': + resolution: {integrity: sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==} + engines: {node: '>=16.20.0'} + cpu: [ppc64] + os: [linux] + + '@typescript/typescript-linux-riscv64@7.0.2': + resolution: {integrity: sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==} + engines: {node: '>=16.20.0'} + cpu: [riscv64] + os: [linux] + + '@typescript/typescript-linux-s390x@7.0.2': + resolution: {integrity: sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==} + engines: {node: '>=16.20.0'} + cpu: [s390x] + os: [linux] + + '@typescript/typescript-linux-x64@7.0.2': + resolution: {integrity: sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [linux] + + '@typescript/typescript-netbsd-arm64@7.0.2': + resolution: {integrity: sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [netbsd] + + '@typescript/typescript-netbsd-x64@7.0.2': + resolution: {integrity: sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [netbsd] + + '@typescript/typescript-openbsd-arm64@7.0.2': + resolution: {integrity: sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [openbsd] + + '@typescript/typescript-openbsd-x64@7.0.2': + resolution: {integrity: sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [openbsd] + + '@typescript/typescript-sunos-x64@7.0.2': + resolution: {integrity: sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [sunos] + + '@typescript/typescript-win32-arm64@7.0.2': + resolution: {integrity: sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [win32] + + '@typescript/typescript-win32-x64@7.0.2': + resolution: {integrity: sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [win32] + accepts@2.0.0: resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==} engines: {node: '>= 0.6'} @@ -433,8 +553,8 @@ packages: resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==} engines: {node: '>= 0.4'} - esbuild@0.25.12: - resolution: {integrity: sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==} + esbuild@0.28.2: + resolution: {integrity: sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==} engines: {node: '>=18'} hasBin: true @@ -668,12 +788,12 @@ packages: resolution: {integrity: sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==} engines: {node: '>=10'} - purecloud-flow-scripting-api-sdk-javascript@0.66.6: - resolution: {integrity: sha512-00+sYdp3R8I885Biz1mLI+5yrtZv/oQ5SHcO6qMQj+iv+oPd1HuLbCZZX9+DVjlPKHaDWGq/KJnQ23hQCuoRiQ==} + purecloud-flow-scripting-api-sdk-javascript@0.68.3: + resolution: {integrity: sha512-KdgRI+kiYJOi/bpFxwp1y1Xw3K7/3JNlfp3YsX1Eh49d9s3q6f0xbwFHd6Go9k07LpumZhYsR1ncCGLDAn7UkA==} engines: {node: '>=20.0.0'} - purecloud-platform-client-v2@252.1.0: - resolution: {integrity: sha512-TD1u4H/HInP230a9Gstw4T52HZo3CKo3cot4qMHXj9yo7qVla1pM4UNPn70Rm7XsW6aNHqDd48LSEetHY3h88g==} + purecloud-platform-client-v2@258.2.0: + resolution: {integrity: sha512-uWm/tOR65wumYGF7c7yxb9R1ZK5A4Tf26ld+n3pg4URQqikrlSSEUem1Vgx1f1pZo513GqQAhz+bZsYuc53TWg==} qs@6.15.3: resolution: {integrity: sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A==} @@ -769,9 +889,9 @@ packages: resolution: {integrity: sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==} engines: {node: '>= 18'} - typescript@5.9.3: - resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} - engines: {node: '>=14.17'} + typescript@7.0.2: + resolution: {integrity: sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==} + engines: {node: '>=16.20.0'} hasBin: true undici-types@7.24.6: @@ -804,8 +924,8 @@ packages: wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - ws@8.20.1: - resolution: {integrity: sha512-It4dO0K5v//JtTXuPkfEOaI3uUN87iYPnqo/ZzqCoG3g8uhA66QUMs/SrM0YK7/NAu+r4LMh/9dq2A7k+rHs+w==} + ws@8.21.1: + resolution: {integrity: sha512-+0NTnW77fFN/DjQi6k/Sq/Yvk4Sgajw7urW8V+asjXnRgDs9gyGkdb7EzgfhA4goXsRIZKE28fzIXBHEzhuiWw==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 @@ -826,39 +946,39 @@ packages: snapshots: - '@biomejs/biome@2.4.15': + '@biomejs/biome@2.5.8': optionalDependencies: - '@biomejs/cli-darwin-arm64': 2.4.15 - '@biomejs/cli-darwin-x64': 2.4.15 - '@biomejs/cli-linux-arm64': 2.4.15 - '@biomejs/cli-linux-arm64-musl': 2.4.15 - '@biomejs/cli-linux-x64': 2.4.15 - '@biomejs/cli-linux-x64-musl': 2.4.15 - '@biomejs/cli-win32-arm64': 2.4.15 - '@biomejs/cli-win32-x64': 2.4.15 - - '@biomejs/cli-darwin-arm64@2.4.15': + '@biomejs/cli-darwin-arm64': 2.5.8 + '@biomejs/cli-darwin-x64': 2.5.8 + '@biomejs/cli-linux-arm64': 2.5.8 + '@biomejs/cli-linux-arm64-musl': 2.5.8 + '@biomejs/cli-linux-x64': 2.5.8 + '@biomejs/cli-linux-x64-musl': 2.5.8 + '@biomejs/cli-win32-arm64': 2.5.8 + '@biomejs/cli-win32-x64': 2.5.8 + + '@biomejs/cli-darwin-arm64@2.5.8': optional: true - '@biomejs/cli-darwin-x64@2.4.15': + '@biomejs/cli-darwin-x64@2.5.8': optional: true - '@biomejs/cli-linux-arm64-musl@2.4.15': + '@biomejs/cli-linux-arm64-musl@2.5.8': optional: true - '@biomejs/cli-linux-arm64@2.4.15': + '@biomejs/cli-linux-arm64@2.5.8': optional: true - '@biomejs/cli-linux-x64-musl@2.4.15': + '@biomejs/cli-linux-x64-musl@2.5.8': optional: true - '@biomejs/cli-linux-x64@2.4.15': + '@biomejs/cli-linux-x64@2.5.8': optional: true - '@biomejs/cli-win32-arm64@2.4.15': + '@biomejs/cli-win32-arm64@2.5.8': optional: true - '@biomejs/cli-win32-x64@2.4.15': + '@biomejs/cli-win32-x64@2.5.8': optional: true '@colors/colors@1.6.0': {} @@ -869,82 +989,82 @@ snapshots: enabled: 2.0.0 kuler: 2.0.0 - '@esbuild/aix-ppc64@0.25.12': + '@esbuild/aix-ppc64@0.28.2': optional: true - '@esbuild/android-arm64@0.25.12': + '@esbuild/android-arm64@0.28.2': optional: true - '@esbuild/android-arm@0.25.12': + '@esbuild/android-arm@0.28.2': optional: true - '@esbuild/android-x64@0.25.12': + '@esbuild/android-x64@0.28.2': optional: true - '@esbuild/darwin-arm64@0.25.12': + '@esbuild/darwin-arm64@0.28.2': optional: true - '@esbuild/darwin-x64@0.25.12': + '@esbuild/darwin-x64@0.28.2': optional: true - '@esbuild/freebsd-arm64@0.25.12': + '@esbuild/freebsd-arm64@0.28.2': optional: true - '@esbuild/freebsd-x64@0.25.12': + '@esbuild/freebsd-x64@0.28.2': optional: true - '@esbuild/linux-arm64@0.25.12': + '@esbuild/linux-arm64@0.28.2': optional: true - '@esbuild/linux-arm@0.25.12': + '@esbuild/linux-arm@0.28.2': optional: true - '@esbuild/linux-ia32@0.25.12': + '@esbuild/linux-ia32@0.28.2': optional: true - '@esbuild/linux-loong64@0.25.12': + '@esbuild/linux-loong64@0.28.2': optional: true - '@esbuild/linux-mips64el@0.25.12': + '@esbuild/linux-mips64el@0.28.2': optional: true - '@esbuild/linux-ppc64@0.25.12': + '@esbuild/linux-ppc64@0.28.2': optional: true - '@esbuild/linux-riscv64@0.25.12': + '@esbuild/linux-riscv64@0.28.2': optional: true - '@esbuild/linux-s390x@0.25.12': + '@esbuild/linux-s390x@0.28.2': optional: true - '@esbuild/linux-x64@0.25.12': + '@esbuild/linux-x64@0.28.2': optional: true - '@esbuild/netbsd-arm64@0.25.12': + '@esbuild/netbsd-arm64@0.28.2': optional: true - '@esbuild/netbsd-x64@0.25.12': + '@esbuild/netbsd-x64@0.28.2': optional: true - '@esbuild/openbsd-arm64@0.25.12': + '@esbuild/openbsd-arm64@0.28.2': optional: true - '@esbuild/openbsd-x64@0.25.12': + '@esbuild/openbsd-x64@0.28.2': optional: true - '@esbuild/openharmony-arm64@0.25.12': + '@esbuild/openharmony-arm64@0.28.2': optional: true - '@esbuild/sunos-x64@0.25.12': + '@esbuild/sunos-x64@0.28.2': optional: true - '@esbuild/win32-arm64@0.25.12': + '@esbuild/win32-arm64@0.28.2': optional: true - '@esbuild/win32-ia32@0.25.12': + '@esbuild/win32-ia32@0.28.2': optional: true - '@esbuild/win32-x64@0.25.12': + '@esbuild/win32-x64@0.28.2': optional: true '@hono/node-server@2.0.12(hono@4.13.0)': @@ -986,6 +1106,66 @@ snapshots: '@types/triple-beam@1.3.5': {} + '@typescript/typescript-aix-ppc64@7.0.2': + optional: true + + '@typescript/typescript-darwin-arm64@7.0.2': + optional: true + + '@typescript/typescript-darwin-x64@7.0.2': + optional: true + + '@typescript/typescript-freebsd-arm64@7.0.2': + optional: true + + '@typescript/typescript-freebsd-x64@7.0.2': + optional: true + + '@typescript/typescript-linux-arm64@7.0.2': + optional: true + + '@typescript/typescript-linux-arm@7.0.2': + optional: true + + '@typescript/typescript-linux-loong64@7.0.2': + optional: true + + '@typescript/typescript-linux-mips64el@7.0.2': + optional: true + + '@typescript/typescript-linux-ppc64@7.0.2': + optional: true + + '@typescript/typescript-linux-riscv64@7.0.2': + optional: true + + '@typescript/typescript-linux-s390x@7.0.2': + optional: true + + '@typescript/typescript-linux-x64@7.0.2': + optional: true + + '@typescript/typescript-netbsd-arm64@7.0.2': + optional: true + + '@typescript/typescript-netbsd-x64@7.0.2': + optional: true + + '@typescript/typescript-openbsd-arm64@7.0.2': + optional: true + + '@typescript/typescript-openbsd-x64@7.0.2': + optional: true + + '@typescript/typescript-sunos-x64@7.0.2': + optional: true + + '@typescript/typescript-win32-arm64@7.0.2': + optional: true + + '@typescript/typescript-win32-x64@7.0.2': + optional: true + accepts@2.0.0: dependencies: mime-types: 3.0.2 @@ -1127,34 +1307,34 @@ snapshots: has-tostringtag: 1.0.2 hasown: 2.0.4 - esbuild@0.25.12: + esbuild@0.28.2: optionalDependencies: - '@esbuild/aix-ppc64': 0.25.12 - '@esbuild/android-arm': 0.25.12 - '@esbuild/android-arm64': 0.25.12 - '@esbuild/android-x64': 0.25.12 - '@esbuild/darwin-arm64': 0.25.12 - '@esbuild/darwin-x64': 0.25.12 - '@esbuild/freebsd-arm64': 0.25.12 - '@esbuild/freebsd-x64': 0.25.12 - '@esbuild/linux-arm': 0.25.12 - '@esbuild/linux-arm64': 0.25.12 - '@esbuild/linux-ia32': 0.25.12 - '@esbuild/linux-loong64': 0.25.12 - '@esbuild/linux-mips64el': 0.25.12 - '@esbuild/linux-ppc64': 0.25.12 - '@esbuild/linux-riscv64': 0.25.12 - '@esbuild/linux-s390x': 0.25.12 - '@esbuild/linux-x64': 0.25.12 - '@esbuild/netbsd-arm64': 0.25.12 - '@esbuild/netbsd-x64': 0.25.12 - '@esbuild/openbsd-arm64': 0.25.12 - '@esbuild/openbsd-x64': 0.25.12 - '@esbuild/openharmony-arm64': 0.25.12 - '@esbuild/sunos-x64': 0.25.12 - '@esbuild/win32-arm64': 0.25.12 - '@esbuild/win32-ia32': 0.25.12 - '@esbuild/win32-x64': 0.25.12 + '@esbuild/aix-ppc64': 0.28.2 + '@esbuild/android-arm': 0.28.2 + '@esbuild/android-arm64': 0.28.2 + '@esbuild/android-x64': 0.28.2 + '@esbuild/darwin-arm64': 0.28.2 + '@esbuild/darwin-x64': 0.28.2 + '@esbuild/freebsd-arm64': 0.28.2 + '@esbuild/freebsd-x64': 0.28.2 + '@esbuild/linux-arm': 0.28.2 + '@esbuild/linux-arm64': 0.28.2 + '@esbuild/linux-ia32': 0.28.2 + '@esbuild/linux-loong64': 0.28.2 + '@esbuild/linux-mips64el': 0.28.2 + '@esbuild/linux-ppc64': 0.28.2 + '@esbuild/linux-riscv64': 0.28.2 + '@esbuild/linux-s390x': 0.28.2 + '@esbuild/linux-x64': 0.28.2 + '@esbuild/netbsd-arm64': 0.28.2 + '@esbuild/netbsd-x64': 0.28.2 + '@esbuild/openbsd-arm64': 0.28.2 + '@esbuild/openbsd-x64': 0.28.2 + '@esbuild/openharmony-arm64': 0.28.2 + '@esbuild/sunos-x64': 0.28.2 + '@esbuild/win32-arm64': 0.28.2 + '@esbuild/win32-ia32': 0.28.2 + '@esbuild/win32-x64': 0.28.2 escape-html@1.0.3: {} @@ -1383,18 +1563,17 @@ snapshots: proxy-from-env@2.1.0: {} - purecloud-flow-scripting-api-sdk-javascript@0.66.6: + purecloud-flow-scripting-api-sdk-javascript@0.68.3: dependencies: - ws: 8.20.1 + ws: 8.21.1 transitivePeerDependencies: - bufferutil - utf-8-validate - purecloud-platform-client-v2@252.1.0: + purecloud-platform-client-v2@258.2.0: dependencies: axios: 1.19.0 configparser: 0.3.10 - qs: 6.15.3 winston: 3.19.0 transitivePeerDependencies: - debug @@ -1519,7 +1698,28 @@ snapshots: media-typer: 1.1.1 mime-types: 3.0.2 - typescript@5.9.3: {} + typescript@7.0.2: + optionalDependencies: + '@typescript/typescript-aix-ppc64': 7.0.2 + '@typescript/typescript-darwin-arm64': 7.0.2 + '@typescript/typescript-darwin-x64': 7.0.2 + '@typescript/typescript-freebsd-arm64': 7.0.2 + '@typescript/typescript-freebsd-x64': 7.0.2 + '@typescript/typescript-linux-arm': 7.0.2 + '@typescript/typescript-linux-arm64': 7.0.2 + '@typescript/typescript-linux-loong64': 7.0.2 + '@typescript/typescript-linux-mips64el': 7.0.2 + '@typescript/typescript-linux-ppc64': 7.0.2 + '@typescript/typescript-linux-riscv64': 7.0.2 + '@typescript/typescript-linux-s390x': 7.0.2 + '@typescript/typescript-linux-x64': 7.0.2 + '@typescript/typescript-netbsd-arm64': 7.0.2 + '@typescript/typescript-netbsd-x64': 7.0.2 + '@typescript/typescript-openbsd-arm64': 7.0.2 + '@typescript/typescript-openbsd-x64': 7.0.2 + '@typescript/typescript-sunos-x64': 7.0.2 + '@typescript/typescript-win32-arm64': 7.0.2 + '@typescript/typescript-win32-x64': 7.0.2 undici-types@7.24.6: {} @@ -1555,7 +1755,7 @@ snapshots: wrappy@1.0.2: {} - ws@8.20.1: {} + ws@8.21.1: {} zod-to-json-schema@3.25.2(zod@4.4.3): dependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index c93b765..3883553 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -6,3 +6,13 @@ allowBuilds: minimumReleaseAgeExclude: - '@makingchatbots/genesys-cloud-architect-diagram-lib@1.1.0' - '@makingchatbots/genesys-cloud-architect-diagram-lib@1.3.0' + - purecloud-flow-scripting-api-sdk-javascript@0.68.3 + - '@biomejs/biome@2.5.8' + - '@biomejs/cli-darwin-arm64@2.5.8' + - '@biomejs/cli-darwin-x64@2.5.8' + - '@biomejs/cli-linux-arm64-musl@2.5.8' + - '@biomejs/cli-linux-arm64@2.5.8' + - '@biomejs/cli-linux-x64-musl@2.5.8' + - '@biomejs/cli-linux-x64@2.5.8' + - '@biomejs/cli-win32-arm64@2.5.8' + - '@biomejs/cli-win32-x64@2.5.8' diff --git a/servers/genesys-cloud-architect-mcp.js b/servers/genesys-cloud-architect-mcp.js index cce1a3f..de044d2 100644 --- a/servers/genesys-cloud-architect-mcp.js +++ b/servers/genesys-cloud-architect-mcp.js @@ -1,120 +1,117 @@ -"use strict";var Oz=Object.create;var Hd=Object.defineProperty;var xz=Object.getOwnPropertyDescriptor;var Tz=Object.getOwnPropertyNames;var Mz=Object.getPrototypeOf,Ez=Object.prototype.hasOwnProperty;var v=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Id=(t,e)=>{for(var n in e)Hd(t,n,{get:e[n],enumerable:!0})},kz=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Tz(e))!Ez.call(t,a)&&a!==n&&Hd(t,a,{get:()=>e[a],enumerable:!(i=xz(e,a))||i.enumerable});return t};var gr=(t,e,n)=>(n=t!=null?Oz(Mz(t)):{},kz(e||!t||!t.__esModule?Hd(n,"default",{value:t,enumerable:!0}):n,t));var wo=v(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.regexpCode=Oe.getEsmExportName=Oe.getProperty=Oe.safeStringify=Oe.stringify=Oe.strConcat=Oe.addCodeArg=Oe.str=Oe._=Oe.nil=Oe._Code=Oe.Name=Oe.IDENTIFIER=Oe._CodeOrName=void 0;var mo=class{};Oe._CodeOrName=mo;Oe.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var Ea=class extends mo{constructor(e){if(super(),!Oe.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};Oe.Name=Ea;var vi=class extends mo{constructor(e){super(),this._items=typeof e=="string"?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let e=this._items[0];return e===""||e==='""'}get str(){var e;return(e=this._str)!==null&&e!==void 0?e:this._str=this._items.reduce((n,i)=>`${n}${i}`,"")}get names(){var e;return(e=this._names)!==null&&e!==void 0?e:this._names=this._items.reduce((n,i)=>(i instanceof Ea&&(n[i.str]=(n[i.str]||0)+1),n),{})}};Oe._Code=vi;Oe.nil=new vi("");function _O(t,...e){let n=[t[0]],i=0;for(;i{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.ValueScope=Kn.ValueScopeName=Kn.Scope=Kn.varKinds=Kn.UsedValueState=void 0;var Zn=wo(),Rm=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}},ec;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(ec||(Kn.UsedValueState=ec={}));Kn.varKinds={const:new Zn.Name("const"),let:new Zn.Name("let"),var:new Zn.Name("var")};var nc=class{constructor({prefixes:e,parent:n}={}){this._names={},this._prefixes=e,this._parent=n}toName(e){return e instanceof Zn.Name?e:this.name(e)}name(e){return new Zn.Name(this._newName(e))}_newName(e){let n=this._names[e]||this._nameGroup(e);return`${e}${n.index++}`}_nameGroup(e){var n,i;if(!((i=(n=this._parent)===null||n===void 0?void 0:n._prefixes)===null||i===void 0)&&i.has(e)||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}};Kn.Scope=nc;var ic=class extends Zn.Name{constructor(e,n){super(n),this.prefix=e}setValue(e,{property:n,itemIndex:i}){this.value=e,this.scopePath=(0,Zn._)`.${new Zn.Name(n)}[${i}]`}};Kn.ValueScopeName=ic;var ZN=(0,Zn._)`\n`,zm=class extends nc{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?ZN:Zn.nil}}get(){return this._scope}name(e){return new ic(e,this._newName(e))}value(e,n){var i;if(n.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let a=this.toName(e),{prefix:r}=a,s=(i=n.key)!==null&&i!==void 0?i:n.ref,o=this._values[r];if(o){let c=o.get(s);if(c)return c}else o=this._values[r]=new Map;o.set(s,a);let l=this._scope[r]||(this._scope[r]=[]),u=l.length;return l[u]=n.ref,a.setValue(n,{property:r,itemIndex:u}),a}getValue(e,n){let i=this._values[e];if(i)return i.get(n)}scopeRefs(e,n=this._values){return this._reduceValues(n,i=>{if(i.scopePath===void 0)throw new Error(`CodeGen: name "${i}" has no value`);return(0,Zn._)`${e}${i.scopePath}`})}scopeCode(e=this._values,n,i){return this._reduceValues(e,a=>{if(a.value===void 0)throw new Error(`CodeGen: name "${a}" has no value`);return a.value.code},n,i)}_reduceValues(e,n,i={},a){let r=Zn.nil;for(let s in e){let o=e[s];if(!o)continue;let l=i[s]=i[s]||new Map;o.forEach(u=>{if(l.has(u))return;l.set(u,ec.Started);let c=n(u);if(c){let p=this.opts.es5?Kn.varKinds.var:Kn.varKinds.const;r=(0,Zn._)`${r}${p} ${u} = ${c};${this.opts._n}`}else if(c=a?.(u))r=(0,Zn._)`${r}${c}${this.opts._n}`;else throw new Rm(u);l.set(u,ec.Completed)})}return r}};Kn.ValueScope=zm});var le=v(ue=>{"use strict";Object.defineProperty(ue,"__esModule",{value:!0});ue.or=ue.and=ue.not=ue.CodeGen=ue.operators=ue.varKinds=ue.ValueScopeName=ue.ValueScope=ue.Scope=ue.Name=ue.regexpCode=ue.stringify=ue.getProperty=ue.nil=ue.strConcat=ue.str=ue._=void 0;var Ae=wo(),Ei=Dm(),Dt=wo();Object.defineProperty(ue,"_",{enumerable:!0,get:function(){return Dt._}});Object.defineProperty(ue,"str",{enumerable:!0,get:function(){return Dt.str}});Object.defineProperty(ue,"strConcat",{enumerable:!0,get:function(){return Dt.strConcat}});Object.defineProperty(ue,"nil",{enumerable:!0,get:function(){return Dt.nil}});Object.defineProperty(ue,"getProperty",{enumerable:!0,get:function(){return Dt.getProperty}});Object.defineProperty(ue,"stringify",{enumerable:!0,get:function(){return Dt.stringify}});Object.defineProperty(ue,"regexpCode",{enumerable:!0,get:function(){return Dt.regexpCode}});Object.defineProperty(ue,"Name",{enumerable:!0,get:function(){return Dt.Name}});var sc=Dm();Object.defineProperty(ue,"Scope",{enumerable:!0,get:function(){return sc.Scope}});Object.defineProperty(ue,"ValueScope",{enumerable:!0,get:function(){return sc.ValueScope}});Object.defineProperty(ue,"ValueScopeName",{enumerable:!0,get:function(){return sc.ValueScopeName}});Object.defineProperty(ue,"varKinds",{enumerable:!0,get:function(){return sc.varKinds}});ue.operators={GT:new Ae._Code(">"),GTE:new Ae._Code(">="),LT:new Ae._Code("<"),LTE:new Ae._Code("<="),EQ:new Ae._Code("==="),NEQ:new Ae._Code("!=="),NOT:new Ae._Code("!"),OR:new Ae._Code("||"),AND:new Ae._Code("&&"),ADD:new Ae._Code("+")};var mt=class{optimizeNodes(){return this}optimizeNames(e,n){return this}},Gm=class extends mt{constructor(e,n,i){super(),this.varKind=e,this.name=n,this.rhs=i}render({es5:e,_n:n}){let i=e?Ei.varKinds.var:this.varKind,a=this.rhs===void 0?"":` = ${this.rhs}`;return`${i} ${this.name}${a};`+n}optimizeNames(e,n){if(e[this.name.str])return this.rhs&&(this.rhs=zr(this.rhs,e,n)),this}get names(){return this.rhs instanceof Ae._CodeOrName?this.rhs.names:{}}},tc=class extends mt{constructor(e,n,i){super(),this.lhs=e,this.rhs=n,this.sideEffects=i}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,n){if(!(this.lhs instanceof Ae.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=zr(this.rhs,e,n),this}get names(){let e=this.lhs instanceof Ae.Name?{}:{...this.lhs.names};return rc(e,this.rhs)}},$m=class extends tc{constructor(e,n,i,a){super(e,i,a),this.op=n}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},Nm=class extends mt{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},Um=class extends mt{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}},Lm=class extends mt{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},Wm=class extends mt{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,n){return this.code=zr(this.code,e,n),this}get names(){return this.code instanceof Ae._CodeOrName?this.code.names:{}}},vo=class extends mt{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((n,i)=>n+i.render(e),"")}optimizeNodes(){let{nodes:e}=this,n=e.length;for(;n--;){let i=e[n].optimizeNodes();Array.isArray(i)?e.splice(n,1,...i):i?e[n]=i:e.splice(n,1)}return e.length>0?this:void 0}optimizeNames(e,n){let{nodes:i}=this,a=i.length;for(;a--;){let r=i[a];r.optimizeNames(e,n)||(KN(e,r.names),i.splice(a,1))}return i.length>0?this:void 0}get names(){return this.nodes.reduce((e,n)=>_a(e,n.names),{})}},ft=class extends vo{render(e){return"{"+e._n+super.render(e)+"}"+e._n}},Bm=class extends vo{},Rr=class extends ft{};Rr.kind="else";var ka=class t extends ft{constructor(e,n){super(n),this.condition=e}render(e){let n=`if(${this.condition})`+super.render(e);return this.else&&(n+="else "+this.else.render(e)),n}optimizeNodes(){super.optimizeNodes();let e=this.condition;if(e===!0)return this.nodes;let n=this.else;if(n){let i=n.optimizeNodes();n=this.else=Array.isArray(i)?new Rr(i):i}if(n)return e===!1?n instanceof t?n:n.nodes:this.nodes.length?this:new t(IO(e),n instanceof t?[n]:n.nodes);if(!(e===!1||!this.nodes.length))return this}optimizeNames(e,n){var i;if(this.else=(i=this.else)===null||i===void 0?void 0:i.optimizeNames(e,n),!!(super.optimizeNames(e,n)||this.else))return this.condition=zr(this.condition,e,n),this}get names(){let e=super.names;return rc(e,this.condition),this.else&&_a(e,this.else.names),e}};ka.kind="if";var qa=class extends ft{};qa.kind="for";var Fm=class extends qa{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,n){if(super.optimizeNames(e,n))return this.iteration=zr(this.iteration,e,n),this}get names(){return _a(super.names,this.iteration.names)}},Vm=class extends qa{constructor(e,n,i,a){super(),this.varKind=e,this.name=n,this.from=i,this.to=a}render(e){let n=e.es5?Ei.varKinds.var:this.varKind,{name:i,from:a,to:r}=this;return`for(${n} ${i}=${a}; ${i}<${r}; ${i}++)`+super.render(e)}get names(){let e=rc(super.names,this.from);return rc(e,this.to)}},ac=class extends qa{constructor(e,n,i,a){super(),this.loop=e,this.varKind=n,this.name=i,this.iterable=a}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,n){if(super.optimizeNames(e,n))return this.iterable=zr(this.iterable,e,n),this}get names(){return _a(super.names,this.iterable.names)}},Co=class extends ft{constructor(e,n,i){super(),this.name=e,this.args=n,this.async=i}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}};Co.kind="func";var Ao=class extends vo{render(e){return"return "+super.render(e)}};Ao.kind="return";var Jm=class extends ft{render(e){let n="try"+super.render(e);return this.catch&&(n+=this.catch.render(e)),this.finally&&(n+=this.finally.render(e)),n}optimizeNodes(){var e,n;return super.optimizeNodes(),(e=this.catch)===null||e===void 0||e.optimizeNodes(),(n=this.finally)===null||n===void 0||n.optimizeNodes(),this}optimizeNames(e,n){var i,a;return super.optimizeNames(e,n),(i=this.catch)===null||i===void 0||i.optimizeNames(e,n),(a=this.finally)===null||a===void 0||a.optimizeNames(e,n),this}get names(){let e=super.names;return this.catch&&_a(e,this.catch.names),this.finally&&_a(e,this.finally.names),e}},bo=class extends ft{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};bo.kind="catch";var yo=class extends ft{render(e){return"finally"+super.render(e)}};yo.kind="finally";var Zm=class{constructor(e,n={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...n,_n:n.lines?` -`:""},this._extScope=e,this._scope=new Ei.Scope({parent:e}),this._nodes=[new Bm]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,n){let i=this._extScope.value(e,n);return(this._values[i.prefix]||(this._values[i.prefix]=new Set)).add(i),i}getScopeValue(e,n){return this._extScope.getValue(e,n)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,n,i,a){let r=this._scope.toName(n);return i!==void 0&&a&&(this._constants[r.str]=i),this._leafNode(new Gm(e,r,i)),r}const(e,n,i){return this._def(Ei.varKinds.const,e,n,i)}let(e,n,i){return this._def(Ei.varKinds.let,e,n,i)}var(e,n,i){return this._def(Ei.varKinds.var,e,n,i)}assign(e,n,i){return this._leafNode(new tc(e,n,i))}add(e,n){return this._leafNode(new $m(e,ue.operators.ADD,n))}code(e){return typeof e=="function"?e():e!==Ae.nil&&this._leafNode(new Wm(e)),this}object(...e){let n=["{"];for(let[i,a]of e)n.length>1&&n.push(","),n.push(i),(i!==a||this.opts.es5)&&(n.push(":"),(0,Ae.addCodeArg)(n,a));return n.push("}"),new Ae._Code(n)}if(e,n,i){if(this._blockNode(new ka(e)),n&&i)this.code(n).else().code(i).endIf();else if(n)this.code(n).endIf();else if(i)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new ka(e))}else(){return this._elseNode(new Rr)}endIf(){return this._endBlockNode(ka,Rr)}_for(e,n){return this._blockNode(e),n&&this.code(n).endFor(),this}for(e,n){return this._for(new Fm(e),n)}forRange(e,n,i,a,r=this.opts.es5?Ei.varKinds.var:Ei.varKinds.let){let s=this._scope.toName(e);return this._for(new Vm(r,s,n,i),()=>a(s))}forOf(e,n,i,a=Ei.varKinds.const){let r=this._scope.toName(e);if(this.opts.es5){let s=n instanceof Ae.Name?n:this.var("_arr",n);return this.forRange("_i",0,(0,Ae._)`${s}.length`,o=>{this.var(r,(0,Ae._)`${s}[${o}]`),i(r)})}return this._for(new ac("of",a,r,n),()=>i(r))}forIn(e,n,i,a=this.opts.es5?Ei.varKinds.var:Ei.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,Ae._)`Object.keys(${n})`,i);let r=this._scope.toName(e);return this._for(new ac("in",a,r,n),()=>i(r))}endFor(){return this._endBlockNode(qa)}label(e){return this._leafNode(new Nm(e))}break(e){return this._leafNode(new Um(e))}return(e){let n=new Ao;if(this._blockNode(n),this.code(e),n.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Ao)}try(e,n,i){if(!n&&!i)throw new Error('CodeGen: "try" without "catch" and "finally"');let a=new Jm;if(this._blockNode(a),this.code(e),n){let r=this.name("e");this._currNode=a.catch=new bo(r),n(r)}return i&&(this._currNode=a.finally=new yo,this.code(i)),this._endBlockNode(bo,yo)}throw(e){return this._leafNode(new Lm(e))}block(e,n){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(n),this}endBlock(e){let n=this._blockStarts.pop();if(n===void 0)throw new Error("CodeGen: not in self-balancing block");let i=this._nodes.length-n;if(i<0||e!==void 0&&i!==e)throw new Error(`CodeGen: wrong number of nodes: ${i} vs ${e} expected`);return this._nodes.length=n,this}func(e,n=Ae.nil,i,a){return this._blockNode(new Co(e,n,i)),a&&this.code(a).endFunc(),this}endFunc(){return this._endBlockNode(Co)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,n){let i=this._currNode;if(i instanceof e||n&&i instanceof n)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${n?`${e.kind}/${n.kind}`:e.kind}"`)}_elseNode(e){let n=this._currNode;if(!(n instanceof ka))throw new Error('CodeGen: "else" without "if"');return this._currNode=n.else=e,this}get _root(){return this._nodes[0]}get _currNode(){let e=this._nodes;return e[e.length-1]}set _currNode(e){let n=this._nodes;n[n.length-1]=e}};ue.CodeGen=Zm;function _a(t,e){for(let n in e)t[n]=(t[n]||0)+(e[n]||0);return t}function rc(t,e){return e instanceof Ae._CodeOrName?_a(t,e.names):t}function zr(t,e,n){if(t instanceof Ae.Name)return i(t);if(!a(t))return t;return new Ae._Code(t._items.reduce((r,s)=>(s instanceof Ae.Name&&(s=i(s)),s instanceof Ae._Code?r.push(...s._items):r.push(s),r),[]));function i(r){let s=n[r.str];return s===void 0||e[r.str]!==1?r:(delete e[r.str],s)}function a(r){return r instanceof Ae._Code&&r._items.some(s=>s instanceof Ae.Name&&e[s.str]===1&&n[s.str]!==void 0)}}function KN(t,e){for(let n in e)t[n]=(t[n]||0)-(e[n]||0)}function IO(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:(0,Ae._)`!${Km(t)}`}ue.not=IO;var QN=RO(ue.operators.AND);function YN(...t){return t.reduce(QN)}ue.and=YN;var XN=RO(ue.operators.OR);function eU(...t){return t.reduce(XN)}ue.or=eU;function RO(t){return(e,n)=>e===Ae.nil?n:n===Ae.nil?e:(0,Ae._)`${Km(e)} ${t} ${Km(n)}`}function Km(t){return t instanceof Ae.Name?t:(0,Ae._)`(${t})`}});var ye=v(de=>{"use strict";Object.defineProperty(de,"__esModule",{value:!0});de.checkStrictMode=de.getErrorPath=de.Type=de.useFunc=de.setEvaluated=de.evaluatedPropsToName=de.mergeEvaluated=de.eachItem=de.unescapeJsonPointer=de.escapeJsonPointer=de.escapeFragment=de.unescapeFragment=de.schemaRefOrVal=de.schemaHasRulesButRef=de.schemaHasRules=de.checkUnknownRules=de.alwaysValidSchema=de.toHash=void 0;var Ie=le(),nU=wo();function iU(t){let e={};for(let n of t)e[n]=!0;return e}de.toHash=iU;function tU(t,e){return typeof e=="boolean"?e:Object.keys(e).length===0?!0:(GO(t,e),!$O(e,t.self.RULES.all))}de.alwaysValidSchema=tU;function GO(t,e=t.schema){let{opts:n,self:i}=t;if(!n.strictSchema||typeof e=="boolean")return;let a=i.RULES.keywords;for(let r in e)a[r]||LO(t,`unknown keyword: "${r}"`)}de.checkUnknownRules=GO;function $O(t,e){if(typeof t=="boolean")return!t;for(let n in t)if(e[n])return!0;return!1}de.schemaHasRules=$O;function aU(t,e){if(typeof t=="boolean")return!t;for(let n in t)if(n!=="$ref"&&e.all[n])return!0;return!1}de.schemaHasRulesButRef=aU;function rU({topSchemaRef:t,schemaPath:e},n,i,a){if(!a){if(typeof n=="number"||typeof n=="boolean")return n;if(typeof n=="string")return(0,Ie._)`${n}`}return(0,Ie._)`${t}${e}${(0,Ie.getProperty)(i)}`}de.schemaRefOrVal=rU;function sU(t){return NO(decodeURIComponent(t))}de.unescapeFragment=sU;function oU(t){return encodeURIComponent(Ym(t))}de.escapeFragment=oU;function Ym(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}de.escapeJsonPointer=Ym;function NO(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}de.unescapeJsonPointer=NO;function lU(t,e){if(Array.isArray(t))for(let n of t)e(n);else e(t)}de.eachItem=lU;function zO({mergeNames:t,mergeToName:e,mergeValues:n,resultToName:i}){return(a,r,s,o)=>{let l=s===void 0?r:s instanceof Ie.Name?(r instanceof Ie.Name?t(a,r,s):e(a,r,s),s):r instanceof Ie.Name?(e(a,s,r),r):n(r,s);return o===Ie.Name&&!(l instanceof Ie.Name)?i(a,l):l}}de.mergeEvaluated={props:zO({mergeNames:(t,e,n)=>t.if((0,Ie._)`${n} !== true && ${e} !== undefined`,()=>{t.if((0,Ie._)`${e} === true`,()=>t.assign(n,!0),()=>t.assign(n,(0,Ie._)`${n} || {}`).code((0,Ie._)`Object.assign(${n}, ${e})`))}),mergeToName:(t,e,n)=>t.if((0,Ie._)`${n} !== true`,()=>{e===!0?t.assign(n,!0):(t.assign(n,(0,Ie._)`${n} || {}`),Xm(t,n,e))}),mergeValues:(t,e)=>t===!0?!0:{...t,...e},resultToName:UO}),items:zO({mergeNames:(t,e,n)=>t.if((0,Ie._)`${n} !== true && ${e} !== undefined`,()=>t.assign(n,(0,Ie._)`${e} === true ? true : ${n} > ${e} ? ${n} : ${e}`)),mergeToName:(t,e,n)=>t.if((0,Ie._)`${n} !== true`,()=>t.assign(n,e===!0?!0:(0,Ie._)`${n} > ${e} ? ${n} : ${e}`)),mergeValues:(t,e)=>t===!0?!0:Math.max(t,e),resultToName:(t,e)=>t.var("items",e)})};function UO(t,e){if(e===!0)return t.var("props",!0);let n=t.var("props",(0,Ie._)`{}`);return e!==void 0&&Xm(t,n,e),n}de.evaluatedPropsToName=UO;function Xm(t,e,n){Object.keys(n).forEach(i=>t.assign((0,Ie._)`${e}${(0,Ie.getProperty)(i)}`,!0))}de.setEvaluated=Xm;var DO={};function uU(t,e){return t.scopeValue("func",{ref:e,code:DO[e.code]||(DO[e.code]=new nU._Code(e.code))})}de.useFunc=uU;var Qm;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(Qm||(de.Type=Qm={}));function cU(t,e,n){if(t instanceof Ie.Name){let i=e===Qm.Num;return n?i?(0,Ie._)`"[" + ${t} + "]"`:(0,Ie._)`"['" + ${t} + "']"`:i?(0,Ie._)`"/" + ${t}`:(0,Ie._)`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,Ie.getProperty)(t).toString():"/"+Ym(t)}de.getErrorPath=cU;function LO(t,e,n=t.opts.strictSchema){if(n){if(e=`strict mode: ${e}`,n===!0)throw new Error(e);t.self.logger.warn(e)}}de.checkStrictMode=LO});var wt=v(ef=>{"use strict";Object.defineProperty(ef,"__esModule",{value:!0});var Hn=le(),pU={data:new Hn.Name("data"),valCxt:new Hn.Name("valCxt"),instancePath:new Hn.Name("instancePath"),parentData:new Hn.Name("parentData"),parentDataProperty:new Hn.Name("parentDataProperty"),rootData:new Hn.Name("rootData"),dynamicAnchors:new Hn.Name("dynamicAnchors"),vErrors:new Hn.Name("vErrors"),errors:new Hn.Name("errors"),this:new Hn.Name("this"),self:new Hn.Name("self"),scope:new Hn.Name("scope"),json:new Hn.Name("json"),jsonPos:new Hn.Name("jsonPos"),jsonLen:new Hn.Name("jsonLen"),jsonPart:new Hn.Name("jsonPart")};ef.default=pU});var Po=v(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.extendErrors=In.resetErrorsCount=In.reportExtraError=In.reportError=In.keyword$DataError=In.keywordError=void 0;var Pe=le(),oc=ye(),Nn=wt();In.keywordError={message:({keyword:t})=>(0,Pe.str)`must pass "${t}" keyword validation`};In.keyword$DataError={message:({keyword:t,schemaType:e})=>e?(0,Pe.str)`"${t}" keyword must be ${e} ($data)`:(0,Pe.str)`"${t}" keyword is invalid ($data)`};function dU(t,e=In.keywordError,n,i){let{it:a}=t,{gen:r,compositeRule:s,allErrors:o}=a,l=FO(t,e,n);i??(s||o)?WO(r,l):BO(a,(0,Pe._)`[${l}]`)}In.reportError=dU;function hU(t,e=In.keywordError,n){let{it:i}=t,{gen:a,compositeRule:r,allErrors:s}=i,o=FO(t,e,n);WO(a,o),r||s||BO(i,Nn.default.vErrors)}In.reportExtraError=hU;function gU(t,e){t.assign(Nn.default.errors,e),t.if((0,Pe._)`${Nn.default.vErrors} !== null`,()=>t.if(e,()=>t.assign((0,Pe._)`${Nn.default.vErrors}.length`,e),()=>t.assign(Nn.default.vErrors,null)))}In.resetErrorsCount=gU;function mU({gen:t,keyword:e,schemaValue:n,data:i,errsCount:a,it:r}){if(a===void 0)throw new Error("ajv implementation error");let s=t.name("err");t.forRange("i",a,Nn.default.errors,o=>{t.const(s,(0,Pe._)`${Nn.default.vErrors}[${o}]`),t.if((0,Pe._)`${s}.instancePath === undefined`,()=>t.assign((0,Pe._)`${s}.instancePath`,(0,Pe.strConcat)(Nn.default.instancePath,r.errorPath))),t.assign((0,Pe._)`${s}.schemaPath`,(0,Pe.str)`${r.errSchemaPath}/${e}`),r.opts.verbose&&(t.assign((0,Pe._)`${s}.schema`,n),t.assign((0,Pe._)`${s}.data`,i))})}In.extendErrors=mU;function WO(t,e){let n=t.const("err",e);t.if((0,Pe._)`${Nn.default.vErrors} === null`,()=>t.assign(Nn.default.vErrors,(0,Pe._)`[${n}]`),(0,Pe._)`${Nn.default.vErrors}.push(${n})`),t.code((0,Pe._)`${Nn.default.errors}++`)}function BO(t,e){let{gen:n,validateName:i,schemaEnv:a}=t;a.$async?n.throw((0,Pe._)`new ${t.ValidationError}(${e})`):(n.assign((0,Pe._)`${i}.errors`,e),n.return(!1))}var Ha={keyword:new Pe.Name("keyword"),schemaPath:new Pe.Name("schemaPath"),params:new Pe.Name("params"),propertyName:new Pe.Name("propertyName"),message:new Pe.Name("message"),schema:new Pe.Name("schema"),parentSchema:new Pe.Name("parentSchema")};function FO(t,e,n){let{createErrors:i}=t.it;return i===!1?(0,Pe._)`{}`:fU(t,e,n)}function fU(t,e,n={}){let{gen:i,it:a}=t,r=[wU(a,n),vU(t,n)];return CU(t,e,r),i.object(...r)}function wU({errorPath:t},{instancePath:e}){let n=e?(0,Pe.str)`${t}${(0,oc.getErrorPath)(e,oc.Type.Str)}`:t;return[Nn.default.instancePath,(0,Pe.strConcat)(Nn.default.instancePath,n)]}function vU({keyword:t,it:{errSchemaPath:e}},{schemaPath:n,parentSchema:i}){let a=i?e:(0,Pe.str)`${e}/${t}`;return n&&(a=(0,Pe.str)`${a}${(0,oc.getErrorPath)(n,oc.Type.Str)}`),[Ha.schemaPath,a]}function CU(t,{params:e,message:n},i){let{keyword:a,data:r,schemaValue:s,it:o}=t,{opts:l,propertyName:u,topSchemaRef:c,schemaPath:p}=o;i.push([Ha.keyword,a],[Ha.params,typeof e=="function"?e(t):e||(0,Pe._)`{}`]),l.messages&&i.push([Ha.message,typeof n=="function"?n(t):n]),l.verbose&&i.push([Ha.schema,s],[Ha.parentSchema,(0,Pe._)`${c}${p}`],[Nn.default.data,r]),u&&i.push([Ha.propertyName,u])}});var JO=v(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});Dr.boolOrEmptySchema=Dr.topBoolOrEmptySchema=void 0;var AU=Po(),bU=le(),yU=wt(),PU={message:"boolean schema is false"};function jU(t){let{gen:e,schema:n,validateName:i}=t;n===!1?VO(t,!1):typeof n=="object"&&n.$async===!0?e.return(yU.default.data):(e.assign((0,bU._)`${i}.errors`,null),e.return(!0))}Dr.topBoolOrEmptySchema=jU;function SU(t,e){let{gen:n,schema:i}=t;i===!1?(n.var(e,!1),VO(t)):n.var(e,!0)}Dr.boolOrEmptySchema=SU;function VO(t,e){let{gen:n,data:i}=t,a={gen:n,keyword:"false schema",data:i,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};(0,AU.reportError)(a,PU,void 0,e)}});var nf=v(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});Gr.getRules=Gr.isJSONType=void 0;var OU=["string","number","integer","boolean","null","object","array"],xU=new Set(OU);function TU(t){return typeof t=="string"&&xU.has(t)}Gr.isJSONType=TU;function MU(){let t={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...t,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},t.number,t.string,t.array,t.object],post:{rules:[]},all:{},keywords:{}}}Gr.getRules=MU});var tf=v(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.shouldUseRule=Gt.shouldUseGroup=Gt.schemaHasRulesForType=void 0;function EU({schema:t,self:e},n){let i=e.RULES.types[n];return i&&i!==!0&&ZO(t,i)}Gt.schemaHasRulesForType=EU;function ZO(t,e){return e.rules.some(n=>KO(t,n))}Gt.shouldUseGroup=ZO;function KO(t,e){var n;return t[e.keyword]!==void 0||((n=e.definition.implements)===null||n===void 0?void 0:n.some(i=>t[i]!==void 0))}Gt.shouldUseRule=KO});var jo=v(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.reportTypeError=Rn.checkDataTypes=Rn.checkDataType=Rn.coerceAndCheckDataType=Rn.getJSONTypes=Rn.getSchemaTypes=Rn.DataType=void 0;var kU=nf(),qU=tf(),_U=Po(),ae=le(),QO=ye(),$r;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})($r||(Rn.DataType=$r={}));function HU(t){let e=YO(t.type);if(e.includes("null")){if(t.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!e.length&&t.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');t.nullable===!0&&e.push("null")}return e}Rn.getSchemaTypes=HU;function YO(t){let e=Array.isArray(t)?t:t?[t]:[];if(e.every(kU.isJSONType))return e;throw new Error("type must be JSONType or JSONType[]: "+e.join(","))}Rn.getJSONTypes=YO;function IU(t,e){let{gen:n,data:i,opts:a}=t,r=RU(e,a.coerceTypes),s=e.length>0&&!(r.length===0&&e.length===1&&(0,qU.schemaHasRulesForType)(t,e[0]));if(s){let o=rf(e,i,a.strictNumbers,$r.Wrong);n.if(o,()=>{r.length?zU(t,e,r):sf(t)})}return s}Rn.coerceAndCheckDataType=IU;var XO=new Set(["string","number","integer","boolean","null"]);function RU(t,e){return e?t.filter(n=>XO.has(n)||e==="array"&&n==="array"):[]}function zU(t,e,n){let{gen:i,data:a,opts:r}=t,s=i.let("dataType",(0,ae._)`typeof ${a}`),o=i.let("coerced",(0,ae._)`undefined`);r.coerceTypes==="array"&&i.if((0,ae._)`${s} == 'object' && Array.isArray(${a}) && ${a}.length == 1`,()=>i.assign(a,(0,ae._)`${a}[0]`).assign(s,(0,ae._)`typeof ${a}`).if(rf(e,a,r.strictNumbers),()=>i.assign(o,a))),i.if((0,ae._)`${o} !== undefined`);for(let u of n)(XO.has(u)||u==="array"&&r.coerceTypes==="array")&&l(u);i.else(),sf(t),i.endIf(),i.if((0,ae._)`${o} !== undefined`,()=>{i.assign(a,o),DU(t,o)});function l(u){switch(u){case"string":i.elseIf((0,ae._)`${s} == "number" || ${s} == "boolean"`).assign(o,(0,ae._)`"" + ${a}`).elseIf((0,ae._)`${a} === null`).assign(o,(0,ae._)`""`);return;case"number":i.elseIf((0,ae._)`${s} == "boolean" || ${a} === null - || (${s} == "string" && ${a} && ${a} == +${a})`).assign(o,(0,ae._)`+${a}`);return;case"integer":i.elseIf((0,ae._)`${s} === "boolean" || ${a} === null - || (${s} === "string" && ${a} && ${a} == +${a} && !(${a} % 1))`).assign(o,(0,ae._)`+${a}`);return;case"boolean":i.elseIf((0,ae._)`${a} === "false" || ${a} === 0 || ${a} === null`).assign(o,!1).elseIf((0,ae._)`${a} === "true" || ${a} === 1`).assign(o,!0);return;case"null":i.elseIf((0,ae._)`${a} === "" || ${a} === 0 || ${a} === false`),i.assign(o,null);return;case"array":i.elseIf((0,ae._)`${s} === "string" || ${s} === "number" - || ${s} === "boolean" || ${a} === null`).assign(o,(0,ae._)`[${a}]`)}}}function DU({gen:t,parentData:e,parentDataProperty:n},i){t.if((0,ae._)`${e} !== undefined`,()=>t.assign((0,ae._)`${e}[${n}]`,i))}function af(t,e,n,i=$r.Correct){let a=i===$r.Correct?ae.operators.EQ:ae.operators.NEQ,r;switch(t){case"null":return(0,ae._)`${e} ${a} null`;case"array":r=(0,ae._)`Array.isArray(${e})`;break;case"object":r=(0,ae._)`${e} && typeof ${e} == "object" && !Array.isArray(${e})`;break;case"integer":r=s((0,ae._)`!(${e} % 1) && !isNaN(${e})`);break;case"number":r=s();break;default:return(0,ae._)`typeof ${e} ${a} ${t}`}return i===$r.Correct?r:(0,ae.not)(r);function s(o=ae.nil){return(0,ae.and)((0,ae._)`typeof ${e} == "number"`,o,n?(0,ae._)`isFinite(${e})`:ae.nil)}}Rn.checkDataType=af;function rf(t,e,n,i){if(t.length===1)return af(t[0],e,n,i);let a,r=(0,QO.toHash)(t);if(r.array&&r.object){let s=(0,ae._)`typeof ${e} != "object"`;a=r.null?s:(0,ae._)`!${e} || ${s}`,delete r.null,delete r.array,delete r.object}else a=ae.nil;r.number&&delete r.integer;for(let s in r)a=(0,ae.and)(a,af(s,e,n,i));return a}Rn.checkDataTypes=rf;var GU={message:({schema:t})=>`must be ${t}`,params:({schema:t,schemaValue:e})=>typeof t=="string"?(0,ae._)`{type: ${t}}`:(0,ae._)`{type: ${e}}`};function sf(t){let e=$U(t);(0,_U.reportError)(e,GU)}Rn.reportTypeError=sf;function $U(t){let{gen:e,data:n,schema:i}=t,a=(0,QO.schemaRefOrVal)(t,i,"type");return{gen:e,keyword:"type",data:n,schema:i.type,schemaCode:a,schemaValue:a,parentSchema:i,params:{},it:t}}});var nx=v(lc=>{"use strict";Object.defineProperty(lc,"__esModule",{value:!0});lc.assignDefaults=void 0;var Nr=le(),NU=ye();function UU(t,e){let{properties:n,items:i}=t.schema;if(e==="object"&&n)for(let a in n)ex(t,a,n[a].default);else e==="array"&&Array.isArray(i)&&i.forEach((a,r)=>ex(t,r,a.default))}lc.assignDefaults=UU;function ex(t,e,n){let{gen:i,compositeRule:a,data:r,opts:s}=t;if(n===void 0)return;let o=(0,Nr._)`${r}${(0,Nr.getProperty)(e)}`;if(a){(0,NU.checkStrictMode)(t,`default is ignored for: ${o}`);return}let l=(0,Nr._)`${o} === undefined`;s.useDefaults==="empty"&&(l=(0,Nr._)`${l} || ${o} === null || ${o} === ""`),i.if(l,(0,Nr._)`${o} = ${(0,Nr.stringify)(n)}`)}});var Ci=v(qe=>{"use strict";Object.defineProperty(qe,"__esModule",{value:!0});qe.validateUnion=qe.validateArray=qe.usePattern=qe.callValidateCode=qe.schemaProperties=qe.allSchemaProperties=qe.noPropertyInData=qe.propertyInData=qe.isOwnProperty=qe.hasPropFunc=qe.reportMissingProp=qe.checkMissingProp=qe.checkReportMissingProp=void 0;var Ne=le(),of=ye(),$t=wt(),LU=ye();function WU(t,e){let{gen:n,data:i,it:a}=t;n.if(uf(n,i,e,a.opts.ownProperties),()=>{t.setParams({missingProperty:(0,Ne._)`${e}`},!0),t.error()})}qe.checkReportMissingProp=WU;function BU({gen:t,data:e,it:{opts:n}},i,a){return(0,Ne.or)(...i.map(r=>(0,Ne.and)(uf(t,e,r,n.ownProperties),(0,Ne._)`${a} = ${r}`)))}qe.checkMissingProp=BU;function FU(t,e){t.setParams({missingProperty:e},!0),t.error()}qe.reportMissingProp=FU;function ix(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,Ne._)`Object.prototype.hasOwnProperty`})}qe.hasPropFunc=ix;function lf(t,e,n){return(0,Ne._)`${ix(t)}.call(${e}, ${n})`}qe.isOwnProperty=lf;function VU(t,e,n,i){let a=(0,Ne._)`${e}${(0,Ne.getProperty)(n)} !== undefined`;return i?(0,Ne._)`${a} && ${lf(t,e,n)}`:a}qe.propertyInData=VU;function uf(t,e,n,i){let a=(0,Ne._)`${e}${(0,Ne.getProperty)(n)} === undefined`;return i?(0,Ne.or)(a,(0,Ne.not)(lf(t,e,n))):a}qe.noPropertyInData=uf;function tx(t){return t?Object.keys(t).filter(e=>e!=="__proto__"):[]}qe.allSchemaProperties=tx;function JU(t,e){return tx(e).filter(n=>!(0,of.alwaysValidSchema)(t,e[n]))}qe.schemaProperties=JU;function ZU({schemaCode:t,data:e,it:{gen:n,topSchemaRef:i,schemaPath:a,errorPath:r},it:s},o,l,u){let c=u?(0,Ne._)`${t}, ${e}, ${i}${a}`:e,p=[[$t.default.instancePath,(0,Ne.strConcat)($t.default.instancePath,r)],[$t.default.parentData,s.parentData],[$t.default.parentDataProperty,s.parentDataProperty],[$t.default.rootData,$t.default.rootData]];s.opts.dynamicRef&&p.push([$t.default.dynamicAnchors,$t.default.dynamicAnchors]);let h=(0,Ne._)`${c}, ${n.object(...p)}`;return l!==Ne.nil?(0,Ne._)`${o}.call(${l}, ${h})`:(0,Ne._)`${o}(${h})`}qe.callValidateCode=ZU;var KU=(0,Ne._)`new RegExp`;function QU({gen:t,it:{opts:e}},n){let i=e.unicodeRegExp?"u":"",{regExp:a}=e.code,r=a(n,i);return t.scopeValue("pattern",{key:r.toString(),ref:r,code:(0,Ne._)`${a.code==="new RegExp"?KU:(0,LU.useFunc)(t,a)}(${n}, ${i})`})}qe.usePattern=QU;function YU(t){let{gen:e,data:n,keyword:i,it:a}=t,r=e.name("valid");if(a.allErrors){let o=e.let("valid",!0);return s(()=>e.assign(o,!1)),o}return e.var(r,!0),s(()=>e.break()),r;function s(o){let l=e.const("len",(0,Ne._)`${n}.length`);e.forRange("i",0,l,u=>{t.subschema({keyword:i,dataProp:u,dataPropType:of.Type.Num},r),e.if((0,Ne.not)(r),o)})}}qe.validateArray=YU;function XU(t){let{gen:e,schema:n,keyword:i,it:a}=t;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some(l=>(0,of.alwaysValidSchema)(a,l))&&!a.opts.unevaluated)return;let s=e.let("valid",!1),o=e.name("_valid");e.block(()=>n.forEach((l,u)=>{let c=t.subschema({keyword:i,schemaProp:u,compositeRule:!0},o);e.assign(s,(0,Ne._)`${s} || ${o}`),t.mergeValidEvaluated(c,o)||e.if((0,Ne.not)(s))})),t.result(s,()=>t.reset(),()=>t.error(!0))}qe.validateUnion=XU});var sx=v(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.validateKeywordUsage=Bi.validSchemaType=Bi.funcKeywordCode=Bi.macroKeywordCode=void 0;var Un=le(),Ia=wt(),eL=Ci(),nL=Po();function iL(t,e){let{gen:n,keyword:i,schema:a,parentSchema:r,it:s}=t,o=e.macro.call(s.self,a,r,s),l=rx(n,i,o);s.opts.validateSchema!==!1&&s.self.validateSchema(o,!0);let u=n.name("valid");t.subschema({schema:o,schemaPath:Un.nil,errSchemaPath:`${s.errSchemaPath}/${i}`,topSchemaRef:l,compositeRule:!0},u),t.pass(u,()=>t.error(!0))}Bi.macroKeywordCode=iL;function tL(t,e){var n;let{gen:i,keyword:a,schema:r,parentSchema:s,$data:o,it:l}=t;rL(l,e);let u=!o&&e.compile?e.compile.call(l.self,r,s,l):e.validate,c=rx(i,a,u),p=i.let("valid");t.block$data(p,h),t.ok((n=e.valid)!==null&&n!==void 0?n:p);function h(){if(e.errors===!1)m(),e.modifying&&ax(t),f(()=>t.error());else{let w=e.async?d():g();e.modifying&&ax(t),f(()=>aL(t,w))}}function d(){let w=i.let("ruleErrs",null);return i.try(()=>m((0,Un._)`await `),b=>i.assign(p,!1).if((0,Un._)`${b} instanceof ${l.ValidationError}`,()=>i.assign(w,(0,Un._)`${b}.errors`),()=>i.throw(b))),w}function g(){let w=(0,Un._)`${c}.errors`;return i.assign(w,null),m(Un.nil),w}function m(w=e.async?(0,Un._)`await `:Un.nil){let b=l.opts.passContext?Ia.default.this:Ia.default.self,A=!("compile"in e&&!o||e.schema===!1);i.assign(p,(0,Un._)`${w}${(0,eL.callValidateCode)(t,c,b,A)}`,e.modifying)}function f(w){var b;i.if((0,Un.not)((b=e.valid)!==null&&b!==void 0?b:p),w)}}Bi.funcKeywordCode=tL;function ax(t){let{gen:e,data:n,it:i}=t;e.if(i.parentData,()=>e.assign(n,(0,Un._)`${i.parentData}[${i.parentDataProperty}]`))}function aL(t,e){let{gen:n}=t;n.if((0,Un._)`Array.isArray(${e})`,()=>{n.assign(Ia.default.vErrors,(0,Un._)`${Ia.default.vErrors} === null ? ${e} : ${Ia.default.vErrors}.concat(${e})`).assign(Ia.default.errors,(0,Un._)`${Ia.default.vErrors}.length`),(0,nL.extendErrors)(t)},()=>t.error())}function rL({schemaEnv:t},e){if(e.async&&!t.$async)throw new Error("async keyword in sync schema")}function rx(t,e,n){if(n===void 0)throw new Error(`keyword "${e}" failed to compile`);return t.scopeValue("keyword",typeof n=="function"?{ref:n}:{ref:n,code:(0,Un.stringify)(n)})}function sL(t,e,n=!1){return!e.length||e.some(i=>i==="array"?Array.isArray(t):i==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==i||n&&typeof t>"u")}Bi.validSchemaType=sL;function oL({schema:t,opts:e,self:n,errSchemaPath:i},a,r){if(Array.isArray(a.keyword)?!a.keyword.includes(r):a.keyword!==r)throw new Error("ajv implementation error");let s=a.dependencies;if(s?.some(o=>!Object.prototype.hasOwnProperty.call(t,o)))throw new Error(`parent schema must have dependencies of ${r}: ${s.join(",")}`);if(a.validateSchema&&!a.validateSchema(t[r])){let l=`keyword "${r}" value is invalid at path "${i}": `+n.errorsText(a.validateSchema.errors);if(e.validateSchema==="log")n.logger.error(l);else throw new Error(l)}}Bi.validateKeywordUsage=oL});var lx=v(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.extendSubschemaMode=Nt.extendSubschemaData=Nt.getSubschema=void 0;var Fi=le(),ox=ye();function lL(t,{keyword:e,schemaProp:n,schema:i,schemaPath:a,errSchemaPath:r,topSchemaRef:s}){if(e!==void 0&&i!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(e!==void 0){let o=t.schema[e];return n===void 0?{schema:o,schemaPath:(0,Fi._)`${t.schemaPath}${(0,Fi.getProperty)(e)}`,errSchemaPath:`${t.errSchemaPath}/${e}`}:{schema:o[n],schemaPath:(0,Fi._)`${t.schemaPath}${(0,Fi.getProperty)(e)}${(0,Fi.getProperty)(n)}`,errSchemaPath:`${t.errSchemaPath}/${e}/${(0,ox.escapeFragment)(n)}`}}if(i!==void 0){if(a===void 0||r===void 0||s===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:a,topSchemaRef:s,errSchemaPath:r}}throw new Error('either "keyword" or "schema" must be passed')}Nt.getSubschema=lL;function uL(t,e,{dataProp:n,dataPropType:i,data:a,dataTypes:r,propertyName:s}){if(a!==void 0&&n!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:o}=e;if(n!==void 0){let{errorPath:u,dataPathArr:c,opts:p}=e,h=o.let("data",(0,Fi._)`${e.data}${(0,Fi.getProperty)(n)}`,!0);l(h),t.errorPath=(0,Fi.str)`${u}${(0,ox.getErrorPath)(n,i,p.jsPropertySyntax)}`,t.parentDataProperty=(0,Fi._)`${n}`,t.dataPathArr=[...c,t.parentDataProperty]}if(a!==void 0){let u=a instanceof Fi.Name?a:o.let("data",a,!0);l(u),s!==void 0&&(t.propertyName=s)}r&&(t.dataTypes=r);function l(u){t.data=u,t.dataLevel=e.dataLevel+1,t.dataTypes=[],e.definedProperties=new Set,t.parentData=e.data,t.dataNames=[...e.dataNames,u]}}Nt.extendSubschemaData=uL;function cL(t,{jtdDiscriminator:e,jtdMetadata:n,compositeRule:i,createErrors:a,allErrors:r}){i!==void 0&&(t.compositeRule=i),a!==void 0&&(t.createErrors=a),r!==void 0&&(t.allErrors=r),t.jtdDiscriminator=e,t.jtdMetadata=n}Nt.extendSubschemaMode=cL});var cf=v((Gse,ux)=>{"use strict";ux.exports=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var i,a,r;if(Array.isArray(e)){if(i=e.length,i!=n.length)return!1;for(a=i;a--!==0;)if(!t(e[a],n[a]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(r=Object.keys(e),i=r.length,i!==Object.keys(n).length)return!1;for(a=i;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,r[a]))return!1;for(a=i;a--!==0;){var s=r[a];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n}});var px=v(($se,cx)=>{"use strict";var Ut=cx.exports=function(t,e,n){typeof e=="function"&&(n=e,e={}),n=e.cb||n;var i=typeof n=="function"?n:n.pre||function(){},a=n.post||function(){};uc(e,i,a,t,"",t)};Ut.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Ut.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Ut.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Ut.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function uc(t,e,n,i,a,r,s,o,l,u){if(i&&typeof i=="object"&&!Array.isArray(i)){e(i,a,r,s,o,l,u);for(var c in i){var p=i[c];if(Array.isArray(p)){if(c in Ut.arrayKeywords)for(var h=0;h{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.getSchemaRefs=Qn.resolveUrl=Qn.normalizeId=Qn._getFullPath=Qn.getFullPath=Qn.inlineRef=void 0;var dL=ye(),hL=cf(),gL=px(),mL=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function fL(t,e=!0){return typeof t=="boolean"?!0:e===!0?!pf(t):e?dx(t)<=e:!1}Qn.inlineRef=fL;var wL=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function pf(t){for(let e in t){if(wL.has(e))return!0;let n=t[e];if(Array.isArray(n)&&n.some(pf)||typeof n=="object"&&pf(n))return!0}return!1}function dx(t){let e=0;for(let n in t){if(n==="$ref")return 1/0;if(e++,!mL.has(n)&&(typeof t[n]=="object"&&(0,dL.eachItem)(t[n],i=>e+=dx(i)),e===1/0))return 1/0}return e}function hx(t,e="",n){n!==!1&&(e=Ur(e));let i=t.parse(e);return gx(t,i)}Qn.getFullPath=hx;function gx(t,e){return t.serialize(e).split("#")[0]+"#"}Qn._getFullPath=gx;var vL=/#\/?$/;function Ur(t){return t?t.replace(vL,""):""}Qn.normalizeId=Ur;function CL(t,e,n){return n=Ur(n),t.resolve(e,n)}Qn.resolveUrl=CL;var AL=/^[a-z_][-a-z0-9._]*$/i;function bL(t,e){if(typeof t=="boolean")return{};let{schemaId:n,uriResolver:i}=this.opts,a=Ur(t[n]||e),r={"":a},s=hx(i,a,!1),o={},l=new Set;return gL(t,{allKeys:!0},(p,h,d,g)=>{if(g===void 0)return;let m=s+h,f=r[g];typeof p[n]=="string"&&(f=w.call(this,p[n])),b.call(this,p.$anchor),b.call(this,p.$dynamicAnchor),r[h]=f;function w(A){let y=this.opts.uriResolver.resolve;if(A=Ur(f?y(f,A):A),l.has(A))throw c(A);l.add(A);let S=this.refs[A];return typeof S=="string"&&(S=this.refs[S]),typeof S=="object"?u(p,S.schema,A):A!==Ur(m)&&(A[0]==="#"?(u(p,o[A],A),o[A]=p):this.refs[A]=m),A}function b(A){if(typeof A=="string"){if(!AL.test(A))throw new Error(`invalid anchor "${A}"`);w.call(this,`#${A}`)}}}),o;function u(p,h,d){if(h!==void 0&&!hL(p,h))throw c(d)}function c(p){return new Error(`reference "${p}" resolves to more than one schema`)}}Qn.getSchemaRefs=bL});var To=v(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.getData=Lt.KeywordCxt=Lt.validateFunctionCode=void 0;var Cx=JO(),mx=jo(),hf=tf(),cc=jo(),yL=nx(),xo=sx(),df=lx(),F=le(),ee=wt(),PL=So(),vt=ye(),Oo=Po();function jL(t){if(yx(t)&&(Px(t),bx(t))){xL(t);return}Ax(t,()=>(0,Cx.topBoolOrEmptySchema)(t))}Lt.validateFunctionCode=jL;function Ax({gen:t,validateName:e,schema:n,schemaEnv:i,opts:a},r){a.code.es5?t.func(e,(0,F._)`${ee.default.data}, ${ee.default.valCxt}`,i.$async,()=>{t.code((0,F._)`"use strict"; ${fx(n,a)}`),OL(t,a),t.code(r)}):t.func(e,(0,F._)`${ee.default.data}, ${SL(a)}`,i.$async,()=>t.code(fx(n,a)).code(r))}function SL(t){return(0,F._)`{${ee.default.instancePath}="", ${ee.default.parentData}, ${ee.default.parentDataProperty}, ${ee.default.rootData}=${ee.default.data}${t.dynamicRef?(0,F._)`, ${ee.default.dynamicAnchors}={}`:F.nil}}={}`}function OL(t,e){t.if(ee.default.valCxt,()=>{t.var(ee.default.instancePath,(0,F._)`${ee.default.valCxt}.${ee.default.instancePath}`),t.var(ee.default.parentData,(0,F._)`${ee.default.valCxt}.${ee.default.parentData}`),t.var(ee.default.parentDataProperty,(0,F._)`${ee.default.valCxt}.${ee.default.parentDataProperty}`),t.var(ee.default.rootData,(0,F._)`${ee.default.valCxt}.${ee.default.rootData}`),e.dynamicRef&&t.var(ee.default.dynamicAnchors,(0,F._)`${ee.default.valCxt}.${ee.default.dynamicAnchors}`)},()=>{t.var(ee.default.instancePath,(0,F._)`""`),t.var(ee.default.parentData,(0,F._)`undefined`),t.var(ee.default.parentDataProperty,(0,F._)`undefined`),t.var(ee.default.rootData,ee.default.data),e.dynamicRef&&t.var(ee.default.dynamicAnchors,(0,F._)`{}`)})}function xL(t){let{schema:e,opts:n,gen:i}=t;Ax(t,()=>{n.$comment&&e.$comment&&Sx(t),qL(t),i.let(ee.default.vErrors,null),i.let(ee.default.errors,0),n.unevaluated&&TL(t),jx(t),IL(t)})}function TL(t){let{gen:e,validateName:n}=t;t.evaluated=e.const("evaluated",(0,F._)`${n}.evaluated`),e.if((0,F._)`${t.evaluated}.dynamicProps`,()=>e.assign((0,F._)`${t.evaluated}.props`,(0,F._)`undefined`)),e.if((0,F._)`${t.evaluated}.dynamicItems`,()=>e.assign((0,F._)`${t.evaluated}.items`,(0,F._)`undefined`))}function fx(t,e){let n=typeof t=="object"&&t[e.schemaId];return n&&(e.code.source||e.code.process)?(0,F._)`/*# sourceURL=${n} */`:F.nil}function ML(t,e){if(yx(t)&&(Px(t),bx(t))){EL(t,e);return}(0,Cx.boolOrEmptySchema)(t,e)}function bx({schema:t,self:e}){if(typeof t=="boolean")return!t;for(let n in t)if(e.RULES.all[n])return!0;return!1}function yx(t){return typeof t.schema!="boolean"}function EL(t,e){let{schema:n,gen:i,opts:a}=t;a.$comment&&n.$comment&&Sx(t),_L(t),HL(t);let r=i.const("_errs",ee.default.errors);jx(t,r),i.var(e,(0,F._)`${r} === ${ee.default.errors}`)}function Px(t){(0,vt.checkUnknownRules)(t),kL(t)}function jx(t,e){if(t.opts.jtd)return wx(t,[],!1,e);let n=(0,mx.getSchemaTypes)(t.schema),i=(0,mx.coerceAndCheckDataType)(t,n);wx(t,n,!i,e)}function kL(t){let{schema:e,errSchemaPath:n,opts:i,self:a}=t;e.$ref&&i.ignoreKeywordsWithRef&&(0,vt.schemaHasRulesButRef)(e,a.RULES)&&a.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}function qL(t){let{schema:e,opts:n}=t;e.default!==void 0&&n.useDefaults&&n.strictSchema&&(0,vt.checkStrictMode)(t,"default is ignored in the schema root")}function _L(t){let e=t.schema[t.opts.schemaId];e&&(t.baseId=(0,PL.resolveUrl)(t.opts.uriResolver,t.baseId,e))}function HL(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function Sx({gen:t,schemaEnv:e,schema:n,errSchemaPath:i,opts:a}){let r=n.$comment;if(a.$comment===!0)t.code((0,F._)`${ee.default.self}.logger.log(${r})`);else if(typeof a.$comment=="function"){let s=(0,F.str)`${i}/$comment`,o=t.scopeValue("root",{ref:e.root});t.code((0,F._)`${ee.default.self}.opts.$comment(${r}, ${s}, ${o}.schema)`)}}function IL(t){let{gen:e,schemaEnv:n,validateName:i,ValidationError:a,opts:r}=t;n.$async?e.if((0,F._)`${ee.default.errors} === 0`,()=>e.return(ee.default.data),()=>e.throw((0,F._)`new ${a}(${ee.default.vErrors})`)):(e.assign((0,F._)`${i}.errors`,ee.default.vErrors),r.unevaluated&&RL(t),e.return((0,F._)`${ee.default.errors} === 0`))}function RL({gen:t,evaluated:e,props:n,items:i}){n instanceof F.Name&&t.assign((0,F._)`${e}.props`,n),i instanceof F.Name&&t.assign((0,F._)`${e}.items`,i)}function wx(t,e,n,i){let{gen:a,schema:r,data:s,allErrors:o,opts:l,self:u}=t,{RULES:c}=u;if(r.$ref&&(l.ignoreKeywordsWithRef||!(0,vt.schemaHasRulesButRef)(r,c))){a.block(()=>xx(t,"$ref",c.all.$ref.definition));return}l.jtd||zL(t,e),a.block(()=>{for(let h of c.rules)p(h);p(c.post)});function p(h){(0,hf.shouldUseGroup)(r,h)&&(h.type?(a.if((0,cc.checkDataType)(h.type,s,l.strictNumbers)),vx(t,h),e.length===1&&e[0]===h.type&&n&&(a.else(),(0,cc.reportTypeError)(t)),a.endIf()):vx(t,h),o||a.if((0,F._)`${ee.default.errors} === ${i||0}`))}}function vx(t,e){let{gen:n,schema:i,opts:{useDefaults:a}}=t;a&&(0,yL.assignDefaults)(t,e.type),n.block(()=>{for(let r of e.rules)(0,hf.shouldUseRule)(i,r)&&xx(t,r.keyword,r.definition,e.type)})}function zL(t,e){t.schemaEnv.meta||!t.opts.strictTypes||(DL(t,e),t.opts.allowUnionTypes||GL(t,e),$L(t,t.dataTypes))}function DL(t,e){if(e.length){if(!t.dataTypes.length){t.dataTypes=e;return}e.forEach(n=>{Ox(t.dataTypes,n)||gf(t,`type "${n}" not allowed by context "${t.dataTypes.join(",")}"`)}),UL(t,e)}}function GL(t,e){e.length>1&&!(e.length===2&&e.includes("null"))&&gf(t,"use allowUnionTypes to allow union type keyword")}function $L(t,e){let n=t.self.RULES.all;for(let i in n){let a=n[i];if(typeof a=="object"&&(0,hf.shouldUseRule)(t.schema,a)){let{type:r}=a.definition;r.length&&!r.some(s=>NL(e,s))&&gf(t,`missing type "${r.join(",")}" for keyword "${i}"`)}}}function NL(t,e){return t.includes(e)||e==="number"&&t.includes("integer")}function Ox(t,e){return t.includes(e)||e==="integer"&&t.includes("number")}function UL(t,e){let n=[];for(let i of t.dataTypes)Ox(e,i)?n.push(i):e.includes("integer")&&i==="number"&&n.push("integer");t.dataTypes=n}function gf(t,e){let n=t.schemaEnv.baseId+t.errSchemaPath;e+=` at "${n}" (strictTypes)`,(0,vt.checkStrictMode)(t,e,t.opts.strictTypes)}var pc=class{constructor(e,n,i){if((0,xo.validateKeywordUsage)(e,n,i),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=i,this.data=e.data,this.schema=e.schema[i],this.$data=n.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,vt.schemaRefOrVal)(e,this.schema,i,this.$data),this.schemaType=n.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=n,this.$data)this.schemaCode=e.gen.const("vSchema",Tx(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,xo.validSchemaType)(this.schema,n.schemaType,n.allowUndefined))throw new Error(`${i} value must be ${JSON.stringify(n.schemaType)}`);("code"in n?n.trackErrors:n.errors!==!1)&&(this.errsCount=e.gen.const("_errs",ee.default.errors))}result(e,n,i){this.failResult((0,F.not)(e),n,i)}failResult(e,n,i){this.gen.if(e),i?i():this.error(),n?(this.gen.else(),n(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,n){this.failResult((0,F.not)(e),void 0,n)}fail(e){if(e===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);let{schemaCode:n}=this;this.fail((0,F._)`${n} !== undefined && (${(0,F.or)(this.invalid$data(),e)})`)}error(e,n,i){if(n){this.setParams(n),this._error(e,i),this.setParams({});return}this._error(e,i)}_error(e,n){(e?Oo.reportExtraError:Oo.reportError)(this,this.def.error,n)}$dataError(){(0,Oo.reportError)(this,this.def.$dataError||Oo.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,Oo.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,n){n?Object.assign(this.params,e):this.params=e}block$data(e,n,i=F.nil){this.gen.block(()=>{this.check$data(e,i),n()})}check$data(e=F.nil,n=F.nil){if(!this.$data)return;let{gen:i,schemaCode:a,schemaType:r,def:s}=this;i.if((0,F.or)((0,F._)`${a} === undefined`,n)),e!==F.nil&&i.assign(e,!0),(r.length||s.validateSchema)&&(i.elseIf(this.invalid$data()),this.$dataError(),e!==F.nil&&i.assign(e,!1)),i.else()}invalid$data(){let{gen:e,schemaCode:n,schemaType:i,def:a,it:r}=this;return(0,F.or)(s(),o());function s(){if(i.length){if(!(n instanceof F.Name))throw new Error("ajv implementation error");let l=Array.isArray(i)?i:[i];return(0,F._)`${(0,cc.checkDataTypes)(l,n,r.opts.strictNumbers,cc.DataType.Wrong)}`}return F.nil}function o(){if(a.validateSchema){let l=e.scopeValue("validate$data",{ref:a.validateSchema});return(0,F._)`!${l}(${n})`}return F.nil}}subschema(e,n){let i=(0,df.getSubschema)(this.it,e);(0,df.extendSubschemaData)(i,this.it,e),(0,df.extendSubschemaMode)(i,e);let a={...this.it,...i,items:void 0,props:void 0};return ML(a,n),a}mergeEvaluated(e,n){let{it:i,gen:a}=this;i.opts.unevaluated&&(i.props!==!0&&e.props!==void 0&&(i.props=vt.mergeEvaluated.props(a,e.props,i.props,n)),i.items!==!0&&e.items!==void 0&&(i.items=vt.mergeEvaluated.items(a,e.items,i.items,n)))}mergeValidEvaluated(e,n){let{it:i,gen:a}=this;if(i.opts.unevaluated&&(i.props!==!0||i.items!==!0))return a.if(n,()=>this.mergeEvaluated(e,F.Name)),!0}};Lt.KeywordCxt=pc;function xx(t,e,n,i){let a=new pc(t,n,e);"code"in n?n.code(a,i):a.$data&&n.validate?(0,xo.funcKeywordCode)(a,n):"macro"in n?(0,xo.macroKeywordCode)(a,n):(n.compile||n.validate)&&(0,xo.funcKeywordCode)(a,n)}var LL=/^\/(?:[^~]|~0|~1)*$/,WL=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Tx(t,{dataLevel:e,dataNames:n,dataPathArr:i}){let a,r;if(t==="")return ee.default.rootData;if(t[0]==="/"){if(!LL.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);a=t,r=ee.default.rootData}else{let u=WL.exec(t);if(!u)throw new Error(`Invalid JSON-pointer: ${t}`);let c=+u[1];if(a=u[2],a==="#"){if(c>=e)throw new Error(l("property/index",c));return i[e-c]}if(c>e)throw new Error(l("data",c));if(r=n[e-c],!a)return r}let s=r,o=a.split("/");for(let u of o)u&&(r=(0,F._)`${r}${(0,F.getProperty)((0,vt.unescapeJsonPointer)(u))}`,s=(0,F._)`${s} && ${r}`);return s;function l(u,c){return`Cannot access ${u} ${c} levels up, current level is ${e}`}}Lt.getData=Tx});var dc=v(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});var mf=class extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}};ff.default=mf});var Mo=v(Cf=>{"use strict";Object.defineProperty(Cf,"__esModule",{value:!0});var wf=So(),vf=class extends Error{constructor(e,n,i,a){super(a||`can't resolve reference ${i} from id ${n}`),this.missingRef=(0,wf.resolveUrl)(e,n,i),this.missingSchema=(0,wf.normalizeId)((0,wf.getFullPath)(e,this.missingRef))}};Cf.default=vf});var gc=v(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.resolveSchema=Ai.getCompilingSchema=Ai.resolveRef=Ai.compileSchema=Ai.SchemaEnv=void 0;var ki=le(),BL=dc(),Ra=wt(),qi=So(),Mx=ye(),FL=To(),Lr=class{constructor(e){var n;this.refs={},this.dynamicAnchors={};let i;typeof e.schema=="object"&&(i=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=(n=e.baseId)!==null&&n!==void 0?n:(0,qi.normalizeId)(i?.[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=i?.$async,this.refs={}}};Ai.SchemaEnv=Lr;function bf(t){let e=Ex.call(this,t);if(e)return e;let n=(0,qi.getFullPath)(this.opts.uriResolver,t.root.baseId),{es5:i,lines:a}=this.opts.code,{ownProperties:r}=this.opts,s=new ki.CodeGen(this.scope,{es5:i,lines:a,ownProperties:r}),o;t.$async&&(o=s.scopeValue("Error",{ref:BL.default,code:(0,ki._)`require("ajv/dist/runtime/validation_error").default`}));let l=s.scopeName("validate");t.validateName=l;let u={gen:s,allErrors:this.opts.allErrors,data:Ra.default.data,parentData:Ra.default.parentData,parentDataProperty:Ra.default.parentDataProperty,dataNames:[Ra.default.data],dataPathArr:[ki.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:s.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:(0,ki.stringify)(t.schema)}:{ref:t.schema}),validateName:l,ValidationError:o,schema:t.schema,schemaEnv:t,rootId:n,baseId:t.baseId||n,schemaPath:ki.nil,errSchemaPath:t.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,ki._)`""`,opts:this.opts,self:this},c;try{this._compilations.add(t),(0,FL.validateFunctionCode)(u),s.optimize(this.opts.code.optimize);let p=s.toString();c=`${s.scopeRefs(Ra.default.scope)}return ${p}`,this.opts.code.process&&(c=this.opts.code.process(c,t));let d=new Function(`${Ra.default.self}`,`${Ra.default.scope}`,c)(this,this.scope.get());if(this.scope.value(l,{ref:d}),d.errors=null,d.schema=t.schema,d.schemaEnv=t,t.$async&&(d.$async=!0),this.opts.code.source===!0&&(d.source={validateName:l,validateCode:p,scopeValues:s._values}),this.opts.unevaluated){let{props:g,items:m}=u;d.evaluated={props:g instanceof ki.Name?void 0:g,items:m instanceof ki.Name?void 0:m,dynamicProps:g instanceof ki.Name,dynamicItems:m instanceof ki.Name},d.source&&(d.source.evaluated=(0,ki.stringify)(d.evaluated))}return t.validate=d,t}catch(p){throw delete t.validate,delete t.validateName,c&&this.logger.error("Error compiling schema, function code:",c),p}finally{this._compilations.delete(t)}}Ai.compileSchema=bf;function VL(t,e,n){var i;n=(0,qi.resolveUrl)(this.opts.uriResolver,e,n);let a=t.refs[n];if(a)return a;let r=KL.call(this,t,n);if(r===void 0){let s=(i=t.localRefs)===null||i===void 0?void 0:i[n],{schemaId:o}=this.opts;s&&(r=new Lr({schema:s,schemaId:o,root:t,baseId:e}))}if(r!==void 0)return t.refs[n]=JL.call(this,r)}Ai.resolveRef=VL;function JL(t){return(0,qi.inlineRef)(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:bf.call(this,t)}function Ex(t){for(let e of this._compilations)if(ZL(e,t))return e}Ai.getCompilingSchema=Ex;function ZL(t,e){return t.schema===e.schema&&t.root===e.root&&t.baseId===e.baseId}function KL(t,e){let n;for(;typeof(n=this.refs[e])=="string";)e=n;return n||this.schemas[e]||hc.call(this,t,e)}function hc(t,e){let n=this.opts.uriResolver.parse(e),i=(0,qi._getFullPath)(this.opts.uriResolver,n),a=(0,qi.getFullPath)(this.opts.uriResolver,t.baseId,void 0);if(Object.keys(t.schema).length>0&&i===a)return Af.call(this,n,t);let r=(0,qi.normalizeId)(i),s=this.refs[r]||this.schemas[r];if(typeof s=="string"){let o=hc.call(this,t,s);return typeof o?.schema!="object"?void 0:Af.call(this,n,o)}if(typeof s?.schema=="object"){if(s.validate||bf.call(this,s),r===(0,qi.normalizeId)(e)){let{schema:o}=s,{schemaId:l}=this.opts,u=o[l];return u&&(a=(0,qi.resolveUrl)(this.opts.uriResolver,a,u)),new Lr({schema:o,schemaId:l,root:t,baseId:a})}return Af.call(this,n,s)}}Ai.resolveSchema=hc;var QL=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Af(t,{baseId:e,schema:n,root:i}){var a;if(((a=t.fragment)===null||a===void 0?void 0:a[0])!=="/")return;for(let o of t.fragment.slice(1).split("/")){if(typeof n=="boolean")return;let l=n[(0,Mx.unescapeFragment)(o)];if(l===void 0)return;n=l;let u=typeof n=="object"&&n[this.opts.schemaId];!QL.has(o)&&u&&(e=(0,qi.resolveUrl)(this.opts.uriResolver,e,u))}let r;if(typeof n!="boolean"&&n.$ref&&!(0,Mx.schemaHasRulesButRef)(n,this.RULES)){let o=(0,qi.resolveUrl)(this.opts.uriResolver,e,n.$ref);r=hc.call(this,i,o)}let{schemaId:s}=this.opts;if(r=r||new Lr({schema:n,schemaId:s,root:i,baseId:e}),r.schema!==r.root.schema)return r}});var kx=v((Fse,YL)=>{YL.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var jf=v((Vse,zx)=>{"use strict";var XL=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),_x=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),yf=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),Hx=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),eW=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function Pf(t){let e="",n=0,i=0;for(i=0;i=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102))return"";e+=t[i];break}for(i+=1;i=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102))return"";e+=t[i]}return e}var nW=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function qx(t){return t.length=0,!0}function iW(t,e,n){if(t.length){let i=Pf(t);if(i!=="")e.push(i);else return n.error=!0,!1;t.length=0}return!0}function tW(t){let e=0,n={error:!1,address:"",zone:""},i=[],a=[],r=!1,s=!1,o=iW;for(let l=0;l7){n.error=!0;break}l>0&&t[l-1]===":"&&(r=!0),i.push(":");continue}else if(u==="%"){if(!o(a,i,n))break;o=qx}else{a.push(u);continue}}return a.length&&(o===qx?n.zone=a.join(""):s?i.push(a.join("")):i.push(Pf(a))),n.address=i.join(""),n}function Ix(t){if(aW(t,":")<2)return{host:t,isIPV6:!1};let e=tW(t);if(e.error)return{host:t,isIPV6:!1};{let n=e.address,i=e.address;return e.zone&&(n+="%"+e.zone,i+="%25"+e.zone),{host:n,isIPV6:!0,escapedHost:i}}}function aW(t,e){let n=0;for(let i=0;isW[i])}function uW(t,e=!1){if(t.indexOf("%")===-1)return t;let n="";for(let i=0;i{"use strict";var{isUUID:hW}=jf(),gW=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,mW=["http","https","ws","wss","urn","urn:uuid"];function fW(t){return mW.indexOf(t)!==-1}function Sf(t){return t.secure===!0?!0:t.secure===!1?!1:t.scheme?t.scheme.length===3&&(t.scheme[0]==="w"||t.scheme[0]==="W")&&(t.scheme[1]==="s"||t.scheme[1]==="S")&&(t.scheme[2]==="s"||t.scheme[2]==="S"):!1}function Dx(t){return t.host||(t.error=t.error||"HTTP URIs must have a host."),t}function Gx(t){let e=String(t.scheme).toLowerCase()==="https";return(t.port===(e?443:80)||t.port==="")&&(t.port=void 0),t.path||(t.path="/"),t}function wW(t){return t.secure=Sf(t),t.resourceName=(t.path||"/")+(t.query?"?"+t.query:""),t.path=void 0,t.query=void 0,t}function vW(t){if((t.port===(Sf(t)?443:80)||t.port==="")&&(t.port=void 0),typeof t.secure=="boolean"&&(t.scheme=t.secure?"wss":"ws",t.secure=void 0),t.resourceName){let[e,n]=t.resourceName.split("?");t.path=e&&e!=="/"?e:void 0,t.query=n,t.resourceName=void 0}return t.fragment=void 0,t}function CW(t,e){if(!t.path)return t.error="URN can not be parsed",t;let n=t.path.match(gW);if(n){let i=e.scheme||t.scheme||"urn";t.nid=n[1].toLowerCase(),t.nss=n[2];let a=`${i}:${e.nid||t.nid}`,r=Of(a);t.path=void 0,r&&(t=r.parse(t,e))}else t.error=t.error||"URN can not be parsed.";return t}function AW(t,e){if(t.nid===void 0)throw new Error("URN without nid cannot be serialized");let n=e.scheme||t.scheme||"urn",i=t.nid.toLowerCase(),a=`${n}:${e.nid||i}`,r=Of(a);r&&(t=r.serialize(t,e));let s=t,o=t.nss;return s.path=`${i||e.nid}:${o}`,e.skipEscape=!0,s}function bW(t,e){let n=t;return n.uuid=n.nss,n.nss=void 0,!e.tolerant&&(!n.uuid||!hW(n.uuid))&&(n.error=n.error||"UUID is not valid."),n}function yW(t){let e=t;return e.nss=(t.uuid||"").toLowerCase(),e}var $x={scheme:"http",domainHost:!0,parse:Dx,serialize:Gx},PW={scheme:"https",domainHost:$x.domainHost,parse:Dx,serialize:Gx},mc={scheme:"ws",domainHost:!0,parse:wW,serialize:vW},jW={scheme:"wss",domainHost:mc.domainHost,parse:mc.parse,serialize:mc.serialize},SW={scheme:"urn",parse:CW,serialize:AW,skipNormalize:!0},OW={scheme:"urn:uuid",parse:bW,serialize:yW,skipNormalize:!0},fc={http:$x,https:PW,ws:mc,wss:jW,urn:SW,"urn:uuid":OW};Object.setPrototypeOf(fc,null);function Of(t){return t&&(fc[t]||fc[t.toLowerCase()])||void 0}Nx.exports={wsIsSecure:Sf,SCHEMES:fc,isValidSchemeName:fW,getSchemeHandler:Of}});var Vx=v((Zse,Cc)=>{"use strict";var{normalizeIPv6:xW,removeDotSegments:Eo,recomposeAuthority:TW,normalizePercentEncoding:MW,normalizePathEncoding:EW,escapePreservingEscapes:kW,reescapeHostDelimiters:qW,isIPv4:_W,nonSimpleDomain:HW}=jf(),{SCHEMES:IW,getSchemeHandler:Wx}=Ux();function RW(t,e){return typeof t=="string"?t=LW(t,e):typeof t=="object"&&(t=vc(za(t,e),e)),t}function zW(t,e,n){let i=n?Object.assign({scheme:"null"},n):{scheme:"null"},{parsed:a,malformedAuthorityOrPort:r}=wc(t,i),{parsed:s,malformedAuthorityOrPort:o}=wc(e,i);if(r||o)throw new Error(a.error||s.error||"URI is malformed.");let l=Bx(a,s,i,!0);return i.skipEscape=!0,za(l,i)}function Bx(t,e,n,i){let a={};return i||(t=vc(za(t,n),n),e=vc(za(e,n),n)),n=n||{},!n.tolerant&&e.scheme?(a.scheme=e.scheme,a.userinfo=e.userinfo,a.host=e.host,a.port=e.port,a.path=Eo(e.path||""),a.query=e.query):(e.userinfo!==void 0||e.host!==void 0||e.port!==void 0?(a.userinfo=e.userinfo,a.host=e.host,a.port=e.port,a.path=Eo(e.path||""),a.query=e.query):(e.path?(e.path[0]==="/"?a.path=Eo(e.path):((t.userinfo!==void 0||t.host!==void 0||t.port!==void 0)&&!t.path?a.path="/"+e.path:t.path?a.path=t.path.slice(0,t.path.lastIndexOf("/")+1)+e.path:a.path=e.path,a.path=Eo(a.path)),a.query=e.query):(a.path=t.path,e.query!==void 0?a.query=e.query:a.query=t.query),a.userinfo=t.userinfo,a.host=t.host,a.port=t.port),a.scheme=t.scheme),a.fragment=e.fragment,a}function DW(t,e,n){let i=Lx(t,n),a=Lx(e,n);return i!==void 0&&a!==void 0&&i.toLowerCase()===a.toLowerCase()}function za(t,e){let n={host:t.host,scheme:t.scheme,userinfo:t.userinfo,port:t.port,path:t.path,query:t.query,nid:t.nid,nss:t.nss,uuid:t.uuid,fragment:t.fragment,reference:t.reference,resourceName:t.resourceName,secure:t.secure,error:""},i=Object.assign({},e),a=[],r=Wx(i.scheme||n.scheme);r&&r.serialize&&r.serialize(n,i),n.path!==void 0&&(i.skipEscape?n.path=MW(n.path):(n.path=kW(n.path),n.scheme!==void 0&&(n.path=n.path.split("%3A").join(":")))),i.reference!=="suffix"&&n.scheme&&a.push(n.scheme,":");let s=TW(n);if(s!==void 0&&(i.reference!=="suffix"&&a.push("//"),a.push(s),n.path&&n.path[0]!=="/"&&a.push("/")),n.path!==void 0){let o=n.path;!i.absolutePath&&(!r||!r.absolutePath)&&(o=Eo(o)),s===void 0&&o[0]==="/"&&o[1]==="/"&&(o="/%2F"+o.slice(2)),a.push(o)}return n.query!==void 0&&a.push("?",n.query),n.fragment!==void 0&&a.push("#",n.fragment),a.join("")}var GW=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u,$W=/^(?:[^#/:?]+:)?\/\/([^/?#]*)/,NW=/^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;function UW(t,e){if(e[2]!==void 0&&t.path&&t.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof t.port=="number"&&(t.port<0||t.port>65535))return"URI port is malformed."}function wc(t,e){let n=Object.assign({},e),i={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},a=!1,r=!1;n.reference==="suffix"&&(n.scheme?t=n.scheme+":"+t:t="//"+t);let s=t.match($W);s!==null&&s[1].indexOf("\\")!==-1&&(i.error="URI authority must not contain a literal backslash.",a=!0);let o=t.match(NW);if(o!==null){let u=o[1],c=u.replace(/[\t\n\r]/g,"");c.length>=2&&(c.slice(0,2)!=="//"?(i.error=i.error||"URI authority must not contain a literal backslash.",a=!0):u.length!==c.length&&(i.error=i.error||"URI authority introducer must not contain whitespace.",a=!0))}let l=t.match(GW);if(l){i.scheme=l[1],i.userinfo=l[3],i.host=l[4],i.port=parseInt(l[5],10),i.path=l[6]||"",i.query=l[7],i.fragment=l[8],isNaN(i.port)&&(i.port=l[5]);let u=UW(i,l);if(u!==void 0&&(i.error=i.error||u,a=!0),i.host)if(_W(i.host)===!1){let h=xW(i.host);i.host=h.host.toLowerCase(),r=h.isIPV6}else r=!0;i.scheme===void 0&&i.userinfo===void 0&&i.host===void 0&&i.port===void 0&&i.query===void 0&&!i.path?i.reference="same-document":i.scheme===void 0?i.reference="relative":i.fragment===void 0?i.reference="absolute":i.reference="uri",n.reference&&n.reference!=="suffix"&&n.reference!==i.reference&&(i.error=i.error||"URI is not a "+n.reference+" reference.");let c=Wx(n.scheme||i.scheme);if(!n.unicodeSupport&&(!c||!c.unicodeSupport)&&i.host&&(n.domainHost||c&&c.domainHost)&&r===!1&&HW(i.host))try{i.host=new URL("http://"+i.host).hostname}catch(p){i.error=i.error||"Host's domain name can not be converted to ASCII: "+p}if((!c||c&&!c.skipNormalize)&&(t.indexOf("%")!==-1&&(i.scheme!==void 0&&(i.scheme=unescape(i.scheme)),i.host!==void 0&&(i.host=qW(unescape(i.host),r))),i.path&&(i.path=EW(i.path)),i.fragment))try{i.fragment=encodeURI(decodeURIComponent(i.fragment))}catch{i.error=i.error||"URI malformed"}c&&c.parse&&c.parse(i,n)}else i.error=i.error||"URI can not be parsed.";return{parsed:i,malformedAuthorityOrPort:a}}function vc(t,e){return wc(t,e).parsed}function LW(t,e){return Fx(t,e).normalized}function Fx(t,e){let{parsed:n,malformedAuthorityOrPort:i}=wc(t,e);return{normalized:i?t:za(n,e),malformedAuthorityOrPort:i}}function Lx(t,e){if(typeof t=="string"){let{normalized:n,malformedAuthorityOrPort:i}=Fx(t,e);return i?void 0:n}if(typeof t=="object")return za(t,e)}var xf={SCHEMES:IW,normalize:RW,resolve:zW,resolveComponent:Bx,equal:DW,serialize:za,parse:vc};Cc.exports=xf;Cc.exports.default=xf;Cc.exports.fastUri=xf});var Zx=v(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});var Jx=Vx();Jx.code='require("ajv/dist/runtime/uri").default';Tf.default=Jx});var tT=v(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.CodeGen=xn.Name=xn.nil=xn.stringify=xn.str=xn._=xn.KeywordCxt=void 0;var WW=To();Object.defineProperty(xn,"KeywordCxt",{enumerable:!0,get:function(){return WW.KeywordCxt}});var Wr=le();Object.defineProperty(xn,"_",{enumerable:!0,get:function(){return Wr._}});Object.defineProperty(xn,"str",{enumerable:!0,get:function(){return Wr.str}});Object.defineProperty(xn,"stringify",{enumerable:!0,get:function(){return Wr.stringify}});Object.defineProperty(xn,"nil",{enumerable:!0,get:function(){return Wr.nil}});Object.defineProperty(xn,"Name",{enumerable:!0,get:function(){return Wr.Name}});Object.defineProperty(xn,"CodeGen",{enumerable:!0,get:function(){return Wr.CodeGen}});var BW=dc(),eT=Mo(),FW=nf(),ko=gc(),VW=le(),qo=So(),Ac=jo(),Ef=ye(),Kx=kx(),JW=Zx(),nT=(t,e)=>new RegExp(t,e);nT.code="new RegExp";var ZW=["removeAdditional","useDefaults","coerceTypes"],KW=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),QW={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},YW={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},Qx=200;function XW(t){var e,n,i,a,r,s,o,l,u,c,p,h,d,g,m,f,w,b,A,y,S,q,N,X,W;let T=t.strict,Q=(e=t.code)===null||e===void 0?void 0:e.optimize,re=Q===!0||Q===void 0?1:Q||0,ie=(i=(n=t.code)===null||n===void 0?void 0:n.regExp)!==null&&i!==void 0?i:nT,ne=(a=t.uriResolver)!==null&&a!==void 0?a:JW.default;return{strictSchema:(s=(r=t.strictSchema)!==null&&r!==void 0?r:T)!==null&&s!==void 0?s:!0,strictNumbers:(l=(o=t.strictNumbers)!==null&&o!==void 0?o:T)!==null&&l!==void 0?l:!0,strictTypes:(c=(u=t.strictTypes)!==null&&u!==void 0?u:T)!==null&&c!==void 0?c:"log",strictTuples:(h=(p=t.strictTuples)!==null&&p!==void 0?p:T)!==null&&h!==void 0?h:"log",strictRequired:(g=(d=t.strictRequired)!==null&&d!==void 0?d:T)!==null&&g!==void 0?g:!1,code:t.code?{...t.code,optimize:re,regExp:ie}:{optimize:re,regExp:ie},loopRequired:(m=t.loopRequired)!==null&&m!==void 0?m:Qx,loopEnum:(f=t.loopEnum)!==null&&f!==void 0?f:Qx,meta:(w=t.meta)!==null&&w!==void 0?w:!0,messages:(b=t.messages)!==null&&b!==void 0?b:!0,inlineRefs:(A=t.inlineRefs)!==null&&A!==void 0?A:!0,schemaId:(y=t.schemaId)!==null&&y!==void 0?y:"$id",addUsedSchema:(S=t.addUsedSchema)!==null&&S!==void 0?S:!0,validateSchema:(q=t.validateSchema)!==null&&q!==void 0?q:!0,validateFormats:(N=t.validateFormats)!==null&&N!==void 0?N:!0,unicodeRegExp:(X=t.unicodeRegExp)!==null&&X!==void 0?X:!0,int32range:(W=t.int32range)!==null&&W!==void 0?W:!0,uriResolver:ne}}var _o=class{constructor(e={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...XW(e)};let{es5:n,lines:i}=this.opts.code;this.scope=new VW.ValueScope({scope:{},prefixes:KW,es5:n,lines:i}),this.logger=rB(e.logger);let a=e.validateFormats;e.validateFormats=!1,this.RULES=(0,FW.getRules)(),Yx.call(this,QW,e,"NOT SUPPORTED"),Yx.call(this,YW,e,"DEPRECATED","warn"),this._metaOpts=tB.call(this),e.formats&&nB.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&iB.call(this,e.keywords),typeof e.meta=="object"&&this.addMetaSchema(e.meta),eB.call(this),e.validateFormats=a}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:e,meta:n,schemaId:i}=this.opts,a=Kx;i==="id"&&(a={...Kx},a.id=a.$id,delete a.$id),n&&e&&this.addMetaSchema(a,a[i],!1)}defaultMeta(){let{meta:e,schemaId:n}=this.opts;return this.opts.defaultMeta=typeof e=="object"?e[n]||e:void 0}validate(e,n){let i;if(typeof e=="string"){if(i=this.getSchema(e),!i)throw new Error(`no schema with key or ref "${e}"`)}else i=this.compile(e);let a=i(n);return"$async"in i||(this.errors=i.errors),a}compile(e,n){let i=this._addSchema(e,n);return i.validate||this._compileSchemaEnv(i)}compileAsync(e,n){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:i}=this.opts;return a.call(this,e,n);async function a(c,p){await r.call(this,c.$schema);let h=this._addSchema(c,p);return h.validate||s.call(this,h)}async function r(c){c&&!this.getSchema(c)&&await a.call(this,{$ref:c},!0)}async function s(c){try{return this._compileSchemaEnv(c)}catch(p){if(!(p instanceof eT.default))throw p;return o.call(this,p),await l.call(this,p.missingSchema),s.call(this,c)}}function o({missingSchema:c,missingRef:p}){if(this.refs[c])throw new Error(`AnySchema ${c} is loaded but ${p} cannot be resolved`)}async function l(c){let p=await u.call(this,c);this.refs[c]||await r.call(this,p.$schema),this.refs[c]||this.addSchema(p,c,n)}async function u(c){let p=this._loading[c];if(p)return p;try{return await(this._loading[c]=i(c))}finally{delete this._loading[c]}}}addSchema(e,n,i,a=this.opts.validateSchema){if(Array.isArray(e)){for(let s of e)this.addSchema(s,void 0,i,a);return this}let r;if(typeof e=="object"){let{schemaId:s}=this.opts;if(r=e[s],r!==void 0&&typeof r!="string")throw new Error(`schema ${s} must be string`)}return n=(0,qo.normalizeId)(n||r),this._checkUnique(n),this.schemas[n]=this._addSchema(e,i,n,a,!0),this}addMetaSchema(e,n,i=this.opts.validateSchema){return this.addSchema(e,n,!0,i),this}validateSchema(e,n){if(typeof e=="boolean")return!0;let i;if(i=e.$schema,i!==void 0&&typeof i!="string")throw new Error("$schema must be a string");if(i=i||this.opts.defaultMeta||this.defaultMeta(),!i)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let a=this.validate(i,e);if(!a&&n){let r="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(r);else throw new Error(r)}return a}getSchema(e){let n;for(;typeof(n=Xx.call(this,e))=="string";)e=n;if(n===void 0){let{schemaId:i}=this.opts,a=new ko.SchemaEnv({schema:{},schemaId:i});if(n=ko.resolveSchema.call(this,a,e),!n)return;this.refs[e]=n}return n.validate||this._compileSchemaEnv(n)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let n=Xx.call(this,e);return typeof n=="object"&&this._cache.delete(n.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{let n=e;this._cache.delete(n);let i=e[this.opts.schemaId];return i&&(i=(0,qo.normalizeId)(i),delete this.schemas[i],delete this.refs[i]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(let n of e)this.addKeyword(n);return this}addKeyword(e,n){let i;if(typeof e=="string")i=e,typeof n=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),n.keyword=i);else if(typeof e=="object"&&n===void 0){if(n=e,i=n.keyword,Array.isArray(i)&&!i.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(oB.call(this,i,n),!n)return(0,Ef.eachItem)(i,r=>Mf.call(this,r)),this;uB.call(this,n);let a={...n,type:(0,Ac.getJSONTypes)(n.type),schemaType:(0,Ac.getJSONTypes)(n.schemaType)};return(0,Ef.eachItem)(i,a.type.length===0?r=>Mf.call(this,r,a):r=>a.type.forEach(s=>Mf.call(this,r,a,s))),this}getKeyword(e){let n=this.RULES.all[e];return typeof n=="object"?n.definition:!!n}removeKeyword(e){let{RULES:n}=this;delete n.keywords[e],delete n.all[e];for(let i of n.rules){let a=i.rules.findIndex(r=>r.keyword===e);a>=0&&i.rules.splice(a,1)}return this}addFormat(e,n){return typeof n=="string"&&(n=new RegExp(n)),this.formats[e]=n,this}errorsText(e=this.errors,{separator:n=", ",dataVar:i="data"}={}){return!e||e.length===0?"No errors":e.map(a=>`${i}${a.instancePath} ${a.message}`).reduce((a,r)=>a+n+r)}$dataMetaSchema(e,n){let i=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(let a of n){let r=a.split("/").slice(1),s=e;for(let o of r)s=s[o];for(let o in i){let l=i[o];if(typeof l!="object")continue;let{$data:u}=l.definition,c=s[o];u&&c&&(s[o]=iT(c))}}return e}_removeAllSchemas(e,n){for(let i in e){let a=e[i];(!n||n.test(i))&&(typeof a=="string"?delete e[i]:a&&!a.meta&&(this._cache.delete(a.schema),delete e[i]))}}_addSchema(e,n,i,a=this.opts.validateSchema,r=this.opts.addUsedSchema){let s,{schemaId:o}=this.opts;if(typeof e=="object")s=e[o];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof e!="boolean")throw new Error("schema must be object or boolean")}let l=this._cache.get(e);if(l!==void 0)return l;i=(0,qo.normalizeId)(s||i);let u=qo.getSchemaRefs.call(this,e,i);return l=new ko.SchemaEnv({schema:e,schemaId:o,meta:n,baseId:i,localRefs:u}),this._cache.set(l.schema,l),r&&!i.startsWith("#")&&(i&&this._checkUnique(i),this.refs[i]=l),a&&this.validateSchema(e,!0),l}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):ko.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){let n=this.opts;this.opts=this._metaOpts;try{ko.compileSchema.call(this,e)}finally{this.opts=n}}};_o.ValidationError=BW.default;_o.MissingRefError=eT.default;xn.default=_o;function Yx(t,e,n,i="error"){for(let a in t){let r=a;r in e&&this.logger[i](`${n}: option ${a}. ${t[r]}`)}}function Xx(t){return t=(0,qo.normalizeId)(t),this.schemas[t]||this.refs[t]}function eB(){let t=this.opts.schemas;if(t)if(Array.isArray(t))this.addSchema(t);else for(let e in t)this.addSchema(t[e],e)}function nB(){for(let t in this.opts.formats){let e=this.opts.formats[t];e&&this.addFormat(t,e)}}function iB(t){if(Array.isArray(t)){this.addVocabulary(t);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let e in t){let n=t[e];n.keyword||(n.keyword=e),this.addKeyword(n)}}function tB(){let t={...this.opts};for(let e of ZW)delete t[e];return t}var aB={log(){},warn(){},error(){}};function rB(t){if(t===!1)return aB;if(t===void 0)return console;if(t.log&&t.warn&&t.error)return t;throw new Error("logger must implement log, warn and error methods")}var sB=/^[a-z_$][a-z0-9_$:-]*$/i;function oB(t,e){let{RULES:n}=this;if((0,Ef.eachItem)(t,i=>{if(n.keywords[i])throw new Error(`Keyword ${i} is already defined`);if(!sB.test(i))throw new Error(`Keyword ${i} has invalid name`)}),!!e&&e.$data&&!("code"in e||"validate"in e))throw new Error('$data keyword must have "code" or "validate" function')}function Mf(t,e,n){var i;let a=e?.post;if(n&&a)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:r}=this,s=a?r.post:r.rules.find(({type:l})=>l===n);if(s||(s={type:n,rules:[]},r.rules.push(s)),r.keywords[t]=!0,!e)return;let o={keyword:t,definition:{...e,type:(0,Ac.getJSONTypes)(e.type),schemaType:(0,Ac.getJSONTypes)(e.schemaType)}};e.before?lB.call(this,s,o,e.before):s.rules.push(o),r.all[t]=o,(i=e.implements)===null||i===void 0||i.forEach(l=>this.addKeyword(l))}function lB(t,e,n){let i=t.rules.findIndex(a=>a.keyword===n);i>=0?t.rules.splice(i,0,e):(t.rules.push(e),this.logger.warn(`rule ${n} is not defined`))}function uB(t){let{metaSchema:e}=t;e!==void 0&&(t.$data&&this.opts.$data&&(e=iT(e)),t.validateSchema=this.compile(e,!0))}var cB={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function iT(t){return{anyOf:[t,cB]}}});var aT=v(kf=>{"use strict";Object.defineProperty(kf,"__esModule",{value:!0});var pB={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};kf.default=pB});var lT=v(Da=>{"use strict";Object.defineProperty(Da,"__esModule",{value:!0});Da.callRef=Da.getValidate=void 0;var dB=Mo(),rT=Ci(),Yn=le(),Br=wt(),sT=gc(),bc=ye(),hB={keyword:"$ref",schemaType:"string",code(t){let{gen:e,schema:n,it:i}=t,{baseId:a,schemaEnv:r,validateName:s,opts:o,self:l}=i,{root:u}=r;if((n==="#"||n==="#/")&&a===u.baseId)return p();let c=sT.resolveRef.call(l,u,a,n);if(c===void 0)throw new dB.default(i.opts.uriResolver,a,n);if(c instanceof sT.SchemaEnv)return h(c);return d(c);function p(){if(r===u)return yc(t,s,r,r.$async);let g=e.scopeValue("root",{ref:u});return yc(t,(0,Yn._)`${g}.validate`,u,u.$async)}function h(g){let m=oT(t,g);yc(t,m,g,g.$async)}function d(g){let m=e.scopeValue("schema",o.code.source===!0?{ref:g,code:(0,Yn.stringify)(g)}:{ref:g}),f=e.name("valid"),w=t.subschema({schema:g,dataTypes:[],schemaPath:Yn.nil,topSchemaRef:m,errSchemaPath:n},f);t.mergeEvaluated(w),t.ok(f)}}};function oT(t,e){let{gen:n}=t;return e.validate?n.scopeValue("validate",{ref:e.validate}):(0,Yn._)`${n.scopeValue("wrapper",{ref:e})}.validate`}Da.getValidate=oT;function yc(t,e,n,i){let{gen:a,it:r}=t,{allErrors:s,schemaEnv:o,opts:l}=r,u=l.passContext?Br.default.this:Yn.nil;i?c():p();function c(){if(!o.$async)throw new Error("async schema referenced by sync schema");let g=a.let("valid");a.try(()=>{a.code((0,Yn._)`await ${(0,rT.callValidateCode)(t,e,u)}`),d(e),s||a.assign(g,!0)},m=>{a.if((0,Yn._)`!(${m} instanceof ${r.ValidationError})`,()=>a.throw(m)),h(m),s||a.assign(g,!1)}),t.ok(g)}function p(){t.result((0,rT.callValidateCode)(t,e,u),()=>d(e),()=>h(e))}function h(g){let m=(0,Yn._)`${g}.errors`;a.assign(Br.default.vErrors,(0,Yn._)`${Br.default.vErrors} === null ? ${m} : ${Br.default.vErrors}.concat(${m})`),a.assign(Br.default.errors,(0,Yn._)`${Br.default.vErrors}.length`)}function d(g){var m;if(!r.opts.unevaluated)return;let f=(m=n?.validate)===null||m===void 0?void 0:m.evaluated;if(r.props!==!0)if(f&&!f.dynamicProps)f.props!==void 0&&(r.props=bc.mergeEvaluated.props(a,f.props,r.props));else{let w=a.var("props",(0,Yn._)`${g}.evaluated.props`);r.props=bc.mergeEvaluated.props(a,w,r.props,Yn.Name)}if(r.items!==!0)if(f&&!f.dynamicItems)f.items!==void 0&&(r.items=bc.mergeEvaluated.items(a,f.items,r.items));else{let w=a.var("items",(0,Yn._)`${g}.evaluated.items`);r.items=bc.mergeEvaluated.items(a,w,r.items,Yn.Name)}}}Da.callRef=yc;Da.default=hB});var uT=v(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});var gB=aT(),mB=lT(),fB=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",gB.default,mB.default];qf.default=fB});var cT=v(_f=>{"use strict";Object.defineProperty(_f,"__esModule",{value:!0});var Pc=le(),Wt=Pc.operators,jc={maximum:{okStr:"<=",ok:Wt.LTE,fail:Wt.GT},minimum:{okStr:">=",ok:Wt.GTE,fail:Wt.LT},exclusiveMaximum:{okStr:"<",ok:Wt.LT,fail:Wt.GTE},exclusiveMinimum:{okStr:">",ok:Wt.GT,fail:Wt.LTE}},wB={message:({keyword:t,schemaCode:e})=>(0,Pc.str)`must be ${jc[t].okStr} ${e}`,params:({keyword:t,schemaCode:e})=>(0,Pc._)`{comparison: ${jc[t].okStr}, limit: ${e}}`},vB={keyword:Object.keys(jc),type:"number",schemaType:"number",$data:!0,error:wB,code(t){let{keyword:e,data:n,schemaCode:i}=t;t.fail$data((0,Pc._)`${n} ${jc[e].fail} ${i} || isNaN(${n})`)}};_f.default=vB});var pT=v(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});var Ho=le(),CB={message:({schemaCode:t})=>(0,Ho.str)`must be multiple of ${t}`,params:({schemaCode:t})=>(0,Ho._)`{multipleOf: ${t}}`},AB={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:CB,code(t){let{gen:e,data:n,schemaCode:i,it:a}=t,r=a.opts.multipleOfPrecision,s=e.let("res"),o=r?(0,Ho._)`Math.abs(Math.round(${s}) - ${s}) > 1e-${r}`:(0,Ho._)`${s} !== parseInt(${s})`;t.fail$data((0,Ho._)`(${i} === 0 || (${s} = ${n}/${i}, ${o}))`)}};Hf.default=AB});var hT=v(If=>{"use strict";Object.defineProperty(If,"__esModule",{value:!0});function dT(t){let e=t.length,n=0,i=0,a;for(;i=55296&&a<=56319&&i{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});var Ga=le(),bB=ye(),yB=hT(),PB={message({keyword:t,schemaCode:e}){let n=t==="maxLength"?"more":"fewer";return(0,Ga.str)`must NOT have ${n} than ${e} characters`},params:({schemaCode:t})=>(0,Ga._)`{limit: ${t}}`},jB={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:PB,code(t){let{keyword:e,data:n,schemaCode:i,it:a}=t,r=e==="maxLength"?Ga.operators.GT:Ga.operators.LT,s=a.opts.unicode===!1?(0,Ga._)`${n}.length`:(0,Ga._)`${(0,bB.useFunc)(t.gen,yB.default)}(${n})`;t.fail$data((0,Ga._)`${s} ${r} ${i}`)}};Rf.default=jB});var mT=v(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});var SB=Ci(),OB=ye(),Fr=le(),xB={message:({schemaCode:t})=>(0,Fr.str)`must match pattern "${t}"`,params:({schemaCode:t})=>(0,Fr._)`{pattern: ${t}}`},TB={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:xB,code(t){let{gen:e,data:n,$data:i,schema:a,schemaCode:r,it:s}=t,o=s.opts.unicodeRegExp?"u":"";if(i){let{regExp:l}=s.opts.code,u=l.code==="new RegExp"?(0,Fr._)`new RegExp`:(0,OB.useFunc)(e,l),c=e.let("valid");e.try(()=>e.assign(c,(0,Fr._)`${u}(${r}, ${o}).test(${n})`),()=>e.assign(c,!1)),t.fail$data((0,Fr._)`!${c}`)}else{let l=(0,SB.usePattern)(t,a);t.fail$data((0,Fr._)`!${l}.test(${n})`)}}};zf.default=TB});var fT=v(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});var Io=le(),MB={message({keyword:t,schemaCode:e}){let n=t==="maxProperties"?"more":"fewer";return(0,Io.str)`must NOT have ${n} than ${e} properties`},params:({schemaCode:t})=>(0,Io._)`{limit: ${t}}`},EB={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:MB,code(t){let{keyword:e,data:n,schemaCode:i}=t,a=e==="maxProperties"?Io.operators.GT:Io.operators.LT;t.fail$data((0,Io._)`Object.keys(${n}).length ${a} ${i}`)}};Df.default=EB});var wT=v(Gf=>{"use strict";Object.defineProperty(Gf,"__esModule",{value:!0});var Ro=Ci(),zo=le(),kB=ye(),qB={message:({params:{missingProperty:t}})=>(0,zo.str)`must have required property '${t}'`,params:({params:{missingProperty:t}})=>(0,zo._)`{missingProperty: ${t}}`},_B={keyword:"required",type:"object",schemaType:"array",$data:!0,error:qB,code(t){let{gen:e,schema:n,schemaCode:i,data:a,$data:r,it:s}=t,{opts:o}=s;if(!r&&n.length===0)return;let l=n.length>=o.loopRequired;if(s.allErrors?u():c(),o.strictRequired){let d=t.parentSchema.properties,{definedProperties:g}=t.it;for(let m of n)if(d?.[m]===void 0&&!g.has(m)){let f=s.schemaEnv.baseId+s.errSchemaPath,w=`required property "${m}" is not defined at "${f}" (strictRequired)`;(0,kB.checkStrictMode)(s,w,s.opts.strictRequired)}}function u(){if(l||r)t.block$data(zo.nil,p);else for(let d of n)(0,Ro.checkReportMissingProp)(t,d)}function c(){let d=e.let("missing");if(l||r){let g=e.let("valid",!0);t.block$data(g,()=>h(d,g)),t.ok(g)}else e.if((0,Ro.checkMissingProp)(t,n,d)),(0,Ro.reportMissingProp)(t,d),e.else()}function p(){e.forOf("prop",i,d=>{t.setParams({missingProperty:d}),e.if((0,Ro.noPropertyInData)(e,a,d,o.ownProperties),()=>t.error())})}function h(d,g){t.setParams({missingProperty:d}),e.forOf(d,i,()=>{e.assign(g,(0,Ro.propertyInData)(e,a,d,o.ownProperties)),e.if((0,zo.not)(g),()=>{t.error(),e.break()})},zo.nil)}}};Gf.default=_B});var vT=v($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});var Do=le(),HB={message({keyword:t,schemaCode:e}){let n=t==="maxItems"?"more":"fewer";return(0,Do.str)`must NOT have ${n} than ${e} items`},params:({schemaCode:t})=>(0,Do._)`{limit: ${t}}`},IB={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:HB,code(t){let{keyword:e,data:n,schemaCode:i}=t,a=e==="maxItems"?Do.operators.GT:Do.operators.LT;t.fail$data((0,Do._)`${n}.length ${a} ${i}`)}};$f.default=IB});var Sc=v(Nf=>{"use strict";Object.defineProperty(Nf,"__esModule",{value:!0});var CT=cf();CT.code='require("ajv/dist/runtime/equal").default';Nf.default=CT});var AT=v(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});var Uf=jo(),Tn=le(),RB=ye(),zB=Sc(),DB={message:({params:{i:t,j:e}})=>(0,Tn.str)`must NOT have duplicate items (items ## ${e} and ${t} are identical)`,params:({params:{i:t,j:e}})=>(0,Tn._)`{i: ${t}, j: ${e}}`},GB={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:DB,code(t){let{gen:e,data:n,$data:i,schema:a,parentSchema:r,schemaCode:s,it:o}=t;if(!i&&!a)return;let l=e.let("valid"),u=r.items?(0,Uf.getSchemaTypes)(r.items):[];t.block$data(l,c,(0,Tn._)`${s} === false`),t.ok(l);function c(){let g=e.let("i",(0,Tn._)`${n}.length`),m=e.let("j");t.setParams({i:g,j:m}),e.assign(l,!0),e.if((0,Tn._)`${g} > 1`,()=>(p()?h:d)(g,m))}function p(){return u.length>0&&!u.some(g=>g==="object"||g==="array")}function h(g,m){let f=e.name("item"),w=(0,Uf.checkDataTypes)(u,f,o.opts.strictNumbers,Uf.DataType.Wrong),b=e.const("indices",(0,Tn._)`{}`);e.for((0,Tn._)`;${g}--;`,()=>{e.let(f,(0,Tn._)`${n}[${g}]`),e.if(w,(0,Tn._)`continue`),u.length>1&&e.if((0,Tn._)`typeof ${f} == "string"`,(0,Tn._)`${f} += "_"`),e.if((0,Tn._)`typeof ${b}[${f}] == "number"`,()=>{e.assign(m,(0,Tn._)`${b}[${f}]`),t.error(),e.assign(l,!1).break()}).code((0,Tn._)`${b}[${f}] = ${g}`)})}function d(g,m){let f=(0,RB.useFunc)(e,zB.default),w=e.name("outer");e.label(w).for((0,Tn._)`;${g}--;`,()=>e.for((0,Tn._)`${m} = ${g}; ${m}--;`,()=>e.if((0,Tn._)`${f}(${n}[${g}], ${n}[${m}])`,()=>{t.error(),e.assign(l,!1).break(w)})))}}};Lf.default=GB});var bT=v(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});var Wf=le(),$B=ye(),NB=Sc(),UB={message:"must be equal to constant",params:({schemaCode:t})=>(0,Wf._)`{allowedValue: ${t}}`},LB={keyword:"const",$data:!0,error:UB,code(t){let{gen:e,data:n,$data:i,schemaCode:a,schema:r}=t;i||r&&typeof r=="object"?t.fail$data((0,Wf._)`!${(0,$B.useFunc)(e,NB.default)}(${n}, ${a})`):t.fail((0,Wf._)`${r} !== ${n}`)}};Bf.default=LB});var yT=v(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});var Go=le(),WB=ye(),BB=Sc(),FB={message:"must be equal to one of the allowed values",params:({schemaCode:t})=>(0,Go._)`{allowedValues: ${t}}`},VB={keyword:"enum",schemaType:"array",$data:!0,error:FB,code(t){let{gen:e,data:n,$data:i,schema:a,schemaCode:r,it:s}=t;if(!i&&a.length===0)throw new Error("enum must have non-empty array");let o=a.length>=s.opts.loopEnum,l,u=()=>l??(l=(0,WB.useFunc)(e,BB.default)),c;if(o||i)c=e.let("valid"),t.block$data(c,p);else{if(!Array.isArray(a))throw new Error("ajv implementation error");let d=e.const("vSchema",r);c=(0,Go.or)(...a.map((g,m)=>h(d,m)))}t.pass(c);function p(){e.assign(c,!1),e.forOf("v",r,d=>e.if((0,Go._)`${u()}(${n}, ${d})`,()=>e.assign(c,!0).break()))}function h(d,g){let m=a[g];return typeof m=="object"&&m!==null?(0,Go._)`${u()}(${n}, ${d}[${g}])`:(0,Go._)`${n} === ${m}`}}};Ff.default=VB});var PT=v(Vf=>{"use strict";Object.defineProperty(Vf,"__esModule",{value:!0});var JB=cT(),ZB=pT(),KB=gT(),QB=mT(),YB=fT(),XB=wT(),eF=vT(),nF=AT(),iF=bT(),tF=yT(),aF=[JB.default,ZB.default,KB.default,QB.default,YB.default,XB.default,eF.default,nF.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},iF.default,tF.default];Vf.default=aF});var Zf=v($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.validateAdditionalItems=void 0;var $a=le(),Jf=ye(),rF={message:({params:{len:t}})=>(0,$a.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,$a._)`{limit: ${t}}`},sF={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:rF,code(t){let{parentSchema:e,it:n}=t,{items:i}=e;if(!Array.isArray(i)){(0,Jf.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas');return}jT(t,i)}};function jT(t,e){let{gen:n,schema:i,data:a,keyword:r,it:s}=t;s.items=!0;let o=n.const("len",(0,$a._)`${a}.length`);if(i===!1)t.setParams({len:e.length}),t.pass((0,$a._)`${o} <= ${e.length}`);else if(typeof i=="object"&&!(0,Jf.alwaysValidSchema)(s,i)){let u=n.var("valid",(0,$a._)`${o} <= ${e.length}`);n.if((0,$a.not)(u),()=>l(u)),t.ok(u)}function l(u){n.forRange("i",e.length,o,c=>{t.subschema({keyword:r,dataProp:c,dataPropType:Jf.Type.Num},u),s.allErrors||n.if((0,$a.not)(u),()=>n.break())})}}$o.validateAdditionalItems=jT;$o.default=sF});var Kf=v(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.validateTuple=void 0;var ST=le(),Oc=ye(),oF=Ci(),lF={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{schema:e,it:n}=t;if(Array.isArray(e))return OT(t,"additionalItems",e);n.items=!0,!(0,Oc.alwaysValidSchema)(n,e)&&t.ok((0,oF.validateArray)(t))}};function OT(t,e,n=t.schema){let{gen:i,parentSchema:a,data:r,keyword:s,it:o}=t;c(a),o.opts.unevaluated&&n.length&&o.items!==!0&&(o.items=Oc.mergeEvaluated.items(i,n.length,o.items));let l=i.name("valid"),u=i.const("len",(0,ST._)`${r}.length`);n.forEach((p,h)=>{(0,Oc.alwaysValidSchema)(o,p)||(i.if((0,ST._)`${u} > ${h}`,()=>t.subschema({keyword:s,schemaProp:h,dataProp:h},l)),t.ok(l))});function c(p){let{opts:h,errSchemaPath:d}=o,g=n.length,m=g===p.minItems&&(g===p.maxItems||p[e]===!1);if(h.strictTuples&&!m){let f=`"${s}" is ${g}-tuple, but minItems or maxItems/${e} are not specified or different at path "${d}"`;(0,Oc.checkStrictMode)(o,f,h.strictTuples)}}}No.validateTuple=OT;No.default=lF});var xT=v(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});var uF=Kf(),cF={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:t=>(0,uF.validateTuple)(t,"items")};Qf.default=cF});var MT=v(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});var TT=le(),pF=ye(),dF=Ci(),hF=Zf(),gF={message:({params:{len:t}})=>(0,TT.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,TT._)`{limit: ${t}}`},mF={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:gF,code(t){let{schema:e,parentSchema:n,it:i}=t,{prefixItems:a}=n;i.items=!0,!(0,pF.alwaysValidSchema)(i,e)&&(a?(0,hF.validateAdditionalItems)(t,a):t.ok((0,dF.validateArray)(t)))}};Yf.default=mF});var ET=v(Xf=>{"use strict";Object.defineProperty(Xf,"__esModule",{value:!0});var bi=le(),xc=ye(),fF={message:({params:{min:t,max:e}})=>e===void 0?(0,bi.str)`must contain at least ${t} valid item(s)`:(0,bi.str)`must contain at least ${t} and no more than ${e} valid item(s)`,params:({params:{min:t,max:e}})=>e===void 0?(0,bi._)`{minContains: ${t}}`:(0,bi._)`{minContains: ${t}, maxContains: ${e}}`},wF={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:fF,code(t){let{gen:e,schema:n,parentSchema:i,data:a,it:r}=t,s,o,{minContains:l,maxContains:u}=i;r.opts.next?(s=l===void 0?1:l,o=u):s=1;let c=e.const("len",(0,bi._)`${a}.length`);if(t.setParams({min:s,max:o}),o===void 0&&s===0){(0,xc.checkStrictMode)(r,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(o!==void 0&&s>o){(0,xc.checkStrictMode)(r,'"minContains" > "maxContains" is always invalid'),t.fail();return}if((0,xc.alwaysValidSchema)(r,n)){let m=(0,bi._)`${c} >= ${s}`;o!==void 0&&(m=(0,bi._)`${m} && ${c} <= ${o}`),t.pass(m);return}r.items=!0;let p=e.name("valid");o===void 0&&s===1?d(p,()=>e.if(p,()=>e.break())):s===0?(e.let(p,!0),o!==void 0&&e.if((0,bi._)`${a}.length > 0`,h)):(e.let(p,!1),h()),t.result(p,()=>t.reset());function h(){let m=e.name("_valid"),f=e.let("count",0);d(m,()=>e.if(m,()=>g(f)))}function d(m,f){e.forRange("i",0,c,w=>{t.subschema({keyword:"contains",dataProp:w,dataPropType:xc.Type.Num,compositeRule:!0},m),f()})}function g(m){e.code((0,bi._)`${m}++`),o===void 0?e.if((0,bi._)`${m} >= ${s}`,()=>e.assign(p,!0).break()):(e.if((0,bi._)`${m} > ${o}`,()=>e.assign(p,!1).break()),s===1?e.assign(p,!0):e.if((0,bi._)`${m} >= ${s}`,()=>e.assign(p,!0)))}}};Xf.default=wF});var _T=v(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});Vi.validateSchemaDeps=Vi.validatePropertyDeps=Vi.error=void 0;var ew=le(),vF=ye(),Uo=Ci();Vi.error={message:({params:{property:t,depsCount:e,deps:n}})=>{let i=e===1?"property":"properties";return(0,ew.str)`must have ${i} ${n} when property ${t} is present`},params:({params:{property:t,depsCount:e,deps:n,missingProperty:i}})=>(0,ew._)`{property: ${t}, - missingProperty: ${i}, +"use strict";var EI=Object.create;var Yp=Object.defineProperty;var kI=Object.getOwnPropertyDescriptor;var qI=Object.getOwnPropertyNames;var _I=Object.getPrototypeOf,HI=Object.prototype.hasOwnProperty;var v=(t,e)=>()=>{try{return e||t((e={exports:{}}).exports,e),e.exports}catch(i){throw e=0,i}},Xp=(t,e)=>{for(var i in e)Yp(t,i,{get:e[i],enumerable:!0})},II=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of qI(e))!HI.call(t,a)&&a!==i&&Yp(t,a,{get:()=>e[a],enumerable:!(n=kI(e,a))||n.enumerable});return t};var er=(t,e,i)=>(i=t!=null?EI(_I(t)):{},II(e||!t||!t.__esModule?Yp(i,"default",{value:t,enumerable:!0}):i,t));var Xs=v(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.regexpCode=je.getEsmExportName=je.getProperty=je.safeStringify=je.stringify=je.strConcat=je.addCodeArg=je.str=je._=je.nil=je._Code=je.Name=je.IDENTIFIER=je._CodeOrName=void 0;var Qs=class{};je._CodeOrName=Qs;je.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var Aa=class extends Qs{constructor(e){if(super(),!je.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};je.Name=Aa;var fn=class extends Qs{constructor(e){super(),this._items=typeof e=="string"?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let e=this._items[0];return e===""||e==='""'}get str(){var e;return(e=this._str)!==null&&e!==void 0?e:this._str=this._items.reduce((i,n)=>`${i}${n}`,"")}get names(){var e;return(e=this._names)!==null&&e!==void 0?e:this._names=this._items.reduce((i,n)=>(n instanceof Aa&&(i[n.str]=(i[n.str]||0)+1),i),{})}};je._Code=fn;je.nil=new fn("");function MS(t,...e){let i=[t[0]],n=0;for(;n{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});Vi.ValueScope=Vi.ValueScopeName=Vi.Scope=Vi.varKinds=Vi.UsedValueState=void 0;var Fi=Xs(),em=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}},xu;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(xu||(Vi.UsedValueState=xu={}));Vi.varKinds={const:new Fi.Name("const"),let:new Fi.Name("let"),var:new Fi.Name("var")};var Mu=class{constructor({prefixes:e,parent:i}={}){this._names={},this._prefixes=e,this._parent=i}toName(e){return e instanceof Fi.Name?e:this.name(e)}name(e){return new Fi.Name(this._newName(e))}_newName(e){let i=this._names[e]||this._nameGroup(e);return`${e}${i.index++}`}_nameGroup(e){var i,n;if(!((n=(i=this._parent)===null||i===void 0?void 0:i._prefixes)===null||n===void 0)&&n.has(e)||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}};Vi.Scope=Mu;var Eu=class extends Fi.Name{constructor(e,i){super(i),this.prefix=e}setValue(e,{property:i,itemIndex:n}){this.value=e,this.scopePath=(0,Fi._)`.${new Fi.Name(i)}[${n}]`}};Vi.ValueScopeName=Eu;var X$=(0,Fi._)`\n`,im=class extends Mu{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?X$:Fi.nil}}get(){return this._scope}name(e){return new Eu(e,this._newName(e))}value(e,i){var n;if(i.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let a=this.toName(e),{prefix:r}=a,s=(n=i.key)!==null&&n!==void 0?n:i.ref,o=this._values[r];if(o){let c=o.get(s);if(c)return c}else o=this._values[r]=new Map;o.set(s,a);let l=this._scope[r]||(this._scope[r]=[]),u=l.length;return l[u]=i.ref,a.setValue(i,{property:r,itemIndex:u}),a}getValue(e,i){let n=this._values[e];if(n)return n.get(i)}scopeRefs(e,i=this._values){return this._reduceValues(i,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return(0,Fi._)`${e}${n.scopePath}`})}scopeCode(e=this._values,i,n){return this._reduceValues(e,a=>{if(a.value===void 0)throw new Error(`CodeGen: name "${a}" has no value`);return a.value.code},i,n)}_reduceValues(e,i,n={},a){let r=Fi.nil;for(let s in e){let o=e[s];if(!o)continue;let l=n[s]=n[s]||new Map;o.forEach(u=>{if(l.has(u))return;l.set(u,xu.Started);let c=i(u);if(c){let p=this.opts.es5?Vi.varKinds.var:Vi.varKinds.const;r=(0,Fi._)`${r}${p} ${u} = ${c};${this.opts._n}`}else if(c=a?.(u))r=(0,Fi._)`${r}${c}${this.opts._n}`;else throw new em(u);l.set(u,xu.Completed)})}return r}};Vi.ValueScope=im});var re=v(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});se.or=se.and=se.not=se.CodeGen=se.operators=se.varKinds=se.ValueScopeName=se.ValueScope=se.Scope=se.Name=se.regexpCode=se.stringify=se.getProperty=se.nil=se.strConcat=se.str=se._=void 0;var ve=Xs(),xn=nm(),kt=Xs();Object.defineProperty(se,"_",{enumerable:!0,get:function(){return kt._}});Object.defineProperty(se,"str",{enumerable:!0,get:function(){return kt.str}});Object.defineProperty(se,"strConcat",{enumerable:!0,get:function(){return kt.strConcat}});Object.defineProperty(se,"nil",{enumerable:!0,get:function(){return kt.nil}});Object.defineProperty(se,"getProperty",{enumerable:!0,get:function(){return kt.getProperty}});Object.defineProperty(se,"stringify",{enumerable:!0,get:function(){return kt.stringify}});Object.defineProperty(se,"regexpCode",{enumerable:!0,get:function(){return kt.regexpCode}});Object.defineProperty(se,"Name",{enumerable:!0,get:function(){return kt.Name}});var Hu=nm();Object.defineProperty(se,"Scope",{enumerable:!0,get:function(){return Hu.Scope}});Object.defineProperty(se,"ValueScope",{enumerable:!0,get:function(){return Hu.ValueScope}});Object.defineProperty(se,"ValueScopeName",{enumerable:!0,get:function(){return Hu.ValueScopeName}});Object.defineProperty(se,"varKinds",{enumerable:!0,get:function(){return Hu.varKinds}});se.operators={GT:new ve._Code(">"),GTE:new ve._Code(">="),LT:new ve._Code("<"),LTE:new ve._Code("<="),EQ:new ve._Code("==="),NEQ:new ve._Code("!=="),NOT:new ve._Code("!"),OR:new ve._Code("||"),AND:new ve._Code("&&"),ADD:new ve._Code("+")};var ut=class{optimizeNodes(){return this}optimizeNames(e,i){return this}},tm=class extends ut{constructor(e,i,n){super(),this.varKind=e,this.name=i,this.rhs=n}render({es5:e,_n:i}){let n=e?xn.varKinds.var:this.varKind,a=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${a};`+i}optimizeNames(e,i){if(e[this.name.str])return this.rhs&&(this.rhs=Pr(this.rhs,e,i)),this}get names(){return this.rhs instanceof ve._CodeOrName?this.rhs.names:{}}},ku=class extends ut{constructor(e,i,n){super(),this.lhs=e,this.rhs=i,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,i){if(!(this.lhs instanceof ve.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=Pr(this.rhs,e,i),this}get names(){let e=this.lhs instanceof ve.Name?{}:{...this.lhs.names};return _u(e,this.rhs)}},am=class extends ku{constructor(e,i,n,a){super(e,n,a),this.op=i}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},rm=class extends ut{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},sm=class extends ut{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}},om=class extends ut{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},lm=class extends ut{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,i){return this.code=Pr(this.code,e,i),this}get names(){return this.code instanceof ve._CodeOrName?this.code.names:{}}},eo=class extends ut{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((i,n)=>i+n.render(e),"")}optimizeNodes(){let{nodes:e}=this,i=e.length;for(;i--;){let n=e[i].optimizeNodes();Array.isArray(n)?e.splice(i,1,...n):n?e[i]=n:e.splice(i,1)}return e.length>0?this:void 0}optimizeNames(e,i){let{nodes:n}=this,a=n.length;for(;a--;){let r=n[a];r.optimizeNames(e,i)||(e1(e,r.names),n.splice(a,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,i)=>Pa(e,i.names),{})}},ct=class extends eo{render(e){return"{"+e._n+super.render(e)+"}"+e._n}},um=class extends eo{},yr=class extends ct{};yr.kind="else";var ba=class t extends ct{constructor(e,i){super(i),this.condition=e}render(e){let i=`if(${this.condition})`+super.render(e);return this.else&&(i+="else "+this.else.render(e)),i}optimizeNodes(){super.optimizeNodes();let e=this.condition;if(e===!0)return this.nodes;let i=this.else;if(i){let n=i.optimizeNodes();i=this.else=Array.isArray(n)?new yr(n):n}if(i)return e===!1?i instanceof t?i:i.nodes:this.nodes.length?this:new t(kS(e),i instanceof t?[i]:i.nodes);if(!(e===!1||!this.nodes.length))return this}optimizeNames(e,i){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(e,i),!!(super.optimizeNames(e,i)||this.else))return this.condition=Pr(this.condition,e,i),this}get names(){let e=super.names;return _u(e,this.condition),this.else&&Pa(e,this.else.names),e}};ba.kind="if";var ya=class extends ct{};ya.kind="for";var cm=class extends ya{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,i){if(super.optimizeNames(e,i))return this.iteration=Pr(this.iteration,e,i),this}get names(){return Pa(super.names,this.iteration.names)}},pm=class extends ya{constructor(e,i,n,a){super(),this.varKind=e,this.name=i,this.from=n,this.to=a}render(e){let i=e.es5?xn.varKinds.var:this.varKind,{name:n,from:a,to:r}=this;return`for(${i} ${n}=${a}; ${n}<${r}; ${n}++)`+super.render(e)}get names(){let e=_u(super.names,this.from);return _u(e,this.to)}},qu=class extends ya{constructor(e,i,n,a){super(),this.loop=e,this.varKind=i,this.name=n,this.iterable=a}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,i){if(super.optimizeNames(e,i))return this.iterable=Pr(this.iterable,e,i),this}get names(){return Pa(super.names,this.iterable.names)}},io=class extends ct{constructor(e,i,n){super(),this.name=e,this.args=i,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}};io.kind="func";var no=class extends eo{render(e){return"return "+super.render(e)}};no.kind="return";var dm=class extends ct{render(e){let i="try"+super.render(e);return this.catch&&(i+=this.catch.render(e)),this.finally&&(i+=this.finally.render(e)),i}optimizeNodes(){var e,i;return super.optimizeNodes(),(e=this.catch)===null||e===void 0||e.optimizeNodes(),(i=this.finally)===null||i===void 0||i.optimizeNodes(),this}optimizeNames(e,i){var n,a;return super.optimizeNames(e,i),(n=this.catch)===null||n===void 0||n.optimizeNames(e,i),(a=this.finally)===null||a===void 0||a.optimizeNames(e,i),this}get names(){let e=super.names;return this.catch&&Pa(e,this.catch.names),this.finally&&Pa(e,this.finally.names),e}},to=class extends ct{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};to.kind="catch";var ao=class extends ct{render(e){return"finally"+super.render(e)}};ao.kind="finally";var hm=class{constructor(e,i={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...i,_n:i.lines?` +`:""},this._extScope=e,this._scope=new xn.Scope({parent:e}),this._nodes=[new um]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,i){let n=this._extScope.value(e,i);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,i){return this._extScope.getValue(e,i)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,i,n,a){let r=this._scope.toName(i);return n!==void 0&&a&&(this._constants[r.str]=n),this._leafNode(new tm(e,r,n)),r}const(e,i,n){return this._def(xn.varKinds.const,e,i,n)}let(e,i,n){return this._def(xn.varKinds.let,e,i,n)}var(e,i,n){return this._def(xn.varKinds.var,e,i,n)}assign(e,i,n){return this._leafNode(new ku(e,i,n))}add(e,i){return this._leafNode(new am(e,se.operators.ADD,i))}code(e){return typeof e=="function"?e():e!==ve.nil&&this._leafNode(new lm(e)),this}object(...e){let i=["{"];for(let[n,a]of e)i.length>1&&i.push(","),i.push(n),(n!==a||this.opts.es5)&&(i.push(":"),(0,ve.addCodeArg)(i,a));return i.push("}"),new ve._Code(i)}if(e,i,n){if(this._blockNode(new ba(e)),i&&n)this.code(i).else().code(n).endIf();else if(i)this.code(i).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new ba(e))}else(){return this._elseNode(new yr)}endIf(){return this._endBlockNode(ba,yr)}_for(e,i){return this._blockNode(e),i&&this.code(i).endFor(),this}for(e,i){return this._for(new cm(e),i)}forRange(e,i,n,a,r=this.opts.es5?xn.varKinds.var:xn.varKinds.let){let s=this._scope.toName(e);return this._for(new pm(r,s,i,n),()=>a(s))}forOf(e,i,n,a=xn.varKinds.const){let r=this._scope.toName(e);if(this.opts.es5){let s=i instanceof ve.Name?i:this.var("_arr",i);return this.forRange("_i",0,(0,ve._)`${s}.length`,o=>{this.var(r,(0,ve._)`${s}[${o}]`),n(r)})}return this._for(new qu("of",a,r,i),()=>n(r))}forIn(e,i,n,a=this.opts.es5?xn.varKinds.var:xn.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,ve._)`Object.keys(${i})`,n);let r=this._scope.toName(e);return this._for(new qu("in",a,r,i),()=>n(r))}endFor(){return this._endBlockNode(ya)}label(e){return this._leafNode(new rm(e))}break(e){return this._leafNode(new sm(e))}return(e){let i=new no;if(this._blockNode(i),this.code(e),i.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(no)}try(e,i,n){if(!i&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let a=new dm;if(this._blockNode(a),this.code(e),i){let r=this.name("e");this._currNode=a.catch=new to(r),i(r)}return n&&(this._currNode=a.finally=new ao,this.code(n)),this._endBlockNode(to,ao)}throw(e){return this._leafNode(new om(e))}block(e,i){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(i),this}endBlock(e){let i=this._blockStarts.pop();if(i===void 0)throw new Error("CodeGen: not in self-balancing block");let n=this._nodes.length-i;if(n<0||e!==void 0&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=i,this}func(e,i=ve.nil,n,a){return this._blockNode(new io(e,i,n)),a&&this.code(a).endFunc(),this}endFunc(){return this._endBlockNode(io)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,i){let n=this._currNode;if(n instanceof e||i&&n instanceof i)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${i?`${e.kind}/${i.kind}`:e.kind}"`)}_elseNode(e){let i=this._currNode;if(!(i instanceof ba))throw new Error('CodeGen: "else" without "if"');return this._currNode=i.else=e,this}get _root(){return this._nodes[0]}get _currNode(){let e=this._nodes;return e[e.length-1]}set _currNode(e){let i=this._nodes;i[i.length-1]=e}};se.CodeGen=hm;function Pa(t,e){for(let i in e)t[i]=(t[i]||0)+(e[i]||0);return t}function _u(t,e){return e instanceof ve._CodeOrName?Pa(t,e.names):t}function Pr(t,e,i){if(t instanceof ve.Name)return n(t);if(!a(t))return t;return new ve._Code(t._items.reduce((r,s)=>(s instanceof ve.Name&&(s=n(s)),s instanceof ve._Code?r.push(...s._items):r.push(s),r),[]));function n(r){let s=i[r.str];return s===void 0||e[r.str]!==1?r:(delete e[r.str],s)}function a(r){return r instanceof ve._Code&&r._items.some(s=>s instanceof ve.Name&&e[s.str]===1&&i[s.str]!==void 0)}}function e1(t,e){for(let i in e)t[i]=(t[i]||0)-(e[i]||0)}function kS(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:(0,ve._)`!${gm(t)}`}se.not=kS;var i1=qS(se.operators.AND);function n1(...t){return t.reduce(i1)}se.and=n1;var t1=qS(se.operators.OR);function a1(...t){return t.reduce(t1)}se.or=a1;function qS(t){return(e,i)=>e===ve.nil?i:i===ve.nil?e:(0,ve._)`${gm(e)} ${t} ${gm(i)}`}function gm(t){return t instanceof ve.Name?t:(0,ve._)`(${t})`}});var Ae=v(ue=>{"use strict";Object.defineProperty(ue,"__esModule",{value:!0});ue.checkStrictMode=ue.getErrorPath=ue.Type=ue.useFunc=ue.setEvaluated=ue.evaluatedPropsToName=ue.mergeEvaluated=ue.eachItem=ue.unescapeJsonPointer=ue.escapeJsonPointer=ue.escapeFragment=ue.unescapeFragment=ue.schemaRefOrVal=ue.schemaHasRulesButRef=ue.schemaHasRules=ue.checkUnknownRules=ue.alwaysValidSchema=ue.toHash=void 0;var Ie=re(),r1=Xs();function s1(t){let e={};for(let i of t)e[i]=!0;return e}ue.toHash=s1;function o1(t,e){return typeof e=="boolean"?e:Object.keys(e).length===0?!0:(IS(t,e),!RS(e,t.self.RULES.all))}ue.alwaysValidSchema=o1;function IS(t,e=t.schema){let{opts:i,self:n}=t;if(!i.strictSchema||typeof e=="boolean")return;let a=n.RULES.keywords;for(let r in e)a[r]||GS(t,`unknown keyword: "${r}"`)}ue.checkUnknownRules=IS;function RS(t,e){if(typeof t=="boolean")return!t;for(let i in t)if(e[i])return!0;return!1}ue.schemaHasRules=RS;function l1(t,e){if(typeof t=="boolean")return!t;for(let i in t)if(i!=="$ref"&&e.all[i])return!0;return!1}ue.schemaHasRulesButRef=l1;function u1({topSchemaRef:t,schemaPath:e},i,n,a){if(!a){if(typeof i=="number"||typeof i=="boolean")return i;if(typeof i=="string")return(0,Ie._)`${i}`}return(0,Ie._)`${t}${e}${(0,Ie.getProperty)(n)}`}ue.schemaRefOrVal=u1;function c1(t){return zS(decodeURIComponent(t))}ue.unescapeFragment=c1;function p1(t){return encodeURIComponent(fm(t))}ue.escapeFragment=p1;function fm(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}ue.escapeJsonPointer=fm;function zS(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}ue.unescapeJsonPointer=zS;function d1(t,e){if(Array.isArray(t))for(let i of t)e(i);else e(t)}ue.eachItem=d1;function _S({mergeNames:t,mergeToName:e,mergeValues:i,resultToName:n}){return(a,r,s,o)=>{let l=s===void 0?r:s instanceof Ie.Name?(r instanceof Ie.Name?t(a,r,s):e(a,r,s),s):r instanceof Ie.Name?(e(a,s,r),r):i(r,s);return o===Ie.Name&&!(l instanceof Ie.Name)?n(a,l):l}}ue.mergeEvaluated={props:_S({mergeNames:(t,e,i)=>t.if((0,Ie._)`${i} !== true && ${e} !== undefined`,()=>{t.if((0,Ie._)`${e} === true`,()=>t.assign(i,!0),()=>t.assign(i,(0,Ie._)`${i} || {}`).code((0,Ie._)`Object.assign(${i}, ${e})`))}),mergeToName:(t,e,i)=>t.if((0,Ie._)`${i} !== true`,()=>{e===!0?t.assign(i,!0):(t.assign(i,(0,Ie._)`${i} || {}`),wm(t,i,e))}),mergeValues:(t,e)=>t===!0?!0:{...t,...e},resultToName:DS}),items:_S({mergeNames:(t,e,i)=>t.if((0,Ie._)`${i} !== true && ${e} !== undefined`,()=>t.assign(i,(0,Ie._)`${e} === true ? true : ${i} > ${e} ? ${i} : ${e}`)),mergeToName:(t,e,i)=>t.if((0,Ie._)`${i} !== true`,()=>t.assign(i,e===!0?!0:(0,Ie._)`${i} > ${e} ? ${i} : ${e}`)),mergeValues:(t,e)=>t===!0?!0:Math.max(t,e),resultToName:(t,e)=>t.var("items",e)})};function DS(t,e){if(e===!0)return t.var("props",!0);let i=t.var("props",(0,Ie._)`{}`);return e!==void 0&&wm(t,i,e),i}ue.evaluatedPropsToName=DS;function wm(t,e,i){Object.keys(i).forEach(n=>t.assign((0,Ie._)`${e}${(0,Ie.getProperty)(n)}`,!0))}ue.setEvaluated=wm;var HS={};function h1(t,e){return t.scopeValue("func",{ref:e,code:HS[e.code]||(HS[e.code]=new r1._Code(e.code))})}ue.useFunc=h1;var mm;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(mm||(ue.Type=mm={}));function g1(t,e,i){if(t instanceof Ie.Name){let n=e===mm.Num;return i?n?(0,Ie._)`"[" + ${t} + "]"`:(0,Ie._)`"['" + ${t} + "']"`:n?(0,Ie._)`"/" + ${t}`:(0,Ie._)`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return i?(0,Ie.getProperty)(t).toString():"/"+fm(t)}ue.getErrorPath=g1;function GS(t,e,i=t.opts.strictSchema){if(i){if(e=`strict mode: ${e}`,i===!0)throw new Error(e);t.self.logger.warn(e)}}ue.checkStrictMode=GS});var pt=v(vm=>{"use strict";Object.defineProperty(vm,"__esModule",{value:!0});var ki=re(),m1={data:new ki.Name("data"),valCxt:new ki.Name("valCxt"),instancePath:new ki.Name("instancePath"),parentData:new ki.Name("parentData"),parentDataProperty:new ki.Name("parentDataProperty"),rootData:new ki.Name("rootData"),dynamicAnchors:new ki.Name("dynamicAnchors"),vErrors:new ki.Name("vErrors"),errors:new ki.Name("errors"),this:new ki.Name("this"),self:new ki.Name("self"),scope:new ki.Name("scope"),json:new ki.Name("json"),jsonPos:new ki.Name("jsonPos"),jsonLen:new ki.Name("jsonLen"),jsonPart:new ki.Name("jsonPart")};vm.default=m1});var ro=v(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.extendErrors=qi.resetErrorsCount=qi.reportExtraError=qi.reportError=qi.keyword$DataError=qi.keywordError=void 0;var be=re(),Iu=Ae(),Di=pt();qi.keywordError={message:({keyword:t})=>(0,be.str)`must pass "${t}" keyword validation`};qi.keyword$DataError={message:({keyword:t,schemaType:e})=>e?(0,be.str)`"${t}" keyword must be ${e} ($data)`:(0,be.str)`"${t}" keyword is invalid ($data)`};function f1(t,e=qi.keywordError,i,n){let{it:a}=t,{gen:r,compositeRule:s,allErrors:o}=a,l=US(t,e,i);n??(s||o)?$S(r,l):NS(a,(0,be._)`[${l}]`)}qi.reportError=f1;function w1(t,e=qi.keywordError,i){let{it:n}=t,{gen:a,compositeRule:r,allErrors:s}=n,o=US(t,e,i);$S(a,o),r||s||NS(n,Di.default.vErrors)}qi.reportExtraError=w1;function v1(t,e){t.assign(Di.default.errors,e),t.if((0,be._)`${Di.default.vErrors} !== null`,()=>t.if(e,()=>t.assign((0,be._)`${Di.default.vErrors}.length`,e),()=>t.assign(Di.default.vErrors,null)))}qi.resetErrorsCount=v1;function C1({gen:t,keyword:e,schemaValue:i,data:n,errsCount:a,it:r}){if(a===void 0)throw new Error("ajv implementation error");let s=t.name("err");t.forRange("i",a,Di.default.errors,o=>{t.const(s,(0,be._)`${Di.default.vErrors}[${o}]`),t.if((0,be._)`${s}.instancePath === undefined`,()=>t.assign((0,be._)`${s}.instancePath`,(0,be.strConcat)(Di.default.instancePath,r.errorPath))),t.assign((0,be._)`${s}.schemaPath`,(0,be.str)`${r.errSchemaPath}/${e}`),r.opts.verbose&&(t.assign((0,be._)`${s}.schema`,i),t.assign((0,be._)`${s}.data`,n))})}qi.extendErrors=C1;function $S(t,e){let i=t.const("err",e);t.if((0,be._)`${Di.default.vErrors} === null`,()=>t.assign(Di.default.vErrors,(0,be._)`[${i}]`),(0,be._)`${Di.default.vErrors}.push(${i})`),t.code((0,be._)`${Di.default.errors}++`)}function NS(t,e){let{gen:i,validateName:n,schemaEnv:a}=t;a.$async?i.throw((0,be._)`new ${t.ValidationError}(${e})`):(i.assign((0,be._)`${n}.errors`,e),i.return(!1))}var ja={keyword:new be.Name("keyword"),schemaPath:new be.Name("schemaPath"),params:new be.Name("params"),propertyName:new be.Name("propertyName"),message:new be.Name("message"),schema:new be.Name("schema"),parentSchema:new be.Name("parentSchema")};function US(t,e,i){let{createErrors:n}=t.it;return n===!1?(0,be._)`{}`:A1(t,e,i)}function A1(t,e,i={}){let{gen:n,it:a}=t,r=[b1(a,i),y1(t,i)];return P1(t,e,r),n.object(...r)}function b1({errorPath:t},{instancePath:e}){let i=e?(0,be.str)`${t}${(0,Iu.getErrorPath)(e,Iu.Type.Str)}`:t;return[Di.default.instancePath,(0,be.strConcat)(Di.default.instancePath,i)]}function y1({keyword:t,it:{errSchemaPath:e}},{schemaPath:i,parentSchema:n}){let a=n?e:(0,be.str)`${e}/${t}`;return i&&(a=(0,be.str)`${a}${(0,Iu.getErrorPath)(i,Iu.Type.Str)}`),[ja.schemaPath,a]}function P1(t,{params:e,message:i},n){let{keyword:a,data:r,schemaValue:s,it:o}=t,{opts:l,propertyName:u,topSchemaRef:c,schemaPath:p}=o;n.push([ja.keyword,a],[ja.params,typeof e=="function"?e(t):e||(0,be._)`{}`]),l.messages&&n.push([ja.message,typeof i=="function"?i(t):i]),l.verbose&&n.push([ja.schema,s],[ja.parentSchema,(0,be._)`${c}${p}`],[Di.default.data,r]),u&&n.push([ja.propertyName,u])}});var LS=v(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.boolOrEmptySchema=jr.topBoolOrEmptySchema=void 0;var j1=ro(),S1=re(),O1=pt(),T1={message:"boolean schema is false"};function x1(t){let{gen:e,schema:i,validateName:n}=t;i===!1?WS(t,!1):typeof i=="object"&&i.$async===!0?e.return(O1.default.data):(e.assign((0,S1._)`${n}.errors`,null),e.return(!0))}jr.topBoolOrEmptySchema=x1;function M1(t,e){let{gen:i,schema:n}=t;n===!1?(i.var(e,!1),WS(t)):i.var(e,!0)}jr.boolOrEmptySchema=M1;function WS(t,e){let{gen:i,data:n}=t,a={gen:i,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};(0,j1.reportError)(a,T1,void 0,e)}});var Cm=v(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});Sr.getRules=Sr.isJSONType=void 0;var E1=["string","number","integer","boolean","null","object","array"],k1=new Set(E1);function q1(t){return typeof t=="string"&&k1.has(t)}Sr.isJSONType=q1;function _1(){let t={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...t,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},t.number,t.string,t.array,t.object],post:{rules:[]},all:{},keywords:{}}}Sr.getRules=_1});var Am=v(qt=>{"use strict";Object.defineProperty(qt,"__esModule",{value:!0});qt.shouldUseRule=qt.shouldUseGroup=qt.schemaHasRulesForType=void 0;function H1({schema:t,self:e},i){let n=e.RULES.types[i];return n&&n!==!0&&BS(t,n)}qt.schemaHasRulesForType=H1;function BS(t,e){return e.rules.some(i=>FS(t,i))}qt.shouldUseGroup=BS;function FS(t,e){var i;return t[e.keyword]!==void 0||((i=e.definition.implements)===null||i===void 0?void 0:i.some(n=>t[n]!==void 0))}qt.shouldUseRule=FS});var so=v(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.reportTypeError=_i.checkDataTypes=_i.checkDataType=_i.coerceAndCheckDataType=_i.getJSONTypes=_i.getSchemaTypes=_i.DataType=void 0;var I1=Cm(),R1=Am(),z1=ro(),ne=re(),VS=Ae(),Or;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(Or||(_i.DataType=Or={}));function D1(t){let e=JS(t.type);if(e.includes("null")){if(t.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!e.length&&t.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');t.nullable===!0&&e.push("null")}return e}_i.getSchemaTypes=D1;function JS(t){let e=Array.isArray(t)?t:t?[t]:[];if(e.every(I1.isJSONType))return e;throw new Error("type must be JSONType or JSONType[]: "+e.join(","))}_i.getJSONTypes=JS;function G1(t,e){let{gen:i,data:n,opts:a}=t,r=$1(e,a.coerceTypes),s=e.length>0&&!(r.length===0&&e.length===1&&(0,R1.schemaHasRulesForType)(t,e[0]));if(s){let o=ym(e,n,a.strictNumbers,Or.Wrong);i.if(o,()=>{r.length?N1(t,e,r):Pm(t)})}return s}_i.coerceAndCheckDataType=G1;var ZS=new Set(["string","number","integer","boolean","null"]);function $1(t,e){return e?t.filter(i=>ZS.has(i)||e==="array"&&i==="array"):[]}function N1(t,e,i){let{gen:n,data:a,opts:r}=t,s=n.let("dataType",(0,ne._)`typeof ${a}`),o=n.let("coerced",(0,ne._)`undefined`);r.coerceTypes==="array"&&n.if((0,ne._)`${s} == 'object' && Array.isArray(${a}) && ${a}.length == 1`,()=>n.assign(a,(0,ne._)`${a}[0]`).assign(s,(0,ne._)`typeof ${a}`).if(ym(e,a,r.strictNumbers),()=>n.assign(o,a))),n.if((0,ne._)`${o} !== undefined`);for(let u of i)(ZS.has(u)||u==="array"&&r.coerceTypes==="array")&&l(u);n.else(),Pm(t),n.endIf(),n.if((0,ne._)`${o} !== undefined`,()=>{n.assign(a,o),U1(t,o)});function l(u){switch(u){case"string":n.elseIf((0,ne._)`${s} == "number" || ${s} == "boolean"`).assign(o,(0,ne._)`"" + ${a}`).elseIf((0,ne._)`${a} === null`).assign(o,(0,ne._)`""`);return;case"number":n.elseIf((0,ne._)`${s} == "boolean" || ${a} === null + || (${s} == "string" && ${a} && ${a} == +${a})`).assign(o,(0,ne._)`+${a}`);return;case"integer":n.elseIf((0,ne._)`${s} === "boolean" || ${a} === null + || (${s} === "string" && ${a} && ${a} == +${a} && !(${a} % 1))`).assign(o,(0,ne._)`+${a}`);return;case"boolean":n.elseIf((0,ne._)`${a} === "false" || ${a} === 0 || ${a} === null`).assign(o,!1).elseIf((0,ne._)`${a} === "true" || ${a} === 1`).assign(o,!0);return;case"null":n.elseIf((0,ne._)`${a} === "" || ${a} === 0 || ${a} === false`),n.assign(o,null);return;case"array":n.elseIf((0,ne._)`${s} === "string" || ${s} === "number" + || ${s} === "boolean" || ${a} === null`).assign(o,(0,ne._)`[${a}]`)}}}function U1({gen:t,parentData:e,parentDataProperty:i},n){t.if((0,ne._)`${e} !== undefined`,()=>t.assign((0,ne._)`${e}[${i}]`,n))}function bm(t,e,i,n=Or.Correct){let a=n===Or.Correct?ne.operators.EQ:ne.operators.NEQ,r;switch(t){case"null":return(0,ne._)`${e} ${a} null`;case"array":r=(0,ne._)`Array.isArray(${e})`;break;case"object":r=(0,ne._)`${e} && typeof ${e} == "object" && !Array.isArray(${e})`;break;case"integer":r=s((0,ne._)`!(${e} % 1) && !isNaN(${e})`);break;case"number":r=s();break;default:return(0,ne._)`typeof ${e} ${a} ${t}`}return n===Or.Correct?r:(0,ne.not)(r);function s(o=ne.nil){return(0,ne.and)((0,ne._)`typeof ${e} == "number"`,o,i?(0,ne._)`isFinite(${e})`:ne.nil)}}_i.checkDataType=bm;function ym(t,e,i,n){if(t.length===1)return bm(t[0],e,i,n);let a,r=(0,VS.toHash)(t);if(r.array&&r.object){let s=(0,ne._)`typeof ${e} != "object"`;a=r.null?s:(0,ne._)`!${e} || ${s}`,delete r.null,delete r.array,delete r.object}else a=ne.nil;r.number&&delete r.integer;for(let s in r)a=(0,ne.and)(a,bm(s,e,i,n));return a}_i.checkDataTypes=ym;var W1={message:({schema:t})=>`must be ${t}`,params:({schema:t,schemaValue:e})=>typeof t=="string"?(0,ne._)`{type: ${t}}`:(0,ne._)`{type: ${e}}`};function Pm(t){let e=L1(t);(0,z1.reportError)(e,W1)}_i.reportTypeError=Pm;function L1(t){let{gen:e,data:i,schema:n}=t,a=(0,VS.schemaRefOrVal)(t,n,"type");return{gen:e,keyword:"type",data:i,schema:n.type,schemaCode:a,schemaValue:a,parentSchema:n,params:{},it:t}}});var QS=v(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});Ru.assignDefaults=void 0;var Tr=re(),B1=Ae();function F1(t,e){let{properties:i,items:n}=t.schema;if(e==="object"&&i)for(let a in i)KS(t,a,i[a].default);else e==="array"&&Array.isArray(n)&&n.forEach((a,r)=>KS(t,r,a.default))}Ru.assignDefaults=F1;function KS(t,e,i){let{gen:n,compositeRule:a,data:r,opts:s}=t;if(i===void 0)return;let o=(0,Tr._)`${r}${(0,Tr.getProperty)(e)}`;if(a){(0,B1.checkStrictMode)(t,`default is ignored for: ${o}`);return}let l=(0,Tr._)`${o} === undefined`;s.useDefaults==="empty"&&(l=(0,Tr._)`${l} || ${o} === null || ${o} === ""`),n.if(l,(0,Tr._)`${o} = ${(0,Tr.stringify)(i)}`)}});var wn=v(qe=>{"use strict";Object.defineProperty(qe,"__esModule",{value:!0});qe.validateUnion=qe.validateArray=qe.usePattern=qe.callValidateCode=qe.schemaProperties=qe.allSchemaProperties=qe.noPropertyInData=qe.propertyInData=qe.isOwnProperty=qe.hasPropFunc=qe.reportMissingProp=qe.checkMissingProp=qe.checkReportMissingProp=void 0;var $e=re(),jm=Ae(),_t=pt(),V1=Ae();function J1(t,e){let{gen:i,data:n,it:a}=t;i.if(Om(i,n,e,a.opts.ownProperties),()=>{t.setParams({missingProperty:(0,$e._)`${e}`},!0),t.error()})}qe.checkReportMissingProp=J1;function Z1({gen:t,data:e,it:{opts:i}},n,a){return(0,$e.or)(...n.map(r=>(0,$e.and)(Om(t,e,r,i.ownProperties),(0,$e._)`${a} = ${r}`)))}qe.checkMissingProp=Z1;function K1(t,e){t.setParams({missingProperty:e},!0),t.error()}qe.reportMissingProp=K1;function YS(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,$e._)`Object.prototype.hasOwnProperty`})}qe.hasPropFunc=YS;function Sm(t,e,i){return(0,$e._)`${YS(t)}.call(${e}, ${i})`}qe.isOwnProperty=Sm;function Q1(t,e,i,n){let a=(0,$e._)`${e}${(0,$e.getProperty)(i)} !== undefined`;return n?(0,$e._)`${a} && ${Sm(t,e,i)}`:a}qe.propertyInData=Q1;function Om(t,e,i,n){let a=(0,$e._)`${e}${(0,$e.getProperty)(i)} === undefined`;return n?(0,$e.or)(a,(0,$e.not)(Sm(t,e,i))):a}qe.noPropertyInData=Om;function XS(t){return t?Object.keys(t).filter(e=>e!=="__proto__"):[]}qe.allSchemaProperties=XS;function Y1(t,e){return XS(e).filter(i=>!(0,jm.alwaysValidSchema)(t,e[i]))}qe.schemaProperties=Y1;function X1({schemaCode:t,data:e,it:{gen:i,topSchemaRef:n,schemaPath:a,errorPath:r},it:s},o,l,u){let c=u?(0,$e._)`${t}, ${e}, ${n}${a}`:e,p=[[_t.default.instancePath,(0,$e.strConcat)(_t.default.instancePath,r)],[_t.default.parentData,s.parentData],[_t.default.parentDataProperty,s.parentDataProperty],[_t.default.rootData,_t.default.rootData]];s.opts.dynamicRef&&p.push([_t.default.dynamicAnchors,_t.default.dynamicAnchors]);let d=(0,$e._)`${c}, ${i.object(...p)}`;return l!==$e.nil?(0,$e._)`${o}.call(${l}, ${d})`:(0,$e._)`${o}(${d})`}qe.callValidateCode=X1;var eN=(0,$e._)`new RegExp`;function iN({gen:t,it:{opts:e}},i){let n=e.unicodeRegExp?"u":"",{regExp:a}=e.code,r=a(i,n);return t.scopeValue("pattern",{key:r.toString(),ref:r,code:(0,$e._)`${a.code==="new RegExp"?eN:(0,V1.useFunc)(t,a)}(${i}, ${n})`})}qe.usePattern=iN;function nN(t){let{gen:e,data:i,keyword:n,it:a}=t,r=e.name("valid");if(a.allErrors){let o=e.let("valid",!0);return s(()=>e.assign(o,!1)),o}return e.var(r,!0),s(()=>e.break()),r;function s(o){let l=e.const("len",(0,$e._)`${i}.length`);e.forRange("i",0,l,u=>{t.subschema({keyword:n,dataProp:u,dataPropType:jm.Type.Num},r),e.if((0,$e.not)(r),o)})}}qe.validateArray=nN;function tN(t){let{gen:e,schema:i,keyword:n,it:a}=t;if(!Array.isArray(i))throw new Error("ajv implementation error");if(i.some(l=>(0,jm.alwaysValidSchema)(a,l))&&!a.opts.unevaluated)return;let s=e.let("valid",!1),o=e.name("_valid");e.block(()=>i.forEach((l,u)=>{let c=t.subschema({keyword:n,schemaProp:u,compositeRule:!0},o);e.assign(s,(0,$e._)`${s} || ${o}`),t.mergeValidEvaluated(c,o)||e.if((0,$e.not)(s))})),t.result(s,()=>t.reset(),()=>t.error(!0))}qe.validateUnion=tN});var nO=v(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.validateKeywordUsage=Wn.validSchemaType=Wn.funcKeywordCode=Wn.macroKeywordCode=void 0;var Gi=re(),Sa=pt(),aN=wn(),rN=ro();function sN(t,e){let{gen:i,keyword:n,schema:a,parentSchema:r,it:s}=t,o=e.macro.call(s.self,a,r,s),l=iO(i,n,o);s.opts.validateSchema!==!1&&s.self.validateSchema(o,!0);let u=i.name("valid");t.subschema({schema:o,schemaPath:Gi.nil,errSchemaPath:`${s.errSchemaPath}/${n}`,topSchemaRef:l,compositeRule:!0},u),t.pass(u,()=>t.error(!0))}Wn.macroKeywordCode=sN;function oN(t,e){var i;let{gen:n,keyword:a,schema:r,parentSchema:s,$data:o,it:l}=t;uN(l,e);let u=!o&&e.compile?e.compile.call(l.self,r,s,l):e.validate,c=iO(n,a,u),p=n.let("valid");t.block$data(p,d),t.ok((i=e.valid)!==null&&i!==void 0?i:p);function d(){if(e.errors===!1)m(),e.modifying&&eO(t),f(()=>t.error());else{let w=e.async?h():g();e.modifying&&eO(t),f(()=>lN(t,w))}}function h(){let w=n.let("ruleErrs",null);return n.try(()=>m((0,Gi._)`await `),b=>n.assign(p,!1).if((0,Gi._)`${b} instanceof ${l.ValidationError}`,()=>n.assign(w,(0,Gi._)`${b}.errors`),()=>n.throw(b))),w}function g(){let w=(0,Gi._)`${c}.errors`;return n.assign(w,null),m(Gi.nil),w}function m(w=e.async?(0,Gi._)`await `:Gi.nil){let b=l.opts.passContext?Sa.default.this:Sa.default.self,A=!("compile"in e&&!o||e.schema===!1);n.assign(p,(0,Gi._)`${w}${(0,aN.callValidateCode)(t,c,b,A)}`,e.modifying)}function f(w){var b;n.if((0,Gi.not)((b=e.valid)!==null&&b!==void 0?b:p),w)}}Wn.funcKeywordCode=oN;function eO(t){let{gen:e,data:i,it:n}=t;e.if(n.parentData,()=>e.assign(i,(0,Gi._)`${n.parentData}[${n.parentDataProperty}]`))}function lN(t,e){let{gen:i}=t;i.if((0,Gi._)`Array.isArray(${e})`,()=>{i.assign(Sa.default.vErrors,(0,Gi._)`${Sa.default.vErrors} === null ? ${e} : ${Sa.default.vErrors}.concat(${e})`).assign(Sa.default.errors,(0,Gi._)`${Sa.default.vErrors}.length`),(0,rN.extendErrors)(t)},()=>t.error())}function uN({schemaEnv:t},e){if(e.async&&!t.$async)throw new Error("async keyword in sync schema")}function iO(t,e,i){if(i===void 0)throw new Error(`keyword "${e}" failed to compile`);return t.scopeValue("keyword",typeof i=="function"?{ref:i}:{ref:i,code:(0,Gi.stringify)(i)})}function cN(t,e,i=!1){return!e.length||e.some(n=>n==="array"?Array.isArray(t):n==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==n||i&&typeof t>"u")}Wn.validSchemaType=cN;function pN({schema:t,opts:e,self:i,errSchemaPath:n},a,r){if(Array.isArray(a.keyword)?!a.keyword.includes(r):a.keyword!==r)throw new Error("ajv implementation error");let s=a.dependencies;if(s?.some(o=>!Object.prototype.hasOwnProperty.call(t,o)))throw new Error(`parent schema must have dependencies of ${r}: ${s.join(",")}`);if(a.validateSchema&&!a.validateSchema(t[r])){let l=`keyword "${r}" value is invalid at path "${n}": `+i.errorsText(a.validateSchema.errors);if(e.validateSchema==="log")i.logger.error(l);else throw new Error(l)}}Wn.validateKeywordUsage=pN});var aO=v(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.extendSubschemaMode=Ht.extendSubschemaData=Ht.getSubschema=void 0;var Ln=re(),tO=Ae();function dN(t,{keyword:e,schemaProp:i,schema:n,schemaPath:a,errSchemaPath:r,topSchemaRef:s}){if(e!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(e!==void 0){let o=t.schema[e];return i===void 0?{schema:o,schemaPath:(0,Ln._)`${t.schemaPath}${(0,Ln.getProperty)(e)}`,errSchemaPath:`${t.errSchemaPath}/${e}`}:{schema:o[i],schemaPath:(0,Ln._)`${t.schemaPath}${(0,Ln.getProperty)(e)}${(0,Ln.getProperty)(i)}`,errSchemaPath:`${t.errSchemaPath}/${e}/${(0,tO.escapeFragment)(i)}`}}if(n!==void 0){if(a===void 0||r===void 0||s===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:a,topSchemaRef:s,errSchemaPath:r}}throw new Error('either "keyword" or "schema" must be passed')}Ht.getSubschema=dN;function hN(t,e,{dataProp:i,dataPropType:n,data:a,dataTypes:r,propertyName:s}){if(a!==void 0&&i!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:o}=e;if(i!==void 0){let{errorPath:u,dataPathArr:c,opts:p}=e,d=o.let("data",(0,Ln._)`${e.data}${(0,Ln.getProperty)(i)}`,!0);l(d),t.errorPath=(0,Ln.str)`${u}${(0,tO.getErrorPath)(i,n,p.jsPropertySyntax)}`,t.parentDataProperty=(0,Ln._)`${i}`,t.dataPathArr=[...c,t.parentDataProperty]}if(a!==void 0){let u=a instanceof Ln.Name?a:o.let("data",a,!0);l(u),s!==void 0&&(t.propertyName=s)}r&&(t.dataTypes=r);function l(u){t.data=u,t.dataLevel=e.dataLevel+1,t.dataTypes=[],e.definedProperties=new Set,t.parentData=e.data,t.dataNames=[...e.dataNames,u]}}Ht.extendSubschemaData=hN;function gN(t,{jtdDiscriminator:e,jtdMetadata:i,compositeRule:n,createErrors:a,allErrors:r}){n!==void 0&&(t.compositeRule=n),a!==void 0&&(t.createErrors=a),r!==void 0&&(t.allErrors=r),t.jtdDiscriminator=e,t.jtdMetadata=i}Ht.extendSubschemaMode=gN});var Tm=v((lte,rO)=>{"use strict";rO.exports=function t(e,i){if(e===i)return!0;if(e&&i&&typeof e=="object"&&typeof i=="object"){if(e.constructor!==i.constructor)return!1;var n,a,r;if(Array.isArray(e)){if(n=e.length,n!=i.length)return!1;for(a=n;a--!==0;)if(!t(e[a],i[a]))return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if(r=Object.keys(e),n=r.length,n!==Object.keys(i).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(i,r[a]))return!1;for(a=n;a--!==0;){var s=r[a];if(!t(e[s],i[s]))return!1}return!0}return e!==e&&i!==i}});var oO=v((ute,sO)=>{"use strict";var It=sO.exports=function(t,e,i){typeof e=="function"&&(i=e,e={}),i=e.cb||i;var n=typeof i=="function"?i:i.pre||function(){},a=i.post||function(){};zu(e,n,a,t,"",t)};It.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};It.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};It.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};It.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function zu(t,e,i,n,a,r,s,o,l,u){if(n&&typeof n=="object"&&!Array.isArray(n)){e(n,a,r,s,o,l,u);for(var c in n){var p=n[c];if(Array.isArray(p)){if(c in It.arrayKeywords)for(var d=0;d{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});Ji.getSchemaRefs=Ji.resolveUrl=Ji.normalizeId=Ji._getFullPath=Ji.getFullPath=Ji.inlineRef=void 0;var fN=Ae(),wN=Tm(),vN=oO(),CN=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function AN(t,e=!0){return typeof t=="boolean"?!0:e===!0?!xm(t):e?lO(t)<=e:!1}Ji.inlineRef=AN;var bN=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function xm(t){for(let e in t){if(bN.has(e))return!0;let i=t[e];if(Array.isArray(i)&&i.some(xm)||typeof i=="object"&&xm(i))return!0}return!1}function lO(t){let e=0;for(let i in t){if(i==="$ref")return 1/0;if(e++,!CN.has(i)&&(typeof t[i]=="object"&&(0,fN.eachItem)(t[i],n=>e+=lO(n)),e===1/0))return 1/0}return e}function uO(t,e="",i){i!==!1&&(e=xr(e));let n=t.parse(e);return cO(t,n)}Ji.getFullPath=uO;function cO(t,e){return t.serialize(e).split("#")[0]+"#"}Ji._getFullPath=cO;var yN=/#\/?$/;function xr(t){return t?t.replace(yN,""):""}Ji.normalizeId=xr;function PN(t,e,i){return i=xr(i),t.resolve(e,i)}Ji.resolveUrl=PN;var jN=/^[a-z_][-a-z0-9._]*$/i;function SN(t,e){if(typeof t=="boolean")return{};let{schemaId:i,uriResolver:n}=this.opts,a=xr(t[i]||e),r={"":a},s=uO(n,a,!1),o={},l=new Set;return vN(t,{allKeys:!0},(p,d,h,g)=>{if(g===void 0)return;let m=s+d,f=r[g];typeof p[i]=="string"&&(f=w.call(this,p[i])),b.call(this,p.$anchor),b.call(this,p.$dynamicAnchor),r[d]=f;function w(A){let y=this.opts.uriResolver.resolve;if(A=xr(f?y(f,A):A),l.has(A))throw c(A);l.add(A);let O=this.refs[A];return typeof O=="string"&&(O=this.refs[O]),typeof O=="object"?u(p,O.schema,A):A!==xr(m)&&(A[0]==="#"?(u(p,o[A],A),o[A]=p):this.refs[A]=m),A}function b(A){if(typeof A=="string"){if(!jN.test(A))throw new Error(`invalid anchor "${A}"`);w.call(this,`#${A}`)}}}),o;function u(p,d,h){if(d!==void 0&&!wN(p,d))throw c(h)}function c(p){return new Error(`reference "${p}" resolves to more than one schema`)}}Ji.getSchemaRefs=SN});var co=v(Rt=>{"use strict";Object.defineProperty(Rt,"__esModule",{value:!0});Rt.getData=Rt.KeywordCxt=Rt.validateFunctionCode=void 0;var mO=LS(),pO=so(),Em=Am(),Du=so(),ON=QS(),uo=nO(),Mm=aO(),B=re(),Y=pt(),TN=oo(),dt=Ae(),lo=ro();function xN(t){if(vO(t)&&(CO(t),wO(t))){kN(t);return}fO(t,()=>(0,mO.topBoolOrEmptySchema)(t))}Rt.validateFunctionCode=xN;function fO({gen:t,validateName:e,schema:i,schemaEnv:n,opts:a},r){a.code.es5?t.func(e,(0,B._)`${Y.default.data}, ${Y.default.valCxt}`,n.$async,()=>{t.code((0,B._)`"use strict"; ${dO(i,a)}`),EN(t,a),t.code(r)}):t.func(e,(0,B._)`${Y.default.data}, ${MN(a)}`,n.$async,()=>t.code(dO(i,a)).code(r))}function MN(t){return(0,B._)`{${Y.default.instancePath}="", ${Y.default.parentData}, ${Y.default.parentDataProperty}, ${Y.default.rootData}=${Y.default.data}${t.dynamicRef?(0,B._)`, ${Y.default.dynamicAnchors}={}`:B.nil}}={}`}function EN(t,e){t.if(Y.default.valCxt,()=>{t.var(Y.default.instancePath,(0,B._)`${Y.default.valCxt}.${Y.default.instancePath}`),t.var(Y.default.parentData,(0,B._)`${Y.default.valCxt}.${Y.default.parentData}`),t.var(Y.default.parentDataProperty,(0,B._)`${Y.default.valCxt}.${Y.default.parentDataProperty}`),t.var(Y.default.rootData,(0,B._)`${Y.default.valCxt}.${Y.default.rootData}`),e.dynamicRef&&t.var(Y.default.dynamicAnchors,(0,B._)`${Y.default.valCxt}.${Y.default.dynamicAnchors}`)},()=>{t.var(Y.default.instancePath,(0,B._)`""`),t.var(Y.default.parentData,(0,B._)`undefined`),t.var(Y.default.parentDataProperty,(0,B._)`undefined`),t.var(Y.default.rootData,Y.default.data),e.dynamicRef&&t.var(Y.default.dynamicAnchors,(0,B._)`{}`)})}function kN(t){let{schema:e,opts:i,gen:n}=t;fO(t,()=>{i.$comment&&e.$comment&&bO(t),RN(t),n.let(Y.default.vErrors,null),n.let(Y.default.errors,0),i.unevaluated&&qN(t),AO(t),GN(t)})}function qN(t){let{gen:e,validateName:i}=t;t.evaluated=e.const("evaluated",(0,B._)`${i}.evaluated`),e.if((0,B._)`${t.evaluated}.dynamicProps`,()=>e.assign((0,B._)`${t.evaluated}.props`,(0,B._)`undefined`)),e.if((0,B._)`${t.evaluated}.dynamicItems`,()=>e.assign((0,B._)`${t.evaluated}.items`,(0,B._)`undefined`))}function dO(t,e){let i=typeof t=="object"&&t[e.schemaId];return i&&(e.code.source||e.code.process)?(0,B._)`/*# sourceURL=${i} */`:B.nil}function _N(t,e){if(vO(t)&&(CO(t),wO(t))){HN(t,e);return}(0,mO.boolOrEmptySchema)(t,e)}function wO({schema:t,self:e}){if(typeof t=="boolean")return!t;for(let i in t)if(e.RULES.all[i])return!0;return!1}function vO(t){return typeof t.schema!="boolean"}function HN(t,e){let{schema:i,gen:n,opts:a}=t;a.$comment&&i.$comment&&bO(t),zN(t),DN(t);let r=n.const("_errs",Y.default.errors);AO(t,r),n.var(e,(0,B._)`${r} === ${Y.default.errors}`)}function CO(t){(0,dt.checkUnknownRules)(t),IN(t)}function AO(t,e){if(t.opts.jtd)return hO(t,[],!1,e);let i=(0,pO.getSchemaTypes)(t.schema),n=(0,pO.coerceAndCheckDataType)(t,i);hO(t,i,!n,e)}function IN(t){let{schema:e,errSchemaPath:i,opts:n,self:a}=t;e.$ref&&n.ignoreKeywordsWithRef&&(0,dt.schemaHasRulesButRef)(e,a.RULES)&&a.logger.warn(`$ref: keywords ignored in schema at path "${i}"`)}function RN(t){let{schema:e,opts:i}=t;e.default!==void 0&&i.useDefaults&&i.strictSchema&&(0,dt.checkStrictMode)(t,"default is ignored in the schema root")}function zN(t){let e=t.schema[t.opts.schemaId];e&&(t.baseId=(0,TN.resolveUrl)(t.opts.uriResolver,t.baseId,e))}function DN(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function bO({gen:t,schemaEnv:e,schema:i,errSchemaPath:n,opts:a}){let r=i.$comment;if(a.$comment===!0)t.code((0,B._)`${Y.default.self}.logger.log(${r})`);else if(typeof a.$comment=="function"){let s=(0,B.str)`${n}/$comment`,o=t.scopeValue("root",{ref:e.root});t.code((0,B._)`${Y.default.self}.opts.$comment(${r}, ${s}, ${o}.schema)`)}}function GN(t){let{gen:e,schemaEnv:i,validateName:n,ValidationError:a,opts:r}=t;i.$async?e.if((0,B._)`${Y.default.errors} === 0`,()=>e.return(Y.default.data),()=>e.throw((0,B._)`new ${a}(${Y.default.vErrors})`)):(e.assign((0,B._)`${n}.errors`,Y.default.vErrors),r.unevaluated&&$N(t),e.return((0,B._)`${Y.default.errors} === 0`))}function $N({gen:t,evaluated:e,props:i,items:n}){i instanceof B.Name&&t.assign((0,B._)`${e}.props`,i),n instanceof B.Name&&t.assign((0,B._)`${e}.items`,n)}function hO(t,e,i,n){let{gen:a,schema:r,data:s,allErrors:o,opts:l,self:u}=t,{RULES:c}=u;if(r.$ref&&(l.ignoreKeywordsWithRef||!(0,dt.schemaHasRulesButRef)(r,c))){a.block(()=>PO(t,"$ref",c.all.$ref.definition));return}l.jtd||NN(t,e),a.block(()=>{for(let d of c.rules)p(d);p(c.post)});function p(d){(0,Em.shouldUseGroup)(r,d)&&(d.type?(a.if((0,Du.checkDataType)(d.type,s,l.strictNumbers)),gO(t,d),e.length===1&&e[0]===d.type&&i&&(a.else(),(0,Du.reportTypeError)(t)),a.endIf()):gO(t,d),o||a.if((0,B._)`${Y.default.errors} === ${n||0}`))}}function gO(t,e){let{gen:i,schema:n,opts:{useDefaults:a}}=t;a&&(0,ON.assignDefaults)(t,e.type),i.block(()=>{for(let r of e.rules)(0,Em.shouldUseRule)(n,r)&&PO(t,r.keyword,r.definition,e.type)})}function NN(t,e){t.schemaEnv.meta||!t.opts.strictTypes||(UN(t,e),t.opts.allowUnionTypes||WN(t,e),LN(t,t.dataTypes))}function UN(t,e){if(e.length){if(!t.dataTypes.length){t.dataTypes=e;return}e.forEach(i=>{yO(t.dataTypes,i)||km(t,`type "${i}" not allowed by context "${t.dataTypes.join(",")}"`)}),FN(t,e)}}function WN(t,e){e.length>1&&!(e.length===2&&e.includes("null"))&&km(t,"use allowUnionTypes to allow union type keyword")}function LN(t,e){let i=t.self.RULES.all;for(let n in i){let a=i[n];if(typeof a=="object"&&(0,Em.shouldUseRule)(t.schema,a)){let{type:r}=a.definition;r.length&&!r.some(s=>BN(e,s))&&km(t,`missing type "${r.join(",")}" for keyword "${n}"`)}}}function BN(t,e){return t.includes(e)||e==="number"&&t.includes("integer")}function yO(t,e){return t.includes(e)||e==="integer"&&t.includes("number")}function FN(t,e){let i=[];for(let n of t.dataTypes)yO(e,n)?i.push(n):e.includes("integer")&&n==="number"&&i.push("integer");t.dataTypes=i}function km(t,e){let i=t.schemaEnv.baseId+t.errSchemaPath;e+=` at "${i}" (strictTypes)`,(0,dt.checkStrictMode)(t,e,t.opts.strictTypes)}var Gu=class{constructor(e,i,n){if((0,uo.validateKeywordUsage)(e,i,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=i.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,dt.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=i.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=i,this.$data)this.schemaCode=e.gen.const("vSchema",jO(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,uo.validSchemaType)(this.schema,i.schemaType,i.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(i.schemaType)}`);("code"in i?i.trackErrors:i.errors!==!1)&&(this.errsCount=e.gen.const("_errs",Y.default.errors))}result(e,i,n){this.failResult((0,B.not)(e),i,n)}failResult(e,i,n){this.gen.if(e),n?n():this.error(),i?(this.gen.else(),i(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,i){this.failResult((0,B.not)(e),void 0,i)}fail(e){if(e===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);let{schemaCode:i}=this;this.fail((0,B._)`${i} !== undefined && (${(0,B.or)(this.invalid$data(),e)})`)}error(e,i,n){if(i){this.setParams(i),this._error(e,n),this.setParams({});return}this._error(e,n)}_error(e,i){(e?lo.reportExtraError:lo.reportError)(this,this.def.error,i)}$dataError(){(0,lo.reportError)(this,this.def.$dataError||lo.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,lo.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,i){i?Object.assign(this.params,e):this.params=e}block$data(e,i,n=B.nil){this.gen.block(()=>{this.check$data(e,n),i()})}check$data(e=B.nil,i=B.nil){if(!this.$data)return;let{gen:n,schemaCode:a,schemaType:r,def:s}=this;n.if((0,B.or)((0,B._)`${a} === undefined`,i)),e!==B.nil&&n.assign(e,!0),(r.length||s.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==B.nil&&n.assign(e,!1)),n.else()}invalid$data(){let{gen:e,schemaCode:i,schemaType:n,def:a,it:r}=this;return(0,B.or)(s(),o());function s(){if(n.length){if(!(i instanceof B.Name))throw new Error("ajv implementation error");let l=Array.isArray(n)?n:[n];return(0,B._)`${(0,Du.checkDataTypes)(l,i,r.opts.strictNumbers,Du.DataType.Wrong)}`}return B.nil}function o(){if(a.validateSchema){let l=e.scopeValue("validate$data",{ref:a.validateSchema});return(0,B._)`!${l}(${i})`}return B.nil}}subschema(e,i){let n=(0,Mm.getSubschema)(this.it,e);(0,Mm.extendSubschemaData)(n,this.it,e),(0,Mm.extendSubschemaMode)(n,e);let a={...this.it,...n,items:void 0,props:void 0};return _N(a,i),a}mergeEvaluated(e,i){let{it:n,gen:a}=this;n.opts.unevaluated&&(n.props!==!0&&e.props!==void 0&&(n.props=dt.mergeEvaluated.props(a,e.props,n.props,i)),n.items!==!0&&e.items!==void 0&&(n.items=dt.mergeEvaluated.items(a,e.items,n.items,i)))}mergeValidEvaluated(e,i){let{it:n,gen:a}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return a.if(i,()=>this.mergeEvaluated(e,B.Name)),!0}};Rt.KeywordCxt=Gu;function PO(t,e,i,n){let a=new Gu(t,i,e);"code"in i?i.code(a,n):a.$data&&i.validate?(0,uo.funcKeywordCode)(a,i):"macro"in i?(0,uo.macroKeywordCode)(a,i):(i.compile||i.validate)&&(0,uo.funcKeywordCode)(a,i)}var VN=/^\/(?:[^~]|~0|~1)*$/,JN=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function jO(t,{dataLevel:e,dataNames:i,dataPathArr:n}){let a,r;if(t==="")return Y.default.rootData;if(t[0]==="/"){if(!VN.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);a=t,r=Y.default.rootData}else{let u=JN.exec(t);if(!u)throw new Error(`Invalid JSON-pointer: ${t}`);let c=+u[1];if(a=u[2],a==="#"){if(c>=e)throw new Error(l("property/index",c));return n[e-c]}if(c>e)throw new Error(l("data",c));if(r=i[e-c],!a)return r}let s=r,o=a.split("/");for(let u of o)u&&(r=(0,B._)`${r}${(0,B.getProperty)((0,dt.unescapeJsonPointer)(u))}`,s=(0,B._)`${s} && ${r}`);return s;function l(u,c){return`Cannot access ${u} ${c} levels up, current level is ${e}`}}Rt.getData=jO});var $u=v(_m=>{"use strict";Object.defineProperty(_m,"__esModule",{value:!0});var qm=class extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}};_m.default=qm});var po=v(Rm=>{"use strict";Object.defineProperty(Rm,"__esModule",{value:!0});var Hm=oo(),Im=class extends Error{constructor(e,i,n,a){super(a||`can't resolve reference ${n} from id ${i}`),this.missingRef=(0,Hm.resolveUrl)(e,i,n),this.missingSchema=(0,Hm.normalizeId)((0,Hm.getFullPath)(e,this.missingRef))}};Rm.default=Im});var Uu=v(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.resolveSchema=vn.getCompilingSchema=vn.resolveRef=vn.compileSchema=vn.SchemaEnv=void 0;var Mn=re(),ZN=$u(),Oa=pt(),En=oo(),SO=Ae(),KN=co(),Mr=class{constructor(e){var i;this.refs={},this.dynamicAnchors={};let n;typeof e.schema=="object"&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=(i=e.baseId)!==null&&i!==void 0?i:(0,En.normalizeId)(n?.[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=n?.$async,this.refs={}}};vn.SchemaEnv=Mr;function Dm(t){let e=OO.call(this,t);if(e)return e;let i=(0,En.getFullPath)(this.opts.uriResolver,t.root.baseId),{es5:n,lines:a}=this.opts.code,{ownProperties:r}=this.opts,s=new Mn.CodeGen(this.scope,{es5:n,lines:a,ownProperties:r}),o;t.$async&&(o=s.scopeValue("Error",{ref:ZN.default,code:(0,Mn._)`require("ajv/dist/runtime/validation_error").default`}));let l=s.scopeName("validate");t.validateName=l;let u={gen:s,allErrors:this.opts.allErrors,data:Oa.default.data,parentData:Oa.default.parentData,parentDataProperty:Oa.default.parentDataProperty,dataNames:[Oa.default.data],dataPathArr:[Mn.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:s.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:(0,Mn.stringify)(t.schema)}:{ref:t.schema}),validateName:l,ValidationError:o,schema:t.schema,schemaEnv:t,rootId:i,baseId:t.baseId||i,schemaPath:Mn.nil,errSchemaPath:t.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,Mn._)`""`,opts:this.opts,self:this},c;try{this._compilations.add(t),(0,KN.validateFunctionCode)(u),s.optimize(this.opts.code.optimize);let p=s.toString();c=`${s.scopeRefs(Oa.default.scope)}return ${p}`,this.opts.code.process&&(c=this.opts.code.process(c,t));let h=new Function(`${Oa.default.self}`,`${Oa.default.scope}`,c)(this,this.scope.get());if(this.scope.value(l,{ref:h}),h.errors=null,h.schema=t.schema,h.schemaEnv=t,t.$async&&(h.$async=!0),this.opts.code.source===!0&&(h.source={validateName:l,validateCode:p,scopeValues:s._values}),this.opts.unevaluated){let{props:g,items:m}=u;h.evaluated={props:g instanceof Mn.Name?void 0:g,items:m instanceof Mn.Name?void 0:m,dynamicProps:g instanceof Mn.Name,dynamicItems:m instanceof Mn.Name},h.source&&(h.source.evaluated=(0,Mn.stringify)(h.evaluated))}return t.validate=h,t}catch(p){throw delete t.validate,delete t.validateName,c&&this.logger.error("Error compiling schema, function code:",c),p}finally{this._compilations.delete(t)}}vn.compileSchema=Dm;function QN(t,e,i){var n;i=(0,En.resolveUrl)(this.opts.uriResolver,e,i);let a=t.refs[i];if(a)return a;let r=eU.call(this,t,i);if(r===void 0){let s=(n=t.localRefs)===null||n===void 0?void 0:n[i],{schemaId:o}=this.opts;s&&(r=new Mr({schema:s,schemaId:o,root:t,baseId:e}))}if(r!==void 0)return t.refs[i]=YN.call(this,r)}vn.resolveRef=QN;function YN(t){return(0,En.inlineRef)(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Dm.call(this,t)}function OO(t){for(let e of this._compilations)if(XN(e,t))return e}vn.getCompilingSchema=OO;function XN(t,e){return t.schema===e.schema&&t.root===e.root&&t.baseId===e.baseId}function eU(t,e){let i;for(;typeof(i=this.refs[e])=="string";)e=i;return i||this.schemas[e]||Nu.call(this,t,e)}function Nu(t,e){let i=this.opts.uriResolver.parse(e),n=(0,En._getFullPath)(this.opts.uriResolver,i),a=(0,En.getFullPath)(this.opts.uriResolver,t.baseId,void 0);if(Object.keys(t.schema).length>0&&n===a)return zm.call(this,i,t);let r=(0,En.normalizeId)(n),s=this.refs[r]||this.schemas[r];if(typeof s=="string"){let o=Nu.call(this,t,s);return typeof o?.schema!="object"?void 0:zm.call(this,i,o)}if(typeof s?.schema=="object"){if(s.validate||Dm.call(this,s),r===(0,En.normalizeId)(e)){let{schema:o}=s,{schemaId:l}=this.opts,u=o[l];return u&&(a=(0,En.resolveUrl)(this.opts.uriResolver,a,u)),new Mr({schema:o,schemaId:l,root:t,baseId:a})}return zm.call(this,i,s)}}vn.resolveSchema=Nu;var iU=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function zm(t,{baseId:e,schema:i,root:n}){var a;if(((a=t.fragment)===null||a===void 0?void 0:a[0])!=="/")return;for(let o of t.fragment.slice(1).split("/")){if(typeof i=="boolean")return;let l=i[(0,SO.unescapeFragment)(o)];if(l===void 0)return;i=l;let u=typeof i=="object"&&i[this.opts.schemaId];!iU.has(o)&&u&&(e=(0,En.resolveUrl)(this.opts.uriResolver,e,u))}let r;if(typeof i!="boolean"&&i.$ref&&!(0,SO.schemaHasRulesButRef)(i,this.RULES)){let o=(0,En.resolveUrl)(this.opts.uriResolver,e,i.$ref);r=Nu.call(this,n,o)}let{schemaId:s}=this.opts;if(r=r||new Mr({schema:i,schemaId:s,root:n,baseId:e}),r.schema!==r.root.schema)return r}});var TO=v((mte,nU)=>{nU.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var Nm=v((fte,_O)=>{"use strict";var tU=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),MO=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),Gm=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),EO=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),aU=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function $m(t){let e="",i=0,n=0;for(n=0;n=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102))return"";e+=t[n];break}for(n+=1;n=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102))return"";e+=t[n]}return e}var rU=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function xO(t){return t.length=0,!0}function sU(t,e,i){if(t.length){let n=$m(t);if(n!=="")e.push(n);else return i.error=!0,!1;t.length=0}return!0}function oU(t){let e=0,i={error:!1,address:"",zone:""},n=[],a=[],r=!1,s=!1,o=sU;for(let l=0;l7){i.error=!0;break}l>0&&t[l-1]===":"&&(r=!0),n.push(":");continue}else if(u==="%"){if(!o(a,n,i))break;o=xO}else{a.push(u);continue}}return a.length&&(o===xO?i.zone=a.join(""):s?n.push(a.join("")):n.push($m(a))),i.address=n.join(""),i}function kO(t){if(lU(t,":")<2)return{host:t,isIPV6:!1};let e=oU(t);if(e.error)return{host:t,isIPV6:!1};{let i=e.address,n=e.address;return e.zone&&(i+="%"+e.zone,n+="%25"+e.zone),{host:i,isIPV6:!0,escapedHost:n}}}function lU(t,e){let i=0;for(let n=0;ncU[n])}function hU(t,e=!1){if(t.indexOf("%")===-1)return t;let i="";for(let n=0;n{"use strict";var{isUUID:wU}=Nm(),vU=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,CU=["http","https","ws","wss","urn","urn:uuid"];function AU(t){return CU.indexOf(t)!==-1}function Um(t){return t.secure===!0?!0:t.secure===!1?!1:t.scheme?t.scheme.length===3&&(t.scheme[0]==="w"||t.scheme[0]==="W")&&(t.scheme[1]==="s"||t.scheme[1]==="S")&&(t.scheme[2]==="s"||t.scheme[2]==="S"):!1}function HO(t){return t.host||(t.error=t.error||"HTTP URIs must have a host."),t}function IO(t){let e=String(t.scheme).toLowerCase()==="https";return(t.port===(e?443:80)||t.port==="")&&(t.port=void 0),t.path||(t.path="/"),t}function bU(t){return t.secure=Um(t),t.resourceName=(t.path||"/")+(t.query?"?"+t.query:""),t.path=void 0,t.query=void 0,t}function yU(t){if((t.port===(Um(t)?443:80)||t.port==="")&&(t.port=void 0),typeof t.secure=="boolean"&&(t.scheme=t.secure?"wss":"ws",t.secure=void 0),t.resourceName){let[e,i]=t.resourceName.split("?");t.path=e&&e!=="/"?e:void 0,t.query=i,t.resourceName=void 0}return t.fragment=void 0,t}function PU(t,e){if(!t.path)return t.error="URN can not be parsed",t;let i=t.path.match(vU);if(i){let n=e.scheme||t.scheme||"urn";t.nid=i[1].toLowerCase(),t.nss=i[2];let a=`${n}:${e.nid||t.nid}`,r=Wm(a);t.path=void 0,r&&(t=r.parse(t,e))}else t.error=t.error||"URN can not be parsed.";return t}function jU(t,e){if(t.nid===void 0)throw new Error("URN without nid cannot be serialized");let i=e.scheme||t.scheme||"urn",n=t.nid.toLowerCase(),a=`${i}:${e.nid||n}`,r=Wm(a);r&&(t=r.serialize(t,e));let s=t,o=t.nss;return s.path=`${n||e.nid}:${o}`,e.skipEscape=!0,s}function SU(t,e){let i=t;return i.uuid=i.nss,i.nss=void 0,!e.tolerant&&(!i.uuid||!wU(i.uuid))&&(i.error=i.error||"UUID is not valid."),i}function OU(t){let e=t;return e.nss=(t.uuid||"").toLowerCase(),e}var RO={scheme:"http",domainHost:!0,parse:HO,serialize:IO},TU={scheme:"https",domainHost:RO.domainHost,parse:HO,serialize:IO},Wu={scheme:"ws",domainHost:!0,parse:bU,serialize:yU},xU={scheme:"wss",domainHost:Wu.domainHost,parse:Wu.parse,serialize:Wu.serialize},MU={scheme:"urn",parse:PU,serialize:jU,skipNormalize:!0},EU={scheme:"urn:uuid",parse:SU,serialize:OU,skipNormalize:!0},Lu={http:RO,https:TU,ws:Wu,wss:xU,urn:MU,"urn:uuid":EU};Object.setPrototypeOf(Lu,null);function Wm(t){return t&&(Lu[t]||Lu[t.toLowerCase()])||void 0}zO.exports={wsIsSecure:Um,SCHEMES:Lu,isValidSchemeName:AU,getSchemeHandler:Wm}});var WO=v((vte,Vu)=>{"use strict";var{normalizeIPv6:kU,removeDotSegments:ho,recomposeAuthority:qU,normalizePercentEncoding:_U,normalizePathEncoding:HU,escapePreservingEscapes:IU,reescapeHostDelimiters:RU,isIPv4:zU,nonSimpleDomain:DU}=Nm(),{SCHEMES:GU,getSchemeHandler:$O}=DO();function $U(t,e){return typeof t=="string"?t=VU(t,e):typeof t=="object"&&(t=Fu(Ta(t,e),e)),t}function NU(t,e,i){let n=i?Object.assign({scheme:"null"},i):{scheme:"null"},{parsed:a,malformedAuthorityOrPort:r}=Bu(t,n),{parsed:s,malformedAuthorityOrPort:o}=Bu(e,n);if(r||o)throw new Error(a.error||s.error||"URI is malformed.");let l=NO(a,s,n,!0);return n.skipEscape=!0,Ta(l,n)}function NO(t,e,i,n){let a={};return n||(t=Fu(Ta(t,i),i),e=Fu(Ta(e,i),i)),i=i||{},!i.tolerant&&e.scheme?(a.scheme=e.scheme,a.userinfo=e.userinfo,a.host=e.host,a.port=e.port,a.path=ho(e.path||""),a.query=e.query):(e.userinfo!==void 0||e.host!==void 0||e.port!==void 0?(a.userinfo=e.userinfo,a.host=e.host,a.port=e.port,a.path=ho(e.path||""),a.query=e.query):(e.path?(e.path[0]==="/"?a.path=ho(e.path):((t.userinfo!==void 0||t.host!==void 0||t.port!==void 0)&&!t.path?a.path="/"+e.path:t.path?a.path=t.path.slice(0,t.path.lastIndexOf("/")+1)+e.path:a.path=e.path,a.path=ho(a.path)),a.query=e.query):(a.path=t.path,e.query!==void 0?a.query=e.query:a.query=t.query),a.userinfo=t.userinfo,a.host=t.host,a.port=t.port),a.scheme=t.scheme),a.fragment=e.fragment,a}function UU(t,e,i){let n=GO(t,i),a=GO(e,i);return n!==void 0&&a!==void 0&&n.toLowerCase()===a.toLowerCase()}function Ta(t,e){let i={host:t.host,scheme:t.scheme,userinfo:t.userinfo,port:t.port,path:t.path,query:t.query,nid:t.nid,nss:t.nss,uuid:t.uuid,fragment:t.fragment,reference:t.reference,resourceName:t.resourceName,secure:t.secure,error:""},n=Object.assign({},e),a=[],r=$O(n.scheme||i.scheme);r&&r.serialize&&r.serialize(i,n),i.path!==void 0&&(n.skipEscape?i.path=_U(i.path):(i.path=IU(i.path),i.scheme!==void 0&&(i.path=i.path.split("%3A").join(":")))),n.reference!=="suffix"&&i.scheme&&a.push(i.scheme,":");let s=qU(i);if(s!==void 0&&(n.reference!=="suffix"&&a.push("//"),a.push(s),i.path&&i.path[0]!=="/"&&a.push("/")),i.path!==void 0){let o=i.path;!n.absolutePath&&(!r||!r.absolutePath)&&(o=ho(o)),s===void 0&&o[0]==="/"&&o[1]==="/"&&(o="/%2F"+o.slice(2)),a.push(o)}return i.query!==void 0&&a.push("?",i.query),i.fragment!==void 0&&a.push("#",i.fragment),a.join("")}var WU=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u,LU=/^(?:[^#/:?]+:)?\/\/([^/?#]*)/,BU=/^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;function FU(t,e){if(e[2]!==void 0&&t.path&&t.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof t.port=="number"&&(t.port<0||t.port>65535))return"URI port is malformed."}function Bu(t,e){let i=Object.assign({},e),n={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},a=!1,r=!1;i.reference==="suffix"&&(i.scheme?t=i.scheme+":"+t:t="//"+t);let s=t.match(LU);s!==null&&s[1].indexOf("\\")!==-1&&(n.error="URI authority must not contain a literal backslash.",a=!0);let o=t.match(BU);if(o!==null){let u=o[1],c=u.replace(/[\t\n\r]/g,"");c.length>=2&&(c.slice(0,2)!=="//"?(n.error=n.error||"URI authority must not contain a literal backslash.",a=!0):u.length!==c.length&&(n.error=n.error||"URI authority introducer must not contain whitespace.",a=!0))}let l=t.match(WU);if(l){n.scheme=l[1],n.userinfo=l[3],n.host=l[4],n.port=parseInt(l[5],10),n.path=l[6]||"",n.query=l[7],n.fragment=l[8],isNaN(n.port)&&(n.port=l[5]);let u=FU(n,l);if(u!==void 0&&(n.error=n.error||u,a=!0),n.host)if(zU(n.host)===!1){let d=kU(n.host);n.host=d.host.toLowerCase(),r=d.isIPV6}else r=!0;n.scheme===void 0&&n.userinfo===void 0&&n.host===void 0&&n.port===void 0&&n.query===void 0&&!n.path?n.reference="same-document":n.scheme===void 0?n.reference="relative":n.fragment===void 0?n.reference="absolute":n.reference="uri",i.reference&&i.reference!=="suffix"&&i.reference!==n.reference&&(n.error=n.error||"URI is not a "+i.reference+" reference.");let c=$O(i.scheme||n.scheme);if(!i.unicodeSupport&&(!c||!c.unicodeSupport)&&n.host&&(i.domainHost||c&&c.domainHost)&&r===!1&&DU(n.host))try{n.host=new URL("http://"+n.host).hostname}catch(p){n.error=n.error||"Host's domain name can not be converted to ASCII: "+p}if((!c||c&&!c.skipNormalize)&&(t.indexOf("%")!==-1&&(n.scheme!==void 0&&(n.scheme=unescape(n.scheme)),n.host!==void 0&&(n.host=RU(unescape(n.host),r))),n.path&&(n.path=HU(n.path)),n.fragment))try{n.fragment=encodeURI(decodeURIComponent(n.fragment))}catch{n.error=n.error||"URI malformed"}c&&c.parse&&c.parse(n,i)}else n.error=n.error||"URI can not be parsed.";return{parsed:n,malformedAuthorityOrPort:a}}function Fu(t,e){return Bu(t,e).parsed}function VU(t,e){return UO(t,e).normalized}function UO(t,e){let{parsed:i,malformedAuthorityOrPort:n}=Bu(t,e);return{normalized:n?t:Ta(i,e),malformedAuthorityOrPort:n}}function GO(t,e){if(typeof t=="string"){let{normalized:i,malformedAuthorityOrPort:n}=UO(t,e);return n?void 0:i}if(typeof t=="object")return Ta(t,e)}var Lm={SCHEMES:GU,normalize:$U,resolve:NU,resolveComponent:NO,equal:UU,serialize:Ta,parse:Fu};Vu.exports=Lm;Vu.exports.default=Lm;Vu.exports.fastUri=Lm});var BO=v(Bm=>{"use strict";Object.defineProperty(Bm,"__esModule",{value:!0});var LO=WO();LO.code='require("ajv/dist/runtime/uri").default';Bm.default=LO});var XO=v(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.CodeGen=Pi.Name=Pi.nil=Pi.stringify=Pi.str=Pi._=Pi.KeywordCxt=void 0;var JU=co();Object.defineProperty(Pi,"KeywordCxt",{enumerable:!0,get:function(){return JU.KeywordCxt}});var Er=re();Object.defineProperty(Pi,"_",{enumerable:!0,get:function(){return Er._}});Object.defineProperty(Pi,"str",{enumerable:!0,get:function(){return Er.str}});Object.defineProperty(Pi,"stringify",{enumerable:!0,get:function(){return Er.stringify}});Object.defineProperty(Pi,"nil",{enumerable:!0,get:function(){return Er.nil}});Object.defineProperty(Pi,"Name",{enumerable:!0,get:function(){return Er.Name}});Object.defineProperty(Pi,"CodeGen",{enumerable:!0,get:function(){return Er.CodeGen}});var ZU=$u(),KO=po(),KU=Cm(),go=Uu(),QU=re(),mo=oo(),Ju=so(),Vm=Ae(),FO=TO(),YU=BO(),QO=(t,e)=>new RegExp(t,e);QO.code="new RegExp";var XU=["removeAdditional","useDefaults","coerceTypes"],eW=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),iW={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},nW={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},VO=200;function tW(t){var e,i,n,a,r,s,o,l,u,c,p,d,h,g,m,f,w,b,A,y,O,q,W,ie,K;let M=t.strict,X=(e=t.code)===null||e===void 0?void 0:e.optimize,Pe=X===!0||X===void 0?1:X||0,Oe=(n=(i=t.code)===null||i===void 0?void 0:i.regExp)!==null&&n!==void 0?n:QO,ge=(a=t.uriResolver)!==null&&a!==void 0?a:YU.default;return{strictSchema:(s=(r=t.strictSchema)!==null&&r!==void 0?r:M)!==null&&s!==void 0?s:!0,strictNumbers:(l=(o=t.strictNumbers)!==null&&o!==void 0?o:M)!==null&&l!==void 0?l:!0,strictTypes:(c=(u=t.strictTypes)!==null&&u!==void 0?u:M)!==null&&c!==void 0?c:"log",strictTuples:(d=(p=t.strictTuples)!==null&&p!==void 0?p:M)!==null&&d!==void 0?d:"log",strictRequired:(g=(h=t.strictRequired)!==null&&h!==void 0?h:M)!==null&&g!==void 0?g:!1,code:t.code?{...t.code,optimize:Pe,regExp:Oe}:{optimize:Pe,regExp:Oe},loopRequired:(m=t.loopRequired)!==null&&m!==void 0?m:VO,loopEnum:(f=t.loopEnum)!==null&&f!==void 0?f:VO,meta:(w=t.meta)!==null&&w!==void 0?w:!0,messages:(b=t.messages)!==null&&b!==void 0?b:!0,inlineRefs:(A=t.inlineRefs)!==null&&A!==void 0?A:!0,schemaId:(y=t.schemaId)!==null&&y!==void 0?y:"$id",addUsedSchema:(O=t.addUsedSchema)!==null&&O!==void 0?O:!0,validateSchema:(q=t.validateSchema)!==null&&q!==void 0?q:!0,validateFormats:(W=t.validateFormats)!==null&&W!==void 0?W:!0,unicodeRegExp:(ie=t.unicodeRegExp)!==null&&ie!==void 0?ie:!0,int32range:(K=t.int32range)!==null&&K!==void 0?K:!0,uriResolver:ge}}var fo=class{constructor(e={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...tW(e)};let{es5:i,lines:n}=this.opts.code;this.scope=new QU.ValueScope({scope:{},prefixes:eW,es5:i,lines:n}),this.logger=uW(e.logger);let a=e.validateFormats;e.validateFormats=!1,this.RULES=(0,KU.getRules)(),JO.call(this,iW,e,"NOT SUPPORTED"),JO.call(this,nW,e,"DEPRECATED","warn"),this._metaOpts=oW.call(this),e.formats&&rW.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&sW.call(this,e.keywords),typeof e.meta=="object"&&this.addMetaSchema(e.meta),aW.call(this),e.validateFormats=a}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:e,meta:i,schemaId:n}=this.opts,a=FO;n==="id"&&(a={...FO},a.id=a.$id,delete a.$id),i&&e&&this.addMetaSchema(a,a[n],!1)}defaultMeta(){let{meta:e,schemaId:i}=this.opts;return this.opts.defaultMeta=typeof e=="object"?e[i]||e:void 0}validate(e,i){let n;if(typeof e=="string"){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);let a=n(i);return"$async"in n||(this.errors=n.errors),a}compile(e,i){let n=this._addSchema(e,i);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,i){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:n}=this.opts;return a.call(this,e,i);async function a(c,p){await r.call(this,c.$schema);let d=this._addSchema(c,p);return d.validate||s.call(this,d)}async function r(c){c&&!this.getSchema(c)&&await a.call(this,{$ref:c},!0)}async function s(c){try{return this._compileSchemaEnv(c)}catch(p){if(!(p instanceof KO.default))throw p;return o.call(this,p),await l.call(this,p.missingSchema),s.call(this,c)}}function o({missingSchema:c,missingRef:p}){if(this.refs[c])throw new Error(`AnySchema ${c} is loaded but ${p} cannot be resolved`)}async function l(c){let p=await u.call(this,c);this.refs[c]||await r.call(this,p.$schema),this.refs[c]||this.addSchema(p,c,i)}async function u(c){let p=this._loading[c];if(p)return p;try{return await(this._loading[c]=n(c))}finally{delete this._loading[c]}}}addSchema(e,i,n,a=this.opts.validateSchema){if(Array.isArray(e)){for(let s of e)this.addSchema(s,void 0,n,a);return this}let r;if(typeof e=="object"){let{schemaId:s}=this.opts;if(r=e[s],r!==void 0&&typeof r!="string")throw new Error(`schema ${s} must be string`)}return i=(0,mo.normalizeId)(i||r),this._checkUnique(i),this.schemas[i]=this._addSchema(e,n,i,a,!0),this}addMetaSchema(e,i,n=this.opts.validateSchema){return this.addSchema(e,i,!0,n),this}validateSchema(e,i){if(typeof e=="boolean")return!0;let n;if(n=e.$schema,n!==void 0&&typeof n!="string")throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let a=this.validate(n,e);if(!a&&i){let r="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(r);else throw new Error(r)}return a}getSchema(e){let i;for(;typeof(i=ZO.call(this,e))=="string";)e=i;if(i===void 0){let{schemaId:n}=this.opts,a=new go.SchemaEnv({schema:{},schemaId:n});if(i=go.resolveSchema.call(this,a,e),!i)return;this.refs[e]=i}return i.validate||this._compileSchemaEnv(i)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let i=ZO.call(this,e);return typeof i=="object"&&this._cache.delete(i.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{let i=e;this._cache.delete(i);let n=e[this.opts.schemaId];return n&&(n=(0,mo.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(let i of e)this.addKeyword(i);return this}addKeyword(e,i){let n;if(typeof e=="string")n=e,typeof i=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),i.keyword=n);else if(typeof e=="object"&&i===void 0){if(i=e,n=i.keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(pW.call(this,n,i),!i)return(0,Vm.eachItem)(n,r=>Fm.call(this,r)),this;hW.call(this,i);let a={...i,type:(0,Ju.getJSONTypes)(i.type),schemaType:(0,Ju.getJSONTypes)(i.schemaType)};return(0,Vm.eachItem)(n,a.type.length===0?r=>Fm.call(this,r,a):r=>a.type.forEach(s=>Fm.call(this,r,a,s))),this}getKeyword(e){let i=this.RULES.all[e];return typeof i=="object"?i.definition:!!i}removeKeyword(e){let{RULES:i}=this;delete i.keywords[e],delete i.all[e];for(let n of i.rules){let a=n.rules.findIndex(r=>r.keyword===e);a>=0&&n.rules.splice(a,1)}return this}addFormat(e,i){return typeof i=="string"&&(i=new RegExp(i)),this.formats[e]=i,this}errorsText(e=this.errors,{separator:i=", ",dataVar:n="data"}={}){return!e||e.length===0?"No errors":e.map(a=>`${n}${a.instancePath} ${a.message}`).reduce((a,r)=>a+i+r)}$dataMetaSchema(e,i){let n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(let a of i){let r=a.split("/").slice(1),s=e;for(let o of r)s=s[o];for(let o in n){let l=n[o];if(typeof l!="object")continue;let{$data:u}=l.definition,c=s[o];u&&c&&(s[o]=YO(c))}}return e}_removeAllSchemas(e,i){for(let n in e){let a=e[n];(!i||i.test(n))&&(typeof a=="string"?delete e[n]:a&&!a.meta&&(this._cache.delete(a.schema),delete e[n]))}}_addSchema(e,i,n,a=this.opts.validateSchema,r=this.opts.addUsedSchema){let s,{schemaId:o}=this.opts;if(typeof e=="object")s=e[o];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof e!="boolean")throw new Error("schema must be object or boolean")}let l=this._cache.get(e);if(l!==void 0)return l;n=(0,mo.normalizeId)(s||n);let u=mo.getSchemaRefs.call(this,e,n);return l=new go.SchemaEnv({schema:e,schemaId:o,meta:i,baseId:n,localRefs:u}),this._cache.set(l.schema,l),r&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=l),a&&this.validateSchema(e,!0),l}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):go.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){let i=this.opts;this.opts=this._metaOpts;try{go.compileSchema.call(this,e)}finally{this.opts=i}}};fo.ValidationError=ZU.default;fo.MissingRefError=KO.default;Pi.default=fo;function JO(t,e,i,n="error"){for(let a in t){let r=a;r in e&&this.logger[n](`${i}: option ${a}. ${t[r]}`)}}function ZO(t){return t=(0,mo.normalizeId)(t),this.schemas[t]||this.refs[t]}function aW(){let t=this.opts.schemas;if(t)if(Array.isArray(t))this.addSchema(t);else for(let e in t)this.addSchema(t[e],e)}function rW(){for(let t in this.opts.formats){let e=this.opts.formats[t];e&&this.addFormat(t,e)}}function sW(t){if(Array.isArray(t)){this.addVocabulary(t);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let e in t){let i=t[e];i.keyword||(i.keyword=e),this.addKeyword(i)}}function oW(){let t={...this.opts};for(let e of XU)delete t[e];return t}var lW={log(){},warn(){},error(){}};function uW(t){if(t===!1)return lW;if(t===void 0)return console;if(t.log&&t.warn&&t.error)return t;throw new Error("logger must implement log, warn and error methods")}var cW=/^[a-z_$][a-z0-9_$:-]*$/i;function pW(t,e){let{RULES:i}=this;if((0,Vm.eachItem)(t,n=>{if(i.keywords[n])throw new Error(`Keyword ${n} is already defined`);if(!cW.test(n))throw new Error(`Keyword ${n} has invalid name`)}),!!e&&e.$data&&!("code"in e||"validate"in e))throw new Error('$data keyword must have "code" or "validate" function')}function Fm(t,e,i){var n;let a=e?.post;if(i&&a)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:r}=this,s=a?r.post:r.rules.find(({type:l})=>l===i);if(s||(s={type:i,rules:[]},r.rules.push(s)),r.keywords[t]=!0,!e)return;let o={keyword:t,definition:{...e,type:(0,Ju.getJSONTypes)(e.type),schemaType:(0,Ju.getJSONTypes)(e.schemaType)}};e.before?dW.call(this,s,o,e.before):s.rules.push(o),r.all[t]=o,(n=e.implements)===null||n===void 0||n.forEach(l=>this.addKeyword(l))}function dW(t,e,i){let n=t.rules.findIndex(a=>a.keyword===i);n>=0?t.rules.splice(n,0,e):(t.rules.push(e),this.logger.warn(`rule ${i} is not defined`))}function hW(t){let{metaSchema:e}=t;e!==void 0&&(t.$data&&this.opts.$data&&(e=YO(e)),t.validateSchema=this.compile(e,!0))}var gW={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function YO(t){return{anyOf:[t,gW]}}});var eT=v(Jm=>{"use strict";Object.defineProperty(Jm,"__esModule",{value:!0});var mW={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Jm.default=mW});var aT=v(xa=>{"use strict";Object.defineProperty(xa,"__esModule",{value:!0});xa.callRef=xa.getValidate=void 0;var fW=po(),iT=wn(),Zi=re(),kr=pt(),nT=Uu(),Zu=Ae(),wW={keyword:"$ref",schemaType:"string",code(t){let{gen:e,schema:i,it:n}=t,{baseId:a,schemaEnv:r,validateName:s,opts:o,self:l}=n,{root:u}=r;if((i==="#"||i==="#/")&&a===u.baseId)return p();let c=nT.resolveRef.call(l,u,a,i);if(c===void 0)throw new fW.default(n.opts.uriResolver,a,i);if(c instanceof nT.SchemaEnv)return d(c);return h(c);function p(){if(r===u)return Ku(t,s,r,r.$async);let g=e.scopeValue("root",{ref:u});return Ku(t,(0,Zi._)`${g}.validate`,u,u.$async)}function d(g){let m=tT(t,g);Ku(t,m,g,g.$async)}function h(g){let m=e.scopeValue("schema",o.code.source===!0?{ref:g,code:(0,Zi.stringify)(g)}:{ref:g}),f=e.name("valid"),w=t.subschema({schema:g,dataTypes:[],schemaPath:Zi.nil,topSchemaRef:m,errSchemaPath:i},f);t.mergeEvaluated(w),t.ok(f)}}};function tT(t,e){let{gen:i}=t;return e.validate?i.scopeValue("validate",{ref:e.validate}):(0,Zi._)`${i.scopeValue("wrapper",{ref:e})}.validate`}xa.getValidate=tT;function Ku(t,e,i,n){let{gen:a,it:r}=t,{allErrors:s,schemaEnv:o,opts:l}=r,u=l.passContext?kr.default.this:Zi.nil;n?c():p();function c(){if(!o.$async)throw new Error("async schema referenced by sync schema");let g=a.let("valid");a.try(()=>{a.code((0,Zi._)`await ${(0,iT.callValidateCode)(t,e,u)}`),h(e),s||a.assign(g,!0)},m=>{a.if((0,Zi._)`!(${m} instanceof ${r.ValidationError})`,()=>a.throw(m)),d(m),s||a.assign(g,!1)}),t.ok(g)}function p(){t.result((0,iT.callValidateCode)(t,e,u),()=>h(e),()=>d(e))}function d(g){let m=(0,Zi._)`${g}.errors`;a.assign(kr.default.vErrors,(0,Zi._)`${kr.default.vErrors} === null ? ${m} : ${kr.default.vErrors}.concat(${m})`),a.assign(kr.default.errors,(0,Zi._)`${kr.default.vErrors}.length`)}function h(g){var m;if(!r.opts.unevaluated)return;let f=(m=i?.validate)===null||m===void 0?void 0:m.evaluated;if(r.props!==!0)if(f&&!f.dynamicProps)f.props!==void 0&&(r.props=Zu.mergeEvaluated.props(a,f.props,r.props));else{let w=a.var("props",(0,Zi._)`${g}.evaluated.props`);r.props=Zu.mergeEvaluated.props(a,w,r.props,Zi.Name)}if(r.items!==!0)if(f&&!f.dynamicItems)f.items!==void 0&&(r.items=Zu.mergeEvaluated.items(a,f.items,r.items));else{let w=a.var("items",(0,Zi._)`${g}.evaluated.items`);r.items=Zu.mergeEvaluated.items(a,w,r.items,Zi.Name)}}}xa.callRef=Ku;xa.default=wW});var rT=v(Zm=>{"use strict";Object.defineProperty(Zm,"__esModule",{value:!0});var vW=eT(),CW=aT(),AW=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",vW.default,CW.default];Zm.default=AW});var sT=v(Km=>{"use strict";Object.defineProperty(Km,"__esModule",{value:!0});var Qu=re(),zt=Qu.operators,Yu={maximum:{okStr:"<=",ok:zt.LTE,fail:zt.GT},minimum:{okStr:">=",ok:zt.GTE,fail:zt.LT},exclusiveMaximum:{okStr:"<",ok:zt.LT,fail:zt.GTE},exclusiveMinimum:{okStr:">",ok:zt.GT,fail:zt.LTE}},bW={message:({keyword:t,schemaCode:e})=>(0,Qu.str)`must be ${Yu[t].okStr} ${e}`,params:({keyword:t,schemaCode:e})=>(0,Qu._)`{comparison: ${Yu[t].okStr}, limit: ${e}}`},yW={keyword:Object.keys(Yu),type:"number",schemaType:"number",$data:!0,error:bW,code(t){let{keyword:e,data:i,schemaCode:n}=t;t.fail$data((0,Qu._)`${i} ${Yu[e].fail} ${n} || isNaN(${i})`)}};Km.default=yW});var oT=v(Qm=>{"use strict";Object.defineProperty(Qm,"__esModule",{value:!0});var wo=re(),PW={message:({schemaCode:t})=>(0,wo.str)`must be multiple of ${t}`,params:({schemaCode:t})=>(0,wo._)`{multipleOf: ${t}}`},jW={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:PW,code(t){let{gen:e,data:i,schemaCode:n,it:a}=t,r=a.opts.multipleOfPrecision,s=e.let("res"),o=r?(0,wo._)`Math.abs(Math.round(${s}) - ${s}) > 1e-${r}`:(0,wo._)`${s} !== parseInt(${s})`;t.fail$data((0,wo._)`(${n} === 0 || (${s} = ${i}/${n}, ${o}))`)}};Qm.default=jW});var uT=v(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});function lT(t){let e=t.length,i=0,n=0,a;for(;n=55296&&a<=56319&&n{"use strict";Object.defineProperty(Xm,"__esModule",{value:!0});var Ma=re(),SW=Ae(),OW=uT(),TW={message({keyword:t,schemaCode:e}){let i=t==="maxLength"?"more":"fewer";return(0,Ma.str)`must NOT have ${i} than ${e} characters`},params:({schemaCode:t})=>(0,Ma._)`{limit: ${t}}`},xW={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:TW,code(t){let{keyword:e,data:i,schemaCode:n,it:a}=t,r=e==="maxLength"?Ma.operators.GT:Ma.operators.LT,s=a.opts.unicode===!1?(0,Ma._)`${i}.length`:(0,Ma._)`${(0,SW.useFunc)(t.gen,OW.default)}(${i})`;t.fail$data((0,Ma._)`${s} ${r} ${n}`)}};Xm.default=xW});var pT=v(ef=>{"use strict";Object.defineProperty(ef,"__esModule",{value:!0});var MW=wn(),EW=Ae(),qr=re(),kW={message:({schemaCode:t})=>(0,qr.str)`must match pattern "${t}"`,params:({schemaCode:t})=>(0,qr._)`{pattern: ${t}}`},qW={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:kW,code(t){let{gen:e,data:i,$data:n,schema:a,schemaCode:r,it:s}=t,o=s.opts.unicodeRegExp?"u":"";if(n){let{regExp:l}=s.opts.code,u=l.code==="new RegExp"?(0,qr._)`new RegExp`:(0,EW.useFunc)(e,l),c=e.let("valid");e.try(()=>e.assign(c,(0,qr._)`${u}(${r}, ${o}).test(${i})`),()=>e.assign(c,!1)),t.fail$data((0,qr._)`!${c}`)}else{let l=(0,MW.usePattern)(t,a);t.fail$data((0,qr._)`!${l}.test(${i})`)}}};ef.default=qW});var dT=v(nf=>{"use strict";Object.defineProperty(nf,"__esModule",{value:!0});var vo=re(),_W={message({keyword:t,schemaCode:e}){let i=t==="maxProperties"?"more":"fewer";return(0,vo.str)`must NOT have ${i} than ${e} properties`},params:({schemaCode:t})=>(0,vo._)`{limit: ${t}}`},HW={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:_W,code(t){let{keyword:e,data:i,schemaCode:n}=t,a=e==="maxProperties"?vo.operators.GT:vo.operators.LT;t.fail$data((0,vo._)`Object.keys(${i}).length ${a} ${n}`)}};nf.default=HW});var hT=v(tf=>{"use strict";Object.defineProperty(tf,"__esModule",{value:!0});var Co=wn(),Ao=re(),IW=Ae(),RW={message:({params:{missingProperty:t}})=>(0,Ao.str)`must have required property '${t}'`,params:({params:{missingProperty:t}})=>(0,Ao._)`{missingProperty: ${t}}`},zW={keyword:"required",type:"object",schemaType:"array",$data:!0,error:RW,code(t){let{gen:e,schema:i,schemaCode:n,data:a,$data:r,it:s}=t,{opts:o}=s;if(!r&&i.length===0)return;let l=i.length>=o.loopRequired;if(s.allErrors?u():c(),o.strictRequired){let h=t.parentSchema.properties,{definedProperties:g}=t.it;for(let m of i)if(h?.[m]===void 0&&!g.has(m)){let f=s.schemaEnv.baseId+s.errSchemaPath,w=`required property "${m}" is not defined at "${f}" (strictRequired)`;(0,IW.checkStrictMode)(s,w,s.opts.strictRequired)}}function u(){if(l||r)t.block$data(Ao.nil,p);else for(let h of i)(0,Co.checkReportMissingProp)(t,h)}function c(){let h=e.let("missing");if(l||r){let g=e.let("valid",!0);t.block$data(g,()=>d(h,g)),t.ok(g)}else e.if((0,Co.checkMissingProp)(t,i,h)),(0,Co.reportMissingProp)(t,h),e.else()}function p(){e.forOf("prop",n,h=>{t.setParams({missingProperty:h}),e.if((0,Co.noPropertyInData)(e,a,h,o.ownProperties),()=>t.error())})}function d(h,g){t.setParams({missingProperty:h}),e.forOf(h,n,()=>{e.assign(g,(0,Co.propertyInData)(e,a,h,o.ownProperties)),e.if((0,Ao.not)(g),()=>{t.error(),e.break()})},Ao.nil)}}};tf.default=zW});var gT=v(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});var bo=re(),DW={message({keyword:t,schemaCode:e}){let i=t==="maxItems"?"more":"fewer";return(0,bo.str)`must NOT have ${i} than ${e} items`},params:({schemaCode:t})=>(0,bo._)`{limit: ${t}}`},GW={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:DW,code(t){let{keyword:e,data:i,schemaCode:n}=t,a=e==="maxItems"?bo.operators.GT:bo.operators.LT;t.fail$data((0,bo._)`${i}.length ${a} ${n}`)}};af.default=GW});var Xu=v(rf=>{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});var mT=Tm();mT.code='require("ajv/dist/runtime/equal").default';rf.default=mT});var fT=v(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});var sf=so(),ji=re(),$W=Ae(),NW=Xu(),UW={message:({params:{i:t,j:e}})=>(0,ji.str)`must NOT have duplicate items (items ## ${e} and ${t} are identical)`,params:({params:{i:t,j:e}})=>(0,ji._)`{i: ${t}, j: ${e}}`},WW={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:UW,code(t){let{gen:e,data:i,$data:n,schema:a,parentSchema:r,schemaCode:s,it:o}=t;if(!n&&!a)return;let l=e.let("valid"),u=r.items?(0,sf.getSchemaTypes)(r.items):[];t.block$data(l,c,(0,ji._)`${s} === false`),t.ok(l);function c(){let g=e.let("i",(0,ji._)`${i}.length`),m=e.let("j");t.setParams({i:g,j:m}),e.assign(l,!0),e.if((0,ji._)`${g} > 1`,()=>(p()?d:h)(g,m))}function p(){return u.length>0&&!u.some(g=>g==="object"||g==="array")}function d(g,m){let f=e.name("item"),w=(0,sf.checkDataTypes)(u,f,o.opts.strictNumbers,sf.DataType.Wrong),b=e.const("indices",(0,ji._)`{}`);e.for((0,ji._)`;${g}--;`,()=>{e.let(f,(0,ji._)`${i}[${g}]`),e.if(w,(0,ji._)`continue`),u.length>1&&e.if((0,ji._)`typeof ${f} == "string"`,(0,ji._)`${f} += "_"`),e.if((0,ji._)`typeof ${b}[${f}] == "number"`,()=>{e.assign(m,(0,ji._)`${b}[${f}]`),t.error(),e.assign(l,!1).break()}).code((0,ji._)`${b}[${f}] = ${g}`)})}function h(g,m){let f=(0,$W.useFunc)(e,NW.default),w=e.name("outer");e.label(w).for((0,ji._)`;${g}--;`,()=>e.for((0,ji._)`${m} = ${g}; ${m}--;`,()=>e.if((0,ji._)`${f}(${i}[${g}], ${i}[${m}])`,()=>{t.error(),e.assign(l,!1).break(w)})))}}};of.default=WW});var wT=v(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});var lf=re(),LW=Ae(),BW=Xu(),FW={message:"must be equal to constant",params:({schemaCode:t})=>(0,lf._)`{allowedValue: ${t}}`},VW={keyword:"const",$data:!0,error:FW,code(t){let{gen:e,data:i,$data:n,schemaCode:a,schema:r}=t;n||r&&typeof r=="object"?t.fail$data((0,lf._)`!${(0,LW.useFunc)(e,BW.default)}(${i}, ${a})`):t.fail((0,lf._)`${r} !== ${i}`)}};uf.default=VW});var vT=v(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});var yo=re(),JW=Ae(),ZW=Xu(),KW={message:"must be equal to one of the allowed values",params:({schemaCode:t})=>(0,yo._)`{allowedValues: ${t}}`},QW={keyword:"enum",schemaType:"array",$data:!0,error:KW,code(t){let{gen:e,data:i,$data:n,schema:a,schemaCode:r,it:s}=t;if(!n&&a.length===0)throw new Error("enum must have non-empty array");let o=a.length>=s.opts.loopEnum,l,u=()=>l??(l=(0,JW.useFunc)(e,ZW.default)),c;if(o||n)c=e.let("valid"),t.block$data(c,p);else{if(!Array.isArray(a))throw new Error("ajv implementation error");let h=e.const("vSchema",r);c=(0,yo.or)(...a.map((g,m)=>d(h,m)))}t.pass(c);function p(){e.assign(c,!1),e.forOf("v",r,h=>e.if((0,yo._)`${u()}(${i}, ${h})`,()=>e.assign(c,!0).break()))}function d(h,g){let m=a[g];return typeof m=="object"&&m!==null?(0,yo._)`${u()}(${i}, ${h}[${g}])`:(0,yo._)`${i} === ${m}`}}};cf.default=QW});var CT=v(pf=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});var YW=sT(),XW=oT(),eL=cT(),iL=pT(),nL=dT(),tL=hT(),aL=gT(),rL=fT(),sL=wT(),oL=vT(),lL=[YW.default,XW.default,eL.default,iL.default,nL.default,tL.default,aL.default,rL.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},sL.default,oL.default];pf.default=lL});var hf=v(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.validateAdditionalItems=void 0;var Ea=re(),df=Ae(),uL={message:({params:{len:t}})=>(0,Ea.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,Ea._)`{limit: ${t}}`},cL={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:uL,code(t){let{parentSchema:e,it:i}=t,{items:n}=e;if(!Array.isArray(n)){(0,df.checkStrictMode)(i,'"additionalItems" is ignored when "items" is not an array of schemas');return}AT(t,n)}};function AT(t,e){let{gen:i,schema:n,data:a,keyword:r,it:s}=t;s.items=!0;let o=i.const("len",(0,Ea._)`${a}.length`);if(n===!1)t.setParams({len:e.length}),t.pass((0,Ea._)`${o} <= ${e.length}`);else if(typeof n=="object"&&!(0,df.alwaysValidSchema)(s,n)){let u=i.var("valid",(0,Ea._)`${o} <= ${e.length}`);i.if((0,Ea.not)(u),()=>l(u)),t.ok(u)}function l(u){i.forRange("i",e.length,o,c=>{t.subschema({keyword:r,dataProp:c,dataPropType:df.Type.Num},u),s.allErrors||i.if((0,Ea.not)(u),()=>i.break())})}}Po.validateAdditionalItems=AT;Po.default=cL});var gf=v(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.validateTuple=void 0;var bT=re(),ec=Ae(),pL=wn(),dL={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{schema:e,it:i}=t;if(Array.isArray(e))return yT(t,"additionalItems",e);i.items=!0,!(0,ec.alwaysValidSchema)(i,e)&&t.ok((0,pL.validateArray)(t))}};function yT(t,e,i=t.schema){let{gen:n,parentSchema:a,data:r,keyword:s,it:o}=t;c(a),o.opts.unevaluated&&i.length&&o.items!==!0&&(o.items=ec.mergeEvaluated.items(n,i.length,o.items));let l=n.name("valid"),u=n.const("len",(0,bT._)`${r}.length`);i.forEach((p,d)=>{(0,ec.alwaysValidSchema)(o,p)||(n.if((0,bT._)`${u} > ${d}`,()=>t.subschema({keyword:s,schemaProp:d,dataProp:d},l)),t.ok(l))});function c(p){let{opts:d,errSchemaPath:h}=o,g=i.length,m=g===p.minItems&&(g===p.maxItems||p[e]===!1);if(d.strictTuples&&!m){let f=`"${s}" is ${g}-tuple, but minItems or maxItems/${e} are not specified or different at path "${h}"`;(0,ec.checkStrictMode)(o,f,d.strictTuples)}}}jo.validateTuple=yT;jo.default=dL});var PT=v(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});var hL=gf(),gL={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:t=>(0,hL.validateTuple)(t,"items")};mf.default=gL});var ST=v(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});var jT=re(),mL=Ae(),fL=wn(),wL=hf(),vL={message:({params:{len:t}})=>(0,jT.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,jT._)`{limit: ${t}}`},CL={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:vL,code(t){let{schema:e,parentSchema:i,it:n}=t,{prefixItems:a}=i;n.items=!0,!(0,mL.alwaysValidSchema)(n,e)&&(a?(0,wL.validateAdditionalItems)(t,a):t.ok((0,fL.validateArray)(t)))}};ff.default=CL});var OT=v(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});var Cn=re(),ic=Ae(),AL={message:({params:{min:t,max:e}})=>e===void 0?(0,Cn.str)`must contain at least ${t} valid item(s)`:(0,Cn.str)`must contain at least ${t} and no more than ${e} valid item(s)`,params:({params:{min:t,max:e}})=>e===void 0?(0,Cn._)`{minContains: ${t}}`:(0,Cn._)`{minContains: ${t}, maxContains: ${e}}`},bL={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:AL,code(t){let{gen:e,schema:i,parentSchema:n,data:a,it:r}=t,s,o,{minContains:l,maxContains:u}=n;r.opts.next?(s=l===void 0?1:l,o=u):s=1;let c=e.const("len",(0,Cn._)`${a}.length`);if(t.setParams({min:s,max:o}),o===void 0&&s===0){(0,ic.checkStrictMode)(r,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(o!==void 0&&s>o){(0,ic.checkStrictMode)(r,'"minContains" > "maxContains" is always invalid'),t.fail();return}if((0,ic.alwaysValidSchema)(r,i)){let m=(0,Cn._)`${c} >= ${s}`;o!==void 0&&(m=(0,Cn._)`${m} && ${c} <= ${o}`),t.pass(m);return}r.items=!0;let p=e.name("valid");o===void 0&&s===1?h(p,()=>e.if(p,()=>e.break())):s===0?(e.let(p,!0),o!==void 0&&e.if((0,Cn._)`${a}.length > 0`,d)):(e.let(p,!1),d()),t.result(p,()=>t.reset());function d(){let m=e.name("_valid"),f=e.let("count",0);h(m,()=>e.if(m,()=>g(f)))}function h(m,f){e.forRange("i",0,c,w=>{t.subschema({keyword:"contains",dataProp:w,dataPropType:ic.Type.Num,compositeRule:!0},m),f()})}function g(m){e.code((0,Cn._)`${m}++`),o===void 0?e.if((0,Cn._)`${m} >= ${s}`,()=>e.assign(p,!0).break()):(e.if((0,Cn._)`${m} > ${o}`,()=>e.assign(p,!1).break()),s===1?e.assign(p,!0):e.if((0,Cn._)`${m} >= ${s}`,()=>e.assign(p,!0)))}}};wf.default=bL});var MT=v(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.validateSchemaDeps=Bn.validatePropertyDeps=Bn.error=void 0;var vf=re(),yL=Ae(),So=wn();Bn.error={message:({params:{property:t,depsCount:e,deps:i}})=>{let n=e===1?"property":"properties";return(0,vf.str)`must have ${n} ${i} when property ${t} is present`},params:({params:{property:t,depsCount:e,deps:i,missingProperty:n}})=>(0,vf._)`{property: ${t}, + missingProperty: ${n}, depsCount: ${e}, - deps: ${n}}`};var CF={keyword:"dependencies",type:"object",schemaType:"object",error:Vi.error,code(t){let[e,n]=AF(t);kT(t,e),qT(t,n)}};function AF({schema:t}){let e={},n={};for(let i in t){if(i==="__proto__")continue;let a=Array.isArray(t[i])?e:n;a[i]=t[i]}return[e,n]}function kT(t,e=t.schema){let{gen:n,data:i,it:a}=t;if(Object.keys(e).length===0)return;let r=n.let("missing");for(let s in e){let o=e[s];if(o.length===0)continue;let l=(0,Uo.propertyInData)(n,i,s,a.opts.ownProperties);t.setParams({property:s,depsCount:o.length,deps:o.join(", ")}),a.allErrors?n.if(l,()=>{for(let u of o)(0,Uo.checkReportMissingProp)(t,u)}):(n.if((0,ew._)`${l} && (${(0,Uo.checkMissingProp)(t,o,r)})`),(0,Uo.reportMissingProp)(t,r),n.else())}}Vi.validatePropertyDeps=kT;function qT(t,e=t.schema){let{gen:n,data:i,keyword:a,it:r}=t,s=n.name("valid");for(let o in e)(0,vF.alwaysValidSchema)(r,e[o])||(n.if((0,Uo.propertyInData)(n,i,o,r.opts.ownProperties),()=>{let l=t.subschema({keyword:a,schemaProp:o},s);t.mergeValidEvaluated(l,s)},()=>n.var(s,!0)),t.ok(s))}Vi.validateSchemaDeps=qT;Vi.default=CF});var IT=v(nw=>{"use strict";Object.defineProperty(nw,"__esModule",{value:!0});var HT=le(),bF=ye(),yF={message:"property name must be valid",params:({params:t})=>(0,HT._)`{propertyName: ${t.propertyName}}`},PF={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:yF,code(t){let{gen:e,schema:n,data:i,it:a}=t;if((0,bF.alwaysValidSchema)(a,n))return;let r=e.name("valid");e.forIn("key",i,s=>{t.setParams({propertyName:s}),t.subschema({keyword:"propertyNames",data:s,dataTypes:["string"],propertyName:s,compositeRule:!0},r),e.if((0,HT.not)(r),()=>{t.error(!0),a.allErrors||e.break()})}),t.ok(r)}};nw.default=PF});var tw=v(iw=>{"use strict";Object.defineProperty(iw,"__esModule",{value:!0});var Tc=Ci(),_i=le(),jF=wt(),Mc=ye(),SF={message:"must NOT have additional properties",params:({params:t})=>(0,_i._)`{additionalProperty: ${t.additionalProperty}}`},OF={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:SF,code(t){let{gen:e,schema:n,parentSchema:i,data:a,errsCount:r,it:s}=t;if(!r)throw new Error("ajv implementation error");let{allErrors:o,opts:l}=s;if(s.props=!0,l.removeAdditional!=="all"&&(0,Mc.alwaysValidSchema)(s,n))return;let u=(0,Tc.allSchemaProperties)(i.properties),c=(0,Tc.allSchemaProperties)(i.patternProperties);p(),t.ok((0,_i._)`${r} === ${jF.default.errors}`);function p(){e.forIn("key",a,f=>{!u.length&&!c.length?g(f):e.if(h(f),()=>g(f))})}function h(f){let w;if(u.length>8){let b=(0,Mc.schemaRefOrVal)(s,i.properties,"properties");w=(0,Tc.isOwnProperty)(e,b,f)}else u.length?w=(0,_i.or)(...u.map(b=>(0,_i._)`${f} === ${b}`)):w=_i.nil;return c.length&&(w=(0,_i.or)(w,...c.map(b=>(0,_i._)`${(0,Tc.usePattern)(t,b)}.test(${f})`))),(0,_i.not)(w)}function d(f){e.code((0,_i._)`delete ${a}[${f}]`)}function g(f){if(l.removeAdditional==="all"||l.removeAdditional&&n===!1){d(f);return}if(n===!1){t.setParams({additionalProperty:f}),t.error(),o||e.break();return}if(typeof n=="object"&&!(0,Mc.alwaysValidSchema)(s,n)){let w=e.name("valid");l.removeAdditional==="failing"?(m(f,w,!1),e.if((0,_i.not)(w),()=>{t.reset(),d(f)})):(m(f,w),o||e.if((0,_i.not)(w),()=>e.break()))}}function m(f,w,b){let A={keyword:"additionalProperties",dataProp:f,dataPropType:Mc.Type.Str};b===!1&&Object.assign(A,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(A,w)}}};iw.default=OF});var DT=v(rw=>{"use strict";Object.defineProperty(rw,"__esModule",{value:!0});var xF=To(),RT=Ci(),aw=ye(),zT=tw(),TF={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:e,schema:n,parentSchema:i,data:a,it:r}=t;r.opts.removeAdditional==="all"&&i.additionalProperties===void 0&&zT.default.code(new xF.KeywordCxt(r,zT.default,"additionalProperties"));let s=(0,RT.allSchemaProperties)(n);for(let p of s)r.definedProperties.add(p);r.opts.unevaluated&&s.length&&r.props!==!0&&(r.props=aw.mergeEvaluated.props(e,(0,aw.toHash)(s),r.props));let o=s.filter(p=>!(0,aw.alwaysValidSchema)(r,n[p]));if(o.length===0)return;let l=e.name("valid");for(let p of o)u(p)?c(p):(e.if((0,RT.propertyInData)(e,a,p,r.opts.ownProperties)),c(p),r.allErrors||e.else().var(l,!0),e.endIf()),t.it.definedProperties.add(p),t.ok(l);function u(p){return r.opts.useDefaults&&!r.compositeRule&&n[p].default!==void 0}function c(p){t.subschema({keyword:"properties",schemaProp:p,dataProp:p},l)}}};rw.default=TF});var UT=v(sw=>{"use strict";Object.defineProperty(sw,"__esModule",{value:!0});var GT=Ci(),Ec=le(),$T=ye(),NT=ye(),MF={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:e,schema:n,data:i,parentSchema:a,it:r}=t,{opts:s}=r,o=(0,GT.allSchemaProperties)(n),l=o.filter(m=>(0,$T.alwaysValidSchema)(r,n[m]));if(o.length===0||l.length===o.length&&(!r.opts.unevaluated||r.props===!0))return;let u=s.strictSchema&&!s.allowMatchingProperties&&a.properties,c=e.name("valid");r.props!==!0&&!(r.props instanceof Ec.Name)&&(r.props=(0,NT.evaluatedPropsToName)(e,r.props));let{props:p}=r;h();function h(){for(let m of o)u&&d(m),r.allErrors?g(m):(e.var(c,!0),g(m),e.if(c))}function d(m){for(let f in u)new RegExp(m).test(f)&&(0,$T.checkStrictMode)(r,`property ${f} matches pattern ${m} (use allowMatchingProperties)`)}function g(m){e.forIn("key",i,f=>{e.if((0,Ec._)`${(0,GT.usePattern)(t,m)}.test(${f})`,()=>{let w=l.includes(m);w||t.subschema({keyword:"patternProperties",schemaProp:m,dataProp:f,dataPropType:NT.Type.Str},c),r.opts.unevaluated&&p!==!0?e.assign((0,Ec._)`${p}[${f}]`,!0):!w&&!r.allErrors&&e.if((0,Ec.not)(c),()=>e.break())})})}}};sw.default=MF});var LT=v(ow=>{"use strict";Object.defineProperty(ow,"__esModule",{value:!0});var EF=ye(),kF={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:e,schema:n,it:i}=t;if((0,EF.alwaysValidSchema)(i,n)){t.fail();return}let a=e.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},a),t.failResult(a,()=>t.reset(),()=>t.error())},error:{message:"must NOT be valid"}};ow.default=kF});var WT=v(lw=>{"use strict";Object.defineProperty(lw,"__esModule",{value:!0});var qF=Ci(),_F={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:qF.validateUnion,error:{message:"must match a schema in anyOf"}};lw.default=_F});var BT=v(uw=>{"use strict";Object.defineProperty(uw,"__esModule",{value:!0});var kc=le(),HF=ye(),IF={message:"must match exactly one schema in oneOf",params:({params:t})=>(0,kc._)`{passingSchemas: ${t.passing}}`},RF={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:IF,code(t){let{gen:e,schema:n,parentSchema:i,it:a}=t;if(!Array.isArray(n))throw new Error("ajv implementation error");if(a.opts.discriminator&&i.discriminator)return;let r=n,s=e.let("valid",!1),o=e.let("passing",null),l=e.name("_valid");t.setParams({passing:o}),e.block(u),t.result(s,()=>t.reset(),()=>t.error(!0));function u(){r.forEach((c,p)=>{let h;(0,HF.alwaysValidSchema)(a,c)?e.var(l,!0):h=t.subschema({keyword:"oneOf",schemaProp:p,compositeRule:!0},l),p>0&&e.if((0,kc._)`${l} && ${s}`).assign(s,!1).assign(o,(0,kc._)`[${o}, ${p}]`).else(),e.if(l,()=>{e.assign(s,!0),e.assign(o,p),h&&t.mergeEvaluated(h,kc.Name)})})}}};uw.default=RF});var FT=v(cw=>{"use strict";Object.defineProperty(cw,"__esModule",{value:!0});var zF=ye(),DF={keyword:"allOf",schemaType:"array",code(t){let{gen:e,schema:n,it:i}=t;if(!Array.isArray(n))throw new Error("ajv implementation error");let a=e.name("valid");n.forEach((r,s)=>{if((0,zF.alwaysValidSchema)(i,r))return;let o=t.subschema({keyword:"allOf",schemaProp:s},a);t.ok(a),t.mergeEvaluated(o)})}};cw.default=DF});var ZT=v(pw=>{"use strict";Object.defineProperty(pw,"__esModule",{value:!0});var qc=le(),JT=ye(),GF={message:({params:t})=>(0,qc.str)`must match "${t.ifClause}" schema`,params:({params:t})=>(0,qc._)`{failingKeyword: ${t.ifClause}}`},$F={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:GF,code(t){let{gen:e,parentSchema:n,it:i}=t;n.then===void 0&&n.else===void 0&&(0,JT.checkStrictMode)(i,'"if" without "then" and "else" is ignored');let a=VT(i,"then"),r=VT(i,"else");if(!a&&!r)return;let s=e.let("valid",!0),o=e.name("_valid");if(l(),t.reset(),a&&r){let c=e.let("ifClause");t.setParams({ifClause:c}),e.if(o,u("then",c),u("else",c))}else a?e.if(o,u("then")):e.if((0,qc.not)(o),u("else"));t.pass(s,()=>t.error(!0));function l(){let c=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},o);t.mergeEvaluated(c)}function u(c,p){return()=>{let h=t.subschema({keyword:c},o);e.assign(s,o),t.mergeValidEvaluated(h,s),p?e.assign(p,(0,qc._)`${c}`):t.setParams({ifClause:c})}}}};function VT(t,e){let n=t.schema[e];return n!==void 0&&!(0,JT.alwaysValidSchema)(t,n)}pw.default=$F});var KT=v(dw=>{"use strict";Object.defineProperty(dw,"__esModule",{value:!0});var NF=ye(),UF={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:e,it:n}){e.if===void 0&&(0,NF.checkStrictMode)(n,`"${t}" without "if" is ignored`)}};dw.default=UF});var QT=v(hw=>{"use strict";Object.defineProperty(hw,"__esModule",{value:!0});var LF=Zf(),WF=xT(),BF=Kf(),FF=MT(),VF=ET(),JF=_T(),ZF=IT(),KF=tw(),QF=DT(),YF=UT(),XF=LT(),eV=WT(),nV=BT(),iV=FT(),tV=ZT(),aV=KT();function rV(t=!1){let e=[XF.default,eV.default,nV.default,iV.default,tV.default,aV.default,ZF.default,KF.default,JF.default,QF.default,YF.default];return t?e.push(WF.default,FF.default):e.push(LF.default,BF.default),e.push(VF.default),e}hw.default=rV});var YT=v(gw=>{"use strict";Object.defineProperty(gw,"__esModule",{value:!0});var rn=le(),sV={message:({schemaCode:t})=>(0,rn.str)`must match format "${t}"`,params:({schemaCode:t})=>(0,rn._)`{format: ${t}}`},oV={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:sV,code(t,e){let{gen:n,data:i,$data:a,schema:r,schemaCode:s,it:o}=t,{opts:l,errSchemaPath:u,schemaEnv:c,self:p}=o;if(!l.validateFormats)return;a?h():d();function h(){let g=n.scopeValue("formats",{ref:p.formats,code:l.code.formats}),m=n.const("fDef",(0,rn._)`${g}[${s}]`),f=n.let("fType"),w=n.let("format");n.if((0,rn._)`typeof ${m} == "object" && !(${m} instanceof RegExp)`,()=>n.assign(f,(0,rn._)`${m}.type || "string"`).assign(w,(0,rn._)`${m}.validate`),()=>n.assign(f,(0,rn._)`"string"`).assign(w,m)),t.fail$data((0,rn.or)(b(),A()));function b(){return l.strictSchema===!1?rn.nil:(0,rn._)`${s} && !${w}`}function A(){let y=c.$async?(0,rn._)`(${m}.async ? await ${w}(${i}) : ${w}(${i}))`:(0,rn._)`${w}(${i})`,S=(0,rn._)`(typeof ${w} == "function" ? ${y} : ${w}.test(${i}))`;return(0,rn._)`${w} && ${w} !== true && ${f} === ${e} && !${S}`}}function d(){let g=p.formats[r];if(!g){b();return}if(g===!0)return;let[m,f,w]=A(g);m===e&&t.pass(y());function b(){if(l.strictSchema===!1){p.logger.warn(S());return}throw new Error(S());function S(){return`unknown format "${r}" ignored in schema at path "${u}"`}}function A(S){let q=S instanceof RegExp?(0,rn.regexpCode)(S):l.code.formats?(0,rn._)`${l.code.formats}${(0,rn.getProperty)(r)}`:void 0,N=n.scopeValue("formats",{key:r,ref:S,code:q});return typeof S=="object"&&!(S instanceof RegExp)?[S.type||"string",S.validate,(0,rn._)`${N}.validate`]:["string",S,N]}function y(){if(typeof g=="object"&&!(g instanceof RegExp)&&g.async){if(!c.$async)throw new Error("async format in sync schema");return(0,rn._)`await ${w}(${i})`}return typeof f=="function"?(0,rn._)`${w}(${i})`:(0,rn._)`${w}.test(${i})`}}}};gw.default=oV});var XT=v(mw=>{"use strict";Object.defineProperty(mw,"__esModule",{value:!0});var lV=YT(),uV=[lV.default];mw.default=uV});var eM=v(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.contentVocabulary=Vr.metadataVocabulary=void 0;Vr.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Vr.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var iM=v(fw=>{"use strict";Object.defineProperty(fw,"__esModule",{value:!0});var cV=uT(),pV=PT(),dV=QT(),hV=XT(),nM=eM(),gV=[cV.default,pV.default,(0,dV.default)(),hV.default,nM.metadataVocabulary,nM.contentVocabulary];fw.default=gV});var aM=v(_c=>{"use strict";Object.defineProperty(_c,"__esModule",{value:!0});_c.DiscrError=void 0;var tM;(function(t){t.Tag="tag",t.Mapping="mapping"})(tM||(_c.DiscrError=tM={}))});var sM=v(vw=>{"use strict";Object.defineProperty(vw,"__esModule",{value:!0});var Jr=le(),ww=aM(),rM=gc(),mV=Mo(),fV=ye(),wV={message:({params:{discrError:t,tagName:e}})=>t===ww.DiscrError.Tag?`tag "${e}" must be string`:`value of tag "${e}" must be in oneOf`,params:({params:{discrError:t,tag:e,tagName:n}})=>(0,Jr._)`{error: ${t}, tag: ${n}, tagValue: ${e}}`},vV={keyword:"discriminator",type:"object",schemaType:"object",error:wV,code(t){let{gen:e,data:n,schema:i,parentSchema:a,it:r}=t,{oneOf:s}=a;if(!r.opts.discriminator)throw new Error("discriminator: requires discriminator option");let o=i.propertyName;if(typeof o!="string")throw new Error("discriminator: requires propertyName");if(i.mapping)throw new Error("discriminator: mapping is not supported");if(!s)throw new Error("discriminator: requires oneOf keyword");let l=e.let("valid",!1),u=e.const("tag",(0,Jr._)`${n}${(0,Jr.getProperty)(o)}`);e.if((0,Jr._)`typeof ${u} == "string"`,()=>c(),()=>t.error(!1,{discrError:ww.DiscrError.Tag,tag:u,tagName:o})),t.ok(l);function c(){let d=h();e.if(!1);for(let g in d)e.elseIf((0,Jr._)`${u} === ${g}`),e.assign(l,p(d[g]));e.else(),t.error(!1,{discrError:ww.DiscrError.Mapping,tag:u,tagName:o}),e.endIf()}function p(d){let g=e.name("valid"),m=t.subschema({keyword:"oneOf",schemaProp:d},g);return t.mergeEvaluated(m,Jr.Name),g}function h(){var d;let g={},m=w(a),f=!0;for(let y=0;y{CV.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var Aw=v((Ue,Cw)=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.MissingRefError=Ue.ValidationError=Ue.CodeGen=Ue.Name=Ue.nil=Ue.stringify=Ue.str=Ue._=Ue.KeywordCxt=Ue.Ajv=void 0;var AV=tT(),bV=iM(),yV=sM(),lM=oM(),PV=["/properties"],Hc="http://json-schema.org/draft-07/schema",Zr=class extends AV.default{_addVocabularies(){super._addVocabularies(),bV.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(yV.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let e=this.opts.$data?this.$dataMetaSchema(lM,PV):lM;this.addMetaSchema(e,Hc,!1),this.refs["http://json-schema.org/schema"]=Hc}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Hc)?Hc:void 0)}};Ue.Ajv=Zr;Cw.exports=Ue=Zr;Cw.exports.Ajv=Zr;Object.defineProperty(Ue,"__esModule",{value:!0});Ue.default=Zr;var jV=To();Object.defineProperty(Ue,"KeywordCxt",{enumerable:!0,get:function(){return jV.KeywordCxt}});var Kr=le();Object.defineProperty(Ue,"_",{enumerable:!0,get:function(){return Kr._}});Object.defineProperty(Ue,"str",{enumerable:!0,get:function(){return Kr.str}});Object.defineProperty(Ue,"stringify",{enumerable:!0,get:function(){return Kr.stringify}});Object.defineProperty(Ue,"nil",{enumerable:!0,get:function(){return Kr.nil}});Object.defineProperty(Ue,"Name",{enumerable:!0,get:function(){return Kr.Name}});Object.defineProperty(Ue,"CodeGen",{enumerable:!0,get:function(){return Kr.CodeGen}});var SV=dc();Object.defineProperty(Ue,"ValidationError",{enumerable:!0,get:function(){return SV.default}});var OV=Mo();Object.defineProperty(Ue,"MissingRefError",{enumerable:!0,get:function(){return OV.default}})});var fM=v(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});Zi.formatNames=Zi.fastFormats=Zi.fullFormats=void 0;function Ji(t,e){return{validate:t,compare:e}}Zi.fullFormats={date:Ji(dM,jw),time:Ji(yw(!0),Sw),"date-time":Ji(uM(!0),gM),"iso-time":Ji(yw(),hM),"iso-date-time":Ji(uM(),mM),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:qV,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:GV,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:_V,int32:{type:"number",validate:RV},int64:{type:"number",validate:zV},float:{type:"number",validate:pM},double:{type:"number",validate:pM},password:!0,binary:!0};Zi.fastFormats={...Zi.fullFormats,date:Ji(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,jw),time:Ji(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,Sw),"date-time":Ji(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,gM),"iso-time":Ji(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,hM),"iso-date-time":Ji(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,mM),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i};Zi.formatNames=Object.keys(Zi.fullFormats);function xV(t){return t%4===0&&(t%100!==0||t%400===0)}var TV=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,MV=[0,31,28,31,30,31,30,31,31,30,31,30,31];function dM(t){let e=TV.exec(t);if(!e)return!1;let n=+e[1],i=+e[2],a=+e[3];return i>=1&&i<=12&&a>=1&&a<=(i===2&&xV(n)?29:MV[i])}function jw(t,e){if(t&&e)return t>e?1:t23||c>59||t&&!o)return!1;if(a<=23&&r<=59&&s<60)return!0;let p=r-c*l,h=a-u*l-(p<0?1:0);return(h===23||h===-1)&&(p===59||p===-1)&&s<61}}function Sw(t,e){if(!(t&&e))return;let n=new Date("2020-01-01T"+t).valueOf(),i=new Date("2020-01-01T"+e).valueOf();if(n&&i)return n-i}function hM(t,e){if(!(t&&e))return;let n=bw.exec(t),i=bw.exec(e);if(n&&i)return t=n[1]+n[2]+n[3],e=i[1]+i[2]+i[3],t>e?1:t=HV}function zV(t){return Number.isInteger(t)}function pM(){return!0}var DV=/[^\\]\\Z/;function GV(t){if(DV.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var wM=v(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.formatLimitDefinition=void 0;var $V=Aw(),Hi=le(),Bt=Hi.operators,Ic={formatMaximum:{okStr:"<=",ok:Bt.LTE,fail:Bt.GT},formatMinimum:{okStr:">=",ok:Bt.GTE,fail:Bt.LT},formatExclusiveMaximum:{okStr:"<",ok:Bt.LT,fail:Bt.GTE},formatExclusiveMinimum:{okStr:">",ok:Bt.GT,fail:Bt.LTE}},NV={message:({keyword:t,schemaCode:e})=>(0,Hi.str)`should be ${Ic[t].okStr} ${e}`,params:({keyword:t,schemaCode:e})=>(0,Hi._)`{comparison: ${Ic[t].okStr}, limit: ${e}}`};Qr.formatLimitDefinition={keyword:Object.keys(Ic),type:"string",schemaType:"string",$data:!0,error:NV,code(t){let{gen:e,data:n,schemaCode:i,keyword:a,it:r}=t,{opts:s,self:o}=r;if(!s.validateFormats)return;let l=new $V.KeywordCxt(r,o.RULES.all.format.definition,"format");l.$data?u():c();function u(){let h=e.scopeValue("formats",{ref:o.formats,code:s.code.formats}),d=e.const("fmt",(0,Hi._)`${h}[${l.schemaCode}]`);t.fail$data((0,Hi.or)((0,Hi._)`typeof ${d} != "object"`,(0,Hi._)`${d} instanceof RegExp`,(0,Hi._)`typeof ${d}.compare != "function"`,p(d)))}function c(){let h=l.schema,d=o.formats[h];if(!d||d===!0)return;if(typeof d!="object"||d instanceof RegExp||typeof d.compare!="function")throw new Error(`"${a}": format "${h}" does not define "compare" function`);let g=e.scopeValue("formats",{key:h,ref:d,code:s.code.formats?(0,Hi._)`${s.code.formats}${(0,Hi.getProperty)(h)}`:void 0});t.fail$data(p(g))}function p(h){return(0,Hi._)`${h}.compare(${n}, ${i}) ${Ic[a].fail} 0`}},dependencies:["format"]};var UV=t=>(t.addKeyword(Qr.formatLimitDefinition),t);Qr.default=UV});var bM=v((Lo,AM)=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});var Yr=fM(),LV=wM(),Ow=le(),vM=new Ow.Name("fullFormats"),WV=new Ow.Name("fastFormats"),xw=(t,e={keywords:!0})=>{if(Array.isArray(e))return CM(t,e,Yr.fullFormats,vM),t;let[n,i]=e.mode==="fast"?[Yr.fastFormats,WV]:[Yr.fullFormats,vM],a=e.formats||Yr.formatNames;return CM(t,a,n,i),e.keywords&&(0,LV.default)(t),t};xw.get=(t,e="full")=>{let i=(e==="fast"?Yr.fastFormats:Yr.fullFormats)[t];if(!i)throw new Error(`Unknown format "${t}"`);return i};function CM(t,e,n,i){var a,r;(a=(r=t.opts.code).formats)!==null&&a!==void 0||(r.formats=(0,Ow._)`require("ajv-formats/dist/formats").${i}`);for(let s of e)t.addFormat(s,n[s])}AM.exports=Lo=xw;Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=xw});var RM=v((fle,IM)=>{var HM=require("stream").Stream,XV=require("util");IM.exports=Ii;function Ii(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}XV.inherits(Ii,HM);Ii.create=function(t,e){var n=new this;e=e||{};for(var i in e)n[i]=e[i];n.source=t;var a=t.emit;return t.emit=function(){return n._handleEmit(arguments),a.apply(t,arguments)},t.on("error",function(){}),n.pauseStream&&t.pause(),n};Object.defineProperty(Ii.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});Ii.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Ii.prototype.resume=function(){this._released||this.release(),this.source.resume()};Ii.prototype.pause=function(){this.source.pause()};Ii.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(t){this.emit.apply(this,t)}.bind(this)),this._bufferedEvents=[]};Ii.prototype.pipe=function(){var t=HM.prototype.pipe.apply(this,arguments);return this.resume(),t};Ii.prototype._handleEmit=function(t){if(this._released){this.emit.apply(this,t);return}t[0]==="data"&&(this.dataSize+=t[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(t)};Ii.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(t))}}});var $M=v((wle,GM)=>{var eJ=require("util"),DM=require("stream").Stream,zM=RM();GM.exports=en;function en(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}eJ.inherits(en,DM);en.create=function(t){var e=new this;t=t||{};for(var n in t)e[n]=t[n];return e};en.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer.isBuffer(t)};en.prototype.append=function(t){var e=en.isStreamLike(t);if(e){if(!(t instanceof zM)){var n=zM.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=n}this._handleErrors(t),this.pauseStreams&&t.pause()}return this._streams.push(t),this};en.prototype.pipe=function(t,e){return DM.prototype.pipe.call(this,t,e),this.resume(),t};en.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};en.prototype._realGetNext=function(){var t=this._streams.shift();if(typeof t>"u"){this.end();return}if(typeof t!="function"){this._pipeNext(t);return}var e=t;e(function(n){var i=en.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};en.prototype._pipeNext=function(t){this._currentStream=t;var e=en.isStreamLike(t);if(e){t.on("end",this._getNext.bind(this)),t.pipe(this,{end:!1});return}var n=t;this.write(n),this._getNext()};en.prototype._handleErrors=function(t){var e=this;t.on("error",function(n){e._emitError(n)})};en.prototype.write=function(t){this.emit("data",t)};en.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};en.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};en.prototype.end=function(){this._reset(),this.emit("end")};en.prototype.destroy=function(){this._reset(),this.emit("close")};en.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};en.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}};en.prototype._updateDataSize=function(){this.dataSize=0;var t=this;this._streams.forEach(function(e){e.dataSize&&(t.dataSize+=e.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};en.prototype._emitError=function(t){this._reset(),this.emit("error",t)}});var NM=v((vle,nJ)=>{nJ.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var LM=v((Cle,UM)=>{UM.exports=NM()});var FM=v(Xn=>{"use strict";var Lc=LM(),iJ=require("path").extname,WM=/^\s*([^;\s]*)(?:;|\s|$)/,tJ=/^text\//i;Xn.charset=BM;Xn.charsets={lookup:BM};Xn.contentType=aJ;Xn.extension=rJ;Xn.extensions=Object.create(null);Xn.lookup=sJ;Xn.types=Object.create(null);oJ(Xn.extensions,Xn.types);function BM(t){if(!t||typeof t!="string")return!1;var e=WM.exec(t),n=e&&Lc[e[1].toLowerCase()];return n&&n.charset?n.charset:e&&tJ.test(e[1])?"UTF-8":!1}function aJ(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")===-1?Xn.lookup(t):t;if(!e)return!1;if(e.indexOf("charset")===-1){var n=Xn.charset(e);n&&(e+="; charset="+n.toLowerCase())}return e}function rJ(t){if(!t||typeof t!="string")return!1;var e=WM.exec(t),n=e&&Xn.extensions[e[1].toLowerCase()];return!n||!n.length?!1:n[0]}function sJ(t){if(!t||typeof t!="string")return!1;var e=iJ("x."+t).toLowerCase().substr(1);return e&&Xn.types[e]||!1}function oJ(t,e){var n=["nginx","apache",void 0,"iana"];Object.keys(Lc).forEach(function(a){var r=Lc[a],s=r.extensions;if(!(!s||!s.length)){t[a]=s;for(var o=0;oc||u===c&&e[l].substr(0,12)==="application/"))continue}e[l]=a}}})}});var JM=v((ble,VM)=>{VM.exports=lJ;function lJ(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0)}});var qw=v((yle,KM)=>{var ZM=JM();KM.exports=uJ;function uJ(t){var e=!1;return ZM(function(){e=!0}),function(i,a){e?t(i,a):ZM(function(){t(i,a)})}}});var _w=v((Ple,QM)=>{QM.exports=cJ;function cJ(t){Object.keys(t.jobs).forEach(pJ.bind(t)),t.jobs={}}function pJ(t){typeof this.jobs[t]=="function"&&this.jobs[t]()}});var Hw=v((jle,XM)=>{var YM=qw(),dJ=_w();XM.exports=hJ;function hJ(t,e,n,i){var a=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[a]=gJ(e,a,t[a],function(r,s){a in n.jobs&&(delete n.jobs[a],r?dJ(n):n.results[a]=s,i(r,n.results))})}function gJ(t,e,n,i){var a;return t.length==2?a=t(n,YM(i)):a=t(n,e,YM(i)),a}});var Iw=v((Sle,eE)=>{eE.exports=mJ;function mJ(t,e){var n=!Array.isArray(t),i={index:0,keyedList:n||e?Object.keys(t):null,jobs:{},results:n?{}:[],size:n?Object.keys(t).length:t.length};return e&&i.keyedList.sort(n?e:function(a,r){return e(t[a],t[r])}),i}});var Rw=v((Ole,nE)=>{var fJ=_w(),wJ=qw();nE.exports=vJ;function vJ(t){Object.keys(this.jobs).length&&(this.index=this.size,fJ(this),wJ(t)(null,this.results))}});var tE=v((xle,iE)=>{var CJ=Hw(),AJ=Iw(),bJ=Rw();iE.exports=yJ;function yJ(t,e,n){for(var i=AJ(t);i.index<(i.keyedList||t).length;)CJ(t,e,i,function(a,r){if(a){n(a,r);return}if(Object.keys(i.jobs).length===0){n(null,i.results);return}}),i.index++;return bJ.bind(i,n)}});var zw=v((Tle,Wc)=>{var aE=Hw(),PJ=Iw(),jJ=Rw();Wc.exports=SJ;Wc.exports.ascending=rE;Wc.exports.descending=OJ;function SJ(t,e,n,i){var a=PJ(t,n);return aE(t,e,a,function r(s,o){if(s){i(s,o);return}if(a.index++,a.index<(a.keyedList||t).length){aE(t,e,a,r);return}i(null,a.results)}),jJ.bind(a,i)}function rE(t,e){return te?1:0}function OJ(t,e){return-1*rE(t,e)}});var oE=v((Mle,sE)=>{var xJ=zw();sE.exports=TJ;function TJ(t,e,n){return xJ(t,e,null,n)}});var uE=v((Ele,lE)=>{lE.exports={parallel:tE(),serial:oE(),serialOrdered:zw()}});var Dw=v((kle,cE)=>{"use strict";cE.exports=Object});var dE=v((qle,pE)=>{"use strict";pE.exports=Error});var gE=v((_le,hE)=>{"use strict";hE.exports=EvalError});var fE=v((Hle,mE)=>{"use strict";mE.exports=RangeError});var vE=v((Ile,wE)=>{"use strict";wE.exports=ReferenceError});var AE=v((Rle,CE)=>{"use strict";CE.exports=SyntaxError});var Vt=v((zle,bE)=>{"use strict";bE.exports=TypeError});var PE=v((Dle,yE)=>{"use strict";yE.exports=URIError});var SE=v((Gle,jE)=>{"use strict";jE.exports=Math.abs});var xE=v(($le,OE)=>{"use strict";OE.exports=Math.floor});var ME=v((Nle,TE)=>{"use strict";TE.exports=Math.max});var kE=v((Ule,EE)=>{"use strict";EE.exports=Math.min});var _E=v((Lle,qE)=>{"use strict";qE.exports=Math.pow});var IE=v((Wle,HE)=>{"use strict";HE.exports=Math.round});var zE=v((Ble,RE)=>{"use strict";RE.exports=Number.isNaN||function(e){return e!==e}});var GE=v((Fle,DE)=>{"use strict";var MJ=zE();DE.exports=function(e){return MJ(e)||e===0?e:e<0?-1:1}});var NE=v((Vle,$E)=>{"use strict";$E.exports=Object.getOwnPropertyDescriptor});var Gw=v((Jle,UE)=>{"use strict";var Bc=NE();if(Bc)try{Bc([],"length")}catch{Bc=null}UE.exports=Bc});var $w=v((Zle,LE)=>{"use strict";var Fc=Object.defineProperty||!1;if(Fc)try{Fc({},"a",{value:1})}catch{Fc=!1}LE.exports=Fc});var Nw=v((Kle,WE)=>{"use strict";WE.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var a=42;e[n]=a;for(var r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var s=Object.getOwnPropertySymbols(e);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,n);if(o.value!==a||o.enumerable!==!0)return!1}return!0}});var VE=v((Qle,FE)=>{"use strict";var BE=typeof Symbol<"u"&&Symbol,EJ=Nw();FE.exports=function(){return typeof BE!="function"||typeof Symbol!="function"||typeof BE("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:EJ()}});var Uw=v((Yle,JE)=>{"use strict";JE.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Lw=v((Xle,ZE)=>{"use strict";var kJ=Dw();ZE.exports=kJ.getPrototypeOf||null});var YE=v((eue,QE)=>{"use strict";var qJ="Function.prototype.bind called on incompatible ",_J=Object.prototype.toString,HJ=Math.max,IJ="[object Function]",KE=function(e,n){for(var i=[],a=0;a{"use strict";var DJ=YE();XE.exports=Function.prototype.bind||DJ});var Vc=v((iue,ek)=>{"use strict";ek.exports=Function.prototype.call});var Ww=v((tue,nk)=>{"use strict";nk.exports=Function.prototype.apply});var tk=v((aue,ik)=>{"use strict";ik.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var rk=v((rue,ak)=>{"use strict";var GJ=Bo(),$J=Ww(),NJ=Vc(),UJ=tk();ak.exports=UJ||GJ.call(NJ,$J)});var Bw=v((sue,sk)=>{"use strict";var LJ=Bo(),WJ=Vt(),BJ=Vc(),FJ=rk();sk.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new WJ("a function is required");return FJ(LJ,BJ,e)}});var dk=v((oue,pk)=>{"use strict";var VJ=Bw(),ok=Gw(),uk;try{uk=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var Fw=!!uk&&ok&&ok(Object.prototype,"__proto__"),ck=Object,lk=ck.getPrototypeOf;pk.exports=Fw&&typeof Fw.get=="function"?VJ([Fw.get]):typeof lk=="function"?function(e){return lk(e==null?e:ck(e))}:!1});var wk=v((lue,fk)=>{"use strict";var hk=Uw(),gk=Lw(),mk=dk();fk.exports=hk?function(e){return hk(e)}:gk?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return gk(e)}:mk?function(e){return mk(e)}:null});var Jc=v((uue,vk)=>{"use strict";var JJ=Function.prototype.call,ZJ=Object.prototype.hasOwnProperty,KJ=Bo();vk.exports=KJ.call(JJ,ZJ)});var Zo=v((cue,jk)=>{"use strict";var me,QJ=Dw(),YJ=dE(),XJ=gE(),e4=fE(),n4=vE(),is=AE(),ns=Vt(),i4=PE(),t4=SE(),a4=xE(),r4=ME(),s4=kE(),o4=_E(),l4=IE(),u4=GE(),yk=Function,Vw=function(t){try{return yk('"use strict"; return ('+t+").constructor;")()}catch{}},Fo=Gw(),c4=$w(),Jw=function(){throw new ns},p4=Fo?(function(){try{return arguments.callee,Jw}catch{try{return Fo(arguments,"callee").get}catch{return Jw}}})():Jw,Xr=VE()(),An=wk(),d4=Lw(),h4=Uw(),Pk=Ww(),Vo=Vc(),es={},g4=typeof Uint8Array>"u"||!An?me:An(Uint8Array),Na={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?me:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?me:ArrayBuffer,"%ArrayIteratorPrototype%":Xr&&An?An([][Symbol.iterator]()):me,"%AsyncFromSyncIteratorPrototype%":me,"%AsyncFunction%":es,"%AsyncGenerator%":es,"%AsyncGeneratorFunction%":es,"%AsyncIteratorPrototype%":es,"%Atomics%":typeof Atomics>"u"?me:Atomics,"%BigInt%":typeof BigInt>"u"?me:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?me:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?me:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?me:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":YJ,"%eval%":eval,"%EvalError%":XJ,"%Float16Array%":typeof Float16Array>"u"?me:Float16Array,"%Float32Array%":typeof Float32Array>"u"?me:Float32Array,"%Float64Array%":typeof Float64Array>"u"?me:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?me:FinalizationRegistry,"%Function%":yk,"%GeneratorFunction%":es,"%Int8Array%":typeof Int8Array>"u"?me:Int8Array,"%Int16Array%":typeof Int16Array>"u"?me:Int16Array,"%Int32Array%":typeof Int32Array>"u"?me:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Xr&&An?An(An([][Symbol.iterator]())):me,"%JSON%":typeof JSON=="object"?JSON:me,"%Map%":typeof Map>"u"?me:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Xr||!An?me:An(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":QJ,"%Object.getOwnPropertyDescriptor%":Fo,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?me:Promise,"%Proxy%":typeof Proxy>"u"?me:Proxy,"%RangeError%":e4,"%ReferenceError%":n4,"%Reflect%":typeof Reflect>"u"?me:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?me:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Xr||!An?me:An(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?me:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Xr&&An?An(""[Symbol.iterator]()):me,"%Symbol%":Xr?Symbol:me,"%SyntaxError%":is,"%ThrowTypeError%":p4,"%TypedArray%":g4,"%TypeError%":ns,"%Uint8Array%":typeof Uint8Array>"u"?me:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?me:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?me:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?me:Uint32Array,"%URIError%":i4,"%WeakMap%":typeof WeakMap>"u"?me:WeakMap,"%WeakRef%":typeof WeakRef>"u"?me:WeakRef,"%WeakSet%":typeof WeakSet>"u"?me:WeakSet,"%Function.prototype.call%":Vo,"%Function.prototype.apply%":Pk,"%Object.defineProperty%":c4,"%Object.getPrototypeOf%":d4,"%Math.abs%":t4,"%Math.floor%":a4,"%Math.max%":r4,"%Math.min%":s4,"%Math.pow%":o4,"%Math.round%":l4,"%Math.sign%":u4,"%Reflect.getPrototypeOf%":h4};if(An)try{null.error}catch(t){Ck=An(An(t)),Na["%Error.prototype%"]=Ck}var Ck,m4=function t(e){var n;if(e==="%AsyncFunction%")n=Vw("async function () {}");else if(e==="%GeneratorFunction%")n=Vw("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=Vw("async function* () {}");else if(e==="%AsyncGenerator%"){var i=t("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if(e==="%AsyncIteratorPrototype%"){var a=t("%AsyncGenerator%");a&&An&&(n=An(a.prototype))}return Na[e]=n,n},Ak={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Jo=Bo(),Zc=Jc(),f4=Jo.call(Vo,Array.prototype.concat),w4=Jo.call(Pk,Array.prototype.splice),bk=Jo.call(Vo,String.prototype.replace),Kc=Jo.call(Vo,String.prototype.slice),v4=Jo.call(Vo,RegExp.prototype.exec),C4=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A4=/\\(\\)?/g,b4=function(e){var n=Kc(e,0,1),i=Kc(e,-1);if(n==="%"&&i!=="%")throw new is("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&n!=="%")throw new is("invalid intrinsic syntax, expected opening `%`");var a=[];return bk(e,C4,function(r,s,o,l){a[a.length]=o?bk(l,A4,"$1"):s||r}),a},y4=function(e,n){var i=e,a;if(Zc(Ak,i)&&(a=Ak[i],i="%"+a[0]+"%"),Zc(Na,i)){var r=Na[i];if(r===es&&(r=m4(i)),typeof r>"u"&&!n)throw new ns("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:i,value:r}}throw new is("intrinsic "+e+" does not exist!")};jk.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new ns("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new ns('"allowMissing" argument must be a boolean');if(v4(/^%?[^%]*%?$/,e)===null)throw new is("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=b4(e),a=i.length>0?i[0]:"",r=y4("%"+a+"%",n),s=r.name,o=r.value,l=!1,u=r.alias;u&&(a=u[0],w4(i,f4([0,1],u)));for(var c=1,p=!0;c=i.length){var m=Fo(o,h);p=!!m,p&&"get"in m&&!("originalValue"in m.get)?o=m.get:o=o[h]}else p=Zc(o,h),o=o[h];p&&!l&&(Na[s]=o)}}return o}});var Ok=v((pue,Sk)=>{"use strict";var P4=Nw();Sk.exports=function(){return P4()&&!!Symbol.toStringTag}});var Mk=v((due,Tk)=>{"use strict";var j4=Zo(),xk=j4("%Object.defineProperty%",!0),S4=Ok()(),O4=Jc(),x4=Vt(),Qc=S4?Symbol.toStringTag:null;Tk.exports=function(e,n){var i=arguments.length>2&&!!arguments[2]&&arguments[2].force,a=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof i<"u"&&typeof i!="boolean"||typeof a<"u"&&typeof a!="boolean")throw new x4("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");Qc&&(i||!O4(e,Qc))&&(xk?xk(e,Qc,{configurable:!a,enumerable:!1,value:n,writable:!1}):e[Qc]=n)}});var kk=v((hue,Ek)=>{"use strict";Ek.exports=function(t,e){return Object.keys(e).forEach(function(n){t[n]=t[n]||e[n]}),t}});var Hk=v((gue,_k)=>{"use strict";var Yw=$M(),T4=require("util"),Zw=require("path"),M4=require("http"),E4=require("https"),k4=require("url").parse,q4=require("fs"),_4=require("stream").Stream,H4=require("crypto"),Kw=FM(),I4=uE(),R4=Mk(),Jt=Jc(),Qw=kk();function qk(t){return String(t).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function je(t){if(!(this instanceof je))return new je(t);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Yw.call(this),t=t||{};for(var e in t)this[e]=t[e]}T4.inherits(je,Yw);je.LINE_BREAK=`\r -`;je.DEFAULT_CONTENT_TYPE="application/octet-stream";je.prototype.append=function(t,e,n){n=n||{},typeof n=="string"&&(n={filename:n});var i=Yw.prototype.append.bind(this);if((typeof e=="number"||e==null)&&(e=String(e)),Array.isArray(e)){this._error(new Error("Arrays are not supported."));return}var a=this._multiPartHeader(t,e,n),r=this._multiPartFooter();i(a),i(e),i(r),this._trackLength(a,e,n)};je.prototype._trackLength=function(t,e,n){var i=0;n.knownLength!=null?i+=Number(n.knownLength):Buffer.isBuffer(e)?i=e.length:typeof e=="string"&&(i=Buffer.byteLength(e)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(t)+je.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&Jt(e,"httpVersion"))&&!(e instanceof _4))&&(n.knownLength||this._valuesToMeasure.push(e))};je.prototype._lengthRetriever=function(t,e){Jt(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):q4.stat(t.path,function(n,i){if(n){e(n);return}var a=i.size-(t.start?t.start:0);e(null,a)}):Jt(t,"httpVersion")?e(null,Number(t.headers["content-length"])):Jt(t,"httpModule")?(t.on("response",function(n){t.pause(),e(null,Number(n.headers["content-length"]))}),t.resume()):e("Unknown stream")};je.prototype._multiPartHeader=function(t,e,n){if(typeof n.header=="string")return n.header;var i=this._getContentDisposition(e,n),a=this._getContentType(e,n),r="",s={"Content-Disposition":["form-data",'name="'+qk(t)+'"'].concat(i||[]),"Content-Type":[].concat(a||[])};typeof n.header=="object"&&Qw(s,n.header);var o;for(var l in s)if(Jt(s,l)){if(o=s[l],o==null)continue;Array.isArray(o)||(o=[o]),o.length&&(r+=l+": "+o.join("; ")+je.LINE_BREAK)}return"--"+this.getBoundary()+je.LINE_BREAK+r+je.LINE_BREAK};je.prototype._getContentDisposition=function(t,e){var n;if(typeof e.filepath=="string"?n=Zw.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?n=Zw.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&Jt(t,"httpVersion")&&(n=Zw.basename(t.client._httpMessage.path||"")),n)return'filename="'+qk(n)+'"'};je.prototype._getContentType=function(t,e){var n=e.contentType;return!n&&t&&t.name&&(n=Kw.lookup(t.name)),!n&&t&&t.path&&(n=Kw.lookup(t.path)),!n&&t&&t.readable&&Jt(t,"httpVersion")&&(n=t.headers["content-type"]),!n&&(e.filepath||e.filename)&&(n=Kw.lookup(e.filepath||e.filename)),!n&&t&&typeof t=="object"&&(n=je.DEFAULT_CONTENT_TYPE),n};je.prototype._multiPartFooter=function(){return function(t){var e=je.LINE_BREAK,n=this._streams.length===0;n&&(e+=this._lastBoundary()),t(e)}.bind(this)};je.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+je.LINE_BREAK};je.prototype.getHeaders=function(t){var e,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)Jt(t,e)&&(n[e.toLowerCase()]=t[e]);return n};je.prototype.setBoundary=function(t){if(typeof t!="string")throw new TypeError("FormData boundary must be a string");this._boundary=t};je.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};je.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),n=0,i=this._streams.length;n{var ts=1e3,as=ts*60,rs=as*60,Ua=rs*24,z4=Ua*7,D4=Ua*365.25;Ik.exports=function(t,e){e=e||{};var n=typeof t;if(n==="string"&&t.length>0)return G4(t);if(n==="number"&&isFinite(t))return e.long?N4(t):$4(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function G4(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]),i=(e[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return n*D4;case"weeks":case"week":case"w":return n*z4;case"days":case"day":case"d":return n*Ua;case"hours":case"hour":case"hrs":case"hr":case"h":return n*rs;case"minutes":case"minute":case"mins":case"min":case"m":return n*as;case"seconds":case"second":case"secs":case"sec":case"s":return n*ts;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function $4(t){var e=Math.abs(t);return e>=Ua?Math.round(t/Ua)+"d":e>=rs?Math.round(t/rs)+"h":e>=as?Math.round(t/as)+"m":e>=ts?Math.round(t/ts)+"s":t+"ms"}function N4(t){var e=Math.abs(t);return e>=Ua?Yc(t,e,Ua,"day"):e>=rs?Yc(t,e,rs,"hour"):e>=as?Yc(t,e,as,"minute"):e>=ts?Yc(t,e,ts,"second"):t+" ms"}function Yc(t,e,n,i){var a=e>=n*1.5;return Math.round(t/n)+" "+i+(a?"s":"")}});var ev=v((fue,Rk)=>{function U4(t){n.debug=n,n.default=n,n.coerce=l,n.disable=s,n.enable=a,n.enabled=o,n.humanize=Xw(),n.destroy=u,Object.keys(t).forEach(c=>{n[c]=t[c]}),n.names=[],n.skips=[],n.formatters={};function e(c){let p=0;for(let h=0;h{if(q==="%%")return"%";y++;let X=n.formatters[N];if(typeof X=="function"){let W=f[y];q=X.call(w,W),f.splice(y,1),y--}return q}),n.formatArgs.call(w,f),(w.log||n.log).apply(w,f)}return m.namespace=c,m.useColors=n.useColors(),m.color=n.selectColor(c),m.extend=i,m.destroy=n.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(d!==n.namespaces&&(d=n.namespaces,g=n.enabled(c)),g),set:f=>{h=f}}),typeof n.init=="function"&&n.init(m),m}function i(c,p){let h=n(this.namespace+(typeof p>"u"?":":p)+c);return h.log=this.log,h}function a(c){n.save(c),n.namespaces=c,n.names=[],n.skips=[];let p=(typeof c=="string"?c:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let h of p)h[0]==="-"?n.skips.push(h.slice(1)):n.names.push(h)}function r(c,p){let h=0,d=0,g=-1,m=0;for(;h"-"+p)].join(",");return n.enable(""),c}function o(c){for(let p of n.skips)if(r(c,p))return!1;for(let p of n.names)if(r(c,p))return!0;return!1}function l(c){return c instanceof Error?c.stack||c.message:c}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}Rk.exports=U4});var zk=v((ei,Xc)=>{ei.formatArgs=W4;ei.save=B4;ei.load=F4;ei.useColors=L4;ei.storage=V4();ei.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();ei.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function L4(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function W4(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Xc.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,a=>{a!=="%%"&&(n++,a==="%c"&&(i=n))}),t.splice(i,0,e)}ei.log=console.debug||console.log||(()=>{});function B4(t){try{t?ei.storage.setItem("debug",t):ei.storage.removeItem("debug")}catch{}}function F4(){let t;try{t=ei.storage.getItem("debug")||ei.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function V4(){try{return localStorage}catch{}}Xc.exports=ev()(ei);var{formatters:J4}=Xc.exports;J4.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Gk=v((bn,np)=>{var Z4=require("tty"),ep=require("util");bn.init=i3;bn.log=X4;bn.formatArgs=Q4;bn.save=e3;bn.load=n3;bn.useColors=K4;bn.destroy=ep.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");bn.colors=[6,2,3,4,5,1];try{let t=require("supports-color");t&&(t.stderr||t).level>=2&&(bn.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}bn.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let n=e.substring(6).toLowerCase().replace(/_([a-z])/g,(a,r)=>r.toUpperCase()),i=process.env[e];return/^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),t[n]=i,t},{});function K4(){return"colors"in bn.inspectOpts?!!bn.inspectOpts.colors:Z4.isatty(process.stderr.fd)}function Q4(t){let{namespace:e,useColors:n}=this;if(n){let i=this.color,a="\x1B[3"+(i<8?i:"8;5;"+i),r=` ${a};1m${e} \x1B[0m`;t[0]=r+t[0].split(` + deps: ${i}}`};var PL={keyword:"dependencies",type:"object",schemaType:"object",error:Bn.error,code(t){let[e,i]=jL(t);TT(t,e),xT(t,i)}};function jL({schema:t}){let e={},i={};for(let n in t){if(n==="__proto__")continue;let a=Array.isArray(t[n])?e:i;a[n]=t[n]}return[e,i]}function TT(t,e=t.schema){let{gen:i,data:n,it:a}=t;if(Object.keys(e).length===0)return;let r=i.let("missing");for(let s in e){let o=e[s];if(o.length===0)continue;let l=(0,So.propertyInData)(i,n,s,a.opts.ownProperties);t.setParams({property:s,depsCount:o.length,deps:o.join(", ")}),a.allErrors?i.if(l,()=>{for(let u of o)(0,So.checkReportMissingProp)(t,u)}):(i.if((0,vf._)`${l} && (${(0,So.checkMissingProp)(t,o,r)})`),(0,So.reportMissingProp)(t,r),i.else())}}Bn.validatePropertyDeps=TT;function xT(t,e=t.schema){let{gen:i,data:n,keyword:a,it:r}=t,s=i.name("valid");for(let o in e)(0,yL.alwaysValidSchema)(r,e[o])||(i.if((0,So.propertyInData)(i,n,o,r.opts.ownProperties),()=>{let l=t.subschema({keyword:a,schemaProp:o},s);t.mergeValidEvaluated(l,s)},()=>i.var(s,!0)),t.ok(s))}Bn.validateSchemaDeps=xT;Bn.default=PL});var kT=v(Cf=>{"use strict";Object.defineProperty(Cf,"__esModule",{value:!0});var ET=re(),SL=Ae(),OL={message:"property name must be valid",params:({params:t})=>(0,ET._)`{propertyName: ${t.propertyName}}`},TL={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:OL,code(t){let{gen:e,schema:i,data:n,it:a}=t;if((0,SL.alwaysValidSchema)(a,i))return;let r=e.name("valid");e.forIn("key",n,s=>{t.setParams({propertyName:s}),t.subschema({keyword:"propertyNames",data:s,dataTypes:["string"],propertyName:s,compositeRule:!0},r),e.if((0,ET.not)(r),()=>{t.error(!0),a.allErrors||e.break()})}),t.ok(r)}};Cf.default=TL});var bf=v(Af=>{"use strict";Object.defineProperty(Af,"__esModule",{value:!0});var nc=wn(),kn=re(),xL=pt(),tc=Ae(),ML={message:"must NOT have additional properties",params:({params:t})=>(0,kn._)`{additionalProperty: ${t.additionalProperty}}`},EL={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:ML,code(t){let{gen:e,schema:i,parentSchema:n,data:a,errsCount:r,it:s}=t;if(!r)throw new Error("ajv implementation error");let{allErrors:o,opts:l}=s;if(s.props=!0,l.removeAdditional!=="all"&&(0,tc.alwaysValidSchema)(s,i))return;let u=(0,nc.allSchemaProperties)(n.properties),c=(0,nc.allSchemaProperties)(n.patternProperties);p(),t.ok((0,kn._)`${r} === ${xL.default.errors}`);function p(){e.forIn("key",a,f=>{!u.length&&!c.length?g(f):e.if(d(f),()=>g(f))})}function d(f){let w;if(u.length>8){let b=(0,tc.schemaRefOrVal)(s,n.properties,"properties");w=(0,nc.isOwnProperty)(e,b,f)}else u.length?w=(0,kn.or)(...u.map(b=>(0,kn._)`${f} === ${b}`)):w=kn.nil;return c.length&&(w=(0,kn.or)(w,...c.map(b=>(0,kn._)`${(0,nc.usePattern)(t,b)}.test(${f})`))),(0,kn.not)(w)}function h(f){e.code((0,kn._)`delete ${a}[${f}]`)}function g(f){if(l.removeAdditional==="all"||l.removeAdditional&&i===!1){h(f);return}if(i===!1){t.setParams({additionalProperty:f}),t.error(),o||e.break();return}if(typeof i=="object"&&!(0,tc.alwaysValidSchema)(s,i)){let w=e.name("valid");l.removeAdditional==="failing"?(m(f,w,!1),e.if((0,kn.not)(w),()=>{t.reset(),h(f)})):(m(f,w),o||e.if((0,kn.not)(w),()=>e.break()))}}function m(f,w,b){let A={keyword:"additionalProperties",dataProp:f,dataPropType:tc.Type.Str};b===!1&&Object.assign(A,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(A,w)}}};Af.default=EL});var HT=v(Pf=>{"use strict";Object.defineProperty(Pf,"__esModule",{value:!0});var kL=co(),qT=wn(),yf=Ae(),_T=bf(),qL={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:e,schema:i,parentSchema:n,data:a,it:r}=t;r.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&_T.default.code(new kL.KeywordCxt(r,_T.default,"additionalProperties"));let s=(0,qT.allSchemaProperties)(i);for(let p of s)r.definedProperties.add(p);r.opts.unevaluated&&s.length&&r.props!==!0&&(r.props=yf.mergeEvaluated.props(e,(0,yf.toHash)(s),r.props));let o=s.filter(p=>!(0,yf.alwaysValidSchema)(r,i[p]));if(o.length===0)return;let l=e.name("valid");for(let p of o)u(p)?c(p):(e.if((0,qT.propertyInData)(e,a,p,r.opts.ownProperties)),c(p),r.allErrors||e.else().var(l,!0),e.endIf()),t.it.definedProperties.add(p),t.ok(l);function u(p){return r.opts.useDefaults&&!r.compositeRule&&i[p].default!==void 0}function c(p){t.subschema({keyword:"properties",schemaProp:p,dataProp:p},l)}}};Pf.default=qL});var DT=v(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});var IT=wn(),ac=re(),RT=Ae(),zT=Ae(),_L={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:e,schema:i,data:n,parentSchema:a,it:r}=t,{opts:s}=r,o=(0,IT.allSchemaProperties)(i),l=o.filter(m=>(0,RT.alwaysValidSchema)(r,i[m]));if(o.length===0||l.length===o.length&&(!r.opts.unevaluated||r.props===!0))return;let u=s.strictSchema&&!s.allowMatchingProperties&&a.properties,c=e.name("valid");r.props!==!0&&!(r.props instanceof ac.Name)&&(r.props=(0,zT.evaluatedPropsToName)(e,r.props));let{props:p}=r;d();function d(){for(let m of o)u&&h(m),r.allErrors?g(m):(e.var(c,!0),g(m),e.if(c))}function h(m){for(let f in u)new RegExp(m).test(f)&&(0,RT.checkStrictMode)(r,`property ${f} matches pattern ${m} (use allowMatchingProperties)`)}function g(m){e.forIn("key",n,f=>{e.if((0,ac._)`${(0,IT.usePattern)(t,m)}.test(${f})`,()=>{let w=l.includes(m);w||t.subschema({keyword:"patternProperties",schemaProp:m,dataProp:f,dataPropType:zT.Type.Str},c),r.opts.unevaluated&&p!==!0?e.assign((0,ac._)`${p}[${f}]`,!0):!w&&!r.allErrors&&e.if((0,ac.not)(c),()=>e.break())})})}}};jf.default=_L});var GT=v(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});var HL=Ae(),IL={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:e,schema:i,it:n}=t;if((0,HL.alwaysValidSchema)(n,i)){t.fail();return}let a=e.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},a),t.failResult(a,()=>t.reset(),()=>t.error())},error:{message:"must NOT be valid"}};Sf.default=IL});var $T=v(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});var RL=wn(),zL={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:RL.validateUnion,error:{message:"must match a schema in anyOf"}};Of.default=zL});var NT=v(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});var rc=re(),DL=Ae(),GL={message:"must match exactly one schema in oneOf",params:({params:t})=>(0,rc._)`{passingSchemas: ${t.passing}}`},$L={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:GL,code(t){let{gen:e,schema:i,parentSchema:n,it:a}=t;if(!Array.isArray(i))throw new Error("ajv implementation error");if(a.opts.discriminator&&n.discriminator)return;let r=i,s=e.let("valid",!1),o=e.let("passing",null),l=e.name("_valid");t.setParams({passing:o}),e.block(u),t.result(s,()=>t.reset(),()=>t.error(!0));function u(){r.forEach((c,p)=>{let d;(0,DL.alwaysValidSchema)(a,c)?e.var(l,!0):d=t.subschema({keyword:"oneOf",schemaProp:p,compositeRule:!0},l),p>0&&e.if((0,rc._)`${l} && ${s}`).assign(s,!1).assign(o,(0,rc._)`[${o}, ${p}]`).else(),e.if(l,()=>{e.assign(s,!0),e.assign(o,p),d&&t.mergeEvaluated(d,rc.Name)})})}}};Tf.default=$L});var UT=v(xf=>{"use strict";Object.defineProperty(xf,"__esModule",{value:!0});var NL=Ae(),UL={keyword:"allOf",schemaType:"array",code(t){let{gen:e,schema:i,it:n}=t;if(!Array.isArray(i))throw new Error("ajv implementation error");let a=e.name("valid");i.forEach((r,s)=>{if((0,NL.alwaysValidSchema)(n,r))return;let o=t.subschema({keyword:"allOf",schemaProp:s},a);t.ok(a),t.mergeEvaluated(o)})}};xf.default=UL});var BT=v(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});var sc=re(),LT=Ae(),WL={message:({params:t})=>(0,sc.str)`must match "${t.ifClause}" schema`,params:({params:t})=>(0,sc._)`{failingKeyword: ${t.ifClause}}`},LL={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:WL,code(t){let{gen:e,parentSchema:i,it:n}=t;i.then===void 0&&i.else===void 0&&(0,LT.checkStrictMode)(n,'"if" without "then" and "else" is ignored');let a=WT(n,"then"),r=WT(n,"else");if(!a&&!r)return;let s=e.let("valid",!0),o=e.name("_valid");if(l(),t.reset(),a&&r){let c=e.let("ifClause");t.setParams({ifClause:c}),e.if(o,u("then",c),u("else",c))}else a?e.if(o,u("then")):e.if((0,sc.not)(o),u("else"));t.pass(s,()=>t.error(!0));function l(){let c=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},o);t.mergeEvaluated(c)}function u(c,p){return()=>{let d=t.subschema({keyword:c},o);e.assign(s,o),t.mergeValidEvaluated(d,s),p?e.assign(p,(0,sc._)`${c}`):t.setParams({ifClause:c})}}}};function WT(t,e){let i=t.schema[e];return i!==void 0&&!(0,LT.alwaysValidSchema)(t,i)}Mf.default=LL});var FT=v(Ef=>{"use strict";Object.defineProperty(Ef,"__esModule",{value:!0});var BL=Ae(),FL={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:e,it:i}){e.if===void 0&&(0,BL.checkStrictMode)(i,`"${t}" without "if" is ignored`)}};Ef.default=FL});var VT=v(kf=>{"use strict";Object.defineProperty(kf,"__esModule",{value:!0});var VL=hf(),JL=PT(),ZL=gf(),KL=ST(),QL=OT(),YL=MT(),XL=kT(),eB=bf(),iB=HT(),nB=DT(),tB=GT(),aB=$T(),rB=NT(),sB=UT(),oB=BT(),lB=FT();function uB(t=!1){let e=[tB.default,aB.default,rB.default,sB.default,oB.default,lB.default,XL.default,eB.default,YL.default,iB.default,nB.default];return t?e.push(JL.default,KL.default):e.push(VL.default,ZL.default),e.push(QL.default),e}kf.default=uB});var JT=v(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});var ii=re(),cB={message:({schemaCode:t})=>(0,ii.str)`must match format "${t}"`,params:({schemaCode:t})=>(0,ii._)`{format: ${t}}`},pB={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:cB,code(t,e){let{gen:i,data:n,$data:a,schema:r,schemaCode:s,it:o}=t,{opts:l,errSchemaPath:u,schemaEnv:c,self:p}=o;if(!l.validateFormats)return;a?d():h();function d(){let g=i.scopeValue("formats",{ref:p.formats,code:l.code.formats}),m=i.const("fDef",(0,ii._)`${g}[${s}]`),f=i.let("fType"),w=i.let("format");i.if((0,ii._)`typeof ${m} == "object" && !(${m} instanceof RegExp)`,()=>i.assign(f,(0,ii._)`${m}.type || "string"`).assign(w,(0,ii._)`${m}.validate`),()=>i.assign(f,(0,ii._)`"string"`).assign(w,m)),t.fail$data((0,ii.or)(b(),A()));function b(){return l.strictSchema===!1?ii.nil:(0,ii._)`${s} && !${w}`}function A(){let y=c.$async?(0,ii._)`(${m}.async ? await ${w}(${n}) : ${w}(${n}))`:(0,ii._)`${w}(${n})`,O=(0,ii._)`(typeof ${w} == "function" ? ${y} : ${w}.test(${n}))`;return(0,ii._)`${w} && ${w} !== true && ${f} === ${e} && !${O}`}}function h(){let g=p.formats[r];if(!g){b();return}if(g===!0)return;let[m,f,w]=A(g);m===e&&t.pass(y());function b(){if(l.strictSchema===!1){p.logger.warn(O());return}throw new Error(O());function O(){return`unknown format "${r}" ignored in schema at path "${u}"`}}function A(O){let q=O instanceof RegExp?(0,ii.regexpCode)(O):l.code.formats?(0,ii._)`${l.code.formats}${(0,ii.getProperty)(r)}`:void 0,W=i.scopeValue("formats",{key:r,ref:O,code:q});return typeof O=="object"&&!(O instanceof RegExp)?[O.type||"string",O.validate,(0,ii._)`${W}.validate`]:["string",O,W]}function y(){if(typeof g=="object"&&!(g instanceof RegExp)&&g.async){if(!c.$async)throw new Error("async format in sync schema");return(0,ii._)`await ${w}(${n})`}return typeof f=="function"?(0,ii._)`${w}(${n})`:(0,ii._)`${w}.test(${n})`}}}};qf.default=pB});var ZT=v(_f=>{"use strict";Object.defineProperty(_f,"__esModule",{value:!0});var dB=JT(),hB=[dB.default];_f.default=hB});var KT=v(_r=>{"use strict";Object.defineProperty(_r,"__esModule",{value:!0});_r.contentVocabulary=_r.metadataVocabulary=void 0;_r.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];_r.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var YT=v(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});var gB=rT(),mB=CT(),fB=VT(),wB=ZT(),QT=KT(),vB=[gB.default,mB.default,(0,fB.default)(),wB.default,QT.metadataVocabulary,QT.contentVocabulary];Hf.default=vB});var ex=v(oc=>{"use strict";Object.defineProperty(oc,"__esModule",{value:!0});oc.DiscrError=void 0;var XT;(function(t){t.Tag="tag",t.Mapping="mapping"})(XT||(oc.DiscrError=XT={}))});var nx=v(Rf=>{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});var Hr=re(),If=ex(),ix=Uu(),CB=po(),AB=Ae(),bB={message:({params:{discrError:t,tagName:e}})=>t===If.DiscrError.Tag?`tag "${e}" must be string`:`value of tag "${e}" must be in oneOf`,params:({params:{discrError:t,tag:e,tagName:i}})=>(0,Hr._)`{error: ${t}, tag: ${i}, tagValue: ${e}}`},yB={keyword:"discriminator",type:"object",schemaType:"object",error:bB,code(t){let{gen:e,data:i,schema:n,parentSchema:a,it:r}=t,{oneOf:s}=a;if(!r.opts.discriminator)throw new Error("discriminator: requires discriminator option");let o=n.propertyName;if(typeof o!="string")throw new Error("discriminator: requires propertyName");if(n.mapping)throw new Error("discriminator: mapping is not supported");if(!s)throw new Error("discriminator: requires oneOf keyword");let l=e.let("valid",!1),u=e.const("tag",(0,Hr._)`${i}${(0,Hr.getProperty)(o)}`);e.if((0,Hr._)`typeof ${u} == "string"`,()=>c(),()=>t.error(!1,{discrError:If.DiscrError.Tag,tag:u,tagName:o})),t.ok(l);function c(){let h=d();e.if(!1);for(let g in h)e.elseIf((0,Hr._)`${u} === ${g}`),e.assign(l,p(h[g]));e.else(),t.error(!1,{discrError:If.DiscrError.Mapping,tag:u,tagName:o}),e.endIf()}function p(h){let g=e.name("valid"),m=t.subschema({keyword:"oneOf",schemaProp:h},g);return t.mergeEvaluated(m,Hr.Name),g}function d(){var h;let g={},m=w(a),f=!0;for(let y=0;y{PB.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var Df=v((Ne,zf)=>{"use strict";Object.defineProperty(Ne,"__esModule",{value:!0});Ne.MissingRefError=Ne.ValidationError=Ne.CodeGen=Ne.Name=Ne.nil=Ne.stringify=Ne.str=Ne._=Ne.KeywordCxt=Ne.Ajv=void 0;var jB=XO(),SB=YT(),OB=nx(),ax=tx(),TB=["/properties"],lc="http://json-schema.org/draft-07/schema",Ir=class extends jB.default{_addVocabularies(){super._addVocabularies(),SB.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(OB.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let e=this.opts.$data?this.$dataMetaSchema(ax,TB):ax;this.addMetaSchema(e,lc,!1),this.refs["http://json-schema.org/schema"]=lc}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(lc)?lc:void 0)}};Ne.Ajv=Ir;zf.exports=Ne=Ir;zf.exports.Ajv=Ir;Object.defineProperty(Ne,"__esModule",{value:!0});Ne.default=Ir;var xB=co();Object.defineProperty(Ne,"KeywordCxt",{enumerable:!0,get:function(){return xB.KeywordCxt}});var Rr=re();Object.defineProperty(Ne,"_",{enumerable:!0,get:function(){return Rr._}});Object.defineProperty(Ne,"str",{enumerable:!0,get:function(){return Rr.str}});Object.defineProperty(Ne,"stringify",{enumerable:!0,get:function(){return Rr.stringify}});Object.defineProperty(Ne,"nil",{enumerable:!0,get:function(){return Rr.nil}});Object.defineProperty(Ne,"Name",{enumerable:!0,get:function(){return Rr.Name}});Object.defineProperty(Ne,"CodeGen",{enumerable:!0,get:function(){return Rr.CodeGen}});var MB=$u();Object.defineProperty(Ne,"ValidationError",{enumerable:!0,get:function(){return MB.default}});var EB=po();Object.defineProperty(Ne,"MissingRefError",{enumerable:!0,get:function(){return EB.default}})});var dx=v(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.formatNames=Vn.fastFormats=Vn.fullFormats=void 0;function Fn(t,e){return{validate:t,compare:e}}Vn.fullFormats={date:Fn(lx,Uf),time:Fn($f(!0),Wf),"date-time":Fn(rx(!0),cx),"iso-time":Fn($f(),ux),"iso-date-time":Fn(rx(),px),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:RB,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:WB,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:zB,int32:{type:"number",validate:$B},int64:{type:"number",validate:NB},float:{type:"number",validate:ox},double:{type:"number",validate:ox},password:!0,binary:!0};Vn.fastFormats={...Vn.fullFormats,date:Fn(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,Uf),time:Fn(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,Wf),"date-time":Fn(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,cx),"iso-time":Fn(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,ux),"iso-date-time":Fn(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,px),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i};Vn.formatNames=Object.keys(Vn.fullFormats);function kB(t){return t%4===0&&(t%100!==0||t%400===0)}var qB=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,_B=[0,31,28,31,30,31,30,31,31,30,31,30,31];function lx(t){let e=qB.exec(t);if(!e)return!1;let i=+e[1],n=+e[2],a=+e[3];return n>=1&&n<=12&&a>=1&&a<=(n===2&&kB(i)?29:_B[n])}function Uf(t,e){if(t&&e)return t>e?1:t23||c>59||t&&!o)return!1;if(a<=23&&r<=59&&s<60)return!0;let p=r-c*l,d=a-u*l-(p<0?1:0);return(d===23||d===-1)&&(p===59||p===-1)&&s<61}}function Wf(t,e){if(!(t&&e))return;let i=new Date("2020-01-01T"+t).valueOf(),n=new Date("2020-01-01T"+e).valueOf();if(i&&n)return i-n}function ux(t,e){if(!(t&&e))return;let i=Gf.exec(t),n=Gf.exec(e);if(i&&n)return t=i[1]+i[2]+i[3],e=n[1]+n[2]+n[3],t>e?1:t=DB}function NB(t){return Number.isInteger(t)}function ox(){return!0}var UB=/[^\\]\\Z/;function WB(t){if(UB.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var hx=v(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.formatLimitDefinition=void 0;var LB=Df(),qn=re(),Dt=qn.operators,uc={formatMaximum:{okStr:"<=",ok:Dt.LTE,fail:Dt.GT},formatMinimum:{okStr:">=",ok:Dt.GTE,fail:Dt.LT},formatExclusiveMaximum:{okStr:"<",ok:Dt.LT,fail:Dt.GTE},formatExclusiveMinimum:{okStr:">",ok:Dt.GT,fail:Dt.LTE}},BB={message:({keyword:t,schemaCode:e})=>(0,qn.str)`should be ${uc[t].okStr} ${e}`,params:({keyword:t,schemaCode:e})=>(0,qn._)`{comparison: ${uc[t].okStr}, limit: ${e}}`};zr.formatLimitDefinition={keyword:Object.keys(uc),type:"string",schemaType:"string",$data:!0,error:BB,code(t){let{gen:e,data:i,schemaCode:n,keyword:a,it:r}=t,{opts:s,self:o}=r;if(!s.validateFormats)return;let l=new LB.KeywordCxt(r,o.RULES.all.format.definition,"format");l.$data?u():c();function u(){let d=e.scopeValue("formats",{ref:o.formats,code:s.code.formats}),h=e.const("fmt",(0,qn._)`${d}[${l.schemaCode}]`);t.fail$data((0,qn.or)((0,qn._)`typeof ${h} != "object"`,(0,qn._)`${h} instanceof RegExp`,(0,qn._)`typeof ${h}.compare != "function"`,p(h)))}function c(){let d=l.schema,h=o.formats[d];if(!h||h===!0)return;if(typeof h!="object"||h instanceof RegExp||typeof h.compare!="function")throw new Error(`"${a}": format "${d}" does not define "compare" function`);let g=e.scopeValue("formats",{key:d,ref:h,code:s.code.formats?(0,qn._)`${s.code.formats}${(0,qn.getProperty)(d)}`:void 0});t.fail$data(p(g))}function p(d){return(0,qn._)`${d}.compare(${i}, ${n}) ${uc[a].fail} 0`}},dependencies:["format"]};var FB=t=>(t.addKeyword(zr.formatLimitDefinition),t);zr.default=FB});var wx=v((Oo,fx)=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});var Dr=dx(),VB=hx(),Lf=re(),gx=new Lf.Name("fullFormats"),JB=new Lf.Name("fastFormats"),Bf=(t,e={keywords:!0})=>{if(Array.isArray(e))return mx(t,e,Dr.fullFormats,gx),t;let[i,n]=e.mode==="fast"?[Dr.fastFormats,JB]:[Dr.fullFormats,gx],a=e.formats||Dr.formatNames;return mx(t,a,i,n),e.keywords&&(0,VB.default)(t),t};Bf.get=(t,e="full")=>{let n=(e==="fast"?Dr.fastFormats:Dr.fullFormats)[t];if(!n)throw new Error(`Unknown format "${t}"`);return n};function mx(t,e,i,n){var a,r;(a=(r=t.opts.code).formats)!==null&&a!==void 0||(r.formats=(0,Lf._)`require("ajv-formats/dist/formats").${n}`);for(let s of e)t.addFormat(s,i[s])}fx.exports=Oo=Bf;Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=Bf});var qx=v((Gae,kx)=>{var Ex=require("stream").Stream,tF=require("util");kx.exports=_n;function _n(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}tF.inherits(_n,Ex);_n.create=function(t,e){var i=new this;e=e||{};for(var n in e)i[n]=e[n];i.source=t;var a=t.emit;return t.emit=function(){return i._handleEmit(arguments),a.apply(t,arguments)},t.on("error",function(){}),i.pauseStream&&t.pause(),i};Object.defineProperty(_n.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});_n.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};_n.prototype.resume=function(){this._released||this.release(),this.source.resume()};_n.prototype.pause=function(){this.source.pause()};_n.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(t){this.emit.apply(this,t)}.bind(this)),this._bufferedEvents=[]};_n.prototype.pipe=function(){var t=Ex.prototype.pipe.apply(this,arguments);return this.resume(),t};_n.prototype._handleEmit=function(t){if(this._released){this.emit.apply(this,t);return}t[0]==="data"&&(this.dataSize+=t[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(t)};_n.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(t))}}});var Rx=v(($ae,Ix)=>{var aF=require("util"),Hx=require("stream").Stream,_x=qx();Ix.exports=Qe;function Qe(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}aF.inherits(Qe,Hx);Qe.create=function(t){var e=new this;t=t||{};for(var i in t)e[i]=t[i];return e};Qe.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer.isBuffer(t)};Qe.prototype.append=function(t){var e=Qe.isStreamLike(t);if(e){if(!(t instanceof _x)){var i=_x.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=i}this._handleErrors(t),this.pauseStreams&&t.pause()}return this._streams.push(t),this};Qe.prototype.pipe=function(t,e){return Hx.prototype.pipe.call(this,t,e),this.resume(),t};Qe.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};Qe.prototype._realGetNext=function(){var t=this._streams.shift();if(typeof t>"u"){this.end();return}if(typeof t!="function"){this._pipeNext(t);return}var e=t;e(function(i){var n=Qe.isStreamLike(i);n&&(i.on("data",this._checkDataSize.bind(this)),this._handleErrors(i)),this._pipeNext(i)}.bind(this))};Qe.prototype._pipeNext=function(t){this._currentStream=t;var e=Qe.isStreamLike(t);if(e){t.on("end",this._getNext.bind(this)),t.pipe(this,{end:!1});return}var i=t;this.write(i),this._getNext()};Qe.prototype._handleErrors=function(t){var e=this;t.on("error",function(i){e._emitError(i)})};Qe.prototype.write=function(t){this.emit("data",t)};Qe.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};Qe.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};Qe.prototype.end=function(){this._reset(),this.emit("end")};Qe.prototype.destroy=function(){this._reset(),this.emit("close")};Qe.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Qe.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}};Qe.prototype._updateDataSize=function(){this.dataSize=0;var t=this;this._streams.forEach(function(e){e.dataSize&&(t.dataSize+=e.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};Qe.prototype._emitError=function(t){this._reset(),this.emit("error",t)}});var zx=v((Nae,rF)=>{rF.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var Gx=v((Uae,Dx)=>{Dx.exports=zx()});var Ux=v(Ki=>{"use strict";var wc=Gx(),sF=require("path").extname,$x=/^\s*([^;\s]*)(?:;|\s|$)/,oF=/^text\//i;Ki.charset=Nx;Ki.charsets={lookup:Nx};Ki.contentType=lF;Ki.extension=uF;Ki.extensions=Object.create(null);Ki.lookup=cF;Ki.types=Object.create(null);pF(Ki.extensions,Ki.types);function Nx(t){if(!t||typeof t!="string")return!1;var e=$x.exec(t),i=e&&wc[e[1].toLowerCase()];return i&&i.charset?i.charset:e&&oF.test(e[1])?"UTF-8":!1}function lF(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")===-1?Ki.lookup(t):t;if(!e)return!1;if(e.indexOf("charset")===-1){var i=Ki.charset(e);i&&(e+="; charset="+i.toLowerCase())}return e}function uF(t){if(!t||typeof t!="string")return!1;var e=$x.exec(t),i=e&&Ki.extensions[e[1].toLowerCase()];return!i||!i.length?!1:i[0]}function cF(t){if(!t||typeof t!="string")return!1;var e=sF("x."+t).toLowerCase().substr(1);return e&&Ki.types[e]||!1}function pF(t,e){var i=["nginx","apache",void 0,"iana"];Object.keys(wc).forEach(function(a){var r=wc[a],s=r.extensions;if(!(!s||!s.length)){t[a]=s;for(var o=0;oc||u===c&&e[l].substr(0,12)==="application/"))continue}e[l]=a}}})}});var Lx=v((Lae,Wx)=>{Wx.exports=dF;function dF(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0)}});var Kf=v((Bae,Fx)=>{var Bx=Lx();Fx.exports=hF;function hF(t){var e=!1;return Bx(function(){e=!0}),function(n,a){e?t(n,a):Bx(function(){t(n,a)})}}});var Qf=v((Fae,Vx)=>{Vx.exports=gF;function gF(t){Object.keys(t.jobs).forEach(mF.bind(t)),t.jobs={}}function mF(t){typeof this.jobs[t]=="function"&&this.jobs[t]()}});var Yf=v((Vae,Zx)=>{var Jx=Kf(),fF=Qf();Zx.exports=wF;function wF(t,e,i,n){var a=i.keyedList?i.keyedList[i.index]:i.index;i.jobs[a]=vF(e,a,t[a],function(r,s){a in i.jobs&&(delete i.jobs[a],r?fF(i):i.results[a]=s,n(r,i.results))})}function vF(t,e,i,n){var a;return t.length==2?a=t(i,Jx(n)):a=t(i,e,Jx(n)),a}});var Xf=v((Jae,Kx)=>{Kx.exports=CF;function CF(t,e){var i=!Array.isArray(t),n={index:0,keyedList:i||e?Object.keys(t):null,jobs:{},results:i?{}:[],size:i?Object.keys(t).length:t.length};return e&&n.keyedList.sort(i?e:function(a,r){return e(t[a],t[r])}),n}});var ew=v((Zae,Qx)=>{var AF=Qf(),bF=Kf();Qx.exports=yF;function yF(t){Object.keys(this.jobs).length&&(this.index=this.size,AF(this),bF(t)(null,this.results))}});var Xx=v((Kae,Yx)=>{var PF=Yf(),jF=Xf(),SF=ew();Yx.exports=OF;function OF(t,e,i){for(var n=jF(t);n.index<(n.keyedList||t).length;)PF(t,e,n,function(a,r){if(a){i(a,r);return}if(Object.keys(n.jobs).length===0){i(null,n.results);return}}),n.index++;return SF.bind(n,i)}});var iw=v((Qae,vc)=>{var eM=Yf(),TF=Xf(),xF=ew();vc.exports=MF;vc.exports.ascending=iM;vc.exports.descending=EF;function MF(t,e,i,n){var a=TF(t,i);return eM(t,e,a,function r(s,o){if(s){n(s,o);return}if(a.index++,a.index<(a.keyedList||t).length){eM(t,e,a,r);return}n(null,a.results)}),xF.bind(a,n)}function iM(t,e){return te?1:0}function EF(t,e){return-1*iM(t,e)}});var tM=v((Yae,nM)=>{var kF=iw();nM.exports=qF;function qF(t,e,i){return kF(t,e,null,i)}});var rM=v((Xae,aM)=>{aM.exports={parallel:Xx(),serial:tM(),serialOrdered:iw()}});var nw=v((ere,sM)=>{"use strict";sM.exports=Object});var lM=v((ire,oM)=>{"use strict";oM.exports=Error});var cM=v((nre,uM)=>{"use strict";uM.exports=EvalError});var dM=v((tre,pM)=>{"use strict";pM.exports=RangeError});var gM=v((are,hM)=>{"use strict";hM.exports=ReferenceError});var fM=v((rre,mM)=>{"use strict";mM.exports=SyntaxError});var Cc=v((sre,wM)=>{"use strict";wM.exports=TypeError});var CM=v((ore,vM)=>{"use strict";vM.exports=URIError});var bM=v((lre,AM)=>{"use strict";AM.exports=Math.abs});var PM=v((ure,yM)=>{"use strict";yM.exports=Math.floor});var SM=v((cre,jM)=>{"use strict";jM.exports=Math.max});var TM=v((pre,OM)=>{"use strict";OM.exports=Math.min});var MM=v((dre,xM)=>{"use strict";xM.exports=Math.pow});var kM=v((hre,EM)=>{"use strict";EM.exports=Math.round});var _M=v((gre,qM)=>{"use strict";qM.exports=Number.isNaN||function(e){return e!==e}});var IM=v((mre,HM)=>{"use strict";var _F=_M();HM.exports=function(e){return _F(e)||e===0?e:e<0?-1:1}});var zM=v((fre,RM)=>{"use strict";RM.exports=Object.getOwnPropertyDescriptor});var tw=v((wre,DM)=>{"use strict";var Ac=zM();if(Ac)try{Ac([],"length")}catch{Ac=null}DM.exports=Ac});var $M=v((vre,GM)=>{"use strict";var bc=Object.defineProperty||!1;if(bc)try{bc({},"a",{value:1})}catch{bc=!1}GM.exports=bc});var aw=v((Cre,NM)=>{"use strict";NM.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},i=Symbol("test"),n=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;e[i]=a;for(var r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var s=Object.getOwnPropertySymbols(e);if(s.length!==1||s[0]!==i||!Object.prototype.propertyIsEnumerable.call(e,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,i);if(o.value!==a||o.enumerable!==!0)return!1}return!0}});var LM=v((Are,WM)=>{"use strict";var UM=typeof Symbol<"u"&&Symbol,HF=aw();WM.exports=function(){return typeof UM!="function"||typeof Symbol!="function"||typeof UM("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:HF()}});var rw=v((bre,BM)=>{"use strict";BM.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var sw=v((yre,FM)=>{"use strict";var IF=nw();FM.exports=IF.getPrototypeOf||null});var ZM=v((Pre,JM)=>{"use strict";var RF="Function.prototype.bind called on incompatible ",zF=Object.prototype.toString,DF=Math.max,GF="[object Function]",VM=function(e,i){for(var n=[],a=0;a{"use strict";var UF=ZM();KM.exports=Function.prototype.bind||UF});var yc=v((Sre,QM)=>{"use strict";QM.exports=Function.prototype.call});var ow=v((Ore,YM)=>{"use strict";YM.exports=Function.prototype.apply});var eE=v((Tre,XM)=>{"use strict";XM.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var nE=v((xre,iE)=>{"use strict";var WF=xo(),LF=ow(),BF=yc(),FF=eE();iE.exports=FF||WF.call(BF,LF)});var aE=v((Mre,tE)=>{"use strict";var VF=xo(),JF=Cc(),ZF=yc(),KF=nE();tE.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new JF("a function is required");return KF(VF,ZF,e)}});var cE=v((Ere,uE)=>{"use strict";var QF=aE(),rE=tw(),oE;try{oE=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var lw=!!oE&&rE&&rE(Object.prototype,"__proto__"),lE=Object,sE=lE.getPrototypeOf;uE.exports=lw&&typeof lw.get=="function"?QF([lw.get]):typeof sE=="function"?function(e){return sE(e==null?e:lE(e))}:!1});var mE=v((kre,gE)=>{"use strict";var pE=rw(),dE=sw(),hE=cE();gE.exports=pE?function(e){return pE(e)}:dE?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return dE(e)}:hE?function(e){return hE(e)}:null});var Pc=v((qre,fE)=>{"use strict";var YF=Function.prototype.call,XF=Object.prototype.hasOwnProperty,eV=xo();fE.exports=eV.call(YF,XF)});var PE=v((_re,yE)=>{"use strict";var de,iV=nw(),nV=lM(),tV=cM(),aV=dM(),rV=gM(),Ur=fM(),Nr=Cc(),sV=CM(),oV=bM(),lV=PM(),uV=SM(),cV=TM(),pV=MM(),dV=kM(),hV=IM(),AE=Function,uw=function(t){try{return AE('"use strict"; return ('+t+").constructor;")()}catch{}},Mo=tw(),gV=$M(),cw=function(){throw new Nr},mV=Mo?(function(){try{return arguments.callee,cw}catch{try{return Mo(arguments,"callee").get}catch{return cw}}})():cw,Gr=LM()(),fi=mE(),fV=sw(),wV=rw(),bE=ow(),Eo=yc(),$r={},vV=typeof Uint8Array>"u"||!fi?de:fi(Uint8Array),ka={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?de:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?de:ArrayBuffer,"%ArrayIteratorPrototype%":Gr&&fi?fi([][Symbol.iterator]()):de,"%AsyncFromSyncIteratorPrototype%":de,"%AsyncFunction%":$r,"%AsyncGenerator%":$r,"%AsyncGeneratorFunction%":$r,"%AsyncIteratorPrototype%":$r,"%Atomics%":typeof Atomics>"u"?de:Atomics,"%BigInt%":typeof BigInt>"u"?de:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?de:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?de:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?de:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":nV,"%eval%":eval,"%EvalError%":tV,"%Float16Array%":typeof Float16Array>"u"?de:Float16Array,"%Float32Array%":typeof Float32Array>"u"?de:Float32Array,"%Float64Array%":typeof Float64Array>"u"?de:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?de:FinalizationRegistry,"%Function%":AE,"%GeneratorFunction%":$r,"%Int8Array%":typeof Int8Array>"u"?de:Int8Array,"%Int16Array%":typeof Int16Array>"u"?de:Int16Array,"%Int32Array%":typeof Int32Array>"u"?de:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Gr&&fi?fi(fi([][Symbol.iterator]())):de,"%JSON%":typeof JSON=="object"?JSON:de,"%Map%":typeof Map>"u"?de:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Gr||!fi?de:fi(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":iV,"%Object.getOwnPropertyDescriptor%":Mo,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?de:Promise,"%Proxy%":typeof Proxy>"u"?de:Proxy,"%RangeError%":aV,"%ReferenceError%":rV,"%Reflect%":typeof Reflect>"u"?de:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?de:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Gr||!fi?de:fi(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?de:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Gr&&fi?fi(""[Symbol.iterator]()):de,"%Symbol%":Gr?Symbol:de,"%SyntaxError%":Ur,"%ThrowTypeError%":mV,"%TypedArray%":vV,"%TypeError%":Nr,"%Uint8Array%":typeof Uint8Array>"u"?de:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?de:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?de:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?de:Uint32Array,"%URIError%":sV,"%WeakMap%":typeof WeakMap>"u"?de:WeakMap,"%WeakRef%":typeof WeakRef>"u"?de:WeakRef,"%WeakSet%":typeof WeakSet>"u"?de:WeakSet,"%Function.prototype.call%":Eo,"%Function.prototype.apply%":bE,"%Object.defineProperty%":gV,"%Object.getPrototypeOf%":fV,"%Math.abs%":oV,"%Math.floor%":lV,"%Math.max%":uV,"%Math.min%":cV,"%Math.pow%":pV,"%Math.round%":dV,"%Math.sign%":hV,"%Reflect.getPrototypeOf%":wV};if(fi)try{null.error}catch(t){wE=fi(fi(t)),ka["%Error.prototype%"]=wE}var wE,CV=function t(e){var i;if(e==="%AsyncFunction%")i=uw("async function () {}");else if(e==="%GeneratorFunction%")i=uw("function* () {}");else if(e==="%AsyncGeneratorFunction%")i=uw("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(i=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var a=t("%AsyncGenerator%");a&&fi&&(i=fi(a.prototype))}return ka[e]=i,i},vE={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ko=xo(),jc=Pc(),AV=ko.call(Eo,Array.prototype.concat),bV=ko.call(bE,Array.prototype.splice),CE=ko.call(Eo,String.prototype.replace),Sc=ko.call(Eo,String.prototype.slice),yV=ko.call(Eo,RegExp.prototype.exec),PV=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,jV=/\\(\\)?/g,SV=function(e){var i=Sc(e,0,1),n=Sc(e,-1);if(i==="%"&&n!=="%")throw new Ur("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&i!=="%")throw new Ur("invalid intrinsic syntax, expected opening `%`");var a=[];return CE(e,PV,function(r,s,o,l){a[a.length]=o?CE(l,jV,"$1"):s||r}),a},OV=function(e,i){var n=e,a;if(jc(vE,n)&&(a=vE[n],n="%"+a[0]+"%"),jc(ka,n)){var r=ka[n];if(r===$r&&(r=CV(n)),typeof r>"u"&&!i)throw new Nr("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:r}}throw new Ur("intrinsic "+e+" does not exist!")};yE.exports=function(e,i){if(typeof e!="string"||e.length===0)throw new Nr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof i!="boolean")throw new Nr('"allowMissing" argument must be a boolean');if(yV(/^%?[^%]*%?$/,e)===null)throw new Ur("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=SV(e),a=n.length>0?n[0]:"",r=OV("%"+a+"%",i),s=r.name,o=r.value,l=!1,u=r.alias;u&&(a=u[0],bV(n,AV([0,1],u)));for(var c=1,p=!0;c=n.length){var m=Mo(o,d);p=!!m,p&&"get"in m&&!("originalValue"in m.get)?o=m.get:o=o[d]}else p=jc(o,d),o=o[d];p&&!l&&(ka[s]=o)}}return o}});var SE=v((Hre,jE)=>{"use strict";var TV=aw();jE.exports=function(){return TV()&&!!Symbol.toStringTag}});var xE=v((Ire,TE)=>{"use strict";var xV=PE(),OE=xV("%Object.defineProperty%",!0),MV=SE()(),EV=Pc(),kV=Cc(),Oc=MV?Symbol.toStringTag:null;TE.exports=function(e,i){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,a=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof n<"u"&&typeof n!="boolean"||typeof a<"u"&&typeof a!="boolean")throw new kV("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");Oc&&(n||!EV(e,Oc))&&(OE?OE(e,Oc,{configurable:!a,enumerable:!1,value:i,writable:!1}):e[Oc]=i)}});var EE=v((Rre,ME)=>{"use strict";ME.exports=function(t,e){return Object.keys(e).forEach(function(i){t[i]=t[i]||e[i]}),t}});var _E=v((zre,qE)=>{"use strict";var gw=Rx(),qV=require("util"),pw=require("path"),_V=require("http"),HV=require("https"),IV=require("url").parse,RV=require("fs"),zV=require("stream").Stream,DV=require("crypto"),dw=Ux(),GV=rM(),$V=xE(),$t=Pc(),hw=EE();function kE(t){return String(t).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function ye(t){if(!(this instanceof ye))return new ye(t);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],gw.call(this),t=t||{};for(var e in t)this[e]=t[e]}qV.inherits(ye,gw);ye.LINE_BREAK=`\r +`;ye.DEFAULT_CONTENT_TYPE="application/octet-stream";ye.prototype.append=function(t,e,i){i=i||{},typeof i=="string"&&(i={filename:i});var n=gw.prototype.append.bind(this);if((typeof e=="number"||e==null)&&(e=String(e)),Array.isArray(e)){this._error(new Error("Arrays are not supported."));return}var a=this._multiPartHeader(t,e,i),r=this._multiPartFooter();n(a),n(e),n(r),this._trackLength(a,e,i)};ye.prototype._trackLength=function(t,e,i){var n=0;i.knownLength!=null?n+=Number(i.knownLength):Buffer.isBuffer(e)?n=e.length:typeof e=="string"&&(n=Buffer.byteLength(e)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(t)+ye.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&$t(e,"httpVersion"))&&!(e instanceof zV))&&(i.knownLength||this._valuesToMeasure.push(e))};ye.prototype._lengthRetriever=function(t,e){$t(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):RV.stat(t.path,function(i,n){if(i){e(i);return}var a=n.size-(t.start?t.start:0);e(null,a)}):$t(t,"httpVersion")?e(null,Number(t.headers["content-length"])):$t(t,"httpModule")?(t.on("response",function(i){t.pause(),e(null,Number(i.headers["content-length"]))}),t.resume()):e("Unknown stream")};ye.prototype._multiPartHeader=function(t,e,i){if(typeof i.header=="string")return i.header;var n=this._getContentDisposition(e,i),a=this._getContentType(e,i),r="",s={"Content-Disposition":["form-data",'name="'+kE(t)+'"'].concat(n||[]),"Content-Type":[].concat(a||[])};typeof i.header=="object"&&hw(s,i.header);var o;for(var l in s)if($t(s,l)){if(o=s[l],o==null)continue;Array.isArray(o)||(o=[o]),o.length&&(r+=l+": "+o.join("; ")+ye.LINE_BREAK)}return"--"+this.getBoundary()+ye.LINE_BREAK+r+ye.LINE_BREAK};ye.prototype._getContentDisposition=function(t,e){var i;if(typeof e.filepath=="string"?i=pw.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?i=pw.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&$t(t,"httpVersion")&&(i=pw.basename(t.client._httpMessage.path||"")),i)return'filename="'+kE(i)+'"'};ye.prototype._getContentType=function(t,e){var i=e.contentType;return!i&&t&&t.name&&(i=dw.lookup(t.name)),!i&&t&&t.path&&(i=dw.lookup(t.path)),!i&&t&&t.readable&&$t(t,"httpVersion")&&(i=t.headers["content-type"]),!i&&(e.filepath||e.filename)&&(i=dw.lookup(e.filepath||e.filename)),!i&&t&&typeof t=="object"&&(i=ye.DEFAULT_CONTENT_TYPE),i};ye.prototype._multiPartFooter=function(){return function(t){var e=ye.LINE_BREAK,i=this._streams.length===0;i&&(e+=this._lastBoundary()),t(e)}.bind(this)};ye.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ye.LINE_BREAK};ye.prototype.getHeaders=function(t){var e,i={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)$t(t,e)&&(i[e.toLowerCase()]=t[e]);return i};ye.prototype.setBoundary=function(t){if(typeof t!="string")throw new TypeError("FormData boundary must be a string");this._boundary=t};ye.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};ye.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),i=0,n=this._streams.length;i{var Wr=1e3,Lr=Wr*60,Br=Lr*60,qa=Br*24,NV=qa*7,UV=qa*365.25;HE.exports=function(t,e){e=e||{};var i=typeof t;if(i==="string"&&t.length>0)return WV(t);if(i==="number"&&isFinite(t))return e.long?BV(t):LV(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function WV(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var i=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return i*UV;case"weeks":case"week":case"w":return i*NV;case"days":case"day":case"d":return i*qa;case"hours":case"hour":case"hrs":case"hr":case"h":return i*Br;case"minutes":case"minute":case"mins":case"min":case"m":return i*Lr;case"seconds":case"second":case"secs":case"sec":case"s":return i*Wr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}function LV(t){var e=Math.abs(t);return e>=qa?Math.round(t/qa)+"d":e>=Br?Math.round(t/Br)+"h":e>=Lr?Math.round(t/Lr)+"m":e>=Wr?Math.round(t/Wr)+"s":t+"ms"}function BV(t){var e=Math.abs(t);return e>=qa?Tc(t,e,qa,"day"):e>=Br?Tc(t,e,Br,"hour"):e>=Lr?Tc(t,e,Lr,"minute"):e>=Wr?Tc(t,e,Wr,"second"):t+" ms"}function Tc(t,e,i,n){var a=e>=i*1.5;return Math.round(t/i)+" "+n+(a?"s":"")}});var fw=v((Gre,IE)=>{function FV(t){i.debug=i,i.default=i,i.coerce=l,i.disable=s,i.enable=a,i.enabled=o,i.humanize=mw(),i.destroy=u,Object.keys(t).forEach(c=>{i[c]=t[c]}),i.names=[],i.skips=[],i.formatters={};function e(c){let p=0;for(let d=0;d{if(q==="%%")return"%";y++;let ie=i.formatters[W];if(typeof ie=="function"){let K=f[y];q=ie.call(w,K),f.splice(y,1),y--}return q}),i.formatArgs.call(w,f),(w.log||i.log).apply(w,f)}return m.namespace=c,m.useColors=i.useColors(),m.color=i.selectColor(c),m.extend=n,m.destroy=i.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(h!==i.namespaces&&(h=i.namespaces,g=i.enabled(c)),g),set:f=>{d=f}}),typeof i.init=="function"&&i.init(m),m}function n(c,p){let d=i(this.namespace+(typeof p>"u"?":":p)+c);return d.log=this.log,d}function a(c){i.save(c),i.namespaces=c,i.names=[],i.skips=[];let p=(typeof c=="string"?c:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let d of p)d[0]==="-"?i.skips.push(d.slice(1)):i.names.push(d)}function r(c,p){let d=0,h=0,g=-1,m=0;for(;d"-"+p)].join(",");return i.enable(""),c}function o(c){for(let p of i.skips)if(r(c,p))return!1;for(let p of i.names)if(r(c,p))return!0;return!1}function l(c){return c instanceof Error?c.stack||c.message:c}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return i.enable(i.load()),i}IE.exports=FV});var RE=v((Qi,xc)=>{Qi.formatArgs=JV;Qi.save=ZV;Qi.load=KV;Qi.useColors=VV;Qi.storage=QV();Qi.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Qi.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function VV(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function JV(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+xc.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let i=0,n=0;t[0].replace(/%[a-zA-Z%]/g,a=>{a!=="%%"&&(i++,a==="%c"&&(n=i))}),t.splice(n,0,e)}Qi.log=console.debug||console.log||(()=>{});function ZV(t){try{t?Qi.storage.setItem("debug",t):Qi.storage.removeItem("debug")}catch{}}function KV(){let t;try{t=Qi.storage.getItem("debug")||Qi.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function QV(){try{return localStorage}catch{}}xc.exports=fw()(Qi);var{formatters:YV}=xc.exports;YV.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var DE=v((wi,Ec)=>{var XV=require("tty"),Mc=require("util");wi.init=sJ;wi.log=tJ;wi.formatArgs=iJ;wi.save=aJ;wi.load=rJ;wi.useColors=eJ;wi.destroy=Mc.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");wi.colors=[6,2,3,4,5,1];try{let t=require("supports-color");t&&(t.stderr||t).level>=2&&(wi.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}wi.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let i=e.substring(6).toLowerCase().replace(/_([a-z])/g,(a,r)=>r.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[i]=n,t},{});function eJ(){return"colors"in wi.inspectOpts?!!wi.inspectOpts.colors:XV.isatty(process.stderr.fd)}function iJ(t){let{namespace:e,useColors:i}=this;if(i){let n=this.color,a="\x1B[3"+(n<8?n:"8;5;"+n),r=` ${a};1m${e} \x1B[0m`;t[0]=r+t[0].split(` `).join(` -`+r),t.push(a+"m+"+np.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Y4()+e+" "+t[0]}function Y4(){return bn.inspectOpts.hideDate?"":new Date().toISOString()+" "}function X4(...t){return process.stderr.write(ep.formatWithOptions(bn.inspectOpts,...t)+` -`)}function e3(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function n3(){return process.env.DEBUG}function i3(t){t.inspectOpts={};let e=Object.keys(bn.inspectOpts);for(let n=0;ne.trim()).join(" ")};Dk.O=function(t){return this.inspectOpts.colors=this.useColors,ep.inspect(t,this.inspectOpts)}});var Ko=v((wue,nv)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?nv.exports=zk():nv.exports=Gk()});var $k=v(iv=>{"use strict";Object.defineProperty(iv,"__esModule",{value:!0});function t3(t){return function(e,n){return new Promise((i,a)=>{t.call(this,e,n,(r,s)=>{r?a(r):i(s)})})}}iv.default=t3});var Lk=v((av,Uk)=>{"use strict";var Nk=av&&av.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},a3=require("events"),r3=Nk(Ko()),s3=Nk($k()),Qo=r3.default("agent-base");function o3(t){return!!t&&typeof t.addRequest=="function"}function tv(){let{stack:t}=new Error;return typeof t!="string"?!1:t.split(` -`).some(e=>e.indexOf("(https.js:")!==-1||e.indexOf("node:https:")!==-1)}function ip(t,e){return new ip.Agent(t,e)}(function(t){class e extends a3.EventEmitter{constructor(i,a){super();let r=a;typeof i=="function"?this.callback=i:i&&(r=i),this.timeout=null,r&&typeof r.timeout=="number"&&(this.timeout=r.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return typeof this.explicitDefaultPort=="number"?this.explicitDefaultPort:tv()?443:80}set defaultPort(i){this.explicitDefaultPort=i}get protocol(){return typeof this.explicitProtocol=="string"?this.explicitProtocol:tv()?"https:":"http:"}set protocol(i){this.explicitProtocol=i}callback(i,a,r){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(i,a){let r=Object.assign({},a);typeof r.secureEndpoint!="boolean"&&(r.secureEndpoint=tv()),r.host==null&&(r.host="localhost"),r.port==null&&(r.port=r.secureEndpoint?443:80),r.protocol==null&&(r.protocol=r.secureEndpoint?"https:":"http:"),r.host&&r.path&&delete r.path,delete r.agent,delete r.hostname,delete r._defaultAgent,delete r.defaultPort,delete r.createConnection,i._last=!0,i.shouldKeepAlive=!1;let s=!1,o=null,l=r.timeout||this.timeout,u=d=>{i._hadError||(i.emit("error",d),i._hadError=!0)},c=()=>{o=null,s=!0;let d=new Error(`A "socket" was not created for HTTP request before ${l}ms`);d.code="ETIMEOUT",u(d)},p=d=>{s||(o!==null&&(clearTimeout(o),o=null),u(d))},h=d=>{if(s)return;if(o!=null&&(clearTimeout(o),o=null),o3(d)){Qo("Callback returned another Agent instance %o",d.constructor.name),d.addRequest(i,r);return}if(d){d.once("free",()=>{this.freeSocket(d,r)}),i.onSocket(d);return}let g=new Error(`no Duplex stream was returned to agent-base for \`${i.method} ${i.path}\``);u(g)};if(typeof this.callback!="function"){u(new Error("`callback` is not defined"));return}this.promisifiedCallback||(this.callback.length>=3?(Qo("Converting legacy callback function to promise"),this.promisifiedCallback=s3.default(this.callback)):this.promisifiedCallback=this.callback),typeof l=="number"&&l>0&&(o=setTimeout(c,l)),"port"in r&&typeof r.port!="number"&&(r.port=Number(r.port));try{Qo("Resolving socket for %o request: %o",r.protocol,`${i.method} ${i.path}`),Promise.resolve(this.promisifiedCallback(i,r)).then(h,p)}catch(d){Promise.reject(d).catch(p)}}freeSocket(i,a){Qo("Freeing socket %o %o",i.constructor.name,a),i.destroy()}destroy(){Qo("Destroying agent %o",this.constructor.name)}}t.Agent=e,t.prototype=t.Agent.prototype})(ip||(ip={}));Uk.exports=ip});var Wk=v(Xo=>{"use strict";var l3=Xo&&Xo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Xo,"__esModule",{value:!0});var u3=l3(Ko()),Yo=u3.default("https-proxy-agent:parse-proxy-response");function c3(t){return new Promise((e,n)=>{let i=0,a=[];function r(){let p=t.read();p?c(p):t.once("readable",r)}function s(){t.removeListener("end",l),t.removeListener("error",u),t.removeListener("close",o),t.removeListener("readable",r)}function o(p){Yo("onclose had error %o",p)}function l(){Yo("onend")}function u(p){s(),Yo("onerror %o",p),n(p)}function c(p){a.push(p),i+=p.length;let h=Buffer.concat(a,i);if(h.indexOf(`\r +`+r),t.push(a+"m+"+Ec.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=nJ()+e+" "+t[0]}function nJ(){return wi.inspectOpts.hideDate?"":new Date().toISOString()+" "}function tJ(...t){return process.stderr.write(Mc.formatWithOptions(wi.inspectOpts,...t)+` +`)}function aJ(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function rJ(){return process.env.DEBUG}function sJ(t){t.inspectOpts={};let e=Object.keys(wi.inspectOpts);for(let i=0;ie.trim()).join(" ")};zE.O=function(t){return this.inspectOpts.colors=this.useColors,Mc.inspect(t,this.inspectOpts)}});var qo=v(($re,ww)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ww.exports=RE():ww.exports=DE()});var GE=v(vw=>{"use strict";Object.defineProperty(vw,"__esModule",{value:!0});function oJ(t){return function(e,i){return new Promise((n,a)=>{t.call(this,e,i,(r,s)=>{r?a(r):n(s)})})}}vw.default=oJ});var UE=v((Aw,NE)=>{"use strict";var $E=Aw&&Aw.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},lJ=require("events"),uJ=$E(qo()),cJ=$E(GE()),_o=uJ.default("agent-base");function pJ(t){return!!t&&typeof t.addRequest=="function"}function Cw(){let{stack:t}=new Error;return typeof t!="string"?!1:t.split(` +`).some(e=>e.indexOf("(https.js:")!==-1||e.indexOf("node:https:")!==-1)}function kc(t,e){return new kc.Agent(t,e)}(function(t){class e extends lJ.EventEmitter{constructor(n,a){super();let r=a;typeof n=="function"?this.callback=n:n&&(r=n),this.timeout=null,r&&typeof r.timeout=="number"&&(this.timeout=r.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return typeof this.explicitDefaultPort=="number"?this.explicitDefaultPort:Cw()?443:80}set defaultPort(n){this.explicitDefaultPort=n}get protocol(){return typeof this.explicitProtocol=="string"?this.explicitProtocol:Cw()?"https:":"http:"}set protocol(n){this.explicitProtocol=n}callback(n,a,r){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(n,a){let r=Object.assign({},a);typeof r.secureEndpoint!="boolean"&&(r.secureEndpoint=Cw()),r.host==null&&(r.host="localhost"),r.port==null&&(r.port=r.secureEndpoint?443:80),r.protocol==null&&(r.protocol=r.secureEndpoint?"https:":"http:"),r.host&&r.path&&delete r.path,delete r.agent,delete r.hostname,delete r._defaultAgent,delete r.defaultPort,delete r.createConnection,n._last=!0,n.shouldKeepAlive=!1;let s=!1,o=null,l=r.timeout||this.timeout,u=h=>{n._hadError||(n.emit("error",h),n._hadError=!0)},c=()=>{o=null,s=!0;let h=new Error(`A "socket" was not created for HTTP request before ${l}ms`);h.code="ETIMEOUT",u(h)},p=h=>{s||(o!==null&&(clearTimeout(o),o=null),u(h))},d=h=>{if(s)return;if(o!=null&&(clearTimeout(o),o=null),pJ(h)){_o("Callback returned another Agent instance %o",h.constructor.name),h.addRequest(n,r);return}if(h){h.once("free",()=>{this.freeSocket(h,r)}),n.onSocket(h);return}let g=new Error(`no Duplex stream was returned to agent-base for \`${n.method} ${n.path}\``);u(g)};if(typeof this.callback!="function"){u(new Error("`callback` is not defined"));return}this.promisifiedCallback||(this.callback.length>=3?(_o("Converting legacy callback function to promise"),this.promisifiedCallback=cJ.default(this.callback)):this.promisifiedCallback=this.callback),typeof l=="number"&&l>0&&(o=setTimeout(c,l)),"port"in r&&typeof r.port!="number"&&(r.port=Number(r.port));try{_o("Resolving socket for %o request: %o",r.protocol,`${n.method} ${n.path}`),Promise.resolve(this.promisifiedCallback(n,r)).then(d,p)}catch(h){Promise.reject(h).catch(p)}}freeSocket(n,a){_o("Freeing socket %o %o",n.constructor.name,a),n.destroy()}destroy(){_o("Destroying agent %o",this.constructor.name)}}t.Agent=e,t.prototype=t.Agent.prototype})(kc||(kc={}));NE.exports=kc});var WE=v(Io=>{"use strict";var dJ=Io&&Io.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Io,"__esModule",{value:!0});var hJ=dJ(qo()),Ho=hJ.default("https-proxy-agent:parse-proxy-response");function gJ(t){return new Promise((e,i)=>{let n=0,a=[];function r(){let p=t.read();p?c(p):t.once("readable",r)}function s(){t.removeListener("end",l),t.removeListener("error",u),t.removeListener("close",o),t.removeListener("readable",r)}function o(p){Ho("onclose had error %o",p)}function l(){Ho("onend")}function u(p){s(),Ho("onerror %o",p),i(p)}function c(p){a.push(p),n+=p.length;let d=Buffer.concat(a,n);if(d.indexOf(`\r \r -`)===-1){Yo("have not received end of HTTP headers yet..."),r();return}let g=h.toString("ascii",0,h.indexOf(`\r -`)),m=+g.split(" ")[1];Yo("got proxy server response: %o",g),e({statusCode:m,buffered:h})}t.on("error",u),t.on("close",o),t.on("end",l),r()})}Xo.default=c3});var Vk=v(La=>{"use strict";var p3=La&&La.__awaiter||function(t,e,n,i){function a(r){return r instanceof n?r:new n(function(s){s(r)})}return new(n||(n=Promise))(function(r,s){function o(c){try{u(i.next(c))}catch(p){s(p)}}function l(c){try{u(i.throw(c))}catch(p){s(p)}}function u(c){c.done?r(c.value):a(c.value).then(o,l)}u((i=i.apply(t,e||[])).next())})},ss=La&&La.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(La,"__esModule",{value:!0});var Bk=ss(require("net")),Fk=ss(require("tls")),d3=ss(require("url")),h3=ss(require("assert")),g3=ss(Ko()),m3=Lk(),f3=ss(Wk()),el=g3.default("https-proxy-agent:agent"),rv=class extends m3.Agent{constructor(e){let n;if(typeof e=="string"?n=d3.default.parse(e):n=e,!n)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");el("creating new HttpsProxyAgent instance: %o",n),super(n);let i=Object.assign({},n);this.secureProxy=n.secureProxy||C3(i.protocol),i.host=i.hostname||i.host,typeof i.port=="string"&&(i.port=parseInt(i.port,10)),!i.port&&i.host&&(i.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in i)&&(i.ALPNProtocols=["http 1.1"]),i.host&&i.path&&(delete i.path,delete i.pathname),this.proxy=i}callback(e,n){return p3(this,void 0,void 0,function*(){let{proxy:i,secureProxy:a}=this,r;a?(el("Creating `tls.Socket`: %o",i),r=Fk.default.connect(i)):(el("Creating `net.Socket`: %o",i),r=Bk.default.connect(i));let s=Object.assign({},i.headers),l=`CONNECT ${`${n.host}:${n.port}`} HTTP/1.1\r -`;i.auth&&(s["Proxy-Authorization"]=`Basic ${Buffer.from(i.auth).toString("base64")}`);let{host:u,port:c,secureEndpoint:p}=n;v3(c,p)||(u+=`:${c}`),s.Host=u,s.Connection="close";for(let f of Object.keys(s))l+=`${f}: ${s[f]}\r -`;let h=f3.default(r);r.write(`${l}\r -`);let{statusCode:d,buffered:g}=yield h;if(d===200){if(e.once("socket",w3),n.secureEndpoint){el("Upgrading socket connection to TLS");let f=n.servername||n.host;return Fk.default.connect(Object.assign(Object.assign({},A3(n,"host","hostname","path","port")),{socket:r,servername:f}))}return r}r.destroy();let m=new Bk.default.Socket({writable:!1});return m.readable=!0,e.once("socket",f=>{el("replaying proxy buffer for failed request"),h3.default(f.listenerCount("data")>0),f.push(g),f.push(null)}),m})}};La.default=rv;function w3(t){t.resume()}function v3(t,e){return!!(!e&&t===80||e&&t===443)}function C3(t){return typeof t=="string"?/^https:?$/i.test(t):!1}function A3(t,...e){let n={},i;for(i in t)e.includes(i)||(n[i]=t[i]);return n}});var Zk=v((lv,Jk)=>{"use strict";var b3=lv&&lv.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},sv=b3(Vk());function ov(t){return new sv.default(t)}(function(t){t.HttpsProxyAgent=sv.default,t.prototype=sv.default.prototype})(ov||(ov={}));Jk.exports=ov});var Qk=v((bue,Kk)=>{var nl;Kk.exports=function(){if(!nl){try{nl=Ko()("follow-redirects")}catch{}typeof nl!="function"&&(nl=function(){})}nl.apply(null,arguments)}});var iq=v((yue,Av)=>{var tl=require("url"),il=tl.URL,y3=require("http"),P3=require("https"),hv=require("stream").Writable,gv=require("assert"),Yk=Qk();(function(){var e=typeof process<"u",n=typeof window<"u"&&typeof document<"u",i=Ba(Error.captureStackTrace);!e&&(n||!i)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var mv=!1;try{gv(new il(""))}catch(t){mv=t.code==="ERR_INVALID_URL"}var j3=["Authorization","Proxy-Authorization","Cookie"],S3=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],fv=["abort","aborted","connect","error","socket","timeout"],wv=Object.create(null);fv.forEach(function(t){wv[t]=function(e,n,i){this._redirectable.emit(t,e,n,i)}});var cv=al("ERR_INVALID_URL","Invalid URL",TypeError),pv=al("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),O3=al("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",pv),x3=al("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),T3=al("ERR_STREAM_WRITE_AFTER_END","write after end"),M3=hv.prototype.destroy||eq;function ni(t,e){hv.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var n=this;this._onNativeResponse=function(i){try{n._processResponse(i)}catch(a){n.emit("error",a instanceof pv?a:new pv({cause:a}))}},this._headerFilter=new RegExp("^(?:"+j3.concat(t.sensitiveHeaders).map(I3).join("|")+")$","i"),this._performRequest()}ni.prototype=Object.create(hv.prototype);ni.prototype.abort=function(){Cv(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};ni.prototype.destroy=function(t){return Cv(this._currentRequest,t),M3.call(this,t),this};ni.prototype.write=function(t,e,n){if(this._ending)throw new T3;if(!Wa(t)&&!_3(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(Ba(e)&&(n=e,e=null),t.length===0){n&&n();return}this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,n)):(this.emit("error",new x3),this.abort())};ni.prototype.end=function(t,e,n){if(Ba(t)?(n=t,t=e=null):Ba(e)&&(n=e,e=null),!t)this._ended=this._ending=!0,this._currentRequest.end(null,null,n);else{var i=this,a=this._currentRequest;this.write(t,e,function(){i._ended=!0,a.end(null,null,n)}),this._ending=!0}};ni.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};ni.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};ni.prototype.setTimeout=function(t,e){var n=this;function i(s){s.setTimeout(t),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function a(s){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),r()},t),i(s)}function r(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",r),n.removeListener("error",r),n.removeListener("response",r),n.removeListener("close",r),e&&n.removeListener("timeout",e),n.socket||n._currentRequest.removeListener("socket",a)}return e&&this.on("timeout",e),this.socket?a(this.socket):this._currentRequest.once("socket",a),this.on("socket",i),this.on("abort",r),this.on("error",r),this.on("response",r),this.on("close",r),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(t){ni.prototype[t]=function(e,n){return this._currentRequest[t](e,n)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(ni.prototype,t,{get:function(){return this._currentRequest[t]}})});ni.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),q3(t.sensitiveHeaders)||(t.sensitiveHeaders=[]),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}};ni.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(!e)throw new TypeError("Unsupported protocol "+t);if(this._options.agents){var n=t.slice(0,-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=e.request(this._options,this._onNativeResponse);i._redirectable=this;for(var a of fv)i.on(a,wv[a]);if(this._currentUrl=/^\//.test(this._options.path)?tl.format(this._options):this._options.path,this._isRedirect){var r=0,s=this,o=this._requestBodyBuffers;(function l(u){if(i===s._currentRequest)if(u)s.emit("error",u);else if(r=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(Cv(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)throw new O3;var i,a=this._options.beforeRedirect;a&&(i=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var r=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],uv(/^content-/i,this._options.headers));var s=uv(/^host$/i,this._options.headers),o=vv(this._currentUrl),l=s||o.host,u=/^\w+:/.test(n)?this._currentUrl:tl.format(Object.assign(o,{host:l})),c=E3(n,u);if(Yk("redirecting to",c.href),this._isRedirect=!0,dv(c,this._options),(c.protocol!==o.protocol&&c.protocol!=="https:"||c.host!==l&&!k3(c.host,l))&&uv(this._headerFilter,this._options.headers),Ba(a)){var p={headers:t.headers,statusCode:e},h={url:u,method:r,headers:i};a(this._options,p,h),this._sanitizeOptions(this._options)}this._performRequest()};function Xk(t){var e={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(t).forEach(function(i){var a=i+":",r=n[a]=t[i],s=e[i]=Object.create(r);function o(u,c,p){return H3(u)?u=dv(u):Wa(u)?u=dv(vv(u)):(p=c,c=nq(u),u={protocol:a}),Ba(c)&&(p=c,c=null),c=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},u,c),c.nativeProtocols=n,!Wa(c.host)&&!Wa(c.hostname)&&(c.hostname="::1"),gv.equal(c.protocol,a,"protocol mismatch"),Yk("options",c),new ni(c,p)}function l(u,c,p){var h=s.request(u,c,p);return h.end(),h}Object.defineProperties(s,{request:{value:o,configurable:!0,enumerable:!0,writable:!0},get:{value:l,configurable:!0,enumerable:!0,writable:!0}})}),e}function eq(){}function vv(t){var e;if(mv)e=new il(t);else if(e=nq(tl.parse(t)),!Wa(e.protocol))throw new cv({input:t});return e}function E3(t,e){return mv?new il(t,e):vv(tl.resolve(e,t))}function nq(t){if(/^\[/.test(t.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(t.hostname))throw new cv({input:t.href||t});if(/^\[/.test(t.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(t.host))throw new cv({input:t.href||t});return t}function dv(t,e){var n=e||{};for(var i of S3)n[i]=t[i];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),n.port!==""&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function uv(t,e){var n;for(var i in e)t.test(i)&&(n=e[i],delete e[i]);return n===null||typeof n>"u"?void 0:String(n).trim()}function al(t,e,n){function i(a){Ba(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,a||{}),this.code=t,this.message=this.cause?e+": "+this.cause.message:e}return i.prototype=new(n||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+t+"]",enumerable:!1}}),i}function Cv(t,e){for(var n of fv)t.removeListener(n,wv[n]);t.on("error",eq),t.destroy(e)}function k3(t,e){gv(Wa(t)&&Wa(e));var n=t.length-e.length-1;return n>0&&t[n]==="."&&t.endsWith(e)}function q3(t){return t instanceof Array}function Wa(t){return typeof t=="string"||t instanceof String}function Ba(t){return typeof t=="function"}function _3(t){return typeof t=="object"&&"length"in t}function H3(t){return il&&t instanceof il}function I3(t){return t.replace(/[\]\\/()*+?.$]/g,"\\$&")}Av.exports=Xk({http:y3,https:P3});Av.exports.wrap=Xk});var v_=v((Pue,w_)=>{"use strict";var _q=Hk(),R3=require("crypto"),z3=require("url"),Hq=Zk(),Iq=require("http"),Rq=require("https"),zq=require("http2"),Nv=require("util"),tq=require("path"),D3=iq(),yi=require("zlib"),ii=require("stream"),G3=require("events");function Dq(t,e){return function(){return t.apply(e,arguments)}}var{toString:$3}=Object.prototype,{getPrototypeOf:us}=Object,{iterator:ul,toStringTag:Gq}=Symbol,lp=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),sl=(t,e)=>{let n=t,i=[];for(;n!=null&&n!==Object.prototype;){if(i.indexOf(n)!==-1)return!1;if(i.push(n),lp(n,e))return!0;n=us(n)}return!1},N3=(t,e)=>t!=null&&sl(t,e)?t[e]:void 0,Uv=(t=>e=>{let n=$3.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Pi=t=>(t=t.toLowerCase(),e=>Uv(e)===t),gp=t=>e=>typeof e===t,{isArray:Ja}=Array,Za=gp("undefined");function ps(t){return t!==null&&!Za(t)&&t.constructor!==null&&!Za(t.constructor)&&ti(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var $q=Pi("ArrayBuffer");function U3(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&$q(t.buffer),e}var L3=gp("string"),ti=gp("function"),Nq=gp("number"),ds=t=>t!==null&&typeof t=="object",W3=t=>t===!0||t===!1,rp=t=>{if(!ds(t))return!1;let e=us(t);return(e===null||e===Object.prototype||us(e)===null)&&!sl(t,Gq)&&!sl(t,ul)},B3=t=>{if(!ds(t)||ps(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},F3=Pi("Date"),V3=Pi("File"),J3=t=>!!(t&&typeof t.uri<"u"),Z3=t=>t&&typeof t.getParts<"u",K3=Pi("Blob"),Q3=Pi("FileList"),Y3=Pi("Set"),X3=t=>ds(t)&&ti(t.pipe);function eZ(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}var aq=eZ(),rq=typeof aq.FormData<"u"?aq.FormData:void 0,nZ=t=>{if(!t)return!1;if(rq&&t instanceof rq)return!0;let e=us(t);if(!e||e===Object.prototype||!ti(t.append))return!1;let n=Uv(t);return n==="formdata"||n==="object"&&ti(t.toString)&&t.toString()==="[object FormData]"},iZ=Pi("URLSearchParams"),[tZ,aZ,rZ,sZ]=["ReadableStream","Request","Response","Headers"].map(Pi),oZ=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function cl(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let i,a;if(typeof t!="object"&&(t=[t]),Ja(t))for(i=0,a=t.length;i0;)if(a=n[i],e===a.toLowerCase())return a;return null}var Fa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Lq=t=>!Za(t)&&t!==Fa;function qv(...t){let{caseless:e,skipUndefined:n}=Lq(this)&&this||{},i={},a=(r,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let o=e&&typeof s=="string"&&Uq(i,s)||s,l=lp(i,o)?i[o]:void 0;rp(l)&&rp(r)?i[o]=qv(l,r):rp(r)?i[o]=qv({},r):Ja(r)?i[o]=r.slice():(!n||!Za(r))&&(i[o]=r)};for(let r=0,s=t.length;r(cl(e,(a,r)=>{n&&ti(a)?Object.defineProperty(t,r,{__proto__:null,value:Dq(a,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,r,{__proto__:null,value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),t),uZ=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),cZ=(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),n&&Object.assign(t.prototype,n)},pZ=(t,e,n,i)=>{let a,r,s,o={};if(e=e||{},t==null)return e;do{for(a=Object.getOwnPropertyNames(t),r=a.length;r-- >0;)s=a[r],(!i||i(s,t,e))&&!o[s]&&(e[s]=t[s],o[s]=!0);t=n!==!1&&us(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},dZ=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;let i=t.indexOf(e,n);return i!==-1&&i===n},hZ=t=>{if(!t)return null;if(Ja(t))return t;let e=t.length;if(!Nq(e))return null;let n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},gZ=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&us(Uint8Array)),mZ=(t,e)=>{let i=(t&&t[ul]).call(t),a;for(;(a=i.next())&&!a.done;){let r=a.value;e.call(t,r[0],r[1])}},fZ=(t,e)=>{let n,i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},wZ=Pi("HTMLFormElement"),vZ=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,a){return i.toUpperCase()+a}),{propertyIsEnumerable:CZ}=Object.prototype,AZ=Pi("RegExp"),Wq=(t,e)=>{let n=Object.getOwnPropertyDescriptors(t),i={};cl(n,(a,r)=>{let s;(s=e(a,r,t))!==!1&&(i[r]=s||a)}),Object.defineProperties(t,i)},bZ=t=>{Wq(t,(e,n)=>{if(ti(t)&&["arguments","caller","callee"].includes(n))return!1;let i=t[n];if(ti(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},yZ=(t,e)=>{let n={},i=a=>{a.forEach(r=>{n[r]=!0})};return Ja(t)?i(t):i(String(t).split(e)),n},PZ=()=>{},jZ=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function SZ(t){return!!(t&&ti(t.append)&&t[Gq]==="FormData"&&t[ul])}var OZ=t=>{let e=new WeakSet,n=i=>{if(ds(i)){if(e.has(i))return;if(ps(i))return i;if(!("toJSON"in i)){e.add(i);let a;if(Y3(i)){a=[];for(let r of i){let s=n(r);!Za(s)&&a.push(s)}}else a=Ja(i)?[]:{},cl(i,(r,s)=>{let o=n(r);!Za(o)&&(a[s]=o)});return e.delete(i),a}}return i};return n(t)},xZ=Pi("AsyncFunction"),TZ=t=>t&&(ds(t)||ti(t))&&ti(t.then)&&ti(t.catch),Bq=((t,e)=>t?setImmediate:e?((n,i)=>(Fa.addEventListener("message",({source:a,data:r})=>{a===Fa&&r===n&&i.length&&i.shift()()},!1),a=>{i.push(a),Fa.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ti(Fa.postMessage)),MZ=typeof queueMicrotask<"u"?queueMicrotask.bind(Fa):typeof process<"u"&&process.nextTick||Bq,Fq=t=>t!=null&&ti(t[ul]),EZ=t=>t!=null&&sl(t,ul)&&Fq(t),C={isArray:Ja,isArrayBuffer:$q,isBuffer:ps,isFormData:nZ,isArrayBufferView:U3,isString:L3,isNumber:Nq,isBoolean:W3,isObject:ds,isPlainObject:rp,isEmptyObject:B3,isReadableStream:tZ,isRequest:aZ,isResponse:rZ,isHeaders:sZ,isUndefined:Za,isDate:F3,isFile:V3,isReactNativeBlob:J3,isReactNative:Z3,isBlob:K3,isRegExp:AZ,isFunction:ti,isStream:X3,isURLSearchParams:iZ,isTypedArray:gZ,isFileList:Q3,forEach:cl,merge:qv,extend:lZ,trim:oZ,stripBOM:uZ,inherits:cZ,toFlatObject:pZ,kindOf:Uv,kindOfTest:Pi,endsWith:dZ,toArray:hZ,forEachEntry:mZ,matchAll:fZ,isHTMLForm:wZ,hasOwnProperty:lp,hasOwnProp:lp,hasOwnInPrototypeChain:sl,getSafeProp:N3,reduceDescriptors:Wq,freezeMethods:bZ,toObjectSet:yZ,toCamelCase:vZ,noop:PZ,toFiniteNumber:jZ,findKey:Uq,global:Fa,isContextDefined:Lq,isSpecCompliantForm:SZ,toJSONObject:OZ,isAsyncFn:xZ,isThenable:TZ,setImmediate:Bq,asap:MZ,isIterable:Fq,isSafeIterable:EZ},kZ=C.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),qZ=t=>{let e={},n,i,a;return t&&t.split(` -`).forEach(function(s){a=s.indexOf(":"),n=s.substring(0,a).trim().toLowerCase(),i=s.substring(a+1).trim();let o=C.hasOwnProp(e,n);!n||o&&C.hasOwnProp(kZ,n)||(n==="set-cookie"?o?e[n].push(i):e[n]=[i]:e[n]=o?e[n]+", "+i:i)}),e};function _Z(t){let e=0,n=t.length;for(;ee;){let i=t.charCodeAt(n-1);if(i!==9&&i!==32)break;n-=1}return e===0&&n===t.length?t:t.slice(e,n)}var HZ=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),IZ=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Lv(t,e){return C.isArray(t)?t.map(n=>Lv(n,e)):_Z(String(t).replace(e,""))}var RZ=t=>Lv(t,HZ),zZ=t=>Lv(t,IZ);function Wv(t){let e=Object.create(null);return C.forEach(t.toJSON(),(n,i)=>{e[i]=zZ(n)}),e}var sq=Symbol("internals");function rl(t){return t&&String(t).trim().toLowerCase()}function sp(t){return t===!1||t==null?t:C.isArray(t)?t.map(sp):RZ(String(t))}function DZ(t){let e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}var GZ=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function bv(t){let e=0,n=t.length;for(;ee;){let i=t.charCodeAt(n-1);if(i!==9&&i!==32)break;n-=1}return e===0&&n===t.length?t:t.slice(e,n)}function $Z(t){let e=t.length-1;if(e<1||t.charCodeAt(0)!==34||t.charCodeAt(e)!==34)return t;let n="";for(let i=1;i=e))return t;n+=t[i]}return n}function NZ(t){let e=Object.create(null),n=String(t),i=0,a=!1,r=!1;function s(o){let l=bv(n.slice(i,o)),u=l.indexOf("=");if(u<1)return;let c=bv(l.slice(0,u));if(!GZ.test(c))return;let p=c.toLowerCase();if(p==="__proto__"||p==="constructor"||p==="prototype")return;let h=bv(l.slice(u+1));e[p]=$Z(h)}for(let o=0;o/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function yv(t,e,n,i,a){if(C.isFunction(i))return i.call(this,e,n);if(a&&(e=n),!!C.isString(e)){if(C.isString(i))return e.indexOf(i)!==-1;if(C.isRegExp(i))return i.test(e)}}function LZ(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function WZ(t,e){let n=C.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{__proto__:null,value:function(a,r,s){return this[i].call(this,e,a,r,s)},configurable:!0})})}var sn=class{constructor(e){e&&this.set(e)}set(e,n,i){let a=this;function r(o,l,u){let c=rl(l);if(!c)return;let p=C.findKey(a,c);(!p||a[p]===void 0||u===!0||u===void 0&&a[p]!==!1)&&(a[p||l]=sp(o))}let s=(o,l)=>C.forEach(o,(u,c)=>r(u,c,l));if(C.isPlainObject(e)||e instanceof this.constructor)s(e,n);else if(C.isString(e)&&(e=e.trim())&&!UZ(e))s(qZ(e),n);else if(C.isObject(e)&&C.isSafeIterable(e)){let o=Object.create(null),l,u;for(let c of e){if(!C.isArray(c))throw new TypeError("Object iterator must return a key-value pair");u=c[0],C.hasOwnProp(o,u)?(l=o[u],o[u]=C.isArray(l)?[...l,c[1]]:[l,c[1]]):o[u]=c[1]}s(o,n)}else e!=null&&r(n,e,i);return this}get(e,n){if(e=rl(e),e){let i=C.findKey(this,e);if(i){let a=this[i];if(!n)return a;if(n===!0)return DZ(a);if(C.isFunction(n))return n.call(this,a,i);if(C.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=rl(e),e){let i=C.findKey(this,e);return!!(i&&this[i]!==void 0&&(!n||yv(this,this[i],i,n)))}return!1}delete(e,n){let i=this,a=!1;function r(s){if(s=rl(s),s){let o=C.findKey(i,s);o&&(!n||yv(i,i[o],o,n))&&(delete i[o],a=!0)}}return C.isArray(e)?e.forEach(r):r(e),a}clear(e){let n=Object.keys(this),i=n.length,a=!1;for(;i--;){let r=n[i];(!e||yv(this,this[r],r,e,!0))&&(delete this[r],a=!0)}return a}normalize(e){let n=this,i={};return C.forEach(this,(a,r)=>{let s=C.findKey(i,r);if(s){n[s]=sp(a),delete n[r];return}let o=e?LZ(r):String(r).trim();o!==r&&delete n[r],n[o]=sp(a),i[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let n=Object.create(null);return C.forEach(this,(i,a)=>{i!=null&&i!==!1&&(n[a]=e&&C.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` -`)}getSetCookie(){let e=this.get("set-cookie");return C.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return NZ(e)}static concat(e,...n){let i=new this(e);return n.forEach(a=>i.set(a)),i}static accessor(e){let i=(this[sq]=this[sq]={accessors:{}}).accessors,a=this.prototype;function r(s){let o=rl(s);i[o]||(WZ(a,s),i[o]=!0)}return C.isArray(e)?e.forEach(r):r(e),this}};sn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);C.reduceDescriptors(sn.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(i){this[n]=i}}});C.freezeMethods(sn);var up="[REDACTED ****]";function BZ(t){if(C.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(C.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}function FZ(t,e){let n=new Set(e.map(r=>String(r).toLowerCase())),i=[],a=r=>{if(r===null||typeof r!="object"||C.isBuffer(r))return r;if(i.indexOf(r)!==-1)return;r instanceof sn&&(r=r.toJSON()),i.push(r);let s;if(C.isArray(r))s=[],r.forEach((o,l)=>{let u=a(o);C.isUndefined(u)||(s[l]=u)});else{if(!C.isPlainObject(r)&&BZ(r))return i.pop(),r;s=Object.create(null);for(let[o,l]of Object.entries(r)){let u=n.has(o.toLowerCase())?up:a(l);C.isUndefined(u)||(s[o]=u)}}return i.pop(),s};return a(t)}function oq(t){try{return String(t)}catch{return""}}function VZ(t){return t.errors.map(n=>{try{return n&&n.message?oq(n.message):oq(n)}catch{return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}var x=class t extends Error{static from(e,n,i,a,r,s){let o=e.message;!o&&C.isArray(e.errors)&&e.errors.length&&(o=VZ(e));let l=new t(o,n||e.code,i,a,r);return Object.defineProperty(l,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),l.name=e.name,e.status!=null&&l.status==null&&(l.status=e.status),s&&Object.assign(l,s),l}constructor(e,n,i,a,r){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),i&&(this.config=i),a&&(this.request=a),r&&(this.response=r,this.status=r.status)}toJSON(){let e=this.config,n=e&&C.hasOwnProp(e,"redact")?e.redact:void 0,i=C.isArray(n)&&n.length>0?FZ(e,n):C.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:i,code:this.code,status:this.status}}};x.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";x.ERR_BAD_OPTION="ERR_BAD_OPTION";x.ECONNABORTED="ECONNABORTED";x.ETIMEDOUT="ETIMEDOUT";x.ECONNREFUSED="ECONNREFUSED";x.ERR_NETWORK="ERR_NETWORK";x.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";x.ERR_DEPRECATED="ERR_DEPRECATED";x.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";x.ERR_BAD_REQUEST="ERR_BAD_REQUEST";x.ERR_CANCELED="ERR_CANCELED";x.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";x.ERR_INVALID_URL="ERR_INVALID_URL";x.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Pv={isBufferAvailable(){return typeof Buffer<"u"},from(t){return Buffer.from(t)}},Vq=100;function _v(t){return C.isPlainObject(t)||C.isArray(t)}function Jq(t){return C.endsWith(t,"[]")?t.slice(0,-2):t}function jv(t,e,n){return t?t.concat(e).map(function(a,r){return a=Jq(a),!n&&r?"["+a+"]":a}).join(n?".":""):e}function JZ(t){return C.isArray(t)&&!t.some(_v)}var ZZ=C.toFlatObject(C,{},null,function(e){return/^is[A-Z]/.test(e)});function mp(t,e,n){if(!C.isObject(t))throw new TypeError("target must be an object");e=e||new(_q||FormData),n=C.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,A){return!C.isUndefined(A[b])});let i=n.metaTokens,a=n.visitor||g,r=n.dots,s=n.indexes,o=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?Vq:n.maxDepth,u=o&&C.isSpecCompliantForm(e),c=[];if(!C.isFunction(a))throw new TypeError("visitor must be a function");function p(w){if(w===null)return"";if(C.isDate(w))return w.toISOString();if(C.isBoolean(w))return w.toString();if(!u&&C.isBlob(w))throw new x("Blob is not supported. Use a Buffer instead.");if(C.isArrayBuffer(w)||C.isTypedArray(w)){if(u&&typeof o=="function")return new o([w]);if(Pv&&Pv.isBufferAvailable())return Pv.from(w);throw new x("Blob is not supported. Use a Buffer instead.",x.ERR_NOT_SUPPORT)}return w}function h(w){if(w>l)throw new x("Object is too deeply nested ("+w+" levels). Max depth: "+l,x.ERR_FORM_DATA_DEPTH_EXCEEDED)}function d(w,b){if(l===1/0)return JSON.stringify(w);let A=[];return JSON.stringify(w,function(S,q){if(!C.isObject(q))return q;for(;A.length&&A[A.length-1]!==this;)A.pop();return A.push(q),h(b+A.length-1),q})}function g(w,b,A){let y=w;if(C.isReactNative(e)&&C.isReactNativeBlob(w))return e.append(jv(A,b,r),p(w)),!1;if(w&&!A&&typeof w=="object"){if(C.endsWith(b,"{}"))b=i?b:b.slice(0,-2),w=d(w,1);else if(C.isArray(w)&&JZ(w)||(C.isFileList(w)||C.endsWith(b,"[]"))&&(y=C.toArray(w)))return b=Jq(b),y.forEach(function(q,N){!(C.isUndefined(q)||q===null)&&e.append(s===!0?jv([b],N,r):s===null?b:b+"[]",p(q))}),!1}return _v(w)?!0:(e.append(jv(A,b,r),p(w)),!1)}let m=Object.assign(ZZ,{defaultVisitor:g,convertValue:p,isVisitable:_v});function f(w,b,A=0){if(!C.isUndefined(w)){if(h(A),c.indexOf(w)!==-1)throw new Error("Circular reference detected in "+b.join("."));c.push(w),C.forEach(w,function(S,q){(!(C.isUndefined(S)||S===null)&&a.call(e,S,C.isString(q)?q.trim():q,b,m))===!0&&f(S,b?b.concat(q):[q],A+1)}),c.pop()}}if(!C.isObject(t))throw new TypeError("data must be an object");return f(t),e}function lq(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(i){return e[i]})}function Zq(t,e){this._pairs=[],t&&mp(t,this,e)}var Kq=Zq.prototype;Kq.append=function(e,n){this._pairs.push([e,n])};Kq.toString=function(e){let n=e?i=>e.call(this,i,lq):lq;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function KZ(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Bv(t,e,n){if(!e)return t;t=t||"";let i=C.isFunction(n)?{serialize:n}:n,a=C.getSafeProp(i,"encode")||KZ,r=C.getSafeProp(i,"serialize"),s;if(r?s=r(e,i):s=C.isURLSearchParams(e)?e.toString():new Zq(e,i).toString(a),s){let o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}var cp=class{constructor(){this.handlers=[]}use(e,n,i){return this.handlers.push({fulfilled:e,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){C.forEach(this.handlers,function(i){i!==null&&e(i)})}},fp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},QZ=z3.URLSearchParams,Sv="abcdefghijklmnopqrstuvwxyz",uq="0123456789",Qq={DIGIT:uq,ALPHA:Sv,ALPHA_DIGIT:Sv+Sv.toUpperCase()+uq},YZ=(t=16,e=Qq.ALPHA_DIGIT)=>{let n="",{length:i}=e,a=new Uint32Array(t);R3.randomFillSync(a);for(let r=0;rcq)throw new x("FormData field is too deeply nested ("+t+" levels). Max depth: "+cq,x.ERR_FORM_DATA_DEPTH_EXCEEDED)}function r5(t){let e=[],n=/[^.[\]]+|\[([^.[\]]*)]/g,i;for(;(i=n.exec(t))!==null;)Yq(e.length),e.push(i[0]==="[]"?"":i[1]||i[0]);return e}function s5(t){let e={},n=Object.keys(t),i,a=n.length,r;for(i=0;i=n.length;return s=!s&&C.isArray(a)?a.length:s,l?(C.hasOwnProp(a,s)?a[s]=C.isArray(a[s])?a[s].concat(i):[a[s],i]:a[s]=i,!o):((!C.hasOwnProp(a,s)||!C.isObject(a[s]))&&(a[s]=[]),e(n,i,a[s],r)&&C.isArray(a[s])&&(a[s]=s5(a[s])),!o)}if(C.isFormData(t)&&C.isFunction(t.entries)){let n={};return C.forEachEntry(t,(i,a)=>{e(r5(i),a,n,0)}),n}return null}var os=(t,e)=>t!=null&&C.hasOwnProp(t,e)?t[e]:void 0;function o5(t,e,n){if(C.isString(t))try{return(e||JSON.parse)(t),C.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(t)}var pl={transitional:fp,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){let i=n.getContentType()||"",a=i.indexOf("application/json")>-1,r=C.isObject(e);if(r&&C.isHTMLForm(e)&&(e=new FormData(e)),C.isFormData(e))return a?JSON.stringify(Xq(e)):e;if(C.isArrayBuffer(e)||C.isBuffer(e)||C.isStream(e)||C.isFile(e)||C.isBlob(e)||C.isReadableStream(e))return e;if(C.isArrayBufferView(e))return e.buffer;if(C.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(r){let l=os(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return a5(e,l).toString();if((o=C.isFileList(e))||i.indexOf("multipart/form-data")>-1){let u=os(this,"env"),c=u&&u.FormData;return mp(o?{"files[]":e}:e,c&&new c,l)}}return r||a?(n.setContentType("application/json",!1),o5(e)):e}],transformResponse:[function(e){let n=os(this,"transitional")||pl.transitional,i=n&&n.forcedJSONParsing,a=os(this,"responseType"),r=a==="json";if(C.isResponse(e)||C.isReadableStream(e))return e;if(e&&C.isString(e)&&(i&&!a||r)){let o=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(e,os(this,"parseReviver"))}catch(l){if(o)throw l.name==="SyntaxError"?x.from(l,x.ERR_BAD_RESPONSE,this,null,os(this,"response")):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qe.classes.FormData,Blob:Qe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(["delete","get","head","post","put","patch","query"],t=>{pl.headers[t]={}});function Ov(t,e){let n=this||pl,i=e||n,a=sn.from(i.headers),r=i.data;return C.forEach(t,function(o){r=o.call(n,r,a.normalize(),e?e.status:void 0)}),a.normalize(),r}function e_(t){return!!(t&&t.__CANCEL__)}var At=class extends x{constructor(e,n,i){super(e??"canceled",x.ERR_CANCELED,n,i),this.name="CanceledError",this.__CANCEL__=!0}};function ls(t,e,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new x("Request failed with status code "+n.status,n.status>=400&&n.status<500?x.ERR_BAD_REQUEST:x.ERR_BAD_RESPONSE,n.config,n.request,n))}function l5(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function u5(t,e){if(!e)return t;let n=t.length;for(;n>0&&t.charCodeAt(n-1)===47;)n--;return t.slice(0,n)+"/"+e.replace(/^\/+/,"")}var c5=/^https?:(?!\/\/)/i,p5=/[\t\n\r]/g;function d5(t){let e=0;for(;e`${n}${i}${up}`)}function m5(t){let e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${up}@`),n=e.indexOf("#"),a=(n===-1?e:e.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${up}`);return n===-1?a:`${a}#${g5(e.slice(n+1))}`}function pq(t,e){if(typeof t=="string"){let n=h5(t);if(c5.test(n))throw new x(`Invalid URL ${JSON.stringify(m5(n))}: missing "//" after protocol`,x.ERR_INVALID_URL,e)}}function Vv(t,e,n,i){pq(e,i);let a=!l5(e);return t&&(a||n===!1)?(pq(t,i),u5(t,e)):e}var f5={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function w5(t){try{return new URL(t)}catch{return null}}function v5(t){var e=(typeof t=="string"?w5(t):t)||{},n=e.protocol,i=e.host,a=e.port;if(typeof i!="string"||!i||typeof n!="string"||(n=n.split(":",1)[0],i=i.replace(/:\d*$/,""),a=parseInt(a)||f5[n]||0,!C5(i,a)))return"";var r=Iv(n+"_proxy")||Iv("all_proxy");return r&&r.indexOf("://")===-1&&(r=n+"://"+r),r}function C5(t,e){var n=Iv("no_proxy").toLowerCase();return n?n==="*"?!1:n.split(/[,\s]/).every(function(i){if(!i)return!0;var a=i.match(/^(.+):(\d+)$/),r=a?a[1]:i,s=a?parseInt(a[2]):0;return s&&s!==e?!0:/^[.*]/.test(r)?(r.charAt(0)==="*"&&(r=r.slice(1)),!t.endsWith(r)):t!==r}):!0}function Iv(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}var ol="1.19.0";function n_(t){let e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}var A5=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function b5(t,e,n){let i=n&&n.Blob||Qe.classes.Blob,a=n_(t);if(e===void 0&&i&&(e=!0),a==="data"){t=a.length?t.slice(a.length+1):t;let r=A5.exec(t);if(!r)throw new x("Invalid URL",x.ERR_INVALID_URL);let s=r[1],o=r[2],l=r[3]?"base64":"utf8",u=r[4],c="";s?c=o?s+o:s:o&&(c="text/plain"+o);let p=l==="base64"?Buffer.from(u,"base64"):Buffer.from(decodeURIComponent(u),l);if(e){if(!i)throw new x("Blob is not supported",x.ERR_NOT_SUPPORT);return new i([p],{type:c})}return p}throw new x("Unsupported protocol "+a,x.ERR_NOT_SUPPORT)}var y5=["content-type","content-length"];function i_(t,e,n){if(n!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([i,a])=>{y5.includes(i.toLowerCase())&&t.set(i,a)})}var xv=Symbol("internals"),pp=class extends ii.Transform{constructor(e){e=C.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(i,a)=>!C.isUndefined(a[i])),super({readableHighWaterMark:e.chunkSize});let n=this[xv]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",i=>{i==="progress"&&(n.isCaptured||(n.isCaptured=!0))})}_read(e){let n=this[xv];return n.onReadCallback&&n.onReadCallback(),super._read(e)}_transform(e,n,i){let a=this[xv],r=a.maxRate,s=this.readableHighWaterMark,o=a.timeWindow,l=1e3/o,u=r/l,c=a.minChunkSize!==!1?Math.max(a.minChunkSize,u*.01):0,p=(d,g)=>{let m=Buffer.byteLength(d);a.bytesSeen+=m,a.bytes+=m,a.isCaptured&&this.emit("progress",a.bytesSeen),this.push(d)?process.nextTick(g):a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(g)}},h=(d,g)=>{let m=Buffer.byteLength(d),f=null,w=s,b,A=0;if(r){let y=Date.now();(!a.ts||(A=y-a.ts)>=o)&&(a.ts=y,b=u-a.bytes,a.bytes=b<0?-b:0,A=0),b=u-a.bytes}if(r){if(b<=0)return setTimeout(()=>{g(null,d)},o-A);bw&&m-w>c&&(f=d.subarray(w),d=d.subarray(0,w)),p(d,f?()=>{process.nextTick(g,null,f)}:g)};h(e,function d(g,m){if(g)return i(g);m?h(m,d):i(null)})}},{asyncIterator:dq}=Symbol,t_=async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[dq]?yield*t[dq]():yield t},P5=Qe.ALPHABET.ALPHA_DIGIT+"-_",ll=typeof TextEncoder=="function"?new TextEncoder:new Nv.TextEncoder,Va=`\r -`,j5=ll.encode(Va),S5=2,Rv=class{constructor(e,n){let{escapeName:i}=this.constructor,a=C.isString(n),r=`Content-Disposition: form-data; name="${i(e)}"${!a&&n.name?`; filename="${i(n.name)}"`:""}${Va}`;if(a)n=ll.encode(String(n).replace(/\r?\n|\r\n?/g,Va));else{let s=String(n.type||"application/octet-stream").replace(/[\r\n]/g,"");r+=`Content-Type: ${s}${Va}`}this.headers=ll.encode(r+Va),this.contentLength=a?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+S5,this.name=e,this.value=n}async*encode(){yield this.headers;let{value:e}=this;C.isTypedArray(e)?yield e:yield*t_(e),yield j5}static escapeName(e){return String(e).replace(/[\r\n"]/g,n=>({"\r":"%0D","\n":"%0A",'"':"%22"})[n])}},O5=(t,e,n)=>{let{tag:i="form-data-boundary",size:a=25,boundary:r=i+"-"+Qe.generateString(a,P5)}=n||{};if(!C.isFormData(t))throw new TypeError("FormData instance required");if(r.length<1||r.length>70)throw new Error("boundary must be 1-70 characters long");let s=ll.encode("--"+r+Va),o=ll.encode("--"+r+"--"+Va),l=o.byteLength,u=Array.from(t.entries()).map(([p,h])=>{let d=new Rv(p,h);return l+=d.size,d});l+=s.byteLength*u.length,l=C.toFiniteNumber(l);let c={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(l)&&(c["Content-Length"]=l),e&&e(c),ii.Readable.from((async function*(){for(let p of u)yield s,yield*p.encode();yield o})())},zv=class extends ii.Transform{__transform(e,n,i){this.push(e),i()}_transform(e,n,i){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let a=Buffer.alloc(2);a[0]=120,a[1]=156,this.push(a,n)}this.__transform(e,n,i)}},Dv=class{constructor(){this.sessions=Object.create(null)}getSession(e,n){n=Object.assign({sessionTimeout:1e3},n);let i=this.sessions[e];if(i){let p=i.length;for(let h=0;h{if(r)return;r=!0,s&&(clearTimeout(s),s=null);let p=i,h=p.length,d=h;for(;d--;)if(p[d][0]===a){h===1?delete this.sessions[e]:p.splice(d,1),a.closed||a.close();return}},l=a.request,{sessionTimeout:u}=n;if(u!=null){let p=0;a.request=function(){let h=l.apply(this,arguments);return p++,s&&(clearTimeout(s),s=null),h.once("close",()=>{--p||(s=setTimeout(()=>{s=null,o()},u))}),h}}a.once("close",o);let c=[a,n];return i?i.push(c):i=this.sessions[e]=[c],a}},x5=(t,e)=>C.isAsyncFn(t)?function(...n){let i=n.pop();t.apply(this,n).then(a=>{try{e?i(null,...e(a)):i(null,a)}catch(r){i(r)}},i)}:t,T5=new Set(["localhost","0.0.0.0"]),a_=t=>{let e=t.split(".");return e.length!==4||e[0]!=="127"?!1:e.every(n=>/^\d+$/.test(n)&&Number(n)>=0&&Number(n)<=255)},Tv=t=>{if(/^0[xX][0-9a-fA-F]+$/.test(t)){let e=parseInt(t.slice(2),16);return Number.isFinite(e)?e:null}if(t.length>1&&/^0[0-7]+$/.test(t)){let e=parseInt(t,8);return Number.isFinite(e)?e:null}if(t.length>1&&/^0[0-9]+$/.test(t))return null;if(/^[0-9]+$/.test(t)){let e=parseInt(t,10);return Number.isFinite(e)?e:null}return null},M5=t=>{if(typeof t!="string"||!t||t.indexOf(":")!==-1)return t;let e=t;if(e.charAt(0)==="["&&e.charAt(e.length-1)==="]"&&(e=e.slice(1,-1)),e=e.replace(/\.+$/,""),!/^[0-9.xXa-fA-F]+$/.test(e))return t;let n=e.split(".");if(n.some(c=>c===""))return t;if(n.length===4){let c=n.map(Tv);return c.some(p=>p===null||p<0||p>255)?t:c.join(".")}if(n.length>4||n.length===1)return t;let i=n.slice(0,-1),a=n[n.length-1],r=4-i.length,s=Tv(a);if(s===null)return t;let o=(1<<8*r)-1;if(s<0||s>o)return t;let l=new Array(r).fill(0);for(let c=r-1,p=s;c>=0;c--,p>>=8)l[c]=p&255;let u=i.map(Tv);return u.some(c=>c===null||c<0||c>255)?t:[...u,...l].join(".")},Mv=t=>/^0{1,4}$/.test(t),E5=t=>{if(t==="::")return!0;let e=t.indexOf("::");if(e!==-1){if(e!==t.lastIndexOf("::"))return!1;let i=t.slice(0,e),a=t.slice(e+2),r=i?i.split(":"):[],s=a?a.split(":"):[];return r.length+s.length<8&&r.every(Mv)&&s.every(Mv)}let n=t.split(":");return n.length===8&&n.every(Mv)},k5=t=>{if(t==="::1")return!0;let e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return a_(e[1]);let n=t.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(n){let a=parseInt(n[1],16);return a>=32512&&a<=32767}let i=t.split(":");if(i.length===8){for(let a=0;a<7;a++)if(!/^0+$/.test(i[a]))return!1;return/^0*1$/.test(i[7])}return!1},hq=t=>t?T5.has(t)||a_(t)||E5(t)?!0:k5(t):!1,q5={http:80,https:443,ws:80,wss:443,ftp:21},_5=t=>{let e=t,n=0;if(e.charAt(0)==="["){let r=e.indexOf("]");if(r!==-1){let s=e.slice(1,r),o=e.slice(r+1);return o.charAt(0)===":"&&/^\d+$/.test(o.slice(1))&&(n=Number.parseInt(o.slice(1),10)),[s,n]}}let i=e.indexOf(":"),a=e.lastIndexOf(":");return i!==-1&&i===a&&/^\d+$/.test(e.slice(a+1))&&(n=Number.parseInt(e.slice(a+1),10),e=e.slice(0,a)),[e,n]},H5=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,I5=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,R5=t=>{if(typeof t!="string"||t.indexOf(":")===-1)return t;let e=t.match(H5);if(e)return e[1];let n=t.match(I5);if(n){let i=parseInt(n[1],16),a=parseInt(n[2],16);return`${i>>8}.${i&255}.${a>>8}.${a&255}`}return t},gq=t=>{if(!t)return t;t.charAt(0)==="["&&t.charAt(t.length-1)==="]"&&(t=t.slice(1,-1));let e=t.replace(/\.+$/,""),n=M5(e);return n!==e?n:R5(e)};function z5(t){let e;try{e=new URL(t)}catch{return!1}let n=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!n)return!1;if(n==="*")return!0;let i=Number.parseInt(e.port,10)||q5[e.protocol.split(":",1)[0]]||0,a=gq(e.hostname.toLowerCase());return n.split(/[\s,]+/).some(r=>{if(!r)return!1;if(r==="*")return!0;let[s,o]=_5(r);return s=gq(s),!s||o&&o!==i?!1:(s.charAt(0)==="*"&&(s=s.slice(1)),s.charAt(0)==="."?a.endsWith(s):a===s||hq(a)&&hq(s))})}function D5(t,e){t=t||10;let n=new Array(t),i=new Array(t),a=0,r=0,s;return e=e!==void 0?e:1e3,function(l){let u=Date.now(),c=i[r];s||(s=u),n[a]=l,i[a]=u;let p=r,h=0;for(;p!==a;)h+=n[p++],p=p%t;if(a=(a+1)%t,a===r&&(r=(r+1)%t),u-s{n=c,a=null,r&&(clearTimeout(r),r=null),t(...u)};return[(...u)=>{let c=Date.now(),p=c-n;p>=i?s(u,c):(a=u,r||(r=setTimeout(()=>{r=null,s(a)},i-p)))},()=>a&&s(a)]}var cs=(t,e,n=3)=>{let i=0,a=D5(50,250);return G5(r=>{if(!r||typeof r.loaded!="number")return;let s=r.loaded,o=r.lengthComputable?r.total:void 0,l=Math.max(0,o!=null?Math.min(s,o):s),u=Math.max(0,l-i),c=a(u);i=Math.max(i,l);let p={loaded:l,total:o,progress:o?l/o:void 0,bytes:u,rate:c||void 0,estimated:c&&o?(o-l)/c:void 0,event:r,lengthComputable:o!=null,[e?"download":"upload"]:!0};t(p)},n)},dp=(t,e)=>{let n=t!=null;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},hp=(t,e=C.asap)=>(...n)=>e(()=>t(...n)),mq=t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,r_=(t,e,n)=>e+2t<=57?t-48:(t&223)-55,$5=t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,N5=t=>t===9||t===10||t===12||t===13||t===32,U5=t=>{let e=Math.floor(t/4),n=t%4;return e*3+(n===2?1:n===3?2:0)},s_=t=>{let e=t.length,n=0;return e>0&&t.charCodeAt(e-1)===61&&(n++,e>1&&t.charCodeAt(e-2)===61&&n++),Math.floor((e-n)*3/4)},L5=t=>{let e=t.length,n=0,i=0,a=!1;for(let r=0;r0){a=!0;continue}n++}}return a||i>2||i>0&&(n+i)%4!==0||n%4===1?s_(t):U5(n)},o_=(t,e)=>{if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;let n=t.indexOf(",");if(n<0)return 0;let i=t.slice(5,n),a=t.slice(n+1);if(/;base64/i.test(i))return e(a);let s=0;for(let o=0,l=a.length;o=55296&&u<=56319&&o+1=56320&&c<=57343?(s+=4,o++):s+=3}else s+=3}return s};function W5(t){let e=typeof t=="string"?t.indexOf("#"):-1;return o_(e===-1?t:t.slice(0,e),L5)}function B5(t){return o_(t,s_)}var wq={flush:yi.constants.Z_SYNC_FLUSH,finishFlush:yi.constants.Z_SYNC_FLUSH},F5={flush:yi.constants.BROTLI_OPERATION_FLUSH,finishFlush:yi.constants.BROTLI_OPERATION_FLUSH},V5={flush:yi.constants.ZSTD_e_flush,finishFlush:yi.constants.ZSTD_e_flush},l_=C.isFunction(yi.createBrotliDecompress),u_=C.isFunction(yi.createZstdDecompress),c_="gzip, compress, deflate"+(l_?", br":""),J5=c_+(u_?", zstd":""),vq=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):C.asap,{http:Z5,https:K5}=D3,Jv=/https:?/,Cq=Symbol("axios.http.socketListener"),tp=Symbol("axios.http.currentReq"),p_=Symbol("axios.http.installedTunnel"),Q5=new Map,Aq=new WeakMap,bq={22:21,24:5};function Y5(t=process.versions&&process.versions.node){if(!t)return!1;let[e,n]=t.split(".").map(i=>Number(i));return!Number.isInteger(e)||!Number.isInteger(n)?!1:e>24?!0:bq[e]!=null&&n>=bq[e]}function X5(t,e=process.versions&&process.versions.node){if(!Y5(e))return!1;let n=t&&t.options;return!!(n&&C.hasOwnProp(n,"proxyEnv")&&n.proxyEnv!=null)}function e9(t,e,n){return Jv.test(t.protocol)?n||Rq.globalAgent:e||Iq.globalAgent}function n9(t,e){let n=t.protocol+"//"+t.hostname+":"+(t.port||"")+"#"+(t.auth||""),i=e?Aq.get(e)||Aq.set(e,new Map).get(e):Q5,a=i.get(n);if(a)return a;let r=e&&e.options?{...e.options,...t}:t;if(a=new Hq(r),e&&e.options){let s={...e.options},o=a.callback;a.callback=function(u,c){return o.call(this,u,{...s,...c})}}return a[p_]=!0,i.set(n,a),a}var yq=Qe.protocols.map(t=>t+":"),Pq=t=>{if(!C.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},jq=(t,[e,n])=>(t.on("end",n).on("error",n),e),i9=new Dv;function t9(t,e,n){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.auth&&t.beforeRedirects.auth(t),t.beforeRedirects.sensitiveHeaders&&t.beforeRedirects.sensitiveHeaders(t,n),t.beforeRedirects.config&&t.beforeRedirects.config(t,e,n)}function a9(t,e){t&&Object.keys(t).forEach(n=>{e.has(n.toLowerCase())&&delete t[n]})}function r9(t,e){if(!e)return!1;try{return new URL(e.url).origin===new URL(t.href).origin}catch{return!1}}function d_(t,e,n,i,a,r){let s=e,o=e9(t,r,a);if(!s&&s!==!1&&!X5(o)){let l=v5(n);l&&(z5(n)||(s=new URL(l)))}if(i&&t.headers)for(let l of Object.keys(t.headers))l.toLowerCase()==="proxy-authorization"&&delete t.headers[l];if(i&&t.agent&&t.agent[p_]&&(t.agent=void 0),s){let l=s instanceof URL,u=g=>l||C.hasOwnProp(s,g)?s[g]:void 0,c=u("username"),p=u("password"),h=C.hasOwnProp(s,"auth")?s.auth:void 0;if(c&&(h=(c||"")+":"+(p||"")),h){let g=typeof h=="object",m=g&&C.hasOwnProp(h,"username")?h.username:void 0,f=g&&C.hasOwnProp(h,"password")?h.password:void 0;if(!!(m||f))h=(m||"")+":"+(f||"");else if(g)throw new x("Invalid proxy authorization",x.ERR_BAD_OPTION,{proxy:s})}if(Jv.test(t.protocol)){if(!(a instanceof Hq)){let g=u("hostname")||u("host"),m=u("port"),f=u("protocol"),w=f?f.includes(":")?f:`${f}:`:"http:",b=g&&g.includes(":")&&!g.startsWith("[")?`[${g}]`:g,A=new URL(`${w}//${b}${m?":"+m:""}`),y={protocol:A.protocol,hostname:A.hostname.replace(/^\[|\]$/g,""),port:A.port,auth:h&&typeof h=="string"?h:void 0};A.protocol==="https:"&&(y.ALPNProtocols=["http/1.1"]);let S=n9(y,a);t.agent=S,t.agents&&(t.agents.https=S)}}else{if(h){let w=Buffer.from(h,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+w}let g=!1;for(let w of Object.keys(t.headers))if(w.toLowerCase()==="host"){g=!0;break}g||(t.headers.host=t.hostname+(t.port?":"+t.port:""));let m=u("hostname")||u("host");t.hostname=m,t.host=m,t.port=u("port"),t.path=n;let f=u("protocol");f&&(t.protocol=f.includes(":")?f:`${f}:`)}}t.beforeRedirects.proxy=function(u){d_(u,e,u.href,!0,a,r)}}var s9=typeof process<"u"&&C.kindOf(process)==="process",o9=t=>new Promise((e,n)=>{let i,a,r=(l,u)=>{a||(a=!0,i&&i(l,u))},s=l=>{r(l),e(l)},o=l=>{r(l,!0),n(l)};t(s,o,l=>i=l).catch(o)}),l9=({address:t,family:e})=>{if(!C.isString(t))throw TypeError("address must be a string");return{address:t,family:e||(t.indexOf(".")<0?6:4)}},Sq=(t,e)=>l9(C.isObject(t)?t:{address:t,family:e}),u9={request(t,e){let n=t.protocol+"//"+t.hostname+":"+(t.port||(t.protocol==="https:"?443:80)),{http2Options:i,headers:a}=t,r=i9.getSession(n,i),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:o,HTTP2_HEADER_PATH:l,HTTP2_HEADER_STATUS:u}=zq.constants,c={[s]:t.protocol.replace(":",""),[o]:t.method,[l]:t.path};C.forEach(a,(h,d)=>{d.charAt(0)!==":"&&(c[d]=h)});let p=r.request(c);return p.once("response",h=>{let d=p;h=Object.assign({},h);let g=h[u];delete h[u],d.headers=h,d.statusCode=+g,e(d)}),p}},c9=s9&&function(e){return o9(async function(i,a,r){let s=G=>C.getSafeProp(e,G),o=s("transitional")||fp,l=s("data"),u=s("lookup"),c=s("family"),p=s("httpVersion");p===void 0&&(p=1);let h=s("http2Options"),d=s("httpAgent"),g=s("httpsAgent"),m=s("proxy"),f=s("responseType"),w=s("responseEncoding"),b=s("socketPath"),A=s("method").toUpperCase(),y=s("maxRedirects"),S=s("maxBodyLength"),q=s("maxContentLength"),N=s("decompress"),X,W=!1,T,Q;if(p=+p,Number.isNaN(p))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(p!==1&&p!==2)throw TypeError(`Unsupported protocol version '${p}'`);let re=p===2;if(u){let G=x5(u,z=>C.isArray(z)?z:[z]);u=(z,pe,Ke)=>{G(z,pe,(se,fn,qn)=>{if(se)return Ke(se);let an=C.isArray(fn)?fn.map(hr=>Sq(hr)):[Sq(fn,qn)];pe.all?Ke(se,an):Ke(se,an[0].address,an[0].family)})}}let ie=new G3.EventEmitter;function ne(G){try{ie.emit("abort",!G||G.type?new At(null,e,T):G)}catch{}}function ze(){Q&&(clearTimeout(Q),Q=null)}function O(){let G=s("timeout"),z=G?"timeout of "+G+"ms exceeded":"timeout exceeded",pe=s("timeoutErrorMessage");return pe&&(z=pe),new x(z,o.clarifyTimeoutError?x.ETIMEDOUT:x.ECONNABORTED,e,T)}ie.once("abort",a);let R=()=>{ze(),e.cancelToken&&e.cancelToken.unsubscribe(ne),e.signal&&e.signal.removeEventListener("abort",ne),ie.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(ne),e.signal&&(e.signal.aborted?ne():e.signal.addEventListener("abort",ne))),r((G,z)=>{if(X=!0,ze(),z){W=!0,R();return}let{data:pe}=G;if(pe instanceof ii.Readable||pe instanceof ii.Duplex){let Ke=ii.finished(pe,()=>{Ke(),R()})}else R()});let Se=Vv(s("baseURL"),s("url"),s("allowAbsoluteUrls"),e),Xe=b?"http://localhost":Qe.hasBrowserEnv?Qe.origin:void 0,_=new URL(Se,Xe),be=_.protocol||yq[0];if(be==="data:"){if(q>-1){let z=String(s("url")||Se||"");if(B5(z)>q)return a(new x("maxContentLength size of "+q+" exceeded",x.ERR_BAD_RESPONSE,e))}let G;if(A!=="GET")return ls(i,a,{status:405,statusText:"method not allowed",headers:{},config:e});try{G=b5(s("url"),f==="blob",{Blob:e.env&&e.env.Blob})}catch(z){throw x.from(z,x.ERR_BAD_REQUEST,e)}return f==="text"?(G=G.toString(w),(!w||w==="utf8")&&(G=C.stripBOM(G))):f==="stream"&&(G=ii.Readable.from(G)),ls(i,a,{data:G,status:200,statusText:"OK",headers:new sn,config:e})}if(yq.indexOf(be)===-1)return a(new x("Unsupported protocol "+be,x.ERR_BAD_REQUEST,e));let ke=sn.from(e.headers).normalize();ke.set("User-Agent","axios/"+ol,!1);let{onUploadProgress:kn,onDownloadProgress:Wn}=e,Gi=e.maxRate,ce,un;if(C.isSpecCompliantForm(l)){let G=ke.getContentType(/boundary=([-_\w\d]{10,70})/i);l=O5(l,z=>{ke.set(z)},{tag:`axios-${ol}-boundary`,boundary:G&&G[1]||void 0})}else if(C.isFormData(l)&&C.isFunction(l.getHeaders)&&l.getHeaders!==Object.prototype.getHeaders){if(i_(ke,l.getHeaders(),s("formDataHeaderPolicy")),!ke.hasContentLength())try{let G=await Nv.promisify(l.getLength).call(l);Number.isFinite(G)&&G>=0&&ke.setContentLength(G)}catch{}}else if(C.isBlob(l)||C.isFile(l))l.size&&ke.setContentType(l.type||"application/octet-stream"),ke.setContentLength(l.size||0),l=ii.Readable.from(t_(l));else if(l&&!C.isStream(l)){if(!Buffer.isBuffer(l))if(C.isArrayBuffer(l))l=Buffer.from(new Uint8Array(l));else if(C.isString(l))l=Buffer.from(l,"utf-8");else return a(new x("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",x.ERR_BAD_REQUEST,e));if(ke.setContentLength(l.length,!1),S>-1&&l.length>S)return a(new x("Request body larger than maxBodyLength limit",x.ERR_BAD_REQUEST,e))}let mn=C.toFiniteNumber(ke.getContentLength());C.isArray(Gi)?(ce=Gi[0],un=Gi[1]):ce=un=Gi,l&&(kn||ce)&&(C.isStream(l)||(l=ii.Readable.from(l,{objectMode:!1})),l=ii.pipeline([l,new pp({maxRate:C.toFiniteNumber(ce)})],C.noop),kn&&l.on("progress",jq(l,dp(mn,cs(hp(kn,vq),!1,3)))));let si,oa=s("auth");if(oa){let G=C.getSafeProp(oa,"username")||"",z=C.getSafeProp(oa,"password")||"";si=G+":"+z}if(!si&&(_.username||_.password)){let G=Pq(_.username),z=Pq(_.password);si=G+":"+z}si&&ke.delete("authorization");let St;try{St=Bv(_.pathname+_.search,s("params"),s("paramsSerializer")).replace(/^\?/,"")}catch(G){return a(x.from(G,x.ERR_BAD_REQUEST,e,null,null,{url:s("url"),exists:!0}))}ke.set("Accept-Encoding",C.hasOwnProp(o,"advertiseZstdAcceptEncoding")&&o.advertiseZstdAcceptEncoding===!0?J5:c_,!1);let Te=Object.assign(Object.create(null),{path:St,method:A,headers:Wv(ke),agents:{http:d,https:g},auth:si,protocol:be,family:c,beforeRedirect:t9,beforeRedirects:Object.create(null),http2Options:h});if(!C.isUndefined(u)&&(Te.lookup=u),b){if(typeof b!="string")return a(new x("socketPath must be a string",x.ERR_BAD_OPTION_VALUE,e));let G=s("allowedSocketPaths");if(G!=null){let z=Array.isArray(G)?G:[G],pe=tq.resolve(b);if(!z.some(se=>typeof se=="string"&&tq.resolve(se)===pe))return a(new x(`socketPath "${b}" is not permitted by allowedSocketPaths`,x.ERR_BAD_OPTION_VALUE,e))}Te.socketPath=b}else Te.hostname=_.hostname.startsWith("[")?_.hostname.slice(1,-1):_.hostname,Te.port=_.port,d_(Te,m,be+"//"+_.hostname+(_.port?":"+_.port:"")+Te.path,!1,g,d);let oi,Oi=!1,Bn=!1,Z=Jv.test(Te.protocol);if(Te.agent==null&&(Te.agent=Z?g:d),re)oi=u9;else{let G=s("transport");if(G)oi=G;else if(y===0)oi=Z?Rq:Iq,Oi=!0;else{Bn=!0,Te.sensitiveHeaders=[],y&&(Te.maxRedirects=y);let z=s("beforeRedirect");if(z&&(Te.beforeRedirects.config=z),si){let Ke=_.origin,se=si;Te.beforeRedirects.auth=function(qn){try{new URL(qn.href).origin===Ke&&(qn.auth=se)}catch{}}}let pe=s("sensitiveHeaders");if(pe!=null){if(!C.isArray(pe))return a(new x("sensitiveHeaders must be an array of strings",x.ERR_BAD_OPTION_VALUE,e));let Ke=new Set;for(let se of pe){if(!C.isString(se))return a(new x("sensitiveHeaders must be an array of strings",x.ERR_BAD_OPTION_VALUE,e));Ke.add(se.toLowerCase())}Ke.size&&(Te.sensitiveHeaders=Array.from(Ke),Te.beforeRedirects.sensitiveHeaders=function(fn,qn){r9(fn,qn)||a9(fn.headers,Ke)})}oi=Z?K5:Z5}}S>-1?Te.maxBodyLength=S:Te.maxBodyLength=1/0,Te.insecureHTTPParser=!!s("insecureHTTPParser"),T=oi.request(Te,function(z){if(ze(),T.destroyed)return;let pe=[z],Ke=C.toFiniteNumber(z.headers["content-length"]);if(Wn||un){let an=new pp({maxRate:C.toFiniteNumber(un)});Wn&&an.on("progress",jq(an,dp(Ke,cs(hp(Wn,vq),!0,3)))),pe.push(an)}let se=z,fn=z.req||T;if(N!==!1&&z.headers["content-encoding"])switch((A==="HEAD"||z.statusCode===204)&&delete z.headers["content-encoding"],(z.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":pe.push(yi.createUnzip(wq)),delete z.headers["content-encoding"];break;case"deflate":pe.push(new zv),pe.push(yi.createUnzip(wq)),delete z.headers["content-encoding"];break;case"br":l_&&(pe.push(yi.createBrotliDecompress(F5)),delete z.headers["content-encoding"]);break;case"zstd":u_&&(pe.push(yi.createZstdDecompress(V5)),delete z.headers["content-encoding"]);break}se=pe.length>1?ii.pipeline(pe,C.noop):pe[0];let qn={status:z.statusCode,statusText:z.statusMessage,headers:new sn(z.headers),config:e,request:fn};if(f==="stream"){if(q>-1){let an=q,hr=se;async function*qs(){let wn=0;for await(let Ny of hr){if(wn+=Ny.length,wn>an)throw new x("maxContentLength size of "+an+" exceeded",x.ERR_BAD_RESPONSE,e,fn);yield Ny}}se=ii.Readable.from(qs(),{objectMode:!1})}qn.data=se,ls(i,a,qn)}else{let an=[],hr=0;se.on("data",function(wn){an.push(wn),hr+=wn.length,q>-1&&hr>q&&(W=!0,se.destroy(),ne(new x("maxContentLength size of "+q+" exceeded",x.ERR_BAD_RESPONSE,e,fn)))}),se.on("aborted",function(){if(W)return;let wn=new x("stream has been aborted",x.ERR_BAD_RESPONSE,e,fn,qn);se.destroy(wn),a(wn)}),se.on("error",function(wn){W||a(x.from(wn,null,e,fn,qn))}),se.on("end",function(){try{let wn=an.length===1?an[0]:Buffer.concat(an);f!=="arraybuffer"&&(wn=wn.toString(w),(!w||w==="utf8")&&(wn=C.stripBOM(wn))),qn.data=wn}catch(wn){return a(x.from(wn,null,e,qn.request,qn))}ls(i,a,qn)})}ie.once("abort",an=>{se.destroyed||(se.emit("error",an),se.destroy())})}),ie.once("abort",G=>{T.close?T.close():T.destroy(G)}),T.on("error",function(z){a(x.from(z,null,e,T))});let Le=new Set;if(T.on("socket",function(z){typeof z.setKeepAlive=="function"&&z.setKeepAlive(!0,1e3*60),z[Cq]||(z.on("error",function(Ke){let se=z[tp];se&&!se.destroyed&&se.destroy(Ke)}),z[Cq]=!0),z[tp]=T,Le.add(z)}),T.once("close",function(){ze();for(let z of Le)z[tp]===T&&(z[tp]=null);Le.clear()}),s("timeout")){let G=parseInt(s("timeout"),10);if(Number.isNaN(G)){ne(new x("error trying to parse `config.timeout` to int",x.ERR_BAD_OPTION_VALUE,e,T));return}let z=function(){X||ne(O())};Oi&&G>0&&(Q=setTimeout(z,G)),T.setTimeout(G,z)}else T.setTimeout(0);if(C.isStream(l)){let G=!1,z=!1;l.on("end",()=>{G=!0}),l.once("error",Ke=>{z=!0,T.destroy(Ke)}),l.on("close",()=>{!G&&!z&&ne(new At("Request stream has been aborted",e,T))});let pe=l;if(S>-1&&!Bn){let Ke=S,se=0;pe=ii.pipeline([l,new ii.Transform({transform(fn,qn,an){if(se+=fn.length,se>Ke)return an(new x("Request body larger than maxBodyLength limit",x.ERR_BAD_REQUEST,e,T));an(null,fn)}})],C.noop),pe.on("error",fn=>{T.destroyed||T.destroy(fn)})}pe.pipe(T)}else l&&T.write(l),T.end()})},p9=Qe.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Qe.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Qe.origin),Qe.navigator&&/(msie|trident)/i.test(Qe.navigator.userAgent)):()=>!0,d9=Qe.hasStandardBrowserEnv?{write(t,e,n,i,a,r,s){if(typeof document>"u")return;let o=[`${t}=${encodeURIComponent(e)}`];C.isNumber(n)&&o.push(`expires=${new Date(n).toUTCString()}`),C.isString(i)&&o.push(`path=${i}`),C.isString(a)&&o.push(`domain=${a}`),r===!0&&o.push("secure"),C.isString(s)&&o.push(`SameSite=${s}`),document.cookie=o.join("; ")},read(t){if(typeof document>"u")return null;let e=document.cookie.split(";");for(let n=0;nt instanceof sn?{...t}:t,h9=t=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(t).concat(Object.getOwnPropertySymbols(t).filter(e=>Object.getOwnPropertyDescriptor(t,e).enumerable)):Object.keys(t);function Ka(t,e){t=t||{},e=e||{};let n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(c,p,h,d){return C.isPlainObject(c)&&C.isPlainObject(p)?C.merge.call({caseless:d},c,p):C.isPlainObject(p)?C.merge({},p):C.isArray(p)?p.slice():p}function a(c,p,h,d){if(C.isUndefined(p)){if(!C.isUndefined(c))return i(void 0,c,h,d)}else return i(c,p,h,d)}function r(c,p){if(!C.isUndefined(p))return i(void 0,p)}function s(c,p){if(C.isUndefined(p)){if(!C.isUndefined(c))return i(void 0,c)}else return i(void 0,p)}function o(c){let p=C.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!C.isUndefined(p))if(C.isPlainObject(p)){if(C.hasOwnProp(p,c))return p[c]}else return;let h=C.hasOwnProp(t,"transitional")?t.transitional:void 0;if(C.isPlainObject(h)&&C.hasOwnProp(h,c))return h[c]}function l(c,p,h){if(C.hasOwnProp(e,h))return i(c,p);if(C.hasOwnProp(t,h))return i(void 0,c)}let u={url:r,method:r,data:r,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:l,headers:(c,p,h)=>a(Oq(c),Oq(p),h,!0)};return C.forEach(h9({...t,...e}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;let h=C.hasOwnProp(u,p)?u[p]:a,d=C.hasOwnProp(t,p)?t[p]:void 0,g=C.hasOwnProp(e,p)?e[p]:void 0,m=h(d,g,p);C.isUndefined(m)&&h!==l||(n[p]=m)}),C.hasOwnProp(e,"validateStatus")&&C.isUndefined(e.validateStatus)&&o("validateStatusUndefinedResolves")===!1&&(C.hasOwnProp(t,"validateStatus")?n.validateStatus=i(void 0,t.validateStatus):delete n.validateStatus),n}var g9=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16)));function h_(t){let e=Ka({},t),n=h=>C.hasOwnProp(e,h)?e[h]:void 0,i=n("data"),a=n("withXSRFToken"),r=n("xsrfHeaderName"),s=n("xsrfCookieName"),o=n("headers"),l=n("auth"),u=n("baseURL"),c=n("allowAbsoluteUrls"),p=n("url");if(e.headers=o=sn.from(o),e.url=Bv(Vv(u,p,c,e),n("params"),n("paramsSerializer")),l){let h=C.getSafeProp(l,"username")||"",d=C.getSafeProp(l,"password")||"";try{o.set("Authorization","Basic "+btoa(h+":"+(d?g9(d):"")))}catch(g){throw x.from(g,x.ERR_BAD_OPTION_VALUE,t)}}if(C.isFormData(i)&&(Qe.hasStandardBrowserEnv||Qe.hasStandardBrowserWebWorkerEnv||C.isReactNative(i)?o.setContentType(void 0):C.isFunction(i.getHeaders)&&i_(o,i.getHeaders(),n("formDataHeaderPolicy"))),Qe.hasStandardBrowserEnv&&(C.isFunction(a)&&(a=a(e)),a===!0||a==null&&p9(e.url))){let d=r&&s&&d9.read(s);d&&o.set(r,d)}return e}var m9=typeof XMLHttpRequest<"u",f9=m9&&function(t){return new Promise(function(n,i){let a=h_(t),r=a.data,s=sn.from(a.headers).normalize(),{responseType:o,onUploadProgress:l,onDownloadProgress:u}=a,c,p,h,d,g;function m(){d&&d(),g&&g(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let f=new XMLHttpRequest;f.open(a.method.toUpperCase(),a.url,!0),f.timeout=a.timeout;function w(){if(!f)return;let A=sn.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),S={data:!o||o==="text"||o==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:A,config:t,request:f};ls(function(N){n(N),m()},function(N){i(N),m()},S),f=null}"onloadend"in f?f.onloadend=w:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.startsWith("file:"))||setTimeout(w)},f.onabort=function(){f&&(i(new x("Request aborted",x.ECONNABORTED,t,f)),m(),f=null)},f.onerror=function(y){let S=y&&y.message?y.message:"Network Error",q=new x(S,x.ERR_NETWORK,t,f);q.event=y||null,i(q),m(),f=null},f.ontimeout=function(){let y=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded",S=a.transitional||fp;a.timeoutErrorMessage&&(y=a.timeoutErrorMessage),i(new x(y,S.clarifyTimeoutError?x.ETIMEDOUT:x.ECONNABORTED,t,f)),m(),f=null},r===void 0&&s.setContentType(null),"setRequestHeader"in f&&C.forEach(Wv(s),function(y,S){f.setRequestHeader(S,y)}),C.isUndefined(a.withCredentials)||(f.withCredentials=!!a.withCredentials),o&&o!=="json"&&(f.responseType=a.responseType),u&&([h,g]=cs(u,!0),f.addEventListener("progress",h)),l&&f.upload&&([p,d]=cs(l),f.upload.addEventListener("progress",p),f.upload.addEventListener("loadend",d)),(a.cancelToken||a.signal)&&(c=A=>{f&&(i(!A||A.type?new At(null,t,f):A),f.abort(),m(),f=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));let b=n_(a.url);if(b&&!Qe.protocols.includes(b)){i(new x("Unsupported protocol "+b+":",x.ERR_BAD_REQUEST,t)),m();return}f.send(r||null)})},w9=(t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;let n=new AbortController,i=!1,a=function(l){if(!i){i=!0,s();let u=l instanceof Error?l:this.reason;n.abort(u instanceof x?u:new At(u instanceof Error?u.message:u))}},r=e&&setTimeout(()=>{r=null,a(new x(`timeout of ${e}ms exceeded`,x.ETIMEDOUT))},e),s=()=>{t&&(r&&clearTimeout(r),r=null,t.forEach(l=>{l.unsubscribe?l.unsubscribe(a):l.removeEventListener("abort",a)}),t=null)};t.forEach(l=>{if(!i){if(l.aborted){a.call(l);return}l.addEventListener("abort",a,{once:!0})}});let{signal:o}=n;return o.unsubscribe=()=>C.asap(s),o},v9=function*(t,e){let n=t.byteLength;if(n{let a=C9(t,e),r=0,s,o=l=>{s||(s=!0,i&&i(l))};return new ReadableStream({async pull(l){try{let{done:u,value:c}=await a.next();if(u){o(),l.close();return}let p=c.byteLength;if(n){let h=r+=p;n(h)}l.enqueue(new Uint8Array(c))}catch(u){throw o(u),u}},cancel(l){return o(l),a.return()}},{highWaterMark:2})},Tq=64*1024,{isFunction:ap}=C,b9=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16))),Mq=t=>{if(!C.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},Eq=(t,...e)=>{try{return!!t(...e)}catch{return!1}},y9=t=>{let e=t.indexOf("://"),n=t;return e!==-1&&(n=n.slice(e+3)),n.includes("@")||n.includes(":")},P9=t=>{let e=C.global!==void 0&&C.global!==null?C.global:globalThis,{ReadableStream:n,TextEncoder:i}=e;t=C.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);let{fetch:a,Request:r,Response:s}=t,o=a?ap(a):typeof fetch=="function",l=ap(r),u=ap(s);if(!o)return!1;let c=o&&ap(n),p=o&&(typeof i=="function"?(w=>b=>w.encode(b))(new i):async w=>new Uint8Array(await new r(w).arrayBuffer())),h=l&&c&&Eq(()=>{let w=!1,b=new r(Qe.origin,{body:new n,method:"POST",get duplex(){return w=!0,"half"}}),A=b.headers.has("Content-Type");return b.body!=null&&b.body.cancel(),w&&!A}),d=u&&c&&Eq(()=>C.isReadableStream(new s("").body)),g={stream:d&&(w=>w.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(w=>{!g[w]&&(g[w]=(b,A)=>{let y=b&&b[w];if(y)return y.call(b);throw new x(`Response type '${w}' is not supported`,x.ERR_NOT_SUPPORT,A)})});let m=async w=>{if(w==null)return 0;if(C.isBlob(w))return w.size;if(C.isSpecCompliantForm(w))return(await new r(Qe.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(C.isArrayBufferView(w)||C.isArrayBuffer(w))return w.byteLength;if(C.isURLSearchParams(w)&&(w=w+""),C.isString(w))return(await p(w)).byteLength},f=async(w,b)=>{let A=C.toFiniteNumber(w.getContentLength());return A??m(b)};return async w=>{let{url:b,method:A,data:y,signal:S,cancelToken:q,timeout:N,onDownloadProgress:X,onUploadProgress:W,responseType:T,headers:Q,withCredentials:re="same-origin",fetchOptions:ie,maxContentLength:ne,maxBodyLength:ze}=h_(w),O=C.isNumber(ne)&&ne>-1,R=C.isNumber(ze)&&ze>-1,Se=ce=>C.hasOwnProp(w,ce)?w[ce]:void 0,Xe=a||fetch;T=T?(T+"").toLowerCase():"text";let _=w9([S,q&&q.toAbortSignal()],N),be=null,ke=_&&_.unsubscribe&&(()=>{_.unsubscribe()}),kn,Wn=null,Gi=()=>new x("Request body larger than maxBodyLength limit",x.ERR_BAD_REQUEST,w,be);try{let ce,un=Se("auth");if(un){let Z=C.getSafeProp(un,"username")||"",Le=C.getSafeProp(un,"password")||"";ce={username:Z,password:Le}}if(y9(b)){let Z=new URL(b,Qe.origin);if(!ce&&(Z.username||Z.password)){let Le=Mq(Z.username),G=Mq(Z.password);ce={username:Le,password:G}}(Z.username||Z.password)&&(Z.username="",Z.password="",b=Z.href)}if(ce&&(Q.delete("authorization"),Q.set("Authorization","Basic "+btoa(b9((ce.username||"")+":"+(ce.password||""))))),O&&typeof b=="string"&&b.startsWith("data:")&&W5(b)>ne)throw new x("maxContentLength size of "+ne+" exceeded",x.ERR_BAD_RESPONSE,w,be);if(R&&A!=="get"&&A!=="head"){let Z=await m(y);if(typeof Z=="number"&&isFinite(Z)&&(kn=Z,Z>ze))throw Gi()}let mn=R&&(C.isReadableStream(y)||C.isStream(y)),si=(Z,Le,G)=>xq(Z,Tq,z=>{if(R&&z>ze)throw Wn=Gi();Le&&Le(z)},G);if(h&&A!=="get"&&A!=="head"&&(W||mn)){if(kn=kn??await f(Q,y),kn!==0||mn){let Z=new r(b,{method:"POST",body:y,duplex:"half"}),Le;if(C.isFormData(y)&&(Le=Z.headers.get("content-type"))&&Q.setContentType(Le),Z.body){let[G,z]=W&&dp(kn,cs(hp(W)))||[];y=si(Z.body,G,z)}}}else if(mn&&!l&&c&&A!=="get"&&A!=="head")y=si(y);else if(mn&&l&&!h&&A!=="get"&&A!=="head")throw new x("Stream request bodies are not supported by the current fetch implementation",x.ERR_NOT_SUPPORT,w,be);C.isString(re)||(re=re?"include":"omit");let oa=l&&"credentials"in r.prototype;if(C.isFormData(y)){let Z=Q.getContentType();Z&&/^multipart\/form-data/i.test(Z)&&!/boundary=/i.test(Z)&&Q.delete("content-type")}Q.set("User-Agent","axios/"+ol,!1);let St={...ie,signal:_,method:A.toUpperCase(),headers:Wv(Q.normalize()),body:y,duplex:"half",credentials:oa?re:void 0};be=l&&new r(b,St);let Te=await(l?Xe(be,ie):Xe(b,St)),oi=sn.from(Te.headers);if(O){let Z=C.toFiniteNumber(oi.getContentLength());if(Z!=null&&Z>ne)throw new x("maxContentLength size of "+ne+" exceeded",x.ERR_BAD_RESPONSE,w,be)}let Oi=d&&(T==="stream"||T==="response");if(d&&Te.body&&(X||O||Oi&&ke)){let Z={};["status","statusText","headers"].forEach(se=>{Z[se]=Te[se]});let Le=C.toFiniteNumber(oi.getContentLength()),[G,z]=X&&dp(Le,cs(hp(X),!0))||[],pe=0,Ke=se=>{if(O&&(pe=se,pe>ne))throw new x("maxContentLength size of "+ne+" exceeded",x.ERR_BAD_RESPONSE,w,be);G&&G(se)};Te=new s(xq(Te.body,Tq,Ke,()=>{z&&z(),ke&&ke()}),Z)}T=T||"text";let Bn=await g[C.findKey(g,T)||"text"](Te,w);if(O&&!d&&!Oi){let Z;if(Bn!=null&&(typeof Bn.byteLength=="number"?Z=Bn.byteLength:typeof Bn.size=="number"?Z=Bn.size:typeof Bn=="string"&&(Z=typeof i=="function"?new i().encode(Bn).byteLength:Bn.length)),typeof Z=="number"&&Z>ne)throw new x("maxContentLength size of "+ne+" exceeded",x.ERR_BAD_RESPONSE,w,be)}return!Oi&&ke&&ke(),await new Promise((Z,Le)=>{ls(Z,Le,{data:Bn,headers:sn.from(Te.headers),status:Te.status,statusText:Te.statusText,config:w,request:be})})}catch(ce){if(ke&&ke(),_&&_.aborted&&_.reason instanceof x){let un=_.reason;throw un.config=w,be&&(un.request=be),ce!==un&&Object.defineProperty(un,"cause",{__proto__:null,value:ce,writable:!0,enumerable:!1,configurable:!0}),un}if(Wn)throw be&&!Wn.request&&(Wn.request=be),Wn;if(ce instanceof x)throw be&&!ce.request&&(ce.request=be),ce;if(ce&&ce.name==="TypeError"&&/Load failed|fetch/i.test(ce.message)){let un=new x("Network Error",x.ERR_NETWORK,w,be,ce&&ce.response);throw Object.defineProperty(un,"cause",{__proto__:null,value:ce.cause||ce,writable:!0,enumerable:!1,configurable:!0}),un}throw x.from(ce,ce&&ce.code,w,be,ce&&ce.response)}}},j9=new Map,g_=t=>{let e=t&&t.env||{},{fetch:n,Request:i,Response:a}=e,r=[i,a,n],s=r.length,o=s,l,u,c=j9;for(;o--;)l=r[o],u=c.get(l),u===void 0&&c.set(l,u=o?new Map:P9(e)),c=u;return u};g_();var Zv={http:c9,xhr:f9,fetch:{get:g_}};C.forEach(Zv,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});var kq=t=>`- ${t}`,S9=t=>C.isFunction(t)||t===null||t===!1;function O9(t,e){t=C.isArray(t)?t:[t];let{length:n}=t,i,a,r={};for(let s=0;s`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build")),o=n?s.length>1?`since : -`+s.map(kq).join(` -`):" "+kq(s[0]):"as no adapter specified";throw new x("There is no suitable adapter to dispatch the request "+o,x.ERR_NOT_SUPPORT)}return a}var m_={getAdapter:O9,adapters:Zv};function Ev(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new At(null,t)}function kv(t){return Ev(t),t.headers=sn.from(t.headers),t.data=Ov.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),m_.getAdapter(t.adapter||pl.adapter,t)(t).then(function(i){Ev(t),t.response=i;try{i.data=Ov.call(t,t.transformResponse,i)}finally{delete t.response}return i.headers=sn.from(i.headers),i},function(i){if(!e_(i)&&(Ev(t),i&&i.response)){t.response=i.response;try{i.response.data=Ov.call(t,t.transformResponse,i.response)}finally{delete t.response}i.response.headers=sn.from(i.response.headers)}return Promise.reject(i)})}var wp={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{wp[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});var qq={};wp.transitional=function(e,n,i){function a(r,s){return"[Axios v"+ol+"] Transitional option '"+r+"'"+s+(i?". "+i:"")}return(r,s,o)=>{if(e===!1)throw new x(a(s," has been removed"+(n?" in "+n:"")),x.ERR_DEPRECATED);return n&&!qq[s]&&(qq[s]=!0,console.warn(a(s," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,s,o):!0}};wp.spelling=function(e){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)};function x9(t,e,n){if(typeof t!="object"||t===null)throw new x("options must be an object",x.ERR_BAD_OPTION_VALUE);let i=Object.keys(t),a=i.length;for(;a-- >0;){let r=i[a],s=Object.prototype.hasOwnProperty.call(e,r)?e[r]:void 0;if(s){let o=t[r],l=o===void 0||s(o,r,t);if(l!==!0)throw new x("option "+r+" must be "+l,x.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new x("Unknown option "+r,x.ERR_BAD_OPTION)}}var op={assertOptions:x9,validators:wp},zn=op.validators,Ct=class{constructor(e){this.defaults=e||{},this.interceptors={request:new cp,response:new cp}}async request(e,n){try{return await this._request(e,n)}catch(i){if(i instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;let r=(()=>{if(!a.stack)return"";let s=a.stack.indexOf(` -`);return s===-1?"":a.stack.slice(s+1)})();try{if(!i.stack)i.stack=r;else if(r){let s=r.indexOf(` +`)===-1){Ho("have not received end of HTTP headers yet..."),r();return}let g=d.toString("ascii",0,d.indexOf(`\r +`)),m=+g.split(" ")[1];Ho("got proxy server response: %o",g),e({statusCode:m,buffered:d})}t.on("error",u),t.on("close",o),t.on("end",l),r()})}Io.default=gJ});var FE=v(_a=>{"use strict";var mJ=_a&&_a.__awaiter||function(t,e,i,n){function a(r){return r instanceof i?r:new i(function(s){s(r)})}return new(i||(i=Promise))(function(r,s){function o(c){try{u(n.next(c))}catch(p){s(p)}}function l(c){try{u(n.throw(c))}catch(p){s(p)}}function u(c){c.done?r(c.value):a(c.value).then(o,l)}u((n=n.apply(t,e||[])).next())})},Fr=_a&&_a.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_a,"__esModule",{value:!0});var LE=Fr(require("net")),BE=Fr(require("tls")),fJ=Fr(require("url")),wJ=Fr(require("assert")),vJ=Fr(qo()),CJ=UE(),AJ=Fr(WE()),Ro=vJ.default("https-proxy-agent:agent"),bw=class extends CJ.Agent{constructor(e){let i;if(typeof e=="string"?i=fJ.default.parse(e):i=e,!i)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");Ro("creating new HttpsProxyAgent instance: %o",i),super(i);let n=Object.assign({},i);this.secureProxy=i.secureProxy||PJ(n.protocol),n.host=n.hostname||n.host,typeof n.port=="string"&&(n.port=parseInt(n.port,10)),!n.port&&n.host&&(n.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in n)&&(n.ALPNProtocols=["http 1.1"]),n.host&&n.path&&(delete n.path,delete n.pathname),this.proxy=n}callback(e,i){return mJ(this,void 0,void 0,function*(){let{proxy:n,secureProxy:a}=this,r;a?(Ro("Creating `tls.Socket`: %o",n),r=BE.default.connect(n)):(Ro("Creating `net.Socket`: %o",n),r=LE.default.connect(n));let s=Object.assign({},n.headers),l=`CONNECT ${`${i.host}:${i.port}`} HTTP/1.1\r +`;n.auth&&(s["Proxy-Authorization"]=`Basic ${Buffer.from(n.auth).toString("base64")}`);let{host:u,port:c,secureEndpoint:p}=i;yJ(c,p)||(u+=`:${c}`),s.Host=u,s.Connection="close";for(let f of Object.keys(s))l+=`${f}: ${s[f]}\r +`;let d=AJ.default(r);r.write(`${l}\r +`);let{statusCode:h,buffered:g}=yield d;if(h===200){if(e.once("socket",bJ),i.secureEndpoint){Ro("Upgrading socket connection to TLS");let f=i.servername||i.host;return BE.default.connect(Object.assign(Object.assign({},jJ(i,"host","hostname","path","port")),{socket:r,servername:f}))}return r}r.destroy();let m=new LE.default.Socket({writable:!1});return m.readable=!0,e.once("socket",f=>{Ro("replaying proxy buffer for failed request"),wJ.default(f.listenerCount("data")>0),f.push(g),f.push(null)}),m})}};_a.default=bw;function bJ(t){t.resume()}function yJ(t,e){return!!(!e&&t===80||e&&t===443)}function PJ(t){return typeof t=="string"?/^https:?$/i.test(t):!1}function jJ(t,...e){let i={},n;for(n in t)e.includes(n)||(i[n]=t[n]);return i}});var JE=v((jw,VE)=>{"use strict";var SJ=jw&&jw.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},yw=SJ(FE());function Pw(t){return new yw.default(t)}(function(t){t.HttpsProxyAgent=yw.default,t.prototype=yw.default.prototype})(Pw||(Pw={}));VE.exports=Pw});var KE=v((Lre,ZE)=>{var zo;ZE.exports=function(){if(!zo){try{zo=qo()("follow-redirects")}catch{}typeof zo!="function"&&(zo=function(){})}zo.apply(null,arguments)}});var ik=v((Bre,Rw)=>{var Go=require("url"),Do=Go.URL,OJ=require("http"),TJ=require("https"),Mw=require("stream").Writable,Ew=require("assert"),QE=KE();(function(){var e=typeof process<"u",i=typeof window<"u"&&typeof document<"u",n=Ia(Error.captureStackTrace);!e&&(i||!n)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var kw=!1;try{Ew(new Do(""))}catch(t){kw=t.code==="ERR_INVALID_URL"}var xJ=["Authorization","Proxy-Authorization","Cookie"],MJ=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],qw=["abort","aborted","connect","error","socket","timeout"],_w=Object.create(null);qw.forEach(function(t){_w[t]=function(e,i,n){this._redirectable.emit(t,e,i,n)}});var Ow=$o("ERR_INVALID_URL","Invalid URL",TypeError),Tw=$o("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),EJ=$o("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Tw),kJ=$o("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),qJ=$o("ERR_STREAM_WRITE_AFTER_END","write after end"),_J=Mw.prototype.destroy||XE;function Yi(t,e){Mw.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var i=this;this._onNativeResponse=function(n){try{i._processResponse(n)}catch(a){i.emit("error",a instanceof Tw?a:new Tw({cause:a}))}},this._headerFilter=new RegExp("^(?:"+xJ.concat(t.sensitiveHeaders).map(GJ).join("|")+")$","i"),this._performRequest()}Yi.prototype=Object.create(Mw.prototype);Yi.prototype.abort=function(){Iw(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Yi.prototype.destroy=function(t){return Iw(this._currentRequest,t),_J.call(this,t),this};Yi.prototype.write=function(t,e,i){if(this._ending)throw new qJ;if(!Ha(t)&&!zJ(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(Ia(e)&&(i=e,e=null),t.length===0){i&&i();return}this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,i)):(this.emit("error",new kJ),this.abort())};Yi.prototype.end=function(t,e,i){if(Ia(t)?(i=t,t=e=null):Ia(e)&&(i=e,e=null),!t)this._ended=this._ending=!0,this._currentRequest.end(null,null,i);else{var n=this,a=this._currentRequest;this.write(t,e,function(){n._ended=!0,a.end(null,null,i)}),this._ending=!0}};Yi.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};Yi.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};Yi.prototype.setTimeout=function(t,e){var i=this;function n(s){s.setTimeout(t),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function a(s){i._timeout&&clearTimeout(i._timeout),i._timeout=setTimeout(function(){i.emit("timeout"),r()},t),n(s)}function r(){i._timeout&&(clearTimeout(i._timeout),i._timeout=null),i.removeListener("abort",r),i.removeListener("error",r),i.removeListener("response",r),i.removeListener("close",r),e&&i.removeListener("timeout",e),i.socket||i._currentRequest.removeListener("socket",a)}return e&&this.on("timeout",e),this.socket?a(this.socket):this._currentRequest.once("socket",a),this.on("socket",n),this.on("abort",r),this.on("error",r),this.on("response",r),this.on("close",r),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(t){Yi.prototype[t]=function(e,i){return this._currentRequest[t](e,i)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(Yi.prototype,t,{get:function(){return this._currentRequest[t]}})});Yi.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),RJ(t.sensitiveHeaders)||(t.sensitiveHeaders=[]),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}};Yi.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(!e)throw new TypeError("Unsupported protocol "+t);if(this._options.agents){var i=t.slice(0,-1);this._options.agent=this._options.agents[i]}var n=this._currentRequest=e.request(this._options,this._onNativeResponse);n._redirectable=this;for(var a of qw)n.on(a,_w[a]);if(this._currentUrl=/^\//.test(this._options.path)?Go.format(this._options):this._options.path,this._isRedirect){var r=0,s=this,o=this._requestBodyBuffers;(function l(u){if(n===s._currentRequest)if(u)s.emit("error",u);else if(r=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(Iw(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)throw new EJ;var n,a=this._options.beforeRedirect;a&&(n=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var r=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Sw(/^content-/i,this._options.headers));var s=Sw(/^host$/i,this._options.headers),o=Hw(this._currentUrl),l=s||o.host,u=/^\w+:/.test(i)?this._currentUrl:Go.format(Object.assign(o,{host:l})),c=HJ(i,u);if(QE("redirecting to",c.href),this._isRedirect=!0,xw(c,this._options),(c.protocol!==o.protocol&&c.protocol!=="https:"||c.host!==l&&!IJ(c.host,l))&&Sw(this._headerFilter,this._options.headers),Ia(a)){var p={headers:t.headers,statusCode:e},d={url:u,method:r,headers:n};a(this._options,p,d),this._sanitizeOptions(this._options)}this._performRequest()};function YE(t){var e={maxRedirects:21,maxBodyLength:10485760},i={};return Object.keys(t).forEach(function(n){var a=n+":",r=i[a]=t[n],s=e[n]=Object.create(r);function o(u,c,p){return DJ(u)?u=xw(u):Ha(u)?u=xw(Hw(u)):(p=c,c=ek(u),u={protocol:a}),Ia(c)&&(p=c,c=null),c=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},u,c),c.nativeProtocols=i,!Ha(c.host)&&!Ha(c.hostname)&&(c.hostname="::1"),Ew.equal(c.protocol,a,"protocol mismatch"),QE("options",c),new Yi(c,p)}function l(u,c,p){var d=s.request(u,c,p);return d.end(),d}Object.defineProperties(s,{request:{value:o,configurable:!0,enumerable:!0,writable:!0},get:{value:l,configurable:!0,enumerable:!0,writable:!0}})}),e}function XE(){}function Hw(t){var e;if(kw)e=new Do(t);else if(e=ek(Go.parse(t)),!Ha(e.protocol))throw new Ow({input:t});return e}function HJ(t,e){return kw?new Do(t,e):Hw(Go.resolve(e,t))}function ek(t){if(/^\[/.test(t.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(t.hostname))throw new Ow({input:t.href||t});if(/^\[/.test(t.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(t.host))throw new Ow({input:t.href||t});return t}function xw(t,e){var i=e||{};for(var n of MJ)i[n]=t[n];return i.hostname.startsWith("[")&&(i.hostname=i.hostname.slice(1,-1)),i.port!==""&&(i.port=Number(i.port)),i.path=i.search?i.pathname+i.search:i.pathname,i}function Sw(t,e){var i;for(var n in e)t.test(n)&&(i=e[n],delete e[n]);return i===null||typeof i>"u"?void 0:String(i).trim()}function $o(t,e,i){function n(a){Ia(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,a||{}),this.code=t,this.message=this.cause?e+": "+this.cause.message:e}return n.prototype=new(i||Error),Object.defineProperties(n.prototype,{constructor:{value:n,enumerable:!1},name:{value:"Error ["+t+"]",enumerable:!1}}),n}function Iw(t,e){for(var i of qw)t.removeListener(i,_w[i]);t.on("error",XE),t.destroy(e)}function IJ(t,e){Ew(Ha(t)&&Ha(e));var i=t.length-e.length-1;return i>0&&t[i]==="."&&t.endsWith(e)}function RJ(t){return t instanceof Array}function Ha(t){return typeof t=="string"||t instanceof String}function Ia(t){return typeof t=="function"}function zJ(t){return typeof t=="object"&&"length"in t}function DJ(t){return Do&&t instanceof Do}function GJ(t){return t.replace(/[\]\\/()*+?.$]/g,"\\$&")}Rw.exports=YE({http:OJ,https:TJ});Rw.exports.wrap=YE});var wq=v((Fre,fq)=>{"use strict";var qk=_E(),$J=require("crypto"),NJ=require("url"),_k=JE(),Hk=require("http"),Ik=require("https"),Rk=require("http2"),tv=require("util"),nk=require("path"),UJ=ik(),An=require("zlib"),Xi=require("stream"),WJ=require("events");function zk(t,e){return function(){return t.apply(e,arguments)}}var{toString:LJ}=Object.prototype,{getPrototypeOf:Zr}=Object,{iterator:Bo,toStringTag:Dk}=Symbol,zc=(({hasOwnProperty:t})=>(e,i)=>t.call(e,i))(Object.prototype),Uo=(t,e)=>{let i=t,n=[];for(;i!=null&&i!==Object.prototype;){if(n.indexOf(i)!==-1)return!1;if(n.push(i),zc(i,e))return!0;i=Zr(i)}return!1},BJ=(t,e)=>t!=null&&Uo(t,e)?t[e]:void 0,av=(t=>e=>{let i=LJ.call(e);return t[i]||(t[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),bn=t=>(t=t.toLowerCase(),e=>av(e)===t),Wc=t=>e=>typeof e===t,{isArray:Da}=Array,Ga=Wc("undefined");function Qr(t){return t!==null&&!Ga(t)&&t.constructor!==null&&!Ga(t.constructor)&&en(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var Gk=bn("ArrayBuffer");function FJ(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Gk(t.buffer),e}var VJ=Wc("string"),en=Wc("function"),$k=Wc("number"),Yr=t=>t!==null&&typeof t=="object",JJ=t=>t===!0||t===!1,Hc=t=>{if(!Yr(t))return!1;let e=Zr(t);return(e===null||e===Object.prototype||Zr(e)===null)&&!Uo(t,Dk)&&!Uo(t,Bo)},ZJ=t=>{if(!Yr(t)||Qr(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},KJ=bn("Date"),QJ=bn("File"),YJ=t=>!!(t&&typeof t.uri<"u"),XJ=t=>t&&typeof t.getParts<"u",e4=bn("Blob"),i4=bn("FileList"),n4=bn("Set"),t4=t=>Yr(t)&&en(t.pipe);function a4(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}var tk=a4(),ak=typeof tk.FormData<"u"?tk.FormData:void 0,r4=t=>{if(!t)return!1;if(ak&&t instanceof ak)return!0;let e=Zr(t);if(!e||e===Object.prototype||!en(t.append))return!1;let i=av(t);return i==="formdata"||i==="object"&&en(t.toString)&&t.toString()==="[object FormData]"},s4=bn("URLSearchParams"),[o4,l4,u4,c4]=["ReadableStream","Request","Response","Headers"].map(bn),p4=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Fo(t,e,{allOwnKeys:i=!1}={}){if(t===null||typeof t>"u")return;let n,a;if(typeof t!="object"&&(t=[t]),Da(t))for(n=0,a=t.length;n0;)if(a=i[n],e===a.toLowerCase())return a;return null}var Ra=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Uk=t=>!Ga(t)&&t!==Ra;function Jw(...t){let{caseless:e,skipUndefined:i}=Uk(this)&&this||{},n={},a=(r,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let o=e&&typeof s=="string"&&Nk(n,s)||s,l=zc(n,o)?n[o]:void 0;Hc(l)&&Hc(r)?n[o]=Jw(l,r):Hc(r)?n[o]=Jw({},r):Da(r)?n[o]=r.slice():(!i||!Ga(r))&&(n[o]=r)};for(let r=0,s=t.length;r(Fo(e,(a,r)=>{i&&en(a)?Object.defineProperty(t,r,{__proto__:null,value:zk(a,i),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,r,{__proto__:null,value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),t),h4=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),g4=(t,e,i,n)=>{t.prototype=Object.create(e.prototype,n),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),i&&Object.assign(t.prototype,i)},m4=(t,e,i,n)=>{let a,r,s,o={};if(e=e||{},t==null)return e;do{for(a=Object.getOwnPropertyNames(t),r=a.length;r-- >0;)s=a[r],(!n||n(s,t,e))&&!o[s]&&(e[s]=t[s],o[s]=!0);t=i!==!1&&Zr(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e},f4=(t,e,i)=>{t=String(t),(i===void 0||i>t.length)&&(i=t.length),i-=e.length;let n=t.indexOf(e,i);return n!==-1&&n===i},w4=t=>{if(!t)return null;if(Da(t))return t;let e=t.length;if(!$k(e))return null;let i=new Array(e);for(;e-- >0;)i[e]=t[e];return i},v4=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Zr(Uint8Array)),C4=(t,e)=>{let n=(t&&t[Bo]).call(t),a;for(;(a=n.next())&&!a.done;){let r=a.value;e.call(t,r[0],r[1])}},A4=(t,e)=>{let i,n=[];for(;(i=t.exec(e))!==null;)n.push(i);return n},b4=bn("HTMLFormElement"),y4=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,n,a){return n.toUpperCase()+a}),{propertyIsEnumerable:P4}=Object.prototype,j4=bn("RegExp"),Wk=(t,e)=>{let i=Object.getOwnPropertyDescriptors(t),n={};Fo(i,(a,r)=>{let s;(s=e(a,r,t))!==!1&&(n[r]=s||a)}),Object.defineProperties(t,n)},S4=t=>{Wk(t,(e,i)=>{if(en(t)&&["arguments","caller","callee"].includes(i))return!1;let n=t[i];if(en(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},O4=(t,e)=>{let i={},n=a=>{a.forEach(r=>{i[r]=!0})};return Da(t)?n(t):n(String(t).split(e)),i},T4=()=>{},x4=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function M4(t){return!!(t&&en(t.append)&&t[Dk]==="FormData"&&t[Bo])}var E4=t=>{let e=new WeakSet,i=n=>{if(Yr(n)){if(e.has(n))return;if(Qr(n))return n;if(!("toJSON"in n)){e.add(n);let a;if(n4(n)){a=[];for(let r of n){let s=i(r);!Ga(s)&&a.push(s)}}else a=Da(n)?[]:{},Fo(n,(r,s)=>{let o=i(r);!Ga(o)&&(a[s]=o)});return e.delete(n),a}}return n};return i(t)},k4=bn("AsyncFunction"),q4=t=>t&&(Yr(t)||en(t))&&en(t.then)&&en(t.catch),Lk=((t,e)=>t?setImmediate:e?((i,n)=>(Ra.addEventListener("message",({source:a,data:r})=>{a===Ra&&r===i&&n.length&&n.shift()()},!1),a=>{n.push(a),Ra.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",en(Ra.postMessage)),_4=typeof queueMicrotask<"u"?queueMicrotask.bind(Ra):typeof process<"u"&&process.nextTick||Lk,Bk=t=>t!=null&&en(t[Bo]),H4=t=>t!=null&&Uo(t,Bo)&&Bk(t),C={isArray:Da,isArrayBuffer:Gk,isBuffer:Qr,isFormData:r4,isArrayBufferView:FJ,isString:VJ,isNumber:$k,isBoolean:JJ,isObject:Yr,isPlainObject:Hc,isEmptyObject:ZJ,isReadableStream:o4,isRequest:l4,isResponse:u4,isHeaders:c4,isUndefined:Ga,isDate:KJ,isFile:QJ,isReactNativeBlob:YJ,isReactNative:XJ,isBlob:e4,isRegExp:j4,isFunction:en,isStream:t4,isURLSearchParams:s4,isTypedArray:v4,isFileList:i4,forEach:Fo,merge:Jw,extend:d4,trim:p4,stripBOM:h4,inherits:g4,toFlatObject:m4,kindOf:av,kindOfTest:bn,endsWith:f4,toArray:w4,forEachEntry:C4,matchAll:A4,isHTMLForm:b4,hasOwnProperty:zc,hasOwnProp:zc,hasOwnInPrototypeChain:Uo,getSafeProp:BJ,reduceDescriptors:Wk,freezeMethods:S4,toObjectSet:O4,toCamelCase:y4,noop:T4,toFiniteNumber:x4,findKey:Nk,global:Ra,isContextDefined:Uk,isSpecCompliantForm:M4,toJSONObject:E4,isAsyncFn:k4,isThenable:q4,setImmediate:Lk,asap:_4,isIterable:Bk,isSafeIterable:H4},I4=C.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),R4=t=>{let e={},i,n,a;return t&&t.split(` +`).forEach(function(s){a=s.indexOf(":"),i=s.substring(0,a).trim().toLowerCase(),n=s.substring(a+1).trim();let o=C.hasOwnProp(e,i);!i||o&&C.hasOwnProp(I4,i)||(i==="set-cookie"?o?e[i].push(n):e[i]=[n]:e[i]=o?e[i]+", "+n:n)}),e};function z4(t){let e=0,i=t.length;for(;ee;){let n=t.charCodeAt(i-1);if(n!==9&&n!==32)break;i-=1}return e===0&&i===t.length?t:t.slice(e,i)}var D4=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),G4=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function rv(t,e){return C.isArray(t)?t.map(i=>rv(i,e)):z4(String(t).replace(e,""))}var $4=t=>rv(t,D4),N4=t=>rv(t,G4);function sv(t){let e=Object.create(null);return C.forEach(t.toJSON(),(i,n)=>{e[n]=N4(i)}),e}var rk=Symbol("internals");function No(t){return t&&String(t).trim().toLowerCase()}function Ic(t){return t===!1||t==null?t:C.isArray(t)?t.map(Ic):$4(String(t))}function U4(t){let e=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,n;for(;n=i.exec(t);)e[n[1]]=n[2];return e}var W4=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function zw(t){let e=0,i=t.length;for(;ee;){let n=t.charCodeAt(i-1);if(n!==9&&n!==32)break;i-=1}return e===0&&i===t.length?t:t.slice(e,i)}function L4(t){let e=t.length-1;if(e<1||t.charCodeAt(0)!==34||t.charCodeAt(e)!==34)return t;let i="";for(let n=1;n=e))return t;i+=t[n]}return i}function B4(t){let e=Object.create(null),i=String(t),n=0,a=!1,r=!1;function s(o){let l=zw(i.slice(n,o)),u=l.indexOf("=");if(u<1)return;let c=zw(l.slice(0,u));if(!W4.test(c))return;let p=c.toLowerCase();if(p==="__proto__"||p==="constructor"||p==="prototype")return;let d=zw(l.slice(u+1));e[p]=L4(d)}for(let o=0;o/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Dw(t,e,i,n,a){if(C.isFunction(n))return n.call(this,e,i);if(a&&(e=i),!!C.isString(e)){if(C.isString(n))return e.indexOf(n)!==-1;if(C.isRegExp(n))return n.test(e)}}function V4(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,i,n)=>i.toUpperCase()+n)}function J4(t,e){let i=C.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+i,{__proto__:null,value:function(a,r,s){return this[n].call(this,e,a,r,s)},configurable:!0})})}var ni=class{constructor(e){e&&this.set(e)}set(e,i,n){let a=this;function r(o,l,u){let c=No(l);if(!c)return;let p=C.findKey(a,c);(!p||a[p]===void 0||u===!0||u===void 0&&a[p]!==!1)&&(a[p||l]=Ic(o))}let s=(o,l)=>C.forEach(o,(u,c)=>r(u,c,l));if(C.isPlainObject(e)||e instanceof this.constructor)s(e,i);else if(C.isString(e)&&(e=e.trim())&&!F4(e))s(R4(e),i);else if(C.isObject(e)&&C.isSafeIterable(e)){let o=Object.create(null),l,u;for(let c of e){if(!C.isArray(c))throw new TypeError("Object iterator must return a key-value pair");u=c[0],C.hasOwnProp(o,u)?(l=o[u],o[u]=C.isArray(l)?[...l,c[1]]:[l,c[1]]):o[u]=c[1]}s(o,i)}else e!=null&&r(i,e,n);return this}get(e,i){if(e=No(e),e){let n=C.findKey(this,e);if(n){let a=this[n];if(!i)return a;if(i===!0)return U4(a);if(C.isFunction(i))return i.call(this,a,n);if(C.isRegExp(i))return i.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,i){if(e=No(e),e){let n=C.findKey(this,e);return!!(n&&this[n]!==void 0&&(!i||Dw(this,this[n],n,i)))}return!1}delete(e,i){let n=this,a=!1;function r(s){if(s=No(s),s){let o=C.findKey(n,s);o&&(!i||Dw(n,n[o],o,i))&&(delete n[o],a=!0)}}return C.isArray(e)?e.forEach(r):r(e),a}clear(e){let i=Object.keys(this),n=i.length,a=!1;for(;n--;){let r=i[n];(!e||Dw(this,this[r],r,e,!0))&&(delete this[r],a=!0)}return a}normalize(e){let i=this,n={};return C.forEach(this,(a,r)=>{let s=C.findKey(n,r);if(s){i[s]=Ic(a),delete i[r];return}let o=e?V4(r):String(r).trim();o!==r&&delete i[r],i[o]=Ic(a),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let i=Object.create(null);return C.forEach(this,(n,a)=>{n!=null&&n!==!1&&(i[a]=e&&C.isArray(n)?n.join(", "):n)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,i])=>e+": "+i).join(` +`)}getSetCookie(){let e=this.get("set-cookie");return C.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return B4(e)}static concat(e,...i){let n=new this(e);return i.forEach(a=>n.set(a)),n}static accessor(e){let n=(this[rk]=this[rk]={accessors:{}}).accessors,a=this.prototype;function r(s){let o=No(s);n[o]||(J4(a,s),n[o]=!0)}return C.isArray(e)?e.forEach(r):r(e),this}};ni.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);C.reduceDescriptors(ni.prototype,({value:t},e)=>{let i=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[i]=n}}});C.freezeMethods(ni);var Dc="[REDACTED ****]";function Z4(t){if(C.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(C.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}function K4(t,e){let i=new Set(e.map(r=>String(r).toLowerCase())),n=[],a=r=>{if(r===null||typeof r!="object"||C.isBuffer(r))return r;if(n.indexOf(r)!==-1)return;r instanceof ni&&(r=r.toJSON()),n.push(r);let s;if(C.isArray(r))s=[],r.forEach((o,l)=>{let u=a(o);C.isUndefined(u)||(s[l]=u)});else{if(!C.isPlainObject(r)&&Z4(r))return n.pop(),r;s=Object.create(null);for(let[o,l]of Object.entries(r)){let u=i.has(o.toLowerCase())?Dc:a(l);C.isUndefined(u)||(s[o]=u)}}return n.pop(),s};return a(t)}function sk(t){try{return String(t)}catch{return""}}function Q4(t){return t.errors.map(i=>{try{return i&&i.message?sk(i.message):sk(i)}catch{return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}var S=class t extends Error{static from(e,i,n,a,r,s){let o=e.message;!o&&C.isArray(e.errors)&&e.errors.length&&(o=Q4(e));let l=new t(o,i||e.code,n,a,r);return Object.defineProperty(l,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),l.name=e.name,e.status!=null&&l.status==null&&(l.status=e.status),s&&Object.assign(l,s),l}constructor(e,i,n,a,r){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,i&&(this.code=i),n&&(this.config=n),a&&(this.request=a),r&&(this.response=r,this.status=r.status)}toJSON(){let e=this.config,i=e&&C.hasOwnProp(e,"redact")?e.redact:void 0,n=C.isArray(i)&&i.length>0?K4(e,i):C.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};S.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";S.ERR_BAD_OPTION="ERR_BAD_OPTION";S.ECONNABORTED="ECONNABORTED";S.ETIMEDOUT="ETIMEDOUT";S.ECONNREFUSED="ECONNREFUSED";S.ERR_NETWORK="ERR_NETWORK";S.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";S.ERR_DEPRECATED="ERR_DEPRECATED";S.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";S.ERR_BAD_REQUEST="ERR_BAD_REQUEST";S.ERR_CANCELED="ERR_CANCELED";S.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";S.ERR_INVALID_URL="ERR_INVALID_URL";S.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Gw={isBufferAvailable(){return typeof Buffer<"u"},from(t){return Buffer.from(t)}},Fk=100;function Zw(t){return C.isPlainObject(t)||C.isArray(t)}function Vk(t){return C.endsWith(t,"[]")?t.slice(0,-2):t}function $w(t,e,i){return t?t.concat(e).map(function(a,r){return a=Vk(a),!i&&r?"["+a+"]":a}).join(i?".":""):e}function Y4(t){return C.isArray(t)&&!t.some(Zw)}var X4=C.toFlatObject(C,{},null,function(e){return/^is[A-Z]/.test(e)});function Lc(t,e,i){if(!C.isObject(t))throw new TypeError("target must be an object");e=e||new(qk||FormData),i=C.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,A){return!C.isUndefined(A[b])});let n=i.metaTokens,a=i.visitor||g,r=i.dots,s=i.indexes,o=i.Blob||typeof Blob<"u"&&Blob,l=i.maxDepth===void 0?Fk:i.maxDepth,u=o&&C.isSpecCompliantForm(e),c=[];if(!C.isFunction(a))throw new TypeError("visitor must be a function");function p(w){if(w===null)return"";if(C.isDate(w))return w.toISOString();if(C.isBoolean(w))return w.toString();if(!u&&C.isBlob(w))throw new S("Blob is not supported. Use a Buffer instead.");if(C.isArrayBuffer(w)||C.isTypedArray(w)){if(u&&typeof o=="function")return new o([w]);if(Gw&&Gw.isBufferAvailable())return Gw.from(w);throw new S("Blob is not supported. Use a Buffer instead.",S.ERR_NOT_SUPPORT)}return w}function d(w){if(w>l)throw new S("Object is too deeply nested ("+w+" levels). Max depth: "+l,S.ERR_FORM_DATA_DEPTH_EXCEEDED)}function h(w,b){if(l===1/0)return JSON.stringify(w);let A=[];return JSON.stringify(w,function(O,q){if(!C.isObject(q))return q;for(;A.length&&A[A.length-1]!==this;)A.pop();return A.push(q),d(b+A.length-1),q})}function g(w,b,A){let y=w;if(C.isReactNative(e)&&C.isReactNativeBlob(w))return e.append($w(A,b,r),p(w)),!1;if(w&&!A&&typeof w=="object"){if(C.endsWith(b,"{}"))b=n?b:b.slice(0,-2),w=h(w,1);else if(C.isArray(w)&&Y4(w)||(C.isFileList(w)||C.endsWith(b,"[]"))&&(y=C.toArray(w)))return b=Vk(b),y.forEach(function(q,W){!(C.isUndefined(q)||q===null)&&e.append(s===!0?$w([b],W,r):s===null?b:b+"[]",p(q))}),!1}return Zw(w)?!0:(e.append($w(A,b,r),p(w)),!1)}let m=Object.assign(X4,{defaultVisitor:g,convertValue:p,isVisitable:Zw});function f(w,b,A=0){if(!C.isUndefined(w)){if(d(A),c.indexOf(w)!==-1)throw new Error("Circular reference detected in "+b.join("."));c.push(w),C.forEach(w,function(O,q){(!(C.isUndefined(O)||O===null)&&a.call(e,O,C.isString(q)?q.trim():q,b,m))===!0&&f(O,b?b.concat(q):[q],A+1)}),c.pop()}}if(!C.isObject(t))throw new TypeError("data must be an object");return f(t),e}function ok(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(n){return e[n]})}function Jk(t,e){this._pairs=[],t&&Lc(t,this,e)}var Zk=Jk.prototype;Zk.append=function(e,i){this._pairs.push([e,i])};Zk.toString=function(e){let i=e?n=>e.call(this,n,ok):ok;return this._pairs.map(function(a){return i(a[0])+"="+i(a[1])},"").join("&")};function eZ(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ov(t,e,i){if(!e)return t;t=t||"";let n=C.isFunction(i)?{serialize:i}:i,a=C.getSafeProp(n,"encode")||eZ,r=C.getSafeProp(n,"serialize"),s;if(r?s=r(e,n):s=C.isURLSearchParams(e)?e.toString():new Jk(e,n).toString(a),s){let o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}var Gc=class{constructor(){this.handlers=[]}use(e,i,n){return this.handlers.push({fulfilled:e,rejected:i,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){C.forEach(this.handlers,function(n){n!==null&&e(n)})}},Bc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},iZ=NJ.URLSearchParams,Nw="abcdefghijklmnopqrstuvwxyz",lk="0123456789",Kk={DIGIT:lk,ALPHA:Nw,ALPHA_DIGIT:Nw+Nw.toUpperCase()+lk},nZ=(t=16,e=Kk.ALPHA_DIGIT)=>{let i="",{length:n}=e,a=new Uint32Array(t);$J.randomFillSync(a);for(let r=0;ruk)throw new S("FormData field is too deeply nested ("+t+" levels). Max depth: "+uk,S.ERR_FORM_DATA_DEPTH_EXCEEDED)}function uZ(t){let e=[],i=/[^.[\]]+|\[([^.[\]]*)]/g,n;for(;(n=i.exec(t))!==null;)Qk(e.length),e.push(n[0]==="[]"?"":n[1]||n[0]);return e}function cZ(t){let e={},i=Object.keys(t),n,a=i.length,r;for(n=0;n=i.length;return s=!s&&C.isArray(a)?a.length:s,l?(C.hasOwnProp(a,s)?a[s]=C.isArray(a[s])?a[s].concat(n):[a[s],n]:a[s]=n,!o):((!C.hasOwnProp(a,s)||!C.isObject(a[s]))&&(a[s]=[]),e(i,n,a[s],r)&&C.isArray(a[s])&&(a[s]=cZ(a[s])),!o)}if(C.isFormData(t)&&C.isFunction(t.entries)){let i={};return C.forEachEntry(t,(n,a)=>{e(uZ(n),a,i,0)}),i}return null}var Vr=(t,e)=>t!=null&&C.hasOwnProp(t,e)?t[e]:void 0;function pZ(t,e,i){if(C.isString(t))try{return(e||JSON.parse)(t),C.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(i||JSON.stringify)(t)}var Vo={transitional:Bc,adapter:["xhr","http","fetch"],transformRequest:[function(e,i){let n=i.getContentType()||"",a=n.indexOf("application/json")>-1,r=C.isObject(e);if(r&&C.isHTMLForm(e)&&(e=new FormData(e)),C.isFormData(e))return a?JSON.stringify(Yk(e)):e;if(C.isArrayBuffer(e)||C.isBuffer(e)||C.isStream(e)||C.isFile(e)||C.isBlob(e)||C.isReadableStream(e))return e;if(C.isArrayBufferView(e))return e.buffer;if(C.isURLSearchParams(e))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(r){let l=Vr(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return lZ(e,l).toString();if((o=C.isFileList(e))||n.indexOf("multipart/form-data")>-1){let u=Vr(this,"env"),c=u&&u.FormData;return Lc(o?{"files[]":e}:e,c&&new c,l)}}return r||a?(i.setContentType("application/json",!1),pZ(e)):e}],transformResponse:[function(e){let i=Vr(this,"transitional")||Vo.transitional,n=i&&i.forcedJSONParsing,a=Vr(this,"responseType"),r=a==="json";if(C.isResponse(e)||C.isReadableStream(e))return e;if(e&&C.isString(e)&&(n&&!a||r)){let o=!(i&&i.silentJSONParsing)&&r;try{return JSON.parse(e,Vr(this,"parseReviver"))}catch(l){if(o)throw l.name==="SyntaxError"?S.from(l,S.ERR_BAD_RESPONSE,this,null,Vr(this,"response")):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ke.classes.FormData,Blob:Ke.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(["delete","get","head","post","put","patch","query"],t=>{Vo.headers[t]={}});function Uw(t,e){let i=this||Vo,n=e||i,a=ni.from(n.headers),r=n.data;return C.forEach(t,function(o){r=o.call(i,r,a.normalize(),e?e.status:void 0)}),a.normalize(),r}function Xk(t){return!!(t&&t.__CANCEL__)}var gt=class extends S{constructor(e,i,n){super(e??"canceled",S.ERR_CANCELED,i,n),this.name="CanceledError",this.__CANCEL__=!0}};function Jr(t,e,i){let n=i.config.validateStatus;!i.status||!n||n(i.status)?t(i):e(new S("Request failed with status code "+i.status,i.status>=400&&i.status<500?S.ERR_BAD_REQUEST:S.ERR_BAD_RESPONSE,i.config,i.request,i))}function dZ(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function hZ(t,e){if(!e)return t;let i=t.length;for(;i>0&&t.charCodeAt(i-1)===47;)i--;return t.slice(0,i)+"/"+e.replace(/^\/+/,"")}var gZ=/^https?:(?!\/\/)/i,mZ=/[\t\n\r]/g;function fZ(t){let e=0;for(;e`${i}${n}${Dc}`)}function CZ(t){let e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Dc}@`),i=e.indexOf("#"),a=(i===-1?e:e.slice(0,i)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Dc}`);return i===-1?a:`${a}#${vZ(e.slice(i+1))}`}function ck(t,e){if(typeof t=="string"){let i=wZ(t);if(gZ.test(i))throw new S(`Invalid URL ${JSON.stringify(CZ(i))}: missing "//" after protocol`,S.ERR_INVALID_URL,e)}}function uv(t,e,i,n){ck(e,n);let a=!dZ(e);return t&&(a||i===!1)?(ck(t,n),hZ(t,e)):e}var AZ={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function bZ(t){try{return new URL(t)}catch{return null}}function yZ(t){var e=(typeof t=="string"?bZ(t):t)||{},i=e.protocol,n=e.host,a=e.port;if(typeof n!="string"||!n||typeof i!="string"||(i=i.split(":",1)[0],n=n.replace(/:\d*$/,""),a=parseInt(a)||AZ[i]||0,!PZ(n,a)))return"";var r=Qw(i+"_proxy")||Qw("all_proxy");return r&&r.indexOf("://")===-1&&(r=i+"://"+r),r}function PZ(t,e){var i=Qw("no_proxy").toLowerCase();return i?i==="*"?!1:i.split(/[,\s]/).every(function(n){if(!n)return!0;var a=n.match(/^(.+):(\d+)$/),r=a?a[1]:n,s=a?parseInt(a[2]):0;return s&&s!==e?!0:/^[.*]/.test(r)?(r.charAt(0)==="*"&&(r=r.slice(1)),!t.endsWith(r)):t!==r}):!0}function Qw(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}var Wo="1.19.0";function eq(t){let e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}var jZ=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function SZ(t,e,i){let n=i&&i.Blob||Ke.classes.Blob,a=eq(t);if(e===void 0&&n&&(e=!0),a==="data"){t=a.length?t.slice(a.length+1):t;let r=jZ.exec(t);if(!r)throw new S("Invalid URL",S.ERR_INVALID_URL);let s=r[1],o=r[2],l=r[3]?"base64":"utf8",u=r[4],c="";s?c=o?s+o:s:o&&(c="text/plain"+o);let p=l==="base64"?Buffer.from(u,"base64"):Buffer.from(decodeURIComponent(u),l);if(e){if(!n)throw new S("Blob is not supported",S.ERR_NOT_SUPPORT);return new n([p],{type:c})}return p}throw new S("Unsupported protocol "+a,S.ERR_NOT_SUPPORT)}var OZ=["content-type","content-length"];function iq(t,e,i){if(i!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([n,a])=>{OZ.includes(n.toLowerCase())&&t.set(n,a)})}var Ww=Symbol("internals"),$c=class extends Xi.Transform{constructor(e){e=C.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(n,a)=>!C.isUndefined(a[n])),super({readableHighWaterMark:e.chunkSize});let i=this[Ww]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",n=>{n==="progress"&&(i.isCaptured||(i.isCaptured=!0))})}_read(e){let i=this[Ww];return i.onReadCallback&&i.onReadCallback(),super._read(e)}_transform(e,i,n){let a=this[Ww],r=a.maxRate,s=this.readableHighWaterMark,o=a.timeWindow,l=1e3/o,u=r/l,c=a.minChunkSize!==!1?Math.max(a.minChunkSize,u*.01):0,p=(h,g)=>{let m=Buffer.byteLength(h);a.bytesSeen+=m,a.bytes+=m,a.isCaptured&&this.emit("progress",a.bytesSeen),this.push(h)?process.nextTick(g):a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(g)}},d=(h,g)=>{let m=Buffer.byteLength(h),f=null,w=s,b,A=0;if(r){let y=Date.now();(!a.ts||(A=y-a.ts)>=o)&&(a.ts=y,b=u-a.bytes,a.bytes=b<0?-b:0,A=0),b=u-a.bytes}if(r){if(b<=0)return setTimeout(()=>{g(null,h)},o-A);bw&&m-w>c&&(f=h.subarray(w),h=h.subarray(0,w)),p(h,f?()=>{process.nextTick(g,null,f)}:g)};d(e,function h(g,m){if(g)return n(g);m?d(m,h):n(null)})}},{asyncIterator:pk}=Symbol,nq=async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[pk]?yield*t[pk]():yield t},TZ=Ke.ALPHABET.ALPHA_DIGIT+"-_",Lo=typeof TextEncoder=="function"?new TextEncoder:new tv.TextEncoder,za=`\r +`,xZ=Lo.encode(za),MZ=2,Yw=class{constructor(e,i){let{escapeName:n}=this.constructor,a=C.isString(i),r=`Content-Disposition: form-data; name="${n(e)}"${!a&&i.name?`; filename="${n(i.name)}"`:""}${za}`;if(a)i=Lo.encode(String(i).replace(/\r?\n|\r\n?/g,za));else{let s=String(i.type||"application/octet-stream").replace(/[\r\n]/g,"");r+=`Content-Type: ${s}${za}`}this.headers=Lo.encode(r+za),this.contentLength=a?i.byteLength:i.size,this.size=this.headers.byteLength+this.contentLength+MZ,this.name=e,this.value=i}async*encode(){yield this.headers;let{value:e}=this;C.isTypedArray(e)?yield e:yield*nq(e),yield xZ}static escapeName(e){return String(e).replace(/[\r\n"]/g,i=>({"\r":"%0D","\n":"%0A",'"':"%22"})[i])}},EZ=(t,e,i)=>{let{tag:n="form-data-boundary",size:a=25,boundary:r=n+"-"+Ke.generateString(a,TZ)}=i||{};if(!C.isFormData(t))throw new TypeError("FormData instance required");if(r.length<1||r.length>70)throw new Error("boundary must be 1-70 characters long");let s=Lo.encode("--"+r+za),o=Lo.encode("--"+r+"--"+za),l=o.byteLength,u=Array.from(t.entries()).map(([p,d])=>{let h=new Yw(p,d);return l+=h.size,h});l+=s.byteLength*u.length,l=C.toFiniteNumber(l);let c={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(l)&&(c["Content-Length"]=l),e&&e(c),Xi.Readable.from((async function*(){for(let p of u)yield s,yield*p.encode();yield o})())},Xw=class extends Xi.Transform{__transform(e,i,n){this.push(e),n()}_transform(e,i,n){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let a=Buffer.alloc(2);a[0]=120,a[1]=156,this.push(a,i)}this.__transform(e,i,n)}},ev=class{constructor(){this.sessions=Object.create(null)}getSession(e,i){i=Object.assign({sessionTimeout:1e3},i);let n=this.sessions[e];if(n){let p=n.length;for(let d=0;d{if(r)return;r=!0,s&&(clearTimeout(s),s=null);let p=n,d=p.length,h=d;for(;h--;)if(p[h][0]===a){d===1?delete this.sessions[e]:p.splice(h,1),a.closed||a.close();return}},l=a.request,{sessionTimeout:u}=i;if(u!=null){let p=0;a.request=function(){let d=l.apply(this,arguments);return p++,s&&(clearTimeout(s),s=null),d.once("close",()=>{--p||(s=setTimeout(()=>{s=null,o()},u))}),d}}a.once("close",o);let c=[a,i];return n?n.push(c):n=this.sessions[e]=[c],a}},kZ=(t,e)=>C.isAsyncFn(t)?function(...i){let n=i.pop();t.apply(this,i).then(a=>{try{e?n(null,...e(a)):n(null,a)}catch(r){n(r)}},n)}:t,qZ=new Set(["localhost","0.0.0.0"]),tq=t=>{let e=t.split(".");return e.length!==4||e[0]!=="127"?!1:e.every(i=>/^\d+$/.test(i)&&Number(i)>=0&&Number(i)<=255)},Lw=t=>{if(/^0[xX][0-9a-fA-F]+$/.test(t)){let e=parseInt(t.slice(2),16);return Number.isFinite(e)?e:null}if(t.length>1&&/^0[0-7]+$/.test(t)){let e=parseInt(t,8);return Number.isFinite(e)?e:null}if(t.length>1&&/^0[0-9]+$/.test(t))return null;if(/^[0-9]+$/.test(t)){let e=parseInt(t,10);return Number.isFinite(e)?e:null}return null},_Z=t=>{if(typeof t!="string"||!t||t.indexOf(":")!==-1)return t;let e=t;if(e.charAt(0)==="["&&e.charAt(e.length-1)==="]"&&(e=e.slice(1,-1)),e=e.replace(/\.+$/,""),!/^[0-9.xXa-fA-F]+$/.test(e))return t;let i=e.split(".");if(i.some(c=>c===""))return t;if(i.length===4){let c=i.map(Lw);return c.some(p=>p===null||p<0||p>255)?t:c.join(".")}if(i.length>4||i.length===1)return t;let n=i.slice(0,-1),a=i[i.length-1],r=4-n.length,s=Lw(a);if(s===null)return t;let o=(1<<8*r)-1;if(s<0||s>o)return t;let l=new Array(r).fill(0);for(let c=r-1,p=s;c>=0;c--,p>>=8)l[c]=p&255;let u=n.map(Lw);return u.some(c=>c===null||c<0||c>255)?t:[...u,...l].join(".")},Bw=t=>/^0{1,4}$/.test(t),HZ=t=>{if(t==="::")return!0;let e=t.indexOf("::");if(e!==-1){if(e!==t.lastIndexOf("::"))return!1;let n=t.slice(0,e),a=t.slice(e+2),r=n?n.split(":"):[],s=a?a.split(":"):[];return r.length+s.length<8&&r.every(Bw)&&s.every(Bw)}let i=t.split(":");return i.length===8&&i.every(Bw)},IZ=t=>{if(t==="::1")return!0;let e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return tq(e[1]);let i=t.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(i){let a=parseInt(i[1],16);return a>=32512&&a<=32767}let n=t.split(":");if(n.length===8){for(let a=0;a<7;a++)if(!/^0+$/.test(n[a]))return!1;return/^0*1$/.test(n[7])}return!1},dk=t=>t?qZ.has(t)||tq(t)||HZ(t)?!0:IZ(t):!1,RZ={http:80,https:443,ws:80,wss:443,ftp:21},zZ=t=>{let e=t,i=0;if(e.charAt(0)==="["){let r=e.indexOf("]");if(r!==-1){let s=e.slice(1,r),o=e.slice(r+1);return o.charAt(0)===":"&&/^\d+$/.test(o.slice(1))&&(i=Number.parseInt(o.slice(1),10)),[s,i]}}let n=e.indexOf(":"),a=e.lastIndexOf(":");return n!==-1&&n===a&&/^\d+$/.test(e.slice(a+1))&&(i=Number.parseInt(e.slice(a+1),10),e=e.slice(0,a)),[e,i]},DZ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,GZ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,$Z=t=>{if(typeof t!="string"||t.indexOf(":")===-1)return t;let e=t.match(DZ);if(e)return e[1];let i=t.match(GZ);if(i){let n=parseInt(i[1],16),a=parseInt(i[2],16);return`${n>>8}.${n&255}.${a>>8}.${a&255}`}return t},hk=t=>{if(!t)return t;t.charAt(0)==="["&&t.charAt(t.length-1)==="]"&&(t=t.slice(1,-1));let e=t.replace(/\.+$/,""),i=_Z(e);return i!==e?i:$Z(e)};function NZ(t){let e;try{e=new URL(t)}catch{return!1}let i=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!i)return!1;if(i==="*")return!0;let n=Number.parseInt(e.port,10)||RZ[e.protocol.split(":",1)[0]]||0,a=hk(e.hostname.toLowerCase());return i.split(/[\s,]+/).some(r=>{if(!r)return!1;if(r==="*")return!0;let[s,o]=zZ(r);return s=hk(s),!s||o&&o!==n?!1:(s.charAt(0)==="*"&&(s=s.slice(1)),s.charAt(0)==="."?a.endsWith(s):a===s||dk(a)&&dk(s))})}function UZ(t,e){t=t||10;let i=new Array(t),n=new Array(t),a=0,r=0,s;return e=e!==void 0?e:1e3,function(l){let u=Date.now(),c=n[r];s||(s=u),i[a]=l,n[a]=u;let p=r,d=0;for(;p!==a;)d+=i[p++],p=p%t;if(a=(a+1)%t,a===r&&(r=(r+1)%t),u-s{i=c,a=null,r&&(clearTimeout(r),r=null),t(...u)};return[(...u)=>{let c=Date.now(),p=c-i;p>=n?s(u,c):(a=u,r||(r=setTimeout(()=>{r=null,s(a)},n-p)))},()=>a&&s(a)]}var Kr=(t,e,i=3)=>{let n=0,a=UZ(50,250);return WZ(r=>{if(!r||typeof r.loaded!="number")return;let s=r.loaded,o=r.lengthComputable?r.total:void 0,l=Math.max(0,o!=null?Math.min(s,o):s),u=Math.max(0,l-n),c=a(u);n=Math.max(n,l);let p={loaded:l,total:o,progress:o?l/o:void 0,bytes:u,rate:c||void 0,estimated:c&&o?(o-l)/c:void 0,event:r,lengthComputable:o!=null,[e?"download":"upload"]:!0};t(p)},i)},Nc=(t,e)=>{let i=t!=null;return[n=>e[0]({lengthComputable:i,total:t,loaded:n}),e[1]]},Uc=(t,e=C.asap)=>(...i)=>e(()=>t(...i)),gk=t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,aq=(t,e,i)=>e+2t<=57?t-48:(t&223)-55,LZ=t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,BZ=t=>t===9||t===10||t===12||t===13||t===32,FZ=t=>{let e=Math.floor(t/4),i=t%4;return e*3+(i===2?1:i===3?2:0)},rq=t=>{let e=t.length,i=0;return e>0&&t.charCodeAt(e-1)===61&&(i++,e>1&&t.charCodeAt(e-2)===61&&i++),Math.floor((e-i)*3/4)},VZ=t=>{let e=t.length,i=0,n=0,a=!1;for(let r=0;r0){a=!0;continue}i++}}return a||n>2||n>0&&(i+n)%4!==0||i%4===1?rq(t):FZ(i)},sq=(t,e)=>{if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;let i=t.indexOf(",");if(i<0)return 0;let n=t.slice(5,i),a=t.slice(i+1);if(/;base64/i.test(n))return e(a);let s=0;for(let o=0,l=a.length;o=55296&&u<=56319&&o+1=56320&&c<=57343?(s+=4,o++):s+=3}else s+=3}return s};function JZ(t){let e=typeof t=="string"?t.indexOf("#"):-1;return sq(e===-1?t:t.slice(0,e),VZ)}function ZZ(t){return sq(t,rq)}var fk={flush:An.constants.Z_SYNC_FLUSH,finishFlush:An.constants.Z_SYNC_FLUSH},KZ={flush:An.constants.BROTLI_OPERATION_FLUSH,finishFlush:An.constants.BROTLI_OPERATION_FLUSH},QZ={flush:An.constants.ZSTD_e_flush,finishFlush:An.constants.ZSTD_e_flush},oq=C.isFunction(An.createBrotliDecompress),lq=C.isFunction(An.createZstdDecompress),uq="gzip, compress, deflate"+(oq?", br":""),YZ=uq+(lq?", zstd":""),wk=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):C.asap,{http:XZ,https:e3}=UJ,cv=/https:?/,vk=Symbol("axios.http.socketListener"),qc=Symbol("axios.http.currentReq"),cq=Symbol("axios.http.installedTunnel"),i3=new Map,Ck=new WeakMap,Ak={22:21,24:5};function n3(t=process.versions&&process.versions.node){if(!t)return!1;let[e,i]=t.split(".").map(n=>Number(n));return!Number.isInteger(e)||!Number.isInteger(i)?!1:e>24?!0:Ak[e]!=null&&i>=Ak[e]}function t3(t,e=process.versions&&process.versions.node){if(!n3(e))return!1;let i=t&&t.options;return!!(i&&C.hasOwnProp(i,"proxyEnv")&&i.proxyEnv!=null)}function a3(t,e,i){return cv.test(t.protocol)?i||Ik.globalAgent:e||Hk.globalAgent}function r3(t,e){let i=t.protocol+"//"+t.hostname+":"+(t.port||"")+"#"+(t.auth||""),n=e?Ck.get(e)||Ck.set(e,new Map).get(e):i3,a=n.get(i);if(a)return a;let r=e&&e.options?{...e.options,...t}:t;if(a=new _k(r),e&&e.options){let s={...e.options},o=a.callback;a.callback=function(u,c){return o.call(this,u,{...s,...c})}}return a[cq]=!0,n.set(i,a),a}var bk=Ke.protocols.map(t=>t+":"),yk=t=>{if(!C.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},Pk=(t,[e,i])=>(t.on("end",i).on("error",i),e),s3=new ev;function o3(t,e,i){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.auth&&t.beforeRedirects.auth(t),t.beforeRedirects.sensitiveHeaders&&t.beforeRedirects.sensitiveHeaders(t,i),t.beforeRedirects.config&&t.beforeRedirects.config(t,e,i)}function l3(t,e){t&&Object.keys(t).forEach(i=>{e.has(i.toLowerCase())&&delete t[i]})}function u3(t,e){if(!e)return!1;try{return new URL(e.url).origin===new URL(t.href).origin}catch{return!1}}function pq(t,e,i,n,a,r){let s=e,o=a3(t,r,a);if(!s&&s!==!1&&!t3(o)){let l=yZ(i);l&&(NZ(i)||(s=new URL(l)))}if(n&&t.headers)for(let l of Object.keys(t.headers))l.toLowerCase()==="proxy-authorization"&&delete t.headers[l];if(n&&t.agent&&t.agent[cq]&&(t.agent=void 0),s){let l=s instanceof URL,u=g=>l||C.hasOwnProp(s,g)?s[g]:void 0,c=u("username"),p=u("password"),d=C.hasOwnProp(s,"auth")?s.auth:void 0;if(c&&(d=(c||"")+":"+(p||"")),d){let g=typeof d=="object",m=g&&C.hasOwnProp(d,"username")?d.username:void 0,f=g&&C.hasOwnProp(d,"password")?d.password:void 0;if(!!(m||f))d=(m||"")+":"+(f||"");else if(g)throw new S("Invalid proxy authorization",S.ERR_BAD_OPTION,{proxy:s})}if(cv.test(t.protocol)){if(!(a instanceof _k)){let g=u("hostname")||u("host"),m=u("port"),f=u("protocol"),w=f?f.includes(":")?f:`${f}:`:"http:",b=g&&g.includes(":")&&!g.startsWith("[")?`[${g}]`:g,A=new URL(`${w}//${b}${m?":"+m:""}`),y={protocol:A.protocol,hostname:A.hostname.replace(/^\[|\]$/g,""),port:A.port,auth:d&&typeof d=="string"?d:void 0};A.protocol==="https:"&&(y.ALPNProtocols=["http/1.1"]);let O=r3(y,a);t.agent=O,t.agents&&(t.agents.https=O)}}else{if(d){let w=Buffer.from(d,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+w}let g=!1;for(let w of Object.keys(t.headers))if(w.toLowerCase()==="host"){g=!0;break}g||(t.headers.host=t.hostname+(t.port?":"+t.port:""));let m=u("hostname")||u("host");t.hostname=m,t.host=m,t.port=u("port"),t.path=i;let f=u("protocol");f&&(t.protocol=f.includes(":")?f:`${f}:`)}}t.beforeRedirects.proxy=function(u){pq(u,e,u.href,!0,a,r)}}var c3=typeof process<"u"&&C.kindOf(process)==="process",p3=t=>new Promise((e,i)=>{let n,a,r=(l,u)=>{a||(a=!0,n&&n(l,u))},s=l=>{r(l),e(l)},o=l=>{r(l,!0),i(l)};t(s,o,l=>n=l).catch(o)}),d3=({address:t,family:e})=>{if(!C.isString(t))throw TypeError("address must be a string");return{address:t,family:e||(t.indexOf(".")<0?6:4)}},jk=(t,e)=>d3(C.isObject(t)?t:{address:t,family:e}),h3={request(t,e){let i=t.protocol+"//"+t.hostname+":"+(t.port||(t.protocol==="https:"?443:80)),{http2Options:n,headers:a}=t,r=s3.getSession(i,n),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:o,HTTP2_HEADER_PATH:l,HTTP2_HEADER_STATUS:u}=Rk.constants,c={[s]:t.protocol.replace(":",""),[o]:t.method,[l]:t.path};C.forEach(a,(d,h)=>{h.charAt(0)!==":"&&(c[h]=d)});let p=r.request(c);return p.once("response",d=>{let h=p;d=Object.assign({},d);let g=d[u];delete d[u],h.headers=d,h.statusCode=+g,e(h)}),p}},g3=c3&&function(e){return p3(async function(n,a,r){let s=D=>C.getSafeProp(e,D),o=s("transitional")||Bc,l=s("data"),u=s("lookup"),c=s("family"),p=s("httpVersion");p===void 0&&(p=1);let d=s("http2Options"),h=s("httpAgent"),g=s("httpsAgent"),m=s("proxy"),f=s("responseType"),w=s("responseEncoding"),b=s("socketPath"),A=s("method").toUpperCase(),y=s("maxRedirects"),O=s("maxBodyLength"),q=s("maxContentLength"),W=s("decompress"),ie,K=!1,M,X;if(p=+p,Number.isNaN(p))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(p!==1&&p!==2)throw TypeError(`Unsupported protocol version '${p}'`);let Pe=p===2;if(u){let D=kZ(u,I=>C.isArray(I)?I:[I]);u=(I,le,Ze)=>{D(I,le,(te,di,Mi)=>{if(te)return Ze(te);let ei=C.isArray(di)?di.map(Xa=>jk(Xa)):[jk(di,Mi)];le.all?Ze(te,ei):Ze(te,ei[0].address,ei[0].family)})}}let Oe=new WJ.EventEmitter;function ge(D){try{Oe.emit("abort",!D||D.type?new gt(null,e,M):D)}catch{}}function Ti(){X&&(clearTimeout(X),X=null)}function T(){let D=s("timeout"),I=D?"timeout of "+D+"ms exceeded":"timeout exceeded",le=s("timeoutErrorMessage");return le&&(I=le),new S(I,o.clarifyTimeoutError?S.ETIMEDOUT:S.ECONNABORTED,e,M)}Oe.once("abort",a);let G=()=>{Ti(),e.cancelToken&&e.cancelToken.unsubscribe(ge),e.signal&&e.signal.removeEventListener("abort",ge),Oe.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(ge),e.signal&&(e.signal.aborted?ge():e.signal.addEventListener("abort",ge))),r((D,I)=>{if(ie=!0,Ti(),I){K=!0,G();return}let{data:le}=D;if(le instanceof Xi.Readable||le instanceof Xi.Duplex){let Ze=Xi.finished(le,()=>{Ze(),G()})}else G()});let Me=uv(s("baseURL"),s("url"),s("allowAbsoluteUrls"),e),ri=b?"http://localhost":Ke.hasBrowserEnv?Ke.origin:void 0,R=new URL(Me,ri),Ce=R.protocol||bk[0];if(Ce==="data:"){if(q>-1){let I=String(s("url")||Me||"");if(ZZ(I)>q)return a(new S("maxContentLength size of "+q+" exceeded",S.ERR_BAD_RESPONSE,e))}let D;if(A!=="GET")return Jr(n,a,{status:405,statusText:"method not allowed",headers:{},config:e});try{D=SZ(s("url"),f==="blob",{Blob:e.env&&e.env.Blob})}catch(I){throw S.from(I,S.ERR_BAD_REQUEST,e)}return f==="text"?(D=D.toString(w),(!w||w==="utf8")&&(D=C.stripBOM(D))):f==="stream"&&(D=Xi.Readable.from(D)),Jr(n,a,{data:D,status:200,statusText:"OK",headers:new ni,config:e})}if(bk.indexOf(Ce)===-1)return a(new S("Unsupported protocol "+Ce,S.ERR_BAD_REQUEST,e));let ke=ni.from(e.headers).normalize();ke.set("User-Agent","axios/"+Wo,!1);let{onUploadProgress:xi,onDownloadProgress:Ni}=e,zn=e.maxRate,oe,si;if(C.isSpecCompliantForm(l)){let D=ke.getContentType(/boundary=([-_\w\d]{10,70})/i);l=EZ(l,I=>{ke.set(I)},{tag:`axios-${Wo}-boundary`,boundary:D&&D[1]||void 0})}else if(C.isFormData(l)&&C.isFunction(l.getHeaders)&&l.getHeaders!==Object.prototype.getHeaders){if(iq(ke,l.getHeaders(),s("formDataHeaderPolicy")),!ke.hasContentLength())try{let D=await tv.promisify(l.getLength).call(l);Number.isFinite(D)&&D>=0&&ke.setContentLength(D)}catch{}}else if(C.isBlob(l)||C.isFile(l))l.size&&ke.setContentType(l.type||"application/octet-stream"),ke.setContentLength(l.size||0),l=Xi.Readable.from(nq(l));else if(l&&!C.isStream(l)){if(!Buffer.isBuffer(l))if(C.isArrayBuffer(l))l=Buffer.from(new Uint8Array(l));else if(C.isString(l))l=Buffer.from(l,"utf-8");else return a(new S("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",S.ERR_BAD_REQUEST,e));if(ke.setContentLength(l.length,!1),O>-1&&l.length>O)return a(new S("Request body larger than maxBodyLength limit",S.ERR_BAD_REQUEST,e))}let pi=C.toFiniteNumber(ke.getContentLength());C.isArray(zn)?(oe=zn[0],si=zn[1]):oe=si=zn,l&&(xi||oe)&&(C.isStream(l)||(l=Xi.Readable.from(l,{objectMode:!1})),l=Xi.pipeline([l,new $c({maxRate:C.toFiniteNumber(oe)})],C.noop),xi&&l.on("progress",Pk(l,Nc(pi,Kr(Uc(xi,wk),!1,3)))));let an,Qt=s("auth");if(Qt){let D=C.getSafeProp(Qt,"username")||"",I=C.getSafeProp(Qt,"password")||"";an=D+":"+I}if(!an&&(R.username||R.password)){let D=yk(R.username),I=yk(R.password);an=D+":"+I}an&&ke.delete("authorization");let vt;try{vt=ov(R.pathname+R.search,s("params"),s("paramsSerializer")).replace(/^\?/,"")}catch(D){return a(S.from(D,S.ERR_BAD_REQUEST,e,null,null,{url:s("url"),exists:!0}))}ke.set("Accept-Encoding",C.hasOwnProp(o,"advertiseZstdAcceptEncoding")&&o.advertiseZstdAcceptEncoding===!0?YZ:uq,!1);let Te=Object.assign(Object.create(null),{path:vt,method:A,headers:sv(ke),agents:{http:h,https:g},auth:an,protocol:Ce,family:c,beforeRedirect:o3,beforeRedirects:Object.create(null),http2Options:d});if(!C.isUndefined(u)&&(Te.lookup=u),b){if(typeof b!="string")return a(new S("socketPath must be a string",S.ERR_BAD_OPTION_VALUE,e));let D=s("allowedSocketPaths");if(D!=null){let I=Array.isArray(D)?D:[D],le=nk.resolve(b);if(!I.some(te=>typeof te=="string"&&nk.resolve(te)===le))return a(new S(`socketPath "${b}" is not permitted by allowedSocketPaths`,S.ERR_BAD_OPTION_VALUE,e))}Te.socketPath=b}else Te.hostname=R.hostname.startsWith("[")?R.hostname.slice(1,-1):R.hostname,Te.port=R.port,pq(Te,m,Ce+"//"+R.hostname+(R.port?":"+R.port:"")+Te.path,!1,g,h);let rn,jn=!1,Ui=!1,J=cv.test(Te.protocol);if(Te.agent==null&&(Te.agent=J?g:h),Pe)rn=h3;else{let D=s("transport");if(D)rn=D;else if(y===0)rn=J?Ik:Hk,jn=!0;else{Ui=!0,Te.sensitiveHeaders=[],y&&(Te.maxRedirects=y);let I=s("beforeRedirect");if(I&&(Te.beforeRedirects.config=I),an){let Ze=R.origin,te=an;Te.beforeRedirects.auth=function(Mi){try{new URL(Mi.href).origin===Ze&&(Mi.auth=te)}catch{}}}let le=s("sensitiveHeaders");if(le!=null){if(!C.isArray(le))return a(new S("sensitiveHeaders must be an array of strings",S.ERR_BAD_OPTION_VALUE,e));let Ze=new Set;for(let te of le){if(!C.isString(te))return a(new S("sensitiveHeaders must be an array of strings",S.ERR_BAD_OPTION_VALUE,e));Ze.add(te.toLowerCase())}Ze.size&&(Te.sensitiveHeaders=Array.from(Ze),Te.beforeRedirects.sensitiveHeaders=function(di,Mi){u3(di,Mi)||l3(di.headers,Ze)})}rn=J?e3:XZ}}O>-1?Te.maxBodyLength=O:Te.maxBodyLength=1/0,Te.insecureHTTPParser=!!s("insecureHTTPParser"),M=rn.request(Te,function(I){if(Ti(),M.destroyed)return;let le=[I],Ze=C.toFiniteNumber(I.headers["content-length"]);if(Ni||si){let ei=new $c({maxRate:C.toFiniteNumber(si)});Ni&&ei.on("progress",Pk(ei,Nc(Ze,Kr(Uc(Ni,wk),!0,3)))),le.push(ei)}let te=I,di=I.req||M;if(W!==!1&&I.headers["content-encoding"])switch((A==="HEAD"||I.statusCode===204)&&delete I.headers["content-encoding"],(I.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":le.push(An.createUnzip(fk)),delete I.headers["content-encoding"];break;case"deflate":le.push(new Xw),le.push(An.createUnzip(fk)),delete I.headers["content-encoding"];break;case"br":oq&&(le.push(An.createBrotliDecompress(KZ)),delete I.headers["content-encoding"]);break;case"zstd":lq&&(le.push(An.createZstdDecompress(QZ)),delete I.headers["content-encoding"]);break}te=le.length>1?Xi.pipeline(le,C.noop):le[0];let Mi={status:I.statusCode,statusText:I.statusMessage,headers:new ni(I.headers),config:e,request:di};if(f==="stream"){if(q>-1){let ei=q,Xa=te;async function*ms(){let hi=0;for await(let zb of Xa){if(hi+=zb.length,hi>ei)throw new S("maxContentLength size of "+ei+" exceeded",S.ERR_BAD_RESPONSE,e,di);yield zb}}te=Xi.Readable.from(ms(),{objectMode:!1})}Mi.data=te,Jr(n,a,Mi)}else{let ei=[],Xa=0;te.on("data",function(hi){ei.push(hi),Xa+=hi.length,q>-1&&Xa>q&&(K=!0,te.destroy(),ge(new S("maxContentLength size of "+q+" exceeded",S.ERR_BAD_RESPONSE,e,di)))}),te.on("aborted",function(){if(K)return;let hi=new S("stream has been aborted",S.ERR_BAD_RESPONSE,e,di,Mi);te.destroy(hi),a(hi)}),te.on("error",function(hi){K||a(S.from(hi,null,e,di,Mi))}),te.on("end",function(){try{let hi=ei.length===1?ei[0]:Buffer.concat(ei);f!=="arraybuffer"&&(hi=hi.toString(w),(!w||w==="utf8")&&(hi=C.stripBOM(hi))),Mi.data=hi}catch(hi){return a(S.from(hi,null,e,Mi.request,Mi))}Jr(n,a,Mi)})}Oe.once("abort",ei=>{te.destroyed||(te.emit("error",ei),te.destroy())})}),Oe.once("abort",D=>{M.close?M.close():M.destroy(D)}),M.on("error",function(I){a(S.from(I,null,e,M))});let Ue=new Set;if(M.on("socket",function(I){typeof I.setKeepAlive=="function"&&I.setKeepAlive(!0,1e3*60),I[vk]||(I.on("error",function(Ze){let te=I[qc];te&&!te.destroyed&&te.destroy(Ze)}),I[vk]=!0),I[qc]=M,Ue.add(I)}),M.once("close",function(){Ti();for(let I of Ue)I[qc]===M&&(I[qc]=null);Ue.clear()}),s("timeout")){let D=parseInt(s("timeout"),10);if(Number.isNaN(D)){ge(new S("error trying to parse `config.timeout` to int",S.ERR_BAD_OPTION_VALUE,e,M));return}let I=function(){ie||ge(T())};jn&&D>0&&(X=setTimeout(I,D)),M.setTimeout(D,I)}else M.setTimeout(0);if(C.isStream(l)){let D=!1,I=!1;l.on("end",()=>{D=!0}),l.once("error",Ze=>{I=!0,M.destroy(Ze)}),l.on("close",()=>{!D&&!I&&ge(new gt("Request stream has been aborted",e,M))});let le=l;if(O>-1&&!Ui){let Ze=O,te=0;le=Xi.pipeline([l,new Xi.Transform({transform(di,Mi,ei){if(te+=di.length,te>Ze)return ei(new S("Request body larger than maxBodyLength limit",S.ERR_BAD_REQUEST,e,M));ei(null,di)}})],C.noop),le.on("error",di=>{M.destroyed||M.destroy(di)})}le.pipe(M)}else l&&M.write(l),M.end()})},m3=Ke.hasStandardBrowserEnv?((t,e)=>i=>(i=new URL(i,Ke.origin),t.protocol===i.protocol&&t.host===i.host&&(e||t.port===i.port)))(new URL(Ke.origin),Ke.navigator&&/(msie|trident)/i.test(Ke.navigator.userAgent)):()=>!0,f3=Ke.hasStandardBrowserEnv?{write(t,e,i,n,a,r,s){if(typeof document>"u")return;let o=[`${t}=${encodeURIComponent(e)}`];C.isNumber(i)&&o.push(`expires=${new Date(i).toUTCString()}`),C.isString(n)&&o.push(`path=${n}`),C.isString(a)&&o.push(`domain=${a}`),r===!0&&o.push("secure"),C.isString(s)&&o.push(`SameSite=${s}`),document.cookie=o.join("; ")},read(t){if(typeof document>"u")return null;let e=document.cookie.split(";");for(let i=0;it instanceof ni?{...t}:t,w3=t=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(t).concat(Object.getOwnPropertySymbols(t).filter(e=>Object.getOwnPropertyDescriptor(t,e).enumerable)):Object.keys(t);function $a(t,e){t=t||{},e=e||{};let i=Object.create(null);Object.defineProperty(i,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(c,p,d,h){return C.isPlainObject(c)&&C.isPlainObject(p)?C.merge.call({caseless:h},c,p):C.isPlainObject(p)?C.merge({},p):C.isArray(p)?p.slice():p}function a(c,p,d,h){if(C.isUndefined(p)){if(!C.isUndefined(c))return n(void 0,c,d,h)}else return n(c,p,d,h)}function r(c,p){if(!C.isUndefined(p))return n(void 0,p)}function s(c,p){if(C.isUndefined(p)){if(!C.isUndefined(c))return n(void 0,c)}else return n(void 0,p)}function o(c){let p=C.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!C.isUndefined(p))if(C.isPlainObject(p)){if(C.hasOwnProp(p,c))return p[c]}else return;let d=C.hasOwnProp(t,"transitional")?t.transitional:void 0;if(C.isPlainObject(d)&&C.hasOwnProp(d,c))return d[c]}function l(c,p,d){if(C.hasOwnProp(e,d))return n(c,p);if(C.hasOwnProp(t,d))return n(void 0,c)}let u={url:r,method:r,data:r,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:l,headers:(c,p,d)=>a(Sk(c),Sk(p),d,!0)};return C.forEach(w3({...t,...e}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;let d=C.hasOwnProp(u,p)?u[p]:a,h=C.hasOwnProp(t,p)?t[p]:void 0,g=C.hasOwnProp(e,p)?e[p]:void 0,m=d(h,g,p);C.isUndefined(m)&&d!==l||(i[p]=m)}),C.hasOwnProp(e,"validateStatus")&&C.isUndefined(e.validateStatus)&&o("validateStatusUndefinedResolves")===!1&&(C.hasOwnProp(t,"validateStatus")?i.validateStatus=n(void 0,t.validateStatus):delete i.validateStatus),i}var v3=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,i)=>String.fromCharCode(parseInt(i,16)));function dq(t){let e=$a({},t),i=d=>C.hasOwnProp(e,d)?e[d]:void 0,n=i("data"),a=i("withXSRFToken"),r=i("xsrfHeaderName"),s=i("xsrfCookieName"),o=i("headers"),l=i("auth"),u=i("baseURL"),c=i("allowAbsoluteUrls"),p=i("url");if(e.headers=o=ni.from(o),e.url=ov(uv(u,p,c,e),i("params"),i("paramsSerializer")),l){let d=C.getSafeProp(l,"username")||"",h=C.getSafeProp(l,"password")||"";try{o.set("Authorization","Basic "+btoa(d+":"+(h?v3(h):"")))}catch(g){throw S.from(g,S.ERR_BAD_OPTION_VALUE,t)}}if(C.isFormData(n)&&(Ke.hasStandardBrowserEnv||Ke.hasStandardBrowserWebWorkerEnv||C.isReactNative(n)?o.setContentType(void 0):C.isFunction(n.getHeaders)&&iq(o,n.getHeaders(),i("formDataHeaderPolicy"))),Ke.hasStandardBrowserEnv&&(C.isFunction(a)&&(a=a(e)),a===!0||a==null&&m3(e.url))){let h=r&&s&&f3.read(s);h&&o.set(r,h)}return e}var C3=typeof XMLHttpRequest<"u",A3=C3&&function(t){return new Promise(function(i,n){let a=dq(t),r=a.data,s=ni.from(a.headers).normalize(),{responseType:o,onUploadProgress:l,onDownloadProgress:u}=a,c,p,d,h,g;function m(){h&&h(),g&&g(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let f=new XMLHttpRequest;f.open(a.method.toUpperCase(),a.url,!0),f.timeout=a.timeout;function w(){if(!f)return;let A=ni.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),O={data:!o||o==="text"||o==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:A,config:t,request:f};Jr(function(W){i(W),m()},function(W){n(W),m()},O),f=null}"onloadend"in f?f.onloadend=w:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.startsWith("file:"))||setTimeout(w)},f.onabort=function(){f&&(n(new S("Request aborted",S.ECONNABORTED,t,f)),m(),f=null)},f.onerror=function(y){let O=y&&y.message?y.message:"Network Error",q=new S(O,S.ERR_NETWORK,t,f);q.event=y||null,n(q),m(),f=null},f.ontimeout=function(){let y=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded",O=a.transitional||Bc;a.timeoutErrorMessage&&(y=a.timeoutErrorMessage),n(new S(y,O.clarifyTimeoutError?S.ETIMEDOUT:S.ECONNABORTED,t,f)),m(),f=null},r===void 0&&s.setContentType(null),"setRequestHeader"in f&&C.forEach(sv(s),function(y,O){f.setRequestHeader(O,y)}),C.isUndefined(a.withCredentials)||(f.withCredentials=!!a.withCredentials),o&&o!=="json"&&(f.responseType=a.responseType),u&&([d,g]=Kr(u,!0),f.addEventListener("progress",d)),l&&f.upload&&([p,h]=Kr(l),f.upload.addEventListener("progress",p),f.upload.addEventListener("loadend",h)),(a.cancelToken||a.signal)&&(c=A=>{f&&(n(!A||A.type?new gt(null,t,f):A),f.abort(),m(),f=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));let b=eq(a.url);if(b&&!Ke.protocols.includes(b)){n(new S("Unsupported protocol "+b+":",S.ERR_BAD_REQUEST,t)),m();return}f.send(r||null)})},b3=(t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;let i=new AbortController,n=!1,a=function(l){if(!n){n=!0,s();let u=l instanceof Error?l:this.reason;i.abort(u instanceof S?u:new gt(u instanceof Error?u.message:u))}},r=e&&setTimeout(()=>{r=null,a(new S(`timeout of ${e}ms exceeded`,S.ETIMEDOUT))},e),s=()=>{t&&(r&&clearTimeout(r),r=null,t.forEach(l=>{l.unsubscribe?l.unsubscribe(a):l.removeEventListener("abort",a)}),t=null)};t.forEach(l=>{if(!n){if(l.aborted){a.call(l);return}l.addEventListener("abort",a,{once:!0})}});let{signal:o}=i;return o.unsubscribe=()=>C.asap(s),o},y3=function*(t,e){let i=t.byteLength;if(i{let a=P3(t,e),r=0,s,o=l=>{s||(s=!0,n&&n(l))};return new ReadableStream({async pull(l){try{let{done:u,value:c}=await a.next();if(u){o(),l.close();return}let p=c.byteLength;if(i){let d=r+=p;i(d)}l.enqueue(new Uint8Array(c))}catch(u){throw o(u),u}},cancel(l){return o(l),a.return()}},{highWaterMark:2})},Tk=64*1024,{isFunction:_c}=C,S3=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,i)=>String.fromCharCode(parseInt(i,16))),xk=t=>{if(!C.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},Mk=(t,...e)=>{try{return!!t(...e)}catch{return!1}},O3=t=>{let e=t.indexOf("://"),i=t;return e!==-1&&(i=i.slice(e+3)),i.includes("@")||i.includes(":")},T3=t=>{let e=C.global!==void 0&&C.global!==null?C.global:globalThis,{ReadableStream:i,TextEncoder:n}=e;t=C.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);let{fetch:a,Request:r,Response:s}=t,o=a?_c(a):typeof fetch=="function",l=_c(r),u=_c(s);if(!o)return!1;let c=o&&_c(i),p=o&&(typeof n=="function"?(w=>b=>w.encode(b))(new n):async w=>new Uint8Array(await new r(w).arrayBuffer())),d=l&&c&&Mk(()=>{let w=!1,b=new r(Ke.origin,{body:new i,method:"POST",get duplex(){return w=!0,"half"}}),A=b.headers.has("Content-Type");return b.body!=null&&b.body.cancel(),w&&!A}),h=u&&c&&Mk(()=>C.isReadableStream(new s("").body)),g={stream:h&&(w=>w.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(w=>{!g[w]&&(g[w]=(b,A)=>{let y=b&&b[w];if(y)return y.call(b);throw new S(`Response type '${w}' is not supported`,S.ERR_NOT_SUPPORT,A)})});let m=async w=>{if(w==null)return 0;if(C.isBlob(w))return w.size;if(C.isSpecCompliantForm(w))return(await new r(Ke.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(C.isArrayBufferView(w)||C.isArrayBuffer(w))return w.byteLength;if(C.isURLSearchParams(w)&&(w=w+""),C.isString(w))return(await p(w)).byteLength},f=async(w,b)=>{let A=C.toFiniteNumber(w.getContentLength());return A??m(b)};return async w=>{let{url:b,method:A,data:y,signal:O,cancelToken:q,timeout:W,onDownloadProgress:ie,onUploadProgress:K,responseType:M,headers:X,withCredentials:Pe="same-origin",fetchOptions:Oe,maxContentLength:ge,maxBodyLength:Ti}=dq(w),T=C.isNumber(ge)&&ge>-1,G=C.isNumber(Ti)&&Ti>-1,Me=oe=>C.hasOwnProp(w,oe)?w[oe]:void 0,ri=a||fetch;M=M?(M+"").toLowerCase():"text";let R=b3([O,q&&q.toAbortSignal()],W),Ce=null,ke=R&&R.unsubscribe&&(()=>{R.unsubscribe()}),xi,Ni=null,zn=()=>new S("Request body larger than maxBodyLength limit",S.ERR_BAD_REQUEST,w,Ce);try{let oe,si=Me("auth");if(si){let J=C.getSafeProp(si,"username")||"",Ue=C.getSafeProp(si,"password")||"";oe={username:J,password:Ue}}if(O3(b)){let J=new URL(b,Ke.origin);if(!oe&&(J.username||J.password)){let Ue=xk(J.username),D=xk(J.password);oe={username:Ue,password:D}}(J.username||J.password)&&(J.username="",J.password="",b=J.href)}if(oe&&(X.delete("authorization"),X.set("Authorization","Basic "+btoa(S3((oe.username||"")+":"+(oe.password||""))))),T&&typeof b=="string"&&b.startsWith("data:")&&JZ(b)>ge)throw new S("maxContentLength size of "+ge+" exceeded",S.ERR_BAD_RESPONSE,w,Ce);if(G&&A!=="get"&&A!=="head"){let J=await m(y);if(typeof J=="number"&&isFinite(J)&&(xi=J,J>Ti))throw zn()}let pi=G&&(C.isReadableStream(y)||C.isStream(y)),an=(J,Ue,D)=>Ok(J,Tk,I=>{if(G&&I>Ti)throw Ni=zn();Ue&&Ue(I)},D);if(d&&A!=="get"&&A!=="head"&&(K||pi)){if(xi=xi??await f(X,y),xi!==0||pi){let J=new r(b,{method:"POST",body:y,duplex:"half"}),Ue;if(C.isFormData(y)&&(Ue=J.headers.get("content-type"))&&X.setContentType(Ue),J.body){let[D,I]=K&&Nc(xi,Kr(Uc(K)))||[];y=an(J.body,D,I)}}}else if(pi&&!l&&c&&A!=="get"&&A!=="head")y=an(y);else if(pi&&l&&!d&&A!=="get"&&A!=="head")throw new S("Stream request bodies are not supported by the current fetch implementation",S.ERR_NOT_SUPPORT,w,Ce);C.isString(Pe)||(Pe=Pe?"include":"omit");let Qt=l&&"credentials"in r.prototype;if(C.isFormData(y)){let J=X.getContentType();J&&/^multipart\/form-data/i.test(J)&&!/boundary=/i.test(J)&&X.delete("content-type")}X.set("User-Agent","axios/"+Wo,!1);let vt={...Oe,signal:R,method:A.toUpperCase(),headers:sv(X.normalize()),body:y,duplex:"half",credentials:Qt?Pe:void 0};Ce=l&&new r(b,vt);let Te=await(l?ri(Ce,Oe):ri(b,vt)),rn=ni.from(Te.headers);if(T){let J=C.toFiniteNumber(rn.getContentLength());if(J!=null&&J>ge)throw new S("maxContentLength size of "+ge+" exceeded",S.ERR_BAD_RESPONSE,w,Ce)}let jn=h&&(M==="stream"||M==="response");if(h&&Te.body&&(ie||T||jn&&ke)){let J={};["status","statusText","headers"].forEach(te=>{J[te]=Te[te]});let Ue=C.toFiniteNumber(rn.getContentLength()),[D,I]=ie&&Nc(Ue,Kr(Uc(ie),!0))||[],le=0,Ze=te=>{if(T&&(le=te,le>ge))throw new S("maxContentLength size of "+ge+" exceeded",S.ERR_BAD_RESPONSE,w,Ce);D&&D(te)};Te=new s(Ok(Te.body,Tk,Ze,()=>{I&&I(),ke&&ke()}),J)}M=M||"text";let Ui=await g[C.findKey(g,M)||"text"](Te,w);if(T&&!h&&!jn){let J;if(Ui!=null&&(typeof Ui.byteLength=="number"?J=Ui.byteLength:typeof Ui.size=="number"?J=Ui.size:typeof Ui=="string"&&(J=typeof n=="function"?new n().encode(Ui).byteLength:Ui.length)),typeof J=="number"&&J>ge)throw new S("maxContentLength size of "+ge+" exceeded",S.ERR_BAD_RESPONSE,w,Ce)}return!jn&&ke&&ke(),await new Promise((J,Ue)=>{Jr(J,Ue,{data:Ui,headers:ni.from(Te.headers),status:Te.status,statusText:Te.statusText,config:w,request:Ce})})}catch(oe){if(ke&&ke(),R&&R.aborted&&R.reason instanceof S){let si=R.reason;throw si.config=w,Ce&&(si.request=Ce),oe!==si&&Object.defineProperty(si,"cause",{__proto__:null,value:oe,writable:!0,enumerable:!1,configurable:!0}),si}if(Ni)throw Ce&&!Ni.request&&(Ni.request=Ce),Ni;if(oe instanceof S)throw Ce&&!oe.request&&(oe.request=Ce),oe;if(oe&&oe.name==="TypeError"&&/Load failed|fetch/i.test(oe.message)){let si=new S("Network Error",S.ERR_NETWORK,w,Ce,oe&&oe.response);throw Object.defineProperty(si,"cause",{__proto__:null,value:oe.cause||oe,writable:!0,enumerable:!1,configurable:!0}),si}throw S.from(oe,oe&&oe.code,w,Ce,oe&&oe.response)}}},x3=new Map,hq=t=>{let e=t&&t.env||{},{fetch:i,Request:n,Response:a}=e,r=[n,a,i],s=r.length,o=s,l,u,c=x3;for(;o--;)l=r[o],u=c.get(l),u===void 0&&c.set(l,u=o?new Map:T3(e)),c=u;return u};hq();var pv={http:g3,xhr:A3,fetch:{get:hq}};C.forEach(pv,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});var Ek=t=>`- ${t}`,M3=t=>C.isFunction(t)||t===null||t===!1;function E3(t,e){t=C.isArray(t)?t:[t];let{length:i}=t,n,a,r={};for(let s=0;s`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build")),o=i?s.length>1?`since : +`+s.map(Ek).join(` +`):" "+Ek(s[0]):"as no adapter specified";throw new S("There is no suitable adapter to dispatch the request "+o,S.ERR_NOT_SUPPORT)}return a}var gq={getAdapter:E3,adapters:pv};function Fw(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new gt(null,t)}function Vw(t){return Fw(t),t.headers=ni.from(t.headers),t.data=Uw.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),gq.getAdapter(t.adapter||Vo.adapter,t)(t).then(function(n){Fw(t),t.response=n;try{n.data=Uw.call(t,t.transformResponse,n)}finally{delete t.response}return n.headers=ni.from(n.headers),n},function(n){if(!Xk(n)&&(Fw(t),n&&n.response)){t.response=n.response;try{n.response.data=Uw.call(t,t.transformResponse,n.response)}finally{delete t.response}n.response.headers=ni.from(n.response.headers)}return Promise.reject(n)})}var Fc={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Fc[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var kk={};Fc.transitional=function(e,i,n){function a(r,s){return"[Axios v"+Wo+"] Transitional option '"+r+"'"+s+(n?". "+n:"")}return(r,s,o)=>{if(e===!1)throw new S(a(s," has been removed"+(i?" in "+i:"")),S.ERR_DEPRECATED);return i&&!kk[s]&&(kk[s]=!0,console.warn(a(s," has been deprecated since v"+i+" and will be removed in the near future"))),e?e(r,s,o):!0}};Fc.spelling=function(e){return(i,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function k3(t,e,i){if(typeof t!="object"||t===null)throw new S("options must be an object",S.ERR_BAD_OPTION_VALUE);let n=Object.keys(t),a=n.length;for(;a-- >0;){let r=n[a],s=Object.prototype.hasOwnProperty.call(e,r)?e[r]:void 0;if(s){let o=t[r],l=o===void 0||s(o,r,t);if(l!==!0)throw new S("option "+r+" must be "+l,S.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new S("Unknown option "+r,S.ERR_BAD_OPTION)}}var Rc={assertOptions:k3,validators:Fc},Hi=Rc.validators,ht=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Gc,response:new Gc}}async request(e,i){try{return await this._request(e,i)}catch(n){if(n instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;let r=(()=>{if(!a.stack)return"";let s=a.stack.indexOf(` +`);return s===-1?"":a.stack.slice(s+1)})();try{if(!n.stack)n.stack=r;else if(r){let s=r.indexOf(` `),o=s===-1?-1:r.indexOf(` -`,s+1),l=o===-1?"":r.slice(o+1);String(i.stack).endsWith(l)||(i.stack+=` -`+r)}}catch{}}throw i}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ka(this.defaults,n);let{transitional:i,paramsSerializer:a,headers:r}=n;i!==void 0&&op.assertOptions(i,{silentJSONParsing:zn.transitional(zn.boolean),forcedJSONParsing:zn.transitional(zn.boolean),clarifyTimeoutError:zn.transitional(zn.boolean),legacyInterceptorReqResOrdering:zn.transitional(zn.boolean),advertiseZstdAcceptEncoding:zn.transitional(zn.boolean),validateStatusUndefinedResolves:zn.transitional(zn.boolean)},!1),a!=null&&(C.isFunction(a)?n.paramsSerializer={serialize:a}:op.assertOptions(a,{encode:zn.function,serialize:zn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),op.assertOptions(n,{baseUrl:zn.spelling("baseURL"),withXsrfToken:zn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=r&&C.merge(r.common,r[n.method]);r&&C.forEach(["delete","get","head","post","put","patch","query","common"],g=>{delete r[g]}),n.headers=sn.concat(s,r);let o=[],l=!0;this.interceptors.request.forEach(function(m){if(typeof m.runWhen=="function"&&m.runWhen(n)===!1)return;l=l&&m.synchronous;let f=n.transitional||fp;f&&f.legacyInterceptorReqResOrdering?o.unshift(m.fulfilled,m.rejected):o.push(m.fulfilled,m.rejected)});let u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,p=0,h;if(!l){let g=[kv.bind(this),void 0];for(g.unshift(...o),g.push(...u),h=g.length,c=Promise.resolve(n);pkv.call(this,d)))}catch(w){c=Promise.reject(w)}break}}if(!c)try{c=kv.call(this,d)}catch(g){c=Promise.reject(g)}for(p=0,h=u.length;p{if(!i._listeners)return;let r=i._listeners.length;for(;r-- >0;)i._listeners[r](a);i._listeners=null}),this.promise.then=a=>{let r,s=new Promise(o=>{i.subscribe(o),r=o}).then(a);return s.cancel=function(){i.unsubscribe(r)},s},e(function(r,s,o){i.reason||(i.reason=new At(r,s,o),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){let e=new AbortController,n=i=>{e.abort(i)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new t(function(a){e=a}),cancel:e}}};function T9(t){return function(n){return t.apply(null,n)}}function M9(t){return C.isObject(t)&&t.isAxiosError===!0}var $v={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries($v).forEach(([t,e])=>{$v[e]=t});function f_(t){let e=new Ct(t),n=Dq(Ct.prototype.request,e);return C.extend(n,Ct.prototype,e,{allOwnKeys:!0}),C.extend(n,e,null,{allOwnKeys:!0}),n.create=function(a){return f_(Ka(t,a))},n}var on=f_(pl);on.Axios=Ct;on.CanceledError=At;on.CancelToken=Gv;on.isCancel=e_;on.VERSION=ol;on.toFormData=mp;on.AxiosError=x;on.Cancel=on.CanceledError;on.all=function(e){return Promise.all(e)};on.spread=T9;on.isAxiosError=M9;on.mergeConfig=Ka;on.AxiosHeaders=sn;on.formToJSON=t=>Xq(C.isHTMLForm(t)?new FormData(t):t);on.getAdapter=m_.getAdapter;on.HttpStatusCode=$v;on.default=on;w_.exports=on});var A_=v((jue,C_)=>{C_.exports=require("util").inspect});var fl=v((Sue,$_)=>{var rC=typeof Map=="function"&&Map.prototype,Kv=Object.getOwnPropertyDescriptor&&rC?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Cp=rC&&Kv&&typeof Kv.get=="function"?Kv.get:null,b_=rC&&Map.prototype.forEach,sC=typeof Set=="function"&&Set.prototype,Qv=Object.getOwnPropertyDescriptor&&sC?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ap=sC&&Qv&&typeof Qv.get=="function"?Qv.get:null,y_=sC&&Set.prototype.forEach,E9=typeof WeakMap=="function"&&WeakMap.prototype,hl=E9?WeakMap.prototype.has:null,k9=typeof WeakSet=="function"&&WeakSet.prototype,gl=k9?WeakSet.prototype.has:null,q9=typeof WeakRef=="function"&&WeakRef.prototype,P_=q9?WeakRef.prototype.deref:null,_9=Boolean.prototype.valueOf,H9=Object.prototype.toString,I9=Function.prototype.toString,R9=String.prototype.match,oC=String.prototype.slice,Zt=String.prototype.replace,z9=String.prototype.toUpperCase,j_=String.prototype.toLowerCase,__=RegExp.prototype.test,S_=Array.prototype.concat,Ki=Array.prototype.join,D9=Array.prototype.slice,O_=Math.floor,eC=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Yv=Object.getOwnPropertySymbols,nC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,hs=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ml=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hs||!0)?Symbol.toStringTag:null,H_=Object.prototype.propertyIsEnumerable,x_=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function T_(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||__.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var i=t<0?-O_(-t):O_(t);if(i!==t){var a=String(i),r=oC.call(e,a.length+1);return Zt.call(a,n,"$&_")+"."+Zt.call(Zt.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Zt.call(e,n,"$&_")}var iC=A_(),M_=iC.custom,E_=z_(M_)?M_:null,I_={__proto__:null,double:'"',single:"'"},G9={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};$_.exports=function t(e,n,i,a){var r=n||{};if(bt(r,"quoteStyle")&&!bt(I_,r.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(bt(r,"maxStringLength")&&(typeof r.maxStringLength=="number"?r.maxStringLength<0&&r.maxStringLength!==1/0:r.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=bt(r,"customInspect")?r.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(bt(r,"indent")&&r.indent!==null&&r.indent!==" "&&!(parseInt(r.indent,10)===r.indent&&r.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(bt(r,"numericSeparator")&&typeof r.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=r.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return G_(e,r);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return o?T_(e,l):l}if(typeof e=="bigint"){var u=String(e)+"n";return o?T_(e,u):u}var c=typeof r.depth>"u"?5:r.depth;if(typeof i>"u"&&(i=0),i>=c&&c>0&&typeof e=="object")return tC(e)?"[Array]":"[Object]";var p=tK(r,i);if(typeof a>"u")a=[];else if(D_(a,e)>=0)return"[Circular]";function h(ie,ne,ze){if(ne&&(a=D9.call(a),a.push(ne)),ze){var O={depth:r.depth};return bt(r,"quoteStyle")&&(O.quoteStyle=r.quoteStyle),t(ie,O,i+1,a)}return t(ie,r,i+1,a)}if(typeof e=="function"&&!k_(e)){var d=J9(e),g=vp(e,h);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(g.length>0?" { "+Ki.call(g,", ")+" }":"")}if(z_(e)){var m=hs?Zt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):nC.call(e);return typeof e=="object"&&!hs?dl(m):m}if(eK(e)){for(var f="<"+j_.call(String(e.nodeName)),w=e.attributes||[],b=0;b",f}if(tC(e)){if(e.length===0)return"[]";var A=vp(e,h);return p&&!iK(A)?"["+aC(A,p)+"]":"[ "+Ki.call(A,", ")+" ]"}if(U9(e)){var y=vp(e,h);return!("cause"in Error.prototype)&&"cause"in e&&!H_.call(e,"cause")?"{ ["+String(e)+"] "+Ki.call(S_.call("[cause]: "+h(e.cause),y),", ")+" }":y.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Ki.call(y,", ")+" }"}if(typeof e=="object"&&s){if(E_&&typeof e[E_]=="function"&&iC)return iC(e,{depth:c-i});if(s!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Z9(e)){var S=[];return b_&&b_.call(e,function(ie,ne){S.push(h(ne,e,!0)+" => "+h(ie,e))}),q_("Map",Cp.call(e),S,p)}if(Y9(e)){var q=[];return y_&&y_.call(e,function(ie){q.push(h(ie,e))}),q_("Set",Ap.call(e),q,p)}if(K9(e))return Xv("WeakMap");if(X9(e))return Xv("WeakSet");if(Q9(e))return Xv("WeakRef");if(W9(e))return dl(h(Number(e)));if(F9(e))return dl(h(eC.call(e)));if(B9(e))return dl(_9.call(e));if(L9(e))return dl(h(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return"{ [object globalThis] }";if(!N9(e)&&!k_(e)){var N=vp(e,h),X=x_?x_(e)===Object.prototype:e instanceof Object||e.constructor===Object,W=e instanceof Object?"":"null prototype",T=!X&&ml&&Object(e)===e&&ml in e?oC.call(Kt(e),8,-1):W?"Object":"",Q=X||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",re=Q+(T||W?"["+Ki.call(S_.call([],T||[],W||[]),": ")+"] ":"");return N.length===0?re+"{}":p?re+"{"+aC(N,p)+"}":re+"{ "+Ki.call(N,", ")+" }"}return String(e)};function R_(t,e,n){var i=n.quoteStyle||e,a=I_[i];return a+t+a}function $9(t){return Zt.call(String(t),/"/g,""")}function Qa(t){return!ml||!(typeof t=="object"&&(ml in t||typeof t[ml]<"u"))}function tC(t){return Kt(t)==="[object Array]"&&Qa(t)}function N9(t){return Kt(t)==="[object Date]"&&Qa(t)}function k_(t){return Kt(t)==="[object RegExp]"&&Qa(t)}function U9(t){return Kt(t)==="[object Error]"&&Qa(t)}function L9(t){return Kt(t)==="[object String]"&&Qa(t)}function W9(t){return Kt(t)==="[object Number]"&&Qa(t)}function B9(t){return Kt(t)==="[object Boolean]"&&Qa(t)}function z_(t){if(hs)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!nC)return!1;try{return nC.call(t),!0}catch{}return!1}function F9(t){if(!t||typeof t!="object"||!eC)return!1;try{return eC.call(t),!0}catch{}return!1}var V9=Object.prototype.hasOwnProperty||function(t){return t in this};function bt(t,e){return V9.call(t,e)}function Kt(t){return H9.call(t)}function J9(t){if(t.name)return t.name;var e=R9.call(I9.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function D_(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;ne.maxStringLength){var n=t.length-e.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return G_(oC.call(t,0,e.maxStringLength),e)+i}var a=G9[e.quoteStyle||"single"];a.lastIndex=0;var r=Zt.call(Zt.call(t,a,"\\$1"),/[\x00-\x1f]/g,nK);return R_(r,"single",e)}function nK(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+z9.call(e.toString(16))}function dl(t){return"Object("+t+")"}function Xv(t){return t+" { ? }"}function q_(t,e,n,i){var a=i?aC(n,i):Ki.call(n,", ");return t+" ("+e+") {"+a+"}"}function iK(t){for(var e=0;e=0)return!1;return!0}function tK(t,e){var n;if(t.indent===" ")n=" ";else if(typeof t.indent=="number"&&t.indent>0)n=Ki.call(Array(t.indent+1)," ");else return null;return{base:n,prev:Ki.call(Array(e+1),n)}}function aC(t,e){if(t.length===0)return"";var n=` -`+e.prev+e.base;return n+Ki.call(t,","+n)+` -`+e.prev}function vp(t,e){var n=tC(t),i=[];if(n){i.length=t.length;for(var a=0;a{"use strict";var aK=fl(),rK=Vt(),bp=function(t,e,n){for(var i=t,a;(a=i.next)!=null;i=a)if(a.key===e)return i.next=a.next,n||(a.next=t.next,t.next=a),a},sK=function(t,e){if(t){var n=bp(t,e);return n&&n.value}},oK=function(t,e,n){var i=bp(t,e);i?i.value=n:t.next={key:e,next:t.next,value:n}},lK=function(t,e){return t?!!bp(t,e):!1},uK=function(t,e){if(t)return bp(t,e,!0)};N_.exports=function(){var e,n={assert:function(i){if(!n.has(i))throw new rK("Side channel does not contain "+aK(i))},delete:function(i){var a=uK(e,i);return a&&e&&!e.next&&(e=void 0),!!a},get:function(i){return sK(e,i)},has:function(i){return lK(e,i)},set:function(i,a){e||(e={next:void 0}),oK(e,i,a)}};return n}});var lC=v((xue,B_)=>{"use strict";var L_=Zo(),W_=Bw(),cK=W_([L_("%String.prototype.indexOf%")]);B_.exports=function(e,n){var i=L_(e,!!n);return typeof i=="function"&&cK(e,".prototype.")>-1?W_([i]):i}});var uC=v((Tue,V_)=>{"use strict";var pK=Zo(),wl=lC(),dK=fl(),hK=Vt(),F_=pK("%Map%",!0),gK=wl("Map.prototype.get",!0),mK=wl("Map.prototype.set",!0),fK=wl("Map.prototype.has",!0),wK=wl("Map.prototype.delete",!0),vK=wl("Map.prototype.size",!0);V_.exports=!!F_&&function(){var e,n={assert:function(i){if(!n.has(i))throw new hK("Side channel does not contain "+dK(i))},delete:function(i){if(e){var a=wK(e,i);return vK(e)===0&&(e=void 0),a}return!1},get:function(i){if(e)return gK(e,i)},has:function(i){return e?fK(e,i):!1},set:function(i,a){e||(e=new F_),mK(e,i,a)}};return n}});var Z_=v((Mue,J_)=>{"use strict";var CK=Zo(),Pp=lC(),AK=fl(),yp=uC(),bK=Vt(),gs=CK("%WeakMap%",!0),yK=Pp("WeakMap.prototype.get",!0),PK=Pp("WeakMap.prototype.set",!0),jK=Pp("WeakMap.prototype.has",!0),SK=Pp("WeakMap.prototype.delete",!0);J_.exports=gs?function(){var e,n,i={assert:function(a){if(!i.has(a))throw new bK("Side channel does not contain "+AK(a))},delete:function(a){if(gs&&a&&(typeof a=="object"||typeof a=="function")){if(e)return SK(e,a)}else if(yp&&n)return n.delete(a);return!1},get:function(a){return gs&&a&&(typeof a=="object"||typeof a=="function")&&e?yK(e,a):n&&n.get(a)},has:function(a){return gs&&a&&(typeof a=="object"||typeof a=="function")&&e?jK(e,a):!!n&&n.has(a)},set:function(a,r){gs&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new gs),PK(e,a,r)):yp&&(n||(n=yp()),n.set(a,r))}};return i}:yp});var cC=v((Eue,K_)=>{"use strict";var OK=Vt(),xK=fl(),TK=U_(),MK=uC(),EK=Z_(),kK=EK||MK||TK;K_.exports=function(){var e,n={assert:function(i){if(!n.has(i)){var a=i&&Object(i)===i?"the given object key":xK(i);throw new OK("Side channel does not contain "+a)}},delete:function(i){return!!e&&e.delete(i)},get:function(i){return e&&e.get(i)},has:function(i){return!!e&&e.has(i)},set:function(i,a){e||(e=kK()),e.set(i,a)}};return n}});var jp=v((kue,Q_)=>{"use strict";var qK=String.prototype.replace,_K=/%20/g,pC={RFC1738:"RFC1738",RFC3986:"RFC3986"};Q_.exports={default:pC.RFC3986,formatters:{RFC1738:function(t){return qK.call(t,_K,"+")},RFC3986:function(t){return String(t)}},RFC1738:pC.RFC1738,RFC3986:pC.RFC3986}});var mC=v((que,e2)=>{"use strict";var HK=jp(),X_=cC(),Y_=$w(),dC=Object.prototype.hasOwnProperty,Ya=Array.isArray,Op=X_(),Xa=function(e,n){return Op.set(e,n),e},er=function(e){return Op.has(e)},vl=function(e){return Op.get(e)},hC=function(e,n){Op.set(e,n)},Qi=(function(){for(var t=[],e=0;e<256;++e)t[t.length]="%"+((e<16?"0":"")+e.toString(16)).toUpperCase();return t})(),IK=function(e){for(;e.length>1;){var n=e.pop(),i=n.obj[n.prop];if(Ya(i)){for(var a=[],r=0;r=i.arrayLimit){if(i.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.");return Xa(ms(e.concat(n),i),a)}e[a]=n}else if(e&&typeof e=="object")if(er(e)){var r=vl(e)+1;e[r]=n,hC(e,r)}else{if(i&&i.strictMerge)return[e,n];(i&&(i.plainObjects||i.allowPrototypes)||!dC.call(Object.prototype,n))&&(e[n]=!0)}else return[e,n];return e}if(!e||typeof e!="object"){if(er(n)){for(var s=Object.keys(n),o=i&&i.plainObjects?{__proto__:null,0:e}:{0:e},l=0;li.arrayLimit){if(i.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.");return Xa(ms(c,i),c.length-1)}return c}var p=e;if(Ya(e)&&!Ya(n)&&(p=ms(e,i)),Ya(e)&&Ya(n)){if(n.forEach(function(h,d){if(dC.call(e,d)){var g=e[d];g&&typeof g=="object"&&h&&typeof h=="object"?e[d]=t(g,h,i):e[e.length]=h}else e[d]=h}),i&&typeof i.arrayLimit=="number"&&e.length>i.arrayLimit){if(i.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.");return Xa(ms(e,i),e.length-1)}return e}return Object.keys(n).reduce(function(h,d){var g=n[d];if(dC.call(h,d)?gC(h,d,t(h[d],g,i)):gC(h,d,g),er(n)&&!er(h)&&Xa(h,vl(n)),er(h)){var m=parseInt(d,10);String(m)===d&&m>=0&&m>vl(h)&&hC(h,m)}return h},p)},zK=function(e,n){return Object.keys(n).reduce(function(i,a){return gC(i,a,n[a]),i},e)},DK=function(t,e,n){var i=t.replace(/\+/g," ");if(n==="iso-8859-1")return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch{return i}},Sp=1024,GK=function(e,n,i,a,r){if(e.length===0)return e;var s=e;if(typeof e=="symbol"?s=Symbol.prototype.toString.call(e):typeof e!="string"&&(s=String(e)),i==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(g){return"%26%23"+parseInt(g.slice(2),16)+"%3B"});for(var o="",l=0;l=Sp?s.slice(l,l+Sp):s;if(l+Sp=55296&&c<=56319&&(u=u.slice(0,-1),l-=1)}for(var p=[],h=0;h=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||r===HK.RFC1738&&(d===40||d===41)){p[p.length]=u.charAt(h);continue}if(d<128){p[p.length]=Qi[d];continue}if(d<2048){p[p.length]=Qi[192|d>>6]+Qi[128|d&63];continue}if(d<55296||d>=57344){p[p.length]=Qi[224|d>>12]+Qi[128|d>>6&63]+Qi[128|d&63];continue}h+=1,d=65536+((d&1023)<<10|u.charCodeAt(h)&1023),p[p.length]=Qi[240|d>>18]+Qi[128|d>>12&63]+Qi[128|d>>6&63]+Qi[128|d&63]}o+=p.join("")}return o},$K=function(e){for(var n=[{obj:{o:e},prop:"o"}],i=X_(),a=0;ai){if(r)throw new RangeError("Array limit exceeded. Only "+i+" element"+(i===1?"":"s")+" allowed in an array.");return Xa(ms(o,{plainObjects:a}),o.length-1)}return o},WK=function(e,n){if(Ya(e)){for(var i=[],a=0;a{"use strict";var i2=cC(),xp=mC(),Cl=jp(),BK=Object.prototype.hasOwnProperty,t2={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,n){return e+"["+n+"]"},repeat:function(e){return e}},Yi=Array.isArray,FK=Array.prototype.push,a2=function(t,e){FK.apply(t,Yi(e)?e:[e])},VK=Date.prototype.toISOString,n2=Cl.default,pn={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:xp.encode,encodeValuesOnly:!1,filter:void 0,format:n2,formatter:Cl.formatters[n2],indices:!1,serializeDate:function(e){return VK.call(e)},skipNulls:!1,strictNullHandling:!1},JK=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},fC={},ZK=function t(e,n,i,a,r,s,o,l,u,c,p,h,d,g,m,f,w,b){for(var A=e,y=b,S=0,q=!1;(y=y.get(fC))!==void 0&&!q;){var N=y.get(e);if(S+=1,typeof N<"u"){if(N===S)throw new RangeError("Cyclic object value");q=!0}typeof y.get(fC)>"u"&&(S=0)}if(typeof c=="function"?A=c(n,A):A instanceof Date?A=d(A):i==="comma"&&Yi(A)&&(A=xp.maybeMap(A,function(_){return _ instanceof Date?d(_):_})),A===null){if(s)return m(u&&!f?u(n,pn.encoder,w,"key",g):n);A=""}if(JK(A)||xp.isBuffer(A)){if(u){var X=f?n:u(n,pn.encoder,w,"key",g);return[m(X)+"="+m(u(A,pn.encoder,w,"value",g))]}return[m(n)+"="+m(String(A))]}var W=[];if(typeof A>"u")return W;var T;if(i==="comma"&&Yi(A))f&&u&&(A=xp.maybeMap(A,function(_){return _==null?_:u(_)})),T=[{value:A.length>0?A.join(",")||null:void 0}];else if(Yi(c))T=c;else{var Q=Object.keys(A);T=p?Q.sort(p):Q}var re=l?String(n).replace(/\./g,"%2E"):String(n),ie=a&&Yi(A)&&A.length===1?re+"[]":re;if(r&&Yi(A)&&A.length===0)return ie+"[]";for(var ne=0;ne"u"?e.encodeDotInKeys===!0?!0:pn.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:pn.addQueryPrefix,allowDots:o,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:pn.allowEmptyArrays,arrayFormat:s,charset:n,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:pn.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?pn.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:pn.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:pn.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:pn.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:pn.encodeValuesOnly,filter:r,format:i,formatter:a,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:pn.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:pn.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:pn.strictNullHandling}};r2.exports=function(t,e){var n=t,i=KK(e),a,r;typeof i.filter=="function"?(r=i.filter,n=r("",n)):Yi(i.filter)&&(r=i.filter,a=r);var s=[];if(typeof n!="object"||n===null)return"";var o=t2[i.arrayFormat],l=o==="comma"&&i.commaRoundTrip;a||(a=Object.keys(n)),i.sort&&a.sort(i.sort);for(var u=i2(),c=0;c"u"||p===null)){var h=n[p];i.skipNulls&&h===null||a2(s,ZK(h,p,o,l,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,u))}}var d=s.join(i.delimiter),g=i.addQueryPrefix===!0?"?":"";return i.charsetSentinel&&(i.charset==="iso-8859-1"?g+="utf8=%26%2310003%3B"+i.delimiter:g+="utf8=%E2%9C%93"+i.delimiter),d.length>0?g+d:""}});var u2=v((Hue,l2)=>{"use strict";var Xi=mC(),Tp=Object.prototype.hasOwnProperty,wC=Array.isArray,Ye={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Xi.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},QK=function(t){return t.replace(/&#(\d+);/g,function(e,n){return String.fromCharCode(parseInt(n,10))})},o2=function(t,e,n,i){if(t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1){if(i&&e.throwOnLimitExceeded)for(var a=0,r=t.indexOf(",");r>-1;){if(a+=1,a>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");r=t.indexOf(",",r+1)}return t.split(",")}if(e.throwOnLimitExceeded&&n>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return t},YK="utf8=%26%2310003%3B",XK="utf8=%E2%9C%93",e6=function(e,n){var i={__proto__:null},a=n.ignoreQueryPrefix?e.replace(/^\?/,""):e;a=a.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var r=n.parameterLimit===1/0?void 0:n.parameterLimit,s=a.split(n.delimiter,n.throwOnLimitExceeded&&typeof r<"u"?r+1:r);if(n.throwOnLimitExceeded&&typeof r<"u"&&s.length>r)throw new RangeError("Parameter limit exceeded. Only "+r+" parameter"+(r===1?"":"s")+" allowed.");var o=-1,l,u=n.charset;if(n.charsetSentinel)for(l=0;l-1&&(g=wC(g)?[g]:g),n.comma&&wC(g)&&g.length>n.arrayLimit&&(g=Xi.combine([],g,n.arrayLimit,n.plainObjects,n.throwOnLimitExceeded)),d!==null){var m=Tp.call(i,d);m&&(n.duplicates==="combine"||c.indexOf("[]=")>-1)?i[d]=Xi.combine(i[d],g,n.arrayLimit,n.plainObjects,n.throwOnLimitExceeded):(!m||n.duplicates==="last")&&(i[d]=g)}}return i},n6=function(t,e,n,i){var a=0;if(t.length>0&&t[t.length-1]==="[]"){var r=t.slice(0,-1).join("");a=Array.isArray(e)&&e[r]?e[r].length:0}for(var s=i?e:o2(e,n,a),o=t.length-1;o>=0;--o){var l,u=t[o];if(u==="[]"&&n.parseArrays)Xi.isOverflow(s)?l=s:l=n.allowEmptyArrays&&(s===""||n.strictNullHandling&&s===null)?[]:Xi.combine([],s,n.arrayLimit,n.plainObjects,n.throwOnLimitExceeded);else{l=n.plainObjects?{__proto__:null}:{};var c=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,p=n.decodeDotInKeys?c.replace(/%2E/g,"."):c,h=parseInt(p,10),d=!isNaN(h)&&u!==p&&String(h)===p&&h>=0&&n.parseArrays;if(!n.parseArrays&&p==="")l={0:s};else if(d&&h=0?i.slice(0,r):i;if(s){if(!n.plainObjects&&Tp.call(Object.prototype,s)&&!n.allowPrototypes)return;a[a.length]=s}for(var o=i.length,l=r,u=0;l>=0&&u=0){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");a[a.length]="["+i.slice(l)+"]"}return a},t6=function(e,n,i,a){if(e){var r=i6(e,i);if(r)return n6(r,n,i,a)}},a6=function(e){if(!e)return Ye;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof e.throwOnLimitExceeded<"u"&&typeof e.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var n=typeof e.charset>"u"?Ye.charset:e.charset,i=typeof e.duplicates>"u"?Ye.duplicates:e.duplicates;if(i!=="combine"&&i!=="first"&&i!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var a=typeof e.allowDots>"u"?e.decodeDotInKeys===!0?!0:Ye.allowDots:!!e.allowDots;return{allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:Ye.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:Ye.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:Ye.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:Ye.arrayLimit,charset:n,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Ye.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:Ye.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:Ye.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:Ye.decoder,delimiter:typeof e.delimiter=="string"||Xi.isRegExp(e.delimiter)?e.delimiter:Ye.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:Ye.depth,duplicates:i,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:Ye.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:Ye.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:Ye.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:Ye.strictDepth,strictMerge:typeof e.strictMerge=="boolean"?!!e.strictMerge:Ye.strictMerge,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Ye.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:!1}};l2.exports=function(t,e){var n=a6(e);if(t===""||t===null||typeof t>"u")return n.plainObjects?{__proto__:null}:{};for(var i=typeof t=="string"?e6(t,n):t,a=n.plainObjects?{__proto__:null}:{},r=Object.keys(i),s=0;s{"use strict";var r6=s2(),s6=u2(),o6=jp();c2.exports={formats:o6,parse:s6,stringify:r6}});var ai=v((Rue,d2)=>{"use strict";var vC=class t extends Error{constructor(e){super(`Format functions must be synchronous taking a two arguments: (info, opts) +`,s+1),l=o===-1?"":r.slice(o+1);String(n.stack).endsWith(l)||(n.stack+=` +`+r)}}catch{}}throw n}}_request(e,i){typeof e=="string"?(i=i||{},i.url=e):i=e||{},i=$a(this.defaults,i);let{transitional:n,paramsSerializer:a,headers:r}=i;n!==void 0&&Rc.assertOptions(n,{silentJSONParsing:Hi.transitional(Hi.boolean),forcedJSONParsing:Hi.transitional(Hi.boolean),clarifyTimeoutError:Hi.transitional(Hi.boolean),legacyInterceptorReqResOrdering:Hi.transitional(Hi.boolean),advertiseZstdAcceptEncoding:Hi.transitional(Hi.boolean),validateStatusUndefinedResolves:Hi.transitional(Hi.boolean)},!1),a!=null&&(C.isFunction(a)?i.paramsSerializer={serialize:a}:Rc.assertOptions(a,{encode:Hi.function,serialize:Hi.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),Rc.assertOptions(i,{baseUrl:Hi.spelling("baseURL"),withXsrfToken:Hi.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let s=r&&C.merge(r.common,r[i.method]);r&&C.forEach(["delete","get","head","post","put","patch","query","common"],g=>{delete r[g]}),i.headers=ni.concat(s,r);let o=[],l=!0;this.interceptors.request.forEach(function(m){if(typeof m.runWhen=="function"&&m.runWhen(i)===!1)return;l=l&&m.synchronous;let f=i.transitional||Bc;f&&f.legacyInterceptorReqResOrdering?o.unshift(m.fulfilled,m.rejected):o.push(m.fulfilled,m.rejected)});let u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,p=0,d;if(!l){let g=[Vw.bind(this),void 0];for(g.unshift(...o),g.push(...u),d=g.length,c=Promise.resolve(i);pVw.call(this,h)))}catch(w){c=Promise.reject(w)}break}}if(!c)try{c=Vw.call(this,h)}catch(g){c=Promise.reject(g)}for(p=0,d=u.length;p{if(!n._listeners)return;let r=n._listeners.length;for(;r-- >0;)n._listeners[r](a);n._listeners=null}),this.promise.then=a=>{let r,s=new Promise(o=>{n.subscribe(o),r=o}).then(a);return s.cancel=function(){n.unsubscribe(r)},s},e(function(r,s,o){n.reason||(n.reason=new gt(r,s,o),i(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let i=this._listeners.indexOf(e);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){let e=new AbortController,i=n=>{e.abort(n)};return this.subscribe(i),e.signal.unsubscribe=()=>this.unsubscribe(i),e.signal}static source(){let e;return{token:new t(function(a){e=a}),cancel:e}}};function q3(t){return function(i){return t.apply(null,i)}}function _3(t){return C.isObject(t)&&t.isAxiosError===!0}var nv={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(nv).forEach(([t,e])=>{nv[e]=t});function mq(t){let e=new ht(t),i=zk(ht.prototype.request,e);return C.extend(i,ht.prototype,e,{allOwnKeys:!0}),C.extend(i,e,null,{allOwnKeys:!0}),i.create=function(a){return mq($a(t,a))},i}var ti=mq(Vo);ti.Axios=ht;ti.CanceledError=gt;ti.CancelToken=iv;ti.isCancel=Xk;ti.VERSION=Wo;ti.toFormData=Lc;ti.AxiosError=S;ti.Cancel=ti.CanceledError;ti.all=function(e){return Promise.all(e)};ti.spread=q3;ti.isAxiosError=_3;ti.mergeConfig=$a;ti.AxiosHeaders=ni;ti.formToJSON=t=>Yk(C.isHTMLForm(t)?new FormData(t):t);ti.getAdapter=gq.getAdapter;ti.HttpStatusCode=nv;ti.default=ti;fq.exports=ti});var nn=v((Vre,vq)=>{"use strict";var dv=class t extends Error{constructor(e){super(`Format functions must be synchronous taking a two arguments: (info, opts) Found: ${e.toString().split(` `)[0]} -`),Error.captureStackTrace(this,t)}};d2.exports=t=>{if(t.length>2)throw new vC(t);function e(i={}){this.options=i}e.prototype.transform=t;function n(i){return new e(i)}return n.Format=e,n}});var f2=v((zue,m2)=>{var g2={};m2.exports=g2;var h2={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39],brightRed:[91,39],brightGreen:[92,39],brightYellow:[93,39],brightBlue:[94,39],brightMagenta:[95,39],brightCyan:[96,39],brightWhite:[97,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgGray:[100,49],bgGrey:[100,49],bgBrightRed:[101,49],bgBrightGreen:[102,49],bgBrightYellow:[103,49],bgBrightBlue:[104,49],bgBrightMagenta:[105,49],bgBrightCyan:[106,49],bgBrightWhite:[107,49],blackBG:[40,49],redBG:[41,49],greenBG:[42,49],yellowBG:[43,49],blueBG:[44,49],magentaBG:[45,49],cyanBG:[46,49],whiteBG:[47,49]};Object.keys(h2).forEach(function(t){var e=h2[t],n=g2[t]=[];n.open="\x1B["+e[0]+"m",n.close="\x1B["+e[1]+"m"})});var v2=v((Due,w2)=>{"use strict";w2.exports=function(t,e){e=e||process.argv||[];var n=e.indexOf("--"),i=/^-{1,2}/.test(t)?"":"--",a=e.indexOf(i+t);return a!==-1&&(n===-1?!0:a{"use strict";var l6=require("os"),Ri=v2(),Ln=process.env,fs=void 0;Ri("no-color")||Ri("no-colors")||Ri("color=false")?fs=!1:(Ri("color")||Ri("colors")||Ri("color=true")||Ri("color=always"))&&(fs=!0);"FORCE_COLOR"in Ln&&(fs=Ln.FORCE_COLOR.length===0||parseInt(Ln.FORCE_COLOR,10)!==0);function u6(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function c6(t){if(fs===!1)return 0;if(Ri("color=16m")||Ri("color=full")||Ri("color=truecolor"))return 3;if(Ri("color=256"))return 2;if(t&&!t.isTTY&&fs!==!0)return 0;var e=fs?1:0;if(process.platform==="win32"){var n=l6.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in Ln)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(a){return a in Ln})||Ln.CI_NAME==="codeship"?1:e;if("TEAMCITY_VERSION"in Ln)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ln.TEAMCITY_VERSION)?1:0;if("TERM_PROGRAM"in Ln){var i=parseInt((Ln.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ln.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ln.TERM)?2:/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(Ln.TERM)||"COLORTERM"in Ln?1:(Ln.TERM==="dumb",e)}function CC(t){var e=c6(t);return u6(e)}C2.exports={supportsColor:CC,stdout:CC(process.stdout),stderr:CC(process.stderr)}});var y2=v(($ue,b2)=>{b2.exports=function(e,n){var i="";e=e||"Run the trap, drop the bass",e=e.split("");var a={a:["@","\u0104","\u023A","\u0245","\u0394","\u039B","\u0414"],b:["\xDF","\u0181","\u0243","\u026E","\u03B2","\u0E3F"],c:["\xA9","\u023B","\u03FE"],d:["\xD0","\u018A","\u0500","\u0501","\u0502","\u0503"],e:["\xCB","\u0115","\u018E","\u0258","\u03A3","\u03BE","\u04BC","\u0A6C"],f:["\u04FA"],g:["\u0262"],h:["\u0126","\u0195","\u04A2","\u04BA","\u04C7","\u050A"],i:["\u0F0F"],j:["\u0134"],k:["\u0138","\u04A0","\u04C3","\u051E"],l:["\u0139"],m:["\u028D","\u04CD","\u04CE","\u0520","\u0521","\u0D69"],n:["\xD1","\u014B","\u019D","\u0376","\u03A0","\u048A"],o:["\xD8","\xF5","\xF8","\u01FE","\u0298","\u047A","\u05DD","\u06DD","\u0E4F"],p:["\u01F7","\u048E"],q:["\u09CD"],r:["\xAE","\u01A6","\u0210","\u024C","\u0280","\u042F"],s:["\xA7","\u03DE","\u03DF","\u03E8"],t:["\u0141","\u0166","\u0373"],u:["\u01B1","\u054D"],v:["\u05D8"],w:["\u0428","\u0460","\u047C","\u0D70"],x:["\u04B2","\u04FE","\u04FC","\u04FD"],y:["\xA5","\u04B0","\u04CB"],z:["\u01B5","\u0240"]};return e.forEach(function(r){r=r.toLowerCase();var s=a[r]||[" "],o=Math.floor(Math.random()*s.length);typeof a[r]<"u"?i+=a[r][o]:i+=r}),i}});var j2=v((Nue,P2)=>{P2.exports=function(e,n){e=e||" he is here ";var i={up:["\u030D","\u030E","\u0304","\u0305","\u033F","\u0311","\u0306","\u0310","\u0352","\u0357","\u0351","\u0307","\u0308","\u030A","\u0342","\u0313","\u0308","\u034A","\u034B","\u034C","\u0303","\u0302","\u030C","\u0350","\u0300","\u0301","\u030B","\u030F","\u0312","\u0313","\u0314","\u033D","\u0309","\u0363","\u0364","\u0365","\u0366","\u0367","\u0368","\u0369","\u036A","\u036B","\u036C","\u036D","\u036E","\u036F","\u033E","\u035B","\u0346","\u031A"],down:["\u0316","\u0317","\u0318","\u0319","\u031C","\u031D","\u031E","\u031F","\u0320","\u0324","\u0325","\u0326","\u0329","\u032A","\u032B","\u032C","\u032D","\u032E","\u032F","\u0330","\u0331","\u0332","\u0333","\u0339","\u033A","\u033B","\u033C","\u0345","\u0347","\u0348","\u0349","\u034D","\u034E","\u0353","\u0354","\u0355","\u0356","\u0359","\u035A","\u0323"],mid:["\u0315","\u031B","\u0300","\u0301","\u0358","\u0321","\u0322","\u0327","\u0328","\u0334","\u0335","\u0336","\u035C","\u035D","\u035E","\u035F","\u0360","\u0362","\u0338","\u0337","\u0361"," \u0489"]},a=[].concat(i.up,i.down,i.mid);function r(l){var u=Math.floor(Math.random()*l);return u}function s(l){var u=!1;return a.filter(function(c){u=c===l}),u}function o(l,u){var c="",p,h;u=u||{},u.up=typeof u.up<"u"?u.up:!0,u.mid=typeof u.mid<"u"?u.mid:!0,u.down=typeof u.down<"u"?u.down:!0,u.size=typeof u.size<"u"?u.size:"maxi",l=l.split("");for(h in l)if(!s(h)){switch(c=c+l[h],p={up:0,down:0,mid:0},u.size){case"mini":p.up=r(8),p.mid=r(2),p.down=r(8);break;case"maxi":p.up=r(16)+3,p.mid=r(4)+1,p.down=r(64)+3;break;default:p.up=r(8)+1,p.mid=r(6)/2,p.down=r(8)+1;break}var d=["up","mid","down"];for(var g in d)for(var m=d[g],f=0;f<=p[m];f++)u[m]&&(c=c+i[m][r(i[m].length)])}return c}return o(e,n)}});var O2=v((Uue,S2)=>{S2.exports=function(t){return function(e,n,i){if(e===" ")return e;switch(n%3){case 0:return t.red(e);case 1:return t.white(e);case 2:return t.blue(e)}}}});var T2=v((Lue,x2)=>{x2.exports=function(t){return function(e,n,i){return n%2===0?e:t.inverse(e)}}});var E2=v((Wue,M2)=>{M2.exports=function(t){var e=["red","yellow","green","blue","magenta"];return function(n,i,a){return n===" "?n:t[e[i++%e.length]](n)}}});var q2=v((Bue,k2)=>{k2.exports=function(t){var e=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta","brightYellow","brightRed","brightGreen","brightBlue","brightWhite","brightCyan","brightMagenta"];return function(n,i,a){return n===" "?n:t[e[Math.round(Math.random()*(e.length-2))]](n)}}});var D2=v((Vue,z2)=>{var fe={};z2.exports=fe;fe.themes={};var p6=require("util"),nr=fe.styles=f2(),H2=Object.defineProperties,d6=new RegExp(/[\r\n]+/g);fe.supportsColor=A2().supportsColor;typeof fe.enabled>"u"&&(fe.enabled=fe.supportsColor()!==!1);fe.enable=function(){fe.enabled=!0};fe.disable=function(){fe.enabled=!1};fe.stripColors=fe.strip=function(t){return(""+t).replace(/\x1B\[\d+m/g,"")};var Fue=fe.stylize=function(e,n){if(!fe.enabled)return e+"";var i=nr[n];return!i&&n in fe?fe[n](e):i.open+e+i.close},h6=/[|\\{}()[\]^$+*?.]/g,g6=function(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(h6,"\\$&")};function I2(t){var e=function n(){return f6.apply(n,arguments)};return e._styles=t,e.__proto__=m6,e}var R2=(function(){var t={};return nr.grey=nr.gray,Object.keys(nr).forEach(function(e){nr[e].closeRe=new RegExp(g6(nr[e].close),"g"),t[e]={get:function(){return I2(this._styles.concat(e))}}}),t})(),m6=H2(function(){},R2);function f6(){var t=Array.prototype.slice.call(arguments),e=t.map(function(s){return s!=null&&s.constructor===String?s:p6.inspect(s)}).join(" ");if(!fe.enabled||!e)return e;for(var n=e.indexOf(` -`)!=-1,i=this._styles,a=i.length;a--;){var r=nr[i[a]];e=r.open+e.replace(r.closeRe,r.open)+r.close,n&&(e=e.replace(d6,function(s){return r.close+s+r.open}))}return e}fe.setTheme=function(t){if(typeof t=="string"){console.log("colors.setTheme now only accepts an object, not a string. If you are trying to set a theme from a file, it is now your (the caller's) responsibility to require the file. The old syntax looked like colors.setTheme(__dirname + '/../themes/generic-logging.js'); The new syntax looks like colors.setTheme(require(__dirname + '/../themes/generic-logging.js'));");return}for(var e in t)(function(n){fe[n]=function(i){if(typeof t[n]=="object"){var a=i;for(var r in t[n])a=fe[t[n][r]](a);return a}return fe[t[n]](i)}})(e)};function w6(){var t={};return Object.keys(R2).forEach(function(e){t[e]={get:function(){return I2([e])}}}),t}var v6=function(e,n){var i=n.split("");return i=i.map(e),i.join("")};fe.trap=y2();fe.zalgo=j2();fe.maps={};fe.maps.america=O2()(fe);fe.maps.zebra=T2()(fe);fe.maps.rainbow=E2()(fe);fe.maps.random=q2()(fe);for(_2 in fe.maps)(function(t){fe[t]=function(e){return v6(fe.maps[t],e)}})(_2);var _2;H2(fe,w6())});var AC=v((Jue,G2)=>{var C6=D2();G2.exports=C6});var $2=v(bC=>{"use strict";bC.levels={error:0,warn:1,help:2,data:3,info:4,debug:5,prompt:6,verbose:7,input:8,silly:9};bC.colors={error:"red",warn:"yellow",help:"cyan",data:"grey",info:"green",debug:"blue",prompt:"grey",verbose:"cyan",input:"grey",silly:"magenta"}});var N2=v(yC=>{"use strict";yC.levels={error:0,warn:1,info:2,http:3,verbose:4,debug:5,silly:6};yC.colors={error:"red",warn:"yellow",info:"green",http:"green",verbose:"cyan",debug:"blue",silly:"magenta"}});var U2=v(PC=>{"use strict";PC.levels={emerg:0,alert:1,crit:2,error:3,warning:4,notice:5,info:6,debug:7};PC.colors={emerg:"red",alert:"yellow",crit:"red",error:"red",warning:"red",notice:"yellow",info:"green",debug:"blue"}});var L2=v(Mp=>{"use strict";Object.defineProperty(Mp,"cli",{value:$2()});Object.defineProperty(Mp,"npm",{value:N2()});Object.defineProperty(Mp,"syslog",{value:U2()})});var ln=v(Al=>{"use strict";Object.defineProperty(Al,"LEVEL",{value:Symbol.for("level")});Object.defineProperty(Al,"MESSAGE",{value:Symbol.for("message")});Object.defineProperty(Al,"SPLAT",{value:Symbol.for("splat")});Object.defineProperty(Al,"configs",{value:L2()})});var qp=v((ece,kp)=>{"use strict";var OC=AC(),{LEVEL:jC,MESSAGE:SC}=ln();OC.enabled=!0;var W2=/\s+/,Ep=class t{constructor(e={}){e.colors&&this.addColors(e.colors),this.options=e}static addColors(e){let n=Object.keys(e).reduce((i,a)=>(i[a]=W2.test(e[a])?e[a].split(W2):e[a],i),{});return t.allColors=Object.assign({},t.allColors||{},n),t.allColors}addColors(e){return t.addColors(e)}colorize(e,n,i){if(typeof i>"u"&&(i=n),!Array.isArray(t.allColors[e]))return OC[t.allColors[e]](i);for(let a=0,r=t.allColors[e].length;anew Ep(t);kp.exports.Colorizer=kp.exports.Format=Ep});var F2=v((nce,B2)=>{"use strict";var{Colorizer:A6}=qp();B2.exports=t=>(A6.addColors(t.colors||t),t)});var J2=v((ice,V2)=>{"use strict";var b6=ai();V2.exports=b6(t=>(t.message=` ${t.message}`,t))});var Q2=v((tce,K2)=>{"use strict";var y6=ai(),{LEVEL:Z2,MESSAGE:xC}=ln();K2.exports=y6((t,{stack:e,cause:n})=>{if(t instanceof Error){let a=Object.assign({},t,{level:t.level,[Z2]:t[Z2]||t.level,message:t.message,[xC]:t[xC]||t.message});return e&&(a.stack=t.stack),n&&(a.cause=t.cause),a}if(!(t.message instanceof Error))return t;let i=t.message;return Object.assign(t,i),t.message=i.message,t[xC]=i.message,e&&(t.stack=i.stack),n&&(t.cause=i.cause),t})});var MC=v((ace,Hp)=>{"use strict";var{configs:P6,LEVEL:Y2,MESSAGE:TC}=ln(),_p=class t{constructor(e={levels:P6.npm.levels}){this.paddings=t.paddingForLevels(e.levels,e.filler),this.options=e}static getLongestLevel(e){let n=Object.keys(e).map(i=>i.length);return Math.max(...n)}static paddingForLevel(e,n,i){let a=i+1-e.length,r=Math.floor(a/n.length);return`${n}${n.repeat(r)}`.slice(0,a)}static paddingForLevels(e,n=" "){let i=t.getLongestLevel(e);return Object.keys(e).reduce((a,r)=>(a[r]=t.paddingForLevel(r,n,i),a),{})}transform(e,n){return e.message=`${this.paddings[e[Y2]]}${e.message}`,e[TC]&&(e[TC]=`${this.paddings[e[Y2]]}${e[TC]}`),e}};Hp.exports=t=>new _p(t);Hp.exports.Padder=Hp.exports.Format=_p});var X2=v((rce,EC)=>{"use strict";var{Colorizer:j6}=qp(),{Padder:S6}=MC(),{configs:O6,MESSAGE:x6}=ln(),Ip=class{constructor(e={}){e.levels||(e.levels=O6.cli.levels),this.colorizer=new j6(e),this.padder=new S6(e),this.options=e}transform(e,n){return this.colorizer.transform(this.padder.transform(e,n),n),e[x6]=`${e.level}:${e.message}`,e}};EC.exports=t=>new Ip(t);EC.exports.Format=Ip});var n0=v((sce,kC)=>{"use strict";var T6=ai();function e0(t){if(t.every(M6))return e=>{let n=e;for(let i=0;i{let e=T6(e0(t)),n=e();return n.Format=e.Format,n};kC.exports.cascade=e0});var yl=v((IC,a0)=>{"use strict";var{hasOwnProperty:bl}=Object.prototype,tr=HC();tr.configure=HC;tr.stringify=tr;tr.default=tr;IC.stringify=tr;IC.configure=HC;a0.exports=tr;var E6=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function Qt(t){return t.length<5e3&&!E6.test(t)?`"${t}"`:JSON.stringify(t)}function qC(t,e){if(t.length>200||e)return t.sort(e);for(let n=1;ni;)t[a]=t[a-1],a--;t[a]=i}return t}var k6=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function _C(t){return k6.call(t)!==void 0&&t.length!==0}function i0(t,e,n){t.length= 1`)}return n===void 0?1/0:n}function ir(t){return t===1?"1 item":`${t} items`}function I6(t){let e=new Set;for(let n of t)(typeof n=="string"||typeof n=="number")&&e.add(String(n));return e}function R6(t){if(bl.call(t,"strict")){let e=t.strict;if(typeof e!="boolean")throw new TypeError('The "strict" argument must be of type boolean');if(e)return n=>{let i=`Object can not safely be stringified. Received type ${typeof n}`;throw typeof n!="function"&&(i+=` (${n.toString()})`),new Error(i)}}}function HC(t){t={...t};let e=R6(t);e&&(t.bigint===void 0&&(t.bigint=!1),"circularValue"in t||(t.circularValue=Error));let n=q6(t),i=H6(t,"bigint"),a=_6(t),r=typeof a=="function"?a:void 0,s=t0(t,"maximumDepth"),o=t0(t,"maximumBreadth");function l(d,g,m,f,w,b){let A=g[d];switch(typeof A=="object"&&A!==null&&typeof A.toJSON=="function"&&(A=A.toJSON(d)),A=f.call(g,d,A),typeof A){case"string":return Qt(A);case"object":{if(A===null)return"null";if(m.indexOf(A)!==-1)return n;let y="",S=",",q=b;if(Array.isArray(A)){if(A.length===0)return"[]";if(so){let ze=A.length-o-1;y+=`${S}"... ${ir(ze)} not stringified"`}return w!==""&&(y+=` -${q}`),m.pop(),`[${y}]`}let N=Object.keys(A),X=N.length;if(X===0)return"{}";if(so){let re=X-o;y+=`${T}"...":${W}"${ir(re)} not stringified"`,T=S}return w!==""&&T.length>1&&(y=` +`),Error.captureStackTrace(this,t)}};vq.exports=t=>{if(t.length>2)throw new dv(t);function e(n={}){this.options=n}e.prototype.transform=t;function i(n){return new e(n)}return i.Format=e,i}});var yq=v((Jre,bq)=>{var Aq={};bq.exports=Aq;var Cq={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39],brightRed:[91,39],brightGreen:[92,39],brightYellow:[93,39],brightBlue:[94,39],brightMagenta:[95,39],brightCyan:[96,39],brightWhite:[97,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgGray:[100,49],bgGrey:[100,49],bgBrightRed:[101,49],bgBrightGreen:[102,49],bgBrightYellow:[103,49],bgBrightBlue:[104,49],bgBrightMagenta:[105,49],bgBrightCyan:[106,49],bgBrightWhite:[107,49],blackBG:[40,49],redBG:[41,49],greenBG:[42,49],yellowBG:[43,49],blueBG:[44,49],magentaBG:[45,49],cyanBG:[46,49],whiteBG:[47,49]};Object.keys(Cq).forEach(function(t){var e=Cq[t],i=Aq[t]=[];i.open="\x1B["+e[0]+"m",i.close="\x1B["+e[1]+"m"})});var jq=v((Zre,Pq)=>{"use strict";Pq.exports=function(t,e){e=e||process.argv||[];var i=e.indexOf("--"),n=/^-{1,2}/.test(t)?"":"--",a=e.indexOf(n+t);return a!==-1&&(i===-1?!0:a{"use strict";var H3=require("os"),Hn=jq(),$i=process.env,Xr=void 0;Hn("no-color")||Hn("no-colors")||Hn("color=false")?Xr=!1:(Hn("color")||Hn("colors")||Hn("color=true")||Hn("color=always"))&&(Xr=!0);"FORCE_COLOR"in $i&&(Xr=$i.FORCE_COLOR.length===0||parseInt($i.FORCE_COLOR,10)!==0);function I3(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function R3(t){if(Xr===!1)return 0;if(Hn("color=16m")||Hn("color=full")||Hn("color=truecolor"))return 3;if(Hn("color=256"))return 2;if(t&&!t.isTTY&&Xr!==!0)return 0;var e=Xr?1:0;if(process.platform==="win32"){var i=H3.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in $i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(a){return a in $i})||$i.CI_NAME==="codeship"?1:e;if("TEAMCITY_VERSION"in $i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test($i.TEAMCITY_VERSION)?1:0;if("TERM_PROGRAM"in $i){var n=parseInt(($i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch($i.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test($i.TERM)?2:/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test($i.TERM)||"COLORTERM"in $i?1:($i.TERM==="dumb",e)}function hv(t){var e=R3(t);return I3(e)}Sq.exports={supportsColor:hv,stdout:hv(process.stdout),stderr:hv(process.stderr)}});var xq=v((Qre,Tq)=>{Tq.exports=function(e,i){var n="";e=e||"Run the trap, drop the bass",e=e.split("");var a={a:["@","\u0104","\u023A","\u0245","\u0394","\u039B","\u0414"],b:["\xDF","\u0181","\u0243","\u026E","\u03B2","\u0E3F"],c:["\xA9","\u023B","\u03FE"],d:["\xD0","\u018A","\u0500","\u0501","\u0502","\u0503"],e:["\xCB","\u0115","\u018E","\u0258","\u03A3","\u03BE","\u04BC","\u0A6C"],f:["\u04FA"],g:["\u0262"],h:["\u0126","\u0195","\u04A2","\u04BA","\u04C7","\u050A"],i:["\u0F0F"],j:["\u0134"],k:["\u0138","\u04A0","\u04C3","\u051E"],l:["\u0139"],m:["\u028D","\u04CD","\u04CE","\u0520","\u0521","\u0D69"],n:["\xD1","\u014B","\u019D","\u0376","\u03A0","\u048A"],o:["\xD8","\xF5","\xF8","\u01FE","\u0298","\u047A","\u05DD","\u06DD","\u0E4F"],p:["\u01F7","\u048E"],q:["\u09CD"],r:["\xAE","\u01A6","\u0210","\u024C","\u0280","\u042F"],s:["\xA7","\u03DE","\u03DF","\u03E8"],t:["\u0141","\u0166","\u0373"],u:["\u01B1","\u054D"],v:["\u05D8"],w:["\u0428","\u0460","\u047C","\u0D70"],x:["\u04B2","\u04FE","\u04FC","\u04FD"],y:["\xA5","\u04B0","\u04CB"],z:["\u01B5","\u0240"]};return e.forEach(function(r){r=r.toLowerCase();var s=a[r]||[" "],o=Math.floor(Math.random()*s.length);typeof a[r]<"u"?n+=a[r][o]:n+=r}),n}});var Eq=v((Yre,Mq)=>{Mq.exports=function(e,i){e=e||" he is here ";var n={up:["\u030D","\u030E","\u0304","\u0305","\u033F","\u0311","\u0306","\u0310","\u0352","\u0357","\u0351","\u0307","\u0308","\u030A","\u0342","\u0313","\u0308","\u034A","\u034B","\u034C","\u0303","\u0302","\u030C","\u0350","\u0300","\u0301","\u030B","\u030F","\u0312","\u0313","\u0314","\u033D","\u0309","\u0363","\u0364","\u0365","\u0366","\u0367","\u0368","\u0369","\u036A","\u036B","\u036C","\u036D","\u036E","\u036F","\u033E","\u035B","\u0346","\u031A"],down:["\u0316","\u0317","\u0318","\u0319","\u031C","\u031D","\u031E","\u031F","\u0320","\u0324","\u0325","\u0326","\u0329","\u032A","\u032B","\u032C","\u032D","\u032E","\u032F","\u0330","\u0331","\u0332","\u0333","\u0339","\u033A","\u033B","\u033C","\u0345","\u0347","\u0348","\u0349","\u034D","\u034E","\u0353","\u0354","\u0355","\u0356","\u0359","\u035A","\u0323"],mid:["\u0315","\u031B","\u0300","\u0301","\u0358","\u0321","\u0322","\u0327","\u0328","\u0334","\u0335","\u0336","\u035C","\u035D","\u035E","\u035F","\u0360","\u0362","\u0338","\u0337","\u0361"," \u0489"]},a=[].concat(n.up,n.down,n.mid);function r(l){var u=Math.floor(Math.random()*l);return u}function s(l){var u=!1;return a.filter(function(c){u=c===l}),u}function o(l,u){var c="",p,d;u=u||{},u.up=typeof u.up<"u"?u.up:!0,u.mid=typeof u.mid<"u"?u.mid:!0,u.down=typeof u.down<"u"?u.down:!0,u.size=typeof u.size<"u"?u.size:"maxi",l=l.split("");for(d in l)if(!s(d)){switch(c=c+l[d],p={up:0,down:0,mid:0},u.size){case"mini":p.up=r(8),p.mid=r(2),p.down=r(8);break;case"maxi":p.up=r(16)+3,p.mid=r(4)+1,p.down=r(64)+3;break;default:p.up=r(8)+1,p.mid=r(6)/2,p.down=r(8)+1;break}var h=["up","mid","down"];for(var g in h)for(var m=h[g],f=0;f<=p[m];f++)u[m]&&(c=c+n[m][r(n[m].length)])}return c}return o(e,i)}});var qq=v((Xre,kq)=>{kq.exports=function(t){return function(e,i,n){if(e===" ")return e;switch(i%3){case 0:return t.red(e);case 1:return t.white(e);case 2:return t.blue(e)}}}});var Hq=v((ese,_q)=>{_q.exports=function(t){return function(e,i,n){return i%2===0?e:t.inverse(e)}}});var Rq=v((ise,Iq)=>{Iq.exports=function(t){var e=["red","yellow","green","blue","magenta"];return function(i,n,a){return i===" "?i:t[e[n++%e.length]](i)}}});var Dq=v((nse,zq)=>{zq.exports=function(t){var e=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta","brightYellow","brightRed","brightGreen","brightBlue","brightWhite","brightCyan","brightMagenta"];return function(i,n,a){return i===" "?i:t[e[Math.round(Math.random()*(e.length-2))]](i)}}});var Lq=v((ase,Wq)=>{var he={};Wq.exports=he;he.themes={};var z3=require("util"),Na=he.styles=yq(),$q=Object.defineProperties,D3=new RegExp(/[\r\n]+/g);he.supportsColor=Oq().supportsColor;typeof he.enabled>"u"&&(he.enabled=he.supportsColor()!==!1);he.enable=function(){he.enabled=!0};he.disable=function(){he.enabled=!1};he.stripColors=he.strip=function(t){return(""+t).replace(/\x1B\[\d+m/g,"")};var tse=he.stylize=function(e,i){if(!he.enabled)return e+"";var n=Na[i];return!n&&i in he?he[i](e):n.open+e+n.close},G3=/[|\\{}()[\]^$+*?.]/g,$3=function(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(G3,"\\$&")};function Nq(t){var e=function i(){return U3.apply(i,arguments)};return e._styles=t,e.__proto__=N3,e}var Uq=(function(){var t={};return Na.grey=Na.gray,Object.keys(Na).forEach(function(e){Na[e].closeRe=new RegExp($3(Na[e].close),"g"),t[e]={get:function(){return Nq(this._styles.concat(e))}}}),t})(),N3=$q(function(){},Uq);function U3(){var t=Array.prototype.slice.call(arguments),e=t.map(function(s){return s!=null&&s.constructor===String?s:z3.inspect(s)}).join(" ");if(!he.enabled||!e)return e;for(var i=e.indexOf(` +`)!=-1,n=this._styles,a=n.length;a--;){var r=Na[n[a]];e=r.open+e.replace(r.closeRe,r.open)+r.close,i&&(e=e.replace(D3,function(s){return r.close+s+r.open}))}return e}he.setTheme=function(t){if(typeof t=="string"){console.log("colors.setTheme now only accepts an object, not a string. If you are trying to set a theme from a file, it is now your (the caller's) responsibility to require the file. The old syntax looked like colors.setTheme(__dirname + '/../themes/generic-logging.js'); The new syntax looks like colors.setTheme(require(__dirname + '/../themes/generic-logging.js'));");return}for(var e in t)(function(i){he[i]=function(n){if(typeof t[i]=="object"){var a=n;for(var r in t[i])a=he[t[i][r]](a);return a}return he[t[i]](n)}})(e)};function W3(){var t={};return Object.keys(Uq).forEach(function(e){t[e]={get:function(){return Nq([e])}}}),t}var L3=function(e,i){var n=i.split("");return n=n.map(e),n.join("")};he.trap=xq();he.zalgo=Eq();he.maps={};he.maps.america=qq()(he);he.maps.zebra=Hq()(he);he.maps.rainbow=Rq()(he);he.maps.random=Dq()(he);for(Gq in he.maps)(function(t){he[t]=function(e){return L3(he.maps[t],e)}})(Gq);var Gq;$q(he,W3())});var gv=v((rse,Bq)=>{var B3=Lq();Bq.exports=B3});var Fq=v(mv=>{"use strict";mv.levels={error:0,warn:1,help:2,data:3,info:4,debug:5,prompt:6,verbose:7,input:8,silly:9};mv.colors={error:"red",warn:"yellow",help:"cyan",data:"grey",info:"green",debug:"blue",prompt:"grey",verbose:"cyan",input:"grey",silly:"magenta"}});var Vq=v(fv=>{"use strict";fv.levels={error:0,warn:1,info:2,http:3,verbose:4,debug:5,silly:6};fv.colors={error:"red",warn:"yellow",info:"green",http:"green",verbose:"cyan",debug:"blue",silly:"magenta"}});var Jq=v(wv=>{"use strict";wv.levels={emerg:0,alert:1,crit:2,error:3,warning:4,notice:5,info:6,debug:7};wv.colors={emerg:"red",alert:"yellow",crit:"red",error:"red",warning:"red",notice:"yellow",info:"green",debug:"blue"}});var Zq=v(Vc=>{"use strict";Object.defineProperty(Vc,"cli",{value:Fq()});Object.defineProperty(Vc,"npm",{value:Vq()});Object.defineProperty(Vc,"syslog",{value:Jq()})});var ai=v(Jo=>{"use strict";Object.defineProperty(Jo,"LEVEL",{value:Symbol.for("level")});Object.defineProperty(Jo,"MESSAGE",{value:Symbol.for("message")});Object.defineProperty(Jo,"SPLAT",{value:Symbol.for("splat")});Object.defineProperty(Jo,"configs",{value:Zq()})});var Kc=v((pse,Zc)=>{"use strict";var Av=gv(),{LEVEL:vv,MESSAGE:Cv}=ai();Av.enabled=!0;var Kq=/\s+/,Jc=class t{constructor(e={}){e.colors&&this.addColors(e.colors),this.options=e}static addColors(e){let i=Object.keys(e).reduce((n,a)=>(n[a]=Kq.test(e[a])?e[a].split(Kq):e[a],n),{});return t.allColors=Object.assign({},t.allColors||{},i),t.allColors}addColors(e){return t.addColors(e)}colorize(e,i,n){if(typeof n>"u"&&(n=i),!Array.isArray(t.allColors[e]))return Av[t.allColors[e]](n);for(let a=0,r=t.allColors[e].length;anew Jc(t);Zc.exports.Colorizer=Zc.exports.Format=Jc});var Yq=v((dse,Qq)=>{"use strict";var{Colorizer:F3}=Kc();Qq.exports=t=>(F3.addColors(t.colors||t),t)});var e_=v((hse,Xq)=>{"use strict";var V3=nn();Xq.exports=V3(t=>(t.message=` ${t.message}`,t))});var t_=v((gse,n_)=>{"use strict";var J3=nn(),{LEVEL:i_,MESSAGE:bv}=ai();n_.exports=J3((t,{stack:e,cause:i})=>{if(t instanceof Error){let a=Object.assign({},t,{level:t.level,[i_]:t[i_]||t.level,message:t.message,[bv]:t[bv]||t.message});return e&&(a.stack=t.stack),i&&(a.cause=t.cause),a}if(!(t.message instanceof Error))return t;let n=t.message;return Object.assign(t,n),t.message=n.message,t[bv]=n.message,e&&(t.stack=n.stack),i&&(t.cause=n.cause),t})});var Pv=v((mse,Yc)=>{"use strict";var{configs:Z3,LEVEL:a_,MESSAGE:yv}=ai(),Qc=class t{constructor(e={levels:Z3.npm.levels}){this.paddings=t.paddingForLevels(e.levels,e.filler),this.options=e}static getLongestLevel(e){let i=Object.keys(e).map(n=>n.length);return Math.max(...i)}static paddingForLevel(e,i,n){let a=n+1-e.length,r=Math.floor(a/i.length);return`${i}${i.repeat(r)}`.slice(0,a)}static paddingForLevels(e,i=" "){let n=t.getLongestLevel(e);return Object.keys(e).reduce((a,r)=>(a[r]=t.paddingForLevel(r,i,n),a),{})}transform(e,i){return e.message=`${this.paddings[e[a_]]}${e.message}`,e[yv]&&(e[yv]=`${this.paddings[e[a_]]}${e[yv]}`),e}};Yc.exports=t=>new Qc(t);Yc.exports.Padder=Yc.exports.Format=Qc});var r_=v((fse,jv)=>{"use strict";var{Colorizer:K3}=Kc(),{Padder:Q3}=Pv(),{configs:Y3,MESSAGE:X3}=ai(),Xc=class{constructor(e={}){e.levels||(e.levels=Y3.cli.levels),this.colorizer=new K3(e),this.padder=new Q3(e),this.options=e}transform(e,i){return this.colorizer.transform(this.padder.transform(e,i),i),e[X3]=`${e.level}:${e.message}`,e}};jv.exports=t=>new Xc(t);jv.exports.Format=Xc});var o_=v((wse,Sv)=>{"use strict";var eK=nn();function s_(t){if(t.every(iK))return e=>{let i=e;for(let n=0;n{let e=eK(s_(t)),i=e();return i.Format=e.Format,i};Sv.exports.cascade=s_});var Ko=v((Mv,c_)=>{"use strict";var{hasOwnProperty:Zo}=Object.prototype,Wa=xv();Wa.configure=xv;Wa.stringify=Wa;Wa.default=Wa;Mv.stringify=Wa;Mv.configure=xv;c_.exports=Wa;var nK=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function Nt(t){return t.length<5e3&&!nK.test(t)?`"${t}"`:JSON.stringify(t)}function Ov(t,e){if(t.length>200||e)return t.sort(e);for(let i=1;in;)t[a]=t[a-1],a--;t[a]=n}return t}var tK=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function Tv(t){return tK.call(t)!==void 0&&t.length!==0}function l_(t,e,i){t.length= 1`)}return i===void 0?1/0:i}function Ua(t){return t===1?"1 item":`${t} items`}function oK(t){let e=new Set;for(let i of t)(typeof i=="string"||typeof i=="number")&&e.add(String(i));return e}function lK(t){if(Zo.call(t,"strict")){let e=t.strict;if(typeof e!="boolean")throw new TypeError('The "strict" argument must be of type boolean');if(e)return i=>{let n=`Object can not safely be stringified. Received type ${typeof i}`;throw typeof i!="function"&&(n+=` (${i.toString()})`),new Error(n)}}}function xv(t){t={...t};let e=lK(t);e&&(t.bigint===void 0&&(t.bigint=!1),"circularValue"in t||(t.circularValue=Error));let i=aK(t),n=sK(t,"bigint"),a=rK(t),r=typeof a=="function"?a:void 0,s=u_(t,"maximumDepth"),o=u_(t,"maximumBreadth");function l(h,g,m,f,w,b){let A=g[h];switch(typeof A=="object"&&A!==null&&typeof A.toJSON=="function"&&(A=A.toJSON(h)),A=f.call(g,h,A),typeof A){case"string":return Nt(A);case"object":{if(A===null)return"null";if(m.indexOf(A)!==-1)return i;let y="",O=",",q=b;if(Array.isArray(A)){if(A.length===0)return"[]";if(so){let Ti=A.length-o-1;y+=`${O}"... ${Ua(Ti)} not stringified"`}return w!==""&&(y+=` +${q}`),m.pop(),`[${y}]`}let W=Object.keys(A),ie=W.length;if(ie===0)return"{}";if(so){let Pe=ie-o;y+=`${M}"...":${K}"${Ua(Pe)} not stringified"`,M=O}return w!==""&&M.length>1&&(y=` ${b}${y} -${q}`),m.pop(),`{${y}}`}case"number":return isFinite(A)?String(A):e?e(A):"null";case"boolean":return A===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(A);default:return e?e(A):void 0}}function u(d,g,m,f,w,b){switch(typeof g=="object"&&g!==null&&typeof g.toJSON=="function"&&(g=g.toJSON(d)),typeof g){case"string":return Qt(g);case"object":{if(g===null)return"null";if(m.indexOf(g)!==-1)return n;let A=b,y="",S=",";if(Array.isArray(g)){if(g.length===0)return"[]";if(so){let Q=g.length-o-1;y+=`${S}"... ${ir(Q)} not stringified"`}return w!==""&&(y+=` -${A}`),m.pop(),`[${y}]`}m.push(g);let q="";w!==""&&(b+=w,S=`, -${b}`,q=" ");let N="";for(let X of f){let W=u(X,g[X],m,f,w,b);W!==void 0&&(y+=`${N}${Qt(X)}:${q}${W}`,N=S)}return w!==""&&N.length>1&&(y=` +${q}`),m.pop(),`{${y}}`}case"number":return isFinite(A)?String(A):e?e(A):"null";case"boolean":return A===!0?"true":"false";case"undefined":return;case"bigint":if(n)return String(A);default:return e?e(A):void 0}}function u(h,g,m,f,w,b){switch(typeof g=="object"&&g!==null&&typeof g.toJSON=="function"&&(g=g.toJSON(h)),typeof g){case"string":return Nt(g);case"object":{if(g===null)return"null";if(m.indexOf(g)!==-1)return i;let A=b,y="",O=",";if(Array.isArray(g)){if(g.length===0)return"[]";if(so){let X=g.length-o-1;y+=`${O}"... ${Ua(X)} not stringified"`}return w!==""&&(y+=` +${A}`),m.pop(),`[${y}]`}m.push(g);let q="";w!==""&&(b+=w,O=`, +${b}`,q=" ");let W="";for(let ie of f){let K=u(ie,g[ie],m,f,w,b);K!==void 0&&(y+=`${W}${Nt(ie)}:${q}${K}`,W=O)}return w!==""&&W.length>1&&(y=` ${b}${y} -${A}`),m.pop(),`{${y}}`}case"number":return isFinite(g)?String(g):e?e(g):"null";case"boolean":return g===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(g);default:return e?e(g):void 0}}function c(d,g,m,f,w){switch(typeof g){case"string":return Qt(g);case"object":{if(g===null)return"null";if(typeof g.toJSON=="function"){if(g=g.toJSON(d),typeof g!="object")return c(d,g,m,f,w);if(g===null)return"null"}if(m.indexOf(g)!==-1)return n;let b=w;if(Array.isArray(g)){if(g.length===0)return"[]";if(so){let ne=g.length-o-1;W+=`${T}"... ${ir(ne)} not stringified"`}return W+=` -${b}`,m.pop(),`[${W}]`}let A=Object.keys(g),y=A.length;if(y===0)return"{}";if(so){let W=y-o;q+=`${N}"...": "${ir(W)} not stringified"`,N=S}return N!==""&&(q=` +${A}`),m.pop(),`{${y}}`}case"number":return isFinite(g)?String(g):e?e(g):"null";case"boolean":return g===!0?"true":"false";case"undefined":return;case"bigint":if(n)return String(g);default:return e?e(g):void 0}}function c(h,g,m,f,w){switch(typeof g){case"string":return Nt(g);case"object":{if(g===null)return"null";if(typeof g.toJSON=="function"){if(g=g.toJSON(h),typeof g!="object")return c(h,g,m,f,w);if(g===null)return"null"}if(m.indexOf(g)!==-1)return i;let b=w;if(Array.isArray(g)){if(g.length===0)return"[]";if(so){let ge=g.length-o-1;K+=`${M}"... ${Ua(ge)} not stringified"`}return K+=` +${b}`,m.pop(),`[${K}]`}let A=Object.keys(g),y=A.length;if(y===0)return"{}";if(so){let K=y-o;q+=`${W}"...": "${Ua(K)} not stringified"`,W=O}return W!==""&&(q=` ${w}${q} -${b}`),m.pop(),`{${q}}`}case"number":return isFinite(g)?String(g):e?e(g):"null";case"boolean":return g===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(g);default:return e?e(g):void 0}}function p(d,g,m){switch(typeof g){case"string":return Qt(g);case"object":{if(g===null)return"null";if(typeof g.toJSON=="function"){if(g=g.toJSON(d),typeof g!="object")return p(d,g,m);if(g===null)return"null"}if(m.indexOf(g)!==-1)return n;let f="",w=g.length!==void 0;if(w&&Array.isArray(g)){if(g.length===0)return"[]";if(so){let W=g.length-o-1;f+=`,"... ${ir(W)} not stringified"`}return m.pop(),`[${f}]`}let b=Object.keys(g),A=b.length;if(A===0)return"{}";if(so){let q=A-o;f+=`${y}"...":"${ir(q)} not stringified"`}return m.pop(),`{${f}}`}case"number":return isFinite(g)?String(g):e?e(g):"null";case"boolean":return g===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(g);default:return e?e(g):void 0}}function h(d,g,m){if(arguments.length>1){let f="";if(typeof m=="number"?f=" ".repeat(Math.min(m,10)):typeof m=="string"&&(f=m.slice(0,10)),g!=null){if(typeof g=="function")return l("",{"":d},[],g,f,"");if(Array.isArray(g))return u("",d,[],I6(g),f,"")}if(f.length!==0)return c("",d,[],f,"")}return p("",d,[])}return h}});var RC=v((oce,r0)=>{"use strict";var z6=ai(),{MESSAGE:D6}=ln(),G6=yl();function $6(t,e){return typeof e=="bigint"?e.toString():e}r0.exports=z6((t,e)=>{let n=G6.configure(e);return t[D6]=n(t,e.replacer||$6,e.space),t})});var o0=v((lce,s0)=>{"use strict";var N6=ai();s0.exports=N6((t,e)=>e.message?(t.message=`[${e.label}] ${t.message}`,t):(t.label=e.label,t))});var u0=v((uce,l0)=>{"use strict";var U6=ai(),{MESSAGE:L6}=ln(),W6=yl();l0.exports=U6(t=>{let e={};return t.message&&(e["@message"]=t.message,delete t.message),t.timestamp&&(e["@timestamp"]=t.timestamp,delete t.timestamp),e["@fields"]=t,t[L6]=W6(e),t})});var p0=v((cce,c0)=>{"use strict";var B6=ai();function F6(t,e,n){let i=e.reduce((r,s)=>(r[s]=t[s],delete t[s],r),{}),a=Object.keys(t).reduce((r,s)=>(r[s]=t[s],delete t[s],r),{});return Object.assign(t,i,{[n]:a}),t}function V6(t,e,n){return t[n]=e.reduce((i,a)=>(i[a]=t[a],delete t[a],i),{}),t}c0.exports=B6((t,e={})=>{let n="metadata";e.key&&(n=e.key);let i=[];return!e.fillExcept&&!e.fillWith&&(i.push("level"),i.push("message")),e.fillExcept&&(i=e.fillExcept),i.length>0?F6(t,i,n):e.fillWith?V6(t,e.fillWith,n):t})});var h0=v((Pl,d0)=>{"use strict";var J6=ai(),Z6=Xw();d0.exports=J6(t=>{let e=+new Date;return Pl.diff=e-(Pl.prevTime||e),Pl.prevTime=e,t.ms=`+${Z6(Pl.diff)}`,t})});var f0=v((pce,m0)=>{"use strict";var K6=require("util").inspect,Q6=ai(),{LEVEL:Y6,MESSAGE:g0,SPLAT:X6}=ln();m0.exports=Q6((t,e={})=>{let n=Object.assign({},t);return delete n[Y6],delete n[g0],delete n[X6],t[g0]=K6(n,!1,e.depth||null,e.colorize),t})});var w0=v((dce,zp)=>{"use strict";var{MESSAGE:eQ}=ln(),Rp=class{constructor(e){this.template=e}transform(e){return e[eQ]=this.template(e),e}};zp.exports=t=>new Rp(t);zp.exports.Printf=zp.exports.Format=Rp});var A0=v((hce,C0)=>{"use strict";var nQ=ai(),{MESSAGE:v0}=ln(),iQ=yl();C0.exports=nQ(t=>{let e=iQ(Object.assign({},t,{level:void 0,message:void 0,splat:void 0})),n=t.padding&&t.padding[t.level]||"";return e!=="{}"?t[v0]=`${t.level}:${n} ${t.message} ${e}`:t[v0]=`${t.level}:${n} ${t.message}`,t})});var P0=v((gce,y0)=>{"use strict";var tQ=require("util"),{SPLAT:b0}=ln(),aQ=/%[scdjifoO%]/g,rQ=/%%/g,zC=class{constructor(e){this.options=e}_splat(e,n){let i=e.message,a=e[b0]||e.splat||[],r=i.match(rQ),s=r&&r.length||0,l=n.length-s-a.length,u=l<0?a.splice(l,-1*l):[],c=u.length;if(c)for(let p=0;p1?i.splice(0):i,s=r.length;if(s)for(let o=0;onew zC(t)});var S0=v((Dp,j0)=>{(function(t,e){typeof Dp=="object"&&typeof j0<"u"?e(Dp):typeof define=="function"&&define.amd?define(["exports"],e):e(t.fecha={})})(Dp,(function(t){"use strict";var e=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,n="\\d\\d?",i="\\d\\d",a="\\d{3}",r="\\d{4}",s="[^\\s]+",o=/\[([^]*?)\]/gm;function l(O,R){for(var Se=[],Xe=0,_=O.length;Xe<_;Xe++)Se.push(O[Xe].substr(0,R));return Se}var u=function(O){return function(R,Se){var Xe=Se[O].map(function(be){return be.toLowerCase()}),_=Xe.indexOf(R.toLowerCase());return _>-1?_:null}};function c(O){for(var R=[],Se=1;Se3?0:(O-O%10!==10?1:0)*O%10]}},f=c({},m),w=function(O){return f=c(f,O)},b=function(O){return O.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},A=function(O,R){for(R===void 0&&(R=2),O=String(O);O.length0?"-":"+")+A(Math.floor(Math.abs(R)/60)*100+Math.abs(R)%60,4)},Z:function(O){var R=O.getTimezoneOffset();return(R>0?"-":"+")+A(Math.floor(Math.abs(R)/60),2)+":"+A(Math.abs(R)%60,2)}},S=function(O){return+O-1},q=[null,n],N=[null,s],X=["isPm",s,function(O,R){var Se=O.toLowerCase();return Se===R.amPm[0]?0:Se===R.amPm[1]?1:null}],W=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(O){var R=(O+"").match(/([+-]|\d\d)/gi);if(R){var Se=+R[1]*60+parseInt(R[2],10);return R[0]==="+"?Se:-Se}return 0}],T={D:["day",n],DD:["day",i],Do:["day",n+s,function(O){return parseInt(O,10)}],M:["month",n,S],MM:["month",i,S],YY:["year",i,function(O){var R=new Date,Se=+(""+R.getFullYear()).substr(0,2);return+(""+(+O>68?Se-1:Se)+O)}],h:["hour",n,void 0,"isPm"],hh:["hour",i,void 0,"isPm"],H:["hour",n],HH:["hour",i],m:["minute",n],mm:["minute",i],s:["second",n],ss:["second",i],YYYY:["year",r],S:["millisecond","\\d",function(O){return+O*100}],SS:["millisecond",i,function(O){return+O*10}],SSS:["millisecond",a],d:q,dd:q,ddd:N,dddd:N,MMM:["month",s,u("monthNamesShort")],MMMM:["month",s,u("monthNames")],a:X,A:X,ZZ:W,Z:W},Q={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},re=function(O){return c(Q,O)},ie=function(O,R,Se){if(R===void 0&&(R=Q.default),Se===void 0&&(Se={}),typeof O=="number"&&(O=new Date(O)),Object.prototype.toString.call(O)!=="[object Date]"||isNaN(O.getTime()))throw new Error("Invalid Date pass to format");R=Q[R]||R;var Xe=[];R=R.replace(o,function(be,ke){return Xe.push(ke),"@@@"});var _=c(c({},f),Se);return R=R.replace(e,function(be){return y[be](O,_)}),R.replace(/@@@/g,function(){return Xe.shift()})};function ne(O,R,Se){if(Se===void 0&&(Se={}),typeof R!="string")throw new Error("Invalid format in fecha parse");if(R=Q[R]||R,O.length>1e3)return null;var Xe=new Date,_={year:Xe.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},be=[],ke=[],kn=R.replace(o,function(Z,Le){return ke.push(b(Le)),"@@@"}),Wn={},Gi={};kn=b(kn).replace(e,function(Z){var Le=T[Z],G=Le[0],z=Le[1],pe=Le[3];if(Wn[G])throw new Error("Invalid format. "+G+" specified twice in format");return Wn[G]=!0,pe&&(Gi[pe]=!0),be.push(Le),"("+z+")"}),Object.keys(Gi).forEach(function(Z){if(!Wn[Z])throw new Error("Invalid format. "+Z+" is required in specified format")}),kn=kn.replace(/@@@/g,function(){return ke.shift()});var ce=O.match(new RegExp(kn,"i"));if(!ce)return null;for(var un=c(c({},f),Se),mn=1;mn11||_.month<0||_.day>31||_.day<1||_.hour>23||_.hour<0||_.minute>59||_.minute<0||_.second>59||_.second<0)return null;return oi}var ze={format:ie,parse:ne,defaultI18n:m,setGlobalDateI18n:w,setGlobalDateMasks:re};t.assign=c,t.default=ze,t.format=ie,t.parse=ne,t.defaultI18n=m,t.setGlobalDateI18n=w,t.setGlobalDateMasks=re,Object.defineProperty(t,"__esModule",{value:!0})}))});var x0=v((mce,O0)=>{"use strict";var sQ=S0(),oQ=ai();O0.exports=oQ((t,e={})=>(e.format&&(t.timestamp=typeof e.format=="function"?e.format():sQ.format(new Date,e.format)),t.timestamp||(t.timestamp=new Date().toISOString()),e.alias&&(t[e.alias]=t.timestamp),t))});var M0=v((fce,T0)=>{"use strict";var DC=AC(),lQ=ai(),{MESSAGE:GC}=ln();T0.exports=lQ((t,e)=>(e.level!==!1&&(t.level=DC.strip(t.level)),e.message!==!1&&(t.message=DC.strip(String(t.message))),e.raw!==!1&&t[GC]&&(t[GC]=DC.strip(String(t[GC]))),t))});var NC=v($C=>{"use strict";var uQ=$C.format=ai();$C.levels=F2();function Mn(t,e){Object.defineProperty(uQ,t,{get(){return e()},configurable:!0})}Mn("align",function(){return J2()});Mn("errors",function(){return Q2()});Mn("cli",function(){return X2()});Mn("combine",function(){return n0()});Mn("colorize",function(){return qp()});Mn("json",function(){return RC()});Mn("label",function(){return o0()});Mn("logstash",function(){return u0()});Mn("metadata",function(){return p0()});Mn("ms",function(){return h0()});Mn("padLevels",function(){return MC()});Mn("prettyPrint",function(){return f0()});Mn("printf",function(){return w0()});Mn("simple",function(){return A0()});Mn("splat",function(){return P0()});Mn("timestamp",function(){return x0()});Mn("uncolorize",function(){return M0()})});var UC=v(Gp=>{"use strict";var{format:E0}=require("util");Gp.warn={deprecated(t){return()=>{throw new Error(E0("{ %s } was removed in winston@3.0.0.",t))}},useFormat(t){return()=>{throw new Error([E0("{ %s } was removed in winston@3.0.0.",t),"Use a custom winston.format = winston.format(function) instead."].join(` -`))}},forFunctions(t,e,n){n.forEach(i=>{t[i]=Gp.warn[e](i)})},forProperties(t,e,n){n.forEach(i=>{let a=Gp.warn[e](i);Object.defineProperty(t,i,{get:a,set:a})})}}});var k0=v((Cce,cQ)=>{cQ.exports={name:"winston",description:"A logger for just about everything.",version:"3.19.0",author:"Charlie Robbins ",maintainers:["David Hyde "],repository:{type:"git",url:"https://github.com/winstonjs/winston.git"},keywords:["winston","logger","logging","logs","sysadmin","bunyan","pino","loglevel","tools","json","stream"],dependencies:{"@dabh/diagnostics":"^2.0.8","@colors/colors":"^1.6.0",async:"^3.2.3","is-stream":"^2.0.0",logform:"^2.7.0","one-time":"^1.0.0","readable-stream":"^3.4.0","safe-stable-stringify":"^2.3.1","stack-trace":"0.0.x","triple-beam":"^1.3.0","winston-transport":"^4.9.0"},devDependencies:{"@babel/cli":"^7.23.9","@babel/core":"^7.24.0","@babel/preset-env":"^7.24.0","@dabh/eslint-config-populist":"^4.4.0","@types/node":"^20.11.24","abstract-winston-transport":"^0.5.1",assume:"^2.2.0","cross-spawn-async":"^2.2.5",eslint:"^8.57.0",hock:"^1.4.1",jest:"^29.7.0",rimraf:"5.0.10",split2:"^4.1.0","std-mocks":"^2.0.0",through2:"^4.0.2","winston-compat":"^0.1.5"},main:"./lib/winston.js",browser:"./dist/winston",types:"./index.d.ts",scripts:{lint:"eslint lib/*.js lib/winston/*.js lib/winston/**/*.js --resolve-plugins-relative-to ./node_modules/@dabh/eslint-config-populist",test:"jest","test:unit":"jest -c test/jest.config.unit.js","test:integration":"jest -c test/jest.config.integration.js","test:typescript":"npx --package typescript tsc --project test",build:"babel lib -d dist",prebuild:"rimraf dist",prepublishOnly:"npm run build"},engines:{node:">= 12.0.0"},license:"MIT"}});var _0=v((Ace,q0)=>{q0.exports=require("util").deprecate});var LC=v((bce,H0)=>{H0.exports=require("stream")});var BC=v((yce,R0)=>{"use strict";function pQ(t,e){var n=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(WC,this,t)):process.nextTick(WC,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(r){!e&&r?n._writableState?n._writableState.errorEmitted?process.nextTick($p,n):(n._writableState.errorEmitted=!0,process.nextTick(I0,n,r)):process.nextTick(I0,n,r):e?(process.nextTick($p,n),e(r)):process.nextTick($p,n)}),this)}function I0(t,e){WC(t,e),$p(t)}function $p(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function dQ(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function WC(t,e){t.emit("error",e)}function hQ(t,e){var n=t._readableState,i=t._writableState;n&&n.autoDestroy||i&&i.autoDestroy?t.destroy(e):t.emit("error",e)}R0.exports={destroy:pQ,undestroy:dQ,errorOrDestroy:hQ}});var Yt=v((Pce,G0)=>{"use strict";var D0={};function ji(t,e,n){n||(n=Error);function i(r,s,o){return typeof e=="string"?e:e(r,s,o)}class a extends n{constructor(s,o,l){super(i(s,o,l))}}a.prototype.name=n.name,a.prototype.code=t,D0[t]=a}function z0(t,e){if(Array.isArray(t)){let n=t.length;return t=t.map(i=>String(i)),n>2?`one of ${e} ${t.slice(0,n-1).join(", ")}, or `+t[n-1]:n===2?`one of ${e} ${t[0]} or ${t[1]}`:`of ${e} ${t[0]}`}else return`of ${e} ${String(t)}`}function gQ(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function mQ(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function fQ(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}ji("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);ji("ERR_INVALID_ARG_TYPE",function(t,e,n){let i;typeof e=="string"&&gQ(e,"not ")?(i="must not be",e=e.replace(/^not /,"")):i="must be";let a;if(mQ(t," argument"))a=`The ${t} ${i} ${z0(e,"type")}`;else{let r=fQ(t,".")?"property":"argument";a=`The "${t}" ${r} ${i} ${z0(e,"type")}`}return a+=`. Received type ${typeof n}`,a},TypeError);ji("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");ji("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});ji("ERR_STREAM_PREMATURE_CLOSE","Premature close");ji("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});ji("ERR_MULTIPLE_CALLBACK","Callback called multiple times");ji("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");ji("ERR_STREAM_WRITE_AFTER_END","write after end");ji("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);ji("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);ji("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");G0.exports.codes=D0});var FC=v((jce,$0)=>{"use strict";var wQ=Yt().codes.ERR_INVALID_OPT_VALUE;function vQ(t,e,n){return t.highWaterMark!=null?t.highWaterMark:e?t[n]:null}function CQ(t,e,n,i){var a=vQ(e,i,n);if(a!=null){if(!(isFinite(a)&&Math.floor(a)===a)||a<0){var r=i?n:"highWaterMark";throw new wQ(r,a)}return Math.floor(a)}return t.objectMode?16:16*1024}$0.exports={getHighWaterMark:CQ}});var N0=v((Sce,VC)=>{typeof Object.create=="function"?VC.exports=function(e,n){n&&(e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:VC.exports=function(e,n){if(n){e.super_=n;var i=function(){};i.prototype=n.prototype,e.prototype=new i,e.prototype.constructor=e}}});var ws=v((Oce,ZC)=>{try{if(JC=require("util"),typeof JC.inherits!="function")throw"";ZC.exports=JC.inherits}catch{ZC.exports=N0()}var JC});var V0=v((xce,F0)=>{"use strict";function U0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function L0(t){for(var e=1;e0?this.tail.next=i:this.head=i,this.tail=i,++this.length}},{key:"unshift",value:function(n){var i={data:n,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length}},{key:"shift",value:function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(n){if(this.length===0)return"";for(var i=this.head,a=""+i.data;i=i.next;)a+=n+i.data;return a}},{key:"concat",value:function(n){if(this.length===0)return Np.alloc(0);for(var i=Np.allocUnsafe(n>>>0),a=this.head,r=0;a;)xQ(a.data,i,r),r+=a.data.length,a=a.next;return i}},{key:"consume",value:function(n,i){var a;return ns.length?s.length:n;if(o===s.length?r+=s:r+=s.slice(0,n),n-=o,n===0){o===s.length?(++a,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=s.slice(o));break}++a}return this.length-=a,r}},{key:"_getBuffer",value:function(n){var i=Np.allocUnsafe(n),a=this.head,r=1;for(a.data.copy(i),n-=a.data.length;a=a.next;){var s=a.data,o=n>s.length?s.length:n;if(s.copy(i,i.length-n,0,o),n-=o,n===0){o===s.length?(++r,a.next?this.head=a.next:this.head=this.tail=null):(this.head=a,a.data=s.slice(o));break}++r}return this.length-=r,i}},{key:OQ,value:function(n,i){return KC(this,L0(L0({},i),{},{depth:0,customInspect:!1}))}}]),t})()});var K0=v((QC,Z0)=>{var Up=require("buffer"),et=Up.Buffer;function J0(t,e){for(var n in t)e[n]=t[n]}et.from&&et.alloc&&et.allocUnsafe&&et.allocUnsafeSlow?Z0.exports=Up:(J0(Up,QC),QC.Buffer=ar);function ar(t,e,n){return et(t,e,n)}ar.prototype=Object.create(et.prototype);J0(et,ar);ar.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return et(t,e,n)};ar.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var i=et(t);return e!==void 0?typeof n=="string"?i.fill(e,n):i.fill(e):i.fill(0),i};ar.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return et(t)};ar.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Up.SlowBuffer(t)}});var eA=v(Y0=>{"use strict";var XC=K0().Buffer,Q0=XC.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function TQ(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function MQ(t){var e=TQ(t);if(typeof e!="string"&&(XC.isEncoding===Q0||!Q0(t)))throw new Error("Unknown encoding: "+t);return e||t}Y0.StringDecoder=jl;function jl(t){this.encoding=MQ(t);var e;switch(this.encoding){case"utf16le":this.text=IQ,this.end=RQ,e=4;break;case"utf8":this.fillLast=qQ,e=4;break;case"base64":this.text=zQ,this.end=DQ,e=3;break;default:this.write=GQ,this.end=$Q;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=XC.allocUnsafe(e)}jl.prototype.write=function(t){if(t.length===0)return"";var e,n;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function EQ(t,e,n){var i=e.length-1;if(i=0?(a>0&&(t.lastNeed=a-1),a):--i=0?(a>0&&(t.lastNeed=a-2),a):--i=0?(a>0&&(a===2?a=0:t.lastNeed=a-3),a):0))}function kQ(t,e,n){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function qQ(t){var e=this.lastTotal-this.lastNeed,n=kQ(this,t,e);if(n!==void 0)return n;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function _Q(t,e){var n=EQ(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var i=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,i),t.toString("utf8",e,i)}function HQ(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function IQ(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function RQ(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function zQ(t,e){var n=(t.length-e)%3;return n===0?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function DQ(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function GQ(t){return t.toString(this.encoding)}function $Q(t){return t&&t.length?this.write(t):""}});var Lp=v((Mce,nH)=>{"use strict";var X0=Yt().codes.ERR_STREAM_PREMATURE_CLOSE;function NQ(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,i=new Array(n),a=0;a{"use strict";var Wp;function Xt(t,e,n){return e=WQ(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function WQ(t){var e=BQ(t,"string");return typeof e=="symbol"?e:String(e)}function BQ(t,e){if(typeof t!="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var i=n.call(t,e||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var FQ=Lp(),ea=Symbol("lastResolve"),rr=Symbol("lastReject"),Sl=Symbol("error"),Bp=Symbol("ended"),sr=Symbol("lastPromise"),nA=Symbol("handlePromise"),or=Symbol("stream");function na(t,e){return{value:t,done:e}}function VQ(t){var e=t[ea];if(e!==null){var n=t[or].read();n!==null&&(t[sr]=null,t[ea]=null,t[rr]=null,e(na(n,!1)))}}function JQ(t){process.nextTick(VQ,t)}function ZQ(t,e){return function(n,i){t.then(function(){if(e[Bp]){n(na(void 0,!0));return}e[nA](n,i)},i)}}var KQ=Object.getPrototypeOf(function(){}),QQ=Object.setPrototypeOf((Wp={get stream(){return this[or]},next:function(){var e=this,n=this[Sl];if(n!==null)return Promise.reject(n);if(this[Bp])return Promise.resolve(na(void 0,!0));if(this[or].destroyed)return new Promise(function(s,o){process.nextTick(function(){e[Sl]?o(e[Sl]):s(na(void 0,!0))})});var i=this[sr],a;if(i)a=new Promise(ZQ(i,this));else{var r=this[or].read();if(r!==null)return Promise.resolve(na(r,!1));a=new Promise(this[nA])}return this[sr]=a,a}},Xt(Wp,Symbol.asyncIterator,function(){return this}),Xt(Wp,"return",function(){var e=this;return new Promise(function(n,i){e[or].destroy(null,function(a){if(a){i(a);return}n(na(void 0,!0))})})}),Wp),KQ),YQ=function(e){var n,i=Object.create(QQ,(n={},Xt(n,or,{value:e,writable:!0}),Xt(n,ea,{value:null,writable:!0}),Xt(n,rr,{value:null,writable:!0}),Xt(n,Sl,{value:null,writable:!0}),Xt(n,Bp,{value:e._readableState.endEmitted,writable:!0}),Xt(n,nA,{value:function(r,s){var o=i[or].read();o?(i[sr]=null,i[ea]=null,i[rr]=null,r(na(o,!1))):(i[ea]=r,i[rr]=s)},writable:!0}),n));return i[sr]=null,FQ(e,function(a){if(a&&a.code!=="ERR_STREAM_PREMATURE_CLOSE"){var r=i[rr];r!==null&&(i[sr]=null,i[ea]=null,i[rr]=null,r(a)),i[Sl]=a;return}var s=i[ea];s!==null&&(i[sr]=null,i[ea]=null,i[rr]=null,s(na(void 0,!0))),i[Bp]=!0}),e.on("readable",JQ.bind(null,i)),i};iH.exports=YQ});var oH=v((kce,sH)=>{"use strict";function aH(t,e,n,i,a,r,s){try{var o=t[r](s),l=o.value}catch(u){n(u);return}o.done?e(l):Promise.resolve(l).then(i,a)}function XQ(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function s(l){aH(r,i,a,s,o,"next",l)}function o(l){aH(r,i,a,s,o,"throw",l)}s(void 0)})}}function rH(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function e8(t){for(var e=1;e{"use strict";wH.exports=xe;var vs;xe.ReadableState=pH;var qce=require("events").EventEmitter,cH=function(e,n){return e.listeners(n).length},xl=LC(),Fp=require("buffer").Buffer,s8=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o8(t){return Fp.from(t)}function l8(t){return Fp.isBuffer(t)||t instanceof s8}var iA=require("util"),he;iA&&iA.debuglog?he=iA.debuglog("stream"):he=function(){};var u8=V0(),uA=BC(),c8=FC(),p8=c8.getHighWaterMark,Vp=Yt().codes,d8=Vp.ERR_INVALID_ARG_TYPE,h8=Vp.ERR_STREAM_PUSH_AFTER_EOF,g8=Vp.ERR_METHOD_NOT_IMPLEMENTED,m8=Vp.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Cs,tA,aA;ws()(xe,xl);var Ol=uA.errorOrDestroy,rA=["error","close","destroy","pause","resume"];function f8(t,e,n){if(typeof t.prependListener=="function")return t.prependListener(e,n);!t._events||!t._events[e]?t.on(e,n):Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]}function pH(t,e,n){vs=vs||lr(),t=t||{},typeof n!="boolean"&&(n=e instanceof vs),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=p8(this,t,"readableHighWaterMark",n),this.buffer=new u8,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(Cs||(Cs=eA().StringDecoder),this.decoder=new Cs(t.encoding),this.encoding=t.encoding)}function xe(t){if(vs=vs||lr(),!(this instanceof xe))return new xe(t);var e=this instanceof vs;this._readableState=new pH(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),xl.call(this)}Object.defineProperty(xe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});xe.prototype.destroy=uA.destroy;xe.prototype._undestroy=uA.undestroy;xe.prototype._destroy=function(t,e){e(t)};xe.prototype.push=function(t,e){var n=this._readableState,i;return n.objectMode?i=!0:typeof t=="string"&&(e=e||n.defaultEncoding,e!==n.encoding&&(t=Fp.from(t,e),e=""),i=!0),dH(this,t,e,!1,i)};xe.prototype.unshift=function(t){return dH(this,t,null,!0,!1)};function dH(t,e,n,i,a){he("readableAddChunk",e);var r=t._readableState;if(e===null)r.reading=!1,C8(t,r);else{var s;if(a||(s=w8(r,e)),s)Ol(t,s);else if(r.objectMode||e&&e.length>0)if(typeof e!="string"&&!r.objectMode&&Object.getPrototypeOf(e)!==Fp.prototype&&(e=o8(e)),i)r.endEmitted?Ol(t,new m8):sA(t,r,e,!0);else if(r.ended)Ol(t,new h8);else{if(r.destroyed)return!1;r.reading=!1,r.decoder&&!n?(e=r.decoder.write(e),r.objectMode||e.length!==0?sA(t,r,e,!1):lA(t,r)):sA(t,r,e,!1)}else i||(r.reading=!1,lA(t,r))}return!r.ended&&(r.length=lH?t=lH:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function uH(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=v8(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}xe.prototype.read=function(t){he("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return he("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?oA(this):Jp(this),null;if(t=uH(t,e),t===0&&e.ended)return e.length===0&&oA(this),null;var i=e.needReadable;he("need readable",i),(e.length===0||e.length-t0?a=mH(t,e):a=null,a===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&oA(this)),a!==null&&this.emit("data",a),a};function C8(t,e){if(he("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?Jp(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,hH(t)))}}function Jp(t){var e=t._readableState;he("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(he("emitReadable",e.flowing),e.emittedReadable=!0,process.nextTick(hH,t))}function hH(t){var e=t._readableState;he("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,cA(t)}function lA(t,e){e.readingMore||(e.readingMore=!0,process.nextTick(A8,t,e))}function A8(t,e){for(;!e.reading&&!e.ended&&(e.length1&&fH(i.pipes,t)!==-1)&&!u&&(he("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function h(f){he("onerror",f),m(),t.removeListener("error",h),cH(t,"error")===0&&Ol(t,f)}f8(t,"error",h);function d(){t.removeListener("finish",g),m()}t.once("close",d);function g(){he("onfinish"),t.removeListener("close",d),m()}t.once("finish",g);function m(){he("unpipe"),n.unpipe(t)}return t.emit("pipe",n),i.flowing||(he("pipe resume"),n.resume()),t};function b8(t){return function(){var n=t._readableState;he("pipeOnDrain",n.awaitDrain),n.awaitDrain&&n.awaitDrain--,n.awaitDrain===0&&cH(t,"data")&&(n.flowing=!0,cA(t))}}xe.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n),this);if(!t){var i=e.pipes,a=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var r=0;r0,i.flowing!==!1&&this.resume()):t==="readable"&&!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,he("on readable",i.length,i.reading),i.length?Jp(this):i.reading||process.nextTick(y8,this)),n};xe.prototype.addListener=xe.prototype.on;xe.prototype.removeListener=function(t,e){var n=xl.prototype.removeListener.call(this,t,e);return t==="readable"&&process.nextTick(gH,this),n};xe.prototype.removeAllListeners=function(t){var e=xl.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&process.nextTick(gH,this),e};function gH(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function y8(t){he("readable nexttick read 0"),t.read(0)}xe.prototype.resume=function(){var t=this._readableState;return t.flowing||(he("resume"),t.flowing=!t.readableListening,P8(this,t)),t.paused=!1,this};function P8(t,e){e.resumeScheduled||(e.resumeScheduled=!0,process.nextTick(j8,t,e))}function j8(t,e){he("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),cA(t),e.flowing&&!e.reading&&t.read(0)}xe.prototype.pause=function(){return he("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(he("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function cA(t){var e=t._readableState;for(he("flow",e.flowing);e.flowing&&t.read()!==null;);}xe.prototype.wrap=function(t){var e=this,n=this._readableState,i=!1;t.on("end",function(){if(he("wrapped end"),n.decoder&&!n.ended){var s=n.decoder.end();s&&s.length&&e.push(s)}e.push(null)}),t.on("data",function(s){if(he("wrapped data"),n.decoder&&(s=n.decoder.write(s)),!(n.objectMode&&s==null)&&!(!n.objectMode&&(!s||!s.length))){var o=e.push(s);o||(i=!0,t.pause())}});for(var a in t)this[a]===void 0&&typeof t[a]=="function"&&(this[a]=(function(o){return function(){return t[o].apply(t,arguments)}})(a));for(var r=0;r=e.length?(e.decoder?n=e.buffer.join(""):e.buffer.length===1?n=e.buffer.first():n=e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n}function oA(t){var e=t._readableState;he("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,process.nextTick(S8,e,t))}function S8(t,e){if(he("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}typeof Symbol=="function"&&(xe.from=function(t,e){return aA===void 0&&(aA=oH()),aA(xe,t,e)});function fH(t,e){for(var n=0,i=t.length;n{"use strict";var O8=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};CH.exports=nt;var vH=pA(),hA=Qp();ws()(nt,vH);for(dA=O8(hA.prototype),Zp=0;Zp{"use strict";SH.exports=nn;function bH(t){var e=this;this.next=null,this.entry=null,this.finish=function(){n7(e,t)}}var As;nn.WritableState=Ml;var M8={deprecate:_0()},yH=LC(),Xp=require("buffer").Buffer,E8=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function k8(t){return Xp.from(t)}function q8(t){return Xp.isBuffer(t)||t instanceof E8}var mA=BC(),_8=FC(),H8=_8.getHighWaterMark,ia=Yt().codes,I8=ia.ERR_INVALID_ARG_TYPE,R8=ia.ERR_METHOD_NOT_IMPLEMENTED,z8=ia.ERR_MULTIPLE_CALLBACK,D8=ia.ERR_STREAM_CANNOT_PIPE,G8=ia.ERR_STREAM_DESTROYED,$8=ia.ERR_STREAM_NULL_VALUES,N8=ia.ERR_STREAM_WRITE_AFTER_END,U8=ia.ERR_UNKNOWN_ENCODING,bs=mA.errorOrDestroy;ws()(nn,yH);function L8(){}function Ml(t,e,n){As=As||lr(),t=t||{},typeof n!="boolean"&&(n=e instanceof As),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=H8(this,t,"writableHighWaterMark",n),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=t.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){K8(e,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new bH(this)}Ml.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(Ml.prototype,"buffer",{get:M8.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Yp;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Yp=Function.prototype[Symbol.hasInstance],Object.defineProperty(nn,Symbol.hasInstance,{value:function(e){return Yp.call(this,e)?!0:this!==nn?!1:e&&e._writableState instanceof Ml}})):Yp=function(e){return e instanceof this};function nn(t){As=As||lr();var e=this instanceof As;if(!e&&!Yp.call(nn,this))return new nn(t);this._writableState=new Ml(t,this,e),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),yH.call(this)}nn.prototype.pipe=function(){bs(this,new D8)};function W8(t,e){var n=new N8;bs(t,n),process.nextTick(e,n)}function B8(t,e,n,i){var a;return n===null?a=new $8:typeof n!="string"&&!e.objectMode&&(a=new I8("chunk",["string","Buffer"],n)),a?(bs(t,a),process.nextTick(i,a),!1):!0}nn.prototype.write=function(t,e,n){var i=this._writableState,a=!1,r=!i.objectMode&&q8(t);return r&&!Xp.isBuffer(t)&&(t=k8(t)),typeof e=="function"&&(n=e,e=null),r?e="buffer":e||(e=i.defaultEncoding),typeof n!="function"&&(n=L8),i.ending?W8(this,n):(r||B8(this,i,t,n))&&(i.pendingcb++,a=V8(this,i,r,t,e,n)),a};nn.prototype.cork=function(){this._writableState.corked++};nn.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&PH(this,t))};nn.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new U8(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(nn.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function F8(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=Xp.from(e,n)),e}Object.defineProperty(nn.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function V8(t,e,n,i,a,r){if(!n){var s=F8(e,i,a);i!==s&&(n=!0,a="buffer",i=s)}var o=e.objectMode?1:i.length;e.length+=o;var l=e.length{"use strict";var i7=require("util"),OH=Qp(),{LEVEL:xH}=ln(),El=TH.exports=function(e={}){OH.call(this,{objectMode:!0,highWaterMark:e.highWaterMark}),this.format=e.format,this.level=e.level,this.handleExceptions=e.handleExceptions,this.handleRejections=e.handleRejections,this.silent=e.silent,e.log&&(this.log=e.log),e.logv&&(this.logv=e.logv),e.close&&(this.close=e.close),this.once("pipe",n=>{this.levels=n.levels,this.parent=n}),this.once("unpipe",n=>{n===this.parent&&(this.parent=null,this.close&&this.close())})};i7.inherits(El,OH);El.prototype._write=function(e,n,i){if(this.silent||e.exception===!0&&!this.handleExceptions)return i(null);let a=this.level||this.parent&&this.parent.level;if(!a||this.levels[a]>=this.levels[e[xH]]){if(e&&!this.format)return this.log(e,i);let r,s;try{s=this.format.transform(Object.assign({},e),this.format.options)}catch(o){r=o}if(r||!s){if(i(),r)throw r;return}return this.log(s,i)}return this._writableState.sync=!1,i(null)};El.prototype._writev=function(e,n){if(this.logv){let i=e.filter(this._accept,this);return i.length?this.logv(i,n):n(null)}for(let i=0;i=this.levels[n[xH]])&&(this.handleExceptions||n.exception!==!0))};El.prototype._nop=function(){}});var vA=v((zce,EH)=>{"use strict";var t7=require("util"),{LEVEL:wA}=ln(),MH=fA(),kl=EH.exports=function(e={}){if(MH.call(this,e),!e.transport||typeof e.transport.log!="function")throw new Error("Invalid transport, must be an object with a log method.");this.transport=e.transport,this.level=this.level||e.transport.level,this.handleExceptions=this.handleExceptions||e.transport.handleExceptions,this._deprecated();function n(i){this.emit("error",i,this.transport)}this.transport.__winstonError||(this.transport.__winstonError=n.bind(this),this.transport.on("error",this.transport.__winstonError))};t7.inherits(kl,MH);kl.prototype._write=function(e,n,i){if(this.silent||e.exception===!0&&!this.handleExceptions)return i(null);(!this.level||this.levels[this.level]>=this.levels[e[wA]])&&this.transport.log(e[wA],e.message,e,this._nop),i(null)};kl.prototype._writev=function(e,n){for(let i=0;i{"use strict";CA.exports=fA();CA.exports.LegacyTransportStream=vA()});var _H=v(($ce,qH)=>{"use strict";var a7=require("os"),{LEVEL:kH,MESSAGE:Ps}=ln(),r7=ys();qH.exports=class extends r7{constructor(e={}){super(e),this.name=e.name||"console",this.stderrLevels=this._stringArrayToSet(e.stderrLevels),this.consoleWarnLevels=this._stringArrayToSet(e.consoleWarnLevels),this.eol=typeof e.eol=="string"?e.eol:a7.EOL,this.forceConsole=e.forceConsole||!1,this._consoleLog=console.log.bind(console),this._consoleWarn=console.warn.bind(console),this._consoleError=console.error.bind(console),this.setMaxListeners(30)}log(e,n){if(setImmediate(()=>this.emit("logged",e)),this.stderrLevels[e[kH]]){console._stderr&&!this.forceConsole?console._stderr.write(`${e[Ps]}${this.eol}`):this._consoleError(e[Ps]),n&&n();return}else if(this.consoleWarnLevels[e[kH]]){console._stderr&&!this.forceConsole?console._stderr.write(`${e[Ps]}${this.eol}`):this._consoleWarn(e[Ps]),n&&n();return}console._stdout&&!this.forceConsole?console._stdout.write(`${e[Ps]}${this.eol}`):this._consoleLog(e[Ps]),n&&n()}_stringArrayToSet(e,n){if(!e)return{};if(n=n||"Cannot make set from type other than Array of string elements",!Array.isArray(e))throw new Error(n);return e.reduce((i,a)=>{if(typeof a!="string")throw new Error(n);return i[a]=!0,i},{})}}});var nd=v((ed,HH)=>{"use strict";Object.defineProperty(ed,"__esModule",{value:!0});ed.default=s7;function s7(t){return t&&typeof t.length=="number"&&t.length>=0&&t.length%1===0}HH.exports=ed.default});var RH=v((id,IH)=>{"use strict";Object.defineProperty(id,"__esModule",{value:!0});id.default=function(t){return function(...e){var n=e.pop();return t.call(this,e,n)}};IH.exports=id.default});var GH=v(ta=>{"use strict";Object.defineProperty(ta,"__esModule",{value:!0});ta.fallback=zH;ta.wrap=DH;var o7=ta.hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,l7=ta.hasSetImmediate=typeof setImmediate=="function"&&setImmediate,u7=ta.hasNextTick=typeof process=="object"&&typeof process.nextTick=="function";function zH(t){setTimeout(t,0)}function DH(t){return(e,...n)=>t(()=>e(...n))}var ql;o7?ql=queueMicrotask:l7?ql=setImmediate:u7?ql=process.nextTick:ql=zH;ta.default=DH(ql)});var WH=v((td,LH)=>{"use strict";Object.defineProperty(td,"__esModule",{value:!0});td.default=m7;var c7=RH(),p7=UH(c7),d7=GH(),h7=UH(d7),g7=ur();function UH(t){return t&&t.__esModule?t:{default:t}}function m7(t){return(0,g7.isAsync)(t)?function(...e){let n=e.pop(),i=t.apply(this,e);return $H(i,n)}:(0,p7.default)(function(e,n){var i;try{i=t.apply(this,e)}catch(a){return n(a)}if(i&&typeof i.then=="function")return $H(i,n);n(null,i)})}function $H(t,e){return t.then(n=>{NH(e,null,n)},n=>{NH(e,n&&(n instanceof Error||n.message)?n:new Error(n))})}function NH(t,e,n){try{t(e,n)}catch(i){(0,h7.default)(a=>{throw a},i)}}LH.exports=td.default});var ur=v(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.isAsyncIterable=yt.isAsyncGenerator=yt.isAsync=void 0;var f7=WH(),w7=v7(f7);function v7(t){return t&&t.__esModule?t:{default:t}}function BH(t){return t[Symbol.toStringTag]==="AsyncFunction"}function C7(t){return t[Symbol.toStringTag]==="AsyncGenerator"}function A7(t){return typeof t[Symbol.asyncIterator]=="function"}function b7(t){if(typeof t!="function")throw new Error("expected a function");return BH(t)?(0,w7.default)(t):t}yt.default=b7;yt.isAsync=BH;yt.isAsyncGenerator=C7;yt.isAsyncIterable=A7});var js=v((ad,FH)=>{"use strict";Object.defineProperty(ad,"__esModule",{value:!0});ad.default=y7;function y7(t,e){if(e||(e=t.length),!e)throw new Error("arity is undefined");function n(...i){return typeof i[e-1]=="function"?t.apply(this,i):new Promise((a,r)=>{i[e-1]=(s,...o)=>{if(s)return r(s);a(o.length>1?o:o[0])},t.apply(this,i)})}return n}FH.exports=ad.default});var JH=v((rd,VH)=>{"use strict";Object.defineProperty(rd,"__esModule",{value:!0});var P7=nd(),j7=AA(P7),S7=ur(),O7=AA(S7),x7=js(),T7=AA(x7);function AA(t){return t&&t.__esModule?t:{default:t}}rd.default=(0,T7.default)((t,e,n)=>{var i=(0,j7.default)(e)?[]:{};t(e,(a,r,s)=>{(0,O7.default)(a)((o,...l)=>{l.length<2&&([l]=l),i[r]=l,s(o)})},a=>n(a,i))},3);VH.exports=rd.default});var bA=v((sd,ZH)=>{"use strict";Object.defineProperty(sd,"__esModule",{value:!0});sd.default=M7;function M7(t){function e(...n){if(t!==null){var i=t;t=null,i.apply(this,n)}}return Object.assign(e,t),e}ZH.exports=sd.default});var QH=v((od,KH)=>{"use strict";Object.defineProperty(od,"__esModule",{value:!0});od.default=function(t){return t[Symbol.iterator]&&t[Symbol.iterator]()};KH.exports=od.default});var eI=v((ld,XH)=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});ld.default=z7;var E7=nd(),k7=YH(E7),q7=QH(),_7=YH(q7);function YH(t){return t&&t.__esModule?t:{default:t}}function H7(t){var e=-1,n=t.length;return function(){return++e{"use strict";Object.defineProperty(ud,"__esModule",{value:!0});ud.default=D7;function D7(t){return function(...e){if(t===null)throw new Error("Callback was already called.");var n=t;t=null,n.apply(this,e)}}nI.exports=ud.default});var pd=v((cd,iI)=>{"use strict";Object.defineProperty(cd,"__esModule",{value:!0});var G7={};cd.default=G7;iI.exports=cd.default});var aI=v((dd,tI)=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});dd.default=L7;var $7=pd(),N7=U7($7);function U7(t){return t&&t.__esModule?t:{default:t}}function L7(t,e,n,i){let a=!1,r=!1,s=!1,o=0,l=0;function u(){o>=e||s||a||(s=!0,t.next().then(({value:h,done:d})=>{if(!(r||a)){if(s=!1,d){a=!0,o<=0&&i(null);return}o++,n(h,l,c),l++,u()}}).catch(p))}function c(h,d){if(o-=1,!r){if(h)return p(h);if(h===!1){a=!0,r=!0;return}if(d===N7.default||a&&o<=0)return a=!0,i(null);u()}}function p(h){r||(s=!1,a=!0,i(h))}u()}tI.exports=dd.default});var lI=v((hd,oI)=>{"use strict";Object.defineProperty(hd,"__esModule",{value:!0});var W7=bA(),B7=_l(W7),F7=eI(),V7=_l(F7),J7=yA(),Z7=_l(J7),rI=ur(),K7=aI(),sI=_l(K7),Q7=pd(),Y7=_l(Q7);function _l(t){return t&&t.__esModule?t:{default:t}}hd.default=t=>(e,n,i)=>{if(i=(0,B7.default)(i),t<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!e)return i(null);if((0,rI.isAsyncGenerator)(e))return(0,sI.default)(e,t,n,i);if((0,rI.isAsyncIterable)(e))return(0,sI.default)(e[Symbol.asyncIterator](),t,n,i);var a=(0,V7.default)(e),r=!1,s=!1,o=0,l=!1;function u(p,h){if(!s)if(o-=1,p)r=!0,i(p);else if(p===!1)r=!0,s=!0;else{if(h===Y7.default||r&&o<=0)return r=!0,i(null);l||c()}}function c(){for(l=!0;o{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});var X7=lI(),eY=PA(X7),nY=ur(),iY=PA(nY),tY=js(),aY=PA(tY);function PA(t){return t&&t.__esModule?t:{default:t}}function rY(t,e,n,i){return(0,eY.default)(e)(t,(0,iY.default)(n),i)}gd.default=(0,aY.default)(rY,4);uI.exports=gd.default});var dI=v((md,pI)=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});var sY=jA(),oY=cI(sY),lY=js(),uY=cI(lY);function cI(t){return t&&t.__esModule?t:{default:t}}function cY(t,e,n){return(0,oY.default)(t,1,e,n)}md.default=(0,uY.default)(cY,3);pI.exports=md.default});var mI=v((fd,gI)=>{"use strict";Object.defineProperty(fd,"__esModule",{value:!0});fd.default=mY;var pY=JH(),dY=hI(pY),hY=dI(),gY=hI(hY);function hI(t){return t&&t.__esModule?t:{default:t}}function mY(t,e){return(0,dY.default)(gY.default,t,e)}gI.exports=fd.default});var SA=v((Lce,wI)=>{"use strict";wI.exports=Pt;var wd=Yt().codes,fY=wd.ERR_METHOD_NOT_IMPLEMENTED,wY=wd.ERR_MULTIPLE_CALLBACK,vY=wd.ERR_TRANSFORM_ALREADY_TRANSFORMING,CY=wd.ERR_TRANSFORM_WITH_LENGTH_0,vd=lr();ws()(Pt,vd);function AY(t,e){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(i===null)return this.emit("error",new wY);n.writechunk=null,n.writecb=null,e!=null&&this.push(e),i(t);var a=this._readableState;a.reading=!1,(a.needReadable||a.length{"use strict";CI.exports=Hl;var vI=SA();ws()(Hl,vI);function Hl(t){if(!(this instanceof Hl))return new Hl(t);vI.call(this,t)}Hl.prototype._transform=function(t,e,n){n(null,t)}});var SI=v((Bce,jI)=>{"use strict";var OA;function yY(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var PI=Yt().codes,PY=PI.ERR_MISSING_ARGS,jY=PI.ERR_STREAM_DESTROYED;function bI(t){if(t)throw t}function SY(t){return t.setHeader&&typeof t.abort=="function"}function OY(t,e,n,i){i=yY(i);var a=!1;t.on("close",function(){a=!0}),OA===void 0&&(OA=Lp()),OA(t,{readable:e,writable:n},function(s){if(s)return i(s);a=!0,i()});var r=!1;return function(s){if(!a&&!r){if(r=!0,SY(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();i(s||new jY("pipe"))}}}function yI(t){t()}function xY(t,e){return t.pipe(e)}function TY(t){return!t.length||typeof t[t.length-1]!="function"?bI:t.pop()}function MY(){for(var t=arguments.length,e=new Array(t),n=0;n0;return OY(s,l,u,function(c){a||(a=c),c&&r.forEach(yI),!l&&(r.forEach(yI),i(a))})});return e.reduce(xY)}jI.exports=MY});var cr=v((Si,Rl)=>{var Il=require("stream");process.env.READABLE_STREAM==="disable"&&Il?(Rl.exports=Il.Readable,Object.assign(Rl.exports,Il),Rl.exports.Stream=Il):(Si=Rl.exports=pA(),Si.Stream=Il||Si,Si.Readable=Si,Si.Writable=Qp(),Si.Duplex=lr(),Si.Transform=SA(),Si.PassThrough=AI(),Si.finished=Lp(),Si.pipeline=SI())});var _A=v((Fce,xI)=>{var Ss=[],zl=[],xA=function(){};function MA(t){return~Ss.indexOf(t)?!1:(Ss.push(t),!0)}function EA(t){xA=t}function EY(t){for(var e=[],n=0;n{var _Y=_A(),HY=_Y(function t(e,n){return n=n||{},n.namespace=e,n.prod=!0,n.dev=!1,n.force||t.force?t.yep(n):t.nope(n)});TI.exports=HY});var II=v((Jce,HI)=>{"use strict";var it={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},kI=Object.create(null);for(let t in it)Object.hasOwn(it,t)&&(kI[it[t]]=t);var gn={to:{},get:{}};gn.get=function(t){let e=t.slice(0,3).toLowerCase(),n,i;switch(e){case"hsl":{n=gn.get.hsl(t),i="hsl";break}case"hwb":{n=gn.get.hwb(t),i="hwb";break}default:{n=gn.get.rgb(t),i="rgb";break}}return n?{model:i,value:n}:null};gn.get.rgb=function(t){if(!t)return null;let e=/^#([a-f\d]{3,4})$/i,n=/^#([a-f\d]{6})([a-f\d]{2})?$/i,i=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,a=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,r=/^(\w+)$/,s=[0,0,0,1],o,l,u;if(o=t.match(n)){for(u=o[2],o=o[1],l=0;l<3;l++){let c=l*2;s[l]=Number.parseInt(o.slice(c,c+2),16)}u&&(s[3]=Number.parseInt(u,16)/255)}else if(o=t.match(e)){for(o=o[1],u=o[3],l=0;l<3;l++)s[l]=Number.parseInt(o[l]+o[l],16);u&&(s[3]=Number.parseInt(u+u,16)/255)}else if(o=t.match(i)){for(l=0;l<3;l++)s[l]=Number.parseInt(o[l+1],10);o[4]&&(s[3]=o[5]?Number.parseFloat(o[4])*.01:Number.parseFloat(o[4]))}else if(o=t.match(a)){for(l=0;l<3;l++)s[l]=Math.round(Number.parseFloat(o[l+1])*2.55);o[4]&&(s[3]=o[5]?Number.parseFloat(o[4])*.01:Number.parseFloat(o[4]))}else return(o=t.match(r))?o[1]==="transparent"?[0,0,0,0]:Object.hasOwn(it,o[1])?(s=it[o[1]],s[3]=1,s):null:null;for(l=0;l<3;l++)s[l]=aa(s[l],0,255);return s[3]=aa(s[3],0,1),s};gn.get.hsl=function(t){if(!t)return null;let e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=t.match(e);if(n){let i=Number.parseFloat(n[4]),a=(Number.parseFloat(n[1])%360+360)%360,r=aa(Number.parseFloat(n[2]),0,100),s=aa(Number.parseFloat(n[3]),0,100),o=aa(Number.isNaN(i)?1:i,0,1);return[a,r,s,o]}return null};gn.get.hwb=function(t){if(!t)return null;let e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=t.match(e);if(n){let i=Number.parseFloat(n[4]),a=(Number.parseFloat(n[1])%360+360)%360,r=aa(Number.parseFloat(n[2]),0,100),s=aa(Number.parseFloat(n[3]),0,100),o=aa(Number.isNaN(i)?1:i,0,1);return[a,r,s,o]}return null};gn.to.hex=function(...t){return"#"+Cd(t[0])+Cd(t[1])+Cd(t[2])+(t[3]<1?Cd(Math.round(t[3]*255)):"")};gn.to.rgb=function(...t){return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};gn.to.rgb.percent=function(...t){let e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),i=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+n+"%, "+i+"%)":"rgba("+e+"%, "+n+"%, "+i+"%, "+t[3]+")"};gn.to.hsl=function(...t){return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};gn.to.hwb=function(...t){let e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};gn.to.keyword=function(...t){return kI[t.slice(0,3)]};function aa(t,e,n){return Math.min(Math.max(e,t),n)}function Cd(t){let e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}var qI={};for(let t of Object.keys(it))qI[it[t]]=t;var I={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},jt=(6/29)**3;function Os(t){let e=t>.0031308?1.055*t**.4166666666666667-.055:t*12.92;return Math.min(Math.max(0,e),1)}function xs(t){return t>.04045?((t+.055)/1.055)**2.4:t/12.92}for(let t of Object.keys(I)){if(!("channels"in I[t]))throw new Error("missing channels property: "+t);if(!("labels"in I[t]))throw new Error("missing channel labels property: "+t);if(I[t].labels.length!==I[t].channels)throw new Error("channel and label counts mismatch: "+t);let{channels:e,labels:n}=I[t];delete I[t].channels,delete I[t].labels,Object.defineProperty(I[t],"channels",{value:e}),Object.defineProperty(I[t],"labels",{value:n})}I.rgb.hsl=function(t){let e=t[0]/255,n=t[1]/255,i=t[2]/255,a=Math.min(e,n,i),r=Math.max(e,n,i),s=r-a,o,l;switch(r){case a:{o=0;break}case e:{o=(n-i)/s;break}case n:{o=2+(i-e)/s;break}case i:{o=4+(e-n)/s;break}}o=Math.min(o*60,360),o<0&&(o+=360);let u=(a+r)/2;return r===a?l=0:u<=.5?l=s/(r+a):l=s/(2-r-a),[o,l*100,u*100]};I.rgb.hsv=function(t){let e,n,i,a,r,s=t[0]/255,o=t[1]/255,l=t[2]/255,u=Math.max(s,o,l),c=u-Math.min(s,o,l),p=function(h){return(u-h)/6/c+1/2};if(c===0)a=0,r=0;else{switch(r=c/u,e=p(s),n=p(o),i=p(l),u){case s:{a=i-n;break}case o:{a=1/3+e-i;break}case l:{a=2/3+n-e;break}}a<0?a+=1:a>1&&(a-=1)}return[a*360,r*100,u*100]};I.rgb.hwb=function(t){let e=t[0],n=t[1],i=t[2],a=I.rgb.hsl(t)[0],r=1/255*Math.min(e,Math.min(n,i));return i=1-1/255*Math.max(e,Math.max(n,i)),[a,r*100,i*100]};I.rgb.oklab=function(t){let e=xs(t[0]/255),n=xs(t[1]/255),i=xs(t[2]/255),a=Math.cbrt(.4122214708*e+.5363325363*n+.0514459929*i),r=Math.cbrt(.2119034982*e+.6806995451*n+.1073969566*i),s=Math.cbrt(.0883024619*e+.2817188376*n+.6299787005*i),o=.2104542553*a+.793617785*r-.0040720468*s,l=1.9779984951*a-2.428592205*r+.4505937099*s,u=.0259040371*a+.7827717662*r-.808675766*s;return[o*100,l*100,u*100]};I.rgb.cmyk=function(t){let e=t[0]/255,n=t[1]/255,i=t[2]/255,a=Math.min(1-e,1-n,1-i),r=(1-e-a)/(1-a)||0,s=(1-n-a)/(1-a)||0,o=(1-i-a)/(1-a)||0;return[r*100,s*100,o*100,a*100]};function IY(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}I.rgb.keyword=function(t){let e=qI[t];if(e)return e;let n=Number.POSITIVE_INFINITY,i;for(let a of Object.keys(it)){let r=it[a],s=IY(t,r);sjt?n**(1/3):7.787*n+16/116,i=i>jt?i**(1/3):7.787*i+16/116,a=a>jt?a**(1/3):7.787*a+16/116;let r=116*i-16,s=500*(n-i),o=200*(i-a);return[r,s,o]};I.hsl.rgb=function(t){let e=t[0]/360,n=t[1]/100,i=t[2]/100,a,r;if(n===0)return r=i*255,[r,r,r];let s=i<.5?i*(1+n):i+n-i*n,o=2*i-s,l=[0,0,0];for(let u=0;u<3;u++)a=e+1/3*-(u-1),a<0&&a++,a>1&&a--,6*a<1?r=o+(s-o)*6*a:2*a<1?r=s:3*a<2?r=o+(s-o)*(2/3-a)*6:r=o,l[u]=r*255;return l};I.hsl.hsv=function(t){let e=t[0],n=t[1]/100,i=t[2]/100,a=n,r=Math.max(i,.01);i*=2,n*=i<=1?i:2-i,a*=r<=1?r:2-r;let s=(i+n)/2,o=i===0?2*a/(r+a):2*n/(i+n);return[e,o*100,s*100]};I.hsv.rgb=function(t){let e=t[0]/60,n=t[1]/100,i=t[2]/100,a=Math.floor(e)%6,r=e-Math.floor(e),s=255*i*(1-n),o=255*i*(1-n*r),l=255*i*(1-n*(1-r));switch(i*=255,a){case 0:return[i,l,s];case 1:return[o,i,s];case 2:return[s,i,l];case 3:return[s,o,i];case 4:return[l,s,i];case 5:return[i,s,o]}};I.hsv.hsl=function(t){let e=t[0],n=t[1]/100,i=t[2]/100,a=Math.max(i,.01),r,s;s=(2-n)*i;let o=(2-n)*a;return r=n*a,r/=o<=1?o:2-o,r=r||0,s/=2,[e,r*100,s*100]};I.hwb.rgb=function(t){let e=t[0]/360,n=t[1]/100,i=t[2]/100,a=n+i,r;a>1&&(n/=a,i/=a);let s=Math.floor(6*e),o=1-i;r=6*e-s,(s&1)!==0&&(r=1-r);let l=n+r*(o-n),u,c,p;switch(s){default:case 6:case 0:{u=o,c=l,p=n;break}case 1:{u=l,c=o,p=n;break}case 2:{u=n,c=o,p=l;break}case 3:{u=n,c=l,p=o;break}case 4:{u=l,c=n,p=o;break}case 5:{u=o,c=n,p=l;break}}return[u*255,c*255,p*255]};I.cmyk.rgb=function(t){let e=t[0]/100,n=t[1]/100,i=t[2]/100,a=t[3]/100,r=1-Math.min(1,e*(1-a)+a),s=1-Math.min(1,n*(1-a)+a),o=1-Math.min(1,i*(1-a)+a);return[r*255,s*255,o*255]};I.xyz.rgb=function(t){let e=t[0]/100,n=t[1]/100,i=t[2]/100,a,r,s;return a=e*3.2404542+n*-1.5371385+i*-.4985314,r=e*-.969266+n*1.8760108+i*.041556,s=e*.0556434+n*-.2040259+i*1.0572252,a=Os(a),r=Os(r),s=Os(s),[a*255,r*255,s*255]};I.xyz.lab=function(t){let e=t[0],n=t[1],i=t[2];e/=95.047,n/=100,i/=108.883,e=e>jt?e**(1/3):7.787*e+16/116,n=n>jt?n**(1/3):7.787*n+16/116,i=i>jt?i**(1/3):7.787*i+16/116;let a=116*n-16,r=500*(e-n),s=200*(n-i);return[a,r,s]};I.xyz.oklab=function(t){let e=t[0]/100,n=t[1]/100,i=t[2]/100,a=Math.cbrt(.8189330101*e+.3618667424*n-.1288597137*i),r=Math.cbrt(.0329845436*e+.9293118715*n+.0361456387*i),s=Math.cbrt(.0482003018*e+.2643662691*n+.633851707*i),o=.2104542553*a+.793617785*r-.0040720468*s,l=1.9779984951*a-2.428592205*r+.4505937099*s,u=.0259040371*a+.7827717662*r-.808675766*s;return[o*100,l*100,u*100]};I.oklab.oklch=function(t){return I.lab.lch(t)};I.oklab.xyz=function(t){let e=t[0]/100,n=t[1]/100,i=t[2]/100,a=(.999999998*e+.396337792*n+.215803758*i)**3,r=(1.000000008*e-.105561342*n-.063854175*i)**3,s=(1.000000055*e-.089484182*n-1.291485538*i)**3,o=1.227013851*a-.55779998*r+.281256149*s,l=-.040580178*a+1.11225687*r-.071676679*s,u=-.076381285*a-.421481978*r+1.58616322*s;return[o*100,l*100,u*100]};I.oklab.rgb=function(t){let e=t[0]/100,n=t[1]/100,i=t[2]/100,a=(e+.3963377774*n+.2158037573*i)**3,r=(e-.1055613458*n-.0638541728*i)**3,s=(e-.0894841775*n-1.291485548*i)**3,o=Os(4.0767416621*a-3.3077115913*r+.2309699292*s),l=Os(-1.2684380046*a+2.6097574011*r-.3413193965*s),u=Os(-.0041960863*a-.7034186147*r+1.707614701*s);return[o*255,l*255,u*255]};I.oklch.oklab=function(t){return I.lch.lab(t)};I.lab.xyz=function(t){let e=t[0],n=t[1],i=t[2],a,r,s;r=(e+16)/116,a=n/500+r,s=r-i/200;let o=r**3,l=a**3,u=s**3;return r=o>jt?o:(r-16/116)/7.787,a=l>jt?l:(a-16/116)/7.787,s=u>jt?u:(s-16/116)/7.787,a*=95.047,r*=100,s*=108.883,[a,r,s]};I.lab.lch=function(t){let e=t[0],n=t[1],i=t[2],a;a=Math.atan2(i,n)*360/2/Math.PI,a<0&&(a+=360);let s=Math.sqrt(n*n+i*i);return[e,s,a]};I.lch.lab=function(t){let e=t[0],n=t[1],a=t[2]/360*2*Math.PI,r=n*Math.cos(a),s=n*Math.sin(a);return[e,r,s]};I.rgb.ansi16=function(t,e=null){let[n,i,a]=t,r=e===null?I.rgb.hsv(t)[2]:e;if(r=Math.round(r/50),r===0)return 30;let s=30+(Math.round(a/255)<<2|Math.round(i/255)<<1|Math.round(n/255));return r===2&&(s+=60),s};I.hsv.ansi16=function(t){return I.rgb.ansi16(I.hsv.rgb(t),t[2])};I.rgb.ansi256=function(t){let e=t[0],n=t[1],i=t[2];return e>>4===n>>4&&n>>4===i>>4?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)};I.ansi16.rgb=function(t){t=t[0];let e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];let n=(Math.trunc(t>50)+1)*.5,i=(e&1)*n*255,a=(e>>1&1)*n*255,r=(e>>2&1)*n*255;return[i,a,r]};I.ansi256.rgb=function(t){if(t=t[0],t>=232){let r=(t-232)*10+8;return[r,r,r]}t-=16;let e,n=Math.floor(t/36)/5*255,i=Math.floor((e=t%36)/6)/5*255,a=e%6/5*255;return[n,i,a]};I.rgb.hex=function(t){let n=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return"000000".slice(n.length)+n};I.hex.rgb=function(t){let e=t.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!e)return[0,0,0];let n=e[0];e[0].length===3&&(n=[...n].map(o=>o+o).join(""));let i=Number.parseInt(n,16),a=i>>16&255,r=i>>8&255,s=i&255;return[a,r,s]};I.rgb.hcg=function(t){let e=t[0]/255,n=t[1]/255,i=t[2]/255,a=Math.max(Math.max(e,n),i),r=Math.min(Math.min(e,n),i),s=a-r,o,l=s<1?r/(1-s):0;return s<=0?o=0:a===e?o=(n-i)/s%6:a===n?o=2+(i-e)/s:o=4+(e-n)/s,o/=6,o%=1,[o*360,s*100,l*100]};I.hsl.hcg=function(t){let e=t[1]/100,n=t[2]/100,i=n<.5?2*e*n:2*e*(1-n),a=0;return i<1&&(a=(n-.5*i)/(1-i)),[t[0],i*100,a*100]};I.hsv.hcg=function(t){let e=t[1]/100,n=t[2]/100,i=e*n,a=0;return i<1&&(a=(n-i)/(1-i)),[t[0],i*100,a*100]};I.hcg.rgb=function(t){let e=t[0]/360,n=t[1]/100,i=t[2]/100;if(n===0)return[i*255,i*255,i*255];let a=[0,0,0],r=e%1*6,s=r%1,o=1-s,l=0;switch(Math.floor(r)){case 0:{a[0]=1,a[1]=s,a[2]=0;break}case 1:{a[0]=o,a[1]=1,a[2]=0;break}case 2:{a[0]=0,a[1]=1,a[2]=s;break}case 3:{a[0]=0,a[1]=o,a[2]=1;break}case 4:{a[0]=s,a[1]=0,a[2]=1;break}default:a[0]=1,a[1]=0,a[2]=o}return l=(1-n)*i,[(n*a[0]+l)*255,(n*a[1]+l)*255,(n*a[2]+l)*255]};I.hcg.hsv=function(t){let e=t[1]/100,n=t[2]/100,i=e+n*(1-e),a=0;return i>0&&(a=e/i),[t[0],a*100,i*100]};I.hcg.hsl=function(t){let e=t[1]/100,i=t[2]/100*(1-e)+.5*e,a=0;return i>0&&i<.5?a=e/(2*i):i>=.5&&i<1&&(a=e/(2*(1-i))),[t[0],a*100,i*100]};I.hcg.hwb=function(t){let e=t[1]/100,n=t[2]/100,i=e+n*(1-e);return[t[0],(i-e)*100,(1-i)*100]};I.hwb.hcg=function(t){let e=t[1]/100,i=1-t[2]/100,a=i-e,r=0;return a<1&&(r=(i-a)/(1-a)),[t[0],a*100,r*100]};I.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};I.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};I.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};I.gray.hsl=function(t){return[0,0,t[0]]};I.gray.hsv=I.gray.hsl;I.gray.hwb=function(t){return[0,100,t[0]]};I.gray.cmyk=function(t){return[0,0,0,t[0]]};I.gray.lab=function(t){return[t[0],0,0]};I.gray.hex=function(t){let e=Math.round(t[0]/100*255)&255,i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".slice(i.length)+i};I.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};function RY(){let t={},e=Object.keys(I);for(let{length:n}=e,i=0;i0;){let i=n.pop(),a=Object.keys(I[i]);for(let{length:r}=a,s=0;s1&&(n=i),t(n))};return"conversion"in t&&(e.conversion=t.conversion),e}function LY(t){let e=function(...n){let i=n[0];if(i==null)return i;i.length>1&&(n=i);let a=t(n);if(typeof a=="object")for(let{length:r}=a,s=0;s0){this.model=e||"rgb",i=yn[this.model].channels;let a=Array.prototype.slice.call(t,0,i);this.color=RA(a,i),this.valpha=typeof t[i]=="number"?t[i]:1}else if(typeof t=="number")this.model="rgb",this.color=[t>>16&255,t>>8&255,t&255],this.valpha=1;else{this.valpha=1;let a=Object.keys(t);"alpha"in t&&(a.splice(a.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);let r=a.sort().join("");if(!(r in HA))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=HA[r];let{labels:s}=yn[this.model],o=[];for(n=0;n(t%360+360)%360),saturationl:tn("hsl",1,dn(100)),lightness:tn("hsl",2,dn(100)),saturationv:tn("hsv",1,dn(100)),value:tn("hsv",2,dn(100)),chroma:tn("hcg",1,dn(100)),gray:tn("hcg",2,dn(100)),white:tn("hwb",1,dn(100)),wblack:tn("hwb",2,dn(100)),cyan:tn("cmyk",0,dn(100)),magenta:tn("cmyk",1,dn(100)),yellow:tn("cmyk",2,dn(100)),black:tn("cmyk",3,dn(100)),x:tn("xyz",0,dn(95.047)),y:tn("xyz",1,dn(100)),z:tn("xyz",2,dn(108.833)),l:tn("lab",0,dn(100)),a:tn("lab",1),b:tn("lab",2),keyword(t){return t!==void 0?new hn(t):yn[this.model].keyword(this.color)},hex(t){return t!==void 0?new hn(t):gn.to.hex(...this.rgb().round().color)},hexa(t){if(t!==void 0)return new hn(t);let e=this.rgb().round().color,n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),gn.to.hex(...e)+n},rgbNumber(){let t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){let t=this.rgb().color,e=[];for(let[n,i]of t.entries()){let a=i/255;e[n]=a<=.04045?a/12.92:((a+.055)/1.055)**2.4}return .2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){let e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level(t){let e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){let t=this.rgb().color;return(t[0]*2126+t[1]*7152+t[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){let t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){let e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){let e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){let e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){let e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){let e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){let e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){let t=this.rgb().color,e=t[0]*.3+t[1]*.59+t[2]*.11;return hn.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){let e=this.hsl(),n=e.color[0];return n=(n+t)%360,n=n<0?360+n:n,e.color[0]=n,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);let n=t.rgb(),i=this.rgb(),a=e===void 0?.5:e,r=2*a-1,s=n.alpha()-i.alpha(),o=((r*s===-1?r:(r+s)/(1+r*s))+1)/2,l=1-o;return hn.rgb(o*n.red()+l*i.red(),o*n.green()+l*i.green(),o*n.blue()+l*i.blue(),n.alpha()*a+i.alpha()*(1-a))}};for(let t of Object.keys(yn)){if(_I.includes(t))continue;let{channels:e}=yn[t];hn.prototype[t]=function(...n){return this.model===t?new hn(this):n.length>0?new hn(n,t):new hn([...FY(yn[this.model][t].raw(this.color)),this.valpha],t)},hn[t]=function(...n){let i=n[0];return typeof i=="number"&&(i=RA(n,e)),new hn(i,t)}}function WY(t,e){return Number(t.toFixed(e))}function BY(t){return function(e){return WY(e,t)}}function tn(t,e,n){t=Array.isArray(t)?t:[t];for(let i of t)(IA[i]||=[])[e]=n;return t=t[0],function(i){let a;return i!==void 0?(n&&(i=n(i)),a=this[t](),a.color[e]=i,a):(a=this[t]().color[e],n&&(a=n(a)),a)}}function dn(t){return function(e){return Math.max(0,Math.min(t,e))}}function FY(t){return Array.isArray(t)?t:[t]}function RA(t,e){for(let n=0;n{"use strict";function zi(t,e){if(e)return new zi(t).style(e);if(!(this instanceof zi))return new zi(t);this.text=t}zi.prototype.prefix="\x1B[";zi.prototype.suffix="m";zi.prototype.hex=function(e){e=e[0]==="#"?e.substring(1):e,e.length===3&&(e=e.split(""),e[5]=e[2],e[4]=e[2],e[3]=e[1],e[2]=e[1],e[1]=e[0],e=e.join(""));var n=e.substring(0,2),i=e.substring(2,4),a=e.substring(4,6);return[parseInt(n,16),parseInt(i,16),parseInt(a,16)]};zi.prototype.rgb=function(e,n,i){var a=e/255*5,r=n/255*5,s=i/255*5;return this.ansi(a,r,s)};zi.prototype.ansi=function(e,n,i){var a=Math.round(e),r=Math.round(n),s=Math.round(i);return 16+a*36+r*6+s};zi.prototype.reset=function(){return this.prefix+"39;49"+this.suffix};zi.prototype.style=function(e){return this.prefix+"38;5;"+this.rgb.apply(this,this.hex(e))+this.suffix+this.text+this.reset()};RI.exports=zi});var GI=v((Kce,DI)=>{var KY=II(),QY=zI();DI.exports=function(e,n){var i=n.namespace,a=n.colors!==!1?QY(i+":",KY(i)):i+":";return e[0]=a+" "+e[0],e}});var NI=v((Qce,$I)=>{"use strict";$I.exports=function(e,n){if(!n)return!1;for(var i=n.split(/[\s,]+/),a=0;a{var YY=NI();UI.exports=function(e){return function(i){try{return YY(i,e())}catch{}return!1}}});var BI=v((Xce,WI)=>{var XY=LI();WI.exports=XY(function(){return process.env.DEBUG||process.env.DIAGNOSTICS})});var VI=v((epe,FI)=>{FI.exports=function(t,e){try{Function.prototype.apply.call(console.log,console,e)}catch{}}});var ZI=v((npe,JI)=>{var eX=_A(),nX=require("tty").isatty(1),Ad=eX(function t(e,n){return n=n||{},n.colors="colors"in n?n.colors:nX,n.namespace=e,n.prod=!1,n.dev=!0,!t.enabled(e)&&!(n.force||t.force)?t.nope(n):t.yep(n)});Ad.modify(GI());Ad.use(BI());Ad.set(VI());JI.exports=Ad});var Dl=v((ipe,zA)=>{process.env.NODE_ENV==="production"?zA.exports=MI():zA.exports=ZI()});var QI=v((tpe,KI)=>{"use strict";var DA=require("fs"),{StringDecoder:iX}=require("string_decoder"),{Stream:tX}=cr();function aX(){}KI.exports=(t,e)=>{let n=Buffer.alloc(65536),i=new iX("utf8"),a=new tX,r="",s=0,o=0;return t.start===-1&&delete t.start,a.readable=!0,a.destroy=()=>{a.destroyed=!0,a.emit("end"),a.emit("close")},DA.open(t.file,"a+","0644",(l,u)=>{if(l){e?e(l):a.emit("error",l),a.destroy();return}(function c(){if(a.destroyed){DA.close(u,aX);return}return DA.read(u,n,0,n.length,s,(p,h)=>{if(p){e?e(p):a.emit("error",p),a.destroy();return}if(!h)return r&&((t.start==null||o>t.start)&&(e?e(null,r):a.emit("line",r)),o++,r=""),setTimeout(c,1e3);let d=i.write(n.slice(0,h));e||a.emit("data",d),d=(r+d).split(/\n+/);let g=d.length-1,m=0;for(;mt.start)&&(e?e(null,d[m]):a.emit("line",d[m])),o++;return r=d[g],s+=h,c()})})()}),e?a.destroy:a}});var nR=v((rpe,eR)=>{"use strict";var ri=require("fs"),Pn=require("path"),YI=mI(),rX=require("zlib"),{MESSAGE:sX}=ln(),{Stream:oX,PassThrough:XI}=cr(),lX=ys(),Di=Dl()("winston:file"),uX=require("os"),cX=QI();eR.exports=class extends lX{constructor(e={}){super(e),this.name=e.name||"file";function n(i,...a){a.slice(1).forEach(r=>{if(e[r])throw new Error(`Cannot set ${r} and ${i} together`)})}if(this._stream=new XI,this._stream.setMaxListeners(30),this._onError=this._onError.bind(this),e.filename||e.dirname)n("filename or dirname","stream"),this._basename=this.filename=e.filename?Pn.basename(e.filename):"winston.log",this.dirname=e.dirname||Pn.dirname(e.filename),this.options=e.options||{flags:"a"};else if(e.stream)console.warn("options.stream will be removed in winston@4. Use winston.transports.Stream"),n("stream","filename","maxsize"),this._dest=this._stream.pipe(this._setupStream(e.stream)),this.dirname=Pn.dirname(this._dest.path);else throw new Error("Cannot log to file without filename or stream.");this.maxsize=e.maxsize||null,this.rotationFormat=e.rotationFormat||!1,this.zippedArchive=e.zippedArchive||!1,this.maxFiles=e.maxFiles||null,this.eol=typeof e.eol=="string"?e.eol:uX.EOL,this.tailable=e.tailable||!1,this.lazy=e.lazy||!1,this._size=0,this._pendingSize=0,this._created=0,this._drain=!1,this._opening=!1,this._ending=!1,this._fileExist=!1,this.dirname&&this._createLogDirIfNotExist(this.dirname),this.lazy||this.open()}finishIfEnding(){this._ending&&(this._opening?this.once("open",()=>{this._stream.once("finish",()=>this.emit("finish")),setImmediate(()=>this._stream.end())}):(this._stream.once("finish",()=>this.emit("finish")),setImmediate(()=>this._stream.end())))}_final(e){if(this._opening){this.once("open",()=>this._final(e));return}if(this._stream.end(),!this._dest||this._dest.writableFinished)return e();this._dest.once("finish",e),this._dest.once("error",e)}log(e,n=()=>{}){if(this.silent)return n(),!0;if(this._drain){this._stream.once("drain",()=>{this._drain=!1,this.log(e,n)});return}if(this._rotate){this._stream.once("rotate",()=>{this._rotate=!1,this.log(e,n)});return}if(this.lazy){if(!this._fileExist){this._opening||this.open(),this.once("open",()=>{this._fileExist=!0,this.log(e,n)});return}if(this._needsNewFile(this._pendingSize)){this._dest.once("close",()=>{this._opening||this.open(),this.once("open",()=>{this.log(e,n)})});return}}let i=`${e[sX]}${this.eol}`,a=Buffer.byteLength(i);function r(){if(this._size+=a,this._pendingSize-=a,Di("logged %s %s",this._size,i),this.emit("logged",e),!this._rotate&&!this._opening&&this._needsNewFile()){if(this.lazy){this._endStream(()=>{this.emit("fileclosed")});return}this._rotate=!0,this._endStream(()=>this._rotateFile())}}this._pendingSize+=a,this._opening&&!this.rotatedWhileOpening&&this._needsNewFile(this._size+this._pendingSize)&&(this.rotatedWhileOpening=!0);let s=this._stream.write(i,r.bind(this));return s?n():(this._drain=!0,this._stream.once("drain",()=>{this._drain=!1,n()})),Di("written",s,this._drain),this.finishIfEnding(),s}query(e,n){typeof e=="function"&&(n=e,e={}),e=p(e);let i=Pn.join(this.dirname,this.filename),a="",r=[],s=0,o=ri.createReadStream(i,{encoding:"utf8"});o.on("error",h=>{if(o.readable&&o.destroy(),!!n)return h.code!=="ENOENT"?n(h):n(null,r)}),o.on("data",h=>{h=(a+h).split(/\n+/);let d=h.length-1,g=0;for(;g=e.start)&&l(h[g]),s++;a=h[d]}),o.on("close",()=>{a&&l(a,!0),e.order==="desc"&&(r=r.reverse()),n&&n(null,r)});function l(h,d){try{let g=JSON.parse(h);c(g)&&u(g)}catch(g){d||o.emit("error",g)}}function u(h){if(e.rows&&r.length>=e.rows&&e.order!=="desc"){o.readable&&o.destroy();return}e.fields&&(h=e.fields.reduce((d,g)=>(d[g]=h[g],d),{})),e.order==="desc"&&r.length>=e.rows&&r.shift(),r.push(h)}function c(h){if(!h||typeof h!="object")return;let d=new Date(h.timestamp);if(!(e.from&&de.until||e.level&&e.level!==h.level))return!0}function p(h){return h=h||{},h.rows=h.rows||h.limit||10,h.start=h.start||0,h.until=h.until||new Date,typeof h.until!="object"&&(h.until=new Date(h.until)),h.from=h.from||h.until-1440*60*1e3,typeof h.from!="object"&&(h.from=new Date(h.from)),h.order=h.order||"desc",h}}stream(e={}){let n=Pn.join(this.dirname,this.filename),i=new oX,a={file:n,start:e.start};return i.destroy=cX(a,(r,s)=>{if(r)return i.emit("error",r);try{i.emit("data",s),s=JSON.parse(s),i.emit("log",s)}catch(o){i.emit("error",o)}}),i}open(){this.filename&&(this._opening||(this._opening=!0,this.stat((e,n)=>{if(e)return this.emit("error",e);Di("stat done: %s { size: %s }",this.filename,n),this._size=n,this._dest=this._createStream(this._stream),this._opening=!1,this.once("open",()=>{this._stream.emit("rotate")||(this._rotate=!1)})})))}stat(e){let n=this._getFile(),i=Pn.join(this.dirname,n);ri.stat(i,(a,r)=>{if(a&&a.code==="ENOENT")return Di("ENOENT\xA0ok",i),this.filename=n,e(null,0);if(a)return Di(`err ${a.code} ${i}`),e(a);if(!r||this._needsNewFile(r.size))return this._incFile(()=>this.stat(e));this.filename=n,e(null,r.size)})}close(e){this._stream&&this._stream.end(()=>{e&&e(),this.emit("flush"),this.emit("closed")})}_needsNewFile(e){return e=e||this._size,this.maxsize&&e>=this.maxsize}_onError(e){this.emit("error",e)}_setupStream(e){return e.on("error",this._onError),e}_cleanupStream(e){return e.removeListener("error",this._onError),e.destroy(),e}_rotateFile(){this._incFile(()=>this.open())}_endStream(e=()=>{}){this._dest?(this._stream.unpipe(this._dest),this._dest.end(()=>{this._cleanupStream(this._dest),e()})):e()}_createStream(e){let n=Pn.join(this.dirname,this.filename);Di("create stream start",n,this.options);let i=ri.createWriteStream(n,this.options).on("error",a=>Di(a)).on("close",()=>Di("close",i.path,i.bytesWritten)).on("open",()=>{Di("file open ok",n),this.emit("open",n),e.pipe(i),this.rotatedWhileOpening&&(this._stream=new XI,this._stream.setMaxListeners(30),this._rotateFile(),this.rotatedWhileOpening=!1,this._cleanupStream(i),e.end())});return Di("create stream ok",n),i}_incFile(e){Di("_incFile",this.filename);let n=Pn.extname(this._basename),i=Pn.basename(this._basename,n),a=[];this.zippedArchive&&a.push(function(r){let s=this._created>0&&!this.tailable?this._created:"";this._compressFile(Pn.join(this.dirname,`${i}${s}${n}`),Pn.join(this.dirname,`${i}${s}${n}.gz`),r)}.bind(this)),a.push(function(r){this.tailable?this._checkMaxFilesTailable(n,i,r):(this._created+=1,this._checkMaxFilesIncrementing(n,i,r))}.bind(this)),YI(a,e)}_getFile(){let e=Pn.extname(this._basename),n=Pn.basename(this._basename,e),i=this.rotationFormat?this.rotationFormat():this._created;return!this.tailable&&this._created?`${n}${i}${e}`:`${n}${e}`}_checkMaxFilesIncrementing(e,n,i){if(!this.maxFiles||this._created1;s--)a.push(function(o,l){let u=`${n}${o-1}${e}${r}`,c=Pn.join(this.dirname,u);ri.exists(c,p=>{if(!p)return l(null);u=`${n}${o}${e}${r}`,ri.rename(c,Pn.join(this.dirname,u),l)})}.bind(this,s));YI(a,()=>{ri.rename(Pn.join(this.dirname,`${n}${e}${r}`),Pn.join(this.dirname,`${n}1${e}${r}`),i)})}_compressFile(e,n,i){ri.access(e,ri.F_OK,a=>{if(a)return i();var r=rX.createGzip(),s=ri.createReadStream(e),o=ri.createWriteStream(n);o.on("finish",()=>{ri.unlink(e,i)}),s.pipe(r).pipe(o)})}_createLogDirIfNotExist(e){ri.existsSync(e)||ri.mkdirSync(e,{recursive:!0})}}});var tR=v((ope,iR)=>{"use strict";var pX=require("http"),dX=require("https"),{Stream:hX}=cr(),gX=ys(),{configure:mX}=yl();iR.exports=class extends gX{constructor(e={}){super(e),this.options=e,this.name=e.name||"http",this.ssl=!!e.ssl,this.host=e.host||"localhost",this.port=e.port,this.auth=e.auth,this.path=e.path||"",this.maximumDepth=e.maximumDepth,this.agent=e.agent,this.headers=e.headers||{},this.headers["content-type"]="application/json",this.batch=e.batch||!1,this.batchInterval=e.batchInterval||5e3,this.batchCount=e.batchCount||10,this.batchOptions=[],this.batchTimeoutID=-1,this.batchCallback={},this.port||(this.port=this.ssl?443:80)}log(e,n){this._request(e,null,null,(i,a)=>{a&&a.statusCode!==200&&(i=new Error(`Invalid HTTP Status Code: ${a.statusCode}`)),i?this.emit("warn",i):this.emit("logged",e)}),n&&setImmediate(n)}query(e,n){typeof e=="function"&&(n=e,e={}),e={method:"query",params:this.normalizeQuery(e)};let i=e.params.auth||null;delete e.params.auth;let a=e.params.path||null;delete e.params.path,this._request(e,i,a,(r,s,o)=>{if(s&&s.statusCode!==200&&(r=new Error(`Invalid HTTP Status Code: ${s.statusCode}`)),r)return n(r);if(typeof o=="string")try{o=JSON.parse(o)}catch(l){return n(l)}n(null,o)})}stream(e={}){let n=new hX;e={method:"stream",params:e};let i=e.params.path||null;delete e.params.path;let a=e.params.auth||null;delete e.params.auth;let r="",s=this._request(e,a,i);return n.destroy=()=>s.destroy(),s.on("data",o=>{o=(r+o).split(/\n+/);let l=o.length-1,u=0;for(;un.emit("error",o)),n}_request(e,n,i,a){e=e||{},n=n||this.auth,i=i||this.path||"",this.batch?this._doBatch(e,a,n,i):this._doRequest(e,a,n,i)}_doBatch(e,n,i,a){if(this.batchOptions.push(e),this.batchOptions.length===1){let r=this;this.batchCallback=n,this.batchTimeoutID=setTimeout(function(){r.batchTimeoutID=-1,r._doBatchRequest(r.batchCallback,i,a)},this.batchInterval)}this.batchOptions.length===this.batchCount&&this._doBatchRequest(this.batchCallback,i,a)}_doBatchRequest(e,n,i){this.batchTimeoutID>0&&(clearTimeout(this.batchTimeoutID),this.batchTimeoutID=-1);let a=this.batchOptions.slice();this.batchOptions=[],this._doRequest(a,e,n,i)}_doRequest(e,n,i,a){let r=Object.assign({},this.headers);i&&i.bearer&&(r.Authorization=`Bearer ${i.bearer}`);let s=(this.ssl?dX:pX).request({...this.options,method:"POST",host:this.host,port:this.port,path:`/${a.replace(/^\//,"")}`,headers:r,auth:i&&i.username&&i.password?`${i.username}:${i.password}`:"",agent:this.agent});s.on("error",n),s.on("response",l=>l.on("end",()=>n(null,l)).resume());let o=mX({...this.maximumDepth&&{maximumDepth:this.maximumDepth}});s.end(Buffer.from(o(e,this.options.replacer),"utf8"))}}});var GA=v((lpe,aR)=>{"use strict";var tt=t=>t!==null&&typeof t=="object"&&typeof t.pipe=="function";tt.writable=t=>tt(t)&&t.writable!==!1&&typeof t._write=="function"&&typeof t._writableState=="object";tt.readable=t=>tt(t)&&t.readable!==!1&&typeof t._read=="function"&&typeof t._readableState=="object";tt.duplex=t=>tt.writable(t)&&tt.readable(t);tt.transform=t=>tt.duplex(t)&&typeof t._transform=="function";aR.exports=tt});var sR=v((cpe,rR)=>{"use strict";var fX=GA(),{MESSAGE:wX}=ln(),vX=require("os"),CX=ys();rR.exports=class extends CX{constructor(e={}){if(super(e),!e.stream||!fX(e.stream))throw new Error("options.stream is required.");this._stream=e.stream,this._stream.setMaxListeners(1/0),this.isObjectMode=e.stream._writableState.objectMode,this.eol=typeof e.eol=="string"?e.eol:vX.EOL}log(e,n){if(setImmediate(()=>this.emit("logged",e)),this.isObjectMode){this._stream.write(e),n&&n();return}this._stream.write(`${e[wX]}${this.eol}`),n&&n()}}});var oR=v(Gl=>{"use strict";Object.defineProperty(Gl,"Console",{configurable:!0,enumerable:!0,get(){return _H()}});Object.defineProperty(Gl,"File",{configurable:!0,enumerable:!0,get(){return nR()}});Object.defineProperty(Gl,"Http",{configurable:!0,enumerable:!0,get(){return tR()}});Object.defineProperty(Gl,"Stream",{configurable:!0,enumerable:!0,get(){return sR()}})});var yd=v($l=>{"use strict";var bd=NC(),{configs:$A}=ln();$l.cli=bd.levels($A.cli);$l.npm=bd.levels($A.npm);$l.syslog=bd.levels($A.syslog);$l.addColors=bd.levels});var uR=v((Pd,lR)=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});var AX=nd(),bX=pr(AX),yX=pd(),PX=pr(yX),jX=jA(),SX=pr(jX),OX=bA(),xX=pr(OX),TX=yA(),MX=pr(TX),EX=ur(),kX=pr(EX),qX=js(),_X=pr(qX);function pr(t){return t&&t.__esModule?t:{default:t}}function HX(t,e,n){n=(0,xX.default)(n);var i=0,a=0,{length:r}=t,s=!1;r===0&&n(null);function o(l,u){l===!1&&(s=!0),s!==!0&&(l?n(l):(++a===r||u===PX.default)&&n(null))}for(;i{"use strict";Object.defineProperty(jd,"__esModule",{value:!0});jd.default=zX;function zX(t){return(e,n,i)=>t(e,i)}cR.exports=jd.default});var xd=v((Od,dR)=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});var DX=uR(),GX=Sd(DX),$X=pR(),NX=Sd($X),UX=ur(),LX=Sd(UX),WX=js(),BX=Sd(WX);function Sd(t){return t&&t.__esModule?t:{default:t}}function FX(t,e,n){return(0,GX.default)(t,(0,NX.default)((0,LX.default)(e)),n)}Od.default=(0,BX.default)(FX,3);dR.exports=Od.default});var gR=v((hpe,hR)=>{"use strict";var VX=Object.prototype.toString;hR.exports=function(e){if(typeof e.displayName=="string"&&e.constructor.name)return e.displayName;if(typeof e.name=="string"&&e.name)return e.name;if(typeof e=="object"&&e.constructor&&typeof e.constructor.name=="string")return e.constructor.name;var n=e.toString(),i=VX.call(e).slice(8,-1);return i==="Function"?n=n.substring(n.indexOf("(")+1,n.indexOf(")")):n=i,n||"anonymous"}});var NA=v((gpe,mR)=>{"use strict";var JX=gR();mR.exports=function(e){var n=0,i;function a(){return n||(n=1,i=e.apply(this,arguments),e=null),i}return a.displayName=JX(e),a}});var UA=v(Ul=>{Ul.get=function(t){var e=Error.stackTraceLimit;Error.stackTraceLimit=1/0;var n={},i=Error.prepareStackTrace;Error.prepareStackTrace=function(r,s){return s},Error.captureStackTrace(n,t||Ul.get);var a=n.stack;return Error.prepareStackTrace=i,Error.stackTraceLimit=e,a};Ul.parse=function(t){if(!t.stack)return[];var e=this,n=t.stack.split(` -`).slice(1);return n.map(function(i){if(i.match(/^\s*[-]{4,}$/))return e._createParsedCallSite({fileName:i,lineNumber:null,functionName:null,typeName:null,methodName:null,columnNumber:null,native:null});var a=i.match(/at (?:(.+)\s+\()?(?:(.+?):(\d+)(?::(\d+))?|([^)]+))\)?/);if(a){var r=null,s=null,o=null,l=null,u=null,c=a[5]==="native";if(a[1]){o=a[1];var p=o.lastIndexOf(".");if(o[p-1]=="."&&p--,p>0){r=o.substr(0,p),s=o.substr(p+1);var h=r.indexOf(".Module");h>0&&(o=o.substr(h+1),r=r.substr(0,h))}l=null}s&&(l=r,u=s),s===""&&(u=null,o=null);var d={fileName:a[2]||null,lineNumber:parseInt(a[3],10)||null,functionName:o,typeName:l,methodName:u,columnNumber:parseInt(a[4],10)||null,native:c};return e._createParsedCallSite(d)}}).filter(function(i){return!!i})};function Nl(t){for(var e in t)this[e]=t[e]}var ZX=["this","typeName","functionName","methodName","fileName","lineNumber","columnNumber","function","evalOrigin"],KX=["topLevel","eval","native","constructor"];ZX.forEach(function(t){Nl.prototype[t]=null,Nl.prototype["get"+t[0].toUpperCase()+t.substr(1)]=function(){return this[t]}});KX.forEach(function(t){Nl.prototype[t]=!1,Nl.prototype["is"+t[0].toUpperCase()+t.substr(1)]=function(){return this[t]}});Ul._createParsedCallSite=function(t){return new Nl(t)}});var wR=v((wpe,fR)=>{"use strict";var{Writable:QX}=cr();fR.exports=class extends QX{constructor(e){if(super({objectMode:!0}),!e)throw new Error("ExceptionStream requires a TransportStream instance.");this.handleExceptions=!0,this.transport=e}_write(e,n,i){return e.exception?this.transport.log(e,i):(i(),!0)}}});var WA=v((Cpe,AR)=>{"use strict";var vR=require("os"),YX=xd(),LA=Dl()("winston:exception"),XX=NA(),CR=UA(),eee=wR();AR.exports=class{constructor(e){if(!e)throw new Error("Logger is required to handle exceptions");this.logger=e,this.handlers=new Map}handle(...e){e.forEach(n=>{if(Array.isArray(n))return n.forEach(i=>this._addHandler(i));this._addHandler(n)}),this.catcher||(this.catcher=this._uncaughtException.bind(this),process.on("uncaughtException",this.catcher))}unhandle(){this.catcher&&(process.removeListener("uncaughtException",this.catcher),this.catcher=!1,Array.from(this.handlers.values()).forEach(e=>this.logger.unpipe(e)))}getAllInfo(e){let n=null;return e&&(n=typeof e=="string"?e:e.message),{error:e,level:"error",message:[`uncaughtException: ${n||"(no error message)"}`,e&&e.stack||" No stack trace"].join(` -`),stack:e&&e.stack,exception:!0,date:new Date().toString(),process:this.getProcessInfo(),os:this.getOsInfo(),trace:this.getTrace(e)}}getProcessInfo(){return{pid:process.pid,uid:process.getuid?process.getuid():null,gid:process.getgid?process.getgid():null,cwd:process.cwd(),execPath:process.execPath,version:process.version,argv:process.argv,memoryUsage:process.memoryUsage()}}getOsInfo(){return{loadavg:vR.loadavg(),uptime:vR.uptime()}}getTrace(e){return(e?CR.parse(e):CR.get()).map(i=>({column:i.getColumnNumber(),file:i.getFileName(),function:i.getFunctionName(),line:i.getLineNumber(),method:i.getMethodName(),native:i.isNative()}))}_addHandler(e){if(!this.handlers.has(e)){e.handleExceptions=!0;let n=new eee(e);this.handlers.set(e,n),this.logger.pipe(n)}}_uncaughtException(e){let n=this.getAllInfo(e),i=this._getExceptionHandlers(),a=typeof this.logger.exitOnError=="function"?this.logger.exitOnError(e):this.logger.exitOnError,r;!i.length&&a&&(console.warn("winston: exitOnError cannot be true with no exception handlers."),console.warn("winston: not exiting process."),a=!1);function s(){LA("doExit",a),LA("process._exiting",process._exiting),a&&!process._exiting&&(r&&clearTimeout(r),process.exit(1))}if(!i||i.length===0)return process.nextTick(s);YX(i,(o,l)=>{let u=XX(l),c=o.transport||o;function p(h){return()=>{LA(h),u()}}c._ending=!0,c.once("finish",p("finished")),c.once("error",p("error"))},()=>a&&s()),this.logger.log(n),a&&(r=setTimeout(s,3e3))}_getExceptionHandlers(){return this.logger.transports.filter(e=>(e.transport||e).handleExceptions)}}});var yR=v((bpe,bR)=>{"use strict";var{Writable:nee}=cr();bR.exports=class extends nee{constructor(e){if(super({objectMode:!0}),!e)throw new Error("RejectionStream requires a TransportStream instance.");this.handleRejections=!0,this.transport=e}_write(e,n,i){return e.rejection?this.transport.log(e,i):(i(),!0)}}});var FA=v((Ppe,SR)=>{"use strict";var PR=require("os"),iee=xd(),BA=Dl()("winston:rejection"),tee=NA(),jR=UA(),aee=yR();SR.exports=class{constructor(e){if(!e)throw new Error("Logger is required to handle rejections");this.logger=e,this.handlers=new Map}handle(...e){e.forEach(n=>{if(Array.isArray(n))return n.forEach(i=>this._addHandler(i));this._addHandler(n)}),this.catcher||(this.catcher=this._unhandledRejection.bind(this),process.on("unhandledRejection",this.catcher))}unhandle(){this.catcher&&(process.removeListener("unhandledRejection",this.catcher),this.catcher=!1,Array.from(this.handlers.values()).forEach(e=>this.logger.unpipe(e)))}getAllInfo(e){let n=null;return e&&(n=typeof e=="string"?e:e.message),{error:e,level:"error",message:[`unhandledRejection: ${n||"(no error message)"}`,e&&e.stack||" No stack trace"].join(` -`),stack:e&&e.stack,rejection:!0,date:new Date().toString(),process:this.getProcessInfo(),os:this.getOsInfo(),trace:this.getTrace(e)}}getProcessInfo(){return{pid:process.pid,uid:process.getuid?process.getuid():null,gid:process.getgid?process.getgid():null,cwd:process.cwd(),execPath:process.execPath,version:process.version,argv:process.argv,memoryUsage:process.memoryUsage()}}getOsInfo(){return{loadavg:PR.loadavg(),uptime:PR.uptime()}}getTrace(e){return(e?jR.parse(e):jR.get()).map(i=>({column:i.getColumnNumber(),file:i.getFileName(),function:i.getFunctionName(),line:i.getLineNumber(),method:i.getMethodName(),native:i.isNative()}))}_addHandler(e){if(!this.handlers.has(e)){e.handleRejections=!0;let n=new aee(e);this.handlers.set(e,n),this.logger.pipe(n)}}_unhandledRejection(e){let n=this.getAllInfo(e),i=this._getRejectionHandlers(),a=typeof this.logger.exitOnError=="function"?this.logger.exitOnError(e):this.logger.exitOnError,r;!i.length&&a&&(console.warn("winston: exitOnError cannot be true with no rejection handlers."),console.warn("winston: not exiting process."),a=!1);function s(){BA("doExit",a),BA("process._exiting",process._exiting),a&&!process._exiting&&(r&&clearTimeout(r),process.exit(1))}if(!i||i.length===0)return process.nextTick(s);iee(i,(o,l)=>{let u=tee(l),c=o.transport||o;function p(h){return()=>{BA(h),u()}}c._ending=!0,c.once("finish",p("finished")),c.once("error",p("error"))},()=>a&&s()),this.logger.log(n),a&&(r=setTimeout(s,3e3))}_getRejectionHandlers(){return this.logger.transports.filter(e=>(e.transport||e).handleRejections)}}});var xR=v((jpe,OR)=>{"use strict";var VA=class{constructor(e){let n=Td();if(typeof e!="object"||Array.isArray(e)||!(e instanceof n))throw new Error("Logger is required for profiling");this.logger=e,this.start=Date.now()}done(...e){typeof e[e.length-1]=="function"&&(console.warn("Callback function no longer supported as of winston@3.0.0"),e.pop());let n=typeof e[e.length-1]=="object"?e.pop():{};return n.level=n.level||"info",n.durationMs=Date.now()-this.start,this.logger.write(n)}};OR.exports=VA});var Td=v((Spe,kR)=>{"use strict";var{Stream:ree,Transform:see}=cr(),TR=xd(),{LEVEL:at,SPLAT:MR}=ln(),ER=GA(),oee=WA(),lee=FA(),uee=vA(),cee=xR(),{warn:pee}=UC(),dee=yd(),hee=/%[scdjifoO%]/g,Md=class extends see{constructor(e){super({objectMode:!0}),this.configure(e)}child(e){let n=this;return Object.create(n,{write:{value:function(i){let a=Object.assign({},e,i);i instanceof Error&&(a.stack=i.stack,a.message=i.message,a.cause=i.cause),n.write(a)}}})}configure({silent:e,format:n,defaultMeta:i,levels:a,level:r="info",exitOnError:s=!0,transports:o,colors:l,emitErrs:u,formatters:c,padLevels:p,rewriters:h,stripColors:d,exceptionHandlers:g,rejectionHandlers:m}={}){if(this.transports.length&&this.clear(),this.silent=e,this.format=n||this.format||RC()(),this.defaultMeta=i||null,this.levels=a||this.levels||dee.npm.levels,this.level=r,this.exceptions&&this.exceptions.unhandle(),this.rejections&&this.rejections.unhandle(),this.exceptions=new oee(this),this.rejections=new lee(this),this.profilers={},this.exitOnError=s,o&&(o=Array.isArray(o)?o:[o],o.forEach(f=>this.add(f))),l||u||c||p||h||d)throw new Error(["{ colors, emitErrs, formatters, padLevels, rewriters, stripColors } were removed in winston@3.0.0.","Use a custom winston.format(function) instead.","See: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md"].join(` -`));g&&this.exceptions.handle(g),m&&this.rejections.handle(m)}getHighestLogLevel(){let e=Ll(this.levels,this.level);return!this.transports||this.transports.length===0?e:this.transports.reduce((n,i)=>{let a=Ll(this.levels,i.level);return a!==null&&a>n?a:n},e)}isLevelEnabled(e){let n=Ll(this.levels,e);if(n===null)return!1;let i=Ll(this.levels,this.level);return i===null?!1:!this.transports||this.transports.length===0?i>=n:this.transports.findIndex(r=>{let s=Ll(this.levels,r.level);return s===null&&(s=i),s>=n})!==-1}log(e,n,...i){if(arguments.length===1)return e[at]=e.level,this._addDefaultMeta(e),this.write(e),this;if(arguments.length===2)return n&&typeof n=="object"?(n[at]=n.level=e,this._addDefaultMeta(n),this.write(n),this):(n={[at]:e,level:e,message:n},this._addDefaultMeta(n),this.write(n),this);let[a]=i;if(typeof a=="object"&&a!==null&&!(n&&n.match&&n.match(hee))){let s=Object.assign({},this.defaultMeta,a,{[at]:e,[MR]:i,level:e,message:n});return a.message&&(s.message=`${s.message} ${a.message}`),a.stack&&(s.stack=a.stack),a.cause&&(s.cause=a.cause),this.write(s),this}return this.write(Object.assign({},this.defaultMeta,{[at]:e,[MR]:i,level:e,message:n})),this}_transform(e,n,i){if(this.silent)return i();e[at]||(e[at]=e.level),!this.levels[e[at]]&&this.levels[e[at]]!==0&&console.error("[winston] Unknown logger level: %s",e[at]),this._readableState.pipes||console.error("[winston] Attempt to write logs with no transports, which can increase memory usage: %j",e);try{this.push(this.format.transform(e,this.format.options))}finally{this._writableState.sync=!1,i()}}_final(e){let n=this.transports.slice();TR(n,(i,a)=>{if(!i||i.finished)return setImmediate(a);i.once("finish",a),i.end()},e)}add(e){let n=!ER(e)||e.log.length>2?new uee({transport:e}):e;if(!n._writableState||!n._writableState.objectMode)throw new Error("Transports must WritableStreams in objectMode. Set { objectMode: true }.");return this._onEvent("error",n),this._onEvent("warn",n),this.pipe(n),e.handleExceptions&&this.exceptions.handle(),e.handleRejections&&this.rejections.handle(),this}remove(e){if(!e)return this;let n=e;return(!ER(e)||e.log.length>2)&&(n=this.transports.filter(i=>i.transport===e)[0]),n&&this.unpipe(n),this}clear(){return this.unpipe(),this}close(){return this.exceptions.unhandle(),this.rejections.unhandle(),this.clear(),this.emit("close"),this}setLevels(){pee.deprecated("setLevels")}query(e,n){typeof e=="function"&&(n=e,e={}),e=e||{};let i={},a=Object.assign({},e.query||{});function r(o,l){e.query&&typeof o.formatQuery=="function"&&(e.query=o.formatQuery(a)),o.query(e,(u,c)=>{if(u)return l(u);typeof o.formatResults=="function"&&(c=o.formatResults(c,e.format)),l(null,c)})}function s(o,l){r(o,(u,c)=>{l&&(c=u||c,c&&(i[o.name]=c),l()),l=null})}TR(this.transports.filter(o=>!!o.query),s,()=>n(null,i))}stream(e={}){let n=new ree,i=[];return n._streams=i,n.destroy=()=>{let a=i.length;for(;a--;)i[a].destroy()},this.transports.filter(a=>!!a.stream).forEach(a=>{let r=a.stream(e);r&&(i.push(r),r.on("log",s=>{s.transport=s.transport||[],s.transport.push(a.name),n.emit("log",s)}),r.on("error",s=>{s.transport=s.transport||[],s.transport.push(a.name),n.emit("error",s)}))}),n}startTimer(){return new cee(this)}profile(e,...n){let i=Date.now();if(this.profilers[e]){let a=this.profilers[e];delete this.profilers[e],typeof n[n.length-2]=="function"&&(console.warn("Callback function no longer supported as of winston@3.0.0"),n.pop());let r=typeof n[n.length-1]=="object"?n.pop():{};return r.level=r.level||"info",r.durationMs=i-a,r.message=r.message||e,this.write(r)}return this.profilers[e]=i,this}handleExceptions(...e){console.warn("Deprecated: .handleExceptions() will be removed in winston@4. Use .exceptions.handle()"),this.exceptions.handle(...e)}unhandleExceptions(...e){console.warn("Deprecated: .unhandleExceptions() will be removed in winston@4. Use .exceptions.unhandle()"),this.exceptions.unhandle(...e)}cli(){throw new Error(["Logger.cli() was removed in winston@3.0.0","Use a custom winston.formats.cli() instead.","See: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md"].join(` -`))}_onEvent(e,n){function i(a){e==="error"&&!this.transports.includes(n)&&this.add(n),this.emit(e,a,n)}n["__winston"+e]||(n["__winston"+e]=i.bind(this),n.on(e,n["__winston"+e]))}_addDefaultMeta(e){this.defaultMeta&&Object.assign(e,this.defaultMeta)}};function Ll(t,e){let n=t[e];return!n&&n!==0?null:n}Object.defineProperty(Md.prototype,"transports",{configurable:!1,enumerable:!0,get(){let{pipes:t}=this._readableState;return Array.isArray(t)?t:[t].filter(Boolean)}});kR.exports=Md});var JA=v((Ope,qR)=>{"use strict";var{LEVEL:gee}=ln(),mee=yd(),fee=Td(),wee=Dl()("winston:create-logger");function vee(t){return"is"+t.charAt(0).toUpperCase()+t.slice(1)+"Enabled"}qR.exports=function(t={}){t.levels=t.levels||mee.npm.levels;class e extends fee{constructor(a){super(a)}}let n=new e(t);return Object.keys(t.levels).forEach(function(i){if(wee('Define prototype method for "%s"',i),i==="log"){console.warn('Level "log" not defined: conflicts with the method "log". Use a different level name.');return}e.prototype[i]=function(...a){let r=this||n;if(a.length===1){let[s]=a,o=s&&s.message&&s||{message:s};return o.level=o[gee]=i,r._addDefaultMeta(o),r.write(o),this||n}return a.length===0?(r.log(i,""),r):r.log(i,...a)},e.prototype[vee(i)]=function(){return(this||n).isLevelEnabled(i)}}),n}});var HR=v((Tpe,_R)=>{"use strict";var Cee=JA();_R.exports=class{constructor(e={}){this.loggers=new Map,this.options=e}add(e,n){if(!this.loggers.has(e)){n=Object.assign({},n||this.options);let i=n.transports||this.options.transports;i?n.transports=Array.isArray(i)?i.slice():[i]:n.transports=[];let a=Cee(n);a.on("close",()=>this._delete(e)),this.loggers.set(e,a)}return this.loggers.get(e)}get(e,n){return this.add(e,n)}has(e){return!!this.loggers.has(e)}close(e){if(e)return this._removeLogger(e);this.loggers.forEach((n,i)=>this._removeLogger(i))}_removeLogger(e){if(!this.loggers.has(e))return;this.loggers.get(e).close(),this._delete(e)}_delete(e){this.loggers.delete(e)}}});var RR=v(Re=>{"use strict";var IR=NC(),{warn:Wl}=UC();Re.version=k0().version;Re.transports=oR();Re.config=yd();Re.addColors=IR.levels;Re.format=IR.format;Re.createLogger=JA();Re.Logger=Td();Re.ExceptionHandler=WA();Re.RejectionHandler=FA();Re.Container=HR();Re.Transport=ys();Re.loggers=new Re.Container;var rt=Re.createLogger();Object.keys(Re.config.npm.levels).concat(["log","query","stream","add","remove","clear","profile","startTimer","handleExceptions","unhandleExceptions","handleRejections","unhandleRejections","configure","child"]).forEach(t=>Re[t]=(...e)=>rt[t](...e));Object.defineProperty(Re,"level",{get(){return rt.level},set(t){rt.level=t}});Object.defineProperty(Re,"exceptions",{get(){return rt.exceptions}});Object.defineProperty(Re,"rejections",{get(){return rt.rejections}});["exitOnError"].forEach(t=>{Object.defineProperty(Re,t,{get(){return rt[t]},set(e){rt[t]=e}})});Object.defineProperty(Re,"default",{get(){return{exceptionHandlers:rt.exceptionHandlers,rejectionHandlers:rt.rejectionHandlers,transports:rt.transports}}});Wl.deprecated(Re,"setLevels");Wl.forFunctions(Re,"useFormat",["cli"]);Wl.forProperties(Re,"useFormat",["padLevels","stripColors"]);Wl.forFunctions(Re,"deprecated",["addRewriter","addFilter","clone","extend"]);Wl.forProperties(Re,"deprecated",["emitErrs","levelLength"])});var $R=v((Epe,GR)=>{var Bl=require("path"),zR=require("fs"),DR=parseInt("0777",8);GR.exports=Ts.mkdirp=Ts.mkdirP=Ts;function Ts(t,e,n,i){typeof e=="function"?(n=e,e={}):(!e||typeof e!="object")&&(e={mode:e});var a=e.mode,r=e.fs||zR;a===void 0&&(a=DR),i||(i=null);var s=n||function(){};t=Bl.resolve(t),r.mkdir(t,a,function(o){if(!o)return i=i||t,s(null,i);switch(o.code){case"ENOENT":if(Bl.dirname(t)===t)return s(o);Ts(Bl.dirname(t),e,function(l,u){l?s(l,u):Ts(t,e,s,u)});break;default:r.stat(t,function(l,u){l||!u.isDirectory()?s(o,i):s(null,i)});break}})}Ts.sync=function t(e,n,i){(!n||typeof n!="object")&&(n={mode:n});var a=n.mode,r=n.fs||zR;a===void 0&&(a=DR),i||(i=null),e=Bl.resolve(e);try{r.mkdirSync(e,a),i=i||e}catch(o){switch(o.code){case"ENOENT":i=t(Bl.dirname(e),n,i),t(e,n,i);break;default:var s;try{s=r.statSync(e)}catch{throw o}if(!s.isDirectory())throw o;break}}return i}});var ZA=v((kpe,NR)=>{function Aee(t){this.name="DuplicateSectionError",this.message=t+" already exists",Error.captureStackTrace(this,this.constructor)}function bee(t){this.name=this.constructor.name,this.message="Section "+t+" does not exist.",Error.captureStackTrace(this,this.constructor)}function yee(t,e,n){this.name=this.constructor.name,this.message=`Source contains parsing errors. +${b}`),m.pop(),`{${q}}`}case"number":return isFinite(g)?String(g):e?e(g):"null";case"boolean":return g===!0?"true":"false";case"undefined":return;case"bigint":if(n)return String(g);default:return e?e(g):void 0}}function p(h,g,m){switch(typeof g){case"string":return Nt(g);case"object":{if(g===null)return"null";if(typeof g.toJSON=="function"){if(g=g.toJSON(h),typeof g!="object")return p(h,g,m);if(g===null)return"null"}if(m.indexOf(g)!==-1)return i;let f="",w=g.length!==void 0;if(w&&Array.isArray(g)){if(g.length===0)return"[]";if(so){let K=g.length-o-1;f+=`,"... ${Ua(K)} not stringified"`}return m.pop(),`[${f}]`}let b=Object.keys(g),A=b.length;if(A===0)return"{}";if(so){let q=A-o;f+=`${y}"...":"${Ua(q)} not stringified"`}return m.pop(),`{${f}}`}case"number":return isFinite(g)?String(g):e?e(g):"null";case"boolean":return g===!0?"true":"false";case"undefined":return;case"bigint":if(n)return String(g);default:return e?e(g):void 0}}function d(h,g,m){if(arguments.length>1){let f="";if(typeof m=="number"?f=" ".repeat(Math.min(m,10)):typeof m=="string"&&(f=m.slice(0,10)),g!=null){if(typeof g=="function")return l("",{"":h},[],g,f,"");if(Array.isArray(g))return u("",h,[],oK(g),f,"")}if(f.length!==0)return c("",h,[],f,"")}return p("",h,[])}return d}});var Ev=v((vse,p_)=>{"use strict";var uK=nn(),{MESSAGE:cK}=ai(),pK=Ko();function dK(t,e){return typeof e=="bigint"?e.toString():e}p_.exports=uK((t,e)=>{let i=pK.configure(e);return t[cK]=i(t,e.replacer||dK,e.space),t})});var h_=v((Cse,d_)=>{"use strict";var hK=nn();d_.exports=hK((t,e)=>e.message?(t.message=`[${e.label}] ${t.message}`,t):(t.label=e.label,t))});var m_=v((Ase,g_)=>{"use strict";var gK=nn(),{MESSAGE:mK}=ai(),fK=Ko();g_.exports=gK(t=>{let e={};return t.message&&(e["@message"]=t.message,delete t.message),t.timestamp&&(e["@timestamp"]=t.timestamp,delete t.timestamp),e["@fields"]=t,t[mK]=fK(e),t})});var w_=v((bse,f_)=>{"use strict";var wK=nn();function vK(t,e,i){let n=e.reduce((r,s)=>(r[s]=t[s],delete t[s],r),{}),a=Object.keys(t).reduce((r,s)=>(r[s]=t[s],delete t[s],r),{});return Object.assign(t,n,{[i]:a}),t}function CK(t,e,i){return t[i]=e.reduce((n,a)=>(n[a]=t[a],delete t[a],n),{}),t}f_.exports=wK((t,e={})=>{let i="metadata";e.key&&(i=e.key);let n=[];return!e.fillExcept&&!e.fillWith&&(n.push("level"),n.push("message")),e.fillExcept&&(n=e.fillExcept),n.length>0?vK(t,n,i):e.fillWith?CK(t,e.fillWith,i):t})});var C_=v((Qo,v_)=>{"use strict";var AK=nn(),bK=mw();v_.exports=AK(t=>{let e=+new Date;return Qo.diff=e-(Qo.prevTime||e),Qo.prevTime=e,t.ms=`+${bK(Qo.diff)}`,t})});var y_=v((yse,b_)=>{"use strict";var yK=require("util").inspect,PK=nn(),{LEVEL:jK,MESSAGE:A_,SPLAT:SK}=ai();b_.exports=PK((t,e={})=>{let i=Object.assign({},t);return delete i[jK],delete i[A_],delete i[SK],t[A_]=yK(i,!1,e.depth||null,e.colorize),t})});var P_=v((Pse,ip)=>{"use strict";var{MESSAGE:OK}=ai(),ep=class{constructor(e){this.template=e}transform(e){return e[OK]=this.template(e),e}};ip.exports=t=>new ep(t);ip.exports.Printf=ip.exports.Format=ep});var O_=v((jse,S_)=>{"use strict";var TK=nn(),{MESSAGE:j_}=ai(),xK=Ko();S_.exports=TK(t=>{let e=xK(Object.assign({},t,{level:void 0,message:void 0,splat:void 0})),i=t.padding&&t.padding[t.level]||"";return e!=="{}"?t[j_]=`${t.level}:${i} ${t.message} ${e}`:t[j_]=`${t.level}:${i} ${t.message}`,t})});var M_=v((Sse,x_)=>{"use strict";var MK=require("util"),{SPLAT:T_}=ai(),EK=/%[scdjifoO%]/g,kK=/%%/g,kv=class{constructor(e){this.options=e}_splat(e,i){let n=e.message,a=e[T_]||e.splat||[],r=n.match(kK),s=r&&r.length||0,l=i.length-s-a.length,u=l<0?a.splice(l,-1*l):[],c=u.length;if(c)for(let p=0;p1?n.splice(0):n,s=r.length;if(s)for(let o=0;onew kv(t)});var k_=v((np,E_)=>{(function(t,e){typeof np=="object"&&typeof E_<"u"?e(np):typeof define=="function"&&define.amd?define(["exports"],e):e(t.fecha={})})(np,(function(t){"use strict";var e=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,i="\\d\\d?",n="\\d\\d",a="\\d{3}",r="\\d{4}",s="[^\\s]+",o=/\[([^]*?)\]/gm;function l(T,G){for(var Me=[],ri=0,R=T.length;ri-1?R:null}};function c(T){for(var G=[],Me=1;Me3?0:(T-T%10!==10?1:0)*T%10]}},f=c({},m),w=function(T){return f=c(f,T)},b=function(T){return T.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},A=function(T,G){for(G===void 0&&(G=2),T=String(T);T.length0?"-":"+")+A(Math.floor(Math.abs(G)/60)*100+Math.abs(G)%60,4)},Z:function(T){var G=T.getTimezoneOffset();return(G>0?"-":"+")+A(Math.floor(Math.abs(G)/60),2)+":"+A(Math.abs(G)%60,2)}},O=function(T){return+T-1},q=[null,i],W=[null,s],ie=["isPm",s,function(T,G){var Me=T.toLowerCase();return Me===G.amPm[0]?0:Me===G.amPm[1]?1:null}],K=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(T){var G=(T+"").match(/([+-]|\d\d)/gi);if(G){var Me=+G[1]*60+parseInt(G[2],10);return G[0]==="+"?Me:-Me}return 0}],M={D:["day",i],DD:["day",n],Do:["day",i+s,function(T){return parseInt(T,10)}],M:["month",i,O],MM:["month",n,O],YY:["year",n,function(T){var G=new Date,Me=+(""+G.getFullYear()).substr(0,2);return+(""+(+T>68?Me-1:Me)+T)}],h:["hour",i,void 0,"isPm"],hh:["hour",n,void 0,"isPm"],H:["hour",i],HH:["hour",n],m:["minute",i],mm:["minute",n],s:["second",i],ss:["second",n],YYYY:["year",r],S:["millisecond","\\d",function(T){return+T*100}],SS:["millisecond",n,function(T){return+T*10}],SSS:["millisecond",a],d:q,dd:q,ddd:W,dddd:W,MMM:["month",s,u("monthNamesShort")],MMMM:["month",s,u("monthNames")],a:ie,A:ie,ZZ:K,Z:K},X={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Pe=function(T){return c(X,T)},Oe=function(T,G,Me){if(G===void 0&&(G=X.default),Me===void 0&&(Me={}),typeof T=="number"&&(T=new Date(T)),Object.prototype.toString.call(T)!=="[object Date]"||isNaN(T.getTime()))throw new Error("Invalid Date pass to format");G=X[G]||G;var ri=[];G=G.replace(o,function(Ce,ke){return ri.push(ke),"@@@"});var R=c(c({},f),Me);return G=G.replace(e,function(Ce){return y[Ce](T,R)}),G.replace(/@@@/g,function(){return ri.shift()})};function ge(T,G,Me){if(Me===void 0&&(Me={}),typeof G!="string")throw new Error("Invalid format in fecha parse");if(G=X[G]||G,T.length>1e3)return null;var ri=new Date,R={year:ri.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},Ce=[],ke=[],xi=G.replace(o,function(J,Ue){return ke.push(b(Ue)),"@@@"}),Ni={},zn={};xi=b(xi).replace(e,function(J){var Ue=M[J],D=Ue[0],I=Ue[1],le=Ue[3];if(Ni[D])throw new Error("Invalid format. "+D+" specified twice in format");return Ni[D]=!0,le&&(zn[le]=!0),Ce.push(Ue),"("+I+")"}),Object.keys(zn).forEach(function(J){if(!Ni[J])throw new Error("Invalid format. "+J+" is required in specified format")}),xi=xi.replace(/@@@/g,function(){return ke.shift()});var oe=T.match(new RegExp(xi,"i"));if(!oe)return null;for(var si=c(c({},f),Me),pi=1;pi11||R.month<0||R.day>31||R.day<1||R.hour>23||R.hour<0||R.minute>59||R.minute<0||R.second>59||R.second<0)return null;return rn}var Ti={format:Oe,parse:ge,defaultI18n:m,setGlobalDateI18n:w,setGlobalDateMasks:Pe};t.assign=c,t.default=Ti,t.format=Oe,t.parse=ge,t.defaultI18n=m,t.setGlobalDateI18n=w,t.setGlobalDateMasks=Pe,Object.defineProperty(t,"__esModule",{value:!0})}))});var __=v((Ose,q_)=>{"use strict";var qK=k_(),_K=nn();q_.exports=_K((t,e={})=>(e.format&&(t.timestamp=typeof e.format=="function"?e.format():qK.format(new Date,e.format)),t.timestamp||(t.timestamp=new Date().toISOString()),e.alias&&(t[e.alias]=t.timestamp),t))});var I_=v((Tse,H_)=>{"use strict";var qv=gv(),HK=nn(),{MESSAGE:_v}=ai();H_.exports=HK((t,e)=>(e.level!==!1&&(t.level=qv.strip(t.level)),e.message!==!1&&(t.message=qv.strip(String(t.message))),e.raw!==!1&&t[_v]&&(t[_v]=qv.strip(String(t[_v]))),t))});var Iv=v(Hv=>{"use strict";var IK=Hv.format=nn();Hv.levels=Yq();function Si(t,e){Object.defineProperty(IK,t,{get(){return e()},configurable:!0})}Si("align",function(){return e_()});Si("errors",function(){return t_()});Si("cli",function(){return r_()});Si("combine",function(){return o_()});Si("colorize",function(){return Kc()});Si("json",function(){return Ev()});Si("label",function(){return h_()});Si("logstash",function(){return m_()});Si("metadata",function(){return w_()});Si("ms",function(){return C_()});Si("padLevels",function(){return Pv()});Si("prettyPrint",function(){return y_()});Si("printf",function(){return P_()});Si("simple",function(){return O_()});Si("splat",function(){return M_()});Si("timestamp",function(){return __()});Si("uncolorize",function(){return I_()})});var Rv=v(tp=>{"use strict";var{format:R_}=require("util");tp.warn={deprecated(t){return()=>{throw new Error(R_("{ %s } was removed in winston@3.0.0.",t))}},useFormat(t){return()=>{throw new Error([R_("{ %s } was removed in winston@3.0.0.",t),"Use a custom winston.format = winston.format(function) instead."].join(` +`))}},forFunctions(t,e,i){i.forEach(n=>{t[n]=tp.warn[e](n)})},forProperties(t,e,i){i.forEach(n=>{let a=tp.warn[e](n);Object.defineProperty(t,n,{get:a,set:a})})}}});var z_=v((Ese,RK)=>{RK.exports={name:"winston",description:"A logger for just about everything.",version:"3.19.0",author:"Charlie Robbins ",maintainers:["David Hyde "],repository:{type:"git",url:"https://github.com/winstonjs/winston.git"},keywords:["winston","logger","logging","logs","sysadmin","bunyan","pino","loglevel","tools","json","stream"],dependencies:{"@dabh/diagnostics":"^2.0.8","@colors/colors":"^1.6.0",async:"^3.2.3","is-stream":"^2.0.0",logform:"^2.7.0","one-time":"^1.0.0","readable-stream":"^3.4.0","safe-stable-stringify":"^2.3.1","stack-trace":"0.0.x","triple-beam":"^1.3.0","winston-transport":"^4.9.0"},devDependencies:{"@babel/cli":"^7.23.9","@babel/core":"^7.24.0","@babel/preset-env":"^7.24.0","@dabh/eslint-config-populist":"^4.4.0","@types/node":"^20.11.24","abstract-winston-transport":"^0.5.1",assume:"^2.2.0","cross-spawn-async":"^2.2.5",eslint:"^8.57.0",hock:"^1.4.1",jest:"^29.7.0",rimraf:"5.0.10",split2:"^4.1.0","std-mocks":"^2.0.0",through2:"^4.0.2","winston-compat":"^0.1.5"},main:"./lib/winston.js",browser:"./dist/winston",types:"./index.d.ts",scripts:{lint:"eslint lib/*.js lib/winston/*.js lib/winston/**/*.js --resolve-plugins-relative-to ./node_modules/@dabh/eslint-config-populist",test:"jest","test:unit":"jest -c test/jest.config.unit.js","test:integration":"jest -c test/jest.config.integration.js","test:typescript":"npx --package typescript tsc --project test",build:"babel lib -d dist",prebuild:"rimraf dist",prepublishOnly:"npm run build"},engines:{node:">= 12.0.0"},license:"MIT"}});var G_=v((kse,D_)=>{D_.exports=require("util").deprecate});var zv=v((qse,$_)=>{$_.exports=require("stream")});var Gv=v((_se,U_)=>{"use strict";function zK(t,e){var i=this,n=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return n||a?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(Dv,this,t)):process.nextTick(Dv,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(r){!e&&r?i._writableState?i._writableState.errorEmitted?process.nextTick(ap,i):(i._writableState.errorEmitted=!0,process.nextTick(N_,i,r)):process.nextTick(N_,i,r):e?(process.nextTick(ap,i),e(r)):process.nextTick(ap,i)}),this)}function N_(t,e){Dv(t,e),ap(t)}function ap(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function DK(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Dv(t,e){t.emit("error",e)}function GK(t,e){var i=t._readableState,n=t._writableState;i&&i.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}U_.exports={destroy:zK,undestroy:DK,errorOrDestroy:GK}});var Ut=v((Hse,B_)=>{"use strict";var L_={};function yn(t,e,i){i||(i=Error);function n(r,s,o){return typeof e=="string"?e:e(r,s,o)}class a extends i{constructor(s,o,l){super(n(s,o,l))}}a.prototype.name=i.name,a.prototype.code=t,L_[t]=a}function W_(t,e){if(Array.isArray(t)){let i=t.length;return t=t.map(n=>String(n)),i>2?`one of ${e} ${t.slice(0,i-1).join(", ")}, or `+t[i-1]:i===2?`one of ${e} ${t[0]} or ${t[1]}`:`of ${e} ${t[0]}`}else return`of ${e} ${String(t)}`}function $K(t,e,i){return t.substr(!i||i<0?0:+i,e.length)===e}function NK(t,e,i){return(i===void 0||i>t.length)&&(i=t.length),t.substring(i-e.length,i)===e}function UK(t,e,i){return typeof i!="number"&&(i=0),i+e.length>t.length?!1:t.indexOf(e,i)!==-1}yn("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);yn("ERR_INVALID_ARG_TYPE",function(t,e,i){let n;typeof e=="string"&&$K(e,"not ")?(n="must not be",e=e.replace(/^not /,"")):n="must be";let a;if(NK(t," argument"))a=`The ${t} ${n} ${W_(e,"type")}`;else{let r=UK(t,".")?"property":"argument";a=`The "${t}" ${r} ${n} ${W_(e,"type")}`}return a+=`. Received type ${typeof i}`,a},TypeError);yn("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");yn("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});yn("ERR_STREAM_PREMATURE_CLOSE","Premature close");yn("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});yn("ERR_MULTIPLE_CALLBACK","Callback called multiple times");yn("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");yn("ERR_STREAM_WRITE_AFTER_END","write after end");yn("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);yn("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);yn("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");B_.exports.codes=L_});var $v=v((Ise,F_)=>{"use strict";var WK=Ut().codes.ERR_INVALID_OPT_VALUE;function LK(t,e,i){return t.highWaterMark!=null?t.highWaterMark:e?t[i]:null}function BK(t,e,i,n){var a=LK(e,n,i);if(a!=null){if(!(isFinite(a)&&Math.floor(a)===a)||a<0){var r=n?i:"highWaterMark";throw new WK(r,a)}return Math.floor(a)}return t.objectMode?16:16*1024}F_.exports={getHighWaterMark:BK}});var V_=v((Rse,Nv)=>{typeof Object.create=="function"?Nv.exports=function(e,i){i&&(e.super_=i,e.prototype=Object.create(i.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Nv.exports=function(e,i){if(i){e.super_=i;var n=function(){};n.prototype=i.prototype,e.prototype=new n,e.prototype.constructor=e}}});var es=v((zse,Wv)=>{try{if(Uv=require("util"),typeof Uv.inherits!="function")throw"";Wv.exports=Uv.inherits}catch{Wv.exports=V_()}var Uv});var X_=v((Dse,Y_)=>{"use strict";function J_(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,n)}return i}function Z_(t){for(var e=1;e0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(i){var n={data:i,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(this.length!==0){var i=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,i}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(i){if(this.length===0)return"";for(var n=this.head,a=""+n.data;n=n.next;)a+=i+n.data;return a}},{key:"concat",value:function(i){if(this.length===0)return rp.alloc(0);for(var n=rp.allocUnsafe(i>>>0),a=this.head,r=0;a;)XK(a.data,n,r),r+=a.data.length,a=a.next;return n}},{key:"consume",value:function(i,n){var a;return is.length?s.length:i;if(o===s.length?r+=s:r+=s.slice(0,i),i-=o,i===0){o===s.length?(++a,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=s.slice(o));break}++a}return this.length-=a,r}},{key:"_getBuffer",value:function(i){var n=rp.allocUnsafe(i),a=this.head,r=1;for(a.data.copy(n),i-=a.data.length;a=a.next;){var s=a.data,o=i>s.length?s.length:i;if(s.copy(n,n.length-i,0,o),i-=o,i===0){o===s.length?(++r,a.next?this.head=a.next:this.head=this.tail=null):(this.head=a,a.data=s.slice(o));break}++r}return this.length-=r,n}},{key:YK,value:function(i,n){return Lv(this,Z_(Z_({},n),{},{depth:0,customInspect:!1}))}}]),t})()});var n2=v((Bv,i2)=>{var sp=require("buffer"),Jn=sp.Buffer;function e2(t,e){for(var i in t)e[i]=t[i]}Jn.from&&Jn.alloc&&Jn.allocUnsafe&&Jn.allocUnsafeSlow?i2.exports=sp:(e2(sp,Bv),Bv.Buffer=La);function La(t,e,i){return Jn(t,e,i)}La.prototype=Object.create(Jn.prototype);e2(Jn,La);La.from=function(t,e,i){if(typeof t=="number")throw new TypeError("Argument must not be a number");return Jn(t,e,i)};La.alloc=function(t,e,i){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=Jn(t);return e!==void 0?typeof i=="string"?n.fill(e,i):n.fill(e):n.fill(0),n};La.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Jn(t)};La.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return sp.SlowBuffer(t)}});var Jv=v(a2=>{"use strict";var Vv=n2().Buffer,t2=Vv.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function e5(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function i5(t){var e=e5(t);if(typeof e!="string"&&(Vv.isEncoding===t2||!t2(t)))throw new Error("Unknown encoding: "+t);return e||t}a2.StringDecoder=Yo;function Yo(t){this.encoding=i5(t);var e;switch(this.encoding){case"utf16le":this.text=o5,this.end=l5,e=4;break;case"utf8":this.fillLast=a5,e=4;break;case"base64":this.text=u5,this.end=c5,e=3;break;default:this.write=p5,this.end=d5;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Vv.allocUnsafe(e)}Yo.prototype.write=function(t){if(t.length===0)return"";var e,i;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function n5(t,e,i){var n=e.length-1;if(n=0?(a>0&&(t.lastNeed=a-1),a):--n=0?(a>0&&(t.lastNeed=a-2),a):--n=0?(a>0&&(a===2?a=0:t.lastNeed=a-3),a):0))}function t5(t,e,i){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function a5(t){var e=this.lastTotal-this.lastNeed,i=t5(this,t,e);if(i!==void 0)return i;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function r5(t,e){var i=n5(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=i;var n=t.length-(i-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function s5(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function o5(t,e){if((t.length-e)%2===0){var i=t.toString("utf16le",e);if(i){var n=i.charCodeAt(i.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function l5(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,i)}return e}function u5(t,e){var i=(t.length-e)%3;return i===0?t.toString("base64",e):(this.lastNeed=3-i,this.lastTotal=3,i===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-i))}function c5(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function p5(t){return t.toString(this.encoding)}function d5(t){return t&&t.length?this.write(t):""}});var op=v(($se,o2)=>{"use strict";var r2=Ut().codes.ERR_STREAM_PREMATURE_CLOSE;function h5(t){var e=!1;return function(){if(!e){e=!0;for(var i=arguments.length,n=new Array(i),a=0;a{"use strict";var lp;function Wt(t,e,i){return e=f5(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function f5(t){var e=w5(t,"string");return typeof e=="symbol"?e:String(e)}function w5(t,e){if(typeof t!="object"||t===null)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var n=i.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var v5=op(),Lt=Symbol("lastResolve"),Ba=Symbol("lastReject"),Xo=Symbol("error"),up=Symbol("ended"),Fa=Symbol("lastPromise"),Zv=Symbol("handlePromise"),Va=Symbol("stream");function Bt(t,e){return{value:t,done:e}}function C5(t){var e=t[Lt];if(e!==null){var i=t[Va].read();i!==null&&(t[Fa]=null,t[Lt]=null,t[Ba]=null,e(Bt(i,!1)))}}function A5(t){process.nextTick(C5,t)}function b5(t,e){return function(i,n){t.then(function(){if(e[up]){i(Bt(void 0,!0));return}e[Zv](i,n)},n)}}var y5=Object.getPrototypeOf(function(){}),P5=Object.setPrototypeOf((lp={get stream(){return this[Va]},next:function(){var e=this,i=this[Xo];if(i!==null)return Promise.reject(i);if(this[up])return Promise.resolve(Bt(void 0,!0));if(this[Va].destroyed)return new Promise(function(s,o){process.nextTick(function(){e[Xo]?o(e[Xo]):s(Bt(void 0,!0))})});var n=this[Fa],a;if(n)a=new Promise(b5(n,this));else{var r=this[Va].read();if(r!==null)return Promise.resolve(Bt(r,!1));a=new Promise(this[Zv])}return this[Fa]=a,a}},Wt(lp,Symbol.asyncIterator,function(){return this}),Wt(lp,"return",function(){var e=this;return new Promise(function(i,n){e[Va].destroy(null,function(a){if(a){n(a);return}i(Bt(void 0,!0))})})}),lp),y5),j5=function(e){var i,n=Object.create(P5,(i={},Wt(i,Va,{value:e,writable:!0}),Wt(i,Lt,{value:null,writable:!0}),Wt(i,Ba,{value:null,writable:!0}),Wt(i,Xo,{value:null,writable:!0}),Wt(i,up,{value:e._readableState.endEmitted,writable:!0}),Wt(i,Zv,{value:function(r,s){var o=n[Va].read();o?(n[Fa]=null,n[Lt]=null,n[Ba]=null,r(Bt(o,!1))):(n[Lt]=r,n[Ba]=s)},writable:!0}),i));return n[Fa]=null,v5(e,function(a){if(a&&a.code!=="ERR_STREAM_PREMATURE_CLOSE"){var r=n[Ba];r!==null&&(n[Fa]=null,n[Lt]=null,n[Ba]=null,r(a)),n[Xo]=a;return}var s=n[Lt];s!==null&&(n[Fa]=null,n[Lt]=null,n[Ba]=null,s(Bt(void 0,!0))),n[up]=!0}),e.on("readable",A5.bind(null,n)),n};l2.exports=j5});var h2=v((Use,d2)=>{"use strict";function c2(t,e,i,n,a,r,s){try{var o=t[r](s),l=o.value}catch(u){i(u);return}o.done?e(l):Promise.resolve(l).then(n,a)}function S5(t){return function(){var e=this,i=arguments;return new Promise(function(n,a){var r=t.apply(e,i);function s(l){c2(r,n,a,s,o,"next",l)}function o(l){c2(r,n,a,s,o,"throw",l)}s(void 0)})}}function p2(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,n)}return i}function O5(t){for(var e=1;e{"use strict";P2.exports=Se;var is;Se.ReadableState=w2;var Wse=require("events").EventEmitter,f2=function(e,i){return e.listeners(i).length},il=zv(),cp=require("buffer").Buffer,q5=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _5(t){return cp.from(t)}function H5(t){return cp.isBuffer(t)||t instanceof q5}var Kv=require("util"),ce;Kv&&Kv.debuglog?ce=Kv.debuglog("stream"):ce=function(){};var I5=X_(),tC=Gv(),R5=$v(),z5=R5.getHighWaterMark,pp=Ut().codes,D5=pp.ERR_INVALID_ARG_TYPE,G5=pp.ERR_STREAM_PUSH_AFTER_EOF,$5=pp.ERR_METHOD_NOT_IMPLEMENTED,N5=pp.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ns,Qv,Yv;es()(Se,il);var el=tC.errorOrDestroy,Xv=["error","close","destroy","pause","resume"];function U5(t,e,i){if(typeof t.prependListener=="function")return t.prependListener(e,i);!t._events||!t._events[e]?t.on(e,i):Array.isArray(t._events[e])?t._events[e].unshift(i):t._events[e]=[i,t._events[e]]}function w2(t,e,i){is=is||Ja(),t=t||{},typeof i!="boolean"&&(i=e instanceof is),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=z5(this,t,"readableHighWaterMark",i),this.buffer=new I5,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(ns||(ns=Jv().StringDecoder),this.decoder=new ns(t.encoding),this.encoding=t.encoding)}function Se(t){if(is=is||Ja(),!(this instanceof Se))return new Se(t);var e=this instanceof is;this._readableState=new w2(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),il.call(this)}Object.defineProperty(Se.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});Se.prototype.destroy=tC.destroy;Se.prototype._undestroy=tC.undestroy;Se.prototype._destroy=function(t,e){e(t)};Se.prototype.push=function(t,e){var i=this._readableState,n;return i.objectMode?n=!0:typeof t=="string"&&(e=e||i.defaultEncoding,e!==i.encoding&&(t=cp.from(t,e),e=""),n=!0),v2(this,t,e,!1,n)};Se.prototype.unshift=function(t){return v2(this,t,null,!0,!1)};function v2(t,e,i,n,a){ce("readableAddChunk",e);var r=t._readableState;if(e===null)r.reading=!1,B5(t,r);else{var s;if(a||(s=W5(r,e)),s)el(t,s);else if(r.objectMode||e&&e.length>0)if(typeof e!="string"&&!r.objectMode&&Object.getPrototypeOf(e)!==cp.prototype&&(e=_5(e)),n)r.endEmitted?el(t,new N5):eC(t,r,e,!0);else if(r.ended)el(t,new G5);else{if(r.destroyed)return!1;r.reading=!1,r.decoder&&!i?(e=r.decoder.write(e),r.objectMode||e.length!==0?eC(t,r,e,!1):nC(t,r)):eC(t,r,e,!1)}else n||(r.reading=!1,nC(t,r))}return!r.ended&&(r.length=g2?t=g2:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function m2(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=L5(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}Se.prototype.read=function(t){ce("read",t),t=parseInt(t,10);var e=this._readableState,i=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return ce("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?iC(this):dp(this),null;if(t=m2(t,e),t===0&&e.ended)return e.length===0&&iC(this),null;var n=e.needReadable;ce("need readable",n),(e.length===0||e.length-t0?a=b2(t,e):a=null,a===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=!0),i!==t&&e.ended&&iC(this)),a!==null&&this.emit("data",a),a};function B5(t,e){if(ce("onEofChunk"),!e.ended){if(e.decoder){var i=e.decoder.end();i&&i.length&&(e.buffer.push(i),e.length+=e.objectMode?1:i.length)}e.ended=!0,e.sync?dp(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,C2(t)))}}function dp(t){var e=t._readableState;ce("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(ce("emitReadable",e.flowing),e.emittedReadable=!0,process.nextTick(C2,t))}function C2(t){var e=t._readableState;ce("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,aC(t)}function nC(t,e){e.readingMore||(e.readingMore=!0,process.nextTick(F5,t,e))}function F5(t,e){for(;!e.reading&&!e.ended&&(e.length1&&y2(n.pipes,t)!==-1)&&!u&&(ce("false write response, pause",n.awaitDrain),n.awaitDrain++),i.pause())}function d(f){ce("onerror",f),m(),t.removeListener("error",d),f2(t,"error")===0&&el(t,f)}U5(t,"error",d);function h(){t.removeListener("finish",g),m()}t.once("close",h);function g(){ce("onfinish"),t.removeListener("close",h),m()}t.once("finish",g);function m(){ce("unpipe"),i.unpipe(t)}return t.emit("pipe",i),n.flowing||(ce("pipe resume"),i.resume()),t};function V5(t){return function(){var i=t._readableState;ce("pipeOnDrain",i.awaitDrain),i.awaitDrain&&i.awaitDrain--,i.awaitDrain===0&&f2(t,"data")&&(i.flowing=!0,aC(t))}}Se.prototype.unpipe=function(t){var e=this._readableState,i={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,i),this);if(!t){var n=e.pipes,a=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var r=0;r0,n.flowing!==!1&&this.resume()):t==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,ce("on readable",n.length,n.reading),n.length?dp(this):n.reading||process.nextTick(J5,this)),i};Se.prototype.addListener=Se.prototype.on;Se.prototype.removeListener=function(t,e){var i=il.prototype.removeListener.call(this,t,e);return t==="readable"&&process.nextTick(A2,this),i};Se.prototype.removeAllListeners=function(t){var e=il.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&process.nextTick(A2,this),e};function A2(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function J5(t){ce("readable nexttick read 0"),t.read(0)}Se.prototype.resume=function(){var t=this._readableState;return t.flowing||(ce("resume"),t.flowing=!t.readableListening,Z5(this,t)),t.paused=!1,this};function Z5(t,e){e.resumeScheduled||(e.resumeScheduled=!0,process.nextTick(K5,t,e))}function K5(t,e){ce("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),aC(t),e.flowing&&!e.reading&&t.read(0)}Se.prototype.pause=function(){return ce("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ce("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function aC(t){var e=t._readableState;for(ce("flow",e.flowing);e.flowing&&t.read()!==null;);}Se.prototype.wrap=function(t){var e=this,i=this._readableState,n=!1;t.on("end",function(){if(ce("wrapped end"),i.decoder&&!i.ended){var s=i.decoder.end();s&&s.length&&e.push(s)}e.push(null)}),t.on("data",function(s){if(ce("wrapped data"),i.decoder&&(s=i.decoder.write(s)),!(i.objectMode&&s==null)&&!(!i.objectMode&&(!s||!s.length))){var o=e.push(s);o||(n=!0,t.pause())}});for(var a in t)this[a]===void 0&&typeof t[a]=="function"&&(this[a]=(function(o){return function(){return t[o].apply(t,arguments)}})(a));for(var r=0;r=e.length?(e.decoder?i=e.buffer.join(""):e.buffer.length===1?i=e.buffer.first():i=e.buffer.concat(e.length),e.buffer.clear()):i=e.buffer.consume(t,e.decoder),i}function iC(t){var e=t._readableState;ce("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,process.nextTick(Q5,e,t))}function Q5(t,e){if(ce("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var i=e._writableState;(!i||i.autoDestroy&&i.finished)&&e.destroy()}}typeof Symbol=="function"&&(Se.from=function(t,e){return Yv===void 0&&(Yv=h2()),Yv(Se,t,e)});function y2(t,e){for(var i=0,n=t.length;i{"use strict";var Y5=Object.keys||function(t){var e=[];for(var i in t)e.push(i);return e};S2.exports=Zn;var j2=rC(),oC=mp();es()(Zn,j2);for(sC=Y5(oC.prototype),hp=0;hp{"use strict";k2.exports=Ye;function T2(t){var e=this;this.next=null,this.entry=null,this.finish=function(){T9(e,t)}}var ts;Ye.WritableState=tl;var i9={deprecate:G_()},x2=zv(),wp=require("buffer").Buffer,n9=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function t9(t){return wp.from(t)}function a9(t){return wp.isBuffer(t)||t instanceof n9}var uC=Gv(),r9=$v(),s9=r9.getHighWaterMark,Ft=Ut().codes,o9=Ft.ERR_INVALID_ARG_TYPE,l9=Ft.ERR_METHOD_NOT_IMPLEMENTED,u9=Ft.ERR_MULTIPLE_CALLBACK,c9=Ft.ERR_STREAM_CANNOT_PIPE,p9=Ft.ERR_STREAM_DESTROYED,d9=Ft.ERR_STREAM_NULL_VALUES,h9=Ft.ERR_STREAM_WRITE_AFTER_END,g9=Ft.ERR_UNKNOWN_ENCODING,as=uC.errorOrDestroy;es()(Ye,x2);function m9(){}function tl(t,e,i){ts=ts||Ja(),t=t||{},typeof i!="boolean"&&(i=e instanceof ts),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=s9(this,t,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=t.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){y9(e,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new T2(this)}tl.prototype.getBuffer=function(){for(var e=this.bufferedRequest,i=[];e;)i.push(e),e=e.next;return i};(function(){try{Object.defineProperty(tl.prototype,"buffer",{get:i9.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var fp;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(fp=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ye,Symbol.hasInstance,{value:function(e){return fp.call(this,e)?!0:this!==Ye?!1:e&&e._writableState instanceof tl}})):fp=function(e){return e instanceof this};function Ye(t){ts=ts||Ja();var e=this instanceof ts;if(!e&&!fp.call(Ye,this))return new Ye(t);this._writableState=new tl(t,this,e),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),x2.call(this)}Ye.prototype.pipe=function(){as(this,new c9)};function f9(t,e){var i=new h9;as(t,i),process.nextTick(e,i)}function w9(t,e,i,n){var a;return i===null?a=new d9:typeof i!="string"&&!e.objectMode&&(a=new o9("chunk",["string","Buffer"],i)),a?(as(t,a),process.nextTick(n,a),!1):!0}Ye.prototype.write=function(t,e,i){var n=this._writableState,a=!1,r=!n.objectMode&&a9(t);return r&&!wp.isBuffer(t)&&(t=t9(t)),typeof e=="function"&&(i=e,e=null),r?e="buffer":e||(e=n.defaultEncoding),typeof i!="function"&&(i=m9),n.ending?f9(this,i):(r||w9(this,n,t,i))&&(n.pendingcb++,a=C9(this,n,r,t,e,i)),a};Ye.prototype.cork=function(){this._writableState.corked++};Ye.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&M2(this,t))};Ye.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new g9(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(Ye.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function v9(t,e,i){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=wp.from(e,i)),e}Object.defineProperty(Ye.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function C9(t,e,i,n,a,r){if(!i){var s=v9(e,n,a);n!==s&&(i=!0,a="buffer",n=s)}var o=e.objectMode?1:n.length;e.length+=o;var l=e.length{"use strict";var x9=require("util"),q2=mp(),{LEVEL:_2}=ai(),al=H2.exports=function(e={}){q2.call(this,{objectMode:!0,highWaterMark:e.highWaterMark}),this.format=e.format,this.level=e.level,this.handleExceptions=e.handleExceptions,this.handleRejections=e.handleRejections,this.silent=e.silent,e.log&&(this.log=e.log),e.logv&&(this.logv=e.logv),e.close&&(this.close=e.close),this.once("pipe",i=>{this.levels=i.levels,this.parent=i}),this.once("unpipe",i=>{i===this.parent&&(this.parent=null,this.close&&this.close())})};x9.inherits(al,q2);al.prototype._write=function(e,i,n){if(this.silent||e.exception===!0&&!this.handleExceptions)return n(null);let a=this.level||this.parent&&this.parent.level;if(!a||this.levels[a]>=this.levels[e[_2]]){if(e&&!this.format)return this.log(e,n);let r,s;try{s=this.format.transform(Object.assign({},e),this.format.options)}catch(o){r=o}if(r||!s){if(n(),r)throw r;return}return this.log(s,n)}return this._writableState.sync=!1,n(null)};al.prototype._writev=function(e,i){if(this.logv){let n=e.filter(this._accept,this);return n.length?this.logv(n,i):i(null)}for(let n=0;n=this.levels[i[_2]])&&(this.handleExceptions||i.exception!==!0))};al.prototype._nop=function(){}});var dC=v((Jse,R2)=>{"use strict";var M9=require("util"),{LEVEL:pC}=ai(),I2=cC(),rl=R2.exports=function(e={}){if(I2.call(this,e),!e.transport||typeof e.transport.log!="function")throw new Error("Invalid transport, must be an object with a log method.");this.transport=e.transport,this.level=this.level||e.transport.level,this.handleExceptions=this.handleExceptions||e.transport.handleExceptions,this._deprecated();function i(n){this.emit("error",n,this.transport)}this.transport.__winstonError||(this.transport.__winstonError=i.bind(this),this.transport.on("error",this.transport.__winstonError))};M9.inherits(rl,I2);rl.prototype._write=function(e,i,n){if(this.silent||e.exception===!0&&!this.handleExceptions)return n(null);(!this.level||this.levels[this.level]>=this.levels[e[pC]])&&this.transport.log(e[pC],e.message,e,this._nop),n(null)};rl.prototype._writev=function(e,i){for(let n=0;n{"use strict";hC.exports=cC();hC.exports.LegacyTransportStream=dC()});var G2=v((Qse,D2)=>{"use strict";var E9=require("os"),{LEVEL:z2,MESSAGE:ss}=ai(),k9=rs();D2.exports=class extends k9{constructor(e={}){super(e),this.name=e.name||"console",this.stderrLevels=this._stringArrayToSet(e.stderrLevels),this.consoleWarnLevels=this._stringArrayToSet(e.consoleWarnLevels),this.eol=typeof e.eol=="string"?e.eol:E9.EOL,this.forceConsole=e.forceConsole||!1,this._consoleLog=console.log.bind(console),this._consoleWarn=console.warn.bind(console),this._consoleError=console.error.bind(console),this.setMaxListeners(30)}log(e,i){if(setImmediate(()=>this.emit("logged",e)),this.stderrLevels[e[z2]]){console._stderr&&!this.forceConsole?console._stderr.write(`${e[ss]}${this.eol}`):this._consoleError(e[ss]),i&&i();return}else if(this.consoleWarnLevels[e[z2]]){console._stderr&&!this.forceConsole?console._stderr.write(`${e[ss]}${this.eol}`):this._consoleWarn(e[ss]),i&&i();return}console._stdout&&!this.forceConsole?console._stdout.write(`${e[ss]}${this.eol}`):this._consoleLog(e[ss]),i&&i()}_stringArrayToSet(e,i){if(!e)return{};if(i=i||"Cannot make set from type other than Array of string elements",!Array.isArray(e))throw new Error(i);return e.reduce((n,a)=>{if(typeof a!="string")throw new Error(i);return n[a]=!0,n},{})}}});var Cp=v((vp,$2)=>{"use strict";Object.defineProperty(vp,"__esModule",{value:!0});vp.default=q9;function q9(t){return t&&typeof t.length=="number"&&t.length>=0&&t.length%1===0}$2.exports=vp.default});var U2=v((Ap,N2)=>{"use strict";Object.defineProperty(Ap,"__esModule",{value:!0});Ap.default=function(t){return function(...e){var i=e.pop();return t.call(this,e,i)}};N2.exports=Ap.default});var B2=v(Vt=>{"use strict";Object.defineProperty(Vt,"__esModule",{value:!0});Vt.fallback=W2;Vt.wrap=L2;var _9=Vt.hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,H9=Vt.hasSetImmediate=typeof setImmediate=="function"&&setImmediate,I9=Vt.hasNextTick=typeof process=="object"&&typeof process.nextTick=="function";function W2(t){setTimeout(t,0)}function L2(t){return(e,...i)=>t(()=>e(...i))}var sl;_9?sl=queueMicrotask:H9?sl=setImmediate:I9?sl=process.nextTick:sl=W2;Vt.default=L2(sl)});var K2=v((bp,Z2)=>{"use strict";Object.defineProperty(bp,"__esModule",{value:!0});bp.default=N9;var R9=U2(),z9=J2(R9),D9=B2(),G9=J2(D9),$9=Za();function J2(t){return t&&t.__esModule?t:{default:t}}function N9(t){return(0,$9.isAsync)(t)?function(...e){let i=e.pop(),n=t.apply(this,e);return F2(n,i)}:(0,z9.default)(function(e,i){var n;try{n=t.apply(this,e)}catch(a){return i(a)}if(n&&typeof n.then=="function")return F2(n,i);i(null,n)})}function F2(t,e){return t.then(i=>{V2(e,null,i)},i=>{V2(e,i&&(i instanceof Error||i.message)?i:new Error(i))})}function V2(t,e,i){try{t(e,i)}catch(n){(0,G9.default)(a=>{throw a},n)}}Z2.exports=bp.default});var Za=v(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.isAsyncIterable=mt.isAsyncGenerator=mt.isAsync=void 0;var U9=K2(),W9=L9(U9);function L9(t){return t&&t.__esModule?t:{default:t}}function Q2(t){return t[Symbol.toStringTag]==="AsyncFunction"}function B9(t){return t[Symbol.toStringTag]==="AsyncGenerator"}function F9(t){return typeof t[Symbol.asyncIterator]=="function"}function V9(t){if(typeof t!="function")throw new Error("expected a function");return Q2(t)?(0,W9.default)(t):t}mt.default=V9;mt.isAsync=Q2;mt.isAsyncGenerator=B9;mt.isAsyncIterable=F9});var os=v((yp,Y2)=>{"use strict";Object.defineProperty(yp,"__esModule",{value:!0});yp.default=J9;function J9(t,e){if(e||(e=t.length),!e)throw new Error("arity is undefined");function i(...n){return typeof n[e-1]=="function"?t.apply(this,n):new Promise((a,r)=>{n[e-1]=(s,...o)=>{if(s)return r(s);a(o.length>1?o:o[0])},t.apply(this,n)})}return i}Y2.exports=yp.default});var eH=v((Pp,X2)=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});var Z9=Cp(),K9=gC(Z9),Q9=Za(),Y9=gC(Q9),X9=os(),e6=gC(X9);function gC(t){return t&&t.__esModule?t:{default:t}}Pp.default=(0,e6.default)((t,e,i)=>{var n=(0,K9.default)(e)?[]:{};t(e,(a,r,s)=>{(0,Y9.default)(a)((o,...l)=>{l.length<2&&([l]=l),n[r]=l,s(o)})},a=>i(a,n))},3);X2.exports=Pp.default});var mC=v((jp,iH)=>{"use strict";Object.defineProperty(jp,"__esModule",{value:!0});jp.default=i6;function i6(t){function e(...i){if(t!==null){var n=t;t=null,n.apply(this,i)}}return Object.assign(e,t),e}iH.exports=jp.default});var tH=v((Sp,nH)=>{"use strict";Object.defineProperty(Sp,"__esModule",{value:!0});Sp.default=function(t){return t[Symbol.iterator]&&t[Symbol.iterator]()};nH.exports=Sp.default});var sH=v((Op,rH)=>{"use strict";Object.defineProperty(Op,"__esModule",{value:!0});Op.default=u6;var n6=Cp(),t6=aH(n6),a6=tH(),r6=aH(a6);function aH(t){return t&&t.__esModule?t:{default:t}}function s6(t){var e=-1,i=t.length;return function(){return++e{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.default=c6;function c6(t){return function(...e){if(t===null)throw new Error("Callback was already called.");var i=t;t=null,i.apply(this,e)}}oH.exports=Tp.default});var Mp=v((xp,lH)=>{"use strict";Object.defineProperty(xp,"__esModule",{value:!0});var p6={};xp.default=p6;lH.exports=xp.default});var cH=v((Ep,uH)=>{"use strict";Object.defineProperty(Ep,"__esModule",{value:!0});Ep.default=m6;var d6=Mp(),h6=g6(d6);function g6(t){return t&&t.__esModule?t:{default:t}}function m6(t,e,i,n){let a=!1,r=!1,s=!1,o=0,l=0;function u(){o>=e||s||a||(s=!0,t.next().then(({value:d,done:h})=>{if(!(r||a)){if(s=!1,h){a=!0,o<=0&&n(null);return}o++,i(d,l,c),l++,u()}}).catch(p))}function c(d,h){if(o-=1,!r){if(d)return p(d);if(d===!1){a=!0,r=!0;return}if(h===h6.default||a&&o<=0)return a=!0,n(null);u()}}function p(d){r||(s=!1,a=!0,n(d))}u()}uH.exports=Ep.default});var gH=v((kp,hH)=>{"use strict";Object.defineProperty(kp,"__esModule",{value:!0});var f6=mC(),w6=ol(f6),v6=sH(),C6=ol(v6),A6=fC(),b6=ol(A6),pH=Za(),y6=cH(),dH=ol(y6),P6=Mp(),j6=ol(P6);function ol(t){return t&&t.__esModule?t:{default:t}}kp.default=t=>(e,i,n)=>{if(n=(0,w6.default)(n),t<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!e)return n(null);if((0,pH.isAsyncGenerator)(e))return(0,dH.default)(e,t,i,n);if((0,pH.isAsyncIterable)(e))return(0,dH.default)(e[Symbol.asyncIterator](),t,i,n);var a=(0,C6.default)(e),r=!1,s=!1,o=0,l=!1;function u(p,d){if(!s)if(o-=1,p)r=!0,n(p);else if(p===!1)r=!0,s=!0;else{if(d===j6.default||r&&o<=0)return r=!0,n(null);l||c()}}function c(){for(l=!0;o{"use strict";Object.defineProperty(qp,"__esModule",{value:!0});var S6=gH(),O6=wC(S6),T6=Za(),x6=wC(T6),M6=os(),E6=wC(M6);function wC(t){return t&&t.__esModule?t:{default:t}}function k6(t,e,i,n){return(0,O6.default)(e)(t,(0,x6.default)(i),n)}qp.default=(0,E6.default)(k6,4);mH.exports=qp.default});var vH=v((_p,wH)=>{"use strict";Object.defineProperty(_p,"__esModule",{value:!0});var q6=vC(),_6=fH(q6),H6=os(),I6=fH(H6);function fH(t){return t&&t.__esModule?t:{default:t}}function R6(t,e,i){return(0,_6.default)(t,1,e,i)}_p.default=(0,I6.default)(R6,3);wH.exports=_p.default});var bH=v((Hp,AH)=>{"use strict";Object.defineProperty(Hp,"__esModule",{value:!0});Hp.default=N6;var z6=eH(),D6=CH(z6),G6=vH(),$6=CH(G6);function CH(t){return t&&t.__esModule?t:{default:t}}function N6(t,e){return(0,D6.default)($6.default,t,e)}AH.exports=Hp.default});var CC=v((eoe,PH)=>{"use strict";PH.exports=ft;var Ip=Ut().codes,U6=Ip.ERR_METHOD_NOT_IMPLEMENTED,W6=Ip.ERR_MULTIPLE_CALLBACK,L6=Ip.ERR_TRANSFORM_ALREADY_TRANSFORMING,B6=Ip.ERR_TRANSFORM_WITH_LENGTH_0,Rp=Ja();es()(ft,Rp);function F6(t,e){var i=this._transformState;i.transforming=!1;var n=i.writecb;if(n===null)return this.emit("error",new W6);i.writechunk=null,i.writecb=null,e!=null&&this.push(e),n(t);var a=this._readableState;a.reading=!1,(a.needReadable||a.length{"use strict";SH.exports=ll;var jH=CC();es()(ll,jH);function ll(t){if(!(this instanceof ll))return new ll(t);jH.call(this,t)}ll.prototype._transform=function(t,e,i){i(null,t)}});var kH=v((noe,EH)=>{"use strict";var AC;function J6(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var MH=Ut().codes,Z6=MH.ERR_MISSING_ARGS,K6=MH.ERR_STREAM_DESTROYED;function TH(t){if(t)throw t}function Q6(t){return t.setHeader&&typeof t.abort=="function"}function Y6(t,e,i,n){n=J6(n);var a=!1;t.on("close",function(){a=!0}),AC===void 0&&(AC=op()),AC(t,{readable:e,writable:i},function(s){if(s)return n(s);a=!0,n()});var r=!1;return function(s){if(!a&&!r){if(r=!0,Q6(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();n(s||new K6("pipe"))}}}function xH(t){t()}function X6(t,e){return t.pipe(e)}function eQ(t){return!t.length||typeof t[t.length-1]!="function"?TH:t.pop()}function iQ(){for(var t=arguments.length,e=new Array(t),i=0;i0;return Y6(s,l,u,function(c){a||(a=c),c&&r.forEach(xH),!l&&(r.forEach(xH),n(a))})});return e.reduce(X6)}EH.exports=iQ});var Ka=v((Pn,cl)=>{var ul=require("stream");process.env.READABLE_STREAM==="disable"&&ul?(cl.exports=ul.Readable,Object.assign(cl.exports,ul),cl.exports.Stream=ul):(Pn=cl.exports=rC(),Pn.Stream=ul||Pn,Pn.Readable=Pn,Pn.Writable=mp(),Pn.Duplex=Ja(),Pn.Transform=CC(),Pn.PassThrough=OH(),Pn.finished=op(),Pn.pipeline=kH())});var TC=v((toe,_H)=>{var ls=[],pl=[],bC=function(){};function PC(t){return~ls.indexOf(t)?!1:(ls.push(t),!0)}function jC(t){bC=t}function nQ(t){for(var e=[],i=0;i{var rQ=TC(),sQ=rQ(function t(e,i){return i=i||{},i.namespace=e,i.prod=!0,i.dev=!1,i.force||t.force?t.yep(i):t.nope(i)});HH.exports=sQ});var NH=v((roe,$H)=>{"use strict";var Kn={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},zH=Object.create(null);for(let t in Kn)Object.hasOwn(Kn,t)&&(zH[Kn[t]]=t);var ci={to:{},get:{}};ci.get=function(t){let e=t.slice(0,3).toLowerCase(),i,n;switch(e){case"hsl":{i=ci.get.hsl(t),n="hsl";break}case"hwb":{i=ci.get.hwb(t),n="hwb";break}default:{i=ci.get.rgb(t),n="rgb";break}}return i?{model:n,value:i}:null};ci.get.rgb=function(t){if(!t)return null;let e=/^#([a-f\d]{3,4})$/i,i=/^#([a-f\d]{6})([a-f\d]{2})?$/i,n=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,a=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,r=/^(\w+)$/,s=[0,0,0,1],o,l,u;if(o=t.match(i)){for(u=o[2],o=o[1],l=0;l<3;l++){let c=l*2;s[l]=Number.parseInt(o.slice(c,c+2),16)}u&&(s[3]=Number.parseInt(u,16)/255)}else if(o=t.match(e)){for(o=o[1],u=o[3],l=0;l<3;l++)s[l]=Number.parseInt(o[l]+o[l],16);u&&(s[3]=Number.parseInt(u+u,16)/255)}else if(o=t.match(n)){for(l=0;l<3;l++)s[l]=Number.parseInt(o[l+1],10);o[4]&&(s[3]=o[5]?Number.parseFloat(o[4])*.01:Number.parseFloat(o[4]))}else if(o=t.match(a)){for(l=0;l<3;l++)s[l]=Math.round(Number.parseFloat(o[l+1])*2.55);o[4]&&(s[3]=o[5]?Number.parseFloat(o[4])*.01:Number.parseFloat(o[4]))}else return(o=t.match(r))?o[1]==="transparent"?[0,0,0,0]:Object.hasOwn(Kn,o[1])?(s=Kn[o[1]],s[3]=1,s):null:null;for(l=0;l<3;l++)s[l]=Jt(s[l],0,255);return s[3]=Jt(s[3],0,1),s};ci.get.hsl=function(t){if(!t)return null;let e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,i=t.match(e);if(i){let n=Number.parseFloat(i[4]),a=(Number.parseFloat(i[1])%360+360)%360,r=Jt(Number.parseFloat(i[2]),0,100),s=Jt(Number.parseFloat(i[3]),0,100),o=Jt(Number.isNaN(n)?1:n,0,1);return[a,r,s,o]}return null};ci.get.hwb=function(t){if(!t)return null;let e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,i=t.match(e);if(i){let n=Number.parseFloat(i[4]),a=(Number.parseFloat(i[1])%360+360)%360,r=Jt(Number.parseFloat(i[2]),0,100),s=Jt(Number.parseFloat(i[3]),0,100),o=Jt(Number.isNaN(n)?1:n,0,1);return[a,r,s,o]}return null};ci.to.hex=function(...t){return"#"+zp(t[0])+zp(t[1])+zp(t[2])+(t[3]<1?zp(Math.round(t[3]*255)):"")};ci.to.rgb=function(...t){return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};ci.to.rgb.percent=function(...t){let e=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),n=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+i+"%, "+n+"%)":"rgba("+e+"%, "+i+"%, "+n+"%, "+t[3]+")"};ci.to.hsl=function(...t){return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};ci.to.hwb=function(...t){let e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};ci.to.keyword=function(...t){return zH[t.slice(0,3)]};function Jt(t,e,i){return Math.min(Math.max(e,t),i)}function zp(t){let e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}var DH={};for(let t of Object.keys(Kn))DH[Kn[t]]=t;var H={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},wt=(6/29)**3;function us(t){let e=t>.0031308?1.055*t**.4166666666666667-.055:t*12.92;return Math.min(Math.max(0,e),1)}function cs(t){return t>.04045?((t+.055)/1.055)**2.4:t/12.92}for(let t of Object.keys(H)){if(!("channels"in H[t]))throw new Error("missing channels property: "+t);if(!("labels"in H[t]))throw new Error("missing channel labels property: "+t);if(H[t].labels.length!==H[t].channels)throw new Error("channel and label counts mismatch: "+t);let{channels:e,labels:i}=H[t];delete H[t].channels,delete H[t].labels,Object.defineProperty(H[t],"channels",{value:e}),Object.defineProperty(H[t],"labels",{value:i})}H.rgb.hsl=function(t){let e=t[0]/255,i=t[1]/255,n=t[2]/255,a=Math.min(e,i,n),r=Math.max(e,i,n),s=r-a,o,l;switch(r){case a:{o=0;break}case e:{o=(i-n)/s;break}case i:{o=2+(n-e)/s;break}case n:{o=4+(e-i)/s;break}}o=Math.min(o*60,360),o<0&&(o+=360);let u=(a+r)/2;return r===a?l=0:u<=.5?l=s/(r+a):l=s/(2-r-a),[o,l*100,u*100]};H.rgb.hsv=function(t){let e,i,n,a,r,s=t[0]/255,o=t[1]/255,l=t[2]/255,u=Math.max(s,o,l),c=u-Math.min(s,o,l),p=function(d){return(u-d)/6/c+1/2};if(c===0)a=0,r=0;else{switch(r=c/u,e=p(s),i=p(o),n=p(l),u){case s:{a=n-i;break}case o:{a=1/3+e-n;break}case l:{a=2/3+i-e;break}}a<0?a+=1:a>1&&(a-=1)}return[a*360,r*100,u*100]};H.rgb.hwb=function(t){let e=t[0],i=t[1],n=t[2],a=H.rgb.hsl(t)[0],r=1/255*Math.min(e,Math.min(i,n));return n=1-1/255*Math.max(e,Math.max(i,n)),[a,r*100,n*100]};H.rgb.oklab=function(t){let e=cs(t[0]/255),i=cs(t[1]/255),n=cs(t[2]/255),a=Math.cbrt(.4122214708*e+.5363325363*i+.0514459929*n),r=Math.cbrt(.2119034982*e+.6806995451*i+.1073969566*n),s=Math.cbrt(.0883024619*e+.2817188376*i+.6299787005*n),o=.2104542553*a+.793617785*r-.0040720468*s,l=1.9779984951*a-2.428592205*r+.4505937099*s,u=.0259040371*a+.7827717662*r-.808675766*s;return[o*100,l*100,u*100]};H.rgb.cmyk=function(t){let e=t[0]/255,i=t[1]/255,n=t[2]/255,a=Math.min(1-e,1-i,1-n),r=(1-e-a)/(1-a)||0,s=(1-i-a)/(1-a)||0,o=(1-n-a)/(1-a)||0;return[r*100,s*100,o*100,a*100]};function oQ(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}H.rgb.keyword=function(t){let e=DH[t];if(e)return e;let i=Number.POSITIVE_INFINITY,n;for(let a of Object.keys(Kn)){let r=Kn[a],s=oQ(t,r);swt?i**(1/3):7.787*i+16/116,n=n>wt?n**(1/3):7.787*n+16/116,a=a>wt?a**(1/3):7.787*a+16/116;let r=116*n-16,s=500*(i-n),o=200*(n-a);return[r,s,o]};H.hsl.rgb=function(t){let e=t[0]/360,i=t[1]/100,n=t[2]/100,a,r;if(i===0)return r=n*255,[r,r,r];let s=n<.5?n*(1+i):n+i-n*i,o=2*n-s,l=[0,0,0];for(let u=0;u<3;u++)a=e+1/3*-(u-1),a<0&&a++,a>1&&a--,6*a<1?r=o+(s-o)*6*a:2*a<1?r=s:3*a<2?r=o+(s-o)*(2/3-a)*6:r=o,l[u]=r*255;return l};H.hsl.hsv=function(t){let e=t[0],i=t[1]/100,n=t[2]/100,a=i,r=Math.max(n,.01);n*=2,i*=n<=1?n:2-n,a*=r<=1?r:2-r;let s=(n+i)/2,o=n===0?2*a/(r+a):2*i/(n+i);return[e,o*100,s*100]};H.hsv.rgb=function(t){let e=t[0]/60,i=t[1]/100,n=t[2]/100,a=Math.floor(e)%6,r=e-Math.floor(e),s=255*n*(1-i),o=255*n*(1-i*r),l=255*n*(1-i*(1-r));switch(n*=255,a){case 0:return[n,l,s];case 1:return[o,n,s];case 2:return[s,n,l];case 3:return[s,o,n];case 4:return[l,s,n];case 5:return[n,s,o]}};H.hsv.hsl=function(t){let e=t[0],i=t[1]/100,n=t[2]/100,a=Math.max(n,.01),r,s;s=(2-i)*n;let o=(2-i)*a;return r=i*a,r/=o<=1?o:2-o,r=r||0,s/=2,[e,r*100,s*100]};H.hwb.rgb=function(t){let e=t[0]/360,i=t[1]/100,n=t[2]/100,a=i+n,r;a>1&&(i/=a,n/=a);let s=Math.floor(6*e),o=1-n;r=6*e-s,(s&1)!==0&&(r=1-r);let l=i+r*(o-i),u,c,p;switch(s){default:case 6:case 0:{u=o,c=l,p=i;break}case 1:{u=l,c=o,p=i;break}case 2:{u=i,c=o,p=l;break}case 3:{u=i,c=l,p=o;break}case 4:{u=l,c=i,p=o;break}case 5:{u=o,c=i,p=l;break}}return[u*255,c*255,p*255]};H.cmyk.rgb=function(t){let e=t[0]/100,i=t[1]/100,n=t[2]/100,a=t[3]/100,r=1-Math.min(1,e*(1-a)+a),s=1-Math.min(1,i*(1-a)+a),o=1-Math.min(1,n*(1-a)+a);return[r*255,s*255,o*255]};H.xyz.rgb=function(t){let e=t[0]/100,i=t[1]/100,n=t[2]/100,a,r,s;return a=e*3.2404542+i*-1.5371385+n*-.4985314,r=e*-.969266+i*1.8760108+n*.041556,s=e*.0556434+i*-.2040259+n*1.0572252,a=us(a),r=us(r),s=us(s),[a*255,r*255,s*255]};H.xyz.lab=function(t){let e=t[0],i=t[1],n=t[2];e/=95.047,i/=100,n/=108.883,e=e>wt?e**(1/3):7.787*e+16/116,i=i>wt?i**(1/3):7.787*i+16/116,n=n>wt?n**(1/3):7.787*n+16/116;let a=116*i-16,r=500*(e-i),s=200*(i-n);return[a,r,s]};H.xyz.oklab=function(t){let e=t[0]/100,i=t[1]/100,n=t[2]/100,a=Math.cbrt(.8189330101*e+.3618667424*i-.1288597137*n),r=Math.cbrt(.0329845436*e+.9293118715*i+.0361456387*n),s=Math.cbrt(.0482003018*e+.2643662691*i+.633851707*n),o=.2104542553*a+.793617785*r-.0040720468*s,l=1.9779984951*a-2.428592205*r+.4505937099*s,u=.0259040371*a+.7827717662*r-.808675766*s;return[o*100,l*100,u*100]};H.oklab.oklch=function(t){return H.lab.lch(t)};H.oklab.xyz=function(t){let e=t[0]/100,i=t[1]/100,n=t[2]/100,a=(.999999998*e+.396337792*i+.215803758*n)**3,r=(1.000000008*e-.105561342*i-.063854175*n)**3,s=(1.000000055*e-.089484182*i-1.291485538*n)**3,o=1.227013851*a-.55779998*r+.281256149*s,l=-.040580178*a+1.11225687*r-.071676679*s,u=-.076381285*a-.421481978*r+1.58616322*s;return[o*100,l*100,u*100]};H.oklab.rgb=function(t){let e=t[0]/100,i=t[1]/100,n=t[2]/100,a=(e+.3963377774*i+.2158037573*n)**3,r=(e-.1055613458*i-.0638541728*n)**3,s=(e-.0894841775*i-1.291485548*n)**3,o=us(4.0767416621*a-3.3077115913*r+.2309699292*s),l=us(-1.2684380046*a+2.6097574011*r-.3413193965*s),u=us(-.0041960863*a-.7034186147*r+1.707614701*s);return[o*255,l*255,u*255]};H.oklch.oklab=function(t){return H.lch.lab(t)};H.lab.xyz=function(t){let e=t[0],i=t[1],n=t[2],a,r,s;r=(e+16)/116,a=i/500+r,s=r-n/200;let o=r**3,l=a**3,u=s**3;return r=o>wt?o:(r-16/116)/7.787,a=l>wt?l:(a-16/116)/7.787,s=u>wt?u:(s-16/116)/7.787,a*=95.047,r*=100,s*=108.883,[a,r,s]};H.lab.lch=function(t){let e=t[0],i=t[1],n=t[2],a;a=Math.atan2(n,i)*360/2/Math.PI,a<0&&(a+=360);let s=Math.sqrt(i*i+n*n);return[e,s,a]};H.lch.lab=function(t){let e=t[0],i=t[1],a=t[2]/360*2*Math.PI,r=i*Math.cos(a),s=i*Math.sin(a);return[e,r,s]};H.rgb.ansi16=function(t,e=null){let[i,n,a]=t,r=e===null?H.rgb.hsv(t)[2]:e;if(r=Math.round(r/50),r===0)return 30;let s=30+(Math.round(a/255)<<2|Math.round(n/255)<<1|Math.round(i/255));return r===2&&(s+=60),s};H.hsv.ansi16=function(t){return H.rgb.ansi16(H.hsv.rgb(t),t[2])};H.rgb.ansi256=function(t){let e=t[0],i=t[1],n=t[2];return e>>4===i>>4&&i>>4===n>>4?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)};H.ansi16.rgb=function(t){t=t[0];let e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];let i=(Math.trunc(t>50)+1)*.5,n=(e&1)*i*255,a=(e>>1&1)*i*255,r=(e>>2&1)*i*255;return[n,a,r]};H.ansi256.rgb=function(t){if(t=t[0],t>=232){let r=(t-232)*10+8;return[r,r,r]}t-=16;let e,i=Math.floor(t/36)/5*255,n=Math.floor((e=t%36)/6)/5*255,a=e%6/5*255;return[i,n,a]};H.rgb.hex=function(t){let i=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return"000000".slice(i.length)+i};H.hex.rgb=function(t){let e=t.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!e)return[0,0,0];let i=e[0];e[0].length===3&&(i=[...i].map(o=>o+o).join(""));let n=Number.parseInt(i,16),a=n>>16&255,r=n>>8&255,s=n&255;return[a,r,s]};H.rgb.hcg=function(t){let e=t[0]/255,i=t[1]/255,n=t[2]/255,a=Math.max(Math.max(e,i),n),r=Math.min(Math.min(e,i),n),s=a-r,o,l=s<1?r/(1-s):0;return s<=0?o=0:a===e?o=(i-n)/s%6:a===i?o=2+(n-e)/s:o=4+(e-i)/s,o/=6,o%=1,[o*360,s*100,l*100]};H.hsl.hcg=function(t){let e=t[1]/100,i=t[2]/100,n=i<.5?2*e*i:2*e*(1-i),a=0;return n<1&&(a=(i-.5*n)/(1-n)),[t[0],n*100,a*100]};H.hsv.hcg=function(t){let e=t[1]/100,i=t[2]/100,n=e*i,a=0;return n<1&&(a=(i-n)/(1-n)),[t[0],n*100,a*100]};H.hcg.rgb=function(t){let e=t[0]/360,i=t[1]/100,n=t[2]/100;if(i===0)return[n*255,n*255,n*255];let a=[0,0,0],r=e%1*6,s=r%1,o=1-s,l=0;switch(Math.floor(r)){case 0:{a[0]=1,a[1]=s,a[2]=0;break}case 1:{a[0]=o,a[1]=1,a[2]=0;break}case 2:{a[0]=0,a[1]=1,a[2]=s;break}case 3:{a[0]=0,a[1]=o,a[2]=1;break}case 4:{a[0]=s,a[1]=0,a[2]=1;break}default:a[0]=1,a[1]=0,a[2]=o}return l=(1-i)*n,[(i*a[0]+l)*255,(i*a[1]+l)*255,(i*a[2]+l)*255]};H.hcg.hsv=function(t){let e=t[1]/100,i=t[2]/100,n=e+i*(1-e),a=0;return n>0&&(a=e/n),[t[0],a*100,n*100]};H.hcg.hsl=function(t){let e=t[1]/100,n=t[2]/100*(1-e)+.5*e,a=0;return n>0&&n<.5?a=e/(2*n):n>=.5&&n<1&&(a=e/(2*(1-n))),[t[0],a*100,n*100]};H.hcg.hwb=function(t){let e=t[1]/100,i=t[2]/100,n=e+i*(1-e);return[t[0],(n-e)*100,(1-n)*100]};H.hwb.hcg=function(t){let e=t[1]/100,n=1-t[2]/100,a=n-e,r=0;return a<1&&(r=(n-a)/(1-a)),[t[0],a*100,r*100]};H.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};H.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};H.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};H.gray.hsl=function(t){return[0,0,t[0]]};H.gray.hsv=H.gray.hsl;H.gray.hwb=function(t){return[0,100,t[0]]};H.gray.cmyk=function(t){return[0,0,0,t[0]]};H.gray.lab=function(t){return[t[0],0,0]};H.gray.hex=function(t){let e=Math.round(t[0]/100*255)&255,n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".slice(n.length)+n};H.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};function lQ(){let t={},e=Object.keys(H);for(let{length:i}=e,n=0;n0;){let n=i.pop(),a=Object.keys(H[n]);for(let{length:r}=a,s=0;s1&&(i=n),t(i))};return"conversion"in t&&(e.conversion=t.conversion),e}function mQ(t){let e=function(...i){let n=i[0];if(n==null)return n;n.length>1&&(i=n);let a=t(i);if(typeof a=="object")for(let{length:r}=a,s=0;s0){this.model=e||"rgb",n=vi[this.model].channels;let a=Array.prototype.slice.call(t,0,n);this.color=EC(a,n),this.valpha=typeof t[n]=="number"?t[n]:1}else if(typeof t=="number")this.model="rgb",this.color=[t>>16&255,t>>8&255,t&255],this.valpha=1;else{this.valpha=1;let a=Object.keys(t);"alpha"in t&&(a.splice(a.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);let r=a.sort().join("");if(!(r in xC))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=xC[r];let{labels:s}=vi[this.model],o=[];for(i=0;i(t%360+360)%360),saturationl:Xe("hsl",1,li(100)),lightness:Xe("hsl",2,li(100)),saturationv:Xe("hsv",1,li(100)),value:Xe("hsv",2,li(100)),chroma:Xe("hcg",1,li(100)),gray:Xe("hcg",2,li(100)),white:Xe("hwb",1,li(100)),wblack:Xe("hwb",2,li(100)),cyan:Xe("cmyk",0,li(100)),magenta:Xe("cmyk",1,li(100)),yellow:Xe("cmyk",2,li(100)),black:Xe("cmyk",3,li(100)),x:Xe("xyz",0,li(95.047)),y:Xe("xyz",1,li(100)),z:Xe("xyz",2,li(108.833)),l:Xe("lab",0,li(100)),a:Xe("lab",1),b:Xe("lab",2),keyword(t){return t!==void 0?new ui(t):vi[this.model].keyword(this.color)},hex(t){return t!==void 0?new ui(t):ci.to.hex(...this.rgb().round().color)},hexa(t){if(t!==void 0)return new ui(t);let e=this.rgb().round().color,i=Math.round(this.valpha*255).toString(16).toUpperCase();return i.length===1&&(i="0"+i),ci.to.hex(...e)+i},rgbNumber(){let t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){let t=this.rgb().color,e=[];for(let[i,n]of t.entries()){let a=n/255;e[i]=a<=.04045?a/12.92:((a+.055)/1.055)**2.4}return .2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){let e=this.luminosity(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.05)/(e+.05)},level(t){let e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){let t=this.rgb().color;return(t[0]*2126+t[1]*7152+t[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){let t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){let e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){let e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){let e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){let e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){let e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){let e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){let t=this.rgb().color,e=t[0]*.3+t[1]*.59+t[2]*.11;return ui.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){let e=this.hsl(),i=e.color[0];return i=(i+t)%360,i=i<0?360+i:i,e.color[0]=i,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);let i=t.rgb(),n=this.rgb(),a=e===void 0?.5:e,r=2*a-1,s=i.alpha()-n.alpha(),o=((r*s===-1?r:(r+s)/(1+r*s))+1)/2,l=1-o;return ui.rgb(o*i.red()+l*n.red(),o*i.green()+l*n.green(),o*i.blue()+l*n.blue(),i.alpha()*a+n.alpha()*(1-a))}};for(let t of Object.keys(vi)){if(GH.includes(t))continue;let{channels:e}=vi[t];ui.prototype[t]=function(...i){return this.model===t?new ui(this):i.length>0?new ui(i,t):new ui([...vQ(vi[this.model][t].raw(this.color)),this.valpha],t)},ui[t]=function(...i){let n=i[0];return typeof n=="number"&&(n=EC(i,e)),new ui(n,t)}}function fQ(t,e){return Number(t.toFixed(e))}function wQ(t){return function(e){return fQ(e,t)}}function Xe(t,e,i){t=Array.isArray(t)?t:[t];for(let n of t)(MC[n]||=[])[e]=i;return t=t[0],function(n){let a;return n!==void 0?(i&&(n=i(n)),a=this[t](),a.color[e]=n,a):(a=this[t]().color[e],i&&(a=i(a)),a)}}function li(t){return function(e){return Math.max(0,Math.min(t,e))}}function vQ(t){return Array.isArray(t)?t:[t]}function EC(t,e){for(let i=0;i{"use strict";function In(t,e){if(e)return new In(t).style(e);if(!(this instanceof In))return new In(t);this.text=t}In.prototype.prefix="\x1B[";In.prototype.suffix="m";In.prototype.hex=function(e){e=e[0]==="#"?e.substring(1):e,e.length===3&&(e=e.split(""),e[5]=e[2],e[4]=e[2],e[3]=e[1],e[2]=e[1],e[1]=e[0],e=e.join(""));var i=e.substring(0,2),n=e.substring(2,4),a=e.substring(4,6);return[parseInt(i,16),parseInt(n,16),parseInt(a,16)]};In.prototype.rgb=function(e,i,n){var a=e/255*5,r=i/255*5,s=n/255*5;return this.ansi(a,r,s)};In.prototype.ansi=function(e,i,n){var a=Math.round(e),r=Math.round(i),s=Math.round(n);return 16+a*36+r*6+s};In.prototype.reset=function(){return this.prefix+"39;49"+this.suffix};In.prototype.style=function(e){return this.prefix+"38;5;"+this.rgb.apply(this,this.hex(e))+this.suffix+this.text+this.reset()};UH.exports=In});var BH=v((ooe,LH)=>{var yQ=NH(),PQ=WH();LH.exports=function(e,i){var n=i.namespace,a=i.colors!==!1?PQ(n+":",yQ(n)):n+":";return e[0]=a+" "+e[0],e}});var VH=v((loe,FH)=>{"use strict";FH.exports=function(e,i){if(!i)return!1;for(var n=i.split(/[\s,]+/),a=0;a{var jQ=VH();JH.exports=function(e){return function(n){try{return jQ(n,e())}catch{}return!1}}});var QH=v((coe,KH)=>{var SQ=ZH();KH.exports=SQ(function(){return process.env.DEBUG||process.env.DIAGNOSTICS})});var XH=v((poe,YH)=>{YH.exports=function(t,e){try{Function.prototype.apply.call(console.log,console,e)}catch{}}});var i0=v((doe,e0)=>{var OQ=TC(),TQ=require("tty").isatty(1),Dp=OQ(function t(e,i){return i=i||{},i.colors="colors"in i?i.colors:TQ,i.namespace=e,i.prod=!1,i.dev=!0,!t.enabled(e)&&!(i.force||t.force)?t.nope(i):t.yep(i)});Dp.modify(BH());Dp.use(QH());Dp.set(XH());e0.exports=Dp});var dl=v((hoe,kC)=>{process.env.NODE_ENV==="production"?kC.exports=IH():kC.exports=i0()});var t0=v((goe,n0)=>{"use strict";var qC=require("fs"),{StringDecoder:xQ}=require("string_decoder"),{Stream:MQ}=Ka();function EQ(){}n0.exports=(t,e)=>{let i=Buffer.alloc(65536),n=new xQ("utf8"),a=new MQ,r="",s=0,o=0;return t.start===-1&&delete t.start,a.readable=!0,a.destroy=()=>{a.destroyed=!0,a.emit("end"),a.emit("close")},qC.open(t.file,"a+","0644",(l,u)=>{if(l){e?e(l):a.emit("error",l),a.destroy();return}(function c(){if(a.destroyed){qC.close(u,EQ);return}return qC.read(u,i,0,i.length,s,(p,d)=>{if(p){e?e(p):a.emit("error",p),a.destroy();return}if(!d)return r&&((t.start==null||o>t.start)&&(e?e(null,r):a.emit("line",r)),o++,r=""),setTimeout(c,1e3);let h=n.write(i.slice(0,d));e||a.emit("data",h),h=(r+h).split(/\n+/);let g=h.length-1,m=0;for(;mt.start)&&(e?e(null,h[m]):a.emit("line",h[m])),o++;return r=h[g],s+=d,c()})})()}),e?a.destroy:a}});var o0=v((foe,s0)=>{"use strict";var tn=require("fs"),Ci=require("path"),a0=bH(),kQ=require("zlib"),{MESSAGE:qQ}=ai(),{Stream:_Q,PassThrough:r0}=Ka(),HQ=rs(),Rn=dl()("winston:file"),IQ=require("os"),RQ=t0();s0.exports=class extends HQ{constructor(e={}){super(e),this.name=e.name||"file";function i(n,...a){a.slice(1).forEach(r=>{if(e[r])throw new Error(`Cannot set ${r} and ${n} together`)})}if(this._stream=new r0,this._stream.setMaxListeners(30),this._onError=this._onError.bind(this),e.filename||e.dirname)i("filename or dirname","stream"),this._basename=this.filename=e.filename?Ci.basename(e.filename):"winston.log",this.dirname=e.dirname||Ci.dirname(e.filename),this.options=e.options||{flags:"a"};else if(e.stream)console.warn("options.stream will be removed in winston@4. Use winston.transports.Stream"),i("stream","filename","maxsize"),this._dest=this._stream.pipe(this._setupStream(e.stream)),this.dirname=Ci.dirname(this._dest.path);else throw new Error("Cannot log to file without filename or stream.");this.maxsize=e.maxsize||null,this.rotationFormat=e.rotationFormat||!1,this.zippedArchive=e.zippedArchive||!1,this.maxFiles=e.maxFiles||null,this.eol=typeof e.eol=="string"?e.eol:IQ.EOL,this.tailable=e.tailable||!1,this.lazy=e.lazy||!1,this._size=0,this._pendingSize=0,this._created=0,this._drain=!1,this._opening=!1,this._ending=!1,this._fileExist=!1,this.dirname&&this._createLogDirIfNotExist(this.dirname),this.lazy||this.open()}finishIfEnding(){this._ending&&(this._opening?this.once("open",()=>{this._stream.once("finish",()=>this.emit("finish")),setImmediate(()=>this._stream.end())}):(this._stream.once("finish",()=>this.emit("finish")),setImmediate(()=>this._stream.end())))}_final(e){if(this._opening){this.once("open",()=>this._final(e));return}if(this._stream.end(),!this._dest||this._dest.writableFinished)return e();this._dest.once("finish",e),this._dest.once("error",e)}log(e,i=()=>{}){if(this.silent)return i(),!0;if(this._drain){this._stream.once("drain",()=>{this._drain=!1,this.log(e,i)});return}if(this._rotate){this._stream.once("rotate",()=>{this._rotate=!1,this.log(e,i)});return}if(this.lazy){if(!this._fileExist){this._opening||this.open(),this.once("open",()=>{this._fileExist=!0,this.log(e,i)});return}if(this._needsNewFile(this._pendingSize)){this._dest.once("close",()=>{this._opening||this.open(),this.once("open",()=>{this.log(e,i)})});return}}let n=`${e[qQ]}${this.eol}`,a=Buffer.byteLength(n);function r(){if(this._size+=a,this._pendingSize-=a,Rn("logged %s %s",this._size,n),this.emit("logged",e),!this._rotate&&!this._opening&&this._needsNewFile()){if(this.lazy){this._endStream(()=>{this.emit("fileclosed")});return}this._rotate=!0,this._endStream(()=>this._rotateFile())}}this._pendingSize+=a,this._opening&&!this.rotatedWhileOpening&&this._needsNewFile(this._size+this._pendingSize)&&(this.rotatedWhileOpening=!0);let s=this._stream.write(n,r.bind(this));return s?i():(this._drain=!0,this._stream.once("drain",()=>{this._drain=!1,i()})),Rn("written",s,this._drain),this.finishIfEnding(),s}query(e,i){typeof e=="function"&&(i=e,e={}),e=p(e);let n=Ci.join(this.dirname,this.filename),a="",r=[],s=0,o=tn.createReadStream(n,{encoding:"utf8"});o.on("error",d=>{if(o.readable&&o.destroy(),!!i)return d.code!=="ENOENT"?i(d):i(null,r)}),o.on("data",d=>{d=(a+d).split(/\n+/);let h=d.length-1,g=0;for(;g=e.start)&&l(d[g]),s++;a=d[h]}),o.on("close",()=>{a&&l(a,!0),e.order==="desc"&&(r=r.reverse()),i&&i(null,r)});function l(d,h){try{let g=JSON.parse(d);c(g)&&u(g)}catch(g){h||o.emit("error",g)}}function u(d){if(e.rows&&r.length>=e.rows&&e.order!=="desc"){o.readable&&o.destroy();return}e.fields&&(d=e.fields.reduce((h,g)=>(h[g]=d[g],h),{})),e.order==="desc"&&r.length>=e.rows&&r.shift(),r.push(d)}function c(d){if(!d||typeof d!="object")return;let h=new Date(d.timestamp);if(!(e.from&&he.until||e.level&&e.level!==d.level))return!0}function p(d){return d=d||{},d.rows=d.rows||d.limit||10,d.start=d.start||0,d.until=d.until||new Date,typeof d.until!="object"&&(d.until=new Date(d.until)),d.from=d.from||d.until-1440*60*1e3,typeof d.from!="object"&&(d.from=new Date(d.from)),d.order=d.order||"desc",d}}stream(e={}){let i=Ci.join(this.dirname,this.filename),n=new _Q,a={file:i,start:e.start};return n.destroy=RQ(a,(r,s)=>{if(r)return n.emit("error",r);try{n.emit("data",s),s=JSON.parse(s),n.emit("log",s)}catch(o){n.emit("error",o)}}),n}open(){this.filename&&(this._opening||(this._opening=!0,this.stat((e,i)=>{if(e)return this.emit("error",e);Rn("stat done: %s { size: %s }",this.filename,i),this._size=i,this._dest=this._createStream(this._stream),this._opening=!1,this.once("open",()=>{this._stream.emit("rotate")||(this._rotate=!1)})})))}stat(e){let i=this._getFile(),n=Ci.join(this.dirname,i);tn.stat(n,(a,r)=>{if(a&&a.code==="ENOENT")return Rn("ENOENT\xA0ok",n),this.filename=i,e(null,0);if(a)return Rn(`err ${a.code} ${n}`),e(a);if(!r||this._needsNewFile(r.size))return this._incFile(()=>this.stat(e));this.filename=i,e(null,r.size)})}close(e){this._stream&&this._stream.end(()=>{e&&e(),this.emit("flush"),this.emit("closed")})}_needsNewFile(e){return e=e||this._size,this.maxsize&&e>=this.maxsize}_onError(e){this.emit("error",e)}_setupStream(e){return e.on("error",this._onError),e}_cleanupStream(e){return e.removeListener("error",this._onError),e.destroy(),e}_rotateFile(){this._incFile(()=>this.open())}_endStream(e=()=>{}){this._dest?(this._stream.unpipe(this._dest),this._dest.end(()=>{this._cleanupStream(this._dest),e()})):e()}_createStream(e){let i=Ci.join(this.dirname,this.filename);Rn("create stream start",i,this.options);let n=tn.createWriteStream(i,this.options).on("error",a=>Rn(a)).on("close",()=>Rn("close",n.path,n.bytesWritten)).on("open",()=>{Rn("file open ok",i),this.emit("open",i),e.pipe(n),this.rotatedWhileOpening&&(this._stream=new r0,this._stream.setMaxListeners(30),this._rotateFile(),this.rotatedWhileOpening=!1,this._cleanupStream(n),e.end())});return Rn("create stream ok",i),n}_incFile(e){Rn("_incFile",this.filename);let i=Ci.extname(this._basename),n=Ci.basename(this._basename,i),a=[];this.zippedArchive&&a.push(function(r){let s=this._created>0&&!this.tailable?this._created:"";this._compressFile(Ci.join(this.dirname,`${n}${s}${i}`),Ci.join(this.dirname,`${n}${s}${i}.gz`),r)}.bind(this)),a.push(function(r){this.tailable?this._checkMaxFilesTailable(i,n,r):(this._created+=1,this._checkMaxFilesIncrementing(i,n,r))}.bind(this)),a0(a,e)}_getFile(){let e=Ci.extname(this._basename),i=Ci.basename(this._basename,e),n=this.rotationFormat?this.rotationFormat():this._created;return!this.tailable&&this._created?`${i}${n}${e}`:`${i}${e}`}_checkMaxFilesIncrementing(e,i,n){if(!this.maxFiles||this._created1;s--)a.push(function(o,l){let u=`${i}${o-1}${e}${r}`,c=Ci.join(this.dirname,u);tn.exists(c,p=>{if(!p)return l(null);u=`${i}${o}${e}${r}`,tn.rename(c,Ci.join(this.dirname,u),l)})}.bind(this,s));a0(a,()=>{tn.rename(Ci.join(this.dirname,`${i}${e}${r}`),Ci.join(this.dirname,`${i}1${e}${r}`),n)})}_compressFile(e,i,n){tn.access(e,tn.F_OK,a=>{if(a)return n();var r=kQ.createGzip(),s=tn.createReadStream(e),o=tn.createWriteStream(i);o.on("finish",()=>{tn.unlink(e,n)}),s.pipe(r).pipe(o)})}_createLogDirIfNotExist(e){tn.existsSync(e)||tn.mkdirSync(e,{recursive:!0})}}});var u0=v((voe,l0)=>{"use strict";var zQ=require("http"),DQ=require("https"),{Stream:GQ}=Ka(),$Q=rs(),{configure:NQ}=Ko();l0.exports=class extends $Q{constructor(e={}){super(e),this.options=e,this.name=e.name||"http",this.ssl=!!e.ssl,this.host=e.host||"localhost",this.port=e.port,this.auth=e.auth,this.path=e.path||"",this.maximumDepth=e.maximumDepth,this.agent=e.agent,this.headers=e.headers||{},this.headers["content-type"]="application/json",this.batch=e.batch||!1,this.batchInterval=e.batchInterval||5e3,this.batchCount=e.batchCount||10,this.batchOptions=[],this.batchTimeoutID=-1,this.batchCallback={},this.port||(this.port=this.ssl?443:80)}log(e,i){this._request(e,null,null,(n,a)=>{a&&a.statusCode!==200&&(n=new Error(`Invalid HTTP Status Code: ${a.statusCode}`)),n?this.emit("warn",n):this.emit("logged",e)}),i&&setImmediate(i)}query(e,i){typeof e=="function"&&(i=e,e={}),e={method:"query",params:this.normalizeQuery(e)};let n=e.params.auth||null;delete e.params.auth;let a=e.params.path||null;delete e.params.path,this._request(e,n,a,(r,s,o)=>{if(s&&s.statusCode!==200&&(r=new Error(`Invalid HTTP Status Code: ${s.statusCode}`)),r)return i(r);if(typeof o=="string")try{o=JSON.parse(o)}catch(l){return i(l)}i(null,o)})}stream(e={}){let i=new GQ;e={method:"stream",params:e};let n=e.params.path||null;delete e.params.path;let a=e.params.auth||null;delete e.params.auth;let r="",s=this._request(e,a,n);return i.destroy=()=>s.destroy(),s.on("data",o=>{o=(r+o).split(/\n+/);let l=o.length-1,u=0;for(;ui.emit("error",o)),i}_request(e,i,n,a){e=e||{},i=i||this.auth,n=n||this.path||"",this.batch?this._doBatch(e,a,i,n):this._doRequest(e,a,i,n)}_doBatch(e,i,n,a){if(this.batchOptions.push(e),this.batchOptions.length===1){let r=this;this.batchCallback=i,this.batchTimeoutID=setTimeout(function(){r.batchTimeoutID=-1,r._doBatchRequest(r.batchCallback,n,a)},this.batchInterval)}this.batchOptions.length===this.batchCount&&this._doBatchRequest(this.batchCallback,n,a)}_doBatchRequest(e,i,n){this.batchTimeoutID>0&&(clearTimeout(this.batchTimeoutID),this.batchTimeoutID=-1);let a=this.batchOptions.slice();this.batchOptions=[],this._doRequest(a,e,i,n)}_doRequest(e,i,n,a){let r=Object.assign({},this.headers);n&&n.bearer&&(r.Authorization=`Bearer ${n.bearer}`);let s=(this.ssl?DQ:zQ).request({...this.options,method:"POST",host:this.host,port:this.port,path:`/${a.replace(/^\//,"")}`,headers:r,auth:n&&n.username&&n.password?`${n.username}:${n.password}`:"",agent:this.agent});s.on("error",i),s.on("response",l=>l.on("end",()=>i(null,l)).resume());let o=NQ({...this.maximumDepth&&{maximumDepth:this.maximumDepth}});s.end(Buffer.from(o(e,this.options.replacer),"utf8"))}}});var _C=v((Coe,c0)=>{"use strict";var Qn=t=>t!==null&&typeof t=="object"&&typeof t.pipe=="function";Qn.writable=t=>Qn(t)&&t.writable!==!1&&typeof t._write=="function"&&typeof t._writableState=="object";Qn.readable=t=>Qn(t)&&t.readable!==!1&&typeof t._read=="function"&&typeof t._readableState=="object";Qn.duplex=t=>Qn.writable(t)&&Qn.readable(t);Qn.transform=t=>Qn.duplex(t)&&typeof t._transform=="function";c0.exports=Qn});var d0=v((boe,p0)=>{"use strict";var UQ=_C(),{MESSAGE:WQ}=ai(),LQ=require("os"),BQ=rs();p0.exports=class extends BQ{constructor(e={}){if(super(e),!e.stream||!UQ(e.stream))throw new Error("options.stream is required.");this._stream=e.stream,this._stream.setMaxListeners(1/0),this.isObjectMode=e.stream._writableState.objectMode,this.eol=typeof e.eol=="string"?e.eol:LQ.EOL}log(e,i){if(setImmediate(()=>this.emit("logged",e)),this.isObjectMode){this._stream.write(e),i&&i();return}this._stream.write(`${e[WQ]}${this.eol}`),i&&i()}}});var h0=v(hl=>{"use strict";Object.defineProperty(hl,"Console",{configurable:!0,enumerable:!0,get(){return G2()}});Object.defineProperty(hl,"File",{configurable:!0,enumerable:!0,get(){return o0()}});Object.defineProperty(hl,"Http",{configurable:!0,enumerable:!0,get(){return u0()}});Object.defineProperty(hl,"Stream",{configurable:!0,enumerable:!0,get(){return d0()}})});var $p=v(gl=>{"use strict";var Gp=Iv(),{configs:HC}=ai();gl.cli=Gp.levels(HC.cli);gl.npm=Gp.levels(HC.npm);gl.syslog=Gp.levels(HC.syslog);gl.addColors=Gp.levels});var m0=v((Np,g0)=>{"use strict";Object.defineProperty(Np,"__esModule",{value:!0});var FQ=Cp(),VQ=Qa(FQ),JQ=Mp(),ZQ=Qa(JQ),KQ=vC(),QQ=Qa(KQ),YQ=mC(),XQ=Qa(YQ),e8=fC(),i8=Qa(e8),n8=Za(),t8=Qa(n8),a8=os(),r8=Qa(a8);function Qa(t){return t&&t.__esModule?t:{default:t}}function s8(t,e,i){i=(0,XQ.default)(i);var n=0,a=0,{length:r}=t,s=!1;r===0&&i(null);function o(l,u){l===!1&&(s=!0),s!==!0&&(l?i(l):(++a===r||u===ZQ.default)&&i(null))}for(;n{"use strict";Object.defineProperty(Up,"__esModule",{value:!0});Up.default=u8;function u8(t){return(e,i,n)=>t(e,n)}f0.exports=Up.default});var Bp=v((Lp,v0)=>{"use strict";Object.defineProperty(Lp,"__esModule",{value:!0});var c8=m0(),p8=Wp(c8),d8=w0(),h8=Wp(d8),g8=Za(),m8=Wp(g8),f8=os(),w8=Wp(f8);function Wp(t){return t&&t.__esModule?t:{default:t}}function v8(t,e,i){return(0,p8.default)(t,(0,h8.default)((0,m8.default)(e)),i)}Lp.default=(0,w8.default)(v8,3);v0.exports=Lp.default});var A0=v((joe,C0)=>{"use strict";var C8=Object.prototype.toString;C0.exports=function(e){if(typeof e.displayName=="string"&&e.constructor.name)return e.displayName;if(typeof e.name=="string"&&e.name)return e.name;if(typeof e=="object"&&e.constructor&&typeof e.constructor.name=="string")return e.constructor.name;var i=e.toString(),n=C8.call(e).slice(8,-1);return n==="Function"?i=i.substring(i.indexOf("(")+1,i.indexOf(")")):i=n,i||"anonymous"}});var IC=v((Soe,b0)=>{"use strict";var A8=A0();b0.exports=function(e){var i=0,n;function a(){return i||(i=1,n=e.apply(this,arguments),e=null),n}return a.displayName=A8(e),a}});var RC=v(fl=>{fl.get=function(t){var e=Error.stackTraceLimit;Error.stackTraceLimit=1/0;var i={},n=Error.prepareStackTrace;Error.prepareStackTrace=function(r,s){return s},Error.captureStackTrace(i,t||fl.get);var a=i.stack;return Error.prepareStackTrace=n,Error.stackTraceLimit=e,a};fl.parse=function(t){if(!t.stack)return[];var e=this,i=t.stack.split(` +`).slice(1);return i.map(function(n){if(n.match(/^\s*[-]{4,}$/))return e._createParsedCallSite({fileName:n,lineNumber:null,functionName:null,typeName:null,methodName:null,columnNumber:null,native:null});var a=n.match(/at (?:(.+)\s+\()?(?:(.+?):(\d+)(?::(\d+))?|([^)]+))\)?/);if(a){var r=null,s=null,o=null,l=null,u=null,c=a[5]==="native";if(a[1]){o=a[1];var p=o.lastIndexOf(".");if(o[p-1]=="."&&p--,p>0){r=o.substr(0,p),s=o.substr(p+1);var d=r.indexOf(".Module");d>0&&(o=o.substr(d+1),r=r.substr(0,d))}l=null}s&&(l=r,u=s),s===""&&(u=null,o=null);var h={fileName:a[2]||null,lineNumber:parseInt(a[3],10)||null,functionName:o,typeName:l,methodName:u,columnNumber:parseInt(a[4],10)||null,native:c};return e._createParsedCallSite(h)}}).filter(function(n){return!!n})};function ml(t){for(var e in t)this[e]=t[e]}var b8=["this","typeName","functionName","methodName","fileName","lineNumber","columnNumber","function","evalOrigin"],y8=["topLevel","eval","native","constructor"];b8.forEach(function(t){ml.prototype[t]=null,ml.prototype["get"+t[0].toUpperCase()+t.substr(1)]=function(){return this[t]}});y8.forEach(function(t){ml.prototype[t]=!1,ml.prototype["is"+t[0].toUpperCase()+t.substr(1)]=function(){return this[t]}});fl._createParsedCallSite=function(t){return new ml(t)}});var P0=v((xoe,y0)=>{"use strict";var{Writable:P8}=Ka();y0.exports=class extends P8{constructor(e){if(super({objectMode:!0}),!e)throw new Error("ExceptionStream requires a TransportStream instance.");this.handleExceptions=!0,this.transport=e}_write(e,i,n){return e.exception?this.transport.log(e,n):(n(),!0)}}});var DC=v((Eoe,O0)=>{"use strict";var j0=require("os"),j8=Bp(),zC=dl()("winston:exception"),S8=IC(),S0=RC(),O8=P0();O0.exports=class{constructor(e){if(!e)throw new Error("Logger is required to handle exceptions");this.logger=e,this.handlers=new Map}handle(...e){e.forEach(i=>{if(Array.isArray(i))return i.forEach(n=>this._addHandler(n));this._addHandler(i)}),this.catcher||(this.catcher=this._uncaughtException.bind(this),process.on("uncaughtException",this.catcher))}unhandle(){this.catcher&&(process.removeListener("uncaughtException",this.catcher),this.catcher=!1,Array.from(this.handlers.values()).forEach(e=>this.logger.unpipe(e)))}getAllInfo(e){let i=null;return e&&(i=typeof e=="string"?e:e.message),{error:e,level:"error",message:[`uncaughtException: ${i||"(no error message)"}`,e&&e.stack||" No stack trace"].join(` +`),stack:e&&e.stack,exception:!0,date:new Date().toString(),process:this.getProcessInfo(),os:this.getOsInfo(),trace:this.getTrace(e)}}getProcessInfo(){return{pid:process.pid,uid:process.getuid?process.getuid():null,gid:process.getgid?process.getgid():null,cwd:process.cwd(),execPath:process.execPath,version:process.version,argv:process.argv,memoryUsage:process.memoryUsage()}}getOsInfo(){return{loadavg:j0.loadavg(),uptime:j0.uptime()}}getTrace(e){return(e?S0.parse(e):S0.get()).map(n=>({column:n.getColumnNumber(),file:n.getFileName(),function:n.getFunctionName(),line:n.getLineNumber(),method:n.getMethodName(),native:n.isNative()}))}_addHandler(e){if(!this.handlers.has(e)){e.handleExceptions=!0;let i=new O8(e);this.handlers.set(e,i),this.logger.pipe(i)}}_uncaughtException(e){let i=this.getAllInfo(e),n=this._getExceptionHandlers(),a=typeof this.logger.exitOnError=="function"?this.logger.exitOnError(e):this.logger.exitOnError,r;!n.length&&a&&(console.warn("winston: exitOnError cannot be true with no exception handlers."),console.warn("winston: not exiting process."),a=!1);function s(){zC("doExit",a),zC("process._exiting",process._exiting),a&&!process._exiting&&(r&&clearTimeout(r),process.exit(1))}if(!n||n.length===0)return process.nextTick(s);j8(n,(o,l)=>{let u=S8(l),c=o.transport||o;function p(d){return()=>{zC(d),u()}}c._ending=!0,c.once("finish",p("finished")),c.once("error",p("error"))},()=>a&&s()),this.logger.log(i),a&&(r=setTimeout(s,3e3))}_getExceptionHandlers(){return this.logger.transports.filter(e=>(e.transport||e).handleExceptions)}}});var x0=v((qoe,T0)=>{"use strict";var{Writable:T8}=Ka();T0.exports=class extends T8{constructor(e){if(super({objectMode:!0}),!e)throw new Error("RejectionStream requires a TransportStream instance.");this.handleRejections=!0,this.transport=e}_write(e,i,n){return e.rejection?this.transport.log(e,n):(n(),!0)}}});var $C=v((Hoe,k0)=>{"use strict";var M0=require("os"),x8=Bp(),GC=dl()("winston:rejection"),M8=IC(),E0=RC(),E8=x0();k0.exports=class{constructor(e){if(!e)throw new Error("Logger is required to handle rejections");this.logger=e,this.handlers=new Map}handle(...e){e.forEach(i=>{if(Array.isArray(i))return i.forEach(n=>this._addHandler(n));this._addHandler(i)}),this.catcher||(this.catcher=this._unhandledRejection.bind(this),process.on("unhandledRejection",this.catcher))}unhandle(){this.catcher&&(process.removeListener("unhandledRejection",this.catcher),this.catcher=!1,Array.from(this.handlers.values()).forEach(e=>this.logger.unpipe(e)))}getAllInfo(e){let i=null;return e&&(i=typeof e=="string"?e:e.message),{error:e,level:"error",message:[`unhandledRejection: ${i||"(no error message)"}`,e&&e.stack||" No stack trace"].join(` +`),stack:e&&e.stack,rejection:!0,date:new Date().toString(),process:this.getProcessInfo(),os:this.getOsInfo(),trace:this.getTrace(e)}}getProcessInfo(){return{pid:process.pid,uid:process.getuid?process.getuid():null,gid:process.getgid?process.getgid():null,cwd:process.cwd(),execPath:process.execPath,version:process.version,argv:process.argv,memoryUsage:process.memoryUsage()}}getOsInfo(){return{loadavg:M0.loadavg(),uptime:M0.uptime()}}getTrace(e){return(e?E0.parse(e):E0.get()).map(n=>({column:n.getColumnNumber(),file:n.getFileName(),function:n.getFunctionName(),line:n.getLineNumber(),method:n.getMethodName(),native:n.isNative()}))}_addHandler(e){if(!this.handlers.has(e)){e.handleRejections=!0;let i=new E8(e);this.handlers.set(e,i),this.logger.pipe(i)}}_unhandledRejection(e){let i=this.getAllInfo(e),n=this._getRejectionHandlers(),a=typeof this.logger.exitOnError=="function"?this.logger.exitOnError(e):this.logger.exitOnError,r;!n.length&&a&&(console.warn("winston: exitOnError cannot be true with no rejection handlers."),console.warn("winston: not exiting process."),a=!1);function s(){GC("doExit",a),GC("process._exiting",process._exiting),a&&!process._exiting&&(r&&clearTimeout(r),process.exit(1))}if(!n||n.length===0)return process.nextTick(s);x8(n,(o,l)=>{let u=M8(l),c=o.transport||o;function p(d){return()=>{GC(d),u()}}c._ending=!0,c.once("finish",p("finished")),c.once("error",p("error"))},()=>a&&s()),this.logger.log(i),a&&(r=setTimeout(s,3e3))}_getRejectionHandlers(){return this.logger.transports.filter(e=>(e.transport||e).handleRejections)}}});var _0=v((Ioe,q0)=>{"use strict";var NC=class{constructor(e){let i=Fp();if(typeof e!="object"||Array.isArray(e)||!(e instanceof i))throw new Error("Logger is required for profiling");this.logger=e,this.start=Date.now()}done(...e){typeof e[e.length-1]=="function"&&(console.warn("Callback function no longer supported as of winston@3.0.0"),e.pop());let i=typeof e[e.length-1]=="object"?e.pop():{};return i.level=i.level||"info",i.durationMs=Date.now()-this.start,this.logger.write(i)}};q0.exports=NC});var Fp=v((Roe,z0)=>{"use strict";var{Stream:k8,Transform:q8}=Ka(),H0=Bp(),{LEVEL:Yn,SPLAT:I0}=ai(),R0=_C(),_8=DC(),H8=$C(),I8=dC(),R8=_0(),{warn:z8}=Rv(),D8=$p(),G8=/%[scdjifoO%]/g,Vp=class extends q8{constructor(e){super({objectMode:!0}),this.configure(e)}child(e){let i=this;return Object.create(i,{write:{value:function(n){let a=Object.assign({},e,n);n instanceof Error&&(a.stack=n.stack,a.message=n.message,a.cause=n.cause),i.write(a)}}})}configure({silent:e,format:i,defaultMeta:n,levels:a,level:r="info",exitOnError:s=!0,transports:o,colors:l,emitErrs:u,formatters:c,padLevels:p,rewriters:d,stripColors:h,exceptionHandlers:g,rejectionHandlers:m}={}){if(this.transports.length&&this.clear(),this.silent=e,this.format=i||this.format||Ev()(),this.defaultMeta=n||null,this.levels=a||this.levels||D8.npm.levels,this.level=r,this.exceptions&&this.exceptions.unhandle(),this.rejections&&this.rejections.unhandle(),this.exceptions=new _8(this),this.rejections=new H8(this),this.profilers={},this.exitOnError=s,o&&(o=Array.isArray(o)?o:[o],o.forEach(f=>this.add(f))),l||u||c||p||d||h)throw new Error(["{ colors, emitErrs, formatters, padLevels, rewriters, stripColors } were removed in winston@3.0.0.","Use a custom winston.format(function) instead.","See: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md"].join(` +`));g&&this.exceptions.handle(g),m&&this.rejections.handle(m)}getHighestLogLevel(){let e=wl(this.levels,this.level);return!this.transports||this.transports.length===0?e:this.transports.reduce((i,n)=>{let a=wl(this.levels,n.level);return a!==null&&a>i?a:i},e)}isLevelEnabled(e){let i=wl(this.levels,e);if(i===null)return!1;let n=wl(this.levels,this.level);return n===null?!1:!this.transports||this.transports.length===0?n>=i:this.transports.findIndex(r=>{let s=wl(this.levels,r.level);return s===null&&(s=n),s>=i})!==-1}log(e,i,...n){if(arguments.length===1)return e[Yn]=e.level,this._addDefaultMeta(e),this.write(e),this;if(arguments.length===2)return i&&typeof i=="object"?(i[Yn]=i.level=e,this._addDefaultMeta(i),this.write(i),this):(i={[Yn]:e,level:e,message:i},this._addDefaultMeta(i),this.write(i),this);let[a]=n;if(typeof a=="object"&&a!==null&&!(i&&i.match&&i.match(G8))){let s=Object.assign({},this.defaultMeta,a,{[Yn]:e,[I0]:n,level:e,message:i});return a.message&&(s.message=`${s.message} ${a.message}`),a.stack&&(s.stack=a.stack),a.cause&&(s.cause=a.cause),this.write(s),this}return this.write(Object.assign({},this.defaultMeta,{[Yn]:e,[I0]:n,level:e,message:i})),this}_transform(e,i,n){if(this.silent)return n();e[Yn]||(e[Yn]=e.level),!this.levels[e[Yn]]&&this.levels[e[Yn]]!==0&&console.error("[winston] Unknown logger level: %s",e[Yn]),this._readableState.pipes||console.error("[winston] Attempt to write logs with no transports, which can increase memory usage: %j",e);try{this.push(this.format.transform(e,this.format.options))}finally{this._writableState.sync=!1,n()}}_final(e){let i=this.transports.slice();H0(i,(n,a)=>{if(!n||n.finished)return setImmediate(a);n.once("finish",a),n.end()},e)}add(e){let i=!R0(e)||e.log.length>2?new I8({transport:e}):e;if(!i._writableState||!i._writableState.objectMode)throw new Error("Transports must WritableStreams in objectMode. Set { objectMode: true }.");return this._onEvent("error",i),this._onEvent("warn",i),this.pipe(i),e.handleExceptions&&this.exceptions.handle(),e.handleRejections&&this.rejections.handle(),this}remove(e){if(!e)return this;let i=e;return(!R0(e)||e.log.length>2)&&(i=this.transports.filter(n=>n.transport===e)[0]),i&&this.unpipe(i),this}clear(){return this.unpipe(),this}close(){return this.exceptions.unhandle(),this.rejections.unhandle(),this.clear(),this.emit("close"),this}setLevels(){z8.deprecated("setLevels")}query(e,i){typeof e=="function"&&(i=e,e={}),e=e||{};let n={},a=Object.assign({},e.query||{});function r(o,l){e.query&&typeof o.formatQuery=="function"&&(e.query=o.formatQuery(a)),o.query(e,(u,c)=>{if(u)return l(u);typeof o.formatResults=="function"&&(c=o.formatResults(c,e.format)),l(null,c)})}function s(o,l){r(o,(u,c)=>{l&&(c=u||c,c&&(n[o.name]=c),l()),l=null})}H0(this.transports.filter(o=>!!o.query),s,()=>i(null,n))}stream(e={}){let i=new k8,n=[];return i._streams=n,i.destroy=()=>{let a=n.length;for(;a--;)n[a].destroy()},this.transports.filter(a=>!!a.stream).forEach(a=>{let r=a.stream(e);r&&(n.push(r),r.on("log",s=>{s.transport=s.transport||[],s.transport.push(a.name),i.emit("log",s)}),r.on("error",s=>{s.transport=s.transport||[],s.transport.push(a.name),i.emit("error",s)}))}),i}startTimer(){return new R8(this)}profile(e,...i){let n=Date.now();if(this.profilers[e]){let a=this.profilers[e];delete this.profilers[e],typeof i[i.length-2]=="function"&&(console.warn("Callback function no longer supported as of winston@3.0.0"),i.pop());let r=typeof i[i.length-1]=="object"?i.pop():{};return r.level=r.level||"info",r.durationMs=n-a,r.message=r.message||e,this.write(r)}return this.profilers[e]=n,this}handleExceptions(...e){console.warn("Deprecated: .handleExceptions() will be removed in winston@4. Use .exceptions.handle()"),this.exceptions.handle(...e)}unhandleExceptions(...e){console.warn("Deprecated: .unhandleExceptions() will be removed in winston@4. Use .exceptions.unhandle()"),this.exceptions.unhandle(...e)}cli(){throw new Error(["Logger.cli() was removed in winston@3.0.0","Use a custom winston.formats.cli() instead.","See: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md"].join(` +`))}_onEvent(e,i){function n(a){e==="error"&&!this.transports.includes(i)&&this.add(i),this.emit(e,a,i)}i["__winston"+e]||(i["__winston"+e]=n.bind(this),i.on(e,i["__winston"+e]))}_addDefaultMeta(e){this.defaultMeta&&Object.assign(e,this.defaultMeta)}};function wl(t,e){let i=t[e];return!i&&i!==0?null:i}Object.defineProperty(Vp.prototype,"transports",{configurable:!1,enumerable:!0,get(){let{pipes:t}=this._readableState;return Array.isArray(t)?t:[t].filter(Boolean)}});z0.exports=Vp});var UC=v((zoe,D0)=>{"use strict";var{LEVEL:$8}=ai(),N8=$p(),U8=Fp(),W8=dl()("winston:create-logger");function L8(t){return"is"+t.charAt(0).toUpperCase()+t.slice(1)+"Enabled"}D0.exports=function(t={}){t.levels=t.levels||N8.npm.levels;class e extends U8{constructor(a){super(a)}}let i=new e(t);return Object.keys(t.levels).forEach(function(n){if(W8('Define prototype method for "%s"',n),n==="log"){console.warn('Level "log" not defined: conflicts with the method "log". Use a different level name.');return}e.prototype[n]=function(...a){let r=this||i;if(a.length===1){let[s]=a,o=s&&s.message&&s||{message:s};return o.level=o[$8]=n,r._addDefaultMeta(o),r.write(o),this||i}return a.length===0?(r.log(n,""),r):r.log(n,...a)},e.prototype[L8(n)]=function(){return(this||i).isLevelEnabled(n)}}),i}});var $0=v((Goe,G0)=>{"use strict";var B8=UC();G0.exports=class{constructor(e={}){this.loggers=new Map,this.options=e}add(e,i){if(!this.loggers.has(e)){i=Object.assign({},i||this.options);let n=i.transports||this.options.transports;n?i.transports=Array.isArray(n)?n.slice():[n]:i.transports=[];let a=B8(i);a.on("close",()=>this._delete(e)),this.loggers.set(e,a)}return this.loggers.get(e)}get(e,i){return this.add(e,i)}has(e){return!!this.loggers.has(e)}close(e){if(e)return this._removeLogger(e);this.loggers.forEach((i,n)=>this._removeLogger(n))}_removeLogger(e){if(!this.loggers.has(e))return;this.loggers.get(e).close(),this._delete(e)}_delete(e){this.loggers.delete(e)}}});var U0=v(Re=>{"use strict";var N0=Iv(),{warn:vl}=Rv();Re.version=z_().version;Re.transports=h0();Re.config=$p();Re.addColors=N0.levels;Re.format=N0.format;Re.createLogger=UC();Re.Logger=Fp();Re.ExceptionHandler=DC();Re.RejectionHandler=$C();Re.Container=$0();Re.Transport=rs();Re.loggers=new Re.Container;var Xn=Re.createLogger();Object.keys(Re.config.npm.levels).concat(["log","query","stream","add","remove","clear","profile","startTimer","handleExceptions","unhandleExceptions","handleRejections","unhandleRejections","configure","child"]).forEach(t=>Re[t]=(...e)=>Xn[t](...e));Object.defineProperty(Re,"level",{get(){return Xn.level},set(t){Xn.level=t}});Object.defineProperty(Re,"exceptions",{get(){return Xn.exceptions}});Object.defineProperty(Re,"rejections",{get(){return Xn.rejections}});["exitOnError"].forEach(t=>{Object.defineProperty(Re,t,{get(){return Xn[t]},set(e){Xn[t]=e}})});Object.defineProperty(Re,"default",{get(){return{exceptionHandlers:Xn.exceptionHandlers,rejectionHandlers:Xn.rejectionHandlers,transports:Xn.transports}}});vl.deprecated(Re,"setLevels");vl.forFunctions(Re,"useFormat",["cli"]);vl.forProperties(Re,"useFormat",["padLevels","stripColors"]);vl.forFunctions(Re,"deprecated",["addRewriter","addFilter","clone","extend"]);vl.forProperties(Re,"deprecated",["emitErrs","levelLength"])});var F0=v((Noe,B0)=>{var Cl=require("path"),W0=require("fs"),L0=parseInt("0777",8);B0.exports=ps.mkdirp=ps.mkdirP=ps;function ps(t,e,i,n){typeof e=="function"?(i=e,e={}):(!e||typeof e!="object")&&(e={mode:e});var a=e.mode,r=e.fs||W0;a===void 0&&(a=L0),n||(n=null);var s=i||function(){};t=Cl.resolve(t),r.mkdir(t,a,function(o){if(!o)return n=n||t,s(null,n);switch(o.code){case"ENOENT":if(Cl.dirname(t)===t)return s(o);ps(Cl.dirname(t),e,function(l,u){l?s(l,u):ps(t,e,s,u)});break;default:r.stat(t,function(l,u){l||!u.isDirectory()?s(o,n):s(null,n)});break}})}ps.sync=function t(e,i,n){(!i||typeof i!="object")&&(i={mode:i});var a=i.mode,r=i.fs||W0;a===void 0&&(a=L0),n||(n=null),e=Cl.resolve(e);try{r.mkdirSync(e,a),n=n||e}catch(o){switch(o.code){case"ENOENT":n=t(Cl.dirname(e),i,n),t(e,i,n);break;default:var s;try{s=r.statSync(e)}catch{throw o}if(!s.isDirectory())throw o;break}}return n}});var WC=v((Uoe,V0)=>{function F8(t){this.name="DuplicateSectionError",this.message=t+" already exists",Error.captureStackTrace(this,this.constructor)}function V8(t){this.name=this.constructor.name,this.message="Section "+t+" does not exist.",Error.captureStackTrace(this,this.constructor)}function J8(t,e,i){this.name=this.constructor.name,this.message=`Source contains parsing errors. file: `+t+" line: "+e+` -`+n,Error.captureStackTrace(this,this.constructor)}function Pee(t,e,n){this.name=this.constructor.name,this.message=`File contains no section headers. +`+i,Error.captureStackTrace(this,this.constructor)}function Z8(t,e,i){this.name=this.constructor.name,this.message=`File contains no section headers. file: `+t+" line: "+e+` -`+n,Error.captureStackTrace(this,this.constructor)}function jee(t,e,n,i){this.name=this.constructor.name,this.message="Exceeded Maximum Recursion Depth ("+i+") for key "+e+" in section "+t+` -value: `+n,Error.captureStackTrace(this,this.constructor)}NR.exports={DuplicateSectionError:Aee,NoSectionError:bee,ParseError:yee,MissingSectionHeaderError:Pee,MaximumInterpolationDepthError:jee}});var BR=v((qpe,WR)=>{var See=ZA(),UR=new RegExp(/%\(([\w-]+)\)s/),KA=50;function Oee(t,e,n){return LR(t,e,n,1)}function LR(t,e,n,i){let a=t.get(e,n,!0);if(i>KA)throw new See.MaximumInterpolationDepthError(e,n,a,KA);let r=UR.exec(a);for(;r!==null;){let s=r[1],o=LR(t,e,s,i+1);a=a.substr(0,r.index)+o+a.substr(r.index+r[0].length),r=UR.exec(a)}return a}WR.exports={interpolate:Oee,MAXIMUM_INTERPOLATION_DEPTH:KA}});var YR=v((Hpe,QR)=>{var kd=require("util"),Fl=require("fs"),FR=require("path"),VR=$R(),Ed=ZA(),xee=BR(),Tee=new RegExp(/^\s*\[([^\]]+)]$/),Mee=new RegExp(/^\s*(.*?)\s*[=:]\s*(.*)$/),Eee=new RegExp(/^\s*[;#]/),JR=new RegExp(/\r\n|[\n\r\u0085\u2028\u2029]/g),kee=kd.promisify(Fl.readFile),qee=kd.promisify(Fl.writeFile),_pe=kd.promisify(Fl.stat),_ee=kd.promisify(VR);function En(){this._sections={}}En.prototype.sections=function(){return Object.keys(this._sections)};En.prototype.addSection=function(t){if(this._sections.hasOwnProperty(t))throw new Ed.DuplicateSectionError(t);this._sections[t]={}};En.prototype.hasSection=function(t){return this._sections.hasOwnProperty(t)};En.prototype.keys=function(t){try{return Object.keys(this._sections[t])}catch{throw new Ed.NoSectionError(t)}};En.prototype.hasKey=function(t,e){return this._sections.hasOwnProperty(t)&&this._sections[t].hasOwnProperty(e)};En.prototype.read=function(t){let e=Fl.readFileSync(t).toString("utf8").split(JR);ZR.call(this,t,e)};En.prototype.readAsync=async function(t){let e=(await kee(t)).toString("utf8").split(JR);ZR.call(this,t,e)};En.prototype.get=function(t,e,n){if(this._sections.hasOwnProperty(t))return n?this._sections[t][e]:xee.interpolate(this,t,e)};En.prototype.getInt=function(t,e,n){if(this._sections.hasOwnProperty(t))return n||(n=10),parseInt(this._sections[t][e],n)};En.prototype.getFloat=function(t,e){if(this._sections.hasOwnProperty(t))return parseFloat(this._sections[t][e])};En.prototype.items=function(t){return this._sections[t]};En.prototype.set=function(t,e,n){this._sections.hasOwnProperty(t)&&(this._sections[t][e]=n)};En.prototype.removeKey=function(t,e){return this._sections.hasOwnProperty(t)&&this._sections[t].hasOwnProperty(e)?delete this._sections[t][e]:!1};En.prototype.removeSection=function(t){return this._sections.hasOwnProperty(t)?delete this._sections[t]:!1};En.prototype.write=function(t,e=!1){if(e){let n=FR.dirname(t);VR.sync(n)}Fl.writeFileSync(t,KR.call(this))};En.prototype.writeAsync=async function(t,e=!1){if(e){let n=FR.dirname(t);await _ee(n)}await qee(t,KR.call(this))};function ZR(t,e){let n=null;e.forEach((i,a)=>{if(!i||i.match(Eee))return;let r=Tee.exec(i);if(r){let s=r[1];n={},this._sections[s]=n}else if(n)if(r=Mee.exec(i),r){let s=r[1];n[s]=r[2]}else throw new Ed.ParseError(t,a,i);else throw new Ed.MissingSectionHeaderError(t,a,i)})}function KR(){let t="",e;for(e in this._sections){if(!this._sections.hasOwnProperty(e))continue;t+="["+e+`] -`;let n=this._sections[e],i;for(i in n){if(!n.hasOwnProperty(i))continue;let a=n[i];t+=i+"="+a+` +`+i,Error.captureStackTrace(this,this.constructor)}function K8(t,e,i,n){this.name=this.constructor.name,this.message="Exceeded Maximum Recursion Depth ("+n+") for key "+e+" in section "+t+` +value: `+i,Error.captureStackTrace(this,this.constructor)}V0.exports={DuplicateSectionError:F8,NoSectionError:V8,ParseError:J8,MissingSectionHeaderError:Z8,MaximumInterpolationDepthError:K8}});var Q0=v((Woe,K0)=>{var Q8=WC(),J0=new RegExp(/%\(([\w-]+)\)s/),LC=50;function Y8(t,e,i){return Z0(t,e,i,1)}function Z0(t,e,i,n){let a=t.get(e,i,!0);if(n>LC)throw new Q8.MaximumInterpolationDepthError(e,i,a,LC);let r=J0.exec(a);for(;r!==null;){let s=r[1],o=Z0(t,e,s,n+1);a=a.substr(0,r.index)+o+a.substr(r.index+r[0].length),r=J0.exec(a)}return a}K0.exports={interpolate:Y8,MAXIMUM_INTERPOLATION_DEPTH:LC}});var aI=v((Boe,tI)=>{var Zp=require("util"),Al=require("fs"),Y0=require("path"),X0=F0(),Jp=WC(),X8=Q0(),e7=new RegExp(/^\s*\[([^\]]+)]$/),i7=new RegExp(/^\s*(.*?)\s*[=:]\s*(.*)$/),n7=new RegExp(/^\s*[;#]/),eI=new RegExp(/\r\n|[\n\r\u0085\u2028\u2029]/g),t7=Zp.promisify(Al.readFile),a7=Zp.promisify(Al.writeFile),Loe=Zp.promisify(Al.stat),r7=Zp.promisify(X0);function Oi(){this._sections={}}Oi.prototype.sections=function(){return Object.keys(this._sections)};Oi.prototype.addSection=function(t){if(this._sections.hasOwnProperty(t))throw new Jp.DuplicateSectionError(t);this._sections[t]={}};Oi.prototype.hasSection=function(t){return this._sections.hasOwnProperty(t)};Oi.prototype.keys=function(t){try{return Object.keys(this._sections[t])}catch{throw new Jp.NoSectionError(t)}};Oi.prototype.hasKey=function(t,e){return this._sections.hasOwnProperty(t)&&this._sections[t].hasOwnProperty(e)};Oi.prototype.read=function(t){let e=Al.readFileSync(t).toString("utf8").split(eI);iI.call(this,t,e)};Oi.prototype.readAsync=async function(t){let e=(await t7(t)).toString("utf8").split(eI);iI.call(this,t,e)};Oi.prototype.get=function(t,e,i){if(this._sections.hasOwnProperty(t))return i?this._sections[t][e]:X8.interpolate(this,t,e)};Oi.prototype.getInt=function(t,e,i){if(this._sections.hasOwnProperty(t))return i||(i=10),parseInt(this._sections[t][e],i)};Oi.prototype.getFloat=function(t,e){if(this._sections.hasOwnProperty(t))return parseFloat(this._sections[t][e])};Oi.prototype.items=function(t){return this._sections[t]};Oi.prototype.set=function(t,e,i){this._sections.hasOwnProperty(t)&&(this._sections[t][e]=i)};Oi.prototype.removeKey=function(t,e){return this._sections.hasOwnProperty(t)&&this._sections[t].hasOwnProperty(e)?delete this._sections[t][e]:!1};Oi.prototype.removeSection=function(t){return this._sections.hasOwnProperty(t)?delete this._sections[t]:!1};Oi.prototype.write=function(t,e=!1){if(e){let i=Y0.dirname(t);X0.sync(i)}Al.writeFileSync(t,nI.call(this))};Oi.prototype.writeAsync=async function(t,e=!1){if(e){let i=Y0.dirname(t);await r7(i)}await a7(t,nI.call(this))};function iI(t,e){let i=null;e.forEach((n,a)=>{if(!n||n.match(n7))return;let r=e7.exec(n);if(r){let s=r[1];i={},this._sections[s]=i}else if(i)if(r=i7.exec(n),r){let s=r[1];i[s]=r[2]}else throw new Jp.ParseError(t,a,n);else throw new Jp.MissingSectionHeaderError(t,a,n)})}function nI(){let t="",e;for(e in this._sections){if(!this._sections.hasOwnProperty(e))continue;t+="["+e+`] +`;let i=this._sections[e],n;for(n in i){if(!i.hasOwnProperty(n))continue;let a=i[n];t+=n+"="+a+` `}t+=` -`}return t}QR.exports=En});var iz=v((Ipe,nz)=>{"use strict";var Hee=v_(),Iee=p2();function ez(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var QA=ez(Hee),XR=ez(Iee),Ree={us_east_1:"mypurecloud.com",eu_west_1:"mypurecloud.ie",ap_southeast_2:"mypurecloud.com.au",ap_northeast_1:"mypurecloud.jp",eu_central_1:"mypurecloud.de",us_west_2:"usw2.pure.cloud",ca_central_1:"cac1.pure.cloud",ap_northeast_2:"apne2.pure.cloud",eu_west_2:"euw2.pure.cloud",ap_south_1:"aps1.pure.cloud",us_east_2:"use2.us-gov-pure.cloud",sa_east_1:"sae1.pure.cloud",me_central_1:"mec1.pure.cloud",ap_northeast_3:"apne3.pure.cloud",eu_central_2:"euc2.pure.cloud",mx_central_1:"mxc1.pure.cloud",ap_southeast_1:"apse1.pure.cloud"},Vl=class{constructor(){this.timeout=16e3}setTimeout(e){if(e==null||typeof e!="number")throw new Error("The 'timeout' property must be a number");this.timeout=e}setHttpsAgent(e){if(e&&typeof e!="object")throw new Error("The 'httpsAgent' property must be an object");this.httpsAgent=e}request(e){throw new Error("method must be implemented")}enableHooks(){throw new Error("method must be implemented")}setPreHook(e){if(typeof e!="function"||e.length!==1)throw new Error("preHook must be a function that accepts (config)");this.preHook=e,this.enableHooks()}setPostHook(e){if(typeof e!="function"||e.length!==1)throw new Error("postHook must be a function that accepts (response)");this.postHook=e,this.enableHooks()}},ra=class{constructor(e,n,i,a,r,s){this.setUrl(e),this.setMethod(n),i&&this.setHeaders(i),a&&this.setParams(a),r&&this.setData(r),s!=null?this.setTimeout(s):this.timeout=16e3}setUrl(e){if(!e)throw new Error("The 'url' property is required");this.url=e}setMethod(e){if(!e||!["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD"].includes(e.toUpperCase()))throw new Error("The 'method' property is invalid or missing");this.method=e.toUpperCase()}setData(e){if(e==null)throw new Error("The 'data' property is required");this.data=e}setParams(e){if(e&&typeof e!="object")throw new Error("The 'params' property must be an object");this.params=e}setHeaders(e){if(e&&typeof e!="object")throw new Error("The 'headers' property must be an object");this.headers=e}setTimeout(e){if(e==null||typeof e!="number")throw new Error("The 'timeout' property must be a number");this.timeout=e}},qd=class extends Vl{constructor(e,n){super(),e!=null?this.setTimeout(e):this.timeout=16e3,n!=null?this.setHttpsAgent(n):this.httpsAgent,this._axiosInstance=QA.default.create({})}enableHooks(){this.preHook&&typeof this.preHook=="function"&&(this.requestInterceptorId!==void 0&&QA.default.interceptors.request.eject(this.requestInterceptorId),this.requestInterceptorId=this._axiosInstance.interceptors.request.use(async e=>(e=await this.preHook(e),e),e=>(console.error("Request Pre-Hook Error:",e.message),Promise.reject(e)))),this.postHook&&typeof this.postHook=="function"&&(this.responseInterceptorId!==void 0&&QA.default.interceptors.response.eject(this.responseInterceptorId),this.responseInterceptorId=this._axiosInstance.interceptors.response.use(async e=>(e=await this.postHook(e),e),async e=>(console.error("Post-Hook: Response Error",e.message),Promise.reject(e))))}request(e){if(!(e instanceof ra))throw new Error("httpRequestOptions must be instance of HttpRequestOptions ");let n=this.toAxiosConfig(e);return this._axiosInstance.request(n)}toAxiosConfig(e){if(!e.url||!e.method)throw new Error("Mandatory fields 'url' and 'method' must be set before making a request");var n={url:e.url,method:e.method};return e.params&&(n.params=e.params),e.headers&&(n.headers=e.headers),e.data&&(n.data=e.data),this.timeout!=null&&this.timeout!=null&&(n.timeout=this.timeout),this.httpsAgent&&(n.httpsAgent=this.httpsAgent),n}},zee={levels:{none:0,error:1,debug:2,trace:3}},Ms={level:{LNone:"none",LError:"error",LDebug:"debug",LTrace:"trace"}},dr={formats:{JSON:"json",TEXT:"text"}},YA=class{get logLevelEnum(){return Ms}get logFormatEnum(){return dr}constructor(){this.log_level=Ms.level.LNone,this.log_format=dr.formats.TEXT,this.log_to_console=!0,this.log_file_path,this.log_response_body=!1,this.log_request_body=!1,this.setLogger()}setLogger(){if(typeof window>"u"){let e=RR();this.logger=e.createLogger({levels:zee.levels,level:this.log_level}),this.log_file_path&&this.log_file_path!==""&&(this.log_format===dr.formats.JSON?this.logger.add(new e.transports.File({format:e.format.json(),filename:this.log_file_path})):this.logger.add(new e.transports.File({format:e.format.combine(e.format(n=>(n.level=n.level.toUpperCase(),n))(),e.format.simple()),filename:this.log_file_path}))),this.log_to_console&&(this.log_format===dr.formats.JSON?this.logger.add(new e.transports.Console({format:e.format.json()})):this.logger.add(new e.transports.Console({format:e.format.combine(e.format(n=>(n.level=n.level.toUpperCase(),n))(),e.format.simple())})))}}log(e,n,i,a,r,s,o,l){var u=this.formatLog(e,n,i,a,r,s,o,l);if(typeof window<"u"){var c=this.calculateLogLevel(e);c>0&&this.log_to_console===!0&&(this.log_format===this.logFormatEnum.formats.JSON?console.log(u):console.log(`${e.toUpperCase()}: ${u}`))}else this.logger.transports.length>0&&this.logger.log(e,u)}calculateLogLevel(e){switch(this.log_level){case this.logLevelEnum.level.LError:return e!==this.logLevelEnum.level.LError?-1:1;case this.logLevelEnum.level.LDebug:return e===this.logLevelEnum.level.LTrace?-1:1;case this.logLevelEnum.level.LTrace:return 1;default:return-1}}formatLog(e,n,i,a,r,s,o,l){var u,c=r?JSON.parse(JSON.stringify(r)):null,p=s?JSON.parse(JSON.stringify(s)):null,h=o?JSON.parse(JSON.stringify(o)):null,d=l?JSON.parse(JSON.stringify(l)):null;return r&&(c.Authorization="[REDACTED]"),this.log_request_body||(h=void 0),this.log_response_body||(d=void 0),this.log_format&&this.log_format===dr.formats.JSON?(u={level:e,date:new Date().toISOString(),method:i,url:decodeURIComponent(a),correlationId:p&&p["inin-correlation-id"]?p["inin-correlation-id"]:"",statusCode:n},c&&(u.requestHeaders=c),p&&(u.responseHeaders=p),h&&(u.requestBody=h),d&&(u.responseBody=d)):u=`${new Date().toISOString()} +`}return t}tI.exports=Oi});var sI=v((Foe,rI)=>{"use strict";var s7=wq();function o7(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var BC=o7(s7),l7={us_east_1:"mypurecloud.com",eu_west_1:"mypurecloud.ie",ap_southeast_2:"mypurecloud.com.au",ap_northeast_1:"mypurecloud.jp",eu_central_1:"mypurecloud.de",us_west_2:"usw2.pure.cloud",ca_central_1:"cac1.pure.cloud",ap_northeast_2:"apne2.pure.cloud",eu_west_2:"euw2.pure.cloud",ap_south_1:"aps1.pure.cloud",us_east_2:"use2.us-gov-pure.cloud",sa_east_1:"sae1.pure.cloud",me_central_1:"mec1.pure.cloud",ap_northeast_3:"apne3.pure.cloud",eu_central_2:"euc2.pure.cloud",mx_central_1:"mxc1.pure.cloud",ap_southeast_1:"apse1.pure.cloud",eusc_de_east_1:"edee1.eusc-pure.cloud"},bl=class{constructor(){this.timeout=16e3}setTimeout(e){if(e==null||typeof e!="number")throw new Error("The 'timeout' property must be a number");this.timeout=e}setHttpsAgent(e){if(e&&typeof e!="object")throw new Error("The 'httpsAgent' property must be an object");this.httpsAgent=e}request(e){throw new Error("method must be implemented")}enableHooks(){throw new Error("method must be implemented")}setPreHook(e){if(typeof e!="function"||e.length!==1)throw new Error("preHook must be a function that accepts (config)");this.preHook=e,this.enableHooks()}setPostHook(e){if(typeof e!="function"||e.length!==1)throw new Error("postHook must be a function that accepts (response)");this.postHook=e,this.enableHooks()}},Zt=class{constructor(e,i,n,a,r,s){this.setUrl(e),this.setMethod(i),n&&this.setHeaders(n),a&&this.setParams(a),r&&this.setData(r),s!=null?this.setTimeout(s):this.timeout=16e3}setUrl(e){if(!e)throw new Error("The 'url' property is required");this.url=e}setMethod(e){if(!e||!["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD"].includes(e.toUpperCase()))throw new Error("The 'method' property is invalid or missing");this.method=e.toUpperCase()}setData(e){if(e==null)throw new Error("The 'data' property is required");this.data=e}setParams(e){if(e&&typeof e!="object")throw new Error("The 'params' property must be an object");this.params=e}setHeaders(e){if(e&&typeof e!="object")throw new Error("The 'headers' property must be an object");this.headers=e}setTimeout(e){if(e==null||typeof e!="number")throw new Error("The 'timeout' property must be a number");this.timeout=e}},Kp=class extends bl{constructor(e,i){super(),e!=null?this.setTimeout(e):this.timeout=16e3,i!=null?this.setHttpsAgent(i):this.httpsAgent,this._axiosInstance=BC.default.create({})}enableHooks(){this.preHook&&typeof this.preHook=="function"&&(this.requestInterceptorId!==void 0&&BC.default.interceptors.request.eject(this.requestInterceptorId),this.requestInterceptorId=this._axiosInstance.interceptors.request.use(async e=>(e=await this.preHook(e),e),e=>(console.error("Request Pre-Hook Error:",e.message),Promise.reject(e)))),this.postHook&&typeof this.postHook=="function"&&(this.responseInterceptorId!==void 0&&BC.default.interceptors.response.eject(this.responseInterceptorId),this.responseInterceptorId=this._axiosInstance.interceptors.response.use(async e=>(e=await this.postHook(e),e),async e=>(console.error("Post-Hook: Response Error",e.message),Promise.reject(e))))}request(e){if(!(e instanceof Zt))throw new Error("httpRequestOptions must be instance of HttpRequestOptions ");let i=this.toAxiosConfig(e);return this._axiosInstance.request(i)}toAxiosConfig(e){if(!e.url||!e.method)throw new Error("Mandatory fields 'url' and 'method' must be set before making a request");var i={url:e.url,method:e.method};return e.params&&(i.params=e.params),e.headers&&(i.headers=e.headers),e.data&&(i.data=e.data),this.timeout!=null&&this.timeout!=null&&(i.timeout=this.timeout),this.httpsAgent&&(i.httpsAgent=this.httpsAgent),i}},u7={levels:{none:0,error:1,debug:2,trace:3}},ds={level:{LNone:"none",LError:"error",LDebug:"debug",LTrace:"trace"}},Ya={formats:{JSON:"json",TEXT:"text"}},FC=class{get logLevelEnum(){return ds}get logFormatEnum(){return Ya}constructor(){this.log_level=ds.level.LNone,this.log_format=Ya.formats.TEXT,this.log_to_console=!0,this.log_file_path,this.log_response_body=!1,this.log_request_body=!1,this.setLogger()}setLogger(){if(typeof window>"u"){let e=U0();this.logger=e.createLogger({levels:u7.levels,level:this.log_level}),this.log_file_path&&this.log_file_path!==""&&(this.log_format===Ya.formats.JSON?this.logger.add(new e.transports.File({format:e.format.json(),filename:this.log_file_path})):this.logger.add(new e.transports.File({format:e.format.combine(e.format(i=>(i.level=i.level.toUpperCase(),i))(),e.format.simple()),filename:this.log_file_path}))),this.log_to_console&&(this.log_format===Ya.formats.JSON?this.logger.add(new e.transports.Console({format:e.format.json()})):this.logger.add(new e.transports.Console({format:e.format.combine(e.format(i=>(i.level=i.level.toUpperCase(),i))(),e.format.simple())})))}}log(e,i,n,a,r,s,o,l){var u=this.formatLog(e,i,n,a,r,s,o,l);if(typeof window<"u"){var c=this.calculateLogLevel(e);c>0&&this.log_to_console===!0&&(this.log_format===this.logFormatEnum.formats.JSON?console.log(u):console.log(`${e.toUpperCase()}: ${u}`))}else this.logger.transports.length>0&&this.logger.log(e,u)}calculateLogLevel(e){switch(this.log_level){case this.logLevelEnum.level.LError:return e!==this.logLevelEnum.level.LError?-1:1;case this.logLevelEnum.level.LDebug:return e===this.logLevelEnum.level.LTrace?-1:1;case this.logLevelEnum.level.LTrace:return 1;default:return-1}}formatLog(e,i,n,a,r,s,o,l){var u,c=r?JSON.parse(JSON.stringify(r)):null,p=s?JSON.parse(JSON.stringify(s)):null,d=o?JSON.parse(JSON.stringify(o)):null,h=l?JSON.parse(JSON.stringify(l)):null;return r&&(c.Authorization="[REDACTED]"),this.log_request_body||(d=void 0),this.log_response_body||(h=void 0),this.log_format&&this.log_format===Ya.formats.JSON?(u={level:e,date:new Date().toISOString(),method:n,url:decodeURIComponent(a),correlationId:p&&p["inin-correlation-id"]?p["inin-correlation-id"]:"",statusCode:i},c&&(u.requestHeaders=c),p&&(u.responseHeaders=p),d&&(u.requestBody=d),h&&(u.responseBody=h)):u=`${new Date().toISOString()} === REQUEST === -${this.formatValue("URL",decodeURIComponent(a))}${this.formatValue("Method",i)}${this.formatValue("Headers",this.formatHeaderString(c))}${this.formatValue("Body",h?JSON.stringify(h,null,2):"")} +${this.formatValue("URL",decodeURIComponent(a))}${this.formatValue("Method",n)}${this.formatValue("Headers",this.formatHeaderString(c))}${this.formatValue("Body",d?JSON.stringify(d,null,2):"")} === RESPONSE === -${this.formatValue("Status",n)}${this.formatValue("Headers",this.formatHeaderString(p))}${this.formatValue("CorrelationId",p&&p["inin-correlation-id"]?p["inin-correlation-id"]:"")}${this.formatValue("Body",d?JSON.stringify(d,null,2):"")}`,u}formatHeaderString(e){var n="";if(!e)return n;for(let[i,a]of Object.entries(e))n+=` - ${i}: ${a}`;return n}formatValue(e,n){return!n||n===""||n==="{}"?"":`${e}: ${n} -`}getLogLevel(e){switch(e){case"error":return Ms.level.LError;case"debug":return Ms.level.LDebug;case"trace":return Ms.level.LTrace;default:return Ms.level.LNone}}getLogFormat(e){switch(e){case"json":return dr.formats.JSON;default:return dr.formats.TEXT}}},XA=class t{get instance(){return t.instance}set instance(e){t.instance=e}constructor(){if(t.instance||(t.instance=this),typeof window<"u")this.configPath="";else{let e=require("os"),n=require("path");this.configPath=n.join(e.homedir(),".genesyscloudjavascript","config")}this.watchedConfigPath,this.refresh_access_token=!0,this.refresh_token_wait_max=10,this._live_reload_config=!0,this.host,this.environment,this.basePath,this.authUrl,this.config,this.gateway=void 0,this.logger=new YA,this.setEnvironment(),this.liveLoadConfig()}get live_reload_config(){return this._live_reload_config}set live_reload_config(e){if(typeof window>"u"){let n=require("fs");e!=null&&this.live_reload_config!==e&&(this._live_reload_config=e,this.watchedConfigPath&&(n.unwatchFile(this.watchedConfigPath),this.watchedConfigPath=null),e===!0&&this.liveLoadConfig());return}this._live_reload_config=!1}liveLoadConfig(){if(typeof window>"u"){if(this.updateConfigFromFile(),this.live_reload_config&&this.live_reload_config===!0&&this.configPath)try{let e=require("fs");this.watchedConfigPath=this.configPath,e.watchFile(this.watchedConfigPath,{persistent:!1},(n,i)=>{this.updateConfigFromFile(),this.live_reload_config||this.watchedConfigPath&&(e.unwatchFile(this.watchedConfigPath),this.watchedConfigPath=null)})}catch{this.watchedConfigPath=null}return}this.configPath=""}setConfigPath(e){if(typeof window>"u"){let n=require("fs");e&&e!==this.configPath?(this.configPath=e,this.watchedConfigPath&&(n.unwatchFile(this.watchedConfigPath),this.watchedConfigPath=null),this.liveLoadConfig()):!e&&this.configPath&&(this.configPath="",this.watchedConfigPath&&(n.unwatchFile(this.watchedConfigPath),this.watchedConfigPath=null));return}this.configPath=""}updateConfigFromFile(){if(typeof window>"u"&&this.configPath){let i=YR();try{var e=new i;e.read(this.configPath),this.config=e}catch(a){if(a.name&&a.name==="MissingSectionHeaderError"){var n=require("fs").readFileSync(this.configPath,"utf8");this.config={_sections:JSON.parse(n)}}}this.config&&this.updateConfigValues()}}updateConfigValues(){if(this.logger.log_level=this.logger.getLogLevel(this.getConfigString("logging","log_level")),this.logger.log_format=this.logger.getLogFormat(this.getConfigString("logging","log_format")),this.logger.log_to_console=this.getConfigBoolean("logging","log_to_console")!==void 0?this.getConfigBoolean("logging","log_to_console"):this.logger.log_to_console,this.logger.log_file_path=this.getConfigString("logging","log_file_path")!==void 0?this.getConfigString("logging","log_file_path"):this.logger.log_file_path,this.logger.log_response_body=this.getConfigBoolean("logging","log_response_body")!==void 0?this.getConfigBoolean("logging","log_response_body"):this.logger.log_response_body,this.logger.log_request_body=this.getConfigBoolean("logging","log_request_body")!==void 0?this.getConfigBoolean("logging","log_request_body"):this.logger.log_request_body,this.refresh_access_token=this.getConfigBoolean("reauthentication","refresh_access_token")!==void 0?this.getConfigBoolean("reauthentication","refresh_access_token"):this.refresh_access_token,this.refresh_token_wait_max=this.getConfigInt("reauthentication","refresh_token_wait_max")!==void 0?this.getConfigInt("reauthentication","refresh_token_wait_max"):this.refresh_token_wait_max,this.live_reload_config=this.getConfigBoolean("general","live_reload_config")!==void 0?this.getConfigBoolean("general","live_reload_config"):this.live_reload_config,this.host=this.getConfigString("general","host")!==void 0?this.getConfigString("general","host"):this.host,this.getConfigString("gateway","host")!==void 0){let e={host:this.getConfigString("gateway","host")};this.getConfigString("gateway","protocol")!==void 0&&(e.protocol=this.getConfigString("gateway","protocol")),this.getConfigInt("gateway","port")!==void 0&&(e.port=this.getConfigInt("gateway","port")),this.getConfigString("gateway","path_params_login")!==void 0&&(e.path_params_login=this.getConfigString("gateway","path_params_login")),this.getConfigString("gateway","path_params_api")!==void 0&&(e.path_params_api=this.getConfigString("gateway","path_params_api")),this.getConfigString("gateway","username")!==void 0&&(e.username=this.getConfigString("gateway","username")),this.getConfigString("gateway","password")!==void 0&&(e.password=this.getConfigString("gateway","password")),this.setGateway(e)}else this.setGateway();this.setEnvironment(),this.logger.setLogger()}setGateway(e){e?(this.gateway={host:""},e.protocol?this.gateway.protocol=e.protocol:this.gateway.protocol="https",e.host?this.gateway.host=e.host:this.gateway.host="",e.port&&e.port>-1?this.gateway.port=e.port:this.gateway.port=-1,e.path_params_login?(this.gateway.path_params_login=e.path_params_login,this.gateway.path_params_login=this.gateway.path_params_login.replace(/\/+$/,"")):this.gateway.path_params_login="",e.path_params_api?(this.gateway.path_params_api=e.path_params_api,this.gateway.path_params_api=this.gateway.path_params_api.replace(/\/+$/,"")):this.gateway.path_params_api="",e.username&&(this.gateway.username=e.username),e.password&&(this.gateway.password=e.password)):this.gateway=void 0}setEnvironment(e){e?this.environment=e:this.environment=this.host?this.host:"mypurecloud.com",this.environment=this.environment.replace(/\/+$/,""),this.environment.startsWith("https://")&&(this.environment=this.environment.substring(8)),this.environment.startsWith("http://")&&(this.environment=this.environment.substring(7)),this.environment.startsWith("api.")&&(this.environment=this.environment.substring(4)),this.basePath=`https://api.${this.environment}`,this.authUrl=`https://login.${this.environment}`}getConfUrl(e,n){if(!this.gateway||!this.gateway.host)return n;var i=this.gateway.protocol+"://"+this.gateway.host;return this.gateway.port>-1&&(i=i+":"+this.gateway.port.toString()),e==="login"?this.gateway.path_params_login&&(this.gateway.path_params_login.startsWith("/")?i=i+this.gateway.path_params_login:i=i+"/"+this.gateway.path_params_login):this.gateway.path_params_api&&(this.gateway.path_params_api.startsWith("/")?i=i+this.gateway.path_params_api:i=i+"/"+this.gateway.path_params_api),i}getConfigString(e,n){if(this.config._sections[e])return this.config._sections[e][n]}getConfigBoolean(e,n){if(this.config._sections[e]&&this.config._sections[e][n]!==void 0)return typeof this.config._sections[e][n]=="string"?this.config._sections[e][n]==="true":this.config._sections[e][n]}getConfigInt(e,n){if(this.config._sections[e]&&this.config._sections[e][n])return typeof this.config._sections[e][n]=="string"?parseInt(this.config._sections[e][n]):this.config._sections[e][n]}},k=class t{get instance(){return t.instance}set instance(e){t.instance=e}constructor(){t.instance||(t.instance=this),this.CollectionFormatEnum={CSV:",",SSV:" ",TSV:" ",PIPES:"|",MULTI:"multi"},this.useLegacyParameterFilter=!1;try{localStorage.setItem("purecloud_local_storage_test","purecloud_local_storage_test"),localStorage.removeItem("purecloud_local_storage_test"),this.hasLocalStorage=!0}catch{this.hasLocalStorage=!1}this.authentications={"Guest Chat JWT":{type:"apiKey",in:"header",name:"Authorization"},"PureCloud OAuth":{type:"oauth2"}},this.defaultHeaders={},this.timeout=16e3,this.authData={},this.settingsPrefix="purecloud",this.refreshInProgress=!1,this.httpClient,this.proxyAgent,this.config=new XA,typeof window<"u"&&(window.ApiClient=this)}setReturnExtendedResponses(e){this.returnExtended=e}setPersistSettings(e,n){this.persistSettings=e,this.settingsPrefix=n?n.replace(/\W+/g,"_"):"purecloud"}_saveSettings(e){try{if(this.authData.accessToken=e.accessToken,this.authentications["PureCloud OAuth"].accessToken=e.accessToken,e.state&&(this.authData.state=e.state),this.authData.error=e.error,this.authData.error_description=e.error_description,e.tokenExpiryTime&&(this.authData.tokenExpiryTime=e.tokenExpiryTime,this.authData.tokenExpiryTimeString=e.tokenExpiryTimeString),this.persistSettings!==!0||!this.hasLocalStorage)return;let n=JSON.parse(JSON.stringify(this.authData));delete n.state,localStorage.setItem(`${this.settingsPrefix}_auth_data`,JSON.stringify(n))}catch(n){console.error(n)}}_loadSettings(){if(this.persistSettings!==!0||!this.hasLocalStorage)return;let e=this.authData.state;this.authData=localStorage.getItem(`${this.settingsPrefix}_auth_data`),this.authData?this.authData=JSON.parse(this.authData):this.authData={},this.authData.accessToken&&this.setAccessToken(this.authData.accessToken),this.authData.state=e}_clearSettings(){try{if(this.authData&&this.authData.accessToken&&(this.authData.accessToken=null),this.authentications["PureCloud OAuth"]&&this.authentications["PureCloud OAuth"].accessToken&&(this.authentications["PureCloud OAuth"].accessToken=null),this.authData&&this.authData.state&&(this.authData.state=null),this.authData&&this.authData.error&&(this.authData.error=null),this.authData&&this.authData.error_description&&(this.authData.error_description=null),this.authData&&this.authData.tokenExpiryTime&&(this.authData.tokenExpiryTime=0),this.authData&&this.authData.tokenExpiryTimeString&&(this.authData.tokenExpiryTimeString=null),this.persistSettings!==!0||!this.hasLocalStorage)return;let e=JSON.parse(JSON.stringify(this.authData));delete e.state,localStorage.setItem(`${this.settingsPrefix}_auth_data`,JSON.stringify(e))}catch(e){console.error(e)}}setEnvironment(e){this.config.setEnvironment(e)}setDefaultHeaders(e){if(!e||typeof e!="object")throw new Error("default headers must be a map");this.defaultHeaders=e}getDefaultHeaders(){return this.defaultHeaders}setGenesysAppHeader(e){if(!e||typeof e!="string")throw new Error("headerValue must be a non empty string");this.defaultHeaders?this.defaultHeaders["Genesys-App"]=e:this.defaultHeaders={"Genesys-App":e}}getGenesysAppHeader(){return this.defaultHeaders&&this.defaultHeaders["Genesys-App"]?this.defaultHeaders["Genesys-App"]:null}setHttpClient(e){if(!(e instanceof Vl))throw new Error("httpclient must be an instance of AbstractHttpClient. See DefaultltHttpClient for a prototype");this.httpClient=e}getHttpClient(){return this.httpClient?this.httpClient:(this.httpClient=new qd(this.timeout,this.proxyAgent),this.httpClient)}setMTLSCertificates(e,n,i){if(typeof window>"u"){let a={};e&&(a.cert=require("fs").readFileSync(e)),n&&(a.key=require("fs").readFileSync(n)),i&&(a.ca=require("fs").readFileSync(i)),a.rejectUnauthorized=!0,this.proxyAgent=new require("https").Agent(a),this.getHttpClient().setHttpsAgent(this.proxyAgent)}else throw new Error("MTLS authentication is managed by the Browser itself. MTLS certificates cannot be set via code on Browser.")}setPreHook(e){this.getHttpClient().setPreHook(e)}setPostHook(e){this.getHttpClient().setPostHook(e)}setMTLSContents(e,n,i){if(typeof window>"u"){let a={};e&&(a.cert=e),n&&(a.key=n),i&&(a.ca=i),a.rejectUnauthorized=!0,this.proxyAgent=new require("https").Agent(a),this.getHttpClient().setHttpsAgent(this.proxyAgent)}else throw new Error("MTLS authentication is managed by the Browser itself. MTLS certificates cannot be set via code on Browser.")}setGateway(e){this.config.setGateway(e)}loginImplicitGrant(e,n,i){let a=this._setValuesFromUrlHash();return this.clientId=e,this.redirectUri=n,i||(i={}),new Promise((r,s)=>{if(i.org&&!i.provider?s(new Error("opts.provider must be set if opts.org is set")):i.provider&&!i.org&&s(new Error("opts.org must be set if opts.provider is set")),a&&a.error)return a.accessToken=void 0,this._saveSettings(a),s(new Error(`[${a.error}] ${a.error_description}`));this._testTokenAccess().then(()=>{!this.authData.state&&i.state&&(this.authData.state=i.state),r(this.authData)}).catch(o=>{var l={client_id:encodeURIComponent(this.clientId),redirect_uri:encodeURIComponent(this.redirectUri),response_type:"token"};i.state&&(l.state=encodeURIComponent(i.state)),i.org&&(l.org=encodeURIComponent(i.org)),i.provider&&(l.provider=encodeURIComponent(i.provider)),i.prompt&&i.prompt=="login"&&(l.prompt=encodeURIComponent(i.prompt));var u=this._buildAuthUrl("oauth/authorize",l);window.location.replace(u)})})}loginClientCredentialsGrant(e,n){this.clientId=e;var i=Buffer.from(`${e}:${n}`).toString("base64"),a=this.config.getConfUrl("login",`https://login.${this.config.environment}`);return new Promise((r,s)=>{if(typeof window<"u"){s(new Error("The client credentials grant is not supported in a browser."));return}let o={Authorization:`Basic ${i}`};var l=new ra(`${a}/oauth/token`,"POST",o,null,"grant_type=client_credentials",this.timeout);this.getHttpClient().request(l).then(c=>{this.config.logger.log("trace",c.status,"POST",`${a}/oauth/token`,o,c.headers,{grant_type:"client_credentials"},void 0),this.config.logger.log("debug",c.status,"POST",`${a}/oauth/token`,o,void 0,{grant_type:"client_credentials"},void 0),this.setAccessToken(c.data.access_token),this.authData.tokenExpiryTime=new Date().getTime()+c.data.expires_in*1e3,this.authData.tokenExpiryTimeString=new Date(this.authData.tokenExpiryTime).toUTCString(),r(this.authData)}).catch(c=>{c.response&&this.config.logger.log("error",c.response.status,"POST",`${a}/oauth/token`,o,c.response.headers,{grant_type:"client_credentials"},c.response.data),s(c)})})}loginSaml2BearerGrant(e,n,i,a){this.clientId=e;var r=this.config.getConfUrl("login",`https://login.${this.config.environment}`);return new Promise((s,o)=>{if(typeof window<"u"){o(new Error("The saml2bearer grant is not supported in a browser."));return}var l=Buffer.from(e+":"+n).toString("base64"),u=this._formAuthRequest(l,{grant_type:"urn:ietf:params:oauth:grant-type:saml2-bearer",orgName:i,assertion:a});u.proxy=this.proxy;var c={grant_type:"urn:ietf:params:oauth:grant-type:saml2-bearer",orgName:i,assertion:a};u.then(p=>{this.config.logger.log("trace",p.status,"POST",`${r}/oauth/token`,u.headers,p.headers,c,void 0),this.config.logger.log("debug",p.status,"POST",`${r}/oauth/token`,u.headers,void 0,c,void 0);var h=p.data.access_token;this.setAccessToken(h),this.authData.tokenExpiryTime=new Date().getTime()+p.data.expires_in*1e3,this.authData.tokenExpiryTimeString=new Date(this.authData.tokenExpiryTime).toUTCString(),s(this.authData)}).catch(p=>{p.response&&this.config.logger.log("error",p.response.status,"POST",`${r}/oauth/token`,u.headers,p.response.headers,c,p.response.data),o(p)})})}authorizePKCEGrant(e,n,i,a){this.clientId=e;var r=this.config.getConfUrl("login",`https://login.${this.config.environment}`);return new Promise((s,o)=>{var l={"Content-Type":"application/x-www-form-urlencoded"},u=XR.default.stringify({grant_type:"authorization_code",code:i,code_verifier:n,client_id:e,redirect_uri:a}),c=new ra(`${r}/oauth/token`,"POST",l,null,u,this.timeout);let p=this.getHttpClient();var h={grant_type:"authorization_code",code:i,code_verifier:n,client_id:e,redirect_uri:a};p.request(c).then(d=>{this.config.logger.log("trace",d.status,"POST",`${r}/oauth/token`,c.headers,d.headers,h,void 0),this.config.logger.log("debug",d.status,"POST",`${r}/oauth/token`,c.headers,void 0,h,void 0);var g=d.data.access_token;let m={accessToken:g};d.data.expires_in!==null&&d.data.expires_in!==void 0&&(m.tokenExpiryTime=new Date().getTime()+d.data.expires_in*1e3,m.tokenExpiryTimeString=new Date(m.tokenExpiryTime).toUTCString()),this._saveSettings(m),s(this.authData)}).catch(d=>{d.response&&this.config.logger.log("error",d.response.status,"POST",`${r}/oauth/token`,c.headers,d.response.headers,h,d.response.data),o(d)})})}generatePKCECodeVerifier(e){if(e<43||e>128)throw new Error("PKCE Code Verifier (length) must be between 43 and 128 characters");if(typeof window>"u")try{let n=require("crypto").getRandomValues,i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~";return Array.from(n(new Uint32Array(e))).map(r=>i[r%i.length]).join("")}catch{throw new Error("Crypto module is missing/not supported.")}else{let n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~";return Array.from(crypto.getRandomValues(new Uint32Array(e))).map(a=>n[a%n.length]).join("")}}computePKCECodeChallenge(e){if(e.length<43||e.length>128)throw new Error("PKCE Code Verifier (length) must be between 43 and 128 characters");if(typeof window>"u")try{let n=require("crypto").createHash,i=new TextEncoder().encode(e);return new Promise((a,r)=>{let s=n("sha256").update(i).digest(),o=Buffer.from(s).toString("base64url");a(o)})}catch{throw new Error("Crypto module is missing/not supported.")}else{let n=new TextEncoder().encode(e);return new Promise((i,a)=>{window.crypto.subtle.digest("SHA-256",n).then(r=>{let o=btoa(String.fromCharCode(...new Uint8Array(r))).replaceAll("+","-").replaceAll("/","_");o=o.split("=")[0],i(o)}).catch(r=>a(new Error(`Code Challenge Error ${r}`)))})}}loginPKCEGrant(e,n,i,a){if(!this.hasLocalStorage&&!a)throw new Error("loginPKCEGrant requires Local Storage or codeVerifier as input parameter");let r=this._setValuesFromUrlQuery();return this.clientId=e,this.redirectUri=n,this.codeVerifier=a,i||(i={}),new Promise((s,o)=>{if(i.org&&!i.provider)return o(new Error("opts.provider must be set if opts.org is set"));if(i.provider&&!i.org)return o(new Error("opts.org must be set if opts.provider is set"));if(r&&r.error)return this.hasLocalStorage&&sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier"),this._saveSettings({accessToken:void 0}),o(new Error(`[${r.error}] ${r.error_description}`));r&&r.code?(this.codeVerifier||this.hasLocalStorage&&(this.codeVerifier=sessionStorage.getItem("genesys_cloud_sdk_pkce_code_verifier")),this.authorizePKCEGrant(this.clientId,this.codeVerifier,r.code,this.redirectUri).then(()=>{this._testTokenAccess().then(()=>{!this.authData.state&&r.state&&(this.authData.state=r.state),this.hasLocalStorage&&sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier"),s(this.authData)}).catch(l=>(this._saveSettings({accessToken:void 0}),this.hasLocalStorage&&sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier"),o(new Error(`[${l.name}] ${l.msg}`))))}).catch(l=>(this._saveSettings({accessToken:void 0}),this.hasLocalStorage&&sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier"),o(new Error(`[${l.name}] ${l.msg}`))))):this._testTokenAccess().then(()=>{!this.authData.state&&i.state&&(this.authData.state=i.state),s(this.authData)}).catch(l=>{this.codeVerifier||(this.codeVerifier=this.generatePKCECodeVerifier(128),this.hasLocalStorage&&sessionStorage.setItem("genesys_cloud_sdk_pkce_code_verifier",this.codeVerifier)),this.computePKCECodeChallenge(this.codeVerifier).then(u=>{var c={client_id:encodeURIComponent(this.clientId),redirect_uri:encodeURIComponent(this.redirectUri),code_challenge:encodeURIComponent(u),response_type:"code",code_challenge_method:"S256"};i.state&&(c.state=encodeURIComponent(i.state)),i.org&&(c.org=encodeURIComponent(i.org)),i.provider&&(c.provider=encodeURIComponent(i.provider)),i.prompt&&i.prompt=="login"&&(c.prompt=encodeURIComponent(i.prompt));var p=this._buildAuthUrl("oauth/authorize",c);window.location.replace(p)}).catch(u=>o(new Error(`[${u.name}]`)))})})}_setValuesFromUrlQuery(){if(!(typeof window<"u"&&window.location.search))return;let e={},n=new URLSearchParams(window.location.search),i=n.get("code"),a=n.get("error"),r=n.get("error_description"),s=n.get("state");if(a)return e.error=a,r&&(e.error_description=r),e;i&&(e.code=i,s&&(e.state=s));var o,l,u=window.location;return"replaceState"in history?history.replaceState("",document.title,u.pathname):(o=document.body.scrollTop,l=document.body.scrollLeft,history.pushState("",document.title,u.pathname),document.body.scrollTop=o,document.body.scrollLeft=l),e}loginCodeAuthorizationGrant(e,n,i,a){return this.clientId=e,this.clientSecret=n,new Promise((r,s)=>{if(typeof window<"u"){s(new Error("The Code Authorization grant is not supported in a browser."));return}var o=Buffer.from(e+":"+n).toString("base64"),l=this._formAuthRequest(o,{grant_type:"authorization_code",code:i,redirect_uri:a});l.proxy=this.proxy;var u={grant_type:"authorization_code",code:i,redirect_uri:a};this._handleCodeAuthorizationResponse(l,u,r,s)})}refreshCodeAuthorizationGrant(e,n,i){return new Promise((a,r)=>{if(typeof window<"u"){r(new Error("The Code Authorization grant is not supported in a browser."));return}var s=Buffer.from(e+":"+n).toString("base64"),o=this._formAuthRequest(s,{grant_type:"refresh_token",refresh_token:i});o.proxy=this.proxy;var l={grant_type:"refresh_token",refresh_token:i};this._handleCodeAuthorizationResponse(o,l,a,r)})}_handleCodeAuthorizationResponse(e,n,i,a){var r=this.config.getConfUrl("login",`https://login.${this.config.environment}`);e.then(s=>{this.config.logger.log("trace",s.status,"POST",`${r}/oauth/token`,e.headers,s.headers,n,void 0),this.config.logger.log("debug",s.status,"POST",`${r}/oauth/token`,e.headers,void 0,n,void 0);var o=s.data.access_token,l=s.data.refresh_token;this.setAccessToken(o),this.authData.refreshToken=l,this.authData.tokenExpiryTime=new Date().getTime()+s.data.expires_in*1e3,this.authData.tokenExpiryTimeString=new Date(this.authData.tokenExpiryTime).toUTCString(),i(this.authData)}).catch(s=>{s.response&&this.config.logger.log("error",s.response.status,"POST",`${r}/oauth/token`,e.headers,s.response.headers,n,s.response.data),a(s)})}_formAuthRequest(e,n){var i=this.config.getConfUrl("login",`https://login.${this.config.environment}`),a={Authorization:"Basic "+e,"Content-Type":"application/x-www-form-urlencoded"},r=new ra(`${i}/oauth/token`,"POST",a,null,XR.default.stringify(n),this.timeout);return this.getHttpClient().request(r)}_handleExpiredAccessToken(){return new Promise((e,n)=>{if(typeof window<"u"){n(new Error("This method is not supported in a browser."));return}this.refreshInProgress?this._sleep(this.config.refresh_token_wait_max).then(()=>{this.refreshInProgress?n(new Error(`Token refresh took longer than ${this.config.refresh_token_wait_max} seconds`)):e()}):(this.refreshInProgress=!0,this.refreshCodeAuthorizationGrant(this.clientId,this.clientSecret,this.authData.refreshToken).then(()=>{this.refreshInProgress=!1,e()}).catch(i=>{this.refreshInProgress=!1,n(i)}))})}_sleep(e){return new Promise(n=>setTimeout(n,e))}_testTokenAccess(){return new Promise((e,n)=>{if(this._loadSettings(),!this.authentications["PureCloud OAuth"].accessToken){n(new Error("Token is not set"));return}this.callApi("/api/v2/tokens/me","GET",null,null,null,null,null,["PureCloud OAuth"],["application/json"],["application/json"]).then(()=>{e()}).catch(i=>{this._saveSettings({accessToken:void 0}),n(i)})})}_setValuesFromUrlHash(){if(!(typeof window<"u"&&window.location.hash))return;let e=new RegExp("^#*(.+?)=(.+?)$","i"),n={};if(window.location.hash.split("&").forEach(s=>{let o=e.exec(s);o&&(n[o[1]]=decodeURIComponent(decodeURIComponent(o[2].replace(/\+/g,"%20"))))}),n.error)return n;if(n.access_token){let s={};n.state&&(s.state=n.state),n.expires_in&&(s.tokenExpiryTime=new Date().getTime()+parseInt(n.expires_in.replace(/\+/g,"%20"))*1e3,s.tokenExpiryTimeString=new Date(s.tokenExpiryTime).toUTCString()),s.accessToken=n.access_token.replace(/\+/g,"%20");var i,a,r=window.location;"replaceState"in history?history.replaceState("",document.title,r.pathname+r.search):(i=document.body.scrollTop,a=document.body.scrollLeft,r.hash="",document.body.scrollTop=i,document.body.scrollLeft=a),this._saveSettings(s)}}setAccessToken(e){this._saveSettings({accessToken:e})}clearAccessToken(){this._clearSettings()}setStorageKey(e){this.storageKey=e,this.setAccessToken(this.authentications["PureCloud OAuth"].accessToken)}logout(e){this.hasLocalStorage&&this._saveSettings({accessToken:void 0,state:void 0,tokenExpiryTime:void 0,tokenExpiryTimeString:void 0});var n={client_id:encodeURIComponent(this.clientId)};e&&(n.redirect_uri=encodeURI(e));var i=this._buildAuthUrl("logout",n);window.location.replace(i)}_buildAuthUrl(e,n){n||(n={});var i=this.config.getConfUrl("login",this.config.authUrl);return Object.keys(n).reduce((a,r)=>n[r]?`${a}&${r}=${n[r]}`:a,`${i}/${e}?`)}setUseLegacyParameterFilter(e){this.useLegacyParameterFilter=e}getUseLegacyParameterFilter(){return this.useLegacyParameterFilter}paramToString(e){if(this.useLegacyParameterFilter!==!0&&e!=null){if(typeof e=="boolean")return e.toString().toLowerCase();if(e instanceof Boolean)return e.toString().toLowerCase();if(typeof e=="number")return e.toString()}return e?e instanceof Date?e.toJSON():e instanceof Boolean?e.toString().toLowerCase():e.toString():""}serialize(e){var n={};for(var i in e)e.hasOwnProperty(i)&&e[i]!==void 0&&(n[encodeURIComponent(i)]=Array.isArray(e[i])?e[i].join(","):this.paramToString(e[i]));return n}addHeaders(e,...n){return e?e=Object.assign(e,...n):e=Object.assign(...n),e}buildUrl(e,n){e.match(/^\//)||(e=`/${e}`);var i=this.config.getConfUrl("api",this.config.basePath)+e;return i=i.replace(/\{([\w-]+)\}/g,(a,r)=>{var s;return n.hasOwnProperty(r)?s=this.paramToString(n[r]):s=a,encodeURIComponent(s)}),i}isJsonMime(e){return!!(e&&e.match(/^application\/json(;.*)?$/i))}jsonPreferredMime(e){for(var n=0;n"u"&&typeof require=="function"&&require("fs")&&e instanceof require("fs").ReadStream||typeof Buffer=="function"&&e instanceof Buffer||typeof Blob=="function"&&e instanceof Blob||typeof File=="function"&&e instanceof File)}normalizeParams(e){var n={};for(var i in e)if(e.hasOwnProperty(i)&&e[i]!==void 0){var a=e[i];this.isFileParam(a)||Array.isArray(a)?n[i]=a:n[i]=this.paramToString(a)}return n}buildCollectionParam(e,n){if(e)switch(Array.isArray(e)||(e=[e]),n){case"csv":return e.map(i=>this.paramToString(i)).join(",");case"ssv":return e.map(i=>this.paramToString(i)).join(" ");case"tsv":return e.map(i=>this.paramToString(i)).join(" ");case"pipes":return e.map(i=>this.paramToString(i)).join("|");case"multi":return e.map(i=>this.paramToString(i));default:throw new Error(`Unknown collection format: ${n}`)}}applyAuthToRequest(e,n){n.forEach(i=>{var a=this.authentications[i];switch(a.type){case"basic":(a.username||a.password)&&(e.auth={username:a.username||"",password:a.password||""});break;case"apiKey":if(a.apiKey){var r={};a.apiKeyPrefix?r[a.name]=`${a.apiKeyPrefix} ${a.apiKey}`:r[a.name]=a.apiKey,a.in==="header"?e.headers=this.addHeaders(e.headers,r):(e.setParams(this.serialize(r)),e.headers=this.addHeaders(e.headers,{}))}else e.headers=this.addHeaders(e.headers,{});break;case"oauth2":a.accessToken?e.headers=this.addHeaders(e.headers,{Authorization:`Bearer ${a.accessToken}`}):e.headers=this.addHeaders(e.headers,{});break;default:throw new Error(`Unknown authentication type: ${a.type}`)}})}setProxyAgent(e){this.proxyAgent=e,this.getHttpClient().setHttpsAgent(this.proxyAgent)}callApi(e,n,i,a,r,s,o,l,u,c,p){return new Promise((h,d)=>{g(this);function g(m){var f=m.buildUrl(e,i),w=new ra(f,n,null,m.serialize(a),null,m.timeout);m.applyAuthToRequest(w,l);let b=m.defaultHeaders,A=m.normalizeParams(r);if(w.headers=m.addHeaders(w.headers,b,A),p){if(typeof p!="object")throw new Error("Per-request headers must be a valid object");for(let[T,Q]of Object.entries(p)){if(typeof T!="string"||typeof Q!="string")throw new Error(`Invalid header: "${T}" must have string name and value`);if(!/^[!#$%&'*+\-.0-9A-Z^_`a-z|~]+$/.test(T))throw new Error(`Invalid header name: "${T}" - must be a valid HTTP token`);for(let re=0;re=33&&ie<=126||ie===32||ie===9||ie>=128&&ie<=255))throw new Error(`Invalid header value for "${T}": contains invalid characters`)}w.headers[T]=Q}}var y=m.jsonPreferredMime(u);if(y?w.headers["Content-Type"]=y:w.headers["Content-Type"]||(w.headers["Content-Type"]="application/json"),y==="application/x-www-form-urlencoded")w.setData(m.normalizeParams(s));else if(y=="multipart/form-data"){var S=m.normalizeParams(s);for(var q in S)if(S.hasOwnProperty(q)){var N=new FormData;N.set(q,S[q]),w.setData(N)}}else o&&w.setData(o);var X=m.jsonPreferredMime(c);X&&(w.headers.Accept=X),m.getHttpClient().request(w).then(T=>{var Q=m.returnExtended===!0?{status:T.status,statusText:T.statusText,headers:T.headers,body:T.data,text:T.text,error:null}:T.data?T.data:T.text;m.config.logger.log("trace",T.status,n,f,w.headers,T.headers,o,void 0),m.config.logger.log("debug",T.status,n,f,w.headers,void 0,o,void 0),h(Q)}).catch(T=>{var Q=T;T.response&&T.response.status==401&&m.config.refresh_access_token&&m.authData.refreshToken&&m.authData.refreshToken!==""?m._handleExpiredAccessToken().then(()=>{g(m)}).catch(re=>{d(re)}):T.response&&(m.config.logger.log("error",T.response.status,n,f,w.headers,T.response.headers,o,T.response.data),Q=m.returnExtended===!0?{status:T.response.status,statusText:T.response.statusText,headers:T.response.headers,body:T.response.data,text:T.response.text,error:T}:T.response.data?T.response.data:T.response.text),d(Q)})}})}},eb=class{constructor(e){this.apiClient=e||k.instance}deleteConversationsSummariesSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "summarySettingId" when calling deleteConversationsSummariesSetting';return this.apiClient.callApi("/api/v2/conversations/summaries/settings/{summarySettingId}","DELETE",{summarySettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteGuideJobs(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling deleteGuideJobs';return this.apiClient.callApi("/api/v2/guides/{guideId}/jobs","DELETE",{guideId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsSummariesSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "summarySettingId" when calling getConversationsSummariesSetting';return this.apiClient.callApi("/api/v2/conversations/summaries/settings/{summarySettingId}","GET",{summarySettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsSummariesSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/summaries/settings","GET",{},{language:e.language,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder,pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGuide(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling getGuide';return this.apiClient.callApi("/api/v2/guides/{guideId}","GET",{guideId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGuideJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling getGuideJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getGuideJob';return this.apiClient.callApi("/api/v2/guides/{guideId}/jobs/{jobId}","GET",{guideId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGuideVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling getGuideVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getGuideVersion';return this.apiClient.callApi("/api/v2/guides/{guideId}/versions/{versionId}","GET",{guideId:e,versionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGuideVersionJob(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling getGuideVersionJob';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getGuideVersionJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getGuideVersionJob';return this.apiClient.callApi("/api/v2/guides/{guideId}/versions/{versionId}/jobs/{jobId}","GET",{guideId:e,versionId:n,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getGuides(e){return e=e||{},this.apiClient.callApi("/api/v2/guides","GET",{},{name:e.name,nameContains:e.nameContains,status:e.status,sortBy:e.sortBy,sortOrder:e.sortOrder,pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGuidesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getGuidesJob';return this.apiClient.callApi("/api/v2/guides/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchGuide(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling patchGuide';if(n==null)throw'Missing the required parameter "body" when calling patchGuide';return this.apiClient.callApi("/api/v2/guides/{guideId}","PATCH",{guideId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchGuideVersion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling patchGuideVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling patchGuideVersion';if(i==null)throw'Missing the required parameter "body" when calling patchGuideVersion';return this.apiClient.callApi("/api/v2/guides/{guideId}/versions/{versionId}","PATCH",{guideId:e,versionId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsSummariesPreview(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsSummariesPreview';return this.apiClient.callApi("/api/v2/conversations/summaries/preview","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsSummariesSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsSummariesSettings';return this.apiClient.callApi("/api/v2/conversations/summaries/settings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGuideSessionTurns(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling postGuideSessionTurns';if(n==null||n==="")throw'Missing the required parameter "guideSessionId" when calling postGuideSessionTurns';if(i==null)throw'Missing the required parameter "body" when calling postGuideSessionTurns';return this.apiClient.callApi("/api/v2/guides/{guideId}/sessions/{guideSessionId}/turns","POST",{guideId:e,guideSessionId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postGuideVersionJobs(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling postGuideVersionJobs';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling postGuideVersionJobs';if(i==null)throw'Missing the required parameter "body" when calling postGuideVersionJobs';return this.apiClient.callApi("/api/v2/guides/{guideId}/versions/{versionId}/jobs","POST",{guideId:e,versionId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postGuideVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling postGuideVersions';return this.apiClient.callApi("/api/v2/guides/{guideId}/versions","POST",{guideId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGuides(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGuides';return this.apiClient.callApi("/api/v2/guides","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGuidesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGuidesJobs';return this.apiClient.callApi("/api/v2/guides/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGuidesUploads(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGuidesUploads';return this.apiClient.callApi("/api/v2/guides/uploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsSummariesSetting(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "summarySettingId" when calling putConversationsSummariesSetting';if(n==null)throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';return this.apiClient.callApi("/api/v2/conversations/summaries/settings/{summarySettingId}","PUT",{summarySettingId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},nb=class{constructor(e){this.apiClient=e||k.instance}deleteAssistant(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling deleteAssistant';return this.apiClient.callApi("/api/v2/assistants/{assistantId}","DELETE",{assistantId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAssistantQueue(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling deleteAssistantQueue';if(n==null||n==="")throw'Missing the required parameter "queueId" when calling deleteAssistantQueue';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}","DELETE",{assistantId:e,queueId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAssistantQueues(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling deleteAssistantQueues';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues","DELETE",{assistantId:e},{queueIds:n.queueIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAssistantsAgentchecklist(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentChecklistId" when calling deleteAssistantsAgentchecklist';return this.apiClient.callApi("/api/v2/assistants/agentchecklists/{agentChecklistId}","DELETE",{agentChecklistId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAssistant(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistant';return this.apiClient.callApi("/api/v2/assistants/{assistantId}","GET",{assistantId:e},{expand:n.expand,languageVariation:n.languageVariation,fallbackToPrimaryAssistant:n.fallbackToPrimaryAssistant},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAssistantQueue(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistantQueue';if(n==null||n==="")throw'Missing the required parameter "queueId" when calling getAssistantQueue';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}","GET",{assistantId:e,queueId:n},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAssistantQueueUsersJob(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistantQueueUsersJob';if(n==null||n==="")throw'Missing the required parameter "queueId" when calling getAssistantQueueUsersJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getAssistantQueueUsersJob';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}/users/jobs/{jobId}","GET",{assistantId:e,queueId:n,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getAssistantQueues(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistantQueues';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues","GET",{assistantId:e},{before:n.before,after:n.after,pageSize:n.pageSize,expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAssistants(e){return e=e||{},this.apiClient.callApi("/api/v2/assistants","GET",{},{before:e.before,after:e.after,limit:e.limit,pageSize:e.pageSize,name:e.name,expand:e.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAssistantsAgentchecklist(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentChecklistId" when calling getAssistantsAgentchecklist';return this.apiClient.callApi("/api/v2/assistants/agentchecklists/{agentChecklistId}","GET",{agentChecklistId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAssistantsAgentchecklists(e){return e=e||{},this.apiClient.callApi("/api/v2/assistants/agentchecklists","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,namePrefix:e.namePrefix,language:e.language,sortOrder:e.sortOrder,sortBy:e.sortBy},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAssistantsAgentchecklistsLanguages(e){return e=e||{},this.apiClient.callApi("/api/v2/assistants/agentchecklists/languages","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAssistantsQueues(e){return e=e||{},this.apiClient.callApi("/api/v2/assistants/queues","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,queueIds:e.queueIds,expand:e.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchAssistant(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling patchAssistant';if(n==null)throw'Missing the required parameter "body" when calling patchAssistant';return this.apiClient.callApi("/api/v2/assistants/{assistantId}","PATCH",{assistantId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchAssistantQueues(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling patchAssistantQueues';if(n==null)throw'Missing the required parameter "body" when calling patchAssistantQueues';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues","PATCH",{assistantId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAssistantQueueUsersBulkAdd(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersBulkAdd';if(n==null||n==="")throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersBulkAdd';if(i==null)throw'Missing the required parameter "body" when calling postAssistantQueueUsersBulkAdd';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}/users/bulk/add","POST",{assistantId:e,queueId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAssistantQueueUsersBulkRemove(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersBulkRemove';if(n==null||n==="")throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersBulkRemove';if(i==null)throw'Missing the required parameter "body" when calling postAssistantQueueUsersBulkRemove';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}/users/bulk/remove","POST",{assistantId:e,queueId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAssistantQueueUsersJobs(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersJobs';if(n==null||n==="")throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersJobs';if(i==null)throw'Missing the required parameter "body" when calling postAssistantQueueUsersJobs';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}/users/jobs","POST",{assistantId:e,queueId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAssistantQueueUsersQuery(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersQuery';if(n==null||n==="")throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersQuery';if(i==null)throw'Missing the required parameter "body" when calling postAssistantQueueUsersQuery';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}/users/query","POST",{assistantId:e,queueId:n},{expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAssistants(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAssistants';return this.apiClient.callApi("/api/v2/assistants","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAssistantsAgentchecklists(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAssistantsAgentchecklists';return this.apiClient.callApi("/api/v2/assistants/agentchecklists","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putAssistantQueue(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling putAssistantQueue';if(n==null||n==="")throw'Missing the required parameter "queueId" when calling putAssistantQueue';if(i==null)throw'Missing the required parameter "body" when calling putAssistantQueue';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}","PUT",{assistantId:e,queueId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putAssistantsAgentchecklist(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentChecklistId" when calling putAssistantsAgentchecklist';if(n==null)throw'Missing the required parameter "body" when calling putAssistantsAgentchecklist';return this.apiClient.callApi("/api/v2/assistants/agentchecklists/{agentChecklistId}","PUT",{agentChecklistId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},ib=class{constructor(e){this.apiClient=e||k.instance}getAssistantCopilot(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistantCopilot';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/copilot","GET",{assistantId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAssistantsCopilotFeaturesupport(e){return e=e||{},this.apiClient.callApi("/api/v2/assistants/copilot/featuresupport","GET",{},{language:e.language},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putAssistantCopilot(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling putAssistantCopilot';if(n==null)throw'Missing the required parameter "body" when calling putAssistantCopilot';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/copilot","PUT",{assistantId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},tb=class{constructor(e){this.apiClient=e||k.instance}deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","DELETE",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersAgentuiAgentsAutoanswerAgentIdSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","GET",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUsersAgentuiAgentsAutoanswerAgentIdSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';if(n==null)throw'Missing the required parameter "body" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","PATCH",{agentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUsersAgentuiAgentsAutoanswerAgentIdSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';if(n==null)throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","PUT",{agentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},ab=class{constructor(e){this.apiClient=e||k.instance}deleteAlertingAlert(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "alertId" when calling deleteAlertingAlert';return this.apiClient.callApi("/api/v2/alerting/alerts/{alertId}","DELETE",{alertId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAlertingAlertsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/alerting/alerts/all","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteAlertingRule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling deleteAlertingRule';return this.apiClient.callApi("/api/v2/alerting/rules/{ruleId}","DELETE",{ruleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAlertingAlert(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "alertId" when calling getAlertingAlert';return this.apiClient.callApi("/api/v2/alerting/alerts/{alertId}","GET",{alertId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAlertingRule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling getAlertingRule';return this.apiClient.callApi("/api/v2/alerting/rules/{ruleId}","GET",{ruleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchAlertingAlert(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "alertId" when calling patchAlertingAlert';return this.apiClient.callApi("/api/v2/alerting/alerts/{alertId}","PATCH",{alertId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchAlertingAlertsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/alerting/alerts/all","PATCH",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchAlertingAlertsBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchAlertingAlertsBulk';return this.apiClient.callApi("/api/v2/alerting/alerts/bulk","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchAlertingRulesBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchAlertingRulesBulk';return this.apiClient.callApi("/api/v2/alerting/rules/bulk","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAlertingAlertsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/alerting/alerts/query","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postAlertingRules(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAlertingRules';return this.apiClient.callApi("/api/v2/alerting/rules","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAlertingRulesBulkRemove(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAlertingRulesBulkRemove';return this.apiClient.callApi("/api/v2/alerting/rules/bulk/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAlertingRulesQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/alerting/rules/query","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putAlertingAlert(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "alertId" when calling putAlertingAlert';return this.apiClient.callApi("/api/v2/alerting/alerts/{alertId}","PUT",{alertId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putAlertingRule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling putAlertingRule';if(n==null)throw'Missing the required parameter "body" when calling putAlertingRule';return this.apiClient.callApi("/api/v2/alerting/rules/{ruleId}","PUT",{ruleId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},rb=class{constructor(e){this.apiClient=e||k.instance}deleteAnalyticsActionsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsActionsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/actions/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsAgentcopilotsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsAgentcopilotsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsAgentutilizationsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsAgentutilizationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/agentutilizations/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsBotsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsBotsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/bots/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsCasemanagementAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsCasemanagementAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsConversationsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsConversationsDetailsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsDetailsJob';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsCopilotsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsCopilotsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/copilots/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsEvaluationsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsEvaluationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsFlowexecutionsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsFlowexecutionsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsFlowsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsFlowsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsJourneysAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsJourneysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsKnowledgeAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsKnowledgeAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/knowledge/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsResolutionsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsResolutionsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/resolutions/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsSummariesAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsSummariesAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/summaries/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsSurveysAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsSurveysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsTaskmanagementAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsTaskmanagementAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/taskmanagement/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsTranscriptsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsTranscriptsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/transcripts/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsUsersAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsUsersDetailsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersDetailsJob';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsActionsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/actions/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsActionsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/actions/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsAgentStatus(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getAnalyticsAgentStatus';return this.apiClient.callApi("/api/v2/analytics/agents/{userId}/status","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsAgentcopilotsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsAgentcopilotsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsAgentutilizationsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsAgentutilizationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/agentutilizations/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsAgentutilizationsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsAgentutilizationsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/agentutilizations/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsBotflowDivisionsReportingturns(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowDivisionsReportingturns';return this.apiClient.callApi("/api/v2/analytics/botflows/{botFlowId}/divisions/reportingturns","GET",{botFlowId:e},{after:n.after,pageSize:n.pageSize,interval:n.interval,actionId:n.actionId,sessionId:n.sessionId,language:n.language,askActionResults:n.askActionResults},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsBotflowReportingturns(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowReportingturns';return this.apiClient.callApi("/api/v2/analytics/botflows/{botFlowId}/reportingturns","GET",{botFlowId:e},{after:n.after,pageSize:n.pageSize,interval:n.interval,actionId:n.actionId,sessionId:n.sessionId,language:n.language,askActionResults:n.askActionResults},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsBotflowSessions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowSessions';return this.apiClient.callApi("/api/v2/analytics/botflows/{botFlowId}/sessions","GET",{botFlowId:e},{after:n.after,pageSize:n.pageSize,interval:n.interval,botResultCategories:n.botResultCategories,endLanguage:n.endLanguage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsBotsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsBotsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/bots/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsBotsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsBotsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/bots/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsCasemanagementAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsCasemanagementAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsCasemanagementAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsCasemanagementAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsConversationDetails(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getAnalyticsConversationDetails';return this.apiClient.callApi("/api/v2/analytics/conversations/{conversationId}/details","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsConversationsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsConversationsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsConversationsDetails(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/conversations/details","GET",{},{id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsConversationsDetailsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsDetailsJob';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsConversationsDetailsJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsDetailsJobResults';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsConversationsDetailsJobsAvailability(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/availability","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsCopilotsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsCopilotsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/copilots/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsCopilotsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsCopilotsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/copilots/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsDataextractionDownload(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "downloadId" when calling getAnalyticsDataextractionDownload';return this.apiClient.callApi("/api/v2/analytics/dataextraction/downloads/{downloadId}","GET",{downloadId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsDataextractionDownloadsMetadata(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/dataextraction/downloads/metadata","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,dataSchema:e.dataSchema,dateStart:e.dateStart,dateEnd:e.dateEnd},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsDataretentionSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/dataretention/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsEvaluationsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsEvaluationsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsFlowexecutionsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsFlowexecutionsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsFlowsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsFlowsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsJourneysAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsJourneysAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsKnowledgeAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsKnowledgeAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/knowledge/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsKnowledgeAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsKnowledgeAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/knowledge/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsReportingDashboardsUser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getAnalyticsReportingDashboardsUser';return this.apiClient.callApi("/api/v2/analytics/reporting/dashboards/users/{userId}","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsReportingDashboardsUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/reporting/dashboards/users","GET",{},{sortBy:e.sortBy,pageNumber:e.pageNumber,pageSize:e.pageSize,id:this.apiClient.buildCollectionParam(e.id,"multi"),state:e.state,deletedOnly:e.deletedOnly},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsReportingExports(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/reporting/exports","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsReportingExportsMetadata(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/reporting/exports/metadata","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsReportingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/reporting/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsReportingSettingsDashboardsQuery(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "dashboardType" when calling getAnalyticsReportingSettingsDashboardsQuery';if(n==null)throw'Missing the required parameter "dashboardAccessFilter" when calling getAnalyticsReportingSettingsDashboardsQuery';return this.apiClient.callApi("/api/v2/analytics/reporting/settings/dashboards/query","GET",{},{name:i.name,dashboardType:e,dashboardState:i.dashboardState,dashboardAccessFilter:n,sortBy:i.sortBy,pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsReportingSettingsUserDashboards(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getAnalyticsReportingSettingsUserDashboards';return this.apiClient.callApi("/api/v2/analytics/reporting/settings/users/{userId}/dashboards","GET",{userId:e},{sortBy:n.sortBy,pageNumber:n.pageNumber,pageSize:n.pageSize,publicOnly:n.publicOnly,favoriteOnly:n.favoriteOnly,deletedOnly:n.deletedOnly,name:n.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsResolutionsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsResolutionsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/resolutions/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsResolutionsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsResolutionsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/resolutions/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsSummariesAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/summaries/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsSummariesAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/summaries/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsSurveysAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsSurveysAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsTaskmanagementAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsTaskmanagementAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/taskmanagement/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsTaskmanagementAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsTaskmanagementAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/taskmanagement/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsTranscriptsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsTranscriptsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/transcripts/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsTranscriptsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsTranscriptsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/transcripts/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsUsersAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsUsersAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsUsersDetailsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersDetailsJob';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsUsersDetailsJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersDetailsJobResults';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsUsersDetailsJobsAvailability(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/users/details/jobs/availability","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchAnalyticsReportingSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchAnalyticsReportingSettings';return this.apiClient.callApi("/api/v2/analytics/reporting/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsActionsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/actions/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsActionsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/actions/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsAgentcopilotsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/agentcopilots/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsAgentcopilotsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/agentcopilots/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsAgentsStatusCounts(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsAgentsStatusCounts';return this.apiClient.callApi("/api/v2/analytics/agents/status/counts","POST",{},{groupBy:this.apiClient.buildCollectionParam(n.groupBy,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsAgentsStatusQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsAgentsStatusQuery';return this.apiClient.callApi("/api/v2/analytics/agents/status/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsAgentutilizationsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsAgentutilizationsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/agentutilizations/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsAgentutilizationsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsAgentutilizationsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/agentutilizations/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsBotsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsBotsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/bots/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsBotsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsBotsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/bots/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsCasemanagementAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsCasemanagementAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/casemanagement/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsCasemanagementAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsCasemanagementAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/casemanagement/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsConversationDetailsProperties(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postAnalyticsConversationDetailsProperties';if(n==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationDetailsProperties';return this.apiClient.callApi("/api/v2/analytics/conversations/{conversationId}/details/properties","POST",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsConversationsActivityQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsActivityQuery';return this.apiClient.callApi("/api/v2/analytics/conversations/activity/query","POST",{},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsConversationsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsConversationsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsConversationsDetailsJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsDetailsJobs';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsConversationsDetailsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsDetailsQuery';return this.apiClient.callApi("/api/v2/analytics/conversations/details/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsCopilotsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsCopilotsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/copilots/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsCopilotsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsCopilotsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/copilots/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsDataextractionDownloadsBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsDataextractionDownloadsBulk';return this.apiClient.callApi("/api/v2/analytics/dataextraction/downloads/bulk","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsEvaluationsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsEvaluationsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsFlowexecutionsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/flowexecutions/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsFlowexecutionsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/flowexecutions/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsFlowsActivityQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsActivityQuery';return this.apiClient.callApi("/api/v2/analytics/flows/activity/query","POST",{},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsFlowsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsFlowsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsFlowsObservationsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';return this.apiClient.callApi("/api/v2/analytics/flows/observations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsJourneysAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsJourneysAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsJourneysAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsJourneysAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsKnowledgeAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsKnowledgeAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/knowledge/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsKnowledgeAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsKnowledgeAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/knowledge/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsQueuesObservationsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';return this.apiClient.callApi("/api/v2/analytics/queues/observations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsRatelimitsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/ratelimits/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsReportingDashboardsUsersBulkRemove(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsReportingDashboardsUsersBulkRemove';return this.apiClient.callApi("/api/v2/analytics/reporting/dashboards/users/bulk/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsReportingExports(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsReportingExports';return this.apiClient.callApi("/api/v2/analytics/reporting/exports","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsReportingSettingsDashboardsBulkRemove(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsReportingSettingsDashboardsBulkRemove';return this.apiClient.callApi("/api/v2/analytics/reporting/settings/dashboards/bulk/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsReportingSettingsDashboardsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsReportingSettingsDashboardsQuery';return this.apiClient.callApi("/api/v2/analytics/reporting/settings/dashboards/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsResolutionsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsResolutionsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/resolutions/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsResolutionsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsResolutionsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/resolutions/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsRoutingActivityQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsRoutingActivityQuery';return this.apiClient.callApi("/api/v2/analytics/routing/activity/query","POST",{},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsSummariesAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsSummariesAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/summaries/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsSummariesAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsSummariesAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/summaries/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsSurveysAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsSurveysAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsTaskmanagementAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTaskmanagementAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/taskmanagement/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsTaskmanagementAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTaskmanagementAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/taskmanagement/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsTaskmanagementMetricsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTaskmanagementMetricsQuery';return this.apiClient.callApi("/api/v2/analytics/taskmanagement/metrics/query","POST",{},{after:n.after,pageSize:n.pageSize},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsTeamsActivityQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTeamsActivityQuery';return this.apiClient.callApi("/api/v2/analytics/teams/activity/query","POST",{},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsTranscriptsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTranscriptsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/transcripts/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsTranscriptsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTranscriptsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/transcripts/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsUsersActivityQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersActivityQuery';return this.apiClient.callApi("/api/v2/analytics/users/activity/query","POST",{},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsUsersAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsUsersAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsUsersDetailsJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersDetailsJobs';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsUsersDetailsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersDetailsQuery';return this.apiClient.callApi("/api/v2/analytics/users/details/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsUsersObservationsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersObservationsQuery';return this.apiClient.callApi("/api/v2/analytics/users/observations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putAnalyticsDataretentionSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';return this.apiClient.callApi("/api/v2/analytics/dataretention/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},sb=class{constructor(e){this.apiClient=e||k.instance}deleteArchitectEmergencygroup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "emergencyGroupId" when calling deleteArchitectEmergencygroup';return this.apiClient.callApi("/api/v2/architect/emergencygroups/{emergencyGroupId}","DELETE",{emergencyGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteArchitectGrammar(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling deleteArchitectGrammar';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}","DELETE",{grammarId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteArchitectGrammarLanguage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling deleteArchitectGrammarLanguage';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling deleteArchitectGrammarLanguage';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}","DELETE",{grammarId:e,languageCode:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteArchitectGrammarLanguageFilesDtmf(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling deleteArchitectGrammarLanguageFilesDtmf';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling deleteArchitectGrammarLanguageFilesDtmf';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}/files/dtmf","DELETE",{grammarId:e,languageCode:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteArchitectGrammarLanguageFilesVoice(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling deleteArchitectGrammarLanguageFilesVoice';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling deleteArchitectGrammarLanguageFilesVoice';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}/files/voice","DELETE",{grammarId:e,languageCode:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteArchitectIvr(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ivrId" when calling deleteArchitectIvr';return this.apiClient.callApi("/api/v2/architect/ivrs/{ivrId}","DELETE",{ivrId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteArchitectPrompt(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling deleteArchitectPrompt';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}","DELETE",{promptId:e},{allResources:n.allResources},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteArchitectPromptResource(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling deleteArchitectPromptResource';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling deleteArchitectPromptResource';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources/{languageCode}","DELETE",{promptId:e,languageCode:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteArchitectPromptResourceAudio(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling deleteArchitectPromptResourceAudio';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling deleteArchitectPromptResourceAudio';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources/{languageCode}/audio","DELETE",{promptId:e,languageCode:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteArchitectPrompts(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling deleteArchitectPrompts';return this.apiClient.callApi("/api/v2/architect/prompts","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteArchitectSchedule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scheduleId" when calling deleteArchitectSchedule';return this.apiClient.callApi("/api/v2/architect/schedules/{scheduleId}","DELETE",{scheduleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteArchitectSchedulegroup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scheduleGroupId" when calling deleteArchitectSchedulegroup';return this.apiClient.callApi("/api/v2/architect/schedulegroups/{scheduleGroupId}","DELETE",{scheduleGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteArchitectSystempromptResource(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling deleteArchitectSystempromptResource';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling deleteArchitectSystempromptResource';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}","DELETE",{promptId:e,languageCode:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteFlow(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling deleteFlow';return this.apiClient.callApi("/api/v2/flows/{flowId}","DELETE",{flowId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteFlowInstancesSettingsLoglevels(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling deleteFlowInstancesSettingsLoglevels';return this.apiClient.callApi("/api/v2/flows/{flowId}/instances/settings/loglevels","DELETE",{flowId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteFlows(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling deleteFlows';return this.apiClient.callApi("/api/v2/flows","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteFlowsDatatable(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling deleteFlowsDatatable';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}","DELETE",{datatableId:e},{force:n.force},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteFlowsDatatableRow(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling deleteFlowsDatatableRow';if(n==null||n==="")throw'Missing the required parameter "rowId" when calling deleteFlowsDatatableRow';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/rows/{rowId}","DELETE",{datatableId:e,rowId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteFlowsInstancesSettingsLoglevelsDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/instances/settings/loglevels/default","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteFlowsMilestone(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "milestoneId" when calling deleteFlowsMilestone';return this.apiClient.callApi("/api/v2/flows/milestones/{milestoneId}","DELETE",{milestoneId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectDependencytracking(e,n){if(n=n||{},e==null)throw'Missing the required parameter "name" when calling getArchitectDependencytracking';return this.apiClient.callApi("/api/v2/architect/dependencytracking","GET",{},{pageNumber:n.pageNumber,pageSize:n.pageSize,name:e,objectType:this.apiClient.buildCollectionParam(n.objectType,"multi"),consumedResources:n.consumedResources,consumingResources:n.consumingResources,consumedResourceType:this.apiClient.buildCollectionParam(n.consumedResourceType,"multi"),consumingResourceType:this.apiClient.buildCollectionParam(n.consumingResourceType,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectDependencytrackingBuild(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/dependencytracking/build","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectDependencytrackingConsumedresources(e,n,i,a){if(a=a||{},e==null)throw'Missing the required parameter "id" when calling getArchitectDependencytrackingConsumedresources';if(n==null)throw'Missing the required parameter "version" when calling getArchitectDependencytrackingConsumedresources';if(i==null)throw'Missing the required parameter "objectType" when calling getArchitectDependencytrackingConsumedresources';return this.apiClient.callApi("/api/v2/architect/dependencytracking/consumedresources","GET",{},{id:e,version:n,objectType:i,resourceType:this.apiClient.buildCollectionParam(a.resourceType,"multi"),pageNumber:a.pageNumber,pageSize:a.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getArchitectDependencytrackingConsumingresources(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling getArchitectDependencytrackingConsumingresources';if(n==null)throw'Missing the required parameter "objectType" when calling getArchitectDependencytrackingConsumingresources';return this.apiClient.callApi("/api/v2/architect/dependencytracking/consumingresources","GET",{},{id:e,objectType:n,resourceType:this.apiClient.buildCollectionParam(i.resourceType,"multi"),version:i.version,pageNumber:i.pageNumber,pageSize:i.pageSize,flowFilter:i.flowFilter},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectDependencytrackingDeletedresourceconsumers(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/dependencytracking/deletedresourceconsumers","GET",{},{name:e.name,objectType:this.apiClient.buildCollectionParam(e.objectType,"multi"),flowFilter:e.flowFilter,consumedResources:e.consumedResources,consumedResourceType:this.apiClient.buildCollectionParam(e.consumedResourceType,"multi"),pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectDependencytrackingObject(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling getArchitectDependencytrackingObject';return this.apiClient.callApi("/api/v2/architect/dependencytracking/object","GET",{},{id:e,version:n.version,objectType:n.objectType,consumedResources:n.consumedResources,consumingResources:n.consumingResources,consumedResourceType:this.apiClient.buildCollectionParam(n.consumedResourceType,"multi"),consumingResourceType:this.apiClient.buildCollectionParam(n.consumingResourceType,"multi"),consumedResourceRequest:n.consumedResourceRequest},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectDependencytrackingType(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "typeId" when calling getArchitectDependencytrackingType';return this.apiClient.callApi("/api/v2/architect/dependencytracking/types/{typeId}","GET",{typeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectDependencytrackingTypes(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/dependencytracking/types","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectDependencytrackingUpdatedresourceconsumers(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/dependencytracking/updatedresourceconsumers","GET",{},{name:e.name,objectType:this.apiClient.buildCollectionParam(e.objectType,"multi"),consumedResources:e.consumedResources,consumedResourceType:this.apiClient.buildCollectionParam(e.consumedResourceType,"multi"),pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectEmergencygroup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "emergencyGroupId" when calling getArchitectEmergencygroup';return this.apiClient.callApi("/api/v2/architect/emergencygroups/{emergencyGroupId}","GET",{emergencyGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectEmergencygroups(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/emergencygroups","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectEmergencygroupsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/emergencygroups/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectGrammar(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling getArchitectGrammar';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}","GET",{grammarId:e},{includeFileUrls:n.includeFileUrls},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectGrammarLanguage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling getArchitectGrammarLanguage';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling getArchitectGrammarLanguage';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}","GET",{grammarId:e,languageCode:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectGrammars(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/grammars","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,description:e.description,nameOrDescription:e.nameOrDescription,includeFileUrls:e.includeFileUrls},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectIvr(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ivrId" when calling getArchitectIvr';return this.apiClient.callApi("/api/v2/architect/ivrs/{ivrId}","GET",{ivrId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectIvrIdentityresolution(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ivrId" when calling getArchitectIvrIdentityresolution';return this.apiClient.callApi("/api/v2/architect/ivrs/{ivrId}/identityresolution","GET",{ivrId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectIvrs(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/ivrs","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,dnis:e.dnis,scheduleGroup:e.scheduleGroup,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectIvrsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/ivrs/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectPrompt(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectPrompt';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}","GET",{promptId:e},{includeMediaUris:n.includeMediaUris,includeResources:n.includeResources,language:this.apiClient.buildCollectionParam(n.language,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectPromptHistoryHistoryId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectPromptHistoryHistoryId';if(n==null||n==="")throw'Missing the required parameter "historyId" when calling getArchitectPromptHistoryHistoryId';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/history/{historyId}","GET",{promptId:e,historyId:n},{pageNumber:i.pageNumber,pageSize:i.pageSize,sortOrder:i.sortOrder,sortBy:i.sortBy,action:this.apiClient.buildCollectionParam(i.action,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectPromptResource(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectPromptResource';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling getArchitectPromptResource';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources/{languageCode}","GET",{promptId:e,languageCode:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectPromptResources(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectPromptResources';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources","GET",{promptId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectPrompts(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/prompts","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:this.apiClient.buildCollectionParam(e.name,"multi"),description:e.description,nameOrDescription:e.nameOrDescription,sortBy:e.sortBy,sortOrder:e.sortOrder,includeMediaUris:e.includeMediaUris,includeResources:e.includeResources,language:this.apiClient.buildCollectionParam(e.language,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectSchedule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scheduleId" when calling getArchitectSchedule';return this.apiClient.callApi("/api/v2/architect/schedules/{scheduleId}","GET",{scheduleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectSchedulegroup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scheduleGroupId" when calling getArchitectSchedulegroup';return this.apiClient.callApi("/api/v2/architect/schedulegroups/{scheduleGroupId}","GET",{scheduleGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectSchedulegroups(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/schedulegroups","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,scheduleIds:e.scheduleIds,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectSchedulegroupsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/schedulegroups/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectSchedules(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/schedules","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectSchedulesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/schedules/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectSystemprompt(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectSystemprompt';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}","GET",{promptId:e},{includeMediaUris:n.includeMediaUris,includeResources:n.includeResources,language:this.apiClient.buildCollectionParam(n.language,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectSystempromptHistoryHistoryId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectSystempromptHistoryHistoryId';if(n==null||n==="")throw'Missing the required parameter "historyId" when calling getArchitectSystempromptHistoryHistoryId';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/history/{historyId}","GET",{promptId:e,historyId:n},{pageNumber:i.pageNumber,pageSize:i.pageSize,sortOrder:i.sortOrder,sortBy:i.sortBy,action:this.apiClient.buildCollectionParam(i.action,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectSystempromptResource(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectSystempromptResource';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling getArchitectSystempromptResource';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}","GET",{promptId:e,languageCode:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectSystempromptResources(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectSystempromptResources';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/resources","GET",{promptId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,sortBy:n.sortBy,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectSystemprompts(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/systemprompts","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,description:e.description,nameOrDescription:e.nameOrDescription,includeMediaUris:e.includeMediaUris,includeResources:e.includeResources,language:this.apiClient.buildCollectionParam(e.language,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlow(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlow';return this.apiClient.callApi("/api/v2/flows/{flowId}","GET",{flowId:e},{deleted:n.deleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowHistoryHistoryId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowHistoryHistoryId';if(n==null||n==="")throw'Missing the required parameter "historyId" when calling getFlowHistoryHistoryId';return this.apiClient.callApi("/api/v2/flows/{flowId}/history/{historyId}","GET",{flowId:e,historyId:n},{pageNumber:i.pageNumber,pageSize:i.pageSize,sortOrder:i.sortOrder,sortBy:i.sortBy,action:this.apiClient.buildCollectionParam(i.action,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowInstancesSettingsLoglevels(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowInstancesSettingsLoglevels';return this.apiClient.callApi("/api/v2/flows/{flowId}/instances/settings/loglevels","GET",{flowId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowLatestconfiguration(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowLatestconfiguration';return this.apiClient.callApi("/api/v2/flows/{flowId}/latestconfiguration","GET",{flowId:e},{deleted:n.deleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getFlowVersion';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions/{versionId}","GET",{flowId:e,versionId:n},{deleted:i.deleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowVersionConfiguration(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowVersionConfiguration';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getFlowVersionConfiguration';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions/{versionId}/configuration","GET",{flowId:e,versionId:n},{deleted:i.deleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowVersionHealth(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowVersionHealth';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getFlowVersionHealth';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions/{versionId}/health","GET",{flowId:e,versionId:n},{language:i.language},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowVersionIntentHealth(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowVersionIntentHealth';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getFlowVersionIntentHealth';if(i==null||i==="")throw'Missing the required parameter "intentId" when calling getFlowVersionIntentHealth';if(a==null)throw'Missing the required parameter "language" when calling getFlowVersionIntentHealth';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/health","GET",{flowId:e,versionId:n,intentId:i},{language:a},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getFlowVersionIntentUtteranceHealth(e,n,i,a,r,s){if(s=s||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowVersionIntentUtteranceHealth';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getFlowVersionIntentUtteranceHealth';if(i==null||i==="")throw'Missing the required parameter "intentId" when calling getFlowVersionIntentUtteranceHealth';if(a==null||a==="")throw'Missing the required parameter "utteranceId" when calling getFlowVersionIntentUtteranceHealth';if(r==null)throw'Missing the required parameter "language" when calling getFlowVersionIntentUtteranceHealth';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/utterances/{utteranceId}/health","GET",{flowId:e,versionId:n,intentId:i,utteranceId:a},{language:r},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],s.customHeaders)}getFlowVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowVersions';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions","GET",{flowId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,deleted:n.deleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlows(e){return e=e||{},this.apiClient.callApi("/api/v2/flows","GET",{},{type:this.apiClient.buildCollectionParam(e.type,"multi"),pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,description:e.description,nameOrDescription:e.nameOrDescription,publishVersionId:e.publishVersionId,editableBy:e.editableBy,lockedBy:e.lockedBy,lockedByClientId:e.lockedByClientId,secure:e.secure,deleted:e.deleted,includeSchemas:e.includeSchemas,virtualAgentEnabled:e.virtualAgentEnabled,publishedAfter:e.publishedAfter,publishedBefore:e.publishedBefore,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsDatatable(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatable';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}","GET",{datatableId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsDatatableExportJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatableExportJob';if(n==null||n==="")throw'Missing the required parameter "exportJobId" when calling getFlowsDatatableExportJob';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/export/jobs/{exportJobId}","GET",{datatableId:e,exportJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsDatatableImportJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatableImportJob';if(n==null||n==="")throw'Missing the required parameter "importJobId" when calling getFlowsDatatableImportJob';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/import/jobs/{importJobId}","GET",{datatableId:e,importJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsDatatableImportJobs(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatableImportJobs';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/import/jobs","GET",{datatableId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsDatatableRow(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatableRow';if(n==null||n==="")throw'Missing the required parameter "rowId" when calling getFlowsDatatableRow';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/rows/{rowId}","GET",{datatableId:e,rowId:n},{showbrief:i.showbrief},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsDatatableRows(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatableRows';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/rows","GET",{datatableId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,showbrief:n.showbrief,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsDatatables(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/datatables","GET",{},{expand:e.expand,pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsDatatablesDivisionview(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatablesDivisionview';return this.apiClient.callApi("/api/v2/flows/datatables/divisionviews/{datatableId}","GET",{datatableId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsDatatablesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/datatables/divisionviews","GET",{},{expand:e.expand,pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/divisionviews","GET",{},{type:this.apiClient.buildCollectionParam(e.type,"multi"),pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,publishVersionId:e.publishVersionId,publishedAfter:e.publishedAfter,publishedBefore:e.publishedBefore,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),includeSchemas:e.includeSchemas},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsExecution(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowExecutionId" when calling getFlowsExecution';return this.apiClient.callApi("/api/v2/flows/executions/{flowExecutionId}","GET",{flowExecutionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsExportJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getFlowsExportJob';return this.apiClient.callApi("/api/v2/flows/export/jobs/{jobId}","GET",{jobId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsInstance(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "instanceId" when calling getFlowsInstance';return this.apiClient.callApi("/api/v2/flows/instances/{instanceId}","GET",{instanceId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsInstancesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getFlowsInstancesJob';return this.apiClient.callApi("/api/v2/flows/instances/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsInstancesQuerycapabilities(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/instances/querycapabilities","GET",{},{expand:e.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsInstancesSettingsExecutiondata(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/instances/settings/executiondata","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsInstancesSettingsLoglevels(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/instances/settings/loglevels","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi"),pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsInstancesSettingsLoglevelsCharacteristics(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/instances/settings/loglevels/characteristics","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsInstancesSettingsLoglevelsDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/instances/settings/loglevels/default","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getFlowsJob';return this.apiClient.callApi("/api/v2/flows/jobs/{jobId}","GET",{jobId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsMilestone(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "milestoneId" when calling getFlowsMilestone';return this.apiClient.callApi("/api/v2/flows/milestones/{milestoneId}","GET",{milestoneId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsMilestones(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/milestones","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,description:e.description,nameOrDescription:e.nameOrDescription,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsMilestonesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/milestones/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsOutcome(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowOutcomeId" when calling getFlowsOutcome';return this.apiClient.callApi("/api/v2/flows/outcomes/{flowOutcomeId}","GET",{flowOutcomeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsOutcomes(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/outcomes","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,description:e.description,nameOrDescription:e.nameOrDescription,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsOutcomesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/outcomes/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchArchitectGrammar(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling patchArchitectGrammar';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}","PATCH",{grammarId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchArchitectGrammarLanguage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling patchArchitectGrammarLanguage';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling patchArchitectGrammarLanguage';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}","PATCH",{grammarId:e,languageCode:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchFlowsInstancesSettingsExecutiondata(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchFlowsInstancesSettingsExecutiondata';return this.apiClient.callApi("/api/v2/flows/instances/settings/executiondata","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectDependencytrackingBuild(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/dependencytracking/build","POST",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postArchitectEmergencygroups(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postArchitectEmergencygroups';return this.apiClient.callApi("/api/v2/architect/emergencygroups","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectGrammarLanguageFilesDtmf(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling postArchitectGrammarLanguageFilesDtmf';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling postArchitectGrammarLanguageFilesDtmf';if(i==null)throw'Missing the required parameter "body" when calling postArchitectGrammarLanguageFilesDtmf';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}/files/dtmf","POST",{grammarId:e,languageCode:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postArchitectGrammarLanguageFilesVoice(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling postArchitectGrammarLanguageFilesVoice';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling postArchitectGrammarLanguageFilesVoice';if(i==null)throw'Missing the required parameter "body" when calling postArchitectGrammarLanguageFilesVoice';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}/files/voice","POST",{grammarId:e,languageCode:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postArchitectGrammarLanguages(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling postArchitectGrammarLanguages';if(n==null)throw'Missing the required parameter "body" when calling postArchitectGrammarLanguages';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages","POST",{grammarId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectGrammars(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postArchitectGrammars';return this.apiClient.callApi("/api/v2/architect/grammars","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectIvrs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postArchitectIvrs';return this.apiClient.callApi("/api/v2/architect/ivrs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectPromptHistory(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling postArchitectPromptHistory';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/history","POST",{promptId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectPromptResourceUploads(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling postArchitectPromptResourceUploads';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling postArchitectPromptResourceUploads';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources/{languageCode}/uploads","POST",{promptId:e,languageCode:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectPromptResources(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling postArchitectPromptResources';if(n==null)throw'Missing the required parameter "body" when calling postArchitectPromptResources';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources","POST",{promptId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectPrompts(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postArchitectPrompts';return this.apiClient.callApi("/api/v2/architect/prompts","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectSchedulegroups(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postArchitectSchedulegroups';return this.apiClient.callApi("/api/v2/architect/schedulegroups","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectSchedules(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postArchitectSchedules';return this.apiClient.callApi("/api/v2/architect/schedules","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectSystempromptHistory(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling postArchitectSystempromptHistory';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/history","POST",{promptId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectSystempromptResourceUploads(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling postArchitectSystempromptResourceUploads';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling postArchitectSystempromptResourceUploads';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}/uploads","POST",{promptId:e,languageCode:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectSystempromptResources(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling postArchitectSystempromptResources';if(n==null)throw'Missing the required parameter "body" when calling postArchitectSystempromptResources';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/resources","POST",{promptId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowHistory(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling postFlowHistory';return this.apiClient.callApi("/api/v2/flows/{flowId}/history","POST",{flowId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowInstancesSettingsLoglevels(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling postFlowInstancesSettingsLoglevels';if(n==null)throw'Missing the required parameter "body" when calling postFlowInstancesSettingsLoglevels';return this.apiClient.callApi("/api/v2/flows/{flowId}/instances/settings/loglevels","POST",{flowId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowVersions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling postFlowVersions';if(n==null)throw'Missing the required parameter "body" when calling postFlowVersions';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions","POST",{flowId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlows(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postFlows';return this.apiClient.callApi("/api/v2/flows","POST",{},{language:n.language},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsActionsCheckin(e,n){if(n=n||{},e==null)throw'Missing the required parameter "flow" when calling postFlowsActionsCheckin';return this.apiClient.callApi("/api/v2/flows/actions/checkin","POST",{},{flow:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsActionsCheckout(e,n){if(n=n||{},e==null)throw'Missing the required parameter "flow" when calling postFlowsActionsCheckout';return this.apiClient.callApi("/api/v2/flows/actions/checkout","POST",{},{flow:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsActionsDeactivate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "flow" when calling postFlowsActionsDeactivate';return this.apiClient.callApi("/api/v2/flows/actions/deactivate","POST",{},{flow:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsActionsPublish(e,n){if(n=n||{},e==null)throw'Missing the required parameter "flow" when calling postFlowsActionsPublish';return this.apiClient.callApi("/api/v2/flows/actions/publish","POST",{},{flow:e,version:n.version},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsActionsRevert(e,n){if(n=n||{},e==null)throw'Missing the required parameter "flow" when calling postFlowsActionsRevert';return this.apiClient.callApi("/api/v2/flows/actions/revert","POST",{},{flow:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsActionsUnlock(e,n){if(n=n||{},e==null)throw'Missing the required parameter "flow" when calling postFlowsActionsUnlock';return this.apiClient.callApi("/api/v2/flows/actions/unlock","POST",{},{flow:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsDatatableExportJobs(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling postFlowsDatatableExportJobs';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/export/jobs","POST",{datatableId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsDatatableImportCsvJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling postFlowsDatatableImportCsvJobs';if(n==null)throw'Missing the required parameter "body" when calling postFlowsDatatableImportCsvJobs';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/import/csv/jobs","POST",{datatableId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsDatatableImportJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling postFlowsDatatableImportJobs';if(n==null)throw'Missing the required parameter "body" when calling postFlowsDatatableImportJobs';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/import/jobs","POST",{datatableId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsDatatableRows(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling postFlowsDatatableRows';if(n==null)throw'Missing the required parameter "dataTableRow" when calling postFlowsDatatableRows';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/rows","POST",{datatableId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsDatatables(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postFlowsDatatables';return this.apiClient.callApi("/api/v2/flows/datatables","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsExecutions(e,n){if(n=n||{},e==null)throw'Missing the required parameter "flowLaunchRequest" when calling postFlowsExecutions';return this.apiClient.callApi("/api/v2/flows/executions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsExportJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postFlowsExportJobs';return this.apiClient.callApi("/api/v2/flows/export/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsInstancesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postFlowsInstancesJobs';return this.apiClient.callApi("/api/v2/flows/instances/jobs","POST",{},{expand:n.expand},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsInstancesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postFlowsInstancesQuery';return this.apiClient.callApi("/api/v2/flows/instances/query","POST",{},{indexOnly:n.indexOnly,pageSize:n.pageSize},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/jobs","POST",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postFlowsMilestones(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/milestones","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postFlowsOutcomes(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/outcomes","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putArchitectEmergencygroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "emergencyGroupId" when calling putArchitectEmergencygroup';if(n==null)throw'Missing the required parameter "body" when calling putArchitectEmergencygroup';return this.apiClient.callApi("/api/v2/architect/emergencygroups/{emergencyGroupId}","PUT",{emergencyGroupId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putArchitectIvr(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ivrId" when calling putArchitectIvr';if(n==null)throw'Missing the required parameter "body" when calling putArchitectIvr';return this.apiClient.callApi("/api/v2/architect/ivrs/{ivrId}","PUT",{ivrId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putArchitectIvrIdentityresolution(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ivrId" when calling putArchitectIvrIdentityresolution';if(n==null)throw'Missing the required parameter "body" when calling putArchitectIvrIdentityresolution';return this.apiClient.callApi("/api/v2/architect/ivrs/{ivrId}/identityresolution","PUT",{ivrId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putArchitectPrompt(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling putArchitectPrompt';if(n==null)throw'Missing the required parameter "body" when calling putArchitectPrompt';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}","PUT",{promptId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putArchitectPromptResource(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling putArchitectPromptResource';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling putArchitectPromptResource';if(i==null)throw'Missing the required parameter "body" when calling putArchitectPromptResource';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources/{languageCode}","PUT",{promptId:e,languageCode:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putArchitectSchedule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scheduleId" when calling putArchitectSchedule';if(n==null)throw'Missing the required parameter "body" when calling putArchitectSchedule';return this.apiClient.callApi("/api/v2/architect/schedules/{scheduleId}","PUT",{scheduleId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putArchitectSchedulegroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scheduleGroupId" when calling putArchitectSchedulegroup';if(n==null)throw'Missing the required parameter "body" when calling putArchitectSchedulegroup';return this.apiClient.callApi("/api/v2/architect/schedulegroups/{scheduleGroupId}","PUT",{scheduleGroupId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putArchitectSystempromptResource(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling putArchitectSystempromptResource';if(n==null||n==="")throw'Missing the required parameter "languageCode" when calling putArchitectSystempromptResource';if(i==null)throw'Missing the required parameter "body" when calling putArchitectSystempromptResource';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}","PUT",{promptId:e,languageCode:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putFlow(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling putFlow';if(n==null)throw'Missing the required parameter "body" when calling putFlow';return this.apiClient.callApi("/api/v2/flows/{flowId}","PUT",{flowId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putFlowInstancesSettingsLoglevels(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling putFlowInstancesSettingsLoglevels';if(n==null)throw'Missing the required parameter "body" when calling putFlowInstancesSettingsLoglevels';return this.apiClient.callApi("/api/v2/flows/{flowId}/instances/settings/loglevels","PUT",{flowId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putFlowsDatatable(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling putFlowsDatatable';if(n==null)throw'Missing the required parameter "body" when calling putFlowsDatatable';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}","PUT",{datatableId:e},{expand:i.expand},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putFlowsDatatableRow(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling putFlowsDatatableRow';if(n==null||n==="")throw'Missing the required parameter "rowId" when calling putFlowsDatatableRow';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/rows/{rowId}","PUT",{datatableId:e,rowId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putFlowsInstancesSettingsLoglevelsDefault(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putFlowsInstancesSettingsLoglevelsDefault';return this.apiClient.callApi("/api/v2/flows/instances/settings/loglevels/default","PUT",{},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putFlowsMilestone(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "milestoneId" when calling putFlowsMilestone';return this.apiClient.callApi("/api/v2/flows/milestones/{milestoneId}","PUT",{milestoneId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putFlowsOutcome(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';return this.apiClient.callApi("/api/v2/flows/outcomes/{flowOutcomeId}","PUT",{flowOutcomeId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},ob=class{constructor(e){this.apiClient=e||k.instance}deleteAssistantVariation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling deleteAssistantVariation';if(n==null||n==="")throw'Missing the required parameter "variationId" when calling deleteAssistantVariation';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/variations/{variationId}","DELETE",{assistantId:e,variationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAssistantVariation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistantVariation';if(n==null||n==="")throw'Missing the required parameter "variationId" when calling getAssistantVariation';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/variations/{variationId}","GET",{assistantId:e,variationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAssistantVariations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistantVariations';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/variations","GET",{assistantId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAssistantVariations(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling postAssistantVariations';if(n==null)throw'Missing the required parameter "body" when calling postAssistantVariations';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/variations","POST",{assistantId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putAssistantVariation(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling putAssistantVariation';if(n==null||n==="")throw'Missing the required parameter "variationId" when calling putAssistantVariation';if(i==null)throw'Missing the required parameter "body" when calling putAssistantVariation';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/variations/{variationId}","PUT",{assistantId:e,variationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}},lb=class{constructor(e){this.apiClient=e||k.instance}getAuditsQueryRealtimeServicemapping(e){return e=e||{},this.apiClient.callApi("/api/v2/audits/query/realtime/servicemapping","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuditsQueryServicemapping(e){return e=e||{},this.apiClient.callApi("/api/v2/audits/query/servicemapping","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuditsQueryTransactionId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "transactionId" when calling getAuditsQueryTransactionId';return this.apiClient.callApi("/api/v2/audits/query/{transactionId}","GET",{transactionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuditsQueryTransactionIdResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "transactionId" when calling getAuditsQueryTransactionIdResults';return this.apiClient.callApi("/api/v2/audits/query/{transactionId}/results","GET",{transactionId:e},{cursor:n.cursor,pageSize:n.pageSize,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),allowRedirect:n.allowRedirect},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuditsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAuditsQuery';return this.apiClient.callApi("/api/v2/audits/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuditsQueryRealtime(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';return this.apiClient.callApi("/api/v2/audits/query/realtime","POST",{},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuditsQueryRealtimeRelated(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';return this.apiClient.callApi("/api/v2/audits/query/realtime/related","POST",{},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},ub=class{constructor(e){this.apiClient=e||k.instance}deleteAuthorizationDivision(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling deleteAuthorizationDivision';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}","DELETE",{divisionId:e},{force:n.force},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAuthorizationPoliciesTargetSubjectSubjectId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "targetName" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';if(n==null||n==="")throw'Missing the required parameter "subjectId" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';return this.apiClient.callApi("/api/v2/authorization/policies/targets/{targetName}/subject/{subjectId}","DELETE",{targetName:e,subjectId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAuthorizationRole(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling deleteAuthorizationRole';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}","DELETE",{roleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAuthorizationSubjectDivisionRole(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling deleteAuthorizationSubjectDivisionRole';if(n==null||n==="")throw'Missing the required parameter "divisionId" when calling deleteAuthorizationSubjectDivisionRole';if(i==null||i==="")throw'Missing the required parameter "roleId" when calling deleteAuthorizationSubjectDivisionRole';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}","DELETE",{subjectId:e,divisionId:n,roleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getAuthorizationDivision(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling getAuthorizationDivision';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}","GET",{divisionId:e},{objectCount:n.objectCount},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationDivisionGrants(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling getAuthorizationDivisionGrants';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}/grants","GET",{divisionId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationDivisions(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,objectCount:e.objectCount,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsDeleted(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/deleted","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsHome(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/home","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsLimit(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/limit","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/query","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionspermittedMe(e,n){if(n=n||{},e==null)throw'Missing the required parameter "permission" when calling getAuthorizationDivisionspermittedMe';return this.apiClient.callApi("/api/v2/authorization/divisionspermitted/me","GET",{},{name:n.name,permission:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationDivisionspermittedPagedMe(e,n){if(n=n||{},e==null)throw'Missing the required parameter "permission" when calling getAuthorizationDivisionspermittedPagedMe';return this.apiClient.callApi("/api/v2/authorization/divisionspermitted/paged/me","GET",{},{permission:e,pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationDivisionspermittedPagedSubjectId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getAuthorizationDivisionspermittedPagedSubjectId';if(n==null)throw'Missing the required parameter "permission" when calling getAuthorizationDivisionspermittedPagedSubjectId';return this.apiClient.callApi("/api/v2/authorization/divisionspermitted/paged/{subjectId}","GET",{subjectId:e},{permission:n,pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationPermissions(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/permissions","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,queryType:e.queryType,query:e.query},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationPolicies(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/policies","GET",{},{after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationPoliciesSubjectSubjectId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesSubjectSubjectId';return this.apiClient.callApi("/api/v2/authorization/policies/subject/{subjectId}","GET",{subjectId:e},{after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationPoliciesTarget(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTarget';return this.apiClient.callApi("/api/v2/authorization/policies/targets/{targetName}","GET",{targetName:e},{after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationPoliciesTargetSubjectSubjectId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTargetSubjectSubjectId';if(n==null||n==="")throw'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesTargetSubjectSubjectId';return this.apiClient.callApi("/api/v2/authorization/policies/targets/{targetName}/subject/{subjectId}","GET",{targetName:e,subjectId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationPoliciesTargets(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/policies/targets","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationPolicy(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling getAuthorizationPolicy';return this.apiClient.callApi("/api/v2/authorization/policies/{policyId}","GET",{policyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationPolicyAttributes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling getAuthorizationPolicyAttributes';return this.apiClient.callApi("/api/v2/authorization/policies/{policyId}/attributes","GET",{policyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationProducts(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/products","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationRole(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling getAuthorizationRole';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}","GET",{roleId:e},{userCount:n.userCount,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationRoleComparedefaultRightRoleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "leftRoleId" when calling getAuthorizationRoleComparedefaultRightRoleId';if(n==null||n==="")throw'Missing the required parameter "rightRoleId" when calling getAuthorizationRoleComparedefaultRightRoleId';return this.apiClient.callApi("/api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId}","GET",{leftRoleId:e,rightRoleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationRoleSubjectgrants(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling getAuthorizationRoleSubjectgrants';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}/subjectgrants","GET",{roleId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortBy:n.sortBy,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),nextPage:n.nextPage,previousPage:n.previousPage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationRoleUsers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling getAuthorizationRoleUsers';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}/users","GET",{roleId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationRoles(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/roles","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,name:e.name,permission:this.apiClient.buildCollectionParam(e.permission,"multi"),defaultRoleId:this.apiClient.buildCollectionParam(e.defaultRoleId,"multi"),userCount:e.userCount,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationRolesSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/roles/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationSubject(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getAuthorizationSubject';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}","GET",{subjectId:e},{includeDuplicates:n.includeDuplicates},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationSubjectsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/subjects/me","GET",{},{includeDuplicates:e.includeDuplicates},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationSubjectsRolecounts(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/subjects/rolecounts","GET",{},{id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUserRoles(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getUserRoles';return this.apiClient.callApi("/api/v2/users/{subjectId}/roles","GET",{subjectId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchAuthorizationRole(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling patchAuthorizationRole';if(n==null)throw'Missing the required parameter "body" when calling patchAuthorizationRole';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}","PATCH",{roleId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchAuthorizationSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchAuthorizationSettings';return this.apiClient.callApi("/api/v2/authorization/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationDivisionObject(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionObject';if(n==null||n==="")throw'Missing the required parameter "objectType" when calling postAuthorizationDivisionObject';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationDivisionObject';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}/objects/{objectType}","POST",{divisionId:e,objectType:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAuthorizationDivisionRestore(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}/restore","POST",{divisionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationDivisions(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAuthorizationDivisions';return this.apiClient.callApi("/api/v2/authorization/divisions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationPoliciesTarget(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTarget';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationPoliciesTarget';return this.apiClient.callApi("/api/v2/authorization/policies/targets/{targetName}","POST",{targetName:e},{skipLockoutCheck:i.skipLockoutCheck},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationPoliciesTargetValidate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTargetValidate';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationPoliciesTargetValidate';return this.apiClient.callApi("/api/v2/authorization/policies/targets/{targetName}/validate","POST",{targetName:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationPolicySimulate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling postAuthorizationPolicySimulate';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationPolicySimulate';return this.apiClient.callApi("/api/v2/authorization/policies/{policyId}/simulate","POST",{policyId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationRole(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling postAuthorizationRole';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationRole';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}","POST",{roleId:e},{subjectType:i.subjectType},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationRoleComparedefaultRightRoleId(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "leftRoleId" when calling postAuthorizationRoleComparedefaultRightRoleId';if(n==null||n==="")throw'Missing the required parameter "rightRoleId" when calling postAuthorizationRoleComparedefaultRightRoleId';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationRoleComparedefaultRightRoleId';return this.apiClient.callApi("/api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId}","POST",{leftRoleId:e,rightRoleId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAuthorizationRoles(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAuthorizationRoles';return this.apiClient.callApi("/api/v2/authorization/roles","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationRolesDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/roles/default","POST",{},{force:e.force},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postAuthorizationSubjectBulkadd(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkadd';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationSubjectBulkadd';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/bulkadd","POST",{subjectId:e},{subjectType:i.subjectType},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationSubjectBulkremove(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkremove';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationSubjectBulkremove';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/bulkremove","POST",{subjectId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationSubjectBulkreplace(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkreplace';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationSubjectBulkreplace';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/bulkreplace","POST",{subjectId:e},{subjectType:i.subjectType},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationSubjectDivisionRole(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectDivisionRole';if(n==null||n==="")throw'Missing the required parameter "divisionId" when calling postAuthorizationSubjectDivisionRole';if(i==null||i==="")throw'Missing the required parameter "roleId" when calling postAuthorizationSubjectDivisionRole';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}","POST",{subjectId:e,divisionId:n,roleId:i},{subjectType:a.subjectType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putAuthorizationDivision(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling putAuthorizationDivision';if(n==null)throw'Missing the required parameter "body" when calling putAuthorizationDivision';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}","PUT",{divisionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putAuthorizationPoliciesTarget(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "targetName" when calling putAuthorizationPoliciesTarget';if(n==null)throw'Missing the required parameter "body" when calling putAuthorizationPoliciesTarget';return this.apiClient.callApi("/api/v2/authorization/policies/targets/{targetName}","PUT",{targetName:e},{skipLockoutCheck:i.skipLockoutCheck},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putAuthorizationPolicy(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling putAuthorizationPolicy';if(n==null)throw'Missing the required parameter "body" when calling putAuthorizationPolicy';return this.apiClient.callApi("/api/v2/authorization/policies/{policyId}","PUT",{policyId:e},{skipLockoutCheck:i.skipLockoutCheck},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putAuthorizationRole(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling putAuthorizationRole';if(n==null)throw'Missing the required parameter "body" when calling putAuthorizationRole';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}","PUT",{roleId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putAuthorizationRoleUsersAdd(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling putAuthorizationRoleUsersAdd';if(n==null)throw'Missing the required parameter "body" when calling putAuthorizationRoleUsersAdd';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}/users/add","PUT",{roleId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putAuthorizationRoleUsersRemove(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling putAuthorizationRoleUsersRemove';if(n==null)throw'Missing the required parameter "body" when calling putAuthorizationRoleUsersRemove';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}/users/remove","PUT",{roleId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putAuthorizationRolesDefault(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putAuthorizationRolesDefault';return this.apiClient.callApi("/api/v2/authorization/roles/default","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putAuthorizationRolesSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putAuthorizationRolesSettings';return this.apiClient.callApi("/api/v2/authorization/roles/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserRoles(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling putUserRoles';if(n==null)throw'Missing the required parameter "body" when calling putUserRoles';return this.apiClient.callApi("/api/v2/users/{subjectId}/roles","PUT",{subjectId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},cb=class{constructor(e){this.apiClient=e||k.instance}postBackgroundassistantToken(e){return e=e||{},this.apiClient.callApi("/api/v2/backgroundassistant/token","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postScreenrecordingToken(e){return e=e||{},this.apiClient.callApi("/api/v2/screenrecording/token","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},pb=class{constructor(e){this.apiClient=e||k.instance}getBillingContract(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contractId" when calling getBillingContract';return this.apiClient.callApi("/api/v2/billing/contracts/{contractId}","GET",{contractId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBillingContractBillingperiod(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contractId" when calling getBillingContractBillingperiod';if(n==null||n==="")throw'Missing the required parameter "billingPeriodId" when calling getBillingContractBillingperiod';return this.apiClient.callApi("/api/v2/billing/contracts/{contractId}/billingperiods/{billingPeriodId}","GET",{contractId:e,billingPeriodId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBillingContracts(e){return e=e||{},this.apiClient.callApi("/api/v2/billing/contracts","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,dateStart:e.dateStart,dateEnd:e.dateEnd,status:e.status,externalNumber:e.externalNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getBillingContractsInvoiceDocument(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "invoiceId" when calling getBillingContractsInvoiceDocument';return this.apiClient.callApi("/api/v2/billing/contracts/invoices/{invoiceId}/document","GET",{invoiceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBillingContractsInvoiceLines(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "invoiceId" when calling getBillingContractsInvoiceLines';return this.apiClient.callApi("/api/v2/billing/contracts/invoices/{invoiceId}/lines","GET",{invoiceId:e},{before:n.before,after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBillingContractsInvoices(e){return e=e||{},this.apiClient.callApi("/api/v2/billing/contracts/invoices","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,dateStart:e.dateStart,dateEnd:e.dateEnd,paymentStatus:e.paymentStatus},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getBillingReportsBillableusage(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "startDate" when calling getBillingReportsBillableusage';if(n==null)throw'Missing the required parameter "endDate" when calling getBillingReportsBillableusage';return this.apiClient.callApi("/api/v2/billing/reports/billableusage","GET",{},{startDate:e,endDate:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBillingTrusteebillingoverviewTrustorOrgId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';return this.apiClient.callApi("/api/v2/billing/trusteebillingoverview/{trustorOrgId}","GET",{trustorOrgId:e},{billingPeriodIndex:n.billingPeriodIndex},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},db=class{constructor(e){this.apiClient=e||k.instance}deleteBusinessrulesDecisiontable(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontable';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}","DELETE",{tableId:e},{forceDelete:n.forceDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteBusinessrulesDecisiontableVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersion';if(n==null)throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersion';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}","DELETE",{tableId:e,tableVersion:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteBusinessrulesDecisiontableVersionRow(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersionRow';if(n==null)throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersionRow';if(i==null||i==="")throw'Missing the required parameter "rowId" when calling deleteBusinessrulesDecisiontableVersionRow';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}","DELETE",{tableId:e,tableVersion:n,rowId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteBusinessrulesSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling deleteBusinessrulesSchema';return this.apiClient.callApi("/api/v2/businessrules/schemas/{schemaId}","DELETE",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBusinessrulesDecisiontable(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontable';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}","GET",{tableId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBusinessrulesDecisiontableVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersion';if(n==null)throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersion';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}","GET",{tableId:e,tableVersion:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesDecisiontableVersionRow(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRow';if(n==null)throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRow';if(i==null||i==="")throw'Missing the required parameter "rowId" when calling getBusinessrulesDecisiontableVersionRow';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}","GET",{tableId:e,tableVersion:n,rowId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getBusinessrulesDecisiontableVersionRows(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRows';if(n==null)throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRows';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows","GET",{tableId:e,tableVersion:n},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesDecisiontableVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersions';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions","GET",{tableId:e},{after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBusinessrulesDecisiontables(e){return e=e||{},this.apiClient.callApi("/api/v2/businessrules/decisiontables","GET",{},{after:e.after,pageSize:e.pageSize,divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getBusinessrulesDecisiontablesSearch(e){return e=e||{},this.apiClient.callApi("/api/v2/businessrules/decisiontables/search","GET",{},{after:e.after,pageSize:e.pageSize,schemaId:e.schemaId,name:e.name,withPublishedVersion:e.withPublishedVersion,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),ids:this.apiClient.buildCollectionParam(e.ids,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getBusinessrulesSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getBusinessrulesSchema';return this.apiClient.callApi("/api/v2/businessrules/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBusinessrulesSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/businessrules/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getBusinessrulesSchemasCoretype(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getBusinessrulesSchemasCoretype';return this.apiClient.callApi("/api/v2/businessrules/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBusinessrulesSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/businessrules/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchBusinessrulesDecisiontable(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontable';if(n==null)throw'Missing the required parameter "body" when calling patchBusinessrulesDecisiontable';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}","PATCH",{tableId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchBusinessrulesDecisiontableVersion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableVersion';if(n==null)throw'Missing the required parameter "tableVersion" when calling patchBusinessrulesDecisiontableVersion';if(i==null)throw'Missing the required parameter "body" when calling patchBusinessrulesDecisiontableVersion';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}","PATCH",{tableId:e,tableVersion:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableExecute(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExecute';if(n==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExecute';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/execute","POST",{tableId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postBusinessrulesDecisiontableVersionCopy(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionCopy';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionCopy';if(i==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionCopy';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/copy","POST",{tableId:e,tableVersion:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionExecute(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionExecute';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionExecute';if(i==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionExecute';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/execute","POST",{tableId:e,tableVersion:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionRows(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRows';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRows';if(i==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRows';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows","POST",{tableId:e,tableVersion:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionRowsSearch(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsSearch';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsSearch';if(i==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsSearch';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/search","POST",{tableId:e,tableVersion:n},{pageNumber:a.pageNumber,pageSize:a.pageSize},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionSync(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionSync';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionSync';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/sync","POST",{tableId:e,tableVersion:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postBusinessrulesDecisiontableVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersions';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions","POST",{tableId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postBusinessrulesDecisiontables(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontables';return this.apiClient.callApi("/api/v2/businessrules/decisiontables","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postBusinessrulesSchemas(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postBusinessrulesSchemas';return this.apiClient.callApi("/api/v2/businessrules/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putBusinessrulesDecisiontableVersionPublish(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionPublish';if(n==null)throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionPublish';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/publish","PUT",{tableId:e,tableVersion:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putBusinessrulesDecisiontableVersionRow(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionRow';if(n==null)throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionRow';if(i==null||i==="")throw'Missing the required parameter "rowId" when calling putBusinessrulesDecisiontableVersionRow';if(a==null)throw'Missing the required parameter "body" when calling putBusinessrulesDecisiontableVersionRow';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}","PUT",{tableId:e,tableVersion:n,rowId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}putBusinessrulesSchema(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putBusinessrulesSchema';if(n==null)throw'Missing the required parameter "body" when calling putBusinessrulesSchema';return this.apiClient.callApi("/api/v2/businessrules/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},hb=class{constructor(e){this.apiClient=e||k.instance}getCarrierservicesIntegrationsEmergencylocationsMe(e,n){if(n=n||{},e==null)throw'Missing the required parameter "phoneNumber" when calling getCarrierservicesIntegrationsEmergencylocationsMe';return this.apiClient.callApi("/api/v2/carrierservices/integrations/emergencylocations/me","GET",{},{phoneNumber:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCarrierservicesIntegrationsEmergencylocationsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/carrierservices/integrations/emergencylocations/me","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},gb=class{constructor(e){this.apiClient=e||k.instance}deleteCasemanagementCase(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling deleteCasemanagementCase';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}","DELETE",{caseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteCasemanagementCaseplan(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}","DELETE",{caseplanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCase(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCase';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}","GET",{caseId:e},{expands:n.expands},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseAssociation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociation';if(n==null||n==="")throw'Missing the required parameter "associationId" when calling getCasemanagementCaseAssociation';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/associations/{associationId}","GET",{caseId:e,associationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseAssociations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociations';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/associations","GET",{caseId:e},{before:n.before,after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseStage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStage';if(n==null||n==="")throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStage';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/stages/{stageId}","GET",{caseId:e,stageId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseStageStep(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageStep';if(n==null||n==="")throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageStep';if(i==null||i==="")throw'Missing the required parameter "stepId" when calling getCasemanagementCaseStageStep';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/stages/{stageId}/steps/{stepId}","GET",{caseId:e,stageId:n,stepId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getCasemanagementCaseStageSteps(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageSteps';if(n==null||n==="")throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageSteps';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/stages/{stageId}/steps","GET",{caseId:e,stageId:n},{before:i.before,after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseStages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStages';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/stages","GET",{caseId:e},{before:n.before,after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseTerminateJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseTerminateJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getCasemanagementCaseTerminateJob';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/terminate/jobs/{jobId}","GET",{caseId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseplan(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}","GET",{caseplanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseplanVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersion';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}","GET",{caseplanId:e,versionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseplanVersionDataschemas(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionDataschemas';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionDataschemas';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/dataschemas","GET",{caseplanId:e,versionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseplanVersionIntakesettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionIntakesettings';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionIntakesettings';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/intakesettings","GET",{caseplanId:e,versionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseplanVersionStageplan(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplan';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplan';if(i==null||i==="")throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}","GET",{caseplanId:e,versionId:n,stageplanId:i},{expands:this.apiClient.buildCollectionParam(a.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getCasemanagementCaseplanVersionStageplanStepplan(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplan';if(i==null||i==="")throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';if(a==null||a==="")throw'Missing the required parameter "stepplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}/stepplans/{stepplanId}","GET",{caseplanId:e,versionId:n,stageplanId:i,stepplanId:a},{expands:this.apiClient.buildCollectionParam(r.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getCasemanagementCaseplanVersionStageplanStepplans(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplans';if(i==null||i==="")throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}/stepplans","GET",{caseplanId:e,versionId:n,stageplanId:i},{before:a.before,after:a.after,pageSize:a.pageSize,expands:this.apiClient.buildCollectionParam(a.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getCasemanagementCaseplanVersionStageplans(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplans';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplans';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans","GET",{caseplanId:e,versionId:n},{before:i.before,after:i.after,pageSize:i.pageSize,expands:this.apiClient.buildCollectionParam(i.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseplans(e){return e=e||{},this.apiClient.callApi("/api/v2/casemanagement/caseplans","GET",{},{after:e.after,pageSize:e.pageSize,customerIntentId:e.customerIntentId,divisionIds:e.divisionIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getCasemanagementCasesExternalcontact(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalContactId" when calling getCasemanagementCasesExternalcontact';return this.apiClient.callApi("/api/v2/casemanagement/cases/externalcontacts/{externalContactId}","GET",{externalContactId:e},{after:n.after,pageSize:n.pageSize,divisionIds:n.divisionIds,expands:this.apiClient.buildCollectionParam(n.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCasesReference(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "referenceId" when calling getCasemanagementCasesReference';return this.apiClient.callApi("/api/v2/casemanagement/cases/references/{referenceId}","GET",{referenceId:e},{expands:n.expands},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchCasemanagementCaseDatedue(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseDatedue';if(n==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseDatedue';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/datedue","PATCH",{caseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchCasemanagementCasePriority(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling patchCasemanagementCasePriority';if(n==null)throw'Missing the required parameter "body" when calling patchCasemanagementCasePriority';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/priority","PATCH",{caseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchCasemanagementCaseSummary(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseSummary';if(n==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseSummary';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/summary","PATCH",{caseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchCasemanagementCaseplan(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplan';if(n==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}","PATCH",{caseplanId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchCasemanagementCaseplanStageplan(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplan';if(n==null||n==="")throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplan';if(i==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseplanStageplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}","PATCH",{caseplanId:e,stageplanId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchCasemanagementCaseplanStageplanStepplan(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplanStepplan';if(n==null||n==="")throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplanStepplan';if(i==null||i==="")throw'Missing the required parameter "stepplanId" when calling patchCasemanagementCaseplanStageplanStepplan';if(a==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseplanStageplanStepplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}/stepplans/{stepplanId}","PATCH",{caseplanId:e,stageplanId:n,stepplanId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postCasemanagementCaseAssociations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling postCasemanagementCaseAssociations';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/associations","POST",{caseId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCasemanagementCaseTerminateJobs(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling postCasemanagementCaseTerminateJobs';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/terminate/jobs","POST",{caseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCasemanagementCaseplanPublish(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanPublish';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/publish","POST",{caseplanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCasemanagementCaseplanVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanVersions';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions","POST",{caseplanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCasemanagementCaseplans(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseplans';return this.apiClient.callApi("/api/v2/casemanagement/caseplans","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCasemanagementCaseplansQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseplansQuery';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCasemanagementCases(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postCasemanagementCases';return this.apiClient.callApi("/api/v2/casemanagement/cases","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCasemanagementCasesAssociationsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/casemanagement/cases/associations/query","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putCasemanagementCaseplanIntakesettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling putCasemanagementCaseplanIntakesettings';if(n==null)throw'Missing the required parameter "body" when calling putCasemanagementCaseplanIntakesettings';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/intakesettings","PUT",{caseplanId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},mb=class{constructor(e){this.apiClient=e||k.instance}deleteChatsRoomMessage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';if(n==null||n==="")throw'Missing the required parameter "messageId" when calling deleteChatsRoomMessage';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages/{messageId}","DELETE",{roomJid:e,messageId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteChatsRoomMessagesPin(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling deleteChatsRoomMessagesPin';if(n==null||n==="")throw'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomMessagesPin';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages/pins/{pinnedMessageId}","DELETE",{roomJid:e,pinnedMessageId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteChatsRoomParticipant(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';if(n==null||n==="")throw'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/participants/{userId}","DELETE",{roomJid:e,userId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteChatsUserMessage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteChatsUserMessage';if(n==null||n==="")throw'Missing the required parameter "messageId" when calling deleteChatsUserMessage';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages/{messageId}","DELETE",{userId:e,messageId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteChatsUserMessagesPin(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteChatsUserMessagesPin';if(n==null||n==="")throw'Missing the required parameter "pinnedMessageId" when calling deleteChatsUserMessagesPin';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages/pins/{pinnedMessageId}","DELETE",{userId:e,pinnedMessageId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteChatsUsersMeSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/chats/users/me/settings","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getChatsMessage(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling getChatsMessage';return this.apiClient.callApi("/api/v2/chats/messages/{messageId}","GET",{messageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getChatsRoom(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling getChatsRoom';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}","GET",{roomJid:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getChatsRoomMessage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling getChatsRoomMessage';if(n==null||n==="")throw'Missing the required parameter "messageIds" when calling getChatsRoomMessage';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages/{messageIds}","GET",{roomJid:e,messageIds:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getChatsRoomMessages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling getChatsRoomMessages';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages","GET",{roomJid:e},{limit:n.limit,before:n.before,after:n.after,excludeMetadata:n.excludeMetadata},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getChatsRoomParticipant(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling getChatsRoomParticipant';if(n==null||n==="")throw'Missing the required parameter "participantJid" when calling getChatsRoomParticipant';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/participants/{participantJid}","GET",{roomJid:e,participantJid:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getChatsRoomParticipants(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling getChatsRoomParticipants';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/participants","GET",{roomJid:e},{notify:n.notify},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getChatsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/chats/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getChatsThreadMessages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "threadId" when calling getChatsThreadMessages';return this.apiClient.callApi("/api/v2/chats/threads/{threadId}/messages","GET",{threadId:e},{limit:n.limit,before:n.before,after:n.after,excludeMetadata:n.excludeMetadata},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getChatsUser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getChatsUser';return this.apiClient.callApi("/api/v2/chats/users/{userId}","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getChatsUserMessage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getChatsUserMessage';if(n==null||n==="")throw'Missing the required parameter "messageIds" when calling getChatsUserMessage';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages/{messageIds}","GET",{userId:e,messageIds:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getChatsUserMessages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getChatsUserMessages';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages","GET",{userId:e},{limit:n.limit,before:n.before,after:n.after,excludeMetadata:n.excludeMetadata},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getChatsUserSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getChatsUserSettings';return this.apiClient.callApi("/api/v2/chats/users/{userId}/settings","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getChatsUsersMeSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/chats/users/me/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchChatsRoom(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling patchChatsRoom';if(n==null)throw'Missing the required parameter "body" when calling patchChatsRoom';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}","PATCH",{roomJid:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchChatsRoomMessage(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling patchChatsRoomMessage';if(n==null||n==="")throw'Missing the required parameter "messageId" when calling patchChatsRoomMessage';if(i==null)throw'Missing the required parameter "body" when calling patchChatsRoomMessage';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages/{messageId}","PATCH",{roomJid:e,messageId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchChatsSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchChatsSettings';return this.apiClient.callApi("/api/v2/chats/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchChatsUserMessage(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchChatsUserMessage';if(n==null||n==="")throw'Missing the required parameter "messageId" when calling patchChatsUserMessage';if(i==null)throw'Missing the required parameter "body" when calling patchChatsUserMessage';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages/{messageId}","PATCH",{userId:e,messageId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchChatsUserSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchChatsUserSettings';if(n==null)throw'Missing the required parameter "body" when calling patchChatsUserSettings';return this.apiClient.callApi("/api/v2/chats/users/{userId}/settings","PATCH",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchChatsUsersMeSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchChatsUsersMeSettings';return this.apiClient.callApi("/api/v2/chats/users/me/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postChatsRoomMessages(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling postChatsRoomMessages';if(n==null)throw'Missing the required parameter "body" when calling postChatsRoomMessages';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages","POST",{roomJid:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postChatsRoomMessagesPins(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling postChatsRoomMessagesPins';if(n==null)throw'Missing the required parameter "body" when calling postChatsRoomMessagesPins';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages/pins","POST",{roomJid:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postChatsRoomParticipant(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';if(n==null||n==="")throw'Missing the required parameter "userId" when calling postChatsRoomParticipant';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/participants/{userId}","POST",{roomJid:e,userId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postChatsRooms(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postChatsRooms';return this.apiClient.callApi("/api/v2/chats/rooms","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postChatsUserMessages(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postChatsUserMessages';if(n==null)throw'Missing the required parameter "body" when calling postChatsUserMessages';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages","POST",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postChatsUserMessagesPins(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postChatsUserMessagesPins';if(n==null)throw'Missing the required parameter "body" when calling postChatsUserMessagesPins';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages/pins","POST",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postChatsUsersMeSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postChatsUsersMeSettings';return this.apiClient.callApi("/api/v2/chats/users/me/settings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putChatsMessageReactions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling putChatsMessageReactions';if(n==null)throw'Missing the required parameter "body" when calling putChatsMessageReactions';return this.apiClient.callApi("/api/v2/chats/messages/{messageId}/reactions","PUT",{messageId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putChatsSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putChatsSettings';return this.apiClient.callApi("/api/v2/chats/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},fb=class{constructor(e){this.apiClient=e||k.instance}deleteCoachingAppointment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling deleteCoachingAppointment';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}","DELETE",{appointmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteCoachingAppointmentAnnotation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling deleteCoachingAppointmentAnnotation';if(n==null||n==="")throw'Missing the required parameter "annotationId" when calling deleteCoachingAppointmentAnnotation';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/annotations/{annotationId}","DELETE",{appointmentId:e,annotationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCoachingAppointment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling getCoachingAppointment';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}","GET",{appointmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCoachingAppointmentAnnotation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling getCoachingAppointmentAnnotation';if(n==null||n==="")throw'Missing the required parameter "annotationId" when calling getCoachingAppointmentAnnotation';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/annotations/{annotationId}","GET",{appointmentId:e,annotationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCoachingAppointmentAnnotations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling getCoachingAppointmentAnnotations';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/annotations","GET",{appointmentId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCoachingAppointmentStatuses(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling getCoachingAppointmentStatuses';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/statuses","GET",{appointmentId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCoachingAppointments(e,n){if(n=n||{},e==null)throw'Missing the required parameter "userIds" when calling getCoachingAppointments';return this.apiClient.callApi("/api/v2/coaching/appointments","GET",{},{userIds:this.apiClient.buildCollectionParam(e,"multi"),interval:n.interval,pageNumber:n.pageNumber,pageSize:n.pageSize,statuses:this.apiClient.buildCollectionParam(n.statuses,"multi"),facilitatorIds:this.apiClient.buildCollectionParam(n.facilitatorIds,"multi"),sortOrder:n.sortOrder,relationships:this.apiClient.buildCollectionParam(n.relationships,"multi"),completionInterval:n.completionInterval,overdue:n.overdue,intervalCondition:n.intervalCondition},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCoachingAppointmentsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/coaching/appointments/me","GET",{},{interval:e.interval,pageNumber:e.pageNumber,pageSize:e.pageSize,statuses:this.apiClient.buildCollectionParam(e.statuses,"multi"),facilitatorIds:this.apiClient.buildCollectionParam(e.facilitatorIds,"multi"),sortOrder:e.sortOrder,relationships:this.apiClient.buildCollectionParam(e.relationships,"multi"),completionInterval:e.completionInterval,overdue:e.overdue,intervalCondition:e.intervalCondition},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getCoachingNotification(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "notificationId" when calling getCoachingNotification';return this.apiClient.callApi("/api/v2/coaching/notifications/{notificationId}","GET",{notificationId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCoachingNotifications(e){return e=e||{},this.apiClient.callApi("/api/v2/coaching/notifications","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getCoachingScheduleslotsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getCoachingScheduleslotsJob';return this.apiClient.callApi("/api/v2/coaching/scheduleslots/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchCoachingAppointment(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling patchCoachingAppointment';if(n==null)throw'Missing the required parameter "body" when calling patchCoachingAppointment';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}","PATCH",{appointmentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchCoachingAppointmentAnnotation(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling patchCoachingAppointmentAnnotation';if(n==null||n==="")throw'Missing the required parameter "annotationId" when calling patchCoachingAppointmentAnnotation';if(i==null)throw'Missing the required parameter "body" when calling patchCoachingAppointmentAnnotation';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/annotations/{annotationId}","PATCH",{appointmentId:e,annotationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchCoachingAppointmentStatus(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling patchCoachingAppointmentStatus';if(n==null)throw'Missing the required parameter "body" when calling patchCoachingAppointmentStatus';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/status","PATCH",{appointmentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchCoachingNotification(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "notificationId" when calling patchCoachingNotification';if(n==null)throw'Missing the required parameter "body" when calling patchCoachingNotification';return this.apiClient.callApi("/api/v2/coaching/notifications/{notificationId}","PATCH",{notificationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCoachingAppointmentAnnotations(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling postCoachingAppointmentAnnotations';if(n==null)throw'Missing the required parameter "body" when calling postCoachingAppointmentAnnotations';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/annotations","POST",{appointmentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCoachingAppointmentConversations(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling postCoachingAppointmentConversations';if(n==null)throw'Missing the required parameter "body" when calling postCoachingAppointmentConversations';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/conversations","POST",{appointmentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCoachingAppointments(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postCoachingAppointments';return this.apiClient.callApi("/api/v2/coaching/appointments","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCoachingAppointmentsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postCoachingAppointmentsAggregatesQuery';return this.apiClient.callApi("/api/v2/coaching/appointments/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCoachingScheduleslotsJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postCoachingScheduleslotsJobs';return this.apiClient.callApi("/api/v2/coaching/scheduleslots/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCoachingScheduleslotsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';return this.apiClient.callApi("/api/v2/coaching/scheduleslots/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},wb=class{constructor(e){this.apiClient=e||k.instance}deleteContentmanagementDocument(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling deleteContentmanagementDocument';return this.apiClient.callApi("/api/v2/contentmanagement/documents/{documentId}","DELETE",{documentId:e},{override:n.override},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteContentmanagementShare(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "shareId" when calling deleteContentmanagementShare';return this.apiClient.callApi("/api/v2/contentmanagement/shares/{shareId}","DELETE",{shareId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteContentmanagementStatusStatusId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "statusId" when calling deleteContentmanagementStatusStatusId';return this.apiClient.callApi("/api/v2/contentmanagement/status/{statusId}","DELETE",{statusId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteContentmanagementWorkspace(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling deleteContentmanagementWorkspace';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}","DELETE",{workspaceId:e},{moveChildrenToWorkspaceId:n.moveChildrenToWorkspaceId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteContentmanagementWorkspaceMember(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling deleteContentmanagementWorkspaceMember';if(n==null||n==="")throw'Missing the required parameter "memberId" when calling deleteContentmanagementWorkspaceMember';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}","DELETE",{workspaceId:e,memberId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteContentmanagementWorkspaceTagvalue(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling deleteContentmanagementWorkspaceTagvalue';if(n==null||n==="")throw'Missing the required parameter "tagId" when calling deleteContentmanagementWorkspaceTagvalue';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}","DELETE",{workspaceId:e,tagId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementDocument(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling getContentmanagementDocument';return this.apiClient.callApi("/api/v2/contentmanagement/documents/{documentId}","GET",{documentId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementDocumentContent(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling getContentmanagementDocumentContent';return this.apiClient.callApi("/api/v2/contentmanagement/documents/{documentId}/content","GET",{documentId:e},{disposition:n.disposition,contentType:n.contentType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementDocuments(e,n){if(n=n||{},e==null)throw'Missing the required parameter "workspaceId" when calling getContentmanagementDocuments';return this.apiClient.callApi("/api/v2/contentmanagement/documents","GET",{},{workspaceId:e,name:n.name,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),pageSize:n.pageSize,pageNumber:n.pageNumber,sortBy:n.sortBy,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "queryPhrase" when calling getContentmanagementQuery';return this.apiClient.callApi("/api/v2/contentmanagement/query","GET",{},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortBy:n.sortBy,sortOrder:n.sortOrder,queryPhrase:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementSecurityprofile(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "securityProfileId" when calling getContentmanagementSecurityprofile';return this.apiClient.callApi("/api/v2/contentmanagement/securityprofiles/{securityProfileId}","GET",{securityProfileId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementSecurityprofiles(e){return e=e||{},this.apiClient.callApi("/api/v2/contentmanagement/securityprofiles","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getContentmanagementShare(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "shareId" when calling getContentmanagementShare';return this.apiClient.callApi("/api/v2/contentmanagement/shares/{shareId}","GET",{shareId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementSharedSharedId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sharedId" when calling getContentmanagementSharedSharedId';return this.apiClient.callApi("/api/v2/contentmanagement/shared/{sharedId}","GET",{sharedId:e},{disposition:n.disposition,contentType:n.contentType,expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementShares(e){return e=e||{},this.apiClient.callApi("/api/v2/contentmanagement/shares","GET",{},{entityId:e.entityId,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getContentmanagementStatus(e){return e=e||{},this.apiClient.callApi("/api/v2/contentmanagement/status","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getContentmanagementStatusStatusId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "statusId" when calling getContentmanagementStatusStatusId';return this.apiClient.callApi("/api/v2/contentmanagement/status/{statusId}","GET",{statusId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementUsage(e){return e=e||{},this.apiClient.callApi("/api/v2/contentmanagement/usage","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getContentmanagementWorkspace(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling getContentmanagementWorkspace';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}","GET",{workspaceId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementWorkspaceDocuments(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling getContentmanagementWorkspaceDocuments';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/documents","GET",{workspaceId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi"),pageSize:n.pageSize,pageNumber:n.pageNumber,sortBy:n.sortBy,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementWorkspaceMember(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling getContentmanagementWorkspaceMember';if(n==null||n==="")throw'Missing the required parameter "memberId" when calling getContentmanagementWorkspaceMember';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}","GET",{workspaceId:e,memberId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementWorkspaceMembers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling getContentmanagementWorkspaceMembers';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/members","GET",{workspaceId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementWorkspaceTagvalue(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling getContentmanagementWorkspaceTagvalue';if(n==null||n==="")throw'Missing the required parameter "tagId" when calling getContentmanagementWorkspaceTagvalue';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}","GET",{workspaceId:e,tagId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementWorkspaceTagvalues(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling getContentmanagementWorkspaceTagvalues';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues","GET",{workspaceId:e},{value:n.value,pageSize:n.pageSize,pageNumber:n.pageNumber,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementWorkspaces(e){return e=e||{},this.apiClient.callApi("/api/v2/contentmanagement/workspaces","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,access:this.apiClient.buildCollectionParam(e.access,"multi"),expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postContentmanagementDocument(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling postContentmanagementDocument';if(n==null)throw'Missing the required parameter "body" when calling postContentmanagementDocument';return this.apiClient.callApi("/api/v2/contentmanagement/documents/{documentId}","POST",{documentId:e},{expand:i.expand,override:i.override},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postContentmanagementDocumentContent(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling postContentmanagementDocumentContent';if(n==null)throw'Missing the required parameter "body" when calling postContentmanagementDocumentContent';return this.apiClient.callApi("/api/v2/contentmanagement/documents/{documentId}/content","POST",{documentId:e},{override:i.override},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postContentmanagementDocuments(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postContentmanagementDocuments';return this.apiClient.callApi("/api/v2/contentmanagement/documents","POST",{},{copySource:n.copySource,moveSource:n.moveSource,override:n.override},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postContentmanagementQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postContentmanagementQuery';return this.apiClient.callApi("/api/v2/contentmanagement/query","POST",{},{expand:n.expand},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postContentmanagementShares(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postContentmanagementShares';return this.apiClient.callApi("/api/v2/contentmanagement/shares","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postContentmanagementWorkspaceTagvalues(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling postContentmanagementWorkspaceTagvalues';if(n==null)throw'Missing the required parameter "body" when calling postContentmanagementWorkspaceTagvalues';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues","POST",{workspaceId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postContentmanagementWorkspaceTagvaluesQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling postContentmanagementWorkspaceTagvaluesQuery';if(n==null)throw'Missing the required parameter "body" when calling postContentmanagementWorkspaceTagvaluesQuery';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/query","POST",{workspaceId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postContentmanagementWorkspaces(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postContentmanagementWorkspaces';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putContentmanagementWorkspace(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling putContentmanagementWorkspace';if(n==null)throw'Missing the required parameter "body" when calling putContentmanagementWorkspace';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}","PUT",{workspaceId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putContentmanagementWorkspaceMember(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling putContentmanagementWorkspaceMember';if(n==null||n==="")throw'Missing the required parameter "memberId" when calling putContentmanagementWorkspaceMember';if(i==null)throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceMember';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}","PUT",{workspaceId:e,memberId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putContentmanagementWorkspaceTagvalue(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling putContentmanagementWorkspaceTagvalue';if(n==null||n==="")throw'Missing the required parameter "tagId" when calling putContentmanagementWorkspaceTagvalue';if(i==null)throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}","PUT",{workspaceId:e,tagId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}},vb=class{constructor(e){this.apiClient=e||k.instance}deleteAnalyticsConversationsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsConversationsDetailsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsDetailsJob';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversation';return this.apiClient.callApi("/api/v2/conversations/{conversationId}","DELETE",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationCustomattribute(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationCustomattribute';if(n==null||n==="")throw'Missing the required parameter "attributesId" when calling deleteConversationCustomattribute';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes/{attributesId}","DELETE",{conversationId:e,attributesId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationParticipantCode(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationParticipantCode';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling deleteConversationParticipantCode';if(i==null||i==="")throw'Missing the required parameter "addCommunicationCode" when calling deleteConversationParticipantCode';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/codes/{addCommunicationCode}","DELETE",{conversationId:e,participantId:n,addCommunicationCode:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteConversationParticipantFlaggedreason(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationParticipantFlaggedreason';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling deleteConversationParticipantFlaggedreason';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/flaggedreason","DELETE",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsCallParticipantCommunicationPostflowaction(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationsCallParticipantCommunicationPostflowaction';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling deleteConversationsCallParticipantCommunicationPostflowaction';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling deleteConversationsCallParticipantCommunicationPostflowaction';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/postflowaction","DELETE",{conversationId:e,participantId:n,communicationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteConversationsCallParticipantConsult(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationsCallParticipantConsult';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling deleteConversationsCallParticipantConsult';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult","DELETE",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsEmailMessagesDraftAttachment(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationsEmailMessagesDraftAttachment';if(n==null||n==="")throw'Missing the required parameter "attachmentId" when calling deleteConversationsEmailMessagesDraftAttachment';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/draft/attachments/{attachmentId}","DELETE",{conversationId:e,attachmentId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsMessagesCachedmediaCachedMediaItemId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "cachedMediaItemId" when calling deleteConversationsMessagesCachedmediaCachedMediaItemId';return this.apiClient.callApi("/api/v2/conversations/messages/cachedmedia/{cachedMediaItemId}","DELETE",{cachedMediaItemId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationsMessagingIntegrationsAppleIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsAppleIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/apple/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationsMessagingIntegrationsFacebookIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsFacebookIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/facebook/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationsMessagingIntegrationsInstagramIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsInstagramIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/instagram/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationsMessagingIntegrationsOpenIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationsMessagingIntegrationsTwitterIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsTwitterIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/twitter/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationsMessagingIntegrationsWhatsappIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsWhatsappIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationsMessagingSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageSettingId" when calling deleteConversationsMessagingSetting';return this.apiClient.callApi("/api/v2/conversations/messaging/settings/{messageSettingId}","DELETE",{messageSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationsMessagingSettingsDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/settings/default","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteConversationsMessagingSupportedcontentSupportedContentId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';return this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent/{supportedContentId}","DELETE",{supportedContentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsConversationDetails(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getAnalyticsConversationDetails';return this.apiClient.callApi("/api/v2/analytics/conversations/{conversationId}/details","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsConversationsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsConversationsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsConversationsDetails(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/conversations/details","GET",{},{id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsConversationsDetailsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsDetailsJob';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsConversationsDetailsJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsDetailsJobResults';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsConversationsDetailsJobsAvailability(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/availability","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversation';return this.apiClient.callApi("/api/v2/conversations/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationAssistantCopilotcontext(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationAssistantCopilotcontext';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/assistant/copilotcontext","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationCommunicationAgentchecklist(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCommunicationAgentchecklist';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationCommunicationAgentchecklist';if(i==null||i==="")throw'Missing the required parameter "agentChecklistId" when calling getConversationCommunicationAgentchecklist';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}","GET",{conversationId:e,communicationId:n,agentChecklistId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationCommunicationAgentchecklistJob(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCommunicationAgentchecklistJob';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationCommunicationAgentchecklistJob';if(i==null||i==="")throw'Missing the required parameter "agentChecklistId" when calling getConversationCommunicationAgentchecklistJob';if(a==null||a==="")throw'Missing the required parameter "jobId" when calling getConversationCommunicationAgentchecklistJob';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}/jobs/{jobId}","GET",{conversationId:e,communicationId:n,agentChecklistId:i,jobId:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getConversationCommunicationAgentchecklists(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCommunicationAgentchecklists';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationCommunicationAgentchecklists';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists","GET",{conversationId:e,communicationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationCommunicationInternalmessage(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessage';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessage';if(i==null||i==="")throw'Missing the required parameter "messageId" when calling getConversationCommunicationInternalmessage';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages/{messageId}","GET",{conversationId:e,communicationId:n,messageId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationCommunicationInternalmessages(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessages';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessages';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages","GET",{conversationId:e,communicationId:n},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationCustomattribute(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCustomattribute';if(n==null||n==="")throw'Missing the required parameter "attributesId" when calling getConversationCustomattribute';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes/{attributesId}","GET",{conversationId:e,attributesId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationCustomattributes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCustomattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationParticipantSecureivrsession(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationParticipantSecureivrsession';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationParticipantSecureivrsession';if(i==null||i==="")throw'Missing the required parameter "secureSessionId" when calling getConversationParticipantSecureivrsession';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions/{secureSessionId}","GET",{conversationId:e,participantId:n,secureSessionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationParticipantSecureivrsessions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationParticipantSecureivrsessions';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationParticipantSecureivrsessions';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions","GET",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationParticipantWrapup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationParticipantWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:n},{provisional:i.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationParticipantWrapupcodes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationParticipantWrapupcodes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationSecureattributes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationSecureattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/secureattributes","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationSuggestion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationSuggestion';if(n==null||n==="")throw'Missing the required parameter "suggestionId" when calling getConversationSuggestion';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/suggestions/{suggestionId}","GET",{conversationId:e,suggestionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationSuggestions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationSuggestions';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/suggestions","GET",{conversationId:e},{before:n.before,after:n.after,pageSize:n.pageSize,type:n.type,state:n.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationSummaries(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationSummaries';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/summaries","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversations(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations","GET",{},{communicationType:e.communicationType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCall(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCall';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCallParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsCallParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationsCallParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:n,communicationId:i},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsCallParticipantWrapup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallParticipantWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsCallParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:n},{provisional:i.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCallParticipantWrapupcodes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallParticipantWrapupcodes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsCallParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCallback(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallback';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCallbackParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationsCallbackParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:n,communicationId:i},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsCallbackParticipantWrapup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:n},{provisional:i.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCallbackParticipantWrapupcodes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantWrapupcodes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCallbacks(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/callbacks","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCalls(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/calls","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCallsHistory(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/calls/history","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,interval:e.interval,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCallsMaximumconferenceparties(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/calls/maximumconferenceparties","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsChat(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsChat';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsChatMessage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsChatMessage';if(n==null||n==="")throw'Missing the required parameter "messageId" when calling getConversationsChatMessage';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/messages/{messageId}","GET",{conversationId:e,messageId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsChatMessages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsChatMessages';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/messages","GET",{conversationId:e},{after:n.after,before:n.before,sortOrder:n.sortOrder,maxResults:n.maxResults},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsChatParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsChatParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsChatParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationsChatParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:n,communicationId:i},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsChatParticipantWrapup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsChatParticipantWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsChatParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:n},{provisional:i.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsChatParticipantWrapupcodes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsChatParticipantWrapupcodes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsChatParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsChats(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/chats","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCobrowsesession(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCobrowsesession';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCobrowsesessionParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:n,communicationId:i},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsCobrowsesessionParticipantWrapup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:n},{provisional:i.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCobrowsesessionParticipantWrapupcodes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantWrapupcodes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCobrowsesessions(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/cobrowsesessions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCustomattributesSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchema';return this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCustomattributesSchemaVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchemaVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getConversationsCustomattributesSchemaVersion';return this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/{schemaId}/versions/{versionId}","GET",{schemaId:e,versionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCustomattributesSchemaVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchemaVersions';return this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/{schemaId}/versions","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCustomattributesSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/customattributes/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCustomattributesSchemasCoretype(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getConversationsCustomattributesSchemasCoretype';return this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCustomattributesSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCustomattributesSchemasLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsEmail(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmail';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsEmailMessage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailMessage';if(n==null||n==="")throw'Missing the required parameter "messageId" when calling getConversationsEmailMessage';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/{messageId}","GET",{conversationId:e,messageId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsEmailMessages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailMessages';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages","GET",{conversationId:e},{includeAgentlessStitchedMessages:n.includeAgentlessStitchedMessages},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsEmailMessagesDraft(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailMessagesDraft';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/draft","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsEmailParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsEmailParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationsEmailParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:n,communicationId:i},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsEmailParticipantWrapup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsEmailParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:n},{provisional:i.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsEmailParticipantWrapupcodes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantWrapupcodes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsEmailParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsEmailSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailSettings';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/settings","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsEmails(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/emails","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsInternalmessage(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsInternalmessage';return this.apiClient.callApi("/api/v2/conversations/internalmessages/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsInternalmessages(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/internalmessages","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsKeyconfiguration(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "keyconfigurationsId" when calling getConversationsKeyconfiguration';return this.apiClient.callApi("/api/v2/conversations/keyconfigurations/{keyconfigurationsId}","GET",{keyconfigurationsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsKeyconfigurations(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/keyconfigurations","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessage(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessage';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessageCommunicationMessagesMedia(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMedia';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationsMessageCommunicationMessagesMedia';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media","GET",{conversationId:e,communicationId:n},{status:i.status,pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessageCommunicationMessagesMediaMediaId(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMediaMediaId';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationsMessageCommunicationMessagesMediaMediaId';if(i==null||i==="")throw'Missing the required parameter "mediaId" when calling getConversationsMessageCommunicationMessagesMediaMediaId';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media/{mediaId}","GET",{conversationId:e,communicationId:n,mediaId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsMessageDetails(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling getConversationsMessageDetails';return this.apiClient.callApi("/api/v2/conversations/messages/{messageId}/details","GET",{messageId:e},{useNormalizedMessage:n.useNormalizedMessage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessageMessage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessageMessage';if(n==null||n==="")throw'Missing the required parameter "messageId" when calling getConversationsMessageMessage';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/messages/{messageId}","GET",{conversationId:e,messageId:n},{useNormalizedMessage:i.useNormalizedMessage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessageParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsMessageParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationsMessageParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:n,communicationId:i},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsMessageParticipantWrapup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsMessageParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:n},{provisional:i.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessageParticipantWrapupcodes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantWrapupcodes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsMessageParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessages(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messages","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagesCachedmedia(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messages/cachedmedia","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,url:e.url},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagesCachedmediaCachedMediaItemId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "cachedMediaItemId" when calling getConversationsMessagesCachedmediaCachedMediaItemId';return this.apiClient.callApi("/api/v2/conversations/messages/cachedmedia/{cachedMediaItemId}","GET",{cachedMediaItemId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingFacebookApp(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/facebook/app","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingFacebookPermissions(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/facebook/permissions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/instagram/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/twitter/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIntegrationTwitterOauthSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationTwitterOauthSettings';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/{integrationId}/twitter/oauth/settings","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIntegrations(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsApple(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/apple","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsAppleIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsAppleIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/apple/{integrationId}","GET",{integrationId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIntegrationsFacebook(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/facebook","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsFacebookIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsFacebookIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/facebook/{integrationId}","GET",{integrationId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIntegrationsInstagram(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/instagram","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsInstagramIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsInstagramIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/instagram/{integrationId}","GET",{integrationId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIntegrationsOpen(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}","GET",{integrationId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileOauthSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/oauth/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tokenId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens/{tokenId}","GET",{tokenId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tokenId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens/{tokenId}/accounts","GET",{tokenId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIntegrationsOpenIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/{integrationId}","GET",{integrationId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIntegrationsTwitter(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/twitter","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsTwitterIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsTwitterIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/twitter/{integrationId}","GET",{integrationId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingIntegrationsTwitterOauthSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/twitter/oauth/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsWhatsapp(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsWhatsappIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsWhatsappIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp/{integrationId}","GET",{integrationId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingOauthAppleCallback(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "code" when calling getConversationsMessagingOauthAppleCallback';if(n==null)throw'Missing the required parameter "state" when calling getConversationsMessagingOauthAppleCallback';return this.apiClient.callApi("/api/v2/conversations/messaging/oauth/apple/callback","GET",{},{code:e,state:n,error:i.error},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageSettingId" when calling getConversationsMessagingSetting';return this.apiClient.callApi("/api/v2/conversations/messaging/settings/{messageSettingId}","GET",{messageSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/settings","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingSettingsDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/settings/default","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingSupportedcontent(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingSupportedcontentDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent/default","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingSupportedcontentSupportedContentId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';return this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent/{supportedContentId}","GET",{supportedContentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingThreadingtimeline(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/threadingtimeline","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsScreenshareParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsScreenshareParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:n,communicationId:i},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsSocialParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsSocialParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsSocialParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationsSocialParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:n,communicationId:i},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsVideoDetails(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conferenceId" when calling getConversationsVideoDetails';return this.apiClient.callApi("/api/v2/conversations/videos/{conferenceId}/details","GET",{conferenceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsVideoParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsVideoParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationsVideoParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationsVideoParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:n,communicationId:i},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsVideosMeeting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "meetingId" when calling getConversationsVideosMeeting';return this.apiClient.callApi("/api/v2/conversations/videos/meetings/{meetingId}","GET",{meetingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationCustomattributes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationCustomattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes","PATCH",{conversationId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationCustomattributesBulk(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationCustomattributesBulk';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes/bulk","PATCH",{conversationId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationParticipant(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationParticipant';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationParticipant';if(i==null)throw'Missing the required parameter "body" when calling patchConversationParticipant';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationParticipantAttributes(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationParticipantAttributes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationParticipantAttributes';if(i==null)throw'Missing the required parameter "body" when calling patchConversationParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationRecordingstate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationRecordingstate';if(n==null)throw'Missing the required parameter "body" when calling patchConversationRecordingstate';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordingstate","PATCH",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationSecureattributes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationSecureattributes';if(n==null)throw'Missing the required parameter "body" when calling patchConversationSecureattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/secureattributes","PATCH",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationSummaryEngagements(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationSummaryEngagements';if(n==null||n==="")throw'Missing the required parameter "summaryId" when calling patchConversationSummaryEngagements';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/summaries/{summaryId}/engagements","PATCH",{conversationId:e,summaryId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationSummaryFeedback(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationSummaryFeedback';if(n==null||n==="")throw'Missing the required parameter "summaryId" when calling patchConversationSummaryFeedback';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback","PATCH",{conversationId:e,summaryId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationUtilizationlabel(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationUtilizationlabel';if(n==null)throw'Missing the required parameter "body" when calling patchConversationUtilizationlabel';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/utilizationlabel","PATCH",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsAftercallworkConversationIdParticipantCommunication(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/aftercallwork/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:n,communicationId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsCall(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCall';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsCall';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}","PATCH",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsCallConference(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallConference';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsCallConference';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/conference","PATCH",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsCallParticipant(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipant';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipant';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsCallParticipant';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsCallParticipantAttributes(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantAttributes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantAttributes';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsCallParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsCallParticipantCommunication(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling patchConversationsCallParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsCallParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:n,communicationId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsCallParticipantCommunicationPostflowaction(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantCommunicationPostflowaction';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantCommunicationPostflowaction';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling patchConversationsCallParticipantCommunicationPostflowaction';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/postflowaction","PATCH",{conversationId:e,participantId:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsCallParticipantConsult(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantConsult';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantConsult';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsCallParticipantConsult';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsCallParticipantUserUserId(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantUserUserId';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantUserUserId';if(i==null||i==="")throw'Missing the required parameter "userId" when calling patchConversationsCallParticipantUserUserId';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsCallParticipantUserUserId';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/user/{userId}","PATCH",{conversationId:e,participantId:n,userId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsCallback(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallback';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsCallback';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}","PATCH",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsCallbackParticipant(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallbackParticipant';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallbackParticipant';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsCallbackParticipant';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsCallbackParticipantAttributes(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallbackParticipantAttributes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallbackParticipantAttributes';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsCallbackParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsCallbackParticipantCommunication(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallbackParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallbackParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling patchConversationsCallbackParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsCallbackParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:n,communicationId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsCallbacks(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchConversationsCallbacks';return this.apiClient.callApi("/api/v2/conversations/callbacks","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsChat(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsChat';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsChat';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}","PATCH",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsChatParticipant(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsChatParticipant';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsChatParticipant';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsChatParticipant';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsChatParticipantAttributes(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsChatParticipantAttributes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsChatParticipantAttributes';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsChatParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsChatParticipantCommunication(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsChatParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsChatParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling patchConversationsChatParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsChatParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:n,communicationId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsCobrowsesession(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCobrowsesession';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsCobrowsesession';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}","PATCH",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsCobrowsesessionParticipant(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCobrowsesessionParticipant';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsCobrowsesessionParticipant';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsCobrowsesessionParticipantAttributes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCobrowsesessionParticipantAttributes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsCobrowsesessionParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsCobrowsesessionParticipantCommunication(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCobrowsesessionParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsCobrowsesessionParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling patchConversationsCobrowsesessionParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsCobrowsesessionParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:n,communicationId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsEmail(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsEmail';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsEmail';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}","PATCH",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsEmailMessagesDraft(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsEmailMessagesDraft';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/draft","PATCH",{conversationId:e},{autoFill:n.autoFill,discard:n.discard},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsEmailParticipant(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipant';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipant';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsEmailParticipant';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsEmailParticipantAttributes(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantAttributes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantAttributes';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsEmailParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsEmailParticipantCommunication(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling patchConversationsEmailParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsEmailParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:n,communicationId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsEmailParticipantParkingstate(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantParkingstate';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantParkingstate';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsEmailParticipantParkingstate';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/parkingstate","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsMessage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsMessage';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsMessage';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}","PATCH",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsMessageParticipant(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsMessageParticipant';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsMessageParticipant';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsMessageParticipantAttributes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsMessageParticipantAttributes';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsMessageParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsMessageParticipantCommunication(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsMessageParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsMessageParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling patchConversationsMessageParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsMessageParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:n,communicationId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsMessageParticipantParkingstate(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsMessageParticipantParkingstate';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling patchConversationsMessageParticipantParkingstate';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsMessageParticipantParkingstate';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/parkingstate","PATCH",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsMessagingIntegrationsAppleIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/apple/{integrationId}","PATCH",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsMessagingIntegrationsFacebookIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsFacebookIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsFacebookIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/facebook/{integrationId}","PATCH",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsMessagingIntegrationsInstagramIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsInstagramIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsInstagramIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/instagram/{integrationId}","PATCH",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}","PATCH",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsMessagingIntegrationsOpenIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/{integrationId}","PATCH",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsMessagingIntegrationsTwitterIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/twitter/{integrationId}","PATCH",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup/{integrationId}","PATCH",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsMessagingIntegrationsWhatsappIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsWhatsappIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsWhatsappIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp/{integrationId}","PATCH",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsMessagingSetting(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageSettingId" when calling patchConversationsMessagingSetting';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingSetting';return this.apiClient.callApi("/api/v2/conversations/messaging/settings/{messageSettingId}","PATCH",{messageSettingId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsMessagingSupportedcontentSupportedContentId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingSupportedcontentSupportedContentId';return this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent/{supportedContentId}","PATCH",{supportedContentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchConversationsSettings';return this.apiClient.callApi("/api/v2/conversations/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsConversationDetailsProperties(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postAnalyticsConversationDetailsProperties';if(n==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationDetailsProperties';return this.apiClient.callApi("/api/v2/analytics/conversations/{conversationId}/details/properties","POST",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsConversationsActivityQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsActivityQuery';return this.apiClient.callApi("/api/v2/analytics/conversations/activity/query","POST",{},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsConversationsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsConversationsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsConversationsDetailsJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsDetailsJobs';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsConversationsDetailsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsDetailsQuery';return this.apiClient.callApi("/api/v2/analytics/conversations/details/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationAssign(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationAssign';if(n==null)throw'Missing the required parameter "body" when calling postConversationAssign';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/assign","POST",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationBarge(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationBarge';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/barge","POST",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationCobrowse(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationCobrowse';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/cobrowse","POST",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationCommunicationAgentchecklist(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationCommunicationAgentchecklist';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationCommunicationAgentchecklist';if(i==null||i==="")throw'Missing the required parameter "agentChecklistId" when calling postConversationCommunicationAgentchecklist';if(a==null)throw'Missing the required parameter "body" when calling postConversationCommunicationAgentchecklist';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}","POST",{conversationId:e,communicationId:n,agentChecklistId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postConversationCommunicationAgentchecklistAgentaction(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationCommunicationAgentchecklistAgentaction';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationCommunicationAgentchecklistAgentaction';if(i==null||i==="")throw'Missing the required parameter "agentChecklistId" when calling postConversationCommunicationAgentchecklistAgentaction';if(a==null)throw'Missing the required parameter "body" when calling postConversationCommunicationAgentchecklistAgentaction';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}/agentaction","POST",{conversationId:e,communicationId:n,agentChecklistId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postConversationCommunicationAgentchecklistJobs(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationCommunicationAgentchecklistJobs';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationCommunicationAgentchecklistJobs';if(i==null||i==="")throw'Missing the required parameter "agentChecklistId" when calling postConversationCommunicationAgentchecklistJobs';if(a==null)throw'Missing the required parameter "body" when calling postConversationCommunicationAgentchecklistJobs';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}/jobs","POST",{conversationId:e,communicationId:n,agentChecklistId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postConversationCommunicationAgentchecklistsFinalize(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationCommunicationAgentchecklistsFinalize';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationCommunicationAgentchecklistsFinalize';if(i==null)throw'Missing the required parameter "body" when calling postConversationCommunicationAgentchecklistsFinalize';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/finalize","POST",{conversationId:e,communicationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationCommunicationInternalmessages(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationCommunicationInternalmessages';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationCommunicationInternalmessages';if(i==null)throw'Missing the required parameter "body" when calling postConversationCommunicationInternalmessages';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages","POST",{conversationId:e,communicationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationDisconnect(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationDisconnect';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/disconnect","POST",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationParticipantCallbacks(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantCallbacks';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantCallbacks';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/callbacks","POST",{conversationId:e,participantId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationParticipantDigits(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantDigits';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantDigits';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/digits","POST",{conversationId:e,participantId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationParticipantInternalmessagesUsersCommunications(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantInternalmessagesUsersCommunications';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantInternalmessagesUsersCommunications';if(i==null)throw'Missing the required parameter "body" when calling postConversationParticipantInternalmessagesUsersCommunications';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/internalmessages/users/communications","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationParticipantReplace(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplace';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantReplace';if(i==null)throw'Missing the required parameter "body" when calling postConversationParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationParticipantReplaceAgent(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceAgent';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceAgent';if(i==null)throw'Missing the required parameter "body" when calling postConversationParticipantReplaceAgent';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/replace/agent","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationParticipantReplaceContactExternal(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceContactExternal';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceContactExternal';if(i==null)throw'Missing the required parameter "body" when calling postConversationParticipantReplaceContactExternal';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/replace/contact/external","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationParticipantReplaceExternal(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceExternal';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceExternal';if(i==null)throw'Missing the required parameter "body" when calling postConversationParticipantReplaceExternal';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/replace/external","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationParticipantReplaceQueue(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceQueue';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceQueue';if(i==null)throw'Missing the required parameter "body" when calling postConversationParticipantReplaceQueue';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/replace/queue","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationParticipantSecureivrsessions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantSecureivrsessions';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions","POST",{conversationId:e,participantId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationParticipantTransfer(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantTransfer';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantTransfer';if(i==null)throw'Missing the required parameter "body" when calling postConversationParticipantTransfer';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/transfer","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationSuggestionEngagement(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationSuggestionEngagement';if(n==null||n==="")throw'Missing the required parameter "suggestionId" when calling postConversationSuggestionEngagement';if(i==null)throw'Missing the required parameter "body" when calling postConversationSuggestionEngagement';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/suggestions/{suggestionId}/engagement","POST",{conversationId:e,suggestionId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationSuggestionsFeedback(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationSuggestionsFeedback';if(n==null)throw'Missing the required parameter "body" when calling postConversationSuggestionsFeedback';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/suggestions/feedback","POST",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationSummaryFeedback(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationSummaryFeedback';if(n==null||n==="")throw'Missing the required parameter "summaryId" when calling postConversationSummaryFeedback';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback","POST",{conversationId:e,summaryId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCall(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCall';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCall';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}","POST",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCallParticipantBarge(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantBarge';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantBarge';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/barge","POST",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCallParticipantCoach(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCoach';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantCoach';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/coach","POST",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCallParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsCallParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantConsult(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsult';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsult';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsult';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantConsultAgent(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultAgent';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultAgent';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultAgent';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/agent","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantConsultContactExternal(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultContactExternal';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultContactExternal';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultContactExternal';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/contact/external","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantConsultExternal(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultExternal';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultExternal';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultExternal';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/external","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantConsultQueue(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultQueue';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultQueue';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultQueue';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/queue","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantMonitor(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantMonitor';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantMonitor';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/monitor","POST",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCallParticipantReplace(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantReplace';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantReplace';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantSnippetRecord(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantSnippetRecord';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantSnippetRecord';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantSnippetRecord';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/snippet/record","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantVoiceConsult(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantVoiceConsult';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantVoiceConsult';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantVoiceConsult';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/voice/consult","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipants(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipants';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipants';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants","POST",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCallParticipantsUserUserId(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantsUserUserId';if(n==null||n==="")throw'Missing the required parameter "userId" when calling postConversationsCallParticipantsUserUserId';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantsUserUserId';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/user/{userId}","POST",{conversationId:e,userId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallbackParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsCallbackParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallbackParticipantReplace(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantReplace';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantReplace';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCallbackParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallbacks(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCallbacks';return this.apiClient.callApi("/api/v2/conversations/callbacks","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCallbacksBulkDisconnect(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCallbacksBulkDisconnect';return this.apiClient.callApi("/api/v2/conversations/callbacks/bulk/disconnect","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCallbacksBulkUpdate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCallbacksBulkUpdate';return this.apiClient.callApi("/api/v2/conversations/callbacks/bulk/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCalls(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCalls';return this.apiClient.callApi("/api/v2/conversations/calls","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCallsUserUserId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postConversationsCallsUserUserId';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCallsUserUserId';return this.apiClient.callApi("/api/v2/conversations/calls/user/{userId}","POST",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsChatCommunicationMessages(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsChatCommunicationMessages';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsChatCommunicationMessages';if(i==null)throw'Missing the required parameter "body" when calling postConversationsChatCommunicationMessages';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/communications/{communicationId}/messages","POST",{conversationId:e,communicationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsChatCommunicationTyping(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsChatCommunicationTyping';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsChatCommunicationTyping';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/communications/{communicationId}/typing","POST",{conversationId:e,communicationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsChatParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsChatParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsChatParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsChatParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsChatParticipantReplace(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsChatParticipantReplace';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsChatParticipantReplace';if(i==null)throw'Missing the required parameter "body" when calling postConversationsChatParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsChats(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsChats';return this.apiClient.callApi("/api/v2/conversations/chats","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCobrowsesessionParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCobrowsesessionParticipantReplace(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantReplace';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCustomattributesSchemas(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCustomattributesSchemas';return this.apiClient.callApi("/api/v2/conversations/customattributes/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCustomattributesSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';return this.apiClient.callApi("/api/v2/conversations/customattributes/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsEmailInboundmessages(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailInboundmessages';if(n==null)throw'Missing the required parameter "body" when calling postConversationsEmailInboundmessages';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/inboundmessages","POST",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsEmailMessages(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailMessages';if(n==null)throw'Missing the required parameter "body" when calling postConversationsEmailMessages';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages","POST",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsEmailMessagesDraftAttachmentsCopy(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailMessagesDraftAttachmentsCopy';if(n==null)throw'Missing the required parameter "body" when calling postConversationsEmailMessagesDraftAttachmentsCopy';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/draft/attachments/copy","POST",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsEmailParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsEmailParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsEmailParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsEmailParticipantReplace(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantReplace';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsEmailParticipantReplace';if(i==null)throw'Missing the required parameter "body" when calling postConversationsEmailParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsEmailReconnect(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailReconnect';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/reconnect","POST",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsEmails(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsEmails';return this.apiClient.callApi("/api/v2/conversations/emails","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsEmailsAgentless(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsEmailsAgentless';return this.apiClient.callApi("/api/v2/conversations/emails/agentless","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsFaxes(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsFaxes';return this.apiClient.callApi("/api/v2/conversations/faxes","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsKeyconfigurations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsKeyconfigurations';return this.apiClient.callApi("/api/v2/conversations/keyconfigurations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsKeyconfigurationsValidate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsKeyconfigurationsValidate';return this.apiClient.callApi("/api/v2/conversations/keyconfigurations/validate","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessageCommunicationMessages(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessages';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessages';if(i==null)throw'Missing the required parameter "body" when calling postConversationsMessageCommunicationMessages';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages","POST",{conversationId:e,communicationId:n},{useNormalizedMessage:a.useNormalizedMessage},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessageCommunicationMessagesMedia(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessagesMedia';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessagesMedia';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media","POST",{conversationId:e,communicationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessageCommunicationMessagesMediaUploads(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessagesMediaUploads';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessagesMediaUploads';if(i==null)throw'Missing the required parameter "body" when calling postConversationsMessageCommunicationMessagesMediaUploads';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media/uploads","POST",{conversationId:e,communicationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessageCommunicationSocialmediaMessages(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationSocialmediaMessages';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationSocialmediaMessages';if(i==null)throw'Missing the required parameter "body" when calling postConversationsMessageCommunicationSocialmediaMessages';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/socialmedia/messages","POST",{conversationId:e,communicationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessageCommunicationTyping(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationTyping';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationTyping';if(i==null)throw'Missing the required parameter "body" when calling postConversationsMessageCommunicationTyping';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/typing","POST",{conversationId:e,communicationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessageInboundOpenEvent(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenEvent';if(n==null)throw'Missing the required parameter "body" when calling postConversationsMessageInboundOpenEvent';return this.apiClient.callApi("/api/v2/conversations/messages/{integrationId}/inbound/open/event","POST",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessageInboundOpenMessage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenMessage';if(n==null)throw'Missing the required parameter "body" when calling postConversationsMessageInboundOpenMessage';return this.apiClient.callApi("/api/v2/conversations/messages/{integrationId}/inbound/open/message","POST",{integrationId:e},{prefetchConversationId:i.prefetchConversationId},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessageInboundOpenReceipt(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenReceipt';if(n==null)throw'Missing the required parameter "body" when calling postConversationsMessageInboundOpenReceipt';return this.apiClient.callApi("/api/v2/conversations/messages/{integrationId}/inbound/open/receipt","POST",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessageInboundOpenStructuredResponse(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenStructuredResponse';if(n==null)throw'Missing the required parameter "body" when calling postConversationsMessageInboundOpenStructuredResponse';return this.apiClient.callApi("/api/v2/conversations/messages/{integrationId}/inbound/open/structured/response","POST",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessageMessagesBulk(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageMessagesBulk';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/messages/bulk","POST",{conversationId:e},{useNormalizedMessage:n.useNormalizedMessage},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessageParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessageParticipantMonitor(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantMonitor';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantMonitor';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/monitor","POST",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessageParticipantReplace(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantReplace';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantReplace';if(i==null)throw'Missing the required parameter "body" when calling postConversationsMessageParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessages(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessages';return this.apiClient.callApi("/api/v2/conversations/messages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagesAgentless(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagesAgentless';return this.apiClient.callApi("/api/v2/conversations/messages/agentless","POST",{},{useNormalizedMessage:n.useNormalizedMessage},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagesInboundOpen(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagesInboundOpen';return this.apiClient.callApi("/api/v2/conversations/messages/inbound/open","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagingIntegrationsApple(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsApple';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/apple","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagingIntegrationsFacebook(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsFacebook';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/facebook","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagingIntegrationsInstagram(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsInstagram';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/instagram","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagingIntegrationsOpen(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpen';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagingIntegrationsTwitter(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsTwitter';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/twitter","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagingIntegrationsWhatsapp(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsWhatsapp';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagingIntegrationsWhatsappEmbeddedsignup(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsWhatsappEmbeddedsignup';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagingSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingSettings';return this.apiClient.callApi("/api/v2/conversations/messaging/settings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessagingSupportedcontent(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingSupportedcontent';return this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsParticipantsAttributesSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';return this.apiClient.callApi("/api/v2/conversations/participants/attributes/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsScreenshareParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsScreenshareParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsSocialParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsSocialParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsVideoAgentconferenceCommunication(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsVideoAgentconferenceCommunication';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsVideoAgentconferenceCommunication';return this.apiClient.callApi("/api/v2/conversations/videos/{conversationId}/agentconference/communications/{communicationId}","POST",{conversationId:e,communicationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsVideoParticipantCommunicationWrapup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsVideoParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsVideoParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsVideoParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsVideosMeetings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsVideosMeetings';return this.apiClient.callApi("/api/v2/conversations/videos/meetings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationCustomattributes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationCustomattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes","PUT",{conversationId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationCustomattributesBulk(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationCustomattributesBulk';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes/bulk","PUT",{conversationId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationParticipantFlaggedreason(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationParticipantFlaggedreason';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling putConversationParticipantFlaggedreason';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/flaggedreason","PUT",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationSecureattributes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationSecureattributes';if(n==null)throw'Missing the required parameter "body" when calling putConversationSecureattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/secureattributes","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationTags(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationTags';if(n==null)throw'Missing the required parameter "body" when calling putConversationTags';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/tags","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsCallParticipantCommunicationUuidata(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsCallParticipantCommunicationUuidata';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling putConversationsCallParticipantCommunicationUuidata';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling putConversationsCallParticipantCommunicationUuidata';if(a==null)throw'Missing the required parameter "body" when calling putConversationsCallParticipantCommunicationUuidata';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/uuidata","PUT",{conversationId:e,participantId:n,communicationId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}putConversationsCallRecordingstate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsCallRecordingstate';if(n==null)throw'Missing the required parameter "body" when calling putConversationsCallRecordingstate';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsCallbackRecordingstate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsCallbackRecordingstate';if(n==null)throw'Missing the required parameter "body" when calling putConversationsCallbackRecordingstate';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsChatRecordingstate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsChatRecordingstate';if(n==null)throw'Missing the required parameter "body" when calling putConversationsChatRecordingstate';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsCobrowsesessionRecordingstate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsCobrowsesessionRecordingstate';if(n==null)throw'Missing the required parameter "body" when calling putConversationsCobrowsesessionRecordingstate';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsCustomattributesSchema(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putConversationsCustomattributesSchema';if(n==null)throw'Missing the required parameter "body" when calling putConversationsCustomattributesSchema';return this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsEmailMessagesDraft(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsEmailMessagesDraft';if(n==null)throw'Missing the required parameter "body" when calling putConversationsEmailMessagesDraft';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/draft","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsEmailRecordingstate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsEmailRecordingstate';if(n==null)throw'Missing the required parameter "body" when calling putConversationsEmailRecordingstate';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsKeyconfiguration(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "keyconfigurationsId" when calling putConversationsKeyconfiguration';if(n==null)throw'Missing the required parameter "body" when calling putConversationsKeyconfiguration';return this.apiClient.callApi("/api/v2/conversations/keyconfigurations/{keyconfigurationsId}","PUT",{keyconfigurationsId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsMessageRecordingstate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';if(n==null)throw'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}","PUT",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}","PUT",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/instagram/{integrationId}","PUT",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}","PUT",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/twitter/{integrationId}","PUT",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';if(n==null)throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}","PUT",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsMessagingSettingsDefault(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putConversationsMessagingSettingsDefault';return this.apiClient.callApi("/api/v2/conversations/messaging/settings/default","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsMessagingSupportedcontentDefault(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';return this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent/default","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsMessagingThreadingtimeline(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putConversationsMessagingThreadingtimeline';return this.apiClient.callApi("/api/v2/conversations/messaging/threadingtimeline","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsScreenshareRecordingstate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsScreenshareRecordingstate';if(n==null)throw'Missing the required parameter "body" when calling putConversationsScreenshareRecordingstate';return this.apiClient.callApi("/api/v2/conversations/screenshares/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsSocialRecordingstate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsSocialRecordingstate';if(n==null)throw'Missing the required parameter "body" when calling putConversationsSocialRecordingstate';return this.apiClient.callApi("/api/v2/conversations/socials/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsVideoRecordingstate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsVideoRecordingstate';if(n==null)throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';return this.apiClient.callApi("/api/v2/conversations/videos/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Cb=class{constructor(e){this.apiClient=e||k.instance}getDataextensionsCoretype(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "coretypeName" when calling getDataextensionsCoretype';return this.apiClient.callApi("/api/v2/dataextensions/coretypes/{coretypeName}","GET",{coretypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getDataextensionsCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/dataextensions/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getDataextensionsLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/dataextensions/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},Ab=class{constructor(e){this.apiClient=e||k.instance}deleteDataprivacyMaskingrule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling deleteDataprivacyMaskingrule';return this.apiClient.callApi("/api/v2/dataprivacy/maskingrules/{ruleId}","DELETE",{ruleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getDataprivacyMaskingrule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling getDataprivacyMaskingrule';return this.apiClient.callApi("/api/v2/dataprivacy/maskingrules/{ruleId}","GET",{ruleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getDataprivacyMaskingrules(e){return e=e||{},this.apiClient.callApi("/api/v2/dataprivacy/maskingrules","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchDataprivacyMaskingrule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling patchDataprivacyMaskingrule';return this.apiClient.callApi("/api/v2/dataprivacy/maskingrules/{ruleId}","PATCH",{ruleId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postDataprivacyMaskingrules(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postDataprivacyMaskingrules';return this.apiClient.callApi("/api/v2/dataprivacy/maskingrules","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postDataprivacyMaskingrulesValidate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';return this.apiClient.callApi("/api/v2/dataprivacy/maskingrules/validate","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},bb=class{constructor(e){this.apiClient=e||k.instance}getDownload(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "downloadId" when calling getDownload';return this.apiClient.callApi("/api/v2/downloads/{downloadId}","GET",{downloadId:e},{contentDisposition:n.contentDisposition,issueRedirect:n.issueRedirect,redirectToAuth:n.redirectToAuth},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},yb=class{constructor(e){this.apiClient=e||k.instance}deleteEmailsSettingsThreading(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings/threading","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getEmailsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getEmailsSettingsThreading(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings/threading","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchEmailsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings","PATCH",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchEmailsSettingsThreading(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings/threading","PATCH",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},Pb=class{constructor(e){this.apiClient=e||k.instance}deleteEmployeeengagementCelebration(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "celebrationId" when calling deleteEmployeeengagementCelebration';return this.apiClient.callApi("/api/v2/employeeengagement/celebrations/{celebrationId}","DELETE",{celebrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getEmployeeengagementCelebrations(e){return e=e||{},this.apiClient.callApi("/api/v2/employeeengagement/celebrations","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getEmployeeengagementRecognition(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "recognitionId" when calling getEmployeeengagementRecognition';return this.apiClient.callApi("/api/v2/employeeengagement/recognitions/{recognitionId}","GET",{recognitionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getEmployeeengagementRecognitions(e){return e=e||{},this.apiClient.callApi("/api/v2/employeeengagement/recognitions","GET",{},{direction:e.direction,recipient:e.recipient,dateStart:e.dateStart,dateEnd:e.dateEnd,pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchEmployeeengagementCelebration(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "celebrationId" when calling patchEmployeeengagementCelebration';if(n==null)throw'Missing the required parameter "body" when calling patchEmployeeengagementCelebration';return this.apiClient.callApi("/api/v2/employeeengagement/celebrations/{celebrationId}","PATCH",{celebrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postEmployeeengagementRecognitions(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';return this.apiClient.callApi("/api/v2/employeeengagement/recognitions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},jb=class{constructor(e){this.apiClient=e||k.instance}postEventsConversations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postEventsConversations';return this.apiClient.callApi("/api/v2/events/conversations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postEventsRoutingCustomkpiattributions(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postEventsRoutingCustomkpiattributions';return this.apiClient.callApi("/api/v2/events/routing/customkpiattributions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postEventsUsersPresence(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postEventsUsersPresence';return this.apiClient.callApi("/api/v2/events/users/presence","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postEventsUsersRoutingstatus(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';return this.apiClient.callApi("/api/v2/events/users/routingstatus","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Sb=class{constructor(e){this.apiClient=e||k.instance}deleteExternalcontactsContact(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling deleteExternalcontactsContact';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}","DELETE",{contactId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteExternalcontactsContactNote(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling deleteExternalcontactsContactNote';if(n==null||n==="")throw'Missing the required parameter "noteId" when calling deleteExternalcontactsContactNote';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}","DELETE",{contactId:e,noteId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteExternalcontactsContactsSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling deleteExternalcontactsContactsSchema';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/{schemaId}","DELETE",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteExternalcontactsExternalsource(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalSourceId" when calling deleteExternalcontactsExternalsource';return this.apiClient.callApi("/api/v2/externalcontacts/externalsources/{externalSourceId}","DELETE",{externalSourceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteExternalcontactsImportCsvSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportCsvSetting';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/settings/{settingsId}","DELETE",{settingsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteExternalcontactsImportSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportSetting';return this.apiClient.callApi("/api/v2/externalcontacts/import/settings/{settingsId}","DELETE",{settingsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteExternalcontactsOrganization(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling deleteExternalcontactsOrganization';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}","DELETE",{externalOrganizationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteExternalcontactsOrganizationNote(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling deleteExternalcontactsOrganizationNote';if(n==null||n==="")throw'Missing the required parameter "noteId" when calling deleteExternalcontactsOrganizationNote';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}","DELETE",{externalOrganizationId:e,noteId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteExternalcontactsOrganizationTrustor(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling deleteExternalcontactsOrganizationTrustor';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/trustor","DELETE",{externalOrganizationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteExternalcontactsRelationship(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "relationshipId" when calling deleteExternalcontactsRelationship';return this.apiClient.callApi("/api/v2/externalcontacts/relationships/{relationshipId}","DELETE",{relationshipId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContact(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContact';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}","GET",{contactId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactIdentifiers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactIdentifiers';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/identifiers","GET",{contactId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactJourneySegments(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySegments';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/journey/segments","GET",{contactId:e},{includeMerged:n.includeMerged,limit:n.limit},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactJourneySessions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySessions';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/journey/sessions","GET",{contactId:e},{pageSize:n.pageSize,after:n.after,includeMerged:n.includeMerged},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactNote(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactNote';if(n==null||n==="")throw'Missing the required parameter "noteId" when calling getExternalcontactsContactNote';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}","GET",{contactId:e,noteId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactNotes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactNotes';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/notes","GET",{contactId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortOrder:n.sortOrder,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactUnresolved(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactUnresolved';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/unresolved","GET",{contactId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContacts(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/contacts","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,q:e.q,sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsContactsExport(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "exportId" when calling getExternalcontactsContactsExport';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/exports/{exportId}","GET",{exportId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactsExports(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/contacts/exports","GET",{},{divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi"),after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsContactsSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getExternalcontactsContactsSchema';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactsSchemaVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getExternalcontactsContactsSchemaVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getExternalcontactsContactsSchemaVersion';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/{schemaId}/versions/{versionId}","GET",{schemaId:e,versionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactsSchemaVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getExternalcontactsContactsSchemaVersions';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/{schemaId}/versions","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactsSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsContactsSchemasCoretype(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getExternalcontactsContactsSchemasCoretype';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactsSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsContactsSchemasLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsExternalsource(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalSourceId" when calling getExternalcontactsExternalsource';return this.apiClient.callApi("/api/v2/externalcontacts/externalsources/{externalSourceId}","GET",{externalSourceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsExternalsources(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/externalsources","GET",{},{cursor:e.cursor,limit:e.limit,name:e.name,active:e.active},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsImportCsvSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "settingsId" when calling getExternalcontactsImportCsvSetting';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/settings/{settingsId}","GET",{settingsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsImportCsvSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/import/csv/settings","GET",{},{after:e.after,pageSize:e.pageSize,externalSettingsId:e.externalSettingsId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsImportCsvUploadDetails(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "uploadId" when calling getExternalcontactsImportCsvUploadDetails';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/uploads/{uploadId}/details","GET",{uploadId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsImportCsvUploadPreview(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "uploadId" when calling getExternalcontactsImportCsvUploadPreview';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/uploads/{uploadId}/preview","GET",{uploadId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsImportJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getExternalcontactsImportJob';return this.apiClient.callApi("/api/v2/externalcontacts/import/jobs/{jobId}","GET",{jobId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsImportJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/import/jobs","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi"),after:e.after,pageSize:e.pageSize,sortOrder:e.sortOrder,jobStatus:e.jobStatus},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsImportSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "settingsId" when calling getExternalcontactsImportSetting';return this.apiClient.callApi("/api/v2/externalcontacts/import/settings/{settingsId}","GET",{settingsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsImportSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/import/settings","GET",{},{after:e.after,pageSize:e.pageSize,sortOrder:e.sortOrder,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsOrganization(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganization';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}","GET",{externalOrganizationId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi"),includeTrustors:n.includeTrustors},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsOrganizationContacts(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationContacts';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/contacts","GET",{externalOrganizationId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,q:n.q,sortOrder:n.sortOrder,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsOrganizationIdentifiers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationIdentifiers';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/identifiers","GET",{externalOrganizationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsOrganizationNote(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationNote';if(n==null||n==="")throw'Missing the required parameter "noteId" when calling getExternalcontactsOrganizationNote';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}","GET",{externalOrganizationId:e,noteId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsOrganizationNotes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationNotes';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes","GET",{externalOrganizationId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortOrder:n.sortOrder,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsOrganizationRelationships(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationRelationships';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships","GET",{externalOrganizationId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsOrganizations(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/organizations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,q:e.q,trustorId:this.apiClient.buildCollectionParam(e.trustorId,"multi"),sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),includeTrustors:e.includeTrustors,divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsOrganizationsSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getExternalcontactsOrganizationsSchema';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsOrganizationsSchemaVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getExternalcontactsOrganizationsSchemaVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getExternalcontactsOrganizationsSchemaVersion';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/{schemaId}/versions/{versionId}","GET",{schemaId:e,versionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsOrganizationsSchemaVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getExternalcontactsOrganizationsSchemaVersions';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/{schemaId}/versions","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsOrganizationsSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsOrganizationsSchemasCoretype(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getExternalcontactsOrganizationsSchemasCoretype';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsOrganizationsSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsOrganizationsSchemasLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsRelationship(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "relationshipId" when calling getExternalcontactsRelationship';return this.apiClient.callApi("/api/v2/externalcontacts/relationships/{relationshipId}","GET",{relationshipId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsReversewhitepageslookup(e,n){if(n=n||{},e==null)throw'Missing the required parameter "lookupVal" when calling getExternalcontactsReversewhitepageslookup';return this.apiClient.callApi("/api/v2/externalcontacts/reversewhitepageslookup","GET",{},{lookupVal:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),divisionId:n.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsScanContacts(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/contacts","GET",{},{limit:e.limit,cursor:e.cursor,divisionId:e.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanContactsDivisionviewsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/contacts/divisionviews/all","GET",{},{limit:e.limit,cursor:e.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanNotes(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/notes","GET",{},{limit:e.limit,cursor:e.cursor,divisionId:e.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanNotesDivisionviewsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/notes/divisionviews/all","GET",{},{limit:e.limit,cursor:e.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanOrganizations(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/organizations","GET",{},{limit:e.limit,cursor:e.cursor,divisionId:e.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanOrganizationsDivisionviewsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/organizations/divisionviews/all","GET",{},{limit:e.limit,cursor:e.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanRelationships(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/relationships","GET",{},{limit:e.limit,cursor:e.cursor,divisionId:e.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanRelationshipsDivisionviewsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/relationships/divisionviews/all","GET",{},{limit:e.limit,cursor:e.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchExternalcontactsContact(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling patchExternalcontactsContact';if(n==null)throw'Missing the required parameter "body" when calling patchExternalcontactsContact';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}","PATCH",{contactId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchExternalcontactsContactIdentifiers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling patchExternalcontactsContactIdentifiers';if(n==null)throw'Missing the required parameter "body" when calling patchExternalcontactsContactIdentifiers';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/identifiers","PATCH",{contactId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchExternalcontactsOrganizationIdentifiers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganizationIdentifiers';if(n==null)throw'Missing the required parameter "body" when calling patchExternalcontactsOrganizationIdentifiers';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/identifiers","PATCH",{externalOrganizationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkContacts(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContacts';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkContactsAdd(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsAdd';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkContactsDivisionviews(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsDivisionviews';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts/divisionviews","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkContactsEnrich(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsEnrich';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts/enrich","POST",{},{dryRun:n.dryRun},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkContactsRemove(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsRemove';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkContactsUnresolved(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsUnresolved';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts/unresolved","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkContactsUpdate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsUpdate';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkNotes(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkNotes';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/notes","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkNotesAdd(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkNotesAdd';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/notes/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkNotesRemove(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkNotesRemove';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/notes/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkNotesUpdate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkNotesUpdate';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/notes/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkOrganizations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizations';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/organizations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkOrganizationsAdd(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsAdd';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/organizations/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkOrganizationsDivisionviews(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsDivisionviews';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/organizations/divisionviews","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkOrganizationsEnrich(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsEnrich';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/organizations/enrich","POST",{},{dryRun:n.dryRun},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkOrganizationsRemove(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsRemove';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/organizations/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkOrganizationsUpdate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsUpdate';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/organizations/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkRelationships(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkRelationships';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/relationships","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkRelationshipsAdd(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkRelationshipsAdd';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/relationships/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkRelationshipsRemove(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkRelationshipsRemove';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/relationships/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkRelationshipsUpdate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkRelationshipsUpdate';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/relationships/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsContactJourneySegments(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling postExternalcontactsContactJourneySegments';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/journey/segments","POST",{contactId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsContactNotes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling postExternalcontactsContactNotes';if(n==null)throw'Missing the required parameter "body" when calling postExternalcontactsContactNotes';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/notes","POST",{contactId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsContactPromotion(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling postExternalcontactsContactPromotion';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/promotion","POST",{contactId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsContacts(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsContacts';return this.apiClient.callApi("/api/v2/externalcontacts/contacts","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsContactsEnrich(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsContactsEnrich';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/enrich","POST",{},{dryRun:n.dryRun},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsContactsExports(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsContactsExports';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/exports","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsContactsMerge(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsContactsMerge';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/merge","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsContactsSchemas(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsContactsSchemas';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsExternalsources(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsExternalsources';return this.apiClient.callApi("/api/v2/externalcontacts/externalsources","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsIdentifierlookup(e,n){if(n=n||{},e==null)throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';return this.apiClient.callApi("/api/v2/externalcontacts/identifierlookup","POST",{},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsIdentifierlookupContacts(e,n){if(n=n||{},e==null)throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookupContacts';return this.apiClient.callApi("/api/v2/externalcontacts/identifierlookup/contacts","POST",{},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsIdentifierlookupOrganizations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookupOrganizations';return this.apiClient.callApi("/api/v2/externalcontacts/identifierlookup/organizations","POST",{},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsImportCsvJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsImportCsvJobs';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsImportCsvSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsImportCsvSettings';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/settings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsImportCsvUploads(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsImportCsvUploads';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/uploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsImportJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsImportJobs';return this.apiClient.callApi("/api/v2/externalcontacts/import/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsImportSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsImportSettings';return this.apiClient.callApi("/api/v2/externalcontacts/import/settings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsMergeContacts(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsMergeContacts';return this.apiClient.callApi("/api/v2/externalcontacts/merge/contacts","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsOrganizationNotes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling postExternalcontactsOrganizationNotes';if(n==null)throw'Missing the required parameter "body" when calling postExternalcontactsOrganizationNotes';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes","POST",{externalOrganizationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsOrganizations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsOrganizations';return this.apiClient.callApi("/api/v2/externalcontacts/organizations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsOrganizationsEnrich(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsOrganizationsEnrich';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/enrich","POST",{},{dryRun:n.dryRun},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsOrganizationsSchemas(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsOrganizationsSchemas';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsRelationships(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsRelationships';return this.apiClient.callApi("/api/v2/externalcontacts/relationships","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putExternalcontactsContact(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling putExternalcontactsContact';if(n==null)throw'Missing the required parameter "body" when calling putExternalcontactsContact';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}","PUT",{contactId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsContactNote(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling putExternalcontactsContactNote';if(n==null||n==="")throw'Missing the required parameter "noteId" when calling putExternalcontactsContactNote';if(i==null)throw'Missing the required parameter "body" when calling putExternalcontactsContactNote';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}","PUT",{contactId:e,noteId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putExternalcontactsContactsSchema(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putExternalcontactsContactsSchema';if(n==null)throw'Missing the required parameter "body" when calling putExternalcontactsContactsSchema';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsConversation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putExternalcontactsConversation';if(n==null)throw'Missing the required parameter "body" when calling putExternalcontactsConversation';return this.apiClient.callApi("/api/v2/externalcontacts/conversations/{conversationId}","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsExternalsource(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalSourceId" when calling putExternalcontactsExternalsource';if(n==null)throw'Missing the required parameter "body" when calling putExternalcontactsExternalsource';return this.apiClient.callApi("/api/v2/externalcontacts/externalsources/{externalSourceId}","PUT",{externalSourceId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsImportCsvSetting(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "settingsId" when calling putExternalcontactsImportCsvSetting';if(n==null)throw'Missing the required parameter "body" when calling putExternalcontactsImportCsvSetting';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/settings/{settingsId}","PUT",{settingsId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsImportJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling putExternalcontactsImportJob';if(n==null)throw'Missing the required parameter "body" when calling putExternalcontactsImportJob';return this.apiClient.callApi("/api/v2/externalcontacts/import/jobs/{jobId}","PUT",{jobId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsImportSetting(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "settingsId" when calling putExternalcontactsImportSetting';if(n==null)throw'Missing the required parameter "body" when calling putExternalcontactsImportSetting';return this.apiClient.callApi("/api/v2/externalcontacts/import/settings/{settingsId}","PUT",{settingsId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsOrganization(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling putExternalcontactsOrganization';if(n==null)throw'Missing the required parameter "body" when calling putExternalcontactsOrganization';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}","PUT",{externalOrganizationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsOrganizationNote(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling putExternalcontactsOrganizationNote';if(n==null||n==="")throw'Missing the required parameter "noteId" when calling putExternalcontactsOrganizationNote';if(i==null)throw'Missing the required parameter "body" when calling putExternalcontactsOrganizationNote';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}","PUT",{externalOrganizationId:e,noteId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putExternalcontactsOrganizationTrustorTrustorId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling putExternalcontactsOrganizationTrustorTrustorId';if(n==null||n==="")throw'Missing the required parameter "trustorId" when calling putExternalcontactsOrganizationTrustorTrustorId';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/trustor/{trustorId}","PUT",{externalOrganizationId:e,trustorId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsOrganizationsSchema(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putExternalcontactsOrganizationsSchema';if(n==null)throw'Missing the required parameter "body" when calling putExternalcontactsOrganizationsSchema';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsRelationship(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "relationshipId" when calling putExternalcontactsRelationship';if(n==null)throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';return this.apiClient.callApi("/api/v2/externalcontacts/relationships/{relationshipId}","PUT",{relationshipId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Ob=class{constructor(e){this.apiClient=e||k.instance}deleteFaxDocument(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling deleteFaxDocument';return this.apiClient.callApi("/api/v2/fax/documents/{documentId}","DELETE",{documentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFaxDocument(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling getFaxDocument';return this.apiClient.callApi("/api/v2/fax/documents/{documentId}","GET",{documentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFaxDocumentContent(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling getFaxDocumentContent';return this.apiClient.callApi("/api/v2/fax/documents/{documentId}/content","GET",{documentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFaxDocuments(e){return e=e||{},this.apiClient.callApi("/api/v2/fax/documents","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFaxSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/fax/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFaxSummary(e){return e=e||{},this.apiClient.callApi("/api/v2/fax/summary","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putFaxDocument(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling putFaxDocument';if(n==null)throw'Missing the required parameter "body" when calling putFaxDocument';return this.apiClient.callApi("/api/v2/fax/documents/{documentId}","PUT",{documentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putFaxSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/fax/settings","PUT",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},xb=class{constructor(e){this.apiClient=e||k.instance}deleteAnalyticsFlowsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsFlowsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsFlowsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsFlowsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsFlowsActivityQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsActivityQuery';return this.apiClient.callApi("/api/v2/analytics/flows/activity/query","POST",{},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsFlowsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsFlowsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsFlowsObservationsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';return this.apiClient.callApi("/api/v2/analytics/flows/observations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Tb=class{constructor(e){this.apiClient=e||k.instance}deleteEmployeeperformanceExternalmetricsDefinition(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';return this.apiClient.callApi("/api/v2/employeeperformance/externalmetrics/definitions/{metricId}","DELETE",{metricId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteGamificationContest(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling deleteGamificationContest';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}","DELETE",{contestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getEmployeeperformanceExternalmetricsDefinition(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';return this.apiClient.callApi("/api/v2/employeeperformance/externalmetrics/definitions/{metricId}","GET",{metricId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getEmployeeperformanceExternalmetricsDefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/employeeperformance/externalmetrics/definitions","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationContest(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling getGamificationContest';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}","GET",{contestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationContestAgentsScores(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScores';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}/agents/scores","GET",{contestId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,workday:n.workday,returnsView:n.returnsView},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationContestAgentsScoresMe(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresMe';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}/agents/scores/me","GET",{contestId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,workday:n.workday,returnsView:n.returnsView},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationContestAgentsScoresTrends(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrends';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}/agents/scores/trends","GET",{contestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationContestAgentsScoresTrendsMe(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrendsMe';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}/agents/scores/trends/me","GET",{contestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationContestPrizeimage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling getGamificationContestPrizeimage';if(n==null||n==="")throw'Missing the required parameter "prizeImageId" when calling getGamificationContestPrizeimage';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}/prizeimages/{prizeImageId}","GET",{contestId:e,prizeImageId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationContests(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/contests","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,dateStart:e.dateStart,dateEnd:e.dateEnd,status:this.apiClient.buildCollectionParam(e.status,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationContestsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/contests/me","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,dateStart:e.dateStart,dateEnd:e.dateEnd,status:this.apiClient.buildCollectionParam(e.status,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder,view:e.view},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationInsights(e,n,i,a,r,s){if(s=s||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsights';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationInsights';if(i==null)throw'Missing the required parameter "granularity" when calling getGamificationInsights';if(a==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsights';if(r==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsights';return this.apiClient.callApi("/api/v2/gamification/insights","GET",{},{filterType:e,filterId:n,granularity:i,comparativePeriodStartWorkday:a,primaryPeriodStartWorkday:r,pageSize:s.pageSize,pageNumber:s.pageNumber,sortKey:s.sortKey,sortMetricId:s.sortMetricId,sortOrder:s.sortOrder,userIds:s.userIds,reportsTo:s.reportsTo},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],s.customHeaders)}getGamificationInsightsDetails(e,n,i,a,r,s){if(s=s||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsDetails';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsDetails';if(i==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsDetails';if(a==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsDetails';if(r==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsDetails';return this.apiClient.callApi("/api/v2/gamification/insights/details","GET",{},{filterType:e,filterId:n,granularity:i,comparativePeriodStartWorkday:a,primaryPeriodStartWorkday:r},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],s.customHeaders)}getGamificationInsightsGroupsTrends(e,n,i,a,r,s,o,l){if(l=l||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsGroupsTrends';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsGroupsTrends';if(i==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsGroupsTrends';if(a==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsGroupsTrends';if(r==null)throw'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsGroupsTrends';if(s==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsGroupsTrends';if(o==null)throw'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsGroupsTrends';return this.apiClient.callApi("/api/v2/gamification/insights/groups/trends","GET",{},{filterType:e,filterId:n,granularity:i,comparativePeriodStartWorkday:a,comparativePeriodEndWorkday:r,primaryPeriodStartWorkday:s,primaryPeriodEndWorkday:o},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],l.customHeaders)}getGamificationInsightsGroupsTrendsAll(e,n,i,a,r,s,o,l){if(l=l||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsGroupsTrendsAll';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsGroupsTrendsAll';if(i==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsGroupsTrendsAll';if(a==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsGroupsTrendsAll';if(r==null)throw'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsGroupsTrendsAll';if(s==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsGroupsTrendsAll';if(o==null)throw'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsGroupsTrendsAll';return this.apiClient.callApi("/api/v2/gamification/insights/groups/trends/all","GET",{},{filterType:e,filterId:n,granularity:i,comparativePeriodStartWorkday:a,comparativePeriodEndWorkday:r,primaryPeriodStartWorkday:s,primaryPeriodEndWorkday:o},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],l.customHeaders)}getGamificationInsightsManagers(e,n,i,a,r){if(r=r||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsManagers';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsManagers';if(i==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsManagers';if(a==null)throw'Missing the required parameter "startWorkday" when calling getGamificationInsightsManagers';return this.apiClient.callApi("/api/v2/gamification/insights/managers","GET",{},{filterType:e,filterId:n,granularity:i,startWorkday:a,pageSize:r.pageSize,pageNumber:r.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getGamificationInsightsMembers(e,n,i,a,r){if(r=r||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsMembers';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsMembers';if(i==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsMembers';if(a==null)throw'Missing the required parameter "startWorkday" when calling getGamificationInsightsMembers';return this.apiClient.callApi("/api/v2/gamification/insights/members","GET",{},{filterType:e,filterId:n,granularity:i,startWorkday:a,reportsTo:r.reportsTo},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getGamificationInsightsRankings(e,n,i,a,r,s,o){if(o=o||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsRankings';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsRankings';if(i==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsRankings';if(a==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsRankings';if(r==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsRankings';if(s==null)throw'Missing the required parameter "sortKey" when calling getGamificationInsightsRankings';return this.apiClient.callApi("/api/v2/gamification/insights/rankings","GET",{},{filterType:e,filterId:n,granularity:i,comparativePeriodStartWorkday:a,primaryPeriodStartWorkday:r,sortKey:s,sortMetricId:o.sortMetricId,sectionSize:o.sectionSize,userIds:o.userIds,reportsTo:o.reportsTo},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],o.customHeaders)}getGamificationInsightsTrends(e,n,i,a,r,s,o,l){if(l=l||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsTrends';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsTrends';if(i==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsTrends';if(a==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsTrends';if(r==null)throw'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsTrends';if(s==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsTrends';if(o==null)throw'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsTrends';return this.apiClient.callApi("/api/v2/gamification/insights/trends","GET",{},{filterType:e,filterId:n,granularity:i,comparativePeriodStartWorkday:a,comparativePeriodEndWorkday:r,primaryPeriodStartWorkday:s,primaryPeriodEndWorkday:o},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],l.customHeaders)}getGamificationInsightsUserDetails(e,n,i,a,r,s,o){if(o=o||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationInsightsUserDetails';if(n==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsUserDetails';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsUserDetails';if(a==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsUserDetails';if(r==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsUserDetails';if(s==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsUserDetails';return this.apiClient.callApi("/api/v2/gamification/insights/users/{userId}/details","GET",{userId:e},{filterType:n,filterId:i,granularity:a,comparativePeriodStartWorkday:r,primaryPeriodStartWorkday:s},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],o.customHeaders)}getGamificationInsightsUserTrends(e,n,i,a,r,s,o,l,u){if(u=u||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationInsightsUserTrends';if(n==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsUserTrends';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsUserTrends';if(a==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsUserTrends';if(r==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsUserTrends';if(s==null)throw'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsUserTrends';if(o==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsUserTrends';if(l==null)throw'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsUserTrends';return this.apiClient.callApi("/api/v2/gamification/insights/users/{userId}/trends","GET",{userId:e},{filterType:n,filterId:i,granularity:a,comparativePeriodStartWorkday:r,comparativePeriodEndWorkday:s,primaryPeriodStartWorkday:o,primaryPeriodEndWorkday:l},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],u.customHeaders)}getGamificationLeaderboard(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "startWorkday" when calling getGamificationLeaderboard';if(n==null)throw'Missing the required parameter "endWorkday" when calling getGamificationLeaderboard';return this.apiClient.callApi("/api/v2/gamification/leaderboard","GET",{},{startWorkday:e,endWorkday:n,metricId:i.metricId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationLeaderboardAll(e,n,i,a,r){if(r=r||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationLeaderboardAll';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationLeaderboardAll';if(i==null)throw'Missing the required parameter "startWorkday" when calling getGamificationLeaderboardAll';if(a==null)throw'Missing the required parameter "endWorkday" when calling getGamificationLeaderboardAll';return this.apiClient.callApi("/api/v2/gamification/leaderboard/all","GET",{},{filterType:e,filterId:n,startWorkday:i,endWorkday:a,metricId:r.metricId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getGamificationLeaderboardAllBestpoints(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationLeaderboardAllBestpoints';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationLeaderboardAllBestpoints';return this.apiClient.callApi("/api/v2/gamification/leaderboard/all/bestpoints","GET",{},{filterType:e,filterId:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationLeaderboardBestpoints(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/leaderboard/bestpoints","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationMetricdefinition(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "metricDefinitionId" when calling getGamificationMetricdefinition';return this.apiClient.callApi("/api/v2/gamification/metricdefinitions/{metricDefinitionId}","GET",{metricDefinitionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationMetricdefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/metricdefinitions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationProfile(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationProfile';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}","GET",{profileId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationProfileMembers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationProfileMembers';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/members","GET",{profileId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationProfileMetric(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationProfileMetric';if(n==null||n==="")throw'Missing the required parameter "metricId" when calling getGamificationProfileMetric';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/metrics/{metricId}","GET",{profileId:e,metricId:n},{workday:i.workday},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationProfileMetrics(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationProfileMetrics';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/metrics","GET",{profileId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi"),workday:n.workday,metricIds:n.metricIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationProfileMetricsObjectivedetails(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationProfileMetricsObjectivedetails';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/metrics/objectivedetails","GET",{profileId:e},{workday:n.workday},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationProfiles(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/profiles","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationProfilesUser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationProfilesUser';return this.apiClient.callApi("/api/v2/gamification/profiles/users/{userId}","GET",{userId:e},{workday:n.workday},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationProfilesUsersMe(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/profiles/users/me","GET",{},{workday:e.workday},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationScorecards(e,n){if(n=n||{},e==null)throw'Missing the required parameter "workday" when calling getGamificationScorecards';return this.apiClient.callApi("/api/v2/gamification/scorecards","GET",{},{workday:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationScorecardsAttendance(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsAttendance';if(n==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsAttendance';return this.apiClient.callApi("/api/v2/gamification/scorecards/attendance","GET",{},{startWorkday:e,endWorkday:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationScorecardsBestpoints(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/scorecards/bestpoints","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationScorecardsPointsAlltime(e,n){if(n=n||{},e==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsPointsAlltime';return this.apiClient.callApi("/api/v2/gamification/scorecards/points/alltime","GET",{},{endWorkday:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationScorecardsPointsAverage(e,n){if(n=n||{},e==null)throw'Missing the required parameter "workday" when calling getGamificationScorecardsPointsAverage';return this.apiClient.callApi("/api/v2/gamification/scorecards/points/average","GET",{},{workday:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationScorecardsPointsTrends(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsPointsTrends';if(n==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsPointsTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/points/trends","GET",{},{startWorkday:e,endWorkday:n,dayOfWeek:i.dayOfWeek},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationScorecardsProfileMetricUserValuesTrends(e,n,i,a,r,s){if(s=s||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';if(n==null||n==="")throw'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';if(i==null||i==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';if(a==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUserValuesTrends';if(r==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricUserValuesTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/{userId}/values/trends","GET",{profileId:e,metricId:n,userId:i},{startWorkday:a,endWorkday:r,referenceWorkday:s.referenceWorkday,timeZone:s.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],s.customHeaders)}getGamificationScorecardsProfileMetricUsersValuesTrends(e,n,i,a,r,s){if(s=s||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';if(n==null||n==="")throw'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';if(i==null)throw'Missing the required parameter "filterType" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';if(a==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';if(r==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/values/trends","GET",{profileId:e,metricId:n},{filterType:i,filterId:s.filterId,startWorkday:a,endWorkday:r,referenceWorkday:s.referenceWorkday,timeZone:s.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],s.customHeaders)}getGamificationScorecardsProfileMetricValuesTrends(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricValuesTrends';if(n==null||n==="")throw'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricValuesTrends';if(i==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricValuesTrends';if(a==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricValuesTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/values/trends","GET",{profileId:e,metricId:n},{filterType:r.filterType,startWorkday:i,endWorkday:a,referenceWorkday:r.referenceWorkday,timeZone:r.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getGamificationScorecardsUser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsUser';if(n==null)throw'Missing the required parameter "workday" when calling getGamificationScorecardsUser';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/{userId}","GET",{userId:e},{workday:n,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationScorecardsUserAttendance(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsUserAttendance';if(n==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsUserAttendance';if(i==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsUserAttendance';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/{userId}/attendance","GET",{userId:e},{startWorkday:n,endWorkday:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getGamificationScorecardsUserBestpoints(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsUserBestpoints';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/{userId}/bestpoints","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationScorecardsUserPointsAlltime(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsUserPointsAlltime';if(n==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsUserPointsAlltime';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/{userId}/points/alltime","GET",{userId:e},{endWorkday:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationScorecardsUserPointsTrends(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsUserPointsTrends';if(n==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsUserPointsTrends';if(i==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsUserPointsTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/{userId}/points/trends","GET",{userId:e},{startWorkday:n,endWorkday:i,dayOfWeek:a.dayOfWeek},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getGamificationScorecardsUserValuesTrends(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsUserValuesTrends';if(n==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsUserValuesTrends';if(i==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsUserValuesTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/{userId}/values/trends","GET",{userId:e},{startWorkday:n,endWorkday:i,timeZone:a.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getGamificationScorecardsUsersPointsAverage(e,n,i,a){if(a=a||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationScorecardsUsersPointsAverage';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationScorecardsUsersPointsAverage';if(i==null)throw'Missing the required parameter "workday" when calling getGamificationScorecardsUsersPointsAverage';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/points/average","GET",{},{filterType:e,filterId:n,workday:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getGamificationScorecardsUsersValuesAverage(e,n,i,a){if(a=a||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationScorecardsUsersValuesAverage';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationScorecardsUsersValuesAverage';if(i==null)throw'Missing the required parameter "workday" when calling getGamificationScorecardsUsersValuesAverage';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/values/average","GET",{},{filterType:e,filterId:n,workday:i,timeZone:a.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getGamificationScorecardsUsersValuesTrends(e,n,i,a,r){if(r=r||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationScorecardsUsersValuesTrends';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationScorecardsUsersValuesTrends';if(i==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsUsersValuesTrends';if(a==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsUsersValuesTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/values/trends","GET",{},{filterType:e,filterId:n,startWorkday:i,endWorkday:a,timeZone:r.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getGamificationScorecardsValuesAverage(e,n){if(n=n||{},e==null)throw'Missing the required parameter "workday" when calling getGamificationScorecardsValuesAverage';return this.apiClient.callApi("/api/v2/gamification/scorecards/values/average","GET",{},{workday:e,timeZone:n.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationScorecardsValuesTrends(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsValuesTrends';if(n==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsValuesTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/values/trends","GET",{},{filterType:i.filterType,referenceWorkday:i.referenceWorkday,startWorkday:e,endWorkday:n,timeZone:i.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationStatus(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/status","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationTemplate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "templateId" when calling getGamificationTemplate';return this.apiClient.callApi("/api/v2/gamification/templates/{templateId}","GET",{templateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationTemplates(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/templates","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchEmployeeperformanceExternalmetricsDefinition(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';if(n==null)throw'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';return this.apiClient.callApi("/api/v2/employeeperformance/externalmetrics/definitions/{metricId}","PATCH",{metricId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchGamificationContest(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling patchGamificationContest';if(n==null)throw'Missing the required parameter "body" when calling patchGamificationContest';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}","PATCH",{contestId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postEmployeeperformanceExternalmetricsData(e){return e=e||{},this.apiClient.callApi("/api/v2/employeeperformance/externalmetrics/data","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postEmployeeperformanceExternalmetricsDefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/employeeperformance/externalmetrics/definitions","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postGamificationContests(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGamificationContests';return this.apiClient.callApi("/api/v2/gamification/contests","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGamificationContestsUploadsPrizeimages(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';return this.apiClient.callApi("/api/v2/gamification/contests/uploads/prizeimages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGamificationProfileActivate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling postGamificationProfileActivate';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/activate","POST",{profileId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGamificationProfileDeactivate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling postGamificationProfileDeactivate';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/deactivate","POST",{profileId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGamificationProfileMembers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling postGamificationProfileMembers';if(n==null)throw'Missing the required parameter "body" when calling postGamificationProfileMembers';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/members","POST",{profileId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGamificationProfileMembersValidate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling postGamificationProfileMembersValidate';if(n==null)throw'Missing the required parameter "body" when calling postGamificationProfileMembersValidate';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/members/validate","POST",{profileId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGamificationProfileMetricLink(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceProfileId" when calling postGamificationProfileMetricLink';if(n==null||n==="")throw'Missing the required parameter "sourceMetricId" when calling postGamificationProfileMetricLink';if(i==null)throw'Missing the required parameter "body" when calling postGamificationProfileMetricLink';return this.apiClient.callApi("/api/v2/gamification/profiles/{sourceProfileId}/metrics/{sourceMetricId}/link","POST",{sourceProfileId:e,sourceMetricId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postGamificationProfileMetrics(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling postGamificationProfileMetrics';if(n==null)throw'Missing the required parameter "body" when calling postGamificationProfileMetrics';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/metrics","POST",{profileId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGamificationProfiles(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGamificationProfiles';return this.apiClient.callApi("/api/v2/gamification/profiles","POST",{},{copyMetrics:n.copyMetrics},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGamificationProfilesUserQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postGamificationProfilesUserQuery';if(n==null)throw'Missing the required parameter "body" when calling postGamificationProfilesUserQuery';return this.apiClient.callApi("/api/v2/gamification/profiles/users/{userId}/query","POST",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGamificationProfilesUsersMeQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGamificationProfilesUsersMeQuery';return this.apiClient.callApi("/api/v2/gamification/profiles/users/me/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putGamificationContest(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling putGamificationContest';if(n==null)throw'Missing the required parameter "body" when calling putGamificationContest';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}","PUT",{contestId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putGamificationProfile(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling putGamificationProfile';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}","PUT",{profileId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putGamificationProfileMetric(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling putGamificationProfileMetric';if(n==null||n==="")throw'Missing the required parameter "metricId" when calling putGamificationProfileMetric';if(i==null)throw'Missing the required parameter "body" when calling putGamificationProfileMetric';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/metrics/{metricId}","PUT",{profileId:e,metricId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putGamificationStatus(e,n){if(n=n||{},e==null)throw'Missing the required parameter "status" when calling putGamificationStatus';return this.apiClient.callApi("/api/v2/gamification/status","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Mb=class{constructor(e){this.apiClient=e||k.instance}getGdprRequest(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "requestId" when calling getGdprRequest';return this.apiClient.callApi("/api/v2/gdpr/requests/{requestId}","GET",{requestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGdprRequests(e){return e=e||{},this.apiClient.callApi("/api/v2/gdpr/requests","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGdprSubjects(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "searchType" when calling getGdprSubjects';if(n==null)throw'Missing the required parameter "searchValue" when calling getGdprSubjects';return this.apiClient.callApi("/api/v2/gdpr/subjects","GET",{},{searchType:e,searchValue:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGdprRequests(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGdprRequests';return this.apiClient.callApi("/api/v2/gdpr/requests","POST",{},{deleteConfirmed:n.deleteConfirmed},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Eb=class{constructor(e){this.apiClient=e||k.instance}getGeolocationsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/geolocations/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUserGeolocation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserGeolocation';if(n==null||n==="")throw'Missing the required parameter "clientId" when calling getUserGeolocation';return this.apiClient.callApi("/api/v2/users/{userId}/geolocations/{clientId}","GET",{userId:e,clientId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchGeolocationsSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchGeolocationsSettings';return this.apiClient.callApi("/api/v2/geolocations/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUserGeolocation(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserGeolocation';if(n==null||n==="")throw'Missing the required parameter "clientId" when calling patchUserGeolocation';if(i==null)throw'Missing the required parameter "body" when calling patchUserGeolocation';return this.apiClient.callApi("/api/v2/users/{userId}/geolocations/{clientId}","PATCH",{userId:e,clientId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}},kb=class{constructor(e){this.apiClient=e||k.instance}deleteGreeting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling deleteGreeting';return this.apiClient.callApi("/api/v2/greetings/{greetingId}","DELETE",{greetingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGreeting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling getGreeting';return this.apiClient.callApi("/api/v2/greetings/{greetingId}","GET",{greetingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGreetingDownloads(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling getGreetingDownloads';return this.apiClient.callApi("/api/v2/greetings/{greetingId}/downloads","GET",{greetingId:e},{formatId:n.formatId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGreetingGroupsDownloads(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling getGreetingGroupsDownloads';return this.apiClient.callApi("/api/v2/greetings/{greetingId}/groups/downloads","GET",{greetingId:e},{formatId:n.formatId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGreetingMedia(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling getGreetingMedia';return this.apiClient.callApi("/api/v2/greetings/{greetingId}/media","GET",{greetingId:e},{formatId:n.formatId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGreetingUsersDownloads(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling getGreetingUsersDownloads';return this.apiClient.callApi("/api/v2/greetings/{greetingId}/users/downloads","GET",{greetingId:e},{formatId:n.formatId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGreetings(e){return e=e||{},this.apiClient.callApi("/api/v2/greetings","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGreetingsDefaults(e){return e=e||{},this.apiClient.callApi("/api/v2/greetings/defaults","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGroupGreetings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroupGreetings';return this.apiClient.callApi("/api/v2/groups/{groupId}/greetings","GET",{groupId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGroupGreetingsDefaults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroupGreetingsDefaults';return this.apiClient.callApi("/api/v2/groups/{groupId}/greetings/defaults","GET",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserGreetings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserGreetings';return this.apiClient.callApi("/api/v2/users/{userId}/greetings","GET",{userId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserGreetingsDefaults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserGreetingsDefaults';return this.apiClient.callApi("/api/v2/users/{userId}/greetings/defaults","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGreetings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGreetings';return this.apiClient.callApi("/api/v2/greetings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGroupGreetings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling postGroupGreetings';if(n==null)throw'Missing the required parameter "body" when calling postGroupGreetings';return this.apiClient.callApi("/api/v2/groups/{groupId}/greetings","POST",{groupId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUserGreetings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserGreetings';if(n==null)throw'Missing the required parameter "body" when calling postUserGreetings';return this.apiClient.callApi("/api/v2/users/{userId}/greetings","POST",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putGreeting(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling putGreeting';if(n==null)throw'Missing the required parameter "body" when calling putGreeting';return this.apiClient.callApi("/api/v2/greetings/{greetingId}","PUT",{greetingId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putGreetingsDefaults(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putGreetingsDefaults';return this.apiClient.callApi("/api/v2/greetings/defaults","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putGroupGreetingsDefaults(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling putGroupGreetingsDefaults';if(n==null)throw'Missing the required parameter "body" when calling putGroupGreetingsDefaults';return this.apiClient.callApi("/api/v2/groups/{groupId}/greetings/defaults","PUT",{groupId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserGreetingsDefaults(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserGreetingsDefaults';if(n==null)throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';return this.apiClient.callApi("/api/v2/users/{userId}/greetings/defaults","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},qb=class{constructor(e){this.apiClient=e||k.instance}deleteGroup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling deleteGroup';return this.apiClient.callApi("/api/v2/groups/{groupId}","DELETE",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteGroupDynamicsettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling deleteGroupDynamicsettings';return this.apiClient.callApi("/api/v2/groups/{groupId}/dynamicsettings","DELETE",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteGroupMembers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling deleteGroupMembers';if(n==null)throw'Missing the required parameter "ids" when calling deleteGroupMembers';return this.apiClient.callApi("/api/v2/groups/{groupId}/members","DELETE",{groupId:e},{ids:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFieldconfig(e,n){if(n=n||{},e==null)throw'Missing the required parameter "type" when calling getFieldconfig';return this.apiClient.callApi("/api/v2/fieldconfig","GET",{},{type:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGroup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroup';return this.apiClient.callApi("/api/v2/groups/{groupId}","GET",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGroupDynamicsettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroupDynamicsettings';return this.apiClient.callApi("/api/v2/groups/{groupId}/dynamicsettings","GET",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGroupIndividuals(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroupIndividuals';return this.apiClient.callApi("/api/v2/groups/{groupId}/individuals","GET",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGroupMembers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroupMembers';return this.apiClient.callApi("/api/v2/groups/{groupId}/members","GET",{groupId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortOrder:n.sortOrder,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGroupProfile(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroupProfile';return this.apiClient.callApi("/api/v2/groups/{groupId}/profile","GET",{groupId:e},{fields:n.fields},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGroups(e){return e=e||{},this.apiClient.callApi("/api/v2/groups","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),jabberId:this.apiClient.buildCollectionParam(e.jabberId,"multi"),sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGroupsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getGroupsSearch';return this.apiClient.callApi("/api/v2/groups/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getProfilesGroups(e){return e=e||{},this.apiClient.callApi("/api/v2/profiles/groups","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),jabberId:this.apiClient.buildCollectionParam(e.jabberId,"multi"),sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postGroupMembers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling postGroupMembers';if(n==null)throw'Missing the required parameter "body" when calling postGroupMembers';return this.apiClient.callApi("/api/v2/groups/{groupId}/members","POST",{groupId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGroups(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGroups';return this.apiClient.callApi("/api/v2/groups","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGroupsDynamicsettingsPreview(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGroupsDynamicsettingsPreview';return this.apiClient.callApi("/api/v2/groups/dynamicsettings/preview","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGroupsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGroupsSearch';return this.apiClient.callApi("/api/v2/groups/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putGroup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling putGroup';return this.apiClient.callApi("/api/v2/groups/{groupId}","PUT",{groupId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putGroupDynamicsettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling putGroupDynamicsettings';if(n==null)throw'Missing the required parameter "body" when calling putGroupDynamicsettings';return this.apiClient.callApi("/api/v2/groups/{groupId}/dynamicsettings","PUT",{groupId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},_b=class{constructor(e){this.apiClient=e||k.instance}deleteIdentityprovider(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "providerId" when calling deleteIdentityprovider';return this.apiClient.callApi("/api/v2/identityproviders/{providerId}","DELETE",{providerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteIdentityprovidersAdfs(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/adfs","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersCic(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/cic","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersGeneric(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/generic","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersGsuite(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/gsuite","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersIdentitynow(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/identitynow","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersOkta(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/okta","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersOnelogin(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/onelogin","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersPing(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/ping","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersPurecloud(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/purecloud","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersPureengage(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/pureengage","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersSalesforce(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/salesforce","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovider(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "providerId" when calling getIdentityprovider';return this.apiClient.callApi("/api/v2/identityproviders/{providerId}","GET",{providerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIdentityproviders(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersAdfs(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/adfs","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersCic(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/cic","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersGeneric(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/generic","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersGsuite(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/gsuite","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersIdentitynow(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/identitynow","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersOkta(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/okta","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersOnelogin(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/onelogin","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersPing(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/ping","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersPurecloud(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/purecloud","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersPureengage(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/pureengage","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersSalesforce(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/salesforce","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postIdentityproviders(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postIdentityproviders';return this.apiClient.callApi("/api/v2/identityproviders","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIdentityprovider(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "providerId" when calling putIdentityprovider';if(n==null)throw'Missing the required parameter "body" when calling putIdentityprovider';return this.apiClient.callApi("/api/v2/identityproviders/{providerId}","PUT",{providerId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIdentityprovidersAdfs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersAdfs';return this.apiClient.callApi("/api/v2/identityproviders/adfs","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIdentityprovidersCic(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersCic';return this.apiClient.callApi("/api/v2/identityproviders/cic","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIdentityprovidersGeneric(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersGeneric';return this.apiClient.callApi("/api/v2/identityproviders/generic","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIdentityprovidersGsuite(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersGsuite';return this.apiClient.callApi("/api/v2/identityproviders/gsuite","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIdentityprovidersIdentitynow(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersIdentitynow';return this.apiClient.callApi("/api/v2/identityproviders/identitynow","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIdentityprovidersOkta(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersOkta';return this.apiClient.callApi("/api/v2/identityproviders/okta","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIdentityprovidersOnelogin(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersOnelogin';return this.apiClient.callApi("/api/v2/identityproviders/onelogin","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIdentityprovidersPing(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersPing';return this.apiClient.callApi("/api/v2/identityproviders/ping","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIdentityprovidersPurecloud(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersPurecloud';return this.apiClient.callApi("/api/v2/identityproviders/purecloud","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIdentityprovidersPureengage(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersPureengage';return this.apiClient.callApi("/api/v2/identityproviders/pureengage","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIdentityprovidersSalesforce(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';return this.apiClient.callApi("/api/v2/identityproviders/salesforce","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Hb=class{constructor(e){this.apiClient=e||k.instance}getInfrastructureascodeAccelerator(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "acceleratorId" when calling getInfrastructureascodeAccelerator';return this.apiClient.callApi("/api/v2/infrastructureascode/accelerators/{acceleratorId}","GET",{acceleratorId:e},{preferredLanguage:n.preferredLanguage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getInfrastructureascodeAccelerators(e){return e=e||{},this.apiClient.callApi("/api/v2/infrastructureascode/accelerators","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,description:e.description,origin:e.origin,type:e.type,classification:e.classification,tags:e.tags},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getInfrastructureascodeJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getInfrastructureascodeJob';return this.apiClient.callApi("/api/v2/infrastructureascode/jobs/{jobId}","GET",{jobId:e},{details:n.details},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getInfrastructureascodeJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/infrastructureascode/jobs","GET",{},{maxResults:e.maxResults,includeErrors:e.includeErrors,sortBy:e.sortBy,sortOrder:e.sortOrder,acceleratorId:e.acceleratorId,submittedBy:e.submittedBy,status:e.status},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postInfrastructureascodeJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';return this.apiClient.callApi("/api/v2/infrastructureascode/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Ib=class{constructor(e){this.apiClient=e||k.instance}deleteIntegration(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteIntegration';return this.apiClient.callApi("/api/v2/integrations/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteIntegrationsAction(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling deleteIntegrationsAction';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}","DELETE",{actionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteIntegrationsActionDraft(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling deleteIntegrationsActionDraft';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft","DELETE",{actionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteIntegrationsCredential(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "credentialId" when calling deleteIntegrationsCredential';return this.apiClient.callApi("/api/v2/integrations/credentials/{credentialId}","DELETE",{credentialId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegration(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegration';return this.apiClient.callApi("/api/v2/integrations/{integrationId}","GET",{integrationId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortBy:n.sortBy,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),nextPage:n.nextPage,previousPage:n.previousPage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationConfigCurrent(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationConfigCurrent';return this.apiClient.callApi("/api/v2/integrations/{integrationId}/config/current","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrations(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,ids:this.apiClient.buildCollectionParam(e.ids,"multi"),integrationType:e.integrationType,reportedState:e.reportedState},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsAction(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsAction';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}","GET",{actionId:e},{expand:n.expand,flatten:n.flatten,includeConfig:n.includeConfig},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsActionDraft(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraft';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft","GET",{actionId:e},{expand:n.expand,flatten:n.flatten,includeConfig:n.includeConfig},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsActionDraftFunction(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftFunction';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/function","GET",{actionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsActionDraftSchema(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftSchema';if(n==null||n==="")throw'Missing the required parameter "fileName" when calling getIntegrationsActionDraftSchema';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/schemas/{fileName}","GET",{actionId:e,fileName:n},{flatten:i.flatten},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsActionDraftTemplate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftTemplate';if(n==null||n==="")throw'Missing the required parameter "fileName" when calling getIntegrationsActionDraftTemplate';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/templates/{fileName}","GET",{actionId:e,fileName:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["text/plain"],i.customHeaders)}getIntegrationsActionDraftValidation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftValidation';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/validation","GET",{actionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsActionFunction(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionFunction';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/function","GET",{actionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsActionSchema(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionSchema';if(n==null||n==="")throw'Missing the required parameter "fileName" when calling getIntegrationsActionSchema';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/schemas/{fileName}","GET",{actionId:e,fileName:n},{flatten:i.flatten},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsActionTemplate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionTemplate';if(n==null||n==="")throw'Missing the required parameter "fileName" when calling getIntegrationsActionTemplate';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/templates/{fileName}","GET",{actionId:e,fileName:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["text/plain"],i.customHeaders)}getIntegrationsActions(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/actions","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,nextPage:e.nextPage,previousPage:e.previousPage,sortBy:e.sortBy,sortOrder:e.sortOrder,category:e.category,name:e.name,ids:e.ids,secure:e.secure,includeAuthActions:e.includeAuthActions,includeConfig:e.includeConfig},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsActionsCategories(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/actions/categories","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,nextPage:e.nextPage,previousPage:e.previousPage,sortBy:e.sortBy,sortOrder:e.sortOrder,secure:e.secure},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsActionsCertificates(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/actions/certificates","GET",{},{status:e.status,type:e.type},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsActionsCertificatesTruststore(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/actions/certificates/truststore","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsActionsDrafts(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/actions/drafts","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,nextPage:e.nextPage,previousPage:e.previousPage,sortBy:e.sortBy,sortOrder:e.sortOrder,category:e.category,name:e.name,ids:e.ids,secure:e.secure,includeAuthActions:e.includeAuthActions,includeConfig:e.includeConfig},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsActionsFunctionsRuntimes(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/actions/functions/runtimes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsBotconnectorBot(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBot';if(n==null||n==="")throw'Missing the required parameter "botId" when calling getIntegrationsBotconnectorBot';return this.apiClient.callApi("/api/v2/integrations/botconnectors/{integrationId}/bots/{botId}","GET",{integrationId:e,botId:n},{version:i.version},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsBotconnectorBots(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBots';return this.apiClient.callApi("/api/v2/integrations/botconnectors/{integrationId}/bots","GET",{integrationId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsBotconnectorBotsSummaries(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBotsSummaries';return this.apiClient.callApi("/api/v2/integrations/botconnectors/{integrationId}/bots/summaries","GET",{integrationId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsBotconnectorIntegrationIdBot(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBot';if(n==null||n==="")throw'Missing the required parameter "botId" when calling getIntegrationsBotconnectorIntegrationIdBot';return this.apiClient.callApi("/api/v2/integrations/botconnector/{integrationId}/bots/{botId}","GET",{integrationId:e,botId:n},{version:i.version},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsBotconnectorIntegrationIdBotVersions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBotVersions';if(n==null||n==="")throw'Missing the required parameter "botId" when calling getIntegrationsBotconnectorIntegrationIdBotVersions';return this.apiClient.callApi("/api/v2/integrations/botconnector/{integrationId}/bots/{botId}/versions","GET",{integrationId:e,botId:n},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsBotconnectorIntegrationIdBots(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBots';return this.apiClient.callApi("/api/v2/integrations/botconnector/{integrationId}/bots","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsBotconnectorIntegrationIdBotsSummaries(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBotsSummaries';return this.apiClient.callApi("/api/v2/integrations/botconnector/{integrationId}/bots/summaries","GET",{integrationId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsClientapps(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/clientapps","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsClientappsUnifiedcommunications(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/clientapps/unifiedcommunications","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsCredential(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "credentialId" when calling getIntegrationsCredential';return this.apiClient.callApi("/api/v2/integrations/credentials/{credentialId}","GET",{credentialId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsCredentials(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/credentials","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsCredentialsListing(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/credentials/listing","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsCredentialsTypes(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/credentials/types","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechAudioconnector(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/audioconnector","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechAudioconnectorIntegrationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsSpeechAudioconnectorIntegrationId';return this.apiClient.callApi("/api/v2/integrations/speech/audioconnector/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechDialogflowAgent(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowAgent';return this.apiClient.callApi("/api/v2/integrations/speech/dialogflow/agents/{agentId}","GET",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechDialogflowAgents(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/dialogflow/agents","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechDialogflowcxAgent(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowcxAgent';return this.apiClient.callApi("/api/v2/integrations/speech/dialogflowcx/agents/{agentId}","GET",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechDialogflowcxAgents(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/dialogflowcx/agents","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechLexBotAlias(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexBotAlias';return this.apiClient.callApi("/api/v2/integrations/speech/lex/bot/alias/{aliasId}","GET",{aliasId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechLexBotBotIdAliases(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "botId" when calling getIntegrationsSpeechLexBotBotIdAliases';return this.apiClient.callApi("/api/v2/integrations/speech/lex/bot/{botId}/aliases","GET",{botId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,status:n.status,name:n.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechLexBots(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/lex/bots","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechLexv2BotAlias(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexv2BotAlias';return this.apiClient.callApi("/api/v2/integrations/speech/lexv2/bot/alias/{aliasId}","GET",{aliasId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechLexv2BotBotIdAliases(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "botId" when calling getIntegrationsSpeechLexv2BotBotIdAliases';return this.apiClient.callApi("/api/v2/integrations/speech/lexv2/bot/{botId}/aliases","GET",{botId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,status:n.status,name:n.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechLexv2Bots(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/lexv2/bots","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechNuanceNuanceIntegrationIdBot(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';if(n==null||n==="")throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}","GET",{nuanceIntegrationId:e,botId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi"),targetChannel:i.targetChannel},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';if(n==null||n==="")throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}/jobs/{jobId}","GET",{nuanceIntegrationId:e,botId:n,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';if(n==null||n==="")throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}/jobs/{jobId}/results","GET",{nuanceIntegrationId:e,botId:n,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getIntegrationsSpeechNuanceNuanceIntegrationIdBots(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBots';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots","GET",{nuanceIntegrationId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,onlyRegisteredBots:n.onlyRegisteredBots},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs/{jobId}","GET",{nuanceIntegrationId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs/{jobId}/results","GET",{nuanceIntegrationId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechSttEngine(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "engineId" when calling getIntegrationsSpeechSttEngine';return this.apiClient.callApi("/api/v2/integrations/speech/stt/engines/{engineId}","GET",{engineId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechSttEngines(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/stt/engines","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechTtsEngine(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngine';return this.apiClient.callApi("/api/v2/integrations/speech/tts/engines/{engineId}","GET",{engineId:e},{includeVoices:n.includeVoices},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechTtsEngineVoice(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngineVoice';if(n==null||n==="")throw'Missing the required parameter "voiceId" when calling getIntegrationsSpeechTtsEngineVoice';return this.apiClient.callApi("/api/v2/integrations/speech/tts/engines/{engineId}/voices/{voiceId}","GET",{engineId:e,voiceId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechTtsEngineVoices(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngineVoices';return this.apiClient.callApi("/api/v2/integrations/speech/tts/engines/{engineId}/voices","GET",{engineId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechTtsEngines(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/tts/engines","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,includeVoices:e.includeVoices,name:e.name,language:e.language},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechTtsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/tts/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsType(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "typeId" when calling getIntegrationsType';return this.apiClient.callApi("/api/v2/integrations/types/{typeId}","GET",{typeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsTypeConfigschema(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "typeId" when calling getIntegrationsTypeConfigschema';if(n==null||n==="")throw'Missing the required parameter "configType" when calling getIntegrationsTypeConfigschema';return this.apiClient.callApi("/api/v2/integrations/types/{typeId}/configschemas/{configType}","GET",{typeId:e,configType:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsTypes(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/types","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsUnifiedcommunicationsClientapp(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ucIntegrationId" when calling getIntegrationsUnifiedcommunicationsClientapp';return this.apiClient.callApi("/api/v2/integrations/unifiedcommunications/clientapps/{ucIntegrationId}","GET",{ucIntegrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsUnifiedcommunicationsClientapps(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/unifiedcommunications/clientapps","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsUserapps(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/userapps","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,appHost:e.appHost},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchIntegration(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchIntegration';return this.apiClient.callApi("/api/v2/integrations/{integrationId}","PATCH",{integrationId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortBy:n.sortBy,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),nextPage:n.nextPage,previousPage:n.previousPage},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchIntegrationsAction(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling patchIntegrationsAction';if(n==null)throw'Missing the required parameter "body" when calling patchIntegrationsAction';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}","PATCH",{actionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchIntegrationsActionDraft(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling patchIntegrationsActionDraft';if(n==null)throw'Missing the required parameter "body" when calling patchIntegrationsActionDraft';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft","PATCH",{actionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrations(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postIntegrationsActionDraft(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraft';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft","POST",{actionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsActionDraftFunctionUpload(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';if(n==null)throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/function/upload","POST",{actionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsActionDraftPublish(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftPublish';if(n==null)throw'Missing the required parameter "body" when calling postIntegrationsActionDraftPublish';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/publish","POST",{actionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsActionDraftTest(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftTest';if(n==null)throw'Missing the required parameter "body" when calling postIntegrationsActionDraftTest';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/test","POST",{actionId:e},{flatten:i.flatten},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsActionExecute(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionExecute';if(n==null)throw'Missing the required parameter "body" when calling postIntegrationsActionExecute';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/execute","POST",{actionId:e},{flatten:i.flatten},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsActionTest(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionTest';if(n==null)throw'Missing the required parameter "body" when calling postIntegrationsActionTest';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/test","POST",{actionId:e},{flatten:i.flatten},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsActions(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postIntegrationsActions';return this.apiClient.callApi("/api/v2/integrations/actions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsActionsDrafts(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postIntegrationsActionsDrafts';return this.apiClient.callApi("/api/v2/integrations/actions/drafts","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsBotconnectorsIncomingMessages(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postIntegrationsBotconnectorsIncomingMessages';return this.apiClient.callApi("/api/v2/integrations/botconnectors/incoming/messages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsBotconnectorsOutgoingMessages(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postIntegrationsBotconnectorsOutgoingMessages';return this.apiClient.callApi("/api/v2/integrations/botconnectors/outgoing/messages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsCredentials(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/credentials","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';if(n==null||n==="")throw'Missing the required parameter "botId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}/jobs","POST",{nuanceIntegrationId:e,botId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs","POST",{nuanceIntegrationId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,onlyRegisteredBots:n.onlyRegisteredBots},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';if(n==null)throw'Missing the required parameter "settings" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/validate","POST",{nuanceIntegrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsWebhookEvents(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tokenId" when calling postIntegrationsWebhookEvents';if(n==null)throw'Missing the required parameter "body" when calling postIntegrationsWebhookEvents';return this.apiClient.callApi("/api/v2/integrations/webhooks/{tokenId}/events","POST",{tokenId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIntegrationConfigCurrent(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putIntegrationConfigCurrent';return this.apiClient.callApi("/api/v2/integrations/{integrationId}/config/current","PUT",{integrationId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIntegrationsActionDraftFunction(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';if(n==null)throw'Missing the required parameter "body" when calling putIntegrationsActionDraftFunction';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/function","PUT",{actionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIntegrationsBotconnectorIntegrationIdBots(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putIntegrationsBotconnectorIntegrationIdBots';if(n==null)throw'Missing the required parameter "botList" when calling putIntegrationsBotconnectorIntegrationIdBots';return this.apiClient.callApi("/api/v2/integrations/botconnector/{integrationId}/bots","PUT",{integrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIntegrationsCredential(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "credentialId" when calling putIntegrationsCredential';return this.apiClient.callApi("/api/v2/integrations/credentials/{credentialId}","PUT",{credentialId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';if(n==null)throw'Missing the required parameter "settings" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/settings","PUT",{nuanceIntegrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIntegrationsSpeechTtsSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putIntegrationsSpeechTtsSettings';return this.apiClient.callApi("/api/v2/integrations/speech/tts/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIntegrationsUnifiedcommunicationThirdpartypresences(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ucIntegrationId" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';if(n==null)throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';return this.apiClient.callApi("/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences","PUT",{ucIntegrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Rb=class{constructor(e){this.apiClient=e||k.instance}deleteIntentsCategory(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "categoryId" when calling deleteIntentsCategory';return this.apiClient.callApi("/api/v2/intents/categories/{categoryId}","DELETE",{categoryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteIntentsCustomerintent(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "customerIntentId" when calling deleteIntentsCustomerintent';return this.apiClient.callApi("/api/v2/intents/customerintents/{customerIntentId}","DELETE",{customerIntentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntentsAssignmentsExternalcontact(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalContactId" when calling getIntentsAssignmentsExternalcontact';return this.apiClient.callApi("/api/v2/intents/assignments/externalcontacts/{externalContactId}","GET",{externalContactId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntentsCategories(e){return e=e||{},this.apiClient.callApi("/api/v2/intents/categories","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,queryValue:e.queryValue},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntentsCategory(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "categoryId" when calling getIntentsCategory';return this.apiClient.callApi("/api/v2/intents/categories/{categoryId}","GET",{categoryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntentsCustomerintent(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "customerIntentId" when calling getIntentsCustomerintent';return this.apiClient.callApi("/api/v2/intents/customerintents/{customerIntentId}","GET",{customerIntentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntentsCustomerintentSourceintents(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "customerIntentId" when calling getIntentsCustomerintentSourceintents';return this.apiClient.callApi("/api/v2/intents/customerintents/{customerIntentId}/sourceintents","GET",{customerIntentId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,queryValue:n.queryValue},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntentsCustomerintents(e){return e=e||{},this.apiClient.callApi("/api/v2/intents/customerintents","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,queryValue:e.queryValue,categoryId:e.categoryId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntentsSourceintents(e){return e=e||{},this.apiClient.callApi("/api/v2/intents/sourceintents","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,type:e.type,sourceId:e.sourceId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchIntentsCategory(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "categoryId" when calling patchIntentsCategory';if(n==null)throw'Missing the required parameter "body" when calling patchIntentsCategory';return this.apiClient.callApi("/api/v2/intents/categories/{categoryId}","PATCH",{categoryId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchIntentsCustomerintent(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "customerIntentId" when calling patchIntentsCustomerintent';if(n==null)throw'Missing the required parameter "body" when calling patchIntentsCustomerintent';return this.apiClient.callApi("/api/v2/intents/customerintents/{customerIntentId}","PATCH",{customerIntentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntentsAssignmentsExternalcontactCustomerintentAssignment(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "externalContactId" when calling postIntentsAssignmentsExternalcontactCustomerintentAssignment';if(n==null||n==="")throw'Missing the required parameter "customerIntentId" when calling postIntentsAssignmentsExternalcontactCustomerintentAssignment';if(i==null)throw'Missing the required parameter "body" when calling postIntentsAssignmentsExternalcontactCustomerintentAssignment';return this.apiClient.callApi("/api/v2/intents/assignments/externalcontacts/{externalContactId}/customerintents/{customerIntentId}/assignment","POST",{externalContactId:e,customerIntentId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postIntentsCategories(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postIntentsCategories';return this.apiClient.callApi("/api/v2/intents/categories","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntentsCustomerintentSourceintentsBulkAdd(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "customerIntentId" when calling postIntentsCustomerintentSourceintentsBulkAdd';if(n==null)throw'Missing the required parameter "body" when calling postIntentsCustomerintentSourceintentsBulkAdd';return this.apiClient.callApi("/api/v2/intents/customerintents/{customerIntentId}/sourceintents/bulk/add","POST",{customerIntentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntentsCustomerintentSourceintentsBulkRemove(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "customerIntentId" when calling postIntentsCustomerintentSourceintentsBulkRemove';if(n==null)throw'Missing the required parameter "body" when calling postIntentsCustomerintentSourceintentsBulkRemove';return this.apiClient.callApi("/api/v2/intents/customerintents/{customerIntentId}/sourceintents/bulk/remove","POST",{customerIntentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntentsCustomerintents(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postIntentsCustomerintents';return this.apiClient.callApi("/api/v2/intents/customerintents","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},zb=class{constructor(e){this.apiClient=e||k.instance}deleteAnalyticsJourneysAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsJourneysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteJourneyActionmap(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionMapId" when calling deleteJourneyActionmap';return this.apiClient.callApi("/api/v2/journey/actionmaps/{actionMapId}","DELETE",{actionMapId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteJourneyActiontemplate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionTemplateId" when calling deleteJourneyActiontemplate';return this.apiClient.callApi("/api/v2/journey/actiontemplates/{actionTemplateId}","DELETE",{actionTemplateId:e},{hardDelete:n.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteJourneyExternaleventsConfiguration(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "configId" when calling deleteJourneyExternaleventsConfiguration';return this.apiClient.callApi("/api/v2/journey/externalevents/configurations/{configId}","DELETE",{configId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteJourneyExternaleventsSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling deleteJourneyExternaleventsSchema';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas/{schemaId}","DELETE",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteJourneyOutcome(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "outcomeId" when calling deleteJourneyOutcome';return this.apiClient.callApi("/api/v2/journey/outcomes/{outcomeId}","DELETE",{outcomeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteJourneyOutcomesPredictor(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling deleteJourneyOutcomesPredictor';return this.apiClient.callApi("/api/v2/journey/outcomes/predictors/{predictorId}","DELETE",{predictorId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteJourneySegment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "segmentId" when calling deleteJourneySegment';return this.apiClient.callApi("/api/v2/journey/segments/{segmentId}","DELETE",{segmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteJourneyView(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling deleteJourneyView';return this.apiClient.callApi("/api/v2/journey/views/{viewId}","DELETE",{viewId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteJourneyViewSchedules(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling deleteJourneyViewSchedules';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/schedules","DELETE",{viewId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsJourneysAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsJourneysAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactJourneySegments(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySegments';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/journey/segments","GET",{contactId:e},{includeMerged:n.includeMerged,limit:n.limit},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactJourneySessions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySessions';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/journey/sessions","GET",{contactId:e},{pageSize:n.pageSize,after:n.after,includeMerged:n.includeMerged},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyActionmap(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionMapId" when calling getJourneyActionmap';return this.apiClient.callApi("/api/v2/journey/actionmaps/{actionMapId}","GET",{actionMapId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyActionmaps(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/actionmaps","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,filterField:e.filterField,filterValue:e.filterValue,actionMapIds:this.apiClient.buildCollectionParam(e.actionMapIds,"multi"),queryFields:this.apiClient.buildCollectionParam(e.queryFields,"multi"),queryValue:e.queryValue},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyActionmapsEstimatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJob';return this.apiClient.callApi("/api/v2/journey/actionmaps/estimates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyActionmapsEstimatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJobResults';return this.apiClient.callApi("/api/v2/journey/actionmaps/estimates/jobs/{jobId}/results","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyActiontarget(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionTargetId" when calling getJourneyActiontarget';return this.apiClient.callApi("/api/v2/journey/actiontargets/{actionTargetId}","GET",{actionTargetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyActiontargets(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/actiontargets","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyActiontemplate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionTemplateId" when calling getJourneyActiontemplate';return this.apiClient.callApi("/api/v2/journey/actiontemplates/{actionTemplateId}","GET",{actionTemplateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyActiontemplates(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/actiontemplates","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,mediaType:e.mediaType,state:e.state,queryFields:this.apiClient.buildCollectionParam(e.queryFields,"multi"),queryValue:e.queryValue},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyDeploymentCustomerPing(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getJourneyDeploymentCustomerPing';if(n==null||n==="")throw'Missing the required parameter "customerCookieId" when calling getJourneyDeploymentCustomerPing';return this.apiClient.callApi("/api/v2/journey/deployments/{deploymentId}/customers/{customerCookieId}/ping","GET",{deploymentId:e,customerCookieId:n},{dl:i.dl,dt:i.dt,appNamespace:i.appNamespace,sessionId:i.sessionId,sinceLastBeaconMilliseconds:i.sinceLastBeaconMilliseconds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyExternaleventsConfiguration(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "configId" when calling getJourneyExternaleventsConfiguration';return this.apiClient.callApi("/api/v2/journey/externalevents/configurations/{configId}","GET",{configId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyExternaleventsConfigurations(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/externalevents/configurations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyExternaleventsSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getJourneyExternaleventsSchema';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyExternaleventsSchemaVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getJourneyExternaleventsSchemaVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getJourneyExternaleventsSchemaVersion';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas/{schemaId}/versions/{versionId}","GET",{schemaId:e,versionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyExternaleventsSchemaVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getJourneyExternaleventsSchemaVersions';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas/{schemaId}/versions","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyExternaleventsSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/externalevents/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyExternaleventsSchemasCoretype(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getJourneyExternaleventsSchemasCoretype';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyExternaleventsSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/externalevents/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyExternaleventsSchemasLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/externalevents/schemas/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyOutcome(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "outcomeId" when calling getJourneyOutcome';return this.apiClient.callApi("/api/v2/journey/outcomes/{outcomeId}","GET",{outcomeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyOutcomes(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/outcomes","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,outcomeIds:this.apiClient.buildCollectionParam(e.outcomeIds,"multi"),queryFields:this.apiClient.buildCollectionParam(e.queryFields,"multi"),queryValue:e.queryValue},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyOutcomesAttributionsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getJourneyOutcomesAttributionsJob';return this.apiClient.callApi("/api/v2/journey/outcomes/attributions/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyOutcomesAttributionsJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getJourneyOutcomesAttributionsJobResults';return this.apiClient.callApi("/api/v2/journey/outcomes/attributions/jobs/{jobId}/results","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyOutcomesPredictor(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling getJourneyOutcomesPredictor';return this.apiClient.callApi("/api/v2/journey/outcomes/predictors/{predictorId}","GET",{predictorId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyOutcomesPredictors(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/outcomes/predictors","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneySegment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "segmentId" when calling getJourneySegment';return this.apiClient.callApi("/api/v2/journey/segments/{segmentId}","GET",{segmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneySegments(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/segments","GET",{},{sortBy:e.sortBy,pageSize:e.pageSize,pageNumber:e.pageNumber,isActive:e.isActive,segmentIds:this.apiClient.buildCollectionParam(e.segmentIds,"multi"),queryFields:this.apiClient.buildCollectionParam(e.queryFields,"multi"),queryValue:e.queryValue},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneySession(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling getJourneySession';return this.apiClient.callApi("/api/v2/journey/sessions/{sessionId}","GET",{sessionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneySessionEvents(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling getJourneySessionEvents';return this.apiClient.callApi("/api/v2/journey/sessions/{sessionId}/events","GET",{sessionId:e},{pageSize:n.pageSize,after:n.after,eventType:n.eventType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneySessionOutcomescores(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling getJourneySessionOutcomescores';return this.apiClient.callApi("/api/v2/journey/sessions/{sessionId}/outcomescores","GET",{sessionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyView(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyView';return this.apiClient.callApi("/api/v2/journey/views/{viewId}","GET",{viewId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyViewSchedules(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewSchedules';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/schedules","GET",{viewId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyViewVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getJourneyViewVersion';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{versionId}","GET",{viewId:e,versionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyViewVersionChart(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersionChart';if(n==null||n==="")throw'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChart';if(i==null||i==="")throw'Missing the required parameter "chartId" when calling getJourneyViewVersionChart';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}","GET",{viewId:e,journeyViewVersion:n,chartId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getJourneyViewVersionChartVersion(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersionChartVersion';if(n==null||n==="")throw'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChartVersion';if(i==null||i==="")throw'Missing the required parameter "chartId" when calling getJourneyViewVersionChartVersion';if(a==null||a==="")throw'Missing the required parameter "chartVersion" when calling getJourneyViewVersionChartVersion';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}/versions/{chartVersion}","GET",{viewId:e,journeyViewVersion:n,chartId:i,chartVersion:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getJourneyViewVersionJob(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJob';if(n==null||n==="")throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJob';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}","GET",{viewId:e,journeyVersionId:n,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getJourneyViewVersionJobResults(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResults';if(n==null||n==="")throw'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionJobResults';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResults';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/jobs/{jobId}/results","GET",{viewId:e,journeyViewVersion:n,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getJourneyViewVersionJobResultsChart(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResultsChart';if(n==null||n==="")throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobResultsChart';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResultsChart';if(a==null||a==="")throw'Missing the required parameter "chartId" when calling getJourneyViewVersionJobResultsChart';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}/results/charts/{chartId}","GET",{viewId:e,journeyVersionId:n,jobId:i,chartId:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getJourneyViewVersionJobsLatest(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJobsLatest';if(n==null||n==="")throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobsLatest';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/latest","GET",{viewId:e,journeyVersionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyViews(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,nameOrCreatedBy:e.nameOrCreatedBy,expand:e.expand,id:e.id},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyViewsDataDetails(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/data/details","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyViewsEventdefinition(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "eventDefinitionId" when calling getJourneyViewsEventdefinition';return this.apiClient.callApi("/api/v2/journey/views/eventdefinitions/{eventDefinitionId}","GET",{eventDefinitionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyViewsEventdefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/eventdefinitions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyViewsJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/jobs","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,interval:e.interval,statuses:e.statuses},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyViewsJobsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/jobs/me","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,interval:e.interval,statuses:e.statuses},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyViewsSchedules(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/schedules","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchJourneyActionmap(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionMapId" when calling patchJourneyActionmap';return this.apiClient.callApi("/api/v2/journey/actionmaps/{actionMapId}","PATCH",{actionMapId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchJourneyActiontarget(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionTargetId" when calling patchJourneyActiontarget';return this.apiClient.callApi("/api/v2/journey/actiontargets/{actionTargetId}","PATCH",{actionTargetId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchJourneyActiontemplate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionTemplateId" when calling patchJourneyActiontemplate';return this.apiClient.callApi("/api/v2/journey/actiontemplates/{actionTemplateId}","PATCH",{actionTemplateId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchJourneyExternaleventsConfiguration(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "configId" when calling patchJourneyExternaleventsConfiguration';return this.apiClient.callApi("/api/v2/journey/externalevents/configurations/{configId}","PATCH",{configId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchJourneyOutcome(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "outcomeId" when calling patchJourneyOutcome';return this.apiClient.callApi("/api/v2/journey/outcomes/{outcomeId}","PATCH",{outcomeId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchJourneySegment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "segmentId" when calling patchJourneySegment';return this.apiClient.callApi("/api/v2/journey/segments/{segmentId}","PATCH",{segmentId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchJourneyViewVersionJob(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling patchJourneyViewVersionJob';if(n==null||n==="")throw'Missing the required parameter "journeyVersionId" when calling patchJourneyViewVersionJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling patchJourneyViewVersionJob';if(a==null)throw'Missing the required parameter "body" when calling patchJourneyViewVersionJob';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}","PATCH",{viewId:e,journeyVersionId:n,jobId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postAnalyticsJourneysAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsJourneysAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsJourneysAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsJourneysAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsContactJourneySegments(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling postExternalcontactsContactJourneySegments';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/journey/segments","POST",{contactId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postJourneyActionmaps(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/actionmaps","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyActionmapsEstimatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postJourneyActionmapsEstimatesJobs';return this.apiClient.callApi("/api/v2/journey/actionmaps/estimates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postJourneyActiontemplates(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/actiontemplates","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyDeploymentActionevent(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling postJourneyDeploymentActionevent';if(n==null)throw'Missing the required parameter "body" when calling postJourneyDeploymentActionevent';return this.apiClient.callApi("/api/v2/journey/deployments/{deploymentId}/actionevent","POST",{deploymentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postJourneyDeploymentAppevents(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling postJourneyDeploymentAppevents';return this.apiClient.callApi("/api/v2/journey/deployments/{deploymentId}/appevents","POST",{deploymentId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postJourneyDeploymentWebevents(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling postJourneyDeploymentWebevents';return this.apiClient.callApi("/api/v2/journey/deployments/{deploymentId}/webevents","POST",{deploymentId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postJourneyExternaleventsConfigurationEvents(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling postJourneyExternaleventsConfigurationEvents';return this.apiClient.callApi("/api/v2/journey/externalevents/configurations/{configurationId}/events","POST",{configurationId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postJourneyExternaleventsConfigurations(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/externalevents/configurations","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyExternaleventsSchemas(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postJourneyExternaleventsSchemas';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postJourneyFlowsPathsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/flows/paths/query","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyOutcomes(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/outcomes","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyOutcomesAttributionsJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/outcomes/attributions/jobs","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyOutcomesPredictors(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/outcomes/predictors","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneySegments(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/segments","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyViewSchedules(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling postJourneyViewSchedules';if(n==null)throw'Missing the required parameter "body" when calling postJourneyViewSchedules';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/schedules","POST",{viewId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postJourneyViewVersionJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling postJourneyViewVersionJobs';if(n==null||n==="")throw'Missing the required parameter "journeyVersionId" when calling postJourneyViewVersionJobs';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs","POST",{viewId:e,journeyVersionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postJourneyViewVersions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling postJourneyViewVersions';if(n==null)throw'Missing the required parameter "body" when calling postJourneyViewVersions';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions","POST",{viewId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postJourneyViews(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postJourneyViews';return this.apiClient.callApi("/api/v2/journey/views","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postJourneyViewsEncodingsValidate(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/encodings/validate","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putJourneyExternaleventsSchema(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putJourneyExternaleventsSchema';if(n==null)throw'Missing the required parameter "body" when calling putJourneyExternaleventsSchema';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putJourneyViewSchedules(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling putJourneyViewSchedules';if(n==null)throw'Missing the required parameter "body" when calling putJourneyViewSchedules';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/schedules","PUT",{viewId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putJourneyViewVersion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling putJourneyViewVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling putJourneyViewVersion';if(i==null)throw'Missing the required parameter "body" when calling putJourneyViewVersion';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{versionId}","PUT",{viewId:e,versionId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}},Db=class{constructor(e){this.apiClient=e||k.instance}deleteKnowledgeConnection(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "connectionId" when calling deleteKnowledgeConnection';return this.apiClient.callApi("/api/v2/knowledge/connections/{connectionId}","DELETE",{connectionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteKnowledgeKnowledgebase(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebase';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}","DELETE",{knowledgeBaseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteKnowledgeKnowledgebaseCategory(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseCategory';if(n==null||n==="")throw'Missing the required parameter "categoryId" when calling deleteKnowledgeKnowledgebaseCategory';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories/{categoryId}","DELETE",{knowledgeBaseId:e,categoryId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteKnowledgeKnowledgebaseDocument(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseDocument';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling deleteKnowledgeKnowledgebaseDocument';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}","DELETE",{knowledgeBaseId:e,documentId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteKnowledgeKnowledgebaseDocumentVariation(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "documentVariationId" when calling deleteKnowledgeKnowledgebaseDocumentVariation';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling deleteKnowledgeKnowledgebaseDocumentVariation';if(i==null||i==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseDocumentVariation';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}","DELETE",{documentVariationId:e,documentId:n,knowledgeBaseId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteKnowledgeKnowledgebaseExportJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseExportJob';if(n==null||n==="")throw'Missing the required parameter "exportJobId" when calling deleteKnowledgeKnowledgebaseExportJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/export/jobs/{exportJobId}","DELETE",{knowledgeBaseId:e,exportJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteKnowledgeKnowledgebaseImportJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseImportJob';if(n==null||n==="")throw'Missing the required parameter "importJobId" when calling deleteKnowledgeKnowledgebaseImportJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs/{importJobId}","DELETE",{knowledgeBaseId:e,importJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteKnowledgeKnowledgebaseLabel(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLabel';if(n==null||n==="")throw'Missing the required parameter "labelId" when calling deleteKnowledgeKnowledgebaseLabel';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId}","DELETE",{knowledgeBaseId:e,labelId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';if(n==null||n==="")throw'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}","DELETE",{knowledgeBaseId:e,sourceId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteKnowledgeKnowledgebaseSourcesServicenowSourceId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';if(n==null||n==="")throw'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}","DELETE",{knowledgeBaseId:e,sourceId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteKnowledgeKnowledgebaseSynchronizeJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';if(n==null||n==="")throw'Missing the required parameter "syncJobId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}","DELETE",{knowledgeBaseId:e,syncJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteKnowledgeSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeSettingId" when calling deleteKnowledgeSetting';return this.apiClient.callApi("/api/v2/knowledge/settings/{knowledgeSettingId}","DELETE",{knowledgeSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteKnowledgeSource(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling deleteKnowledgeSource';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}","DELETE",{sourceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeConnection(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "connectionId" when calling getKnowledgeConnection';return this.apiClient.callApi("/api/v2/knowledge/connections/{connectionId}","GET",{connectionId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeConnectionOptions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "connectionId" when calling getKnowledgeConnectionOptions';return this.apiClient.callApi("/api/v2/knowledge/connections/{connectionId}/options","GET",{connectionId:e},{after:n.after,pageSize:n.pageSize,parentId:n.parentId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeConnections(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/connections","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getKnowledgeGuestSessionCategories(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling getKnowledgeGuestSessionCategories';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/categories","GET",{sessionId:e},{before:n.before,after:n.after,pageSize:n.pageSize,parentId:n.parentId,isRoot:n.isRoot,name:n.name,sortBy:n.sortBy,expand:n.expand,includeDocumentCount:n.includeDocumentCount},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeGuestSessionDocument(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling getKnowledgeGuestSessionDocument';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling getKnowledgeGuestSessionDocument';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}","GET",{sessionId:e,documentId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeGuestSessionDocuments(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling getKnowledgeGuestSessionDocuments';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents","GET",{sessionId:e},{categoryId:this.apiClient.buildCollectionParam(n.categoryId,"multi"),pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeIntegrationOptions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getKnowledgeIntegrationOptions';return this.apiClient.callApi("/api/v2/knowledge/integrations/{integrationId}/options","GET",{integrationId:e},{knowledgeBaseIds:this.apiClient.buildCollectionParam(n.knowledgeBaseIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebase(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebase';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}","GET",{knowledgeBaseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseCategories(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseCategories';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories","GET",{knowledgeBaseId:e},{before:n.before,after:n.after,pageSize:n.pageSize,parentId:n.parentId,isRoot:n.isRoot,name:n.name,sortBy:n.sortBy,expand:n.expand,includeDocumentCount:n.includeDocumentCount},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseCategory(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseCategory';if(n==null||n==="")throw'Missing the required parameter "categoryId" when calling getKnowledgeKnowledgebaseCategory';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories/{categoryId}","GET",{knowledgeBaseId:e,categoryId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseDocument(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocument';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocument';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}","GET",{knowledgeBaseId:e,documentId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi"),state:i.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseDocumentFeedback(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentFeedback';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentFeedback';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback","GET",{knowledgeBaseId:e,documentId:n},{before:i.before,after:i.after,pageSize:i.pageSize,onlyCommented:i.onlyCommented,documentVersionId:i.documentVersionId,documentVariationId:i.documentVariationId,appType:i.appType,queryType:i.queryType,userId:i.userId,queueId:i.queueId,state:i.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';if(i==null||i==="")throw'Missing the required parameter "feedbackId" when calling getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback/{feedbackId}","GET",{knowledgeBaseId:e,documentId:n,feedbackId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeKnowledgebaseDocumentVariation(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "documentVariationId" when calling getKnowledgeKnowledgebaseDocumentVariation';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariation';if(i==null||i==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariation';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}","GET",{documentVariationId:e,documentId:n,knowledgeBaseId:i},{documentState:a.documentState,expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeKnowledgebaseDocumentVariations(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariations';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariations';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations","GET",{knowledgeBaseId:e,documentId:n},{before:i.before,after:i.after,pageSize:i.pageSize,documentState:i.documentState,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseDocumentVersion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVersion';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getKnowledgeKnowledgebaseDocumentVersion';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions/{versionId}","GET",{knowledgeBaseId:e,documentId:n,versionId:i},{expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeKnowledgebaseDocumentVersionVariation(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVersionVariation';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVersionVariation';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getKnowledgeKnowledgebaseDocumentVersionVariation';if(a==null||a==="")throw'Missing the required parameter "variationId" when calling getKnowledgeKnowledgebaseDocumentVersionVariation';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions/{versionId}/variations/{variationId}","GET",{knowledgeBaseId:e,documentId:n,versionId:i,variationId:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getKnowledgeKnowledgebaseDocumentVersionVariations(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVersionVariations';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVersionVariations';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getKnowledgeKnowledgebaseDocumentVersionVariations';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions/{versionId}/variations","GET",{knowledgeBaseId:e,documentId:n,versionId:i},{before:a.before,after:a.after,pageSize:a.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeKnowledgebaseDocumentVersions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVersions';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVersions';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions","GET",{knowledgeBaseId:e,documentId:n},{before:i.before,after:i.after,pageSize:i.pageSize,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseDocuments(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocuments';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents","GET",{knowledgeBaseId:e},{before:n.before,after:n.after,pageSize:n.pageSize,interval:n.interval,documentId:this.apiClient.buildCollectionParam(n.documentId,"multi"),categoryId:this.apiClient.buildCollectionParam(n.categoryId,"multi"),includeSubcategories:n.includeSubcategories,includeDrafts:n.includeDrafts,labelIds:this.apiClient.buildCollectionParam(n.labelIds,"multi"),expand:this.apiClient.buildCollectionParam(n.expand,"multi"),externalIds:this.apiClient.buildCollectionParam(n.externalIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseExportJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseExportJob';if(n==null||n==="")throw'Missing the required parameter "exportJobId" when calling getKnowledgeKnowledgebaseExportJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/export/jobs/{exportJobId}","GET",{knowledgeBaseId:e,exportJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseImportJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseImportJob';if(n==null||n==="")throw'Missing the required parameter "importJobId" when calling getKnowledgeKnowledgebaseImportJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs/{importJobId}","GET",{knowledgeBaseId:e,importJobId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseLabel(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLabel';if(n==null||n==="")throw'Missing the required parameter "labelId" when calling getKnowledgeKnowledgebaseLabel';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId}","GET",{knowledgeBaseId:e,labelId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseLabels(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLabels';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels","GET",{knowledgeBaseId:e},{before:n.before,after:n.after,pageSize:n.pageSize,name:n.name,includeDocumentCount:n.includeDocumentCount},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseOperations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations","GET",{knowledgeBaseId:e},{before:n.before,after:n.after,pageSize:n.pageSize,userId:this.apiClient.buildCollectionParam(n.userId,"multi"),type:this.apiClient.buildCollectionParam(n.type,"multi"),status:this.apiClient.buildCollectionParam(n.status,"multi"),interval:n.interval,sourceId:this.apiClient.buildCollectionParam(n.sourceId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseOperationsUsersQuery(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperationsUsersQuery';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations/users/query","GET",{knowledgeBaseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseParseJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseParseJob';if(n==null||n==="")throw'Missing the required parameter "parseJobId" when calling getKnowledgeKnowledgebaseParseJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}","GET",{knowledgeBaseId:e,parseJobId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseSources(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSources';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources","GET",{knowledgeBaseId:e},{type:n.type,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),ids:this.apiClient.buildCollectionParam(n.ids,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseSourcesSalesforceSourceId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';if(n==null||n==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}","GET",{knowledgeBaseId:e,sourceId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseSourcesServicenowSourceId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';if(n==null||n==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}","GET",{knowledgeBaseId:e,sourceId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseSynchronizeJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSynchronizeJob';if(n==null||n==="")throw'Missing the required parameter "syncJobId" when calling getKnowledgeKnowledgebaseSynchronizeJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}","GET",{knowledgeBaseId:e,syncJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseUnansweredGroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUnansweredGroup';if(n==null||n==="")throw'Missing the required parameter "groupId" when calling getKnowledgeKnowledgebaseUnansweredGroup';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups/{groupId}","GET",{knowledgeBaseId:e,groupId:n},{app:i.app,dateStart:i.dateStart,dateEnd:i.dateEnd},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';if(n==null||n==="")throw'Missing the required parameter "groupId" when calling getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';if(i==null||i==="")throw'Missing the required parameter "phraseGroupId" when calling getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups/{groupId}/phrasegroups/{phraseGroupId}","GET",{knowledgeBaseId:e,groupId:n,phraseGroupId:i},{app:a.app,dateStart:a.dateStart,dateEnd:a.dateEnd},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeKnowledgebaseUnansweredGroups(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUnansweredGroups';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups","GET",{knowledgeBaseId:e},{app:n.app,dateStart:n.dateStart,dateEnd:n.dateEnd},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseUploadsUrlsJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}","GET",{knowledgeBaseId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebases(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/knowledgebases","GET",{},{before:e.before,after:e.after,limit:e.limit,pageSize:e.pageSize,name:e.name,coreLanguage:e.coreLanguage,published:e.published,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getKnowledgeSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeSettingId" when calling getKnowledgeSetting';return this.apiClient.callApi("/api/v2/knowledge/settings/{knowledgeSettingId}","GET",{knowledgeSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/settings","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,name:e.name,sourceId:e.sourceId,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getKnowledgeSource(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSource';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}","GET",{sourceId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeSourceSynchronization(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronization';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronization';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}","GET",{sourceId:e,synchronizationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeSourceSynchronizations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizations';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations","GET",{sourceId:e},{before:n.before,after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeSources(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/sources","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getKnowledgeSourcesSynchronizations(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/sources/synchronizations","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchKnowledgeConnection(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "connectionId" when calling patchKnowledgeConnection';return this.apiClient.callApi("/api/v2/knowledge/connections/{connectionId}","PATCH",{connectionId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchKnowledgeGuestSessionDocumentsSearchSearchId(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling patchKnowledgeGuestSessionDocumentsSearchSearchId';if(n==null||n==="")throw'Missing the required parameter "searchId" when calling patchKnowledgeGuestSessionDocumentsSearchSearchId';if(i==null)throw'Missing the required parameter "body" when calling patchKnowledgeGuestSessionDocumentsSearchSearchId';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/search/{searchId}","PATCH",{sessionId:e,searchId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebase(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebase';if(n==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebase';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}","PATCH",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchKnowledgeKnowledgebaseCategory(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseCategory';if(n==null||n==="")throw'Missing the required parameter "categoryId" when calling patchKnowledgeKnowledgebaseCategory';if(i==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseCategory';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories/{categoryId}","PATCH",{knowledgeBaseId:e,categoryId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseChunksSearchSearchId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseChunksSearchSearchId';if(n==null||n==="")throw'Missing the required parameter "searchId" when calling patchKnowledgeKnowledgebaseChunksSearchSearchId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/chunks/search/{searchId}","PATCH",{knowledgeBaseId:e,searchId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchKnowledgeKnowledgebaseDocument(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseDocument';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseDocument';if(i==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseDocument';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}","PATCH",{knowledgeBaseId:e,documentId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';if(i==null||i==="")throw'Missing the required parameter "feedbackId" when calling patchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback/{feedbackId}","PATCH",{knowledgeBaseId:e,documentId:n,feedbackId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseDocumentVariation(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "documentVariationId" when calling patchKnowledgeKnowledgebaseDocumentVariation';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseDocumentVariation';if(i==null||i==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseDocumentVariation';if(a==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseDocumentVariation';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}","PATCH",{documentVariationId:e,documentId:n,knowledgeBaseId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchKnowledgeKnowledgebaseDocumentsSearchSearchId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseDocumentsSearchSearchId';if(n==null||n==="")throw'Missing the required parameter "searchId" when calling patchKnowledgeKnowledgebaseDocumentsSearchSearchId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/search/{searchId}","PATCH",{knowledgeBaseId:e,searchId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchKnowledgeKnowledgebaseImportJob(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseImportJob';if(n==null||n==="")throw'Missing the required parameter "importJobId" when calling patchKnowledgeKnowledgebaseImportJob';if(i==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseImportJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs/{importJobId}","PATCH",{knowledgeBaseId:e,importJobId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseLabel(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLabel';if(n==null||n==="")throw'Missing the required parameter "labelId" when calling patchKnowledgeKnowledgebaseLabel';if(i==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLabel';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId}","PATCH",{knowledgeBaseId:e,labelId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseParseJob(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseParseJob';if(n==null||n==="")throw'Missing the required parameter "parseJobId" when calling patchKnowledgeKnowledgebaseParseJob';if(i==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseParseJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}","PATCH",{knowledgeBaseId:e,parseJobId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseSynchronizeJob(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';if(n==null||n==="")throw'Missing the required parameter "syncJobId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';if(i==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseSynchronizeJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}","PATCH",{knowledgeBaseId:e,syncJobId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';if(n==null||n==="")throw'Missing the required parameter "groupId" when calling patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';if(i==null||i==="")throw'Missing the required parameter "phraseGroupId" when calling patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';if(a==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups/{groupId}/phrasegroups/{phraseGroupId}","PATCH",{knowledgeBaseId:e,groupId:n,phraseGroupId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchKnowledgeSetting(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeSettingId" when calling patchKnowledgeSetting';if(n==null)throw'Missing the required parameter "body" when calling patchKnowledgeSetting';return this.apiClient.callApi("/api/v2/knowledge/settings/{knowledgeSettingId}","PATCH",{knowledgeSettingId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchKnowledgeSourceSynchronization(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling patchKnowledgeSourceSynchronization';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling patchKnowledgeSourceSynchronization';if(i==null)throw'Missing the required parameter "body" when calling patchKnowledgeSourceSynchronization';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}","PATCH",{sourceId:e,synchronizationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postKnowledgeConnections(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postKnowledgeConnections';return this.apiClient.callApi("/api/v2/knowledge/connections","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeDocumentuploads(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';return this.apiClient.callApi("/api/v2/knowledge/documentuploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeGuestSessionDocumentCopies(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentCopies';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentCopies';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/copies","POST",{sessionId:e,documentId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeGuestSessionDocumentFeedback(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentFeedback';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentFeedback';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/feedback","POST",{sessionId:e,documentId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeGuestSessionDocumentViews(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentViews';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentViews';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views","POST",{sessionId:e,documentId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeGuestSessionDocumentsAnswers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsAnswers';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeGuestSessionDocumentsAnswers';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/answers","POST",{sessionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeGuestSessionDocumentsPresentations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsPresentations';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/presentations","POST",{sessionId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeGuestSessionDocumentsSearch(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsSearch';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/search","POST",{sessionId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeGuestSessionDocumentsSearchSuggestions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsSearchSuggestions';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/search/suggestions","POST",{sessionId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeGuestSessions(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postKnowledgeGuestSessions';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseCategories(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseCategories';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseCategories';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseChunksSearch(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseChunksSearch';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/chunks/search","POST",{knowledgeBaseId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseDocumentCopies(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentCopies';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentCopies';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/copies","POST",{knowledgeBaseId:e,documentId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseDocumentFeedback(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentFeedback';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentFeedback';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback","POST",{knowledgeBaseId:e,documentId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseDocumentVariations(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentVariations';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentVariations';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentVariations';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations","POST",{knowledgeBaseId:e,documentId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postKnowledgeKnowledgebaseDocumentVersions(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentVersions';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentVersions';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentVersions';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions","POST",{knowledgeBaseId:e,documentId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postKnowledgeKnowledgebaseDocumentViews(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentViews';if(n==null||n==="")throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentViews';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/views","POST",{knowledgeBaseId:e,documentId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseDocuments(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocuments';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocuments';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseDocumentsAnswers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsAnswers';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsAnswers';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/answers","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseDocumentsBulkRemove(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkRemove';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsBulkRemove';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/remove","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseDocumentsBulkUpdate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/update","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseDocumentsPresentations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsPresentations';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/presentations","POST",{knowledgeBaseId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseDocumentsQuery(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsQuery';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/query","POST",{knowledgeBaseId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseDocumentsSearch(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsSearch';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/search","POST",{knowledgeBaseId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseDocumentsSearchSuggestions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsSearchSuggestions';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/search/suggestions","POST",{knowledgeBaseId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/versions/bulk/add","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseExportJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseExportJobs';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseExportJobs';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/export/jobs","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseImportJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseImportJobs';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseImportJobs';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseLabels(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLabels';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLabels';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseParseJobImport(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobImport';if(n==null||n==="")throw'Missing the required parameter "parseJobId" when calling postKnowledgeKnowledgebaseParseJobImport';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobImport';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}/import","POST",{knowledgeBaseId:e,parseJobId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postKnowledgeKnowledgebaseParseJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobs';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobs';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseSourcesSalesforce(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforce';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesSalesforce';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';if(n==null||n==="")throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}/sync","POST",{knowledgeBaseId:e,sourceId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseSourcesServicenow(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenow';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesServicenow';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';if(n==null||n==="")throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}/sync","POST",{knowledgeBaseId:e,sourceId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseSynchronizeJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSynchronizeJobs';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSynchronizeJobs';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseUploadsUrlsJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebases(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeSearch(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/search","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postKnowledgeSearchPreview(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/search/preview","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postKnowledgeSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/settings","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postKnowledgeSourceSynchronizationUploads(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizationUploads';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling postKnowledgeSourceSynchronizationUploads';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeSourceSynchronizationUploads';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/uploads","POST",{sourceId:e,synchronizationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postKnowledgeSourceSynchronizations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizations';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations","POST",{sourceId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeSources(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postKnowledgeSources';return this.apiClient.callApi("/api/v2/knowledge/sources","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putKnowledgeKnowledgebaseSourcesSalesforceSourceId(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';if(n==null||n==="")throw'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';if(i==null)throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}","PUT",{knowledgeBaseId:e,sourceId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putKnowledgeKnowledgebaseSourcesServicenowSourceId(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';if(n==null||n==="")throw'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';if(i==null)throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}","PUT",{knowledgeBaseId:e,sourceId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putKnowledgeSource(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling putKnowledgeSource';if(n==null)throw'Missing the required parameter "body" when calling putKnowledgeSource';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}","PUT",{sourceId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Gb=class{constructor(e){this.apiClient=e||k.instance}deleteLanguageunderstandingDomain(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomain';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}","DELETE",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteLanguageunderstandingDomainFeedbackFeedbackId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomainFeedbackFeedbackId';if(n==null||n==="")throw'Missing the required parameter "feedbackId" when calling deleteLanguageunderstandingDomainFeedbackFeedbackId';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/feedback/{feedbackId}","DELETE",{domainId:e,feedbackId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteLanguageunderstandingDomainVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomainVersion';if(n==null||n==="")throw'Missing the required parameter "domainVersionId" when calling deleteLanguageunderstandingDomainVersion';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}","DELETE",{domainId:e,domainVersionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteLanguageunderstandingMiner(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling deleteLanguageunderstandingMiner';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}","DELETE",{minerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteLanguageunderstandingMinerDraft(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling deleteLanguageunderstandingMinerDraft';if(n==null||n==="")throw'Missing the required parameter "draftId" when calling deleteLanguageunderstandingMinerDraft';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/drafts/{draftId}","DELETE",{minerId:e,draftId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingDomain(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getLanguageunderstandingDomain';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}","GET",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingDomainFeedback(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainFeedback';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/feedback","GET",{domainId:e},{intentName:n.intentName,assessment:n.assessment,dateStart:n.dateStart,dateEnd:n.dateEnd,includeDeleted:n.includeDeleted,language:n.language,pageNumber:n.pageNumber,pageSize:n.pageSize,enableCursorPagination:n.enableCursorPagination,includeTrainingUtterances:n.includeTrainingUtterances,after:n.after,fields:this.apiClient.buildCollectionParam(n.fields,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingDomainFeedbackFeedbackId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainFeedbackFeedbackId';if(n==null||n==="")throw'Missing the required parameter "feedbackId" when calling getLanguageunderstandingDomainFeedbackFeedbackId';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/feedback/{feedbackId}","GET",{domainId:e,feedbackId:n},{fields:this.apiClient.buildCollectionParam(i.fields,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingDomainVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainVersion';if(n==null||n==="")throw'Missing the required parameter "domainVersionId" when calling getLanguageunderstandingDomainVersion';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}","GET",{domainId:e,domainVersionId:n},{includeUtterances:i.includeUtterances},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingDomainVersionReport(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainVersionReport';if(n==null||n==="")throw'Missing the required parameter "domainVersionId" when calling getLanguageunderstandingDomainVersionReport';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/report","GET",{domainId:e,domainVersionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingDomainVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainVersions';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions","GET",{domainId:e},{includeUtterances:n.includeUtterances,pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingDomains(e){return e=e||{},this.apiClient.callApi("/api/v2/languageunderstanding/domains","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLanguageunderstandingIgnorephrase(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "languageCode" when calling getLanguageunderstandingIgnorephrase';return this.apiClient.callApi("/api/v2/languageunderstanding/ignorephrases/{languageCode}","GET",{languageCode:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,text:n.text,sortOrder:n.sortOrder,sortBy:n.sortBy},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingIgnoretopic(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "languageCode" when calling getLanguageunderstandingIgnoretopic';return this.apiClient.callApi("/api/v2/languageunderstanding/ignoretopics/{languageCode}","GET",{languageCode:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,text:n.text,sortOrder:n.sortOrder,sortBy:n.sortBy},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingMiner(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMiner';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}","GET",{minerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingMinerDraft(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDraft';if(n==null||n==="")throw'Missing the required parameter "draftId" when calling getLanguageunderstandingMinerDraft';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/drafts/{draftId}","GET",{minerId:e,draftId:n},{draftIntentId:i.draftIntentId,draftTopicId:i.draftTopicId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingMinerDrafts(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDrafts';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/drafts","GET",{minerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingMinerIntent(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerIntent';if(n==null||n==="")throw'Missing the required parameter "intentId" when calling getLanguageunderstandingMinerIntent';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/intents/{intentId}","GET",{minerId:e,intentId:n},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingMinerIntents(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerIntents';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/intents","GET",{minerId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingMinerTopic(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopic';if(n==null||n==="")throw'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopic';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}","GET",{minerId:e,topicId:n},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingMinerTopicPhrase(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopicPhrase';if(n==null||n==="")throw'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopicPhrase';if(i==null||i==="")throw'Missing the required parameter "phraseId" when calling getLanguageunderstandingMinerTopicPhrase';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}/phrases/{phraseId}","GET",{minerId:e,topicId:n,phraseId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getLanguageunderstandingMinerTopics(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopics';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/topics","GET",{minerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingMiners(e){return e=e||{},this.apiClient.callApi("/api/v2/languageunderstanding/miners","GET",{},{minerType:e.minerType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLanguageunderstandingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/languageunderstanding/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchLanguageunderstandingDomain(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling patchLanguageunderstandingDomain';if(n==null)throw'Missing the required parameter "body" when calling patchLanguageunderstandingDomain';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}","PATCH",{domainId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchLanguageunderstandingMinerDraft(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling patchLanguageunderstandingMinerDraft';if(n==null||n==="")throw'Missing the required parameter "draftId" when calling patchLanguageunderstandingMinerDraft';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/drafts/{draftId}","PATCH",{minerId:e,draftId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingDomainFeedback(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainFeedback';if(n==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingDomainFeedback';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/feedback","POST",{domainId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingDomainVersionDetect(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersionDetect';if(n==null||n==="")throw'Missing the required parameter "domainVersionId" when calling postLanguageunderstandingDomainVersionDetect';if(i==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingDomainVersionDetect';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/detect","POST",{domainId:e,domainVersionId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postLanguageunderstandingDomainVersionPublish(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersionPublish';if(n==null||n==="")throw'Missing the required parameter "domainVersionId" when calling postLanguageunderstandingDomainVersionPublish';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/publish","POST",{domainId:e,domainVersionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingDomainVersionTrain(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersionTrain';if(n==null||n==="")throw'Missing the required parameter "domainVersionId" when calling postLanguageunderstandingDomainVersionTrain';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/train","POST",{domainId:e,domainVersionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingDomainVersions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersions';if(n==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingDomainVersions';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions","POST",{domainId:e},{includeUtterances:i.includeUtterances},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingDomains(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingDomains';return this.apiClient.callApi("/api/v2/languageunderstanding/domains","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingIgnorephrase(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnorephrase';if(n==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingIgnorephrase';return this.apiClient.callApi("/api/v2/languageunderstanding/ignorephrases/{languageCode}","POST",{languageCode:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingIgnorephraseRemove(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnorephraseRemove';if(n==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingIgnorephraseRemove';return this.apiClient.callApi("/api/v2/languageunderstanding/ignorephrases/{languageCode}/remove","POST",{languageCode:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingIgnoretopic(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnoretopic';if(n==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingIgnoretopic';return this.apiClient.callApi("/api/v2/languageunderstanding/ignoretopics/{languageCode}","POST",{languageCode:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingIgnoretopicRemove(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnoretopicRemove';if(n==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingIgnoretopicRemove';return this.apiClient.callApi("/api/v2/languageunderstanding/ignoretopics/{languageCode}/remove","POST",{languageCode:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingMinerDrafts(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling postLanguageunderstandingMinerDrafts';if(n==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingMinerDrafts';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/drafts","POST",{minerId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingMinerExecute(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling postLanguageunderstandingMinerExecute';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/execute","POST",{minerId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingMiners(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingMiners';return this.apiClient.callApi("/api/v2/languageunderstanding/miners","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putLanguageunderstandingDomainVersion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling putLanguageunderstandingDomainVersion';if(n==null||n==="")throw'Missing the required parameter "domainVersionId" when calling putLanguageunderstandingDomainVersion';if(i==null)throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}","PUT",{domainId:e,domainVersionId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}},$b=class{constructor(e){this.apiClient=e||k.instance}deleteLanguage(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "languageId" when calling deleteLanguage';return this.apiClient.callApi("/api/v2/languages/{languageId}","DELETE",{languageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguage(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "languageId" when calling getLanguage';return this.apiClient.callApi("/api/v2/languages/{languageId}","GET",{languageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguages(e){return e=e||{},this.apiClient.callApi("/api/v2/languages","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLanguagesTranslations(e){return e=e||{},this.apiClient.callApi("/api/v2/languages/translations","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLanguagesTranslationsBuiltin(e,n){if(n=n||{},e==null)throw'Missing the required parameter "language" when calling getLanguagesTranslationsBuiltin';return this.apiClient.callApi("/api/v2/languages/translations/builtin","GET",{},{language:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguagesTranslationsOrganization(e,n){if(n=n||{},e==null)throw'Missing the required parameter "language" when calling getLanguagesTranslationsOrganization';return this.apiClient.callApi("/api/v2/languages/translations/organization","GET",{},{language:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguagesTranslationsUser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getLanguagesTranslationsUser';return this.apiClient.callApi("/api/v2/languages/translations/users/{userId}","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguages(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postLanguages';return this.apiClient.callApi("/api/v2/languages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Nb=class{constructor(e){this.apiClient=e||k.instance}deleteLearningAssignment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling deleteLearningAssignment';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}","DELETE",{assignmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteLearningModule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling deleteLearningModule';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}","DELETE",{moduleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLearningAssignment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling getLearningAssignment';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}","GET",{assignmentId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLearningAssignmentStep(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';if(n==null||n==="")throw'Missing the required parameter "stepId" when calling getLearningAssignmentStep';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}/steps/{stepId}","GET",{assignmentId:e,stepId:n},{shareableContentObjectId:i.shareableContentObjectId,defaultShareableContentObject:i.defaultShareableContentObject,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLearningAssignments(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/assignments","GET",{},{moduleId:e.moduleId,interval:e.interval,completionInterval:e.completionInterval,overdue:e.overdue,pageSize:e.pageSize,pageNumber:e.pageNumber,pass:e.pass,minPercentageScore:e.minPercentageScore,maxPercentageScore:e.maxPercentageScore,sortOrder:e.sortOrder,sortBy:e.sortBy,userId:this.apiClient.buildCollectionParam(e.userId,"multi"),types:this.apiClient.buildCollectionParam(e.types,"multi"),states:this.apiClient.buildCollectionParam(e.states,"multi"),expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLearningAssignmentsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/assignments/me","GET",{},{moduleId:e.moduleId,interval:e.interval,completionInterval:e.completionInterval,overdue:e.overdue,pageSize:e.pageSize,pageNumber:e.pageNumber,pass:e.pass,minPercentageScore:e.minPercentageScore,maxPercentageScore:e.maxPercentageScore,sortOrder:e.sortOrder,sortBy:e.sortBy,types:this.apiClient.buildCollectionParam(e.types,"multi"),states:this.apiClient.buildCollectionParam(e.states,"multi"),expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLearningModule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling getLearningModule';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}","GET",{moduleId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLearningModuleJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling getLearningModuleJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getLearningModuleJob';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/jobs/{jobId}","GET",{moduleId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLearningModulePreview(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling getLearningModulePreview';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/preview","GET",{moduleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLearningModuleRule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling getLearningModuleRule';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/rule","GET",{moduleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLearningModuleVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling getLearningModuleVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getLearningModuleVersion';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/versions/{versionId}","GET",{moduleId:e,versionId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLearningModules(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/modules","GET",{},{isArchived:e.isArchived,types:this.apiClient.buildCollectionParam(e.types,"multi"),pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,sortBy:e.sortBy,searchTerm:e.searchTerm,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),isPublished:e.isPublished,statuses:this.apiClient.buildCollectionParam(e.statuses,"multi"),externalIds:this.apiClient.buildCollectionParam(e.externalIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLearningModulesAssignments(e,n){if(n=n||{},e==null)throw'Missing the required parameter "userIds" when calling getLearningModulesAssignments';return this.apiClient.callApi("/api/v2/learning/modules/assignments","GET",{},{userIds:this.apiClient.buildCollectionParam(e,"multi"),pageSize:n.pageSize,pageNumber:n.pageNumber,searchTerm:n.searchTerm,overdue:n.overdue,assignmentStates:this.apiClient.buildCollectionParam(n.assignmentStates,"multi"),expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLearningModulesCoverartCoverArtId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';return this.apiClient.callApi("/api/v2/learning/modules/coverart/{coverArtId}","GET",{coverArtId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLearningScheduleslotsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getLearningScheduleslotsJob';return this.apiClient.callApi("/api/v2/learning/scheduleslots/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLearningScormScormId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scormId" when calling getLearningScormScormId';return this.apiClient.callApi("/api/v2/learning/scorm/{scormId}","GET",{scormId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchLearningAssignment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling patchLearningAssignment';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}","PATCH",{assignmentId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchLearningAssignmentReschedule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}/reschedule","PATCH",{assignmentId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchLearningAssignmentStep(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentStep';if(n==null||n==="")throw'Missing the required parameter "stepId" when calling patchLearningAssignmentStep';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}/steps/{stepId}","PATCH",{assignmentId:e,stepId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchLearningModuleUserAssignments(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling patchLearningModuleUserAssignments';if(n==null||n==="")throw'Missing the required parameter "userId" when calling patchLearningModuleUserAssignments';if(i==null)throw'Missing the required parameter "body" when calling patchLearningModuleUserAssignments';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/users/{userId}/assignments","PATCH",{moduleId:e,userId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postLearningAssessmentsScoring(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postLearningAssessmentsScoring';return this.apiClient.callApi("/api/v2/learning/assessments/scoring","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLearningAssignmentReassign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling postLearningAssignmentReassign';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}/reassign","POST",{assignmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLearningAssignmentReset(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling postLearningAssignmentReset';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}/reset","POST",{assignmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLearningAssignments(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/assignments","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLearningAssignmentsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postLearningAssignmentsAggregatesQuery';return this.apiClient.callApi("/api/v2/learning/assignments/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLearningAssignmentsBulkadd(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/assignments/bulkadd","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLearningAssignmentsBulkremove(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/assignments/bulkremove","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLearningModuleJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling postLearningModuleJobs';if(n==null)throw'Missing the required parameter "body" when calling postLearningModuleJobs';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/jobs","POST",{moduleId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLearningModulePublish(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling postLearningModulePublish';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/publish","POST",{moduleId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLearningModuleRuleMigrate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling postLearningModuleRuleMigrate';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/rule/migrate","POST",{moduleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLearningModules(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postLearningModules';return this.apiClient.callApi("/api/v2/learning/modules","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLearningRulesQuery(e,n,i,a){if(a=a||{},e==null)throw'Missing the required parameter "pageSize" when calling postLearningRulesQuery';if(n==null)throw'Missing the required parameter "pageNumber" when calling postLearningRulesQuery';if(i==null)throw'Missing the required parameter "body" when calling postLearningRulesQuery';return this.apiClient.callApi("/api/v2/learning/rules/query","POST",{},{pageSize:e,pageNumber:n},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postLearningScheduleslotsJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postLearningScheduleslotsJobs';return this.apiClient.callApi("/api/v2/learning/scheduleslots/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLearningScheduleslotsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postLearningScheduleslotsQuery';return this.apiClient.callApi("/api/v2/learning/scheduleslots/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLearningScorm(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/scorm","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putLearningModule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling putLearningModule';if(n==null)throw'Missing the required parameter "body" when calling putLearningModule';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}","PUT",{moduleId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putLearningModulePreview(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling putLearningModulePreview';if(n==null)throw'Missing the required parameter "body" when calling putLearningModulePreview';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/preview","PUT",{moduleId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putLearningModuleRule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling putLearningModuleRule';if(n==null)throw'Missing the required parameter "body" when calling putLearningModuleRule';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/rule","PUT",{moduleId:e},{assign:i.assign},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Ub=class{constructor(e){this.apiClient=e||k.instance}getLicenseDefinition(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "licenseId" when calling getLicenseDefinition';return this.apiClient.callApi("/api/v2/license/definitions/{licenseId}","GET",{licenseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLicenseDefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/license/definitions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLicenseToggle(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "featureName" when calling getLicenseToggle';return this.apiClient.callApi("/api/v2/license/toggles/{featureName}","GET",{featureName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLicenseUser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getLicenseUser';return this.apiClient.callApi("/api/v2/license/users/{userId}","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLicenseUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/license/users","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLicenseInfer(e){return e=e||{},this.apiClient.callApi("/api/v2/license/infer","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLicenseInferPermissions(e){return e=e||{},this.apiClient.callApi("/api/v2/license/infer/permissions","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLicenseOrganization(e){return e=e||{},this.apiClient.callApi("/api/v2/license/organization","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLicenseToggle(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "featureName" when calling postLicenseToggle';return this.apiClient.callApi("/api/v2/license/toggles/{featureName}","POST",{featureName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLicenseUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/license/users","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},Lb=class{constructor(e){this.apiClient=e||k.instance}deleteLocation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "locationId" when calling deleteLocation';return this.apiClient.callApi("/api/v2/locations/{locationId}","DELETE",{locationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLocation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "locationId" when calling getLocation';return this.apiClient.callApi("/api/v2/locations/{locationId}","GET",{locationId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLocationSublocations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "locationId" when calling getLocationSublocations';return this.apiClient.callApi("/api/v2/locations/{locationId}/sublocations","GET",{locationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLocations(e){return e=e||{},this.apiClient.callApi("/api/v2/locations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLocationsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getLocationsSearch';return this.apiClient.callApi("/api/v2/locations/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchLocation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "locationId" when calling patchLocation';if(n==null)throw'Missing the required parameter "body" when calling patchLocation';return this.apiClient.callApi("/api/v2/locations/{locationId}","PATCH",{locationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLocations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postLocations';return this.apiClient.callApi("/api/v2/locations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLocationsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postLocationsSearch';return this.apiClient.callApi("/api/v2/locations/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Wb=class{constructor(e){this.apiClient=e||k.instance}deleteDiagnosticsLogcaptureBrowserUser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteDiagnosticsLogcaptureBrowserUser';return this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/users/{userId}","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getDiagnosticsLogcaptureBrowserEntriesDownloadJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getDiagnosticsLogcaptureBrowserEntriesDownloadJob';return this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/entries/download/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getDiagnosticsLogcaptureBrowserUser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getDiagnosticsLogcaptureBrowserUser';return this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/users/{userId}","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getDiagnosticsLogcaptureBrowserUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/users","GET",{},{includeExpired:e.includeExpired},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postDiagnosticsLogcaptureBrowserEntriesDownloadJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/entries/download/jobs","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postDiagnosticsLogcaptureBrowserEntriesQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/entries/query","POST",{},{after:e.after,pageSize:e.pageSize},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postDiagnosticsLogcaptureBrowserUser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';return this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/users/{userId}","POST",{userId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Bb=class{constructor(e){this.apiClient=e||k.instance}deleteMessagingSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageSettingId" when calling deleteMessagingSetting';return this.apiClient.callApi("/api/v2/messaging/settings/{messageSettingId}","DELETE",{messageSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteMessagingSettingsDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/messaging/settings/default","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteMessagingSupportedcontentSupportedContentId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';return this.apiClient.callApi("/api/v2/messaging/supportedcontent/{supportedContentId}","DELETE",{supportedContentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getMessagingSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageSettingId" when calling getMessagingSetting';return this.apiClient.callApi("/api/v2/messaging/settings/{messageSettingId}","GET",{messageSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getMessagingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/messaging/settings","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getMessagingSettingsDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/messaging/settings/default","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getMessagingSupportedcontent(e){return e=e||{},this.apiClient.callApi("/api/v2/messaging/supportedcontent","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getMessagingSupportedcontentSupportedContentId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';return this.apiClient.callApi("/api/v2/messaging/supportedcontent/{supportedContentId}","GET",{supportedContentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchMessagingSetting(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageSettingId" when calling patchMessagingSetting';if(n==null)throw'Missing the required parameter "body" when calling patchMessagingSetting';return this.apiClient.callApi("/api/v2/messaging/settings/{messageSettingId}","PATCH",{messageSettingId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchMessagingSupportedcontentSupportedContentId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';if(n==null)throw'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';return this.apiClient.callApi("/api/v2/messaging/supportedcontent/{supportedContentId}","PATCH",{supportedContentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postMessagingSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postMessagingSettings';return this.apiClient.callApi("/api/v2/messaging/settings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postMessagingSupportedcontent(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postMessagingSupportedcontent';return this.apiClient.callApi("/api/v2/messaging/supportedcontent","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putMessagingSettingsDefault(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';return this.apiClient.callApi("/api/v2/messaging/settings/default","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Fb=class{constructor(e){this.apiClient=e||k.instance}deleteMobiledevice(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deviceId" when calling deleteMobiledevice';return this.apiClient.callApi("/api/v2/mobiledevices/{deviceId}","DELETE",{deviceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getMobiledevice(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deviceId" when calling getMobiledevice';return this.apiClient.callApi("/api/v2/mobiledevices/{deviceId}","GET",{deviceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getMobiledevices(e){return e=e||{},this.apiClient.callApi("/api/v2/mobiledevices","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postMobiledevices(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postMobiledevices';return this.apiClient.callApi("/api/v2/mobiledevices","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putMobiledevice(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deviceId" when calling putMobiledevice';return this.apiClient.callApi("/api/v2/mobiledevices/{deviceId}","PUT",{deviceId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Vb=class{constructor(e){this.apiClient=e||k.instance}deleteNotificationsChannelSubscriptions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "channelId" when calling deleteNotificationsChannelSubscriptions';return this.apiClient.callApi("/api/v2/notifications/channels/{channelId}/subscriptions","DELETE",{channelId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getNotificationsAvailabletopics(e){return e=e||{},this.apiClient.callApi("/api/v2/notifications/availabletopics","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi"),includePreview:e.includePreview},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getNotificationsChannelSubscriptions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "channelId" when calling getNotificationsChannelSubscriptions';return this.apiClient.callApi("/api/v2/notifications/channels/{channelId}/subscriptions","GET",{channelId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getNotificationsChannels(e){return e=e||{},this.apiClient.callApi("/api/v2/notifications/channels","GET",{},{includechannels:e.includechannels},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}headNotificationsChannel(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "channelId" when calling headNotificationsChannel';return this.apiClient.callApi("/api/v2/notifications/channels/{channelId}","HEAD",{channelId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postNotificationsChannelSubscriptions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "channelId" when calling postNotificationsChannelSubscriptions';if(n==null)throw'Missing the required parameter "body" when calling postNotificationsChannelSubscriptions';return this.apiClient.callApi("/api/v2/notifications/channels/{channelId}/subscriptions","POST",{channelId:e},{ignoreErrors:i.ignoreErrors},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postNotificationsChannels(e){return e=e||{},this.apiClient.callApi("/api/v2/notifications/channels","POST",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putNotificationsChannelSubscriptions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "channelId" when calling putNotificationsChannelSubscriptions';if(n==null)throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';return this.apiClient.callApi("/api/v2/notifications/channels/{channelId}/subscriptions","PUT",{channelId:e},{ignoreErrors:i.ignoreErrors},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Jb=class{constructor(e){this.apiClient=e||k.instance}deleteOauthClient(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling deleteOauthClient';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}","DELETE",{clientId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOauthAuthorization(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling getOauthAuthorization';return this.apiClient.callApi("/api/v2/oauth/authorizations/{clientId}","GET",{clientId:e},{},{"Accept-Language":n.acceptLanguage},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOauthAuthorizations(e){return e=e||{},this.apiClient.callApi("/api/v2/oauth/authorizations","GET",{},{},{"Accept-Language":e.acceptLanguage},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOauthClient(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling getOauthClient';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}","GET",{clientId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOauthClientUsageQueryResult(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';if(n==null||n==="")throw'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}","GET",{executionId:e,clientId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOauthClientUsageSummary(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling getOauthClientUsageSummary';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/usage/summary","GET",{clientId:e},{days:n.days},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOauthClients(e){return e=e||{},this.apiClient.callApi("/api/v2/oauth/clients","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOauthScope(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scopeId" when calling getOauthScope';return this.apiClient.callApi("/api/v2/oauth/scopes/{scopeId}","GET",{scopeId:e},{},{"Accept-Language":n.acceptLanguage},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOauthScopes(e){return e=e||{},this.apiClient.callApi("/api/v2/oauth/scopes","GET",{},{},{"Accept-Language":e.acceptLanguage},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postOauthClientSecret(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling postOauthClientSecret';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/secret","POST",{clientId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOauthClientUsageQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling postOauthClientUsageQuery';if(n==null)throw'Missing the required parameter "body" when calling postOauthClientUsageQuery';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/usage/query","POST",{clientId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOauthClients(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOauthClients';return this.apiClient.callApi("/api/v2/oauth/clients","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOauthClient(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling putOauthClient';if(n==null)throw'Missing the required parameter "body" when calling putOauthClient';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}","PUT",{clientId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Zb=class{constructor(e){this.apiClient=e||k.instance}deleteAuthorizationDivision(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling deleteAuthorizationDivision';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}","DELETE",{divisionId:e},{force:n.force},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationDivision(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling getAuthorizationDivision';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}","GET",{divisionId:e},{objectCount:n.objectCount},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationDivisions(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,objectCount:e.objectCount,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsDeleted(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/deleted","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsHome(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/home","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsLimit(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/limit","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/query","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postAuthorizationDivisionObject(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionObject';if(n==null||n==="")throw'Missing the required parameter "objectType" when calling postAuthorizationDivisionObject';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationDivisionObject';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}/objects/{objectType}","POST",{divisionId:e,objectType:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAuthorizationDivisionRestore(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}/restore","POST",{divisionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationDivisions(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAuthorizationDivisions';return this.apiClient.callApi("/api/v2/authorization/divisions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putAuthorizationDivision(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling putAuthorizationDivision';if(n==null)throw'Missing the required parameter "body" when calling putAuthorizationDivision';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}","PUT",{divisionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Kb=class{constructor(e){this.apiClient=e||k.instance}getUsageEventsDefinition(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "eventDefinitionId" when calling getUsageEventsDefinition';return this.apiClient.callApi("/api/v2/usage/events/definitions/{eventDefinitionId}","GET",{eventDefinitionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsageEventsDefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/usage/events/definitions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postUsageEventsAggregatesQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/usage/events/aggregates/query","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postUsageEventsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/usage/events/query","POST",{},{before:e.before,after:e.after,pageSize:e.pageSize},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},Qb=class{constructor(e){this.apiClient=e||k.instance}getFieldconfig(e,n){if(n=n||{},e==null)throw'Missing the required parameter "type" when calling getFieldconfig';return this.apiClient.callApi("/api/v2/fieldconfig","GET",{},{type:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrganizationsAuthenticationSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/authentication/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsEmbeddedintegration(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/embeddedintegration","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsIpaddressauthentication(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/ipaddressauthentication","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsLimitsChangerequest(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "requestId" when calling getOrganizationsLimitsChangerequest';return this.apiClient.callApi("/api/v2/organizations/limits/changerequests/{requestId}","GET",{requestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrganizationsLimitsChangerequests(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/limits/changerequests","GET",{},{after:e.after,before:e.before,status:e.status,pageSize:e.pageSize,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsLimitsDocs(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/limits/docs","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsLimitsDocsFreetrial(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/limits/docs/freetrial","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsLimitsNamespace(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespace';return this.apiClient.callApi("/api/v2/organizations/limits/namespaces/{namespaceName}","GET",{namespaceName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrganizationsLimitsNamespaceDefaults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceDefaults';return this.apiClient.callApi("/api/v2/organizations/limits/namespaces/{namespaceName}/defaults","GET",{namespaceName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrganizationsLimitsNamespaces(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/limits/namespaces","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/me","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsWhitelist(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/whitelist","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchOrganizationsAuthenticationSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchOrganizationsAuthenticationSettings';return this.apiClient.callApi("/api/v2/organizations/authentication/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchOrganizationsFeature(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "featureName" when calling patchOrganizationsFeature';if(n==null)throw'Missing the required parameter "enabled" when calling patchOrganizationsFeature';return this.apiClient.callApi("/api/v2/organizations/features/{featureName}","PATCH",{featureName:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOrganizationsEmbeddedintegration(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putOrganizationsEmbeddedintegration';return this.apiClient.callApi("/api/v2/organizations/embeddedintegration","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOrganizationsIpaddressauthentication(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putOrganizationsIpaddressauthentication';return this.apiClient.callApi("/api/v2/organizations/ipaddressauthentication","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOrganizationsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/me","PUT",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putOrganizationsWhitelist(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';return this.apiClient.callApi("/api/v2/organizations/whitelist","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Yb=class{constructor(e){this.apiClient=e||k.instance}deleteOrgauthorizationTrustee(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrustee';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}","DELETE",{trusteeOrgId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOrgauthorizationTrusteeCloneduser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeCloneduser';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrusteeCloneduser';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/clonedusers/{trusteeUserId}","DELETE",{trusteeOrgId:e,trusteeUserId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOrgauthorizationTrusteeGroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroup';if(n==null||n==="")throw'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroup';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}","DELETE",{trusteeOrgId:e,trusteeGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOrgauthorizationTrusteeGroupRoles(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroupRoles';if(n==null||n==="")throw'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroupRoles';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles","DELETE",{trusteeOrgId:e,trusteeGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOrgauthorizationTrusteeUser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeUser';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrusteeUser';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}","DELETE",{trusteeOrgId:e,trusteeUserId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOrgauthorizationTrusteeUserRoles(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeUserRoles';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrusteeUserRoles';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}/roles","DELETE",{trusteeOrgId:e,trusteeUserId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOrgauthorizationTrustees(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling deleteOrgauthorizationTrustees';return this.apiClient.callApi("/api/v2/orgauthorization/trustees","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOrgauthorizationTrustor(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustor';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}","DELETE",{trustorOrgId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOrgauthorizationTrustorCloneduser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorCloneduser';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrustorCloneduser';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}","DELETE",{trustorOrgId:e,trusteeUserId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOrgauthorizationTrustorGroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorGroup';if(n==null||n==="")throw'Missing the required parameter "trustorGroupId" when calling deleteOrgauthorizationTrustorGroup';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}","DELETE",{trustorOrgId:e,trustorGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOrgauthorizationTrustorUser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorUser';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrustorUser';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}","DELETE",{trustorOrgId:e,trusteeUserId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOrgauthorizationTrustors(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling deleteOrgauthorizationTrustors';return this.apiClient.callApi("/api/v2/orgauthorization/trustors","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationPairing(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "pairingId" when calling getOrgauthorizationPairing';return this.apiClient.callApi("/api/v2/orgauthorization/pairings/{pairingId}","GET",{pairingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrustee(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrustee';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}","GET",{trusteeOrgId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrusteeClonedusers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeClonedusers';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/clonedusers","GET",{trusteeOrgId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrusteeGroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroup';if(n==null||n==="")throw'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroup';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}","GET",{trusteeOrgId:e,trusteeGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrusteeGroupRoles(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroupRoles';if(n==null||n==="")throw'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroupRoles';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles","GET",{trusteeOrgId:e,trusteeGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrusteeGroups(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroups';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups","GET",{trusteeOrgId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrusteeUser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeUser';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrusteeUser';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}","GET",{trusteeOrgId:e,trusteeUserId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrusteeUserRoles(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeUserRoles';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrusteeUserRoles';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}/roles","GET",{trusteeOrgId:e,trusteeUserId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrusteeUsers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeUsers';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users","GET",{trusteeOrgId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrustees(e){return e=e||{},this.apiClient.callApi("/api/v2/orgauthorization/trustees","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrgauthorizationTrusteesCare(e){return e=e||{},this.apiClient.callApi("/api/v2/orgauthorization/trustees/care","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrgauthorizationTrusteesDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/orgauthorization/trustees/default","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrgauthorizationTrustor(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustor';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}","GET",{trustorOrgId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrustorCloneduser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorCloneduser';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrustorCloneduser';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}","GET",{trustorOrgId:e,trusteeUserId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrustorClonedusers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorClonedusers';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers","GET",{trustorOrgId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrustorGroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroup';if(n==null||n==="")throw'Missing the required parameter "trustorGroupId" when calling getOrgauthorizationTrustorGroup';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}","GET",{trustorOrgId:e,trustorGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrustorGroups(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroups';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/groups","GET",{trustorOrgId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrustorUser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorUser';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrustorUser';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}","GET",{trustorOrgId:e,trusteeUserId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrustorUsers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorUsers';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/users","GET",{trustorOrgId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrustors(e){return e=e||{},this.apiClient.callApi("/api/v2/orgauthorization/trustors","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postOrgauthorizationPairings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOrgauthorizationPairings';return this.apiClient.callApi("/api/v2/orgauthorization/pairings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOrgauthorizationTrusteeGroups(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeGroups';if(n==null)throw'Missing the required parameter "body" when calling postOrgauthorizationTrusteeGroups';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups","POST",{trusteeOrgId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOrgauthorizationTrusteeUsers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeUsers';if(n==null)throw'Missing the required parameter "body" when calling postOrgauthorizationTrusteeUsers';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users","POST",{trusteeOrgId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOrgauthorizationTrustees(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOrgauthorizationTrustees';return this.apiClient.callApi("/api/v2/orgauthorization/trustees","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOrgauthorizationTrusteesAudits(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOrgauthorizationTrusteesAudits';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/audits","POST",{},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortBy:n.sortBy,sortOrder:n.sortOrder},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOrgauthorizationTrusteesCare(e){return e=e||{},this.apiClient.callApi("/api/v2/orgauthorization/trustees/care","POST",{},{assignDefaultRole:e.assignDefaultRole,autoExpire:e.autoExpire,assignFullAccess:e.assignFullAccess,allowTrustedUserAccess:e.allowTrustedUserAccess},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postOrgauthorizationTrusteesDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/orgauthorization/trustees/default","POST",{},{assignDefaultRole:e.assignDefaultRole,autoExpire:e.autoExpire},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postOrgauthorizationTrustorAudits(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOrgauthorizationTrustorAudits';return this.apiClient.callApi("/api/v2/orgauthorization/trustor/audits","POST",{},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortBy:n.sortBy,sortOrder:n.sortOrder},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOrgauthorizationTrustee(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrustee';if(n==null)throw'Missing the required parameter "body" when calling putOrgauthorizationTrustee';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}","PUT",{trusteeOrgId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOrgauthorizationTrusteeGroupRoledivisions(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoledivisions';if(n==null||n==="")throw'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoledivisions';if(i==null)throw'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoledivisions';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roledivisions","PUT",{trusteeOrgId:e,trusteeGroupId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putOrgauthorizationTrusteeGroupRoles(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoles';if(n==null||n==="")throw'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoles';if(i==null)throw'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoles';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles","PUT",{trusteeOrgId:e,trusteeGroupId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putOrgauthorizationTrusteeUserRoledivisions(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeUserRoledivisions';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrusteeUserRoledivisions';if(i==null)throw'Missing the required parameter "body" when calling putOrgauthorizationTrusteeUserRoledivisions';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}/roledivisions","PUT",{trusteeOrgId:e,trusteeUserId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putOrgauthorizationTrusteeUserRoles(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeUserRoles';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrusteeUserRoles';if(i==null)throw'Missing the required parameter "body" when calling putOrgauthorizationTrusteeUserRoles';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}/roles","PUT",{trusteeOrgId:e,trusteeUserId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putOrgauthorizationTrustorCloneduser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorCloneduser';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorCloneduser';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}","PUT",{trustorOrgId:e,trusteeUserId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOrgauthorizationTrustorGroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorGroup';if(n==null||n==="")throw'Missing the required parameter "trustorGroupId" when calling putOrgauthorizationTrustorGroup';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}","PUT",{trustorOrgId:e,trustorGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOrgauthorizationTrustorUser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorUser';if(n==null||n==="")throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}","PUT",{trustorOrgId:e,trusteeUserId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Xb=class{constructor(e){this.apiClient=e||k.instance}deleteOutboundAttemptlimit(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "attemptLimitsId" when calling deleteOutboundAttemptlimit';return this.apiClient.callApi("/api/v2/outbound/attemptlimits/{attemptLimitsId}","DELETE",{attemptLimitsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundCallabletimeset(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "callableTimeSetId" when calling deleteOutboundCallabletimeset';return this.apiClient.callApi("/api/v2/outbound/callabletimesets/{callableTimeSetId}","DELETE",{callableTimeSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundCallanalysisresponseset(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "callAnalysisSetId" when calling deleteOutboundCallanalysisresponseset';return this.apiClient.callApi("/api/v2/outbound/callanalysisresponsesets/{callAnalysisSetId}","DELETE",{callAnalysisSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundCampaign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling deleteOutboundCampaign';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}","DELETE",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundCampaignProgress(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling deleteOutboundCampaignProgress';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/progress","DELETE",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundCampaignrule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignRuleId" when calling deleteOutboundCampaignrule';return this.apiClient.callApi("/api/v2/outbound/campaignrules/{campaignRuleId}","DELETE",{campaignRuleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundContactlist(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling deleteOutboundContactlist';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}","DELETE",{contactListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundContactlistContact(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling deleteOutboundContactlistContact';if(n==null||n==="")throw'Missing the required parameter "contactId" when calling deleteOutboundContactlistContact';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}","DELETE",{contactListId:e,contactId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundContactlistContacts(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling deleteOutboundContactlistContacts';if(n==null)throw'Missing the required parameter "contactIds" when calling deleteOutboundContactlistContacts';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts","DELETE",{contactListId:e},{contactIds:this.apiClient.buildCollectionParam(n,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundContactlistfilter(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListFilterId" when calling deleteOutboundContactlistfilter';return this.apiClient.callApi("/api/v2/outbound/contactlistfilters/{contactListFilterId}","DELETE",{contactListFilterId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundContactlists(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling deleteOutboundContactlists';return this.apiClient.callApi("/api/v2/outbound/contactlists","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundContactlisttemplate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListTemplateId" when calling deleteOutboundContactlisttemplate';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates/{contactListTemplateId}","DELETE",{contactListTemplateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundContactlisttemplates(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling deleteOutboundContactlisttemplates';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundDigitalruleset(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "digitalRuleSetId" when calling deleteOutboundDigitalruleset';return this.apiClient.callApi("/api/v2/outbound/digitalrulesets/{digitalRuleSetId}","DELETE",{digitalRuleSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundDnclist(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclist';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}","DELETE",{dncListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundDnclistCustomexclusioncolumns(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistCustomexclusioncolumns';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns","DELETE",{dncListId:e},{expiredOnly:n.expiredOnly},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundDnclistEmailaddresses(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistEmailaddresses';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/emailaddresses","DELETE",{dncListId:e},{expiredOnly:n.expiredOnly},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundDnclistPhonenumbers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/phonenumbers","DELETE",{dncListId:e},{expiredOnly:n.expiredOnly},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundDnclistWhatsappnumbers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistWhatsappnumbers';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/whatsappnumbers","DELETE",{dncListId:e},{expiredOnly:n.expiredOnly},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundFilespecificationtemplate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "fileSpecificationTemplateId" when calling deleteOutboundFilespecificationtemplate';return this.apiClient.callApi("/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}","DELETE",{fileSpecificationTemplateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundFilespecificationtemplatesBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling deleteOutboundFilespecificationtemplatesBulk';return this.apiClient.callApi("/api/v2/outbound/filespecificationtemplates/bulk","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundImporttemplate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "importTemplateId" when calling deleteOutboundImporttemplate';return this.apiClient.callApi("/api/v2/outbound/importtemplates/{importTemplateId}","DELETE",{importTemplateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundImporttemplates(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling deleteOutboundImporttemplates';return this.apiClient.callApi("/api/v2/outbound/importtemplates","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundMessagingcampaign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling deleteOutboundMessagingcampaign';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}","DELETE",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundMessagingcampaignProgress(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling deleteOutboundMessagingcampaignProgress';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/progress","DELETE",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundRuleset(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleSetId" when calling deleteOutboundRuleset';return this.apiClient.callApi("/api/v2/outbound/rulesets/{ruleSetId}","DELETE",{ruleSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundSchedulesCampaign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling deleteOutboundSchedulesCampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/campaigns/{campaignId}","DELETE",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundSchedulesEmailcampaign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "emailCampaignId" when calling deleteOutboundSchedulesEmailcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/emailcampaigns/{emailCampaignId}","DELETE",{emailCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundSchedulesMessagingcampaign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling deleteOutboundSchedulesMessagingcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/messagingcampaigns/{messagingCampaignId}","DELETE",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundSchedulesSequence(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sequenceId" when calling deleteOutboundSchedulesSequence';return this.apiClient.callApi("/api/v2/outbound/schedules/sequences/{sequenceId}","DELETE",{sequenceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundSchedulesWhatsappcampaign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "whatsAppCampaignId" when calling deleteOutboundSchedulesWhatsappcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/whatsappcampaigns/{whatsAppCampaignId}","DELETE",{whatsAppCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundSequence(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sequenceId" when calling deleteOutboundSequence';return this.apiClient.callApi("/api/v2/outbound/sequences/{sequenceId}","DELETE",{sequenceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundAttemptlimit(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "attemptLimitsId" when calling getOutboundAttemptlimit';return this.apiClient.callApi("/api/v2/outbound/attemptlimits/{attemptLimitsId}","GET",{attemptLimitsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundAttemptlimits(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/attemptlimits","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCallabletimeset(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "callableTimeSetId" when calling getOutboundCallabletimeset';return this.apiClient.callApi("/api/v2/outbound/callabletimesets/{callableTimeSetId}","GET",{callableTimeSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundCallabletimesets(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/callabletimesets","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCallanalysisresponseset(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "callAnalysisSetId" when calling getOutboundCallanalysisresponseset';return this.apiClient.callApi("/api/v2/outbound/callanalysisresponsesets/{callAnalysisSetId}","GET",{callAnalysisSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundCallanalysisresponsesets(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/callanalysisresponsesets","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCampaign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaign';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundCampaignAgentownedmappingpreviewResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignAgentownedmappingpreviewResults';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/agentownedmappingpreview/results","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundCampaignDiagnostics(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignDiagnostics';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/diagnostics","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundCampaignInteractions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignInteractions';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/interactions","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundCampaignLinedistribution(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignLinedistribution';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/linedistribution","GET",{campaignId:e},{includeOnlyActiveCampaigns:n.includeOnlyActiveCampaigns,edgeGroupId:n.edgeGroupId,siteId:n.siteId,useWeight:n.useWeight,relativeWeight:n.relativeWeight,outboundLineCount:n.outboundLineCount},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundCampaignProgress(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignProgress';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/progress","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundCampaignSkillcombinations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignSkillcombinations';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/skillcombinations","GET",{campaignId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundCampaignStats(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignStats';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/stats","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundCampaignrule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignRuleId" when calling getOutboundCampaignrule';return this.apiClient.callApi("/api/v2/outbound/campaignrules/{campaignRuleId}","GET",{campaignRuleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundCampaignrules(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/campaignrules","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCampaigns(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/campaigns","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,filterType:e.filterType,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),contactListId:e.contactListId,dncListIds:e.dncListIds,distributionQueueId:e.distributionQueueId,edgeGroupId:e.edgeGroupId,callAnalysisResponseSetId:e.callAnalysisResponseSetId,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCampaignsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/campaigns/all","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),mediaType:this.apiClient.buildCollectionParam(e.mediaType,"multi"),sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCampaignsAllDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/campaigns/all/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),mediaType:this.apiClient.buildCollectionParam(e.mediaType,"multi"),sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCampaignsDivisionview(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignsDivisionview';return this.apiClient.callApi("/api/v2/outbound/campaigns/divisionviews/{campaignId}","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundCampaignsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/campaigns/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,filterType:e.filterType,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundContactlist(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlist';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}","GET",{contactListId:e},{includeImportStatus:n.includeImportStatus,includeSize:n.includeSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundContactlistContact(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistContact';if(n==null||n==="")throw'Missing the required parameter "contactId" when calling getOutboundContactlistContact';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}","GET",{contactListId:e,contactId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundContactlistContactsBulkJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistContactsBulkJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getOutboundContactlistContactsBulkJob';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/jobs/{jobId}","GET",{contactListId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundContactlistContactsBulkJobs(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistContactsBulkJobs';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/jobs","GET",{contactListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundContactlistExport(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistExport';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/export","GET",{contactListId:e},{download:n.download},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundContactlistImportstatus(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistImportstatus';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/importstatus","GET",{contactListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundContactlistTimezonemappingpreview(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistTimezonemappingpreview';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/timezonemappingpreview","GET",{contactListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundContactlistfilter(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListFilterId" when calling getOutboundContactlistfilter';return this.apiClient.callApi("/api/v2/outbound/contactlistfilters/{contactListFilterId}","GET",{contactListFilterId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundContactlistfilters(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/contactlistfilters","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder,contactListId:e.contactListId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundContactlists(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/contactlists","GET",{},{includeImportStatus:e.includeImportStatus,includeSize:e.includeSize,pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundContactlistsDivisionview(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistsDivisionview';return this.apiClient.callApi("/api/v2/outbound/contactlists/divisionviews/{contactListId}","GET",{contactListId:e},{includeImportStatus:n.includeImportStatus,includeSize:n.includeSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundContactlistsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/contactlists/divisionviews","GET",{},{includeImportStatus:e.includeImportStatus,includeSize:e.includeSize,pageSize:e.pageSize,pageNumber:e.pageNumber,filterType:e.filterType,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundContactlisttemplate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListTemplateId" when calling getOutboundContactlisttemplate';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates/{contactListTemplateId}","GET",{contactListTemplateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundContactlisttemplates(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/contactlisttemplates","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundDiagnosticsCampaignSummary(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundDiagnosticsCampaignSummary';if(n==null)throw'Missing the required parameter "start" when calling getOutboundDiagnosticsCampaignSummary';if(i==null)throw'Missing the required parameter "end" when calling getOutboundDiagnosticsCampaignSummary';return this.apiClient.callApi("/api/v2/outbound/diagnostics/campaigns/{campaignId}/summary","GET",{campaignId:e},{start:n,end:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getOutboundDigitalruleset(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "digitalRuleSetId" when calling getOutboundDigitalruleset';return this.apiClient.callApi("/api/v2/outbound/digitalrulesets/{digitalRuleSetId}","GET",{digitalRuleSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundDigitalrulesets(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/digitalrulesets","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundDnclist(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling getOutboundDnclist';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}","GET",{dncListId:e},{includeImportStatus:n.includeImportStatus,includeSize:n.includeSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundDnclistExport(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling getOutboundDnclistExport';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/export","GET",{dncListId:e},{download:n.download},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundDnclistImportstatus(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling getOutboundDnclistImportstatus';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/importstatus","GET",{dncListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundDnclists(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/dnclists","GET",{},{includeImportStatus:e.includeImportStatus,includeSize:e.includeSize,pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,dncSourceType:e.dncSourceType,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundDnclistsDivisionview(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling getOutboundDnclistsDivisionview';return this.apiClient.callApi("/api/v2/outbound/dnclists/divisionviews/{dncListId}","GET",{dncListId:e},{includeImportStatus:n.includeImportStatus,includeSize:n.includeSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundDnclistsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/dnclists/divisionviews","GET",{},{includeImportStatus:e.includeImportStatus,includeSize:e.includeSize,pageSize:e.pageSize,pageNumber:e.pageNumber,filterType:e.filterType,name:e.name,dncSourceType:e.dncSourceType,id:this.apiClient.buildCollectionParam(e.id,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundEvent(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "eventId" when calling getOutboundEvent';return this.apiClient.callApi("/api/v2/outbound/events/{eventId}","GET",{eventId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundEvents(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/events","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,filterType:e.filterType,category:e.category,level:e.level,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundFilespecificationtemplate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "fileSpecificationTemplateId" when calling getOutboundFilespecificationtemplate';return this.apiClient.callApi("/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}","GET",{fileSpecificationTemplateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundFilespecificationtemplates(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/filespecificationtemplates","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundImporttemplate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplate';return this.apiClient.callApi("/api/v2/outbound/importtemplates/{importTemplateId}","GET",{importTemplateId:e},{includeImportStatus:n.includeImportStatus},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundImporttemplateImportstatus(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplateImportstatus';return this.apiClient.callApi("/api/v2/outbound/importtemplates/{importTemplateId}/importstatus","GET",{importTemplateId:e},{listNamePrefix:n.listNamePrefix},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundImporttemplates(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/importtemplates","GET",{},{includeImportStatus:e.includeImportStatus,pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder,contactListTemplateId:e.contactListTemplateId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundMessagingcampaign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaign';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}","GET",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundMessagingcampaignDiagnostics(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaignDiagnostics';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/diagnostics","GET",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundMessagingcampaignProgress(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaignProgress';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/progress","GET",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundMessagingcampaigns(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/messagingcampaigns","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,contactListId:e.contactListId,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),type:e.type,senderSmsPhoneNumber:e.senderSmsPhoneNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),contentTemplateId:e.contentTemplateId,campaignStatus:e.campaignStatus,ruleSetIds:this.apiClient.buildCollectionParam(e.ruleSetIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundMessagingcampaignsDivisionview(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaignsDivisionview';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/divisionviews/{messagingCampaignId}","GET",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundMessagingcampaignsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,name:e.name,type:e.type,id:this.apiClient.buildCollectionParam(e.id,"multi"),senderSmsPhoneNumber:e.senderSmsPhoneNumber,contentTemplateId:e.contentTemplateId,campaignStatus:e.campaignStatus},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundRuleset(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleSetId" when calling getOutboundRuleset';return this.apiClient.callApi("/api/v2/outbound/rulesets/{ruleSetId}","GET",{ruleSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundRulesets(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/rulesets","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSchedulesCampaign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundSchedulesCampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/campaigns/{campaignId}","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundSchedulesCampaigns(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/schedules/campaigns","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSchedulesEmailcampaign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "emailCampaignId" when calling getOutboundSchedulesEmailcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/emailcampaigns/{emailCampaignId}","GET",{emailCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundSchedulesEmailcampaigns(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/schedules/emailcampaigns","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSchedulesMessagingcampaign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling getOutboundSchedulesMessagingcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/messagingcampaigns/{messagingCampaignId}","GET",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundSchedulesMessagingcampaigns(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/schedules/messagingcampaigns","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSchedulesSequence(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sequenceId" when calling getOutboundSchedulesSequence';return this.apiClient.callApi("/api/v2/outbound/schedules/sequences/{sequenceId}","GET",{sequenceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundSchedulesSequences(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/schedules/sequences","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSchedulesWhatsappcampaign(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "whatsAppCampaignId" when calling getOutboundSchedulesWhatsappcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/whatsappcampaigns/{whatsAppCampaignId}","GET",{whatsAppCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundSchedulesWhatsappcampaigns(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/schedules/whatsappcampaigns","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSequence(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sequenceId" when calling getOutboundSequence';return this.apiClient.callApi("/api/v2/outbound/sequences/{sequenceId}","GET",{sequenceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundSequences(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/sequences","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundWrapupcodemappings(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/wrapupcodemappings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchOutboundCampaign(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling patchOutboundCampaign';if(n==null)throw'Missing the required parameter "body" when calling patchOutboundCampaign';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}","PATCH",{campaignId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchOutboundDnclistCustomexclusioncolumns(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling patchOutboundDnclistCustomexclusioncolumns';if(n==null)throw'Missing the required parameter "body" when calling patchOutboundDnclistCustomexclusioncolumns';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns","PATCH",{dncListId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchOutboundDnclistEmailaddresses(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling patchOutboundDnclistEmailaddresses';if(n==null)throw'Missing the required parameter "body" when calling patchOutboundDnclistEmailaddresses';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/emailaddresses","PATCH",{dncListId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchOutboundDnclistPhonenumbers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling patchOutboundDnclistPhonenumbers';if(n==null)throw'Missing the required parameter "body" when calling patchOutboundDnclistPhonenumbers';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/phonenumbers","PATCH",{dncListId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchOutboundDnclistWhatsappnumbers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling patchOutboundDnclistWhatsappnumbers';if(n==null)throw'Missing the required parameter "body" when calling patchOutboundDnclistWhatsappnumbers';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/whatsappnumbers","PATCH",{dncListId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchOutboundSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchOutboundSettings';return this.apiClient.callApi("/api/v2/outbound/settings","PATCH",{},{useMaxCallsPerAgentDecimal:n.useMaxCallsPerAgentDecimal},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundAttemptlimits(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundAttemptlimits';return this.apiClient.callApi("/api/v2/outbound/attemptlimits","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundCallabletimesets(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundCallabletimesets';return this.apiClient.callApi("/api/v2/outbound/callabletimesets","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundCallanalysisresponsesets(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundCallanalysisresponsesets';return this.apiClient.callApi("/api/v2/outbound/callanalysisresponsesets","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundCampaignAgentownedmappingpreview(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling postOutboundCampaignAgentownedmappingpreview';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/agentownedmappingpreview","POST",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundCampaignCallbackSchedule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling postOutboundCampaignCallbackSchedule';if(n==null)throw'Missing the required parameter "body" when calling postOutboundCampaignCallbackSchedule';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/callback/schedule","POST",{campaignId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundCampaignStart(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling postOutboundCampaignStart';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/start","POST",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundCampaignStop(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling postOutboundCampaignStop';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/stop","POST",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundCampaignrules(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundCampaignrules';return this.apiClient.callApi("/api/v2/outbound/campaignrules","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundCampaigns(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundCampaigns';return this.apiClient.callApi("/api/v2/outbound/campaigns","POST",{},{useMaxCallsPerAgentDecimal:n.useMaxCallsPerAgentDecimal},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundCampaignsPerformanceQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundCampaignsPerformanceQuery';return this.apiClient.callApi("/api/v2/outbound/campaigns/performance/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundCampaignsProgress(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundCampaignsProgress';return this.apiClient.callApi("/api/v2/outbound/campaigns/progress","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlistClear(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistClear';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/clear","POST",{contactListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlistContacts(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContacts';if(n==null)throw'Missing the required parameter "body" when calling postOutboundContactlistContacts';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts","POST",{contactListId:e},{priority:i.priority,clearSystemData:i.clearSystemData,doNotQueue:i.doNotQueue},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlistContactsBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulk';if(n==null)throw'Missing the required parameter "body" when calling postOutboundContactlistContactsBulk';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/bulk","POST",{contactListId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlistContactsBulkRemove(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulkRemove';if(n==null)throw'Missing the required parameter "body" when calling postOutboundContactlistContactsBulkRemove';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/remove","POST",{contactListId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlistContactsBulkUpdate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulkUpdate';if(n==null)throw'Missing the required parameter "body" when calling postOutboundContactlistContactsBulkUpdate';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/update","POST",{contactListId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlistContactsSearch(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsSearch';if(n==null)throw'Missing the required parameter "body" when calling postOutboundContactlistContactsSearch';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/search","POST",{contactListId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlistExport(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistExport';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/export","POST",{contactListId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlistfilters(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlistfilters';return this.apiClient.callApi("/api/v2/outbound/contactlistfilters","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlistfiltersBulkRetrieve(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlistfiltersBulkRetrieve';return this.apiClient.callApi("/api/v2/outbound/contactlistfilters/bulk/retrieve","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlistfiltersPreview(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlistfiltersPreview';return this.apiClient.callApi("/api/v2/outbound/contactlistfilters/preview","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlists(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlists';return this.apiClient.callApi("/api/v2/outbound/contactlists","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlistsUploads(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlistsUploads';return this.apiClient.callApi("/api/v2/outbound/contactlists/uploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlisttemplates(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlisttemplates';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlisttemplatesBulkAdd(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkAdd';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates/bulk/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlisttemplatesBulkRetrieve(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkRetrieve';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates/bulk/retrieve","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundConversationDnc(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postOutboundConversationDnc';return this.apiClient.callApi("/api/v2/outbound/conversations/{conversationId}/dnc","POST",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundDigitalrulesets(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundDigitalrulesets';return this.apiClient.callApi("/api/v2/outbound/digitalrulesets","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundDnclistEmailaddresses(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling postOutboundDnclistEmailaddresses';if(n==null)throw'Missing the required parameter "body" when calling postOutboundDnclistEmailaddresses';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/emailaddresses","POST",{dncListId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundDnclistExport(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling postOutboundDnclistExport';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/export","POST",{dncListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundDnclistPhonenumbers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling postOutboundDnclistPhonenumbers';if(n==null)throw'Missing the required parameter "body" when calling postOutboundDnclistPhonenumbers';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/phonenumbers","POST",{dncListId:e},{expirationDateTime:i.expirationDateTime},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundDnclists(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundDnclists';return this.apiClient.callApi("/api/v2/outbound/dnclists","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundDnclistsUploads(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundDnclistsUploads';return this.apiClient.callApi("/api/v2/outbound/dnclists/uploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundFilespecificationtemplates(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundFilespecificationtemplates';return this.apiClient.callApi("/api/v2/outbound/filespecificationtemplates","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundImporttemplates(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundImporttemplates';return this.apiClient.callApi("/api/v2/outbound/importtemplates","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundImporttemplatesBulkAdd(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundImporttemplatesBulkAdd';return this.apiClient.callApi("/api/v2/outbound/importtemplates/bulk/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundMessagingcampaignStart(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling postOutboundMessagingcampaignStart';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/start","POST",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundMessagingcampaignStop(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling postOutboundMessagingcampaignStop';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/stop","POST",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundMessagingcampaigns(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundMessagingcampaigns';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundMessagingcampaignsProgress(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundMessagingcampaignsProgress';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/progress","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundRulesets(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundRulesets';return this.apiClient.callApi("/api/v2/outbound/rulesets","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundSequences(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundSequences';return this.apiClient.callApi("/api/v2/outbound/sequences","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundAttemptlimit(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "attemptLimitsId" when calling putOutboundAttemptlimit';if(n==null)throw'Missing the required parameter "body" when calling putOutboundAttemptlimit';return this.apiClient.callApi("/api/v2/outbound/attemptlimits/{attemptLimitsId}","PUT",{attemptLimitsId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundCallabletimeset(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "callableTimeSetId" when calling putOutboundCallabletimeset';if(n==null)throw'Missing the required parameter "body" when calling putOutboundCallabletimeset';return this.apiClient.callApi("/api/v2/outbound/callabletimesets/{callableTimeSetId}","PUT",{callableTimeSetId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundCallanalysisresponseset(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "callAnalysisSetId" when calling putOutboundCallanalysisresponseset';if(n==null)throw'Missing the required parameter "body" when calling putOutboundCallanalysisresponseset';return this.apiClient.callApi("/api/v2/outbound/callanalysisresponsesets/{callAnalysisSetId}","PUT",{callAnalysisSetId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundCampaign(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling putOutboundCampaign';if(n==null)throw'Missing the required parameter "body" when calling putOutboundCampaign';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}","PUT",{campaignId:e},{useMaxCallsPerAgentDecimal:i.useMaxCallsPerAgentDecimal},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundCampaignAgent(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling putOutboundCampaignAgent';if(n==null||n==="")throw'Missing the required parameter "userId" when calling putOutboundCampaignAgent';if(i==null)throw'Missing the required parameter "body" when calling putOutboundCampaignAgent';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/agents/{userId}","PUT",{campaignId:e,userId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putOutboundCampaignrule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignRuleId" when calling putOutboundCampaignrule';if(n==null)throw'Missing the required parameter "body" when calling putOutboundCampaignrule';return this.apiClient.callApi("/api/v2/outbound/campaignrules/{campaignRuleId}","PUT",{campaignRuleId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundContactlist(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling putOutboundContactlist';if(n==null)throw'Missing the required parameter "body" when calling putOutboundContactlist';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}","PUT",{contactListId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundContactlistContact(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling putOutboundContactlistContact';if(n==null||n==="")throw'Missing the required parameter "contactId" when calling putOutboundContactlistContact';if(i==null)throw'Missing the required parameter "body" when calling putOutboundContactlistContact';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}","PUT",{contactListId:e,contactId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putOutboundContactlistfilter(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListFilterId" when calling putOutboundContactlistfilter';if(n==null)throw'Missing the required parameter "body" when calling putOutboundContactlistfilter';return this.apiClient.callApi("/api/v2/outbound/contactlistfilters/{contactListFilterId}","PUT",{contactListFilterId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundContactlisttemplate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListTemplateId" when calling putOutboundContactlisttemplate';if(n==null)throw'Missing the required parameter "body" when calling putOutboundContactlisttemplate';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates/{contactListTemplateId}","PUT",{contactListTemplateId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundDigitalruleset(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "digitalRuleSetId" when calling putOutboundDigitalruleset';if(n==null)throw'Missing the required parameter "body" when calling putOutboundDigitalruleset';return this.apiClient.callApi("/api/v2/outbound/digitalrulesets/{digitalRuleSetId}","PUT",{digitalRuleSetId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundDnclist(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling putOutboundDnclist';if(n==null)throw'Missing the required parameter "body" when calling putOutboundDnclist';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}","PUT",{dncListId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundFilespecificationtemplate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "fileSpecificationTemplateId" when calling putOutboundFilespecificationtemplate';if(n==null)throw'Missing the required parameter "body" when calling putOutboundFilespecificationtemplate';return this.apiClient.callApi("/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}","PUT",{fileSpecificationTemplateId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundImporttemplate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "importTemplateId" when calling putOutboundImporttemplate';if(n==null)throw'Missing the required parameter "body" when calling putOutboundImporttemplate';return this.apiClient.callApi("/api/v2/outbound/importtemplates/{importTemplateId}","PUT",{importTemplateId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundMessagingcampaign(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling putOutboundMessagingcampaign';if(n==null)throw'Missing the required parameter "body" when calling putOutboundMessagingcampaign';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}","PUT",{messagingCampaignId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundRuleset(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleSetId" when calling putOutboundRuleset';if(n==null)throw'Missing the required parameter "body" when calling putOutboundRuleset';return this.apiClient.callApi("/api/v2/outbound/rulesets/{ruleSetId}","PUT",{ruleSetId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundSchedulesCampaign(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling putOutboundSchedulesCampaign';if(n==null)throw'Missing the required parameter "body" when calling putOutboundSchedulesCampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/campaigns/{campaignId}","PUT",{campaignId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundSchedulesEmailcampaign(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "emailCampaignId" when calling putOutboundSchedulesEmailcampaign';if(n==null)throw'Missing the required parameter "body" when calling putOutboundSchedulesEmailcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/emailcampaigns/{emailCampaignId}","PUT",{emailCampaignId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundSchedulesMessagingcampaign(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling putOutboundSchedulesMessagingcampaign';if(n==null)throw'Missing the required parameter "body" when calling putOutboundSchedulesMessagingcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/messagingcampaigns/{messagingCampaignId}","PUT",{messagingCampaignId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundSchedulesSequence(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sequenceId" when calling putOutboundSchedulesSequence';if(n==null)throw'Missing the required parameter "body" when calling putOutboundSchedulesSequence';return this.apiClient.callApi("/api/v2/outbound/schedules/sequences/{sequenceId}","PUT",{sequenceId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundSchedulesWhatsappcampaign(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "whatsAppCampaignId" when calling putOutboundSchedulesWhatsappcampaign';if(n==null)throw'Missing the required parameter "body" when calling putOutboundSchedulesWhatsappcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/whatsappcampaigns/{whatsAppCampaignId}","PUT",{whatsAppCampaignId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundSequence(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sequenceId" when calling putOutboundSequence';if(n==null)throw'Missing the required parameter "body" when calling putOutboundSequence';return this.apiClient.callApi("/api/v2/outbound/sequences/{sequenceId}","PUT",{sequenceId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundWrapupcodemappings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';return this.apiClient.callApi("/api/v2/outbound/wrapupcodemappings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},ey=class{constructor(e){this.apiClient=e||k.instance}deletePresenceDefinition0(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "definitionId" when calling deletePresenceDefinition0';return this.apiClient.callApi("/api/v2/presence/definitions/{definitionId}","DELETE",{definitionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deletePresenceSource(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling deletePresenceSource';return this.apiClient.callApi("/api/v2/presence/sources/{sourceId}","DELETE",{sourceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deletePresencedefinition(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "presenceId" when calling deletePresencedefinition';return this.apiClient.callApi("/api/v2/presencedefinitions/{presenceId}","DELETE",{presenceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getPresenceDefinition0(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "definitionId" when calling getPresenceDefinition0';return this.apiClient.callApi("/api/v2/presence/definitions/{definitionId}","GET",{definitionId:e},{localeCode:n.localeCode},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getPresenceDefinitions0(e){return e=e||{},this.apiClient.callApi("/api/v2/presence/definitions","GET",{},{deactivated:e.deactivated,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),localeCode:e.localeCode},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getPresenceSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/presence/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getPresenceSource(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getPresenceSource';return this.apiClient.callApi("/api/v2/presence/sources/{sourceId}","GET",{sourceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getPresenceSources(e){return e=e||{},this.apiClient.callApi("/api/v2/presence/sources","GET",{},{deactivated:e.deactivated},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getPresenceUserPrimarysource(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getPresenceUserPrimarysource';return this.apiClient.callApi("/api/v2/presence/users/{userId}/primarysource","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getPresencedefinition(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "presenceId" when calling getPresencedefinition';return this.apiClient.callApi("/api/v2/presencedefinitions/{presenceId}","GET",{presenceId:e},{localeCode:n.localeCode},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getPresencedefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/presencedefinitions","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,deleted:e.deleted,localeCode:e.localeCode},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSystempresences(e){return e=e||{},this.apiClient.callApi("/api/v2/systempresences","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUserPresence(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserPresence';if(n==null||n==="")throw'Missing the required parameter "sourceId" when calling getUserPresence';return this.apiClient.callApi("/api/v2/users/{userId}/presences/{sourceId}","GET",{userId:e,sourceId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserPresencesPurecloud(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserPresencesPurecloud';return this.apiClient.callApi("/api/v2/users/{userId}/presences/purecloud","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersPresenceBulk(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getUsersPresenceBulk';return this.apiClient.callApi("/api/v2/users/presences/{sourceId}/bulk","GET",{sourceId:e},{id:this.apiClient.buildCollectionParam(n.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersPresencesPurecloudBulk(e){return e=e||{},this.apiClient.callApi("/api/v2/users/presences/purecloud/bulk","GET",{},{id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchUserPresence(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserPresence';if(n==null||n==="")throw'Missing the required parameter "sourceId" when calling patchUserPresence';if(i==null)throw'Missing the required parameter "body" when calling patchUserPresence';return this.apiClient.callApi("/api/v2/users/{userId}/presences/{sourceId}","PATCH",{userId:e,sourceId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchUserPresencesPurecloud(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserPresencesPurecloud';if(n==null)throw'Missing the required parameter "body" when calling patchUserPresencesPurecloud';return this.apiClient.callApi("/api/v2/users/{userId}/presences/purecloud","PATCH",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postPresenceDefinitions0(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postPresenceDefinitions0';return this.apiClient.callApi("/api/v2/presence/definitions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postPresenceSources(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postPresenceSources';return this.apiClient.callApi("/api/v2/presence/sources","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postPresencedefinitions(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postPresencedefinitions';return this.apiClient.callApi("/api/v2/presencedefinitions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putPresenceDefinition0(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "definitionId" when calling putPresenceDefinition0';if(n==null)throw'Missing the required parameter "body" when calling putPresenceDefinition0';return this.apiClient.callApi("/api/v2/presence/definitions/{definitionId}","PUT",{definitionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putPresenceSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putPresenceSettings';return this.apiClient.callApi("/api/v2/presence/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putPresenceSource(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling putPresenceSource';if(n==null)throw'Missing the required parameter "body" when calling putPresenceSource';return this.apiClient.callApi("/api/v2/presence/sources/{sourceId}","PUT",{sourceId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putPresenceUserPrimarysource(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putPresenceUserPrimarysource';if(n==null)throw'Missing the required parameter "body" when calling putPresenceUserPrimarysource';return this.apiClient.callApi("/api/v2/presence/users/{userId}/primarysource","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putPresencedefinition(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "presenceId" when calling putPresencedefinition';if(n==null)throw'Missing the required parameter "body" when calling putPresencedefinition';return this.apiClient.callApi("/api/v2/presencedefinitions/{presenceId}","PUT",{presenceId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUsersPresencesBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putUsersPresencesBulk';return this.apiClient.callApi("/api/v2/users/presences/bulk","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},ny=class{constructor(e){this.apiClient=e||k.instance}deleteProcessautomationScheduledtrigger(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scheduledTriggerId" when calling deleteProcessautomationScheduledtrigger';return this.apiClient.callApi("/api/v2/processautomation/scheduledtriggers/{scheduledTriggerId}","DELETE",{scheduledTriggerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteProcessautomationTrigger(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "triggerId" when calling deleteProcessautomationTrigger';return this.apiClient.callApi("/api/v2/processautomation/triggers/{triggerId}","DELETE",{triggerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getProcessautomationScheduledtrigger(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scheduledTriggerId" when calling getProcessautomationScheduledtrigger';return this.apiClient.callApi("/api/v2/processautomation/scheduledtriggers/{scheduledTriggerId}","GET",{scheduledTriggerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getProcessautomationScheduledtriggers(e){return e=e||{},this.apiClient.callApi("/api/v2/processautomation/scheduledtriggers","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,enabled:e.enabled},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getProcessautomationTrigger(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "triggerId" when calling getProcessautomationTrigger';return this.apiClient.callApi("/api/v2/processautomation/triggers/{triggerId}","GET",{triggerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getProcessautomationTriggers(e){return e=e||{},this.apiClient.callApi("/api/v2/processautomation/triggers","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,topicName:e.topicName,enabled:e.enabled,hasDelayBy:e.hasDelayBy},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getProcessautomationTriggersTopics(e){return e=e||{},this.apiClient.callApi("/api/v2/processautomation/triggers/topics","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postProcessautomationScheduledtriggers(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postProcessautomationScheduledtriggers';return this.apiClient.callApi("/api/v2/processautomation/scheduledtriggers","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postProcessautomationTriggerTest(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "triggerId" when calling postProcessautomationTriggerTest';return this.apiClient.callApi("/api/v2/processautomation/triggers/{triggerId}/test","POST",{triggerId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postProcessautomationTriggers(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postProcessautomationTriggers';return this.apiClient.callApi("/api/v2/processautomation/triggers","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postProcessautomationTriggersTopicTest(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicName" when calling postProcessautomationTriggersTopicTest';return this.apiClient.callApi("/api/v2/processautomation/triggers/topics/{topicName}/test","POST",{topicName:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putProcessautomationScheduledtrigger(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scheduledTriggerId" when calling putProcessautomationScheduledtrigger';if(n==null)throw'Missing the required parameter "body" when calling putProcessautomationScheduledtrigger';return this.apiClient.callApi("/api/v2/processautomation/scheduledtriggers/{scheduledTriggerId}","PUT",{scheduledTriggerId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putProcessautomationTrigger(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "triggerId" when calling putProcessautomationTrigger';if(n==null)throw'Missing the required parameter "body" when calling putProcessautomationTrigger';return this.apiClient.callApi("/api/v2/processautomation/triggers/{triggerId}","PUT",{triggerId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},iy=class{constructor(e){this.apiClient=e||k.instance}deleteAnalyticsEvaluationsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsEvaluationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsSurveysAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsSurveysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteQualityCalibration(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "calibrationId" when calling deleteQualityCalibration';if(n==null)throw'Missing the required parameter "calibratorId" when calling deleteQualityCalibration';return this.apiClient.callApi("/api/v2/quality/calibrations/{calibrationId}","DELETE",{calibrationId:e},{calibratorId:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteQualityConversationEvaluation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteQualityConversationEvaluation';if(n==null||n==="")throw'Missing the required parameter "evaluationId" when calling deleteQualityConversationEvaluation';return this.apiClient.callApi("/api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}","DELETE",{conversationId:e,evaluationId:n},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteQualityForm(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling deleteQualityForm';return this.apiClient.callApi("/api/v2/quality/forms/{formId}","DELETE",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteQualityFormsEvaluation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling deleteQualityFormsEvaluation';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/{formId}","DELETE",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteQualityFormsSurvey(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling deleteQualityFormsSurvey';return this.apiClient.callApi("/api/v2/quality/forms/surveys/{formId}","DELETE",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteQualityProgramAgentscoringrule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling deleteQualityProgramAgentscoringrule';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling deleteQualityProgramAgentscoringrule';return this.apiClient.callApi("/api/v2/quality/programs/{programId}/agentscoringrules/{ruleId}","DELETE",{programId:e,ruleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsEvaluationsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsEvaluationsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsSurveysAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsSurveysAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityAgentsActivity(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/agents/activity","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,startTime:e.startTime,endTime:e.endTime,agentUserId:this.apiClient.buildCollectionParam(e.agentUserId,"multi"),evaluatorUserId:e.evaluatorUserId,name:e.name,group:e.group,agentTeamId:e.agentTeamId,formContextId:e.formContextId,userState:e.userState},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityCalibration(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "calibrationId" when calling getQualityCalibration';return this.apiClient.callApi("/api/v2/quality/calibrations/{calibrationId}","GET",{calibrationId:e},{calibratorId:n.calibratorId,conversationId:n.conversationId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityCalibrations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "calibratorId" when calling getQualityCalibrations';return this.apiClient.callApi("/api/v2/quality/calibrations","GET",{},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortBy:n.sortBy,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),nextPage:n.nextPage,previousPage:n.previousPage,conversationId:n.conversationId,startTime:n.startTime,endTime:n.endTime,calibratorId:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityConversationEvaluation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getQualityConversationEvaluation';if(n==null||n==="")throw'Missing the required parameter "evaluationId" when calling getQualityConversationEvaluation';return this.apiClient.callApi("/api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}","GET",{conversationId:e,evaluationId:n},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityConversationSurveys(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getQualityConversationSurveys';return this.apiClient.callApi("/api/v2/quality/conversations/{conversationId}/surveys","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityConversationsAuditsQueryTransactionId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "transactionId" when calling getQualityConversationsAuditsQueryTransactionId';return this.apiClient.callApi("/api/v2/quality/conversations/audits/query/{transactionId}","GET",{transactionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityConversationsAuditsQueryTransactionIdResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "transactionId" when calling getQualityConversationsAuditsQueryTransactionIdResults';return this.apiClient.callApi("/api/v2/quality/conversations/audits/query/{transactionId}/results","GET",{transactionId:e},{cursor:n.cursor,pageSize:n.pageSize,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityEvaluationsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/evaluations/query","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),previousPage:e.previousPage,conversationId:e.conversationId,agentUserId:e.agentUserId,agentTeamId:e.agentTeamId,evaluatorUserId:e.evaluatorUserId,assigneeUserId:e.assigneeUserId,queueId:e.queueId,startTime:e.startTime,endTime:e.endTime,formContextId:e.formContextId,evaluationState:this.apiClient.buildCollectionParam(e.evaluationState,"multi"),isReleased:e.isReleased,agentHasRead:e.agentHasRead,expandAnswerTotalScores:e.expandAnswerTotalScores,maximum:e.maximum,sortOrder:e.sortOrder,includeDeletedUsers:e.includeDeletedUsers},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityEvaluatorsActivity(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/evaluators/activity","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,startTime:e.startTime,endTime:e.endTime,name:e.name,permission:this.apiClient.buildCollectionParam(e.permission,"multi"),group:e.group,agentTeamId:e.agentTeamId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityForm(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityForm';return this.apiClient.callApi("/api/v2/quality/forms/{formId}","GET",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityFormVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityFormVersions';return this.apiClient.callApi("/api/v2/quality/forms/{formId}/versions","GET",{formId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityForms(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/forms","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,nextPage:e.nextPage,previousPage:e.previousPage,expand:e.expand,name:e.name,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityFormsEvaluation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityFormsEvaluation';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/{formId}","GET",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityFormsEvaluationVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityFormsEvaluationVersions';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/{formId}/versions","GET",{formId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityFormsEvaluations(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/forms/evaluations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,nextPage:e.nextPage,previousPage:e.previousPage,expand:e.expand,name:e.name,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityFormsEvaluationsBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling getQualityFormsEvaluationsBulk';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/bulk","GET",{},{id:this.apiClient.buildCollectionParam(e,"multi"),includeLatestVersionFormName:n.includeLatestVersionFormName},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityFormsEvaluationsBulkContexts(e,n){if(n=n||{},e==null)throw'Missing the required parameter "contextId" when calling getQualityFormsEvaluationsBulkContexts';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/bulk/contexts","GET",{},{contextId:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityFormsSurvey(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityFormsSurvey';return this.apiClient.callApi("/api/v2/quality/forms/surveys/{formId}","GET",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityFormsSurveyVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityFormsSurveyVersions';return this.apiClient.callApi("/api/v2/quality/forms/surveys/{formId}/versions","GET",{formId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityFormsSurveys(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/forms/surveys","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,nextPage:e.nextPage,previousPage:e.previousPage,expand:e.expand,name:e.name,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityFormsSurveysBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling getQualityFormsSurveysBulk';return this.apiClient.callApi("/api/v2/quality/forms/surveys/bulk","GET",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityFormsSurveysBulkContexts(e,n){if(n=n||{},e==null)throw'Missing the required parameter "contextId" when calling getQualityFormsSurveysBulkContexts';return this.apiClient.callApi("/api/v2/quality/forms/surveys/bulk/contexts","GET",{},{contextId:this.apiClient.buildCollectionParam(e,"multi"),published:n.published},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityProgramAgentscoringrule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getQualityProgramAgentscoringrule';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling getQualityProgramAgentscoringrule';return this.apiClient.callApi("/api/v2/quality/programs/{programId}/agentscoringrules/{ruleId}","GET",{programId:e,ruleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityProgramAgentscoringrules(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getQualityProgramAgentscoringrules';return this.apiClient.callApi("/api/v2/quality/programs/{programId}/agentscoringrules","GET",{programId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityPublishedform(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityPublishedform';return this.apiClient.callApi("/api/v2/quality/publishedforms/{formId}","GET",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityPublishedforms(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/publishedforms","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,onlyLatestPerContext:e.onlyLatestPerContext},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityPublishedformsEvaluation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityPublishedformsEvaluation';return this.apiClient.callApi("/api/v2/quality/publishedforms/evaluations/{formId}","GET",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityPublishedformsEvaluations(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/publishedforms/evaluations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,onlyLatestPerContext:e.onlyLatestPerContext},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityPublishedformsSurvey(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityPublishedformsSurvey';return this.apiClient.callApi("/api/v2/quality/publishedforms/surveys/{formId}","GET",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityPublishedformsSurveys(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/publishedforms/surveys","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,onlyLatestEnabledPerContext:e.onlyLatestEnabledPerContext},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualitySurvey(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "surveyId" when calling getQualitySurvey';return this.apiClient.callApi("/api/v2/quality/surveys/{surveyId}","GET",{surveyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualitySurveysScorable(e,n){if(n=n||{},e==null)throw'Missing the required parameter "customerSurveyUrl" when calling getQualitySurveysScorable';return this.apiClient.callApi("/api/v2/quality/surveys/scorable","GET",{},{customerSurveyUrl:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchQualityFormsSurvey(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling patchQualityFormsSurvey';if(n==null)throw'Missing the required parameter "body" when calling patchQualityFormsSurvey';return this.apiClient.callApi("/api/v2/quality/forms/surveys/{formId}","PATCH",{formId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsEvaluationsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsEvaluationsAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsSurveysAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsSurveysAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityCalibrations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualityCalibrations';return this.apiClient.callApi("/api/v2/quality/calibrations","POST",{},{expand:n.expand},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityConversationEvaluations(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postQualityConversationEvaluations';if(n==null)throw'Missing the required parameter "body" when calling postQualityConversationEvaluations';return this.apiClient.callApi("/api/v2/quality/conversations/{conversationId}/evaluations","POST",{conversationId:e},{expand:i.expand},{"Idempotency-Key":i.idempotencyKey},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityConversationsAuditsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualityConversationsAuditsQuery';return this.apiClient.callApi("/api/v2/quality/conversations/audits/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityEvaluationsAggregatesQueryMe(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualityEvaluationsAggregatesQueryMe';return this.apiClient.callApi("/api/v2/quality/evaluations/aggregates/query/me","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityEvaluationsScoring(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualityEvaluationsScoring';return this.apiClient.callApi("/api/v2/quality/evaluations/scoring","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityEvaluationsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualityEvaluationsSearch';return this.apiClient.callApi("/api/v2/quality/evaluations/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityForms(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualityForms';return this.apiClient.callApi("/api/v2/quality/forms","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityFormsEvaluations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualityFormsEvaluations';return this.apiClient.callApi("/api/v2/quality/forms/evaluations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityFormsSurveys(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualityFormsSurveys';return this.apiClient.callApi("/api/v2/quality/forms/surveys","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityProgramAgentscoringrules(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling postQualityProgramAgentscoringrules';if(n==null)throw'Missing the required parameter "body" when calling postQualityProgramAgentscoringrules';return this.apiClient.callApi("/api/v2/quality/programs/{programId}/agentscoringrules","POST",{programId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityPublishedforms(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualityPublishedforms';return this.apiClient.callApi("/api/v2/quality/publishedforms","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityPublishedformsEvaluations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualityPublishedformsEvaluations';return this.apiClient.callApi("/api/v2/quality/publishedforms/evaluations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityPublishedformsSurveys(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualityPublishedformsSurveys';return this.apiClient.callApi("/api/v2/quality/publishedforms/surveys","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualitySurveys(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualitySurveys';return this.apiClient.callApi("/api/v2/quality/surveys","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualitySurveysScoring(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postQualitySurveysScoring';return this.apiClient.callApi("/api/v2/quality/surveys/scoring","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putQualityCalibration(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "calibrationId" when calling putQualityCalibration';if(n==null)throw'Missing the required parameter "body" when calling putQualityCalibration';return this.apiClient.callApi("/api/v2/quality/calibrations/{calibrationId}","PUT",{calibrationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putQualityConversationEvaluation(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putQualityConversationEvaluation';if(n==null||n==="")throw'Missing the required parameter "evaluationId" when calling putQualityConversationEvaluation';if(i==null)throw'Missing the required parameter "body" when calling putQualityConversationEvaluation';return this.apiClient.callApi("/api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}","PUT",{conversationId:e,evaluationId:n},{expand:a.expand},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putQualityForm(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling putQualityForm';if(n==null)throw'Missing the required parameter "body" when calling putQualityForm';return this.apiClient.callApi("/api/v2/quality/forms/{formId}","PUT",{formId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putQualityFormsEvaluation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling putQualityFormsEvaluation';if(n==null)throw'Missing the required parameter "body" when calling putQualityFormsEvaluation';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/{formId}","PUT",{formId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putQualityFormsEvaluationAiscoringSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling putQualityFormsEvaluationAiscoringSettings';if(n==null)throw'Missing the required parameter "body" when calling putQualityFormsEvaluationAiscoringSettings';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/{formId}/aiscoring/settings","PUT",{formId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putQualityFormsSurvey(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling putQualityFormsSurvey';if(n==null)throw'Missing the required parameter "body" when calling putQualityFormsSurvey';return this.apiClient.callApi("/api/v2/quality/forms/surveys/{formId}","PUT",{formId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putQualityProgramAgentscoringrule(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "programId" when calling putQualityProgramAgentscoringrule';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling putQualityProgramAgentscoringrule';if(i==null)throw'Missing the required parameter "body" when calling putQualityProgramAgentscoringrule';return this.apiClient.callApi("/api/v2/quality/programs/{programId}/agentscoringrules/{ruleId}","PUT",{programId:e,ruleId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putQualitySurveysScorable(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "customerSurveyUrl" when calling putQualitySurveysScorable';if(n==null)throw'Missing the required parameter "body" when calling putQualitySurveysScorable';return this.apiClient.callApi("/api/v2/quality/surveys/scorable","PUT",{},{customerSurveyUrl:e},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},ty=class{constructor(e){this.apiClient=e||k.instance}deleteConversationRecordingAnnotation(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationRecordingAnnotation';if(n==null||n==="")throw'Missing the required parameter "recordingId" when calling deleteConversationRecordingAnnotation';if(i==null||i==="")throw'Missing the required parameter "annotationId" when calling deleteConversationRecordingAnnotation';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}","DELETE",{conversationId:e,recordingId:n,annotationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteOrphanrecording(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "orphanId" when calling deleteOrphanrecording';return this.apiClient.callApi("/api/v2/orphanrecordings/{orphanId}","DELETE",{orphanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRecordingCrossplatformMediaretentionpolicies(e,n){if(n=n||{},e==null)throw'Missing the required parameter "ids" when calling deleteRecordingCrossplatformMediaretentionpolicies';return this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies","DELETE",{},{ids:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRecordingCrossplatformMediaretentionpolicy(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling deleteRecordingCrossplatformMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}","DELETE",{policyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRecordingJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteRecordingJob';return this.apiClient.callApi("/api/v2/recording/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRecordingMediaretentionpolicies(e,n){if(n=n||{},e==null)throw'Missing the required parameter "ids" when calling deleteRecordingMediaretentionpolicies';return this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies","DELETE",{},{ids:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRecordingMediaretentionpolicy(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling deleteRecordingMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies/{policyId}","DELETE",{policyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationRecording(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationRecording';if(n==null||n==="")throw'Missing the required parameter "recordingId" when calling getConversationRecording';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}","GET",{conversationId:e,recordingId:n},{formatId:i.formatId,emailFormatId:i.emailFormatId,chatFormatId:i.chatFormatId,messageFormatId:i.messageFormatId,download:i.download,fileName:i.fileName,locale:i.locale,mediaFormats:this.apiClient.buildCollectionParam(i.mediaFormats,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationRecordingAnnotation(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationRecordingAnnotation';if(n==null||n==="")throw'Missing the required parameter "recordingId" when calling getConversationRecordingAnnotation';if(i==null||i==="")throw'Missing the required parameter "annotationId" when calling getConversationRecordingAnnotation';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}","GET",{conversationId:e,recordingId:n,annotationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationRecordingAnnotations(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationRecordingAnnotations';if(n==null||n==="")throw'Missing the required parameter "recordingId" when calling getConversationRecordingAnnotations';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations","GET",{conversationId:e,recordingId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationRecordingmetadata(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationRecordingmetadata';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordingmetadata","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationRecordingmetadataRecordingId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationRecordingmetadataRecordingId';if(n==null||n==="")throw'Missing the required parameter "recordingId" when calling getConversationRecordingmetadataRecordingId';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordingmetadata/{recordingId}","GET",{conversationId:e,recordingId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationRecordings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationRecordings';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings","GET",{conversationId:e},{maxWaitMs:n.maxWaitMs,formatId:n.formatId,mediaFormats:this.apiClient.buildCollectionParam(n.mediaFormats,"multi"),locale:n.locale,includePauseAnnotationsForScreenRecordings:n.includePauseAnnotationsForScreenRecordings},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrphanrecording(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "orphanId" when calling getOrphanrecording';return this.apiClient.callApi("/api/v2/orphanrecordings/{orphanId}","GET",{orphanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrphanrecordingMedia(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "orphanId" when calling getOrphanrecordingMedia';return this.apiClient.callApi("/api/v2/orphanrecordings/{orphanId}/media","GET",{orphanId:e},{formatId:n.formatId,emailFormatId:n.emailFormatId,chatFormatId:n.chatFormatId,messageFormatId:n.messageFormatId,download:n.download,fileName:n.fileName,locale:n.locale,mediaFormats:this.apiClient.buildCollectionParam(n.mediaFormats,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrphanrecordings(e){return e=e||{},this.apiClient.callApi("/api/v2/orphanrecordings","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,hasConversation:e.hasConversation,media:e.media},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingBatchrequest(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getRecordingBatchrequest';return this.apiClient.callApi("/api/v2/recording/batchrequests/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRecordingCrossplatformMediaretentionpolicies(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,name:e.name,enabled:e.enabled,summary:e.summary,hasErrors:e.hasErrors,deleteDaysThreshold:e.deleteDaysThreshold},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingCrossplatformMediaretentionpolicy(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling getRecordingCrossplatformMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}","GET",{policyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRecordingJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getRecordingJob';return this.apiClient.callApi("/api/v2/recording/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRecordingJobFailedrecordings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getRecordingJobFailedrecordings';return this.apiClient.callApi("/api/v2/recording/jobs/{jobId}/failedrecordings","GET",{jobId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,includeTotal:n.includeTotal,cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRecordingJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/jobs","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,state:e.state,showOnlyMyJobs:e.showOnlyMyJobs,jobType:e.jobType,includeTotal:e.includeTotal,cursor:e.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingKeyconfiguration(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "keyConfigurationId" when calling getRecordingKeyconfiguration';return this.apiClient.callApi("/api/v2/recording/keyconfigurations/{keyConfigurationId}","GET",{keyConfigurationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRecordingKeyconfigurations(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/keyconfigurations","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingMediaretentionpolicies(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,name:e.name,enabled:e.enabled,summary:e.summary,hasErrors:e.hasErrors,deleteDaysThreshold:e.deleteDaysThreshold},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingMediaretentionpolicy(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling getRecordingMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies/{policyId}","GET",{policyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRecordingRecordingkeys(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/recordingkeys","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingRecordingkeysRotationschedule(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/recordingkeys/rotationschedule","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/settings","GET",{},{createDefault:e.createDefault},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingUploadsReport(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "reportId" when calling getRecordingUploadsReport';return this.apiClient.callApi("/api/v2/recording/uploads/reports/{reportId}","GET",{reportId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRecordingsRetentionQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "retentionThresholdDays" when calling getRecordingsRetentionQuery';return this.apiClient.callApi("/api/v2/recordings/retention/query","GET",{},{retentionThresholdDays:e,cursor:n.cursor,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRecordingsScreensessionsDetails(e){return e=e||{},this.apiClient.callApi("/api/v2/recordings/screensessions/details","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchRecordingCrossplatformMediaretentionpolicy(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling patchRecordingCrossplatformMediaretentionpolicy';if(n==null)throw'Missing the required parameter "body" when calling patchRecordingCrossplatformMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}","PATCH",{policyId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRecordingMediaretentionpolicy(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling patchRecordingMediaretentionpolicy';if(n==null)throw'Missing the required parameter "body" when calling patchRecordingMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies/{policyId}","PATCH",{policyId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationRecordingAnnotations(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationRecordingAnnotations';if(n==null||n==="")throw'Missing the required parameter "recordingId" when calling postConversationRecordingAnnotations';if(i==null)throw'Missing the required parameter "body" when calling postConversationRecordingAnnotations';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations","POST",{conversationId:e,recordingId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postRecordingBatchrequests(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRecordingBatchrequests';return this.apiClient.callApi("/api/v2/recording/batchrequests","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRecordingCrossplatformMediaretentionpolicies(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRecordingCrossplatformMediaretentionpolicies';return this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRecordingJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRecordingJobs';return this.apiClient.callApi("/api/v2/recording/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRecordingKeyconfigurations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRecordingKeyconfigurations';return this.apiClient.callApi("/api/v2/recording/keyconfigurations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRecordingKeyconfigurationsValidate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRecordingKeyconfigurationsValidate';return this.apiClient.callApi("/api/v2/recording/keyconfigurations/validate","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRecordingLocalkeys(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRecordingLocalkeys';return this.apiClient.callApi("/api/v2/recording/localkeys","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRecordingMediaretentionpolicies(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRecordingMediaretentionpolicies';return this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRecordingRecordingkeys(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/recordingkeys","POST",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postRecordingUploadsReports(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRecordingUploadsReports';return this.apiClient.callApi("/api/v2/recording/uploads/reports","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRecordingsDeletionprotection(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRecordingsDeletionprotection';return this.apiClient.callApi("/api/v2/recordings/deletionprotection","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRecordingsScreensessionsAcknowledge(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRecordingsScreensessionsAcknowledge';return this.apiClient.callApi("/api/v2/recordings/screensessions/acknowledge","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRecordingsScreensessionsMetadata(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRecordingsScreensessionsMetadata';return this.apiClient.callApi("/api/v2/recordings/screensessions/metadata","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationRecording(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationRecording';if(n==null||n==="")throw'Missing the required parameter "recordingId" when calling putConversationRecording';if(i==null)throw'Missing the required parameter "body" when calling putConversationRecording';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}","PUT",{conversationId:e,recordingId:n},{clearExport:a.clearExport},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putConversationRecordingAnnotation(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationRecordingAnnotation';if(n==null||n==="")throw'Missing the required parameter "recordingId" when calling putConversationRecordingAnnotation';if(i==null||i==="")throw'Missing the required parameter "annotationId" when calling putConversationRecordingAnnotation';if(a==null)throw'Missing the required parameter "body" when calling putConversationRecordingAnnotation';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}","PUT",{conversationId:e,recordingId:n,annotationId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}putOrphanrecording(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "orphanId" when calling putOrphanrecording';return this.apiClient.callApi("/api/v2/orphanrecordings/{orphanId}","PUT",{orphanId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRecordingCrossplatformMediaretentionpolicy(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling putRecordingCrossplatformMediaretentionpolicy';if(n==null)throw'Missing the required parameter "body" when calling putRecordingCrossplatformMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}","PUT",{policyId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRecordingJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling putRecordingJob';if(n==null)throw'Missing the required parameter "body" when calling putRecordingJob';return this.apiClient.callApi("/api/v2/recording/jobs/{jobId}","PUT",{jobId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRecordingKeyconfiguration(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "keyConfigurationId" when calling putRecordingKeyconfiguration';if(n==null)throw'Missing the required parameter "body" when calling putRecordingKeyconfiguration';return this.apiClient.callApi("/api/v2/recording/keyconfigurations/{keyConfigurationId}","PUT",{keyConfigurationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRecordingMediaretentionpolicy(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling putRecordingMediaretentionpolicy';if(n==null)throw'Missing the required parameter "body" when calling putRecordingMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies/{policyId}","PUT",{policyId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRecordingRecordingkeysRotationschedule(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putRecordingRecordingkeysRotationschedule';return this.apiClient.callApi("/api/v2/recording/recordingkeys/rotationschedule","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRecordingSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putRecordingSettings';return this.apiClient.callApi("/api/v2/recording/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRecordingsDeletionprotection(e){return e=e||{},this.apiClient.callApi("/api/v2/recordings/deletionprotection","PUT",{},{protect:e.protect},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},ay=class{constructor(e){this.apiClient=e||k.instance}deleteResponsemanagementLibrary(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "libraryId" when calling deleteResponsemanagementLibrary';return this.apiClient.callApi("/api/v2/responsemanagement/libraries/{libraryId}","DELETE",{libraryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteResponsemanagementResponse(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "responseId" when calling deleteResponsemanagementResponse';return this.apiClient.callApi("/api/v2/responsemanagement/responses/{responseId}","DELETE",{responseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteResponsemanagementResponseasset(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "responseAssetId" when calling deleteResponsemanagementResponseasset';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/{responseAssetId}","DELETE",{responseAssetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getResponsemanagementLibraries(e){return e=e||{},this.apiClient.callApi("/api/v2/responsemanagement/libraries","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,messagingTemplateFilter:e.messagingTemplateFilter,libraryPrefix:e.libraryPrefix},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getResponsemanagementLibrary(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "libraryId" when calling getResponsemanagementLibrary';return this.apiClient.callApi("/api/v2/responsemanagement/libraries/{libraryId}","GET",{libraryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getResponsemanagementResponse(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "responseId" when calling getResponsemanagementResponse';return this.apiClient.callApi("/api/v2/responsemanagement/responses/{responseId}","GET",{responseId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getResponsemanagementResponseasset(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "responseAssetId" when calling getResponsemanagementResponseasset';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/{responseAssetId}","GET",{responseAssetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getResponsemanagementResponseassetsStatusStatusId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "statusId" when calling getResponsemanagementResponseassetsStatusStatusId';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/status/{statusId}","GET",{statusId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getResponsemanagementResponses(e,n){if(n=n||{},e==null)throw'Missing the required parameter "libraryId" when calling getResponsemanagementResponses';return this.apiClient.callApi("/api/v2/responsemanagement/responses","GET",{},{libraryId:e,pageNumber:n.pageNumber,pageSize:n.pageSize,expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postResponsemanagementLibraries(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementLibraries';return this.apiClient.callApi("/api/v2/responsemanagement/libraries","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postResponsemanagementLibrariesBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementLibrariesBulk';return this.apiClient.callApi("/api/v2/responsemanagement/libraries/bulk","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postResponsemanagementLibrariesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementLibrariesQuery';return this.apiClient.callApi("/api/v2/responsemanagement/libraries/query","POST",{},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postResponsemanagementResponseassetsBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementResponseassetsBulk';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/bulk","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postResponsemanagementResponseassetsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementResponseassetsSearch';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/search","POST",{},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postResponsemanagementResponseassetsUploads(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementResponseassetsUploads';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/uploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postResponsemanagementResponses(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementResponses';return this.apiClient.callApi("/api/v2/responsemanagement/responses","POST",{},{expand:n.expand},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postResponsemanagementResponsesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementResponsesQuery';return this.apiClient.callApi("/api/v2/responsemanagement/responses/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putResponsemanagementLibrary(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "libraryId" when calling putResponsemanagementLibrary';if(n==null)throw'Missing the required parameter "body" when calling putResponsemanagementLibrary';return this.apiClient.callApi("/api/v2/responsemanagement/libraries/{libraryId}","PUT",{libraryId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putResponsemanagementResponse(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "responseId" when calling putResponsemanagementResponse';if(n==null)throw'Missing the required parameter "body" when calling putResponsemanagementResponse';return this.apiClient.callApi("/api/v2/responsemanagement/responses/{responseId}","PUT",{responseId:e},{expand:i.expand},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putResponsemanagementResponseasset(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "responseAssetId" when calling putResponsemanagementResponseasset';if(n==null)throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/{responseAssetId}","PUT",{responseAssetId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},ry=class{constructor(e){this.apiClient=e||k.instance}deleteRoutingAssessment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assessmentId" when calling deleteRoutingAssessment';return this.apiClient.callApi("/api/v2/routing/assessments/{assessmentId}","DELETE",{assessmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingDirectroutingbackupSettingsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/directroutingbackup/settings/me","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteRoutingEmailDomain(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling deleteRoutingEmailDomain';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}","DELETE",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingEmailDomainRoute(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling deleteRoutingEmailDomainRoute';if(n==null||n==="")throw'Missing the required parameter "routeId" when calling deleteRoutingEmailDomainRoute';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes/{routeId}","DELETE",{domainName:e,routeId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingEmailOutboundDomain(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling deleteRoutingEmailOutboundDomain';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/{domainId}","DELETE",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingLanguage(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "languageId" when calling deleteRoutingLanguage';return this.apiClient.callApi("/api/v2/routing/languages/{languageId}","DELETE",{languageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingPredictor(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling deleteRoutingPredictor';return this.apiClient.callApi("/api/v2/routing/predictors/{predictorId}","DELETE",{predictorId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingPredictorsKeyperformanceindicator(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "kpiId" when calling deleteRoutingPredictorsKeyperformanceindicator';return this.apiClient.callApi("/api/v2/routing/predictors/keyperformanceindicators/{kpiId}","DELETE",{kpiId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingQueue(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling deleteRoutingQueue';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}","DELETE",{queueId:e},{forceDelete:n.forceDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingQueueMember(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling deleteRoutingQueueMember';if(n==null||n==="")throw'Missing the required parameter "memberId" when calling deleteRoutingQueueMember';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/members/{memberId}","DELETE",{queueId:e,memberId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingQueueUser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling deleteRoutingQueueUser';if(n==null||n==="")throw'Missing the required parameter "memberId" when calling deleteRoutingQueueUser';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/users/{memberId}","DELETE",{queueId:e,memberId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingQueueWrapupcode(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling deleteRoutingQueueWrapupcode';if(n==null||n==="")throw'Missing the required parameter "codeId" when calling deleteRoutingQueueWrapupcode';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/wrapupcodes/{codeId}","DELETE",{queueId:e,codeId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/settings","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteRoutingSkill(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "skillId" when calling deleteRoutingSkill';return this.apiClient.callApi("/api/v2/routing/skills/{skillId}","DELETE",{skillId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingSkillgroup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "skillGroupId" when calling deleteRoutingSkillgroup';return this.apiClient.callApi("/api/v2/routing/skillgroups/{skillGroupId}","DELETE",{skillGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingSmsAddress(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "addressId" when calling deleteRoutingSmsAddress';return this.apiClient.callApi("/api/v2/routing/sms/addresses/{addressId}","DELETE",{addressId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingSmsPhonenumber(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "phoneNumberId" when calling deleteRoutingSmsPhonenumber';return this.apiClient.callApi("/api/v2/routing/sms/phonenumbers/{phoneNumberId}","DELETE",{phoneNumberId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingUserDirectroutingbackupSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteRoutingUserDirectroutingbackupSettings';return this.apiClient.callApi("/api/v2/routing/users/{userId}/directroutingbackup/settings","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingUserUtilization(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteRoutingUserUtilization';return this.apiClient.callApi("/api/v2/routing/users/{userId}/utilization","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingUtilization(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/utilization","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteRoutingUtilizationLabel(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "labelId" when calling deleteRoutingUtilizationLabel';return this.apiClient.callApi("/api/v2/routing/utilization/labels/{labelId}","DELETE",{labelId:e},{forceDelete:n.forceDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingUtilizationTag(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tagId" when calling deleteRoutingUtilizationTag';return this.apiClient.callApi("/api/v2/routing/utilization/tags/{tagId}","DELETE",{tagId:e},{forceDelete:n.forceDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingWrapupcode(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "codeId" when calling deleteRoutingWrapupcode';return this.apiClient.callApi("/api/v2/routing/wrapupcodes/{codeId}","DELETE",{codeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteUserRoutinglanguage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserRoutinglanguage';if(n==null||n==="")throw'Missing the required parameter "languageId" when calling deleteUserRoutinglanguage';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages/{languageId}","DELETE",{userId:e,languageId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteUserRoutingskill(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserRoutingskill';if(n==null||n==="")throw'Missing the required parameter "skillId" when calling deleteUserRoutingskill';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/{skillId}","DELETE",{userId:e,skillId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingAssessment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assessmentId" when calling getRoutingAssessment';return this.apiClient.callApi("/api/v2/routing/assessments/{assessmentId}","GET",{assessmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingAssessments(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/assessments","GET",{},{before:e.before,after:e.after,limit:e.limit,pageSize:e.pageSize,queueId:this.apiClient.buildCollectionParam(e.queueId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingAssessmentsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getRoutingAssessmentsJob';return this.apiClient.callApi("/api/v2/routing/assessments/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingAssessmentsJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/assessments/jobs","GET",{},{divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingAvailablemediatypes(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/availablemediatypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingDirectroutingbackupSettingsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/directroutingbackup/settings/me","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingEmailDomain(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getRoutingEmailDomain';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}","GET",{domainId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingEmailDomainDkim(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainDkim';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/dkim","GET",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingEmailDomainMailfrom(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainMailfrom';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/mailfrom","GET",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingEmailDomainRoute(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoute';if(n==null||n==="")throw'Missing the required parameter "routeId" when calling getRoutingEmailDomainRoute';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes/{routeId}","GET",{domainName:e,routeId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingEmailDomainRouteIdentityresolution(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRouteIdentityresolution';if(n==null||n==="")throw'Missing the required parameter "routeId" when calling getRoutingEmailDomainRouteIdentityresolution';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution","GET",{domainName:e,routeId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingEmailDomainRoutes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoutes';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes","GET",{domainName:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,pattern:n.pattern,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingEmailDomainVerification(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainVerification';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/verification","GET",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingEmailDomains(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/email/domains","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,excludeStatus:e.excludeStatus,filter:e.filter,expand:e.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingEmailOutboundDomain(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomain';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/{domainId}","GET",{domainId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingEmailOutboundDomainActivation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainActivation';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/{domainId}/activation","GET",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingEmailOutboundDomains(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/email/outbound/domains","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,filter:e.filter,expand:e.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingEmailSetup(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/email/setup","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingLanguage(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "languageId" when calling getRoutingLanguage';return this.apiClient.callApi("/api/v2/routing/languages/{languageId}","GET",{languageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingLanguages(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/languages","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingMessageRecipient(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "recipientId" when calling getRoutingMessageRecipient';return this.apiClient.callApi("/api/v2/routing/message/recipients/{recipientId}","GET",{recipientId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingMessageRecipients(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/message/recipients","GET",{},{messengerType:e.messengerType,name:e.name,pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingPredictor(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling getRoutingPredictor';return this.apiClient.callApi("/api/v2/routing/predictors/{predictorId}","GET",{predictorId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingPredictorModelFeatures(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling getRoutingPredictorModelFeatures';if(n==null||n==="")throw'Missing the required parameter "modelId" when calling getRoutingPredictorModelFeatures';return this.apiClient.callApi("/api/v2/routing/predictors/{predictorId}/models/{modelId}/features","GET",{predictorId:e,modelId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingPredictorModels(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling getRoutingPredictorModels';return this.apiClient.callApi("/api/v2/routing/predictors/{predictorId}/models","GET",{predictorId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingPredictors(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/predictors","GET",{},{before:e.before,after:e.after,limit:e.limit,pageSize:e.pageSize,queueId:this.apiClient.buildCollectionParam(e.queueId,"multi"),kpiId:e.kpiId,state:e.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingPredictorsKeyperformanceindicator(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "kpiId" when calling getRoutingPredictorsKeyperformanceindicator';return this.apiClient.callApi("/api/v2/routing/predictors/keyperformanceindicators/{kpiId}","GET",{kpiId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingPredictorsKeyperformanceindicators(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/predictors/keyperformanceindicators","GET",{},{kpiGroup:e.kpiGroup,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingPredictorsKeyperformanceindicatortypes(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/predictors/keyperformanceindicatortypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingQueue(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueue';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}","GET",{queueId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingQueueAssistant(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueAssistant';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/assistant","GET",{queueId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi"),languageVariation:n.languageVariation,fallbackToPrimaryAssistant:n.fallbackToPrimaryAssistant},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingQueueComparisonperiod(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueComparisonperiod';if(n==null||n==="")throw'Missing the required parameter "comparisonPeriodId" when calling getRoutingQueueComparisonperiod';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/comparisonperiods/{comparisonPeriodId}","GET",{queueId:e,comparisonPeriodId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingQueueComparisonperiods(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueComparisonperiods';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/comparisonperiods","GET",{queueId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingQueueEstimatedwaittime(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueEstimatedwaittime';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/estimatedwaittime","GET",{queueId:e},{conversationId:n.conversationId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingQueueIdentityresolution(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueIdentityresolution';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/identityresolution","GET",{queueId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingQueueMediatypeEstimatedwaittime(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueMediatypeEstimatedwaittime';if(n==null||n==="")throw'Missing the required parameter "mediaType" when calling getRoutingQueueMediatypeEstimatedwaittime';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/mediatypes/{mediaType}/estimatedwaittime","GET",{queueId:e,mediaType:n},{labelId:i.labelId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingQueueMembers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueMembers';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/members","GET",{queueId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,sortOrder:n.sortOrder,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),name:n.name,profileSkills:this.apiClient.buildCollectionParam(n.profileSkills,"multi"),skills:this.apiClient.buildCollectionParam(n.skills,"multi"),languages:this.apiClient.buildCollectionParam(n.languages,"multi"),routingStatus:this.apiClient.buildCollectionParam(n.routingStatus,"multi"),presence:this.apiClient.buildCollectionParam(n.presence,"multi"),memberBy:n.memberBy,joined:n.joined},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingQueueUsers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueUsers';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/users","GET",{queueId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,sortOrder:n.sortOrder,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),joined:n.joined,name:n.name,profileSkills:this.apiClient.buildCollectionParam(n.profileSkills,"multi"),skills:this.apiClient.buildCollectionParam(n.skills,"multi"),languages:this.apiClient.buildCollectionParam(n.languages,"multi"),routingStatus:this.apiClient.buildCollectionParam(n.routingStatus,"multi"),presence:this.apiClient.buildCollectionParam(n.presence,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingQueueWrapupcodes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueWrapupcodes';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/wrapupcodes","GET",{queueId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,name:n.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingQueues(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/queues","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortOrder:e.sortOrder,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),peerId:this.apiClient.buildCollectionParam(e.peerId,"multi"),cannedResponseLibraryId:e.cannedResponseLibraryId,hasPeer:e.hasPeer,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingQueuesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/queues/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingQueuesDivisionviewsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/queues/divisionviews/all","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingQueuesMe(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/queues/me","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,joined:e.joined,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSettingsContactcenter(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/settings/contactcenter","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSettingsTranscription(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/settings/transcription","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSkill(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "skillId" when calling getRoutingSkill';return this.apiClient.callApi("/api/v2/routing/skills/{skillId}","GET",{skillId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingSkillgroup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroup';return this.apiClient.callApi("/api/v2/routing/skillgroups/{skillGroupId}","GET",{skillGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingSkillgroupMembers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembers';return this.apiClient.callApi("/api/v2/routing/skillgroups/{skillGroupId}/members","GET",{skillGroupId:e},{pageSize:n.pageSize,after:n.after,before:n.before,expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingSkillgroupMembersDivisions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembersDivisions';return this.apiClient.callApi("/api/v2/routing/skillgroups/{skillGroupId}/members/divisions","GET",{skillGroupId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingSkillgroups(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/skillgroups","GET",{},{pageSize:e.pageSize,name:e.name,after:e.after,before:e.before},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSkills(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/skills","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSmsAddress(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "addressId" when calling getRoutingSmsAddress';return this.apiClient.callApi("/api/v2/routing/sms/addresses/{addressId}","GET",{addressId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingSmsAddresses(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/sms/addresses","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSmsAvailablephonenumbers(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "countryCode" when calling getRoutingSmsAvailablephonenumbers';if(n==null)throw'Missing the required parameter "phoneNumberType" when calling getRoutingSmsAvailablephonenumbers';return this.apiClient.callApi("/api/v2/routing/sms/availablephonenumbers","GET",{},{countryCode:e,region:i.region,city:i.city,areaCode:i.areaCode,phoneNumberType:n,pattern:i.pattern,addressRequirement:i.addressRequirement},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingSmsIdentityresolutionPhonenumber(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';return this.apiClient.callApi("/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}","GET",{addressId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingSmsPhonenumber(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "phoneNumberId" when calling getRoutingSmsPhonenumber';return this.apiClient.callApi("/api/v2/routing/sms/phonenumbers/{phoneNumberId}","GET",{phoneNumberId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingSmsPhonenumbers(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/sms/phonenumbers","GET",{},{phoneNumber:e.phoneNumber,phoneNumberType:this.apiClient.buildCollectionParam(e.phoneNumberType,"multi"),phoneNumberStatus:this.apiClient.buildCollectionParam(e.phoneNumberStatus,"multi"),countryCode:this.apiClient.buildCollectionParam(e.countryCode,"multi"),pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,language:e.language,"integration.id":e.integrationId,"supportedContent.id":e.supportedContentId,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingUserDirectroutingbackupSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';return this.apiClient.callApi("/api/v2/routing/users/{userId}/directroutingbackup/settings","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingUserUtilization(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getRoutingUserUtilization';return this.apiClient.callApi("/api/v2/routing/users/{userId}/utilization","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingUtilization(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/utilization","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingUtilizationLabel(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "labelId" when calling getRoutingUtilizationLabel';return this.apiClient.callApi("/api/v2/routing/utilization/labels/{labelId}","GET",{labelId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingUtilizationLabelAgents(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "labelId" when calling getRoutingUtilizationLabelAgents';return this.apiClient.callApi("/api/v2/routing/utilization/labels/{labelId}/agents","GET",{labelId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingUtilizationLabels(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/utilization/labels","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingUtilizationTag(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tagId" when calling getRoutingUtilizationTag';return this.apiClient.callApi("/api/v2/routing/utilization/tags/{tagId}","GET",{tagId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingUtilizationTagAgents(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tagId" when calling getRoutingUtilizationTagAgents';return this.apiClient.callApi("/api/v2/routing/utilization/tags/{tagId}/agents","GET",{tagId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingUtilizationTags(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/utilization/tags","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingWrapupcode(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "codeId" when calling getRoutingWrapupcode';return this.apiClient.callApi("/api/v2/routing/wrapupcodes/{codeId}","GET",{codeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingWrapupcodes(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/wrapupcodes","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingWrapupcodesDivisionview(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "codeId" when calling getRoutingWrapupcodesDivisionview';return this.apiClient.callApi("/api/v2/routing/wrapupcodes/divisionviews/{codeId}","GET",{codeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingWrapupcodesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/wrapupcodes/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),includeState:e.includeState},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUserQueues(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserQueues';return this.apiClient.callApi("/api/v2/users/{userId}/queues","GET",{userId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,joined:n.joined,divisionId:this.apiClient.buildCollectionParam(n.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserRoutinglanguages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserRoutinglanguages';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages","GET",{userId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserRoutingskills(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserRoutingskills';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills","GET",{userId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserSkillgroups(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserSkillgroups';return this.apiClient.callApi("/api/v2/users/{userId}/skillgroups","GET",{userId:e},{pageSize:n.pageSize,after:n.after,before:n.before},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingConversation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchRoutingConversation';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingConversation';return this.apiClient.callApi("/api/v2/routing/conversations/{conversationId}","PATCH",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingEmailDomain(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling patchRoutingEmailDomain';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingEmailDomain';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}","PATCH",{domainId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingEmailDomainValidate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling patchRoutingEmailDomainValidate';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingEmailDomainValidate';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/validate","PATCH",{domainId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingEmailOutboundDomain(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling patchRoutingEmailOutboundDomain';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingEmailOutboundDomain';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/{domainId}","PATCH",{domainId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingPredictor(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling patchRoutingPredictor';return this.apiClient.callApi("/api/v2/routing/predictors/{predictorId}","PATCH",{predictorId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingPredictorsKeyperformanceindicator(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "kpiId" when calling patchRoutingPredictorsKeyperformanceindicator';return this.apiClient.callApi("/api/v2/routing/predictors/keyperformanceindicators/{kpiId}","PATCH",{kpiId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingQueueMember(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling patchRoutingQueueMember';if(n==null||n==="")throw'Missing the required parameter "memberId" when calling patchRoutingQueueMember';if(i==null)throw'Missing the required parameter "body" when calling patchRoutingQueueMember';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/members/{memberId}","PATCH",{queueId:e,memberId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchRoutingQueueMembers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling patchRoutingQueueMembers';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingQueueMembers';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/members","PATCH",{queueId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingQueueUser(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling patchRoutingQueueUser';if(n==null||n==="")throw'Missing the required parameter "memberId" when calling patchRoutingQueueUser';if(i==null)throw'Missing the required parameter "body" when calling patchRoutingQueueUser';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/users/{memberId}","PATCH",{queueId:e,memberId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchRoutingQueueUsers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling patchRoutingQueueUsers';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingQueueUsers';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/users","PATCH",{queueId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingSettingsContactcenter(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchRoutingSettingsContactcenter';return this.apiClient.callApi("/api/v2/routing/settings/contactcenter","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingSettingsTranscription(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchRoutingSettingsTranscription';return this.apiClient.callApi("/api/v2/routing/settings/transcription","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingSkill(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "skillId" when calling patchRoutingSkill';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingSkill';return this.apiClient.callApi("/api/v2/routing/skills/{skillId}","PATCH",{skillId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingSkillgroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "skillGroupId" when calling patchRoutingSkillgroup';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingSkillgroup';return this.apiClient.callApi("/api/v2/routing/skillgroups/{skillGroupId}","PATCH",{skillGroupId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingSmsPhonenumber(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "phoneNumberId" when calling patchRoutingSmsPhonenumber';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingSmsPhonenumber';return this.apiClient.callApi("/api/v2/routing/sms/phonenumbers/{phoneNumberId}","PATCH",{phoneNumberId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUserQueue(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling patchUserQueue';if(n==null||n==="")throw'Missing the required parameter "userId" when calling patchUserQueue';if(i==null)throw'Missing the required parameter "body" when calling patchUserQueue';return this.apiClient.callApi("/api/v2/users/{userId}/queues/{queueId}","PATCH",{queueId:e,userId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchUserQueues(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserQueues';if(n==null)throw'Missing the required parameter "body" when calling patchUserQueues';return this.apiClient.callApi("/api/v2/users/{userId}/queues","PATCH",{userId:e},{divisionId:this.apiClient.buildCollectionParam(i.divisionId,"multi")},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUserRoutinglanguage(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserRoutinglanguage';if(n==null||n==="")throw'Missing the required parameter "languageId" when calling patchUserRoutinglanguage';if(i==null)throw'Missing the required parameter "body" when calling patchUserRoutinglanguage';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages/{languageId}","PATCH",{userId:e,languageId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchUserRoutinglanguagesBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';if(n==null)throw'Missing the required parameter "body" when calling patchUserRoutinglanguagesBulk';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages/bulk","PATCH",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUserRoutingskillsBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserRoutingskillsBulk';if(n==null)throw'Missing the required parameter "body" when calling patchUserRoutingskillsBulk';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/bulk","PATCH",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsQueuesObservationsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';return this.apiClient.callApi("/api/v2/analytics/queues/observations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsRoutingActivityQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsRoutingActivityQuery';return this.apiClient.callApi("/api/v2/analytics/routing/activity/query","POST",{},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingAssessments(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/assessments","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postRoutingAssessmentsJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/assessments/jobs","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postRoutingEmailDomainDkim(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainDkim';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/dkim","POST",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingEmailDomainMailfrom(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainMailfrom';if(n==null)throw'Missing the required parameter "body" when calling postRoutingEmailDomainMailfrom';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/mailfrom","POST",{domainId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingEmailDomainRoutes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling postRoutingEmailDomainRoutes';if(n==null)throw'Missing the required parameter "body" when calling postRoutingEmailDomainRoutes';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes","POST",{domainName:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingEmailDomainTestconnection(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainTestconnection';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/testconnection","POST",{domainId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingEmailDomainVerification(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainVerification';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/verification","POST",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingEmailDomains(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingEmailDomains';return this.apiClient.callApi("/api/v2/routing/email/domains","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingEmailOutboundDomainTestconnection(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postRoutingEmailOutboundDomainTestconnection';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/{domainId}/testconnection","POST",{domainId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingEmailOutboundDomains(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingEmailOutboundDomains';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingEmailOutboundDomainsSimulated(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingEmailOutboundDomainsSimulated';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/simulated","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingLanguages(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingLanguages';return this.apiClient.callApi("/api/v2/routing/languages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingPredictors(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/predictors","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postRoutingPredictorsKeyperformanceindicators(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingPredictorsKeyperformanceindicators';return this.apiClient.callApi("/api/v2/routing/predictors/keyperformanceindicators","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingQueueMembers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling postRoutingQueueMembers';if(n==null)throw'Missing the required parameter "body" when calling postRoutingQueueMembers';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/members","POST",{queueId:e},{delete:i._delete},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingQueueUsers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling postRoutingQueueUsers';if(n==null)throw'Missing the required parameter "body" when calling postRoutingQueueUsers';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/users","POST",{queueId:e},{delete:i._delete},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingQueueWrapupcodes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling postRoutingQueueWrapupcodes';if(n==null)throw'Missing the required parameter "body" when calling postRoutingQueueWrapupcodes';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/wrapupcodes","POST",{queueId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingQueues(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingQueues';return this.apiClient.callApi("/api/v2/routing/queues","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingSkillgroupMembersDivisions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "skillGroupId" when calling postRoutingSkillgroupMembersDivisions';return this.apiClient.callApi("/api/v2/routing/skillgroups/{skillGroupId}/members/divisions","POST",{skillGroupId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingSkillgroups(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSkillgroups';return this.apiClient.callApi("/api/v2/routing/skillgroups","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingSkills(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSkills';return this.apiClient.callApi("/api/v2/routing/skills","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingSmsAddresses(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSmsAddresses';return this.apiClient.callApi("/api/v2/routing/sms/addresses","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingSmsPhonenumbers(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSmsPhonenumbers';return this.apiClient.callApi("/api/v2/routing/sms/phonenumbers","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingSmsPhonenumbersAlphanumeric(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSmsPhonenumbersAlphanumeric';return this.apiClient.callApi("/api/v2/routing/sms/phonenumbers/alphanumeric","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingSmsPhonenumbersImport(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSmsPhonenumbersImport';return this.apiClient.callApi("/api/v2/routing/sms/phonenumbers/import","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingUtilizationLabels(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingUtilizationLabels';return this.apiClient.callApi("/api/v2/routing/utilization/labels","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingUtilizationTags(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingUtilizationTags';return this.apiClient.callApi("/api/v2/routing/utilization/tags","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingWrapupcodes(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postRoutingWrapupcodes';return this.apiClient.callApi("/api/v2/routing/wrapupcodes","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUserRoutinglanguages(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserRoutinglanguages';if(n==null)throw'Missing the required parameter "body" when calling postUserRoutinglanguages';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages","POST",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUserRoutingskills(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserRoutingskills';if(n==null)throw'Missing the required parameter "body" when calling postUserRoutingskills';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills","POST",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingDirectroutingbackupSettingsMe(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putRoutingDirectroutingbackupSettingsMe';return this.apiClient.callApi("/api/v2/routing/directroutingbackup/settings/me","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingEmailDomainRoute(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling putRoutingEmailDomainRoute';if(n==null||n==="")throw'Missing the required parameter "routeId" when calling putRoutingEmailDomainRoute';if(i==null)throw'Missing the required parameter "body" when calling putRoutingEmailDomainRoute';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes/{routeId}","PUT",{domainName:e,routeId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putRoutingEmailDomainRouteIdentityresolution(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling putRoutingEmailDomainRouteIdentityresolution';if(n==null||n==="")throw'Missing the required parameter "routeId" when calling putRoutingEmailDomainRouteIdentityresolution';if(i==null)throw'Missing the required parameter "body" when calling putRoutingEmailDomainRouteIdentityresolution';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution","PUT",{domainName:e,routeId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putRoutingEmailOutboundDomainActivation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling putRoutingEmailOutboundDomainActivation';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/{domainId}/activation","PUT",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingMessageRecipient(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "recipientId" when calling putRoutingMessageRecipient';if(n==null)throw'Missing the required parameter "body" when calling putRoutingMessageRecipient';return this.apiClient.callApi("/api/v2/routing/message/recipients/{recipientId}","PUT",{recipientId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingQueue(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling putRoutingQueue';if(n==null)throw'Missing the required parameter "body" when calling putRoutingQueue';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}","PUT",{queueId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingQueueIdentityresolution(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling putRoutingQueueIdentityresolution';if(n==null)throw'Missing the required parameter "body" when calling putRoutingQueueIdentityresolution';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/identityresolution","PUT",{queueId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putRoutingSettings';return this.apiClient.callApi("/api/v2/routing/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingSettingsTranscription(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putRoutingSettingsTranscription';return this.apiClient.callApi("/api/v2/routing/settings/transcription","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingSmsIdentityresolutionPhonenumber(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "addressId" when calling putRoutingSmsIdentityresolutionPhonenumber';if(n==null)throw'Missing the required parameter "body" when calling putRoutingSmsIdentityresolutionPhonenumber';return this.apiClient.callApi("/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}","PUT",{addressId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingUserDirectroutingbackupSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';if(n==null)throw'Missing the required parameter "body" when calling putRoutingUserDirectroutingbackupSettings';return this.apiClient.callApi("/api/v2/routing/users/{userId}/directroutingbackup/settings","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingUserUtilization(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putRoutingUserUtilization';if(n==null)throw'Missing the required parameter "body" when calling putRoutingUserUtilization';return this.apiClient.callApi("/api/v2/routing/users/{userId}/utilization","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingUtilization(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putRoutingUtilization';return this.apiClient.callApi("/api/v2/routing/utilization","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingUtilizationLabel(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';if(n==null)throw'Missing the required parameter "body" when calling putRoutingUtilizationLabel';return this.apiClient.callApi("/api/v2/routing/utilization/labels/{labelId}","PUT",{labelId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingWrapupcode(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "codeId" when calling putRoutingWrapupcode';if(n==null)throw'Missing the required parameter "body" when calling putRoutingWrapupcode';return this.apiClient.callApi("/api/v2/routing/wrapupcodes/{codeId}","PUT",{codeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserRoutingskill(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserRoutingskill';if(n==null||n==="")throw'Missing the required parameter "skillId" when calling putUserRoutingskill';if(i==null)throw'Missing the required parameter "body" when calling putUserRoutingskill';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/{skillId}","PUT",{userId:e,skillId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putUserRoutingskillsBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserRoutingskillsBulk';if(n==null)throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/bulk","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},sy=class{constructor(e){this.apiClient=e||k.instance}deleteScimUser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteScimUser';return this.apiClient.callApi("/api/v2/scim/users/{userId}","DELETE",{userId:e},{},{"If-Match":n.ifMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],n.customHeaders)}deleteScimV2User(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteScimV2User';return this.apiClient.callApi("/api/v2/scim/v2/users/{userId}","DELETE",{userId:e},{},{"If-Match":n.ifMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],n.customHeaders)}getScimGroup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getScimGroup';return this.apiClient.callApi("/api/v2/scim/groups/{groupId}","GET",{groupId:e},{attributes:this.apiClient.buildCollectionParam(n.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(n.excludedAttributes,"multi")},{"If-None-Match":n.ifNoneMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],n.customHeaders)}getScimGroups(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/groups","GET",{},{startIndex:e.startIndex,count:e.count,attributes:this.apiClient.buildCollectionParam(e.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(e.excludedAttributes,"multi"),filter:e.filter},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimResourcetype(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "resourceType" when calling getScimResourcetype';return this.apiClient.callApi("/api/v2/scim/resourcetypes/{resourceType}","GET",{resourceType:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],n.customHeaders)}getScimResourcetypes(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/resourcetypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getScimSchema';return this.apiClient.callApi("/api/v2/scim/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],n.customHeaders)}getScimSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/schemas","GET",{},{filter:e.filter},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimServiceproviderconfig(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/serviceproviderconfig","GET",{},{},{"If-None-Match":e.ifNoneMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimUser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getScimUser';return this.apiClient.callApi("/api/v2/scim/users/{userId}","GET",{userId:e},{attributes:this.apiClient.buildCollectionParam(n.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(n.excludedAttributes,"multi")},{"If-None-Match":n.ifNoneMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],n.customHeaders)}getScimUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/users","GET",{},{startIndex:e.startIndex,count:e.count,attributes:this.apiClient.buildCollectionParam(e.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(e.excludedAttributes,"multi"),filter:e.filter},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimV2Group(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getScimV2Group';return this.apiClient.callApi("/api/v2/scim/v2/groups/{groupId}","GET",{groupId:e},{attributes:this.apiClient.buildCollectionParam(n.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(n.excludedAttributes,"multi")},{"If-None-Match":n.ifNoneMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],n.customHeaders)}getScimV2Groups(e,n){if(n=n||{},e==null)throw'Missing the required parameter "filter" when calling getScimV2Groups';return this.apiClient.callApi("/api/v2/scim/v2/groups","GET",{},{startIndex:n.startIndex,count:n.count,attributes:this.apiClient.buildCollectionParam(n.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(n.excludedAttributes,"multi"),filter:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],n.customHeaders)}getScimV2Resourcetype(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "resourceType" when calling getScimV2Resourcetype';return this.apiClient.callApi("/api/v2/scim/v2/resourcetypes/{resourceType}","GET",{resourceType:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],n.customHeaders)}getScimV2Resourcetypes(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/v2/resourcetypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimV2Schema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getScimV2Schema';return this.apiClient.callApi("/api/v2/scim/v2/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],n.customHeaders)}getScimV2Schemas(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/v2/schemas","GET",{},{filter:e.filter},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimV2Serviceproviderconfig(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/v2/serviceproviderconfig","GET",{},{},{"If-None-Match":e.ifNoneMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimV2User(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getScimV2User';return this.apiClient.callApi("/api/v2/scim/v2/users/{userId}","GET",{userId:e},{attributes:this.apiClient.buildCollectionParam(n.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(n.excludedAttributes,"multi")},{"If-None-Match":n.ifNoneMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],n.customHeaders)}getScimV2Users(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/v2/users","GET",{},{startIndex:e.startIndex,count:e.count,attributes:this.apiClient.buildCollectionParam(e.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(e.excludedAttributes,"multi"),filter:e.filter},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}patchScimGroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling patchScimGroup';if(n==null)throw'Missing the required parameter "body" when calling patchScimGroup';return this.apiClient.callApi("/api/v2/scim/groups/{groupId}","PATCH",{groupId:e},{},{"If-Match":i.ifMatch},{},n,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],i.customHeaders)}patchScimUser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchScimUser';if(n==null)throw'Missing the required parameter "body" when calling patchScimUser';return this.apiClient.callApi("/api/v2/scim/users/{userId}","PATCH",{userId:e},{},{"If-Match":i.ifMatch},{},n,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],i.customHeaders)}patchScimV2Group(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling patchScimV2Group';if(n==null)throw'Missing the required parameter "body" when calling patchScimV2Group';return this.apiClient.callApi("/api/v2/scim/v2/groups/{groupId}","PATCH",{groupId:e},{},{"If-Match":i.ifMatch},{},n,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],i.customHeaders)}patchScimV2User(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchScimV2User';if(n==null)throw'Missing the required parameter "body" when calling patchScimV2User';return this.apiClient.callApi("/api/v2/scim/v2/users/{userId}","PATCH",{userId:e},{},{"If-Match":i.ifMatch},{},n,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],i.customHeaders)}postScimUsers(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postScimUsers';return this.apiClient.callApi("/api/v2/scim/users","POST",{},{},{},{},e,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],n.customHeaders)}postScimV2Users(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postScimV2Users';return this.apiClient.callApi("/api/v2/scim/v2/users","POST",{},{},{},{},e,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],n.customHeaders)}putScimGroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling putScimGroup';if(n==null)throw'Missing the required parameter "body" when calling putScimGroup';return this.apiClient.callApi("/api/v2/scim/groups/{groupId}","PUT",{groupId:e},{},{"If-Match":i.ifMatch},{},n,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],i.customHeaders)}putScimUser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putScimUser';if(n==null)throw'Missing the required parameter "body" when calling putScimUser';return this.apiClient.callApi("/api/v2/scim/users/{userId}","PUT",{userId:e},{},{"If-Match":i.ifMatch},{},n,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],i.customHeaders)}putScimV2Group(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling putScimV2Group';if(n==null)throw'Missing the required parameter "body" when calling putScimV2Group';return this.apiClient.callApi("/api/v2/scim/v2/groups/{groupId}","PUT",{groupId:e},{},{"If-Match":i.ifMatch},{},n,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],i.customHeaders)}putScimV2User(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putScimV2User';if(n==null)throw'Missing the required parameter "body" when calling putScimV2User';return this.apiClient.callApi("/api/v2/scim/v2/users/{userId}","PUT",{userId:e},{},{"If-Match":i.ifMatch},{},n,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],i.customHeaders)}},oy=class{constructor(e){this.apiClient=e||k.instance}getScript(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScript';return this.apiClient.callApi("/api/v2/scripts/{scriptId}","GET",{scriptId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getScriptPage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptPage';if(n==null||n==="")throw'Missing the required parameter "pageId" when calling getScriptPage';return this.apiClient.callApi("/api/v2/scripts/{scriptId}/pages/{pageId}","GET",{scriptId:e,pageId:n},{scriptDataVersion:i.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getScriptPages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptPages';return this.apiClient.callApi("/api/v2/scripts/{scriptId}/pages","GET",{scriptId:e},{scriptDataVersion:n.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getScripts(e){return e=e||{},this.apiClient.callApi("/api/v2/scripts","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,name:e.name,feature:e.feature,flowId:e.flowId,sortBy:e.sortBy,sortOrder:e.sortOrder,scriptDataVersion:e.scriptDataVersion,divisionIds:e.divisionIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getScriptsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/scripts/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,name:e.name,feature:e.feature,flowId:e.flowId,sortBy:e.sortBy,sortOrder:e.sortOrder,scriptDataVersion:e.scriptDataVersion,divisionIds:e.divisionIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getScriptsPublished(e){return e=e||{},this.apiClient.callApi("/api/v2/scripts/published","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,name:e.name,feature:e.feature,flowId:e.flowId,scriptDataVersion:e.scriptDataVersion,divisionIds:e.divisionIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getScriptsPublishedDivisionviewVariables(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptsPublishedDivisionviewVariables';return this.apiClient.callApi("/api/v2/scripts/published/divisionviews/{scriptId}/variables","GET",{scriptId:e},{input:n.input,output:n.output,type:n.type,scriptDataVersion:n.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getScriptsPublishedDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/scripts/published/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,name:e.name,feature:e.feature,flowId:e.flowId,scriptDataVersion:e.scriptDataVersion,divisionIds:e.divisionIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getScriptsPublishedScriptId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptsPublishedScriptId';return this.apiClient.callApi("/api/v2/scripts/published/{scriptId}","GET",{scriptId:e},{scriptDataVersion:n.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getScriptsPublishedScriptIdPage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptsPublishedScriptIdPage';if(n==null||n==="")throw'Missing the required parameter "pageId" when calling getScriptsPublishedScriptIdPage';return this.apiClient.callApi("/api/v2/scripts/published/{scriptId}/pages/{pageId}","GET",{scriptId:e,pageId:n},{scriptDataVersion:i.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getScriptsPublishedScriptIdPages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptsPublishedScriptIdPages';return this.apiClient.callApi("/api/v2/scripts/published/{scriptId}/pages","GET",{scriptId:e},{scriptDataVersion:n.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getScriptsPublishedScriptIdVariables(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptsPublishedScriptIdVariables';return this.apiClient.callApi("/api/v2/scripts/published/{scriptId}/variables","GET",{scriptId:e},{input:n.input,output:n.output,type:n.type,scriptDataVersion:n.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getScriptsUploadStatus(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "uploadId" when calling getScriptsUploadStatus';return this.apiClient.callApi("/api/v2/scripts/uploads/{uploadId}/status","GET",{uploadId:e},{longPoll:n.longPoll},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postScriptExport(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling postScriptExport';return this.apiClient.callApi("/api/v2/scripts/{scriptId}/export","POST",{scriptId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postScriptsPublished(e){return e=e||{},this.apiClient.callApi("/api/v2/scripts/published","POST",{},{scriptDataVersion:e.scriptDataVersion},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},ly=class{constructor(e){this.apiClient=e||k.instance}getDocumentationGknSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getDocumentationGknSearch';return this.apiClient.callApi("/api/v2/documentation/gkn/search","GET",{},{q64:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getDocumentationSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getDocumentationSearch';return this.apiClient.callApi("/api/v2/documentation/search","GET",{},{q64:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGroupsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getGroupsSearch';return this.apiClient.callApi("/api/v2/groups/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLocationsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getLocationsSearch';return this.apiClient.callApi("/api/v2/locations/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getSearch';return this.apiClient.callApi("/api/v2/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),profile:n.profile},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSearchSuggest(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getSearchSuggest';return this.apiClient.callApi("/api/v2/search/suggest","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),profile:n.profile},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesSitesSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getTelephonyProvidersEdgesSitesSearch';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getUsersSearch';return this.apiClient.callApi("/api/v2/users/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),integrationPresenceSource:n.integrationPresenceSource},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getVoicemailSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getVoicemailSearch';return this.apiClient.callApi("/api/v2/voicemail/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCustomattributesSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';return this.apiClient.callApi("/api/v2/conversations/customattributes/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsParticipantsAttributesSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';return this.apiClient.callApi("/api/v2/conversations/participants/attributes/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postDocumentationAllSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postDocumentationAllSearch';return this.apiClient.callApi("/api/v2/documentation/all/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postDocumentationGknSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postDocumentationGknSearch';return this.apiClient.callApi("/api/v2/documentation/gkn/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postDocumentationSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postDocumentationSearch';return this.apiClient.callApi("/api/v2/documentation/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGroupsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGroupsSearch';return this.apiClient.callApi("/api/v2/groups/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLocationsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postLocationsSearch';return this.apiClient.callApi("/api/v2/locations/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSearch';return this.apiClient.callApi("/api/v2/search","POST",{},{profile:n.profile},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSearchSuggest(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSearchSuggest';return this.apiClient.callApi("/api/v2/search/suggest","POST",{},{profile:n.profile},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSpeechandtextanalyticsTranscriptsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTranscriptsSearch';return this.apiClient.callApi("/api/v2/speechandtextanalytics/transcripts/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTeamsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTeamsSearch';return this.apiClient.callApi("/api/v2/teams/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesSitesSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearch';return this.apiClient.callApi("/api/v2/users/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersSearchConversationTarget(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearchConversationTarget';return this.apiClient.callApi("/api/v2/users/search/conversation/target","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersSearchQueuemembersManage(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearchQueuemembersManage';return this.apiClient.callApi("/api/v2/users/search/queuemembers/manage","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersSearchTeamsAssign(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';return this.apiClient.callApi("/api/v2/users/search/teams/assign","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postVoicemailSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postVoicemailSearch';return this.apiClient.callApi("/api/v2/voicemail/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},uy=class{constructor(e){this.apiClient=e||k.instance}deleteEmailsSettingsThreading(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings/threading","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteExternalcontactsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/settings","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","DELETE",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getEmailsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getEmailsSettingsThreading(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings/threading","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSettingsExecutiondata(e){return e=e||{},this.apiClient.callApi("/api/v2/settings/executiondata","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersAgentuiAgentsAutoanswerAgentIdSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","GET",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchEmailsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings","PATCH",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchEmailsSettingsThreading(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings/threading","PATCH",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchSettingsExecutiondata(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';return this.apiClient.callApi("/api/v2/settings/executiondata","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUsersAgentuiAgentsAutoanswerAgentIdSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';if(n==null)throw'Missing the required parameter "body" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","PATCH",{agentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/settings","PUT",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putUsersAgentuiAgentsAutoanswerAgentIdSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';if(n==null)throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","PUT",{agentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},cy=class{constructor(e){this.apiClient=e||k.instance}deleteSocialmediaEscalationrule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "escalationRuleId" when calling deleteSocialmediaEscalationrule';return this.apiClient.callApi("/api/v2/socialmedia/escalationrules/{escalationRuleId}","DELETE",{escalationRuleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteSocialmediaMessage(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling deleteSocialmediaMessage';return this.apiClient.callApi("/api/v2/socialmedia/messages/{messageId}","DELETE",{messageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteSocialmediaTopic(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopic';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}","DELETE",{topicId:e},{hardDelete:n.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "facebookIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}","DELETE",{topicId:e,facebookIngestionRuleId:n},{hardDelete:i.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}","DELETE",{topicId:e,googleBusinessProfileIngestionRuleId:n},{hardDelete:i.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "instagramIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}","DELETE",{topicId:e,instagramIngestionRuleId:n},{hardDelete:i.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteSocialmediaTopicDataingestionrulesOpenOpenId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';if(n==null||n==="")throw'Missing the required parameter "openId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}","DELETE",{topicId:e,openId:n},{hardDelete:i.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "twitterIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}","DELETE",{topicId:e,twitterIngestionRuleId:n},{hardDelete:i.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaAnalyticsAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJob';return this.apiClient.callApi("/api/v2/socialmedia/analytics/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaAnalyticsAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJobResults';return this.apiClient.callApi("/api/v2/socialmedia/analytics/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaAnalyticsMessagesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJob';return this.apiClient.callApi("/api/v2/socialmedia/analytics/messages/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaAnalyticsMessagesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJobResults';return this.apiClient.callApi("/api/v2/socialmedia/analytics/messages/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaEscalationrule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';return this.apiClient.callApi("/api/v2/socialmedia/escalationrules/{escalationRuleId}","GET",{escalationRuleId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaEscalationrules(e,n){if(n=n||{},e==null)throw'Missing the required parameter "divisionId" when calling getSocialmediaEscalationrules';return this.apiClient.callApi("/api/v2/socialmedia/escalationrules","GET",{},{pageNumber:n.pageNumber,pageSize:n.pageSize,divisionId:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopic(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopic';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}","GET",{topicId:e},{includeDeleted:n.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopicDataingestionrules(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrules';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules","GET",{topicId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,includeDeleted:n.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}","GET",{topicId:e,facebookIngestionRuleId:n},{includeDeleted:i.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';if(n==null||n==="")throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';if(i==null||i==="")throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions/{dataIngestionRuleVersion}","GET",{topicId:e,facebookIngestionRuleId:n,dataIngestionRuleVersion:i},{includeDeleted:a.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';if(n==null||n==="")throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions","GET",{topicId:e,facebookIngestionRuleId:n},{pageNumber:i.pageNumber,pageSize:i.pageSize,includeDeleted:i.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}","GET",{topicId:e,googleBusinessProfileIngestionRuleId:n},{includeDeleted:i.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';if(n==null||n==="")throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';if(i==null||i==="")throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions/{dataIngestionRuleVersion}","GET",{topicId:e,googleBusinessProfileIngestionRuleId:n,dataIngestionRuleVersion:i},{includeDeleted:a.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';if(n==null||n==="")throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions","GET",{topicId:e,googleBusinessProfileIngestionRuleId:n},{pageNumber:i.pageNumber,pageSize:i.pageSize,includeDeleted:i.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}","GET",{topicId:e,instagramIngestionRuleId:n},{includeDeleted:i.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';if(n==null||n==="")throw'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';if(i==null||i==="")throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}/versions/{dataIngestionRuleVersion}","GET",{topicId:e,instagramIngestionRuleId:n,dataIngestionRuleVersion:i},{includeDeleted:a.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions';if(n==null||n==="")throw'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}/versions","GET",{topicId:e,instagramIngestionRuleId:n},{pageNumber:i.pageNumber,pageSize:i.pageSize,includeDeleted:i.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopicDataingestionrulesOpenOpenId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';if(n==null||n==="")throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}","GET",{topicId:e,openId:n},{includeDeleted:i.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopicDataingestionrulesOpenOpenIdVersion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';if(n==null||n==="")throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';if(i==null||i==="")throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}/versions/{dataIngestionRuleVersion}","GET",{topicId:e,openId:n,dataIngestionRuleVersion:i},{includeDeleted:a.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getSocialmediaTopicDataingestionrulesOpenOpenIdVersions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';if(n==null||n==="")throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}/versions","GET",{topicId:e,openId:n},{pageNumber:i.pageNumber,pageSize:i.pageSize,includeDeleted:i.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}","GET",{topicId:e,twitterIngestionRuleId:n},{includeDeleted:i.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';if(n==null||n==="")throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';if(i==null||i==="")throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}/versions/{dataIngestionRuleVersion}","GET",{topicId:e,twitterIngestionRuleId:n,dataIngestionRuleVersion:i},{includeDeleted:a.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';if(n==null||n==="")throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}/versions","GET",{topicId:e,twitterIngestionRuleId:n},{pageNumber:i.pageNumber,pageSize:i.pageSize,includeDeleted:i.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopics(e){return e=e||{},this.apiClient.callApi("/api/v2/socialmedia/topics","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi"),includeDeleted:e.includeDeleted,name:e.name,ids:this.apiClient.buildCollectionParam(e.ids,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchSocialmediaTopic(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling patchSocialmediaTopic';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}","PATCH",{topicId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "facebookIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}","PATCH",{topicId:e,facebookIngestionRuleId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}","PATCH",{topicId:e,googleBusinessProfileIngestionRuleId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "instagramIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}","PATCH",{topicId:e,instagramIngestionRuleId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchSocialmediaTopicDataingestionrulesOpenOpenId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';if(n==null||n==="")throw'Missing the required parameter "openId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}","PATCH",{topicId:e,openId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "twitterIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}","PATCH",{topicId:e,twitterIngestionRuleId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSocialmediaAnalyticsAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSocialmediaAnalyticsAggregatesJobs';return this.apiClient.callApi("/api/v2/socialmedia/analytics/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSocialmediaAnalyticsMessagesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSocialmediaAnalyticsMessagesJobs';return this.apiClient.callApi("/api/v2/socialmedia/analytics/messages/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSocialmediaEscalationrules(e){return e=e||{},this.apiClient.callApi("/api/v2/socialmedia/escalationrules","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postSocialmediaEscalationsMessages(e,n){if(n=n||{},e==null)throw'Missing the required parameter "divisionId" when calling postSocialmediaEscalationsMessages';return this.apiClient.callApi("/api/v2/socialmedia/escalations/messages","POST",{},{divisionId:e},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSocialmediaTopicDataingestionrulesFacebook(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesFacebook';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook","POST",{topicId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSocialmediaTopicDataingestionrulesGooglebusinessprofile(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesGooglebusinessprofile';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile","POST",{topicId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSocialmediaTopicDataingestionrulesInstagram(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesInstagram';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram","POST",{topicId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSocialmediaTopicDataingestionrulesOpen(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpen';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open","POST",{topicId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';if(i==null)throw'Missing the required parameter "body" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{ruleId}/messages/bulk","POST",{topicId:e,ruleId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';if(i==null)throw'Missing the required parameter "body" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{ruleId}/reactions/bulk","POST",{topicId:e,ruleId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postSocialmediaTopicDataingestionrulesTwitter(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesTwitter';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter","POST",{topicId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSocialmediaTopics(e){return e=e||{},this.apiClient.callApi("/api/v2/socialmedia/topics","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postSocialmediaTwitterHistoricalTweets(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSocialmediaTwitterHistoricalTweets';return this.apiClient.callApi("/api/v2/socialmedia/twitter/historical/tweets","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSocialmediaEscalationrule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "escalationRuleId" when calling putSocialmediaEscalationrule';return this.apiClient.callApi("/api/v2/socialmedia/escalationrules/{escalationRuleId}","PUT",{escalationRuleId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "facebookIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}","PUT",{topicId:e,facebookIngestionRuleId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}","PUT",{topicId:e,googleBusinessProfileIngestionRuleId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "instagramIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}","PUT",{topicId:e,instagramIngestionRuleId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSocialmediaTopicDataingestionrulesOpenOpenId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';if(n==null||n==="")throw'Missing the required parameter "openId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}","PUT",{topicId:e,openId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';if(n==null||n==="")throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}","PUT",{topicId:e,twitterIngestionRuleId:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},py=class{constructor(e){this.apiClient=e||k.instance}deleteSpeechandtextanalyticsCategory(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "categoryId" when calling deleteSpeechandtextanalyticsCategory';return this.apiClient.callApi("/api/v2/speechandtextanalytics/categories/{categoryId}","DELETE",{categoryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dictionaryFeedbackId" when calling deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';return this.apiClient.callApi("/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}","DELETE",{dictionaryFeedbackId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteSpeechandtextanalyticsProgram(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling deleteSpeechandtextanalyticsProgram';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}","DELETE",{programId:e},{forceDelete:n.forceDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteSpeechandtextanalyticsReprocessingJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteSpeechandtextanalyticsReprocessingJob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/reprocessing/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteSpeechandtextanalyticsSentimentfeedback(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/sentimentfeedback","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteSpeechandtextanalyticsSentimentfeedbackSentimentFeedbackId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sentimentFeedbackId" when calling deleteSpeechandtextanalyticsSentimentfeedbackSentimentFeedbackId';return this.apiClient.callApi("/api/v2/speechandtextanalytics/sentimentfeedback/{sentimentFeedbackId}","DELETE",{sentimentFeedbackId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteSpeechandtextanalyticsTopic(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSpeechandtextanalyticsTopic';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/{topicId}","DELETE",{topicId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsCategories(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/categories","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,sortOrder:e.sortOrder,sortBy:e.sortBy,ids:this.apiClient.buildCollectionParam(e.ids,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsCategory(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "categoryId" when calling getSpeechandtextanalyticsCategory';return this.apiClient.callApi("/api/v2/speechandtextanalytics/categories/{categoryId}","GET",{categoryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsConversation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversation';return this.apiClient.callApi("/api/v2/speechandtextanalytics/conversations/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsConversationCategories(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCategories';return this.apiClient.callApi("/api/v2/speechandtextanalytics/conversations/{conversationId}/categories","GET",{conversationId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsConversationCommunicationTranscripturl(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturl';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturl';return this.apiClient.callApi("/api/v2/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturl","GET",{conversationId:e,communicationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsConversationCommunicationTranscripturls(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturls';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturls';return this.apiClient.callApi("/api/v2/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturls","GET",{conversationId:e,communicationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsConversationSentiments(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationSentiments';return this.apiClient.callApi("/api/v2/speechandtextanalytics/conversations/{conversationId}/sentiments","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsConversationSummaries(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationSummaries';return this.apiClient.callApi("/api/v2/speechandtextanalytics/conversations/{conversationId}/summaries","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsDictionaryfeedback(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/dictionaryfeedback","GET",{},{dialect:e.dialect,transcriptionEngine:e.transcriptionEngine,nextPage:e.nextPage,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dictionaryFeedbackId" when calling getSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';return this.apiClient.callApi("/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}","GET",{dictionaryFeedbackId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsProgram(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgram';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}","GET",{programId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsProgramMappings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramMappings';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/mappings","GET",{programId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsProgramSettingsInsights(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramSettingsInsights';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/settings/insights","GET",{programId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsProgramTranscriptionengines(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramTranscriptionengines';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines","GET",{programId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsPrograms(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/programs","GET",{},{nextPage:e.nextPage,pageSize:e.pageSize,state:e.state,name:e.name,ids:this.apiClient.buildCollectionParam(e.ids,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsProgramsGeneralJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsProgramsGeneralJob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/general/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsProgramsMappings(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/mappings","GET",{},{nextPage:e.nextPage,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsProgramsPublishjob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsProgramsPublishjob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/publishjobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsProgramsSettingsInsights(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/settings/insights","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,programIds:this.apiClient.buildCollectionParam(e.programIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsProgramsTopiclinksJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsProgramsTopiclinksJob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/topiclinks/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsProgramsTranscriptionenginesDialects(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsProgramsUnpublished(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/unpublished","GET",{},{nextPage:e.nextPage,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsReprocessingJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsReprocessingJob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/reprocessing/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsReprocessingJobInteractions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsReprocessingJobInteractions';return this.apiClient.callApi("/api/v2/speechandtextanalytics/reprocessing/jobs/{jobId}/interactions","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsReprocessingJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/reprocessing/jobs","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsSentimentDialects(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/sentiment/dialects","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsSentimentfeedback(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/sentimentfeedback","GET",{},{dialect:e.dialect},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsTopic(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSpeechandtextanalyticsTopic';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/{topicId}","GET",{topicId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsTopics(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/topics","GET",{},{nextPage:e.nextPage,pageSize:e.pageSize,pageNumber:e.pageNumber,state:e.state,name:e.name,ids:this.apiClient.buildCollectionParam(e.ids,"multi"),dialects:this.apiClient.buildCollectionParam(e.dialects,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsTopicsDialects(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/dialects","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsTopicsGeneral(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/general","GET",{},{dialect:e.dialect},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsTopicsGeneralStatus(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/general/status","GET",{},{dialect:e.dialect},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsTopicsPublishjob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsPublishjob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/publishjobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsTopicsTestphraseJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsTestphraseJob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/testphrase/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsTranslationsLanguageConversation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "languageId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';if(n==null||n==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';return this.apiClient.callApi("/api/v2/speechandtextanalytics/translations/languages/{languageId}/conversations/{conversationId}","GET",{languageId:e,conversationId:n},{communicationId:i.communicationId,recordingId:i.recordingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsTranslationsLanguages(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/translations/languages","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchSpeechandtextanalyticsSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchSpeechandtextanalyticsSettings';return this.apiClient.callApi("/api/v2/speechandtextanalytics/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSpeechandtextanalyticsCategories(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsCategories';return this.apiClient.callApi("/api/v2/speechandtextanalytics/categories","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSpeechandtextanalyticsDictionaryfeedback(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsDictionaryfeedback';return this.apiClient.callApi("/api/v2/speechandtextanalytics/dictionaryfeedback","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSpeechandtextanalyticsPrograms(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsPrograms';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSpeechandtextanalyticsProgramsGeneralJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsProgramsGeneralJobs';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/general/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSpeechandtextanalyticsProgramsPublishjobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsProgramsPublishjobs';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/publishjobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSpeechandtextanalyticsReprocessingJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsReprocessingJobs';return this.apiClient.callApi("/api/v2/speechandtextanalytics/reprocessing/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSpeechandtextanalyticsSentimentfeedback(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsSentimentfeedback';return this.apiClient.callApi("/api/v2/speechandtextanalytics/sentimentfeedback","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSpeechandtextanalyticsTopics(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopics';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSpeechandtextanalyticsTopicsPublishjobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopicsPublishjobs';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/publishjobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSpeechandtextanalyticsTopicsTestphraseJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopicsTestphraseJobs';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/testphrase/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSpeechandtextanalyticsTranscriptsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTranscriptsSearch';return this.apiClient.callApi("/api/v2/speechandtextanalytics/transcripts/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSpeechandtextanalyticsCategory(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "categoryId" when calling putSpeechandtextanalyticsCategory';if(n==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsCategory';return this.apiClient.callApi("/api/v2/speechandtextanalytics/categories/{categoryId}","PUT",{categoryId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dictionaryFeedbackId" when calling putSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';return this.apiClient.callApi("/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}","PUT",{dictionaryFeedbackId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSpeechandtextanalyticsProgram(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgram';if(n==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgram';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}","PUT",{programId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSpeechandtextanalyticsProgramMappings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramMappings';if(n==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramMappings';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/mappings","PUT",{programId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSpeechandtextanalyticsProgramSettingsInsights(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramSettingsInsights';if(n==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramSettingsInsights';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/settings/insights","PUT",{programId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSpeechandtextanalyticsProgramTranscriptionengines(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramTranscriptionengines';if(n==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramTranscriptionengines';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines","PUT",{programId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSpeechandtextanalyticsSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsSettings';return this.apiClient.callApi("/api/v2/speechandtextanalytics/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSpeechandtextanalyticsTopic(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling putSpeechandtextanalyticsTopic';if(n==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/{topicId}","PUT",{topicId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},dy=class{constructor(e){this.apiClient=e||k.instance}deleteStationAssociateduser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "stationId" when calling deleteStationAssociateduser';return this.apiClient.callApi("/api/v2/stations/{stationId}/associateduser","DELETE",{stationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getStation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "stationId" when calling getStation';return this.apiClient.callApi("/api/v2/stations/{stationId}","GET",{stationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getStations(e){return e=e||{},this.apiClient.callApi("/api/v2/stations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,name:e.name,userSelectable:e.userSelectable,webRtcUserId:e.webRtcUserId,id:e.id,lineAppearanceId:e.lineAppearanceId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},hy=class{constructor(e){this.apiClient=e||k.instance}getSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getSearch';return this.apiClient.callApi("/api/v2/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),profile:n.profile},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSearchSuggest(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getSearchSuggest';return this.apiClient.callApi("/api/v2/search/suggest","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),profile:n.profile},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSearch';return this.apiClient.callApi("/api/v2/search","POST",{},{profile:n.profile},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSearchSuggest(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSearchSuggest';return this.apiClient.callApi("/api/v2/search/suggest","POST",{},{profile:n.profile},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},gy=class{constructor(e){this.apiClient=e||k.instance}deleteTaskmanagementWorkbin(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workbinId" when calling deleteTaskmanagementWorkbin';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/{workbinId}","DELETE",{workbinId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTaskmanagementWorkitem(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling deleteTaskmanagementWorkitem';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}","DELETE",{workitemId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTaskmanagementWorkitemsBulkAddJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling deleteTaskmanagementWorkitemsBulkAddJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/add/jobs/{bulkJobId}","DELETE",{bulkJobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTaskmanagementWorkitemsBulkTerminateJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling deleteTaskmanagementWorkitemsBulkTerminateJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/terminate/jobs/{bulkJobId}","DELETE",{bulkJobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTaskmanagementWorkitemsSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling deleteTaskmanagementWorkitemsSchema';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/{schemaId}","DELETE",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTaskmanagementWorktype(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktype';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}","DELETE",{worktypeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTaskmanagementWorktypeFlowsDatebasedRule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}","DELETE",{worktypeId:e,ruleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTaskmanagementWorktypeFlowsOnattributechangeRule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}","DELETE",{worktypeId:e,ruleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTaskmanagementWorktypeFlowsOncreateRule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}","DELETE",{worktypeId:e,ruleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTaskmanagementWorktypeStatus(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeStatus';if(n==null||n==="")throw'Missing the required parameter "statusId" when calling deleteTaskmanagementWorktypeStatus';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}","DELETE",{worktypeId:e,statusId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkbin(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbin';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/{workbinId}","GET",{workbinId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkbinHistory(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinHistory';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/{workbinId}/history","GET",{workbinId:e},{after:n.after,pageSize:n.pageSize,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkbinVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinVersion';if(n==null)throw'Missing the required parameter "entityVersion" when calling getTaskmanagementWorkbinVersion';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/{workbinId}/versions/{entityVersion}","GET",{workbinId:e,entityVersion:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkbinVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinVersions';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/{workbinId}/versions","GET",{workbinId:e},{after:n.after,pageSize:n.pageSize,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitem(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitem';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}","GET",{workitemId:e},{expands:this.apiClient.buildCollectionParam(n.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemHistory(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemHistory';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/history","GET",{workitemId:e},{after:n.after,pageSize:n.pageSize,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemUserWrapups(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemUserWrapups';if(n==null||n==="")throw'Missing the required parameter "userId" when calling getTaskmanagementWorkitemUserWrapups';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/users/{userId}/wrapups","GET",{workitemId:e,userId:n},{expands:i.expands,after:i.after,pageSize:i.pageSize,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemVersion';if(n==null)throw'Missing the required parameter "entityVersion" when calling getTaskmanagementWorkitemVersion';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/versions/{entityVersion}","GET",{workitemId:e,entityVersion:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemVersions';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/versions","GET",{workitemId:e},{after:n.after,pageSize:n.pageSize,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemWrapups(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemWrapups';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/wrapups","GET",{workitemId:e},{expands:n.expands,after:n.after,pageSize:n.pageSize,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemsBulkAddJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkAddJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/add/jobs/{bulkJobId}","GET",{bulkJobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemsBulkAddJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkAddJobResults';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/add/jobs/{bulkJobId}/results","GET",{bulkJobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemsBulkJobsUsersMe(e){return e=e||{},this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/jobs/users/me","GET",{},{after:e.after,pageSize:e.pageSize,sortOrder:e.sortOrder,action:e.action},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTaskmanagementWorkitemsBulkTerminateJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkTerminateJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/terminate/jobs/{bulkJobId}","GET",{bulkJobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemsBulkTerminateJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkTerminateJobResults';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/terminate/jobs/{bulkJobId}/results","GET",{bulkJobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemsQueryJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getTaskmanagementWorkitemsQueryJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/query/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemsQueryJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getTaskmanagementWorkitemsQueryJobResults';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/query/jobs/{jobId}/results","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemsSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchema';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemsSchemaVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchemaVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getTaskmanagementWorkitemsSchemaVersion';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/{schemaId}/versions/{versionId}","GET",{schemaId:e,versionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemsSchemaVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchemaVersions';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/{schemaId}/versions","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemsSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTaskmanagementWorkitemsSchemasCoretype(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getTaskmanagementWorkitemsSchemasCoretype';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemsSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTaskmanagementWorkitemsSchemasLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTaskmanagementWorktype(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktype';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}","GET",{worktypeId:e},{expands:this.apiClient.buildCollectionParam(n.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorktypeFlowsDatebasedRule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}","GET",{worktypeId:e,ruleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorktypeFlowsDatebasedRules(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRules';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules","GET",{worktypeId:e},{after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorktypeFlowsOnattributechangeRule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}","GET",{worktypeId:e,ruleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorktypeFlowsOnattributechangeRules(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRules';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules","GET",{worktypeId:e},{after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorktypeFlowsOncreateRule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRule';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOncreateRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}","GET",{worktypeId:e,ruleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorktypeFlowsOncreateRules(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRules';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules","GET",{worktypeId:e},{after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorktypeHistory(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeHistory';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/history","GET",{worktypeId:e},{after:n.after,pageSize:n.pageSize,sortOrder:n.sortOrder,fields:this.apiClient.buildCollectionParam(n.fields,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorktypeStatus(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatus';if(n==null||n==="")throw'Missing the required parameter "statusId" when calling getTaskmanagementWorktypeStatus';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}","GET",{worktypeId:e,statusId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorktypeStatuses(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatuses';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/statuses","GET",{worktypeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorktypeVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeVersion';if(n==null)throw'Missing the required parameter "entityVersion" when calling getTaskmanagementWorktypeVersion';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/versions/{entityVersion}","GET",{worktypeId:e,entityVersion:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorktypeVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeVersions';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/versions","GET",{worktypeId:e},{after:n.after,pageSize:n.pageSize,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchTaskmanagementWorkbin(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workbinId" when calling patchTaskmanagementWorkbin';if(n==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkbin';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/{workbinId}","PATCH",{workbinId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchTaskmanagementWorkitem(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitem';if(n==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkitem';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}","PATCH",{workitemId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchTaskmanagementWorkitemAssignment(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemAssignment';if(n==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkitemAssignment';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/assignment","PATCH",{workitemId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchTaskmanagementWorkitemUserWrapups(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemUserWrapups';if(n==null||n==="")throw'Missing the required parameter "userId" when calling patchTaskmanagementWorkitemUserWrapups';if(i==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkitemUserWrapups';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/users/{userId}/wrapups","PATCH",{workitemId:e,userId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchTaskmanagementWorkitemUsersMeWrapups(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemUsersMeWrapups';if(n==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkitemUsersMeWrapups';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/users/me/wrapups","PATCH",{workitemId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchTaskmanagementWorkitemsBulkAddJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling patchTaskmanagementWorkitemsBulkAddJob';if(n==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkitemsBulkAddJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/add/jobs/{bulkJobId}","PATCH",{bulkJobId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchTaskmanagementWorkitemsBulkTerminateJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling patchTaskmanagementWorkitemsBulkTerminateJob';if(n==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkitemsBulkTerminateJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/terminate/jobs/{bulkJobId}","PATCH",{bulkJobId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchTaskmanagementWorktype(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktype';if(n==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorktype';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}","PATCH",{worktypeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchTaskmanagementWorktypeFlowsDatebasedRule(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';if(i==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}","PATCH",{worktypeId:e,ruleId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchTaskmanagementWorktypeFlowsOnattributechangeRule(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';if(i==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}","PATCH",{worktypeId:e,ruleId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchTaskmanagementWorktypeFlowsOncreateRule(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';if(n==null||n==="")throw'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';if(i==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOncreateRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}","PATCH",{worktypeId:e,ruleId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchTaskmanagementWorktypeStatus(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeStatus';if(n==null||n==="")throw'Missing the required parameter "statusId" when calling patchTaskmanagementWorktypeStatus';if(i==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorktypeStatus';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}","PATCH",{worktypeId:e,statusId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postTaskmanagementWorkbins(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkbins';return this.apiClient.callApi("/api/v2/taskmanagement/workbins","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorkbinsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkbinsQuery';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorkitemAcdCancel(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemAcdCancel';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/acd/cancel","POST",{workitemId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorkitemDisconnect(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemDisconnect';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/disconnect","POST",{workitemId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorkitemTerminate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemTerminate';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/terminate","POST",{workitemId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorkitems(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkitems';return this.apiClient.callApi("/api/v2/taskmanagement/workitems","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorkitemsBulkAddJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsBulkAddJobs';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/add/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorkitemsBulkTerminateJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsBulkTerminateJobs';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/terminate/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorkitemsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsQuery';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorkitemsQueryJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsQueryJobs';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/query/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorkitemsSchemas(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsSchemas';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorktypeFlowsDatebasedRules(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsDatebasedRules';if(n==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsDatebasedRules';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules","POST",{worktypeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorktypeFlowsOnattributechangeRules(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';if(n==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules","POST",{worktypeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorktypeFlowsOncreateRules(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOncreateRules';if(n==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOncreateRules';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules","POST",{worktypeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorktypeStatuses(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeStatuses';if(n==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorktypeStatuses';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/statuses","POST",{worktypeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorktypes(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorktypes';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorktypesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorktypesQuery';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTaskmanagementWorkitemsSchema(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putTaskmanagementWorkitemsSchema';if(n==null)throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},my=class{constructor(e){this.apiClient=e||k.instance}deleteTeam(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling deleteTeam';return this.apiClient.callApi("/api/v2/teams/{teamId}","DELETE",{teamId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTeamMembers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling deleteTeamMembers';if(n==null)throw'Missing the required parameter "id" when calling deleteTeamMembers';return this.apiClient.callApi("/api/v2/teams/{teamId}/members","DELETE",{teamId:e},{id:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTeam(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling getTeam';return this.apiClient.callApi("/api/v2/teams/{teamId}","GET",{teamId:e},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTeamMembers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling getTeamMembers';return this.apiClient.callApi("/api/v2/teams/{teamId}/members","GET",{teamId:e},{pageSize:n.pageSize,before:n.before,after:n.after,expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTeams(e){return e=e||{},this.apiClient.callApi("/api/v2/teams","GET",{},{pageSize:e.pageSize,name:e.name,after:e.after,before:e.before,expand:e.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchTeam(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling patchTeam';if(n==null)throw'Missing the required parameter "body" when calling patchTeam';return this.apiClient.callApi("/api/v2/teams/{teamId}","PATCH",{teamId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsTeamsActivityQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTeamsActivityQuery';return this.apiClient.callApi("/api/v2/analytics/teams/activity/query","POST",{},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTeamMembers(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling postTeamMembers';if(n==null)throw'Missing the required parameter "body" when calling postTeamMembers';return this.apiClient.callApi("/api/v2/teams/{teamId}/members","POST",{teamId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTeams(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTeams';return this.apiClient.callApi("/api/v2/teams","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTeamsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTeamsSearch';return this.apiClient.callApi("/api/v2/teams/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},fy=class{constructor(e){this.apiClient=e||k.instance}getTelephonyAgentGreetings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getTelephonyAgentGreetings';return this.apiClient.callApi("/api/v2/telephony/agents/{agentId}/greetings","GET",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyAgentsGreetingsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/agents/greetings/me","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyCallsMetrics(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/calls/metrics","GET",{},{metricType:e.metricType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyMediaregions(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/mediaregions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonySettings(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonySipmessagesConversation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversation';return this.apiClient.callApi("/api/v2/telephony/sipmessages/conversations/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonySipmessagesConversationHeaders(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversationHeaders';return this.apiClient.callApi("/api/v2/telephony/sipmessages/conversations/{conversationId}/headers","GET",{conversationId:e},{keys:this.apiClient.buildCollectionParam(n.keys,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonySiptraces(e,n,i){if(i=i||{},e==null)throw'Missing the required parameter "dateStart" when calling getTelephonySiptraces';if(n==null)throw'Missing the required parameter "dateEnd" when calling getTelephonySiptraces';return this.apiClient.callApi("/api/v2/telephony/siptraces","GET",{},{callId:i.callId,toUser:i.toUser,fromUser:i.fromUser,conversationId:i.conversationId,dateStart:e,dateEnd:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonySiptracesDownloadDownloadId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "downloadId" when calling getTelephonySiptracesDownloadDownloadId';return this.apiClient.callApi("/api/v2/telephony/siptraces/download/{downloadId}","GET",{downloadId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonySiptracesDownload(e,n){if(n=n||{},e==null)throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';return this.apiClient.callApi("/api/v2/telephony/siptraces/download","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyAgentGreetings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling putTelephonyAgentGreetings';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyAgentGreetings';return this.apiClient.callApi("/api/v2/telephony/agents/{agentId}/greetings","PUT",{agentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyAgentsGreetingsMe(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';return this.apiClient.callApi("/api/v2/telephony/agents/greetings/me","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonySettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putTelephonySettings';return this.apiClient.callApi("/api/v2/telephony/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},wy=class{constructor(e){this.apiClient=e||k.instance}deleteTelephonyProvidersEdge(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling deleteTelephonyProvidersEdge';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}","DELETE",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTelephonyProvidersEdgeLogicalinterface(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling deleteTelephonyProvidersEdgeLogicalinterface';if(n==null||n==="")throw'Missing the required parameter "interfaceId" when calling deleteTelephonyProvidersEdgeLogicalinterface';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}","DELETE",{edgeId:e,interfaceId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTelephonyProvidersEdgeSoftwareupdate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling deleteTelephonyProvidersEdgeSoftwareupdate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/softwareupdate","DELETE",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTelephonyProvidersEdgesAlertablepresences(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/alertablepresences","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteTelephonyProvidersEdgesCertificateauthority(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "certificateId" when calling deleteTelephonyProvidersEdgesCertificateauthority';return this.apiClient.callApi("/api/v2/telephony/providers/edges/certificateauthorities/{certificateId}","DELETE",{certificateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTelephonyProvidersEdgesDidpool(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "didPoolId" when calling deleteTelephonyProvidersEdgesDidpool';return this.apiClient.callApi("/api/v2/telephony/providers/edges/didpools/{didPoolId}","DELETE",{didPoolId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTelephonyProvidersEdgesEdgegroup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeGroupId" when calling deleteTelephonyProvidersEdgesEdgegroup';return this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups/{edgeGroupId}","DELETE",{edgeGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTelephonyProvidersEdgesExtensionpool(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "extensionPoolId" when calling deleteTelephonyProvidersEdgesExtensionpool';return this.apiClient.callApi("/api/v2/telephony/providers/edges/extensionpools/{extensionPoolId}","DELETE",{extensionPoolId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTelephonyProvidersEdgesPhone(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "phoneId" when calling deleteTelephonyProvidersEdgesPhone';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones/{phoneId}","DELETE",{phoneId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTelephonyProvidersEdgesPhonebasesetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "phoneBaseId" when calling deleteTelephonyProvidersEdgesPhonebasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings/{phoneBaseId}","DELETE",{phoneBaseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTelephonyProvidersEdgesSite(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling deleteTelephonyProvidersEdgesSite';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}","DELETE",{siteId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTelephonyProvidersEdgesSiteOutboundroute(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling deleteTelephonyProvidersEdgesSiteOutboundroute';if(n==null||n==="")throw'Missing the required parameter "outboundRouteId" when calling deleteTelephonyProvidersEdgesSiteOutboundroute';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}","DELETE",{siteId:e,outboundRouteId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTelephonyProvidersEdgesTrunkbasesetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trunkBaseSettingsId" when calling deleteTelephonyProvidersEdgesTrunkbasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}","DELETE",{trunkBaseSettingsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdge(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdge';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}","GET",{edgeId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgeDiagnosticNslookup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeDiagnosticNslookup';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/nslookup","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgeDiagnosticPing(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeDiagnosticPing';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/ping","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgeDiagnosticRoute(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeDiagnosticRoute';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/route","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgeDiagnosticTracepath(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeDiagnosticTracepath';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/tracepath","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgeLogicalinterface(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLogicalinterface';if(n==null||n==="")throw'Missing the required parameter "interfaceId" when calling getTelephonyProvidersEdgeLogicalinterface';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}","GET",{edgeId:e,interfaceId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgeLogicalinterfaces(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLogicalinterfaces';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces","GET",{edgeId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgeLogsJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLogsJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getTelephonyProvidersEdgeLogsJob';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logs/jobs/{jobId}","GET",{edgeId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgeMetrics(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeMetrics';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/metrics","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgePhysicalinterface(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgePhysicalinterface';if(n==null||n==="")throw'Missing the required parameter "interfaceId" when calling getTelephonyProvidersEdgePhysicalinterface';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/physicalinterfaces/{interfaceId}","GET",{edgeId:e,interfaceId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgePhysicalinterfaces(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgePhysicalinterfaces';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/physicalinterfaces","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgeSetuppackage(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeSetuppackage';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/setuppackage","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgeSoftwareupdate(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeSoftwareupdate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/softwareupdate","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgeSoftwareversions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeSoftwareversions';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/softwareversions","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgeTrunks(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeTrunks';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/trunks","GET",{edgeId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,sortBy:n.sortBy,sortOrder:n.sortOrder,"trunkBase.id":n.trunkBaseId,trunkType:n.trunkType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdges(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,"site.id":e.siteId,"edgeGroup.id":e.edgeGroupId,sortBy:e.sortBy,managed:e.managed,showCloudMedia:e.showCloudMedia},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesAlertablepresences(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/alertablepresences","GET",{},{type:e.type},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesCertificateauthorities(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/certificateauthorities","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesCertificateauthority(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "certificateId" when calling getTelephonyProvidersEdgesCertificateauthority';return this.apiClient.callApi("/api/v2/telephony/providers/edges/certificateauthorities/{certificateId}","GET",{certificateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesDid(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "didId" when calling getTelephonyProvidersEdgesDid';return this.apiClient.callApi("/api/v2/telephony/providers/edges/dids/{didId}","GET",{didId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesDidpool(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "didPoolId" when calling getTelephonyProvidersEdgesDidpool';return this.apiClient.callApi("/api/v2/telephony/providers/edges/didpools/{didPoolId}","GET",{didPoolId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesDidpools(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/didpools","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesDidpoolsDids(e,n){if(n=n||{},e==null)throw'Missing the required parameter "type" when calling getTelephonyProvidersEdgesDidpoolsDids';return this.apiClient.callApi("/api/v2/telephony/providers/edges/didpools/dids","GET",{},{type:e,id:this.apiClient.buildCollectionParam(n.id,"multi"),numberMatch:n.numberMatch,pageSize:n.pageSize,pageNumber:n.pageNumber,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesDids(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/dids","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,phoneNumber:e.phoneNumber,"owner.id":e.ownerId,"didPool.id":e.didPoolId,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesEdgegroup(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeGroupId" when calling getTelephonyProvidersEdgesEdgegroup';return this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups/{edgeGroupId}","GET",{edgeGroupId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesEdgegroupEdgetrunkbase(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgegroupId" when calling getTelephonyProvidersEdgesEdgegroupEdgetrunkbase';if(n==null||n==="")throw'Missing the required parameter "edgetrunkbaseId" when calling getTelephonyProvidersEdgesEdgegroupEdgetrunkbase';return this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups/{edgegroupId}/edgetrunkbases/{edgetrunkbaseId}","GET",{edgegroupId:e,edgetrunkbaseId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesEdgegroups(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,sortBy:e.sortBy,managed:e.managed},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesEdgeversionreport(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/edgeversionreport","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesExpired(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/expired","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesExtension(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "extensionId" when calling getTelephonyProvidersEdgesExtension';return this.apiClient.callApi("/api/v2/telephony/providers/edges/extensions/{extensionId}","GET",{extensionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesExtensionpool(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "extensionPoolId" when calling getTelephonyProvidersEdgesExtensionpool';return this.apiClient.callApi("/api/v2/telephony/providers/edges/extensionpools/{extensionPoolId}","GET",{extensionPoolId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesExtensionpools(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/extensionpools","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,number:e._number,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesExtensionpoolsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/extensionpools/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesExtensions(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/extensions","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,number:e._number},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesLine(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "lineId" when calling getTelephonyProvidersEdgesLine';return this.apiClient.callApi("/api/v2/telephony/providers/edges/lines/{lineId}","GET",{lineId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesLinebasesetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "lineBaseId" when calling getTelephonyProvidersEdgesLinebasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/linebasesettings/{lineBaseId}","GET",{lineBaseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesLinebasesettings(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/linebasesettings","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesLines(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/lines","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesLinesTemplate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "lineBaseSettingsId" when calling getTelephonyProvidersEdgesLinesTemplate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/lines/template","GET",{},{lineBaseSettingsId:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesLogicalinterfaces(e,n){if(n=n||{},e==null)throw'Missing the required parameter "edgeIds" when calling getTelephonyProvidersEdgesLogicalinterfaces';return this.apiClient.callApi("/api/v2/telephony/providers/edges/logicalinterfaces","GET",{},{edgeIds:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesMediastatisticsConversation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getTelephonyProvidersEdgesMediastatisticsConversation';return this.apiClient.callApi("/api/v2/telephony/providers/edges/mediastatistics/conversations/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesMediastatisticsConversationCommunication(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getTelephonyProvidersEdgesMediastatisticsConversationCommunication';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getTelephonyProvidersEdgesMediastatisticsConversationCommunication';return this.apiClient.callApi("/api/v2/telephony/providers/edges/mediastatistics/conversations/{conversationId}/communications/{communicationId}","GET",{conversationId:e,communicationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesMetrics(e,n){if(n=n||{},e==null)throw'Missing the required parameter "edgeIds" when calling getTelephonyProvidersEdgesMetrics';return this.apiClient.callApi("/api/v2/telephony/providers/edges/metrics","GET",{},{edgeIds:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesOutboundroutes(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/outboundroutes","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,"site.id":e.siteId,"externalTrunkBases.ids":e.externalTrunkBasesIds,sortBy:e.sortBy},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesPhone(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "phoneId" when calling getTelephonyProvidersEdgesPhone';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones/{phoneId}","GET",{phoneId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesPhonebasesetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "phoneBaseId" when calling getTelephonyProvidersEdgesPhonebasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings/{phoneBaseId}","GET",{phoneBaseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesPhonebasesettings(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesPhonebasesettingsAvailablemetabases(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings/availablemetabases","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesPhonebasesettingsTemplate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "phoneMetabaseId" when calling getTelephonyProvidersEdgesPhonebasesettingsTemplate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings/template","GET",{},{phoneMetabaseId:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesPhones(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/phones","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,"site.id":e.siteId,"webRtcUser.id":e.webRtcUserId,"phoneBaseSettings.id":e.phoneBaseSettingsId,"lines.loggedInUser.id":e.linesLoggedInUserId,"lines.defaultForUser.id":e.linesDefaultForUserId,phone_hardwareId:e.phoneHardwareId,"lines.id":e.linesId,"lines.name":e.linesName,name:e.name,"status.operationalStatus":e.statusOperationalStatus,"secondaryStatus.operationalStatus":e.secondaryStatusOperationalStatus,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),fields:this.apiClient.buildCollectionParam(e.fields,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesPhonesTemplate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "phoneBaseSettingsId" when calling getTelephonyProvidersEdgesPhonesTemplate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones/template","GET",{},{phoneBaseSettingsId:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesPhysicalinterfaces(e,n){if(n=n||{},e==null)throw'Missing the required parameter "edgeIds" when calling getTelephonyProvidersEdgesPhysicalinterfaces';return this.apiClient.callApi("/api/v2/telephony/providers/edges/physicalinterfaces","GET",{},{edgeIds:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesSite(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSite';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}","GET",{siteId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesSiteNumberplan(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteNumberplan';if(n==null||n==="")throw'Missing the required parameter "numberPlanId" when calling getTelephonyProvidersEdgesSiteNumberplan';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/numberplans/{numberPlanId}","GET",{siteId:e,numberPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesSiteNumberplans(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteNumberplans';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/numberplans","GET",{siteId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesSiteNumberplansClassifications(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteNumberplansClassifications';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/numberplans/classifications","GET",{siteId:e},{classification:n.classification},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesSiteOutboundroute(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteOutboundroute';if(n==null||n==="")throw'Missing the required parameter "outboundRouteId" when calling getTelephonyProvidersEdgesSiteOutboundroute';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}","GET",{siteId:e,outboundRouteId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesSiteOutboundroutes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteOutboundroutes';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes","GET",{siteId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,name:n.name,"externalTrunkBases.ids":n.externalTrunkBasesIds,sortBy:n.sortBy},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesSiteSiteconnections(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteSiteconnections';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections","GET",{siteId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesSites(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/sites","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,"location.id":e.locationId,managed:e.managed,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesSitesSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getTelephonyProvidersEdgesSitesSearch';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesTimezones(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/timezones","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesTrunk(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trunkId" when calling getTelephonyProvidersEdgesTrunk';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunks/{trunkId}","GET",{trunkId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesTrunkMetrics(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trunkId" when calling getTelephonyProvidersEdgesTrunkMetrics';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunks/{trunkId}/metrics","GET",{trunkId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesTrunkbasesetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trunkBaseSettingsId" when calling getTelephonyProvidersEdgesTrunkbasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}","GET",{trunkBaseSettingsId:e},{ignoreHidden:n.ignoreHidden},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesTrunkbasesettings(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,recordingEnabled:e.recordingEnabled,ignoreHidden:e.ignoreHidden,managed:e.managed,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesTrunkbasesettingsAvailablemetabases(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings/availablemetabases","GET",{},{type:e.type,pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesTrunkbasesettingsTemplate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "trunkMetabaseId" when calling getTelephonyProvidersEdgesTrunkbasesettingsTemplate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings/template","GET",{},{trunkMetabaseId:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesTrunks(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/trunks","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,"edge.id":e.edgeId,"trunkBase.id":e.trunkBaseId,trunkType:e.trunkType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesTrunksMetrics(e,n){if(n=n||{},e==null)throw'Missing the required parameter "trunkIds" when calling getTelephonyProvidersEdgesTrunksMetrics';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunks/metrics","GET",{},{trunkIds:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesTrunkswithrecording(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkswithrecording","GET",{},{trunkType:e.trunkType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchTelephonyProvidersEdgesSiteSiteconnections(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling patchTelephonyProvidersEdgesSiteSiteconnections';if(n==null)throw'Missing the required parameter "body" when calling patchTelephonyProvidersEdgesSiteSiteconnections';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections","PATCH",{siteId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgeDiagnosticNslookup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeDiagnosticNslookup';if(n==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeDiagnosticNslookup';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/nslookup","POST",{edgeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgeDiagnosticPing(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeDiagnosticPing';if(n==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeDiagnosticPing';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/ping","POST",{edgeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgeDiagnosticRoute(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeDiagnosticRoute';if(n==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeDiagnosticRoute';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/route","POST",{edgeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgeDiagnosticTracepath(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeDiagnosticTracepath';if(n==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeDiagnosticTracepath';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/tracepath","POST",{edgeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgeLogicalinterfaces(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeLogicalinterfaces';if(n==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeLogicalinterfaces';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces","POST",{edgeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgeLogsJobUpload(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeLogsJobUpload';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling postTelephonyProvidersEdgeLogsJobUpload';if(i==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeLogsJobUpload';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logs/jobs/{jobId}/upload","POST",{edgeId:e,jobId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postTelephonyProvidersEdgeLogsJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeLogsJobs';if(n==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeLogsJobs';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logs/jobs","POST",{edgeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgeReboot(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeReboot';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/reboot","POST",{edgeId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgeSoftwareupdate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeSoftwareupdate';if(n==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeSoftwareupdate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/softwareupdate","POST",{edgeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgeStatuscode(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeStatuscode';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/statuscode","POST",{edgeId:e},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgeUnpair(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeUnpair';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/unpair","POST",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdges(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdges';return this.apiClient.callApi("/api/v2/telephony/providers/edges","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesAddressvalidation(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesAddressvalidation';return this.apiClient.callApi("/api/v2/telephony/providers/edges/addressvalidation","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesCertificateauthorities(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesCertificateauthorities';return this.apiClient.callApi("/api/v2/telephony/providers/edges/certificateauthorities","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesDidpools(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesDidpools';return this.apiClient.callApi("/api/v2/telephony/providers/edges/didpools","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesEdgegroups(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesEdgegroups';return this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesExtensionpools(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesExtensionpools';return this.apiClient.callApi("/api/v2/telephony/providers/edges/extensionpools","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';if(i==null||i==="")throw'Missing the required parameter "mediaResourceId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';if(a==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';return this.apiClient.callApi("/api/v2/telephony/providers/edges/mediastatistics/conversations/{conversationId}/communications/{communicationId}/mediaresources/{mediaResourceId}","POST",{conversationId:e,communicationId:n,mediaResourceId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postTelephonyProvidersEdgesPhoneReboot(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "phoneId" when calling postTelephonyProvidersEdgesPhoneReboot';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones/{phoneId}/reboot","POST",{phoneId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesPhonebasesettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesPhonebasesettings';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesPhones(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesPhones';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesPhonesReboot(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesPhonesReboot';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones/reboot","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesSiteOutboundroutes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling postTelephonyProvidersEdgesSiteOutboundroutes';if(n==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSiteOutboundroutes';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes","POST",{siteId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesSites(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSites';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesSitesSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesTrunkbasesettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesTrunkbasesettings';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyProvidersEdge(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdge';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdge';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}","PUT",{edgeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyProvidersEdgeLogicalinterface(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdgeLogicalinterface';if(n==null||n==="")throw'Missing the required parameter "interfaceId" when calling putTelephonyProvidersEdgeLogicalinterface';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgeLogicalinterface';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}","PUT",{edgeId:e,interfaceId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putTelephonyProvidersEdgesAlertablepresences(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesAlertablepresences';return this.apiClient.callApi("/api/v2/telephony/providers/edges/alertablepresences","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyProvidersEdgesCertificateauthority(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "certificateId" when calling putTelephonyProvidersEdgesCertificateauthority';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesCertificateauthority';return this.apiClient.callApi("/api/v2/telephony/providers/edges/certificateauthorities/{certificateId}","PUT",{certificateId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyProvidersEdgesDidpool(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "didPoolId" when calling putTelephonyProvidersEdgesDidpool';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesDidpool';return this.apiClient.callApi("/api/v2/telephony/providers/edges/didpools/{didPoolId}","PUT",{didPoolId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyProvidersEdgesEdgegroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeGroupId" when calling putTelephonyProvidersEdgesEdgegroup';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesEdgegroup';return this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups/{edgeGroupId}","PUT",{edgeGroupId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyProvidersEdgesEdgegroupEdgetrunkbase(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "edgegroupId" when calling putTelephonyProvidersEdgesEdgegroupEdgetrunkbase';if(n==null||n==="")throw'Missing the required parameter "edgetrunkbaseId" when calling putTelephonyProvidersEdgesEdgegroupEdgetrunkbase';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesEdgegroupEdgetrunkbase';return this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups/{edgegroupId}/edgetrunkbases/{edgetrunkbaseId}","PUT",{edgegroupId:e,edgetrunkbaseId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putTelephonyProvidersEdgesExtensionpool(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "extensionPoolId" when calling putTelephonyProvidersEdgesExtensionpool';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesExtensionpool';return this.apiClient.callApi("/api/v2/telephony/providers/edges/extensionpools/{extensionPoolId}","PUT",{extensionPoolId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyProvidersEdgesPhone(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "phoneId" when calling putTelephonyProvidersEdgesPhone';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesPhone';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones/{phoneId}","PUT",{phoneId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyProvidersEdgesPhonebasesetting(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "phoneBaseId" when calling putTelephonyProvidersEdgesPhonebasesetting';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesPhonebasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings/{phoneBaseId}","PUT",{phoneBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyProvidersEdgesSite(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSite';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesSite';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}","PUT",{siteId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyProvidersEdgesSiteNumberplans(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteNumberplans';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesSiteNumberplans';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/numberplans","PUT",{siteId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyProvidersEdgesSiteOutboundroute(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteOutboundroute';if(n==null||n==="")throw'Missing the required parameter "outboundRouteId" when calling putTelephonyProvidersEdgesSiteOutboundroute';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesSiteOutboundroute';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}","PUT",{siteId:e,outboundRouteId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putTelephonyProvidersEdgesSiteSiteconnections(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteSiteconnections';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesSiteSiteconnections';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections","PUT",{siteId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyProvidersEdgesTrunkbasesetting(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trunkBaseSettingsId" when calling putTelephonyProvidersEdgesTrunkbasesetting';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}","PUT",{trunkBaseSettingsId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},vy=class{constructor(e){this.apiClient=e||k.instance}getTextbotsBotsSearch(e){return e=e||{},this.apiClient.callApi("/api/v2/textbots/bots/search","GET",{},{botType:this.apiClient.buildCollectionParam(e.botType,"multi"),botName:e.botName,botId:this.apiClient.buildCollectionParam(e.botId,"multi"),virtualAgentEnabled:e.virtualAgentEnabled,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postTextbotsBotflowsSessionTurns(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postTextbotsBotflowsSessionTurns';if(n==null)throw'Missing the required parameter "turnRequest" when calling postTextbotsBotflowsSessionTurns';return this.apiClient.callApi("/api/v2/textbots/botflows/sessions/{sessionId}/turns","POST",{sessionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTextbotsBotflowsSessions(e,n){if(n=n||{},e==null)throw'Missing the required parameter "launchRequest" when calling postTextbotsBotflowsSessions';return this.apiClient.callApi("/api/v2/textbots/botflows/sessions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTextbotsBotsExecute(e,n){if(n=n||{},e==null)throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';return this.apiClient.callApi("/api/v2/textbots/bots/execute","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Cy=class{constructor(e){this.apiClient=e||k.instance}deleteToken(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteToken';return this.apiClient.callApi("/api/v2/tokens/{userId}","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTokensMe(e){return e=e||{},this.apiClient.callApi("/api/v2/tokens/me","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTokensMe(e){return e=e||{},this.apiClient.callApi("/api/v2/tokens/me","GET",{},{preserveIdleTTL:e.preserveIdleTTL},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTokensTimeout(e){return e=e||{},this.apiClient.callApi("/api/v2/tokens/timeout","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}headTokensMe(e){return e=e||{},this.apiClient.callApi("/api/v2/tokens/me","HEAD",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putTokensTimeout(e){return e=e||{},this.apiClient.callApi("/api/v2/tokens/timeout","PUT",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},Ay=class{constructor(e){this.apiClient=e||k.instance}getKnowledgeKnowledgebaseUploadsUrlsJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}","GET",{knowledgeBaseId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGamificationContestsUploadsPrizeimages(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';return this.apiClient.callApi("/api/v2/gamification/contests/uploads/prizeimages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGuidesUploads(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postGuidesUploads';return this.apiClient.callApi("/api/v2/guides/uploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsActionDraftFunctionUpload(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';if(n==null)throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/function/upload","POST",{actionId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeDocumentuploads(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';return this.apiClient.callApi("/api/v2/knowledge/documentuploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseUploadsUrlsJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs","POST",{knowledgeBaseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingMinerUploads(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling postLanguageunderstandingMinerUploads';if(n==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingMinerUploads';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/uploads","POST",{minerId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUploadsLearningCoverart(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUploadsLearningCoverart';return this.apiClient.callApi("/api/v2/uploads/learning/coverart","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUploadsPublicassetsImages(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUploadsPublicassetsImages';return this.apiClient.callApi("/api/v2/uploads/publicassets/images","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUploadsRecordings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUploadsRecordings';return this.apiClient.callApi("/api/v2/uploads/recordings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUploadsWorkforcemanagementHistoricaldataCsv(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';return this.apiClient.callApi("/api/v2/uploads/workforcemanagement/historicaldata/csv","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},by=class{constructor(e){this.apiClient=e||k.instance}getOauthClientUsageQueryResult(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';if(n==null||n==="")throw'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}","GET",{executionId:e,clientId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOauthClientUsageSummary(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling getOauthClientUsageSummary';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/usage/summary","GET",{clientId:e},{days:n.days},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsageAggregatesQueryJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getUsageAggregatesQueryJob';return this.apiClient.callApi("/api/v2/usage/aggregates/query/jobs/{jobId}","GET",{jobId:e},{pageSize:n.pageSize,after:n.after},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsageClientClientIdAggregatesQueryJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling getUsageClientClientIdAggregatesQueryJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getUsageClientClientIdAggregatesQueryJob';return this.apiClient.callApi("/api/v2/usage/client/{clientId}/aggregates/query/jobs/{jobId}","GET",{clientId:e,jobId:n},{pageSize:i.pageSize,after:i.after},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsageQueryExecutionIdResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "executionId" when calling getUsageQueryExecutionIdResults';return this.apiClient.callApi("/api/v2/usage/query/{executionId}/results","GET",{executionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsageSimplesearchExecutionIdResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "executionId" when calling getUsageSimplesearchExecutionIdResults';return this.apiClient.callApi("/api/v2/usage/simplesearch/{executionId}/results","GET",{executionId:e},{after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOauthClientUsageQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling postOauthClientUsageQuery';if(n==null)throw'Missing the required parameter "body" when calling postOauthClientUsageQuery';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/usage/query","POST",{clientId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsageAggregatesQueryJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsageAggregatesQueryJobs';return this.apiClient.callApi("/api/v2/usage/aggregates/query/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsageClientClientIdAggregatesQueryJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling postUsageClientClientIdAggregatesQueryJobs';if(n==null)throw'Missing the required parameter "body" when calling postUsageClientClientIdAggregatesQueryJobs';return this.apiClient.callApi("/api/v2/usage/client/{clientId}/aggregates/query/jobs","POST",{clientId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsageQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsageQuery';return this.apiClient.callApi("/api/v2/usage/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsageSimplesearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsageSimplesearch';return this.apiClient.callApi("/api/v2/usage/simplesearch","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},yy=class{constructor(e){this.apiClient=e||k.instance}deleteUserrecording(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "recordingId" when calling deleteUserrecording';return this.apiClient.callApi("/api/v2/userrecordings/{recordingId}","DELETE",{recordingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserrecording(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "recordingId" when calling getUserrecording';return this.apiClient.callApi("/api/v2/userrecordings/{recordingId}","GET",{recordingId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserrecordingTranscoding(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "recordingId" when calling getUserrecordingTranscoding';return this.apiClient.callApi("/api/v2/userrecordings/{recordingId}/transcoding","GET",{recordingId:e},{formatId:n.formatId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserrecordings(e){return e=e||{},this.apiClient.callApi("/api/v2/userrecordings","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUserrecordingsSummary(e){return e=e||{},this.apiClient.callApi("/api/v2/userrecordings/summary","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putUserrecording(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "recordingId" when calling putUserrecording';if(n==null)throw'Missing the required parameter "body" when calling putUserrecording';return this.apiClient.callApi("/api/v2/userrecordings/{recordingId}","PUT",{recordingId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Py=class{constructor(e){this.apiClient=e||k.instance}deleteAnalyticsUsersAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAnalyticsUsersDetailsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersDetailsJob';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAuthorizationSubjectDivisionRole(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling deleteAuthorizationSubjectDivisionRole';if(n==null||n==="")throw'Missing the required parameter "divisionId" when calling deleteAuthorizationSubjectDivisionRole';if(i==null||i==="")throw'Missing the required parameter "roleId" when calling deleteAuthorizationSubjectDivisionRole';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}","DELETE",{subjectId:e,divisionId:n,roleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteRoutingDirectroutingbackupSettingsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/directroutingbackup/settings/me","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteRoutingUserDirectroutingbackupSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteRoutingUserDirectroutingbackupSettings';return this.apiClient.callApi("/api/v2/routing/users/{userId}/directroutingbackup/settings","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingUserUtilization(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteRoutingUserUtilization';return this.apiClient.callApi("/api/v2/routing/users/{userId}/utilization","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteUser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUser';return this.apiClient.callApi("/api/v2/users/{userId}","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteUserCustomattribute(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserCustomattribute';if(n==null||n==="")throw'Missing the required parameter "schemaId" when calling deleteUserCustomattribute';return this.apiClient.callApi("/api/v2/users/{userId}/customattributes/{schemaId}","DELETE",{userId:e,schemaId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteUserExternalidAuthorityNameExternalKey(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserExternalidAuthorityNameExternalKey';if(n==null||n==="")throw'Missing the required parameter "authorityName" when calling deleteUserExternalidAuthorityNameExternalKey';if(i==null||i==="")throw'Missing the required parameter "externalKey" when calling deleteUserExternalidAuthorityNameExternalKey';return this.apiClient.callApi("/api/v2/users/{userId}/externalid/{authorityName}/{externalKey}","DELETE",{userId:e,authorityName:n,externalKey:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteUserRoutinglanguage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserRoutinglanguage';if(n==null||n==="")throw'Missing the required parameter "languageId" when calling deleteUserRoutinglanguage';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages/{languageId}","DELETE",{userId:e,languageId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteUserRoutingskill(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserRoutingskill';if(n==null||n==="")throw'Missing the required parameter "skillId" when calling deleteUserRoutingskill';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/{skillId}","DELETE",{userId:e,skillId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteUserStationAssociatedstation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserStationAssociatedstation';return this.apiClient.callApi("/api/v2/users/{userId}/station/associatedstation","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteUserStationDefaultstation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserStationDefaultstation';return this.apiClient.callApi("/api/v2/users/{userId}/station/defaultstation","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteUserVerifier(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserVerifier';if(n==null||n==="")throw'Missing the required parameter "verifierId" when calling deleteUserVerifier';return this.apiClient.callApi("/api/v2/users/{userId}/verifiers/{verifierId}","DELETE",{userId:e,verifierId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteUsersCustomattributesSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling deleteUsersCustomattributesSchema';return this.apiClient.callApi("/api/v2/users/customattributes/schemas/{schemaId}","DELETE",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteUsersStationsMeAssociatedstation(e){return e=e||{},this.apiClient.callApi("/api/v2/users/stations/me/associatedstation","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsUsersAggregatesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsUsersAggregatesJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsUsersDetailsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersDetailsJob';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsUsersDetailsJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersDetailsJobResults';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs/{jobId}/results","GET",{jobId:e},{cursor:n.cursor,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsUsersDetailsJobsAvailability(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/users/details/jobs/availability","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionspermittedMe(e,n){if(n=n||{},e==null)throw'Missing the required parameter "permission" when calling getAuthorizationDivisionspermittedMe';return this.apiClient.callApi("/api/v2/authorization/divisionspermitted/me","GET",{},{name:n.name,permission:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationDivisionspermittedPagedMe(e,n){if(n=n||{},e==null)throw'Missing the required parameter "permission" when calling getAuthorizationDivisionspermittedPagedMe';return this.apiClient.callApi("/api/v2/authorization/divisionspermitted/paged/me","GET",{},{permission:e,pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationDivisionspermittedPagedSubjectId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getAuthorizationDivisionspermittedPagedSubjectId';if(n==null)throw'Missing the required parameter "permission" when calling getAuthorizationDivisionspermittedPagedSubjectId';return this.apiClient.callApi("/api/v2/authorization/divisionspermitted/paged/{subjectId}","GET",{subjectId:e},{permission:n,pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationSubject(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getAuthorizationSubject';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}","GET",{subjectId:e},{includeDuplicates:n.includeDuplicates},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationSubjectsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/subjects/me","GET",{},{includeDuplicates:e.includeDuplicates},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFieldconfig(e,n){if(n=n||{},e==null)throw'Missing the required parameter "type" when calling getFieldconfig';return this.apiClient.callApi("/api/v2/fieldconfig","GET",{},{type:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getProfilesUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/profiles/users","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),jid:this.apiClient.buildCollectionParam(e.jid,"multi"),sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),integrationPresenceSource:e.integrationPresenceSource},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingDirectroutingbackupSettingsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/directroutingbackup/settings/me","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingUserDirectroutingbackupSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';return this.apiClient.callApi("/api/v2/routing/users/{userId}/directroutingbackup/settings","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingUserUtilization(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getRoutingUserUtilization';return this.apiClient.callApi("/api/v2/routing/users/{userId}/utilization","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUser(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUser';return this.apiClient.callApi("/api/v2/users/{userId}","GET",{userId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi"),integrationPresenceSource:n.integrationPresenceSource,userCustomAttributeSchemaIds:this.apiClient.buildCollectionParam(n.userCustomAttributeSchemaIds,"multi"),state:n.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserAdjacents(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserAdjacents';return this.apiClient.callApi("/api/v2/users/{userId}/adjacents","GET",{userId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserCallforwarding(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserCallforwarding';return this.apiClient.callApi("/api/v2/users/{userId}/callforwarding","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserCustomattribute(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserCustomattribute';if(n==null||n==="")throw'Missing the required parameter "schemaId" when calling getUserCustomattribute';return this.apiClient.callApi("/api/v2/users/{userId}/customattributes/{schemaId}","GET",{userId:e,schemaId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserCustomattributesBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserCustomattributesBulk';if(n==null)throw'Missing the required parameter "schemaIds" when calling getUserCustomattributesBulk';return this.apiClient.callApi("/api/v2/users/{userId}/customattributes/bulk","GET",{userId:e},{schemaIds:this.apiClient.buildCollectionParam(n,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserDirectreports(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserDirectreports';return this.apiClient.callApi("/api/v2/users/{userId}/directreports","GET",{userId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserExternalid(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserExternalid';return this.apiClient.callApi("/api/v2/users/{userId}/externalid","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserExternalidAuthorityName(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserExternalidAuthorityName';if(n==null||n==="")throw'Missing the required parameter "authorityName" when calling getUserExternalidAuthorityName';return this.apiClient.callApi("/api/v2/users/{userId}/externalid/{authorityName}","GET",{userId:e,authorityName:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserFavorites(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserFavorites';return this.apiClient.callApi("/api/v2/users/{userId}/favorites","GET",{userId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortOrder:n.sortOrder,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserGeolocation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserGeolocation';if(n==null||n==="")throw'Missing the required parameter "clientId" when calling getUserGeolocation';return this.apiClient.callApi("/api/v2/users/{userId}/geolocations/{clientId}","GET",{userId:e,clientId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserOutofoffice(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserOutofoffice';return this.apiClient.callApi("/api/v2/users/{userId}/outofoffice","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserProfile(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserProfile';return this.apiClient.callApi("/api/v2/users/{userId}/profile","GET",{userId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi"),integrationPresenceSource:n.integrationPresenceSource},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserProfileskills(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserProfileskills';return this.apiClient.callApi("/api/v2/users/{userId}/profileskills","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserQueues(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserQueues';return this.apiClient.callApi("/api/v2/users/{userId}/queues","GET",{userId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,joined:n.joined,divisionId:this.apiClient.buildCollectionParam(n.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserRoles(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getUserRoles';return this.apiClient.callApi("/api/v2/users/{subjectId}/roles","GET",{subjectId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserRoutinglanguages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserRoutinglanguages';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages","GET",{userId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserRoutingskills(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserRoutingskills';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills","GET",{userId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserRoutingstatus(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserRoutingstatus';return this.apiClient.callApi("/api/v2/users/{userId}/routingstatus","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserSkillgroups(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserSkillgroups';return this.apiClient.callApi("/api/v2/users/{userId}/skillgroups","GET",{userId:e},{pageSize:n.pageSize,after:n.after,before:n.before},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserState(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserState';return this.apiClient.callApi("/api/v2/users/{userId}/state","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserStation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserStation';return this.apiClient.callApi("/api/v2/users/{userId}/station","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserSuperiors(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserSuperiors';return this.apiClient.callApi("/api/v2/users/{userId}/superiors","GET",{userId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserTrustors(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserTrustors';return this.apiClient.callApi("/api/v2/users/{userId}/trustors","GET",{userId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserVerifiers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserVerifiers';return this.apiClient.callApi("/api/v2/users/{userId}/verifiers","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/users","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),jabberId:this.apiClient.buildCollectionParam(e.jabberId,"multi"),sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),integrationPresenceSource:e.integrationPresenceSource,userCustomAttributeSchemaIds:this.apiClient.buildCollectionParam(e.userCustomAttributeSchemaIds,"multi"),state:e.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersChatsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/users/chats/me","GET",{},{excludeClosed:e.excludeClosed,includePresence:e.includePresence,includeRoomOwners:e.includeRoomOwners,after:e.after},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersCustomattributesSchema(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getUsersCustomattributesSchema';return this.apiClient.callApi("/api/v2/users/customattributes/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersCustomattributesSchemaVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getUsersCustomattributesSchemaVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getUsersCustomattributesSchemaVersion';return this.apiClient.callApi("/api/v2/users/customattributes/schemas/{schemaId}/versions/{versionId}","GET",{schemaId:e,versionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersCustomattributesSchemaVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getUsersCustomattributesSchemaVersions';return this.apiClient.callApi("/api/v2/users/customattributes/schemas/{schemaId}/versions","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersCustomattributesSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/users/customattributes/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersCustomattributesSchemasCoretype(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getUsersCustomattributesSchemasCoretype';return this.apiClient.callApi("/api/v2/users/customattributes/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersCustomattributesSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/users/customattributes/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersCustomattributesSchemasLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/users/customattributes/schemas/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersDevelopmentActivities(e){return e=e||{},this.apiClient.callApi("/api/v2/users/development/activities","GET",{},{userId:this.apiClient.buildCollectionParam(e.userId,"multi"),moduleId:e.moduleId,interval:e.interval,completionInterval:e.completionInterval,overdue:e.overdue,pass:e.pass,pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,types:this.apiClient.buildCollectionParam(e.types,"multi"),statuses:this.apiClient.buildCollectionParam(e.statuses,"multi"),relationship:this.apiClient.buildCollectionParam(e.relationship,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersDevelopmentActivitiesMe(e){return e=e||{},this.apiClient.callApi("/api/v2/users/development/activities/me","GET",{},{moduleId:e.moduleId,interval:e.interval,completionInterval:e.completionInterval,overdue:e.overdue,pass:e.pass,pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,types:this.apiClient.buildCollectionParam(e.types,"multi"),statuses:this.apiClient.buildCollectionParam(e.statuses,"multi"),relationship:this.apiClient.buildCollectionParam(e.relationship,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersDevelopmentActivity(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "activityId" when calling getUsersDevelopmentActivity';if(n==null)throw'Missing the required parameter "type" when calling getUsersDevelopmentActivity';return this.apiClient.callApi("/api/v2/users/development/activities/{activityId}","GET",{activityId:e},{type:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersExternalidAuthorityNameExternalKey(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "authorityName" when calling getUsersExternalidAuthorityNameExternalKey';if(n==null||n==="")throw'Missing the required parameter "externalKey" when calling getUsersExternalidAuthorityNameExternalKey';return this.apiClient.callApi("/api/v2/users/externalid/{authorityName}/{externalKey}","GET",{authorityName:e,externalKey:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersMe(e){return e=e||{},this.apiClient.callApi("/api/v2/users/me","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi"),integrationPresenceSource:e.integrationPresenceSource,userCustomAttributeSchemaIds:this.apiClient.buildCollectionParam(e.userCustomAttributeSchemaIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/users/query","GET",{},{cursor:e.cursor,pageSize:e.pageSize,sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),integrationPresenceSource:e.integrationPresenceSource,userCustomAttributeSchemaIds:this.apiClient.buildCollectionParam(e.userCustomAttributeSchemaIds,"multi"),state:e.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getUsersSearch';return this.apiClient.callApi("/api/v2/users/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi"),integrationPresenceSource:n.integrationPresenceSource},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersStationsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/users/stations/me","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchUser(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUser';if(n==null)throw'Missing the required parameter "body" when calling patchUser';return this.apiClient.callApi("/api/v2/users/{userId}","PATCH",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUserCallforwarding(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserCallforwarding';if(n==null)throw'Missing the required parameter "body" when calling patchUserCallforwarding';return this.apiClient.callApi("/api/v2/users/{userId}/callforwarding","PATCH",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUserCustomattributes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserCustomattributes';if(n==null)throw'Missing the required parameter "userCustomAttributes" when calling patchUserCustomattributes';return this.apiClient.callApi("/api/v2/users/{userId}/customattributes","PATCH",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUserCustomattributesBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserCustomattributesBulk';if(n==null)throw'Missing the required parameter "userCustomAttributesList" when calling patchUserCustomattributesBulk';return this.apiClient.callApi("/api/v2/users/{userId}/customattributes/bulk","PATCH",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUserGeolocation(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserGeolocation';if(n==null||n==="")throw'Missing the required parameter "clientId" when calling patchUserGeolocation';if(i==null)throw'Missing the required parameter "body" when calling patchUserGeolocation';return this.apiClient.callApi("/api/v2/users/{userId}/geolocations/{clientId}","PATCH",{userId:e,clientId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchUserQueue(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling patchUserQueue';if(n==null||n==="")throw'Missing the required parameter "userId" when calling patchUserQueue';if(i==null)throw'Missing the required parameter "body" when calling patchUserQueue';return this.apiClient.callApi("/api/v2/users/{userId}/queues/{queueId}","PATCH",{queueId:e,userId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchUserQueues(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserQueues';if(n==null)throw'Missing the required parameter "body" when calling patchUserQueues';return this.apiClient.callApi("/api/v2/users/{userId}/queues","PATCH",{userId:e},{divisionId:this.apiClient.buildCollectionParam(i.divisionId,"multi")},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUserRoutinglanguage(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserRoutinglanguage';if(n==null||n==="")throw'Missing the required parameter "languageId" when calling patchUserRoutinglanguage';if(i==null)throw'Missing the required parameter "body" when calling patchUserRoutinglanguage';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages/{languageId}","PATCH",{userId:e,languageId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchUserRoutinglanguagesBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';if(n==null)throw'Missing the required parameter "body" when calling patchUserRoutinglanguagesBulk';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages/bulk","PATCH",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUserRoutingskillsBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserRoutingskillsBulk';if(n==null)throw'Missing the required parameter "body" when calling patchUserRoutingskillsBulk';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/bulk","PATCH",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUsersBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchUsersBulk';return this.apiClient.callApi("/api/v2/users/bulk","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsUsersActivityQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersActivityQuery';return this.apiClient.callApi("/api/v2/analytics/users/activity/query","POST",{},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsUsersAggregatesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsUsersAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsUsersDetailsJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersDetailsJobs';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsUsersDetailsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersDetailsQuery';return this.apiClient.callApi("/api/v2/analytics/users/details/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsUsersObservationsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersObservationsQuery';return this.apiClient.callApi("/api/v2/analytics/users/observations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationSubjectBulkadd(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkadd';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationSubjectBulkadd';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/bulkadd","POST",{subjectId:e},{subjectType:i.subjectType},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationSubjectBulkremove(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkremove';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationSubjectBulkremove';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/bulkremove","POST",{subjectId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationSubjectBulkreplace(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkreplace';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationSubjectBulkreplace';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/bulkreplace","POST",{subjectId:e},{subjectType:i.subjectType},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationSubjectDivisionRole(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectDivisionRole';if(n==null||n==="")throw'Missing the required parameter "divisionId" when calling postAuthorizationSubjectDivisionRole';if(i==null||i==="")throw'Missing the required parameter "roleId" when calling postAuthorizationSubjectDivisionRole';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}","POST",{subjectId:e,divisionId:n,roleId:i},{subjectType:a.subjectType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postUserExternalid(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserExternalid';if(n==null)throw'Missing the required parameter "body" when calling postUserExternalid';return this.apiClient.callApi("/api/v2/users/{userId}/externalid","POST",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUserInvite(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserInvite';return this.apiClient.callApi("/api/v2/users/{userId}/invite","POST",{userId:e},{force:n.force},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUserPassword(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserPassword';if(n==null)throw'Missing the required parameter "body" when calling postUserPassword';return this.apiClient.callApi("/api/v2/users/{userId}/password","POST",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUserRoutinglanguages(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserRoutinglanguages';if(n==null)throw'Missing the required parameter "body" when calling postUserRoutinglanguages';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages","POST",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUserRoutingskills(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserRoutingskills';if(n==null)throw'Missing the required parameter "body" when calling postUserRoutingskills';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills","POST",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsers(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsers';return this.apiClient.callApi("/api/v2/users","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersCustomattributesSchemas(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersCustomattributesSchemas';return this.apiClient.callApi("/api/v2/users/customattributes/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersDevelopmentActivitiesAggregatesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersDevelopmentActivitiesAggregatesQuery';return this.apiClient.callApi("/api/v2/users/development/activities/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersMePassword(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersMePassword';return this.apiClient.callApi("/api/v2/users/me/password","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearch';return this.apiClient.callApi("/api/v2/users/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersSearchConversationTarget(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearchConversationTarget';return this.apiClient.callApi("/api/v2/users/search/conversation/target","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersSearchQueuemembersManage(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearchQueuemembersManage';return this.apiClient.callApi("/api/v2/users/search/queuemembers/manage","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersSearchTeamsAssign(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';return this.apiClient.callApi("/api/v2/users/search/teams/assign","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingDirectroutingbackupSettingsMe(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putRoutingDirectroutingbackupSettingsMe';return this.apiClient.callApi("/api/v2/routing/directroutingbackup/settings/me","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingUserDirectroutingbackupSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';if(n==null)throw'Missing the required parameter "body" when calling putRoutingUserDirectroutingbackupSettings';return this.apiClient.callApi("/api/v2/routing/users/{userId}/directroutingbackup/settings","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingUserUtilization(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putRoutingUserUtilization';if(n==null)throw'Missing the required parameter "body" when calling putRoutingUserUtilization';return this.apiClient.callApi("/api/v2/routing/users/{userId}/utilization","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserCallforwarding(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserCallforwarding';if(n==null)throw'Missing the required parameter "body" when calling putUserCallforwarding';return this.apiClient.callApi("/api/v2/users/{userId}/callforwarding","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserCustomattributes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserCustomattributes';if(n==null)throw'Missing the required parameter "userCustomAttributes" when calling putUserCustomattributes';return this.apiClient.callApi("/api/v2/users/{userId}/customattributes","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserOutofoffice(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserOutofoffice';if(n==null)throw'Missing the required parameter "body" when calling putUserOutofoffice';return this.apiClient.callApi("/api/v2/users/{userId}/outofoffice","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserProfileskills(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserProfileskills';if(n==null)throw'Missing the required parameter "body" when calling putUserProfileskills';return this.apiClient.callApi("/api/v2/users/{userId}/profileskills","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserRoles(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling putUserRoles';if(n==null)throw'Missing the required parameter "body" when calling putUserRoles';return this.apiClient.callApi("/api/v2/users/{subjectId}/roles","PUT",{subjectId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserRoutingskill(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserRoutingskill';if(n==null||n==="")throw'Missing the required parameter "skillId" when calling putUserRoutingskill';if(i==null)throw'Missing the required parameter "body" when calling putUserRoutingskill';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/{skillId}","PUT",{userId:e,skillId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putUserRoutingskillsBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserRoutingskillsBulk';if(n==null)throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/bulk","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserRoutingstatus(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserRoutingstatus';if(n==null)throw'Missing the required parameter "body" when calling putUserRoutingstatus';return this.apiClient.callApi("/api/v2/users/{userId}/routingstatus","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserState(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserState';if(n==null)throw'Missing the required parameter "body" when calling putUserState';return this.apiClient.callApi("/api/v2/users/{userId}/state","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserStationAssociatedstationStationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserStationAssociatedstationStationId';if(n==null||n==="")throw'Missing the required parameter "stationId" when calling putUserStationAssociatedstationStationId';return this.apiClient.callApi("/api/v2/users/{userId}/station/associatedstation/{stationId}","PUT",{userId:e,stationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserStationDefaultstationStationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserStationDefaultstationStationId';if(n==null||n==="")throw'Missing the required parameter "stationId" when calling putUserStationDefaultstationStationId';return this.apiClient.callApi("/api/v2/users/{userId}/station/defaultstation/{stationId}","PUT",{userId:e,stationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserVerifier(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserVerifier';if(n==null||n==="")throw'Missing the required parameter "verifierId" when calling putUserVerifier';if(i==null)throw'Missing the required parameter "body" when calling putUserVerifier';return this.apiClient.callApi("/api/v2/users/{userId}/verifiers/{verifierId}","PUT",{userId:e,verifierId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putUsersCustomattributesSchema(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putUsersCustomattributesSchema';if(n==null)throw'Missing the required parameter "body" when calling putUsersCustomattributesSchema';return this.apiClient.callApi("/api/v2/users/customattributes/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUsersStationsMeAssociatedstationStationId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "stationId" when calling putUsersStationsMeAssociatedstationStationId';return this.apiClient.callApi("/api/v2/users/stations/me/associatedstation/{stationId}","PUT",{stationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},jy=class{constructor(e){this.apiClient=e||k.instance}deleteUsersRule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling deleteUsersRule';return this.apiClient.callApi("/api/v2/users/rules/{ruleId}","DELETE",{ruleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersRule(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling getUsersRule';return this.apiClient.callApi("/api/v2/users/rules/{ruleId}","GET",{ruleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersRuleDependentTypeId(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling getUsersRuleDependentTypeId';if(n==null||n==="")throw'Missing the required parameter "ruleType" when calling getUsersRuleDependentTypeId';if(i==null||i==="")throw'Missing the required parameter "typeId" when calling getUsersRuleDependentTypeId';return this.apiClient.callApi("/api/v2/users/rules/{ruleId}/dependents/{ruleType}/{typeId}","GET",{ruleId:e,ruleType:n,typeId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getUsersRuleDependents(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling getUsersRuleDependents';return this.apiClient.callApi("/api/v2/users/rules/{ruleId}/dependents","GET",{ruleId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersRules(e,n){if(n=n||{},e==null)throw'Missing the required parameter "types" when calling getUsersRules';return this.apiClient.callApi("/api/v2/users/rules","GET",{},{pageNumber:n.pageNumber,pageSize:n.pageSize,types:this.apiClient.buildCollectionParam(e,"multi"),expand:this.apiClient.buildCollectionParam(n.expand,"multi"),enabled:n.enabled,searchTerm:n.searchTerm,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersRulesSetting(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleType" when calling getUsersRulesSetting';return this.apiClient.callApi("/api/v2/users/rules/settings/{ruleType}","GET",{ruleType:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUsersRule(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling patchUsersRule';if(n==null)throw'Missing the required parameter "body" when calling patchUsersRule';return this.apiClient.callApi("/api/v2/users/rules/{ruleId}","PATCH",{ruleId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersRules(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersRules';return this.apiClient.callApi("/api/v2/users/rules","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersRulesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postUsersRulesQuery';return this.apiClient.callApi("/api/v2/users/rules/query","POST",{},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Sy=class{constructor(e){this.apiClient=e||k.instance}getDate(e){return e=e||{},this.apiClient.callApi("/api/v2/date","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIpranges(e){return e=e||{},this.apiClient.callApi("/api/v2/ipranges","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTimezones(e){return e=e||{},this.apiClient.callApi("/api/v2/timezones","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postCertificateDetails(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postCertificateDetails';return this.apiClient.callApi("/api/v2/certificate/details","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Oy=class{constructor(e){this.apiClient=e||k.instance}deleteVoicemailMessage(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling deleteVoicemailMessage';return this.apiClient.callApi("/api/v2/voicemail/messages/{messageId}","DELETE",{messageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteVoicemailMessages(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/messages","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailGroupMailbox(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getVoicemailGroupMailbox';return this.apiClient.callApi("/api/v2/voicemail/groups/{groupId}/mailbox","GET",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getVoicemailGroupMessages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getVoicemailGroupMessages';return this.apiClient.callApi("/api/v2/voicemail/groups/{groupId}/messages","GET",{groupId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getVoicemailGroupPolicy(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getVoicemailGroupPolicy';return this.apiClient.callApi("/api/v2/voicemail/groups/{groupId}/policy","GET",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getVoicemailMailbox(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/mailbox","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailMeMailbox(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/me/mailbox","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailMeMessages(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/me/messages","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailMePolicy(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/me/policy","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailMessage(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling getVoicemailMessage';return this.apiClient.callApi("/api/v2/voicemail/messages/{messageId}","GET",{messageId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getVoicemailMessageMedia(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling getVoicemailMessageMedia';return this.apiClient.callApi("/api/v2/voicemail/messages/{messageId}/media","GET",{messageId:e},{formatId:n.formatId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getVoicemailMessages(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/messages","GET",{},{ids:e.ids,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailPolicy(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/policy","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailQueueMessages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getVoicemailQueueMessages';return this.apiClient.callApi("/api/v2/voicemail/queues/{queueId}/messages","GET",{queueId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getVoicemailSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "q64" when calling getVoicemailSearch';return this.apiClient.callApi("/api/v2/voicemail/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getVoicemailUserMailbox(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getVoicemailUserMailbox';return this.apiClient.callApi("/api/v2/voicemail/users/{userId}/mailbox","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getVoicemailUserMessages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getVoicemailUserMessages';return this.apiClient.callApi("/api/v2/voicemail/users/{userId}/messages","GET",{userId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getVoicemailUserpolicy(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getVoicemailUserpolicy';return this.apiClient.callApi("/api/v2/voicemail/userpolicies/{userId}","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchVoicemailGroupPolicy(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling patchVoicemailGroupPolicy';if(n==null)throw'Missing the required parameter "body" when calling patchVoicemailGroupPolicy';return this.apiClient.callApi("/api/v2/voicemail/groups/{groupId}/policy","PATCH",{groupId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchVoicemailMePolicy(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchVoicemailMePolicy';return this.apiClient.callApi("/api/v2/voicemail/me/policy","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchVoicemailMessage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling patchVoicemailMessage';if(n==null)throw'Missing the required parameter "body" when calling patchVoicemailMessage';return this.apiClient.callApi("/api/v2/voicemail/messages/{messageId}","PATCH",{messageId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchVoicemailUserpolicy(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchVoicemailUserpolicy';if(n==null)throw'Missing the required parameter "body" when calling patchVoicemailUserpolicy';return this.apiClient.callApi("/api/v2/voicemail/userpolicies/{userId}","PATCH",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postVoicemailMessages(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/messages","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postVoicemailSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postVoicemailSearch';return this.apiClient.callApi("/api/v2/voicemail/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putVoicemailMessage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling putVoicemailMessage';if(n==null)throw'Missing the required parameter "body" when calling putVoicemailMessage';return this.apiClient.callApi("/api/v2/voicemail/messages/{messageId}","PUT",{messageId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putVoicemailPolicy(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putVoicemailPolicy';return this.apiClient.callApi("/api/v2/voicemail/policy","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putVoicemailUserpolicy(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putVoicemailUserpolicy';if(n==null)throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';return this.apiClient.callApi("/api/v2/voicemail/userpolicies/{userId}","PUT",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},xy=class{constructor(e){this.apiClient=e||k.instance}deleteWebchatDeployment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling deleteWebchatDeployment';return this.apiClient.callApi("/api/v2/webchat/deployments/{deploymentId}","DELETE",{deploymentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWebchatGuestConversationMember(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteWebchatGuestConversationMember';if(n==null||n==="")throw'Missing the required parameter "memberId" when calling deleteWebchatGuestConversationMember';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}","DELETE",{conversationId:e,memberId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWebchatSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/webchat/settings","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWebchatDeployment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getWebchatDeployment';return this.apiClient.callApi("/api/v2/webchat/deployments/{deploymentId}","GET",{deploymentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebchatDeployments(e){return e=e||{},this.apiClient.callApi("/api/v2/webchat/deployments","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWebchatGuestConversationMediarequest(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMediarequest';if(n==null||n==="")throw'Missing the required parameter "mediaRequestId" when calling getWebchatGuestConversationMediarequest';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/mediarequests/{mediaRequestId}","GET",{conversationId:e,mediaRequestId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebchatGuestConversationMediarequests(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMediarequests';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/mediarequests","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebchatGuestConversationMember(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMember';if(n==null||n==="")throw'Missing the required parameter "memberId" when calling getWebchatGuestConversationMember';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}","GET",{conversationId:e,memberId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebchatGuestConversationMembers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMembers';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/members","GET",{conversationId:e},{pageSize:n.pageSize,pageNumber:n.pageNumber,excludeDisconnectedMembers:n.excludeDisconnectedMembers},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebchatGuestConversationMessage(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMessage';if(n==null||n==="")throw'Missing the required parameter "messageId" when calling getWebchatGuestConversationMessage';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/messages/{messageId}","GET",{conversationId:e,messageId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebchatGuestConversationMessages(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMessages';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/messages","GET",{conversationId:e},{after:n.after,before:n.before,sortOrder:n.sortOrder,maxResults:n.maxResults},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebchatSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/webchat/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchWebchatGuestConversationMediarequest(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchWebchatGuestConversationMediarequest';if(n==null||n==="")throw'Missing the required parameter "mediaRequestId" when calling patchWebchatGuestConversationMediarequest';if(i==null)throw'Missing the required parameter "body" when calling patchWebchatGuestConversationMediarequest';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/mediarequests/{mediaRequestId}","PATCH",{conversationId:e,mediaRequestId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWebchatDeployments(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWebchatDeployments';return this.apiClient.callApi("/api/v2/webchat/deployments","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWebchatGuestConversationMemberMessages(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postWebchatGuestConversationMemberMessages';if(n==null||n==="")throw'Missing the required parameter "memberId" when calling postWebchatGuestConversationMemberMessages';if(i==null)throw'Missing the required parameter "body" when calling postWebchatGuestConversationMemberMessages';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}/messages","POST",{conversationId:e,memberId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWebchatGuestConversationMemberTyping(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postWebchatGuestConversationMemberTyping';if(n==null||n==="")throw'Missing the required parameter "memberId" when calling postWebchatGuestConversationMemberTyping';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}/typing","POST",{conversationId:e,memberId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWebchatGuestConversations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWebchatGuestConversations';return this.apiClient.callApi("/api/v2/webchat/guest/conversations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putWebchatDeployment(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling putWebchatDeployment';if(n==null)throw'Missing the required parameter "body" when calling putWebchatDeployment';return this.apiClient.callApi("/api/v2/webchat/deployments/{deploymentId}","PUT",{deploymentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putWebchatSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putWebchatSettings';return this.apiClient.callApi("/api/v2/webchat/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Ty=class{constructor(e){this.apiClient=e||k.instance}deleteWebdeploymentsConfiguration(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling deleteWebdeploymentsConfiguration';return this.apiClient.callApi("/api/v2/webdeployments/configurations/{configurationId}","DELETE",{configurationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWebdeploymentsDeployment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeployment';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}","DELETE",{deploymentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWebdeploymentsDeploymentCobrowseSessionId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';if(n==null||n==="")throw'Missing the required parameter "sessionId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}","DELETE",{deploymentId:e,sessionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWebdeploymentsTokenRevoke(e){return e=e||{},this.apiClient.callApi("/api/v2/webdeployments/token/revoke","DELETE",{},{},{"X-Journey-Session-Id":e.xJourneySessionId,"X-Journey-Session-Type":e.xJourneySessionType},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWebdeploymentsConfigurationVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getWebdeploymentsConfigurationVersion';return this.apiClient.callApi("/api/v2/webdeployments/configurations/{configurationId}/versions/{versionId}","GET",{configurationId:e,versionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebdeploymentsConfigurationVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersions';return this.apiClient.callApi("/api/v2/webdeployments/configurations/{configurationId}/versions","GET",{configurationId:e},{pageSize:n.pageSize,before:n.before,after:n.after},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebdeploymentsConfigurationVersionsDraft(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersionsDraft';return this.apiClient.callApi("/api/v2/webdeployments/configurations/{configurationId}/versions/draft","GET",{configurationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebdeploymentsConfigurations(e){return e=e||{},this.apiClient.callApi("/api/v2/webdeployments/configurations","GET",{},{pageSize:e.pageSize,before:e.before,after:e.after,showOnlyPublished:e.showOnlyPublished},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWebdeploymentsDeployment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeployment';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}","GET",{deploymentId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebdeploymentsDeploymentCobrowseSessionId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentCobrowseSessionId';if(n==null||n==="")throw'Missing the required parameter "sessionId" when calling getWebdeploymentsDeploymentCobrowseSessionId';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}","GET",{deploymentId:e,sessionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebdeploymentsDeploymentConfigurations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentConfigurations';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}/configurations","GET",{deploymentId:e},{type:n.type,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebdeploymentsDeploymentIdentityresolution(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentIdentityresolution';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}/identityresolution","GET",{deploymentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebdeploymentsDeployments(e){return e=e||{},this.apiClient.callApi("/api/v2/webdeployments/deployments","GET",{},{pageSize:e.pageSize,before:e.before,after:e.after,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postWebdeploymentsConfigurationVersionsDraftPublish(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling postWebdeploymentsConfigurationVersionsDraftPublish';return this.apiClient.callApi("/api/v2/webdeployments/configurations/{configurationId}/versions/draft/publish","POST",{configurationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWebdeploymentsConfigurations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "configurationVersion" when calling postWebdeploymentsConfigurations';return this.apiClient.callApi("/api/v2/webdeployments/configurations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWebdeploymentsDeployments(e,n){if(n=n||{},e==null)throw'Missing the required parameter "deployment" when calling postWebdeploymentsDeployments';return this.apiClient.callApi("/api/v2/webdeployments/deployments","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWebdeploymentsTokenOauthcodegrantjwtexchange(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWebdeploymentsTokenOauthcodegrantjwtexchange';return this.apiClient.callApi("/api/v2/webdeployments/token/oauthcodegrantjwtexchange","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWebdeploymentsTokenRefresh(e){return e=e||{},this.apiClient.callApi("/api/v2/webdeployments/token/refresh","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putWebdeploymentsConfigurationVersionsDraft(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling putWebdeploymentsConfigurationVersionsDraft';if(n==null)throw'Missing the required parameter "configurationVersion" when calling putWebdeploymentsConfigurationVersionsDraft';return this.apiClient.callApi("/api/v2/webdeployments/configurations/{configurationId}/versions/draft","PUT",{configurationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putWebdeploymentsDeployment(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeployment';if(n==null)throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}","PUT",{deploymentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putWebdeploymentsDeploymentIdentityresolution(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeploymentIdentityresolution';if(n==null)throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}/identityresolution","PUT",{deploymentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},My=class{constructor(e){this.apiClient=e||k.instance}deleteWebmessagingDeploymentPushdevice(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling deleteWebmessagingDeploymentPushdevice';if(n==null||n==="")throw'Missing the required parameter "tokenId" when calling deleteWebmessagingDeploymentPushdevice';return this.apiClient.callApi("/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}","DELETE",{deploymentId:e,tokenId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebmessagingMessages(e){return e=e||{},this.apiClient.callApi("/api/v2/webmessaging/messages","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchWebmessagingDeploymentPushdevice(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling patchWebmessagingDeploymentPushdevice';if(n==null||n==="")throw'Missing the required parameter "tokenId" when calling patchWebmessagingDeploymentPushdevice';if(i==null)throw'Missing the required parameter "body" when calling patchWebmessagingDeploymentPushdevice';return this.apiClient.callApi("/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}","PATCH",{deploymentId:e,tokenId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWebmessagingDeploymentPushdevice(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling postWebmessagingDeploymentPushdevice';if(n==null||n==="")throw'Missing the required parameter "tokenId" when calling postWebmessagingDeploymentPushdevice';if(i==null)throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';return this.apiClient.callApi("/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}","POST",{deploymentId:e,tokenId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}},Ey=class{constructor(e){this.apiClient=e||k.instance}deleteWidgetsDeployment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling deleteWidgetsDeployment';return this.apiClient.callApi("/api/v2/widgets/deployments/{deploymentId}","DELETE",{deploymentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWidgetsDeployment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getWidgetsDeployment';return this.apiClient.callApi("/api/v2/widgets/deployments/{deploymentId}","GET",{deploymentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWidgetsDeployments(e){return e=e||{},this.apiClient.callApi("/api/v2/widgets/deployments","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postWidgetsDeployments(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWidgetsDeployments';return this.apiClient.callApi("/api/v2/widgets/deployments","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putWidgetsDeployment(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling putWidgetsDeployment';if(n==null)throw'Missing the required parameter "body" when calling putWidgetsDeployment';return this.apiClient.callApi("/api/v2/widgets/deployments/{deploymentId}","PUT",{deploymentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},ky=class{constructor(e){this.apiClient=e||k.instance}deleteWorkforcemanagementBusinessunit(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunit';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}","DELETE",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementBusinessunitActivitycode(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitActivitycode';if(n==null||n==="")throw'Missing the required parameter "activityCodeId" when calling deleteWorkforcemanagementBusinessunitActivitycode';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId}","DELETE",{businessUnitId:e,activityCodeId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistory(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistory';if(n==null||n==="")throw'Missing the required parameter "capacityPlanId" when calling deleteWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistory';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocationshistory","DELETE",{businessUnitId:e,capacityPlanId:n},{beforeDateId:i.beforeDateId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitPlanninggroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitPlanninggroup';if(n==null||n==="")throw'Missing the required parameter "planningGroupId" when calling deleteWorkforcemanagementBusinessunitPlanninggroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}","DELETE",{businessUnitId:e,planningGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitSchedulingRun(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulingRun';if(n==null||n==="")throw'Missing the required parameter "runId" when calling deleteWorkforcemanagementBusinessunitSchedulingRun';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId}","DELETE",{businessUnitId:e,runId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitServicegoaltemplate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitServicegoaltemplate';if(n==null||n==="")throw'Missing the required parameter "serviceGoalTemplateId" when calling deleteWorkforcemanagementBusinessunitServicegoaltemplate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId}","DELETE",{businessUnitId:e,serviceGoalTemplateId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitStaffinggroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitStaffinggroup';if(n==null||n==="")throw'Missing the required parameter "staffingGroupId" when calling deleteWorkforcemanagementBusinessunitStaffinggroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId}","DELETE",{businessUnitId:e,staffingGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitTimeofflimit(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitTimeofflimit';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling deleteWorkforcemanagementBusinessunitTimeofflimit';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}","DELETE",{businessUnitId:e,timeOffLimitId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitTimeoffplan(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitTimeoffplan';if(n==null||n==="")throw'Missing the required parameter "timeOffPlanId" when calling deleteWorkforcemanagementBusinessunitTimeoffplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}","DELETE",{businessUnitId:e,timeOffPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitWeekSchedule(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWeekSchedule';if(n==null)throw'Missing the required parameter "weekId" when calling deleteWorkforcemanagementBusinessunitWeekSchedule';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling deleteWorkforcemanagementBusinessunitWeekSchedule';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}","DELETE",{businessUnitId:e,weekId:n,scheduleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteWorkforcemanagementBusinessunitWeekShorttermforecast(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWeekShorttermforecast';if(n==null)throw'Missing the required parameter "weekDateId" when calling deleteWorkforcemanagementBusinessunitWeekShorttermforecast';if(i==null||i==="")throw'Missing the required parameter "forecastId" when calling deleteWorkforcemanagementBusinessunitWeekShorttermforecast';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}","DELETE",{businessUnitId:e,weekDateId:n,forecastId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteWorkforcemanagementBusinessunitWorkplanbid(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWorkplanbid';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitWorkplanbid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}","DELETE",{businessUnitId:e,bidId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitWorkplanbidGroup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';if(i==null||i==="")throw'Missing the required parameter "bidGroupId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}","DELETE",{businessUnitId:e,bidId:n,bidGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteWorkforcemanagementCalendarUrlIcs(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/calendar/url/ics","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteWorkforcemanagementManagementunit(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunit';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}","DELETE",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementManagementunitTimeofflimit(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitTimeofflimit';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling deleteWorkforcemanagementManagementunitTimeofflimit';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}","DELETE",{managementUnitId:e,timeOffLimitId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementManagementunitTimeoffplan(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitTimeoffplan';if(n==null||n==="")throw'Missing the required parameter "timeOffPlanId" when calling deleteWorkforcemanagementManagementunitTimeoffplan';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}","DELETE",{managementUnitId:e,timeOffPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementManagementunitWorkplan(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitWorkplan';if(n==null||n==="")throw'Missing the required parameter "workPlanId" when calling deleteWorkforcemanagementManagementunitWorkplan';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}","DELETE",{managementUnitId:e,workPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementManagementunitWorkplanrotation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';if(n==null||n==="")throw'Missing the required parameter "workPlanRotationId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}","DELETE",{managementUnitId:e,workPlanRotationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAdherence(e,n){if(n=n||{},e==null)throw'Missing the required parameter "userId" when calling getWorkforcemanagementAdherence';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence","GET",{},{userId:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAdherenceExplanation(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "explanationId" when calling getWorkforcemanagementAdherenceExplanation';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/explanations/{explanationId}","GET",{explanationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAdherenceExplanationsJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceExplanationsJob';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/explanations/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAdherenceHistoricalBulkJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalBulkJob';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/historical/bulk/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAdherenceHistoricalJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalJob';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/historical/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAgentAdherenceExplanation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getWorkforcemanagementAgentAdherenceExplanation';if(n==null||n==="")throw'Missing the required parameter "explanationId" when calling getWorkforcemanagementAgentAdherenceExplanation';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/{explanationId}","GET",{agentId:e,explanationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAgentManagementunit(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getWorkforcemanagementAgentManagementunit';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/managementunit","GET",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAgentsMeAdherenceHistoricalJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAgentsMeAdherenceHistoricalJob';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/me/adherence/historical/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAgentsMeManagementunit(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/agents/me/managementunit","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementAlternativeshiftsOffersJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsOffersJob';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/offers/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAlternativeshiftsOffersSearchJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsOffersSearchJob';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/offers/search/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAlternativeshiftsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementAlternativeshiftsTrade(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementAlternativeshiftsTrade';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}","GET",{tradeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAlternativeshiftsTrades(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades","GET",{},{forceAsync:e.forceAsync},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementAlternativeshiftsTradesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsTradesJob';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAlternativeshiftsTradesStateJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsTradesStateJob';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades/state/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunit(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunit';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}","GET",{businessUnitId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi"),includeSchedulingDefaultMessageSeverities:n.includeSchedulingDefaultMessageSeverities},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitActivitycode(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivitycode';if(n==null||n==="")throw'Missing the required parameter "activityCodeId" when calling getWorkforcemanagementBusinessunitActivitycode';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId}","GET",{businessUnitId:e,activityCodeId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitActivitycodes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivitycodes';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes","GET",{businessUnitId:e},{forceDownloadService:n.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitActivityplan(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplan';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}","GET",{businessUnitId:e,activityPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitActivityplanRunsJob(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/runs/jobs/{jobId}","GET",{businessUnitId:e,activityPlanId:n,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitActivityplans(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplans';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans","GET",{businessUnitId:e},{state:n.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitActivityplansJobs(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplansJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/jobs","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitAlternativeshiftsSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitAlternativeshiftsTrade(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTrade';if(n==null||n==="")throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTrade';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/{tradeId}","GET",{businessUnitId:e,tradeId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/search/jobs/{jobId}","GET",{businessUnitId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitCapacityplan(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplan';if(n==null||n==="")throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}","GET",{businessUnitId:e,capacityPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';if(n==null||n==="")throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocations","GET",{businessUnitId:e,capacityPlanId:n},{granularity:i.granularity},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitCapacityplanStaffingrequirements(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffingrequirements';if(n==null||n==="")throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffingrequirements';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffingrequirements","GET",{businessUnitId:e,capacityPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';if(n==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';if(i==null||i==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplanning/longtermrequirements/automaticbestmethod/weeks/{weekDateId}/forecasts/{forecastId}","GET",{businessUnitId:e,weekDateId:n,forecastId:i},{granularity:a.granularity},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitCapacityplans(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplans';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitIntradayPlanninggroups(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitIntradayPlanninggroups';if(n==null)throw'Missing the required parameter "_date" when calling getWorkforcemanagementBusinessunitIntradayPlanninggroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/intraday/planninggroups","GET",{businessUnitId:e},{date:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitMainforecastContinuousforecastSession(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSession';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/mainforecast/continuousforecast/session","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionId';if(n==null||n==="")throw'Missing the required parameter "sessionId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionId';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/mainforecast/continuousforecast/session/{sessionId}","GET",{businessUnitId:e,sessionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionIdSnapshotSnapshotId(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionIdSnapshotSnapshotId';if(n==null||n==="")throw'Missing the required parameter "sessionId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionIdSnapshotSnapshotId';if(i==null||i==="")throw'Missing the required parameter "snapshotId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionIdSnapshotSnapshotId';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/mainforecast/continuousforecast/session/{sessionId}/snapshot/{snapshotId}","GET",{businessUnitId:e,sessionId:n,snapshotId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitManagementunits(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitManagementunits';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/managementunits","GET",{businessUnitId:e},{feature:n.feature,divisionId:n.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitMinimumstaffingSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMinimumstaffingSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/minimumstaffing/settings","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitPlanninggroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitPlanninggroup';if(n==null||n==="")throw'Missing the required parameter "planningGroupId" when calling getWorkforcemanagementBusinessunitPlanninggroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}","GET",{businessUnitId:e,planningGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitPlanninggroups(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitPlanninggroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitSchedulerSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulerSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduler/settings","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitSchedulingRun(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulingRun';if(n==null||n==="")throw'Missing the required parameter "runId" when calling getWorkforcemanagementBusinessunitSchedulingRun';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId}","GET",{businessUnitId:e,runId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitSchedulingRunResult(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulingRunResult';if(n==null||n==="")throw'Missing the required parameter "runId" when calling getWorkforcemanagementBusinessunitSchedulingRunResult';if(i==null)throw'Missing the required parameter "managementUnitIds" when calling getWorkforcemanagementBusinessunitSchedulingRunResult';if(a==null)throw'Missing the required parameter "expand" when calling getWorkforcemanagementBusinessunitSchedulingRunResult';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId}/result","GET",{businessUnitId:e,runId:n},{managementUnitIds:this.apiClient.buildCollectionParam(i,"multi"),expand:this.apiClient.buildCollectionParam(a,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getWorkforcemanagementBusinessunitSchedulingRuns(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulingRuns';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitServicegoaltemplate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitServicegoaltemplate';if(n==null||n==="")throw'Missing the required parameter "serviceGoalTemplateId" when calling getWorkforcemanagementBusinessunitServicegoaltemplate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId}","GET",{businessUnitId:e,serviceGoalTemplateId:n},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitServicegoaltemplates(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitServicegoaltemplates';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates","GET",{businessUnitId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/evaluate/jobs/{jobId}","GET",{businessUnitId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitShifttradingTradesQueryJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingTradesQueryJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingTradesQueryJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/query/jobs/{jobId}","GET",{businessUnitId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/state/bulk/jobs/{jobId}","GET",{businessUnitId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/unmatched/search/jobs/{jobId}","GET",{businessUnitId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/weeks/summary/jobs/{jobId}","GET",{businessUnitId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitStaffinggroup(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitStaffinggroup';if(n==null||n==="")throw'Missing the required parameter "staffingGroupId" when calling getWorkforcemanagementBusinessunitStaffinggroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId}","GET",{businessUnitId:e,staffingGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitStaffinggroups(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitStaffinggroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups","GET",{businessUnitId:e},{managementUnitId:n.managementUnitId,forceDownloadService:n.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitTimeofflimit(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimit';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementBusinessunitTimeofflimit';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}","GET",{businessUnitId:e,timeOffLimitId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitTimeofflimits(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimits';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits","GET",{businessUnitId:e},{managementUnitId:n.managementUnitId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitTimeoffplan(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeoffplan';if(n==null||n==="")throw'Missing the required parameter "timeOffPlanId" when calling getWorkforcemanagementBusinessunitTimeoffplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}","GET",{businessUnitId:e,timeOffPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitTimeoffplans(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeoffplans';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans","GET",{businessUnitId:e},{managementUnitId:n.managementUnitId,forceDownloadService:n.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitUsers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitUsers';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/users","GET",{businessUnitId:e},{managementUnitIds:this.apiClient.buildCollectionParam(n.managementUnitIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitWeekSchedule(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedule';if(n==null)throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedule';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedule';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}","GET",{businessUnitId:e,weekId:n,scheduleId:i},{expand:a.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekScheduleGenerationresults(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekScheduleGenerationresults';if(n==null)throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekScheduleGenerationresults';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekScheduleGenerationresults';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/generationresults","GET",{businessUnitId:e,weekId:n,scheduleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekScheduleHeadcountforecast(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekScheduleHeadcountforecast';if(n==null)throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekScheduleHeadcountforecast';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekScheduleHeadcountforecast';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/headcountforecast","GET",{businessUnitId:e,weekId:n,scheduleId:i},{forceDownload:a.forceDownload},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent';if(n==null)throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent';if(a==null||a==="")throw'Missing the required parameter "agentId" when calling getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/history/agents/{agentId}","GET",{businessUnitId:e,weekId:n,scheduleId:i,agentId:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions';if(n==null||n==="")throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions","GET",{businessUnitId:e,weekId:n,scheduleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';if(n==null||n==="")throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';if(a==null||a==="")throw'Missing the required parameter "recalculationId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations/{recalculationId}","GET",{businessUnitId:e,weekId:n,scheduleId:i,recalculationId:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getWorkforcemanagementBusinessunitWeekSchedules(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedules';if(n==null||n==="")throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedules';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules","GET",{businessUnitId:e,weekId:n},{includeOnlyPublished:i.includeOnlyPublished,expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecast(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecast';if(n==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecast';if(i==null||i==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecast';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}","GET",{businessUnitId:e,weekDateId:n,forecastId:i},{expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecastData(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastData';if(n==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastData';if(i==null||i==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastData';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/data","GET",{businessUnitId:e,weekDateId:n,forecastId:i},{weekNumber:a.weekNumber,forceDownloadService:a.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecastGenerationresults(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastGenerationresults';if(n==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastGenerationresults';if(i==null||i==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastGenerationresults';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/generationresults","GET",{businessUnitId:e,weekDateId:n,forecastId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecastLongtermforecastdata(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastLongtermforecastdata';if(n==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastLongtermforecastdata';if(i==null||i==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastLongtermforecastdata';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/longtermforecastdata","GET",{businessUnitId:e,weekDateId:n,forecastId:i},{forceDownloadService:a.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecastPlanninggroups(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastPlanninggroups';if(n==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastPlanninggroups';if(i==null||i==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastPlanninggroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/planninggroups","GET",{businessUnitId:e,weekDateId:n,forecastId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';if(n==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';if(i==null||i==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/staffingrequirement","GET",{businessUnitId:e,weekDateId:n,forecastId:i},{weekNumbers:this.apiClient.buildCollectionParam(a.weekNumbers,"multi"),expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecasts(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecasts';if(n==null||n==="")throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecasts';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts","GET",{businessUnitId:e,weekDateId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitWorkplanbid(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbid';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}","GET",{businessUnitId:e,bidId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitWorkplanbidGroup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';if(i==null||i==="")throw'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}","GET",{businessUnitId:e,bidId:n,bidGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';if(i==null||i==="")throw'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences","GET",{businessUnitId:e,bidId:n,bidGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/summary","GET",{businessUnitId:e,bidId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitWorkplanbids(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbids';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunits(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/businessunits","GET",{},{feature:e.feature,divisionId:e.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementBusinessunitsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/divisionviews","GET",{},{divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementCalendarDataIcs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "calendarId" when calling getWorkforcemanagementCalendarDataIcs';return this.apiClient.callApi("/api/v2/workforcemanagement/calendar/data/ics","GET",{},{calendarId:e},{},{},null,["PureCloud OAuth"],["application/json"],["text/calendar"],n.customHeaders)}getWorkforcemanagementCalendarUrlIcs(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/calendar/url/ics","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementHistoricaldataBulkRemoveJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementHistoricaldataBulkRemoveJob';return this.apiClient.callApi("/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementHistoricaldataBulkRemoveJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementHistoricaldataImportstatus(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/historicaldata/importstatus","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementHistoricaldataImportstatusJobId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementHistoricaldataImportstatusJobId';return this.apiClient.callApi("/api/v2/workforcemanagement/historicaldata/importstatus/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementIntegrationsHris(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/integrations/hris","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementIntegrationsHrisTimeofftypesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementIntegrationsHrisTimeofftypesJob';return this.apiClient.callApi("/api/v2/workforcemanagement/integrations/hris/timeofftypes/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunit(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunit';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}","GET",{managementUnitId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitActivitycodes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitActivitycodes';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/activitycodes","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitAdherence(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitAdherence';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/adherence","GET",{managementUnitId:e},{forceDownloadService:n.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitAgent(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitAgent';if(n==null||n==="")throw'Missing the required parameter "agentId" when calling getWorkforcemanagementManagementunitAgent';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/{agentId}","GET",{managementUnitId:e,agentId:n},{excludeCapabilities:i.excludeCapabilities,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitAgentShifttrades(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitAgentShifttrades';if(n==null||n==="")throw'Missing the required parameter "agentId" when calling getWorkforcemanagementManagementunitAgentShifttrades';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/{agentId}/shifttrades","GET",{managementUnitId:e,agentId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitShifttradesMatched(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitShifttradesMatched';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/shifttrades/matched","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitShifttradesUsers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitShifttradesUsers';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/shifttrades/users","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitTimeofflimit(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeofflimit';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementManagementunitTimeofflimit';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}","GET",{managementUnitId:e,timeOffLimitId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitTimeofflimits(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeofflimits';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitTimeoffplan(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeoffplan';if(n==null||n==="")throw'Missing the required parameter "timeOffPlanId" when calling getWorkforcemanagementManagementunitTimeoffplan';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}","GET",{managementUnitId:e,timeOffPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitTimeoffplans(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeoffplans';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitUserTimeoffrequest(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequest';if(n==null||n==="")throw'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequest';if(i==null||i==="")throw'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementManagementunitUserTimeoffrequest';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}","GET",{managementUnitId:e,userId:n,timeOffRequestId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';if(n==null||n==="")throw'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';if(i==null||i==="")throw'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}/timeofflimits","GET",{managementUnitId:e,userId:n,timeOffRequestId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementManagementunitUserTimeoffrequests(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';if(n==null||n==="")throw'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests","GET",{managementUnitId:e,userId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitUsers(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUsers';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitWeekSchedule(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekSchedule';if(n==null||n==="")throw'Missing the required parameter "weekId" when calling getWorkforcemanagementManagementunitWeekSchedule';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementManagementunitWeekSchedule';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekId}/schedules/{scheduleId}","GET",{managementUnitId:e,weekId:n,scheduleId:i},{expand:a.expand,forceDownloadService:a.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementManagementunitWeekSchedules(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekSchedules';if(n==null||n==="")throw'Missing the required parameter "weekId" when calling getWorkforcemanagementManagementunitWeekSchedules';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekId}/schedules","GET",{managementUnitId:e,weekId:n},{includeOnlyPublished:i.includeOnlyPublished,earliestWeekDate:i.earliestWeekDate,latestWeekDate:i.latestWeekDate},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitWeekShifttrades(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekShifttrades';if(n==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementManagementunitWeekShifttrades';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades","GET",{managementUnitId:e,weekDateId:n},{evaluateMatches:i.evaluateMatches,includeCrossWeekShifts:i.includeCrossWeekShifts,forceDownloadService:i.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitWorkplan(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplan';if(n==null||n==="")throw'Missing the required parameter "workPlanId" when calling getWorkforcemanagementManagementunitWorkplan';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}","GET",{managementUnitId:e,workPlanId:n},{includeOnly:this.apiClient.buildCollectionParam(i.includeOnly,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitWorkplanrotation(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotation';if(n==null||n==="")throw'Missing the required parameter "workPlanRotationId" when calling getWorkforcemanagementManagementunitWorkplanrotation';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}","GET",{managementUnitId:e,workPlanRotationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitWorkplanrotations(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotations';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations","GET",{managementUnitId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitWorkplans(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplans';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans","GET",{managementUnitId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi"),exclude:this.apiClient.buildCollectionParam(n.exclude,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunits(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/managementunits","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,feature:e.feature,divisionId:e.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementManagementunitsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/divisionviews","GET",{},{divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementNotifications(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/notifications","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementSchedulingjob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementSchedulingjob';return this.apiClient.callApi("/api/v2/workforcemanagement/schedulingjobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementShifttrades(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/shifttrades","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementShifttradingTradeJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementShifttradingTradeJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradeJob';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/jobs/{jobId}","GET",{tradeId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementShifttradingTradeMatchJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementShifttradingTradeMatchJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradeMatchJob';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/match/jobs/{jobId}","GET",{tradeId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementShifttradingTradeStateJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementShifttradingTradeStateJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradeStateJob';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/state/jobs/{jobId}","GET",{tradeId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementShifttradingTradesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradesJob';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementShifttradingTradesMineQueryJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradesMineQueryJob';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/mine/query/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementShrinkageJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShrinkageJob';return this.apiClient.callApi("/api/v2/workforcemanagement/shrinkage/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementTeamAdherence(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling getWorkforcemanagementTeamAdherence';return this.apiClient.callApi("/api/v2/workforcemanagement/teams/{teamId}/adherence","GET",{teamId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementTimeoffbalanceJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementTimeoffbalanceJob';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffbalance/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementTimeoffrequest(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequest';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}","GET",{timeOffRequestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementTimeoffrequestWaitlistpositions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequestWaitlistpositions';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}/waitlistpositions","GET",{timeOffRequestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementTimeoffrequests(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementUnavailabletimesSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/unavailabletimes/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementUnavailabletimesValidationJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementUnavailabletimesValidationJob';return this.apiClient.callApi("/api/v2/workforcemanagement/unavailabletimes/validation/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementUserWorkplanbidranks(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getWorkforcemanagementUserWorkplanbidranks';return this.apiClient.callApi("/api/v2/workforcemanagement/users/{userId}/workplanbidranks","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementWorkplanbidPreferences(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidPreferences';return this.apiClient.callApi("/api/v2/workforcemanagement/workplanbids/{bidId}/preferences","GET",{bidId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementWorkplanbidWorkplans(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidWorkplans';return this.apiClient.callApi("/api/v2/workforcemanagement/workplanbids/{bidId}/workplans","GET",{bidId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementWorkplanbids(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/workplanbids","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchWorkforcemanagementAgentAdherenceExplanation(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling patchWorkforcemanagementAgentAdherenceExplanation';if(n==null||n==="")throw'Missing the required parameter "explanationId" when calling patchWorkforcemanagementAgentAdherenceExplanation';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementAgentAdherenceExplanation';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/{explanationId}","PATCH",{agentId:e,explanationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementAlternativeshiftsTrade(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling patchWorkforcemanagementAlternativeshiftsTrade';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementAlternativeshiftsTrade';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}","PATCH",{tradeId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementAlternativeshiftsTradesStateJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementAlternativeshiftsTradesStateJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades/state/jobs","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementBusinessunit(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunit';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunit';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}","PATCH",{businessUnitId:e},{includeSchedulingDefaultMessageSeverities:i.includeSchedulingDefaultMessageSeverities},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementBusinessunitActivitycode(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivitycode';if(n==null||n==="")throw'Missing the required parameter "activityCodeId" when calling patchWorkforcemanagementBusinessunitActivitycode';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitActivitycode';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId}","PATCH",{businessUnitId:e,activityCodeId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitActivityplan(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivityplan';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling patchWorkforcemanagementBusinessunitActivityplan';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitActivityplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}","PATCH",{businessUnitId:e,activityPlanId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings","PATCH",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementBusinessunitCapacityplan(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitCapacityplan';if(n==null||n==="")throw'Missing the required parameter "capacityPlanId" when calling patchWorkforcemanagementBusinessunitCapacityplan';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitCapacityplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}","PATCH",{businessUnitId:e,capacityPlanId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitMinimumstaffingSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitMinimumstaffingSettings';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitMinimumstaffingSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/minimumstaffing/settings","PATCH",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementBusinessunitPlanninggroup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';if(n==null||n==="")throw'Missing the required parameter "planningGroupId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitPlanninggroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}","PATCH",{businessUnitId:e,planningGroupId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitSchedulerSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulerSettings';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulerSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduler/settings","PATCH",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementBusinessunitSchedulingRun(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';if(n==null||n==="")throw'Missing the required parameter "runId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulingRun';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId}","PATCH",{businessUnitId:e,runId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitServicegoaltemplate(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';if(n==null||n==="")throw'Missing the required parameter "serviceGoalTemplateId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId}","PATCH",{businessUnitId:e,serviceGoalTemplateId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitStaffinggroup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';if(n==null||n==="")throw'Missing the required parameter "staffingGroupId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitStaffinggroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId}","PATCH",{businessUnitId:e,staffingGroupId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitTimeoffplan(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';if(n==null||n==="")throw'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitTimeoffplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}","PATCH",{businessUnitId:e,timeOffPlanId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitWorkplanbid(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}","PATCH",{businessUnitId:e,bidId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitWorkplanbidGroup(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';if(i==null||i==="")throw'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';if(a==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}","PATCH",{businessUnitId:e,bidId:n,bidGroupId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';if(i==null||i==="")throw'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';if(a==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences","PATCH",{businessUnitId:e,bidId:n,bidGroupId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementManagementunit(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunit';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunit';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}","PATCH",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementManagementunitAgents(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgents';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitAgents';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents","PATCH",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementManagementunitAgentsWorkplansBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/bulk","PATCH",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementManagementunitTimeofflimit(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeofflimit';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}","PATCH",{managementUnitId:e,timeOffLimitId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementManagementunitTimeoffplan(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffplan';if(n==null||n==="")throw'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementManagementunitTimeoffplan';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeoffplan';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}","PATCH",{managementUnitId:e,timeOffPlanId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';if(n==null||n==="")throw'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';if(i==null||i==="")throw'Missing the required parameter "userId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';if(a==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/{timeOffRequestId}/users/{userId}/integrationstatus","PATCH",{managementUnitId:e,timeOffRequestId:n,userId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementManagementunitUnavailabletimesSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitUnavailabletimesSettings';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitUnavailabletimesSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/unavailabletimes/settings","PATCH",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementManagementunitUserTimeoffrequest(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';if(n==null||n==="")throw'Missing the required parameter "userId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';if(i==null||i==="")throw'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';if(a==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}","PATCH",{managementUnitId:e,userId:n,timeOffRequestId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementManagementunitWeekShifttrade(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWeekShifttrade';if(n==null)throw'Missing the required parameter "weekDateId" when calling patchWorkforcemanagementManagementunitWeekShifttrade';if(i==null||i==="")throw'Missing the required parameter "tradeId" when calling patchWorkforcemanagementManagementunitWeekShifttrade';if(a==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitWeekShifttrade';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades/{tradeId}","PATCH",{managementUnitId:e,weekDateId:n,tradeId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementManagementunitWorkplan(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplan';if(n==null||n==="")throw'Missing the required parameter "workPlanId" when calling patchWorkforcemanagementManagementunitWorkplan';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitWorkplan';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}","PATCH",{managementUnitId:e,workPlanId:n},{validationMode:a.validationMode},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementManagementunitWorkplanrotation(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';if(n==null||n==="")throw'Missing the required parameter "workPlanRotationId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitWorkplanrotation';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}","PATCH",{managementUnitId:e,workPlanRotationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementTimeoffrequest(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementTimeoffrequest';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementTimeoffrequest';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}","PATCH",{timeOffRequestId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementUnavailabletimes(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementUnavailabletimes';return this.apiClient.callApi("/api/v2/workforcemanagement/unavailabletimes","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementUserWorkplanbidranks(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchWorkforcemanagementUserWorkplanbidranks';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementUserWorkplanbidranks';return this.apiClient.callApi("/api/v2/workforcemanagement/users/{userId}/workplanbidranks","PATCH",{userId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementUsersWorkplanbidranksBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementUsersWorkplanbidranksBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/users/workplanbidranks/bulk","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementWorkplanbidPreferences(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementWorkplanbidPreferences';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementWorkplanbidPreferences';return this.apiClient.callApi("/api/v2/workforcemanagement/workplanbids/{bidId}/preferences","PATCH",{bidId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAdherenceExplanations(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceExplanations';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/explanations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAdherenceExplanationsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceExplanationsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/explanations/query","POST",{},{forceAsync:n.forceAsync,forceDownloadService:n.forceDownloadService},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAdherenceHistorical(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/adherence/historical","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postWorkforcemanagementAdherenceHistoricalBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceHistoricalBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/historical/bulk","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAgentAdherenceExplanations(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceExplanations';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentAdherenceExplanations';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations","POST",{agentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAgentAdherenceExplanationsQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceExplanationsQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentAdherenceExplanationsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/query","POST",{agentId:e},{forceAsync:i.forceAsync,forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAgentUnavailabletimesQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentUnavailabletimesQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentUnavailabletimesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/unavailabletimes/query","POST",{agentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAgents(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgents';return this.apiClient.callApi("/api/v2/workforcemanagement/agents","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAgentsIntegrationsHrisQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentsIntegrationsHrisQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/integrations/hris/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAgentsMeAdherenceHistoricalJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/agents/me/adherence/historical/jobs","POST",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postWorkforcemanagementAgentsMePossibleworkshifts(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentsMePossibleworkshifts';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/me/possibleworkshifts","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAgentschedulesManagementunitsMine(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentschedulesManagementunitsMine';return this.apiClient.callApi("/api/v2/workforcemanagement/agentschedules/managementunits/mine","POST",{},{forceAsync:n.forceAsync,forceDownloadService:n.forceDownloadService},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAgentschedulesMine(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentschedulesMine';return this.apiClient.callApi("/api/v2/workforcemanagement/agentschedules/mine","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAlternativeshiftsOffersJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsOffersJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/offers/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAlternativeshiftsOffersSearchJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsOffersSearchJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/offers/search/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAlternativeshiftsTrades(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsTrades';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitActivitycodes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivitycodes';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitActivitycodes';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitActivityplanRunsJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/runs/jobs","POST",{businessUnitId:e,activityPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitActivityplans(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplans';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitActivityplans';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitAdherenceExplanationsQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAdherenceExplanationsQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAdherenceExplanationsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/explanations/query","POST",{businessUnitId:e},{forceAsync:i.forceAsync,forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitAgentschedulesSearch(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/agentschedules/search","POST",{businessUnitId:e},{forceAsync:i.forceAsync,forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/search","POST",{businessUnitId:e},{forceAsync:i.forceAsync},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitCapacityplanCopy(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplanCopy';if(n==null||n==="")throw'Missing the required parameter "capacityPlanId" when calling postWorkforcemanagementBusinessunitCapacityplanCopy';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitCapacityplanCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/copy","POST",{businessUnitId:e,capacityPlanId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitCapacityplanRequirementGenerate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplanRequirementGenerate';if(n==null||n==="")throw'Missing the required parameter "capacityPlanId" when calling postWorkforcemanagementBusinessunitCapacityplanRequirementGenerate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/requirement/generate","POST",{businessUnitId:e,capacityPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';if(n==null||n==="")throw'Missing the required parameter "capacityPlanId" when calling postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocations","POST",{businessUnitId:e,capacityPlanId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistoryQuery(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistoryQuery';if(n==null||n==="")throw'Missing the required parameter "capacityPlanId" when calling postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistoryQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistoryQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocationshistory/query","POST",{businessUnitId:e,capacityPlanId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecastForceregenerate(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecastForceregenerate';if(n==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecastForceregenerate';if(i==null||i==="")throw'Missing the required parameter "forecastId" when calling postWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecastForceregenerate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplanning/longtermrequirements/automaticbestmethod/weeks/{weekDateId}/forecasts/{forecastId}/forceregenerate","POST",{businessUnitId:e,weekDateId:n,forecastId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitCapacityplans(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplans';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitCapacityplans';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitCapacityplansBulkRemove(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplansBulkRemove';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitCapacityplansBulkRemove';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/bulk/remove","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitIntraday(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitIntraday';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitIntraday';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/intraday","POST",{businessUnitId:e},{forceAsync:i.forceAsync},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitPlanninggroups(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitPlanninggroups';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitPlanninggroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitServicegoaltemplates(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/evaluate/jobs","POST",{businessUnitId:e},{forceAsync:i.forceAsync,forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/query/jobs","POST",{businessUnitId:e},{forceAsync:i.forceAsync,forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/state/bulk/jobs","POST",{businessUnitId:e},{forceAsync:i.forceAsync,forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/unmatched/search/jobs","POST",{businessUnitId:e},{forceAsync:i.forceAsync,forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/weeks/summary/jobs","POST",{businessUnitId:e},{forceAsync:i.forceAsync},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitStaffinggroups(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroups';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitStaffinggroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitStaffinggroupsPlanninggroupsQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroupsPlanninggroupsQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitStaffinggroupsPlanninggroupsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/planninggroups/query","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitStaffinggroupsQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/query","POST",{businessUnitId:e},{forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimits(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimits';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimits';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/values/query","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitTimeoffplans(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeoffplans';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeoffplans';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitUnavailabletimesSchedulesQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitUnavailabletimesSchedulesQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitUnavailabletimesSchedulesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/unavailabletimes/schedules/query","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitUnavailabletimesSettingsQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitUnavailabletimesSettingsQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitUnavailabletimesSettingsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/unavailabletimes/settings/query","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';if(n==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/agentschedules/query","POST",{businessUnitId:e,weekId:n,scheduleId:i},{forceAsync:r.forceAsync,forceDownloadService:r.forceDownloadService},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekScheduleCopy(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';if(n==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/copy","POST",{businessUnitId:e,weekId:n,scheduleId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';if(n==null||n==="")throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations","POST",{businessUnitId:e,weekId:n,scheduleId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';if(n==null||n==="")throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations/uploadurl","POST",{businessUnitId:e,weekId:n,scheduleId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekScheduleReschedule(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';if(n==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/reschedule","POST",{businessUnitId:e,weekId:n,scheduleId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekScheduleUpdate(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';if(n==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update","POST",{businessUnitId:e,weekId:n,scheduleId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';if(n==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';if(i==null||i==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update/uploadurl","POST",{businessUnitId:e,weekId:n,scheduleId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekSchedules(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedules';if(n==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedules';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedules';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules","POST",{businessUnitId:e,weekId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWeekSchedulesGenerate(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesGenerate';if(n==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesGenerate';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesGenerate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/generate","POST",{businessUnitId:e,weekId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWeekSchedulesImport(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';if(n==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import","POST",{businessUnitId:e,weekId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';if(n==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import/uploadurl","POST",{businessUnitId:e,weekId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWeekShorttermforecastCopy(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';if(n==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';if(i==null||i==="")throw'Missing the required parameter "forecastId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/copy","POST",{businessUnitId:e,weekDateId:n,forecastId:i},{forceAsync:r.forceAsync},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekShorttermforecastsGenerate(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsGenerate';if(n==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsGenerate';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsGenerate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/generate","POST",{businessUnitId:e,weekDateId:n},{forceAsync:a.forceAsync},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWeekShorttermforecastsImport(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';if(n==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import","POST",{businessUnitId:e,weekDateId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';if(n==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import/uploadurl","POST",{businessUnitId:e,weekDateId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWorkplanbidCopy(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/copy","POST",{businessUnitId:e,bidId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWorkplanbidGroups(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups","POST",{businessUnitId:e,bidId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWorkplanbids(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbids';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbids';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunits(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunits';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits","POST",{},{includeSchedulingDefaultMessageSeverities:n.includeSchedulingDefaultMessageSeverities},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementCalendarUrlIcs(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/calendar/url/ics","POST",{},{language:e.language},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postWorkforcemanagementHistoricaldataBulkRemoveJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementHistoricaldataBulkRemoveJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementHistoricaldataValidate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementHistoricaldataValidate';return this.apiClient.callApi("/api/v2/workforcemanagement/historicaldata/validate","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementIntegrationsHriTimeofftypesJobs(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "hrisIntegrationId" when calling postWorkforcemanagementIntegrationsHriTimeofftypesJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/integrations/hris/{hrisIntegrationId}/timeofftypes/jobs","POST",{hrisIntegrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitAgentsWorkplansQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/query","POST",{managementUnitId:e},{forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitAgentschedulesSearch(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentschedulesSearch';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitAgentschedulesSearch';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/agentschedules/search","POST",{managementUnitId:e},{forceAsync:i.forceAsync,forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitHistoricaladherencequery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitHistoricaladherencequery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitHistoricaladherencequery';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/historicaladherencequery","POST",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitMove(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitMove';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitMove';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/move","POST",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitSchedulesSearch(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitSchedulesSearch';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitSchedulesSearch';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/schedules/search","POST",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitShrinkageJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitShrinkageJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitShrinkageJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/shrinkage/jobs","POST",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitTimeofflimits(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimits';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeofflimits';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits","POST",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitTimeofflimitsValuesQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/values/query","POST",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitTimeoffplans(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffplans';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffplans';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans","POST",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitTimeoffrequests(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequests';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequests';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests","POST",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/integrationstatus/query","POST",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitTimeoffrequestsQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/query","POST",{managementUnitId:e},{forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/waitlistpositions/query","POST",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitUserTimeoffbalanceJobs(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';if(n==null||n==="")throw'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffbalance/jobs","POST",{managementUnitId:e,userId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';if(n==null||n==="")throw'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';if(i==null||i==="")throw'Missing the required parameter "timeOffRequestId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}/timeoffbalance/jobs","POST",{managementUnitId:e,userId:n,timeOffRequestId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';if(n==null||n==="")throw'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/estimate","POST",{managementUnitId:e,userId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWeekShifttradeMatch(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';if(n==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';if(i==null||i==="")throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades/{tradeId}/match","POST",{managementUnitId:e,weekDateId:n,tradeId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementManagementunitWeekShifttrades(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttrades';if(n==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementManagementunitWeekShifttrades';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWeekShifttrades';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades","POST",{managementUnitId:e,weekDateId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWeekShifttradesSearch(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradesSearch';if(n==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementManagementunitWeekShifttradesSearch';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWeekShifttradesSearch';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades/search","POST",{managementUnitId:e,weekDateId:n},{forceDownloadService:a.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWeekShifttradesStateBulk(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradesStateBulk';if(n==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementManagementunitWeekShifttradesStateBulk';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWeekShifttradesStateBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades/state/bulk","POST",{managementUnitId:e,weekDateId:n},{forceAsync:a.forceAsync},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWorkplanCopy(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanCopy';if(n==null||n==="")throw'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanCopy';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}/copy","POST",{managementUnitId:e,workPlanId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWorkplanValidate(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanValidate';if(n==null||n==="")throw'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanValidate';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanValidate';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}/validate","POST",{managementUnitId:e,workPlanId:n},{expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWorkplanrotationCopy(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';if(n==null||n==="")throw'Missing the required parameter "workPlanRotationId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}/copy","POST",{managementUnitId:e,workPlanRotationId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWorkplanrotations(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotations';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanrotations';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations","POST",{managementUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitWorkplans(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplans';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplans';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans","POST",{managementUnitId:e},{validationMode:i.validationMode},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunits(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunits';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementNotificationsUpdate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementNotificationsUpdate';return this.apiClient.callApi("/api/v2/workforcemanagement/notifications/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementSchedules(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/schedules","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postWorkforcemanagementShifttradingTradeJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementShifttradingTradeJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradeJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/jobs","POST",{tradeId:e},{forceAsync:i.forceAsync},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementShifttradingTradeMatchJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementShifttradingTradeMatchJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradeMatchJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/match/jobs","POST",{tradeId:e},{forceAsync:i.forceAsync},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementShifttradingTradeStateJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementShifttradingTradeStateJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradeStateJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/state/jobs","POST",{tradeId:e},{forceAsync:i.forceAsync},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementShifttradingTradesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradesJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/jobs","POST",{},{forceAsync:n.forceAsync},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementShifttradingTradesMineQueryJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradesMineQueryJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/mine/query/jobs","POST",{},{forceAsync:n.forceAsync,forceDownloadService:n.forceDownloadService},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementTeamAdherenceHistorical(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamAdherenceHistorical';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTeamAdherenceHistorical';return this.apiClient.callApi("/api/v2/workforcemanagement/teams/{teamId}/adherence/historical","POST",{teamId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementTeamShrinkageJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamShrinkageJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTeamShrinkageJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/teams/{teamId}/shrinkage/jobs","POST",{teamId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementTimeoffbalanceJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffbalanceJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffbalance/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementTimeofflimitsAvailableQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeofflimitsAvailableQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/timeofflimits/available/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementTimeoffrequests(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequests';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementTimeoffrequestsEstimate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsEstimate';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests/estimate","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests/integrationstatus/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementUnavailabletimesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementUnavailabletimesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/unavailabletimes/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementUnavailabletimesValidationJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementUnavailabletimesValidationJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/unavailabletimes/validation/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putWorkforcemanagementAgentIntegrationsHris(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling putWorkforcemanagementAgentIntegrationsHris';if(n==null)throw'Missing the required parameter "body" when calling putWorkforcemanagementAgentIntegrationsHris';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/integrations/hris","PUT",{agentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putWorkforcemanagementBusinessunitTimeofflimitValues(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';if(i==null)throw'Missing the required parameter "body" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/values","PUT",{businessUnitId:e,timeOffLimitId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putWorkforcemanagementManagementunitTimeofflimitValues(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';if(i==null)throw'Missing the required parameter "body" when calling putWorkforcemanagementManagementunitTimeofflimitValues';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}/values","PUT",{managementUnitId:e,timeOffLimitId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}},qy=class{constructor(){this.ApiClient=new k,this.ApiClientClass=k,this.AIStudioApi=eb,this.AgentAssistantsApi=nb,this.AgentCopilotApi=ib,this.AgentUIApi=tb,this.AlertingApi=ab,this.AnalyticsApi=rb,this.ArchitectApi=sb,this.AssistantCopilotVariationsApi=ob,this.AuditApi=lb,this.AuthorizationApi=ub,this.BackgroundAssistantApi=cb,this.BillingApi=pb,this.BusinessRulesApi=db,this.CarrierServicesApi=hb,this.CaseManagementApi=gb,this.ChatApi=mb,this.CoachingApi=fb,this.ContentManagementApi=wb,this.ConversationsApi=vb,this.DataExtensionsApi=Cb,this.DataPrivacyApi=Ab,this.DownloadsApi=bb,this.EmailsApi=yb,this.EmployeeEngagementApi=Pb,this.EventsApi=jb,this.ExternalContactsApi=Sb,this.FaxApi=Ob,this.FlowsApi=xb,this.GamificationApi=Tb,this.GeneralDataProtectionRegulationApi=Mb,this.GeolocationApi=Eb,this.GreetingsApi=kb,this.GroupsApi=qb,this.IdentityProviderApi=_b,this.InfrastructureAsCodeApi=Hb,this.IntegrationsApi=Ib,this.IntentsApi=Rb,this.JourneyApi=zb,this.KnowledgeApi=Db,this.LanguageUnderstandingApi=Gb,this.LanguagesApi=$b,this.LearningApi=Nb,this.LicenseApi=Ub,this.LocationsApi=Lb,this.LogCaptureApi=Wb,this.MessagingApi=Bb,this.MobileDevicesApi=Fb,this.NotificationsApi=Vb,this.OAuthApi=Jb,this.ObjectsApi=Zb,this.OperationalEventsApi=Kb,this.OrganizationApi=Qb,this.OrganizationAuthorizationApi=Yb,this.OutboundApi=Xb,this.PresenceApi=ey,this.ProcessAutomationApi=ny,this.QualityApi=iy,this.RecordingApi=ty,this.ResponseManagementApi=ay,this.RoutingApi=ry,this.SCIMApi=sy,this.ScriptsApi=oy,this.SearchApi=ly,this.SettingsApi=uy,this.SocialMediaApi=cy,this.SpeechTextAnalyticsApi=py,this.StationsApi=dy,this.SuggestApi=hy,this.TaskManagementApi=gy,this.TeamsApi=my,this.TelephonyApi=fy,this.TelephonyProvidersEdgeApi=wy,this.TextbotsApi=vy,this.TokensApi=Cy,this.UploadsApi=Ay,this.UsageApi=by,this.UserRecordingsApi=yy,this.UsersApi=Py,this.UsersRulesApi=jy,this.UtilitiesApi=Sy,this.VoicemailApi=Oy,this.WebChatApi=xy,this.WebDeploymentsApi=Ty,this.WebMessagingApi=My,this.WidgetsApi=Ey,this.WorkforceManagementApi=ky,this.PureCloudRegionHosts=Ree,this.AbstractHttpClient=Vl,this.DefaultHttpClient=qd,this.HttpRequestOptions=ra}},Dee=new qy;nz.exports=Dee});var We={};Id(We,{BRAND:()=>tD,DIRTY:()=>la,EMPTY_PATH:()=>Iz,INVALID:()=>K,NEVER:()=>$D,OK:()=>_n,ParseStatus:()=>jn,Schema:()=>oe,ZodAny:()=>Tt,ZodArray:()=>pt,ZodBigInt:()=>ca,ZodBoolean:()=>pa,ZodBranded:()=>Hs,ZodCatch:()=>ya,ZodDate:()=>da,ZodDefault:()=>ba,ZodDiscriminatedUnion:()=>Xl,ZodEffects:()=>gi,ZodEnum:()=>Ca,ZodError:()=>Fn,ZodFirstPartyTypeKind:()=>E,ZodFunction:()=>nu,ZodIntersection:()=>fa,ZodIssueCode:()=>M,ZodLazy:()=>wa,ZodLiteral:()=>va,ZodMap:()=>Ar,ZodNaN:()=>yr,ZodNativeEnum:()=>Aa,ZodNever:()=>xi,ZodNull:()=>ga,ZodNullable:()=>Ui,ZodNumber:()=>ua,ZodObject:()=>Vn,ZodOptional:()=>di,ZodParsedType:()=>D,ZodPipeline:()=>Is,ZodPromise:()=>Mt,ZodReadonly:()=>Pa,ZodRecord:()=>eu,ZodSchema:()=>oe,ZodSet:()=>br,ZodString:()=>xt,ZodSymbol:()=>vr,ZodTransformer:()=>gi,ZodTuple:()=>Ni,ZodType:()=>oe,ZodUndefined:()=>ha,ZodUnion:()=>ma,ZodUnknown:()=>ct,ZodVoid:()=>Cr,addIssueToContext:()=>H,any:()=>dD,array:()=>fD,bigint:()=>oD,boolean:()=>Yy,coerce:()=>GD,custom:()=>Zy,date:()=>lD,datetimeRegex:()=>Vy,defaultErrorMap:()=>lt,discriminatedUnion:()=>CD,effect:()=>kD,enum:()=>TD,function:()=>SD,getErrorMap:()=>mr,getParsedType:()=>$i,instanceof:()=>rD,intersection:()=>AD,isAborted:()=>Ql,isAsync:()=>fr,isDirty:()=>Yl,isValid:()=>Ot,late:()=>aD,lazy:()=>OD,literal:()=>xD,makeIssue:()=>_s,map:()=>PD,nan:()=>sD,nativeEnum:()=>MD,never:()=>gD,null:()=>pD,nullable:()=>_D,number:()=>Qy,object:()=>Gd,objectUtil:()=>Rd,oboolean:()=>DD,onumber:()=>zD,optional:()=>qD,ostring:()=>RD,pipeline:()=>ID,preprocess:()=>HD,promise:()=>ED,quotelessJson:()=>qz,record:()=>yD,set:()=>jD,setErrorMap:()=>Hz,strictObject:()=>wD,string:()=>Ky,symbol:()=>uD,transformer:()=>kD,tuple:()=>bD,undefined:()=>cD,union:()=>vD,unknown:()=>hD,util:()=>ge,void:()=>mD});var ge;(function(t){t.assertEqual=a=>{};function e(a){}t.assertIs=e;function n(a){throw new Error}t.assertNever=n,t.arrayToEnum=a=>{let r={};for(let s of a)r[s]=s;return r},t.getValidEnumValues=a=>{let r=t.objectKeys(a).filter(o=>typeof a[a[o]]!="number"),s={};for(let o of r)s[o]=a[o];return t.objectValues(s)},t.objectValues=a=>t.objectKeys(a).map(function(r){return a[r]}),t.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{let r=[];for(let s in a)Object.prototype.hasOwnProperty.call(a,s)&&r.push(s);return r},t.find=(a,r)=>{for(let s of a)if(r(s))return s},t.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function i(a,r=" | "){return a.map(s=>typeof s=="string"?`'${s}'`:s).join(r)}t.joinValues=i,t.jsonStringifyReplacer=(a,r)=>typeof r=="bigint"?r.toString():r})(ge||(ge={}));var Rd;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(Rd||(Rd={}));var D=ge.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),$i=t=>{switch(typeof t){case"undefined":return D.undefined;case"string":return D.string;case"number":return Number.isNaN(t)?D.nan:D.number;case"boolean":return D.boolean;case"function":return D.function;case"bigint":return D.bigint;case"symbol":return D.symbol;case"object":return Array.isArray(t)?D.array:t===null?D.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?D.promise:typeof Map<"u"&&t instanceof Map?D.map:typeof Set<"u"&&t instanceof Set?D.set:typeof Date<"u"&&t instanceof Date?D.date:D.object;default:return D.unknown}};var M=ge.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),qz=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),Fn=class t extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=i=>{this.issues=[...this.issues,i]},this.addIssues=(i=[])=>{this.issues=[...this.issues,...i]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){let n=e||function(r){return r.message},i={_errors:[]},a=r=>{for(let s of r.issues)if(s.code==="invalid_union")s.unionErrors.map(a);else if(s.code==="invalid_return_type")a(s.returnTypeError);else if(s.code==="invalid_arguments")a(s.argumentsError);else if(s.path.length===0)i._errors.push(n(s));else{let o=i,l=0;for(;ln.message){let n=Object.create(null),i=[];for(let a of this.issues)if(a.path.length>0){let r=a.path[0];n[r]=n[r]||[],n[r].push(e(a))}else i.push(e(a));return{formErrors:i,fieldErrors:n}}get formErrors(){return this.flatten()}};Fn.create=t=>new Fn(t);var _z=(t,e)=>{let n;switch(t.code){case M.invalid_type:t.received===D.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case M.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,ge.jsonStringifyReplacer)}`;break;case M.unrecognized_keys:n=`Unrecognized key(s) in object: ${ge.joinValues(t.keys,", ")}`;break;case M.invalid_union:n="Invalid input";break;case M.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${ge.joinValues(t.options)}`;break;case M.invalid_enum_value:n=`Invalid enum value. Expected ${ge.joinValues(t.options)}, received '${t.received}'`;break;case M.invalid_arguments:n="Invalid function arguments";break;case M.invalid_return_type:n="Invalid function return type";break;case M.invalid_date:n="Invalid date";break;case M.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:ge.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case M.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case M.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case M.custom:n="Invalid input";break;case M.invalid_intersection_types:n="Intersection results could not be merged";break;case M.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case M.not_finite:n="Number must be finite";break;default:n=e.defaultError,ge.assertNever(t)}return{message:n}},lt=_z;var Uy=lt;function Hz(t){Uy=t}function mr(){return Uy}var _s=t=>{let{data:e,path:n,errorMaps:i,issueData:a}=t,r=[...n,...a.path||[]],s={...a,path:r};if(a.message!==void 0)return{...a,path:r,message:a.message};let o="",l=i.filter(u=>!!u).slice().reverse();for(let u of l)o=u(s,{data:e,defaultError:o}).message;return{...a,path:r,message:o}},Iz=[];function H(t,e){let n=mr(),i=_s({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===lt?void 0:lt].filter(a=>!!a)});t.common.issues.push(i)}var jn=class t{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){let i=[];for(let a of n){if(a.status==="aborted")return K;a.status==="dirty"&&e.dirty(),i.push(a.value)}return{status:e.value,value:i}}static async mergeObjectAsync(e,n){let i=[];for(let a of n){let r=await a.key,s=await a.value;i.push({key:r,value:s})}return t.mergeObjectSync(e,i)}static mergeObjectSync(e,n){let i={};for(let a of n){let{key:r,value:s}=a;if(r.status==="aborted"||s.status==="aborted")return K;r.status==="dirty"&&e.dirty(),s.status==="dirty"&&e.dirty(),r.value!=="__proto__"&&(typeof s.value<"u"||a.alwaysSet)&&(i[r.value]=s.value)}return{status:e.value,value:i}}},K=Object.freeze({status:"aborted"}),la=t=>({status:"dirty",value:t}),_n=t=>({status:"valid",value:t}),Ql=t=>t.status==="aborted",Yl=t=>t.status==="dirty",Ot=t=>t.status==="valid",fr=t=>typeof Promise<"u"&&t instanceof Promise;var U;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(U||(U={}));var hi=class{constructor(e,n,i,a){this._cachedPath=[],this.parent=e,this.data=n,this._path=i,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Ly=(t,e)=>{if(Ot(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new Fn(t.common.issues);return this._error=n,this._error}}};function te(t){if(!t)return{};let{errorMap:e,invalid_type_error:n,required_error:i,description:a}=t;if(e&&(n||i))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:a}:{errorMap:(s,o)=>{let{message:l}=t;return s.code==="invalid_enum_value"?{message:l??o.defaultError}:typeof o.data>"u"?{message:l??i??o.defaultError}:s.code!=="invalid_type"?{message:o.defaultError}:{message:l??n??o.defaultError}},description:a}}var oe=class{get description(){return this._def.description}_getType(e){return $i(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:$i(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new jn,ctx:{common:e.parent.common,data:e.data,parsedType:$i(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(fr(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){let n=this._parse(e);return Promise.resolve(n)}parse(e,n){let i=this.safeParse(e,n);if(i.success)return i.data;throw i.error}safeParse(e,n){let i={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:$i(e)},a=this._parseSync({data:e,path:i.path,parent:i});return Ly(i,a)}"~validate"(e){let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:$i(e)};if(!this["~standard"].async)try{let i=this._parseSync({data:e,path:[],parent:n});return Ot(i)?{value:i.value}:{issues:n.common.issues}}catch(i){i?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then(i=>Ot(i)?{value:i.value}:{issues:n.common.issues})}async parseAsync(e,n){let i=await this.safeParseAsync(e,n);if(i.success)return i.data;throw i.error}async safeParseAsync(e,n){let i={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:$i(e)},a=this._parse({data:e,path:i.path,parent:i}),r=await(fr(a)?a:Promise.resolve(a));return Ly(i,r)}refine(e,n){let i=a=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(a):n;return this._refinement((a,r)=>{let s=e(a),o=()=>r.addIssue({code:M.custom,...i(a)});return typeof Promise<"u"&&s instanceof Promise?s.then(l=>l?!0:(o(),!1)):s?!0:(o(),!1)})}refinement(e,n){return this._refinement((i,a)=>e(i)?!0:(a.addIssue(typeof n=="function"?n(i,a):n),!1))}_refinement(e){return new gi({schema:this,typeName:E.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return di.create(this,this._def)}nullable(){return Ui.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return pt.create(this)}promise(){return Mt.create(this,this._def)}or(e){return ma.create([this,e],this._def)}and(e){return fa.create(this,e,this._def)}transform(e){return new gi({...te(this._def),schema:this,typeName:E.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new ba({...te(this._def),innerType:this,defaultValue:n,typeName:E.ZodDefault})}brand(){return new Hs({typeName:E.ZodBranded,type:this,...te(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new ya({...te(this._def),innerType:this,catchValue:n,typeName:E.ZodCatch})}describe(e){let n=this.constructor;return new n({...this._def,description:e})}pipe(e){return Is.create(this,e)}readonly(){return Pa.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},Rz=/^c[^\s-]{8,}$/i,zz=/^[0-9a-z]+$/,Dz=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Gz=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,$z=/^[a-z0-9_-]{21}$/i,Nz=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Uz=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Lz=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Wz="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",zd,Bz=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Fz=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Vz=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Jz=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Zz=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Kz=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,By="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Qz=new RegExp(`^${By}$`);function Fy(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);let n=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`}function Yz(t){return new RegExp(`^${Fy(t)}$`)}function Vy(t){let e=`${By}T${Fy(t)}`,n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function Xz(t,e){return!!((e==="v4"||!e)&&Bz.test(t)||(e==="v6"||!e)&&Vz.test(t))}function eD(t,e){if(!Nz.test(t))return!1;try{let[n]=t.split(".");if(!n)return!1;let i=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(i));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||e&&a.alg!==e)}catch{return!1}}function nD(t,e){return!!((e==="v4"||!e)&&Fz.test(t)||(e==="v6"||!e)&&Jz.test(t))}var xt=class t extends oe{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==D.string){let r=this._getOrReturnCtx(e);return H(r,{code:M.invalid_type,expected:D.string,received:r.parsedType}),K}let i=new jn,a;for(let r of this._def.checks)if(r.kind==="min")e.data.lengthr.value&&(a=this._getOrReturnCtx(e,a),H(a,{code:M.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),i.dirty());else if(r.kind==="length"){let s=e.data.length>r.value,o=e.data.lengthe.test(a),{validation:n,code:M.invalid_string,...U.errToObj(i)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...U.errToObj(e)})}url(e){return this._addCheck({kind:"url",...U.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...U.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...U.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...U.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...U.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...U.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...U.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...U.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...U.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...U.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...U.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...U.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...U.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...U.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...U.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...U.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...U.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...U.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...U.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...U.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...U.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...U.errToObj(n)})}nonempty(e){return this.min(1,U.errToObj(e))}trim(){return new t({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.valuenew xt({checks:[],typeName:E.ZodString,coerce:t?.coerce??!1,...te(t)});function iD(t,e){let n=(t.toString().split(".")[1]||"").length,i=(e.toString().split(".")[1]||"").length,a=n>i?n:i,r=Number.parseInt(t.toFixed(a).replace(".","")),s=Number.parseInt(e.toFixed(a).replace(".",""));return r%s/10**a}var ua=class t extends oe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==D.number){let r=this._getOrReturnCtx(e);return H(r,{code:M.invalid_type,expected:D.number,received:r.parsedType}),K}let i,a=new jn;for(let r of this._def.checks)r.kind==="int"?ge.isInteger(e.data)||(i=this._getOrReturnCtx(e,i),H(i,{code:M.invalid_type,expected:"integer",received:"float",message:r.message}),a.dirty()):r.kind==="min"?(r.inclusive?e.datar.value:e.data>=r.value)&&(i=this._getOrReturnCtx(e,i),H(i,{code:M.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),a.dirty()):r.kind==="multipleOf"?iD(e.data,r.value)!==0&&(i=this._getOrReturnCtx(e,i),H(i,{code:M.not_multiple_of,multipleOf:r.value,message:r.message}),a.dirty()):r.kind==="finite"?Number.isFinite(e.data)||(i=this._getOrReturnCtx(e,i),H(i,{code:M.not_finite,message:r.message}),a.dirty()):ge.assertNever(r);return{status:a.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,U.toString(n))}gt(e,n){return this.setLimit("min",e,!1,U.toString(n))}lte(e,n){return this.setLimit("max",e,!0,U.toString(n))}lt(e,n){return this.setLimit("max",e,!1,U.toString(n))}setLimit(e,n,i,a){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:i,message:U.toString(a)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:U.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:U.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:U.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:U.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:U.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:U.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:U.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:U.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:U.toString(e)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.valuee.kind==="int"||e.kind==="multipleOf"&&ge.isInteger(e.value))}get isFinite(){let e=null,n=null;for(let i of this._def.checks){if(i.kind==="finite"||i.kind==="int"||i.kind==="multipleOf")return!0;i.kind==="min"?(n===null||i.value>n)&&(n=i.value):i.kind==="max"&&(e===null||i.valuenew ua({checks:[],typeName:E.ZodNumber,coerce:t?.coerce||!1,...te(t)});var ca=class t extends oe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==D.bigint)return this._getInvalidInput(e);let i,a=new jn;for(let r of this._def.checks)r.kind==="min"?(r.inclusive?e.datar.value:e.data>=r.value)&&(i=this._getOrReturnCtx(e,i),H(i,{code:M.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),a.dirty()):r.kind==="multipleOf"?e.data%r.value!==BigInt(0)&&(i=this._getOrReturnCtx(e,i),H(i,{code:M.not_multiple_of,multipleOf:r.value,message:r.message}),a.dirty()):ge.assertNever(r);return{status:a.value,value:e.data}}_getInvalidInput(e){let n=this._getOrReturnCtx(e);return H(n,{code:M.invalid_type,expected:D.bigint,received:n.parsedType}),K}gte(e,n){return this.setLimit("min",e,!0,U.toString(n))}gt(e,n){return this.setLimit("min",e,!1,U.toString(n))}lte(e,n){return this.setLimit("max",e,!0,U.toString(n))}lt(e,n){return this.setLimit("max",e,!1,U.toString(n))}setLimit(e,n,i,a){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:i,message:U.toString(a)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:U.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:U.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:U.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:U.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:U.toString(n)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.valuenew ca({checks:[],typeName:E.ZodBigInt,coerce:t?.coerce??!1,...te(t)});var pa=class extends oe{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==D.boolean){let i=this._getOrReturnCtx(e);return H(i,{code:M.invalid_type,expected:D.boolean,received:i.parsedType}),K}return _n(e.data)}};pa.create=t=>new pa({typeName:E.ZodBoolean,coerce:t?.coerce||!1,...te(t)});var da=class t extends oe{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==D.date){let r=this._getOrReturnCtx(e);return H(r,{code:M.invalid_type,expected:D.date,received:r.parsedType}),K}if(Number.isNaN(e.data.getTime())){let r=this._getOrReturnCtx(e);return H(r,{code:M.invalid_date}),K}let i=new jn,a;for(let r of this._def.checks)r.kind==="min"?e.data.getTime()r.value&&(a=this._getOrReturnCtx(e,a),H(a,{code:M.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),i.dirty()):ge.assertNever(r);return{status:i.value,value:new Date(e.data.getTime())}}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:U.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:U.toString(n)})}get minDate(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.valuenew da({checks:[],coerce:t?.coerce||!1,typeName:E.ZodDate,...te(t)});var vr=class extends oe{_parse(e){if(this._getType(e)!==D.symbol){let i=this._getOrReturnCtx(e);return H(i,{code:M.invalid_type,expected:D.symbol,received:i.parsedType}),K}return _n(e.data)}};vr.create=t=>new vr({typeName:E.ZodSymbol,...te(t)});var ha=class extends oe{_parse(e){if(this._getType(e)!==D.undefined){let i=this._getOrReturnCtx(e);return H(i,{code:M.invalid_type,expected:D.undefined,received:i.parsedType}),K}return _n(e.data)}};ha.create=t=>new ha({typeName:E.ZodUndefined,...te(t)});var ga=class extends oe{_parse(e){if(this._getType(e)!==D.null){let i=this._getOrReturnCtx(e);return H(i,{code:M.invalid_type,expected:D.null,received:i.parsedType}),K}return _n(e.data)}};ga.create=t=>new ga({typeName:E.ZodNull,...te(t)});var Tt=class extends oe{constructor(){super(...arguments),this._any=!0}_parse(e){return _n(e.data)}};Tt.create=t=>new Tt({typeName:E.ZodAny,...te(t)});var ct=class extends oe{constructor(){super(...arguments),this._unknown=!0}_parse(e){return _n(e.data)}};ct.create=t=>new ct({typeName:E.ZodUnknown,...te(t)});var xi=class extends oe{_parse(e){let n=this._getOrReturnCtx(e);return H(n,{code:M.invalid_type,expected:D.never,received:n.parsedType}),K}};xi.create=t=>new xi({typeName:E.ZodNever,...te(t)});var Cr=class extends oe{_parse(e){if(this._getType(e)!==D.undefined){let i=this._getOrReturnCtx(e);return H(i,{code:M.invalid_type,expected:D.void,received:i.parsedType}),K}return _n(e.data)}};Cr.create=t=>new Cr({typeName:E.ZodVoid,...te(t)});var pt=class t extends oe{_parse(e){let{ctx:n,status:i}=this._processInputParams(e),a=this._def;if(n.parsedType!==D.array)return H(n,{code:M.invalid_type,expected:D.array,received:n.parsedType}),K;if(a.exactLength!==null){let s=n.data.length>a.exactLength.value,o=n.data.lengtha.maxLength.value&&(H(n,{code:M.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),i.dirty()),n.common.async)return Promise.all([...n.data].map((s,o)=>a.type._parseAsync(new hi(n,s,n.path,o)))).then(s=>jn.mergeArray(i,s));let r=[...n.data].map((s,o)=>a.type._parseSync(new hi(n,s,n.path,o)));return jn.mergeArray(i,r)}get element(){return this._def.type}min(e,n){return new t({...this._def,minLength:{value:e,message:U.toString(n)}})}max(e,n){return new t({...this._def,maxLength:{value:e,message:U.toString(n)}})}length(e,n){return new t({...this._def,exactLength:{value:e,message:U.toString(n)}})}nonempty(e){return this.min(1,e)}};pt.create=(t,e)=>new pt({type:t,minLength:null,maxLength:null,exactLength:null,typeName:E.ZodArray,...te(e)});function wr(t){if(t instanceof Vn){let e={};for(let n in t.shape){let i=t.shape[n];e[n]=di.create(wr(i))}return new Vn({...t._def,shape:()=>e})}else return t instanceof pt?new pt({...t._def,type:wr(t.element)}):t instanceof di?di.create(wr(t.unwrap())):t instanceof Ui?Ui.create(wr(t.unwrap())):t instanceof Ni?Ni.create(t.items.map(e=>wr(e))):t}var Vn=class t extends oe{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),n=ge.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==D.object){let u=this._getOrReturnCtx(e);return H(u,{code:M.invalid_type,expected:D.object,received:u.parsedType}),K}let{status:i,ctx:a}=this._processInputParams(e),{shape:r,keys:s}=this._getCached(),o=[];if(!(this._def.catchall instanceof xi&&this._def.unknownKeys==="strip"))for(let u in a.data)s.includes(u)||o.push(u);let l=[];for(let u of s){let c=r[u],p=a.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new hi(a,p,a.path,u)),alwaysSet:u in a.data})}if(this._def.catchall instanceof xi){let u=this._def.unknownKeys;if(u==="passthrough")for(let c of o)l.push({key:{status:"valid",value:c},value:{status:"valid",value:a.data[c]}});else if(u==="strict")o.length>0&&(H(a,{code:M.unrecognized_keys,keys:o}),i.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let u=this._def.catchall;for(let c of o){let p=a.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new hi(a,p,a.path,c)),alwaysSet:c in a.data})}}return a.common.async?Promise.resolve().then(async()=>{let u=[];for(let c of l){let p=await c.key,h=await c.value;u.push({key:p,value:h,alwaysSet:c.alwaysSet})}return u}).then(u=>jn.mergeObjectSync(i,u)):jn.mergeObjectSync(i,l)}get shape(){return this._def.shape()}strict(e){return U.errToObj,new t({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,i)=>{let a=this._def.errorMap?.(n,i).message??i.defaultError;return n.code==="unrecognized_keys"?{message:U.errToObj(e).message??a}:{message:a}}}:{}})}strip(){return new t({...this._def,unknownKeys:"strip"})}passthrough(){return new t({...this._def,unknownKeys:"passthrough"})}extend(e){return new t({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new t({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:E.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new t({...this._def,catchall:e})}pick(e){let n={};for(let i of ge.objectKeys(e))e[i]&&this.shape[i]&&(n[i]=this.shape[i]);return new t({...this._def,shape:()=>n})}omit(e){let n={};for(let i of ge.objectKeys(this.shape))e[i]||(n[i]=this.shape[i]);return new t({...this._def,shape:()=>n})}deepPartial(){return wr(this)}partial(e){let n={};for(let i of ge.objectKeys(this.shape)){let a=this.shape[i];e&&!e[i]?n[i]=a:n[i]=a.optional()}return new t({...this._def,shape:()=>n})}required(e){let n={};for(let i of ge.objectKeys(this.shape))if(e&&!e[i])n[i]=this.shape[i];else{let r=this.shape[i];for(;r instanceof di;)r=r._def.innerType;n[i]=r}return new t({...this._def,shape:()=>n})}keyof(){return Jy(ge.objectKeys(this.shape))}};Vn.create=(t,e)=>new Vn({shape:()=>t,unknownKeys:"strip",catchall:xi.create(),typeName:E.ZodObject,...te(e)});Vn.strictCreate=(t,e)=>new Vn({shape:()=>t,unknownKeys:"strict",catchall:xi.create(),typeName:E.ZodObject,...te(e)});Vn.lazycreate=(t,e)=>new Vn({shape:t,unknownKeys:"strip",catchall:xi.create(),typeName:E.ZodObject,...te(e)});var ma=class extends oe{_parse(e){let{ctx:n}=this._processInputParams(e),i=this._def.options;function a(r){for(let o of r)if(o.result.status==="valid")return o.result;for(let o of r)if(o.result.status==="dirty")return n.common.issues.push(...o.ctx.common.issues),o.result;let s=r.map(o=>new Fn(o.ctx.common.issues));return H(n,{code:M.invalid_union,unionErrors:s}),K}if(n.common.async)return Promise.all(i.map(async r=>{let s={...n,common:{...n.common,issues:[]},parent:null};return{result:await r._parseAsync({data:n.data,path:n.path,parent:s}),ctx:s}})).then(a);{let r,s=[];for(let l of i){let u={...n,common:{...n.common,issues:[]},parent:null},c=l._parseSync({data:n.data,path:n.path,parent:u});if(c.status==="valid")return c;c.status==="dirty"&&!r&&(r={result:c,ctx:u}),u.common.issues.length&&s.push(u.common.issues)}if(r)return n.common.issues.push(...r.ctx.common.issues),r.result;let o=s.map(l=>new Fn(l));return H(n,{code:M.invalid_union,unionErrors:o}),K}}get options(){return this._def.options}};ma.create=(t,e)=>new ma({options:t,typeName:E.ZodUnion,...te(e)});var ut=t=>t instanceof wa?ut(t.schema):t instanceof gi?ut(t.innerType()):t instanceof va?[t.value]:t instanceof Ca?t.options:t instanceof Aa?ge.objectValues(t.enum):t instanceof ba?ut(t._def.innerType):t instanceof ha?[void 0]:t instanceof ga?[null]:t instanceof di?[void 0,...ut(t.unwrap())]:t instanceof Ui?[null,...ut(t.unwrap())]:t instanceof Hs||t instanceof Pa?ut(t.unwrap()):t instanceof ya?ut(t._def.innerType):[],Xl=class t extends oe{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==D.object)return H(n,{code:M.invalid_type,expected:D.object,received:n.parsedType}),K;let i=this.discriminator,a=n.data[i],r=this.optionsMap.get(a);return r?n.common.async?r._parseAsync({data:n.data,path:n.path,parent:n}):r._parseSync({data:n.data,path:n.path,parent:n}):(H(n,{code:M.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[i]}),K)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,i){let a=new Map;for(let r of n){let s=ut(r.shape[e]);if(!s.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let o of s){if(a.has(o))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);a.set(o,r)}}return new t({typeName:E.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:a,...te(i)})}};function Dd(t,e){let n=$i(t),i=$i(e);if(t===e)return{valid:!0,data:t};if(n===D.object&&i===D.object){let a=ge.objectKeys(e),r=ge.objectKeys(t).filter(o=>a.indexOf(o)!==-1),s={...t,...e};for(let o of r){let l=Dd(t[o],e[o]);if(!l.valid)return{valid:!1};s[o]=l.data}return{valid:!0,data:s}}else if(n===D.array&&i===D.array){if(t.length!==e.length)return{valid:!1};let a=[];for(let r=0;r{if(Ql(r)||Ql(s))return K;let o=Dd(r.value,s.value);return o.valid?((Yl(r)||Yl(s))&&n.dirty(),{status:n.value,value:o.data}):(H(i,{code:M.invalid_intersection_types}),K)};return i.common.async?Promise.all([this._def.left._parseAsync({data:i.data,path:i.path,parent:i}),this._def.right._parseAsync({data:i.data,path:i.path,parent:i})]).then(([r,s])=>a(r,s)):a(this._def.left._parseSync({data:i.data,path:i.path,parent:i}),this._def.right._parseSync({data:i.data,path:i.path,parent:i}))}};fa.create=(t,e,n)=>new fa({left:t,right:e,typeName:E.ZodIntersection,...te(n)});var Ni=class t extends oe{_parse(e){let{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==D.array)return H(i,{code:M.invalid_type,expected:D.array,received:i.parsedType}),K;if(i.data.lengththis._def.items.length&&(H(i,{code:M.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let r=[...i.data].map((s,o)=>{let l=this._def.items[o]||this._def.rest;return l?l._parse(new hi(i,s,i.path,o)):null}).filter(s=>!!s);return i.common.async?Promise.all(r).then(s=>jn.mergeArray(n,s)):jn.mergeArray(n,r)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};Ni.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Ni({items:t,typeName:E.ZodTuple,rest:null,...te(e)})};var eu=class t extends oe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==D.object)return H(i,{code:M.invalid_type,expected:D.object,received:i.parsedType}),K;let a=[],r=this._def.keyType,s=this._def.valueType;for(let o in i.data)a.push({key:r._parse(new hi(i,o,i.path,o)),value:s._parse(new hi(i,i.data[o],i.path,o)),alwaysSet:o in i.data});return i.common.async?jn.mergeObjectAsync(n,a):jn.mergeObjectSync(n,a)}get element(){return this._def.valueType}static create(e,n,i){return n instanceof oe?new t({keyType:e,valueType:n,typeName:E.ZodRecord,...te(i)}):new t({keyType:xt.create(),valueType:e,typeName:E.ZodRecord,...te(n)})}},Ar=class extends oe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==D.map)return H(i,{code:M.invalid_type,expected:D.map,received:i.parsedType}),K;let a=this._def.keyType,r=this._def.valueType,s=[...i.data.entries()].map(([o,l],u)=>({key:a._parse(new hi(i,o,i.path,[u,"key"])),value:r._parse(new hi(i,l,i.path,[u,"value"]))}));if(i.common.async){let o=new Map;return Promise.resolve().then(async()=>{for(let l of s){let u=await l.key,c=await l.value;if(u.status==="aborted"||c.status==="aborted")return K;(u.status==="dirty"||c.status==="dirty")&&n.dirty(),o.set(u.value,c.value)}return{status:n.value,value:o}})}else{let o=new Map;for(let l of s){let u=l.key,c=l.value;if(u.status==="aborted"||c.status==="aborted")return K;(u.status==="dirty"||c.status==="dirty")&&n.dirty(),o.set(u.value,c.value)}return{status:n.value,value:o}}}};Ar.create=(t,e,n)=>new Ar({valueType:e,keyType:t,typeName:E.ZodMap,...te(n)});var br=class t extends oe{_parse(e){let{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==D.set)return H(i,{code:M.invalid_type,expected:D.set,received:i.parsedType}),K;let a=this._def;a.minSize!==null&&i.data.sizea.maxSize.value&&(H(i,{code:M.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());let r=this._def.valueType;function s(l){let u=new Set;for(let c of l){if(c.status==="aborted")return K;c.status==="dirty"&&n.dirty(),u.add(c.value)}return{status:n.value,value:u}}let o=[...i.data.values()].map((l,u)=>r._parse(new hi(i,l,i.path,u)));return i.common.async?Promise.all(o).then(l=>s(l)):s(o)}min(e,n){return new t({...this._def,minSize:{value:e,message:U.toString(n)}})}max(e,n){return new t({...this._def,maxSize:{value:e,message:U.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}};br.create=(t,e)=>new br({valueType:t,minSize:null,maxSize:null,typeName:E.ZodSet,...te(e)});var nu=class t extends oe{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==D.function)return H(n,{code:M.invalid_type,expected:D.function,received:n.parsedType}),K;function i(o,l){return _s({data:o,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,mr(),lt].filter(u=>!!u),issueData:{code:M.invalid_arguments,argumentsError:l}})}function a(o,l){return _s({data:o,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,mr(),lt].filter(u=>!!u),issueData:{code:M.invalid_return_type,returnTypeError:l}})}let r={errorMap:n.common.contextualErrorMap},s=n.data;if(this._def.returns instanceof Mt){let o=this;return _n(async function(...l){let u=new Fn([]),c=await o._def.args.parseAsync(l,r).catch(d=>{throw u.addIssue(i(l,d)),u}),p=await Reflect.apply(s,this,c);return await o._def.returns._def.type.parseAsync(p,r).catch(d=>{throw u.addIssue(a(p,d)),u})})}else{let o=this;return _n(function(...l){let u=o._def.args.safeParse(l,r);if(!u.success)throw new Fn([i(l,u.error)]);let c=Reflect.apply(s,this,u.data),p=o._def.returns.safeParse(c,r);if(!p.success)throw new Fn([a(c,p.error)]);return p.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:Ni.create(e).rest(ct.create())})}returns(e){return new t({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,i){return new t({args:e||Ni.create([]).rest(ct.create()),returns:n||ct.create(),typeName:E.ZodFunction,...te(i)})}},wa=class extends oe{get schema(){return this._def.getter()}_parse(e){let{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};wa.create=(t,e)=>new wa({getter:t,typeName:E.ZodLazy,...te(e)});var va=class extends oe{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return H(n,{received:n.data,code:M.invalid_literal,expected:this._def.value}),K}return{status:"valid",value:e.data}}get value(){return this._def.value}};va.create=(t,e)=>new va({value:t,typeName:E.ZodLiteral,...te(e)});function Jy(t,e){return new Ca({values:t,typeName:E.ZodEnum,...te(e)})}var Ca=class t extends oe{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),i=this._def.values;return H(n,{expected:ge.joinValues(i),received:n.parsedType,code:M.invalid_type}),K}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let n=this._getOrReturnCtx(e),i=this._def.values;return H(n,{received:n.data,code:M.invalid_enum_value,options:i}),K}return _n(e.data)}get options(){return this._def.values}get enum(){let e={};for(let n of this._def.values)e[n]=n;return e}get Values(){let e={};for(let n of this._def.values)e[n]=n;return e}get Enum(){let e={};for(let n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return t.create(e,{...this._def,...n})}exclude(e,n=this._def){return t.create(this.options.filter(i=>!e.includes(i)),{...this._def,...n})}};Ca.create=Jy;var Aa=class extends oe{_parse(e){let n=ge.getValidEnumValues(this._def.values),i=this._getOrReturnCtx(e);if(i.parsedType!==D.string&&i.parsedType!==D.number){let a=ge.objectValues(n);return H(i,{expected:ge.joinValues(a),received:i.parsedType,code:M.invalid_type}),K}if(this._cache||(this._cache=new Set(ge.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let a=ge.objectValues(n);return H(i,{received:i.data,code:M.invalid_enum_value,options:a}),K}return _n(e.data)}get enum(){return this._def.values}};Aa.create=(t,e)=>new Aa({values:t,typeName:E.ZodNativeEnum,...te(e)});var Mt=class extends oe{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==D.promise&&n.common.async===!1)return H(n,{code:M.invalid_type,expected:D.promise,received:n.parsedType}),K;let i=n.parsedType===D.promise?n.data:Promise.resolve(n.data);return _n(i.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}};Mt.create=(t,e)=>new Mt({type:t,typeName:E.ZodPromise,...te(e)});var gi=class extends oe{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===E.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:n,ctx:i}=this._processInputParams(e),a=this._def.effect||null,r={addIssue:s=>{H(i,s),s.fatal?n.abort():n.dirty()},get path(){return i.path}};if(r.addIssue=r.addIssue.bind(r),a.type==="preprocess"){let s=a.transform(i.data,r);if(i.common.async)return Promise.resolve(s).then(async o=>{if(n.value==="aborted")return K;let l=await this._def.schema._parseAsync({data:o,path:i.path,parent:i});return l.status==="aborted"?K:l.status==="dirty"?la(l.value):n.value==="dirty"?la(l.value):l});{if(n.value==="aborted")return K;let o=this._def.schema._parseSync({data:s,path:i.path,parent:i});return o.status==="aborted"?K:o.status==="dirty"?la(o.value):n.value==="dirty"?la(o.value):o}}if(a.type==="refinement"){let s=o=>{let l=a.refinement(o,r);if(i.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return o};if(i.common.async===!1){let o=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});return o.status==="aborted"?K:(o.status==="dirty"&&n.dirty(),s(o.value),{status:n.value,value:o.value})}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(o=>o.status==="aborted"?K:(o.status==="dirty"&&n.dirty(),s(o.value).then(()=>({status:n.value,value:o.value}))))}if(a.type==="transform")if(i.common.async===!1){let s=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});if(!Ot(s))return K;let o=a.transform(s.value,r);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:o}}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(s=>Ot(s)?Promise.resolve(a.transform(s.value,r)).then(o=>({status:n.value,value:o})):K);ge.assertNever(a)}};gi.create=(t,e,n)=>new gi({schema:t,typeName:E.ZodEffects,effect:e,...te(n)});gi.createWithPreprocess=(t,e,n)=>new gi({schema:e,effect:{type:"preprocess",transform:t},typeName:E.ZodEffects,...te(n)});var di=class extends oe{_parse(e){return this._getType(e)===D.undefined?_n(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};di.create=(t,e)=>new di({innerType:t,typeName:E.ZodOptional,...te(e)});var Ui=class extends oe{_parse(e){return this._getType(e)===D.null?_n(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Ui.create=(t,e)=>new Ui({innerType:t,typeName:E.ZodNullable,...te(e)});var ba=class extends oe{_parse(e){let{ctx:n}=this._processInputParams(e),i=n.data;return n.parsedType===D.undefined&&(i=this._def.defaultValue()),this._def.innerType._parse({data:i,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};ba.create=(t,e)=>new ba({innerType:t,typeName:E.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...te(e)});var ya=class extends oe{_parse(e){let{ctx:n}=this._processInputParams(e),i={...n,common:{...n.common,issues:[]}},a=this._def.innerType._parse({data:i.data,path:i.path,parent:{...i}});return fr(a)?a.then(r=>({status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new Fn(i.common.issues)},input:i.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Fn(i.common.issues)},input:i.data})}}removeCatch(){return this._def.innerType}};ya.create=(t,e)=>new ya({innerType:t,typeName:E.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...te(e)});var yr=class extends oe{_parse(e){if(this._getType(e)!==D.nan){let i=this._getOrReturnCtx(e);return H(i,{code:M.invalid_type,expected:D.nan,received:i.parsedType}),K}return{status:"valid",value:e.data}}};yr.create=t=>new yr({typeName:E.ZodNaN,...te(t)});var tD=Symbol("zod_brand"),Hs=class extends oe{_parse(e){let{ctx:n}=this._processInputParams(e),i=n.data;return this._def.type._parse({data:i,path:n.path,parent:n})}unwrap(){return this._def.type}},Is=class t extends oe{_parse(e){let{status:n,ctx:i}=this._processInputParams(e);if(i.common.async)return(async()=>{let r=await this._def.in._parseAsync({data:i.data,path:i.path,parent:i});return r.status==="aborted"?K:r.status==="dirty"?(n.dirty(),la(r.value)):this._def.out._parseAsync({data:r.value,path:i.path,parent:i})})();{let a=this._def.in._parseSync({data:i.data,path:i.path,parent:i});return a.status==="aborted"?K:a.status==="dirty"?(n.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:i.path,parent:i})}}static create(e,n){return new t({in:e,out:n,typeName:E.ZodPipeline})}},Pa=class extends oe{_parse(e){let n=this._def.innerType._parse(e),i=a=>(Ot(a)&&(a.value=Object.freeze(a.value)),a);return fr(n)?n.then(a=>i(a)):i(n)}unwrap(){return this._def.innerType}};Pa.create=(t,e)=>new Pa({innerType:t,typeName:E.ZodReadonly,...te(e)});function Wy(t,e){let n=typeof t=="function"?t(e):typeof t=="string"?{message:t}:t;return typeof n=="string"?{message:n}:n}function Zy(t,e={},n){return t?Tt.create().superRefine((i,a)=>{let r=t(i);if(r instanceof Promise)return r.then(s=>{if(!s){let o=Wy(e,i),l=o.fatal??n??!0;a.addIssue({code:"custom",...o,fatal:l})}});if(!r){let s=Wy(e,i),o=s.fatal??n??!0;a.addIssue({code:"custom",...s,fatal:o})}}):Tt.create()}var aD={object:Vn.lazycreate},E;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(E||(E={}));var rD=(t,e={message:`Input not instance of ${t.name}`})=>Zy(n=>n instanceof t,e),Ky=xt.create,Qy=ua.create,sD=yr.create,oD=ca.create,Yy=pa.create,lD=da.create,uD=vr.create,cD=ha.create,pD=ga.create,dD=Tt.create,hD=ct.create,gD=xi.create,mD=Cr.create,fD=pt.create,Gd=Vn.create,wD=Vn.strictCreate,vD=ma.create,CD=Xl.create,AD=fa.create,bD=Ni.create,yD=eu.create,PD=Ar.create,jD=br.create,SD=nu.create,OD=wa.create,xD=va.create,TD=Ca.create,MD=Aa.create,ED=Mt.create,kD=gi.create,qD=di.create,_D=Ui.create,HD=gi.createWithPreprocess,ID=Is.create,RD=()=>Ky().optional(),zD=()=>Qy().optional(),DD=()=>Yy().optional(),GD={string:(t=>xt.create({...t,coerce:!0})),number:(t=>ua.create({...t,coerce:!0})),boolean:(t=>pa.create({...t,coerce:!0})),bigint:(t=>ca.create({...t,coerce:!0})),date:(t=>da.create({...t,coerce:!0}))};var $D=K;var Xy;function j(t,e,n){function i(o,l){if(o._zod||Object.defineProperty(o,"_zod",{value:{def:l,constr:s,traits:new Set},enumerable:!1}),o._zod.traits.has(t))return;o._zod.traits.add(t),e(o,l);let u=s.prototype,c=Object.keys(u);for(let p=0;pn?.Parent&&o instanceof n.Parent?!0:o?._zod?.traits?.has(t)}),Object.defineProperty(s,"name",{value:t}),s}var Une=Symbol("zod_brand"),Li=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Pr=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}};(Xy=globalThis).__zod_globalConfig??(Xy.__zod_globalConfig={});var jr=globalThis.__zod_globalConfig;function li(t){return t&&Object.assign(jr,t),jr}var we={};Id(we,{BIGINT_FORMAT_RANGES:()=>iP,Class:()=>Nd,NUMBER_FORMAT_RANGES:()=>Jd,aborted:()=>qt,allowsEval:()=>Wd,assert:()=>FD,assertEqual:()=>UD,assertIs:()=>WD,assertNever:()=>BD,assertNotEqual:()=>LD,assignProp:()=>Et,base64ToUint8Array:()=>cP,base64urlToUint8Array:()=>t1,cached:()=>Or,captureStackTrace:()=>au,cleanEnum:()=>i1,cleanRegex:()=>Gs,clone:()=>ui,cloneDef:()=>JD,createTransparentProxy:()=>e1,defineLazy:()=>Me,esc:()=>tu,escapeRegex:()=>ht,explicitlyAborted:()=>Zd,extend:()=>rP,finalizeIssue:()=>mi,floatSafeRemainder:()=>Ud,getElementAtPath:()=>ZD,getEnumValues:()=>zs,getLengthableOrigin:()=>$s,getParsedType:()=>XD,getSizableOrigin:()=>uP,hexToUint8Array:()=>r1,isObject:()=>ja,isPlainObject:()=>kt,issue:()=>xr,joinValues:()=>iu,jsonStringifyReplacer:()=>Sr,merge:()=>n1,mergeDefs:()=>dt,normalizeParams:()=>J,nullish:()=>Ds,numKeys:()=>YD,objectClone:()=>VD,omit:()=>aP,optionalKeys:()=>Vd,parsedType:()=>Kd,partial:()=>oP,pick:()=>tP,prefixIssues:()=>gt,primitiveTypes:()=>nP,promiseAllObject:()=>KD,propertyKeyTypes:()=>Fd,randomString:()=>QD,required:()=>lP,safeExtend:()=>sP,shallowClone:()=>Bd,slugify:()=>Ld,stringifyPrimitive:()=>ru,uint8ArrayToBase64:()=>pP,uint8ArrayToBase64url:()=>a1,uint8ArrayToHex:()=>s1,unwrapMessage:()=>Rs});function UD(t){return t}function LD(t){return t}function WD(t){}function BD(t){throw new Error("Unexpected value in exhaustive check")}function FD(t){}function zs(t){let e=Object.values(t).filter(i=>typeof i=="number");return Object.entries(t).filter(([i,a])=>e.indexOf(+i)===-1).map(([i,a])=>a)}function iu(t,e="|"){return t.map(n=>ru(n)).join(e)}function Sr(t,e){return typeof e=="bigint"?e.toString():e}function Or(t){return{get value(){{let n=t();return Object.defineProperty(this,"value",{value:n}),n}throw new Error("cached value already set")}}}function Ds(t){return t==null}function Gs(t){let e=t.startsWith("^")?1:0,n=t.endsWith("$")?t.length-1:t.length;return t.slice(e,n)}function Ud(t,e){let n=t/e,i=Math.round(n),a=Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-i)n?.[i],t):t}function KD(t){let e=Object.keys(t),n=e.map(i=>t[i]);return Promise.all(n).then(i=>{let a={};for(let r=0;r{};function ja(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}var Wd=Or(()=>{if(jr.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let t=Function;return new t(""),!0}catch{return!1}});function kt(t){if(ja(t)===!1)return!1;let e=t.constructor;if(e===void 0||typeof e!="function")return!0;let n=e.prototype;return!(ja(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function Bd(t){return kt(t)?{...t}:Array.isArray(t)?[...t]:t instanceof Map?new Map(t):t instanceof Set?new Set(t):t}function YD(t){let e=0;for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&e++;return e}var XD=t=>{let e=typeof t;switch(e){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(t)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(t)?"array":t===null?"null":t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?"promise":typeof Map<"u"&&t instanceof Map?"map":typeof Set<"u"&&t instanceof Set?"set":typeof Date<"u"&&t instanceof Date?"date":typeof File<"u"&&t instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${e}`)}},Fd=new Set(["string","number","symbol"]),nP=new Set(["string","number","bigint","boolean","symbol","undefined"]);function ht(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ui(t,e,n){let i=new t._zod.constr(e??t._zod.def);return(!e||n?.parent)&&(i._zod.parent=t),i}function J(t){let e=t;if(!e)return{};if(typeof e=="string")return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");e.error=e.message}return delete e.message,typeof e.error=="string"?{...e,error:()=>e.error}:e}function e1(t){let e;return new Proxy({},{get(n,i,a){return e??(e=t()),Reflect.get(e,i,a)},set(n,i,a,r){return e??(e=t()),Reflect.set(e,i,a,r)},has(n,i){return e??(e=t()),Reflect.has(e,i)},deleteProperty(n,i){return e??(e=t()),Reflect.deleteProperty(e,i)},ownKeys(n){return e??(e=t()),Reflect.ownKeys(e)},getOwnPropertyDescriptor(n,i){return e??(e=t()),Reflect.getOwnPropertyDescriptor(e,i)},defineProperty(n,i,a){return e??(e=t()),Reflect.defineProperty(e,i,a)}})}function ru(t){return typeof t=="bigint"?t.toString()+"n":typeof t=="string"?`"${t}"`:`${t}`}function Vd(t){return Object.keys(t).filter(e=>t[e]._zod.optin==="optional"&&t[e]._zod.optout==="optional")}var Jd={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},iP={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function tP(t,e){let n=t._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let r=dt(t._zod.def,{get shape(){let s={};for(let o in e){if(!(o in n.shape))throw new Error(`Unrecognized key: "${o}"`);e[o]&&(s[o]=n.shape[o])}return Et(this,"shape",s),s},checks:[]});return ui(t,r)}function aP(t,e){let n=t._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let r=dt(t._zod.def,{get shape(){let s={...t._zod.def.shape};for(let o in e){if(!(o in n.shape))throw new Error(`Unrecognized key: "${o}"`);e[o]&&delete s[o]}return Et(this,"shape",s),s},checks:[]});return ui(t,r)}function rP(t,e){if(!kt(e))throw new Error("Invalid input to extend: expected a plain object");let n=t._zod.def.checks;if(n&&n.length>0){let r=t._zod.def.shape;for(let s in e)if(Object.getOwnPropertyDescriptor(r,s)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let a=dt(t._zod.def,{get shape(){let r={...t._zod.def.shape,...e};return Et(this,"shape",r),r}});return ui(t,a)}function sP(t,e){if(!kt(e))throw new Error("Invalid input to safeExtend: expected a plain object");let n=dt(t._zod.def,{get shape(){let i={...t._zod.def.shape,...e};return Et(this,"shape",i),i}});return ui(t,n)}function n1(t,e){if(t._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let n=dt(t._zod.def,{get shape(){let i={...t._zod.def.shape,...e._zod.def.shape};return Et(this,"shape",i),i},get catchall(){return e._zod.def.catchall},checks:e._zod.def.checks??[]});return ui(t,n)}function oP(t,e,n){let a=e._zod.def.checks;if(a&&a.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let s=dt(e._zod.def,{get shape(){let o=e._zod.def.shape,l={...o};if(n)for(let u in n){if(!(u in o))throw new Error(`Unrecognized key: "${u}"`);n[u]&&(l[u]=t?new t({type:"optional",innerType:o[u]}):o[u])}else for(let u in o)l[u]=t?new t({type:"optional",innerType:o[u]}):o[u];return Et(this,"shape",l),l},checks:[]});return ui(e,s)}function lP(t,e,n){let i=dt(e._zod.def,{get shape(){let a=e._zod.def.shape,r={...a};if(n)for(let s in n){if(!(s in r))throw new Error(`Unrecognized key: "${s}"`);n[s]&&(r[s]=new t({type:"nonoptional",innerType:a[s]}))}else for(let s in a)r[s]=new t({type:"nonoptional",innerType:a[s]});return Et(this,"shape",r),r}});return ui(e,i)}function qt(t,e=0){if(t.aborted===!0)return!0;for(let n=e;n{var i;return(i=n).path??(i.path=[]),n.path.unshift(t),n})}function Rs(t){return typeof t=="string"?t:t?.message}function mi(t,e,n){let i=t.message?t.message:Rs(t.inst?._zod.def?.error?.(t))??Rs(e?.error?.(t))??Rs(n.customError?.(t))??Rs(n.localeError?.(t))??"Invalid input",{inst:a,continue:r,input:s,...o}=t;return o.path??(o.path=[]),o.message=i,e?.reportInput&&(o.input=s),o}function uP(t){return t instanceof Set?"set":t instanceof Map?"map":t instanceof File?"file":"unknown"}function $s(t){return Array.isArray(t)?"array":typeof t=="string"?"string":"unknown"}function Kd(t){let e=typeof t;switch(e){case"number":return Number.isNaN(t)?"nan":"number";case"object":{if(t===null)return"null";if(Array.isArray(t))return"array";let n=t;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return e}function xr(...t){let[e,n,i]=t;return typeof e=="string"?{message:e,code:"custom",input:n,inst:i}:{...e}}function i1(t){return Object.entries(t).filter(([e,n])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function cP(t){let e=atob(t),n=new Uint8Array(e.length);for(let i=0;ie.toString(16).padStart(2,"0")).join("")}var Nd=class{constructor(...e){}};var dP=(t,e)=>{t.name="$ZodError",Object.defineProperty(t,"_zod",{value:t._zod,enumerable:!1}),Object.defineProperty(t,"issues",{value:e,enumerable:!1}),t.message=JSON.stringify(e,Sr,2),Object.defineProperty(t,"toString",{value:()=>t.message,enumerable:!1})},su=j("$ZodError",dP),Ns=j("$ZodError",dP,{Parent:Error});function hP(t,e=n=>n.message){let n={},i=[];for(let a of t.issues)a.path.length>0?(n[a.path[0]]=n[a.path[0]]||[],n[a.path[0]].push(e(a))):i.push(e(a));return{formErrors:i,fieldErrors:n}}function gP(t,e=n=>n.message){let n={_errors:[]},i=(a,r=[])=>{for(let s of a.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(o=>i({issues:o},[...r,...s.path]));else if(s.code==="invalid_key")i({issues:s.issues},[...r,...s.path]);else if(s.code==="invalid_element")i({issues:s.issues},[...r,...s.path]);else{let o=[...r,...s.path];if(o.length===0)n._errors.push(e(s));else{let l=n,u=0;for(;u(e,n,i,a)=>{let r=i?{...i,async:!1}:{async:!1},s=e._zod.run({value:n,issues:[]},r);if(s instanceof Promise)throw new Li;if(s.issues.length){let o=new(a?.Err??t)(s.issues.map(l=>mi(l,r,li())));throw au(o,a?.callee),o}return s.value},ou=Us(Ns),Ls=t=>async(e,n,i,a)=>{let r=i?{...i,async:!0}:{async:!0},s=e._zod.run({value:n,issues:[]},r);if(s instanceof Promise&&(s=await s),s.issues.length){let o=new(a?.Err??t)(s.issues.map(l=>mi(l,r,li())));throw au(o,a?.callee),o}return s.value},lu=Ls(Ns),Ws=t=>(e,n,i)=>{let a=i?{...i,async:!1}:{async:!1},r=e._zod.run({value:n,issues:[]},a);if(r instanceof Promise)throw new Li;return r.issues.length?{success:!1,error:new(t??su)(r.issues.map(s=>mi(s,a,li())))}:{success:!0,data:r.value}},Sa=Ws(Ns),Bs=t=>async(e,n,i)=>{let a=i?{...i,async:!0}:{async:!0},r=e._zod.run({value:n,issues:[]},a);return r instanceof Promise&&(r=await r),r.issues.length?{success:!1,error:new t(r.issues.map(s=>mi(s,a,li())))}:{success:!0,data:r.value}},Oa=Bs(Ns),mP=t=>(e,n,i)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return Us(t)(e,n,a)};var fP=t=>(e,n,i)=>Us(t)(e,n,i);var wP=t=>async(e,n,i)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return Ls(t)(e,n,a)};var vP=t=>async(e,n,i)=>Ls(t)(e,n,i);var CP=t=>(e,n,i)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return Ws(t)(e,n,a)};var AP=t=>(e,n,i)=>Ws(t)(e,n,i);var bP=t=>async(e,n,i)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return Bs(t)(e,n,a)};var yP=t=>async(e,n,i)=>Bs(t)(e,n,i);var PP=/^[cC][0-9a-z]{6,}$/,jP=/^[0-9a-z]+$/,SP=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,OP=/^[0-9a-vA-V]{20}$/,xP=/^[A-Za-z0-9]{27}$/,TP=/^[a-zA-Z0-9_-]{21}$/,MP=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;var EP=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Qd=t=>t?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${t}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;var kP=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;var l1="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function qP(){return new RegExp(l1,"u")}var _P=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,HP=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/;var IP=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,RP=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,zP=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Yd=/^[A-Za-z0-9_-]*$/;var DP=/^https?$/,GP=/^\+[1-9]\d{6,14}$/,$P="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",NP=new RegExp(`^${$P}$`);function UP(t){let e="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof t.precision=="number"?t.precision===-1?`${e}`:t.precision===0?`${e}:[0-5]\\d`:`${e}:[0-5]\\d\\.\\d{${t.precision}}`:`${e}(?::[0-5]\\d(?:\\.\\d+)?)?`}function LP(t){return new RegExp(`^${UP(t)}$`)}function WP(t){let e=UP({precision:t.precision}),n=["Z"];t.local&&n.push(""),t.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let i=`${e}(?:${n.join("|")})`;return new RegExp(`^${$P}T(?:${i})$`)}var BP=t=>{let e=t?`[\\s\\S]{${t?.minimum??0},${t?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${e}$`)};var FP=/^-?\d+$/,Xd=/^-?\d+(?:\.\d+)?$/,VP=/^(?:true|false)$/i,JP=/^null$/i;var ZP=/^[^A-Z]*$/,KP=/^[^a-z]*$/;var vn=j("$ZodCheck",(t,e)=>{var n;t._zod??(t._zod={}),t._zod.def=e,(n=t._zod).onattach??(n.onattach=[])}),QP={number:"number",bigint:"bigint",object:"date"},eh=j("$ZodCheckLessThan",(t,e)=>{vn.init(t,e);let n=QP[typeof e.value];t._zod.onattach.push(i=>{let a=i._zod.bag,r=(e.inclusive?a.maximum:a.exclusiveMaximum)??Number.POSITIVE_INFINITY;e.value{(e.inclusive?i.value<=e.value:i.value{vn.init(t,e);let n=QP[typeof e.value];t._zod.onattach.push(i=>{let a=i._zod.bag,r=(e.inclusive?a.minimum:a.exclusiveMinimum)??Number.NEGATIVE_INFINITY;e.value>r&&(e.inclusive?a.minimum=e.value:a.exclusiveMinimum=e.value)}),t._zod.check=i=>{(e.inclusive?i.value>=e.value:i.value>e.value)||i.issues.push({origin:n,code:"too_small",minimum:typeof e.value=="object"?e.value.getTime():e.value,input:i.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),YP=j("$ZodCheckMultipleOf",(t,e)=>{vn.init(t,e),t._zod.onattach.push(n=>{var i;(i=n._zod.bag).multipleOf??(i.multipleOf=e.value)}),t._zod.check=n=>{if(typeof n.value!=typeof e.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%e.value===BigInt(0):Ud(n.value,e.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:e.value,input:n.value,inst:t,continue:!e.abort})}}),XP=j("$ZodCheckNumberFormat",(t,e)=>{vn.init(t,e),e.format=e.format||"float64";let n=e.format?.includes("int"),i=n?"int":"number",[a,r]=Jd[e.format];t._zod.onattach.push(s=>{let o=s._zod.bag;o.format=e.format,o.minimum=a,o.maximum=r,n&&(o.pattern=FP)}),t._zod.check=s=>{let o=s.value;if(n){if(!Number.isInteger(o)){s.issues.push({expected:i,format:e.format,code:"invalid_type",continue:!1,input:o,inst:t});return}if(!Number.isSafeInteger(o)){o>0?s.issues.push({input:o,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:i,inclusive:!0,continue:!e.abort}):s.issues.push({input:o,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:i,inclusive:!0,continue:!e.abort});return}}or&&s.issues.push({origin:"number",input:o,code:"too_big",maximum:r,inclusive:!0,inst:t,continue:!e.abort})}});var ej=j("$ZodCheckMaxLength",(t,e)=>{var n;vn.init(t,e),(n=t._zod.def).when??(n.when=i=>{let a=i.value;return!Ds(a)&&a.length!==void 0}),t._zod.onattach.push(i=>{let a=i._zod.bag.maximum??Number.POSITIVE_INFINITY;e.maximum{let a=i.value;if(a.length<=e.maximum)return;let s=$s(a);i.issues.push({origin:s,code:"too_big",maximum:e.maximum,inclusive:!0,input:a,inst:t,continue:!e.abort})}}),nj=j("$ZodCheckMinLength",(t,e)=>{var n;vn.init(t,e),(n=t._zod.def).when??(n.when=i=>{let a=i.value;return!Ds(a)&&a.length!==void 0}),t._zod.onattach.push(i=>{let a=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;e.minimum>a&&(i._zod.bag.minimum=e.minimum)}),t._zod.check=i=>{let a=i.value;if(a.length>=e.minimum)return;let s=$s(a);i.issues.push({origin:s,code:"too_small",minimum:e.minimum,inclusive:!0,input:a,inst:t,continue:!e.abort})}}),ij=j("$ZodCheckLengthEquals",(t,e)=>{var n;vn.init(t,e),(n=t._zod.def).when??(n.when=i=>{let a=i.value;return!Ds(a)&&a.length!==void 0}),t._zod.onattach.push(i=>{let a=i._zod.bag;a.minimum=e.length,a.maximum=e.length,a.length=e.length}),t._zod.check=i=>{let a=i.value,r=a.length;if(r===e.length)return;let s=$s(a),o=r>e.length;i.issues.push({origin:s,...o?{code:"too_big",maximum:e.length}:{code:"too_small",minimum:e.length},inclusive:!0,exact:!0,input:i.value,inst:t,continue:!e.abort})}}),Vs=j("$ZodCheckStringFormat",(t,e)=>{var n,i;vn.init(t,e),t._zod.onattach.push(a=>{let r=a._zod.bag;r.format=e.format,e.pattern&&(r.patterns??(r.patterns=new Set),r.patterns.add(e.pattern))}),e.pattern?(n=t._zod).check??(n.check=a=>{e.pattern.lastIndex=0,!e.pattern.test(a.value)&&a.issues.push({origin:"string",code:"invalid_format",format:e.format,input:a.value,...e.pattern?{pattern:e.pattern.toString()}:{},inst:t,continue:!e.abort})}):(i=t._zod).check??(i.check=()=>{})}),tj=j("$ZodCheckRegex",(t,e)=>{Vs.init(t,e),t._zod.check=n=>{e.pattern.lastIndex=0,!e.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:e.pattern.toString(),inst:t,continue:!e.abort})}}),aj=j("$ZodCheckLowerCase",(t,e)=>{e.pattern??(e.pattern=ZP),Vs.init(t,e)}),rj=j("$ZodCheckUpperCase",(t,e)=>{e.pattern??(e.pattern=KP),Vs.init(t,e)}),sj=j("$ZodCheckIncludes",(t,e)=>{vn.init(t,e);let n=ht(e.includes),i=new RegExp(typeof e.position=="number"?`^.{${e.position}}${n}`:n);e.pattern=i,t._zod.onattach.push(a=>{let r=a._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(i)}),t._zod.check=a=>{a.value.includes(e.includes,e.position)||a.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:e.includes,input:a.value,inst:t,continue:!e.abort})}}),oj=j("$ZodCheckStartsWith",(t,e)=>{vn.init(t,e);let n=new RegExp(`^${ht(e.prefix)}.*`);e.pattern??(e.pattern=n),t._zod.onattach.push(i=>{let a=i._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(n)}),t._zod.check=i=>{i.value.startsWith(e.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:e.prefix,input:i.value,inst:t,continue:!e.abort})}}),lj=j("$ZodCheckEndsWith",(t,e)=>{vn.init(t,e);let n=new RegExp(`.*${ht(e.suffix)}$`);e.pattern??(e.pattern=n),t._zod.onattach.push(i=>{let a=i._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(n)}),t._zod.check=i=>{i.value.endsWith(e.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:e.suffix,input:i.value,inst:t,continue:!e.abort})}});var uj=j("$ZodCheckOverwrite",(t,e)=>{vn.init(t,e),t._zod.check=n=>{n.value=e.tx(n.value)}});var uu=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e=="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let i=e.split(` -`).filter(s=>s),a=Math.min(...i.map(s=>s.length-s.trimStart().length)),r=i.map(s=>s.slice(a)).map(s=>" ".repeat(this.indent*2)+s);for(let s of r)this.content.push(s)}compile(){let e=Function,n=this?.args,a=[...(this?.content??[""]).map(r=>` ${r}`)];return new e(...n,a.join(` -`))}};var pj={major:4,minor:4,patch:3};var _e=j("$ZodType",(t,e)=>{var n;t??(t={}),t._zod.def=e,t._zod.bag=t._zod.bag||{},t._zod.version=pj;let i=[...t._zod.def.checks??[]];t._zod.traits.has("$ZodCheck")&&i.unshift(t);for(let a of i)for(let r of a._zod.onattach)r(t);if(i.length===0)(n=t._zod).deferred??(n.deferred=[]),t._zod.deferred?.push(()=>{t._zod.run=t._zod.parse});else{let a=(s,o,l)=>{let u=qt(s),c;for(let p of o){if(p._zod.def.when){if(Zd(s)||!p._zod.def.when(s))continue}else if(u)continue;let h=s.issues.length,d=p._zod.check(s);if(d instanceof Promise&&l?.async===!1)throw new Li;if(c||d instanceof Promise)c=(c??Promise.resolve()).then(async()=>{await d,s.issues.length!==h&&(u||(u=qt(s,h)))});else{if(s.issues.length===h)continue;u||(u=qt(s,h))}}return c?c.then(()=>s):s},r=(s,o,l)=>{if(qt(s))return s.aborted=!0,s;let u=a(o,i,l);if(u instanceof Promise){if(l.async===!1)throw new Li;return u.then(c=>t._zod.parse(c,l))}return t._zod.parse(u,l)};t._zod.run=(s,o)=>{if(o.skipChecks)return t._zod.parse(s,o);if(o.direction==="backward"){let u=t._zod.parse({value:s.value,issues:[]},{...o,skipChecks:!0});return u instanceof Promise?u.then(c=>r(c,s,o)):r(u,s,o)}let l=t._zod.parse(s,o);if(l instanceof Promise){if(o.async===!1)throw new Li;return l.then(u=>a(u,i,o))}return a(l,i,o)}}Me(t,"~standard",()=>({validate:a=>{try{let r=Sa(t,a);return r.success?{value:r.data}:{issues:r.error?.issues}}catch{return Oa(t,a).then(s=>s.success?{value:s.data}:{issues:s.error?.issues})}},vendor:"zod",version:1}))}),Js=j("$ZodString",(t,e)=>{_e.init(t,e),t._zod.pattern=[...t?._zod.bag?.patterns??[]].pop()??BP(t._zod.bag),t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:t}),n}}),De=j("$ZodStringFormat",(t,e)=>{Vs.init(t,e),Js.init(t,e)}),th=j("$ZodGUID",(t,e)=>{e.pattern??(e.pattern=EP),De.init(t,e)}),ah=j("$ZodUUID",(t,e)=>{if(e.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[e.version];if(i===void 0)throw new Error(`Invalid UUID version: "${e.version}"`);e.pattern??(e.pattern=Qd(i))}else e.pattern??(e.pattern=Qd());De.init(t,e)}),rh=j("$ZodEmail",(t,e)=>{e.pattern??(e.pattern=kP),De.init(t,e)}),sh=j("$ZodURL",(t,e)=>{De.init(t,e),t._zod.check=n=>{try{let i=n.value.trim();if(!e.normalize&&e.protocol?.source===DP.source&&!/^https?:\/\//i.test(i)){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:t,continue:!e.abort});return}let a=new URL(i);e.hostname&&(e.hostname.lastIndex=0,e.hostname.test(a.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:e.hostname.source,input:n.value,inst:t,continue:!e.abort})),e.protocol&&(e.protocol.lastIndex=0,e.protocol.test(a.protocol.endsWith(":")?a.protocol.slice(0,-1):a.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:e.protocol.source,input:n.value,inst:t,continue:!e.abort})),e.normalize?n.value=a.href:n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:t,continue:!e.abort})}}}),oh=j("$ZodEmoji",(t,e)=>{e.pattern??(e.pattern=qP()),De.init(t,e)}),lh=j("$ZodNanoID",(t,e)=>{e.pattern??(e.pattern=TP),De.init(t,e)}),uh=j("$ZodCUID",(t,e)=>{e.pattern??(e.pattern=PP),De.init(t,e)}),ch=j("$ZodCUID2",(t,e)=>{e.pattern??(e.pattern=jP),De.init(t,e)}),ph=j("$ZodULID",(t,e)=>{e.pattern??(e.pattern=SP),De.init(t,e)}),dh=j("$ZodXID",(t,e)=>{e.pattern??(e.pattern=OP),De.init(t,e)}),hh=j("$ZodKSUID",(t,e)=>{e.pattern??(e.pattern=xP),De.init(t,e)}),Aj=j("$ZodISODateTime",(t,e)=>{e.pattern??(e.pattern=WP(e)),De.init(t,e)}),bj=j("$ZodISODate",(t,e)=>{e.pattern??(e.pattern=NP),De.init(t,e)}),yj=j("$ZodISOTime",(t,e)=>{e.pattern??(e.pattern=LP(e)),De.init(t,e)}),Pj=j("$ZodISODuration",(t,e)=>{e.pattern??(e.pattern=MP),De.init(t,e)}),gh=j("$ZodIPv4",(t,e)=>{e.pattern??(e.pattern=_P),De.init(t,e),t._zod.bag.format="ipv4"}),mh=j("$ZodIPv6",(t,e)=>{e.pattern??(e.pattern=HP),De.init(t,e),t._zod.bag.format="ipv6",t._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:t,continue:!e.abort})}}});var fh=j("$ZodCIDRv4",(t,e)=>{e.pattern??(e.pattern=IP),De.init(t,e)}),wh=j("$ZodCIDRv6",(t,e)=>{e.pattern??(e.pattern=RP),De.init(t,e),t._zod.check=n=>{let i=n.value.split("/");try{if(i.length!==2)throw new Error;let[a,r]=i;if(!r)throw new Error;let s=Number(r);if(`${s}`!==r)throw new Error;if(s<0||s>128)throw new Error;new URL(`http://[${a}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:t,continue:!e.abort})}}});function jj(t){if(t==="")return!0;if(/\s/.test(t)||t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}var vh=j("$ZodBase64",(t,e)=>{e.pattern??(e.pattern=zP),De.init(t,e),t._zod.bag.contentEncoding="base64",t._zod.check=n=>{jj(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:t,continue:!e.abort})}});function u1(t){if(!Yd.test(t))return!1;let e=t.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=e.padEnd(Math.ceil(e.length/4)*4,"=");return jj(n)}var Ch=j("$ZodBase64URL",(t,e)=>{e.pattern??(e.pattern=Yd),De.init(t,e),t._zod.bag.contentEncoding="base64url",t._zod.check=n=>{u1(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:t,continue:!e.abort})}}),Ah=j("$ZodE164",(t,e)=>{e.pattern??(e.pattern=GP),De.init(t,e)});function c1(t,e=null){try{let n=t.split(".");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let a=JSON.parse(atob(i));return!("typ"in a&&a?.typ!=="JWT"||!a.alg||e&&(!("alg"in a)||a.alg!==e))}catch{return!1}}var bh=j("$ZodJWT",(t,e)=>{De.init(t,e),t._zod.check=n=>{c1(n.value,e.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:t,continue:!e.abort})}});var du=j("$ZodNumber",(t,e)=>{_e.init(t,e),t._zod.pattern=t._zod.bag.pattern??Xd,t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=Number(n.value)}catch{}let a=n.value;if(typeof a=="number"&&!Number.isNaN(a)&&Number.isFinite(a))return n;let r=typeof a=="number"?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:a,inst:t,...r?{received:r}:{}}),n}}),yh=j("$ZodNumberFormat",(t,e)=>{XP.init(t,e),du.init(t,e)}),Ph=j("$ZodBoolean",(t,e)=>{_e.init(t,e),t._zod.pattern=VP,t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=!!n.value}catch{}let a=n.value;return typeof a=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:a,inst:t}),n}});var jh=j("$ZodNull",(t,e)=>{_e.init(t,e),t._zod.pattern=JP,t._zod.values=new Set([null]),t._zod.parse=(n,i)=>{let a=n.value;return a===null||n.issues.push({expected:"null",code:"invalid_type",input:a,inst:t}),n}});var Sh=j("$ZodUnknown",(t,e)=>{_e.init(t,e),t._zod.parse=n=>n}),Oh=j("$ZodNever",(t,e)=>{_e.init(t,e),t._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:t}),n)});function dj(t,e,n){t.issues.length&&e.issues.push(...gt(n,t.issues)),e.value[n]=t.value}var xh=j("$ZodArray",(t,e)=>{_e.init(t,e),t._zod.parse=(n,i)=>{let a=n.value;if(!Array.isArray(a))return n.issues.push({expected:"array",code:"invalid_type",input:a,inst:t}),n;n.value=Array(a.length);let r=[];for(let s=0;sdj(u,n,s))):dj(l,n,s)}return r.length?Promise.all(r).then(()=>n):n}});function pu(t,e,n,i,a,r){let s=n in i;if(t.issues.length){if(a&&r&&!s)return;e.issues.push(...gt(n,t.issues))}if(!s&&!a){t.issues.length||e.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}t.value===void 0?s&&(e.value[n]=void 0):e.value[n]=t.value}function Sj(t){let e=Object.keys(t.shape);for(let i of e)if(!t.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);let n=Vd(t.shape);return{...t,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(n)}}function Oj(t,e,n,i,a,r){let s=[],o=a.keySet,l=a.catchall._zod,u=l.def.type,c=l.optin==="optional",p=l.optout==="optional";for(let h in e){if(h==="__proto__"||o.has(h))continue;if(u==="never"){s.push(h);continue}let d=l.run({value:e[h],issues:[]},i);d instanceof Promise?t.push(d.then(g=>pu(g,n,h,e,c,p))):pu(d,n,h,e,c,p)}return s.length&&n.issues.push({code:"unrecognized_keys",keys:s,input:e,inst:r}),t.length?Promise.all(t).then(()=>n):n}var Th=j("$ZodObject",(t,e)=>{if(_e.init(t,e),!Object.getOwnPropertyDescriptor(e,"shape")?.get){let o=e.shape;Object.defineProperty(e,"shape",{get:()=>{let l={...o};return Object.defineProperty(e,"shape",{value:l}),l}})}let i=Or(()=>Sj(e));Me(t._zod,"propValues",()=>{let o=e.shape,l={};for(let u in o){let c=o[u]._zod;if(c.values){l[u]??(l[u]=new Set);for(let p of c.values)l[u].add(p)}}return l});let a=ja,r=e.catchall,s;t._zod.parse=(o,l)=>{s??(s=i.value);let u=o.value;if(!a(u))return o.issues.push({expected:"object",code:"invalid_type",input:u,inst:t}),o;o.value={};let c=[],p=s.shape;for(let h of s.keys){let d=p[h],g=d._zod.optin==="optional",m=d._zod.optout==="optional",f=d._zod.run({value:u[h],issues:[]},l);f instanceof Promise?c.push(f.then(w=>pu(w,o,h,u,g,m))):pu(f,o,h,u,g,m)}return r?Oj(c,u,o,l,i.value,t):c.length?Promise.all(c).then(()=>o):o}}),xj=j("$ZodObjectJIT",(t,e)=>{Th.init(t,e);let n=t._zod.parse,i=Or(()=>Sj(e)),a=h=>{let d=new uu(["shape","payload","ctx"]),g=i.value,m=A=>{let y=tu(A);return`shape[${y}]._zod.run({ value: input[${y}], issues: [] }, ctx)`};d.write("const input = payload.value;");let f=Object.create(null),w=0;for(let A of g.keys)f[A]=`key_${w++}`;d.write("const newResult = {};");for(let A of g.keys){let y=f[A],S=tu(A),q=h[A],N=q?._zod?.optin==="optional",X=q?._zod?.optout==="optional";d.write(`const ${y} = ${m(A)};`),N&&X?d.write(` +${this.formatValue("Status",i)}${this.formatValue("Headers",this.formatHeaderString(p))}${this.formatValue("CorrelationId",p&&p["inin-correlation-id"]?p["inin-correlation-id"]:"")}${this.formatValue("Body",h?JSON.stringify(h,null,2):"")}`,u}formatHeaderString(e){var i="";if(!e)return i;for(let[n,a]of Object.entries(e))i+=` + ${n}: ${a}`;return i}formatValue(e,i){return!i||i===""||i==="{}"?"":`${e}: ${i} +`}getLogLevel(e){switch(e){case"error":return ds.level.LError;case"debug":return ds.level.LDebug;case"trace":return ds.level.LTrace;default:return ds.level.LNone}}getLogFormat(e){return e==="json"?Ya.formats.JSON:Ya.formats.TEXT}},VC=class t{get instance(){return t.instance}set instance(e){t.instance=e}constructor(){if(t.instance||(t.instance=this),typeof window<"u")this.configPath="";else{let e=require("os"),i=require("path");this.configPath=i.join(e.homedir(),".genesyscloudjavascript","config")}this.watchedConfigPath,this.refresh_access_token=!0,this.refresh_token_wait_max=10,this._live_reload_config=!0,this.host,this.environment,this.basePath,this.authUrl,this.config,this.gateway=void 0,this.authPopupConfiguration=this._getDefaultAuthPopupConfiguration(),this.logger=new FC,this.setEnvironment(),this.liveLoadConfig()}get live_reload_config(){return this._live_reload_config}set live_reload_config(e){if(typeof window>"u"){let i=require("fs");e!=null&&this.live_reload_config!==e&&(this._live_reload_config=e,this.watchedConfigPath&&(i.unwatchFile(this.watchedConfigPath),this.watchedConfigPath=null),e===!0&&this.liveLoadConfig());return}this._live_reload_config=!1}liveLoadConfig(){if(typeof window>"u"){if(this.updateConfigFromFile(),this.live_reload_config&&this.live_reload_config===!0&&this.configPath)try{let e=require("fs");this.watchedConfigPath=this.configPath,e.watchFile(this.watchedConfigPath,{persistent:!1},(i,n)=>{this.updateConfigFromFile(),this.live_reload_config||this.watchedConfigPath&&(e.unwatchFile(this.watchedConfigPath),this.watchedConfigPath=null)})}catch{this.watchedConfigPath=null}return}this.configPath=""}setConfigPath(e){if(typeof window>"u"){let i=require("fs");e&&e!==this.configPath?(this.configPath=e,this.watchedConfigPath&&(i.unwatchFile(this.watchedConfigPath),this.watchedConfigPath=null),this.liveLoadConfig()):!e&&this.configPath&&(this.configPath="",this.watchedConfigPath&&(i.unwatchFile(this.watchedConfigPath),this.watchedConfigPath=null));return}this.configPath=""}updateConfigFromFile(){if(typeof window>"u"&&this.configPath){let n=aI();try{var e=new n;e.read(this.configPath),this.config=e}catch(a){if(a.name&&a.name==="MissingSectionHeaderError"){var i=require("fs").readFileSync(this.configPath,"utf8");this.config={_sections:JSON.parse(i)}}}this.config&&this.updateConfigValues()}}updateConfigValues(){if(this.logger.log_level=this.logger.getLogLevel(this.getConfigString("logging","log_level")),this.logger.log_format=this.logger.getLogFormat(this.getConfigString("logging","log_format")),this.logger.log_to_console=this.getConfigBoolean("logging","log_to_console")!==void 0?this.getConfigBoolean("logging","log_to_console"):this.logger.log_to_console,this.logger.log_file_path=this.getConfigString("logging","log_file_path")!==void 0?this.getConfigString("logging","log_file_path"):this.logger.log_file_path,this.logger.log_response_body=this.getConfigBoolean("logging","log_response_body")!==void 0?this.getConfigBoolean("logging","log_response_body"):this.logger.log_response_body,this.logger.log_request_body=this.getConfigBoolean("logging","log_request_body")!==void 0?this.getConfigBoolean("logging","log_request_body"):this.logger.log_request_body,this.refresh_access_token=this.getConfigBoolean("reauthentication","refresh_access_token")!==void 0?this.getConfigBoolean("reauthentication","refresh_access_token"):this.refresh_access_token,this.refresh_token_wait_max=this.getConfigInt("reauthentication","refresh_token_wait_max")!==void 0?this.getConfigInt("reauthentication","refresh_token_wait_max"):this.refresh_token_wait_max,this.live_reload_config=this.getConfigBoolean("general","live_reload_config")!==void 0?this.getConfigBoolean("general","live_reload_config"):this.live_reload_config,this.host=this.getConfigString("general","host")!==void 0?this.getConfigString("general","host"):this.host,this.getConfigString("gateway","host")!==void 0){let e={host:this.getConfigString("gateway","host")};this.getConfigString("gateway","protocol")!==void 0&&(e.protocol=this.getConfigString("gateway","protocol")),this.getConfigInt("gateway","port")!==void 0&&(e.port=this.getConfigInt("gateway","port")),this.getConfigString("gateway","path_params_login")!==void 0&&(e.path_params_login=this.getConfigString("gateway","path_params_login")),this.getConfigString("gateway","path_params_api")!==void 0&&(e.path_params_api=this.getConfigString("gateway","path_params_api")),this.getConfigString("gateway","username")!==void 0&&(e.username=this.getConfigString("gateway","username")),this.getConfigString("gateway","password")!==void 0&&(e.password=this.getConfigString("gateway","password")),this.setGateway(e)}else this.setGateway();this.setEnvironment(),this.logger.setLogger()}setGateway(e){e?(this.gateway={host:""},e.protocol?this.gateway.protocol=e.protocol:this.gateway.protocol="https",e.host?this.gateway.host=e.host:this.gateway.host="",e.port&&e.port>-1?this.gateway.port=e.port:this.gateway.port=-1,e.path_params_login?(this.gateway.path_params_login=e.path_params_login,this.gateway.path_params_login=this.gateway.path_params_login.replace(/\/+$/,"")):this.gateway.path_params_login="",e.path_params_api?(this.gateway.path_params_api=e.path_params_api,this.gateway.path_params_api=this.gateway.path_params_api.replace(/\/+$/,"")):this.gateway.path_params_api="",e.username&&(this.gateway.username=e.username),e.password&&(this.gateway.password=e.password)):this.gateway=void 0}_getDefaultAuthPopupConfiguration(){return{usePopup:!1,popupTimeout:12e4,notifyPopup:!1,autoClosePopup:!0,autoClosePopupDelay:3e3,popupTarget:"_blank",popupWindowFeatures:"popup=true,width=800,height=700",overridePopupUrl:void 0,overridePopupUrlParameters:void 0,overridePopupUrlAuthParameters:!1,useWindowReplace:!1,overrideWindowReplaceUri:void 0,waitForLoginPromise:!0,usePopupIdentifier:!1}}mergeWithAuthPopupConfiguration(e){let i={};return this.authPopupConfiguration?i=JSON.parse(JSON.stringify(this.authPopupConfiguration)):i=this._getDefaultAuthPopupConfiguration(),typeof e=="object"&&e&&(typeof e.usePopup=="boolean"&&e.usePopup!==null&&e.usePopup!==void 0&&(i.usePopup=e.usePopup),typeof e.popupTimeout=="number"&&e.popupTimeout!==null&&e.popupTimeout!==void 0&&(i.popupTimeout=e.popupTimeout),typeof e.autoClosePopup=="boolean"&&e.autoClosePopup!==null&&e.autoClosePopup!==void 0&&(i.autoClosePopup=e.autoClosePopup),typeof e.autoClosePopupDelay=="number"&&e.autoClosePopupDelay!==null&&e.autoClosePopupDelay!==void 0&&(i.autoClosePopupDelay=e.autoClosePopupDelay),typeof e.popupTarget=="string"&&e.popupTarget!==null&&e.popupTarget!==void 0&&(i.popupTarget=e.popupTarget),typeof e.popupWindowFeatures=="string"&&e.popupWindowFeatures!==null&&e.popupWindowFeatures!==void 0&&(i.popupWindowFeatures=e.popupWindowFeatures),typeof e.overridePopupUrl=="string"&&e.overridePopupUrl!==null&&e.overridePopupUrl!==void 0&&(i.overridePopupUrl=e.overridePopupUrl),typeof e.overridePopupUrlParameters=="object"&&e.overridePopupUrlParameters!==null&&e.overridePopupUrlParameters!==void 0&&(i.overridePopupUrlParameters=e.overridePopupUrlParameters),typeof e.overridePopupUrlAuthParameters=="boolean"&&e.overridePopupUrlAuthParameters!==null&&e.overridePopupUrlAuthParameters!==void 0&&(i.overridePopupUrlAuthParameters=e.overridePopupUrlAuthParameters),typeof e.notifyPopup=="boolean"&&e.notifyPopup!==null&&e.notifyPopup!==void 0&&(i.notifyPopup=e.notifyPopup),typeof e.waitForLoginPromise=="boolean"&&e.waitForLoginPromise!==null&&e.waitForLoginPromise!==void 0&&(i.waitForLoginPromise=e.waitForLoginPromise),typeof e.useWindowReplace=="boolean"&&e.useWindowReplace!==null&&e.useWindowReplace!==void 0&&(i.useWindowReplace=e.useWindowReplace),typeof e.overrideWindowReplaceUri=="string"&&e.overrideWindowReplaceUri!==null&&e.overrideWindowReplaceUri!==void 0&&(i.overrideWindowReplaceUri=e.overrideWindowReplaceUri),typeof e.usePopupIdentifier=="boolean"&&e.usePopupIdentifier!==null&&e.usePopupIdentifier!==void 0&&(i.usePopupIdentifier=e.usePopupIdentifier)),i}getAuthPopupConfiguration(){return this.authPopupConfiguration}setAuthPopupConfiguration(e){this.authPopupConfiguration=this._getDefaultAuthPopupConfiguration(),this.authPopupConfiguration=this.mergeWithAuthPopupConfiguration(e)}updateAuthPopupConfiguration(e){this.authPopupConfiguration=this.mergeWithAuthPopupConfiguration(e)}setEnvironment(e){e?this.environment=e:this.environment=this.host?this.host:"mypurecloud.com",this.environment=this.environment.replace(/\/+$/,""),this.environment.startsWith("https://")&&(this.environment=this.environment.substring(8)),this.environment.startsWith("http://")&&(this.environment=this.environment.substring(7)),this.environment.startsWith("api.")&&(this.environment=this.environment.substring(4)),this.basePath=`https://api.${this.environment}`,this.authUrl=`https://login.${this.environment}`}getConfUrl(e,i){if(!this.gateway||!this.gateway.host)return i;var n=this.gateway.protocol+"://"+this.gateway.host;return this.gateway.port>-1&&(n=n+":"+this.gateway.port.toString()),e==="login"?this.gateway.path_params_login&&(this.gateway.path_params_login.startsWith("/")?n=n+this.gateway.path_params_login:n=n+"/"+this.gateway.path_params_login):this.gateway.path_params_api&&(this.gateway.path_params_api.startsWith("/")?n=n+this.gateway.path_params_api:n=n+"/"+this.gateway.path_params_api),n}getConfigString(e,i){if(this.config._sections[e])return this.config._sections[e][i]}getConfigBoolean(e,i){if(this.config._sections[e]&&this.config._sections[e][i]!==void 0)return typeof this.config._sections[e][i]=="string"?this.config._sections[e][i]==="true":this.config._sections[e][i]}getConfigInt(e,i){if(this.config._sections[e]&&this.config._sections[e][i])return typeof this.config._sections[e][i]=="string"?parseInt(this.config._sections[e][i]):this.config._sections[e][i]}},k=class t{get instance(){return t.instance}set instance(e){t.instance=e}constructor(){t.instance||(t.instance=this),this.CollectionFormatEnum={CSV:",",SSV:" ",TSV:" ",PIPES:"|",MULTI:"multi"},this.useLegacyParameterFilter=!1,typeof window<"u"&&(this._handleAuthPopupMessage=this._handleAuthPopupMessage.bind(this)),this._listenersAuthPopupStatus=[],this._authPopupWindow=null,this._checkPopupTimeout=null,this._notifyPopupInterval=null,this._popupIdentifier=null,this.onAuthPopupStatus=null;try{localStorage.setItem("purecloud_local_storage_test","purecloud_local_storage_test"),localStorage.removeItem("purecloud_local_storage_test"),this.hasLocalStorage=!0}catch{this.hasLocalStorage=!1}this.authentications={"Guest Chat JWT":{type:"apiKey",in:"header",name:"Authorization"},"PureCloud OAuth":{type:"oauth2"}},this.defaultHeaders={},this.timeout=16e3,this.authData={},this.settingsPrefix="purecloud",this.refreshInProgress=!1,this.httpClient,this.proxyAgent,this.config=new VC,typeof window<"u"&&(window.ApiClient=this)}setReturnExtendedResponses(e){this.returnExtended=e}setPersistSettings(e,i){this.persistSettings=e,this.settingsPrefix=i?i.replace(/\W+/g,"_"):"purecloud"}_saveSettings(e){try{if(this.authData.accessToken=e.accessToken,this.authentications["PureCloud OAuth"].accessToken=e.accessToken,e.state&&(this.authData.state=e.state),this.authData.error=e.error,this.authData.error_description=e.error_description,e.tokenExpiryTime&&(this.authData.tokenExpiryTime=e.tokenExpiryTime,this.authData.tokenExpiryTimeString=e.tokenExpiryTimeString),this.persistSettings!==!0||!this.hasLocalStorage)return;let i=JSON.parse(JSON.stringify(this.authData));delete i.state,localStorage.setItem(`${this.settingsPrefix}_auth_data`,JSON.stringify(i))}catch(i){console.error(i)}}_loadSettings(){if(this.persistSettings!==!0||!this.hasLocalStorage)return;let e=this.authData.state;this.authData=localStorage.getItem(`${this.settingsPrefix}_auth_data`),this.authData?this.authData=JSON.parse(this.authData):this.authData={},this.authData.accessToken&&this.setAccessToken(this.authData.accessToken),this.authData.state=e}_clearSettings(){try{if(this.authData&&this.authData.accessToken&&(this.authData.accessToken=null),this.authentications["PureCloud OAuth"]&&this.authentications["PureCloud OAuth"].accessToken&&(this.authentications["PureCloud OAuth"].accessToken=null),this.authData&&this.authData.state&&(this.authData.state=null),this.authData&&this.authData.error&&(this.authData.error=null),this.authData&&this.authData.error_description&&(this.authData.error_description=null),this.authData&&this.authData.tokenExpiryTime&&(this.authData.tokenExpiryTime=0),this.authData&&this.authData.tokenExpiryTimeString&&(this.authData.tokenExpiryTimeString=null),this.persistSettings!==!0||!this.hasLocalStorage)return;let e=JSON.parse(JSON.stringify(this.authData));delete e.state,localStorage.setItem(`${this.settingsPrefix}_auth_data`,JSON.stringify(e))}catch(e){console.error(e)}}setEnvironment(e){this.config.setEnvironment(e)}setAuthData(e){this._saveSettings(e)}clearAuthData(){this._clearSettings()}getAuthPopupConfiguration(){return this.config.getAuthPopupConfiguration()}setAuthPopupConfiguration(e){this.config.setAuthPopupConfiguration(e)}updateAuthPopupConfiguration(e){this.config.updateAuthPopupConfiguration(e)}setDefaultHeaders(e){if(!e||typeof e!="object")throw new Error("default headers must be a map");this.defaultHeaders=e}getDefaultHeaders(){return this.defaultHeaders}setGenesysAppHeader(e){if(!e||typeof e!="string")throw new Error("headerValue must be a non empty string");this.defaultHeaders?this.defaultHeaders["Genesys-App"]=e:this.defaultHeaders={"Genesys-App":e}}getGenesysAppHeader(){return this.defaultHeaders&&this.defaultHeaders["Genesys-App"]?this.defaultHeaders["Genesys-App"]:null}setHttpClient(e){if(!(e instanceof bl))throw new Error("httpclient must be an instance of AbstractHttpClient. See DefaultltHttpClient for a prototype");this.httpClient=e}getHttpClient(){return this.httpClient?this.httpClient:(this.httpClient=new Kp(this.timeout,this.proxyAgent),this.httpClient)}setMTLSCertificates(e,i,n){if(typeof window>"u"){let a={};e&&(a.cert=require("fs").readFileSync(e)),i&&(a.key=require("fs").readFileSync(i)),n&&(a.ca=require("fs").readFileSync(n)),a.rejectUnauthorized=!0,this.proxyAgent=new require("https").Agent(a),this.getHttpClient().setHttpsAgent(this.proxyAgent)}else throw new Error("MTLS authentication is managed by the Browser itself. MTLS certificates cannot be set via code on Browser.")}setPreHook(e){this.getHttpClient().setPreHook(e)}setPostHook(e){this.getHttpClient().setPostHook(e)}setMTLSContents(e,i,n){if(typeof window>"u"){let a={};e&&(a.cert=e),i&&(a.key=i),n&&(a.ca=n),a.rejectUnauthorized=!0,this.proxyAgent=new require("https").Agent(a),this.getHttpClient().setHttpsAgent(this.proxyAgent)}else throw new Error("MTLS authentication is managed by the Browser itself. MTLS certificates cannot be set via code on Browser.")}setGateway(e){this.config.setGateway(e)}addAuthPopupStatusListener(e){typeof e=="function"&&e&&(this._listenersAuthPopupStatus||(this._listenersAuthPopupStatus=[]),this._listenersAuthPopupStatus.push(e))}removeAuthPopupStatusListener(e){if(e){if(!this._listenersAuthPopupStatus||this._listenersAuthPopupStatus.length==0)return;this._listenersAuthPopupStatus=this._listenersAuthPopupStatus.filter(i=>i!==e)}}removeAllAuthPopupStatusListeners(){this._listenersAuthPopupStatus&&(this._listenersAuthPopupStatus=[])}_emitAuthPopupStatus(e,i,n){this.onAuthPopupStatus&&this.onAuthPopupStatus(e,i,n),!(!this._listenersAuthPopupStatus||this._listenersAuthPopupStatus.length==0)&&this._listenersAuthPopupStatus.forEach(a=>a(e,i,n))}_generatePopupIdentifier(e){if(e<8||e>64)throw new Error("Popup Identifier (length) must be between 8 and 64 characters");if(typeof window>"u")try{let i=require("crypto").getRandomValues,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~";return Array.from(i(new Uint32Array(e))).map(r=>n[r%n.length]).join("")}catch{throw new Error("Crypto module is missing/not supported.")}else{let i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~";return Array.from(crypto.getRandomValues(new Uint32Array(e))).map(a=>i[a%i.length]).join("")}}_startAuthPopup(e,i,n){try{n||(n={}),this._checkPopupTimeout&&clearTimeout(this._checkPopupTimeout),this._checkPopupTimeout=null,this._notifyPopupInterval&&clearInterval(this._notifyPopupInterval),this._notifyPopupInterval=null,window.removeEventListener("message",this._handleAuthPopupMessage),this._authPopupWindow&&(n.autoClosePopup===!0&&!this._authPopupWindow.closed&&this._authPopupWindow.close(),this._popupIdentifier&&this._emitAuthPopupStatus("ABORTED","Previous Authorization Popup aborted.",this._popupIdentifier),this._popupIdentifier=null),this._authPopupWindow=null,this._popupIdentifier=this._generatePopupIdentifier(16),this._emitAuthPopupStatus("INIT","Authorization Popup Starting",this._popupIdentifier);let a=e;if(n.overridePopupUrl){let r=null;n.overridePopupUrlAuthParameters===!0&&i?n.overridePopupUrlParameters?r={...i,...n.overridePopupUrlParameters}:r=i:n.overridePopupUrlParameters&&(r=n.overridePopupUrlParameters),r?a=`${n.overridePopupUrl}?${new URLSearchParams(r).toString()}`:a=n.overridePopupUrl}return new Promise((r,s)=>{window.addEventListener("message",o=>this._handleAuthPopupMessage(o,n,r,s)),this._authPopupWindow=window.open(a,n.popupTarget,n.popupWindowFeatures),n.notifyPopup===!0&&(this._notifyPopupInterval=setInterval(function(){if(this._authPopupWindow){let o=new URL(this.redirectUri),l={name:"gc_auth_popup",type:"notify"};n.usePopupIdentifier===!0&&this._popupIdentifier&&(l.identifier=this._popupIdentifier),this._authPopupWindow.postMessage(l,`${o.protocol}//${o.host}`)}else clearInterval(this.notifyPopupInterval),this._notifyPopupInterval=null}.bind(this),1e3)),this._checkPopupTimeout=setTimeout(function(){return this._emitAuthPopupStatus("TIMEOUT","Authorization Popup Timeout",this._popupIdentifier),window.removeEventListener("message",this._handleAuthPopupMessage),n.autoClosePopup===!0&&n.autoClosePopupDelay>0?setTimeout(function(){this._authPopupWindow&&(this._authPopupWindow.closed||this._authPopupWindow.close(),this._authPopupWindow=null)}.bind(this),n.autoClosePopupDelay):(n.autoClosePopup===!0&&this._authPopupWindow&&(this._authPopupWindow.closed||this._authPopupWindow.close()),this._authPopupWindow=null),this._checkPopupTimeout=null,this._notifyPopupInterval&&clearInterval(this._notifyPopupInterval),this._notifyPopupInterval=null,s(new Error("Authentication Popup Timeout"))}.bind(this),n.popupTimeout)})}catch(a){throw console.error(a),a}}_extractValuesFromSearchAndHash(e,i){let n={};if(e&&e!=="?"){let a=new URLSearchParams(e),r=a.get("code");r&&(n.code=r);let s=a.get("state");s&&(n.state=s);let o=a.get("error");o&&(n.error=o);let l=a.get("error_description");l&&(n.error_description=l)}if(i&&i!=="#"){let a=new URLSearchParams(i.substring(1)),r=a.get("access_token");r&&(n.accessToken=r);let s=a.get("expires_in");s&&(n.tokenExpiryTime=new Date().getTime()+parseInt(s)*1e3,n.tokenExpiryTimeString=new Date(n.tokenExpiryTime).toUTCString());let o=a.get("state");o&&(n.state=o);let l=a.get("error");l&&(n.error=l);let u=a.get("error_description");u&&(n.error_description=u)}return n}_handleAuthPopupMessage(e,i,n,a){if(this.redirectUri.startsWith(e.origin)&&e.data&&typeof e.data=="object"){let r=JSON.parse(JSON.stringify(e.data));if(r&&r.name==="gc_auth_popup"&&r.type==="message"){if(this._checkPopupTimeout&&clearTimeout(this._checkPopupTimeout),this._checkPopupTimeout=null,this._notifyPopupInterval&&clearInterval(this._notifyPopupInterval),this._notifyPopupInterval=null,window.removeEventListener("message",this._handleAuthPopupMessage),i.usePopupIdentifier===!0&&r.identifier&&r.identifier!==this._popupIdentifier)return this._emitAuthPopupStatus("Error","Invalid Popup Identifier received",this._popupIdentifier),s.accessToken=void 0,this._saveSettings(s),a(new Error("Invalid Popup Identifier received"));i.autoClosePopup===!0&&i.autoClosePopupDelay>0?setTimeout(function(){this._authPopupWindow&&(this._authPopupWindow.closed||this._authPopupWindow.close(),this._authPopupWindow=null)}.bind(this),i.autoClosePopupDelay):(i.autoClosePopup===!0&&this._authPopupWindow&&(this._authPopupWindow.closed||this._authPopupWindow.close()),this._authPopupWindow=null);let s={},o=null,l=null;if(r.auth&&typeof r.auth=="object"?(s=r.auth,o=`?${new URLSearchParams(s).toString()}`):(r.search&&r.search!=="?"&&(o=r.search),r.hash&&r.hash!=="#"&&(l=r.hash),s=this._extractValuesFromSearchAndHash(o,l)),!s.error&&!s.accessToken&&!s.code&&(s.error="InvalidAuthParams",s.error_description="Missing Auth Params on URL Redirect"),s.error)return this._emitAuthPopupStatus("AUTH_ERROR",`Auth Error: [${s.error}] ${s.error_description}`,this._popupIdentifier),s.accessToken=void 0,this._saveSettings(s),a(new Error(`Auth Error: [${s.error}] ${s.error_description}`));i.useWindowReplace===!0?(this._emitAuthPopupStatus("REDIRECTING","Authorization Popup Completed",this._popupIdentifier),this._popupIdentifier=null,i.overrideWindowReplaceUri?window.location.replace(`${i.overrideWindowReplaceUri}${o||""}${l||""}`):window.location.replace(`${window.location.origin}${window.location.pathname}${o||""}${l||""}`),n(null)):s&&s.accessToken?(this._saveSettings(s),this._testTokenAccess().then(()=>{this._emitAuthPopupStatus("AUTHENTICATED","Authorization Popup Completed",this._popupIdentifier),this._popupIdentifier=null,n(s)}).catch(u=>(this._emitAuthPopupStatus("AUTH_ERROR",`Auth Error: [${u.name}] ${u.message}`,this._popupIdentifier),this._popupIdentifier=null,this._saveSettings({accessToken:void 0}),a(new Error(`[${u.name}] ${u.message}`))))):s&&s.code&&(this.codeVerifier||this.hasLocalStorage&&(this.codeVerifier=sessionStorage.getItem(`${this.settingsPrefix}_pkce_code_verifier`)),this.authorizePKCEGrant(this.clientId,this.codeVerifier,s.code,this.redirectUri).then(()=>{this._testTokenAccess().then(()=>{this._emitAuthPopupStatus("AUTHENTICATED","Authorization Popup Completed",this._popupIdentifier),this._popupIdentifier=null,!this.authData.state&&s.state&&(this.authData.state=s.state),this.hasLocalStorage&&(sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier"),sessionStorage.removeItem(`${this.settingsPrefix}_pkce_code_verifier`)),n(this.authData)}).catch(u=>(this._emitAuthPopupStatus("AUTH_ERROR",`Auth Error: [${u.name}] ${u.message}`,this._popupIdentifier),this._popupIdentifier=null,this._saveSettings({accessToken:void 0}),this.hasLocalStorage&&(sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier"),sessionStorage.removeItem(`${this.settingsPrefix}_pkce_code_verifier`)),a(new Error(`[${u.name}] ${u.message}`))))}).catch(u=>(this._emitAuthPopupStatus("AUTH_ERROR",`Auth Error: [${u.name}] ${u.message}`,this._popupIdentifier),this._popupIdentifier=null,this._saveSettings({accessToken:void 0}),this.hasLocalStorage&&(sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier"),sessionStorage.removeItem(`${this.settingsPrefix}_pkce_code_verifier`)),a(new Error(`[${u.name}] ${u.message}`)))))}}}loginImplicitGrant(e,i,n){let a=this._setValuesFromUrlHash();return this.clientId=e,this.redirectUri=i,n||(n={}),new Promise((r,s)=>{if(n.org&&!n.provider?s(new Error("opts.provider must be set if opts.org is set")):n.provider&&!n.org&&s(new Error("opts.org must be set if opts.provider is set")),a&&a.error)return a.accessToken=void 0,this._saveSettings(a),s(new Error(`[${a.error}] ${a.error_description}`));this._testTokenAccess().then(()=>{!this.authData.state&&n.state&&(this.authData.state=n.state),r(this.authData)}).catch(o=>{var l={client_id:this.clientId,redirect_uri:this.redirectUri,response_type:"token"};n.state&&(l.state=n.state),n.org&&(l.org=n.org),n.provider&&(l.provider=n.provider),n.target&&(l.target=n.target),n.login_hint&&(l.login_hint=n.login_hint),n.prompt&&n.prompt=="login"&&(l.prompt=n.prompt);let u=this.config.mergeWithAuthPopupConfiguration(n.authPopupConfiguration);var c=this._buildAuthUrl("oauth/authorize",l);u.usePopup===!0?this._startAuthPopup(c,l,u).then(p=>{r(p)}).catch(p=>s(new Error(`[${p.name}] ${p.message}`))):window.location.replace(c)})})}loginClientCredentialsGrant(e,i){this.clientId=e;var n=Buffer.from(`${e}:${i}`).toString("base64"),a=this.config.getConfUrl("login",`https://login.${this.config.environment}`);return new Promise((r,s)=>{if(typeof window<"u"){s(new Error("The client credentials grant is not supported in a browser."));return}let o={Authorization:`Basic ${n}`};var l=new Zt(`${a}/oauth/token`,"POST",o,null,"grant_type=client_credentials",this.timeout);this.getHttpClient().request(l).then(c=>{this.config.logger.log("trace",c.status,"POST",`${a}/oauth/token`,o,c.headers,{grant_type:"client_credentials"},void 0),this.config.logger.log("debug",c.status,"POST",`${a}/oauth/token`,o,void 0,{grant_type:"client_credentials"},void 0),this.setAccessToken(c.data.access_token),this.authData.tokenExpiryTime=new Date().getTime()+c.data.expires_in*1e3,this.authData.tokenExpiryTimeString=new Date(this.authData.tokenExpiryTime).toUTCString(),r(this.authData)}).catch(c=>{c.response&&this.config.logger.log("error",c.response.status,"POST",`${a}/oauth/token`,o,c.response.headers,{grant_type:"client_credentials"},c.response.data),s(c)})})}loginSaml2BearerGrant(e,i,n,a){this.clientId=e;var r=this.config.getConfUrl("login",`https://login.${this.config.environment}`);return new Promise((s,o)=>{if(typeof window<"u"){o(new Error("The saml2bearer grant is not supported in a browser."));return}var l=Buffer.from(e+":"+i).toString("base64"),u=this._formAuthRequest(l,{grant_type:"urn:ietf:params:oauth:grant-type:saml2-bearer",orgName:n,assertion:a});u.proxy=this.proxy;var c={grant_type:"urn:ietf:params:oauth:grant-type:saml2-bearer",orgName:n,assertion:a};u.then(p=>{this.config.logger.log("trace",p.status,"POST",`${r}/oauth/token`,u.headers,p.headers,c,void 0),this.config.logger.log("debug",p.status,"POST",`${r}/oauth/token`,u.headers,void 0,c,void 0);var d=p.data.access_token;this.setAccessToken(d),this.authData.tokenExpiryTime=new Date().getTime()+p.data.expires_in*1e3,this.authData.tokenExpiryTimeString=new Date(this.authData.tokenExpiryTime).toUTCString(),s(this.authData)}).catch(p=>{p.response&&this.config.logger.log("error",p.response.status,"POST",`${r}/oauth/token`,u.headers,p.response.headers,c,p.response.data),o(p)})})}authorizePKCEGrant(e,i,n,a){this.clientId=e;var r=this.config.getConfUrl("login",`https://login.${this.config.environment}`);return new Promise((s,o)=>{var l={"Content-Type":"application/x-www-form-urlencoded"},u=new URLSearchParams({grant_type:"authorization_code",code:n,code_verifier:i,client_id:e,redirect_uri:a}).toString(),c=new Zt(`${r}/oauth/token`,"POST",l,null,u,this.timeout);let p=this.getHttpClient();var d={grant_type:"authorization_code",code:n,code_verifier:i,client_id:e,redirect_uri:a};p.request(c).then(h=>{this.config.logger.log("trace",h.status,"POST",`${r}/oauth/token`,c.headers,h.headers,d,void 0),this.config.logger.log("debug",h.status,"POST",`${r}/oauth/token`,c.headers,void 0,d,void 0);var g=h.data.access_token;let m={accessToken:g};h.data.expires_in!==null&&h.data.expires_in!==void 0&&(m.tokenExpiryTime=new Date().getTime()+h.data.expires_in*1e3,m.tokenExpiryTimeString=new Date(m.tokenExpiryTime).toUTCString()),this._saveSettings(m),s(this.authData)}).catch(h=>{h.response&&this.config.logger.log("error",h.response.status,"POST",`${r}/oauth/token`,c.headers,h.response.headers,d,h.response.data),o(h)})})}generatePKCECodeVerifier(e){if(e<43||e>128)throw new Error("PKCE Code Verifier (length) must be between 43 and 128 characters");if(typeof window>"u")try{let i=require("crypto").getRandomValues,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~";return Array.from(i(new Uint32Array(e))).map(r=>n[r%n.length]).join("")}catch{throw new Error("Crypto module is missing/not supported.")}else{let i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~";return Array.from(crypto.getRandomValues(new Uint32Array(e))).map(a=>i[a%i.length]).join("")}}computePKCECodeChallenge(e){if(e.length<43||e.length>128)throw new Error("PKCE Code Verifier (length) must be between 43 and 128 characters");if(typeof window>"u")try{let i=require("crypto").createHash,n=new TextEncoder().encode(e);return new Promise((a,r)=>{let s=i("sha256").update(n).digest(),o=Buffer.from(s).toString("base64url");a(o)})}catch{throw new Error("Crypto module is missing/not supported.")}else{let i=new TextEncoder().encode(e);return new Promise((n,a)=>{window.crypto.subtle.digest("SHA-256",i).then(r=>{let o=btoa(String.fromCharCode(...new Uint8Array(r))).replaceAll("+","-").replaceAll("/","_");o=o.split("=")[0],n(o)}).catch(r=>a(new Error(`Code Challenge Error ${r}`)))})}}loginPKCEGrant(e,i,n,a){if(!this.hasLocalStorage&&!a)throw new Error("loginPKCEGrant requires Local Storage or codeVerifier as input parameter");let r=this._setValuesFromUrlQuery();return this.clientId=e,this.redirectUri=i,this.codeVerifier=a,n||(n={}),new Promise((s,o)=>{if(n.org&&!n.provider)return o(new Error("opts.provider must be set if opts.org is set"));if(n.provider&&!n.org)return o(new Error("opts.org must be set if opts.provider is set"));if(r&&r.error)return this.hasLocalStorage&&(sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier"),sessionStorage.removeItem(`${this.settingsPrefix}_pkce_code_verifier`)),this._saveSettings({accessToken:void 0}),o(new Error(`[${r.error}] ${r.error_description}`));r&&r.code?(this.codeVerifier||this.hasLocalStorage&&(this.codeVerifier=sessionStorage.getItem(`${this.settingsPrefix}_pkce_code_verifier`)),this.authorizePKCEGrant(this.clientId,this.codeVerifier,r.code,this.redirectUri).then(()=>{this._testTokenAccess().then(()=>{!this.authData.state&&r.state&&(this.authData.state=r.state),this.hasLocalStorage&&(sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier"),sessionStorage.removeItem(`${this.settingsPrefix}_pkce_code_verifier`)),s(this.authData)}).catch(l=>(this._saveSettings({accessToken:void 0}),this.hasLocalStorage&&(sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier"),sessionStorage.removeItem(`${this.settingsPrefix}_pkce_code_verifier`)),o(new Error(`[${l.name}] ${l.message}`))))}).catch(l=>(this._saveSettings({accessToken:void 0}),this.hasLocalStorage&&(sessionStorage.removeItem("genesys_cloud_sdk_pkce_code_verifier"),sessionStorage.removeItem(`${this.settingsPrefix}_pkce_code_verifier`)),o(new Error(`[${l.name}] ${l.message}`))))):this._testTokenAccess().then(()=>{!this.authData.state&&n.state&&(this.authData.state=n.state),s(this.authData)}).catch(l=>{this.codeVerifier||(this.codeVerifier=this.generatePKCECodeVerifier(128),this.hasLocalStorage&&(sessionStorage.setItem("genesys_cloud_sdk_pkce_code_verifier",this.codeVerifier),sessionStorage.setItem(`${this.settingsPrefix}_pkce_code_verifier`,this.codeVerifier))),this.computePKCECodeChallenge(this.codeVerifier).then(u=>{var c={client_id:this.clientId,redirect_uri:this.redirectUri,code_challenge:u,response_type:"code",code_challenge_method:"S256"};n.state&&(c.state=n.state),n.org&&(c.org=n.org),n.provider&&(c.provider=n.provider),n.target&&(c.target=n.target),n.login_hint&&(c.login_hint=n.login_hint),n.prompt&&n.prompt=="login"&&(c.prompt=n.prompt);let p=this.config.mergeWithAuthPopupConfiguration(n.authPopupConfiguration);var d=this._buildAuthUrl("oauth/authorize",c);p.usePopup===!0?this._startAuthPopup(d,c,p).then(h=>{s(h)}).catch(h=>o(new Error(`[${h.name}] ${h.message}`))):window.location.replace(d)}).catch(u=>o(new Error(`[${u.name}]`)))})})}_setValuesFromUrlQuery(){if(!(typeof window<"u"&&window.location.search))return;let e={},i=new URLSearchParams(window.location.search),n=i.get("code"),a=i.get("error"),r=i.get("error_description"),s=i.get("state");if(a)return e.error=a,r&&(e.error_description=r),e;n&&(e.code=n,s&&(e.state=s));var o,l,u=window.location;return"replaceState"in history?history.replaceState("",document.title,u.pathname):(o=document.body.scrollTop,l=document.body.scrollLeft,history.pushState("",document.title,u.pathname),document.body.scrollTop=o,document.body.scrollLeft=l),e}loginCodeAuthorizationGrant(e,i,n,a){return this.clientId=e,this.clientSecret=i,new Promise((r,s)=>{if(typeof window<"u"){s(new Error("The Code Authorization grant is not supported in a browser."));return}var o=Buffer.from(e+":"+i).toString("base64"),l=this._formAuthRequest(o,{grant_type:"authorization_code",code:n,redirect_uri:a});l.proxy=this.proxy;var u={grant_type:"authorization_code",code:n,redirect_uri:a};this._handleCodeAuthorizationResponse(l,u,r,s)})}refreshCodeAuthorizationGrant(e,i,n){return new Promise((a,r)=>{if(typeof window<"u"){r(new Error("The Code Authorization grant is not supported in a browser."));return}var s=Buffer.from(e+":"+i).toString("base64"),o=this._formAuthRequest(s,{grant_type:"refresh_token",refresh_token:n});o.proxy=this.proxy;var l={grant_type:"refresh_token",refresh_token:n};this._handleCodeAuthorizationResponse(o,l,a,r)})}_handleCodeAuthorizationResponse(e,i,n,a){var r=this.config.getConfUrl("login",`https://login.${this.config.environment}`);e.then(s=>{this.config.logger.log("trace",s.status,"POST",`${r}/oauth/token`,e.headers,s.headers,i,void 0),this.config.logger.log("debug",s.status,"POST",`${r}/oauth/token`,e.headers,void 0,i,void 0);var o=s.data.access_token,l=s.data.refresh_token;this.setAccessToken(o),this.authData.refreshToken=l,this.authData.tokenExpiryTime=new Date().getTime()+s.data.expires_in*1e3,this.authData.tokenExpiryTimeString=new Date(this.authData.tokenExpiryTime).toUTCString(),n(this.authData)}).catch(s=>{s.response&&this.config.logger.log("error",s.response.status,"POST",`${r}/oauth/token`,e.headers,s.response.headers,i,s.response.data),a(s)})}_formAuthRequest(e,i){var n=this.config.getConfUrl("login",`https://login.${this.config.environment}`),a={Authorization:"Basic "+e,"Content-Type":"application/x-www-form-urlencoded"},r=new URLSearchParams(i).toString(),s=new Zt(`${n}/oauth/token`,"POST",a,null,r,this.timeout);return this.getHttpClient().request(s)}_handleExpiredAccessToken(){return new Promise((e,i)=>{if(typeof window<"u"){i(new Error("This method is not supported in a browser."));return}this.refreshInProgress?this._sleep(this.config.refresh_token_wait_max).then(()=>{this.refreshInProgress?i(new Error(`Token refresh took longer than ${this.config.refresh_token_wait_max} seconds`)):e()}):(this.refreshInProgress=!0,this.refreshCodeAuthorizationGrant(this.clientId,this.clientSecret,this.authData.refreshToken).then(()=>{this.refreshInProgress=!1,e()}).catch(n=>{this.refreshInProgress=!1,i(n)}))})}_sleep(e){return new Promise(i=>setTimeout(i,e))}_testTokenAccess(){return new Promise((e,i)=>{if(this._loadSettings(),!this.authentications["PureCloud OAuth"].accessToken){i(new Error("Token is not set"));return}this.callApi("/api/v2/tokens/me","GET",null,null,null,null,null,["PureCloud OAuth"],["application/json"],["application/json"]).then(()=>{e()}).catch(n=>{this._saveSettings({accessToken:void 0}),i(n)})})}_setValuesFromUrlHash(){if(!(typeof window<"u"&&window.location.hash))return;let e=new RegExp("^#*(.+?)=(.+?)$","i"),i={};if(window.location.hash.split("&").forEach(s=>{let o=e.exec(s);o&&(i[o[1]]=decodeURIComponent(decodeURIComponent(o[2].replace(/\+/g,"%20"))))}),i.error)return i;if(i.access_token){let s={};i.state&&(s.state=i.state),i.expires_in&&(s.tokenExpiryTime=new Date().getTime()+parseInt(i.expires_in.replace(/\+/g,"%20"))*1e3,s.tokenExpiryTimeString=new Date(s.tokenExpiryTime).toUTCString()),s.accessToken=i.access_token.replace(/\+/g,"%20");var n,a,r=window.location;"replaceState"in history?history.replaceState("",document.title,r.pathname+r.search):(n=document.body.scrollTop,a=document.body.scrollLeft,r.hash="",document.body.scrollTop=n,document.body.scrollLeft=a),this._saveSettings(s)}}setAccessToken(e){this._saveSettings({accessToken:e})}clearAccessToken(){this._clearSettings()}setStorageKey(e){this.storageKey=e,this.setAccessToken(this.authentications["PureCloud OAuth"].accessToken)}logout(e){this.hasLocalStorage&&this._saveSettings({accessToken:void 0,state:void 0,tokenExpiryTime:void 0,tokenExpiryTimeString:void 0});var i={client_id:this.clientId};e&&(i.redirect_uri=e);var n=this._buildAuthUrl("logout",i);window.location.replace(n)}_buildAuthUrl(e,i){var n=this.config.getConfUrl("login",this.config.authUrl);return i?`${n}/${e}?${new URLSearchParams(i).toString()}`:`${n}/${e}`}setUseLegacyParameterFilter(e){this.useLegacyParameterFilter=e}getUseLegacyParameterFilter(){return this.useLegacyParameterFilter}paramToString(e){if(this.useLegacyParameterFilter!==!0&&e!=null){if(typeof e=="boolean")return e.toString().toLowerCase();if(e instanceof Boolean)return e.toString().toLowerCase();if(typeof e=="number")return e.toString()}return e?e instanceof Date?e.toJSON():e instanceof Boolean?e.toString().toLowerCase():e.toString():""}serialize(e){var i={};for(var n in e)e.hasOwnProperty(n)&&e[n]!==void 0&&(i[encodeURIComponent(n)]=Array.isArray(e[n])?e[n].join(","):this.paramToString(e[n]));return i}addHeaders(e,...i){return e?e=Object.assign(e,...i):e=Object.assign(...i),e}buildUrl(e,i){e.match(/^\//)||(e=`/${e}`);var n=this.config.getConfUrl("api",this.config.basePath)+e;return n=n.replace(/\{([\w-]+)\}/g,(a,r)=>{var s;return i.hasOwnProperty(r)?s=this.paramToString(i[r]):s=a,encodeURIComponent(s)}),n}isJsonMime(e){return!!(e&&e.match(/^application\/json(;.*)?$/i))}jsonPreferredMime(e){for(var i=0;i"u"&&typeof require=="function"&&require("fs")&&e instanceof require("fs").ReadStream||typeof Buffer=="function"&&e instanceof Buffer||typeof Blob=="function"&&e instanceof Blob||typeof File=="function"&&e instanceof File)}normalizeParams(e){var i={};for(var n in e)if(e.hasOwnProperty(n)&&e[n]!==void 0){var a=e[n];this.isFileParam(a)||Array.isArray(a)?i[n]=a:i[n]=this.paramToString(a)}return i}buildCollectionParam(e,i){if(e)switch(Array.isArray(e)||(e=[e]),i){case"csv":return e.map(n=>this.paramToString(n)).join(",");case"ssv":return e.map(n=>this.paramToString(n)).join(" ");case"tsv":return e.map(n=>this.paramToString(n)).join(" ");case"pipes":return e.map(n=>this.paramToString(n)).join("|");case"multi":return e.map(n=>this.paramToString(n));default:throw new Error(`Unknown collection format: ${i}`)}}applyAuthToRequest(e,i){i.forEach(n=>{var a=this.authentications[n];switch(a.type){case"basic":(a.username||a.password)&&(e.auth={username:a.username||"",password:a.password||""});break;case"apiKey":if(a.apiKey){var r={};a.apiKeyPrefix?r[a.name]=`${a.apiKeyPrefix} ${a.apiKey}`:r[a.name]=a.apiKey,a.in==="header"?e.headers=this.addHeaders(e.headers,r):(e.setParams(this.serialize(r)),e.headers=this.addHeaders(e.headers,{}))}else e.headers=this.addHeaders(e.headers,{});break;case"oauth2":a.accessToken?e.headers=this.addHeaders(e.headers,{Authorization:`Bearer ${a.accessToken}`}):e.headers=this.addHeaders(e.headers,{});break;default:throw new Error(`Unknown authentication type: ${a.type}`)}})}setProxyAgent(e){this.proxyAgent=e,this.getHttpClient().setHttpsAgent(this.proxyAgent)}callApi(e,i,n,a,r,s,o,l,u,c,p){return new Promise((d,h)=>{g(this);function g(m){var f=m.buildUrl(e,n),w=new Zt(f,i,null,m.serialize(a),null,m.timeout);m.applyAuthToRequest(w,l);let b=m.defaultHeaders,A=m.normalizeParams(r);if(w.headers=m.addHeaders(w.headers,b,A),p){if(typeof p!="object")throw new Error("Per-request headers must be a valid object");for(let[M,X]of Object.entries(p)){if(typeof M!="string"||typeof X!="string")throw new Error(`Invalid header: "${M}" must have string name and value`);if(!/^[!#$%&'*+\-.0-9A-Z^_`a-z|~]+$/.test(M))throw new Error(`Invalid header name: "${M}" - must be a valid HTTP token`);for(let Pe=0;Pe=33&&Oe<=126||Oe===32||Oe===9||Oe>=128&&Oe<=255))throw new Error(`Invalid header value for "${M}": contains invalid characters`)}w.headers[M]=X}}var y=m.jsonPreferredMime(u);if(y?w.headers["Content-Type"]=y:w.headers["Content-Type"]||(w.headers["Content-Type"]="application/json"),y==="application/x-www-form-urlencoded")w.setData(m.normalizeParams(s));else if(y=="multipart/form-data"){var O=m.normalizeParams(s);for(var q in O)if(O.hasOwnProperty(q)){var W=new FormData;W.set(q,O[q]),w.setData(W)}}else o&&w.setData(o);var ie=m.jsonPreferredMime(c);ie&&(w.headers.Accept=ie),m.getHttpClient().request(w).then(M=>{var X=m.returnExtended===!0?{status:M.status,statusText:M.statusText,headers:M.headers,body:M.data,text:M.text,error:null}:M.data?M.data:M.text;m.config.logger.log("trace",M.status,i,f,w.headers,M.headers,o,void 0),m.config.logger.log("debug",M.status,i,f,w.headers,void 0,o,void 0),d(X)}).catch(M=>{var X=M;M.response&&M.response.status==401&&m.config.refresh_access_token&&m.authData.refreshToken&&m.authData.refreshToken!==""?m._handleExpiredAccessToken().then(()=>{g(m)}).catch(Pe=>{h(Pe)}):M.response&&(m.config.logger.log("error",M.response.status,i,f,w.headers,M.response.headers,o,M.response.data),X=m.returnExtended===!0?{status:M.response.status,statusText:M.response.statusText,headers:M.response.headers,body:M.response.data,text:M.response.text,error:M}:M.response.data?M.response.data:M.response.text),h(X)})}})}},JC=class{constructor(e){this.apiClient=e||k.instance}deleteAgenticVirtualagentJobs(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling deleteAgenticVirtualagentJobs';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}/jobs","DELETE",{virtualAgentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsSummariesSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "summarySettingId" when calling deleteConversationsSummariesSetting';return this.apiClient.callApi("/api/v2/conversations/summaries/settings/{summarySettingId}","DELETE",{summarySettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteGuideJobs(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling deleteGuideJobs';return this.apiClient.callApi("/api/v2/guides/{guideId}/jobs","DELETE",{guideId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAgenticVirtualagent(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling getAgenticVirtualagent';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}","GET",{virtualAgentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAgenticVirtualagentJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling getAgenticVirtualagentJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getAgenticVirtualagentJob';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}/jobs/{jobId}","GET",{virtualAgentId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAgenticVirtualagents(e){return e=e||{},this.apiClient.callApi("/api/v2/agentic/virtualagents","GET",{},{name:e.name,nameContains:e.nameContains,status:e.status,sortBy:e.sortBy,sortOrder:e.sortOrder,pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsSummariesSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "summarySettingId" when calling getConversationsSummariesSetting';return this.apiClient.callApi("/api/v2/conversations/summaries/settings/{summarySettingId}","GET",{summarySettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsSummariesSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/summaries/settings","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:e.name,sortOrder:e.sortOrder,language:e.language,sortBy:e.sortBy},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGuide(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling getGuide';return this.apiClient.callApi("/api/v2/guides/{guideId}","GET",{guideId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGuideJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling getGuideJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getGuideJob';return this.apiClient.callApi("/api/v2/guides/{guideId}/jobs/{jobId}","GET",{guideId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGuideVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling getGuideVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getGuideVersion';return this.apiClient.callApi("/api/v2/guides/{guideId}/versions/{versionId}","GET",{guideId:e,versionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGuideVersionJob(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling getGuideVersionJob';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getGuideVersionJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getGuideVersionJob';return this.apiClient.callApi("/api/v2/guides/{guideId}/versions/{versionId}/jobs/{jobId}","GET",{guideId:e,versionId:i,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getGuides(e){return e=e||{},this.apiClient.callApi("/api/v2/guides","GET",{},{name:e.name,nameContains:e.nameContains,status:e.status,sortBy:e.sortBy,sortOrder:e.sortOrder,pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGuidesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getGuidesJob';return this.apiClient.callApi("/api/v2/guides/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchAgenticVirtualagent(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling patchAgenticVirtualagent';if(i==null)throw'Missing the required parameter "body" when calling patchAgenticVirtualagent';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}","PATCH",{virtualAgentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchGuide(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling patchGuide';if(i==null)throw'Missing the required parameter "body" when calling patchGuide';return this.apiClient.callApi("/api/v2/guides/{guideId}","PATCH",{guideId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchGuideVersion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling patchGuideVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling patchGuideVersion';if(n==null)throw'Missing the required parameter "body" when calling patchGuideVersion';return this.apiClient.callApi("/api/v2/guides/{guideId}/versions/{versionId}","PATCH",{guideId:e,versionId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAgenticVirtualagentVersionJobs(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling postAgenticVirtualagentVersionJobs';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling postAgenticVirtualagentVersionJobs';if(n==null)throw'Missing the required parameter "body" when calling postAgenticVirtualagentVersionJobs';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}/versions/{versionId}/jobs","POST",{virtualAgentId:e,versionId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAgenticVirtualagents(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAgenticVirtualagents';return this.apiClient.callApi("/api/v2/agentic/virtualagents","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsSummariesPreview(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsSummariesPreview';return this.apiClient.callApi("/api/v2/conversations/summaries/preview","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsSummariesSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsSummariesSettings';return this.apiClient.callApi("/api/v2/conversations/summaries/settings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGuideSessionTurns(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling postGuideSessionTurns';if(i==null||i==="")throw'Missing the required parameter "guideSessionId" when calling postGuideSessionTurns';if(n==null)throw'Missing the required parameter "body" when calling postGuideSessionTurns';return this.apiClient.callApi("/api/v2/guides/{guideId}/sessions/{guideSessionId}/turns","POST",{guideId:e,guideSessionId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postGuideVersionJobs(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling postGuideVersionJobs';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling postGuideVersionJobs';if(n==null)throw'Missing the required parameter "body" when calling postGuideVersionJobs';return this.apiClient.callApi("/api/v2/guides/{guideId}/versions/{versionId}/jobs","POST",{guideId:e,versionId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postGuideVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "guideId" when calling postGuideVersions';return this.apiClient.callApi("/api/v2/guides/{guideId}/versions","POST",{guideId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGuides(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGuides';return this.apiClient.callApi("/api/v2/guides","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGuidesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGuidesJobs';return this.apiClient.callApi("/api/v2/guides/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGuidesUploads(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGuidesUploads';return this.apiClient.callApi("/api/v2/guides/uploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsSummariesSetting(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "summarySettingId" when calling putConversationsSummariesSetting';if(i==null)throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';return this.apiClient.callApi("/api/v2/conversations/summaries/settings/{summarySettingId}","PUT",{summarySettingId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},ZC=class{constructor(e){this.apiClient=e||k.instance}deleteAssistant(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling deleteAssistant';return this.apiClient.callApi("/api/v2/assistants/{assistantId}","DELETE",{assistantId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAssistantQueue(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling deleteAssistantQueue';if(i==null||i==="")throw'Missing the required parameter "queueId" when calling deleteAssistantQueue';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}","DELETE",{assistantId:e,queueId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAssistantQueues(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling deleteAssistantQueues';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues","DELETE",{assistantId:e},{queueIds:i.queueIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAssistantsAgentchecklist(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentChecklistId" when calling deleteAssistantsAgentchecklist';return this.apiClient.callApi("/api/v2/assistants/agentchecklists/{agentChecklistId}","DELETE",{agentChecklistId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAssistant(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistant';return this.apiClient.callApi("/api/v2/assistants/{assistantId}","GET",{assistantId:e},{expand:i.expand,languageVariation:i.languageVariation,fallbackToPrimaryAssistant:i.fallbackToPrimaryAssistant},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAssistantQueue(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistantQueue';if(i==null||i==="")throw'Missing the required parameter "queueId" when calling getAssistantQueue';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}","GET",{assistantId:e,queueId:i},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAssistantQueueUsersJob(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistantQueueUsersJob';if(i==null||i==="")throw'Missing the required parameter "queueId" when calling getAssistantQueueUsersJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getAssistantQueueUsersJob';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}/users/jobs/{jobId}","GET",{assistantId:e,queueId:i,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getAssistantQueues(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistantQueues';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues","GET",{assistantId:e},{before:i.before,after:i.after,pageSize:i.pageSize,expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAssistants(e){return e=e||{},this.apiClient.callApi("/api/v2/assistants","GET",{},{before:e.before,after:e.after,limit:e.limit,pageSize:e.pageSize,name:e.name,expand:e.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAssistantsAgentchecklist(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentChecklistId" when calling getAssistantsAgentchecklist';return this.apiClient.callApi("/api/v2/assistants/agentchecklists/{agentChecklistId}","GET",{agentChecklistId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAssistantsAgentchecklists(e){return e=e||{},this.apiClient.callApi("/api/v2/assistants/agentchecklists","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,namePrefix:e.namePrefix,language:e.language,sortOrder:e.sortOrder,sortBy:e.sortBy,agentChecklistIds:this.apiClient.buildCollectionParam(e.agentChecklistIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAssistantsAgentchecklistsLanguages(e){return e=e||{},this.apiClient.callApi("/api/v2/assistants/agentchecklists/languages","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAssistantsQueues(e){return e=e||{},this.apiClient.callApi("/api/v2/assistants/queues","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,queueIds:e.queueIds,expand:e.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchAssistant(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling patchAssistant';if(i==null)throw'Missing the required parameter "body" when calling patchAssistant';return this.apiClient.callApi("/api/v2/assistants/{assistantId}","PATCH",{assistantId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchAssistantQueues(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling patchAssistantQueues';if(i==null)throw'Missing the required parameter "body" when calling patchAssistantQueues';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues","PATCH",{assistantId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAssistantQueueUsersBulkAdd(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersBulkAdd';if(i==null||i==="")throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersBulkAdd';if(n==null)throw'Missing the required parameter "body" when calling postAssistantQueueUsersBulkAdd';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}/users/bulk/add","POST",{assistantId:e,queueId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAssistantQueueUsersBulkRemove(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersBulkRemove';if(i==null||i==="")throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersBulkRemove';if(n==null)throw'Missing the required parameter "body" when calling postAssistantQueueUsersBulkRemove';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}/users/bulk/remove","POST",{assistantId:e,queueId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAssistantQueueUsersJobs(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersJobs';if(i==null||i==="")throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersJobs';if(n==null)throw'Missing the required parameter "body" when calling postAssistantQueueUsersJobs';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}/users/jobs","POST",{assistantId:e,queueId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAssistantQueueUsersQuery(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersQuery';if(i==null||i==="")throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersQuery';if(n==null)throw'Missing the required parameter "body" when calling postAssistantQueueUsersQuery';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}/users/query","POST",{assistantId:e,queueId:i},{expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAssistants(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAssistants';return this.apiClient.callApi("/api/v2/assistants","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAssistantsAgentchecklists(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAssistantsAgentchecklists';return this.apiClient.callApi("/api/v2/assistants/agentchecklists","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putAssistantQueue(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling putAssistantQueue';if(i==null||i==="")throw'Missing the required parameter "queueId" when calling putAssistantQueue';if(n==null)throw'Missing the required parameter "body" when calling putAssistantQueue';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/queues/{queueId}","PUT",{assistantId:e,queueId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putAssistantsAgentchecklist(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentChecklistId" when calling putAssistantsAgentchecklist';if(i==null)throw'Missing the required parameter "body" when calling putAssistantsAgentchecklist';return this.apiClient.callApi("/api/v2/assistants/agentchecklists/{agentChecklistId}","PUT",{agentChecklistId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},KC=class{constructor(e){this.apiClient=e||k.instance}getAssistantCopilot(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistantCopilot';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/copilot","GET",{assistantId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAssistantsCopilotFeaturesupport(e){return e=e||{},this.apiClient.callApi("/api/v2/assistants/copilot/featuresupport","GET",{},{language:e.language},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putAssistantCopilot(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling putAssistantCopilot';if(i==null)throw'Missing the required parameter "body" when calling putAssistantCopilot';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/copilot","PUT",{assistantId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},QC=class{constructor(e){this.apiClient=e||k.instance}deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","DELETE",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersAgentuiAgentsAutoanswerAgentIdSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","GET",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUsersAgentuiAgentsAutoanswerAgentIdSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';if(i==null)throw'Missing the required parameter "body" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","PATCH",{agentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUsersAgentuiAgentsAutoanswerAgentIdSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';if(i==null)throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","PUT",{agentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},YC=class{constructor(e){this.apiClient=e||k.instance}deleteAlertingAlert(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "alertId" when calling deleteAlertingAlert';return this.apiClient.callApi("/api/v2/alerting/alerts/{alertId}","DELETE",{alertId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAlertingAlertsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/alerting/alerts/all","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteAlertingRule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling deleteAlertingRule';return this.apiClient.callApi("/api/v2/alerting/rules/{ruleId}","DELETE",{ruleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAlertingAlert(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "alertId" when calling getAlertingAlert';return this.apiClient.callApi("/api/v2/alerting/alerts/{alertId}","GET",{alertId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAlertingRule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling getAlertingRule';return this.apiClient.callApi("/api/v2/alerting/rules/{ruleId}","GET",{ruleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchAlertingAlert(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "alertId" when calling patchAlertingAlert';return this.apiClient.callApi("/api/v2/alerting/alerts/{alertId}","PATCH",{alertId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchAlertingAlertsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/alerting/alerts/all","PATCH",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchAlertingAlertsBulk(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchAlertingAlertsBulk';return this.apiClient.callApi("/api/v2/alerting/alerts/bulk","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchAlertingRulesBulk(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchAlertingRulesBulk';return this.apiClient.callApi("/api/v2/alerting/rules/bulk","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAlertingAlertsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/alerting/alerts/query","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postAlertingRules(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAlertingRules';return this.apiClient.callApi("/api/v2/alerting/rules","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAlertingRulesBulkRemove(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAlertingRulesBulkRemove';return this.apiClient.callApi("/api/v2/alerting/rules/bulk/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAlertingRulesQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/alerting/rules/query","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putAlertingAlert(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "alertId" when calling putAlertingAlert';return this.apiClient.callApi("/api/v2/alerting/alerts/{alertId}","PUT",{alertId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putAlertingRule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling putAlertingRule';if(i==null)throw'Missing the required parameter "body" when calling putAlertingRule';return this.apiClient.callApi("/api/v2/alerting/rules/{ruleId}","PUT",{ruleId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},XC=class{constructor(e){this.apiClient=e||k.instance}deleteAnalyticsActionsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsActionsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/actions/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsAgentcopilotsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsAgentcopilotsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsAgentutilizationsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsAgentutilizationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/agentutilizations/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsBotsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsBotsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/bots/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsCasemanagementAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsCasemanagementAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsConversationsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsConversationsDetailsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsDetailsJob';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsCopilotsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsCopilotsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/copilots/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsEvaluationsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsEvaluationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsFlowexecutionsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsFlowexecutionsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsFlowsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsFlowsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsJourneysAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsJourneysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsKnowledgeAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsKnowledgeAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/knowledge/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsResolutionsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsResolutionsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/resolutions/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsSummariesAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsSummariesAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/summaries/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsSurveysAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsSurveysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsTaskmanagementAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsTaskmanagementAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/taskmanagement/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsTranscriptsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsTranscriptsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/transcripts/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsUsersAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsUsersDetailsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersDetailsJob';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsActionsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/actions/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsActionsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/actions/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsAgentStatus(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getAnalyticsAgentStatus';return this.apiClient.callApi("/api/v2/analytics/agents/{userId}/status","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsAgentcopilotsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsAgentcopilotsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsAgentutilizationsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsAgentutilizationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/agentutilizations/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsAgentutilizationsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsAgentutilizationsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/agentutilizations/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsBotflowDivisionsReportingturns(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowDivisionsReportingturns';return this.apiClient.callApi("/api/v2/analytics/botflows/{botFlowId}/divisions/reportingturns","GET",{botFlowId:e},{after:i.after,pageSize:i.pageSize,interval:i.interval,actionId:i.actionId,sessionId:i.sessionId,language:i.language,askActionResults:i.askActionResults},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsBotflowReportingturns(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowReportingturns';return this.apiClient.callApi("/api/v2/analytics/botflows/{botFlowId}/reportingturns","GET",{botFlowId:e},{after:i.after,pageSize:i.pageSize,interval:i.interval,actionId:i.actionId,sessionId:i.sessionId,language:i.language,askActionResults:i.askActionResults},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsBotflowSessions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowSessions';return this.apiClient.callApi("/api/v2/analytics/botflows/{botFlowId}/sessions","GET",{botFlowId:e},{after:i.after,pageSize:i.pageSize,interval:i.interval,botResultCategories:i.botResultCategories,endLanguage:i.endLanguage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsBotsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsBotsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/bots/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsBotsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsBotsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/bots/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsCasemanagementAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsCasemanagementAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsCasemanagementAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsCasemanagementAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsConversationDetails(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getAnalyticsConversationDetails';return this.apiClient.callApi("/api/v2/analytics/conversations/{conversationId}/details","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsConversationsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsConversationsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsConversationsDetails(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/conversations/details","GET",{},{id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsConversationsDetailsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsDetailsJob';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsConversationsDetailsJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsDetailsJobResults';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsConversationsDetailsJobsAvailability(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/availability","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsCopilotsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsCopilotsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/copilots/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsCopilotsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsCopilotsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/copilots/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsDataextractionDownload(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "downloadId" when calling getAnalyticsDataextractionDownload';return this.apiClient.callApi("/api/v2/analytics/dataextraction/downloads/{downloadId}","GET",{downloadId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsDataextractionDownloadsMetadata(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/dataextraction/downloads/metadata","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,dataSchema:e.dataSchema,dateStart:e.dateStart,dateEnd:e.dateEnd},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsDataretentionSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/dataretention/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsEvaluationsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsEvaluationsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsFlowexecutionsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsFlowexecutionsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsFlowsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsFlowsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsJourneysAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsJourneysAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsKnowledgeAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsKnowledgeAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/knowledge/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsKnowledgeAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsKnowledgeAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/knowledge/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsReportingDashboardsUser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getAnalyticsReportingDashboardsUser';return this.apiClient.callApi("/api/v2/analytics/reporting/dashboards/users/{userId}","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsReportingDashboardsUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/reporting/dashboards/users","GET",{},{sortBy:e.sortBy,pageNumber:e.pageNumber,pageSize:e.pageSize,id:this.apiClient.buildCollectionParam(e.id,"multi"),state:e.state,deletedOnly:e.deletedOnly},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsReportingExports(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/reporting/exports","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsReportingExportsMetadata(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/reporting/exports/metadata","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsReportingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/reporting/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsReportingSettingsDashboardsQuery(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "dashboardType" when calling getAnalyticsReportingSettingsDashboardsQuery';if(i==null)throw'Missing the required parameter "dashboardAccessFilter" when calling getAnalyticsReportingSettingsDashboardsQuery';return this.apiClient.callApi("/api/v2/analytics/reporting/settings/dashboards/query","GET",{},{name:n.name,dashboardType:e,dashboardState:n.dashboardState,dashboardAccessFilter:i,sortBy:n.sortBy,pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsReportingSettingsUserDashboards(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getAnalyticsReportingSettingsUserDashboards';return this.apiClient.callApi("/api/v2/analytics/reporting/settings/users/{userId}/dashboards","GET",{userId:e},{sortBy:i.sortBy,pageNumber:i.pageNumber,pageSize:i.pageSize,publicOnly:i.publicOnly,favoriteOnly:i.favoriteOnly,deletedOnly:i.deletedOnly,name:i.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsResolutionsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsResolutionsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/resolutions/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsResolutionsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsResolutionsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/resolutions/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsSummariesAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/summaries/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsSummariesAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/summaries/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsSurveysAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsSurveysAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsTaskmanagementAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsTaskmanagementAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/taskmanagement/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsTaskmanagementAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsTaskmanagementAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/taskmanagement/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsTranscriptsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsTranscriptsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/transcripts/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsTranscriptsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsTranscriptsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/transcripts/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsUsersAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsUsersAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsUsersDetailsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersDetailsJob';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsUsersDetailsJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersDetailsJobResults';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsUsersDetailsJobsAvailability(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/users/details/jobs/availability","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchAnalyticsReportingSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchAnalyticsReportingSettings';return this.apiClient.callApi("/api/v2/analytics/reporting/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsActionsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/actions/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsActionsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/actions/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsAgentcopilotsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/agentcopilots/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsAgentcopilotsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/agentcopilots/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsAgentsStatusCounts(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsAgentsStatusCounts';return this.apiClient.callApi("/api/v2/analytics/agents/status/counts","POST",{},{groupBy:this.apiClient.buildCollectionParam(i.groupBy,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsAgentsStatusQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsAgentsStatusQuery';return this.apiClient.callApi("/api/v2/analytics/agents/status/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsAgentutilizationsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsAgentutilizationsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/agentutilizations/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsAgentutilizationsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsAgentutilizationsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/agentutilizations/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsBotsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsBotsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/bots/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsBotsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsBotsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/bots/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsCasemanagementAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsCasemanagementAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/casemanagement/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsCasemanagementAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsCasemanagementAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/casemanagement/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsConversationDetailsProperties(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postAnalyticsConversationDetailsProperties';if(i==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationDetailsProperties';return this.apiClient.callApi("/api/v2/analytics/conversations/{conversationId}/details/properties","POST",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsConversationsActivityQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsActivityQuery';return this.apiClient.callApi("/api/v2/analytics/conversations/activity/query","POST",{},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsConversationsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsConversationsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsConversationsDetailsJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsDetailsJobs';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsConversationsDetailsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsDetailsQuery';return this.apiClient.callApi("/api/v2/analytics/conversations/details/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsCopilotsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsCopilotsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/copilots/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsCopilotsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsCopilotsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/copilots/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsDataextractionDownloadsBulk(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsDataextractionDownloadsBulk';return this.apiClient.callApi("/api/v2/analytics/dataextraction/downloads/bulk","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsEvaluationsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsEvaluationsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsFlowexecutionsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/flowexecutions/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsFlowexecutionsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/flowexecutions/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsFlowsActivityQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsActivityQuery';return this.apiClient.callApi("/api/v2/analytics/flows/activity/query","POST",{},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsFlowsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsFlowsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsFlowsObservationsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';return this.apiClient.callApi("/api/v2/analytics/flows/observations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsJourneysAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsJourneysAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsJourneysAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsJourneysAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsKnowledgeAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsKnowledgeAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/knowledge/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsKnowledgeAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsKnowledgeAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/knowledge/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsQueuesObservationsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';return this.apiClient.callApi("/api/v2/analytics/queues/observations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsRatelimitsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/ratelimits/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsReportingDashboardsUsersBulkRemove(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsReportingDashboardsUsersBulkRemove';return this.apiClient.callApi("/api/v2/analytics/reporting/dashboards/users/bulk/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsReportingExports(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsReportingExports';return this.apiClient.callApi("/api/v2/analytics/reporting/exports","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsReportingSettingsDashboardsBulkRemove(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsReportingSettingsDashboardsBulkRemove';return this.apiClient.callApi("/api/v2/analytics/reporting/settings/dashboards/bulk/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsReportingSettingsDashboardsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsReportingSettingsDashboardsQuery';return this.apiClient.callApi("/api/v2/analytics/reporting/settings/dashboards/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsResolutionsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsResolutionsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/resolutions/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsResolutionsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsResolutionsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/resolutions/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsRoutingActivityQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsRoutingActivityQuery';return this.apiClient.callApi("/api/v2/analytics/routing/activity/query","POST",{},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsSummariesAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsSummariesAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/summaries/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsSummariesAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsSummariesAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/summaries/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsSurveysAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsSurveysAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsTaskmanagementAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTaskmanagementAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/taskmanagement/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsTaskmanagementAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTaskmanagementAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/taskmanagement/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsTaskmanagementMetricsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTaskmanagementMetricsQuery';return this.apiClient.callApi("/api/v2/analytics/taskmanagement/metrics/query","POST",{},{after:i.after,pageSize:i.pageSize},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsTeamsActivityQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTeamsActivityQuery';return this.apiClient.callApi("/api/v2/analytics/teams/activity/query","POST",{},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsTranscriptsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTranscriptsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/transcripts/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsTranscriptsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTranscriptsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/transcripts/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsUsersActivityQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersActivityQuery';return this.apiClient.callApi("/api/v2/analytics/users/activity/query","POST",{},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsUsersAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsUsersAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsUsersDetailsJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersDetailsJobs';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsUsersDetailsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersDetailsQuery';return this.apiClient.callApi("/api/v2/analytics/users/details/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsUsersObservationsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersObservationsQuery';return this.apiClient.callApi("/api/v2/analytics/users/observations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putAnalyticsDataretentionSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';return this.apiClient.callApi("/api/v2/analytics/dataretention/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},eA=class{constructor(e){this.apiClient=e||k.instance}deleteArchitectEmergencygroup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "emergencyGroupId" when calling deleteArchitectEmergencygroup';return this.apiClient.callApi("/api/v2/architect/emergencygroups/{emergencyGroupId}","DELETE",{emergencyGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteArchitectGrammar(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling deleteArchitectGrammar';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}","DELETE",{grammarId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteArchitectGrammarLanguage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling deleteArchitectGrammarLanguage';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling deleteArchitectGrammarLanguage';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}","DELETE",{grammarId:e,languageCode:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteArchitectGrammarLanguageFilesDtmf(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling deleteArchitectGrammarLanguageFilesDtmf';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling deleteArchitectGrammarLanguageFilesDtmf';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}/files/dtmf","DELETE",{grammarId:e,languageCode:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteArchitectGrammarLanguageFilesVoice(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling deleteArchitectGrammarLanguageFilesVoice';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling deleteArchitectGrammarLanguageFilesVoice';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}/files/voice","DELETE",{grammarId:e,languageCode:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteArchitectIvr(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ivrId" when calling deleteArchitectIvr';return this.apiClient.callApi("/api/v2/architect/ivrs/{ivrId}","DELETE",{ivrId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteArchitectPrompt(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling deleteArchitectPrompt';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}","DELETE",{promptId:e},{allResources:i.allResources},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteArchitectPromptResource(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling deleteArchitectPromptResource';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling deleteArchitectPromptResource';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources/{languageCode}","DELETE",{promptId:e,languageCode:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteArchitectPromptResourceAudio(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling deleteArchitectPromptResourceAudio';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling deleteArchitectPromptResourceAudio';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources/{languageCode}/audio","DELETE",{promptId:e,languageCode:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteArchitectPrompts(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling deleteArchitectPrompts';return this.apiClient.callApi("/api/v2/architect/prompts","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteArchitectSchedule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scheduleId" when calling deleteArchitectSchedule';return this.apiClient.callApi("/api/v2/architect/schedules/{scheduleId}","DELETE",{scheduleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteArchitectSchedulegroup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scheduleGroupId" when calling deleteArchitectSchedulegroup';return this.apiClient.callApi("/api/v2/architect/schedulegroups/{scheduleGroupId}","DELETE",{scheduleGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteArchitectSystempromptResource(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling deleteArchitectSystempromptResource';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling deleteArchitectSystempromptResource';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}","DELETE",{promptId:e,languageCode:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteFlow(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling deleteFlow';return this.apiClient.callApi("/api/v2/flows/{flowId}","DELETE",{flowId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteFlowInstancesSettingsLoglevels(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling deleteFlowInstancesSettingsLoglevels';return this.apiClient.callApi("/api/v2/flows/{flowId}/instances/settings/loglevels","DELETE",{flowId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteFlows(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling deleteFlows';return this.apiClient.callApi("/api/v2/flows","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteFlowsDatatable(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling deleteFlowsDatatable';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}","DELETE",{datatableId:e},{force:i.force},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteFlowsDatatableRow(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling deleteFlowsDatatableRow';if(i==null||i==="")throw'Missing the required parameter "rowId" when calling deleteFlowsDatatableRow';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/rows/{rowId}","DELETE",{datatableId:e,rowId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteFlowsInstancesSettingsLoglevelsDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/instances/settings/loglevels/default","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteFlowsMilestone(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "milestoneId" when calling deleteFlowsMilestone';return this.apiClient.callApi("/api/v2/flows/milestones/{milestoneId}","DELETE",{milestoneId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectDependencytracking(e,i){if(i=i||{},e==null)throw'Missing the required parameter "name" when calling getArchitectDependencytracking';return this.apiClient.callApi("/api/v2/architect/dependencytracking","GET",{},{pageNumber:i.pageNumber,pageSize:i.pageSize,name:e,objectType:this.apiClient.buildCollectionParam(i.objectType,"multi"),consumedResources:i.consumedResources,consumingResources:i.consumingResources,consumedResourceType:this.apiClient.buildCollectionParam(i.consumedResourceType,"multi"),consumingResourceType:this.apiClient.buildCollectionParam(i.consumingResourceType,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectDependencytrackingBuild(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/dependencytracking/build","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectDependencytrackingConsumedresources(e,i,n,a){if(a=a||{},e==null)throw'Missing the required parameter "id" when calling getArchitectDependencytrackingConsumedresources';if(i==null)throw'Missing the required parameter "version" when calling getArchitectDependencytrackingConsumedresources';if(n==null)throw'Missing the required parameter "objectType" when calling getArchitectDependencytrackingConsumedresources';return this.apiClient.callApi("/api/v2/architect/dependencytracking/consumedresources","GET",{},{id:e,version:i,objectType:n,resourceType:this.apiClient.buildCollectionParam(a.resourceType,"multi"),pageNumber:a.pageNumber,pageSize:a.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getArchitectDependencytrackingConsumingresources(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling getArchitectDependencytrackingConsumingresources';if(i==null)throw'Missing the required parameter "objectType" when calling getArchitectDependencytrackingConsumingresources';return this.apiClient.callApi("/api/v2/architect/dependencytracking/consumingresources","GET",{},{id:e,objectType:i,resourceType:this.apiClient.buildCollectionParam(n.resourceType,"multi"),version:n.version,pageNumber:n.pageNumber,pageSize:n.pageSize,flowFilter:n.flowFilter},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectDependencytrackingDeletedresourceconsumers(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/dependencytracking/deletedresourceconsumers","GET",{},{name:e.name,objectType:this.apiClient.buildCollectionParam(e.objectType,"multi"),flowFilter:e.flowFilter,consumedResources:e.consumedResources,consumedResourceType:this.apiClient.buildCollectionParam(e.consumedResourceType,"multi"),pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectDependencytrackingObject(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling getArchitectDependencytrackingObject';return this.apiClient.callApi("/api/v2/architect/dependencytracking/object","GET",{},{id:e,version:i.version,objectType:i.objectType,consumedResources:i.consumedResources,consumingResources:i.consumingResources,consumedResourceType:this.apiClient.buildCollectionParam(i.consumedResourceType,"multi"),consumingResourceType:this.apiClient.buildCollectionParam(i.consumingResourceType,"multi"),consumedResourceRequest:i.consumedResourceRequest},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectDependencytrackingType(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "typeId" when calling getArchitectDependencytrackingType';return this.apiClient.callApi("/api/v2/architect/dependencytracking/types/{typeId}","GET",{typeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectDependencytrackingTypes(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/dependencytracking/types","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectDependencytrackingUpdatedresourceconsumers(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/dependencytracking/updatedresourceconsumers","GET",{},{name:e.name,objectType:this.apiClient.buildCollectionParam(e.objectType,"multi"),consumedResources:e.consumedResources,consumedResourceType:this.apiClient.buildCollectionParam(e.consumedResourceType,"multi"),pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectEmergencygroup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "emergencyGroupId" when calling getArchitectEmergencygroup';return this.apiClient.callApi("/api/v2/architect/emergencygroups/{emergencyGroupId}","GET",{emergencyGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectEmergencygroups(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/emergencygroups","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectEmergencygroupsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/emergencygroups/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectGrammar(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling getArchitectGrammar';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}","GET",{grammarId:e},{includeFileUrls:i.includeFileUrls},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectGrammarLanguage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling getArchitectGrammarLanguage';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling getArchitectGrammarLanguage';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}","GET",{grammarId:e,languageCode:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectGrammars(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/grammars","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,description:e.description,nameOrDescription:e.nameOrDescription,includeFileUrls:e.includeFileUrls},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectIvr(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ivrId" when calling getArchitectIvr';return this.apiClient.callApi("/api/v2/architect/ivrs/{ivrId}","GET",{ivrId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectIvrIdentityresolution(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ivrId" when calling getArchitectIvrIdentityresolution';return this.apiClient.callApi("/api/v2/architect/ivrs/{ivrId}/identityresolution","GET",{ivrId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectIvrs(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/ivrs","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,dnis:e.dnis,scheduleGroup:e.scheduleGroup,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectIvrsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/ivrs/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectPrompt(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectPrompt';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}","GET",{promptId:e},{includeMediaUris:i.includeMediaUris,includeResources:i.includeResources,language:this.apiClient.buildCollectionParam(i.language,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectPromptHistoryHistoryId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectPromptHistoryHistoryId';if(i==null||i==="")throw'Missing the required parameter "historyId" when calling getArchitectPromptHistoryHistoryId';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/history/{historyId}","GET",{promptId:e,historyId:i},{pageNumber:n.pageNumber,pageSize:n.pageSize,sortOrder:n.sortOrder,sortBy:n.sortBy,action:this.apiClient.buildCollectionParam(n.action,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectPromptResource(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectPromptResource';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling getArchitectPromptResource';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources/{languageCode}","GET",{promptId:e,languageCode:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectPromptResources(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectPromptResources';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources","GET",{promptId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectPrompts(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/prompts","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:this.apiClient.buildCollectionParam(e.name,"multi"),description:e.description,nameOrDescription:e.nameOrDescription,sortBy:e.sortBy,sortOrder:e.sortOrder,includeMediaUris:e.includeMediaUris,includeResources:e.includeResources,language:this.apiClient.buildCollectionParam(e.language,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectSchedule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scheduleId" when calling getArchitectSchedule';return this.apiClient.callApi("/api/v2/architect/schedules/{scheduleId}","GET",{scheduleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectSchedulegroup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scheduleGroupId" when calling getArchitectSchedulegroup';return this.apiClient.callApi("/api/v2/architect/schedulegroups/{scheduleGroupId}","GET",{scheduleGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectSchedulegroups(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/schedulegroups","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,scheduleIds:e.scheduleIds,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectSchedulegroupsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/schedulegroups/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectSchedules(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/schedules","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectSchedulesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/schedules/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getArchitectSystemprompt(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectSystemprompt';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}","GET",{promptId:e},{includeMediaUris:i.includeMediaUris,includeResources:i.includeResources,language:this.apiClient.buildCollectionParam(i.language,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectSystempromptHistoryHistoryId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectSystempromptHistoryHistoryId';if(i==null||i==="")throw'Missing the required parameter "historyId" when calling getArchitectSystempromptHistoryHistoryId';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/history/{historyId}","GET",{promptId:e,historyId:i},{pageNumber:n.pageNumber,pageSize:n.pageSize,sortOrder:n.sortOrder,sortBy:n.sortBy,action:this.apiClient.buildCollectionParam(n.action,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectSystempromptResource(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectSystempromptResource';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling getArchitectSystempromptResource';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}","GET",{promptId:e,languageCode:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getArchitectSystempromptResources(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling getArchitectSystempromptResources';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/resources","GET",{promptId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,sortBy:i.sortBy,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getArchitectSystemprompts(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/systemprompts","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,description:e.description,nameOrDescription:e.nameOrDescription,includeMediaUris:e.includeMediaUris,includeResources:e.includeResources,language:this.apiClient.buildCollectionParam(e.language,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlow(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlow';return this.apiClient.callApi("/api/v2/flows/{flowId}","GET",{flowId:e},{deleted:i.deleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowHistoryHistoryId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowHistoryHistoryId';if(i==null||i==="")throw'Missing the required parameter "historyId" when calling getFlowHistoryHistoryId';return this.apiClient.callApi("/api/v2/flows/{flowId}/history/{historyId}","GET",{flowId:e,historyId:i},{pageNumber:n.pageNumber,pageSize:n.pageSize,sortOrder:n.sortOrder,sortBy:n.sortBy,action:this.apiClient.buildCollectionParam(n.action,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowInstancesSettingsLoglevels(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowInstancesSettingsLoglevels';return this.apiClient.callApi("/api/v2/flows/{flowId}/instances/settings/loglevels","GET",{flowId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowLatestconfiguration(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowLatestconfiguration';return this.apiClient.callApi("/api/v2/flows/{flowId}/latestconfiguration","GET",{flowId:e},{deleted:i.deleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getFlowVersion';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions/{versionId}","GET",{flowId:e,versionId:i},{deleted:n.deleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowVersionConfiguration(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowVersionConfiguration';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getFlowVersionConfiguration';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions/{versionId}/configuration","GET",{flowId:e,versionId:i},{deleted:n.deleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowVersionHealth(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowVersionHealth';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getFlowVersionHealth';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions/{versionId}/health","GET",{flowId:e,versionId:i},{language:n.language},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowVersionIntentHealth(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowVersionIntentHealth';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getFlowVersionIntentHealth';if(n==null||n==="")throw'Missing the required parameter "intentId" when calling getFlowVersionIntentHealth';if(a==null)throw'Missing the required parameter "language" when calling getFlowVersionIntentHealth';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/health","GET",{flowId:e,versionId:i,intentId:n},{language:a},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getFlowVersionIntentUtteranceHealth(e,i,n,a,r,s){if(s=s||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowVersionIntentUtteranceHealth';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getFlowVersionIntentUtteranceHealth';if(n==null||n==="")throw'Missing the required parameter "intentId" when calling getFlowVersionIntentUtteranceHealth';if(a==null||a==="")throw'Missing the required parameter "utteranceId" when calling getFlowVersionIntentUtteranceHealth';if(r==null)throw'Missing the required parameter "language" when calling getFlowVersionIntentUtteranceHealth';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/utterances/{utteranceId}/health","GET",{flowId:e,versionId:i,intentId:n,utteranceId:a},{language:r},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],s.customHeaders)}getFlowVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling getFlowVersions';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions","GET",{flowId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,deleted:i.deleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlows(e){return e=e||{},this.apiClient.callApi("/api/v2/flows","GET",{},{type:this.apiClient.buildCollectionParam(e.type,"multi"),pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,description:e.description,nameOrDescription:e.nameOrDescription,publishVersionId:e.publishVersionId,editableBy:e.editableBy,lockedBy:e.lockedBy,lockedByClientId:e.lockedByClientId,secure:e.secure,deleted:e.deleted,includeSchemas:e.includeSchemas,virtualAgentEnabled:e.virtualAgentEnabled,publishedAfter:e.publishedAfter,publishedBefore:e.publishedBefore,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsDatatable(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatable';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}","GET",{datatableId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsDatatableExportJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatableExportJob';if(i==null||i==="")throw'Missing the required parameter "exportJobId" when calling getFlowsDatatableExportJob';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/export/jobs/{exportJobId}","GET",{datatableId:e,exportJobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsDatatableImportJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatableImportJob';if(i==null||i==="")throw'Missing the required parameter "importJobId" when calling getFlowsDatatableImportJob';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/import/jobs/{importJobId}","GET",{datatableId:e,importJobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsDatatableImportJobs(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatableImportJobs';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/import/jobs","GET",{datatableId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsDatatableRow(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatableRow';if(i==null||i==="")throw'Missing the required parameter "rowId" when calling getFlowsDatatableRow';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/rows/{rowId}","GET",{datatableId:e,rowId:i},{showbrief:n.showbrief},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFlowsDatatableRows(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatableRows';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/rows","GET",{datatableId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,showbrief:i.showbrief,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsDatatables(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/datatables","GET",{},{expand:e.expand,pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsDatatablesDivisionview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling getFlowsDatatablesDivisionview';return this.apiClient.callApi("/api/v2/flows/datatables/divisionviews/{datatableId}","GET",{datatableId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsDatatablesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/datatables/divisionviews","GET",{},{expand:e.expand,pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/divisionviews","GET",{},{type:this.apiClient.buildCollectionParam(e.type,"multi"),pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,publishVersionId:e.publishVersionId,publishedAfter:e.publishedAfter,publishedBefore:e.publishedBefore,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),includeSchemas:e.includeSchemas},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsExecution(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowExecutionId" when calling getFlowsExecution';return this.apiClient.callApi("/api/v2/flows/executions/{flowExecutionId}","GET",{flowExecutionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsExportJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getFlowsExportJob';return this.apiClient.callApi("/api/v2/flows/export/jobs/{jobId}","GET",{jobId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsInstance(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "instanceId" when calling getFlowsInstance';return this.apiClient.callApi("/api/v2/flows/instances/{instanceId}","GET",{instanceId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsInstancesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getFlowsInstancesJob';return this.apiClient.callApi("/api/v2/flows/instances/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsInstancesQuerycapabilities(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/instances/querycapabilities","GET",{},{expand:e.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsInstancesSettingsExecutiondata(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/instances/settings/executiondata","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsInstancesSettingsLoglevels(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/instances/settings/loglevels","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi"),pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsInstancesSettingsLoglevelsCharacteristics(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/instances/settings/loglevels/characteristics","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsInstancesSettingsLoglevelsDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/instances/settings/loglevels/default","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getFlowsJob';return this.apiClient.callApi("/api/v2/flows/jobs/{jobId}","GET",{jobId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsLookup(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling getFlowsLookup';return this.apiClient.callApi("/api/v2/flows/lookup","GET",{},{id:this.apiClient.buildCollectionParam(e,"multi"),pageNumber:i.pageNumber,pageSize:i.pageSize,sortBy:i.sortBy,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsMilestone(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "milestoneId" when calling getFlowsMilestone';return this.apiClient.callApi("/api/v2/flows/milestones/{milestoneId}","GET",{milestoneId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsMilestones(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/milestones","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,description:e.description,nameOrDescription:e.nameOrDescription,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsMilestonesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/milestones/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsOutcome(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowOutcomeId" when calling getFlowsOutcome';return this.apiClient.callApi("/api/v2/flows/outcomes/{flowOutcomeId}","GET",{flowOutcomeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFlowsOutcomes(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/outcomes","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,description:e.description,nameOrDescription:e.nameOrDescription,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsOutcomesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/outcomes/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFlowsValidateJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getFlowsValidateJob';return this.apiClient.callApi("/api/v2/flows/validate/jobs/{jobId}","GET",{jobId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchArchitectGrammar(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling patchArchitectGrammar';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}","PATCH",{grammarId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchArchitectGrammarLanguage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling patchArchitectGrammarLanguage';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling patchArchitectGrammarLanguage';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}","PATCH",{grammarId:e,languageCode:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchFlowsInstancesSettingsExecutiondata(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchFlowsInstancesSettingsExecutiondata';return this.apiClient.callApi("/api/v2/flows/instances/settings/executiondata","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectDependencytrackingBuild(e){return e=e||{},this.apiClient.callApi("/api/v2/architect/dependencytracking/build","POST",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postArchitectEmergencygroups(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postArchitectEmergencygroups';return this.apiClient.callApi("/api/v2/architect/emergencygroups","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectGrammarLanguageFilesDtmf(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling postArchitectGrammarLanguageFilesDtmf';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling postArchitectGrammarLanguageFilesDtmf';if(n==null)throw'Missing the required parameter "body" when calling postArchitectGrammarLanguageFilesDtmf';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}/files/dtmf","POST",{grammarId:e,languageCode:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postArchitectGrammarLanguageFilesVoice(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling postArchitectGrammarLanguageFilesVoice';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling postArchitectGrammarLanguageFilesVoice';if(n==null)throw'Missing the required parameter "body" when calling postArchitectGrammarLanguageFilesVoice';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages/{languageCode}/files/voice","POST",{grammarId:e,languageCode:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postArchitectGrammarLanguages(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "grammarId" when calling postArchitectGrammarLanguages';if(i==null)throw'Missing the required parameter "body" when calling postArchitectGrammarLanguages';return this.apiClient.callApi("/api/v2/architect/grammars/{grammarId}/languages","POST",{grammarId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectGrammars(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postArchitectGrammars';return this.apiClient.callApi("/api/v2/architect/grammars","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectIvrs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postArchitectIvrs';return this.apiClient.callApi("/api/v2/architect/ivrs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectPromptHistory(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling postArchitectPromptHistory';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/history","POST",{promptId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectPromptResourceUploads(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling postArchitectPromptResourceUploads';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling postArchitectPromptResourceUploads';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources/{languageCode}/uploads","POST",{promptId:e,languageCode:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectPromptResources(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling postArchitectPromptResources';if(i==null)throw'Missing the required parameter "body" when calling postArchitectPromptResources';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources","POST",{promptId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectPrompts(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postArchitectPrompts';return this.apiClient.callApi("/api/v2/architect/prompts","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectSchedulegroups(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postArchitectSchedulegroups';return this.apiClient.callApi("/api/v2/architect/schedulegroups","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectSchedules(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postArchitectSchedules';return this.apiClient.callApi("/api/v2/architect/schedules","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectSystempromptHistory(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling postArchitectSystempromptHistory';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/history","POST",{promptId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postArchitectSystempromptResourceUploads(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling postArchitectSystempromptResourceUploads';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling postArchitectSystempromptResourceUploads';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}/uploads","POST",{promptId:e,languageCode:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postArchitectSystempromptResources(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling postArchitectSystempromptResources';if(i==null)throw'Missing the required parameter "body" when calling postArchitectSystempromptResources';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/resources","POST",{promptId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowHistory(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling postFlowHistory';return this.apiClient.callApi("/api/v2/flows/{flowId}/history","POST",{flowId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowInstancesSettingsLoglevels(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling postFlowInstancesSettingsLoglevels';if(i==null)throw'Missing the required parameter "body" when calling postFlowInstancesSettingsLoglevels';return this.apiClient.callApi("/api/v2/flows/{flowId}/instances/settings/loglevels","POST",{flowId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowVersions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling postFlowVersions';if(i==null)throw'Missing the required parameter "body" when calling postFlowVersions';return this.apiClient.callApi("/api/v2/flows/{flowId}/versions","POST",{flowId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlows(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postFlows';return this.apiClient.callApi("/api/v2/flows","POST",{},{language:i.language},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsActionsCheckin(e,i){if(i=i||{},e==null)throw'Missing the required parameter "flow" when calling postFlowsActionsCheckin';return this.apiClient.callApi("/api/v2/flows/actions/checkin","POST",{},{flow:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsActionsCheckout(e,i){if(i=i||{},e==null)throw'Missing the required parameter "flow" when calling postFlowsActionsCheckout';return this.apiClient.callApi("/api/v2/flows/actions/checkout","POST",{},{flow:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsActionsDeactivate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "flow" when calling postFlowsActionsDeactivate';return this.apiClient.callApi("/api/v2/flows/actions/deactivate","POST",{},{flow:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsActionsPublish(e,i){if(i=i||{},e==null)throw'Missing the required parameter "flow" when calling postFlowsActionsPublish';return this.apiClient.callApi("/api/v2/flows/actions/publish","POST",{},{flow:e,version:i.version},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsActionsRevert(e,i){if(i=i||{},e==null)throw'Missing the required parameter "flow" when calling postFlowsActionsRevert';return this.apiClient.callApi("/api/v2/flows/actions/revert","POST",{},{flow:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsActionsUnlock(e,i){if(i=i||{},e==null)throw'Missing the required parameter "flow" when calling postFlowsActionsUnlock';return this.apiClient.callApi("/api/v2/flows/actions/unlock","POST",{},{flow:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsDatatableExportJobs(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling postFlowsDatatableExportJobs';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/export/jobs","POST",{datatableId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsDatatableImportCsvJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling postFlowsDatatableImportCsvJobs';if(i==null)throw'Missing the required parameter "body" when calling postFlowsDatatableImportCsvJobs';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/import/csv/jobs","POST",{datatableId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsDatatableImportJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling postFlowsDatatableImportJobs';if(i==null)throw'Missing the required parameter "body" when calling postFlowsDatatableImportJobs';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/import/jobs","POST",{datatableId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsDatatableRows(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling postFlowsDatatableRows';if(i==null)throw'Missing the required parameter "dataTableRow" when calling postFlowsDatatableRows';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/rows","POST",{datatableId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postFlowsDatatables(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postFlowsDatatables';return this.apiClient.callApi("/api/v2/flows/datatables","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsExecutions(e,i){if(i=i||{},e==null)throw'Missing the required parameter "flowLaunchRequest" when calling postFlowsExecutions';return this.apiClient.callApi("/api/v2/flows/executions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsExportJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postFlowsExportJobs';return this.apiClient.callApi("/api/v2/flows/export/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsInstancesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postFlowsInstancesJobs';return this.apiClient.callApi("/api/v2/flows/instances/jobs","POST",{},{expand:i.expand},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsInstancesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postFlowsInstancesQuery';return this.apiClient.callApi("/api/v2/flows/instances/query","POST",{},{indexOnly:i.indexOnly,pageSize:i.pageSize},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postFlowsJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/jobs","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postFlowsMilestones(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/milestones","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postFlowsOutcomes(e){return e=e||{},this.apiClient.callApi("/api/v2/flows/outcomes","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postFlowsValidateJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postFlowsValidateJobs';return this.apiClient.callApi("/api/v2/flows/validate/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putArchitectEmergencygroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "emergencyGroupId" when calling putArchitectEmergencygroup';if(i==null)throw'Missing the required parameter "body" when calling putArchitectEmergencygroup';return this.apiClient.callApi("/api/v2/architect/emergencygroups/{emergencyGroupId}","PUT",{emergencyGroupId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putArchitectIvr(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ivrId" when calling putArchitectIvr';if(i==null)throw'Missing the required parameter "body" when calling putArchitectIvr';return this.apiClient.callApi("/api/v2/architect/ivrs/{ivrId}","PUT",{ivrId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putArchitectIvrIdentityresolution(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ivrId" when calling putArchitectIvrIdentityresolution';if(i==null)throw'Missing the required parameter "body" when calling putArchitectIvrIdentityresolution';return this.apiClient.callApi("/api/v2/architect/ivrs/{ivrId}/identityresolution","PUT",{ivrId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putArchitectPrompt(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling putArchitectPrompt';if(i==null)throw'Missing the required parameter "body" when calling putArchitectPrompt';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}","PUT",{promptId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putArchitectPromptResource(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling putArchitectPromptResource';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling putArchitectPromptResource';if(n==null)throw'Missing the required parameter "body" when calling putArchitectPromptResource';return this.apiClient.callApi("/api/v2/architect/prompts/{promptId}/resources/{languageCode}","PUT",{promptId:e,languageCode:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putArchitectSchedule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scheduleId" when calling putArchitectSchedule';if(i==null)throw'Missing the required parameter "body" when calling putArchitectSchedule';return this.apiClient.callApi("/api/v2/architect/schedules/{scheduleId}","PUT",{scheduleId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putArchitectSchedulegroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scheduleGroupId" when calling putArchitectSchedulegroup';if(i==null)throw'Missing the required parameter "body" when calling putArchitectSchedulegroup';return this.apiClient.callApi("/api/v2/architect/schedulegroups/{scheduleGroupId}","PUT",{scheduleGroupId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putArchitectSystempromptResource(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "promptId" when calling putArchitectSystempromptResource';if(i==null||i==="")throw'Missing the required parameter "languageCode" when calling putArchitectSystempromptResource';if(n==null)throw'Missing the required parameter "body" when calling putArchitectSystempromptResource';return this.apiClient.callApi("/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}","PUT",{promptId:e,languageCode:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putFlow(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling putFlow';if(i==null)throw'Missing the required parameter "body" when calling putFlow';return this.apiClient.callApi("/api/v2/flows/{flowId}","PUT",{flowId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putFlowInstancesSettingsLoglevels(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "flowId" when calling putFlowInstancesSettingsLoglevels';if(i==null)throw'Missing the required parameter "body" when calling putFlowInstancesSettingsLoglevels';return this.apiClient.callApi("/api/v2/flows/{flowId}/instances/settings/loglevels","PUT",{flowId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putFlowsDatatable(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling putFlowsDatatable';if(i==null)throw'Missing the required parameter "body" when calling putFlowsDatatable';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}","PUT",{datatableId:e},{expand:n.expand},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putFlowsDatatableRow(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "datatableId" when calling putFlowsDatatableRow';if(i==null||i==="")throw'Missing the required parameter "rowId" when calling putFlowsDatatableRow';return this.apiClient.callApi("/api/v2/flows/datatables/{datatableId}/rows/{rowId}","PUT",{datatableId:e,rowId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putFlowsInstancesSettingsLoglevelsDefault(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putFlowsInstancesSettingsLoglevelsDefault';return this.apiClient.callApi("/api/v2/flows/instances/settings/loglevels/default","PUT",{},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putFlowsMilestone(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "milestoneId" when calling putFlowsMilestone';return this.apiClient.callApi("/api/v2/flows/milestones/{milestoneId}","PUT",{milestoneId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putFlowsOutcome(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';return this.apiClient.callApi("/api/v2/flows/outcomes/{flowOutcomeId}","PUT",{flowOutcomeId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},iA=class{constructor(e){this.apiClient=e||k.instance}deleteAssistantVariation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling deleteAssistantVariation';if(i==null||i==="")throw'Missing the required parameter "variationId" when calling deleteAssistantVariation';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/variations/{variationId}","DELETE",{assistantId:e,variationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAssistantVariation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistantVariation';if(i==null||i==="")throw'Missing the required parameter "variationId" when calling getAssistantVariation';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/variations/{variationId}","GET",{assistantId:e,variationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAssistantVariations(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling getAssistantVariations';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/variations","GET",{assistantId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAssistantVariations(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling postAssistantVariations';if(i==null)throw'Missing the required parameter "body" when calling postAssistantVariations';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/variations","POST",{assistantId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putAssistantVariation(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "assistantId" when calling putAssistantVariation';if(i==null||i==="")throw'Missing the required parameter "variationId" when calling putAssistantVariation';if(n==null)throw'Missing the required parameter "body" when calling putAssistantVariation';return this.apiClient.callApi("/api/v2/assistants/{assistantId}/variations/{variationId}","PUT",{assistantId:e,variationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}},nA=class{constructor(e){this.apiClient=e||k.instance}getAuditsQueryRealtimeServicemapping(e){return e=e||{},this.apiClient.callApi("/api/v2/audits/query/realtime/servicemapping","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuditsQueryServicemapping(e){return e=e||{},this.apiClient.callApi("/api/v2/audits/query/servicemapping","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuditsQueryTransactionId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "transactionId" when calling getAuditsQueryTransactionId';return this.apiClient.callApi("/api/v2/audits/query/{transactionId}","GET",{transactionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuditsQueryTransactionIdResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "transactionId" when calling getAuditsQueryTransactionIdResults';return this.apiClient.callApi("/api/v2/audits/query/{transactionId}/results","GET",{transactionId:e},{cursor:i.cursor,pageSize:i.pageSize,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),allowRedirect:i.allowRedirect},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuditsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAuditsQuery';return this.apiClient.callApi("/api/v2/audits/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuditsQueryRealtime(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';return this.apiClient.callApi("/api/v2/audits/query/realtime","POST",{},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuditsQueryRealtimeRelated(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';return this.apiClient.callApi("/api/v2/audits/query/realtime/related","POST",{},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},tA=class{constructor(e){this.apiClient=e||k.instance}deleteAuthorizationDivision(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling deleteAuthorizationDivision';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}","DELETE",{divisionId:e},{force:i.force},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAuthorizationPoliciesTargetSubjectSubjectId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "targetName" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';if(i==null||i==="")throw'Missing the required parameter "subjectId" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';return this.apiClient.callApi("/api/v2/authorization/policies/targets/{targetName}/subject/{subjectId}","DELETE",{targetName:e,subjectId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteAuthorizationRole(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling deleteAuthorizationRole';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}","DELETE",{roleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAuthorizationSubjectDivisionRole(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling deleteAuthorizationSubjectDivisionRole';if(i==null||i==="")throw'Missing the required parameter "divisionId" when calling deleteAuthorizationSubjectDivisionRole';if(n==null||n==="")throw'Missing the required parameter "roleId" when calling deleteAuthorizationSubjectDivisionRole';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}","DELETE",{subjectId:e,divisionId:i,roleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getAuthorizationDivision(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling getAuthorizationDivision';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}","GET",{divisionId:e},{objectCount:i.objectCount},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationDivisionGrants(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling getAuthorizationDivisionGrants';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}/grants","GET",{divisionId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationDivisions(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,objectCount:e.objectCount,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsDeleted(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/deleted","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsHome(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/home","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsLimit(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/limit","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/query","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionspermittedMe(e,i){if(i=i||{},e==null)throw'Missing the required parameter "permission" when calling getAuthorizationDivisionspermittedMe';return this.apiClient.callApi("/api/v2/authorization/divisionspermitted/me","GET",{},{name:i.name,permission:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationDivisionspermittedPagedMe(e,i){if(i=i||{},e==null)throw'Missing the required parameter "permission" when calling getAuthorizationDivisionspermittedPagedMe';return this.apiClient.callApi("/api/v2/authorization/divisionspermitted/paged/me","GET",{},{permission:e,pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationDivisionspermittedPagedSubjectId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getAuthorizationDivisionspermittedPagedSubjectId';if(i==null)throw'Missing the required parameter "permission" when calling getAuthorizationDivisionspermittedPagedSubjectId';return this.apiClient.callApi("/api/v2/authorization/divisionspermitted/paged/{subjectId}","GET",{subjectId:e},{permission:i,pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationPermissions(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/permissions","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,queryType:e.queryType,query:e.query},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationPolicies(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/policies","GET",{},{after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationPoliciesSubjectSubjectId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesSubjectSubjectId';return this.apiClient.callApi("/api/v2/authorization/policies/subject/{subjectId}","GET",{subjectId:e},{after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationPoliciesTarget(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTarget';return this.apiClient.callApi("/api/v2/authorization/policies/targets/{targetName}","GET",{targetName:e},{after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationPoliciesTargetSubjectSubjectId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTargetSubjectSubjectId';if(i==null||i==="")throw'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesTargetSubjectSubjectId';return this.apiClient.callApi("/api/v2/authorization/policies/targets/{targetName}/subject/{subjectId}","GET",{targetName:e,subjectId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationPoliciesTargets(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/policies/targets","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationPolicy(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling getAuthorizationPolicy';return this.apiClient.callApi("/api/v2/authorization/policies/{policyId}","GET",{policyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationPolicyAttributes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling getAuthorizationPolicyAttributes';return this.apiClient.callApi("/api/v2/authorization/policies/{policyId}/attributes","GET",{policyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationProducts(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/products","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationRole(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling getAuthorizationRole';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}","GET",{roleId:e},{userCount:i.userCount,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationRoleComparedefaultRightRoleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "leftRoleId" when calling getAuthorizationRoleComparedefaultRightRoleId';if(i==null||i==="")throw'Missing the required parameter "rightRoleId" when calling getAuthorizationRoleComparedefaultRightRoleId';return this.apiClient.callApi("/api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId}","GET",{leftRoleId:e,rightRoleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationRoleSubjectgrants(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling getAuthorizationRoleSubjectgrants';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}/subjectgrants","GET",{roleId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortBy:i.sortBy,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),nextPage:i.nextPage,previousPage:i.previousPage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationRoleUsers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling getAuthorizationRoleUsers';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}/users","GET",{roleId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationRoles(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/roles","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,name:e.name,permission:this.apiClient.buildCollectionParam(e.permission,"multi"),defaultRoleId:this.apiClient.buildCollectionParam(e.defaultRoleId,"multi"),userCount:e.userCount,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationRolesSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/roles/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationSubject(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getAuthorizationSubject';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}","GET",{subjectId:e},{includeDuplicates:i.includeDuplicates},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationSubjectsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/subjects/me","GET",{},{includeDuplicates:e.includeDuplicates},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationSubjectsRolecounts(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/subjects/rolecounts","GET",{},{id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUserRoles(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getUserRoles';return this.apiClient.callApi("/api/v2/users/{subjectId}/roles","GET",{subjectId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchAuthorizationRole(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling patchAuthorizationRole';if(i==null)throw'Missing the required parameter "body" when calling patchAuthorizationRole';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}","PATCH",{roleId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchAuthorizationSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchAuthorizationSettings';return this.apiClient.callApi("/api/v2/authorization/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationDivisionObject(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionObject';if(i==null||i==="")throw'Missing the required parameter "objectType" when calling postAuthorizationDivisionObject';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationDivisionObject';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}/objects/{objectType}","POST",{divisionId:e,objectType:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAuthorizationDivisionRestore(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}/restore","POST",{divisionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationDivisions(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAuthorizationDivisions';return this.apiClient.callApi("/api/v2/authorization/divisions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationPoliciesTarget(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTarget';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationPoliciesTarget';return this.apiClient.callApi("/api/v2/authorization/policies/targets/{targetName}","POST",{targetName:e},{skipLockoutCheck:n.skipLockoutCheck},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationPoliciesTargetValidate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTargetValidate';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationPoliciesTargetValidate';return this.apiClient.callApi("/api/v2/authorization/policies/targets/{targetName}/validate","POST",{targetName:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationPolicySimulate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling postAuthorizationPolicySimulate';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationPolicySimulate';return this.apiClient.callApi("/api/v2/authorization/policies/{policyId}/simulate","POST",{policyId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationRole(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling postAuthorizationRole';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationRole';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}","POST",{roleId:e},{subjectType:n.subjectType},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationRoleComparedefaultRightRoleId(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "leftRoleId" when calling postAuthorizationRoleComparedefaultRightRoleId';if(i==null||i==="")throw'Missing the required parameter "rightRoleId" when calling postAuthorizationRoleComparedefaultRightRoleId';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationRoleComparedefaultRightRoleId';return this.apiClient.callApi("/api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId}","POST",{leftRoleId:e,rightRoleId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAuthorizationRoles(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAuthorizationRoles';return this.apiClient.callApi("/api/v2/authorization/roles","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationRolesDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/roles/default","POST",{},{force:e.force},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postAuthorizationSubjectBulkadd(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkadd';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationSubjectBulkadd';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/bulkadd","POST",{subjectId:e},{subjectType:n.subjectType},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationSubjectBulkremove(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkremove';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationSubjectBulkremove';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/bulkremove","POST",{subjectId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationSubjectBulkreplace(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkreplace';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationSubjectBulkreplace';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/bulkreplace","POST",{subjectId:e},{subjectType:n.subjectType},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationSubjectDivisionRole(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectDivisionRole';if(i==null||i==="")throw'Missing the required parameter "divisionId" when calling postAuthorizationSubjectDivisionRole';if(n==null||n==="")throw'Missing the required parameter "roleId" when calling postAuthorizationSubjectDivisionRole';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}","POST",{subjectId:e,divisionId:i,roleId:n},{subjectType:a.subjectType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putAuthorizationDivision(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling putAuthorizationDivision';if(i==null)throw'Missing the required parameter "body" when calling putAuthorizationDivision';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}","PUT",{divisionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putAuthorizationPoliciesTarget(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "targetName" when calling putAuthorizationPoliciesTarget';if(i==null)throw'Missing the required parameter "body" when calling putAuthorizationPoliciesTarget';return this.apiClient.callApi("/api/v2/authorization/policies/targets/{targetName}","PUT",{targetName:e},{skipLockoutCheck:n.skipLockoutCheck},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putAuthorizationPolicy(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling putAuthorizationPolicy';if(i==null)throw'Missing the required parameter "body" when calling putAuthorizationPolicy';return this.apiClient.callApi("/api/v2/authorization/policies/{policyId}","PUT",{policyId:e},{skipLockoutCheck:n.skipLockoutCheck},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putAuthorizationRole(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling putAuthorizationRole';if(i==null)throw'Missing the required parameter "body" when calling putAuthorizationRole';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}","PUT",{roleId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putAuthorizationRoleUsersAdd(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling putAuthorizationRoleUsersAdd';if(i==null)throw'Missing the required parameter "body" when calling putAuthorizationRoleUsersAdd';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}/users/add","PUT",{roleId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putAuthorizationRoleUsersRemove(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roleId" when calling putAuthorizationRoleUsersRemove';if(i==null)throw'Missing the required parameter "body" when calling putAuthorizationRoleUsersRemove';return this.apiClient.callApi("/api/v2/authorization/roles/{roleId}/users/remove","PUT",{roleId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putAuthorizationRolesDefault(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putAuthorizationRolesDefault';return this.apiClient.callApi("/api/v2/authorization/roles/default","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putAuthorizationRolesSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putAuthorizationRolesSettings';return this.apiClient.callApi("/api/v2/authorization/roles/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putUserRoles(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling putUserRoles';if(i==null)throw'Missing the required parameter "body" when calling putUserRoles';return this.apiClient.callApi("/api/v2/users/{subjectId}/roles","PUT",{subjectId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},aA=class{constructor(e){this.apiClient=e||k.instance}postBackgroundassistantToken(e){return e=e||{},this.apiClient.callApi("/api/v2/backgroundassistant/token","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postScreenrecordingToken(e){return e=e||{},this.apiClient.callApi("/api/v2/screenrecording/token","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},rA=class{constructor(e){this.apiClient=e||k.instance}getBillingContract(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contractId" when calling getBillingContract';return this.apiClient.callApi("/api/v2/billing/contracts/{contractId}","GET",{contractId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBillingContractBillingperiod(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contractId" when calling getBillingContractBillingperiod';if(i==null||i==="")throw'Missing the required parameter "billingPeriodId" when calling getBillingContractBillingperiod';return this.apiClient.callApi("/api/v2/billing/contracts/{contractId}/billingperiods/{billingPeriodId}","GET",{contractId:e,billingPeriodId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBillingContracts(e){return e=e||{},this.apiClient.callApi("/api/v2/billing/contracts","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,dateStart:e.dateStart,dateEnd:e.dateEnd,status:e.status,externalNumber:e.externalNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getBillingContractsInvoiceDocument(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "invoiceId" when calling getBillingContractsInvoiceDocument';return this.apiClient.callApi("/api/v2/billing/contracts/invoices/{invoiceId}/document","GET",{invoiceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBillingContractsInvoiceLines(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "invoiceId" when calling getBillingContractsInvoiceLines';return this.apiClient.callApi("/api/v2/billing/contracts/invoices/{invoiceId}/lines","GET",{invoiceId:e},{before:i.before,after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBillingContractsInvoices(e){return e=e||{},this.apiClient.callApi("/api/v2/billing/contracts/invoices","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,dateStart:e.dateStart,dateEnd:e.dateEnd,paymentStatus:e.paymentStatus},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getBillingReportsBillableusage(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "startDate" when calling getBillingReportsBillableusage';if(i==null)throw'Missing the required parameter "endDate" when calling getBillingReportsBillableusage';return this.apiClient.callApi("/api/v2/billing/reports/billableusage","GET",{},{startDate:e,endDate:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBillingTrusteebillingoverviewTrustorOrgId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';return this.apiClient.callApi("/api/v2/billing/trusteebillingoverview/{trustorOrgId}","GET",{trustorOrgId:e},{billingPeriodIndex:i.billingPeriodIndex},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},sA=class{constructor(e){this.apiClient=e||k.instance}deleteBusinessrulesDecisiontable(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontable';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}","DELETE",{tableId:e},{forceDelete:i.forceDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteBusinessrulesDecisiontableExport(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableExport';if(i==null||i==="")throw'Missing the required parameter "exportJobId" when calling deleteBusinessrulesDecisiontableExport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/exports/{exportJobId}","DELETE",{tableId:e,exportJobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteBusinessrulesDecisiontableImport(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableImport';if(i==null||i==="")throw'Missing the required parameter "importJobId" when calling deleteBusinessrulesDecisiontableImport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}","DELETE",{tableId:e,importJobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteBusinessrulesDecisiontableVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersion';if(i==null)throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersion';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}","DELETE",{tableId:e,tableVersion:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteBusinessrulesDecisiontableVersionRow(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersionRow';if(i==null)throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersionRow';if(n==null||n==="")throw'Missing the required parameter "rowId" when calling deleteBusinessrulesDecisiontableVersionRow';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}","DELETE",{tableId:e,tableVersion:i,rowId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteBusinessrulesSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling deleteBusinessrulesSchema';return this.apiClient.callApi("/api/v2/businessrules/schemas/{schemaId}","DELETE",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesDecisiontable(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontable';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}","GET",{tableId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesDecisiontableExport(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableExport';if(i==null||i==="")throw'Missing the required parameter "exportJobId" when calling getBusinessrulesDecisiontableExport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/exports/{exportJobId}","GET",{tableId:e,exportJobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBusinessrulesDecisiontableExports(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableExports';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/exports","GET",{tableId:e},{after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesDecisiontableImport(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableImport';if(i==null||i==="")throw'Missing the required parameter "importJobId" when calling getBusinessrulesDecisiontableImport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}","GET",{tableId:e,importJobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBusinessrulesDecisiontableImports(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableImports';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/imports","GET",{tableId:e},{after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesDecisiontableVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersion';if(i==null)throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersion';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}","GET",{tableId:e,tableVersion:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBusinessrulesDecisiontableVersionRow(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRow';if(i==null)throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRow';if(n==null||n==="")throw'Missing the required parameter "rowId" when calling getBusinessrulesDecisiontableVersionRow';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}","GET",{tableId:e,tableVersion:i,rowId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getBusinessrulesDecisiontableVersionRows(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRows';if(i==null)throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRows';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows","GET",{tableId:e,tableVersion:i},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBusinessrulesDecisiontableVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersions';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions","GET",{tableId:e},{after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesDecisiontables(e){return e=e||{},this.apiClient.callApi("/api/v2/businessrules/decisiontables","GET",{},{after:e.after,pageSize:e.pageSize,divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getBusinessrulesDecisiontablesSearch(e){return e=e||{},this.apiClient.callApi("/api/v2/businessrules/decisiontables/search","GET",{},{after:e.after,pageSize:e.pageSize,schemaId:e.schemaId,name:e.name,withPublishedVersion:e.withPublishedVersion,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),ids:this.apiClient.buildCollectionParam(e.ids,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getBusinessrulesSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getBusinessrulesSchema';return this.apiClient.callApi("/api/v2/businessrules/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/businessrules/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getBusinessrulesSchemasCoretype(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getBusinessrulesSchemasCoretype';return this.apiClient.callApi("/api/v2/businessrules/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/businessrules/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchBusinessrulesDecisiontable(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontable';if(i==null)throw'Missing the required parameter "body" when calling patchBusinessrulesDecisiontable';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}","PATCH",{tableId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchBusinessrulesDecisiontableImport(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableImport';if(i==null||i==="")throw'Missing the required parameter "importJobId" when calling patchBusinessrulesDecisiontableImport';if(n==null)throw'Missing the required parameter "body" when calling patchBusinessrulesDecisiontableImport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}","PATCH",{tableId:e,importJobId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchBusinessrulesDecisiontableVersion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableVersion';if(i==null)throw'Missing the required parameter "tableVersion" when calling patchBusinessrulesDecisiontableVersion';if(n==null)throw'Missing the required parameter "body" when calling patchBusinessrulesDecisiontableVersion';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}","PATCH",{tableId:e,tableVersion:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableExecute(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExecute';if(i==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExecute';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/execute","POST",{tableId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postBusinessrulesDecisiontableExports(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExports';if(i==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExports';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/exports","POST",{tableId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postBusinessrulesDecisiontableImports(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableImports';if(i==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableImports';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/imports","POST",{tableId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postBusinessrulesDecisiontableVersionCopy(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionCopy';if(i==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionCopy';if(n==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionCopy';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/copy","POST",{tableId:e,tableVersion:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionExecute(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionExecute';if(i==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionExecute';if(n==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionExecute';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/execute","POST",{tableId:e,tableVersion:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionRows(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRows';if(i==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRows';if(n==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRows';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows","POST",{tableId:e,tableVersion:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionRowsBulkAdd(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';if(i==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';if(n==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/bulk/add","POST",{tableId:e,tableVersion:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionRowsBulkRemove(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';if(i==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';if(n==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/bulk/remove","POST",{tableId:e,tableVersion:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionRowsBulkUpdate(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';if(i==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';if(n==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/bulk/update","POST",{tableId:e,tableVersion:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionRowsSearch(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsSearch';if(i==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsSearch';if(n==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsSearch';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/search","POST",{tableId:e,tableVersion:i},{pageNumber:a.pageNumber,pageSize:a.pageSize},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionSync(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionSync';if(i==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionSync';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/sync","POST",{tableId:e,tableVersion:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postBusinessrulesDecisiontableVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersions';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions","POST",{tableId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postBusinessrulesDecisiontables(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontables';return this.apiClient.callApi("/api/v2/businessrules/decisiontables","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postBusinessrulesSchemas(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postBusinessrulesSchemas';return this.apiClient.callApi("/api/v2/businessrules/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putBusinessrulesDecisiontableVersionPublish(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionPublish';if(i==null)throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionPublish';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/publish","PUT",{tableId:e,tableVersion:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putBusinessrulesDecisiontableVersionRow(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionRow';if(i==null)throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionRow';if(n==null||n==="")throw'Missing the required parameter "rowId" when calling putBusinessrulesDecisiontableVersionRow';if(a==null)throw'Missing the required parameter "body" when calling putBusinessrulesDecisiontableVersionRow';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}","PUT",{tableId:e,tableVersion:i,rowId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}putBusinessrulesSchema(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putBusinessrulesSchema';if(i==null)throw'Missing the required parameter "body" when calling putBusinessrulesSchema';return this.apiClient.callApi("/api/v2/businessrules/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},oA=class{constructor(e){this.apiClient=e||k.instance}getCarrierservicesIntegrationsEmergencylocationsMe(e,i){if(i=i||{},e==null)throw'Missing the required parameter "phoneNumber" when calling getCarrierservicesIntegrationsEmergencylocationsMe';return this.apiClient.callApi("/api/v2/carrierservices/integrations/emergencylocations/me","GET",{},{phoneNumber:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCarrierservicesIntegrationsEmergencylocationsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/carrierservices/integrations/emergencylocations/me","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},lA=class{constructor(e){this.apiClient=e||k.instance}deleteCasemanagementCase(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling deleteCasemanagementCase';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}","DELETE",{caseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteCasemanagementCaseCommentsMeCommentId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling deleteCasemanagementCaseCommentsMeCommentId';if(i==null||i==="")throw'Missing the required parameter "commentId" when calling deleteCasemanagementCaseCommentsMeCommentId';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/comments/me/{commentId}","DELETE",{caseId:e,commentId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteCasemanagementCaseplan(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}","DELETE",{caseplanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteCasemanagementCaseplanDataschema(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplanDataschema';if(i==null||i==="")throw'Missing the required parameter "schemaKeyName" when calling deleteCasemanagementCaseplanDataschema';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas/{schemaKeyName}","DELETE",{caseplanId:e,schemaKeyName:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCase(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCase';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}","GET",{caseId:e},{expands:this.apiClient.buildCollectionParam(i.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseAssociation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociation';if(i==null||i==="")throw'Missing the required parameter "associationId" when calling getCasemanagementCaseAssociation';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/associations/{associationId}","GET",{caseId:e,associationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseAssociations(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociations';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/associations","GET",{caseId:e},{before:i.before,after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseComment(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseComment';if(i==null||i==="")throw'Missing the required parameter "commentId" when calling getCasemanagementCaseComment';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/comments/{commentId}","GET",{caseId:e,commentId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseComments(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseComments';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/comments","GET",{caseId:e},{after:i.after,pageSize:i.pageSize,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseStage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStage';if(i==null||i==="")throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStage';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/stages/{stageId}","GET",{caseId:e,stageId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseStageStep(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageStep';if(i==null||i==="")throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageStep';if(n==null||n==="")throw'Missing the required parameter "stepId" when calling getCasemanagementCaseStageStep';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/stages/{stageId}/steps/{stepId}","GET",{caseId:e,stageId:i,stepId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getCasemanagementCaseStageSteps(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageSteps';if(i==null||i==="")throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageSteps';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/stages/{stageId}/steps","GET",{caseId:e,stageId:i},{before:n.before,after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseStages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStages';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/stages","GET",{caseId:e},{before:i.before,after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseTerminateJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseTerminateJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getCasemanagementCaseTerminateJob';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/terminate/jobs/{jobId}","GET",{caseId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseplan(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}","GET",{caseplanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseplanVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersion';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}","GET",{caseplanId:e,versionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseplanVersionDataschemas(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionDataschemas';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionDataschemas';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/dataschemas","GET",{caseplanId:e,versionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseplanVersionIntakesettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionIntakesettings';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionIntakesettings';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/intakesettings","GET",{caseplanId:e,versionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseplanVersionStageplan(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplan';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplan';if(n==null||n==="")throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}","GET",{caseplanId:e,versionId:i,stageplanId:n},{expands:this.apiClient.buildCollectionParam(a.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getCasemanagementCaseplanVersionStageplanStepplan(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplan';if(n==null||n==="")throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';if(a==null||a==="")throw'Missing the required parameter "stepplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}/stepplans/{stepplanId}","GET",{caseplanId:e,versionId:i,stageplanId:n,stepplanId:a},{expands:this.apiClient.buildCollectionParam(r.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getCasemanagementCaseplanVersionStageplanStepplans(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplans';if(n==null||n==="")throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}/stepplans","GET",{caseplanId:e,versionId:i,stageplanId:n},{before:a.before,after:a.after,pageSize:a.pageSize,expands:this.apiClient.buildCollectionParam(a.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getCasemanagementCaseplanVersionStageplans(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplans';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplans';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans","GET",{caseplanId:e,versionId:i},{before:n.before,after:n.after,pageSize:n.pageSize,expands:this.apiClient.buildCollectionParam(n.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCaseplans(e){return e=e||{},this.apiClient.callApi("/api/v2/casemanagement/caseplans","GET",{},{after:e.after,pageSize:e.pageSize,customerIntentId:e.customerIntentId,divisionIds:e.divisionIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getCasemanagementCasesExternalcontact(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalContactId" when calling getCasemanagementCasesExternalcontact';return this.apiClient.callApi("/api/v2/casemanagement/cases/externalcontacts/{externalContactId}","GET",{externalContactId:e},{after:i.after,pageSize:i.pageSize,divisionIds:i.divisionIds,expands:this.apiClient.buildCollectionParam(i.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCasesReference(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "referenceId" when calling getCasemanagementCasesReference';return this.apiClient.callApi("/api/v2/casemanagement/cases/references/{referenceId}","GET",{referenceId:e},{expands:this.apiClient.buildCollectionParam(i.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchCasemanagementCaseDatedue(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseDatedue';if(i==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseDatedue';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/datedue","PATCH",{caseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchCasemanagementCasePriority(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling patchCasemanagementCasePriority';if(i==null)throw'Missing the required parameter "body" when calling patchCasemanagementCasePriority';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/priority","PATCH",{caseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchCasemanagementCaseSummary(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseSummary';if(i==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseSummary';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/summary","PATCH",{caseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchCasemanagementCaseplan(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplan';if(i==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}","PATCH",{caseplanId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchCasemanagementCaseplanStageplan(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplan';if(i==null||i==="")throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplan';if(n==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseplanStageplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}","PATCH",{caseplanId:e,stageplanId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchCasemanagementCaseplanStageplanStepplan(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplanStepplan';if(i==null||i==="")throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplanStepplan';if(n==null||n==="")throw'Missing the required parameter "stepplanId" when calling patchCasemanagementCaseplanStageplanStepplan';if(a==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseplanStageplanStepplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}/stepplans/{stepplanId}","PATCH",{caseplanId:e,stageplanId:i,stepplanId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postCasemanagementCaseAssociations(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling postCasemanagementCaseAssociations';if(i==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseAssociations';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/associations","POST",{caseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCasemanagementCaseComments(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling postCasemanagementCaseComments';if(i==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseComments';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/comments","POST",{caseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCasemanagementCaseTerminateJobs(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling postCasemanagementCaseTerminateJobs';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/terminate/jobs","POST",{caseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCasemanagementCaseplanDataschemas(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanDataschemas';if(i==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseplanDataschemas';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas","POST",{caseplanId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCasemanagementCaseplanPublish(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanPublish';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/publish","POST",{caseplanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCasemanagementCaseplanVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanVersions';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/versions","POST",{caseplanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCasemanagementCaseplans(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseplans';return this.apiClient.callApi("/api/v2/casemanagement/caseplans","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCasemanagementCaseplansQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseplansQuery';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCasemanagementCases(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postCasemanagementCases';return this.apiClient.callApi("/api/v2/casemanagement/cases","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCasemanagementCasesAssociationsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postCasemanagementCasesAssociationsQuery';return this.apiClient.callApi("/api/v2/casemanagement/cases/associations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putCasemanagementCaseplanDataschema(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling putCasemanagementCaseplanDataschema';if(i==null||i==="")throw'Missing the required parameter "schemaKeyName" when calling putCasemanagementCaseplanDataschema';if(n==null)throw'Missing the required parameter "body" when calling putCasemanagementCaseplanDataschema';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas/{schemaKeyName}","PUT",{caseplanId:e,schemaKeyName:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putCasemanagementCaseplanIntakesettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling putCasemanagementCaseplanIntakesettings';if(i==null)throw'Missing the required parameter "body" when calling putCasemanagementCaseplanIntakesettings';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/intakesettings","PUT",{caseplanId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},uA=class{constructor(e){this.apiClient=e||k.instance}deleteChatsRoomMessage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';if(i==null||i==="")throw'Missing the required parameter "messageId" when calling deleteChatsRoomMessage';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages/{messageId}","DELETE",{roomJid:e,messageId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteChatsRoomMessagesPin(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling deleteChatsRoomMessagesPin';if(i==null||i==="")throw'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomMessagesPin';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages/pins/{pinnedMessageId}","DELETE",{roomJid:e,pinnedMessageId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteChatsRoomParticipant(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';if(i==null||i==="")throw'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/participants/{userId}","DELETE",{roomJid:e,userId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteChatsUserMessage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteChatsUserMessage';if(i==null||i==="")throw'Missing the required parameter "messageId" when calling deleteChatsUserMessage';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages/{messageId}","DELETE",{userId:e,messageId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteChatsUserMessagesPin(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteChatsUserMessagesPin';if(i==null||i==="")throw'Missing the required parameter "pinnedMessageId" when calling deleteChatsUserMessagesPin';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages/pins/{pinnedMessageId}","DELETE",{userId:e,pinnedMessageId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteChatsUsersMeSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/chats/users/me/settings","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getChatsMessage(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling getChatsMessage';return this.apiClient.callApi("/api/v2/chats/messages/{messageId}","GET",{messageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getChatsRoom(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling getChatsRoom';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}","GET",{roomJid:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getChatsRoomMessage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling getChatsRoomMessage';if(i==null||i==="")throw'Missing the required parameter "messageIds" when calling getChatsRoomMessage';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages/{messageIds}","GET",{roomJid:e,messageIds:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getChatsRoomMessages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling getChatsRoomMessages';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages","GET",{roomJid:e},{limit:i.limit,before:i.before,after:i.after,excludeMetadata:i.excludeMetadata},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getChatsRoomParticipant(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling getChatsRoomParticipant';if(i==null||i==="")throw'Missing the required parameter "participantJid" when calling getChatsRoomParticipant';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/participants/{participantJid}","GET",{roomJid:e,participantJid:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getChatsRoomParticipants(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling getChatsRoomParticipants';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/participants","GET",{roomJid:e},{notify:i.notify},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getChatsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/chats/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getChatsThreadMessages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "threadId" when calling getChatsThreadMessages';return this.apiClient.callApi("/api/v2/chats/threads/{threadId}/messages","GET",{threadId:e},{limit:i.limit,before:i.before,after:i.after,excludeMetadata:i.excludeMetadata},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getChatsUser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getChatsUser';return this.apiClient.callApi("/api/v2/chats/users/{userId}","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getChatsUserMessage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getChatsUserMessage';if(i==null||i==="")throw'Missing the required parameter "messageIds" when calling getChatsUserMessage';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages/{messageIds}","GET",{userId:e,messageIds:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getChatsUserMessages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getChatsUserMessages';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages","GET",{userId:e},{limit:i.limit,before:i.before,after:i.after,excludeMetadata:i.excludeMetadata},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getChatsUserSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getChatsUserSettings';return this.apiClient.callApi("/api/v2/chats/users/{userId}/settings","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getChatsUsersMeSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/chats/users/me/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchChatsRoom(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling patchChatsRoom';if(i==null)throw'Missing the required parameter "body" when calling patchChatsRoom';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}","PATCH",{roomJid:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchChatsRoomMessage(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling patchChatsRoomMessage';if(i==null||i==="")throw'Missing the required parameter "messageId" when calling patchChatsRoomMessage';if(n==null)throw'Missing the required parameter "body" when calling patchChatsRoomMessage';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages/{messageId}","PATCH",{roomJid:e,messageId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchChatsSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchChatsSettings';return this.apiClient.callApi("/api/v2/chats/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchChatsUserMessage(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchChatsUserMessage';if(i==null||i==="")throw'Missing the required parameter "messageId" when calling patchChatsUserMessage';if(n==null)throw'Missing the required parameter "body" when calling patchChatsUserMessage';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages/{messageId}","PATCH",{userId:e,messageId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchChatsUserSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchChatsUserSettings';if(i==null)throw'Missing the required parameter "body" when calling patchChatsUserSettings';return this.apiClient.callApi("/api/v2/chats/users/{userId}/settings","PATCH",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchChatsUsersMeSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchChatsUsersMeSettings';return this.apiClient.callApi("/api/v2/chats/users/me/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postChatsRoomMessages(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling postChatsRoomMessages';if(i==null)throw'Missing the required parameter "body" when calling postChatsRoomMessages';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages","POST",{roomJid:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postChatsRoomMessagesPins(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling postChatsRoomMessagesPins';if(i==null)throw'Missing the required parameter "body" when calling postChatsRoomMessagesPins';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/messages/pins","POST",{roomJid:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postChatsRoomParticipant(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';if(i==null||i==="")throw'Missing the required parameter "userId" when calling postChatsRoomParticipant';return this.apiClient.callApi("/api/v2/chats/rooms/{roomJid}/participants/{userId}","POST",{roomJid:e,userId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postChatsRooms(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postChatsRooms';return this.apiClient.callApi("/api/v2/chats/rooms","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postChatsUserMessages(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postChatsUserMessages';if(i==null)throw'Missing the required parameter "body" when calling postChatsUserMessages';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages","POST",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postChatsUserMessagesPins(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postChatsUserMessagesPins';if(i==null)throw'Missing the required parameter "body" when calling postChatsUserMessagesPins';return this.apiClient.callApi("/api/v2/chats/users/{userId}/messages/pins","POST",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postChatsUsersMeSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postChatsUsersMeSettings';return this.apiClient.callApi("/api/v2/chats/users/me/settings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putChatsMessageReactions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling putChatsMessageReactions';if(i==null)throw'Missing the required parameter "body" when calling putChatsMessageReactions';return this.apiClient.callApi("/api/v2/chats/messages/{messageId}/reactions","PUT",{messageId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putChatsSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putChatsSettings';return this.apiClient.callApi("/api/v2/chats/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},cA=class{constructor(e){this.apiClient=e||k.instance}deleteCoachingAppointment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling deleteCoachingAppointment';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}","DELETE",{appointmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteCoachingAppointmentAnnotation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling deleteCoachingAppointmentAnnotation';if(i==null||i==="")throw'Missing the required parameter "annotationId" when calling deleteCoachingAppointmentAnnotation';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/annotations/{annotationId}","DELETE",{appointmentId:e,annotationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCoachingAppointment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling getCoachingAppointment';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}","GET",{appointmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCoachingAppointmentAnnotation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling getCoachingAppointmentAnnotation';if(i==null||i==="")throw'Missing the required parameter "annotationId" when calling getCoachingAppointmentAnnotation';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/annotations/{annotationId}","GET",{appointmentId:e,annotationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCoachingAppointmentAnnotations(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling getCoachingAppointmentAnnotations';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/annotations","GET",{appointmentId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCoachingAppointmentStatuses(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling getCoachingAppointmentStatuses';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/statuses","GET",{appointmentId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCoachingAppointments(e,i){if(i=i||{},e==null)throw'Missing the required parameter "userIds" when calling getCoachingAppointments';return this.apiClient.callApi("/api/v2/coaching/appointments","GET",{},{userIds:this.apiClient.buildCollectionParam(e,"multi"),interval:i.interval,pageNumber:i.pageNumber,pageSize:i.pageSize,statuses:this.apiClient.buildCollectionParam(i.statuses,"multi"),facilitatorIds:this.apiClient.buildCollectionParam(i.facilitatorIds,"multi"),sortOrder:i.sortOrder,relationships:this.apiClient.buildCollectionParam(i.relationships,"multi"),completionInterval:i.completionInterval,overdue:i.overdue,intervalCondition:i.intervalCondition},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCoachingAppointmentsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/coaching/appointments/me","GET",{},{interval:e.interval,pageNumber:e.pageNumber,pageSize:e.pageSize,statuses:this.apiClient.buildCollectionParam(e.statuses,"multi"),facilitatorIds:this.apiClient.buildCollectionParam(e.facilitatorIds,"multi"),sortOrder:e.sortOrder,relationships:this.apiClient.buildCollectionParam(e.relationships,"multi"),completionInterval:e.completionInterval,overdue:e.overdue,intervalCondition:e.intervalCondition},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getCoachingNotification(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "notificationId" when calling getCoachingNotification';return this.apiClient.callApi("/api/v2/coaching/notifications/{notificationId}","GET",{notificationId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCoachingNotifications(e){return e=e||{},this.apiClient.callApi("/api/v2/coaching/notifications","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getCoachingScheduleslotsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getCoachingScheduleslotsJob';return this.apiClient.callApi("/api/v2/coaching/scheduleslots/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchCoachingAppointment(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling patchCoachingAppointment';if(i==null)throw'Missing the required parameter "body" when calling patchCoachingAppointment';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}","PATCH",{appointmentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchCoachingAppointmentAnnotation(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling patchCoachingAppointmentAnnotation';if(i==null||i==="")throw'Missing the required parameter "annotationId" when calling patchCoachingAppointmentAnnotation';if(n==null)throw'Missing the required parameter "body" when calling patchCoachingAppointmentAnnotation';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/annotations/{annotationId}","PATCH",{appointmentId:e,annotationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchCoachingAppointmentStatus(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling patchCoachingAppointmentStatus';if(i==null)throw'Missing the required parameter "body" when calling patchCoachingAppointmentStatus';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/status","PATCH",{appointmentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchCoachingNotification(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "notificationId" when calling patchCoachingNotification';if(i==null)throw'Missing the required parameter "body" when calling patchCoachingNotification';return this.apiClient.callApi("/api/v2/coaching/notifications/{notificationId}","PATCH",{notificationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCoachingAppointmentAnnotations(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling postCoachingAppointmentAnnotations';if(i==null)throw'Missing the required parameter "body" when calling postCoachingAppointmentAnnotations';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/annotations","POST",{appointmentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCoachingAppointmentConversations(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "appointmentId" when calling postCoachingAppointmentConversations';if(i==null)throw'Missing the required parameter "body" when calling postCoachingAppointmentConversations';return this.apiClient.callApi("/api/v2/coaching/appointments/{appointmentId}/conversations","POST",{appointmentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postCoachingAppointments(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postCoachingAppointments';return this.apiClient.callApi("/api/v2/coaching/appointments","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCoachingAppointmentsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postCoachingAppointmentsAggregatesQuery';return this.apiClient.callApi("/api/v2/coaching/appointments/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCoachingScheduleslotsJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postCoachingScheduleslotsJobs';return this.apiClient.callApi("/api/v2/coaching/scheduleslots/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCoachingScheduleslotsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';return this.apiClient.callApi("/api/v2/coaching/scheduleslots/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},pA=class{constructor(e){this.apiClient=e||k.instance}deleteContentmanagementDocument(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling deleteContentmanagementDocument';return this.apiClient.callApi("/api/v2/contentmanagement/documents/{documentId}","DELETE",{documentId:e},{override:i.override},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteContentmanagementShare(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "shareId" when calling deleteContentmanagementShare';return this.apiClient.callApi("/api/v2/contentmanagement/shares/{shareId}","DELETE",{shareId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteContentmanagementStatusStatusId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "statusId" when calling deleteContentmanagementStatusStatusId';return this.apiClient.callApi("/api/v2/contentmanagement/status/{statusId}","DELETE",{statusId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteContentmanagementWorkspace(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling deleteContentmanagementWorkspace';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}","DELETE",{workspaceId:e},{moveChildrenToWorkspaceId:i.moveChildrenToWorkspaceId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteContentmanagementWorkspaceMember(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling deleteContentmanagementWorkspaceMember';if(i==null||i==="")throw'Missing the required parameter "memberId" when calling deleteContentmanagementWorkspaceMember';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}","DELETE",{workspaceId:e,memberId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteContentmanagementWorkspaceTagvalue(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling deleteContentmanagementWorkspaceTagvalue';if(i==null||i==="")throw'Missing the required parameter "tagId" when calling deleteContentmanagementWorkspaceTagvalue';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}","DELETE",{workspaceId:e,tagId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementDocument(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling getContentmanagementDocument';return this.apiClient.callApi("/api/v2/contentmanagement/documents/{documentId}","GET",{documentId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementDocumentContent(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling getContentmanagementDocumentContent';return this.apiClient.callApi("/api/v2/contentmanagement/documents/{documentId}/content","GET",{documentId:e},{disposition:i.disposition,contentType:i.contentType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementDocuments(e,i){if(i=i||{},e==null)throw'Missing the required parameter "workspaceId" when calling getContentmanagementDocuments';return this.apiClient.callApi("/api/v2/contentmanagement/documents","GET",{},{workspaceId:e,name:i.name,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),pageSize:i.pageSize,pageNumber:i.pageNumber,sortBy:i.sortBy,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "queryPhrase" when calling getContentmanagementQuery';return this.apiClient.callApi("/api/v2/contentmanagement/query","GET",{},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortBy:i.sortBy,sortOrder:i.sortOrder,queryPhrase:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementSecurityprofile(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "securityProfileId" when calling getContentmanagementSecurityprofile';return this.apiClient.callApi("/api/v2/contentmanagement/securityprofiles/{securityProfileId}","GET",{securityProfileId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementSecurityprofiles(e){return e=e||{},this.apiClient.callApi("/api/v2/contentmanagement/securityprofiles","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getContentmanagementShare(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "shareId" when calling getContentmanagementShare';return this.apiClient.callApi("/api/v2/contentmanagement/shares/{shareId}","GET",{shareId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementSharedSharedId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sharedId" when calling getContentmanagementSharedSharedId';return this.apiClient.callApi("/api/v2/contentmanagement/shared/{sharedId}","GET",{sharedId:e},{disposition:i.disposition,contentType:i.contentType,expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementShares(e){return e=e||{},this.apiClient.callApi("/api/v2/contentmanagement/shares","GET",{},{entityId:e.entityId,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getContentmanagementStatus(e){return e=e||{},this.apiClient.callApi("/api/v2/contentmanagement/status","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getContentmanagementStatusStatusId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "statusId" when calling getContentmanagementStatusStatusId';return this.apiClient.callApi("/api/v2/contentmanagement/status/{statusId}","GET",{statusId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementUsage(e){return e=e||{},this.apiClient.callApi("/api/v2/contentmanagement/usage","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getContentmanagementWorkspace(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling getContentmanagementWorkspace';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}","GET",{workspaceId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementWorkspaceDocuments(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling getContentmanagementWorkspaceDocuments';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/documents","GET",{workspaceId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi"),pageSize:i.pageSize,pageNumber:i.pageNumber,sortBy:i.sortBy,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementWorkspaceMember(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling getContentmanagementWorkspaceMember';if(i==null||i==="")throw'Missing the required parameter "memberId" when calling getContentmanagementWorkspaceMember';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}","GET",{workspaceId:e,memberId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementWorkspaceMembers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling getContentmanagementWorkspaceMembers';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/members","GET",{workspaceId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementWorkspaceTagvalue(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling getContentmanagementWorkspaceTagvalue';if(i==null||i==="")throw'Missing the required parameter "tagId" when calling getContentmanagementWorkspaceTagvalue';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}","GET",{workspaceId:e,tagId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getContentmanagementWorkspaceTagvalues(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling getContentmanagementWorkspaceTagvalues';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues","GET",{workspaceId:e},{value:i.value,pageSize:i.pageSize,pageNumber:i.pageNumber,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getContentmanagementWorkspaces(e){return e=e||{},this.apiClient.callApi("/api/v2/contentmanagement/workspaces","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,access:this.apiClient.buildCollectionParam(e.access,"multi"),expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postContentmanagementDocument(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling postContentmanagementDocument';if(i==null)throw'Missing the required parameter "body" when calling postContentmanagementDocument';return this.apiClient.callApi("/api/v2/contentmanagement/documents/{documentId}","POST",{documentId:e},{expand:n.expand,override:n.override},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postContentmanagementDocumentContent(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling postContentmanagementDocumentContent';if(i==null)throw'Missing the required parameter "body" when calling postContentmanagementDocumentContent';return this.apiClient.callApi("/api/v2/contentmanagement/documents/{documentId}/content","POST",{documentId:e},{override:n.override},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postContentmanagementDocuments(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postContentmanagementDocuments';return this.apiClient.callApi("/api/v2/contentmanagement/documents","POST",{},{copySource:i.copySource,moveSource:i.moveSource,override:i.override},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postContentmanagementQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postContentmanagementQuery';return this.apiClient.callApi("/api/v2/contentmanagement/query","POST",{},{expand:i.expand},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postContentmanagementShares(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postContentmanagementShares';return this.apiClient.callApi("/api/v2/contentmanagement/shares","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postContentmanagementWorkspaceTagvalues(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling postContentmanagementWorkspaceTagvalues';if(i==null)throw'Missing the required parameter "body" when calling postContentmanagementWorkspaceTagvalues';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues","POST",{workspaceId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postContentmanagementWorkspaceTagvaluesQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling postContentmanagementWorkspaceTagvaluesQuery';if(i==null)throw'Missing the required parameter "body" when calling postContentmanagementWorkspaceTagvaluesQuery';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/query","POST",{workspaceId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postContentmanagementWorkspaces(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postContentmanagementWorkspaces';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putContentmanagementWorkspace(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling putContentmanagementWorkspace';if(i==null)throw'Missing the required parameter "body" when calling putContentmanagementWorkspace';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}","PUT",{workspaceId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putContentmanagementWorkspaceMember(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling putContentmanagementWorkspaceMember';if(i==null||i==="")throw'Missing the required parameter "memberId" when calling putContentmanagementWorkspaceMember';if(n==null)throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceMember';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}","PUT",{workspaceId:e,memberId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putContentmanagementWorkspaceTagvalue(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "workspaceId" when calling putContentmanagementWorkspaceTagvalue';if(i==null||i==="")throw'Missing the required parameter "tagId" when calling putContentmanagementWorkspaceTagvalue';if(n==null)throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';return this.apiClient.callApi("/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}","PUT",{workspaceId:e,tagId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}},dA=class{constructor(e){this.apiClient=e||k.instance}deleteAnalyticsConversationsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsConversationsDetailsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsDetailsJob';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversation';return this.apiClient.callApi("/api/v2/conversations/{conversationId}","DELETE",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationCustomattribute(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationCustomattribute';if(i==null||i==="")throw'Missing the required parameter "attributesId" when calling deleteConversationCustomattribute';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes/{attributesId}","DELETE",{conversationId:e,attributesId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationParticipantCode(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationParticipantCode';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling deleteConversationParticipantCode';if(n==null||n==="")throw'Missing the required parameter "addCommunicationCode" when calling deleteConversationParticipantCode';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/codes/{addCommunicationCode}","DELETE",{conversationId:e,participantId:i,addCommunicationCode:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteConversationParticipantFlaggedreason(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationParticipantFlaggedreason';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling deleteConversationParticipantFlaggedreason';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/flaggedreason","DELETE",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationsCallParticipantCommunicationPostflowaction(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationsCallParticipantCommunicationPostflowaction';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling deleteConversationsCallParticipantCommunicationPostflowaction';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling deleteConversationsCallParticipantCommunicationPostflowaction';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/postflowaction","DELETE",{conversationId:e,participantId:i,communicationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteConversationsCallParticipantConsult(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationsCallParticipantConsult';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling deleteConversationsCallParticipantConsult';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult","DELETE",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationsEmailMessagesDraftAttachment(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationsEmailMessagesDraftAttachment';if(i==null||i==="")throw'Missing the required parameter "attachmentId" when calling deleteConversationsEmailMessagesDraftAttachment';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/draft/attachments/{attachmentId}","DELETE",{conversationId:e,attachmentId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteConversationsMessagesCachedmediaCachedMediaItemId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "cachedMediaItemId" when calling deleteConversationsMessagesCachedmediaCachedMediaItemId';return this.apiClient.callApi("/api/v2/conversations/messages/cachedmedia/{cachedMediaItemId}","DELETE",{cachedMediaItemId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsMessagingIntegrationsAppleIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsAppleIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/apple/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsMessagingIntegrationsFacebookIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsFacebookIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/facebook/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsMessagingIntegrationsInstagramIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsInstagramIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/instagram/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsMessagingIntegrationsOpenIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsMessagingIntegrationsTwitterIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsTwitterIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/twitter/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsMessagingIntegrationsWhatsappIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsWhatsappIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsMessagingSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageSettingId" when calling deleteConversationsMessagingSetting';return this.apiClient.callApi("/api/v2/conversations/messaging/settings/{messageSettingId}","DELETE",{messageSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteConversationsMessagingSettingsDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/settings/default","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteConversationsMessagingSupportedcontentSupportedContentId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';return this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent/{supportedContentId}","DELETE",{supportedContentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsConversationDetails(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getAnalyticsConversationDetails';return this.apiClient.callApi("/api/v2/analytics/conversations/{conversationId}/details","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsConversationsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsConversationsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsConversationsDetails(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/conversations/details","GET",{},{id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsConversationsDetailsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsDetailsJob';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsConversationsDetailsJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsDetailsJobResults';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsConversationsDetailsJobsAvailability(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs/availability","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversation';return this.apiClient.callApi("/api/v2/conversations/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationAccessattributes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationAccessattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/accessattributes","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationAssistantCopilotcontext(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationAssistantCopilotcontext';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/assistant/copilotcontext","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationCommunicationAgentchecklist(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCommunicationAgentchecklist';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationCommunicationAgentchecklist';if(n==null||n==="")throw'Missing the required parameter "agentChecklistId" when calling getConversationCommunicationAgentchecklist';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}","GET",{conversationId:e,communicationId:i,agentChecklistId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationCommunicationAgentchecklistJob(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCommunicationAgentchecklistJob';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationCommunicationAgentchecklistJob';if(n==null||n==="")throw'Missing the required parameter "agentChecklistId" when calling getConversationCommunicationAgentchecklistJob';if(a==null||a==="")throw'Missing the required parameter "jobId" when calling getConversationCommunicationAgentchecklistJob';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}/jobs/{jobId}","GET",{conversationId:e,communicationId:i,agentChecklistId:n,jobId:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getConversationCommunicationAgentchecklists(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCommunicationAgentchecklists';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationCommunicationAgentchecklists';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists","GET",{conversationId:e,communicationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationCommunicationInternalmessage(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessage';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessage';if(n==null||n==="")throw'Missing the required parameter "messageId" when calling getConversationCommunicationInternalmessage';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages/{messageId}","GET",{conversationId:e,communicationId:i,messageId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationCommunicationInternalmessages(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessages';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessages';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages","GET",{conversationId:e,communicationId:i},{pageSize:n.pageSize,pageNumber:n.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationCustomattribute(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCustomattribute';if(i==null||i==="")throw'Missing the required parameter "attributesId" when calling getConversationCustomattribute';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes/{attributesId}","GET",{conversationId:e,attributesId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationCustomattributes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationCustomattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationParticipantSecureivrsession(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationParticipantSecureivrsession';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationParticipantSecureivrsession';if(n==null||n==="")throw'Missing the required parameter "secureSessionId" when calling getConversationParticipantSecureivrsession';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions/{secureSessionId}","GET",{conversationId:e,participantId:i,secureSessionId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationParticipantSecureivrsessions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationParticipantSecureivrsessions';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationParticipantSecureivrsessions';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions","GET",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationParticipantWrapup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationParticipantWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:i},{provisional:n.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationParticipantWrapupcodes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationParticipantWrapupcodes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationSecureattributes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationSecureattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/secureattributes","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationSuggestion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationSuggestion';if(i==null||i==="")throw'Missing the required parameter "suggestionId" when calling getConversationSuggestion';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/suggestions/{suggestionId}","GET",{conversationId:e,suggestionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationSuggestions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationSuggestions';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/suggestions","GET",{conversationId:e},{before:i.before,after:i.after,pageSize:i.pageSize,type:i.type,state:i.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationSummaries(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationSummaries';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/summaries","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversations(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations","GET",{},{communicationType:e.communicationType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCall(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCall';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCallParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsCallParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationsCallParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:i,communicationId:n},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsCallParticipantWrapup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallParticipantWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsCallParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:i},{provisional:n.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCallParticipantWrapupcodes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallParticipantWrapupcodes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsCallParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCallback(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallback';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCallbackParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationsCallbackParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:i,communicationId:n},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsCallbackParticipantWrapup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:i},{provisional:n.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCallbackParticipantWrapupcodes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantWrapupcodes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCallbacks(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/callbacks","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCalls(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/calls","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCallsHistory(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/calls/history","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,interval:e.interval,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCallsMaximumconferenceparties(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/calls/maximumconferenceparties","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsChat(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsChat';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsChatMessage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsChatMessage';if(i==null||i==="")throw'Missing the required parameter "messageId" when calling getConversationsChatMessage';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/messages/{messageId}","GET",{conversationId:e,messageId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsChatMessages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsChatMessages';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/messages","GET",{conversationId:e},{after:i.after,before:i.before,sortOrder:i.sortOrder,maxResults:i.maxResults},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsChatParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsChatParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsChatParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationsChatParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:i,communicationId:n},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsChatParticipantWrapup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsChatParticipantWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsChatParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:i},{provisional:n.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsChatParticipantWrapupcodes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsChatParticipantWrapupcodes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsChatParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsChats(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/chats","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCobrowsesession(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCobrowsesession';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCobrowsesessionParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:i,communicationId:n},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsCobrowsesessionParticipantWrapup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:i},{provisional:n.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCobrowsesessionParticipantWrapupcodes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantWrapupcodes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCobrowsesessions(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/cobrowsesessions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCustomattributesSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchema';return this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCustomattributesSchemaVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchemaVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getConversationsCustomattributesSchemaVersion';return this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/{schemaId}/versions/{versionId}","GET",{schemaId:e,versionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsCustomattributesSchemaVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchemaVersions';return this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/{schemaId}/versions","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCustomattributesSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/customattributes/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCustomattributesSchemasCoretype(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getConversationsCustomattributesSchemasCoretype';return this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsCustomattributesSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsCustomattributesSchemasLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsEmail(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmail';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsEmailMessage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailMessage';if(i==null||i==="")throw'Missing the required parameter "messageId" when calling getConversationsEmailMessage';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/{messageId}","GET",{conversationId:e,messageId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsEmailMessages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailMessages';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages","GET",{conversationId:e},{includeAgentlessStitchedMessages:i.includeAgentlessStitchedMessages},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsEmailMessagesDraft(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailMessagesDraft';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/draft","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsEmailParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsEmailParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationsEmailParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:i,communicationId:n},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsEmailParticipantWrapup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsEmailParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:i},{provisional:n.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsEmailParticipantWrapupcodes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantWrapupcodes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsEmailParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsEmailSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsEmailSettings';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/settings","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsEmails(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/emails","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsInternalmessage(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsInternalmessage';return this.apiClient.callApi("/api/v2/conversations/internalmessages/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsInternalmessages(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/internalmessages","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsKeyconfiguration(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "keyconfigurationsId" when calling getConversationsKeyconfiguration';return this.apiClient.callApi("/api/v2/conversations/keyconfigurations/{keyconfigurationsId}","GET",{keyconfigurationsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsKeyconfigurations(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/keyconfigurations","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessage(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessage';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessageCommunicationMessagesMedia(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMedia';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationsMessageCommunicationMessagesMedia';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media","GET",{conversationId:e,communicationId:i},{status:n.status,pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessageCommunicationMessagesMediaMediaId(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMediaMediaId';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getConversationsMessageCommunicationMessagesMediaMediaId';if(n==null||n==="")throw'Missing the required parameter "mediaId" when calling getConversationsMessageCommunicationMessagesMediaMediaId';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media/{mediaId}","GET",{conversationId:e,communicationId:i,mediaId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsMessageDetails(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling getConversationsMessageDetails';return this.apiClient.callApi("/api/v2/conversations/messages/{messageId}/details","GET",{messageId:e},{useNormalizedMessage:i.useNormalizedMessage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessageMessage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessageMessage';if(i==null||i==="")throw'Missing the required parameter "messageId" when calling getConversationsMessageMessage';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/messages/{messageId}","GET",{conversationId:e,messageId:i},{useNormalizedMessage:n.useNormalizedMessage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessageParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsMessageParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationsMessageParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:i,communicationId:n},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsMessageParticipantWrapup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsMessageParticipantWrapup';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/wrapup","GET",{conversationId:e,participantId:i},{provisional:n.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessageParticipantWrapupcodes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantWrapupcodes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsMessageParticipantWrapupcodes';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/wrapupcodes","GET",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessages(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messages","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagesCachedmedia(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messages/cachedmedia","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,url:e.url},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagesCachedmediaCachedMediaItemId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "cachedMediaItemId" when calling getConversationsMessagesCachedmediaCachedMediaItemId';return this.apiClient.callApi("/api/v2/conversations/messages/cachedmedia/{cachedMediaItemId}","GET",{cachedMediaItemId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingFacebookApp(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/facebook/app","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingFacebookPermissions(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/facebook/permissions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/instagram/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/twitter/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIntegrationTwitterOauthSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationTwitterOauthSettings';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/{integrationId}/twitter/oauth/settings","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIntegrations(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsApple(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/apple","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsAppleIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsAppleIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/apple/{integrationId}","GET",{integrationId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIntegrationsFacebook(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/facebook","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsFacebookIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsFacebookIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/facebook/{integrationId}","GET",{integrationId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIntegrationsInstagram(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/instagram","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsInstagramIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsInstagramIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/instagram/{integrationId}","GET",{integrationId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIntegrationsOpen(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}","GET",{integrationId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileOauthSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/oauth/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tokenId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens/{tokenId}","GET",{tokenId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tokenId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens/{tokenId}/accounts","GET",{tokenId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIntegrationsOpenIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/{integrationId}","GET",{integrationId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIntegrationsTwitter(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/twitter","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsTwitterIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsTwitterIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/twitter/{integrationId}","GET",{integrationId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingIntegrationsTwitterOauthSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/twitter/oauth/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsWhatsapp(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,"supportedContent.id":e.supportedContentId,"messagingSetting.id":e.messagingSettingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingIntegrationsWhatsappIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsWhatsappIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp/{integrationId}","GET",{integrationId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingOauthAppleCallback(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "code" when calling getConversationsMessagingOauthAppleCallback';if(i==null)throw'Missing the required parameter "state" when calling getConversationsMessagingOauthAppleCallback';return this.apiClient.callApi("/api/v2/conversations/messaging/oauth/apple/callback","GET",{},{code:e,state:i,error:n.error},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationsMessagingSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageSettingId" when calling getConversationsMessagingSetting';return this.apiClient.callApi("/api/v2/conversations/messaging/settings/{messageSettingId}","GET",{messageSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/settings","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingSettingsDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/settings/default","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingSupportedcontent(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingSupportedcontentDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent/default","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsMessagingSupportedcontentSupportedContentId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';return this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent/{supportedContentId}","GET",{supportedContentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsMessagingThreadingtimeline(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/messaging/threadingtimeline","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsScreenshareParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsScreenshareParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:i,communicationId:n},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/conversations/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getConversationsSocialParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsSocialParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsSocialParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationsSocialParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:i,communicationId:n},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsVideoDetails(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conferenceId" when calling getConversationsVideoDetails';return this.apiClient.callApi("/api/v2/conversations/videos/{conferenceId}/details","GET",{conferenceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationsVideoParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationsVideoParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationsVideoParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling getConversationsVideoParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","GET",{conversationId:e,participantId:i,communicationId:n},{provisional:a.provisional},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationsVideosMeeting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "meetingId" when calling getConversationsVideosMeeting';return this.apiClient.callApi("/api/v2/conversations/videos/meetings/{meetingId}","GET",{meetingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationCustomattributes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationCustomattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes","PATCH",{conversationId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationCustomattributesBulk(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationCustomattributesBulk';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes/bulk","PATCH",{conversationId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationParticipant(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationParticipant';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationParticipant';if(n==null)throw'Missing the required parameter "body" when calling patchConversationParticipant';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationParticipantAttributes(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationParticipantAttributes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationParticipantAttributes';if(n==null)throw'Missing the required parameter "body" when calling patchConversationParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationRecordingstate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationRecordingstate';if(i==null)throw'Missing the required parameter "body" when calling patchConversationRecordingstate';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordingstate","PATCH",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationSecureattributes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationSecureattributes';if(i==null)throw'Missing the required parameter "body" when calling patchConversationSecureattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/secureattributes","PATCH",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationSuggestion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationSuggestion';if(i==null||i==="")throw'Missing the required parameter "suggestionId" when calling patchConversationSuggestion';if(n==null)throw'Missing the required parameter "body" when calling patchConversationSuggestion';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/suggestions/{suggestionId}","PATCH",{conversationId:e,suggestionId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationSummaryEngagements(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationSummaryEngagements';if(i==null||i==="")throw'Missing the required parameter "summaryId" when calling patchConversationSummaryEngagements';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/summaries/{summaryId}/engagements","PATCH",{conversationId:e,summaryId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationSummaryFeedback(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationSummaryFeedback';if(i==null||i==="")throw'Missing the required parameter "summaryId" when calling patchConversationSummaryFeedback';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback","PATCH",{conversationId:e,summaryId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationUtilizationlabel(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationUtilizationlabel';if(i==null)throw'Missing the required parameter "body" when calling patchConversationUtilizationlabel';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/utilizationlabel","PATCH",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsAftercallworkConversationIdParticipantCommunication(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/aftercallwork/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:i,communicationId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsCall(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCall';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsCall';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}","PATCH",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsCallConference(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallConference';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsCallConference';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/conference","PATCH",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsCallParticipant(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipant';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipant';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsCallParticipant';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsCallParticipantAttributes(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantAttributes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantAttributes';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsCallParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsCallParticipantCommunication(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling patchConversationsCallParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsCallParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:i,communicationId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsCallParticipantCommunicationPostflowaction(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantCommunicationPostflowaction';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantCommunicationPostflowaction';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling patchConversationsCallParticipantCommunicationPostflowaction';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/postflowaction","PATCH",{conversationId:e,participantId:i,communicationId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsCallParticipantConsult(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantConsult';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantConsult';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsCallParticipantConsult';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsCallParticipantUserUserId(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantUserUserId';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantUserUserId';if(n==null||n==="")throw'Missing the required parameter "userId" when calling patchConversationsCallParticipantUserUserId';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsCallParticipantUserUserId';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/user/{userId}","PATCH",{conversationId:e,participantId:i,userId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsCallback(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallback';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsCallback';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}","PATCH",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsCallbackParticipant(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallbackParticipant';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallbackParticipant';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsCallbackParticipant';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsCallbackParticipantAttributes(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallbackParticipantAttributes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallbackParticipantAttributes';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsCallbackParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsCallbackParticipantCommunication(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCallbackParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsCallbackParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling patchConversationsCallbackParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsCallbackParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:i,communicationId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsCallbacks(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchConversationsCallbacks';return this.apiClient.callApi("/api/v2/conversations/callbacks","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsChat(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsChat';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsChat';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}","PATCH",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsChatParticipant(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsChatParticipant';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsChatParticipant';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsChatParticipant';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsChatParticipantAttributes(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsChatParticipantAttributes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsChatParticipantAttributes';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsChatParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsChatParticipantCommunication(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsChatParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsChatParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling patchConversationsChatParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsChatParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:i,communicationId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsCobrowsesession(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCobrowsesession';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsCobrowsesession';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}","PATCH",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsCobrowsesessionParticipant(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCobrowsesessionParticipant';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsCobrowsesessionParticipant';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsCobrowsesessionParticipantAttributes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCobrowsesessionParticipantAttributes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsCobrowsesessionParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsCobrowsesessionParticipantCommunication(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsCobrowsesessionParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsCobrowsesessionParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling patchConversationsCobrowsesessionParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsCobrowsesessionParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:i,communicationId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsEmail(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsEmail';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsEmail';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}","PATCH",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsEmailMessagesDraft(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsEmailMessagesDraft';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/draft","PATCH",{conversationId:e},{autoFill:i.autoFill,discard:i.discard},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchConversationsEmailParticipant(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipant';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipant';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsEmailParticipant';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsEmailParticipantAttributes(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantAttributes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantAttributes';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsEmailParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsEmailParticipantCommunication(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling patchConversationsEmailParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsEmailParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:i,communicationId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsEmailParticipantParkingstate(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantParkingstate';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantParkingstate';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsEmailParticipantParkingstate';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/parkingstate","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsMessage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsMessage';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsMessage';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}","PATCH",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsMessageParticipant(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsMessageParticipant';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsMessageParticipant';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}","PATCH",{conversationId:e,participantId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsMessageParticipantAttributes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsMessageParticipantAttributes';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsMessageParticipantAttributes';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/attributes","PATCH",{conversationId:e,participantId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsMessageParticipantCommunication(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsMessageParticipantCommunication';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsMessageParticipantCommunication';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling patchConversationsMessageParticipantCommunication';if(a==null)throw'Missing the required parameter "body" when calling patchConversationsMessageParticipantCommunication';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}","PATCH",{conversationId:e,participantId:i,communicationId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchConversationsMessageParticipantParkingstate(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationsMessageParticipantParkingstate';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling patchConversationsMessageParticipantParkingstate';if(n==null)throw'Missing the required parameter "body" when calling patchConversationsMessageParticipantParkingstate';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/parkingstate","PATCH",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchConversationsMessagingIntegrationsAppleIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/apple/{integrationId}","PATCH",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsMessagingIntegrationsFacebookIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsFacebookIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsFacebookIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/facebook/{integrationId}","PATCH",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsMessagingIntegrationsInstagramIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsInstagramIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsInstagramIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/instagram/{integrationId}","PATCH",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}","PATCH",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsMessagingIntegrationsOpenIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/{integrationId}","PATCH",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsMessagingIntegrationsTwitterIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/twitter/{integrationId}","PATCH",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup/{integrationId}","PATCH",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsMessagingIntegrationsWhatsappIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsWhatsappIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsWhatsappIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp/{integrationId}","PATCH",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsMessagingSetting(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageSettingId" when calling patchConversationsMessagingSetting';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingSetting';return this.apiClient.callApi("/api/v2/conversations/messaging/settings/{messageSettingId}","PATCH",{messageSettingId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsMessagingSupportedcontentSupportedContentId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';if(i==null)throw'Missing the required parameter "body" when calling patchConversationsMessagingSupportedcontentSupportedContentId';return this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent/{supportedContentId}","PATCH",{supportedContentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchConversationsSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchConversationsSettings';return this.apiClient.callApi("/api/v2/conversations/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsConversationDetailsProperties(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postAnalyticsConversationDetailsProperties';if(i==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationDetailsProperties';return this.apiClient.callApi("/api/v2/analytics/conversations/{conversationId}/details/properties","POST",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsConversationsActivityQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsActivityQuery';return this.apiClient.callApi("/api/v2/analytics/conversations/activity/query","POST",{},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsConversationsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsConversationsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/conversations/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsConversationsDetailsJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsDetailsJobs';return this.apiClient.callApi("/api/v2/analytics/conversations/details/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsConversationsDetailsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsConversationsDetailsQuery';return this.apiClient.callApi("/api/v2/analytics/conversations/details/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationAssign(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationAssign';if(i==null)throw'Missing the required parameter "body" when calling postConversationAssign';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/assign","POST",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationBarge(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationBarge';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/barge","POST",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationCobrowse(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationCobrowse';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/cobrowse","POST",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationCommunicationAgentchecklist(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationCommunicationAgentchecklist';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationCommunicationAgentchecklist';if(n==null||n==="")throw'Missing the required parameter "agentChecklistId" when calling postConversationCommunicationAgentchecklist';if(a==null)throw'Missing the required parameter "body" when calling postConversationCommunicationAgentchecklist';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}","POST",{conversationId:e,communicationId:i,agentChecklistId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postConversationCommunicationAgentchecklistAgentaction(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationCommunicationAgentchecklistAgentaction';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationCommunicationAgentchecklistAgentaction';if(n==null||n==="")throw'Missing the required parameter "agentChecklistId" when calling postConversationCommunicationAgentchecklistAgentaction';if(a==null)throw'Missing the required parameter "body" when calling postConversationCommunicationAgentchecklistAgentaction';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}/agentaction","POST",{conversationId:e,communicationId:i,agentChecklistId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postConversationCommunicationAgentchecklistJobs(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationCommunicationAgentchecklistJobs';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationCommunicationAgentchecklistJobs';if(n==null||n==="")throw'Missing the required parameter "agentChecklistId" when calling postConversationCommunicationAgentchecklistJobs';if(a==null)throw'Missing the required parameter "body" when calling postConversationCommunicationAgentchecklistJobs';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/{agentChecklistId}/jobs","POST",{conversationId:e,communicationId:i,agentChecklistId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postConversationCommunicationAgentchecklistsFinalize(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationCommunicationAgentchecklistsFinalize';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationCommunicationAgentchecklistsFinalize';if(n==null)throw'Missing the required parameter "body" when calling postConversationCommunicationAgentchecklistsFinalize';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/agentchecklists/finalize","POST",{conversationId:e,communicationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationCommunicationInternalmessages(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationCommunicationInternalmessages';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationCommunicationInternalmessages';if(n==null)throw'Missing the required parameter "body" when calling postConversationCommunicationInternalmessages';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages","POST",{conversationId:e,communicationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationDisconnect(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationDisconnect';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/disconnect","POST",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationParticipantCallbacks(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantCallbacks';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantCallbacks';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/callbacks","POST",{conversationId:e,participantId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationParticipantDigits(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantDigits';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantDigits';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/digits","POST",{conversationId:e,participantId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationParticipantInternalmessagesUsersCommunications(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantInternalmessagesUsersCommunications';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantInternalmessagesUsersCommunications';if(n==null)throw'Missing the required parameter "body" when calling postConversationParticipantInternalmessagesUsersCommunications';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/internalmessages/users/communications","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationParticipantReplace(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplace';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantReplace';if(n==null)throw'Missing the required parameter "body" when calling postConversationParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationParticipantReplaceAgent(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceAgent';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceAgent';if(n==null)throw'Missing the required parameter "body" when calling postConversationParticipantReplaceAgent';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/replace/agent","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationParticipantReplaceContactExternal(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceContactExternal';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceContactExternal';if(n==null)throw'Missing the required parameter "body" when calling postConversationParticipantReplaceContactExternal';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/replace/contact/external","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationParticipantReplaceExternal(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceExternal';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceExternal';if(n==null)throw'Missing the required parameter "body" when calling postConversationParticipantReplaceExternal';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/replace/external","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationParticipantReplaceQueue(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceQueue';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceQueue';if(n==null)throw'Missing the required parameter "body" when calling postConversationParticipantReplaceQueue';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/replace/queue","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationParticipantSecureivrsessions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantSecureivrsessions';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions","POST",{conversationId:e,participantId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationParticipantTransfer(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantTransfer';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantTransfer';if(n==null)throw'Missing the required parameter "body" when calling postConversationParticipantTransfer';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/transfer","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationSuggestionEngagement(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationSuggestionEngagement';if(i==null||i==="")throw'Missing the required parameter "suggestionId" when calling postConversationSuggestionEngagement';if(n==null)throw'Missing the required parameter "body" when calling postConversationSuggestionEngagement';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/suggestions/{suggestionId}/engagement","POST",{conversationId:e,suggestionId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationSuggestionsFeedback(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationSuggestionsFeedback';if(i==null)throw'Missing the required parameter "body" when calling postConversationSuggestionsFeedback';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/suggestions/feedback","POST",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationSummaryFeedback(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationSummaryFeedback';if(i==null||i==="")throw'Missing the required parameter "summaryId" when calling postConversationSummaryFeedback';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback","POST",{conversationId:e,summaryId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCall(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCall';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCall';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}","POST",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCallParticipantBarge(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantBarge';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantBarge';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/barge","POST",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCallParticipantCoach(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCoach';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantCoach';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/coach","POST",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCallParticipantCommunicationSummaries(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationSummaries';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationSummaries';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsCallParticipantCommunicationSummaries';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/summaries","POST",{conversationId:e,participantId:i,communicationId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsCallParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:i,communicationId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantConsult(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsult';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsult';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsult';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantConsultAgent(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultAgent';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultAgent';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultAgent';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/agent","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantConsultContactExternal(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultContactExternal';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultContactExternal';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultContactExternal';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/contact/external","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantConsultExternal(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultExternal';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultExternal';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultExternal';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/external","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantConsultQueue(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultQueue';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultQueue';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultQueue';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/queue","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantMonitor(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantMonitor';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantMonitor';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/monitor","POST",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCallParticipantReplace(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantReplace';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantReplace';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantSnippetRecord(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantSnippetRecord';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantSnippetRecord';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantSnippetRecord';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/snippet/record","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipantVoiceConsult(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantVoiceConsult';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantVoiceConsult';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantVoiceConsult';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/voice/consult","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallParticipants(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipants';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipants';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants","POST",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCallParticipantsUserUserId(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantsUserUserId';if(i==null||i==="")throw'Missing the required parameter "userId" when calling postConversationsCallParticipantsUserUserId';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCallParticipantsUserUserId';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/user/{userId}","POST",{conversationId:e,userId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallbackParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsCallbackParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:i,communicationId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallbackParticipantReplace(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantReplace';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantReplace';if(n==null)throw'Missing the required parameter "body" when calling postConversationsCallbackParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCallbacks(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCallbacks';return this.apiClient.callApi("/api/v2/conversations/callbacks","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCallbacksBulkDisconnect(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCallbacksBulkDisconnect';return this.apiClient.callApi("/api/v2/conversations/callbacks/bulk/disconnect","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCallbacksBulkUpdate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCallbacksBulkUpdate';return this.apiClient.callApi("/api/v2/conversations/callbacks/bulk/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCalls(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCalls';return this.apiClient.callApi("/api/v2/conversations/calls","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCallsUserUserId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postConversationsCallsUserUserId';if(i==null)throw'Missing the required parameter "body" when calling postConversationsCallsUserUserId';return this.apiClient.callApi("/api/v2/conversations/calls/user/{userId}","POST",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsChatCommunicationMessages(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsChatCommunicationMessages';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsChatCommunicationMessages';if(n==null)throw'Missing the required parameter "body" when calling postConversationsChatCommunicationMessages';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/communications/{communicationId}/messages","POST",{conversationId:e,communicationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsChatCommunicationTyping(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsChatCommunicationTyping';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsChatCommunicationTyping';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/communications/{communicationId}/typing","POST",{conversationId:e,communicationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsChatParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsChatParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsChatParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsChatParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:i,communicationId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsChatParticipantReplace(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsChatParticipantReplace';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsChatParticipantReplace';if(n==null)throw'Missing the required parameter "body" when calling postConversationsChatParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsChats(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsChats';return this.apiClient.callApi("/api/v2/conversations/chats","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCobrowsesessionParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:i,communicationId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsCobrowsesessionParticipantReplace(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantReplace';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsCustomattributesSchemas(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCustomattributesSchemas';return this.apiClient.callApi("/api/v2/conversations/customattributes/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCustomattributesSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';return this.apiClient.callApi("/api/v2/conversations/customattributes/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsEmailInboundmessages(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailInboundmessages';if(i==null)throw'Missing the required parameter "body" when calling postConversationsEmailInboundmessages';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/inboundmessages","POST",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsEmailMessages(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailMessages';if(i==null)throw'Missing the required parameter "body" when calling postConversationsEmailMessages';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages","POST",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsEmailMessagesDraftAttachmentsCopy(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailMessagesDraftAttachmentsCopy';if(i==null)throw'Missing the required parameter "body" when calling postConversationsEmailMessagesDraftAttachmentsCopy';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/draft/attachments/copy","POST",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsEmailMessagesDraftAttachmentsUploads(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailMessagesDraftAttachmentsUploads';if(i==null)throw'Missing the required parameter "body" when calling postConversationsEmailMessagesDraftAttachmentsUploads';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/draft/attachments/uploads","POST",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsEmailParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsEmailParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsEmailParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:i,communicationId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsEmailParticipantReplace(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantReplace';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsEmailParticipantReplace';if(n==null)throw'Missing the required parameter "body" when calling postConversationsEmailParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsEmailReconnect(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailReconnect';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/reconnect","POST",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsEmails(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsEmails';return this.apiClient.callApi("/api/v2/conversations/emails","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsEmailsAgentless(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsEmailsAgentless';return this.apiClient.callApi("/api/v2/conversations/emails/agentless","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsFaxes(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsFaxes';return this.apiClient.callApi("/api/v2/conversations/faxes","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsKeyconfigurations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsKeyconfigurations';return this.apiClient.callApi("/api/v2/conversations/keyconfigurations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsKeyconfigurationsValidate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsKeyconfigurationsValidate';return this.apiClient.callApi("/api/v2/conversations/keyconfigurations/validate","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessageCommunicationMessages(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessages';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessages';if(n==null)throw'Missing the required parameter "body" when calling postConversationsMessageCommunicationMessages';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages","POST",{conversationId:e,communicationId:i},{useNormalizedMessage:a.useNormalizedMessage},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessageCommunicationMessagesMedia(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessagesMedia';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessagesMedia';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media","POST",{conversationId:e,communicationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessageCommunicationMessagesMediaUploads(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessagesMediaUploads';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessagesMediaUploads';if(n==null)throw'Missing the required parameter "body" when calling postConversationsMessageCommunicationMessagesMediaUploads';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media/uploads","POST",{conversationId:e,communicationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessageCommunicationSocialmediaMessages(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationSocialmediaMessages';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationSocialmediaMessages';if(n==null)throw'Missing the required parameter "body" when calling postConversationsMessageCommunicationSocialmediaMessages';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/socialmedia/messages","POST",{conversationId:e,communicationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessageCommunicationTyping(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationTyping';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationTyping';if(n==null)throw'Missing the required parameter "body" when calling postConversationsMessageCommunicationTyping';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/typing","POST",{conversationId:e,communicationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessageInboundOpenEvent(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenEvent';if(i==null)throw'Missing the required parameter "body" when calling postConversationsMessageInboundOpenEvent';return this.apiClient.callApi("/api/v2/conversations/messages/{integrationId}/inbound/open/event","POST",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessageInboundOpenMessage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenMessage';if(i==null)throw'Missing the required parameter "body" when calling postConversationsMessageInboundOpenMessage';return this.apiClient.callApi("/api/v2/conversations/messages/{integrationId}/inbound/open/message","POST",{integrationId:e},{prefetchConversationId:n.prefetchConversationId},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessageInboundOpenReceipt(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenReceipt';if(i==null)throw'Missing the required parameter "body" when calling postConversationsMessageInboundOpenReceipt';return this.apiClient.callApi("/api/v2/conversations/messages/{integrationId}/inbound/open/receipt","POST",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessageInboundOpenStructuredResponse(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenStructuredResponse';if(i==null)throw'Missing the required parameter "body" when calling postConversationsMessageInboundOpenStructuredResponse';return this.apiClient.callApi("/api/v2/conversations/messages/{integrationId}/inbound/open/structured/response","POST",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessageMessagesBulk(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageMessagesBulk';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/messages/bulk","POST",{conversationId:e},{useNormalizedMessage:i.useNormalizedMessage},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessageParticipantCommunicationSummaries(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationSummaries';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationSummaries';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageParticipantCommunicationSummaries';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/summaries","POST",{conversationId:e,participantId:i,communicationId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessageParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsMessageParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:i,communicationId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessageParticipantMonitor(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantMonitor';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantMonitor';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/monitor","POST",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessageParticipantReplace(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantReplace';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantReplace';if(n==null)throw'Missing the required parameter "body" when calling postConversationsMessageParticipantReplace';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/replace","POST",{conversationId:e,participantId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsMessages(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessages';return this.apiClient.callApi("/api/v2/conversations/messages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagesAgentless(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagesAgentless';return this.apiClient.callApi("/api/v2/conversations/messages/agentless","POST",{},{useNormalizedMessage:i.useNormalizedMessage},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagesInboundOpen(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagesInboundOpen';return this.apiClient.callApi("/api/v2/conversations/messages/inbound/open","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagingIntegrationsApple(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsApple';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/apple","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagingIntegrationsFacebook(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsFacebook';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/facebook","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagingIntegrationsInstagram(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsInstagram';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/instagram","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagingIntegrationsOpen(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpen';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagingIntegrationsTwitter(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsTwitter';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/twitter","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagingIntegrationsWhatsapp(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsWhatsapp';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagingIntegrationsWhatsappEmbeddedsignup(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsWhatsappEmbeddedsignup';return this.apiClient.callApi("/api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagingSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingSettings';return this.apiClient.callApi("/api/v2/conversations/messaging/settings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsMessagingSupportedcontent(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsMessagingSupportedcontent';return this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsParticipantsAttributesSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';return this.apiClient.callApi("/api/v2/conversations/participants/attributes/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsScreenshareParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsScreenshareParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:i,communicationId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsSocialParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsSocialParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:i,communicationId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsVideoAgentconferenceCommunication(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsVideoAgentconferenceCommunication';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling postConversationsVideoAgentconferenceCommunication';return this.apiClient.callApi("/api/v2/conversations/videos/{conversationId}/agentconference/communications/{communicationId}","POST",{conversationId:e,communicationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsVideoParticipantCommunicationWrapup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsVideoParticipantCommunicationWrapup';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationsVideoParticipantCommunicationWrapup';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling postConversationsVideoParticipantCommunicationWrapup';return this.apiClient.callApi("/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup","POST",{conversationId:e,participantId:i,communicationId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postConversationsVideosMeetings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsVideosMeetings';return this.apiClient.callApi("/api/v2/conversations/videos/meetings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationAccessattributes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationAccessattributes';if(i==null)throw'Missing the required parameter "body" when calling putConversationAccessattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/accessattributes","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationCustomattributes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationCustomattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes","PUT",{conversationId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationCustomattributesBulk(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationCustomattributesBulk';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/customattributes/bulk","PUT",{conversationId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationParticipantFlaggedreason(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationParticipantFlaggedreason';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling putConversationParticipantFlaggedreason';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/flaggedreason","PUT",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationSecureattributes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationSecureattributes';if(i==null)throw'Missing the required parameter "body" when calling putConversationSecureattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/secureattributes","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationTags(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationTags';if(i==null)throw'Missing the required parameter "body" when calling putConversationTags';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/tags","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsCallParticipantCommunicationUuidata(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsCallParticipantCommunicationUuidata';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling putConversationsCallParticipantCommunicationUuidata';if(n==null||n==="")throw'Missing the required parameter "communicationId" when calling putConversationsCallParticipantCommunicationUuidata';if(a==null)throw'Missing the required parameter "body" when calling putConversationsCallParticipantCommunicationUuidata';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/uuidata","PUT",{conversationId:e,participantId:i,communicationId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}putConversationsCallRecordingstate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsCallRecordingstate';if(i==null)throw'Missing the required parameter "body" when calling putConversationsCallRecordingstate';return this.apiClient.callApi("/api/v2/conversations/calls/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsCallbackRecordingstate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsCallbackRecordingstate';if(i==null)throw'Missing the required parameter "body" when calling putConversationsCallbackRecordingstate';return this.apiClient.callApi("/api/v2/conversations/callbacks/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsChatRecordingstate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsChatRecordingstate';if(i==null)throw'Missing the required parameter "body" when calling putConversationsChatRecordingstate';return this.apiClient.callApi("/api/v2/conversations/chats/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsCobrowsesessionRecordingstate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsCobrowsesessionRecordingstate';if(i==null)throw'Missing the required parameter "body" when calling putConversationsCobrowsesessionRecordingstate';return this.apiClient.callApi("/api/v2/conversations/cobrowsesessions/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsCustomattributesSchema(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putConversationsCustomattributesSchema';if(i==null)throw'Missing the required parameter "body" when calling putConversationsCustomattributesSchema';return this.apiClient.callApi("/api/v2/conversations/customattributes/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsEmailMessagesDraft(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsEmailMessagesDraft';if(i==null)throw'Missing the required parameter "body" when calling putConversationsEmailMessagesDraft';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/messages/draft","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsEmailRecordingstate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsEmailRecordingstate';if(i==null)throw'Missing the required parameter "body" when calling putConversationsEmailRecordingstate';return this.apiClient.callApi("/api/v2/conversations/emails/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsKeyconfiguration(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "keyconfigurationsId" when calling putConversationsKeyconfiguration';if(i==null)throw'Missing the required parameter "body" when calling putConversationsKeyconfiguration';return this.apiClient.callApi("/api/v2/conversations/keyconfigurations/{keyconfigurationsId}","PUT",{keyconfigurationsId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsMessageRecordingstate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';if(i==null)throw'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}","PUT",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}","PUT",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/instagram/{integrationId}","PUT",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}","PUT",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/twitter/{integrationId}","PUT",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';if(i==null)throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';return this.apiClient.callApi("/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}","PUT",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsMessagingSettingsDefault(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putConversationsMessagingSettingsDefault';return this.apiClient.callApi("/api/v2/conversations/messaging/settings/default","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsMessagingSupportedcontentDefault(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';return this.apiClient.callApi("/api/v2/conversations/messaging/supportedcontent/default","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsMessagingThreadingtimeline(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putConversationsMessagingThreadingtimeline';return this.apiClient.callApi("/api/v2/conversations/messaging/threadingtimeline","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationsScreenshareRecordingstate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsScreenshareRecordingstate';if(i==null)throw'Missing the required parameter "body" when calling putConversationsScreenshareRecordingstate';return this.apiClient.callApi("/api/v2/conversations/screenshares/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsSocialRecordingstate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsSocialRecordingstate';if(i==null)throw'Missing the required parameter "body" when calling putConversationsSocialRecordingstate';return this.apiClient.callApi("/api/v2/conversations/socials/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putConversationsVideoRecordingstate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationsVideoRecordingstate';if(i==null)throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';return this.apiClient.callApi("/api/v2/conversations/videos/{conversationId}/recordingstate","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},hA=class{constructor(e){this.apiClient=e||k.instance}getDataextensionsCoretype(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "coretypeName" when calling getDataextensionsCoretype';return this.apiClient.callApi("/api/v2/dataextensions/coretypes/{coretypeName}","GET",{coretypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getDataextensionsCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/dataextensions/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getDataextensionsLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/dataextensions/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},gA=class{constructor(e){this.apiClient=e||k.instance}deleteDataprivacyMaskingrule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling deleteDataprivacyMaskingrule';return this.apiClient.callApi("/api/v2/dataprivacy/maskingrules/{ruleId}","DELETE",{ruleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getDataprivacyMaskingrule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling getDataprivacyMaskingrule';return this.apiClient.callApi("/api/v2/dataprivacy/maskingrules/{ruleId}","GET",{ruleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getDataprivacyMaskingrules(e){return e=e||{},this.apiClient.callApi("/api/v2/dataprivacy/maskingrules","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchDataprivacyMaskingrule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling patchDataprivacyMaskingrule';return this.apiClient.callApi("/api/v2/dataprivacy/maskingrules/{ruleId}","PATCH",{ruleId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postDataprivacyMaskingrules(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postDataprivacyMaskingrules';return this.apiClient.callApi("/api/v2/dataprivacy/maskingrules","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postDataprivacyMaskingrulesValidate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';return this.apiClient.callApi("/api/v2/dataprivacy/maskingrules/validate","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},mA=class{constructor(e){this.apiClient=e||k.instance}getDownload(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "downloadId" when calling getDownload';return this.apiClient.callApi("/api/v2/downloads/{downloadId}","GET",{downloadId:e},{contentDisposition:i.contentDisposition,issueRedirect:i.issueRedirect,redirectToAuth:i.redirectToAuth},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},fA=class{constructor(e){this.apiClient=e||k.instance}deleteEmailsSettingsThreading(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings/threading","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getEmailsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getEmailsSettingsThreading(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings/threading","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchEmailsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings","PATCH",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchEmailsSettingsThreading(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings/threading","PATCH",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},wA=class{constructor(e){this.apiClient=e||k.instance}deleteEmployeeengagementCelebration(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "celebrationId" when calling deleteEmployeeengagementCelebration';return this.apiClient.callApi("/api/v2/employeeengagement/celebrations/{celebrationId}","DELETE",{celebrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getEmployeeengagementCelebrations(e){return e=e||{},this.apiClient.callApi("/api/v2/employeeengagement/celebrations","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getEmployeeengagementRecognition(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "recognitionId" when calling getEmployeeengagementRecognition';return this.apiClient.callApi("/api/v2/employeeengagement/recognitions/{recognitionId}","GET",{recognitionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getEmployeeengagementRecognitions(e){return e=e||{},this.apiClient.callApi("/api/v2/employeeengagement/recognitions","GET",{},{direction:e.direction,recipient:e.recipient,dateStart:e.dateStart,dateEnd:e.dateEnd,pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchEmployeeengagementCelebration(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "celebrationId" when calling patchEmployeeengagementCelebration';if(i==null)throw'Missing the required parameter "body" when calling patchEmployeeengagementCelebration';return this.apiClient.callApi("/api/v2/employeeengagement/celebrations/{celebrationId}","PATCH",{celebrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postEmployeeengagementRecognitions(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';return this.apiClient.callApi("/api/v2/employeeengagement/recognitions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},vA=class{constructor(e){this.apiClient=e||k.instance}postEventsConversations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postEventsConversations';return this.apiClient.callApi("/api/v2/events/conversations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postEventsRoutingCustomkpiattributions(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postEventsRoutingCustomkpiattributions';return this.apiClient.callApi("/api/v2/events/routing/customkpiattributions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postEventsUsersPresence(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postEventsUsersPresence';return this.apiClient.callApi("/api/v2/events/users/presence","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postEventsUsersRoutingstatus(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';return this.apiClient.callApi("/api/v2/events/users/routingstatus","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},CA=class{constructor(e){this.apiClient=e||k.instance}deleteExternalcontactsContact(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling deleteExternalcontactsContact';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}","DELETE",{contactId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteExternalcontactsContactNote(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling deleteExternalcontactsContactNote';if(i==null||i==="")throw'Missing the required parameter "noteId" when calling deleteExternalcontactsContactNote';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}","DELETE",{contactId:e,noteId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteExternalcontactsContactsSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling deleteExternalcontactsContactsSchema';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/{schemaId}","DELETE",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteExternalcontactsExternalsource(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalSourceId" when calling deleteExternalcontactsExternalsource';return this.apiClient.callApi("/api/v2/externalcontacts/externalsources/{externalSourceId}","DELETE",{externalSourceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteExternalcontactsImportCsvSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportCsvSetting';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/settings/{settingsId}","DELETE",{settingsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteExternalcontactsImportSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportSetting';return this.apiClient.callApi("/api/v2/externalcontacts/import/settings/{settingsId}","DELETE",{settingsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteExternalcontactsOrganization(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling deleteExternalcontactsOrganization';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}","DELETE",{externalOrganizationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteExternalcontactsOrganizationNote(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling deleteExternalcontactsOrganizationNote';if(i==null||i==="")throw'Missing the required parameter "noteId" when calling deleteExternalcontactsOrganizationNote';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}","DELETE",{externalOrganizationId:e,noteId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteExternalcontactsOrganizationTrustor(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling deleteExternalcontactsOrganizationTrustor';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/trustor","DELETE",{externalOrganizationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteExternalcontactsRelationship(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "relationshipId" when calling deleteExternalcontactsRelationship';return this.apiClient.callApi("/api/v2/externalcontacts/relationships/{relationshipId}","DELETE",{relationshipId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContact(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContact';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}","GET",{contactId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactIdentifiers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactIdentifiers';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/identifiers","GET",{contactId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactJourneySegments(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySegments';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/journey/segments","GET",{contactId:e},{includeMerged:i.includeMerged,limit:i.limit},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactJourneySessions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySessions';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/journey/sessions","GET",{contactId:e},{pageSize:i.pageSize,after:i.after,includeMerged:i.includeMerged},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactNote(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactNote';if(i==null||i==="")throw'Missing the required parameter "noteId" when calling getExternalcontactsContactNote';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}","GET",{contactId:e,noteId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactNotes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactNotes';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/notes","GET",{contactId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortOrder:i.sortOrder,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactUnresolved(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactUnresolved';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/unresolved","GET",{contactId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContacts(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/contacts","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,q:e.q,sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsContactsExport(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "exportId" when calling getExternalcontactsContactsExport';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/exports/{exportId}","GET",{exportId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactsExports(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/contacts/exports","GET",{},{divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi"),after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsContactsSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getExternalcontactsContactsSchema';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactsSchemaVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getExternalcontactsContactsSchemaVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getExternalcontactsContactsSchemaVersion';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/{schemaId}/versions/{versionId}","GET",{schemaId:e,versionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsContactsSchemaVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getExternalcontactsContactsSchemaVersions';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/{schemaId}/versions","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactsSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsContactsSchemasCoretype(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getExternalcontactsContactsSchemasCoretype';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactsSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsContactsSchemasLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsExternalsource(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalSourceId" when calling getExternalcontactsExternalsource';return this.apiClient.callApi("/api/v2/externalcontacts/externalsources/{externalSourceId}","GET",{externalSourceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsExternalsources(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/externalsources","GET",{},{cursor:e.cursor,limit:e.limit,name:e.name,active:e.active},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsImportCsvSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "settingsId" when calling getExternalcontactsImportCsvSetting';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/settings/{settingsId}","GET",{settingsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsImportCsvSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/import/csv/settings","GET",{},{after:e.after,pageSize:e.pageSize,externalSettingsId:e.externalSettingsId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsImportCsvUploadDetails(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "uploadId" when calling getExternalcontactsImportCsvUploadDetails';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/uploads/{uploadId}/details","GET",{uploadId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsImportCsvUploadPreview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "uploadId" when calling getExternalcontactsImportCsvUploadPreview';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/uploads/{uploadId}/preview","GET",{uploadId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsImportJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getExternalcontactsImportJob';return this.apiClient.callApi("/api/v2/externalcontacts/import/jobs/{jobId}","GET",{jobId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsImportJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/import/jobs","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi"),after:e.after,pageSize:e.pageSize,sortOrder:e.sortOrder,jobStatus:e.jobStatus},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsImportSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "settingsId" when calling getExternalcontactsImportSetting';return this.apiClient.callApi("/api/v2/externalcontacts/import/settings/{settingsId}","GET",{settingsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsImportSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/import/settings","GET",{},{after:e.after,pageSize:e.pageSize,sortOrder:e.sortOrder,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsNotesExport(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "exportId" when calling getExternalcontactsNotesExport';return this.apiClient.callApi("/api/v2/externalcontacts/notes/exports/{exportId}","GET",{exportId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsNotesExports(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/notes/exports","GET",{},{divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi"),after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsOrganization(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganization';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}","GET",{externalOrganizationId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi"),includeTrustors:i.includeTrustors},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsOrganizationContacts(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationContacts';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/contacts","GET",{externalOrganizationId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,q:i.q,sortOrder:i.sortOrder,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsOrganizationIdentifiers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationIdentifiers';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/identifiers","GET",{externalOrganizationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsOrganizationNote(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationNote';if(i==null||i==="")throw'Missing the required parameter "noteId" when calling getExternalcontactsOrganizationNote';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}","GET",{externalOrganizationId:e,noteId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsOrganizationNotes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationNotes';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes","GET",{externalOrganizationId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortOrder:i.sortOrder,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsOrganizationRelationships(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationRelationships';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships","GET",{externalOrganizationId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsOrganizations(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/organizations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,q:e.q,trustorId:this.apiClient.buildCollectionParam(e.trustorId,"multi"),sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),includeTrustors:e.includeTrustors,divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsOrganizationsExport(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "exportId" when calling getExternalcontactsOrganizationsExport';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/exports/{exportId}","GET",{exportId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsOrganizationsExports(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/organizations/exports","GET",{},{divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi"),after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsOrganizationsSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getExternalcontactsOrganizationsSchema';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsOrganizationsSchemaVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getExternalcontactsOrganizationsSchemaVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getExternalcontactsOrganizationsSchemaVersion';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/{schemaId}/versions/{versionId}","GET",{schemaId:e,versionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsOrganizationsSchemaVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getExternalcontactsOrganizationsSchemaVersions';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/{schemaId}/versions","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsOrganizationsSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsOrganizationsSchemasCoretype(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getExternalcontactsOrganizationsSchemasCoretype';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsOrganizationsSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsOrganizationsSchemasLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsRelationship(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "relationshipId" when calling getExternalcontactsRelationship';return this.apiClient.callApi("/api/v2/externalcontacts/relationships/{relationshipId}","GET",{relationshipId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsRelationshipsExport(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "exportId" when calling getExternalcontactsRelationshipsExport';return this.apiClient.callApi("/api/v2/externalcontacts/relationships/exports/{exportId}","GET",{exportId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsRelationshipsExports(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/relationships/exports","GET",{},{divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi"),after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsReversewhitepageslookup(e,i){if(i=i||{},e==null)throw'Missing the required parameter "lookupVal" when calling getExternalcontactsReversewhitepageslookup';return this.apiClient.callApi("/api/v2/externalcontacts/reversewhitepageslookup","GET",{},{lookupVal:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),divisionId:i.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsScanContacts(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/contacts","GET",{},{limit:e.limit,cursor:e.cursor,divisionId:e.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanContactsDivisionviewsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/contacts/divisionviews/all","GET",{},{limit:e.limit,cursor:e.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanNotes(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/notes","GET",{},{limit:e.limit,cursor:e.cursor,divisionId:e.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanNotesDivisionviewsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/notes/divisionviews/all","GET",{},{limit:e.limit,cursor:e.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanOrganizations(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/organizations","GET",{},{limit:e.limit,cursor:e.cursor,divisionId:e.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanOrganizationsDivisionviewsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/organizations/divisionviews/all","GET",{},{limit:e.limit,cursor:e.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanRelationships(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/relationships","GET",{},{limit:e.limit,cursor:e.cursor,divisionId:e.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsScanRelationshipsDivisionviewsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/scan/relationships/divisionviews/all","GET",{},{limit:e.limit,cursor:e.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchExternalcontactsContact(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling patchExternalcontactsContact';if(i==null)throw'Missing the required parameter "body" when calling patchExternalcontactsContact';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}","PATCH",{contactId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchExternalcontactsContactIdentifiers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling patchExternalcontactsContactIdentifiers';if(i==null)throw'Missing the required parameter "body" when calling patchExternalcontactsContactIdentifiers';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/identifiers","PATCH",{contactId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchExternalcontactsContactNote(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling patchExternalcontactsContactNote';if(i==null||i==="")throw'Missing the required parameter "noteId" when calling patchExternalcontactsContactNote';if(n==null)throw'Missing the required parameter "body" when calling patchExternalcontactsContactNote';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}","PATCH",{contactId:e,noteId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchExternalcontactsOrganization(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganization';if(i==null)throw'Missing the required parameter "body" when calling patchExternalcontactsOrganization';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}","PATCH",{externalOrganizationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchExternalcontactsOrganizationIdentifiers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganizationIdentifiers';if(i==null)throw'Missing the required parameter "body" when calling patchExternalcontactsOrganizationIdentifiers';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/identifiers","PATCH",{externalOrganizationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchExternalcontactsOrganizationNote(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganizationNote';if(i==null||i==="")throw'Missing the required parameter "noteId" when calling patchExternalcontactsOrganizationNote';if(n==null)throw'Missing the required parameter "body" when calling patchExternalcontactsOrganizationNote';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}","PATCH",{externalOrganizationId:e,noteId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchExternalcontactsRelationship(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "relationshipId" when calling patchExternalcontactsRelationship';if(i==null)throw'Missing the required parameter "body" when calling patchExternalcontactsRelationship';return this.apiClient.callApi("/api/v2/externalcontacts/relationships/{relationshipId}","PATCH",{relationshipId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsBulkContacts(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContacts';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkContactsAdd(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsAdd';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkContactsDivisionviews(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsDivisionviews';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts/divisionviews","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkContactsEnrich(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsEnrich';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts/enrich","POST",{},{dryRun:i.dryRun},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkContactsRemove(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsRemove';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkContactsUnresolved(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsUnresolved';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts/unresolved","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkContactsUpdate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsUpdate';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/contacts/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkNotes(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkNotes';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/notes","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkNotesAdd(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkNotesAdd';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/notes/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkNotesRemove(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkNotesRemove';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/notes/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkNotesUpdate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkNotesUpdate';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/notes/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkOrganizations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizations';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/organizations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkOrganizationsAdd(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsAdd';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/organizations/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkOrganizationsDivisionviews(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsDivisionviews';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/organizations/divisionviews","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkOrganizationsEnrich(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsEnrich';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/organizations/enrich","POST",{},{dryRun:i.dryRun},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkOrganizationsRemove(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsRemove';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/organizations/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkOrganizationsUpdate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsUpdate';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/organizations/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkRelationships(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkRelationships';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/relationships","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkRelationshipsAdd(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkRelationshipsAdd';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/relationships/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkRelationshipsRemove(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkRelationshipsRemove';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/relationships/remove","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsBulkRelationshipsUpdate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsBulkRelationshipsUpdate';return this.apiClient.callApi("/api/v2/externalcontacts/bulk/relationships/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsContactJourneySegments(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling postExternalcontactsContactJourneySegments';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/journey/segments","POST",{contactId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsContactNotes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling postExternalcontactsContactNotes';if(i==null)throw'Missing the required parameter "body" when calling postExternalcontactsContactNotes';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/notes","POST",{contactId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsContactPromotion(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling postExternalcontactsContactPromotion';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/promotion","POST",{contactId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsContacts(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsContacts';return this.apiClient.callApi("/api/v2/externalcontacts/contacts","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsContactsEnrich(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsContactsEnrich';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/enrich","POST",{},{dryRun:i.dryRun},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsContactsExports(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsContactsExports';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/exports","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsContactsMerge(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsContactsMerge';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/merge","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsContactsSchemas(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsContactsSchemas';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsExternalsources(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsExternalsources';return this.apiClient.callApi("/api/v2/externalcontacts/externalsources","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsIdentifierlookup(e,i){if(i=i||{},e==null)throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';return this.apiClient.callApi("/api/v2/externalcontacts/identifierlookup","POST",{},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsIdentifierlookupContacts(e,i){if(i=i||{},e==null)throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookupContacts';return this.apiClient.callApi("/api/v2/externalcontacts/identifierlookup/contacts","POST",{},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsIdentifierlookupOrganizations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookupOrganizations';return this.apiClient.callApi("/api/v2/externalcontacts/identifierlookup/organizations","POST",{},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsImportCsvJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsImportCsvJobs';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsImportCsvSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsImportCsvSettings';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/settings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsImportCsvUploads(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsImportCsvUploads';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/uploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsImportJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsImportJobs';return this.apiClient.callApi("/api/v2/externalcontacts/import/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsImportSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsImportSettings';return this.apiClient.callApi("/api/v2/externalcontacts/import/settings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsMergeContacts(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsMergeContacts';return this.apiClient.callApi("/api/v2/externalcontacts/merge/contacts","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsNotesExports(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsNotesExports';return this.apiClient.callApi("/api/v2/externalcontacts/notes/exports","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsOrganizationNotes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling postExternalcontactsOrganizationNotes';if(i==null)throw'Missing the required parameter "body" when calling postExternalcontactsOrganizationNotes';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes","POST",{externalOrganizationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postExternalcontactsOrganizations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsOrganizations';return this.apiClient.callApi("/api/v2/externalcontacts/organizations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsOrganizationsEnrich(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsOrganizationsEnrich';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/enrich","POST",{},{dryRun:i.dryRun},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsOrganizationsExports(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsOrganizationsExports';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/exports","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsOrganizationsSchemas(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsOrganizationsSchemas';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsRelationships(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsRelationships';return this.apiClient.callApi("/api/v2/externalcontacts/relationships","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsRelationshipsExports(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsRelationshipsExports';return this.apiClient.callApi("/api/v2/externalcontacts/relationships/exports","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsContact(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling putExternalcontactsContact';if(i==null)throw'Missing the required parameter "body" when calling putExternalcontactsContact';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}","PUT",{contactId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putExternalcontactsContactNote(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling putExternalcontactsContactNote';if(i==null||i==="")throw'Missing the required parameter "noteId" when calling putExternalcontactsContactNote';if(n==null)throw'Missing the required parameter "body" when calling putExternalcontactsContactNote';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}","PUT",{contactId:e,noteId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putExternalcontactsContactsSchema(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putExternalcontactsContactsSchema';if(i==null)throw'Missing the required parameter "body" when calling putExternalcontactsContactsSchema';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putExternalcontactsConversation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putExternalcontactsConversation';if(i==null)throw'Missing the required parameter "body" when calling putExternalcontactsConversation';return this.apiClient.callApi("/api/v2/externalcontacts/conversations/{conversationId}","PUT",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putExternalcontactsExternalsource(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalSourceId" when calling putExternalcontactsExternalsource';if(i==null)throw'Missing the required parameter "body" when calling putExternalcontactsExternalsource';return this.apiClient.callApi("/api/v2/externalcontacts/externalsources/{externalSourceId}","PUT",{externalSourceId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putExternalcontactsImportCsvSetting(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "settingsId" when calling putExternalcontactsImportCsvSetting';if(i==null)throw'Missing the required parameter "body" when calling putExternalcontactsImportCsvSetting';return this.apiClient.callApi("/api/v2/externalcontacts/import/csv/settings/{settingsId}","PUT",{settingsId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putExternalcontactsImportJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling putExternalcontactsImportJob';if(i==null)throw'Missing the required parameter "body" when calling putExternalcontactsImportJob';return this.apiClient.callApi("/api/v2/externalcontacts/import/jobs/{jobId}","PUT",{jobId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putExternalcontactsImportSetting(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "settingsId" when calling putExternalcontactsImportSetting';if(i==null)throw'Missing the required parameter "body" when calling putExternalcontactsImportSetting';return this.apiClient.callApi("/api/v2/externalcontacts/import/settings/{settingsId}","PUT",{settingsId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putExternalcontactsOrganization(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling putExternalcontactsOrganization';if(i==null)throw'Missing the required parameter "body" when calling putExternalcontactsOrganization';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}","PUT",{externalOrganizationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putExternalcontactsOrganizationNote(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling putExternalcontactsOrganizationNote';if(i==null||i==="")throw'Missing the required parameter "noteId" when calling putExternalcontactsOrganizationNote';if(n==null)throw'Missing the required parameter "body" when calling putExternalcontactsOrganizationNote';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}","PUT",{externalOrganizationId:e,noteId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putExternalcontactsOrganizationTrustorTrustorId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling putExternalcontactsOrganizationTrustorTrustorId';if(i==null||i==="")throw'Missing the required parameter "trustorId" when calling putExternalcontactsOrganizationTrustorTrustorId';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}/trustor/{trustorId}","PUT",{externalOrganizationId:e,trustorId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putExternalcontactsOrganizationsSchema(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putExternalcontactsOrganizationsSchema';if(i==null)throw'Missing the required parameter "body" when calling putExternalcontactsOrganizationsSchema';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putExternalcontactsRelationship(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "relationshipId" when calling putExternalcontactsRelationship';if(i==null)throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';return this.apiClient.callApi("/api/v2/externalcontacts/relationships/{relationshipId}","PUT",{relationshipId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},AA=class{constructor(e){this.apiClient=e||k.instance}deleteFaxDocument(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling deleteFaxDocument';return this.apiClient.callApi("/api/v2/fax/documents/{documentId}","DELETE",{documentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFaxDocument(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling getFaxDocument';return this.apiClient.callApi("/api/v2/fax/documents/{documentId}","GET",{documentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFaxDocumentContent(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling getFaxDocumentContent';return this.apiClient.callApi("/api/v2/fax/documents/{documentId}/content","GET",{documentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getFaxDocuments(e){return e=e||{},this.apiClient.callApi("/api/v2/fax/documents","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFaxSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/fax/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFaxSummary(e){return e=e||{},this.apiClient.callApi("/api/v2/fax/summary","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putFaxDocument(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "documentId" when calling putFaxDocument';if(i==null)throw'Missing the required parameter "body" when calling putFaxDocument';return this.apiClient.callApi("/api/v2/fax/documents/{documentId}","PUT",{documentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putFaxSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/fax/settings","PUT",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},bA=class{constructor(e){this.apiClient=e||k.instance}deleteAnalyticsFlowsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsFlowsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsFlowsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsFlowsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsFlowsActivityQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsActivityQuery';return this.apiClient.callApi("/api/v2/analytics/flows/activity/query","POST",{},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsFlowsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsFlowsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/flows/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsFlowsObservationsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';return this.apiClient.callApi("/api/v2/analytics/flows/observations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},yA=class{constructor(e){this.apiClient=e||k.instance}deleteEmployeeperformanceExternalmetricsDefinition(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';return this.apiClient.callApi("/api/v2/employeeperformance/externalmetrics/definitions/{metricId}","DELETE",{metricId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteGamificationContest(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling deleteGamificationContest';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}","DELETE",{contestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getEmployeeperformanceExternalmetricsDefinition(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';return this.apiClient.callApi("/api/v2/employeeperformance/externalmetrics/definitions/{metricId}","GET",{metricId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getEmployeeperformanceExternalmetricsDefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/employeeperformance/externalmetrics/definitions","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationContest(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling getGamificationContest';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}","GET",{contestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationContestAgentsScores(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScores';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}/agents/scores","GET",{contestId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,workday:i.workday,returnsView:i.returnsView},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationContestAgentsScoresMe(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresMe';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}/agents/scores/me","GET",{contestId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,workday:i.workday,returnsView:i.returnsView},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationContestAgentsScoresTrends(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrends';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}/agents/scores/trends","GET",{contestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationContestAgentsScoresTrendsMe(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrendsMe';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}/agents/scores/trends/me","GET",{contestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationContestPrizeimage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling getGamificationContestPrizeimage';if(i==null||i==="")throw'Missing the required parameter "prizeImageId" when calling getGamificationContestPrizeimage';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}/prizeimages/{prizeImageId}","GET",{contestId:e,prizeImageId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationContests(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/contests","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,dateStart:e.dateStart,dateEnd:e.dateEnd,status:this.apiClient.buildCollectionParam(e.status,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationContestsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/contests/me","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,dateStart:e.dateStart,dateEnd:e.dateEnd,status:this.apiClient.buildCollectionParam(e.status,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder,view:e.view},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationInsights(e,i,n,a,r,s){if(s=s||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsights';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationInsights';if(n==null)throw'Missing the required parameter "granularity" when calling getGamificationInsights';if(a==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsights';if(r==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsights';return this.apiClient.callApi("/api/v2/gamification/insights","GET",{},{filterType:e,filterId:i,granularity:n,comparativePeriodStartWorkday:a,primaryPeriodStartWorkday:r,pageSize:s.pageSize,pageNumber:s.pageNumber,sortKey:s.sortKey,sortMetricId:s.sortMetricId,sortOrder:s.sortOrder,userIds:s.userIds,reportsTo:s.reportsTo},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],s.customHeaders)}getGamificationInsightsDetails(e,i,n,a,r,s){if(s=s||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsDetails';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsDetails';if(n==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsDetails';if(a==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsDetails';if(r==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsDetails';return this.apiClient.callApi("/api/v2/gamification/insights/details","GET",{},{filterType:e,filterId:i,granularity:n,comparativePeriodStartWorkday:a,primaryPeriodStartWorkday:r},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],s.customHeaders)}getGamificationInsightsGroupsTrends(e,i,n,a,r,s,o,l){if(l=l||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsGroupsTrends';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsGroupsTrends';if(n==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsGroupsTrends';if(a==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsGroupsTrends';if(r==null)throw'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsGroupsTrends';if(s==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsGroupsTrends';if(o==null)throw'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsGroupsTrends';return this.apiClient.callApi("/api/v2/gamification/insights/groups/trends","GET",{},{filterType:e,filterId:i,granularity:n,comparativePeriodStartWorkday:a,comparativePeriodEndWorkday:r,primaryPeriodStartWorkday:s,primaryPeriodEndWorkday:o},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],l.customHeaders)}getGamificationInsightsGroupsTrendsAll(e,i,n,a,r,s,o,l){if(l=l||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsGroupsTrendsAll';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsGroupsTrendsAll';if(n==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsGroupsTrendsAll';if(a==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsGroupsTrendsAll';if(r==null)throw'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsGroupsTrendsAll';if(s==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsGroupsTrendsAll';if(o==null)throw'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsGroupsTrendsAll';return this.apiClient.callApi("/api/v2/gamification/insights/groups/trends/all","GET",{},{filterType:e,filterId:i,granularity:n,comparativePeriodStartWorkday:a,comparativePeriodEndWorkday:r,primaryPeriodStartWorkday:s,primaryPeriodEndWorkday:o},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],l.customHeaders)}getGamificationInsightsManagers(e,i,n,a,r){if(r=r||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsManagers';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsManagers';if(n==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsManagers';if(a==null)throw'Missing the required parameter "startWorkday" when calling getGamificationInsightsManagers';return this.apiClient.callApi("/api/v2/gamification/insights/managers","GET",{},{filterType:e,filterId:i,granularity:n,startWorkday:a,pageSize:r.pageSize,pageNumber:r.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getGamificationInsightsMembers(e,i,n,a,r){if(r=r||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsMembers';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsMembers';if(n==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsMembers';if(a==null)throw'Missing the required parameter "startWorkday" when calling getGamificationInsightsMembers';return this.apiClient.callApi("/api/v2/gamification/insights/members","GET",{},{filterType:e,filterId:i,granularity:n,startWorkday:a,reportsTo:r.reportsTo},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getGamificationInsightsRankings(e,i,n,a,r,s,o){if(o=o||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsRankings';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsRankings';if(n==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsRankings';if(a==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsRankings';if(r==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsRankings';if(s==null)throw'Missing the required parameter "sortKey" when calling getGamificationInsightsRankings';return this.apiClient.callApi("/api/v2/gamification/insights/rankings","GET",{},{filterType:e,filterId:i,granularity:n,comparativePeriodStartWorkday:a,primaryPeriodStartWorkday:r,sortKey:s,sortMetricId:o.sortMetricId,sectionSize:o.sectionSize,userIds:o.userIds,reportsTo:o.reportsTo},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],o.customHeaders)}getGamificationInsightsTrends(e,i,n,a,r,s,o,l){if(l=l||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsTrends';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsTrends';if(n==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsTrends';if(a==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsTrends';if(r==null)throw'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsTrends';if(s==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsTrends';if(o==null)throw'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsTrends';return this.apiClient.callApi("/api/v2/gamification/insights/trends","GET",{},{filterType:e,filterId:i,granularity:n,comparativePeriodStartWorkday:a,comparativePeriodEndWorkday:r,primaryPeriodStartWorkday:s,primaryPeriodEndWorkday:o},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],l.customHeaders)}getGamificationInsightsUserDetails(e,i,n,a,r,s,o){if(o=o||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationInsightsUserDetails';if(i==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsUserDetails';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsUserDetails';if(a==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsUserDetails';if(r==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsUserDetails';if(s==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsUserDetails';return this.apiClient.callApi("/api/v2/gamification/insights/users/{userId}/details","GET",{userId:e},{filterType:i,filterId:n,granularity:a,comparativePeriodStartWorkday:r,primaryPeriodStartWorkday:s},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],o.customHeaders)}getGamificationInsightsUserTrends(e,i,n,a,r,s,o,l,u){if(u=u||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationInsightsUserTrends';if(i==null)throw'Missing the required parameter "filterType" when calling getGamificationInsightsUserTrends';if(n==null)throw'Missing the required parameter "filterId" when calling getGamificationInsightsUserTrends';if(a==null)throw'Missing the required parameter "granularity" when calling getGamificationInsightsUserTrends';if(r==null)throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsUserTrends';if(s==null)throw'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsUserTrends';if(o==null)throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsUserTrends';if(l==null)throw'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsUserTrends';return this.apiClient.callApi("/api/v2/gamification/insights/users/{userId}/trends","GET",{userId:e},{filterType:i,filterId:n,granularity:a,comparativePeriodStartWorkday:r,comparativePeriodEndWorkday:s,primaryPeriodStartWorkday:o,primaryPeriodEndWorkday:l},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],u.customHeaders)}getGamificationLeaderboard(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "startWorkday" when calling getGamificationLeaderboard';if(i==null)throw'Missing the required parameter "endWorkday" when calling getGamificationLeaderboard';return this.apiClient.callApi("/api/v2/gamification/leaderboard","GET",{},{startWorkday:e,endWorkday:i,metricId:n.metricId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationLeaderboardAll(e,i,n,a,r){if(r=r||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationLeaderboardAll';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationLeaderboardAll';if(n==null)throw'Missing the required parameter "startWorkday" when calling getGamificationLeaderboardAll';if(a==null)throw'Missing the required parameter "endWorkday" when calling getGamificationLeaderboardAll';return this.apiClient.callApi("/api/v2/gamification/leaderboard/all","GET",{},{filterType:e,filterId:i,startWorkday:n,endWorkday:a,metricId:r.metricId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getGamificationLeaderboardAllBestpoints(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationLeaderboardAllBestpoints';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationLeaderboardAllBestpoints';return this.apiClient.callApi("/api/v2/gamification/leaderboard/all/bestpoints","GET",{},{filterType:e,filterId:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationLeaderboardBestpoints(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/leaderboard/bestpoints","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationMetricdefinition(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "metricDefinitionId" when calling getGamificationMetricdefinition';return this.apiClient.callApi("/api/v2/gamification/metricdefinitions/{metricDefinitionId}","GET",{metricDefinitionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationMetricdefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/metricdefinitions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationProfile(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationProfile';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}","GET",{profileId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationProfileMembers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationProfileMembers';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/members","GET",{profileId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationProfileMetric(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationProfileMetric';if(i==null||i==="")throw'Missing the required parameter "metricId" when calling getGamificationProfileMetric';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/metrics/{metricId}","GET",{profileId:e,metricId:i},{workday:n.workday},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationProfileMetrics(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationProfileMetrics';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/metrics","GET",{profileId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi"),workday:i.workday,metricIds:i.metricIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationProfileMetricsObjectivedetails(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationProfileMetricsObjectivedetails';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/metrics/objectivedetails","GET",{profileId:e},{workday:i.workday},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationProfiles(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/profiles","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationProfilesUser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationProfilesUser';return this.apiClient.callApi("/api/v2/gamification/profiles/users/{userId}","GET",{userId:e},{workday:i.workday},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationProfilesUsersMe(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/profiles/users/me","GET",{},{workday:e.workday},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationScorecards(e,i){if(i=i||{},e==null)throw'Missing the required parameter "workday" when calling getGamificationScorecards';return this.apiClient.callApi("/api/v2/gamification/scorecards","GET",{},{workday:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationScorecardsAttendance(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsAttendance';if(i==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsAttendance';return this.apiClient.callApi("/api/v2/gamification/scorecards/attendance","GET",{},{startWorkday:e,endWorkday:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationScorecardsBestpoints(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/scorecards/bestpoints","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationScorecardsPointsAlltime(e,i){if(i=i||{},e==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsPointsAlltime';return this.apiClient.callApi("/api/v2/gamification/scorecards/points/alltime","GET",{},{endWorkday:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationScorecardsPointsAverage(e,i){if(i=i||{},e==null)throw'Missing the required parameter "workday" when calling getGamificationScorecardsPointsAverage';return this.apiClient.callApi("/api/v2/gamification/scorecards/points/average","GET",{},{workday:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationScorecardsPointsTrends(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsPointsTrends';if(i==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsPointsTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/points/trends","GET",{},{startWorkday:e,endWorkday:i,dayOfWeek:n.dayOfWeek},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationScorecardsProfileMetricUserValuesTrends(e,i,n,a,r,s){if(s=s||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';if(i==null||i==="")throw'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';if(n==null||n==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';if(a==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUserValuesTrends';if(r==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricUserValuesTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/{userId}/values/trends","GET",{profileId:e,metricId:i,userId:n},{startWorkday:a,endWorkday:r,referenceWorkday:s.referenceWorkday,timeZone:s.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],s.customHeaders)}getGamificationScorecardsProfileMetricUsersValuesTrends(e,i,n,a,r,s){if(s=s||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';if(i==null||i==="")throw'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';if(n==null)throw'Missing the required parameter "filterType" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';if(a==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';if(r==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/values/trends","GET",{profileId:e,metricId:i},{filterType:n,filterId:s.filterId,startWorkday:a,endWorkday:r,referenceWorkday:s.referenceWorkday,timeZone:s.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],s.customHeaders)}getGamificationScorecardsProfileMetricValuesTrends(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricValuesTrends';if(i==null||i==="")throw'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricValuesTrends';if(n==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricValuesTrends';if(a==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricValuesTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/values/trends","GET",{profileId:e,metricId:i},{filterType:r.filterType,startWorkday:n,endWorkday:a,referenceWorkday:r.referenceWorkday,timeZone:r.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getGamificationScorecardsUser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsUser';if(i==null)throw'Missing the required parameter "workday" when calling getGamificationScorecardsUser';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/{userId}","GET",{userId:e},{workday:i,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationScorecardsUserAttendance(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsUserAttendance';if(i==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsUserAttendance';if(n==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsUserAttendance';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/{userId}/attendance","GET",{userId:e},{startWorkday:i,endWorkday:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getGamificationScorecardsUserBestpoints(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsUserBestpoints';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/{userId}/bestpoints","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationScorecardsUserPointsAlltime(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsUserPointsAlltime';if(i==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsUserPointsAlltime';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/{userId}/points/alltime","GET",{userId:e},{endWorkday:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationScorecardsUserPointsTrends(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsUserPointsTrends';if(i==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsUserPointsTrends';if(n==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsUserPointsTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/{userId}/points/trends","GET",{userId:e},{startWorkday:i,endWorkday:n,dayOfWeek:a.dayOfWeek},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getGamificationScorecardsUserValuesTrends(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getGamificationScorecardsUserValuesTrends';if(i==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsUserValuesTrends';if(n==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsUserValuesTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/{userId}/values/trends","GET",{userId:e},{startWorkday:i,endWorkday:n,timeZone:a.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getGamificationScorecardsUsersPointsAverage(e,i,n,a){if(a=a||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationScorecardsUsersPointsAverage';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationScorecardsUsersPointsAverage';if(n==null)throw'Missing the required parameter "workday" when calling getGamificationScorecardsUsersPointsAverage';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/points/average","GET",{},{filterType:e,filterId:i,workday:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getGamificationScorecardsUsersValuesAverage(e,i,n,a){if(a=a||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationScorecardsUsersValuesAverage';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationScorecardsUsersValuesAverage';if(n==null)throw'Missing the required parameter "workday" when calling getGamificationScorecardsUsersValuesAverage';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/values/average","GET",{},{filterType:e,filterId:i,workday:n,timeZone:a.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getGamificationScorecardsUsersValuesTrends(e,i,n,a,r){if(r=r||{},e==null)throw'Missing the required parameter "filterType" when calling getGamificationScorecardsUsersValuesTrends';if(i==null)throw'Missing the required parameter "filterId" when calling getGamificationScorecardsUsersValuesTrends';if(n==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsUsersValuesTrends';if(a==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsUsersValuesTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/users/values/trends","GET",{},{filterType:e,filterId:i,startWorkday:n,endWorkday:a,timeZone:r.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getGamificationScorecardsValuesAverage(e,i){if(i=i||{},e==null)throw'Missing the required parameter "workday" when calling getGamificationScorecardsValuesAverage';return this.apiClient.callApi("/api/v2/gamification/scorecards/values/average","GET",{},{workday:e,timeZone:i.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationScorecardsValuesTrends(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "startWorkday" when calling getGamificationScorecardsValuesTrends';if(i==null)throw'Missing the required parameter "endWorkday" when calling getGamificationScorecardsValuesTrends';return this.apiClient.callApi("/api/v2/gamification/scorecards/values/trends","GET",{},{filterType:n.filterType,referenceWorkday:n.referenceWorkday,startWorkday:e,endWorkday:i,timeZone:n.timeZone},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getGamificationStatus(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/status","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGamificationTemplate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "templateId" when calling getGamificationTemplate';return this.apiClient.callApi("/api/v2/gamification/templates/{templateId}","GET",{templateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGamificationTemplates(e){return e=e||{},this.apiClient.callApi("/api/v2/gamification/templates","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchEmployeeperformanceExternalmetricsDefinition(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';if(i==null)throw'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';return this.apiClient.callApi("/api/v2/employeeperformance/externalmetrics/definitions/{metricId}","PATCH",{metricId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchGamificationContest(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling patchGamificationContest';if(i==null)throw'Missing the required parameter "body" when calling patchGamificationContest';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}","PATCH",{contestId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postEmployeeperformanceExternalmetricsData(e){return e=e||{},this.apiClient.callApi("/api/v2/employeeperformance/externalmetrics/data","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postEmployeeperformanceExternalmetricsDefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/employeeperformance/externalmetrics/definitions","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postGamificationContests(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGamificationContests';return this.apiClient.callApi("/api/v2/gamification/contests","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGamificationContestsUploadsPrizeimages(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';return this.apiClient.callApi("/api/v2/gamification/contests/uploads/prizeimages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGamificationProfileActivate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling postGamificationProfileActivate';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/activate","POST",{profileId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGamificationProfileDeactivate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling postGamificationProfileDeactivate';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/deactivate","POST",{profileId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGamificationProfileMembers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling postGamificationProfileMembers';if(i==null)throw'Missing the required parameter "body" when calling postGamificationProfileMembers';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/members","POST",{profileId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGamificationProfileMembersValidate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling postGamificationProfileMembersValidate';if(i==null)throw'Missing the required parameter "body" when calling postGamificationProfileMembersValidate';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/members/validate","POST",{profileId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGamificationProfileMetricLink(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceProfileId" when calling postGamificationProfileMetricLink';if(i==null||i==="")throw'Missing the required parameter "sourceMetricId" when calling postGamificationProfileMetricLink';if(n==null)throw'Missing the required parameter "body" when calling postGamificationProfileMetricLink';return this.apiClient.callApi("/api/v2/gamification/profiles/{sourceProfileId}/metrics/{sourceMetricId}/link","POST",{sourceProfileId:e,sourceMetricId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postGamificationProfileMetrics(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling postGamificationProfileMetrics';if(i==null)throw'Missing the required parameter "body" when calling postGamificationProfileMetrics';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/metrics","POST",{profileId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGamificationProfiles(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGamificationProfiles';return this.apiClient.callApi("/api/v2/gamification/profiles","POST",{},{copyMetrics:i.copyMetrics},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGamificationProfilesUserQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postGamificationProfilesUserQuery';if(i==null)throw'Missing the required parameter "body" when calling postGamificationProfilesUserQuery';return this.apiClient.callApi("/api/v2/gamification/profiles/users/{userId}/query","POST",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGamificationProfilesUsersMeQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGamificationProfilesUsersMeQuery';return this.apiClient.callApi("/api/v2/gamification/profiles/users/me/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putGamificationContest(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contestId" when calling putGamificationContest';if(i==null)throw'Missing the required parameter "body" when calling putGamificationContest';return this.apiClient.callApi("/api/v2/gamification/contests/{contestId}","PUT",{contestId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putGamificationProfile(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling putGamificationProfile';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}","PUT",{profileId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putGamificationProfileMetric(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "profileId" when calling putGamificationProfileMetric';if(i==null||i==="")throw'Missing the required parameter "metricId" when calling putGamificationProfileMetric';if(n==null)throw'Missing the required parameter "body" when calling putGamificationProfileMetric';return this.apiClient.callApi("/api/v2/gamification/profiles/{profileId}/metrics/{metricId}","PUT",{profileId:e,metricId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putGamificationStatus(e,i){if(i=i||{},e==null)throw'Missing the required parameter "status" when calling putGamificationStatus';return this.apiClient.callApi("/api/v2/gamification/status","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},PA=class{constructor(e){this.apiClient=e||k.instance}getGdprRequest(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "requestId" when calling getGdprRequest';return this.apiClient.callApi("/api/v2/gdpr/requests/{requestId}","GET",{requestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGdprRequests(e){return e=e||{},this.apiClient.callApi("/api/v2/gdpr/requests","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGdprSubjects(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "searchType" when calling getGdprSubjects';if(i==null)throw'Missing the required parameter "searchValue" when calling getGdprSubjects';return this.apiClient.callApi("/api/v2/gdpr/subjects","GET",{},{searchType:e,searchValue:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGdprRequests(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGdprRequests';return this.apiClient.callApi("/api/v2/gdpr/requests","POST",{},{deleteConfirmed:i.deleteConfirmed},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},jA=class{constructor(e){this.apiClient=e||k.instance}getGeolocationsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/geolocations/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUserGeolocation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserGeolocation';if(i==null||i==="")throw'Missing the required parameter "clientId" when calling getUserGeolocation';return this.apiClient.callApi("/api/v2/users/{userId}/geolocations/{clientId}","GET",{userId:e,clientId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchGeolocationsSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchGeolocationsSettings';return this.apiClient.callApi("/api/v2/geolocations/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUserGeolocation(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserGeolocation';if(i==null||i==="")throw'Missing the required parameter "clientId" when calling patchUserGeolocation';if(n==null)throw'Missing the required parameter "body" when calling patchUserGeolocation';return this.apiClient.callApi("/api/v2/users/{userId}/geolocations/{clientId}","PATCH",{userId:e,clientId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}},SA=class{constructor(e){this.apiClient=e||k.instance}deleteGreeting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling deleteGreeting';return this.apiClient.callApi("/api/v2/greetings/{greetingId}","DELETE",{greetingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGreeting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling getGreeting';return this.apiClient.callApi("/api/v2/greetings/{greetingId}","GET",{greetingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGreetingDownloads(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling getGreetingDownloads';return this.apiClient.callApi("/api/v2/greetings/{greetingId}/downloads","GET",{greetingId:e},{formatId:i.formatId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGreetingGroupsDownloads(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling getGreetingGroupsDownloads';return this.apiClient.callApi("/api/v2/greetings/{greetingId}/groups/downloads","GET",{greetingId:e},{formatId:i.formatId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGreetingMedia(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling getGreetingMedia';return this.apiClient.callApi("/api/v2/greetings/{greetingId}/media","GET",{greetingId:e},{formatId:i.formatId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGreetingUsersDownloads(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling getGreetingUsersDownloads';return this.apiClient.callApi("/api/v2/greetings/{greetingId}/users/downloads","GET",{greetingId:e},{formatId:i.formatId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGreetings(e){return e=e||{},this.apiClient.callApi("/api/v2/greetings","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGreetingsDefaults(e){return e=e||{},this.apiClient.callApi("/api/v2/greetings/defaults","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGroupGreetings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroupGreetings';return this.apiClient.callApi("/api/v2/groups/{groupId}/greetings","GET",{groupId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGroupGreetingsDefaults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroupGreetingsDefaults';return this.apiClient.callApi("/api/v2/groups/{groupId}/greetings/defaults","GET",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserGreetings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserGreetings';return this.apiClient.callApi("/api/v2/users/{userId}/greetings","GET",{userId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserGreetingsDefaults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserGreetingsDefaults';return this.apiClient.callApi("/api/v2/users/{userId}/greetings/defaults","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGreetings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGreetings';return this.apiClient.callApi("/api/v2/greetings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGroupGreetings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling postGroupGreetings';if(i==null)throw'Missing the required parameter "body" when calling postGroupGreetings';return this.apiClient.callApi("/api/v2/groups/{groupId}/greetings","POST",{groupId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUserGreetings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserGreetings';if(i==null)throw'Missing the required parameter "body" when calling postUserGreetings';return this.apiClient.callApi("/api/v2/users/{userId}/greetings","POST",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putGreeting(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "greetingId" when calling putGreeting';if(i==null)throw'Missing the required parameter "body" when calling putGreeting';return this.apiClient.callApi("/api/v2/greetings/{greetingId}","PUT",{greetingId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putGreetingsDefaults(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putGreetingsDefaults';return this.apiClient.callApi("/api/v2/greetings/defaults","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putGroupGreetingsDefaults(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling putGroupGreetingsDefaults';if(i==null)throw'Missing the required parameter "body" when calling putGroupGreetingsDefaults';return this.apiClient.callApi("/api/v2/groups/{groupId}/greetings/defaults","PUT",{groupId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserGreetingsDefaults(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserGreetingsDefaults';if(i==null)throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';return this.apiClient.callApi("/api/v2/users/{userId}/greetings/defaults","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},OA=class{constructor(e){this.apiClient=e||k.instance}deleteGroup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling deleteGroup';return this.apiClient.callApi("/api/v2/groups/{groupId}","DELETE",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteGroupDynamicsettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling deleteGroupDynamicsettings';return this.apiClient.callApi("/api/v2/groups/{groupId}/dynamicsettings","DELETE",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteGroupMembers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling deleteGroupMembers';if(i==null)throw'Missing the required parameter "ids" when calling deleteGroupMembers';return this.apiClient.callApi("/api/v2/groups/{groupId}/members","DELETE",{groupId:e},{ids:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getFieldconfig(e,i){if(i=i||{},e==null)throw'Missing the required parameter "type" when calling getFieldconfig';return this.apiClient.callApi("/api/v2/fieldconfig","GET",{},{type:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGroup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroup';return this.apiClient.callApi("/api/v2/groups/{groupId}","GET",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGroupDynamicsettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroupDynamicsettings';return this.apiClient.callApi("/api/v2/groups/{groupId}/dynamicsettings","GET",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGroupIndividuals(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroupIndividuals';return this.apiClient.callApi("/api/v2/groups/{groupId}/individuals","GET",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGroupMembers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroupMembers';return this.apiClient.callApi("/api/v2/groups/{groupId}/members","GET",{groupId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortOrder:i.sortOrder,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGroupProfile(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getGroupProfile';return this.apiClient.callApi("/api/v2/groups/{groupId}/profile","GET",{groupId:e},{fields:i.fields},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGroups(e){return e=e||{},this.apiClient.callApi("/api/v2/groups","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),jabberId:this.apiClient.buildCollectionParam(e.jabberId,"multi"),sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getGroupsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getGroupsSearch';return this.apiClient.callApi("/api/v2/groups/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getProfilesGroups(e){return e=e||{},this.apiClient.callApi("/api/v2/profiles/groups","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),jabberId:this.apiClient.buildCollectionParam(e.jabberId,"multi"),sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postGroupMembers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling postGroupMembers';if(i==null)throw'Missing the required parameter "body" when calling postGroupMembers';return this.apiClient.callApi("/api/v2/groups/{groupId}/members","POST",{groupId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGroups(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGroups';return this.apiClient.callApi("/api/v2/groups","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGroupsDynamicsettingsPreview(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGroupsDynamicsettingsPreview';return this.apiClient.callApi("/api/v2/groups/dynamicsettings/preview","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGroupsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGroupsSearch';return this.apiClient.callApi("/api/v2/groups/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putGroup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling putGroup';return this.apiClient.callApi("/api/v2/groups/{groupId}","PUT",{groupId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putGroupDynamicsettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling putGroupDynamicsettings';if(i==null)throw'Missing the required parameter "body" when calling putGroupDynamicsettings';return this.apiClient.callApi("/api/v2/groups/{groupId}/dynamicsettings","PUT",{groupId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},TA=class{constructor(e){this.apiClient=e||k.instance}deleteIdentityprovider(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "providerId" when calling deleteIdentityprovider';return this.apiClient.callApi("/api/v2/identityproviders/{providerId}","DELETE",{providerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteIdentityprovidersAdfs(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/adfs","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersCic(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/cic","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersGeneric(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/generic","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersGsuite(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/gsuite","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersIdentitynow(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/identitynow","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersOkta(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/okta","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersOnelogin(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/onelogin","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersPing(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/ping","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersPurecloud(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/purecloud","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersPureengage(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/pureengage","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteIdentityprovidersSalesforce(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/salesforce","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovider(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "providerId" when calling getIdentityprovider';return this.apiClient.callApi("/api/v2/identityproviders/{providerId}","GET",{providerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIdentityproviders(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersAdfs(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/adfs","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersCic(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/cic","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersGeneric(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/generic","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersGsuite(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/gsuite","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersIdentitynow(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/identitynow","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersOkta(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/okta","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersOnelogin(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/onelogin","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersPing(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/ping","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersPurecloud(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/purecloud","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersPureengage(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/pureengage","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIdentityprovidersSalesforce(e){return e=e||{},this.apiClient.callApi("/api/v2/identityproviders/salesforce","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postIdentityproviders(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postIdentityproviders';return this.apiClient.callApi("/api/v2/identityproviders","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIdentityprovider(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "providerId" when calling putIdentityprovider';if(i==null)throw'Missing the required parameter "body" when calling putIdentityprovider';return this.apiClient.callApi("/api/v2/identityproviders/{providerId}","PUT",{providerId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIdentityprovidersAdfs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersAdfs';return this.apiClient.callApi("/api/v2/identityproviders/adfs","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIdentityprovidersCic(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersCic';return this.apiClient.callApi("/api/v2/identityproviders/cic","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIdentityprovidersGeneric(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersGeneric';return this.apiClient.callApi("/api/v2/identityproviders/generic","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIdentityprovidersGsuite(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersGsuite';return this.apiClient.callApi("/api/v2/identityproviders/gsuite","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIdentityprovidersIdentitynow(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersIdentitynow';return this.apiClient.callApi("/api/v2/identityproviders/identitynow","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIdentityprovidersOkta(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersOkta';return this.apiClient.callApi("/api/v2/identityproviders/okta","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIdentityprovidersOnelogin(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersOnelogin';return this.apiClient.callApi("/api/v2/identityproviders/onelogin","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIdentityprovidersPing(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersPing';return this.apiClient.callApi("/api/v2/identityproviders/ping","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIdentityprovidersPurecloud(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersPurecloud';return this.apiClient.callApi("/api/v2/identityproviders/purecloud","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIdentityprovidersPureengage(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersPureengage';return this.apiClient.callApi("/api/v2/identityproviders/pureengage","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIdentityprovidersSalesforce(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';return this.apiClient.callApi("/api/v2/identityproviders/salesforce","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},xA=class{constructor(e){this.apiClient=e||k.instance}getInfrastructureascodeAccelerator(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "acceleratorId" when calling getInfrastructureascodeAccelerator';return this.apiClient.callApi("/api/v2/infrastructureascode/accelerators/{acceleratorId}","GET",{acceleratorId:e},{preferredLanguage:i.preferredLanguage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getInfrastructureascodeAccelerators(e){return e=e||{},this.apiClient.callApi("/api/v2/infrastructureascode/accelerators","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,description:e.description,origin:e.origin,type:e.type,classification:e.classification,tags:e.tags},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getInfrastructureascodeJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getInfrastructureascodeJob';return this.apiClient.callApi("/api/v2/infrastructureascode/jobs/{jobId}","GET",{jobId:e},{details:i.details},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getInfrastructureascodeJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/infrastructureascode/jobs","GET",{},{maxResults:e.maxResults,includeErrors:e.includeErrors,sortBy:e.sortBy,sortOrder:e.sortOrder,acceleratorId:e.acceleratorId,submittedBy:e.submittedBy,status:e.status},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postInfrastructureascodeJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';return this.apiClient.callApi("/api/v2/infrastructureascode/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},MA=class{constructor(e){this.apiClient=e||k.instance}deleteIntegration(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling deleteIntegration';return this.apiClient.callApi("/api/v2/integrations/{integrationId}","DELETE",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteIntegrationsAction(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling deleteIntegrationsAction';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}","DELETE",{actionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteIntegrationsActionDraft(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling deleteIntegrationsActionDraft';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft","DELETE",{actionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteIntegrationsCredential(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "credentialId" when calling deleteIntegrationsCredential';return this.apiClient.callApi("/api/v2/integrations/credentials/{credentialId}","DELETE",{credentialId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegration(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegration';return this.apiClient.callApi("/api/v2/integrations/{integrationId}","GET",{integrationId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortBy:i.sortBy,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),nextPage:i.nextPage,previousPage:i.previousPage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationConfigCurrent(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationConfigCurrent';return this.apiClient.callApi("/api/v2/integrations/{integrationId}/config/current","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrations(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,ids:this.apiClient.buildCollectionParam(e.ids,"multi"),integrationType:e.integrationType,reportedState:e.reportedState,credentialId:e.credentialId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsAction(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsAction';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}","GET",{actionId:e},{expand:i.expand,flatten:i.flatten,includeConfig:i.includeConfig},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsActionDraft(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraft';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft","GET",{actionId:e},{expand:i.expand,flatten:i.flatten,includeConfig:i.includeConfig},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsActionDraftFunction(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftFunction';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/function","GET",{actionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsActionDraftSchema(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftSchema';if(i==null||i==="")throw'Missing the required parameter "fileName" when calling getIntegrationsActionDraftSchema';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/schemas/{fileName}","GET",{actionId:e,fileName:i},{flatten:n.flatten},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsActionDraftTemplate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftTemplate';if(i==null||i==="")throw'Missing the required parameter "fileName" when calling getIntegrationsActionDraftTemplate';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/templates/{fileName}","GET",{actionId:e,fileName:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["text/plain"],n.customHeaders)}getIntegrationsActionDraftValidation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftValidation';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/validation","GET",{actionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsActionFunction(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionFunction';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/function","GET",{actionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsActionSchema(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionSchema';if(i==null||i==="")throw'Missing the required parameter "fileName" when calling getIntegrationsActionSchema';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/schemas/{fileName}","GET",{actionId:e,fileName:i},{flatten:n.flatten},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsActionTemplate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling getIntegrationsActionTemplate';if(i==null||i==="")throw'Missing the required parameter "fileName" when calling getIntegrationsActionTemplate';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/templates/{fileName}","GET",{actionId:e,fileName:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["text/plain"],n.customHeaders)}getIntegrationsActions(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/actions","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,nextPage:e.nextPage,previousPage:e.previousPage,sortBy:e.sortBy,sortOrder:e.sortOrder,category:e.category,name:e.name,ids:e.ids,secure:e.secure,includeAuthActions:e.includeAuthActions,includeConfig:e.includeConfig},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsActionsCategories(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/actions/categories","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,nextPage:e.nextPage,previousPage:e.previousPage,sortBy:e.sortBy,sortOrder:e.sortOrder,secure:e.secure},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsActionsCertificates(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/actions/certificates","GET",{},{status:e.status,type:e.type},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsActionsCertificatesTruststore(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/actions/certificates/truststore","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsActionsDrafts(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/actions/drafts","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,nextPage:e.nextPage,previousPage:e.previousPage,sortBy:e.sortBy,sortOrder:e.sortOrder,category:e.category,name:e.name,ids:e.ids,secure:e.secure,includeAuthActions:e.includeAuthActions,includeConfig:e.includeConfig},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsActionsFunctionsRuntimes(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/actions/functions/runtimes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsBotconnectorBot(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBot';if(i==null||i==="")throw'Missing the required parameter "botId" when calling getIntegrationsBotconnectorBot';return this.apiClient.callApi("/api/v2/integrations/botconnectors/{integrationId}/bots/{botId}","GET",{integrationId:e,botId:i},{version:n.version},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsBotconnectorBots(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBots';return this.apiClient.callApi("/api/v2/integrations/botconnectors/{integrationId}/bots","GET",{integrationId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsBotconnectorBotsSummaries(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBotsSummaries';return this.apiClient.callApi("/api/v2/integrations/botconnectors/{integrationId}/bots/summaries","GET",{integrationId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsBotconnectorIntegrationIdBot(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBot';if(i==null||i==="")throw'Missing the required parameter "botId" when calling getIntegrationsBotconnectorIntegrationIdBot';return this.apiClient.callApi("/api/v2/integrations/botconnector/{integrationId}/bots/{botId}","GET",{integrationId:e,botId:i},{version:n.version},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsBotconnectorIntegrationIdBotVersions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBotVersions';if(i==null||i==="")throw'Missing the required parameter "botId" when calling getIntegrationsBotconnectorIntegrationIdBotVersions';return this.apiClient.callApi("/api/v2/integrations/botconnector/{integrationId}/bots/{botId}/versions","GET",{integrationId:e,botId:i},{pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsBotconnectorIntegrationIdBots(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBots';return this.apiClient.callApi("/api/v2/integrations/botconnector/{integrationId}/bots","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsBotconnectorIntegrationIdBotsSummaries(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBotsSummaries';return this.apiClient.callApi("/api/v2/integrations/botconnector/{integrationId}/bots/summaries","GET",{integrationId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsClientapps(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/clientapps","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsCredential(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "credentialId" when calling getIntegrationsCredential';return this.apiClient.callApi("/api/v2/integrations/credentials/{credentialId}","GET",{credentialId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsCredentials(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/credentials","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsCredentialsListing(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/credentials/listing","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsCredentialsTypes(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/credentials/types","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechAudioconnector(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/audioconnector","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechAudioconnectorIntegrationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getIntegrationsSpeechAudioconnectorIntegrationId';return this.apiClient.callApi("/api/v2/integrations/speech/audioconnector/{integrationId}","GET",{integrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechDialogflowAgent(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowAgent';return this.apiClient.callApi("/api/v2/integrations/speech/dialogflow/agents/{agentId}","GET",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechDialogflowAgents(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/dialogflow/agents","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechDialogflowcxAgent(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowcxAgent';return this.apiClient.callApi("/api/v2/integrations/speech/dialogflowcx/agents/{agentId}","GET",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechDialogflowcxAgents(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/dialogflowcx/agents","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechLexBotAlias(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexBotAlias';return this.apiClient.callApi("/api/v2/integrations/speech/lex/bot/alias/{aliasId}","GET",{aliasId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechLexBotBotIdAliases(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "botId" when calling getIntegrationsSpeechLexBotBotIdAliases';return this.apiClient.callApi("/api/v2/integrations/speech/lex/bot/{botId}/aliases","GET",{botId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,status:i.status,name:i.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechLexBots(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/lex/bots","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechLexv2BotAlias(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexv2BotAlias';return this.apiClient.callApi("/api/v2/integrations/speech/lexv2/bot/alias/{aliasId}","GET",{aliasId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechLexv2BotBotIdAliases(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "botId" when calling getIntegrationsSpeechLexv2BotBotIdAliases';return this.apiClient.callApi("/api/v2/integrations/speech/lexv2/bot/{botId}/aliases","GET",{botId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,status:i.status,name:i.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechLexv2Bots(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/lexv2/bots","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechNuanceNuanceIntegrationIdBot(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';if(i==null||i==="")throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}","GET",{nuanceIntegrationId:e,botId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi"),targetChannel:n.targetChannel},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';if(i==null||i==="")throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}/jobs/{jobId}","GET",{nuanceIntegrationId:e,botId:i,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';if(i==null||i==="")throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}/jobs/{jobId}/results","GET",{nuanceIntegrationId:e,botId:i,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getIntegrationsSpeechNuanceNuanceIntegrationIdBots(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBots';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots","GET",{nuanceIntegrationId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,onlyRegisteredBots:i.onlyRegisteredBots},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs/{jobId}","GET",{nuanceIntegrationId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs/{jobId}/results","GET",{nuanceIntegrationId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechSttEngine(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "engineId" when calling getIntegrationsSpeechSttEngine';return this.apiClient.callApi("/api/v2/integrations/speech/stt/engines/{engineId}","GET",{engineId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechSttEngines(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/stt/engines","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechTtsEngine(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngine';return this.apiClient.callApi("/api/v2/integrations/speech/tts/engines/{engineId}","GET",{engineId:e},{includeVoices:i.includeVoices},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechTtsEngineVoice(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngineVoice';if(i==null||i==="")throw'Missing the required parameter "voiceId" when calling getIntegrationsSpeechTtsEngineVoice';return this.apiClient.callApi("/api/v2/integrations/speech/tts/engines/{engineId}/voices/{voiceId}","GET",{engineId:e,voiceId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsSpeechTtsEngineVoices(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngineVoices';return this.apiClient.callApi("/api/v2/integrations/speech/tts/engines/{engineId}/voices","GET",{engineId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsSpeechTtsEngines(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/tts/engines","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,includeVoices:e.includeVoices,name:e.name,language:e.language},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsSpeechTtsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/speech/tts/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsType(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "typeId" when calling getIntegrationsType';return this.apiClient.callApi("/api/v2/integrations/types/{typeId}","GET",{typeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsTypeConfigschema(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "typeId" when calling getIntegrationsTypeConfigschema';if(i==null||i==="")throw'Missing the required parameter "configType" when calling getIntegrationsTypeConfigschema';return this.apiClient.callApi("/api/v2/integrations/types/{typeId}/configschemas/{configType}","GET",{typeId:e,configType:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getIntegrationsTypes(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/types","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsUnifiedcommunicationsClientapp(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ucIntegrationId" when calling getIntegrationsUnifiedcommunicationsClientapp';return this.apiClient.callApi("/api/v2/integrations/unifiedcommunications/clientapps/{ucIntegrationId}","GET",{ucIntegrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntegrationsUnifiedcommunicationsClientapps(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/unifiedcommunications/clientapps","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntegrationsUserapps(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/userapps","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,appHost:e.appHost},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchIntegration(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling patchIntegration';return this.apiClient.callApi("/api/v2/integrations/{integrationId}","PATCH",{integrationId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortBy:i.sortBy,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),nextPage:i.nextPage,previousPage:i.previousPage},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchIntegrationsAction(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling patchIntegrationsAction';if(i==null)throw'Missing the required parameter "body" when calling patchIntegrationsAction';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}","PATCH",{actionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchIntegrationsActionDraft(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling patchIntegrationsActionDraft';if(i==null)throw'Missing the required parameter "body" when calling patchIntegrationsActionDraft';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft","PATCH",{actionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrations(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postIntegrationsActionDraft(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraft';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft","POST",{actionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsActionDraftFunctionUpload(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';if(i==null)throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/function/upload","POST",{actionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsActionDraftPublish(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftPublish';if(i==null)throw'Missing the required parameter "body" when calling postIntegrationsActionDraftPublish';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/publish","POST",{actionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsActionDraftTest(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftTest';if(i==null)throw'Missing the required parameter "body" when calling postIntegrationsActionDraftTest';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/test","POST",{actionId:e},{flatten:n.flatten},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsActionExecute(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionExecute';if(i==null)throw'Missing the required parameter "body" when calling postIntegrationsActionExecute';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/execute","POST",{actionId:e},{flatten:n.flatten},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsActionTest(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionTest';if(i==null)throw'Missing the required parameter "body" when calling postIntegrationsActionTest';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/test","POST",{actionId:e},{flatten:n.flatten},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsActions(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postIntegrationsActions';return this.apiClient.callApi("/api/v2/integrations/actions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsActionsDrafts(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postIntegrationsActionsDrafts';return this.apiClient.callApi("/api/v2/integrations/actions/drafts","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsBotconnectorsIncomingMessages(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postIntegrationsBotconnectorsIncomingMessages';return this.apiClient.callApi("/api/v2/integrations/botconnectors/incoming/messages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsBotconnectorsOutgoingMessages(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postIntegrationsBotconnectorsOutgoingMessages';return this.apiClient.callApi("/api/v2/integrations/botconnectors/outgoing/messages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsCredentials(e){return e=e||{},this.apiClient.callApi("/api/v2/integrations/credentials","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';if(i==null||i==="")throw'Missing the required parameter "botId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}/jobs","POST",{nuanceIntegrationId:e,botId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs","POST",{nuanceIntegrationId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,onlyRegisteredBots:i.onlyRegisteredBots},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';if(i==null)throw'Missing the required parameter "settings" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/validate","POST",{nuanceIntegrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntegrationsWebhookEvents(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tokenId" when calling postIntegrationsWebhookEvents';if(i==null)throw'Missing the required parameter "body" when calling postIntegrationsWebhookEvents';return this.apiClient.callApi("/api/v2/integrations/webhooks/{tokenId}/events","POST",{tokenId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIntegrationConfigCurrent(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putIntegrationConfigCurrent';return this.apiClient.callApi("/api/v2/integrations/{integrationId}/config/current","PUT",{integrationId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIntegrationsActionDraftFunction(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';if(i==null)throw'Missing the required parameter "body" when calling putIntegrationsActionDraftFunction';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/function","PUT",{actionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIntegrationsBotconnectorIntegrationIdBots(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling putIntegrationsBotconnectorIntegrationIdBots';if(i==null)throw'Missing the required parameter "botList" when calling putIntegrationsBotconnectorIntegrationIdBots';return this.apiClient.callApi("/api/v2/integrations/botconnector/{integrationId}/bots","PUT",{integrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIntegrationsCredential(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "credentialId" when calling putIntegrationsCredential';return this.apiClient.callApi("/api/v2/integrations/credentials/{credentialId}","PUT",{credentialId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "nuanceIntegrationId" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';if(i==null)throw'Missing the required parameter "settings" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';return this.apiClient.callApi("/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/settings","PUT",{nuanceIntegrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putIntegrationsSpeechTtsSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putIntegrationsSpeechTtsSettings';return this.apiClient.callApi("/api/v2/integrations/speech/tts/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putIntegrationsUnifiedcommunicationThirdpartypresences(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ucIntegrationId" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';if(i==null)throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';return this.apiClient.callApi("/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences","PUT",{ucIntegrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},EA=class{constructor(e){this.apiClient=e||k.instance}deleteIntentsCategory(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "categoryId" when calling deleteIntentsCategory';return this.apiClient.callApi("/api/v2/intents/categories/{categoryId}","DELETE",{categoryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteIntentsCustomerintent(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "customerIntentId" when calling deleteIntentsCustomerintent';return this.apiClient.callApi("/api/v2/intents/customerintents/{customerIntentId}","DELETE",{customerIntentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntentsAssignmentsExternalcontact(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalContactId" when calling getIntentsAssignmentsExternalcontact';return this.apiClient.callApi("/api/v2/intents/assignments/externalcontacts/{externalContactId}","GET",{externalContactId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntentsCategories(e){return e=e||{},this.apiClient.callApi("/api/v2/intents/categories","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,queryValue:e.queryValue},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntentsCategory(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "categoryId" when calling getIntentsCategory';return this.apiClient.callApi("/api/v2/intents/categories/{categoryId}","GET",{categoryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntentsCustomerintent(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "customerIntentId" when calling getIntentsCustomerintent';return this.apiClient.callApi("/api/v2/intents/customerintents/{customerIntentId}","GET",{customerIntentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntentsCustomerintentSourceintents(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "customerIntentId" when calling getIntentsCustomerintentSourceintents';return this.apiClient.callApi("/api/v2/intents/customerintents/{customerIntentId}/sourceintents","GET",{customerIntentId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,queryValue:i.queryValue},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getIntentsCustomerintents(e){return e=e||{},this.apiClient.callApi("/api/v2/intents/customerintents","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,queryValue:e.queryValue,categoryId:e.categoryId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIntentsSourceintents(e){return e=e||{},this.apiClient.callApi("/api/v2/intents/sourceintents","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,type:e.type,sourceId:e.sourceId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchIntentsCategory(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "categoryId" when calling patchIntentsCategory';if(i==null)throw'Missing the required parameter "body" when calling patchIntentsCategory';return this.apiClient.callApi("/api/v2/intents/categories/{categoryId}","PATCH",{categoryId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchIntentsCustomerintent(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "customerIntentId" when calling patchIntentsCustomerintent';if(i==null)throw'Missing the required parameter "body" when calling patchIntentsCustomerintent';return this.apiClient.callApi("/api/v2/intents/customerintents/{customerIntentId}","PATCH",{customerIntentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntentsAssignmentsExternalcontactCustomerintentAssignment(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "externalContactId" when calling postIntentsAssignmentsExternalcontactCustomerintentAssignment';if(i==null||i==="")throw'Missing the required parameter "customerIntentId" when calling postIntentsAssignmentsExternalcontactCustomerintentAssignment';if(n==null)throw'Missing the required parameter "body" when calling postIntentsAssignmentsExternalcontactCustomerintentAssignment';return this.apiClient.callApi("/api/v2/intents/assignments/externalcontacts/{externalContactId}/customerintents/{customerIntentId}/assignment","POST",{externalContactId:e,customerIntentId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postIntentsCategories(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postIntentsCategories';return this.apiClient.callApi("/api/v2/intents/categories","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntentsCustomerintentSourceintentsBulkAdd(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "customerIntentId" when calling postIntentsCustomerintentSourceintentsBulkAdd';if(i==null)throw'Missing the required parameter "body" when calling postIntentsCustomerintentSourceintentsBulkAdd';return this.apiClient.callApi("/api/v2/intents/customerintents/{customerIntentId}/sourceintents/bulk/add","POST",{customerIntentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntentsCustomerintentSourceintentsBulkRemove(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "customerIntentId" when calling postIntentsCustomerintentSourceintentsBulkRemove';if(i==null)throw'Missing the required parameter "body" when calling postIntentsCustomerintentSourceintentsBulkRemove';return this.apiClient.callApi("/api/v2/intents/customerintents/{customerIntentId}/sourceintents/bulk/remove","POST",{customerIntentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postIntentsCustomerintents(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postIntentsCustomerintents';return this.apiClient.callApi("/api/v2/intents/customerintents","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},kA=class{constructor(e){this.apiClient=e||k.instance}deleteAnalyticsJourneysAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsJourneysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteJourneyActionmap(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionMapId" when calling deleteJourneyActionmap';return this.apiClient.callApi("/api/v2/journey/actionmaps/{actionMapId}","DELETE",{actionMapId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteJourneyActiontemplate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionTemplateId" when calling deleteJourneyActiontemplate';return this.apiClient.callApi("/api/v2/journey/actiontemplates/{actionTemplateId}","DELETE",{actionTemplateId:e},{hardDelete:i.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteJourneyExternaleventsConfiguration(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "configId" when calling deleteJourneyExternaleventsConfiguration';return this.apiClient.callApi("/api/v2/journey/externalevents/configurations/{configId}","DELETE",{configId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteJourneyExternaleventsSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling deleteJourneyExternaleventsSchema';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas/{schemaId}","DELETE",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteJourneyOutcome(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "outcomeId" when calling deleteJourneyOutcome';return this.apiClient.callApi("/api/v2/journey/outcomes/{outcomeId}","DELETE",{outcomeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteJourneyOutcomesPredictor(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling deleteJourneyOutcomesPredictor';return this.apiClient.callApi("/api/v2/journey/outcomes/predictors/{predictorId}","DELETE",{predictorId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteJourneySegment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "segmentId" when calling deleteJourneySegment';return this.apiClient.callApi("/api/v2/journey/segments/{segmentId}","DELETE",{segmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteJourneyView(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling deleteJourneyView';return this.apiClient.callApi("/api/v2/journey/views/{viewId}","DELETE",{viewId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteJourneyViewSchedules(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling deleteJourneyViewSchedules';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/schedules","DELETE",{viewId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsJourneysAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsJourneysAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactJourneySegments(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySegments';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/journey/segments","GET",{contactId:e},{includeMerged:i.includeMerged,limit:i.limit},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsContactJourneySessions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySessions';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/journey/sessions","GET",{contactId:e},{pageSize:i.pageSize,after:i.after,includeMerged:i.includeMerged},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyActionmap(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionMapId" when calling getJourneyActionmap';return this.apiClient.callApi("/api/v2/journey/actionmaps/{actionMapId}","GET",{actionMapId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyActionmaps(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/actionmaps","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,filterField:e.filterField,filterValue:e.filterValue,actionMapIds:this.apiClient.buildCollectionParam(e.actionMapIds,"multi"),queryFields:this.apiClient.buildCollectionParam(e.queryFields,"multi"),queryValue:e.queryValue},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyActionmapsEstimatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJob';return this.apiClient.callApi("/api/v2/journey/actionmaps/estimates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyActionmapsEstimatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJobResults';return this.apiClient.callApi("/api/v2/journey/actionmaps/estimates/jobs/{jobId}/results","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyActiontarget(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionTargetId" when calling getJourneyActiontarget';return this.apiClient.callApi("/api/v2/journey/actiontargets/{actionTargetId}","GET",{actionTargetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyActiontargets(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/actiontargets","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyActiontemplate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionTemplateId" when calling getJourneyActiontemplate';return this.apiClient.callApi("/api/v2/journey/actiontemplates/{actionTemplateId}","GET",{actionTemplateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyActiontemplates(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/actiontemplates","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,mediaType:e.mediaType,state:e.state,queryFields:this.apiClient.buildCollectionParam(e.queryFields,"multi"),queryValue:e.queryValue},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyDeploymentCustomerPing(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getJourneyDeploymentCustomerPing';if(i==null||i==="")throw'Missing the required parameter "customerCookieId" when calling getJourneyDeploymentCustomerPing';return this.apiClient.callApi("/api/v2/journey/deployments/{deploymentId}/customers/{customerCookieId}/ping","GET",{deploymentId:e,customerCookieId:i},{dl:n.dl,dt:n.dt,appNamespace:n.appNamespace,sessionId:n.sessionId,sinceLastBeaconMilliseconds:n.sinceLastBeaconMilliseconds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyExternaleventsConfiguration(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "configId" when calling getJourneyExternaleventsConfiguration';return this.apiClient.callApi("/api/v2/journey/externalevents/configurations/{configId}","GET",{configId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyExternaleventsConfigurations(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/externalevents/configurations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyExternaleventsSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getJourneyExternaleventsSchema';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyExternaleventsSchemaVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getJourneyExternaleventsSchemaVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getJourneyExternaleventsSchemaVersion';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas/{schemaId}/versions/{versionId}","GET",{schemaId:e,versionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyExternaleventsSchemaVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getJourneyExternaleventsSchemaVersions';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas/{schemaId}/versions","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyExternaleventsSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/externalevents/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyExternaleventsSchemasCoretype(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getJourneyExternaleventsSchemasCoretype';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyExternaleventsSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/externalevents/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyExternaleventsSchemasLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/externalevents/schemas/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyOutcome(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "outcomeId" when calling getJourneyOutcome';return this.apiClient.callApi("/api/v2/journey/outcomes/{outcomeId}","GET",{outcomeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyOutcomes(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/outcomes","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,outcomeIds:this.apiClient.buildCollectionParam(e.outcomeIds,"multi"),queryFields:this.apiClient.buildCollectionParam(e.queryFields,"multi"),queryValue:e.queryValue},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyOutcomesAttributionsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getJourneyOutcomesAttributionsJob';return this.apiClient.callApi("/api/v2/journey/outcomes/attributions/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyOutcomesAttributionsJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getJourneyOutcomesAttributionsJobResults';return this.apiClient.callApi("/api/v2/journey/outcomes/attributions/jobs/{jobId}/results","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyOutcomesPredictor(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling getJourneyOutcomesPredictor';return this.apiClient.callApi("/api/v2/journey/outcomes/predictors/{predictorId}","GET",{predictorId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyOutcomesPredictors(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/outcomes/predictors","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneySegment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "segmentId" when calling getJourneySegment';return this.apiClient.callApi("/api/v2/journey/segments/{segmentId}","GET",{segmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneySegments(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/segments","GET",{},{sortBy:e.sortBy,pageSize:e.pageSize,pageNumber:e.pageNumber,isActive:e.isActive,segmentIds:this.apiClient.buildCollectionParam(e.segmentIds,"multi"),queryFields:this.apiClient.buildCollectionParam(e.queryFields,"multi"),queryValue:e.queryValue},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneySession(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling getJourneySession';return this.apiClient.callApi("/api/v2/journey/sessions/{sessionId}","GET",{sessionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneySessionEvents(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling getJourneySessionEvents';return this.apiClient.callApi("/api/v2/journey/sessions/{sessionId}/events","GET",{sessionId:e},{pageSize:i.pageSize,after:i.after,eventType:i.eventType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneySessionOutcomescores(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling getJourneySessionOutcomescores';return this.apiClient.callApi("/api/v2/journey/sessions/{sessionId}/outcomescores","GET",{sessionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyView(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyView';return this.apiClient.callApi("/api/v2/journey/views/{viewId}","GET",{viewId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyViewSchedules(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewSchedules';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/schedules","GET",{viewId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyViewVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getJourneyViewVersion';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{versionId}","GET",{viewId:e,versionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyViewVersionChart(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersionChart';if(i==null||i==="")throw'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChart';if(n==null||n==="")throw'Missing the required parameter "chartId" when calling getJourneyViewVersionChart';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}","GET",{viewId:e,journeyViewVersion:i,chartId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getJourneyViewVersionChartVersion(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersionChartVersion';if(i==null||i==="")throw'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChartVersion';if(n==null||n==="")throw'Missing the required parameter "chartId" when calling getJourneyViewVersionChartVersion';if(a==null||a==="")throw'Missing the required parameter "chartVersion" when calling getJourneyViewVersionChartVersion';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}/versions/{chartVersion}","GET",{viewId:e,journeyViewVersion:i,chartId:n,chartVersion:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getJourneyViewVersionJob(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJob';if(i==null||i==="")throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJob';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}","GET",{viewId:e,journeyVersionId:i,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getJourneyViewVersionJobResults(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResults';if(i==null||i==="")throw'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionJobResults';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResults';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/jobs/{jobId}/results","GET",{viewId:e,journeyViewVersion:i,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getJourneyViewVersionJobResultsChart(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResultsChart';if(i==null||i==="")throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobResultsChart';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResultsChart';if(a==null||a==="")throw'Missing the required parameter "chartId" when calling getJourneyViewVersionJobResultsChart';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}/results/charts/{chartId}","GET",{viewId:e,journeyVersionId:i,jobId:n,chartId:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getJourneyViewVersionJobsLatest(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJobsLatest';if(i==null||i==="")throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobsLatest';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/latest","GET",{viewId:e,journeyVersionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getJourneyViews(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,nameOrCreatedBy:e.nameOrCreatedBy,expand:e.expand,id:e.id},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyViewsDataDetails(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/data/details","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyViewsEventdefinition(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "eventDefinitionId" when calling getJourneyViewsEventdefinition';return this.apiClient.callApi("/api/v2/journey/views/eventdefinitions/{eventDefinitionId}","GET",{eventDefinitionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getJourneyViewsEventdefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/eventdefinitions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyViewsEventdefinitionsExternal(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/eventdefinitions/external","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyViewsEventdefinitionsExternalChanges(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/eventdefinitions/external/changes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyViewsJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/jobs","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,interval:e.interval,statuses:e.statuses},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyViewsJobsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/jobs/me","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,interval:e.interval,statuses:e.statuses},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getJourneyViewsSchedules(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/schedules","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchJourneyActionmap(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionMapId" when calling patchJourneyActionmap';return this.apiClient.callApi("/api/v2/journey/actionmaps/{actionMapId}","PATCH",{actionMapId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchJourneyActiontarget(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionTargetId" when calling patchJourneyActiontarget';return this.apiClient.callApi("/api/v2/journey/actiontargets/{actionTargetId}","PATCH",{actionTargetId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchJourneyActiontemplate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "actionTemplateId" when calling patchJourneyActiontemplate';return this.apiClient.callApi("/api/v2/journey/actiontemplates/{actionTemplateId}","PATCH",{actionTemplateId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchJourneyExternaleventsConfiguration(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "configId" when calling patchJourneyExternaleventsConfiguration';return this.apiClient.callApi("/api/v2/journey/externalevents/configurations/{configId}","PATCH",{configId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchJourneyOutcome(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "outcomeId" when calling patchJourneyOutcome';return this.apiClient.callApi("/api/v2/journey/outcomes/{outcomeId}","PATCH",{outcomeId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchJourneySegment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "segmentId" when calling patchJourneySegment';return this.apiClient.callApi("/api/v2/journey/segments/{segmentId}","PATCH",{segmentId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchJourneyViewVersionJob(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling patchJourneyViewVersionJob';if(i==null||i==="")throw'Missing the required parameter "journeyVersionId" when calling patchJourneyViewVersionJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling patchJourneyViewVersionJob';if(a==null)throw'Missing the required parameter "body" when calling patchJourneyViewVersionJob';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}","PATCH",{viewId:e,journeyVersionId:i,jobId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postAnalyticsJourneysAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsJourneysAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsJourneysAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsJourneysAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/journeys/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postExternalcontactsContactJourneySegments(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling postExternalcontactsContactJourneySegments';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/{contactId}/journey/segments","POST",{contactId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postJourneyActionmaps(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/actionmaps","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyActionmapsEstimatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postJourneyActionmapsEstimatesJobs';return this.apiClient.callApi("/api/v2/journey/actionmaps/estimates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postJourneyActiontemplates(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/actiontemplates","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyDeploymentActionevent(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling postJourneyDeploymentActionevent';if(i==null)throw'Missing the required parameter "body" when calling postJourneyDeploymentActionevent';return this.apiClient.callApi("/api/v2/journey/deployments/{deploymentId}/actionevent","POST",{deploymentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postJourneyDeploymentAppevents(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling postJourneyDeploymentAppevents';return this.apiClient.callApi("/api/v2/journey/deployments/{deploymentId}/appevents","POST",{deploymentId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postJourneyDeploymentWebevents(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling postJourneyDeploymentWebevents';return this.apiClient.callApi("/api/v2/journey/deployments/{deploymentId}/webevents","POST",{deploymentId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postJourneyExternaleventsConfigurationEvents(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling postJourneyExternaleventsConfigurationEvents';return this.apiClient.callApi("/api/v2/journey/externalevents/configurations/{configurationId}/events","POST",{configurationId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postJourneyExternaleventsConfigurations(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/externalevents/configurations","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyExternaleventsSchemas(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postJourneyExternaleventsSchemas';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postJourneyFlowsPathsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/flows/paths/query","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyOutcomes(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/outcomes","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyOutcomesAttributionsJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/outcomes/attributions/jobs","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyOutcomesPredictors(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/outcomes/predictors","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneySegments(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/segments","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postJourneyViewSchedules(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling postJourneyViewSchedules';if(i==null)throw'Missing the required parameter "body" when calling postJourneyViewSchedules';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/schedules","POST",{viewId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postJourneyViewVersionJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling postJourneyViewVersionJobs';if(i==null||i==="")throw'Missing the required parameter "journeyVersionId" when calling postJourneyViewVersionJobs';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs","POST",{viewId:e,journeyVersionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postJourneyViewVersions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling postJourneyViewVersions';if(i==null)throw'Missing the required parameter "body" when calling postJourneyViewVersions';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions","POST",{viewId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postJourneyViews(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postJourneyViews';return this.apiClient.callApi("/api/v2/journey/views","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postJourneyViewsEncodingsValidate(e){return e=e||{},this.apiClient.callApi("/api/v2/journey/views/encodings/validate","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putJourneyExternaleventsSchema(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putJourneyExternaleventsSchema';if(i==null)throw'Missing the required parameter "body" when calling putJourneyExternaleventsSchema';return this.apiClient.callApi("/api/v2/journey/externalevents/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putJourneyViewSchedules(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling putJourneyViewSchedules';if(i==null)throw'Missing the required parameter "body" when calling putJourneyViewSchedules';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/schedules","PUT",{viewId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putJourneyViewVersion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "viewId" when calling putJourneyViewVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling putJourneyViewVersion';if(n==null)throw'Missing the required parameter "body" when calling putJourneyViewVersion';return this.apiClient.callApi("/api/v2/journey/views/{viewId}/versions/{versionId}","PUT",{viewId:e,versionId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putJourneyViewsEventdefinition(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "eventDefinitionId" when calling putJourneyViewsEventdefinition';return this.apiClient.callApi("/api/v2/journey/views/eventdefinitions/{eventDefinitionId}","PUT",{eventDefinitionId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putJourneyViewsEventdefinitionActivate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "eventDefinitionId" when calling putJourneyViewsEventdefinitionActivate';return this.apiClient.callApi("/api/v2/journey/views/eventdefinitions/{eventDefinitionId}/activate","PUT",{eventDefinitionId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},qA=class{constructor(e){this.apiClient=e||k.instance}deleteKnowledgeConnection(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "connectionId" when calling deleteKnowledgeConnection';return this.apiClient.callApi("/api/v2/knowledge/connections/{connectionId}","DELETE",{connectionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteKnowledgeKnowledgebase(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebase';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}","DELETE",{knowledgeBaseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteKnowledgeKnowledgebaseCategory(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseCategory';if(i==null||i==="")throw'Missing the required parameter "categoryId" when calling deleteKnowledgeKnowledgebaseCategory';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories/{categoryId}","DELETE",{knowledgeBaseId:e,categoryId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteKnowledgeKnowledgebaseDocument(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseDocument';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling deleteKnowledgeKnowledgebaseDocument';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}","DELETE",{knowledgeBaseId:e,documentId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteKnowledgeKnowledgebaseDocumentVariation(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "documentVariationId" when calling deleteKnowledgeKnowledgebaseDocumentVariation';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling deleteKnowledgeKnowledgebaseDocumentVariation';if(n==null||n==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseDocumentVariation';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}","DELETE",{documentVariationId:e,documentId:i,knowledgeBaseId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteKnowledgeKnowledgebaseExportJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseExportJob';if(i==null||i==="")throw'Missing the required parameter "exportJobId" when calling deleteKnowledgeKnowledgebaseExportJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/export/jobs/{exportJobId}","DELETE",{knowledgeBaseId:e,exportJobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteKnowledgeKnowledgebaseImportJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseImportJob';if(i==null||i==="")throw'Missing the required parameter "importJobId" when calling deleteKnowledgeKnowledgebaseImportJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs/{importJobId}","DELETE",{knowledgeBaseId:e,importJobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteKnowledgeKnowledgebaseLabel(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLabel';if(i==null||i==="")throw'Missing the required parameter "labelId" when calling deleteKnowledgeKnowledgebaseLabel';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId}","DELETE",{knowledgeBaseId:e,labelId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';if(i==null||i==="")throw'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}","DELETE",{knowledgeBaseId:e,sourceId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteKnowledgeKnowledgebaseSourcesServicenowSourceId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';if(i==null||i==="")throw'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}","DELETE",{knowledgeBaseId:e,sourceId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteKnowledgeKnowledgebaseSynchronizeJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';if(i==null||i==="")throw'Missing the required parameter "syncJobId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}","DELETE",{knowledgeBaseId:e,syncJobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteKnowledgeSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeSettingId" when calling deleteKnowledgeSetting';return this.apiClient.callApi("/api/v2/knowledge/settings/{knowledgeSettingId}","DELETE",{knowledgeSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteKnowledgeSource(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling deleteKnowledgeSource';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}","DELETE",{sourceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteKnowledgeSourceSynchronizationDeletion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling deleteKnowledgeSourceSynchronizationDeletion';if(i==null||i==="")throw'Missing the required parameter "synchronizationId" when calling deleteKnowledgeSourceSynchronizationDeletion';if(n==null||n==="")throw'Missing the required parameter "fileId" when calling deleteKnowledgeSourceSynchronizationDeletion';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/deletions/{fileId}","DELETE",{sourceId:e,synchronizationId:i,fileId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteKnowledgeSourceSynchronizationUpload(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling deleteKnowledgeSourceSynchronizationUpload';if(i==null||i==="")throw'Missing the required parameter "synchronizationId" when calling deleteKnowledgeSourceSynchronizationUpload';if(n==null||n==="")throw'Missing the required parameter "fileId" when calling deleteKnowledgeSourceSynchronizationUpload';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/uploads/{fileId}","DELETE",{sourceId:e,synchronizationId:i,fileId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeConnection(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "connectionId" when calling getKnowledgeConnection';return this.apiClient.callApi("/api/v2/knowledge/connections/{connectionId}","GET",{connectionId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeConnectionOptions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "connectionId" when calling getKnowledgeConnectionOptions';return this.apiClient.callApi("/api/v2/knowledge/connections/{connectionId}/options","GET",{connectionId:e},{after:i.after,pageSize:i.pageSize,parentId:i.parentId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeConnections(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/connections","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getKnowledgeGuestSessionCategories(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling getKnowledgeGuestSessionCategories';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/categories","GET",{sessionId:e},{before:i.before,after:i.after,pageSize:i.pageSize,parentId:i.parentId,isRoot:i.isRoot,name:i.name,sortBy:i.sortBy,expand:i.expand,includeDocumentCount:i.includeDocumentCount},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeGuestSessionDocument(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling getKnowledgeGuestSessionDocument';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling getKnowledgeGuestSessionDocument';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}","GET",{sessionId:e,documentId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeGuestSessionDocuments(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling getKnowledgeGuestSessionDocuments';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents","GET",{sessionId:e},{categoryId:this.apiClient.buildCollectionParam(i.categoryId,"multi"),pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeIntegrationOptions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "integrationId" when calling getKnowledgeIntegrationOptions';return this.apiClient.callApi("/api/v2/knowledge/integrations/{integrationId}/options","GET",{integrationId:e},{knowledgeBaseIds:this.apiClient.buildCollectionParam(i.knowledgeBaseIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebase(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebase';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}","GET",{knowledgeBaseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseCategories(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseCategories';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories","GET",{knowledgeBaseId:e},{before:i.before,after:i.after,pageSize:i.pageSize,parentId:i.parentId,isRoot:i.isRoot,name:i.name,sortBy:i.sortBy,expand:i.expand,includeDocumentCount:i.includeDocumentCount},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseCategory(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseCategory';if(i==null||i==="")throw'Missing the required parameter "categoryId" when calling getKnowledgeKnowledgebaseCategory';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories/{categoryId}","GET",{knowledgeBaseId:e,categoryId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseDocument(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocument';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocument';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}","GET",{knowledgeBaseId:e,documentId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi"),state:n.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseDocumentFeedback(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentFeedback';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentFeedback';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback","GET",{knowledgeBaseId:e,documentId:i},{before:n.before,after:n.after,pageSize:n.pageSize,onlyCommented:n.onlyCommented,documentVersionId:n.documentVersionId,documentVariationId:n.documentVariationId,appType:n.appType,queryType:n.queryType,userId:n.userId,queueId:n.queueId,state:n.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';if(n==null||n==="")throw'Missing the required parameter "feedbackId" when calling getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback/{feedbackId}","GET",{knowledgeBaseId:e,documentId:i,feedbackId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeKnowledgebaseDocumentVariation(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "documentVariationId" when calling getKnowledgeKnowledgebaseDocumentVariation';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariation';if(n==null||n==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariation';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}","GET",{documentVariationId:e,documentId:i,knowledgeBaseId:n},{documentState:a.documentState,expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeKnowledgebaseDocumentVariations(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVariations';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVariations';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations","GET",{knowledgeBaseId:e,documentId:i},{before:n.before,after:n.after,pageSize:n.pageSize,documentState:n.documentState,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseDocumentVersion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVersion';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVersion';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getKnowledgeKnowledgebaseDocumentVersion';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions/{versionId}","GET",{knowledgeBaseId:e,documentId:i,versionId:n},{expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeKnowledgebaseDocumentVersionVariation(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVersionVariation';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVersionVariation';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getKnowledgeKnowledgebaseDocumentVersionVariation';if(a==null||a==="")throw'Missing the required parameter "variationId" when calling getKnowledgeKnowledgebaseDocumentVersionVariation';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions/{versionId}/variations/{variationId}","GET",{knowledgeBaseId:e,documentId:i,versionId:n,variationId:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getKnowledgeKnowledgebaseDocumentVersionVariations(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVersionVariations';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVersionVariations';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling getKnowledgeKnowledgebaseDocumentVersionVariations';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions/{versionId}/variations","GET",{knowledgeBaseId:e,documentId:i,versionId:n},{before:a.before,after:a.after,pageSize:a.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeKnowledgebaseDocumentVersions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentVersions';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseDocumentVersions';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions","GET",{knowledgeBaseId:e,documentId:i},{before:n.before,after:n.after,pageSize:n.pageSize,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseDocuments(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocuments';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents","GET",{knowledgeBaseId:e},{before:i.before,after:i.after,pageSize:i.pageSize,interval:i.interval,documentId:this.apiClient.buildCollectionParam(i.documentId,"multi"),categoryId:this.apiClient.buildCollectionParam(i.categoryId,"multi"),includeSubcategories:i.includeSubcategories,includeDrafts:i.includeDrafts,labelIds:this.apiClient.buildCollectionParam(i.labelIds,"multi"),expand:this.apiClient.buildCollectionParam(i.expand,"multi"),externalIds:this.apiClient.buildCollectionParam(i.externalIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseDocumentsFeedback(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentsFeedback';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/feedback","GET",{knowledgeBaseId:e},{before:i.before,after:i.after,pageSize:i.pageSize,onlyCommented:i.onlyCommented,documentVersionId:i.documentVersionId,documentVariationId:i.documentVariationId,appType:i.appType,queryType:i.queryType,userId:i.userId,queueId:i.queueId,state:i.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseExportJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseExportJob';if(i==null||i==="")throw'Missing the required parameter "exportJobId" when calling getKnowledgeKnowledgebaseExportJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/export/jobs/{exportJobId}","GET",{knowledgeBaseId:e,exportJobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseImportJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseImportJob';if(i==null||i==="")throw'Missing the required parameter "importJobId" when calling getKnowledgeKnowledgebaseImportJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs/{importJobId}","GET",{knowledgeBaseId:e,importJobId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseLabel(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLabel';if(i==null||i==="")throw'Missing the required parameter "labelId" when calling getKnowledgeKnowledgebaseLabel';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId}","GET",{knowledgeBaseId:e,labelId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseLabels(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLabels';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels","GET",{knowledgeBaseId:e},{before:i.before,after:i.after,pageSize:i.pageSize,name:i.name,includeDocumentCount:i.includeDocumentCount},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseOperations(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations","GET",{knowledgeBaseId:e},{before:i.before,after:i.after,pageSize:i.pageSize,userId:this.apiClient.buildCollectionParam(i.userId,"multi"),type:this.apiClient.buildCollectionParam(i.type,"multi"),status:this.apiClient.buildCollectionParam(i.status,"multi"),interval:i.interval,sourceId:this.apiClient.buildCollectionParam(i.sourceId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseOperationsUsersQuery(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperationsUsersQuery';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations/users/query","GET",{knowledgeBaseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseParseJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseParseJob';if(i==null||i==="")throw'Missing the required parameter "parseJobId" when calling getKnowledgeKnowledgebaseParseJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}","GET",{knowledgeBaseId:e,parseJobId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseSources(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSources';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources","GET",{knowledgeBaseId:e},{type:i.type,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),ids:this.apiClient.buildCollectionParam(i.ids,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseSourcesSalesforceSourceId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';if(i==null||i==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}","GET",{knowledgeBaseId:e,sourceId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseSourcesServicenowSourceId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';if(i==null||i==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}","GET",{knowledgeBaseId:e,sourceId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseSynchronizeJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSynchronizeJob';if(i==null||i==="")throw'Missing the required parameter "syncJobId" when calling getKnowledgeKnowledgebaseSynchronizeJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}","GET",{knowledgeBaseId:e,syncJobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseUnansweredGroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUnansweredGroup';if(i==null||i==="")throw'Missing the required parameter "groupId" when calling getKnowledgeKnowledgebaseUnansweredGroup';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups/{groupId}","GET",{knowledgeBaseId:e,groupId:i},{app:n.app,dateStart:n.dateStart,dateEnd:n.dateEnd},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';if(i==null||i==="")throw'Missing the required parameter "groupId" when calling getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';if(n==null||n==="")throw'Missing the required parameter "phraseGroupId" when calling getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups/{groupId}/phrasegroups/{phraseGroupId}","GET",{knowledgeBaseId:e,groupId:i,phraseGroupId:n},{app:a.app,dateStart:a.dateStart,dateEnd:a.dateEnd},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeKnowledgebaseUnansweredGroups(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUnansweredGroups';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups","GET",{knowledgeBaseId:e},{app:i.app,dateStart:i.dateStart,dateEnd:i.dateEnd},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeKnowledgebaseUploadsUrlsJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}","GET",{knowledgeBaseId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeKnowledgebases(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/knowledgebases","GET",{},{before:e.before,after:e.after,limit:e.limit,pageSize:e.pageSize,name:e.name,coreLanguage:e.coreLanguage,published:e.published,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getKnowledgeSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeSettingId" when calling getKnowledgeSetting';return this.apiClient.callApi("/api/v2/knowledge/settings/{knowledgeSettingId}","GET",{knowledgeSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/settings","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,name:e.name,sourceId:e.sourceId,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getKnowledgeSource(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSource';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}","GET",{sourceId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeSourceSynchronization(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronization';if(i==null||i==="")throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronization';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}","GET",{sourceId:e,synchronizationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeSourceSynchronizationDeletion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizationDeletion';if(i==null||i==="")throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronizationDeletion';if(n==null||n==="")throw'Missing the required parameter "fileId" when calling getKnowledgeSourceSynchronizationDeletion';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/deletions/{fileId}","GET",{sourceId:e,synchronizationId:i,fileId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeSourceSynchronizationDeletions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizationDeletions';if(i==null||i==="")throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronizationDeletions';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/deletions","GET",{sourceId:e,synchronizationId:i},{before:n.before,after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeSourceSynchronizationUpload(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizationUpload';if(i==null||i==="")throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronizationUpload';if(n==null||n==="")throw'Missing the required parameter "fileId" when calling getKnowledgeSourceSynchronizationUpload';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/uploads/{fileId}","GET",{sourceId:e,synchronizationId:i,fileId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeSourceSynchronizationUploads(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizationUploads';if(i==null||i==="")throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronizationUploads';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/uploads","GET",{sourceId:e,synchronizationId:i},{before:n.before,after:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getKnowledgeSourceSynchronizations(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizations';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations","GET",{sourceId:e},{before:i.before,after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeSources(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/sources","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getKnowledgeSourcesSynchronizations(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/sources/synchronizations","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchKnowledgeConnection(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "connectionId" when calling patchKnowledgeConnection';return this.apiClient.callApi("/api/v2/knowledge/connections/{connectionId}","PATCH",{connectionId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchKnowledgeGuestSessionDocumentsSearchSearchId(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling patchKnowledgeGuestSessionDocumentsSearchSearchId';if(i==null||i==="")throw'Missing the required parameter "searchId" when calling patchKnowledgeGuestSessionDocumentsSearchSearchId';if(n==null)throw'Missing the required parameter "body" when calling patchKnowledgeGuestSessionDocumentsSearchSearchId';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/search/{searchId}","PATCH",{sessionId:e,searchId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebase(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebase';if(i==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebase';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}","PATCH",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchKnowledgeKnowledgebaseCategory(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseCategory';if(i==null||i==="")throw'Missing the required parameter "categoryId" when calling patchKnowledgeKnowledgebaseCategory';if(n==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseCategory';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories/{categoryId}","PATCH",{knowledgeBaseId:e,categoryId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseChunksSearchSearchId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseChunksSearchSearchId';if(i==null||i==="")throw'Missing the required parameter "searchId" when calling patchKnowledgeKnowledgebaseChunksSearchSearchId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/chunks/search/{searchId}","PATCH",{knowledgeBaseId:e,searchId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchKnowledgeKnowledgebaseDocument(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseDocument';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseDocument';if(n==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseDocument';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}","PATCH",{knowledgeBaseId:e,documentId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';if(n==null||n==="")throw'Missing the required parameter "feedbackId" when calling patchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback/{feedbackId}","PATCH",{knowledgeBaseId:e,documentId:i,feedbackId:n},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseDocumentVariation(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "documentVariationId" when calling patchKnowledgeKnowledgebaseDocumentVariation';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseDocumentVariation';if(n==null||n==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseDocumentVariation';if(a==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseDocumentVariation';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}","PATCH",{documentVariationId:e,documentId:i,knowledgeBaseId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchKnowledgeKnowledgebaseDocumentsSearchSearchId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseDocumentsSearchSearchId';if(i==null||i==="")throw'Missing the required parameter "searchId" when calling patchKnowledgeKnowledgebaseDocumentsSearchSearchId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/search/{searchId}","PATCH",{knowledgeBaseId:e,searchId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchKnowledgeKnowledgebaseImportJob(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseImportJob';if(i==null||i==="")throw'Missing the required parameter "importJobId" when calling patchKnowledgeKnowledgebaseImportJob';if(n==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseImportJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs/{importJobId}","PATCH",{knowledgeBaseId:e,importJobId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseLabel(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLabel';if(i==null||i==="")throw'Missing the required parameter "labelId" when calling patchKnowledgeKnowledgebaseLabel';if(n==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLabel';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId}","PATCH",{knowledgeBaseId:e,labelId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseParseJob(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseParseJob';if(i==null||i==="")throw'Missing the required parameter "parseJobId" when calling patchKnowledgeKnowledgebaseParseJob';if(n==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseParseJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}","PATCH",{knowledgeBaseId:e,parseJobId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseSynchronizeJob(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';if(i==null||i==="")throw'Missing the required parameter "syncJobId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';if(n==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseSynchronizeJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}","PATCH",{knowledgeBaseId:e,syncJobId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';if(i==null||i==="")throw'Missing the required parameter "groupId" when calling patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';if(n==null||n==="")throw'Missing the required parameter "phraseGroupId" when calling patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';if(a==null)throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups/{groupId}/phrasegroups/{phraseGroupId}","PATCH",{knowledgeBaseId:e,groupId:i,phraseGroupId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchKnowledgeSetting(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeSettingId" when calling patchKnowledgeSetting';if(i==null)throw'Missing the required parameter "body" when calling patchKnowledgeSetting';return this.apiClient.callApi("/api/v2/knowledge/settings/{knowledgeSettingId}","PATCH",{knowledgeSettingId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchKnowledgeSourceSynchronization(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling patchKnowledgeSourceSynchronization';if(i==null||i==="")throw'Missing the required parameter "synchronizationId" when calling patchKnowledgeSourceSynchronization';if(n==null)throw'Missing the required parameter "body" when calling patchKnowledgeSourceSynchronization';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}","PATCH",{sourceId:e,synchronizationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postKnowledgeConnections(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postKnowledgeConnections';return this.apiClient.callApi("/api/v2/knowledge/connections","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeDocumentuploads(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';return this.apiClient.callApi("/api/v2/knowledge/documentuploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeGuestSessionDocumentCopies(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentCopies';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentCopies';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/copies","POST",{sessionId:e,documentId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeGuestSessionDocumentFeedback(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentFeedback';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentFeedback';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/feedback","POST",{sessionId:e,documentId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeGuestSessionDocumentViews(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentViews';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentViews';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views","POST",{sessionId:e,documentId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeGuestSessionDocumentsAnswers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsAnswers';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeGuestSessionDocumentsAnswers';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/answers","POST",{sessionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeGuestSessionDocumentsPresentations(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsPresentations';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/presentations","POST",{sessionId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeGuestSessionDocumentsSearch(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsSearch';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/search","POST",{sessionId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeGuestSessionDocumentsSearchSuggestions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsSearchSuggestions';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions/{sessionId}/documents/search/suggestions","POST",{sessionId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeGuestSessions(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postKnowledgeGuestSessions';return this.apiClient.callApi("/api/v2/knowledge/guest/sessions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseCategories(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseCategories';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseCategories';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseChunksSearch(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseChunksSearch';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/chunks/search","POST",{knowledgeBaseId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseDocumentCopies(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentCopies';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentCopies';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/copies","POST",{knowledgeBaseId:e,documentId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseDocumentFeedback(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentFeedback';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentFeedback';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback","POST",{knowledgeBaseId:e,documentId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseDocumentVariations(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentVariations';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentVariations';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentVariations';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations","POST",{knowledgeBaseId:e,documentId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postKnowledgeKnowledgebaseDocumentVersions(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentVersions';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentVersions';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentVersions';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions","POST",{knowledgeBaseId:e,documentId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postKnowledgeKnowledgebaseDocumentViews(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentViews';if(i==null||i==="")throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentViews';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/views","POST",{knowledgeBaseId:e,documentId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseDocuments(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocuments';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocuments';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseDocumentsAnswers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsAnswers';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsAnswers';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/answers","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseDocumentsBulkRemove(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkRemove';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsBulkRemove';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/remove","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseDocumentsBulkUpdate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/update","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseDocumentsPresentations(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsPresentations';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/presentations","POST",{knowledgeBaseId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseDocumentsQuery(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsQuery';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/query","POST",{knowledgeBaseId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseDocumentsSearch(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsSearch';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/search","POST",{knowledgeBaseId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseDocumentsSearchSuggestions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsSearchSuggestions';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/search/suggestions","POST",{knowledgeBaseId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/versions/bulk/add","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseExportJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseExportJobs';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseExportJobs';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/export/jobs","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseImportJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseImportJobs';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseImportJobs';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseLabels(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLabels';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLabels';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseParseJobImport(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobImport';if(i==null||i==="")throw'Missing the required parameter "parseJobId" when calling postKnowledgeKnowledgebaseParseJobImport';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobImport';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}/import","POST",{knowledgeBaseId:e,parseJobId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postKnowledgeKnowledgebaseParseJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobs';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobs';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseSourcesSalesforce(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforce';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesSalesforce';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';if(i==null||i==="")throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}/sync","POST",{knowledgeBaseId:e,sourceId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseSourcesServicenow(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenow';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesServicenow';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';if(i==null||i==="")throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}/sync","POST",{knowledgeBaseId:e,sourceId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseSynchronizeJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSynchronizeJobs';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSynchronizeJobs';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebaseUploadsUrlsJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeKnowledgebases(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeSearch(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/search","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postKnowledgeSearchPreview(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/search/preview","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postKnowledgeSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/knowledge/settings","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postKnowledgeSourceSynchronizationDeletions(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizationDeletions';if(i==null||i==="")throw'Missing the required parameter "synchronizationId" when calling postKnowledgeSourceSynchronizationDeletions';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeSourceSynchronizationDeletions';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/deletions","POST",{sourceId:e,synchronizationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postKnowledgeSourceSynchronizationUploads(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizationUploads';if(i==null||i==="")throw'Missing the required parameter "synchronizationId" when calling postKnowledgeSourceSynchronizationUploads';if(n==null)throw'Missing the required parameter "body" when calling postKnowledgeSourceSynchronizationUploads';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/uploads","POST",{sourceId:e,synchronizationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postKnowledgeSourceSynchronizations(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizations';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}/synchronizations","POST",{sourceId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeSources(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postKnowledgeSources';return this.apiClient.callApi("/api/v2/knowledge/sources","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putKnowledgeKnowledgebaseSourcesSalesforceSourceId(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';if(i==null||i==="")throw'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';if(n==null)throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}","PUT",{knowledgeBaseId:e,sourceId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putKnowledgeKnowledgebaseSourcesServicenowSourceId(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';if(i==null||i==="")throw'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';if(n==null)throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}","PUT",{knowledgeBaseId:e,sourceId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putKnowledgeSource(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling putKnowledgeSource';if(i==null)throw'Missing the required parameter "body" when calling putKnowledgeSource';return this.apiClient.callApi("/api/v2/knowledge/sources/{sourceId}","PUT",{sourceId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},_A=class{constructor(e){this.apiClient=e||k.instance}deleteLanguageunderstandingDomain(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomain';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}","DELETE",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteLanguageunderstandingDomainFeedbackFeedbackId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomainFeedbackFeedbackId';if(i==null||i==="")throw'Missing the required parameter "feedbackId" when calling deleteLanguageunderstandingDomainFeedbackFeedbackId';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/feedback/{feedbackId}","DELETE",{domainId:e,feedbackId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteLanguageunderstandingDomainVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomainVersion';if(i==null||i==="")throw'Missing the required parameter "domainVersionId" when calling deleteLanguageunderstandingDomainVersion';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}","DELETE",{domainId:e,domainVersionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteLanguageunderstandingMiner(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling deleteLanguageunderstandingMiner';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}","DELETE",{minerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteLanguageunderstandingMinerDraft(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling deleteLanguageunderstandingMinerDraft';if(i==null||i==="")throw'Missing the required parameter "draftId" when calling deleteLanguageunderstandingMinerDraft';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/drafts/{draftId}","DELETE",{minerId:e,draftId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingDomain(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getLanguageunderstandingDomain';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}","GET",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingDomainFeedback(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainFeedback';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/feedback","GET",{domainId:e},{intentName:i.intentName,assessment:i.assessment,dateStart:i.dateStart,dateEnd:i.dateEnd,includeDeleted:i.includeDeleted,language:i.language,pageNumber:i.pageNumber,pageSize:i.pageSize,enableCursorPagination:i.enableCursorPagination,includeTrainingUtterances:i.includeTrainingUtterances,after:i.after,fields:this.apiClient.buildCollectionParam(i.fields,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingDomainFeedbackFeedbackId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainFeedbackFeedbackId';if(i==null||i==="")throw'Missing the required parameter "feedbackId" when calling getLanguageunderstandingDomainFeedbackFeedbackId';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/feedback/{feedbackId}","GET",{domainId:e,feedbackId:i},{fields:this.apiClient.buildCollectionParam(n.fields,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingDomainVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainVersion';if(i==null||i==="")throw'Missing the required parameter "domainVersionId" when calling getLanguageunderstandingDomainVersion';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}","GET",{domainId:e,domainVersionId:i},{includeUtterances:n.includeUtterances},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingDomainVersionReport(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainVersionReport';if(i==null||i==="")throw'Missing the required parameter "domainVersionId" when calling getLanguageunderstandingDomainVersionReport';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/report","GET",{domainId:e,domainVersionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingDomainVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainVersions';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions","GET",{domainId:e},{includeUtterances:i.includeUtterances,pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingDomains(e){return e=e||{},this.apiClient.callApi("/api/v2/languageunderstanding/domains","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLanguageunderstandingIgnorephrase(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "languageCode" when calling getLanguageunderstandingIgnorephrase';return this.apiClient.callApi("/api/v2/languageunderstanding/ignorephrases/{languageCode}","GET",{languageCode:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,text:i.text,sortOrder:i.sortOrder,sortBy:i.sortBy},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingIgnoretopic(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "languageCode" when calling getLanguageunderstandingIgnoretopic';return this.apiClient.callApi("/api/v2/languageunderstanding/ignoretopics/{languageCode}","GET",{languageCode:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,text:i.text,sortOrder:i.sortOrder,sortBy:i.sortBy},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingMiner(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMiner';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}","GET",{minerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingMinerDraft(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDraft';if(i==null||i==="")throw'Missing the required parameter "draftId" when calling getLanguageunderstandingMinerDraft';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/drafts/{draftId}","GET",{minerId:e,draftId:i},{draftIntentId:n.draftIntentId,draftTopicId:n.draftTopicId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingMinerDrafts(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDrafts';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/drafts","GET",{minerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingMinerIntent(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerIntent';if(i==null||i==="")throw'Missing the required parameter "intentId" when calling getLanguageunderstandingMinerIntent';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/intents/{intentId}","GET",{minerId:e,intentId:i},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingMinerIntents(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerIntents';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/intents","GET",{minerId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingMinerTopic(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopic';if(i==null||i==="")throw'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopic';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}","GET",{minerId:e,topicId:i},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLanguageunderstandingMinerTopicPhrase(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopicPhrase';if(i==null||i==="")throw'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopicPhrase';if(n==null||n==="")throw'Missing the required parameter "phraseId" when calling getLanguageunderstandingMinerTopicPhrase';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}/phrases/{phraseId}","GET",{minerId:e,topicId:i,phraseId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getLanguageunderstandingMinerTopics(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopics';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/topics","GET",{minerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguageunderstandingMiners(e){return e=e||{},this.apiClient.callApi("/api/v2/languageunderstanding/miners","GET",{},{minerType:e.minerType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLanguageunderstandingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/languageunderstanding/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchLanguageunderstandingDomain(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling patchLanguageunderstandingDomain';if(i==null)throw'Missing the required parameter "body" when calling patchLanguageunderstandingDomain';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}","PATCH",{domainId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchLanguageunderstandingMinerDraft(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling patchLanguageunderstandingMinerDraft';if(i==null||i==="")throw'Missing the required parameter "draftId" when calling patchLanguageunderstandingMinerDraft';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/drafts/{draftId}","PATCH",{minerId:e,draftId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingDomainFeedback(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainFeedback';if(i==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingDomainFeedback';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/feedback","POST",{domainId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingDomainVersionDetect(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersionDetect';if(i==null||i==="")throw'Missing the required parameter "domainVersionId" when calling postLanguageunderstandingDomainVersionDetect';if(n==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingDomainVersionDetect';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/detect","POST",{domainId:e,domainVersionId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postLanguageunderstandingDomainVersionPublish(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersionPublish';if(i==null||i==="")throw'Missing the required parameter "domainVersionId" when calling postLanguageunderstandingDomainVersionPublish';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/publish","POST",{domainId:e,domainVersionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingDomainVersionTrain(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersionTrain';if(i==null||i==="")throw'Missing the required parameter "domainVersionId" when calling postLanguageunderstandingDomainVersionTrain';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/train","POST",{domainId:e,domainVersionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingDomainVersions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersions';if(i==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingDomainVersions';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions","POST",{domainId:e},{includeUtterances:n.includeUtterances},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingDomains(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingDomains';return this.apiClient.callApi("/api/v2/languageunderstanding/domains","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingIgnorephrase(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnorephrase';if(i==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingIgnorephrase';return this.apiClient.callApi("/api/v2/languageunderstanding/ignorephrases/{languageCode}","POST",{languageCode:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingIgnorephraseRemove(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnorephraseRemove';if(i==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingIgnorephraseRemove';return this.apiClient.callApi("/api/v2/languageunderstanding/ignorephrases/{languageCode}/remove","POST",{languageCode:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingIgnoretopic(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnoretopic';if(i==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingIgnoretopic';return this.apiClient.callApi("/api/v2/languageunderstanding/ignoretopics/{languageCode}","POST",{languageCode:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingIgnoretopicRemove(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnoretopicRemove';if(i==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingIgnoretopicRemove';return this.apiClient.callApi("/api/v2/languageunderstanding/ignoretopics/{languageCode}/remove","POST",{languageCode:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingMinerDrafts(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling postLanguageunderstandingMinerDrafts';if(i==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingMinerDrafts';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/drafts","POST",{minerId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingMinerExecute(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling postLanguageunderstandingMinerExecute';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/execute","POST",{minerId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguageunderstandingMiners(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingMiners';return this.apiClient.callApi("/api/v2/languageunderstanding/miners","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putLanguageunderstandingDomainVersion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling putLanguageunderstandingDomainVersion';if(i==null||i==="")throw'Missing the required parameter "domainVersionId" when calling putLanguageunderstandingDomainVersion';if(n==null)throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';return this.apiClient.callApi("/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}","PUT",{domainId:e,domainVersionId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}},HA=class{constructor(e){this.apiClient=e||k.instance}deleteLanguage(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "languageId" when calling deleteLanguage';return this.apiClient.callApi("/api/v2/languages/{languageId}","DELETE",{languageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguage(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "languageId" when calling getLanguage';return this.apiClient.callApi("/api/v2/languages/{languageId}","GET",{languageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguages(e){return e=e||{},this.apiClient.callApi("/api/v2/languages","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLanguagesTranslations(e){return e=e||{},this.apiClient.callApi("/api/v2/languages/translations","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLanguagesTranslationsBuiltin(e,i){if(i=i||{},e==null)throw'Missing the required parameter "language" when calling getLanguagesTranslationsBuiltin';return this.apiClient.callApi("/api/v2/languages/translations/builtin","GET",{},{language:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguagesTranslationsOrganization(e,i){if(i=i||{},e==null)throw'Missing the required parameter "language" when calling getLanguagesTranslationsOrganization';return this.apiClient.callApi("/api/v2/languages/translations/organization","GET",{},{language:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLanguagesTranslationsUser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getLanguagesTranslationsUser';return this.apiClient.callApi("/api/v2/languages/translations/users/{userId}","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLanguages(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postLanguages';return this.apiClient.callApi("/api/v2/languages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},IA=class{constructor(e){this.apiClient=e||k.instance}deleteLearningAssignment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling deleteLearningAssignment';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}","DELETE",{assignmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteLearningModule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling deleteLearningModule';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}","DELETE",{moduleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLearningAssignment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling getLearningAssignment';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}","GET",{assignmentId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLearningAssignmentStep(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';if(i==null||i==="")throw'Missing the required parameter "stepId" when calling getLearningAssignmentStep';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}/steps/{stepId}","GET",{assignmentId:e,stepId:i},{shareableContentObjectId:n.shareableContentObjectId,defaultShareableContentObject:n.defaultShareableContentObject,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLearningAssignments(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/assignments","GET",{},{moduleId:e.moduleId,interval:e.interval,completionInterval:e.completionInterval,overdue:e.overdue,pageSize:e.pageSize,pageNumber:e.pageNumber,pass:e.pass,minPercentageScore:e.minPercentageScore,maxPercentageScore:e.maxPercentageScore,sortOrder:e.sortOrder,sortBy:e.sortBy,userId:this.apiClient.buildCollectionParam(e.userId,"multi"),types:this.apiClient.buildCollectionParam(e.types,"multi"),states:this.apiClient.buildCollectionParam(e.states,"multi"),expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLearningAssignmentsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/assignments/me","GET",{},{moduleId:e.moduleId,interval:e.interval,completionInterval:e.completionInterval,overdue:e.overdue,pageSize:e.pageSize,pageNumber:e.pageNumber,pass:e.pass,minPercentageScore:e.minPercentageScore,maxPercentageScore:e.maxPercentageScore,sortOrder:e.sortOrder,sortBy:e.sortBy,types:this.apiClient.buildCollectionParam(e.types,"multi"),states:this.apiClient.buildCollectionParam(e.states,"multi"),expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLearningModule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling getLearningModule';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}","GET",{moduleId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLearningModuleJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling getLearningModuleJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getLearningModuleJob';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/jobs/{jobId}","GET",{moduleId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLearningModulePreview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling getLearningModulePreview';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/preview","GET",{moduleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLearningModuleRule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling getLearningModuleRule';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/rule","GET",{moduleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLearningModuleVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling getLearningModuleVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getLearningModuleVersion';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/versions/{versionId}","GET",{moduleId:e,versionId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getLearningModules(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/modules","GET",{},{types:this.apiClient.buildCollectionParam(e.types,"multi"),pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,sortBy:e.sortBy,searchTerm:e.searchTerm,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),statuses:this.apiClient.buildCollectionParam(e.statuses,"multi"),externalIds:this.apiClient.buildCollectionParam(e.externalIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLearningModulesAssignments(e,i){if(i=i||{},e==null)throw'Missing the required parameter "userIds" when calling getLearningModulesAssignments';return this.apiClient.callApi("/api/v2/learning/modules/assignments","GET",{},{userIds:this.apiClient.buildCollectionParam(e,"multi"),pageSize:i.pageSize,pageNumber:i.pageNumber,searchTerm:i.searchTerm,overdue:i.overdue,assignmentStates:this.apiClient.buildCollectionParam(i.assignmentStates,"multi"),expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLearningModulesCoverartCoverArtId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';return this.apiClient.callApi("/api/v2/learning/modules/coverart/{coverArtId}","GET",{coverArtId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLearningScheduleslotsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getLearningScheduleslotsJob';return this.apiClient.callApi("/api/v2/learning/scheduleslots/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLearningScormScormId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scormId" when calling getLearningScormScormId';return this.apiClient.callApi("/api/v2/learning/scorm/{scormId}","GET",{scormId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchLearningAssignment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling patchLearningAssignment';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}","PATCH",{assignmentId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchLearningAssignmentReschedule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}/reschedule","PATCH",{assignmentId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchLearningAssignmentStep(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentStep';if(i==null||i==="")throw'Missing the required parameter "stepId" when calling patchLearningAssignmentStep';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}/steps/{stepId}","PATCH",{assignmentId:e,stepId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchLearningModuleUserAssignments(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling patchLearningModuleUserAssignments';if(i==null||i==="")throw'Missing the required parameter "userId" when calling patchLearningModuleUserAssignments';if(n==null)throw'Missing the required parameter "body" when calling patchLearningModuleUserAssignments';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/users/{userId}/assignments","PATCH",{moduleId:e,userId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postLearningAssessmentsScoring(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postLearningAssessmentsScoring';return this.apiClient.callApi("/api/v2/learning/assessments/scoring","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLearningAssignmentReassign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling postLearningAssignmentReassign';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}/reassign","POST",{assignmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLearningAssignmentReset(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assignmentId" when calling postLearningAssignmentReset';return this.apiClient.callApi("/api/v2/learning/assignments/{assignmentId}/reset","POST",{assignmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLearningAssignments(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/assignments","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLearningAssignmentsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postLearningAssignmentsAggregatesQuery';return this.apiClient.callApi("/api/v2/learning/assignments/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLearningAssignmentsBulkadd(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/assignments/bulkadd","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLearningAssignmentsBulkremove(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/assignments/bulkremove","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLearningModuleJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling postLearningModuleJobs';if(i==null)throw'Missing the required parameter "body" when calling postLearningModuleJobs';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/jobs","POST",{moduleId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLearningModulePublish(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling postLearningModulePublish';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/publish","POST",{moduleId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLearningModuleRuleMigrate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling postLearningModuleRuleMigrate';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/rule/migrate","POST",{moduleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLearningModules(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postLearningModules';return this.apiClient.callApi("/api/v2/learning/modules","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLearningRulesQuery(e,i,n,a){if(a=a||{},e==null)throw'Missing the required parameter "pageSize" when calling postLearningRulesQuery';if(i==null)throw'Missing the required parameter "pageNumber" when calling postLearningRulesQuery';if(n==null)throw'Missing the required parameter "body" when calling postLearningRulesQuery';return this.apiClient.callApi("/api/v2/learning/rules/query","POST",{},{pageSize:e,pageNumber:i},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postLearningScheduleslotsJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postLearningScheduleslotsJobs';return this.apiClient.callApi("/api/v2/learning/scheduleslots/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLearningScheduleslotsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postLearningScheduleslotsQuery';return this.apiClient.callApi("/api/v2/learning/scheduleslots/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLearningScorm(e){return e=e||{},this.apiClient.callApi("/api/v2/learning/scorm","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putLearningModule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling putLearningModule';if(i==null)throw'Missing the required parameter "body" when calling putLearningModule';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}","PUT",{moduleId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putLearningModulePreview(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling putLearningModulePreview';if(i==null)throw'Missing the required parameter "body" when calling putLearningModulePreview';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/preview","PUT",{moduleId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putLearningModuleRule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "moduleId" when calling putLearningModuleRule';if(i==null)throw'Missing the required parameter "body" when calling putLearningModuleRule';return this.apiClient.callApi("/api/v2/learning/modules/{moduleId}/rule","PUT",{moduleId:e},{assign:n.assign},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},RA=class{constructor(e){this.apiClient=e||k.instance}getLicenseDefinition(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "licenseId" when calling getLicenseDefinition';return this.apiClient.callApi("/api/v2/license/definitions/{licenseId}","GET",{licenseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLicenseDefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/license/definitions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLicenseToggle(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "featureName" when calling getLicenseToggle';return this.apiClient.callApi("/api/v2/license/toggles/{featureName}","GET",{featureName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLicenseUser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getLicenseUser';return this.apiClient.callApi("/api/v2/license/users/{userId}","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLicenseUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/license/users","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLicenseInfer(e){return e=e||{},this.apiClient.callApi("/api/v2/license/infer","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLicenseInferPermissions(e){return e=e||{},this.apiClient.callApi("/api/v2/license/infer/permissions","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLicenseOrganization(e){return e=e||{},this.apiClient.callApi("/api/v2/license/organization","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postLicenseToggle(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "featureName" when calling postLicenseToggle';return this.apiClient.callApi("/api/v2/license/toggles/{featureName}","POST",{featureName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLicenseUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/license/users","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},zA=class{constructor(e){this.apiClient=e||k.instance}deleteLocation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "locationId" when calling deleteLocation';return this.apiClient.callApi("/api/v2/locations/{locationId}","DELETE",{locationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLocation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "locationId" when calling getLocation';return this.apiClient.callApi("/api/v2/locations/{locationId}","GET",{locationId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLocationSublocations(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "locationId" when calling getLocationSublocations';return this.apiClient.callApi("/api/v2/locations/{locationId}/sublocations","GET",{locationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLocations(e){return e=e||{},this.apiClient.callApi("/api/v2/locations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getLocationsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getLocationsSearch';return this.apiClient.callApi("/api/v2/locations/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchLocation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "locationId" when calling patchLocation';if(i==null)throw'Missing the required parameter "body" when calling patchLocation';return this.apiClient.callApi("/api/v2/locations/{locationId}","PATCH",{locationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLocations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postLocations';return this.apiClient.callApi("/api/v2/locations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLocationsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postLocationsSearch';return this.apiClient.callApi("/api/v2/locations/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},DA=class{constructor(e){this.apiClient=e||k.instance}deleteDiagnosticsLogcaptureBrowserUser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteDiagnosticsLogcaptureBrowserUser';return this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/users/{userId}","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getDiagnosticsLogcaptureBrowserEntriesDownloadJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getDiagnosticsLogcaptureBrowserEntriesDownloadJob';return this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/entries/download/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getDiagnosticsLogcaptureBrowserUser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getDiagnosticsLogcaptureBrowserUser';return this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/users/{userId}","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getDiagnosticsLogcaptureBrowserUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/users","GET",{},{includeExpired:e.includeExpired},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postDiagnosticsLogcaptureBrowserEntriesDownloadJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/entries/download/jobs","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postDiagnosticsLogcaptureBrowserEntriesQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/entries/query","POST",{},{after:e.after,pageSize:e.pageSize},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postDiagnosticsLogcaptureBrowserUser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';return this.apiClient.callApi("/api/v2/diagnostics/logcapture/browser/users/{userId}","POST",{userId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},GA=class{constructor(e){this.apiClient=e||k.instance}deleteMessagingSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageSettingId" when calling deleteMessagingSetting';return this.apiClient.callApi("/api/v2/messaging/settings/{messageSettingId}","DELETE",{messageSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteMessagingSettingsDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/messaging/settings/default","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteMessagingSupportedcontentSupportedContentId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';return this.apiClient.callApi("/api/v2/messaging/supportedcontent/{supportedContentId}","DELETE",{supportedContentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getMessagingSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageSettingId" when calling getMessagingSetting';return this.apiClient.callApi("/api/v2/messaging/settings/{messageSettingId}","GET",{messageSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getMessagingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/messaging/settings","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getMessagingSettingsDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/messaging/settings/default","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getMessagingSupportedcontent(e){return e=e||{},this.apiClient.callApi("/api/v2/messaging/supportedcontent","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getMessagingSupportedcontentSupportedContentId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';return this.apiClient.callApi("/api/v2/messaging/supportedcontent/{supportedContentId}","GET",{supportedContentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchMessagingSetting(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageSettingId" when calling patchMessagingSetting';if(i==null)throw'Missing the required parameter "body" when calling patchMessagingSetting';return this.apiClient.callApi("/api/v2/messaging/settings/{messageSettingId}","PATCH",{messageSettingId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchMessagingSupportedcontentSupportedContentId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';if(i==null)throw'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';return this.apiClient.callApi("/api/v2/messaging/supportedcontent/{supportedContentId}","PATCH",{supportedContentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postMessagingSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postMessagingSettings';return this.apiClient.callApi("/api/v2/messaging/settings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postMessagingSupportedcontent(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postMessagingSupportedcontent';return this.apiClient.callApi("/api/v2/messaging/supportedcontent","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putMessagingSettingsDefault(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';return this.apiClient.callApi("/api/v2/messaging/settings/default","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},$A=class{constructor(e){this.apiClient=e||k.instance}deleteMobiledevice(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deviceId" when calling deleteMobiledevice';return this.apiClient.callApi("/api/v2/mobiledevices/{deviceId}","DELETE",{deviceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getMobiledevice(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deviceId" when calling getMobiledevice';return this.apiClient.callApi("/api/v2/mobiledevices/{deviceId}","GET",{deviceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getMobiledevices(e){return e=e||{},this.apiClient.callApi("/api/v2/mobiledevices","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postMobiledevices(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postMobiledevices';return this.apiClient.callApi("/api/v2/mobiledevices","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putMobiledevice(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deviceId" when calling putMobiledevice';return this.apiClient.callApi("/api/v2/mobiledevices/{deviceId}","PUT",{deviceId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},NA=class{constructor(e){this.apiClient=e||k.instance}deleteNotificationsChannelSubscriptions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "channelId" when calling deleteNotificationsChannelSubscriptions';return this.apiClient.callApi("/api/v2/notifications/channels/{channelId}/subscriptions","DELETE",{channelId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getNotificationsAvailabletopics(e){return e=e||{},this.apiClient.callApi("/api/v2/notifications/availabletopics","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi"),includePreview:e.includePreview},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getNotificationsChannelSubscriptions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "channelId" when calling getNotificationsChannelSubscriptions';return this.apiClient.callApi("/api/v2/notifications/channels/{channelId}/subscriptions","GET",{channelId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getNotificationsChannels(e){return e=e||{},this.apiClient.callApi("/api/v2/notifications/channels","GET",{},{includechannels:e.includechannels},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}headNotificationsChannel(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "channelId" when calling headNotificationsChannel';return this.apiClient.callApi("/api/v2/notifications/channels/{channelId}","HEAD",{channelId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postNotificationsChannelSubscriptions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "channelId" when calling postNotificationsChannelSubscriptions';if(i==null)throw'Missing the required parameter "body" when calling postNotificationsChannelSubscriptions';return this.apiClient.callApi("/api/v2/notifications/channels/{channelId}/subscriptions","POST",{channelId:e},{ignoreErrors:n.ignoreErrors},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postNotificationsChannels(e){return e=e||{},this.apiClient.callApi("/api/v2/notifications/channels","POST",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putNotificationsChannelSubscriptions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "channelId" when calling putNotificationsChannelSubscriptions';if(i==null)throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';return this.apiClient.callApi("/api/v2/notifications/channels/{channelId}/subscriptions","PUT",{channelId:e},{ignoreErrors:n.ignoreErrors},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},UA=class{constructor(e){this.apiClient=e||k.instance}deleteOauthClient(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling deleteOauthClient';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}","DELETE",{clientId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOauthAuthorization(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling getOauthAuthorization';return this.apiClient.callApi("/api/v2/oauth/authorizations/{clientId}","GET",{clientId:e},{},{"Accept-Language":i.acceptLanguage},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOauthAuthorizations(e){return e=e||{},this.apiClient.callApi("/api/v2/oauth/authorizations","GET",{},{},{"Accept-Language":e.acceptLanguage},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOauthClient(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling getOauthClient';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}","GET",{clientId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOauthClientUsageQueryResult(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';if(i==null||i==="")throw'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}","GET",{executionId:e,clientId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOauthClientUsageSummary(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling getOauthClientUsageSummary';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/usage/summary","GET",{clientId:e},{days:i.days},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOauthClients(e){return e=e||{},this.apiClient.callApi("/api/v2/oauth/clients","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOauthScope(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scopeId" when calling getOauthScope';return this.apiClient.callApi("/api/v2/oauth/scopes/{scopeId}","GET",{scopeId:e},{},{"Accept-Language":i.acceptLanguage},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOauthScopes(e){return e=e||{},this.apiClient.callApi("/api/v2/oauth/scopes","GET",{},{},{"Accept-Language":e.acceptLanguage},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postOauthClientSecret(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling postOauthClientSecret';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/secret","POST",{clientId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOauthClientUsageQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling postOauthClientUsageQuery';if(i==null)throw'Missing the required parameter "body" when calling postOauthClientUsageQuery';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/usage/query","POST",{clientId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOauthClients(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOauthClients';return this.apiClient.callApi("/api/v2/oauth/clients","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOauthClient(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling putOauthClient';if(i==null)throw'Missing the required parameter "body" when calling putOauthClient';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}","PUT",{clientId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},WA=class{constructor(e){this.apiClient=e||k.instance}deleteAuthorizationDivision(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling deleteAuthorizationDivision';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}","DELETE",{divisionId:e},{force:i.force},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationDivision(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling getAuthorizationDivision';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}","GET",{divisionId:e},{objectCount:i.objectCount},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationDivisions(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,objectCount:e.objectCount,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsDeleted(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/deleted","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsHome(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/home","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsLimit(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/limit","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/divisions/query","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postAuthorizationDivisionObject(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionObject';if(i==null||i==="")throw'Missing the required parameter "objectType" when calling postAuthorizationDivisionObject';if(n==null)throw'Missing the required parameter "body" when calling postAuthorizationDivisionObject';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}/objects/{objectType}","POST",{divisionId:e,objectType:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAuthorizationDivisionRestore(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}/restore","POST",{divisionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationDivisions(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAuthorizationDivisions';return this.apiClient.callApi("/api/v2/authorization/divisions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putAuthorizationDivision(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "divisionId" when calling putAuthorizationDivision';if(i==null)throw'Missing the required parameter "body" when calling putAuthorizationDivision';return this.apiClient.callApi("/api/v2/authorization/divisions/{divisionId}","PUT",{divisionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},LA=class{constructor(e){this.apiClient=e||k.instance}getUsageEventsDefinition(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "eventDefinitionId" when calling getUsageEventsDefinition';return this.apiClient.callApi("/api/v2/usage/events/definitions/{eventDefinitionId}","GET",{eventDefinitionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsageEventsDefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/usage/events/definitions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postUsageEventsAggregatesQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/usage/events/aggregates/query","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postUsageEventsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/usage/events/query","POST",{},{before:e.before,after:e.after,pageSize:e.pageSize},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},BA=class{constructor(e){this.apiClient=e||k.instance}getFieldconfig(e,i){if(i=i||{},e==null)throw'Missing the required parameter "type" when calling getFieldconfig';return this.apiClient.callApi("/api/v2/fieldconfig","GET",{},{type:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrganizationsAuthenticationSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/authentication/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsEmbeddedintegration(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/embeddedintegration","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsIpaddressauthentication(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/ipaddressauthentication","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsLimitsChangerequest(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "requestId" when calling getOrganizationsLimitsChangerequest';return this.apiClient.callApi("/api/v2/organizations/limits/changerequests/{requestId}","GET",{requestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrganizationsLimitsChangerequests(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/limits/changerequests","GET",{},{after:e.after,before:e.before,status:e.status,pageSize:e.pageSize,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsLimitsDocs(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/limits/docs","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsLimitsDocsFreetrial(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/limits/docs/freetrial","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsLimitsNamespace(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespace';return this.apiClient.callApi("/api/v2/organizations/limits/namespaces/{namespaceName}","GET",{namespaceName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrganizationsLimitsNamespaceDefaults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceDefaults';return this.apiClient.callApi("/api/v2/organizations/limits/namespaces/{namespaceName}/defaults","GET",{namespaceName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrganizationsLimitsNamespaces(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/limits/namespaces","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/me","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrganizationsWhitelist(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/whitelist","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchOrganizationsAuthenticationSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchOrganizationsAuthenticationSettings';return this.apiClient.callApi("/api/v2/organizations/authentication/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchOrganizationsFeature(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "featureName" when calling patchOrganizationsFeature';if(i==null)throw'Missing the required parameter "enabled" when calling patchOrganizationsFeature';return this.apiClient.callApi("/api/v2/organizations/features/{featureName}","PATCH",{featureName:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOrganizationsEmbeddedintegration(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putOrganizationsEmbeddedintegration';return this.apiClient.callApi("/api/v2/organizations/embeddedintegration","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOrganizationsIpaddressauthentication(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putOrganizationsIpaddressauthentication';return this.apiClient.callApi("/api/v2/organizations/ipaddressauthentication","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOrganizationsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/organizations/me","PUT",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putOrganizationsWhitelist(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';return this.apiClient.callApi("/api/v2/organizations/whitelist","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},FA=class{constructor(e){this.apiClient=e||k.instance}deleteOrgauthorizationTrustee(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrustee';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}","DELETE",{trusteeOrgId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOrgauthorizationTrusteeCloneduser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeCloneduser';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrusteeCloneduser';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/clonedusers/{trusteeUserId}","DELETE",{trusteeOrgId:e,trusteeUserId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOrgauthorizationTrusteeGroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroup';if(i==null||i==="")throw'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroup';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}","DELETE",{trusteeOrgId:e,trusteeGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOrgauthorizationTrusteeGroupRoles(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroupRoles';if(i==null||i==="")throw'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroupRoles';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles","DELETE",{trusteeOrgId:e,trusteeGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOrgauthorizationTrusteeUser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeUser';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrusteeUser';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}","DELETE",{trusteeOrgId:e,trusteeUserId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOrgauthorizationTrusteeUserRoles(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeUserRoles';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrusteeUserRoles';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}/roles","DELETE",{trusteeOrgId:e,trusteeUserId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOrgauthorizationTrustees(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling deleteOrgauthorizationTrustees';return this.apiClient.callApi("/api/v2/orgauthorization/trustees","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOrgauthorizationTrustor(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustor';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}","DELETE",{trustorOrgId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOrgauthorizationTrustorCloneduser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorCloneduser';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrustorCloneduser';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}","DELETE",{trustorOrgId:e,trusteeUserId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOrgauthorizationTrustorGroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorGroup';if(i==null||i==="")throw'Missing the required parameter "trustorGroupId" when calling deleteOrgauthorizationTrustorGroup';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}","DELETE",{trustorOrgId:e,trustorGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOrgauthorizationTrustorUser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorUser';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrustorUser';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}","DELETE",{trustorOrgId:e,trusteeUserId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOrgauthorizationTrustors(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling deleteOrgauthorizationTrustors';return this.apiClient.callApi("/api/v2/orgauthorization/trustors","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationPairing(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "pairingId" when calling getOrgauthorizationPairing';return this.apiClient.callApi("/api/v2/orgauthorization/pairings/{pairingId}","GET",{pairingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrustee(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrustee';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}","GET",{trusteeOrgId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrusteeClonedusers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeClonedusers';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/clonedusers","GET",{trusteeOrgId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrusteeGroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroup';if(i==null||i==="")throw'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroup';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}","GET",{trusteeOrgId:e,trusteeGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrusteeGroupRoles(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroupRoles';if(i==null||i==="")throw'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroupRoles';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles","GET",{trusteeOrgId:e,trusteeGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrusteeGroups(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroups';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups","GET",{trusteeOrgId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrusteeUser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeUser';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrusteeUser';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}","GET",{trusteeOrgId:e,trusteeUserId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrusteeUserRoles(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeUserRoles';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrusteeUserRoles';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}/roles","GET",{trusteeOrgId:e,trusteeUserId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrusteeUsers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeUsers';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users","GET",{trusteeOrgId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrustees(e){return e=e||{},this.apiClient.callApi("/api/v2/orgauthorization/trustees","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrgauthorizationTrusteesCare(e){return e=e||{},this.apiClient.callApi("/api/v2/orgauthorization/trustees/care","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrgauthorizationTrusteesDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/orgauthorization/trustees/default","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOrgauthorizationTrustor(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustor';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}","GET",{trustorOrgId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrustorCloneduser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorCloneduser';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrustorCloneduser';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}","GET",{trustorOrgId:e,trusteeUserId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrustorClonedusers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorClonedusers';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers","GET",{trustorOrgId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrustorGroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroup';if(i==null||i==="")throw'Missing the required parameter "trustorGroupId" when calling getOrgauthorizationTrustorGroup';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}","GET",{trustorOrgId:e,trustorGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrustorGroups(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroups';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/groups","GET",{trustorOrgId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrustorUser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorUser';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrustorUser';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}","GET",{trustorOrgId:e,trusteeUserId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOrgauthorizationTrustorUsers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorUsers';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/users","GET",{trustorOrgId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrgauthorizationTrustors(e){return e=e||{},this.apiClient.callApi("/api/v2/orgauthorization/trustors","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postOrgauthorizationPairings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOrgauthorizationPairings';return this.apiClient.callApi("/api/v2/orgauthorization/pairings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOrgauthorizationTrusteeGroups(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeGroups';if(i==null)throw'Missing the required parameter "body" when calling postOrgauthorizationTrusteeGroups';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups","POST",{trusteeOrgId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOrgauthorizationTrusteeUsers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeUsers';if(i==null)throw'Missing the required parameter "body" when calling postOrgauthorizationTrusteeUsers';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users","POST",{trusteeOrgId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOrgauthorizationTrustees(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOrgauthorizationTrustees';return this.apiClient.callApi("/api/v2/orgauthorization/trustees","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOrgauthorizationTrusteesAudits(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOrgauthorizationTrusteesAudits';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/audits","POST",{},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortBy:i.sortBy,sortOrder:i.sortOrder},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOrgauthorizationTrusteesCare(e){return e=e||{},this.apiClient.callApi("/api/v2/orgauthorization/trustees/care","POST",{},{assignDefaultRole:e.assignDefaultRole,autoExpire:e.autoExpire,assignFullAccess:e.assignFullAccess,allowTrustedUserAccess:e.allowTrustedUserAccess},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postOrgauthorizationTrusteesDefault(e){return e=e||{},this.apiClient.callApi("/api/v2/orgauthorization/trustees/default","POST",{},{assignDefaultRole:e.assignDefaultRole,autoExpire:e.autoExpire},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postOrgauthorizationTrustorAudits(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOrgauthorizationTrustorAudits';return this.apiClient.callApi("/api/v2/orgauthorization/trustor/audits","POST",{},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortBy:i.sortBy,sortOrder:i.sortOrder},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOrgauthorizationTrustee(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrustee';if(i==null)throw'Missing the required parameter "body" when calling putOrgauthorizationTrustee';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}","PUT",{trusteeOrgId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOrgauthorizationTrusteeGroupRoledivisions(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoledivisions';if(i==null||i==="")throw'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoledivisions';if(n==null)throw'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoledivisions';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roledivisions","PUT",{trusteeOrgId:e,trusteeGroupId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putOrgauthorizationTrusteeGroupRoles(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoles';if(i==null||i==="")throw'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoles';if(n==null)throw'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoles';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles","PUT",{trusteeOrgId:e,trusteeGroupId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putOrgauthorizationTrusteeUserRoledivisions(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeUserRoledivisions';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrusteeUserRoledivisions';if(n==null)throw'Missing the required parameter "body" when calling putOrgauthorizationTrusteeUserRoledivisions';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}/roledivisions","PUT",{trusteeOrgId:e,trusteeUserId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putOrgauthorizationTrusteeUserRoles(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeUserRoles';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrusteeUserRoles';if(n==null)throw'Missing the required parameter "body" when calling putOrgauthorizationTrusteeUserRoles';return this.apiClient.callApi("/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}/roles","PUT",{trusteeOrgId:e,trusteeUserId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putOrgauthorizationTrustorCloneduser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorCloneduser';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorCloneduser';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}","PUT",{trustorOrgId:e,trusteeUserId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOrgauthorizationTrustorGroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorGroup';if(i==null||i==="")throw'Missing the required parameter "trustorGroupId" when calling putOrgauthorizationTrustorGroup';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}","PUT",{trustorOrgId:e,trustorGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOrgauthorizationTrustorUser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorUser';if(i==null||i==="")throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';return this.apiClient.callApi("/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}","PUT",{trustorOrgId:e,trusteeUserId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},VA=class{constructor(e){this.apiClient=e||k.instance}deleteOutboundAttemptlimit(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "attemptLimitsId" when calling deleteOutboundAttemptlimit';return this.apiClient.callApi("/api/v2/outbound/attemptlimits/{attemptLimitsId}","DELETE",{attemptLimitsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundCallabletimeset(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "callableTimeSetId" when calling deleteOutboundCallabletimeset';return this.apiClient.callApi("/api/v2/outbound/callabletimesets/{callableTimeSetId}","DELETE",{callableTimeSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundCallanalysisresponseset(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "callAnalysisSetId" when calling deleteOutboundCallanalysisresponseset';return this.apiClient.callApi("/api/v2/outbound/callanalysisresponsesets/{callAnalysisSetId}","DELETE",{callAnalysisSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundCampaign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling deleteOutboundCampaign';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}","DELETE",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundCampaignProgress(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling deleteOutboundCampaignProgress';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/progress","DELETE",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundCampaignrule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignRuleId" when calling deleteOutboundCampaignrule';return this.apiClient.callApi("/api/v2/outbound/campaignrules/{campaignRuleId}","DELETE",{campaignRuleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundContactlist(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling deleteOutboundContactlist';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}","DELETE",{contactListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundContactlistContact(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling deleteOutboundContactlistContact';if(i==null||i==="")throw'Missing the required parameter "contactId" when calling deleteOutboundContactlistContact';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}","DELETE",{contactListId:e,contactId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundContactlistContacts(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling deleteOutboundContactlistContacts';if(i==null)throw'Missing the required parameter "contactIds" when calling deleteOutboundContactlistContacts';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts","DELETE",{contactListId:e},{contactIds:this.apiClient.buildCollectionParam(i,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteOutboundContactlistfilter(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListFilterId" when calling deleteOutboundContactlistfilter';return this.apiClient.callApi("/api/v2/outbound/contactlistfilters/{contactListFilterId}","DELETE",{contactListFilterId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundContactlists(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling deleteOutboundContactlists';return this.apiClient.callApi("/api/v2/outbound/contactlists","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundContactlisttemplate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListTemplateId" when calling deleteOutboundContactlisttemplate';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates/{contactListTemplateId}","DELETE",{contactListTemplateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundContactlisttemplates(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling deleteOutboundContactlisttemplates';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundDigitalruleset(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "digitalRuleSetId" when calling deleteOutboundDigitalruleset';return this.apiClient.callApi("/api/v2/outbound/digitalrulesets/{digitalRuleSetId}","DELETE",{digitalRuleSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundDnclist(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclist';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}","DELETE",{dncListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundDnclistCustomexclusioncolumns(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistCustomexclusioncolumns';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns","DELETE",{dncListId:e},{expiredOnly:i.expiredOnly},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundDnclistEmailaddresses(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistEmailaddresses';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/emailaddresses","DELETE",{dncListId:e},{expiredOnly:i.expiredOnly},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundDnclistPhonenumbers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/phonenumbers","DELETE",{dncListId:e},{expiredOnly:i.expiredOnly},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundDnclistWhatsappnumbers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistWhatsappnumbers';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/whatsappnumbers","DELETE",{dncListId:e},{expiredOnly:i.expiredOnly},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundFilespecificationtemplate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "fileSpecificationTemplateId" when calling deleteOutboundFilespecificationtemplate';return this.apiClient.callApi("/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}","DELETE",{fileSpecificationTemplateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundFilespecificationtemplatesBulk(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling deleteOutboundFilespecificationtemplatesBulk';return this.apiClient.callApi("/api/v2/outbound/filespecificationtemplates/bulk","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundImporttemplate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "importTemplateId" when calling deleteOutboundImporttemplate';return this.apiClient.callApi("/api/v2/outbound/importtemplates/{importTemplateId}","DELETE",{importTemplateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundImporttemplates(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling deleteOutboundImporttemplates';return this.apiClient.callApi("/api/v2/outbound/importtemplates","DELETE",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundMessagingcampaign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling deleteOutboundMessagingcampaign';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}","DELETE",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundMessagingcampaignProgress(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling deleteOutboundMessagingcampaignProgress';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/progress","DELETE",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundRuleset(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleSetId" when calling deleteOutboundRuleset';return this.apiClient.callApi("/api/v2/outbound/rulesets/{ruleSetId}","DELETE",{ruleSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundSchedulesCampaign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling deleteOutboundSchedulesCampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/campaigns/{campaignId}","DELETE",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundSchedulesEmailcampaign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "emailCampaignId" when calling deleteOutboundSchedulesEmailcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/emailcampaigns/{emailCampaignId}","DELETE",{emailCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundSchedulesMessagingcampaign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling deleteOutboundSchedulesMessagingcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/messagingcampaigns/{messagingCampaignId}","DELETE",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundSchedulesSequence(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sequenceId" when calling deleteOutboundSchedulesSequence';return this.apiClient.callApi("/api/v2/outbound/schedules/sequences/{sequenceId}","DELETE",{sequenceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundSchedulesWhatsappcampaign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "whatsAppCampaignId" when calling deleteOutboundSchedulesWhatsappcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/whatsappcampaigns/{whatsAppCampaignId}","DELETE",{whatsAppCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteOutboundSequence(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sequenceId" when calling deleteOutboundSequence';return this.apiClient.callApi("/api/v2/outbound/sequences/{sequenceId}","DELETE",{sequenceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundAttemptlimit(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "attemptLimitsId" when calling getOutboundAttemptlimit';return this.apiClient.callApi("/api/v2/outbound/attemptlimits/{attemptLimitsId}","GET",{attemptLimitsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundAttemptlimits(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/attemptlimits","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCallabletimeset(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "callableTimeSetId" when calling getOutboundCallabletimeset';return this.apiClient.callApi("/api/v2/outbound/callabletimesets/{callableTimeSetId}","GET",{callableTimeSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundCallabletimesets(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/callabletimesets","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCallanalysisresponseset(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "callAnalysisSetId" when calling getOutboundCallanalysisresponseset';return this.apiClient.callApi("/api/v2/outbound/callanalysisresponsesets/{callAnalysisSetId}","GET",{callAnalysisSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundCallanalysisresponsesets(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/callanalysisresponsesets","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCampaign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaign';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundCampaignAgentownedmappingpreviewResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignAgentownedmappingpreviewResults';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/agentownedmappingpreview/results","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundCampaignDiagnostics(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignDiagnostics';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/diagnostics","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundCampaignInteractions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignInteractions';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/interactions","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundCampaignLinedistribution(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignLinedistribution';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/linedistribution","GET",{campaignId:e},{includeOnlyActiveCampaigns:i.includeOnlyActiveCampaigns,edgeGroupId:i.edgeGroupId,siteId:i.siteId,useWeight:i.useWeight,relativeWeight:i.relativeWeight,outboundLineCount:i.outboundLineCount},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundCampaignProgress(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignProgress';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/progress","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundCampaignSkillcombinations(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignSkillcombinations';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/skillcombinations","GET",{campaignId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundCampaignStats(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignStats';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/stats","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundCampaignrule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignRuleId" when calling getOutboundCampaignrule';return this.apiClient.callApi("/api/v2/outbound/campaignrules/{campaignRuleId}","GET",{campaignRuleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundCampaignrules(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/campaignrules","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCampaigns(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/campaigns","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,filterType:e.filterType,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),contactListId:e.contactListId,dncListIds:e.dncListIds,distributionQueueId:e.distributionQueueId,edgeGroupId:e.edgeGroupId,callAnalysisResponseSetId:e.callAnalysisResponseSetId,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCampaignsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/campaigns/all","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),mediaType:this.apiClient.buildCollectionParam(e.mediaType,"multi"),sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCampaignsAllDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/campaigns/all/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),mediaType:this.apiClient.buildCollectionParam(e.mediaType,"multi"),sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundCampaignsDivisionview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundCampaignsDivisionview';return this.apiClient.callApi("/api/v2/outbound/campaigns/divisionviews/{campaignId}","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundCampaignsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/campaigns/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,filterType:e.filterType,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundContactlist(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlist';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}","GET",{contactListId:e},{includeImportStatus:i.includeImportStatus,includeSize:i.includeSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundContactlistContact(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistContact';if(i==null||i==="")throw'Missing the required parameter "contactId" when calling getOutboundContactlistContact';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}","GET",{contactListId:e,contactId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundContactlistContactsBulkJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistContactsBulkJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getOutboundContactlistContactsBulkJob';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/jobs/{jobId}","GET",{contactListId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOutboundContactlistContactsBulkJobs(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistContactsBulkJobs';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/jobs","GET",{contactListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundContactlistExport(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistExport';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/export","GET",{contactListId:e},{download:i.download},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundContactlistImportstatus(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistImportstatus';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/importstatus","GET",{contactListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundContactlistTimezonemappingpreview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistTimezonemappingpreview';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/timezonemappingpreview","GET",{contactListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundContactlistfilter(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListFilterId" when calling getOutboundContactlistfilter';return this.apiClient.callApi("/api/v2/outbound/contactlistfilters/{contactListFilterId}","GET",{contactListFilterId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundContactlistfilters(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/contactlistfilters","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder,contactListId:e.contactListId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundContactlists(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/contactlists","GET",{},{includeImportStatus:e.includeImportStatus,includeSize:e.includeSize,pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundContactlistsDivisionview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling getOutboundContactlistsDivisionview';return this.apiClient.callApi("/api/v2/outbound/contactlists/divisionviews/{contactListId}","GET",{contactListId:e},{includeImportStatus:i.includeImportStatus,includeSize:i.includeSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundContactlistsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/contactlists/divisionviews","GET",{},{includeImportStatus:e.includeImportStatus,includeSize:e.includeSize,pageSize:e.pageSize,pageNumber:e.pageNumber,filterType:e.filterType,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundContactlisttemplate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListTemplateId" when calling getOutboundContactlisttemplate';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates/{contactListTemplateId}","GET",{contactListTemplateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundContactlisttemplates(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/contactlisttemplates","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundDiagnosticsCampaignSummary(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundDiagnosticsCampaignSummary';if(i==null)throw'Missing the required parameter "start" when calling getOutboundDiagnosticsCampaignSummary';if(n==null)throw'Missing the required parameter "end" when calling getOutboundDiagnosticsCampaignSummary';return this.apiClient.callApi("/api/v2/outbound/diagnostics/campaigns/{campaignId}/summary","GET",{campaignId:e},{start:i,end:n},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getOutboundDigitalruleset(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "digitalRuleSetId" when calling getOutboundDigitalruleset';return this.apiClient.callApi("/api/v2/outbound/digitalrulesets/{digitalRuleSetId}","GET",{digitalRuleSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundDigitalrulesets(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/digitalrulesets","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundDnclist(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling getOutboundDnclist';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}","GET",{dncListId:e},{includeImportStatus:i.includeImportStatus,includeSize:i.includeSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundDnclistExport(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling getOutboundDnclistExport';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/export","GET",{dncListId:e},{download:i.download},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundDnclistImportstatus(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling getOutboundDnclistImportstatus';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/importstatus","GET",{dncListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundDnclists(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/dnclists","GET",{},{includeImportStatus:e.includeImportStatus,includeSize:e.includeSize,pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,dncSourceType:e.dncSourceType,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundDnclistsDivisionview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling getOutboundDnclistsDivisionview';return this.apiClient.callApi("/api/v2/outbound/dnclists/divisionviews/{dncListId}","GET",{dncListId:e},{includeImportStatus:i.includeImportStatus,includeSize:i.includeSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundDnclistsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/dnclists/divisionviews","GET",{},{includeImportStatus:e.includeImportStatus,includeSize:e.includeSize,pageSize:e.pageSize,pageNumber:e.pageNumber,filterType:e.filterType,name:e.name,dncSourceType:e.dncSourceType,id:this.apiClient.buildCollectionParam(e.id,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundEvent(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "eventId" when calling getOutboundEvent';return this.apiClient.callApi("/api/v2/outbound/events/{eventId}","GET",{eventId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundEvents(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/events","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,filterType:e.filterType,category:e.category,level:e.level,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundFilespecificationtemplate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "fileSpecificationTemplateId" when calling getOutboundFilespecificationtemplate';return this.apiClient.callApi("/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}","GET",{fileSpecificationTemplateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundFilespecificationtemplates(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/filespecificationtemplates","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundImporttemplate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplate';return this.apiClient.callApi("/api/v2/outbound/importtemplates/{importTemplateId}","GET",{importTemplateId:e},{includeImportStatus:i.includeImportStatus},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundImporttemplateImportstatus(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplateImportstatus';return this.apiClient.callApi("/api/v2/outbound/importtemplates/{importTemplateId}/importstatus","GET",{importTemplateId:e},{listNamePrefix:i.listNamePrefix},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundImporttemplates(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/importtemplates","GET",{},{includeImportStatus:e.includeImportStatus,pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder,contactListTemplateId:e.contactListTemplateId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundMessagingcampaign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaign';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}","GET",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundMessagingcampaignDiagnostics(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaignDiagnostics';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/diagnostics","GET",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundMessagingcampaignProgress(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaignProgress';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/progress","GET",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundMessagingcampaigns(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/messagingcampaigns","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,contactListId:e.contactListId,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),type:e.type,senderSmsPhoneNumber:e.senderSmsPhoneNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),contentTemplateId:e.contentTemplateId,campaignStatus:e.campaignStatus,ruleSetIds:this.apiClient.buildCollectionParam(e.ruleSetIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundMessagingcampaignsDivisionview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaignsDivisionview';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/divisionviews/{messagingCampaignId}","GET",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundMessagingcampaignsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,name:e.name,type:e.type,id:this.apiClient.buildCollectionParam(e.id,"multi"),senderSmsPhoneNumber:e.senderSmsPhoneNumber,contentTemplateId:e.contentTemplateId,campaignStatus:e.campaignStatus},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundRuleset(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleSetId" when calling getOutboundRuleset';return this.apiClient.callApi("/api/v2/outbound/rulesets/{ruleSetId}","GET",{ruleSetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundRulesets(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/rulesets","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSchedulesCampaign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling getOutboundSchedulesCampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/campaigns/{campaignId}","GET",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundSchedulesCampaigns(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/schedules/campaigns","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSchedulesEmailcampaign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "emailCampaignId" when calling getOutboundSchedulesEmailcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/emailcampaigns/{emailCampaignId}","GET",{emailCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundSchedulesEmailcampaigns(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/schedules/emailcampaigns","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSchedulesMessagingcampaign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling getOutboundSchedulesMessagingcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/messagingcampaigns/{messagingCampaignId}","GET",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundSchedulesMessagingcampaigns(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/schedules/messagingcampaigns","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSchedulesSequence(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sequenceId" when calling getOutboundSchedulesSequence';return this.apiClient.callApi("/api/v2/outbound/schedules/sequences/{sequenceId}","GET",{sequenceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundSchedulesSequences(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/schedules/sequences","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSchedulesWhatsappcampaign(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "whatsAppCampaignId" when calling getOutboundSchedulesWhatsappcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/whatsappcampaigns/{whatsAppCampaignId}","GET",{whatsAppCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundSchedulesWhatsappcampaigns(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/schedules/whatsappcampaigns","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSequence(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sequenceId" when calling getOutboundSequence';return this.apiClient.callApi("/api/v2/outbound/sequences/{sequenceId}","GET",{sequenceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOutboundSequences(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/sequences","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,allowEmptyResult:e.allowEmptyResult,filterType:e.filterType,name:e.name,sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getOutboundWrapupcodemappings(e){return e=e||{},this.apiClient.callApi("/api/v2/outbound/wrapupcodemappings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchOutboundCampaign(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling patchOutboundCampaign';if(i==null)throw'Missing the required parameter "body" when calling patchOutboundCampaign';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}","PATCH",{campaignId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchOutboundDnclistCustomexclusioncolumns(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling patchOutboundDnclistCustomexclusioncolumns';if(i==null)throw'Missing the required parameter "body" when calling patchOutboundDnclistCustomexclusioncolumns';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns","PATCH",{dncListId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchOutboundDnclistEmailaddresses(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling patchOutboundDnclistEmailaddresses';if(i==null)throw'Missing the required parameter "body" when calling patchOutboundDnclistEmailaddresses';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/emailaddresses","PATCH",{dncListId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchOutboundDnclistPhonenumbers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling patchOutboundDnclistPhonenumbers';if(i==null)throw'Missing the required parameter "body" when calling patchOutboundDnclistPhonenumbers';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/phonenumbers","PATCH",{dncListId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchOutboundDnclistWhatsappnumbers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling patchOutboundDnclistWhatsappnumbers';if(i==null)throw'Missing the required parameter "body" when calling patchOutboundDnclistWhatsappnumbers';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/whatsappnumbers","PATCH",{dncListId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchOutboundSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchOutboundSettings';return this.apiClient.callApi("/api/v2/outbound/settings","PATCH",{},{useMaxCallsPerAgentDecimal:i.useMaxCallsPerAgentDecimal},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundAttemptlimits(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundAttemptlimits';return this.apiClient.callApi("/api/v2/outbound/attemptlimits","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundCallabletimesets(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundCallabletimesets';return this.apiClient.callApi("/api/v2/outbound/callabletimesets","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundCallanalysisresponsesets(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundCallanalysisresponsesets';return this.apiClient.callApi("/api/v2/outbound/callanalysisresponsesets","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundCampaignAgentownedmappingpreview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling postOutboundCampaignAgentownedmappingpreview';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/agentownedmappingpreview","POST",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundCampaignCallbackSchedule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling postOutboundCampaignCallbackSchedule';if(i==null)throw'Missing the required parameter "body" when calling postOutboundCampaignCallbackSchedule';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/callback/schedule","POST",{campaignId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundCampaignStart(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling postOutboundCampaignStart';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/start","POST",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundCampaignStop(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling postOutboundCampaignStop';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/stop","POST",{campaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundCampaignrules(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundCampaignrules';return this.apiClient.callApi("/api/v2/outbound/campaignrules","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundCampaigns(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundCampaigns';return this.apiClient.callApi("/api/v2/outbound/campaigns","POST",{},{useMaxCallsPerAgentDecimal:i.useMaxCallsPerAgentDecimal},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundCampaignsPerformanceQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundCampaignsPerformanceQuery';return this.apiClient.callApi("/api/v2/outbound/campaigns/performance/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundCampaignsProgress(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundCampaignsProgress';return this.apiClient.callApi("/api/v2/outbound/campaigns/progress","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlistClear(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistClear';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/clear","POST",{contactListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlistContacts(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContacts';if(i==null)throw'Missing the required parameter "body" when calling postOutboundContactlistContacts';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts","POST",{contactListId:e},{priority:n.priority,clearSystemData:n.clearSystemData,doNotQueue:n.doNotQueue},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlistContactsBulk(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulk';if(i==null)throw'Missing the required parameter "body" when calling postOutboundContactlistContactsBulk';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/bulk","POST",{contactListId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlistContactsBulkRemove(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulkRemove';if(i==null)throw'Missing the required parameter "body" when calling postOutboundContactlistContactsBulkRemove';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/remove","POST",{contactListId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlistContactsBulkUpdate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulkUpdate';if(i==null)throw'Missing the required parameter "body" when calling postOutboundContactlistContactsBulkUpdate';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/update","POST",{contactListId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlistContactsSearch(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsSearch';if(i==null)throw'Missing the required parameter "body" when calling postOutboundContactlistContactsSearch';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/search","POST",{contactListId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundContactlistExport(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling postOutboundContactlistExport';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/export","POST",{contactListId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlistfilters(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlistfilters';return this.apiClient.callApi("/api/v2/outbound/contactlistfilters","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlistfiltersBulkRetrieve(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlistfiltersBulkRetrieve';return this.apiClient.callApi("/api/v2/outbound/contactlistfilters/bulk/retrieve","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlistfiltersPreview(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlistfiltersPreview';return this.apiClient.callApi("/api/v2/outbound/contactlistfilters/preview","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlists(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlists';return this.apiClient.callApi("/api/v2/outbound/contactlists","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlistsUploads(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlistsUploads';return this.apiClient.callApi("/api/v2/outbound/contactlists/uploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlisttemplates(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlisttemplates';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlisttemplatesBulkAdd(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkAdd';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates/bulk/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundContactlisttemplatesBulkRetrieve(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkRetrieve';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates/bulk/retrieve","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundConversationDnc(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postOutboundConversationDnc';return this.apiClient.callApi("/api/v2/outbound/conversations/{conversationId}/dnc","POST",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundDigitalrulesets(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundDigitalrulesets';return this.apiClient.callApi("/api/v2/outbound/digitalrulesets","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundDnclistEmailaddresses(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling postOutboundDnclistEmailaddresses';if(i==null)throw'Missing the required parameter "body" when calling postOutboundDnclistEmailaddresses';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/emailaddresses","POST",{dncListId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundDnclistExport(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling postOutboundDnclistExport';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/export","POST",{dncListId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundDnclistPhonenumbers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling postOutboundDnclistPhonenumbers';if(i==null)throw'Missing the required parameter "body" when calling postOutboundDnclistPhonenumbers';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}/phonenumbers","POST",{dncListId:e},{expirationDateTime:n.expirationDateTime},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postOutboundDnclists(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundDnclists';return this.apiClient.callApi("/api/v2/outbound/dnclists","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundDnclistsUploads(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundDnclistsUploads';return this.apiClient.callApi("/api/v2/outbound/dnclists/uploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundFilespecificationtemplates(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundFilespecificationtemplates';return this.apiClient.callApi("/api/v2/outbound/filespecificationtemplates","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundImporttemplates(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundImporttemplates';return this.apiClient.callApi("/api/v2/outbound/importtemplates","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundImporttemplatesBulkAdd(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundImporttemplatesBulkAdd';return this.apiClient.callApi("/api/v2/outbound/importtemplates/bulk/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundMessagingcampaignStart(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling postOutboundMessagingcampaignStart';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/start","POST",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundMessagingcampaignStop(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling postOutboundMessagingcampaignStop';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/stop","POST",{messagingCampaignId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundMessagingcampaigns(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundMessagingcampaigns';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundMessagingcampaignsProgress(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundMessagingcampaignsProgress';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/progress","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundRulesets(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundRulesets';return this.apiClient.callApi("/api/v2/outbound/rulesets","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOutboundSequences(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postOutboundSequences';return this.apiClient.callApi("/api/v2/outbound/sequences","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putOutboundAttemptlimit(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "attemptLimitsId" when calling putOutboundAttemptlimit';if(i==null)throw'Missing the required parameter "body" when calling putOutboundAttemptlimit';return this.apiClient.callApi("/api/v2/outbound/attemptlimits/{attemptLimitsId}","PUT",{attemptLimitsId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundCallabletimeset(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "callableTimeSetId" when calling putOutboundCallabletimeset';if(i==null)throw'Missing the required parameter "body" when calling putOutboundCallabletimeset';return this.apiClient.callApi("/api/v2/outbound/callabletimesets/{callableTimeSetId}","PUT",{callableTimeSetId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundCallanalysisresponseset(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "callAnalysisSetId" when calling putOutboundCallanalysisresponseset';if(i==null)throw'Missing the required parameter "body" when calling putOutboundCallanalysisresponseset';return this.apiClient.callApi("/api/v2/outbound/callanalysisresponsesets/{callAnalysisSetId}","PUT",{callAnalysisSetId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundCampaign(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling putOutboundCampaign';if(i==null)throw'Missing the required parameter "body" when calling putOutboundCampaign';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}","PUT",{campaignId:e},{useMaxCallsPerAgentDecimal:n.useMaxCallsPerAgentDecimal},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundCampaignAgent(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling putOutboundCampaignAgent';if(i==null||i==="")throw'Missing the required parameter "userId" when calling putOutboundCampaignAgent';if(n==null)throw'Missing the required parameter "body" when calling putOutboundCampaignAgent';return this.apiClient.callApi("/api/v2/outbound/campaigns/{campaignId}/agents/{userId}","PUT",{campaignId:e,userId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putOutboundCampaignrule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignRuleId" when calling putOutboundCampaignrule';if(i==null)throw'Missing the required parameter "body" when calling putOutboundCampaignrule';return this.apiClient.callApi("/api/v2/outbound/campaignrules/{campaignRuleId}","PUT",{campaignRuleId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundContactlist(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling putOutboundContactlist';if(i==null)throw'Missing the required parameter "body" when calling putOutboundContactlist';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}","PUT",{contactListId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundContactlistContact(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "contactListId" when calling putOutboundContactlistContact';if(i==null||i==="")throw'Missing the required parameter "contactId" when calling putOutboundContactlistContact';if(n==null)throw'Missing the required parameter "body" when calling putOutboundContactlistContact';return this.apiClient.callApi("/api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}","PUT",{contactListId:e,contactId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putOutboundContactlistfilter(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListFilterId" when calling putOutboundContactlistfilter';if(i==null)throw'Missing the required parameter "body" when calling putOutboundContactlistfilter';return this.apiClient.callApi("/api/v2/outbound/contactlistfilters/{contactListFilterId}","PUT",{contactListFilterId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundContactlisttemplate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "contactListTemplateId" when calling putOutboundContactlisttemplate';if(i==null)throw'Missing the required parameter "body" when calling putOutboundContactlisttemplate';return this.apiClient.callApi("/api/v2/outbound/contactlisttemplates/{contactListTemplateId}","PUT",{contactListTemplateId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundDigitalruleset(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "digitalRuleSetId" when calling putOutboundDigitalruleset';if(i==null)throw'Missing the required parameter "body" when calling putOutboundDigitalruleset';return this.apiClient.callApi("/api/v2/outbound/digitalrulesets/{digitalRuleSetId}","PUT",{digitalRuleSetId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundDnclist(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "dncListId" when calling putOutboundDnclist';if(i==null)throw'Missing the required parameter "body" when calling putOutboundDnclist';return this.apiClient.callApi("/api/v2/outbound/dnclists/{dncListId}","PUT",{dncListId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundFilespecificationtemplate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "fileSpecificationTemplateId" when calling putOutboundFilespecificationtemplate';if(i==null)throw'Missing the required parameter "body" when calling putOutboundFilespecificationtemplate';return this.apiClient.callApi("/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}","PUT",{fileSpecificationTemplateId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundImporttemplate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "importTemplateId" when calling putOutboundImporttemplate';if(i==null)throw'Missing the required parameter "body" when calling putOutboundImporttemplate';return this.apiClient.callApi("/api/v2/outbound/importtemplates/{importTemplateId}","PUT",{importTemplateId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundMessagingcampaign(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling putOutboundMessagingcampaign';if(i==null)throw'Missing the required parameter "body" when calling putOutboundMessagingcampaign';return this.apiClient.callApi("/api/v2/outbound/messagingcampaigns/{messagingCampaignId}","PUT",{messagingCampaignId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundRuleset(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleSetId" when calling putOutboundRuleset';if(i==null)throw'Missing the required parameter "body" when calling putOutboundRuleset';return this.apiClient.callApi("/api/v2/outbound/rulesets/{ruleSetId}","PUT",{ruleSetId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundSchedulesCampaign(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "campaignId" when calling putOutboundSchedulesCampaign';if(i==null)throw'Missing the required parameter "body" when calling putOutboundSchedulesCampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/campaigns/{campaignId}","PUT",{campaignId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundSchedulesEmailcampaign(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "emailCampaignId" when calling putOutboundSchedulesEmailcampaign';if(i==null)throw'Missing the required parameter "body" when calling putOutboundSchedulesEmailcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/emailcampaigns/{emailCampaignId}","PUT",{emailCampaignId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundSchedulesMessagingcampaign(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messagingCampaignId" when calling putOutboundSchedulesMessagingcampaign';if(i==null)throw'Missing the required parameter "body" when calling putOutboundSchedulesMessagingcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/messagingcampaigns/{messagingCampaignId}","PUT",{messagingCampaignId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundSchedulesSequence(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sequenceId" when calling putOutboundSchedulesSequence';if(i==null)throw'Missing the required parameter "body" when calling putOutboundSchedulesSequence';return this.apiClient.callApi("/api/v2/outbound/schedules/sequences/{sequenceId}","PUT",{sequenceId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundSchedulesWhatsappcampaign(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "whatsAppCampaignId" when calling putOutboundSchedulesWhatsappcampaign';if(i==null)throw'Missing the required parameter "body" when calling putOutboundSchedulesWhatsappcampaign';return this.apiClient.callApi("/api/v2/outbound/schedules/whatsappcampaigns/{whatsAppCampaignId}","PUT",{whatsAppCampaignId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundSequence(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sequenceId" when calling putOutboundSequence';if(i==null)throw'Missing the required parameter "body" when calling putOutboundSequence';return this.apiClient.callApi("/api/v2/outbound/sequences/{sequenceId}","PUT",{sequenceId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putOutboundWrapupcodemappings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';return this.apiClient.callApi("/api/v2/outbound/wrapupcodemappings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},JA=class{constructor(e){this.apiClient=e||k.instance}deletePresenceDefinition0(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "definitionId" when calling deletePresenceDefinition0';return this.apiClient.callApi("/api/v2/presence/definitions/{definitionId}","DELETE",{definitionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deletePresenceSource(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling deletePresenceSource';return this.apiClient.callApi("/api/v2/presence/sources/{sourceId}","DELETE",{sourceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deletePresencedefinition(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "presenceId" when calling deletePresencedefinition';return this.apiClient.callApi("/api/v2/presencedefinitions/{presenceId}","DELETE",{presenceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getPresenceDefinition0(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "definitionId" when calling getPresenceDefinition0';return this.apiClient.callApi("/api/v2/presence/definitions/{definitionId}","GET",{definitionId:e},{localeCode:i.localeCode},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getPresenceDefinitions0(e){return e=e||{},this.apiClient.callApi("/api/v2/presence/definitions","GET",{},{deactivated:e.deactivated,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),localeCode:e.localeCode},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getPresenceSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/presence/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getPresenceSource(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getPresenceSource';return this.apiClient.callApi("/api/v2/presence/sources/{sourceId}","GET",{sourceId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getPresenceSources(e){return e=e||{},this.apiClient.callApi("/api/v2/presence/sources","GET",{},{deactivated:e.deactivated},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getPresenceUserPrimarysource(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getPresenceUserPrimarysource';return this.apiClient.callApi("/api/v2/presence/users/{userId}/primarysource","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getPresencedefinition(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "presenceId" when calling getPresencedefinition';return this.apiClient.callApi("/api/v2/presencedefinitions/{presenceId}","GET",{presenceId:e},{localeCode:i.localeCode},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getPresencedefinitions(e){return e=e||{},this.apiClient.callApi("/api/v2/presencedefinitions","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,deleted:e.deleted,localeCode:e.localeCode},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSystempresences(e){return e=e||{},this.apiClient.callApi("/api/v2/systempresences","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUserPresence(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserPresence';if(i==null||i==="")throw'Missing the required parameter "sourceId" when calling getUserPresence';return this.apiClient.callApi("/api/v2/users/{userId}/presences/{sourceId}","GET",{userId:e,sourceId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserPresencesPurecloud(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserPresencesPurecloud';return this.apiClient.callApi("/api/v2/users/{userId}/presences/purecloud","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersPresenceBulk(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getUsersPresenceBulk';return this.apiClient.callApi("/api/v2/users/presences/{sourceId}/bulk","GET",{sourceId:e},{id:this.apiClient.buildCollectionParam(i.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersPresencesPurecloudBulk(e){return e=e||{},this.apiClient.callApi("/api/v2/users/presences/purecloud/bulk","GET",{},{id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchUserPresence(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserPresence';if(i==null||i==="")throw'Missing the required parameter "sourceId" when calling patchUserPresence';if(n==null)throw'Missing the required parameter "body" when calling patchUserPresence';return this.apiClient.callApi("/api/v2/users/{userId}/presences/{sourceId}","PATCH",{userId:e,sourceId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchUserPresencesPurecloud(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserPresencesPurecloud';if(i==null)throw'Missing the required parameter "body" when calling patchUserPresencesPurecloud';return this.apiClient.callApi("/api/v2/users/{userId}/presences/purecloud","PATCH",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postPresenceDefinitions0(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postPresenceDefinitions0';return this.apiClient.callApi("/api/v2/presence/definitions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postPresenceSources(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postPresenceSources';return this.apiClient.callApi("/api/v2/presence/sources","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postPresencedefinitions(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postPresencedefinitions';return this.apiClient.callApi("/api/v2/presencedefinitions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putPresenceDefinition0(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "definitionId" when calling putPresenceDefinition0';if(i==null)throw'Missing the required parameter "body" when calling putPresenceDefinition0';return this.apiClient.callApi("/api/v2/presence/definitions/{definitionId}","PUT",{definitionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putPresenceSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putPresenceSettings';return this.apiClient.callApi("/api/v2/presence/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putPresenceSource(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling putPresenceSource';if(i==null)throw'Missing the required parameter "body" when calling putPresenceSource';return this.apiClient.callApi("/api/v2/presence/sources/{sourceId}","PUT",{sourceId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putPresenceUserPrimarysource(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putPresenceUserPrimarysource';if(i==null)throw'Missing the required parameter "body" when calling putPresenceUserPrimarysource';return this.apiClient.callApi("/api/v2/presence/users/{userId}/primarysource","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putPresencedefinition(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "presenceId" when calling putPresencedefinition';if(i==null)throw'Missing the required parameter "body" when calling putPresencedefinition';return this.apiClient.callApi("/api/v2/presencedefinitions/{presenceId}","PUT",{presenceId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUsersPresencesBulk(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putUsersPresencesBulk';return this.apiClient.callApi("/api/v2/users/presences/bulk","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},ZA=class{constructor(e){this.apiClient=e||k.instance}deleteProcessautomationScheduledtrigger(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scheduledTriggerId" when calling deleteProcessautomationScheduledtrigger';return this.apiClient.callApi("/api/v2/processautomation/scheduledtriggers/{scheduledTriggerId}","DELETE",{scheduledTriggerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteProcessautomationTrigger(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "triggerId" when calling deleteProcessautomationTrigger';return this.apiClient.callApi("/api/v2/processautomation/triggers/{triggerId}","DELETE",{triggerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getProcessautomationScheduledtrigger(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scheduledTriggerId" when calling getProcessautomationScheduledtrigger';return this.apiClient.callApi("/api/v2/processautomation/scheduledtriggers/{scheduledTriggerId}","GET",{scheduledTriggerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getProcessautomationScheduledtriggers(e){return e=e||{},this.apiClient.callApi("/api/v2/processautomation/scheduledtriggers","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,enabled:e.enabled},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getProcessautomationTrigger(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "triggerId" when calling getProcessautomationTrigger';return this.apiClient.callApi("/api/v2/processautomation/triggers/{triggerId}","GET",{triggerId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getProcessautomationTriggers(e){return e=e||{},this.apiClient.callApi("/api/v2/processautomation/triggers","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,topicName:e.topicName,enabled:e.enabled,hasDelayBy:e.hasDelayBy},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getProcessautomationTriggersTopics(e){return e=e||{},this.apiClient.callApi("/api/v2/processautomation/triggers/topics","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postProcessautomationScheduledtriggers(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postProcessautomationScheduledtriggers';return this.apiClient.callApi("/api/v2/processautomation/scheduledtriggers","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postProcessautomationTriggerTest(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "triggerId" when calling postProcessautomationTriggerTest';return this.apiClient.callApi("/api/v2/processautomation/triggers/{triggerId}/test","POST",{triggerId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postProcessautomationTriggers(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postProcessautomationTriggers';return this.apiClient.callApi("/api/v2/processautomation/triggers","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postProcessautomationTriggersTopicTest(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicName" when calling postProcessautomationTriggersTopicTest';return this.apiClient.callApi("/api/v2/processautomation/triggers/topics/{topicName}/test","POST",{topicName:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putProcessautomationScheduledtrigger(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scheduledTriggerId" when calling putProcessautomationScheduledtrigger';if(i==null)throw'Missing the required parameter "body" when calling putProcessautomationScheduledtrigger';return this.apiClient.callApi("/api/v2/processautomation/scheduledtriggers/{scheduledTriggerId}","PUT",{scheduledTriggerId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putProcessautomationTrigger(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "triggerId" when calling putProcessautomationTrigger';if(i==null)throw'Missing the required parameter "body" when calling putProcessautomationTrigger';return this.apiClient.callApi("/api/v2/processautomation/triggers/{triggerId}","PUT",{triggerId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},KA=class{constructor(e){this.apiClient=e||k.instance}deleteAnalyticsEvaluationsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsEvaluationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsSurveysAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsSurveysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteQualityCalibration(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "calibrationId" when calling deleteQualityCalibration';if(i==null)throw'Missing the required parameter "calibratorId" when calling deleteQualityCalibration';return this.apiClient.callApi("/api/v2/quality/calibrations/{calibrationId}","DELETE",{calibrationId:e},{calibratorId:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteQualityConversationEvaluation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteQualityConversationEvaluation';if(i==null||i==="")throw'Missing the required parameter "evaluationId" when calling deleteQualityConversationEvaluation';return this.apiClient.callApi("/api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}","DELETE",{conversationId:e,evaluationId:i},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteQualityForm(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling deleteQualityForm';return this.apiClient.callApi("/api/v2/quality/forms/{formId}","DELETE",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteQualityFormsEvaluation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling deleteQualityFormsEvaluation';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/{formId}","DELETE",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteQualityFormsSurvey(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling deleteQualityFormsSurvey';return this.apiClient.callApi("/api/v2/quality/forms/surveys/{formId}","DELETE",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteQualityProgramAgentscoringrule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling deleteQualityProgramAgentscoringrule';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling deleteQualityProgramAgentscoringrule';return this.apiClient.callApi("/api/v2/quality/programs/{programId}/agentscoringrules/{ruleId}","DELETE",{programId:e,ruleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAnalyticsEvaluationsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsEvaluationsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsSurveysAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsSurveysAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityAgentsActivity(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/agents/activity","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,startTime:e.startTime,endTime:e.endTime,agentUserId:this.apiClient.buildCollectionParam(e.agentUserId,"multi"),evaluatorUserId:e.evaluatorUserId,name:e.name,group:e.group,agentTeamId:e.agentTeamId,formContextId:e.formContextId,userState:e.userState},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityCalibration(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "calibrationId" when calling getQualityCalibration';return this.apiClient.callApi("/api/v2/quality/calibrations/{calibrationId}","GET",{calibrationId:e},{calibratorId:i.calibratorId,conversationId:i.conversationId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityCalibrations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "calibratorId" when calling getQualityCalibrations';return this.apiClient.callApi("/api/v2/quality/calibrations","GET",{},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortBy:i.sortBy,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),nextPage:i.nextPage,previousPage:i.previousPage,conversationId:i.conversationId,startTime:i.startTime,endTime:i.endTime,calibratorId:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityConversationEvaluation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getQualityConversationEvaluation';if(i==null||i==="")throw'Missing the required parameter "evaluationId" when calling getQualityConversationEvaluation';return this.apiClient.callApi("/api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}","GET",{conversationId:e,evaluationId:i},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityConversationSurveys(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getQualityConversationSurveys';return this.apiClient.callApi("/api/v2/quality/conversations/{conversationId}/surveys","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityConversationsAuditsQueryTransactionId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "transactionId" when calling getQualityConversationsAuditsQueryTransactionId';return this.apiClient.callApi("/api/v2/quality/conversations/audits/query/{transactionId}","GET",{transactionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityConversationsAuditsQueryTransactionIdResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "transactionId" when calling getQualityConversationsAuditsQueryTransactionIdResults';return this.apiClient.callApi("/api/v2/quality/conversations/audits/query/{transactionId}/results","GET",{transactionId:e},{cursor:i.cursor,pageSize:i.pageSize,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityEvaluationsQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/evaluations/query","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),previousPage:e.previousPage,conversationId:e.conversationId,agentUserId:e.agentUserId,agentTeamId:e.agentTeamId,evaluatorUserId:e.evaluatorUserId,assigneeUserId:e.assigneeUserId,queueId:e.queueId,startTime:e.startTime,endTime:e.endTime,formContextId:e.formContextId,evaluationState:this.apiClient.buildCollectionParam(e.evaluationState,"multi"),isReleased:e.isReleased,agentHasRead:e.agentHasRead,expandAnswerTotalScores:e.expandAnswerTotalScores,maximum:e.maximum,sortOrder:e.sortOrder,includeDeletedUsers:e.includeDeletedUsers},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityEvaluatorsActivity(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/evaluators/activity","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,startTime:e.startTime,endTime:e.endTime,name:e.name,permission:this.apiClient.buildCollectionParam(e.permission,"multi"),group:e.group,agentTeamId:e.agentTeamId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityForm(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityForm';return this.apiClient.callApi("/api/v2/quality/forms/{formId}","GET",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityFormVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityFormVersions';return this.apiClient.callApi("/api/v2/quality/forms/{formId}/versions","GET",{formId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityForms(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/forms","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,nextPage:e.nextPage,previousPage:e.previousPage,expand:e.expand,name:e.name,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityFormsEvaluation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityFormsEvaluation';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/{formId}","GET",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityFormsEvaluationVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityFormsEvaluationVersions';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/{formId}/versions","GET",{formId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityFormsEvaluations(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/forms/evaluations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,nextPage:e.nextPage,previousPage:e.previousPage,expand:e.expand,name:e.name,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityFormsEvaluationsBulk(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling getQualityFormsEvaluationsBulk';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/bulk","GET",{},{id:this.apiClient.buildCollectionParam(e,"multi"),includeLatestVersionFormName:i.includeLatestVersionFormName},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityFormsEvaluationsBulkContexts(e,i){if(i=i||{},e==null)throw'Missing the required parameter "contextId" when calling getQualityFormsEvaluationsBulkContexts';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/bulk/contexts","GET",{},{contextId:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityFormsSurvey(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityFormsSurvey';return this.apiClient.callApi("/api/v2/quality/forms/surveys/{formId}","GET",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityFormsSurveyVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityFormsSurveyVersions';return this.apiClient.callApi("/api/v2/quality/forms/surveys/{formId}/versions","GET",{formId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityFormsSurveys(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/forms/surveys","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,nextPage:e.nextPage,previousPage:e.previousPage,expand:e.expand,name:e.name,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityFormsSurveysBulk(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling getQualityFormsSurveysBulk';return this.apiClient.callApi("/api/v2/quality/forms/surveys/bulk","GET",{},{id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityFormsSurveysBulkContexts(e,i){if(i=i||{},e==null)throw'Missing the required parameter "contextId" when calling getQualityFormsSurveysBulkContexts';return this.apiClient.callApi("/api/v2/quality/forms/surveys/bulk/contexts","GET",{},{contextId:this.apiClient.buildCollectionParam(e,"multi"),published:i.published},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityProgramAgentscoringrule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getQualityProgramAgentscoringrule';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling getQualityProgramAgentscoringrule';return this.apiClient.callApi("/api/v2/quality/programs/{programId}/agentscoringrules/{ruleId}","GET",{programId:e,ruleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getQualityProgramAgentscoringrules(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getQualityProgramAgentscoringrules';return this.apiClient.callApi("/api/v2/quality/programs/{programId}/agentscoringrules","GET",{programId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityPublishedform(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityPublishedform';return this.apiClient.callApi("/api/v2/quality/publishedforms/{formId}","GET",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityPublishedforms(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/publishedforms","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,onlyLatestPerContext:e.onlyLatestPerContext},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityPublishedformsEvaluation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityPublishedformsEvaluation';return this.apiClient.callApi("/api/v2/quality/publishedforms/evaluations/{formId}","GET",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityPublishedformsEvaluations(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/publishedforms/evaluations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,onlyLatestPerContext:e.onlyLatestPerContext},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityPublishedformsEvaluationsDivisionview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "evaluationFormId" when calling getQualityPublishedformsEvaluationsDivisionview';return this.apiClient.callApi("/api/v2/quality/publishedforms/evaluations/divisionviews/{evaluationFormId}","GET",{evaluationFormId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityPublishedformsEvaluationsDivisionviews(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling getQualityPublishedformsEvaluationsDivisionviews';return this.apiClient.callApi("/api/v2/quality/publishedforms/evaluations/divisionviews","GET",{},{pageSize:i.pageSize,pageNumber:i.pageNumber,name:i.name,divisionId:i.divisionId,id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityPublishedformsSurvey(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "formId" when calling getQualityPublishedformsSurvey';return this.apiClient.callApi("/api/v2/quality/publishedforms/surveys/{formId}","GET",{formId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityPublishedformsSurveys(e){return e=e||{},this.apiClient.callApi("/api/v2/quality/publishedforms/surveys","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,onlyLatestEnabledPerContext:e.onlyLatestEnabledPerContext},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getQualityPublishedformsSurveysDivisionview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "surveyFormId" when calling getQualityPublishedformsSurveysDivisionview';return this.apiClient.callApi("/api/v2/quality/publishedforms/surveys/divisionviews/{surveyFormId}","GET",{surveyFormId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualityPublishedformsSurveysDivisionviews(e,i){if(i=i||{},e==null)throw'Missing the required parameter "id" when calling getQualityPublishedformsSurveysDivisionviews';return this.apiClient.callApi("/api/v2/quality/publishedforms/surveys/divisionviews","GET",{},{pageSize:i.pageSize,pageNumber:i.pageNumber,name:i.name,divisionId:i.divisionId,id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualitySurvey(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "surveyId" when calling getQualitySurvey';return this.apiClient.callApi("/api/v2/quality/surveys/{surveyId}","GET",{surveyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getQualitySurveysScorable(e,i){if(i=i||{},e==null)throw'Missing the required parameter "customerSurveyUrl" when calling getQualitySurveysScorable';return this.apiClient.callApi("/api/v2/quality/surveys/scorable","GET",{},{customerSurveyUrl:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchQualityFormsSurvey(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling patchQualityFormsSurvey';if(i==null)throw'Missing the required parameter "body" when calling patchQualityFormsSurvey';return this.apiClient.callApi("/api/v2/quality/forms/surveys/{formId}","PATCH",{formId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsEvaluationsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsEvaluationsAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/evaluations/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsSurveysAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsSurveysAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/surveys/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityCalibrations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualityCalibrations';return this.apiClient.callApi("/api/v2/quality/calibrations","POST",{},{expand:i.expand},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityConversationEvaluations(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postQualityConversationEvaluations';if(i==null)throw'Missing the required parameter "body" when calling postQualityConversationEvaluations';return this.apiClient.callApi("/api/v2/quality/conversations/{conversationId}/evaluations","POST",{conversationId:e},{expand:n.expand},{"Idempotency-Key":n.idempotencyKey},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityConversationsAuditsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualityConversationsAuditsQuery';return this.apiClient.callApi("/api/v2/quality/conversations/audits/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityEvaluationsAggregatesQueryMe(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualityEvaluationsAggregatesQueryMe';return this.apiClient.callApi("/api/v2/quality/evaluations/aggregates/query/me","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityEvaluationsScoring(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualityEvaluationsScoring';return this.apiClient.callApi("/api/v2/quality/evaluations/scoring","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityEvaluationsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualityEvaluationsSearch';return this.apiClient.callApi("/api/v2/quality/evaluations/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityForms(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualityForms';return this.apiClient.callApi("/api/v2/quality/forms","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityFormsEvaluations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualityFormsEvaluations';return this.apiClient.callApi("/api/v2/quality/forms/evaluations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityFormsSurveys(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualityFormsSurveys';return this.apiClient.callApi("/api/v2/quality/forms/surveys","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityProgramAgentscoringrules(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling postQualityProgramAgentscoringrules';if(i==null)throw'Missing the required parameter "body" when calling postQualityProgramAgentscoringrules';return this.apiClient.callApi("/api/v2/quality/programs/{programId}/agentscoringrules","POST",{programId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postQualityPublishedforms(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualityPublishedforms';return this.apiClient.callApi("/api/v2/quality/publishedforms","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityPublishedformsEvaluations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualityPublishedformsEvaluations';return this.apiClient.callApi("/api/v2/quality/publishedforms/evaluations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualityPublishedformsSurveys(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualityPublishedformsSurveys';return this.apiClient.callApi("/api/v2/quality/publishedforms/surveys","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualitySurveys(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualitySurveys';return this.apiClient.callApi("/api/v2/quality/surveys","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postQualitySurveysScoring(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postQualitySurveysScoring';return this.apiClient.callApi("/api/v2/quality/surveys/scoring","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putQualityCalibration(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "calibrationId" when calling putQualityCalibration';if(i==null)throw'Missing the required parameter "body" when calling putQualityCalibration';return this.apiClient.callApi("/api/v2/quality/calibrations/{calibrationId}","PUT",{calibrationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putQualityConversationEvaluation(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putQualityConversationEvaluation';if(i==null||i==="")throw'Missing the required parameter "evaluationId" when calling putQualityConversationEvaluation';if(n==null)throw'Missing the required parameter "body" when calling putQualityConversationEvaluation';return this.apiClient.callApi("/api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}","PUT",{conversationId:e,evaluationId:i},{expand:a.expand},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putQualityForm(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling putQualityForm';if(i==null)throw'Missing the required parameter "body" when calling putQualityForm';return this.apiClient.callApi("/api/v2/quality/forms/{formId}","PUT",{formId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putQualityFormsEvaluation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling putQualityFormsEvaluation';if(i==null)throw'Missing the required parameter "body" when calling putQualityFormsEvaluation';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/{formId}","PUT",{formId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putQualityFormsEvaluationAiscoringSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling putQualityFormsEvaluationAiscoringSettings';if(i==null)throw'Missing the required parameter "body" when calling putQualityFormsEvaluationAiscoringSettings';return this.apiClient.callApi("/api/v2/quality/forms/evaluations/{formId}/aiscoring/settings","PUT",{formId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putQualityFormsSurvey(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "formId" when calling putQualityFormsSurvey';if(i==null)throw'Missing the required parameter "body" when calling putQualityFormsSurvey';return this.apiClient.callApi("/api/v2/quality/forms/surveys/{formId}","PUT",{formId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putQualityProgramAgentscoringrule(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "programId" when calling putQualityProgramAgentscoringrule';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling putQualityProgramAgentscoringrule';if(n==null)throw'Missing the required parameter "body" when calling putQualityProgramAgentscoringrule';return this.apiClient.callApi("/api/v2/quality/programs/{programId}/agentscoringrules/{ruleId}","PUT",{programId:e,ruleId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putQualitySurveysScorable(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "customerSurveyUrl" when calling putQualitySurveysScorable';if(i==null)throw'Missing the required parameter "body" when calling putQualitySurveysScorable';return this.apiClient.callApi("/api/v2/quality/surveys/scorable","PUT",{},{customerSurveyUrl:e},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},QA=class{constructor(e){this.apiClient=e||k.instance}deleteConversationRecordingAnnotation(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationRecordingAnnotation';if(i==null||i==="")throw'Missing the required parameter "recordingId" when calling deleteConversationRecordingAnnotation';if(n==null||n==="")throw'Missing the required parameter "annotationId" when calling deleteConversationRecordingAnnotation';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}","DELETE",{conversationId:e,recordingId:i,annotationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteOrphanrecording(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "orphanId" when calling deleteOrphanrecording';return this.apiClient.callApi("/api/v2/orphanrecordings/{orphanId}","DELETE",{orphanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRecordingCrossplatformMediaretentionpolicies(e,i){if(i=i||{},e==null)throw'Missing the required parameter "ids" when calling deleteRecordingCrossplatformMediaretentionpolicies';return this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies","DELETE",{},{ids:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRecordingCrossplatformMediaretentionpolicy(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling deleteRecordingCrossplatformMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}","DELETE",{policyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRecordingJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteRecordingJob';return this.apiClient.callApi("/api/v2/recording/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRecordingMediaretentionpolicies(e,i){if(i=i||{},e==null)throw'Missing the required parameter "ids" when calling deleteRecordingMediaretentionpolicies';return this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies","DELETE",{},{ids:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRecordingMediaretentionpolicy(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling deleteRecordingMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies/{policyId}","DELETE",{policyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationRecording(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationRecording';if(i==null||i==="")throw'Missing the required parameter "recordingId" when calling getConversationRecording';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}","GET",{conversationId:e,recordingId:i},{formatId:n.formatId,emailFormatId:n.emailFormatId,chatFormatId:n.chatFormatId,messageFormatId:n.messageFormatId,download:n.download,fileName:n.fileName,locale:n.locale,mediaFormats:this.apiClient.buildCollectionParam(n.mediaFormats,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationRecordingAnnotation(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationRecordingAnnotation';if(i==null||i==="")throw'Missing the required parameter "recordingId" when calling getConversationRecordingAnnotation';if(n==null||n==="")throw'Missing the required parameter "annotationId" when calling getConversationRecordingAnnotation';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}","GET",{conversationId:e,recordingId:i,annotationId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getConversationRecordingAnnotations(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationRecordingAnnotations';if(i==null||i==="")throw'Missing the required parameter "recordingId" when calling getConversationRecordingAnnotations';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations","GET",{conversationId:e,recordingId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationRecordingmetadata(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationRecordingmetadata';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordingmetadata","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationRecordingmetadataRecordingId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationRecordingmetadataRecordingId';if(i==null||i==="")throw'Missing the required parameter "recordingId" when calling getConversationRecordingmetadataRecordingId';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordingmetadata/{recordingId}","GET",{conversationId:e,recordingId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationRecordings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationRecordings';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings","GET",{conversationId:e},{maxWaitMs:i.maxWaitMs,formatId:i.formatId,mediaFormats:this.apiClient.buildCollectionParam(i.mediaFormats,"multi"),locale:i.locale,includePauseAnnotationsForScreenRecordings:i.includePauseAnnotationsForScreenRecordings},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrphanrecording(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "orphanId" when calling getOrphanrecording';return this.apiClient.callApi("/api/v2/orphanrecordings/{orphanId}","GET",{orphanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrphanrecordingMedia(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "orphanId" when calling getOrphanrecordingMedia';return this.apiClient.callApi("/api/v2/orphanrecordings/{orphanId}/media","GET",{orphanId:e},{formatId:i.formatId,emailFormatId:i.emailFormatId,chatFormatId:i.chatFormatId,messageFormatId:i.messageFormatId,download:i.download,fileName:i.fileName,locale:i.locale,mediaFormats:this.apiClient.buildCollectionParam(i.mediaFormats,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getOrphanrecordings(e){return e=e||{},this.apiClient.callApi("/api/v2/orphanrecordings","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,hasConversation:e.hasConversation,media:e.media},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingBatchrequest(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getRecordingBatchrequest';return this.apiClient.callApi("/api/v2/recording/batchrequests/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRecordingCrossplatformMediaretentionpolicies(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,name:e.name,enabled:e.enabled,summary:e.summary,hasErrors:e.hasErrors,deleteDaysThreshold:e.deleteDaysThreshold},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingCrossplatformMediaretentionpolicy(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling getRecordingCrossplatformMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}","GET",{policyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRecordingJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getRecordingJob';return this.apiClient.callApi("/api/v2/recording/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRecordingJobFailedrecordings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getRecordingJobFailedrecordings';return this.apiClient.callApi("/api/v2/recording/jobs/{jobId}/failedrecordings","GET",{jobId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,includeTotal:i.includeTotal,cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRecordingJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/jobs","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,state:e.state,showOnlyMyJobs:e.showOnlyMyJobs,jobType:e.jobType,includeTotal:e.includeTotal,cursor:e.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingKeyconfiguration(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "keyConfigurationId" when calling getRecordingKeyconfiguration';return this.apiClient.callApi("/api/v2/recording/keyconfigurations/{keyConfigurationId}","GET",{keyConfigurationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRecordingKeyconfigurations(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/keyconfigurations","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingMediaretentionpolicies(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),nextPage:e.nextPage,previousPage:e.previousPage,name:e.name,enabled:e.enabled,summary:e.summary,hasErrors:e.hasErrors,deleteDaysThreshold:e.deleteDaysThreshold},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingMediaretentionpolicy(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling getRecordingMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies/{policyId}","GET",{policyId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRecordingRecordingkeys(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/recordingkeys","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingRecordingkeysRotationschedule(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/recordingkeys/rotationschedule","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/settings","GET",{},{createDefault:e.createDefault},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRecordingUploadsReport(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "reportId" when calling getRecordingUploadsReport';return this.apiClient.callApi("/api/v2/recording/uploads/reports/{reportId}","GET",{reportId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRecordingsRetentionQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "retentionThresholdDays" when calling getRecordingsRetentionQuery';return this.apiClient.callApi("/api/v2/recordings/retention/query","GET",{},{retentionThresholdDays:e,cursor:i.cursor,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRecordingsScreensessionsDetails(e){return e=e||{},this.apiClient.callApi("/api/v2/recordings/screensessions/details","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchRecordingCrossplatformMediaretentionpolicy(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling patchRecordingCrossplatformMediaretentionpolicy';if(i==null)throw'Missing the required parameter "body" when calling patchRecordingCrossplatformMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}","PATCH",{policyId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRecordingMediaretentionpolicy(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling patchRecordingMediaretentionpolicy';if(i==null)throw'Missing the required parameter "body" when calling patchRecordingMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies/{policyId}","PATCH",{policyId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationRecordingAnnotations(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationRecordingAnnotations';if(i==null||i==="")throw'Missing the required parameter "recordingId" when calling postConversationRecordingAnnotations';if(n==null)throw'Missing the required parameter "body" when calling postConversationRecordingAnnotations';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations","POST",{conversationId:e,recordingId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postRecordingBatchrequests(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRecordingBatchrequests';return this.apiClient.callApi("/api/v2/recording/batchrequests","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRecordingCrossplatformMediaretentionpolicies(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRecordingCrossplatformMediaretentionpolicies';return this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRecordingJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRecordingJobs';return this.apiClient.callApi("/api/v2/recording/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRecordingKeyconfigurations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRecordingKeyconfigurations';return this.apiClient.callApi("/api/v2/recording/keyconfigurations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRecordingKeyconfigurationsValidate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRecordingKeyconfigurationsValidate';return this.apiClient.callApi("/api/v2/recording/keyconfigurations/validate","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRecordingLocalkeys(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRecordingLocalkeys';return this.apiClient.callApi("/api/v2/recording/localkeys","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRecordingMediaretentionpolicies(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRecordingMediaretentionpolicies';return this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRecordingRecordingkeys(e){return e=e||{},this.apiClient.callApi("/api/v2/recording/recordingkeys","POST",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postRecordingUploadsReports(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRecordingUploadsReports';return this.apiClient.callApi("/api/v2/recording/uploads/reports","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRecordingsDeletionprotection(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRecordingsDeletionprotection';return this.apiClient.callApi("/api/v2/recordings/deletionprotection","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRecordingsScreensessionsAcknowledge(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRecordingsScreensessionsAcknowledge';return this.apiClient.callApi("/api/v2/recordings/screensessions/acknowledge","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRecordingsScreensessionsMetadata(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRecordingsScreensessionsMetadata';return this.apiClient.callApi("/api/v2/recordings/screensessions/metadata","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putConversationRecording(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationRecording';if(i==null||i==="")throw'Missing the required parameter "recordingId" when calling putConversationRecording';if(n==null)throw'Missing the required parameter "body" when calling putConversationRecording';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}","PUT",{conversationId:e,recordingId:i},{clearExport:a.clearExport},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putConversationRecordingAnnotation(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationRecordingAnnotation';if(i==null||i==="")throw'Missing the required parameter "recordingId" when calling putConversationRecordingAnnotation';if(n==null||n==="")throw'Missing the required parameter "annotationId" when calling putConversationRecordingAnnotation';if(a==null)throw'Missing the required parameter "body" when calling putConversationRecordingAnnotation';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}","PUT",{conversationId:e,recordingId:i,annotationId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}putOrphanrecording(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "orphanId" when calling putOrphanrecording';return this.apiClient.callApi("/api/v2/orphanrecordings/{orphanId}","PUT",{orphanId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRecordingCrossplatformMediaretentionpolicy(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling putRecordingCrossplatformMediaretentionpolicy';if(i==null)throw'Missing the required parameter "body" when calling putRecordingCrossplatformMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}","PUT",{policyId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRecordingJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling putRecordingJob';if(i==null)throw'Missing the required parameter "body" when calling putRecordingJob';return this.apiClient.callApi("/api/v2/recording/jobs/{jobId}","PUT",{jobId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRecordingKeyconfiguration(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "keyConfigurationId" when calling putRecordingKeyconfiguration';if(i==null)throw'Missing the required parameter "body" when calling putRecordingKeyconfiguration';return this.apiClient.callApi("/api/v2/recording/keyconfigurations/{keyConfigurationId}","PUT",{keyConfigurationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRecordingMediaretentionpolicy(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "policyId" when calling putRecordingMediaretentionpolicy';if(i==null)throw'Missing the required parameter "body" when calling putRecordingMediaretentionpolicy';return this.apiClient.callApi("/api/v2/recording/mediaretentionpolicies/{policyId}","PUT",{policyId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRecordingRecordingkeysRotationschedule(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putRecordingRecordingkeysRotationschedule';return this.apiClient.callApi("/api/v2/recording/recordingkeys/rotationschedule","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRecordingSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putRecordingSettings';return this.apiClient.callApi("/api/v2/recording/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRecordingsDeletionprotection(e){return e=e||{},this.apiClient.callApi("/api/v2/recordings/deletionprotection","PUT",{},{protect:e.protect},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},YA=class{constructor(e){this.apiClient=e||k.instance}deleteResponsemanagementLibrary(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "libraryId" when calling deleteResponsemanagementLibrary';return this.apiClient.callApi("/api/v2/responsemanagement/libraries/{libraryId}","DELETE",{libraryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteResponsemanagementResponse(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "responseId" when calling deleteResponsemanagementResponse';return this.apiClient.callApi("/api/v2/responsemanagement/responses/{responseId}","DELETE",{responseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteResponsemanagementResponseasset(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "responseAssetId" when calling deleteResponsemanagementResponseasset';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/{responseAssetId}","DELETE",{responseAssetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getResponsemanagementLibraries(e){return e=e||{},this.apiClient.callApi("/api/v2/responsemanagement/libraries","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,messagingTemplateFilter:e.messagingTemplateFilter,libraryPrefix:e.libraryPrefix},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getResponsemanagementLibrariesDivisionview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "libraryId" when calling getResponsemanagementLibrariesDivisionview';return this.apiClient.callApi("/api/v2/responsemanagement/libraries/divisionviews/{libraryId}","GET",{libraryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getResponsemanagementLibrariesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/responsemanagement/libraries/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,messagingTemplateFilter:e.messagingTemplateFilter,libraryPrefix:e.libraryPrefix},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getResponsemanagementLibrary(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "libraryId" when calling getResponsemanagementLibrary';return this.apiClient.callApi("/api/v2/responsemanagement/libraries/{libraryId}","GET",{libraryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getResponsemanagementResponse(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "responseId" when calling getResponsemanagementResponse';return this.apiClient.callApi("/api/v2/responsemanagement/responses/{responseId}","GET",{responseId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getResponsemanagementResponseasset(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "responseAssetId" when calling getResponsemanagementResponseasset';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/{responseAssetId}","GET",{responseAssetId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getResponsemanagementResponseassetsStatusStatusId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "statusId" when calling getResponsemanagementResponseassetsStatusStatusId';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/status/{statusId}","GET",{statusId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getResponsemanagementResponses(e,i){if(i=i||{},e==null)throw'Missing the required parameter "libraryId" when calling getResponsemanagementResponses';return this.apiClient.callApi("/api/v2/responsemanagement/responses","GET",{},{libraryId:e,pageNumber:i.pageNumber,pageSize:i.pageSize,expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getResponsemanagementResponsesDivisionview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "responseId" when calling getResponsemanagementResponsesDivisionview';return this.apiClient.callApi("/api/v2/responsemanagement/responses/divisionviews/{responseId}","GET",{responseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postResponsemanagementLibraries(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementLibraries';return this.apiClient.callApi("/api/v2/responsemanagement/libraries","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postResponsemanagementLibrariesBulk(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementLibrariesBulk';return this.apiClient.callApi("/api/v2/responsemanagement/libraries/bulk","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postResponsemanagementLibrariesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementLibrariesQuery';return this.apiClient.callApi("/api/v2/responsemanagement/libraries/query","POST",{},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postResponsemanagementResponseassetsBulk(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementResponseassetsBulk';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/bulk","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postResponsemanagementResponseassetsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementResponseassetsSearch';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/search","POST",{},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postResponsemanagementResponseassetsUploads(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementResponseassetsUploads';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/uploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postResponsemanagementResponses(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementResponses';return this.apiClient.callApi("/api/v2/responsemanagement/responses","POST",{},{expand:i.expand},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postResponsemanagementResponsesDivisionviewsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementResponsesDivisionviewsQuery';return this.apiClient.callApi("/api/v2/responsemanagement/responses/divisionviews/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postResponsemanagementResponsesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postResponsemanagementResponsesQuery';return this.apiClient.callApi("/api/v2/responsemanagement/responses/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putResponsemanagementLibrary(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "libraryId" when calling putResponsemanagementLibrary';if(i==null)throw'Missing the required parameter "body" when calling putResponsemanagementLibrary';return this.apiClient.callApi("/api/v2/responsemanagement/libraries/{libraryId}","PUT",{libraryId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putResponsemanagementResponse(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "responseId" when calling putResponsemanagementResponse';if(i==null)throw'Missing the required parameter "body" when calling putResponsemanagementResponse';return this.apiClient.callApi("/api/v2/responsemanagement/responses/{responseId}","PUT",{responseId:e},{expand:n.expand},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putResponsemanagementResponseasset(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "responseAssetId" when calling putResponsemanagementResponseasset';if(i==null)throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';return this.apiClient.callApi("/api/v2/responsemanagement/responseassets/{responseAssetId}","PUT",{responseAssetId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},XA=class{constructor(e){this.apiClient=e||k.instance}deleteRoutingAssessment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assessmentId" when calling deleteRoutingAssessment';return this.apiClient.callApi("/api/v2/routing/assessments/{assessmentId}","DELETE",{assessmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingDirectroutingbackupSettingsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/directroutingbackup/settings/me","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteRoutingEmailDomain(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling deleteRoutingEmailDomain';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}","DELETE",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingEmailDomainRoute(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling deleteRoutingEmailDomainRoute';if(i==null||i==="")throw'Missing the required parameter "routeId" when calling deleteRoutingEmailDomainRoute';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes/{routeId}","DELETE",{domainName:e,routeId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingEmailOutboundDomain(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling deleteRoutingEmailOutboundDomain';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/{domainId}","DELETE",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingEmailSettingEmailSettingId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "emailSettingId" when calling deleteRoutingEmailSettingEmailSettingId';return this.apiClient.callApi("/api/v2/routing/email/setting/{emailSettingId}","DELETE",{emailSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingLanguage(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "languageId" when calling deleteRoutingLanguage';return this.apiClient.callApi("/api/v2/routing/languages/{languageId}","DELETE",{languageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingPredictor(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling deleteRoutingPredictor';return this.apiClient.callApi("/api/v2/routing/predictors/{predictorId}","DELETE",{predictorId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingPredictorsKeyperformanceindicator(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "kpiId" when calling deleteRoutingPredictorsKeyperformanceindicator';return this.apiClient.callApi("/api/v2/routing/predictors/keyperformanceindicators/{kpiId}","DELETE",{kpiId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingQueue(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling deleteRoutingQueue';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}","DELETE",{queueId:e},{forceDelete:i.forceDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingQueueMember(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling deleteRoutingQueueMember';if(i==null||i==="")throw'Missing the required parameter "memberId" when calling deleteRoutingQueueMember';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/members/{memberId}","DELETE",{queueId:e,memberId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingQueueUser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling deleteRoutingQueueUser';if(i==null||i==="")throw'Missing the required parameter "memberId" when calling deleteRoutingQueueUser';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/users/{memberId}","DELETE",{queueId:e,memberId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingQueueWrapupcode(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling deleteRoutingQueueWrapupcode';if(i==null||i==="")throw'Missing the required parameter "codeId" when calling deleteRoutingQueueWrapupcode';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/wrapupcodes/{codeId}","DELETE",{queueId:e,codeId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteRoutingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/settings","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteRoutingSkill(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "skillId" when calling deleteRoutingSkill';return this.apiClient.callApi("/api/v2/routing/skills/{skillId}","DELETE",{skillId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingSkillexpression(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "expressionId" when calling deleteRoutingSkillexpression';return this.apiClient.callApi("/api/v2/routing/skillexpressions/{expressionId}","DELETE",{expressionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingSkillexpressions(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/skillexpressions","DELETE",{},{id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteRoutingSkillgroup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "skillGroupId" when calling deleteRoutingSkillgroup';return this.apiClient.callApi("/api/v2/routing/skillgroups/{skillGroupId}","DELETE",{skillGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingSmsAddress(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "addressId" when calling deleteRoutingSmsAddress';return this.apiClient.callApi("/api/v2/routing/sms/addresses/{addressId}","DELETE",{addressId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingSmsPhonenumber(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "phoneNumberId" when calling deleteRoutingSmsPhonenumber';return this.apiClient.callApi("/api/v2/routing/sms/phonenumbers/{phoneNumberId}","DELETE",{phoneNumberId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingUserDirectroutingbackupSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteRoutingUserDirectroutingbackupSettings';return this.apiClient.callApi("/api/v2/routing/users/{userId}/directroutingbackup/settings","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingUserUtilization(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteRoutingUserUtilization';return this.apiClient.callApi("/api/v2/routing/users/{userId}/utilization","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingUtilization(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/utilization","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteRoutingUtilizationLabel(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "labelId" when calling deleteRoutingUtilizationLabel';return this.apiClient.callApi("/api/v2/routing/utilization/labels/{labelId}","DELETE",{labelId:e},{forceDelete:i.forceDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingWrapupcode(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "codeId" when calling deleteRoutingWrapupcode';return this.apiClient.callApi("/api/v2/routing/wrapupcodes/{codeId}","DELETE",{codeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteUserRoutinglanguage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserRoutinglanguage';if(i==null||i==="")throw'Missing the required parameter "languageId" when calling deleteUserRoutinglanguage';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages/{languageId}","DELETE",{userId:e,languageId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteUserRoutingskill(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserRoutingskill';if(i==null||i==="")throw'Missing the required parameter "skillId" when calling deleteUserRoutingskill';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/{skillId}","DELETE",{userId:e,skillId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingAssessment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "assessmentId" when calling getRoutingAssessment';return this.apiClient.callApi("/api/v2/routing/assessments/{assessmentId}","GET",{assessmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingAssessments(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/assessments","GET",{},{before:e.before,after:e.after,limit:e.limit,pageSize:e.pageSize,queueId:this.apiClient.buildCollectionParam(e.queueId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingAssessmentsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getRoutingAssessmentsJob';return this.apiClient.callApi("/api/v2/routing/assessments/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingAssessmentsJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/assessments/jobs","GET",{},{divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingAvailablemediatypes(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/availablemediatypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingDirectroutingbackupSettingsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/directroutingbackup/settings/me","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingEmailDomain(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getRoutingEmailDomain';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}","GET",{domainId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingEmailDomainDkim(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainDkim';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/dkim","GET",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingEmailDomainMailfrom(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainMailfrom';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/mailfrom","GET",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingEmailDomainRoute(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoute';if(i==null||i==="")throw'Missing the required parameter "routeId" when calling getRoutingEmailDomainRoute';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes/{routeId}","GET",{domainName:e,routeId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingEmailDomainRouteIdentityresolution(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRouteIdentityresolution';if(i==null||i==="")throw'Missing the required parameter "routeId" when calling getRoutingEmailDomainRouteIdentityresolution';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution","GET",{domainName:e,routeId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingEmailDomainRoutes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoutes';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes","GET",{domainName:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,pattern:i.pattern,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingEmailDomainVerification(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainVerification';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/verification","GET",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingEmailDomains(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/email/domains","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,excludeStatus:e.excludeStatus,filter:e.filter,expand:e.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingEmailOutboundDomain(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomain';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/{domainId}","GET",{domainId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingEmailOutboundDomainActivation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainActivation';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/{domainId}/activation","GET",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingEmailOutboundDomains(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/email/outbound/domains","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,filter:e.filter,expand:e.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingEmailSetting(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/email/setting","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingEmailSettingEmailSettingId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "emailSettingId" when calling getRoutingEmailSettingEmailSettingId';return this.apiClient.callApi("/api/v2/routing/email/setting/{emailSettingId}","GET",{emailSettingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingEmailSetup(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/email/setup","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingLanguage(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "languageId" when calling getRoutingLanguage';return this.apiClient.callApi("/api/v2/routing/languages/{languageId}","GET",{languageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingLanguages(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/languages","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingMessageRecipient(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "recipientId" when calling getRoutingMessageRecipient';return this.apiClient.callApi("/api/v2/routing/message/recipients/{recipientId}","GET",{recipientId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingMessageRecipients(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/message/recipients","GET",{},{messengerType:e.messengerType,name:e.name,pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingPredictor(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling getRoutingPredictor';return this.apiClient.callApi("/api/v2/routing/predictors/{predictorId}","GET",{predictorId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingPredictorModelFeatures(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling getRoutingPredictorModelFeatures';if(i==null||i==="")throw'Missing the required parameter "modelId" when calling getRoutingPredictorModelFeatures';return this.apiClient.callApi("/api/v2/routing/predictors/{predictorId}/models/{modelId}/features","GET",{predictorId:e,modelId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingPredictorModels(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling getRoutingPredictorModels';return this.apiClient.callApi("/api/v2/routing/predictors/{predictorId}/models","GET",{predictorId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingPredictors(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/predictors","GET",{},{before:e.before,after:e.after,limit:e.limit,pageSize:e.pageSize,queueId:this.apiClient.buildCollectionParam(e.queueId,"multi"),kpiId:e.kpiId,state:e.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingPredictorsKeyperformanceindicator(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "kpiId" when calling getRoutingPredictorsKeyperformanceindicator';return this.apiClient.callApi("/api/v2/routing/predictors/keyperformanceindicators/{kpiId}","GET",{kpiId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingPredictorsKeyperformanceindicators(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/predictors/keyperformanceindicators","GET",{},{kpiGroup:e.kpiGroup,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingPredictorsKeyperformanceindicatortypes(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/predictors/keyperformanceindicatortypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingQueue(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueue';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}","GET",{queueId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingQueueAssistant(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueAssistant';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/assistant","GET",{queueId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi"),languageVariation:i.languageVariation,fallbackToPrimaryAssistant:i.fallbackToPrimaryAssistant},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingQueueComparisonperiod(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueComparisonperiod';if(i==null||i==="")throw'Missing the required parameter "comparisonPeriodId" when calling getRoutingQueueComparisonperiod';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/comparisonperiods/{comparisonPeriodId}","GET",{queueId:e,comparisonPeriodId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingQueueComparisonperiods(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueComparisonperiods';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/comparisonperiods","GET",{queueId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingQueueEstimatedwaittime(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueEstimatedwaittime';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/estimatedwaittime","GET",{queueId:e},{conversationId:i.conversationId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingQueueIdentityresolution(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueIdentityresolution';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/identityresolution","GET",{queueId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingQueueMediatypeEstimatedwaittime(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueMediatypeEstimatedwaittime';if(i==null||i==="")throw'Missing the required parameter "mediaType" when calling getRoutingQueueMediatypeEstimatedwaittime';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/mediatypes/{mediaType}/estimatedwaittime","GET",{queueId:e,mediaType:i},{labelId:n.labelId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingQueueMembers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueMembers';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/members","GET",{queueId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,sortOrder:i.sortOrder,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),name:i.name,profileSkills:this.apiClient.buildCollectionParam(i.profileSkills,"multi"),skills:this.apiClient.buildCollectionParam(i.skills,"multi"),languages:this.apiClient.buildCollectionParam(i.languages,"multi"),routingStatus:this.apiClient.buildCollectionParam(i.routingStatus,"multi"),presence:this.apiClient.buildCollectionParam(i.presence,"multi"),memberBy:i.memberBy,joined:i.joined},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingQueueUsers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueUsers';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/users","GET",{queueId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,sortOrder:i.sortOrder,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),joined:i.joined,name:i.name,profileSkills:this.apiClient.buildCollectionParam(i.profileSkills,"multi"),skills:this.apiClient.buildCollectionParam(i.skills,"multi"),languages:this.apiClient.buildCollectionParam(i.languages,"multi"),routingStatus:this.apiClient.buildCollectionParam(i.routingStatus,"multi"),presence:this.apiClient.buildCollectionParam(i.presence,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingQueueWrapupcodes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingQueueWrapupcodes';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/wrapupcodes","GET",{queueId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,name:i.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingQueues(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/queues","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortOrder:e.sortOrder,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),peerId:this.apiClient.buildCollectionParam(e.peerId,"multi"),cannedResponseLibraryId:e.cannedResponseLibraryId,hasPeer:e.hasPeer,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingQueuesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/queues/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingQueuesDivisionviewsAll(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/queues/divisionviews/all","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingQueuesMe(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/queues/me","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,joined:e.joined,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSettingsContactcenter(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/settings/contactcenter","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSettingsTranscription(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/settings/transcription","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSkill(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "skillId" when calling getRoutingSkill';return this.apiClient.callApi("/api/v2/routing/skills/{skillId}","GET",{skillId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingSkillexpression(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "expressionId" when calling getRoutingSkillexpression';return this.apiClient.callApi("/api/v2/routing/skillexpressions/{expressionId}","GET",{expressionId:e},{includeArchived:i.includeArchived,format:i.format},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingSkillexpressions(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/skillexpressions","GET",{},{format:e.format,includeArchived:e.includeArchived,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSkillexpressionsQueueQueueId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getRoutingSkillexpressionsQueueQueueId';return this.apiClient.callApi("/api/v2/routing/skillexpressions/queue/{queueId}","GET",{queueId:e},{format:i.format,includeArchived:i.includeArchived},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingSkillgroup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroup';return this.apiClient.callApi("/api/v2/routing/skillgroups/{skillGroupId}","GET",{skillGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingSkillgroupMembers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembers';return this.apiClient.callApi("/api/v2/routing/skillgroups/{skillGroupId}/members","GET",{skillGroupId:e},{pageSize:i.pageSize,after:i.after,before:i.before,expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingSkillgroupMembersDivisions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembersDivisions';return this.apiClient.callApi("/api/v2/routing/skillgroups/{skillGroupId}/members/divisions","GET",{skillGroupId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingSkillgroups(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/skillgroups","GET",{},{pageSize:e.pageSize,name:e.name,after:e.after,before:e.before},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSkills(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/skills","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSmsAddress(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "addressId" when calling getRoutingSmsAddress';return this.apiClient.callApi("/api/v2/routing/sms/addresses/{addressId}","GET",{addressId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingSmsAddresses(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/sms/addresses","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingSmsAvailablephonenumbers(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "countryCode" when calling getRoutingSmsAvailablephonenumbers';if(i==null)throw'Missing the required parameter "phoneNumberType" when calling getRoutingSmsAvailablephonenumbers';return this.apiClient.callApi("/api/v2/routing/sms/availablephonenumbers","GET",{},{countryCode:e,region:n.region,city:n.city,areaCode:n.areaCode,phoneNumberType:i,pattern:n.pattern,addressRequirement:n.addressRequirement},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getRoutingSmsIdentityresolutionPhonenumber(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';return this.apiClient.callApi("/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}","GET",{addressId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingSmsPhonenumber(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "phoneNumberId" when calling getRoutingSmsPhonenumber';return this.apiClient.callApi("/api/v2/routing/sms/phonenumbers/{phoneNumberId}","GET",{phoneNumberId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingSmsPhonenumbers(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/sms/phonenumbers","GET",{},{phoneNumber:e.phoneNumber,phoneNumberType:this.apiClient.buildCollectionParam(e.phoneNumberType,"multi"),phoneNumberStatus:this.apiClient.buildCollectionParam(e.phoneNumberStatus,"multi"),countryCode:this.apiClient.buildCollectionParam(e.countryCode,"multi"),pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,language:e.language,"integration.id":e.integrationId,"supportedContent.id":e.supportedContentId,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingUserDirectroutingbackupSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';return this.apiClient.callApi("/api/v2/routing/users/{userId}/directroutingbackup/settings","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingUserUtilization(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getRoutingUserUtilization';return this.apiClient.callApi("/api/v2/routing/users/{userId}/utilization","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingUtilization(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/utilization","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingUtilizationLabel(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "labelId" when calling getRoutingUtilizationLabel';return this.apiClient.callApi("/api/v2/routing/utilization/labels/{labelId}","GET",{labelId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingUtilizationLabelAgents(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "labelId" when calling getRoutingUtilizationLabelAgents';return this.apiClient.callApi("/api/v2/routing/utilization/labels/{labelId}/agents","GET",{labelId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingUtilizationLabels(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/utilization/labels","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingWrapupcode(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "codeId" when calling getRoutingWrapupcode';return this.apiClient.callApi("/api/v2/routing/wrapupcodes/{codeId}","GET",{codeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingWrapupcodes(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/wrapupcodes","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingWrapupcodesDivisionview(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "codeId" when calling getRoutingWrapupcodesDivisionview';return this.apiClient.callApi("/api/v2/routing/wrapupcodes/divisionviews/{codeId}","GET",{codeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingWrapupcodesDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/wrapupcodes/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,id:this.apiClient.buildCollectionParam(e.id,"multi"),divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi"),includeState:e.includeState},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUserQueues(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserQueues';return this.apiClient.callApi("/api/v2/users/{userId}/queues","GET",{userId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,joined:i.joined,divisionId:this.apiClient.buildCollectionParam(i.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserRoutinglanguages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserRoutinglanguages';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages","GET",{userId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserRoutingskills(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserRoutingskills';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills","GET",{userId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserSkillgroups(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserSkillgroups';return this.apiClient.callApi("/api/v2/users/{userId}/skillgroups","GET",{userId:e},{pageSize:i.pageSize,after:i.after,before:i.before},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingConversation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchRoutingConversation';if(i==null)throw'Missing the required parameter "body" when calling patchRoutingConversation';return this.apiClient.callApi("/api/v2/routing/conversations/{conversationId}","PATCH",{conversationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingEmailDomain(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling patchRoutingEmailDomain';if(i==null)throw'Missing the required parameter "body" when calling patchRoutingEmailDomain';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}","PATCH",{domainId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingEmailDomainValidate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling patchRoutingEmailDomainValidate';if(i==null)throw'Missing the required parameter "body" when calling patchRoutingEmailDomainValidate';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/validate","PATCH",{domainId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingEmailOutboundDomain(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling patchRoutingEmailOutboundDomain';if(i==null)throw'Missing the required parameter "body" when calling patchRoutingEmailOutboundDomain';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/{domainId}","PATCH",{domainId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingEmailSettingEmailSettingId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "emailSettingId" when calling patchRoutingEmailSettingEmailSettingId';if(i==null)throw'Missing the required parameter "body" when calling patchRoutingEmailSettingEmailSettingId';return this.apiClient.callApi("/api/v2/routing/email/setting/{emailSettingId}","PATCH",{emailSettingId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingPredictor(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "predictorId" when calling patchRoutingPredictor';return this.apiClient.callApi("/api/v2/routing/predictors/{predictorId}","PATCH",{predictorId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingPredictorsKeyperformanceindicator(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "kpiId" when calling patchRoutingPredictorsKeyperformanceindicator';return this.apiClient.callApi("/api/v2/routing/predictors/keyperformanceindicators/{kpiId}","PATCH",{kpiId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingQueueMember(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling patchRoutingQueueMember';if(i==null||i==="")throw'Missing the required parameter "memberId" when calling patchRoutingQueueMember';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingQueueMember';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/members/{memberId}","PATCH",{queueId:e,memberId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchRoutingQueueMembers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling patchRoutingQueueMembers';if(i==null)throw'Missing the required parameter "body" when calling patchRoutingQueueMembers';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/members","PATCH",{queueId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingQueueUser(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling patchRoutingQueueUser';if(i==null||i==="")throw'Missing the required parameter "memberId" when calling patchRoutingQueueUser';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingQueueUser';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/users/{memberId}","PATCH",{queueId:e,memberId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchRoutingQueueUsers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling patchRoutingQueueUsers';if(i==null)throw'Missing the required parameter "body" when calling patchRoutingQueueUsers';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/users","PATCH",{queueId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingSettingsContactcenter(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchRoutingSettingsContactcenter';return this.apiClient.callApi("/api/v2/routing/settings/contactcenter","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingSettingsTranscription(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchRoutingSettingsTranscription';return this.apiClient.callApi("/api/v2/routing/settings/transcription","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchRoutingSkill(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "skillId" when calling patchRoutingSkill';if(i==null)throw'Missing the required parameter "body" when calling patchRoutingSkill';return this.apiClient.callApi("/api/v2/routing/skills/{skillId}","PATCH",{skillId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingSkillgroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "skillGroupId" when calling patchRoutingSkillgroup';if(i==null)throw'Missing the required parameter "body" when calling patchRoutingSkillgroup';return this.apiClient.callApi("/api/v2/routing/skillgroups/{skillGroupId}","PATCH",{skillGroupId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchRoutingSmsPhonenumber(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "phoneNumberId" when calling patchRoutingSmsPhonenumber';if(i==null)throw'Missing the required parameter "body" when calling patchRoutingSmsPhonenumber';return this.apiClient.callApi("/api/v2/routing/sms/phonenumbers/{phoneNumberId}","PATCH",{phoneNumberId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUserQueue(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling patchUserQueue';if(i==null||i==="")throw'Missing the required parameter "userId" when calling patchUserQueue';if(n==null)throw'Missing the required parameter "body" when calling patchUserQueue';return this.apiClient.callApi("/api/v2/users/{userId}/queues/{queueId}","PATCH",{queueId:e,userId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchUserQueues(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserQueues';if(i==null)throw'Missing the required parameter "body" when calling patchUserQueues';return this.apiClient.callApi("/api/v2/users/{userId}/queues","PATCH",{userId:e},{divisionId:this.apiClient.buildCollectionParam(n.divisionId,"multi")},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUserRoutinglanguage(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserRoutinglanguage';if(i==null||i==="")throw'Missing the required parameter "languageId" when calling patchUserRoutinglanguage';if(n==null)throw'Missing the required parameter "body" when calling patchUserRoutinglanguage';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages/{languageId}","PATCH",{userId:e,languageId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchUserRoutinglanguagesBulk(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';if(i==null)throw'Missing the required parameter "body" when calling patchUserRoutinglanguagesBulk';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages/bulk","PATCH",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUserRoutingskillsBulk(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserRoutingskillsBulk';if(i==null)throw'Missing the required parameter "body" when calling patchUserRoutingskillsBulk';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/bulk","PATCH",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsQueuesObservationsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';return this.apiClient.callApi("/api/v2/analytics/queues/observations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsRoutingActivityQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsRoutingActivityQuery';return this.apiClient.callApi("/api/v2/analytics/routing/activity/query","POST",{},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingAssessments(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/assessments","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postRoutingAssessmentsJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/assessments/jobs","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postRoutingEmailDomainDkim(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainDkim';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/dkim","POST",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingEmailDomainMailfrom(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainMailfrom';if(i==null)throw'Missing the required parameter "body" when calling postRoutingEmailDomainMailfrom';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/mailfrom","POST",{domainId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingEmailDomainRoutes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling postRoutingEmailDomainRoutes';if(i==null)throw'Missing the required parameter "body" when calling postRoutingEmailDomainRoutes';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes","POST",{domainName:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingEmailDomainTestconnection(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainTestconnection';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/testconnection","POST",{domainId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingEmailDomainVerification(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainVerification';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainId}/verification","POST",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingEmailDomains(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingEmailDomains';return this.apiClient.callApi("/api/v2/routing/email/domains","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingEmailOutboundDomainTestconnection(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling postRoutingEmailOutboundDomainTestconnection';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/{domainId}/testconnection","POST",{domainId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingEmailOutboundDomains(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingEmailOutboundDomains';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingEmailOutboundDomainsSimulated(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingEmailOutboundDomainsSimulated';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/simulated","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingEmailSetting(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingEmailSetting';return this.apiClient.callApi("/api/v2/routing/email/setting","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingLanguages(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingLanguages';return this.apiClient.callApi("/api/v2/routing/languages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingPredictors(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/predictors","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postRoutingPredictorsKeyperformanceindicators(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingPredictorsKeyperformanceindicators';return this.apiClient.callApi("/api/v2/routing/predictors/keyperformanceindicators","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingQueueMembers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling postRoutingQueueMembers';if(i==null)throw'Missing the required parameter "body" when calling postRoutingQueueMembers';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/members","POST",{queueId:e},{delete:n._delete},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingQueueUsers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling postRoutingQueueUsers';if(i==null)throw'Missing the required parameter "body" when calling postRoutingQueueUsers';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/users","POST",{queueId:e},{delete:n._delete},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingQueueWrapupcodes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling postRoutingQueueWrapupcodes';if(i==null)throw'Missing the required parameter "body" when calling postRoutingQueueWrapupcodes';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/wrapupcodes","POST",{queueId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postRoutingQueues(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingQueues';return this.apiClient.callApi("/api/v2/routing/queues","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingSkillexpressionsValidate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSkillexpressionsValidate';return this.apiClient.callApi("/api/v2/routing/skillexpressions/validate","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingSkillgroupMembersDivisions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "skillGroupId" when calling postRoutingSkillgroupMembersDivisions';return this.apiClient.callApi("/api/v2/routing/skillgroups/{skillGroupId}/members/divisions","POST",{skillGroupId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingSkillgroups(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSkillgroups';return this.apiClient.callApi("/api/v2/routing/skillgroups","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingSkills(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSkills';return this.apiClient.callApi("/api/v2/routing/skills","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingSmsAddresses(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSmsAddresses';return this.apiClient.callApi("/api/v2/routing/sms/addresses","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingSmsPhonenumbers(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSmsPhonenumbers';return this.apiClient.callApi("/api/v2/routing/sms/phonenumbers","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingSmsPhonenumbersAlphanumeric(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSmsPhonenumbersAlphanumeric';return this.apiClient.callApi("/api/v2/routing/sms/phonenumbers/alphanumeric","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingSmsPhonenumbersImport(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingSmsPhonenumbersImport';return this.apiClient.callApi("/api/v2/routing/sms/phonenumbers/import","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingUtilizationLabels(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingUtilizationLabels';return this.apiClient.callApi("/api/v2/routing/utilization/labels","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postRoutingWrapupcodes(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postRoutingWrapupcodes';return this.apiClient.callApi("/api/v2/routing/wrapupcodes","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUserRoutinglanguages(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserRoutinglanguages';if(i==null)throw'Missing the required parameter "body" when calling postUserRoutinglanguages';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages","POST",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUserRoutingskills(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserRoutingskills';if(i==null)throw'Missing the required parameter "body" when calling postUserRoutingskills';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills","POST",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingDirectroutingbackupSettingsMe(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putRoutingDirectroutingbackupSettingsMe';return this.apiClient.callApi("/api/v2/routing/directroutingbackup/settings/me","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingEmailDomainRoute(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling putRoutingEmailDomainRoute';if(i==null||i==="")throw'Missing the required parameter "routeId" when calling putRoutingEmailDomainRoute';if(n==null)throw'Missing the required parameter "body" when calling putRoutingEmailDomainRoute';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes/{routeId}","PUT",{domainName:e,routeId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putRoutingEmailDomainRouteIdentityresolution(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "domainName" when calling putRoutingEmailDomainRouteIdentityresolution';if(i==null||i==="")throw'Missing the required parameter "routeId" when calling putRoutingEmailDomainRouteIdentityresolution';if(n==null)throw'Missing the required parameter "body" when calling putRoutingEmailDomainRouteIdentityresolution';return this.apiClient.callApi("/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution","PUT",{domainName:e,routeId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putRoutingEmailOutboundDomainActivation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "domainId" when calling putRoutingEmailOutboundDomainActivation';return this.apiClient.callApi("/api/v2/routing/email/outbound/domains/{domainId}/activation","PUT",{domainId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingMessageRecipient(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "recipientId" when calling putRoutingMessageRecipient';if(i==null)throw'Missing the required parameter "body" when calling putRoutingMessageRecipient';return this.apiClient.callApi("/api/v2/routing/message/recipients/{recipientId}","PUT",{recipientId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingQueue(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling putRoutingQueue';if(i==null)throw'Missing the required parameter "body" when calling putRoutingQueue';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}","PUT",{queueId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingQueueIdentityresolution(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling putRoutingQueueIdentityresolution';if(i==null)throw'Missing the required parameter "body" when calling putRoutingQueueIdentityresolution';return this.apiClient.callApi("/api/v2/routing/queues/{queueId}/identityresolution","PUT",{queueId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putRoutingSettings';return this.apiClient.callApi("/api/v2/routing/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingSettingsTranscription(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putRoutingSettingsTranscription';return this.apiClient.callApi("/api/v2/routing/settings/transcription","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingSmsIdentityresolutionPhonenumber(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "addressId" when calling putRoutingSmsIdentityresolutionPhonenumber';if(i==null)throw'Missing the required parameter "body" when calling putRoutingSmsIdentityresolutionPhonenumber';return this.apiClient.callApi("/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}","PUT",{addressId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingUserDirectroutingbackupSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';if(i==null)throw'Missing the required parameter "body" when calling putRoutingUserDirectroutingbackupSettings';return this.apiClient.callApi("/api/v2/routing/users/{userId}/directroutingbackup/settings","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingUserUtilization(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putRoutingUserUtilization';if(i==null)throw'Missing the required parameter "body" when calling putRoutingUserUtilization';return this.apiClient.callApi("/api/v2/routing/users/{userId}/utilization","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingUtilization(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putRoutingUtilization';return this.apiClient.callApi("/api/v2/routing/utilization","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingUtilizationLabel(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';if(i==null)throw'Missing the required parameter "body" when calling putRoutingUtilizationLabel';return this.apiClient.callApi("/api/v2/routing/utilization/labels/{labelId}","PUT",{labelId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingWrapupcode(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "codeId" when calling putRoutingWrapupcode';if(i==null)throw'Missing the required parameter "body" when calling putRoutingWrapupcode';return this.apiClient.callApi("/api/v2/routing/wrapupcodes/{codeId}","PUT",{codeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserRoutingskill(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserRoutingskill';if(i==null||i==="")throw'Missing the required parameter "skillId" when calling putUserRoutingskill';if(n==null)throw'Missing the required parameter "body" when calling putUserRoutingskill';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/{skillId}","PUT",{userId:e,skillId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putUserRoutingskillsBulk(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserRoutingskillsBulk';if(i==null)throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/bulk","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},eb=class{constructor(e){this.apiClient=e||k.instance}deleteScimUser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteScimUser';return this.apiClient.callApi("/api/v2/scim/users/{userId}","DELETE",{userId:e},{},{"If-Match":i.ifMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],i.customHeaders)}deleteScimV2User(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteScimV2User';return this.apiClient.callApi("/api/v2/scim/v2/users/{userId}","DELETE",{userId:e},{},{"If-Match":i.ifMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],i.customHeaders)}getScimGroup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getScimGroup';return this.apiClient.callApi("/api/v2/scim/groups/{groupId}","GET",{groupId:e},{attributes:this.apiClient.buildCollectionParam(i.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(i.excludedAttributes,"multi")},{"If-None-Match":i.ifNoneMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],i.customHeaders)}getScimGroups(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/groups","GET",{},{startIndex:e.startIndex,count:e.count,attributes:this.apiClient.buildCollectionParam(e.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(e.excludedAttributes,"multi"),filter:e.filter},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimResourcetype(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "resourceType" when calling getScimResourcetype';return this.apiClient.callApi("/api/v2/scim/resourcetypes/{resourceType}","GET",{resourceType:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],i.customHeaders)}getScimResourcetypes(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/resourcetypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getScimSchema';return this.apiClient.callApi("/api/v2/scim/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],i.customHeaders)}getScimSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/schemas","GET",{},{filter:e.filter},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimServiceproviderconfig(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/serviceproviderconfig","GET",{},{},{"If-None-Match":e.ifNoneMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimUser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getScimUser';return this.apiClient.callApi("/api/v2/scim/users/{userId}","GET",{userId:e},{attributes:this.apiClient.buildCollectionParam(i.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(i.excludedAttributes,"multi")},{"If-None-Match":i.ifNoneMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],i.customHeaders)}getScimUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/users","GET",{},{startIndex:e.startIndex,count:e.count,attributes:this.apiClient.buildCollectionParam(e.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(e.excludedAttributes,"multi"),filter:e.filter},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimV2Group(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getScimV2Group';return this.apiClient.callApi("/api/v2/scim/v2/groups/{groupId}","GET",{groupId:e},{attributes:this.apiClient.buildCollectionParam(i.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(i.excludedAttributes,"multi")},{"If-None-Match":i.ifNoneMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],i.customHeaders)}getScimV2Groups(e,i){if(i=i||{},e==null)throw'Missing the required parameter "filter" when calling getScimV2Groups';return this.apiClient.callApi("/api/v2/scim/v2/groups","GET",{},{startIndex:i.startIndex,count:i.count,attributes:this.apiClient.buildCollectionParam(i.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(i.excludedAttributes,"multi"),filter:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],i.customHeaders)}getScimV2Resourcetype(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "resourceType" when calling getScimV2Resourcetype';return this.apiClient.callApi("/api/v2/scim/v2/resourcetypes/{resourceType}","GET",{resourceType:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],i.customHeaders)}getScimV2Resourcetypes(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/v2/resourcetypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimV2Schema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getScimV2Schema';return this.apiClient.callApi("/api/v2/scim/v2/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],i.customHeaders)}getScimV2Schemas(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/v2/schemas","GET",{},{filter:e.filter},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimV2Serviceproviderconfig(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/v2/serviceproviderconfig","GET",{},{},{"If-None-Match":e.ifNoneMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}getScimV2User(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getScimV2User';return this.apiClient.callApi("/api/v2/scim/v2/users/{userId}","GET",{userId:e},{attributes:this.apiClient.buildCollectionParam(i.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(i.excludedAttributes,"multi")},{"If-None-Match":i.ifNoneMatch},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],i.customHeaders)}getScimV2Users(e){return e=e||{},this.apiClient.callApi("/api/v2/scim/v2/users","GET",{},{startIndex:e.startIndex,count:e.count,attributes:this.apiClient.buildCollectionParam(e.attributes,"multi"),excludedAttributes:this.apiClient.buildCollectionParam(e.excludedAttributes,"multi"),filter:e.filter},{},{},null,["PureCloud OAuth"],["application/json"],["application/scim+json","application/json"],e.customHeaders)}patchScimGroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling patchScimGroup';if(i==null)throw'Missing the required parameter "body" when calling patchScimGroup';return this.apiClient.callApi("/api/v2/scim/groups/{groupId}","PATCH",{groupId:e},{},{"If-Match":n.ifMatch},{},i,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],n.customHeaders)}patchScimUser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchScimUser';if(i==null)throw'Missing the required parameter "body" when calling patchScimUser';return this.apiClient.callApi("/api/v2/scim/users/{userId}","PATCH",{userId:e},{},{"If-Match":n.ifMatch},{},i,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],n.customHeaders)}patchScimV2Group(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling patchScimV2Group';if(i==null)throw'Missing the required parameter "body" when calling patchScimV2Group';return this.apiClient.callApi("/api/v2/scim/v2/groups/{groupId}","PATCH",{groupId:e},{},{"If-Match":n.ifMatch},{},i,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],n.customHeaders)}patchScimV2User(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchScimV2User';if(i==null)throw'Missing the required parameter "body" when calling patchScimV2User';return this.apiClient.callApi("/api/v2/scim/v2/users/{userId}","PATCH",{userId:e},{},{"If-Match":n.ifMatch},{},i,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],n.customHeaders)}postScimUsers(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postScimUsers';return this.apiClient.callApi("/api/v2/scim/users","POST",{},{},{},{},e,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],i.customHeaders)}postScimV2Users(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postScimV2Users';return this.apiClient.callApi("/api/v2/scim/v2/users","POST",{},{},{},{},e,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],i.customHeaders)}putScimGroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling putScimGroup';if(i==null)throw'Missing the required parameter "body" when calling putScimGroup';return this.apiClient.callApi("/api/v2/scim/groups/{groupId}","PUT",{groupId:e},{},{"If-Match":n.ifMatch},{},i,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],n.customHeaders)}putScimUser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putScimUser';if(i==null)throw'Missing the required parameter "body" when calling putScimUser';return this.apiClient.callApi("/api/v2/scim/users/{userId}","PUT",{userId:e},{},{"If-Match":n.ifMatch},{},i,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],n.customHeaders)}putScimV2Group(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling putScimV2Group';if(i==null)throw'Missing the required parameter "body" when calling putScimV2Group';return this.apiClient.callApi("/api/v2/scim/v2/groups/{groupId}","PUT",{groupId:e},{},{"If-Match":n.ifMatch},{},i,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],n.customHeaders)}putScimV2User(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putScimV2User';if(i==null)throw'Missing the required parameter "body" when calling putScimV2User';return this.apiClient.callApi("/api/v2/scim/v2/users/{userId}","PUT",{userId:e},{},{"If-Match":n.ifMatch},{},i,["PureCloud OAuth"],["application/scim+json","application/json"],["application/scim+json","application/json"],n.customHeaders)}},ib=class{constructor(e){this.apiClient=e||k.instance}deleteConversationParticipantScreenmonitorsSession(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationParticipantScreenmonitorsSession';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling deleteConversationParticipantScreenmonitorsSession';if(n==null||n==="")throw'Missing the required parameter "screenMonitoringId" when calling deleteConversationParticipantScreenmonitorsSession';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/screenmonitors/sessions/{screenMonitoringId}","DELETE",{conversationId:e,participantId:i,screenMonitoringId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteUserScreenmonitorsSession(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserScreenmonitorsSession';if(i==null||i==="")throw'Missing the required parameter "screenMonitoringId" when calling deleteUserScreenmonitorsSession';return this.apiClient.callApi("/api/v2/users/{userId}/screenmonitors/sessions/{screenMonitoringId}","DELETE",{userId:e,screenMonitoringId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getConversationParticipantScreenmonitorsSession(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationParticipantScreenmonitorsSession';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling getConversationParticipantScreenmonitorsSession';if(n==null||n==="")throw'Missing the required parameter "screenMonitoringId" when calling getConversationParticipantScreenmonitorsSession';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/screenmonitors/sessions/{screenMonitoringId}","GET",{conversationId:e,participantId:i,screenMonitoringId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getScreenmonitorsSessionsDetails(e){return e=e||{},this.apiClient.callApi("/api/v2/screenmonitors/sessions/details","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getScreenmonitorsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/screenmonitors/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getScreenmonitorsUserSessions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getScreenmonitorsUserSessions';return this.apiClient.callApi("/api/v2/screenmonitors/users/{userId}/sessions","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserScreenmonitorsSession(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserScreenmonitorsSession';if(i==null||i==="")throw'Missing the required parameter "screenMonitoringId" when calling getUserScreenmonitorsSession';return this.apiClient.callApi("/api/v2/users/{userId}/screenmonitors/sessions/{screenMonitoringId}","GET",{userId:e,screenMonitoringId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationParticipantScreenmonitorsSessions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantScreenmonitorsSessions';if(i==null||i==="")throw'Missing the required parameter "participantId" when calling postConversationParticipantScreenmonitorsSessions';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/participants/{participantId}/screenmonitors/sessions","POST",{conversationId:e,participantId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postScreenmonitorsSessionsUsersDetails(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postScreenmonitorsSessionsUsersDetails';return this.apiClient.callApi("/api/v2/screenmonitors/sessions/users/details","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUserScreenmonitorsSessions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserScreenmonitorsSessions';return this.apiClient.callApi("/api/v2/users/{userId}/screenmonitors/sessions","POST",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putScreenmonitorsSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putScreenmonitorsSettings';return this.apiClient.callApi("/api/v2/screenmonitors/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},nb=class{constructor(e){this.apiClient=e||k.instance}getScript(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScript';return this.apiClient.callApi("/api/v2/scripts/{scriptId}","GET",{scriptId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getScriptPage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptPage';if(i==null||i==="")throw'Missing the required parameter "pageId" when calling getScriptPage';return this.apiClient.callApi("/api/v2/scripts/{scriptId}/pages/{pageId}","GET",{scriptId:e,pageId:i},{scriptDataVersion:n.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getScriptPages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptPages';return this.apiClient.callApi("/api/v2/scripts/{scriptId}/pages","GET",{scriptId:e},{scriptDataVersion:i.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getScripts(e){return e=e||{},this.apiClient.callApi("/api/v2/scripts","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,name:e.name,feature:e.feature,flowId:e.flowId,sortBy:e.sortBy,sortOrder:e.sortOrder,scriptDataVersion:e.scriptDataVersion,divisionIds:e.divisionIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getScriptsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/scripts/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,name:e.name,feature:e.feature,flowId:e.flowId,sortBy:e.sortBy,sortOrder:e.sortOrder,scriptDataVersion:e.scriptDataVersion,divisionIds:e.divisionIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getScriptsPublished(e){return e=e||{},this.apiClient.callApi("/api/v2/scripts/published","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,name:e.name,feature:e.feature,flowId:e.flowId,scriptDataVersion:e.scriptDataVersion,divisionIds:e.divisionIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getScriptsPublishedDivisionviewVariables(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptsPublishedDivisionviewVariables';return this.apiClient.callApi("/api/v2/scripts/published/divisionviews/{scriptId}/variables","GET",{scriptId:e},{input:i.input,output:i.output,type:i.type,scriptDataVersion:i.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getScriptsPublishedDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/scripts/published/divisionviews","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,name:e.name,feature:e.feature,flowId:e.flowId,scriptDataVersion:e.scriptDataVersion,divisionIds:e.divisionIds},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getScriptsPublishedScriptId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptsPublishedScriptId';return this.apiClient.callApi("/api/v2/scripts/published/{scriptId}","GET",{scriptId:e},{scriptDataVersion:i.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getScriptsPublishedScriptIdPage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptsPublishedScriptIdPage';if(i==null||i==="")throw'Missing the required parameter "pageId" when calling getScriptsPublishedScriptIdPage';return this.apiClient.callApi("/api/v2/scripts/published/{scriptId}/pages/{pageId}","GET",{scriptId:e,pageId:i},{scriptDataVersion:n.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getScriptsPublishedScriptIdPages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptsPublishedScriptIdPages';return this.apiClient.callApi("/api/v2/scripts/published/{scriptId}/pages","GET",{scriptId:e},{scriptDataVersion:i.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getScriptsPublishedScriptIdVariables(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling getScriptsPublishedScriptIdVariables';return this.apiClient.callApi("/api/v2/scripts/published/{scriptId}/variables","GET",{scriptId:e},{input:i.input,output:i.output,type:i.type,scriptDataVersion:i.scriptDataVersion},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getScriptsUploadStatus(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "uploadId" when calling getScriptsUploadStatus';return this.apiClient.callApi("/api/v2/scripts/uploads/{uploadId}/status","GET",{uploadId:e},{longPoll:i.longPoll},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postScriptExport(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scriptId" when calling postScriptExport';return this.apiClient.callApi("/api/v2/scripts/{scriptId}/export","POST",{scriptId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postScriptsPublished(e){return e=e||{},this.apiClient.callApi("/api/v2/scripts/published","POST",{},{scriptDataVersion:e.scriptDataVersion},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},tb=class{constructor(e){this.apiClient=e||k.instance}getDocumentationGknSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getDocumentationGknSearch';return this.apiClient.callApi("/api/v2/documentation/gkn/search","GET",{},{q64:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getDocumentationSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getDocumentationSearch';return this.apiClient.callApi("/api/v2/documentation/search","GET",{},{q64:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getGroupsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getGroupsSearch';return this.apiClient.callApi("/api/v2/groups/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getLocationsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getLocationsSearch';return this.apiClient.callApi("/api/v2/locations/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getSearch';return this.apiClient.callApi("/api/v2/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),profile:i.profile},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSearchSuggest(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getSearchSuggest';return this.apiClient.callApi("/api/v2/search/suggest","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),profile:i.profile},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesSitesSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getTelephonyProvidersEdgesSitesSearch';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getUsersSearch';return this.apiClient.callApi("/api/v2/users/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),integrationPresenceSource:i.integrationPresenceSource},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getVoicemailSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getVoicemailSearch';return this.apiClient.callApi("/api/v2/voicemail/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsCustomattributesSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';return this.apiClient.callApi("/api/v2/conversations/customattributes/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationsParticipantsAttributesSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';return this.apiClient.callApi("/api/v2/conversations/participants/attributes/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postDocumentationAllSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postDocumentationAllSearch';return this.apiClient.callApi("/api/v2/documentation/all/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postDocumentationGknSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postDocumentationGknSearch';return this.apiClient.callApi("/api/v2/documentation/gkn/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postDocumentationSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postDocumentationSearch';return this.apiClient.callApi("/api/v2/documentation/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGroupsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGroupsSearch';return this.apiClient.callApi("/api/v2/groups/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postLocationsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postLocationsSearch';return this.apiClient.callApi("/api/v2/locations/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSearch';return this.apiClient.callApi("/api/v2/search","POST",{},{profile:i.profile},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSearchSuggest(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSearchSuggest';return this.apiClient.callApi("/api/v2/search/suggest","POST",{},{profile:i.profile},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSpeechandtextanalyticsTranscriptsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTranscriptsSearch';return this.apiClient.callApi("/api/v2/speechandtextanalytics/transcripts/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTeamsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTeamsSearch';return this.apiClient.callApi("/api/v2/teams/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesSitesSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearch';return this.apiClient.callApi("/api/v2/users/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersSearchConversationTarget(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearchConversationTarget';return this.apiClient.callApi("/api/v2/users/search/conversation/target","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersSearchQueuemembersManage(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearchQueuemembersManage';return this.apiClient.callApi("/api/v2/users/search/queuemembers/manage","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersSearchTeamsAssign(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';return this.apiClient.callApi("/api/v2/users/search/teams/assign","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postVoicemailSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postVoicemailSearch';return this.apiClient.callApi("/api/v2/voicemail/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},ab=class{constructor(e){this.apiClient=e||k.instance}deleteEmailsSettingsThreading(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings/threading","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteExternalcontactsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/settings","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","DELETE",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getEmailsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getEmailsSettingsThreading(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings/threading","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSettingsExecutiondata(e){return e=e||{},this.apiClient.callApi("/api/v2/settings/executiondata","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersAgentuiAgentsAutoanswerAgentIdSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","GET",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchEmailsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings","PATCH",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchEmailsSettingsThreading(e){return e=e||{},this.apiClient.callApi("/api/v2/emails/settings/threading","PATCH",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchSettingsExecutiondata(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';return this.apiClient.callApi("/api/v2/settings/executiondata","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUsersAgentuiAgentsAutoanswerAgentIdSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';if(i==null)throw'Missing the required parameter "body" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","PATCH",{agentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putExternalcontactsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/settings","PUT",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putUsersAgentuiAgentsAutoanswerAgentIdSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';if(i==null)throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';return this.apiClient.callApi("/api/v2/users/agentui/agents/autoanswer/{agentId}/settings","PUT",{agentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},rb=class{constructor(e){this.apiClient=e||k.instance}deleteSocialmediaEscalationrule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "escalationRuleId" when calling deleteSocialmediaEscalationrule';return this.apiClient.callApi("/api/v2/socialmedia/escalationrules/{escalationRuleId}","DELETE",{escalationRuleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteSocialmediaMessage(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling deleteSocialmediaMessage';return this.apiClient.callApi("/api/v2/socialmedia/messages/{messageId}","DELETE",{messageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteSocialmediaTopic(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopic';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}","DELETE",{topicId:e},{hardDelete:i.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "facebookIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}","DELETE",{topicId:e,facebookIngestionRuleId:i},{hardDelete:n.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}","DELETE",{topicId:e,googleBusinessProfileIngestionRuleId:i},{hardDelete:n.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "instagramIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}","DELETE",{topicId:e,instagramIngestionRuleId:i},{hardDelete:n.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteSocialmediaTopicDataingestionrulesOpenOpenId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';if(i==null||i==="")throw'Missing the required parameter "openId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}","DELETE",{topicId:e,openId:i},{hardDelete:n.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "twitterIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}","DELETE",{topicId:e,twitterIngestionRuleId:i},{hardDelete:n.hardDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaAnalyticsAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJob';return this.apiClient.callApi("/api/v2/socialmedia/analytics/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaAnalyticsAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJobResults';return this.apiClient.callApi("/api/v2/socialmedia/analytics/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaAnalyticsMessagesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJob';return this.apiClient.callApi("/api/v2/socialmedia/analytics/messages/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaAnalyticsMessagesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJobResults';return this.apiClient.callApi("/api/v2/socialmedia/analytics/messages/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaEscalationrule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';return this.apiClient.callApi("/api/v2/socialmedia/escalationrules/{escalationRuleId}","GET",{escalationRuleId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaEscalationrules(e,i){if(i=i||{},e==null)throw'Missing the required parameter "divisionId" when calling getSocialmediaEscalationrules';return this.apiClient.callApi("/api/v2/socialmedia/escalationrules","GET",{},{pageNumber:i.pageNumber,pageSize:i.pageSize,divisionId:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopic(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopic';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}","GET",{topicId:e},{includeDeleted:i.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopicDataingestionrules(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrules';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules","GET",{topicId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,includeDeleted:i.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}","GET",{topicId:e,facebookIngestionRuleId:i},{includeDeleted:n.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';if(i==null||i==="")throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';if(n==null||n==="")throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions/{dataIngestionRuleVersion}","GET",{topicId:e,facebookIngestionRuleId:i,dataIngestionRuleVersion:n},{includeDeleted:a.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';if(i==null||i==="")throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions","GET",{topicId:e,facebookIngestionRuleId:i},{pageNumber:n.pageNumber,pageSize:n.pageSize,includeDeleted:n.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}","GET",{topicId:e,googleBusinessProfileIngestionRuleId:i},{includeDeleted:n.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';if(i==null||i==="")throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';if(n==null||n==="")throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions/{dataIngestionRuleVersion}","GET",{topicId:e,googleBusinessProfileIngestionRuleId:i,dataIngestionRuleVersion:n},{includeDeleted:a.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';if(i==null||i==="")throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions","GET",{topicId:e,googleBusinessProfileIngestionRuleId:i},{pageNumber:n.pageNumber,pageSize:n.pageSize,includeDeleted:n.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}","GET",{topicId:e,instagramIngestionRuleId:i},{includeDeleted:n.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';if(i==null||i==="")throw'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';if(n==null||n==="")throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}/versions/{dataIngestionRuleVersion}","GET",{topicId:e,instagramIngestionRuleId:i,dataIngestionRuleVersion:n},{includeDeleted:a.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions';if(i==null||i==="")throw'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}/versions","GET",{topicId:e,instagramIngestionRuleId:i},{pageNumber:n.pageNumber,pageSize:n.pageSize,includeDeleted:n.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopicDataingestionrulesOpenOpenId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';if(i==null||i==="")throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}","GET",{topicId:e,openId:i},{includeDeleted:n.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopicDataingestionrulesOpenOpenIdVersion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';if(i==null||i==="")throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';if(n==null||n==="")throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}/versions/{dataIngestionRuleVersion}","GET",{topicId:e,openId:i,dataIngestionRuleVersion:n},{includeDeleted:a.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getSocialmediaTopicDataingestionrulesOpenOpenIdVersions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';if(i==null||i==="")throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}/versions","GET",{topicId:e,openId:i},{pageNumber:n.pageNumber,pageSize:n.pageSize,includeDeleted:n.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}","GET",{topicId:e,twitterIngestionRuleId:i},{includeDeleted:n.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';if(i==null||i==="")throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';if(n==null||n==="")throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}/versions/{dataIngestionRuleVersion}","GET",{topicId:e,twitterIngestionRuleId:i,dataIngestionRuleVersion:n},{includeDeleted:a.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';if(i==null||i==="")throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}/versions","GET",{topicId:e,twitterIngestionRuleId:i},{pageNumber:n.pageNumber,pageSize:n.pageSize,includeDeleted:n.includeDeleted},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSocialmediaTopics(e){return e=e||{},this.apiClient.callApi("/api/v2/socialmedia/topics","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,divisionIds:this.apiClient.buildCollectionParam(e.divisionIds,"multi"),includeDeleted:e.includeDeleted,name:e.name,ids:this.apiClient.buildCollectionParam(e.ids,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchSocialmediaTopic(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling patchSocialmediaTopic';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}","PATCH",{topicId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "facebookIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}","PATCH",{topicId:e,facebookIngestionRuleId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}","PATCH",{topicId:e,googleBusinessProfileIngestionRuleId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "instagramIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}","PATCH",{topicId:e,instagramIngestionRuleId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchSocialmediaTopicDataingestionrulesOpenOpenId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';if(i==null||i==="")throw'Missing the required parameter "openId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}","PATCH",{topicId:e,openId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "twitterIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}","PATCH",{topicId:e,twitterIngestionRuleId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postSocialmediaAnalyticsAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSocialmediaAnalyticsAggregatesJobs';return this.apiClient.callApi("/api/v2/socialmedia/analytics/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSocialmediaAnalyticsMessagesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSocialmediaAnalyticsMessagesJobs';return this.apiClient.callApi("/api/v2/socialmedia/analytics/messages/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSocialmediaEscalationrules(e){return e=e||{},this.apiClient.callApi("/api/v2/socialmedia/escalationrules","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postSocialmediaEscalationsMessages(e,i){if(i=i||{},e==null)throw'Missing the required parameter "divisionId" when calling postSocialmediaEscalationsMessages';return this.apiClient.callApi("/api/v2/socialmedia/escalations/messages","POST",{},{divisionId:e},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSocialmediaTopicDataingestionrulesFacebook(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesFacebook';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook","POST",{topicId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSocialmediaTopicDataingestionrulesGooglebusinessprofile(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesGooglebusinessprofile';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile","POST",{topicId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSocialmediaTopicDataingestionrulesInstagram(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesInstagram';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram","POST",{topicId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSocialmediaTopicDataingestionrulesOpen(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpen';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open","POST",{topicId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';if(n==null)throw'Missing the required parameter "body" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{ruleId}/messages/bulk","POST",{topicId:e,ruleId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';if(n==null)throw'Missing the required parameter "body" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{ruleId}/reactions/bulk","POST",{topicId:e,ruleId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postSocialmediaTopicDataingestionrulesTwitter(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesTwitter';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter","POST",{topicId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSocialmediaTopics(e){return e=e||{},this.apiClient.callApi("/api/v2/socialmedia/topics","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postSocialmediaTwitterHistoricalTweets(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSocialmediaTwitterHistoricalTweets';return this.apiClient.callApi("/api/v2/socialmedia/twitter/historical/tweets","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSocialmediaEscalationrule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "escalationRuleId" when calling putSocialmediaEscalationrule';return this.apiClient.callApi("/api/v2/socialmedia/escalationrules/{escalationRuleId}","PUT",{escalationRuleId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "facebookIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}","PUT",{topicId:e,facebookIngestionRuleId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}","PUT",{topicId:e,googleBusinessProfileIngestionRuleId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "instagramIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}","PUT",{topicId:e,instagramIngestionRuleId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSocialmediaTopicDataingestionrulesOpenOpenId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';if(i==null||i==="")throw'Missing the required parameter "openId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}","PUT",{topicId:e,openId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';if(i==null||i==="")throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';return this.apiClient.callApi("/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}","PUT",{topicId:e,twitterIngestionRuleId:i},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},sb=class{constructor(e){this.apiClient=e||k.instance}deleteSpeechandtextanalyticsCategory(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "categoryId" when calling deleteSpeechandtextanalyticsCategory';return this.apiClient.callApi("/api/v2/speechandtextanalytics/categories/{categoryId}","DELETE",{categoryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dictionaryFeedbackId" when calling deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';return this.apiClient.callApi("/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}","DELETE",{dictionaryFeedbackId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteSpeechandtextanalyticsProgram(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling deleteSpeechandtextanalyticsProgram';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}","DELETE",{programId:e},{forceDelete:i.forceDelete},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteSpeechandtextanalyticsReprocessingJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteSpeechandtextanalyticsReprocessingJob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/reprocessing/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteSpeechandtextanalyticsSentimentfeedback(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/sentimentfeedback","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteSpeechandtextanalyticsSentimentfeedbackSentimentFeedbackId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sentimentFeedbackId" when calling deleteSpeechandtextanalyticsSentimentfeedbackSentimentFeedbackId';return this.apiClient.callApi("/api/v2/speechandtextanalytics/sentimentfeedback/{sentimentFeedbackId}","DELETE",{sentimentFeedbackId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteSpeechandtextanalyticsTopic(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling deleteSpeechandtextanalyticsTopic';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/{topicId}","DELETE",{topicId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsCategories(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/categories","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,sortOrder:e.sortOrder,sortBy:e.sortBy,ids:this.apiClient.buildCollectionParam(e.ids,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsCategory(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "categoryId" when calling getSpeechandtextanalyticsCategory';return this.apiClient.callApi("/api/v2/speechandtextanalytics/categories/{categoryId}","GET",{categoryId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsConversation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversation';return this.apiClient.callApi("/api/v2/speechandtextanalytics/conversations/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsConversationCategories(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCategories';return this.apiClient.callApi("/api/v2/speechandtextanalytics/conversations/{conversationId}/categories","GET",{conversationId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsConversationCommunicationTranscripturl(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturl';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturl';return this.apiClient.callApi("/api/v2/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturl","GET",{conversationId:e,communicationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsConversationCommunicationTranscripturls(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturls';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturls';return this.apiClient.callApi("/api/v2/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturls","GET",{conversationId:e,communicationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsConversationSentiments(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationSentiments';return this.apiClient.callApi("/api/v2/speechandtextanalytics/conversations/{conversationId}/sentiments","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsConversationSummaries(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationSummaries';return this.apiClient.callApi("/api/v2/speechandtextanalytics/conversations/{conversationId}/summaries","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsDictionaryfeedback(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/dictionaryfeedback","GET",{},{dialect:e.dialect,transcriptionEngine:e.transcriptionEngine,nextPage:e.nextPage,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dictionaryFeedbackId" when calling getSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';return this.apiClient.callApi("/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}","GET",{dictionaryFeedbackId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsProgram(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgram';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}","GET",{programId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsProgramMappings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramMappings';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/mappings","GET",{programId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsProgramSettingsInsights(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramSettingsInsights';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/settings/insights","GET",{programId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsProgramTranscriptionengines(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramTranscriptionengines';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines","GET",{programId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsPrograms(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/programs","GET",{},{nextPage:e.nextPage,pageSize:e.pageSize,state:e.state,name:e.name,ids:this.apiClient.buildCollectionParam(e.ids,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsProgramsGeneralJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsProgramsGeneralJob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/general/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsProgramsMappings(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/mappings","GET",{},{nextPage:e.nextPage,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsProgramsPublishjob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsProgramsPublishjob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/publishjobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsProgramsSettingsInsights(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/settings/insights","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,programIds:this.apiClient.buildCollectionParam(e.programIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsProgramsTopiclinksJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsProgramsTopiclinksJob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/topiclinks/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsProgramsTranscriptionenginesDialects(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsProgramsUnpublished(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/unpublished","GET",{},{nextPage:e.nextPage,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsReprocessingJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsReprocessingJob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/reprocessing/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsReprocessingJobInteractions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsReprocessingJobInteractions';return this.apiClient.callApi("/api/v2/speechandtextanalytics/reprocessing/jobs/{jobId}/interactions","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsReprocessingJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/reprocessing/jobs","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsSentimentDialects(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/sentiment/dialects","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsSentimentfeedback(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/sentimentfeedback","GET",{},{dialect:e.dialect},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsTopic(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling getSpeechandtextanalyticsTopic';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/{topicId}","GET",{topicId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsTopics(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/topics","GET",{},{nextPage:e.nextPage,pageSize:e.pageSize,pageNumber:e.pageNumber,state:e.state,name:e.name,ids:this.apiClient.buildCollectionParam(e.ids,"multi"),dialects:this.apiClient.buildCollectionParam(e.dialects,"multi"),sortBy:e.sortBy,sortOrder:e.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsTopicsDialects(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/dialects","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsTopicsGeneral(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/general","GET",{},{dialect:e.dialect},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsTopicsGeneralStatus(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/general/status","GET",{},{dialect:e.dialect},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getSpeechandtextanalyticsTopicsPublishjob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsPublishjob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/publishjobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsTopicsTestphraseJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsTestphraseJob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/testphrase/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSpeechandtextanalyticsTranslationsLanguageConversation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "languageId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';if(i==null||i==="")throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';return this.apiClient.callApi("/api/v2/speechandtextanalytics/translations/languages/{languageId}/conversations/{conversationId}","GET",{languageId:e,conversationId:i},{communicationId:n.communicationId,recordingId:n.recordingId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getSpeechandtextanalyticsTranslationsLanguages(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/translations/languages","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchSpeechandtextanalyticsSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchSpeechandtextanalyticsSettings';return this.apiClient.callApi("/api/v2/speechandtextanalytics/settings","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSpeechandtextanalyticsCategories(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsCategories';return this.apiClient.callApi("/api/v2/speechandtextanalytics/categories","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSpeechandtextanalyticsDictionaryfeedback(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsDictionaryfeedback';return this.apiClient.callApi("/api/v2/speechandtextanalytics/dictionaryfeedback","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSpeechandtextanalyticsPrograms(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsPrograms';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSpeechandtextanalyticsProgramsGeneralJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsProgramsGeneralJobs';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/general/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSpeechandtextanalyticsProgramsPublishjobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsProgramsPublishjobs';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/publishjobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSpeechandtextanalyticsReprocessingJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsReprocessingJobs';return this.apiClient.callApi("/api/v2/speechandtextanalytics/reprocessing/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSpeechandtextanalyticsSentimentfeedback(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsSentimentfeedback';return this.apiClient.callApi("/api/v2/speechandtextanalytics/sentimentfeedback","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSpeechandtextanalyticsTopics(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopics';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSpeechandtextanalyticsTopicsPublishjobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopicsPublishjobs';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/publishjobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSpeechandtextanalyticsTopicsTestphraseJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopicsTestphraseJobs';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/testphrase/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSpeechandtextanalyticsTranscriptsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTranscriptsSearch';return this.apiClient.callApi("/api/v2/speechandtextanalytics/transcripts/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSpeechandtextanalyticsCategory(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "categoryId" when calling putSpeechandtextanalyticsCategory';if(i==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsCategory';return this.apiClient.callApi("/api/v2/speechandtextanalytics/categories/{categoryId}","PUT",{categoryId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "dictionaryFeedbackId" when calling putSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';return this.apiClient.callApi("/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}","PUT",{dictionaryFeedbackId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSpeechandtextanalyticsProgram(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgram';if(i==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgram';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}","PUT",{programId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSpeechandtextanalyticsProgramMappings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramMappings';if(i==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramMappings';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/mappings","PUT",{programId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSpeechandtextanalyticsProgramSettingsInsights(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramSettingsInsights';if(i==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramSettingsInsights';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/settings/insights","PUT",{programId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSpeechandtextanalyticsProgramTranscriptionengines(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramTranscriptionengines';if(i==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramTranscriptionengines';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines","PUT",{programId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putSpeechandtextanalyticsSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsSettings';return this.apiClient.callApi("/api/v2/speechandtextanalytics/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putSpeechandtextanalyticsTopic(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "topicId" when calling putSpeechandtextanalyticsTopic';if(i==null)throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/{topicId}","PUT",{topicId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},ob=class{constructor(e){this.apiClient=e||k.instance}deleteStationAssociateduser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "stationId" when calling deleteStationAssociateduser';return this.apiClient.callApi("/api/v2/stations/{stationId}/associateduser","DELETE",{stationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getStation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "stationId" when calling getStation';return this.apiClient.callApi("/api/v2/stations/{stationId}","GET",{stationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getStations(e){return e=e||{},this.apiClient.callApi("/api/v2/stations","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,name:e.name,userSelectable:e.userSelectable,webRtcUserId:e.webRtcUserId,id:e.id,lineAppearanceId:e.lineAppearanceId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},lb=class{constructor(e){this.apiClient=e||k.instance}getSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getSearch';return this.apiClient.callApi("/api/v2/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),profile:i.profile},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getSearchSuggest(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getSearchSuggest';return this.apiClient.callApi("/api/v2/search/suggest","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),profile:i.profile},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSearch';return this.apiClient.callApi("/api/v2/search","POST",{},{profile:i.profile},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postSearchSuggest(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postSearchSuggest';return this.apiClient.callApi("/api/v2/search/suggest","POST",{},{profile:i.profile},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},ub=class{constructor(e){this.apiClient=e||k.instance}deleteTaskmanagementWorkbin(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workbinId" when calling deleteTaskmanagementWorkbin';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/{workbinId}","DELETE",{workbinId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTaskmanagementWorkitem(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling deleteTaskmanagementWorkitem';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}","DELETE",{workitemId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTaskmanagementWorkitemsBulkAddJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling deleteTaskmanagementWorkitemsBulkAddJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/add/jobs/{bulkJobId}","DELETE",{bulkJobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTaskmanagementWorkitemsBulkTerminateJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling deleteTaskmanagementWorkitemsBulkTerminateJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/terminate/jobs/{bulkJobId}","DELETE",{bulkJobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTaskmanagementWorkitemsSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling deleteTaskmanagementWorkitemsSchema';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/{schemaId}","DELETE",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTaskmanagementWorktype(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktype';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}","DELETE",{worktypeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTaskmanagementWorktypeFlowsDatebasedRule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}","DELETE",{worktypeId:e,ruleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTaskmanagementWorktypeFlowsOnattributechangeRule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}","DELETE",{worktypeId:e,ruleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTaskmanagementWorktypeFlowsOncreateRule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}","DELETE",{worktypeId:e,ruleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTaskmanagementWorktypeStatus(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeStatus';if(i==null||i==="")throw'Missing the required parameter "statusId" when calling deleteTaskmanagementWorktypeStatus';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}","DELETE",{worktypeId:e,statusId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkbin(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbin';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/{workbinId}","GET",{workbinId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkbinHistory(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinHistory';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/{workbinId}/history","GET",{workbinId:e},{after:i.after,pageSize:i.pageSize,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkbinVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinVersion';if(i==null)throw'Missing the required parameter "entityVersion" when calling getTaskmanagementWorkbinVersion';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/{workbinId}/versions/{entityVersion}","GET",{workbinId:e,entityVersion:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkbinVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinVersions';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/{workbinId}/versions","GET",{workbinId:e},{after:i.after,pageSize:i.pageSize,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitem(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitem';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}","GET",{workitemId:e},{expands:this.apiClient.buildCollectionParam(i.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemHistory(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemHistory';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/history","GET",{workitemId:e},{after:i.after,pageSize:i.pageSize,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemUserWrapups(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemUserWrapups';if(i==null||i==="")throw'Missing the required parameter "userId" when calling getTaskmanagementWorkitemUserWrapups';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/users/{userId}/wrapups","GET",{workitemId:e,userId:i},{expands:n.expands,after:n.after,pageSize:n.pageSize,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemVersion';if(i==null)throw'Missing the required parameter "entityVersion" when calling getTaskmanagementWorkitemVersion';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/versions/{entityVersion}","GET",{workitemId:e,entityVersion:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemVersions';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/versions","GET",{workitemId:e},{after:i.after,pageSize:i.pageSize,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemWrapups(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemWrapups';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/wrapups","GET",{workitemId:e},{expands:i.expands,after:i.after,pageSize:i.pageSize,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemsBulkAddJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkAddJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/add/jobs/{bulkJobId}","GET",{bulkJobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemsBulkAddJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkAddJobResults';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/add/jobs/{bulkJobId}/results","GET",{bulkJobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemsBulkJobsUsersMe(e){return e=e||{},this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/jobs/users/me","GET",{},{after:e.after,pageSize:e.pageSize,sortOrder:e.sortOrder,action:e.action},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTaskmanagementWorkitemsBulkTerminateJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkTerminateJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/terminate/jobs/{bulkJobId}","GET",{bulkJobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemsBulkTerminateJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkTerminateJobResults';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/terminate/jobs/{bulkJobId}/results","GET",{bulkJobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemsQueryJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getTaskmanagementWorkitemsQueryJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/query/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemsQueryJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getTaskmanagementWorkitemsQueryJobResults';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/query/jobs/{jobId}/results","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemsSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchema';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemsSchemaVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchemaVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getTaskmanagementWorkitemsSchemaVersion';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/{schemaId}/versions/{versionId}","GET",{schemaId:e,versionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorkitemsSchemaVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchemaVersions';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/{schemaId}/versions","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemsSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTaskmanagementWorkitemsSchemasCoretype(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getTaskmanagementWorkitemsSchemasCoretype';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorkitemsSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTaskmanagementWorkitemsSchemasLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTaskmanagementWorktype(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktype';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}","GET",{worktypeId:e},{expands:this.apiClient.buildCollectionParam(i.expands,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorktypeFlowsDatebasedRule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}","GET",{worktypeId:e,ruleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorktypeFlowsDatebasedRules(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRules';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules","GET",{worktypeId:e},{after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorktypeFlowsOnattributechangeRule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}","GET",{worktypeId:e,ruleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorktypeFlowsOnattributechangeRules(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRules';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules","GET",{worktypeId:e},{after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorktypeFlowsOncreateRule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRule';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOncreateRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}","GET",{worktypeId:e,ruleId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorktypeFlowsOncreateRules(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRules';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules","GET",{worktypeId:e},{after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorktypeHistory(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeHistory';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/history","GET",{worktypeId:e},{after:i.after,pageSize:i.pageSize,sortOrder:i.sortOrder,fields:this.apiClient.buildCollectionParam(i.fields,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorktypeStatus(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatus';if(i==null||i==="")throw'Missing the required parameter "statusId" when calling getTaskmanagementWorktypeStatus';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}","GET",{worktypeId:e,statusId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorktypeStatuses(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatuses';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/statuses","GET",{worktypeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTaskmanagementWorktypeVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeVersion';if(i==null)throw'Missing the required parameter "entityVersion" when calling getTaskmanagementWorktypeVersion';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/versions/{entityVersion}","GET",{worktypeId:e,entityVersion:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTaskmanagementWorktypeVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeVersions';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/versions","GET",{worktypeId:e},{after:i.after,pageSize:i.pageSize,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchTaskmanagementWorkbin(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workbinId" when calling patchTaskmanagementWorkbin';if(i==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkbin';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/{workbinId}","PATCH",{workbinId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchTaskmanagementWorkitem(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitem';if(i==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkitem';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}","PATCH",{workitemId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchTaskmanagementWorkitemAssignment(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemAssignment';if(i==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkitemAssignment';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/assignment","PATCH",{workitemId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchTaskmanagementWorkitemUserWrapups(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemUserWrapups';if(i==null||i==="")throw'Missing the required parameter "userId" when calling patchTaskmanagementWorkitemUserWrapups';if(n==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkitemUserWrapups';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/users/{userId}/wrapups","PATCH",{workitemId:e,userId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchTaskmanagementWorkitemUsersMeWrapups(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemUsersMeWrapups';if(i==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkitemUsersMeWrapups';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/users/me/wrapups","PATCH",{workitemId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchTaskmanagementWorkitemsBulkAddJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling patchTaskmanagementWorkitemsBulkAddJob';if(i==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkitemsBulkAddJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/add/jobs/{bulkJobId}","PATCH",{bulkJobId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchTaskmanagementWorkitemsBulkTerminateJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "bulkJobId" when calling patchTaskmanagementWorkitemsBulkTerminateJob';if(i==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorkitemsBulkTerminateJob';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/terminate/jobs/{bulkJobId}","PATCH",{bulkJobId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchTaskmanagementWorktype(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktype';if(i==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorktype';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}","PATCH",{worktypeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchTaskmanagementWorktypeFlowsDatebasedRule(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';if(n==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}","PATCH",{worktypeId:e,ruleId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchTaskmanagementWorktypeFlowsOnattributechangeRule(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';if(n==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}","PATCH",{worktypeId:e,ruleId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchTaskmanagementWorktypeFlowsOncreateRule(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';if(i==null||i==="")throw'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';if(n==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOncreateRule';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}","PATCH",{worktypeId:e,ruleId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchTaskmanagementWorktypeStatus(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeStatus';if(i==null||i==="")throw'Missing the required parameter "statusId" when calling patchTaskmanagementWorktypeStatus';if(n==null)throw'Missing the required parameter "body" when calling patchTaskmanagementWorktypeStatus';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}","PATCH",{worktypeId:e,statusId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postTaskmanagementWorkbins(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkbins';return this.apiClient.callApi("/api/v2/taskmanagement/workbins","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorkbinsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkbinsQuery';return this.apiClient.callApi("/api/v2/taskmanagement/workbins/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorkitemAcdCancel(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemAcdCancel';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/acd/cancel","POST",{workitemId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorkitemDisconnect(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemDisconnect';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/disconnect","POST",{workitemId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorkitemTerminate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemTerminate';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/{workitemId}/terminate","POST",{workitemId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorkitems(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkitems';return this.apiClient.callApi("/api/v2/taskmanagement/workitems","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorkitemsBulkAddJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsBulkAddJobs';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/add/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorkitemsBulkTerminateJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsBulkTerminateJobs';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/bulk/terminate/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorkitemsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsQuery';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorkitemsQueryJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsQueryJobs';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/query/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorkitemsSchemas(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsSchemas';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorktypeFlowsDatebasedRules(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsDatebasedRules';if(i==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsDatebasedRules';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules","POST",{worktypeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorktypeFlowsOnattributechangeRules(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';if(i==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules","POST",{worktypeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorktypeFlowsOncreateRules(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOncreateRules';if(i==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOncreateRules';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules","POST",{worktypeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorktypeStatuses(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeStatuses';if(i==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorktypeStatuses';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/{worktypeId}/statuses","POST",{worktypeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTaskmanagementWorktypes(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorktypes';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTaskmanagementWorktypesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTaskmanagementWorktypesQuery';return this.apiClient.callApi("/api/v2/taskmanagement/worktypes/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTaskmanagementWorkitemsSchema(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putTaskmanagementWorkitemsSchema';if(i==null)throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';return this.apiClient.callApi("/api/v2/taskmanagement/workitems/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},cb=class{constructor(e){this.apiClient=e||k.instance}deleteTeam(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling deleteTeam';return this.apiClient.callApi("/api/v2/teams/{teamId}","DELETE",{teamId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTeamMembers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling deleteTeamMembers';if(i==null)throw'Missing the required parameter "id" when calling deleteTeamMembers';return this.apiClient.callApi("/api/v2/teams/{teamId}/members","DELETE",{teamId:e},{id:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTeam(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling getTeam';return this.apiClient.callApi("/api/v2/teams/{teamId}","GET",{teamId:e},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTeamMembers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling getTeamMembers';return this.apiClient.callApi("/api/v2/teams/{teamId}/members","GET",{teamId:e},{pageSize:i.pageSize,before:i.before,after:i.after,expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTeams(e){return e=e||{},this.apiClient.callApi("/api/v2/teams","GET",{},{pageSize:e.pageSize,name:e.name,after:e.after,before:e.before,expand:e.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchTeam(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling patchTeam';if(i==null)throw'Missing the required parameter "body" when calling patchTeam';return this.apiClient.callApi("/api/v2/teams/{teamId}","PATCH",{teamId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAnalyticsTeamsActivityQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsTeamsActivityQuery';return this.apiClient.callApi("/api/v2/analytics/teams/activity/query","POST",{},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTeamMembers(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling postTeamMembers';if(i==null)throw'Missing the required parameter "body" when calling postTeamMembers';return this.apiClient.callApi("/api/v2/teams/{teamId}/members","POST",{teamId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTeams(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTeams';return this.apiClient.callApi("/api/v2/teams","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTeamsSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTeamsSearch';return this.apiClient.callApi("/api/v2/teams/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},pb=class{constructor(e){this.apiClient=e||k.instance}deleteTelephonyOrganizationLinkTargetOrganizationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "targetOrganizationId" when calling deleteTelephonyOrganizationLinkTargetOrganizationId';return this.apiClient.callApi("/api/v2/telephony/organization/link/{targetOrganizationId}","DELETE",{targetOrganizationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyAgentGreetings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getTelephonyAgentGreetings';return this.apiClient.callApi("/api/v2/telephony/agents/{agentId}/greetings","GET",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyAgentsGreetingsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/agents/greetings/me","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyCallsMetrics(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/calls/metrics","GET",{},{metricType:e.metricType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyMediaregions(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/mediaregions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyNumbersRouting(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/numbers/routing","GET",{},{before:e.before,after:e.after,pageSize:e.pageSize,numberId:e.numberId,activeRoutingOrganizationId:e.activeRoutingOrganizationId,ownerOrganizationId:e.ownerOrganizationId,status:e.status},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyOrganizationLink(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/organization/link","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyOrganizationLinkRegions(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/organization/link/regions","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonySettings(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonySipmessagesConversation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversation';return this.apiClient.callApi("/api/v2/telephony/sipmessages/conversations/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonySipmessagesConversationHeaders(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversationHeaders';return this.apiClient.callApi("/api/v2/telephony/sipmessages/conversations/{conversationId}/headers","GET",{conversationId:e},{keys:this.apiClient.buildCollectionParam(i.keys,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonySiptraces(e,i,n){if(n=n||{},e==null)throw'Missing the required parameter "dateStart" when calling getTelephonySiptraces';if(i==null)throw'Missing the required parameter "dateEnd" when calling getTelephonySiptraces';return this.apiClient.callApi("/api/v2/telephony/siptraces","GET",{},{callId:n.callId,toUser:n.toUser,fromUser:n.fromUser,conversationId:n.conversationId,dateStart:e,dateEnd:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonySiptracesDownloadDownloadId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "downloadId" when calling getTelephonySiptracesDownloadDownloadId';return this.apiClient.callApi("/api/v2/telephony/siptraces/download/{downloadId}","GET",{downloadId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchTelephonyOrganizationLinkApproveRequestingOrganizationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "requestingOrganizationId" when calling patchTelephonyOrganizationLinkApproveRequestingOrganizationId';if(i==null)throw'Missing the required parameter "body" when calling patchTelephonyOrganizationLinkApproveRequestingOrganizationId';return this.apiClient.callApi("/api/v2/telephony/organization/link/approve/{requestingOrganizationId}","PATCH",{requestingOrganizationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyNumbersRouting(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyNumbersRouting';return this.apiClient.callApi("/api/v2/telephony/numbers/routing","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyNumbersRoutingAll(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyNumbersRoutingAll';return this.apiClient.callApi("/api/v2/telephony/numbers/routing/all","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyNumbersRoutingReset(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyNumbersRoutingReset';return this.apiClient.callApi("/api/v2/telephony/numbers/routing/reset","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyOrganizationLink(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyOrganizationLink';return this.apiClient.callApi("/api/v2/telephony/organization/link","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonySiptracesDownload(e,i){if(i=i||{},e==null)throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';return this.apiClient.callApi("/api/v2/telephony/siptraces/download","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyAgentGreetings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling putTelephonyAgentGreetings';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyAgentGreetings';return this.apiClient.callApi("/api/v2/telephony/agents/{agentId}/greetings","PUT",{agentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyAgentsGreetingsMe(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';return this.apiClient.callApi("/api/v2/telephony/agents/greetings/me","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonySettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putTelephonySettings';return this.apiClient.callApi("/api/v2/telephony/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},db=class{constructor(e){this.apiClient=e||k.instance}deleteTelephonyProvidersEdge(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling deleteTelephonyProvidersEdge';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}","DELETE",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTelephonyProvidersEdgeLogicalinterface(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling deleteTelephonyProvidersEdgeLogicalinterface';if(i==null||i==="")throw'Missing the required parameter "interfaceId" when calling deleteTelephonyProvidersEdgeLogicalinterface';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}","DELETE",{edgeId:e,interfaceId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTelephonyProvidersEdgeSoftwareupdate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling deleteTelephonyProvidersEdgeSoftwareupdate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/softwareupdate","DELETE",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTelephonyProvidersEdgesAlertablepresences(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/alertablepresences","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteTelephonyProvidersEdgesCertificateauthority(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "certificateId" when calling deleteTelephonyProvidersEdgesCertificateauthority';return this.apiClient.callApi("/api/v2/telephony/providers/edges/certificateauthorities/{certificateId}","DELETE",{certificateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTelephonyProvidersEdgesDidpool(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "didPoolId" when calling deleteTelephonyProvidersEdgesDidpool';return this.apiClient.callApi("/api/v2/telephony/providers/edges/didpools/{didPoolId}","DELETE",{didPoolId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTelephonyProvidersEdgesEdgegroup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeGroupId" when calling deleteTelephonyProvidersEdgesEdgegroup';return this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups/{edgeGroupId}","DELETE",{edgeGroupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTelephonyProvidersEdgesExtensionpool(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "extensionPoolId" when calling deleteTelephonyProvidersEdgesExtensionpool';return this.apiClient.callApi("/api/v2/telephony/providers/edges/extensionpools/{extensionPoolId}","DELETE",{extensionPoolId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTelephonyProvidersEdgesPhone(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "phoneId" when calling deleteTelephonyProvidersEdgesPhone';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones/{phoneId}","DELETE",{phoneId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTelephonyProvidersEdgesPhonebasesetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "phoneBaseId" when calling deleteTelephonyProvidersEdgesPhonebasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings/{phoneBaseId}","DELETE",{phoneBaseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTelephonyProvidersEdgesSite(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling deleteTelephonyProvidersEdgesSite';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}","DELETE",{siteId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTelephonyProvidersEdgesSiteOutboundroute(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling deleteTelephonyProvidersEdgesSiteOutboundroute';if(i==null||i==="")throw'Missing the required parameter "outboundRouteId" when calling deleteTelephonyProvidersEdgesSiteOutboundroute';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}","DELETE",{siteId:e,outboundRouteId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteTelephonyProvidersEdgesTrunkbasesetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trunkBaseSettingsId" when calling deleteTelephonyProvidersEdgesTrunkbasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}","DELETE",{trunkBaseSettingsId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdge(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdge';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}","GET",{edgeId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgeDiagnosticNslookup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeDiagnosticNslookup';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/nslookup","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgeDiagnosticPing(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeDiagnosticPing';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/ping","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgeDiagnosticRoute(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeDiagnosticRoute';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/route","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgeDiagnosticTracepath(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeDiagnosticTracepath';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/tracepath","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgeLogicalinterface(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLogicalinterface';if(i==null||i==="")throw'Missing the required parameter "interfaceId" when calling getTelephonyProvidersEdgeLogicalinterface';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}","GET",{edgeId:e,interfaceId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgeLogicalinterfaces(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLogicalinterfaces';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces","GET",{edgeId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgeLogsJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLogsJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getTelephonyProvidersEdgeLogsJob';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logs/jobs/{jobId}","GET",{edgeId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgeMetrics(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeMetrics';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/metrics","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgePhysicalinterface(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgePhysicalinterface';if(i==null||i==="")throw'Missing the required parameter "interfaceId" when calling getTelephonyProvidersEdgePhysicalinterface';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/physicalinterfaces/{interfaceId}","GET",{edgeId:e,interfaceId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgePhysicalinterfaces(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgePhysicalinterfaces';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/physicalinterfaces","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgeSetuppackage(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeSetuppackage';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/setuppackage","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgeSoftwareupdate(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeSoftwareupdate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/softwareupdate","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgeSoftwareversions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeSoftwareversions';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/softwareversions","GET",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgeTrunks(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeTrunks';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/trunks","GET",{edgeId:e},{pageNumber:i.pageNumber,pageSize:i.pageSize,sortBy:i.sortBy,sortOrder:i.sortOrder,"trunkBase.id":i.trunkBaseId,trunkType:i.trunkType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdges(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,"site.id":e.siteId,"edgeGroup.id":e.edgeGroupId,sortBy:e.sortBy,managed:e.managed,showCloudMedia:e.showCloudMedia},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesAlertablepresences(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/alertablepresences","GET",{},{type:e.type},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesCertificateauthorities(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/certificateauthorities","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesCertificateauthority(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "certificateId" when calling getTelephonyProvidersEdgesCertificateauthority';return this.apiClient.callApi("/api/v2/telephony/providers/edges/certificateauthorities/{certificateId}","GET",{certificateId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesDid(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "didId" when calling getTelephonyProvidersEdgesDid';return this.apiClient.callApi("/api/v2/telephony/providers/edges/dids/{didId}","GET",{didId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesDidpool(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "didPoolId" when calling getTelephonyProvidersEdgesDidpool';return this.apiClient.callApi("/api/v2/telephony/providers/edges/didpools/{didPoolId}","GET",{didPoolId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesDidpools(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/didpools","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesDidpoolsDids(e,i){if(i=i||{},e==null)throw'Missing the required parameter "type" when calling getTelephonyProvidersEdgesDidpoolsDids';return this.apiClient.callApi("/api/v2/telephony/providers/edges/didpools/dids","GET",{},{type:e,id:this.apiClient.buildCollectionParam(i.id,"multi"),numberMatch:i.numberMatch,pageSize:i.pageSize,pageNumber:i.pageNumber,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesDids(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/dids","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,phoneNumber:e.phoneNumber,"owner.id":e.ownerId,"didPool.id":e.didPoolId,id:this.apiClient.buildCollectionParam(e.id,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesEdgegroup(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeGroupId" when calling getTelephonyProvidersEdgesEdgegroup';return this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups/{edgeGroupId}","GET",{edgeGroupId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesEdgegroupEdgetrunkbase(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgegroupId" when calling getTelephonyProvidersEdgesEdgegroupEdgetrunkbase';if(i==null||i==="")throw'Missing the required parameter "edgetrunkbaseId" when calling getTelephonyProvidersEdgesEdgegroupEdgetrunkbase';return this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups/{edgegroupId}/edgetrunkbases/{edgetrunkbaseId}","GET",{edgegroupId:e,edgetrunkbaseId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesEdgegroups(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,sortBy:e.sortBy,managed:e.managed},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesEdgeversionreport(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/edgeversionreport","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesExpired(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/expired","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesExtension(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "extensionId" when calling getTelephonyProvidersEdgesExtension';return this.apiClient.callApi("/api/v2/telephony/providers/edges/extensions/{extensionId}","GET",{extensionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesExtensionpool(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "extensionPoolId" when calling getTelephonyProvidersEdgesExtensionpool';return this.apiClient.callApi("/api/v2/telephony/providers/edges/extensionpools/{extensionPoolId}","GET",{extensionPoolId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesExtensionpools(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/extensionpools","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,number:e._number,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesExtensionpoolsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/extensionpools/divisionviews","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,id:this.apiClient.buildCollectionParam(e.id,"multi"),name:e.name,divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesExtensions(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/extensions","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,number:e._number},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesLine(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "lineId" when calling getTelephonyProvidersEdgesLine';return this.apiClient.callApi("/api/v2/telephony/providers/edges/lines/{lineId}","GET",{lineId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesLinebasesetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "lineBaseId" when calling getTelephonyProvidersEdgesLinebasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/linebasesettings/{lineBaseId}","GET",{lineBaseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesLinebasesettings(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/linebasesettings","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesLines(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/lines","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,sortBy:e.sortBy,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesLinesTemplate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "lineBaseSettingsId" when calling getTelephonyProvidersEdgesLinesTemplate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/lines/template","GET",{},{lineBaseSettingsId:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesLogicalinterfaces(e,i){if(i=i||{},e==null)throw'Missing the required parameter "edgeIds" when calling getTelephonyProvidersEdgesLogicalinterfaces';return this.apiClient.callApi("/api/v2/telephony/providers/edges/logicalinterfaces","GET",{},{edgeIds:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesMediastatisticsConversation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getTelephonyProvidersEdgesMediastatisticsConversation';return this.apiClient.callApi("/api/v2/telephony/providers/edges/mediastatistics/conversations/{conversationId}","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesMediastatisticsConversationCommunication(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getTelephonyProvidersEdgesMediastatisticsConversationCommunication';if(i==null||i==="")throw'Missing the required parameter "communicationId" when calling getTelephonyProvidersEdgesMediastatisticsConversationCommunication';return this.apiClient.callApi("/api/v2/telephony/providers/edges/mediastatistics/conversations/{conversationId}/communications/{communicationId}","GET",{conversationId:e,communicationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesMetrics(e,i){if(i=i||{},e==null)throw'Missing the required parameter "edgeIds" when calling getTelephonyProvidersEdgesMetrics';return this.apiClient.callApi("/api/v2/telephony/providers/edges/metrics","GET",{},{edgeIds:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesOutboundroutes(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/outboundroutes","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,name:e.name,"site.id":e.siteId,"externalTrunkBases.ids":e.externalTrunkBasesIds,sortBy:e.sortBy},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesPhone(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "phoneId" when calling getTelephonyProvidersEdgesPhone';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones/{phoneId}","GET",{phoneId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesPhonebasesetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "phoneBaseId" when calling getTelephonyProvidersEdgesPhonebasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings/{phoneBaseId}","GET",{phoneBaseId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesPhonebasesettings(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesPhonebasesettingsAvailablemetabases(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings/availablemetabases","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesPhonebasesettingsTemplate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "phoneMetabaseId" when calling getTelephonyProvidersEdgesPhonebasesettingsTemplate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings/template","GET",{},{phoneMetabaseId:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesPhones(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/phones","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,"site.id":e.siteId,"webRtcUser.id":e.webRtcUserId,"phoneBaseSettings.id":e.phoneBaseSettingsId,"lines.loggedInUser.id":e.linesLoggedInUserId,"lines.defaultForUser.id":e.linesDefaultForUserId,phone_hardwareId:e.phoneHardwareId,"lines.id":e.linesId,"lines.name":e.linesName,name:e.name,"status.operationalStatus":e.statusOperationalStatus,"secondaryStatus.operationalStatus":e.secondaryStatusOperationalStatus,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),fields:this.apiClient.buildCollectionParam(e.fields,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesPhonesTemplate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "phoneBaseSettingsId" when calling getTelephonyProvidersEdgesPhonesTemplate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones/template","GET",{},{phoneBaseSettingsId:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesPhysicalinterfaces(e,i){if(i=i||{},e==null)throw'Missing the required parameter "edgeIds" when calling getTelephonyProvidersEdgesPhysicalinterfaces';return this.apiClient.callApi("/api/v2/telephony/providers/edges/physicalinterfaces","GET",{},{edgeIds:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesSite(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSite';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}","GET",{siteId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesSiteNumberplan(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteNumberplan';if(i==null||i==="")throw'Missing the required parameter "numberPlanId" when calling getTelephonyProvidersEdgesSiteNumberplan';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/numberplans/{numberPlanId}","GET",{siteId:e,numberPlanId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesSiteNumberplans(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteNumberplans';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/numberplans","GET",{siteId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesSiteNumberplansClassifications(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteNumberplansClassifications';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/numberplans/classifications","GET",{siteId:e},{classification:i.classification},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesSiteOutboundroute(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteOutboundroute';if(i==null||i==="")throw'Missing the required parameter "outboundRouteId" when calling getTelephonyProvidersEdgesSiteOutboundroute';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}","GET",{siteId:e,outboundRouteId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyProvidersEdgesSiteOutboundroutes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteOutboundroutes';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes","GET",{siteId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,name:i.name,"externalTrunkBases.ids":i.externalTrunkBasesIds,sortBy:i.sortBy},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesSiteSiteconnections(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteSiteconnections';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections","GET",{siteId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesSites(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/sites","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,sortBy:e.sortBy,sortOrder:e.sortOrder,name:e.name,"location.id":e.locationId,managed:e.managed,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesSitesSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getTelephonyProvidersEdgesSitesSearch';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesTimezones(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/timezones","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesTrunk(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trunkId" when calling getTelephonyProvidersEdgesTrunk';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunks/{trunkId}","GET",{trunkId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesTrunkMetrics(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trunkId" when calling getTelephonyProvidersEdgesTrunkMetrics';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunks/{trunkId}/metrics","GET",{trunkId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesTrunkbasesetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "trunkBaseSettingsId" when calling getTelephonyProvidersEdgesTrunkbasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}","GET",{trunkBaseSettingsId:e},{ignoreHidden:i.ignoreHidden},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesTrunkbasesettings(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,recordingEnabled:e.recordingEnabled,ignoreHidden:e.ignoreHidden,managed:e.managed,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),name:e.name},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesTrunkbasesettingsAvailablemetabases(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings/availablemetabases","GET",{},{type:e.type,pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesTrunkbasesettingsTemplate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "trunkMetabaseId" when calling getTelephonyProvidersEdgesTrunkbasesettingsTemplate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings/template","GET",{},{trunkMetabaseId:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesTrunks(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/trunks","GET",{},{pageNumber:e.pageNumber,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,"edge.id":e.edgeId,"trunkBase.id":e.trunkBaseId,trunkType:e.trunkType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTelephonyProvidersEdgesTrunksMetrics(e,i){if(i=i||{},e==null)throw'Missing the required parameter "trunkIds" when calling getTelephonyProvidersEdgesTrunksMetrics';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunks/metrics","GET",{},{trunkIds:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getTelephonyProvidersEdgesTrunkswithrecording(e){return e=e||{},this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkswithrecording","GET",{},{trunkType:e.trunkType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchTelephonyProvidersEdgesSiteSiteconnections(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling patchTelephonyProvidersEdgesSiteSiteconnections';if(i==null)throw'Missing the required parameter "body" when calling patchTelephonyProvidersEdgesSiteSiteconnections';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections","PATCH",{siteId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgeDiagnosticNslookup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeDiagnosticNslookup';if(i==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeDiagnosticNslookup';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/nslookup","POST",{edgeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgeDiagnosticPing(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeDiagnosticPing';if(i==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeDiagnosticPing';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/ping","POST",{edgeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgeDiagnosticRoute(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeDiagnosticRoute';if(i==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeDiagnosticRoute';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/route","POST",{edgeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgeDiagnosticTracepath(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeDiagnosticTracepath';if(i==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeDiagnosticTracepath';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/diagnostic/tracepath","POST",{edgeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgeLogicalinterfaces(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeLogicalinterfaces';if(i==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeLogicalinterfaces';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces","POST",{edgeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgeLogsJobUpload(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeLogsJobUpload';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling postTelephonyProvidersEdgeLogsJobUpload';if(n==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeLogsJobUpload';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logs/jobs/{jobId}/upload","POST",{edgeId:e,jobId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postTelephonyProvidersEdgeLogsJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeLogsJobs';if(i==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeLogsJobs';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logs/jobs","POST",{edgeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgeReboot(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeReboot';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/reboot","POST",{edgeId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgeSoftwareupdate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeSoftwareupdate';if(i==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeSoftwareupdate';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/softwareupdate","POST",{edgeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgeStatuscode(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeStatuscode';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/statuscode","POST",{edgeId:e},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgeUnpair(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeUnpair';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/unpair","POST",{edgeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdges(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdges';return this.apiClient.callApi("/api/v2/telephony/providers/edges","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesAddressvalidation(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesAddressvalidation';return this.apiClient.callApi("/api/v2/telephony/providers/edges/addressvalidation","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesCertificateauthorities(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesCertificateauthorities';return this.apiClient.callApi("/api/v2/telephony/providers/edges/certificateauthorities","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesDidpools(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesDidpools';return this.apiClient.callApi("/api/v2/telephony/providers/edges/didpools","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesEdgegroups(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesEdgegroups';return this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesExtensionpools(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesExtensionpools';return this.apiClient.callApi("/api/v2/telephony/providers/edges/extensionpools","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesPhoneReboot(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "phoneId" when calling postTelephonyProvidersEdgesPhoneReboot';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones/{phoneId}/reboot","POST",{phoneId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesPhonebasesettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesPhonebasesettings';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesPhones(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesPhones';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesPhonesReboot(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesPhonesReboot';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones/reboot","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesSiteOutboundroutes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling postTelephonyProvidersEdgesSiteOutboundroutes';if(i==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSiteOutboundroutes';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes","POST",{siteId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesSites(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSites';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesSitesSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyProvidersEdgesTrunkbasesettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesTrunkbasesettings';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyProvidersEdge(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdge';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdge';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}","PUT",{edgeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyProvidersEdgeLogicalinterface(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdgeLogicalinterface';if(i==null||i==="")throw'Missing the required parameter "interfaceId" when calling putTelephonyProvidersEdgeLogicalinterface';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgeLogicalinterface';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}","PUT",{edgeId:e,interfaceId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putTelephonyProvidersEdgesAlertablepresences(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesAlertablepresences';return this.apiClient.callApi("/api/v2/telephony/providers/edges/alertablepresences","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putTelephonyProvidersEdgesCertificateauthority(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "certificateId" when calling putTelephonyProvidersEdgesCertificateauthority';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesCertificateauthority';return this.apiClient.callApi("/api/v2/telephony/providers/edges/certificateauthorities/{certificateId}","PUT",{certificateId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyProvidersEdgesDidpool(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "didPoolId" when calling putTelephonyProvidersEdgesDidpool';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesDidpool';return this.apiClient.callApi("/api/v2/telephony/providers/edges/didpools/{didPoolId}","PUT",{didPoolId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyProvidersEdgesEdgegroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "edgeGroupId" when calling putTelephonyProvidersEdgesEdgegroup';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesEdgegroup';return this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups/{edgeGroupId}","PUT",{edgeGroupId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyProvidersEdgesEdgegroupEdgetrunkbase(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "edgegroupId" when calling putTelephonyProvidersEdgesEdgegroupEdgetrunkbase';if(i==null||i==="")throw'Missing the required parameter "edgetrunkbaseId" when calling putTelephonyProvidersEdgesEdgegroupEdgetrunkbase';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesEdgegroupEdgetrunkbase';return this.apiClient.callApi("/api/v2/telephony/providers/edges/edgegroups/{edgegroupId}/edgetrunkbases/{edgetrunkbaseId}","PUT",{edgegroupId:e,edgetrunkbaseId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putTelephonyProvidersEdgesExtensionpool(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "extensionPoolId" when calling putTelephonyProvidersEdgesExtensionpool';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesExtensionpool';return this.apiClient.callApi("/api/v2/telephony/providers/edges/extensionpools/{extensionPoolId}","PUT",{extensionPoolId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyProvidersEdgesPhone(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "phoneId" when calling putTelephonyProvidersEdgesPhone';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesPhone';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phones/{phoneId}","PUT",{phoneId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyProvidersEdgesPhonebasesetting(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "phoneBaseId" when calling putTelephonyProvidersEdgesPhonebasesetting';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesPhonebasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/phonebasesettings/{phoneBaseId}","PUT",{phoneBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyProvidersEdgesSite(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSite';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesSite';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}","PUT",{siteId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyProvidersEdgesSiteNumberplans(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteNumberplans';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesSiteNumberplans';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/numberplans","PUT",{siteId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyProvidersEdgesSiteOutboundroute(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteOutboundroute';if(i==null||i==="")throw'Missing the required parameter "outboundRouteId" when calling putTelephonyProvidersEdgesSiteOutboundroute';if(n==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesSiteOutboundroute';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}","PUT",{siteId:e,outboundRouteId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putTelephonyProvidersEdgesSiteSiteconnections(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteSiteconnections';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesSiteSiteconnections';return this.apiClient.callApi("/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections","PUT",{siteId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putTelephonyProvidersEdgesTrunkbasesetting(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "trunkBaseSettingsId" when calling putTelephonyProvidersEdgesTrunkbasesetting';if(i==null)throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}","PUT",{trunkBaseSettingsId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},hb=class{constructor(e){this.apiClient=e||k.instance}getTextbotsBotsSearch(e){return e=e||{},this.apiClient.callApi("/api/v2/textbots/bots/search","GET",{},{botType:this.apiClient.buildCollectionParam(e.botType,"multi"),botName:e.botName,botId:this.apiClient.buildCollectionParam(e.botId,"multi"),virtualAgentEnabled:e.virtualAgentEnabled,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postTextbotsBotflowsSessionTurns(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "sessionId" when calling postTextbotsBotflowsSessionTurns';if(i==null)throw'Missing the required parameter "turnRequest" when calling postTextbotsBotflowsSessionTurns';return this.apiClient.callApi("/api/v2/textbots/botflows/sessions/{sessionId}/turns","POST",{sessionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTextbotsBotflowsSessions(e,i){if(i=i||{},e==null)throw'Missing the required parameter "launchRequest" when calling postTextbotsBotflowsSessions';return this.apiClient.callApi("/api/v2/textbots/botflows/sessions","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTextbotsBotsExecute(e,i){if(i=i||{},e==null)throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';return this.apiClient.callApi("/api/v2/textbots/bots/execute","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},gb=class{constructor(e){this.apiClient=e||k.instance}deleteToken(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteToken';return this.apiClient.callApi("/api/v2/tokens/{userId}","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteTokensMe(e){return e=e||{},this.apiClient.callApi("/api/v2/tokens/me","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTokensMe(e){return e=e||{},this.apiClient.callApi("/api/v2/tokens/me","GET",{},{preserveIdleTTL:e.preserveIdleTTL},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTokensTimeout(e){return e=e||{},this.apiClient.callApi("/api/v2/tokens/timeout","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}headTokensMe(e){return e=e||{},this.apiClient.callApi("/api/v2/tokens/me","HEAD",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putTokensTimeout(e){return e=e||{},this.apiClient.callApi("/api/v2/tokens/timeout","PUT",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}},mb=class{constructor(e){this.apiClient=e||k.instance}getKnowledgeKnowledgebaseUploadsUrlsJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}","GET",{knowledgeBaseId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postGamificationContestsUploadsPrizeimages(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';return this.apiClient.callApi("/api/v2/gamification/contests/uploads/prizeimages","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postGuidesUploads(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postGuidesUploads';return this.apiClient.callApi("/api/v2/guides/uploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postIntegrationsActionDraftFunctionUpload(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';if(i==null)throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';return this.apiClient.callApi("/api/v2/integrations/actions/{actionId}/draft/function/upload","POST",{actionId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postKnowledgeDocumentuploads(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';return this.apiClient.callApi("/api/v2/knowledge/documentuploads","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postKnowledgeKnowledgebaseUploadsUrlsJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';if(i==null)throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';return this.apiClient.callApi("/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs","POST",{knowledgeBaseId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postLanguageunderstandingMinerUploads(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "minerId" when calling postLanguageunderstandingMinerUploads';if(i==null)throw'Missing the required parameter "body" when calling postLanguageunderstandingMinerUploads';return this.apiClient.callApi("/api/v2/languageunderstanding/miners/{minerId}/uploads","POST",{minerId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUploadsLearningCoverart(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUploadsLearningCoverart';return this.apiClient.callApi("/api/v2/uploads/learning/coverart","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUploadsPublicassetsImages(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUploadsPublicassetsImages';return this.apiClient.callApi("/api/v2/uploads/publicassets/images","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUploadsRecordings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUploadsRecordings';return this.apiClient.callApi("/api/v2/uploads/recordings","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUploadsWorkforcemanagementHistoricaldataCsv(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';return this.apiClient.callApi("/api/v2/uploads/workforcemanagement/historicaldata/csv","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},fb=class{constructor(e){this.apiClient=e||k.instance}getOauthClientUsageQueryResult(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';if(i==null||i==="")throw'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}","GET",{executionId:e,clientId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getOauthClientUsageSummary(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling getOauthClientUsageSummary';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/usage/summary","GET",{clientId:e},{days:i.days},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsageAggregatesQueryJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getUsageAggregatesQueryJob';return this.apiClient.callApi("/api/v2/usage/aggregates/query/jobs/{jobId}","GET",{jobId:e},{pageSize:i.pageSize,after:i.after},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsageClientClientIdAggregatesQueryJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling getUsageClientClientIdAggregatesQueryJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getUsageClientClientIdAggregatesQueryJob';return this.apiClient.callApi("/api/v2/usage/client/{clientId}/aggregates/query/jobs/{jobId}","GET",{clientId:e,jobId:i},{pageSize:n.pageSize,after:n.after},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsageQueryExecutionIdResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "executionId" when calling getUsageQueryExecutionIdResults';return this.apiClient.callApi("/api/v2/usage/query/{executionId}/results","GET",{executionId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsageSimplesearchExecutionIdResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "executionId" when calling getUsageSimplesearchExecutionIdResults';return this.apiClient.callApi("/api/v2/usage/simplesearch/{executionId}/results","GET",{executionId:e},{after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postOauthClientUsageQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling postOauthClientUsageQuery';if(i==null)throw'Missing the required parameter "body" when calling postOauthClientUsageQuery';return this.apiClient.callApi("/api/v2/oauth/clients/{clientId}/usage/query","POST",{clientId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsageAggregatesQueryJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsageAggregatesQueryJobs';return this.apiClient.callApi("/api/v2/usage/aggregates/query/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsageClientClientIdAggregatesQueryJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "clientId" when calling postUsageClientClientIdAggregatesQueryJobs';if(i==null)throw'Missing the required parameter "body" when calling postUsageClientClientIdAggregatesQueryJobs';return this.apiClient.callApi("/api/v2/usage/client/{clientId}/aggregates/query/jobs","POST",{clientId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsageQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsageQuery';return this.apiClient.callApi("/api/v2/usage/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsageSimplesearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsageSimplesearch';return this.apiClient.callApi("/api/v2/usage/simplesearch","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},wb=class{constructor(e){this.apiClient=e||k.instance}deleteUserrecording(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "recordingId" when calling deleteUserrecording';return this.apiClient.callApi("/api/v2/userrecordings/{recordingId}","DELETE",{recordingId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserrecording(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "recordingId" when calling getUserrecording';return this.apiClient.callApi("/api/v2/userrecordings/{recordingId}","GET",{recordingId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserrecordingTranscoding(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "recordingId" when calling getUserrecordingTranscoding';return this.apiClient.callApi("/api/v2/userrecordings/{recordingId}/transcoding","GET",{recordingId:e},{formatId:i.formatId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserrecordings(e){return e=e||{},this.apiClient.callApi("/api/v2/userrecordings","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUserrecordingsSummary(e){return e=e||{},this.apiClient.callApi("/api/v2/userrecordings/summary","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putUserrecording(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "recordingId" when calling putUserrecording';if(i==null)throw'Missing the required parameter "body" when calling putUserrecording';return this.apiClient.callApi("/api/v2/userrecordings/{recordingId}","PUT",{recordingId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},vb=class{constructor(e){this.apiClient=e||k.instance}deleteAnalyticsUsersAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAnalyticsUsersDetailsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersDetailsJob';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs/{jobId}","DELETE",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteAuthorizationSubjectDivisionRole(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling deleteAuthorizationSubjectDivisionRole';if(i==null||i==="")throw'Missing the required parameter "divisionId" when calling deleteAuthorizationSubjectDivisionRole';if(n==null||n==="")throw'Missing the required parameter "roleId" when calling deleteAuthorizationSubjectDivisionRole';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}","DELETE",{subjectId:e,divisionId:i,roleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteRoutingDirectroutingbackupSettingsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/directroutingbackup/settings/me","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteRoutingUserDirectroutingbackupSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteRoutingUserDirectroutingbackupSettings';return this.apiClient.callApi("/api/v2/routing/users/{userId}/directroutingbackup/settings","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteRoutingUserUtilization(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteRoutingUserUtilization';return this.apiClient.callApi("/api/v2/routing/users/{userId}/utilization","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteUser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUser';return this.apiClient.callApi("/api/v2/users/{userId}","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteUserCustomattribute(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserCustomattribute';if(i==null||i==="")throw'Missing the required parameter "schemaId" when calling deleteUserCustomattribute';return this.apiClient.callApi("/api/v2/users/{userId}/customattributes/{schemaId}","DELETE",{userId:e,schemaId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteUserExternalidAuthorityNameExternalKey(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserExternalidAuthorityNameExternalKey';if(i==null||i==="")throw'Missing the required parameter "authorityName" when calling deleteUserExternalidAuthorityNameExternalKey';if(n==null||n==="")throw'Missing the required parameter "externalKey" when calling deleteUserExternalidAuthorityNameExternalKey';return this.apiClient.callApi("/api/v2/users/{userId}/externalid/{authorityName}/{externalKey}","DELETE",{userId:e,authorityName:i,externalKey:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteUserRoutinglanguage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserRoutinglanguage';if(i==null||i==="")throw'Missing the required parameter "languageId" when calling deleteUserRoutinglanguage';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages/{languageId}","DELETE",{userId:e,languageId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteUserRoutingskill(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserRoutingskill';if(i==null||i==="")throw'Missing the required parameter "skillId" when calling deleteUserRoutingskill';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/{skillId}","DELETE",{userId:e,skillId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteUserStationAssociatedstation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserStationAssociatedstation';return this.apiClient.callApi("/api/v2/users/{userId}/station/associatedstation","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteUserStationDefaultstation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserStationDefaultstation';return this.apiClient.callApi("/api/v2/users/{userId}/station/defaultstation","DELETE",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteUserVerifier(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserVerifier';if(i==null||i==="")throw'Missing the required parameter "verifierId" when calling deleteUserVerifier';return this.apiClient.callApi("/api/v2/users/{userId}/verifiers/{verifierId}","DELETE",{userId:e,verifierId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteUsersCustomattributesSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling deleteUsersCustomattributesSchema';return this.apiClient.callApi("/api/v2/users/customattributes/schemas/{schemaId}","DELETE",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteUsersMeVerifier(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "verifierId" when calling deleteUsersMeVerifier';return this.apiClient.callApi("/api/v2/users/me/verifiers/{verifierId}","DELETE",{verifierId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteUsersStationsMeAssociatedstation(e){return e=e||{},this.apiClient.callApi("/api/v2/users/stations/me/associatedstation","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAnalyticsUsersAggregatesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJob';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsUsersAggregatesJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJobResults';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsUsersDetailsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersDetailsJob';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsUsersDetailsJobResults(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getAnalyticsUsersDetailsJobResults';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs/{jobId}/results","GET",{jobId:e},{cursor:i.cursor,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAnalyticsUsersDetailsJobsAvailability(e){return e=e||{},this.apiClient.callApi("/api/v2/analytics/users/details/jobs/availability","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getAuthorizationDivisionspermittedMe(e,i){if(i=i||{},e==null)throw'Missing the required parameter "permission" when calling getAuthorizationDivisionspermittedMe';return this.apiClient.callApi("/api/v2/authorization/divisionspermitted/me","GET",{},{name:i.name,permission:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationDivisionspermittedPagedMe(e,i){if(i=i||{},e==null)throw'Missing the required parameter "permission" when calling getAuthorizationDivisionspermittedPagedMe';return this.apiClient.callApi("/api/v2/authorization/divisionspermitted/paged/me","GET",{},{permission:e,pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationDivisionspermittedPagedSubjectId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getAuthorizationDivisionspermittedPagedSubjectId';if(i==null)throw'Missing the required parameter "permission" when calling getAuthorizationDivisionspermittedPagedSubjectId';return this.apiClient.callApi("/api/v2/authorization/divisionspermitted/paged/{subjectId}","GET",{subjectId:e},{permission:i,pageNumber:n.pageNumber,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAuthorizationSubject(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getAuthorizationSubject';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}","GET",{subjectId:e},{includeDuplicates:i.includeDuplicates},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAuthorizationSubjectsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/authorization/subjects/me","GET",{},{includeDuplicates:e.includeDuplicates},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getFieldconfig(e,i){if(i=i||{},e==null)throw'Missing the required parameter "type" when calling getFieldconfig';return this.apiClient.callApi("/api/v2/fieldconfig","GET",{},{type:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getProfilesUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/profiles/users","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),jid:this.apiClient.buildCollectionParam(e.jid,"multi"),sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),integrationPresenceSource:e.integrationPresenceSource},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingDirectroutingbackupSettingsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/routing/directroutingbackup/settings/me","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getRoutingUserDirectroutingbackupSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';return this.apiClient.callApi("/api/v2/routing/users/{userId}/directroutingbackup/settings","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getRoutingUserUtilization(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getRoutingUserUtilization';return this.apiClient.callApi("/api/v2/routing/users/{userId}/utilization","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUser(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUser';return this.apiClient.callApi("/api/v2/users/{userId}","GET",{userId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi"),integrationPresenceSource:i.integrationPresenceSource,userCustomAttributeSchemaIds:this.apiClient.buildCollectionParam(i.userCustomAttributeSchemaIds,"multi"),state:i.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserAdjacents(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserAdjacents';return this.apiClient.callApi("/api/v2/users/{userId}/adjacents","GET",{userId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserCallforwarding(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserCallforwarding';return this.apiClient.callApi("/api/v2/users/{userId}/callforwarding","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserCustomattribute(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserCustomattribute';if(i==null||i==="")throw'Missing the required parameter "schemaId" when calling getUserCustomattribute';return this.apiClient.callApi("/api/v2/users/{userId}/customattributes/{schemaId}","GET",{userId:e,schemaId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserCustomattributesBulk(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserCustomattributesBulk';if(i==null)throw'Missing the required parameter "schemaIds" when calling getUserCustomattributesBulk';return this.apiClient.callApi("/api/v2/users/{userId}/customattributes/bulk","GET",{userId:e},{schemaIds:this.apiClient.buildCollectionParam(i,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserDirectreports(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserDirectreports';return this.apiClient.callApi("/api/v2/users/{userId}/directreports","GET",{userId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserExternalid(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserExternalid';return this.apiClient.callApi("/api/v2/users/{userId}/externalid","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserExternalidAuthorityName(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserExternalidAuthorityName';if(i==null||i==="")throw'Missing the required parameter "authorityName" when calling getUserExternalidAuthorityName';return this.apiClient.callApi("/api/v2/users/{userId}/externalid/{authorityName}","GET",{userId:e,authorityName:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserFavorites(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserFavorites';return this.apiClient.callApi("/api/v2/users/{userId}/favorites","GET",{userId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortOrder:i.sortOrder,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserGeolocation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserGeolocation';if(i==null||i==="")throw'Missing the required parameter "clientId" when calling getUserGeolocation';return this.apiClient.callApi("/api/v2/users/{userId}/geolocations/{clientId}","GET",{userId:e,clientId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUserOutofoffice(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserOutofoffice';return this.apiClient.callApi("/api/v2/users/{userId}/outofoffice","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserProfile(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserProfile';return this.apiClient.callApi("/api/v2/users/{userId}/profile","GET",{userId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi"),integrationPresenceSource:i.integrationPresenceSource},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserProfileskills(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserProfileskills';return this.apiClient.callApi("/api/v2/users/{userId}/profileskills","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserQueues(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserQueues';return this.apiClient.callApi("/api/v2/users/{userId}/queues","GET",{userId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,joined:i.joined,divisionId:this.apiClient.buildCollectionParam(i.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserRoles(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling getUserRoles';return this.apiClient.callApi("/api/v2/users/{subjectId}/roles","GET",{subjectId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserRoutinglanguages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserRoutinglanguages';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages","GET",{userId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserRoutingskills(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserRoutingskills';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills","GET",{userId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserRoutingstatus(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserRoutingstatus';return this.apiClient.callApi("/api/v2/users/{userId}/routingstatus","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserSkillgroups(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserSkillgroups';return this.apiClient.callApi("/api/v2/users/{userId}/skillgroups","GET",{userId:e},{pageSize:i.pageSize,after:i.after,before:i.before},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserState(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserState';return this.apiClient.callApi("/api/v2/users/{userId}/state","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserStation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserStation';return this.apiClient.callApi("/api/v2/users/{userId}/station","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserSuperiors(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserSuperiors';return this.apiClient.callApi("/api/v2/users/{userId}/superiors","GET",{userId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserTrustors(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserTrustors';return this.apiClient.callApi("/api/v2/users/{userId}/trustors","GET",{userId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUserVerifiers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserVerifiers';return this.apiClient.callApi("/api/v2/users/{userId}/verifiers","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsers(e){return e=e||{},this.apiClient.callApi("/api/v2/users","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,id:this.apiClient.buildCollectionParam(e.id,"multi"),jabberId:this.apiClient.buildCollectionParam(e.jabberId,"multi"),sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),integrationPresenceSource:e.integrationPresenceSource,userCustomAttributeSchemaIds:this.apiClient.buildCollectionParam(e.userCustomAttributeSchemaIds,"multi"),state:e.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersChatsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/users/chats/me","GET",{},{excludeClosed:e.excludeClosed,includePresence:e.includePresence,includeRoomOwners:e.includeRoomOwners,after:e.after},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersCustomattributesSchema(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getUsersCustomattributesSchema';return this.apiClient.callApi("/api/v2/users/customattributes/schemas/{schemaId}","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersCustomattributesSchemaVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getUsersCustomattributesSchemaVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getUsersCustomattributesSchemaVersion';return this.apiClient.callApi("/api/v2/users/customattributes/schemas/{schemaId}/versions/{versionId}","GET",{schemaId:e,versionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersCustomattributesSchemaVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getUsersCustomattributesSchemaVersions';return this.apiClient.callApi("/api/v2/users/customattributes/schemas/{schemaId}/versions","GET",{schemaId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersCustomattributesSchemas(e){return e=e||{},this.apiClient.callApi("/api/v2/users/customattributes/schemas","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersCustomattributesSchemasCoretype(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "coreTypeName" when calling getUsersCustomattributesSchemasCoretype';return this.apiClient.callApi("/api/v2/users/customattributes/schemas/coretypes/{coreTypeName}","GET",{coreTypeName:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersCustomattributesSchemasCoretypes(e){return e=e||{},this.apiClient.callApi("/api/v2/users/customattributes/schemas/coretypes","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersCustomattributesSchemasLimits(e){return e=e||{},this.apiClient.callApi("/api/v2/users/customattributes/schemas/limits","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersDevelopmentActivities(e){return e=e||{},this.apiClient.callApi("/api/v2/users/development/activities","GET",{},{userId:this.apiClient.buildCollectionParam(e.userId,"multi"),moduleId:e.moduleId,interval:e.interval,completionInterval:e.completionInterval,overdue:e.overdue,pass:e.pass,pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,types:this.apiClient.buildCollectionParam(e.types,"multi"),statuses:this.apiClient.buildCollectionParam(e.statuses,"multi"),relationship:this.apiClient.buildCollectionParam(e.relationship,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersDevelopmentActivitiesMe(e){return e=e||{},this.apiClient.callApi("/api/v2/users/development/activities/me","GET",{},{moduleId:e.moduleId,interval:e.interval,completionInterval:e.completionInterval,overdue:e.overdue,pass:e.pass,pageSize:e.pageSize,pageNumber:e.pageNumber,sortOrder:e.sortOrder,types:this.apiClient.buildCollectionParam(e.types,"multi"),statuses:this.apiClient.buildCollectionParam(e.statuses,"multi"),relationship:this.apiClient.buildCollectionParam(e.relationship,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersDevelopmentActivity(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "activityId" when calling getUsersDevelopmentActivity';if(i==null)throw'Missing the required parameter "type" when calling getUsersDevelopmentActivity';return this.apiClient.callApi("/api/v2/users/development/activities/{activityId}","GET",{activityId:e},{type:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersExternalidAuthorityNameExternalKey(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "authorityName" when calling getUsersExternalidAuthorityNameExternalKey';if(i==null||i==="")throw'Missing the required parameter "externalKey" when calling getUsersExternalidAuthorityNameExternalKey';return this.apiClient.callApi("/api/v2/users/externalid/{authorityName}/{externalKey}","GET",{authorityName:e,externalKey:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getUsersMe(e){return e=e||{},this.apiClient.callApi("/api/v2/users/me","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi"),integrationPresenceSource:e.integrationPresenceSource,userCustomAttributeSchemaIds:this.apiClient.buildCollectionParam(e.userCustomAttributeSchemaIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersMeVerifiers(e){return e=e||{},this.apiClient.callApi("/api/v2/users/me/verifiers","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersQuery(e){return e=e||{},this.apiClient.callApi("/api/v2/users/query","GET",{},{cursor:e.cursor,pageSize:e.pageSize,sortOrder:e.sortOrder,expand:this.apiClient.buildCollectionParam(e.expand,"multi"),integrationPresenceSource:e.integrationPresenceSource,userCustomAttributeSchemaIds:this.apiClient.buildCollectionParam(e.userCustomAttributeSchemaIds,"multi"),state:e.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getUsersSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getUsersSearch';return this.apiClient.callApi("/api/v2/users/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi"),integrationPresenceSource:i.integrationPresenceSource},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersStationsMe(e){return e=e||{},this.apiClient.callApi("/api/v2/users/stations/me","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchUser(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUser';if(i==null)throw'Missing the required parameter "body" when calling patchUser';return this.apiClient.callApi("/api/v2/users/{userId}","PATCH",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUserCallforwarding(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserCallforwarding';if(i==null)throw'Missing the required parameter "body" when calling patchUserCallforwarding';return this.apiClient.callApi("/api/v2/users/{userId}/callforwarding","PATCH",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUserCustomattributes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserCustomattributes';if(i==null)throw'Missing the required parameter "userCustomAttributes" when calling patchUserCustomattributes';return this.apiClient.callApi("/api/v2/users/{userId}/customattributes","PATCH",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUserCustomattributesBulk(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserCustomattributesBulk';if(i==null)throw'Missing the required parameter "userCustomAttributesList" when calling patchUserCustomattributesBulk';return this.apiClient.callApi("/api/v2/users/{userId}/customattributes/bulk","PATCH",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUserGeolocation(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserGeolocation';if(i==null||i==="")throw'Missing the required parameter "clientId" when calling patchUserGeolocation';if(n==null)throw'Missing the required parameter "body" when calling patchUserGeolocation';return this.apiClient.callApi("/api/v2/users/{userId}/geolocations/{clientId}","PATCH",{userId:e,clientId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchUserQueue(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling patchUserQueue';if(i==null||i==="")throw'Missing the required parameter "userId" when calling patchUserQueue';if(n==null)throw'Missing the required parameter "body" when calling patchUserQueue';return this.apiClient.callApi("/api/v2/users/{userId}/queues/{queueId}","PATCH",{queueId:e,userId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchUserQueues(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserQueues';if(i==null)throw'Missing the required parameter "body" when calling patchUserQueues';return this.apiClient.callApi("/api/v2/users/{userId}/queues","PATCH",{userId:e},{divisionId:this.apiClient.buildCollectionParam(n.divisionId,"multi")},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUserRoutinglanguage(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserRoutinglanguage';if(i==null||i==="")throw'Missing the required parameter "languageId" when calling patchUserRoutinglanguage';if(n==null)throw'Missing the required parameter "body" when calling patchUserRoutinglanguage';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages/{languageId}","PATCH",{userId:e,languageId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchUserRoutinglanguagesBulk(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';if(i==null)throw'Missing the required parameter "body" when calling patchUserRoutinglanguagesBulk';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages/bulk","PATCH",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUserRoutingskillsBulk(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchUserRoutingskillsBulk';if(i==null)throw'Missing the required parameter "body" when calling patchUserRoutingskillsBulk';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/bulk","PATCH",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchUsersBulk(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchUsersBulk';return this.apiClient.callApi("/api/v2/users/bulk","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsUsersActivityQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersActivityQuery';return this.apiClient.callApi("/api/v2/analytics/users/activity/query","POST",{},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsUsersAggregatesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesJobs';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsUsersAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesQuery';return this.apiClient.callApi("/api/v2/analytics/users/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsUsersDetailsJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersDetailsJobs';return this.apiClient.callApi("/api/v2/analytics/users/details/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsUsersDetailsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersDetailsQuery';return this.apiClient.callApi("/api/v2/analytics/users/details/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAnalyticsUsersObservationsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAnalyticsUsersObservationsQuery';return this.apiClient.callApi("/api/v2/analytics/users/observations/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAuthorizationSubjectBulkadd(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkadd';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationSubjectBulkadd';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/bulkadd","POST",{subjectId:e},{subjectType:n.subjectType},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationSubjectBulkremove(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkremove';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationSubjectBulkremove';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/bulkremove","POST",{subjectId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationSubjectBulkreplace(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkreplace';if(i==null)throw'Missing the required parameter "body" when calling postAuthorizationSubjectBulkreplace';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/bulkreplace","POST",{subjectId:e},{subjectType:n.subjectType},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAuthorizationSubjectDivisionRole(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling postAuthorizationSubjectDivisionRole';if(i==null||i==="")throw'Missing the required parameter "divisionId" when calling postAuthorizationSubjectDivisionRole';if(n==null||n==="")throw'Missing the required parameter "roleId" when calling postAuthorizationSubjectDivisionRole';return this.apiClient.callApi("/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}","POST",{subjectId:e,divisionId:i,roleId:n},{subjectType:a.subjectType},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postUserExternalid(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserExternalid';if(i==null)throw'Missing the required parameter "body" when calling postUserExternalid';return this.apiClient.callApi("/api/v2/users/{userId}/externalid","POST",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUserInvite(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserInvite';return this.apiClient.callApi("/api/v2/users/{userId}/invite","POST",{userId:e},{force:i.force},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUserPassword(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserPassword';if(i==null)throw'Missing the required parameter "body" when calling postUserPassword';return this.apiClient.callApi("/api/v2/users/{userId}/password","POST",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUserRoutinglanguages(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserRoutinglanguages';if(i==null)throw'Missing the required parameter "body" when calling postUserRoutinglanguages';return this.apiClient.callApi("/api/v2/users/{userId}/routinglanguages","POST",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUserRoutingskills(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling postUserRoutingskills';if(i==null)throw'Missing the required parameter "body" when calling postUserRoutingskills';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills","POST",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsers(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsers';return this.apiClient.callApi("/api/v2/users","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersCustomattributesSchemas(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersCustomattributesSchemas';return this.apiClient.callApi("/api/v2/users/customattributes/schemas","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersDevelopmentActivitiesAggregatesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersDevelopmentActivitiesAggregatesQuery';return this.apiClient.callApi("/api/v2/users/development/activities/aggregates/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersMePassword(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersMePassword';return this.apiClient.callApi("/api/v2/users/me/password","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersMeVerifiersTotp(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersMeVerifiersTotp';return this.apiClient.callApi("/api/v2/users/me/verifiers/totp","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersMeVerifiersTotpVerifierId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "verifierId" when calling postUsersMeVerifiersTotpVerifierId';if(i==null)throw'Missing the required parameter "body" when calling postUsersMeVerifiersTotpVerifierId';return this.apiClient.callApi("/api/v2/users/me/verifiers/totp/{verifierId}","POST",{verifierId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersMeVerifiersWebauthnRegister(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersMeVerifiersWebauthnRegister';return this.apiClient.callApi("/api/v2/users/me/verifiers/webauthn/register","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersMeVerifiersWebauthnRegisterOptions(e){return e=e||{},this.apiClient.callApi("/api/v2/users/me/verifiers/webauthn/register/options","POST",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postUsersSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearch';return this.apiClient.callApi("/api/v2/users/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersSearchConversationTarget(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearchConversationTarget';return this.apiClient.callApi("/api/v2/users/search/conversation/target","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersSearchQueuemembersManage(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearchQueuemembersManage';return this.apiClient.callApi("/api/v2/users/search/queuemembers/manage","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersSearchTeamsAssign(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';return this.apiClient.callApi("/api/v2/users/search/teams/assign","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingDirectroutingbackupSettingsMe(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putRoutingDirectroutingbackupSettingsMe';return this.apiClient.callApi("/api/v2/routing/directroutingbackup/settings/me","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putRoutingUserDirectroutingbackupSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';if(i==null)throw'Missing the required parameter "body" when calling putRoutingUserDirectroutingbackupSettings';return this.apiClient.callApi("/api/v2/routing/users/{userId}/directroutingbackup/settings","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putRoutingUserUtilization(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putRoutingUserUtilization';if(i==null)throw'Missing the required parameter "body" when calling putRoutingUserUtilization';return this.apiClient.callApi("/api/v2/routing/users/{userId}/utilization","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserCallforwarding(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserCallforwarding';if(i==null)throw'Missing the required parameter "body" when calling putUserCallforwarding';return this.apiClient.callApi("/api/v2/users/{userId}/callforwarding","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserCustomattributes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserCustomattributes';if(i==null)throw'Missing the required parameter "userCustomAttributes" when calling putUserCustomattributes';return this.apiClient.callApi("/api/v2/users/{userId}/customattributes","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserOutofoffice(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserOutofoffice';if(i==null)throw'Missing the required parameter "body" when calling putUserOutofoffice';return this.apiClient.callApi("/api/v2/users/{userId}/outofoffice","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserProfileskills(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserProfileskills';if(i==null)throw'Missing the required parameter "body" when calling putUserProfileskills';return this.apiClient.callApi("/api/v2/users/{userId}/profileskills","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserRoles(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "subjectId" when calling putUserRoles';if(i==null)throw'Missing the required parameter "body" when calling putUserRoles';return this.apiClient.callApi("/api/v2/users/{subjectId}/roles","PUT",{subjectId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserRoutingskill(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserRoutingskill';if(i==null||i==="")throw'Missing the required parameter "skillId" when calling putUserRoutingskill';if(n==null)throw'Missing the required parameter "body" when calling putUserRoutingskill';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/{skillId}","PUT",{userId:e,skillId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putUserRoutingskillsBulk(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserRoutingskillsBulk';if(i==null)throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';return this.apiClient.callApi("/api/v2/users/{userId}/routingskills/bulk","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserRoutingstatus(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserRoutingstatus';if(i==null)throw'Missing the required parameter "body" when calling putUserRoutingstatus';return this.apiClient.callApi("/api/v2/users/{userId}/routingstatus","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserState(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserState';if(i==null)throw'Missing the required parameter "body" when calling putUserState';return this.apiClient.callApi("/api/v2/users/{userId}/state","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserStationAssociatedstationStationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserStationAssociatedstationStationId';if(i==null||i==="")throw'Missing the required parameter "stationId" when calling putUserStationAssociatedstationStationId';return this.apiClient.callApi("/api/v2/users/{userId}/station/associatedstation/{stationId}","PUT",{userId:e,stationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserStationDefaultstationStationId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserStationDefaultstationStationId';if(i==null||i==="")throw'Missing the required parameter "stationId" when calling putUserStationDefaultstationStationId';return this.apiClient.callApi("/api/v2/users/{userId}/station/defaultstation/{stationId}","PUT",{userId:e,stationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUserVerifier(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putUserVerifier';if(i==null||i==="")throw'Missing the required parameter "verifierId" when calling putUserVerifier';if(n==null)throw'Missing the required parameter "body" when calling putUserVerifier';return this.apiClient.callApi("/api/v2/users/{userId}/verifiers/{verifierId}","PUT",{userId:e,verifierId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putUsersCustomattributesSchema(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling putUsersCustomattributesSchema';if(i==null)throw'Missing the required parameter "body" when calling putUsersCustomattributesSchema';return this.apiClient.callApi("/api/v2/users/customattributes/schemas/{schemaId}","PUT",{schemaId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUsersMeVerifier(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "verifierId" when calling putUsersMeVerifier';if(i==null)throw'Missing the required parameter "body" when calling putUsersMeVerifier';return this.apiClient.callApi("/api/v2/users/me/verifiers/{verifierId}","PUT",{verifierId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putUsersStationsMeAssociatedstationStationId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "stationId" when calling putUsersStationsMeAssociatedstationStationId';return this.apiClient.callApi("/api/v2/users/stations/me/associatedstation/{stationId}","PUT",{stationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Cb=class{constructor(e){this.apiClient=e||k.instance}deleteUsersRule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling deleteUsersRule';return this.apiClient.callApi("/api/v2/users/rules/{ruleId}","DELETE",{ruleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersRule(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling getUsersRule';return this.apiClient.callApi("/api/v2/users/rules/{ruleId}","GET",{ruleId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersRuleDependentTypeId(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling getUsersRuleDependentTypeId';if(i==null||i==="")throw'Missing the required parameter "ruleType" when calling getUsersRuleDependentTypeId';if(n==null||n==="")throw'Missing the required parameter "typeId" when calling getUsersRuleDependentTypeId';return this.apiClient.callApi("/api/v2/users/rules/{ruleId}/dependents/{ruleType}/{typeId}","GET",{ruleId:e,ruleType:i,typeId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getUsersRuleDependents(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling getUsersRuleDependents';return this.apiClient.callApi("/api/v2/users/rules/{ruleId}/dependents","GET",{ruleId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersRules(e,i){if(i=i||{},e==null)throw'Missing the required parameter "types" when calling getUsersRules';return this.apiClient.callApi("/api/v2/users/rules","GET",{},{pageNumber:i.pageNumber,pageSize:i.pageSize,types:this.apiClient.buildCollectionParam(e,"multi"),expand:this.apiClient.buildCollectionParam(i.expand,"multi"),enabled:i.enabled,searchTerm:i.searchTerm,sortOrder:i.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getUsersRulesSetting(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "ruleType" when calling getUsersRulesSetting';return this.apiClient.callApi("/api/v2/users/rules/settings/{ruleType}","GET",{ruleType:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchUsersRule(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "ruleId" when calling patchUsersRule';if(i==null)throw'Missing the required parameter "body" when calling patchUsersRule';return this.apiClient.callApi("/api/v2/users/rules/{ruleId}","PATCH",{ruleId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postUsersRules(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersRules';return this.apiClient.callApi("/api/v2/users/rules","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersRulesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postUsersRulesQuery';return this.apiClient.callApi("/api/v2/users/rules/query","POST",{},{pageNumber:i.pageNumber,pageSize:i.pageSize},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Ab=class{constructor(e){this.apiClient=e||k.instance}getDate(e){return e=e||{},this.apiClient.callApi("/api/v2/date","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getIpranges(e){return e=e||{},this.apiClient.callApi("/api/v2/ipranges","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getTimezones(e){return e=e||{},this.apiClient.callApi("/api/v2/timezones","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postCertificateDetails(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postCertificateDetails';return this.apiClient.callApi("/api/v2/certificate/details","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},bb=class{constructor(e){this.apiClient=e||k.instance}deleteAgenticVirtualagentJobs(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling deleteAgenticVirtualagentJobs';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}/jobs","DELETE",{virtualAgentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAgenticVirtualagent(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling getAgenticVirtualagent';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}","GET",{virtualAgentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getAgenticVirtualagentJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling getAgenticVirtualagentJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getAgenticVirtualagentJob';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}/jobs/{jobId}","GET",{virtualAgentId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getAgenticVirtualagents(e){return e=e||{},this.apiClient.callApi("/api/v2/agentic/virtualagents","GET",{},{name:e.name,nameContains:e.nameContains,status:e.status,sortBy:e.sortBy,sortOrder:e.sortOrder,pageNumber:e.pageNumber,pageSize:e.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchAgenticVirtualagent(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling patchAgenticVirtualagent';if(i==null)throw'Missing the required parameter "body" when calling patchAgenticVirtualagent';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}","PATCH",{virtualAgentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postAgenticVirtualagentVersionJobs(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling postAgenticVirtualagentVersionJobs';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling postAgenticVirtualagentVersionJobs';if(n==null)throw'Missing the required parameter "body" when calling postAgenticVirtualagentVersionJobs';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}/versions/{versionId}/jobs","POST",{virtualAgentId:e,versionId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAgenticVirtualagents(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postAgenticVirtualagents';return this.apiClient.callApi("/api/v2/agentic/virtualagents","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},yb=class{constructor(e){this.apiClient=e||k.instance}deleteVoicemailMessage(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling deleteVoicemailMessage';return this.apiClient.callApi("/api/v2/voicemail/messages/{messageId}","DELETE",{messageId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteVoicemailMessages(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/messages","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailGroupMailbox(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getVoicemailGroupMailbox';return this.apiClient.callApi("/api/v2/voicemail/groups/{groupId}/mailbox","GET",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getVoicemailGroupMessages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getVoicemailGroupMessages';return this.apiClient.callApi("/api/v2/voicemail/groups/{groupId}/messages","GET",{groupId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getVoicemailGroupPolicy(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling getVoicemailGroupPolicy';return this.apiClient.callApi("/api/v2/voicemail/groups/{groupId}/policy","GET",{groupId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getVoicemailMailbox(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/mailbox","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailMeMailbox(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/me/mailbox","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailMeMessages(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/me/messages","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailMePolicy(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/me/policy","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailMessage(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling getVoicemailMessage';return this.apiClient.callApi("/api/v2/voicemail/messages/{messageId}","GET",{messageId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getVoicemailMessageMedia(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling getVoicemailMessageMedia';return this.apiClient.callApi("/api/v2/voicemail/messages/{messageId}/media","GET",{messageId:e},{formatId:i.formatId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getVoicemailMessages(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/messages","GET",{},{ids:e.ids,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailPolicy(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/policy","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getVoicemailQueueMessages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "queueId" when calling getVoicemailQueueMessages';return this.apiClient.callApi("/api/v2/voicemail/queues/{queueId}/messages","GET",{queueId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getVoicemailSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "q64" when calling getVoicemailSearch';return this.apiClient.callApi("/api/v2/voicemail/search","GET",{},{q64:e,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getVoicemailUserMailbox(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getVoicemailUserMailbox';return this.apiClient.callApi("/api/v2/voicemail/users/{userId}/mailbox","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getVoicemailUserMessages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getVoicemailUserMessages';return this.apiClient.callApi("/api/v2/voicemail/users/{userId}/messages","GET",{userId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getVoicemailUserpolicy(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getVoicemailUserpolicy';return this.apiClient.callApi("/api/v2/voicemail/userpolicies/{userId}","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchVoicemailGroupPolicy(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "groupId" when calling patchVoicemailGroupPolicy';if(i==null)throw'Missing the required parameter "body" when calling patchVoicemailGroupPolicy';return this.apiClient.callApi("/api/v2/voicemail/groups/{groupId}/policy","PATCH",{groupId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchVoicemailMePolicy(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchVoicemailMePolicy';return this.apiClient.callApi("/api/v2/voicemail/me/policy","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchVoicemailMessage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling patchVoicemailMessage';if(i==null)throw'Missing the required parameter "body" when calling patchVoicemailMessage';return this.apiClient.callApi("/api/v2/voicemail/messages/{messageId}","PATCH",{messageId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchVoicemailUserpolicy(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchVoicemailUserpolicy';if(i==null)throw'Missing the required parameter "body" when calling patchVoicemailUserpolicy';return this.apiClient.callApi("/api/v2/voicemail/userpolicies/{userId}","PATCH",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postVoicemailMessages(e){return e=e||{},this.apiClient.callApi("/api/v2/voicemail/messages","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postVoicemailSearch(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postVoicemailSearch';return this.apiClient.callApi("/api/v2/voicemail/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putVoicemailMessage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "messageId" when calling putVoicemailMessage';if(i==null)throw'Missing the required parameter "body" when calling putVoicemailMessage';return this.apiClient.callApi("/api/v2/voicemail/messages/{messageId}","PUT",{messageId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putVoicemailPolicy(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putVoicemailPolicy';return this.apiClient.callApi("/api/v2/voicemail/policy","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putVoicemailUserpolicy(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling putVoicemailUserpolicy';if(i==null)throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';return this.apiClient.callApi("/api/v2/voicemail/userpolicies/{userId}","PUT",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Pb=class{constructor(e){this.apiClient=e||k.instance}deleteWebchatDeployment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling deleteWebchatDeployment';return this.apiClient.callApi("/api/v2/webchat/deployments/{deploymentId}","DELETE",{deploymentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWebchatGuestConversationMember(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteWebchatGuestConversationMember';if(i==null||i==="")throw'Missing the required parameter "memberId" when calling deleteWebchatGuestConversationMember';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}","DELETE",{conversationId:e,memberId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWebchatSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/webchat/settings","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWebchatDeployment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getWebchatDeployment';return this.apiClient.callApi("/api/v2/webchat/deployments/{deploymentId}","GET",{deploymentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebchatDeployments(e){return e=e||{},this.apiClient.callApi("/api/v2/webchat/deployments","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWebchatGuestConversationMediarequest(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMediarequest';if(i==null||i==="")throw'Missing the required parameter "mediaRequestId" when calling getWebchatGuestConversationMediarequest';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/mediarequests/{mediaRequestId}","GET",{conversationId:e,mediaRequestId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebchatGuestConversationMediarequests(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMediarequests';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/mediarequests","GET",{conversationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebchatGuestConversationMember(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMember';if(i==null||i==="")throw'Missing the required parameter "memberId" when calling getWebchatGuestConversationMember';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}","GET",{conversationId:e,memberId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebchatGuestConversationMembers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMembers';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/members","GET",{conversationId:e},{pageSize:i.pageSize,pageNumber:i.pageNumber,excludeDisconnectedMembers:i.excludeDisconnectedMembers},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebchatGuestConversationMessage(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMessage';if(i==null||i==="")throw'Missing the required parameter "messageId" when calling getWebchatGuestConversationMessage';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/messages/{messageId}","GET",{conversationId:e,messageId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebchatGuestConversationMessages(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMessages';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/messages","GET",{conversationId:e},{after:i.after,before:i.before,sortOrder:i.sortOrder,maxResults:i.maxResults},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebchatSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/webchat/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchWebchatGuestConversationMediarequest(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchWebchatGuestConversationMediarequest';if(i==null||i==="")throw'Missing the required parameter "mediaRequestId" when calling patchWebchatGuestConversationMediarequest';if(n==null)throw'Missing the required parameter "body" when calling patchWebchatGuestConversationMediarequest';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/mediarequests/{mediaRequestId}","PATCH",{conversationId:e,mediaRequestId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWebchatDeployments(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWebchatDeployments';return this.apiClient.callApi("/api/v2/webchat/deployments","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWebchatGuestConversationMemberMessages(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postWebchatGuestConversationMemberMessages';if(i==null||i==="")throw'Missing the required parameter "memberId" when calling postWebchatGuestConversationMemberMessages';if(n==null)throw'Missing the required parameter "body" when calling postWebchatGuestConversationMemberMessages';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}/messages","POST",{conversationId:e,memberId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWebchatGuestConversationMemberTyping(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postWebchatGuestConversationMemberTyping';if(i==null||i==="")throw'Missing the required parameter "memberId" when calling postWebchatGuestConversationMemberTyping';return this.apiClient.callApi("/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}/typing","POST",{conversationId:e,memberId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWebchatGuestConversations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWebchatGuestConversations';return this.apiClient.callApi("/api/v2/webchat/guest/conversations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putWebchatDeployment(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling putWebchatDeployment';if(i==null)throw'Missing the required parameter "body" when calling putWebchatDeployment';return this.apiClient.callApi("/api/v2/webchat/deployments/{deploymentId}","PUT",{deploymentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putWebchatSettings(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling putWebchatSettings';return this.apiClient.callApi("/api/v2/webchat/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},jb=class{constructor(e){this.apiClient=e||k.instance}deleteWebdeploymentsConfiguration(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling deleteWebdeploymentsConfiguration';return this.apiClient.callApi("/api/v2/webdeployments/configurations/{configurationId}","DELETE",{configurationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWebdeploymentsDeployment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeployment';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}","DELETE",{deploymentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWebdeploymentsDeploymentCobrowseSessionId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';if(i==null||i==="")throw'Missing the required parameter "sessionId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}","DELETE",{deploymentId:e,sessionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWebdeploymentsTokenRevoke(e){return e=e||{},this.apiClient.callApi("/api/v2/webdeployments/token/revoke","DELETE",{},{},{"X-Journey-Session-Id":e.xJourneySessionId,"X-Journey-Session-Type":e.xJourneySessionType},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWebdeploymentsConfigurationVersion(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersion';if(i==null||i==="")throw'Missing the required parameter "versionId" when calling getWebdeploymentsConfigurationVersion';return this.apiClient.callApi("/api/v2/webdeployments/configurations/{configurationId}/versions/{versionId}","GET",{configurationId:e,versionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebdeploymentsConfigurationVersions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersions';return this.apiClient.callApi("/api/v2/webdeployments/configurations/{configurationId}/versions","GET",{configurationId:e},{pageSize:i.pageSize,before:i.before,after:i.after},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebdeploymentsConfigurationVersionsDraft(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersionsDraft';return this.apiClient.callApi("/api/v2/webdeployments/configurations/{configurationId}/versions/draft","GET",{configurationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebdeploymentsConfigurations(e){return e=e||{},this.apiClient.callApi("/api/v2/webdeployments/configurations","GET",{},{pageSize:e.pageSize,before:e.before,after:e.after,showOnlyPublished:e.showOnlyPublished},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWebdeploymentsDeployment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeployment';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}","GET",{deploymentId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebdeploymentsDeploymentCobrowseSessionId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentCobrowseSessionId';if(i==null||i==="")throw'Missing the required parameter "sessionId" when calling getWebdeploymentsDeploymentCobrowseSessionId';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId}","GET",{deploymentId:e,sessionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebdeploymentsDeploymentConfigurations(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentConfigurations';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}/configurations","GET",{deploymentId:e},{type:i.type,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebdeploymentsDeploymentIdentityresolution(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentIdentityresolution';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}/identityresolution","GET",{deploymentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWebdeploymentsDeployments(e){return e=e||{},this.apiClient.callApi("/api/v2/webdeployments/deployments","GET",{},{pageSize:e.pageSize,before:e.before,after:e.after,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postWebdeploymentsConfigurationVersionsDraftPublish(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling postWebdeploymentsConfigurationVersionsDraftPublish';return this.apiClient.callApi("/api/v2/webdeployments/configurations/{configurationId}/versions/draft/publish","POST",{configurationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWebdeploymentsConfigurations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "configurationVersion" when calling postWebdeploymentsConfigurations';return this.apiClient.callApi("/api/v2/webdeployments/configurations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWebdeploymentsDeployments(e,i){if(i=i||{},e==null)throw'Missing the required parameter "deployment" when calling postWebdeploymentsDeployments';return this.apiClient.callApi("/api/v2/webdeployments/deployments","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWebdeploymentsTokenOauthcodegrantjwtexchange(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWebdeploymentsTokenOauthcodegrantjwtexchange';return this.apiClient.callApi("/api/v2/webdeployments/token/oauthcodegrantjwtexchange","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWebdeploymentsTokenRefresh(e){return e=e||{},this.apiClient.callApi("/api/v2/webdeployments/token/refresh","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}putWebdeploymentsConfigurationVersionsDraft(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "configurationId" when calling putWebdeploymentsConfigurationVersionsDraft';if(i==null)throw'Missing the required parameter "configurationVersion" when calling putWebdeploymentsConfigurationVersionsDraft';return this.apiClient.callApi("/api/v2/webdeployments/configurations/{configurationId}/versions/draft","PUT",{configurationId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putWebdeploymentsDeployment(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeployment';if(i==null)throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}","PUT",{deploymentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putWebdeploymentsDeploymentIdentityresolution(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeploymentIdentityresolution';if(i==null)throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';return this.apiClient.callApi("/api/v2/webdeployments/deployments/{deploymentId}/identityresolution","PUT",{deploymentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Sb=class{constructor(e){this.apiClient=e||k.instance}deleteWebmessagingDeploymentPushdevice(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling deleteWebmessagingDeploymentPushdevice';if(i==null||i==="")throw'Missing the required parameter "tokenId" when calling deleteWebmessagingDeploymentPushdevice';return this.apiClient.callApi("/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}","DELETE",{deploymentId:e,tokenId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWebmessagingMessages(e){return e=e||{},this.apiClient.callApi("/api/v2/webmessaging/messages","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchWebmessagingDeploymentPushdevice(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling patchWebmessagingDeploymentPushdevice';if(i==null||i==="")throw'Missing the required parameter "tokenId" when calling patchWebmessagingDeploymentPushdevice';if(n==null)throw'Missing the required parameter "body" when calling patchWebmessagingDeploymentPushdevice';return this.apiClient.callApi("/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}","PATCH",{deploymentId:e,tokenId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWebmessagingDeploymentPushdevice(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling postWebmessagingDeploymentPushdevice';if(i==null||i==="")throw'Missing the required parameter "tokenId" when calling postWebmessagingDeploymentPushdevice';if(n==null)throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';return this.apiClient.callApi("/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}","POST",{deploymentId:e,tokenId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}},Ob=class{constructor(e){this.apiClient=e||k.instance}deleteWidgetsDeployment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling deleteWidgetsDeployment';return this.apiClient.callApi("/api/v2/widgets/deployments/{deploymentId}","DELETE",{deploymentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWidgetsDeployment(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling getWidgetsDeployment';return this.apiClient.callApi("/api/v2/widgets/deployments/{deploymentId}","GET",{deploymentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWidgetsDeployments(e){return e=e||{},this.apiClient.callApi("/api/v2/widgets/deployments","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postWidgetsDeployments(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWidgetsDeployments';return this.apiClient.callApi("/api/v2/widgets/deployments","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putWidgetsDeployment(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "deploymentId" when calling putWidgetsDeployment';if(i==null)throw'Missing the required parameter "body" when calling putWidgetsDeployment';return this.apiClient.callApi("/api/v2/widgets/deployments/{deploymentId}","PUT",{deploymentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Tb=class{constructor(e){this.apiClient=e||k.instance}deleteWorkforcemanagementBusinessunit(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunit';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}","DELETE",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitActivitycode(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitActivitycode';if(i==null||i==="")throw'Missing the required parameter "activityCodeId" when calling deleteWorkforcemanagementBusinessunitActivitycode';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId}","DELETE",{businessUnitId:e,activityCodeId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistory(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistory';if(i==null||i==="")throw'Missing the required parameter "capacityPlanId" when calling deleteWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistory';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocationshistory","DELETE",{businessUnitId:e,capacityPlanId:i},{beforeDateId:n.beforeDateId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementBusinessunitPlanninggroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitPlanninggroup';if(i==null||i==="")throw'Missing the required parameter "planningGroupId" when calling deleteWorkforcemanagementBusinessunitPlanninggroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}","DELETE",{businessUnitId:e,planningGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementBusinessunitSchedulebid(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulebid';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitSchedulebid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}","DELETE",{businessUnitId:e,bidId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementBusinessunitSchedulebidGroup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';if(n==null||n==="")throw'Missing the required parameter "bidGroupId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}","DELETE",{businessUnitId:e,bidId:i,bidGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteWorkforcemanagementBusinessunitSchedulingRun(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulingRun';if(i==null||i==="")throw'Missing the required parameter "runId" when calling deleteWorkforcemanagementBusinessunitSchedulingRun';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId}","DELETE",{businessUnitId:e,runId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementBusinessunitServicegoaltemplate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitServicegoaltemplate';if(i==null||i==="")throw'Missing the required parameter "serviceGoalTemplateId" when calling deleteWorkforcemanagementBusinessunitServicegoaltemplate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId}","DELETE",{businessUnitId:e,serviceGoalTemplateId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementBusinessunitStaffinggroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitStaffinggroup';if(i==null||i==="")throw'Missing the required parameter "staffingGroupId" when calling deleteWorkforcemanagementBusinessunitStaffinggroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId}","DELETE",{businessUnitId:e,staffingGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementBusinessunitTimeofflimit(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitTimeofflimit';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling deleteWorkforcemanagementBusinessunitTimeofflimit';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}","DELETE",{businessUnitId:e,timeOffLimitId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementBusinessunitTimeoffplan(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitTimeoffplan';if(i==null||i==="")throw'Missing the required parameter "timeOffPlanId" when calling deleteWorkforcemanagementBusinessunitTimeoffplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}","DELETE",{businessUnitId:e,timeOffPlanId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementBusinessunitWeekSchedule(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWeekSchedule';if(i==null)throw'Missing the required parameter "weekId" when calling deleteWorkforcemanagementBusinessunitWeekSchedule';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling deleteWorkforcemanagementBusinessunitWeekSchedule';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}","DELETE",{businessUnitId:e,weekId:i,scheduleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteWorkforcemanagementBusinessunitWeekShorttermforecast(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWeekShorttermforecast';if(i==null)throw'Missing the required parameter "weekDateId" when calling deleteWorkforcemanagementBusinessunitWeekShorttermforecast';if(n==null||n==="")throw'Missing the required parameter "forecastId" when calling deleteWorkforcemanagementBusinessunitWeekShorttermforecast';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}","DELETE",{businessUnitId:e,weekDateId:i,forecastId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteWorkforcemanagementBusinessunitWorkplanbid(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWorkplanbid';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitWorkplanbid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}","DELETE",{businessUnitId:e,bidId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementBusinessunitWorkplanbidGroup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';if(n==null||n==="")throw'Missing the required parameter "bidGroupId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}","DELETE",{businessUnitId:e,bidId:i,bidGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteWorkforcemanagementCalendarUrlIcs(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/calendar/url/ics","DELETE",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}deleteWorkforcemanagementManagementunit(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunit';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}","DELETE",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementManagementunitTimeofflimit(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitTimeofflimit';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling deleteWorkforcemanagementManagementunitTimeofflimit';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}","DELETE",{managementUnitId:e,timeOffLimitId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementManagementunitTimeoffplan(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitTimeoffplan';if(i==null||i==="")throw'Missing the required parameter "timeOffPlanId" when calling deleteWorkforcemanagementManagementunitTimeoffplan';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}","DELETE",{managementUnitId:e,timeOffPlanId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementManagementunitWorkplan(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitWorkplan';if(i==null||i==="")throw'Missing the required parameter "workPlanId" when calling deleteWorkforcemanagementManagementunitWorkplan';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}","DELETE",{managementUnitId:e,workPlanId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}deleteWorkforcemanagementManagementunitWorkplanrotation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';if(i==null||i==="")throw'Missing the required parameter "workPlanRotationId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}","DELETE",{managementUnitId:e,workPlanRotationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAdherence(e,i){if(i=i||{},e==null)throw'Missing the required parameter "userId" when calling getWorkforcemanagementAdherence';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence","GET",{},{userId:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAdherenceExplanation(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "explanationId" when calling getWorkforcemanagementAdherenceExplanation';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/explanations/{explanationId}","GET",{explanationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAdherenceExplanationsJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceExplanationsJob';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/explanations/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAdherenceHistoricalBulkJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalBulkJob';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/historical/bulk/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAdherenceHistoricalJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalJob';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/historical/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAgentAdherenceExplanation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getWorkforcemanagementAgentAdherenceExplanation';if(i==null||i==="")throw'Missing the required parameter "explanationId" when calling getWorkforcemanagementAgentAdherenceExplanation';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/{explanationId}","GET",{agentId:e,explanationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementAgentManagementunit(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getWorkforcemanagementAgentManagementunit';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/managementunit","GET",{agentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAgentsMeAdherenceHistoricalJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAgentsMeAdherenceHistoricalJob';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/me/adherence/historical/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAgentsMeManagementunit(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/agents/me/managementunit","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementAlternativeshiftsOffersJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsOffersJob';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/offers/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAlternativeshiftsOffersSearchJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsOffersSearchJob';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/offers/search/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAlternativeshiftsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementAlternativeshiftsTrade(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementAlternativeshiftsTrade';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}","GET",{tradeId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAlternativeshiftsTrades(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades","GET",{},{forceAsync:e.forceAsync},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementAlternativeshiftsTradesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsTradesJob';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementAlternativeshiftsTradesStateJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsTradesStateJob';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades/state/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunit(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunit';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}","GET",{businessUnitId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi"),includeSchedulingDefaultMessageSeverities:i.includeSchedulingDefaultMessageSeverities},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitActivitycode(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivitycode';if(i==null||i==="")throw'Missing the required parameter "activityCodeId" when calling getWorkforcemanagementBusinessunitActivitycode';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId}","GET",{businessUnitId:e,activityCodeId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitActivitycodes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivitycodes';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes","GET",{businessUnitId:e},{forceDownloadService:i.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitActivityplan(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplan';if(i==null||i==="")throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}","GET",{businessUnitId:e,activityPlanId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitActivityplanRunsJob(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';if(i==null||i==="")throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/runs/jobs/{jobId}","GET",{businessUnitId:e,activityPlanId:i,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitActivityplans(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplans';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans","GET",{businessUnitId:e},{state:i.state},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitActivityplansJobs(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplansJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/jobs","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitAlternativeshiftsSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitAlternativeshiftsTrade(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTrade';if(i==null||i==="")throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTrade';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/{tradeId}","GET",{businessUnitId:e,tradeId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/search/jobs/{jobId}","GET",{businessUnitId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitCapacityplan(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplan';if(i==null||i==="")throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}","GET",{businessUnitId:e,capacityPlanId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitCapacityplanForecast(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanForecast';if(i==null||i==="")throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplanForecast';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/forecast","GET",{businessUnitId:e,capacityPlanId:i},{granularity:n.granularity},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';if(i==null||i==="")throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocations","GET",{businessUnitId:e,capacityPlanId:i},{granularity:n.granularity},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitCapacityplanStaffingrequirements(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffingrequirements';if(i==null||i==="")throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffingrequirements';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffingrequirements","GET",{businessUnitId:e,capacityPlanId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';if(i==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';if(n==null||n==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplanning/longtermrequirements/automaticbestmethod/weeks/{weekDateId}/forecasts/{forecastId}","GET",{businessUnitId:e,weekDateId:i,forecastId:n},{granularity:a.granularity},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitCapacityplans(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplans';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitDecisionmetricsJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitDecisionmetricsJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitDecisionmetricsJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/decisionmetrics/jobs/{jobId}","GET",{businessUnitId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitIntradayPlanninggroups(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitIntradayPlanninggroups';if(i==null)throw'Missing the required parameter "_date" when calling getWorkforcemanagementBusinessunitIntradayPlanninggroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/intraday/planninggroups","GET",{businessUnitId:e},{date:i},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitMainforecastContinuousforecastSession(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSession';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/mainforecast/continuousforecast/session","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionId(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionId';if(i==null||i==="")throw'Missing the required parameter "sessionId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionId';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/mainforecast/continuousforecast/session/{sessionId}","GET",{businessUnitId:e,sessionId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionIdSnapshotSnapshotId(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionIdSnapshotSnapshotId';if(i==null||i==="")throw'Missing the required parameter "sessionId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionIdSnapshotSnapshotId';if(n==null||n==="")throw'Missing the required parameter "snapshotId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionIdSnapshotSnapshotId';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/mainforecast/continuousforecast/session/{sessionId}/snapshot/{snapshotId}","GET",{businessUnitId:e,sessionId:i,snapshotId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitManagementunits(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitManagementunits';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/managementunits","GET",{businessUnitId:e},{feature:i.feature,divisionId:i.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitMinimumstaffingSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMinimumstaffingSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/minimumstaffing/settings","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitOpportunity(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitOpportunity';if(i==null||i==="")throw'Missing the required parameter "opportunityId" when calling getWorkforcemanagementBusinessunitOpportunity';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/opportunities/{opportunityId}","GET",{businessUnitId:e,opportunityId:i},{expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitPlanninggroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitPlanninggroup';if(i==null||i==="")throw'Missing the required parameter "planningGroupId" when calling getWorkforcemanagementBusinessunitPlanninggroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}","GET",{businessUnitId:e,planningGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitPlanninggroups(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitPlanninggroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitSchedulebid(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebid';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}","GET",{businessUnitId:e,bidId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitSchedulebidGroup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';if(n==null||n==="")throw'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}","GET",{businessUnitId:e,bidId:i,bidGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitSchedulebidGroupPreferences(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(n==null||n==="")throw'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}/preferences","GET",{businessUnitId:e,bidId:i,bidGroupId:n},{forceDownloadService:a.forceDownloadService,expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitSchedulebidGroupsSummary(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupsSummary';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupsSummary';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/summary","GET",{businessUnitId:e,bidId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitSchedulebids(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebids';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitSchedulerSettings(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulerSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduler/settings","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitSchedulingRun(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulingRun';if(i==null||i==="")throw'Missing the required parameter "runId" when calling getWorkforcemanagementBusinessunitSchedulingRun';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId}","GET",{businessUnitId:e,runId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitSchedulingRunResult(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulingRunResult';if(i==null||i==="")throw'Missing the required parameter "runId" when calling getWorkforcemanagementBusinessunitSchedulingRunResult';if(n==null)throw'Missing the required parameter "managementUnitIds" when calling getWorkforcemanagementBusinessunitSchedulingRunResult';if(a==null)throw'Missing the required parameter "expand" when calling getWorkforcemanagementBusinessunitSchedulingRunResult';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId}/result","GET",{businessUnitId:e,runId:i},{managementUnitIds:this.apiClient.buildCollectionParam(n,"multi"),expand:this.apiClient.buildCollectionParam(a,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getWorkforcemanagementBusinessunitSchedulingRuns(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulingRuns';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitServicegoaltemplate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitServicegoaltemplate';if(i==null||i==="")throw'Missing the required parameter "serviceGoalTemplateId" when calling getWorkforcemanagementBusinessunitServicegoaltemplate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId}","GET",{businessUnitId:e,serviceGoalTemplateId:i},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitServicegoaltemplates(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitServicegoaltemplates';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates","GET",{businessUnitId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingTradesEvaluateJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/evaluate/jobs/{jobId}","GET",{businessUnitId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitShifttradingTradesQueryJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingTradesQueryJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingTradesQueryJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/query/jobs/{jobId}","GET",{businessUnitId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingTradesStateBulkJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/state/bulk/jobs/{jobId}","GET",{businessUnitId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/unmatched/search/jobs/{jobId}","GET",{businessUnitId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitShifttradingWeeksSummaryJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/weeks/summary/jobs/{jobId}","GET",{businessUnitId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitStaffinggroup(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitStaffinggroup';if(i==null||i==="")throw'Missing the required parameter "staffingGroupId" when calling getWorkforcemanagementBusinessunitStaffinggroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId}","GET",{businessUnitId:e,staffingGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitStaffinggroups(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitStaffinggroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups","GET",{businessUnitId:e},{managementUnitId:i.managementUnitId,forceDownloadService:i.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitTimeofflimit(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimit';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementBusinessunitTimeofflimit';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}","GET",{businessUnitId:e,timeOffLimitId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJob(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJob';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/granularityconversion/jobs/{jobId}","GET",{businessUnitId:e,timeOffLimitId:i,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJobs';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/granularityconversion/jobs","GET",{businessUnitId:e,timeOffLimitId:i},{statuses:n.statuses},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitTimeofflimits(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimits';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits","GET",{businessUnitId:e},{managementUnitId:i.managementUnitId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitTimeoffplan(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeoffplan';if(i==null||i==="")throw'Missing the required parameter "timeOffPlanId" when calling getWorkforcemanagementBusinessunitTimeoffplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}","GET",{businessUnitId:e,timeOffPlanId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitTimeoffplans(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeoffplans';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans","GET",{businessUnitId:e},{managementUnitId:i.managementUnitId,forceDownloadService:i.forceDownloadService,expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitUsers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitUsers';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/users","GET",{businessUnitId:e},{managementUnitIds:this.apiClient.buildCollectionParam(i.managementUnitIds,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitWeekSchedule(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedule';if(i==null)throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedule';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedule';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}","GET",{businessUnitId:e,weekId:i,scheduleId:n},{expand:a.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekScheduleGenerationresults(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekScheduleGenerationresults';if(i==null)throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekScheduleGenerationresults';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekScheduleGenerationresults';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/generationresults","GET",{businessUnitId:e,weekId:i,scheduleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekScheduleHeadcountforecast(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekScheduleHeadcountforecast';if(i==null)throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekScheduleHeadcountforecast';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekScheduleHeadcountforecast';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/headcountforecast","GET",{businessUnitId:e,weekId:i,scheduleId:n},{forceDownload:a.forceDownload},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent';if(i==null)throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent';if(a==null||a==="")throw'Missing the required parameter "agentId" when calling getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/history/agents/{agentId}","GET",{businessUnitId:e,weekId:i,scheduleId:n,agentId:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions';if(i==null||i==="")throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions","GET",{businessUnitId:e,weekId:i,scheduleId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';if(i==null||i==="")throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';if(a==null||a==="")throw'Missing the required parameter "recalculationId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations/{recalculationId}","GET",{businessUnitId:e,weekId:i,scheduleId:n,recalculationId:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getWorkforcemanagementBusinessunitWeekSchedules(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedules';if(i==null||i==="")throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedules';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules","GET",{businessUnitId:e,weekId:i},{earliestWeekDate:n.earliestWeekDate,latestWeekDate:n.latestWeekDate,includeOnlyPublished:n.includeOnlyPublished,expand:n.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecast(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecast';if(i==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecast';if(n==null||n==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecast';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}","GET",{businessUnitId:e,weekDateId:i,forecastId:n},{expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecastData(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastData';if(i==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastData';if(n==null||n==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastData';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/data","GET",{businessUnitId:e,weekDateId:i,forecastId:n},{weekNumber:a.weekNumber,forceDownloadService:a.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecastGenerationresults(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastGenerationresults';if(i==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastGenerationresults';if(n==null||n==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastGenerationresults';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/generationresults","GET",{businessUnitId:e,weekDateId:i,forecastId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecastLongtermforecastdata(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastLongtermforecastdata';if(i==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastLongtermforecastdata';if(n==null||n==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastLongtermforecastdata';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/longtermforecastdata","GET",{businessUnitId:e,weekDateId:i,forecastId:n},{forceDownloadService:a.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecastPlanninggroups(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastPlanninggroups';if(i==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastPlanninggroups';if(n==null||n==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastPlanninggroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/planninggroups","GET",{businessUnitId:e,weekDateId:i,forecastId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';if(i==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';if(n==null||n==="")throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/staffingrequirement","GET",{businessUnitId:e,weekDateId:i,forecastId:n},{weekNumbers:this.apiClient.buildCollectionParam(a.weekNumbers,"multi"),expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWeekShorttermforecasts(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecasts';if(i==null||i==="")throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecasts';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts","GET",{businessUnitId:e,weekDateId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitWorkplanbid(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbid';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}","GET",{businessUnitId:e,bidId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitWorkplanbidGroup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';if(n==null||n==="")throw'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}","GET",{businessUnitId:e,bidId:i,bidGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';if(n==null||n==="")throw'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences","GET",{businessUnitId:e,bidId:i,bidGroupId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/summary","GET",{businessUnitId:e,bidId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitWorkplanbids(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbids';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunits(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/businessunits","GET",{},{feature:e.feature,divisionId:e.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementBusinessunitsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/divisionviews","GET",{},{divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementCalendarDataIcs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "calendarId" when calling getWorkforcemanagementCalendarDataIcs';return this.apiClient.callApi("/api/v2/workforcemanagement/calendar/data/ics","GET",{},{calendarId:e},{},{},null,["PureCloud OAuth"],["application/json"],["text/calendar"],i.customHeaders)}getWorkforcemanagementCalendarUrlIcs(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/calendar/url/ics","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementHistoricaldataBulkRemoveJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementHistoricaldataBulkRemoveJob';return this.apiClient.callApi("/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementHistoricaldataBulkRemoveJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementHistoricaldataImportstatus(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/historicaldata/importstatus","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementHistoricaldataImportstatusJobId(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementHistoricaldataImportstatusJobId';return this.apiClient.callApi("/api/v2/workforcemanagement/historicaldata/importstatus/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementIntegrationsHris(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/integrations/hris","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementIntegrationsHrisTimeofftypesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementIntegrationsHrisTimeofftypesJob';return this.apiClient.callApi("/api/v2/workforcemanagement/integrations/hris/timeofftypes/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunit(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunit';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}","GET",{managementUnitId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitActivitycodes(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitActivitycodes';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/activitycodes","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitAdherence(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitAdherence';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/adherence","GET",{managementUnitId:e},{forceDownloadService:i.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitAgent(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitAgent';if(i==null||i==="")throw'Missing the required parameter "agentId" when calling getWorkforcemanagementManagementunitAgent';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/{agentId}","GET",{managementUnitId:e,agentId:i},{excludeCapabilities:n.excludeCapabilities,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitAgentShifttrades(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitAgentShifttrades';if(i==null||i==="")throw'Missing the required parameter "agentId" when calling getWorkforcemanagementManagementunitAgentShifttrades';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/{agentId}/shifttrades","GET",{managementUnitId:e,agentId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitDecisionmetrics(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitDecisionmetrics';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/decisionmetrics","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitShifttradesMatched(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitShifttradesMatched';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/shifttrades/matched","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitShifttradesUsers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitShifttradesUsers';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/shifttrades/users","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitTimeofflimit(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeofflimit';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementManagementunitTimeofflimit';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}","GET",{managementUnitId:e,timeOffLimitId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitTimeofflimits(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeofflimits';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitTimeoffplan(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeoffplan';if(i==null||i==="")throw'Missing the required parameter "timeOffPlanId" when calling getWorkforcemanagementManagementunitTimeoffplan';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}","GET",{managementUnitId:e,timeOffPlanId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitTimeoffplans(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeoffplans';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitUserTimeoffrequest(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequest';if(i==null||i==="")throw'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequest';if(n==null||n==="")throw'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementManagementunitUserTimeoffrequest';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}","GET",{managementUnitId:e,userId:i,timeOffRequestId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';if(i==null||i==="")throw'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';if(n==null||n==="")throw'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}/timeofflimits","GET",{managementUnitId:e,userId:i,timeOffRequestId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementManagementunitUserTimeoffrequests(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';if(i==null||i==="")throw'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests","GET",{managementUnitId:e,userId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitUsers(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUsers';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users","GET",{managementUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitWeekSchedule(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekSchedule';if(i==null||i==="")throw'Missing the required parameter "weekId" when calling getWorkforcemanagementManagementunitWeekSchedule';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling getWorkforcemanagementManagementunitWeekSchedule';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekId}/schedules/{scheduleId}","GET",{managementUnitId:e,weekId:i,scheduleId:n},{expand:a.expand,forceDownloadService:a.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementManagementunitWeekSchedules(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekSchedules';if(i==null||i==="")throw'Missing the required parameter "weekId" when calling getWorkforcemanagementManagementunitWeekSchedules';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekId}/schedules","GET",{managementUnitId:e,weekId:i},{includeOnlyPublished:n.includeOnlyPublished,earliestWeekDate:n.earliestWeekDate,latestWeekDate:n.latestWeekDate},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitWeekShifttrades(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekShifttrades';if(i==null)throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementManagementunitWeekShifttrades';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades","GET",{managementUnitId:e,weekDateId:i},{evaluateMatches:n.evaluateMatches,includeCrossWeekShifts:n.includeCrossWeekShifts,forceDownloadService:n.forceDownloadService},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitWorkplan(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplan';if(i==null||i==="")throw'Missing the required parameter "workPlanId" when calling getWorkforcemanagementManagementunitWorkplan';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}","GET",{managementUnitId:e,workPlanId:i},{includeOnly:this.apiClient.buildCollectionParam(n.includeOnly,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitWorkplanrotation(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotation';if(i==null||i==="")throw'Missing the required parameter "workPlanRotationId" when calling getWorkforcemanagementManagementunitWorkplanrotation';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}","GET",{managementUnitId:e,workPlanRotationId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementManagementunitWorkplanrotations(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotations';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations","GET",{managementUnitId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunitWorkplans(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplans';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans","GET",{managementUnitId:e},{expand:this.apiClient.buildCollectionParam(i.expand,"multi"),exclude:this.apiClient.buildCollectionParam(i.exclude,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementManagementunits(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/managementunits","GET",{},{pageSize:e.pageSize,pageNumber:e.pageNumber,expand:e.expand,feature:e.feature,divisionId:e.divisionId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementManagementunitsDivisionviews(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/divisionviews","GET",{},{divisionId:this.apiClient.buildCollectionParam(e.divisionId,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementNotifications(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/notifications","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementSchedulebidPreference(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementSchedulebidPreference';return this.apiClient.callApi("/api/v2/workforcemanagement/schedulebids/{bidId}/preference","GET",{bidId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementSchedulebidSchedulesets(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementSchedulebidSchedulesets';return this.apiClient.callApi("/api/v2/workforcemanagement/schedulebids/{bidId}/schedulesets","GET",{bidId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementSchedulebids(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/schedulebids","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementSchedulingjob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementSchedulingjob';return this.apiClient.callApi("/api/v2/workforcemanagement/schedulingjobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementShifttrades(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/shifttrades","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementShifttradingTradeJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementShifttradingTradeJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradeJob';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/jobs/{jobId}","GET",{tradeId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementShifttradingTradeMatchJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementShifttradingTradeMatchJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradeMatchJob';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/match/jobs/{jobId}","GET",{tradeId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementShifttradingTradeStateJob(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementShifttradingTradeStateJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradeStateJob';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/state/jobs/{jobId}","GET",{tradeId:e,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementShifttradingTradesJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradesJob';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementShifttradingTradesMineQueryJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShifttradingTradesMineQueryJob';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/mine/query/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementShrinkageJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShrinkageJob';return this.apiClient.callApi("/api/v2/workforcemanagement/shrinkage/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementTeamAdherence(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling getWorkforcemanagementTeamAdherence';return this.apiClient.callApi("/api/v2/workforcemanagement/teams/{teamId}/adherence","GET",{teamId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementTimeoffbalanceJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementTimeoffbalanceJob';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffbalance/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementTimeoffrequest(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequest';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}","GET",{timeOffRequestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementTimeoffrequestWaitlistpositions(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequestWaitlistpositions';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}/waitlistpositions","GET",{timeOffRequestId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementTimeoffrequests(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementUnavailabletimesSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/unavailabletimes/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getWorkforcemanagementUnavailabletimesValidationJob(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementUnavailabletimesValidationJob';return this.apiClient.callApi("/api/v2/workforcemanagement/unavailabletimes/validation/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementUserWorkplanbidranks(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getWorkforcemanagementUserWorkplanbidranks';return this.apiClient.callApi("/api/v2/workforcemanagement/users/{userId}/workplanbidranks","GET",{userId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementWorkplanbidPreferences(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidPreferences';return this.apiClient.callApi("/api/v2/workforcemanagement/workplanbids/{bidId}/preferences","GET",{bidId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementWorkplanbidWorkplans(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidWorkplans';return this.apiClient.callApi("/api/v2/workforcemanagement/workplanbids/{bidId}/workplans","GET",{bidId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementWorkplanbids(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/workplanbids","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}patchWorkforcemanagementAgentAdherenceExplanation(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling patchWorkforcemanagementAgentAdherenceExplanation';if(i==null||i==="")throw'Missing the required parameter "explanationId" when calling patchWorkforcemanagementAgentAdherenceExplanation';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementAgentAdherenceExplanation';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/{explanationId}","PATCH",{agentId:e,explanationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementAlternativeshiftsTrade(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling patchWorkforcemanagementAlternativeshiftsTrade';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementAlternativeshiftsTrade';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}","PATCH",{tradeId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementAlternativeshiftsTradesStateJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementAlternativeshiftsTradesStateJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades/state/jobs","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementBusinessunit(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunit';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunit';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}","PATCH",{businessUnitId:e},{includeSchedulingDefaultMessageSeverities:n.includeSchedulingDefaultMessageSeverities},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementBusinessunitActivitycode(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivitycode';if(i==null||i==="")throw'Missing the required parameter "activityCodeId" when calling patchWorkforcemanagementBusinessunitActivitycode';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitActivitycode';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId}","PATCH",{businessUnitId:e,activityCodeId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitActivitycodesBulk(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivitycodesBulk';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitActivitycodesBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/bulk","PATCH",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementBusinessunitActivityplan(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivityplan';if(i==null||i==="")throw'Missing the required parameter "activityPlanId" when calling patchWorkforcemanagementBusinessunitActivityplan';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitActivityplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}","PATCH",{businessUnitId:e,activityPlanId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings","PATCH",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementBusinessunitCapacityplan(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitCapacityplan';if(i==null||i==="")throw'Missing the required parameter "capacityPlanId" when calling patchWorkforcemanagementBusinessunitCapacityplan';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitCapacityplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}","PATCH",{businessUnitId:e,capacityPlanId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitMinimumstaffingSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitMinimumstaffingSettings';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitMinimumstaffingSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/minimumstaffing/settings","PATCH",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementBusinessunitOpportunity(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitOpportunity';if(i==null||i==="")throw'Missing the required parameter "opportunityId" when calling patchWorkforcemanagementBusinessunitOpportunity';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitOpportunity';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/opportunities/{opportunityId}","PATCH",{businessUnitId:e,opportunityId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitPlanninggroup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';if(i==null||i==="")throw'Missing the required parameter "planningGroupId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitPlanninggroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}","PATCH",{businessUnitId:e,planningGroupId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitSchedulebid(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebid';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebid';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulebid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}","PATCH",{businessUnitId:e,bidId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitSchedulebidGroup(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';if(n==null||n==="")throw'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';if(a==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}","PATCH",{businessUnitId:e,bidId:i,bidGroupId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(n==null||n==="")throw'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(a==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}/preferences","PATCH",{businessUnitId:e,bidId:i,bidGroupId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementBusinessunitSchedulerSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulerSettings';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulerSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduler/settings","PATCH",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementBusinessunitSchedulingRun(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';if(i==null||i==="")throw'Missing the required parameter "runId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulingRun';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId}","PATCH",{businessUnitId:e,runId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitServicegoaltemplate(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';if(i==null||i==="")throw'Missing the required parameter "serviceGoalTemplateId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId}","PATCH",{businessUnitId:e,serviceGoalTemplateId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitStaffinggroup(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';if(i==null||i==="")throw'Missing the required parameter "staffingGroupId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitStaffinggroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId}","PATCH",{businessUnitId:e,staffingGroupId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitTimeoffplan(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';if(i==null||i==="")throw'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitTimeoffplan';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}","PATCH",{businessUnitId:e,timeOffPlanId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitWorkplanbid(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}","PATCH",{businessUnitId:e,bidId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitWorkplanbidGroup(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';if(n==null||n==="")throw'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';if(a==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}","PATCH",{businessUnitId:e,bidId:i,bidGroupId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';if(n==null||n==="")throw'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';if(a==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences","PATCH",{businessUnitId:e,bidId:i,bidGroupId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementManagementunit(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunit';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunit';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}","PATCH",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementManagementunitAgents(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgents';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitAgents';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents","PATCH",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementManagementunitAgentsWorkplansBulk(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/bulk","PATCH",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementManagementunitTimeofflimit(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeofflimit';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}","PATCH",{managementUnitId:e,timeOffLimitId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementManagementunitTimeoffplan(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffplan';if(i==null||i==="")throw'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementManagementunitTimeoffplan';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeoffplan';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}","PATCH",{managementUnitId:e,timeOffPlanId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';if(i==null||i==="")throw'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';if(n==null||n==="")throw'Missing the required parameter "userId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';if(a==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/{timeOffRequestId}/users/{userId}/integrationstatus","PATCH",{managementUnitId:e,timeOffRequestId:i,userId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementManagementunitUnavailabletimesSettings(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitUnavailabletimesSettings';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitUnavailabletimesSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/unavailabletimes/settings","PATCH",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementManagementunitUserTimeoffrequest(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';if(i==null||i==="")throw'Missing the required parameter "userId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';if(n==null||n==="")throw'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';if(a==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}","PATCH",{managementUnitId:e,userId:i,timeOffRequestId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementManagementunitWeekShifttrade(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWeekShifttrade';if(i==null)throw'Missing the required parameter "weekDateId" when calling patchWorkforcemanagementManagementunitWeekShifttrade';if(n==null||n==="")throw'Missing the required parameter "tradeId" when calling patchWorkforcemanagementManagementunitWeekShifttrade';if(a==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitWeekShifttrade';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades/{tradeId}","PATCH",{managementUnitId:e,weekDateId:i,tradeId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementManagementunitWorkplan(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplan';if(i==null||i==="")throw'Missing the required parameter "workPlanId" when calling patchWorkforcemanagementManagementunitWorkplan';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitWorkplan';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}","PATCH",{managementUnitId:e,workPlanId:i},{validationMode:a.validationMode},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementManagementunitWorkplanrotation(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';if(i==null||i==="")throw'Missing the required parameter "workPlanRotationId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitWorkplanrotation';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}","PATCH",{managementUnitId:e,workPlanRotationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementTimeoffrequest(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementTimeoffrequest';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementTimeoffrequest';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}","PATCH",{timeOffRequestId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementUnavailabletimes(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementUnavailabletimes';return this.apiClient.callApi("/api/v2/workforcemanagement/unavailabletimes","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementUserWorkplanbidranks(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "userId" when calling patchWorkforcemanagementUserWorkplanbidranks';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementUserWorkplanbidranks';return this.apiClient.callApi("/api/v2/workforcemanagement/users/{userId}/workplanbidranks","PATCH",{userId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}patchWorkforcemanagementUsersWorkplanbidranksBulk(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementUsersWorkplanbidranksBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/users/workplanbidranks/bulk","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementWorkplanbidPreferences(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementWorkplanbidPreferences';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementWorkplanbidPreferences';return this.apiClient.callApi("/api/v2/workforcemanagement/workplanbids/{bidId}/preferences","PATCH",{bidId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAdherenceExplanations(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceExplanations';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/explanations","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAdherenceExplanationsQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceExplanationsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/explanations/query","POST",{},{forceAsync:i.forceAsync,forceDownloadService:i.forceDownloadService},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAdherenceHistoricalBulk(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceHistoricalBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/historical/bulk","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAgentAdherenceExplanations(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceExplanations';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentAdherenceExplanations';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations","POST",{agentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAgentAdherenceExplanationsQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceExplanationsQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentAdherenceExplanationsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/query","POST",{agentId:e},{forceAsync:n.forceAsync,forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAgentUnavailabletimesQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentUnavailabletimesQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentUnavailabletimesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/unavailabletimes/query","POST",{agentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAgents(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgents';return this.apiClient.callApi("/api/v2/workforcemanagement/agents","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAgentsIntegrationsHrisQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentsIntegrationsHrisQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/integrations/hris/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAgentsMeAdherenceHistoricalJobs(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/agents/me/adherence/historical/jobs","POST",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postWorkforcemanagementAgentsMePossibleworkshifts(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentsMePossibleworkshifts';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/me/possibleworkshifts","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAgentsOpportunitiesEnrollmentsBulkAdd(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentsOpportunitiesEnrollmentsBulkAdd';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/opportunities/enrollments/bulk/add","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAgentsOpportunitiesEnrollmentsBulkStatusesUpdate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentsOpportunitiesEnrollmentsBulkStatusesUpdate';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/opportunities/enrollments/bulk/statuses/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAgentsOpportunitiesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentsOpportunitiesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/opportunities/query","POST",{},{expand:i.expand,forceDownloadService:i.forceDownloadService},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAgentschedulesManagementunitsMine(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentschedulesManagementunitsMine';return this.apiClient.callApi("/api/v2/workforcemanagement/agentschedules/managementunits/mine","POST",{},{forceAsync:i.forceAsync,forceDownloadService:i.forceDownloadService},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAgentschedulesMine(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentschedulesMine';return this.apiClient.callApi("/api/v2/workforcemanagement/agentschedules/mine","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAlternativeshiftsOffersJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsOffersJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/offers/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAlternativeshiftsOffersSearchJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsOffersSearchJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/offers/search/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementAlternativeshiftsTrades(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsTrades';return this.apiClient.callApi("/api/v2/workforcemanagement/alternativeshifts/trades","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitActivitycodes(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivitycodes';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitActivitycodes';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitActivityplanRunsJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';if(i==null||i==="")throw'Missing the required parameter "activityPlanId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/runs/jobs","POST",{businessUnitId:e,activityPlanId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitActivityplans(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplans';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitActivityplans';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitAdherenceExplanationsQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAdherenceExplanationsQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAdherenceExplanationsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/explanations/query","POST",{businessUnitId:e},{forceAsync:n.forceAsync,forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitAgentschedulesSearch(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/agentschedules/search","POST",{businessUnitId:e},{forceAsync:n.forceAsync,forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/search","POST",{businessUnitId:e},{forceAsync:n.forceAsync},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitCapacityplanCopy(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplanCopy';if(i==null||i==="")throw'Missing the required parameter "capacityPlanId" when calling postWorkforcemanagementBusinessunitCapacityplanCopy';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitCapacityplanCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/copy","POST",{businessUnitId:e,capacityPlanId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitCapacityplanRequirementGenerate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplanRequirementGenerate';if(i==null||i==="")throw'Missing the required parameter "capacityPlanId" when calling postWorkforcemanagementBusinessunitCapacityplanRequirementGenerate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/requirement/generate","POST",{businessUnitId:e,capacityPlanId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';if(i==null||i==="")throw'Missing the required parameter "capacityPlanId" when calling postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocations","POST",{businessUnitId:e,capacityPlanId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistoryQuery(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistoryQuery';if(i==null||i==="")throw'Missing the required parameter "capacityPlanId" when calling postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistoryQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocationshistoryQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocationshistory/query","POST",{businessUnitId:e,capacityPlanId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecastForceregenerate(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecastForceregenerate';if(i==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecastForceregenerate';if(n==null||n==="")throw'Missing the required parameter "forecastId" when calling postWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecastForceregenerate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplanning/longtermrequirements/automaticbestmethod/weeks/{weekDateId}/forecasts/{forecastId}/forceregenerate","POST",{businessUnitId:e,weekDateId:i,forecastId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitCapacityplans(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplans';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitCapacityplans';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitCapacityplansBulkRemove(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitCapacityplansBulkRemove';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitCapacityplansBulkRemove';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/bulk/remove","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitDecisionmetricsUpdate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitDecisionmetricsUpdate';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitDecisionmetricsUpdate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/decisionmetrics/update","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitDecisionmetricsUpdateUploadurl(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitDecisionmetricsUpdateUploadurl';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitDecisionmetricsUpdateUploadurl';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/decisionmetrics/update/uploadurl","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitIntraday(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitIntraday';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitIntraday';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/intraday","POST",{businessUnitId:e},{forceAsync:n.forceAsync},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesBulkAdd(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkAdd';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkAdd';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/opportunities/bulk/add","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesBulkPublish(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkPublish';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkPublish';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/opportunities/bulk/publish","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesBulkRemove(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkRemove';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkRemove';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/opportunities/bulk/remove","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesBulkStatusesUpdate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkStatusesUpdate';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkStatusesUpdate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/opportunities/bulk/statuses/update","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsBulkStatusesUpdate(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsBulkStatusesUpdate';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsBulkStatusesUpdate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/opportunities/enrollments/bulk/statuses/update","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/opportunities/enrollments/query","POST",{businessUnitId:e},{expand:n.expand,forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesExternalactivitiesQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesExternalactivitiesQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitOpportunitiesExternalactivitiesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/opportunities/externalactivities/query","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitOpportunitiesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/opportunities/query","POST",{businessUnitId:e},{forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitPlanninggroups(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitPlanninggroups';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitPlanninggroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitSchedulebidCopy(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/copy","POST",{businessUnitId:e,bidId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitSchedulebidGroups(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups","POST",{businessUnitId:e,bidId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitSchedulebids(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebids';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebids';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/effectiveschedulesets","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitServicegoaltemplates(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingTradesEvaluateJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/evaluate/jobs","POST",{businessUnitId:e},{forceAsync:n.forceAsync,forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingTradesQueryJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/query/jobs","POST",{businessUnitId:e},{forceAsync:n.forceAsync,forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingTradesStateBulkJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/trades/state/bulk/jobs","POST",{businessUnitId:e},{forceAsync:n.forceAsync,forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingUnmatchedSearchJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/unmatched/search/jobs","POST",{businessUnitId:e},{forceAsync:n.forceAsync,forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitShifttradingWeeksSummaryJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/shifttrading/weeks/summary/jobs","POST",{businessUnitId:e},{forceAsync:n.forceAsync},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitStaffinggroups(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroups';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitStaffinggroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitStaffinggroupsPlanninggroupsQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroupsPlanninggroupsQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitStaffinggroupsPlanninggroupsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/planninggroups/query","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitStaffinggroupsQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/query","POST",{businessUnitId:e},{forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimitGranularityconversion(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitGranularityconversion';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling postWorkforcemanagementBusinessunitTimeofflimitGranularityconversion';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimitGranularityconversion';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/granularityconversion","POST",{businessUnitId:e,timeOffLimitId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimitValuesImport(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImport';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImport';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImport';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/values/import","POST",{businessUnitId:e,timeOffLimitId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimitValuesImportUploadurl(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImportUploadurl';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImportUploadurl';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImportUploadurl';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/values/import/uploadurl","POST",{businessUnitId:e,timeOffLimitId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimitValuesQuery(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesQuery';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/values/query","POST",{businessUnitId:e,timeOffLimitId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimits(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimits';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimits';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/values/query","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitTimeoffplans(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeoffplans';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeoffplans';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitUnavailabletimesSchedulesQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitUnavailabletimesSchedulesQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitUnavailabletimesSchedulesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/unavailabletimes/schedules/query","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitUnavailabletimesSettingsQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitUnavailabletimesSettingsQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitUnavailabletimesSettingsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/unavailabletimes/settings/query","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';if(i==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/agentschedules/query","POST",{businessUnitId:e,weekId:i,scheduleId:n},{forceAsync:r.forceAsync,forceDownloadService:r.forceDownloadService},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekScheduleCopy(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';if(i==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/copy","POST",{businessUnitId:e,weekId:i,scheduleId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';if(i==null||i==="")throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations","POST",{businessUnitId:e,weekId:i,scheduleId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';if(i==null||i==="")throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations/uploadurl","POST",{businessUnitId:e,weekId:i,scheduleId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekScheduleReschedule(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';if(i==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/reschedule","POST",{businessUnitId:e,weekId:i,scheduleId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekScheduleUpdate(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';if(i==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update","POST",{businessUnitId:e,weekId:i,scheduleId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';if(i==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';if(n==null||n==="")throw'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update/uploadurl","POST",{businessUnitId:e,weekId:i,scheduleId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekSchedules(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedules';if(i==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedules';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedules';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules","POST",{businessUnitId:e,weekId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWeekSchedulesGenerate(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesGenerate';if(i==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesGenerate';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesGenerate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/generate","POST",{businessUnitId:e,weekId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWeekSchedulesImport(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';if(i==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import","POST",{businessUnitId:e,weekId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';if(i==null)throw'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import/uploadurl","POST",{businessUnitId:e,weekId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWeekShorttermforecastCopy(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';if(i==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';if(n==null||n==="")throw'Missing the required parameter "forecastId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/copy","POST",{businessUnitId:e,weekDateId:i,forecastId:n},{forceAsync:r.forceAsync},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitWeekShorttermforecastsGenerate(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsGenerate';if(i==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsGenerate';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsGenerate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/generate","POST",{businessUnitId:e,weekDateId:i},{forceAsync:a.forceAsync},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWeekShorttermforecastsImport(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';if(i==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import","POST",{businessUnitId:e,weekDateId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';if(i==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import/uploadurl","POST",{businessUnitId:e,weekDateId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWorkplanbidCopy(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/copy","POST",{businessUnitId:e,bidId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWorkplanbidGroups(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';if(i==null||i==="")throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups","POST",{businessUnitId:e,bidId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitWorkplanbids(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbids';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbids';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids","POST",{businessUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementBusinessunits(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunits';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits","POST",{},{includeSchedulingDefaultMessageSeverities:i.includeSchedulingDefaultMessageSeverities},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementCalendarUrlIcs(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/calendar/url/ics","POST",{},{language:e.language},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postWorkforcemanagementHistoricaldataBulkRemoveJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementHistoricaldataBulkRemoveJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementHistoricaldataValidate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementHistoricaldataValidate';return this.apiClient.callApi("/api/v2/workforcemanagement/historicaldata/validate","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementIntegrationsHriTimeofftypesJobs(e,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "hrisIntegrationId" when calling postWorkforcemanagementIntegrationsHriTimeofftypesJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/integrations/hris/{hrisIntegrationId}/timeofftypes/jobs","POST",{hrisIntegrationId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementManagementunitAgentsWorkplansQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/query","POST",{managementUnitId:e},{forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitAgentschedulesSearch(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentschedulesSearch';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitAgentschedulesSearch';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/agentschedules/search","POST",{managementUnitId:e},{forceAsync:n.forceAsync,forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitHistoricaladherencequery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitHistoricaladherencequery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitHistoricaladherencequery';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/historicaladherencequery","POST",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitMove(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitMove';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitMove';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/move","POST",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitSchedulesSearch(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitSchedulesSearch';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitSchedulesSearch';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/schedules/search","POST",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitShrinkageJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitShrinkageJobs';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitShrinkageJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/shrinkage/jobs","POST",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitTimeofflimits(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimits';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeofflimits';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits","POST",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitTimeofflimitsValuesQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/values/query","POST",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitTimeoffplans(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffplans';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffplans';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans","POST",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitTimeoffrequests(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequests';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequests';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests","POST",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/integrationstatus/query","POST",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitTimeoffrequestsQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/query","POST",{managementUnitId:e},{forceDownloadService:n.forceDownloadService},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/waitlistpositions/query","POST",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitUserTimeoffbalanceJobs(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';if(i==null||i==="")throw'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffbalance/jobs","POST",{managementUnitId:e,userId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';if(i==null||i==="")throw'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';if(n==null||n==="")throw'Missing the required parameter "timeOffRequestId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}/timeoffbalance/jobs","POST",{managementUnitId:e,userId:i,timeOffRequestId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';if(i==null||i==="")throw'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/estimate","POST",{managementUnitId:e,userId:i},{includeOnly:a.includeOnly},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWeekShifttradeMatch(e,i,n,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';if(i==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';if(n==null||n==="")throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades/{tradeId}/match","POST",{managementUnitId:e,weekDateId:i,tradeId:n},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementManagementunitWeekShifttrades(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttrades';if(i==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementManagementunitWeekShifttrades';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWeekShifttrades';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades","POST",{managementUnitId:e,weekDateId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWeekShifttradesSearch(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradesSearch';if(i==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementManagementunitWeekShifttradesSearch';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWeekShifttradesSearch';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades/search","POST",{managementUnitId:e,weekDateId:i},{forceDownloadService:a.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWeekShifttradesStateBulk(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradesStateBulk';if(i==null)throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementManagementunitWeekShifttradesStateBulk';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWeekShifttradesStateBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades/state/bulk","POST",{managementUnitId:e,weekDateId:i},{forceAsync:a.forceAsync},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWorkplanCopy(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanCopy';if(i==null||i==="")throw'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanCopy';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}/copy","POST",{managementUnitId:e,workPlanId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWorkplanValidate(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanValidate';if(i==null||i==="")throw'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanValidate';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanValidate';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}/validate","POST",{managementUnitId:e,workPlanId:i},{expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWorkplanrotationCopy(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';if(i==null||i==="")throw'Missing the required parameter "workPlanRotationId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}/copy","POST",{managementUnitId:e,workPlanRotationId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementManagementunitWorkplanrotations(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotations';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanrotations';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations","POST",{managementUnitId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunitWorkplans(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplans';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplans';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans","POST",{managementUnitId:e},{validationMode:n.validationMode},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementManagementunits(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunits';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementNotificationsUpdate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementNotificationsUpdate';return this.apiClient.callApi("/api/v2/workforcemanagement/notifications/update","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementSchedules(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/schedules","POST",{},{},{},{},e.body,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}postWorkforcemanagementShifttradingTradeJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementShifttradingTradeJobs';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradeJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/jobs","POST",{tradeId:e},{forceAsync:n.forceAsync},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementShifttradingTradeMatchJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementShifttradingTradeMatchJobs';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradeMatchJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/match/jobs","POST",{tradeId:e},{forceAsync:n.forceAsync},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementShifttradingTradeStateJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "tradeId" when calling postWorkforcemanagementShifttradingTradeStateJobs';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradeStateJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/{tradeId}/state/jobs","POST",{tradeId:e},{forceAsync:n.forceAsync},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementShifttradingTradesJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradesJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/jobs","POST",{},{forceAsync:i.forceAsync},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementShifttradingTradesMineQueryJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementShifttradingTradesMineQueryJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/shifttrading/trades/mine/query/jobs","POST",{},{forceAsync:i.forceAsync,forceDownloadService:i.forceDownloadService},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementTeamAdherenceHistorical(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamAdherenceHistorical';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTeamAdherenceHistorical';return this.apiClient.callApi("/api/v2/workforcemanagement/teams/{teamId}/adherence/historical","POST",{teamId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementTeamShrinkageJobs(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamShrinkageJobs';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTeamShrinkageJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/teams/{teamId}/shrinkage/jobs","POST",{teamId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementTimeoffbalanceJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffbalanceJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffbalance/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementTimeofflimitsAvailableQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeofflimitsAvailableQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/timeofflimits/available/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementTimeoffrequests(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequests';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementTimeoffrequestsEstimate(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsEstimate';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests/estimate","POST",{},{includeOnly:i.includeOnly},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/timeoffrequests/integrationstatus/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementUnavailabletimesQuery(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementUnavailabletimesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/unavailabletimes/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementUnavailabletimesValidationJobs(e,i){if(i=i||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementUnavailabletimesValidationJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/unavailabletimes/validation/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putWorkforcemanagementAgentIntegrationsHris(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling putWorkforcemanagementAgentIntegrationsHris';if(i==null)throw'Missing the required parameter "body" when calling putWorkforcemanagementAgentIntegrationsHris';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/integrations/hris","PUT",{agentId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putWorkforcemanagementBusinessunitTimeofflimitValues(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';if(n==null)throw'Missing the required parameter "body" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/values","PUT",{businessUnitId:e,timeOffLimitId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putWorkforcemanagementManagementunitTimeofflimitValues(e,i,n,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "managementUnitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';if(i==null||i==="")throw'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';if(n==null)throw'Missing the required parameter "body" when calling putWorkforcemanagementManagementunitTimeofflimitValues';return this.apiClient.callApi("/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}/values","PUT",{managementUnitId:e,timeOffLimitId:i},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}putWorkforcemanagementSchedulebidPreference(e,i,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "bidId" when calling putWorkforcemanagementSchedulebidPreference';if(i==null)throw'Missing the required parameter "body" when calling putWorkforcemanagementSchedulebidPreference';return this.apiClient.callApi("/api/v2/workforcemanagement/schedulebids/{bidId}/preference","PUT",{bidId:e},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},xb=class{constructor(){this.ApiClient=new k,this.ApiClientClass=k,this.AIStudioApi=JC,this.AgentAssistantsApi=ZC,this.AgentCopilotApi=KC,this.AgentUIApi=QC,this.AlertingApi=YC,this.AnalyticsApi=XC,this.ArchitectApi=eA,this.AssistantCopilotVariationsApi=iA,this.AuditApi=nA,this.AuthorizationApi=tA,this.BackgroundAssistantApi=aA,this.BillingApi=rA,this.BusinessRulesApi=sA,this.CarrierServicesApi=oA,this.CaseManagementApi=lA,this.ChatApi=uA,this.CoachingApi=cA,this.ContentManagementApi=pA,this.ConversationsApi=dA,this.DataExtensionsApi=hA,this.DataPrivacyApi=gA,this.DownloadsApi=mA,this.EmailsApi=fA,this.EmployeeEngagementApi=wA,this.EventsApi=vA,this.ExternalContactsApi=CA,this.FaxApi=AA,this.FlowsApi=bA,this.GamificationApi=yA,this.GeneralDataProtectionRegulationApi=PA,this.GeolocationApi=jA,this.GreetingsApi=SA,this.GroupsApi=OA,this.IdentityProviderApi=TA,this.InfrastructureAsCodeApi=xA,this.IntegrationsApi=MA,this.IntentsApi=EA,this.JourneyApi=kA,this.KnowledgeApi=qA,this.LanguageUnderstandingApi=_A,this.LanguagesApi=HA,this.LearningApi=IA,this.LicenseApi=RA,this.LocationsApi=zA,this.LogCaptureApi=DA,this.MessagingApi=GA,this.MobileDevicesApi=$A,this.NotificationsApi=NA,this.OAuthApi=UA,this.ObjectsApi=WA,this.OperationalEventsApi=LA,this.OrganizationApi=BA,this.OrganizationAuthorizationApi=FA,this.OutboundApi=VA,this.PresenceApi=JA,this.ProcessAutomationApi=ZA,this.QualityApi=KA,this.RecordingApi=QA,this.ResponseManagementApi=YA,this.RoutingApi=XA,this.SCIMApi=eb,this.ScreenMonitoringApi=ib,this.ScriptsApi=nb,this.SearchApi=tb,this.SettingsApi=ab,this.SocialMediaApi=rb,this.SpeechTextAnalyticsApi=sb,this.StationsApi=ob,this.SuggestApi=lb,this.TaskManagementApi=ub,this.TeamsApi=cb,this.TelephonyApi=pb,this.TelephonyProvidersEdgeApi=db,this.TextbotsApi=hb,this.TokensApi=gb,this.UploadsApi=mb,this.UsageApi=fb,this.UserRecordingsApi=wb,this.UsersApi=vb,this.UsersRulesApi=Cb,this.UtilitiesApi=Ab,this.VirtualAgentsApi=bb,this.VoicemailApi=yb,this.WebChatApi=Pb,this.WebDeploymentsApi=jb,this.WebMessagingApi=Sb,this.WidgetsApi=Ob,this.WorkforceManagementApi=Tb,this.PureCloudRegionHosts=l7,this.AbstractHttpClient=bl,this.DefaultHttpClient=Kp,this.HttpRequestOptions=Zt}},c7=new xb;rI.exports=c7});var We={};Xp(We,{BRAND:()=>oR,DIRTY:()=>Yt,EMPTY_PATH:()=>GI,INVALID:()=>Z,NEVER:()=>LR,OK:()=>Ei,ParseStatus:()=>Ai,Schema:()=>ae,ZodAny:()=>bt,ZodArray:()=>rt,ZodBigInt:()=>ea,ZodBoolean:()=>ia,ZodBranded:()=>ws,ZodCatch:()=>da,ZodDate:()=>na,ZodDefault:()=>pa,ZodDiscriminatedUnion:()=>Tl,ZodEffects:()=>dn,ZodEnum:()=>ua,ZodError:()=>Wi,ZodFirstPartyTypeKind:()=>E,ZodFunction:()=>Ml,ZodIntersection:()=>sa,ZodIssueCode:()=>x,ZodLazy:()=>oa,ZodLiteral:()=>la,ZodMap:()=>sr,ZodNaN:()=>lr,ZodNativeEnum:()=>ca,ZodNever:()=>Sn,ZodNull:()=>aa,ZodNullable:()=>$n,ZodNumber:()=>Xt,ZodObject:()=>Li,ZodOptional:()=>cn,ZodParsedType:()=>z,ZodPipeline:()=>vs,ZodPromise:()=>yt,ZodReadonly:()=>ha,ZodRecord:()=>xl,ZodSchema:()=>ae,ZodSet:()=>or,ZodString:()=>At,ZodSymbol:()=>ar,ZodTransformer:()=>dn,ZodTuple:()=>Gn,ZodType:()=>ae,ZodUndefined:()=>ta,ZodUnion:()=>ra,ZodUnknown:()=>at,ZodVoid:()=>rr,addIssueToContext:()=>_,any:()=>fR,array:()=>AR,bigint:()=>pR,boolean:()=>Jb,coerce:()=>WR,custom:()=>Bb,date:()=>dR,datetimeRegex:()=>Wb,defaultErrorMap:()=>nt,discriminatedUnion:()=>PR,effect:()=>IR,enum:()=>qR,function:()=>MR,getErrorMap:()=>ir,getParsedType:()=>Dn,instanceof:()=>uR,intersection:()=>jR,isAborted:()=>Sl,isAsync:()=>nr,isDirty:()=>Ol,isValid:()=>Ct,late:()=>lR,lazy:()=>ER,literal:()=>kR,makeIssue:()=>fs,map:()=>TR,nan:()=>cR,nativeEnum:()=>_R,never:()=>vR,null:()=>mR,nullable:()=>zR,number:()=>Vb,object:()=>td,objectUtil:()=>ed,oboolean:()=>UR,onumber:()=>NR,optional:()=>RR,ostring:()=>$R,pipeline:()=>GR,preprocess:()=>DR,promise:()=>HR,quotelessJson:()=>RI,record:()=>OR,set:()=>xR,setErrorMap:()=>DI,strictObject:()=>bR,string:()=>Fb,symbol:()=>hR,transformer:()=>IR,tuple:()=>SR,undefined:()=>gR,union:()=>yR,unknown:()=>wR,util:()=>pe,void:()=>CR});var pe;(function(t){t.assertEqual=a=>{};function e(a){}t.assertIs=e;function i(a){throw new Error}t.assertNever=i,t.arrayToEnum=a=>{let r={};for(let s of a)r[s]=s;return r},t.getValidEnumValues=a=>{let r=t.objectKeys(a).filter(o=>typeof a[a[o]]!="number"),s={};for(let o of r)s[o]=a[o];return t.objectValues(s)},t.objectValues=a=>t.objectKeys(a).map(function(r){return a[r]}),t.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{let r=[];for(let s in a)Object.prototype.hasOwnProperty.call(a,s)&&r.push(s);return r},t.find=(a,r)=>{for(let s of a)if(r(s))return s},t.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function n(a,r=" | "){return a.map(s=>typeof s=="string"?`'${s}'`:s).join(r)}t.joinValues=n,t.jsonStringifyReplacer=(a,r)=>typeof r=="bigint"?r.toString():r})(pe||(pe={}));var ed;(function(t){t.mergeShapes=(e,i)=>({...e,...i})})(ed||(ed={}));var z=pe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Dn=t=>{switch(typeof t){case"undefined":return z.undefined;case"string":return z.string;case"number":return Number.isNaN(t)?z.nan:z.number;case"boolean":return z.boolean;case"function":return z.function;case"bigint":return z.bigint;case"symbol":return z.symbol;case"object":return Array.isArray(t)?z.array:t===null?z.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?z.promise:typeof Map<"u"&&t instanceof Map?z.map:typeof Set<"u"&&t instanceof Set?z.set:typeof Date<"u"&&t instanceof Date?z.date:z.object;default:return z.unknown}};var x=pe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),RI=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),Wi=class t extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};let i=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,i):this.__proto__=i,this.name="ZodError",this.issues=e}format(e){let i=e||function(r){return r.message},n={_errors:[]},a=r=>{for(let s of r.issues)if(s.code==="invalid_union")s.unionErrors.map(a);else if(s.code==="invalid_return_type")a(s.returnTypeError);else if(s.code==="invalid_arguments")a(s.argumentsError);else if(s.path.length===0)n._errors.push(i(s));else{let o=n,l=0;for(;li.message){let i=Object.create(null),n=[];for(let a of this.issues)if(a.path.length>0){let r=a.path[0];i[r]=i[r]||[],i[r].push(e(a))}else n.push(e(a));return{formErrors:n,fieldErrors:i}}get formErrors(){return this.flatten()}};Wi.create=t=>new Wi(t);var zI=(t,e)=>{let i;switch(t.code){case x.invalid_type:t.received===z.undefined?i="Required":i=`Expected ${t.expected}, received ${t.received}`;break;case x.invalid_literal:i=`Invalid literal value, expected ${JSON.stringify(t.expected,pe.jsonStringifyReplacer)}`;break;case x.unrecognized_keys:i=`Unrecognized key(s) in object: ${pe.joinValues(t.keys,", ")}`;break;case x.invalid_union:i="Invalid input";break;case x.invalid_union_discriminator:i=`Invalid discriminator value. Expected ${pe.joinValues(t.options)}`;break;case x.invalid_enum_value:i=`Invalid enum value. Expected ${pe.joinValues(t.options)}, received '${t.received}'`;break;case x.invalid_arguments:i="Invalid function arguments";break;case x.invalid_return_type:i="Invalid function return type";break;case x.invalid_date:i="Invalid date";break;case x.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(i=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(i=`${i} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?i=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?i=`Invalid input: must end with "${t.validation.endsWith}"`:pe.assertNever(t.validation):t.validation!=="regex"?i=`Invalid ${t.validation}`:i="Invalid";break;case x.too_small:t.type==="array"?i=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?i=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?i=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?i=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?i=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:i="Invalid input";break;case x.too_big:t.type==="array"?i=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?i=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?i=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?i=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?i=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:i="Invalid input";break;case x.custom:i="Invalid input";break;case x.invalid_intersection_types:i="Intersection results could not be merged";break;case x.not_multiple_of:i=`Number must be a multiple of ${t.multipleOf}`;break;case x.not_finite:i="Number must be finite";break;default:i=e.defaultError,pe.assertNever(t)}return{message:i}},nt=zI;var Db=nt;function DI(t){Db=t}function ir(){return Db}var fs=t=>{let{data:e,path:i,errorMaps:n,issueData:a}=t,r=[...i,...a.path||[]],s={...a,path:r};if(a.message!==void 0)return{...a,path:r,message:a.message};let o="",l=n.filter(u=>!!u).slice().reverse();for(let u of l)o=u(s,{data:e,defaultError:o}).message;return{...a,path:r,message:o}},GI=[];function _(t,e){let i=ir(),n=fs({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,i,i===nt?void 0:nt].filter(a=>!!a)});t.common.issues.push(n)}var Ai=class t{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,i){let n=[];for(let a of i){if(a.status==="aborted")return Z;a.status==="dirty"&&e.dirty(),n.push(a.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,i){let n=[];for(let a of i){let r=await a.key,s=await a.value;n.push({key:r,value:s})}return t.mergeObjectSync(e,n)}static mergeObjectSync(e,i){let n={};for(let a of i){let{key:r,value:s}=a;if(r.status==="aborted"||s.status==="aborted")return Z;r.status==="dirty"&&e.dirty(),s.status==="dirty"&&e.dirty(),r.value!=="__proto__"&&(typeof s.value<"u"||a.alwaysSet)&&(n[r.value]=s.value)}return{status:e.value,value:n}}},Z=Object.freeze({status:"aborted"}),Yt=t=>({status:"dirty",value:t}),Ei=t=>({status:"valid",value:t}),Sl=t=>t.status==="aborted",Ol=t=>t.status==="dirty",Ct=t=>t.status==="valid",nr=t=>typeof Promise<"u"&&t instanceof Promise;var N;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(N||(N={}));var pn=class{constructor(e,i,n,a){this._cachedPath=[],this.parent=e,this.data=i,this._path=n,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Gb=(t,e)=>{if(Ct(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let i=new Wi(t.common.issues);return this._error=i,this._error}}};function ee(t){if(!t)return{};let{errorMap:e,invalid_type_error:i,required_error:n,description:a}=t;if(e&&(i||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:a}:{errorMap:(s,o)=>{let{message:l}=t;return s.code==="invalid_enum_value"?{message:l??o.defaultError}:typeof o.data>"u"?{message:l??n??o.defaultError}:s.code!=="invalid_type"?{message:o.defaultError}:{message:l??i??o.defaultError}},description:a}}var ae=class{get description(){return this._def.description}_getType(e){return Dn(e.data)}_getOrReturnCtx(e,i){return i||{common:e.parent.common,data:e.data,parsedType:Dn(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Ai,ctx:{common:e.parent.common,data:e.data,parsedType:Dn(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let i=this._parse(e);if(nr(i))throw new Error("Synchronous parse encountered promise.");return i}_parseAsync(e){let i=this._parse(e);return Promise.resolve(i)}parse(e,i){let n=this.safeParse(e,i);if(n.success)return n.data;throw n.error}safeParse(e,i){let n={common:{issues:[],async:i?.async??!1,contextualErrorMap:i?.errorMap},path:i?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Dn(e)},a=this._parseSync({data:e,path:n.path,parent:n});return Gb(n,a)}"~validate"(e){let i={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Dn(e)};if(!this["~standard"].async)try{let n=this._parseSync({data:e,path:[],parent:i});return Ct(n)?{value:n.value}:{issues:i.common.issues}}catch(n){n?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),i.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:i}).then(n=>Ct(n)?{value:n.value}:{issues:i.common.issues})}async parseAsync(e,i){let n=await this.safeParseAsync(e,i);if(n.success)return n.data;throw n.error}async safeParseAsync(e,i){let n={common:{issues:[],contextualErrorMap:i?.errorMap,async:!0},path:i?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Dn(e)},a=this._parse({data:e,path:n.path,parent:n}),r=await(nr(a)?a:Promise.resolve(a));return Gb(n,r)}refine(e,i){let n=a=>typeof i=="string"||typeof i>"u"?{message:i}:typeof i=="function"?i(a):i;return this._refinement((a,r)=>{let s=e(a),o=()=>r.addIssue({code:x.custom,...n(a)});return typeof Promise<"u"&&s instanceof Promise?s.then(l=>l?!0:(o(),!1)):s?!0:(o(),!1)})}refinement(e,i){return this._refinement((n,a)=>e(n)?!0:(a.addIssue(typeof i=="function"?i(n,a):i),!1))}_refinement(e){return new dn({schema:this,typeName:E.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:i=>this["~validate"](i)}}optional(){return cn.create(this,this._def)}nullable(){return $n.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return rt.create(this)}promise(){return yt.create(this,this._def)}or(e){return ra.create([this,e],this._def)}and(e){return sa.create(this,e,this._def)}transform(e){return new dn({...ee(this._def),schema:this,typeName:E.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let i=typeof e=="function"?e:()=>e;return new pa({...ee(this._def),innerType:this,defaultValue:i,typeName:E.ZodDefault})}brand(){return new ws({typeName:E.ZodBranded,type:this,...ee(this._def)})}catch(e){let i=typeof e=="function"?e:()=>e;return new da({...ee(this._def),innerType:this,catchValue:i,typeName:E.ZodCatch})}describe(e){let i=this.constructor;return new i({...this._def,description:e})}pipe(e){return vs.create(this,e)}readonly(){return ha.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},$I=/^c[^\s-]{8,}$/i,NI=/^[0-9a-z]+$/,UI=/^[0-9A-HJKMNP-TV-Z]{26}$/i,WI=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,LI=/^[a-z0-9_-]{21}$/i,BI=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,FI=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,VI=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,JI="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",id,ZI=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,KI=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,QI=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,YI=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,XI=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,eR=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Nb="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",iR=new RegExp(`^${Nb}$`);function Ub(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);let i=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${i}`}function nR(t){return new RegExp(`^${Ub(t)}$`)}function Wb(t){let e=`${Nb}T${Ub(t)}`,i=[];return i.push(t.local?"Z?":"Z"),t.offset&&i.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${i.join("|")})`,new RegExp(`^${e}$`)}function tR(t,e){return!!((e==="v4"||!e)&&ZI.test(t)||(e==="v6"||!e)&&QI.test(t))}function aR(t,e){if(!BI.test(t))return!1;try{let[i]=t.split(".");if(!i)return!1;let n=i.replace(/-/g,"+").replace(/_/g,"/").padEnd(i.length+(4-i.length%4)%4,"="),a=JSON.parse(atob(n));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||e&&a.alg!==e)}catch{return!1}}function rR(t,e){return!!((e==="v4"||!e)&&KI.test(t)||(e==="v6"||!e)&&YI.test(t))}var At=class t extends ae{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==z.string){let r=this._getOrReturnCtx(e);return _(r,{code:x.invalid_type,expected:z.string,received:r.parsedType}),Z}let n=new Ai,a;for(let r of this._def.checks)if(r.kind==="min")e.data.lengthr.value&&(a=this._getOrReturnCtx(e,a),_(a,{code:x.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),n.dirty());else if(r.kind==="length"){let s=e.data.length>r.value,o=e.data.lengthe.test(a),{validation:i,code:x.invalid_string,...N.errToObj(n)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...N.errToObj(e)})}url(e){return this._addCheck({kind:"url",...N.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...N.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...N.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...N.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...N.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...N.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...N.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...N.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...N.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...N.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...N.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...N.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...N.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...N.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...N.errToObj(e)})}regex(e,i){return this._addCheck({kind:"regex",regex:e,...N.errToObj(i)})}includes(e,i){return this._addCheck({kind:"includes",value:e,position:i?.position,...N.errToObj(i?.message)})}startsWith(e,i){return this._addCheck({kind:"startsWith",value:e,...N.errToObj(i)})}endsWith(e,i){return this._addCheck({kind:"endsWith",value:e,...N.errToObj(i)})}min(e,i){return this._addCheck({kind:"min",value:e,...N.errToObj(i)})}max(e,i){return this._addCheck({kind:"max",value:e,...N.errToObj(i)})}length(e,i){return this._addCheck({kind:"length",value:e,...N.errToObj(i)})}nonempty(e){return this.min(1,N.errToObj(e))}trim(){return new t({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(let i of this._def.checks)i.kind==="min"&&(e===null||i.value>e)&&(e=i.value);return e}get maxLength(){let e=null;for(let i of this._def.checks)i.kind==="max"&&(e===null||i.valuenew At({checks:[],typeName:E.ZodString,coerce:t?.coerce??!1,...ee(t)});function sR(t,e){let i=(t.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,a=i>n?i:n,r=Number.parseInt(t.toFixed(a).replace(".","")),s=Number.parseInt(e.toFixed(a).replace(".",""));return r%s/10**a}var Xt=class t extends ae{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==z.number){let r=this._getOrReturnCtx(e);return _(r,{code:x.invalid_type,expected:z.number,received:r.parsedType}),Z}let n,a=new Ai;for(let r of this._def.checks)r.kind==="int"?pe.isInteger(e.data)||(n=this._getOrReturnCtx(e,n),_(n,{code:x.invalid_type,expected:"integer",received:"float",message:r.message}),a.dirty()):r.kind==="min"?(r.inclusive?e.datar.value:e.data>=r.value)&&(n=this._getOrReturnCtx(e,n),_(n,{code:x.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),a.dirty()):r.kind==="multipleOf"?sR(e.data,r.value)!==0&&(n=this._getOrReturnCtx(e,n),_(n,{code:x.not_multiple_of,multipleOf:r.value,message:r.message}),a.dirty()):r.kind==="finite"?Number.isFinite(e.data)||(n=this._getOrReturnCtx(e,n),_(n,{code:x.not_finite,message:r.message}),a.dirty()):pe.assertNever(r);return{status:a.value,value:e.data}}gte(e,i){return this.setLimit("min",e,!0,N.toString(i))}gt(e,i){return this.setLimit("min",e,!1,N.toString(i))}lte(e,i){return this.setLimit("max",e,!0,N.toString(i))}lt(e,i){return this.setLimit("max",e,!1,N.toString(i))}setLimit(e,i,n,a){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:i,inclusive:n,message:N.toString(a)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:N.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:N.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:N.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:N.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:N.toString(e)})}multipleOf(e,i){return this._addCheck({kind:"multipleOf",value:e,message:N.toString(i)})}finite(e){return this._addCheck({kind:"finite",message:N.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:N.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:N.toString(e)})}get minValue(){let e=null;for(let i of this._def.checks)i.kind==="min"&&(e===null||i.value>e)&&(e=i.value);return e}get maxValue(){let e=null;for(let i of this._def.checks)i.kind==="max"&&(e===null||i.valuee.kind==="int"||e.kind==="multipleOf"&&pe.isInteger(e.value))}get isFinite(){let e=null,i=null;for(let n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(i===null||n.value>i)&&(i=n.value):n.kind==="max"&&(e===null||n.valuenew Xt({checks:[],typeName:E.ZodNumber,coerce:t?.coerce||!1,...ee(t)});var ea=class t extends ae{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==z.bigint)return this._getInvalidInput(e);let n,a=new Ai;for(let r of this._def.checks)r.kind==="min"?(r.inclusive?e.datar.value:e.data>=r.value)&&(n=this._getOrReturnCtx(e,n),_(n,{code:x.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),a.dirty()):r.kind==="multipleOf"?e.data%r.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),_(n,{code:x.not_multiple_of,multipleOf:r.value,message:r.message}),a.dirty()):pe.assertNever(r);return{status:a.value,value:e.data}}_getInvalidInput(e){let i=this._getOrReturnCtx(e);return _(i,{code:x.invalid_type,expected:z.bigint,received:i.parsedType}),Z}gte(e,i){return this.setLimit("min",e,!0,N.toString(i))}gt(e,i){return this.setLimit("min",e,!1,N.toString(i))}lte(e,i){return this.setLimit("max",e,!0,N.toString(i))}lt(e,i){return this.setLimit("max",e,!1,N.toString(i))}setLimit(e,i,n,a){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:i,inclusive:n,message:N.toString(a)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:N.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:N.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:N.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:N.toString(e)})}multipleOf(e,i){return this._addCheck({kind:"multipleOf",value:e,message:N.toString(i)})}get minValue(){let e=null;for(let i of this._def.checks)i.kind==="min"&&(e===null||i.value>e)&&(e=i.value);return e}get maxValue(){let e=null;for(let i of this._def.checks)i.kind==="max"&&(e===null||i.valuenew ea({checks:[],typeName:E.ZodBigInt,coerce:t?.coerce??!1,...ee(t)});var ia=class extends ae{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==z.boolean){let n=this._getOrReturnCtx(e);return _(n,{code:x.invalid_type,expected:z.boolean,received:n.parsedType}),Z}return Ei(e.data)}};ia.create=t=>new ia({typeName:E.ZodBoolean,coerce:t?.coerce||!1,...ee(t)});var na=class t extends ae{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==z.date){let r=this._getOrReturnCtx(e);return _(r,{code:x.invalid_type,expected:z.date,received:r.parsedType}),Z}if(Number.isNaN(e.data.getTime())){let r=this._getOrReturnCtx(e);return _(r,{code:x.invalid_date}),Z}let n=new Ai,a;for(let r of this._def.checks)r.kind==="min"?e.data.getTime()r.value&&(a=this._getOrReturnCtx(e,a),_(a,{code:x.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):pe.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}min(e,i){return this._addCheck({kind:"min",value:e.getTime(),message:N.toString(i)})}max(e,i){return this._addCheck({kind:"max",value:e.getTime(),message:N.toString(i)})}get minDate(){let e=null;for(let i of this._def.checks)i.kind==="min"&&(e===null||i.value>e)&&(e=i.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let i of this._def.checks)i.kind==="max"&&(e===null||i.valuenew na({checks:[],coerce:t?.coerce||!1,typeName:E.ZodDate,...ee(t)});var ar=class extends ae{_parse(e){if(this._getType(e)!==z.symbol){let n=this._getOrReturnCtx(e);return _(n,{code:x.invalid_type,expected:z.symbol,received:n.parsedType}),Z}return Ei(e.data)}};ar.create=t=>new ar({typeName:E.ZodSymbol,...ee(t)});var ta=class extends ae{_parse(e){if(this._getType(e)!==z.undefined){let n=this._getOrReturnCtx(e);return _(n,{code:x.invalid_type,expected:z.undefined,received:n.parsedType}),Z}return Ei(e.data)}};ta.create=t=>new ta({typeName:E.ZodUndefined,...ee(t)});var aa=class extends ae{_parse(e){if(this._getType(e)!==z.null){let n=this._getOrReturnCtx(e);return _(n,{code:x.invalid_type,expected:z.null,received:n.parsedType}),Z}return Ei(e.data)}};aa.create=t=>new aa({typeName:E.ZodNull,...ee(t)});var bt=class extends ae{constructor(){super(...arguments),this._any=!0}_parse(e){return Ei(e.data)}};bt.create=t=>new bt({typeName:E.ZodAny,...ee(t)});var at=class extends ae{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Ei(e.data)}};at.create=t=>new at({typeName:E.ZodUnknown,...ee(t)});var Sn=class extends ae{_parse(e){let i=this._getOrReturnCtx(e);return _(i,{code:x.invalid_type,expected:z.never,received:i.parsedType}),Z}};Sn.create=t=>new Sn({typeName:E.ZodNever,...ee(t)});var rr=class extends ae{_parse(e){if(this._getType(e)!==z.undefined){let n=this._getOrReturnCtx(e);return _(n,{code:x.invalid_type,expected:z.void,received:n.parsedType}),Z}return Ei(e.data)}};rr.create=t=>new rr({typeName:E.ZodVoid,...ee(t)});var rt=class t extends ae{_parse(e){let{ctx:i,status:n}=this._processInputParams(e),a=this._def;if(i.parsedType!==z.array)return _(i,{code:x.invalid_type,expected:z.array,received:i.parsedType}),Z;if(a.exactLength!==null){let s=i.data.length>a.exactLength.value,o=i.data.lengtha.maxLength.value&&(_(i,{code:x.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),n.dirty()),i.common.async)return Promise.all([...i.data].map((s,o)=>a.type._parseAsync(new pn(i,s,i.path,o)))).then(s=>Ai.mergeArray(n,s));let r=[...i.data].map((s,o)=>a.type._parseSync(new pn(i,s,i.path,o)));return Ai.mergeArray(n,r)}get element(){return this._def.type}min(e,i){return new t({...this._def,minLength:{value:e,message:N.toString(i)}})}max(e,i){return new t({...this._def,maxLength:{value:e,message:N.toString(i)}})}length(e,i){return new t({...this._def,exactLength:{value:e,message:N.toString(i)}})}nonempty(e){return this.min(1,e)}};rt.create=(t,e)=>new rt({type:t,minLength:null,maxLength:null,exactLength:null,typeName:E.ZodArray,...ee(e)});function tr(t){if(t instanceof Li){let e={};for(let i in t.shape){let n=t.shape[i];e[i]=cn.create(tr(n))}return new Li({...t._def,shape:()=>e})}else return t instanceof rt?new rt({...t._def,type:tr(t.element)}):t instanceof cn?cn.create(tr(t.unwrap())):t instanceof $n?$n.create(tr(t.unwrap())):t instanceof Gn?Gn.create(t.items.map(e=>tr(e))):t}var Li=class t extends ae{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),i=pe.objectKeys(e);return this._cached={shape:e,keys:i},this._cached}_parse(e){if(this._getType(e)!==z.object){let u=this._getOrReturnCtx(e);return _(u,{code:x.invalid_type,expected:z.object,received:u.parsedType}),Z}let{status:n,ctx:a}=this._processInputParams(e),{shape:r,keys:s}=this._getCached(),o=[];if(!(this._def.catchall instanceof Sn&&this._def.unknownKeys==="strip"))for(let u in a.data)s.includes(u)||o.push(u);let l=[];for(let u of s){let c=r[u],p=a.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new pn(a,p,a.path,u)),alwaysSet:u in a.data})}if(this._def.catchall instanceof Sn){let u=this._def.unknownKeys;if(u==="passthrough")for(let c of o)l.push({key:{status:"valid",value:c},value:{status:"valid",value:a.data[c]}});else if(u==="strict")o.length>0&&(_(a,{code:x.unrecognized_keys,keys:o}),n.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let u=this._def.catchall;for(let c of o){let p=a.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new pn(a,p,a.path,c)),alwaysSet:c in a.data})}}return a.common.async?Promise.resolve().then(async()=>{let u=[];for(let c of l){let p=await c.key,d=await c.value;u.push({key:p,value:d,alwaysSet:c.alwaysSet})}return u}).then(u=>Ai.mergeObjectSync(n,u)):Ai.mergeObjectSync(n,l)}get shape(){return this._def.shape()}strict(e){return N.errToObj,new t({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(i,n)=>{let a=this._def.errorMap?.(i,n).message??n.defaultError;return i.code==="unrecognized_keys"?{message:N.errToObj(e).message??a}:{message:a}}}:{}})}strip(){return new t({...this._def,unknownKeys:"strip"})}passthrough(){return new t({...this._def,unknownKeys:"passthrough"})}extend(e){return new t({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new t({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:E.ZodObject})}setKey(e,i){return this.augment({[e]:i})}catchall(e){return new t({...this._def,catchall:e})}pick(e){let i={};for(let n of pe.objectKeys(e))e[n]&&this.shape[n]&&(i[n]=this.shape[n]);return new t({...this._def,shape:()=>i})}omit(e){let i={};for(let n of pe.objectKeys(this.shape))e[n]||(i[n]=this.shape[n]);return new t({...this._def,shape:()=>i})}deepPartial(){return tr(this)}partial(e){let i={};for(let n of pe.objectKeys(this.shape)){let a=this.shape[n];e&&!e[n]?i[n]=a:i[n]=a.optional()}return new t({...this._def,shape:()=>i})}required(e){let i={};for(let n of pe.objectKeys(this.shape))if(e&&!e[n])i[n]=this.shape[n];else{let r=this.shape[n];for(;r instanceof cn;)r=r._def.innerType;i[n]=r}return new t({...this._def,shape:()=>i})}keyof(){return Lb(pe.objectKeys(this.shape))}};Li.create=(t,e)=>new Li({shape:()=>t,unknownKeys:"strip",catchall:Sn.create(),typeName:E.ZodObject,...ee(e)});Li.strictCreate=(t,e)=>new Li({shape:()=>t,unknownKeys:"strict",catchall:Sn.create(),typeName:E.ZodObject,...ee(e)});Li.lazycreate=(t,e)=>new Li({shape:t,unknownKeys:"strip",catchall:Sn.create(),typeName:E.ZodObject,...ee(e)});var ra=class extends ae{_parse(e){let{ctx:i}=this._processInputParams(e),n=this._def.options;function a(r){for(let o of r)if(o.result.status==="valid")return o.result;for(let o of r)if(o.result.status==="dirty")return i.common.issues.push(...o.ctx.common.issues),o.result;let s=r.map(o=>new Wi(o.ctx.common.issues));return _(i,{code:x.invalid_union,unionErrors:s}),Z}if(i.common.async)return Promise.all(n.map(async r=>{let s={...i,common:{...i.common,issues:[]},parent:null};return{result:await r._parseAsync({data:i.data,path:i.path,parent:s}),ctx:s}})).then(a);{let r,s=[];for(let l of n){let u={...i,common:{...i.common,issues:[]},parent:null},c=l._parseSync({data:i.data,path:i.path,parent:u});if(c.status==="valid")return c;c.status==="dirty"&&!r&&(r={result:c,ctx:u}),u.common.issues.length&&s.push(u.common.issues)}if(r)return i.common.issues.push(...r.ctx.common.issues),r.result;let o=s.map(l=>new Wi(l));return _(i,{code:x.invalid_union,unionErrors:o}),Z}}get options(){return this._def.options}};ra.create=(t,e)=>new ra({options:t,typeName:E.ZodUnion,...ee(e)});var tt=t=>t instanceof oa?tt(t.schema):t instanceof dn?tt(t.innerType()):t instanceof la?[t.value]:t instanceof ua?t.options:t instanceof ca?pe.objectValues(t.enum):t instanceof pa?tt(t._def.innerType):t instanceof ta?[void 0]:t instanceof aa?[null]:t instanceof cn?[void 0,...tt(t.unwrap())]:t instanceof $n?[null,...tt(t.unwrap())]:t instanceof ws||t instanceof ha?tt(t.unwrap()):t instanceof da?tt(t._def.innerType):[],Tl=class t extends ae{_parse(e){let{ctx:i}=this._processInputParams(e);if(i.parsedType!==z.object)return _(i,{code:x.invalid_type,expected:z.object,received:i.parsedType}),Z;let n=this.discriminator,a=i.data[n],r=this.optionsMap.get(a);return r?i.common.async?r._parseAsync({data:i.data,path:i.path,parent:i}):r._parseSync({data:i.data,path:i.path,parent:i}):(_(i,{code:x.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),Z)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,i,n){let a=new Map;for(let r of i){let s=tt(r.shape[e]);if(!s.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let o of s){if(a.has(o))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);a.set(o,r)}}return new t({typeName:E.ZodDiscriminatedUnion,discriminator:e,options:i,optionsMap:a,...ee(n)})}};function nd(t,e){let i=Dn(t),n=Dn(e);if(t===e)return{valid:!0,data:t};if(i===z.object&&n===z.object){let a=pe.objectKeys(e),r=pe.objectKeys(t).filter(o=>a.indexOf(o)!==-1),s={...t,...e};for(let o of r){let l=nd(t[o],e[o]);if(!l.valid)return{valid:!1};s[o]=l.data}return{valid:!0,data:s}}else if(i===z.array&&n===z.array){if(t.length!==e.length)return{valid:!1};let a=[];for(let r=0;r{if(Sl(r)||Sl(s))return Z;let o=nd(r.value,s.value);return o.valid?((Ol(r)||Ol(s))&&i.dirty(),{status:i.value,value:o.data}):(_(n,{code:x.invalid_intersection_types}),Z)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([r,s])=>a(r,s)):a(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}};sa.create=(t,e,i)=>new sa({left:t,right:e,typeName:E.ZodIntersection,...ee(i)});var Gn=class t extends ae{_parse(e){let{status:i,ctx:n}=this._processInputParams(e);if(n.parsedType!==z.array)return _(n,{code:x.invalid_type,expected:z.array,received:n.parsedType}),Z;if(n.data.lengththis._def.items.length&&(_(n,{code:x.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),i.dirty());let r=[...n.data].map((s,o)=>{let l=this._def.items[o]||this._def.rest;return l?l._parse(new pn(n,s,n.path,o)):null}).filter(s=>!!s);return n.common.async?Promise.all(r).then(s=>Ai.mergeArray(i,s)):Ai.mergeArray(i,r)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};Gn.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Gn({items:t,typeName:E.ZodTuple,rest:null,...ee(e)})};var xl=class t extends ae{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:i,ctx:n}=this._processInputParams(e);if(n.parsedType!==z.object)return _(n,{code:x.invalid_type,expected:z.object,received:n.parsedType}),Z;let a=[],r=this._def.keyType,s=this._def.valueType;for(let o in n.data)a.push({key:r._parse(new pn(n,o,n.path,o)),value:s._parse(new pn(n,n.data[o],n.path,o)),alwaysSet:o in n.data});return n.common.async?Ai.mergeObjectAsync(i,a):Ai.mergeObjectSync(i,a)}get element(){return this._def.valueType}static create(e,i,n){return i instanceof ae?new t({keyType:e,valueType:i,typeName:E.ZodRecord,...ee(n)}):new t({keyType:At.create(),valueType:e,typeName:E.ZodRecord,...ee(i)})}},sr=class extends ae{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:i,ctx:n}=this._processInputParams(e);if(n.parsedType!==z.map)return _(n,{code:x.invalid_type,expected:z.map,received:n.parsedType}),Z;let a=this._def.keyType,r=this._def.valueType,s=[...n.data.entries()].map(([o,l],u)=>({key:a._parse(new pn(n,o,n.path,[u,"key"])),value:r._parse(new pn(n,l,n.path,[u,"value"]))}));if(n.common.async){let o=new Map;return Promise.resolve().then(async()=>{for(let l of s){let u=await l.key,c=await l.value;if(u.status==="aborted"||c.status==="aborted")return Z;(u.status==="dirty"||c.status==="dirty")&&i.dirty(),o.set(u.value,c.value)}return{status:i.value,value:o}})}else{let o=new Map;for(let l of s){let u=l.key,c=l.value;if(u.status==="aborted"||c.status==="aborted")return Z;(u.status==="dirty"||c.status==="dirty")&&i.dirty(),o.set(u.value,c.value)}return{status:i.value,value:o}}}};sr.create=(t,e,i)=>new sr({valueType:e,keyType:t,typeName:E.ZodMap,...ee(i)});var or=class t extends ae{_parse(e){let{status:i,ctx:n}=this._processInputParams(e);if(n.parsedType!==z.set)return _(n,{code:x.invalid_type,expected:z.set,received:n.parsedType}),Z;let a=this._def;a.minSize!==null&&n.data.sizea.maxSize.value&&(_(n,{code:x.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),i.dirty());let r=this._def.valueType;function s(l){let u=new Set;for(let c of l){if(c.status==="aborted")return Z;c.status==="dirty"&&i.dirty(),u.add(c.value)}return{status:i.value,value:u}}let o=[...n.data.values()].map((l,u)=>r._parse(new pn(n,l,n.path,u)));return n.common.async?Promise.all(o).then(l=>s(l)):s(o)}min(e,i){return new t({...this._def,minSize:{value:e,message:N.toString(i)}})}max(e,i){return new t({...this._def,maxSize:{value:e,message:N.toString(i)}})}size(e,i){return this.min(e,i).max(e,i)}nonempty(e){return this.min(1,e)}};or.create=(t,e)=>new or({valueType:t,minSize:null,maxSize:null,typeName:E.ZodSet,...ee(e)});var Ml=class t extends ae{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:i}=this._processInputParams(e);if(i.parsedType!==z.function)return _(i,{code:x.invalid_type,expected:z.function,received:i.parsedType}),Z;function n(o,l){return fs({data:o,path:i.path,errorMaps:[i.common.contextualErrorMap,i.schemaErrorMap,ir(),nt].filter(u=>!!u),issueData:{code:x.invalid_arguments,argumentsError:l}})}function a(o,l){return fs({data:o,path:i.path,errorMaps:[i.common.contextualErrorMap,i.schemaErrorMap,ir(),nt].filter(u=>!!u),issueData:{code:x.invalid_return_type,returnTypeError:l}})}let r={errorMap:i.common.contextualErrorMap},s=i.data;if(this._def.returns instanceof yt){let o=this;return Ei(async function(...l){let u=new Wi([]),c=await o._def.args.parseAsync(l,r).catch(h=>{throw u.addIssue(n(l,h)),u}),p=await Reflect.apply(s,this,c);return await o._def.returns._def.type.parseAsync(p,r).catch(h=>{throw u.addIssue(a(p,h)),u})})}else{let o=this;return Ei(function(...l){let u=o._def.args.safeParse(l,r);if(!u.success)throw new Wi([n(l,u.error)]);let c=Reflect.apply(s,this,u.data),p=o._def.returns.safeParse(c,r);if(!p.success)throw new Wi([a(c,p.error)]);return p.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:Gn.create(e).rest(at.create())})}returns(e){return new t({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,i,n){return new t({args:e||Gn.create([]).rest(at.create()),returns:i||at.create(),typeName:E.ZodFunction,...ee(n)})}},oa=class extends ae{get schema(){return this._def.getter()}_parse(e){let{ctx:i}=this._processInputParams(e);return this._def.getter()._parse({data:i.data,path:i.path,parent:i})}};oa.create=(t,e)=>new oa({getter:t,typeName:E.ZodLazy,...ee(e)});var la=class extends ae{_parse(e){if(e.data!==this._def.value){let i=this._getOrReturnCtx(e);return _(i,{received:i.data,code:x.invalid_literal,expected:this._def.value}),Z}return{status:"valid",value:e.data}}get value(){return this._def.value}};la.create=(t,e)=>new la({value:t,typeName:E.ZodLiteral,...ee(e)});function Lb(t,e){return new ua({values:t,typeName:E.ZodEnum,...ee(e)})}var ua=class t extends ae{_parse(e){if(typeof e.data!="string"){let i=this._getOrReturnCtx(e),n=this._def.values;return _(i,{expected:pe.joinValues(n),received:i.parsedType,code:x.invalid_type}),Z}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let i=this._getOrReturnCtx(e),n=this._def.values;return _(i,{received:i.data,code:x.invalid_enum_value,options:n}),Z}return Ei(e.data)}get options(){return this._def.values}get enum(){let e={};for(let i of this._def.values)e[i]=i;return e}get Values(){let e={};for(let i of this._def.values)e[i]=i;return e}get Enum(){let e={};for(let i of this._def.values)e[i]=i;return e}extract(e,i=this._def){return t.create(e,{...this._def,...i})}exclude(e,i=this._def){return t.create(this.options.filter(n=>!e.includes(n)),{...this._def,...i})}};ua.create=Lb;var ca=class extends ae{_parse(e){let i=pe.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==z.string&&n.parsedType!==z.number){let a=pe.objectValues(i);return _(n,{expected:pe.joinValues(a),received:n.parsedType,code:x.invalid_type}),Z}if(this._cache||(this._cache=new Set(pe.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let a=pe.objectValues(i);return _(n,{received:n.data,code:x.invalid_enum_value,options:a}),Z}return Ei(e.data)}get enum(){return this._def.values}};ca.create=(t,e)=>new ca({values:t,typeName:E.ZodNativeEnum,...ee(e)});var yt=class extends ae{unwrap(){return this._def.type}_parse(e){let{ctx:i}=this._processInputParams(e);if(i.parsedType!==z.promise&&i.common.async===!1)return _(i,{code:x.invalid_type,expected:z.promise,received:i.parsedType}),Z;let n=i.parsedType===z.promise?i.data:Promise.resolve(i.data);return Ei(n.then(a=>this._def.type.parseAsync(a,{path:i.path,errorMap:i.common.contextualErrorMap})))}};yt.create=(t,e)=>new yt({type:t,typeName:E.ZodPromise,...ee(e)});var dn=class extends ae{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===E.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:i,ctx:n}=this._processInputParams(e),a=this._def.effect||null,r={addIssue:s=>{_(n,s),s.fatal?i.abort():i.dirty()},get path(){return n.path}};if(r.addIssue=r.addIssue.bind(r),a.type==="preprocess"){let s=a.transform(n.data,r);if(n.common.async)return Promise.resolve(s).then(async o=>{if(i.value==="aborted")return Z;let l=await this._def.schema._parseAsync({data:o,path:n.path,parent:n});return l.status==="aborted"?Z:l.status==="dirty"?Yt(l.value):i.value==="dirty"?Yt(l.value):l});{if(i.value==="aborted")return Z;let o=this._def.schema._parseSync({data:s,path:n.path,parent:n});return o.status==="aborted"?Z:o.status==="dirty"?Yt(o.value):i.value==="dirty"?Yt(o.value):o}}if(a.type==="refinement"){let s=o=>{let l=a.refinement(o,r);if(n.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return o};if(n.common.async===!1){let o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return o.status==="aborted"?Z:(o.status==="dirty"&&i.dirty(),s(o.value),{status:i.value,value:o.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>o.status==="aborted"?Z:(o.status==="dirty"&&i.dirty(),s(o.value).then(()=>({status:i.value,value:o.value}))))}if(a.type==="transform")if(n.common.async===!1){let s=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!Ct(s))return Z;let o=a.transform(s.value,r);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:i.value,value:o}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(s=>Ct(s)?Promise.resolve(a.transform(s.value,r)).then(o=>({status:i.value,value:o})):Z);pe.assertNever(a)}};dn.create=(t,e,i)=>new dn({schema:t,typeName:E.ZodEffects,effect:e,...ee(i)});dn.createWithPreprocess=(t,e,i)=>new dn({schema:e,effect:{type:"preprocess",transform:t},typeName:E.ZodEffects,...ee(i)});var cn=class extends ae{_parse(e){return this._getType(e)===z.undefined?Ei(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};cn.create=(t,e)=>new cn({innerType:t,typeName:E.ZodOptional,...ee(e)});var $n=class extends ae{_parse(e){return this._getType(e)===z.null?Ei(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};$n.create=(t,e)=>new $n({innerType:t,typeName:E.ZodNullable,...ee(e)});var pa=class extends ae{_parse(e){let{ctx:i}=this._processInputParams(e),n=i.data;return i.parsedType===z.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:i.path,parent:i})}removeDefault(){return this._def.innerType}};pa.create=(t,e)=>new pa({innerType:t,typeName:E.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...ee(e)});var da=class extends ae{_parse(e){let{ctx:i}=this._processInputParams(e),n={...i,common:{...i.common,issues:[]}},a=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return nr(a)?a.then(r=>({status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new Wi(n.common.issues)},input:n.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Wi(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}};da.create=(t,e)=>new da({innerType:t,typeName:E.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...ee(e)});var lr=class extends ae{_parse(e){if(this._getType(e)!==z.nan){let n=this._getOrReturnCtx(e);return _(n,{code:x.invalid_type,expected:z.nan,received:n.parsedType}),Z}return{status:"valid",value:e.data}}};lr.create=t=>new lr({typeName:E.ZodNaN,...ee(t)});var oR=Symbol("zod_brand"),ws=class extends ae{_parse(e){let{ctx:i}=this._processInputParams(e),n=i.data;return this._def.type._parse({data:n,path:i.path,parent:i})}unwrap(){return this._def.type}},vs=class t extends ae{_parse(e){let{status:i,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let r=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return r.status==="aborted"?Z:r.status==="dirty"?(i.dirty(),Yt(r.value)):this._def.out._parseAsync({data:r.value,path:n.path,parent:n})})();{let a=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?Z:a.status==="dirty"?(i.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:n.path,parent:n})}}static create(e,i){return new t({in:e,out:i,typeName:E.ZodPipeline})}},ha=class extends ae{_parse(e){let i=this._def.innerType._parse(e),n=a=>(Ct(a)&&(a.value=Object.freeze(a.value)),a);return nr(i)?i.then(a=>n(a)):n(i)}unwrap(){return this._def.innerType}};ha.create=(t,e)=>new ha({innerType:t,typeName:E.ZodReadonly,...ee(e)});function $b(t,e){let i=typeof t=="function"?t(e):typeof t=="string"?{message:t}:t;return typeof i=="string"?{message:i}:i}function Bb(t,e={},i){return t?bt.create().superRefine((n,a)=>{let r=t(n);if(r instanceof Promise)return r.then(s=>{if(!s){let o=$b(e,n),l=o.fatal??i??!0;a.addIssue({code:"custom",...o,fatal:l})}});if(!r){let s=$b(e,n),o=s.fatal??i??!0;a.addIssue({code:"custom",...s,fatal:o})}}):bt.create()}var lR={object:Li.lazycreate},E;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(E||(E={}));var uR=(t,e={message:`Input not instance of ${t.name}`})=>Bb(i=>i instanceof t,e),Fb=At.create,Vb=Xt.create,cR=lr.create,pR=ea.create,Jb=ia.create,dR=na.create,hR=ar.create,gR=ta.create,mR=aa.create,fR=bt.create,wR=at.create,vR=Sn.create,CR=rr.create,AR=rt.create,td=Li.create,bR=Li.strictCreate,yR=ra.create,PR=Tl.create,jR=sa.create,SR=Gn.create,OR=xl.create,TR=sr.create,xR=or.create,MR=Ml.create,ER=oa.create,kR=la.create,qR=ua.create,_R=ca.create,HR=yt.create,IR=dn.create,RR=cn.create,zR=$n.create,DR=dn.createWithPreprocess,GR=vs.create,$R=()=>Fb().optional(),NR=()=>Vb().optional(),UR=()=>Jb().optional(),WR={string:(t=>At.create({...t,coerce:!0})),number:(t=>Xt.create({...t,coerce:!0})),boolean:(t=>ia.create({...t,coerce:!0})),bigint:(t=>ea.create({...t,coerce:!0})),date:(t=>na.create({...t,coerce:!0}))};var LR=Z;var Zb;function j(t,e,i){function n(o,l){if(o._zod||Object.defineProperty(o,"_zod",{value:{def:l,constr:s,traits:new Set},enumerable:!1}),o._zod.traits.has(t))return;o._zod.traits.add(t),e(o,l);let u=s.prototype,c=Object.keys(u);for(let p=0;pi?.Parent&&o instanceof i.Parent?!0:o?._zod?.traits?.has(t)}),Object.defineProperty(s,"name",{value:t}),s}var Nn=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},ur=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}};(Zb=globalThis).__zod_globalConfig??(Zb.__zod_globalConfig={});var cr=globalThis.__zod_globalConfig;function sn(t){return t&&Object.assign(cr,t),cr}var me={};Xp(me,{BIGINT_FORMAT_RANGES:()=>Yb,Class:()=>rd,NUMBER_FORMAT_RANGES:()=>dd,aborted:()=>St,allowsEval:()=>ld,assert:()=>KR,assertEqual:()=>FR,assertIs:()=>JR,assertNever:()=>ZR,assertNotEqual:()=>VR,assignProp:()=>Pt,base64ToUint8Array:()=>sy,base64urlToUint8Array:()=>oz,cached:()=>dr,captureStackTrace:()=>ql,cleanEnum:()=>sz,cleanRegex:()=>ys,clone:()=>on,cloneDef:()=>YR,createTransparentProxy:()=>az,defineLazy:()=>xe,esc:()=>kl,escapeRegex:()=>ot,explicitlyAborted:()=>hd,extend:()=>iy,finalizeIssue:()=>hn,floatSafeRemainder:()=>sd,getElementAtPath:()=>XR,getEnumValues:()=>As,getLengthableOrigin:()=>Ps,getParsedType:()=>tz,getSizableOrigin:()=>ry,hexToUint8Array:()=>uz,isObject:()=>ga,isPlainObject:()=>jt,issue:()=>hr,joinValues:()=>El,jsonStringifyReplacer:()=>pr,merge:()=>rz,mergeDefs:()=>st,normalizeParams:()=>V,nullish:()=>bs,numKeys:()=>nz,objectClone:()=>QR,omit:()=>ey,optionalKeys:()=>pd,parsedType:()=>gd,partial:()=>ty,pick:()=>Xb,prefixIssues:()=>lt,primitiveTypes:()=>Qb,promiseAllObject:()=>ez,propertyKeyTypes:()=>cd,randomString:()=>iz,required:()=>ay,safeExtend:()=>ny,shallowClone:()=>ud,slugify:()=>od,stringifyPrimitive:()=>_l,uint8ArrayToBase64:()=>oy,uint8ArrayToBase64url:()=>lz,uint8ArrayToHex:()=>cz,unwrapMessage:()=>Cs});function FR(t){return t}function VR(t){return t}function JR(t){}function ZR(t){throw new Error("Unexpected value in exhaustive check")}function KR(t){}function As(t){let e=Object.values(t).filter(n=>typeof n=="number");return Object.entries(t).filter(([n,a])=>e.indexOf(+n)===-1).map(([n,a])=>a)}function El(t,e="|"){return t.map(i=>_l(i)).join(e)}function pr(t,e){return typeof e=="bigint"?e.toString():e}function dr(t){return{get value(){{let i=t();return Object.defineProperty(this,"value",{value:i}),i}throw new Error("cached value already set")}}}function bs(t){return t==null}function ys(t){let e=t.startsWith("^")?1:0,i=t.endsWith("$")?t.length-1:t.length;return t.slice(e,i)}function sd(t,e){let i=t/e,n=Math.round(i),a=Number.EPSILON*Math.max(Math.abs(i),1);return Math.abs(i-n)i?.[n],t):t}function ez(t){let e=Object.keys(t),i=e.map(n=>t[n]);return Promise.all(i).then(n=>{let a={};for(let r=0;r{};function ga(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}var ld=dr(()=>{if(cr.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let t=Function;return new t(""),!0}catch{return!1}});function jt(t){if(ga(t)===!1)return!1;let e=t.constructor;if(e===void 0||typeof e!="function")return!0;let i=e.prototype;return!(ga(i)===!1||Object.prototype.hasOwnProperty.call(i,"isPrototypeOf")===!1)}function ud(t){return jt(t)?{...t}:Array.isArray(t)?[...t]:t instanceof Map?new Map(t):t instanceof Set?new Set(t):t}function nz(t){let e=0;for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&e++;return e}var tz=t=>{let e=typeof t;switch(e){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(t)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(t)?"array":t===null?"null":t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?"promise":typeof Map<"u"&&t instanceof Map?"map":typeof Set<"u"&&t instanceof Set?"set":typeof Date<"u"&&t instanceof Date?"date":typeof File<"u"&&t instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${e}`)}},cd=new Set(["string","number","symbol"]),Qb=new Set(["string","number","bigint","boolean","symbol","undefined"]);function ot(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function on(t,e,i){let n=new t._zod.constr(e??t._zod.def);return(!e||i?.parent)&&(n._zod.parent=t),n}function V(t){let e=t;if(!e)return{};if(typeof e=="string")return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");e.error=e.message}return delete e.message,typeof e.error=="string"?{...e,error:()=>e.error}:e}function az(t){let e;return new Proxy({},{get(i,n,a){return e??(e=t()),Reflect.get(e,n,a)},set(i,n,a,r){return e??(e=t()),Reflect.set(e,n,a,r)},has(i,n){return e??(e=t()),Reflect.has(e,n)},deleteProperty(i,n){return e??(e=t()),Reflect.deleteProperty(e,n)},ownKeys(i){return e??(e=t()),Reflect.ownKeys(e)},getOwnPropertyDescriptor(i,n){return e??(e=t()),Reflect.getOwnPropertyDescriptor(e,n)},defineProperty(i,n,a){return e??(e=t()),Reflect.defineProperty(e,n,a)}})}function _l(t){return typeof t=="bigint"?t.toString()+"n":typeof t=="string"?`"${t}"`:`${t}`}function pd(t){return Object.keys(t).filter(e=>t[e]._zod.optin==="optional"&&t[e]._zod.optout==="optional")}var dd={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Yb={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Xb(t,e){let i=t._zod.def,n=i.checks;if(n&&n.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let r=st(t._zod.def,{get shape(){let s={};for(let o in e){if(!(o in i.shape))throw new Error(`Unrecognized key: "${o}"`);e[o]&&(s[o]=i.shape[o])}return Pt(this,"shape",s),s},checks:[]});return on(t,r)}function ey(t,e){let i=t._zod.def,n=i.checks;if(n&&n.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let r=st(t._zod.def,{get shape(){let s={...t._zod.def.shape};for(let o in e){if(!(o in i.shape))throw new Error(`Unrecognized key: "${o}"`);e[o]&&delete s[o]}return Pt(this,"shape",s),s},checks:[]});return on(t,r)}function iy(t,e){if(!jt(e))throw new Error("Invalid input to extend: expected a plain object");let i=t._zod.def.checks;if(i&&i.length>0){let r=t._zod.def.shape;for(let s in e)if(Object.getOwnPropertyDescriptor(r,s)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let a=st(t._zod.def,{get shape(){let r={...t._zod.def.shape,...e};return Pt(this,"shape",r),r}});return on(t,a)}function ny(t,e){if(!jt(e))throw new Error("Invalid input to safeExtend: expected a plain object");let i=st(t._zod.def,{get shape(){let n={...t._zod.def.shape,...e};return Pt(this,"shape",n),n}});return on(t,i)}function rz(t,e){if(t._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let i=st(t._zod.def,{get shape(){let n={...t._zod.def.shape,...e._zod.def.shape};return Pt(this,"shape",n),n},get catchall(){return e._zod.def.catchall},checks:e._zod.def.checks??[]});return on(t,i)}function ty(t,e,i){let a=e._zod.def.checks;if(a&&a.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let s=st(e._zod.def,{get shape(){let o=e._zod.def.shape,l={...o};if(i)for(let u in i){if(!(u in o))throw new Error(`Unrecognized key: "${u}"`);i[u]&&(l[u]=t?new t({type:"optional",innerType:o[u]}):o[u])}else for(let u in o)l[u]=t?new t({type:"optional",innerType:o[u]}):o[u];return Pt(this,"shape",l),l},checks:[]});return on(e,s)}function ay(t,e,i){let n=st(e._zod.def,{get shape(){let a=e._zod.def.shape,r={...a};if(i)for(let s in i){if(!(s in r))throw new Error(`Unrecognized key: "${s}"`);i[s]&&(r[s]=new t({type:"nonoptional",innerType:a[s]}))}else for(let s in a)r[s]=new t({type:"nonoptional",innerType:a[s]});return Pt(this,"shape",r),r}});return on(e,n)}function St(t,e=0){if(t.aborted===!0)return!0;for(let i=e;i{var n;return(n=i).path??(n.path=[]),i.path.unshift(t),i})}function Cs(t){return typeof t=="string"?t:t?.message}function hn(t,e,i){let n=t.message?t.message:Cs(t.inst?._zod.def?.error?.(t))??Cs(e?.error?.(t))??Cs(i.customError?.(t))??Cs(i.localeError?.(t))??"Invalid input",{inst:a,continue:r,input:s,...o}=t;return o.path??(o.path=[]),o.message=n,e?.reportInput&&(o.input=s),o}function ry(t){return t instanceof Set?"set":t instanceof Map?"map":t instanceof File?"file":"unknown"}function Ps(t){return Array.isArray(t)?"array":typeof t=="string"?"string":"unknown"}function gd(t){let e=typeof t;switch(e){case"number":return Number.isNaN(t)?"nan":"number";case"object":{if(t===null)return"null";if(Array.isArray(t))return"array";let i=t;if(i&&Object.getPrototypeOf(i)!==Object.prototype&&"constructor"in i&&i.constructor)return i.constructor.name}}return e}function hr(...t){let[e,i,n]=t;return typeof e=="string"?{message:e,code:"custom",input:i,inst:n}:{...e}}function sz(t){return Object.entries(t).filter(([e,i])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function sy(t){let e=atob(t),i=new Uint8Array(e.length);for(let n=0;ne.toString(16).padStart(2,"0")).join("")}var rd=class{constructor(...e){}};var ly=(t,e)=>{t.name="$ZodError",Object.defineProperty(t,"_zod",{value:t._zod,enumerable:!1}),Object.defineProperty(t,"issues",{value:e,enumerable:!1}),t.message=JSON.stringify(e,pr,2),Object.defineProperty(t,"toString",{value:()=>t.message,enumerable:!1})},Hl=j("$ZodError",ly),js=j("$ZodError",ly,{Parent:Error});function uy(t,e=i=>i.message){let i={},n=[];for(let a of t.issues)a.path.length>0?(i[a.path[0]]=i[a.path[0]]||[],i[a.path[0]].push(e(a))):n.push(e(a));return{formErrors:n,fieldErrors:i}}function cy(t,e=i=>i.message){let i={_errors:[]},n=(a,r=[])=>{for(let s of a.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(o=>n({issues:o},[...r,...s.path]));else if(s.code==="invalid_key")n({issues:s.issues},[...r,...s.path]);else if(s.code==="invalid_element")n({issues:s.issues},[...r,...s.path]);else{let o=[...r,...s.path];if(o.length===0)i._errors.push(e(s));else{let l=i,u=0;for(;u(e,i,n,a)=>{let r=n?{...n,async:!1}:{async:!1},s=e._zod.run({value:i,issues:[]},r);if(s instanceof Promise)throw new Nn;if(s.issues.length){let o=new(a?.Err??t)(s.issues.map(l=>hn(l,r,sn())));throw ql(o,a?.callee),o}return s.value},Il=Ss(js),Os=t=>async(e,i,n,a)=>{let r=n?{...n,async:!0}:{async:!0},s=e._zod.run({value:i,issues:[]},r);if(s instanceof Promise&&(s=await s),s.issues.length){let o=new(a?.Err??t)(s.issues.map(l=>hn(l,r,sn())));throw ql(o,a?.callee),o}return s.value},Rl=Os(js),Ts=t=>(e,i,n)=>{let a=n?{...n,async:!1}:{async:!1},r=e._zod.run({value:i,issues:[]},a);if(r instanceof Promise)throw new Nn;return r.issues.length?{success:!1,error:new(t??Hl)(r.issues.map(s=>hn(s,a,sn())))}:{success:!0,data:r.value}},ma=Ts(js),xs=t=>async(e,i,n)=>{let a=n?{...n,async:!0}:{async:!0},r=e._zod.run({value:i,issues:[]},a);return r instanceof Promise&&(r=await r),r.issues.length?{success:!1,error:new t(r.issues.map(s=>hn(s,a,sn())))}:{success:!0,data:r.value}},fa=xs(js),py=t=>(e,i,n)=>{let a=n?{...n,direction:"backward"}:{direction:"backward"};return Ss(t)(e,i,a)};var dy=t=>(e,i,n)=>Ss(t)(e,i,n);var hy=t=>async(e,i,n)=>{let a=n?{...n,direction:"backward"}:{direction:"backward"};return Os(t)(e,i,a)};var gy=t=>async(e,i,n)=>Os(t)(e,i,n);var my=t=>(e,i,n)=>{let a=n?{...n,direction:"backward"}:{direction:"backward"};return Ts(t)(e,i,a)};var fy=t=>(e,i,n)=>Ts(t)(e,i,n);var wy=t=>async(e,i,n)=>{let a=n?{...n,direction:"backward"}:{direction:"backward"};return xs(t)(e,i,a)};var vy=t=>async(e,i,n)=>xs(t)(e,i,n);var Cy=/^[cC][0-9a-z]{6,}$/,Ay=/^[0-9a-z]+$/,by=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,yy=/^[0-9a-vA-V]{20}$/,Py=/^[A-Za-z0-9]{27}$/,jy=/^[a-zA-Z0-9_-]{21}$/,Sy=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;var Oy=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,md=t=>t?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${t}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;var Ty=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;var dz="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function xy(){return new RegExp(dz,"u")}var My=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Ey=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/;var ky=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,qy=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,_y=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,fd=/^[A-Za-z0-9_-]*$/;var Hy=/^https?$/,Iy=/^\+[1-9]\d{6,14}$/,Ry="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",zy=new RegExp(`^${Ry}$`);function Dy(t){let e="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof t.precision=="number"?t.precision===-1?`${e}`:t.precision===0?`${e}:[0-5]\\d`:`${e}:[0-5]\\d\\.\\d{${t.precision}}`:`${e}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Gy(t){return new RegExp(`^${Dy(t)}$`)}function $y(t){let e=Dy({precision:t.precision}),i=["Z"];t.local&&i.push(""),t.offset&&i.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let n=`${e}(?:${i.join("|")})`;return new RegExp(`^${Ry}T(?:${n})$`)}var Ny=t=>{let e=t?`[\\s\\S]{${t?.minimum??0},${t?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${e}$`)};var Uy=/^-?\d+$/,wd=/^-?\d+(?:\.\d+)?$/,Wy=/^(?:true|false)$/i,Ly=/^null$/i;var By=/^[^A-Z]*$/,Fy=/^[^a-z]*$/;var gi=j("$ZodCheck",(t,e)=>{var i;t._zod??(t._zod={}),t._zod.def=e,(i=t._zod).onattach??(i.onattach=[])}),Vy={number:"number",bigint:"bigint",object:"date"},vd=j("$ZodCheckLessThan",(t,e)=>{gi.init(t,e);let i=Vy[typeof e.value];t._zod.onattach.push(n=>{let a=n._zod.bag,r=(e.inclusive?a.maximum:a.exclusiveMaximum)??Number.POSITIVE_INFINITY;e.value{(e.inclusive?n.value<=e.value:n.value{gi.init(t,e);let i=Vy[typeof e.value];t._zod.onattach.push(n=>{let a=n._zod.bag,r=(e.inclusive?a.minimum:a.exclusiveMinimum)??Number.NEGATIVE_INFINITY;e.value>r&&(e.inclusive?a.minimum=e.value:a.exclusiveMinimum=e.value)}),t._zod.check=n=>{(e.inclusive?n.value>=e.value:n.value>e.value)||n.issues.push({origin:i,code:"too_small",minimum:typeof e.value=="object"?e.value.getTime():e.value,input:n.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),Jy=j("$ZodCheckMultipleOf",(t,e)=>{gi.init(t,e),t._zod.onattach.push(i=>{var n;(n=i._zod.bag).multipleOf??(n.multipleOf=e.value)}),t._zod.check=i=>{if(typeof i.value!=typeof e.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof i.value=="bigint"?i.value%e.value===BigInt(0):sd(i.value,e.value)===0)||i.issues.push({origin:typeof i.value,code:"not_multiple_of",divisor:e.value,input:i.value,inst:t,continue:!e.abort})}}),Zy=j("$ZodCheckNumberFormat",(t,e)=>{gi.init(t,e),e.format=e.format||"float64";let i=e.format?.includes("int"),n=i?"int":"number",[a,r]=dd[e.format];t._zod.onattach.push(s=>{let o=s._zod.bag;o.format=e.format,o.minimum=a,o.maximum=r,i&&(o.pattern=Uy)}),t._zod.check=s=>{let o=s.value;if(i){if(!Number.isInteger(o)){s.issues.push({expected:n,format:e.format,code:"invalid_type",continue:!1,input:o,inst:t});return}if(!Number.isSafeInteger(o)){o>0?s.issues.push({input:o,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:n,inclusive:!0,continue:!e.abort}):s.issues.push({input:o,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:n,inclusive:!0,continue:!e.abort});return}}or&&s.issues.push({origin:"number",input:o,code:"too_big",maximum:r,inclusive:!0,inst:t,continue:!e.abort})}});var Ky=j("$ZodCheckMaxLength",(t,e)=>{var i;gi.init(t,e),(i=t._zod.def).when??(i.when=n=>{let a=n.value;return!bs(a)&&a.length!==void 0}),t._zod.onattach.push(n=>{let a=n._zod.bag.maximum??Number.POSITIVE_INFINITY;e.maximum{let a=n.value;if(a.length<=e.maximum)return;let s=Ps(a);n.issues.push({origin:s,code:"too_big",maximum:e.maximum,inclusive:!0,input:a,inst:t,continue:!e.abort})}}),Qy=j("$ZodCheckMinLength",(t,e)=>{var i;gi.init(t,e),(i=t._zod.def).when??(i.when=n=>{let a=n.value;return!bs(a)&&a.length!==void 0}),t._zod.onattach.push(n=>{let a=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;e.minimum>a&&(n._zod.bag.minimum=e.minimum)}),t._zod.check=n=>{let a=n.value;if(a.length>=e.minimum)return;let s=Ps(a);n.issues.push({origin:s,code:"too_small",minimum:e.minimum,inclusive:!0,input:a,inst:t,continue:!e.abort})}}),Yy=j("$ZodCheckLengthEquals",(t,e)=>{var i;gi.init(t,e),(i=t._zod.def).when??(i.when=n=>{let a=n.value;return!bs(a)&&a.length!==void 0}),t._zod.onattach.push(n=>{let a=n._zod.bag;a.minimum=e.length,a.maximum=e.length,a.length=e.length}),t._zod.check=n=>{let a=n.value,r=a.length;if(r===e.length)return;let s=Ps(a),o=r>e.length;n.issues.push({origin:s,...o?{code:"too_big",maximum:e.length}:{code:"too_small",minimum:e.length},inclusive:!0,exact:!0,input:n.value,inst:t,continue:!e.abort})}}),Es=j("$ZodCheckStringFormat",(t,e)=>{var i,n;gi.init(t,e),t._zod.onattach.push(a=>{let r=a._zod.bag;r.format=e.format,e.pattern&&(r.patterns??(r.patterns=new Set),r.patterns.add(e.pattern))}),e.pattern?(i=t._zod).check??(i.check=a=>{e.pattern.lastIndex=0,!e.pattern.test(a.value)&&a.issues.push({origin:"string",code:"invalid_format",format:e.format,input:a.value,...e.pattern?{pattern:e.pattern.toString()}:{},inst:t,continue:!e.abort})}):(n=t._zod).check??(n.check=()=>{})}),Xy=j("$ZodCheckRegex",(t,e)=>{Es.init(t,e),t._zod.check=i=>{e.pattern.lastIndex=0,!e.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:"regex",input:i.value,pattern:e.pattern.toString(),inst:t,continue:!e.abort})}}),eP=j("$ZodCheckLowerCase",(t,e)=>{e.pattern??(e.pattern=By),Es.init(t,e)}),iP=j("$ZodCheckUpperCase",(t,e)=>{e.pattern??(e.pattern=Fy),Es.init(t,e)}),nP=j("$ZodCheckIncludes",(t,e)=>{gi.init(t,e);let i=ot(e.includes),n=new RegExp(typeof e.position=="number"?`^.{${e.position}}${i}`:i);e.pattern=n,t._zod.onattach.push(a=>{let r=a._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),t._zod.check=a=>{a.value.includes(e.includes,e.position)||a.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:e.includes,input:a.value,inst:t,continue:!e.abort})}}),tP=j("$ZodCheckStartsWith",(t,e)=>{gi.init(t,e);let i=new RegExp(`^${ot(e.prefix)}.*`);e.pattern??(e.pattern=i),t._zod.onattach.push(n=>{let a=n._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(i)}),t._zod.check=n=>{n.value.startsWith(e.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:e.prefix,input:n.value,inst:t,continue:!e.abort})}}),aP=j("$ZodCheckEndsWith",(t,e)=>{gi.init(t,e);let i=new RegExp(`.*${ot(e.suffix)}$`);e.pattern??(e.pattern=i),t._zod.onattach.push(n=>{let a=n._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(i)}),t._zod.check=n=>{n.value.endsWith(e.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:e.suffix,input:n.value,inst:t,continue:!e.abort})}});var rP=j("$ZodCheckOverwrite",(t,e)=>{gi.init(t,e),t._zod.check=i=>{i.value=e.tx(i.value)}});var zl=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e=="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let n=e.split(` +`).filter(s=>s),a=Math.min(...n.map(s=>s.length-s.trimStart().length)),r=n.map(s=>s.slice(a)).map(s=>" ".repeat(this.indent*2)+s);for(let s of r)this.content.push(s)}compile(){let e=Function,i=this?.args,a=[...(this?.content??[""]).map(r=>` ${r}`)];return new e(...i,a.join(` +`))}};var oP={major:4,minor:4,patch:3};var _e=j("$ZodType",(t,e)=>{var i;t??(t={}),t._zod.def=e,t._zod.bag=t._zod.bag||{},t._zod.version=oP;let n=[...t._zod.def.checks??[]];t._zod.traits.has("$ZodCheck")&&n.unshift(t);for(let a of n)for(let r of a._zod.onattach)r(t);if(n.length===0)(i=t._zod).deferred??(i.deferred=[]),t._zod.deferred?.push(()=>{t._zod.run=t._zod.parse});else{let a=(s,o,l)=>{let u=St(s),c;for(let p of o){if(p._zod.def.when){if(hd(s)||!p._zod.def.when(s))continue}else if(u)continue;let d=s.issues.length,h=p._zod.check(s);if(h instanceof Promise&&l?.async===!1)throw new Nn;if(c||h instanceof Promise)c=(c??Promise.resolve()).then(async()=>{await h,s.issues.length!==d&&(u||(u=St(s,d)))});else{if(s.issues.length===d)continue;u||(u=St(s,d))}}return c?c.then(()=>s):s},r=(s,o,l)=>{if(St(s))return s.aborted=!0,s;let u=a(o,n,l);if(u instanceof Promise){if(l.async===!1)throw new Nn;return u.then(c=>t._zod.parse(c,l))}return t._zod.parse(u,l)};t._zod.run=(s,o)=>{if(o.skipChecks)return t._zod.parse(s,o);if(o.direction==="backward"){let u=t._zod.parse({value:s.value,issues:[]},{...o,skipChecks:!0});return u instanceof Promise?u.then(c=>r(c,s,o)):r(u,s,o)}let l=t._zod.parse(s,o);if(l instanceof Promise){if(o.async===!1)throw new Nn;return l.then(u=>a(u,n,o))}return a(l,n,o)}}xe(t,"~standard",()=>({validate:a=>{try{let r=ma(t,a);return r.success?{value:r.data}:{issues:r.error?.issues}}catch{return fa(t,a).then(s=>s.success?{value:s.data}:{issues:s.error?.issues})}},vendor:"zod",version:1}))}),ks=j("$ZodString",(t,e)=>{_e.init(t,e),t._zod.pattern=[...t?._zod.bag?.patterns??[]].pop()??Ny(t._zod.bag),t._zod.parse=(i,n)=>{if(e.coerce)try{i.value=String(i.value)}catch{}return typeof i.value=="string"||i.issues.push({expected:"string",code:"invalid_type",input:i.value,inst:t}),i}}),ze=j("$ZodStringFormat",(t,e)=>{Es.init(t,e),ks.init(t,e)}),bd=j("$ZodGUID",(t,e)=>{e.pattern??(e.pattern=Oy),ze.init(t,e)}),yd=j("$ZodUUID",(t,e)=>{if(e.version){let n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[e.version];if(n===void 0)throw new Error(`Invalid UUID version: "${e.version}"`);e.pattern??(e.pattern=md(n))}else e.pattern??(e.pattern=md());ze.init(t,e)}),Pd=j("$ZodEmail",(t,e)=>{e.pattern??(e.pattern=Ty),ze.init(t,e)}),jd=j("$ZodURL",(t,e)=>{ze.init(t,e),t._zod.check=i=>{try{let n=i.value.trim();if(!e.normalize&&e.protocol?.source===Hy.source&&!/^https?:\/\//i.test(n)){i.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:i.value,inst:t,continue:!e.abort});return}let a=new URL(n);e.hostname&&(e.hostname.lastIndex=0,e.hostname.test(a.hostname)||i.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:e.hostname.source,input:i.value,inst:t,continue:!e.abort})),e.protocol&&(e.protocol.lastIndex=0,e.protocol.test(a.protocol.endsWith(":")?a.protocol.slice(0,-1):a.protocol)||i.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:e.protocol.source,input:i.value,inst:t,continue:!e.abort})),e.normalize?i.value=a.href:i.value=n;return}catch{i.issues.push({code:"invalid_format",format:"url",input:i.value,inst:t,continue:!e.abort})}}}),Sd=j("$ZodEmoji",(t,e)=>{e.pattern??(e.pattern=xy()),ze.init(t,e)}),Od=j("$ZodNanoID",(t,e)=>{e.pattern??(e.pattern=jy),ze.init(t,e)}),Td=j("$ZodCUID",(t,e)=>{e.pattern??(e.pattern=Cy),ze.init(t,e)}),xd=j("$ZodCUID2",(t,e)=>{e.pattern??(e.pattern=Ay),ze.init(t,e)}),Md=j("$ZodULID",(t,e)=>{e.pattern??(e.pattern=by),ze.init(t,e)}),Ed=j("$ZodXID",(t,e)=>{e.pattern??(e.pattern=yy),ze.init(t,e)}),kd=j("$ZodKSUID",(t,e)=>{e.pattern??(e.pattern=Py),ze.init(t,e)}),fP=j("$ZodISODateTime",(t,e)=>{e.pattern??(e.pattern=$y(e)),ze.init(t,e)}),wP=j("$ZodISODate",(t,e)=>{e.pattern??(e.pattern=zy),ze.init(t,e)}),vP=j("$ZodISOTime",(t,e)=>{e.pattern??(e.pattern=Gy(e)),ze.init(t,e)}),CP=j("$ZodISODuration",(t,e)=>{e.pattern??(e.pattern=Sy),ze.init(t,e)}),qd=j("$ZodIPv4",(t,e)=>{e.pattern??(e.pattern=My),ze.init(t,e),t._zod.bag.format="ipv4"}),_d=j("$ZodIPv6",(t,e)=>{e.pattern??(e.pattern=Ey),ze.init(t,e),t._zod.bag.format="ipv6",t._zod.check=i=>{try{new URL(`http://[${i.value}]`)}catch{i.issues.push({code:"invalid_format",format:"ipv6",input:i.value,inst:t,continue:!e.abort})}}});var Hd=j("$ZodCIDRv4",(t,e)=>{e.pattern??(e.pattern=ky),ze.init(t,e)}),Id=j("$ZodCIDRv6",(t,e)=>{e.pattern??(e.pattern=qy),ze.init(t,e),t._zod.check=i=>{let n=i.value.split("/");try{if(n.length!==2)throw new Error;let[a,r]=n;if(!r)throw new Error;let s=Number(r);if(`${s}`!==r)throw new Error;if(s<0||s>128)throw new Error;new URL(`http://[${a}]`)}catch{i.issues.push({code:"invalid_format",format:"cidrv6",input:i.value,inst:t,continue:!e.abort})}}});function AP(t){if(t==="")return!0;if(/\s/.test(t)||t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}var Rd=j("$ZodBase64",(t,e)=>{e.pattern??(e.pattern=_y),ze.init(t,e),t._zod.bag.contentEncoding="base64",t._zod.check=i=>{AP(i.value)||i.issues.push({code:"invalid_format",format:"base64",input:i.value,inst:t,continue:!e.abort})}});function hz(t){if(!fd.test(t))return!1;let e=t.replace(/[-_]/g,n=>n==="-"?"+":"/"),i=e.padEnd(Math.ceil(e.length/4)*4,"=");return AP(i)}var zd=j("$ZodBase64URL",(t,e)=>{e.pattern??(e.pattern=fd),ze.init(t,e),t._zod.bag.contentEncoding="base64url",t._zod.check=i=>{hz(i.value)||i.issues.push({code:"invalid_format",format:"base64url",input:i.value,inst:t,continue:!e.abort})}}),Dd=j("$ZodE164",(t,e)=>{e.pattern??(e.pattern=Iy),ze.init(t,e)});function gz(t,e=null){try{let i=t.split(".");if(i.length!==3)return!1;let[n]=i;if(!n)return!1;let a=JSON.parse(atob(n));return!("typ"in a&&a?.typ!=="JWT"||!a.alg||e&&(!("alg"in a)||a.alg!==e))}catch{return!1}}var Gd=j("$ZodJWT",(t,e)=>{ze.init(t,e),t._zod.check=i=>{gz(i.value,e.alg)||i.issues.push({code:"invalid_format",format:"jwt",input:i.value,inst:t,continue:!e.abort})}});var $l=j("$ZodNumber",(t,e)=>{_e.init(t,e),t._zod.pattern=t._zod.bag.pattern??wd,t._zod.parse=(i,n)=>{if(e.coerce)try{i.value=Number(i.value)}catch{}let a=i.value;if(typeof a=="number"&&!Number.isNaN(a)&&Number.isFinite(a))return i;let r=typeof a=="number"?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0;return i.issues.push({expected:"number",code:"invalid_type",input:a,inst:t,...r?{received:r}:{}}),i}}),$d=j("$ZodNumberFormat",(t,e)=>{Zy.init(t,e),$l.init(t,e)}),Nd=j("$ZodBoolean",(t,e)=>{_e.init(t,e),t._zod.pattern=Wy,t._zod.parse=(i,n)=>{if(e.coerce)try{i.value=!!i.value}catch{}let a=i.value;return typeof a=="boolean"||i.issues.push({expected:"boolean",code:"invalid_type",input:a,inst:t}),i}});var Ud=j("$ZodNull",(t,e)=>{_e.init(t,e),t._zod.pattern=Ly,t._zod.values=new Set([null]),t._zod.parse=(i,n)=>{let a=i.value;return a===null||i.issues.push({expected:"null",code:"invalid_type",input:a,inst:t}),i}});var Wd=j("$ZodUnknown",(t,e)=>{_e.init(t,e),t._zod.parse=i=>i}),Ld=j("$ZodNever",(t,e)=>{_e.init(t,e),t._zod.parse=(i,n)=>(i.issues.push({expected:"never",code:"invalid_type",input:i.value,inst:t}),i)});function lP(t,e,i){t.issues.length&&e.issues.push(...lt(i,t.issues)),e.value[i]=t.value}var Bd=j("$ZodArray",(t,e)=>{_e.init(t,e),t._zod.parse=(i,n)=>{let a=i.value;if(!Array.isArray(a))return i.issues.push({expected:"array",code:"invalid_type",input:a,inst:t}),i;i.value=Array(a.length);let r=[];for(let s=0;slP(u,i,s))):lP(l,i,s)}return r.length?Promise.all(r).then(()=>i):i}});function Gl(t,e,i,n,a,r){let s=i in n;if(t.issues.length){if(a&&r&&!s)return;e.issues.push(...lt(i,t.issues))}if(!s&&!a){t.issues.length||e.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[i]});return}t.value===void 0?s&&(e.value[i]=void 0):e.value[i]=t.value}function bP(t){let e=Object.keys(t.shape);for(let n of e)if(!t.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);let i=pd(t.shape);return{...t,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(i)}}function yP(t,e,i,n,a,r){let s=[],o=a.keySet,l=a.catchall._zod,u=l.def.type,c=l.optin==="optional",p=l.optout==="optional";for(let d in e){if(d==="__proto__"||o.has(d))continue;if(u==="never"){s.push(d);continue}let h=l.run({value:e[d],issues:[]},n);h instanceof Promise?t.push(h.then(g=>Gl(g,i,d,e,c,p))):Gl(h,i,d,e,c,p)}return s.length&&i.issues.push({code:"unrecognized_keys",keys:s,input:e,inst:r}),t.length?Promise.all(t).then(()=>i):i}var Fd=j("$ZodObject",(t,e)=>{if(_e.init(t,e),!Object.getOwnPropertyDescriptor(e,"shape")?.get){let o=e.shape;Object.defineProperty(e,"shape",{get:()=>{let l={...o};return Object.defineProperty(e,"shape",{value:l}),l}})}let n=dr(()=>bP(e));xe(t._zod,"propValues",()=>{let o=e.shape,l={};for(let u in o){let c=o[u]._zod;if(c.values){l[u]??(l[u]=new Set);for(let p of c.values)l[u].add(p)}}return l});let a=ga,r=e.catchall,s;t._zod.parse=(o,l)=>{s??(s=n.value);let u=o.value;if(!a(u))return o.issues.push({expected:"object",code:"invalid_type",input:u,inst:t}),o;o.value={};let c=[],p=s.shape;for(let d of s.keys){let h=p[d],g=h._zod.optin==="optional",m=h._zod.optout==="optional",f=h._zod.run({value:u[d],issues:[]},l);f instanceof Promise?c.push(f.then(w=>Gl(w,o,d,u,g,m))):Gl(f,o,d,u,g,m)}return r?yP(c,u,o,l,n.value,t):c.length?Promise.all(c).then(()=>o):o}}),PP=j("$ZodObjectJIT",(t,e)=>{Fd.init(t,e);let i=t._zod.parse,n=dr(()=>bP(e)),a=d=>{let h=new zl(["shape","payload","ctx"]),g=n.value,m=A=>{let y=kl(A);return`shape[${y}]._zod.run({ value: input[${y}], issues: [] }, ctx)`};h.write("const input = payload.value;");let f=Object.create(null),w=0;for(let A of g.keys)f[A]=`key_${w++}`;h.write("const newResult = {};");for(let A of g.keys){let y=f[A],O=kl(A),q=d[A],W=q?._zod?.optin==="optional",ie=q?._zod?.optout==="optional";h.write(`const ${y} = ${m(A)};`),W&&ie?h.write(` if (${y}.issues.length) { - if (${S} in input) { + if (${O} in input) { payload.issues = payload.issues.concat(${y}.issues.map(iss => ({ ...iss, - path: iss.path ? [${S}, ...iss.path] : [${S}] + path: iss.path ? [${O}, ...iss.path] : [${O}] }))); } } if (${y}.value === undefined) { - if (${S} in input) { - newResult[${S}] = undefined; + if (${O} in input) { + newResult[${O}] = undefined; } } else { - newResult[${S}] = ${y}.value; + newResult[${O}] = ${y}.value; } - `):N?d.write(` + `):W?h.write(` if (${y}.issues.length) { payload.issues = payload.issues.concat(${y}.issues.map(iss => ({ ...iss, - path: iss.path ? [${S}, ...iss.path] : [${S}] + path: iss.path ? [${O}, ...iss.path] : [${O}] }))); } if (${y}.value === undefined) { - if (${S} in input) { - newResult[${S}] = undefined; + if (${O} in input) { + newResult[${O}] = undefined; } } else { - newResult[${S}] = ${y}.value; + newResult[${O}] = ${y}.value; } - `):d.write(` - const ${y}_present = ${S} in input; + `):h.write(` + const ${y}_present = ${O} in input; if (${y}.issues.length) { payload.issues = payload.issues.concat(${y}.issues.map(iss => ({ ...iss, - path: iss.path ? [${S}, ...iss.path] : [${S}] + path: iss.path ? [${O}, ...iss.path] : [${O}] }))); } if (!${y}_present && !${y}.issues.length) { @@ -122,33 +119,33 @@ ${this.formatValue("Status",n)}${this.formatValue("Headers",this.formatHeaderStr code: "invalid_type", expected: "nonoptional", input: undefined, - path: [${S}] + path: [${O}] }); } if (${y}_present) { if (${y}.value === undefined) { - newResult[${S}] = undefined; + newResult[${O}] = undefined; } else { - newResult[${S}] = ${y}.value; + newResult[${O}] = ${y}.value; } } - `)}d.write("payload.value = newResult;"),d.write("return payload;");let b=d.compile();return(A,y)=>b(h,A,y)},r,s=ja,o=!jr.jitless,u=o&&Wd.value,c=e.catchall,p;t._zod.parse=(h,d)=>{p??(p=i.value);let g=h.value;return s(g)?o&&u&&d?.async===!1&&d.jitless!==!0?(r||(r=a(e.shape)),h=r(h,d),c?Oj([],g,h,d,p,t):h):n(h,d):(h.issues.push({expected:"object",code:"invalid_type",input:g,inst:t}),h)}});function hj(t,e,n,i){for(let r of t)if(r.issues.length===0)return e.value=r.value,e;let a=t.filter(r=>!qt(r));return a.length===1?(e.value=a[0].value,a[0]):(e.issues.push({code:"invalid_union",input:e.value,inst:n,errors:t.map(r=>r.issues.map(s=>mi(s,i,li())))}),e)}var hu=j("$ZodUnion",(t,e)=>{_e.init(t,e),Me(t._zod,"optin",()=>e.options.some(i=>i._zod.optin==="optional")?"optional":void 0),Me(t._zod,"optout",()=>e.options.some(i=>i._zod.optout==="optional")?"optional":void 0),Me(t._zod,"values",()=>{if(e.options.every(i=>i._zod.values))return new Set(e.options.flatMap(i=>Array.from(i._zod.values)))}),Me(t._zod,"pattern",()=>{if(e.options.every(i=>i._zod.pattern)){let i=e.options.map(a=>a._zod.pattern);return new RegExp(`^(${i.map(a=>Gs(a.source)).join("|")})$`)}});let n=e.options.length===1?e.options[0]._zod.run:null;t._zod.parse=(i,a)=>{if(n)return n(i,a);let r=!1,s=[];for(let o of e.options){let l=o._zod.run({value:i.value,issues:[]},a);if(l instanceof Promise)s.push(l),r=!0;else{if(l.issues.length===0)return l;s.push(l)}}return r?Promise.all(s).then(o=>hj(o,i,t,a)):hj(s,i,t,a)}});var Mh=j("$ZodDiscriminatedUnion",(t,e)=>{e.inclusive=!1,hu.init(t,e);let n=t._zod.parse;Me(t._zod,"propValues",()=>{let a={};for(let r of e.options){let s=r._zod.propValues;if(!s||Object.keys(s).length===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(r)}"`);for(let[o,l]of Object.entries(s)){a[o]||(a[o]=new Set);for(let u of l)a[o].add(u)}}return a});let i=Or(()=>{let a=e.options,r=new Map;for(let s of a){let o=s._zod.propValues?.[e.discriminator];if(!o||o.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(s)}"`);for(let l of o){if(r.has(l))throw new Error(`Duplicate discriminator value "${String(l)}"`);r.set(l,s)}}return r});t._zod.parse=(a,r)=>{let s=a.value;if(!ja(s))return a.issues.push({code:"invalid_type",expected:"object",input:s,inst:t}),a;let o=i.value.get(s?.[e.discriminator]);return o?o._zod.run(a,r):e.unionFallback||r.direction==="backward"?n(a,r):(a.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:e.discriminator,options:Array.from(i.value.keys()),input:s,path:[e.discriminator],inst:t}),a)}}),Eh=j("$ZodIntersection",(t,e)=>{_e.init(t,e),t._zod.parse=(n,i)=>{let a=n.value,r=e.left._zod.run({value:a,issues:[]},i),s=e.right._zod.run({value:a,issues:[]},i);return r instanceof Promise||s instanceof Promise?Promise.all([r,s]).then(([l,u])=>gj(n,l,u)):gj(n,r,s)}});function ih(t,e){if(t===e)return{valid:!0,data:t};if(t instanceof Date&&e instanceof Date&&+t==+e)return{valid:!0,data:t};if(kt(t)&&kt(e)){let n=Object.keys(e),i=Object.keys(t).filter(r=>n.indexOf(r)!==-1),a={...t,...e};for(let r of i){let s=ih(t[r],e[r]);if(!s.valid)return{valid:!1,mergeErrorPath:[r,...s.mergeErrorPath]};a[r]=s.data}return{valid:!0,data:a}}if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let i=0;io.l&&o.r).map(([o])=>o);if(r.length&&a&&t.issues.push({...a,keys:r}),qt(t))return t;let s=ih(e.value,n.value);if(!s.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(s.mergeErrorPath)}`);return t.value=s.data,t}var kh=j("$ZodRecord",(t,e)=>{_e.init(t,e),t._zod.parse=(n,i)=>{let a=n.value;if(!kt(a))return n.issues.push({expected:"record",code:"invalid_type",input:a,inst:t}),n;let r=[],s=e.keyType._zod.values;if(s){n.value={};let o=new Set;for(let u of s)if(typeof u=="string"||typeof u=="number"||typeof u=="symbol"){o.add(typeof u=="number"?u.toString():u);let c=e.keyType._zod.run({value:u,issues:[]},i);if(c instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(c.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:c.issues.map(d=>mi(d,i,li())),input:u,path:[u],inst:t});continue}let p=c.value,h=e.valueType._zod.run({value:a[u],issues:[]},i);h instanceof Promise?r.push(h.then(d=>{d.issues.length&&n.issues.push(...gt(u,d.issues)),n.value[p]=d.value})):(h.issues.length&&n.issues.push(...gt(u,h.issues)),n.value[p]=h.value)}let l;for(let u in a)o.has(u)||(l=l??[],l.push(u));l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:a,inst:t,keys:l})}else{n.value={};for(let o of Reflect.ownKeys(a)){if(o==="__proto__"||!Object.prototype.propertyIsEnumerable.call(a,o))continue;let l=e.keyType._zod.run({value:o,issues:[]},i);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof o=="string"&&Xd.test(o)&&l.issues.length){let p=e.keyType._zod.run({value:Number(o),issues:[]},i);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");p.issues.length===0&&(l=p)}if(l.issues.length){e.mode==="loose"?n.value[o]=a[o]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(p=>mi(p,i,li())),input:o,path:[o],inst:t});continue}let c=e.valueType._zod.run({value:a[o],issues:[]},i);c instanceof Promise?r.push(c.then(p=>{p.issues.length&&n.issues.push(...gt(o,p.issues)),n.value[l.value]=p.value})):(c.issues.length&&n.issues.push(...gt(o,c.issues)),n.value[l.value]=c.value)}}return r.length?Promise.all(r).then(()=>n):n}});var qh=j("$ZodEnum",(t,e)=>{_e.init(t,e);let n=zs(e.entries),i=new Set(n);t._zod.values=i,t._zod.pattern=new RegExp(`^(${n.filter(a=>Fd.has(typeof a)).map(a=>typeof a=="string"?ht(a):a.toString()).join("|")})$`),t._zod.parse=(a,r)=>{let s=a.value;return i.has(s)||a.issues.push({code:"invalid_value",values:n,input:s,inst:t}),a}}),_h=j("$ZodLiteral",(t,e)=>{if(_e.init(t,e),e.values.length===0)throw new Error("Cannot create literal schema with no valid values");let n=new Set(e.values);t._zod.values=n,t._zod.pattern=new RegExp(`^(${e.values.map(i=>typeof i=="string"?ht(i):i?ht(i.toString()):String(i)).join("|")})$`),t._zod.parse=(i,a)=>{let r=i.value;return n.has(r)||i.issues.push({code:"invalid_value",values:e.values,input:r,inst:t}),i}});var Hh=j("$ZodTransform",(t,e)=>{_e.init(t,e),t._zod.optin="optional",t._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Pr(t.constructor.name);let a=e.transform(n.value,n);if(i.async)return(a instanceof Promise?a:Promise.resolve(a)).then(s=>(n.value=s,n.fallback=!0,n));if(a instanceof Promise)throw new Li;return n.value=a,n.fallback=!0,n}});function mj(t,e){return e===void 0&&(t.issues.length||t.fallback)?{issues:[],value:void 0}:t}var gu=j("$ZodOptional",(t,e)=>{_e.init(t,e),t._zod.optin="optional",t._zod.optout="optional",Me(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,void 0]):void 0),Me(t._zod,"pattern",()=>{let n=e.innerType._zod.pattern;return n?new RegExp(`^(${Gs(n.source)})?$`):void 0}),t._zod.parse=(n,i)=>{if(e.innerType._zod.optin==="optional"){let a=n.value,r=e.innerType._zod.run(n,i);return r instanceof Promise?r.then(s=>mj(s,a)):mj(r,a)}return n.value===void 0?n:e.innerType._zod.run(n,i)}}),Ih=j("$ZodExactOptional",(t,e)=>{gu.init(t,e),Me(t._zod,"values",()=>e.innerType._zod.values),Me(t._zod,"pattern",()=>e.innerType._zod.pattern),t._zod.parse=(n,i)=>e.innerType._zod.run(n,i)}),Rh=j("$ZodNullable",(t,e)=>{_e.init(t,e),Me(t._zod,"optin",()=>e.innerType._zod.optin),Me(t._zod,"optout",()=>e.innerType._zod.optout),Me(t._zod,"pattern",()=>{let n=e.innerType._zod.pattern;return n?new RegExp(`^(${Gs(n.source)}|null)$`):void 0}),Me(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,null]):void 0),t._zod.parse=(n,i)=>n.value===null?n:e.innerType._zod.run(n,i)}),zh=j("$ZodDefault",(t,e)=>{_e.init(t,e),t._zod.optin="optional",Me(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,i)=>{if(i.direction==="backward")return e.innerType._zod.run(n,i);if(n.value===void 0)return n.value=e.defaultValue,n;let a=e.innerType._zod.run(n,i);return a instanceof Promise?a.then(r=>fj(r,e)):fj(a,e)}});function fj(t,e){return t.value===void 0&&(t.value=e.defaultValue),t}var Dh=j("$ZodPrefault",(t,e)=>{_e.init(t,e),t._zod.optin="optional",Me(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,i)=>(i.direction==="backward"||n.value===void 0&&(n.value=e.defaultValue),e.innerType._zod.run(n,i))}),Gh=j("$ZodNonOptional",(t,e)=>{_e.init(t,e),Me(t._zod,"values",()=>{let n=e.innerType._zod.values;return n?new Set([...n].filter(i=>i!==void 0)):void 0}),t._zod.parse=(n,i)=>{let a=e.innerType._zod.run(n,i);return a instanceof Promise?a.then(r=>wj(r,t)):wj(a,t)}});function wj(t,e){return!t.issues.length&&t.value===void 0&&t.issues.push({code:"invalid_type",expected:"nonoptional",input:t.value,inst:e}),t}var $h=j("$ZodCatch",(t,e)=>{_e.init(t,e),t._zod.optin="optional",Me(t._zod,"optout",()=>e.innerType._zod.optout),Me(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,i)=>{if(i.direction==="backward")return e.innerType._zod.run(n,i);let a=e.innerType._zod.run(n,i);return a instanceof Promise?a.then(r=>(n.value=r.value,r.issues.length&&(n.value=e.catchValue({...n,error:{issues:r.issues.map(s=>mi(s,i,li()))},input:n.value}),n.issues=[],n.fallback=!0),n)):(n.value=a.value,a.issues.length&&(n.value=e.catchValue({...n,error:{issues:a.issues.map(r=>mi(r,i,li()))},input:n.value}),n.issues=[],n.fallback=!0),n)}});var mu=j("$ZodPipe",(t,e)=>{_e.init(t,e),Me(t._zod,"values",()=>e.in._zod.values),Me(t._zod,"optin",()=>e.in._zod.optin),Me(t._zod,"optout",()=>e.out._zod.optout),Me(t._zod,"propValues",()=>e.in._zod.propValues),t._zod.parse=(n,i)=>{if(i.direction==="backward"){let r=e.out._zod.run(n,i);return r instanceof Promise?r.then(s=>cu(s,e.in,i)):cu(r,e.in,i)}let a=e.in._zod.run(n,i);return a instanceof Promise?a.then(r=>cu(r,e.out,i)):cu(a,e.out,i)}});function cu(t,e,n){return t.issues.length?(t.aborted=!0,t):e._zod.run({value:t.value,issues:t.issues,fallback:t.fallback},n)}var Tj=j("$ZodPreprocess",(t,e)=>{mu.init(t,e)}),Nh=j("$ZodReadonly",(t,e)=>{_e.init(t,e),Me(t._zod,"propValues",()=>e.innerType._zod.propValues),Me(t._zod,"values",()=>e.innerType._zod.values),Me(t._zod,"optin",()=>e.innerType?._zod?.optin),Me(t._zod,"optout",()=>e.innerType?._zod?.optout),t._zod.parse=(n,i)=>{if(i.direction==="backward")return e.innerType._zod.run(n,i);let a=e.innerType._zod.run(n,i);return a instanceof Promise?a.then(vj):vj(a)}});function vj(t){return t.value=Object.freeze(t.value),t}var Uh=j("$ZodCustom",(t,e)=>{vn.init(t,e),_e.init(t,e),t._zod.parse=(n,i)=>n,t._zod.check=n=>{let i=n.value,a=e.fn(i);if(a instanceof Promise)return a.then(r=>Cj(r,n,i,t));Cj(a,n,i,t)}});function Cj(t,e,n,i){if(!t){let a={code:"custom",input:n,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(a.params=i._zod.def.params),e.issues.push(xr(a))}}var p1=()=>{let t={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function e(a){return t[a]??null}let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return a=>{switch(a.code){case"invalid_type":{let r=i[a.expected]??a.expected,s=Kd(a.input),o=i[s]??s;return`Invalid input: expected ${r}, received ${o}`}case"invalid_value":return a.values.length===1?`Invalid input: expected ${ru(a.values[0])}`:`Invalid option: expected one of ${iu(a.values,"|")}`;case"too_big":{let r=a.inclusive?"<=":"<",s=e(a.origin);return s?`Too big: expected ${a.origin??"value"} to have ${r}${a.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${a.origin??"value"} to be ${r}${a.maximum.toString()}`}case"too_small":{let r=a.inclusive?">=":">",s=e(a.origin);return s?`Too small: expected ${a.origin} to have ${r}${a.minimum.toString()} ${s.unit}`:`Too small: expected ${a.origin} to be ${r}${a.minimum.toString()}`}case"invalid_format":{let r=a;return r.format==="starts_with"?`Invalid string: must start with "${r.prefix}"`:r.format==="ends_with"?`Invalid string: must end with "${r.suffix}"`:r.format==="includes"?`Invalid string: must include "${r.includes}"`:r.format==="regex"?`Invalid string: must match pattern ${r.pattern}`:`Invalid ${n[r.format]??a.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${a.divisor}`;case"unrecognized_keys":return`Unrecognized key${a.keys.length>1?"s":""}: ${iu(a.keys,", ")}`;case"invalid_key":return`Invalid key in ${a.origin}`;case"invalid_union":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Invalid discriminator value. Expected ${a.options.map(s=>`'${s}'`).join(" | ")}`:"Invalid input";case"invalid_element":return`Invalid value in ${a.origin}`;default:return"Invalid input"}}};function Mj(){return{localeError:p1()}}var Ej,aie=Symbol("ZodOutput"),rie=Symbol("ZodInput"),Lh=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...n){let i=n[0];return this._map.set(e,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let n=this._map.get(e);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(e),this}get(e){let n=e._zod.parent;if(n){let i={...this.get(n)??{}};delete i.id;let a={...i,...this._map.get(e)};return Object.keys(a).length?a:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function d1(){return new Lh}(Ej=globalThis).__zod_globalRegistry??(Ej.__zod_globalRegistry=d1());var xa=globalThis.__zod_globalRegistry;function Wh(t,e){return new t({type:"string",...J(e)})}function Bh(t,e){return new t({type:"string",format:"email",check:"string_format",abort:!1,...J(e)})}function fu(t,e){return new t({type:"string",format:"guid",check:"string_format",abort:!1,...J(e)})}function Fh(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,...J(e)})}function Vh(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...J(e)})}function Jh(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...J(e)})}function Zh(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...J(e)})}function Kh(t,e){return new t({type:"string",format:"url",check:"string_format",abort:!1,...J(e)})}function Qh(t,e){return new t({type:"string",format:"emoji",check:"string_format",abort:!1,...J(e)})}function Yh(t,e){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,...J(e)})}function Xh(t,e){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,...J(e)})}function eg(t,e){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,...J(e)})}function ng(t,e){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,...J(e)})}function ig(t,e){return new t({type:"string",format:"xid",check:"string_format",abort:!1,...J(e)})}function tg(t,e){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,...J(e)})}function ag(t,e){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,...J(e)})}function rg(t,e){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,...J(e)})}function sg(t,e){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,...J(e)})}function og(t,e){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,...J(e)})}function lg(t,e){return new t({type:"string",format:"base64",check:"string_format",abort:!1,...J(e)})}function ug(t,e){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,...J(e)})}function cg(t,e){return new t({type:"string",format:"e164",check:"string_format",abort:!1,...J(e)})}function pg(t,e){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,...J(e)})}function kj(t,e){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...J(e)})}function qj(t,e){return new t({type:"string",format:"date",check:"string_format",...J(e)})}function _j(t,e){return new t({type:"string",format:"time",check:"string_format",precision:null,...J(e)})}function Hj(t,e){return new t({type:"string",format:"duration",check:"string_format",...J(e)})}function dg(t,e){return new t({type:"number",checks:[],...J(e)})}function hg(t,e){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",...J(e)})}function gg(t,e){return new t({type:"boolean",...J(e)})}function mg(t,e){return new t({type:"null",...J(e)})}function fg(t){return new t({type:"unknown"})}function wg(t,e){return new t({type:"never",...J(e)})}function wu(t,e){return new eh({check:"less_than",...J(e),value:t,inclusive:!1})}function Zs(t,e){return new eh({check:"less_than",...J(e),value:t,inclusive:!0})}function vu(t,e){return new nh({check:"greater_than",...J(e),value:t,inclusive:!1})}function Ks(t,e){return new nh({check:"greater_than",...J(e),value:t,inclusive:!0})}function Cu(t,e){return new YP({check:"multiple_of",...J(e),value:t})}function Au(t,e){return new ej({check:"max_length",...J(e),maximum:t})}function Tr(t,e){return new nj({check:"min_length",...J(e),minimum:t})}function bu(t,e){return new ij({check:"length_equals",...J(e),length:t})}function vg(t,e){return new tj({check:"string_format",format:"regex",...J(e),pattern:t})}function Cg(t){return new aj({check:"string_format",format:"lowercase",...J(t)})}function Ag(t){return new rj({check:"string_format",format:"uppercase",...J(t)})}function bg(t,e){return new sj({check:"string_format",format:"includes",...J(e),includes:t})}function yg(t,e){return new oj({check:"string_format",format:"starts_with",...J(e),prefix:t})}function Pg(t,e){return new lj({check:"string_format",format:"ends_with",...J(e),suffix:t})}function _t(t){return new uj({check:"overwrite",tx:t})}function jg(t){return _t(e=>e.normalize(t))}function Sg(){return _t(t=>t.trim())}function Og(){return _t(t=>t.toLowerCase())}function xg(){return _t(t=>t.toUpperCase())}function Tg(){return _t(t=>Ld(t))}function Ij(t,e,n){return new t({type:"array",element:e,...J(n)})}function Mg(t,e,n){let i=J(n);return i.abort??(i.abort=!0),new t({type:"custom",check:"custom",fn:e,...i})}function Eg(t,e,n){return new t({type:"custom",check:"custom",fn:e,...J(n)})}function kg(t,e){let n=h1(i=>(i.addIssue=a=>{if(typeof a=="string")i.issues.push(xr(a,i.value,n._zod.def));else{let r=a;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=i.value),r.inst??(r.inst=n),r.continue??(r.continue=!n._zod.def.abort),i.issues.push(xr(r))}},t(i.value,i)),e);return n}function h1(t,e){let n=new vn({check:"custom",...J(e)});return n._zod.check=t,n}function Ys(t){let e=t?.target??"draft-2020-12";return e==="draft-4"&&(e="draft-04"),e==="draft-7"&&(e="draft-07"),{processors:t.processors??{},metadataRegistry:t?.metadata??xa,target:e,unrepresentable:t?.unrepresentable??"throw",override:t?.override??(()=>{}),io:t?.io??"output",counter:0,seen:new Map,cycles:t?.cycles??"ref",reused:t?.reused??"inline",external:t?.external??void 0}}function He(t,e,n={path:[],schemaPath:[]}){var i;let a=t._zod.def,r=e.seen.get(t);if(r)return r.count++,n.schemaPath.includes(t)&&(r.cycle=n.path),r.schema;let s={schema:{},count:1,cycle:void 0,path:n.path};e.seen.set(t,s);let o=t._zod.toJSONSchema?.();if(o)s.schema=o;else{let c={...n,schemaPath:[...n.schemaPath,t],path:n.path};if(t._zod.processJSONSchema)t._zod.processJSONSchema(e,s.schema,c);else{let h=s.schema,d=e.processors[a.type];if(!d)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`);d(t,e,h,c)}let p=t._zod.parent;p&&(s.ref||(s.ref=p),He(p,e,c),e.seen.get(p).isParent=!0)}let l=e.metadataRegistry.get(t);return l&&Object.assign(s.schema,l),e.io==="input"&&Dn(t)&&(delete s.schema.examples,delete s.schema.default),e.io==="input"&&"_prefault"in s.schema&&((i=s.schema).default??(i.default=s.schema._prefault)),delete s.schema._prefault,e.seen.get(t).schema}function Xs(t,e){let n=t.seen.get(e);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=new Map;for(let s of t.seen.entries()){let o=t.metadataRegistry.get(s[0])?.id;if(o){let l=i.get(o);if(l&&l!==s[0])throw new Error(`Duplicate schema id "${o}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(o,s[0])}}let a=s=>{let o=t.target==="draft-2020-12"?"$defs":"definitions";if(t.external){let p=t.external.registry.get(s[0])?.id,h=t.external.uri??(g=>g);if(p)return{ref:h(p)};let d=s[1].defId??s[1].schema.id??`schema${t.counter++}`;return s[1].defId=d,{defId:d,ref:`${h("__shared")}#/${o}/${d}`}}if(s[1]===n)return{ref:"#"};let u=`#/${o}/`,c=s[1].schema.id??`__schema${t.counter++}`;return{defId:c,ref:u+c}},r=s=>{if(s[1].schema.$ref)return;let o=s[1],{ref:l,defId:u}=a(s);o.def={...o.schema},u&&(o.defId=u);let c=o.schema;for(let p in c)delete c[p];c.$ref=l};if(t.cycles==="throw")for(let s of t.seen.entries()){let o=s[1];if(o.cycle)throw new Error(`Cycle detected: #/${o.cycle?.join("/")}/ + `)}h.write("payload.value = newResult;"),h.write("return payload;");let b=h.compile();return(A,y)=>b(d,A,y)},r,s=ga,o=!cr.jitless,u=o&&ld.value,c=e.catchall,p;t._zod.parse=(d,h)=>{p??(p=n.value);let g=d.value;return s(g)?o&&u&&h?.async===!1&&h.jitless!==!0?(r||(r=a(e.shape)),d=r(d,h),c?yP([],g,d,h,p,t):d):i(d,h):(d.issues.push({expected:"object",code:"invalid_type",input:g,inst:t}),d)}});function uP(t,e,i,n){for(let r of t)if(r.issues.length===0)return e.value=r.value,e;let a=t.filter(r=>!St(r));return a.length===1?(e.value=a[0].value,a[0]):(e.issues.push({code:"invalid_union",input:e.value,inst:i,errors:t.map(r=>r.issues.map(s=>hn(s,n,sn())))}),e)}var Nl=j("$ZodUnion",(t,e)=>{_e.init(t,e),xe(t._zod,"optin",()=>e.options.some(n=>n._zod.optin==="optional")?"optional":void 0),xe(t._zod,"optout",()=>e.options.some(n=>n._zod.optout==="optional")?"optional":void 0),xe(t._zod,"values",()=>{if(e.options.every(n=>n._zod.values))return new Set(e.options.flatMap(n=>Array.from(n._zod.values)))}),xe(t._zod,"pattern",()=>{if(e.options.every(n=>n._zod.pattern)){let n=e.options.map(a=>a._zod.pattern);return new RegExp(`^(${n.map(a=>ys(a.source)).join("|")})$`)}});let i=e.options.length===1?e.options[0]._zod.run:null;t._zod.parse=(n,a)=>{if(i)return i(n,a);let r=!1,s=[];for(let o of e.options){let l=o._zod.run({value:n.value,issues:[]},a);if(l instanceof Promise)s.push(l),r=!0;else{if(l.issues.length===0)return l;s.push(l)}}return r?Promise.all(s).then(o=>uP(o,n,t,a)):uP(s,n,t,a)}});var Vd=j("$ZodDiscriminatedUnion",(t,e)=>{e.inclusive=!1,Nl.init(t,e);let i=t._zod.parse;xe(t._zod,"propValues",()=>{let a={};for(let r of e.options){let s=r._zod.propValues;if(!s||Object.keys(s).length===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(r)}"`);for(let[o,l]of Object.entries(s)){a[o]||(a[o]=new Set);for(let u of l)a[o].add(u)}}return a});let n=dr(()=>{let a=e.options,r=new Map;for(let s of a){let o=s._zod.propValues?.[e.discriminator];if(!o||o.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(s)}"`);for(let l of o){if(r.has(l))throw new Error(`Duplicate discriminator value "${String(l)}"`);r.set(l,s)}}return r});t._zod.parse=(a,r)=>{let s=a.value;if(!ga(s))return a.issues.push({code:"invalid_type",expected:"object",input:s,inst:t}),a;let o=n.value.get(s?.[e.discriminator]);return o?o._zod.run(a,r):e.unionFallback||r.direction==="backward"?i(a,r):(a.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:e.discriminator,options:Array.from(n.value.keys()),input:s,path:[e.discriminator],inst:t}),a)}}),Jd=j("$ZodIntersection",(t,e)=>{_e.init(t,e),t._zod.parse=(i,n)=>{let a=i.value,r=e.left._zod.run({value:a,issues:[]},n),s=e.right._zod.run({value:a,issues:[]},n);return r instanceof Promise||s instanceof Promise?Promise.all([r,s]).then(([l,u])=>cP(i,l,u)):cP(i,r,s)}});function Ad(t,e){if(t===e)return{valid:!0,data:t};if(t instanceof Date&&e instanceof Date&&+t==+e)return{valid:!0,data:t};if(jt(t)&&jt(e)){let i=Object.keys(e),n=Object.keys(t).filter(r=>i.indexOf(r)!==-1),a={...t,...e};for(let r of n){let s=Ad(t[r],e[r]);if(!s.valid)return{valid:!1,mergeErrorPath:[r,...s.mergeErrorPath]};a[r]=s.data}return{valid:!0,data:a}}if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return{valid:!1,mergeErrorPath:[]};let i=[];for(let n=0;no.l&&o.r).map(([o])=>o);if(r.length&&a&&t.issues.push({...a,keys:r}),St(t))return t;let s=Ad(e.value,i.value);if(!s.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(s.mergeErrorPath)}`);return t.value=s.data,t}var Zd=j("$ZodRecord",(t,e)=>{_e.init(t,e),t._zod.parse=(i,n)=>{let a=i.value;if(!jt(a))return i.issues.push({expected:"record",code:"invalid_type",input:a,inst:t}),i;let r=[],s=e.keyType._zod.values;if(s){i.value={};let o=new Set;for(let u of s)if(typeof u=="string"||typeof u=="number"||typeof u=="symbol"){o.add(typeof u=="number"?u.toString():u);let c=e.keyType._zod.run({value:u,issues:[]},n);if(c instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(c.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:c.issues.map(h=>hn(h,n,sn())),input:u,path:[u],inst:t});continue}let p=c.value,d=e.valueType._zod.run({value:a[u],issues:[]},n);d instanceof Promise?r.push(d.then(h=>{h.issues.length&&i.issues.push(...lt(u,h.issues)),i.value[p]=h.value})):(d.issues.length&&i.issues.push(...lt(u,d.issues)),i.value[p]=d.value)}let l;for(let u in a)o.has(u)||(l=l??[],l.push(u));l&&l.length>0&&i.issues.push({code:"unrecognized_keys",input:a,inst:t,keys:l})}else{i.value={};for(let o of Reflect.ownKeys(a)){if(o==="__proto__"||!Object.prototype.propertyIsEnumerable.call(a,o))continue;let l=e.keyType._zod.run({value:o,issues:[]},n);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof o=="string"&&wd.test(o)&&l.issues.length){let p=e.keyType._zod.run({value:Number(o),issues:[]},n);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");p.issues.length===0&&(l=p)}if(l.issues.length){e.mode==="loose"?i.value[o]=a[o]:i.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(p=>hn(p,n,sn())),input:o,path:[o],inst:t});continue}let c=e.valueType._zod.run({value:a[o],issues:[]},n);c instanceof Promise?r.push(c.then(p=>{p.issues.length&&i.issues.push(...lt(o,p.issues)),i.value[l.value]=p.value})):(c.issues.length&&i.issues.push(...lt(o,c.issues)),i.value[l.value]=c.value)}}return r.length?Promise.all(r).then(()=>i):i}});var Kd=j("$ZodEnum",(t,e)=>{_e.init(t,e);let i=As(e.entries),n=new Set(i);t._zod.values=n,t._zod.pattern=new RegExp(`^(${i.filter(a=>cd.has(typeof a)).map(a=>typeof a=="string"?ot(a):a.toString()).join("|")})$`),t._zod.parse=(a,r)=>{let s=a.value;return n.has(s)||a.issues.push({code:"invalid_value",values:i,input:s,inst:t}),a}}),Qd=j("$ZodLiteral",(t,e)=>{if(_e.init(t,e),e.values.length===0)throw new Error("Cannot create literal schema with no valid values");let i=new Set(e.values);t._zod.values=i,t._zod.pattern=new RegExp(`^(${e.values.map(n=>typeof n=="string"?ot(n):n?ot(n.toString()):String(n)).join("|")})$`),t._zod.parse=(n,a)=>{let r=n.value;return i.has(r)||n.issues.push({code:"invalid_value",values:e.values,input:r,inst:t}),n}});var Yd=j("$ZodTransform",(t,e)=>{_e.init(t,e),t._zod.optin="optional",t._zod.parse=(i,n)=>{if(n.direction==="backward")throw new ur(t.constructor.name);let a=e.transform(i.value,i);if(n.async)return(a instanceof Promise?a:Promise.resolve(a)).then(s=>(i.value=s,i.fallback=!0,i));if(a instanceof Promise)throw new Nn;return i.value=a,i.fallback=!0,i}});function pP(t,e){return e===void 0&&(t.issues.length||t.fallback)?{issues:[],value:void 0}:t}var Ul=j("$ZodOptional",(t,e)=>{_e.init(t,e),t._zod.optin="optional",t._zod.optout="optional",xe(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,void 0]):void 0),xe(t._zod,"pattern",()=>{let i=e.innerType._zod.pattern;return i?new RegExp(`^(${ys(i.source)})?$`):void 0}),t._zod.parse=(i,n)=>{if(e.innerType._zod.optin==="optional"){let a=i.value,r=e.innerType._zod.run(i,n);return r instanceof Promise?r.then(s=>pP(s,a)):pP(r,a)}return i.value===void 0?i:e.innerType._zod.run(i,n)}}),Xd=j("$ZodExactOptional",(t,e)=>{Ul.init(t,e),xe(t._zod,"values",()=>e.innerType._zod.values),xe(t._zod,"pattern",()=>e.innerType._zod.pattern),t._zod.parse=(i,n)=>e.innerType._zod.run(i,n)}),eh=j("$ZodNullable",(t,e)=>{_e.init(t,e),xe(t._zod,"optin",()=>e.innerType._zod.optin),xe(t._zod,"optout",()=>e.innerType._zod.optout),xe(t._zod,"pattern",()=>{let i=e.innerType._zod.pattern;return i?new RegExp(`^(${ys(i.source)}|null)$`):void 0}),xe(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,null]):void 0),t._zod.parse=(i,n)=>i.value===null?i:e.innerType._zod.run(i,n)}),ih=j("$ZodDefault",(t,e)=>{_e.init(t,e),t._zod.optin="optional",xe(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(i,n)=>{if(n.direction==="backward")return e.innerType._zod.run(i,n);if(i.value===void 0)return i.value=e.defaultValue,i;let a=e.innerType._zod.run(i,n);return a instanceof Promise?a.then(r=>dP(r,e)):dP(a,e)}});function dP(t,e){return t.value===void 0&&(t.value=e.defaultValue),t}var nh=j("$ZodPrefault",(t,e)=>{_e.init(t,e),t._zod.optin="optional",xe(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(i,n)=>(n.direction==="backward"||i.value===void 0&&(i.value=e.defaultValue),e.innerType._zod.run(i,n))}),th=j("$ZodNonOptional",(t,e)=>{_e.init(t,e),xe(t._zod,"values",()=>{let i=e.innerType._zod.values;return i?new Set([...i].filter(n=>n!==void 0)):void 0}),t._zod.parse=(i,n)=>{let a=e.innerType._zod.run(i,n);return a instanceof Promise?a.then(r=>hP(r,t)):hP(a,t)}});function hP(t,e){return!t.issues.length&&t.value===void 0&&t.issues.push({code:"invalid_type",expected:"nonoptional",input:t.value,inst:e}),t}var ah=j("$ZodCatch",(t,e)=>{_e.init(t,e),t._zod.optin="optional",xe(t._zod,"optout",()=>e.innerType._zod.optout),xe(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(i,n)=>{if(n.direction==="backward")return e.innerType._zod.run(i,n);let a=e.innerType._zod.run(i,n);return a instanceof Promise?a.then(r=>(i.value=r.value,r.issues.length&&(i.value=e.catchValue({...i,error:{issues:r.issues.map(s=>hn(s,n,sn()))},input:i.value}),i.issues=[],i.fallback=!0),i)):(i.value=a.value,a.issues.length&&(i.value=e.catchValue({...i,error:{issues:a.issues.map(r=>hn(r,n,sn()))},input:i.value}),i.issues=[],i.fallback=!0),i)}});var Wl=j("$ZodPipe",(t,e)=>{_e.init(t,e),xe(t._zod,"values",()=>e.in._zod.values),xe(t._zod,"optin",()=>e.in._zod.optin),xe(t._zod,"optout",()=>e.out._zod.optout),xe(t._zod,"propValues",()=>e.in._zod.propValues),t._zod.parse=(i,n)=>{if(n.direction==="backward"){let r=e.out._zod.run(i,n);return r instanceof Promise?r.then(s=>Dl(s,e.in,n)):Dl(r,e.in,n)}let a=e.in._zod.run(i,n);return a instanceof Promise?a.then(r=>Dl(r,e.out,n)):Dl(a,e.out,n)}});function Dl(t,e,i){return t.issues.length?(t.aborted=!0,t):e._zod.run({value:t.value,issues:t.issues,fallback:t.fallback},i)}var jP=j("$ZodPreprocess",(t,e)=>{Wl.init(t,e)}),rh=j("$ZodReadonly",(t,e)=>{_e.init(t,e),xe(t._zod,"propValues",()=>e.innerType._zod.propValues),xe(t._zod,"values",()=>e.innerType._zod.values),xe(t._zod,"optin",()=>e.innerType?._zod?.optin),xe(t._zod,"optout",()=>e.innerType?._zod?.optout),t._zod.parse=(i,n)=>{if(n.direction==="backward")return e.innerType._zod.run(i,n);let a=e.innerType._zod.run(i,n);return a instanceof Promise?a.then(gP):gP(a)}});function gP(t){return t.value=Object.freeze(t.value),t}var sh=j("$ZodCustom",(t,e)=>{gi.init(t,e),_e.init(t,e),t._zod.parse=(i,n)=>i,t._zod.check=i=>{let n=i.value,a=e.fn(n);if(a instanceof Promise)return a.then(r=>mP(r,i,n,t));mP(a,i,n,t)}});function mP(t,e,i,n){if(!t){let a={code:"custom",input:i,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(a.params=n._zod.def.params),e.issues.push(hr(a))}}var mz=()=>{let t={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function e(a){return t[a]??null}let i={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};return a=>{switch(a.code){case"invalid_type":{let r=n[a.expected]??a.expected,s=gd(a.input),o=n[s]??s;return`Invalid input: expected ${r}, received ${o}`}case"invalid_value":return a.values.length===1?`Invalid input: expected ${_l(a.values[0])}`:`Invalid option: expected one of ${El(a.values,"|")}`;case"too_big":{let r=a.inclusive?"<=":"<",s=e(a.origin);return s?`Too big: expected ${a.origin??"value"} to have ${r}${a.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${a.origin??"value"} to be ${r}${a.maximum.toString()}`}case"too_small":{let r=a.inclusive?">=":">",s=e(a.origin);return s?`Too small: expected ${a.origin} to have ${r}${a.minimum.toString()} ${s.unit}`:`Too small: expected ${a.origin} to be ${r}${a.minimum.toString()}`}case"invalid_format":{let r=a;return r.format==="starts_with"?`Invalid string: must start with "${r.prefix}"`:r.format==="ends_with"?`Invalid string: must end with "${r.suffix}"`:r.format==="includes"?`Invalid string: must include "${r.includes}"`:r.format==="regex"?`Invalid string: must match pattern ${r.pattern}`:`Invalid ${i[r.format]??a.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${a.divisor}`;case"unrecognized_keys":return`Unrecognized key${a.keys.length>1?"s":""}: ${El(a.keys,", ")}`;case"invalid_key":return`Invalid key in ${a.origin}`;case"invalid_union":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Invalid discriminator value. Expected ${a.options.map(s=>`'${s}'`).join(" | ")}`:"Invalid input";case"invalid_element":return`Invalid value in ${a.origin}`;default:return"Invalid input"}}};function SP(){return{localeError:mz()}}var OP;var oh=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...i){let n=i[0];return this._map.set(e,n),n&&typeof n=="object"&&"id"in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let i=this._map.get(e);return i&&typeof i=="object"&&"id"in i&&this._idmap.delete(i.id),this._map.delete(e),this}get(e){let i=e._zod.parent;if(i){let n={...this.get(i)??{}};delete n.id;let a={...n,...this._map.get(e)};return Object.keys(a).length?a:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function fz(){return new oh}(OP=globalThis).__zod_globalRegistry??(OP.__zod_globalRegistry=fz());var wa=globalThis.__zod_globalRegistry;function lh(t,e){return new t({type:"string",...V(e)})}function uh(t,e){return new t({type:"string",format:"email",check:"string_format",abort:!1,...V(e)})}function Ll(t,e){return new t({type:"string",format:"guid",check:"string_format",abort:!1,...V(e)})}function ch(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,...V(e)})}function ph(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...V(e)})}function dh(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...V(e)})}function hh(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...V(e)})}function gh(t,e){return new t({type:"string",format:"url",check:"string_format",abort:!1,...V(e)})}function mh(t,e){return new t({type:"string",format:"emoji",check:"string_format",abort:!1,...V(e)})}function fh(t,e){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,...V(e)})}function wh(t,e){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,...V(e)})}function vh(t,e){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,...V(e)})}function Ch(t,e){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,...V(e)})}function Ah(t,e){return new t({type:"string",format:"xid",check:"string_format",abort:!1,...V(e)})}function bh(t,e){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,...V(e)})}function yh(t,e){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,...V(e)})}function Ph(t,e){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,...V(e)})}function jh(t,e){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,...V(e)})}function Sh(t,e){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,...V(e)})}function Oh(t,e){return new t({type:"string",format:"base64",check:"string_format",abort:!1,...V(e)})}function Th(t,e){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,...V(e)})}function xh(t,e){return new t({type:"string",format:"e164",check:"string_format",abort:!1,...V(e)})}function Mh(t,e){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,...V(e)})}function TP(t,e){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...V(e)})}function xP(t,e){return new t({type:"string",format:"date",check:"string_format",...V(e)})}function MP(t,e){return new t({type:"string",format:"time",check:"string_format",precision:null,...V(e)})}function EP(t,e){return new t({type:"string",format:"duration",check:"string_format",...V(e)})}function Eh(t,e){return new t({type:"number",checks:[],...V(e)})}function kh(t,e){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",...V(e)})}function qh(t,e){return new t({type:"boolean",...V(e)})}function _h(t,e){return new t({type:"null",...V(e)})}function Hh(t){return new t({type:"unknown"})}function Ih(t,e){return new t({type:"never",...V(e)})}function Bl(t,e){return new vd({check:"less_than",...V(e),value:t,inclusive:!1})}function qs(t,e){return new vd({check:"less_than",...V(e),value:t,inclusive:!0})}function Fl(t,e){return new Cd({check:"greater_than",...V(e),value:t,inclusive:!1})}function _s(t,e){return new Cd({check:"greater_than",...V(e),value:t,inclusive:!0})}function Vl(t,e){return new Jy({check:"multiple_of",...V(e),value:t})}function Jl(t,e){return new Ky({check:"max_length",...V(e),maximum:t})}function gr(t,e){return new Qy({check:"min_length",...V(e),minimum:t})}function Zl(t,e){return new Yy({check:"length_equals",...V(e),length:t})}function Rh(t,e){return new Xy({check:"string_format",format:"regex",...V(e),pattern:t})}function zh(t){return new eP({check:"string_format",format:"lowercase",...V(t)})}function Dh(t){return new iP({check:"string_format",format:"uppercase",...V(t)})}function Gh(t,e){return new nP({check:"string_format",format:"includes",...V(e),includes:t})}function $h(t,e){return new tP({check:"string_format",format:"starts_with",...V(e),prefix:t})}function Nh(t,e){return new aP({check:"string_format",format:"ends_with",...V(e),suffix:t})}function Ot(t){return new rP({check:"overwrite",tx:t})}function Uh(t){return Ot(e=>e.normalize(t))}function Wh(){return Ot(t=>t.trim())}function Lh(){return Ot(t=>t.toLowerCase())}function Bh(){return Ot(t=>t.toUpperCase())}function Fh(){return Ot(t=>od(t))}function kP(t,e,i){return new t({type:"array",element:e,...V(i)})}function Vh(t,e,i){let n=V(i);return n.abort??(n.abort=!0),new t({type:"custom",check:"custom",fn:e,...n})}function Jh(t,e,i){return new t({type:"custom",check:"custom",fn:e,...V(i)})}function Zh(t,e){let i=wz(n=>(n.addIssue=a=>{if(typeof a=="string")n.issues.push(hr(a,n.value,i._zod.def));else{let r=a;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=i),r.continue??(r.continue=!i._zod.def.abort),n.issues.push(hr(r))}},t(n.value,n)),e);return i}function wz(t,e){let i=new gi({check:"custom",...V(e)});return i._zod.check=t,i}function Is(t){let e=t?.target??"draft-2020-12";return e==="draft-4"&&(e="draft-04"),e==="draft-7"&&(e="draft-07"),{processors:t.processors??{},metadataRegistry:t?.metadata??wa,target:e,unrepresentable:t?.unrepresentable??"throw",override:t?.override??(()=>{}),io:t?.io??"output",counter:0,seen:new Map,cycles:t?.cycles??"ref",reused:t?.reused??"inline",external:t?.external??void 0}}function He(t,e,i={path:[],schemaPath:[]}){var n;let a=t._zod.def,r=e.seen.get(t);if(r)return r.count++,i.schemaPath.includes(t)&&(r.cycle=i.path),r.schema;let s={schema:{},count:1,cycle:void 0,path:i.path};e.seen.set(t,s);let o=t._zod.toJSONSchema?.();if(o)s.schema=o;else{let c={...i,schemaPath:[...i.schemaPath,t],path:i.path};if(t._zod.processJSONSchema)t._zod.processJSONSchema(e,s.schema,c);else{let d=s.schema,h=e.processors[a.type];if(!h)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`);h(t,e,d,c)}let p=t._zod.parent;p&&(s.ref||(s.ref=p),He(p,e,c),e.seen.get(p).isParent=!0)}let l=e.metadataRegistry.get(t);return l&&Object.assign(s.schema,l),e.io==="input"&&Ii(t)&&(delete s.schema.examples,delete s.schema.default),e.io==="input"&&"_prefault"in s.schema&&((n=s.schema).default??(n.default=s.schema._prefault)),delete s.schema._prefault,e.seen.get(t).schema}function Rs(t,e){let i=t.seen.get(e);if(!i)throw new Error("Unprocessed schema. This is a bug in Zod.");let n=new Map;for(let s of t.seen.entries()){let o=t.metadataRegistry.get(s[0])?.id;if(o){let l=n.get(o);if(l&&l!==s[0])throw new Error(`Duplicate schema id "${o}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(o,s[0])}}let a=s=>{let o=t.target==="draft-2020-12"?"$defs":"definitions";if(t.external){let p=t.external.registry.get(s[0])?.id,d=t.external.uri??(g=>g);if(p)return{ref:d(p)};let h=s[1].defId??s[1].schema.id??`schema${t.counter++}`;return s[1].defId=h,{defId:h,ref:`${d("__shared")}#/${o}/${h}`}}if(s[1]===i)return{ref:"#"};let u=`#/${o}/`,c=s[1].schema.id??`__schema${t.counter++}`;return{defId:c,ref:u+c}},r=s=>{if(s[1].schema.$ref)return;let o=s[1],{ref:l,defId:u}=a(s);o.def={...o.schema},u&&(o.defId=u);let c=o.schema;for(let p in c)delete c[p];c.$ref=l};if(t.cycles==="throw")for(let s of t.seen.entries()){let o=s[1];if(o.cycle)throw new Error(`Cycle detected: #/${o.cycle?.join("/")}/ -Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let s of t.seen.entries()){let o=s[1];if(e===s[0]){r(s);continue}if(t.external){let u=t.external.registry.get(s[0])?.id;if(e!==s[0]&&u){r(s);continue}}if(t.metadataRegistry.get(s[0])?.id){r(s);continue}if(o.cycle){r(s);continue}if(o.count>1&&t.reused==="ref"){r(s);continue}}}function eo(t,e){let n=t.seen.get(e);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=o=>{let l=t.seen.get(o);if(l.ref===null)return;let u=l.def??l.schema,c={...u},p=l.ref;if(l.ref=null,p){i(p);let d=t.seen.get(p),g=d.schema;if(g.$ref&&(t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(g)):Object.assign(u,g),Object.assign(u,c),o._zod.parent===p)for(let f in u)f==="$ref"||f==="allOf"||f in c||delete u[f];if(g.$ref&&d.def)for(let f in u)f==="$ref"||f==="allOf"||f in d.def&&JSON.stringify(u[f])===JSON.stringify(d.def[f])&&delete u[f]}let h=o._zod.parent;if(h&&h!==p){i(h);let d=t.seen.get(h);if(d?.schema.$ref&&(u.$ref=d.schema.$ref,d.def))for(let g in u)g==="$ref"||g==="allOf"||g in d.def&&JSON.stringify(u[g])===JSON.stringify(d.def[g])&&delete u[g]}t.override({zodSchema:o,jsonSchema:u,path:l.path??[]})};for(let o of[...t.seen.entries()].reverse())i(o[0]);let a={};if(t.target==="draft-2020-12"?a.$schema="https://json-schema.org/draft/2020-12/schema":t.target==="draft-07"?a.$schema="http://json-schema.org/draft-07/schema#":t.target==="draft-04"?a.$schema="http://json-schema.org/draft-04/schema#":t.target,t.external?.uri){let o=t.external.registry.get(e)?.id;if(!o)throw new Error("Schema is missing an `id` property");a.$id=t.external.uri(o)}Object.assign(a,n.def??n.schema);let r=t.metadataRegistry.get(e)?.id;r!==void 0&&a.id===r&&delete a.id;let s=t.external?.defs??{};for(let o of t.seen.entries()){let l=o[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,s[l.defId]=l.def)}t.external||Object.keys(s).length>0&&(t.target==="draft-2020-12"?a.$defs=s:a.definitions=s);try{let o=JSON.parse(JSON.stringify(a));return Object.defineProperty(o,"~standard",{value:{...e["~standard"],jsonSchema:{input:Qs(e,"input",t.processors),output:Qs(e,"output",t.processors)}},enumerable:!1,writable:!1}),o}catch{throw new Error("Error converting schema to JSON.")}}function Dn(t,e){let n=e??{seen:new Set};if(n.seen.has(t))return!1;n.seen.add(t);let i=t._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return Dn(i.element,n);if(i.type==="set")return Dn(i.valueType,n);if(i.type==="lazy")return Dn(i.getter(),n);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return Dn(i.innerType,n);if(i.type==="intersection")return Dn(i.left,n)||Dn(i.right,n);if(i.type==="record"||i.type==="map")return Dn(i.keyType,n)||Dn(i.valueType,n);if(i.type==="pipe")return t._zod.traits.has("$ZodCodec")?!0:Dn(i.in,n)||Dn(i.out,n);if(i.type==="object"){for(let a in i.shape)if(Dn(i.shape[a],n))return!0;return!1}if(i.type==="union"){for(let a of i.options)if(Dn(a,n))return!0;return!1}if(i.type==="tuple"){for(let a of i.items)if(Dn(a,n))return!0;return!!(i.rest&&Dn(i.rest,n))}return!1}var Rj=(t,e={})=>n=>{let i=Ys({...n,processors:e});return He(t,i),Xs(i,t),eo(i,t)},Qs=(t,e,n={})=>i=>{let{libraryOptions:a,target:r}=i??{},s=Ys({...a??{},target:r,io:e,processors:n});return He(t,s),Xs(s,t),eo(s,t)};var g1={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},qg=(t,e,n,i)=>{let a=n;a.type="string";let{minimum:r,maximum:s,format:o,patterns:l,contentEncoding:u}=t._zod.bag;if(typeof r=="number"&&(a.minLength=r),typeof s=="number"&&(a.maxLength=s),o&&(a.format=g1[o]??o,a.format===""&&delete a.format,o==="time"&&delete a.format),u&&(a.contentEncoding=u),l&&l.size>0){let c=[...l];c.length===1?a.pattern=c[0].source:c.length>1&&(a.allOf=[...c.map(p=>({...e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"?{type:"string"}:{},pattern:p.source}))])}},_g=(t,e,n,i)=>{let a=n,{minimum:r,maximum:s,format:o,multipleOf:l,exclusiveMaximum:u,exclusiveMinimum:c}=t._zod.bag;typeof o=="string"&&o.includes("int")?a.type="integer":a.type="number";let p=typeof c=="number"&&c>=(r??Number.NEGATIVE_INFINITY),h=typeof u=="number"&&u<=(s??Number.POSITIVE_INFINITY),d=e.target==="draft-04"||e.target==="openapi-3.0";p?d?(a.minimum=c,a.exclusiveMinimum=!0):a.exclusiveMinimum=c:typeof r=="number"&&(a.minimum=r),h?d?(a.maximum=u,a.exclusiveMaximum=!0):a.exclusiveMaximum=u:typeof s=="number"&&(a.maximum=s),typeof l=="number"&&(a.multipleOf=l)},Hg=(t,e,n,i)=>{n.type="boolean"},Dj=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},Gj=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},Ig=(t,e,n,i)=>{e.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},$j=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},Nj=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},Rg=(t,e,n,i)=>{n.not={}},Uj=(t,e,n,i)=>{},zg=(t,e,n,i)=>{},Lj=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},Dg=(t,e,n,i)=>{let a=t._zod.def,r=zs(a.entries);r.every(s=>typeof s=="number")&&(n.type="number"),r.every(s=>typeof s=="string")&&(n.type="string"),n.enum=r},Gg=(t,e,n,i)=>{let a=t._zod.def,r=[];for(let s of a.values)if(s===void 0){if(e.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof s=="bigint"){if(e.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");r.push(Number(s))}else r.push(s);if(r.length!==0)if(r.length===1){let s=r[0];n.type=s===null?"null":typeof s,e.target==="draft-04"||e.target==="openapi-3.0"?n.enum=[s]:n.const=s}else r.every(s=>typeof s=="number")&&(n.type="number"),r.every(s=>typeof s=="string")&&(n.type="string"),r.every(s=>typeof s=="boolean")&&(n.type="boolean"),r.every(s=>s===null)&&(n.type="null"),n.enum=r},Wj=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},Bj=(t,e,n,i)=>{let a=n,r=t._zod.pattern;if(!r)throw new Error("Pattern not found in template literal");a.type="string",a.pattern=r.source},Fj=(t,e,n,i)=>{let a=n,r={type:"string",format:"binary",contentEncoding:"binary"},{minimum:s,maximum:o,mime:l}=t._zod.bag;s!==void 0&&(r.minLength=s),o!==void 0&&(r.maxLength=o),l?l.length===1?(r.contentMediaType=l[0],Object.assign(a,r)):(Object.assign(a,r),a.anyOf=l.map(u=>({contentMediaType:u}))):Object.assign(a,r)},Vj=(t,e,n,i)=>{n.type="boolean"},$g=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},Jj=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},Ng=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},Zj=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},Kj=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},Ug=(t,e,n,i)=>{let a=n,r=t._zod.def,{minimum:s,maximum:o}=t._zod.bag;typeof s=="number"&&(a.minItems=s),typeof o=="number"&&(a.maxItems=o),a.type="array",a.items=He(r.element,e,{...i,path:[...i.path,"items"]})},Lg=(t,e,n,i)=>{let a=n,r=t._zod.def;a.type="object",a.properties={};let s=r.shape;for(let u in s)a.properties[u]=He(s[u],e,{...i,path:[...i.path,"properties",u]});let o=new Set(Object.keys(s)),l=new Set([...o].filter(u=>{let c=r.shape[u]._zod;return e.io==="input"?c.optin===void 0:c.optout===void 0}));l.size>0&&(a.required=Array.from(l)),r.catchall?._zod.def.type==="never"?a.additionalProperties=!1:r.catchall?r.catchall&&(a.additionalProperties=He(r.catchall,e,{...i,path:[...i.path,"additionalProperties"]})):e.io==="output"&&(a.additionalProperties=!1)},Wg=(t,e,n,i)=>{let a=t._zod.def,r=a.inclusive===!1,s=a.options.map((o,l)=>He(o,e,{...i,path:[...i.path,r?"oneOf":"anyOf",l]}));r?n.oneOf=s:n.anyOf=s},Bg=(t,e,n,i)=>{let a=t._zod.def,r=He(a.left,e,{...i,path:[...i.path,"allOf",0]}),s=He(a.right,e,{...i,path:[...i.path,"allOf",1]}),o=u=>"allOf"in u&&Object.keys(u).length===1,l=[...o(r)?r.allOf:[r],...o(s)?s.allOf:[s]];n.allOf=l},Qj=(t,e,n,i)=>{let a=n,r=t._zod.def;a.type="array";let s=e.target==="draft-2020-12"?"prefixItems":"items",o=e.target==="draft-2020-12"||e.target==="openapi-3.0"?"items":"additionalItems",l=r.items.map((h,d)=>He(h,e,{...i,path:[...i.path,s,d]})),u=r.rest?He(r.rest,e,{...i,path:[...i.path,o,...e.target==="openapi-3.0"?[r.items.length]:[]]}):null;e.target==="draft-2020-12"?(a.prefixItems=l,u&&(a.items=u)):e.target==="openapi-3.0"?(a.items={anyOf:l},u&&a.items.anyOf.push(u),a.minItems=l.length,u||(a.maxItems=l.length)):(a.items=l,u&&(a.additionalItems=u));let{minimum:c,maximum:p}=t._zod.bag;typeof c=="number"&&(a.minItems=c),typeof p=="number"&&(a.maxItems=p)},Fg=(t,e,n,i)=>{let a=n,r=t._zod.def;a.type="object";let s=r.keyType,l=s._zod.bag?.patterns;if(r.mode==="loose"&&l&&l.size>0){let c=He(r.valueType,e,{...i,path:[...i.path,"patternProperties","*"]});a.patternProperties={};for(let p of l)a.patternProperties[p.source]=c}else(e.target==="draft-07"||e.target==="draft-2020-12")&&(a.propertyNames=He(r.keyType,e,{...i,path:[...i.path,"propertyNames"]})),a.additionalProperties=He(r.valueType,e,{...i,path:[...i.path,"additionalProperties"]});let u=s._zod.values;if(u){let c=[...u].filter(p=>typeof p=="string"||typeof p=="number");c.length>0&&(a.required=c)}},Vg=(t,e,n,i)=>{let a=t._zod.def,r=He(a.innerType,e,i),s=e.seen.get(t);e.target==="openapi-3.0"?(s.ref=a.innerType,n.nullable=!0):n.anyOf=[r,{type:"null"}]},Jg=(t,e,n,i)=>{let a=t._zod.def;He(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType},Zg=(t,e,n,i)=>{let a=t._zod.def;He(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType,n.default=JSON.parse(JSON.stringify(a.defaultValue))},Kg=(t,e,n,i)=>{let a=t._zod.def;He(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType,e.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(a.defaultValue)))},Qg=(t,e,n,i)=>{let a=t._zod.def;He(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType;let s;try{s=a.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=s},Yg=(t,e,n,i)=>{let a=t._zod.def,r=a.in._zod.traits.has("$ZodTransform"),s=e.io==="input"?r?a.out:a.in:a.out;He(s,e,i);let o=e.seen.get(t);o.ref=s},Xg=(t,e,n,i)=>{let a=t._zod.def;He(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType,n.readOnly=!0},Yj=(t,e,n,i)=>{let a=t._zod.def;He(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType},yu=(t,e,n,i)=>{let a=t._zod.def;He(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType},Xj=(t,e,n,i)=>{let a=t._zod.innerType;He(a,e,i);let r=e.seen.get(t);r.ref=a},zj={string:qg,number:_g,boolean:Hg,bigint:Dj,symbol:Gj,null:Ig,undefined:$j,void:Nj,never:Rg,any:Uj,unknown:zg,date:Lj,enum:Dg,literal:Gg,nan:Wj,template_literal:Bj,file:Fj,success:Vj,custom:$g,function:Jj,transform:Ng,map:Zj,set:Kj,array:Ug,object:Lg,union:Wg,intersection:Bg,tuple:Qj,record:Fg,nullable:Vg,nonoptional:Jg,default:Zg,prefault:Kg,catch:Qg,pipe:Yg,readonly:Xg,promise:Yj,optional:yu,lazy:Xj};function em(t,e){if("_idmap"in t){let i=t,a=Ys({...e,processors:zj}),r={};for(let l of i._idmap.entries()){let[u,c]=l;He(c,a)}let s={},o={registry:i,uri:e?.uri,defs:r};a.external=o;for(let l of i._idmap.entries()){let[u,c]=l;Xs(a,c),s[u]=eo(a,c)}if(Object.keys(r).length>0){let l=a.target==="draft-2020-12"?"$defs":"definitions";s.__shared={[l]:r}}return{schemas:s}}let n=Ys({...e,processors:zj});return He(t,n),Xs(n,t),eo(n,t)}var tG=j("ZodMiniType",(t,e)=>{if(!t._zod)throw new Error("Uninitialized schema in ZodMiniType.");_e.init(t,e),t.def=e,t.type=e.type,t.parse=(n,i)=>ou(t,n,i,{callee:t.parse}),t.safeParse=(n,i)=>Sa(t,n,i),t.parseAsync=async(n,i)=>lu(t,n,i,{callee:t.parseAsync}),t.safeParseAsync=async(n,i)=>Oa(t,n,i),t.check=(...n)=>t.clone({...e,checks:[...e.checks??[],...n.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]},{parent:!0}),t.with=t.check,t.clone=(n,i)=>ui(t,n,i),t.brand=()=>t,t.register=((n,i)=>(n.add(t,i),t)),t.apply=n=>n(t)});var aG=j("ZodMiniObject",(t,e)=>{Th.init(t,e),tG.init(t,e),Me(t,"shape",()=>e.shape)});function nm(t,e){let n={type:"object",shape:t??{},...J(e)};return new aG(n)}function Wi(t){return!!t._zod}function Ma(t){let e=Object.values(t);if(e.length===0)return nm({});let n=e.every(Wi),i=e.every(a=>!Wi(a));if(n)return nm(t);if(i)return Gd(t);throw new Error("Mixed Zod versions detected in object shape.")}function Ht(t,e){return Wi(t)?Sa(t,e):t.safeParse(e)}async function Pu(t,e){return Wi(t)?await Oa(t,e):await t.safeParseAsync(e)}function It(t){if(!t)return;let e;if(Wi(t)?e=t._zod?.def?.shape:e=t.shape,!!e){if(typeof e=="function")try{return e()}catch{return}return e}}function Mr(t){if(t){if(typeof t=="object"){let e=t,n=t;if(!e._def&&!n._zod){let i=Object.values(t);if(i.length>0&&i.every(a=>typeof a=="object"&&a!==null&&(a._def!==void 0||a._zod!==void 0||typeof a.parse=="function")))return Ma(t)}}if(Wi(t)){let n=t._zod?.def;if(n&&(n.type==="object"||n.shape!==void 0))return t}else if(t.shape!==void 0)return t}}function sG(t){return t.length===0?"object root":t.reduce((e,n,i)=>i===0?String(n):typeof n=="number"?`${e}[${n}]`:`${e}.${n}`,"")}function ju(t){if(t&&typeof t=="object"){if("issues"in t&&Array.isArray(t.issues)&&t.issues.length>0)return t.issues.map(e=>e.path?.length?`${e.message} at ${sG(e.path)}`:e.message).join(` -`);if("message"in t&&typeof t.message=="string")return t.message;try{return JSON.stringify(t)}catch{return String(t)}}return String(t)}function nS(t){return t.description}function iS(t){if(Wi(t))return t._zod?.def?.type==="optional";let e=t;return typeof t.isOptional=="function"?t.isOptional():e._def?.typeName==="ZodOptional"}function Er(t){if(Wi(t)){let r=t._zod?.def;if(r){if(r.value!==void 0)return r.value;if(Array.isArray(r.values)&&r.values.length>0)return r.values[0]}}let n=t._def;if(n){if(n.value!==void 0)return n.value;if(Array.isArray(n.values)&&n.values.length>0)return n.values[0]}let i=t.value;if(i!==void 0)return i}var no={};Id(no,{ZodISODate:()=>aS,ZodISODateTime:()=>tS,ZodISODuration:()=>sS,ZodISOTime:()=>rS,date:()=>tm,datetime:()=>im,duration:()=>rm,time:()=>am});var tS=j("ZodISODateTime",(t,e)=>{Aj.init(t,e),Be.init(t,e)});function im(t){return kj(tS,t)}var aS=j("ZodISODate",(t,e)=>{bj.init(t,e),Be.init(t,e)});function tm(t){return qj(aS,t)}var rS=j("ZodISOTime",(t,e)=>{yj.init(t,e),Be.init(t,e)});function am(t){return _j(rS,t)}var sS=j("ZodISODuration",(t,e)=>{Pj.init(t,e),Be.init(t,e)});function rm(t){return Hj(sS,t)}var hG=(t,e)=>{su.init(t,e),t.name="ZodError",Object.defineProperties(t,{format:{value:n=>gP(t,n)},flatten:{value:n=>hP(t,n)},addIssue:{value:n=>{t.issues.push(n),t.message=JSON.stringify(t.issues,Sr,2)}},addIssues:{value:n=>{t.issues.push(...n),t.message=JSON.stringify(t.issues,Sr,2)}},isEmpty:{get(){return t.issues.length===0}}})};var ci=j("ZodError",hG,{Parent:Error});var oS=Us(ci),lS=Ls(ci),uS=Ws(ci),cS=Bs(ci),pS=mP(ci),dS=fP(ci),hS=wP(ci),gS=vP(ci),mS=CP(ci),fS=AP(ci),wS=bP(ci),vS=yP(ci);var CS=new WeakMap;function io(t,e,n){let i=Object.getPrototypeOf(t),a=CS.get(i);if(a||(a=new Set,CS.set(i,a)),!a.has(e)){a.add(e);for(let r in n){let s=n[r];Object.defineProperty(i,r,{configurable:!0,enumerable:!1,get(){let o=s.bind(this);return Object.defineProperty(this,r,{configurable:!0,writable:!0,enumerable:!0,value:o}),o},set(o){Object.defineProperty(this,r,{configurable:!0,writable:!0,enumerable:!0,value:o})}})}}}var Je=j("ZodType",(t,e)=>(_e.init(t,e),Object.assign(t["~standard"],{jsonSchema:{input:Qs(t,"input"),output:Qs(t,"output")}}),t.toJSONSchema=Rj(t,{}),t.def=e,t.type=e.type,Object.defineProperty(t,"_def",{value:e}),t.parse=(n,i)=>oS(t,n,i,{callee:t.parse}),t.safeParse=(n,i)=>uS(t,n,i),t.parseAsync=async(n,i)=>lS(t,n,i,{callee:t.parseAsync}),t.safeParseAsync=async(n,i)=>cS(t,n,i),t.spa=t.safeParseAsync,t.encode=(n,i)=>pS(t,n,i),t.decode=(n,i)=>dS(t,n,i),t.encodeAsync=async(n,i)=>hS(t,n,i),t.decodeAsync=async(n,i)=>gS(t,n,i),t.safeEncode=(n,i)=>mS(t,n,i),t.safeDecode=(n,i)=>fS(t,n,i),t.safeEncodeAsync=async(n,i)=>wS(t,n,i),t.safeDecodeAsync=async(n,i)=>vS(t,n,i),io(t,"ZodType",{check(...n){let i=this.def;return this.clone(we.mergeDefs(i,{checks:[...i.checks??[],...n.map(a=>typeof a=="function"?{_zod:{check:a,def:{check:"custom"},onattach:[]}}:a)]}),{parent:!0})},with(...n){return this.check(...n)},clone(n,i){return ui(this,n,i)},brand(){return this},register(n,i){return n.add(this,i),this},refine(n,i){return this.check(t$(n,i))},superRefine(n,i){return this.check(a$(n,i))},overwrite(n){return this.check(_t(n))},optional(){return Ve(this)},exactOptional(){return BG(this)},nullable(){return PS(this)},nullish(){return Ve(PS(this))},nonoptional(n){return QG(this,n)},array(){return ve(this)},or(n){return $e([this,n])},and(n){return Ou(this,n)},transform(n){return jS(this,ES(n))},default(n){return JG(this,n)},prefault(n){return KG(this,n)},catch(n){return XG(this,n)},pipe(n){return jS(this,n)},readonly(){return i$(this)},describe(n){let i=this.clone();return xa.add(i,{description:n}),i},meta(...n){if(n.length===0)return xa.get(this);let i=this.clone();return xa.add(i,n[0]),i},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(n){return n(this)}}),Object.defineProperty(t,"description",{get(){return xa.get(t)?.description},configurable:!0}),t)),SS=j("_ZodString",(t,e)=>{Js.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(i,a,r)=>qg(t,i,a,r);let n=t._zod.bag;t.format=n.format??null,t.minLength=n.minimum??null,t.maxLength=n.maximum??null,io(t,"_ZodString",{regex(...i){return this.check(vg(...i))},includes(...i){return this.check(bg(...i))},startsWith(...i){return this.check(yg(...i))},endsWith(...i){return this.check(Pg(...i))},min(...i){return this.check(Tr(...i))},max(...i){return this.check(Au(...i))},length(...i){return this.check(bu(...i))},nonempty(...i){return this.check(Tr(1,...i))},lowercase(i){return this.check(Cg(i))},uppercase(i){return this.check(Ag(i))},trim(){return this.check(Sg())},normalize(...i){return this.check(jg(...i))},toLowerCase(){return this.check(Og())},toUpperCase(){return this.check(xg())},slugify(){return this.check(Tg())}})}),mG=j("ZodString",(t,e)=>{Js.init(t,e),SS.init(t,e),t.email=n=>t.check(Bh(fG,n)),t.url=n=>t.check(Kh(wG,n)),t.jwt=n=>t.check(pg(qG,n)),t.emoji=n=>t.check(Qh(vG,n)),t.guid=n=>t.check(fu(AS,n)),t.uuid=n=>t.check(Fh(Su,n)),t.uuidv4=n=>t.check(Vh(Su,n)),t.uuidv6=n=>t.check(Jh(Su,n)),t.uuidv7=n=>t.check(Zh(Su,n)),t.nanoid=n=>t.check(Yh(CG,n)),t.guid=n=>t.check(fu(AS,n)),t.cuid=n=>t.check(Xh(AG,n)),t.cuid2=n=>t.check(eg(bG,n)),t.ulid=n=>t.check(ng(yG,n)),t.base64=n=>t.check(lg(MG,n)),t.base64url=n=>t.check(ug(EG,n)),t.xid=n=>t.check(ig(PG,n)),t.ksuid=n=>t.check(tg(jG,n)),t.ipv4=n=>t.check(ag(SG,n)),t.ipv6=n=>t.check(rg(OG,n)),t.cidrv4=n=>t.check(sg(xG,n)),t.cidrv6=n=>t.check(og(TG,n)),t.e164=n=>t.check(cg(kG,n)),t.datetime=n=>t.check(im(n)),t.date=n=>t.check(tm(n)),t.time=n=>t.check(am(n)),t.duration=n=>t.check(rm(n))});function P(t){return Wh(mG,t)}var Be=j("ZodStringFormat",(t,e)=>{De.init(t,e),SS.init(t,e)}),fG=j("ZodEmail",(t,e)=>{rh.init(t,e),Be.init(t,e)});var AS=j("ZodGUID",(t,e)=>{th.init(t,e),Be.init(t,e)});var Su=j("ZodUUID",(t,e)=>{ah.init(t,e),Be.init(t,e)});var wG=j("ZodURL",(t,e)=>{sh.init(t,e),Be.init(t,e)});var vG=j("ZodEmoji",(t,e)=>{oh.init(t,e),Be.init(t,e)});var CG=j("ZodNanoID",(t,e)=>{lh.init(t,e),Be.init(t,e)});var AG=j("ZodCUID",(t,e)=>{uh.init(t,e),Be.init(t,e)});var bG=j("ZodCUID2",(t,e)=>{ch.init(t,e),Be.init(t,e)});var yG=j("ZodULID",(t,e)=>{ph.init(t,e),Be.init(t,e)});var PG=j("ZodXID",(t,e)=>{dh.init(t,e),Be.init(t,e)});var jG=j("ZodKSUID",(t,e)=>{hh.init(t,e),Be.init(t,e)});var SG=j("ZodIPv4",(t,e)=>{gh.init(t,e),Be.init(t,e)});var OG=j("ZodIPv6",(t,e)=>{mh.init(t,e),Be.init(t,e)});var xG=j("ZodCIDRv4",(t,e)=>{fh.init(t,e),Be.init(t,e)});var TG=j("ZodCIDRv6",(t,e)=>{wh.init(t,e),Be.init(t,e)});var MG=j("ZodBase64",(t,e)=>{vh.init(t,e),Be.init(t,e)});var EG=j("ZodBase64URL",(t,e)=>{Ch.init(t,e),Be.init(t,e)});var kG=j("ZodE164",(t,e)=>{Ah.init(t,e),Be.init(t,e)});var qG=j("ZodJWT",(t,e)=>{bh.init(t,e),Be.init(t,e)});var OS=j("ZodNumber",(t,e)=>{du.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(i,a,r)=>_g(t,i,a,r),io(t,"ZodNumber",{gt(i,a){return this.check(vu(i,a))},gte(i,a){return this.check(Ks(i,a))},min(i,a){return this.check(Ks(i,a))},lt(i,a){return this.check(wu(i,a))},lte(i,a){return this.check(Zs(i,a))},max(i,a){return this.check(Zs(i,a))},int(i){return this.check(bS(i))},safe(i){return this.check(bS(i))},positive(i){return this.check(vu(0,i))},nonnegative(i){return this.check(Ks(0,i))},negative(i){return this.check(wu(0,i))},nonpositive(i){return this.check(Zs(0,i))},multipleOf(i,a){return this.check(Cu(i,a))},step(i,a){return this.check(Cu(i,a))},finite(){return this}});let n=t._zod.bag;t.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,t.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,t.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),t.isFinite=!0,t.format=n.format??null});function Ee(t){return dg(OS,t)}var _G=j("ZodNumberFormat",(t,e)=>{yh.init(t,e),OS.init(t,e)});function bS(t){return hg(_G,t)}var HG=j("ZodBoolean",(t,e)=>{Ph.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Hg(t,n,i,a)});function Cn(t){return gg(HG,t)}var IG=j("ZodNull",(t,e)=>{jh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Ig(t,n,i,a)});function xS(t){return mg(IG,t)}var RG=j("ZodUnknown",(t,e)=>{Sh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>zg(t,n,i,a)});function Fe(){return fg(RG)}var zG=j("ZodNever",(t,e)=>{Oh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Rg(t,n,i,a)});function DG(t){return wg(zG,t)}var GG=j("ZodArray",(t,e)=>{xh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Ug(t,n,i,a),t.element=e.element,io(t,"ZodArray",{min(n,i){return this.check(Tr(n,i))},nonempty(n){return this.check(Tr(1,n))},max(n,i){return this.check(Au(n,i))},length(n,i){return this.check(bu(n,i))},unwrap(){return this.element}})});function ve(t,e){return Ij(GG,t,e)}var TS=j("ZodObject",(t,e)=>{xj.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Lg(t,n,i,a),we.defineLazy(t,"shape",()=>e.shape),io(t,"ZodObject",{keyof(){return Jn(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:Fe()})},loose(){return this.clone({...this._zod.def,catchall:Fe()})},strict(){return this.clone({...this._zod.def,catchall:DG()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return we.extend(this,n)},safeExtend(n){return we.safeExtend(this,n)},merge(n){return we.merge(this,n)},pick(n){return we.pick(this,n)},omit(n){return we.omit(this,n)},partial(...n){return we.partial(xu,this,n[0])},required(...n){return we.required(kS,this,n[0])}})});function $(t,e){let n={type:"object",shape:t??{},...we.normalizeParams(e)};return new TS(n)}function Gn(t,e){return new TS({type:"object",shape:t,catchall:Fe(),...we.normalizeParams(e)})}var MS=j("ZodUnion",(t,e)=>{hu.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Wg(t,n,i,a),t.options=e.options});function $e(t,e){return new MS({type:"union",options:t,...we.normalizeParams(e)})}var $G=j("ZodDiscriminatedUnion",(t,e)=>{MS.init(t,e),Mh.init(t,e)});function om(t,e,n){return new $G({type:"union",options:e,discriminator:t,...we.normalizeParams(n)})}var NG=j("ZodIntersection",(t,e)=>{Eh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Bg(t,n,i,a)});function Ou(t,e){return new NG({type:"intersection",left:t,right:e})}var yS=j("ZodRecord",(t,e)=>{kh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Fg(t,n,i,a),t.keyType=e.keyType,t.valueType=e.valueType});function Ge(t,e,n){return!e||!e._zod?new yS({type:"record",keyType:P(),valueType:t,...we.normalizeParams(e)}):new yS({type:"record",keyType:t,valueType:e,...we.normalizeParams(n)})}var sm=j("ZodEnum",(t,e)=>{qh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(i,a,r)=>Dg(t,i,a,r),t.enum=e.entries,t.options=Object.values(e.entries);let n=new Set(Object.keys(e.entries));t.extract=(i,a)=>{let r={};for(let s of i)if(n.has(s))r[s]=e.entries[s];else throw new Error(`Key ${s} not found in enum`);return new sm({...e,checks:[],...we.normalizeParams(a),entries:r})},t.exclude=(i,a)=>{let r={...e.entries};for(let s of i)if(n.has(s))delete r[s];else throw new Error(`Key ${s} not found in enum`);return new sm({...e,checks:[],...we.normalizeParams(a),entries:r})}});function Jn(t,e){let n=Array.isArray(t)?Object.fromEntries(t.map(i=>[i,i])):t;return new sm({type:"enum",entries:n,...we.normalizeParams(e)})}var UG=j("ZodLiteral",(t,e)=>{_h.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Gg(t,n,i,a),t.values=new Set(e.values),Object.defineProperty(t,"value",{get(){if(e.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return e.values[0]}})});function B(t,e){return new UG({type:"literal",values:Array.isArray(t)?t:[t],...we.normalizeParams(e)})}var LG=j("ZodTransform",(t,e)=>{Hh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Ng(t,n,i,a),t._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Pr(t.constructor.name);n.addIssue=r=>{if(typeof r=="string")n.issues.push(we.issue(r,n.value,e));else{let s=r;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),s.input??(s.input=n.value),s.inst??(s.inst=t),n.issues.push(we.issue(s))}};let a=e.transform(n.value,n);return a instanceof Promise?a.then(r=>(n.value=r,n.fallback=!0,n)):(n.value=a,n.fallback=!0,n)}});function ES(t){return new LG({type:"transform",transform:t})}var xu=j("ZodOptional",(t,e)=>{gu.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>yu(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function Ve(t){return new xu({type:"optional",innerType:t})}var WG=j("ZodExactOptional",(t,e)=>{Ih.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>yu(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function BG(t){return new WG({type:"optional",innerType:t})}var FG=j("ZodNullable",(t,e)=>{Rh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Vg(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function PS(t){return new FG({type:"nullable",innerType:t})}var VG=j("ZodDefault",(t,e)=>{zh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Zg(t,n,i,a),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});function JG(t,e){return new VG({type:"default",innerType:t,get defaultValue(){return typeof e=="function"?e():we.shallowClone(e)}})}var ZG=j("ZodPrefault",(t,e)=>{Dh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Kg(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function KG(t,e){return new ZG({type:"prefault",innerType:t,get defaultValue(){return typeof e=="function"?e():we.shallowClone(e)}})}var kS=j("ZodNonOptional",(t,e)=>{Gh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Jg(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function QG(t,e){return new kS({type:"nonoptional",innerType:t,...we.normalizeParams(e)})}var YG=j("ZodCatch",(t,e)=>{$h.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Qg(t,n,i,a),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});function XG(t,e){return new YG({type:"catch",innerType:t,catchValue:typeof e=="function"?e:()=>e})}var qS=j("ZodPipe",(t,e)=>{mu.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Yg(t,n,i,a),t.in=e.in,t.out=e.out});function jS(t,e){return new qS({type:"pipe",in:t,out:e})}var e$=j("ZodPreprocess",(t,e)=>{qS.init(t,e),Tj.init(t,e)}),n$=j("ZodReadonly",(t,e)=>{Nh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Xg(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function i$(t){return new n$({type:"readonly",innerType:t})}var _S=j("ZodCustom",(t,e)=>{Uh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>$g(t,n,i,a)});function HS(t,e){return Mg(_S,t??(()=>!0),e)}function t$(t,e={}){return Eg(_S,t,e)}function a$(t,e){return kg(t,e)}function lm(t,e){return new e$({type:"pipe",in:ES(t),out:e})}li(Mj());var cm="2025-11-25";var IS=[cm,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],Rt="io.modelcontextprotocol/related-task",Mu="2.0",cn=HS(t=>t!==null&&(typeof t=="object"||typeof t=="function")),RS=$e([P(),Ee().int()]),zS=P(),hte=Gn({ttl:Ee().optional(),pollInterval:Ee().optional()}),r$=$({ttl:Ee().optional()}),s$=$({taskId:P()}),pm=Gn({progressToken:RS.optional(),[Rt]:s$.optional()}),pi=$({_meta:pm.optional()}),to=pi.extend({task:r$.optional()}),DS=t=>to.safeParse(t).success,Sn=$({method:P(),params:pi.loose().optional()}),fi=$({_meta:pm.optional()}),wi=$({method:P(),params:fi.loose().optional()}),On=Gn({_meta:pm.optional()}),Eu=$e([P(),Ee().int()]),GS=$({jsonrpc:B(Mu),id:Eu,...Sn.shape}).strict(),dm=t=>GS.safeParse(t).success,$S=$({jsonrpc:B(Mu),...wi.shape}).strict(),NS=t=>$S.safeParse(t).success,hm=$({jsonrpc:B(Mu),id:Eu,result:On}).strict(),ao=t=>hm.safeParse(t).success;var V;(function(t){t[t.ConnectionClosed=-32e3]="ConnectionClosed",t[t.RequestTimeout=-32001]="RequestTimeout",t[t.ParseError=-32700]="ParseError",t[t.InvalidRequest=-32600]="InvalidRequest",t[t.MethodNotFound=-32601]="MethodNotFound",t[t.InvalidParams=-32602]="InvalidParams",t[t.InternalError=-32603]="InternalError",t[t.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(V||(V={}));var gm=$({jsonrpc:B(Mu),id:Eu.optional(),error:$({code:Ee().int(),message:P(),data:Fe().optional()})}).strict();var US=t=>gm.safeParse(t).success;var LS=$e([GS,$S,hm,gm]),gte=$e([hm,gm]),ku=On.strict(),o$=fi.extend({requestId:Eu.optional(),reason:P().optional()}),qu=wi.extend({method:B("notifications/cancelled"),params:o$}),l$=$({src:P(),mimeType:P().optional(),sizes:ve(P()).optional(),theme:Jn(["light","dark"]).optional()}),ro=$({icons:ve(l$).optional()}),kr=$({name:P(),title:P().optional()}),WS=kr.extend({...kr.shape,...ro.shape,version:P(),websiteUrl:P().optional(),description:P().optional()}),u$=Ou($({applyDefaults:Cn().optional()}),Ge(P(),Fe())),c$=lm(t=>t&&typeof t=="object"&&!Array.isArray(t)&&Object.keys(t).length===0?{form:{}}:t,Ou($({form:u$.optional(),url:cn.optional()}),Ge(P(),Fe()).optional())),p$=Gn({list:cn.optional(),cancel:cn.optional(),requests:Gn({sampling:Gn({createMessage:cn.optional()}).optional(),elicitation:Gn({create:cn.optional()}).optional()}).optional()}),d$=Gn({list:cn.optional(),cancel:cn.optional(),requests:Gn({tools:Gn({call:cn.optional()}).optional()}).optional()}),h$=$({experimental:Ge(P(),cn).optional(),sampling:$({context:cn.optional(),tools:cn.optional()}).optional(),elicitation:c$.optional(),roots:$({listChanged:Cn().optional()}).optional(),tasks:p$.optional(),extensions:Ge(P(),cn).optional()}),g$=pi.extend({protocolVersion:P(),capabilities:h$,clientInfo:WS}),mm=Sn.extend({method:B("initialize"),params:g$});var m$=$({experimental:Ge(P(),cn).optional(),logging:cn.optional(),completions:cn.optional(),prompts:$({listChanged:Cn().optional()}).optional(),resources:$({subscribe:Cn().optional(),listChanged:Cn().optional()}).optional(),tools:$({listChanged:Cn().optional()}).optional(),tasks:d$.optional(),extensions:Ge(P(),cn).optional()}),f$=On.extend({protocolVersion:P(),capabilities:m$,serverInfo:WS,instructions:P().optional()}),fm=wi.extend({method:B("notifications/initialized"),params:fi.optional()});var _u=Sn.extend({method:B("ping"),params:pi.optional()}),w$=$({progress:Ee(),total:Ve(Ee()),message:Ve(P())}),v$=$({...fi.shape,...w$.shape,progressToken:RS}),Hu=wi.extend({method:B("notifications/progress"),params:v$}),C$=pi.extend({cursor:zS.optional()}),so=Sn.extend({params:C$.optional()}),oo=On.extend({nextCursor:zS.optional()}),A$=Jn(["working","input_required","completed","failed","cancelled"]),lo=$({taskId:P(),status:A$,ttl:$e([Ee(),xS()]),createdAt:P(),lastUpdatedAt:P(),pollInterval:Ve(Ee()),statusMessage:Ve(P())}),qr=On.extend({task:lo}),b$=fi.merge(lo),uo=wi.extend({method:B("notifications/tasks/status"),params:b$}),Iu=Sn.extend({method:B("tasks/get"),params:pi.extend({taskId:P()})}),Ru=On.merge(lo),zu=Sn.extend({method:B("tasks/result"),params:pi.extend({taskId:P()})}),mte=On.loose(),Du=so.extend({method:B("tasks/list")}),Gu=oo.extend({tasks:ve(lo)}),$u=Sn.extend({method:B("tasks/cancel"),params:pi.extend({taskId:P()})}),BS=On.merge(lo),FS=$({uri:P(),mimeType:Ve(P()),_meta:Ge(P(),Fe()).optional()}),VS=FS.extend({text:P()}),wm=P().refine(t=>{try{return atob(t),!0}catch{return!1}},{message:"Invalid Base64 string"}),JS=FS.extend({blob:wm}),co=Jn(["user","assistant"]),_r=$({audience:ve(co).optional(),priority:Ee().min(0).max(1).optional(),lastModified:no.datetime({offset:!0}).optional()}),ZS=$({...kr.shape,...ro.shape,uri:P(),description:Ve(P()),mimeType:Ve(P()),size:Ve(Ee()),annotations:_r.optional(),_meta:Ve(Gn({}))}),y$=$({...kr.shape,...ro.shape,uriTemplate:P(),description:Ve(P()),mimeType:Ve(P()),annotations:_r.optional(),_meta:Ve(Gn({}))}),Nu=so.extend({method:B("resources/list")}),P$=oo.extend({resources:ve(ZS)}),Uu=so.extend({method:B("resources/templates/list")}),j$=oo.extend({resourceTemplates:ve(y$)}),vm=pi.extend({uri:P()}),S$=vm,Lu=Sn.extend({method:B("resources/read"),params:S$}),O$=On.extend({contents:ve($e([VS,JS]))}),x$=wi.extend({method:B("notifications/resources/list_changed"),params:fi.optional()}),T$=vm,M$=Sn.extend({method:B("resources/subscribe"),params:T$}),E$=vm,k$=Sn.extend({method:B("resources/unsubscribe"),params:E$}),q$=fi.extend({uri:P()}),_$=wi.extend({method:B("notifications/resources/updated"),params:q$}),H$=$({name:P(),description:Ve(P()),required:Ve(Cn())}),I$=$({...kr.shape,...ro.shape,description:Ve(P()),arguments:Ve(ve(H$)),_meta:Ve(Gn({}))}),Wu=so.extend({method:B("prompts/list")}),R$=oo.extend({prompts:ve(I$)}),z$=pi.extend({name:P(),arguments:Ge(P(),P()).optional()}),Bu=Sn.extend({method:B("prompts/get"),params:z$}),Cm=$({type:B("text"),text:P(),annotations:_r.optional(),_meta:Ge(P(),Fe()).optional()}),Am=$({type:B("image"),data:wm,mimeType:P(),annotations:_r.optional(),_meta:Ge(P(),Fe()).optional()}),bm=$({type:B("audio"),data:wm,mimeType:P(),annotations:_r.optional(),_meta:Ge(P(),Fe()).optional()}),D$=$({type:B("tool_use"),name:P(),id:P(),input:Ge(P(),Fe()),_meta:Ge(P(),Fe()).optional()}),G$=$({type:B("resource"),resource:$e([VS,JS]),annotations:_r.optional(),_meta:Ge(P(),Fe()).optional()}),$$=ZS.extend({type:B("resource_link")}),ym=$e([Cm,Am,bm,$$,G$]),N$=$({role:co,content:ym}),U$=On.extend({description:P().optional(),messages:ve(N$)}),L$=wi.extend({method:B("notifications/prompts/list_changed"),params:fi.optional()}),W$=$({title:P().optional(),readOnlyHint:Cn().optional(),destructiveHint:Cn().optional(),idempotentHint:Cn().optional(),openWorldHint:Cn().optional()}),B$=$({taskSupport:Jn(["required","optional","forbidden"]).optional()}),KS=$({...kr.shape,...ro.shape,description:P().optional(),inputSchema:$({type:B("object"),properties:Ge(P(),cn).optional(),required:ve(P()).optional()}).catchall(Fe()),outputSchema:$({type:B("object"),properties:Ge(P(),cn).optional(),required:ve(P()).optional()}).catchall(Fe()).optional(),annotations:W$.optional(),execution:B$.optional(),_meta:Ge(P(),Fe()).optional()}),Fu=so.extend({method:B("tools/list")}),F$=oo.extend({tools:ve(KS)}),Vu=On.extend({content:ve(ym).default([]),structuredContent:Ge(P(),Fe()).optional(),isError:Cn().optional()}),fte=Vu.or(On.extend({toolResult:Fe()})),V$=to.extend({name:P(),arguments:Ge(P(),Fe()).optional()}),Hr=Sn.extend({method:B("tools/call"),params:V$}),J$=wi.extend({method:B("notifications/tools/list_changed"),params:fi.optional()}),wte=$({autoRefresh:Cn().default(!0),debounceMs:Ee().int().nonnegative().default(300)}),po=Jn(["debug","info","notice","warning","error","critical","alert","emergency"]),Z$=pi.extend({level:po}),Pm=Sn.extend({method:B("logging/setLevel"),params:Z$}),K$=fi.extend({level:po,logger:P().optional(),data:Fe()}),Q$=wi.extend({method:B("notifications/message"),params:K$}),Y$=$({name:P().optional()}),X$=$({hints:ve(Y$).optional(),costPriority:Ee().min(0).max(1).optional(),speedPriority:Ee().min(0).max(1).optional(),intelligencePriority:Ee().min(0).max(1).optional()}),eN=$({mode:Jn(["auto","required","none"]).optional()}),nN=$({type:B("tool_result"),toolUseId:P().describe("The unique identifier for the corresponding tool call."),content:ve(ym).default([]),structuredContent:$({}).loose().optional(),isError:Cn().optional(),_meta:Ge(P(),Fe()).optional()}),iN=om("type",[Cm,Am,bm]),Tu=om("type",[Cm,Am,bm,D$,nN]),tN=$({role:co,content:$e([Tu,ve(Tu)]),_meta:Ge(P(),Fe()).optional()}),aN=to.extend({messages:ve(tN),modelPreferences:X$.optional(),systemPrompt:P().optional(),includeContext:Jn(["none","thisServer","allServers"]).optional(),temperature:Ee().optional(),maxTokens:Ee().int(),stopSequences:ve(P()).optional(),metadata:cn.optional(),tools:ve(KS).optional(),toolChoice:eN.optional()}),rN=Sn.extend({method:B("sampling/createMessage"),params:aN}),ho=On.extend({model:P(),stopReason:Ve(Jn(["endTurn","stopSequence","maxTokens"]).or(P())),role:co,content:iN}),jm=On.extend({model:P(),stopReason:Ve(Jn(["endTurn","stopSequence","maxTokens","toolUse"]).or(P())),role:co,content:$e([Tu,ve(Tu)])}),sN=$({type:B("boolean"),title:P().optional(),description:P().optional(),default:Cn().optional()}),oN=$({type:B("string"),title:P().optional(),description:P().optional(),minLength:Ee().optional(),maxLength:Ee().optional(),format:Jn(["email","uri","date","date-time"]).optional(),default:P().optional()}),lN=$({type:Jn(["number","integer"]),title:P().optional(),description:P().optional(),minimum:Ee().optional(),maximum:Ee().optional(),default:Ee().optional()}),uN=$({type:B("string"),title:P().optional(),description:P().optional(),enum:ve(P()),default:P().optional()}),cN=$({type:B("string"),title:P().optional(),description:P().optional(),oneOf:ve($({const:P(),title:P()})),default:P().optional()}),pN=$({type:B("string"),title:P().optional(),description:P().optional(),enum:ve(P()),enumNames:ve(P()).optional(),default:P().optional()}),dN=$e([uN,cN]),hN=$({type:B("array"),title:P().optional(),description:P().optional(),minItems:Ee().optional(),maxItems:Ee().optional(),items:$({type:B("string"),enum:ve(P())}),default:ve(P()).optional()}),gN=$({type:B("array"),title:P().optional(),description:P().optional(),minItems:Ee().optional(),maxItems:Ee().optional(),items:$({anyOf:ve($({const:P(),title:P()}))}),default:ve(P()).optional()}),mN=$e([hN,gN]),fN=$e([pN,dN,mN]),wN=$e([fN,sN,oN,lN]),vN=to.extend({mode:B("form").optional(),message:P(),requestedSchema:$({type:B("object"),properties:Ge(P(),wN),required:ve(P()).optional()})}),CN=to.extend({mode:B("url"),message:P(),elicitationId:P(),url:P().url()}),AN=$e([vN,CN]),bN=Sn.extend({method:B("elicitation/create"),params:AN}),yN=fi.extend({elicitationId:P()}),PN=wi.extend({method:B("notifications/elicitation/complete"),params:yN}),Ir=On.extend({action:Jn(["accept","decline","cancel"]),content:lm(t=>t===null?void 0:t,Ge(P(),$e([P(),Ee(),Cn(),ve(P())])).optional())}),jN=$({type:B("ref/resource"),uri:P()});var SN=$({type:B("ref/prompt"),name:P()}),ON=pi.extend({ref:$e([SN,jN]),argument:$({name:P(),value:P()}),context:$({arguments:Ge(P(),P()).optional()}).optional()}),Ju=Sn.extend({method:B("completion/complete"),params:ON});function QS(t){if(t.params.ref.type!=="ref/prompt")throw new TypeError(`Expected CompleteRequestPrompt, but got ${t.params.ref.type}`)}function YS(t){if(t.params.ref.type!=="ref/resource")throw new TypeError(`Expected CompleteRequestResourceTemplate, but got ${t.params.ref.type}`)}var xN=On.extend({completion:Gn({values:ve(P()).max(100),total:Ve(Ee().int()),hasMore:Ve(Cn())})}),TN=$({uri:P().startsWith("file://"),name:P().optional(),_meta:Ge(P(),Fe()).optional()}),MN=Sn.extend({method:B("roots/list"),params:pi.optional()}),Sm=On.extend({roots:ve(TN)}),EN=wi.extend({method:B("notifications/roots/list_changed"),params:fi.optional()}),vte=$e([_u,mm,Ju,Pm,Bu,Wu,Nu,Uu,Lu,M$,k$,Hr,Fu,Iu,zu,Du,$u]),Cte=$e([qu,Hu,fm,EN,uo]),Ate=$e([ku,ho,jm,Ir,Sm,Ru,Gu,qr]),bte=$e([_u,rN,bN,MN,Iu,zu,Du,$u]),yte=$e([qu,Hu,Q$,_$,x$,J$,L$,uo,PN]),Pte=$e([ku,f$,xN,U$,R$,P$,j$,O$,Vu,F$,Ru,Gu,qr]),L=class t extends Error{constructor(e,n,i){super(`MCP error ${e}: ${n}`),this.code=e,this.data=i,this.name="McpError"}static fromError(e,n,i){if(e===V.UrlElicitationRequired&&i){let a=i;if(a.elicitations)return new um(a.elicitations,n)}return new t(e,n,i)}},um=class extends L{constructor(e,n=`URL elicitation${e.length>1?"s":""} required`){super(V.UrlElicitationRequired,n,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}};function zt(t){return t==="completed"||t==="failed"||t==="cancelled"}var eO=Symbol("Let zodToJsonSchema decide on which parser to use");var XS={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"},nO=t=>typeof t=="string"?{...XS,name:t}:{...XS,...t};var iO=t=>{let e=nO(t),n=e.name!==void 0?[...e.basePath,e.definitionPath,e.name]:e.basePath;return{...e,flags:{hasReferencedOpenAiAnyType:!1},currentPath:n,propertyPath:void 0,seen:new Map(Object.entries(e.definitions).map(([i,a])=>[a._def,{def:a._def,path:[...e.basePath,e.definitionPath,i],jsonSchema:void 0}]))}};function Om(t,e,n,i){i?.errorMessages&&n&&(t.errorMessage={...t.errorMessage,[e]:n})}function Ce(t,e,n,i,a){t[e]=n,Om(t,e,i,a)}var Zu=(t,e)=>{let n=0;for(;nY(t.innerType._def,e);function xm(t,e,n){let i=n??e.dateStrategy;if(Array.isArray(i))return{anyOf:i.map((a,r)=>xm(t,e,a))};switch(i){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return kN(t,e)}}var kN=(t,e)=>{let n={type:"integer",format:"unix-time"};if(e.target==="openApi3")return n;for(let i of t.checks)switch(i.kind){case"min":Ce(n,"minimum",i.value,i.message,e);break;case"max":Ce(n,"maximum",i.value,i.message,e);break}return n};function oO(t,e){return{...Y(t.innerType._def,e),default:t.defaultValue()}}function lO(t,e){return e.effectStrategy==="input"?Y(t.schema._def,e):Ze(e)}function uO(t){return{type:"string",enum:Array.from(t.values)}}var qN=t=>"type"in t&&t.type==="string"?!1:"allOf"in t;function cO(t,e){let n=[Y(t.left._def,{...e,currentPath:[...e.currentPath,"allOf","0"]}),Y(t.right._def,{...e,currentPath:[...e.currentPath,"allOf","1"]})].filter(r=>!!r),i=e.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,a=[];return n.forEach(r=>{if(qN(r))a.push(...r.allOf),r.unevaluatedProperties===void 0&&(i=void 0);else{let s=r;if("additionalProperties"in r&&r.additionalProperties===!1){let{additionalProperties:o,...l}=r;s=l}else i=void 0;a.push(s)}}),a.length?{allOf:a,...i}:void 0}function pO(t,e){let n=typeof t.value;return n!=="bigint"&&n!=="number"&&n!=="boolean"&&n!=="string"?{type:Array.isArray(t.value)?"array":"object"}:e.target==="openApi3"?{type:n==="bigint"?"integer":n,enum:[t.value]}:{type:n==="bigint"?"integer":n,const:t.value}}var Tm,Ti={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(Tm===void 0&&(Tm=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Tm),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function Qu(t,e){let n={type:"string"};if(t.checks)for(let i of t.checks)switch(i.kind){case"min":Ce(n,"minLength",typeof n.minLength=="number"?Math.max(n.minLength,i.value):i.value,i.message,e);break;case"max":Ce(n,"maxLength",typeof n.maxLength=="number"?Math.min(n.maxLength,i.value):i.value,i.message,e);break;case"email":switch(e.emailStrategy){case"format:email":Mi(n,"email",i.message,e);break;case"format:idn-email":Mi(n,"idn-email",i.message,e);break;case"pattern:zod":$n(n,Ti.email,i.message,e);break}break;case"url":Mi(n,"uri",i.message,e);break;case"uuid":Mi(n,"uuid",i.message,e);break;case"regex":$n(n,i.regex,i.message,e);break;case"cuid":$n(n,Ti.cuid,i.message,e);break;case"cuid2":$n(n,Ti.cuid2,i.message,e);break;case"startsWith":$n(n,RegExp(`^${Mm(i.value,e)}`),i.message,e);break;case"endsWith":$n(n,RegExp(`${Mm(i.value,e)}$`),i.message,e);break;case"datetime":Mi(n,"date-time",i.message,e);break;case"date":Mi(n,"date",i.message,e);break;case"time":Mi(n,"time",i.message,e);break;case"duration":Mi(n,"duration",i.message,e);break;case"length":Ce(n,"minLength",typeof n.minLength=="number"?Math.max(n.minLength,i.value):i.value,i.message,e),Ce(n,"maxLength",typeof n.maxLength=="number"?Math.min(n.maxLength,i.value):i.value,i.message,e);break;case"includes":{$n(n,RegExp(Mm(i.value,e)),i.message,e);break}case"ip":{i.version!=="v6"&&Mi(n,"ipv4",i.message,e),i.version!=="v4"&&Mi(n,"ipv6",i.message,e);break}case"base64url":$n(n,Ti.base64url,i.message,e);break;case"jwt":$n(n,Ti.jwt,i.message,e);break;case"cidr":{i.version!=="v6"&&$n(n,Ti.ipv4Cidr,i.message,e),i.version!=="v4"&&$n(n,Ti.ipv6Cidr,i.message,e);break}case"emoji":$n(n,Ti.emoji(),i.message,e);break;case"ulid":{$n(n,Ti.ulid,i.message,e);break}case"base64":{switch(e.base64Strategy){case"format:binary":{Mi(n,"binary",i.message,e);break}case"contentEncoding:base64":{Ce(n,"contentEncoding","base64",i.message,e);break}case"pattern:zod":{$n(n,Ti.base64,i.message,e);break}}break}case"nanoid":$n(n,Ti.nanoid,i.message,e);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return n}function Mm(t,e){return e.patternStrategy==="escape"?HN(t):t}var _N=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function HN(t){let e="";for(let n=0;na.format)?(t.anyOf||(t.anyOf=[]),t.format&&(t.anyOf.push({format:t.format,...t.errorMessage&&i.errorMessages&&{errorMessage:{format:t.errorMessage.format}}}),delete t.format,t.errorMessage&&(delete t.errorMessage.format,Object.keys(t.errorMessage).length===0&&delete t.errorMessage)),t.anyOf.push({format:e,...n&&i.errorMessages&&{errorMessage:{format:n}}})):Ce(t,"format",e,n,i)}function $n(t,e,n,i){t.pattern||t.allOf?.some(a=>a.pattern)?(t.allOf||(t.allOf=[]),t.pattern&&(t.allOf.push({pattern:t.pattern,...t.errorMessage&&i.errorMessages&&{errorMessage:{pattern:t.errorMessage.pattern}}}),delete t.pattern,t.errorMessage&&(delete t.errorMessage.pattern,Object.keys(t.errorMessage).length===0&&delete t.errorMessage)),t.allOf.push({pattern:dO(e,i),...n&&i.errorMessages&&{errorMessage:{pattern:n}}})):Ce(t,"pattern",dO(e,i),n,i)}function dO(t,e){if(!e.applyRegexFlags||!t.flags)return t.source;let n={i:t.flags.includes("i"),m:t.flags.includes("m"),s:t.flags.includes("s")},i=n.i?t.source.toLowerCase():t.source,a="",r=!1,s=!1,o=!1;for(let l=0;l({...i,[a]:Y(t.valueType._def,{...e,currentPath:[...e.currentPath,"properties",a]})??Ze(e)}),{}),additionalProperties:e.rejectedAdditionalProperties};let n={type:"object",additionalProperties:Y(t.valueType._def,{...e,currentPath:[...e.currentPath,"additionalProperties"]})??e.allowedAdditionalProperties};if(e.target==="openApi3")return n;if(t.keyType?._def.typeName===E.ZodString&&t.keyType._def.checks?.length){let{type:i,...a}=Qu(t.keyType._def,e);return{...n,propertyNames:a}}else{if(t.keyType?._def.typeName===E.ZodEnum)return{...n,propertyNames:{enum:t.keyType._def.values}};if(t.keyType?._def.typeName===E.ZodBranded&&t.keyType._def.type._def.typeName===E.ZodString&&t.keyType._def.type._def.checks?.length){let{type:i,...a}=Ku(t.keyType._def,e);return{...n,propertyNames:a}}}return n}function hO(t,e){if(e.mapStrategy==="record")return Yu(t,e);let n=Y(t.keyType._def,{...e,currentPath:[...e.currentPath,"items","items","0"]})||Ze(e),i=Y(t.valueType._def,{...e,currentPath:[...e.currentPath,"items","items","1"]})||Ze(e);return{type:"array",maxItems:125,items:{type:"array",items:[n,i],minItems:2,maxItems:2}}}function gO(t){let e=t.values,i=Object.keys(t.values).filter(r=>typeof e[e[r]]!="number").map(r=>e[r]),a=Array.from(new Set(i.map(r=>typeof r)));return{type:a.length===1?a[0]==="string"?"string":"number":["string","number"],enum:i}}function mO(t){return t.target==="openAi"?void 0:{not:Ze({...t,currentPath:[...t.currentPath,"not"]})}}function fO(t){return t.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var go={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function vO(t,e){if(e.target==="openApi3")return wO(t,e);let n=t.options instanceof Map?Array.from(t.options.values()):t.options;if(n.every(i=>i._def.typeName in go&&(!i._def.checks||!i._def.checks.length))){let i=n.reduce((a,r)=>{let s=go[r._def.typeName];return s&&!a.includes(s)?[...a,s]:a},[]);return{type:i.length>1?i:i[0]}}else if(n.every(i=>i._def.typeName==="ZodLiteral"&&!i.description)){let i=n.reduce((a,r)=>{let s=typeof r._def.value;switch(s){case"string":case"number":case"boolean":return[...a,s];case"bigint":return[...a,"integer"];case"object":if(r._def.value===null)return[...a,"null"];case"symbol":case"undefined":case"function":default:return a}},[]);if(i.length===n.length){let a=i.filter((r,s,o)=>o.indexOf(r)===s);return{type:a.length>1?a:a[0],enum:n.reduce((r,s)=>r.includes(s._def.value)?r:[...r,s._def.value],[])}}}else if(n.every(i=>i._def.typeName==="ZodEnum"))return{type:"string",enum:n.reduce((i,a)=>[...i,...a._def.values.filter(r=>!i.includes(r))],[])};return wO(t,e)}var wO=(t,e)=>{let n=(t.options instanceof Map?Array.from(t.options.values()):t.options).map((i,a)=>Y(i._def,{...e,currentPath:[...e.currentPath,"anyOf",`${a}`]})).filter(i=>!!i&&(!e.strictUnions||typeof i=="object"&&Object.keys(i).length>0));return n.length?{anyOf:n}:void 0};function CO(t,e){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(t.innerType._def.typeName)&&(!t.innerType._def.checks||!t.innerType._def.checks.length))return e.target==="openApi3"?{type:go[t.innerType._def.typeName],nullable:!0}:{type:[go[t.innerType._def.typeName],"null"]};if(e.target==="openApi3"){let i=Y(t.innerType._def,{...e,currentPath:[...e.currentPath]});return i&&"$ref"in i?{allOf:[i],nullable:!0}:i&&{...i,nullable:!0}}let n=Y(t.innerType._def,{...e,currentPath:[...e.currentPath,"anyOf","0"]});return n&&{anyOf:[n,{type:"null"}]}}function AO(t,e){let n={type:"number"};if(!t.checks)return n;for(let i of t.checks)switch(i.kind){case"int":n.type="integer",Om(n,"type",i.message,e);break;case"min":e.target==="jsonSchema7"?i.inclusive?Ce(n,"minimum",i.value,i.message,e):Ce(n,"exclusiveMinimum",i.value,i.message,e):(i.inclusive||(n.exclusiveMinimum=!0),Ce(n,"minimum",i.value,i.message,e));break;case"max":e.target==="jsonSchema7"?i.inclusive?Ce(n,"maximum",i.value,i.message,e):Ce(n,"exclusiveMaximum",i.value,i.message,e):(i.inclusive||(n.exclusiveMaximum=!0),Ce(n,"maximum",i.value,i.message,e));break;case"multipleOf":Ce(n,"multipleOf",i.value,i.message,e);break}return n}function bO(t,e){let n=e.target==="openAi",i={type:"object",properties:{}},a=[],r=t.shape();for(let o in r){let l=r[o];if(l===void 0||l._def===void 0)continue;let u=RN(l);u&&n&&(l._def.typeName==="ZodOptional"&&(l=l._def.innerType),l.isNullable()||(l=l.nullable()),u=!1);let c=Y(l._def,{...e,currentPath:[...e.currentPath,"properties",o],propertyPath:[...e.currentPath,"properties",o]});c!==void 0&&(i.properties[o]=c,u||a.push(o))}a.length&&(i.required=a);let s=IN(t,e);return s!==void 0&&(i.additionalProperties=s),i}function IN(t,e){if(t.catchall._def.typeName!=="ZodNever")return Y(t.catchall._def,{...e,currentPath:[...e.currentPath,"additionalProperties"]});switch(t.unknownKeys){case"passthrough":return e.allowedAdditionalProperties;case"strict":return e.rejectedAdditionalProperties;case"strip":return e.removeAdditionalStrategy==="strict"?e.allowedAdditionalProperties:e.rejectedAdditionalProperties}}function RN(t){try{return t.isOptional()}catch{return!0}}var yO=(t,e)=>{if(e.currentPath.toString()===e.propertyPath?.toString())return Y(t.innerType._def,e);let n=Y(t.innerType._def,{...e,currentPath:[...e.currentPath,"anyOf","1"]});return n?{anyOf:[{not:Ze(e)},n]}:Ze(e)};var PO=(t,e)=>{if(e.pipeStrategy==="input")return Y(t.in._def,e);if(e.pipeStrategy==="output")return Y(t.out._def,e);let n=Y(t.in._def,{...e,currentPath:[...e.currentPath,"allOf","0"]}),i=Y(t.out._def,{...e,currentPath:[...e.currentPath,"allOf",n?"1":"0"]});return{allOf:[n,i].filter(a=>a!==void 0)}};function jO(t,e){return Y(t.type._def,e)}function SO(t,e){let i={type:"array",uniqueItems:!0,items:Y(t.valueType._def,{...e,currentPath:[...e.currentPath,"items"]})};return t.minSize&&Ce(i,"minItems",t.minSize.value,t.minSize.message,e),t.maxSize&&Ce(i,"maxItems",t.maxSize.value,t.maxSize.message,e),i}function OO(t,e){return t.rest?{type:"array",minItems:t.items.length,items:t.items.map((n,i)=>Y(n._def,{...e,currentPath:[...e.currentPath,"items",`${i}`]})).reduce((n,i)=>i===void 0?n:[...n,i],[]),additionalItems:Y(t.rest._def,{...e,currentPath:[...e.currentPath,"additionalItems"]})}:{type:"array",minItems:t.items.length,maxItems:t.items.length,items:t.items.map((n,i)=>Y(n._def,{...e,currentPath:[...e.currentPath,"items",`${i}`]})).reduce((n,i)=>i===void 0?n:[...n,i],[])}}function xO(t){return{not:Ze(t)}}function TO(t){return Ze(t)}var MO=(t,e)=>Y(t.innerType._def,e);var EO=(t,e,n)=>{switch(e){case E.ZodString:return Qu(t,n);case E.ZodNumber:return AO(t,n);case E.ZodObject:return bO(t,n);case E.ZodBigInt:return aO(t,n);case E.ZodBoolean:return rO();case E.ZodDate:return xm(t,n);case E.ZodUndefined:return xO(n);case E.ZodNull:return fO(n);case E.ZodArray:return tO(t,n);case E.ZodUnion:case E.ZodDiscriminatedUnion:return vO(t,n);case E.ZodIntersection:return cO(t,n);case E.ZodTuple:return OO(t,n);case E.ZodRecord:return Yu(t,n);case E.ZodLiteral:return pO(t,n);case E.ZodEnum:return uO(t);case E.ZodNativeEnum:return gO(t);case E.ZodNullable:return CO(t,n);case E.ZodOptional:return yO(t,n);case E.ZodMap:return hO(t,n);case E.ZodSet:return SO(t,n);case E.ZodLazy:return()=>t.getter()._def;case E.ZodPromise:return jO(t,n);case E.ZodNaN:case E.ZodNever:return mO(n);case E.ZodEffects:return lO(t,n);case E.ZodAny:return Ze(n);case E.ZodUnknown:return TO(n);case E.ZodDefault:return oO(t,n);case E.ZodBranded:return Ku(t,n);case E.ZodReadonly:return MO(t,n);case E.ZodCatch:return sO(t,n);case E.ZodPipeline:return PO(t,n);case E.ZodFunction:case E.ZodVoid:case E.ZodSymbol:return;default:return(i=>{})(e)}};function Y(t,e,n=!1){let i=e.seen.get(t);if(e.override){let o=e.override?.(t,e,i,n);if(o!==eO)return o}if(i&&!n){let o=zN(i,e);if(o!==void 0)return o}let a={def:t,path:e.currentPath,jsonSchema:void 0};e.seen.set(t,a);let r=EO(t,t.typeName,e),s=typeof r=="function"?Y(r(),e):r;if(s&&DN(t,e,s),e.postProcess){let o=e.postProcess(s,t,e);return a.jsonSchema=s,o}return a.jsonSchema=s,s}var zN=(t,e)=>{switch(e.$refStrategy){case"root":return{$ref:t.path.join("/")};case"relative":return{$ref:Zu(e.currentPath,t.path)};case"none":case"seen":return t.path.lengthe.currentPath[i]===n)?(console.warn(`Recursive reference detected at ${e.currentPath.join("/")}! Defaulting to any`),Ze(e)):e.$refStrategy==="seen"?Ze(e):void 0}},DN=(t,e,n)=>(t.description&&(n.description=t.description,e.markdownDescription&&(n.markdownDescription=t.description)),n);var Em=(t,e)=>{let n=iO(e),i=typeof e=="object"&&e.definitions?Object.entries(e.definitions).reduce((l,[u,c])=>({...l,[u]:Y(c._def,{...n,currentPath:[...n.basePath,n.definitionPath,u]},!0)??Ze(n)}),{}):void 0,a=typeof e=="string"?e:e?.nameStrategy==="title"?void 0:e?.name,r=Y(t._def,a===void 0?n:{...n,currentPath:[...n.basePath,n.definitionPath,a]},!1)??Ze(n),s=typeof e=="object"&&e.name!==void 0&&e.nameStrategy==="title"?e.name:void 0;s!==void 0&&(r.title=s),n.flags.hasReferencedOpenAiAnyType&&(i||(i={}),i[n.openAiAnyTypeName]||(i[n.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:n.$refStrategy==="relative"?"1":[...n.basePath,n.definitionPath,n.openAiAnyTypeName].join("/")}}));let o=a===void 0?i?{...r,[n.definitionPath]:i}:r:{$ref:[...n.$refStrategy==="relative"?[]:n.basePath,n.definitionPath,a].join("/"),[n.definitionPath]:{...i,[a]:r}};return n.target==="jsonSchema7"?o.$schema="http://json-schema.org/draft-07/schema#":(n.target==="jsonSchema2019-09"||n.target==="openAi")&&(o.$schema="https://json-schema.org/draft/2019-09/schema#"),n.target==="openAi"&&("anyOf"in o||"oneOf"in o||"allOf"in o||"type"in o&&Array.isArray(o.type))&&console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property."),o};function GN(t){return!t||t==="jsonSchema7"||t==="draft-7"?"draft-7":t==="jsonSchema2019-09"||t==="draft-2020-12"?"draft-2020-12":"draft-7"}function km(t,e){return Wi(t)?em(t,{target:GN(e?.target),io:e?.pipeStrategy??"input"}):Em(t,{strictUnions:e?.strictUnions??!0,pipeStrategy:e?.pipeStrategy??"input"})}function qm(t){let n=It(t)?.method;if(!n)throw new Error("Schema is missing a method literal");let i=Er(n);if(typeof i!="string")throw new Error("Schema method literal must be a string");return i}function _m(t,e){let n=Ht(t,e);if(!n.success)throw n.error;return n.data}var $N=6e4,Xu=class{constructor(e){this._options=e,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(qu,n=>{this._oncancel(n)}),this.setNotificationHandler(Hu,n=>{this._onprogress(n)}),this.setRequestHandler(_u,n=>({})),this._taskStore=e?.taskStore,this._taskMessageQueue=e?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(Iu,async(n,i)=>{let a=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!a)throw new L(V.InvalidParams,"Failed to retrieve task: Task not found");return{...a}}),this.setRequestHandler(zu,async(n,i)=>{let a=async()=>{let r=n.params.taskId;if(this._taskMessageQueue){let o;for(;o=await this._taskMessageQueue.dequeue(r,i.sessionId);){if(o.type==="response"||o.type==="error"){let l=o.message,u=l.id,c=this._requestResolvers.get(u);if(c)if(this._requestResolvers.delete(u),o.type==="response")c(l);else{let p=l,h=new L(p.error.code,p.error.message,p.error.data);c(h)}else{let p=o.type==="response"?"Response":"Error";this._onerror(new Error(`${p} handler missing for request ${u}`))}continue}await this._transport?.send(o.message,{relatedRequestId:i.requestId})}}let s=await this._taskStore.getTask(r,i.sessionId);if(!s)throw new L(V.InvalidParams,`Task not found: ${r}`);if(!zt(s.status))return await this._waitForTaskUpdate(r,i.signal),await a();if(zt(s.status)){let o=await this._taskStore.getTaskResult(r,i.sessionId);return this._clearTaskQueue(r),{...o,_meta:{...o._meta,[Rt]:{taskId:r}}}}return await a()};return await a()}),this.setRequestHandler(Du,async(n,i)=>{try{let{tasks:a,nextCursor:r}=await this._taskStore.listTasks(n.params?.cursor,i.sessionId);return{tasks:a,nextCursor:r,_meta:{}}}catch(a){throw new L(V.InvalidParams,`Failed to list tasks: ${a instanceof Error?a.message:String(a)}`)}}),this.setRequestHandler($u,async(n,i)=>{try{let a=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!a)throw new L(V.InvalidParams,`Task not found: ${n.params.taskId}`);if(zt(a.status))throw new L(V.InvalidParams,`Cannot cancel task in terminal status: ${a.status}`);await this._taskStore.updateTaskStatus(n.params.taskId,"cancelled","Client cancelled task execution.",i.sessionId),this._clearTaskQueue(n.params.taskId);let r=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!r)throw new L(V.InvalidParams,`Task not found after cancellation: ${n.params.taskId}`);return{_meta:{},...r}}catch(a){throw a instanceof L?a:new L(V.InvalidRequest,`Failed to cancel task: ${a instanceof Error?a.message:String(a)}`)}}))}async _oncancel(e){if(!e.params.requestId)return;this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,n,i,a,r=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(a,n),startTime:Date.now(),timeout:n,maxTotalTimeout:i,resetTimeoutOnProgress:r,onTimeout:a})}_resetTimeout(e){let n=this._timeoutInfo.get(e);if(!n)return!1;let i=Date.now()-n.startTime;if(n.maxTotalTimeout&&i>=n.maxTotalTimeout)throw this._timeoutInfo.delete(e),L.fromError(V.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:n.maxTotalTimeout,totalElapsed:i});return clearTimeout(n.timeoutId),n.timeoutId=setTimeout(n.onTimeout,n.timeout),!0}_cleanupTimeout(e){let n=this._timeoutInfo.get(e);n&&(clearTimeout(n.timeoutId),this._timeoutInfo.delete(e))}async connect(e){if(this._transport)throw new Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=e;let n=this.transport?.onclose;this._transport.onclose=()=>{n?.(),this._onclose()};let i=this.transport?.onerror;this._transport.onerror=r=>{i?.(r),this._onerror(r)};let a=this._transport?.onmessage;this._transport.onmessage=(r,s)=>{a?.(r,s),ao(r)||US(r)?this._onresponse(r):dm(r)?this._onrequest(r,s):NS(r)?this._onnotification(r):this._onerror(new Error(`Unknown message type: ${JSON.stringify(r)}`))},await this._transport.start()}_onclose(){let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let i of this._timeoutInfo.values())clearTimeout(i.timeoutId);this._timeoutInfo.clear();for(let i of this._requestHandlerAbortControllers.values())i.abort();this._requestHandlerAbortControllers.clear();let n=L.fromError(V.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(let i of e.values())i(n)}_onerror(e){this.onerror?.(e)}_onnotification(e){let n=this._notificationHandlers.get(e.method)??this.fallbackNotificationHandler;n!==void 0&&Promise.resolve().then(()=>n(e)).catch(i=>this._onerror(new Error(`Uncaught error in notification handler: ${i}`)))}_onrequest(e,n){let i=this._requestHandlers.get(e.method)??this.fallbackRequestHandler,a=this._transport,r=e.params?._meta?.[Rt]?.taskId;if(i===void 0){let c={jsonrpc:"2.0",id:e.id,error:{code:V.MethodNotFound,message:"Method not found"}};r&&this._taskMessageQueue?this._enqueueTaskMessage(r,{type:"error",message:c,timestamp:Date.now()},a?.sessionId).catch(p=>this._onerror(new Error(`Failed to enqueue error response: ${p}`))):a?.send(c).catch(p=>this._onerror(new Error(`Failed to send an error response: ${p}`)));return}let s=new AbortController;this._requestHandlerAbortControllers.set(e.id,s);let o=DS(e.params)?e.params.task:void 0,l=this._taskStore?this.requestTaskStore(e,a?.sessionId):void 0,u={signal:s.signal,sessionId:a?.sessionId,_meta:e.params?._meta,sendNotification:async c=>{if(s.signal.aborted)return;let p={relatedRequestId:e.id};r&&(p.relatedTask={taskId:r}),await this.notification(c,p)},sendRequest:async(c,p,h)=>{if(s.signal.aborted)throw new L(V.ConnectionClosed,"Request was cancelled");let d={...h,relatedRequestId:e.id};r&&!d.relatedTask&&(d.relatedTask={taskId:r});let g=d.relatedTask?.taskId??r;return g&&l&&await l.updateTaskStatus(g,"input_required"),await this.request(c,p,d)},authInfo:n?.authInfo,requestId:e.id,requestInfo:n?.requestInfo,taskId:r,taskStore:l,taskRequestedTtl:o?.ttl,closeSSEStream:n?.closeSSEStream,closeStandaloneSSEStream:n?.closeStandaloneSSEStream};Promise.resolve().then(()=>{o&&this.assertTaskHandlerCapability(e.method)}).then(()=>i(e,u)).then(async c=>{if(s.signal.aborted)return;let p={result:c,jsonrpc:"2.0",id:e.id};r&&this._taskMessageQueue?await this._enqueueTaskMessage(r,{type:"response",message:p,timestamp:Date.now()},a?.sessionId):await a?.send(p)},async c=>{if(s.signal.aborted)return;let p={jsonrpc:"2.0",id:e.id,error:{code:Number.isSafeInteger(c.code)?c.code:V.InternalError,message:c.message??"Internal error",...c.data!==void 0&&{data:c.data}}};r&&this._taskMessageQueue?await this._enqueueTaskMessage(r,{type:"error",message:p,timestamp:Date.now()},a?.sessionId):await a?.send(p)}).catch(c=>this._onerror(new Error(`Failed to send response: ${c}`))).finally(()=>{this._requestHandlerAbortControllers.get(e.id)===s&&this._requestHandlerAbortControllers.delete(e.id)})}_onprogress(e){let{progressToken:n,...i}=e.params,a=Number(n),r=this._progressHandlers.get(a);if(!r){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}let s=this._responseHandlers.get(a),o=this._timeoutInfo.get(a);if(o&&s&&o.resetTimeoutOnProgress)try{this._resetTimeout(a)}catch(l){this._responseHandlers.delete(a),this._progressHandlers.delete(a),this._cleanupTimeout(a),s(l);return}r(i)}_onresponse(e){let n=Number(e.id),i=this._requestResolvers.get(n);if(i){if(this._requestResolvers.delete(n),ao(e))i(e);else{let s=new L(e.error.code,e.error.message,e.error.data);i(s)}return}let a=this._responseHandlers.get(n);if(a===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(n),this._cleanupTimeout(n);let r=!1;if(ao(e)&&e.result&&typeof e.result=="object"){let s=e.result;if(s.task&&typeof s.task=="object"){let o=s.task;typeof o.taskId=="string"&&(r=!0,this._taskProgressTokens.set(o.taskId,n))}}if(r||this._progressHandlers.delete(n),ao(e))a(e);else{let s=L.fromError(e.error.code,e.error.message,e.error.data);a(s)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(e,n,i){let{task:a}=i??{};if(!a){try{yield{type:"result",result:await this.request(e,n,i)}}catch(s){yield{type:"error",error:s instanceof L?s:new L(V.InternalError,String(s))}}return}let r;try{let s=await this.request(e,qr,i);if(s.task)r=s.task.taskId,yield{type:"taskCreated",task:s.task};else throw new L(V.InternalError,"Task creation did not return a task");for(;;){let o=await this.getTask({taskId:r},i);if(yield{type:"taskStatus",task:o},zt(o.status)){o.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:r},n,i)}:o.status==="failed"?yield{type:"error",error:new L(V.InternalError,`Task ${r} failed`)}:o.status==="cancelled"&&(yield{type:"error",error:new L(V.InternalError,`Task ${r} was cancelled`)});return}if(o.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:r},n,i)};return}let l=o.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(u=>setTimeout(u,l)),i?.signal?.throwIfAborted()}}catch(s){yield{type:"error",error:s instanceof L?s:new L(V.InternalError,String(s))}}}request(e,n,i){let{relatedRequestId:a,resumptionToken:r,onresumptiontoken:s,task:o,relatedTask:l}=i??{};return new Promise((u,c)=>{let p=b=>{c(b)};if(!this._transport){p(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(e.method),o&&this.assertTaskCapability(e.method)}catch(b){p(b);return}i?.signal?.throwIfAborted();let h=this._requestMessageId++,d={...e,jsonrpc:"2.0",id:h};i?.onprogress&&(this._progressHandlers.set(h,i.onprogress),d.params={...e.params,_meta:{...e.params?._meta||{},progressToken:h}}),o&&(d.params={...d.params,task:o}),l&&(d.params={...d.params,_meta:{...d.params?._meta||{},[Rt]:l}});let g=b=>{this._responseHandlers.delete(h),this._progressHandlers.delete(h),this._cleanupTimeout(h),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:h,reason:String(b)}},{relatedRequestId:a,resumptionToken:r,onresumptiontoken:s}).catch(y=>this._onerror(new Error(`Failed to send cancellation: ${y}`)));let A=b instanceof L?b:new L(V.RequestTimeout,String(b));c(A)};this._responseHandlers.set(h,b=>{if(!i?.signal?.aborted){if(b instanceof Error)return c(b);try{let A=Ht(n,b.result);A.success?u(A.data):c(A.error)}catch(A){c(A)}}}),i?.signal?.addEventListener("abort",()=>{g(i?.signal?.reason)});let m=i?.timeout??$N,f=()=>g(L.fromError(V.RequestTimeout,"Request timed out",{timeout:m}));this._setupTimeout(h,m,i?.maxTotalTimeout,f,i?.resetTimeoutOnProgress??!1);let w=l?.taskId;if(w){let b=A=>{let y=this._responseHandlers.get(h);y?y(A):this._onerror(new Error(`Response handler missing for side-channeled request ${h}`))};this._requestResolvers.set(h,b),this._enqueueTaskMessage(w,{type:"request",message:d,timestamp:Date.now()}).catch(A=>{this._cleanupTimeout(h),c(A)})}else this._transport.send(d,{relatedRequestId:a,resumptionToken:r,onresumptiontoken:s}).catch(b=>{this._cleanupTimeout(h),c(b)})})}async getTask(e,n){return this.request({method:"tasks/get",params:e},Ru,n)}async getTaskResult(e,n,i){return this.request({method:"tasks/result",params:e},n,i)}async listTasks(e,n){return this.request({method:"tasks/list",params:e},Gu,n)}async cancelTask(e,n){return this.request({method:"tasks/cancel",params:e},BS,n)}async notification(e,n){if(!this._transport)throw new Error("Not connected");this.assertNotificationCapability(e.method);let i=n?.relatedTask?.taskId;if(i){let o={...e,jsonrpc:"2.0",params:{...e.params,_meta:{...e.params?._meta||{},[Rt]:n.relatedTask}}};await this._enqueueTaskMessage(i,{type:"notification",message:o,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(e.method)&&!e.params&&!n?.relatedRequestId&&!n?.relatedTask){if(this._pendingDebouncedNotifications.has(e.method))return;this._pendingDebouncedNotifications.add(e.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(e.method),!this._transport)return;let o={...e,jsonrpc:"2.0"};n?.relatedTask&&(o={...o,params:{...o.params,_meta:{...o.params?._meta||{},[Rt]:n.relatedTask}}}),this._transport?.send(o,n).catch(l=>this._onerror(l))});return}let s={...e,jsonrpc:"2.0"};n?.relatedTask&&(s={...s,params:{...s.params,_meta:{...s.params?._meta||{},[Rt]:n.relatedTask}}}),await this._transport.send(s,n)}setRequestHandler(e,n){let i=qm(e);this.assertRequestHandlerCapability(i),this._requestHandlers.set(i,(a,r)=>{let s=_m(e,a);return Promise.resolve(n(s,r))})}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,n){let i=qm(e);this._notificationHandlers.set(i,a=>{let r=_m(e,a);return Promise.resolve(n(r))})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}_cleanupTaskProgressHandler(e){let n=this._taskProgressTokens.get(e);n!==void 0&&(this._progressHandlers.delete(n),this._taskProgressTokens.delete(e))}async _enqueueTaskMessage(e,n,i){if(!this._taskStore||!this._taskMessageQueue)throw new Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let a=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(e,n,i,a)}async _clearTaskQueue(e,n){if(this._taskMessageQueue){let i=await this._taskMessageQueue.dequeueAll(e,n);for(let a of i)if(a.type==="request"&&dm(a.message)){let r=a.message.id,s=this._requestResolvers.get(r);s?(s(new L(V.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(r)):this._onerror(new Error(`Resolver missing for request ${r} during task ${e} cleanup`))}}}async _waitForTaskUpdate(e,n){let i=this._options?.defaultTaskPollInterval??1e3;try{let a=await this._taskStore?.getTask(e);a?.pollInterval&&(i=a.pollInterval)}catch{}return new Promise((a,r)=>{if(n.aborted){r(new L(V.InvalidRequest,"Request cancelled"));return}let s=setTimeout(a,i);n.addEventListener("abort",()=>{clearTimeout(s),r(new L(V.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore(e,n){let i=this._taskStore;if(!i)throw new Error("No task store configured");return{createTask:async a=>{if(!e)throw new Error("No request provided");return await i.createTask(a,e.id,{method:e.method,params:e.params},n)},getTask:async a=>{let r=await i.getTask(a,n);if(!r)throw new L(V.InvalidParams,"Failed to retrieve task: Task not found");return r},storeTaskResult:async(a,r,s)=>{await i.storeTaskResult(a,r,s,n);let o=await i.getTask(a,n);if(o){let l=uo.parse({method:"notifications/tasks/status",params:o});await this.notification(l),zt(o.status)&&this._cleanupTaskProgressHandler(a)}},getTaskResult:a=>i.getTaskResult(a,n),updateTaskStatus:async(a,r,s)=>{let o=await i.getTask(a,n);if(!o)throw new L(V.InvalidParams,`Task "${a}" not found - it may have been cleaned up`);if(zt(o.status))throw new L(V.InvalidParams,`Cannot update task "${a}" from terminal status "${o.status}" to "${r}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await i.updateTaskStatus(a,r,s,n);let l=await i.getTask(a,n);if(l){let u=uo.parse({method:"notifications/tasks/status",params:l});await this.notification(u),zt(l.status)&&this._cleanupTaskProgressHandler(a)}},listTasks:a=>i.listTasks(a,n)}}};function kO(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function qO(t,e){let n={...t};for(let i in e){let a=i,r=e[a];if(r===void 0)continue;let s=n[a];kO(s)&&kO(r)?n[a]={...s,...r}:n[a]=r}return n}var yM=gr(Aw(),1),PM=gr(bM(),1);function BV(){let t=new yM.default({strict:!1,validateFormats:!0,validateSchema:!1,allErrors:!0});return(0,PM.default)(t),t}var Rc=class{constructor(e){this._ajv=e??BV()}getValidator(e){let n="$id"in e&&typeof e.$id=="string"?this._ajv.getSchema(e.$id)??this._ajv.compile(e):this._ajv.compile(e);return i=>n(i)?{valid:!0,data:i,errorMessage:void 0}:{valid:!1,data:void 0,errorMessage:this._ajv.errorsText(n.errors)}}};var zc=class{constructor(e){this._server=e}requestStream(e,n,i){return this._server.requestStream(e,n,i)}createMessageStream(e,n){let i=this._server.getClientCapabilities();if((e.tools||e.toolChoice)&&!i?.sampling?.tools)throw new Error("Client does not support sampling tools capability.");if(e.messages.length>0){let a=e.messages[e.messages.length-1],r=Array.isArray(a.content)?a.content:[a.content],s=r.some(c=>c.type==="tool_result"),o=e.messages.length>1?e.messages[e.messages.length-2]:void 0,l=o?Array.isArray(o.content)?o.content:[o.content]:[],u=l.some(c=>c.type==="tool_use");if(s){if(r.some(c=>c.type!=="tool_result"))throw new Error("The last message must contain only tool_result content if any is present");if(!u)throw new Error("tool_result blocks are not matching any tool_use from the previous message")}if(u){let c=new Set(l.filter(h=>h.type==="tool_use").map(h=>h.id)),p=new Set(r.filter(h=>h.type==="tool_result").map(h=>h.toolUseId));if(c.size!==p.size||![...c].every(h=>p.has(h)))throw new Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return this.requestStream({method:"sampling/createMessage",params:e},ho,n)}elicitInputStream(e,n){let i=this._server.getClientCapabilities(),a=e.mode??"form";switch(a){case"url":{if(!i?.elicitation?.url)throw new Error("Client does not support url elicitation.");break}case"form":{if(!i?.elicitation?.form)throw new Error("Client does not support form elicitation.");break}}let r=a==="form"&&e.mode===void 0?{...e,mode:"form"}:e;return this.requestStream({method:"elicitation/create",params:r},Ir,n)}async getTask(e,n){return this._server.getTask({taskId:e},n)}async getTaskResult(e,n,i){return this._server.getTaskResult({taskId:e},n,i)}async listTasks(e,n){return this._server.listTasks(e?{cursor:e}:void 0,n)}async cancelTask(e,n){return this._server.cancelTask({taskId:e},n)}};function jM(t,e,n){if(!t)throw new Error(`${n} does not support task creation (required for ${e})`);switch(e){case"tools/call":if(!t.tools?.call)throw new Error(`${n} does not support task creation for tools/call (required for ${e})`);break;default:break}}function SM(t,e,n){if(!t)throw new Error(`${n} does not support task creation (required for ${e})`);switch(e){case"sampling/createMessage":if(!t.sampling?.createMessage)throw new Error(`${n} does not support task creation for sampling/createMessage (required for ${e})`);break;case"elicitation/create":if(!t.elicitation?.create)throw new Error(`${n} does not support task creation for elicitation/create (required for ${e})`);break;default:break}}var Dc=class extends Xu{constructor(e,n){super(n),this._serverInfo=e,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(po.options.map((i,a)=>[i,a])),this.isMessageIgnored=(i,a)=>{let r=this._loggingLevels.get(a);return r?this.LOG_LEVEL_SEVERITY.get(i)this._oninitialize(i)),this.setNotificationHandler(fm,()=>this.oninitialized?.()),this._capabilities.logging&&this.setRequestHandler(Pm,async(i,a)=>{let r=a.sessionId||a.requestInfo?.headers["mcp-session-id"]||void 0,{level:s}=i.params,o=po.safeParse(s);return o.success&&this._loggingLevels.set(r,o.data),{}})}get experimental(){return this._experimental||(this._experimental={tasks:new zc(this)}),this._experimental}registerCapabilities(e){if(this.transport)throw new Error("Cannot register capabilities after connecting to transport");this._capabilities=qO(this._capabilities,e)}setRequestHandler(e,n){let a=It(e)?.method;if(!a)throw new Error("Schema is missing a method literal");let r=Er(a);if(typeof r!="string")throw new Error("Schema method literal must be a string");if(r==="tools/call"){let o=async(l,u)=>{let c=Ht(Hr,l);if(!c.success){let g=c.error instanceof Error?c.error.message:String(c.error);throw new L(V.InvalidParams,`Invalid tools/call request: ${g}`)}let{params:p}=c.data,h=await Promise.resolve(n(l,u));if(p.task){let g=Ht(qr,h);if(!g.success){let m=g.error instanceof Error?g.error.message:String(g.error);throw new L(V.InvalidParams,`Invalid task creation result: ${m}`)}return g.data}let d=Ht(Vu,h);if(!d.success){let g=d.error instanceof Error?d.error.message:String(d.error);throw new L(V.InvalidParams,`Invalid tools/call result: ${g}`)}return d.data};return super.setRequestHandler(e,o)}return super.setRequestHandler(e,n)}assertCapabilityForMethod(e){switch(e){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw new Error(`Client does not support sampling (required for ${e})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw new Error(`Client does not support elicitation (required for ${e})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw new Error(`Client does not support listing roots (required for ${e})`);break;case"ping":break}}assertNotificationCapability(e){switch(e){case"notifications/message":if(!this._capabilities.logging)throw new Error(`Server does not support logging (required for ${e})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw new Error(`Server does not support notifying about resources (required for ${e})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw new Error(`Server does not support notifying of tool list changes (required for ${e})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw new Error(`Server does not support notifying of prompt list changes (required for ${e})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw new Error(`Client does not support URL elicitation (required for ${e})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability(e){if(this._capabilities)switch(e){case"completion/complete":if(!this._capabilities.completions)throw new Error(`Server does not support completions (required for ${e})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw new Error(`Server does not support logging (required for ${e})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw new Error(`Server does not support prompts (required for ${e})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw new Error(`Server does not support resources (required for ${e})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw new Error(`Server does not support tools (required for ${e})`);break;case"tasks/get":case"tasks/list":case"tasks/result":case"tasks/cancel":if(!this._capabilities.tasks)throw new Error(`Server does not support tasks capability (required for ${e})`);break;case"ping":case"initialize":break}}assertTaskCapability(e){SM(this._clientCapabilities?.tasks?.requests,e,"Client")}assertTaskHandlerCapability(e){this._capabilities&&jM(this._capabilities.tasks?.requests,e,"Server")}async _oninitialize(e){let n=e.params.protocolVersion;return this._clientCapabilities=e.params.capabilities,this._clientVersion=e.params.clientInfo,{protocolVersion:IS.includes(n)?n:cm,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getCapabilities(){return this._capabilities}async ping(){return this.request({method:"ping"},ku)}async createMessage(e,n){if((e.tools||e.toolChoice)&&!this._clientCapabilities?.sampling?.tools)throw new Error("Client does not support sampling tools capability.");if(e.messages.length>0){let i=e.messages[e.messages.length-1],a=Array.isArray(i.content)?i.content:[i.content],r=a.some(u=>u.type==="tool_result"),s=e.messages.length>1?e.messages[e.messages.length-2]:void 0,o=s?Array.isArray(s.content)?s.content:[s.content]:[],l=o.some(u=>u.type==="tool_use");if(r){if(a.some(u=>u.type!=="tool_result"))throw new Error("The last message must contain only tool_result content if any is present");if(!l)throw new Error("tool_result blocks are not matching any tool_use from the previous message")}if(l){let u=new Set(o.filter(p=>p.type==="tool_use").map(p=>p.id)),c=new Set(a.filter(p=>p.type==="tool_result").map(p=>p.toolUseId));if(u.size!==c.size||![...u].every(p=>c.has(p)))throw new Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return e.tools?this.request({method:"sampling/createMessage",params:e},jm,n):this.request({method:"sampling/createMessage",params:e},ho,n)}async elicitInput(e,n){switch(e.mode??"form"){case"url":{if(!this._clientCapabilities?.elicitation?.url)throw new Error("Client does not support url elicitation.");let a=e;return this.request({method:"elicitation/create",params:a},Ir,n)}case"form":{if(!this._clientCapabilities?.elicitation?.form)throw new Error("Client does not support form elicitation.");let a=e.mode==="form"?e:{...e,mode:"form"},r=await this.request({method:"elicitation/create",params:a},Ir,n);if(r.action==="accept"&&r.content&&a.requestedSchema)try{let o=this._jsonSchemaValidator.getValidator(a.requestedSchema)(r.content);if(!o.valid)throw new L(V.InvalidParams,`Elicitation response content does not match requested schema: ${o.errorMessage}`)}catch(s){throw s instanceof L?s:new L(V.InternalError,`Error validating elicitation response: ${s instanceof Error?s.message:String(s)}`)}return r}}}createElicitationCompletionNotifier(e,n){if(!this._clientCapabilities?.elicitation?.url)throw new Error("Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:e}},n)}async listRoots(e,n){return this.request({method:"roots/list",params:e},Sm,n)}async sendLoggingMessage(e,n){if(this._capabilities.logging&&!this.isMessageIgnored(e.level,n))return this.notification({method:"notifications/message",params:e})}async sendResourceUpdated(e){return this.notification({method:"notifications/resources/updated",params:e})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}};var xM=Symbol.for("mcp.completable");function Tw(t){return!!t&&typeof t=="object"&&xM in t}function TM(t){return t[xM]?.complete}var OM;(function(t){t.Completable="McpCompletable"})(OM||(OM={}));var FV=/^[A-Za-z0-9._-]{1,128}$/;function VV(t){let e=[];if(t.length===0)return{isValid:!1,warnings:["Tool name cannot be empty"]};if(t.length>128)return{isValid:!1,warnings:[`Tool name exceeds maximum length of 128 characters (current: ${t.length})`]};if(t.includes(" ")&&e.push("Tool name contains spaces, which may cause parsing issues"),t.includes(",")&&e.push("Tool name contains commas, which may cause parsing issues"),(t.startsWith("-")||t.endsWith("-"))&&e.push("Tool name starts or ends with a dash, which may cause parsing issues in some contexts"),(t.startsWith(".")||t.endsWith("."))&&e.push("Tool name starts or ends with a dot, which may cause parsing issues in some contexts"),!FV.test(t)){let n=t.split("").filter(i=>!/[A-Za-z0-9._-]/.test(i)).filter((i,a,r)=>r.indexOf(i)===a);return e.push(`Tool name contains invalid characters: ${n.map(i=>`"${i}"`).join(", ")}`,"Allowed characters are: A-Z, a-z, 0-9, underscore (_), dash (-), and dot (.)"),{isValid:!1,warnings:e}}return{isValid:!0,warnings:e}}function JV(t,e){if(e.length>0){console.warn(`Tool name validation warning for "${t}":`);for(let n of e)console.warn(` - ${n}`);console.warn("Tool registration will proceed, but this may cause compatibility issues."),console.warn("Consider updating the tool name to conform to the MCP tool naming standard."),console.warn("See SEP: Specify Format for Tool Names (https://github.com/modelcontextprotocol/modelcontextprotocol/issues/986) for more details.")}}function Mw(t){let e=VV(t);return JV(t,e.warnings),e.isValid}var Gc=class{constructor(e){this._mcpServer=e}registerToolTask(e,n,i){let a={taskSupport:"required",...n.execution};if(a.taskSupport==="forbidden")throw new Error(`Cannot register task-based tool '${e}' with taskSupport 'forbidden'. Use registerTool() instead.`);return this._mcpServer._createRegisteredTool(e,n.title,n.description,n.inputSchema,n.outputSchema,n.annotations,a,n._meta,i)}};var $c=class{constructor(e,n){this._registeredResources={},this._registeredResourceTemplates={},this._registeredTools={},this._registeredPrompts={},this._toolHandlersInitialized=!1,this._completionHandlerInitialized=!1,this._resourceHandlersInitialized=!1,this._promptHandlersInitialized=!1,this.server=new Dc(e,n)}get experimental(){return this._experimental||(this._experimental={tasks:new Gc(this)}),this._experimental}async connect(e){return await this.server.connect(e)}async close(){await this.server.close()}setToolRequestHandlers(){this._toolHandlersInitialized||(this.server.assertCanSetRequestHandler(Ft(Fu)),this.server.assertCanSetRequestHandler(Ft(Hr)),this.server.registerCapabilities({tools:{listChanged:!0}}),this.server.setRequestHandler(Fu,()=>({tools:Object.entries(this._registeredTools).filter(([,e])=>e.enabled).map(([e,n])=>{let i={name:e,title:n.title,description:n.description,inputSchema:(()=>{let a=Mr(n.inputSchema);return a?km(a,{strictUnions:!0,pipeStrategy:"input"}):ZV})(),annotations:n.annotations,execution:n.execution,_meta:n._meta};if(n.outputSchema){let a=Mr(n.outputSchema);a&&(i.outputSchema=km(a,{strictUnions:!0,pipeStrategy:"output"}))}return i})})),this.server.setRequestHandler(Hr,async(e,n)=>{try{let i=this._registeredTools[e.params.name];if(!i)throw new L(V.InvalidParams,`Tool ${e.params.name} not found`);if(!i.enabled)throw new L(V.InvalidParams,`Tool ${e.params.name} disabled`);let a=!!e.params.task,r=i.execution?.taskSupport,s="createTask"in i.handler;if((r==="required"||r==="optional")&&!s)throw new L(V.InternalError,`Tool ${e.params.name} has taskSupport '${r}' but was not registered with registerToolTask`);if(r==="required"&&!a)throw new L(V.MethodNotFound,`Tool ${e.params.name} requires task augmentation (taskSupport: 'required')`);if(r==="optional"&&!a&&s)return await this.handleAutomaticTaskPolling(i,e,n);let o=await this.validateToolInput(i,e.params.arguments,e.params.name),l=await this.executeToolHandler(i,o,n);return a||await this.validateToolOutput(i,l,e.params.name),l}catch(i){if(i instanceof L&&i.code===V.UrlElicitationRequired)throw i;return this.createToolError(i instanceof Error?i.message:String(i))}}),this._toolHandlersInitialized=!0)}createToolError(e){return{content:[{type:"text",text:e}],isError:!0}}async validateToolInput(e,n,i){if(!e.inputSchema)return;let r=Mr(e.inputSchema)??e.inputSchema,s=await Pu(r,n);if(!s.success){let o="error"in s?s.error:"Unknown error",l=ju(o);throw new L(V.InvalidParams,`Input validation error: Invalid arguments for tool ${i}: ${l}`)}return s.data}async validateToolOutput(e,n,i){if(!e.outputSchema||!("content"in n)||n.isError)return;if(!n.structuredContent)throw new L(V.InvalidParams,`Output validation error: Tool ${i} has an output schema but no structured content was provided`);let a=Mr(e.outputSchema),r=await Pu(a,n.structuredContent);if(!r.success){let s="error"in r?r.error:"Unknown error",o=ju(s);throw new L(V.InvalidParams,`Output validation error: Invalid structured content for tool ${i}: ${o}`)}}async executeToolHandler(e,n,i){let a=e.handler;if("createTask"in a){if(!i.taskStore)throw new Error("No task store provided.");let s={...i,taskStore:i.taskStore};if(e.inputSchema){let o=a;return await Promise.resolve(o.createTask(n,s))}else{let o=a;return await Promise.resolve(o.createTask(s))}}if(e.inputSchema){let s=a;return await Promise.resolve(s(n,i))}else{let s=a;return await Promise.resolve(s(i))}}async handleAutomaticTaskPolling(e,n,i){if(!i.taskStore)throw new Error("No task store provided for task-capable tool.");let a=await this.validateToolInput(e,n.params.arguments,n.params.name),r=e.handler,s={...i,taskStore:i.taskStore},o=a?await Promise.resolve(r.createTask(a,s)):await Promise.resolve(r.createTask(s)),l=o.task.taskId,u=o.task,c=u.pollInterval??5e3;for(;u.status!=="completed"&&u.status!=="failed"&&u.status!=="cancelled";){await new Promise(h=>setTimeout(h,c));let p=await i.taskStore.getTask(l);if(!p)throw new L(V.InternalError,`Task ${l} not found during polling`);u=p}return await i.taskStore.getTaskResult(l)}setCompletionRequestHandler(){this._completionHandlerInitialized||(this.server.assertCanSetRequestHandler(Ft(Ju)),this.server.registerCapabilities({completions:{}}),this.server.setRequestHandler(Ju,async e=>{switch(e.params.ref.type){case"ref/prompt":return QS(e),this.handlePromptCompletion(e,e.params.ref);case"ref/resource":return YS(e),this.handleResourceCompletion(e,e.params.ref);default:throw new L(V.InvalidParams,`Invalid completion reference: ${e.params.ref}`)}}),this._completionHandlerInitialized=!0)}async handlePromptCompletion(e,n){let i=this._registeredPrompts[n.name];if(!i)throw new L(V.InvalidParams,`Prompt ${n.name} not found`);if(!i.enabled)throw new L(V.InvalidParams,`Prompt ${n.name} disabled`);if(!i.argsSchema)return Wo;let r=It(i.argsSchema)?.[e.params.argument.name];if(!Tw(r))return Wo;let s=TM(r);if(!s)return Wo;let o=await s(e.params.argument.value,e.params.context);return EM(o)}async handleResourceCompletion(e,n){let i=Object.values(this._registeredResourceTemplates).find(s=>s.resourceTemplate.uriTemplate.toString()===n.uri);if(!i){if(this._registeredResources[n.uri])return Wo;throw new L(V.InvalidParams,`Resource template ${e.params.ref.uri} not found`)}let a=i.resourceTemplate.completeCallback(e.params.argument.name);if(!a)return Wo;let r=await a(e.params.argument.value,e.params.context);return EM(r)}setResourceRequestHandlers(){this._resourceHandlersInitialized||(this.server.assertCanSetRequestHandler(Ft(Nu)),this.server.assertCanSetRequestHandler(Ft(Uu)),this.server.assertCanSetRequestHandler(Ft(Lu)),this.server.registerCapabilities({resources:{listChanged:!0}}),this.server.setRequestHandler(Nu,async(e,n)=>{let i=Object.entries(this._registeredResources).filter(([r,s])=>s.enabled).map(([r,s])=>({uri:r,name:s.name,...s.metadata})),a=[];for(let r of Object.values(this._registeredResourceTemplates)){if(!r.resourceTemplate.listCallback)continue;let s=await r.resourceTemplate.listCallback(n);for(let o of s.resources)a.push({...r.metadata,...o})}return{resources:[...i,...a]}}),this.server.setRequestHandler(Uu,async()=>({resourceTemplates:Object.entries(this._registeredResourceTemplates).map(([n,i])=>({name:n,uriTemplate:i.resourceTemplate.uriTemplate.toString(),...i.metadata}))})),this.server.setRequestHandler(Lu,async(e,n)=>{let i=new URL(e.params.uri),a=this._registeredResources[i.toString()];if(a){if(!a.enabled)throw new L(V.InvalidParams,`Resource ${i} disabled`);return a.readCallback(i,n)}for(let r of Object.values(this._registeredResourceTemplates)){let s=r.resourceTemplate.uriTemplate.match(i.toString());if(s)return r.readCallback(i,s,n)}throw new L(V.InvalidParams,`Resource ${i} not found`)}),this._resourceHandlersInitialized=!0)}setPromptRequestHandlers(){this._promptHandlersInitialized||(this.server.assertCanSetRequestHandler(Ft(Wu)),this.server.assertCanSetRequestHandler(Ft(Bu)),this.server.registerCapabilities({prompts:{listChanged:!0}}),this.server.setRequestHandler(Wu,()=>({prompts:Object.entries(this._registeredPrompts).filter(([,e])=>e.enabled).map(([e,n])=>({name:e,title:n.title,description:n.description,arguments:n.argsSchema?KV(n.argsSchema):void 0}))})),this.server.setRequestHandler(Bu,async(e,n)=>{let i=this._registeredPrompts[e.params.name];if(!i)throw new L(V.InvalidParams,`Prompt ${e.params.name} not found`);if(!i.enabled)throw new L(V.InvalidParams,`Prompt ${e.params.name} disabled`);if(i.argsSchema){let a=Mr(i.argsSchema),r=await Pu(a,e.params.arguments);if(!r.success){let l="error"in r?r.error:"Unknown error",u=ju(l);throw new L(V.InvalidParams,`Invalid arguments for prompt ${e.params.name}: ${u}`)}let s=r.data,o=i.callback;return await Promise.resolve(o(s,n))}else{let a=i.callback;return await Promise.resolve(a(n))}}),this._promptHandlersInitialized=!0)}resource(e,n,...i){let a;typeof i[0]=="object"&&(a=i.shift());let r=i[0];if(typeof n=="string"){if(this._registeredResources[n])throw new Error(`Resource ${n} is already registered`);let s=this._createRegisteredResource(e,void 0,n,a,r);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),s}else{if(this._registeredResourceTemplates[e])throw new Error(`Resource template ${e} is already registered`);let s=this._createRegisteredResourceTemplate(e,void 0,n,a,r);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),s}}registerResource(e,n,i,a){if(typeof n=="string"){if(this._registeredResources[n])throw new Error(`Resource ${n} is already registered`);let r=this._createRegisteredResource(e,i.title,n,i,a);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),r}else{if(this._registeredResourceTemplates[e])throw new Error(`Resource template ${e} is already registered`);let r=this._createRegisteredResourceTemplate(e,i.title,n,i,a);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),r}}_createRegisteredResource(e,n,i,a,r){let s={name:e,title:n,metadata:a,readCallback:r,enabled:!0,disable:()=>s.update({enabled:!1}),enable:()=>s.update({enabled:!0}),remove:()=>s.update({uri:null}),update:o=>{typeof o.uri<"u"&&o.uri!==i&&(delete this._registeredResources[i],o.uri&&(this._registeredResources[o.uri]=s)),typeof o.name<"u"&&(s.name=o.name),typeof o.title<"u"&&(s.title=o.title),typeof o.metadata<"u"&&(s.metadata=o.metadata),typeof o.callback<"u"&&(s.readCallback=o.callback),typeof o.enabled<"u"&&(s.enabled=o.enabled),this.sendResourceListChanged()}};return this._registeredResources[i]=s,s}_createRegisteredResourceTemplate(e,n,i,a,r){let s={resourceTemplate:i,title:n,metadata:a,readCallback:r,enabled:!0,disable:()=>s.update({enabled:!1}),enable:()=>s.update({enabled:!0}),remove:()=>s.update({name:null}),update:u=>{typeof u.name<"u"&&u.name!==e&&(delete this._registeredResourceTemplates[e],u.name&&(this._registeredResourceTemplates[u.name]=s)),typeof u.title<"u"&&(s.title=u.title),typeof u.template<"u"&&(s.resourceTemplate=u.template),typeof u.metadata<"u"&&(s.metadata=u.metadata),typeof u.callback<"u"&&(s.readCallback=u.callback),typeof u.enabled<"u"&&(s.enabled=u.enabled),this.sendResourceListChanged()}};this._registeredResourceTemplates[e]=s;let o=i.uriTemplate.variableNames;return Array.isArray(o)&&o.some(u=>!!i.completeCallback(u))&&this.setCompletionRequestHandler(),s}_createRegisteredPrompt(e,n,i,a,r){let s={title:n,description:i,argsSchema:a===void 0?void 0:Ma(a),callback:r,enabled:!0,disable:()=>s.update({enabled:!1}),enable:()=>s.update({enabled:!0}),remove:()=>s.update({name:null}),update:o=>{typeof o.name<"u"&&o.name!==e&&(delete this._registeredPrompts[e],o.name&&(this._registeredPrompts[o.name]=s)),typeof o.title<"u"&&(s.title=o.title),typeof o.description<"u"&&(s.description=o.description),typeof o.argsSchema<"u"&&(s.argsSchema=Ma(o.argsSchema)),typeof o.callback<"u"&&(s.callback=o.callback),typeof o.enabled<"u"&&(s.enabled=o.enabled),this.sendPromptListChanged()}};return this._registeredPrompts[e]=s,a&&Object.values(a).some(l=>{let u=l instanceof xu?l._def?.innerType:l;return Tw(u)})&&this.setCompletionRequestHandler(),s}_createRegisteredTool(e,n,i,a,r,s,o,l,u){Mw(e);let c={title:n,description:i,inputSchema:MM(a),outputSchema:MM(r),annotations:s,execution:o,_meta:l,handler:u,enabled:!0,disable:()=>c.update({enabled:!1}),enable:()=>c.update({enabled:!0}),remove:()=>c.update({name:null}),update:p=>{typeof p.name<"u"&&p.name!==e&&(typeof p.name=="string"&&Mw(p.name),delete this._registeredTools[e],p.name&&(this._registeredTools[p.name]=c)),typeof p.title<"u"&&(c.title=p.title),typeof p.description<"u"&&(c.description=p.description),typeof p.paramsSchema<"u"&&(c.inputSchema=Ma(p.paramsSchema)),typeof p.outputSchema<"u"&&(c.outputSchema=Ma(p.outputSchema)),typeof p.callback<"u"&&(c.handler=p.callback),typeof p.annotations<"u"&&(c.annotations=p.annotations),typeof p._meta<"u"&&(c._meta=p._meta),typeof p.enabled<"u"&&(c.enabled=p.enabled),this.sendToolListChanged()}};return this._registeredTools[e]=c,this.setToolRequestHandlers(),this.sendToolListChanged(),c}tool(e,...n){if(this._registeredTools[e])throw new Error(`Tool ${e} is already registered`);let i,a,r,s;if(typeof n[0]=="string"&&(i=n.shift()),n.length>1){let l=n[0];if(Ew(l))a=n.shift(),n.length>1&&typeof n[0]=="object"&&n[0]!==null&&!Ew(n[0])&&(s=n.shift());else if(typeof l=="object"&&l!==null){if(Object.values(l).some(u=>typeof u=="object"&&u!==null))throw new Error(`Tool ${e} expected a Zod schema or ToolAnnotations, but received an unrecognized object`);s=n.shift()}}let o=n[0];return this._createRegisteredTool(e,void 0,i,a,r,s,{taskSupport:"forbidden"},void 0,o)}registerTool(e,n,i){if(this._registeredTools[e])throw new Error(`Tool ${e} is already registered`);let{title:a,description:r,inputSchema:s,outputSchema:o,annotations:l,_meta:u}=n;return this._createRegisteredTool(e,a,r,s,o,l,{taskSupport:"forbidden"},u,i)}prompt(e,...n){if(this._registeredPrompts[e])throw new Error(`Prompt ${e} is already registered`);let i;typeof n[0]=="string"&&(i=n.shift());let a;n.length>1&&(a=n.shift());let r=n[0],s=this._createRegisteredPrompt(e,void 0,i,a,r);return this.setPromptRequestHandlers(),this.sendPromptListChanged(),s}registerPrompt(e,n,i){if(this._registeredPrompts[e])throw new Error(`Prompt ${e} is already registered`);let{title:a,description:r,argsSchema:s}=n,o=this._createRegisteredPrompt(e,a,r,s,i);return this.setPromptRequestHandlers(),this.sendPromptListChanged(),o}isConnected(){return this.server.transport!==void 0}async sendLoggingMessage(e,n){return this.server.sendLoggingMessage(e,n)}sendResourceListChanged(){this.isConnected()&&this.server.sendResourceListChanged()}sendToolListChanged(){this.isConnected()&&this.server.sendToolListChanged()}sendPromptListChanged(){this.isConnected()&&this.server.sendPromptListChanged()}};var ZV={type:"object",properties:{}};function kM(t){return t!==null&&typeof t=="object"&&"parse"in t&&typeof t.parse=="function"&&"safeParse"in t&&typeof t.safeParse=="function"}function qM(t){return"_def"in t||"_zod"in t||kM(t)}function Ew(t){return typeof t!="object"||t===null||qM(t)?!1:Object.keys(t).length===0?!0:Object.values(t).some(kM)}function MM(t){if(t){if(Ew(t))return Ma(t);if(!qM(t))throw new Error("inputSchema must be a Zod schema or raw shape, received an unrecognized object");return t}}function KV(t){let e=It(t);return e?Object.entries(e).map(([n,i])=>{let a=nS(i),r=iS(i);return{name:n,description:a,required:!r}}):[]}function Ft(t){let n=It(t)?.method;if(!n)throw new Error("Schema is missing a method literal");let i=Er(n);if(typeof i=="string")return i;throw new Error("Schema method literal must be a string")}function EM(t){return{completion:{values:t.slice(0,100),total:t.length,hasMore:t.length>100}}}var Wo={completion:{values:[],hasMore:!1}};var kw=gr(require("node:process"),1);var QV=10*1024*1024,Nc=class{constructor(e){this._maxBufferSize=e?.maxBufferSize??QV}append(e){if((this._buffer?.length??0)+e.length>this._maxBufferSize)throw this.clear(),new Error(`ReadBuffer exceeded maximum size of ${this._maxBufferSize} bytes`);this._buffer=this._buffer?Buffer.concat([this._buffer,e]):e}readMessage(){if(!this._buffer)return null;let e=this._buffer.indexOf(` -`);if(e===-1)return null;let n=this._buffer.toString("utf8",0,e).replace(/\r$/,"");return this._buffer=this._buffer.subarray(e+1),YV(n)}clear(){this._buffer=void 0}};function YV(t){return LS.parse(JSON.parse(t))}function _M(t){return JSON.stringify(t)+` -`}var Uc=class{constructor(e=kw.default.stdin,n=kw.default.stdout,i){this._stdin=e,this._stdout=n,this._started=!1,this._ondata=a=>{try{this._readBuffer.append(a),this.processReadBuffer()}catch(r){this.onerror?.(r),this.close().catch(()=>{})}},this._onerror=a=>{this.onerror?.(a)},this._readBuffer=new Nc({maxBufferSize:i?.maxBufferSize})}async start(){if(this._started)throw new Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror)}processReadBuffer(){for(;;)try{let e=this._readBuffer.readMessage();if(e===null)break;this.onmessage?.(e)}catch(e){this.onerror?.(e)}}async close(){this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),this._stdin.listenerCount("data")===0&&this._stdin.pause(),this._readBuffer.clear(),this.onclose?.()}send(e){return new Promise(n=>{let i=_M(e);this._stdout.write(i)?n():this._stdout.once("drain",n)})}};var _d=gr(iz());var az=require("node:child_process"),rz=gr(require("node:fs")),_y=gr(require("node:path"));var tz=12e4,Gee={flowFile:We.string().min(1).describe("Path to the TypeScript flow file")},sz=t=>({config:{description:`Deploys a Genesys Cloud Architect flow from a TypeScript file. The file must export an async buildFlow(scripting) function that creates and saves the flow using the Architect Scripting SDK. The project's package.json must have "type": "module" for the ES module import to work.`,annotations:{title:"Deploy Flow",readOnlyHint:!1,destructiveHint:!0},inputSchema:Gee},handler:async({flowFile:e})=>{let n=_y.default.resolve(e);if(!rz.default.existsSync(n))return{isError:!0,content:[{type:"text",text:`Flow file not found: ${n}`}]};let i=[t.deployScriptPath,"--flow-file",n];return new Promise(a=>{let r=[],s,o=!1,l=d=>{o||(o=!0,clearTimeout(c),a(d))},u=(0,az.spawn)("node",i,{env:{...process.env,GENESYS_REGION:t.region,GENESYS_CLIENT_ID:t.clientId,GENESYS_CLIENT_SECRET:t.clientSecret},cwd:_y.default.dirname(n),stdio:["ignore","pipe","pipe"]}),c=setTimeout(()=>{u.kill("SIGTERM"),l({isError:!0,content:[{type:"text",text:`Deploy timed out after ${tz/1e3}s. +Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let s of t.seen.entries()){let o=s[1];if(e===s[0]){r(s);continue}if(t.external){let u=t.external.registry.get(s[0])?.id;if(e!==s[0]&&u){r(s);continue}}if(t.metadataRegistry.get(s[0])?.id){r(s);continue}if(o.cycle){r(s);continue}if(o.count>1&&t.reused==="ref"){r(s);continue}}}function zs(t,e){let i=t.seen.get(e);if(!i)throw new Error("Unprocessed schema. This is a bug in Zod.");let n=o=>{let l=t.seen.get(o);if(l.ref===null)return;let u=l.def??l.schema,c={...u},p=l.ref;if(l.ref=null,p){n(p);let h=t.seen.get(p),g=h.schema;if(g.$ref&&(t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(g)):Object.assign(u,g),Object.assign(u,c),o._zod.parent===p)for(let f in u)f==="$ref"||f==="allOf"||f in c||delete u[f];if(g.$ref&&h.def)for(let f in u)f==="$ref"||f==="allOf"||f in h.def&&JSON.stringify(u[f])===JSON.stringify(h.def[f])&&delete u[f]}let d=o._zod.parent;if(d&&d!==p){n(d);let h=t.seen.get(d);if(h?.schema.$ref&&(u.$ref=h.schema.$ref,h.def))for(let g in u)g==="$ref"||g==="allOf"||g in h.def&&JSON.stringify(u[g])===JSON.stringify(h.def[g])&&delete u[g]}t.override({zodSchema:o,jsonSchema:u,path:l.path??[]})};for(let o of[...t.seen.entries()].reverse())n(o[0]);let a={};if(t.target==="draft-2020-12"?a.$schema="https://json-schema.org/draft/2020-12/schema":t.target==="draft-07"?a.$schema="http://json-schema.org/draft-07/schema#":t.target==="draft-04"?a.$schema="http://json-schema.org/draft-04/schema#":t.target,t.external?.uri){let o=t.external.registry.get(e)?.id;if(!o)throw new Error("Schema is missing an `id` property");a.$id=t.external.uri(o)}Object.assign(a,i.def??i.schema);let r=t.metadataRegistry.get(e)?.id;r!==void 0&&a.id===r&&delete a.id;let s=t.external?.defs??{};for(let o of t.seen.entries()){let l=o[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,s[l.defId]=l.def)}t.external||Object.keys(s).length>0&&(t.target==="draft-2020-12"?a.$defs=s:a.definitions=s);try{let o=JSON.parse(JSON.stringify(a));return Object.defineProperty(o,"~standard",{value:{...e["~standard"],jsonSchema:{input:Hs(e,"input",t.processors),output:Hs(e,"output",t.processors)}},enumerable:!1,writable:!1}),o}catch{throw new Error("Error converting schema to JSON.")}}function Ii(t,e){let i=e??{seen:new Set};if(i.seen.has(t))return!1;i.seen.add(t);let n=t._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return Ii(n.element,i);if(n.type==="set")return Ii(n.valueType,i);if(n.type==="lazy")return Ii(n.getter(),i);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault")return Ii(n.innerType,i);if(n.type==="intersection")return Ii(n.left,i)||Ii(n.right,i);if(n.type==="record"||n.type==="map")return Ii(n.keyType,i)||Ii(n.valueType,i);if(n.type==="pipe")return t._zod.traits.has("$ZodCodec")?!0:Ii(n.in,i)||Ii(n.out,i);if(n.type==="object"){for(let a in n.shape)if(Ii(n.shape[a],i))return!0;return!1}if(n.type==="union"){for(let a of n.options)if(Ii(a,i))return!0;return!1}if(n.type==="tuple"){for(let a of n.items)if(Ii(a,i))return!0;return!!(n.rest&&Ii(n.rest,i))}return!1}var qP=(t,e={})=>i=>{let n=Is({...i,processors:e});return He(t,n),Rs(n,t),zs(n,t)},Hs=(t,e,i={})=>n=>{let{libraryOptions:a,target:r}=n??{},s=Is({...a??{},target:r,io:e,processors:i});return He(t,s),Rs(s,t),zs(s,t)};var vz={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Kh=(t,e,i,n)=>{let a=i;a.type="string";let{minimum:r,maximum:s,format:o,patterns:l,contentEncoding:u}=t._zod.bag;if(typeof r=="number"&&(a.minLength=r),typeof s=="number"&&(a.maxLength=s),o&&(a.format=vz[o]??o,a.format===""&&delete a.format,o==="time"&&delete a.format),u&&(a.contentEncoding=u),l&&l.size>0){let c=[...l];c.length===1?a.pattern=c[0].source:c.length>1&&(a.allOf=[...c.map(p=>({...e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"?{type:"string"}:{},pattern:p.source}))])}},Qh=(t,e,i,n)=>{let a=i,{minimum:r,maximum:s,format:o,multipleOf:l,exclusiveMaximum:u,exclusiveMinimum:c}=t._zod.bag;typeof o=="string"&&o.includes("int")?a.type="integer":a.type="number";let p=typeof c=="number"&&c>=(r??Number.NEGATIVE_INFINITY),d=typeof u=="number"&&u<=(s??Number.POSITIVE_INFINITY),h=e.target==="draft-04"||e.target==="openapi-3.0";p?h?(a.minimum=c,a.exclusiveMinimum=!0):a.exclusiveMinimum=c:typeof r=="number"&&(a.minimum=r),d?h?(a.maximum=u,a.exclusiveMaximum=!0):a.exclusiveMaximum=u:typeof s=="number"&&(a.maximum=s),typeof l=="number"&&(a.multipleOf=l)},Yh=(t,e,i,n)=>{i.type="boolean"},HP=(t,e,i,n)=>{if(e.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},IP=(t,e,i,n)=>{if(e.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},Xh=(t,e,i,n)=>{e.target==="openapi-3.0"?(i.type="string",i.nullable=!0,i.enum=[null]):i.type="null"},RP=(t,e,i,n)=>{if(e.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},zP=(t,e,i,n)=>{if(e.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},eg=(t,e,i,n)=>{i.not={}},DP=(t,e,i,n)=>{},ig=(t,e,i,n)=>{},GP=(t,e,i,n)=>{if(e.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},ng=(t,e,i,n)=>{let a=t._zod.def,r=As(a.entries);r.every(s=>typeof s=="number")&&(i.type="number"),r.every(s=>typeof s=="string")&&(i.type="string"),i.enum=r},tg=(t,e,i,n)=>{let a=t._zod.def,r=[];for(let s of a.values)if(s===void 0){if(e.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof s=="bigint"){if(e.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");r.push(Number(s))}else r.push(s);if(r.length!==0)if(r.length===1){let s=r[0];i.type=s===null?"null":typeof s,e.target==="draft-04"||e.target==="openapi-3.0"?i.enum=[s]:i.const=s}else r.every(s=>typeof s=="number")&&(i.type="number"),r.every(s=>typeof s=="string")&&(i.type="string"),r.every(s=>typeof s=="boolean")&&(i.type="boolean"),r.every(s=>s===null)&&(i.type="null"),i.enum=r},$P=(t,e,i,n)=>{if(e.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},NP=(t,e,i,n)=>{let a=i,r=t._zod.pattern;if(!r)throw new Error("Pattern not found in template literal");a.type="string",a.pattern=r.source},UP=(t,e,i,n)=>{let a=i,r={type:"string",format:"binary",contentEncoding:"binary"},{minimum:s,maximum:o,mime:l}=t._zod.bag;s!==void 0&&(r.minLength=s),o!==void 0&&(r.maxLength=o),l?l.length===1?(r.contentMediaType=l[0],Object.assign(a,r)):(Object.assign(a,r),a.anyOf=l.map(u=>({contentMediaType:u}))):Object.assign(a,r)},WP=(t,e,i,n)=>{i.type="boolean"},ag=(t,e,i,n)=>{if(e.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},LP=(t,e,i,n)=>{if(e.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},rg=(t,e,i,n)=>{if(e.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},BP=(t,e,i,n)=>{if(e.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},FP=(t,e,i,n)=>{if(e.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},sg=(t,e,i,n)=>{let a=i,r=t._zod.def,{minimum:s,maximum:o}=t._zod.bag;typeof s=="number"&&(a.minItems=s),typeof o=="number"&&(a.maxItems=o),a.type="array",a.items=He(r.element,e,{...n,path:[...n.path,"items"]})},og=(t,e,i,n)=>{let a=i,r=t._zod.def;a.type="object",a.properties={};let s=r.shape;for(let u in s)a.properties[u]=He(s[u],e,{...n,path:[...n.path,"properties",u]});let o=new Set(Object.keys(s)),l=new Set([...o].filter(u=>{let c=r.shape[u]._zod;return e.io==="input"?c.optin===void 0:c.optout===void 0}));l.size>0&&(a.required=Array.from(l)),r.catchall?._zod.def.type==="never"?a.additionalProperties=!1:r.catchall?r.catchall&&(a.additionalProperties=He(r.catchall,e,{...n,path:[...n.path,"additionalProperties"]})):e.io==="output"&&(a.additionalProperties=!1)},lg=(t,e,i,n)=>{let a=t._zod.def,r=a.inclusive===!1,s=a.options.map((o,l)=>He(o,e,{...n,path:[...n.path,r?"oneOf":"anyOf",l]}));r?i.oneOf=s:i.anyOf=s},ug=(t,e,i,n)=>{let a=t._zod.def,r=He(a.left,e,{...n,path:[...n.path,"allOf",0]}),s=He(a.right,e,{...n,path:[...n.path,"allOf",1]}),o=u=>"allOf"in u&&Object.keys(u).length===1,l=[...o(r)?r.allOf:[r],...o(s)?s.allOf:[s]];i.allOf=l},VP=(t,e,i,n)=>{let a=i,r=t._zod.def;a.type="array";let s=e.target==="draft-2020-12"?"prefixItems":"items",o=e.target==="draft-2020-12"||e.target==="openapi-3.0"?"items":"additionalItems",l=r.items.map((d,h)=>He(d,e,{...n,path:[...n.path,s,h]})),u=r.rest?He(r.rest,e,{...n,path:[...n.path,o,...e.target==="openapi-3.0"?[r.items.length]:[]]}):null;e.target==="draft-2020-12"?(a.prefixItems=l,u&&(a.items=u)):e.target==="openapi-3.0"?(a.items={anyOf:l},u&&a.items.anyOf.push(u),a.minItems=l.length,u||(a.maxItems=l.length)):(a.items=l,u&&(a.additionalItems=u));let{minimum:c,maximum:p}=t._zod.bag;typeof c=="number"&&(a.minItems=c),typeof p=="number"&&(a.maxItems=p)},cg=(t,e,i,n)=>{let a=i,r=t._zod.def;a.type="object";let s=r.keyType,l=s._zod.bag?.patterns;if(r.mode==="loose"&&l&&l.size>0){let c=He(r.valueType,e,{...n,path:[...n.path,"patternProperties","*"]});a.patternProperties={};for(let p of l)a.patternProperties[p.source]=c}else(e.target==="draft-07"||e.target==="draft-2020-12")&&(a.propertyNames=He(r.keyType,e,{...n,path:[...n.path,"propertyNames"]})),a.additionalProperties=He(r.valueType,e,{...n,path:[...n.path,"additionalProperties"]});let u=s._zod.values;if(u){let c=[...u].filter(p=>typeof p=="string"||typeof p=="number");c.length>0&&(a.required=c)}},pg=(t,e,i,n)=>{let a=t._zod.def,r=He(a.innerType,e,n),s=e.seen.get(t);e.target==="openapi-3.0"?(s.ref=a.innerType,i.nullable=!0):i.anyOf=[r,{type:"null"}]},dg=(t,e,i,n)=>{let a=t._zod.def;He(a.innerType,e,n);let r=e.seen.get(t);r.ref=a.innerType},hg=(t,e,i,n)=>{let a=t._zod.def;He(a.innerType,e,n);let r=e.seen.get(t);r.ref=a.innerType,i.default=JSON.parse(JSON.stringify(a.defaultValue))},gg=(t,e,i,n)=>{let a=t._zod.def;He(a.innerType,e,n);let r=e.seen.get(t);r.ref=a.innerType,e.io==="input"&&(i._prefault=JSON.parse(JSON.stringify(a.defaultValue)))},mg=(t,e,i,n)=>{let a=t._zod.def;He(a.innerType,e,n);let r=e.seen.get(t);r.ref=a.innerType;let s;try{s=a.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}i.default=s},fg=(t,e,i,n)=>{let a=t._zod.def,r=a.in._zod.traits.has("$ZodTransform"),s=e.io==="input"?r?a.out:a.in:a.out;He(s,e,n);let o=e.seen.get(t);o.ref=s},wg=(t,e,i,n)=>{let a=t._zod.def;He(a.innerType,e,n);let r=e.seen.get(t);r.ref=a.innerType,i.readOnly=!0},JP=(t,e,i,n)=>{let a=t._zod.def;He(a.innerType,e,n);let r=e.seen.get(t);r.ref=a.innerType},Kl=(t,e,i,n)=>{let a=t._zod.def;He(a.innerType,e,n);let r=e.seen.get(t);r.ref=a.innerType},ZP=(t,e,i,n)=>{let a=t._zod.innerType;He(a,e,n);let r=e.seen.get(t);r.ref=a},_P={string:Kh,number:Qh,boolean:Yh,bigint:HP,symbol:IP,null:Xh,undefined:RP,void:zP,never:eg,any:DP,unknown:ig,date:GP,enum:ng,literal:tg,nan:$P,template_literal:NP,file:UP,success:WP,custom:ag,function:LP,transform:rg,map:BP,set:FP,array:sg,object:og,union:lg,intersection:ug,tuple:VP,record:cg,nullable:pg,nonoptional:dg,default:hg,prefault:gg,catch:mg,pipe:fg,readonly:wg,promise:JP,optional:Kl,lazy:ZP};function vg(t,e){if("_idmap"in t){let n=t,a=Is({...e,processors:_P}),r={};for(let l of n._idmap.entries()){let[u,c]=l;He(c,a)}let s={},o={registry:n,uri:e?.uri,defs:r};a.external=o;for(let l of n._idmap.entries()){let[u,c]=l;Rs(a,c),s[u]=zs(a,c)}if(Object.keys(r).length>0){let l=a.target==="draft-2020-12"?"$defs":"definitions";s.__shared={[l]:r}}return{schemas:s}}let i=Is({...e,processors:_P});return He(t,i),Rs(i,t),zs(i,t)}var oD=j("ZodMiniType",(t,e)=>{if(!t._zod)throw new Error("Uninitialized schema in ZodMiniType.");_e.init(t,e),t.def=e,t.type=e.type,t.parse=(i,n)=>Il(t,i,n,{callee:t.parse}),t.safeParse=(i,n)=>ma(t,i,n),t.parseAsync=async(i,n)=>Rl(t,i,n,{callee:t.parseAsync}),t.safeParseAsync=async(i,n)=>fa(t,i,n),t.check=(...i)=>t.clone({...e,checks:[...e.checks??[],...i.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]},{parent:!0}),t.with=t.check,t.clone=(i,n)=>on(t,i,n),t.brand=()=>t,t.register=((i,n)=>(i.add(t,n),t)),t.apply=i=>i(t)});var lD=j("ZodMiniObject",(t,e)=>{Fd.init(t,e),oD.init(t,e),xe(t,"shape",()=>e.shape)});function Cg(t,e){let i={type:"object",shape:t??{},...V(e)};return new lD(i)}function Un(t){return!!t._zod}function Ca(t){let e=Object.values(t);if(e.length===0)return Cg({});let i=e.every(Un),n=e.every(a=>!Un(a));if(i)return Cg(t);if(n)return td(t);throw new Error("Mixed Zod versions detected in object shape.")}function Tt(t,e){return Un(t)?ma(t,e):t.safeParse(e)}async function Ql(t,e){return Un(t)?await fa(t,e):await t.safeParseAsync(e)}function xt(t){if(!t)return;let e;if(Un(t)?e=t._zod?.def?.shape:e=t.shape,!!e){if(typeof e=="function")try{return e()}catch{return}return e}}function mr(t){if(t){if(typeof t=="object"){let e=t,i=t;if(!e._def&&!i._zod){let n=Object.values(t);if(n.length>0&&n.every(a=>typeof a=="object"&&a!==null&&(a._def!==void 0||a._zod!==void 0||typeof a.parse=="function")))return Ca(t)}}if(Un(t)){let i=t._zod?.def;if(i&&(i.type==="object"||i.shape!==void 0))return t}else if(t.shape!==void 0)return t}}function cD(t){return t.length===0?"object root":t.reduce((e,i,n)=>n===0?String(i):typeof i=="number"?`${e}[${i}]`:`${e}.${i}`,"")}function Yl(t){if(t&&typeof t=="object"){if("issues"in t&&Array.isArray(t.issues)&&t.issues.length>0)return t.issues.map(e=>e.path?.length?`${e.message} at ${cD(e.path)}`:e.message).join(` +`);if("message"in t&&typeof t.message=="string")return t.message;try{return JSON.stringify(t)}catch{return String(t)}}return String(t)}function QP(t){return t.description}function YP(t){if(Un(t))return t._zod?.def?.type==="optional";let e=t;return typeof t.isOptional=="function"?t.isOptional():e._def?.typeName==="ZodOptional"}function fr(t){if(Un(t)){let r=t._zod?.def;if(r){if(r.value!==void 0)return r.value;if(Array.isArray(r.values)&&r.values.length>0)return r.values[0]}}let i=t._def;if(i){if(i.value!==void 0)return i.value;if(Array.isArray(i.values)&&i.values.length>0)return i.values[0]}let n=t.value;if(n!==void 0)return n}var Ds={};Xp(Ds,{ZodISODate:()=>ej,ZodISODateTime:()=>XP,ZodISODuration:()=>nj,ZodISOTime:()=>ij,date:()=>bg,datetime:()=>Ag,duration:()=>Pg,time:()=>yg});var XP=j("ZodISODateTime",(t,e)=>{fP.init(t,e),Le.init(t,e)});function Ag(t){return TP(XP,t)}var ej=j("ZodISODate",(t,e)=>{wP.init(t,e),Le.init(t,e)});function bg(t){return xP(ej,t)}var ij=j("ZodISOTime",(t,e)=>{vP.init(t,e),Le.init(t,e)});function yg(t){return MP(ij,t)}var nj=j("ZodISODuration",(t,e)=>{CP.init(t,e),Le.init(t,e)});function Pg(t){return EP(nj,t)}var wD=(t,e)=>{Hl.init(t,e),t.name="ZodError",Object.defineProperties(t,{format:{value:i=>cy(t,i)},flatten:{value:i=>uy(t,i)},addIssue:{value:i=>{t.issues.push(i),t.message=JSON.stringify(t.issues,pr,2)}},addIssues:{value:i=>{t.issues.push(...i),t.message=JSON.stringify(t.issues,pr,2)}},isEmpty:{get(){return t.issues.length===0}}})};var ln=j("ZodError",wD,{Parent:Error});var tj=Ss(ln),aj=Os(ln),rj=Ts(ln),sj=xs(ln),oj=py(ln),lj=dy(ln),uj=hy(ln),cj=gy(ln),pj=my(ln),dj=fy(ln),hj=wy(ln),gj=vy(ln);var mj=new WeakMap;function Gs(t,e,i){let n=Object.getPrototypeOf(t),a=mj.get(n);if(a||(a=new Set,mj.set(n,a)),!a.has(e)){a.add(e);for(let r in i){let s=i[r];Object.defineProperty(n,r,{configurable:!0,enumerable:!1,get(){let o=s.bind(this);return Object.defineProperty(this,r,{configurable:!0,writable:!0,enumerable:!0,value:o}),o},set(o){Object.defineProperty(this,r,{configurable:!0,writable:!0,enumerable:!0,value:o})}})}}}var Ve=j("ZodType",(t,e)=>(_e.init(t,e),Object.assign(t["~standard"],{jsonSchema:{input:Hs(t,"input"),output:Hs(t,"output")}}),t.toJSONSchema=qP(t,{}),t.def=e,t.type=e.type,Object.defineProperty(t,"_def",{value:e}),t.parse=(i,n)=>tj(t,i,n,{callee:t.parse}),t.safeParse=(i,n)=>rj(t,i,n),t.parseAsync=async(i,n)=>aj(t,i,n,{callee:t.parseAsync}),t.safeParseAsync=async(i,n)=>sj(t,i,n),t.spa=t.safeParseAsync,t.encode=(i,n)=>oj(t,i,n),t.decode=(i,n)=>lj(t,i,n),t.encodeAsync=async(i,n)=>uj(t,i,n),t.decodeAsync=async(i,n)=>cj(t,i,n),t.safeEncode=(i,n)=>pj(t,i,n),t.safeDecode=(i,n)=>dj(t,i,n),t.safeEncodeAsync=async(i,n)=>hj(t,i,n),t.safeDecodeAsync=async(i,n)=>gj(t,i,n),Gs(t,"ZodType",{check(...i){let n=this.def;return this.clone(me.mergeDefs(n,{checks:[...n.checks??[],...i.map(a=>typeof a=="function"?{_zod:{check:a,def:{check:"custom"},onattach:[]}}:a)]}),{parent:!0})},with(...i){return this.check(...i)},clone(i,n){return on(this,i,n)},brand(){return this},register(i,n){return i.add(this,n),this},refine(i,n){return this.check(oG(i,n))},superRefine(i,n){return this.check(lG(i,n))},overwrite(i){return this.check(Ot(i))},optional(){return Fe(this)},exactOptional(){return ZD(this)},nullable(){return Cj(this)},nullish(){return Fe(Cj(this))},nonoptional(i){return iG(this,i)},array(){return fe(this)},or(i){return Ge([this,i])},and(i){return eu(this,i)},transform(i){return Aj(this,Oj(i))},default(i){return YD(this,i)},prefault(i){return eG(this,i)},catch(i){return tG(this,i)},pipe(i){return Aj(this,i)},readonly(){return sG(this)},describe(i){let n=this.clone();return wa.add(n,{description:i}),n},meta(...i){if(i.length===0)return wa.get(this);let n=this.clone();return wa.add(n,i[0]),n},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(i){return i(this)}}),Object.defineProperty(t,"description",{get(){return wa.get(t)?.description},configurable:!0}),t)),bj=j("_ZodString",(t,e)=>{ks.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(n,a,r)=>Kh(t,n,a,r);let i=t._zod.bag;t.format=i.format??null,t.minLength=i.minimum??null,t.maxLength=i.maximum??null,Gs(t,"_ZodString",{regex(...n){return this.check(Rh(...n))},includes(...n){return this.check(Gh(...n))},startsWith(...n){return this.check($h(...n))},endsWith(...n){return this.check(Nh(...n))},min(...n){return this.check(gr(...n))},max(...n){return this.check(Jl(...n))},length(...n){return this.check(Zl(...n))},nonempty(...n){return this.check(gr(1,...n))},lowercase(n){return this.check(zh(n))},uppercase(n){return this.check(Dh(n))},trim(){return this.check(Wh())},normalize(...n){return this.check(Uh(...n))},toLowerCase(){return this.check(Lh())},toUpperCase(){return this.check(Bh())},slugify(){return this.check(Fh())}})}),CD=j("ZodString",(t,e)=>{ks.init(t,e),bj.init(t,e),t.email=i=>t.check(uh(AD,i)),t.url=i=>t.check(gh(bD,i)),t.jwt=i=>t.check(Mh(RD,i)),t.emoji=i=>t.check(mh(yD,i)),t.guid=i=>t.check(Ll(fj,i)),t.uuid=i=>t.check(ch(Xl,i)),t.uuidv4=i=>t.check(ph(Xl,i)),t.uuidv6=i=>t.check(dh(Xl,i)),t.uuidv7=i=>t.check(hh(Xl,i)),t.nanoid=i=>t.check(fh(PD,i)),t.guid=i=>t.check(Ll(fj,i)),t.cuid=i=>t.check(wh(jD,i)),t.cuid2=i=>t.check(vh(SD,i)),t.ulid=i=>t.check(Ch(OD,i)),t.base64=i=>t.check(Oh(_D,i)),t.base64url=i=>t.check(Th(HD,i)),t.xid=i=>t.check(Ah(TD,i)),t.ksuid=i=>t.check(bh(xD,i)),t.ipv4=i=>t.check(yh(MD,i)),t.ipv6=i=>t.check(Ph(ED,i)),t.cidrv4=i=>t.check(jh(kD,i)),t.cidrv6=i=>t.check(Sh(qD,i)),t.e164=i=>t.check(xh(ID,i)),t.datetime=i=>t.check(Ag(i)),t.date=i=>t.check(bg(i)),t.time=i=>t.check(yg(i)),t.duration=i=>t.check(Pg(i))});function P(t){return lh(CD,t)}var Le=j("ZodStringFormat",(t,e)=>{ze.init(t,e),bj.init(t,e)}),AD=j("ZodEmail",(t,e)=>{Pd.init(t,e),Le.init(t,e)});var fj=j("ZodGUID",(t,e)=>{bd.init(t,e),Le.init(t,e)});var Xl=j("ZodUUID",(t,e)=>{yd.init(t,e),Le.init(t,e)});var bD=j("ZodURL",(t,e)=>{jd.init(t,e),Le.init(t,e)});var yD=j("ZodEmoji",(t,e)=>{Sd.init(t,e),Le.init(t,e)});var PD=j("ZodNanoID",(t,e)=>{Od.init(t,e),Le.init(t,e)});var jD=j("ZodCUID",(t,e)=>{Td.init(t,e),Le.init(t,e)});var SD=j("ZodCUID2",(t,e)=>{xd.init(t,e),Le.init(t,e)});var OD=j("ZodULID",(t,e)=>{Md.init(t,e),Le.init(t,e)});var TD=j("ZodXID",(t,e)=>{Ed.init(t,e),Le.init(t,e)});var xD=j("ZodKSUID",(t,e)=>{kd.init(t,e),Le.init(t,e)});var MD=j("ZodIPv4",(t,e)=>{qd.init(t,e),Le.init(t,e)});var ED=j("ZodIPv6",(t,e)=>{_d.init(t,e),Le.init(t,e)});var kD=j("ZodCIDRv4",(t,e)=>{Hd.init(t,e),Le.init(t,e)});var qD=j("ZodCIDRv6",(t,e)=>{Id.init(t,e),Le.init(t,e)});var _D=j("ZodBase64",(t,e)=>{Rd.init(t,e),Le.init(t,e)});var HD=j("ZodBase64URL",(t,e)=>{zd.init(t,e),Le.init(t,e)});var ID=j("ZodE164",(t,e)=>{Dd.init(t,e),Le.init(t,e)});var RD=j("ZodJWT",(t,e)=>{Gd.init(t,e),Le.init(t,e)});var yj=j("ZodNumber",(t,e)=>{$l.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(n,a,r)=>Qh(t,n,a,r),Gs(t,"ZodNumber",{gt(n,a){return this.check(Fl(n,a))},gte(n,a){return this.check(_s(n,a))},min(n,a){return this.check(_s(n,a))},lt(n,a){return this.check(Bl(n,a))},lte(n,a){return this.check(qs(n,a))},max(n,a){return this.check(qs(n,a))},int(n){return this.check(wj(n))},safe(n){return this.check(wj(n))},positive(n){return this.check(Fl(0,n))},nonnegative(n){return this.check(_s(0,n))},negative(n){return this.check(Bl(0,n))},nonpositive(n){return this.check(qs(0,n))},multipleOf(n,a){return this.check(Vl(n,a))},step(n,a){return this.check(Vl(n,a))},finite(){return this}});let i=t._zod.bag;t.minValue=Math.max(i.minimum??Number.NEGATIVE_INFINITY,i.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,t.maxValue=Math.min(i.maximum??Number.POSITIVE_INFINITY,i.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,t.isInt=(i.format??"").includes("int")||Number.isSafeInteger(i.multipleOf??.5),t.isFinite=!0,t.format=i.format??null});function Ee(t){return Eh(yj,t)}var zD=j("ZodNumberFormat",(t,e)=>{$d.init(t,e),yj.init(t,e)});function wj(t){return kh(zD,t)}var DD=j("ZodBoolean",(t,e)=>{Nd.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>Yh(t,i,n,a)});function mi(t){return qh(DD,t)}var GD=j("ZodNull",(t,e)=>{Ud.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>Xh(t,i,n,a)});function Pj(t){return _h(GD,t)}var $D=j("ZodUnknown",(t,e)=>{Wd.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>ig(t,i,n,a)});function Be(){return Hh($D)}var ND=j("ZodNever",(t,e)=>{Ld.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>eg(t,i,n,a)});function UD(t){return Ih(ND,t)}var WD=j("ZodArray",(t,e)=>{Bd.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>sg(t,i,n,a),t.element=e.element,Gs(t,"ZodArray",{min(i,n){return this.check(gr(i,n))},nonempty(i){return this.check(gr(1,i))},max(i,n){return this.check(Jl(i,n))},length(i,n){return this.check(Zl(i,n))},unwrap(){return this.element}})});function fe(t,e){return kP(WD,t,e)}var jj=j("ZodObject",(t,e)=>{PP.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>og(t,i,n,a),me.defineLazy(t,"shape",()=>e.shape),Gs(t,"ZodObject",{keyof(){return Bi(Object.keys(this._zod.def.shape))},catchall(i){return this.clone({...this._zod.def,catchall:i})},passthrough(){return this.clone({...this._zod.def,catchall:Be()})},loose(){return this.clone({...this._zod.def,catchall:Be()})},strict(){return this.clone({...this._zod.def,catchall:UD()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(i){return me.extend(this,i)},safeExtend(i){return me.safeExtend(this,i)},merge(i){return me.merge(this,i)},pick(i){return me.pick(this,i)},omit(i){return me.omit(this,i)},partial(...i){return me.partial(iu,this,i[0])},required(...i){return me.required(Tj,this,i[0])}})});function $(t,e){let i={type:"object",shape:t??{},...me.normalizeParams(e)};return new jj(i)}function Ri(t,e){return new jj({type:"object",shape:t,catchall:Be(),...me.normalizeParams(e)})}var Sj=j("ZodUnion",(t,e)=>{Nl.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>lg(t,i,n,a),t.options=e.options});function Ge(t,e){return new Sj({type:"union",options:t,...me.normalizeParams(e)})}var LD=j("ZodDiscriminatedUnion",(t,e)=>{Sj.init(t,e),Vd.init(t,e)});function Sg(t,e,i){return new LD({type:"union",options:e,discriminator:t,...me.normalizeParams(i)})}var BD=j("ZodIntersection",(t,e)=>{Jd.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>ug(t,i,n,a)});function eu(t,e){return new BD({type:"intersection",left:t,right:e})}var vj=j("ZodRecord",(t,e)=>{Zd.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>cg(t,i,n,a),t.keyType=e.keyType,t.valueType=e.valueType});function De(t,e,i){return!e||!e._zod?new vj({type:"record",keyType:P(),valueType:t,...me.normalizeParams(e)}):new vj({type:"record",keyType:t,valueType:e,...me.normalizeParams(i)})}var jg=j("ZodEnum",(t,e)=>{Kd.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(n,a,r)=>ng(t,n,a,r),t.enum=e.entries,t.options=Object.values(e.entries);let i=new Set(Object.keys(e.entries));t.extract=(n,a)=>{let r={};for(let s of n)if(i.has(s))r[s]=e.entries[s];else throw new Error(`Key ${s} not found in enum`);return new jg({...e,checks:[],...me.normalizeParams(a),entries:r})},t.exclude=(n,a)=>{let r={...e.entries};for(let s of n)if(i.has(s))delete r[s];else throw new Error(`Key ${s} not found in enum`);return new jg({...e,checks:[],...me.normalizeParams(a),entries:r})}});function Bi(t,e){let i=Array.isArray(t)?Object.fromEntries(t.map(n=>[n,n])):t;return new jg({type:"enum",entries:i,...me.normalizeParams(e)})}var FD=j("ZodLiteral",(t,e)=>{Qd.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>tg(t,i,n,a),t.values=new Set(e.values),Object.defineProperty(t,"value",{get(){if(e.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return e.values[0]}})});function L(t,e){return new FD({type:"literal",values:Array.isArray(t)?t:[t],...me.normalizeParams(e)})}var VD=j("ZodTransform",(t,e)=>{Yd.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>rg(t,i,n,a),t._zod.parse=(i,n)=>{if(n.direction==="backward")throw new ur(t.constructor.name);i.addIssue=r=>{if(typeof r=="string")i.issues.push(me.issue(r,i.value,e));else{let s=r;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),s.input??(s.input=i.value),s.inst??(s.inst=t),i.issues.push(me.issue(s))}};let a=e.transform(i.value,i);return a instanceof Promise?a.then(r=>(i.value=r,i.fallback=!0,i)):(i.value=a,i.fallback=!0,i)}});function Oj(t){return new VD({type:"transform",transform:t})}var iu=j("ZodOptional",(t,e)=>{Ul.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>Kl(t,i,n,a),t.unwrap=()=>t._zod.def.innerType});function Fe(t){return new iu({type:"optional",innerType:t})}var JD=j("ZodExactOptional",(t,e)=>{Xd.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>Kl(t,i,n,a),t.unwrap=()=>t._zod.def.innerType});function ZD(t){return new JD({type:"optional",innerType:t})}var KD=j("ZodNullable",(t,e)=>{eh.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>pg(t,i,n,a),t.unwrap=()=>t._zod.def.innerType});function Cj(t){return new KD({type:"nullable",innerType:t})}var QD=j("ZodDefault",(t,e)=>{ih.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>hg(t,i,n,a),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});function YD(t,e){return new QD({type:"default",innerType:t,get defaultValue(){return typeof e=="function"?e():me.shallowClone(e)}})}var XD=j("ZodPrefault",(t,e)=>{nh.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>gg(t,i,n,a),t.unwrap=()=>t._zod.def.innerType});function eG(t,e){return new XD({type:"prefault",innerType:t,get defaultValue(){return typeof e=="function"?e():me.shallowClone(e)}})}var Tj=j("ZodNonOptional",(t,e)=>{th.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>dg(t,i,n,a),t.unwrap=()=>t._zod.def.innerType});function iG(t,e){return new Tj({type:"nonoptional",innerType:t,...me.normalizeParams(e)})}var nG=j("ZodCatch",(t,e)=>{ah.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>mg(t,i,n,a),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});function tG(t,e){return new nG({type:"catch",innerType:t,catchValue:typeof e=="function"?e:()=>e})}var xj=j("ZodPipe",(t,e)=>{Wl.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>fg(t,i,n,a),t.in=e.in,t.out=e.out});function Aj(t,e){return new xj({type:"pipe",in:t,out:e})}var aG=j("ZodPreprocess",(t,e)=>{xj.init(t,e),jP.init(t,e)}),rG=j("ZodReadonly",(t,e)=>{rh.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>wg(t,i,n,a),t.unwrap=()=>t._zod.def.innerType});function sG(t){return new rG({type:"readonly",innerType:t})}var Mj=j("ZodCustom",(t,e)=>{sh.init(t,e),Ve.init(t,e),t._zod.processJSONSchema=(i,n,a)=>ag(t,i,n,a)});function Ej(t,e){return Vh(Mj,t??(()=>!0),e)}function oG(t,e={}){return Jh(Mj,t,e)}function lG(t,e){return Zh(t,e)}function Og(t,e){return new aG({type:"pipe",in:Oj(t),out:e})}sn(SP());var xg="2025-11-25";var kj=[xg,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],Mt="io.modelcontextprotocol/related-task",tu="2.0",oi=Ej(t=>t!==null&&(typeof t=="object"||typeof t=="function")),qj=Ge([P(),Ee().int()]),_j=P(),RX=Ri({ttl:Ee().optional(),pollInterval:Ee().optional()}),uG=$({ttl:Ee().optional()}),cG=$({taskId:P()}),Mg=Ri({progressToken:qj.optional(),[Mt]:cG.optional()}),un=$({_meta:Mg.optional()}),$s=un.extend({task:uG.optional()}),Hj=t=>$s.safeParse(t).success,bi=$({method:P(),params:un.loose().optional()}),gn=$({_meta:Mg.optional()}),mn=$({method:P(),params:gn.loose().optional()}),yi=Ri({_meta:Mg.optional()}),au=Ge([P(),Ee().int()]),Ij=$({jsonrpc:L(tu),id:au,...bi.shape}).strict(),Eg=t=>Ij.safeParse(t).success,Rj=$({jsonrpc:L(tu),...mn.shape}).strict(),zj=t=>Rj.safeParse(t).success,kg=$({jsonrpc:L(tu),id:au,result:yi}).strict(),Ns=t=>kg.safeParse(t).success;var F;(function(t){t[t.ConnectionClosed=-32e3]="ConnectionClosed",t[t.RequestTimeout=-32001]="RequestTimeout",t[t.ParseError=-32700]="ParseError",t[t.InvalidRequest=-32600]="InvalidRequest",t[t.MethodNotFound=-32601]="MethodNotFound",t[t.InvalidParams=-32602]="InvalidParams",t[t.InternalError=-32603]="InternalError",t[t.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(F||(F={}));var qg=$({jsonrpc:L(tu),id:au.optional(),error:$({code:Ee().int(),message:P(),data:Be().optional()})}).strict();var Dj=t=>qg.safeParse(t).success;var Gj=Ge([Ij,Rj,kg,qg]),zX=Ge([kg,qg]),ru=yi.strict(),pG=gn.extend({requestId:au.optional(),reason:P().optional()}),su=mn.extend({method:L("notifications/cancelled"),params:pG}),dG=$({src:P(),mimeType:P().optional(),sizes:fe(P()).optional(),theme:Bi(["light","dark"]).optional()}),Us=$({icons:fe(dG).optional()}),wr=$({name:P(),title:P().optional()}),$j=wr.extend({...wr.shape,...Us.shape,version:P(),websiteUrl:P().optional(),description:P().optional()}),hG=eu($({applyDefaults:mi().optional()}),De(P(),Be())),gG=Og(t=>t&&typeof t=="object"&&!Array.isArray(t)&&Object.keys(t).length===0?{form:{}}:t,eu($({form:hG.optional(),url:oi.optional()}),De(P(),Be()).optional())),mG=Ri({list:oi.optional(),cancel:oi.optional(),requests:Ri({sampling:Ri({createMessage:oi.optional()}).optional(),elicitation:Ri({create:oi.optional()}).optional()}).optional()}),fG=Ri({list:oi.optional(),cancel:oi.optional(),requests:Ri({tools:Ri({call:oi.optional()}).optional()}).optional()}),wG=$({experimental:De(P(),oi).optional(),sampling:$({context:oi.optional(),tools:oi.optional()}).optional(),elicitation:gG.optional(),roots:$({listChanged:mi().optional()}).optional(),tasks:mG.optional(),extensions:De(P(),oi).optional()}),vG=un.extend({protocolVersion:P(),capabilities:wG,clientInfo:$j}),_g=bi.extend({method:L("initialize"),params:vG});var CG=$({experimental:De(P(),oi).optional(),logging:oi.optional(),completions:oi.optional(),prompts:$({listChanged:mi().optional()}).optional(),resources:$({subscribe:mi().optional(),listChanged:mi().optional()}).optional(),tools:$({listChanged:mi().optional()}).optional(),tasks:fG.optional(),extensions:De(P(),oi).optional()}),AG=yi.extend({protocolVersion:P(),capabilities:CG,serverInfo:$j,instructions:P().optional()}),Hg=mn.extend({method:L("notifications/initialized"),params:gn.optional()});var ou=bi.extend({method:L("ping"),params:un.optional()}),bG=$({progress:Ee(),total:Fe(Ee()),message:Fe(P())}),yG=$({...gn.shape,...bG.shape,progressToken:qj}),lu=mn.extend({method:L("notifications/progress"),params:yG}),PG=un.extend({cursor:_j.optional()}),Ws=bi.extend({params:PG.optional()}),Ls=yi.extend({nextCursor:_j.optional()}),jG=Bi(["working","input_required","completed","failed","cancelled"]),Bs=$({taskId:P(),status:jG,ttl:Ge([Ee(),Pj()]),createdAt:P(),lastUpdatedAt:P(),pollInterval:Fe(Ee()),statusMessage:Fe(P())}),vr=yi.extend({task:Bs}),SG=gn.merge(Bs),Fs=mn.extend({method:L("notifications/tasks/status"),params:SG}),uu=bi.extend({method:L("tasks/get"),params:un.extend({taskId:P()})}),cu=yi.merge(Bs),pu=bi.extend({method:L("tasks/result"),params:un.extend({taskId:P()})}),DX=yi.loose(),du=Ws.extend({method:L("tasks/list")}),hu=Ls.extend({tasks:fe(Bs)}),gu=bi.extend({method:L("tasks/cancel"),params:un.extend({taskId:P()})}),Nj=yi.merge(Bs),Uj=$({uri:P(),mimeType:Fe(P()),_meta:De(P(),Be()).optional()}),Wj=Uj.extend({text:P()}),Ig=P().refine(t=>{try{return atob(t),!0}catch{return!1}},{message:"Invalid Base64 string"}),Lj=Uj.extend({blob:Ig}),Vs=Bi(["user","assistant"]),Cr=$({audience:fe(Vs).optional(),priority:Ee().min(0).max(1).optional(),lastModified:Ds.datetime({offset:!0}).optional()}),Bj=$({...wr.shape,...Us.shape,uri:P(),description:Fe(P()),mimeType:Fe(P()),size:Fe(Ee()),annotations:Cr.optional(),_meta:Fe(Ri({}))}),OG=$({...wr.shape,...Us.shape,uriTemplate:P(),description:Fe(P()),mimeType:Fe(P()),annotations:Cr.optional(),_meta:Fe(Ri({}))}),mu=Ws.extend({method:L("resources/list")}),TG=Ls.extend({resources:fe(Bj)}),fu=Ws.extend({method:L("resources/templates/list")}),xG=Ls.extend({resourceTemplates:fe(OG)}),Rg=un.extend({uri:P()}),MG=Rg,wu=bi.extend({method:L("resources/read"),params:MG}),EG=yi.extend({contents:fe(Ge([Wj,Lj]))}),kG=mn.extend({method:L("notifications/resources/list_changed"),params:gn.optional()}),qG=Rg,_G=bi.extend({method:L("resources/subscribe"),params:qG}),HG=Rg,IG=bi.extend({method:L("resources/unsubscribe"),params:HG}),RG=gn.extend({uri:P()}),zG=mn.extend({method:L("notifications/resources/updated"),params:RG}),DG=$({name:P(),description:Fe(P()),required:Fe(mi())}),GG=$({...wr.shape,...Us.shape,description:Fe(P()),arguments:Fe(fe(DG)),_meta:Fe(Ri({}))}),vu=Ws.extend({method:L("prompts/list")}),$G=Ls.extend({prompts:fe(GG)}),NG=un.extend({name:P(),arguments:De(P(),P()).optional()}),Cu=bi.extend({method:L("prompts/get"),params:NG}),zg=$({type:L("text"),text:P(),annotations:Cr.optional(),_meta:De(P(),Be()).optional()}),Dg=$({type:L("image"),data:Ig,mimeType:P(),annotations:Cr.optional(),_meta:De(P(),Be()).optional()}),Gg=$({type:L("audio"),data:Ig,mimeType:P(),annotations:Cr.optional(),_meta:De(P(),Be()).optional()}),UG=$({type:L("tool_use"),name:P(),id:P(),input:De(P(),Be()),_meta:De(P(),Be()).optional()}),WG=$({type:L("resource"),resource:Ge([Wj,Lj]),annotations:Cr.optional(),_meta:De(P(),Be()).optional()}),LG=Bj.extend({type:L("resource_link")}),$g=Ge([zg,Dg,Gg,LG,WG]),BG=$({role:Vs,content:$g}),FG=yi.extend({description:P().optional(),messages:fe(BG)}),VG=mn.extend({method:L("notifications/prompts/list_changed"),params:gn.optional()}),JG=$({title:P().optional(),readOnlyHint:mi().optional(),destructiveHint:mi().optional(),idempotentHint:mi().optional(),openWorldHint:mi().optional()}),ZG=$({taskSupport:Bi(["required","optional","forbidden"]).optional()}),Fj=$({...wr.shape,...Us.shape,description:P().optional(),inputSchema:$({type:L("object"),properties:De(P(),oi).optional(),required:fe(P()).optional()}).catchall(Be()),outputSchema:$({type:L("object"),properties:De(P(),oi).optional(),required:fe(P()).optional()}).catchall(Be()).optional(),annotations:JG.optional(),execution:ZG.optional(),_meta:De(P(),Be()).optional()}),Au=Ws.extend({method:L("tools/list")}),KG=Ls.extend({tools:fe(Fj)}),bu=yi.extend({content:fe($g).default([]),structuredContent:De(P(),Be()).optional(),isError:mi().optional()}),GX=bu.or(yi.extend({toolResult:Be()})),QG=$s.extend({name:P(),arguments:De(P(),Be()).optional()}),Ar=bi.extend({method:L("tools/call"),params:QG}),YG=mn.extend({method:L("notifications/tools/list_changed"),params:gn.optional()}),$X=$({autoRefresh:mi().default(!0),debounceMs:Ee().int().nonnegative().default(300)}),Js=Bi(["debug","info","notice","warning","error","critical","alert","emergency"]),XG=un.extend({level:Js}),Ng=bi.extend({method:L("logging/setLevel"),params:XG}),e$=gn.extend({level:Js,logger:P().optional(),data:Be()}),i$=mn.extend({method:L("notifications/message"),params:e$}),n$=$({name:P().optional()}),t$=$({hints:fe(n$).optional(),costPriority:Ee().min(0).max(1).optional(),speedPriority:Ee().min(0).max(1).optional(),intelligencePriority:Ee().min(0).max(1).optional()}),a$=$({mode:Bi(["auto","required","none"]).optional()}),r$=$({type:L("tool_result"),toolUseId:P().describe("The unique identifier for the corresponding tool call."),content:fe($g).default([]),structuredContent:$({}).loose().optional(),isError:mi().optional(),_meta:De(P(),Be()).optional()}),s$=Sg("type",[zg,Dg,Gg]),nu=Sg("type",[zg,Dg,Gg,UG,r$]),o$=$({role:Vs,content:Ge([nu,fe(nu)]),_meta:De(P(),Be()).optional()}),l$=$s.extend({messages:fe(o$),modelPreferences:t$.optional(),systemPrompt:P().optional(),includeContext:Bi(["none","thisServer","allServers"]).optional(),temperature:Ee().optional(),maxTokens:Ee().int(),stopSequences:fe(P()).optional(),metadata:oi.optional(),tools:fe(Fj).optional(),toolChoice:a$.optional()}),u$=bi.extend({method:L("sampling/createMessage"),params:l$}),Zs=yi.extend({model:P(),stopReason:Fe(Bi(["endTurn","stopSequence","maxTokens"]).or(P())),role:Vs,content:s$}),Ug=yi.extend({model:P(),stopReason:Fe(Bi(["endTurn","stopSequence","maxTokens","toolUse"]).or(P())),role:Vs,content:Ge([nu,fe(nu)])}),c$=$({type:L("boolean"),title:P().optional(),description:P().optional(),default:mi().optional()}),p$=$({type:L("string"),title:P().optional(),description:P().optional(),minLength:Ee().optional(),maxLength:Ee().optional(),format:Bi(["email","uri","date","date-time"]).optional(),default:P().optional()}),d$=$({type:Bi(["number","integer"]),title:P().optional(),description:P().optional(),minimum:Ee().optional(),maximum:Ee().optional(),default:Ee().optional()}),h$=$({type:L("string"),title:P().optional(),description:P().optional(),enum:fe(P()),default:P().optional()}),g$=$({type:L("string"),title:P().optional(),description:P().optional(),oneOf:fe($({const:P(),title:P()})),default:P().optional()}),m$=$({type:L("string"),title:P().optional(),description:P().optional(),enum:fe(P()),enumNames:fe(P()).optional(),default:P().optional()}),f$=Ge([h$,g$]),w$=$({type:L("array"),title:P().optional(),description:P().optional(),minItems:Ee().optional(),maxItems:Ee().optional(),items:$({type:L("string"),enum:fe(P())}),default:fe(P()).optional()}),v$=$({type:L("array"),title:P().optional(),description:P().optional(),minItems:Ee().optional(),maxItems:Ee().optional(),items:$({anyOf:fe($({const:P(),title:P()}))}),default:fe(P()).optional()}),C$=Ge([w$,v$]),A$=Ge([m$,f$,C$]),b$=Ge([A$,c$,p$,d$]),y$=$s.extend({mode:L("form").optional(),message:P(),requestedSchema:$({type:L("object"),properties:De(P(),b$),required:fe(P()).optional()})}),P$=$s.extend({mode:L("url"),message:P(),elicitationId:P(),url:P().url()}),j$=Ge([y$,P$]),S$=bi.extend({method:L("elicitation/create"),params:j$}),O$=gn.extend({elicitationId:P()}),T$=mn.extend({method:L("notifications/elicitation/complete"),params:O$}),br=yi.extend({action:Bi(["accept","decline","cancel"]),content:Og(t=>t===null?void 0:t,De(P(),Ge([P(),Ee(),mi(),fe(P())])).optional())}),x$=$({type:L("ref/resource"),uri:P()});var M$=$({type:L("ref/prompt"),name:P()}),E$=un.extend({ref:Ge([M$,x$]),argument:$({name:P(),value:P()}),context:$({arguments:De(P(),P()).optional()}).optional()}),yu=bi.extend({method:L("completion/complete"),params:E$});function Vj(t){if(t.params.ref.type!=="ref/prompt")throw new TypeError(`Expected CompleteRequestPrompt, but got ${t.params.ref.type}`)}function Jj(t){if(t.params.ref.type!=="ref/resource")throw new TypeError(`Expected CompleteRequestResourceTemplate, but got ${t.params.ref.type}`)}var k$=yi.extend({completion:Ri({values:fe(P()).max(100),total:Fe(Ee().int()),hasMore:Fe(mi())})}),q$=$({uri:P().startsWith("file://"),name:P().optional(),_meta:De(P(),Be()).optional()}),_$=bi.extend({method:L("roots/list"),params:un.optional()}),Wg=yi.extend({roots:fe(q$)}),H$=mn.extend({method:L("notifications/roots/list_changed"),params:gn.optional()}),NX=Ge([ou,_g,yu,Ng,Cu,vu,mu,fu,wu,_G,IG,Ar,Au,uu,pu,du,gu]),UX=Ge([su,lu,Hg,H$,Fs]),WX=Ge([ru,Zs,Ug,br,Wg,cu,hu,vr]),LX=Ge([ou,u$,S$,_$,uu,pu,du,gu]),BX=Ge([su,lu,i$,zG,kG,YG,VG,Fs,T$]),FX=Ge([ru,AG,k$,FG,$G,TG,xG,EG,bu,KG,cu,hu,vr]),U=class t extends Error{constructor(e,i,n){super(`MCP error ${e}: ${i}`),this.code=e,this.data=n,this.name="McpError"}static fromError(e,i,n){if(e===F.UrlElicitationRequired&&n){let a=n;if(a.elicitations)return new Tg(a.elicitations,i)}return new t(e,i,n)}},Tg=class extends U{constructor(e,i=`URL elicitation${e.length>1?"s":""} required`){super(F.UrlElicitationRequired,i,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}};function Et(t){return t==="completed"||t==="failed"||t==="cancelled"}var Kj=Symbol("Let zodToJsonSchema decide on which parser to use");var Zj={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"},Qj=t=>typeof t=="string"?{...Zj,name:t}:{...Zj,...t};var Yj=t=>{let e=Qj(t),i=e.name!==void 0?[...e.basePath,e.definitionPath,e.name]:e.basePath;return{...e,flags:{hasReferencedOpenAiAnyType:!1},currentPath:i,propertyPath:void 0,seen:new Map(Object.entries(e.definitions).map(([n,a])=>[a._def,{def:a._def,path:[...e.basePath,e.definitionPath,n],jsonSchema:void 0}]))}};function Lg(t,e,i,n){n?.errorMessages&&i&&(t.errorMessage={...t.errorMessage,[e]:i})}function we(t,e,i,n,a){t[e]=i,Lg(t,e,n,a)}var Pu=(t,e)=>{let i=0;for(;iQ(t.innerType._def,e);function Bg(t,e,i){let n=i??e.dateStrategy;if(Array.isArray(n))return{anyOf:n.map((a,r)=>Bg(t,e,a))};switch(n){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return I$(t,e)}}var I$=(t,e)=>{let i={type:"integer",format:"unix-time"};if(e.target==="openApi3")return i;for(let n of t.checks)switch(n.kind){case"min":we(i,"minimum",n.value,n.message,e);break;case"max":we(i,"maximum",n.value,n.message,e);break}return i};function tS(t,e){return{...Q(t.innerType._def,e),default:t.defaultValue()}}function aS(t,e){return e.effectStrategy==="input"?Q(t.schema._def,e):Je(e)}function rS(t){return{type:"string",enum:Array.from(t.values)}}var R$=t=>"type"in t&&t.type==="string"?!1:"allOf"in t;function sS(t,e){let i=[Q(t.left._def,{...e,currentPath:[...e.currentPath,"allOf","0"]}),Q(t.right._def,{...e,currentPath:[...e.currentPath,"allOf","1"]})].filter(r=>!!r),n=e.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,a=[];return i.forEach(r=>{if(R$(r))a.push(...r.allOf),r.unevaluatedProperties===void 0&&(n=void 0);else{let s=r;if("additionalProperties"in r&&r.additionalProperties===!1){let{additionalProperties:o,...l}=r;s=l}else n=void 0;a.push(s)}}),a.length?{allOf:a,...n}:void 0}function oS(t,e){let i=typeof t.value;return i!=="bigint"&&i!=="number"&&i!=="boolean"&&i!=="string"?{type:Array.isArray(t.value)?"array":"object"}:e.target==="openApi3"?{type:i==="bigint"?"integer":i,enum:[t.value]}:{type:i==="bigint"?"integer":i,const:t.value}}var Fg,On={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(Fg===void 0&&(Fg=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Fg),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function Su(t,e){let i={type:"string"};if(t.checks)for(let n of t.checks)switch(n.kind){case"min":we(i,"minLength",typeof i.minLength=="number"?Math.max(i.minLength,n.value):n.value,n.message,e);break;case"max":we(i,"maxLength",typeof i.maxLength=="number"?Math.min(i.maxLength,n.value):n.value,n.message,e);break;case"email":switch(e.emailStrategy){case"format:email":Tn(i,"email",n.message,e);break;case"format:idn-email":Tn(i,"idn-email",n.message,e);break;case"pattern:zod":zi(i,On.email,n.message,e);break}break;case"url":Tn(i,"uri",n.message,e);break;case"uuid":Tn(i,"uuid",n.message,e);break;case"regex":zi(i,n.regex,n.message,e);break;case"cuid":zi(i,On.cuid,n.message,e);break;case"cuid2":zi(i,On.cuid2,n.message,e);break;case"startsWith":zi(i,RegExp(`^${Vg(n.value,e)}`),n.message,e);break;case"endsWith":zi(i,RegExp(`${Vg(n.value,e)}$`),n.message,e);break;case"datetime":Tn(i,"date-time",n.message,e);break;case"date":Tn(i,"date",n.message,e);break;case"time":Tn(i,"time",n.message,e);break;case"duration":Tn(i,"duration",n.message,e);break;case"length":we(i,"minLength",typeof i.minLength=="number"?Math.max(i.minLength,n.value):n.value,n.message,e),we(i,"maxLength",typeof i.maxLength=="number"?Math.min(i.maxLength,n.value):n.value,n.message,e);break;case"includes":{zi(i,RegExp(Vg(n.value,e)),n.message,e);break}case"ip":{n.version!=="v6"&&Tn(i,"ipv4",n.message,e),n.version!=="v4"&&Tn(i,"ipv6",n.message,e);break}case"base64url":zi(i,On.base64url,n.message,e);break;case"jwt":zi(i,On.jwt,n.message,e);break;case"cidr":{n.version!=="v6"&&zi(i,On.ipv4Cidr,n.message,e),n.version!=="v4"&&zi(i,On.ipv6Cidr,n.message,e);break}case"emoji":zi(i,On.emoji(),n.message,e);break;case"ulid":{zi(i,On.ulid,n.message,e);break}case"base64":{switch(e.base64Strategy){case"format:binary":{Tn(i,"binary",n.message,e);break}case"contentEncoding:base64":{we(i,"contentEncoding","base64",n.message,e);break}case"pattern:zod":{zi(i,On.base64,n.message,e);break}}break}case"nanoid":zi(i,On.nanoid,n.message,e);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return i}function Vg(t,e){return e.patternStrategy==="escape"?D$(t):t}var z$=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function D$(t){let e="";for(let i=0;ia.format)?(t.anyOf||(t.anyOf=[]),t.format&&(t.anyOf.push({format:t.format,...t.errorMessage&&n.errorMessages&&{errorMessage:{format:t.errorMessage.format}}}),delete t.format,t.errorMessage&&(delete t.errorMessage.format,Object.keys(t.errorMessage).length===0&&delete t.errorMessage)),t.anyOf.push({format:e,...i&&n.errorMessages&&{errorMessage:{format:i}}})):we(t,"format",e,i,n)}function zi(t,e,i,n){t.pattern||t.allOf?.some(a=>a.pattern)?(t.allOf||(t.allOf=[]),t.pattern&&(t.allOf.push({pattern:t.pattern,...t.errorMessage&&n.errorMessages&&{errorMessage:{pattern:t.errorMessage.pattern}}}),delete t.pattern,t.errorMessage&&(delete t.errorMessage.pattern,Object.keys(t.errorMessage).length===0&&delete t.errorMessage)),t.allOf.push({pattern:lS(e,n),...i&&n.errorMessages&&{errorMessage:{pattern:i}}})):we(t,"pattern",lS(e,n),i,n)}function lS(t,e){if(!e.applyRegexFlags||!t.flags)return t.source;let i={i:t.flags.includes("i"),m:t.flags.includes("m"),s:t.flags.includes("s")},n=i.i?t.source.toLowerCase():t.source,a="",r=!1,s=!1,o=!1;for(let l=0;l({...n,[a]:Q(t.valueType._def,{...e,currentPath:[...e.currentPath,"properties",a]})??Je(e)}),{}),additionalProperties:e.rejectedAdditionalProperties};let i={type:"object",additionalProperties:Q(t.valueType._def,{...e,currentPath:[...e.currentPath,"additionalProperties"]})??e.allowedAdditionalProperties};if(e.target==="openApi3")return i;if(t.keyType?._def.typeName===E.ZodString&&t.keyType._def.checks?.length){let{type:n,...a}=Su(t.keyType._def,e);return{...i,propertyNames:a}}else{if(t.keyType?._def.typeName===E.ZodEnum)return{...i,propertyNames:{enum:t.keyType._def.values}};if(t.keyType?._def.typeName===E.ZodBranded&&t.keyType._def.type._def.typeName===E.ZodString&&t.keyType._def.type._def.checks?.length){let{type:n,...a}=ju(t.keyType._def,e);return{...i,propertyNames:a}}}return i}function uS(t,e){if(e.mapStrategy==="record")return Ou(t,e);let i=Q(t.keyType._def,{...e,currentPath:[...e.currentPath,"items","items","0"]})||Je(e),n=Q(t.valueType._def,{...e,currentPath:[...e.currentPath,"items","items","1"]})||Je(e);return{type:"array",maxItems:125,items:{type:"array",items:[i,n],minItems:2,maxItems:2}}}function cS(t){let e=t.values,n=Object.keys(t.values).filter(r=>typeof e[e[r]]!="number").map(r=>e[r]),a=Array.from(new Set(n.map(r=>typeof r)));return{type:a.length===1?a[0]==="string"?"string":"number":["string","number"],enum:n}}function pS(t){return t.target==="openAi"?void 0:{not:Je({...t,currentPath:[...t.currentPath,"not"]})}}function dS(t){return t.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var Ks={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function gS(t,e){if(e.target==="openApi3")return hS(t,e);let i=t.options instanceof Map?Array.from(t.options.values()):t.options;if(i.every(n=>n._def.typeName in Ks&&(!n._def.checks||!n._def.checks.length))){let n=i.reduce((a,r)=>{let s=Ks[r._def.typeName];return s&&!a.includes(s)?[...a,s]:a},[]);return{type:n.length>1?n:n[0]}}else if(i.every(n=>n._def.typeName==="ZodLiteral"&&!n.description)){let n=i.reduce((a,r)=>{let s=typeof r._def.value;switch(s){case"string":case"number":case"boolean":return[...a,s];case"bigint":return[...a,"integer"];case"object":if(r._def.value===null)return[...a,"null"];default:return a}},[]);if(n.length===i.length){let a=n.filter((r,s,o)=>o.indexOf(r)===s);return{type:a.length>1?a:a[0],enum:i.reduce((r,s)=>r.includes(s._def.value)?r:[...r,s._def.value],[])}}}else if(i.every(n=>n._def.typeName==="ZodEnum"))return{type:"string",enum:i.reduce((n,a)=>[...n,...a._def.values.filter(r=>!n.includes(r))],[])};return hS(t,e)}var hS=(t,e)=>{let i=(t.options instanceof Map?Array.from(t.options.values()):t.options).map((n,a)=>Q(n._def,{...e,currentPath:[...e.currentPath,"anyOf",`${a}`]})).filter(n=>!!n&&(!e.strictUnions||typeof n=="object"&&Object.keys(n).length>0));return i.length?{anyOf:i}:void 0};function mS(t,e){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(t.innerType._def.typeName)&&(!t.innerType._def.checks||!t.innerType._def.checks.length))return e.target==="openApi3"?{type:Ks[t.innerType._def.typeName],nullable:!0}:{type:[Ks[t.innerType._def.typeName],"null"]};if(e.target==="openApi3"){let n=Q(t.innerType._def,{...e,currentPath:[...e.currentPath]});return n&&"$ref"in n?{allOf:[n],nullable:!0}:n&&{...n,nullable:!0}}let i=Q(t.innerType._def,{...e,currentPath:[...e.currentPath,"anyOf","0"]});return i&&{anyOf:[i,{type:"null"}]}}function fS(t,e){let i={type:"number"};if(!t.checks)return i;for(let n of t.checks)switch(n.kind){case"int":i.type="integer",Lg(i,"type",n.message,e);break;case"min":e.target==="jsonSchema7"?n.inclusive?we(i,"minimum",n.value,n.message,e):we(i,"exclusiveMinimum",n.value,n.message,e):(n.inclusive||(i.exclusiveMinimum=!0),we(i,"minimum",n.value,n.message,e));break;case"max":e.target==="jsonSchema7"?n.inclusive?we(i,"maximum",n.value,n.message,e):we(i,"exclusiveMaximum",n.value,n.message,e):(n.inclusive||(i.exclusiveMaximum=!0),we(i,"maximum",n.value,n.message,e));break;case"multipleOf":we(i,"multipleOf",n.value,n.message,e);break}return i}function wS(t,e){let i=e.target==="openAi",n={type:"object",properties:{}},a=[],r=t.shape();for(let o in r){let l=r[o];if(l===void 0||l._def===void 0)continue;let u=$$(l);u&&i&&(l._def.typeName==="ZodOptional"&&(l=l._def.innerType),l.isNullable()||(l=l.nullable()),u=!1);let c=Q(l._def,{...e,currentPath:[...e.currentPath,"properties",o],propertyPath:[...e.currentPath,"properties",o]});c!==void 0&&(n.properties[o]=c,u||a.push(o))}a.length&&(n.required=a);let s=G$(t,e);return s!==void 0&&(n.additionalProperties=s),n}function G$(t,e){if(t.catchall._def.typeName!=="ZodNever")return Q(t.catchall._def,{...e,currentPath:[...e.currentPath,"additionalProperties"]});switch(t.unknownKeys){case"passthrough":return e.allowedAdditionalProperties;case"strict":return e.rejectedAdditionalProperties;case"strip":return e.removeAdditionalStrategy==="strict"?e.allowedAdditionalProperties:e.rejectedAdditionalProperties}}function $$(t){try{return t.isOptional()}catch{return!0}}var vS=(t,e)=>{if(e.currentPath.toString()===e.propertyPath?.toString())return Q(t.innerType._def,e);let i=Q(t.innerType._def,{...e,currentPath:[...e.currentPath,"anyOf","1"]});return i?{anyOf:[{not:Je(e)},i]}:Je(e)};var CS=(t,e)=>{if(e.pipeStrategy==="input")return Q(t.in._def,e);if(e.pipeStrategy==="output")return Q(t.out._def,e);let i=Q(t.in._def,{...e,currentPath:[...e.currentPath,"allOf","0"]}),n=Q(t.out._def,{...e,currentPath:[...e.currentPath,"allOf",i?"1":"0"]});return{allOf:[i,n].filter(a=>a!==void 0)}};function AS(t,e){return Q(t.type._def,e)}function bS(t,e){let n={type:"array",uniqueItems:!0,items:Q(t.valueType._def,{...e,currentPath:[...e.currentPath,"items"]})};return t.minSize&&we(n,"minItems",t.minSize.value,t.minSize.message,e),t.maxSize&&we(n,"maxItems",t.maxSize.value,t.maxSize.message,e),n}function yS(t,e){return t.rest?{type:"array",minItems:t.items.length,items:t.items.map((i,n)=>Q(i._def,{...e,currentPath:[...e.currentPath,"items",`${n}`]})).reduce((i,n)=>n===void 0?i:[...i,n],[]),additionalItems:Q(t.rest._def,{...e,currentPath:[...e.currentPath,"additionalItems"]})}:{type:"array",minItems:t.items.length,maxItems:t.items.length,items:t.items.map((i,n)=>Q(i._def,{...e,currentPath:[...e.currentPath,"items",`${n}`]})).reduce((i,n)=>n===void 0?i:[...i,n],[])}}function PS(t){return{not:Je(t)}}function jS(t){return Je(t)}var SS=(t,e)=>Q(t.innerType._def,e);var OS=(t,e,i)=>{switch(e){case E.ZodString:return Su(t,i);case E.ZodNumber:return fS(t,i);case E.ZodObject:return wS(t,i);case E.ZodBigInt:return eS(t,i);case E.ZodBoolean:return iS();case E.ZodDate:return Bg(t,i);case E.ZodUndefined:return PS(i);case E.ZodNull:return dS(i);case E.ZodArray:return Xj(t,i);case E.ZodUnion:case E.ZodDiscriminatedUnion:return gS(t,i);case E.ZodIntersection:return sS(t,i);case E.ZodTuple:return yS(t,i);case E.ZodRecord:return Ou(t,i);case E.ZodLiteral:return oS(t,i);case E.ZodEnum:return rS(t);case E.ZodNativeEnum:return cS(t);case E.ZodNullable:return mS(t,i);case E.ZodOptional:return vS(t,i);case E.ZodMap:return uS(t,i);case E.ZodSet:return bS(t,i);case E.ZodLazy:return()=>t.getter()._def;case E.ZodPromise:return AS(t,i);case E.ZodNaN:case E.ZodNever:return pS(i);case E.ZodEffects:return aS(t,i);case E.ZodAny:return Je(i);case E.ZodUnknown:return jS(i);case E.ZodDefault:return tS(t,i);case E.ZodBranded:return ju(t,i);case E.ZodReadonly:return SS(t,i);case E.ZodCatch:return nS(t,i);case E.ZodPipeline:return CS(t,i);case E.ZodFunction:case E.ZodVoid:case E.ZodSymbol:return;default:return(n=>{})(e)}};function Q(t,e,i=!1){let n=e.seen.get(t);if(e.override){let o=e.override?.(t,e,n,i);if(o!==Kj)return o}if(n&&!i){let o=N$(n,e);if(o!==void 0)return o}let a={def:t,path:e.currentPath,jsonSchema:void 0};e.seen.set(t,a);let r=OS(t,t.typeName,e),s=typeof r=="function"?Q(r(),e):r;if(s&&U$(t,e,s),e.postProcess){let o=e.postProcess(s,t,e);return a.jsonSchema=s,o}return a.jsonSchema=s,s}var N$=(t,e)=>{switch(e.$refStrategy){case"root":return{$ref:t.path.join("/")};case"relative":return{$ref:Pu(e.currentPath,t.path)};case"none":case"seen":return t.path.lengthe.currentPath[n]===i)?(console.warn(`Recursive reference detected at ${e.currentPath.join("/")}! Defaulting to any`),Je(e)):e.$refStrategy==="seen"?Je(e):void 0}},U$=(t,e,i)=>(t.description&&(i.description=t.description,e.markdownDescription&&(i.markdownDescription=t.description)),i);var Jg=(t,e)=>{let i=Yj(e),n=typeof e=="object"&&e.definitions?Object.entries(e.definitions).reduce((l,[u,c])=>({...l,[u]:Q(c._def,{...i,currentPath:[...i.basePath,i.definitionPath,u]},!0)??Je(i)}),{}):void 0,a=typeof e=="string"?e:e?.nameStrategy==="title"?void 0:e?.name,r=Q(t._def,a===void 0?i:{...i,currentPath:[...i.basePath,i.definitionPath,a]},!1)??Je(i),s=typeof e=="object"&&e.name!==void 0&&e.nameStrategy==="title"?e.name:void 0;s!==void 0&&(r.title=s),i.flags.hasReferencedOpenAiAnyType&&(n||(n={}),n[i.openAiAnyTypeName]||(n[i.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:i.$refStrategy==="relative"?"1":[...i.basePath,i.definitionPath,i.openAiAnyTypeName].join("/")}}));let o=a===void 0?n?{...r,[i.definitionPath]:n}:r:{$ref:[...i.$refStrategy==="relative"?[]:i.basePath,i.definitionPath,a].join("/"),[i.definitionPath]:{...n,[a]:r}};return i.target==="jsonSchema7"?o.$schema="http://json-schema.org/draft-07/schema#":(i.target==="jsonSchema2019-09"||i.target==="openAi")&&(o.$schema="https://json-schema.org/draft/2019-09/schema#"),i.target==="openAi"&&("anyOf"in o||"oneOf"in o||"allOf"in o||"type"in o&&Array.isArray(o.type))&&console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property."),o};function W$(t){return!t||t==="jsonSchema7"||t==="draft-7"?"draft-7":t==="jsonSchema2019-09"||t==="draft-2020-12"?"draft-2020-12":"draft-7"}function Zg(t,e){return Un(t)?vg(t,{target:W$(e?.target),io:e?.pipeStrategy??"input"}):Jg(t,{strictUnions:e?.strictUnions??!0,pipeStrategy:e?.pipeStrategy??"input"})}function Kg(t){let i=xt(t)?.method;if(!i)throw new Error("Schema is missing a method literal");let n=fr(i);if(typeof n!="string")throw new Error("Schema method literal must be a string");return n}function Qg(t,e){let i=Tt(t,e);if(!i.success)throw i.error;return i.data}var L$=6e4,Tu=class{constructor(e){this._options=e,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(su,i=>{this._oncancel(i)}),this.setNotificationHandler(lu,i=>{this._onprogress(i)}),this.setRequestHandler(ou,i=>({})),this._taskStore=e?.taskStore,this._taskMessageQueue=e?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(uu,async(i,n)=>{let a=await this._taskStore.getTask(i.params.taskId,n.sessionId);if(!a)throw new U(F.InvalidParams,"Failed to retrieve task: Task not found");return{...a}}),this.setRequestHandler(pu,async(i,n)=>{let a=async()=>{let r=i.params.taskId;if(this._taskMessageQueue){let o;for(;o=await this._taskMessageQueue.dequeue(r,n.sessionId);){if(o.type==="response"||o.type==="error"){let l=o.message,u=l.id,c=this._requestResolvers.get(u);if(c)if(this._requestResolvers.delete(u),o.type==="response")c(l);else{let p=l,d=new U(p.error.code,p.error.message,p.error.data);c(d)}else{let p=o.type==="response"?"Response":"Error";this._onerror(new Error(`${p} handler missing for request ${u}`))}continue}await this._transport?.send(o.message,{relatedRequestId:n.requestId})}}let s=await this._taskStore.getTask(r,n.sessionId);if(!s)throw new U(F.InvalidParams,`Task not found: ${r}`);if(!Et(s.status))return await this._waitForTaskUpdate(r,n.signal),await a();if(Et(s.status)){let o=await this._taskStore.getTaskResult(r,n.sessionId);return this._clearTaskQueue(r),{...o,_meta:{...o._meta,[Mt]:{taskId:r}}}}return await a()};return await a()}),this.setRequestHandler(du,async(i,n)=>{try{let{tasks:a,nextCursor:r}=await this._taskStore.listTasks(i.params?.cursor,n.sessionId);return{tasks:a,nextCursor:r,_meta:{}}}catch(a){throw new U(F.InvalidParams,`Failed to list tasks: ${a instanceof Error?a.message:String(a)}`)}}),this.setRequestHandler(gu,async(i,n)=>{try{let a=await this._taskStore.getTask(i.params.taskId,n.sessionId);if(!a)throw new U(F.InvalidParams,`Task not found: ${i.params.taskId}`);if(Et(a.status))throw new U(F.InvalidParams,`Cannot cancel task in terminal status: ${a.status}`);await this._taskStore.updateTaskStatus(i.params.taskId,"cancelled","Client cancelled task execution.",n.sessionId),this._clearTaskQueue(i.params.taskId);let r=await this._taskStore.getTask(i.params.taskId,n.sessionId);if(!r)throw new U(F.InvalidParams,`Task not found after cancellation: ${i.params.taskId}`);return{_meta:{},...r}}catch(a){throw a instanceof U?a:new U(F.InvalidRequest,`Failed to cancel task: ${a instanceof Error?a.message:String(a)}`)}}))}async _oncancel(e){if(!e.params.requestId)return;this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,i,n,a,r=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(a,i),startTime:Date.now(),timeout:i,maxTotalTimeout:n,resetTimeoutOnProgress:r,onTimeout:a})}_resetTimeout(e){let i=this._timeoutInfo.get(e);if(!i)return!1;let n=Date.now()-i.startTime;if(i.maxTotalTimeout&&n>=i.maxTotalTimeout)throw this._timeoutInfo.delete(e),U.fromError(F.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:i.maxTotalTimeout,totalElapsed:n});return clearTimeout(i.timeoutId),i.timeoutId=setTimeout(i.onTimeout,i.timeout),!0}_cleanupTimeout(e){let i=this._timeoutInfo.get(e);i&&(clearTimeout(i.timeoutId),this._timeoutInfo.delete(e))}async connect(e){if(this._transport)throw new Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=e;let i=this.transport?.onclose;this._transport.onclose=()=>{i?.(),this._onclose()};let n=this.transport?.onerror;this._transport.onerror=r=>{n?.(r),this._onerror(r)};let a=this._transport?.onmessage;this._transport.onmessage=(r,s)=>{a?.(r,s),Ns(r)||Dj(r)?this._onresponse(r):Eg(r)?this._onrequest(r,s):zj(r)?this._onnotification(r):this._onerror(new Error(`Unknown message type: ${JSON.stringify(r)}`))},await this._transport.start()}_onclose(){let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let n of this._timeoutInfo.values())clearTimeout(n.timeoutId);this._timeoutInfo.clear();for(let n of this._requestHandlerAbortControllers.values())n.abort();this._requestHandlerAbortControllers.clear();let i=U.fromError(F.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(let n of e.values())n(i)}_onerror(e){this.onerror?.(e)}_onnotification(e){let i=this._notificationHandlers.get(e.method)??this.fallbackNotificationHandler;i!==void 0&&Promise.resolve().then(()=>i(e)).catch(n=>this._onerror(new Error(`Uncaught error in notification handler: ${n}`)))}_onrequest(e,i){let n=this._requestHandlers.get(e.method)??this.fallbackRequestHandler,a=this._transport,r=e.params?._meta?.[Mt]?.taskId;if(n===void 0){let c={jsonrpc:"2.0",id:e.id,error:{code:F.MethodNotFound,message:"Method not found"}};r&&this._taskMessageQueue?this._enqueueTaskMessage(r,{type:"error",message:c,timestamp:Date.now()},a?.sessionId).catch(p=>this._onerror(new Error(`Failed to enqueue error response: ${p}`))):a?.send(c).catch(p=>this._onerror(new Error(`Failed to send an error response: ${p}`)));return}let s=new AbortController;this._requestHandlerAbortControllers.set(e.id,s);let o=Hj(e.params)?e.params.task:void 0,l=this._taskStore?this.requestTaskStore(e,a?.sessionId):void 0,u={signal:s.signal,sessionId:a?.sessionId,_meta:e.params?._meta,sendNotification:async c=>{if(s.signal.aborted)return;let p={relatedRequestId:e.id};r&&(p.relatedTask={taskId:r}),await this.notification(c,p)},sendRequest:async(c,p,d)=>{if(s.signal.aborted)throw new U(F.ConnectionClosed,"Request was cancelled");let h={...d,relatedRequestId:e.id};r&&!h.relatedTask&&(h.relatedTask={taskId:r});let g=h.relatedTask?.taskId??r;return g&&l&&await l.updateTaskStatus(g,"input_required"),await this.request(c,p,h)},authInfo:i?.authInfo,requestId:e.id,requestInfo:i?.requestInfo,taskId:r,taskStore:l,taskRequestedTtl:o?.ttl,closeSSEStream:i?.closeSSEStream,closeStandaloneSSEStream:i?.closeStandaloneSSEStream};Promise.resolve().then(()=>{o&&this.assertTaskHandlerCapability(e.method)}).then(()=>n(e,u)).then(async c=>{if(s.signal.aborted)return;let p={result:c,jsonrpc:"2.0",id:e.id};r&&this._taskMessageQueue?await this._enqueueTaskMessage(r,{type:"response",message:p,timestamp:Date.now()},a?.sessionId):await a?.send(p)},async c=>{if(s.signal.aborted)return;let p={jsonrpc:"2.0",id:e.id,error:{code:Number.isSafeInteger(c.code)?c.code:F.InternalError,message:c.message??"Internal error",...c.data!==void 0&&{data:c.data}}};r&&this._taskMessageQueue?await this._enqueueTaskMessage(r,{type:"error",message:p,timestamp:Date.now()},a?.sessionId):await a?.send(p)}).catch(c=>this._onerror(new Error(`Failed to send response: ${c}`))).finally(()=>{this._requestHandlerAbortControllers.get(e.id)===s&&this._requestHandlerAbortControllers.delete(e.id)})}_onprogress(e){let{progressToken:i,...n}=e.params,a=Number(i),r=this._progressHandlers.get(a);if(!r){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}let s=this._responseHandlers.get(a),o=this._timeoutInfo.get(a);if(o&&s&&o.resetTimeoutOnProgress)try{this._resetTimeout(a)}catch(l){this._responseHandlers.delete(a),this._progressHandlers.delete(a),this._cleanupTimeout(a),s(l);return}r(n)}_onresponse(e){let i=Number(e.id),n=this._requestResolvers.get(i);if(n){if(this._requestResolvers.delete(i),Ns(e))n(e);else{let s=new U(e.error.code,e.error.message,e.error.data);n(s)}return}let a=this._responseHandlers.get(i);if(a===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(i),this._cleanupTimeout(i);let r=!1;if(Ns(e)&&e.result&&typeof e.result=="object"){let s=e.result;if(s.task&&typeof s.task=="object"){let o=s.task;typeof o.taskId=="string"&&(r=!0,this._taskProgressTokens.set(o.taskId,i))}}if(r||this._progressHandlers.delete(i),Ns(e))a(e);else{let s=U.fromError(e.error.code,e.error.message,e.error.data);a(s)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(e,i,n){let{task:a}=n??{};if(!a){try{yield{type:"result",result:await this.request(e,i,n)}}catch(s){yield{type:"error",error:s instanceof U?s:new U(F.InternalError,String(s))}}return}let r;try{let s=await this.request(e,vr,n);if(s.task)r=s.task.taskId,yield{type:"taskCreated",task:s.task};else throw new U(F.InternalError,"Task creation did not return a task");for(;;){let o=await this.getTask({taskId:r},n);if(yield{type:"taskStatus",task:o},Et(o.status)){o.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:r},i,n)}:o.status==="failed"?yield{type:"error",error:new U(F.InternalError,`Task ${r} failed`)}:o.status==="cancelled"&&(yield{type:"error",error:new U(F.InternalError,`Task ${r} was cancelled`)});return}if(o.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:r},i,n)};return}let l=o.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(u=>setTimeout(u,l)),n?.signal?.throwIfAborted()}}catch(s){yield{type:"error",error:s instanceof U?s:new U(F.InternalError,String(s))}}}request(e,i,n){let{relatedRequestId:a,resumptionToken:r,onresumptiontoken:s,task:o,relatedTask:l}=n??{};return new Promise((u,c)=>{let p=b=>{c(b)};if(!this._transport){p(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(e.method),o&&this.assertTaskCapability(e.method)}catch(b){p(b);return}n?.signal?.throwIfAborted();let d=this._requestMessageId++,h={...e,jsonrpc:"2.0",id:d};n?.onprogress&&(this._progressHandlers.set(d,n.onprogress),h.params={...e.params,_meta:{...e.params?._meta||{},progressToken:d}}),o&&(h.params={...h.params,task:o}),l&&(h.params={...h.params,_meta:{...h.params?._meta||{},[Mt]:l}});let g=b=>{this._responseHandlers.delete(d),this._progressHandlers.delete(d),this._cleanupTimeout(d),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:d,reason:String(b)}},{relatedRequestId:a,resumptionToken:r,onresumptiontoken:s}).catch(y=>this._onerror(new Error(`Failed to send cancellation: ${y}`)));let A=b instanceof U?b:new U(F.RequestTimeout,String(b));c(A)};this._responseHandlers.set(d,b=>{if(!n?.signal?.aborted){if(b instanceof Error)return c(b);try{let A=Tt(i,b.result);A.success?u(A.data):c(A.error)}catch(A){c(A)}}}),n?.signal?.addEventListener("abort",()=>{g(n?.signal?.reason)});let m=n?.timeout??L$,f=()=>g(U.fromError(F.RequestTimeout,"Request timed out",{timeout:m}));this._setupTimeout(d,m,n?.maxTotalTimeout,f,n?.resetTimeoutOnProgress??!1);let w=l?.taskId;if(w){let b=A=>{let y=this._responseHandlers.get(d);y?y(A):this._onerror(new Error(`Response handler missing for side-channeled request ${d}`))};this._requestResolvers.set(d,b),this._enqueueTaskMessage(w,{type:"request",message:h,timestamp:Date.now()}).catch(A=>{this._cleanupTimeout(d),c(A)})}else this._transport.send(h,{relatedRequestId:a,resumptionToken:r,onresumptiontoken:s}).catch(b=>{this._cleanupTimeout(d),c(b)})})}async getTask(e,i){return this.request({method:"tasks/get",params:e},cu,i)}async getTaskResult(e,i,n){return this.request({method:"tasks/result",params:e},i,n)}async listTasks(e,i){return this.request({method:"tasks/list",params:e},hu,i)}async cancelTask(e,i){return this.request({method:"tasks/cancel",params:e},Nj,i)}async notification(e,i){if(!this._transport)throw new Error("Not connected");this.assertNotificationCapability(e.method);let n=i?.relatedTask?.taskId;if(n){let o={...e,jsonrpc:"2.0",params:{...e.params,_meta:{...e.params?._meta||{},[Mt]:i.relatedTask}}};await this._enqueueTaskMessage(n,{type:"notification",message:o,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(e.method)&&!e.params&&!i?.relatedRequestId&&!i?.relatedTask){if(this._pendingDebouncedNotifications.has(e.method))return;this._pendingDebouncedNotifications.add(e.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(e.method),!this._transport)return;let o={...e,jsonrpc:"2.0"};i?.relatedTask&&(o={...o,params:{...o.params,_meta:{...o.params?._meta||{},[Mt]:i.relatedTask}}}),this._transport?.send(o,i).catch(l=>this._onerror(l))});return}let s={...e,jsonrpc:"2.0"};i?.relatedTask&&(s={...s,params:{...s.params,_meta:{...s.params?._meta||{},[Mt]:i.relatedTask}}}),await this._transport.send(s,i)}setRequestHandler(e,i){let n=Kg(e);this.assertRequestHandlerCapability(n),this._requestHandlers.set(n,(a,r)=>{let s=Qg(e,a);return Promise.resolve(i(s,r))})}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,i){let n=Kg(e);this._notificationHandlers.set(n,a=>{let r=Qg(e,a);return Promise.resolve(i(r))})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}_cleanupTaskProgressHandler(e){let i=this._taskProgressTokens.get(e);i!==void 0&&(this._progressHandlers.delete(i),this._taskProgressTokens.delete(e))}async _enqueueTaskMessage(e,i,n){if(!this._taskStore||!this._taskMessageQueue)throw new Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let a=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(e,i,n,a)}async _clearTaskQueue(e,i){if(this._taskMessageQueue){let n=await this._taskMessageQueue.dequeueAll(e,i);for(let a of n)if(a.type==="request"&&Eg(a.message)){let r=a.message.id,s=this._requestResolvers.get(r);s?(s(new U(F.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(r)):this._onerror(new Error(`Resolver missing for request ${r} during task ${e} cleanup`))}}}async _waitForTaskUpdate(e,i){let n=this._options?.defaultTaskPollInterval??1e3;try{let a=await this._taskStore?.getTask(e);a?.pollInterval&&(n=a.pollInterval)}catch{}return new Promise((a,r)=>{if(i.aborted){r(new U(F.InvalidRequest,"Request cancelled"));return}let s=setTimeout(a,n);i.addEventListener("abort",()=>{clearTimeout(s),r(new U(F.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore(e,i){let n=this._taskStore;if(!n)throw new Error("No task store configured");return{createTask:async a=>{if(!e)throw new Error("No request provided");return await n.createTask(a,e.id,{method:e.method,params:e.params},i)},getTask:async a=>{let r=await n.getTask(a,i);if(!r)throw new U(F.InvalidParams,"Failed to retrieve task: Task not found");return r},storeTaskResult:async(a,r,s)=>{await n.storeTaskResult(a,r,s,i);let o=await n.getTask(a,i);if(o){let l=Fs.parse({method:"notifications/tasks/status",params:o});await this.notification(l),Et(o.status)&&this._cleanupTaskProgressHandler(a)}},getTaskResult:a=>n.getTaskResult(a,i),updateTaskStatus:async(a,r,s)=>{let o=await n.getTask(a,i);if(!o)throw new U(F.InvalidParams,`Task "${a}" not found - it may have been cleaned up`);if(Et(o.status))throw new U(F.InvalidParams,`Cannot update task "${a}" from terminal status "${o.status}" to "${r}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await n.updateTaskStatus(a,r,s,i);let l=await n.getTask(a,i);if(l){let u=Fs.parse({method:"notifications/tasks/status",params:l});await this.notification(u),Et(l.status)&&this._cleanupTaskProgressHandler(a)}},listTasks:a=>n.listTasks(a,i)}}};function TS(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function xS(t,e){let i={...t};for(let n in e){let a=n,r=e[a];if(r===void 0)continue;let s=i[a];TS(s)&&TS(r)?i[a]={...s,...r}:i[a]=r}return i}var vx=er(Df(),1),Cx=er(wx(),1);function ZB(){let t=new vx.default({strict:!1,validateFormats:!0,validateSchema:!1,allErrors:!0});return(0,Cx.default)(t),t}var cc=class{constructor(e){this._ajv=e??ZB()}getValidator(e){let i="$id"in e&&typeof e.$id=="string"?this._ajv.getSchema(e.$id)??this._ajv.compile(e):this._ajv.compile(e);return n=>i(n)?{valid:!0,data:n,errorMessage:void 0}:{valid:!1,data:void 0,errorMessage:this._ajv.errorsText(i.errors)}}};var pc=class{constructor(e){this._server=e}requestStream(e,i,n){return this._server.requestStream(e,i,n)}createMessageStream(e,i){let n=this._server.getClientCapabilities();if((e.tools||e.toolChoice)&&!n?.sampling?.tools)throw new Error("Client does not support sampling tools capability.");if(e.messages.length>0){let a=e.messages[e.messages.length-1],r=Array.isArray(a.content)?a.content:[a.content],s=r.some(c=>c.type==="tool_result"),o=e.messages.length>1?e.messages[e.messages.length-2]:void 0,l=o?Array.isArray(o.content)?o.content:[o.content]:[],u=l.some(c=>c.type==="tool_use");if(s){if(r.some(c=>c.type!=="tool_result"))throw new Error("The last message must contain only tool_result content if any is present");if(!u)throw new Error("tool_result blocks are not matching any tool_use from the previous message")}if(u){let c=new Set(l.filter(d=>d.type==="tool_use").map(d=>d.id)),p=new Set(r.filter(d=>d.type==="tool_result").map(d=>d.toolUseId));if(c.size!==p.size||![...c].every(d=>p.has(d)))throw new Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return this.requestStream({method:"sampling/createMessage",params:e},Zs,i)}elicitInputStream(e,i){let n=this._server.getClientCapabilities(),a=e.mode??"form";switch(a){case"url":{if(!n?.elicitation?.url)throw new Error("Client does not support url elicitation.");break}case"form":{if(!n?.elicitation?.form)throw new Error("Client does not support form elicitation.");break}}let r=a==="form"&&e.mode===void 0?{...e,mode:"form"}:e;return this.requestStream({method:"elicitation/create",params:r},br,i)}async getTask(e,i){return this._server.getTask({taskId:e},i)}async getTaskResult(e,i,n){return this._server.getTaskResult({taskId:e},i,n)}async listTasks(e,i){return this._server.listTasks(e?{cursor:e}:void 0,i)}async cancelTask(e,i){return this._server.cancelTask({taskId:e},i)}};function Ax(t,e,i){if(!t)throw new Error(`${i} does not support task creation (required for ${e})`);switch(e){case"tools/call":if(!t.tools?.call)throw new Error(`${i} does not support task creation for tools/call (required for ${e})`);break;default:break}}function bx(t,e,i){if(!t)throw new Error(`${i} does not support task creation (required for ${e})`);switch(e){case"sampling/createMessage":if(!t.sampling?.createMessage)throw new Error(`${i} does not support task creation for sampling/createMessage (required for ${e})`);break;case"elicitation/create":if(!t.elicitation?.create)throw new Error(`${i} does not support task creation for elicitation/create (required for ${e})`);break;default:break}}var dc=class extends Tu{constructor(e,i){super(i),this._serverInfo=e,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(Js.options.map((n,a)=>[n,a])),this.isMessageIgnored=(n,a)=>{let r=this._loggingLevels.get(a);return r?this.LOG_LEVEL_SEVERITY.get(n)this._oninitialize(n)),this.setNotificationHandler(Hg,()=>this.oninitialized?.()),this._capabilities.logging&&this.setRequestHandler(Ng,async(n,a)=>{let r=a.sessionId||a.requestInfo?.headers["mcp-session-id"]||void 0,{level:s}=n.params,o=Js.safeParse(s);return o.success&&this._loggingLevels.set(r,o.data),{}})}get experimental(){return this._experimental||(this._experimental={tasks:new pc(this)}),this._experimental}registerCapabilities(e){if(this.transport)throw new Error("Cannot register capabilities after connecting to transport");this._capabilities=xS(this._capabilities,e)}setRequestHandler(e,i){let a=xt(e)?.method;if(!a)throw new Error("Schema is missing a method literal");let r=fr(a);if(typeof r!="string")throw new Error("Schema method literal must be a string");if(r==="tools/call"){let o=async(l,u)=>{let c=Tt(Ar,l);if(!c.success){let g=c.error instanceof Error?c.error.message:String(c.error);throw new U(F.InvalidParams,`Invalid tools/call request: ${g}`)}let{params:p}=c.data,d=await Promise.resolve(i(l,u));if(p.task){let g=Tt(vr,d);if(!g.success){let m=g.error instanceof Error?g.error.message:String(g.error);throw new U(F.InvalidParams,`Invalid task creation result: ${m}`)}return g.data}let h=Tt(bu,d);if(!h.success){let g=h.error instanceof Error?h.error.message:String(h.error);throw new U(F.InvalidParams,`Invalid tools/call result: ${g}`)}return h.data};return super.setRequestHandler(e,o)}return super.setRequestHandler(e,i)}assertCapabilityForMethod(e){switch(e){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw new Error(`Client does not support sampling (required for ${e})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw new Error(`Client does not support elicitation (required for ${e})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw new Error(`Client does not support listing roots (required for ${e})`);break;case"ping":break}}assertNotificationCapability(e){switch(e){case"notifications/message":if(!this._capabilities.logging)throw new Error(`Server does not support logging (required for ${e})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw new Error(`Server does not support notifying about resources (required for ${e})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw new Error(`Server does not support notifying of tool list changes (required for ${e})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw new Error(`Server does not support notifying of prompt list changes (required for ${e})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw new Error(`Client does not support URL elicitation (required for ${e})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability(e){if(this._capabilities)switch(e){case"completion/complete":if(!this._capabilities.completions)throw new Error(`Server does not support completions (required for ${e})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw new Error(`Server does not support logging (required for ${e})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw new Error(`Server does not support prompts (required for ${e})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw new Error(`Server does not support resources (required for ${e})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw new Error(`Server does not support tools (required for ${e})`);break;case"tasks/get":case"tasks/list":case"tasks/result":case"tasks/cancel":if(!this._capabilities.tasks)throw new Error(`Server does not support tasks capability (required for ${e})`);break;case"ping":case"initialize":break}}assertTaskCapability(e){bx(this._clientCapabilities?.tasks?.requests,e,"Client")}assertTaskHandlerCapability(e){this._capabilities&&Ax(this._capabilities.tasks?.requests,e,"Server")}async _oninitialize(e){let i=e.params.protocolVersion;return this._clientCapabilities=e.params.capabilities,this._clientVersion=e.params.clientInfo,{protocolVersion:kj.includes(i)?i:xg,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getCapabilities(){return this._capabilities}async ping(){return this.request({method:"ping"},ru)}async createMessage(e,i){if((e.tools||e.toolChoice)&&!this._clientCapabilities?.sampling?.tools)throw new Error("Client does not support sampling tools capability.");if(e.messages.length>0){let n=e.messages[e.messages.length-1],a=Array.isArray(n.content)?n.content:[n.content],r=a.some(u=>u.type==="tool_result"),s=e.messages.length>1?e.messages[e.messages.length-2]:void 0,o=s?Array.isArray(s.content)?s.content:[s.content]:[],l=o.some(u=>u.type==="tool_use");if(r){if(a.some(u=>u.type!=="tool_result"))throw new Error("The last message must contain only tool_result content if any is present");if(!l)throw new Error("tool_result blocks are not matching any tool_use from the previous message")}if(l){let u=new Set(o.filter(p=>p.type==="tool_use").map(p=>p.id)),c=new Set(a.filter(p=>p.type==="tool_result").map(p=>p.toolUseId));if(u.size!==c.size||![...u].every(p=>c.has(p)))throw new Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return e.tools?this.request({method:"sampling/createMessage",params:e},Ug,i):this.request({method:"sampling/createMessage",params:e},Zs,i)}async elicitInput(e,i){switch(e.mode??"form"){case"url":{if(!this._clientCapabilities?.elicitation?.url)throw new Error("Client does not support url elicitation.");let a=e;return this.request({method:"elicitation/create",params:a},br,i)}case"form":{if(!this._clientCapabilities?.elicitation?.form)throw new Error("Client does not support form elicitation.");let a=e.mode==="form"?e:{...e,mode:"form"},r=await this.request({method:"elicitation/create",params:a},br,i);if(r.action==="accept"&&r.content&&a.requestedSchema)try{let o=this._jsonSchemaValidator.getValidator(a.requestedSchema)(r.content);if(!o.valid)throw new U(F.InvalidParams,`Elicitation response content does not match requested schema: ${o.errorMessage}`)}catch(s){throw s instanceof U?s:new U(F.InternalError,`Error validating elicitation response: ${s instanceof Error?s.message:String(s)}`)}return r}}}createElicitationCompletionNotifier(e,i){if(!this._clientCapabilities?.elicitation?.url)throw new Error("Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:e}},i)}async listRoots(e,i){return this.request({method:"roots/list",params:e},Wg,i)}async sendLoggingMessage(e,i){if(this._capabilities.logging&&!this.isMessageIgnored(e.level,i))return this.notification({method:"notifications/message",params:e})}async sendResourceUpdated(e){return this.notification({method:"notifications/resources/updated",params:e})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}};var Px=Symbol.for("mcp.completable");function Ff(t){return!!t&&typeof t=="object"&&Px in t}function jx(t){return t[Px]?.complete}var yx;(function(t){t.Completable="McpCompletable"})(yx||(yx={}));var KB=/^[A-Za-z0-9._-]{1,128}$/;function QB(t){let e=[];if(t.length===0)return{isValid:!1,warnings:["Tool name cannot be empty"]};if(t.length>128)return{isValid:!1,warnings:[`Tool name exceeds maximum length of 128 characters (current: ${t.length})`]};if(t.includes(" ")&&e.push("Tool name contains spaces, which may cause parsing issues"),t.includes(",")&&e.push("Tool name contains commas, which may cause parsing issues"),(t.startsWith("-")||t.endsWith("-"))&&e.push("Tool name starts or ends with a dash, which may cause parsing issues in some contexts"),(t.startsWith(".")||t.endsWith("."))&&e.push("Tool name starts or ends with a dot, which may cause parsing issues in some contexts"),!KB.test(t)){let i=t.split("").filter(n=>!/[A-Za-z0-9._-]/.test(n)).filter((n,a,r)=>r.indexOf(n)===a);return e.push(`Tool name contains invalid characters: ${i.map(n=>`"${n}"`).join(", ")}`,"Allowed characters are: A-Z, a-z, 0-9, underscore (_), dash (-), and dot (.)"),{isValid:!1,warnings:e}}return{isValid:!0,warnings:e}}function YB(t,e){if(e.length>0){console.warn(`Tool name validation warning for "${t}":`);for(let i of e)console.warn(` - ${i}`);console.warn("Tool registration will proceed, but this may cause compatibility issues."),console.warn("Consider updating the tool name to conform to the MCP tool naming standard."),console.warn("See SEP: Specify Format for Tool Names (https://github.com/modelcontextprotocol/modelcontextprotocol/issues/986) for more details.")}}function Vf(t){let e=QB(t);return YB(t,e.warnings),e.isValid}var hc=class{constructor(e){this._mcpServer=e}registerToolTask(e,i,n){let a={taskSupport:"required",...i.execution};if(a.taskSupport==="forbidden")throw new Error(`Cannot register task-based tool '${e}' with taskSupport 'forbidden'. Use registerTool() instead.`);return this._mcpServer._createRegisteredTool(e,i.title,i.description,i.inputSchema,i.outputSchema,i.annotations,a,i._meta,n)}};var gc=class{constructor(e,i){this._registeredResources={},this._registeredResourceTemplates={},this._registeredTools={},this._registeredPrompts={},this._toolHandlersInitialized=!1,this._completionHandlerInitialized=!1,this._resourceHandlersInitialized=!1,this._promptHandlersInitialized=!1,this.server=new dc(e,i)}get experimental(){return this._experimental||(this._experimental={tasks:new hc(this)}),this._experimental}async connect(e){return await this.server.connect(e)}async close(){await this.server.close()}setToolRequestHandlers(){this._toolHandlersInitialized||(this.server.assertCanSetRequestHandler(Gt(Au)),this.server.assertCanSetRequestHandler(Gt(Ar)),this.server.registerCapabilities({tools:{listChanged:!0}}),this.server.setRequestHandler(Au,()=>({tools:Object.entries(this._registeredTools).filter(([,e])=>e.enabled).map(([e,i])=>{let n={name:e,title:i.title,description:i.description,inputSchema:(()=>{let a=mr(i.inputSchema);return a?Zg(a,{strictUnions:!0,pipeStrategy:"input"}):XB})(),annotations:i.annotations,execution:i.execution,_meta:i._meta};if(i.outputSchema){let a=mr(i.outputSchema);a&&(n.outputSchema=Zg(a,{strictUnions:!0,pipeStrategy:"output"}))}return n})})),this.server.setRequestHandler(Ar,async(e,i)=>{try{let n=this._registeredTools[e.params.name];if(!n)throw new U(F.InvalidParams,`Tool ${e.params.name} not found`);if(!n.enabled)throw new U(F.InvalidParams,`Tool ${e.params.name} disabled`);let a=!!e.params.task,r=n.execution?.taskSupport,s="createTask"in n.handler;if((r==="required"||r==="optional")&&!s)throw new U(F.InternalError,`Tool ${e.params.name} has taskSupport '${r}' but was not registered with registerToolTask`);if(r==="required"&&!a)throw new U(F.MethodNotFound,`Tool ${e.params.name} requires task augmentation (taskSupport: 'required')`);if(r==="optional"&&!a&&s)return await this.handleAutomaticTaskPolling(n,e,i);let o=await this.validateToolInput(n,e.params.arguments,e.params.name),l=await this.executeToolHandler(n,o,i);return a||await this.validateToolOutput(n,l,e.params.name),l}catch(n){if(n instanceof U&&n.code===F.UrlElicitationRequired)throw n;return this.createToolError(n instanceof Error?n.message:String(n))}}),this._toolHandlersInitialized=!0)}createToolError(e){return{content:[{type:"text",text:e}],isError:!0}}async validateToolInput(e,i,n){if(!e.inputSchema)return;let r=mr(e.inputSchema)??e.inputSchema,s=await Ql(r,i);if(!s.success){let o="error"in s?s.error:"Unknown error",l=Yl(o);throw new U(F.InvalidParams,`Input validation error: Invalid arguments for tool ${n}: ${l}`)}return s.data}async validateToolOutput(e,i,n){if(!e.outputSchema||!("content"in i)||i.isError)return;if(!i.structuredContent)throw new U(F.InvalidParams,`Output validation error: Tool ${n} has an output schema but no structured content was provided`);let a=mr(e.outputSchema),r=await Ql(a,i.structuredContent);if(!r.success){let s="error"in r?r.error:"Unknown error",o=Yl(s);throw new U(F.InvalidParams,`Output validation error: Invalid structured content for tool ${n}: ${o}`)}}async executeToolHandler(e,i,n){let a=e.handler;if("createTask"in a){if(!n.taskStore)throw new Error("No task store provided.");let s={...n,taskStore:n.taskStore};if(e.inputSchema){let o=a;return await Promise.resolve(o.createTask(i,s))}else{let o=a;return await Promise.resolve(o.createTask(s))}}if(e.inputSchema){let s=a;return await Promise.resolve(s(i,n))}else{let s=a;return await Promise.resolve(s(n))}}async handleAutomaticTaskPolling(e,i,n){if(!n.taskStore)throw new Error("No task store provided for task-capable tool.");let a=await this.validateToolInput(e,i.params.arguments,i.params.name),r=e.handler,s={...n,taskStore:n.taskStore},o=a?await Promise.resolve(r.createTask(a,s)):await Promise.resolve(r.createTask(s)),l=o.task.taskId,u=o.task,c=u.pollInterval??5e3;for(;u.status!=="completed"&&u.status!=="failed"&&u.status!=="cancelled";){await new Promise(d=>setTimeout(d,c));let p=await n.taskStore.getTask(l);if(!p)throw new U(F.InternalError,`Task ${l} not found during polling`);u=p}return await n.taskStore.getTaskResult(l)}setCompletionRequestHandler(){this._completionHandlerInitialized||(this.server.assertCanSetRequestHandler(Gt(yu)),this.server.registerCapabilities({completions:{}}),this.server.setRequestHandler(yu,async e=>{switch(e.params.ref.type){case"ref/prompt":return Vj(e),this.handlePromptCompletion(e,e.params.ref);case"ref/resource":return Jj(e),this.handleResourceCompletion(e,e.params.ref);default:throw new U(F.InvalidParams,`Invalid completion reference: ${e.params.ref}`)}}),this._completionHandlerInitialized=!0)}async handlePromptCompletion(e,i){let n=this._registeredPrompts[i.name];if(!n)throw new U(F.InvalidParams,`Prompt ${i.name} not found`);if(!n.enabled)throw new U(F.InvalidParams,`Prompt ${i.name} disabled`);if(!n.argsSchema)return To;let r=xt(n.argsSchema)?.[e.params.argument.name];if(!Ff(r))return To;let s=jx(r);if(!s)return To;let o=await s(e.params.argument.value,e.params.context);return Ox(o)}async handleResourceCompletion(e,i){let n=Object.values(this._registeredResourceTemplates).find(s=>s.resourceTemplate.uriTemplate.toString()===i.uri);if(!n){if(this._registeredResources[i.uri])return To;throw new U(F.InvalidParams,`Resource template ${e.params.ref.uri} not found`)}let a=n.resourceTemplate.completeCallback(e.params.argument.name);if(!a)return To;let r=await a(e.params.argument.value,e.params.context);return Ox(r)}setResourceRequestHandlers(){this._resourceHandlersInitialized||(this.server.assertCanSetRequestHandler(Gt(mu)),this.server.assertCanSetRequestHandler(Gt(fu)),this.server.assertCanSetRequestHandler(Gt(wu)),this.server.registerCapabilities({resources:{listChanged:!0}}),this.server.setRequestHandler(mu,async(e,i)=>{let n=Object.entries(this._registeredResources).filter(([r,s])=>s.enabled).map(([r,s])=>({uri:r,name:s.name,...s.metadata})),a=[];for(let r of Object.values(this._registeredResourceTemplates)){if(!r.resourceTemplate.listCallback)continue;let s=await r.resourceTemplate.listCallback(i);for(let o of s.resources)a.push({...r.metadata,...o})}return{resources:[...n,...a]}}),this.server.setRequestHandler(fu,async()=>({resourceTemplates:Object.entries(this._registeredResourceTemplates).map(([i,n])=>({name:i,uriTemplate:n.resourceTemplate.uriTemplate.toString(),...n.metadata}))})),this.server.setRequestHandler(wu,async(e,i)=>{let n=new URL(e.params.uri),a=this._registeredResources[n.toString()];if(a){if(!a.enabled)throw new U(F.InvalidParams,`Resource ${n} disabled`);return a.readCallback(n,i)}for(let r of Object.values(this._registeredResourceTemplates)){let s=r.resourceTemplate.uriTemplate.match(n.toString());if(s)return r.readCallback(n,s,i)}throw new U(F.InvalidParams,`Resource ${n} not found`)}),this._resourceHandlersInitialized=!0)}setPromptRequestHandlers(){this._promptHandlersInitialized||(this.server.assertCanSetRequestHandler(Gt(vu)),this.server.assertCanSetRequestHandler(Gt(Cu)),this.server.registerCapabilities({prompts:{listChanged:!0}}),this.server.setRequestHandler(vu,()=>({prompts:Object.entries(this._registeredPrompts).filter(([,e])=>e.enabled).map(([e,i])=>({name:e,title:i.title,description:i.description,arguments:i.argsSchema?eF(i.argsSchema):void 0}))})),this.server.setRequestHandler(Cu,async(e,i)=>{let n=this._registeredPrompts[e.params.name];if(!n)throw new U(F.InvalidParams,`Prompt ${e.params.name} not found`);if(!n.enabled)throw new U(F.InvalidParams,`Prompt ${e.params.name} disabled`);if(n.argsSchema){let a=mr(n.argsSchema),r=await Ql(a,e.params.arguments);if(!r.success){let l="error"in r?r.error:"Unknown error",u=Yl(l);throw new U(F.InvalidParams,`Invalid arguments for prompt ${e.params.name}: ${u}`)}let s=r.data,o=n.callback;return await Promise.resolve(o(s,i))}else{let a=n.callback;return await Promise.resolve(a(i))}}),this._promptHandlersInitialized=!0)}resource(e,i,...n){let a;typeof n[0]=="object"&&(a=n.shift());let r=n[0];if(typeof i=="string"){if(this._registeredResources[i])throw new Error(`Resource ${i} is already registered`);let s=this._createRegisteredResource(e,void 0,i,a,r);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),s}else{if(this._registeredResourceTemplates[e])throw new Error(`Resource template ${e} is already registered`);let s=this._createRegisteredResourceTemplate(e,void 0,i,a,r);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),s}}registerResource(e,i,n,a){if(typeof i=="string"){if(this._registeredResources[i])throw new Error(`Resource ${i} is already registered`);let r=this._createRegisteredResource(e,n.title,i,n,a);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),r}else{if(this._registeredResourceTemplates[e])throw new Error(`Resource template ${e} is already registered`);let r=this._createRegisteredResourceTemplate(e,n.title,i,n,a);return this.setResourceRequestHandlers(),this.sendResourceListChanged(),r}}_createRegisteredResource(e,i,n,a,r){let s={name:e,title:i,metadata:a,readCallback:r,enabled:!0,disable:()=>s.update({enabled:!1}),enable:()=>s.update({enabled:!0}),remove:()=>s.update({uri:null}),update:o=>{typeof o.uri<"u"&&o.uri!==n&&(delete this._registeredResources[n],o.uri&&(this._registeredResources[o.uri]=s)),typeof o.name<"u"&&(s.name=o.name),typeof o.title<"u"&&(s.title=o.title),typeof o.metadata<"u"&&(s.metadata=o.metadata),typeof o.callback<"u"&&(s.readCallback=o.callback),typeof o.enabled<"u"&&(s.enabled=o.enabled),this.sendResourceListChanged()}};return this._registeredResources[n]=s,s}_createRegisteredResourceTemplate(e,i,n,a,r){let s={resourceTemplate:n,title:i,metadata:a,readCallback:r,enabled:!0,disable:()=>s.update({enabled:!1}),enable:()=>s.update({enabled:!0}),remove:()=>s.update({name:null}),update:u=>{typeof u.name<"u"&&u.name!==e&&(delete this._registeredResourceTemplates[e],u.name&&(this._registeredResourceTemplates[u.name]=s)),typeof u.title<"u"&&(s.title=u.title),typeof u.template<"u"&&(s.resourceTemplate=u.template),typeof u.metadata<"u"&&(s.metadata=u.metadata),typeof u.callback<"u"&&(s.readCallback=u.callback),typeof u.enabled<"u"&&(s.enabled=u.enabled),this.sendResourceListChanged()}};this._registeredResourceTemplates[e]=s;let o=n.uriTemplate.variableNames;return Array.isArray(o)&&o.some(u=>!!n.completeCallback(u))&&this.setCompletionRequestHandler(),s}_createRegisteredPrompt(e,i,n,a,r){let s={title:i,description:n,argsSchema:a===void 0?void 0:Ca(a),callback:r,enabled:!0,disable:()=>s.update({enabled:!1}),enable:()=>s.update({enabled:!0}),remove:()=>s.update({name:null}),update:o=>{typeof o.name<"u"&&o.name!==e&&(delete this._registeredPrompts[e],o.name&&(this._registeredPrompts[o.name]=s)),typeof o.title<"u"&&(s.title=o.title),typeof o.description<"u"&&(s.description=o.description),typeof o.argsSchema<"u"&&(s.argsSchema=Ca(o.argsSchema)),typeof o.callback<"u"&&(s.callback=o.callback),typeof o.enabled<"u"&&(s.enabled=o.enabled),this.sendPromptListChanged()}};return this._registeredPrompts[e]=s,a&&Object.values(a).some(l=>{let u=l instanceof iu?l._def?.innerType:l;return Ff(u)})&&this.setCompletionRequestHandler(),s}_createRegisteredTool(e,i,n,a,r,s,o,l,u){Vf(e);let c={title:i,description:n,inputSchema:Sx(a),outputSchema:Sx(r),annotations:s,execution:o,_meta:l,handler:u,enabled:!0,disable:()=>c.update({enabled:!1}),enable:()=>c.update({enabled:!0}),remove:()=>c.update({name:null}),update:p=>{typeof p.name<"u"&&p.name!==e&&(typeof p.name=="string"&&Vf(p.name),delete this._registeredTools[e],p.name&&(this._registeredTools[p.name]=c)),typeof p.title<"u"&&(c.title=p.title),typeof p.description<"u"&&(c.description=p.description),typeof p.paramsSchema<"u"&&(c.inputSchema=Ca(p.paramsSchema)),typeof p.outputSchema<"u"&&(c.outputSchema=Ca(p.outputSchema)),typeof p.callback<"u"&&(c.handler=p.callback),typeof p.annotations<"u"&&(c.annotations=p.annotations),typeof p._meta<"u"&&(c._meta=p._meta),typeof p.enabled<"u"&&(c.enabled=p.enabled),this.sendToolListChanged()}};return this._registeredTools[e]=c,this.setToolRequestHandlers(),this.sendToolListChanged(),c}tool(e,...i){if(this._registeredTools[e])throw new Error(`Tool ${e} is already registered`);let n,a,r,s;if(typeof i[0]=="string"&&(n=i.shift()),i.length>1){let l=i[0];if(Jf(l))a=i.shift(),i.length>1&&typeof i[0]=="object"&&i[0]!==null&&!Jf(i[0])&&(s=i.shift());else if(typeof l=="object"&&l!==null){if(Object.values(l).some(u=>typeof u=="object"&&u!==null))throw new Error(`Tool ${e} expected a Zod schema or ToolAnnotations, but received an unrecognized object`);s=i.shift()}}let o=i[0];return this._createRegisteredTool(e,void 0,n,a,r,s,{taskSupport:"forbidden"},void 0,o)}registerTool(e,i,n){if(this._registeredTools[e])throw new Error(`Tool ${e} is already registered`);let{title:a,description:r,inputSchema:s,outputSchema:o,annotations:l,_meta:u}=i;return this._createRegisteredTool(e,a,r,s,o,l,{taskSupport:"forbidden"},u,n)}prompt(e,...i){if(this._registeredPrompts[e])throw new Error(`Prompt ${e} is already registered`);let n;typeof i[0]=="string"&&(n=i.shift());let a;i.length>1&&(a=i.shift());let r=i[0],s=this._createRegisteredPrompt(e,void 0,n,a,r);return this.setPromptRequestHandlers(),this.sendPromptListChanged(),s}registerPrompt(e,i,n){if(this._registeredPrompts[e])throw new Error(`Prompt ${e} is already registered`);let{title:a,description:r,argsSchema:s}=i,o=this._createRegisteredPrompt(e,a,r,s,n);return this.setPromptRequestHandlers(),this.sendPromptListChanged(),o}isConnected(){return this.server.transport!==void 0}async sendLoggingMessage(e,i){return this.server.sendLoggingMessage(e,i)}sendResourceListChanged(){this.isConnected()&&this.server.sendResourceListChanged()}sendToolListChanged(){this.isConnected()&&this.server.sendToolListChanged()}sendPromptListChanged(){this.isConnected()&&this.server.sendPromptListChanged()}};var XB={type:"object",properties:{}};function Tx(t){return t!==null&&typeof t=="object"&&"parse"in t&&typeof t.parse=="function"&&"safeParse"in t&&typeof t.safeParse=="function"}function xx(t){return"_def"in t||"_zod"in t||Tx(t)}function Jf(t){return typeof t!="object"||t===null||xx(t)?!1:Object.keys(t).length===0?!0:Object.values(t).some(Tx)}function Sx(t){if(t){if(Jf(t))return Ca(t);if(!xx(t))throw new Error("inputSchema must be a Zod schema or raw shape, received an unrecognized object");return t}}function eF(t){let e=xt(t);return e?Object.entries(e).map(([i,n])=>{let a=QP(n),r=YP(n);return{name:i,description:a,required:!r}}):[]}function Gt(t){let i=xt(t)?.method;if(!i)throw new Error("Schema is missing a method literal");let n=fr(i);if(typeof n=="string")return n;throw new Error("Schema method literal must be a string")}function Ox(t){return{completion:{values:t.slice(0,100),total:t.length,hasMore:t.length>100}}}var To={completion:{values:[],hasMore:!1}};var Zf=er(require("node:process"),1);var iF=10*1024*1024,mc=class{constructor(e){this._maxBufferSize=e?.maxBufferSize??iF}append(e){if((this._buffer?.length??0)+e.length>this._maxBufferSize)throw this.clear(),new Error(`ReadBuffer exceeded maximum size of ${this._maxBufferSize} bytes`);this._buffer=this._buffer?Buffer.concat([this._buffer,e]):e}readMessage(){if(!this._buffer)return null;let e=this._buffer.indexOf(` +`);if(e===-1)return null;let i=this._buffer.toString("utf8",0,e).replace(/\r$/,"");return this._buffer=this._buffer.subarray(e+1),nF(i)}clear(){this._buffer=void 0}};function nF(t){return Gj.parse(JSON.parse(t))}function Mx(t){return JSON.stringify(t)+` +`}var fc=class{constructor(e=Zf.default.stdin,i=Zf.default.stdout,n){this._stdin=e,this._stdout=i,this._started=!1,this._ondata=a=>{try{this._readBuffer.append(a),this.processReadBuffer()}catch(r){this.onerror?.(r),this.close().catch(()=>{})}},this._onerror=a=>{this.onerror?.(a)},this._readBuffer=new mc({maxBufferSize:n?.maxBufferSize})}async start(){if(this._started)throw new Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror)}processReadBuffer(){for(;;)try{let e=this._readBuffer.readMessage();if(e===null)break;this.onmessage?.(e)}catch(e){this.onerror?.(e)}}async close(){this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),this._stdin.listenerCount("data")===0&&this._stdin.pause(),this._readBuffer.clear(),this.onclose?.()}send(e){return new Promise(i=>{let n=Mx(e);this._stdout.write(n)?i():this._stdout.once("drain",i)})}};var Qp=er(sI());var lI=require("node:child_process"),uI=er(require("node:fs")),Mb=er(require("node:path"));var oI=12e4,p7={flowFile:We.string().min(1).describe("Path to the TypeScript flow file")},cI=t=>({config:{description:`Deploys a Genesys Cloud Architect flow from a TypeScript file. The file must export an async buildFlow(scripting) function that creates and saves the flow using the Architect Scripting SDK. The project's package.json must have "type": "module" for the ES module import to work.`,annotations:{title:"Deploy Flow",readOnlyHint:!1,destructiveHint:!0},inputSchema:p7},handler:async({flowFile:e})=>{let i=Mb.default.resolve(e);if(!uI.default.existsSync(i))return{isError:!0,content:[{type:"text",text:`Flow file not found: ${i}`}]};let n=[t.deployScriptPath,"--flow-file",i];return new Promise(a=>{let r=[],s,o=!1,l=h=>{o||(o=!0,clearTimeout(c),a(h))},u=(0,lI.spawn)("node",n,{env:{...process.env,GENESYS_REGION:t.region,GENESYS_CLIENT_ID:t.clientId,GENESYS_CLIENT_SECRET:t.clientSecret},cwd:Mb.default.dirname(i),stdio:["ignore","pipe","pipe"]}),c=setTimeout(()=>{u.kill("SIGTERM"),l({isError:!0,content:[{type:"text",text:`Deploy timed out after ${oI/1e3}s. Logs: ${r.join(` -`)}`}]})},tz);u.on("error",d=>{l({isError:!0,content:[{type:"text",text:`Failed to start deploy runner: ${d.message}`}]})});let p="";u.stdout.on("data",d=>{p+=d.toString();let g=p.split(` -`);p=g.pop()??"";for(let m of g)if(m.trim())try{let f=JSON.parse(m);f.type==="log"?r.push(`[${f.level}] ${f.message}`):f.type==="result"&&(s=f)}catch{r.push(m)}});let h="";u.stderr.on("data",d=>{h+=d.toString()}),u.on("close",d=>{if(p.trim())try{let f=JSON.parse(p.trim());f.type==="result"?s=f:f.type==="log"&&r.push(`[${f.level}] ${f.message}`)}catch{p.trim()&&r.push(p.trim())}let g=h.split(` +`)}`}]})},oI);u.on("error",h=>{l({isError:!0,content:[{type:"text",text:`Failed to start deploy runner: ${h.message}`}]})});let p="";u.stdout.on("data",h=>{p+=h.toString();let g=p.split(` +`);p=g.pop()??"";for(let m of g)if(m.trim())try{let f=JSON.parse(m);f.type==="log"?r.push(`[${f.level}] ${f.message}`):f.type==="result"&&(s=f)}catch{r.push(m)}});let d="";u.stderr.on("data",h=>{d+=h.toString()}),u.on("close",h=>{if(p.trim())try{let f=JSON.parse(p.trim());f.type==="result"?s=f:f.type==="log"&&r.push(`[${f.level}] ${f.message}`)}catch{p.trim()&&r.push(p.trim())}let g=d.split(` `).filter(f=>!f.includes("url.parse()")&&!f.includes("[DEP0169]")).join(` `).trim();g&&r.push(`[stderr] ${g}`);let m=r.length?` @@ -158,9 +155,9 @@ ${r.join(` Validation warnings: ${s.warnings.join(` `)}`),l({content:[{type:"text",text:f.join(` -`)+m}]})}else{let f=s?.error??`Deploy runner exited with code ${d}`;l({isError:!0,content:[{type:"text",text:`Deploy failed: ${f}${m}`}]})}})})}});var Zl=t=>`${t}::start`,Iy=(t,e)=>`${t}::${e}`;function $ee(t,e,n,i){let a=new Set(e.backEdges.map(d=>`${d.from} ${d.to}`)),r=new Map,s=new Map,o=new Map,l=new Map;for(let d of t.nodes.keys())r.set(d,[]),s.set(d,new Set),o.set(d,[]),l.set(d,new Set);for(let d of t.edges){let g=a.has(`${d.from} ${d.to}`),m=r.get(d.to);if(m){let w=`${d.from} ${d.label??""} ${g}`,b=s.get(d.to);b&&!b.has(w)&&(b.add(w),m.push({id:d.from,label:d.label,backEdge:g}))}let f=o.get(d.from);if(f){let w=`${d.to} ${d.label??""} ${g}`,b=l.get(d.from);b&&!b.has(w)&&(b.add(w),f.push({id:d.to,label:d.label,backEdge:g}))}}let u=-1;for(let d of e.order.values())d>u&&(u=d);let c=u+1,p=[];for(let[d,g]of t.nodes){let m=e.order.has(d),f=m?e.order.get(d):c++;p.push({id:d,kind:g.kind,actionType:g.actionType,label:g.label,description:g.description,predecessors:r.get(d)??[],successors:o.get(d)??[],order:f,taskId:g.taskId,taskName:g.taskName,reachable:m,terminal:g.terminal})}p.sort((d,g)=>d.order-g.order);let h=n.taskOrder.flatMap(d=>{let g=n.tasks.get(d);return g?[{id:d,name:g.name,reusable:n.reusableTaskIds.has(d)}]:[]});return{flowName:n.flowName,flowType:n.flowType,entryTaskId:n.entryTaskId,reachabilityIsComplete:i,tasks:h,nodes:p}}function Nee(t,e){let n=t;for(let i of e.split(".")){if(n==null||typeof n!="object")return;n=n[i]}return typeof n=="string"&&n.length>0?n:void 0}function ot(t,e){for(let n of e){let i=Nee(t,n);if(i!==void 0)return i}}function oz(t){let e=t.expression;if(e==null||typeof e!="object")return;let{text:n,type:i}=e;if(typeof n=="string"&&n.trim().length>0)return n;if(typeof i=="string"&&i.length>0)return i}function zy(t,e){let n=t.find(i=>i.outputId===e);return n?(n.terminal=!0,t):[{outputId:e,label:uz(e),synthetic:!0,terminal:!0},...t]}var Jl={isTerminal:()=>!0,outputs:()=>[]},Uee={isTerminal:()=>!0,describe:t=>ot(t,["transferTo","group.text","flowName","externalNumber.text","user.text","transferTarget.text","transferTargetGroup.text","queues.0.text"]),outputs:t=>zy(Kl(t).map(Es),"__SUCCESS__")},Lee={isTerminal:()=>!1,outputs:t=>{let e=t.path;if(!e||typeof e!="object")return[];let n=Es(e,0);return n.outputId="__LOOP__",typeof e.label=="string"&&e.label.length>0||(n.label="Loop"),[n]}},Wee={outputs:t=>zy(Kl(t).map(Es),"__SUCCESS__")},Bee={isTerminal:()=>!0,describe:t=>ot(t,["flowName"]),outputs:t=>zy(Kl(t).map(Es),"__DISCONNECT__")},Fee={outputs:t=>{let e=Kl(t);return e.length>0?[Es(e[0],0)]:[]}},st=t=>({describe:t}),Ry={DisconnectAction:Jl,EndFlowAction:Jl,EndTaskAction:Jl,EndStateAction:Jl,ExitBotFlowAction:Jl,LoopAction:Lee,ProcessVoicemailInputAction:Wee,CallBotFlowAction:Bee,AskForNLUNextIntentAction:Fee,WaitForInputAction:{},CallTaskAction:{},TaskAction:{},TransferMenuAction:{},TransferTaskAction:{},LoopUntilAction:{},DecisionAction:st(oz),SwitchAction:st(oz),DataAction:st(t=>ot(t,["actionName"])),DataTableLookupAction:st(t=>ot(t,["datatableName"])),CallCommonModuleAction:st(t=>ot(t,["flowName"])),CallBotConnectorAction:st(t=>ot(t,["botName"])),CallDigitalBotFlowAction:st(t=>ot(t,["flowName"])),AddFlowMilestoneAction:st(t=>ot(t,["milestoneName"])),ScreenPopAction:st(t=>ot(t,["inputs.0.value.text"])),PlayAudioAction:st(t=>ot(t,["prompts.defaultAudio.text"])),UpdateVariableAction:{},SetAttributesAction:{},GetAttributesAction:{},EvaluateScheduleAction:{},CollectInputAction:{},GetResponseAction:{},AskForBooleanAction:{},AskForSlotAction:{},CommunicateAction:{},DigitalMenuAction:{},SendResponseAction:{},TranscriptionAction:{},FindQueueAction:{},FindUserPromptAction:{},SetWhisperAudio:{},BridgeServerAction:{}};function Hy(t){return typeof t=="string"&&t.length>0}function Kl(t){let e=[];if(Array.isArray(t.paths))for(let n of t.paths)n&&typeof n=="object"&&e.push(n);return t.path&&typeof t.path=="object"&&e.push(t.path),e}function uz(t){let e=t.replace(/^__/,"").replace(/__$/,"");if(e.length===0)return t;let n=e.toLowerCase();return n.charAt(0).toUpperCase()+n.slice(1)}function Es(t,e){let n=t.outputId??`__OUTPUT_${e}__`,i=typeof t.label=="string"&&t.label.length>0?t.label:uz(n),a={outputId:n,label:i,nextActionId:t.nextActionId,synthetic:!1,terminal:!1};return t.enabled===!1&&(a.disabled=!0),a}var Vee=["taskReference","menuReference"],lz={describe:()=>{},outputs:t=>Kl(t).map(Es),isTerminal:()=>!1,referencedTaskIds:t=>{let e=[];for(let n of Vee){let i=t[n];typeof i=="string"&&i.length>0&&e.push(i)}return e}},Jee=new Set(["TransferMenuAction","TransferTaskAction"]);function cz(t){return typeof t=="string"&&t.startsWith("Transfer")&&!Jee.has(t)}function Zee(t){return t?t in Ry||cz(t):!1}function Kee(t){let e=cz(t)?{...lz,...Uee}:lz,n=t&&t in Ry?Ry[t]:void 0;return n?{...e,...n}:e}function*pz(t){for(let e of t.taskOrder){let n=t.tasks.get(e);if(n)for(let i of n.orderedActions)typeof i.id=="string"&&(yield{taskId:e,task:n,action:i,actionId:i.id,handler:Kee(i.__type)})}}function Qee(t){let e=[],n=[];for(let i of t.taskOrder){let a=t.tasks.get(i);if(a){Hy(a.startAction)&&e.push({from:Zl(i),to:a.startAction,kind:"fallthrough"});for(let r of a.menuChoices)e.push({from:Zl(i),to:r.actionId,kind:"reference",label:r.label})}}for(let{taskId:i,actionId:a,action:r,handler:s}of pz(t)){let o=s.isTerminal(r);Hy(r.nextAction)&&!o&&e.push({from:a,to:r.nextAction,kind:"fallthrough"});for(let l of s.outputs(r)){let u=Iy(a,l.outputId);e.push({from:a,to:u,kind:"branch",label:l.label}),Hy(l.nextActionId)&&!l.terminal&&e.push({from:u,to:l.nextActionId,kind:l.outputId==="__LOOP__"?"loop":"branch"})}for(let l of s.referencedTaskIds(r)){let u=t.tasks.get(l);u?e.push({from:a,to:Zl(l),kind:"reference",label:u.name}):n.push({code:"UNRESOLVED_REFERENCE",message:`Reference from ${a} to task ${l} is unresolvable.`,nodeId:a,taskId:i})}}return{edges:e,warnings:n}}function Yee(t,e,n){let i=new Map;for(let u of t)i.set(u.id,u);let a=new Map;for(let u of i.keys())a.set(u,[]);let r=[],s=[],o=[];for(let u of e){let c=i.has(u.from),p=i.has(u.to);if(!c||!p){let h=c?`unknown target node "${u.to}"`:`unknown source node "${u.from}"`;s.push({...u,reason:h}),o.push({code:"DROPPED_EDGE",message:`Dropped ${u.kind} edge ${u.from} \u2192 ${u.to}: ${h}.`});continue}r.push(u),a.get(u.from)?.push(u.to)}let l=n.taskOrder.map(Zl).filter(u=>i.has(u));return{graph:{nodes:i,edges:r,adjacency:a,roots:l,dropped:s},warnings:o}}function Xee(t,e,n){let i=[],a=[];if(Array.isArray(t.actionList))for(let r of t.actionList)r&&typeof r=="object"&&i.push(r);if(Array.isArray(t.menuChoiceList))for(let r of t.menuChoiceList){let s=r?.action;if(!s||typeof s!="object")continue;if(typeof s.id!="string"){n.push({code:"MISSING_ACTION_ID",message:`Menu-choice action of type "${s.__type??"(missing)"}" in task ${e} has no id and was skipped.`,taskId:e});continue}i.push(s);let o=typeof r.name=="string"&&r.name.length>0?r.name:s.name??s.id;a.push({actionId:s.id,label:o})}return{orderedActions:i,menuChoices:a}}function ene(t){if(typeof t=="string")return t;if(t&&typeof t=="object"){let e=t.id;if(typeof e=="string")return e}}function nne(t){let e=[],n=new Map,i=Array.isArray(t.flowSequenceItemList)?t.flowSequenceItemList:[];for(let p of i){if(!p||typeof p!="object"||typeof p.id!="string")continue;let h=typeof p.name=="string"&&p.name.length>0?p.name:p.id,{orderedActions:d,menuChoices:g}=Xee(p,p.id,e);n.set(p.id,{id:p.id,name:h,startAction:typeof p.startAction=="string"?p.startAction:void 0,orderedActions:d,menuChoices:g})}let a=new Set;for(let{id:p,orderedActions:h}of n.values())for(let d of h){if(typeof d.id!="string"){e.push({code:"MISSING_ACTION_ID",message:`Action of type "${d.__type??"(missing)"}" in task ${p} has no id and was skipped.`,taskId:p});continue}a.has(d.id)&&e.push({code:"DUPLICATE_ACTION_ID",message:`Duplicate action id "${d.id}" in task ${p}; the later definition wins.`,nodeId:d.id,taskId:p}),a.add(d.id)}let r=[...n.keys()],s=t.initialSequence,o=typeof s=="string"&&n.has(s),l=o?[s,...r.filter(p=>p!==s)]:r;typeof s=="string"&&s.length>0&&!o&&e.push({code:"UNRESOLVED_INITIAL_SEQUENCE",message:`initialSequence "${s}" matches no task; using declaration order.`});let u=new Set,c=t.uiMetaData?.task;if(Array.isArray(c))for(let p of c){let h=ene(p);h!==void 0&&u.add(h)}return{flowName:typeof t.name=="string"?t.name:"",flowType:typeof t.type=="string"?t.type:"",tasks:n,taskOrder:l,entryTaskId:o?s:void 0,reusableTaskIds:u,warnings:e}}var ine=new Set(["AskForNLUNextIntentAction","WaitForInputAction"]);function tne(t){let e=[],n=[];for(let i of t.taskOrder){let a=t.tasks.get(i);a&&e.push({id:Zl(i),kind:"task-start",label:a.name,taskId:i,taskName:a.name,terminal:!1})}for(let{taskId:i,task:a,action:r,actionId:s,handler:o}of pz(t)){let l=r.__type,u=typeof r.name=="string"&&r.name.length>0?r.name:l??s;e.push({id:s,kind:"action",actionType:l,label:u,description:o.describe(r),taskId:i,taskName:a.name,terminal:o.isTerminal(r)}),Zee(l)||n.push({code:"UNKNOWN_ACTION_TYPE",message:`Unknown action __type "${l??"(missing)"}" \u2014 handled generically.`,nodeId:s,taskId:i}),ine.has(l??"")&&n.push({code:"UNRESOLVED_INTENT_FANOUT",message:`Intent fan-out for ${s} is not resolved: per-intent routing (nluMetaData) is not modelled.`,nodeId:s,taskId:i});for(let c of o.outputs(r))e.push({id:Iy(s,c.outputId),kind:"branch-output",label:c.label,taskId:i,taskName:a.name,terminal:c.terminal}),c.disabled&&n.push({code:"DISABLED_BRANCH",message:`Output ${c.outputId} of ${s} is disabled.`,nodeId:Iy(s,c.outputId),taskId:i})}return{nodes:e,warnings:n}}function ane(t){let e=new Map;for(let s of t.nodes.keys())e.set(s,0);let n=new Map,i=[],a=0;for(let s of t.roots){if(e.get(s)!==0)continue;e.set(s,1),n.set(s,a++);let o=[{node:s,index:0}];for(;o.length>0;){let l=o[o.length-1],u=t.adjacency.get(l.node)??[];if(l.indexc.code==="UNRESOLVED_INTENT_FANOUT");return{ok:!0,ir:$ee(s,l,e,u),graph:s,warnings:[...e.warnings,...i,...r,...o]}}catch(e){return{ok:!1,error:{code:"INTERNAL",message:e instanceof Error?e.message:String(e)}}}}function rne(t,e){if(Array.isArray(t.actionList))for(let n of t.actionList)n&&typeof n=="object"&&e(n);if(Array.isArray(t.menuChoiceList))for(let n of t.menuChoiceList){if(!n||typeof n!="object")continue;let i=n.action;!i||typeof i!="object"||e(i,sne(n))}}function sne(t){let e={};return typeof t.id=="string"&&(e.id=t.id),typeof t.name=="string"&&(e.name=t.name),typeof t.digit=="string"&&(e.digit=t.digit),e}function one(t){if(t===null||typeof t!="object"||Array.isArray(t))return[];let e=t.flowSequenceItemList;return Array.isArray(e)?e:[]}function hz(t,e){let n=[],i=new Set;for(let o of Array.isArray(e)?e:[])typeof o=="string"&&!i.has(o)&&(i.add(o),n.push(o));if(n.length===0)return{found:[],notFound:[]};let a=new Map;for(let o of one(t)){if(!o||typeof o!="object"||typeof o.id!="string")continue;let l=o.id,u=typeof o.name=="string"&&o.name.length>0?o.name:l;rne(o,(c,p)=>{if(typeof c.id!="string"||!i.has(c.id))return;let h={actionId:c.id,action:c,taskId:l,taskName:u};p&&(h.menuChoice=p);let d=a.get(c.id);d?d.push(h):a.set(c.id,[h])})}let r=[],s=[];for(let o of n){let l=a.get(o);l?r.push(...l):s.push(o)}return{found:r,notFound:s}}var gz=25;function lne(t){let e=[],n=new Map,i=!1;for(let a of t){let r=a.split("::")[0]||a;r!==a&&(i=!0),n.has(r)||(n.set(r,a),e.push(r))}return{lookupIds:e,requestedFor:n,strippedAny:i}}var une={flowId:We.string().min(1).describe("The Genesys Cloud Architect flow ID"),actionIds:We.array(We.string().min(1)).min(1).max(gz).describe(`Action GUIDs, taken from the \`id\` of flow_ir nodes whose \`kind\` is "action". Batch every action of interest into one call rather than calling this tool repeatedly. Branch-output ids of the form \`::\` are also accepted; the suffix is stripped and the underlying action is returned. Maximum ${gz} ids.`)},mz=({architectApi:t})=>({config:{description:"Retrieves the raw Architect configuration of specific actions in a Genesys Cloud Architect flow: decision expressions, prompt text, data action inputs and outputs, and any other per-action settings that the flow_ir tool omits. Use flow_ir first to find action ids and to understand the control flow, then use this tool to find out what an action actually does. Do not use the raw fields returned here to make control-flow claims: flow_ir has already resolved those, and its answer accounts for branches the raw configuration does not reflect.",annotations:{title:"Flow Action",readOnlyHint:!0,destructiveHint:!1},inputSchema:une},handler:async({flowId:e,actionIds:n})=>{let i;try{i=await t.getFlowLatestconfiguration(e)}catch{return{isError:!0,content:[{type:"text",text:`Flow "${e}" not found or not accessible.`}]}}let{lookupIds:a,requestedFor:r,strippedAny:s}=lne(n),o=hz(i,a),l=c=>({...c,actionId:r.get(c.actionId)??c.actionId}),u=[];return s&&u.push("Some requested ids were flow_ir synthetic node ids of the form ::; the suffix was stripped and the underlying action looked up, then reported under the id as requested. A ::start id identifies a task rather than an action, so it never matches."),o.notFound.length>0&&u.push("Ids in notFound are absent from this flow's latest configuration. The flow may have been redeployed since flow_ir was called, so re-run flow_ir and re-join rather than concluding those actions no longer exist."),{content:[{type:"text",text:JSON.stringify({flowId:e,found:o.found.map(l),notFound:o.notFound.map(c=>r.get(c)??c),...u.length>0?{notes:u}:{}})}]}}});function fz(t){let e=t.toUpperCase();return e.endsWith("FLOW")?e:`${e}FLOW`}function cne(t,e){let n={};for(let i of e){let a=i.type??"UNKNOWN";n[a]||(n[a]=[]),n[a].push({id:i.id??"",name:i.name??"",...i.version?{version:i.version}:{},deleted:i.deleted??!1,updated:i.updated??!1})}return{flow:{id:t.id??"",name:t.name,type:fz(t.type??""),version:t.publishedVersion?.commitVersion??"1"},dependencies:n}}var pne={flowId:We.string().min(1).describe("The Genesys Cloud Architect flow ID")},wz=({architectApi:t})=>({config:{description:"Retrieves all dependencies consumed by a Genesys Cloud Architect flow. Returns the flow metadata and its dependencies grouped by type.",annotations:{title:"Flow Dependencies",readOnlyHint:!0,destructiveHint:!1},inputSchema:pne},handler:async({flowId:e})=>{try{let n;try{n=await t.getFlow(e)}catch{return{isError:!0,content:[{type:"text",text:`Flow "${e}" not found.`}]}}let i=fz(n.type??""),a=n.publishedVersion?.commitVersion??"1",r=[],s=1;for(;;){let l=await t.getArchitectDependencytrackingConsumedresources(n.id,a,i,{pageSize:100,pageNumber:s});if(l.entities&&r.push(...l.entities),!l.nextUri)break;s++}let o=cne(n,r);return{content:[{type:"text",text:JSON.stringify(o,null,2)}]}}catch(n){return{isError:!0,content:[{type:"text",text:`Failed to retrieve flow dependencies: ${n instanceof Error?n.message:String(n)}`}]}}}});function dne(t,e){let n=t.find(r=>r.id===e);if(n)return{match:n};let i=e.toLowerCase(),a=t.filter(r=>r.name.toLowerCase()===i);return a.length>1?{ambiguous:a}:a[0]?{match:a[0]}:void 0}var hne={flowId:We.string().min(1).describe("The Genesys Cloud Architect flow ID"),task:We.string().min(1).optional().describe("Optional. Restrict the returned nodes to a single task, by task id or task name (case-insensitive). Use this to explore a large flow one task at a time. The full task list is always returned, and a node's predecessors may reference nodes in other tasks, which will not appear in the filtered node list.")},vz=({architectApi:t})=>({config:{description:"Retrieves the intermediate representation (IR) of a Genesys Cloud Architect flow: a flat, ordered list of its actions with the branches connecting them. Use this to understand what an existing flow does. It answers what follows an action, which branch leads where, which actions are unreachable, and how tasks call each other.",annotations:{title:"Flow IR",readOnlyHint:!0,destructiveHint:!1},inputSchema:hne},handler:async({flowId:e,task:n})=>{let i;try{i=await t.getFlowLatestconfiguration(e)}catch{return{isError:!0,content:[{type:"text",text:`Flow "${e}" not found or not accessible.`}]}}let a=dz(i);if(!a.ok)return{isError:!0,content:[{type:"text",text:`Failed to parse flow "${e}" (${a.error.code}): ${a.error.message}`}]};let r=a.ir;if(typeof n=="string"){let s=dne(r.tasks,n);if(!s){let o=r.tasks.map(l=>l.name).join(", ");return{isError:!0,content:[{type:"text",text:`No task matching "${n}" in flow "${e}". Available tasks: ${o||"(none)"}.`}]}}if("ambiguous"in s){let o=s.ambiguous.map(l=>`"${l.name}" (id: ${l.id})`).join(", ");return{isError:!0,content:[{type:"text",text:`Task name "${n}" is ambiguous in flow "${e}". It matches ${o}. Retry with the task id.`}]}}r={...r,nodes:r.nodes.filter(o=>o.taskId===s.match.id)}}return{content:[{type:"text",text:JSON.stringify({flowId:e,ir:r,warnings:a.warnings})}]}}});var Dy=new Map;function gne(t){let{id:e,previousTurn:n,...i}=t;return i}async function Cz(t,e,n){let i=[],a=n;for(;i.push(gne(a)),Dy.set(e,a.id),a.nextActionType==="NoOp";)a=await t.postTextbotsBotflowsSessionTurns(e,{previousTurn:{id:a.id},inputEventType:"NoOp",inputEventUserInput:{mode:"Text",alternatives:[{transcript:{text:""}}]}});let r=a.nextActionType;return(r==="Disconnect"||r==="Exit")&&Dy.delete(e),{content:[{type:"text",text:JSON.stringify({sessionId:e,turns:i},null,2)}]}}var mne={flowId:We.string().optional().describe("The bot flow ID to test. Required when starting a new session."),sessionId:We.string().optional().describe("Session ID from a previous call. Required when continuing an existing conversation."),message:We.string().optional().describe("User message to send to the bot. Required when continuing a session.")},Az=({textbotsApi:t})=>({config:{description:"Tests a deployed Genesys Cloud Architect Bot Flow and Digital Bot Flow by simulating a text conversation. To start: provide flowId. To continue: provide the returned sessionId and a message. Turn tracking is managed server-side \u2014 only the sessionId is needed between calls. Returns { sessionId, turns[] } where each turn contains the raw API response (prompts with segments, outputLanguage, nextActionType, and action-specific data like modeConstraints or outputData). Multiple turns are returned when the flow sends consecutive messages (NoOp turns are automatically drained). nextActionType values: WaitForInput (send another message), Disconnect/Exit (conversation ended).",annotations:{title:"Test Bot Flow",readOnlyHint:!1,destructiveHint:!1},inputSchema:mne},handler:async({flowId:e,sessionId:n,message:i})=>{try{if(n&&e)return{isError:!0,content:[{type:"text",text:"Provide either flowId (to start) or sessionId (to continue), not both."}]};if(!n&&!e)return{isError:!0,content:[{type:"text",text:"Provide flowId to start a new session or sessionId to continue an existing one."}]};if(e){let s=await t.postTextbotsBotflowsSessions({flow:{id:e},externalSessionId:"",inputData:{variables:{}},channel:{inputModes:["Text"],outputModes:["Text"],name:"Messaging",userAgent:{name:"GenesysWebWidget"}},language:""}),o=await t.postTextbotsBotflowsSessionTurns(s.id,{inputEventType:"NoOp",inputEventUserInput:{mode:"Text",alternatives:[{transcript:{text:""}}]}});return Cz(t,s.id,o)}if(!n||!i)return{isError:!0,content:[{type:"text",text:"A message is required when continuing an existing session."}]};let a=Dy.get(n);if(!a)return{isError:!0,content:[{type:"text",text:`No active session found for ID "${n}". It may have expired or already ended. Start a new session with a flowId.`}]};let r=await t.postTextbotsBotflowsSessionTurns(n,{previousTurn:{id:a},inputEventType:"UserInput",inputEventUserInput:{mode:"Text",alternatives:[{transcript:{text:i}}]}});return Cz(t,n,r)}catch(a){return{isError:!0,content:[{type:"text",text:`Bot flow test failed: ${a instanceof Error?a.message:JSON.stringify(a)}`}]}}}});var Gy=We.object({GENESYS_REGION:We.string().min(1),GENESYS_CLIENT_ID:We.string().min(1),GENESYS_CLIENT_SECRET:We.string().min(1),DEPLOY_SCRIPT_PATH:We.string().min(1),PREVENT_LOGIN:We.enum(["TRUE","FALSE"]).default("FALSE").transform(t=>t==="TRUE")}).safeParse(process.env);if(!Gy.success){let t=Gy.error.issues.map(e=>e.path[0]).join(` +`)+m}]})}else{let f=s?.error??`Deploy runner exited with code ${h}`;l({isError:!0,content:[{type:"text",text:`Deploy failed: ${f}${m}`}]})}})})}});var Pl=t=>`${t}::start`,kb=(t,e)=>`${t}::${e}`;function d7(t,e,i,n){let a=new Set(e.backEdges.map(h=>`${h.from} ${h.to}`)),r=new Map,s=new Map,o=new Map,l=new Map;for(let h of t.nodes.keys())r.set(h,[]),s.set(h,new Set),o.set(h,[]),l.set(h,new Set);for(let h of t.edges){let g=a.has(`${h.from} ${h.to}`),m=r.get(h.to);if(m){let w=`${h.from} ${h.label??""} ${g}`,b=s.get(h.to);b&&!b.has(w)&&(b.add(w),m.push({id:h.from,label:h.label,backEdge:g}))}let f=o.get(h.from);if(f){let w=`${h.to} ${h.label??""} ${g}`,b=l.get(h.from);b&&!b.has(w)&&(b.add(w),f.push({id:h.to,label:h.label,backEdge:g}))}}let u=-1;for(let h of e.order.values())h>u&&(u=h);let c=u+1,p=[];for(let[h,g]of t.nodes){let m=e.order.has(h),f=m?e.order.get(h):c++;p.push({id:h,kind:g.kind,actionType:g.actionType,label:g.label,description:g.description,predecessors:r.get(h)??[],successors:o.get(h)??[],order:f,taskId:g.taskId,taskName:g.taskName,reachable:m,terminal:g.terminal})}p.sort((h,g)=>h.order-g.order);let d=i.taskOrder.flatMap(h=>{let g=i.tasks.get(h);return g?[{id:h,name:g.name,reusable:i.reusableTaskIds.has(h)}]:[]});return{flowName:i.flowName,flowType:i.flowType,entryTaskId:i.entryTaskId,reachabilityIsComplete:n,tasks:d,nodes:p}}function h7(t,e){let i=t;for(let n of e.split(".")){if(i==null||typeof i!="object")return;i=i[n]}return typeof i=="string"&&i.length>0?i:void 0}function it(t,e){for(let i of e){let n=h7(t,i);if(n!==void 0)return n}}function pI(t){let e=t.expression;if(e==null||typeof e!="object")return;let{text:i,type:n}=e;if(typeof i=="string"&&i.trim().length>0)return i;if(typeof n=="string"&&n.length>0)return n}function _b(t,e){let i=t.find(n=>n.outputId===e);return i?(i.terminal=!0,t):[{outputId:e,label:hI(e),synthetic:!0,terminal:!0},...t]}var yl={isTerminal:()=>!0,outputs:()=>[]},g7={isTerminal:()=>!0,describe:t=>it(t,["transferTo","group.text","flowName","externalNumber.text","user.text","transferTarget.text","transferTargetGroup.text","queues.0.text"]),outputs:t=>_b(jl(t).map(hs),"__SUCCESS__")},m7={isTerminal:()=>!1,outputs:t=>{let e=t.path;if(!e||typeof e!="object")return[];let i=hs(e,0);return i.outputId="__LOOP__",typeof e.label=="string"&&e.label.length>0||(i.label="Loop"),[i]}},f7={outputs:t=>_b(jl(t).map(hs),"__SUCCESS__")},w7={isTerminal:()=>!0,describe:t=>it(t,["flowName"]),outputs:t=>_b(jl(t).map(hs),"__DISCONNECT__")},v7={outputs:t=>{let e=jl(t);return e.length>0?[hs(e[0],0)]:[]}},et=t=>({describe:t}),qb={DisconnectAction:yl,EndFlowAction:yl,EndTaskAction:yl,EndStateAction:yl,ExitBotFlowAction:yl,LoopAction:m7,ProcessVoicemailInputAction:f7,CallBotFlowAction:w7,AskForNLUNextIntentAction:v7,WaitForInputAction:{},CallTaskAction:{},TaskAction:{},TransferMenuAction:{},TransferTaskAction:{},LoopUntilAction:{},DecisionAction:et(pI),SwitchAction:et(pI),DataAction:et(t=>it(t,["actionName"])),DataTableLookupAction:et(t=>it(t,["datatableName"])),CallCommonModuleAction:et(t=>it(t,["flowName"])),CallBotConnectorAction:et(t=>it(t,["botName"])),CallDigitalBotFlowAction:et(t=>it(t,["flowName"])),AddFlowMilestoneAction:et(t=>it(t,["milestoneName"])),ScreenPopAction:et(t=>it(t,["inputs.0.value.text"])),PlayAudioAction:et(t=>it(t,["prompts.defaultAudio.text"])),UpdateVariableAction:{},SetAttributesAction:{},GetAttributesAction:{},EvaluateScheduleAction:{},CollectInputAction:{},GetResponseAction:{},AskForBooleanAction:{},AskForSlotAction:{},CommunicateAction:{},DigitalMenuAction:{},SendResponseAction:{},TranscriptionAction:{},FindQueueAction:{},FindUserPromptAction:{},SetWhisperAudio:{},BridgeServerAction:{}};function Eb(t){return typeof t=="string"&&t.length>0}function jl(t){let e=[];if(Array.isArray(t.paths))for(let i of t.paths)i&&typeof i=="object"&&e.push(i);return t.path&&typeof t.path=="object"&&e.push(t.path),e}function hI(t){let e=t.replace(/^__/,"").replace(/__$/,"");if(e.length===0)return t;let i=e.toLowerCase();return i.charAt(0).toUpperCase()+i.slice(1)}function hs(t,e){let i=t.outputId??`__OUTPUT_${e}__`,n=typeof t.label=="string"&&t.label.length>0?t.label:hI(i),a={outputId:i,label:n,nextActionId:t.nextActionId,synthetic:!1,terminal:!1};return t.enabled===!1&&(a.disabled=!0),a}var C7=["taskReference","menuReference"],dI={describe:()=>{},outputs:t=>jl(t).map(hs),isTerminal:()=>!1,referencedTaskIds:t=>{let e=[];for(let i of C7){let n=t[i];typeof n=="string"&&n.length>0&&e.push(n)}return e}},A7=new Set(["TransferMenuAction","TransferTaskAction"]);function gI(t){return typeof t=="string"&&t.startsWith("Transfer")&&!A7.has(t)}function b7(t){return t?t in qb||gI(t):!1}function y7(t){let e=gI(t)?{...dI,...g7}:dI,i=t&&t in qb?qb[t]:void 0;return i?{...e,...i}:e}function*mI(t){for(let e of t.taskOrder){let i=t.tasks.get(e);if(i)for(let n of i.orderedActions)typeof n.id=="string"&&(yield{taskId:e,task:i,action:n,actionId:n.id,handler:y7(n.__type)})}}function P7(t){let e=[],i=[];for(let n of t.taskOrder){let a=t.tasks.get(n);if(a){Eb(a.startAction)&&e.push({from:Pl(n),to:a.startAction,kind:"fallthrough"});for(let r of a.menuChoices)e.push({from:Pl(n),to:r.actionId,kind:"reference",label:r.label})}}for(let{taskId:n,actionId:a,action:r,handler:s}of mI(t)){let o=s.isTerminal(r);Eb(r.nextAction)&&!o&&e.push({from:a,to:r.nextAction,kind:"fallthrough"});for(let l of s.outputs(r)){let u=kb(a,l.outputId);e.push({from:a,to:u,kind:"branch",label:l.label}),Eb(l.nextActionId)&&!l.terminal&&e.push({from:u,to:l.nextActionId,kind:l.outputId==="__LOOP__"?"loop":"branch"})}for(let l of s.referencedTaskIds(r)){let u=t.tasks.get(l);u?e.push({from:a,to:Pl(l),kind:"reference",label:u.name}):i.push({code:"UNRESOLVED_REFERENCE",message:`Reference from ${a} to task ${l} is unresolvable.`,nodeId:a,taskId:n})}}return{edges:e,warnings:i}}function j7(t,e,i){let n=new Map;for(let u of t)n.set(u.id,u);let a=new Map;for(let u of n.keys())a.set(u,[]);let r=[],s=[],o=[];for(let u of e){let c=n.has(u.from),p=n.has(u.to);if(!c||!p){let d=c?`unknown target node "${u.to}"`:`unknown source node "${u.from}"`;s.push({...u,reason:d}),o.push({code:"DROPPED_EDGE",message:`Dropped ${u.kind} edge ${u.from} \u2192 ${u.to}: ${d}.`});continue}r.push(u),a.get(u.from)?.push(u.to)}let l=i.taskOrder.map(Pl).filter(u=>n.has(u));return{graph:{nodes:n,edges:r,adjacency:a,roots:l,dropped:s},warnings:o}}function S7(t,e,i){let n=[],a=[];if(Array.isArray(t.actionList))for(let r of t.actionList)r&&typeof r=="object"&&n.push(r);if(Array.isArray(t.menuChoiceList))for(let r of t.menuChoiceList){let s=r?.action;if(!s||typeof s!="object")continue;if(typeof s.id!="string"){i.push({code:"MISSING_ACTION_ID",message:`Menu-choice action of type "${s.__type??"(missing)"}" in task ${e} has no id and was skipped.`,taskId:e});continue}n.push(s);let o=typeof r.name=="string"&&r.name.length>0?r.name:s.name??s.id;a.push({actionId:s.id,label:o})}return{orderedActions:n,menuChoices:a}}function O7(t){if(typeof t=="string")return t;if(t&&typeof t=="object"){let e=t.id;if(typeof e=="string")return e}}function T7(t){let e=[],i=new Map,n=Array.isArray(t.flowSequenceItemList)?t.flowSequenceItemList:[];for(let p of n){if(!p||typeof p!="object"||typeof p.id!="string")continue;let d=typeof p.name=="string"&&p.name.length>0?p.name:p.id,{orderedActions:h,menuChoices:g}=S7(p,p.id,e);i.set(p.id,{id:p.id,name:d,startAction:typeof p.startAction=="string"?p.startAction:void 0,orderedActions:h,menuChoices:g})}let a=new Set;for(let{id:p,orderedActions:d}of i.values())for(let h of d){if(typeof h.id!="string"){e.push({code:"MISSING_ACTION_ID",message:`Action of type "${h.__type??"(missing)"}" in task ${p} has no id and was skipped.`,taskId:p});continue}a.has(h.id)&&e.push({code:"DUPLICATE_ACTION_ID",message:`Duplicate action id "${h.id}" in task ${p}; the later definition wins.`,nodeId:h.id,taskId:p}),a.add(h.id)}let r=[...i.keys()],s=t.initialSequence,o=typeof s=="string"&&i.has(s),l=o?[s,...r.filter(p=>p!==s)]:r;typeof s=="string"&&s.length>0&&!o&&e.push({code:"UNRESOLVED_INITIAL_SEQUENCE",message:`initialSequence "${s}" matches no task; using declaration order.`});let u=new Set,c=t.uiMetaData?.task;if(Array.isArray(c))for(let p of c){let d=O7(p);d!==void 0&&u.add(d)}return{flowName:typeof t.name=="string"?t.name:"",flowType:typeof t.type=="string"?t.type:"",tasks:i,taskOrder:l,entryTaskId:o?s:void 0,reusableTaskIds:u,warnings:e}}var x7=new Set(["AskForNLUNextIntentAction","WaitForInputAction"]);function M7(t){let e=[],i=[];for(let n of t.taskOrder){let a=t.tasks.get(n);a&&e.push({id:Pl(n),kind:"task-start",label:a.name,taskId:n,taskName:a.name,terminal:!1})}for(let{taskId:n,task:a,action:r,actionId:s,handler:o}of mI(t)){let l=r.__type,u=typeof r.name=="string"&&r.name.length>0?r.name:l??s;e.push({id:s,kind:"action",actionType:l,label:u,description:o.describe(r),taskId:n,taskName:a.name,terminal:o.isTerminal(r)}),b7(l)||i.push({code:"UNKNOWN_ACTION_TYPE",message:`Unknown action __type "${l??"(missing)"}" \u2014 handled generically.`,nodeId:s,taskId:n}),x7.has(l??"")&&i.push({code:"UNRESOLVED_INTENT_FANOUT",message:`Intent fan-out for ${s} is not resolved: per-intent routing (nluMetaData) is not modelled.`,nodeId:s,taskId:n});for(let c of o.outputs(r))e.push({id:kb(s,c.outputId),kind:"branch-output",label:c.label,taskId:n,taskName:a.name,terminal:c.terminal}),c.disabled&&i.push({code:"DISABLED_BRANCH",message:`Output ${c.outputId} of ${s} is disabled.`,nodeId:kb(s,c.outputId),taskId:n})}return{nodes:e,warnings:i}}function E7(t){let e=new Map;for(let s of t.nodes.keys())e.set(s,0);let i=new Map,n=[],a=0;for(let s of t.roots){if(e.get(s)!==0)continue;e.set(s,1),i.set(s,a++);let o=[{node:s,index:0}];for(;o.length>0;){let l=o[o.length-1],u=t.adjacency.get(l.node)??[];if(l.indexc.code==="UNRESOLVED_INTENT_FANOUT");return{ok:!0,ir:d7(s,l,e,u),graph:s,warnings:[...e.warnings,...n,...r,...o]}}catch(e){return{ok:!1,error:{code:"INTERNAL",message:e instanceof Error?e.message:String(e)}}}}function k7(t,e){if(Array.isArray(t.actionList))for(let i of t.actionList)i&&typeof i=="object"&&e(i);if(Array.isArray(t.menuChoiceList))for(let i of t.menuChoiceList){if(!i||typeof i!="object")continue;let n=i.action;!n||typeof n!="object"||e(n,q7(i))}}function q7(t){let e={};return typeof t.id=="string"&&(e.id=t.id),typeof t.name=="string"&&(e.name=t.name),typeof t.digit=="string"&&(e.digit=t.digit),e}function _7(t){if(t===null||typeof t!="object"||Array.isArray(t))return[];let e=t.flowSequenceItemList;return Array.isArray(e)?e:[]}function wI(t,e){let i=[],n=new Set;for(let o of Array.isArray(e)?e:[])typeof o=="string"&&!n.has(o)&&(n.add(o),i.push(o));if(i.length===0)return{found:[],notFound:[]};let a=new Map;for(let o of _7(t)){if(!o||typeof o!="object"||typeof o.id!="string")continue;let l=o.id,u=typeof o.name=="string"&&o.name.length>0?o.name:l;k7(o,(c,p)=>{if(typeof c.id!="string"||!n.has(c.id))return;let d={actionId:c.id,action:c,taskId:l,taskName:u};p&&(d.menuChoice=p);let h=a.get(c.id);h?h.push(d):a.set(c.id,[d])})}let r=[],s=[];for(let o of i){let l=a.get(o);l?r.push(...l):s.push(o)}return{found:r,notFound:s}}var vI=25;function H7(t){let e=[],i=new Map,n=!1;for(let a of t){let r=a.split("::")[0]||a;r!==a&&(n=!0),i.has(r)||(i.set(r,a),e.push(r))}return{lookupIds:e,requestedFor:i,strippedAny:n}}var I7={flowId:We.string().min(1).describe("The Genesys Cloud Architect flow ID"),actionIds:We.array(We.string().min(1)).min(1).max(vI).describe(`Action GUIDs, taken from the \`id\` of flow_ir nodes whose \`kind\` is "action". Batch every action of interest into one call rather than calling this tool repeatedly. Branch-output ids of the form \`::\` are also accepted; the suffix is stripped and the underlying action is returned. Maximum ${vI} ids.`)},CI=({architectApi:t})=>({config:{description:"Retrieves the raw Architect configuration of specific actions in a Genesys Cloud Architect flow: decision expressions, prompt text, data action inputs and outputs, and any other per-action settings that the flow_ir tool omits. Use flow_ir first to find action ids and to understand the control flow, then use this tool to find out what an action actually does. Do not use the raw fields returned here to make control-flow claims: flow_ir has already resolved those, and its answer accounts for branches the raw configuration does not reflect.",annotations:{title:"Flow Action",readOnlyHint:!0,destructiveHint:!1},inputSchema:I7},handler:async({flowId:e,actionIds:i})=>{let n;try{n=await t.getFlowLatestconfiguration(e)}catch{return{isError:!0,content:[{type:"text",text:`Flow "${e}" not found or not accessible.`}]}}let{lookupIds:a,requestedFor:r,strippedAny:s}=H7(i),o=wI(n,a),l=c=>({...c,actionId:r.get(c.actionId)??c.actionId}),u=[];return s&&u.push("Some requested ids were flow_ir synthetic node ids of the form ::; the suffix was stripped and the underlying action looked up, then reported under the id as requested. A ::start id identifies a task rather than an action, so it never matches."),o.notFound.length>0&&u.push("Ids in notFound are absent from this flow's latest configuration. The flow may have been redeployed since flow_ir was called, so re-run flow_ir and re-join rather than concluding those actions no longer exist."),{content:[{type:"text",text:JSON.stringify({flowId:e,found:o.found.map(l),notFound:o.notFound.map(c=>r.get(c)??c),...u.length>0?{notes:u}:{}})}]}}});function AI(t){let e=t.toUpperCase();return e.endsWith("FLOW")?e:`${e}FLOW`}function R7(t,e){let i={};for(let n of e){let a=n.type??"UNKNOWN";i[a]||(i[a]=[]),i[a].push({id:n.id??"",name:n.name??"",...n.version?{version:n.version}:{},deleted:n.deleted??!1,updated:n.updated??!1})}return{flow:{id:t.id??"",name:t.name,type:AI(t.type??""),version:t.publishedVersion?.commitVersion??"1"},dependencies:i}}var z7={flowId:We.string().min(1).describe("The Genesys Cloud Architect flow ID")},bI=({architectApi:t})=>({config:{description:"Retrieves all dependencies consumed by a Genesys Cloud Architect flow. Returns the flow metadata and its dependencies grouped by type.",annotations:{title:"Flow Dependencies",readOnlyHint:!0,destructiveHint:!1},inputSchema:z7},handler:async({flowId:e})=>{try{let i;try{i=await t.getFlow(e)}catch{return{isError:!0,content:[{type:"text",text:`Flow "${e}" not found.`}]}}let n=AI(i.type??""),a=i.publishedVersion?.commitVersion??"1",r=[],s=1;for(;;){let l=await t.getArchitectDependencytrackingConsumedresources(i.id,a,n,{pageSize:100,pageNumber:s});if(l.entities&&r.push(...l.entities),!l.nextUri)break;s++}let o=R7(i,r);return{content:[{type:"text",text:JSON.stringify(o,null,2)}]}}catch(i){return{isError:!0,content:[{type:"text",text:`Failed to retrieve flow dependencies: ${i instanceof Error?i.message:String(i)}`}]}}}});function D7(t,e){let i=t.find(r=>r.id===e);if(i)return{match:i};let n=e.toLowerCase(),a=t.filter(r=>r.name.toLowerCase()===n);return a.length>1?{ambiguous:a}:a[0]?{match:a[0]}:void 0}var G7={flowId:We.string().min(1).describe("The Genesys Cloud Architect flow ID"),task:We.string().min(1).optional().describe("Optional. Restrict the returned nodes to a single task, by task id or task name (case-insensitive). Use this to explore a large flow one task at a time. The full task list is always returned, and a node's predecessors may reference nodes in other tasks, which will not appear in the filtered node list.")},yI=({architectApi:t})=>({config:{description:"Retrieves the intermediate representation (IR) of a Genesys Cloud Architect flow: a flat, ordered list of its actions with the branches connecting them. Use this to understand what an existing flow does. It answers what follows an action, which branch leads where, which actions are unreachable, and how tasks call each other.",annotations:{title:"Flow IR",readOnlyHint:!0,destructiveHint:!1},inputSchema:G7},handler:async({flowId:e,task:i})=>{let n;try{n=await t.getFlowLatestconfiguration(e)}catch{return{isError:!0,content:[{type:"text",text:`Flow "${e}" not found or not accessible.`}]}}let a=fI(n);if(!a.ok)return{isError:!0,content:[{type:"text",text:`Failed to parse flow "${e}" (${a.error.code}): ${a.error.message}`}]};let r=a.ir;if(typeof i=="string"){let s=D7(r.tasks,i);if(!s){let o=r.tasks.map(l=>l.name).join(", ");return{isError:!0,content:[{type:"text",text:`No task matching "${i}" in flow "${e}". Available tasks: ${o||"(none)"}.`}]}}if("ambiguous"in s){let o=s.ambiguous.map(l=>`"${l.name}" (id: ${l.id})`).join(", ");return{isError:!0,content:[{type:"text",text:`Task name "${i}" is ambiguous in flow "${e}". It matches ${o}. Retry with the task id.`}]}}r={...r,nodes:r.nodes.filter(o=>o.taskId===s.match.id)}}return{content:[{type:"text",text:JSON.stringify({flowId:e,ir:r,warnings:a.warnings})}]}}});var Hb=new Map;function $7(t){let{id:e,previousTurn:i,...n}=t;return n}async function PI(t,e,i){let n=[],a=i;for(;n.push($7(a)),Hb.set(e,a.id),a.nextActionType==="NoOp";)a=await t.postTextbotsBotflowsSessionTurns(e,{previousTurn:{id:a.id},inputEventType:"NoOp",inputEventUserInput:{mode:"Text",alternatives:[{transcript:{text:""}}]}});let r=a.nextActionType;return(r==="Disconnect"||r==="Exit")&&Hb.delete(e),{content:[{type:"text",text:JSON.stringify({sessionId:e,turns:n},null,2)}]}}var N7={flowId:We.string().optional().describe("The bot flow ID to test. Required when starting a new session."),sessionId:We.string().optional().describe("Session ID from a previous call. Required when continuing an existing conversation."),message:We.string().optional().describe("User message to send to the bot. Required when continuing a session.")},jI=({textbotsApi:t})=>({config:{description:"Tests a deployed Genesys Cloud Architect Bot Flow and Digital Bot Flow by simulating a text conversation. To start: provide flowId. To continue: provide the returned sessionId and a message. Turn tracking is managed server-side \u2014 only the sessionId is needed between calls. Returns { sessionId, turns[] } where each turn contains the raw API response (prompts with segments, outputLanguage, nextActionType, and action-specific data like modeConstraints or outputData). Multiple turns are returned when the flow sends consecutive messages (NoOp turns are automatically drained). nextActionType values: WaitForInput (send another message), Disconnect/Exit (conversation ended).",annotations:{title:"Test Bot Flow",readOnlyHint:!1,destructiveHint:!1},inputSchema:N7},handler:async({flowId:e,sessionId:i,message:n})=>{try{if(i&&e)return{isError:!0,content:[{type:"text",text:"Provide either flowId (to start) or sessionId (to continue), not both."}]};if(!i&&!e)return{isError:!0,content:[{type:"text",text:"Provide flowId to start a new session or sessionId to continue an existing one."}]};if(e){let s=await t.postTextbotsBotflowsSessions({flow:{id:e},externalSessionId:"",inputData:{variables:{}},channel:{inputModes:["Text"],outputModes:["Text"],name:"Messaging",userAgent:{name:"GenesysWebWidget"}},language:""}),o=await t.postTextbotsBotflowsSessionTurns(s.id,{inputEventType:"NoOp",inputEventUserInput:{mode:"Text",alternatives:[{transcript:{text:""}}]}});return PI(t,s.id,o)}if(!i||!n)return{isError:!0,content:[{type:"text",text:"A message is required when continuing an existing session."}]};let a=Hb.get(i);if(!a)return{isError:!0,content:[{type:"text",text:`No active session found for ID "${i}". It may have expired or already ended. Start a new session with a flowId.`}]};let r=await t.postTextbotsBotflowsSessionTurns(i,{previousTurn:{id:a},inputEventType:"UserInput",inputEventUserInput:{mode:"Text",alternatives:[{transcript:{text:n}}]}});return PI(t,i,r)}catch(a){return{isError:!0,content:[{type:"text",text:`Bot flow test failed: ${a instanceof Error?a.message:JSON.stringify(a)}`}]}}}});var Ib=We.object({GENESYS_REGION:We.string().min(1),GENESYS_CLIENT_ID:We.string().min(1),GENESYS_CLIENT_SECRET:We.string().min(1),DEPLOY_SCRIPT_PATH:We.string().min(1),PREVENT_LOGIN:We.enum(["TRUE","FALSE"]).default("FALSE").transform(t=>t==="TRUE")}).safeParse(process.env);if(!Ib.success){let t=Ib.error.issues.map(e=>e.path[0]).join(` `);console.error(`Missing required environment variables: - ${t}`),process.exit(1)}var sa=Gy.data,ks=new $c({name:"genesys-cloud-architect",version:"1.0.6"}),$y=new _d.default.ArchitectApi,bz=wz({architectApi:$y});ks.registerTool("flow_dependencies",bz.config,bz.handler);var yz=vz({architectApi:$y});ks.registerTool("flow_ir",yz.config,yz.handler);var Pz=mz({architectApi:$y});ks.registerTool("flow_action",Pz.config,Pz.handler);var jz=sz({region:sa.GENESYS_REGION,clientId:sa.GENESYS_CLIENT_ID,clientSecret:sa.GENESYS_CLIENT_SECRET,deployScriptPath:sa.DEPLOY_SCRIPT_PATH});ks.registerTool("deploy_flow",jz.config,jz.handler);var Sz=Az({textbotsApi:new _d.default.TextbotsApi});ks.registerTool("test_bot_flow",Sz.config,Sz.handler);(async()=>{if(sa.PREVENT_LOGIN)console.warn("Login for Platform API skipped. Calling tools will result in an auth failure.");else{let e=_d.default.ApiClient.instance;e.setEnvironment(sa.GENESYS_REGION),await e.loginClientCredentialsGrant(sa.GENESYS_CLIENT_ID,sa.GENESYS_CLIENT_SECRET)}let t=new Uc;await ks.connect(t)})().catch(t=>{console.error("Failed to start server:",t),process.exit(1)}); + ${t}`),process.exit(1)}var Kt=Ib.data,gs=new gc({name:"genesys-cloud-architect",version:"1.0.6"}),Rb=new Qp.default.ArchitectApi,SI=bI({architectApi:Rb});gs.registerTool("flow_dependencies",SI.config,SI.handler);var OI=yI({architectApi:Rb});gs.registerTool("flow_ir",OI.config,OI.handler);var TI=CI({architectApi:Rb});gs.registerTool("flow_action",TI.config,TI.handler);var xI=cI({region:Kt.GENESYS_REGION,clientId:Kt.GENESYS_CLIENT_ID,clientSecret:Kt.GENESYS_CLIENT_SECRET,deployScriptPath:Kt.DEPLOY_SCRIPT_PATH});gs.registerTool("deploy_flow",xI.config,xI.handler);var MI=jI({textbotsApi:new Qp.default.TextbotsApi});gs.registerTool("test_bot_flow",MI.config,MI.handler);(async()=>{if(Kt.PREVENT_LOGIN)console.warn("Login for Platform API skipped. Calling tools will result in an auth failure.");else{let e=Qp.default.ApiClient.instance;e.setEnvironment(Kt.GENESYS_REGION),await e.loginClientCredentialsGrant(Kt.GENESYS_CLIENT_ID,Kt.GENESYS_CLIENT_SECRET)}let t=new fc;await gs.connect(t)})().catch(t=>{console.error("Failed to start server:",t),process.exit(1)}); /*! Bundled license information: mime-db/index.js: diff --git a/tsconfig.json b/tsconfig.json index faa220e..e50dab1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ "noEmit": true, "strict": true, "esModuleInterop": true, + "types": ["node"], "skipLibCheck": true, "outDir": "dist", "rootDir": "src" From d4c902cc9deb902b26e7e81031159b0c7b17f969 Mon Sep 17 00:00:00 2001 From: Lucas Woodward <31957045+SketchingDev@users.noreply.github.com> Date: Tue, 11 Aug 2026 22:04:04 +0100 Subject: [PATCH 2/3] Remove old script --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 994ea50..aafe457 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,6 @@ "inspect-mcp": "pnpm dlx @modelcontextprotocol/inspector node servers/genesys-cloud-architect-mcp.js", "mcp-server": "node --experimental-strip-types src/mcp-server/index.ts", "mcp-server-with-op": "op run --env-file='./.env' -- node --experimental-strip-types src/mcp-server/index.ts", - "mcp-server-with-op-test": "op run --env-file='./.env' -- node --experimental-strip-types src/mcp-server/http-server.dev.ts", "prepare": "husky" }, "dependencies": { From e4c8d8a5126b964d1373d10afb5db79aebfa9a66 Mon Sep 17 00:00:00 2001 From: Lucas Woodward <31957045+SketchingDev@users.noreply.github.com> Date: Tue, 11 Aug 2026 22:05:46 +0100 Subject: [PATCH 3/3] Update homepage --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index aafe457..c3b9cc6 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "bugs": { "url": "https://github.com/MakingChatbots/genesys-cloud-plugins/issues" }, - "homepage": "https://makingchatbots.com", + "homepage": "https://makingchatbots.com/p/claude-code-plugin-genesys-cloud", "scripts": { "build": "pnpm run build:mcp-server && pnpm run build:deploy-runner", "build:mcp-server": "esbuild src/mcp-server/index.ts --bundle --platform=node --target=node22 --format=cjs --minify --tree-shaking=true --define:process.env.npm_package_version=\\\"$npm_package_version\\\" --outfile=servers/genesys-cloud-architect-mcp.js",